diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f4773f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.php diff --git a/README.md b/README.md index e972a73..feb4248 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ -# m365-php +# Microsoft 365 PHP Scripts -Microsoft 365 PHP Scripts - mix of testing and work in progress. \ No newline at end of file +Original git URL: https://git.sosdg.org/brielle/m365-php + +Written by: Brielle Bruns + +Mix of testing and work in progress. + +Create a config.php file with variables for configuring auth. diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..2d95ee4 --- /dev/null +++ b/composer.json @@ -0,0 +1,5 @@ +{ + "require": { + "microsoft/microsoft-graph": "^1.66" + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..94f18ba --- /dev/null +++ b/composer.lock @@ -0,0 +1,664 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "86cc2a541bc838579d7dde60d3f6e552", + "packages": [ + { + "name": "guzzlehttp/guzzle", + "version": "7.4.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.4-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-05-25T13:24:33+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2021-10-22T20:56:57+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.2.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2", + "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.2.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2022-03-20T21:55:58+00:00" + }, + { + "name": "microsoft/microsoft-graph", + "version": "1.66.0", + "source": { + "type": "git", + "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", + "reference": "cfd885c161d27f1e13814c6084a601e7dbb17858" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/cfd885c161d27f1e13814c6084a601e7dbb17858", + "reference": "cfd885c161d27f1e13814c6084a601e7dbb17858", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/guzzle": "^6.0 || ^7.0", + "php": "^8.0 || ^7.3", + "psr/http-message": "^1.0" + }, + "require-dev": { + "mikey179/vfsstream": "^1.2", + "phpstan/phpstan": "^0.12.90 || ^1.0.0", + "phpunit/phpunit": "^8.0 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Microsoft\\Graph\\": "src/", + "Beta\\Microsoft\\Graph\\": "src/Beta/Microsoft/Graph/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Microsoft Graph Client Tooling", + "email": "graphtooling@service.microsoft.com", + "role": "Developer" + } + ], + "description": "The Microsoft Graph SDK for PHP", + "homepage": "https://developer.microsoft.com/en-us/graph", + "support": { + "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", + "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.66.0" + }, + "time": "2022-05-24T18:08:36+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.3.0" +} diff --git a/m365-users.php b/m365-users.php new file mode 100644 index 0000000..9d9c67c --- /dev/null +++ b/m365-users.php @@ -0,0 +1,30 @@ +post($url, [ + 'form_params' => [ + 'client_id' => $clientId, + 'client_secret' => $clientSecret, + 'scope' => 'https://graph.microsoft.com/.default', + 'grant_type' => 'client_credentials', + ], +])->getBody()->getContents()); +$accessToken = $token->access_token; + +$graph = new Graph(); + $graph->setAccessToken($accessToken); + + $user = $graph->createRequest("GET", "/users") + ->setReturnType(Model\User::class) + ->execute(); + print_r($user); + +?> diff --git a/vendor/autoload.php b/vendor/autoload.php new file mode 100644 index 0000000..886479a --- /dev/null +++ b/vendor/autoload.php @@ -0,0 +1,12 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + * @see https://www.php-fig.org/psr/psr-0/ + * @see https://www.php-fig.org/psr/psr-4/ + */ +class ClassLoader +{ + /** @var ?string */ + private $vendorDir; + + // PSR-4 + /** + * @var array[] + * @psalm-var array> + */ + private $prefixLengthsPsr4 = array(); + /** + * @var array[] + * @psalm-var array> + */ + private $prefixDirsPsr4 = array(); + /** + * @var array[] + * @psalm-var array + */ + private $fallbackDirsPsr4 = array(); + + // PSR-0 + /** + * @var array[] + * @psalm-var array> + */ + private $prefixesPsr0 = array(); + /** + * @var array[] + * @psalm-var array + */ + private $fallbackDirsPsr0 = array(); + + /** @var bool */ + private $useIncludePath = false; + + /** + * @var string[] + * @psalm-var array + */ + private $classMap = array(); + + /** @var bool */ + private $classMapAuthoritative = false; + + /** + * @var bool[] + * @psalm-var array + */ + private $missingClasses = array(); + + /** @var ?string */ + private $apcuPrefix; + + /** + * @var self[] + */ + private static $registeredLoaders = array(); + + /** + * @param ?string $vendorDir + */ + public function __construct($vendorDir = null) + { + $this->vendorDir = $vendorDir; + } + + /** + * @return string[] + */ + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); + } + + return array(); + } + + /** + * @return array[] + * @psalm-return array> + */ + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + /** + * @return array[] + * @psalm-return array + */ + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + /** + * @return array[] + * @psalm-return array + */ + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + /** + * @return string[] Array of classname => path + * @psalm-return array + */ + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param string[] $classMap Class to filename map + * @psalm-param array $classMap + * + * @return void + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + * + * @return void + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 base directories + * + * @return void + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + * + * @return void + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + * + * @return void + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + * + * @return void + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + * + * @return void + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + + if (null === $this->vendorDir) { + return; + } + + if ($prepend) { + self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; + } else { + unset(self::$registeredLoaders[$this->vendorDir]); + self::$registeredLoaders[$this->vendorDir] = $this; + } + } + + /** + * Unregisters this instance as an autoloader. + * + * @return void + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + + if (null !== $this->vendorDir) { + unset(self::$registeredLoaders[$this->vendorDir]); + } + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return true|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + + return null; + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; + } + + return $file; + } + + /** + * Returns the currently registered loaders indexed by their corresponding vendor directories. + * + * @return self[] + */ + public static function getRegisteredLoaders() + { + return self::$registeredLoaders; + } + + /** + * @param string $class + * @param string $ext + * @return string|false + */ + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath . '\\'; + if (isset($this->prefixDirsPsr4[$search])) { + $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); + foreach ($this->prefixDirsPsr4[$search] as $dir) { + if (file_exists($file = $dir . $pathEnd)) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + + return false; + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + * @private + */ +function includeFile($file) +{ + include $file; +} diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php new file mode 100644 index 0000000..41bc143 --- /dev/null +++ b/vendor/composer/InstalledVersions.php @@ -0,0 +1,352 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer; + +use Composer\Autoload\ClassLoader; +use Composer\Semver\VersionParser; + +/** + * This class is copied in every Composer installed project and available to all + * + * See also https://getcomposer.org/doc/07-runtime.md#installed-versions + * + * To require its presence, you can require `composer-runtime-api ^2.0` + * + * @final + */ +class InstalledVersions +{ + /** + * @var mixed[]|null + * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array}|array{}|null + */ + private static $installed; + + /** + * @var bool|null + */ + private static $canGetVendors; + + /** + * @var array[] + * @psalm-var array}> + */ + private static $installedByVendor = array(); + + /** + * Returns a list of all package names which are present, either by being installed, replaced or provided + * + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackages() + { + $packages = array(); + foreach (self::getInstalled() as $installed) { + $packages[] = array_keys($installed['versions']); + } + + if (1 === \count($packages)) { + return $packages[0]; + } + + return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); + } + + /** + * Returns a list of all package names with a specific type e.g. 'library' + * + * @param string $type + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackagesByType($type) + { + $packagesByType = array(); + + foreach (self::getInstalled() as $installed) { + foreach ($installed['versions'] as $name => $package) { + if (isset($package['type']) && $package['type'] === $type) { + $packagesByType[] = $name; + } + } + } + + return $packagesByType; + } + + /** + * Checks whether the given package is installed + * + * This also returns true if the package name is provided or replaced by another package + * + * @param string $packageName + * @param bool $includeDevRequirements + * @return bool + */ + public static function isInstalled($packageName, $includeDevRequirements = true) + { + foreach (self::getInstalled() as $installed) { + if (isset($installed['versions'][$packageName])) { + return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); + } + } + + return false; + } + + /** + * Checks whether the given package satisfies a version constraint + * + * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: + * + * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') + * + * @param VersionParser $parser Install composer/semver to have access to this class and functionality + * @param string $packageName + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package + * @return bool + */ + public static function satisfies(VersionParser $parser, $packageName, $constraint) + { + $constraint = $parser->parseConstraints($constraint); + $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); + + return $provided->matches($constraint); + } + + /** + * Returns a version constraint representing all the range(s) which are installed for a given package + * + * It is easier to use this via isInstalled() with the $constraint argument if you need to check + * whether a given version of a package is installed, and not just whether it exists + * + * @param string $packageName + * @return string Version constraint usable with composer/semver + */ + public static function getVersionRanges($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + $ranges = array(); + if (isset($installed['versions'][$packageName]['pretty_version'])) { + $ranges[] = $installed['versions'][$packageName]['pretty_version']; + } + if (array_key_exists('aliases', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); + } + if (array_key_exists('replaced', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); + } + if (array_key_exists('provided', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); + } + + return implode(' || ', $ranges); + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getVersion($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['version'])) { + return null; + } + + return $installed['versions'][$packageName]['version']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getPrettyVersion($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['pretty_version'])) { + return null; + } + + return $installed['versions'][$packageName]['pretty_version']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference + */ + public static function getReference($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['reference'])) { + return null; + } + + return $installed['versions'][$packageName]['reference']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. + */ + public static function getInstallPath($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @return array + * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string} + */ + public static function getRootPackage() + { + $installed = self::getInstalled(); + + return $installed[0]['root']; + } + + /** + * Returns the raw installed.php data for custom implementations + * + * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. + * @return array[] + * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array} + */ + public static function getRawData() + { + @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = include __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + + return self::$installed; + } + + /** + * Returns the raw data of all installed.php which are currently loaded for custom implementations + * + * @return array[] + * @psalm-return list}> + */ + public static function getAllRawData() + { + return self::getInstalled(); + } + + /** + * Lets you reload the static array from another file + * + * This is only useful for complex integrations in which a project needs to use + * this class but then also needs to execute another project's autoloader in process, + * and wants to ensure both projects have access to their version of installed.php. + * + * A typical case would be PHPUnit, where it would need to make sure it reads all + * the data it needs from this class, then call reload() with + * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure + * the project in which it runs can then also use this class safely, without + * interference between PHPUnit's dependencies and the project's dependencies. + * + * @param array[] $data A vendor/composer/installed.php data set + * @return void + * + * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array} $data + */ + public static function reload($data) + { + self::$installed = $data; + self::$installedByVendor = array(); + } + + /** + * @return array[] + * @psalm-return list}> + */ + private static function getInstalled() + { + if (null === self::$canGetVendors) { + self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); + } + + $installed = array(); + + if (self::$canGetVendors) { + foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { + if (isset(self::$installedByVendor[$vendorDir])) { + $installed[] = self::$installedByVendor[$vendorDir]; + } elseif (is_file($vendorDir.'/composer/installed.php')) { + $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; + if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { + self::$installed = $installed[count($installed) - 1]; + } + } + } + } + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = require __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + $installed[] = self::$installed; + + return $installed; + } +} diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE new file mode 100644 index 0000000..f27399a --- /dev/null +++ b/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php new file mode 100644 index 0000000..0fb0a2c --- /dev/null +++ b/vendor/composer/autoload_classmap.php @@ -0,0 +1,10 @@ + $vendorDir . '/composer/InstalledVersions.php', +); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php new file mode 100644 index 0000000..4470736 --- /dev/null +++ b/vendor/composer/autoload_files.php @@ -0,0 +1,13 @@ + $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', + 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', + '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', + '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', +); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php new file mode 100644 index 0000000..15a2ff3 --- /dev/null +++ b/vendor/composer/autoload_namespaces.php @@ -0,0 +1,9 @@ + array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), + 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), + 'Microsoft\\Graph\\' => array($vendorDir . '/microsoft/microsoft-graph/src'), + 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), + 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), + 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), + 'Beta\\Microsoft\\Graph\\' => array($vendorDir . '/microsoft/microsoft-graph/src/Beta/Microsoft/Graph'), +); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php new file mode 100644 index 0000000..3964231 --- /dev/null +++ b/vendor/composer/autoload_real.php @@ -0,0 +1,57 @@ +register(true); + + $includeFiles = \Composer\Autoload\ComposerStaticInitb3ba5c720289dde204718f29088eb21c::$files; + foreach ($includeFiles as $fileIdentifier => $file) { + composerRequireb3ba5c720289dde204718f29088eb21c($fileIdentifier, $file); + } + + return $loader; + } +} + +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ +function composerRequireb3ba5c720289dde204718f29088eb21c($fileIdentifier, $file) +{ + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; + + require $file; + } +} diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php new file mode 100644 index 0000000..b2eb313 --- /dev/null +++ b/vendor/composer/autoload_static.php @@ -0,0 +1,83 @@ + __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', + 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', + '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', + '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', + ); + + public static $prefixLengthsPsr4 = array ( + 'P' => + array ( + 'Psr\\Http\\Message\\' => 17, + 'Psr\\Http\\Client\\' => 16, + ), + 'M' => + array ( + 'Microsoft\\Graph\\' => 16, + ), + 'G' => + array ( + 'GuzzleHttp\\Psr7\\' => 16, + 'GuzzleHttp\\Promise\\' => 19, + 'GuzzleHttp\\' => 11, + ), + 'B' => + array ( + 'Beta\\Microsoft\\Graph\\' => 21, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'Psr\\Http\\Message\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/http-factory/src', + 1 => __DIR__ . '/..' . '/psr/http-message/src', + ), + 'Psr\\Http\\Client\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/http-client/src', + ), + 'Microsoft\\Graph\\' => + array ( + 0 => __DIR__ . '/..' . '/microsoft/microsoft-graph/src', + ), + 'GuzzleHttp\\Psr7\\' => + array ( + 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', + ), + 'GuzzleHttp\\Promise\\' => + array ( + 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', + ), + 'GuzzleHttp\\' => + array ( + 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', + ), + 'Beta\\Microsoft\\Graph\\' => + array ( + 0 => __DIR__ . '/..' . '/microsoft/microsoft-graph/src/Beta/Microsoft/Graph', + ), + ); + + public static $classMap = array ( + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInitb3ba5c720289dde204718f29088eb21c::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitb3ba5c720289dde204718f29088eb21c::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitb3ba5c720289dde204718f29088eb21c::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json new file mode 100644 index 0000000..1321f49 --- /dev/null +++ b/vendor/composer/installed.json @@ -0,0 +1,678 @@ +{ + "packages": [ + { + "name": "guzzlehttp/guzzle", + "version": "7.4.3", + "version_normalized": "7.4.3.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "reference": "74a8602c6faec9ef74b7a9391ac82c5e65b1cdab", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "time": "2022-05-25T13:24:33+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.4-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "install-path": "../guzzlehttp/guzzle" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.1", + "version_normalized": "1.5.1.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "time": "2021-10-22T20:56:57+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "install-path": "../guzzlehttp/promises" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.2.1", + "version_normalized": "2.2.1.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2", + "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "time": "2022-03-20T21:55:58+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.2.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "install-path": "../guzzlehttp/psr7" + }, + { + "name": "microsoft/microsoft-graph", + "version": "1.66.0", + "version_normalized": "1.66.0.0", + "source": { + "type": "git", + "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", + "reference": "cfd885c161d27f1e13814c6084a601e7dbb17858" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/cfd885c161d27f1e13814c6084a601e7dbb17858", + "reference": "cfd885c161d27f1e13814c6084a601e7dbb17858", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/guzzle": "^6.0 || ^7.0", + "php": "^8.0 || ^7.3", + "psr/http-message": "^1.0" + }, + "require-dev": { + "mikey179/vfsstream": "^1.2", + "phpstan/phpstan": "^0.12.90 || ^1.0.0", + "phpunit/phpunit": "^8.0 || ^9.0" + }, + "time": "2022-05-24T18:08:36+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Microsoft\\Graph\\": "src/", + "Beta\\Microsoft\\Graph\\": "src/Beta/Microsoft/Graph/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Microsoft Graph Client Tooling", + "email": "graphtooling@service.microsoft.com", + "role": "Developer" + } + ], + "description": "The Microsoft Graph SDK for PHP", + "homepage": "https://developer.microsoft.com/en-us/graph", + "support": { + "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", + "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.66.0" + }, + "install-path": "../microsoft/microsoft-graph" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "time": "2020-06-29T06:28:15+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "install-path": "../psr/http-client" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "time": "2019-04-30T12:38:16+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "install-path": "../psr/http-factory" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2016-08-06T14:39:51+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "install-path": "../psr/http-message" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "version_normalized": "3.0.3.0", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "time": "2019-03-08T08:55:37+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "install-path": "../ralouphie/getallheaders" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.1", + "version_normalized": "2.5.1.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "time": "2022-01-02T09:53:40+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "install-path": "../symfony/deprecation-contracts" + } + ], + "dev": true, + "dev-package-names": [] +} diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php new file mode 100644 index 0000000..685b1af --- /dev/null +++ b/vendor/composer/installed.php @@ -0,0 +1,122 @@ + array( + 'pretty_version' => '1.0.0+no-version-set', + 'version' => '1.0.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'reference' => NULL, + 'name' => '__root__', + 'dev' => true, + ), + 'versions' => array( + '__root__' => array( + 'pretty_version' => '1.0.0+no-version-set', + 'version' => '1.0.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'reference' => NULL, + 'dev_requirement' => false, + ), + 'guzzlehttp/guzzle' => array( + 'pretty_version' => '7.4.3', + 'version' => '7.4.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', + 'aliases' => array(), + 'reference' => '74a8602c6faec9ef74b7a9391ac82c5e65b1cdab', + 'dev_requirement' => false, + ), + 'guzzlehttp/promises' => array( + 'pretty_version' => '1.5.1', + 'version' => '1.5.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../guzzlehttp/promises', + 'aliases' => array(), + 'reference' => 'fe752aedc9fd8fcca3fe7ad05d419d32998a06da', + 'dev_requirement' => false, + ), + 'guzzlehttp/psr7' => array( + 'pretty_version' => '2.2.1', + 'version' => '2.2.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../guzzlehttp/psr7', + 'aliases' => array(), + 'reference' => 'c94a94f120803a18554c1805ef2e539f8285f9a2', + 'dev_requirement' => false, + ), + 'microsoft/microsoft-graph' => array( + 'pretty_version' => '1.66.0', + 'version' => '1.66.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../microsoft/microsoft-graph', + 'aliases' => array(), + 'reference' => 'cfd885c161d27f1e13814c6084a601e7dbb17858', + 'dev_requirement' => false, + ), + 'psr/http-client' => array( + 'pretty_version' => '1.0.1', + 'version' => '1.0.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../psr/http-client', + 'aliases' => array(), + 'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621', + 'dev_requirement' => false, + ), + 'psr/http-client-implementation' => array( + 'dev_requirement' => false, + 'provided' => array( + 0 => '1.0', + ), + ), + 'psr/http-factory' => array( + 'pretty_version' => '1.0.1', + 'version' => '1.0.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../psr/http-factory', + 'aliases' => array(), + 'reference' => '12ac7fcd07e5b077433f5f2bee95b3a771bf61be', + 'dev_requirement' => false, + ), + 'psr/http-factory-implementation' => array( + 'dev_requirement' => false, + 'provided' => array( + 0 => '1.0', + ), + ), + 'psr/http-message' => array( + 'pretty_version' => '1.0.1', + 'version' => '1.0.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../psr/http-message', + 'aliases' => array(), + 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', + 'dev_requirement' => false, + ), + 'psr/http-message-implementation' => array( + 'dev_requirement' => false, + 'provided' => array( + 0 => '1.0', + ), + ), + 'ralouphie/getallheaders' => array( + 'pretty_version' => '3.0.3', + 'version' => '3.0.3.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../ralouphie/getallheaders', + 'aliases' => array(), + 'reference' => '120b605dfeb996808c31b6477290a714d356e822', + 'dev_requirement' => false, + ), + 'symfony/deprecation-contracts' => array( + 'pretty_version' => 'v2.5.1', + 'version' => '2.5.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', + 'aliases' => array(), + 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', + 'dev_requirement' => false, + ), + ), +); diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php new file mode 100644 index 0000000..92370c5 --- /dev/null +++ b/vendor/composer/platform_check.php @@ -0,0 +1,26 @@ += 70300)) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.'; +} + +if ($issues) { + if (!headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + if (!ini_get('display_errors')) { + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); + } elseif (!headers_sent()) { + echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; + } + } + trigger_error( + 'Composer detected issues in your platform: ' . implode(' ', $issues), + E_USER_ERROR + ); +} diff --git a/vendor/guzzlehttp/guzzle/CHANGELOG.md b/vendor/guzzlehttp/guzzle/CHANGELOG.md new file mode 100644 index 0000000..8d19ea8 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/CHANGELOG.md @@ -0,0 +1,1502 @@ +# Change Log + +Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. + +## 7.4.3 - 2022-05-25 + +* Fix cross-domain cookie leakage + +## 7.4.2 - 2022-03-20 + +### Fixed + +- Remove curl auth on cross-domain redirects to align with the Authorization HTTP header +- Reject non-HTTP schemes in StreamHandler +- Set a default ssl.peer_name context in StreamHandler to allow `force_ip_resolve` + +## 7.4.1 - 2021-12-06 + +### Changed + +- Replaced implicit URI to string coercion [#2946](https://github.com/guzzle/guzzle/pull/2946) +- Allow `symfony/deprecation-contracts` version 3 [#2961](https://github.com/guzzle/guzzle/pull/2961) + +### Fixed + +- Only close curl handle if it's done [#2950](https://github.com/guzzle/guzzle/pull/2950) + +## 7.4.0 - 2021-10-18 + +### Added + +- Support PHP 8.1 [#2929](https://github.com/guzzle/guzzle/pull/2929), [#2939](https://github.com/guzzle/guzzle/pull/2939) +- Support `psr/log` version 2 and 3 [#2943](https://github.com/guzzle/guzzle/pull/2943) + +### Fixed + +- Make sure we always call `restore_error_handler()` [#2915](https://github.com/guzzle/guzzle/pull/2915) +- Fix progress parameter type compatibility between the cURL and stream handlers [#2936](https://github.com/guzzle/guzzle/pull/2936) +- Throw `InvalidArgumentException` when an incorrect `headers` array is provided [#2916](https://github.com/guzzle/guzzle/pull/2916), [#2942](https://github.com/guzzle/guzzle/pull/2942) + +### Changed + +- Be more strict with types [#2914](https://github.com/guzzle/guzzle/pull/2914), [#2917](https://github.com/guzzle/guzzle/pull/2917), [#2919](https://github.com/guzzle/guzzle/pull/2919), [#2945](https://github.com/guzzle/guzzle/pull/2945) + +## 7.3.0 - 2021-03-23 + +### Added + +- Support for DER and P12 certificates [#2413](https://github.com/guzzle/guzzle/pull/2413) +- Support the cURL (http://) scheme for StreamHandler proxies [#2850](https://github.com/guzzle/guzzle/pull/2850) +- Support for `guzzlehttp/psr7:^2.0` [#2878](https://github.com/guzzle/guzzle/pull/2878) + +### Fixed + +- Handle exceptions on invalid header consistently between PHP versions and handlers [#2872](https://github.com/guzzle/guzzle/pull/2872) + +## 7.2.0 - 2020-10-10 + +### Added + +- Support for PHP 8 [#2712](https://github.com/guzzle/guzzle/pull/2712), [#2715](https://github.com/guzzle/guzzle/pull/2715), [#2789](https://github.com/guzzle/guzzle/pull/2789) +- Support passing a body summarizer to the http errors middleware [#2795](https://github.com/guzzle/guzzle/pull/2795) + +### Fixed + +- Handle exceptions during response creation [#2591](https://github.com/guzzle/guzzle/pull/2591) +- Fix CURLOPT_ENCODING not to be overwritten [#2595](https://github.com/guzzle/guzzle/pull/2595) +- Make sure the Request always has a body object [#2804](https://github.com/guzzle/guzzle/pull/2804) + +### Changed + +- The `TooManyRedirectsException` has a response [#2660](https://github.com/guzzle/guzzle/pull/2660) +- Avoid "functions" from dependencies [#2712](https://github.com/guzzle/guzzle/pull/2712) + +### Deprecated + +- Using environment variable GUZZLE_CURL_SELECT_TIMEOUT [#2786](https://github.com/guzzle/guzzle/pull/2786) + +## 7.1.1 - 2020-09-30 + +### Fixed + +- Incorrect EOF detection for response body streams on Windows. + +### Changed + +- We dont connect curl `sink` on HEAD requests. +- Removed some PHP 5 workarounds + +## 7.1.0 - 2020-09-22 + +### Added + +- `GuzzleHttp\MessageFormatterInterface` + +### Fixed + +- Fixed issue that caused cookies with no value not to be stored. +- On redirects, we allow all safe methods like GET, HEAD and OPTIONS. +- Fixed logging on empty responses. +- Make sure MessageFormatter::format returns string + +### Deprecated + +- All functions in `GuzzleHttp` has been deprecated. Use static methods on `Utils` instead. +- `ClientInterface::getConfig()` +- `Client::getConfig()` +- `Client::__call()` +- `Utils::defaultCaBundle()` +- `CurlFactory::LOW_CURL_VERSION_NUMBER` + +## 7.0.1 - 2020-06-27 + +* Fix multiply defined functions fatal error [#2699](https://github.com/guzzle/guzzle/pull/2699) + +## 7.0.0 - 2020-06-27 + +No changes since 7.0.0-rc1. + +## 7.0.0-rc1 - 2020-06-15 + +### Changed + +* Use error level for logging errors in Middleware [#2629](https://github.com/guzzle/guzzle/pull/2629) +* Disabled IDN support by default and require ext-intl to use it [#2675](https://github.com/guzzle/guzzle/pull/2675) + +## 7.0.0-beta2 - 2020-05-25 + +### Added + +* Using `Utils` class instead of functions in the `GuzzleHttp` namespace. [#2546](https://github.com/guzzle/guzzle/pull/2546) +* `ClientInterface::MAJOR_VERSION` [#2583](https://github.com/guzzle/guzzle/pull/2583) + +### Changed + +* Avoid the `getenv` function when unsafe [#2531](https://github.com/guzzle/guzzle/pull/2531) +* Added real client methods [#2529](https://github.com/guzzle/guzzle/pull/2529) +* Avoid functions due to global install conflicts [#2546](https://github.com/guzzle/guzzle/pull/2546) +* Use Symfony intl-idn polyfill [#2550](https://github.com/guzzle/guzzle/pull/2550) +* Adding methods for HTTP verbs like `Client::get()`, `Client::head()`, `Client::patch()` etc [#2529](https://github.com/guzzle/guzzle/pull/2529) +* `ConnectException` extends `TransferException` [#2541](https://github.com/guzzle/guzzle/pull/2541) +* Updated the default User Agent to "GuzzleHttp/7" [#2654](https://github.com/guzzle/guzzle/pull/2654) + +### Fixed + +* Various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626) + +### Removed + +* Pool option `pool_size` [#2528](https://github.com/guzzle/guzzle/pull/2528) + +## 7.0.0-beta1 - 2019-12-30 + +The diff might look very big but 95% of Guzzle users will be able to upgrade without modification. +Please see [the upgrade document](UPGRADING.md) that describes all BC breaking changes. + +### Added + +* Implement PSR-18 and dropped PHP 5 support [#2421](https://github.com/guzzle/guzzle/pull/2421) [#2474](https://github.com/guzzle/guzzle/pull/2474) +* PHP 7 types [#2442](https://github.com/guzzle/guzzle/pull/2442) [#2449](https://github.com/guzzle/guzzle/pull/2449) [#2466](https://github.com/guzzle/guzzle/pull/2466) [#2497](https://github.com/guzzle/guzzle/pull/2497) [#2499](https://github.com/guzzle/guzzle/pull/2499) +* IDN support for redirects [2424](https://github.com/guzzle/guzzle/pull/2424) + +### Changed + +* Dont allow passing null as third argument to `BadResponseException::__construct()` [#2427](https://github.com/guzzle/guzzle/pull/2427) +* Use SAPI constant instead of method call [#2450](https://github.com/guzzle/guzzle/pull/2450) +* Use native function invocation [#2444](https://github.com/guzzle/guzzle/pull/2444) +* Better defaults for PHP installations with old ICU lib [2454](https://github.com/guzzle/guzzle/pull/2454) +* Added visibility to all constants [#2462](https://github.com/guzzle/guzzle/pull/2462) +* Dont allow passing `null` as URI to `Client::request()` and `Client::requestAsync()` [#2461](https://github.com/guzzle/guzzle/pull/2461) +* Widen the exception argument to throwable [#2495](https://github.com/guzzle/guzzle/pull/2495) + +### Fixed + +* Logging when Promise rejected with a string [#2311](https://github.com/guzzle/guzzle/pull/2311) + +### Removed + +* Class `SeekException` [#2162](https://github.com/guzzle/guzzle/pull/2162) +* `RequestException::getResponseBodySummary()` [#2425](https://github.com/guzzle/guzzle/pull/2425) +* `CookieJar::getCookieValue()` [#2433](https://github.com/guzzle/guzzle/pull/2433) +* `uri_template()` and `UriTemplate` [#2440](https://github.com/guzzle/guzzle/pull/2440) +* Request options `save_to` and `exceptions` [#2464](https://github.com/guzzle/guzzle/pull/2464) + +## 6.5.2 - 2019-12-23 + +* idn_to_ascii() fix for old PHP versions [#2489](https://github.com/guzzle/guzzle/pull/2489) + +## 6.5.1 - 2019-12-21 + +* Better defaults for PHP installations with old ICU lib [#2454](https://github.com/guzzle/guzzle/pull/2454) +* IDN support for redirects [#2424](https://github.com/guzzle/guzzle/pull/2424) + +## 6.5.0 - 2019-12-07 + +* Improvement: Added support for reset internal queue in MockHandler. [#2143](https://github.com/guzzle/guzzle/pull/2143) +* Improvement: Added support to pass arbitrary options to `curl_multi_init`. [#2287](https://github.com/guzzle/guzzle/pull/2287) +* Fix: Gracefully handle passing `null` to the `header` option. [#2132](https://github.com/guzzle/guzzle/pull/2132) +* Fix: `RetryMiddleware` did not do exponential delay between retires due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132) +* Fix: Prevent undefined offset when using array for ssl_key options. [#2348](https://github.com/guzzle/guzzle/pull/2348) +* Deprecated `ClientInterface::VERSION` + +## 6.4.1 - 2019-10-23 + +* No `guzzle.phar` was created in 6.4.0 due expired API token. This release will fix that +* Added `parent::__construct()` to `FileCookieJar` and `SessionCookieJar` + +## 6.4.0 - 2019-10-23 + +* Improvement: Improved error messages when using curl < 7.21.2 [#2108](https://github.com/guzzle/guzzle/pull/2108) +* Fix: Test if response is readable before returning a summary in `RequestException::getResponseBodySummary()` [#2081](https://github.com/guzzle/guzzle/pull/2081) +* Fix: Add support for GUZZLE_CURL_SELECT_TIMEOUT environment variable [#2161](https://github.com/guzzle/guzzle/pull/2161) +* Improvement: Added `GuzzleHttp\Exception\InvalidArgumentException` [#2163](https://github.com/guzzle/guzzle/pull/2163) +* Improvement: Added `GuzzleHttp\_current_time()` to use `hrtime()` if that function exists. [#2242](https://github.com/guzzle/guzzle/pull/2242) +* Improvement: Added curl's `appconnect_time` in `TransferStats` [#2284](https://github.com/guzzle/guzzle/pull/2284) +* Improvement: Make GuzzleException extend Throwable wherever it's available [#2273](https://github.com/guzzle/guzzle/pull/2273) +* Fix: Prevent concurrent writes to file when saving `CookieJar` [#2335](https://github.com/guzzle/guzzle/pull/2335) +* Improvement: Update `MockHandler` so we can test transfer time [#2362](https://github.com/guzzle/guzzle/pull/2362) + +## 6.3.3 - 2018-04-22 + +* Fix: Default headers when decode_content is specified + + +## 6.3.2 - 2018-03-26 + +* Fix: Release process + + +## 6.3.1 - 2018-03-26 + +* Bug fix: Parsing 0 epoch expiry times in cookies [#2014](https://github.com/guzzle/guzzle/pull/2014) +* Improvement: Better ConnectException detection [#2012](https://github.com/guzzle/guzzle/pull/2012) +* Bug fix: Malformed domain that contains a "/" [#1999](https://github.com/guzzle/guzzle/pull/1999) +* Bug fix: Undefined offset when a cookie has no first key-value pair [#1998](https://github.com/guzzle/guzzle/pull/1998) +* Improvement: Support PHPUnit 6 [#1953](https://github.com/guzzle/guzzle/pull/1953) +* Bug fix: Support empty headers [#1915](https://github.com/guzzle/guzzle/pull/1915) +* Bug fix: Ignore case during header modifications [#1916](https://github.com/guzzle/guzzle/pull/1916) + ++ Minor code cleanups, documentation fixes and clarifications. + + +## 6.3.0 - 2017-06-22 + +* Feature: force IP resolution (ipv4 or ipv6) [#1608](https://github.com/guzzle/guzzle/pull/1608), [#1659](https://github.com/guzzle/guzzle/pull/1659) +* Improvement: Don't include summary in exception message when body is empty [#1621](https://github.com/guzzle/guzzle/pull/1621) +* Improvement: Handle `on_headers` option in MockHandler [#1580](https://github.com/guzzle/guzzle/pull/1580) +* Improvement: Added SUSE Linux CA path [#1609](https://github.com/guzzle/guzzle/issues/1609) +* Improvement: Use class reference for getting the name of the class instead of using hardcoded strings [#1641](https://github.com/guzzle/guzzle/pull/1641) +* Feature: Added `read_timeout` option [#1611](https://github.com/guzzle/guzzle/pull/1611) +* Bug fix: PHP 7.x fixes [#1685](https://github.com/guzzle/guzzle/pull/1685), [#1686](https://github.com/guzzle/guzzle/pull/1686), [#1811](https://github.com/guzzle/guzzle/pull/1811) +* Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guzzle/guzzle/pull/1642) +* Feature: Added NTLM auth [#1569](https://github.com/guzzle/guzzle/pull/1569) +* Feature: Track redirect HTTP status codes [#1711](https://github.com/guzzle/guzzle/pull/1711) +* Improvement: Check handler type during construction [#1745](https://github.com/guzzle/guzzle/pull/1745) +* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721) +* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318) +* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684) +* Improvement: Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827) + + ++ Minor code cleanups, documentation fixes and clarifications. + +## 6.2.3 - 2017-02-28 + +* Fix deprecations with guzzle/psr7 version 1.4 + +## 6.2.2 - 2016-10-08 + +* Allow to pass nullable Response to delay callable +* Only add scheme when host is present +* Fix drain case where content-length is the literal string zero +* Obfuscate in-URL credentials in exceptions + +## 6.2.1 - 2016-07-18 + +* Address HTTP_PROXY security vulnerability, CVE-2016-5385: + https://httpoxy.org/ +* Fixing timeout bug with StreamHandler: + https://github.com/guzzle/guzzle/pull/1488 +* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when + a server does not honor `Connection: close`. +* Ignore URI fragment when sending requests. + +## 6.2.0 - 2016-03-21 + +* Feature: added `GuzzleHttp\json_encode` and `GuzzleHttp\json_decode`. + https://github.com/guzzle/guzzle/pull/1389 +* Bug fix: Fix sleep calculation when waiting for delayed requests. + https://github.com/guzzle/guzzle/pull/1324 +* Feature: More flexible history containers. + https://github.com/guzzle/guzzle/pull/1373 +* Bug fix: defer sink stream opening in StreamHandler. + https://github.com/guzzle/guzzle/pull/1377 +* Bug fix: do not attempt to escape cookie values. + https://github.com/guzzle/guzzle/pull/1406 +* Feature: report original content encoding and length on decoded responses. + https://github.com/guzzle/guzzle/pull/1409 +* Bug fix: rewind seekable request bodies before dispatching to cURL. + https://github.com/guzzle/guzzle/pull/1422 +* Bug fix: provide an empty string to `http_build_query` for HHVM workaround. + https://github.com/guzzle/guzzle/pull/1367 + +## 6.1.1 - 2015-11-22 + +* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler + https://github.com/guzzle/guzzle/commit/911bcbc8b434adce64e223a6d1d14e9a8f63e4e4 +* Feature: HandlerStack is now more generic. + https://github.com/guzzle/guzzle/commit/f2102941331cda544745eedd97fc8fd46e1ee33e +* Bug fix: setting verify to false in the StreamHandler now disables peer + verification. https://github.com/guzzle/guzzle/issues/1256 +* Feature: Middleware now uses an exception factory, including more error + context. https://github.com/guzzle/guzzle/pull/1282 +* Feature: better support for disabled functions. + https://github.com/guzzle/guzzle/pull/1287 +* Bug fix: fixed regression where MockHandler was not using `sink`. + https://github.com/guzzle/guzzle/pull/1292 + +## 6.1.0 - 2015-09-08 + +* Feature: Added the `on_stats` request option to provide access to transfer + statistics for requests. https://github.com/guzzle/guzzle/pull/1202 +* Feature: Added the ability to persist session cookies in CookieJars. + https://github.com/guzzle/guzzle/pull/1195 +* Feature: Some compatibility updates for Google APP Engine + https://github.com/guzzle/guzzle/pull/1216 +* Feature: Added support for NO_PROXY to prevent the use of a proxy based on + a simple set of rules. https://github.com/guzzle/guzzle/pull/1197 +* Feature: Cookies can now contain square brackets. + https://github.com/guzzle/guzzle/pull/1237 +* Bug fix: Now correctly parsing `=` inside of quotes in Cookies. + https://github.com/guzzle/guzzle/pull/1232 +* Bug fix: Cusotm cURL options now correctly override curl options of the + same name. https://github.com/guzzle/guzzle/pull/1221 +* Bug fix: Content-Type header is now added when using an explicitly provided + multipart body. https://github.com/guzzle/guzzle/pull/1218 +* Bug fix: Now ignoring Set-Cookie headers that have no name. +* Bug fix: Reason phrase is no longer cast to an int in some cases in the + cURL handler. https://github.com/guzzle/guzzle/pull/1187 +* Bug fix: Remove the Authorization header when redirecting if the Host + header changes. https://github.com/guzzle/guzzle/pull/1207 +* Bug fix: Cookie path matching fixes + https://github.com/guzzle/guzzle/issues/1129 +* Bug fix: Fixing the cURL `body_as_string` setting + https://github.com/guzzle/guzzle/pull/1201 +* Bug fix: quotes are no longer stripped when parsing cookies. + https://github.com/guzzle/guzzle/issues/1172 +* Bug fix: `form_params` and `query` now always uses the `&` separator. + https://github.com/guzzle/guzzle/pull/1163 +* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set. + https://github.com/guzzle/guzzle/pull/1189 + +## 6.0.2 - 2015-07-04 + +* Fixed a memory leak in the curl handlers in which references to callbacks + were not being removed by `curl_reset`. +* Cookies are now extracted properly before redirects. +* Cookies now allow more character ranges. +* Decoded Content-Encoding responses are now modified to correctly reflect + their state if the encoding was automatically removed by a handler. This + means that the `Content-Encoding` header may be removed an the + `Content-Length` modified to reflect the message size after removing the + encoding. +* Added a more explicit error message when trying to use `form_params` and + `multipart` in the same request. +* Several fixes for HHVM support. +* Functions are now conditionally required using an additional level of + indirection to help with global Composer installations. + +## 6.0.1 - 2015-05-27 + +* Fixed a bug with serializing the `query` request option where the `&` + separator was missing. +* Added a better error message for when `body` is provided as an array. Please + use `form_params` or `multipart` instead. +* Various doc fixes. + +## 6.0.0 - 2015-05-26 + +* See the UPGRADING.md document for more information. +* Added `multipart` and `form_params` request options. +* Added `synchronous` request option. +* Added the `on_headers` request option. +* Fixed `expect` handling. +* No longer adding default middlewares in the client ctor. These need to be + present on the provided handler in order to work. +* Requests are no longer initiated when sending async requests with the + CurlMultiHandler. This prevents unexpected recursion from requests completing + while ticking the cURL loop. +* Removed the semantics of setting `default` to `true`. This is no longer + required now that the cURL loop is not ticked for async requests. +* Added request and response logging middleware. +* No longer allowing self signed certificates when using the StreamHandler. +* Ensuring that `sink` is valid if saving to a file. +* Request exceptions now include a "handler context" which provides handler + specific contextual information. +* Added `GuzzleHttp\RequestOptions` to allow request options to be applied + using constants. +* `$maxHandles` has been removed from CurlMultiHandler. +* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package. + +## 5.3.0 - 2015-05-19 + +* Mock now supports `save_to` +* Marked `AbstractRequestEvent::getTransaction()` as public. +* Fixed a bug in which multiple headers using different casing would overwrite + previous headers in the associative array. +* Added `Utils::getDefaultHandler()` +* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated. +* URL scheme is now always lowercased. + +## 6.0.0-beta.1 + +* Requires PHP >= 5.5 +* Updated to use PSR-7 + * Requires immutable messages, which basically means an event based system + owned by a request instance is no longer possible. + * Utilizing the [Guzzle PSR-7 package](https://github.com/guzzle/psr7). + * Removed the dependency on `guzzlehttp/streams`. These stream abstractions + are available in the `guzzlehttp/psr7` package under the `GuzzleHttp\Psr7` + namespace. +* Added middleware and handler system + * Replaced the Guzzle event and subscriber system with a middleware system. + * No longer depends on RingPHP, but rather places the HTTP handlers directly + in Guzzle, operating on PSR-7 messages. + * Retry logic is now encapsulated in `GuzzleHttp\Middleware::retry`, which + means the `guzzlehttp/retry-subscriber` is now obsolete. + * Mocking responses is now handled using `GuzzleHttp\Handler\MockHandler`. +* Asynchronous responses + * No longer supports the `future` request option to send an async request. + Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`, + `getAsync`, etc.). + * Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid + recursion required by chaining and forwarding react promises. See + https://github.com/guzzle/promises + * Added `requestAsync` and `sendAsync` to send request asynchronously. + * Added magic methods for `getAsync()`, `postAsync()`, etc. to send requests + asynchronously. +* Request options + * POST and form updates + * Added the `form_fields` and `form_files` request options. + * Removed the `GuzzleHttp\Post` namespace. + * The `body` request option no longer accepts an array for POST requests. + * The `exceptions` request option has been deprecated in favor of the + `http_errors` request options. + * The `save_to` request option has been deprecated in favor of `sink` request + option. +* Clients no longer accept an array of URI template string and variables for + URI variables. You will need to expand URI templates before passing them + into a client constructor or request method. +* Client methods `get()`, `post()`, `put()`, `patch()`, `options()`, etc. are + now magic methods that will send synchronous requests. +* Replaced `Utils.php` with plain functions in `functions.php`. +* Removed `GuzzleHttp\Collection`. +* Removed `GuzzleHttp\BatchResults`. Batched pool results are now returned as + an array. +* Removed `GuzzleHttp\Query`. Query string handling is now handled using an + associative array passed into the `query` request option. The query string + is serialized using PHP's `http_build_query`. If you need more control, you + can pass the query string in as a string. +* `GuzzleHttp\QueryParser` has been replaced with the + `GuzzleHttp\Psr7\parse_query`. + +## 5.2.0 - 2015-01-27 + +* Added `AppliesHeadersInterface` to make applying headers to a request based + on the body more generic and not specific to `PostBodyInterface`. +* Reduced the number of stack frames needed to send requests. +* Nested futures are now resolved in the client rather than the RequestFsm +* Finishing state transitions is now handled in the RequestFsm rather than the + RingBridge. +* Added a guard in the Pool class to not use recursion for request retries. + +## 5.1.0 - 2014-12-19 + +* Pool class no longer uses recursion when a request is intercepted. +* The size of a Pool can now be dynamically adjusted using a callback. + See https://github.com/guzzle/guzzle/pull/943. +* Setting a request option to `null` when creating a request with a client will + ensure that the option is not set. This allows you to overwrite default + request options on a per-request basis. + See https://github.com/guzzle/guzzle/pull/937. +* Added the ability to limit which protocols are allowed for redirects by + specifying a `protocols` array in the `allow_redirects` request option. +* Nested futures due to retries are now resolved when waiting for synchronous + responses. See https://github.com/guzzle/guzzle/pull/947. +* `"0"` is now an allowed URI path. See + https://github.com/guzzle/guzzle/pull/935. +* `Query` no longer typehints on the `$query` argument in the constructor, + allowing for strings and arrays. +* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle + specific exceptions if necessary. + +## 5.0.3 - 2014-11-03 + +This change updates query strings so that they are treated as un-encoded values +by default where the value represents an un-encoded value to send over the +wire. A Query object then encodes the value before sending over the wire. This +means that even value query string values (e.g., ":") are url encoded. This +makes the Query class match PHP's http_build_query function. However, if you +want to send requests over the wire using valid query string characters that do +not need to be encoded, then you can provide a string to Url::setQuery() and +pass true as the second argument to specify that the query string is a raw +string that should not be parsed or encoded (unless a call to getQuery() is +subsequently made, forcing the query-string to be converted into a Query +object). + +## 5.0.2 - 2014-10-30 + +* Added a trailing `\r\n` to multipart/form-data payloads. See + https://github.com/guzzle/guzzle/pull/871 +* Added a `GuzzleHttp\Pool::send()` convenience method to match the docs. +* Status codes are now returned as integers. See + https://github.com/guzzle/guzzle/issues/881 +* No longer overwriting an existing `application/x-www-form-urlencoded` header + when sending POST requests, allowing for customized headers. See + https://github.com/guzzle/guzzle/issues/877 +* Improved path URL serialization. + + * No longer double percent-encoding characters in the path or query string if + they are already encoded. + * Now properly encoding the supplied path to a URL object, instead of only + encoding ' ' and '?'. + * Note: This has been changed in 5.0.3 to now encode query string values by + default unless the `rawString` argument is provided when setting the query + string on a URL: Now allowing many more characters to be present in the + query string without being percent encoded. See https://tools.ietf.org/html/rfc3986#appendix-A + +## 5.0.1 - 2014-10-16 + +Bugfix release. + +* Fixed an issue where connection errors still returned response object in + error and end events event though the response is unusable. This has been + corrected so that a response is not returned in the `getResponse` method of + these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867 +* Fixed an issue where transfer statistics were not being populated in the + RingBridge. https://github.com/guzzle/guzzle/issues/866 + +## 5.0.0 - 2014-10-12 + +Adding support for non-blocking responses and some minor API cleanup. + +### New Features + +* Added support for non-blocking responses based on `guzzlehttp/guzzle-ring`. +* Added a public API for creating a default HTTP adapter. +* Updated the redirect plugin to be non-blocking so that redirects are sent + concurrently. Other plugins like this can now be updated to be non-blocking. +* Added a "progress" event so that you can get upload and download progress + events. +* Added `GuzzleHttp\Pool` which implements FutureInterface and transfers + requests concurrently using a capped pool size as efficiently as possible. +* Added `hasListeners()` to EmitterInterface. +* Removed `GuzzleHttp\ClientInterface::sendAll` and marked + `GuzzleHttp\Client::sendAll` as deprecated (it's still there, just not the + recommended way). + +### Breaking changes + +The breaking changes in this release are relatively minor. The biggest thing to +look out for is that request and response objects no longer implement fluent +interfaces. + +* Removed the fluent interfaces (i.e., `return $this`) from requests, + responses, `GuzzleHttp\Collection`, `GuzzleHttp\Url`, + `GuzzleHttp\Query`, `GuzzleHttp\Post\PostBody`, and + `GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of + why I did this: https://ocramius.github.io/blog/fluent-interfaces-are-evil/. + This also makes the Guzzle message interfaces compatible with the current + PSR-7 message proposal. +* Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except + for the HTTP request functions from function.php, these functions are now + implemented in `GuzzleHttp\Utils` using camelCase. `GuzzleHttp\json_decode` + moved to `GuzzleHttp\Utils::jsonDecode`. `GuzzleHttp\get_path` moved to + `GuzzleHttp\Utils::getPath`. `GuzzleHttp\set_path` moved to + `GuzzleHttp\Utils::setPath`. `GuzzleHttp\batch` should now be + `GuzzleHttp\Pool::batch`, which returns an `objectStorage`. Using functions.php + caused problems for many users: they aren't PSR-4 compliant, require an + explicit include, and needed an if-guard to ensure that the functions are not + declared multiple times. +* Rewrote adapter layer. + * Removing all classes from `GuzzleHttp\Adapter`, these are now + implemented as callables that are stored in `GuzzleHttp\Ring\Client`. + * Removed the concept of "parallel adapters". Sending requests serially or + concurrently is now handled using a single adapter. + * Moved `GuzzleHttp\Adapter\Transaction` to `GuzzleHttp\Transaction`. The + Transaction object now exposes the request, response, and client as public + properties. The getters and setters have been removed. +* Removed the "headers" event. This event was only useful for changing the + body a response once the headers of the response were known. You can implement + a similar behavior in a number of ways. One example might be to use a + FnStream that has access to the transaction being sent. For example, when the + first byte is written, you could check if the response headers match your + expectations, and if so, change the actual stream body that is being + written to. +* Removed the `asArray` parameter from + `GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header + value as an array, then use the newly added `getHeaderAsArray()` method of + `MessageInterface`. This change makes the Guzzle interfaces compatible with + the PSR-7 interfaces. +* `GuzzleHttp\Message\MessageFactory` no longer allows subclasses to add + custom request options using double-dispatch (this was an implementation + detail). Instead, you should now provide an associative array to the + constructor which is a mapping of the request option name mapping to a + function that applies the option value to a request. +* Removed the concept of "throwImmediately" from exceptions and error events. + This control mechanism was used to stop a transfer of concurrent requests + from completing. This can now be handled by throwing the exception or by + cancelling a pool of requests or each outstanding future request individually. +* Updated to "GuzzleHttp\Streams" 3.0. + * `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a + `maxLen` parameter. This update makes the Guzzle streams project + compatible with the current PSR-7 proposal. + * `GuzzleHttp\Stream\Stream::__construct`, + `GuzzleHttp\Stream\Stream::factory`, and + `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second + argument. They now accept an associative array of options, including the + "size" key and "metadata" key which can be used to provide custom metadata. + +## 4.2.2 - 2014-09-08 + +* Fixed a memory leak in the CurlAdapter when reusing cURL handles. +* No longer using `request_fulluri` in stream adapter proxies. +* Relative redirects are now based on the last response, not the first response. + +## 4.2.1 - 2014-08-19 + +* Ensuring that the StreamAdapter does not always add a Content-Type header +* Adding automated github releases with a phar and zip + +## 4.2.0 - 2014-08-17 + +* Now merging in default options using a case-insensitive comparison. + Closes https://github.com/guzzle/guzzle/issues/767 +* Added the ability to automatically decode `Content-Encoding` response bodies + using the `decode_content` request option. This is set to `true` by default + to decode the response body if it comes over the wire with a + `Content-Encoding`. Set this value to `false` to disable decoding the + response content, and pass a string to provide a request `Accept-Encoding` + header and turn on automatic response decoding. This feature now allows you + to pass an `Accept-Encoding` header in the headers of a request but still + disable automatic response decoding. + Closes https://github.com/guzzle/guzzle/issues/764 +* Added the ability to throw an exception immediately when transferring + requests in parallel. Closes https://github.com/guzzle/guzzle/issues/760 +* Updating guzzlehttp/streams dependency to ~2.1 +* No longer utilizing the now deprecated namespaced methods from the stream + package. + +## 4.1.8 - 2014-08-14 + +* Fixed an issue in the CurlFactory that caused setting the `stream=false` + request option to throw an exception. + See: https://github.com/guzzle/guzzle/issues/769 +* TransactionIterator now calls rewind on the inner iterator. + See: https://github.com/guzzle/guzzle/pull/765 +* You can now set the `Content-Type` header to `multipart/form-data` + when creating POST requests to force multipart bodies. + See https://github.com/guzzle/guzzle/issues/768 + +## 4.1.7 - 2014-08-07 + +* Fixed an error in the HistoryPlugin that caused the same request and response + to be logged multiple times when an HTTP protocol error occurs. +* Ensuring that cURL does not add a default Content-Type when no Content-Type + has been supplied by the user. This prevents the adapter layer from modifying + the request that is sent over the wire after any listeners may have already + put the request in a desired state (e.g., signed the request). +* Throwing an exception when you attempt to send requests that have the + "stream" set to true in parallel using the MultiAdapter. +* Only calling curl_multi_select when there are active cURL handles. This was + previously changed and caused performance problems on some systems due to PHP + always selecting until the maximum select timeout. +* Fixed a bug where multipart/form-data POST fields were not correctly + aggregated (e.g., values with "&"). + +## 4.1.6 - 2014-08-03 + +* Added helper methods to make it easier to represent messages as strings, + including getting the start line and getting headers as a string. + +## 4.1.5 - 2014-08-02 + +* Automatically retrying cURL "Connection died, retrying a fresh connect" + errors when possible. +* cURL implementation cleanup +* Allowing multiple event subscriber listeners to be registered per event by + passing an array of arrays of listener configuration. + +## 4.1.4 - 2014-07-22 + +* Fixed a bug that caused multi-part POST requests with more than one field to + serialize incorrectly. +* Paths can now be set to "0" +* `ResponseInterface::xml` now accepts a `libxml_options` option and added a + missing default argument that was required when parsing XML response bodies. +* A `save_to` stream is now created lazily, which means that files are not + created on disk unless a request succeeds. + +## 4.1.3 - 2014-07-15 + +* Various fixes to multipart/form-data POST uploads +* Wrapping function.php in an if-statement to ensure Guzzle can be used + globally and in a Composer install +* Fixed an issue with generating and merging in events to an event array +* POST headers are only applied before sending a request to allow you to change + the query aggregator used before uploading +* Added much more robust query string parsing +* Fixed various parsing and normalization issues with URLs +* Fixing an issue where multi-valued headers were not being utilized correctly + in the StreamAdapter + +## 4.1.2 - 2014-06-18 + +* Added support for sending payloads with GET requests + +## 4.1.1 - 2014-06-08 + +* Fixed an issue related to using custom message factory options in subclasses +* Fixed an issue with nested form fields in a multi-part POST +* Fixed an issue with using the `json` request option for POST requests +* Added `ToArrayInterface` to `GuzzleHttp\Cookie\CookieJar` + +## 4.1.0 - 2014-05-27 + +* Added a `json` request option to easily serialize JSON payloads. +* Added a `GuzzleHttp\json_decode()` wrapper to safely parse JSON. +* Added `setPort()` and `getPort()` to `GuzzleHttp\Message\RequestInterface`. +* Added the ability to provide an emitter to a client in the client constructor. +* Added the ability to persist a cookie session using $_SESSION. +* Added a trait that can be used to add event listeners to an iterator. +* Removed request method constants from RequestInterface. +* Fixed warning when invalid request start-lines are received. +* Updated MessageFactory to work with custom request option methods. +* Updated cacert bundle to latest build. + +4.0.2 (2014-04-16) +------------------ + +* Proxy requests using the StreamAdapter now properly use request_fulluri (#632) +* Added the ability to set scalars as POST fields (#628) + +## 4.0.1 - 2014-04-04 + +* The HTTP status code of a response is now set as the exception code of + RequestException objects. +* 303 redirects will now correctly switch from POST to GET requests. +* The default parallel adapter of a client now correctly uses the MultiAdapter. +* HasDataTrait now initializes the internal data array as an empty array so + that the toArray() method always returns an array. + +## 4.0.0 - 2014-03-29 + +* For information on changes and upgrading, see: + https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40 +* Added `GuzzleHttp\batch()` as a convenience function for sending requests in + parallel without needing to write asynchronous code. +* Restructured how events are added to `GuzzleHttp\ClientInterface::sendAll()`. + You can now pass a callable or an array of associative arrays where each + associative array contains the "fn", "priority", and "once" keys. + +## 4.0.0.rc-2 - 2014-03-25 + +* Removed `getConfig()` and `setConfig()` from clients to avoid confusion + around whether things like base_url, message_factory, etc. should be able to + be retrieved or modified. +* Added `getDefaultOption()` and `setDefaultOption()` to ClientInterface +* functions.php functions were renamed using snake_case to match PHP idioms +* Added support for `HTTP_PROXY`, `HTTPS_PROXY`, and + `GUZZLE_CURL_SELECT_TIMEOUT` environment variables +* Added the ability to specify custom `sendAll()` event priorities +* Added the ability to specify custom stream context options to the stream + adapter. +* Added a functions.php function for `get_path()` and `set_path()` +* CurlAdapter and MultiAdapter now use a callable to generate curl resources +* MockAdapter now properly reads a body and emits a `headers` event +* Updated Url class to check if a scheme and host are set before adding ":" + and "//". This allows empty Url (e.g., "") to be serialized as "". +* Parsing invalid XML no longer emits warnings +* Curl classes now properly throw AdapterExceptions +* Various performance optimizations +* Streams are created with the faster `Stream\create()` function +* Marked deprecation_proxy() as internal +* Test server is now a collection of static methods on a class + +## 4.0.0-rc.1 - 2014-03-15 + +* See https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40 + +## 3.8.1 - 2014-01-28 + +* Bug: Always using GET requests when redirecting from a 303 response +* Bug: CURLOPT_SSL_VERIFYHOST is now correctly set to false when setting `$certificateAuthority` to false in + `Guzzle\Http\ClientInterface::setSslVerification()` +* Bug: RedirectPlugin now uses strict RFC 3986 compliance when combining a base URL with a relative URL +* Bug: The body of a request can now be set to `"0"` +* Sending PHP stream requests no longer forces `HTTP/1.0` +* Adding more information to ExceptionCollection exceptions so that users have more context, including a stack trace of + each sub-exception +* Updated the `$ref` attribute in service descriptions to merge over any existing parameters of a schema (rather than + clobbering everything). +* Merging URLs will now use the query string object from the relative URL (thus allowing custom query aggregators) +* Query strings are now parsed in a way that they do no convert empty keys with no value to have a dangling `=`. + For example `foo&bar=baz` is now correctly parsed and recognized as `foo&bar=baz` rather than `foo=&bar=baz`. +* Now properly escaping the regular expression delimiter when matching Cookie domains. +* Network access is now disabled when loading XML documents + +## 3.8.0 - 2013-12-05 + +* Added the ability to define a POST name for a file +* JSON response parsing now properly walks additionalProperties +* cURL error code 18 is now retried automatically in the BackoffPlugin +* Fixed a cURL error when URLs contain fragments +* Fixed an issue in the BackoffPlugin retry event where it was trying to access all exceptions as if they were + CurlExceptions +* CURLOPT_PROGRESS function fix for PHP 5.5 (69fcc1e) +* Added the ability for Guzzle to work with older versions of cURL that do not support `CURLOPT_TIMEOUT_MS` +* Fixed a bug that was encountered when parsing empty header parameters +* UriTemplate now has a `setRegex()` method to match the docs +* The `debug` request parameter now checks if it is truthy rather than if it exists +* Setting the `debug` request parameter to true shows verbose cURL output instead of using the LogPlugin +* Added the ability to combine URLs using strict RFC 3986 compliance +* Command objects can now return the validation errors encountered by the command +* Various fixes to cache revalidation (#437 and 29797e5) +* Various fixes to the AsyncPlugin +* Cleaned up build scripts + +## 3.7.4 - 2013-10-02 + +* Bug fix: 0 is now an allowed value in a description parameter that has a default value (#430) +* Bug fix: SchemaFormatter now returns an integer when formatting to a Unix timestamp + (see https://github.com/aws/aws-sdk-php/issues/147) +* Bug fix: Cleaned up and fixed URL dot segment removal to properly resolve internal dots +* Minimum PHP version is now properly specified as 5.3.3 (up from 5.3.2) (#420) +* Updated the bundled cacert.pem (#419) +* OauthPlugin now supports adding authentication to headers or query string (#425) + +## 3.7.3 - 2013-09-08 + +* Added the ability to get the exception associated with a request/command when using `MultiTransferException` and + `CommandTransferException`. +* Setting `additionalParameters` of a response to false is now honored when parsing responses with a service description +* Schemas are only injected into response models when explicitly configured. +* No longer guessing Content-Type based on the path of a request. Content-Type is now only guessed based on the path of + an EntityBody. +* Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator. +* Bug fix: FilterIterator now relies on `\Iterator` instead of `\Traversable`. +* Bug fix: Gracefully handling malformed responses in RequestMediator::writeResponseBody() +* Bug fix: Replaced call to canCache with canCacheRequest in the CallbackCanCacheStrategy of the CachePlugin +* Bug fix: Visiting XML attributes first before visiting XML children when serializing requests +* Bug fix: Properly parsing headers that contain commas contained in quotes +* Bug fix: mimetype guessing based on a filename is now case-insensitive + +## 3.7.2 - 2013-08-02 + +* Bug fix: Properly URL encoding paths when using the PHP-only version of the UriTemplate expander + See https://github.com/guzzle/guzzle/issues/371 +* Bug fix: Cookie domains are now matched correctly according to RFC 6265 + See https://github.com/guzzle/guzzle/issues/377 +* Bug fix: GET parameters are now used when calculating an OAuth signature +* Bug fix: Fixed an issue with cache revalidation where the If-None-Match header was being double quoted +* `Guzzle\Common\AbstractHasDispatcher::dispatch()` now returns the event that was dispatched +* `Guzzle\Http\QueryString::factory()` now guesses the most appropriate query aggregator to used based on the input. + See https://github.com/guzzle/guzzle/issues/379 +* Added a way to add custom domain objects to service description parsing using the `operation.parse_class` event. See + https://github.com/guzzle/guzzle/pull/380 +* cURL multi cleanup and optimizations + +## 3.7.1 - 2013-07-05 + +* Bug fix: Setting default options on a client now works +* Bug fix: Setting options on HEAD requests now works. See #352 +* Bug fix: Moving stream factory before send event to before building the stream. See #353 +* Bug fix: Cookies no longer match on IP addresses per RFC 6265 +* Bug fix: Correctly parsing header parameters that are in `<>` and quotes +* Added `cert` and `ssl_key` as request options +* `Host` header can now diverge from the host part of a URL if the header is set manually +* `Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor` was rewritten to change from using SimpleXML to XMLWriter +* OAuth parameters are only added via the plugin if they aren't already set +* Exceptions are now thrown when a URL cannot be parsed +* Returning `false` if `Guzzle\Http\EntityBody::getContentMd5()` fails +* Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin + +## 3.7.0 - 2013-06-10 + +* See UPGRADING.md for more information on how to upgrade. +* Requests now support the ability to specify an array of $options when creating a request to more easily modify a + request. You can pass a 'request.options' configuration setting to a client to apply default request options to + every request created by a client (e.g. default query string variables, headers, curl options, etc.). +* Added a static facade class that allows you to use Guzzle with static methods and mount the class to `\Guzzle`. + See `Guzzle\Http\StaticClient::mount`. +* Added `command.request_options` to `Guzzle\Service\Command\AbstractCommand` to pass request options to requests + created by a command (e.g. custom headers, query string variables, timeout settings, etc.). +* Stream size in `Guzzle\Stream\PhpStreamRequestFactory` will now be set if Content-Length is returned in the + headers of a response +* Added `Guzzle\Common\Collection::setPath($path, $value)` to set a value into an array using a nested key + (e.g. `$collection->setPath('foo/baz/bar', 'test'); echo $collection['foo']['bar']['bar'];`) +* ServiceBuilders now support storing and retrieving arbitrary data +* CachePlugin can now purge all resources for a given URI +* CachePlugin can automatically purge matching cached items when a non-idempotent request is sent to a resource +* CachePlugin now uses the Vary header to determine if a resource is a cache hit +* `Guzzle\Http\Message\Response` now implements `\Serializable` +* Added `Guzzle\Cache\CacheAdapterFactory::fromCache()` to more easily create cache adapters +* `Guzzle\Service\ClientInterface::execute()` now accepts an array, single command, or Traversable +* Fixed a bug in `Guzzle\Http\Message\Header\Link::addLink()` +* Better handling of calculating the size of a stream in `Guzzle\Stream\Stream` using fstat() and caching the size +* `Guzzle\Common\Exception\ExceptionCollection` now creates a more readable exception message +* Fixing BC break: Added back the MonologLogAdapter implementation rather than extending from PsrLog so that older + Symfony users can still use the old version of Monolog. +* Fixing BC break: Added the implementation back in for `Guzzle\Http\Message\AbstractMessage::getTokenizedHeader()`. + Now triggering an E_USER_DEPRECATED warning when used. Use `$message->getHeader()->parseParams()`. +* Several performance improvements to `Guzzle\Common\Collection` +* Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`: + createRequest, head, delete, put, patch, post, options, prepareRequest +* Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()` +* Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface` +* Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to + `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a + resource, string, or EntityBody into the $options parameter to specify the download location of the response. +* Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a + default `array()` +* Added `Guzzle\Stream\StreamInterface::isRepeatable` +* Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use + $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or + $client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))`. +* Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use $client->getConfig()->getPath('request.options/headers')`. +* Removed `Guzzle\Http\ClientInterface::expandTemplate()` +* Removed `Guzzle\Http\ClientInterface::setRequestFactory()` +* Removed `Guzzle\Http\ClientInterface::getCurlMulti()` +* Removed `Guzzle\Http\Message\RequestInterface::canCache` +* Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect` +* Removed `Guzzle\Http\Message\RequestInterface::isRedirect` +* Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods. +* You can now enable E_USER_DEPRECATED warnings to see if you are using a deprecated method by setting + `Guzzle\Common\Version::$emitWarnings` to true. +* Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use + `$request->getResponseBody()->isRepeatable()` instead. +* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use + `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use + `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +* Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead. +* Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead. +* Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated +* Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. + These will work through Guzzle 4.0 +* Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use [request.options][params]. +* Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client. +* Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use $client->getConfig()->getPath('request.options/headers')`. +* Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. +* Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8. +* Marked `Guzzle\Common\Collection::inject()` as deprecated. +* Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest');` +* CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a + CacheStorageInterface. These two objects and interface will be removed in a future version. +* Always setting X-cache headers on cached responses +* Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin +* `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface + $request, Response $response);` +* `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);` +* `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);` +* Added `CacheStorageInterface::purge($url)` +* `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin + $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache, + CanCacheStrategyInterface $canCache = null)` +* Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)` + +## 3.6.0 - 2013-05-29 + +* ServiceDescription now implements ToArrayInterface +* Added command.hidden_params to blacklist certain headers from being treated as additionalParameters +* Guzzle can now correctly parse incomplete URLs +* Mixed casing of headers are now forced to be a single consistent casing across all values for that header. +* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution +* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader(). +* Specific header implementations can be created for complex headers. When a message creates a header, it uses a + HeaderFactory which can map specific headers to specific header classes. There is now a Link header and + CacheControl header implementation. +* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate +* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti() +* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in + Guzzle\Http\Curl\RequestMediator +* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string. +* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface +* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders() +* Removed Guzzle\Parser\ParserRegister::get(). Use getParser() +* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser(). +* All response header helper functions return a string rather than mixing Header objects and strings inconsistently +* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle + directly via interfaces +* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist + but are a no-op until removed. +* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a + `Guzzle\Service\Command\ArrayCommandInterface`. +* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response + on a request while the request is still being transferred +* The ability to case-insensitively search for header values +* Guzzle\Http\Message\Header::hasExactHeader +* Guzzle\Http\Message\Header::raw. Use getAll() +* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object + instead. +* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess +* Added the ability to cast Model objects to a string to view debug information. + +## 3.5.0 - 2013-05-13 + +* Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rather than multiple times +* Bug: Better cleanup of one-time events across the board (when an event is meant to fire once, it will now remove + itself from the EventDispatcher) +* Bug: `Guzzle\Log\MessageFormatter` now properly writes "total_time" and "connect_time" values +* Bug: Cloning an EntityEnclosingRequest now clones the EntityBody too +* Bug: Fixed an undefined index error when parsing nested JSON responses with a sentAs parameter that reference a + non-existent key +* Bug: All __call() method arguments are now required (helps with mocking frameworks) +* Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a circular reference + to help with refcount based garbage collection of resources created by sending a request +* Deprecating ZF1 cache and log adapters. These will be removed in the next major version. +* Deprecating `Response::getPreviousResponse()` (method signature still exists, but it's deprecated). Use the + HistoryPlugin for a history. +* Added a `responseBody` alias for the `response_body` location +* Refactored internals to no longer rely on Response::getRequest() +* HistoryPlugin can now be cast to a string +* HistoryPlugin now logs transactions rather than requests and responses to more accurately keep track of the requests + and responses that are sent over the wire +* Added `getEffectiveUrl()` and `getRedirectCount()` to Response objects + +## 3.4.3 - 2013-04-30 + +* Bug fix: Fixing bug introduced in 3.4.2 where redirect responses are duplicated on the final redirected response +* Added a check to re-extract the temp cacert bundle from the phar before sending each request + +## 3.4.2 - 2013-04-29 + +* Bug fix: Stream objects now work correctly with "a" and "a+" modes +* Bug fix: Removing `Transfer-Encoding: chunked` header when a Content-Length is present +* Bug fix: AsyncPlugin no longer forces HEAD requests +* Bug fix: DateTime timezones are now properly handled when using the service description schema formatter +* Bug fix: CachePlugin now properly handles stale-if-error directives when a request to the origin server fails +* Setting a response on a request will write to the custom request body from the response body if one is specified +* LogPlugin now writes to php://output when STDERR is undefined +* Added the ability to set multiple POST files for the same key in a single call +* application/x-www-form-urlencoded POSTs now use the utf-8 charset by default +* Added the ability to queue CurlExceptions to the MockPlugin +* Cleaned up how manual responses are queued on requests (removed "queued_response" and now using request.before_send) +* Configuration loading now allows remote files + +## 3.4.1 - 2013-04-16 + +* Large refactoring to how CurlMulti handles work. There is now a proxy that sits in front of a pool of CurlMulti + handles. This greatly simplifies the implementation, fixes a couple bugs, and provides a small performance boost. +* Exceptions are now properly grouped when sending requests in parallel +* Redirects are now properly aggregated when a multi transaction fails +* Redirects now set the response on the original object even in the event of a failure +* Bug fix: Model names are now properly set even when using $refs +* Added support for PHP 5.5's CurlFile to prevent warnings with the deprecated @ syntax +* Added support for oauth_callback in OAuth signatures +* Added support for oauth_verifier in OAuth signatures +* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection + +## 3.4.0 - 2013-04-11 + +* Bug fix: URLs are now resolved correctly based on https://tools.ietf.org/html/rfc3986#section-5.2. #289 +* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289 +* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263 +* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264. +* Bug fix: Added `number` type to service descriptions. +* Bug fix: empty parameters are removed from an OAuth signature +* Bug fix: Revalidating a cache entry prefers the Last-Modified over the Date header +* Bug fix: Fixed "array to string" error when validating a union of types in a service description +* Bug fix: Removed code that attempted to determine the size of a stream when data is written to the stream +* Bug fix: Not including an `oauth_token` if the value is null in the OauthPlugin. +* Bug fix: Now correctly aggregating successful requests and failed requests in CurlMulti when a redirect occurs. +* The new default CURLOPT_TIMEOUT setting has been increased to 150 seconds so that Guzzle works on poor connections. +* Added a feature to EntityEnclosingRequest::setBody() that will automatically set the Content-Type of the request if + the Content-Type can be determined based on the entity body or the path of the request. +* Added the ability to overwrite configuration settings in a client when grabbing a throwaway client from a builder. +* Added support for a PSR-3 LogAdapter. +* Added a `command.after_prepare` event +* Added `oauth_callback` parameter to the OauthPlugin +* Added the ability to create a custom stream class when using a stream factory +* Added a CachingEntityBody decorator +* Added support for `additionalParameters` in service descriptions to define how custom parameters are serialized. +* The bundled SSL certificate is now provided in the phar file and extracted when running Guzzle from a phar. +* You can now send any EntityEnclosingRequest with POST fields or POST files and cURL will handle creating bodies +* POST requests using a custom entity body are now treated exactly like PUT requests but with a custom cURL method. This + means that the redirect behavior of POST requests with custom bodies will not be the same as POST requests that use + POST fields or files (the latter is only used when emulating a form POST in the browser). +* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest + +## 3.3.1 - 2013-03-10 + +* Added the ability to create PHP streaming responses from HTTP requests +* Bug fix: Running any filters when parsing response headers with service descriptions +* Bug fix: OauthPlugin fixes to allow for multi-dimensional array signing, and sorting parameters before signing +* Bug fix: Removed the adding of default empty arrays and false Booleans to responses in order to be consistent across + response location visitors. +* Bug fix: Removed the possibility of creating configuration files with circular dependencies +* RequestFactory::create() now uses the key of a POST file when setting the POST file name +* Added xmlAllowEmpty to serialize an XML body even if no XML specific parameters are set + +## 3.3.0 - 2013-03-03 + +* A large number of performance optimizations have been made +* Bug fix: Added 'wb' as a valid write mode for streams +* Bug fix: `Guzzle\Http\Message\Response::json()` now allows scalar values to be returned +* Bug fix: Fixed bug in `Guzzle\Http\Message\Response` where wrapping quotes were stripped from `getEtag()` +* BC: Removed `Guzzle\Http\Utils` class +* BC: Setting a service description on a client will no longer modify the client's command factories. +* BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using + the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' +* BC: `Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to + lowercase +* Operation parameter objects are now lazy loaded internally +* Added ErrorResponsePlugin that can throw errors for responses defined in service description operations' errorResponses +* Added support for instantiating responseType=class responseClass classes. Classes must implement + `Guzzle\Service\Command\ResponseClassInterface` +* Added support for additionalProperties for top-level parameters in responseType=model responseClasses. These + additional properties also support locations and can be used to parse JSON responses where the outermost part of the + JSON is an array +* Added support for nested renaming of JSON models (rename sentAs to name) +* CachePlugin + * Added support for stale-if-error so that the CachePlugin can now serve stale content from the cache on error + * Debug headers can now added to cached response in the CachePlugin + +## 3.2.0 - 2013-02-14 + +* CurlMulti is no longer reused globally. A new multi object is created per-client. This helps to isolate clients. +* URLs with no path no longer contain a "/" by default +* Guzzle\Http\QueryString does no longer manages the leading "?". This is now handled in Guzzle\Http\Url. +* BadResponseException no longer includes the full request and response message +* Adding setData() to Guzzle\Service\Description\ServiceDescriptionInterface +* Adding getResponseBody() to Guzzle\Http\Message\RequestInterface +* Various updates to classes to use ServiceDescriptionInterface type hints rather than ServiceDescription +* Header values can now be normalized into distinct values when multiple headers are combined with a comma separated list +* xmlEncoding can now be customized for the XML declaration of a XML service description operation +* Guzzle\Http\QueryString now uses Guzzle\Http\QueryAggregator\QueryAggregatorInterface objects to add custom value + aggregation and no longer uses callbacks +* The URL encoding implementation of Guzzle\Http\QueryString can now be customized +* Bug fix: Filters were not always invoked for array service description parameters +* Bug fix: Redirects now use a target response body rather than a temporary response body +* Bug fix: The default exponential backoff BackoffPlugin was not giving when the request threshold was exceeded +* Bug fix: Guzzle now takes the first found value when grabbing Cache-Control directives + +## 3.1.2 - 2013-01-27 + +* Refactored how operation responses are parsed. Visitors now include a before() method responsible for parsing the + response body. For example, the XmlVisitor now parses the XML response into an array in the before() method. +* Fixed an issue where cURL would not automatically decompress responses when the Accept-Encoding header was sent +* CURLOPT_SSL_VERIFYHOST is never set to 1 because it is deprecated (see 5e0ff2ef20f839e19d1eeb298f90ba3598784444) +* Fixed a bug where redirect responses were not chained correctly using getPreviousResponse() +* Setting default headers on a client after setting the user-agent will not erase the user-agent setting + +## 3.1.1 - 2013-01-20 + +* Adding wildcard support to Guzzle\Common\Collection::getPath() +* Adding alias support to ServiceBuilder configs +* Adding Guzzle\Service\Resource\CompositeResourceIteratorFactory and cleaning up factory interface + +## 3.1.0 - 2013-01-12 + +* BC: CurlException now extends from RequestException rather than BadResponseException +* BC: Renamed Guzzle\Plugin\Cache\CanCacheStrategyInterface::canCache() to canCacheRequest() and added CanCacheResponse() +* Added getData to ServiceDescriptionInterface +* Added context array to RequestInterface::setState() +* Bug: Removing hard dependency on the BackoffPlugin from Guzzle\Http +* Bug: Adding required content-type when JSON request visitor adds JSON to a command +* Bug: Fixing the serialization of a service description with custom data +* Made it easier to deal with exceptions thrown when transferring commands or requests in parallel by providing + an array of successful and failed responses +* Moved getPath from Guzzle\Service\Resource\Model to Guzzle\Common\Collection +* Added Guzzle\Http\IoEmittingEntityBody +* Moved command filtration from validators to location visitors +* Added `extends` attributes to service description parameters +* Added getModels to ServiceDescriptionInterface + +## 3.0.7 - 2012-12-19 + +* Fixing phar detection when forcing a cacert to system if null or true +* Allowing filename to be passed to `Guzzle\Http\Message\Request::setResponseBody()` +* Cleaning up `Guzzle\Common\Collection::inject` method +* Adding a response_body location to service descriptions + +## 3.0.6 - 2012-12-09 + +* CurlMulti performance improvements +* Adding setErrorResponses() to Operation +* composer.json tweaks + +## 3.0.5 - 2012-11-18 + +* Bug: Fixing an infinite recursion bug caused from revalidating with the CachePlugin +* Bug: Response body can now be a string containing "0" +* Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert +* Bug: QueryString::fromString now properly parses query string parameters that contain equal signs +* Added support for XML attributes in service description responses +* DefaultRequestSerializer now supports array URI parameter values for URI template expansion +* Added better mimetype guessing to requests and post files + +## 3.0.4 - 2012-11-11 + +* Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value +* Bug: Cookies can now be added that have a name, domain, or value set to "0" +* Bug: Using the system cacert bundle when using the Phar +* Added json and xml methods to Response to make it easier to parse JSON and XML response data into data structures +* Enhanced cookie jar de-duplication +* Added the ability to enable strict cookie jars that throw exceptions when invalid cookies are added +* Added setStream to StreamInterface to actually make it possible to implement custom rewind behavior for entity bodies +* Added the ability to create any sort of hash for a stream rather than just an MD5 hash + +## 3.0.3 - 2012-11-04 + +* Implementing redirects in PHP rather than cURL +* Added PECL URI template extension and using as default parser if available +* Bug: Fixed Content-Length parsing of Response factory +* Adding rewind() method to entity bodies and streams. Allows for custom rewinding of non-repeatable streams. +* Adding ToArrayInterface throughout library +* Fixing OauthPlugin to create unique nonce values per request + +## 3.0.2 - 2012-10-25 + +* Magic methods are enabled by default on clients +* Magic methods return the result of a command +* Service clients no longer require a base_url option in the factory +* Bug: Fixed an issue with URI templates where null template variables were being expanded + +## 3.0.1 - 2012-10-22 + +* Models can now be used like regular collection objects by calling filter, map, etc. +* Models no longer require a Parameter structure or initial data in the constructor +* Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator` + +## 3.0.0 - 2012-10-15 + +* Rewrote service description format to be based on Swagger + * Now based on JSON schema + * Added nested input structures and nested response models + * Support for JSON and XML input and output models + * Renamed `commands` to `operations` + * Removed dot class notation + * Removed custom types +* Broke the project into smaller top-level namespaces to be more component friendly +* Removed support for XML configs and descriptions. Use arrays or JSON files. +* Removed the Validation component and Inspector +* Moved all cookie code to Guzzle\Plugin\Cookie +* Magic methods on a Guzzle\Service\Client now return the command un-executed. +* Calling getResult() or getResponse() on a command will lazily execute the command if needed. +* Now shipping with cURL's CA certs and using it by default +* Added previousResponse() method to response objects +* No longer sending Accept and Accept-Encoding headers on every request +* Only sending an Expect header by default when a payload is greater than 1MB +* Added/moved client options: + * curl.blacklist to curl.option.blacklist + * Added ssl.certificate_authority +* Added a Guzzle\Iterator component +* Moved plugins from Guzzle\Http\Plugin to Guzzle\Plugin +* Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin) +* Added a more robust caching plugin +* Added setBody to response objects +* Updating LogPlugin to use a more flexible MessageFormatter +* Added a completely revamped build process +* Cleaning up Collection class and removing default values from the get method +* Fixed ZF2 cache adapters + +## 2.8.8 - 2012-10-15 + +* Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did + +## 2.8.7 - 2012-09-30 + +* Bug: Fixed config file aliases for JSON includes +* Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests +* Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload +* Bug: Hardening request and response parsing to account for missing parts +* Bug: Fixed PEAR packaging +* Bug: Fixed Request::getInfo +* Bug: Fixed cases where CURLM_CALL_MULTI_PERFORM return codes were causing curl transactions to fail +* Adding the ability for the namespace Iterator factory to look in multiple directories +* Added more getters/setters/removers from service descriptions +* Added the ability to remove POST fields from OAuth signatures +* OAuth plugin now supports 2-legged OAuth + +## 2.8.6 - 2012-09-05 + +* Added the ability to modify and build service descriptions +* Added the use of visitors to apply parameters to locations in service descriptions using the dynamic command +* Added a `json` parameter location +* Now allowing dot notation for classes in the CacheAdapterFactory +* Using the union of two arrays rather than an array_merge when extending service builder services and service params +* Ensuring that a service is a string before doing strpos() checks on it when substituting services for references + in service builder config files. +* Services defined in two different config files that include one another will by default replace the previously + defined service, but you can now create services that extend themselves and merge their settings over the previous +* The JsonLoader now supports aliasing filenames with different filenames. This allows you to alias something like + '_default' with a default JSON configuration file. + +## 2.8.5 - 2012-08-29 + +* Bug: Suppressed empty arrays from URI templates +* Bug: Added the missing $options argument from ServiceDescription::factory to enable caching +* Added support for HTTP responses that do not contain a reason phrase in the start-line +* AbstractCommand commands are now invokable +* Added a way to get the data used when signing an Oauth request before a request is sent + +## 2.8.4 - 2012-08-15 + +* Bug: Custom delay time calculations are no longer ignored in the ExponentialBackoffPlugin +* Added the ability to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set `body_as_string` in a request's curl options to enable. +* Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream +* Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subset of a decorated stream +* Stream and EntityBody objects will now return the file position to the previous position after a read required operation (e.g. getContentMd5()) +* Added additional response status codes +* Removed SSL information from the default User-Agent header +* DELETE requests can now send an entity body +* Added an EventDispatcher to the ExponentialBackoffPlugin and added an ExponentialBackoffLogger to log backoff retries +* Added the ability of the MockPlugin to consume mocked request bodies +* LogPlugin now exposes request and response objects in the extras array + +## 2.8.3 - 2012-07-30 + +* Bug: Fixed a case where empty POST requests were sent as GET requests +* Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEnclosingRequest that does not have a body +* Bug: Setting the response body of a request to null after completing a request, not when setting the state of a request to new +* Added multiple inheritance to service description commands +* Added an ApiCommandInterface and added `getParamNames()` and `hasParam()` +* Removed the default 2mb size cutoff from the Md5ValidatorPlugin so that it now defaults to validating everything +* Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles + +## 2.8.2 - 2012-07-24 + +* Bug: Query string values set to 0 are no longer dropped from the query string +* Bug: A Collection object is no longer created each time a call is made to `Guzzle\Service\Command\AbstractCommand::getRequestHeaders()` +* Bug: `+` is now treated as an encoded space when parsing query strings +* QueryString and Collection performance improvements +* Allowing dot notation for class paths in filters attribute of a service descriptions + +## 2.8.1 - 2012-07-16 + +* Loosening Event Dispatcher dependency +* POST redirects can now be customized using CURLOPT_POSTREDIR + +## 2.8.0 - 2012-07-15 + +* BC: Guzzle\Http\Query + * Query strings with empty variables will always show an equal sign unless the variable is set to QueryString::BLANK (e.g. ?acl= vs ?acl) + * Changed isEncodingValues() and isEncodingFields() to isUrlEncoding() + * Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool) + * Changed the aggregation functions of QueryString to be static methods + * Can now use fromString() with querystrings that have a leading ? +* cURL configuration values can be specified in service descriptions using `curl.` prefixed parameters +* Content-Length is set to 0 before emitting the request.before_send event when sending an empty request body +* Cookies are no longer URL decoded by default +* Bug: URI template variables set to null are no longer expanded + +## 2.7.2 - 2012-07-02 + +* BC: Moving things to get ready for subtree splits. Moving Inflection into Common. Moving Guzzle\Http\Parser to Guzzle\Parser. +* BC: Removing Guzzle\Common\Batch\Batch::count() and replacing it with isEmpty() +* CachePlugin now allows for a custom request parameter function to check if a request can be cached +* Bug fix: CachePlugin now only caches GET and HEAD requests by default +* Bug fix: Using header glue when transferring headers over the wire +* Allowing deeply nested arrays for composite variables in URI templates +* Batch divisors can now return iterators or arrays + +## 2.7.1 - 2012-06-26 + +* Minor patch to update version number in UA string +* Updating build process + +## 2.7.0 - 2012-06-25 + +* BC: Inflection classes moved to Guzzle\Inflection. No longer static methods. Can now inject custom inflectors into classes. +* BC: Removed magic setX methods from commands +* BC: Magic methods mapped to service description commands are now inflected in the command factory rather than the client __call() method +* Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enable. +* Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-end server is at capacity) +* Guzzle\Service\Resource\ResourceIteratorApplyBatched now internally uses the Guzzle\Common\Batch namespace +* Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin +* Added the ability to set POST fields and files in a service description +* Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method +* Adding a command.before_prepare event to clients +* Added BatchClosureTransfer and BatchClosureDivisor +* BatchTransferException now includes references to the batch divisor and transfer strategies +* Fixed some tests so that they pass more reliably +* Added Guzzle\Common\Log\ArrayLogAdapter + +## 2.6.6 - 2012-06-10 + +* BC: Removing Guzzle\Http\Plugin\BatchQueuePlugin +* BC: Removing Guzzle\Service\Command\CommandSet +* Adding generic batching system (replaces the batch queue plugin and command set) +* Updating ZF cache and log adapters and now using ZF's composer repository +* Bug: Setting the name of each ApiParam when creating through an ApiCommand +* Adding result_type, result_doc, deprecated, and doc_url to service descriptions +* Bug: Changed the default cookie header casing back to 'Cookie' + +## 2.6.5 - 2012-06-03 + +* BC: Renaming Guzzle\Http\Message\RequestInterface::getResourceUri() to getResource() +* BC: Removing unused AUTH_BASIC and AUTH_DIGEST constants from +* BC: Guzzle\Http\Cookie is now used to manage Set-Cookie data, not Cookie data +* BC: Renaming methods in the CookieJarInterface +* Moving almost all cookie logic out of the CookiePlugin and into the Cookie or CookieJar implementations +* Making the default glue for HTTP headers ';' instead of ',' +* Adding a removeValue to Guzzle\Http\Message\Header +* Adding getCookies() to request interface. +* Making it easier to add event subscribers to HasDispatcherInterface classes. Can now directly call addSubscriber() + +## 2.6.4 - 2012-05-30 + +* BC: Cleaning up how POST files are stored in EntityEnclosingRequest objects. Adding PostFile class. +* BC: Moving ApiCommand specific functionality from the Inspector and on to the ApiCommand +* Bug: Fixing magic method command calls on clients +* Bug: Email constraint only validates strings +* Bug: Aggregate POST fields when POST files are present in curl handle +* Bug: Fixing default User-Agent header +* Bug: Only appending or prepending parameters in commands if they are specified +* Bug: Not requiring response reason phrases or status codes to match a predefined list of codes +* Allowing the use of dot notation for class namespaces when using instance_of constraint +* Added any_match validation constraint +* Added an AsyncPlugin +* Passing request object to the calculateWait method of the ExponentialBackoffPlugin +* Allowing the result of a command object to be changed +* Parsing location and type sub values when instantiating a service description rather than over and over at runtime + +## 2.6.3 - 2012-05-23 + +* [BC] Guzzle\Common\FromConfigInterface no longer requires any config options. +* [BC] Refactoring how POST files are stored on an EntityEnclosingRequest. They are now separate from POST fields. +* You can now use an array of data when creating PUT request bodies in the request factory. +* Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cacheable. +* [Http] Adding support for Content-Type in multipart POST uploads per upload +* [Http] Added support for uploading multiple files using the same name (foo[0], foo[1]) +* Adding more POST data operations for easier manipulation of POST data. +* You can now set empty POST fields. +* The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files. +* Split the Guzzle\Service\Inspector::validateConfig method into two methods. One to initialize when a command is created, and one to validate. +* CS updates + +## 2.6.2 - 2012-05-19 + +* [Http] Better handling of nested scope requests in CurlMulti. Requests are now always prepares in the send() method rather than the addRequest() method. + +## 2.6.1 - 2012-05-19 + +* [BC] Removing 'path' support in service descriptions. Use 'uri'. +* [BC] Guzzle\Service\Inspector::parseDocBlock is now protected. Adding getApiParamsForClass() with cache. +* [BC] Removing Guzzle\Common\NullObject. Use https://github.com/mtdowling/NullObject if you need it. +* [BC] Removing Guzzle\Common\XmlElement. +* All commands, both dynamic and concrete, have ApiCommand objects. +* Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, then the loop exits. +* Adding checks to EntityEnclosingRequest so that empty POST files and fields are ignored. +* Making the method signature of Guzzle\Service\Builder\ServiceBuilder::factory more flexible. + +## 2.6.0 - 2012-05-15 + +* [BC] Moving Guzzle\Service\Builder to Guzzle\Service\Builder\ServiceBuilder +* [BC] Executing a Command returns the result of the command rather than the command +* [BC] Moving all HTTP parsing logic to Guzzle\Http\Parsers. Allows for faster C implementations if needed. +* [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and version in separate args. +* [BC] Moving ResourceIterator* to Guzzle\Service\Resource +* [BC] Completely refactored ResourceIterators to iterate over a cloned command object +* [BC] Moved Guzzle\Http\UriTemplate to Guzzle\Http\Parser\UriTemplate\UriTemplate +* [BC] Guzzle\Guzzle is now deprecated +* Moving Guzzle\Common\Guzzle::inject to Guzzle\Common\Collection::inject +* Adding Guzzle\Version class to give version information about Guzzle +* Adding Guzzle\Http\Utils class to provide getDefaultUserAgent() and getHttpDate() +* Adding Guzzle\Curl\CurlVersion to manage caching curl_version() data +* ServiceDescription and ServiceBuilder are now cacheable using similar configs +* Changing the format of XML and JSON service builder configs. Backwards compatible. +* Cleaned up Cookie parsing +* Trimming the default Guzzle User-Agent header +* Adding a setOnComplete() method to Commands that is called when a command completes +* Keeping track of requests that were mocked in the MockPlugin +* Fixed a caching bug in the CacheAdapterFactory +* Inspector objects can be injected into a Command object +* Refactoring a lot of code and tests to be case insensitive when dealing with headers +* Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL +* Adding the ability to set global option overrides to service builder configs +* Adding the ability to include other service builder config files from within XML and JSON files +* Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory method. + +## 2.5.0 - 2012-05-08 + +* Major performance improvements +* [BC] Simplifying Guzzle\Common\Collection. Please check to see if you are using features that are now deprecated. +* [BC] Using a custom validation system that allows a flyweight implementation for much faster validation. No longer using Symfony2 Validation component. +* [BC] No longer supporting "{{ }}" for injecting into command or UriTemplates. Use "{}" +* Added the ability to passed parameters to all requests created by a client +* Added callback functionality to the ExponentialBackoffPlugin +* Using microtime in ExponentialBackoffPlugin to allow more granular backoff strategies. +* Rewinding request stream bodies when retrying requests +* Exception is thrown when JSON response body cannot be decoded +* Added configurable magic method calls to clients and commands. This is off by default. +* Fixed a defect that added a hash to every parsed URL part +* Fixed duplicate none generation for OauthPlugin. +* Emitting an event each time a client is generated by a ServiceBuilder +* Using an ApiParams object instead of a Collection for parameters of an ApiCommand +* cache.* request parameters should be renamed to params.cache.* +* Added the ability to set arbitrary curl options on requests (disable_wire, progress, etc.). See CurlHandle. +* Added the ability to disable type validation of service descriptions +* ServiceDescriptions and ServiceBuilders are now Serializable diff --git a/vendor/guzzlehttp/guzzle/LICENSE b/vendor/guzzlehttp/guzzle/LICENSE new file mode 100644 index 0000000..fd2375d --- /dev/null +++ b/vendor/guzzlehttp/guzzle/LICENSE @@ -0,0 +1,27 @@ +The MIT License (MIT) + +Copyright (c) 2011 Michael Dowling +Copyright (c) 2012 Jeremy Lindblom +Copyright (c) 2014 Graham Campbell +Copyright (c) 2015 Márk Sági-Kazár +Copyright (c) 2015 Tobias Schultze +Copyright (c) 2016 Tobias Nyholm +Copyright (c) 2016 George Mponos + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/vendor/guzzlehttp/guzzle/README.md b/vendor/guzzlehttp/guzzle/README.md new file mode 100644 index 0000000..c96b246 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/README.md @@ -0,0 +1,94 @@ +![Guzzle](.github/logo.png?raw=true) + +# Guzzle, PHP HTTP client + +[![Latest Version](https://img.shields.io/github/release/guzzle/guzzle.svg?style=flat-square)](https://github.com/guzzle/guzzle/releases) +[![Build Status](https://img.shields.io/github/workflow/status/guzzle/guzzle/CI?label=ci%20build&style=flat-square)](https://github.com/guzzle/guzzle/actions?query=workflow%3ACI) +[![Total Downloads](https://img.shields.io/packagist/dt/guzzlehttp/guzzle.svg?style=flat-square)](https://packagist.org/packages/guzzlehttp/guzzle) + +Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and +trivial to integrate with web services. + +- Simple interface for building query strings, POST requests, streaming large + uploads, streaming large downloads, using HTTP cookies, uploading JSON data, + etc... +- Can send both synchronous and asynchronous requests using the same interface. +- Uses PSR-7 interfaces for requests, responses, and streams. This allows you + to utilize other PSR-7 compatible libraries with Guzzle. +- Supports PSR-18 allowing interoperability between other PSR-18 HTTP Clients. +- Abstracts away the underlying HTTP transport, allowing you to write + environment and transport agnostic code; i.e., no hard dependency on cURL, + PHP streams, sockets, or non-blocking event loops. +- Middleware system allows you to augment and compose client behavior. + +```php +$client = new \GuzzleHttp\Client(); +$response = $client->request('GET', 'https://api.github.com/repos/guzzle/guzzle'); + +echo $response->getStatusCode(); // 200 +echo $response->getHeaderLine('content-type'); // 'application/json; charset=utf8' +echo $response->getBody(); // '{"id": 1420053, "name": "guzzle", ...}' + +// Send an asynchronous request. +$request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); +$promise = $client->sendAsync($request)->then(function ($response) { + echo 'I completed! ' . $response->getBody(); +}); + +$promise->wait(); +``` + +## Help and docs + +We use GitHub issues only to discuss bugs and new features. For support please refer to: + +- [Documentation](https://docs.guzzlephp.org) +- [Stack Overflow](https://stackoverflow.com/questions/tagged/guzzle) +- [#guzzle](https://app.slack.com/client/T0D2S9JCT/CE6UAAKL4) channel on [PHP-HTTP Slack](http://slack.httplug.io/) +- [Gitter](https://gitter.im/guzzle/guzzle) + + +## Installing Guzzle + +The recommended way to install Guzzle is through +[Composer](https://getcomposer.org/). + +```bash +composer require guzzlehttp/guzzle +``` + + +## Version Guidance + +| Version | Status | Packagist | Namespace | Repo | Docs | PSR-7 | PHP Version | +|---------|----------------|---------------------|--------------|---------------------|---------------------|-------|--------------| +| 3.x | EOL | `guzzle/guzzle` | `Guzzle` | [v3][guzzle-3-repo] | [v3][guzzle-3-docs] | No | >=5.3.3,<7.0 | +| 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 | + +[guzzle-3-repo]: https://github.com/guzzle/guzzle3 +[guzzle-4-repo]: https://github.com/guzzle/guzzle/tree/4.x +[guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3 +[guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5 +[guzzle-7-repo]: https://github.com/guzzle/guzzle +[guzzle-3-docs]: http://guzzle3.readthedocs.org +[guzzle-5-docs]: http://docs.guzzlephp.org/en/5.3/ +[guzzle-6-docs]: http://docs.guzzlephp.org/en/6.5/ +[guzzle-7-docs]: http://docs.guzzlephp.org/en/latest/ + + +## Security + +If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/guzzle/security/policy) for more information. + +## License + +Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information. + +## For Enterprise + +Available as part of the Tidelift Subscription + +The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-guzzle?utm_source=packagist-guzzlehttp-guzzle&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) diff --git a/vendor/guzzlehttp/guzzle/UPGRADING.md b/vendor/guzzlehttp/guzzle/UPGRADING.md new file mode 100644 index 0000000..45417a7 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/UPGRADING.md @@ -0,0 +1,1253 @@ +Guzzle Upgrade Guide +==================== + +6.0 to 7.0 +---------- + +In order to take advantage of the new features of PHP, Guzzle dropped the support +of PHP 5. The minimum supported PHP version is now PHP 7.2. Type hints and return +types for functions and methods have been added wherever possible. + +Please make sure: +- You are calling a function or a method with the correct type. +- If you extend a class of Guzzle; update all signatures on methods you override. + +#### Other backwards compatibility breaking changes + +- Class `GuzzleHttp\UriTemplate` is removed. +- Class `GuzzleHttp\Exception\SeekException` is removed. +- Classes `GuzzleHttp\Exception\BadResponseException`, `GuzzleHttp\Exception\ClientException`, + `GuzzleHttp\Exception\ServerException` can no longer be initialized with an empty + Response as argument. +- Class `GuzzleHttp\Exception\ConnectException` now extends `GuzzleHttp\Exception\TransferException` + instead of `GuzzleHttp\Exception\RequestException`. +- Function `GuzzleHttp\Exception\ConnectException::getResponse()` is removed. +- Function `GuzzleHttp\Exception\ConnectException::hasResponse()` is removed. +- Constant `GuzzleHttp\ClientInterface::VERSION` is removed. Added `GuzzleHttp\ClientInterface::MAJOR_VERSION` instead. +- Function `GuzzleHttp\Exception\RequestException::getResponseBodySummary` is removed. + Use `\GuzzleHttp\Psr7\get_message_body_summary` as an alternative. +- Function `GuzzleHttp\Cookie\CookieJar::getCookieValue` is removed. +- Request option `exception` is removed. Please use `http_errors`. +- Request option `save_to` is removed. Please use `sink`. +- Pool option `pool_size` is removed. Please use `concurrency`. +- We now look for environment variables in the `$_SERVER` super global, due to thread safety issues with `getenv`. We continue to fallback to `getenv` in CLI environments, for maximum compatibility. +- The `get`, `head`, `put`, `post`, `patch`, `delete`, `getAsync`, `headAsync`, `putAsync`, `postAsync`, `patchAsync`, and `deleteAsync` methods are now implemented as genuine methods on `GuzzleHttp\Client`, with strong typing. The original `__call` implementation remains unchanged for now, for maximum backwards compatibility, but won't be invoked under normal operation. +- The `log` middleware will log the errors with level `error` instead of `notice` +- Support for international domain names (IDN) is now disabled by default, and enabling it requires installing ext-intl, linked against a modern version of the C library (ICU 4.6 or higher). + +#### Native functions calls + +All internal native functions calls of Guzzle are now prefixed with a slash. This +change makes it impossible for method overloading by other libraries or applications. +Example: + +```php +// Before: +curl_version(); + +// After: +\curl_version(); +``` + +For the full diff you can check [here](https://github.com/guzzle/guzzle/compare/6.5.4..master). + +5.0 to 6.0 +---------- + +Guzzle now uses [PSR-7](https://www.php-fig.org/psr/psr-7/) for HTTP messages. +Due to the fact that these messages are immutable, this prompted a refactoring +of Guzzle to use a middleware based system rather than an event system. Any +HTTP message interaction (e.g., `GuzzleHttp\Message\Request`) need to be +updated to work with the new immutable PSR-7 request and response objects. Any +event listeners or subscribers need to be updated to become middleware +functions that wrap handlers (or are injected into a +`GuzzleHttp\HandlerStack`). + +- Removed `GuzzleHttp\BatchResults` +- Removed `GuzzleHttp\Collection` +- Removed `GuzzleHttp\HasDataTrait` +- Removed `GuzzleHttp\ToArrayInterface` +- The `guzzlehttp/streams` dependency has been removed. Stream functionality + is now present in the `GuzzleHttp\Psr7` namespace provided by the + `guzzlehttp/psr7` package. +- Guzzle no longer uses ReactPHP promises and now uses the + `guzzlehttp/promises` library. We use a custom promise library for three + significant reasons: + 1. React promises (at the time of writing this) are recursive. Promise + chaining and promise resolution will eventually blow the stack. Guzzle + promises are not recursive as they use a sort of trampolining technique. + Note: there has been movement in the React project to modify promises to + no longer utilize recursion. + 2. Guzzle needs to have the ability to synchronously block on a promise to + wait for a result. Guzzle promises allows this functionality (and does + not require the use of recursion). + 3. Because we need to be able to wait on a result, doing so using React + promises requires wrapping react promises with RingPHP futures. This + overhead is no longer needed, reducing stack sizes, reducing complexity, + and improving performance. +- `GuzzleHttp\Mimetypes` has been moved to a function in + `GuzzleHttp\Psr7\mimetype_from_extension` and + `GuzzleHttp\Psr7\mimetype_from_filename`. +- `GuzzleHttp\Query` and `GuzzleHttp\QueryParser` have been removed. Query + strings must now be passed into request objects as strings, or provided to + the `query` request option when creating requests with clients. The `query` + option uses PHP's `http_build_query` to convert an array to a string. If you + need a different serialization technique, you will need to pass the query + string in as a string. There are a couple helper functions that will make + working with query strings easier: `GuzzleHttp\Psr7\parse_query` and + `GuzzleHttp\Psr7\build_query`. +- Guzzle no longer has a dependency on RingPHP. Due to the use of a middleware + system based on PSR-7, using RingPHP and it's middleware system as well adds + more complexity than the benefits it provides. All HTTP handlers that were + present in RingPHP have been modified to work directly with PSR-7 messages + and placed in the `GuzzleHttp\Handler` namespace. This significantly reduces + complexity in Guzzle, removes a dependency, and improves performance. RingPHP + will be maintained for Guzzle 5 support, but will no longer be a part of + Guzzle 6. +- As Guzzle now uses a middleware based systems the event system and RingPHP + integration has been removed. Note: while the event system has been removed, + it is possible to add your own type of event system that is powered by the + middleware system. + - Removed the `Event` namespace. + - Removed the `Subscriber` namespace. + - Removed `Transaction` class + - Removed `RequestFsm` + - Removed `RingBridge` + - `GuzzleHttp\Subscriber\Cookie` is now provided by + `GuzzleHttp\Middleware::cookies` + - `GuzzleHttp\Subscriber\HttpError` is now provided by + `GuzzleHttp\Middleware::httpError` + - `GuzzleHttp\Subscriber\History` is now provided by + `GuzzleHttp\Middleware::history` + - `GuzzleHttp\Subscriber\Mock` is now provided by + `GuzzleHttp\Handler\MockHandler` + - `GuzzleHttp\Subscriber\Prepare` is now provided by + `GuzzleHttp\PrepareBodyMiddleware` + - `GuzzleHttp\Subscriber\Redirect` is now provided by + `GuzzleHttp\RedirectMiddleware` +- Guzzle now uses `Psr\Http\Message\UriInterface` (implements in + `GuzzleHttp\Psr7\Uri`) for URI support. `GuzzleHttp\Url` is now gone. +- Static functions in `GuzzleHttp\Utils` have been moved to namespaced + functions under the `GuzzleHttp` namespace. This requires either a Composer + based autoloader or you to include functions.php. +- `GuzzleHttp\ClientInterface::getDefaultOption` has been renamed to + `GuzzleHttp\ClientInterface::getConfig`. +- `GuzzleHttp\ClientInterface::setDefaultOption` has been removed. +- The `json` and `xml` methods of response objects has been removed. With the + migration to strictly adhering to PSR-7 as the interface for Guzzle messages, + adding methods to message interfaces would actually require Guzzle messages + to extend from PSR-7 messages rather then work with them directly. + +## Migrating to middleware + +The change to PSR-7 unfortunately required significant refactoring to Guzzle +due to the fact that PSR-7 messages are immutable. Guzzle 5 relied on an event +system from plugins. The event system relied on mutability of HTTP messages and +side effects in order to work. With immutable messages, you have to change your +workflow to become more about either returning a value (e.g., functional +middlewares) or setting a value on an object. Guzzle v6 has chosen the +functional middleware approach. + +Instead of using the event system to listen for things like the `before` event, +you now create a stack based middleware function that intercepts a request on +the way in and the promise of the response on the way out. This is a much +simpler and more predictable approach than the event system and works nicely +with PSR-7 middleware. Due to the use of promises, the middleware system is +also asynchronous. + +v5: + +```php +use GuzzleHttp\Event\BeforeEvent; +$client = new GuzzleHttp\Client(); +// Get the emitter and listen to the before event. +$client->getEmitter()->on('before', function (BeforeEvent $e) { + // Guzzle v5 events relied on mutation + $e->getRequest()->setHeader('X-Foo', 'Bar'); +}); +``` + +v6: + +In v6, you can modify the request before it is sent using the `mapRequest` +middleware. The idiomatic way in v6 to modify the request/response lifecycle is +to setup a handler middleware stack up front and inject the handler into a +client. + +```php +use GuzzleHttp\Middleware; +// Create a handler stack that has all of the default middlewares attached +$handler = GuzzleHttp\HandlerStack::create(); +// Push the handler onto the handler stack +$handler->push(Middleware::mapRequest(function (RequestInterface $request) { + // Notice that we have to return a request object + return $request->withHeader('X-Foo', 'Bar'); +})); +// Inject the handler into the client +$client = new GuzzleHttp\Client(['handler' => $handler]); +``` + +## POST Requests + +This version added the [`form_params`](http://guzzle.readthedocs.org/en/latest/request-options.html#form_params) +and `multipart` request options. `form_params` is an associative array of +strings or array of strings and is used to serialize an +`application/x-www-form-urlencoded` POST request. The +[`multipart`](http://guzzle.readthedocs.org/en/latest/request-options.html#multipart) +option is now used to send a multipart/form-data POST request. + +`GuzzleHttp\Post\PostFile` has been removed. Use the `multipart` option to add +POST files to a multipart/form-data request. + +The `body` option no longer accepts an array to send POST requests. Please use +`multipart` or `form_params` instead. + +The `base_url` option has been renamed to `base_uri`. + +4.x to 5.0 +---------- + +## Rewritten Adapter Layer + +Guzzle now uses [RingPHP](http://ringphp.readthedocs.org/en/latest) to send +HTTP requests. The `adapter` option in a `GuzzleHttp\Client` constructor +is still supported, but it has now been renamed to `handler`. Instead of +passing a `GuzzleHttp\Adapter\AdapterInterface`, you must now pass a PHP +`callable` that follows the RingPHP specification. + +## Removed Fluent Interfaces + +[Fluent interfaces were removed](https://ocramius.github.io/blog/fluent-interfaces-are-evil/) +from the following classes: + +- `GuzzleHttp\Collection` +- `GuzzleHttp\Url` +- `GuzzleHttp\Query` +- `GuzzleHttp\Post\PostBody` +- `GuzzleHttp\Cookie\SetCookie` + +## Removed functions.php + +Removed "functions.php", so that Guzzle is truly PSR-4 compliant. The following +functions can be used as replacements. + +- `GuzzleHttp\json_decode` -> `GuzzleHttp\Utils::jsonDecode` +- `GuzzleHttp\get_path` -> `GuzzleHttp\Utils::getPath` +- `GuzzleHttp\Utils::setPath` -> `GuzzleHttp\set_path` +- `GuzzleHttp\Pool::batch` -> `GuzzleHttp\batch`. This function is, however, + deprecated in favor of using `GuzzleHttp\Pool::batch()`. + +The "procedural" global client has been removed with no replacement (e.g., +`GuzzleHttp\get()`, `GuzzleHttp\post()`, etc.). Use a `GuzzleHttp\Client` +object as a replacement. + +## `throwImmediately` has been removed + +The concept of "throwImmediately" has been removed from exceptions and error +events. This control mechanism was used to stop a transfer of concurrent +requests from completing. This can now be handled by throwing the exception or +by cancelling a pool of requests or each outstanding future request +individually. + +## headers event has been removed + +Removed the "headers" event. This event was only useful for changing the +body a response once the headers of the response were known. You can implement +a similar behavior in a number of ways. One example might be to use a +FnStream that has access to the transaction being sent. For example, when the +first byte is written, you could check if the response headers match your +expectations, and if so, change the actual stream body that is being +written to. + +## Updates to HTTP Messages + +Removed the `asArray` parameter from +`GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header +value as an array, then use the newly added `getHeaderAsArray()` method of +`MessageInterface`. This change makes the Guzzle interfaces compatible with +the PSR-7 interfaces. + +3.x to 4.0 +---------- + +## Overarching changes: + +- Now requires PHP 5.4 or greater. +- No longer requires cURL to send requests. +- Guzzle no longer wraps every exception it throws. Only exceptions that are + recoverable are now wrapped by Guzzle. +- Various namespaces have been removed or renamed. +- No longer requiring the Symfony EventDispatcher. A custom event dispatcher + based on the Symfony EventDispatcher is + now utilized in `GuzzleHttp\Event\EmitterInterface` (resulting in significant + speed and functionality improvements). + +Changes per Guzzle 3.x namespace are described below. + +## Batch + +The `Guzzle\Batch` namespace has been removed. This is best left to +third-parties to implement on top of Guzzle's core HTTP library. + +## Cache + +The `Guzzle\Cache` namespace has been removed. (Todo: No suitable replacement +has been implemented yet, but hoping to utilize a PSR cache interface). + +## Common + +- Removed all of the wrapped exceptions. It's better to use the standard PHP + library for unrecoverable exceptions. +- `FromConfigInterface` has been removed. +- `Guzzle\Common\Version` has been removed. The VERSION constant can be found + at `GuzzleHttp\ClientInterface::VERSION`. + +### Collection + +- `getAll` has been removed. Use `toArray` to convert a collection to an array. +- `inject` has been removed. +- `keySearch` has been removed. +- `getPath` no longer supports wildcard expressions. Use something better like + JMESPath for this. +- `setPath` now supports appending to an existing array via the `[]` notation. + +### Events + +Guzzle no longer requires Symfony's EventDispatcher component. Guzzle now uses +`GuzzleHttp\Event\Emitter`. + +- `Symfony\Component\EventDispatcher\EventDispatcherInterface` is replaced by + `GuzzleHttp\Event\EmitterInterface`. +- `Symfony\Component\EventDispatcher\EventDispatcher` is replaced by + `GuzzleHttp\Event\Emitter`. +- `Symfony\Component\EventDispatcher\Event` is replaced by + `GuzzleHttp\Event\Event`, and Guzzle now has an EventInterface in + `GuzzleHttp\Event\EventInterface`. +- `AbstractHasDispatcher` has moved to a trait, `HasEmitterTrait`, and + `HasDispatcherInterface` has moved to `HasEmitterInterface`. Retrieving the + event emitter of a request, client, etc. now uses the `getEmitter` method + rather than the `getDispatcher` method. + +#### Emitter + +- Use the `once()` method to add a listener that automatically removes itself + the first time it is invoked. +- Use the `listeners()` method to retrieve a list of event listeners rather than + the `getListeners()` method. +- Use `emit()` instead of `dispatch()` to emit an event from an emitter. +- Use `attach()` instead of `addSubscriber()` and `detach()` instead of + `removeSubscriber()`. + +```php +$mock = new Mock(); +// 3.x +$request->getEventDispatcher()->addSubscriber($mock); +$request->getEventDispatcher()->removeSubscriber($mock); +// 4.x +$request->getEmitter()->attach($mock); +$request->getEmitter()->detach($mock); +``` + +Use the `on()` method to add a listener rather than the `addListener()` method. + +```php +// 3.x +$request->getEventDispatcher()->addListener('foo', function (Event $event) { /* ... */ } ); +// 4.x +$request->getEmitter()->on('foo', function (Event $event, $name) { /* ... */ } ); +``` + +## Http + +### General changes + +- The cacert.pem certificate has been moved to `src/cacert.pem`. +- Added the concept of adapters that are used to transfer requests over the + wire. +- Simplified the event system. +- Sending requests in parallel is still possible, but batching is no longer a + concept of the HTTP layer. Instead, you must use the `complete` and `error` + events to asynchronously manage parallel request transfers. +- `Guzzle\Http\Url` has moved to `GuzzleHttp\Url`. +- `Guzzle\Http\QueryString` has moved to `GuzzleHttp\Query`. +- QueryAggregators have been rewritten so that they are simply callable + functions. +- `GuzzleHttp\StaticClient` has been removed. Use the functions provided in + `functions.php` for an easy to use static client instance. +- Exceptions in `GuzzleHttp\Exception` have been updated to all extend from + `GuzzleHttp\Exception\TransferException`. + +### Client + +Calling methods like `get()`, `post()`, `head()`, etc. no longer create and +return a request, but rather creates a request, sends the request, and returns +the response. + +```php +// 3.0 +$request = $client->get('/'); +$response = $request->send(); + +// 4.0 +$response = $client->get('/'); + +// or, to mirror the previous behavior +$request = $client->createRequest('GET', '/'); +$response = $client->send($request); +``` + +`GuzzleHttp\ClientInterface` has changed. + +- The `send` method no longer accepts more than one request. Use `sendAll` to + send multiple requests in parallel. +- `setUserAgent()` has been removed. Use a default request option instead. You + could, for example, do something like: + `$client->setConfig('defaults/headers/User-Agent', 'Foo/Bar ' . $client::getDefaultUserAgent())`. +- `setSslVerification()` has been removed. Use default request options instead, + like `$client->setConfig('defaults/verify', true)`. + +`GuzzleHttp\Client` has changed. + +- The constructor now accepts only an associative array. You can include a + `base_url` string or array to use a URI template as the base URL of a client. + You can also specify a `defaults` key that is an associative array of default + request options. You can pass an `adapter` to use a custom adapter, + `batch_adapter` to use a custom adapter for sending requests in parallel, or + a `message_factory` to change the factory used to create HTTP requests and + responses. +- The client no longer emits a `client.create_request` event. +- Creating requests with a client no longer automatically utilize a URI + template. You must pass an array into a creational method (e.g., + `createRequest`, `get`, `put`, etc.) in order to expand a URI template. + +### Messages + +Messages no longer have references to their counterparts (i.e., a request no +longer has a reference to it's response, and a response no loger has a +reference to its request). This association is now managed through a +`GuzzleHttp\Adapter\TransactionInterface` object. You can get references to +these transaction objects using request events that are emitted over the +lifecycle of a request. + +#### Requests with a body + +- `GuzzleHttp\Message\EntityEnclosingRequest` and + `GuzzleHttp\Message\EntityEnclosingRequestInterface` have been removed. The + separation between requests that contain a body and requests that do not + contain a body has been removed, and now `GuzzleHttp\Message\RequestInterface` + handles both use cases. +- Any method that previously accepts a `GuzzleHttp\Response` object now accept a + `GuzzleHttp\Message\ResponseInterface`. +- `GuzzleHttp\Message\RequestFactoryInterface` has been renamed to + `GuzzleHttp\Message\MessageFactoryInterface`. This interface is used to create + both requests and responses and is implemented in + `GuzzleHttp\Message\MessageFactory`. +- POST field and file methods have been removed from the request object. You + must now use the methods made available to `GuzzleHttp\Post\PostBodyInterface` + to control the format of a POST body. Requests that are created using a + standard `GuzzleHttp\Message\MessageFactoryInterface` will automatically use + a `GuzzleHttp\Post\PostBody` body if the body was passed as an array or if + the method is POST and no body is provided. + +```php +$request = $client->createRequest('POST', '/'); +$request->getBody()->setField('foo', 'bar'); +$request->getBody()->addFile(new PostFile('file_key', fopen('/path/to/content', 'r'))); +``` + +#### Headers + +- `GuzzleHttp\Message\Header` has been removed. Header values are now simply + represented by an array of values or as a string. Header values are returned + as a string by default when retrieving a header value from a message. You can + pass an optional argument of `true` to retrieve a header value as an array + of strings instead of a single concatenated string. +- `GuzzleHttp\PostFile` and `GuzzleHttp\PostFileInterface` have been moved to + `GuzzleHttp\Post`. This interface has been simplified and now allows the + addition of arbitrary headers. +- Custom headers like `GuzzleHttp\Message\Header\Link` have been removed. Most + of the custom headers are now handled separately in specific + subscribers/plugins, and `GuzzleHttp\Message\HeaderValues::parseParams()` has + been updated to properly handle headers that contain parameters (like the + `Link` header). + +#### Responses + +- `GuzzleHttp\Message\Response::getInfo()` and + `GuzzleHttp\Message\Response::setInfo()` have been removed. Use the event + system to retrieve this type of information. +- `GuzzleHttp\Message\Response::getRawHeaders()` has been removed. +- `GuzzleHttp\Message\Response::getMessage()` has been removed. +- `GuzzleHttp\Message\Response::calculateAge()` and other cache specific + methods have moved to the CacheSubscriber. +- Header specific helper functions like `getContentMd5()` have been removed. + Just use `getHeader('Content-MD5')` instead. +- `GuzzleHttp\Message\Response::setRequest()` and + `GuzzleHttp\Message\Response::getRequest()` have been removed. Use the event + system to work with request and response objects as a transaction. +- `GuzzleHttp\Message\Response::getRedirectCount()` has been removed. Use the + Redirect subscriber instead. +- `GuzzleHttp\Message\Response::isSuccessful()` and other related methods have + been removed. Use `getStatusCode()` instead. + +#### Streaming responses + +Streaming requests can now be created by a client directly, returning a +`GuzzleHttp\Message\ResponseInterface` object that contains a body stream +referencing an open PHP HTTP stream. + +```php +// 3.0 +use Guzzle\Stream\PhpStreamRequestFactory; +$request = $client->get('/'); +$factory = new PhpStreamRequestFactory(); +$stream = $factory->fromRequest($request); +$data = $stream->read(1024); + +// 4.0 +$response = $client->get('/', ['stream' => true]); +// Read some data off of the stream in the response body +$data = $response->getBody()->read(1024); +``` + +#### Redirects + +The `configureRedirects()` method has been removed in favor of a +`allow_redirects` request option. + +```php +// Standard redirects with a default of a max of 5 redirects +$request = $client->createRequest('GET', '/', ['allow_redirects' => true]); + +// Strict redirects with a custom number of redirects +$request = $client->createRequest('GET', '/', [ + 'allow_redirects' => ['max' => 5, 'strict' => true] +]); +``` + +#### EntityBody + +EntityBody interfaces and classes have been removed or moved to +`GuzzleHttp\Stream`. All classes and interfaces that once required +`GuzzleHttp\EntityBodyInterface` now require +`GuzzleHttp\Stream\StreamInterface`. Creating a new body for a request no +longer uses `GuzzleHttp\EntityBody::factory` but now uses +`GuzzleHttp\Stream\Stream::factory` or even better: +`GuzzleHttp\Stream\create()`. + +- `Guzzle\Http\EntityBodyInterface` is now `GuzzleHttp\Stream\StreamInterface` +- `Guzzle\Http\EntityBody` is now `GuzzleHttp\Stream\Stream` +- `Guzzle\Http\CachingEntityBody` is now `GuzzleHttp\Stream\CachingStream` +- `Guzzle\Http\ReadLimitEntityBody` is now `GuzzleHttp\Stream\LimitStream` +- `Guzzle\Http\IoEmittyinEntityBody` has been removed. + +#### Request lifecycle events + +Requests previously submitted a large number of requests. The number of events +emitted over the lifecycle of a request has been significantly reduced to make +it easier to understand how to extend the behavior of a request. All events +emitted during the lifecycle of a request now emit a custom +`GuzzleHttp\Event\EventInterface` object that contains context providing +methods and a way in which to modify the transaction at that specific point in +time (e.g., intercept the request and set a response on the transaction). + +- `request.before_send` has been renamed to `before` and now emits a + `GuzzleHttp\Event\BeforeEvent` +- `request.complete` has been renamed to `complete` and now emits a + `GuzzleHttp\Event\CompleteEvent`. +- `request.sent` has been removed. Use `complete`. +- `request.success` has been removed. Use `complete`. +- `error` is now an event that emits a `GuzzleHttp\Event\ErrorEvent`. +- `request.exception` has been removed. Use `error`. +- `request.receive.status_line` has been removed. +- `curl.callback.progress` has been removed. Use a custom `StreamInterface` to + maintain a status update. +- `curl.callback.write` has been removed. Use a custom `StreamInterface` to + intercept writes. +- `curl.callback.read` has been removed. Use a custom `StreamInterface` to + intercept reads. + +`headers` is a new event that is emitted after the response headers of a +request have been received before the body of the response is downloaded. This +event emits a `GuzzleHttp\Event\HeadersEvent`. + +You can intercept a request and inject a response using the `intercept()` event +of a `GuzzleHttp\Event\BeforeEvent`, `GuzzleHttp\Event\CompleteEvent`, and +`GuzzleHttp\Event\ErrorEvent` event. + +See: http://docs.guzzlephp.org/en/latest/events.html + +## Inflection + +The `Guzzle\Inflection` namespace has been removed. This is not a core concern +of Guzzle. + +## Iterator + +The `Guzzle\Iterator` namespace has been removed. + +- `Guzzle\Iterator\AppendIterator`, `Guzzle\Iterator\ChunkedIterator`, and + `Guzzle\Iterator\MethodProxyIterator` are nice, but not a core requirement of + Guzzle itself. +- `Guzzle\Iterator\FilterIterator` is no longer needed because an equivalent + class is shipped with PHP 5.4. +- `Guzzle\Iterator\MapIterator` is not really needed when using PHP 5.5 because + it's easier to just wrap an iterator in a generator that maps values. + +For a replacement of these iterators, see https://github.com/nikic/iter + +## Log + +The LogPlugin has moved to https://github.com/guzzle/log-subscriber. The +`Guzzle\Log` namespace has been removed. Guzzle now relies on +`Psr\Log\LoggerInterface` for all logging. The MessageFormatter class has been +moved to `GuzzleHttp\Subscriber\Log\Formatter`. + +## Parser + +The `Guzzle\Parser` namespace has been removed. This was previously used to +make it possible to plug in custom parsers for cookies, messages, URI +templates, and URLs; however, this level of complexity is not needed in Guzzle +so it has been removed. + +- Cookie: Cookie parsing logic has been moved to + `GuzzleHttp\Cookie\SetCookie::fromString`. +- Message: Message parsing logic for both requests and responses has been moved + to `GuzzleHttp\Message\MessageFactory::fromMessage`. Message parsing is only + used in debugging or deserializing messages, so it doesn't make sense for + Guzzle as a library to add this level of complexity to parsing messages. +- UriTemplate: URI template parsing has been moved to + `GuzzleHttp\UriTemplate`. The Guzzle library will automatically use the PECL + URI template library if it is installed. +- Url: URL parsing is now performed in `GuzzleHttp\Url::fromString` (previously + it was `Guzzle\Http\Url::factory()`). If custom URL parsing is necessary, + then developers are free to subclass `GuzzleHttp\Url`. + +## Plugin + +The `Guzzle\Plugin` namespace has been renamed to `GuzzleHttp\Subscriber`. +Several plugins are shipping with the core Guzzle library under this namespace. + +- `GuzzleHttp\Subscriber\Cookie`: Replaces the old CookiePlugin. Cookie jar + code has moved to `GuzzleHttp\Cookie`. +- `GuzzleHttp\Subscriber\History`: Replaces the old HistoryPlugin. +- `GuzzleHttp\Subscriber\HttpError`: Throws errors when a bad HTTP response is + received. +- `GuzzleHttp\Subscriber\Mock`: Replaces the old MockPlugin. +- `GuzzleHttp\Subscriber\Prepare`: Prepares the body of a request just before + sending. This subscriber is attached to all requests by default. +- `GuzzleHttp\Subscriber\Redirect`: Replaces the RedirectPlugin. + +The following plugins have been removed (third-parties are free to re-implement +these if needed): + +- `GuzzleHttp\Plugin\Async` has been removed. +- `GuzzleHttp\Plugin\CurlAuth` has been removed. +- `GuzzleHttp\Plugin\ErrorResponse\ErrorResponsePlugin` has been removed. This + functionality should instead be implemented with event listeners that occur + after normal response parsing occurs in the guzzle/command package. + +The following plugins are not part of the core Guzzle package, but are provided +in separate repositories: + +- `Guzzle\Http\Plugin\BackoffPlugin` has been rewritten to be much simpler + to build custom retry policies using simple functions rather than various + chained classes. See: https://github.com/guzzle/retry-subscriber +- `Guzzle\Http\Plugin\Cache\CachePlugin` has moved to + https://github.com/guzzle/cache-subscriber +- `Guzzle\Http\Plugin\Log\LogPlugin` has moved to + https://github.com/guzzle/log-subscriber +- `Guzzle\Http\Plugin\Md5\Md5Plugin` has moved to + https://github.com/guzzle/message-integrity-subscriber +- `Guzzle\Http\Plugin\Mock\MockPlugin` has moved to + `GuzzleHttp\Subscriber\MockSubscriber`. +- `Guzzle\Http\Plugin\Oauth\OauthPlugin` has moved to + https://github.com/guzzle/oauth-subscriber + +## Service + +The service description layer of Guzzle has moved into two separate packages: + +- http://github.com/guzzle/command Provides a high level abstraction over web + services by representing web service operations using commands. +- http://github.com/guzzle/guzzle-services Provides an implementation of + guzzle/command that provides request serialization and response parsing using + Guzzle service descriptions. + +## Stream + +Stream have moved to a separate package available at +https://github.com/guzzle/streams. + +`Guzzle\Stream\StreamInterface` has been given a large update to cleanly take +on the responsibilities of `Guzzle\Http\EntityBody` and +`Guzzle\Http\EntityBodyInterface` now that they have been removed. The number +of methods implemented by the `StreamInterface` has been drastically reduced to +allow developers to more easily extend and decorate stream behavior. + +## Removed methods from StreamInterface + +- `getStream` and `setStream` have been removed to better encapsulate streams. +- `getMetadata` and `setMetadata` have been removed in favor of + `GuzzleHttp\Stream\MetadataStreamInterface`. +- `getWrapper`, `getWrapperData`, `getStreamType`, and `getUri` have all been + removed. This data is accessible when + using streams that implement `GuzzleHttp\Stream\MetadataStreamInterface`. +- `rewind` has been removed. Use `seek(0)` for a similar behavior. + +## Renamed methods + +- `detachStream` has been renamed to `detach`. +- `feof` has been renamed to `eof`. +- `ftell` has been renamed to `tell`. +- `readLine` has moved from an instance method to a static class method of + `GuzzleHttp\Stream\Stream`. + +## Metadata streams + +`GuzzleHttp\Stream\MetadataStreamInterface` has been added to denote streams +that contain additional metadata accessible via `getMetadata()`. +`GuzzleHttp\Stream\StreamInterface::getMetadata` and +`GuzzleHttp\Stream\StreamInterface::setMetadata` have been removed. + +## StreamRequestFactory + +The entire concept of the StreamRequestFactory has been removed. The way this +was used in Guzzle 3 broke the actual interface of sending streaming requests +(instead of getting back a Response, you got a StreamInterface). Streaming +PHP requests are now implemented through the `GuzzleHttp\Adapter\StreamAdapter`. + +3.6 to 3.7 +---------- + +### Deprecations + +- You can now enable E_USER_DEPRECATED warnings to see if you are using any deprecated methods.: + +```php +\Guzzle\Common\Version::$emitWarnings = true; +``` + +The following APIs and options have been marked as deprecated: + +- Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use `$request->getResponseBody()->isRepeatable()` instead. +- Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +- Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use `Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. +- Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead. +- Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead. +- Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated +- Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client. +- Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8. +- Marked `Guzzle\Common\Collection::inject()` as deprecated. +- Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use + `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest|NTLM|Any'));` or + `$client->setDefaultOption('auth', array('user', 'pass', 'Basic|Digest|NTLM|Any'));` + +3.7 introduces `request.options` as a parameter for a client configuration and as an optional argument to all creational +request methods. When paired with a client's configuration settings, these options allow you to specify default settings +for various aspects of a request. Because these options make other previous configuration options redundant, several +configuration options and methods of a client and AbstractCommand have been deprecated. + +- Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use `$client->getDefaultOption('headers')`. +- Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use `$client->setDefaultOption('headers/{header_name}', 'value')`. +- Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use `$client->setDefaultOption('params/{param_name}', 'value')` +- Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. These will work through Guzzle 4.0 + + $command = $client->getCommand('foo', array( + 'command.headers' => array('Test' => '123'), + 'command.response_body' => '/path/to/file' + )); + + // Should be changed to: + + $command = $client->getCommand('foo', array( + 'command.request_options' => array( + 'headers' => array('Test' => '123'), + 'save_as' => '/path/to/file' + ) + )); + +### Interface changes + +Additions and changes (you will need to update any implementations or subclasses you may have created): + +- Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`: + createRequest, head, delete, put, patch, post, options, prepareRequest +- Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()` +- Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface` +- Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to + `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a + resource, string, or EntityBody into the $options parameter to specify the download location of the response. +- Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a + default `array()` +- Added `Guzzle\Stream\StreamInterface::isRepeatable` +- Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods. + +The following methods were removed from interfaces. All of these methods are still available in the concrete classes +that implement them, but you should update your code to use alternative methods: + +- Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use + `$client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or + `$client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))` or + `$client->setDefaultOption('headers/{header_name}', 'value')`. or + `$client->setDefaultOption('headers', array('header_name' => 'value'))`. +- Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use `$client->getConfig()->getPath('request.options/headers')`. +- Removed `Guzzle\Http\ClientInterface::expandTemplate()`. This is an implementation detail. +- Removed `Guzzle\Http\ClientInterface::setRequestFactory()`. This is an implementation detail. +- Removed `Guzzle\Http\ClientInterface::getCurlMulti()`. This is a very specific implementation detail. +- Removed `Guzzle\Http\Message\RequestInterface::canCache`. Use the CachePlugin. +- Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect`. Use the HistoryPlugin. +- Removed `Guzzle\Http\Message\RequestInterface::isRedirect`. Use the HistoryPlugin. + +### Cache plugin breaking changes + +- CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a + CacheStorageInterface. These two objects and interface will be removed in a future version. +- Always setting X-cache headers on cached responses +- Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin +- `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface + $request, Response $response);` +- `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);` +- `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);` +- Added `CacheStorageInterface::purge($url)` +- `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin + $plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache, + CanCacheStrategyInterface $canCache = null)` +- Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)` + +3.5 to 3.6 +---------- + +* Mixed casing of headers are now forced to be a single consistent casing across all values for that header. +* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution +* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader(). + For example, setHeader() first removes the header using unset on a HeaderCollection and then calls addHeader(). + Keeping the Host header and URL host in sync is now handled by overriding the addHeader method in Request. +* Specific header implementations can be created for complex headers. When a message creates a header, it uses a + HeaderFactory which can map specific headers to specific header classes. There is now a Link header and + CacheControl header implementation. +* Moved getLinks() from Response to just be used on a Link header object. + +If you previously relied on Guzzle\Http\Message\Header::raw(), then you will need to update your code to use the +HeaderInterface (e.g. toArray(), getAll(), etc.). + +### Interface changes + +* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate +* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti() +* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in + Guzzle\Http\Curl\RequestMediator +* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string. +* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface +* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders() + +### Removed deprecated functions + +* Removed Guzzle\Parser\ParserRegister::get(). Use getParser() +* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser(). + +### Deprecations + +* The ability to case-insensitively search for header values +* Guzzle\Http\Message\Header::hasExactHeader +* Guzzle\Http\Message\Header::raw. Use getAll() +* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object + instead. + +### Other changes + +* All response header helper functions return a string rather than mixing Header objects and strings inconsistently +* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle + directly via interfaces +* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist + but are a no-op until removed. +* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a + `Guzzle\Service\Command\ArrayCommandInterface`. +* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response + on a request while the request is still being transferred +* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess + +3.3 to 3.4 +---------- + +Base URLs of a client now follow the rules of https://tools.ietf.org/html/rfc3986#section-5.2.2 when merging URLs. + +3.2 to 3.3 +---------- + +### Response::getEtag() quote stripping removed + +`Guzzle\Http\Message\Response::getEtag()` no longer strips quotes around the ETag response header + +### Removed `Guzzle\Http\Utils` + +The `Guzzle\Http\Utils` class was removed. This class was only used for testing. + +### Stream wrapper and type + +`Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getStreamType()` are no longer converted to lowercase. + +### curl.emit_io became emit_io + +Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using the +'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' + +3.1 to 3.2 +---------- + +### CurlMulti is no longer reused globally + +Before 3.2, the same CurlMulti object was reused globally for each client. This can cause issue where plugins added +to a single client can pollute requests dispatched from other clients. + +If you still wish to reuse the same CurlMulti object with each client, then you can add a listener to the +ServiceBuilder's `service_builder.create_client` event to inject a custom CurlMulti object into each client as it is +created. + +```php +$multi = new Guzzle\Http\Curl\CurlMulti(); +$builder = Guzzle\Service\Builder\ServiceBuilder::factory('/path/to/config.json'); +$builder->addListener('service_builder.create_client', function ($event) use ($multi) { + $event['client']->setCurlMulti($multi); +} +}); +``` + +### No default path + +URLs no longer have a default path value of '/' if no path was specified. + +Before: + +```php +$request = $client->get('http://www.foo.com'); +echo $request->getUrl(); +// >> http://www.foo.com/ +``` + +After: + +```php +$request = $client->get('http://www.foo.com'); +echo $request->getUrl(); +// >> http://www.foo.com +``` + +### Less verbose BadResponseException + +The exception message for `Guzzle\Http\Exception\BadResponseException` no longer contains the full HTTP request and +response information. You can, however, get access to the request and response object by calling `getRequest()` or +`getResponse()` on the exception object. + +### Query parameter aggregation + +Multi-valued query parameters are no longer aggregated using a callback function. `Guzzle\Http\Query` now has a +setAggregator() method that accepts a `Guzzle\Http\QueryAggregator\QueryAggregatorInterface` object. This object is +responsible for handling the aggregation of multi-valued query string variables into a flattened hash. + +2.8 to 3.x +---------- + +### Guzzle\Service\Inspector + +Change `\Guzzle\Service\Inspector::fromConfig` to `\Guzzle\Common\Collection::fromConfig` + +**Before** + +```php +use Guzzle\Service\Inspector; + +class YourClient extends \Guzzle\Service\Client +{ + public static function factory($config = array()) + { + $default = array(); + $required = array('base_url', 'username', 'api_key'); + $config = Inspector::fromConfig($config, $default, $required); + + $client = new self( + $config->get('base_url'), + $config->get('username'), + $config->get('api_key') + ); + $client->setConfig($config); + + $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json')); + + return $client; + } +``` + +**After** + +```php +use Guzzle\Common\Collection; + +class YourClient extends \Guzzle\Service\Client +{ + public static function factory($config = array()) + { + $default = array(); + $required = array('base_url', 'username', 'api_key'); + $config = Collection::fromConfig($config, $default, $required); + + $client = new self( + $config->get('base_url'), + $config->get('username'), + $config->get('api_key') + ); + $client->setConfig($config); + + $client->setDescription(ServiceDescription::factory(__DIR__ . DIRECTORY_SEPARATOR . 'client.json')); + + return $client; + } +``` + +### Convert XML Service Descriptions to JSON + +**Before** + +```xml + + + + + + Get a list of groups + + + Uses a search query to get a list of groups + + + + Create a group + + + + + Delete a group by ID + + + + + + + Update a group + + + + + + +``` + +**After** + +```json +{ + "name": "Zendesk REST API v2", + "apiVersion": "2012-12-31", + "description":"Provides access to Zendesk views, groups, tickets, ticket fields, and users", + "operations": { + "list_groups": { + "httpMethod":"GET", + "uri": "groups.json", + "summary": "Get a list of groups" + }, + "search_groups":{ + "httpMethod":"GET", + "uri": "search.json?query=\"{query} type:group\"", + "summary": "Uses a search query to get a list of groups", + "parameters":{ + "query":{ + "location": "uri", + "description":"Zendesk Search Query", + "type": "string", + "required": true + } + } + }, + "create_group": { + "httpMethod":"POST", + "uri": "groups.json", + "summary": "Create a group", + "parameters":{ + "data": { + "type": "array", + "location": "body", + "description":"Group JSON", + "filters": "json_encode", + "required": true + }, + "Content-Type":{ + "type": "string", + "location":"header", + "static": "application/json" + } + } + }, + "delete_group": { + "httpMethod":"DELETE", + "uri": "groups/{id}.json", + "summary": "Delete a group", + "parameters":{ + "id":{ + "location": "uri", + "description":"Group to delete by ID", + "type": "integer", + "required": true + } + } + }, + "get_group": { + "httpMethod":"GET", + "uri": "groups/{id}.json", + "summary": "Get a ticket", + "parameters":{ + "id":{ + "location": "uri", + "description":"Group to get by ID", + "type": "integer", + "required": true + } + } + }, + "update_group": { + "httpMethod":"PUT", + "uri": "groups/{id}.json", + "summary": "Update a group", + "parameters":{ + "id": { + "location": "uri", + "description":"Group to update by ID", + "type": "integer", + "required": true + }, + "data": { + "type": "array", + "location": "body", + "description":"Group JSON", + "filters": "json_encode", + "required": true + }, + "Content-Type":{ + "type": "string", + "location":"header", + "static": "application/json" + } + } + } +} +``` + +### Guzzle\Service\Description\ServiceDescription + +Commands are now called Operations + +**Before** + +```php +use Guzzle\Service\Description\ServiceDescription; + +$sd = new ServiceDescription(); +$sd->getCommands(); // @returns ApiCommandInterface[] +$sd->hasCommand($name); +$sd->getCommand($name); // @returns ApiCommandInterface|null +$sd->addCommand($command); // @param ApiCommandInterface $command +``` + +**After** + +```php +use Guzzle\Service\Description\ServiceDescription; + +$sd = new ServiceDescription(); +$sd->getOperations(); // @returns OperationInterface[] +$sd->hasOperation($name); +$sd->getOperation($name); // @returns OperationInterface|null +$sd->addOperation($operation); // @param OperationInterface $operation +``` + +### Guzzle\Common\Inflection\Inflector + +Namespace is now `Guzzle\Inflection\Inflector` + +### Guzzle\Http\Plugin + +Namespace is now `Guzzle\Plugin`. Many other changes occur within this namespace and are detailed in their own sections below. + +### Guzzle\Http\Plugin\LogPlugin and Guzzle\Common\Log + +Now `Guzzle\Plugin\Log\LogPlugin` and `Guzzle\Log` respectively. + +**Before** + +```php +use Guzzle\Common\Log\ClosureLogAdapter; +use Guzzle\Http\Plugin\LogPlugin; + +/** @var \Guzzle\Http\Client */ +$client; + +// $verbosity is an integer indicating desired message verbosity level +$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $verbosity = LogPlugin::LOG_VERBOSE); +``` + +**After** + +```php +use Guzzle\Log\ClosureLogAdapter; +use Guzzle\Log\MessageFormatter; +use Guzzle\Plugin\Log\LogPlugin; + +/** @var \Guzzle\Http\Client */ +$client; + +// $format is a string indicating desired message format -- @see MessageFormatter +$client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $format = MessageFormatter::DEBUG_FORMAT); +``` + +### Guzzle\Http\Plugin\CurlAuthPlugin + +Now `Guzzle\Plugin\CurlAuth\CurlAuthPlugin`. + +### Guzzle\Http\Plugin\ExponentialBackoffPlugin + +Now `Guzzle\Plugin\Backoff\BackoffPlugin`, and other changes. + +**Before** + +```php +use Guzzle\Http\Plugin\ExponentialBackoffPlugin; + +$backoffPlugin = new ExponentialBackoffPlugin($maxRetries, array_merge( + ExponentialBackoffPlugin::getDefaultFailureCodes(), array(429) + )); + +$client->addSubscriber($backoffPlugin); +``` + +**After** + +```php +use Guzzle\Plugin\Backoff\BackoffPlugin; +use Guzzle\Plugin\Backoff\HttpBackoffStrategy; + +// Use convenient factory method instead -- see implementation for ideas of what +// you can do with chaining backoff strategies +$backoffPlugin = BackoffPlugin::getExponentialBackoff($maxRetries, array_merge( + HttpBackoffStrategy::getDefaultFailureCodes(), array(429) + )); +$client->addSubscriber($backoffPlugin); +``` + +### Known Issues + +#### [BUG] Accept-Encoding header behavior changed unintentionally. + +(See #217) (Fixed in 09daeb8c666fb44499a0646d655a8ae36456575e) + +In version 2.8 setting the `Accept-Encoding` header would set the CURLOPT_ENCODING option, which permitted cURL to +properly handle gzip/deflate compressed responses from the server. In versions affected by this bug this does not happen. +See issue #217 for a workaround, or use a version containing the fix. diff --git a/vendor/guzzlehttp/guzzle/composer.json b/vendor/guzzlehttp/guzzle/composer.json new file mode 100644 index 0000000..9d60de4 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/composer.json @@ -0,0 +1,101 @@ +{ + "name": "guzzlehttp/guzzle", + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "framework", + "http", + "rest", + "web service", + "curl", + "client", + "HTTP client", + "PSR-7", + "PSR-18" + ], + "license": "MIT", + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "require": { + "php": "^7.2.5 || ^8.0", + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "ext-curl": "*", + "bamarni/composer-bin-plugin": "^1.4.1", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "config": { + "allow-plugins": { + "bamarni/composer-bin-plugin": true + }, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "dev-master": "7.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "autoload-dev": { + "psr-4": { + "GuzzleHttp\\Tests\\": "tests/" + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/BodySummarizer.php b/vendor/guzzlehttp/guzzle/src/BodySummarizer.php new file mode 100644 index 0000000..6eca94e --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/BodySummarizer.php @@ -0,0 +1,28 @@ +truncateAt = $truncateAt; + } + + /** + * Returns a summarized message body. + */ + public function summarize(MessageInterface $message): ?string + { + return $this->truncateAt === null + ? \GuzzleHttp\Psr7\Message::bodySummary($message) + : \GuzzleHttp\Psr7\Message::bodySummary($message, $this->truncateAt); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php b/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php new file mode 100644 index 0000000..3e02e03 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php @@ -0,0 +1,13 @@ + 'http://www.foo.com/1.0/', + * 'timeout' => 0, + * 'allow_redirects' => false, + * 'proxy' => '192.168.16.1:10' + * ]); + * + * Client configuration settings include the following options: + * + * - handler: (callable) Function that transfers HTTP requests over the + * wire. The function is called with a Psr7\Http\Message\RequestInterface + * and array of transfer options, and must return a + * GuzzleHttp\Promise\PromiseInterface that is fulfilled with a + * Psr7\Http\Message\ResponseInterface on success. + * If no handler is provided, a default handler will be created + * that enables all of the request options below by attaching all of the + * default middleware to the handler. + * - base_uri: (string|UriInterface) Base URI of the client that is merged + * into relative URIs. Can be a string or instance of UriInterface. + * - **: any request option + * + * @param array $config Client configuration settings. + * + * @see \GuzzleHttp\RequestOptions for a list of available request options. + */ + public function __construct(array $config = []) + { + if (!isset($config['handler'])) { + $config['handler'] = HandlerStack::create(); + } elseif (!\is_callable($config['handler'])) { + throw new InvalidArgumentException('handler must be a callable'); + } + + // Convert the base_uri to a UriInterface + if (isset($config['base_uri'])) { + $config['base_uri'] = Psr7\Utils::uriFor($config['base_uri']); + } + + $this->configureDefaults($config); + } + + /** + * @param string $method + * @param array $args + * + * @return PromiseInterface|ResponseInterface + * + * @deprecated Client::__call will be removed in guzzlehttp/guzzle:8.0. + */ + public function __call($method, $args) + { + if (\count($args) < 1) { + throw new InvalidArgumentException('Magic request methods require a URI and optional options array'); + } + + $uri = $args[0]; + $opts = $args[1] ?? []; + + return \substr($method, -5) === 'Async' + ? $this->requestAsync(\substr($method, 0, -5), $uri, $opts) + : $this->request($method, $uri, $opts); + } + + /** + * Asynchronously send an HTTP request. + * + * @param array $options Request options to apply to the given + * request and to the transfer. See \GuzzleHttp\RequestOptions. + */ + public function sendAsync(RequestInterface $request, array $options = []): PromiseInterface + { + // Merge the base URI into the request URI if needed. + $options = $this->prepareDefaults($options); + + return $this->transfer( + $request->withUri($this->buildUri($request->getUri(), $options), $request->hasHeader('Host')), + $options + ); + } + + /** + * Send an HTTP request. + * + * @param array $options Request options to apply to the given + * request and to the transfer. See \GuzzleHttp\RequestOptions. + * + * @throws GuzzleException + */ + public function send(RequestInterface $request, array $options = []): ResponseInterface + { + $options[RequestOptions::SYNCHRONOUS] = true; + return $this->sendAsync($request, $options)->wait(); + } + + /** + * The HttpClient PSR (PSR-18) specify this method. + * + * @inheritDoc + */ + public function sendRequest(RequestInterface $request): ResponseInterface + { + $options[RequestOptions::SYNCHRONOUS] = true; + $options[RequestOptions::ALLOW_REDIRECTS] = false; + $options[RequestOptions::HTTP_ERRORS] = false; + + return $this->sendAsync($request, $options)->wait(); + } + + /** + * Create and send an asynchronous HTTP request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string $method HTTP method + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. See \GuzzleHttp\RequestOptions. + */ + public function requestAsync(string $method, $uri = '', array $options = []): PromiseInterface + { + $options = $this->prepareDefaults($options); + // Remove request modifying parameter because it can be done up-front. + $headers = $options['headers'] ?? []; + $body = $options['body'] ?? null; + $version = $options['version'] ?? '1.1'; + // Merge the URI into the base URI. + $uri = $this->buildUri(Psr7\Utils::uriFor($uri), $options); + if (\is_array($body)) { + throw $this->invalidBody(); + } + $request = new Psr7\Request($method, $uri, $headers, $body, $version); + // Remove the option so that they are not doubly-applied. + unset($options['headers'], $options['body'], $options['version']); + + return $this->transfer($request, $options); + } + + /** + * Create and send an HTTP request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. + * + * @param string $method HTTP method. + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. See \GuzzleHttp\RequestOptions. + * + * @throws GuzzleException + */ + public function request(string $method, $uri = '', array $options = []): ResponseInterface + { + $options[RequestOptions::SYNCHRONOUS] = true; + return $this->requestAsync($method, $uri, $options)->wait(); + } + + /** + * Get a client configuration option. + * + * These options include default request options of the client, a "handler" + * (if utilized by the concrete client), and a "base_uri" if utilized by + * the concrete client. + * + * @param string|null $option The config option to retrieve. + * + * @return mixed + * + * @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0. + */ + public function getConfig(?string $option = null) + { + return $option === null + ? $this->config + : ($this->config[$option] ?? null); + } + + private function buildUri(UriInterface $uri, array $config): UriInterface + { + if (isset($config['base_uri'])) { + $uri = Psr7\UriResolver::resolve(Psr7\Utils::uriFor($config['base_uri']), $uri); + } + + if (isset($config['idn_conversion']) && ($config['idn_conversion'] !== false)) { + $idnOptions = ($config['idn_conversion'] === true) ? \IDNA_DEFAULT : $config['idn_conversion']; + $uri = Utils::idnUriConvert($uri, $idnOptions); + } + + return $uri->getScheme() === '' && $uri->getHost() !== '' ? $uri->withScheme('http') : $uri; + } + + /** + * Configures the default options for a client. + */ + private function configureDefaults(array $config): void + { + $defaults = [ + 'allow_redirects' => RedirectMiddleware::$defaultSettings, + 'http_errors' => true, + 'decode_content' => true, + 'verify' => true, + 'cookies' => false, + 'idn_conversion' => false, + ]; + + // Use the standard Linux HTTP_PROXY and HTTPS_PROXY if set. + + // We can only trust the HTTP_PROXY environment variable in a CLI + // process due to the fact that PHP has no reliable mechanism to + // get environment variables that start with "HTTP_". + if (\PHP_SAPI === 'cli' && ($proxy = Utils::getenv('HTTP_PROXY'))) { + $defaults['proxy']['http'] = $proxy; + } + + if ($proxy = Utils::getenv('HTTPS_PROXY')) { + $defaults['proxy']['https'] = $proxy; + } + + if ($noProxy = Utils::getenv('NO_PROXY')) { + $cleanedNoProxy = \str_replace(' ', '', $noProxy); + $defaults['proxy']['no'] = \explode(',', $cleanedNoProxy); + } + + $this->config = $config + $defaults; + + if (!empty($config['cookies']) && $config['cookies'] === true) { + $this->config['cookies'] = new CookieJar(); + } + + // Add the default user-agent header. + if (!isset($this->config['headers'])) { + $this->config['headers'] = ['User-Agent' => Utils::defaultUserAgent()]; + } else { + // Add the User-Agent header if one was not already set. + foreach (\array_keys($this->config['headers']) as $name) { + if (\strtolower($name) === 'user-agent') { + return; + } + } + $this->config['headers']['User-Agent'] = Utils::defaultUserAgent(); + } + } + + /** + * Merges default options into the array. + * + * @param array $options Options to modify by reference + */ + private function prepareDefaults(array $options): array + { + $defaults = $this->config; + + if (!empty($defaults['headers'])) { + // Default headers are only added if they are not present. + $defaults['_conditional'] = $defaults['headers']; + unset($defaults['headers']); + } + + // Special handling for headers is required as they are added as + // conditional headers and as headers passed to a request ctor. + if (\array_key_exists('headers', $options)) { + // Allows default headers to be unset. + if ($options['headers'] === null) { + $defaults['_conditional'] = []; + unset($options['headers']); + } elseif (!\is_array($options['headers'])) { + throw new InvalidArgumentException('headers must be an array'); + } + } + + // Shallow merge defaults underneath options. + $result = $options + $defaults; + + // Remove null values. + foreach ($result as $k => $v) { + if ($v === null) { + unset($result[$k]); + } + } + + return $result; + } + + /** + * Transfers the given request and applies request options. + * + * The URI of the request is not modified and the request options are used + * as-is without merging in default options. + * + * @param array $options See \GuzzleHttp\RequestOptions. + */ + private function transfer(RequestInterface $request, array $options): PromiseInterface + { + $request = $this->applyOptions($request, $options); + /** @var HandlerStack $handler */ + $handler = $options['handler']; + + try { + return P\Create::promiseFor($handler($request, $options)); + } catch (\Exception $e) { + return P\Create::rejectionFor($e); + } + } + + /** + * Applies the array of request options to a request. + */ + private function applyOptions(RequestInterface $request, array &$options): RequestInterface + { + $modify = [ + 'set_headers' => [], + ]; + + if (isset($options['headers'])) { + if (array_keys($options['headers']) === range(0, count($options['headers']) - 1)) { + throw new InvalidArgumentException('The headers array must have header name as keys.'); + } + $modify['set_headers'] = $options['headers']; + unset($options['headers']); + } + + if (isset($options['form_params'])) { + if (isset($options['multipart'])) { + throw new InvalidArgumentException('You cannot use ' + . 'form_params and multipart at the same time. Use the ' + . 'form_params option if you want to send application/' + . 'x-www-form-urlencoded requests, and the multipart ' + . 'option to send multipart/form-data requests.'); + } + $options['body'] = \http_build_query($options['form_params'], '', '&'); + unset($options['form_params']); + // Ensure that we don't have the header in different case and set the new value. + $options['_conditional'] = Psr7\Utils::caselessRemove(['Content-Type'], $options['_conditional']); + $options['_conditional']['Content-Type'] = 'application/x-www-form-urlencoded'; + } + + if (isset($options['multipart'])) { + $options['body'] = new Psr7\MultipartStream($options['multipart']); + unset($options['multipart']); + } + + if (isset($options['json'])) { + $options['body'] = Utils::jsonEncode($options['json']); + unset($options['json']); + // Ensure that we don't have the header in different case and set the new value. + $options['_conditional'] = Psr7\Utils::caselessRemove(['Content-Type'], $options['_conditional']); + $options['_conditional']['Content-Type'] = 'application/json'; + } + + if (!empty($options['decode_content']) + && $options['decode_content'] !== true + ) { + // Ensure that we don't have the header in different case and set the new value. + $options['_conditional'] = Psr7\Utils::caselessRemove(['Accept-Encoding'], $options['_conditional']); + $modify['set_headers']['Accept-Encoding'] = $options['decode_content']; + } + + if (isset($options['body'])) { + if (\is_array($options['body'])) { + throw $this->invalidBody(); + } + $modify['body'] = Psr7\Utils::streamFor($options['body']); + unset($options['body']); + } + + if (!empty($options['auth']) && \is_array($options['auth'])) { + $value = $options['auth']; + $type = isset($value[2]) ? \strtolower($value[2]) : 'basic'; + switch ($type) { + case 'basic': + // Ensure that we don't have the header in different case and set the new value. + $modify['set_headers'] = Psr7\Utils::caselessRemove(['Authorization'], $modify['set_headers']); + $modify['set_headers']['Authorization'] = 'Basic ' + . \base64_encode("$value[0]:$value[1]"); + break; + case 'digest': + // @todo: Do not rely on curl + $options['curl'][\CURLOPT_HTTPAUTH] = \CURLAUTH_DIGEST; + $options['curl'][\CURLOPT_USERPWD] = "$value[0]:$value[1]"; + break; + case 'ntlm': + $options['curl'][\CURLOPT_HTTPAUTH] = \CURLAUTH_NTLM; + $options['curl'][\CURLOPT_USERPWD] = "$value[0]:$value[1]"; + break; + } + } + + if (isset($options['query'])) { + $value = $options['query']; + if (\is_array($value)) { + $value = \http_build_query($value, '', '&', \PHP_QUERY_RFC3986); + } + if (!\is_string($value)) { + throw new InvalidArgumentException('query must be a string or array'); + } + $modify['query'] = $value; + unset($options['query']); + } + + // Ensure that sink is not an invalid value. + if (isset($options['sink'])) { + // TODO: Add more sink validation? + if (\is_bool($options['sink'])) { + throw new InvalidArgumentException('sink must not be a boolean'); + } + } + + $request = Psr7\Utils::modifyRequest($request, $modify); + if ($request->getBody() instanceof Psr7\MultipartStream) { + // Use a multipart/form-data POST if a Content-Type is not set. + // Ensure that we don't have the header in different case and set the new value. + $options['_conditional'] = Psr7\Utils::caselessRemove(['Content-Type'], $options['_conditional']); + $options['_conditional']['Content-Type'] = 'multipart/form-data; boundary=' + . $request->getBody()->getBoundary(); + } + + // Merge in conditional headers if they are not present. + if (isset($options['_conditional'])) { + // Build up the changes so it's in a single clone of the message. + $modify = []; + foreach ($options['_conditional'] as $k => $v) { + if (!$request->hasHeader($k)) { + $modify['set_headers'][$k] = $v; + } + } + $request = Psr7\Utils::modifyRequest($request, $modify); + // Don't pass this internal value along to middleware/handlers. + unset($options['_conditional']); + } + + return $request; + } + + /** + * Return an InvalidArgumentException with pre-set message. + */ + private function invalidBody(): InvalidArgumentException + { + return new InvalidArgumentException('Passing in the "body" request ' + . 'option as an array to send a request is not supported. ' + . 'Please use the "form_params" request option to send a ' + . 'application/x-www-form-urlencoded request, or the "multipart" ' + . 'request option to send a multipart/form-data request.'); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/ClientInterface.php b/vendor/guzzlehttp/guzzle/src/ClientInterface.php new file mode 100644 index 0000000..6aaee61 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/ClientInterface.php @@ -0,0 +1,84 @@ +request('GET', $uri, $options); + } + + /** + * Create and send an HTTP HEAD request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + * + * @throws GuzzleException + */ + public function head($uri, array $options = []): ResponseInterface + { + return $this->request('HEAD', $uri, $options); + } + + /** + * Create and send an HTTP PUT request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + * + * @throws GuzzleException + */ + public function put($uri, array $options = []): ResponseInterface + { + return $this->request('PUT', $uri, $options); + } + + /** + * Create and send an HTTP POST request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + * + * @throws GuzzleException + */ + public function post($uri, array $options = []): ResponseInterface + { + return $this->request('POST', $uri, $options); + } + + /** + * Create and send an HTTP PATCH request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + * + * @throws GuzzleException + */ + public function patch($uri, array $options = []): ResponseInterface + { + return $this->request('PATCH', $uri, $options); + } + + /** + * Create and send an HTTP DELETE request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + * + * @throws GuzzleException + */ + public function delete($uri, array $options = []): ResponseInterface + { + return $this->request('DELETE', $uri, $options); + } + + /** + * Create and send an asynchronous HTTP request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string $method HTTP method + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + abstract public function requestAsync(string $method, $uri, array $options = []): PromiseInterface; + + /** + * Create and send an asynchronous HTTP GET request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + public function getAsync($uri, array $options = []): PromiseInterface + { + return $this->requestAsync('GET', $uri, $options); + } + + /** + * Create and send an asynchronous HTTP HEAD request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + public function headAsync($uri, array $options = []): PromiseInterface + { + return $this->requestAsync('HEAD', $uri, $options); + } + + /** + * Create and send an asynchronous HTTP PUT request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + public function putAsync($uri, array $options = []): PromiseInterface + { + return $this->requestAsync('PUT', $uri, $options); + } + + /** + * Create and send an asynchronous HTTP POST request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + public function postAsync($uri, array $options = []): PromiseInterface + { + return $this->requestAsync('POST', $uri, $options); + } + + /** + * Create and send an asynchronous HTTP PATCH request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + public function patchAsync($uri, array $options = []): PromiseInterface + { + return $this->requestAsync('PATCH', $uri, $options); + } + + /** + * Create and send an asynchronous HTTP DELETE request. + * + * Use an absolute path to override the base path of the client, or a + * relative path to append to the base path of the client. The URL can + * contain the query string as well. Use an array to provide a URL + * template and additional variables to use in the URL template expansion. + * + * @param string|UriInterface $uri URI object or string. + * @param array $options Request options to apply. + */ + public function deleteAsync($uri, array $options = []): PromiseInterface + { + return $this->requestAsync('DELETE', $uri, $options); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php new file mode 100644 index 0000000..6ef8e8c --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php @@ -0,0 +1,318 @@ +strictMode = $strictMode; + + foreach ($cookieArray as $cookie) { + if (!($cookie instanceof SetCookie)) { + $cookie = new SetCookie($cookie); + } + $this->setCookie($cookie); + } + } + + /** + * Create a new Cookie jar from an associative array and domain. + * + * @param array $cookies Cookies to create the jar from + * @param string $domain Domain to set the cookies to + */ + public static function fromArray(array $cookies, string $domain): self + { + $cookieJar = new self(); + foreach ($cookies as $name => $value) { + $cookieJar->setCookie(new SetCookie([ + 'Domain' => $domain, + 'Name' => $name, + 'Value' => $value, + 'Discard' => true + ])); + } + + return $cookieJar; + } + + /** + * Evaluate if this cookie should be persisted to storage + * that survives between requests. + * + * @param SetCookie $cookie Being evaluated. + * @param bool $allowSessionCookies If we should persist session cookies + */ + public static function shouldPersist(SetCookie $cookie, bool $allowSessionCookies = false): bool + { + if ($cookie->getExpires() || $allowSessionCookies) { + if (!$cookie->getDiscard()) { + return true; + } + } + + return false; + } + + /** + * Finds and returns the cookie based on the name + * + * @param string $name cookie name to search for + * + * @return SetCookie|null cookie that was found or null if not found + */ + public function getCookieByName(string $name): ?SetCookie + { + foreach ($this->cookies as $cookie) { + if ($cookie->getName() !== null && \strcasecmp($cookie->getName(), $name) === 0) { + return $cookie; + } + } + + return null; + } + + /** + * @inheritDoc + */ + public function toArray(): array + { + return \array_map(static function (SetCookie $cookie): array { + return $cookie->toArray(); + }, $this->getIterator()->getArrayCopy()); + } + + /** + * @inheritDoc + */ + public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void + { + if (!$domain) { + $this->cookies = []; + return; + } elseif (!$path) { + $this->cookies = \array_filter( + $this->cookies, + static function (SetCookie $cookie) use ($domain): bool { + return !$cookie->matchesDomain($domain); + } + ); + } elseif (!$name) { + $this->cookies = \array_filter( + $this->cookies, + static function (SetCookie $cookie) use ($path, $domain): bool { + return !($cookie->matchesPath($path) && + $cookie->matchesDomain($domain)); + } + ); + } else { + $this->cookies = \array_filter( + $this->cookies, + static function (SetCookie $cookie) use ($path, $domain, $name) { + return !($cookie->getName() == $name && + $cookie->matchesPath($path) && + $cookie->matchesDomain($domain)); + } + ); + } + } + + /** + * @inheritDoc + */ + public function clearSessionCookies(): void + { + $this->cookies = \array_filter( + $this->cookies, + static function (SetCookie $cookie): bool { + return !$cookie->getDiscard() && $cookie->getExpires(); + } + ); + } + + /** + * @inheritDoc + */ + public function setCookie(SetCookie $cookie): bool + { + // If the name string is empty (but not 0), ignore the set-cookie + // string entirely. + $name = $cookie->getName(); + if (!$name && $name !== '0') { + return false; + } + + // Only allow cookies with set and valid domain, name, value + $result = $cookie->validate(); + if ($result !== true) { + if ($this->strictMode) { + throw new \RuntimeException('Invalid cookie: ' . $result); + } + $this->removeCookieIfEmpty($cookie); + return false; + } + + // Resolve conflicts with previously set cookies + foreach ($this->cookies as $i => $c) { + + // Two cookies are identical, when their path, and domain are + // identical. + if ($c->getPath() != $cookie->getPath() || + $c->getDomain() != $cookie->getDomain() || + $c->getName() != $cookie->getName() + ) { + continue; + } + + // The previously set cookie is a discard cookie and this one is + // not so allow the new cookie to be set + if (!$cookie->getDiscard() && $c->getDiscard()) { + unset($this->cookies[$i]); + continue; + } + + // If the new cookie's expiration is further into the future, then + // replace the old cookie + if ($cookie->getExpires() > $c->getExpires()) { + unset($this->cookies[$i]); + continue; + } + + // If the value has changed, we better change it + if ($cookie->getValue() !== $c->getValue()) { + unset($this->cookies[$i]); + continue; + } + + // The cookie exists, so no need to continue + return false; + } + + $this->cookies[] = $cookie; + + return true; + } + + public function count(): int + { + return \count($this->cookies); + } + + /** + * @return \ArrayIterator + */ + public function getIterator(): \ArrayIterator + { + return new \ArrayIterator(\array_values($this->cookies)); + } + + public function extractCookies(RequestInterface $request, ResponseInterface $response): void + { + if ($cookieHeader = $response->getHeader('Set-Cookie')) { + foreach ($cookieHeader as $cookie) { + $sc = SetCookie::fromString($cookie); + if (!$sc->getDomain()) { + $sc->setDomain($request->getUri()->getHost()); + } + if (0 !== \strpos($sc->getPath(), '/')) { + $sc->setPath($this->getCookiePathFromRequest($request)); + } + if (!$sc->matchesDomain($request->getUri()->getHost())) { + continue; + } + // Note: At this point `$sc->getDomain()` being a public suffix should + // be rejected, but we don't want to pull in the full PSL dependency. + $this->setCookie($sc); + } + } + } + + /** + * Computes cookie path following RFC 6265 section 5.1.4 + * + * @link https://tools.ietf.org/html/rfc6265#section-5.1.4 + */ + private function getCookiePathFromRequest(RequestInterface $request): string + { + $uriPath = $request->getUri()->getPath(); + if ('' === $uriPath) { + return '/'; + } + if (0 !== \strpos($uriPath, '/')) { + return '/'; + } + if ('/' === $uriPath) { + return '/'; + } + $lastSlashPos = \strrpos($uriPath, '/'); + if (0 === $lastSlashPos || false === $lastSlashPos) { + return '/'; + } + + return \substr($uriPath, 0, $lastSlashPos); + } + + public function withCookieHeader(RequestInterface $request): RequestInterface + { + $values = []; + $uri = $request->getUri(); + $scheme = $uri->getScheme(); + $host = $uri->getHost(); + $path = $uri->getPath() ?: '/'; + + foreach ($this->cookies as $cookie) { + if ($cookie->matchesPath($path) && + $cookie->matchesDomain($host) && + !$cookie->isExpired() && + (!$cookie->getSecure() || $scheme === 'https') + ) { + $values[] = $cookie->getName() . '=' + . $cookie->getValue(); + } + } + + return $values + ? $request->withHeader('Cookie', \implode('; ', $values)) + : $request; + } + + /** + * If a cookie already exists and the server asks to set it again with a + * null value, the cookie must be deleted. + */ + private function removeCookieIfEmpty(SetCookie $cookie): void + { + $cookieValue = $cookie->getValue(); + if ($cookieValue === null || $cookieValue === '') { + $this->clear( + $cookie->getDomain(), + $cookie->getPath(), + $cookie->getName() + ); + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php new file mode 100644 index 0000000..7df374b --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php @@ -0,0 +1,79 @@ + + */ +interface CookieJarInterface extends \Countable, \IteratorAggregate +{ + /** + * Create a request with added cookie headers. + * + * If no matching cookies are found in the cookie jar, then no Cookie + * header is added to the request and the same request is returned. + * + * @param RequestInterface $request Request object to modify. + * + * @return RequestInterface returns the modified request. + */ + public function withCookieHeader(RequestInterface $request): RequestInterface; + + /** + * Extract cookies from an HTTP response and store them in the CookieJar. + * + * @param RequestInterface $request Request that was sent + * @param ResponseInterface $response Response that was received + */ + public function extractCookies(RequestInterface $request, ResponseInterface $response): void; + + /** + * Sets a cookie in the cookie jar. + * + * @param SetCookie $cookie Cookie to set. + * + * @return bool Returns true on success or false on failure + */ + public function setCookie(SetCookie $cookie): bool; + + /** + * Remove cookies currently held in the cookie jar. + * + * Invoking this method without arguments will empty the whole cookie jar. + * If given a $domain argument only cookies belonging to that domain will + * be removed. If given a $domain and $path argument, cookies belonging to + * the specified path within that domain are removed. If given all three + * arguments, then the cookie with the specified name, path and domain is + * removed. + * + * @param string|null $domain Clears cookies matching a domain + * @param string|null $path Clears cookies matching a domain and path + * @param string|null $name Clears cookies matching a domain, path, and name + */ + public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void; + + /** + * Discard all sessions cookies. + * + * Removes cookies that don't have an expire field or a have a discard + * field set to true. To be called when the user agent shuts down according + * to RFC 2965. + */ + public function clearSessionCookies(): void; + + /** + * Converts the cookie jar to an array. + */ + public function toArray(): array; +} diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php b/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php new file mode 100644 index 0000000..290236d --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php @@ -0,0 +1,101 @@ +filename = $cookieFile; + $this->storeSessionCookies = $storeSessionCookies; + + if (\file_exists($cookieFile)) { + $this->load($cookieFile); + } + } + + /** + * Saves the file when shutting down + */ + public function __destruct() + { + $this->save($this->filename); + } + + /** + * Saves the cookies to a file. + * + * @param string $filename File to save + * + * @throws \RuntimeException if the file cannot be found or created + */ + public function save(string $filename): void + { + $json = []; + /** @var SetCookie $cookie */ + foreach ($this as $cookie) { + if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) { + $json[] = $cookie->toArray(); + } + } + + $jsonStr = Utils::jsonEncode($json); + if (false === \file_put_contents($filename, $jsonStr, \LOCK_EX)) { + throw new \RuntimeException("Unable to save file {$filename}"); + } + } + + /** + * Load cookies from a JSON formatted file. + * + * Old cookies are kept unless overwritten by newly loaded ones. + * + * @param string $filename Cookie file to load. + * + * @throws \RuntimeException if the file cannot be loaded. + */ + public function load(string $filename): void + { + $json = \file_get_contents($filename); + if (false === $json) { + throw new \RuntimeException("Unable to load file {$filename}"); + } + if ($json === '') { + return; + } + + $data = Utils::jsonDecode($json, true); + if (\is_array($data)) { + foreach ($data as $cookie) { + $this->setCookie(new SetCookie($cookie)); + } + } elseif (\is_scalar($data) && !empty($data)) { + throw new \RuntimeException("Invalid cookie file: {$filename}"); + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php b/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php new file mode 100644 index 0000000..5d51ca9 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php @@ -0,0 +1,77 @@ +sessionKey = $sessionKey; + $this->storeSessionCookies = $storeSessionCookies; + $this->load(); + } + + /** + * Saves cookies to session when shutting down + */ + public function __destruct() + { + $this->save(); + } + + /** + * Save cookies to the client session + */ + public function save(): void + { + $json = []; + /** @var SetCookie $cookie */ + foreach ($this as $cookie) { + if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) { + $json[] = $cookie->toArray(); + } + } + + $_SESSION[$this->sessionKey] = \json_encode($json); + } + + /** + * Load the contents of the client session into the data array + */ + protected function load(): void + { + if (!isset($_SESSION[$this->sessionKey])) { + return; + } + $data = \json_decode($_SESSION[$this->sessionKey], true); + if (\is_array($data)) { + foreach ($data as $cookie) { + $this->setCookie(new SetCookie($cookie)); + } + } elseif (\strlen($data)) { + throw new \RuntimeException("Invalid cookie data"); + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php b/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php new file mode 100644 index 0000000..a613c77 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php @@ -0,0 +1,446 @@ + null, + 'Value' => null, + 'Domain' => null, + 'Path' => '/', + 'Max-Age' => null, + 'Expires' => null, + 'Secure' => false, + 'Discard' => false, + 'HttpOnly' => false + ]; + + /** + * @var array Cookie data + */ + private $data; + + /** + * Create a new SetCookie object from a string. + * + * @param string $cookie Set-Cookie header string + */ + public static function fromString(string $cookie): self + { + // Create the default return array + $data = self::$defaults; + // Explode the cookie string using a series of semicolons + $pieces = \array_filter(\array_map('trim', \explode(';', $cookie))); + // The name of the cookie (first kvp) must exist and include an equal sign. + if (!isset($pieces[0]) || \strpos($pieces[0], '=') === false) { + return new self($data); + } + + // Add the cookie pieces into the parsed data array + foreach ($pieces as $part) { + $cookieParts = \explode('=', $part, 2); + $key = \trim($cookieParts[0]); + $value = isset($cookieParts[1]) + ? \trim($cookieParts[1], " \n\r\t\0\x0B") + : true; + + // Only check for non-cookies when cookies have been found + if (!isset($data['Name'])) { + $data['Name'] = $key; + $data['Value'] = $value; + } else { + foreach (\array_keys(self::$defaults) as $search) { + if (!\strcasecmp($search, $key)) { + $data[$search] = $value; + continue 2; + } + } + $data[$key] = $value; + } + } + + return new self($data); + } + + /** + * @param array $data Array of cookie data provided by a Cookie parser + */ + public function __construct(array $data = []) + { + /** @var array|null $replaced will be null in case of replace error */ + $replaced = \array_replace(self::$defaults, $data); + if ($replaced === null) { + throw new \InvalidArgumentException('Unable to replace the default values for the Cookie.'); + } + + $this->data = $replaced; + // Extract the Expires value and turn it into a UNIX timestamp if needed + if (!$this->getExpires() && $this->getMaxAge()) { + // Calculate the Expires date + $this->setExpires(\time() + $this->getMaxAge()); + } elseif (null !== ($expires = $this->getExpires()) && !\is_numeric($expires)) { + $this->setExpires($expires); + } + } + + public function __toString() + { + $str = $this->data['Name'] . '=' . ($this->data['Value'] ?? '') . '; '; + foreach ($this->data as $k => $v) { + if ($k !== 'Name' && $k !== 'Value' && $v !== null && $v !== false) { + if ($k === 'Expires') { + $str .= 'Expires=' . \gmdate('D, d M Y H:i:s \G\M\T', $v) . '; '; + } else { + $str .= ($v === true ? $k : "{$k}={$v}") . '; '; + } + } + } + + return \rtrim($str, '; '); + } + + public function toArray(): array + { + return $this->data; + } + + /** + * Get the cookie name. + * + * @return string + */ + public function getName() + { + return $this->data['Name']; + } + + /** + * Set the cookie name. + * + * @param string $name Cookie name + */ + public function setName($name): void + { + if (!is_string($name)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a string to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Name'] = (string) $name; + } + + /** + * Get the cookie value. + * + * @return string|null + */ + public function getValue() + { + return $this->data['Value']; + } + + /** + * Set the cookie value. + * + * @param string $value Cookie value + */ + public function setValue($value): void + { + if (!is_string($value)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a string to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Value'] = (string) $value; + } + + /** + * Get the domain. + * + * @return string|null + */ + public function getDomain() + { + return $this->data['Domain']; + } + + /** + * Set the domain of the cookie. + * + * @param string|null $domain + */ + public function setDomain($domain): void + { + if (!is_string($domain) && null !== $domain) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a string or null to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Domain'] = null === $domain ? null : (string) $domain; + } + + /** + * Get the path. + * + * @return string + */ + public function getPath() + { + return $this->data['Path']; + } + + /** + * Set the path of the cookie. + * + * @param string $path Path of the cookie + */ + public function setPath($path): void + { + if (!is_string($path)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a string to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Path'] = (string) $path; + } + + /** + * Maximum lifetime of the cookie in seconds. + * + * @return int|null + */ + public function getMaxAge() + { + return null === $this->data['Max-Age'] ? null : (int) $this->data['Max-Age']; + } + + /** + * Set the max-age of the cookie. + * + * @param int|null $maxAge Max age of the cookie in seconds + */ + public function setMaxAge($maxAge): void + { + if (!is_int($maxAge) && null !== $maxAge) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing an int or null to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Max-Age'] = $maxAge === null ? null : (int) $maxAge; + } + + /** + * The UNIX timestamp when the cookie Expires. + * + * @return string|int|null + */ + public function getExpires() + { + return $this->data['Expires']; + } + + /** + * Set the unix timestamp for which the cookie will expire. + * + * @param int|string|null $timestamp Unix timestamp or any English textual datetime description. + */ + public function setExpires($timestamp): void + { + if (!is_int($timestamp) && !is_string($timestamp) && null !== $timestamp) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing an int, string or null to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Expires'] = null === $timestamp ? null : (\is_numeric($timestamp) ? (int) $timestamp : \strtotime((string) $timestamp)); + } + + /** + * Get whether or not this is a secure cookie. + * + * @return bool + */ + public function getSecure() + { + return $this->data['Secure']; + } + + /** + * Set whether or not the cookie is secure. + * + * @param bool $secure Set to true or false if secure + */ + public function setSecure($secure): void + { + if (!is_bool($secure)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a bool to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Secure'] = (bool) $secure; + } + + /** + * Get whether or not this is a session cookie. + * + * @return bool|null + */ + public function getDiscard() + { + return $this->data['Discard']; + } + + /** + * Set whether or not this is a session cookie. + * + * @param bool $discard Set to true or false if this is a session cookie + */ + public function setDiscard($discard): void + { + if (!is_bool($discard)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a bool to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['Discard'] = (bool) $discard; + } + + /** + * Get whether or not this is an HTTP only cookie. + * + * @return bool + */ + public function getHttpOnly() + { + return $this->data['HttpOnly']; + } + + /** + * Set whether or not this is an HTTP only cookie. + * + * @param bool $httpOnly Set to true or false if this is HTTP only + */ + public function setHttpOnly($httpOnly): void + { + if (!is_bool($httpOnly)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a bool to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->data['HttpOnly'] = (bool) $httpOnly; + } + + /** + * Check if the cookie matches a path value. + * + * A request-path path-matches a given cookie-path if at least one of + * the following conditions holds: + * + * - The cookie-path and the request-path are identical. + * - The cookie-path is a prefix of the request-path, and the last + * character of the cookie-path is %x2F ("/"). + * - The cookie-path is a prefix of the request-path, and the first + * character of the request-path that is not included in the cookie- + * path is a %x2F ("/") character. + * + * @param string $requestPath Path to check against + */ + public function matchesPath(string $requestPath): bool + { + $cookiePath = $this->getPath(); + + // Match on exact matches or when path is the default empty "/" + if ($cookiePath === '/' || $cookiePath == $requestPath) { + return true; + } + + // Ensure that the cookie-path is a prefix of the request path. + if (0 !== \strpos($requestPath, $cookiePath)) { + return false; + } + + // Match if the last character of the cookie-path is "/" + if (\substr($cookiePath, -1, 1) === '/') { + return true; + } + + // Match if the first character not included in cookie path is "/" + return \substr($requestPath, \strlen($cookiePath), 1) === '/'; + } + + /** + * Check if the cookie matches a domain value. + * + * @param string $domain Domain to check against + */ + public function matchesDomain(string $domain): bool + { + $cookieDomain = $this->getDomain(); + if (null === $cookieDomain) { + return true; + } + + // Remove the leading '.' as per spec in RFC 6265. + // https://tools.ietf.org/html/rfc6265#section-5.2.3 + $cookieDomain = \ltrim(\strtolower($cookieDomain), '.'); + + $domain = \strtolower($domain); + + // Domain not set or exact match. + if ('' === $cookieDomain || $domain === $cookieDomain) { + return true; + } + + // Matching the subdomain according to RFC 6265. + // https://tools.ietf.org/html/rfc6265#section-5.1.3 + if (\filter_var($domain, \FILTER_VALIDATE_IP)) { + return false; + } + + return (bool) \preg_match('/\.' . \preg_quote($cookieDomain, '/') . '$/', $domain); + } + + /** + * Check if the cookie is expired. + */ + public function isExpired(): bool + { + return $this->getExpires() !== null && \time() > $this->getExpires(); + } + + /** + * Check if the cookie is valid according to RFC 6265. + * + * @return bool|string Returns true if valid or an error message if invalid + */ + public function validate() + { + $name = $this->getName(); + if ($name === '') { + return 'The cookie name must not be empty'; + } + + // Check if any of the invalid characters are present in the cookie name + if (\preg_match( + '/[\x00-\x20\x22\x28-\x29\x2c\x2f\x3a-\x40\x5c\x7b\x7d\x7f]/', + $name + )) { + return 'Cookie name must not contain invalid characters: ASCII ' + . 'Control characters (0-31;127), space, tab and the ' + . 'following characters: ()<>@,;:\"/?={}'; + } + + // Value must not be null. 0 and empty string are valid. Empty strings + // are technically against RFC 6265, but known to happen in the wild. + $value = $this->getValue(); + if ($value === null) { + return 'The cookie value must not be empty'; + } + + // Domains must not be empty, but can be 0. "0" is not a valid internet + // domain, but may be used as server name in a private network. + $domain = $this->getDomain(); + if ($domain === null || $domain === '') { + return 'The cookie domain must not be empty'; + } + + return true; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php b/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php new file mode 100644 index 0000000..a80956c --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php @@ -0,0 +1,39 @@ +request = $request; + $this->handlerContext = $handlerContext; + } + + /** + * Get the request that caused the exception + */ + public function getRequest(): RequestInterface + { + return $this->request; + } + + /** + * Get contextual information about the error from the underlying handler. + * + * The contents of this array will vary depending on which handler you are + * using. It may also be just an empty array. Relying on this data will + * couple you to a specific handler, but can give more debug information + * when needed. + */ + public function getHandlerContext(): array + { + return $this->handlerContext; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php b/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php new file mode 100644 index 0000000..fa3ed69 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php @@ -0,0 +1,9 @@ +getStatusCode() : 0; + parent::__construct($message, $code, $previous); + $this->request = $request; + $this->response = $response; + $this->handlerContext = $handlerContext; + } + + /** + * Wrap non-RequestExceptions with a RequestException + */ + public static function wrapException(RequestInterface $request, \Throwable $e): RequestException + { + return $e instanceof RequestException ? $e : new RequestException($e->getMessage(), $request, null, $e); + } + + /** + * Factory method to create a new exception with a normalized error message + * + * @param RequestInterface $request Request sent + * @param ResponseInterface $response Response received + * @param \Throwable|null $previous Previous exception + * @param array $handlerContext Optional handler context + * @param BodySummarizerInterface|null $bodySummarizer Optional body summarizer + */ + public static function create( + RequestInterface $request, + ResponseInterface $response = null, + \Throwable $previous = null, + array $handlerContext = [], + BodySummarizerInterface $bodySummarizer = null + ): self { + if (!$response) { + return new self( + 'Error completing request', + $request, + null, + $previous, + $handlerContext + ); + } + + $level = (int) \floor($response->getStatusCode() / 100); + if ($level === 4) { + $label = 'Client error'; + $className = ClientException::class; + } elseif ($level === 5) { + $label = 'Server error'; + $className = ServerException::class; + } else { + $label = 'Unsuccessful request'; + $className = __CLASS__; + } + + $uri = $request->getUri(); + $uri = static::obfuscateUri($uri); + + // Client Error: `GET /` resulted in a `404 Not Found` response: + // ... (truncated) + $message = \sprintf( + '%s: `%s %s` resulted in a `%s %s` response', + $label, + $request->getMethod(), + $uri->__toString(), + $response->getStatusCode(), + $response->getReasonPhrase() + ); + + $summary = ($bodySummarizer ?? new BodySummarizer())->summarize($response); + + if ($summary !== null) { + $message .= ":\n{$summary}\n"; + } + + return new $className($message, $request, $response, $previous, $handlerContext); + } + + /** + * Obfuscates URI if there is a username and a password present + */ + private static function obfuscateUri(UriInterface $uri): UriInterface + { + $userInfo = $uri->getUserInfo(); + + if (false !== ($pos = \strpos($userInfo, ':'))) { + return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***'); + } + + return $uri; + } + + /** + * Get the request that caused the exception + */ + public function getRequest(): RequestInterface + { + return $this->request; + } + + /** + * Get the associated response + */ + public function getResponse(): ?ResponseInterface + { + return $this->response; + } + + /** + * Check if a response was received + */ + public function hasResponse(): bool + { + return $this->response !== null; + } + + /** + * Get contextual information about the error from the underlying handler. + * + * The contents of this array will vary depending on which handler you are + * using. It may also be just an empty array. Relying on this data will + * couple you to a specific handler, but can give more debug information + * when needed. + */ + public function getHandlerContext(): array + { + return $this->handlerContext; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php b/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php new file mode 100644 index 0000000..8055e06 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php @@ -0,0 +1,10 @@ +maxHandles = $maxHandles; + } + + public function create(RequestInterface $request, array $options): EasyHandle + { + if (isset($options['curl']['body_as_string'])) { + $options['_body_as_string'] = $options['curl']['body_as_string']; + unset($options['curl']['body_as_string']); + } + + $easy = new EasyHandle; + $easy->request = $request; + $easy->options = $options; + $conf = $this->getDefaultConf($easy); + $this->applyMethod($easy, $conf); + $this->applyHandlerOptions($easy, $conf); + $this->applyHeaders($easy, $conf); + unset($conf['_headers']); + + // Add handler options from the request configuration options + if (isset($options['curl'])) { + $conf = \array_replace($conf, $options['curl']); + } + + $conf[\CURLOPT_HEADERFUNCTION] = $this->createHeaderFn($easy); + $easy->handle = $this->handles ? \array_pop($this->handles) : \curl_init(); + curl_setopt_array($easy->handle, $conf); + + return $easy; + } + + public function release(EasyHandle $easy): void + { + $resource = $easy->handle; + unset($easy->handle); + + if (\count($this->handles) >= $this->maxHandles) { + \curl_close($resource); + } else { + // Remove all callback functions as they can hold onto references + // and are not cleaned up by curl_reset. Using curl_setopt_array + // does not work for some reason, so removing each one + // individually. + \curl_setopt($resource, \CURLOPT_HEADERFUNCTION, null); + \curl_setopt($resource, \CURLOPT_READFUNCTION, null); + \curl_setopt($resource, \CURLOPT_WRITEFUNCTION, null); + \curl_setopt($resource, \CURLOPT_PROGRESSFUNCTION, null); + \curl_reset($resource); + $this->handles[] = $resource; + } + } + + /** + * Completes a cURL transaction, either returning a response promise or a + * rejected promise. + * + * @param callable(RequestInterface, array): PromiseInterface $handler + * @param CurlFactoryInterface $factory Dictates how the handle is released + */ + public static function finish(callable $handler, EasyHandle $easy, CurlFactoryInterface $factory): PromiseInterface + { + if (isset($easy->options['on_stats'])) { + self::invokeStats($easy); + } + + if (!$easy->response || $easy->errno) { + return self::finishError($handler, $easy, $factory); + } + + // Return the response if it is present and there is no error. + $factory->release($easy); + + // Rewind the body of the response if possible. + $body = $easy->response->getBody(); + if ($body->isSeekable()) { + $body->rewind(); + } + + return new FulfilledPromise($easy->response); + } + + private static function invokeStats(EasyHandle $easy): void + { + $curlStats = \curl_getinfo($easy->handle); + $curlStats['appconnect_time'] = \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME); + $stats = new TransferStats( + $easy->request, + $easy->response, + $curlStats['total_time'], + $easy->errno, + $curlStats + ); + ($easy->options['on_stats'])($stats); + } + + /** + * @param callable(RequestInterface, array): PromiseInterface $handler + */ + private static function finishError(callable $handler, EasyHandle $easy, CurlFactoryInterface $factory): PromiseInterface + { + // Get error information and release the handle to the factory. + $ctx = [ + 'errno' => $easy->errno, + 'error' => \curl_error($easy->handle), + 'appconnect_time' => \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME), + ] + \curl_getinfo($easy->handle); + $ctx[self::CURL_VERSION_STR] = \curl_version()['version']; + $factory->release($easy); + + // Retry when nothing is present or when curl failed to rewind. + if (empty($easy->options['_err_message']) && (!$easy->errno || $easy->errno == 65)) { + return self::retryFailedRewind($handler, $easy, $ctx); + } + + return self::createRejection($easy, $ctx); + } + + private static function createRejection(EasyHandle $easy, array $ctx): PromiseInterface + { + static $connectionErrors = [ + \CURLE_OPERATION_TIMEOUTED => true, + \CURLE_COULDNT_RESOLVE_HOST => true, + \CURLE_COULDNT_CONNECT => true, + \CURLE_SSL_CONNECT_ERROR => true, + \CURLE_GOT_NOTHING => true, + ]; + + if ($easy->createResponseException) { + return P\Create::rejectionFor( + new RequestException( + 'An error was encountered while creating the response', + $easy->request, + $easy->response, + $easy->createResponseException, + $ctx + ) + ); + } + + // If an exception was encountered during the onHeaders event, then + // return a rejected promise that wraps that exception. + if ($easy->onHeadersException) { + return P\Create::rejectionFor( + new RequestException( + 'An error was encountered during the on_headers event', + $easy->request, + $easy->response, + $easy->onHeadersException, + $ctx + ) + ); + } + + $message = \sprintf( + 'cURL error %s: %s (%s)', + $ctx['errno'], + $ctx['error'], + 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html' + ); + $uriString = (string) $easy->request->getUri(); + if ($uriString !== '' && false === \strpos($ctx['error'], $uriString)) { + $message .= \sprintf(' for %s', $uriString); + } + + // Create a connection exception if it was a specific error code. + $error = isset($connectionErrors[$easy->errno]) + ? new ConnectException($message, $easy->request, null, $ctx) + : new RequestException($message, $easy->request, $easy->response, null, $ctx); + + return P\Create::rejectionFor($error); + } + + /** + * @return array + */ + private function getDefaultConf(EasyHandle $easy): array + { + $conf = [ + '_headers' => $easy->request->getHeaders(), + \CURLOPT_CUSTOMREQUEST => $easy->request->getMethod(), + \CURLOPT_URL => (string) $easy->request->getUri()->withFragment(''), + \CURLOPT_RETURNTRANSFER => false, + \CURLOPT_HEADER => false, + \CURLOPT_CONNECTTIMEOUT => 150, + ]; + + if (\defined('CURLOPT_PROTOCOLS')) { + $conf[\CURLOPT_PROTOCOLS] = \CURLPROTO_HTTP | \CURLPROTO_HTTPS; + } + + $version = $easy->request->getProtocolVersion(); + if ($version == 1.1) { + $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_1; + } elseif ($version == 2.0) { + $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2_0; + } else { + $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_0; + } + + return $conf; + } + + private function applyMethod(EasyHandle $easy, array &$conf): void + { + $body = $easy->request->getBody(); + $size = $body->getSize(); + + if ($size === null || $size > 0) { + $this->applyBody($easy->request, $easy->options, $conf); + return; + } + + $method = $easy->request->getMethod(); + if ($method === 'PUT' || $method === 'POST') { + // See https://tools.ietf.org/html/rfc7230#section-3.3.2 + if (!$easy->request->hasHeader('Content-Length')) { + $conf[\CURLOPT_HTTPHEADER][] = 'Content-Length: 0'; + } + } elseif ($method === 'HEAD') { + $conf[\CURLOPT_NOBODY] = true; + unset( + $conf[\CURLOPT_WRITEFUNCTION], + $conf[\CURLOPT_READFUNCTION], + $conf[\CURLOPT_FILE], + $conf[\CURLOPT_INFILE] + ); + } + } + + private function applyBody(RequestInterface $request, array $options, array &$conf): void + { + $size = $request->hasHeader('Content-Length') + ? (int) $request->getHeaderLine('Content-Length') + : null; + + // Send the body as a string if the size is less than 1MB OR if the + // [curl][body_as_string] request value is set. + if (($size !== null && $size < 1000000) || !empty($options['_body_as_string'])) { + $conf[\CURLOPT_POSTFIELDS] = (string) $request->getBody(); + // Don't duplicate the Content-Length header + $this->removeHeader('Content-Length', $conf); + $this->removeHeader('Transfer-Encoding', $conf); + } else { + $conf[\CURLOPT_UPLOAD] = true; + if ($size !== null) { + $conf[\CURLOPT_INFILESIZE] = $size; + $this->removeHeader('Content-Length', $conf); + } + $body = $request->getBody(); + if ($body->isSeekable()) { + $body->rewind(); + } + $conf[\CURLOPT_READFUNCTION] = static function ($ch, $fd, $length) use ($body) { + return $body->read($length); + }; + } + + // If the Expect header is not present, prevent curl from adding it + if (!$request->hasHeader('Expect')) { + $conf[\CURLOPT_HTTPHEADER][] = 'Expect:'; + } + + // cURL sometimes adds a content-type by default. Prevent this. + if (!$request->hasHeader('Content-Type')) { + $conf[\CURLOPT_HTTPHEADER][] = 'Content-Type:'; + } + } + + private function applyHeaders(EasyHandle $easy, array &$conf): void + { + foreach ($conf['_headers'] as $name => $values) { + foreach ($values as $value) { + $value = (string) $value; + if ($value === '') { + // cURL requires a special format for empty headers. + // See https://github.com/guzzle/guzzle/issues/1882 for more details. + $conf[\CURLOPT_HTTPHEADER][] = "$name;"; + } else { + $conf[\CURLOPT_HTTPHEADER][] = "$name: $value"; + } + } + } + + // Remove the Accept header if one was not set + if (!$easy->request->hasHeader('Accept')) { + $conf[\CURLOPT_HTTPHEADER][] = 'Accept:'; + } + } + + /** + * Remove a header from the options array. + * + * @param string $name Case-insensitive header to remove + * @param array $options Array of options to modify + */ + private function removeHeader(string $name, array &$options): void + { + foreach (\array_keys($options['_headers']) as $key) { + if (!\strcasecmp($key, $name)) { + unset($options['_headers'][$key]); + return; + } + } + } + + private function applyHandlerOptions(EasyHandle $easy, array &$conf): void + { + $options = $easy->options; + if (isset($options['verify'])) { + if ($options['verify'] === false) { + unset($conf[\CURLOPT_CAINFO]); + $conf[\CURLOPT_SSL_VERIFYHOST] = 0; + $conf[\CURLOPT_SSL_VERIFYPEER] = false; + } else { + $conf[\CURLOPT_SSL_VERIFYHOST] = 2; + $conf[\CURLOPT_SSL_VERIFYPEER] = true; + if (\is_string($options['verify'])) { + // Throw an error if the file/folder/link path is not valid or doesn't exist. + if (!\file_exists($options['verify'])) { + throw new \InvalidArgumentException("SSL CA bundle not found: {$options['verify']}"); + } + // If it's a directory or a link to a directory use CURLOPT_CAPATH. + // If not, it's probably a file, or a link to a file, so use CURLOPT_CAINFO. + if ( + \is_dir($options['verify']) || + ( + \is_link($options['verify']) === true && + ($verifyLink = \readlink($options['verify'])) !== false && + \is_dir($verifyLink) + ) + ) { + $conf[\CURLOPT_CAPATH] = $options['verify']; + } else { + $conf[\CURLOPT_CAINFO] = $options['verify']; + } + } + } + } + + if (!isset($options['curl'][\CURLOPT_ENCODING]) && !empty($options['decode_content'])) { + $accept = $easy->request->getHeaderLine('Accept-Encoding'); + if ($accept) { + $conf[\CURLOPT_ENCODING] = $accept; + } else { + // The empty string enables all available decoders and implicitly + // sets a matching 'Accept-Encoding' header. + $conf[\CURLOPT_ENCODING] = ''; + // But as the user did not specify any acceptable encodings we need + // to overwrite this implicit header with an empty one. + $conf[\CURLOPT_HTTPHEADER][] = 'Accept-Encoding:'; + } + } + + if (!isset($options['sink'])) { + // Use a default temp stream if no sink was set. + $options['sink'] = \GuzzleHttp\Psr7\Utils::tryFopen('php://temp', 'w+'); + } + $sink = $options['sink']; + if (!\is_string($sink)) { + $sink = \GuzzleHttp\Psr7\Utils::streamFor($sink); + } elseif (!\is_dir(\dirname($sink))) { + // Ensure that the directory exists before failing in curl. + throw new \RuntimeException(\sprintf('Directory %s does not exist for sink value of %s', \dirname($sink), $sink)); + } else { + $sink = new LazyOpenStream($sink, 'w+'); + } + $easy->sink = $sink; + $conf[\CURLOPT_WRITEFUNCTION] = static function ($ch, $write) use ($sink): int { + return $sink->write($write); + }; + + $timeoutRequiresNoSignal = false; + if (isset($options['timeout'])) { + $timeoutRequiresNoSignal |= $options['timeout'] < 1; + $conf[\CURLOPT_TIMEOUT_MS] = $options['timeout'] * 1000; + } + + // CURL default value is CURL_IPRESOLVE_WHATEVER + if (isset($options['force_ip_resolve'])) { + if ('v4' === $options['force_ip_resolve']) { + $conf[\CURLOPT_IPRESOLVE] = \CURL_IPRESOLVE_V4; + } elseif ('v6' === $options['force_ip_resolve']) { + $conf[\CURLOPT_IPRESOLVE] = \CURL_IPRESOLVE_V6; + } + } + + if (isset($options['connect_timeout'])) { + $timeoutRequiresNoSignal |= $options['connect_timeout'] < 1; + $conf[\CURLOPT_CONNECTTIMEOUT_MS] = $options['connect_timeout'] * 1000; + } + + if ($timeoutRequiresNoSignal && \strtoupper(\substr(\PHP_OS, 0, 3)) !== 'WIN') { + $conf[\CURLOPT_NOSIGNAL] = true; + } + + if (isset($options['proxy'])) { + if (!\is_array($options['proxy'])) { + $conf[\CURLOPT_PROXY] = $options['proxy']; + } else { + $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'])) { + $conf[\CURLOPT_PROXY] = $options['proxy'][$scheme]; + } + } + } + } + + if (isset($options['cert'])) { + $cert = $options['cert']; + if (\is_array($cert)) { + $conf[\CURLOPT_SSLCERTPASSWD] = $cert[1]; + $cert = $cert[0]; + } + if (!\file_exists($cert)) { + throw new \InvalidArgumentException("SSL certificate not found: {$cert}"); + } + # OpenSSL (versions 0.9.3 and later) also support "P12" for PKCS#12-encoded files. + # see https://curl.se/libcurl/c/CURLOPT_SSLCERTTYPE.html + $ext = pathinfo($cert, \PATHINFO_EXTENSION); + if (preg_match('#^(der|p12)$#i', $ext)) { + $conf[\CURLOPT_SSLCERTTYPE] = strtoupper($ext); + } + $conf[\CURLOPT_SSLCERT] = $cert; + } + + if (isset($options['ssl_key'])) { + if (\is_array($options['ssl_key'])) { + if (\count($options['ssl_key']) === 2) { + [$sslKey, $conf[\CURLOPT_SSLKEYPASSWD]] = $options['ssl_key']; + } else { + [$sslKey] = $options['ssl_key']; + } + } + + $sslKey = $sslKey ?? $options['ssl_key']; + + if (!\file_exists($sslKey)) { + throw new \InvalidArgumentException("SSL private key not found: {$sslKey}"); + } + $conf[\CURLOPT_SSLKEY] = $sslKey; + } + + if (isset($options['progress'])) { + $progress = $options['progress']; + if (!\is_callable($progress)) { + throw new \InvalidArgumentException('progress client option must be callable'); + } + $conf[\CURLOPT_NOPROGRESS] = false; + $conf[\CURLOPT_PROGRESSFUNCTION] = static function ($resource, int $downloadSize, int $downloaded, int $uploadSize, int $uploaded) use ($progress) { + $progress($downloadSize, $downloaded, $uploadSize, $uploaded); + }; + } + + if (!empty($options['debug'])) { + $conf[\CURLOPT_STDERR] = Utils::debugResource($options['debug']); + $conf[\CURLOPT_VERBOSE] = true; + } + } + + /** + * This function ensures that a response was set on a transaction. If one + * was not set, then the request is retried if possible. This error + * typically means you are sending a payload, curl encountered a + * "Connection died, retrying a fresh connect" error, tried to rewind the + * stream, and then encountered a "necessary data rewind wasn't possible" + * error, causing the request to be sent through curl_multi_info_read() + * without an error status. + * + * @param callable(RequestInterface, array): PromiseInterface $handler + */ + private static function retryFailedRewind(callable $handler, EasyHandle $easy, array $ctx): PromiseInterface + { + try { + // Only rewind if the body has been read from. + $body = $easy->request->getBody(); + if ($body->tell() > 0) { + $body->rewind(); + } + } catch (\RuntimeException $e) { + $ctx['error'] = 'The connection unexpectedly failed without ' + . 'providing an error. The request would have been retried, ' + . 'but attempting to rewind the request body failed. ' + . 'Exception: ' . $e; + return self::createRejection($easy, $ctx); + } + + // Retry no more than 3 times before giving up. + if (!isset($easy->options['_curl_retries'])) { + $easy->options['_curl_retries'] = 1; + } elseif ($easy->options['_curl_retries'] == 2) { + $ctx['error'] = 'The cURL request was retried 3 times ' + . 'and did not succeed. The most likely reason for the failure ' + . 'is that cURL was unable to rewind the body of the request ' + . 'and subsequent retries resulted in the same error. Turn on ' + . 'the debug option to see what went wrong. See ' + . 'https://bugs.php.net/bug.php?id=47204 for more information.'; + return self::createRejection($easy, $ctx); + } else { + $easy->options['_curl_retries']++; + } + + return $handler($easy->request, $easy->options); + } + + private function createHeaderFn(EasyHandle $easy): callable + { + if (isset($easy->options['on_headers'])) { + $onHeaders = $easy->options['on_headers']; + + if (!\is_callable($onHeaders)) { + throw new \InvalidArgumentException('on_headers must be callable'); + } + } else { + $onHeaders = null; + } + + return static function ($ch, $h) use ( + $onHeaders, + $easy, + &$startingResponse + ) { + $value = \trim($h); + if ($value === '') { + $startingResponse = true; + try { + $easy->createResponse(); + } catch (\Exception $e) { + $easy->createResponseException = $e; + return -1; + } + if ($onHeaders !== null) { + try { + $onHeaders($easy->response); + } catch (\Exception $e) { + // Associate the exception with the handle and trigger + // a curl header write error by returning 0. + $easy->onHeadersException = $e; + return -1; + } + } + } elseif ($startingResponse) { + $startingResponse = false; + $easy->headers = [$value]; + } else { + $easy->headers[] = $value; + } + return \strlen($h); + }; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php b/vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php new file mode 100644 index 0000000..fe57ed5 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php @@ -0,0 +1,25 @@ +factory = $options['handle_factory'] + ?? new CurlFactory(3); + } + + public function __invoke(RequestInterface $request, array $options): PromiseInterface + { + if (isset($options['delay'])) { + \usleep($options['delay'] * 1000); + } + + $easy = $this->factory->create($request, $options); + \curl_exec($easy->handle); + $easy->errno = \curl_errno($easy->handle); + + return CurlFactory::finish($this, $easy, $this->factory); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php b/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php new file mode 100644 index 0000000..2f5b3f6 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php @@ -0,0 +1,261 @@ + An array of delay times, indexed by handle id in `addRequest`. + * + * @see CurlMultiHandler::addRequest + */ + private $delays = []; + + /** + * @var array An associative array of CURLMOPT_* options and corresponding values for curl_multi_setopt() + */ + private $options = []; + + /** + * This handler accepts the following options: + * + * - handle_factory: An optional factory used to create curl handles + * - select_timeout: Optional timeout (in seconds) to block before timing + * out while selecting curl handles. Defaults to 1 second. + * - options: An associative array of CURLMOPT_* options and + * corresponding values for curl_multi_setopt() + */ + public function __construct(array $options = []) + { + $this->factory = $options['handle_factory'] ?? new CurlFactory(50); + + if (isset($options['select_timeout'])) { + $this->selectTimeout = $options['select_timeout']; + } elseif ($selectTimeout = Utils::getenv('GUZZLE_CURL_SELECT_TIMEOUT')) { + @trigger_error('Since guzzlehttp/guzzle 7.2.0: Using environment variable GUZZLE_CURL_SELECT_TIMEOUT is deprecated. Use option "select_timeout" instead.', \E_USER_DEPRECATED); + $this->selectTimeout = (int) $selectTimeout; + } else { + $this->selectTimeout = 1; + } + + $this->options = $options['options'] ?? []; + } + + /** + * @param string $name + * + * @return resource|\CurlMultiHandle + * + * @throws \BadMethodCallException when another field as `_mh` will be gotten + * @throws \RuntimeException when curl can not initialize a multi handle + */ + public function __get($name) + { + if ($name !== '_mh') { + throw new \BadMethodCallException("Can not get other property as '_mh'."); + } + + $multiHandle = \curl_multi_init(); + + if (false === $multiHandle) { + throw new \RuntimeException('Can not initialize curl multi handle.'); + } + + $this->_mh = $multiHandle; + + foreach ($this->options as $option => $value) { + // A warning is raised in case of a wrong option. + curl_multi_setopt($this->_mh, $option, $value); + } + + return $this->_mh; + } + + public function __destruct() + { + if (isset($this->_mh)) { + \curl_multi_close($this->_mh); + unset($this->_mh); + } + } + + public function __invoke(RequestInterface $request, array $options): PromiseInterface + { + $easy = $this->factory->create($request, $options); + $id = (int) $easy->handle; + + $promise = new Promise( + [$this, 'execute'], + function () use ($id) { + return $this->cancel($id); + } + ); + + $this->addRequest(['easy' => $easy, 'deferred' => $promise]); + + return $promise; + } + + /** + * Ticks the curl event loop. + */ + public function tick(): void + { + // Add any delayed handles if needed. + if ($this->delays) { + $currentTime = Utils::currentTime(); + foreach ($this->delays as $id => $delay) { + if ($currentTime >= $delay) { + unset($this->delays[$id]); + \curl_multi_add_handle( + $this->_mh, + $this->handles[$id]['easy']->handle + ); + } + } + } + + // Step through the task queue which may add additional requests. + P\Utils::queue()->run(); + + if ($this->active && \curl_multi_select($this->_mh, $this->selectTimeout) === -1) { + // Perform a usleep if a select returns -1. + // See: https://bugs.php.net/bug.php?id=61141 + \usleep(250); + } + + while (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM); + + $this->processMessages(); + } + + /** + * Runs until all outstanding connections have completed. + */ + public function execute(): void + { + $queue = P\Utils::queue(); + + while ($this->handles || !$queue->isEmpty()) { + // If there are no transfers, then sleep for the next delay + if (!$this->active && $this->delays) { + \usleep($this->timeToNext()); + } + $this->tick(); + } + } + + private function addRequest(array $entry): void + { + $easy = $entry['easy']; + $id = (int) $easy->handle; + $this->handles[$id] = $entry; + if (empty($easy->options['delay'])) { + \curl_multi_add_handle($this->_mh, $easy->handle); + } else { + $this->delays[$id] = Utils::currentTime() + ($easy->options['delay'] / 1000); + } + } + + /** + * Cancels a handle from sending and removes references to it. + * + * @param int $id Handle ID to cancel and remove. + * + * @return bool True on success, false on failure. + */ + private function cancel($id): bool + { + if (!is_int($id)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing an integer to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + // Cannot cancel if it has been processed. + if (!isset($this->handles[$id])) { + return false; + } + + $handle = $this->handles[$id]['easy']->handle; + unset($this->delays[$id], $this->handles[$id]); + \curl_multi_remove_handle($this->_mh, $handle); + \curl_close($handle); + + return true; + } + + private function processMessages(): void + { + while ($done = \curl_multi_info_read($this->_mh)) { + if ($done['msg'] !== \CURLMSG_DONE) { + // if it's not done, then it would be premature to remove the handle. ref https://github.com/guzzle/guzzle/pull/2892#issuecomment-945150216 + continue; + } + $id = (int) $done['handle']; + \curl_multi_remove_handle($this->_mh, $done['handle']); + + if (!isset($this->handles[$id])) { + // Probably was cancelled. + continue; + } + + $entry = $this->handles[$id]; + unset($this->handles[$id], $this->delays[$id]); + $entry['easy']->errno = $done['result']; + $entry['deferred']->resolve( + CurlFactory::finish($this, $entry['easy'], $this->factory) + ); + } + } + + private function timeToNext(): int + { + $currentTime = Utils::currentTime(); + $nextTime = \PHP_INT_MAX; + foreach ($this->delays as $time) { + if ($time < $nextTime) { + $nextTime = $time; + } + } + + return ((int) \max(0, $nextTime - $currentTime)) * 1000000; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php b/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php new file mode 100644 index 0000000..224344d --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php @@ -0,0 +1,112 @@ +headers); + + $normalizedKeys = Utils::normalizeHeaderKeys($headers); + + if (!empty($this->options['decode_content']) && isset($normalizedKeys['content-encoding'])) { + $headers['x-encoded-content-encoding'] = $headers[$normalizedKeys['content-encoding']]; + unset($headers[$normalizedKeys['content-encoding']]); + if (isset($normalizedKeys['content-length'])) { + $headers['x-encoded-content-length'] = $headers[$normalizedKeys['content-length']]; + + $bodyLength = (int) $this->sink->getSize(); + if ($bodyLength) { + $headers[$normalizedKeys['content-length']] = $bodyLength; + } else { + unset($headers[$normalizedKeys['content-length']]); + } + } + } + + // Attach a response to the easy handle with the parsed headers. + $this->response = new Response( + $status, + $headers, + $this->sink, + $ver, + $reason + ); + } + + /** + * @param string $name + * + * @return void + * + * @throws \BadMethodCallException + */ + public function __get($name) + { + $msg = $name === 'handle' ? 'The EasyHandle has been released' : 'Invalid property: ' . $name; + throw new \BadMethodCallException($msg); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php b/vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php new file mode 100644 index 0000000..a098884 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php @@ -0,0 +1,42 @@ +|null $queue The parameters to be passed to the append function, as an indexed array. + * @param callable|null $onFulfilled Callback to invoke when the return value is fulfilled. + * @param callable|null $onRejected Callback to invoke when the return value is rejected. + */ + public function __construct(array $queue = null, callable $onFulfilled = null, callable $onRejected = null) + { + $this->onFulfilled = $onFulfilled; + $this->onRejected = $onRejected; + + if ($queue) { + // array_values included for BC + $this->append(...array_values($queue)); + } + } + + public function __invoke(RequestInterface $request, array $options): PromiseInterface + { + if (!$this->queue) { + throw new \OutOfBoundsException('Mock queue is empty'); + } + + if (isset($options['delay']) && \is_numeric($options['delay'])) { + \usleep((int) $options['delay'] * 1000); + } + + $this->lastRequest = $request; + $this->lastOptions = $options; + $response = \array_shift($this->queue); + + if (isset($options['on_headers'])) { + if (!\is_callable($options['on_headers'])) { + throw new \InvalidArgumentException('on_headers must be callable'); + } + try { + $options['on_headers']($response); + } catch (\Exception $e) { + $msg = 'An error was encountered during the on_headers event'; + $response = new RequestException($msg, $request, $response, $e); + } + } + + if (\is_callable($response)) { + $response = $response($request, $options); + } + + $response = $response instanceof \Throwable + ? P\Create::rejectionFor($response) + : P\Create::promiseFor($response); + + return $response->then( + function (?ResponseInterface $value) use ($request, $options) { + $this->invokeStats($request, $options, $value); + if ($this->onFulfilled) { + ($this->onFulfilled)($value); + } + + if ($value !== null && isset($options['sink'])) { + $contents = (string) $value->getBody(); + $sink = $options['sink']; + + if (\is_resource($sink)) { + \fwrite($sink, $contents); + } elseif (\is_string($sink)) { + \file_put_contents($sink, $contents); + } elseif ($sink instanceof StreamInterface) { + $sink->write($contents); + } + } + + return $value; + }, + function ($reason) use ($request, $options) { + $this->invokeStats($request, $options, null, $reason); + if ($this->onRejected) { + ($this->onRejected)($reason); + } + return P\Create::rejectionFor($reason); + } + ); + } + + /** + * Adds one or more variadic requests, exceptions, callables, or promises + * to the queue. + * + * @param mixed ...$values + */ + public function append(...$values): void + { + foreach ($values as $value) { + if ($value instanceof ResponseInterface + || $value instanceof \Throwable + || $value instanceof PromiseInterface + || \is_callable($value) + ) { + $this->queue[] = $value; + } else { + throw new \TypeError('Expected a Response, Promise, Throwable or callable. Found ' . Utils::describeType($value)); + } + } + } + + /** + * Get the last received request. + */ + public function getLastRequest(): ?RequestInterface + { + return $this->lastRequest; + } + + /** + * Get the last received request options. + */ + public function getLastOptions(): array + { + return $this->lastOptions; + } + + /** + * Returns the number of remaining items in the queue. + */ + public function count(): int + { + return \count($this->queue); + } + + public function reset(): void + { + $this->queue = []; + } + + /** + * @param mixed $reason Promise or reason. + */ + private function invokeStats( + RequestInterface $request, + array $options, + ResponseInterface $response = null, + $reason = null + ): void { + if (isset($options['on_stats'])) { + $transferTime = $options['transfer_time'] ?? 0; + $stats = new TransferStats($request, $response, $transferTime, $reason); + ($options['on_stats'])($stats); + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php b/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php new file mode 100644 index 0000000..f045b52 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php @@ -0,0 +1,51 @@ +withoutHeader('Expect'); + + // Append a content-length header if body size is zero to match + // cURL's behavior. + if (0 === $request->getBody()->getSize()) { + $request = $request->withHeader('Content-Length', '0'); + } + + return $this->createResponse( + $request, + $options, + $this->createStream($request, $options), + $startTime + ); + } catch (\InvalidArgumentException $e) { + throw $e; + } catch (\Exception $e) { + // Determine if the error was a networking error. + $message = $e->getMessage(); + // This list can probably get more comprehensive. + if (false !== \strpos($message, 'getaddrinfo') // DNS lookup failed + || false !== \strpos($message, 'Connection refused') + || false !== \strpos($message, "couldn't connect to host") // error on HHVM + || false !== \strpos($message, "connection attempt failed") + ) { + $e = new ConnectException($e->getMessage(), $request, $e); + } else { + $e = RequestException::wrapException($request, $e); + } + $this->invokeStats($options, $request, $startTime, null, $e); + + return P\Create::rejectionFor($e); + } + } + + private function invokeStats( + array $options, + RequestInterface $request, + ?float $startTime, + ResponseInterface $response = null, + \Throwable $error = null + ): void { + if (isset($options['on_stats'])) { + $stats = new TransferStats($request, $response, Utils::currentTime() - $startTime, $error, []); + ($options['on_stats'])($stats); + } + } + + /** + * @param resource $stream + */ + private function createResponse(RequestInterface $request, array $options, $stream, ?float $startTime): PromiseInterface + { + $hdrs = $this->lastHeaders; + $this->lastHeaders = []; + + try { + [$ver, $status, $reason, $headers] = HeaderProcessor::parseHeaders($hdrs); + } catch (\Exception $e) { + return P\Create::rejectionFor( + new RequestException('An error was encountered while creating the response', $request, null, $e) + ); + } + + [$stream, $headers] = $this->checkDecode($options, $headers, $stream); + $stream = Psr7\Utils::streamFor($stream); + $sink = $stream; + + if (\strcasecmp('HEAD', $request->getMethod())) { + $sink = $this->createSink($stream, $options); + } + + try { + $response = new Psr7\Response($status, $headers, $sink, $ver, $reason); + } catch (\Exception $e) { + return P\Create::rejectionFor( + new RequestException('An error was encountered while creating the response', $request, null, $e) + ); + } + + if (isset($options['on_headers'])) { + try { + $options['on_headers']($response); + } catch (\Exception $e) { + return P\Create::rejectionFor( + new RequestException('An error was encountered during the on_headers event', $request, $response, $e) + ); + } + } + + // Do not drain when the request is a HEAD request because they have + // no body. + if ($sink !== $stream) { + $this->drain($stream, $sink, $response->getHeaderLine('Content-Length')); + } + + $this->invokeStats($options, $request, $startTime, $response, null); + + return new FulfilledPromise($response); + } + + private function createSink(StreamInterface $stream, array $options): StreamInterface + { + if (!empty($options['stream'])) { + return $stream; + } + + $sink = $options['sink'] ?? Psr7\Utils::tryFopen('php://temp', 'r+'); + + return \is_string($sink) ? new Psr7\LazyOpenStream($sink, 'w+') : Psr7\Utils::streamFor($sink); + } + + /** + * @param resource $stream + */ + private function checkDecode(array $options, array $headers, $stream): array + { + // Automatically decode responses when instructed. + if (!empty($options['decode_content'])) { + $normalizedKeys = Utils::normalizeHeaderKeys($headers); + if (isset($normalizedKeys['content-encoding'])) { + $encoding = $headers[$normalizedKeys['content-encoding']]; + if ($encoding[0] === 'gzip' || $encoding[0] === 'deflate') { + $stream = new Psr7\InflateStream(Psr7\Utils::streamFor($stream)); + $headers['x-encoded-content-encoding'] = $headers[$normalizedKeys['content-encoding']]; + + // Remove content-encoding header + unset($headers[$normalizedKeys['content-encoding']]); + + // Fix content-length header + if (isset($normalizedKeys['content-length'])) { + $headers['x-encoded-content-length'] = $headers[$normalizedKeys['content-length']]; + $length = (int) $stream->getSize(); + if ($length === 0) { + unset($headers[$normalizedKeys['content-length']]); + } else { + $headers[$normalizedKeys['content-length']] = [$length]; + } + } + } + } + } + + return [$stream, $headers]; + } + + /** + * Drains the source stream into the "sink" client option. + * + * @param string $contentLength Header specifying the amount of + * data to read. + * + * @throws \RuntimeException when the sink option is invalid. + */ + private function drain(StreamInterface $source, StreamInterface $sink, string $contentLength): StreamInterface + { + // If a content-length header is provided, then stop reading once + // that number of bytes has been read. This can prevent infinitely + // reading from a stream when dealing with servers that do not honor + // Connection: Close headers. + Psr7\Utils::copyToStream( + $source, + $sink, + (\strlen($contentLength) > 0 && (int) $contentLength > 0) ? (int) $contentLength : -1 + ); + + $sink->seek(0); + $source->close(); + + return $sink; + } + + /** + * Create a resource and check to ensure it was created successfully + * + * @param callable $callback Callable that returns stream resource + * + * @return resource + * + * @throws \RuntimeException on error + */ + private function createResource(callable $callback) + { + $errors = []; + \set_error_handler(static function ($_, $msg, $file, $line) use (&$errors): bool { + $errors[] = [ + 'message' => $msg, + 'file' => $file, + 'line' => $line + ]; + return true; + }); + + try { + $resource = $callback(); + } finally { + \restore_error_handler(); + } + + if (!$resource) { + $message = 'Error creating resource: '; + foreach ($errors as $err) { + foreach ($err as $key => $value) { + $message .= "[$key] $value" . \PHP_EOL; + } + } + throw new \RuntimeException(\trim($message)); + } + + return $resource; + } + + /** + * @return resource + */ + private function createStream(RequestInterface $request, array $options) + { + static $methods; + if (!$methods) { + $methods = \array_flip(\get_class_methods(__CLASS__)); + } + + if (!\in_array($request->getUri()->getScheme(), ['http', 'https'])) { + throw new RequestException(\sprintf("The scheme '%s' is not supported.", $request->getUri()->getScheme()), $request); + } + + // HTTP/1.1 streams using the PHP stream wrapper require a + // Connection: close header + if ($request->getProtocolVersion() == '1.1' + && !$request->hasHeader('Connection') + ) { + $request = $request->withHeader('Connection', 'close'); + } + + // Ensure SSL is verified by default + if (!isset($options['verify'])) { + $options['verify'] = true; + } + + $params = []; + $context = $this->getDefaultContext($request); + + if (isset($options['on_headers']) && !\is_callable($options['on_headers'])) { + throw new \InvalidArgumentException('on_headers must be callable'); + } + + if (!empty($options)) { + foreach ($options as $key => $value) { + $method = "add_{$key}"; + if (isset($methods[$method])) { + $this->{$method}($request, $context, $value, $params); + } + } + } + + if (isset($options['stream_context'])) { + if (!\is_array($options['stream_context'])) { + throw new \InvalidArgumentException('stream_context must be an array'); + } + $context = \array_replace_recursive($context, $options['stream_context']); + } + + // Microsoft NTLM authentication only supported with curl handler + if (isset($options['auth'][2]) && 'ntlm' === $options['auth'][2]) { + throw new \InvalidArgumentException('Microsoft NTLM authentication only supported with curl handler'); + } + + $uri = $this->resolveHost($request, $options); + + $contextResource = $this->createResource( + static function () use ($context, $params) { + return \stream_context_create($context, $params); + } + ); + + return $this->createResource( + function () use ($uri, &$http_response_header, $contextResource, $context, $options, $request) { + $resource = @\fopen((string) $uri, 'r', false, $contextResource); + $this->lastHeaders = $http_response_header ?? []; + + if (false === $resource) { + throw new ConnectException(sprintf('Connection refused for URI %s', $uri), $request, null, $context); + } + + if (isset($options['read_timeout'])) { + $readTimeout = $options['read_timeout']; + $sec = (int) $readTimeout; + $usec = ($readTimeout - $sec) * 100000; + \stream_set_timeout($resource, $sec, $usec); + } + + return $resource; + } + ); + } + + private function resolveHost(RequestInterface $request, array $options): UriInterface + { + $uri = $request->getUri(); + + if (isset($options['force_ip_resolve']) && !\filter_var($uri->getHost(), \FILTER_VALIDATE_IP)) { + if ('v4' === $options['force_ip_resolve']) { + $records = \dns_get_record($uri->getHost(), \DNS_A); + if (false === $records || !isset($records[0]['ip'])) { + throw new ConnectException(\sprintf("Could not resolve IPv4 address for host '%s'", $uri->getHost()), $request); + } + return $uri->withHost($records[0]['ip']); + } + if ('v6' === $options['force_ip_resolve']) { + $records = \dns_get_record($uri->getHost(), \DNS_AAAA); + if (false === $records || !isset($records[0]['ipv6'])) { + throw new ConnectException(\sprintf("Could not resolve IPv6 address for host '%s'", $uri->getHost()), $request); + } + return $uri->withHost('[' . $records[0]['ipv6'] . ']'); + } + } + + return $uri; + } + + private function getDefaultContext(RequestInterface $request): array + { + $headers = ''; + foreach ($request->getHeaders() as $name => $value) { + foreach ($value as $val) { + $headers .= "$name: $val\r\n"; + } + } + + $context = [ + 'http' => [ + 'method' => $request->getMethod(), + 'header' => $headers, + 'protocol_version' => $request->getProtocolVersion(), + 'ignore_errors' => true, + 'follow_location' => 0, + ], + 'ssl' => [ + 'peer_name' => $request->getUri()->getHost(), + ], + ]; + + $body = (string) $request->getBody(); + + if (!empty($body)) { + $context['http']['content'] = $body; + // Prevent the HTTP handler from adding a Content-Type header. + if (!$request->hasHeader('Content-Type')) { + $context['http']['header'] .= "Content-Type:\r\n"; + } + } + + $context['http']['header'] = \rtrim($context['http']['header']); + + return $context; + } + + /** + * @param mixed $value as passed via Request transfer options. + */ + private function add_proxy(RequestInterface $request, array &$options, $value, array &$params): void + { + $uri = null; + + if (!\is_array($value)) { + $uri = $value; + } else { + $scheme = $request->getUri()->getScheme(); + if (isset($value[$scheme])) { + if (!isset($value['no']) || !Utils::isHostInNoProxy($request->getUri()->getHost(), $value['no'])) { + $uri = $value[$scheme]; + } + } + } + + if (!$uri) { + return; + } + + $parsed = $this->parse_proxy($uri); + $options['http']['proxy'] = $parsed['proxy']; + + if ($parsed['auth']) { + if (!isset($options['http']['header'])) { + $options['http']['header'] = []; + } + $options['http']['header'] .= "\r\nProxy-Authorization: {$parsed['auth']}"; + } + } + + /** + * Parses the given proxy URL to make it compatible with the format PHP's stream context expects. + */ + private function parse_proxy(string $url): array + { + $parsed = \parse_url($url); + + if ($parsed !== false && isset($parsed['scheme']) && $parsed['scheme'] === 'http') { + if (isset($parsed['host']) && isset($parsed['port'])) { + $auth = null; + if (isset($parsed['user']) && isset($parsed['pass'])) { + $auth = \base64_encode("{$parsed['user']}:{$parsed['pass']}"); + } + + return [ + 'proxy' => "tcp://{$parsed['host']}:{$parsed['port']}", + 'auth' => $auth ? "Basic {$auth}" : null, + ]; + } + } + + // Return proxy as-is. + return [ + 'proxy' => $url, + 'auth' => null, + ]; + } + + /** + * @param mixed $value as passed via Request transfer options. + */ + private function add_timeout(RequestInterface $request, array &$options, $value, array &$params): void + { + if ($value > 0) { + $options['http']['timeout'] = $value; + } + } + + /** + * @param mixed $value as passed via Request transfer options. + */ + private function add_verify(RequestInterface $request, array &$options, $value, array &$params): void + { + if ($value === false) { + $options['ssl']['verify_peer'] = false; + $options['ssl']['verify_peer_name'] = false; + + return; + } + + if (\is_string($value)) { + $options['ssl']['cafile'] = $value; + if (!\file_exists($value)) { + throw new \RuntimeException("SSL CA bundle not found: $value"); + } + } elseif ($value !== true) { + throw new \InvalidArgumentException('Invalid verify request option'); + } + + $options['ssl']['verify_peer'] = true; + $options['ssl']['verify_peer_name'] = true; + $options['ssl']['allow_self_signed'] = false; + } + + /** + * @param mixed $value as passed via Request transfer options. + */ + private function add_cert(RequestInterface $request, array &$options, $value, array &$params): void + { + if (\is_array($value)) { + $options['ssl']['passphrase'] = $value[1]; + $value = $value[0]; + } + + if (!\file_exists($value)) { + throw new \RuntimeException("SSL certificate not found: {$value}"); + } + + $options['ssl']['local_cert'] = $value; + } + + /** + * @param mixed $value as passed via Request transfer options. + */ + private function add_progress(RequestInterface $request, array &$options, $value, array &$params): void + { + self::addNotification( + $params, + static function ($code, $a, $b, $c, $transferred, $total) use ($value) { + if ($code == \STREAM_NOTIFY_PROGRESS) { + // The upload progress cannot be determined. Use 0 for cURL compatibility: + // https://curl.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html + $value($total, $transferred, 0, 0); + } + } + ); + } + + /** + * @param mixed $value as passed via Request transfer options. + */ + private function add_debug(RequestInterface $request, array &$options, $value, array &$params): void + { + if ($value === false) { + return; + } + + static $map = [ + \STREAM_NOTIFY_CONNECT => 'CONNECT', + \STREAM_NOTIFY_AUTH_REQUIRED => 'AUTH_REQUIRED', + \STREAM_NOTIFY_AUTH_RESULT => 'AUTH_RESULT', + \STREAM_NOTIFY_MIME_TYPE_IS => 'MIME_TYPE_IS', + \STREAM_NOTIFY_FILE_SIZE_IS => 'FILE_SIZE_IS', + \STREAM_NOTIFY_REDIRECTED => 'REDIRECTED', + \STREAM_NOTIFY_PROGRESS => 'PROGRESS', + \STREAM_NOTIFY_FAILURE => 'FAILURE', + \STREAM_NOTIFY_COMPLETED => 'COMPLETED', + \STREAM_NOTIFY_RESOLVE => 'RESOLVE', + ]; + static $args = ['severity', 'message', 'message_code', 'bytes_transferred', 'bytes_max']; + + $value = Utils::debugResource($value); + $ident = $request->getMethod() . ' ' . $request->getUri()->withFragment(''); + self::addNotification( + $params, + static function (int $code, ...$passed) use ($ident, $value, $map, $args): void { + \fprintf($value, '<%s> [%s] ', $ident, $map[$code]); + foreach (\array_filter($passed) as $i => $v) { + \fwrite($value, $args[$i] . ': "' . $v . '" '); + } + \fwrite($value, "\n"); + } + ); + } + + private static function addNotification(array &$params, callable $notify): void + { + // Wrap the existing function if needed. + if (!isset($params['notification'])) { + $params['notification'] = $notify; + } else { + $params['notification'] = self::callArray([ + $params['notification'], + $notify + ]); + } + } + + private static function callArray(array $functions): callable + { + return static function (...$args) use ($functions) { + foreach ($functions as $fn) { + $fn(...$args); + } + }; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/HandlerStack.php b/vendor/guzzlehttp/guzzle/src/HandlerStack.php new file mode 100644 index 0000000..e0a1d11 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/HandlerStack.php @@ -0,0 +1,275 @@ +push(Middleware::httpErrors(), 'http_errors'); + $stack->push(Middleware::redirect(), 'allow_redirects'); + $stack->push(Middleware::cookies(), 'cookies'); + $stack->push(Middleware::prepareBody(), 'prepare_body'); + + return $stack; + } + + /** + * @param (callable(RequestInterface, array): PromiseInterface)|null $handler Underlying HTTP handler. + */ + public function __construct(callable $handler = null) + { + $this->handler = $handler; + } + + /** + * Invokes the handler stack as a composed handler + * + * @return ResponseInterface|PromiseInterface + */ + public function __invoke(RequestInterface $request, array $options) + { + $handler = $this->resolve(); + + return $handler($request, $options); + } + + /** + * Dumps a string representation of the stack. + * + * @return string + */ + public function __toString() + { + $depth = 0; + $stack = []; + + if ($this->handler !== null) { + $stack[] = "0) Handler: " . $this->debugCallable($this->handler); + } + + $result = ''; + foreach (\array_reverse($this->stack) as $tuple) { + $depth++; + $str = "{$depth}) Name: '{$tuple[1]}', "; + $str .= "Function: " . $this->debugCallable($tuple[0]); + $result = "> {$str}\n{$result}"; + $stack[] = $str; + } + + foreach (\array_keys($stack) as $k) { + $result .= "< {$stack[$k]}\n"; + } + + return $result; + } + + /** + * Set the HTTP handler that actually returns a promise. + * + * @param callable(RequestInterface, array): PromiseInterface $handler Accepts a request and array of options and + * returns a Promise. + */ + public function setHandler(callable $handler): void + { + $this->handler = $handler; + $this->cached = null; + } + + /** + * Returns true if the builder has a handler. + */ + public function hasHandler(): bool + { + return $this->handler !== null ; + } + + /** + * Unshift a middleware to the bottom of the stack. + * + * @param callable(callable): callable $middleware Middleware function + * @param string $name Name to register for this middleware. + */ + public function unshift(callable $middleware, ?string $name = null): void + { + \array_unshift($this->stack, [$middleware, $name]); + $this->cached = null; + } + + /** + * Push a middleware to the top of the stack. + * + * @param callable(callable): callable $middleware Middleware function + * @param string $name Name to register for this middleware. + */ + public function push(callable $middleware, string $name = ''): void + { + $this->stack[] = [$middleware, $name]; + $this->cached = null; + } + + /** + * Add a middleware before another middleware by name. + * + * @param string $findName Middleware to find + * @param callable(callable): callable $middleware Middleware function + * @param string $withName Name to register for this middleware. + */ + public function before(string $findName, callable $middleware, string $withName = ''): void + { + $this->splice($findName, $withName, $middleware, true); + } + + /** + * Add a middleware after another middleware by name. + * + * @param string $findName Middleware to find + * @param callable(callable): callable $middleware Middleware function + * @param string $withName Name to register for this middleware. + */ + public function after(string $findName, callable $middleware, string $withName = ''): void + { + $this->splice($findName, $withName, $middleware, false); + } + + /** + * Remove a middleware by instance or name from the stack. + * + * @param callable|string $remove Middleware to remove by instance or name. + */ + public function remove($remove): void + { + if (!is_string($remove) && !is_callable($remove)) { + trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing a callable or string to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__); + } + + $this->cached = null; + $idx = \is_callable($remove) ? 0 : 1; + $this->stack = \array_values(\array_filter( + $this->stack, + static function ($tuple) use ($idx, $remove) { + return $tuple[$idx] !== $remove; + } + )); + } + + /** + * Compose the middleware and handler into a single callable function. + * + * @return callable(RequestInterface, array): PromiseInterface + */ + public function resolve(): callable + { + if ($this->cached === null) { + if (($prev = $this->handler) === null) { + throw new \LogicException('No handler has been specified'); + } + + foreach (\array_reverse($this->stack) as $fn) { + /** @var callable(RequestInterface, array): PromiseInterface $prev */ + $prev = $fn[0]($prev); + } + + $this->cached = $prev; + } + + return $this->cached; + } + + private function findByName(string $name): int + { + foreach ($this->stack as $k => $v) { + if ($v[1] === $name) { + return $k; + } + } + + throw new \InvalidArgumentException("Middleware not found: $name"); + } + + /** + * Splices a function into the middleware list at a specific position. + */ + private function splice(string $findName, string $withName, callable $middleware, bool $before): void + { + $this->cached = null; + $idx = $this->findByName($findName); + $tuple = [$middleware, $withName]; + + if ($before) { + if ($idx === 0) { + \array_unshift($this->stack, $tuple); + } else { + $replacement = [$tuple, $this->stack[$idx]]; + \array_splice($this->stack, $idx, 1, $replacement); + } + } elseif ($idx === \count($this->stack) - 1) { + $this->stack[] = $tuple; + } else { + $replacement = [$this->stack[$idx], $tuple]; + \array_splice($this->stack, $idx, 1, $replacement); + } + } + + /** + * Provides a debug string for a given callable. + * + * @param callable|string $fn Function to write as a string. + */ + private function debugCallable($fn): string + { + if (\is_string($fn)) { + return "callable({$fn})"; + } + + if (\is_array($fn)) { + return \is_string($fn[0]) + ? "callable({$fn[0]}::{$fn[1]})" + : "callable(['" . \get_class($fn[0]) . "', '{$fn[1]}'])"; + } + + /** @var object $fn */ + return 'callable(' . \spl_object_hash($fn) . ')'; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/MessageFormatter.php b/vendor/guzzlehttp/guzzle/src/MessageFormatter.php new file mode 100644 index 0000000..da49954 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/MessageFormatter.php @@ -0,0 +1,198 @@ +>>>>>>>\n{request}\n<<<<<<<<\n{response}\n--------\n{error}"; + public const SHORT = '[{ts}] "{method} {target} HTTP/{version}" {code}'; + + /** + * @var string Template used to format log messages + */ + private $template; + + /** + * @param string $template Log message template + */ + public function __construct(?string $template = self::CLF) + { + $this->template = $template ?: self::CLF; + } + + /** + * Returns a formatted message string. + * + * @param RequestInterface $request Request that was sent + * @param ResponseInterface|null $response Response that was received + * @param \Throwable|null $error Exception that was received + */ + public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string + { + $cache = []; + + /** @var string */ + return \preg_replace_callback( + '/{\s*([A-Za-z_\-\.0-9]+)\s*}/', + function (array $matches) use ($request, $response, $error, &$cache) { + if (isset($cache[$matches[1]])) { + return $cache[$matches[1]]; + } + + $result = ''; + switch ($matches[1]) { + case 'request': + $result = Psr7\Message::toString($request); + break; + case 'response': + $result = $response ? Psr7\Message::toString($response) : ''; + break; + case 'req_headers': + $result = \trim($request->getMethod() + . ' ' . $request->getRequestTarget()) + . ' HTTP/' . $request->getProtocolVersion() . "\r\n" + . $this->headers($request); + break; + case 'res_headers': + $result = $response ? + \sprintf( + 'HTTP/%s %d %s', + $response->getProtocolVersion(), + $response->getStatusCode(), + $response->getReasonPhrase() + ) . "\r\n" . $this->headers($response) + : 'NULL'; + break; + case 'req_body': + $result = $request->getBody()->__toString(); + break; + case 'res_body': + if (!$response instanceof ResponseInterface) { + $result = 'NULL'; + break; + } + + $body = $response->getBody(); + + if (!$body->isSeekable()) { + $result = 'RESPONSE_NOT_LOGGEABLE'; + break; + } + + $result = $response->getBody()->__toString(); + break; + case 'ts': + case 'date_iso_8601': + $result = \gmdate('c'); + break; + case 'date_common_log': + $result = \date('d/M/Y:H:i:s O'); + break; + case 'method': + $result = $request->getMethod(); + break; + case 'version': + $result = $request->getProtocolVersion(); + break; + case 'uri': + case 'url': + $result = $request->getUri()->__toString(); + break; + case 'target': + $result = $request->getRequestTarget(); + break; + case 'req_version': + $result = $request->getProtocolVersion(); + break; + case 'res_version': + $result = $response + ? $response->getProtocolVersion() + : 'NULL'; + break; + case 'host': + $result = $request->getHeaderLine('Host'); + break; + case 'hostname': + $result = \gethostname(); + break; + case 'code': + $result = $response ? $response->getStatusCode() : 'NULL'; + break; + case 'phrase': + $result = $response ? $response->getReasonPhrase() : 'NULL'; + break; + case 'error': + $result = $error ? $error->getMessage() : 'NULL'; + break; + default: + // handle prefixed dynamic headers + if (\strpos($matches[1], 'req_header_') === 0) { + $result = $request->getHeaderLine(\substr($matches[1], 11)); + } elseif (\strpos($matches[1], 'res_header_') === 0) { + $result = $response + ? $response->getHeaderLine(\substr($matches[1], 11)) + : 'NULL'; + } + } + + $cache[$matches[1]] = $result; + return $result; + }, + $this->template + ); + } + + /** + * Get headers from message as string + */ + private function headers(MessageInterface $message): string + { + $result = ''; + foreach ($message->getHeaders() as $name => $values) { + $result .= $name . ': ' . \implode(', ', $values) . "\r\n"; + } + + return \trim($result); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php b/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php new file mode 100644 index 0000000..a39ac24 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php @@ -0,0 +1,18 @@ +withCookieHeader($request); + return $handler($request, $options) + ->then( + static function (ResponseInterface $response) use ($cookieJar, $request): ResponseInterface { + $cookieJar->extractCookies($request, $response); + return $response; + } + ); + }; + }; + } + + /** + * Middleware that throws exceptions for 4xx or 5xx responses when the + * "http_errors" request option is set to true. + * + * @param BodySummarizerInterface|null $bodySummarizer The body summarizer to use in exception messages. + * + * @return callable(callable): callable Returns a function that accepts the next handler. + */ + public static function httpErrors(BodySummarizerInterface $bodySummarizer = null): callable + { + return static function (callable $handler) use ($bodySummarizer): callable { + return static function ($request, array $options) use ($handler, $bodySummarizer) { + if (empty($options['http_errors'])) { + return $handler($request, $options); + } + return $handler($request, $options)->then( + static function (ResponseInterface $response) use ($request, $bodySummarizer) { + $code = $response->getStatusCode(); + if ($code < 400) { + return $response; + } + throw RequestException::create($request, $response, null, [], $bodySummarizer); + } + ); + }; + }; + } + + /** + * Middleware that pushes history data to an ArrayAccess container. + * + * @param array|\ArrayAccess $container Container to hold the history (by reference). + * + * @return callable(callable): callable Returns a function that accepts the next handler. + * + * @throws \InvalidArgumentException if container is not an array or ArrayAccess. + */ + public static function history(&$container): callable + { + if (!\is_array($container) && !$container instanceof \ArrayAccess) { + throw new \InvalidArgumentException('history container must be an array or object implementing ArrayAccess'); + } + + return static function (callable $handler) use (&$container): callable { + return static function (RequestInterface $request, array $options) use ($handler, &$container) { + return $handler($request, $options)->then( + static function ($value) use ($request, &$container, $options) { + $container[] = [ + 'request' => $request, + 'response' => $value, + 'error' => null, + 'options' => $options + ]; + return $value; + }, + static function ($reason) use ($request, &$container, $options) { + $container[] = [ + 'request' => $request, + 'response' => null, + 'error' => $reason, + 'options' => $options + ]; + return P\Create::rejectionFor($reason); + } + ); + }; + }; + } + + /** + * Middleware that invokes a callback before and after sending a request. + * + * The provided listener cannot modify or alter the response. It simply + * "taps" into the chain to be notified before returning the promise. The + * before listener accepts a request and options array, and the after + * listener accepts a request, options array, and response promise. + * + * @param callable $before Function to invoke before forwarding the request. + * @param callable $after Function invoked after forwarding. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function tap(callable $before = null, callable $after = null): callable + { + return static function (callable $handler) use ($before, $after): callable { + return static function (RequestInterface $request, array $options) use ($handler, $before, $after) { + if ($before) { + $before($request, $options); + } + $response = $handler($request, $options); + if ($after) { + $after($request, $options, $response); + } + return $response; + }; + }; + } + + /** + * Middleware that handles request redirects. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function redirect(): callable + { + return static function (callable $handler): RedirectMiddleware { + return new RedirectMiddleware($handler); + }; + } + + /** + * Middleware that retries requests based on the boolean result of + * invoking the provided "decider" function. + * + * If no delay function is provided, a simple implementation of exponential + * backoff will be utilized. + * + * @param callable $decider Function that accepts the number of retries, + * a request, [response], and [exception] and + * returns true if the request is to be retried. + * @param callable $delay Function that accepts the number of retries and + * returns the number of milliseconds to delay. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function retry(callable $decider, callable $delay = null): callable + { + return static function (callable $handler) use ($decider, $delay): RetryMiddleware { + return new RetryMiddleware($decider, $handler, $delay); + }; + } + + /** + * Middleware that logs requests, responses, and errors using a message + * formatter. + * + * @phpstan-param \Psr\Log\LogLevel::* $logLevel Level at which to log requests. + * + * @param LoggerInterface $logger Logs messages. + * @param MessageFormatterInterface|MessageFormatter $formatter Formatter used to create message strings. + * @param string $logLevel Level at which to log requests. + * + * @return callable Returns a function that accepts the next handler. + */ + public static function log(LoggerInterface $logger, $formatter, string $logLevel = 'info'): callable + { + // To be compatible with Guzzle 7.1.x we need to allow users to pass a MessageFormatter + if (!$formatter instanceof MessageFormatter && !$formatter instanceof MessageFormatterInterface) { + throw new \LogicException(sprintf('Argument 2 to %s::log() must be of type %s', self::class, MessageFormatterInterface::class)); + } + + return static function (callable $handler) use ($logger, $formatter, $logLevel): callable { + return static function (RequestInterface $request, array $options = []) use ($handler, $logger, $formatter, $logLevel) { + return $handler($request, $options)->then( + static function ($response) use ($logger, $request, $formatter, $logLevel): ResponseInterface { + $message = $formatter->format($request, $response); + $logger->log($logLevel, $message); + return $response; + }, + static function ($reason) use ($logger, $request, $formatter): PromiseInterface { + $response = $reason instanceof RequestException ? $reason->getResponse() : null; + $message = $formatter->format($request, $response, P\Create::exceptionFor($reason)); + $logger->error($message); + return P\Create::rejectionFor($reason); + } + ); + }; + }; + } + + /** + * This middleware adds a default content-type if possible, a default + * content-length or transfer-encoding header, and the expect header. + */ + public static function prepareBody(): callable + { + return static function (callable $handler): PrepareBodyMiddleware { + return new PrepareBodyMiddleware($handler); + }; + } + + /** + * Middleware that applies a map function to the request before passing to + * the next handler. + * + * @param callable $fn Function that accepts a RequestInterface and returns + * a RequestInterface. + */ + public static function mapRequest(callable $fn): callable + { + return static function (callable $handler) use ($fn): callable { + return static function (RequestInterface $request, array $options) use ($handler, $fn) { + return $handler($fn($request), $options); + }; + }; + } + + /** + * Middleware that applies a map function to the resolved promise's + * response. + * + * @param callable $fn Function that accepts a ResponseInterface and + * returns a ResponseInterface. + */ + public static function mapResponse(callable $fn): callable + { + return static function (callable $handler) use ($fn): callable { + return static function (RequestInterface $request, array $options) use ($handler, $fn) { + return $handler($request, $options)->then($fn); + }; + }; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Pool.php b/vendor/guzzlehttp/guzzle/src/Pool.php new file mode 100644 index 0000000..6277c61 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Pool.php @@ -0,0 +1,125 @@ + $rfn) { + if ($rfn instanceof RequestInterface) { + yield $key => $client->sendAsync($rfn, $opts); + } elseif (\is_callable($rfn)) { + yield $key => $rfn($opts); + } else { + throw new \InvalidArgumentException('Each value yielded by the iterator must be a Psr7\Http\Message\RequestInterface or a callable that returns a promise that fulfills with a Psr7\Message\Http\ResponseInterface object.'); + } + } + }; + + $this->each = new EachPromise($requests(), $config); + } + + /** + * Get promise + */ + public function promise(): PromiseInterface + { + return $this->each->promise(); + } + + /** + * Sends multiple requests concurrently and returns an array of responses + * and exceptions that uses the same ordering as the provided requests. + * + * IMPORTANT: This method keeps every request and response in memory, and + * as such, is NOT recommended when sending a large number or an + * indeterminate number of requests concurrently. + * + * @param ClientInterface $client Client used to send the requests + * @param array|\Iterator $requests Requests to send concurrently. + * @param array $options Passes through the options available in + * {@see \GuzzleHttp\Pool::__construct} + * + * @return array Returns an array containing the response or an exception + * in the same order that the requests were sent. + * + * @throws \InvalidArgumentException if the event format is incorrect. + */ + public static function batch(ClientInterface $client, $requests, array $options = []): array + { + $res = []; + self::cmpCallback($options, 'fulfilled', $res); + self::cmpCallback($options, 'rejected', $res); + $pool = new static($client, $requests, $options); + $pool->promise()->wait(); + \ksort($res); + + return $res; + } + + /** + * Execute callback(s) + */ + private static function cmpCallback(array &$options, string $name, array &$results): void + { + if (!isset($options[$name])) { + $options[$name] = static function ($v, $k) use (&$results) { + $results[$k] = $v; + }; + } else { + $currentFn = $options[$name]; + $options[$name] = static function ($v, $k) use (&$results, $currentFn) { + $currentFn($v, $k); + $results[$k] = $v; + }; + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php b/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php new file mode 100644 index 0000000..7ca6283 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php @@ -0,0 +1,104 @@ +nextHandler = $nextHandler; + } + + public function __invoke(RequestInterface $request, array $options): PromiseInterface + { + $fn = $this->nextHandler; + + // Don't do anything if the request has no body. + if ($request->getBody()->getSize() === 0) { + return $fn($request, $options); + } + + $modify = []; + + // Add a default content-type if possible. + if (!$request->hasHeader('Content-Type')) { + if ($uri = $request->getBody()->getMetadata('uri')) { + if (is_string($uri) && $type = Psr7\MimeType::fromFilename($uri)) { + $modify['set_headers']['Content-Type'] = $type; + } + } + } + + // Add a default content-length or transfer-encoding header. + if (!$request->hasHeader('Content-Length') + && !$request->hasHeader('Transfer-Encoding') + ) { + $size = $request->getBody()->getSize(); + if ($size !== null) { + $modify['set_headers']['Content-Length'] = $size; + } else { + $modify['set_headers']['Transfer-Encoding'] = 'chunked'; + } + } + + // Add the expect header if needed. + $this->addExpectHeader($request, $options, $modify); + + return $fn(Psr7\Utils::modifyRequest($request, $modify), $options); + } + + /** + * Add expect header + */ + private function addExpectHeader(RequestInterface $request, array $options, array &$modify): void + { + // Determine if the Expect header should be used + if ($request->hasHeader('Expect')) { + return; + } + + $expect = $options['expect'] ?? null; + + // Return if disabled or if you're not using HTTP/1.1 or HTTP/2.0 + if ($expect === false || $request->getProtocolVersion() < 1.1) { + return; + } + + // The expect header is unconditionally enabled + if ($expect === true) { + $modify['set_headers']['Expect'] = '100-Continue'; + return; + } + + // By default, send the expect header when the payload is > 1mb + if ($expect === null) { + $expect = 1048576; + } + + // Always add if the body cannot be rewound, the size cannot be + // determined, or the size is greater than the cutoff threshold + $body = $request->getBody(); + $size = $body->getSize(); + + if ($size === null || $size >= (int) $expect || !$body->isSeekable()) { + $modify['set_headers']['Expect'] = '100-Continue'; + } + } +} diff --git a/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php b/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php new file mode 100644 index 0000000..89c0652 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php @@ -0,0 +1,226 @@ + 5, + 'protocols' => ['http', 'https'], + 'strict' => false, + 'referer' => false, + 'track_redirects' => false, + ]; + + /** + * @var callable(RequestInterface, array): PromiseInterface + */ + private $nextHandler; + + /** + * @param callable(RequestInterface, array): PromiseInterface $nextHandler Next handler to invoke. + */ + public function __construct(callable $nextHandler) + { + $this->nextHandler = $nextHandler; + } + + public function __invoke(RequestInterface $request, array $options): PromiseInterface + { + $fn = $this->nextHandler; + + if (empty($options['allow_redirects'])) { + return $fn($request, $options); + } + + if ($options['allow_redirects'] === true) { + $options['allow_redirects'] = self::$defaultSettings; + } elseif (!\is_array($options['allow_redirects'])) { + throw new \InvalidArgumentException('allow_redirects must be true, false, or array'); + } else { + // Merge the default settings with the provided settings + $options['allow_redirects'] += self::$defaultSettings; + } + + if (empty($options['allow_redirects']['max'])) { + return $fn($request, $options); + } + + return $fn($request, $options) + ->then(function (ResponseInterface $response) use ($request, $options) { + return $this->checkRedirect($request, $options, $response); + }); + } + + /** + * @return ResponseInterface|PromiseInterface + */ + public function checkRedirect(RequestInterface $request, array $options, ResponseInterface $response) + { + if (\strpos((string) $response->getStatusCode(), '3') !== 0 + || !$response->hasHeader('Location') + ) { + return $response; + } + + $this->guardMax($request, $response, $options); + $nextRequest = $this->modifyRequest($request, $options, $response); + + // If authorization is handled by curl, unset it if host is different. + if ($request->getUri()->getHost() !== $nextRequest->getUri()->getHost() + && defined('\CURLOPT_HTTPAUTH') + ) { + unset( + $options['curl'][\CURLOPT_HTTPAUTH], + $options['curl'][\CURLOPT_USERPWD] + ); + } + + if (isset($options['allow_redirects']['on_redirect'])) { + ($options['allow_redirects']['on_redirect'])( + $request, + $response, + $nextRequest->getUri() + ); + } + + $promise = $this($nextRequest, $options); + + // Add headers to be able to track history of redirects. + if (!empty($options['allow_redirects']['track_redirects'])) { + return $this->withTracking( + $promise, + (string) $nextRequest->getUri(), + $response->getStatusCode() + ); + } + + return $promise; + } + + /** + * Enable tracking on promise. + */ + private function withTracking(PromiseInterface $promise, string $uri, int $statusCode): PromiseInterface + { + return $promise->then( + static function (ResponseInterface $response) use ($uri, $statusCode) { + // Note that we are pushing to the front of the list as this + // would be an earlier response than what is currently present + // in the history header. + $historyHeader = $response->getHeader(self::HISTORY_HEADER); + $statusHeader = $response->getHeader(self::STATUS_HISTORY_HEADER); + \array_unshift($historyHeader, $uri); + \array_unshift($statusHeader, (string) $statusCode); + + return $response->withHeader(self::HISTORY_HEADER, $historyHeader) + ->withHeader(self::STATUS_HISTORY_HEADER, $statusHeader); + } + ); + } + + /** + * Check for too many redirects + * + * @throws TooManyRedirectsException Too many redirects. + */ + private function guardMax(RequestInterface $request, ResponseInterface $response, array &$options): void + { + $current = $options['__redirect_count'] + ?? 0; + $options['__redirect_count'] = $current + 1; + $max = $options['allow_redirects']['max']; + + if ($options['__redirect_count'] > $max) { + throw new TooManyRedirectsException("Will not follow more than {$max} redirects", $request, $response); + } + } + + public function modifyRequest(RequestInterface $request, array $options, ResponseInterface $response): RequestInterface + { + // Request modifications to apply. + $modify = []; + $protocols = $options['allow_redirects']['protocols']; + + // Use a GET request if this is an entity enclosing request and we are + // not forcing RFC compliance, but rather emulating what all browsers + // would do. + $statusCode = $response->getStatusCode(); + if ($statusCode == 303 || + ($statusCode <= 302 && !$options['allow_redirects']['strict']) + ) { + $safeMethods = ['GET', 'HEAD', 'OPTIONS']; + $requestMethod = $request->getMethod(); + + $modify['method'] = in_array($requestMethod, $safeMethods) ? $requestMethod : 'GET'; + $modify['body'] = ''; + } + + $uri = $this->redirectUri($request, $response, $protocols); + if (isset($options['idn_conversion']) && ($options['idn_conversion'] !== false)) { + $idnOptions = ($options['idn_conversion'] === true) ? \IDNA_DEFAULT : $options['idn_conversion']; + $uri = Utils::idnUriConvert($uri, $idnOptions); + } + + $modify['uri'] = $uri; + Psr7\Message::rewindBody($request); + + // Add the Referer header if it is told to do so and only + // add the header if we are not redirecting from https to http. + if ($options['allow_redirects']['referer'] + && $modify['uri']->getScheme() === $request->getUri()->getScheme() + ) { + $uri = $request->getUri()->withUserInfo(''); + $modify['set_headers']['Referer'] = (string) $uri; + } else { + $modify['remove_headers'][] = 'Referer'; + } + + // Remove Authorization header if host is different. + if ($request->getUri()->getHost() !== $modify['uri']->getHost()) { + $modify['remove_headers'][] = 'Authorization'; + } + + return Psr7\Utils::modifyRequest($request, $modify); + } + + /** + * Set the appropriate URL on the request based on the location header + */ + private function redirectUri(RequestInterface $request, ResponseInterface $response, array $protocols): UriInterface + { + $location = Psr7\UriResolver::resolve( + $request->getUri(), + new Psr7\Uri($response->getHeaderLine('Location')) + ); + + // Ensure that the redirect URI is allowed based on the protocols. + if (!\in_array($location->getScheme(), $protocols)) { + throw new BadResponseException(\sprintf('Redirect URI, %s, does not use one of the allowed redirect protocols: %s', $location, \implode(', ', $protocols)), $request, $response); + } + + return $location; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/RequestOptions.php b/vendor/guzzlehttp/guzzle/src/RequestOptions.php new file mode 100644 index 0000000..20b31bc --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/RequestOptions.php @@ -0,0 +1,264 @@ +decider = $decider; + $this->nextHandler = $nextHandler; + $this->delay = $delay ?: __CLASS__ . '::exponentialDelay'; + } + + /** + * Default exponential backoff delay function. + * + * @return int milliseconds. + */ + public static function exponentialDelay(int $retries): int + { + return (int) \pow(2, $retries - 1) * 1000; + } + + public function __invoke(RequestInterface $request, array $options): PromiseInterface + { + if (!isset($options['retries'])) { + $options['retries'] = 0; + } + + $fn = $this->nextHandler; + return $fn($request, $options) + ->then( + $this->onFulfilled($request, $options), + $this->onRejected($request, $options) + ); + } + + /** + * Execute fulfilled closure + */ + private function onFulfilled(RequestInterface $request, array $options): callable + { + return function ($value) use ($request, $options) { + if (!($this->decider)( + $options['retries'], + $request, + $value, + null + )) { + return $value; + } + return $this->doRetry($request, $options, $value); + }; + } + + /** + * Execute rejected closure + */ + private function onRejected(RequestInterface $req, array $options): callable + { + return function ($reason) use ($req, $options) { + if (!($this->decider)( + $options['retries'], + $req, + null, + $reason + )) { + return P\Create::rejectionFor($reason); + } + return $this->doRetry($req, $options); + }; + } + + private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null): PromiseInterface + { + $options['delay'] = ($this->delay)(++$options['retries'], $response); + + return $this($request, $options); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/TransferStats.php b/vendor/guzzlehttp/guzzle/src/TransferStats.php new file mode 100644 index 0000000..93fa334 --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/TransferStats.php @@ -0,0 +1,133 @@ +request = $request; + $this->response = $response; + $this->transferTime = $transferTime; + $this->handlerErrorData = $handlerErrorData; + $this->handlerStats = $handlerStats; + } + + public function getRequest(): RequestInterface + { + return $this->request; + } + + /** + * Returns the response that was received (if any). + */ + public function getResponse(): ?ResponseInterface + { + return $this->response; + } + + /** + * Returns true if a response was received. + */ + public function hasResponse(): bool + { + return $this->response !== null; + } + + /** + * Gets handler specific error data. + * + * This might be an exception, a integer representing an error code, or + * anything else. Relying on this value assumes that you know what handler + * you are using. + * + * @return mixed + */ + public function getHandlerErrorData() + { + return $this->handlerErrorData; + } + + /** + * Get the effective URI the request was sent to. + */ + public function getEffectiveUri(): UriInterface + { + return $this->request->getUri(); + } + + /** + * Get the estimated time the request was being transferred by the handler. + * + * @return float|null Time in seconds. + */ + public function getTransferTime(): ?float + { + return $this->transferTime; + } + + /** + * Gets an array of all of the handler specific transfer data. + */ + public function getHandlerStats(): array + { + return $this->handlerStats; + } + + /** + * Get a specific handler statistic from the handler by name. + * + * @param string $stat Handler specific transfer stat to retrieve. + * + * @return mixed|null + */ + public function getHandlerStat(string $stat) + { + return $this->handlerStats[$stat] ?? null; + } +} diff --git a/vendor/guzzlehttp/guzzle/src/Utils.php b/vendor/guzzlehttp/guzzle/src/Utils.php new file mode 100644 index 0000000..91591da --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/Utils.php @@ -0,0 +1,382 @@ +getHost()) { + $asciiHost = self::idnToAsci($uri->getHost(), $options, $info); + if ($asciiHost === false) { + $errorBitSet = $info['errors'] ?? 0; + + $errorConstants = array_filter(array_keys(get_defined_constants()), static function (string $name): bool { + return substr($name, 0, 11) === 'IDNA_ERROR_'; + }); + + $errors = []; + foreach ($errorConstants as $errorConstant) { + if ($errorBitSet & constant($errorConstant)) { + $errors[] = $errorConstant; + } + } + + $errorMessage = 'IDN conversion failed'; + if ($errors) { + $errorMessage .= ' (errors: ' . implode(', ', $errors) . ')'; + } + + throw new InvalidArgumentException($errorMessage); + } + if ($uri->getHost() !== $asciiHost) { + // Replace URI only if the ASCII version is different + $uri = $uri->withHost($asciiHost); + } + } + + return $uri; + } + + /** + * @internal + */ + public static function getenv(string $name): ?string + { + if (isset($_SERVER[$name])) { + return (string) $_SERVER[$name]; + } + + if (\PHP_SAPI === 'cli' && ($value = \getenv($name)) !== false && $value !== null) { + return (string) $value; + } + + return null; + } + + /** + * @return string|false + */ + private static function idnToAsci(string $domain, int $options, ?array &$info = []) + { + if (\function_exists('idn_to_ascii') && \defined('INTL_IDNA_VARIANT_UTS46')) { + return \idn_to_ascii($domain, $options, \INTL_IDNA_VARIANT_UTS46, $info); + } + + throw new \Error('ext-idn or symfony/polyfill-intl-idn not loaded or too old'); + } +} diff --git a/vendor/guzzlehttp/guzzle/src/functions.php b/vendor/guzzlehttp/guzzle/src/functions.php new file mode 100644 index 0000000..a70d2cb --- /dev/null +++ b/vendor/guzzlehttp/guzzle/src/functions.php @@ -0,0 +1,167 @@ + +Copyright (c) 2015 Graham Campbell +Copyright (c) 2017 Tobias Schultze +Copyright (c) 2020 Tobias Nyholm + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/vendor/guzzlehttp/promises/Makefile b/vendor/guzzlehttp/promises/Makefile new file mode 100644 index 0000000..8d5b3ef --- /dev/null +++ b/vendor/guzzlehttp/promises/Makefile @@ -0,0 +1,13 @@ +all: clean test + +test: + vendor/bin/phpunit + +coverage: + vendor/bin/phpunit --coverage-html=artifacts/coverage + +view-coverage: + open artifacts/coverage/index.html + +clean: + rm -rf artifacts/* diff --git a/vendor/guzzlehttp/promises/README.md b/vendor/guzzlehttp/promises/README.md new file mode 100644 index 0000000..c175fec --- /dev/null +++ b/vendor/guzzlehttp/promises/README.md @@ -0,0 +1,547 @@ +# Guzzle Promises + +[Promises/A+](https://promisesaplus.com/) implementation that handles promise +chaining and resolution iteratively, allowing for "infinite" promise chaining +while keeping the stack size constant. Read [this blog post](https://blog.domenic.me/youre-missing-the-point-of-promises/) +for a general introduction to promises. + +- [Features](#features) +- [Quick start](#quick-start) +- [Synchronous wait](#synchronous-wait) +- [Cancellation](#cancellation) +- [API](#api) + - [Promise](#promise) + - [FulfilledPromise](#fulfilledpromise) + - [RejectedPromise](#rejectedpromise) +- [Promise interop](#promise-interop) +- [Implementation notes](#implementation-notes) + + +# Features + +- [Promises/A+](https://promisesaplus.com/) implementation. +- Promise resolution and chaining is handled iteratively, allowing for + "infinite" promise chaining. +- Promises have a synchronous `wait` method. +- Promises can be cancelled. +- Works with any object that has a `then` function. +- C# style async/await coroutine promises using + `GuzzleHttp\Promise\Coroutine::of()`. + + +# Quick start + +A *promise* represents the eventual result of an asynchronous operation. The +primary way of interacting with a promise is through its `then` method, which +registers callbacks to receive either a promise's eventual value or the reason +why the promise cannot be fulfilled. + + +## Callbacks + +Callbacks are registered with the `then` method by providing an optional +`$onFulfilled` followed by an optional `$onRejected` function. + + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise->then( + // $onFulfilled + function ($value) { + echo 'The promise was fulfilled.'; + }, + // $onRejected + function ($reason) { + echo 'The promise was rejected.'; + } +); +``` + +*Resolving* a promise means that you either fulfill a promise with a *value* or +reject a promise with a *reason*. Resolving a promises triggers callbacks +registered with the promises's `then` method. These callbacks are triggered +only once and in the order in which they were added. + + +## Resolving a promise + +Promises are fulfilled using the `resolve($value)` method. Resolving a promise +with any value other than a `GuzzleHttp\Promise\RejectedPromise` will trigger +all of the onFulfilled callbacks (resolving a promise with a rejected promise +will reject the promise and trigger the `$onRejected` callbacks). + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise + ->then(function ($value) { + // Return a value and don't break the chain + return "Hello, " . $value; + }) + // This then is executed after the first then and receives the value + // returned from the first then. + ->then(function ($value) { + echo $value; + }); + +// Resolving the promise triggers the $onFulfilled callbacks and outputs +// "Hello, reader." +$promise->resolve('reader.'); +``` + + +## Promise forwarding + +Promises can be chained one after the other. Each then in the chain is a new +promise. The return value of a promise is what's forwarded to the next +promise in the chain. Returning a promise in a `then` callback will cause the +subsequent promises in the chain to only be fulfilled when the returned promise +has been fulfilled. The next promise in the chain will be invoked with the +resolved value of the promise. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$nextPromise = new Promise(); + +$promise + ->then(function ($value) use ($nextPromise) { + echo $value; + return $nextPromise; + }) + ->then(function ($value) { + echo $value; + }); + +// Triggers the first callback and outputs "A" +$promise->resolve('A'); +// Triggers the second callback and outputs "B" +$nextPromise->resolve('B'); +``` + +## Promise rejection + +When a promise is rejected, the `$onRejected` callbacks are invoked with the +rejection reason. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise->then(null, function ($reason) { + echo $reason; +}); + +$promise->reject('Error!'); +// Outputs "Error!" +``` + +## Rejection forwarding + +If an exception is thrown in an `$onRejected` callback, subsequent +`$onRejected` callbacks are invoked with the thrown exception as the reason. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise->then(null, function ($reason) { + throw new Exception($reason); +})->then(null, function ($reason) { + assert($reason->getMessage() === 'Error!'); +}); + +$promise->reject('Error!'); +``` + +You can also forward a rejection down the promise chain by returning a +`GuzzleHttp\Promise\RejectedPromise` in either an `$onFulfilled` or +`$onRejected` callback. + +```php +use GuzzleHttp\Promise\Promise; +use GuzzleHttp\Promise\RejectedPromise; + +$promise = new Promise(); +$promise->then(null, function ($reason) { + return new RejectedPromise($reason); +})->then(null, function ($reason) { + assert($reason === 'Error!'); +}); + +$promise->reject('Error!'); +``` + +If an exception is not thrown in a `$onRejected` callback and the callback +does not return a rejected promise, downstream `$onFulfilled` callbacks are +invoked using the value returned from the `$onRejected` callback. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise(); +$promise + ->then(null, function ($reason) { + return "It's ok"; + }) + ->then(function ($value) { + assert($value === "It's ok"); + }); + +$promise->reject('Error!'); +``` + +# Synchronous wait + +You can synchronously force promises to complete using a promise's `wait` +method. When creating a promise, you can provide a wait function that is used +to synchronously force a promise to complete. When a wait function is invoked +it is expected to deliver a value to the promise or reject the promise. If the +wait function does not deliver a value, then an exception is thrown. The wait +function provided to a promise constructor is invoked when the `wait` function +of the promise is called. + +```php +$promise = new Promise(function () use (&$promise) { + $promise->resolve('foo'); +}); + +// Calling wait will return the value of the promise. +echo $promise->wait(); // outputs "foo" +``` + +If an exception is encountered while invoking the wait function of a promise, +the promise is rejected with the exception and the exception is thrown. + +```php +$promise = new Promise(function () use (&$promise) { + throw new Exception('foo'); +}); + +$promise->wait(); // throws the exception. +``` + +Calling `wait` on a promise that has been fulfilled will not trigger the wait +function. It will simply return the previously resolved value. + +```php +$promise = new Promise(function () { die('this is not called!'); }); +$promise->resolve('foo'); +echo $promise->wait(); // outputs "foo" +``` + +Calling `wait` on a promise that has been rejected will throw an exception. If +the rejection reason is an instance of `\Exception` the reason is thrown. +Otherwise, a `GuzzleHttp\Promise\RejectionException` is thrown and the reason +can be obtained by calling the `getReason` method of the exception. + +```php +$promise = new Promise(); +$promise->reject('foo'); +$promise->wait(); +``` + +> PHP Fatal error: Uncaught exception 'GuzzleHttp\Promise\RejectionException' with message 'The promise was rejected with value: foo' + + +## Unwrapping a promise + +When synchronously waiting on a promise, you are joining the state of the +promise into the current state of execution (i.e., return the value of the +promise if it was fulfilled or throw an exception if it was rejected). This is +called "unwrapping" the promise. Waiting on a promise will by default unwrap +the promise state. + +You can force a promise to resolve and *not* unwrap the state of the promise +by passing `false` to the first argument of the `wait` function: + +```php +$promise = new Promise(); +$promise->reject('foo'); +// This will not throw an exception. It simply ensures the promise has +// been resolved. +$promise->wait(false); +``` + +When unwrapping a promise, the resolved value of the promise will be waited +upon until the unwrapped value is not a promise. This means that if you resolve +promise A with a promise B and unwrap promise A, the value returned by the +wait function will be the value delivered to promise B. + +**Note**: when you do not unwrap the promise, no value is returned. + + +# Cancellation + +You can cancel a promise that has not yet been fulfilled using the `cancel()` +method of a promise. When creating a promise you can provide an optional +cancel function that when invoked cancels the action of computing a resolution +of the promise. + + +# API + + +## Promise + +When creating a promise object, you can provide an optional `$waitFn` and +`$cancelFn`. `$waitFn` is a function that is invoked with no arguments and is +expected to resolve the promise. `$cancelFn` is a function with no arguments +that is expected to cancel the computation of a promise. It is invoked when the +`cancel()` method of a promise is called. + +```php +use GuzzleHttp\Promise\Promise; + +$promise = new Promise( + function () use (&$promise) { + $promise->resolve('waited'); + }, + function () { + // do something that will cancel the promise computation (e.g., close + // a socket, cancel a database query, etc...) + } +); + +assert('waited' === $promise->wait()); +``` + +A promise has the following methods: + +- `then(callable $onFulfilled, callable $onRejected) : PromiseInterface` + + Appends fulfillment and rejection handlers to the promise, and returns a new promise resolving to the return value of the called handler. + +- `otherwise(callable $onRejected) : PromiseInterface` + + Appends a rejection handler callback to the promise, and returns a new promise resolving to the return value of the callback if it is called, or to its original fulfillment value if the promise is instead fulfilled. + +- `wait($unwrap = true) : mixed` + + Synchronously waits on the promise to complete. + + `$unwrap` controls whether or not the value of the promise is returned for a + fulfilled promise or if an exception is thrown if the promise is rejected. + This is set to `true` by default. + +- `cancel()` + + Attempts to cancel the promise if possible. The promise being cancelled and + the parent most ancestor that has not yet been resolved will also be + cancelled. Any promises waiting on the cancelled promise to resolve will also + be cancelled. + +- `getState() : string` + + Returns the state of the promise. One of `pending`, `fulfilled`, or + `rejected`. + +- `resolve($value)` + + Fulfills the promise with the given `$value`. + +- `reject($reason)` + + Rejects the promise with the given `$reason`. + + +## FulfilledPromise + +A fulfilled promise can be created to represent a promise that has been +fulfilled. + +```php +use GuzzleHttp\Promise\FulfilledPromise; + +$promise = new FulfilledPromise('value'); + +// Fulfilled callbacks are immediately invoked. +$promise->then(function ($value) { + echo $value; +}); +``` + + +## RejectedPromise + +A rejected promise can be created to represent a promise that has been +rejected. + +```php +use GuzzleHttp\Promise\RejectedPromise; + +$promise = new RejectedPromise('Error'); + +// Rejected callbacks are immediately invoked. +$promise->then(null, function ($reason) { + echo $reason; +}); +``` + + +# Promise interop + +This library works with foreign promises that have a `then` method. This means +you can use Guzzle promises with [React promises](https://github.com/reactphp/promise) +for example. When a foreign promise is returned inside of a then method +callback, promise resolution will occur recursively. + +```php +// Create a React promise +$deferred = new React\Promise\Deferred(); +$reactPromise = $deferred->promise(); + +// Create a Guzzle promise that is fulfilled with a React promise. +$guzzlePromise = new GuzzleHttp\Promise\Promise(); +$guzzlePromise->then(function ($value) use ($reactPromise) { + // Do something something with the value... + // Return the React promise + return $reactPromise; +}); +``` + +Please note that wait and cancel chaining is no longer possible when forwarding +a foreign promise. You will need to wrap a third-party promise with a Guzzle +promise in order to utilize wait and cancel functions with foreign promises. + + +## Event Loop Integration + +In order to keep the stack size constant, Guzzle promises are resolved +asynchronously using a task queue. When waiting on promises synchronously, the +task queue will be automatically run to ensure that the blocking promise and +any forwarded promises are resolved. When using promises asynchronously in an +event loop, you will need to run the task queue on each tick of the loop. If +you do not run the task queue, then promises will not be resolved. + +You can run the task queue using the `run()` method of the global task queue +instance. + +```php +// Get the global task queue +$queue = GuzzleHttp\Promise\Utils::queue(); +$queue->run(); +``` + +For example, you could use Guzzle promises with React using a periodic timer: + +```php +$loop = React\EventLoop\Factory::create(); +$loop->addPeriodicTimer(0, [$queue, 'run']); +``` + +*TODO*: Perhaps adding a `futureTick()` on each tick would be faster? + + +# Implementation notes + + +## Promise resolution and chaining is handled iteratively + +By shuffling pending handlers from one owner to another, promises are +resolved iteratively, allowing for "infinite" then chaining. + +```php +then(function ($v) { + // The stack size remains constant (a good thing) + echo xdebug_get_stack_depth() . ', '; + return $v + 1; + }); +} + +$parent->resolve(0); +var_dump($p->wait()); // int(1000) + +``` + +When a promise is fulfilled or rejected with a non-promise value, the promise +then takes ownership of the handlers of each child promise and delivers values +down the chain without using recursion. + +When a promise is resolved with another promise, the original promise transfers +all of its pending handlers to the new promise. When the new promise is +eventually resolved, all of the pending handlers are delivered the forwarded +value. + + +## A promise is the deferred. + +Some promise libraries implement promises using a deferred object to represent +a computation and a promise object to represent the delivery of the result of +the computation. This is a nice separation of computation and delivery because +consumers of the promise cannot modify the value that will be eventually +delivered. + +One side effect of being able to implement promise resolution and chaining +iteratively is that you need to be able for one promise to reach into the state +of another promise to shuffle around ownership of handlers. In order to achieve +this without making the handlers of a promise publicly mutable, a promise is +also the deferred value, allowing promises of the same parent class to reach +into and modify the private properties of promises of the same type. While this +does allow consumers of the value to modify the resolution or rejection of the +deferred, it is a small price to pay for keeping the stack size constant. + +```php +$promise = new Promise(); +$promise->then(function ($value) { echo $value; }); +// The promise is the deferred value, so you can deliver a value to it. +$promise->resolve('foo'); +// prints "foo" +``` + + +## Upgrading from Function API + +A static API was first introduced in 1.4.0, in order to mitigate problems with functions conflicting between global and local copies of the package. The function API will be removed in 2.0.0. A migration table has been provided here for your convenience: + +| Original Function | Replacement Method | +|----------------|----------------| +| `queue` | `Utils::queue` | +| `task` | `Utils::task` | +| `promise_for` | `Create::promiseFor` | +| `rejection_for` | `Create::rejectionFor` | +| `exception_for` | `Create::exceptionFor` | +| `iter_for` | `Create::iterFor` | +| `inspect` | `Utils::inspect` | +| `inspect_all` | `Utils::inspectAll` | +| `unwrap` | `Utils::unwrap` | +| `all` | `Utils::all` | +| `some` | `Utils::some` | +| `any` | `Utils::any` | +| `settle` | `Utils::settle` | +| `each` | `Each::of` | +| `each_limit` | `Each::ofLimit` | +| `each_limit_all` | `Each::ofLimitAll` | +| `!is_fulfilled` | `Is::pending` | +| `is_fulfilled` | `Is::fulfilled` | +| `is_rejected` | `Is::rejected` | +| `is_settled` | `Is::settled` | +| `coroutine` | `Coroutine::of` | + + +## Security + +If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/promises/security/policy) for more information. + +## License + +Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information. + +## For Enterprise + +Available as part of the Tidelift Subscription + +The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-promises?utm_source=packagist-guzzlehttp-promises&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) diff --git a/vendor/guzzlehttp/promises/composer.json b/vendor/guzzlehttp/promises/composer.json new file mode 100644 index 0000000..c959fb3 --- /dev/null +++ b/vendor/guzzlehttp/promises/composer.json @@ -0,0 +1,58 @@ +{ + "name": "guzzlehttp/promises", + "description": "Guzzle promises library", + "keywords": ["promise"], + "license": "MIT", + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + }, + "files": ["src/functions_include.php"] + }, + "autoload-dev": { + "psr-4": { + "GuzzleHttp\\Promise\\Tests\\": "tests/" + } + }, + "scripts": { + "test": "vendor/bin/simple-phpunit", + "test-ci": "vendor/bin/simple-phpunit --coverage-text" + }, + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "config": { + "preferred-install": "dist", + "sort-packages": true + } +} diff --git a/vendor/guzzlehttp/promises/src/AggregateException.php b/vendor/guzzlehttp/promises/src/AggregateException.php new file mode 100644 index 0000000..d2b5712 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/AggregateException.php @@ -0,0 +1,17 @@ +then(function ($v) { echo $v; }); + * + * @param callable $generatorFn Generator function to wrap into a promise. + * + * @return Promise + * + * @link https://github.com/petkaantonov/bluebird/blob/master/API.md#generators inspiration + */ +final class Coroutine implements PromiseInterface +{ + /** + * @var PromiseInterface|null + */ + private $currentPromise; + + /** + * @var Generator + */ + private $generator; + + /** + * @var Promise + */ + private $result; + + public function __construct(callable $generatorFn) + { + $this->generator = $generatorFn(); + $this->result = new Promise(function () { + while (isset($this->currentPromise)) { + $this->currentPromise->wait(); + } + }); + try { + $this->nextCoroutine($this->generator->current()); + } catch (\Exception $exception) { + $this->result->reject($exception); + } catch (Throwable $throwable) { + $this->result->reject($throwable); + } + } + + /** + * Create a new coroutine. + * + * @return self + */ + public static function of(callable $generatorFn) + { + return new self($generatorFn); + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + return $this->result->then($onFulfilled, $onRejected); + } + + public function otherwise(callable $onRejected) + { + return $this->result->otherwise($onRejected); + } + + public function wait($unwrap = true) + { + return $this->result->wait($unwrap); + } + + public function getState() + { + return $this->result->getState(); + } + + public function resolve($value) + { + $this->result->resolve($value); + } + + public function reject($reason) + { + $this->result->reject($reason); + } + + public function cancel() + { + $this->currentPromise->cancel(); + $this->result->cancel(); + } + + private function nextCoroutine($yielded) + { + $this->currentPromise = Create::promiseFor($yielded) + ->then([$this, '_handleSuccess'], [$this, '_handleFailure']); + } + + /** + * @internal + */ + public function _handleSuccess($value) + { + unset($this->currentPromise); + try { + $next = $this->generator->send($value); + if ($this->generator->valid()) { + $this->nextCoroutine($next); + } else { + $this->result->resolve($value); + } + } catch (Exception $exception) { + $this->result->reject($exception); + } catch (Throwable $throwable) { + $this->result->reject($throwable); + } + } + + /** + * @internal + */ + public function _handleFailure($reason) + { + unset($this->currentPromise); + try { + $nextYield = $this->generator->throw(Create::exceptionFor($reason)); + // The throw was caught, so keep iterating on the coroutine + $this->nextCoroutine($nextYield); + } catch (Exception $exception) { + $this->result->reject($exception); + } catch (Throwable $throwable) { + $this->result->reject($throwable); + } + } +} diff --git a/vendor/guzzlehttp/promises/src/Create.php b/vendor/guzzlehttp/promises/src/Create.php new file mode 100644 index 0000000..8d038e9 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/Create.php @@ -0,0 +1,84 @@ +then([$promise, 'resolve'], [$promise, 'reject']); + return $promise; + } + + return new FulfilledPromise($value); + } + + /** + * Creates a rejected promise for a reason if the reason is not a promise. + * If the provided reason is a promise, then it is returned as-is. + * + * @param mixed $reason Promise or reason. + * + * @return PromiseInterface + */ + public static function rejectionFor($reason) + { + if ($reason instanceof PromiseInterface) { + return $reason; + } + + return new RejectedPromise($reason); + } + + /** + * Create an exception for a rejected promise value. + * + * @param mixed $reason + * + * @return \Exception|\Throwable + */ + public static function exceptionFor($reason) + { + if ($reason instanceof \Exception || $reason instanceof \Throwable) { + return $reason; + } + + return new RejectionException($reason); + } + + /** + * Returns an iterator for the given value. + * + * @param mixed $value + * + * @return \Iterator + */ + public static function iterFor($value) + { + if ($value instanceof \Iterator) { + return $value; + } + + if (is_array($value)) { + return new \ArrayIterator($value); + } + + return new \ArrayIterator([$value]); + } +} diff --git a/vendor/guzzlehttp/promises/src/Each.php b/vendor/guzzlehttp/promises/src/Each.php new file mode 100644 index 0000000..1dda354 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/Each.php @@ -0,0 +1,90 @@ + $onFulfilled, + 'rejected' => $onRejected + ]))->promise(); + } + + /** + * Like of, but only allows a certain number of outstanding promises at any + * given time. + * + * $concurrency may be an integer or a function that accepts the number of + * pending promises and returns a numeric concurrency limit value to allow + * for dynamic a concurrency size. + * + * @param mixed $iterable + * @param int|callable $concurrency + * @param callable $onFulfilled + * @param callable $onRejected + * + * @return PromiseInterface + */ + public static function ofLimit( + $iterable, + $concurrency, + callable $onFulfilled = null, + callable $onRejected = null + ) { + return (new EachPromise($iterable, [ + 'fulfilled' => $onFulfilled, + 'rejected' => $onRejected, + 'concurrency' => $concurrency + ]))->promise(); + } + + /** + * Like limit, but ensures that no promise in the given $iterable argument + * is rejected. If any promise is rejected, then the aggregate promise is + * rejected with the encountered rejection. + * + * @param mixed $iterable + * @param int|callable $concurrency + * @param callable $onFulfilled + * + * @return PromiseInterface + */ + public static function ofLimitAll( + $iterable, + $concurrency, + callable $onFulfilled = null + ) { + return each_limit( + $iterable, + $concurrency, + $onFulfilled, + function ($reason, $idx, PromiseInterface $aggregate) { + $aggregate->reject($reason); + } + ); + } +} diff --git a/vendor/guzzlehttp/promises/src/EachPromise.php b/vendor/guzzlehttp/promises/src/EachPromise.php new file mode 100644 index 0000000..38ecb59 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/EachPromise.php @@ -0,0 +1,255 @@ +iterable = Create::iterFor($iterable); + + if (isset($config['concurrency'])) { + $this->concurrency = $config['concurrency']; + } + + if (isset($config['fulfilled'])) { + $this->onFulfilled = $config['fulfilled']; + } + + if (isset($config['rejected'])) { + $this->onRejected = $config['rejected']; + } + } + + /** @psalm-suppress InvalidNullableReturnType */ + public function promise() + { + if ($this->aggregate) { + return $this->aggregate; + } + + try { + $this->createPromise(); + /** @psalm-assert Promise $this->aggregate */ + $this->iterable->rewind(); + $this->refillPending(); + } catch (\Throwable $e) { + /** + * @psalm-suppress NullReference + * @phpstan-ignore-next-line + */ + $this->aggregate->reject($e); + } catch (\Exception $e) { + /** + * @psalm-suppress NullReference + * @phpstan-ignore-next-line + */ + $this->aggregate->reject($e); + } + + /** + * @psalm-suppress NullableReturnStatement + * @phpstan-ignore-next-line + */ + return $this->aggregate; + } + + private function createPromise() + { + $this->mutex = false; + $this->aggregate = new Promise(function () { + if ($this->checkIfFinished()) { + return; + } + reset($this->pending); + // Consume a potentially fluctuating list of promises while + // ensuring that indexes are maintained (precluding array_shift). + while ($promise = current($this->pending)) { + next($this->pending); + $promise->wait(); + if (Is::settled($this->aggregate)) { + return; + } + } + }); + + // Clear the references when the promise is resolved. + $clearFn = function () { + $this->iterable = $this->concurrency = $this->pending = null; + $this->onFulfilled = $this->onRejected = null; + $this->nextPendingIndex = 0; + }; + + $this->aggregate->then($clearFn, $clearFn); + } + + private function refillPending() + { + if (!$this->concurrency) { + // Add all pending promises. + while ($this->addPending() && $this->advanceIterator()); + return; + } + + // Add only up to N pending promises. + $concurrency = is_callable($this->concurrency) + ? call_user_func($this->concurrency, count($this->pending)) + : $this->concurrency; + $concurrency = max($concurrency - count($this->pending), 0); + // Concurrency may be set to 0 to disallow new promises. + if (!$concurrency) { + return; + } + // Add the first pending promise. + $this->addPending(); + // Note this is special handling for concurrency=1 so that we do + // not advance the iterator after adding the first promise. This + // helps work around issues with generators that might not have the + // next value to yield until promise callbacks are called. + while (--$concurrency + && $this->advanceIterator() + && $this->addPending()); + } + + private function addPending() + { + if (!$this->iterable || !$this->iterable->valid()) { + return false; + } + + $promise = Create::promiseFor($this->iterable->current()); + $key = $this->iterable->key(); + + // Iterable keys may not be unique, so we use a counter to + // guarantee uniqueness + $idx = $this->nextPendingIndex++; + + $this->pending[$idx] = $promise->then( + function ($value) use ($idx, $key) { + if ($this->onFulfilled) { + call_user_func( + $this->onFulfilled, + $value, + $key, + $this->aggregate + ); + } + $this->step($idx); + }, + function ($reason) use ($idx, $key) { + if ($this->onRejected) { + call_user_func( + $this->onRejected, + $reason, + $key, + $this->aggregate + ); + } + $this->step($idx); + } + ); + + return true; + } + + private function advanceIterator() + { + // Place a lock on the iterator so that we ensure to not recurse, + // preventing fatal generator errors. + if ($this->mutex) { + return false; + } + + $this->mutex = true; + + try { + $this->iterable->next(); + $this->mutex = false; + return true; + } catch (\Throwable $e) { + $this->aggregate->reject($e); + $this->mutex = false; + return false; + } catch (\Exception $e) { + $this->aggregate->reject($e); + $this->mutex = false; + return false; + } + } + + private function step($idx) + { + // If the promise was already resolved, then ignore this step. + if (Is::settled($this->aggregate)) { + return; + } + + unset($this->pending[$idx]); + + // Only refill pending promises if we are not locked, preventing the + // EachPromise to recursively invoke the provided iterator, which + // cause a fatal error: "Cannot resume an already running generator" + if ($this->advanceIterator() && !$this->checkIfFinished()) { + // Add more pending promises if possible. + $this->refillPending(); + } + } + + private function checkIfFinished() + { + if (!$this->pending && !$this->iterable->valid()) { + // Resolve the promise if there's nothing left to do. + $this->aggregate->resolve(null); + return true; + } + + return false; + } +} diff --git a/vendor/guzzlehttp/promises/src/FulfilledPromise.php b/vendor/guzzlehttp/promises/src/FulfilledPromise.php new file mode 100644 index 0000000..98f72a6 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/FulfilledPromise.php @@ -0,0 +1,84 @@ +value = $value; + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + // Return itself if there is no onFulfilled function. + if (!$onFulfilled) { + return $this; + } + + $queue = Utils::queue(); + $p = new Promise([$queue, 'run']); + $value = $this->value; + $queue->add(static function () use ($p, $value, $onFulfilled) { + if (Is::pending($p)) { + try { + $p->resolve($onFulfilled($value)); + } catch (\Throwable $e) { + $p->reject($e); + } catch (\Exception $e) { + $p->reject($e); + } + } + }); + + return $p; + } + + public function otherwise(callable $onRejected) + { + return $this->then(null, $onRejected); + } + + public function wait($unwrap = true, $defaultDelivery = null) + { + return $unwrap ? $this->value : null; + } + + public function getState() + { + return self::FULFILLED; + } + + public function resolve($value) + { + if ($value !== $this->value) { + throw new \LogicException("Cannot resolve a fulfilled promise"); + } + } + + public function reject($reason) + { + throw new \LogicException("Cannot reject a fulfilled promise"); + } + + public function cancel() + { + // pass + } +} diff --git a/vendor/guzzlehttp/promises/src/Is.php b/vendor/guzzlehttp/promises/src/Is.php new file mode 100644 index 0000000..c3ed8d0 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/Is.php @@ -0,0 +1,46 @@ +getState() === PromiseInterface::PENDING; + } + + /** + * Returns true if a promise is fulfilled or rejected. + * + * @return bool + */ + public static function settled(PromiseInterface $promise) + { + return $promise->getState() !== PromiseInterface::PENDING; + } + + /** + * Returns true if a promise is fulfilled. + * + * @return bool + */ + public static function fulfilled(PromiseInterface $promise) + { + return $promise->getState() === PromiseInterface::FULFILLED; + } + + /** + * Returns true if a promise is rejected. + * + * @return bool + */ + public static function rejected(PromiseInterface $promise) + { + return $promise->getState() === PromiseInterface::REJECTED; + } +} diff --git a/vendor/guzzlehttp/promises/src/Promise.php b/vendor/guzzlehttp/promises/src/Promise.php new file mode 100644 index 0000000..7593905 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/Promise.php @@ -0,0 +1,278 @@ +waitFn = $waitFn; + $this->cancelFn = $cancelFn; + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + if ($this->state === self::PENDING) { + $p = new Promise(null, [$this, 'cancel']); + $this->handlers[] = [$p, $onFulfilled, $onRejected]; + $p->waitList = $this->waitList; + $p->waitList[] = $this; + return $p; + } + + // Return a fulfilled promise and immediately invoke any callbacks. + if ($this->state === self::FULFILLED) { + $promise = Create::promiseFor($this->result); + return $onFulfilled ? $promise->then($onFulfilled) : $promise; + } + + // It's either cancelled or rejected, so return a rejected promise + // and immediately invoke any callbacks. + $rejection = Create::rejectionFor($this->result); + return $onRejected ? $rejection->then(null, $onRejected) : $rejection; + } + + public function otherwise(callable $onRejected) + { + return $this->then(null, $onRejected); + } + + public function wait($unwrap = true) + { + $this->waitIfPending(); + + if ($this->result instanceof PromiseInterface) { + return $this->result->wait($unwrap); + } + if ($unwrap) { + if ($this->state === self::FULFILLED) { + return $this->result; + } + // It's rejected so "unwrap" and throw an exception. + throw Create::exceptionFor($this->result); + } + } + + public function getState() + { + return $this->state; + } + + public function cancel() + { + if ($this->state !== self::PENDING) { + return; + } + + $this->waitFn = $this->waitList = null; + + if ($this->cancelFn) { + $fn = $this->cancelFn; + $this->cancelFn = null; + try { + $fn(); + } catch (\Throwable $e) { + $this->reject($e); + } catch (\Exception $e) { + $this->reject($e); + } + } + + // Reject the promise only if it wasn't rejected in a then callback. + /** @psalm-suppress RedundantCondition */ + if ($this->state === self::PENDING) { + $this->reject(new CancellationException('Promise has been cancelled')); + } + } + + public function resolve($value) + { + $this->settle(self::FULFILLED, $value); + } + + public function reject($reason) + { + $this->settle(self::REJECTED, $reason); + } + + private function settle($state, $value) + { + if ($this->state !== self::PENDING) { + // Ignore calls with the same resolution. + if ($state === $this->state && $value === $this->result) { + return; + } + throw $this->state === $state + ? new \LogicException("The promise is already {$state}.") + : new \LogicException("Cannot change a {$this->state} promise to {$state}"); + } + + if ($value === $this) { + throw new \LogicException('Cannot fulfill or reject a promise with itself'); + } + + // Clear out the state of the promise but stash the handlers. + $this->state = $state; + $this->result = $value; + $handlers = $this->handlers; + $this->handlers = null; + $this->waitList = $this->waitFn = null; + $this->cancelFn = null; + + if (!$handlers) { + return; + } + + // If the value was not a settled promise or a thenable, then resolve + // it in the task queue using the correct ID. + if (!is_object($value) || !method_exists($value, 'then')) { + $id = $state === self::FULFILLED ? 1 : 2; + // It's a success, so resolve the handlers in the queue. + Utils::queue()->add(static function () use ($id, $value, $handlers) { + foreach ($handlers as $handler) { + self::callHandler($id, $value, $handler); + } + }); + } elseif ($value instanceof Promise && Is::pending($value)) { + // We can just merge our handlers onto the next promise. + $value->handlers = array_merge($value->handlers, $handlers); + } else { + // Resolve the handlers when the forwarded promise is resolved. + $value->then( + static function ($value) use ($handlers) { + foreach ($handlers as $handler) { + self::callHandler(1, $value, $handler); + } + }, + static function ($reason) use ($handlers) { + foreach ($handlers as $handler) { + self::callHandler(2, $reason, $handler); + } + } + ); + } + } + + /** + * Call a stack of handlers using a specific callback index and value. + * + * @param int $index 1 (resolve) or 2 (reject). + * @param mixed $value Value to pass to the callback. + * @param array $handler Array of handler data (promise and callbacks). + */ + private static function callHandler($index, $value, array $handler) + { + /** @var PromiseInterface $promise */ + $promise = $handler[0]; + + // The promise may have been cancelled or resolved before placing + // this thunk in the queue. + if (Is::settled($promise)) { + return; + } + + try { + if (isset($handler[$index])) { + /* + * If $f throws an exception, then $handler will be in the exception + * stack trace. Since $handler contains a reference to the callable + * itself we get a circular reference. We clear the $handler + * here to avoid that memory leak. + */ + $f = $handler[$index]; + unset($handler); + $promise->resolve($f($value)); + } elseif ($index === 1) { + // Forward resolution values as-is. + $promise->resolve($value); + } else { + // Forward rejections down the chain. + $promise->reject($value); + } + } catch (\Throwable $reason) { + $promise->reject($reason); + } catch (\Exception $reason) { + $promise->reject($reason); + } + } + + private function waitIfPending() + { + if ($this->state !== self::PENDING) { + return; + } elseif ($this->waitFn) { + $this->invokeWaitFn(); + } elseif ($this->waitList) { + $this->invokeWaitList(); + } else { + // If there's no wait function, then reject the promise. + $this->reject('Cannot wait on a promise that has ' + . 'no internal wait function. You must provide a wait ' + . 'function when constructing the promise to be able to ' + . 'wait on a promise.'); + } + + Utils::queue()->run(); + + /** @psalm-suppress RedundantCondition */ + if ($this->state === self::PENDING) { + $this->reject('Invoking the wait callback did not resolve the promise'); + } + } + + private function invokeWaitFn() + { + try { + $wfn = $this->waitFn; + $this->waitFn = null; + $wfn(true); + } catch (\Exception $reason) { + if ($this->state === self::PENDING) { + // The promise has not been resolved yet, so reject the promise + // with the exception. + $this->reject($reason); + } else { + // The promise was already resolved, so there's a problem in + // the application. + throw $reason; + } + } + } + + private function invokeWaitList() + { + $waitList = $this->waitList; + $this->waitList = null; + + foreach ($waitList as $result) { + do { + $result->waitIfPending(); + $result = $result->result; + } while ($result instanceof Promise); + + if ($result instanceof PromiseInterface) { + $result->wait(false); + } + } + } +} diff --git a/vendor/guzzlehttp/promises/src/PromiseInterface.php b/vendor/guzzlehttp/promises/src/PromiseInterface.php new file mode 100644 index 0000000..e598331 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/PromiseInterface.php @@ -0,0 +1,97 @@ +reason = $reason; + } + + public function then( + callable $onFulfilled = null, + callable $onRejected = null + ) { + // If there's no onRejected callback then just return self. + if (!$onRejected) { + return $this; + } + + $queue = Utils::queue(); + $reason = $this->reason; + $p = new Promise([$queue, 'run']); + $queue->add(static function () use ($p, $reason, $onRejected) { + if (Is::pending($p)) { + try { + // Return a resolved promise if onRejected does not throw. + $p->resolve($onRejected($reason)); + } catch (\Throwable $e) { + // onRejected threw, so return a rejected promise. + $p->reject($e); + } catch (\Exception $e) { + // onRejected threw, so return a rejected promise. + $p->reject($e); + } + } + }); + + return $p; + } + + public function otherwise(callable $onRejected) + { + return $this->then(null, $onRejected); + } + + public function wait($unwrap = true, $defaultDelivery = null) + { + if ($unwrap) { + throw Create::exceptionFor($this->reason); + } + + return null; + } + + public function getState() + { + return self::REJECTED; + } + + public function resolve($value) + { + throw new \LogicException("Cannot resolve a rejected promise"); + } + + public function reject($reason) + { + if ($reason !== $this->reason) { + throw new \LogicException("Cannot reject a rejected promise"); + } + } + + public function cancel() + { + // pass + } +} diff --git a/vendor/guzzlehttp/promises/src/RejectionException.php b/vendor/guzzlehttp/promises/src/RejectionException.php new file mode 100644 index 0000000..e2f1377 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/RejectionException.php @@ -0,0 +1,48 @@ +reason = $reason; + + $message = 'The promise was rejected'; + + if ($description) { + $message .= ' with reason: ' . $description; + } elseif (is_string($reason) + || (is_object($reason) && method_exists($reason, '__toString')) + ) { + $message .= ' with reason: ' . $this->reason; + } elseif ($reason instanceof \JsonSerializable) { + $message .= ' with reason: ' + . json_encode($this->reason, JSON_PRETTY_PRINT); + } + + parent::__construct($message); + } + + /** + * Returns the rejection reason. + * + * @return mixed + */ + public function getReason() + { + return $this->reason; + } +} diff --git a/vendor/guzzlehttp/promises/src/TaskQueue.php b/vendor/guzzlehttp/promises/src/TaskQueue.php new file mode 100644 index 0000000..f0fba2c --- /dev/null +++ b/vendor/guzzlehttp/promises/src/TaskQueue.php @@ -0,0 +1,67 @@ +run(); + */ +class TaskQueue implements TaskQueueInterface +{ + private $enableShutdown = true; + private $queue = []; + + public function __construct($withShutdown = true) + { + if ($withShutdown) { + register_shutdown_function(function () { + if ($this->enableShutdown) { + // Only run the tasks if an E_ERROR didn't occur. + $err = error_get_last(); + if (!$err || ($err['type'] ^ E_ERROR)) { + $this->run(); + } + } + }); + } + } + + public function isEmpty() + { + return !$this->queue; + } + + public function add(callable $task) + { + $this->queue[] = $task; + } + + public function run() + { + while ($task = array_shift($this->queue)) { + /** @var callable $task */ + $task(); + } + } + + /** + * The task queue will be run and exhausted by default when the process + * exits IFF the exit is not the result of a PHP E_ERROR error. + * + * You can disable running the automatic shutdown of the queue by calling + * this function. If you disable the task queue shutdown process, then you + * MUST either run the task queue (as a result of running your event loop + * or manually using the run() method) or wait on each outstanding promise. + * + * Note: This shutdown will occur before any destructors are triggered. + */ + public function disableShutdown() + { + $this->enableShutdown = false; + } +} diff --git a/vendor/guzzlehttp/promises/src/TaskQueueInterface.php b/vendor/guzzlehttp/promises/src/TaskQueueInterface.php new file mode 100644 index 0000000..723d4d5 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/TaskQueueInterface.php @@ -0,0 +1,24 @@ + + * while ($eventLoop->isRunning()) { + * GuzzleHttp\Promise\Utils::queue()->run(); + * } + * + * + * @param TaskQueueInterface $assign Optionally specify a new queue instance. + * + * @return TaskQueueInterface + */ + public static function queue(TaskQueueInterface $assign = null) + { + static $queue; + + if ($assign) { + $queue = $assign; + } elseif (!$queue) { + $queue = new TaskQueue(); + } + + return $queue; + } + + /** + * Adds a function to run in the task queue when it is next `run()` and + * returns a promise that is fulfilled or rejected with the result. + * + * @param callable $task Task function to run. + * + * @return PromiseInterface + */ + public static function task(callable $task) + { + $queue = self::queue(); + $promise = new Promise([$queue, 'run']); + $queue->add(function () use ($task, $promise) { + try { + if (Is::pending($promise)) { + $promise->resolve($task()); + } + } catch (\Throwable $e) { + $promise->reject($e); + } catch (\Exception $e) { + $promise->reject($e); + } + }); + + return $promise; + } + + /** + * Synchronously waits on a promise to resolve and returns an inspection + * state array. + * + * Returns a state associative array containing a "state" key mapping to a + * valid promise state. If the state of the promise is "fulfilled", the + * array will contain a "value" key mapping to the fulfilled value of the + * promise. If the promise is rejected, the array will contain a "reason" + * key mapping to the rejection reason of the promise. + * + * @param PromiseInterface $promise Promise or value. + * + * @return array + */ + public static function inspect(PromiseInterface $promise) + { + try { + return [ + 'state' => PromiseInterface::FULFILLED, + 'value' => $promise->wait() + ]; + } catch (RejectionException $e) { + return ['state' => PromiseInterface::REJECTED, 'reason' => $e->getReason()]; + } catch (\Throwable $e) { + return ['state' => PromiseInterface::REJECTED, 'reason' => $e]; + } catch (\Exception $e) { + return ['state' => PromiseInterface::REJECTED, 'reason' => $e]; + } + } + + /** + * Waits on all of the provided promises, but does not unwrap rejected + * promises as thrown exception. + * + * Returns an array of inspection state arrays. + * + * @see inspect for the inspection state array format. + * + * @param PromiseInterface[] $promises Traversable of promises to wait upon. + * + * @return array + */ + public static function inspectAll($promises) + { + $results = []; + foreach ($promises as $key => $promise) { + $results[$key] = inspect($promise); + } + + return $results; + } + + /** + * Waits on all of the provided promises and returns the fulfilled values. + * + * Returns an array that contains the value of each promise (in the same + * order the promises were provided). An exception is thrown if any of the + * promises are rejected. + * + * @param iterable $promises Iterable of PromiseInterface objects to wait on. + * + * @return array + * + * @throws \Exception on error + * @throws \Throwable on error in PHP >=7 + */ + public static function unwrap($promises) + { + $results = []; + foreach ($promises as $key => $promise) { + $results[$key] = $promise->wait(); + } + + return $results; + } + + /** + * Given an array of promises, return a promise that is fulfilled when all + * the items in the array are fulfilled. + * + * The promise's fulfillment value is an array with fulfillment values at + * respective positions to the original array. If any promise in the array + * rejects, the returned promise is rejected with the rejection reason. + * + * @param mixed $promises Promises or values. + * @param bool $recursive If true, resolves new promises that might have been added to the stack during its own resolution. + * + * @return PromiseInterface + */ + public static function all($promises, $recursive = false) + { + $results = []; + $promise = Each::of( + $promises, + function ($value, $idx) use (&$results) { + $results[$idx] = $value; + }, + function ($reason, $idx, Promise $aggregate) { + $aggregate->reject($reason); + } + )->then(function () use (&$results) { + ksort($results); + return $results; + }); + + if (true === $recursive) { + $promise = $promise->then(function ($results) use ($recursive, &$promises) { + foreach ($promises as $promise) { + if (Is::pending($promise)) { + return self::all($promises, $recursive); + } + } + return $results; + }); + } + + return $promise; + } + + /** + * Initiate a competitive race between multiple promises or values (values + * will become immediately fulfilled promises). + * + * When count amount of promises have been fulfilled, the returned promise + * is fulfilled with an array that contains the fulfillment values of the + * winners in order of resolution. + * + * This promise is rejected with a {@see AggregateException} if the number + * of fulfilled promises is less than the desired $count. + * + * @param int $count Total number of promises. + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + */ + public static function some($count, $promises) + { + $results = []; + $rejections = []; + + return Each::of( + $promises, + function ($value, $idx, PromiseInterface $p) use (&$results, $count) { + if (Is::settled($p)) { + return; + } + $results[$idx] = $value; + if (count($results) >= $count) { + $p->resolve(null); + } + }, + function ($reason) use (&$rejections) { + $rejections[] = $reason; + } + )->then( + function () use (&$results, &$rejections, $count) { + if (count($results) !== $count) { + throw new AggregateException( + 'Not enough promises to fulfill count', + $rejections + ); + } + ksort($results); + return array_values($results); + } + ); + } + + /** + * Like some(), with 1 as count. However, if the promise fulfills, the + * fulfillment value is not an array of 1 but the value directly. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + */ + public static function any($promises) + { + return self::some(1, $promises)->then(function ($values) { + return $values[0]; + }); + } + + /** + * Returns a promise that is fulfilled when all of the provided promises have + * been fulfilled or rejected. + * + * The returned promise is fulfilled with an array of inspection state arrays. + * + * @see inspect for the inspection state array format. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + */ + public static function settle($promises) + { + $results = []; + + return Each::of( + $promises, + function ($value, $idx) use (&$results) { + $results[$idx] = ['state' => PromiseInterface::FULFILLED, 'value' => $value]; + }, + function ($reason, $idx) use (&$results) { + $results[$idx] = ['state' => PromiseInterface::REJECTED, 'reason' => $reason]; + } + )->then(function () use (&$results) { + ksort($results); + return $results; + }); + } +} diff --git a/vendor/guzzlehttp/promises/src/functions.php b/vendor/guzzlehttp/promises/src/functions.php new file mode 100644 index 0000000..c03d39d --- /dev/null +++ b/vendor/guzzlehttp/promises/src/functions.php @@ -0,0 +1,363 @@ + + * while ($eventLoop->isRunning()) { + * GuzzleHttp\Promise\queue()->run(); + * } + * + * + * @param TaskQueueInterface $assign Optionally specify a new queue instance. + * + * @return TaskQueueInterface + * + * @deprecated queue will be removed in guzzlehttp/promises:2.0. Use Utils::queue instead. + */ +function queue(TaskQueueInterface $assign = null) +{ + return Utils::queue($assign); +} + +/** + * Adds a function to run in the task queue when it is next `run()` and returns + * a promise that is fulfilled or rejected with the result. + * + * @param callable $task Task function to run. + * + * @return PromiseInterface + * + * @deprecated task will be removed in guzzlehttp/promises:2.0. Use Utils::task instead. + */ +function task(callable $task) +{ + return Utils::task($task); +} + +/** + * Creates a promise for a value if the value is not a promise. + * + * @param mixed $value Promise or value. + * + * @return PromiseInterface + * + * @deprecated promise_for will be removed in guzzlehttp/promises:2.0. Use Create::promiseFor instead. + */ +function promise_for($value) +{ + return Create::promiseFor($value); +} + +/** + * Creates a rejected promise for a reason if the reason is not a promise. If + * the provided reason is a promise, then it is returned as-is. + * + * @param mixed $reason Promise or reason. + * + * @return PromiseInterface + * + * @deprecated rejection_for will be removed in guzzlehttp/promises:2.0. Use Create::rejectionFor instead. + */ +function rejection_for($reason) +{ + return Create::rejectionFor($reason); +} + +/** + * Create an exception for a rejected promise value. + * + * @param mixed $reason + * + * @return \Exception|\Throwable + * + * @deprecated exception_for will be removed in guzzlehttp/promises:2.0. Use Create::exceptionFor instead. + */ +function exception_for($reason) +{ + return Create::exceptionFor($reason); +} + +/** + * Returns an iterator for the given value. + * + * @param mixed $value + * + * @return \Iterator + * + * @deprecated iter_for will be removed in guzzlehttp/promises:2.0. Use Create::iterFor instead. + */ +function iter_for($value) +{ + return Create::iterFor($value); +} + +/** + * Synchronously waits on a promise to resolve and returns an inspection state + * array. + * + * Returns a state associative array containing a "state" key mapping to a + * valid promise state. If the state of the promise is "fulfilled", the array + * will contain a "value" key mapping to the fulfilled value of the promise. If + * the promise is rejected, the array will contain a "reason" key mapping to + * the rejection reason of the promise. + * + * @param PromiseInterface $promise Promise or value. + * + * @return array + * + * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspect instead. + */ +function inspect(PromiseInterface $promise) +{ + return Utils::inspect($promise); +} + +/** + * Waits on all of the provided promises, but does not unwrap rejected promises + * as thrown exception. + * + * Returns an array of inspection state arrays. + * + * @see inspect for the inspection state array format. + * + * @param PromiseInterface[] $promises Traversable of promises to wait upon. + * + * @return array + * + * @deprecated inspect will be removed in guzzlehttp/promises:2.0. Use Utils::inspectAll instead. + */ +function inspect_all($promises) +{ + return Utils::inspectAll($promises); +} + +/** + * Waits on all of the provided promises and returns the fulfilled values. + * + * Returns an array that contains the value of each promise (in the same order + * the promises were provided). An exception is thrown if any of the promises + * are rejected. + * + * @param iterable $promises Iterable of PromiseInterface objects to wait on. + * + * @return array + * + * @throws \Exception on error + * @throws \Throwable on error in PHP >=7 + * + * @deprecated unwrap will be removed in guzzlehttp/promises:2.0. Use Utils::unwrap instead. + */ +function unwrap($promises) +{ + return Utils::unwrap($promises); +} + +/** + * Given an array of promises, return a promise that is fulfilled when all the + * items in the array are fulfilled. + * + * The promise's fulfillment value is an array with fulfillment values at + * respective positions to the original array. If any promise in the array + * rejects, the returned promise is rejected with the rejection reason. + * + * @param mixed $promises Promises or values. + * @param bool $recursive If true, resolves new promises that might have been added to the stack during its own resolution. + * + * @return PromiseInterface + * + * @deprecated all will be removed in guzzlehttp/promises:2.0. Use Utils::all instead. + */ +function all($promises, $recursive = false) +{ + return Utils::all($promises, $recursive); +} + +/** + * Initiate a competitive race between multiple promises or values (values will + * become immediately fulfilled promises). + * + * When count amount of promises have been fulfilled, the returned promise is + * fulfilled with an array that contains the fulfillment values of the winners + * in order of resolution. + * + * This promise is rejected with a {@see AggregateException} if the number of + * fulfilled promises is less than the desired $count. + * + * @param int $count Total number of promises. + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + * + * @deprecated some will be removed in guzzlehttp/promises:2.0. Use Utils::some instead. + */ +function some($count, $promises) +{ + return Utils::some($count, $promises); +} + +/** + * Like some(), with 1 as count. However, if the promise fulfills, the + * fulfillment value is not an array of 1 but the value directly. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + * + * @deprecated any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead. + */ +function any($promises) +{ + return Utils::any($promises); +} + +/** + * Returns a promise that is fulfilled when all of the provided promises have + * been fulfilled or rejected. + * + * The returned promise is fulfilled with an array of inspection state arrays. + * + * @see inspect for the inspection state array format. + * + * @param mixed $promises Promises or values. + * + * @return PromiseInterface + * + * @deprecated settle will be removed in guzzlehttp/promises:2.0. Use Utils::settle instead. + */ +function settle($promises) +{ + return Utils::settle($promises); +} + +/** + * Given an iterator that yields promises or values, returns a promise that is + * fulfilled with a null value when the iterator has been consumed or the + * aggregate promise has been fulfilled or rejected. + * + * $onFulfilled is a function that accepts the fulfilled value, iterator index, + * and the aggregate promise. The callback can invoke any necessary side + * effects and choose to resolve or reject the aggregate if needed. + * + * $onRejected is a function that accepts the rejection reason, iterator index, + * and the aggregate promise. The callback can invoke any necessary side + * effects and choose to resolve or reject the aggregate if needed. + * + * @param mixed $iterable Iterator or array to iterate over. + * @param callable $onFulfilled + * @param callable $onRejected + * + * @return PromiseInterface + * + * @deprecated each will be removed in guzzlehttp/promises:2.0. Use Each::of instead. + */ +function each( + $iterable, + callable $onFulfilled = null, + callable $onRejected = null +) { + return Each::of($iterable, $onFulfilled, $onRejected); +} + +/** + * Like each, but only allows a certain number of outstanding promises at any + * given time. + * + * $concurrency may be an integer or a function that accepts the number of + * pending promises and returns a numeric concurrency limit value to allow for + * dynamic a concurrency size. + * + * @param mixed $iterable + * @param int|callable $concurrency + * @param callable $onFulfilled + * @param callable $onRejected + * + * @return PromiseInterface + * + * @deprecated each_limit will be removed in guzzlehttp/promises:2.0. Use Each::ofLimit instead. + */ +function each_limit( + $iterable, + $concurrency, + callable $onFulfilled = null, + callable $onRejected = null +) { + return Each::ofLimit($iterable, $concurrency, $onFulfilled, $onRejected); +} + +/** + * Like each_limit, but ensures that no promise in the given $iterable argument + * is rejected. If any promise is rejected, then the aggregate promise is + * rejected with the encountered rejection. + * + * @param mixed $iterable + * @param int|callable $concurrency + * @param callable $onFulfilled + * + * @return PromiseInterface + * + * @deprecated each_limit_all will be removed in guzzlehttp/promises:2.0. Use Each::ofLimitAll instead. + */ +function each_limit_all( + $iterable, + $concurrency, + callable $onFulfilled = null +) { + return Each::ofLimitAll($iterable, $concurrency, $onFulfilled); +} + +/** + * Returns true if a promise is fulfilled. + * + * @return bool + * + * @deprecated is_fulfilled will be removed in guzzlehttp/promises:2.0. Use Is::fulfilled instead. + */ +function is_fulfilled(PromiseInterface $promise) +{ + return Is::fulfilled($promise); +} + +/** + * Returns true if a promise is rejected. + * + * @return bool + * + * @deprecated is_rejected will be removed in guzzlehttp/promises:2.0. Use Is::rejected instead. + */ +function is_rejected(PromiseInterface $promise) +{ + return Is::rejected($promise); +} + +/** + * Returns true if a promise is fulfilled or rejected. + * + * @return bool + * + * @deprecated is_settled will be removed in guzzlehttp/promises:2.0. Use Is::settled instead. + */ +function is_settled(PromiseInterface $promise) +{ + return Is::settled($promise); +} + +/** + * Create a new coroutine. + * + * @see Coroutine + * + * @return PromiseInterface + * + * @deprecated coroutine will be removed in guzzlehttp/promises:2.0. Use Coroutine::of instead. + */ +function coroutine(callable $generatorFn) +{ + return Coroutine::of($generatorFn); +} diff --git a/vendor/guzzlehttp/promises/src/functions_include.php b/vendor/guzzlehttp/promises/src/functions_include.php new file mode 100644 index 0000000..34cd171 --- /dev/null +++ b/vendor/guzzlehttp/promises/src/functions_include.php @@ -0,0 +1,6 @@ +withPath('foo')->withHost('example.com')` will throw an exception + because the path of a URI with an authority must start with a slash "/" or be empty + - `(new Uri())->withScheme('http')` will return `'http://localhost'` + +### Deprecated + +- `Uri::resolve` in favor of `UriResolver::resolve` +- `Uri::removeDotSegments` in favor of `UriResolver::removeDotSegments` + +### Fixed + +- `Stream::read` when length parameter <= 0. +- `copy_to_stream` reads bytes in chunks instead of `maxLen` into memory. +- `ServerRequest::getUriFromGlobals` when `Host` header contains port. +- Compatibility of URIs with `file` scheme and empty host. + + +## [1.3.1] - 2016-06-25 + +### Fixed + +- `Uri::__toString` for network path references, e.g. `//example.org`. +- Missing lowercase normalization for host. +- Handling of URI components in case they are `'0'` in a lot of places, + e.g. as a user info password. +- `Uri::withAddedHeader` to correctly merge headers with different case. +- Trimming of header values in `Uri::withAddedHeader`. Header values may + be surrounded by whitespace which should be ignored according to RFC 7230 + Section 3.2.4. This does not apply to header names. +- `Uri::withAddedHeader` with an array of header values. +- `Uri::resolve` when base path has no slash and handling of fragment. +- Handling of encoding in `Uri::with(out)QueryValue` so one can pass the + key/value both in encoded as well as decoded form to those methods. This is + consistent with withPath, withQuery etc. +- `ServerRequest::withoutAttribute` when attribute value is null. + + +## [1.3.0] - 2016-04-13 + +### Added + +- Remaining interfaces needed for full PSR7 compatibility + (ServerRequestInterface, UploadedFileInterface, etc.). +- Support for stream_for from scalars. + +### Changed + +- Can now extend Uri. + +### Fixed +- A bug in validating request methods by making it more permissive. + + +## [1.2.3] - 2016-02-18 + +### Fixed + +- Support in `GuzzleHttp\Psr7\CachingStream` for seeking forward on remote + streams, which can sometimes return fewer bytes than requested with `fread`. +- Handling of gzipped responses with FNAME headers. + + +## [1.2.2] - 2016-01-22 + +### Added + +- Support for URIs without any authority. +- Support for HTTP 451 'Unavailable For Legal Reasons.' +- Support for using '0' as a filename. +- Support for including non-standard ports in Host headers. + + +## [1.2.1] - 2015-11-02 + +### Changes + +- Now supporting negative offsets when seeking to SEEK_END. + + +## [1.2.0] - 2015-08-15 + +### Changed + +- Body as `"0"` is now properly added to a response. +- Now allowing forward seeking in CachingStream. +- Now properly parsing HTTP requests that contain proxy targets in + `parse_request`. +- functions.php is now conditionally required. +- user-info is no longer dropped when resolving URIs. + + +## [1.1.0] - 2015-06-24 + +### Changed + +- URIs can now be relative. +- `multipart/form-data` headers are now overridden case-insensitively. +- URI paths no longer encode the following characters because they are allowed + in URIs: "(", ")", "*", "!", "'" +- A port is no longer added to a URI when the scheme is missing and no port is + present. + + +## 1.0.0 - 2015-05-19 + +Initial release. + +Currently unsupported: + +- `Psr\Http\Message\ServerRequestInterface` +- `Psr\Http\Message\UploadedFileInterface` + + + +[1.6.0]: https://github.com/guzzle/psr7/compare/1.5.2...1.6.0 +[1.5.2]: https://github.com/guzzle/psr7/compare/1.5.1...1.5.2 +[1.5.1]: https://github.com/guzzle/psr7/compare/1.5.0...1.5.1 +[1.5.0]: https://github.com/guzzle/psr7/compare/1.4.2...1.5.0 +[1.4.2]: https://github.com/guzzle/psr7/compare/1.4.1...1.4.2 +[1.4.1]: https://github.com/guzzle/psr7/compare/1.4.0...1.4.1 +[1.4.0]: https://github.com/guzzle/psr7/compare/1.3.1...1.4.0 +[1.3.1]: https://github.com/guzzle/psr7/compare/1.3.0...1.3.1 +[1.3.0]: https://github.com/guzzle/psr7/compare/1.2.3...1.3.0 +[1.2.3]: https://github.com/guzzle/psr7/compare/1.2.2...1.2.3 +[1.2.2]: https://github.com/guzzle/psr7/compare/1.2.1...1.2.2 +[1.2.1]: https://github.com/guzzle/psr7/compare/1.2.0...1.2.1 +[1.2.0]: https://github.com/guzzle/psr7/compare/1.1.0...1.2.0 +[1.1.0]: https://github.com/guzzle/psr7/compare/1.0.0...1.1.0 diff --git a/vendor/guzzlehttp/psr7/LICENSE b/vendor/guzzlehttp/psr7/LICENSE new file mode 100644 index 0000000..51c7ec8 --- /dev/null +++ b/vendor/guzzlehttp/psr7/LICENSE @@ -0,0 +1,26 @@ +The MIT License (MIT) + +Copyright (c) 2015 Michael Dowling +Copyright (c) 2015 Márk Sági-Kazár +Copyright (c) 2015 Graham Campbell +Copyright (c) 2016 Tobias Schultze +Copyright (c) 2016 George Mponos +Copyright (c) 2018 Tobias Nyholm + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/vendor/guzzlehttp/psr7/README.md b/vendor/guzzlehttp/psr7/README.md new file mode 100644 index 0000000..ed81c92 --- /dev/null +++ b/vendor/guzzlehttp/psr7/README.md @@ -0,0 +1,823 @@ +# PSR-7 Message Implementation + +This repository contains a full [PSR-7](http://www.php-fig.org/psr/psr-7/) +message implementation, several stream decorators, and some helpful +functionality like query string parsing. + +![CI](https://github.com/guzzle/psr7/workflows/CI/badge.svg) +![Static analysis](https://github.com/guzzle/psr7/workflows/Static%20analysis/badge.svg) + + +# Stream implementation + +This package comes with a number of stream implementations and stream +decorators. + + +## AppendStream + +`GuzzleHttp\Psr7\AppendStream` + +Reads from multiple streams, one after the other. + +```php +use GuzzleHttp\Psr7; + +$a = Psr7\Utils::streamFor('abc, '); +$b = Psr7\Utils::streamFor('123.'); +$composed = new Psr7\AppendStream([$a, $b]); + +$composed->addStream(Psr7\Utils::streamFor(' Above all listen to me')); + +echo $composed; // abc, 123. Above all listen to me. +``` + + +## BufferStream + +`GuzzleHttp\Psr7\BufferStream` + +Provides a buffer stream that can be written to fill a buffer, and read +from to remove bytes from the buffer. + +This stream returns a "hwm" metadata value that tells upstream consumers +what the configured high water mark of the stream is, or the maximum +preferred size of the buffer. + +```php +use GuzzleHttp\Psr7; + +// When more than 1024 bytes are in the buffer, it will begin returning +// false to writes. This is an indication that writers should slow down. +$buffer = new Psr7\BufferStream(1024); +``` + + +## CachingStream + +The CachingStream is used to allow seeking over previously read bytes on +non-seekable streams. This can be useful when transferring a non-seekable +entity body fails due to needing to rewind the stream (for example, resulting +from a redirect). Data that is read from the remote stream will be buffered in +a PHP temp stream so that previously read bytes are cached first in memory, +then on disk. + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\Utils::streamFor(fopen('http://www.google.com', 'r')); +$stream = new Psr7\CachingStream($original); + +$stream->read(1024); +echo $stream->tell(); +// 1024 + +$stream->seek(0); +echo $stream->tell(); +// 0 +``` + + +## DroppingStream + +`GuzzleHttp\Psr7\DroppingStream` + +Stream decorator that begins dropping data once the size of the underlying +stream becomes too full. + +```php +use GuzzleHttp\Psr7; + +// Create an empty stream +$stream = Psr7\Utils::streamFor(); + +// Start dropping data when the stream has more than 10 bytes +$dropping = new Psr7\DroppingStream($stream, 10); + +$dropping->write('01234567890123456789'); +echo $stream; // 0123456789 +``` + + +## FnStream + +`GuzzleHttp\Psr7\FnStream` + +Compose stream implementations based on a hash of functions. + +Allows for easy testing and extension of a provided stream without needing +to create a concrete class for a simple extension point. + +```php + +use GuzzleHttp\Psr7; + +$stream = Psr7\Utils::streamFor('hi'); +$fnStream = Psr7\FnStream::decorate($stream, [ + 'rewind' => function () use ($stream) { + echo 'About to rewind - '; + $stream->rewind(); + echo 'rewound!'; + } +]); + +$fnStream->rewind(); +// Outputs: About to rewind - rewound! +``` + + +## InflateStream + +`GuzzleHttp\Psr7\InflateStream` + +Uses PHP's zlib.inflate filter to inflate zlib (HTTP deflate, RFC1950) or gzipped (RFC1952) content. + +This stream decorator converts the provided stream to a PHP stream resource, +then appends the zlib.inflate filter. The stream is then converted back +to a Guzzle stream resource to be used as a Guzzle stream. + + +## LazyOpenStream + +`GuzzleHttp\Psr7\LazyOpenStream` + +Lazily reads or writes to a file that is opened only after an IO operation +take place on the stream. + +```php +use GuzzleHttp\Psr7; + +$stream = new Psr7\LazyOpenStream('/path/to/file', 'r'); +// The file has not yet been opened... + +echo $stream->read(10); +// The file is opened and read from only when needed. +``` + + +## LimitStream + +`GuzzleHttp\Psr7\LimitStream` + +LimitStream can be used to read a subset or slice of an existing stream object. +This can be useful for breaking a large file into smaller pieces to be sent in +chunks (e.g. Amazon S3's multipart upload API). + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\Utils::streamFor(fopen('/tmp/test.txt', 'r+')); +echo $original->getSize(); +// >>> 1048576 + +// Limit the size of the body to 1024 bytes and start reading from byte 2048 +$stream = new Psr7\LimitStream($original, 1024, 2048); +echo $stream->getSize(); +// >>> 1024 +echo $stream->tell(); +// >>> 0 +``` + + +## MultipartStream + +`GuzzleHttp\Psr7\MultipartStream` + +Stream that when read returns bytes for a streaming multipart or +multipart/form-data stream. + + +## NoSeekStream + +`GuzzleHttp\Psr7\NoSeekStream` + +NoSeekStream wraps a stream and does not allow seeking. + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\Utils::streamFor('foo'); +$noSeek = new Psr7\NoSeekStream($original); + +echo $noSeek->read(3); +// foo +var_export($noSeek->isSeekable()); +// false +$noSeek->seek(0); +var_export($noSeek->read(3)); +// NULL +``` + + +## PumpStream + +`GuzzleHttp\Psr7\PumpStream` + +Provides a read only stream that pumps data from a PHP callable. + +When invoking the provided callable, the PumpStream will pass the amount of +data requested to read to the callable. The callable can choose to ignore +this value and return fewer or more bytes than requested. Any extra data +returned by the provided callable is buffered internally until drained using +the read() function of the PumpStream. The provided callable MUST return +false when there is no more data to read. + + +## Implementing stream decorators + +Creating a stream decorator is very easy thanks to the +`GuzzleHttp\Psr7\StreamDecoratorTrait`. This trait provides methods that +implement `Psr\Http\Message\StreamInterface` by proxying to an underlying +stream. Just `use` the `StreamDecoratorTrait` and implement your custom +methods. + +For example, let's say we wanted to call a specific function each time the last +byte is read from a stream. This could be implemented by overriding the +`read()` method. + +```php +use Psr\Http\Message\StreamInterface; +use GuzzleHttp\Psr7\StreamDecoratorTrait; + +class EofCallbackStream implements StreamInterface +{ + use StreamDecoratorTrait; + + private $callback; + + public function __construct(StreamInterface $stream, callable $cb) + { + $this->stream = $stream; + $this->callback = $cb; + } + + public function read($length) + { + $result = $this->stream->read($length); + + // Invoke the callback when EOF is hit. + if ($this->eof()) { + call_user_func($this->callback); + } + + return $result; + } +} +``` + +This decorator could be added to any existing stream and used like so: + +```php +use GuzzleHttp\Psr7; + +$original = Psr7\Utils::streamFor('foo'); + +$eofStream = new EofCallbackStream($original, function () { + echo 'EOF!'; +}); + +$eofStream->read(2); +$eofStream->read(1); +// echoes "EOF!" +$eofStream->seek(0); +$eofStream->read(3); +// echoes "EOF!" +``` + + +## PHP StreamWrapper + +You can use the `GuzzleHttp\Psr7\StreamWrapper` class if you need to use a +PSR-7 stream as a PHP stream resource. + +Use the `GuzzleHttp\Psr7\StreamWrapper::getResource()` method to create a PHP +stream from a PSR-7 stream. + +```php +use GuzzleHttp\Psr7\StreamWrapper; + +$stream = GuzzleHttp\Psr7\Utils::streamFor('hello!'); +$resource = StreamWrapper::getResource($stream); +echo fread($resource, 6); // outputs hello! +``` + + +# Static API + +There are various static methods available under the `GuzzleHttp\Psr7` namespace. + + +## `GuzzleHttp\Psr7\Message::toString` + +`public static function toString(MessageInterface $message): string` + +Returns the string representation of an HTTP message. + +```php +$request = new GuzzleHttp\Psr7\Request('GET', 'http://example.com'); +echo GuzzleHttp\Psr7\Message::toString($request); +``` + + +## `GuzzleHttp\Psr7\Message::bodySummary` + +`public static function bodySummary(MessageInterface $message, int $truncateAt = 120): string|null` + +Get a short summary of the message body. + +Will return `null` if the response is not printable. + + +## `GuzzleHttp\Psr7\Message::rewindBody` + +`public static function rewindBody(MessageInterface $message): void` + +Attempts to rewind a message body and throws an exception on failure. + +The body of the message will only be rewound if a call to `tell()` +returns a value other than `0`. + + +## `GuzzleHttp\Psr7\Message::parseMessage` + +`public static function parseMessage(string $message): array` + +Parses an HTTP message into an associative array. + +The array contains the "start-line" key containing the start line of +the message, "headers" key containing an associative array of header +array values, and a "body" key containing the body of the message. + + +## `GuzzleHttp\Psr7\Message::parseRequestUri` + +`public static function parseRequestUri(string $path, array $headers): string` + +Constructs a URI for an HTTP request message. + + +## `GuzzleHttp\Psr7\Message::parseRequest` + +`public static function parseRequest(string $message): Request` + +Parses a request message string into a request object. + + +## `GuzzleHttp\Psr7\Message::parseResponse` + +`public static function parseResponse(string $message): Response` + +Parses a response message string into a response object. + + +## `GuzzleHttp\Psr7\Header::parse` + +`public static function parse(string|array $header): array` + +Parse an array of header values containing ";" separated data into an +array of associative arrays representing the header key value pair data +of the header. When a parameter does not contain a value, but just +contains a key, this function will inject a key with a '' string value. + + +## `GuzzleHttp\Psr7\Header::normalize` + +`public static function normalize(string|array $header): array` + +Converts an array of header values that may contain comma separated +headers into an array of headers with no comma separated values. + + +## `GuzzleHttp\Psr7\Query::parse` + +`public static function parse(string $str, int|bool $urlEncoding = true): array` + +Parse a query string into an associative array. + +If multiple values are found for the same key, the value of that key +value pair will become an array. This function does not parse nested +PHP style arrays into an associative array (e.g., `foo[a]=1&foo[b]=2` +will be parsed into `['foo[a]' => '1', 'foo[b]' => '2'])`. + + +## `GuzzleHttp\Psr7\Query::build` + +`public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986): string` + +Build a query string from an array of key value pairs. + +This function can use the return value of `parse()` to build a query +string. This function does not modify the provided keys when an array is +encountered (like `http_build_query()` would). + + +## `GuzzleHttp\Psr7\Utils::caselessRemove` + +`public static function caselessRemove(iterable $keys, $keys, array $data): array` + +Remove the items given by the keys, case insensitively from the data. + + +## `GuzzleHttp\Psr7\Utils::copyToStream` + +`public static function copyToStream(StreamInterface $source, StreamInterface $dest, int $maxLen = -1): void` + +Copy the contents of a stream into another stream until the given number +of bytes have been read. + + +## `GuzzleHttp\Psr7\Utils::copyToString` + +`public static function copyToString(StreamInterface $stream, int $maxLen = -1): string` + +Copy the contents of a stream into a string until the given number of +bytes have been read. + + +## `GuzzleHttp\Psr7\Utils::hash` + +`public static function hash(StreamInterface $stream, string $algo, bool $rawOutput = false): string` + +Calculate a hash of a stream. + +This method reads the entire stream to calculate a rolling hash, based on +PHP's `hash_init` functions. + + +## `GuzzleHttp\Psr7\Utils::modifyRequest` + +`public static function modifyRequest(RequestInterface $request, array $changes): RequestInterface` + +Clone and modify a request with the given changes. + +This method is useful for reducing the number of clones needed to mutate +a message. + +- method: (string) Changes the HTTP method. +- set_headers: (array) Sets the given headers. +- remove_headers: (array) Remove the given headers. +- body: (mixed) Sets the given body. +- uri: (UriInterface) Set the URI. +- query: (string) Set the query string value of the URI. +- version: (string) Set the protocol version. + + +## `GuzzleHttp\Psr7\Utils::readLine` + +`public static function readLine(StreamInterface $stream, int $maxLength = null): string` + +Read a line from the stream up to the maximum allowed buffer length. + + +## `GuzzleHttp\Psr7\Utils::streamFor` + +`public static function streamFor(resource|string|null|int|float|bool|StreamInterface|callable|\Iterator $resource = '', array $options = []): StreamInterface` + +Create a new stream based on the input type. + +Options is an associative array that can contain the following keys: + +- metadata: Array of custom metadata. +- size: Size of the stream. + +This method accepts the following `$resource` types: + +- `Psr\Http\Message\StreamInterface`: Returns the value as-is. +- `string`: Creates a stream object that uses the given string as the contents. +- `resource`: Creates a stream object that wraps the given PHP stream resource. +- `Iterator`: If the provided value implements `Iterator`, then a read-only + stream object will be created that wraps the given iterable. Each time the + stream is read from, data from the iterator will fill a buffer and will be + continuously called until the buffer is equal to the requested read size. + Subsequent read calls will first read from the buffer and then call `next` + on the underlying iterator until it is exhausted. +- `object` with `__toString()`: If the object has the `__toString()` method, + the object will be cast to a string and then a stream will be returned that + uses the string value. +- `NULL`: When `null` is passed, an empty stream object is returned. +- `callable` When a callable is passed, a read-only stream object will be + created that invokes the given callable. The callable is invoked with the + number of suggested bytes to read. The callable can return any number of + bytes, but MUST return `false` when there is no more data to return. The + stream object that wraps the callable will invoke the callable until the + number of requested bytes are available. Any additional bytes will be + buffered and used in subsequent reads. + +```php +$stream = GuzzleHttp\Psr7\Utils::streamFor('foo'); +$stream = GuzzleHttp\Psr7\Utils::streamFor(fopen('/path/to/file', 'r')); + +$generator = function ($bytes) { + for ($i = 0; $i < $bytes; $i++) { + yield ' '; + } +} + +$stream = GuzzleHttp\Psr7\Utils::streamFor($generator(100)); +``` + + +## `GuzzleHttp\Psr7\Utils::tryFopen` + +`public static function tryFopen(string $filename, string $mode): resource` + +Safely opens a PHP stream resource using a filename. + +When fopen fails, PHP normally raises a warning. This function adds an +error handler that checks for errors and throws an exception instead. + + +## `GuzzleHttp\Psr7\Utils::uriFor` + +`public static function uriFor(string|UriInterface $uri): UriInterface` + +Returns a UriInterface for the given value. + +This function accepts a string or UriInterface and returns a +UriInterface for the given value. If the value is already a +UriInterface, it is returned as-is. + + +## `GuzzleHttp\Psr7\MimeType::fromFilename` + +`public static function fromFilename(string $filename): string|null` + +Determines the mimetype of a file by looking at its extension. + + +## `GuzzleHttp\Psr7\MimeType::fromExtension` + +`public static function fromExtension(string $extension): string|null` + +Maps a file extensions to a mimetype. + + +## Upgrading from Function API + +The static API was first introduced in 1.7.0, in order to mitigate problems with functions conflicting between global and local copies of the package. The function API was removed in 2.0.0. A migration table has been provided here for your convenience: + +| Original Function | Replacement Method | +|----------------|----------------| +| `str` | `Message::toString` | +| `uri_for` | `Utils::uriFor` | +| `stream_for` | `Utils::streamFor` | +| `parse_header` | `Header::parse` | +| `normalize_header` | `Header::normalize` | +| `modify_request` | `Utils::modifyRequest` | +| `rewind_body` | `Message::rewindBody` | +| `try_fopen` | `Utils::tryFopen` | +| `copy_to_string` | `Utils::copyToString` | +| `copy_to_stream` | `Utils::copyToStream` | +| `hash` | `Utils::hash` | +| `readline` | `Utils::readLine` | +| `parse_request` | `Message::parseRequest` | +| `parse_response` | `Message::parseResponse` | +| `parse_query` | `Query::parse` | +| `build_query` | `Query::build` | +| `mimetype_from_filename` | `MimeType::fromFilename` | +| `mimetype_from_extension` | `MimeType::fromExtension` | +| `_parse_message` | `Message::parseMessage` | +| `_parse_request_uri` | `Message::parseRequestUri` | +| `get_message_body_summary` | `Message::bodySummary` | +| `_caseless_remove` | `Utils::caselessRemove` | + + +# Additional URI Methods + +Aside from the standard `Psr\Http\Message\UriInterface` implementation in form of the `GuzzleHttp\Psr7\Uri` class, +this library also provides additional functionality when working with URIs as static methods. + +## URI Types + +An instance of `Psr\Http\Message\UriInterface` can either be an absolute URI or a relative reference. +An absolute URI has a scheme. A relative reference is used to express a URI relative to another URI, +the base URI. Relative references can be divided into several forms according to +[RFC 3986 Section 4.2](https://tools.ietf.org/html/rfc3986#section-4.2): + +- network-path references, e.g. `//example.com/path` +- absolute-path references, e.g. `/path` +- relative-path references, e.g. `subpath` + +The following methods can be used to identify the type of the URI. + +### `GuzzleHttp\Psr7\Uri::isAbsolute` + +`public static function isAbsolute(UriInterface $uri): bool` + +Whether the URI is absolute, i.e. it has a scheme. + +### `GuzzleHttp\Psr7\Uri::isNetworkPathReference` + +`public static function isNetworkPathReference(UriInterface $uri): bool` + +Whether the URI is a network-path reference. A relative reference that begins with two slash characters is +termed an network-path reference. + +### `GuzzleHttp\Psr7\Uri::isAbsolutePathReference` + +`public static function isAbsolutePathReference(UriInterface $uri): bool` + +Whether the URI is a absolute-path reference. A relative reference that begins with a single slash character is +termed an absolute-path reference. + +### `GuzzleHttp\Psr7\Uri::isRelativePathReference` + +`public static function isRelativePathReference(UriInterface $uri): bool` + +Whether the URI is a relative-path reference. A relative reference that does not begin with a slash character is +termed a relative-path reference. + +### `GuzzleHttp\Psr7\Uri::isSameDocumentReference` + +`public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool` + +Whether the URI is a same-document reference. A same-document reference refers to a URI that is, aside from its +fragment component, identical to the base URI. When no base URI is given, only an empty URI reference +(apart from its fragment) is considered a same-document reference. + +## URI Components + +Additional methods to work with URI components. + +### `GuzzleHttp\Psr7\Uri::isDefaultPort` + +`public static function isDefaultPort(UriInterface $uri): bool` + +Whether the URI has the default port of the current scheme. `Psr\Http\Message\UriInterface::getPort` may return null +or the standard port. This method can be used independently of the implementation. + +### `GuzzleHttp\Psr7\Uri::composeComponents` + +`public static function composeComponents($scheme, $authority, $path, $query, $fragment): string` + +Composes a URI reference string from its various components according to +[RFC 3986 Section 5.3](https://tools.ietf.org/html/rfc3986#section-5.3). Usually this method does not need to be called +manually but instead is used indirectly via `Psr\Http\Message\UriInterface::__toString`. + +### `GuzzleHttp\Psr7\Uri::fromParts` + +`public static function fromParts(array $parts): UriInterface` + +Creates a URI from a hash of [`parse_url`](http://php.net/manual/en/function.parse-url.php) components. + + +### `GuzzleHttp\Psr7\Uri::withQueryValue` + +`public static function withQueryValue(UriInterface $uri, $key, $value): UriInterface` + +Creates a new URI with a specific query string value. Any existing query string values that exactly match the +provided key are removed and replaced with the given key value pair. A value of null will set the query string +key without a value, e.g. "key" instead of "key=value". + +### `GuzzleHttp\Psr7\Uri::withQueryValues` + +`public static function withQueryValues(UriInterface $uri, array $keyValueArray): UriInterface` + +Creates a new URI with multiple query string values. It has the same behavior as `withQueryValue()` but for an +associative array of key => value. + +### `GuzzleHttp\Psr7\Uri::withoutQueryValue` + +`public static function withoutQueryValue(UriInterface $uri, $key): UriInterface` + +Creates a new URI with a specific query string value removed. Any existing query string values that exactly match the +provided key are removed. + +## Reference Resolution + +`GuzzleHttp\Psr7\UriResolver` provides methods to resolve a URI reference in the context of a base URI according +to [RFC 3986 Section 5](https://tools.ietf.org/html/rfc3986#section-5). This is for example also what web browsers +do when resolving a link in a website based on the current request URI. + +### `GuzzleHttp\Psr7\UriResolver::resolve` + +`public static function resolve(UriInterface $base, UriInterface $rel): UriInterface` + +Converts the relative URI into a new URI that is resolved against the base URI. + +### `GuzzleHttp\Psr7\UriResolver::removeDotSegments` + +`public static function removeDotSegments(string $path): string` + +Removes dot segments from a path and returns the new path according to +[RFC 3986 Section 5.2.4](https://tools.ietf.org/html/rfc3986#section-5.2.4). + +### `GuzzleHttp\Psr7\UriResolver::relativize` + +`public static function relativize(UriInterface $base, UriInterface $target): UriInterface` + +Returns the target URI as a relative reference from the base URI. This method is the counterpart to resolve(): + +```php +(string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target)) +``` + +One use-case is to use the current request URI as base URI and then generate relative links in your documents +to reduce the document size or offer self-contained downloadable document archives. + +```php +$base = new Uri('http://example.com/a/b/'); +echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'. +echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'. +echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'. +echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org/a/b/'. +``` + +## Normalization and Comparison + +`GuzzleHttp\Psr7\UriNormalizer` provides methods to normalize and compare URIs according to +[RFC 3986 Section 6](https://tools.ietf.org/html/rfc3986#section-6). + +### `GuzzleHttp\Psr7\UriNormalizer::normalize` + +`public static function normalize(UriInterface $uri, $flags = self::PRESERVING_NORMALIZATIONS): UriInterface` + +Returns a normalized URI. The scheme and host component are already normalized to lowercase per PSR-7 UriInterface. +This methods adds additional normalizations that can be configured with the `$flags` parameter which is a bitmask +of normalizations to apply. The following normalizations are available: + +- `UriNormalizer::PRESERVING_NORMALIZATIONS` + + Default normalizations which only include the ones that preserve semantics. + +- `UriNormalizer::CAPITALIZE_PERCENT_ENCODING` + + All letters within a percent-encoding triplet (e.g., "%3A") are case-insensitive, and should be capitalized. + + Example: `http://example.org/a%c2%b1b` → `http://example.org/a%C2%B1b` + +- `UriNormalizer::DECODE_UNRESERVED_CHARACTERS` + + Decodes percent-encoded octets of unreserved characters. For consistency, percent-encoded octets in the ranges of + ALPHA (%41–%5A and %61–%7A), DIGIT (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should + not be created by URI producers and, when found in a URI, should be decoded to their corresponding unreserved + characters by URI normalizers. + + Example: `http://example.org/%7Eusern%61me/` → `http://example.org/~username/` + +- `UriNormalizer::CONVERT_EMPTY_PATH` + + Converts the empty path to "/" for http and https URIs. + + Example: `http://example.org` → `http://example.org/` + +- `UriNormalizer::REMOVE_DEFAULT_HOST` + + Removes the default host of the given URI scheme from the URI. Only the "file" scheme defines the default host + "localhost". All of `file:/myfile`, `file:///myfile`, and `file://localhost/myfile` are equivalent according to + RFC 3986. + + Example: `file://localhost/myfile` → `file:///myfile` + +- `UriNormalizer::REMOVE_DEFAULT_PORT` + + Removes the default port of the given URI scheme from the URI. + + Example: `http://example.org:80/` → `http://example.org/` + +- `UriNormalizer::REMOVE_DOT_SEGMENTS` + + Removes unnecessary dot-segments. Dot-segments in relative-path references are not removed as it would + change the semantics of the URI reference. + + Example: `http://example.org/../a/b/../c/./d.html` → `http://example.org/a/c/d.html` + +- `UriNormalizer::REMOVE_DUPLICATE_SLASHES` + + Paths which include two or more adjacent slashes are converted to one. Webservers usually ignore duplicate slashes + and treat those URIs equivalent. But in theory those URIs do not need to be equivalent. So this normalization + may change the semantics. Encoded slashes (%2F) are not removed. + + Example: `http://example.org//foo///bar.html` → `http://example.org/foo/bar.html` + +- `UriNormalizer::SORT_QUERY_PARAMETERS` + + Sort query parameters with their values in alphabetical order. However, the order of parameters in a URI may be + significant (this is not defined by the standard). So this normalization is not safe and may change the semantics + of the URI. + + Example: `?lang=en&article=fred` → `?article=fred&lang=en` + +### `GuzzleHttp\Psr7\UriNormalizer::isEquivalent` + +`public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self::PRESERVING_NORMALIZATIONS): bool` + +Whether two URIs can be considered equivalent. Both URIs are normalized automatically before comparison with the given +`$normalizations` bitmask. The method also accepts relative URI references and returns true when they are equivalent. +This of course assumes they will be resolved against the same base URI. If this is not the case, determination of +equivalence or difference of relative references does not mean anything. + + +## Security + +If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/psr7/security/policy) for more information. + +## License + +Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information. + +## For Enterprise + +Available as part of the Tidelift Subscription + +The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-psr7?utm_source=packagist-guzzlehttp-psr7&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) diff --git a/vendor/guzzlehttp/psr7/composer.json b/vendor/guzzlehttp/psr7/composer.json new file mode 100644 index 0000000..1aed3ed --- /dev/null +++ b/vendor/guzzlehttp/psr7/composer.json @@ -0,0 +1,95 @@ +{ + "name": "guzzlehttp/psr7", + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "request", + "response", + "message", + "stream", + "http", + "uri", + "url", + "psr-7" + ], + "license": "MIT", + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "GuzzleHttp\\Tests\\Psr7\\": "tests/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, + "config": { + "allow-plugins": { + "bamarni/composer-bin-plugin": true + }, + "preferred-install": "dist", + "sort-packages": true, + "allow-plugins": { + "bamarni/composer-bin-plugin": true + } + } +} diff --git a/vendor/guzzlehttp/psr7/src/AppendStream.php b/vendor/guzzlehttp/psr7/src/AppendStream.php new file mode 100644 index 0000000..967925f --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/AppendStream.php @@ -0,0 +1,249 @@ +addStream($stream); + } + } + + public function __toString(): string + { + try { + $this->rewind(); + return $this->getContents(); + } catch (\Throwable $e) { + if (\PHP_VERSION_ID >= 70400) { + throw $e; + } + trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); + return ''; + } + } + + /** + * Add a stream to the AppendStream + * + * @param StreamInterface $stream Stream to append. Must be readable. + * + * @throws \InvalidArgumentException if the stream is not readable + */ + public function addStream(StreamInterface $stream): void + { + if (!$stream->isReadable()) { + throw new \InvalidArgumentException('Each stream must be readable'); + } + + // The stream is only seekable if all streams are seekable + if (!$stream->isSeekable()) { + $this->seekable = false; + } + + $this->streams[] = $stream; + } + + public function getContents(): string + { + return Utils::copyToString($this); + } + + /** + * Closes each attached stream. + */ + public function close(): void + { + $this->pos = $this->current = 0; + $this->seekable = true; + + foreach ($this->streams as $stream) { + $stream->close(); + } + + $this->streams = []; + } + + /** + * Detaches each attached stream. + * + * Returns null as it's not clear which underlying stream resource to return. + */ + public function detach() + { + $this->pos = $this->current = 0; + $this->seekable = true; + + foreach ($this->streams as $stream) { + $stream->detach(); + } + + $this->streams = []; + + return null; + } + + public function tell(): int + { + return $this->pos; + } + + /** + * Tries to calculate the size by adding the size of each stream. + * + * If any of the streams do not return a valid number, then the size of the + * append stream cannot be determined and null is returned. + */ + public function getSize(): ?int + { + $size = 0; + + foreach ($this->streams as $stream) { + $s = $stream->getSize(); + if ($s === null) { + return null; + } + $size += $s; + } + + return $size; + } + + public function eof(): bool + { + return !$this->streams || + ($this->current >= count($this->streams) - 1 && + $this->streams[$this->current]->eof()); + } + + public function rewind(): void + { + $this->seek(0); + } + + /** + * Attempts to seek to the given position. Only supports SEEK_SET. + */ + public function seek($offset, $whence = SEEK_SET): void + { + if (!$this->seekable) { + throw new \RuntimeException('This AppendStream is not seekable'); + } elseif ($whence !== SEEK_SET) { + throw new \RuntimeException('The AppendStream can only seek with SEEK_SET'); + } + + $this->pos = $this->current = 0; + + // Rewind each stream + foreach ($this->streams as $i => $stream) { + try { + $stream->rewind(); + } catch (\Exception $e) { + throw new \RuntimeException('Unable to seek stream ' + . $i . ' of the AppendStream', 0, $e); + } + } + + // Seek to the actual position by reading from each stream + while ($this->pos < $offset && !$this->eof()) { + $result = $this->read(min(8096, $offset - $this->pos)); + if ($result === '') { + break; + } + } + } + + /** + * Reads from all of the appended streams until the length is met or EOF. + */ + public function read($length): string + { + $buffer = ''; + $total = count($this->streams) - 1; + $remaining = $length; + $progressToNext = false; + + while ($remaining > 0) { + + // Progress to the next stream if needed. + if ($progressToNext || $this->streams[$this->current]->eof()) { + $progressToNext = false; + if ($this->current === $total) { + break; + } + $this->current++; + } + + $result = $this->streams[$this->current]->read($remaining); + + if ($result === '') { + $progressToNext = true; + continue; + } + + $buffer .= $result; + $remaining = $length - strlen($buffer); + } + + $this->pos += strlen($buffer); + + return $buffer; + } + + public function isReadable(): bool + { + return true; + } + + public function isWritable(): bool + { + return false; + } + + public function isSeekable(): bool + { + return $this->seekable; + } + + public function write($string): int + { + throw new \RuntimeException('Cannot write to an AppendStream'); + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getMetadata($key = null) + { + return $key ? null : []; + } +} diff --git a/vendor/guzzlehttp/psr7/src/BufferStream.php b/vendor/guzzlehttp/psr7/src/BufferStream.php new file mode 100644 index 0000000..21be8c0 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/BufferStream.php @@ -0,0 +1,149 @@ +hwm = $hwm; + } + + public function __toString(): string + { + return $this->getContents(); + } + + public function getContents(): string + { + $buffer = $this->buffer; + $this->buffer = ''; + + return $buffer; + } + + public function close(): void + { + $this->buffer = ''; + } + + public function detach() + { + $this->close(); + + return null; + } + + public function getSize(): ?int + { + return strlen($this->buffer); + } + + public function isReadable(): bool + { + return true; + } + + public function isWritable(): bool + { + return true; + } + + public function isSeekable(): bool + { + return false; + } + + public function rewind(): void + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET): void + { + throw new \RuntimeException('Cannot seek a BufferStream'); + } + + public function eof(): bool + { + return strlen($this->buffer) === 0; + } + + public function tell(): int + { + throw new \RuntimeException('Cannot determine the position of a BufferStream'); + } + + /** + * Reads data from the buffer. + */ + public function read($length): string + { + $currentLength = strlen($this->buffer); + + if ($length >= $currentLength) { + // No need to slice the buffer because we don't have enough data. + $result = $this->buffer; + $this->buffer = ''; + } else { + // Slice up the result to provide a subset of the buffer. + $result = substr($this->buffer, 0, $length); + $this->buffer = substr($this->buffer, $length); + } + + return $result; + } + + /** + * Writes data to the buffer. + */ + public function write($string): int + { + $this->buffer .= $string; + + if (strlen($this->buffer) >= $this->hwm) { + return 0; + } + + return strlen($string); + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getMetadata($key = null) + { + if ($key === 'hwm') { + return $this->hwm; + } + + return $key ? null : []; + } +} diff --git a/vendor/guzzlehttp/psr7/src/CachingStream.php b/vendor/guzzlehttp/psr7/src/CachingStream.php new file mode 100644 index 0000000..7a70ee9 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/CachingStream.php @@ -0,0 +1,148 @@ +remoteStream = $stream; + $this->stream = $target ?: new Stream(Utils::tryFopen('php://temp', 'r+')); + } + + public function getSize(): ?int + { + $remoteSize = $this->remoteStream->getSize(); + + if (null === $remoteSize) { + return null; + } + + return max($this->stream->getSize(), $remoteSize); + } + + public function rewind(): void + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET): void + { + if ($whence === SEEK_SET) { + $byte = $offset; + } elseif ($whence === SEEK_CUR) { + $byte = $offset + $this->tell(); + } elseif ($whence === SEEK_END) { + $size = $this->remoteStream->getSize(); + if ($size === null) { + $size = $this->cacheEntireStream(); + } + $byte = $size + $offset; + } else { + throw new \InvalidArgumentException('Invalid whence'); + } + + $diff = $byte - $this->stream->getSize(); + + if ($diff > 0) { + // Read the remoteStream until we have read in at least the amount + // of bytes requested, or we reach the end of the file. + while ($diff > 0 && !$this->remoteStream->eof()) { + $this->read($diff); + $diff = $byte - $this->stream->getSize(); + } + } else { + // We can just do a normal seek since we've already seen this byte. + $this->stream->seek($byte); + } + } + + public function read($length): string + { + // Perform a regular read on any previously read data from the buffer + $data = $this->stream->read($length); + $remaining = $length - strlen($data); + + // More data was requested so read from the remote stream + if ($remaining) { + // If data was written to the buffer in a position that would have + // been filled from the remote stream, then we must skip bytes on + // the remote stream to emulate overwriting bytes from that + // position. This mimics the behavior of other PHP stream wrappers. + $remoteData = $this->remoteStream->read( + $remaining + $this->skipReadBytes + ); + + if ($this->skipReadBytes) { + $len = strlen($remoteData); + $remoteData = substr($remoteData, $this->skipReadBytes); + $this->skipReadBytes = max(0, $this->skipReadBytes - $len); + } + + $data .= $remoteData; + $this->stream->write($remoteData); + } + + return $data; + } + + public function write($string): int + { + // When appending to the end of the currently read stream, you'll want + // to skip bytes from being read from the remote stream to emulate + // other stream wrappers. Basically replacing bytes of data of a fixed + // length. + $overflow = (strlen($string) + $this->tell()) - $this->remoteStream->tell(); + if ($overflow > 0) { + $this->skipReadBytes += $overflow; + } + + return $this->stream->write($string); + } + + public function eof(): bool + { + return $this->stream->eof() && $this->remoteStream->eof(); + } + + /** + * Close both the remote stream and buffer stream + */ + public function close(): void + { + $this->remoteStream->close(); + $this->stream->close(); + } + + private function cacheEntireStream(): int + { + $target = new FnStream(['write' => 'strlen']); + Utils::copyToStream($this, $target); + + return $this->tell(); + } +} diff --git a/vendor/guzzlehttp/psr7/src/DroppingStream.php b/vendor/guzzlehttp/psr7/src/DroppingStream.php new file mode 100644 index 0000000..d78070a --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/DroppingStream.php @@ -0,0 +1,46 @@ +stream = $stream; + $this->maxLength = $maxLength; + } + + public function write($string): int + { + $diff = $this->maxLength - $this->stream->getSize(); + + // Begin returning 0 when the underlying stream is too large. + if ($diff <= 0) { + return 0; + } + + // Write the stream or a subset of the stream if needed. + if (strlen($string) < $diff) { + return $this->stream->write($string); + } + + return $this->stream->write(substr($string, 0, $diff)); + } +} diff --git a/vendor/guzzlehttp/psr7/src/Exception/MalformedUriException.php b/vendor/guzzlehttp/psr7/src/Exception/MalformedUriException.php new file mode 100644 index 0000000..3a08477 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Exception/MalformedUriException.php @@ -0,0 +1,14 @@ + */ + private $methods; + + /** + * @param array $methods Hash of method name to a callable. + */ + public function __construct(array $methods) + { + $this->methods = $methods; + + // Create the functions on the class + foreach ($methods as $name => $fn) { + $this->{'_fn_' . $name} = $fn; + } + } + + /** + * Lazily determine which methods are not implemented. + * + * @throws \BadMethodCallException + */ + public function __get(string $name): void + { + throw new \BadMethodCallException(str_replace('_fn_', '', $name) + . '() is not implemented in the FnStream'); + } + + /** + * The close method is called on the underlying stream only if possible. + */ + public function __destruct() + { + if (isset($this->_fn_close)) { + call_user_func($this->_fn_close); + } + } + + /** + * An unserialize would allow the __destruct to run when the unserialized value goes out of scope. + * + * @throws \LogicException + */ + public function __wakeup(): void + { + throw new \LogicException('FnStream should never be unserialized'); + } + + /** + * Adds custom functionality to an underlying stream by intercepting + * specific method calls. + * + * @param StreamInterface $stream Stream to decorate + * @param array $methods Hash of method name to a closure + * + * @return FnStream + */ + public static function decorate(StreamInterface $stream, array $methods) + { + // If any of the required methods were not provided, then simply + // proxy to the decorated stream. + foreach (array_diff(self::SLOTS, array_keys($methods)) as $diff) { + /** @var callable $callable */ + $callable = [$stream, $diff]; + $methods[$diff] = $callable; + } + + return new self($methods); + } + + public function __toString(): string + { + try { + return call_user_func($this->_fn___toString); + } catch (\Throwable $e) { + if (\PHP_VERSION_ID >= 70400) { + throw $e; + } + trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); + return ''; + } + } + + public function close(): void + { + call_user_func($this->_fn_close); + } + + public function detach() + { + return call_user_func($this->_fn_detach); + } + + public function getSize(): ?int + { + return call_user_func($this->_fn_getSize); + } + + public function tell(): int + { + return call_user_func($this->_fn_tell); + } + + public function eof(): bool + { + return call_user_func($this->_fn_eof); + } + + public function isSeekable(): bool + { + return call_user_func($this->_fn_isSeekable); + } + + public function rewind(): void + { + call_user_func($this->_fn_rewind); + } + + public function seek($offset, $whence = SEEK_SET): void + { + call_user_func($this->_fn_seek, $offset, $whence); + } + + public function isWritable(): bool + { + return call_user_func($this->_fn_isWritable); + } + + public function write($string): int + { + return call_user_func($this->_fn_write, $string); + } + + public function isReadable(): bool + { + return call_user_func($this->_fn_isReadable); + } + + public function read($length): string + { + return call_user_func($this->_fn_read, $length); + } + + public function getContents(): string + { + return call_user_func($this->_fn_getContents); + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getMetadata($key = null) + { + return call_user_func($this->_fn_getMetadata, $key); + } +} diff --git a/vendor/guzzlehttp/psr7/src/Header.php b/vendor/guzzlehttp/psr7/src/Header.php new file mode 100644 index 0000000..b219b87 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Header.php @@ -0,0 +1,71 @@ +]+>|[^=]+/', $kvp, $matches)) { + $m = $matches[0]; + if (isset($m[1])) { + $part[trim($m[0], $trimmed)] = trim($m[1], $trimmed); + } else { + $part[] = trim($m[0], $trimmed); + } + } + } + if ($part) { + $params[] = $part; + } + } + + return $params; + } + + /** + * Converts an array of header values that may contain comma separated + * headers into an array of headers with no comma separated values. + * + * @param string|array $header Header to normalize. + */ + public static function normalize($header): array + { + $result = []; + foreach ((array) $header as $value) { + foreach ((array) $value as $v) { + if (strpos($v, ',') === false) { + $trimmed = trim($v); + if ($trimmed !== '') { + $result[] = $trimmed; + } + continue; + } + foreach (preg_split('/,(?=([^"]*"([^"]|\\\\.)*")*[^"]*$)/', $v) as $vv) { + $trimmed = trim($vv); + if ($trimmed !== '') { + $result[] = $trimmed; + } + } + } + } + + return $result; + } +} diff --git a/vendor/guzzlehttp/psr7/src/HttpFactory.php b/vendor/guzzlehttp/psr7/src/HttpFactory.php new file mode 100644 index 0000000..30be222 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/HttpFactory.php @@ -0,0 +1,100 @@ +getSize(); + } + + return new UploadedFile($stream, $size, $error, $clientFilename, $clientMediaType); + } + + public function createStream(string $content = ''): StreamInterface + { + return Utils::streamFor($content); + } + + public function createStreamFromFile(string $file, string $mode = 'r'): StreamInterface + { + try { + $resource = Utils::tryFopen($file, $mode); + } catch (\RuntimeException $e) { + if ('' === $mode || false === \in_array($mode[0], ['r', 'w', 'a', 'x', 'c'], true)) { + throw new \InvalidArgumentException(sprintf('Invalid file opening mode "%s"', $mode), 0, $e); + } + + throw $e; + } + + return Utils::streamFor($resource); + } + + public function createStreamFromResource($resource): StreamInterface + { + return Utils::streamFor($resource); + } + + public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface + { + if (empty($method)) { + if (!empty($serverParams['REQUEST_METHOD'])) { + $method = $serverParams['REQUEST_METHOD']; + } else { + throw new \InvalidArgumentException('Cannot determine HTTP method'); + } + } + + return new ServerRequest($method, $uri, [], null, '1.1', $serverParams); + } + + public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface + { + return new Response($code, [], null, '1.1', $reasonPhrase); + } + + public function createRequest(string $method, $uri): RequestInterface + { + return new Request($method, $uri); + } + + public function createUri(string $uri = ''): UriInterface + { + return new Uri($uri); + } +} diff --git a/vendor/guzzlehttp/psr7/src/InflateStream.php b/vendor/guzzlehttp/psr7/src/InflateStream.php new file mode 100644 index 0000000..8e3cf17 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/InflateStream.php @@ -0,0 +1,34 @@ + 15 + 32]); + $this->stream = $stream->isSeekable() ? new Stream($resource) : new NoSeekStream(new Stream($resource)); + } +} diff --git a/vendor/guzzlehttp/psr7/src/LazyOpenStream.php b/vendor/guzzlehttp/psr7/src/LazyOpenStream.php new file mode 100644 index 0000000..6b60429 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/LazyOpenStream.php @@ -0,0 +1,40 @@ +filename = $filename; + $this->mode = $mode; + } + + /** + * Creates the underlying stream lazily when required. + */ + protected function createStream(): StreamInterface + { + return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); + } +} diff --git a/vendor/guzzlehttp/psr7/src/LimitStream.php b/vendor/guzzlehttp/psr7/src/LimitStream.php new file mode 100644 index 0000000..9762d38 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/LimitStream.php @@ -0,0 +1,154 @@ +stream = $stream; + $this->setLimit($limit); + $this->setOffset($offset); + } + + public function eof(): bool + { + // Always return true if the underlying stream is EOF + if ($this->stream->eof()) { + return true; + } + + // No limit and the underlying stream is not at EOF + if ($this->limit === -1) { + return false; + } + + return $this->stream->tell() >= $this->offset + $this->limit; + } + + /** + * Returns the size of the limited subset of data + */ + public function getSize(): ?int + { + if (null === ($length = $this->stream->getSize())) { + return null; + } elseif ($this->limit === -1) { + return $length - $this->offset; + } else { + return min($this->limit, $length - $this->offset); + } + } + + /** + * Allow for a bounded seek on the read limited stream + */ + public function seek($offset, $whence = SEEK_SET): void + { + if ($whence !== SEEK_SET || $offset < 0) { + throw new \RuntimeException(sprintf( + 'Cannot seek to offset %s with whence %s', + $offset, + $whence + )); + } + + $offset += $this->offset; + + if ($this->limit !== -1) { + if ($offset > $this->offset + $this->limit) { + $offset = $this->offset + $this->limit; + } + } + + $this->stream->seek($offset); + } + + /** + * Give a relative tell() + */ + public function tell(): int + { + return $this->stream->tell() - $this->offset; + } + + /** + * Set the offset to start limiting from + * + * @param int $offset Offset to seek to and begin byte limiting from + * + * @throws \RuntimeException if the stream cannot be seeked. + */ + public function setOffset(int $offset): void + { + $current = $this->stream->tell(); + + if ($current !== $offset) { + // If the stream cannot seek to the offset position, then read to it + if ($this->stream->isSeekable()) { + $this->stream->seek($offset); + } elseif ($current > $offset) { + throw new \RuntimeException("Could not seek to stream offset $offset"); + } else { + $this->stream->read($offset - $current); + } + } + + $this->offset = $offset; + } + + /** + * Set the limit of bytes that the decorator allows to be read from the + * stream. + * + * @param int $limit Number of bytes to allow to be read from the stream. + * Use -1 for no limit. + */ + public function setLimit(int $limit): void + { + $this->limit = $limit; + } + + public function read($length): string + { + if ($this->limit === -1) { + return $this->stream->read($length); + } + + // Check if the current position is less than the total allowed + // bytes + original offset + $remaining = ($this->offset + $this->limit) - $this->stream->tell(); + if ($remaining > 0) { + // Only return the amount of requested data, ensuring that the byte + // limit is not exceeded + return $this->stream->read(min($remaining, $length)); + } + + return ''; + } +} diff --git a/vendor/guzzlehttp/psr7/src/Message.php b/vendor/guzzlehttp/psr7/src/Message.php new file mode 100644 index 0000000..9b825b3 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Message.php @@ -0,0 +1,242 @@ +getMethod() . ' ' + . $message->getRequestTarget()) + . ' HTTP/' . $message->getProtocolVersion(); + if (!$message->hasHeader('host')) { + $msg .= "\r\nHost: " . $message->getUri()->getHost(); + } + } elseif ($message instanceof ResponseInterface) { + $msg = 'HTTP/' . $message->getProtocolVersion() . ' ' + . $message->getStatusCode() . ' ' + . $message->getReasonPhrase(); + } else { + throw new \InvalidArgumentException('Unknown message type'); + } + + foreach ($message->getHeaders() as $name => $values) { + if (strtolower($name) === 'set-cookie') { + foreach ($values as $value) { + $msg .= "\r\n{$name}: " . $value; + } + } else { + $msg .= "\r\n{$name}: " . implode(', ', $values); + } + } + + return "{$msg}\r\n\r\n" . $message->getBody(); + } + + /** + * Get a short summary of the message body. + * + * Will return `null` if the response is not printable. + * + * @param MessageInterface $message The message to get the body summary + * @param int $truncateAt The maximum allowed size of the summary + */ + public static function bodySummary(MessageInterface $message, int $truncateAt = 120): ?string + { + $body = $message->getBody(); + + if (!$body->isSeekable() || !$body->isReadable()) { + return null; + } + + $size = $body->getSize(); + + if ($size === 0) { + return null; + } + + $summary = $body->read($truncateAt); + $body->rewind(); + + if ($size > $truncateAt) { + $summary .= ' (truncated...)'; + } + + // 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)) { + return null; + } + + return $summary; + } + + /** + * Attempts to rewind a message body and throws an exception on failure. + * + * The body of the message will only be rewound if a call to `tell()` + * returns a value other than `0`. + * + * @param MessageInterface $message Message to rewind + * + * @throws \RuntimeException + */ + public static function rewindBody(MessageInterface $message): void + { + $body = $message->getBody(); + + if ($body->tell()) { + $body->rewind(); + } + } + + /** + * Parses an HTTP message into an associative array. + * + * The array contains the "start-line" key containing the start line of + * the message, "headers" key containing an associative array of header + * array values, and a "body" key containing the body of the message. + * + * @param string $message HTTP request or response to parse. + */ + public static function parseMessage(string $message): array + { + if (!$message) { + throw new \InvalidArgumentException('Invalid message'); + } + + $message = ltrim($message, "\r\n"); + + $messageParts = preg_split("/\r?\n\r?\n/", $message, 2); + + if ($messageParts === false || count($messageParts) !== 2) { + throw new \InvalidArgumentException('Invalid message: Missing header delimiter'); + } + + [$rawHeaders, $body] = $messageParts; + $rawHeaders .= "\r\n"; // Put back the delimiter we split previously + $headerParts = preg_split("/\r?\n/", $rawHeaders, 2); + + if ($headerParts === false || count($headerParts) !== 2) { + throw new \InvalidArgumentException('Invalid message: Missing status line'); + } + + [$startLine, $rawHeaders] = $headerParts; + + if (preg_match("/(?:^HTTP\/|^[A-Z]+ \S+ HTTP\/)(\d+(?:\.\d+)?)/i", $startLine, $matches) && $matches[1] === '1.0') { + // Header folding is deprecated for HTTP/1.1, but allowed in HTTP/1.0 + $rawHeaders = preg_replace(Rfc7230::HEADER_FOLD_REGEX, ' ', $rawHeaders); + } + + /** @var array[] $headerLines */ + $count = preg_match_all(Rfc7230::HEADER_REGEX, $rawHeaders, $headerLines, PREG_SET_ORDER); + + // If these aren't the same, then one line didn't match and there's an invalid header. + if ($count !== substr_count($rawHeaders, "\n")) { + // Folding is deprecated, see https://tools.ietf.org/html/rfc7230#section-3.2.4 + if (preg_match(Rfc7230::HEADER_FOLD_REGEX, $rawHeaders)) { + throw new \InvalidArgumentException('Invalid header syntax: Obsolete line folding'); + } + + throw new \InvalidArgumentException('Invalid header syntax'); + } + + $headers = []; + + foreach ($headerLines as $headerLine) { + $headers[$headerLine[1]][] = $headerLine[2]; + } + + return [ + 'start-line' => $startLine, + 'headers' => $headers, + 'body' => $body, + ]; + } + + /** + * Constructs a URI for an HTTP request message. + * + * @param string $path Path from the start-line + * @param array $headers Array of headers (each value an array). + */ + public static function parseRequestUri(string $path, array $headers): string + { + $hostKey = array_filter(array_keys($headers), function ($k) { + return strtolower($k) === 'host'; + }); + + // If no host is found, then a full URI cannot be constructed. + if (!$hostKey) { + return $path; + } + + $host = $headers[reset($hostKey)][0]; + $scheme = substr($host, -4) === ':443' ? 'https' : 'http'; + + return $scheme . '://' . $host . '/' . ltrim($path, '/'); + } + + /** + * Parses a request message string into a request object. + * + * @param string $message Request message string. + */ + public static function parseRequest(string $message): RequestInterface + { + $data = self::parseMessage($message); + $matches = []; + if (!preg_match('/^[\S]+\s+([a-zA-Z]+:\/\/|\/).*/', $data['start-line'], $matches)) { + throw new \InvalidArgumentException('Invalid request string'); + } + $parts = explode(' ', $data['start-line'], 3); + $version = isset($parts[2]) ? explode('/', $parts[2])[1] : '1.1'; + + $request = new Request( + $parts[0], + $matches[1] === '/' ? self::parseRequestUri($parts[1], $data['headers']) : $parts[1], + $data['headers'], + $data['body'], + $version + ); + + return $matches[1] === '/' ? $request : $request->withRequestTarget($parts[1]); + } + + /** + * Parses a response message string into a response object. + * + * @param string $message Response message string. + */ + public static function parseResponse(string $message): ResponseInterface + { + $data = self::parseMessage($message); + // According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space + // between status-code and reason-phrase is required. But browsers accept + // responses without space and reason as well. + if (!preg_match('/^HTTP\/.* [0-9]{3}( .*|$)/', $data['start-line'])) { + throw new \InvalidArgumentException('Invalid response string: ' . $data['start-line']); + } + $parts = explode(' ', $data['start-line'], 3); + + return new Response( + (int) $parts[1], + $data['headers'], + $data['body'], + explode('/', $parts[0])[1], + $parts[2] ?? null + ); + } +} diff --git a/vendor/guzzlehttp/psr7/src/MessageTrait.php b/vendor/guzzlehttp/psr7/src/MessageTrait.php new file mode 100644 index 0000000..a8696b9 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/MessageTrait.php @@ -0,0 +1,266 @@ + Map of all registered headers, as original name => array of values */ + private $headers = []; + + /** @var array Map of lowercase header name => original name at registration */ + private $headerNames = []; + + /** @var string */ + private $protocol = '1.1'; + + /** @var StreamInterface|null */ + private $stream; + + public function getProtocolVersion(): string + { + return $this->protocol; + } + + public function withProtocolVersion($version): MessageInterface + { + if ($this->protocol === $version) { + return $this; + } + + $new = clone $this; + $new->protocol = $version; + return $new; + } + + public function getHeaders(): array + { + return $this->headers; + } + + public function hasHeader($header): bool + { + return isset($this->headerNames[strtolower($header)]); + } + + public function getHeader($header): array + { + $header = strtolower($header); + + if (!isset($this->headerNames[$header])) { + return []; + } + + $header = $this->headerNames[$header]; + + return $this->headers[$header]; + } + + public function getHeaderLine($header): string + { + return implode(', ', $this->getHeader($header)); + } + + public function withHeader($header, $value): MessageInterface + { + $this->assertHeader($header); + $value = $this->normalizeHeaderValue($value); + $normalized = strtolower($header); + + $new = clone $this; + if (isset($new->headerNames[$normalized])) { + unset($new->headers[$new->headerNames[$normalized]]); + } + $new->headerNames[$normalized] = $header; + $new->headers[$header] = $value; + + return $new; + } + + public function withAddedHeader($header, $value): MessageInterface + { + $this->assertHeader($header); + $value = $this->normalizeHeaderValue($value); + $normalized = strtolower($header); + + $new = clone $this; + if (isset($new->headerNames[$normalized])) { + $header = $this->headerNames[$normalized]; + $new->headers[$header] = array_merge($this->headers[$header], $value); + } else { + $new->headerNames[$normalized] = $header; + $new->headers[$header] = $value; + } + + return $new; + } + + public function withoutHeader($header): MessageInterface + { + $normalized = strtolower($header); + + if (!isset($this->headerNames[$normalized])) { + return $this; + } + + $header = $this->headerNames[$normalized]; + + $new = clone $this; + unset($new->headers[$header], $new->headerNames[$normalized]); + + return $new; + } + + public function getBody(): StreamInterface + { + if (!$this->stream) { + $this->stream = Utils::streamFor(''); + } + + return $this->stream; + } + + public function withBody(StreamInterface $body): MessageInterface + { + if ($body === $this->stream) { + return $this; + } + + $new = clone $this; + $new->stream = $body; + return $new; + } + + /** + * @param array $headers + */ + private function setHeaders(array $headers): void + { + $this->headerNames = $this->headers = []; + foreach ($headers as $header => $value) { + if (is_int($header)) { + // Numeric array keys are converted to int by PHP but having a header name '123' is not forbidden by the spec + // and also allowed in withHeader(). So we need to cast it to string again for the following assertion to pass. + $header = (string) $header; + } + $this->assertHeader($header); + $value = $this->normalizeHeaderValue($value); + $normalized = strtolower($header); + if (isset($this->headerNames[$normalized])) { + $header = $this->headerNames[$normalized]; + $this->headers[$header] = array_merge($this->headers[$header], $value); + } else { + $this->headerNames[$normalized] = $header; + $this->headers[$header] = $value; + } + } + } + + /** + * @param mixed $value + * + * @return string[] + */ + private function normalizeHeaderValue($value): array + { + if (!is_array($value)) { + return $this->trimAndValidateHeaderValues([$value]); + } + + if (count($value) === 0) { + throw new \InvalidArgumentException('Header value can not be an empty array.'); + } + + return $this->trimAndValidateHeaderValues($value); + } + + /** + * Trims whitespace from the header values. + * + * Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field. + * + * header-field = field-name ":" OWS field-value OWS + * OWS = *( SP / HTAB ) + * + * @param mixed[] $values Header values + * + * @return string[] Trimmed header values + * + * @see https://tools.ietf.org/html/rfc7230#section-3.2.4 + */ + private function trimAndValidateHeaderValues(array $values): array + { + return array_map(function ($value) { + if (!is_scalar($value) && null !== $value) { + throw new \InvalidArgumentException(sprintf( + 'Header value must be scalar or null but %s provided.', + is_object($value) ? get_class($value) : gettype($value) + )); + } + + $trimmed = trim((string) $value, " \t"); + $this->assertValue($trimmed); + + return $trimmed; + }, array_values($values)); + } + + /** + * @see https://tools.ietf.org/html/rfc7230#section-3.2 + * + * @param mixed $header + */ + private function assertHeader($header): void + { + if (!is_string($header)) { + throw new \InvalidArgumentException(sprintf( + 'Header name must be a string but %s provided.', + is_object($header) ? get_class($header) : gettype($header) + )); + } + + if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/', $header)) { + throw new \InvalidArgumentException( + sprintf( + '"%s" is not valid header name', + $header + ) + ); + } + } + + /** + * @see https://tools.ietf.org/html/rfc7230#section-3.2 + * + * field-value = *( field-content / obs-fold ) + * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] + * field-vchar = VCHAR / obs-text + * VCHAR = %x21-7E + * obs-text = %x80-FF + * obs-fold = CRLF 1*( SP / HTAB ) + */ + private function assertValue(string $value): void + { + // The regular expression intentionally does not support the obs-fold production, because as + // per RFC 7230#3.2.4: + // + // A sender MUST NOT generate a message that includes + // line folding (i.e., that has any field-value that contains a match to + // the obs-fold rule) unless the message is intended for packaging + // within the message/http media type. + // + // 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)); + } + } +} diff --git a/vendor/guzzlehttp/psr7/src/MimeType.php b/vendor/guzzlehttp/psr7/src/MimeType.php new file mode 100644 index 0000000..3bcb07a --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/MimeType.php @@ -0,0 +1,1228 @@ + 'application/vnd.1000minds.decision-model+xml', + '3dml' => 'text/vnd.in3d.3dml', + '3ds' => 'image/x-3ds', + '3g2' => 'video/3gpp2', + '3gp' => 'video/3gp', + '3gpp' => 'video/3gpp', + '3mf' => 'model/3mf', + '7z' => 'application/x-7z-compressed', + '7zip' => 'application/x-7z-compressed', + '123' => 'application/vnd.lotus-1-2-3', + 'aab' => 'application/x-authorware-bin', + 'aac' => 'audio/x-acc', + 'aam' => 'application/x-authorware-map', + 'aas' => 'application/x-authorware-seg', + 'abw' => 'application/x-abiword', + 'ac' => 'application/vnd.nokia.n-gage.ac+xml', + 'ac3' => 'audio/ac3', + 'acc' => 'application/vnd.americandynamics.acc', + 'ace' => 'application/x-ace-compressed', + 'acu' => 'application/vnd.acucobol', + 'acutc' => 'application/vnd.acucorp', + 'adp' => 'audio/adpcm', + 'aep' => 'application/vnd.audiograph', + 'afm' => 'application/x-font-type1', + 'afp' => 'application/vnd.ibm.modcap', + 'ahead' => 'application/vnd.ahead.space', + 'ai' => 'application/pdf', + 'aif' => 'audio/x-aiff', + 'aifc' => 'audio/x-aiff', + 'aiff' => 'audio/x-aiff', + 'air' => 'application/vnd.adobe.air-application-installer-package+zip', + 'ait' => 'application/vnd.dvb.ait', + 'ami' => 'application/vnd.amiga.ami', + 'amr' => 'audio/amr', + 'apk' => 'application/vnd.android.package-archive', + 'apng' => 'image/apng', + 'appcache' => 'text/cache-manifest', + 'application' => 'application/x-ms-application', + 'apr' => 'application/vnd.lotus-approach', + 'arc' => 'application/x-freearc', + 'arj' => 'application/x-arj', + 'asc' => 'application/pgp-signature', + 'asf' => 'video/x-ms-asf', + 'asm' => 'text/x-asm', + 'aso' => 'application/vnd.accpac.simply.aso', + 'asx' => 'video/x-ms-asf', + 'atc' => 'application/vnd.acucorp', + 'atom' => 'application/atom+xml', + 'atomcat' => 'application/atomcat+xml', + 'atomdeleted' => 'application/atomdeleted+xml', + 'atomsvc' => 'application/atomsvc+xml', + 'atx' => 'application/vnd.antix.game-component', + 'au' => 'audio/x-au', + 'avi' => 'video/x-msvideo', + 'avif' => 'image/avif', + 'aw' => 'application/applixware', + 'azf' => 'application/vnd.airzip.filesecure.azf', + 'azs' => 'application/vnd.airzip.filesecure.azs', + 'azv' => 'image/vnd.airzip.accelerator.azv', + 'azw' => 'application/vnd.amazon.ebook', + 'b16' => 'image/vnd.pco.b16', + 'bat' => 'application/x-msdownload', + 'bcpio' => 'application/x-bcpio', + 'bdf' => 'application/x-font-bdf', + 'bdm' => 'application/vnd.syncml.dm+wbxml', + 'bdoc' => 'application/x-bdoc', + 'bed' => 'application/vnd.realvnc.bed', + 'bh2' => 'application/vnd.fujitsu.oasysprs', + 'bin' => 'application/octet-stream', + 'blb' => 'application/x-blorb', + 'blorb' => 'application/x-blorb', + 'bmi' => 'application/vnd.bmi', + 'bmml' => 'application/vnd.balsamiq.bmml+xml', + 'bmp' => 'image/bmp', + 'book' => 'application/vnd.framemaker', + 'box' => 'application/vnd.previewsystems.box', + 'boz' => 'application/x-bzip2', + 'bpk' => 'application/octet-stream', + 'bpmn' => 'application/octet-stream', + 'bsp' => 'model/vnd.valve.source.compiled-map', + 'btif' => 'image/prs.btif', + 'buffer' => 'application/octet-stream', + 'bz' => 'application/x-bzip', + 'bz2' => 'application/x-bzip2', + 'c' => 'text/x-c', + 'c4d' => 'application/vnd.clonk.c4group', + 'c4f' => 'application/vnd.clonk.c4group', + 'c4g' => 'application/vnd.clonk.c4group', + 'c4p' => 'application/vnd.clonk.c4group', + 'c4u' => 'application/vnd.clonk.c4group', + 'c11amc' => 'application/vnd.cluetrust.cartomobile-config', + 'c11amz' => 'application/vnd.cluetrust.cartomobile-config-pkg', + 'cab' => 'application/vnd.ms-cab-compressed', + 'caf' => 'audio/x-caf', + 'cap' => 'application/vnd.tcpdump.pcap', + 'car' => 'application/vnd.curl.car', + 'cat' => 'application/vnd.ms-pki.seccat', + 'cb7' => 'application/x-cbr', + 'cba' => 'application/x-cbr', + 'cbr' => 'application/x-cbr', + 'cbt' => 'application/x-cbr', + 'cbz' => 'application/x-cbr', + 'cc' => 'text/x-c', + 'cco' => 'application/x-cocoa', + 'cct' => 'application/x-director', + 'ccxml' => 'application/ccxml+xml', + 'cdbcmsg' => 'application/vnd.contact.cmsg', + 'cdf' => 'application/x-netcdf', + 'cdfx' => 'application/cdfx+xml', + 'cdkey' => 'application/vnd.mediastation.cdkey', + 'cdmia' => 'application/cdmi-capability', + 'cdmic' => 'application/cdmi-container', + 'cdmid' => 'application/cdmi-domain', + 'cdmio' => 'application/cdmi-object', + 'cdmiq' => 'application/cdmi-queue', + 'cdr' => 'application/cdr', + 'cdx' => 'chemical/x-cdx', + 'cdxml' => 'application/vnd.chemdraw+xml', + 'cdy' => 'application/vnd.cinderella', + 'cer' => 'application/pkix-cert', + 'cfs' => 'application/x-cfs-compressed', + 'cgm' => 'image/cgm', + 'chat' => 'application/x-chat', + 'chm' => 'application/vnd.ms-htmlhelp', + 'chrt' => 'application/vnd.kde.kchart', + 'cif' => 'chemical/x-cif', + 'cii' => 'application/vnd.anser-web-certificate-issue-initiation', + 'cil' => 'application/vnd.ms-artgalry', + 'cjs' => 'application/node', + 'cla' => 'application/vnd.claymore', + 'class' => 'application/octet-stream', + 'clkk' => 'application/vnd.crick.clicker.keyboard', + 'clkp' => 'application/vnd.crick.clicker.palette', + 'clkt' => 'application/vnd.crick.clicker.template', + 'clkw' => 'application/vnd.crick.clicker.wordbank', + 'clkx' => 'application/vnd.crick.clicker', + 'clp' => 'application/x-msclip', + 'cmc' => 'application/vnd.cosmocaller', + 'cmdf' => 'chemical/x-cmdf', + 'cml' => 'chemical/x-cml', + 'cmp' => 'application/vnd.yellowriver-custom-menu', + 'cmx' => 'image/x-cmx', + 'cod' => 'application/vnd.rim.cod', + 'coffee' => 'text/coffeescript', + 'com' => 'application/x-msdownload', + 'conf' => 'text/plain', + 'cpio' => 'application/x-cpio', + 'cpp' => 'text/x-c', + 'cpt' => 'application/mac-compactpro', + 'crd' => 'application/x-mscardfile', + 'crl' => 'application/pkix-crl', + 'crt' => 'application/x-x509-ca-cert', + 'crx' => 'application/x-chrome-extension', + 'cryptonote' => 'application/vnd.rig.cryptonote', + 'csh' => 'application/x-csh', + 'csl' => 'application/vnd.citationstyles.style+xml', + 'csml' => 'chemical/x-csml', + 'csp' => 'application/vnd.commonspace', + 'csr' => 'application/octet-stream', + 'css' => 'text/css', + 'cst' => 'application/x-director', + 'csv' => 'text/csv', + 'cu' => 'application/cu-seeme', + 'curl' => 'text/vnd.curl', + 'cww' => 'application/prs.cww', + 'cxt' => 'application/x-director', + 'cxx' => 'text/x-c', + 'dae' => 'model/vnd.collada+xml', + 'daf' => 'application/vnd.mobius.daf', + 'dart' => 'application/vnd.dart', + 'dataless' => 'application/vnd.fdsn.seed', + 'davmount' => 'application/davmount+xml', + 'dbf' => 'application/vnd.dbf', + 'dbk' => 'application/docbook+xml', + 'dcr' => 'application/x-director', + 'dcurl' => 'text/vnd.curl.dcurl', + 'dd2' => 'application/vnd.oma.dd2+xml', + 'ddd' => 'application/vnd.fujixerox.ddd', + 'ddf' => 'application/vnd.syncml.dmddf+xml', + 'dds' => 'image/vnd.ms-dds', + 'deb' => 'application/x-debian-package', + 'def' => 'text/plain', + 'deploy' => 'application/octet-stream', + 'der' => 'application/x-x509-ca-cert', + 'dfac' => 'application/vnd.dreamfactory', + 'dgc' => 'application/x-dgc-compressed', + 'dic' => 'text/x-c', + 'dir' => 'application/x-director', + 'dis' => 'application/vnd.mobius.dis', + 'disposition-notification' => 'message/disposition-notification', + 'dist' => 'application/octet-stream', + 'distz' => 'application/octet-stream', + 'djv' => 'image/vnd.djvu', + 'djvu' => 'image/vnd.djvu', + 'dll' => 'application/octet-stream', + 'dmg' => 'application/x-apple-diskimage', + 'dmn' => 'application/octet-stream', + 'dmp' => 'application/vnd.tcpdump.pcap', + 'dms' => 'application/octet-stream', + 'dna' => 'application/vnd.dna', + 'doc' => 'application/msword', + 'docm' => 'application/vnd.ms-word.template.macroEnabled.12', + 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'dot' => 'application/msword', + 'dotm' => 'application/vnd.ms-word.template.macroEnabled.12', + 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + 'dp' => 'application/vnd.osgi.dp', + 'dpg' => 'application/vnd.dpgraph', + 'dra' => 'audio/vnd.dra', + 'drle' => 'image/dicom-rle', + 'dsc' => 'text/prs.lines.tag', + 'dssc' => 'application/dssc+der', + 'dtb' => 'application/x-dtbook+xml', + 'dtd' => 'application/xml-dtd', + 'dts' => 'audio/vnd.dts', + 'dtshd' => 'audio/vnd.dts.hd', + 'dump' => 'application/octet-stream', + 'dvb' => 'video/vnd.dvb.file', + 'dvi' => 'application/x-dvi', + 'dwd' => 'application/atsc-dwd+xml', + 'dwf' => 'model/vnd.dwf', + 'dwg' => 'image/vnd.dwg', + 'dxf' => 'image/vnd.dxf', + 'dxp' => 'application/vnd.spotfire.dxp', + 'dxr' => 'application/x-director', + 'ear' => 'application/java-archive', + 'ecelp4800' => 'audio/vnd.nuera.ecelp4800', + 'ecelp7470' => 'audio/vnd.nuera.ecelp7470', + 'ecelp9600' => 'audio/vnd.nuera.ecelp9600', + 'ecma' => 'application/ecmascript', + 'edm' => 'application/vnd.novadigm.edm', + 'edx' => 'application/vnd.novadigm.edx', + 'efif' => 'application/vnd.picsel', + 'ei6' => 'application/vnd.pg.osasli', + 'elc' => 'application/octet-stream', + 'emf' => 'image/emf', + 'eml' => 'message/rfc822', + 'emma' => 'application/emma+xml', + 'emotionml' => 'application/emotionml+xml', + 'emz' => 'application/x-msmetafile', + 'eol' => 'audio/vnd.digital-winds', + 'eot' => 'application/vnd.ms-fontobject', + 'eps' => 'application/postscript', + 'epub' => 'application/epub+zip', + 'es' => 'application/ecmascript', + 'es3' => 'application/vnd.eszigno3+xml', + 'esa' => 'application/vnd.osgi.subsystem', + 'esf' => 'application/vnd.epson.esf', + 'et3' => 'application/vnd.eszigno3+xml', + 'etx' => 'text/x-setext', + 'eva' => 'application/x-eva', + 'evy' => 'application/x-envoy', + 'exe' => 'application/octet-stream', + 'exi' => 'application/exi', + 'exp' => 'application/express', + 'exr' => 'image/aces', + 'ext' => 'application/vnd.novadigm.ext', + 'ez' => 'application/andrew-inset', + 'ez2' => 'application/vnd.ezpix-album', + 'ez3' => 'application/vnd.ezpix-package', + 'f' => 'text/x-fortran', + 'f4v' => 'video/mp4', + 'f77' => 'text/x-fortran', + 'f90' => 'text/x-fortran', + 'fbs' => 'image/vnd.fastbidsheet', + 'fcdt' => 'application/vnd.adobe.formscentral.fcdt', + 'fcs' => 'application/vnd.isac.fcs', + 'fdf' => 'application/vnd.fdf', + 'fdt' => 'application/fdt+xml', + 'fe_launch' => 'application/vnd.denovo.fcselayout-link', + 'fg5' => 'application/vnd.fujitsu.oasysgp', + 'fgd' => 'application/x-director', + 'fh' => 'image/x-freehand', + 'fh4' => 'image/x-freehand', + 'fh5' => 'image/x-freehand', + 'fh7' => 'image/x-freehand', + 'fhc' => 'image/x-freehand', + 'fig' => 'application/x-xfig', + 'fits' => 'image/fits', + 'flac' => 'audio/x-flac', + 'fli' => 'video/x-fli', + 'flo' => 'application/vnd.micrografx.flo', + 'flv' => 'video/x-flv', + 'flw' => 'application/vnd.kde.kivio', + 'flx' => 'text/vnd.fmi.flexstor', + 'fly' => 'text/vnd.fly', + 'fm' => 'application/vnd.framemaker', + 'fnc' => 'application/vnd.frogans.fnc', + 'fo' => 'application/vnd.software602.filler.form+xml', + 'for' => 'text/x-fortran', + 'fpx' => 'image/vnd.fpx', + 'frame' => 'application/vnd.framemaker', + 'fsc' => 'application/vnd.fsc.weblaunch', + 'fst' => 'image/vnd.fst', + 'ftc' => 'application/vnd.fluxtime.clip', + 'fti' => 'application/vnd.anser-web-funds-transfer-initiation', + 'fvt' => 'video/vnd.fvt', + 'fxp' => 'application/vnd.adobe.fxp', + 'fxpl' => 'application/vnd.adobe.fxp', + 'fzs' => 'application/vnd.fuzzysheet', + 'g2w' => 'application/vnd.geoplan', + 'g3' => 'image/g3fax', + 'g3w' => 'application/vnd.geospace', + 'gac' => 'application/vnd.groove-account', + 'gam' => 'application/x-tads', + 'gbr' => 'application/rpki-ghostbusters', + 'gca' => 'application/x-gca-compressed', + 'gdl' => 'model/vnd.gdl', + 'gdoc' => 'application/vnd.google-apps.document', + 'geo' => 'application/vnd.dynageo', + 'geojson' => 'application/geo+json', + 'gex' => 'application/vnd.geometry-explorer', + 'ggb' => 'application/vnd.geogebra.file', + 'ggt' => 'application/vnd.geogebra.tool', + 'ghf' => 'application/vnd.groove-help', + 'gif' => 'image/gif', + 'gim' => 'application/vnd.groove-identity-message', + 'glb' => 'model/gltf-binary', + 'gltf' => 'model/gltf+json', + 'gml' => 'application/gml+xml', + 'gmx' => 'application/vnd.gmx', + 'gnumeric' => 'application/x-gnumeric', + 'gpg' => 'application/gpg-keys', + 'gph' => 'application/vnd.flographit', + 'gpx' => 'application/gpx+xml', + 'gqf' => 'application/vnd.grafeq', + 'gqs' => 'application/vnd.grafeq', + 'gram' => 'application/srgs', + 'gramps' => 'application/x-gramps-xml', + 'gre' => 'application/vnd.geometry-explorer', + 'grv' => 'application/vnd.groove-injector', + 'grxml' => 'application/srgs+xml', + 'gsf' => 'application/x-font-ghostscript', + 'gsheet' => 'application/vnd.google-apps.spreadsheet', + 'gslides' => 'application/vnd.google-apps.presentation', + 'gtar' => 'application/x-gtar', + 'gtm' => 'application/vnd.groove-tool-message', + 'gtw' => 'model/vnd.gtw', + 'gv' => 'text/vnd.graphviz', + 'gxf' => 'application/gxf', + 'gxt' => 'application/vnd.geonext', + 'gz' => 'application/gzip', + 'gzip' => 'application/gzip', + 'h' => 'text/x-c', + 'h261' => 'video/h261', + 'h263' => 'video/h263', + 'h264' => 'video/h264', + 'hal' => 'application/vnd.hal+xml', + 'hbci' => 'application/vnd.hbci', + 'hbs' => 'text/x-handlebars-template', + 'hdd' => 'application/x-virtualbox-hdd', + 'hdf' => 'application/x-hdf', + 'heic' => 'image/heic', + 'heics' => 'image/heic-sequence', + 'heif' => 'image/heif', + 'heifs' => 'image/heif-sequence', + 'hej2' => 'image/hej2k', + 'held' => 'application/atsc-held+xml', + 'hh' => 'text/x-c', + 'hjson' => 'application/hjson', + 'hlp' => 'application/winhlp', + 'hpgl' => 'application/vnd.hp-hpgl', + 'hpid' => 'application/vnd.hp-hpid', + 'hps' => 'application/vnd.hp-hps', + 'hqx' => 'application/mac-binhex40', + 'hsj2' => 'image/hsj2', + 'htc' => 'text/x-component', + 'htke' => 'application/vnd.kenameaapp', + 'htm' => 'text/html', + 'html' => 'text/html', + 'hvd' => 'application/vnd.yamaha.hv-dic', + 'hvp' => 'application/vnd.yamaha.hv-voice', + 'hvs' => 'application/vnd.yamaha.hv-script', + 'i2g' => 'application/vnd.intergeo', + 'icc' => 'application/vnd.iccprofile', + 'ice' => 'x-conference/x-cooltalk', + 'icm' => 'application/vnd.iccprofile', + 'ico' => 'image/x-icon', + 'ics' => 'text/calendar', + 'ief' => 'image/ief', + 'ifb' => 'text/calendar', + 'ifm' => 'application/vnd.shana.informed.formdata', + 'iges' => 'model/iges', + 'igl' => 'application/vnd.igloader', + 'igm' => 'application/vnd.insors.igm', + 'igs' => 'model/iges', + 'igx' => 'application/vnd.micrografx.igx', + 'iif' => 'application/vnd.shana.informed.interchange', + 'img' => 'application/octet-stream', + 'imp' => 'application/vnd.accpac.simply.imp', + 'ims' => 'application/vnd.ms-ims', + 'in' => 'text/plain', + 'ini' => 'text/plain', + 'ink' => 'application/inkml+xml', + 'inkml' => 'application/inkml+xml', + 'install' => 'application/x-install-instructions', + 'iota' => 'application/vnd.astraea-software.iota', + 'ipfix' => 'application/ipfix', + 'ipk' => 'application/vnd.shana.informed.package', + 'irm' => 'application/vnd.ibm.rights-management', + 'irp' => 'application/vnd.irepository.package+xml', + 'iso' => 'application/x-iso9660-image', + 'itp' => 'application/vnd.shana.informed.formtemplate', + 'its' => 'application/its+xml', + 'ivp' => 'application/vnd.immervision-ivp', + 'ivu' => 'application/vnd.immervision-ivu', + 'jad' => 'text/vnd.sun.j2me.app-descriptor', + 'jade' => 'text/jade', + 'jam' => 'application/vnd.jam', + 'jar' => 'application/java-archive', + 'jardiff' => 'application/x-java-archive-diff', + 'java' => 'text/x-java-source', + 'jhc' => 'image/jphc', + 'jisp' => 'application/vnd.jisp', + 'jls' => 'image/jls', + 'jlt' => 'application/vnd.hp-jlyt', + 'jng' => 'image/x-jng', + 'jnlp' => 'application/x-java-jnlp-file', + 'joda' => 'application/vnd.joost.joda-archive', + 'jp2' => 'image/jp2', + 'jpe' => 'image/jpeg', + 'jpeg' => 'image/jpeg', + 'jpf' => 'image/jpx', + 'jpg' => 'image/jpeg', + 'jpg2' => 'image/jp2', + 'jpgm' => 'video/jpm', + 'jpgv' => 'video/jpeg', + 'jph' => 'image/jph', + 'jpm' => 'video/jpm', + 'jpx' => 'image/jpx', + 'js' => 'application/javascript', + 'json' => 'application/json', + 'json5' => 'application/json5', + 'jsonld' => 'application/ld+json', + 'jsonml' => 'application/jsonml+json', + 'jsx' => 'text/jsx', + 'jxr' => 'image/jxr', + 'jxra' => 'image/jxra', + 'jxrs' => 'image/jxrs', + 'jxs' => 'image/jxs', + 'jxsc' => 'image/jxsc', + 'jxsi' => 'image/jxsi', + 'jxss' => 'image/jxss', + 'kar' => 'audio/midi', + 'karbon' => 'application/vnd.kde.karbon', + 'kdb' => 'application/octet-stream', + 'kdbx' => 'application/x-keepass2', + 'key' => 'application/x-iwork-keynote-sffkey', + 'kfo' => 'application/vnd.kde.kformula', + 'kia' => 'application/vnd.kidspiration', + 'kml' => 'application/vnd.google-earth.kml+xml', + 'kmz' => 'application/vnd.google-earth.kmz', + 'kne' => 'application/vnd.kinar', + 'knp' => 'application/vnd.kinar', + 'kon' => 'application/vnd.kde.kontour', + 'kpr' => 'application/vnd.kde.kpresenter', + 'kpt' => 'application/vnd.kde.kpresenter', + 'kpxx' => 'application/vnd.ds-keypoint', + 'ksp' => 'application/vnd.kde.kspread', + 'ktr' => 'application/vnd.kahootz', + 'ktx' => 'image/ktx', + 'ktx2' => 'image/ktx2', + 'ktz' => 'application/vnd.kahootz', + 'kwd' => 'application/vnd.kde.kword', + 'kwt' => 'application/vnd.kde.kword', + 'lasxml' => 'application/vnd.las.las+xml', + 'latex' => 'application/x-latex', + 'lbd' => 'application/vnd.llamagraphics.life-balance.desktop', + 'lbe' => 'application/vnd.llamagraphics.life-balance.exchange+xml', + 'les' => 'application/vnd.hhe.lesson-player', + 'less' => 'text/less', + 'lgr' => 'application/lgr+xml', + 'lha' => 'application/octet-stream', + 'link66' => 'application/vnd.route66.link66+xml', + 'list' => 'text/plain', + 'list3820' => 'application/vnd.ibm.modcap', + 'listafp' => 'application/vnd.ibm.modcap', + 'litcoffee' => 'text/coffeescript', + 'lnk' => 'application/x-ms-shortcut', + 'log' => 'text/plain', + 'lostxml' => 'application/lost+xml', + 'lrf' => 'application/octet-stream', + 'lrm' => 'application/vnd.ms-lrm', + 'ltf' => 'application/vnd.frogans.ltf', + 'lua' => 'text/x-lua', + 'luac' => 'application/x-lua-bytecode', + 'lvp' => 'audio/vnd.lucent.voice', + 'lwp' => 'application/vnd.lotus-wordpro', + 'lzh' => 'application/octet-stream', + 'm1v' => 'video/mpeg', + 'm2a' => 'audio/mpeg', + 'm2v' => 'video/mpeg', + 'm3a' => 'audio/mpeg', + 'm3u' => 'text/plain', + 'm3u8' => 'application/vnd.apple.mpegurl', + 'm4a' => 'audio/x-m4a', + 'm4p' => 'application/mp4', + 'm4s' => 'video/iso.segment', + 'm4u' => 'application/vnd.mpegurl', + 'm4v' => 'video/x-m4v', + 'm13' => 'application/x-msmediaview', + 'm14' => 'application/x-msmediaview', + 'm21' => 'application/mp21', + 'ma' => 'application/mathematica', + 'mads' => 'application/mads+xml', + 'maei' => 'application/mmt-aei+xml', + 'mag' => 'application/vnd.ecowin.chart', + 'maker' => 'application/vnd.framemaker', + 'man' => 'text/troff', + 'manifest' => 'text/cache-manifest', + 'map' => 'application/json', + 'mar' => 'application/octet-stream', + 'markdown' => 'text/markdown', + 'mathml' => 'application/mathml+xml', + 'mb' => 'application/mathematica', + 'mbk' => 'application/vnd.mobius.mbk', + 'mbox' => 'application/mbox', + 'mc1' => 'application/vnd.medcalcdata', + 'mcd' => 'application/vnd.mcd', + 'mcurl' => 'text/vnd.curl.mcurl', + 'md' => 'text/markdown', + 'mdb' => 'application/x-msaccess', + 'mdi' => 'image/vnd.ms-modi', + 'mdx' => 'text/mdx', + 'me' => 'text/troff', + 'mesh' => 'model/mesh', + 'meta4' => 'application/metalink4+xml', + 'metalink' => 'application/metalink+xml', + 'mets' => 'application/mets+xml', + 'mfm' => 'application/vnd.mfmp', + 'mft' => 'application/rpki-manifest', + 'mgp' => 'application/vnd.osgeo.mapguide.package', + 'mgz' => 'application/vnd.proteus.magazine', + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mie' => 'application/x-mie', + 'mif' => 'application/vnd.mif', + 'mime' => 'message/rfc822', + 'mj2' => 'video/mj2', + 'mjp2' => 'video/mj2', + 'mjs' => 'application/javascript', + 'mk3d' => 'video/x-matroska', + 'mka' => 'audio/x-matroska', + 'mkd' => 'text/x-markdown', + 'mks' => 'video/x-matroska', + 'mkv' => 'video/x-matroska', + 'mlp' => 'application/vnd.dolby.mlp', + 'mmd' => 'application/vnd.chipnuts.karaoke-mmd', + 'mmf' => 'application/vnd.smaf', + 'mml' => 'text/mathml', + 'mmr' => 'image/vnd.fujixerox.edmics-mmr', + 'mng' => 'video/x-mng', + 'mny' => 'application/x-msmoney', + 'mobi' => 'application/x-mobipocket-ebook', + 'mods' => 'application/mods+xml', + 'mov' => 'video/quicktime', + 'movie' => 'video/x-sgi-movie', + 'mp2' => 'audio/mpeg', + 'mp2a' => 'audio/mpeg', + 'mp3' => 'audio/mpeg', + 'mp4' => 'video/mp4', + 'mp4a' => 'audio/mp4', + 'mp4s' => 'application/mp4', + 'mp4v' => 'video/mp4', + 'mp21' => 'application/mp21', + 'mpc' => 'application/vnd.mophun.certificate', + 'mpd' => 'application/dash+xml', + 'mpe' => 'video/mpeg', + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpg4' => 'video/mp4', + 'mpga' => 'audio/mpeg', + 'mpkg' => 'application/vnd.apple.installer+xml', + 'mpm' => 'application/vnd.blueice.multipass', + 'mpn' => 'application/vnd.mophun.application', + 'mpp' => 'application/vnd.ms-project', + 'mpt' => 'application/vnd.ms-project', + 'mpy' => 'application/vnd.ibm.minipay', + 'mqy' => 'application/vnd.mobius.mqy', + 'mrc' => 'application/marc', + 'mrcx' => 'application/marcxml+xml', + 'ms' => 'text/troff', + 'mscml' => 'application/mediaservercontrol+xml', + 'mseed' => 'application/vnd.fdsn.mseed', + 'mseq' => 'application/vnd.mseq', + 'msf' => 'application/vnd.epson.msf', + 'msg' => 'application/vnd.ms-outlook', + 'msh' => 'model/mesh', + 'msi' => 'application/x-msdownload', + 'msl' => 'application/vnd.mobius.msl', + 'msm' => 'application/octet-stream', + 'msp' => 'application/octet-stream', + 'msty' => 'application/vnd.muvee.style', + 'mtl' => 'model/mtl', + 'mts' => 'model/vnd.mts', + 'mus' => 'application/vnd.musician', + 'musd' => 'application/mmt-usd+xml', + 'musicxml' => 'application/vnd.recordare.musicxml+xml', + 'mvb' => 'application/x-msmediaview', + 'mvt' => 'application/vnd.mapbox-vector-tile', + 'mwf' => 'application/vnd.mfer', + 'mxf' => 'application/mxf', + 'mxl' => 'application/vnd.recordare.musicxml', + 'mxmf' => 'audio/mobile-xmf', + 'mxml' => 'application/xv+xml', + 'mxs' => 'application/vnd.triscape.mxs', + 'mxu' => 'video/vnd.mpegurl', + 'n-gage' => 'application/vnd.nokia.n-gage.symbian.install', + 'n3' => 'text/n3', + 'nb' => 'application/mathematica', + 'nbp' => 'application/vnd.wolfram.player', + 'nc' => 'application/x-netcdf', + 'ncx' => 'application/x-dtbncx+xml', + 'nfo' => 'text/x-nfo', + 'ngdat' => 'application/vnd.nokia.n-gage.data', + 'nitf' => 'application/vnd.nitf', + 'nlu' => 'application/vnd.neurolanguage.nlu', + 'nml' => 'application/vnd.enliven', + 'nnd' => 'application/vnd.noblenet-directory', + 'nns' => 'application/vnd.noblenet-sealer', + 'nnw' => 'application/vnd.noblenet-web', + 'npx' => 'image/vnd.net-fpx', + 'nq' => 'application/n-quads', + 'nsc' => 'application/x-conference', + 'nsf' => 'application/vnd.lotus-notes', + 'nt' => 'application/n-triples', + 'ntf' => 'application/vnd.nitf', + 'numbers' => 'application/x-iwork-numbers-sffnumbers', + 'nzb' => 'application/x-nzb', + 'oa2' => 'application/vnd.fujitsu.oasys2', + 'oa3' => 'application/vnd.fujitsu.oasys3', + 'oas' => 'application/vnd.fujitsu.oasys', + 'obd' => 'application/x-msbinder', + 'obgx' => 'application/vnd.openblox.game+xml', + 'obj' => 'model/obj', + 'oda' => 'application/oda', + 'odb' => 'application/vnd.oasis.opendocument.database', + 'odc' => 'application/vnd.oasis.opendocument.chart', + 'odf' => 'application/vnd.oasis.opendocument.formula', + 'odft' => 'application/vnd.oasis.opendocument.formula-template', + 'odg' => 'application/vnd.oasis.opendocument.graphics', + 'odi' => 'application/vnd.oasis.opendocument.image', + 'odm' => 'application/vnd.oasis.opendocument.text-master', + 'odp' => 'application/vnd.oasis.opendocument.presentation', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + 'odt' => 'application/vnd.oasis.opendocument.text', + 'oga' => 'audio/ogg', + 'ogex' => 'model/vnd.opengex', + 'ogg' => 'audio/ogg', + 'ogv' => 'video/ogg', + 'ogx' => 'application/ogg', + 'omdoc' => 'application/omdoc+xml', + 'onepkg' => 'application/onenote', + 'onetmp' => 'application/onenote', + 'onetoc' => 'application/onenote', + 'onetoc2' => 'application/onenote', + 'opf' => 'application/oebps-package+xml', + 'opml' => 'text/x-opml', + 'oprc' => 'application/vnd.palm', + 'opus' => 'audio/ogg', + 'org' => 'text/x-org', + 'osf' => 'application/vnd.yamaha.openscoreformat', + 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', + 'osm' => 'application/vnd.openstreetmap.data+xml', + 'otc' => 'application/vnd.oasis.opendocument.chart-template', + 'otf' => 'font/otf', + 'otg' => 'application/vnd.oasis.opendocument.graphics-template', + 'oth' => 'application/vnd.oasis.opendocument.text-web', + 'oti' => 'application/vnd.oasis.opendocument.image-template', + 'otp' => 'application/vnd.oasis.opendocument.presentation-template', + 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', + 'ott' => 'application/vnd.oasis.opendocument.text-template', + 'ova' => 'application/x-virtualbox-ova', + 'ovf' => 'application/x-virtualbox-ovf', + 'owl' => 'application/rdf+xml', + 'oxps' => 'application/oxps', + 'oxt' => 'application/vnd.openofficeorg.extension', + 'p' => 'text/x-pascal', + 'p7a' => 'application/x-pkcs7-signature', + 'p7b' => 'application/x-pkcs7-certificates', + 'p7c' => 'application/pkcs7-mime', + 'p7m' => 'application/pkcs7-mime', + 'p7r' => 'application/x-pkcs7-certreqresp', + 'p7s' => 'application/pkcs7-signature', + 'p8' => 'application/pkcs8', + 'p10' => 'application/x-pkcs10', + 'p12' => 'application/x-pkcs12', + 'pac' => 'application/x-ns-proxy-autoconfig', + 'pages' => 'application/x-iwork-pages-sffpages', + 'pas' => 'text/x-pascal', + 'paw' => 'application/vnd.pawaafile', + 'pbd' => 'application/vnd.powerbuilder6', + 'pbm' => 'image/x-portable-bitmap', + 'pcap' => 'application/vnd.tcpdump.pcap', + 'pcf' => 'application/x-font-pcf', + 'pcl' => 'application/vnd.hp-pcl', + 'pclxl' => 'application/vnd.hp-pclxl', + 'pct' => 'image/x-pict', + 'pcurl' => 'application/vnd.curl.pcurl', + 'pcx' => 'image/x-pcx', + 'pdb' => 'application/x-pilot', + 'pde' => 'text/x-processing', + 'pdf' => 'application/pdf', + 'pem' => 'application/x-x509-user-cert', + 'pfa' => 'application/x-font-type1', + 'pfb' => 'application/x-font-type1', + 'pfm' => 'application/x-font-type1', + 'pfr' => 'application/font-tdpfr', + 'pfx' => 'application/x-pkcs12', + 'pgm' => 'image/x-portable-graymap', + 'pgn' => 'application/x-chess-pgn', + 'pgp' => 'application/pgp', + 'php' => 'application/x-httpd-php', + 'php3' => 'application/x-httpd-php', + 'php4' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'phtml' => 'application/x-httpd-php', + 'pic' => 'image/x-pict', + 'pkg' => 'application/octet-stream', + 'pki' => 'application/pkixcmp', + 'pkipath' => 'application/pkix-pkipath', + 'pkpass' => 'application/vnd.apple.pkpass', + 'pl' => 'application/x-perl', + 'plb' => 'application/vnd.3gpp.pic-bw-large', + 'plc' => 'application/vnd.mobius.plc', + 'plf' => 'application/vnd.pocketlearn', + 'pls' => 'application/pls+xml', + 'pm' => 'application/x-perl', + 'pml' => 'application/vnd.ctc-posml', + 'png' => 'image/png', + 'pnm' => 'image/x-portable-anymap', + 'portpkg' => 'application/vnd.macports.portpkg', + 'pot' => 'application/vnd.ms-powerpoint', + 'potm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', + 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', + 'ppa' => 'application/vnd.ms-powerpoint', + 'ppam' => 'application/vnd.ms-powerpoint.addin.macroEnabled.12', + 'ppd' => 'application/vnd.cups-ppd', + 'ppm' => 'image/x-portable-pixmap', + 'pps' => 'application/vnd.ms-powerpoint', + 'ppsm' => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', + 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + 'ppt' => 'application/powerpoint', + 'pptm' => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', + 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'pqa' => 'application/vnd.palm', + 'prc' => 'application/x-pilot', + 'pre' => 'application/vnd.lotus-freelance', + 'prf' => 'application/pics-rules', + 'provx' => 'application/provenance+xml', + 'ps' => 'application/postscript', + 'psb' => 'application/vnd.3gpp.pic-bw-small', + 'psd' => 'application/x-photoshop', + 'psf' => 'application/x-font-linux-psf', + 'pskcxml' => 'application/pskc+xml', + 'pti' => 'image/prs.pti', + 'ptid' => 'application/vnd.pvi.ptid1', + 'pub' => 'application/x-mspublisher', + 'pvb' => 'application/vnd.3gpp.pic-bw-var', + 'pwn' => 'application/vnd.3m.post-it-notes', + 'pya' => 'audio/vnd.ms-playready.media.pya', + 'pyv' => 'video/vnd.ms-playready.media.pyv', + 'qam' => 'application/vnd.epson.quickanime', + 'qbo' => 'application/vnd.intu.qbo', + 'qfx' => 'application/vnd.intu.qfx', + 'qps' => 'application/vnd.publishare-delta-tree', + 'qt' => 'video/quicktime', + 'qwd' => 'application/vnd.quark.quarkxpress', + 'qwt' => 'application/vnd.quark.quarkxpress', + 'qxb' => 'application/vnd.quark.quarkxpress', + 'qxd' => 'application/vnd.quark.quarkxpress', + 'qxl' => 'application/vnd.quark.quarkxpress', + 'qxt' => 'application/vnd.quark.quarkxpress', + 'ra' => 'audio/x-realaudio', + 'ram' => 'audio/x-pn-realaudio', + 'raml' => 'application/raml+yaml', + 'rapd' => 'application/route-apd+xml', + 'rar' => 'application/x-rar', + 'ras' => 'image/x-cmu-raster', + 'rcprofile' => 'application/vnd.ipunplugged.rcprofile', + 'rdf' => 'application/rdf+xml', + 'rdz' => 'application/vnd.data-vision.rdz', + 'relo' => 'application/p2p-overlay+xml', + 'rep' => 'application/vnd.businessobjects', + 'res' => 'application/x-dtbresource+xml', + 'rgb' => 'image/x-rgb', + 'rif' => 'application/reginfo+xml', + 'rip' => 'audio/vnd.rip', + 'ris' => 'application/x-research-info-systems', + 'rl' => 'application/resource-lists+xml', + 'rlc' => 'image/vnd.fujixerox.edmics-rlc', + 'rld' => 'application/resource-lists-diff+xml', + 'rm' => 'audio/x-pn-realaudio', + 'rmi' => 'audio/midi', + 'rmp' => 'audio/x-pn-realaudio-plugin', + 'rms' => 'application/vnd.jcp.javame.midlet-rms', + 'rmvb' => 'application/vnd.rn-realmedia-vbr', + 'rnc' => 'application/relax-ng-compact-syntax', + 'rng' => 'application/xml', + 'roa' => 'application/rpki-roa', + 'roff' => 'text/troff', + 'rp9' => 'application/vnd.cloanto.rp9', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'rpss' => 'application/vnd.nokia.radio-presets', + 'rpst' => 'application/vnd.nokia.radio-preset', + 'rq' => 'application/sparql-query', + 'rs' => 'application/rls-services+xml', + 'rsa' => 'application/x-pkcs7', + 'rsat' => 'application/atsc-rsat+xml', + 'rsd' => 'application/rsd+xml', + 'rsheet' => 'application/urc-ressheet+xml', + 'rss' => 'application/rss+xml', + 'rtf' => 'text/rtf', + 'rtx' => 'text/richtext', + 'run' => 'application/x-makeself', + 'rusd' => 'application/route-usd+xml', + 'rv' => 'video/vnd.rn-realvideo', + 's' => 'text/x-asm', + 's3m' => 'audio/s3m', + 'saf' => 'application/vnd.yamaha.smaf-audio', + 'sass' => 'text/x-sass', + 'sbml' => 'application/sbml+xml', + 'sc' => 'application/vnd.ibm.secure-container', + 'scd' => 'application/x-msschedule', + 'scm' => 'application/vnd.lotus-screencam', + 'scq' => 'application/scvp-cv-request', + 'scs' => 'application/scvp-cv-response', + 'scss' => 'text/x-scss', + 'scurl' => 'text/vnd.curl.scurl', + 'sda' => 'application/vnd.stardivision.draw', + 'sdc' => 'application/vnd.stardivision.calc', + 'sdd' => 'application/vnd.stardivision.impress', + 'sdkd' => 'application/vnd.solent.sdkm+xml', + 'sdkm' => 'application/vnd.solent.sdkm+xml', + 'sdp' => 'application/sdp', + 'sdw' => 'application/vnd.stardivision.writer', + 'sea' => 'application/octet-stream', + 'see' => 'application/vnd.seemail', + 'seed' => 'application/vnd.fdsn.seed', + 'sema' => 'application/vnd.sema', + 'semd' => 'application/vnd.semd', + 'semf' => 'application/vnd.semf', + 'senmlx' => 'application/senml+xml', + 'sensmlx' => 'application/sensml+xml', + 'ser' => 'application/java-serialized-object', + 'setpay' => 'application/set-payment-initiation', + 'setreg' => 'application/set-registration-initiation', + 'sfd-hdstx' => 'application/vnd.hydrostatix.sof-data', + 'sfs' => 'application/vnd.spotfire.sfs', + 'sfv' => 'text/x-sfv', + 'sgi' => 'image/sgi', + 'sgl' => 'application/vnd.stardivision.writer-global', + 'sgm' => 'text/sgml', + 'sgml' => 'text/sgml', + 'sh' => 'application/x-sh', + 'shar' => 'application/x-shar', + 'shex' => 'text/shex', + 'shf' => 'application/shf+xml', + 'shtml' => 'text/html', + 'sid' => 'image/x-mrsid-image', + 'sieve' => 'application/sieve', + 'sig' => 'application/pgp-signature', + 'sil' => 'audio/silk', + 'silo' => 'model/mesh', + 'sis' => 'application/vnd.symbian.install', + 'sisx' => 'application/vnd.symbian.install', + 'sit' => 'application/x-stuffit', + 'sitx' => 'application/x-stuffitx', + 'siv' => 'application/sieve', + 'skd' => 'application/vnd.koan', + 'skm' => 'application/vnd.koan', + 'skp' => 'application/vnd.koan', + 'skt' => 'application/vnd.koan', + 'sldm' => 'application/vnd.ms-powerpoint.slide.macroenabled.12', + 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', + 'slim' => 'text/slim', + 'slm' => 'text/slim', + 'sls' => 'application/route-s-tsid+xml', + 'slt' => 'application/vnd.epson.salt', + 'sm' => 'application/vnd.stepmania.stepchart', + 'smf' => 'application/vnd.stardivision.math', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'smv' => 'video/x-smv', + 'smzip' => 'application/vnd.stepmania.package', + 'snd' => 'audio/basic', + 'snf' => 'application/x-font-snf', + 'so' => 'application/octet-stream', + 'spc' => 'application/x-pkcs7-certificates', + 'spdx' => 'text/spdx', + 'spf' => 'application/vnd.yamaha.smaf-phrase', + 'spl' => 'application/x-futuresplash', + 'spot' => 'text/vnd.in3d.spot', + 'spp' => 'application/scvp-vp-response', + 'spq' => 'application/scvp-vp-request', + 'spx' => 'audio/ogg', + 'sql' => 'application/x-sql', + 'src' => 'application/x-wais-source', + 'srt' => 'application/x-subrip', + 'sru' => 'application/sru+xml', + 'srx' => 'application/sparql-results+xml', + 'ssdl' => 'application/ssdl+xml', + 'sse' => 'application/vnd.kodak-descriptor', + 'ssf' => 'application/vnd.epson.ssf', + 'ssml' => 'application/ssml+xml', + 'sst' => 'application/octet-stream', + 'st' => 'application/vnd.sailingtracker.track', + 'stc' => 'application/vnd.sun.xml.calc.template', + 'std' => 'application/vnd.sun.xml.draw.template', + 'stf' => 'application/vnd.wt.stf', + 'sti' => 'application/vnd.sun.xml.impress.template', + 'stk' => 'application/hyperstudio', + 'stl' => 'model/stl', + 'stpx' => 'model/step+xml', + 'stpxz' => 'model/step-xml+zip', + 'stpz' => 'model/step+zip', + 'str' => 'application/vnd.pg.format', + 'stw' => 'application/vnd.sun.xml.writer.template', + 'styl' => 'text/stylus', + 'stylus' => 'text/stylus', + 'sub' => 'text/vnd.dvb.subtitle', + 'sus' => 'application/vnd.sus-calendar', + 'susp' => 'application/vnd.sus-calendar', + 'sv4cpio' => 'application/x-sv4cpio', + 'sv4crc' => 'application/x-sv4crc', + 'svc' => 'application/vnd.dvb.service', + 'svd' => 'application/vnd.svd', + 'svg' => 'image/svg+xml', + 'svgz' => 'image/svg+xml', + 'swa' => 'application/x-director', + 'swf' => 'application/x-shockwave-flash', + 'swi' => 'application/vnd.aristanetworks.swi', + 'swidtag' => 'application/swid+xml', + 'sxc' => 'application/vnd.sun.xml.calc', + 'sxd' => 'application/vnd.sun.xml.draw', + 'sxg' => 'application/vnd.sun.xml.writer.global', + 'sxi' => 'application/vnd.sun.xml.impress', + 'sxm' => 'application/vnd.sun.xml.math', + 'sxw' => 'application/vnd.sun.xml.writer', + 't' => 'text/troff', + 't3' => 'application/x-t3vm-image', + 't38' => 'image/t38', + 'taglet' => 'application/vnd.mynfc', + 'tao' => 'application/vnd.tao.intent-module-archive', + 'tap' => 'image/vnd.tencent.tap', + 'tar' => 'application/x-tar', + 'tcap' => 'application/vnd.3gpp2.tcap', + 'tcl' => 'application/x-tcl', + 'td' => 'application/urc-targetdesc+xml', + 'teacher' => 'application/vnd.smart.teacher', + 'tei' => 'application/tei+xml', + 'teicorpus' => 'application/tei+xml', + 'tex' => 'application/x-tex', + 'texi' => 'application/x-texinfo', + 'texinfo' => 'application/x-texinfo', + 'text' => 'text/plain', + 'tfi' => 'application/thraud+xml', + 'tfm' => 'application/x-tex-tfm', + 'tfx' => 'image/tiff-fx', + 'tga' => 'image/x-tga', + 'tgz' => 'application/x-tar', + 'thmx' => 'application/vnd.ms-officetheme', + 'tif' => 'image/tiff', + 'tiff' => 'image/tiff', + 'tk' => 'application/x-tcl', + 'tmo' => 'application/vnd.tmobile-livetv', + 'toml' => 'application/toml', + 'torrent' => 'application/x-bittorrent', + 'tpl' => 'application/vnd.groove-tool-template', + 'tpt' => 'application/vnd.trid.tpt', + 'tr' => 'text/troff', + 'tra' => 'application/vnd.trueapp', + 'trig' => 'application/trig', + 'trm' => 'application/x-msterminal', + 'ts' => 'video/mp2t', + 'tsd' => 'application/timestamped-data', + 'tsv' => 'text/tab-separated-values', + 'ttc' => 'font/collection', + 'ttf' => 'font/ttf', + 'ttl' => 'text/turtle', + 'ttml' => 'application/ttml+xml', + 'twd' => 'application/vnd.simtech-mindmapper', + 'twds' => 'application/vnd.simtech-mindmapper', + 'txd' => 'application/vnd.genomatix.tuxedo', + 'txf' => 'application/vnd.mobius.txf', + 'txt' => 'text/plain', + 'u8dsn' => 'message/global-delivery-status', + 'u8hdr' => 'message/global-headers', + 'u8mdn' => 'message/global-disposition-notification', + 'u8msg' => 'message/global', + 'u32' => 'application/x-authorware-bin', + 'ubj' => 'application/ubjson', + 'udeb' => 'application/x-debian-package', + 'ufd' => 'application/vnd.ufdl', + 'ufdl' => 'application/vnd.ufdl', + 'ulx' => 'application/x-glulx', + 'umj' => 'application/vnd.umajin', + 'unityweb' => 'application/vnd.unity', + 'uoml' => 'application/vnd.uoml+xml', + 'uri' => 'text/uri-list', + 'uris' => 'text/uri-list', + 'urls' => 'text/uri-list', + 'usdz' => 'model/vnd.usdz+zip', + 'ustar' => 'application/x-ustar', + 'utz' => 'application/vnd.uiq.theme', + 'uu' => 'text/x-uuencode', + 'uva' => 'audio/vnd.dece.audio', + 'uvd' => 'application/vnd.dece.data', + 'uvf' => 'application/vnd.dece.data', + 'uvg' => 'image/vnd.dece.graphic', + 'uvh' => 'video/vnd.dece.hd', + 'uvi' => 'image/vnd.dece.graphic', + 'uvm' => 'video/vnd.dece.mobile', + 'uvp' => 'video/vnd.dece.pd', + 'uvs' => 'video/vnd.dece.sd', + 'uvt' => 'application/vnd.dece.ttml+xml', + 'uvu' => 'video/vnd.uvvu.mp4', + 'uvv' => 'video/vnd.dece.video', + 'uvva' => 'audio/vnd.dece.audio', + 'uvvd' => 'application/vnd.dece.data', + 'uvvf' => 'application/vnd.dece.data', + 'uvvg' => 'image/vnd.dece.graphic', + 'uvvh' => 'video/vnd.dece.hd', + 'uvvi' => 'image/vnd.dece.graphic', + 'uvvm' => 'video/vnd.dece.mobile', + 'uvvp' => 'video/vnd.dece.pd', + 'uvvs' => 'video/vnd.dece.sd', + 'uvvt' => 'application/vnd.dece.ttml+xml', + 'uvvu' => 'video/vnd.uvvu.mp4', + 'uvvv' => 'video/vnd.dece.video', + 'uvvx' => 'application/vnd.dece.unspecified', + 'uvvz' => 'application/vnd.dece.zip', + 'uvx' => 'application/vnd.dece.unspecified', + 'uvz' => 'application/vnd.dece.zip', + 'vbox' => 'application/x-virtualbox-vbox', + 'vbox-extpack' => 'application/x-virtualbox-vbox-extpack', + 'vcard' => 'text/vcard', + 'vcd' => 'application/x-cdlink', + 'vcf' => 'text/x-vcard', + 'vcg' => 'application/vnd.groove-vcard', + 'vcs' => 'text/x-vcalendar', + 'vcx' => 'application/vnd.vcx', + 'vdi' => 'application/x-virtualbox-vdi', + 'vds' => 'model/vnd.sap.vds', + 'vhd' => 'application/x-virtualbox-vhd', + 'vis' => 'application/vnd.visionary', + 'viv' => 'video/vnd.vivo', + 'vlc' => 'application/videolan', + 'vmdk' => 'application/x-virtualbox-vmdk', + 'vob' => 'video/x-ms-vob', + 'vor' => 'application/vnd.stardivision.writer', + 'vox' => 'application/x-authorware-bin', + 'vrml' => 'model/vrml', + 'vsd' => 'application/vnd.visio', + 'vsf' => 'application/vnd.vsf', + 'vss' => 'application/vnd.visio', + 'vst' => 'application/vnd.visio', + 'vsw' => 'application/vnd.visio', + 'vtf' => 'image/vnd.valve.source.texture', + 'vtt' => 'text/vtt', + 'vtu' => 'model/vnd.vtu', + 'vxml' => 'application/voicexml+xml', + 'w3d' => 'application/x-director', + 'wad' => 'application/x-doom', + 'wadl' => 'application/vnd.sun.wadl+xml', + 'war' => 'application/java-archive', + 'wasm' => 'application/wasm', + 'wav' => 'audio/x-wav', + 'wax' => 'audio/x-ms-wax', + 'wbmp' => 'image/vnd.wap.wbmp', + 'wbs' => 'application/vnd.criticaltools.wbs+xml', + 'wbxml' => 'application/wbxml', + 'wcm' => 'application/vnd.ms-works', + 'wdb' => 'application/vnd.ms-works', + 'wdp' => 'image/vnd.ms-photo', + 'weba' => 'audio/webm', + 'webapp' => 'application/x-web-app-manifest+json', + 'webm' => 'video/webm', + 'webmanifest' => 'application/manifest+json', + 'webp' => 'image/webp', + 'wg' => 'application/vnd.pmi.widget', + 'wgt' => 'application/widget', + 'wks' => 'application/vnd.ms-works', + 'wm' => 'video/x-ms-wm', + 'wma' => 'audio/x-ms-wma', + 'wmd' => 'application/x-ms-wmd', + 'wmf' => 'image/wmf', + 'wml' => 'text/vnd.wap.wml', + 'wmlc' => 'application/wmlc', + 'wmls' => 'text/vnd.wap.wmlscript', + 'wmlsc' => 'application/vnd.wap.wmlscriptc', + 'wmv' => 'video/x-ms-wmv', + 'wmx' => 'video/x-ms-wmx', + 'wmz' => 'application/x-msmetafile', + 'woff' => 'font/woff', + 'woff2' => 'font/woff2', + 'word' => 'application/msword', + 'wpd' => 'application/vnd.wordperfect', + 'wpl' => 'application/vnd.ms-wpl', + 'wps' => 'application/vnd.ms-works', + 'wqd' => 'application/vnd.wqd', + 'wri' => 'application/x-mswrite', + 'wrl' => 'model/vrml', + 'wsc' => 'message/vnd.wfa.wsc', + 'wsdl' => 'application/wsdl+xml', + 'wspolicy' => 'application/wspolicy+xml', + 'wtb' => 'application/vnd.webturbo', + 'wvx' => 'video/x-ms-wvx', + 'x3d' => 'model/x3d+xml', + 'x3db' => 'model/x3d+fastinfoset', + 'x3dbz' => 'model/x3d+binary', + 'x3dv' => 'model/x3d-vrml', + 'x3dvz' => 'model/x3d+vrml', + 'x3dz' => 'model/x3d+xml', + 'x32' => 'application/x-authorware-bin', + 'x_b' => 'model/vnd.parasolid.transmit.binary', + 'x_t' => 'model/vnd.parasolid.transmit.text', + 'xaml' => 'application/xaml+xml', + 'xap' => 'application/x-silverlight-app', + 'xar' => 'application/vnd.xara', + 'xav' => 'application/xcap-att+xml', + 'xbap' => 'application/x-ms-xbap', + 'xbd' => 'application/vnd.fujixerox.docuworks.binder', + 'xbm' => 'image/x-xbitmap', + 'xca' => 'application/xcap-caps+xml', + 'xcs' => 'application/calendar+xml', + 'xdf' => 'application/xcap-diff+xml', + 'xdm' => 'application/vnd.syncml.dm+xml', + 'xdp' => 'application/vnd.adobe.xdp+xml', + 'xdssc' => 'application/dssc+xml', + 'xdw' => 'application/vnd.fujixerox.docuworks', + 'xel' => 'application/xcap-el+xml', + 'xenc' => 'application/xenc+xml', + 'xer' => 'application/patch-ops-error+xml', + 'xfdf' => 'application/vnd.adobe.xfdf', + 'xfdl' => 'application/vnd.xfdl', + 'xht' => 'application/xhtml+xml', + 'xhtml' => 'application/xhtml+xml', + 'xhvml' => 'application/xv+xml', + 'xif' => 'image/vnd.xiff', + 'xl' => 'application/excel', + 'xla' => 'application/vnd.ms-excel', + 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', + 'xlc' => 'application/vnd.ms-excel', + 'xlf' => 'application/xliff+xml', + 'xlm' => 'application/vnd.ms-excel', + 'xls' => 'application/vnd.ms-excel', + 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', + 'xlsm' => 'application/vnd.ms-excel.sheet.macroEnabled.12', + 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'xlt' => 'application/vnd.ms-excel', + 'xltm' => 'application/vnd.ms-excel.template.macroEnabled.12', + 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + 'xlw' => 'application/vnd.ms-excel', + 'xm' => 'audio/xm', + 'xml' => 'application/xml', + 'xns' => 'application/xcap-ns+xml', + 'xo' => 'application/vnd.olpc-sugar', + 'xop' => 'application/xop+xml', + 'xpi' => 'application/x-xpinstall', + 'xpl' => 'application/xproc+xml', + 'xpm' => 'image/x-xpixmap', + 'xpr' => 'application/vnd.is-xpr', + 'xps' => 'application/vnd.ms-xpsdocument', + 'xpw' => 'application/vnd.intercon.formnet', + 'xpx' => 'application/vnd.intercon.formnet', + 'xsd' => 'application/xml', + 'xsl' => 'application/xml', + 'xslt' => 'application/xslt+xml', + 'xsm' => 'application/vnd.syncml+xml', + 'xspf' => 'application/xspf+xml', + 'xul' => 'application/vnd.mozilla.xul+xml', + 'xvm' => 'application/xv+xml', + 'xvml' => 'application/xv+xml', + 'xwd' => 'image/x-xwindowdump', + 'xyz' => 'chemical/x-xyz', + 'xz' => 'application/x-xz', + 'yaml' => 'text/yaml', + 'yang' => 'application/yang', + 'yin' => 'application/yin+xml', + 'yml' => 'text/yaml', + 'ymp' => 'text/x-suse-ymp', + 'z' => 'application/x-compress', + 'z1' => 'application/x-zmachine', + 'z2' => 'application/x-zmachine', + 'z3' => 'application/x-zmachine', + 'z4' => 'application/x-zmachine', + 'z5' => 'application/x-zmachine', + 'z6' => 'application/x-zmachine', + 'z7' => 'application/x-zmachine', + 'z8' => 'application/x-zmachine', + 'zaz' => 'application/vnd.zzazz.deck+xml', + 'zip' => 'application/zip', + 'zir' => 'application/vnd.zul', + 'zirz' => 'application/vnd.zul', + 'zmm' => 'application/vnd.handheld-entertainment+xml', + 'zsh' => 'text/x-scriptzsh', + ]; + + /** + * Determines the mimetype of a file by looking at its extension. + * + * @link https://raw.githubusercontent.com/jshttp/mime-db/master/db.json + */ + public static function fromFilename(string $filename): ?string + { + return self::fromExtension(pathinfo($filename, PATHINFO_EXTENSION)); + } + + /** + * Maps a file extensions to a mimetype. + * + * @link https://raw.githubusercontent.com/jshttp/mime-db/master/db.json + */ + public static function fromExtension(string $extension): ?string + { + return self::MIME_TYPES[strtolower($extension)] ?? null; + } +} diff --git a/vendor/guzzlehttp/psr7/src/MultipartStream.php b/vendor/guzzlehttp/psr7/src/MultipartStream.php new file mode 100644 index 0000000..c251722 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/MultipartStream.php @@ -0,0 +1,153 @@ +boundary = $boundary ?: sha1(uniqid('', true)); + $this->stream = $this->createStream($elements); + } + + public function getBoundary(): string + { + return $this->boundary; + } + + public function isWritable(): bool + { + return false; + } + + /** + * Get the headers needed before transferring the content of a POST file + * + * @param array $headers + */ + private function getHeaders(array $headers): string + { + $str = ''; + foreach ($headers as $key => $value) { + $str .= "{$key}: {$value}\r\n"; + } + + return "--{$this->boundary}\r\n" . trim($str) . "\r\n\r\n"; + } + + /** + * Create the aggregate stream that will be used to upload the POST data + */ + protected function createStream(array $elements = []): StreamInterface + { + $stream = new AppendStream(); + + foreach ($elements as $element) { + $this->addElement($stream, $element); + } + + // Add the trailing boundary with CRLF + $stream->addStream(Utils::streamFor("--{$this->boundary}--\r\n")); + + return $stream; + } + + private function addElement(AppendStream $stream, array $element): void + { + foreach (['contents', 'name'] as $key) { + if (!array_key_exists($key, $element)) { + throw new \InvalidArgumentException("A '{$key}' key is required"); + } + } + + $element['contents'] = Utils::streamFor($element['contents']); + + if (empty($element['filename'])) { + $uri = $element['contents']->getMetadata('uri'); + if ($uri && \is_string($uri) && \substr($uri, 0, 6) !== 'php://' && \substr($uri, 0, 7) !== 'data://') { + $element['filename'] = $uri; + } + } + + [$body, $headers] = $this->createElement( + $element['name'], + $element['contents'], + $element['filename'] ?? null, + $element['headers'] ?? [] + ); + + $stream->addStream(Utils::streamFor($this->getHeaders($headers))); + $stream->addStream($body); + $stream->addStream(Utils::streamFor("\r\n")); + } + + private function createElement(string $name, StreamInterface $stream, ?string $filename, array $headers): array + { + // Set a default content-disposition header if one was no provided + $disposition = $this->getHeader($headers, 'content-disposition'); + if (!$disposition) { + $headers['Content-Disposition'] = ($filename === '0' || $filename) + ? sprintf( + 'form-data; name="%s"; filename="%s"', + $name, + basename($filename) + ) + : "form-data; name=\"{$name}\""; + } + + // Set a default content-length header if one was no provided + $length = $this->getHeader($headers, 'content-length'); + if (!$length) { + if ($length = $stream->getSize()) { + $headers['Content-Length'] = (string) $length; + } + } + + // Set a default Content-Type if one was not supplied + $type = $this->getHeader($headers, 'content-type'); + if (!$type && ($filename === '0' || $filename)) { + if ($type = MimeType::fromFilename($filename)) { + $headers['Content-Type'] = $type; + } + } + + return [$stream, $headers]; + } + + private function getHeader(array $headers, string $key) + { + $lowercaseHeader = strtolower($key); + foreach ($headers as $k => $v) { + if (strtolower($k) === $lowercaseHeader) { + return $v; + } + } + + return null; + } +} diff --git a/vendor/guzzlehttp/psr7/src/NoSeekStream.php b/vendor/guzzlehttp/psr7/src/NoSeekStream.php new file mode 100644 index 0000000..99e25b9 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/NoSeekStream.php @@ -0,0 +1,25 @@ +source = $source; + $this->size = $options['size'] ?? null; + $this->metadata = $options['metadata'] ?? []; + $this->buffer = new BufferStream(); + } + + public function __toString(): string + { + try { + return Utils::copyToString($this); + } catch (\Throwable $e) { + if (\PHP_VERSION_ID >= 70400) { + throw $e; + } + trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); + return ''; + } + } + + public function close(): void + { + $this->detach(); + } + + public function detach() + { + $this->tellPos = 0; + $this->source = null; + + return null; + } + + public function getSize(): ?int + { + return $this->size; + } + + public function tell(): int + { + return $this->tellPos; + } + + public function eof(): bool + { + return $this->source === null; + } + + public function isSeekable(): bool + { + return false; + } + + public function rewind(): void + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET): void + { + throw new \RuntimeException('Cannot seek a PumpStream'); + } + + public function isWritable(): bool + { + return false; + } + + public function write($string): int + { + throw new \RuntimeException('Cannot write to a PumpStream'); + } + + public function isReadable(): bool + { + return true; + } + + public function read($length): string + { + $data = $this->buffer->read($length); + $readLen = strlen($data); + $this->tellPos += $readLen; + $remaining = $length - $readLen; + + if ($remaining) { + $this->pump($remaining); + $data .= $this->buffer->read($remaining); + $this->tellPos += strlen($data) - $readLen; + } + + return $data; + } + + public function getContents(): string + { + $result = ''; + while (!$this->eof()) { + $result .= $this->read(1000000); + } + + return $result; + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getMetadata($key = null) + { + if (!$key) { + return $this->metadata; + } + + return $this->metadata[$key] ?? null; + } + + private function pump(int $length): void + { + if ($this->source) { + do { + $data = call_user_func($this->source, $length); + if ($data === false || $data === null) { + $this->source = null; + return; + } + $this->buffer->write($data); + $length -= strlen($data); + } while ($length > 0); + } + } +} diff --git a/vendor/guzzlehttp/psr7/src/Query.php b/vendor/guzzlehttp/psr7/src/Query.php new file mode 100644 index 0000000..2faab3a --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Query.php @@ -0,0 +1,113 @@ + '1', 'foo[b]' => '2'])`. + * + * @param string $str Query string to parse + * @param int|bool $urlEncoding How the query string is encoded + */ + public static function parse(string $str, $urlEncoding = true): array + { + $result = []; + + if ($str === '') { + return $result; + } + + if ($urlEncoding === true) { + $decoder = function ($value) { + return rawurldecode(str_replace('+', ' ', (string) $value)); + }; + } elseif ($urlEncoding === PHP_QUERY_RFC3986) { + $decoder = 'rawurldecode'; + } elseif ($urlEncoding === PHP_QUERY_RFC1738) { + $decoder = 'urldecode'; + } else { + $decoder = function ($str) { + return $str; + }; + } + + foreach (explode('&', $str) as $kvp) { + $parts = explode('=', $kvp, 2); + $key = $decoder($parts[0]); + $value = isset($parts[1]) ? $decoder($parts[1]) : null; + if (!array_key_exists($key, $result)) { + $result[$key] = $value; + } else { + if (!is_array($result[$key])) { + $result[$key] = [$result[$key]]; + } + $result[$key][] = $value; + } + } + + return $result; + } + + /** + * Build a query string from an array of key value pairs. + * + * This function can use the return value of `parse()` to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like `http_build_query()` would). + * + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 + * to encode using RFC3986, or PHP_QUERY_RFC1738 + * to encode using RFC1738. + */ + public static function build(array $params, $encoding = PHP_QUERY_RFC3986): string + { + if (!$params) { + return ''; + } + + if ($encoding === false) { + $encoder = function (string $str): string { + return $str; + }; + } elseif ($encoding === PHP_QUERY_RFC3986) { + $encoder = 'rawurlencode'; + } elseif ($encoding === PHP_QUERY_RFC1738) { + $encoder = 'urlencode'; + } else { + throw new \InvalidArgumentException('Invalid type'); + } + + $qs = ''; + foreach ($params as $k => $v) { + $k = $encoder((string) $k); + if (!is_array($v)) { + $qs .= $k; + $v = is_bool($v) ? (int) $v : $v; + if ($v !== null) { + $qs .= '=' . $encoder((string) $v); + } + $qs .= '&'; + } else { + foreach ($v as $vv) { + $qs .= $k; + $vv = is_bool($vv) ? (int) $vv : $vv; + if ($vv !== null) { + $qs .= '=' . $encoder((string) $vv); + } + $qs .= '&'; + } + } + } + + return $qs ? (string) substr($qs, 0, -1) : ''; + } +} diff --git a/vendor/guzzlehttp/psr7/src/Request.php b/vendor/guzzlehttp/psr7/src/Request.php new file mode 100644 index 0000000..b17af66 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Request.php @@ -0,0 +1,157 @@ + $headers Request headers + * @param string|resource|StreamInterface|null $body Request body + * @param string $version Protocol version + */ + public function __construct( + string $method, + $uri, + array $headers = [], + $body = null, + string $version = '1.1' + ) { + $this->assertMethod($method); + if (!($uri instanceof UriInterface)) { + $uri = new Uri($uri); + } + + $this->method = strtoupper($method); + $this->uri = $uri; + $this->setHeaders($headers); + $this->protocol = $version; + + if (!isset($this->headerNames['host'])) { + $this->updateHostFromUri(); + } + + if ($body !== '' && $body !== null) { + $this->stream = Utils::streamFor($body); + } + } + + public function getRequestTarget(): string + { + if ($this->requestTarget !== null) { + return $this->requestTarget; + } + + $target = $this->uri->getPath(); + if ($target === '') { + $target = '/'; + } + if ($this->uri->getQuery() != '') { + $target .= '?' . $this->uri->getQuery(); + } + + return $target; + } + + public function withRequestTarget($requestTarget): RequestInterface + { + if (preg_match('#\s#', $requestTarget)) { + throw new InvalidArgumentException( + 'Invalid request target provided; cannot contain whitespace' + ); + } + + $new = clone $this; + $new->requestTarget = $requestTarget; + return $new; + } + + public function getMethod(): string + { + return $this->method; + } + + public function withMethod($method): RequestInterface + { + $this->assertMethod($method); + $new = clone $this; + $new->method = strtoupper($method); + return $new; + } + + public function getUri(): UriInterface + { + return $this->uri; + } + + public function withUri(UriInterface $uri, $preserveHost = false): RequestInterface + { + if ($uri === $this->uri) { + return $this; + } + + $new = clone $this; + $new->uri = $uri; + + if (!$preserveHost || !isset($this->headerNames['host'])) { + $new->updateHostFromUri(); + } + + return $new; + } + + private function updateHostFromUri(): void + { + $host = $this->uri->getHost(); + + if ($host == '') { + return; + } + + if (($port = $this->uri->getPort()) !== null) { + $host .= ':' . $port; + } + + if (isset($this->headerNames['host'])) { + $header = $this->headerNames['host']; + } else { + $header = 'Host'; + $this->headerNames['host'] = 'Host'; + } + // Ensure Host is the first header. + // See: http://tools.ietf.org/html/rfc7230#section-5.4 + $this->headers = [$header => [$host]] + $this->headers; + } + + /** + * @param mixed $method + */ + private function assertMethod($method): void + { + if (!is_string($method) || $method === '') { + throw new InvalidArgumentException('Method must be a non-empty string.'); + } + } +} diff --git a/vendor/guzzlehttp/psr7/src/Response.php b/vendor/guzzlehttp/psr7/src/Response.php new file mode 100644 index 0000000..4c6ee6f --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Response.php @@ -0,0 +1,160 @@ + 'Continue', + 101 => 'Switching Protocols', + 102 => 'Processing', + 200 => 'OK', + 201 => 'Created', + 202 => 'Accepted', + 203 => 'Non-Authoritative Information', + 204 => 'No Content', + 205 => 'Reset Content', + 206 => 'Partial Content', + 207 => 'Multi-status', + 208 => 'Already Reported', + 300 => 'Multiple Choices', + 301 => 'Moved Permanently', + 302 => 'Found', + 303 => 'See Other', + 304 => 'Not Modified', + 305 => 'Use Proxy', + 306 => 'Switch Proxy', + 307 => 'Temporary Redirect', + 308 => 'Permanent Redirect', + 400 => 'Bad Request', + 401 => 'Unauthorized', + 402 => 'Payment Required', + 403 => 'Forbidden', + 404 => 'Not Found', + 405 => 'Method Not Allowed', + 406 => 'Not Acceptable', + 407 => 'Proxy Authentication Required', + 408 => 'Request Time-out', + 409 => 'Conflict', + 410 => 'Gone', + 411 => 'Length Required', + 412 => 'Precondition Failed', + 413 => 'Request Entity Too Large', + 414 => 'Request-URI Too Large', + 415 => 'Unsupported Media Type', + 416 => 'Requested range not satisfiable', + 417 => 'Expectation Failed', + 418 => 'I\'m a teapot', + 422 => 'Unprocessable Entity', + 423 => 'Locked', + 424 => 'Failed Dependency', + 425 => 'Unordered Collection', + 426 => 'Upgrade Required', + 428 => 'Precondition Required', + 429 => 'Too Many Requests', + 431 => 'Request Header Fields Too Large', + 451 => 'Unavailable For Legal Reasons', + 500 => 'Internal Server Error', + 501 => 'Not Implemented', + 502 => 'Bad Gateway', + 503 => 'Service Unavailable', + 504 => 'Gateway Time-out', + 505 => 'HTTP Version not supported', + 506 => 'Variant Also Negotiates', + 507 => 'Insufficient Storage', + 508 => 'Loop Detected', + 510 => 'Not Extended', + 511 => 'Network Authentication Required', + ]; + + /** @var string */ + private $reasonPhrase; + + /** @var int */ + private $statusCode; + + /** + * @param int $status Status code + * @param array $headers Response headers + * @param string|resource|StreamInterface|null $body Response body + * @param string $version Protocol version + * @param string|null $reason Reason phrase (when empty a default will be used based on the status code) + */ + public function __construct( + int $status = 200, + array $headers = [], + $body = null, + string $version = '1.1', + string $reason = null + ) { + $this->assertStatusCodeRange($status); + + $this->statusCode = $status; + + if ($body !== '' && $body !== null) { + $this->stream = Utils::streamFor($body); + } + + $this->setHeaders($headers); + if ($reason == '' && isset(self::PHRASES[$this->statusCode])) { + $this->reasonPhrase = self::PHRASES[$this->statusCode]; + } else { + $this->reasonPhrase = (string) $reason; + } + + $this->protocol = $version; + } + + public function getStatusCode(): int + { + return $this->statusCode; + } + + public function getReasonPhrase(): string + { + return $this->reasonPhrase; + } + + public function withStatus($code, $reasonPhrase = ''): ResponseInterface + { + $this->assertStatusCodeIsInteger($code); + $code = (int) $code; + $this->assertStatusCodeRange($code); + + $new = clone $this; + $new->statusCode = $code; + if ($reasonPhrase == '' && isset(self::PHRASES[$new->statusCode])) { + $reasonPhrase = self::PHRASES[$new->statusCode]; + } + $new->reasonPhrase = (string) $reasonPhrase; + return $new; + } + + /** + * @param mixed $statusCode + */ + private function assertStatusCodeIsInteger($statusCode): void + { + if (filter_var($statusCode, FILTER_VALIDATE_INT) === false) { + throw new \InvalidArgumentException('Status code must be an integer value.'); + } + } + + private function assertStatusCodeRange(int $statusCode): void + { + if ($statusCode < 100 || $statusCode >= 600) { + throw new \InvalidArgumentException('Status code must be an integer value between 1xx and 5xx.'); + } + } +} diff --git a/vendor/guzzlehttp/psr7/src/Rfc7230.php b/vendor/guzzlehttp/psr7/src/Rfc7230.php new file mode 100644 index 0000000..3022401 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Rfc7230.php @@ -0,0 +1,23 @@ +@,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"; + public const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"; +} diff --git a/vendor/guzzlehttp/psr7/src/ServerRequest.php b/vendor/guzzlehttp/psr7/src/ServerRequest.php new file mode 100644 index 0000000..43cbb50 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/ServerRequest.php @@ -0,0 +1,344 @@ + $headers Request headers + * @param string|resource|StreamInterface|null $body Request body + * @param string $version Protocol version + * @param array $serverParams Typically the $_SERVER superglobal + */ + public function __construct( + string $method, + $uri, + array $headers = [], + $body = null, + string $version = '1.1', + array $serverParams = [] + ) { + $this->serverParams = $serverParams; + + parent::__construct($method, $uri, $headers, $body, $version); + } + + /** + * Return an UploadedFile instance array. + * + * @param array $files An array which respect $_FILES structure + * + * @throws InvalidArgumentException for unrecognized values + */ + public static function normalizeFiles(array $files): array + { + $normalized = []; + + foreach ($files as $key => $value) { + if ($value instanceof UploadedFileInterface) { + $normalized[$key] = $value; + } elseif (is_array($value) && isset($value['tmp_name'])) { + $normalized[$key] = self::createUploadedFileFromSpec($value); + } elseif (is_array($value)) { + $normalized[$key] = self::normalizeFiles($value); + continue; + } else { + throw new InvalidArgumentException('Invalid value in files specification'); + } + } + + return $normalized; + } + + /** + * Create and return an UploadedFile instance from a $_FILES specification. + * + * If the specification represents an array of values, this method will + * delegate to normalizeNestedFileSpec() and return that return value. + * + * @param array $value $_FILES struct + * + * @return UploadedFileInterface|UploadedFileInterface[] + */ + private static function createUploadedFileFromSpec(array $value) + { + if (is_array($value['tmp_name'])) { + return self::normalizeNestedFileSpec($value); + } + + return new UploadedFile( + $value['tmp_name'], + (int) $value['size'], + (int) $value['error'], + $value['name'], + $value['type'] + ); + } + + /** + * Normalize an array of file specifications. + * + * Loops through all nested files and returns a normalized array of + * UploadedFileInterface instances. + * + * @return UploadedFileInterface[] + */ + private static function normalizeNestedFileSpec(array $files = []): array + { + $normalizedFiles = []; + + 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], + ]; + $normalizedFiles[$key] = self::createUploadedFileFromSpec($spec); + } + + return $normalizedFiles; + } + + /** + * Return a ServerRequest populated with superglobals: + * $_GET + * $_POST + * $_COOKIE + * $_FILES + * $_SERVER + */ + public static function fromGlobals(): ServerRequestInterface + { + $method = $_SERVER['REQUEST_METHOD'] ?? 'GET'; + $headers = getallheaders(); + $uri = self::getUriFromGlobals(); + $body = new CachingStream(new LazyOpenStream('php://input', 'r+')); + $protocol = isset($_SERVER['SERVER_PROTOCOL']) ? str_replace('HTTP/', '', $_SERVER['SERVER_PROTOCOL']) : '1.1'; + + $serverRequest = new ServerRequest($method, $uri, $headers, $body, $protocol, $_SERVER); + + return $serverRequest + ->withCookieParams($_COOKIE) + ->withQueryParams($_GET) + ->withParsedBody($_POST) + ->withUploadedFiles(self::normalizeFiles($_FILES)); + } + + private static function extractHostAndPortFromAuthority(string $authority): array + { + $uri = 'http://' . $authority; + $parts = parse_url($uri); + if (false === $parts) { + return [null, null]; + } + + $host = $parts['host'] ?? null; + $port = $parts['port'] ?? null; + + return [$host, $port]; + } + + /** + * Get a Uri populated with values from $_SERVER. + */ + public static function getUriFromGlobals(): UriInterface + { + $uri = new Uri(''); + + $uri = $uri->withScheme(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' ? 'https' : 'http'); + + $hasPort = false; + if (isset($_SERVER['HTTP_HOST'])) { + [$host, $port] = self::extractHostAndPortFromAuthority($_SERVER['HTTP_HOST']); + if ($host !== null) { + $uri = $uri->withHost($host); + } + + if ($port !== null) { + $hasPort = true; + $uri = $uri->withPort($port); + } + } elseif (isset($_SERVER['SERVER_NAME'])) { + $uri = $uri->withHost($_SERVER['SERVER_NAME']); + } elseif (isset($_SERVER['SERVER_ADDR'])) { + $uri = $uri->withHost($_SERVER['SERVER_ADDR']); + } + + if (!$hasPort && isset($_SERVER['SERVER_PORT'])) { + $uri = $uri->withPort($_SERVER['SERVER_PORT']); + } + + $hasQuery = false; + if (isset($_SERVER['REQUEST_URI'])) { + $requestUriParts = explode('?', $_SERVER['REQUEST_URI'], 2); + $uri = $uri->withPath($requestUriParts[0]); + if (isset($requestUriParts[1])) { + $hasQuery = true; + $uri = $uri->withQuery($requestUriParts[1]); + } + } + + if (!$hasQuery && isset($_SERVER['QUERY_STRING'])) { + $uri = $uri->withQuery($_SERVER['QUERY_STRING']); + } + + return $uri; + } + + public function getServerParams(): array + { + return $this->serverParams; + } + + public function getUploadedFiles(): array + { + return $this->uploadedFiles; + } + + public function withUploadedFiles(array $uploadedFiles): ServerRequestInterface + { + $new = clone $this; + $new->uploadedFiles = $uploadedFiles; + + return $new; + } + + public function getCookieParams(): array + { + return $this->cookieParams; + } + + public function withCookieParams(array $cookies): ServerRequestInterface + { + $new = clone $this; + $new->cookieParams = $cookies; + + return $new; + } + + public function getQueryParams(): array + { + return $this->queryParams; + } + + public function withQueryParams(array $query): ServerRequestInterface + { + $new = clone $this; + $new->queryParams = $query; + + return $new; + } + + /** + * {@inheritdoc} + * + * @return array|object|null + */ + public function getParsedBody() + { + return $this->parsedBody; + } + + public function withParsedBody($data): ServerRequestInterface + { + $new = clone $this; + $new->parsedBody = $data; + + return $new; + } + + public function getAttributes(): array + { + return $this->attributes; + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getAttribute($attribute, $default = null) + { + if (false === array_key_exists($attribute, $this->attributes)) { + return $default; + } + + return $this->attributes[$attribute]; + } + + public function withAttribute($attribute, $value): ServerRequestInterface + { + $new = clone $this; + $new->attributes[$attribute] = $value; + + return $new; + } + + public function withoutAttribute($attribute): ServerRequestInterface + { + if (false === array_key_exists($attribute, $this->attributes)) { + return $this; + } + + $new = clone $this; + unset($new->attributes[$attribute]); + + return $new; + } +} diff --git a/vendor/guzzlehttp/psr7/src/Stream.php b/vendor/guzzlehttp/psr7/src/Stream.php new file mode 100644 index 0000000..d389427 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Stream.php @@ -0,0 +1,279 @@ +size = $options['size']; + } + + $this->customMetadata = $options['metadata'] ?? []; + $this->stream = $stream; + $meta = stream_get_meta_data($this->stream); + $this->seekable = $meta['seekable']; + $this->readable = (bool)preg_match(self::READABLE_MODES, $meta['mode']); + $this->writable = (bool)preg_match(self::WRITABLE_MODES, $meta['mode']); + $this->uri = $this->getMetadata('uri'); + } + + /** + * Closes the stream when the destructed + */ + public function __destruct() + { + $this->close(); + } + + public function __toString(): string + { + try { + if ($this->isSeekable()) { + $this->seek(0); + } + return $this->getContents(); + } catch (\Throwable $e) { + if (\PHP_VERSION_ID >= 70400) { + throw $e; + } + trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); + return ''; + } + } + + public function getContents(): string + { + if (!isset($this->stream)) { + throw new \RuntimeException('Stream is detached'); + } + + $contents = stream_get_contents($this->stream); + + if ($contents === false) { + throw new \RuntimeException('Unable to read stream contents'); + } + + return $contents; + } + + public function close(): void + { + if (isset($this->stream)) { + if (is_resource($this->stream)) { + fclose($this->stream); + } + $this->detach(); + } + } + + public function detach() + { + if (!isset($this->stream)) { + return null; + } + + $result = $this->stream; + unset($this->stream); + $this->size = $this->uri = null; + $this->readable = $this->writable = $this->seekable = false; + + return $result; + } + + public function getSize(): ?int + { + if ($this->size !== null) { + return $this->size; + } + + if (!isset($this->stream)) { + return null; + } + + // Clear the stat cache if the stream has a URI + if ($this->uri) { + clearstatcache(true, $this->uri); + } + + $stats = fstat($this->stream); + if (is_array($stats) && isset($stats['size'])) { + $this->size = $stats['size']; + return $this->size; + } + + return null; + } + + public function isReadable(): bool + { + return $this->readable; + } + + public function isWritable(): bool + { + return $this->writable; + } + + public function isSeekable(): bool + { + return $this->seekable; + } + + public function eof(): bool + { + if (!isset($this->stream)) { + throw new \RuntimeException('Stream is detached'); + } + + return feof($this->stream); + } + + public function tell(): int + { + if (!isset($this->stream)) { + throw new \RuntimeException('Stream is detached'); + } + + $result = ftell($this->stream); + + if ($result === false) { + throw new \RuntimeException('Unable to determine stream position'); + } + + return $result; + } + + public function rewind(): void + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET): void + { + $whence = (int) $whence; + + if (!isset($this->stream)) { + throw new \RuntimeException('Stream is detached'); + } + if (!$this->seekable) { + throw new \RuntimeException('Stream is not seekable'); + } + if (fseek($this->stream, $offset, $whence) === -1) { + throw new \RuntimeException('Unable to seek to stream position ' + . $offset . ' with whence ' . var_export($whence, true)); + } + } + + public function read($length): string + { + if (!isset($this->stream)) { + throw new \RuntimeException('Stream is detached'); + } + if (!$this->readable) { + throw new \RuntimeException('Cannot read from non-readable stream'); + } + if ($length < 0) { + throw new \RuntimeException('Length parameter cannot be negative'); + } + + if (0 === $length) { + return ''; + } + + $string = fread($this->stream, $length); + if (false === $string) { + throw new \RuntimeException('Unable to read from stream'); + } + + return $string; + } + + public function write($string): int + { + if (!isset($this->stream)) { + throw new \RuntimeException('Stream is detached'); + } + if (!$this->writable) { + throw new \RuntimeException('Cannot write to a non-writable stream'); + } + + // We can't know the size after writing anything + $this->size = null; + $result = fwrite($this->stream, $string); + + if ($result === false) { + throw new \RuntimeException('Unable to write to stream'); + } + + return $result; + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getMetadata($key = null) + { + if (!isset($this->stream)) { + return $key ? null : []; + } elseif (!$key) { + return $this->customMetadata + stream_get_meta_data($this->stream); + } elseif (isset($this->customMetadata[$key])) { + return $this->customMetadata[$key]; + } + + $meta = stream_get_meta_data($this->stream); + + return $meta[$key] ?? null; + } +} diff --git a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php new file mode 100644 index 0000000..56d4104 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php @@ -0,0 +1,155 @@ +stream = $stream; + } + + /** + * Magic method used to create a new stream if streams are not added in + * the constructor of a decorator (e.g., LazyOpenStream). + * + * @return StreamInterface + */ + public function __get(string $name) + { + if ($name === 'stream') { + $this->stream = $this->createStream(); + return $this->stream; + } + + throw new \UnexpectedValueException("$name not found on class"); + } + + public function __toString(): string + { + try { + if ($this->isSeekable()) { + $this->seek(0); + } + return $this->getContents(); + } catch (\Throwable $e) { + if (\PHP_VERSION_ID >= 70400) { + throw $e; + } + trigger_error(sprintf('%s::__toString exception: %s', self::class, (string) $e), E_USER_ERROR); + return ''; + } + } + + public function getContents(): string + { + return Utils::copyToString($this); + } + + /** + * Allow decorators to implement custom methods + * + * @return mixed + */ + public function __call(string $method, array $args) + { + /** @var callable $callable */ + $callable = [$this->stream, $method]; + $result = call_user_func_array($callable, $args); + + // Always return the wrapped object if the result is a return $this + return $result === $this->stream ? $this : $result; + } + + public function close(): void + { + $this->stream->close(); + } + + /** + * {@inheritdoc} + * + * @return mixed + */ + public function getMetadata($key = null) + { + return $this->stream->getMetadata($key); + } + + public function detach() + { + return $this->stream->detach(); + } + + public function getSize(): ?int + { + return $this->stream->getSize(); + } + + public function eof(): bool + { + return $this->stream->eof(); + } + + public function tell(): int + { + return $this->stream->tell(); + } + + public function isReadable(): bool + { + return $this->stream->isReadable(); + } + + public function isWritable(): bool + { + return $this->stream->isWritable(); + } + + public function isSeekable(): bool + { + return $this->stream->isSeekable(); + } + + public function rewind(): void + { + $this->seek(0); + } + + public function seek($offset, $whence = SEEK_SET): void + { + $this->stream->seek($offset, $whence); + } + + public function read($length): string + { + return $this->stream->read($length); + } + + public function write($string): int + { + return $this->stream->write($string); + } + + /** + * Implement in subclasses to dynamically create streams when requested. + * + * @throws \BadMethodCallException + */ + protected function createStream(): StreamInterface + { + throw new \BadMethodCallException('Not implemented'); + } +} diff --git a/vendor/guzzlehttp/psr7/src/StreamWrapper.php b/vendor/guzzlehttp/psr7/src/StreamWrapper.php new file mode 100644 index 0000000..2a93464 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/StreamWrapper.php @@ -0,0 +1,175 @@ +isReadable()) { + $mode = $stream->isWritable() ? 'r+' : 'r'; + } elseif ($stream->isWritable()) { + $mode = 'w'; + } else { + throw new \InvalidArgumentException('The stream must be readable, ' + . 'writable, or both.'); + } + + return fopen('guzzle://stream', $mode, false, self::createStreamContext($stream)); + } + + /** + * Creates a stream context that can be used to open a stream as a php stream resource. + * + * @return resource + */ + public static function createStreamContext(StreamInterface $stream) + { + return stream_context_create([ + 'guzzle' => ['stream' => $stream] + ]); + } + + /** + * Registers the stream wrapper if needed + */ + public static function register(): void + { + if (!in_array('guzzle', stream_get_wrappers())) { + stream_wrapper_register('guzzle', __CLASS__); + } + } + + public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool + { + $options = stream_context_get_options($this->context); + + if (!isset($options['guzzle']['stream'])) { + return false; + } + + $this->mode = $mode; + $this->stream = $options['guzzle']['stream']; + + return true; + } + + public function stream_read(int $count): string + { + return $this->stream->read($count); + } + + public function stream_write(string $data): int + { + return $this->stream->write($data); + } + + public function stream_tell(): int + { + return $this->stream->tell(); + } + + public function stream_eof(): bool + { + return $this->stream->eof(); + } + + public function stream_seek(int $offset, int $whence): bool + { + $this->stream->seek($offset, $whence); + + return true; + } + + /** + * @return resource|false + */ + public function stream_cast(int $cast_as) + { + $stream = clone($this->stream); + $resource = $stream->detach(); + + return $resource ?? false; + } + + /** + * @return array + */ + public function stream_stat(): array + { + static $modeMap = [ + 'r' => 33060, + 'rb' => 33060, + 'r+' => 33206, + 'w' => 33188, + 'wb' => 33188 + ]; + + return [ + 'dev' => 0, + 'ino' => 0, + 'mode' => $modeMap[$this->mode], + 'nlink' => 0, + 'uid' => 0, + 'gid' => 0, + 'rdev' => 0, + 'size' => $this->stream->getSize() ?: 0, + 'atime' => 0, + 'mtime' => 0, + 'ctime' => 0, + 'blksize' => 0, + 'blocks' => 0 + ]; + } + + /** + * @return array + */ + public function url_stat(string $path, int $flags): array + { + return [ + 'dev' => 0, + 'ino' => 0, + 'mode' => 0, + 'nlink' => 0, + 'uid' => 0, + 'gid' => 0, + 'rdev' => 0, + 'size' => 0, + 'atime' => 0, + 'mtime' => 0, + 'ctime' => 0, + 'blksize' => 0, + 'blocks' => 0 + ]; + } +} diff --git a/vendor/guzzlehttp/psr7/src/UploadedFile.php b/vendor/guzzlehttp/psr7/src/UploadedFile.php new file mode 100644 index 0000000..b1521bc --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/UploadedFile.php @@ -0,0 +1,211 @@ +setError($errorStatus); + $this->size = $size; + $this->clientFilename = $clientFilename; + $this->clientMediaType = $clientMediaType; + + if ($this->isOk()) { + $this->setStreamOrFile($streamOrFile); + } + } + + /** + * Depending on the value set file or stream variable + * + * @param StreamInterface|string|resource $streamOrFile + * + * @throws InvalidArgumentException + */ + private function setStreamOrFile($streamOrFile): void + { + if (is_string($streamOrFile)) { + $this->file = $streamOrFile; + } elseif (is_resource($streamOrFile)) { + $this->stream = new Stream($streamOrFile); + } elseif ($streamOrFile instanceof StreamInterface) { + $this->stream = $streamOrFile; + } else { + throw new InvalidArgumentException( + 'Invalid stream or file provided for UploadedFile' + ); + } + } + + /** + * @throws InvalidArgumentException + */ + private function setError(int $error): void + { + if (false === in_array($error, UploadedFile::ERRORS, true)) { + throw new InvalidArgumentException( + 'Invalid error status for UploadedFile' + ); + } + + $this->error = $error; + } + + private function isStringNotEmpty($param): bool + { + return is_string($param) && false === empty($param); + } + + /** + * Return true if there is no upload error + */ + private function isOk(): bool + { + return $this->error === UPLOAD_ERR_OK; + } + + public function isMoved(): bool + { + return $this->moved; + } + + /** + * @throws RuntimeException if is moved or not ok + */ + private function validateActive(): void + { + if (false === $this->isOk()) { + throw new RuntimeException('Cannot retrieve stream due to upload error'); + } + + if ($this->isMoved()) { + throw new RuntimeException('Cannot retrieve stream after it has already been moved'); + } + } + + public function getStream(): StreamInterface + { + $this->validateActive(); + + if ($this->stream instanceof StreamInterface) { + return $this->stream; + } + + /** @var string $file */ + $file = $this->file; + + return new LazyOpenStream($file, 'r+'); + } + + public function moveTo($targetPath): void + { + $this->validateActive(); + + if (false === $this->isStringNotEmpty($targetPath)) { + throw new InvalidArgumentException( + 'Invalid path provided for move operation; must be a non-empty string' + ); + } + + if ($this->file) { + $this->moved = PHP_SAPI === 'cli' + ? rename($this->file, $targetPath) + : move_uploaded_file($this->file, $targetPath); + } else { + Utils::copyToStream( + $this->getStream(), + new LazyOpenStream($targetPath, 'w') + ); + + $this->moved = true; + } + + if (false === $this->moved) { + throw new RuntimeException( + sprintf('Uploaded file could not be moved to %s', $targetPath) + ); + } + } + + public function getSize(): ?int + { + return $this->size; + } + + public function getError(): int + { + return $this->error; + } + + public function getClientFilename(): ?string + { + return $this->clientFilename; + } + + public function getClientMediaType(): ?string + { + return $this->clientMediaType; + } +} diff --git a/vendor/guzzlehttp/psr7/src/Uri.php b/vendor/guzzlehttp/psr7/src/Uri.php new file mode 100644 index 0000000..5c6416a --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Uri.php @@ -0,0 +1,738 @@ + 80, + 'https' => 443, + 'ftp' => 21, + 'gopher' => 70, + 'nntp' => 119, + 'news' => 119, + 'telnet' => 23, + 'tn3270' => 23, + 'imap' => 143, + 'pop' => 110, + 'ldap' => 389, + ]; + + /** + * Unreserved characters for use in a regex. + * + * @link https://tools.ietf.org/html/rfc3986#section-2.3 + */ + private const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~'; + + /** + * Sub-delims for use in a regex. + * + * @link https://tools.ietf.org/html/rfc3986#section-2.2 + */ + private const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;='; + private const QUERY_SEPARATORS_REPLACEMENT = ['=' => '%3D', '&' => '%26']; + + /** @var string Uri scheme. */ + private $scheme = ''; + + /** @var string Uri user info. */ + private $userInfo = ''; + + /** @var string Uri host. */ + private $host = ''; + + /** @var int|null Uri port. */ + private $port; + + /** @var string Uri path. */ + private $path = ''; + + /** @var string Uri query string. */ + private $query = ''; + + /** @var string Uri fragment. */ + private $fragment = ''; + + /** @var string|null String representation */ + private $composedComponents; + + public function __construct(string $uri = '') + { + if ($uri !== '') { + $parts = self::parse($uri); + if ($parts === false) { + throw new MalformedUriException("Unable to parse URI: $uri"); + } + $this->applyParts($parts); + } + } + /** + * UTF-8 aware \parse_url() replacement. + * + * The internal function produces broken output for non ASCII domain names + * (IDN) when used with locales other than "C". + * + * On the other hand, cURL understands IDN correctly only when UTF-8 locale + * is configured ("C.UTF-8", "en_US.UTF-8", etc.). + * + * @see https://bugs.php.net/bug.php?id=52923 + * @see https://www.php.net/manual/en/function.parse-url.php#114817 + * @see https://curl.haxx.se/libcurl/c/CURLOPT_URL.html#ENCODING + * + * @return array|false + */ + private static function parse(string $url) + { + // If IPv6 + $prefix = ''; + if (preg_match('%^(.*://\[[0-9:a-f]+\])(.*?)$%', $url, $matches)) { + /** @var array{0:string, 1:string, 2:string} $matches */ + $prefix = $matches[1]; + $url = $matches[2]; + } + + /** @var string */ + $encodedUrl = preg_replace_callback( + '%[^:/@?&=#]+%usD', + static function ($matches) { + return urlencode($matches[0]); + }, + $url + ); + + $result = parse_url($prefix . $encodedUrl); + + if ($result === false) { + return false; + } + + return array_map('urldecode', $result); + } + + public function __toString(): string + { + if ($this->composedComponents === null) { + $this->composedComponents = self::composeComponents( + $this->scheme, + $this->getAuthority(), + $this->path, + $this->query, + $this->fragment + ); + } + + return $this->composedComponents; + } + + /** + * Composes a URI reference string from its various components. + * + * Usually this method does not need to be called manually but instead is used indirectly via + * `Psr\Http\Message\UriInterface::__toString`. + * + * PSR-7 UriInterface treats an empty component the same as a missing component as + * getQuery(), getFragment() etc. always return a string. This explains the slight + * difference to RFC 3986 Section 5.3. + * + * Another adjustment is that the authority separator is added even when the authority is missing/empty + * for the "file" scheme. This is because PHP stream functions like `file_get_contents` only work with + * `file:///myfile` but not with `file:/myfile` although they are equivalent according to RFC 3986. But + * `file:///` is the more common syntax for the file scheme anyway (Chrome for example redirects to + * that format). + * + * @link https://tools.ietf.org/html/rfc3986#section-5.3 + */ + public static function composeComponents(?string $scheme, ?string $authority, string $path, ?string $query, ?string $fragment): string + { + $uri = ''; + + // weak type checks to also accept null until we can add scalar type hints + if ($scheme != '') { + $uri .= $scheme . ':'; + } + + if ($authority != ''|| $scheme === 'file') { + $uri .= '//' . $authority; + } + + $uri .= $path; + + if ($query != '') { + $uri .= '?' . $query; + } + + if ($fragment != '') { + $uri .= '#' . $fragment; + } + + return $uri; + } + + /** + * Whether the URI has the default port of the current scheme. + * + * `Psr\Http\Message\UriInterface::getPort` may return null or the standard port. This method can be used + * independently of the implementation. + */ + public static function isDefaultPort(UriInterface $uri): bool + { + return $uri->getPort() === null + || (isset(self::DEFAULT_PORTS[$uri->getScheme()]) && $uri->getPort() === self::DEFAULT_PORTS[$uri->getScheme()]); + } + + /** + * Whether the URI is absolute, i.e. it has a scheme. + * + * An instance of UriInterface can either be an absolute URI or a relative reference. This method returns true + * if it is the former. An absolute URI has a scheme. A relative reference is used to express a URI relative + * to another URI, the base URI. Relative references can be divided into several forms: + * - network-path references, e.g. '//example.com/path' + * - absolute-path references, e.g. '/path' + * - relative-path references, e.g. 'subpath' + * + * @see Uri::isNetworkPathReference + * @see Uri::isAbsolutePathReference + * @see Uri::isRelativePathReference + * @link https://tools.ietf.org/html/rfc3986#section-4 + */ + public static function isAbsolute(UriInterface $uri): bool + { + return $uri->getScheme() !== ''; + } + + /** + * Whether the URI is a network-path reference. + * + * A relative reference that begins with two slash characters is termed an network-path reference. + * + * @link https://tools.ietf.org/html/rfc3986#section-4.2 + */ + public static function isNetworkPathReference(UriInterface $uri): bool + { + return $uri->getScheme() === '' && $uri->getAuthority() !== ''; + } + + /** + * Whether the URI is a absolute-path reference. + * + * A relative reference that begins with a single slash character is termed an absolute-path reference. + * + * @link https://tools.ietf.org/html/rfc3986#section-4.2 + */ + public static function isAbsolutePathReference(UriInterface $uri): bool + { + return $uri->getScheme() === '' + && $uri->getAuthority() === '' + && isset($uri->getPath()[0]) + && $uri->getPath()[0] === '/'; + } + + /** + * Whether the URI is a relative-path reference. + * + * A relative reference that does not begin with a slash character is termed a relative-path reference. + * + * @link https://tools.ietf.org/html/rfc3986#section-4.2 + */ + public static function isRelativePathReference(UriInterface $uri): bool + { + return $uri->getScheme() === '' + && $uri->getAuthority() === '' + && (!isset($uri->getPath()[0]) || $uri->getPath()[0] !== '/'); + } + + /** + * Whether the URI is a same-document reference. + * + * A same-document reference refers to a URI that is, aside from its fragment + * component, identical to the base URI. When no base URI is given, only an empty + * URI reference (apart from its fragment) is considered a same-document reference. + * + * @param UriInterface $uri The URI to check + * @param UriInterface|null $base An optional base URI to compare against + * + * @link https://tools.ietf.org/html/rfc3986#section-4.4 + */ + public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool + { + if ($base !== null) { + $uri = UriResolver::resolve($base, $uri); + + return ($uri->getScheme() === $base->getScheme()) + && ($uri->getAuthority() === $base->getAuthority()) + && ($uri->getPath() === $base->getPath()) + && ($uri->getQuery() === $base->getQuery()); + } + + return $uri->getScheme() === '' && $uri->getAuthority() === '' && $uri->getPath() === '' && $uri->getQuery() === ''; + } + + /** + * Creates a new URI with a specific query string value removed. + * + * Any existing query string values that exactly match the provided key are + * removed. + * + * @param UriInterface $uri URI to use as a base. + * @param string $key Query string key to remove. + */ + public static function withoutQueryValue(UriInterface $uri, string $key): UriInterface + { + $result = self::getFilteredQueryString($uri, [$key]); + + return $uri->withQuery(implode('&', $result)); + } + + /** + * Creates a new URI with a specific query string value. + * + * Any existing query string values that exactly match the provided key are + * removed and replaced with the given key value pair. + * + * A value of null will set the query string key without a value, e.g. "key" + * instead of "key=value". + * + * @param UriInterface $uri URI to use as a base. + * @param string $key Key to set. + * @param string|null $value Value to set + */ + public static function withQueryValue(UriInterface $uri, string $key, ?string $value): UriInterface + { + $result = self::getFilteredQueryString($uri, [$key]); + + $result[] = self::generateQueryString($key, $value); + + return $uri->withQuery(implode('&', $result)); + } + + /** + * Creates a new URI with multiple specific query string values. + * + * It has the same behavior as withQueryValue() but for an associative array of key => value. + * + * @param UriInterface $uri URI to use as a base. + * @param array $keyValueArray Associative array of key and values + */ + public static function withQueryValues(UriInterface $uri, array $keyValueArray): UriInterface + { + $result = self::getFilteredQueryString($uri, array_keys($keyValueArray)); + + foreach ($keyValueArray as $key => $value) { + $result[] = self::generateQueryString((string) $key, $value !== null ? (string) $value : null); + } + + return $uri->withQuery(implode('&', $result)); + } + + /** + * Creates a URI from a hash of `parse_url` components. + * + * @link http://php.net/manual/en/function.parse-url.php + * + * @throws MalformedUriException If the components do not form a valid URI. + */ + public static function fromParts(array $parts): UriInterface + { + $uri = new self(); + $uri->applyParts($parts); + $uri->validateState(); + + return $uri; + } + + public function getScheme(): string + { + return $this->scheme; + } + + public function getAuthority(): string + { + $authority = $this->host; + if ($this->userInfo !== '') { + $authority = $this->userInfo . '@' . $authority; + } + + if ($this->port !== null) { + $authority .= ':' . $this->port; + } + + return $authority; + } + + public function getUserInfo(): string + { + return $this->userInfo; + } + + public function getHost(): string + { + return $this->host; + } + + public function getPort(): ?int + { + return $this->port; + } + + public function getPath(): string + { + return $this->path; + } + + public function getQuery(): string + { + return $this->query; + } + + public function getFragment(): string + { + return $this->fragment; + } + + public function withScheme($scheme): UriInterface + { + $scheme = $this->filterScheme($scheme); + + if ($this->scheme === $scheme) { + return $this; + } + + $new = clone $this; + $new->scheme = $scheme; + $new->composedComponents = null; + $new->removeDefaultPort(); + $new->validateState(); + + return $new; + } + + public function withUserInfo($user, $password = null): UriInterface + { + $info = $this->filterUserInfoComponent($user); + if ($password !== null) { + $info .= ':' . $this->filterUserInfoComponent($password); + } + + if ($this->userInfo === $info) { + return $this; + } + + $new = clone $this; + $new->userInfo = $info; + $new->composedComponents = null; + $new->validateState(); + + return $new; + } + + public function withHost($host): UriInterface + { + $host = $this->filterHost($host); + + if ($this->host === $host) { + return $this; + } + + $new = clone $this; + $new->host = $host; + $new->composedComponents = null; + $new->validateState(); + + return $new; + } + + public function withPort($port): UriInterface + { + $port = $this->filterPort($port); + + if ($this->port === $port) { + return $this; + } + + $new = clone $this; + $new->port = $port; + $new->composedComponents = null; + $new->removeDefaultPort(); + $new->validateState(); + + return $new; + } + + public function withPath($path): UriInterface + { + $path = $this->filterPath($path); + + if ($this->path === $path) { + return $this; + } + + $new = clone $this; + $new->path = $path; + $new->composedComponents = null; + $new->validateState(); + + return $new; + } + + public function withQuery($query): UriInterface + { + $query = $this->filterQueryAndFragment($query); + + if ($this->query === $query) { + return $this; + } + + $new = clone $this; + $new->query = $query; + $new->composedComponents = null; + + return $new; + } + + public function withFragment($fragment): UriInterface + { + $fragment = $this->filterQueryAndFragment($fragment); + + if ($this->fragment === $fragment) { + return $this; + } + + $new = clone $this; + $new->fragment = $fragment; + $new->composedComponents = null; + + return $new; + } + + public function jsonSerialize(): string + { + return $this->__toString(); + } + + /** + * Apply parse_url parts to a URI. + * + * @param array $parts Array of parse_url parts to apply. + */ + private function applyParts(array $parts): void + { + $this->scheme = isset($parts['scheme']) + ? $this->filterScheme($parts['scheme']) + : ''; + $this->userInfo = isset($parts['user']) + ? $this->filterUserInfoComponent($parts['user']) + : ''; + $this->host = isset($parts['host']) + ? $this->filterHost($parts['host']) + : ''; + $this->port = isset($parts['port']) + ? $this->filterPort($parts['port']) + : null; + $this->path = isset($parts['path']) + ? $this->filterPath($parts['path']) + : ''; + $this->query = isset($parts['query']) + ? $this->filterQueryAndFragment($parts['query']) + : ''; + $this->fragment = isset($parts['fragment']) + ? $this->filterQueryAndFragment($parts['fragment']) + : ''; + if (isset($parts['pass'])) { + $this->userInfo .= ':' . $this->filterUserInfoComponent($parts['pass']); + } + + $this->removeDefaultPort(); + } + + /** + * @param mixed $scheme + * + * @throws \InvalidArgumentException If the scheme is invalid. + */ + private function filterScheme($scheme): string + { + if (!is_string($scheme)) { + throw new \InvalidArgumentException('Scheme must be a string'); + } + + return \strtr($scheme, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'); + } + + /** + * @param mixed $component + * + * @throws \InvalidArgumentException If the user info is invalid. + */ + private function filterUserInfoComponent($component): string + { + if (!is_string($component)) { + throw new \InvalidArgumentException('User info must be a string'); + } + + return preg_replace_callback( + '/(?:[^%' . self::CHAR_UNRESERVED . self::CHAR_SUB_DELIMS . ']+|%(?![A-Fa-f0-9]{2}))/', + [$this, 'rawurlencodeMatchZero'], + $component + ); + } + + /** + * @param mixed $host + * + * @throws \InvalidArgumentException If the host is invalid. + */ + private function filterHost($host): string + { + if (!is_string($host)) { + throw new \InvalidArgumentException('Host must be a string'); + } + + return \strtr($host, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'); + } + + /** + * @param mixed $port + * + * @throws \InvalidArgumentException If the port is invalid. + */ + private function filterPort($port): ?int + { + if ($port === null) { + return null; + } + + $port = (int) $port; + if (0 > $port || 0xffff < $port) { + throw new \InvalidArgumentException( + sprintf('Invalid port: %d. Must be between 0 and 65535', $port) + ); + } + + return $port; + } + + /** + * @param string[] $keys + * + * @return string[] + */ + private static function getFilteredQueryString(UriInterface $uri, array $keys): array + { + $current = $uri->getQuery(); + + if ($current === '') { + return []; + } + + $decodedKeys = array_map('rawurldecode', $keys); + + return array_filter(explode('&', $current), function ($part) use ($decodedKeys) { + return !in_array(rawurldecode(explode('=', $part)[0]), $decodedKeys, true); + }); + } + + private static function generateQueryString(string $key, ?string $value): string + { + // Query string separators ("=", "&") within the key or value need to be encoded + // (while preventing double-encoding) before setting the query string. All other + // chars that need percent-encoding will be encoded by withQuery(). + $queryString = strtr($key, self::QUERY_SEPARATORS_REPLACEMENT); + + if ($value !== null) { + $queryString .= '=' . strtr($value, self::QUERY_SEPARATORS_REPLACEMENT); + } + + return $queryString; + } + + private function removeDefaultPort(): void + { + if ($this->port !== null && self::isDefaultPort($this)) { + $this->port = null; + } + } + + /** + * Filters the path of a URI + * + * @param mixed $path + * + * @throws \InvalidArgumentException If the path is invalid. + */ + private function filterPath($path): string + { + if (!is_string($path)) { + throw new \InvalidArgumentException('Path must be a string'); + } + + return preg_replace_callback( + '/(?:[^' . self::CHAR_UNRESERVED . self::CHAR_SUB_DELIMS . '%:@\/]++|%(?![A-Fa-f0-9]{2}))/', + [$this, 'rawurlencodeMatchZero'], + $path + ); + } + + /** + * Filters the query string or fragment of a URI. + * + * @param mixed $str + * + * @throws \InvalidArgumentException If the query or fragment is invalid. + */ + private function filterQueryAndFragment($str): string + { + if (!is_string($str)) { + throw new \InvalidArgumentException('Query and fragment must be a string'); + } + + return preg_replace_callback( + '/(?:[^' . self::CHAR_UNRESERVED . self::CHAR_SUB_DELIMS . '%:@\/\?]++|%(?![A-Fa-f0-9]{2}))/', + [$this, 'rawurlencodeMatchZero'], + $str + ); + } + + private function rawurlencodeMatchZero(array $match): string + { + return rawurlencode($match[0]); + } + + private function validateState(): void + { + if ($this->host === '' && ($this->scheme === 'http' || $this->scheme === 'https')) { + $this->host = self::HTTP_DEFAULT_HOST; + } + + if ($this->getAuthority() === '') { + if (0 === strpos($this->path, '//')) { + throw new MalformedUriException('The path of a URI without an authority must not start with two slashes "//"'); + } + if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) { + throw new MalformedUriException('A relative URI must not have a path beginning with a segment containing a colon'); + } + } elseif (isset($this->path[0]) && $this->path[0] !== '/') { + throw new MalformedUriException('The path of a URI with an authority must start with a slash "/" or be empty'); + } + } +} diff --git a/vendor/guzzlehttp/psr7/src/UriNormalizer.php b/vendor/guzzlehttp/psr7/src/UriNormalizer.php new file mode 100644 index 0000000..e12971e --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/UriNormalizer.php @@ -0,0 +1,220 @@ +getPath() === '' && + ($uri->getScheme() === 'http' || $uri->getScheme() === 'https') + ) { + $uri = $uri->withPath('/'); + } + + if ($flags & self::REMOVE_DEFAULT_HOST && $uri->getScheme() === 'file' && $uri->getHost() === 'localhost') { + $uri = $uri->withHost(''); + } + + if ($flags & self::REMOVE_DEFAULT_PORT && $uri->getPort() !== null && Uri::isDefaultPort($uri)) { + $uri = $uri->withPort(null); + } + + if ($flags & self::REMOVE_DOT_SEGMENTS && !Uri::isRelativePathReference($uri)) { + $uri = $uri->withPath(UriResolver::removeDotSegments($uri->getPath())); + } + + if ($flags & self::REMOVE_DUPLICATE_SLASHES) { + $uri = $uri->withPath(preg_replace('#//++#', '/', $uri->getPath())); + } + + if ($flags & self::SORT_QUERY_PARAMETERS && $uri->getQuery() !== '') { + $queryKeyValues = explode('&', $uri->getQuery()); + sort($queryKeyValues); + $uri = $uri->withQuery(implode('&', $queryKeyValues)); + } + + return $uri; + } + + /** + * Whether two URIs can be considered equivalent. + * + * Both URIs are normalized automatically before comparison with the given $normalizations bitmask. The method also + * accepts relative URI references and returns true when they are equivalent. This of course assumes they will be + * resolved against the same base URI. If this is not the case, determination of equivalence or difference of + * relative references does not mean anything. + * + * @param UriInterface $uri1 An URI to compare + * @param UriInterface $uri2 An URI to compare + * @param int $normalizations A bitmask of normalizations to apply, see constants + * + * @link https://tools.ietf.org/html/rfc3986#section-6.1 + */ + public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, int $normalizations = self::PRESERVING_NORMALIZATIONS): bool + { + return (string) self::normalize($uri1, $normalizations) === (string) self::normalize($uri2, $normalizations); + } + + private static function capitalizePercentEncoding(UriInterface $uri): UriInterface + { + $regex = '/(?:%[A-Fa-f0-9]{2})++/'; + + $callback = function (array $match) { + return strtoupper($match[0]); + }; + + return + $uri->withPath( + preg_replace_callback($regex, $callback, $uri->getPath()) + )->withQuery( + preg_replace_callback($regex, $callback, $uri->getQuery()) + ); + } + + private static function decodeUnreservedCharacters(UriInterface $uri): UriInterface + { + $regex = '/%(?:2D|2E|5F|7E|3[0-9]|[46][1-9A-F]|[57][0-9A])/i'; + + $callback = function (array $match) { + return rawurldecode($match[0]); + }; + + return + $uri->withPath( + preg_replace_callback($regex, $callback, $uri->getPath()) + )->withQuery( + preg_replace_callback($regex, $callback, $uri->getQuery()) + ); + } + + private function __construct() + { + // cannot be instantiated + } +} diff --git a/vendor/guzzlehttp/psr7/src/UriResolver.php b/vendor/guzzlehttp/psr7/src/UriResolver.php new file mode 100644 index 0000000..426e5c9 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/UriResolver.php @@ -0,0 +1,211 @@ +getScheme() != '') { + return $rel->withPath(self::removeDotSegments($rel->getPath())); + } + + if ($rel->getAuthority() != '') { + $targetAuthority = $rel->getAuthority(); + $targetPath = self::removeDotSegments($rel->getPath()); + $targetQuery = $rel->getQuery(); + } else { + $targetAuthority = $base->getAuthority(); + if ($rel->getPath() === '') { + $targetPath = $base->getPath(); + $targetQuery = $rel->getQuery() != '' ? $rel->getQuery() : $base->getQuery(); + } else { + if ($rel->getPath()[0] === '/') { + $targetPath = $rel->getPath(); + } else { + if ($targetAuthority != '' && $base->getPath() === '') { + $targetPath = '/' . $rel->getPath(); + } else { + $lastSlashPos = strrpos($base->getPath(), '/'); + if ($lastSlashPos === false) { + $targetPath = $rel->getPath(); + } else { + $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1) . $rel->getPath(); + } + } + } + $targetPath = self::removeDotSegments($targetPath); + $targetQuery = $rel->getQuery(); + } + } + + return new Uri(Uri::composeComponents( + $base->getScheme(), + $targetAuthority, + $targetPath, + $targetQuery, + $rel->getFragment() + )); + } + + /** + * Returns the target URI as a relative reference from the base URI. + * + * This method is the counterpart to resolve(): + * + * (string) $target === (string) UriResolver::resolve($base, UriResolver::relativize($base, $target)) + * + * One use-case is to use the current request URI as base URI and then generate relative links in your documents + * to reduce the document size or offer self-contained downloadable document archives. + * + * $base = new Uri('http://example.com/a/b/'); + * echo UriResolver::relativize($base, new Uri('http://example.com/a/b/c')); // prints 'c'. + * echo UriResolver::relativize($base, new Uri('http://example.com/a/x/y')); // prints '../x/y'. + * echo UriResolver::relativize($base, new Uri('http://example.com/a/b/?q')); // prints '?q'. + * echo UriResolver::relativize($base, new Uri('http://example.org/a/b/')); // prints '//example.org/a/b/'. + * + * This method also accepts a target that is already relative and will try to relativize it further. Only a + * relative-path reference will be returned as-is. + * + * echo UriResolver::relativize($base, new Uri('/a/b/c')); // prints 'c' as well + */ + public static function relativize(UriInterface $base, UriInterface $target): UriInterface + { + if ($target->getScheme() !== '' && + ($base->getScheme() !== $target->getScheme() || $target->getAuthority() === '' && $base->getAuthority() !== '') + ) { + return $target; + } + + if (Uri::isRelativePathReference($target)) { + // As the target is already highly relative we return it as-is. It would be possible to resolve + // the target with `$target = self::resolve($base, $target);` and then try make it more relative + // by removing a duplicate query. But let's not do that automatically. + return $target; + } + + if ($target->getAuthority() !== '' && $base->getAuthority() !== $target->getAuthority()) { + return $target->withScheme(''); + } + + // We must remove the path before removing the authority because if the path starts with two slashes, the URI + // would turn invalid. And we also cannot set a relative path before removing the authority, as that is also + // invalid. + $emptyPathUri = $target->withScheme('')->withPath('')->withUserInfo('')->withPort(null)->withHost(''); + + if ($base->getPath() !== $target->getPath()) { + return $emptyPathUri->withPath(self::getRelativePath($base, $target)); + } + + if ($base->getQuery() === $target->getQuery()) { + // Only the target fragment is left. And it must be returned even if base and target fragment are the same. + return $emptyPathUri->withQuery(''); + } + + // If the base URI has a query but the target has none, we cannot return an empty path reference as it would + // inherit the base query component when resolving. + if ($target->getQuery() === '') { + $segments = explode('/', $target->getPath()); + /** @var string $lastSegment */ + $lastSegment = end($segments); + + return $emptyPathUri->withPath($lastSegment === '' ? './' : $lastSegment); + } + + return $emptyPathUri; + } + + private static function getRelativePath(UriInterface $base, UriInterface $target): string + { + $sourceSegments = explode('/', $base->getPath()); + $targetSegments = explode('/', $target->getPath()); + array_pop($sourceSegments); + $targetLastSegment = array_pop($targetSegments); + foreach ($sourceSegments as $i => $segment) { + if (isset($targetSegments[$i]) && $segment === $targetSegments[$i]) { + unset($sourceSegments[$i], $targetSegments[$i]); + } else { + break; + } + } + $targetSegments[] = $targetLastSegment; + $relativePath = str_repeat('../', count($sourceSegments)) . implode('/', $targetSegments); + + // A reference to am empty last segment or an empty first sub-segment must be prefixed with "./". + // This also applies to a segment with a colon character (e.g., "file:colon") that cannot be used + // as the first segment of a relative-path reference, as it would be mistaken for a scheme name. + if ('' === $relativePath || false !== strpos(explode('/', $relativePath, 2)[0], ':')) { + $relativePath = "./$relativePath"; + } elseif ('/' === $relativePath[0]) { + if ($base->getAuthority() != '' && $base->getPath() === '') { + // In this case an extra slash is added by resolve() automatically. So we must not add one here. + $relativePath = ".$relativePath"; + } else { + $relativePath = "./$relativePath"; + } + } + + return $relativePath; + } + + private function __construct() + { + // cannot be instantiated + } +} diff --git a/vendor/guzzlehttp/psr7/src/Utils.php b/vendor/guzzlehttp/psr7/src/Utils.php new file mode 100644 index 0000000..e590ad6 --- /dev/null +++ b/vendor/guzzlehttp/psr7/src/Utils.php @@ -0,0 +1,412 @@ + $v) { + if (!is_string($k) || !in_array(strtolower($k), $keys)) { + $result[$k] = $v; + } + } + + return $result; + } + + /** + * Copy the contents of a stream into another stream until the given number + * of bytes have been read. + * + * @param StreamInterface $source Stream to read from + * @param StreamInterface $dest Stream to write to + * @param int $maxLen Maximum number of bytes to read. Pass -1 + * to read the entire stream. + * + * @throws \RuntimeException on error. + */ + public static function copyToStream(StreamInterface $source, StreamInterface $dest, int $maxLen = -1): void + { + $bufferSize = 8192; + + if ($maxLen === -1) { + while (!$source->eof()) { + if (!$dest->write($source->read($bufferSize))) { + break; + } + } + } else { + $remaining = $maxLen; + while ($remaining > 0 && !$source->eof()) { + $buf = $source->read(min($bufferSize, $remaining)); + $len = strlen($buf); + if (!$len) { + break; + } + $remaining -= $len; + $dest->write($buf); + } + } + } + + /** + * Copy the contents of a stream into a string until the given number of + * bytes have been read. + * + * @param StreamInterface $stream Stream to read + * @param int $maxLen Maximum number of bytes to read. Pass -1 + * to read the entire stream. + * + * @throws \RuntimeException on error. + */ + public static function copyToString(StreamInterface $stream, int $maxLen = -1): string + { + $buffer = ''; + + if ($maxLen === -1) { + while (!$stream->eof()) { + $buf = $stream->read(1048576); + if ($buf === '') { + break; + } + $buffer .= $buf; + } + return $buffer; + } + + $len = 0; + while (!$stream->eof() && $len < $maxLen) { + $buf = $stream->read($maxLen - $len); + if ($buf === '') { + break; + } + $buffer .= $buf; + $len = strlen($buffer); + } + + return $buffer; + } + + /** + * Calculate a hash of a stream. + * + * This method reads the entire stream to calculate a rolling hash, based + * on PHP's `hash_init` functions. + * + * @param StreamInterface $stream Stream to calculate the hash for + * @param string $algo Hash algorithm (e.g. md5, crc32, etc) + * @param bool $rawOutput Whether or not to use raw output + * + * @throws \RuntimeException on error. + */ + public static function hash(StreamInterface $stream, string $algo, bool $rawOutput = false): string + { + $pos = $stream->tell(); + + if ($pos > 0) { + $stream->rewind(); + } + + $ctx = hash_init($algo); + while (!$stream->eof()) { + hash_update($ctx, $stream->read(1048576)); + } + + $out = hash_final($ctx, $rawOutput); + $stream->seek($pos); + + return $out; + } + + /** + * Clone and modify a request with the given changes. + * + * This method is useful for reducing the number of clones needed to mutate + * a message. + * + * The changes can be one of: + * - method: (string) Changes the HTTP method. + * - set_headers: (array) Sets the given headers. + * - remove_headers: (array) Remove the given headers. + * - body: (mixed) Sets the given body. + * - uri: (UriInterface) Set the URI. + * - query: (string) Set the query string value of the URI. + * - version: (string) Set the protocol version. + * + * @param RequestInterface $request Request to clone and modify. + * @param array $changes Changes to apply. + */ + public static function modifyRequest(RequestInterface $request, array $changes): RequestInterface + { + if (!$changes) { + return $request; + } + + $headers = $request->getHeaders(); + + if (!isset($changes['uri'])) { + $uri = $request->getUri(); + } else { + // Remove the host header if one is on the URI + if ($host = $changes['uri']->getHost()) { + $changes['set_headers']['Host'] = $host; + + if ($port = $changes['uri']->getPort()) { + $standardPorts = ['http' => 80, 'https' => 443]; + $scheme = $changes['uri']->getScheme(); + if (isset($standardPorts[$scheme]) && $port != $standardPorts[$scheme]) { + $changes['set_headers']['Host'] .= ':' . $port; + } + } + } + $uri = $changes['uri']; + } + + if (!empty($changes['remove_headers'])) { + $headers = self::caselessRemove($changes['remove_headers'], $headers); + } + + if (!empty($changes['set_headers'])) { + $headers = self::caselessRemove(array_keys($changes['set_headers']), $headers); + $headers = $changes['set_headers'] + $headers; + } + + if (isset($changes['query'])) { + $uri = $uri->withQuery($changes['query']); + } + + if ($request instanceof ServerRequestInterface) { + $new = (new ServerRequest( + $changes['method'] ?? $request->getMethod(), + $uri, + $headers, + $changes['body'] ?? $request->getBody(), + $changes['version'] ?? $request->getProtocolVersion(), + $request->getServerParams() + )) + ->withParsedBody($request->getParsedBody()) + ->withQueryParams($request->getQueryParams()) + ->withCookieParams($request->getCookieParams()) + ->withUploadedFiles($request->getUploadedFiles()); + + foreach ($request->getAttributes() as $key => $value) { + $new = $new->withAttribute($key, $value); + } + + return $new; + } + + return new Request( + $changes['method'] ?? $request->getMethod(), + $uri, + $headers, + $changes['body'] ?? $request->getBody(), + $changes['version'] ?? $request->getProtocolVersion() + ); + } + + /** + * Read a line from the stream up to the maximum allowed buffer length. + * + * @param StreamInterface $stream Stream to read from + * @param int|null $maxLength Maximum buffer length + */ + public static function readLine(StreamInterface $stream, ?int $maxLength = null): string + { + $buffer = ''; + $size = 0; + + while (!$stream->eof()) { + if ('' === ($byte = $stream->read(1))) { + return $buffer; + } + $buffer .= $byte; + // Break when a new line is found or the max length - 1 is reached + if ($byte === "\n" || ++$size === $maxLength - 1) { + break; + } + } + + return $buffer; + } + + /** + * Create a new stream based on the input type. + * + * Options is an associative array that can contain the following keys: + * - metadata: Array of custom metadata. + * - size: Size of the stream. + * + * This method accepts the following `$resource` types: + * - `Psr\Http\Message\StreamInterface`: Returns the value as-is. + * - `string`: Creates a stream object that uses the given string as the contents. + * - `resource`: Creates a stream object that wraps the given PHP stream resource. + * - `Iterator`: If the provided value implements `Iterator`, then a read-only + * stream object will be created that wraps the given iterable. Each time the + * stream is read from, data from the iterator will fill a buffer and will be + * continuously called until the buffer is equal to the requested read size. + * Subsequent read calls will first read from the buffer and then call `next` + * on the underlying iterator until it is exhausted. + * - `object` with `__toString()`: If the object has the `__toString()` method, + * the object will be cast to a string and then a stream will be returned that + * uses the string value. + * - `NULL`: When `null` is passed, an empty stream object is returned. + * - `callable` When a callable is passed, a read-only stream object will be + * created that invokes the given callable. The callable is invoked with the + * number of suggested bytes to read. The callable can return any number of + * bytes, but MUST return `false` when there is no more data to return. The + * stream object that wraps the callable will invoke the callable until the + * number of requested bytes are available. Any additional bytes will be + * buffered and used in subsequent reads. + * + * @param resource|string|int|float|bool|StreamInterface|callable|\Iterator|null $resource Entity body data + * @param array{size?: int, metadata?: array} $options Additional options + * + * @throws \InvalidArgumentException if the $resource arg is not valid. + */ + public static function streamFor($resource = '', array $options = []): StreamInterface + { + if (is_scalar($resource)) { + $stream = self::tryFopen('php://temp', 'r+'); + if ($resource !== '') { + fwrite($stream, (string) $resource); + fseek($stream, 0); + } + return new Stream($stream, $options); + } + + switch (gettype($resource)) { + case 'resource': + /* + * The 'php://input' is a special stream with quirks and inconsistencies. + * We avoid using that stream by reading it into php://temp + */ + + /** @var resource $resource */ + if ((\stream_get_meta_data($resource)['uri'] ?? '') === 'php://input') { + $stream = self::tryFopen('php://temp', 'w+'); + stream_copy_to_stream($resource, $stream); + fseek($stream, 0); + $resource = $stream; + } + return new Stream($resource, $options); + case 'object': + /** @var object $resource */ + if ($resource instanceof StreamInterface) { + return $resource; + } elseif ($resource instanceof \Iterator) { + return new PumpStream(function () use ($resource) { + if (!$resource->valid()) { + return false; + } + $result = $resource->current(); + $resource->next(); + return $result; + }, $options); + } elseif (method_exists($resource, '__toString')) { + return self::streamFor((string) $resource, $options); + } + break; + case 'NULL': + return new Stream(self::tryFopen('php://temp', 'r+'), $options); + } + + if (is_callable($resource)) { + return new PumpStream($resource, $options); + } + + throw new \InvalidArgumentException('Invalid resource type: ' . gettype($resource)); + } + + /** + * Safely opens a PHP stream resource using a filename. + * + * When fopen fails, PHP normally raises a warning. This function adds an + * error handler that checks for errors and throws an exception instead. + * + * @param string $filename File to open + * @param string $mode Mode used to open the file + * + * @return resource + * + * @throws \RuntimeException if the file cannot be opened + */ + public static function tryFopen(string $filename, string $mode) + { + $ex = null; + set_error_handler(static function (int $errno, string $errstr) use ($filename, $mode, &$ex): bool { + $ex = new \RuntimeException(sprintf( + 'Unable to open "%s" using mode "%s": %s', + $filename, + $mode, + $errstr + )); + + return true; + }); + + try { + /** @var resource $handle */ + $handle = fopen($filename, $mode); + } catch (\Throwable $e) { + $ex = new \RuntimeException(sprintf( + 'Unable to open "%s" using mode "%s": %s', + $filename, + $mode, + $e->getMessage() + ), 0, $e); + } + + restore_error_handler(); + + if ($ex) { + /** @var $ex \RuntimeException */ + throw $ex; + } + + return $handle; + } + + /** + * Returns a UriInterface for the given value. + * + * This function accepts a string or UriInterface and returns a + * UriInterface for the given value. If the value is already a + * UriInterface, it is returned as-is. + * + * @param string|UriInterface $uri + * + * @throws \InvalidArgumentException + */ + public static function uriFor($uri): UriInterface + { + if ($uri instanceof UriInterface) { + return $uri; + } + + if (is_string($uri)) { + return new Uri($uri); + } + + throw new \InvalidArgumentException('URI must be a string or UriInterface'); + } +} diff --git a/vendor/microsoft/microsoft-graph/.editorconfig b/vendor/microsoft/microsoft-graph/.editorconfig new file mode 100644 index 0000000..6ccb988 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.editorconfig @@ -0,0 +1,27 @@ +# top-most EditorConfig file +root = true + +# All PHP files MUST use the Unix LF (linefeed) line ending. +# Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting. +# All PHP files MUST end with a single blank line. +# There MUST NOT be trailing whitespace at the end of non-blank lines. +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# PHP-Files, Composer.json, MD-Files +[{*.php,composer.json,*.md}] +indent_style = space +indent_size = 4 + +# HTML-Files LESS-Files SASS-Files CSS-Files JS-Files JSON-Files +[{*.html,*.less,*.sass,*.css,*.js,*.json}] +indent_style = tab +indent_size = 4 + +# Gitlab-CI, Travis-CI +[*.yml] +indent_style = space +indent_size = 2 diff --git a/vendor/microsoft/microsoft-graph/.github/CODEOWNERS b/vendor/microsoft/microsoft-graph/.github/CODEOWNERS new file mode 100644 index 0000000..db0fd32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/CODEOWNERS @@ -0,0 +1 @@ +* @ddyett @MichaelMainer @nikithauc @zengin @silaskenneth @Ndiritu @shemogumbe diff --git a/vendor/microsoft/microsoft-graph/.github/dependabot.yml b/vendor/microsoft/microsoft-graph/.github/dependabot.yml new file mode 100644 index 0000000..fdea7e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: +- package-ecosystem: composer + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 diff --git a/vendor/microsoft/microsoft-graph/.github/workflows/create-beta-pull-request.yml b/vendor/microsoft/microsoft-graph/.github/workflows/create-beta-pull-request.yml new file mode 100644 index 0000000..2ab224a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/workflows/create-beta-pull-request.yml @@ -0,0 +1,67 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +# This action will automatically create a pull request against dev if the pushed branch +# has a branch path spec likev 1.0/pipelinebuild/*. Configure this action by updating the +# environment variable values[0]. + +name: "create beta pull request" + +# Controls when the action will run. Triggers the workflow on push +# events but only for branches with the following branch spec: "beta/pipelinebuild/*" +on: + push: + branches: + - "beta/pipelinebuild/*" + paths: + - 'src/Beta/**/*.php' + - '!src/Core/GraphConstants.php' + +defaults: + run: + shell: bash + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + bump-minor-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Git config user + run: | + git config --global user.email "GraphTooling@service.microsoft.com" + git config --global user.name "Microsoft Graph DevX Tooling" + + - name: Run increment script + run: php scripts/IncrementMinorVersion.php + + - name: Commit and push changes if any + run: if git commit -am "Bump up minor version"; then git push origin $GITHUB_REF; fi + + create-pull-request: + needs: bump-minor-version + # The type of runner that the job will run on + runs-on: ubuntu-latest + # https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Create a pull request [1] + - name: Create PR using the GitHub REST API via hub + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MESSAGE_TITLE: Generated beta models using Typewriter + MESSAGE_BODY: "This pull request was automatically created by the GitHub Action, **${{github.workflow}}**. \n\n The commit hash is _${{github.sha}}_. \n\n **Important** Check for unexpected deletions or changes in this PR. See [beta_metadata.xml](https://github.com/microsoftgraph/msgraph-metadata/blob/master/beta_metadata.xml) for metadata changes. \n\n Make sure the version number is incremented in /src/Core/GraphConstants.php. Compare the version against the latest release on [packagist.org](https://packagist.org/packages/microsoft/microsoft-graph) and update the version in src/Core/GraphConstants." + LABELS: generated + BASE: dev + run: | + curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 + bin/hub pull-request -b "$BASE" -h "$GITHUB_REF" -m "$MESSAGE_TITLE" -m "$MESSAGE_BODY" -r "$REVIEWERS" -l "$LABELS" +# References +# [0] https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables +# [1] https://hub.github.com/hub-pull-request.1.html +# https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token diff --git a/vendor/microsoft/microsoft-graph/.github/workflows/create-v1.0-pull-request.yml b/vendor/microsoft/microsoft-graph/.github/workflows/create-v1.0-pull-request.yml new file mode 100644 index 0000000..707f70b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/workflows/create-v1.0-pull-request.yml @@ -0,0 +1,70 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +# This action will automatically create a pull request against dev if the pushed branch +# has a branch path spec likev 1.0/pipelinebuild/*. Configure this action by updating the +# environment variable values[0]. + +name: "create pull request" + +# Controls when the action will run. Triggers the workflow on push +# events but only for branches with the following branch spec: "v1.0/pipelinebuild/*" +on: + push: + branches: + - "v1.0/pipelinebuild/*" + paths: + - 'src/Model/**/*.php' + - 'src/**/Model/**/*.php' + - '!src/Core/GraphConstants.php' + - '!src/Beta/**/*.php' + +defaults: + run: + shell: bash + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + bump-minor-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Git config user + run: | + git config --global user.email "GraphTooling@service.microsoft.com" + git config --global user.name "Microsoft Graph DevX Tooling" + + - name: Run increment script + run: php scripts/IncrementMinorVersion.php + + - name: Commit and push changes if any + run: if git commit -am "Bump up minor version"; then git push origin $GITHUB_REF; fi + + create-pull-request: + needs: bump-minor-version + + # The type of runner that the job will run on + runs-on: ubuntu-latest + # https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Create a pull request [1] + - name: Create PR using the GitHub REST API via hub + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MESSAGE_TITLE: Generated models using Typewriter + MESSAGE_BODY: "This pull request was automatically created by the GitHub Action, **${{github.workflow}}**. \n\n The commit hash is _${{github.sha}}_. \n\n **Important** Check for unexpected deletions or changes in this PR. See [v1.0_metadata.xml](https://github.com/microsoftgraph/msgraph-metadata/blob/master/v1.0_metadata.xml) for metadata changes. \n\n Make sure the version number is incremented in /src/Core/GraphConstants.php. Compare the version against the latest release on [packagist.org](https://packagist.org/packages/microsoft/microsoft-graph) and update the version in src/Core/GraphConstants." + LABELS: generated + BASE: dev + run: | + curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 + bin/hub pull-request -b "$BASE" -h "$GITHUB_REF" -m "$MESSAGE_TITLE" -m "$MESSAGE_BODY" -r "$REVIEWERS" -l "$LABELS" +# References +# [0] https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables +# [1] https://hub.github.com/hub-pull-request.1.html +# https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token diff --git a/vendor/microsoft/microsoft-graph/.github/workflows/pr-validation.yml b/vendor/microsoft/microsoft-graph/.github/workflows/pr-validation.yml new file mode 100644 index 0000000..d77bba4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/workflows/pr-validation.yml @@ -0,0 +1,34 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +name: "Validate Pull Request" + +on: + push: + branches: [ main, dev ] + pull_request: + branches: [ main, dev ] + # Add assigned to defaults as a hack to easily trigger code-gen PRs to run validation + types: [assigned, opened, synchronize, reopened] + +defaults: + run: + shell: bash + +jobs: + validate-pull-request: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Validate composer file + run: | + composer validate + - name: Install dependencies + run: | + composer install + - name: run tests + run : | + vendor/bin/phpunit --exclude-group functional +# - name: Run static analysis +# run: | +# vendor/bin/phpstan analyse --memory-limit=1500M --error-format=github diff --git a/vendor/microsoft/microsoft-graph/.github/workflows/tag-release.yml b/vendor/microsoft/microsoft-graph/.github/workflows/tag-release.yml new file mode 100644 index 0000000..1861a3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/workflows/tag-release.yml @@ -0,0 +1,31 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +# Adds a tag to main after a PR is merged succesfully. + +name: "tag release" + +on: + push: + branches: + - main + +defaults: + run: + shell: bash + +jobs: + create-tag: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Get SDK version and set environment variable + run: | + SDK_VERSION=$(grep 'SDK_VERSION' src/Core/GraphConstants.php | grep -oE '[0-9]+\.[0-9]+\.([0-9]+|[0-9]+-[a-z]+)') + echo "SDK_VERSION=$SDK_VERSION" >> $GITHUB_ENV + + - name: Create and publish tag + run: | + echo "SDK_VERSION is:"$SDK_VERSION + git tag $SDK_VERSION && git push origin $SDK_VERSION \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/.github/workflows/update-docs.yml b/vendor/microsoft/microsoft-graph/.github/workflows/update-docs.yml new file mode 100644 index 0000000..d840935 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.github/workflows/update-docs.yml @@ -0,0 +1,57 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +name: "Update Docs" + +on: + push: + branches: dev + +defaults: + run: + shell: bash + +jobs: + run-php-documentor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + + - uses: docker://phpdoc/phpdoc:3.0 + with: + config: ./phpdoc.dist.xml + + - name: Create unique docs branch name + run: echo "BRANCH=fix/update-docs/$(date +%s)" >> $GITHUB_ENV + + - name: Create and checkout docs branch + run: git checkout -b ${{ env.BRANCH }} + + - name: Run PHPDocumentor container + run: docker run --name phpDoc --rm -v $(pwd):/data phpdoc/phpdoc:3.0 run + + - name: Config Git user + run: | + git config --global user.email "GraphTooling@service.microsoft.com" + git config --global user.name "Microsoft Graph DevX Tooling" + + - name: Commit changes to docs/ folder (if any) + run: | + if git add . && git commit -m "Update docs/ folder"; then + git push origin ${{ env.BRANCH }} && echo "CREATE_PR=true" >> $GITHUB_ENV + else + echo "CREATE_PR=false" >> $GITHUB_ENV + fi + + - name: Create PR + if: ${{ env.CREATE_PR == 'true' }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MESSAGE_TITLE: Generated docs using PHPDocumentor + MESSAGE_BODY: "This pull request was automatically created by GitHub Action `${{ github.workflow }}`. \n\n The action runs PHPDocumentor against the latest changes merged to `${{ github.ref }}`." + LABELS: generated + run: | + curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 + bin/hub pull-request -b dev -m "$MESSAGE_TITLE" -m "$MESSAGE_BODY" -l "$LABELS" diff --git a/vendor/microsoft/microsoft-graph/.vscode/launch.json b/vendor/microsoft/microsoft-graph/.vscode/launch.json new file mode 100644 index 0000000..612eaac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Listen for XDebug", + "type": "php", + "request": "launch", + "port": 9000 + }, + { + "name": "Launch currently open script", + "type": "php", + "request": "launch", + "program": "${file}", + "cwd": "${fileDirname}", + "port": 9000 + } + ] +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/CONTRIBUTING.md b/vendor/microsoft/microsoft-graph/CONTRIBUTING.md new file mode 100644 index 0000000..fe9be02 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/CONTRIBUTING.md @@ -0,0 +1,37 @@ +# Contributing to the Microsoft Graph PHP SDK +Thanks for considering making a contribution! Read over our guidelines and we will do our best to see your PRs merged successfully. + +**NOTE**: A signed a contribution license agreement is required for all contributions and is checked automatically on new pull requests. You will be asked to read and sign the agreement https://cla.microsoft.com/ after submitting a request to this repository. + +There are a few different recommended paths to get contributions into the released version of this library. + +## File issues +The best way to get started with a contribution is to start a dialog with us. Sometimes features will be under development or out of scope for this library and it's best to check before starting work on contribution, especially for large work items. + +## Pull requests +If you are making documentation changes, feel free to submit a pull request against the **master** branch. All other pull requests should be submitted against the **dev** branch or a specific feature branch. The master branch is intended to represent the code released in the most-recent composer package. + +When a new package is about to be released, changes in dev will be merged into master. The package will be generated from master. + +Some things to note about this project: + +### How the library is built +The PHP SDK has a handwritten set of core files and a folder of autogenerated models. These models are generated using the [MSGraph SDK Code Generator](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator). **Changes made to the ```Models``` folder will be overwritten** the next time the generator is run. + +If you would like to make changes to the models, you can either file an issue or make a PR in the [MSGraph SDK Code Generator](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator) to the [templates](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/tree/master/Templates/PHP/Model). Although there is a lot of logic in the generator, the code used for PHP is fairly minimal. + +### How the generator works +You can view the [README](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/blob/master/README.md) for a full run-through of its capabilities. + +For the purposes of the PHP library, the generator runs through an OData-compliant metadata file published by Microsoft Graph (https://graph.microsoft.com/v1.0/$metadata) and builds up a list of models. These models are converted into PHP code using T4 templates, which use C# to programmatically define what PHP code is written to the file. + +### When new features are added to the library +Generation happens as part of a manual process that occurs once a significant change or set of changes has been added to the Graph. This may include: + - A new workload comes to v1.0 of Graph (Microsoft Teams, Batching, etc.) + - There is significant addition of functionality (Delta Queries, etc.) + +However, this is evaluated on a case-by-case basis. If the library is missing v1.0 Graph functionality that you wish to utilize, please [file an issue](https://github.com/microsoftgraph/msgraph-sdk-php/issues). + +We do our best to prevent breaking changes from being introduced into the library during this process. If you find a breaking change, please file an issue and we will work to get this resolved ASAP. + + diff --git a/vendor/microsoft/microsoft-graph/LICENSE b/vendor/microsoft/microsoft-graph/LICENSE new file mode 100644 index 0000000..63b7e23 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/LICENSE @@ -0,0 +1,13 @@ +microsoftgraph-msgraph-sdk-php + +Copyright (c) Microsoft Corporation + +All rights reserved.  + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/README.md b/vendor/microsoft/microsoft-graph/README.md new file mode 100644 index 0000000..1acebb8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/README.md @@ -0,0 +1,163 @@ +# Get started with the Microsoft Graph SDK for PHP + +[![Build Status](https://travis-ci.org/microsoftgraph/msgraph-sdk-php.svg?branch=master)](https://travis-ci.org/microsoftgraph/msgraph-sdk-php) +[![Latest Stable Version](https://poser.pugx.org/microsoft/microsoft-graph/version)](https://packagist.org/packages/microsoft/microsoft-graph) + +## Get started with the PHP Connect Sample +If you want to play around with the PHP library, you can get up and running quickly with the [PHP Connect Sample](https://github.com/microsoftgraph/php-connect-sample). This sample will start you with a little Laravel project that helps you with registration, authentication, and making a simple call to the service. + +## Install the SDK +You can install the PHP SDK with Composer, either run `composer require microsoft/microsoft-graph`, or edit your `composer.json` file: +``` +{ + "require": { + "microsoft/microsoft-graph": "^1.66.0" + } +} +``` +## Get started with Microsoft Graph + +### Register your application + +Register your application to use the Microsoft Graph API using [Microsoft Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade) in your tenant's Active Directory to support work or school users for your tenant, or multiple tenants. + +### Authenticate with the Microsoft Graph service + +The Microsoft Graph SDK for PHP does not include any default authentication implementations. The [`thephpleague/oauth2-client`](https://github.com/thephpleague/oauth2-client) library will handle the OAuth2 flow for you and provide a usable token for querying the Graph. + +To authenticate as an application you can use the [Guzzle HTTP client](http://docs.guzzlephp.org/en/stable/), which comes preinstalled with this library, for example like this: +```php +$guzzle = new \GuzzleHttp\Client(); +$url = 'https://login.microsoftonline.com/' . $tenantId . '/oauth2/v2.0/token'; +$token = json_decode($guzzle->post($url, [ + 'form_params' => [ + 'client_id' => $clientId, + 'client_secret' => $clientSecret, + 'scope' => 'https://graph.microsoft.com/.default', + 'grant_type' => 'client_credentials', + ], +])->getBody()->getContents()); +$accessToken = $token->access_token; +``` +For an integrated example on how to use Oauth2 in a Laravel application and use the Graph, see the [PHP Connect Sample](https://github.com/microsoftgraph/php-connect-sample). + +### Call Microsoft Graph using the v1.0 endpoint and models + +The following is an example that shows how to call Microsoft Graph. + +```php +use Microsoft\Graph\Graph; +use Microsoft\Graph\Model; + +class UsageExample +{ + public function run() + { + $accessToken = 'xxx'; + + $graph = new Graph(); + $graph->setAccessToken($accessToken); + + $user = $graph->createRequest("GET", "/me") + ->setReturnType(Model\User::class) + ->execute(); + + echo "Hello, I am {$user->getGivenName()}."; + } +} +``` + +### Call Microsoft Graph using the beta endpoint and models + +The following is an example that shows how to call Microsoft Graph. + +```php +use Microsoft\Graph\Graph; +use Beta\Microsoft\Graph\Model as BetaModel; + +class UsageExample +{ + public function run() + { + $accessToken = 'xxx'; + + $graph = new Graph(); + $graph->setAccessToken($accessToken); + + $user = $graph->setApiVersion("beta") + ->createRequest("GET", "/me") + ->setReturnType(BetaModel\User::class) + ->execute(); + + echo "Hello, I am $user->getGivenName() "; + } +} +``` + +## Develop + +### Debug +You can use the library with a proxy such as [Fiddler](http://www.telerik.com/fiddler) or [Charles Proxy](https://www.charlesproxy.com/) to debug requests and responses as they come across the wire. Set the proxy port on the Graph object like this: +```php +$graph->setProxyPort("localhost:8888"); +``` +Then, open your proxy client to view the requests & responses sent using the library. + +![Screenshot of Fiddler /me/sendmail request and response](https://github.com/microsoftgraph/msgraph-sdk-php/blob/master/docs/images/Fiddler.PNG) + +This is especially helpful when the library does not return the results you expected to determine whether there are bugs in the API or this SDK. Therefore, you may be asked to provide this information when attempting to triage an issue you file. + +### Run Tests + +Run + ```shell +vendor/bin/phpunit --exclude-group functional +``` +from the base directory. + +*The set of functional tests are meant to be run against a test account. Currently, the +tests to do not restore state of the account.* + +#### Debug tests on Windows + +This SDK has an XDebug run configuration that attaches the debugger to VS Code so that you can debug tests. + +1. Install the [PHP Debug](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug) extension into Visual Studio Code. +2. From the root of this repo, using PowerShell, run `php .\tests\GetPhpInfo.php | clip` from the repo root. This will copy PHP configuration information into the clipboard which we will use in the next step. +3. Paste your clipboard into the [XDebug Installation Wizard](https://xdebug.org/wizard) and select **Analyse my phpinfo() output**. +4. Follow the generated instructions for installing XDebug. Note that the `/ext` directory is located in your PHP directory. +5. Add the following info to your php.ini file: + +``` +[XDebug] +xdebug.remote_enable = 1 +xdebug.remote_autostart = 1 +``` + +Now you can hit a Visual Studio Code breakpoint in a test. Try this: + +1. Add a breakpoint to `testGetCalendarView` in *.\tests\Functional\EventTest.php*. +2. Run the **Listen for XDebug** configuration in VS Code. +3. Run `.\vendor\bin\phpunit --filter testGetCalendarView` from the PowerShell terminal to run the test and hit the breakpoint. + +## Documentation and resources + +* [Documentation](docs/index.html) + +* [Examples](docs/Examples.md) + +* [Microsoft Graph website](https://developer.microsoft.com/en-us/graph/) + +## Issues + +View or log issues on the [Issues](https://github.com/microsoftgraph/msgraph-sdk-php/issues) tab in the repo. + +## Contribute + +Please read our [Contributing](CONTRIBUTING.md) guidelines carefully for advice on how to contribute to this repo. + +## Copyright and license + +Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT [license](LICENSE). + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/vendor/microsoft/microsoft-graph/THIRD PARTY NOTICES b/vendor/microsoft/microsoft-graph/THIRD PARTY NOTICES new file mode 100644 index 0000000..e9a6e84 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/THIRD PARTY NOTICES @@ -0,0 +1,19 @@ +This file is based on or incorporates material from the projects listed below (Third Party OSS). The original copyright notice and the license under which Microsoft received such Third Party OSS, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party OSS to you under the licensing terms for the Microsoft product or service. Microsoft +reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise. + +guzzlehttp guzzle - 6.3.0 +Copyright (c) 2011-2016 Michael Dowling, https://github.com/mtdowling + +phpdocumentor - 2.9.0 +Copyright (c) 2010 Mike van Riel + +Provided for Informational Purposes Only + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/microsoft/microsoft-graph/composer.json b/vendor/microsoft/microsoft-graph/composer.json new file mode 100644 index 0000000..d7167b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/composer.json @@ -0,0 +1,37 @@ +{ + "name": "microsoft/microsoft-graph", + "type": "library", + "description": "The Microsoft Graph SDK for PHP", + "homepage": "https://developer.microsoft.com/en-us/graph", + "license": "MIT", + "authors": [ + { + "name": "Microsoft Graph Client Tooling", + "email": "graphtooling@service.microsoft.com", + "role": "Developer" + } + ], + "require": { + "php": "^8.0 || ^7.3", + "guzzlehttp/guzzle": "^6.0 || ^7.0", + "ext-json": "*", + "psr/http-message": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.0 || ^9.0", + "mikey179/vfsstream": "^1.2", + "phpstan/phpstan": "^0.12.90 || ^1.0.0" + }, + "autoload": { + "psr-4": { + "Beta\\Microsoft\\Graph\\": "src/Beta/Microsoft/Graph/", + "Microsoft\\Graph\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Microsoft\\Graph\\Test\\": "tests/Functional/", + "Microsoft\\Graph\\Http\\Test\\": "tests/Http/" + } + } +} diff --git a/vendor/microsoft/microsoft-graph/msgraph-sdk-php.yml b/vendor/microsoft/microsoft-graph/msgraph-sdk-php.yml new file mode 100644 index 0000000..437518d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/msgraph-sdk-php.yml @@ -0,0 +1,13 @@ +page_type: sample +products: + - office-365 + - ms-graph +languages: + - php +extensions: + contentType: sdks + technologies: + - Microsoft Graph + createdDate: '8/26/2016 9:25:53 AM' +title: Microsoft Graph SDK for PHP +description: Microsoft Graph Library for PHP. diff --git a/vendor/microsoft/microsoft-graph/phpdoc.dist.xml b/vendor/microsoft/microsoft-graph/phpdoc.dist.xml new file mode 100644 index 0000000..70dd3a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/phpdoc.dist.xml @@ -0,0 +1,21 @@ + + + + docs + + + + + src/Core + src/Exception + src/Http + src/Graph.php + + + + diff --git a/vendor/microsoft/microsoft-graph/phpstan.neon b/vendor/microsoft/microsoft-graph/phpstan.neon new file mode 100644 index 0000000..77159dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/phpstan.neon @@ -0,0 +1,7 @@ +parameters: + level: 1 + polluteScopeWithAlwaysIterableForeach: false + polluteScopeWithLoopInitialAssignments: false + paths: + - src + - tests \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/phpunit.xml b/vendor/microsoft/microsoft-graph/phpunit.xml new file mode 100644 index 0000000..6ade4e0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/phpunit.xml @@ -0,0 +1,14 @@ + + + + + tests + + + + + src + src/Model + + + \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/scripts/IncrementMinorVersion.php b/vendor/microsoft/microsoft-graph/scripts/IncrementMinorVersion.php new file mode 100644 index 0000000..8c423b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/scripts/IncrementMinorVersion.php @@ -0,0 +1,107 @@ + $versionMetadata) { + # Ignore branch versions + if (!preg_match('/^dev-.*|.*-dev$/', $version)) { + $split = explode('.', $version); + if (!empty($split) && $split[0] === $majorVersion) { + # Non-branch versions are returned in descending order. + echo "Latest packagist version: {$version}\n"; + return $version; + } + } + } + return ''; +} + +function getCurrentSdkVersion() +{ + $fileContents = file_get_contents(GRAPH_CONSTANTS_FILEPATH); + if ($fileContents) { + $pattern = '/'. SDK_VERSION_VAR_NAME . '\s+=\s+".+"/'; + $regexMatches = []; + preg_match($pattern, $fileContents, $regexMatches); + if ($regexMatches && $regexMatches[0]) { + $split = explode('"', $regexMatches[0]); + return $split[1]; + } + } +} + +function incrementMinorVersion(string $version): string +{ + $splitVersion = explode(".", $version); + # Increment minor version + $splitVersion[1] = strval(intval($splitVersion[1]) + 1); + # Set patch to 0 + $splitVersion[2] = preg_replace('/[0-9]+/', "0", $splitVersion[2]); + return implode(".", $splitVersion); +} + +function updateFiles(string $filePath, string $currentVersion, string $bumpedVersion) +{ + $fileContents = file_get_contents($filePath); + if ($fileContents) { + $pattern = '/'.$currentVersion.'/'; + if (!file_put_contents($filePath, preg_replace($pattern, $bumpedVersion, $fileContents))) { + throw new Exception("Unable to find and replace SDK version"); + } + echo "Successfully updated {$filePath}\n"; + return; + } + throw new Exception("Could not read contents at " . $filePath); +} + +$currentSdkVersion = getCurrentSdkVersion(); +$currentMajorVersion = explode('.', $currentSdkVersion)[0]; +$bumpedSdkVersion = incrementMinorVersion(getLatestMinorPackagistVersion($currentMajorVersion)); +echo "Version after minor increment: {$bumpedSdkVersion}\n"; +foreach ($filePathsToUpdate as $path) { + updateFiles($path, $currentSdkVersion, $bumpedSdkVersion); +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallRecord.php new file mode 100644 index 0000000..6ea1977 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallRecord.php @@ -0,0 +1,340 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the last user left the call. The DateTimeOffset 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 endDateTime + * + * @return CallRecord + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the joinWebUrl + * Meeting URL associated to the call. May not be available for a peerToPeer call record type. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * Meeting URL associated to the call. May not be available for a peerToPeer call record type. + * + * @param string $val The joinWebUrl + * + * @return CallRecord + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * UTC time when the call record was created. The DatetimeOffset 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * UTC time when the call record was created. The DatetimeOffset 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 lastModifiedDateTime + * + * @return CallRecord + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the modalities + * List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @return array|null The modalities + */ + public function getModalities() + { + if (array_key_exists("modalities", $this->_propDict)) { + return $this->_propDict["modalities"]; + } else { + return null; + } + } + + /** + * Sets the modalities + * List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @param Modality[] $val The modalities + * + * @return CallRecord + */ + public function setModalities($val) + { + $this->_propDict["modalities"] = $val; + return $this; + } + + /** + * Gets the organizer + * The organizing party's identity. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * The organizing party's identity. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The organizer + * + * @return CallRecord + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } + + + /** + * Gets the participants + * List of distinct identities involved in the call. + * + * @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 + * List of distinct identities involved in the call. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet[] $val The participants + * + * @return CallRecord + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC time when the first user joined the call. The DatetimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC time when the first user joined the call. The DatetimeOffset 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 startDateTime + * + * @return CallRecord + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue. + * + * @return CallType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\CallRecords\Model\CallType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CallType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue. + * + * @param CallType $val The type + * + * @return CallRecord + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the version + * Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. + * + * @param int $val The version + * + * @return CallRecord + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the sessions + * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. + * + * @return array|null The sessions + */ + public function getSessions() + { + if (array_key_exists("sessions", $this->_propDict)) { + return $this->_propDict["sessions"]; + } else { + return null; + } + } + + /** + * Sets the sessions + * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. + * + * @param Session[] $val The sessions + * + * @return CallRecord + */ + public function setSessions($val) + { + $this->_propDict["sessions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallType.php new file mode 100644 index 0000000..63cb4ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\CallRecords\Model\ClientPlatform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new ClientPlatform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue. + * + * @param ClientPlatform $val The value to assign to the platform + * + * @return ClientUserAgent The ClientUserAgent + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the productFamily + * Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue, azureCommunicationServices. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: azureCommunicationServices. + * + * @return ProductFamily|null The productFamily + */ + public function getProductFamily() + { + if (array_key_exists("productFamily", $this->_propDict)) { + if (is_a($this->_propDict["productFamily"], "\Beta\Microsoft\Graph\CallRecords\Model\ProductFamily") || is_null($this->_propDict["productFamily"])) { + return $this->_propDict["productFamily"]; + } else { + $this->_propDict["productFamily"] = new ProductFamily($this->_propDict["productFamily"]); + return $this->_propDict["productFamily"]; + } + } + return null; + } + + /** + * Sets the productFamily + * Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue, azureCommunicationServices. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: azureCommunicationServices. + * + * @param ProductFamily $val The value to assign to the productFamily + * + * @return ClientUserAgent The ClientUserAgent + */ + public function setProductFamily($val) + { + $this->_propDict["productFamily"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DeviceInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DeviceInfo.php new file mode 100644 index 0000000..c1f15fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DeviceInfo.php @@ -0,0 +1,614 @@ +_propDict)) { + return $this->_propDict["captureDeviceDriver"]; + } else { + return null; + } + } + + /** + * Sets the captureDeviceDriver + * Name of the capture device driver used by the media endpoint. + * + * @param string $val The value of the captureDeviceDriver + * + * @return DeviceInfo + */ + public function setCaptureDeviceDriver($val) + { + $this->_propDict["captureDeviceDriver"] = $val; + return $this; + } + /** + * Gets the captureDeviceName + * Name of the capture device used by the media endpoint. + * + * @return string|null The captureDeviceName + */ + public function getCaptureDeviceName() + { + if (array_key_exists("captureDeviceName", $this->_propDict)) { + return $this->_propDict["captureDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the captureDeviceName + * Name of the capture device used by the media endpoint. + * + * @param string $val The value of the captureDeviceName + * + * @return DeviceInfo + */ + public function setCaptureDeviceName($val) + { + $this->_propDict["captureDeviceName"] = $val; + return $this; + } + /** + * Gets the captureNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the capture device was not working properly. + * + * @return float|null The captureNotFunctioningEventRatio + */ + public function getCaptureNotFunctioningEventRatio() + { + if (array_key_exists("captureNotFunctioningEventRatio", $this->_propDict)) { + return $this->_propDict["captureNotFunctioningEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the captureNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the capture device was not working properly. + * + * @param float $val The value of the captureNotFunctioningEventRatio + * + * @return DeviceInfo + */ + public function setCaptureNotFunctioningEventRatio($val) + { + $this->_propDict["captureNotFunctioningEventRatio"] = $val; + return $this; + } + /** + * Gets the cpuInsufficentEventRatio + * Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. + * + * @return float|null The cpuInsufficentEventRatio + */ + public function getCpuInsufficentEventRatio() + { + if (array_key_exists("cpuInsufficentEventRatio", $this->_propDict)) { + return $this->_propDict["cpuInsufficentEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the cpuInsufficentEventRatio + * Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. + * + * @param float $val The value of the cpuInsufficentEventRatio + * + * @return DeviceInfo + */ + public function setCpuInsufficentEventRatio($val) + { + $this->_propDict["cpuInsufficentEventRatio"] = $val; + return $this; + } + /** + * Gets the deviceClippingEventRatio + * Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. + * + * @return float|null The deviceClippingEventRatio + */ + public function getDeviceClippingEventRatio() + { + if (array_key_exists("deviceClippingEventRatio", $this->_propDict)) { + return $this->_propDict["deviceClippingEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the deviceClippingEventRatio + * Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. + * + * @param float $val The value of the deviceClippingEventRatio + * + * @return DeviceInfo + */ + public function setDeviceClippingEventRatio($val) + { + $this->_propDict["deviceClippingEventRatio"] = $val; + return $this; + } + /** + * Gets the deviceGlitchEventRatio + * Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. + * + * @return float|null The deviceGlitchEventRatio + */ + public function getDeviceGlitchEventRatio() + { + if (array_key_exists("deviceGlitchEventRatio", $this->_propDict)) { + return $this->_propDict["deviceGlitchEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the deviceGlitchEventRatio + * Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. + * + * @param float $val The value of the deviceGlitchEventRatio + * + * @return DeviceInfo + */ + public function setDeviceGlitchEventRatio($val) + { + $this->_propDict["deviceGlitchEventRatio"] = $val; + return $this; + } + /** + * Gets the howlingEventCount + * Number of times during the call that the media endpoint detected howling or screeching audio. + * + * @return int|null The howlingEventCount + */ + public function getHowlingEventCount() + { + if (array_key_exists("howlingEventCount", $this->_propDict)) { + return $this->_propDict["howlingEventCount"]; + } else { + return null; + } + } + + /** + * Sets the howlingEventCount + * Number of times during the call that the media endpoint detected howling or screeching audio. + * + * @param int $val The value of the howlingEventCount + * + * @return DeviceInfo + */ + public function setHowlingEventCount($val) + { + $this->_propDict["howlingEventCount"] = $val; + return $this; + } + /** + * Gets the initialSignalLevelRootMeanSquare + * The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. + * + * @return float|null The initialSignalLevelRootMeanSquare + */ + public function getInitialSignalLevelRootMeanSquare() + { + if (array_key_exists("initialSignalLevelRootMeanSquare", $this->_propDict)) { + return $this->_propDict["initialSignalLevelRootMeanSquare"]; + } else { + return null; + } + } + + /** + * Sets the initialSignalLevelRootMeanSquare + * The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. + * + * @param float $val The value of the initialSignalLevelRootMeanSquare + * + * @return DeviceInfo + */ + public function setInitialSignalLevelRootMeanSquare($val) + { + $this->_propDict["initialSignalLevelRootMeanSquare"] = $val; + return $this; + } + /** + * Gets the lowSpeechLevelEventRatio + * Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. + * + * @return float|null The lowSpeechLevelEventRatio + */ + public function getLowSpeechLevelEventRatio() + { + if (array_key_exists("lowSpeechLevelEventRatio", $this->_propDict)) { + return $this->_propDict["lowSpeechLevelEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowSpeechLevelEventRatio + * Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. + * + * @param float $val The value of the lowSpeechLevelEventRatio + * + * @return DeviceInfo + */ + public function setLowSpeechLevelEventRatio($val) + { + $this->_propDict["lowSpeechLevelEventRatio"] = $val; + return $this; + } + /** + * Gets the lowSpeechToNoiseEventRatio + * Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. + * + * @return float|null The lowSpeechToNoiseEventRatio + */ + public function getLowSpeechToNoiseEventRatio() + { + if (array_key_exists("lowSpeechToNoiseEventRatio", $this->_propDict)) { + return $this->_propDict["lowSpeechToNoiseEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowSpeechToNoiseEventRatio + * Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. + * + * @param float $val The value of the lowSpeechToNoiseEventRatio + * + * @return DeviceInfo + */ + public function setLowSpeechToNoiseEventRatio($val) + { + $this->_propDict["lowSpeechToNoiseEventRatio"] = $val; + return $this; + } + /** + * Gets the micGlitchRate + * Glitches per 5 minute interval for the media endpoint's microphone. + * + * @return float|null The micGlitchRate + */ + public function getMicGlitchRate() + { + if (array_key_exists("micGlitchRate", $this->_propDict)) { + return $this->_propDict["micGlitchRate"]; + } else { + return null; + } + } + + /** + * Sets the micGlitchRate + * Glitches per 5 minute interval for the media endpoint's microphone. + * + * @param float $val The value of the micGlitchRate + * + * @return DeviceInfo + */ + public function setMicGlitchRate($val) + { + $this->_propDict["micGlitchRate"] = $val; + return $this; + } + /** + * Gets the receivedNoiseLevel + * Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @return int|null The receivedNoiseLevel + */ + public function getReceivedNoiseLevel() + { + if (array_key_exists("receivedNoiseLevel", $this->_propDict)) { + return $this->_propDict["receivedNoiseLevel"]; + } else { + return null; + } + } + + /** + * Sets the receivedNoiseLevel + * Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @param int $val The value of the receivedNoiseLevel + * + * @return DeviceInfo + */ + public function setReceivedNoiseLevel($val) + { + $this->_propDict["receivedNoiseLevel"] = $val; + return $this; + } + /** + * Gets the receivedSignalLevel + * Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @return int|null The receivedSignalLevel + */ + public function getReceivedSignalLevel() + { + if (array_key_exists("receivedSignalLevel", $this->_propDict)) { + return $this->_propDict["receivedSignalLevel"]; + } else { + return null; + } + } + + /** + * Sets the receivedSignalLevel + * Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @param int $val The value of the receivedSignalLevel + * + * @return DeviceInfo + */ + public function setReceivedSignalLevel($val) + { + $this->_propDict["receivedSignalLevel"] = $val; + return $this; + } + /** + * Gets the renderDeviceDriver + * Name of the render device driver used by the media endpoint. + * + * @return string|null The renderDeviceDriver + */ + public function getRenderDeviceDriver() + { + if (array_key_exists("renderDeviceDriver", $this->_propDict)) { + return $this->_propDict["renderDeviceDriver"]; + } else { + return null; + } + } + + /** + * Sets the renderDeviceDriver + * Name of the render device driver used by the media endpoint. + * + * @param string $val The value of the renderDeviceDriver + * + * @return DeviceInfo + */ + public function setRenderDeviceDriver($val) + { + $this->_propDict["renderDeviceDriver"] = $val; + return $this; + } + /** + * Gets the renderDeviceName + * Name of the render device used by the media endpoint. + * + * @return string|null The renderDeviceName + */ + public function getRenderDeviceName() + { + if (array_key_exists("renderDeviceName", $this->_propDict)) { + return $this->_propDict["renderDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the renderDeviceName + * Name of the render device used by the media endpoint. + * + * @param string $val The value of the renderDeviceName + * + * @return DeviceInfo + */ + public function setRenderDeviceName($val) + { + $this->_propDict["renderDeviceName"] = $val; + return $this; + } + /** + * Gets the renderMuteEventRatio + * Fraction of the call that media endpoint detected device render is muted. + * + * @return float|null The renderMuteEventRatio + */ + public function getRenderMuteEventRatio() + { + if (array_key_exists("renderMuteEventRatio", $this->_propDict)) { + return $this->_propDict["renderMuteEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the renderMuteEventRatio + * Fraction of the call that media endpoint detected device render is muted. + * + * @param float $val The value of the renderMuteEventRatio + * + * @return DeviceInfo + */ + public function setRenderMuteEventRatio($val) + { + $this->_propDict["renderMuteEventRatio"] = $val; + return $this; + } + /** + * Gets the renderNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the render device was not working properly. + * + * @return float|null The renderNotFunctioningEventRatio + */ + public function getRenderNotFunctioningEventRatio() + { + if (array_key_exists("renderNotFunctioningEventRatio", $this->_propDict)) { + return $this->_propDict["renderNotFunctioningEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the renderNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the render device was not working properly. + * + * @param float $val The value of the renderNotFunctioningEventRatio + * + * @return DeviceInfo + */ + public function setRenderNotFunctioningEventRatio($val) + { + $this->_propDict["renderNotFunctioningEventRatio"] = $val; + return $this; + } + /** + * Gets the renderZeroVolumeEventRatio + * Fraction of the call that media endpoint detected device render volume is set to 0. + * + * @return float|null The renderZeroVolumeEventRatio + */ + public function getRenderZeroVolumeEventRatio() + { + if (array_key_exists("renderZeroVolumeEventRatio", $this->_propDict)) { + return $this->_propDict["renderZeroVolumeEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the renderZeroVolumeEventRatio + * Fraction of the call that media endpoint detected device render volume is set to 0. + * + * @param float $val The value of the renderZeroVolumeEventRatio + * + * @return DeviceInfo + */ + public function setRenderZeroVolumeEventRatio($val) + { + $this->_propDict["renderZeroVolumeEventRatio"] = $val; + return $this; + } + /** + * Gets the sentNoiseLevel + * Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @return int|null The sentNoiseLevel + */ + public function getSentNoiseLevel() + { + if (array_key_exists("sentNoiseLevel", $this->_propDict)) { + return $this->_propDict["sentNoiseLevel"]; + } else { + return null; + } + } + + /** + * Sets the sentNoiseLevel + * Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @param int $val The value of the sentNoiseLevel + * + * @return DeviceInfo + */ + public function setSentNoiseLevel($val) + { + $this->_propDict["sentNoiseLevel"] = $val; + return $this; + } + /** + * Gets the sentSignalLevel + * Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @return int|null The sentSignalLevel + */ + public function getSentSignalLevel() + { + if (array_key_exists("sentSignalLevel", $this->_propDict)) { + return $this->_propDict["sentSignalLevel"]; + } else { + return null; + } + } + + /** + * Sets the sentSignalLevel + * Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @param int $val The value of the sentSignalLevel + * + * @return DeviceInfo + */ + public function setSentSignalLevel($val) + { + $this->_propDict["sentSignalLevel"] = $val; + return $this; + } + /** + * Gets the speakerGlitchRate + * Glitches per 5 minute internal for the media endpoint's loudspeaker. + * + * @return float|null The speakerGlitchRate + */ + public function getSpeakerGlitchRate() + { + if (array_key_exists("speakerGlitchRate", $this->_propDict)) { + return $this->_propDict["speakerGlitchRate"]; + } else { + return null; + } + } + + /** + * Sets the speakerGlitchRate + * Glitches per 5 minute internal for the media endpoint's loudspeaker. + * + * @param float $val The value of the speakerGlitchRate + * + * @return DeviceInfo + */ + public function setSpeakerGlitchRate($val) + { + $this->_propDict["speakerGlitchRate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DirectRoutingLogRow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DirectRoutingLogRow.php new file mode 100644 index 0000000..5e7e8a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DirectRoutingLogRow.php @@ -0,0 +1,634 @@ +_propDict)) { + return $this->_propDict["calleeNumber"]; + } else { + return null; + } + } + + /** + * Sets the calleeNumber + * Number of the user or bot who received the call. E.164 format, but may include additional data. + * + * @param string $val The value of the calleeNumber + * + * @return DirectRoutingLogRow + */ + public function setCalleeNumber($val) + { + $this->_propDict["calleeNumber"] = $val; + return $this; + } + /** + * Gets the callEndSubReason + * In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue. + * + * @return int|null The callEndSubReason + */ + public function getCallEndSubReason() + { + if (array_key_exists("callEndSubReason", $this->_propDict)) { + return $this->_propDict["callEndSubReason"]; + } else { + return null; + } + } + + /** + * Sets the callEndSubReason + * In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue. + * + * @param int $val The value of the callEndSubReason + * + * @return DirectRoutingLogRow + */ + public function setCallEndSubReason($val) + { + $this->_propDict["callEndSubReason"] = $val; + return $this; + } + /** + * Gets the callerNumber + * Number of the user or bot who made the call. E.164 format, but may include additional data. + * + * @return string|null The callerNumber + */ + public function getCallerNumber() + { + if (array_key_exists("callerNumber", $this->_propDict)) { + return $this->_propDict["callerNumber"]; + } else { + return null; + } + } + + /** + * Sets the callerNumber + * Number of the user or bot who made the call. E.164 format, but may include additional data. + * + * @param string $val The value of the callerNumber + * + * @return DirectRoutingLogRow + */ + public function setCallerNumber($val) + { + $this->_propDict["callerNumber"] = $val; + return $this; + } + /** + * Gets the callType + * Call type and direction. + * + * @return string|null The callType + */ + public function getCallType() + { + if (array_key_exists("callType", $this->_propDict)) { + return $this->_propDict["callType"]; + } else { + return null; + } + } + + /** + * Sets the callType + * Call type and direction. + * + * @param string $val The value of the callType + * + * @return DirectRoutingLogRow + */ + public function setCallType($val) + { + $this->_propDict["callType"] = $val; + return $this; + } + /** + * Gets the correlationId + * Identifier for the call that you can use when calling Microsoft Support. GUID. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Identifier for the call that you can use when calling Microsoft Support. GUID. + * + * @param string $val The value of the correlationId + * + * @return DirectRoutingLogRow + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + /** + * Gets the duration + * Duration of the call in seconds. + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * Duration of the call in seconds. + * + * @param int $val The value of the duration + * + * @return DirectRoutingLogRow + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Only exists for successful (fully established) calls. Time when call ended. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Only exists for successful (fully established) calls. Time when call ended. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the failureDateTime + * Only exists for failed (not fully established) calls. + * + * @return \DateTime|null The failureDateTime + */ + public function getFailureDateTime() + { + if (array_key_exists("failureDateTime", $this->_propDict)) { + if (is_a($this->_propDict["failureDateTime"], "\DateTime") || is_null($this->_propDict["failureDateTime"])) { + return $this->_propDict["failureDateTime"]; + } else { + $this->_propDict["failureDateTime"] = new \DateTime($this->_propDict["failureDateTime"]); + return $this->_propDict["failureDateTime"]; + } + } + return null; + } + + /** + * Sets the failureDateTime + * Only exists for failed (not fully established) calls. + * + * @param \DateTime $val The value to assign to the failureDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setFailureDateTime($val) + { + $this->_propDict["failureDateTime"] = $val; + return $this; + } + /** + * Gets the finalSipCode + * The code with which the call ended, RFC 3261. + * + * @return int|null The finalSipCode + */ + public function getFinalSipCode() + { + if (array_key_exists("finalSipCode", $this->_propDict)) { + return $this->_propDict["finalSipCode"]; + } else { + return null; + } + } + + /** + * Sets the finalSipCode + * The code with which the call ended, RFC 3261. + * + * @param int $val The value of the finalSipCode + * + * @return DirectRoutingLogRow + */ + public function setFinalSipCode($val) + { + $this->_propDict["finalSipCode"] = $val; + return $this; + } + /** + * Gets the finalSipCodePhrase + * Description of the SIP code and Microsoft subcode. + * + * @return string|null The finalSipCodePhrase + */ + public function getFinalSipCodePhrase() + { + if (array_key_exists("finalSipCodePhrase", $this->_propDict)) { + return $this->_propDict["finalSipCodePhrase"]; + } else { + return null; + } + } + + /** + * Sets the finalSipCodePhrase + * Description of the SIP code and Microsoft subcode. + * + * @param string $val The value of the finalSipCodePhrase + * + * @return DirectRoutingLogRow + */ + public function setFinalSipCodePhrase($val) + { + $this->_propDict["finalSipCodePhrase"] = $val; + return $this; + } + /** + * Gets the id + * Unique call identifier. GUID. + * + * @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 + * Unique call identifier. GUID. + * + * @param string $val The value of the id + * + * @return DirectRoutingLogRow + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the inviteDateTime + * When the initial invite was sent. + * + * @return \DateTime|null The inviteDateTime + */ + public function getInviteDateTime() + { + if (array_key_exists("inviteDateTime", $this->_propDict)) { + if (is_a($this->_propDict["inviteDateTime"], "\DateTime") || is_null($this->_propDict["inviteDateTime"])) { + return $this->_propDict["inviteDateTime"]; + } else { + $this->_propDict["inviteDateTime"] = new \DateTime($this->_propDict["inviteDateTime"]); + return $this->_propDict["inviteDateTime"]; + } + } + return null; + } + + /** + * Sets the inviteDateTime + * When the initial invite was sent. + * + * @param \DateTime $val The value to assign to the inviteDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setInviteDateTime($val) + { + $this->_propDict["inviteDateTime"] = $val; + return $this; + } + /** + * Gets the mediaBypassEnabled + * Indicates if the trunk was enabled for media bypass or not. + * + * @return bool|null The mediaBypassEnabled + */ + public function getMediaBypassEnabled() + { + if (array_key_exists("mediaBypassEnabled", $this->_propDict)) { + return $this->_propDict["mediaBypassEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mediaBypassEnabled + * Indicates if the trunk was enabled for media bypass or not. + * + * @param bool $val The value of the mediaBypassEnabled + * + * @return DirectRoutingLogRow + */ + public function setMediaBypassEnabled($val) + { + $this->_propDict["mediaBypassEnabled"] = $val; + return $this; + } + /** + * Gets the mediaPathLocation + * The datacenter used for media path in non-bypass call. + * + * @return string|null The mediaPathLocation + */ + public function getMediaPathLocation() + { + if (array_key_exists("mediaPathLocation", $this->_propDict)) { + return $this->_propDict["mediaPathLocation"]; + } else { + return null; + } + } + + /** + * Sets the mediaPathLocation + * The datacenter used for media path in non-bypass call. + * + * @param string $val The value of the mediaPathLocation + * + * @return DirectRoutingLogRow + */ + public function setMediaPathLocation($val) + { + $this->_propDict["mediaPathLocation"] = $val; + return $this; + } + /** + * Gets the signalingLocation + * The datacenter used for signaling for both bypass and non-bypass calls. + * + * @return string|null The signalingLocation + */ + public function getSignalingLocation() + { + if (array_key_exists("signalingLocation", $this->_propDict)) { + return $this->_propDict["signalingLocation"]; + } else { + return null; + } + } + + /** + * Sets the signalingLocation + * The datacenter used for signaling for both bypass and non-bypass calls. + * + * @param string $val The value of the signalingLocation + * + * @return DirectRoutingLogRow + */ + public function setSignalingLocation($val) + { + $this->_propDict["signalingLocation"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Call start time.For failed and unanswered calls, this can be equal to invite or failure time. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Call start time.For failed and unanswered calls, this can be equal to invite or failure time. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the successfulCall + * Success or attempt. + * + * @return bool|null The successfulCall + */ + public function getSuccessfulCall() + { + if (array_key_exists("successfulCall", $this->_propDict)) { + return $this->_propDict["successfulCall"]; + } else { + return null; + } + } + + /** + * Sets the successfulCall + * Success or attempt. + * + * @param bool $val The value of the successfulCall + * + * @return DirectRoutingLogRow + */ + public function setSuccessfulCall($val) + { + $this->_propDict["successfulCall"] = $val; + return $this; + } + /** + * Gets the trunkFullyQualifiedDomainName + * Fully qualified domain name of the session border controller. + * + * @return string|null The trunkFullyQualifiedDomainName + */ + public function getTrunkFullyQualifiedDomainName() + { + if (array_key_exists("trunkFullyQualifiedDomainName", $this->_propDict)) { + return $this->_propDict["trunkFullyQualifiedDomainName"]; + } else { + return null; + } + } + + /** + * Sets the trunkFullyQualifiedDomainName + * Fully qualified domain name of the session border controller. + * + * @param string $val The value of the trunkFullyQualifiedDomainName + * + * @return DirectRoutingLogRow + */ + public function setTrunkFullyQualifiedDomainName($val) + { + $this->_propDict["trunkFullyQualifiedDomainName"] = $val; + return $this; + } + /** + * Gets the userDisplayName + * Display name of the user. + * + * @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 + * Display name of the user. + * + * @param string $val The value of the userDisplayName + * + * @return DirectRoutingLogRow + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + /** + * Gets the userId + * Calling user's ID in Graph. This and other user info will be null/empty for bot call types. GUID. + * + * @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 + * Calling user's ID in Graph. This and other user info will be null/empty for bot call types. GUID. + * + * @param string $val The value of the userId + * + * @return DirectRoutingLogRow + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @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 + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @param string $val The value of the userPrincipalName + * + * @return DirectRoutingLogRow + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Endpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Endpoint.php new file mode 100644 index 0000000..b7763ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Endpoint.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["userAgent"], "\Beta\Microsoft\Graph\CallRecords\Model\UserAgent") || is_null($this->_propDict["userAgent"])) { + return $this->_propDict["userAgent"]; + } else { + $this->_propDict["userAgent"] = new UserAgent($this->_propDict["userAgent"]); + return $this->_propDict["userAgent"]; + } + } + return null; + } + + /** + * Sets the userAgent + * User-agent reported by this endpoint. + * + * @param UserAgent $val The value to assign to the userAgent + * + * @return Endpoint The Endpoint + */ + public function setUserAgent($val) + { + $this->_propDict["userAgent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureInfo.php new file mode 100644 index 0000000..abbb05f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureInfo.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["reason"]; + } else { + return null; + } + } + + /** + * Sets the reason + * Classification of why a call or portion of a call failed. + * + * @param string $val The value of the reason + * + * @return FailureInfo + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the stage + * The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. + * + * @return FailureStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\CallRecords\Model\FailureStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new FailureStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. + * + * @param FailureStage $val The value to assign to the stage + * + * @return FailureInfo The FailureInfo + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureStage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureStage.php new file mode 100644 index 0000000..d4d6d98 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureStage.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["calleeDevice"], "\Beta\Microsoft\Graph\CallRecords\Model\DeviceInfo") || is_null($this->_propDict["calleeDevice"])) { + return $this->_propDict["calleeDevice"]; + } else { + $this->_propDict["calleeDevice"] = new DeviceInfo($this->_propDict["calleeDevice"]); + return $this->_propDict["calleeDevice"]; + } + } + return null; + } + + /** + * Sets the calleeDevice + * Device information associated with the callee endpoint of this media. + * + * @param DeviceInfo $val The value to assign to the calleeDevice + * + * @return Media The Media + */ + public function setCalleeDevice($val) + { + $this->_propDict["calleeDevice"] = $val; + return $this; + } + + /** + * Gets the calleeNetwork + * Network information associated with the callee endpoint of this media. + * + * @return NetworkInfo|null The calleeNetwork + */ + public function getCalleeNetwork() + { + if (array_key_exists("calleeNetwork", $this->_propDict)) { + if (is_a($this->_propDict["calleeNetwork"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkInfo") || is_null($this->_propDict["calleeNetwork"])) { + return $this->_propDict["calleeNetwork"]; + } else { + $this->_propDict["calleeNetwork"] = new NetworkInfo($this->_propDict["calleeNetwork"]); + return $this->_propDict["calleeNetwork"]; + } + } + return null; + } + + /** + * Sets the calleeNetwork + * Network information associated with the callee endpoint of this media. + * + * @param NetworkInfo $val The value to assign to the calleeNetwork + * + * @return Media The Media + */ + public function setCalleeNetwork($val) + { + $this->_propDict["calleeNetwork"] = $val; + return $this; + } + + /** + * Gets the callerDevice + * Device information associated with the caller endpoint of this media. + * + * @return DeviceInfo|null The callerDevice + */ + public function getCallerDevice() + { + if (array_key_exists("callerDevice", $this->_propDict)) { + if (is_a($this->_propDict["callerDevice"], "\Beta\Microsoft\Graph\CallRecords\Model\DeviceInfo") || is_null($this->_propDict["callerDevice"])) { + return $this->_propDict["callerDevice"]; + } else { + $this->_propDict["callerDevice"] = new DeviceInfo($this->_propDict["callerDevice"]); + return $this->_propDict["callerDevice"]; + } + } + return null; + } + + /** + * Sets the callerDevice + * Device information associated with the caller endpoint of this media. + * + * @param DeviceInfo $val The value to assign to the callerDevice + * + * @return Media The Media + */ + public function setCallerDevice($val) + { + $this->_propDict["callerDevice"] = $val; + return $this; + } + + /** + * Gets the callerNetwork + * Network information associated with the caller endpoint of this media. + * + * @return NetworkInfo|null The callerNetwork + */ + public function getCallerNetwork() + { + if (array_key_exists("callerNetwork", $this->_propDict)) { + if (is_a($this->_propDict["callerNetwork"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkInfo") || is_null($this->_propDict["callerNetwork"])) { + return $this->_propDict["callerNetwork"]; + } else { + $this->_propDict["callerNetwork"] = new NetworkInfo($this->_propDict["callerNetwork"]); + return $this->_propDict["callerNetwork"]; + } + } + return null; + } + + /** + * Sets the callerNetwork + * Network information associated with the caller endpoint of this media. + * + * @param NetworkInfo $val The value to assign to the callerNetwork + * + * @return Media The Media + */ + public function setCallerNetwork($val) + { + $this->_propDict["callerNetwork"] = $val; + return $this; + } + /** + * Gets the label + * How the media was identified during media negotiation stage. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * How the media was identified during media negotiation stage. + * + * @param string $val The value of the label + * + * @return Media + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the streams + * Network streams associated with this media. + * + * @return MediaStream|null The streams + */ + public function getStreams() + { + if (array_key_exists("streams", $this->_propDict)) { + if (is_a($this->_propDict["streams"], "\Beta\Microsoft\Graph\CallRecords\Model\MediaStream") || is_null($this->_propDict["streams"])) { + return $this->_propDict["streams"]; + } else { + $this->_propDict["streams"] = new MediaStream($this->_propDict["streams"]); + return $this->_propDict["streams"]; + } + } + return null; + } + + /** + * Sets the streams + * Network streams associated with this media. + * + * @param MediaStream $val The value to assign to the streams + * + * @return Media The Media + */ + public function setStreams($val) + { + $this->_propDict["streams"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php new file mode 100644 index 0000000..9ef5329 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php @@ -0,0 +1,771 @@ +_propDict)) { + return $this->_propDict["averageAudioDegradation"]; + } else { + return null; + } + } + + /** + * Sets the averageAudioDegradation + * Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. + * + * @param float $val The value of the averageAudioDegradation + * + * @return MediaStream + */ + public function setAverageAudioDegradation($val) + { + $this->_propDict["averageAudioDegradation"] = $val; + return $this; + } + + /** + * Gets the averageAudioNetworkJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The averageAudioNetworkJitter + */ + public function getAverageAudioNetworkJitter() + { + if (array_key_exists("averageAudioNetworkJitter", $this->_propDict)) { + if (is_a($this->_propDict["averageAudioNetworkJitter"], "\DateInterval") || is_null($this->_propDict["averageAudioNetworkJitter"])) { + return $this->_propDict["averageAudioNetworkJitter"]; + } else { + $this->_propDict["averageAudioNetworkJitter"] = new \DateInterval($this->_propDict["averageAudioNetworkJitter"]); + return $this->_propDict["averageAudioNetworkJitter"]; + } + } + return null; + } + + /** + * Sets the averageAudioNetworkJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the averageAudioNetworkJitter + * + * @return MediaStream The MediaStream + */ + public function setAverageAudioNetworkJitter($val) + { + $this->_propDict["averageAudioNetworkJitter"] = $val; + return $this; + } + /** + * Gets the averageBandwidthEstimate + * Average estimated bandwidth available between two endpoints in bits per second. + * + * @return int|null The averageBandwidthEstimate + */ + public function getAverageBandwidthEstimate() + { + if (array_key_exists("averageBandwidthEstimate", $this->_propDict)) { + return $this->_propDict["averageBandwidthEstimate"]; + } else { + return null; + } + } + + /** + * Sets the averageBandwidthEstimate + * Average estimated bandwidth available between two endpoints in bits per second. + * + * @param int $val The value of the averageBandwidthEstimate + * + * @return MediaStream + */ + public function setAverageBandwidthEstimate($val) + { + $this->_propDict["averageBandwidthEstimate"] = $val; + return $this; + } + + /** + * Gets the averageJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The averageJitter + */ + public function getAverageJitter() + { + if (array_key_exists("averageJitter", $this->_propDict)) { + if (is_a($this->_propDict["averageJitter"], "\DateInterval") || is_null($this->_propDict["averageJitter"])) { + return $this->_propDict["averageJitter"]; + } else { + $this->_propDict["averageJitter"] = new \DateInterval($this->_propDict["averageJitter"]); + return $this->_propDict["averageJitter"]; + } + } + return null; + } + + /** + * Sets the averageJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the averageJitter + * + * @return MediaStream The MediaStream + */ + public function setAverageJitter($val) + { + $this->_propDict["averageJitter"] = $val; + return $this; + } + /** + * Gets the averagePacketLossRate + * Average packet loss rate for stream. + * + * @return float|null The averagePacketLossRate + */ + public function getAveragePacketLossRate() + { + if (array_key_exists("averagePacketLossRate", $this->_propDict)) { + return $this->_propDict["averagePacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the averagePacketLossRate + * Average packet loss rate for stream. + * + * @param float $val The value of the averagePacketLossRate + * + * @return MediaStream + */ + public function setAveragePacketLossRate($val) + { + $this->_propDict["averagePacketLossRate"] = $val; + return $this; + } + /** + * Gets the averageRatioOfConcealedSamples + * Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. + * + * @return float|null The averageRatioOfConcealedSamples + */ + public function getAverageRatioOfConcealedSamples() + { + if (array_key_exists("averageRatioOfConcealedSamples", $this->_propDict)) { + return $this->_propDict["averageRatioOfConcealedSamples"]; + } else { + return null; + } + } + + /** + * Sets the averageRatioOfConcealedSamples + * Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. + * + * @param float $val The value of the averageRatioOfConcealedSamples + * + * @return MediaStream + */ + public function setAverageRatioOfConcealedSamples($val) + { + $this->_propDict["averageRatioOfConcealedSamples"] = $val; + return $this; + } + /** + * Gets the averageReceivedFrameRate + * Average frames per second received for all video streams computed over the duration of the session. + * + * @return float|null The averageReceivedFrameRate + */ + public function getAverageReceivedFrameRate() + { + if (array_key_exists("averageReceivedFrameRate", $this->_propDict)) { + return $this->_propDict["averageReceivedFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageReceivedFrameRate + * Average frames per second received for all video streams computed over the duration of the session. + * + * @param float $val The value of the averageReceivedFrameRate + * + * @return MediaStream + */ + public function setAverageReceivedFrameRate($val) + { + $this->_propDict["averageReceivedFrameRate"] = $val; + return $this; + } + + /** + * Gets the averageRoundTripTime + * Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The averageRoundTripTime + */ + public function getAverageRoundTripTime() + { + if (array_key_exists("averageRoundTripTime", $this->_propDict)) { + if (is_a($this->_propDict["averageRoundTripTime"], "\DateInterval") || is_null($this->_propDict["averageRoundTripTime"])) { + return $this->_propDict["averageRoundTripTime"]; + } else { + $this->_propDict["averageRoundTripTime"] = new \DateInterval($this->_propDict["averageRoundTripTime"]); + return $this->_propDict["averageRoundTripTime"]; + } + } + return null; + } + + /** + * Sets the averageRoundTripTime + * Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the averageRoundTripTime + * + * @return MediaStream The MediaStream + */ + public function setAverageRoundTripTime($val) + { + $this->_propDict["averageRoundTripTime"] = $val; + return $this; + } + /** + * Gets the averageVideoFrameLossPercentage + * Average percentage of video frames lost as displayed to the user. + * + * @return float|null The averageVideoFrameLossPercentage + */ + public function getAverageVideoFrameLossPercentage() + { + if (array_key_exists("averageVideoFrameLossPercentage", $this->_propDict)) { + return $this->_propDict["averageVideoFrameLossPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageVideoFrameLossPercentage + * Average percentage of video frames lost as displayed to the user. + * + * @param float $val The value of the averageVideoFrameLossPercentage + * + * @return MediaStream + */ + public function setAverageVideoFrameLossPercentage($val) + { + $this->_propDict["averageVideoFrameLossPercentage"] = $val; + return $this; + } + /** + * Gets the averageVideoFrameRate + * Average frames per second received for a video stream, computed over the duration of the session. + * + * @return float|null The averageVideoFrameRate + */ + public function getAverageVideoFrameRate() + { + if (array_key_exists("averageVideoFrameRate", $this->_propDict)) { + return $this->_propDict["averageVideoFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageVideoFrameRate + * Average frames per second received for a video stream, computed over the duration of the session. + * + * @param float $val The value of the averageVideoFrameRate + * + * @return MediaStream + */ + public function setAverageVideoFrameRate($val) + { + $this->_propDict["averageVideoFrameRate"] = $val; + return $this; + } + /** + * Gets the averageVideoPacketLossRate + * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. + * + * @return float|null The averageVideoPacketLossRate + */ + public function getAverageVideoPacketLossRate() + { + if (array_key_exists("averageVideoPacketLossRate", $this->_propDict)) { + return $this->_propDict["averageVideoPacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the averageVideoPacketLossRate + * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. + * + * @param float $val The value of the averageVideoPacketLossRate + * + * @return MediaStream + */ + public function setAverageVideoPacketLossRate($val) + { + $this->_propDict["averageVideoPacketLossRate"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * UTC time when the stream ended. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the stream ended. The DateTimeOffset 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 endDateTime + * + * @return MediaStream The MediaStream + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the lowFrameRateRatio + * Fraction of the call where frame rate is less than 7.5 frames per second. + * + * @return float|null The lowFrameRateRatio + */ + public function getLowFrameRateRatio() + { + if (array_key_exists("lowFrameRateRatio", $this->_propDict)) { + return $this->_propDict["lowFrameRateRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowFrameRateRatio + * Fraction of the call where frame rate is less than 7.5 frames per second. + * + * @param float $val The value of the lowFrameRateRatio + * + * @return MediaStream + */ + public function setLowFrameRateRatio($val) + { + $this->_propDict["lowFrameRateRatio"] = $val; + return $this; + } + /** + * Gets the lowVideoProcessingCapabilityRatio + * Fraction of the call that the client is running less than 70% expected video processing capability. + * + * @return float|null The lowVideoProcessingCapabilityRatio + */ + public function getLowVideoProcessingCapabilityRatio() + { + if (array_key_exists("lowVideoProcessingCapabilityRatio", $this->_propDict)) { + return $this->_propDict["lowVideoProcessingCapabilityRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowVideoProcessingCapabilityRatio + * Fraction of the call that the client is running less than 70% expected video processing capability. + * + * @param float $val The value of the lowVideoProcessingCapabilityRatio + * + * @return MediaStream + */ + public function setLowVideoProcessingCapabilityRatio($val) + { + $this->_propDict["lowVideoProcessingCapabilityRatio"] = $val; + return $this; + } + + /** + * Gets the maxAudioNetworkJitter + * Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The maxAudioNetworkJitter + */ + public function getMaxAudioNetworkJitter() + { + if (array_key_exists("maxAudioNetworkJitter", $this->_propDict)) { + if (is_a($this->_propDict["maxAudioNetworkJitter"], "\DateInterval") || is_null($this->_propDict["maxAudioNetworkJitter"])) { + return $this->_propDict["maxAudioNetworkJitter"]; + } else { + $this->_propDict["maxAudioNetworkJitter"] = new \DateInterval($this->_propDict["maxAudioNetworkJitter"]); + return $this->_propDict["maxAudioNetworkJitter"]; + } + } + return null; + } + + /** + * Sets the maxAudioNetworkJitter + * Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the maxAudioNetworkJitter + * + * @return MediaStream The MediaStream + */ + public function setMaxAudioNetworkJitter($val) + { + $this->_propDict["maxAudioNetworkJitter"] = $val; + return $this; + } + + /** + * Gets the maxJitter + * Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The maxJitter + */ + public function getMaxJitter() + { + if (array_key_exists("maxJitter", $this->_propDict)) { + if (is_a($this->_propDict["maxJitter"], "\DateInterval") || is_null($this->_propDict["maxJitter"])) { + return $this->_propDict["maxJitter"]; + } else { + $this->_propDict["maxJitter"] = new \DateInterval($this->_propDict["maxJitter"]); + return $this->_propDict["maxJitter"]; + } + } + return null; + } + + /** + * Sets the maxJitter + * Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the maxJitter + * + * @return MediaStream The MediaStream + */ + public function setMaxJitter($val) + { + $this->_propDict["maxJitter"] = $val; + return $this; + } + /** + * Gets the maxPacketLossRate + * Maximum packet loss rate for the stream. + * + * @return float|null The maxPacketLossRate + */ + public function getMaxPacketLossRate() + { + if (array_key_exists("maxPacketLossRate", $this->_propDict)) { + return $this->_propDict["maxPacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the maxPacketLossRate + * Maximum packet loss rate for the stream. + * + * @param float $val The value of the maxPacketLossRate + * + * @return MediaStream + */ + public function setMaxPacketLossRate($val) + { + $this->_propDict["maxPacketLossRate"] = $val; + return $this; + } + /** + * Gets the maxRatioOfConcealedSamples + * Maximum ratio of packets concealed by the healer. + * + * @return float|null The maxRatioOfConcealedSamples + */ + public function getMaxRatioOfConcealedSamples() + { + if (array_key_exists("maxRatioOfConcealedSamples", $this->_propDict)) { + return $this->_propDict["maxRatioOfConcealedSamples"]; + } else { + return null; + } + } + + /** + * Sets the maxRatioOfConcealedSamples + * Maximum ratio of packets concealed by the healer. + * + * @param float $val The value of the maxRatioOfConcealedSamples + * + * @return MediaStream + */ + public function setMaxRatioOfConcealedSamples($val) + { + $this->_propDict["maxRatioOfConcealedSamples"] = $val; + return $this; + } + + /** + * Gets the maxRoundTripTime + * Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The maxRoundTripTime + */ + public function getMaxRoundTripTime() + { + if (array_key_exists("maxRoundTripTime", $this->_propDict)) { + if (is_a($this->_propDict["maxRoundTripTime"], "\DateInterval") || is_null($this->_propDict["maxRoundTripTime"])) { + return $this->_propDict["maxRoundTripTime"]; + } else { + $this->_propDict["maxRoundTripTime"] = new \DateInterval($this->_propDict["maxRoundTripTime"]); + return $this->_propDict["maxRoundTripTime"]; + } + } + return null; + } + + /** + * Sets the maxRoundTripTime + * Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the maxRoundTripTime + * + * @return MediaStream The MediaStream + */ + public function setMaxRoundTripTime($val) + { + $this->_propDict["maxRoundTripTime"] = $val; + return $this; + } + /** + * Gets the packetUtilization + * Packet count for the stream. + * + * @return int|null The packetUtilization + */ + public function getPacketUtilization() + { + if (array_key_exists("packetUtilization", $this->_propDict)) { + return $this->_propDict["packetUtilization"]; + } else { + return null; + } + } + + /** + * Sets the packetUtilization + * Packet count for the stream. + * + * @param int $val The value of the packetUtilization + * + * @return MediaStream + */ + public function setPacketUtilization($val) + { + $this->_propDict["packetUtilization"] = $val; + return $this; + } + /** + * Gets the postForwardErrorCorrectionPacketLossRate + * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. + * + * @return float|null The postForwardErrorCorrectionPacketLossRate + */ + public function getPostForwardErrorCorrectionPacketLossRate() + { + if (array_key_exists("postForwardErrorCorrectionPacketLossRate", $this->_propDict)) { + return $this->_propDict["postForwardErrorCorrectionPacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the postForwardErrorCorrectionPacketLossRate + * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. + * + * @param float $val The value of the postForwardErrorCorrectionPacketLossRate + * + * @return MediaStream + */ + public function setPostForwardErrorCorrectionPacketLossRate($val) + { + $this->_propDict["postForwardErrorCorrectionPacketLossRate"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC time when the stream started. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC time when the stream started. The DateTimeOffset 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 startDateTime + * + * @return MediaStream The MediaStream + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the streamDirection + * Indicates the direction of the media stream. Possible values are: callerToCallee, calleeToCaller. + * + * @return MediaStreamDirection|null The streamDirection + */ + public function getStreamDirection() + { + if (array_key_exists("streamDirection", $this->_propDict)) { + if (is_a($this->_propDict["streamDirection"], "\Beta\Microsoft\Graph\CallRecords\Model\MediaStreamDirection") || is_null($this->_propDict["streamDirection"])) { + return $this->_propDict["streamDirection"]; + } else { + $this->_propDict["streamDirection"] = new MediaStreamDirection($this->_propDict["streamDirection"]); + return $this->_propDict["streamDirection"]; + } + } + return null; + } + + /** + * Sets the streamDirection + * Indicates the direction of the media stream. Possible values are: callerToCallee, calleeToCaller. + * + * @param MediaStreamDirection $val The value to assign to the streamDirection + * + * @return MediaStream The MediaStream + */ + public function setStreamDirection($val) + { + $this->_propDict["streamDirection"] = $val; + return $this; + } + /** + * Gets the streamId + * Unique identifier for the stream. + * + * @return string|null The streamId + */ + public function getStreamId() + { + if (array_key_exists("streamId", $this->_propDict)) { + return $this->_propDict["streamId"]; + } else { + return null; + } + } + + /** + * Sets the streamId + * Unique identifier for the stream. + * + * @param string $val The value of the streamId + * + * @return MediaStream + */ + public function setStreamId($val) + { + $this->_propDict["streamId"] = $val; + return $this; + } + /** + * Gets the wasMediaBypassed + * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. + * + * @return bool|null The wasMediaBypassed + */ + public function getWasMediaBypassed() + { + if (array_key_exists("wasMediaBypassed", $this->_propDict)) { + return $this->_propDict["wasMediaBypassed"]; + } else { + return null; + } + } + + /** + * Sets the wasMediaBypassed + * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. + * + * @param bool $val The value of the wasMediaBypassed + * + * @return MediaStream + */ + public function setWasMediaBypassed($val) + { + $this->_propDict["wasMediaBypassed"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStreamDirection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStreamDirection.php new file mode 100644 index 0000000..e768f54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStreamDirection.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["bandwidthLowEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the bandwidthLowEventRatio + * Fraction of the call that the media endpoint detected the available bandwidth or bandwidth policy was low enough to cause poor quality of the audio sent. + * + * @param float $val The value of the bandwidthLowEventRatio + * + * @return NetworkInfo + */ + public function setBandwidthLowEventRatio($val) + { + $this->_propDict["bandwidthLowEventRatio"] = $val; + return $this; + } + /** + * Gets the basicServiceSetIdentifier + * The wireless LAN basic service set identifier of the media endpoint used to connect to the network. + * + * @return string|null The basicServiceSetIdentifier + */ + public function getBasicServiceSetIdentifier() + { + if (array_key_exists("basicServiceSetIdentifier", $this->_propDict)) { + return $this->_propDict["basicServiceSetIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the basicServiceSetIdentifier + * The wireless LAN basic service set identifier of the media endpoint used to connect to the network. + * + * @param string $val The value of the basicServiceSetIdentifier + * + * @return NetworkInfo + */ + public function setBasicServiceSetIdentifier($val) + { + $this->_propDict["basicServiceSetIdentifier"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Type of network used by the media endpoint. Possible values are: unknown, wired, wifi, mobile, tunnel, unknownFutureValue. + * + * @return NetworkConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new NetworkConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Type of network used by the media endpoint. Possible values are: unknown, wired, wifi, mobile, tunnel, unknownFutureValue. + * + * @param NetworkConnectionType $val The value to assign to the connectionType + * + * @return NetworkInfo The NetworkInfo + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + /** + * Gets the delayEventRatio + * Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. + * + * @return float|null The delayEventRatio + */ + public function getDelayEventRatio() + { + if (array_key_exists("delayEventRatio", $this->_propDict)) { + return $this->_propDict["delayEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the delayEventRatio + * Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. + * + * @param float $val The value of the delayEventRatio + * + * @return NetworkInfo + */ + public function setDelayEventRatio($val) + { + $this->_propDict["delayEventRatio"] = $val; + return $this; + } + /** + * Gets the dnsSuffix + * DNS suffix associated with the network adapter of the media endpoint. + * + * @return string|null The dnsSuffix + */ + public function getDnsSuffix() + { + if (array_key_exists("dnsSuffix", $this->_propDict)) { + return $this->_propDict["dnsSuffix"]; + } else { + return null; + } + } + + /** + * Sets the dnsSuffix + * DNS suffix associated with the network adapter of the media endpoint. + * + * @param string $val The value of the dnsSuffix + * + * @return NetworkInfo + */ + public function setDnsSuffix($val) + { + $this->_propDict["dnsSuffix"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IP address of the media endpoint. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IP address of the media endpoint. + * + * @param string $val The value of the ipAddress + * + * @return NetworkInfo + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the linkSpeed + * Link speed in bits per second reported by the network adapter used by the media endpoint. + * + * @return int|null The linkSpeed + */ + public function getLinkSpeed() + { + if (array_key_exists("linkSpeed", $this->_propDict)) { + return $this->_propDict["linkSpeed"]; + } else { + return null; + } + } + + /** + * Sets the linkSpeed + * Link speed in bits per second reported by the network adapter used by the media endpoint. + * + * @param int $val The value of the linkSpeed + * + * @return NetworkInfo + */ + public function setLinkSpeed($val) + { + $this->_propDict["linkSpeed"] = $val; + return $this; + } + /** + * Gets the macAddress + * The media access control (MAC) address of the media endpoint's network device. + * + * @return string|null The macAddress + */ + public function getMacAddress() + { + if (array_key_exists("macAddress", $this->_propDict)) { + return $this->_propDict["macAddress"]; + } else { + return null; + } + } + + /** + * Sets the macAddress + * The media access control (MAC) address of the media endpoint's network device. + * + * @param string $val The value of the macAddress + * + * @return NetworkInfo + */ + public function setMacAddress($val) + { + $this->_propDict["macAddress"] = $val; + return $this; + } + /** + * Gets the port + * Network port number used by media endpoint. + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * Network port number used by media endpoint. + * + * @param int $val The value of the port + * + * @return NetworkInfo + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } + /** + * Gets the receivedQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. + * + * @return float|null The receivedQualityEventRatio + */ + public function getReceivedQualityEventRatio() + { + if (array_key_exists("receivedQualityEventRatio", $this->_propDict)) { + return $this->_propDict["receivedQualityEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the receivedQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. + * + * @param float $val The value of the receivedQualityEventRatio + * + * @return NetworkInfo + */ + public function setReceivedQualityEventRatio($val) + { + $this->_propDict["receivedQualityEventRatio"] = $val; + return $this; + } + /** + * Gets the reflexiveIPAddress + * IP address of the media endpoint as seen by the media relay server. This is typically the public internet IP address associated to the endpoint. + * + * @return string|null The reflexiveIPAddress + */ + public function getReflexiveIPAddress() + { + if (array_key_exists("reflexiveIPAddress", $this->_propDict)) { + return $this->_propDict["reflexiveIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the reflexiveIPAddress + * IP address of the media endpoint as seen by the media relay server. This is typically the public internet IP address associated to the endpoint. + * + * @param string $val The value of the reflexiveIPAddress + * + * @return NetworkInfo + */ + public function setReflexiveIPAddress($val) + { + $this->_propDict["reflexiveIPAddress"] = $val; + return $this; + } + /** + * Gets the relayIPAddress + * IP address of the media relay server allocated by the media endpoint. + * + * @return string|null The relayIPAddress + */ + public function getRelayIPAddress() + { + if (array_key_exists("relayIPAddress", $this->_propDict)) { + return $this->_propDict["relayIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the relayIPAddress + * IP address of the media relay server allocated by the media endpoint. + * + * @param string $val The value of the relayIPAddress + * + * @return NetworkInfo + */ + public function setRelayIPAddress($val) + { + $this->_propDict["relayIPAddress"] = $val; + return $this; + } + /** + * Gets the relayPort + * Network port number allocated on the media relay server by the media endpoint. + * + * @return int|null The relayPort + */ + public function getRelayPort() + { + if (array_key_exists("relayPort", $this->_propDict)) { + return $this->_propDict["relayPort"]; + } else { + return null; + } + } + + /** + * Sets the relayPort + * Network port number allocated on the media relay server by the media endpoint. + * + * @param int $val The value of the relayPort + * + * @return NetworkInfo + */ + public function setRelayPort($val) + { + $this->_propDict["relayPort"] = $val; + return $this; + } + /** + * Gets the sentQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. + * + * @return float|null The sentQualityEventRatio + */ + public function getSentQualityEventRatio() + { + if (array_key_exists("sentQualityEventRatio", $this->_propDict)) { + return $this->_propDict["sentQualityEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the sentQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. + * + * @param float $val The value of the sentQualityEventRatio + * + * @return NetworkInfo + */ + public function setSentQualityEventRatio($val) + { + $this->_propDict["sentQualityEventRatio"] = $val; + return $this; + } + /** + * Gets the subnet + * Subnet used for media stream by the media endpoint. + * + * @return string|null The subnet + */ + public function getSubnet() + { + if (array_key_exists("subnet", $this->_propDict)) { + return $this->_propDict["subnet"]; + } else { + return null; + } + } + + /** + * Sets the subnet + * Subnet used for media stream by the media endpoint. + * + * @param string $val The value of the subnet + * + * @return NetworkInfo + */ + public function setSubnet($val) + { + $this->_propDict["subnet"] = $val; + return $this; + } + + /** + * Gets the wifiBand + * WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue. + * + * @return WifiBand|null The wifiBand + */ + public function getWifiBand() + { + if (array_key_exists("wifiBand", $this->_propDict)) { + if (is_a($this->_propDict["wifiBand"], "\Beta\Microsoft\Graph\CallRecords\Model\WifiBand") || is_null($this->_propDict["wifiBand"])) { + return $this->_propDict["wifiBand"]; + } else { + $this->_propDict["wifiBand"] = new WifiBand($this->_propDict["wifiBand"]); + return $this->_propDict["wifiBand"]; + } + } + return null; + } + + /** + * Sets the wifiBand + * WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue. + * + * @param WifiBand $val The value to assign to the wifiBand + * + * @return NetworkInfo The NetworkInfo + */ + public function setWifiBand($val) + { + $this->_propDict["wifiBand"] = $val; + return $this; + } + /** + * Gets the wifiBatteryCharge + * Estimated remaining battery charge in percentage reported by the media endpoint. + * + * @return int|null The wifiBatteryCharge + */ + public function getWifiBatteryCharge() + { + if (array_key_exists("wifiBatteryCharge", $this->_propDict)) { + return $this->_propDict["wifiBatteryCharge"]; + } else { + return null; + } + } + + /** + * Sets the wifiBatteryCharge + * Estimated remaining battery charge in percentage reported by the media endpoint. + * + * @param int $val The value of the wifiBatteryCharge + * + * @return NetworkInfo + */ + public function setWifiBatteryCharge($val) + { + $this->_propDict["wifiBatteryCharge"] = $val; + return $this; + } + /** + * Gets the wifiChannel + * WiFi channel used by the media endpoint. + * + * @return int|null The wifiChannel + */ + public function getWifiChannel() + { + if (array_key_exists("wifiChannel", $this->_propDict)) { + return $this->_propDict["wifiChannel"]; + } else { + return null; + } + } + + /** + * Sets the wifiChannel + * WiFi channel used by the media endpoint. + * + * @param int $val The value of the wifiChannel + * + * @return NetworkInfo + */ + public function setWifiChannel($val) + { + $this->_propDict["wifiChannel"] = $val; + return $this; + } + /** + * Gets the wifiMicrosoftDriver + * Name of the Microsoft WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @return string|null The wifiMicrosoftDriver + */ + public function getWifiMicrosoftDriver() + { + if (array_key_exists("wifiMicrosoftDriver", $this->_propDict)) { + return $this->_propDict["wifiMicrosoftDriver"]; + } else { + return null; + } + } + + /** + * Sets the wifiMicrosoftDriver + * Name of the Microsoft WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @param string $val The value of the wifiMicrosoftDriver + * + * @return NetworkInfo + */ + public function setWifiMicrosoftDriver($val) + { + $this->_propDict["wifiMicrosoftDriver"] = $val; + return $this; + } + /** + * Gets the wifiMicrosoftDriverVersion + * Version of the Microsoft WiFi driver used by the media endpoint. + * + * @return string|null The wifiMicrosoftDriverVersion + */ + public function getWifiMicrosoftDriverVersion() + { + if (array_key_exists("wifiMicrosoftDriverVersion", $this->_propDict)) { + return $this->_propDict["wifiMicrosoftDriverVersion"]; + } else { + return null; + } + } + + /** + * Sets the wifiMicrosoftDriverVersion + * Version of the Microsoft WiFi driver used by the media endpoint. + * + * @param string $val The value of the wifiMicrosoftDriverVersion + * + * @return NetworkInfo + */ + public function setWifiMicrosoftDriverVersion($val) + { + $this->_propDict["wifiMicrosoftDriverVersion"] = $val; + return $this; + } + + /** + * Gets the wifiRadioType + * Type of WiFi radio used by the media endpoint. Possible values are: unknown, wifi80211a, wifi80211b, wifi80211g, wifi80211n, wifi80211ac, wifi80211ax, unknownFutureValue. + * + * @return WifiRadioType|null The wifiRadioType + */ + public function getWifiRadioType() + { + if (array_key_exists("wifiRadioType", $this->_propDict)) { + if (is_a($this->_propDict["wifiRadioType"], "\Beta\Microsoft\Graph\CallRecords\Model\WifiRadioType") || is_null($this->_propDict["wifiRadioType"])) { + return $this->_propDict["wifiRadioType"]; + } else { + $this->_propDict["wifiRadioType"] = new WifiRadioType($this->_propDict["wifiRadioType"]); + return $this->_propDict["wifiRadioType"]; + } + } + return null; + } + + /** + * Sets the wifiRadioType + * Type of WiFi radio used by the media endpoint. Possible values are: unknown, wifi80211a, wifi80211b, wifi80211g, wifi80211n, wifi80211ac, wifi80211ax, unknownFutureValue. + * + * @param WifiRadioType $val The value to assign to the wifiRadioType + * + * @return NetworkInfo The NetworkInfo + */ + public function setWifiRadioType($val) + { + $this->_propDict["wifiRadioType"] = $val; + return $this; + } + /** + * Gets the wifiSignalStrength + * WiFi signal strength in percentage reported by the media endpoint. + * + * @return int|null The wifiSignalStrength + */ + public function getWifiSignalStrength() + { + if (array_key_exists("wifiSignalStrength", $this->_propDict)) { + return $this->_propDict["wifiSignalStrength"]; + } else { + return null; + } + } + + /** + * Sets the wifiSignalStrength + * WiFi signal strength in percentage reported by the media endpoint. + * + * @param int $val The value of the wifiSignalStrength + * + * @return NetworkInfo + */ + public function setWifiSignalStrength($val) + { + $this->_propDict["wifiSignalStrength"] = $val; + return $this; + } + /** + * Gets the wifiVendorDriver + * Name of the WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @return string|null The wifiVendorDriver + */ + public function getWifiVendorDriver() + { + if (array_key_exists("wifiVendorDriver", $this->_propDict)) { + return $this->_propDict["wifiVendorDriver"]; + } else { + return null; + } + } + + /** + * Sets the wifiVendorDriver + * Name of the WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @param string $val The value of the wifiVendorDriver + * + * @return NetworkInfo + */ + public function setWifiVendorDriver($val) + { + $this->_propDict["wifiVendorDriver"] = $val; + return $this; + } + /** + * Gets the wifiVendorDriverVersion + * Version of the WiFi driver used by the media endpoint. + * + * @return string|null The wifiVendorDriverVersion + */ + public function getWifiVendorDriverVersion() + { + if (array_key_exists("wifiVendorDriverVersion", $this->_propDict)) { + return $this->_propDict["wifiVendorDriverVersion"]; + } else { + return null; + } + } + + /** + * Sets the wifiVendorDriverVersion + * Version of the WiFi driver used by the media endpoint. + * + * @param string $val The value of the wifiVendorDriverVersion + * + * @return NetworkInfo + */ + public function setWifiVendorDriverVersion($val) + { + $this->_propDict["wifiVendorDriverVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php new file mode 100644 index 0000000..059a646 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\CallRecords\Model\UserFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new UserFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * The feedback provided by the user of this endpoint about the quality of the session. + * + * @param UserFeedback $val The value to assign to the feedback + * + * @return ParticipantEndpoint The ParticipantEndpoint + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + /** + * Gets the identity + * Identity associated with the endpoint. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity associated with the endpoint. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The value to assign to the identity + * + * @return ParticipantEndpoint The ParticipantEndpoint + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ProductFamily.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ProductFamily.php new file mode 100644 index 0000000..e7631a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ProductFamily.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["callDurationSource"], "\Beta\Microsoft\Graph\CallRecords\Model\PstnCallDurationSource") || is_null($this->_propDict["callDurationSource"])) { + return $this->_propDict["callDurationSource"]; + } else { + $this->_propDict["callDurationSource"] = new PstnCallDurationSource($this->_propDict["callDurationSource"]); + return $this->_propDict["callDurationSource"]; + } + } + return null; + } + + /** + * Sets the callDurationSource + * The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator may provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft. + * + * @param PstnCallDurationSource $val The value to assign to the callDurationSource + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setCallDurationSource($val) + { + $this->_propDict["callDurationSource"] = $val; + return $this; + } + /** + * Gets the calleeNumber + * Number dialed in E.164 format. + * + * @return string|null The calleeNumber + */ + public function getCalleeNumber() + { + if (array_key_exists("calleeNumber", $this->_propDict)) { + return $this->_propDict["calleeNumber"]; + } else { + return null; + } + } + + /** + * Sets the calleeNumber + * Number dialed in E.164 format. + * + * @param string $val The value of the calleeNumber + * + * @return PstnCallLogRow + */ + public function setCalleeNumber($val) + { + $this->_propDict["calleeNumber"] = $val; + return $this; + } + /** + * Gets the callerNumber + * Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format. + * + * @return string|null The callerNumber + */ + public function getCallerNumber() + { + if (array_key_exists("callerNumber", $this->_propDict)) { + return $this->_propDict["callerNumber"]; + } else { + return null; + } + } + + /** + * Sets the callerNumber + * Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format. + * + * @param string $val The value of the callerNumber + * + * @return PstnCallLogRow + */ + public function setCallerNumber($val) + { + $this->_propDict["callerNumber"] = $val; + return $this; + } + /** + * Gets the callId + * Call identifier. Not guaranteed to be unique. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Call identifier. Not guaranteed to be unique. + * + * @param string $val The value of the callId + * + * @return PstnCallLogRow + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + /** + * Gets the callType + * Whether the call was a PSTN outbound or inbound call and the type of call such as a call placed by a user or an audio conference. + * + * @return string|null The callType + */ + public function getCallType() + { + if (array_key_exists("callType", $this->_propDict)) { + return $this->_propDict["callType"]; + } else { + return null; + } + } + + /** + * Sets the callType + * Whether the call was a PSTN outbound or inbound call and the type of call such as a call placed by a user or an audio conference. + * + * @param string $val The value of the callType + * + * @return PstnCallLogRow + */ + public function setCallType($val) + { + $this->_propDict["callType"] = $val; + return $this; + } + + /** + * Gets the charge + * Amount of money or cost of the call that is charged to your account. + * + * @return \Beta\Microsoft\Graph\Model\Decimal|null The charge + */ + public function getCharge() + { + if (array_key_exists("charge", $this->_propDict)) { + if (is_a($this->_propDict["charge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["charge"])) { + return $this->_propDict["charge"]; + } else { + $this->_propDict["charge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["charge"]); + return $this->_propDict["charge"]; + } + } + return null; + } + + /** + * Sets the charge + * Amount of money or cost of the call that is charged to your account. + * + * @param \Beta\Microsoft\Graph\Model\Decimal $val The value to assign to the charge + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setCharge($val) + { + $this->_propDict["charge"] = $val; + return $this; + } + /** + * Gets the conferenceId + * ID of the audio conference. + * + * @return string|null The conferenceId + */ + public function getConferenceId() + { + if (array_key_exists("conferenceId", $this->_propDict)) { + return $this->_propDict["conferenceId"]; + } else { + return null; + } + } + + /** + * Sets the conferenceId + * ID of the audio conference. + * + * @param string $val The value of the conferenceId + * + * @return PstnCallLogRow + */ + public function setConferenceId($val) + { + $this->_propDict["conferenceId"] = $val; + return $this; + } + + /** + * Gets the connectionCharge + * Connection fee price. + * + * @return \Beta\Microsoft\Graph\Model\Decimal|null The connectionCharge + */ + public function getConnectionCharge() + { + if (array_key_exists("connectionCharge", $this->_propDict)) { + if (is_a($this->_propDict["connectionCharge"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["connectionCharge"])) { + return $this->_propDict["connectionCharge"]; + } else { + $this->_propDict["connectionCharge"] = new \Beta\Microsoft\Graph\Model\Decimal($this->_propDict["connectionCharge"]); + return $this->_propDict["connectionCharge"]; + } + } + return null; + } + + /** + * Sets the connectionCharge + * Connection fee price. + * + * @param \Beta\Microsoft\Graph\Model\Decimal $val The value to assign to the connectionCharge + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setConnectionCharge($val) + { + $this->_propDict["connectionCharge"] = $val; + return $this; + } + /** + * Gets the currency + * Type of currency used to calculate the cost of the call (ISO 4217). + * + * @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 + * Type of currency used to calculate the cost of the call (ISO 4217). + * + * @param string $val The value of the currency + * + * @return PstnCallLogRow + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + /** + * Gets the destinationContext + * Whether the call was domestic (within a country or region) or international (outside a country or region) based on the user's location. + * + * @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 + * Whether the call was domestic (within a country or region) or international (outside a country or region) based on the user's location. + * + * @param string $val The value of the destinationContext + * + * @return PstnCallLogRow + */ + public function setDestinationContext($val) + { + $this->_propDict["destinationContext"] = $val; + return $this; + } + /** + * Gets the destinationName + * Country or region dialed. + * + * @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 + * Country or region dialed. + * + * @param string $val The value of the destinationName + * + * @return PstnCallLogRow + */ + public function setDestinationName($val) + { + $this->_propDict["destinationName"] = $val; + return $this; + } + /** + * Gets the duration + * How long the call was connected, in seconds. + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * How long the call was connected, in seconds. + * + * @param int $val The value of the duration + * + * @return PstnCallLogRow + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Call end time. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Call end time. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the id + * Unique call identifier. GUID. + * + * @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 + * Unique call identifier. GUID. + * + * @param string $val The value of the id + * + * @return PstnCallLogRow + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the inventoryType + * User's phone number type, such as a service of toll-free number. + * + * @return string|null The inventoryType + */ + public function getInventoryType() + { + if (array_key_exists("inventoryType", $this->_propDict)) { + return $this->_propDict["inventoryType"]; + } else { + return null; + } + } + + /** + * Sets the inventoryType + * User's phone number type, such as a service of toll-free number. + * + * @param string $val The value of the inventoryType + * + * @return PstnCallLogRow + */ + public function setInventoryType($val) + { + $this->_propDict["inventoryType"] = $val; + return $this; + } + /** + * Gets the licenseCapability + * The license used for the call. + * + * @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 + * The license used for the call. + * + * @param string $val The value of the licenseCapability + * + * @return PstnCallLogRow + */ + public function setLicenseCapability($val) + { + $this->_propDict["licenseCapability"] = $val; + return $this; + } + /** + * Gets the operator + * The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. + * + * @return string|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + return $this->_propDict["operator"]; + } else { + return null; + } + } + + /** + * Sets the operator + * The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. + * + * @param string $val The value of the operator + * + * @return PstnCallLogRow + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Call start time. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Call start time. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the tenantCountryCode + * Country code of the tenant, ISO 3166-1 alpha-2. + * + * @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 + * Country code of the tenant, ISO 3166-1 alpha-2. + * + * @param string $val The value of the tenantCountryCode + * + * @return PstnCallLogRow + */ + public function setTenantCountryCode($val) + { + $this->_propDict["tenantCountryCode"] = $val; + return $this; + } + /** + * Gets the usageCountryCode + * Country code of the user, ISO 3166-1 alpha-2. + * + * @return string|null The usageCountryCode + */ + public function getUsageCountryCode() + { + if (array_key_exists("usageCountryCode", $this->_propDict)) { + return $this->_propDict["usageCountryCode"]; + } else { + return null; + } + } + + /** + * Sets the usageCountryCode + * Country code of the user, ISO 3166-1 alpha-2. + * + * @param string $val The value of the usageCountryCode + * + * @return PstnCallLogRow + */ + public function setUsageCountryCode($val) + { + $this->_propDict["usageCountryCode"] = $val; + return $this; + } + /** + * Gets the userDisplayName + * Display name of the user. + * + * @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 + * Display name of the user. + * + * @param string $val The value of the userDisplayName + * + * @return PstnCallLogRow + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + /** + * Gets the userId + * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * + * @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 + * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * + * @param string $val The value of the userId + * + * @return PstnCallLogRow + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @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 + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @param string $val The value of the userPrincipalName + * + * @return PstnCallLogRow + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Segment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Segment.php new file mode 100644 index 0000000..c5925af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Segment.php @@ -0,0 +1,222 @@ +_propDict)) { + if (is_a($this->_propDict["callee"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["callee"])) { + return $this->_propDict["callee"]; + } else { + $this->_propDict["callee"] = new Endpoint($this->_propDict["callee"]); + return $this->_propDict["callee"]; + } + } + return null; + } + + /** + * Sets the callee + * Endpoint that answered this segment. + * + * @param Endpoint $val The callee + * + * @return Segment + */ + public function setCallee($val) + { + $this->_propDict["callee"] = $val; + return $this; + } + + /** + * Gets the caller + * Endpoint that initiated this segment. + * + * @return Endpoint|null The caller + */ + public function getCaller() + { + if (array_key_exists("caller", $this->_propDict)) { + if (is_a($this->_propDict["caller"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["caller"])) { + return $this->_propDict["caller"]; + } else { + $this->_propDict["caller"] = new Endpoint($this->_propDict["caller"]); + return $this->_propDict["caller"]; + } + } + return null; + } + + /** + * Sets the caller + * Endpoint that initiated this segment. + * + * @param Endpoint $val The caller + * + * @return Segment + */ + public function setCaller($val) + { + $this->_propDict["caller"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * UTC time when the segment ended. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the segment ended. The DateTimeOffset 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 endDateTime + * + * @return Segment + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the failureInfo + * Failure information associated with the segment if it failed. + * + * @return FailureInfo|null The failureInfo + */ + public function getFailureInfo() + { + if (array_key_exists("failureInfo", $this->_propDict)) { + if (is_a($this->_propDict["failureInfo"], "\Beta\Microsoft\Graph\CallRecords\Model\FailureInfo") || is_null($this->_propDict["failureInfo"])) { + return $this->_propDict["failureInfo"]; + } else { + $this->_propDict["failureInfo"] = new FailureInfo($this->_propDict["failureInfo"]); + return $this->_propDict["failureInfo"]; + } + } + return null; + } + + /** + * Sets the failureInfo + * Failure information associated with the segment if it failed. + * + * @param FailureInfo $val The failureInfo + * + * @return Segment + */ + public function setFailureInfo($val) + { + $this->_propDict["failureInfo"] = $val; + return $this; + } + + + /** + * Gets the media + * Media associated with this segment. + * + * @return array|null The media + */ + public function getMedia() + { + if (array_key_exists("media", $this->_propDict)) { + return $this->_propDict["media"]; + } else { + return null; + } + } + + /** + * Sets the media + * Media associated with this segment. + * + * @param Media[] $val The media + * + * @return Segment + */ + public function setMedia($val) + { + $this->_propDict["media"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC time when the segment started. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC time when the segment started. The DateTimeOffset 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 startDateTime + * + * @return Segment + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ServiceEndpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ServiceEndpoint.php new file mode 100644 index 0000000..339abf0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ServiceEndpoint.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\CallRecords\Model\ServiceRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new ServiceRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * Identifies the role of the service used by this endpoint. Possible values are: unknown, customBot, skypeForBusinessMicrosoftTeamsGateway, skypeForBusinessAudioVideoMcu, skypeForBusinessApplicationSharingMcu, skypeForBusinessCallQueues, skypeForBusinessAutoAttendant, mediationServer, mediationServerCloudConnectorEdition, exchangeUnifiedMessagingService, mediaController, conferencingAnnouncementService, conferencingAttendant, audioTeleconferencerController, skypeForBusinessUnifiedCommunicationApplicationPlatform, responseGroupServiceAnnouncementService, gateway, skypeTranslator, skypeForBusinessAttendant, responseGroupService, voicemail, unknownFutureValue. + * + * @param ServiceRole $val The value to assign to the role + * + * @return ServiceUserAgent The ServiceUserAgent + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php new file mode 100644 index 0000000..bf200d2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php @@ -0,0 +1,252 @@ +_propDict)) { + if (is_a($this->_propDict["callee"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["callee"])) { + return $this->_propDict["callee"]; + } else { + $this->_propDict["callee"] = new Endpoint($this->_propDict["callee"]); + return $this->_propDict["callee"]; + } + } + return null; + } + + /** + * Sets the callee + * Endpoint that answered the session. + * + * @param Endpoint $val The callee + * + * @return Session + */ + public function setCallee($val) + { + $this->_propDict["callee"] = $val; + return $this; + } + + /** + * Gets the caller + * Endpoint that initiated the session. + * + * @return Endpoint|null The caller + */ + public function getCaller() + { + if (array_key_exists("caller", $this->_propDict)) { + if (is_a($this->_propDict["caller"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["caller"])) { + return $this->_propDict["caller"]; + } else { + $this->_propDict["caller"] = new Endpoint($this->_propDict["caller"]); + return $this->_propDict["caller"]; + } + } + return null; + } + + /** + * Sets the caller + * Endpoint that initiated the session. + * + * @param Endpoint $val The caller + * + * @return Session + */ + public function setCaller($val) + { + $this->_propDict["caller"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * UTC time when the last user left the session. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the last user left the session. The DateTimeOffset 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 endDateTime + * + * @return Session + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the failureInfo + * Failure information associated with the session if the session failed. + * + * @return FailureInfo|null The failureInfo + */ + public function getFailureInfo() + { + if (array_key_exists("failureInfo", $this->_propDict)) { + if (is_a($this->_propDict["failureInfo"], "\Beta\Microsoft\Graph\CallRecords\Model\FailureInfo") || is_null($this->_propDict["failureInfo"])) { + return $this->_propDict["failureInfo"]; + } else { + $this->_propDict["failureInfo"] = new FailureInfo($this->_propDict["failureInfo"]); + return $this->_propDict["failureInfo"]; + } + } + return null; + } + + /** + * Sets the failureInfo + * Failure information associated with the session if the session failed. + * + * @param FailureInfo $val The failureInfo + * + * @return Session + */ + public function setFailureInfo($val) + { + $this->_propDict["failureInfo"] = $val; + return $this; + } + + + /** + * Gets the modalities + * List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @return array|null The modalities + */ + public function getModalities() + { + if (array_key_exists("modalities", $this->_propDict)) { + return $this->_propDict["modalities"]; + } else { + return null; + } + } + + /** + * Sets the modalities + * List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @param Modality[] $val The modalities + * + * @return Session + */ + public function setModalities($val) + { + $this->_propDict["modalities"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC fime when the first user joined the session. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC fime when the first user joined the session. The DateTimeOffset 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 startDateTime + * + * @return Session + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + + /** + * Gets the segments + * The list of segments involved in the session. Read-only. Nullable. + * + * @return array|null The segments + */ + public function getSegments() + { + if (array_key_exists("segments", $this->_propDict)) { + return $this->_propDict["segments"]; + } else { + return null; + } + } + + /** + * Sets the segments + * The list of segments involved in the session. Read-only. Nullable. + * + * @param Segment[] $val The segments + * + * @return Session + */ + public function setSegments($val) + { + $this->_propDict["segments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserAgent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserAgent.php new file mode 100644 index 0000000..b8d3ed1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserAgent.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["applicationVersion"]; + } else { + return null; + } + } + + /** + * Sets the applicationVersion + * Identifies the version of application software used by this endpoint. + * + * @param string $val The value of the applicationVersion + * + * @return UserAgent + */ + public function setApplicationVersion($val) + { + $this->_propDict["applicationVersion"] = $val; + return $this; + } + /** + * Gets the headerValue + * User-agent header value reported by this endpoint. + * + * @return string|null The headerValue + */ + public function getHeaderValue() + { + if (array_key_exists("headerValue", $this->_propDict)) { + return $this->_propDict["headerValue"]; + } else { + return null; + } + } + + /** + * Sets the headerValue + * User-agent header value reported by this endpoint. + * + * @param string $val The value of the headerValue + * + * @return UserAgent + */ + public function setHeaderValue($val) + { + $this->_propDict["headerValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedback.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedback.php new file mode 100644 index 0000000..dd57c9b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedback.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["rating"], "\Beta\Microsoft\Graph\CallRecords\Model\UserFeedbackRating") || is_null($this->_propDict["rating"])) { + return $this->_propDict["rating"]; + } else { + $this->_propDict["rating"] = new UserFeedbackRating($this->_propDict["rating"]); + return $this->_propDict["rating"]; + } + } + return null; + } + + /** + * Sets the rating + * The rating provided by the user of this endpoint about the quality of this Session. Possible values are: notRated, bad, poor, fair, good, excellent, unknownFutureValue. + * + * @param UserFeedbackRating $val The value to assign to the rating + * + * @return UserFeedback The UserFeedback + */ + public function setRating($val) + { + $this->_propDict["rating"] = $val; + return $this; + } + /** + * Gets the text + * The feedback text provided by the user of this endpoint for the session. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * The feedback text provided by the user of this endpoint for the session. + * + * @param string $val The value of the text + * + * @return UserFeedback + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the tokens + * The set of feedback tokens provided by the user of this endpoint for the session. This is a set of Boolean properties. The property names should not be relied upon since they may change depending on what tokens are offered to the user. + * + * @return FeedbackTokenSet|null The tokens + */ + public function getTokens() + { + if (array_key_exists("tokens", $this->_propDict)) { + if (is_a($this->_propDict["tokens"], "\Beta\Microsoft\Graph\CallRecords\Model\FeedbackTokenSet") || is_null($this->_propDict["tokens"])) { + return $this->_propDict["tokens"]; + } else { + $this->_propDict["tokens"] = new FeedbackTokenSet($this->_propDict["tokens"]); + return $this->_propDict["tokens"]; + } + } + return null; + } + + /** + * Sets the tokens + * The set of feedback tokens provided by the user of this endpoint for the session. This is a set of Boolean properties. The property names should not be relied upon since they may change depending on what tokens are offered to the user. + * + * @param FeedbackTokenSet $val The value to assign to the tokens + * + * @return UserFeedback The UserFeedback + */ + public function setTokens($val) + { + $this->_propDict["tokens"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedbackRating.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedbackRating.php new file mode 100644 index 0000000..21d1bc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedbackRating.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet") || is_null($this->_propDict["reviewSet"])) { + return $this->_propDict["reviewSet"]; + } else { + $this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]); + return $this->_propDict["reviewSet"]; + } + } + return null; + } + + /** + * Sets the reviewSet + * The review set to which items matching the source collection query are added to. + * + * @param ReviewSet $val The reviewSet + * + * @return AddToReviewSetOperation + */ + public function setReviewSet($val) + { + $this->_propDict["reviewSet"] = $val; + return $this; + } + + /** + * Gets the sourceCollection + * The sourceCollection that items are being added from. + * + * @return SourceCollection|null The sourceCollection + */ + public function getSourceCollection() + { + if (array_key_exists("sourceCollection", $this->_propDict)) { + if (is_a($this->_propDict["sourceCollection"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceCollection") || is_null($this->_propDict["sourceCollection"])) { + return $this->_propDict["sourceCollection"]; + } else { + $this->_propDict["sourceCollection"] = new SourceCollection($this->_propDict["sourceCollection"]); + return $this->_propDict["sourceCollection"]; + } + } + return null; + } + + /** + * Sets the sourceCollection + * The sourceCollection that items are being added from. + * + * @param SourceCollection $val The sourceCollection + * + * @return AddToReviewSetOperation + */ + public function setSourceCollection($val) + { + $this->_propDict["sourceCollection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/AdditionalDataOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/AdditionalDataOptions.php new file mode 100644 index 0000000..3a514d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/AdditionalDataOptions.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["azureBlobContainer"]; + } else { + return null; + } + } + + /** + * Sets the azureBlobContainer + * The name of the Azure storage location where the export will be stored. This only applies to exports stored in your own Azure storage location. + * + * @param string $val The azureBlobContainer + * + * @return CaseExportOperation + */ + public function setAzureBlobContainer($val) + { + $this->_propDict["azureBlobContainer"] = $val; + return $this; + } + + /** + * Gets the azureBlobToken + * The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. + * + * @return string|null The azureBlobToken + */ + public function getAzureBlobToken() + { + if (array_key_exists("azureBlobToken", $this->_propDict)) { + return $this->_propDict["azureBlobToken"]; + } else { + return null; + } + } + + /** + * Sets the azureBlobToken + * The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location. + * + * @param string $val The azureBlobToken + * + * @return CaseExportOperation + */ + public function setAzureBlobToken($val) + { + $this->_propDict["azureBlobToken"] = $val; + return $this; + } + + /** + * Gets the description + * The description provided for the export. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description provided for the export. + * + * @param string $val The description + * + * @return CaseExportOperation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the exportOptions + * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * + * @return ExportOptions|null The exportOptions + */ + public function getExportOptions() + { + if (array_key_exists("exportOptions", $this->_propDict)) { + if (is_a($this->_propDict["exportOptions"], "\Beta\Microsoft\Graph\Ediscovery\Model\ExportOptions") || is_null($this->_propDict["exportOptions"])) { + return $this->_propDict["exportOptions"]; + } else { + $this->_propDict["exportOptions"] = new ExportOptions($this->_propDict["exportOptions"]); + return $this->_propDict["exportOptions"]; + } + } + return null; + } + + /** + * Sets the exportOptions + * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * + * @param ExportOptions $val The exportOptions + * + * @return CaseExportOperation + */ + public function setExportOptions($val) + { + $this->_propDict["exportOptions"] = $val; + return $this; + } + + /** + * Gets the exportStructure + * The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst. + * + * @return ExportFileStructure|null The exportStructure + */ + public function getExportStructure() + { + if (array_key_exists("exportStructure", $this->_propDict)) { + if (is_a($this->_propDict["exportStructure"], "\Beta\Microsoft\Graph\Ediscovery\Model\ExportFileStructure") || is_null($this->_propDict["exportStructure"])) { + return $this->_propDict["exportStructure"]; + } else { + $this->_propDict["exportStructure"] = new ExportFileStructure($this->_propDict["exportStructure"]); + return $this->_propDict["exportStructure"]; + } + } + return null; + } + + /** + * Sets the exportStructure + * The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst. + * + * @param ExportFileStructure $val The exportStructure + * + * @return CaseExportOperation + */ + public function setExportStructure($val) + { + $this->_propDict["exportStructure"] = $val; + return $this; + } + + /** + * Gets the outputFolderId + * + * @return string|null The outputFolderId + */ + public function getOutputFolderId() + { + if (array_key_exists("outputFolderId", $this->_propDict)) { + return $this->_propDict["outputFolderId"]; + } else { + return null; + } + } + + /** + * Sets the outputFolderId + * + * @param string $val The outputFolderId + * + * @return CaseExportOperation + */ + public function setOutputFolderId($val) + { + $this->_propDict["outputFolderId"] = $val; + return $this; + } + + /** + * Gets the outputName + * The name provided for the export. + * + * @return string|null The outputName + */ + public function getOutputName() + { + if (array_key_exists("outputName", $this->_propDict)) { + return $this->_propDict["outputName"]; + } else { + return null; + } + } + + /** + * Sets the outputName + * The name provided for the export. + * + * @param string $val The outputName + * + * @return CaseExportOperation + */ + public function setOutputName($val) + { + $this->_propDict["outputName"] = $val; + return $this; + } + + /** + * Gets the reviewSet + * The review set the content is being exported from. + * + * @return ReviewSet|null The reviewSet + */ + public function getReviewSet() + { + if (array_key_exists("reviewSet", $this->_propDict)) { + if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet") || is_null($this->_propDict["reviewSet"])) { + return $this->_propDict["reviewSet"]; + } else { + $this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]); + return $this->_propDict["reviewSet"]; + } + } + return null; + } + + /** + * Sets the reviewSet + * The review set the content is being exported from. + * + * @param ReviewSet $val The reviewSet + * + * @return CaseExportOperation + */ + public function setReviewSet($val) + { + $this->_propDict["reviewSet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseHoldOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseHoldOperation.php new file mode 100644 index 0000000..bacac17 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseHoldOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new CaseAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The type of action the operation represents. Possible values are: addToReviewSet,applyTags,contentExport,convertToPdf,estimateStatistics, purgeData + * + * @param CaseAction $val The action + * + * @return CaseOperation + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The date and time the operation was completed. + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date and time the operation was completed. + * + * @param \DateTime $val The completedDateTime + * + * @return CaseOperation + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user that created the operation. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user that created the operation. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return CaseOperation + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the operation was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the operation was created. + * + * @param \DateTime $val The createdDateTime + * + * @return CaseOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the percentProgress + * The progress of the operation. + * + * @return int|null The percentProgress + */ + public function getPercentProgress() + { + if (array_key_exists("percentProgress", $this->_propDict)) { + return $this->_propDict["percentProgress"]; + } else { + return null; + } + } + + /** + * Sets the percentProgress + * The progress of the operation. + * + * @param int $val The percentProgress + * + * @return CaseOperation + */ + public function setPercentProgress($val) + { + $this->_propDict["percentProgress"] = intval($val); + return $this; + } + + /** + * Gets the resultInfo + * Contains success and failure-specific result information. + * + * @return \Beta\Microsoft\Graph\Model\ResultInfo|null The resultInfo + */ + public function getResultInfo() + { + if (array_key_exists("resultInfo", $this->_propDict)) { + if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["resultInfo"])) { + return $this->_propDict["resultInfo"]; + } else { + $this->_propDict["resultInfo"] = new \Beta\Microsoft\Graph\Model\ResultInfo($this->_propDict["resultInfo"]); + return $this->_propDict["resultInfo"]; + } + } + return null; + } + + /** + * Sets the resultInfo + * Contains success and failure-specific result information. + * + * @param \Beta\Microsoft\Graph\Model\ResultInfo $val The resultInfo + * + * @return CaseOperation + */ + public function setResultInfo($val) + { + $this->_propDict["resultInfo"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the case operation. Possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed. + * + * @return CaseOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CaseOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the case operation. Possible values are: notStarted, submissionFailed, running, succeeded, partiallySucceeded, failed. + * + * @param CaseOperationStatus $val The status + * + * @return CaseOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseOperationStatus.php new file mode 100644 index 0000000..977e9a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseOperationStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["ocr"], "\Beta\Microsoft\Graph\Ediscovery\Model\OcrSettings") || is_null($this->_propDict["ocr"])) { + return $this->_propDict["ocr"]; + } else { + $this->_propDict["ocr"] = new OcrSettings($this->_propDict["ocr"]); + return $this->_propDict["ocr"]; + } + } + return null; + } + + /** + * Sets the ocr + * The OCR (Optical Character Recognition) settings for the case. + * + * @param OcrSettings $val The ocr + * + * @return CaseSettings + */ + public function setOcr($val) + { + $this->_propDict["ocr"] = $val; + return $this; + } + + /** + * Gets the redundancyDetection + * The redundancy (near duplicate and email threading) detection settings for the case. + * + * @return RedundancyDetectionSettings|null The redundancyDetection + */ + public function getRedundancyDetection() + { + if (array_key_exists("redundancyDetection", $this->_propDict)) { + if (is_a($this->_propDict["redundancyDetection"], "\Beta\Microsoft\Graph\Ediscovery\Model\RedundancyDetectionSettings") || is_null($this->_propDict["redundancyDetection"])) { + return $this->_propDict["redundancyDetection"]; + } else { + $this->_propDict["redundancyDetection"] = new RedundancyDetectionSettings($this->_propDict["redundancyDetection"]); + return $this->_propDict["redundancyDetection"]; + } + } + return null; + } + + /** + * Sets the redundancyDetection + * The redundancy (near duplicate and email threading) detection settings for the case. + * + * @param RedundancyDetectionSettings $val The redundancyDetection + * + * @return CaseSettings + */ + public function setRedundancyDetection($val) + { + $this->_propDict["redundancyDetection"] = $val; + return $this; + } + + /** + * Gets the topicModeling + * The Topic Modeling (Themes) settings for the case. + * + * @return TopicModelingSettings|null The topicModeling + */ + public function getTopicModeling() + { + if (array_key_exists("topicModeling", $this->_propDict)) { + if (is_a($this->_propDict["topicModeling"], "\Beta\Microsoft\Graph\Ediscovery\Model\TopicModelingSettings") || is_null($this->_propDict["topicModeling"])) { + return $this->_propDict["topicModeling"]; + } else { + $this->_propDict["topicModeling"] = new TopicModelingSettings($this->_propDict["topicModeling"]); + return $this->_propDict["topicModeling"]; + } + } + return null; + } + + /** + * Sets the topicModeling + * The Topic Modeling (Themes) settings for the case. + * + * @param TopicModelingSettings $val The topicModeling + * + * @return CaseSettings + */ + public function setTopicModeling($val) + { + $this->_propDict["topicModeling"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseStatus.php new file mode 100644 index 0000000..5a031e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["acknowledgedDateTime"], "\DateTime") || is_null($this->_propDict["acknowledgedDateTime"])) { + return $this->_propDict["acknowledgedDateTime"]; + } else { + $this->_propDict["acknowledgedDateTime"] = new \DateTime($this->_propDict["acknowledgedDateTime"]); + return $this->_propDict["acknowledgedDateTime"]; + } + } + return null; + } + + /** + * Sets the acknowledgedDateTime + * Date and time the custodian acknowledged a hold notification. + * + * @param \DateTime $val The acknowledgedDateTime + * + * @return Custodian + */ + public function setAcknowledgedDateTime($val) + { + $this->_propDict["acknowledgedDateTime"] = $val; + return $this; + } + + /** + * Gets the applyHoldToSources + * Identifies whether a custodian's sources were placed on hold during creation. + * + * @return bool|null The applyHoldToSources + */ + public function getApplyHoldToSources() + { + if (array_key_exists("applyHoldToSources", $this->_propDict)) { + return $this->_propDict["applyHoldToSources"]; + } else { + return null; + } + } + + /** + * Sets the applyHoldToSources + * Identifies whether a custodian's sources were placed on hold during creation. + * + * @param bool $val The applyHoldToSources + * + * @return Custodian + */ + public function setApplyHoldToSources($val) + { + $this->_propDict["applyHoldToSources"] = boolval($val); + return $this; + } + + /** + * Gets the email + * Email address of the custodian. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email address of the custodian. + * + * @param string $val The email + * + * @return Custodian + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + + /** + * Gets the siteSources + * Data source entity for SharePoint sites associated with the custodian. + * + * @return array|null The siteSources + */ + public function getSiteSources() + { + if (array_key_exists("siteSources", $this->_propDict)) { + return $this->_propDict["siteSources"]; + } else { + return null; + } + } + + /** + * Sets the siteSources + * Data source entity for SharePoint sites associated with the custodian. + * + * @param SiteSource[] $val The siteSources + * + * @return Custodian + */ + public function setSiteSources($val) + { + $this->_propDict["siteSources"] = $val; + return $this; + } + + + /** + * Gets the unifiedGroupSources + * Data source entity for groups associated with the custodian. + * + * @return array|null The unifiedGroupSources + */ + public function getUnifiedGroupSources() + { + if (array_key_exists("unifiedGroupSources", $this->_propDict)) { + return $this->_propDict["unifiedGroupSources"]; + } else { + return null; + } + } + + /** + * Sets the unifiedGroupSources + * Data source entity for groups associated with the custodian. + * + * @param UnifiedGroupSource[] $val The unifiedGroupSources + * + * @return Custodian + */ + public function setUnifiedGroupSources($val) + { + $this->_propDict["unifiedGroupSources"] = $val; + return $this; + } + + + /** + * Gets the userSources + * Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. + * + * @return array|null The userSources + */ + public function getUserSources() + { + if (array_key_exists("userSources", $this->_propDict)) { + return $this->_propDict["userSources"]; + } else { + return null; + } + } + + /** + * Sets the userSources + * Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. + * + * @param UserSource[] $val The userSources + * + * @return Custodian + */ + public function setUserSources($val) + { + $this->_propDict["userSources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CustodianStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CustodianStatus.php new file mode 100644 index 0000000..865a6b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CustodianStatus.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the dataSource. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return DataSource + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the dataSource was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the dataSource was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DataSource + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the dataSource. This will be the name of the SharePoint site. + * + * @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 + * The display name of the dataSource. This will be the name of the SharePoint site. + * + * @param string $val The displayName + * + * @return DataSource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the holdStatus + * + * @return DataSourceHoldStatus|null The holdStatus + */ + public function getHoldStatus() + { + if (array_key_exists("holdStatus", $this->_propDict)) { + if (is_a($this->_propDict["holdStatus"], "\Beta\Microsoft\Graph\Ediscovery\Model\DataSourceHoldStatus") || is_null($this->_propDict["holdStatus"])) { + return $this->_propDict["holdStatus"]; + } else { + $this->_propDict["holdStatus"] = new DataSourceHoldStatus($this->_propDict["holdStatus"]); + return $this->_propDict["holdStatus"]; + } + } + return null; + } + + /** + * Sets the holdStatus + * + * @param DataSourceHoldStatus $val The holdStatus + * + * @return DataSource + */ + public function setHoldStatus($val) + { + $this->_propDict["holdStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainer.php new file mode 100644 index 0000000..25db656 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainer.php @@ -0,0 +1,250 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Created date and time of the dataSourceContainer entity. + * + * @param \DateTime $val The createdDateTime + * + * @return DataSourceContainer + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the dataSourceContainer entity. + * + * @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 + * Display name of the dataSourceContainer entity. + * + * @param string $val The displayName + * + * @return DataSourceContainer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the holdStatus + * + * @return DataSourceHoldStatus|null The holdStatus + */ + public function getHoldStatus() + { + if (array_key_exists("holdStatus", $this->_propDict)) { + if (is_a($this->_propDict["holdStatus"], "\Beta\Microsoft\Graph\Ediscovery\Model\DataSourceHoldStatus") || is_null($this->_propDict["holdStatus"])) { + return $this->_propDict["holdStatus"]; + } else { + $this->_propDict["holdStatus"] = new DataSourceHoldStatus($this->_propDict["holdStatus"]); + return $this->_propDict["holdStatus"]; + } + } + return null; + } + + /** + * Sets the holdStatus + * + * @param DataSourceHoldStatus $val The holdStatus + * + * @return DataSourceContainer + */ + public function setHoldStatus($val) + { + $this->_propDict["holdStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified date and time of the dataSourceContainer. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified date and time of the dataSourceContainer. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DataSourceContainer + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the releasedDateTime + * Date and time that the dataSourceContainer was released from the case. + * + * @return \DateTime|null The releasedDateTime + */ + public function getReleasedDateTime() + { + if (array_key_exists("releasedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releasedDateTime"], "\DateTime") || is_null($this->_propDict["releasedDateTime"])) { + return $this->_propDict["releasedDateTime"]; + } else { + $this->_propDict["releasedDateTime"] = new \DateTime($this->_propDict["releasedDateTime"]); + return $this->_propDict["releasedDateTime"]; + } + } + return null; + } + + /** + * Sets the releasedDateTime + * Date and time that the dataSourceContainer was released from the case. + * + * @param \DateTime $val The releasedDateTime + * + * @return DataSourceContainer + */ + public function setReleasedDateTime($val) + { + $this->_propDict["releasedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Latest status of the dataSourceContainer. Possible values are: Active, Released. + * + * @return DataSourceContainerStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\DataSourceContainerStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DataSourceContainerStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Latest status of the dataSourceContainer. Possible values are: Active, Released. + * + * @param DataSourceContainerStatus $val The status + * + * @return DataSourceContainer + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the lastIndexOperation + * + * @return CaseIndexOperation|null The lastIndexOperation + */ + public function getLastIndexOperation() + { + if (array_key_exists("lastIndexOperation", $this->_propDict)) { + if (is_a($this->_propDict["lastIndexOperation"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseIndexOperation") || is_null($this->_propDict["lastIndexOperation"])) { + return $this->_propDict["lastIndexOperation"]; + } else { + $this->_propDict["lastIndexOperation"] = new CaseIndexOperation($this->_propDict["lastIndexOperation"]); + return $this->_propDict["lastIndexOperation"]; + } + } + return null; + } + + /** + * Sets the lastIndexOperation + * + * @param CaseIndexOperation $val The lastIndexOperation + * + * @return DataSourceContainer + */ + public function setLastIndexOperation($val) + { + $this->_propDict["lastIndexOperation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainerStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainerStatus.php new file mode 100644 index 0000000..5cca7f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainerStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["cases"]; + } else { + return null; + } + } + + /** + * Sets the cases + * + * @param GraphCase[] $val The cases + * + * @return Ediscoveryroot + */ + public function setCases($val) + { + $this->_propDict["cases"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/EstimateStatisticsOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/EstimateStatisticsOperation.php new file mode 100644 index 0000000..2e90436 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/EstimateStatisticsOperation.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["indexedItemCount"]; + } else { + return null; + } + } + + /** + * Sets the indexedItemCount + * The estimated count of items for the sourceCollection that matched the content query. + * + * @param int $val The indexedItemCount + * + * @return EstimateStatisticsOperation + */ + public function setIndexedItemCount($val) + { + $this->_propDict["indexedItemCount"] = intval($val); + return $this; + } + + /** + * Gets the indexedItemsSize + * The estimated size of items for the sourceCollection that matched the content query. + * + * @return int|null The indexedItemsSize + */ + public function getIndexedItemsSize() + { + if (array_key_exists("indexedItemsSize", $this->_propDict)) { + return $this->_propDict["indexedItemsSize"]; + } else { + return null; + } + } + + /** + * Sets the indexedItemsSize + * The estimated size of items for the sourceCollection that matched the content query. + * + * @param int $val The indexedItemsSize + * + * @return EstimateStatisticsOperation + */ + public function setIndexedItemsSize($val) + { + $this->_propDict["indexedItemsSize"] = intval($val); + return $this; + } + + /** + * Gets the mailboxCount + * The number of mailboxes that had search hits. + * + * @return int|null The mailboxCount + */ + public function getMailboxCount() + { + if (array_key_exists("mailboxCount", $this->_propDict)) { + return $this->_propDict["mailboxCount"]; + } else { + return null; + } + } + + /** + * Sets the mailboxCount + * The number of mailboxes that had search hits. + * + * @param int $val The mailboxCount + * + * @return EstimateStatisticsOperation + */ + public function setMailboxCount($val) + { + $this->_propDict["mailboxCount"] = intval($val); + return $this; + } + + /** + * Gets the siteCount + * The number of mailboxes that had search hits. + * + * @return int|null The siteCount + */ + public function getSiteCount() + { + if (array_key_exists("siteCount", $this->_propDict)) { + return $this->_propDict["siteCount"]; + } else { + return null; + } + } + + /** + * Sets the siteCount + * The number of mailboxes that had search hits. + * + * @param int $val The siteCount + * + * @return EstimateStatisticsOperation + */ + public function setSiteCount($val) + { + $this->_propDict["siteCount"] = intval($val); + return $this; + } + + /** + * Gets the unindexedItemCount + * The estimated count of unindexed items for the collection. + * + * @return int|null The unindexedItemCount + */ + public function getUnindexedItemCount() + { + if (array_key_exists("unindexedItemCount", $this->_propDict)) { + return $this->_propDict["unindexedItemCount"]; + } else { + return null; + } + } + + /** + * Sets the unindexedItemCount + * The estimated count of unindexed items for the collection. + * + * @param int $val The unindexedItemCount + * + * @return EstimateStatisticsOperation + */ + public function setUnindexedItemCount($val) + { + $this->_propDict["unindexedItemCount"] = intval($val); + return $this; + } + + /** + * Gets the unindexedItemsSize + * The estimated size of unindexed items for the collection. + * + * @return int|null The unindexedItemsSize + */ + public function getUnindexedItemsSize() + { + if (array_key_exists("unindexedItemsSize", $this->_propDict)) { + return $this->_propDict["unindexedItemsSize"]; + } else { + return null; + } + } + + /** + * Sets the unindexedItemsSize + * The estimated size of unindexed items for the collection. + * + * @param int $val The unindexedItemsSize + * + * @return EstimateStatisticsOperation + */ + public function setUnindexedItemsSize($val) + { + $this->_propDict["unindexedItemsSize"] = intval($val); + return $this; + } + + /** + * Gets the sourceCollection + * eDiscovery collection, commonly known as a search. + * + * @return SourceCollection|null The sourceCollection + */ + public function getSourceCollection() + { + if (array_key_exists("sourceCollection", $this->_propDict)) { + if (is_a($this->_propDict["sourceCollection"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceCollection") || is_null($this->_propDict["sourceCollection"])) { + return $this->_propDict["sourceCollection"]; + } else { + $this->_propDict["sourceCollection"] = new SourceCollection($this->_propDict["sourceCollection"]); + return $this->_propDict["sourceCollection"]; + } + } + return null; + } + + /** + * Sets the sourceCollection + * eDiscovery collection, commonly known as a search. + * + * @param SourceCollection $val The sourceCollection + * + * @return EstimateStatisticsOperation + */ + public function setSourceCollection($val) + { + $this->_propDict["sourceCollection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ExportFileStructure.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ExportFileStructure.php new file mode 100644 index 0000000..56784d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ExportFileStructure.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["closedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["closedBy"])) { + return $this->_propDict["closedBy"]; + } else { + $this->_propDict["closedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["closedBy"]); + return $this->_propDict["closedBy"]; + } + } + return null; + } + + /** + * Sets the closedBy + * The user who closed the case. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The closedBy + * + * @return GraphCase + */ + public function setClosedBy($val) + { + $this->_propDict["closedBy"] = $val; + return $this; + } + + /** + * Gets the closedDateTime + * The date and time when the case was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The closedDateTime + */ + public function getClosedDateTime() + { + if (array_key_exists("closedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { + return $this->_propDict["closedDateTime"]; + } else { + $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); + return $this->_propDict["closedDateTime"]; + } + } + return null; + } + + /** + * Sets the closedDateTime + * The date and time when the case was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The closedDateTime + * + * @return GraphCase + */ + public function setClosedDateTime($val) + { + $this->_propDict["closedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the entity was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the entity was created. 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 createdDateTime + * + * @return GraphCase + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The case description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The case description. + * + * @param string $val The description + * + * @return GraphCase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The case name. + * + * @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 + * The case name. + * + * @param string $val The displayName + * + * @return GraphCase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external case number for customer reference. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external case number for customer reference. + * + * @param string $val The externalId + * + * @return GraphCase + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The last user who modified the entity. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The last user who modified the entity. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return GraphCase + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The latest date and time when the case was modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The latest date and time when the case was modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GraphCase + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The case status. Possible values are unknown, active, pendingDelete, closing, closed, and closedWithError. For details, see the following table. + * + * @return CaseStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CaseStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The case status. Possible values are unknown, active, pendingDelete, closing, closed, and closedWithError. For details, see the following table. + * + * @param CaseStatus $val The status + * + * @return GraphCase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the custodians + * Returns a list of case custodian objects for this case. Nullable. + * + * @return array|null The custodians + */ + public function getCustodians() + { + if (array_key_exists("custodians", $this->_propDict)) { + return $this->_propDict["custodians"]; + } else { + return null; + } + } + + /** + * Sets the custodians + * Returns a list of case custodian objects for this case. Nullable. + * + * @param Custodian[] $val The custodians + * + * @return GraphCase + */ + public function setCustodians($val) + { + $this->_propDict["custodians"] = $val; + return $this; + } + + + /** + * Gets the legalHolds + * Returns a list of case legalHold objects for this case. Nullable. + * + * @return array|null The legalHolds + */ + public function getLegalHolds() + { + if (array_key_exists("legalHolds", $this->_propDict)) { + return $this->_propDict["legalHolds"]; + } else { + return null; + } + } + + /** + * Sets the legalHolds + * Returns a list of case legalHold objects for this case. Nullable. + * + * @param LegalHold[] $val The legalHolds + * + * @return GraphCase + */ + public function setLegalHolds($val) + { + $this->_propDict["legalHolds"] = $val; + return $this; + } + + + /** + * Gets the noncustodialDataSources + * Returns a list of case noncustodialDataSource objects for this case. Nullable. + * + * @return array|null The noncustodialDataSources + */ + public function getNoncustodialDataSources() + { + if (array_key_exists("noncustodialDataSources", $this->_propDict)) { + return $this->_propDict["noncustodialDataSources"]; + } else { + return null; + } + } + + /** + * Sets the noncustodialDataSources + * Returns a list of case noncustodialDataSource objects for this case. Nullable. + * + * @param NoncustodialDataSource[] $val The noncustodialDataSources + * + * @return GraphCase + */ + public function setNoncustodialDataSources($val) + { + $this->_propDict["noncustodialDataSources"] = $val; + return $this; + } + + + /** + * Gets the operations + * Returns a list of case operation objects for this case. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Returns a list of case operation objects for this case. Nullable. + * + * @param CaseOperation[] $val The operations + * + * @return GraphCase + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the reviewSets + * Returns a list of reviewSet objects in the case. Read-only. Nullable. + * + * @return array|null The reviewSets + */ + public function getReviewSets() + { + if (array_key_exists("reviewSets", $this->_propDict)) { + return $this->_propDict["reviewSets"]; + } else { + return null; + } + } + + /** + * Sets the reviewSets + * Returns a list of reviewSet objects in the case. Read-only. Nullable. + * + * @param ReviewSet[] $val The reviewSets + * + * @return GraphCase + */ + public function setReviewSets($val) + { + $this->_propDict["reviewSets"] = $val; + return $this; + } + + /** + * Gets the settings + * + * @return CaseSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new CaseSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * + * @param CaseSettings $val The settings + * + * @return GraphCase + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the sourceCollections + * Returns a list of sourceCollection objects associated with this case. + * + * @return array|null The sourceCollections + */ + public function getSourceCollections() + { + if (array_key_exists("sourceCollections", $this->_propDict)) { + return $this->_propDict["sourceCollections"]; + } else { + return null; + } + } + + /** + * Sets the sourceCollections + * Returns a list of sourceCollection objects associated with this case. + * + * @param SourceCollection[] $val The sourceCollections + * + * @return GraphCase + */ + public function setSourceCollections($val) + { + $this->_propDict["sourceCollections"] = $val; + return $this; + } + + + /** + * Gets the tags + * Returns a list of tag objects associated to this case. + * + * @return array|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Returns a list of tag objects associated to this case. + * + * @param Tag[] $val The tags + * + * @return GraphCase + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHold.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHold.php new file mode 100644 index 0000000..35c2ffc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHold.php @@ -0,0 +1,425 @@ +_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * KQL query that specifies content to be held in the specified locations. To learn more, see Keyword queries and search conditions for Content Search and eDiscovery. To hold all content in the specified locations, leave contentQuery blank. + * + * @param string $val The contentQuery + * + * @return LegalHold + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created the legal hold. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the legal hold. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return LegalHold + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the legal hold was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the legal hold was created. + * + * @param \DateTime $val The createdDateTime + * + * @return LegalHold + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The legal hold description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The legal hold description. + * + * @param string $val The description + * + * @return LegalHold + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the legal hold. + * + * @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 + * The display name of the legal hold. + * + * @param string $val The displayName + * + * @return LegalHold + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errors + * Lists any errors that happened while placing the hold. + * + * @return string|null The errors + */ + public function getErrors() + { + if (array_key_exists("errors", $this->_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * Lists any errors that happened while placing the hold. + * + * @param string $val The errors + * + * @return LegalHold + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the hold is enabled and actively holding content. + * + * @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 + * Indicates whether the hold is enabled and actively holding content. + * + * @param bool $val The isEnabled + * + * @return LegalHold + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * the user who last modified the legal hold. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * the user who last modified the legal hold. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return LegalHold + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the legal hold was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the legal hold was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return LegalHold + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the legal hold. Possible values are: Pending, Error, Success, UnknownFutureValue. + * + * @return LegalHoldStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\LegalHoldStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new LegalHoldStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the legal hold. Possible values are: Pending, Error, Success, UnknownFutureValue. + * + * @param LegalHoldStatus $val The status + * + * @return LegalHold + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the siteSources + * Data source entity for SharePoint sites associated with the legal hold. + * + * @return array|null The siteSources + */ + public function getSiteSources() + { + if (array_key_exists("siteSources", $this->_propDict)) { + return $this->_propDict["siteSources"]; + } else { + return null; + } + } + + /** + * Sets the siteSources + * Data source entity for SharePoint sites associated with the legal hold. + * + * @param SiteSource[] $val The siteSources + * + * @return LegalHold + */ + public function setSiteSources($val) + { + $this->_propDict["siteSources"] = $val; + return $this; + } + + + /** + * Gets the unifiedGroupSources + * + * @return array|null The unifiedGroupSources + */ + public function getUnifiedGroupSources() + { + if (array_key_exists("unifiedGroupSources", $this->_propDict)) { + return $this->_propDict["unifiedGroupSources"]; + } else { + return null; + } + } + + /** + * Sets the unifiedGroupSources + * + * @param UnifiedGroupSource[] $val The unifiedGroupSources + * + * @return LegalHold + */ + public function setUnifiedGroupSources($val) + { + $this->_propDict["unifiedGroupSources"] = $val; + return $this; + } + + + /** + * Gets the userSources + * Data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. + * + * @return array|null The userSources + */ + public function getUserSources() + { + if (array_key_exists("userSources", $this->_propDict)) { + return $this->_propDict["userSources"]; + } else { + return null; + } + } + + /** + * Sets the userSources + * Data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. + * + * @param UserSource[] $val The userSources + * + * @return LegalHold + */ + public function setUserSources($val) + { + $this->_propDict["userSources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHoldStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHoldStatus.php new file mode 100644 index 0000000..80b4996 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHoldStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["applyHoldToSource"]; + } else { + return null; + } + } + + /** + * Sets the applyHoldToSource + * Indicates if hold is applied to non-custodial data source (such as mailbox or site). + * + * @param bool $val The applyHoldToSource + * + * @return NoncustodialDataSource + */ + public function setApplyHoldToSource($val) + { + $this->_propDict["applyHoldToSource"] = boolval($val); + return $this; + } + + /** + * Gets the dataSource + * User source or SharePoint site data source as non-custodial data source. + * + * @return DataSource|null The dataSource + */ + public function getDataSource() + { + if (array_key_exists("dataSource", $this->_propDict)) { + if (is_a($this->_propDict["dataSource"], "\Beta\Microsoft\Graph\Ediscovery\Model\DataSource") || is_null($this->_propDict["dataSource"])) { + return $this->_propDict["dataSource"]; + } else { + $this->_propDict["dataSource"] = new DataSource($this->_propDict["dataSource"]); + return $this->_propDict["dataSource"]; + } + } + return null; + } + + /** + * Sets the dataSource + * User source or SharePoint site data source as non-custodial data source. + * + * @param DataSource $val The dataSource + * + * @return NoncustodialDataSource + */ + public function setDataSource($val) + { + $this->_propDict["dataSource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/OcrSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/OcrSettings.php new file mode 100644 index 0000000..b8bf8ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/OcrSettings.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Indicates whether or not OCR is enabled for the case. + * + * @param bool $val The value of the isEnabled + * + * @return OcrSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the maxImageSize + * Maximum image size that will be processed in KB). + * + * @return int|null The maxImageSize + */ + public function getMaxImageSize() + { + if (array_key_exists("maxImageSize", $this->_propDict)) { + return $this->_propDict["maxImageSize"]; + } else { + return null; + } + } + + /** + * Sets the maxImageSize + * Maximum image size that will be processed in KB). + * + * @param int $val The value of the maxImageSize + * + * @return OcrSettings + */ + public function setMaxImageSize($val) + { + $this->_propDict["maxImageSize"] = $val; + return $this; + } + + /** + * Gets the timeout + * The timeout duration for the OCR engine. A longer timeout may increase success of OCR, but may add to the total processing time. + * + * @return \DateInterval|null The timeout + */ + public function getTimeout() + { + if (array_key_exists("timeout", $this->_propDict)) { + if (is_a($this->_propDict["timeout"], "\DateInterval") || is_null($this->_propDict["timeout"])) { + return $this->_propDict["timeout"]; + } else { + $this->_propDict["timeout"] = new \DateInterval($this->_propDict["timeout"]); + return $this->_propDict["timeout"]; + } + } + return null; + } + + /** + * Sets the timeout + * The timeout duration for the OCR engine. A longer timeout may increase success of OCR, but may add to the total processing time. + * + * @param \DateInterval $val The value to assign to the timeout + * + * @return OcrSettings The OcrSettings + */ + public function setTimeout($val) + { + $this->_propDict["timeout"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/PurgeDataOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/PurgeDataOperation.php new file mode 100644 index 0000000..9046254 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/PurgeDataOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Indicates whether email threading and near duplicate detection are enabled. + * + * @param bool $val The value of the isEnabled + * + * @return RedundancyDetectionSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the maxWords + * Specifies the maximum number of words used for email threading and near duplicate detection. To learn more, see Minimum/maximum number of words. + * + * @return int|null The maxWords + */ + public function getMaxWords() + { + if (array_key_exists("maxWords", $this->_propDict)) { + return $this->_propDict["maxWords"]; + } else { + return null; + } + } + + /** + * Sets the maxWords + * Specifies the maximum number of words used for email threading and near duplicate detection. To learn more, see Minimum/maximum number of words. + * + * @param int $val The value of the maxWords + * + * @return RedundancyDetectionSettings + */ + public function setMaxWords($val) + { + $this->_propDict["maxWords"] = $val; + return $this; + } + /** + * Gets the minWords + * Specifies the minimum number of words used for email threading and near duplicate detection. To learn more, see Minimum/maximum number of words. + * + * @return int|null The minWords + */ + public function getMinWords() + { + if (array_key_exists("minWords", $this->_propDict)) { + return $this->_propDict["minWords"]; + } else { + return null; + } + } + + /** + * Sets the minWords + * Specifies the minimum number of words used for email threading and near duplicate detection. To learn more, see Minimum/maximum number of words. + * + * @param int $val The value of the minWords + * + * @return RedundancyDetectionSettings + */ + public function setMinWords($val) + { + $this->_propDict["minWords"] = $val; + return $this; + } + /** + * Gets the similarityThreshold + * Specifies the similarity level for documents to be put in the same near duplicate set. To learn more, see Document and email similarity threshold. + * + * @return int|null The similarityThreshold + */ + public function getSimilarityThreshold() + { + if (array_key_exists("similarityThreshold", $this->_propDict)) { + return $this->_propDict["similarityThreshold"]; + } else { + return null; + } + } + + /** + * Sets the similarityThreshold + * Specifies the similarity level for documents to be put in the same near duplicate set. To learn more, see Document and email similarity threshold. + * + * @param int $val The value of the similarityThreshold + * + * @return RedundancyDetectionSettings + */ + public function setSimilarityThreshold($val) + { + $this->_propDict["similarityThreshold"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSet.php new file mode 100644 index 0000000..ce9036f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSet.php @@ -0,0 +1,152 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the review set. Read-only. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return ReviewSet + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The datetime when the review set was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The datetime when the review set was created. 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 createdDateTime + * + * @return ReviewSet + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The review set name. The name is unique with a maximum limit of 64 characters. + * + * @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 + * The review set name. The name is unique with a maximum limit of 64 characters. + * + * @param string $val The displayName + * + * @return ReviewSet + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the queries + * Read-only. Nullable. + * + * @return array|null The queries + */ + public function getQueries() + { + if (array_key_exists("queries", $this->_propDict)) { + return $this->_propDict["queries"]; + } else { + return null; + } + } + + /** + * Sets the queries + * Read-only. Nullable. + * + * @param ReviewSetQuery[] $val The queries + * + * @return ReviewSet + */ + public function setQueries($val) + { + $this->_propDict["queries"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSetQuery.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSetQuery.php new file mode 100644 index 0000000..bf5de9a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSetQuery.php @@ -0,0 +1,217 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the query. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return ReviewSetQuery + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The time and date when the query was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time and date when the query was created. 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 createdDateTime + * + * @return ReviewSetQuery + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the query. + * + * @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 + * The name of the query. + * + * @param string $val The displayName + * + * @return ReviewSetQuery + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The user who last modified the query. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The user who last modified the query. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return ReviewSetQuery + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the query was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the query was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ReviewSetQuery + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the query + * The query string in KQL (Keyword Query Language) query. For details, see Document metadata fields in Advanced eDiscovery. This field maps directly to the keywords condition. You can refine searches by using fields listed in the searchable field name paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016. + * + * @return string|null The query + */ + public function getQuery() + { + if (array_key_exists("query", $this->_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * The query string in KQL (Keyword Query Language) query. For details, see Document metadata fields in Advanced eDiscovery. This field maps directly to the keywords condition. You can refine searches by using fields listed in the searchable field name paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016. + * + * @param string $val The query + * + * @return ReviewSetQuery + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SiteSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SiteSource.php new file mode 100644 index 0000000..9dfc78e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SiteSource.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["site"], "\Beta\Microsoft\Graph\Model\Site") || is_null($this->_propDict["site"])) { + return $this->_propDict["site"]; + } else { + $this->_propDict["site"] = new \Beta\Microsoft\Graph\Model\Site($this->_propDict["site"]); + return $this->_propDict["site"]; + } + } + return null; + } + + /** + * Sets the site + * The SharePoint site associated with the siteSource. + * + * @param \Beta\Microsoft\Graph\Model\Site $val The site + * + * @return SiteSource + */ + public function setSite($val) + { + $this->_propDict["site"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php new file mode 100644 index 0000000..51f50ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php @@ -0,0 +1,435 @@ +_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * The query string in KQL (Keyword Query Language) query. For details, see Keyword queries and search conditions for Content Search and eDiscovery. You can refine searches by using fields paired with values; for example, subject:'Quarterly Financials' AND Date&gt;=06/01/2016 AND Date&lt;=07/01/2016. + * + * @param string $val The contentQuery + * + * @return SourceCollection + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created the sourceCollection. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the sourceCollection. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return SourceCollection + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the sourceCollection was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the sourceCollection was created. + * + * @param \DateTime $val The createdDateTime + * + * @return SourceCollection + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dataSourceScopes + * When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. + * + * @return DataSourceScopes|null The dataSourceScopes + */ + public function getDataSourceScopes() + { + if (array_key_exists("dataSourceScopes", $this->_propDict)) { + if (is_a($this->_propDict["dataSourceScopes"], "\Beta\Microsoft\Graph\Ediscovery\Model\DataSourceScopes") || is_null($this->_propDict["dataSourceScopes"])) { + return $this->_propDict["dataSourceScopes"]; + } else { + $this->_propDict["dataSourceScopes"] = new DataSourceScopes($this->_propDict["dataSourceScopes"]); + return $this->_propDict["dataSourceScopes"]; + } + } + return null; + } + + /** + * Sets the dataSourceScopes + * When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. + * + * @param DataSourceScopes $val The dataSourceScopes + * + * @return SourceCollection + */ + public function setDataSourceScopes($val) + { + $this->_propDict["dataSourceScopes"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the sourceCollection. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the sourceCollection. + * + * @param string $val The description + * + * @return SourceCollection + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the sourceCollection. + * + * @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 + * The display name of the sourceCollection. + * + * @param string $val The displayName + * + * @return SourceCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The last user who modified the sourceCollection. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The last user who modified the sourceCollection. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return SourceCollection + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last date and time the sourceCollection was modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last date and time the sourceCollection was modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SourceCollection + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the additionalSources + * Adds an additional source to the sourceCollection. + * + * @return array|null The additionalSources + */ + public function getAdditionalSources() + { + if (array_key_exists("additionalSources", $this->_propDict)) { + return $this->_propDict["additionalSources"]; + } else { + return null; + } + } + + /** + * Sets the additionalSources + * Adds an additional source to the sourceCollection. + * + * @param DataSource[] $val The additionalSources + * + * @return SourceCollection + */ + public function setAdditionalSources($val) + { + $this->_propDict["additionalSources"] = $val; + return $this; + } + + /** + * Gets the addToReviewSetOperation + * Adds the results of the sourceCollection to the specified reviewSet. + * + * @return AddToReviewSetOperation|null The addToReviewSetOperation + */ + public function getAddToReviewSetOperation() + { + if (array_key_exists("addToReviewSetOperation", $this->_propDict)) { + if (is_a($this->_propDict["addToReviewSetOperation"], "\Beta\Microsoft\Graph\Ediscovery\Model\AddToReviewSetOperation") || is_null($this->_propDict["addToReviewSetOperation"])) { + return $this->_propDict["addToReviewSetOperation"]; + } else { + $this->_propDict["addToReviewSetOperation"] = new AddToReviewSetOperation($this->_propDict["addToReviewSetOperation"]); + return $this->_propDict["addToReviewSetOperation"]; + } + } + return null; + } + + /** + * Sets the addToReviewSetOperation + * Adds the results of the sourceCollection to the specified reviewSet. + * + * @param AddToReviewSetOperation $val The addToReviewSetOperation + * + * @return SourceCollection + */ + public function setAddToReviewSetOperation($val) + { + $this->_propDict["addToReviewSetOperation"] = $val; + return $this; + } + + + /** + * Gets the custodianSources + * Custodian sources that are included in the sourceCollection. + * + * @return array|null The custodianSources + */ + public function getCustodianSources() + { + if (array_key_exists("custodianSources", $this->_propDict)) { + return $this->_propDict["custodianSources"]; + } else { + return null; + } + } + + /** + * Sets the custodianSources + * Custodian sources that are included in the sourceCollection. + * + * @param DataSource[] $val The custodianSources + * + * @return SourceCollection + */ + public function setCustodianSources($val) + { + $this->_propDict["custodianSources"] = $val; + return $this; + } + + /** + * Gets the lastEstimateStatisticsOperation + * The last estimate operation associated with the sourceCollection. + * + * @return EstimateStatisticsOperation|null The lastEstimateStatisticsOperation + */ + public function getLastEstimateStatisticsOperation() + { + if (array_key_exists("lastEstimateStatisticsOperation", $this->_propDict)) { + if (is_a($this->_propDict["lastEstimateStatisticsOperation"], "\Beta\Microsoft\Graph\Ediscovery\Model\EstimateStatisticsOperation") || is_null($this->_propDict["lastEstimateStatisticsOperation"])) { + return $this->_propDict["lastEstimateStatisticsOperation"]; + } else { + $this->_propDict["lastEstimateStatisticsOperation"] = new EstimateStatisticsOperation($this->_propDict["lastEstimateStatisticsOperation"]); + return $this->_propDict["lastEstimateStatisticsOperation"]; + } + } + return null; + } + + /** + * Sets the lastEstimateStatisticsOperation + * The last estimate operation associated with the sourceCollection. + * + * @param EstimateStatisticsOperation $val The lastEstimateStatisticsOperation + * + * @return SourceCollection + */ + public function setLastEstimateStatisticsOperation($val) + { + $this->_propDict["lastEstimateStatisticsOperation"] = $val; + return $this; + } + + + /** + * Gets the noncustodialSources + * noncustodialDataSource sources that are included in the sourceCollection + * + * @return array|null The noncustodialSources + */ + public function getNoncustodialSources() + { + if (array_key_exists("noncustodialSources", $this->_propDict)) { + return $this->_propDict["noncustodialSources"]; + } else { + return null; + } + } + + /** + * Sets the noncustodialSources + * noncustodialDataSource sources that are included in the sourceCollection + * + * @param NoncustodialDataSource[] $val The noncustodialSources + * + * @return SourceCollection + */ + public function setNoncustodialSources($val) + { + $this->_propDict["noncustodialSources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceType.php new file mode 100644 index 0000000..01c9c22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["childSelectability"], "\Beta\Microsoft\Graph\Ediscovery\Model\ChildSelectability") || is_null($this->_propDict["childSelectability"])) { + return $this->_propDict["childSelectability"]; + } else { + $this->_propDict["childSelectability"] = new ChildSelectability($this->_propDict["childSelectability"]); + return $this->_propDict["childSelectability"]; + } + } + return null; + } + + /** + * Sets the childSelectability + * Indicates whether a single or multiple child tags can be associated with a document. Possible values are: One, Many. This value controls whether the UX presents the tags as checkboxes or a radio button group. + * + * @param ChildSelectability $val The childSelectability + * + * @return Tag + */ + public function setChildSelectability($val) + { + $this->_propDict["childSelectability"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created the tag. + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the tag. + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return Tag + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * The description for the tag. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the tag. + * + * @param string $val The description + * + * @return Tag + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the tag. + * + * @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 + * Display name of the tag. + * + * @param string $val The displayName + * + * @return Tag + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the tag was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the tag was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Tag + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the childTags + * Returns the tags that are a child of a tag. + * + * @return array|null The childTags + */ + public function getChildTags() + { + if (array_key_exists("childTags", $this->_propDict)) { + return $this->_propDict["childTags"]; + } else { + return null; + } + } + + /** + * Sets the childTags + * Returns the tags that are a child of a tag. + * + * @param Tag[] $val The childTags + * + * @return Tag + */ + public function setChildTags($val) + { + $this->_propDict["childTags"] = $val; + return $this; + } + + /** + * Gets the parent + * Returns the parent tag of the specified tag. + * + * @return Tag|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Ediscovery\Model\Tag") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new Tag($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * Returns the parent tag of the specified tag. + * + * @param Tag $val The parent + * + * @return Tag + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/TagOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/TagOperation.php new file mode 100644 index 0000000..cc749db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/TagOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["dynamicallyAdjustTopicCount"]; + } else { + return null; + } + } + + /** + * Sets the dynamicallyAdjustTopicCount + * To learn more, see Adjust maximum number of themes dynamically. + * + * @param bool $val The value of the dynamicallyAdjustTopicCount + * + * @return TopicModelingSettings + */ + public function setDynamicallyAdjustTopicCount($val) + { + $this->_propDict["dynamicallyAdjustTopicCount"] = $val; + return $this; + } + /** + * Gets the ignoreNumbers + * To learn more, see Include numbers in themes. + * + * @return bool|null The ignoreNumbers + */ + public function getIgnoreNumbers() + { + if (array_key_exists("ignoreNumbers", $this->_propDict)) { + return $this->_propDict["ignoreNumbers"]; + } else { + return null; + } + } + + /** + * Sets the ignoreNumbers + * To learn more, see Include numbers in themes. + * + * @param bool $val The value of the ignoreNumbers + * + * @return TopicModelingSettings + */ + public function setIgnoreNumbers($val) + { + $this->_propDict["ignoreNumbers"] = $val; + return $this; + } + /** + * Gets the isEnabled + * Indicates whether themes is enabled for the case. + * + * @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 + * Indicates whether themes is enabled for the case. + * + * @param bool $val The value of the isEnabled + * + * @return TopicModelingSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the topicCount + * To learn more, see Maximum number of themes. + * + * @return int|null The topicCount + */ + public function getTopicCount() + { + if (array_key_exists("topicCount", $this->_propDict)) { + return $this->_propDict["topicCount"]; + } else { + return null; + } + } + + /** + * Sets the topicCount + * To learn more, see Maximum number of themes. + * + * @param int $val The value of the topicCount + * + * @return TopicModelingSettings + */ + public function setTopicCount($val) + { + $this->_propDict["topicCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UnifiedGroupSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UnifiedGroupSource.php new file mode 100644 index 0000000..2e6feb2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UnifiedGroupSource.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["includedSources"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceType") || is_null($this->_propDict["includedSources"])) { + return $this->_propDict["includedSources"]; + } else { + $this->_propDict["includedSources"] = new SourceType($this->_propDict["includedSources"]); + return $this->_propDict["includedSources"]; + } + } + return null; + } + + /** + * Sets the includedSources + * Specifies which sources are included in this group. Possible values are: mailbox, site. + * + * @param SourceType $val The includedSources + * + * @return UnifiedGroupSource + */ + public function setIncludedSources($val) + { + $this->_propDict["includedSources"] = $val; + return $this; + } + + /** + * Gets the group + * The group associated with the unifiedGroupSource. + * + * @return \Beta\Microsoft\Graph\Model\Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new \Beta\Microsoft\Graph\Model\Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * The group associated with the unifiedGroupSource. + * + * @param \Beta\Microsoft\Graph\Model\Group $val The group + * + * @return UnifiedGroupSource + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UserSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UserSource.php new file mode 100644 index 0000000..96afe63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UserSource.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email address of the user's mailbox. + * + * @param string $val The email + * + * @return UserSource + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the includedSources + * Specifies which sources are included in this group. Possible values are: mailbox, site. + * + * @return SourceType|null The includedSources + */ + public function getIncludedSources() + { + if (array_key_exists("includedSources", $this->_propDict)) { + if (is_a($this->_propDict["includedSources"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceType") || is_null($this->_propDict["includedSources"])) { + return $this->_propDict["includedSources"]; + } else { + $this->_propDict["includedSources"] = new SourceType($this->_propDict["includedSources"]); + return $this->_propDict["includedSources"]; + } + } + return null; + } + + /** + * Sets the includedSources + * Specifies which sources are included in this group. Possible values are: mailbox, site. + * + * @param SourceType $val The includedSources + * + * @return UserSource + */ + public function setIncludedSources($val) + { + $this->_propDict["includedSources"] = $val; + return $this; + } + + /** + * Gets the siteWebUrl + * The URL of the user's OneDrive for Business site. Read-only. + * + * @return string|null The siteWebUrl + */ + public function getSiteWebUrl() + { + if (array_key_exists("siteWebUrl", $this->_propDict)) { + return $this->_propDict["siteWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the siteWebUrl + * The URL of the user's OneDrive for Business site. Read-only. + * + * @param string $val The siteWebUrl + * + * @return UserSource + */ + public function setSiteWebUrl($val) + { + $this->_propDict["siteWebUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AccessType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AccessType.php new file mode 100644 index 0000000..fe4a9de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AccessType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\AccessType") || is_null($this->_propDict["accessType"])) { + return $this->_propDict["accessType"]; + } else { + $this->_propDict["accessType"] = new AccessType($this->_propDict["accessType"]); + return $this->_propDict["accessType"]; + } + } + return null; + } + + /** + * Sets the accessType + * The access granted to the identity. Possible values are: grant, deny. + * + * @param AccessType $val The value to assign to the accessType + * + * @return Acl The Acl + */ + public function setAccessType($val) + { + $this->_propDict["accessType"] = $val; + return $this; + } + + /** + * Gets the identitySource + * The source of identity. Possible values are azureActiveDirectory or external. + * + * @return IdentitySourceType|null The identitySource + */ + public function getIdentitySource() + { + if (array_key_exists("identitySource", $this->_propDict)) { + if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\IdentitySourceType") || is_null($this->_propDict["identitySource"])) { + return $this->_propDict["identitySource"]; + } else { + $this->_propDict["identitySource"] = new IdentitySourceType($this->_propDict["identitySource"]); + return $this->_propDict["identitySource"]; + } + } + return null; + } + + /** + * Sets the identitySource + * The source of identity. Possible values are azureActiveDirectory or external. + * + * @param IdentitySourceType $val The value to assign to the identitySource + * + * @return Acl The Acl + */ + public function setIdentitySource($val) + { + $this->_propDict["identitySource"] = $val; + return $this; + } + + /** + * Gets the type + * The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external. + * + * @return AclType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\AclType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AclType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external. + * + * @param AclType $val The value to assign to the type + * + * @return Acl The Acl + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. + * + * @param string $val The value of the value + * + * @return Acl + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AclType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AclType.php new file mode 100644 index 0000000..277d620 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AclType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["authorizedAppIds"]; + } else { + return null; + } + } + + /** + * Sets the authorizedAppIds + * A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection. + * + * @param string $val The value of the authorizedAppIds + * + * @return Configuration + */ + public function setAuthorizedAppIds($val) + { + $this->_propDict["authorizedAppIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperation.php new file mode 100644 index 0000000..84db9f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperation.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new \Beta\Microsoft\Graph\Model\PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * If status is failed, provides more information about the error that caused the failure. + * + * @param \Beta\Microsoft\Graph\Model\PublicError $val The error + * + * @return ConnectionOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed. + * + * @return ConnectionOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ConnectionOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ConnectionOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed. + * + * @param ConnectionOperationStatus $val The status + * + * @return ConnectionOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperationStatus.php new file mode 100644 index 0000000..0af4f46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperationStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["itemsRemaining"]; + } else { + return null; + } + } + + /** + * Sets the itemsRemaining + * The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. + * + * @param int $val The itemsRemaining + * + * @return ConnectionQuota + */ + public function setItemsRemaining($val) + { + $this->_propDict["itemsRemaining"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionState.php new file mode 100644 index 0000000..7ba8085 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The text identifier for the display template; for example, contosoTickets. + * + * @param string $val The value of the id + * + * @return DisplayTemplate + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the layout + * The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. + * + * @return string|null The layout + */ + public function getLayout() + { + if (array_key_exists("layout", $this->_propDict)) { + return $this->_propDict["layout"]; + } else { + return null; + } + } + + /** + * Sets the layout + * The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. + * + * @param string $val The value of the layout + * + * @return DisplayTemplate + */ + public function setLayout($val) + { + $this->_propDict["layout"] = $val; + return $this; + } + /** + * Gets the priority + * Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. + * + * @param int $val The value of the priority + * + * @return DisplayTemplate + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + + /** + * Gets the rules + * Specifies additional rules for selecting this display template based on the item schema. Optional. + * + * @return PropertyRule|null The rules + */ + public function getRules() + { + if (array_key_exists("rules", $this->_propDict)) { + if (is_a($this->_propDict["rules"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\PropertyRule") || is_null($this->_propDict["rules"])) { + return $this->_propDict["rules"]; + } else { + $this->_propDict["rules"] = new PropertyRule($this->_propDict["rules"]); + return $this->_propDict["rules"]; + } + } + return null; + } + + /** + * Sets the rules + * Specifies additional rules for selecting this display template based on the item schema. Optional. + * + * @param PropertyRule $val The value to assign to the rules + * + * @return DisplayTemplate The DisplayTemplate + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php new file mode 100644 index 0000000..a54239a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php @@ -0,0 +1,132 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the External + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the connections + * + * @return array|null The connections + */ + public function getConnections() + { + if (array_key_exists("connections", $this->_propDict)) { + return $this->_propDict["connections"]; + } else { + return null; + } + } + + /** + * Sets the connections + * + * @param ExternalConnection[] $val The connections + * + * @return External + */ + public function setConnections($val) + { + $this->_propDict["connections"] = $val; + 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 External + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php new file mode 100644 index 0000000..3999924 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php @@ -0,0 +1,398 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\Configuration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new Configuration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional. + * + * @param Configuration $val The configuration + * + * @return ExternalConnection + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the connectorId + * The Teams App ID. Optional. + * + * @return string|null The connectorId + */ + public function getConnectorId() + { + if (array_key_exists("connectorId", $this->_propDict)) { + return $this->_propDict["connectorId"]; + } else { + return null; + } + } + + /** + * Sets the connectorId + * The Teams App ID. Optional. + * + * @param string $val The connectorId + * + * @return ExternalConnection + */ + public function setConnectorId($val) + { + $this->_propDict["connectorId"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the connection displayed in the Microsoft 365 admin center. Optional. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the connection displayed in the Microsoft 365 admin center. Optional. + * + * @param string $val The description + * + * @return ExternalConnection + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the ingestedItemsCount + * The number of items ingested into a connection. This value is refreshed every 15 minutes. If the connection state is draft, then ingestedItemsCount will be null. + * + * @return int|null The ingestedItemsCount + */ + public function getIngestedItemsCount() + { + if (array_key_exists("ingestedItemsCount", $this->_propDict)) { + return $this->_propDict["ingestedItemsCount"]; + } else { + return null; + } + } + + /** + * Sets the ingestedItemsCount + * The number of items ingested into a connection. This value is refreshed every 15 minutes. If the connection state is draft, then ingestedItemsCount will be null. + * + * @param int $val The ingestedItemsCount + * + * @return ExternalConnection + */ + public function setIngestedItemsCount($val) + { + $this->_propDict["ingestedItemsCount"] = intval($val); + return $this; + } + + /** + * Gets the name + * The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. + * + * @param string $val The name + * + * @return ExternalConnection + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the searchSettings + * The settings configuring the search experience for content in this connection, such as the display templates for search results. + * + * @return SearchSettings|null The searchSettings + */ + public function getSearchSettings() + { + if (array_key_exists("searchSettings", $this->_propDict)) { + if (is_a($this->_propDict["searchSettings"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\SearchSettings") || is_null($this->_propDict["searchSettings"])) { + return $this->_propDict["searchSettings"]; + } else { + $this->_propDict["searchSettings"] = new SearchSettings($this->_propDict["searchSettings"]); + return $this->_propDict["searchSettings"]; + } + } + return null; + } + + /** + * Sets the searchSettings + * The settings configuring the search experience for content in this connection, such as the display templates for search results. + * + * @param SearchSettings $val The searchSettings + * + * @return ExternalConnection + */ + public function setSearchSettings($val) + { + $this->_propDict["searchSettings"] = $val; + return $this; + } + + /** + * Gets the state + * Indicates the current state of the connection. Possible values are draft, ready, obsolete, and limitExceeded. Required. + * + * @return ConnectionState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ConnectionState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConnectionState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Indicates the current state of the connection. Possible values are draft, ready, obsolete, and limitExceeded. Required. + * + * @param ConnectionState $val The state + * + * @return ExternalConnection + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the groups + * Read-only. Nullable. + * + * @return array|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * Read-only. Nullable. + * + * @param ExternalGroup[] $val The groups + * + * @return ExternalConnection + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + + /** + * Gets the items + * Read-only. Nullable. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Read-only. Nullable. + * + * @param ExternalItem[] $val The items + * + * @return ExternalConnection + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the operations + * Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Read-only. Nullable. + * + * @param ConnectionOperation[] $val The operations + * + * @return ExternalConnection + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + /** + * Gets the quota + * Read-only. Nullable. + * + * @return ConnectionQuota|null The quota + */ + public function getQuota() + { + if (array_key_exists("quota", $this->_propDict)) { + if (is_a($this->_propDict["quota"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ConnectionQuota") || is_null($this->_propDict["quota"])) { + return $this->_propDict["quota"]; + } else { + $this->_propDict["quota"] = new ConnectionQuota($this->_propDict["quota"]); + return $this->_propDict["quota"]; + } + } + return null; + } + + /** + * Sets the quota + * Read-only. Nullable. + * + * @param ConnectionQuota $val The quota + * + * @return ExternalConnection + */ + public function setQuota($val) + { + $this->_propDict["quota"] = $val; + return $this; + } + + /** + * Gets the schema + * Read-only. Nullable. + * + * @return Schema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\Schema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new Schema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * Read-only. Nullable. + * + * @param Schema $val The schema + * + * @return ExternalConnection + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroup.php new file mode 100644 index 0000000..9eea40c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroup.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the external group. Optional. + * + * @param string $val The description + * + * @return ExternalGroup + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The friendly name of the external group. Optional. + * + * @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 + * The friendly name of the external group. Optional. + * + * @param string $val The displayName + * + * @return ExternalGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the members + * A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. + * + * @param Identity[] $val The members + * + * @return ExternalGroup + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItem.php new file mode 100644 index 0000000..04ddb85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItem.php @@ -0,0 +1,123 @@ +_propDict)) { + return $this->_propDict["acl"]; + } else { + return null; + } + } + + /** + * Sets the acl + * An array of access control entries. Each entry specifies the access granted to a user or group. Required. + * + * @param Acl[] $val The acl + * + * @return ExternalItem + */ + public function setAcl($val) + { + $this->_propDict["acl"] = $val; + return $this; + } + + /** + * Gets the content + * A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional. + * + * @return ExternalItemContent|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContent") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = new ExternalItemContent($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional. + * + * @param ExternalItemContent $val The content + * + * @return ExternalItem + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the externalItemProperties + * A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required. + * + * @return Properties|null The externalItemProperties + */ + public function getExternalItemProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\Properties") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new Properties($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the externalItemProperties + * A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required. + * + * @param Properties $val The externalItemProperties + * + * @return ExternalItem + */ + public function setExternalItemProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContent.php new file mode 100644 index 0000000..c447a51 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContent.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContentType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ExternalItemContentType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of content in the value property. Possible values are text and html. These are the content types that the indexer supports, and not the file extension types allowed. Required. + * + * @param ExternalItemContentType $val The value to assign to the type + * + * @return ExternalItemContent The ExternalItemContent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The content for the externalItem. Required. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The content for the externalItem. Required. + * + * @param string $val The value of the value + * + * @return ExternalItemContent + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContentType.php new file mode 100644 index 0000000..3254d39 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\IdentityType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new IdentityType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of identity. Possible values are: user or group for Azure AD identities and externalgroup for groups in an external system. + * + * @param IdentityType $val The type + * + * @return Identity + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/IdentitySourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/IdentitySourceType.php new file mode 100644 index 0000000..2fff7df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/IdentitySourceType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["aliases"]; + } else { + return null; + } + } + + /** + * Sets the aliases + * A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, `, ^. Optional. + * + * @param string $val The value of the aliases + * + * @return Property + */ + public function setAliases($val) + { + $this->_propDict["aliases"] = $val; + return $this; + } + /** + * Gets the isQueryable + * Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. + * + * @return bool|null The isQueryable + */ + public function getIsQueryable() + { + if (array_key_exists("isQueryable", $this->_propDict)) { + return $this->_propDict["isQueryable"]; + } else { + return null; + } + } + + /** + * Sets the isQueryable + * Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. + * + * @param bool $val The value of the isQueryable + * + * @return Property + */ + public function setIsQueryable($val) + { + $this->_propDict["isQueryable"] = $val; + return $this; + } + /** + * Gets the isRefinable + * Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. + * + * @return bool|null The isRefinable + */ + public function getIsRefinable() + { + if (array_key_exists("isRefinable", $this->_propDict)) { + return $this->_propDict["isRefinable"]; + } else { + return null; + } + } + + /** + * Sets the isRefinable + * Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. + * + * @param bool $val The value of the isRefinable + * + * @return Property + */ + public function setIsRefinable($val) + { + $this->_propDict["isRefinable"] = $val; + return $this; + } + /** + * Gets the isRetrievable + * Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. + * + * @return bool|null The isRetrievable + */ + public function getIsRetrievable() + { + if (array_key_exists("isRetrievable", $this->_propDict)) { + return $this->_propDict["isRetrievable"]; + } else { + return null; + } + } + + /** + * Sets the isRetrievable + * Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. + * + * @param bool $val The value of the isRetrievable + * + * @return Property + */ + public function setIsRetrievable($val) + { + $this->_propDict["isRetrievable"] = $val; + return $this; + } + /** + * Gets the isSearchable + * Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. + * + * @param bool $val The value of the isSearchable + * + * @return Property + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = $val; + return $this; + } + + /** + * Gets the labels + * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + * + * @return Label|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\Label") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Label($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + * + * @param Label $val The value to assign to the labels + * + * @return Property The Property + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, `, ^. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, `, ^. Required. + * + * @param string $val The value of the name + * + * @return Property + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the type + * The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required. + * + * @return PropertyType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\PropertyType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PropertyType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required. + * + * @param PropertyType $val The value to assign to the type + * + * @return Property The Property + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyRule.php new file mode 100644 index 0000000..8729899 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyRule.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["operation"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\RuleOperation") || is_null($this->_propDict["operation"])) { + return $this->_propDict["operation"]; + } else { + $this->_propDict["operation"] = new RuleOperation($this->_propDict["operation"]); + return $this->_propDict["operation"]; + } + } + return null; + } + + /** + * Sets the operation + * Specifies the operations to be performed during evaluation of a single propertyRule, where property and a string from the values collection are the respective operands. Possible values are: null, equals, notEquals, contains, notContains, lessThan, greaterThan, startsWith, unknownFutureValue. Required. + * + * @param RuleOperation $val The value to assign to the operation + * + * @return PropertyRule The PropertyRule + */ + public function setOperation($val) + { + $this->_propDict["operation"] = $val; + return $this; + } + /** + * Gets the property + * The property from the externalItem schema. Required. + * + * @return string|null The property + */ + public function getProperty() + { + if (array_key_exists("property", $this->_propDict)) { + return $this->_propDict["property"]; + } else { + return null; + } + } + + /** + * Sets the property + * The property from the externalItem schema. Required. + * + * @param string $val The value of the property + * + * @return PropertyRule + */ + public function setProperty($val) + { + $this->_propDict["property"] = $val; + return $this; + } + /** + * Gets the values + * A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. + * + * @param string $val The value of the values + * + * @return PropertyRule + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the valuesJoinedBy + * The join operator for evaluating multiple propertyRules. For example, if and is specified, then all propertyRules must be true for the propertyRule to be true. Possible values are: or, and. Required. + * + * @return \Beta\Microsoft\Graph\Model\BinaryOperator|null The valuesJoinedBy + */ + public function getValuesJoinedBy() + { + if (array_key_exists("valuesJoinedBy", $this->_propDict)) { + if (is_a($this->_propDict["valuesJoinedBy"], "\Beta\Microsoft\Graph\Model\BinaryOperator") || is_null($this->_propDict["valuesJoinedBy"])) { + return $this->_propDict["valuesJoinedBy"]; + } else { + $this->_propDict["valuesJoinedBy"] = new \Beta\Microsoft\Graph\Model\BinaryOperator($this->_propDict["valuesJoinedBy"]); + return $this->_propDict["valuesJoinedBy"]; + } + } + return null; + } + + /** + * Sets the valuesJoinedBy + * The join operator for evaluating multiple propertyRules. For example, if and is specified, then all propertyRules must be true for the propertyRule to be true. Possible values are: or, and. Required. + * + * @param \Beta\Microsoft\Graph\Model\BinaryOperator $val The value to assign to the valuesJoinedBy + * + * @return PropertyRule The PropertyRule + */ + public function setValuesJoinedBy($val) + { + $this->_propDict["valuesJoinedBy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyType.php new file mode 100644 index 0000000..d9bc848 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["baseType"]; + } else { + return null; + } + } + + /** + * Sets the baseType + * Must be set to microsoft.graph.externalItem. Required. + * + * @param string $val The baseType + * + * @return Schema + */ + public function setBaseType($val) + { + $this->_propDict["baseType"] = $val; + return $this; + } + + + /** + * Gets the schemaProperties + * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. + * + * @return array|null The schemaProperties + */ + public function getSchemaProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the schemaProperties + * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. + * + * @param Property[] $val The schemaProperties + * + * @return Schema + */ + public function setSchemaProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/SearchSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/SearchSettings.php new file mode 100644 index 0000000..05e65f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/SearchSettings.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["searchResultTemplates"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\DisplayTemplate") || is_null($this->_propDict["searchResultTemplates"])) { + return $this->_propDict["searchResultTemplates"]; + } else { + $this->_propDict["searchResultTemplates"] = new DisplayTemplate($this->_propDict["searchResultTemplates"]); + return $this->_propDict["searchResultTemplates"]; + } + } + return null; + } + + /** + * Sets the searchResultTemplates + * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. + * + * @param DisplayTemplate $val The value to assign to the searchResultTemplates + * + * @return SearchSettings The SearchSettings + */ + public function setSearchResultTemplates($val) + { + $this->_propDict["searchResultTemplates"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/AggregatedPolicyCompliance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/AggregatedPolicyCompliance.php new file mode 100644 index 0000000..8e52434 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/AggregatedPolicyCompliance.php @@ -0,0 +1,354 @@ +_propDict)) { + return $this->_propDict["compliancePolicyId"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicyId + * Identifier for the device compliance policy. Optional. Read-only. + * + * @param string $val The compliancePolicyId + * + * @return AggregatedPolicyCompliance + */ + public function setCompliancePolicyId($val) + { + $this->_propDict["compliancePolicyId"] = $val; + return $this; + } + + /** + * Gets the compliancePolicyName + * Name of the device compliance policy. Optional. Read-only. + * + * @return string|null The compliancePolicyName + */ + public function getCompliancePolicyName() + { + if (array_key_exists("compliancePolicyName", $this->_propDict)) { + return $this->_propDict["compliancePolicyName"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicyName + * Name of the device compliance policy. Optional. Read-only. + * + * @param string $val The compliancePolicyName + * + * @return AggregatedPolicyCompliance + */ + public function setCompliancePolicyName($val) + { + $this->_propDict["compliancePolicyName"] = $val; + return $this; + } + + /** + * Gets the compliancePolicyPlatform + * Platform for the device compliance policy. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, androidAOSP, all. Optional. Read-only. + * + * @return string|null The compliancePolicyPlatform + */ + public function getCompliancePolicyPlatform() + { + if (array_key_exists("compliancePolicyPlatform", $this->_propDict)) { + return $this->_propDict["compliancePolicyPlatform"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicyPlatform + * Platform for the device compliance policy. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, androidAOSP, all. Optional. Read-only. + * + * @param string $val The compliancePolicyPlatform + * + * @return AggregatedPolicyCompliance + */ + public function setCompliancePolicyPlatform($val) + { + $this->_propDict["compliancePolicyPlatform"] = $val; + return $this; + } + + /** + * Gets the compliancePolicyType + * The type of compliance policy. Optional. Read-only. + * + * @return string|null The compliancePolicyType + */ + public function getCompliancePolicyType() + { + if (array_key_exists("compliancePolicyType", $this->_propDict)) { + return $this->_propDict["compliancePolicyType"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicyType + * The type of compliance policy. Optional. Read-only. + * + * @param string $val The compliancePolicyType + * + * @return AggregatedPolicyCompliance + */ + public function setCompliancePolicyType($val) + { + $this->_propDict["compliancePolicyType"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return AggregatedPolicyCompliance + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the numberOfCompliantDevices + * The number of devices that are in a compliant status. Optional. Read-only. + * + * @return int|null The numberOfCompliantDevices + */ + public function getNumberOfCompliantDevices() + { + if (array_key_exists("numberOfCompliantDevices", $this->_propDict)) { + return $this->_propDict["numberOfCompliantDevices"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCompliantDevices + * The number of devices that are in a compliant status. Optional. Read-only. + * + * @param int $val The numberOfCompliantDevices + * + * @return AggregatedPolicyCompliance + */ + public function setNumberOfCompliantDevices($val) + { + $this->_propDict["numberOfCompliantDevices"] = intval($val); + return $this; + } + + /** + * Gets the numberOfErrorDevices + * The number of devices that are in an error status. Optional. Read-only. + * + * @return int|null The numberOfErrorDevices + */ + public function getNumberOfErrorDevices() + { + if (array_key_exists("numberOfErrorDevices", $this->_propDict)) { + return $this->_propDict["numberOfErrorDevices"]; + } else { + return null; + } + } + + /** + * Sets the numberOfErrorDevices + * The number of devices that are in an error status. Optional. Read-only. + * + * @param int $val The numberOfErrorDevices + * + * @return AggregatedPolicyCompliance + */ + public function setNumberOfErrorDevices($val) + { + $this->_propDict["numberOfErrorDevices"] = intval($val); + return $this; + } + + /** + * Gets the numberOfNonCompliantDevices + * The number of device that are in a non-compliant status. Optional. Read-only. + * + * @return int|null The numberOfNonCompliantDevices + */ + public function getNumberOfNonCompliantDevices() + { + if (array_key_exists("numberOfNonCompliantDevices", $this->_propDict)) { + return $this->_propDict["numberOfNonCompliantDevices"]; + } else { + return null; + } + } + + /** + * Sets the numberOfNonCompliantDevices + * The number of device that are in a non-compliant status. Optional. Read-only. + * + * @param int $val The numberOfNonCompliantDevices + * + * @return AggregatedPolicyCompliance + */ + public function setNumberOfNonCompliantDevices($val) + { + $this->_propDict["numberOfNonCompliantDevices"] = intval($val); + return $this; + } + + /** + * Gets the policyModifiedDateTime + * The date and time the device policy was last modified. Optional. Read-only. + * + * @return \DateTime|null The policyModifiedDateTime + */ + public function getPolicyModifiedDateTime() + { + if (array_key_exists("policyModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["policyModifiedDateTime"], "\DateTime") || is_null($this->_propDict["policyModifiedDateTime"])) { + return $this->_propDict["policyModifiedDateTime"]; + } else { + $this->_propDict["policyModifiedDateTime"] = new \DateTime($this->_propDict["policyModifiedDateTime"]); + return $this->_propDict["policyModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the policyModifiedDateTime + * The date and time the device policy was last modified. Optional. Read-only. + * + * @param \DateTime $val The policyModifiedDateTime + * + * @return AggregatedPolicyCompliance + */ + public function setPolicyModifiedDateTime($val) + { + $this->_propDict["policyModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Optional. Read-only. + * + * @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 + * The display name for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return AggregatedPolicyCompliance + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return AggregatedPolicyCompliance + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/AuditEvent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/AuditEvent.php new file mode 100644 index 0000000..5daf86e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/AuditEvent.php @@ -0,0 +1,408 @@ +_propDict)) { + return $this->_propDict["activity"]; + } else { + return null; + } + } + + /** + * Sets the activity + * A string which uniquely represents the operation that occurred. Required. Read-only. + * + * @param string $val The activity + * + * @return AuditEvent + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * The time when the activity ocurred. Required. Read-only. + * + * @return \DateTime|null The activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * The time when the activity ocurred. Required. Read-only. + * + * @param \DateTime $val The activityDateTime + * + * @return AuditEvent + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the activityId + * The identifier of the activity request that made the audit event. Required. Read-only. + * + * @return string|null The activityId + */ + public function getActivityId() + { + if (array_key_exists("activityId", $this->_propDict)) { + return $this->_propDict["activityId"]; + } else { + return null; + } + } + + /** + * Sets the activityId + * The identifier of the activity request that made the audit event. Required. Read-only. + * + * @param string $val The activityId + * + * @return AuditEvent + */ + public function setActivityId($val) + { + $this->_propDict["activityId"] = $val; + return $this; + } + + /** + * Gets the category + * A category which represents a logical grouping of activities. Required. Read-only. + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * A category which represents a logical grouping of activities. Required. Read-only. + * + * @param string $val The category + * + * @return AuditEvent + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the httpVerb + * The HTTP verb that was used when making the API request. Required. Read-only. + * + * @return string|null The httpVerb + */ + public function getHttpVerb() + { + if (array_key_exists("httpVerb", $this->_propDict)) { + return $this->_propDict["httpVerb"]; + } else { + return null; + } + } + + /** + * Sets the httpVerb + * The HTTP verb that was used when making the API request. Required. Read-only. + * + * @param string $val The httpVerb + * + * @return AuditEvent + */ + public function setHttpVerb($val) + { + $this->_propDict["httpVerb"] = $val; + return $this; + } + + /** + * Gets the initiatedByAppId + * The identifier of the app that was used to make the request. Required. Read-only. + * + * @return string|null The initiatedByAppId + */ + public function getInitiatedByAppId() + { + if (array_key_exists("initiatedByAppId", $this->_propDict)) { + return $this->_propDict["initiatedByAppId"]; + } else { + return null; + } + } + + /** + * Sets the initiatedByAppId + * The identifier of the app that was used to make the request. Required. Read-only. + * + * @param string $val The initiatedByAppId + * + * @return AuditEvent + */ + public function setInitiatedByAppId($val) + { + $this->_propDict["initiatedByAppId"] = $val; + return $this; + } + + /** + * Gets the initiatedByUpn + * The UPN of the user who initiated the activity. Required. Read-only. + * + * @return string|null The initiatedByUpn + */ + public function getInitiatedByUpn() + { + if (array_key_exists("initiatedByUpn", $this->_propDict)) { + return $this->_propDict["initiatedByUpn"]; + } else { + return null; + } + } + + /** + * Sets the initiatedByUpn + * The UPN of the user who initiated the activity. Required. Read-only. + * + * @param string $val The initiatedByUpn + * + * @return AuditEvent + */ + public function setInitiatedByUpn($val) + { + $this->_propDict["initiatedByUpn"] = $val; + return $this; + } + + /** + * Gets the initiatedByUserId + * The identifier of the user who initiated the activity. Required. Read-only. + * + * @return string|null The initiatedByUserId + */ + public function getInitiatedByUserId() + { + if (array_key_exists("initiatedByUserId", $this->_propDict)) { + return $this->_propDict["initiatedByUserId"]; + } else { + return null; + } + } + + /** + * Sets the initiatedByUserId + * The identifier of the user who initiated the activity. Required. Read-only. + * + * @param string $val The initiatedByUserId + * + * @return AuditEvent + */ + public function setInitiatedByUserId($val) + { + $this->_propDict["initiatedByUserId"] = $val; + return $this; + } + + /** + * Gets the ipAddress + * The IP address of where the activity was initiated. This may be an IPv4 or IPv6 address. Required. Read-only. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * The IP address of where the activity was initiated. This may be an IPv4 or IPv6 address. Required. Read-only. + * + * @param string $val The ipAddress + * + * @return AuditEvent + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + + /** + * Gets the requestBody + * The raw HTTP request body. Some sensitive information may be removed. + * + * @return string|null The requestBody + */ + public function getRequestBody() + { + if (array_key_exists("requestBody", $this->_propDict)) { + return $this->_propDict["requestBody"]; + } else { + return null; + } + } + + /** + * Sets the requestBody + * The raw HTTP request body. Some sensitive information may be removed. + * + * @param string $val The requestBody + * + * @return AuditEvent + */ + public function setRequestBody($val) + { + $this->_propDict["requestBody"] = $val; + return $this; + } + + /** + * Gets the requestUrl + * The raw HTTP request URL. Required. Read-only. + * + * @return string|null The requestUrl + */ + public function getRequestUrl() + { + if (array_key_exists("requestUrl", $this->_propDict)) { + return $this->_propDict["requestUrl"]; + } else { + return null; + } + } + + /** + * Sets the requestUrl + * The raw HTTP request URL. Required. Read-only. + * + * @param string $val The requestUrl + * + * @return AuditEvent + */ + public function setRequestUrl($val) + { + $this->_propDict["requestUrl"] = $val; + return $this; + } + + /** + * Gets the tenantIds + * The collection of Azure Active Directory tenant identifiers for the managed tenants that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. + * + * @return string|null The tenantIds + */ + public function getTenantIds() + { + if (array_key_exists("tenantIds", $this->_propDict)) { + return $this->_propDict["tenantIds"]; + } else { + return null; + } + } + + /** + * Sets the tenantIds + * The collection of Azure Active Directory tenant identifiers for the managed tenants that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. + * + * @param string $val The tenantIds + * + * @return AuditEvent + */ + public function setTenantIds($val) + { + $this->_propDict["tenantIds"] = $val; + return $this; + } + + /** + * Gets the tenantNames + * The collection of tenant names that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. + * + * @return string|null The tenantNames + */ + public function getTenantNames() + { + if (array_key_exists("tenantNames", $this->_propDict)) { + return $this->_propDict["tenantNames"]; + } else { + return null; + } + } + + /** + * Sets the tenantNames + * The collection of tenant names that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. + * + * @param string $val The tenantNames + * + * @return AuditEvent + */ + public function setTenantNames($val) + { + $this->_propDict["tenantNames"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcConnection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcConnection.php new file mode 100644 index 0000000..a52c5a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcConnection.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the cloud PC connection. Required. Read-only. + * + * @param string $val The displayName + * + * @return CloudPcConnection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the healthCheckStatus + * The health status of the cloud PC connection. Possible values are: pending, running, passed, failed, unknownFutureValue. Required. Read-only. + * + * @return string|null The healthCheckStatus + */ + public function getHealthCheckStatus() + { + if (array_key_exists("healthCheckStatus", $this->_propDict)) { + return $this->_propDict["healthCheckStatus"]; + } else { + return null; + } + } + + /** + * Sets the healthCheckStatus + * The health status of the cloud PC connection. Possible values are: pending, running, passed, failed, unknownFutureValue. Required. Read-only. + * + * @param string $val The healthCheckStatus + * + * @return CloudPcConnection + */ + public function setHealthCheckStatus($val) + { + $this->_propDict["healthCheckStatus"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Required. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Required. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return CloudPcConnection + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Required. Read-only. + * + * @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 + * The display name for the managed tenant. Required. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return CloudPcConnection + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @param string $val The tenantId + * + * @return CloudPcConnection + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcDevice.php new file mode 100644 index 0000000..b4704af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcDevice.php @@ -0,0 +1,375 @@ +_propDict)) { + return $this->_propDict["cloudPcStatus"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcStatus + * The status of the cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, deprovisioning, failed. Required. Read-only. + * + * @param string $val The cloudPcStatus + * + * @return CloudPcDevice + */ + public function setCloudPcStatus($val) + { + $this->_propDict["cloudPcStatus"] = $val; + return $this; + } + + /** + * Gets the deviceSpecification + * + * @return string|null The deviceSpecification + */ + public function getDeviceSpecification() + { + if (array_key_exists("deviceSpecification", $this->_propDict)) { + return $this->_propDict["deviceSpecification"]; + } else { + return null; + } + } + + /** + * Sets the deviceSpecification + * + * @param string $val The deviceSpecification + * + * @return CloudPcDevice + */ + public function setDeviceSpecification($val) + { + $this->_propDict["deviceSpecification"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the cloud PC. Required. Read-only. + * + * @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 + * The display name for the cloud PC. Required. Read-only. + * + * @param string $val The displayName + * + * @return CloudPcDevice + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Required. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Required. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return CloudPcDevice + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The managed device identifier for the cloud PC. Optional. Read-only. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The managed device identifier for the cloud PC. Optional. Read-only. + * + * @param string $val The managedDeviceId + * + * @return CloudPcDevice + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * The managed device display name for the cloud PC. Optional. Read-only. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * The managed device display name for the cloud PC. Optional. Read-only. + * + * @param string $val The managedDeviceName + * + * @return CloudPcDevice + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the provisioningPolicyId + * The provisioning policy identifier for the cloud PC. Required. Read-only. + * + * @return string|null The provisioningPolicyId + */ + public function getProvisioningPolicyId() + { + if (array_key_exists("provisioningPolicyId", $this->_propDict)) { + return $this->_propDict["provisioningPolicyId"]; + } else { + return null; + } + } + + /** + * Sets the provisioningPolicyId + * The provisioning policy identifier for the cloud PC. Required. Read-only. + * + * @param string $val The provisioningPolicyId + * + * @return CloudPcDevice + */ + public function setProvisioningPolicyId($val) + { + $this->_propDict["provisioningPolicyId"] = $val; + return $this; + } + + /** + * Gets the servicePlanName + * The service plan name for the cloud PC. Required. Read-only. + * + * @return string|null The servicePlanName + */ + public function getServicePlanName() + { + if (array_key_exists("servicePlanName", $this->_propDict)) { + return $this->_propDict["servicePlanName"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanName + * The service plan name for the cloud PC. Required. Read-only. + * + * @param string $val The servicePlanName + * + * @return CloudPcDevice + */ + public function setServicePlanName($val) + { + $this->_propDict["servicePlanName"] = $val; + return $this; + } + + /** + * Gets the servicePlanType + * + * @return string|null The servicePlanType + */ + public function getServicePlanType() + { + if (array_key_exists("servicePlanType", $this->_propDict)) { + return $this->_propDict["servicePlanType"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanType + * + * @param string $val The servicePlanType + * + * @return CloudPcDevice + */ + public function setServicePlanType($val) + { + $this->_propDict["servicePlanType"] = $val; + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Required. Read-only. + * + * @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 + * The display name for the managed tenant. Required. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return CloudPcDevice + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @param string $val The tenantId + * + * @return CloudPcDevice + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user assigned to the cloud PC. Required. Read-only. + * + * @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 + * The user principal name (UPN) of the user assigned to the cloud PC. Required. Read-only. + * + * @param string $val The userPrincipalName + * + * @return CloudPcDevice + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcOverview.php new file mode 100644 index 0000000..eb61c37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcOverview.php @@ -0,0 +1,605 @@ +_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return CloudPcOverview + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the numberOfCloudPcConnectionStatusFailed + * The number of cloud PC connections that have a status of failed. Optional. Read-only. + * + * @return int|null The numberOfCloudPcConnectionStatusFailed + */ + public function getNumberOfCloudPcConnectionStatusFailed() + { + if (array_key_exists("numberOfCloudPcConnectionStatusFailed", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcConnectionStatusFailed"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcConnectionStatusFailed + * The number of cloud PC connections that have a status of failed. Optional. Read-only. + * + * @param int $val The numberOfCloudPcConnectionStatusFailed + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcConnectionStatusFailed($val) + { + $this->_propDict["numberOfCloudPcConnectionStatusFailed"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcConnectionStatusPassed + * The number of cloud PC connections that have a status of passed. Optional. Read-only. + * + * @return int|null The numberOfCloudPcConnectionStatusPassed + */ + public function getNumberOfCloudPcConnectionStatusPassed() + { + if (array_key_exists("numberOfCloudPcConnectionStatusPassed", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcConnectionStatusPassed"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcConnectionStatusPassed + * The number of cloud PC connections that have a status of passed. Optional. Read-only. + * + * @param int $val The numberOfCloudPcConnectionStatusPassed + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcConnectionStatusPassed($val) + { + $this->_propDict["numberOfCloudPcConnectionStatusPassed"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcConnectionStatusPending + * The number of cloud PC connections that have a status of pending. Optional. Read-only. + * + * @return int|null The numberOfCloudPcConnectionStatusPending + */ + public function getNumberOfCloudPcConnectionStatusPending() + { + if (array_key_exists("numberOfCloudPcConnectionStatusPending", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcConnectionStatusPending"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcConnectionStatusPending + * The number of cloud PC connections that have a status of pending. Optional. Read-only. + * + * @param int $val The numberOfCloudPcConnectionStatusPending + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcConnectionStatusPending($val) + { + $this->_propDict["numberOfCloudPcConnectionStatusPending"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcConnectionStatusRunning + * The number of cloud PC connections that have a status of running. Optional. Read-only. + * + * @return int|null The numberOfCloudPcConnectionStatusRunning + */ + public function getNumberOfCloudPcConnectionStatusRunning() + { + if (array_key_exists("numberOfCloudPcConnectionStatusRunning", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcConnectionStatusRunning"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcConnectionStatusRunning + * The number of cloud PC connections that have a status of running. Optional. Read-only. + * + * @param int $val The numberOfCloudPcConnectionStatusRunning + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcConnectionStatusRunning($val) + { + $this->_propDict["numberOfCloudPcConnectionStatusRunning"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcConnectionStatusUnkownFutureValue + * The number of cloud PC connections that have a status of unknownFutureValue. Optional. Read-only. + * + * @return int|null The numberOfCloudPcConnectionStatusUnkownFutureValue + */ + public function getNumberOfCloudPcConnectionStatusUnkownFutureValue() + { + if (array_key_exists("numberOfCloudPcConnectionStatusUnkownFutureValue", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcConnectionStatusUnkownFutureValue"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcConnectionStatusUnkownFutureValue + * The number of cloud PC connections that have a status of unknownFutureValue. Optional. Read-only. + * + * @param int $val The numberOfCloudPcConnectionStatusUnkownFutureValue + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcConnectionStatusUnkownFutureValue($val) + { + $this->_propDict["numberOfCloudPcConnectionStatusUnkownFutureValue"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusDeprovisioning + * The number of cloud PCs that have a status of deprovisioning. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusDeprovisioning + */ + public function getNumberOfCloudPcStatusDeprovisioning() + { + if (array_key_exists("numberOfCloudPcStatusDeprovisioning", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusDeprovisioning"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusDeprovisioning + * The number of cloud PCs that have a status of deprovisioning. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusDeprovisioning + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusDeprovisioning($val) + { + $this->_propDict["numberOfCloudPcStatusDeprovisioning"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusFailed + * The number of cloud PCs that have a status of failed. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusFailed + */ + public function getNumberOfCloudPcStatusFailed() + { + if (array_key_exists("numberOfCloudPcStatusFailed", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusFailed"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusFailed + * The number of cloud PCs that have a status of failed. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusFailed + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusFailed($val) + { + $this->_propDict["numberOfCloudPcStatusFailed"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusInGracePeriod + * The number of cloud PCs that have a status of inGracePeriod. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusInGracePeriod + */ + public function getNumberOfCloudPcStatusInGracePeriod() + { + if (array_key_exists("numberOfCloudPcStatusInGracePeriod", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusInGracePeriod"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusInGracePeriod + * The number of cloud PCs that have a status of inGracePeriod. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusInGracePeriod + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusInGracePeriod($val) + { + $this->_propDict["numberOfCloudPcStatusInGracePeriod"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusNotProvisioned + * The number of cloud PCs that have a status of notProvisioned. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusNotProvisioned + */ + public function getNumberOfCloudPcStatusNotProvisioned() + { + if (array_key_exists("numberOfCloudPcStatusNotProvisioned", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusNotProvisioned"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusNotProvisioned + * The number of cloud PCs that have a status of notProvisioned. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusNotProvisioned + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusNotProvisioned($val) + { + $this->_propDict["numberOfCloudPcStatusNotProvisioned"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusProvisioned + * The number of cloud PCs that have a status of provisioned. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusProvisioned + */ + public function getNumberOfCloudPcStatusProvisioned() + { + if (array_key_exists("numberOfCloudPcStatusProvisioned", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusProvisioned"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusProvisioned + * The number of cloud PCs that have a status of provisioned. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusProvisioned + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusProvisioned($val) + { + $this->_propDict["numberOfCloudPcStatusProvisioned"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusProvisioning + * The number of cloud PCs that have a status of provisioning. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusProvisioning + */ + public function getNumberOfCloudPcStatusProvisioning() + { + if (array_key_exists("numberOfCloudPcStatusProvisioning", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusProvisioning"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusProvisioning + * The number of cloud PCs that have a status of provisioning. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusProvisioning + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusProvisioning($val) + { + $this->_propDict["numberOfCloudPcStatusProvisioning"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusUnknown + * The number of cloud PCs that have a status of unknown. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusUnknown + */ + public function getNumberOfCloudPcStatusUnknown() + { + if (array_key_exists("numberOfCloudPcStatusUnknown", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusUnknown"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusUnknown + * The number of cloud PCs that have a status of unknown. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusUnknown + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusUnknown($val) + { + $this->_propDict["numberOfCloudPcStatusUnknown"] = intval($val); + return $this; + } + + /** + * Gets the numberOfCloudPcStatusUpgrading + * The number of cloud PCs that have a status of upgrading. Optional. Read-only. + * + * @return int|null The numberOfCloudPcStatusUpgrading + */ + public function getNumberOfCloudPcStatusUpgrading() + { + if (array_key_exists("numberOfCloudPcStatusUpgrading", $this->_propDict)) { + return $this->_propDict["numberOfCloudPcStatusUpgrading"]; + } else { + return null; + } + } + + /** + * Sets the numberOfCloudPcStatusUpgrading + * The number of cloud PCs that have a status of upgrading. Optional. Read-only. + * + * @param int $val The numberOfCloudPcStatusUpgrading + * + * @return CloudPcOverview + */ + public function setNumberOfCloudPcStatusUpgrading($val) + { + $this->_propDict["numberOfCloudPcStatusUpgrading"] = intval($val); + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Optional. Read-only. + * + * @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 + * The display name for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return CloudPcOverview + */ + 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 CloudPcOverview + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the totalBusinessLicenses + * + * @return int|null The totalBusinessLicenses + */ + public function getTotalBusinessLicenses() + { + if (array_key_exists("totalBusinessLicenses", $this->_propDict)) { + return $this->_propDict["totalBusinessLicenses"]; + } else { + return null; + } + } + + /** + * Sets the totalBusinessLicenses + * + * @param int $val The totalBusinessLicenses + * + * @return CloudPcOverview + */ + public function setTotalBusinessLicenses($val) + { + $this->_propDict["totalBusinessLicenses"] = intval($val); + return $this; + } + + /** + * Gets the totalCloudPcConnectionStatus + * The total number of cloud PC connection statuses for the given managed tenant. Optional. Read-only. + * + * @return int|null The totalCloudPcConnectionStatus + */ + public function getTotalCloudPcConnectionStatus() + { + if (array_key_exists("totalCloudPcConnectionStatus", $this->_propDict)) { + return $this->_propDict["totalCloudPcConnectionStatus"]; + } else { + return null; + } + } + + /** + * Sets the totalCloudPcConnectionStatus + * The total number of cloud PC connection statuses for the given managed tenant. Optional. Read-only. + * + * @param int $val The totalCloudPcConnectionStatus + * + * @return CloudPcOverview + */ + public function setTotalCloudPcConnectionStatus($val) + { + $this->_propDict["totalCloudPcConnectionStatus"] = intval($val); + return $this; + } + + /** + * Gets the totalCloudPcStatus + * The total number of cloud PC statues for the given managed tenant. Optional. Read-only. + * + * @return int|null The totalCloudPcStatus + */ + public function getTotalCloudPcStatus() + { + if (array_key_exists("totalCloudPcStatus", $this->_propDict)) { + return $this->_propDict["totalCloudPcStatus"]; + } else { + return null; + } + } + + /** + * Sets the totalCloudPcStatus + * The total number of cloud PC statues for the given managed tenant. Optional. Read-only. + * + * @param int $val The totalCloudPcStatus + * + * @return CloudPcOverview + */ + public function setTotalCloudPcStatus($val) + { + $this->_propDict["totalCloudPcStatus"] = intval($val); + return $this; + } + + /** + * Gets the totalEnterpriseLicenses + * + * @return int|null The totalEnterpriseLicenses + */ + public function getTotalEnterpriseLicenses() + { + if (array_key_exists("totalEnterpriseLicenses", $this->_propDict)) { + return $this->_propDict["totalEnterpriseLicenses"]; + } else { + return null; + } + } + + /** + * Sets the totalEnterpriseLicenses + * + * @param int $val The totalEnterpriseLicenses + * + * @return CloudPcOverview + */ + public function setTotalEnterpriseLicenses($val) + { + $this->_propDict["totalEnterpriseLicenses"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ConditionalAccessPolicyCoverage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ConditionalAccessPolicyCoverage.php new file mode 100644 index 0000000..d88824e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ConditionalAccessPolicyCoverage.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["conditionalAccessPolicyState"]; + } else { + return null; + } + } + + /** + * Sets the conditionalAccessPolicyState + * The state for the conditional access policy. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. Read-only. + * + * @param string $val The conditionalAccessPolicyState + * + * @return ConditionalAccessPolicyCoverage + */ + public function setConditionalAccessPolicyState($val) + { + $this->_propDict["conditionalAccessPolicyState"] = $val; + return $this; + } + + /** + * Gets the latestPolicyModifiedDateTime + * The date and time the conditional access policy was last modified. Required. Read-only. + * + * @return \DateTime|null The latestPolicyModifiedDateTime + */ + public function getLatestPolicyModifiedDateTime() + { + if (array_key_exists("latestPolicyModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["latestPolicyModifiedDateTime"], "\DateTime") || is_null($this->_propDict["latestPolicyModifiedDateTime"])) { + return $this->_propDict["latestPolicyModifiedDateTime"]; + } else { + $this->_propDict["latestPolicyModifiedDateTime"] = new \DateTime($this->_propDict["latestPolicyModifiedDateTime"]); + return $this->_propDict["latestPolicyModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the latestPolicyModifiedDateTime + * The date and time the conditional access policy was last modified. Required. Read-only. + * + * @param \DateTime $val The latestPolicyModifiedDateTime + * + * @return ConditionalAccessPolicyCoverage + */ + public function setLatestPolicyModifiedDateTime($val) + { + $this->_propDict["latestPolicyModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the requiresDeviceCompliance + * A flag indicating whether the conditional access policy requires device compliance. Required. Read-only. + * + * @return bool|null The requiresDeviceCompliance + */ + public function getRequiresDeviceCompliance() + { + if (array_key_exists("requiresDeviceCompliance", $this->_propDict)) { + return $this->_propDict["requiresDeviceCompliance"]; + } else { + return null; + } + } + + /** + * Sets the requiresDeviceCompliance + * A flag indicating whether the conditional access policy requires device compliance. Required. Read-only. + * + * @param bool $val The requiresDeviceCompliance + * + * @return ConditionalAccessPolicyCoverage + */ + public function setRequiresDeviceCompliance($val) + { + $this->_propDict["requiresDeviceCompliance"] = boolval($val); + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Required. Read-only. + * + * @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 + * The display name for the managed tenant. Required. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return ConditionalAccessPolicyCoverage + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php new file mode 100644 index 0000000..8b46c6e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CredentialUserRegistrationsSummary.php @@ -0,0 +1,348 @@ +_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return CredentialUserRegistrationsSummary + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the mfaAndSsprCapableUserCount + * The number of users that are capable of performing multi-factor authentication or self service password reset. Optional. Read-only. + * + * @return int|null The mfaAndSsprCapableUserCount + */ + public function getMfaAndSsprCapableUserCount() + { + if (array_key_exists("mfaAndSsprCapableUserCount", $this->_propDict)) { + return $this->_propDict["mfaAndSsprCapableUserCount"]; + } else { + return null; + } + } + + /** + * Sets the mfaAndSsprCapableUserCount + * The number of users that are capable of performing multi-factor authentication or self service password reset. Optional. Read-only. + * + * @param int $val The mfaAndSsprCapableUserCount + * + * @return CredentialUserRegistrationsSummary + */ + public function setMfaAndSsprCapableUserCount($val) + { + $this->_propDict["mfaAndSsprCapableUserCount"] = intval($val); + return $this; + } + + /** + * Gets the mfaConditionalAccessPolicyState + * The state of a conditional access policy that enforces multi-factor authentication. Optional. Read-only. + * + * @return string|null The mfaConditionalAccessPolicyState + */ + public function getMfaConditionalAccessPolicyState() + { + if (array_key_exists("mfaConditionalAccessPolicyState", $this->_propDict)) { + return $this->_propDict["mfaConditionalAccessPolicyState"]; + } else { + return null; + } + } + + /** + * Sets the mfaConditionalAccessPolicyState + * The state of a conditional access policy that enforces multi-factor authentication. Optional. Read-only. + * + * @param string $val The mfaConditionalAccessPolicyState + * + * @return CredentialUserRegistrationsSummary + */ + public function setMfaConditionalAccessPolicyState($val) + { + $this->_propDict["mfaConditionalAccessPolicyState"] = $val; + return $this; + } + + /** + * Gets the mfaExcludedUserCount + * + * @return int|null The mfaExcludedUserCount + */ + public function getMfaExcludedUserCount() + { + if (array_key_exists("mfaExcludedUserCount", $this->_propDict)) { + return $this->_propDict["mfaExcludedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the mfaExcludedUserCount + * + * @param int $val The mfaExcludedUserCount + * + * @return CredentialUserRegistrationsSummary + */ + public function setMfaExcludedUserCount($val) + { + $this->_propDict["mfaExcludedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the mfaRegisteredUserCount + * The number of users registered for multi-factor authentication. Optional. Read-only. + * + * @return int|null The mfaRegisteredUserCount + */ + public function getMfaRegisteredUserCount() + { + if (array_key_exists("mfaRegisteredUserCount", $this->_propDict)) { + return $this->_propDict["mfaRegisteredUserCount"]; + } else { + return null; + } + } + + /** + * Sets the mfaRegisteredUserCount + * The number of users registered for multi-factor authentication. Optional. Read-only. + * + * @param int $val The mfaRegisteredUserCount + * + * @return CredentialUserRegistrationsSummary + */ + public function setMfaRegisteredUserCount($val) + { + $this->_propDict["mfaRegisteredUserCount"] = intval($val); + return $this; + } + + /** + * Gets the securityDefaultsEnabled + * A flag indicating whether Identity Security Defaults is enabled. Optional. Read-only. + * + * @return bool|null The securityDefaultsEnabled + */ + public function getSecurityDefaultsEnabled() + { + if (array_key_exists("securityDefaultsEnabled", $this->_propDict)) { + return $this->_propDict["securityDefaultsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the securityDefaultsEnabled + * A flag indicating whether Identity Security Defaults is enabled. Optional. Read-only. + * + * @param bool $val The securityDefaultsEnabled + * + * @return CredentialUserRegistrationsSummary + */ + public function setSecurityDefaultsEnabled($val) + { + $this->_propDict["securityDefaultsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the ssprEnabledUserCount + * The number of users enabled for self service password reset. Optional. Read-only. + * + * @return int|null The ssprEnabledUserCount + */ + public function getSsprEnabledUserCount() + { + if (array_key_exists("ssprEnabledUserCount", $this->_propDict)) { + return $this->_propDict["ssprEnabledUserCount"]; + } else { + return null; + } + } + + /** + * Sets the ssprEnabledUserCount + * The number of users enabled for self service password reset. Optional. Read-only. + * + * @param int $val The ssprEnabledUserCount + * + * @return CredentialUserRegistrationsSummary + */ + public function setSsprEnabledUserCount($val) + { + $this->_propDict["ssprEnabledUserCount"] = intval($val); + return $this; + } + + /** + * Gets the ssprRegisteredUserCount + * The number of users registered for self service password reset. Optional. Read-only. + * + * @return int|null The ssprRegisteredUserCount + */ + public function getSsprRegisteredUserCount() + { + if (array_key_exists("ssprRegisteredUserCount", $this->_propDict)) { + return $this->_propDict["ssprRegisteredUserCount"]; + } else { + return null; + } + } + + /** + * Sets the ssprRegisteredUserCount + * The number of users registered for self service password reset. Optional. Read-only. + * + * @param int $val The ssprRegisteredUserCount + * + * @return CredentialUserRegistrationsSummary + */ + public function setSsprRegisteredUserCount($val) + { + $this->_propDict["ssprRegisteredUserCount"] = intval($val); + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Required. Read-only. + * + * @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 + * The display name for the managed tenant. Required. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return CredentialUserRegistrationsSummary + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @param string $val The tenantId + * + * @return CredentialUserRegistrationsSummary + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the totalUserCount + * The total number of users in the given managed tenant. Optional. Read-only. + * + * @return int|null The totalUserCount + */ + public function getTotalUserCount() + { + if (array_key_exists("totalUserCount", $this->_propDict)) { + return $this->_propDict["totalUserCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUserCount + * The total number of users in the given managed tenant. Optional. Read-only. + * + * @param int $val The totalUserCount + * + * @return CredentialUserRegistrationsSummary + */ + public function setTotalUserCount($val) + { + $this->_propDict["totalUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/DelegatedPrivilegeStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/DelegatedPrivilegeStatus.php new file mode 100644 index 0000000..1660c1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/DelegatedPrivilegeStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * The number of devices in a conflict state. Optional. Read-only. + * + * @param int $val The conflictDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * The number of devices in an error state. Optional. Read-only. + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * The number of devices in an error state. Optional. Read-only. + * + * @param int $val The errorDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the failedDeviceCount + * The number of devices in a failed state. Optional. Read-only. + * + * @return int|null The failedDeviceCount + */ + public function getFailedDeviceCount() + { + if (array_key_exists("failedDeviceCount", $this->_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * The number of devices in a failed state. Optional. Read-only. + * + * @param int $val The failedDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the intuneAccountId + * The identifer for the Microsoft Intune account. Required. Read-only. + * + * @return string|null The intuneAccountId + */ + public function getIntuneAccountId() + { + if (array_key_exists("intuneAccountId", $this->_propDict)) { + return $this->_propDict["intuneAccountId"]; + } else { + return null; + } + } + + /** + * Sets the intuneAccountId + * The identifer for the Microsoft Intune account. Required. Read-only. + * + * @param string $val The intuneAccountId + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setIntuneAccountId($val) + { + $this->_propDict["intuneAccountId"] = $val; + return $this; + } + + /** + * Gets the intuneSettingId + * The identifier for the Intune setting. Optional. Read-only. + * + * @return string|null The intuneSettingId + */ + public function getIntuneSettingId() + { + if (array_key_exists("intuneSettingId", $this->_propDict)) { + return $this->_propDict["intuneSettingId"]; + } else { + return null; + } + } + + /** + * Sets the intuneSettingId + * The identifier for the Intune setting. Optional. Read-only. + * + * @param string $val The intuneSettingId + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setIntuneSettingId($val) + { + $this->_propDict["intuneSettingId"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * The number of devices in a not applicable state. Optional. Read-only. + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * The number of devices in a not applicable state. Optional. Read-only. + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingDeviceCount + * The number of devices in a pending state. Optional. Read-only. + * + * @return int|null The pendingDeviceCount + */ + public function getPendingDeviceCount() + { + if (array_key_exists("pendingDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingDeviceCount + * The number of devices in a pending state. Optional. Read-only. + * + * @param int $val The pendingDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setPendingDeviceCount($val) + { + $this->_propDict["pendingDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the policyType + * The type for the device compliance policy. Optional. Read-only. + * + * @return string|null The policyType + */ + public function getPolicyType() + { + if (array_key_exists("policyType", $this->_propDict)) { + return $this->_propDict["policyType"]; + } else { + return null; + } + } + + /** + * Sets the policyType + * The type for the device compliance policy. Optional. Read-only. + * + * @param string $val The policyType + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setPolicyType($val) + { + $this->_propDict["policyType"] = $val; + return $this; + } + + /** + * Gets the settingName + * The name for the setting within the device compliance policy. Optional. Read-only. + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * The name for the setting within the device compliance policy. Optional. Read-only. + * + * @param string $val The settingName + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the succeededDeviceCount + * The number of devices in a succeeded state. Optional. Read-only. + * + * @return int|null The succeededDeviceCount + */ + public function getSucceededDeviceCount() + { + if (array_key_exists("succeededDeviceCount", $this->_propDict)) { + return $this->_propDict["succeededDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the succeededDeviceCount + * The number of devices in a succeeded state. Optional. Read-only. + * + * @param int $val The succeededDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setSucceededDeviceCount($val) + { + $this->_propDict["succeededDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Required. Read-only. + * + * @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 + * The display name for the managed tenant. Required. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @param string $val The tenantId + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/GraphAPIErrorDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/GraphAPIErrorDetails.php new file mode 100644 index 0000000..ce206ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/GraphAPIErrorDetails.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The value of the code + * + * @return GraphAPIErrorDetails + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * + * @param string $val The value of the message + * + * @return GraphAPIErrorDetails + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedDeviceCompliance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedDeviceCompliance.php new file mode 100644 index 0000000..77887f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedDeviceCompliance.php @@ -0,0 +1,445 @@ +_propDict)) { + return $this->_propDict["complianceStatus"]; + } else { + return null; + } + } + + /** + * Sets the complianceStatus + * Compliance state of the device. This property is read-only. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. Optional. Read-only. + * + * @param string $val The complianceStatus + * + * @return ManagedDeviceCompliance + */ + public function setComplianceStatus($val) + { + $this->_propDict["complianceStatus"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Platform of the device. This property is read-only. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. Optional. Read-only. + * + * @return string|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + return $this->_propDict["deviceType"]; + } else { + return null; + } + } + + /** + * Sets the deviceType + * Platform of the device. This property is read-only. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. Optional. Read-only. + * + * @param string $val The deviceType + * + * @return ManagedDeviceCompliance + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the inGracePeriodUntilDateTime + * The date and time when the grace period will expire. Optional. Read-only. + * + * @return \DateTime|null The inGracePeriodUntilDateTime + */ + public function getInGracePeriodUntilDateTime() + { + if (array_key_exists("inGracePeriodUntilDateTime", $this->_propDict)) { + if (is_a($this->_propDict["inGracePeriodUntilDateTime"], "\DateTime") || is_null($this->_propDict["inGracePeriodUntilDateTime"])) { + return $this->_propDict["inGracePeriodUntilDateTime"]; + } else { + $this->_propDict["inGracePeriodUntilDateTime"] = new \DateTime($this->_propDict["inGracePeriodUntilDateTime"]); + return $this->_propDict["inGracePeriodUntilDateTime"]; + } + } + return null; + } + + /** + * Sets the inGracePeriodUntilDateTime + * The date and time when the grace period will expire. Optional. Read-only. + * + * @param \DateTime $val The inGracePeriodUntilDateTime + * + * @return ManagedDeviceCompliance + */ + public function setInGracePeriodUntilDateTime($val) + { + $this->_propDict["inGracePeriodUntilDateTime"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return ManagedDeviceCompliance + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The date and time that the device last completed a successful sync with Microsoft Endpoint Manager. Optional. Read-only. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The date and time that the device last completed a successful sync with Microsoft Endpoint Manager. Optional. Read-only. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return ManagedDeviceCompliance + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The identifier for the managed device in Microsoft Endpoint Manager. Optional. Read-only. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The identifier for the managed device in Microsoft Endpoint Manager. Optional. Read-only. + * + * @param string $val The managedDeviceId + * + * @return ManagedDeviceCompliance + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * The display name for the managed device. Optional. Read-only. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * The display name for the managed device. Optional. Read-only. + * + * @param string $val The managedDeviceName + * + * @return ManagedDeviceCompliance + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The manufacture for the device. Optional. Read-only. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The manufacture for the device. Optional. Read-only. + * + * @param string $val The manufacturer + * + * @return ManagedDeviceCompliance + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The model for the device. Optional. Read-only. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The model for the device. Optional. Read-only. + * + * @param string $val The model + * + * @return ManagedDeviceCompliance + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the osDescription + * The description of the operating system for the managed device. Optional. Read-only. + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * The description of the operating system for the managed device. Optional. Read-only. + * + * @param string $val The osDescription + * + * @return ManagedDeviceCompliance + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The version of the operating system for the managed device. Optional. Read-only. + * + * @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 + * The version of the operating system for the managed device. Optional. Read-only. + * + * @param string $val The osVersion + * + * @return ManagedDeviceCompliance + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the ownerType + * The type of owner for the managed device. Optional. Read-only. + * + * @return string|null The ownerType + */ + public function getOwnerType() + { + if (array_key_exists("ownerType", $this->_propDict)) { + return $this->_propDict["ownerType"]; + } else { + return null; + } + } + + /** + * Sets the ownerType + * The type of owner for the managed device. Optional. Read-only. + * + * @param string $val The ownerType + * + * @return ManagedDeviceCompliance + */ + public function setOwnerType($val) + { + $this->_propDict["ownerType"] = $val; + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Optional. Read-only. + * + * @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 + * The display name for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return ManagedDeviceCompliance + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return ManagedDeviceCompliance + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedDeviceComplianceTrend.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedDeviceComplianceTrend.php new file mode 100644 index 0000000..8a97a32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedDeviceComplianceTrend.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * The number of devices with a compliant status. Required. Read-only. + * + * @param int $val The compliantDeviceCount + * + * @return ManagedDeviceComplianceTrend + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the configManagerDeviceCount + * The number of devices manged by Configuration Manager. Required. Read-only. + * + * @return int|null The configManagerDeviceCount + */ + public function getConfigManagerDeviceCount() + { + if (array_key_exists("configManagerDeviceCount", $this->_propDict)) { + return $this->_propDict["configManagerDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the configManagerDeviceCount + * The number of devices manged by Configuration Manager. Required. Read-only. + * + * @param int $val The configManagerDeviceCount + * + * @return ManagedDeviceComplianceTrend + */ + public function setConfigManagerDeviceCount($val) + { + $this->_propDict["configManagerDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the countDateTime + * The date and time compliance snapshot was performed. Required. Read-only. + * + * @return string|null The countDateTime + */ + public function getCountDateTime() + { + if (array_key_exists("countDateTime", $this->_propDict)) { + return $this->_propDict["countDateTime"]; + } else { + return null; + } + } + + /** + * Sets the countDateTime + * The date and time compliance snapshot was performed. Required. Read-only. + * + * @param string $val The countDateTime + * + * @return ManagedDeviceComplianceTrend + */ + public function setCountDateTime($val) + { + $this->_propDict["countDateTime"] = $val; + return $this; + } + + /** + * Gets the errorDeviceCount + * The number of devices with an error status. Required. Read-only. + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * The number of devices with an error status. Required. Read-only. + * + * @param int $val The errorDeviceCount + * + * @return ManagedDeviceComplianceTrend + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the inGracePeriodDeviceCount + * The number of devices that are in a grace period status. Required. Read-only. + * + * @return int|null The inGracePeriodDeviceCount + */ + public function getInGracePeriodDeviceCount() + { + if (array_key_exists("inGracePeriodDeviceCount", $this->_propDict)) { + return $this->_propDict["inGracePeriodDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the inGracePeriodDeviceCount + * The number of devices that are in a grace period status. Required. Read-only. + * + * @param int $val The inGracePeriodDeviceCount + * + * @return ManagedDeviceComplianceTrend + */ + public function setInGracePeriodDeviceCount($val) + { + $this->_propDict["inGracePeriodDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the noncompliantDeviceCount + * The number of devices that are in a non-compliant status. Required. Read-only. + * + * @return int|null The noncompliantDeviceCount + */ + public function getNoncompliantDeviceCount() + { + if (array_key_exists("noncompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["noncompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the noncompliantDeviceCount + * The number of devices that are in a non-compliant status. Required. Read-only. + * + * @param int $val The noncompliantDeviceCount + * + * @return ManagedDeviceComplianceTrend + */ + public function setNoncompliantDeviceCount($val) + { + $this->_propDict["noncompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Optional. Read-only. + * + * @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 + * The display name for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return ManagedDeviceComplianceTrend + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return ManagedDeviceComplianceTrend + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the unknownDeviceCount + * The number of devices in an unknown status. Required. Read-only. + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * The number of devices in an unknown status. Required. Read-only. + * + * @param int $val The unknownDeviceCount + * + * @return ManagedDeviceComplianceTrend + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php new file mode 100644 index 0000000..a9403da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenant.php @@ -0,0 +1,769 @@ +_propDict)) { + return $this->_propDict["aggregatedPolicyCompliances"]; + } else { + return null; + } + } + + /** + * Sets the aggregatedPolicyCompliances + * Aggregate view of device compliance policies across managed tenants. + * + * @param AggregatedPolicyCompliance[] $val The aggregatedPolicyCompliances + * + * @return ManagedTenant + */ + public function setAggregatedPolicyCompliances($val) + { + $this->_propDict["aggregatedPolicyCompliances"] = $val; + return $this; + } + + + /** + * Gets the auditEvents + * The collection of audit events across managed tenants. + * + * @return array|null The auditEvents + */ + public function getAuditEvents() + { + if (array_key_exists("auditEvents", $this->_propDict)) { + return $this->_propDict["auditEvents"]; + } else { + return null; + } + } + + /** + * Sets the auditEvents + * The collection of audit events across managed tenants. + * + * @param AuditEvent[] $val The auditEvents + * + * @return ManagedTenant + */ + public function setAuditEvents($val) + { + $this->_propDict["auditEvents"] = $val; + return $this; + } + + + /** + * Gets the cloudPcConnections + * The collection of cloud PC connections across managed tenants. + * + * @return array|null The cloudPcConnections + */ + public function getCloudPcConnections() + { + if (array_key_exists("cloudPcConnections", $this->_propDict)) { + return $this->_propDict["cloudPcConnections"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcConnections + * The collection of cloud PC connections across managed tenants. + * + * @param CloudPcConnection[] $val The cloudPcConnections + * + * @return ManagedTenant + */ + public function setCloudPcConnections($val) + { + $this->_propDict["cloudPcConnections"] = $val; + return $this; + } + + + /** + * Gets the cloudPcDevices + * The collection of cloud PC devices across managed tenants. + * + * @return array|null The cloudPcDevices + */ + public function getCloudPcDevices() + { + if (array_key_exists("cloudPcDevices", $this->_propDict)) { + return $this->_propDict["cloudPcDevices"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcDevices + * The collection of cloud PC devices across managed tenants. + * + * @param CloudPcDevice[] $val The cloudPcDevices + * + * @return ManagedTenant + */ + public function setCloudPcDevices($val) + { + $this->_propDict["cloudPcDevices"] = $val; + return $this; + } + + + /** + * Gets the cloudPcsOverview + * Overview of cloud PC information across managed tenants. + * + * @return array|null The cloudPcsOverview + */ + public function getCloudPcsOverview() + { + if (array_key_exists("cloudPcsOverview", $this->_propDict)) { + return $this->_propDict["cloudPcsOverview"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcsOverview + * Overview of cloud PC information across managed tenants. + * + * @param CloudPcOverview[] $val The cloudPcsOverview + * + * @return ManagedTenant + */ + public function setCloudPcsOverview($val) + { + $this->_propDict["cloudPcsOverview"] = $val; + return $this; + } + + + /** + * Gets the conditionalAccessPolicyCoverages + * Aggregate view of conditional access policy coverage across managed tenants. + * + * @return array|null The conditionalAccessPolicyCoverages + */ + public function getConditionalAccessPolicyCoverages() + { + if (array_key_exists("conditionalAccessPolicyCoverages", $this->_propDict)) { + return $this->_propDict["conditionalAccessPolicyCoverages"]; + } else { + return null; + } + } + + /** + * Sets the conditionalAccessPolicyCoverages + * Aggregate view of conditional access policy coverage across managed tenants. + * + * @param ConditionalAccessPolicyCoverage[] $val The conditionalAccessPolicyCoverages + * + * @return ManagedTenant + */ + public function setConditionalAccessPolicyCoverages($val) + { + $this->_propDict["conditionalAccessPolicyCoverages"] = $val; + return $this; + } + + + /** + * Gets the credentialUserRegistrationsSummaries + * Summary information for user registration for multi-factor authentication and self service password reset across managed tenants. + * + * @return array|null The credentialUserRegistrationsSummaries + */ + public function getCredentialUserRegistrationsSummaries() + { + if (array_key_exists("credentialUserRegistrationsSummaries", $this->_propDict)) { + return $this->_propDict["credentialUserRegistrationsSummaries"]; + } else { + return null; + } + } + + /** + * Sets the credentialUserRegistrationsSummaries + * Summary information for user registration for multi-factor authentication and self service password reset across managed tenants. + * + * @param CredentialUserRegistrationsSummary[] $val The credentialUserRegistrationsSummaries + * + * @return ManagedTenant + */ + public function setCredentialUserRegistrationsSummaries($val) + { + $this->_propDict["credentialUserRegistrationsSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicySettingStateSummaries + * Summary information for device compliance policy setting states across managed tenants. + * + * @return array|null The deviceCompliancePolicySettingStateSummaries + */ + public function getDeviceCompliancePolicySettingStateSummaries() + { + if (array_key_exists("deviceCompliancePolicySettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicySettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicySettingStateSummaries + * Summary information for device compliance policy setting states across managed tenants. + * + * @param DeviceCompliancePolicySettingStateSummary[] $val The deviceCompliancePolicySettingStateSummaries + * + * @return ManagedTenant + */ + public function setDeviceCompliancePolicySettingStateSummaries($val) + { + $this->_propDict["deviceCompliancePolicySettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCompliances + * The collection of compliance for managed devices across managed tenants. + * + * @return array|null The managedDeviceCompliances + */ + public function getManagedDeviceCompliances() + { + if (array_key_exists("managedDeviceCompliances", $this->_propDict)) { + return $this->_propDict["managedDeviceCompliances"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCompliances + * The collection of compliance for managed devices across managed tenants. + * + * @param ManagedDeviceCompliance[] $val The managedDeviceCompliances + * + * @return ManagedTenant + */ + public function setManagedDeviceCompliances($val) + { + $this->_propDict["managedDeviceCompliances"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceComplianceTrends + * Trend insights for device compliance across managed tenants. + * + * @return array|null The managedDeviceComplianceTrends + */ + public function getManagedDeviceComplianceTrends() + { + if (array_key_exists("managedDeviceComplianceTrends", $this->_propDict)) { + return $this->_propDict["managedDeviceComplianceTrends"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceComplianceTrends + * Trend insights for device compliance across managed tenants. + * + * @param ManagedDeviceComplianceTrend[] $val The managedDeviceComplianceTrends + * + * @return ManagedTenant + */ + public function setManagedDeviceComplianceTrends($val) + { + $this->_propDict["managedDeviceComplianceTrends"] = $val; + return $this; + } + + + /** + * Gets the managementActions + * The collection of baseline management actions across managed tenants. + * + * @return array|null The managementActions + */ + public function getManagementActions() + { + if (array_key_exists("managementActions", $this->_propDict)) { + return $this->_propDict["managementActions"]; + } else { + return null; + } + } + + /** + * Sets the managementActions + * The collection of baseline management actions across managed tenants. + * + * @param ManagementAction[] $val The managementActions + * + * @return ManagedTenant + */ + public function setManagementActions($val) + { + $this->_propDict["managementActions"] = $val; + return $this; + } + + + /** + * Gets the managementActionTenantDeploymentStatuses + * The tenant level status of management actions across managed tenants. + * + * @return array|null The managementActionTenantDeploymentStatuses + */ + public function getManagementActionTenantDeploymentStatuses() + { + if (array_key_exists("managementActionTenantDeploymentStatuses", $this->_propDict)) { + return $this->_propDict["managementActionTenantDeploymentStatuses"]; + } else { + return null; + } + } + + /** + * Sets the managementActionTenantDeploymentStatuses + * The tenant level status of management actions across managed tenants. + * + * @param ManagementActionTenantDeploymentStatus[] $val The managementActionTenantDeploymentStatuses + * + * @return ManagedTenant + */ + public function setManagementActionTenantDeploymentStatuses($val) + { + $this->_propDict["managementActionTenantDeploymentStatuses"] = $val; + return $this; + } + + + /** + * Gets the managementIntents + * The collection of baseline management intents across managed tenants. + * + * @return array|null The managementIntents + */ + public function getManagementIntents() + { + if (array_key_exists("managementIntents", $this->_propDict)) { + return $this->_propDict["managementIntents"]; + } else { + return null; + } + } + + /** + * Sets the managementIntents + * The collection of baseline management intents across managed tenants. + * + * @param ManagementIntent[] $val The managementIntents + * + * @return ManagedTenant + */ + public function setManagementIntents($val) + { + $this->_propDict["managementIntents"] = $val; + return $this; + } + + + /** + * Gets the managementTemplateCollections + * + * @return array|null The managementTemplateCollections + */ + public function getManagementTemplateCollections() + { + if (array_key_exists("managementTemplateCollections", $this->_propDict)) { + return $this->_propDict["managementTemplateCollections"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateCollections + * + * @param ManagementTemplateCollection[] $val The managementTemplateCollections + * + * @return ManagedTenant + */ + public function setManagementTemplateCollections($val) + { + $this->_propDict["managementTemplateCollections"] = $val; + return $this; + } + + + /** + * Gets the managementTemplates + * The collection of baseline management templates across managed tenants. + * + * @return array|null The managementTemplates + */ + public function getManagementTemplates() + { + if (array_key_exists("managementTemplates", $this->_propDict)) { + return $this->_propDict["managementTemplates"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplates + * The collection of baseline management templates across managed tenants. + * + * @param ManagementTemplate[] $val The managementTemplates + * + * @return ManagedTenant + */ + public function setManagementTemplates($val) + { + $this->_propDict["managementTemplates"] = $val; + return $this; + } + + + /** + * Gets the managementTemplateSteps + * + * @return array|null The managementTemplateSteps + */ + public function getManagementTemplateSteps() + { + if (array_key_exists("managementTemplateSteps", $this->_propDict)) { + return $this->_propDict["managementTemplateSteps"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateSteps + * + * @param ManagementTemplateStep[] $val The managementTemplateSteps + * + * @return ManagedTenant + */ + public function setManagementTemplateSteps($val) + { + $this->_propDict["managementTemplateSteps"] = $val; + return $this; + } + + + /** + * Gets the managementTemplateStepVersions + * + * @return array|null The managementTemplateStepVersions + */ + public function getManagementTemplateStepVersions() + { + if (array_key_exists("managementTemplateStepVersions", $this->_propDict)) { + return $this->_propDict["managementTemplateStepVersions"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateStepVersions + * + * @param ManagementTemplateStepVersion[] $val The managementTemplateStepVersions + * + * @return ManagedTenant + */ + public function setManagementTemplateStepVersions($val) + { + $this->_propDict["managementTemplateStepVersions"] = $val; + return $this; + } + + + /** + * Gets the myRoles + * + * @return array|null The myRoles + */ + public function getMyRoles() + { + if (array_key_exists("myRoles", $this->_propDict)) { + return $this->_propDict["myRoles"]; + } else { + return null; + } + } + + /** + * Sets the myRoles + * + * @param MyRole[] $val The myRoles + * + * @return ManagedTenant + */ + public function setMyRoles($val) + { + $this->_propDict["myRoles"] = $val; + return $this; + } + + + /** + * Gets the tenantGroups + * The collection of a logical grouping of managed tenants used by the multi-tenant management platform. + * + * @return array|null The tenantGroups + */ + public function getTenantGroups() + { + if (array_key_exists("tenantGroups", $this->_propDict)) { + return $this->_propDict["tenantGroups"]; + } else { + return null; + } + } + + /** + * Sets the tenantGroups + * The collection of a logical grouping of managed tenants used by the multi-tenant management platform. + * + * @param TenantGroup[] $val The tenantGroups + * + * @return ManagedTenant + */ + public function setTenantGroups($val) + { + $this->_propDict["tenantGroups"] = $val; + return $this; + } + + + /** + * Gets the tenants + * The collection of tenants associated with the managing entity. + * + * @return array|null The tenants + */ + public function getTenants() + { + if (array_key_exists("tenants", $this->_propDict)) { + return $this->_propDict["tenants"]; + } else { + return null; + } + } + + /** + * Sets the tenants + * The collection of tenants associated with the managing entity. + * + * @param Tenant[] $val The tenants + * + * @return ManagedTenant + */ + public function setTenants($val) + { + $this->_propDict["tenants"] = $val; + return $this; + } + + + /** + * Gets the tenantsCustomizedInformation + * The collection of tenant level customized information across managed tenants. + * + * @return array|null The tenantsCustomizedInformation + */ + public function getTenantsCustomizedInformation() + { + if (array_key_exists("tenantsCustomizedInformation", $this->_propDict)) { + return $this->_propDict["tenantsCustomizedInformation"]; + } else { + return null; + } + } + + /** + * Sets the tenantsCustomizedInformation + * The collection of tenant level customized information across managed tenants. + * + * @param TenantCustomizedInformation[] $val The tenantsCustomizedInformation + * + * @return ManagedTenant + */ + public function setTenantsCustomizedInformation($val) + { + $this->_propDict["tenantsCustomizedInformation"] = $val; + return $this; + } + + + /** + * Gets the tenantsDetailedInformation + * The collection tenant level detailed information across managed tenants. + * + * @return array|null The tenantsDetailedInformation + */ + public function getTenantsDetailedInformation() + { + if (array_key_exists("tenantsDetailedInformation", $this->_propDict)) { + return $this->_propDict["tenantsDetailedInformation"]; + } else { + return null; + } + } + + /** + * Sets the tenantsDetailedInformation + * The collection tenant level detailed information across managed tenants. + * + * @param TenantDetailedInformation[] $val The tenantsDetailedInformation + * + * @return ManagedTenant + */ + public function setTenantsDetailedInformation($val) + { + $this->_propDict["tenantsDetailedInformation"] = $val; + return $this; + } + + + /** + * Gets the tenantTags + * The collection of tenant tags across managed tenants. + * + * @return array|null The tenantTags + */ + public function getTenantTags() + { + if (array_key_exists("tenantTags", $this->_propDict)) { + return $this->_propDict["tenantTags"]; + } else { + return null; + } + } + + /** + * Sets the tenantTags + * The collection of tenant tags across managed tenants. + * + * @param TenantTag[] $val The tenantTags + * + * @return ManagedTenant + */ + public function setTenantTags($val) + { + $this->_propDict["tenantTags"] = $val; + return $this; + } + + + /** + * Gets the windowsDeviceMalwareStates + * The state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. + * + * @return array|null The windowsDeviceMalwareStates + */ + public function getWindowsDeviceMalwareStates() + { + if (array_key_exists("windowsDeviceMalwareStates", $this->_propDict)) { + return $this->_propDict["windowsDeviceMalwareStates"]; + } else { + return null; + } + } + + /** + * Sets the windowsDeviceMalwareStates + * The state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. + * + * @param WindowsDeviceMalwareState[] $val The windowsDeviceMalwareStates + * + * @return ManagedTenant + */ + public function setWindowsDeviceMalwareStates($val) + { + $this->_propDict["windowsDeviceMalwareStates"] = $val; + return $this; + } + + + /** + * Gets the windowsProtectionStates + * The protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. + * + * @return array|null The windowsProtectionStates + */ + public function getWindowsProtectionStates() + { + if (array_key_exists("windowsProtectionStates", $this->_propDict)) { + return $this->_propDict["windowsProtectionStates"]; + } else { + return null; + } + } + + /** + * Sets the windowsProtectionStates + * The protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. + * + * @param WindowsProtectionState[] $val The windowsProtectionStates + * + * @return ManagedTenant + */ + public function setWindowsProtectionStates($val) + { + $this->_propDict["windowsProtectionStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenantExecutionError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenantExecutionError.php new file mode 100644 index 0000000..d5d7b76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenantExecutionError.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["errorDetails"]; + } else { + return null; + } + } + + /** + * Sets the errorDetails + * Additional error information for the exception. Optional. Read-only. + * + * @param string $val The value of the errorDetails + * + * @return ManagedTenantExecutionError + */ + public function setErrorDetails($val) + { + $this->_propDict["errorDetails"] = $val; + return $this; + } + /** + * Gets the nodeId + * The node identifier where the exception occurred. Required. Read-only. + * + * @return int|null The nodeId + */ + public function getNodeId() + { + if (array_key_exists("nodeId", $this->_propDict)) { + return $this->_propDict["nodeId"]; + } else { + return null; + } + } + + /** + * Sets the nodeId + * The node identifier where the exception occurred. Required. Read-only. + * + * @param int $val The value of the nodeId + * + * @return ManagedTenantExecutionError + */ + public function setNodeId($val) + { + $this->_propDict["nodeId"] = $val; + return $this; + } + /** + * Gets the rawToken + * The token for the exception. Optional. Read-only. + * + * @return string|null The rawToken + */ + public function getRawToken() + { + if (array_key_exists("rawToken", $this->_propDict)) { + return $this->_propDict["rawToken"]; + } else { + return null; + } + } + + /** + * Sets the rawToken + * The token for the exception. Optional. Read-only. + * + * @param string $val The value of the rawToken + * + * @return ManagedTenantExecutionError + */ + public function setRawToken($val) + { + $this->_propDict["rawToken"] = $val; + return $this; + } + /** + * Gets the statementIndex + * The statement index for the exception. Required. Read-only. + * + * @return int|null The statementIndex + */ + public function getStatementIndex() + { + if (array_key_exists("statementIndex", $this->_propDict)) { + return $this->_propDict["statementIndex"]; + } else { + return null; + } + } + + /** + * Sets the statementIndex + * The statement index for the exception. Required. Read-only. + * + * @param int $val The value of the statementIndex + * + * @return ManagedTenantExecutionError + */ + public function setStatementIndex($val) + { + $this->_propDict["statementIndex"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenantGenericError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenantGenericError.php new file mode 100644 index 0000000..8ed3162 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagedTenantGenericError.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * The error message for the exception. + * + * @param string $val The value of the error + * + * @return ManagedTenantOperationError + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. + * + * @param string $val The value of the tenantId + * + * @return ManagedTenantOperationError + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementAction.php new file mode 100644 index 0000000..36b9f36 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementAction.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ManagementCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The category for the management action. Possible values are: custom, devices, identity, unknownFutureValue. Optional. Read-only. + * + * @param ManagementCategory $val The category + * + * @return ManagementAction + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the description + * The description for the management action. Optional. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the management action. Optional. Read-only. + * + * @param string $val The description + * + * @return ManagementAction + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the management action. Optional. Read-only. + * + * @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 + * The display name for the management action. Optional. Read-only. + * + * @param string $val The displayName + * + * @return ManagementAction + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the referenceTemplateId + * The reference for the management template used to generate the management action. Required. Read-only. + * + * @return string|null The referenceTemplateId + */ + public function getReferenceTemplateId() + { + if (array_key_exists("referenceTemplateId", $this->_propDict)) { + return $this->_propDict["referenceTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the referenceTemplateId + * The reference for the management template used to generate the management action. Required. Read-only. + * + * @param string $val The referenceTemplateId + * + * @return ManagementAction + */ + public function setReferenceTemplateId($val) + { + $this->_propDict["referenceTemplateId"] = $val; + return $this; + } + + /** + * Gets the referenceTemplateVersion + * + * @return int|null The referenceTemplateVersion + */ + public function getReferenceTemplateVersion() + { + if (array_key_exists("referenceTemplateVersion", $this->_propDict)) { + return $this->_propDict["referenceTemplateVersion"]; + } else { + return null; + } + } + + /** + * Sets the referenceTemplateVersion + * + * @param int $val The referenceTemplateVersion + * + * @return ManagementAction + */ + public function setReferenceTemplateVersion($val) + { + $this->_propDict["referenceTemplateVersion"] = intval($val); + return $this; + } + + + /** + * Gets the workloadActions + * The collection of workload actions associated with the management action. Required. Read-only. + * + * @return array|null The workloadActions + */ + public function getWorkloadActions() + { + if (array_key_exists("workloadActions", $this->_propDict)) { + return $this->_propDict["workloadActions"]; + } else { + return null; + } + } + + /** + * Sets the workloadActions + * The collection of workload actions associated with the management action. Required. Read-only. + * + * @param WorkloadAction[] $val The workloadActions + * + * @return ManagementAction + */ + public function setWorkloadActions($val) + { + $this->_propDict["workloadActions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionDeploymentStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionDeploymentStatus.php new file mode 100644 index 0000000..5f4ed63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionDeploymentStatus.php @@ -0,0 +1,174 @@ +_propDict)) { + return $this->_propDict["managementActionId"]; + } else { + return null; + } + } + + /** + * Sets the managementActionId + * The identifier for the management action. Required. Read-only. + * + * @param string $val The value of the managementActionId + * + * @return ManagementActionDeploymentStatus + */ + public function setManagementActionId($val) + { + $this->_propDict["managementActionId"] = $val; + return $this; + } + /** + * Gets the managementTemplateId + * The management template identifier that was used to generate the management action. Required. Read-only. + * + * @return string|null The managementTemplateId + */ + public function getManagementTemplateId() + { + if (array_key_exists("managementTemplateId", $this->_propDict)) { + return $this->_propDict["managementTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateId + * The management template identifier that was used to generate the management action. Required. Read-only. + * + * @param string $val The value of the managementTemplateId + * + * @return ManagementActionDeploymentStatus + */ + public function setManagementTemplateId($val) + { + $this->_propDict["managementTemplateId"] = $val; + return $this; + } + /** + * Gets the managementTemplateVersion + * + * @return int|null The managementTemplateVersion + */ + public function getManagementTemplateVersion() + { + if (array_key_exists("managementTemplateVersion", $this->_propDict)) { + return $this->_propDict["managementTemplateVersion"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateVersion + * + * @param int $val The value of the managementTemplateVersion + * + * @return ManagementActionDeploymentStatus + */ + public function setManagementTemplateVersion($val) + { + $this->_propDict["managementTemplateVersion"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the management action. Possible values are: toAddress, completed, error, timeOut, inProgress, planned, resolvedBy3rdParty, resolvedThroughAlternateMitigation, riskAccepted, unknownFutureValue. Required. + * + * @return ManagementActionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementActionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ManagementActionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the management action. Possible values are: toAddress, completed, error, timeOut, inProgress, planned, resolvedBy3rdParty, resolvedThroughAlternateMitigation, riskAccepted, unknownFutureValue. Required. + * + * @param ManagementActionStatus $val The value to assign to the status + * + * @return ManagementActionDeploymentStatus The ManagementActionDeploymentStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the workloadActionDeploymentStatuses + * The collection of workload action deployment statues for the given management action. Optional. + * + * @return WorkloadActionDeploymentStatus|null The workloadActionDeploymentStatuses + */ + public function getWorkloadActionDeploymentStatuses() + { + if (array_key_exists("workloadActionDeploymentStatuses", $this->_propDict)) { + if (is_a($this->_propDict["workloadActionDeploymentStatuses"], "\Beta\Microsoft\Graph\ManagedTenants\Model\WorkloadActionDeploymentStatus") || is_null($this->_propDict["workloadActionDeploymentStatuses"])) { + return $this->_propDict["workloadActionDeploymentStatuses"]; + } else { + $this->_propDict["workloadActionDeploymentStatuses"] = new WorkloadActionDeploymentStatus($this->_propDict["workloadActionDeploymentStatuses"]); + return $this->_propDict["workloadActionDeploymentStatuses"]; + } + } + return null; + } + + /** + * Sets the workloadActionDeploymentStatuses + * The collection of workload action deployment statues for the given management action. Optional. + * + * @param WorkloadActionDeploymentStatus $val The value to assign to the workloadActionDeploymentStatuses + * + * @return ManagementActionDeploymentStatus The ManagementActionDeploymentStatus + */ + public function setWorkloadActionDeploymentStatuses($val) + { + $this->_propDict["workloadActionDeploymentStatuses"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionInfo.php new file mode 100644 index 0000000..e7a146c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionInfo.php @@ -0,0 +1,108 @@ +_propDict)) { + return $this->_propDict["managementActionId"]; + } else { + return null; + } + } + + /** + * Sets the managementActionId + * The identifier for the management action. Required. Read-only. + * + * @param string $val The value of the managementActionId + * + * @return ManagementActionInfo + */ + public function setManagementActionId($val) + { + $this->_propDict["managementActionId"] = $val; + return $this; + } + /** + * Gets the managementTemplateId + * The identifier for the management template. Required. Read-only. + * + * @return string|null The managementTemplateId + */ + public function getManagementTemplateId() + { + if (array_key_exists("managementTemplateId", $this->_propDict)) { + return $this->_propDict["managementTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateId + * The identifier for the management template. Required. Read-only. + * + * @param string $val The value of the managementTemplateId + * + * @return ManagementActionInfo + */ + public function setManagementTemplateId($val) + { + $this->_propDict["managementTemplateId"] = $val; + return $this; + } + /** + * Gets the managementTemplateVersion + * + * @return int|null The managementTemplateVersion + */ + public function getManagementTemplateVersion() + { + if (array_key_exists("managementTemplateVersion", $this->_propDict)) { + return $this->_propDict["managementTemplateVersion"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateVersion + * + * @param int $val The value of the managementTemplateVersion + * + * @return ManagementActionInfo + */ + public function setManagementTemplateVersion($val) + { + $this->_propDict["managementTemplateVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionStatus.php new file mode 100644 index 0000000..c3d868c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementActionStatus.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["statuses"]; + } else { + return null; + } + } + + /** + * Sets the statuses + * The collection of deployment status for each instance of a management action. Optional. + * + * @param ManagementActionDeploymentStatus[] $val The statuses + * + * @return ManagementActionTenantDeploymentStatus + */ + public function setStatuses($val) + { + $this->_propDict["statuses"] = $val; + return $this; + } + + /** + * Gets the tenantGroupId + * The identifier for the tenant group that is associated with the management action. Required. Read-only. + * + * @return string|null The tenantGroupId + */ + public function getTenantGroupId() + { + if (array_key_exists("tenantGroupId", $this->_propDict)) { + return $this->_propDict["tenantGroupId"]; + } else { + return null; + } + } + + /** + * Sets the tenantGroupId + * The identifier for the tenant group that is associated with the management action. Required. Read-only. + * + * @param string $val The tenantGroupId + * + * @return ManagementActionTenantDeploymentStatus + */ + public function setTenantGroupId($val) + { + $this->_propDict["tenantGroupId"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Required. Read-only. + * + * @param string $val The tenantId + * + * @return ManagementActionTenantDeploymentStatus + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementCategory.php new file mode 100644 index 0000000..e97b417 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementCategory.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the management intent. Optional. Read-only. + * + * @param string $val The displayName + * + * @return ManagementIntent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isGlobal + * A flag indicating whether the management intent is global. Required. Read-only. + * + * @return bool|null The isGlobal + */ + public function getIsGlobal() + { + if (array_key_exists("isGlobal", $this->_propDict)) { + return $this->_propDict["isGlobal"]; + } else { + return null; + } + } + + /** + * Sets the isGlobal + * A flag indicating whether the management intent is global. Required. Read-only. + * + * @param bool $val The isGlobal + * + * @return ManagementIntent + */ + public function setIsGlobal($val) + { + $this->_propDict["isGlobal"] = boolval($val); + return $this; + } + + + /** + * Gets the managementTemplates + * The collection of management templates associated with the management intent. Optional. Read-only. + * + * @return array|null The managementTemplates + */ + public function getManagementTemplates() + { + if (array_key_exists("managementTemplates", $this->_propDict)) { + return $this->_propDict["managementTemplates"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplates + * The collection of management templates associated with the management intent. Optional. Read-only. + * + * @param ManagementTemplateDetailedInfo[] $val The managementTemplates + * + * @return ManagementIntent + */ + public function setManagementTemplates($val) + { + $this->_propDict["managementTemplates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementIntentInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementIntentInfo.php new file mode 100644 index 0000000..5bab5d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementIntentInfo.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["managementIntentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the managementIntentDisplayName + * The display name for the management intent. Optional. Read-only. + * + * @param string $val The value of the managementIntentDisplayName + * + * @return ManagementIntentInfo + */ + public function setManagementIntentDisplayName($val) + { + $this->_propDict["managementIntentDisplayName"] = $val; + return $this; + } + /** + * Gets the managementIntentId + * The identifier for the management intent. Required. Read-only. + * + * @return string|null The managementIntentId + */ + public function getManagementIntentId() + { + if (array_key_exists("managementIntentId", $this->_propDict)) { + return $this->_propDict["managementIntentId"]; + } else { + return null; + } + } + + /** + * Sets the managementIntentId + * The identifier for the management intent. Required. Read-only. + * + * @param string $val The value of the managementIntentId + * + * @return ManagementIntentInfo + */ + public function setManagementIntentId($val) + { + $this->_propDict["managementIntentId"] = $val; + return $this; + } + + /** + * Gets the managementTemplates + * The collection of management template information associated with the management intent. Optional. Read-only. + * + * @return ManagementTemplateDetailedInfo|null The managementTemplates + */ + public function getManagementTemplates() + { + if (array_key_exists("managementTemplates", $this->_propDict)) { + if (is_a($this->_propDict["managementTemplates"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplateDetailedInfo") || is_null($this->_propDict["managementTemplates"])) { + return $this->_propDict["managementTemplates"]; + } else { + $this->_propDict["managementTemplates"] = new ManagementTemplateDetailedInfo($this->_propDict["managementTemplates"]); + return $this->_propDict["managementTemplates"]; + } + } + return null; + } + + /** + * Sets the managementTemplates + * The collection of management template information associated with the management intent. Optional. Read-only. + * + * @param ManagementTemplateDetailedInfo $val The value to assign to the managementTemplates + * + * @return ManagementIntentInfo The ManagementIntentInfo + */ + public function setManagementTemplates($val) + { + $this->_propDict["managementTemplates"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementParameterValueType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementParameterValueType.php new file mode 100644 index 0000000..89a9ce9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementParameterValueType.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ManagementCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The management category for the management template. Possible values are: custom, devices, identity, unknownFutureValue. Required. Read-only. + * + * @param ManagementCategory $val The category + * + * @return ManagementTemplate + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the createdByUserId + * + * @return string|null The createdByUserId + */ + public function getCreatedByUserId() + { + if (array_key_exists("createdByUserId", $this->_propDict)) { + return $this->_propDict["createdByUserId"]; + } else { + return null; + } + } + + /** + * Sets the createdByUserId + * + * @param string $val The createdByUserId + * + * @return ManagementTemplate + */ + public function setCreatedByUserId($val) + { + $this->_propDict["createdByUserId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return ManagementTemplate + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description for the management template. Optional. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the management template. Optional. Read-only. + * + * @param string $val The description + * + * @return ManagementTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the management template. Required. Read-only. + * + * @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 + * The display name for the management template. Required. Read-only. + * + * @param string $val The displayName + * + * @return ManagementTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the informationLinks + * + * @return array|null The informationLinks + */ + public function getInformationLinks() + { + if (array_key_exists("informationLinks", $this->_propDict)) { + return $this->_propDict["informationLinks"]; + } else { + return null; + } + } + + /** + * Sets the informationLinks + * + * @param \Beta\Microsoft\Graph\Model\ActionUrl[] $val The informationLinks + * + * @return ManagementTemplate + */ + public function setInformationLinks($val) + { + $this->_propDict["informationLinks"] = $val; + return $this; + } + + /** + * Gets the lastActionByUserId + * + * @return string|null The lastActionByUserId + */ + public function getLastActionByUserId() + { + if (array_key_exists("lastActionByUserId", $this->_propDict)) { + return $this->_propDict["lastActionByUserId"]; + } else { + return null; + } + } + + /** + * Sets the lastActionByUserId + * + * @param string $val The lastActionByUserId + * + * @return ManagementTemplate + */ + public function setLastActionByUserId($val) + { + $this->_propDict["lastActionByUserId"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return ManagementTemplate + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + + /** + * Gets the parameters + * The collection of parameters used by the management template. Optional. Read-only. + * + * @return array|null The parameters + */ + public function getParameters() + { + if (array_key_exists("parameters", $this->_propDict)) { + return $this->_propDict["parameters"]; + } else { + return null; + } + } + + /** + * Sets the parameters + * The collection of parameters used by the management template. Optional. Read-only. + * + * @param TemplateParameter[] $val The parameters + * + * @return ManagementTemplate + */ + public function setParameters($val) + { + $this->_propDict["parameters"] = $val; + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return ManagementTemplate + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the provider + * + * @return ManagementProvider|null The provider + */ + public function getProvider() + { + if (array_key_exists("provider", $this->_propDict)) { + if (is_a($this->_propDict["provider"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementProvider") || is_null($this->_propDict["provider"])) { + return $this->_propDict["provider"]; + } else { + $this->_propDict["provider"] = new ManagementProvider($this->_propDict["provider"]); + return $this->_propDict["provider"]; + } + } + return null; + } + + /** + * Sets the provider + * + * @param ManagementProvider $val The provider + * + * @return ManagementTemplate + */ + public function setProvider($val) + { + $this->_propDict["provider"] = $val; + return $this; + } + + /** + * Gets the userImpact + * + * @return string|null The userImpact + */ + public function getUserImpact() + { + if (array_key_exists("userImpact", $this->_propDict)) { + return $this->_propDict["userImpact"]; + } else { + return null; + } + } + + /** + * Sets the userImpact + * + * @param string $val The userImpact + * + * @return ManagementTemplate + */ + public function setUserImpact($val) + { + $this->_propDict["userImpact"] = $val; + return $this; + } + + /** + * Gets the version + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param int $val The version + * + * @return ManagementTemplate + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the workloadActions + * The collection of workload actions associated with the management template. Optional. Read-only. + * + * @return array|null The workloadActions + */ + public function getWorkloadActions() + { + if (array_key_exists("workloadActions", $this->_propDict)) { + return $this->_propDict["workloadActions"]; + } else { + return null; + } + } + + /** + * Sets the workloadActions + * The collection of workload actions associated with the management template. Optional. Read-only. + * + * @param WorkloadAction[] $val The workloadActions + * + * @return ManagementTemplate + */ + public function setWorkloadActions($val) + { + $this->_propDict["workloadActions"] = $val; + return $this; + } + + + /** + * Gets the managementTemplateCollections + * + * @return array|null The managementTemplateCollections + */ + public function getManagementTemplateCollections() + { + if (array_key_exists("managementTemplateCollections", $this->_propDict)) { + return $this->_propDict["managementTemplateCollections"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateCollections + * + * @param ManagementTemplateCollection[] $val The managementTemplateCollections + * + * @return ManagementTemplate + */ + public function setManagementTemplateCollections($val) + { + $this->_propDict["managementTemplateCollections"] = $val; + return $this; + } + + + /** + * Gets the managementTemplateSteps + * + * @return array|null The managementTemplateSteps + */ + public function getManagementTemplateSteps() + { + if (array_key_exists("managementTemplateSteps", $this->_propDict)) { + return $this->_propDict["managementTemplateSteps"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateSteps + * + * @param ManagementTemplateStep[] $val The managementTemplateSteps + * + * @return ManagementTemplate + */ + public function setManagementTemplateSteps($val) + { + $this->_propDict["managementTemplateSteps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateCollection.php new file mode 100644 index 0000000..27987f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateCollection.php @@ -0,0 +1,225 @@ +_propDict)) { + return $this->_propDict["createdByUserId"]; + } else { + return null; + } + } + + /** + * Sets the createdByUserId + * + * @param string $val The createdByUserId + * + * @return ManagementTemplateCollection + */ + public function setCreatedByUserId($val) + { + $this->_propDict["createdByUserId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return ManagementTemplateCollection + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return ManagementTemplateCollection + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return ManagementTemplateCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastActionByUserId + * + * @return string|null The lastActionByUserId + */ + public function getLastActionByUserId() + { + if (array_key_exists("lastActionByUserId", $this->_propDict)) { + return $this->_propDict["lastActionByUserId"]; + } else { + return null; + } + } + + /** + * Sets the lastActionByUserId + * + * @param string $val The lastActionByUserId + * + * @return ManagementTemplateCollection + */ + public function setLastActionByUserId($val) + { + $this->_propDict["lastActionByUserId"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return ManagementTemplateCollection + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + + /** + * Gets the managementTemplates + * + * @return array|null The managementTemplates + */ + public function getManagementTemplates() + { + if (array_key_exists("managementTemplates", $this->_propDict)) { + return $this->_propDict["managementTemplates"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplates + * + * @param ManagementTemplate[] $val The managementTemplates + * + * @return ManagementTemplateCollection + */ + public function setManagementTemplates($val) + { + $this->_propDict["managementTemplates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateDeploymentStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateDeploymentStatus.php new file mode 100644 index 0000000..074bec8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateDeploymentStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ManagementCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The management category for the management template. Possible values are: custom, devices, identity, unknownFutureValue. Required. Read-only. + * + * @param ManagementCategory $val The value to assign to the category + * + * @return ManagementTemplateDetailedInfo The ManagementTemplateDetailedInfo + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the management template. Required. Read-only. + * + * @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 + * The display name for the management template. Required. Read-only. + * + * @param string $val The value of the displayName + * + * @return ManagementTemplateDetailedInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the managementTemplateId + * The unique identifier for the management template. Required. Read-only. + * + * @return string|null The managementTemplateId + */ + public function getManagementTemplateId() + { + if (array_key_exists("managementTemplateId", $this->_propDict)) { + return $this->_propDict["managementTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the managementTemplateId + * The unique identifier for the management template. Required. Read-only. + * + * @param string $val The value of the managementTemplateId + * + * @return ManagementTemplateDetailedInfo + */ + public function setManagementTemplateId($val) + { + $this->_propDict["managementTemplateId"] = $val; + return $this; + } + /** + * Gets the version + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param int $val The value of the version + * + * @return ManagementTemplateDetailedInfo + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStep.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStep.php new file mode 100644 index 0000000..46721d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStep.php @@ -0,0 +1,376 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ManagementCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * + * @param ManagementCategory $val The category + * + * @return ManagementTemplateStep + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the createdByUserId + * + * @return string|null The createdByUserId + */ + public function getCreatedByUserId() + { + if (array_key_exists("createdByUserId", $this->_propDict)) { + return $this->_propDict["createdByUserId"]; + } else { + return null; + } + } + + /** + * Sets the createdByUserId + * + * @param string $val The createdByUserId + * + * @return ManagementTemplateStep + */ + public function setCreatedByUserId($val) + { + $this->_propDict["createdByUserId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return ManagementTemplateStep + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return ManagementTemplateStep + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return ManagementTemplateStep + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastActionByUserId + * + * @return string|null The lastActionByUserId + */ + public function getLastActionByUserId() + { + if (array_key_exists("lastActionByUserId", $this->_propDict)) { + return $this->_propDict["lastActionByUserId"]; + } else { + return null; + } + } + + /** + * Sets the lastActionByUserId + * + * @param string $val The lastActionByUserId + * + * @return ManagementTemplateStep + */ + public function setLastActionByUserId($val) + { + $this->_propDict["lastActionByUserId"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return ManagementTemplateStep + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the portalLink + * + * @return \Beta\Microsoft\Graph\Model\ActionUrl|null The portalLink + */ + public function getPortalLink() + { + if (array_key_exists("portalLink", $this->_propDict)) { + if (is_a($this->_propDict["portalLink"], "\Beta\Microsoft\Graph\Model\ActionUrl") || is_null($this->_propDict["portalLink"])) { + return $this->_propDict["portalLink"]; + } else { + $this->_propDict["portalLink"] = new \Beta\Microsoft\Graph\Model\ActionUrl($this->_propDict["portalLink"]); + return $this->_propDict["portalLink"]; + } + } + return null; + } + + /** + * Sets the portalLink + * + * @param \Beta\Microsoft\Graph\Model\ActionUrl $val The portalLink + * + * @return ManagementTemplateStep + */ + public function setPortalLink($val) + { + $this->_propDict["portalLink"] = $val; + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return ManagementTemplateStep + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the acceptedVersion + * + * @return ManagementTemplateStepVersion|null The acceptedVersion + */ + public function getAcceptedVersion() + { + if (array_key_exists("acceptedVersion", $this->_propDict)) { + if (is_a($this->_propDict["acceptedVersion"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplateStepVersion") || is_null($this->_propDict["acceptedVersion"])) { + return $this->_propDict["acceptedVersion"]; + } else { + $this->_propDict["acceptedVersion"] = new ManagementTemplateStepVersion($this->_propDict["acceptedVersion"]); + return $this->_propDict["acceptedVersion"]; + } + } + return null; + } + + /** + * Sets the acceptedVersion + * + * @param ManagementTemplateStepVersion $val The acceptedVersion + * + * @return ManagementTemplateStep + */ + public function setAcceptedVersion($val) + { + $this->_propDict["acceptedVersion"] = $val; + return $this; + } + + /** + * Gets the managementTemplate + * + * @return ManagementTemplate|null The managementTemplate + */ + public function getManagementTemplate() + { + if (array_key_exists("managementTemplate", $this->_propDict)) { + if (is_a($this->_propDict["managementTemplate"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplate") || is_null($this->_propDict["managementTemplate"])) { + return $this->_propDict["managementTemplate"]; + } else { + $this->_propDict["managementTemplate"] = new ManagementTemplate($this->_propDict["managementTemplate"]); + return $this->_propDict["managementTemplate"]; + } + } + return null; + } + + /** + * Sets the managementTemplate + * + * @param ManagementTemplate $val The managementTemplate + * + * @return ManagementTemplateStep + */ + public function setManagementTemplate($val) + { + $this->_propDict["managementTemplate"] = $val; + return $this; + } + + + /** + * Gets the versions + * + * @return array|null The versions + */ + public function getVersions() + { + if (array_key_exists("versions", $this->_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * + * @param ManagementTemplateStepVersion[] $val The versions + * + * @return ManagementTemplateStep + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStepDeployment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStepDeployment.php new file mode 100644 index 0000000..e524f89 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStepDeployment.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["createdByUserId"]; + } else { + return null; + } + } + + /** + * Sets the createdByUserId + * + * @param string $val The createdByUserId + * + * @return ManagementTemplateStepDeployment + */ + public function setCreatedByUserId($val) + { + $this->_propDict["createdByUserId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return ManagementTemplateStepDeployment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return GraphAPIErrorDetails|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\ManagedTenants\Model\GraphAPIErrorDetails") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new GraphAPIErrorDetails($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param GraphAPIErrorDetails $val The error + * + * @return ManagementTemplateStepDeployment + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the lastActionByUserId + * + * @return string|null The lastActionByUserId + */ + public function getLastActionByUserId() + { + if (array_key_exists("lastActionByUserId", $this->_propDict)) { + return $this->_propDict["lastActionByUserId"]; + } else { + return null; + } + } + + /** + * Sets the lastActionByUserId + * + * @param string $val The lastActionByUserId + * + * @return ManagementTemplateStepDeployment + */ + public function setLastActionByUserId($val) + { + $this->_propDict["lastActionByUserId"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return ManagementTemplateStepDeployment + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return ManagementTemplateDeploymentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplateDeploymentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ManagementTemplateDeploymentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param ManagementTemplateDeploymentStatus $val The status + * + * @return ManagementTemplateStepDeployment + */ + public function setStatus($val) + { + $this->_propDict["status"] = $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 ManagementTemplateStepDeployment + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the templateStepVersion + * + * @return ManagementTemplateStepVersion|null The templateStepVersion + */ + public function getTemplateStepVersion() + { + if (array_key_exists("templateStepVersion", $this->_propDict)) { + if (is_a($this->_propDict["templateStepVersion"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplateStepVersion") || is_null($this->_propDict["templateStepVersion"])) { + return $this->_propDict["templateStepVersion"]; + } else { + $this->_propDict["templateStepVersion"] = new ManagementTemplateStepVersion($this->_propDict["templateStepVersion"]); + return $this->_propDict["templateStepVersion"]; + } + } + return null; + } + + /** + * Sets the templateStepVersion + * + * @param ManagementTemplateStepVersion $val The templateStepVersion + * + * @return ManagementTemplateStepDeployment + */ + public function setTemplateStepVersion($val) + { + $this->_propDict["templateStepVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStepVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStepVersion.php new file mode 100644 index 0000000..41a40b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/ManagementTemplateStepVersion.php @@ -0,0 +1,341 @@ +_propDict)) { + return $this->_propDict["contentMarkdown"]; + } else { + return null; + } + } + + /** + * Sets the contentMarkdown + * + * @param string $val The contentMarkdown + * + * @return ManagementTemplateStepVersion + */ + public function setContentMarkdown($val) + { + $this->_propDict["contentMarkdown"] = $val; + return $this; + } + + /** + * Gets the createdByUserId + * + * @return string|null The createdByUserId + */ + public function getCreatedByUserId() + { + if (array_key_exists("createdByUserId", $this->_propDict)) { + return $this->_propDict["createdByUserId"]; + } else { + return null; + } + } + + /** + * Sets the createdByUserId + * + * @param string $val The createdByUserId + * + * @return ManagementTemplateStepVersion + */ + public function setCreatedByUserId($val) + { + $this->_propDict["createdByUserId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return ManagementTemplateStepVersion + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActionByUserId + * + * @return string|null The lastActionByUserId + */ + public function getLastActionByUserId() + { + if (array_key_exists("lastActionByUserId", $this->_propDict)) { + return $this->_propDict["lastActionByUserId"]; + } else { + return null; + } + } + + /** + * Sets the lastActionByUserId + * + * @param string $val The lastActionByUserId + * + * @return ManagementTemplateStepVersion + */ + public function setLastActionByUserId($val) + { + $this->_propDict["lastActionByUserId"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return ManagementTemplateStepVersion + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return ManagementTemplateStepVersion + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the version + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param int $val The version + * + * @return ManagementTemplateStepVersion + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + /** + * Gets the versionInformation + * + * @return string|null The versionInformation + */ + public function getVersionInformation() + { + if (array_key_exists("versionInformation", $this->_propDict)) { + return $this->_propDict["versionInformation"]; + } else { + return null; + } + } + + /** + * Sets the versionInformation + * + * @param string $val The versionInformation + * + * @return ManagementTemplateStepVersion + */ + public function setVersionInformation($val) + { + $this->_propDict["versionInformation"] = $val; + return $this; + } + + /** + * Gets the acceptedFor + * + * @return ManagementTemplateStep|null The acceptedFor + */ + public function getAcceptedFor() + { + if (array_key_exists("acceptedFor", $this->_propDict)) { + if (is_a($this->_propDict["acceptedFor"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplateStep") || is_null($this->_propDict["acceptedFor"])) { + return $this->_propDict["acceptedFor"]; + } else { + $this->_propDict["acceptedFor"] = new ManagementTemplateStep($this->_propDict["acceptedFor"]); + return $this->_propDict["acceptedFor"]; + } + } + return null; + } + + /** + * Sets the acceptedFor + * + * @param ManagementTemplateStep $val The acceptedFor + * + * @return ManagementTemplateStepVersion + */ + public function setAcceptedFor($val) + { + $this->_propDict["acceptedFor"] = $val; + return $this; + } + + + /** + * Gets the deployments + * + * @return array|null The deployments + */ + public function getDeployments() + { + if (array_key_exists("deployments", $this->_propDict)) { + return $this->_propDict["deployments"]; + } else { + return null; + } + } + + /** + * Sets the deployments + * + * @param ManagementTemplateStepDeployment[] $val The deployments + * + * @return ManagementTemplateStepVersion + */ + public function setDeployments($val) + { + $this->_propDict["deployments"] = $val; + return $this; + } + + /** + * Gets the templateStep + * + * @return ManagementTemplateStep|null The templateStep + */ + public function getTemplateStep() + { + if (array_key_exists("templateStep", $this->_propDict)) { + if (is_a($this->_propDict["templateStep"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementTemplateStep") || is_null($this->_propDict["templateStep"])) { + return $this->_propDict["templateStep"]; + } else { + $this->_propDict["templateStep"] = new ManagementTemplateStep($this->_propDict["templateStep"]); + return $this->_propDict["templateStep"]; + } + } + return null; + } + + /** + * Sets the templateStep + * + * @param ManagementTemplateStep $val The templateStep + * + * @return ManagementTemplateStepVersion + */ + public function setTemplateStep($val) + { + $this->_propDict["templateStep"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/MyRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/MyRole.php new file mode 100644 index 0000000..6d4e957 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/MyRole.php @@ -0,0 +1,159 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the MyRole + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the assignments + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * + * @param RoleAssignment[] $val The assignments + * + * @return MyRole + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $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 MyRole + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + 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 MyRole + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/RoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/RoleAssignment.php new file mode 100644 index 0000000..310983e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/RoleAssignment.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentType"], "\Beta\Microsoft\Graph\ManagedTenants\Model\DelegatedPrivilegeStatus") || is_null($this->_propDict["assignmentType"])) { + return $this->_propDict["assignmentType"]; + } else { + $this->_propDict["assignmentType"] = new DelegatedPrivilegeStatus($this->_propDict["assignmentType"]); + return $this->_propDict["assignmentType"]; + } + } + return null; + } + + /** + * Sets the assignmentType + * + * @param DelegatedPrivilegeStatus $val The value to assign to the assignmentType + * + * @return RoleAssignment The RoleAssignment + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the roles + * + * @return RoleDefinition|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + if (is_a($this->_propDict["roles"], "\Beta\Microsoft\Graph\ManagedTenants\Model\RoleDefinition") || is_null($this->_propDict["roles"])) { + return $this->_propDict["roles"]; + } else { + $this->_propDict["roles"] = new RoleDefinition($this->_propDict["roles"]); + return $this->_propDict["roles"]; + } + } + return null; + } + + /** + * Sets the roles + * + * @param RoleDefinition $val The value to assign to the roles + * + * @return RoleAssignment The RoleAssignment + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/RoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/RoleDefinition.php new file mode 100644 index 0000000..e0f259a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/RoleDefinition.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return RoleDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * 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 RoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the templateId + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * + * @param string $val The value of the templateId + * + * @return RoleDefinition + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/Setting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/Setting.php new file mode 100644 index 0000000..b8878f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/Setting.php @@ -0,0 +1,169 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the setting. Required. Read-only. + * + * @param string $val The value of the displayName + * + * @return Setting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the jsonValue + * The value for the setting serialized as string of JSON. Required. Read-only. + * + * @return string|null The jsonValue + */ + public function getJsonValue() + { + if (array_key_exists("jsonValue", $this->_propDict)) { + return $this->_propDict["jsonValue"]; + } else { + return null; + } + } + + /** + * Sets the jsonValue + * The value for the setting serialized as string of JSON. Required. Read-only. + * + * @param string $val The value of the jsonValue + * + * @return Setting + */ + public function setJsonValue($val) + { + $this->_propDict["jsonValue"] = $val; + return $this; + } + /** + * Gets the overwriteAllowed + * A flag indicating whether the setting can be override existing configurations when applied. Required. Read-only. + * + * @return bool|null The overwriteAllowed + */ + public function getOverwriteAllowed() + { + if (array_key_exists("overwriteAllowed", $this->_propDict)) { + return $this->_propDict["overwriteAllowed"]; + } else { + return null; + } + } + + /** + * Sets the overwriteAllowed + * A flag indicating whether the setting can be override existing configurations when applied. Required. Read-only. + * + * @param bool $val The value of the overwriteAllowed + * + * @return Setting + */ + public function setOverwriteAllowed($val) + { + $this->_propDict["overwriteAllowed"] = $val; + return $this; + } + /** + * Gets the settingId + * + * @return string|null The settingId + */ + public function getSettingId() + { + if (array_key_exists("settingId", $this->_propDict)) { + return $this->_propDict["settingId"]; + } else { + return null; + } + } + + /** + * Sets the settingId + * + * @param string $val The value of the settingId + * + * @return Setting + */ + public function setSettingId($val) + { + $this->_propDict["settingId"] = $val; + return $this; + } + + /** + * Gets the valueType + * The data type for the setting. Possible values are: string, integer, boolean, guid, stringCollection, integerCollection, booleanCollection, guidCollection, unknownFutureValue. Required. Read-only. + * + * @return ManagementParameterValueType|null The valueType + */ + public function getValueType() + { + if (array_key_exists("valueType", $this->_propDict)) { + if (is_a($this->_propDict["valueType"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementParameterValueType") || is_null($this->_propDict["valueType"])) { + return $this->_propDict["valueType"]; + } else { + $this->_propDict["valueType"] = new ManagementParameterValueType($this->_propDict["valueType"]); + return $this->_propDict["valueType"]; + } + } + return null; + } + + /** + * Sets the valueType + * The data type for the setting. Possible values are: string, integer, boolean, guid, stringCollection, integerCollection, booleanCollection, guidCollection, unknownFutureValue. Required. Read-only. + * + * @param ManagementParameterValueType $val The value to assign to the valueType + * + * @return Setting The Setting + */ + public function setValueType($val) + { + $this->_propDict["valueType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TemplateAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TemplateAction.php new file mode 100644 index 0000000..3a50d30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TemplateAction.php @@ -0,0 +1,192 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return TemplateAction + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * 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 TemplateAction + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the service + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * + * @param string $val The value of the service + * + * @return TemplateAction + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the settings + * + * @return Setting|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\ManagedTenants\Model\Setting") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new Setting($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * + * @param Setting $val The value to assign to the settings + * + * @return TemplateAction The TemplateAction + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + /** + * Gets the templateActionId + * + * @return string|null The templateActionId + */ + public function getTemplateActionId() + { + if (array_key_exists("templateActionId", $this->_propDict)) { + return $this->_propDict["templateActionId"]; + } else { + return null; + } + } + + /** + * Sets the templateActionId + * + * @param string $val The value of the templateActionId + * + * @return TemplateAction + */ + public function setTemplateActionId($val) + { + $this->_propDict["templateActionId"] = $val; + return $this; + } + + /** + * Gets the licenses + * + * @return \Beta\Microsoft\Graph\Model\LicenseDetails|null The licenses + */ + public function getLicenses() + { + if (array_key_exists("licenses", $this->_propDict)) { + if (is_a($this->_propDict["licenses"], "\Beta\Microsoft\Graph\Model\LicenseDetails") || is_null($this->_propDict["licenses"])) { + return $this->_propDict["licenses"]; + } else { + $this->_propDict["licenses"] = new \Beta\Microsoft\Graph\Model\LicenseDetails($this->_propDict["licenses"]); + return $this->_propDict["licenses"]; + } + } + return null; + } + + /** + * Sets the licenses + * + * @param \Beta\Microsoft\Graph\Model\LicenseDetails $val The value to assign to the licenses + * + * @return TemplateAction The TemplateAction + */ + public function setLicenses($val) + { + $this->_propDict["licenses"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TemplateParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TemplateParameter.php new file mode 100644 index 0000000..552d058 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TemplateParameter.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the template parameter. Optional. Read-only. + * + * @param string $val The value of the description + * + * @return TemplateParameter + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the template parameter. Required. Read-only. + * + * @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 + * The display name for the template parameter. Required. Read-only. + * + * @param string $val The value of the displayName + * + * @return TemplateParameter + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the jsonAllowedValues + * The allowed values for the template parameter represented by a serialized string of JSON. Optional. Read-only. + * + * @return string|null The jsonAllowedValues + */ + public function getJsonAllowedValues() + { + if (array_key_exists("jsonAllowedValues", $this->_propDict)) { + return $this->_propDict["jsonAllowedValues"]; + } else { + return null; + } + } + + /** + * Sets the jsonAllowedValues + * The allowed values for the template parameter represented by a serialized string of JSON. Optional. Read-only. + * + * @param string $val The value of the jsonAllowedValues + * + * @return TemplateParameter + */ + public function setJsonAllowedValues($val) + { + $this->_propDict["jsonAllowedValues"] = $val; + return $this; + } + /** + * Gets the jsonDefaultValue + * The default value for the template parameter represented by a serialized string of JSON. Required. Read-only. + * + * @return string|null The jsonDefaultValue + */ + public function getJsonDefaultValue() + { + if (array_key_exists("jsonDefaultValue", $this->_propDict)) { + return $this->_propDict["jsonDefaultValue"]; + } else { + return null; + } + } + + /** + * Sets the jsonDefaultValue + * The default value for the template parameter represented by a serialized string of JSON. Required. Read-only. + * + * @param string $val The value of the jsonDefaultValue + * + * @return TemplateParameter + */ + public function setJsonDefaultValue($val) + { + $this->_propDict["jsonDefaultValue"] = $val; + return $this; + } + + /** + * Gets the valueType + * The data type for the template parameter.. Possible values are: string, integer, boolean, guid, stringCollection, integerCollection, booleanCollection, guidCollection, unknownFutureValue. Required. Read-only. + * + * @return ManagementParameterValueType|null The valueType + */ + public function getValueType() + { + if (array_key_exists("valueType", $this->_propDict)) { + if (is_a($this->_propDict["valueType"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementParameterValueType") || is_null($this->_propDict["valueType"])) { + return $this->_propDict["valueType"]; + } else { + $this->_propDict["valueType"] = new ManagementParameterValueType($this->_propDict["valueType"]); + return $this->_propDict["valueType"]; + } + } + return null; + } + + /** + * Sets the valueType + * The data type for the template parameter.. Possible values are: string, integer, boolean, guid, stringCollection, integerCollection, booleanCollection, guidCollection, unknownFutureValue. Required. Read-only. + * + * @param ManagementParameterValueType $val The value to assign to the valueType + * + * @return TemplateParameter The TemplateParameter + */ + public function setValueType($val) + { + $this->_propDict["valueType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/Tenant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/Tenant.php new file mode 100644 index 0000000..84f2a56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/Tenant.php @@ -0,0 +1,217 @@ +_propDict)) { + if (is_a($this->_propDict["contract"], "\Beta\Microsoft\Graph\ManagedTenants\Model\TenantContract") || is_null($this->_propDict["contract"])) { + return $this->_propDict["contract"]; + } else { + $this->_propDict["contract"] = new TenantContract($this->_propDict["contract"]); + return $this->_propDict["contract"]; + } + } + return null; + } + + /** + * Sets the contract + * The relationship details for the tenant with the managing entity. + * + * @param TenantContract $val The contract + * + * @return Tenant + */ + public function setContract($val) + { + $this->_propDict["contract"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the tenant was created in the multi-tenant management platform. Optional. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the tenant was created in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Tenant + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the tenant. Required. Read-only. + * + * @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 + * The display name for the tenant. Required. Read-only. + * + * @param string $val The displayName + * + * @return Tenant + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * The date and time the tenant was last updated within the multi-tenant management platform. Optional. Read-only. + * + * @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 + * The date and time the tenant was last updated within the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return Tenant + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return Tenant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the tenantStatusInformation + * The onboarding status information for the tenant. Optional. Read-only. + * + * @return TenantStatusInformation|null The tenantStatusInformation + */ + public function getTenantStatusInformation() + { + if (array_key_exists("tenantStatusInformation", $this->_propDict)) { + if (is_a($this->_propDict["tenantStatusInformation"], "\Beta\Microsoft\Graph\ManagedTenants\Model\TenantStatusInformation") || is_null($this->_propDict["tenantStatusInformation"])) { + return $this->_propDict["tenantStatusInformation"]; + } else { + $this->_propDict["tenantStatusInformation"] = new TenantStatusInformation($this->_propDict["tenantStatusInformation"]); + return $this->_propDict["tenantStatusInformation"]; + } + } + return null; + } + + /** + * Sets the tenantStatusInformation + * The onboarding status information for the tenant. Optional. Read-only. + * + * @param TenantStatusInformation $val The tenantStatusInformation + * + * @return Tenant + */ + public function setTenantStatusInformation($val) + { + $this->_propDict["tenantStatusInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantContactInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantContactInformation.php new file mode 100644 index 0000000..09c6272 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantContactInformation.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for the contact. Optional + * + * @param string $val The value of the email + * + * @return TenantContactInformation + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the name + * The name for the contact. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name for the contact. Required. + * + * @param string $val The value of the name + * + * @return TenantContactInformation + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the notes + * The notes associated with the contact. Optional + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * The notes associated with the contact. Optional + * + * @param string $val The value of the notes + * + * @return TenantContactInformation + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + /** + * Gets the phone + * The phone number for the contact. Optional. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The phone number for the contact. Optional. + * + * @param string $val The value of the phone + * + * @return TenantContactInformation + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + /** + * Gets the title + * The title for the contact. Required. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title for the contact. Required. + * + * @param string $val The value of the title + * + * @return TenantContactInformation + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantContract.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantContract.php new file mode 100644 index 0000000..ede6ab7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantContract.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["contractType"]; + } else { + return null; + } + } + + /** + * Sets the contractType + * The type of relationship that exists between the managing entity and tenant. Optional. Read-only. + * + * @param int $val The value of the contractType + * + * @return TenantContract + */ + public function setContractType($val) + { + $this->_propDict["contractType"] = $val; + return $this; + } + /** + * Gets the defaultDomainName + * The default domain name for the tenant. Required. Read-only. + * + * @return string|null The defaultDomainName + */ + public function getDefaultDomainName() + { + if (array_key_exists("defaultDomainName", $this->_propDict)) { + return $this->_propDict["defaultDomainName"]; + } else { + return null; + } + } + + /** + * Sets the defaultDomainName + * The default domain name for the tenant. Required. Read-only. + * + * @param string $val The value of the defaultDomainName + * + * @return TenantContract + */ + public function setDefaultDomainName($val) + { + $this->_propDict["defaultDomainName"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the tenant. Optional. Read-only. + * + * @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 + * The display name for the tenant. Optional. Read-only. + * + * @param string $val The value of the displayName + * + * @return TenantContract + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantCustomizedInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantCustomizedInformation.php new file mode 100644 index 0000000..482acda --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantCustomizedInformation.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["contacts"]; + } else { + return null; + } + } + + /** + * Sets the contacts + * The collection of contacts for the managed tenant. Optional. + * + * @param TenantContactInformation[] $val The contacts + * + * @return TenantCustomizedInformation + */ + public function setContacts($val) + { + $this->_propDict["contacts"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the managed tenant. Required. Read-only. + * + * @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 + * The display name for the managed tenant. Required. Read-only. + * + * @param string $val The displayName + * + * @return TenantCustomizedInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return TenantCustomizedInformation + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the website + * The website for the managed tenant. Required. + * + * @return string|null The website + */ + public function getWebsite() + { + if (array_key_exists("website", $this->_propDict)) { + return $this->_propDict["website"]; + } else { + return null; + } + } + + /** + * Sets the website + * The website for the managed tenant. Required. + * + * @param string $val The website + * + * @return TenantCustomizedInformation + */ + public function setWebsite($val) + { + $this->_propDict["website"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantDetailedInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantDetailedInformation.php new file mode 100644 index 0000000..21f8400 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantDetailedInformation.php @@ -0,0 +1,317 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city where the managed tenant is located. Optional. Read-only. + * + * @param string $val The city + * + * @return TenantDetailedInformation + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + + /** + * Gets the countryCode + * The code for the country where the managed tenant is located. Optional. Read-only. + * + * @return string|null The countryCode + */ + public function getCountryCode() + { + if (array_key_exists("countryCode", $this->_propDict)) { + return $this->_propDict["countryCode"]; + } else { + return null; + } + } + + /** + * Sets the countryCode + * The code for the country where the managed tenant is located. Optional. Read-only. + * + * @param string $val The countryCode + * + * @return TenantDetailedInformation + */ + public function setCountryCode($val) + { + $this->_propDict["countryCode"] = $val; + return $this; + } + + /** + * Gets the countryName + * The name for the country where the managed tenant is located. Optional. Read-only. + * + * @return string|null The countryName + */ + public function getCountryName() + { + if (array_key_exists("countryName", $this->_propDict)) { + return $this->_propDict["countryName"]; + } else { + return null; + } + } + + /** + * Sets the countryName + * The name for the country where the managed tenant is located. Optional. Read-only. + * + * @param string $val The countryName + * + * @return TenantDetailedInformation + */ + public function setCountryName($val) + { + $this->_propDict["countryName"] = $val; + return $this; + } + + /** + * Gets the defaultDomainName + * The default domain name for the managed tenant. Optional. Read-only. + * + * @return string|null The defaultDomainName + */ + public function getDefaultDomainName() + { + if (array_key_exists("defaultDomainName", $this->_propDict)) { + return $this->_propDict["defaultDomainName"]; + } else { + return null; + } + } + + /** + * Sets the defaultDomainName + * The default domain name for the managed tenant. Optional. Read-only. + * + * @param string $val The defaultDomainName + * + * @return TenantDetailedInformation + */ + public function setDefaultDomainName($val) + { + $this->_propDict["defaultDomainName"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the managed tenant. + * + * @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 + * The display name for the managed tenant. + * + * @param string $val The displayName + * + * @return TenantDetailedInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the industryName + * The business industry associated with the managed tenant. Optional. Read-only. + * + * @return string|null The industryName + */ + public function getIndustryName() + { + if (array_key_exists("industryName", $this->_propDict)) { + return $this->_propDict["industryName"]; + } else { + return null; + } + } + + /** + * Sets the industryName + * The business industry associated with the managed tenant. Optional. Read-only. + * + * @param string $val The industryName + * + * @return TenantDetailedInformation + */ + public function setIndustryName($val) + { + $this->_propDict["industryName"] = $val; + return $this; + } + + /** + * Gets the region + * The region where the managed tenant is located. Optional. Read-only. + * + * @return string|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + return $this->_propDict["region"]; + } else { + return null; + } + } + + /** + * Sets the region + * The region where the managed tenant is located. Optional. Read-only. + * + * @param string $val The region + * + * @return TenantDetailedInformation + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } + + /** + * Gets the segmentName + * The business segment associated with the managed tenant. Optional. Read-only. + * + * @return string|null The segmentName + */ + public function getSegmentName() + { + if (array_key_exists("segmentName", $this->_propDict)) { + return $this->_propDict["segmentName"]; + } else { + return null; + } + } + + /** + * Sets the segmentName + * The business segment associated with the managed tenant. Optional. Read-only. + * + * @param string $val The segmentName + * + * @return TenantDetailedInformation + */ + public function setSegmentName($val) + { + $this->_propDict["segmentName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. + * + * @param string $val The tenantId + * + * @return TenantDetailedInformation + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the verticalName + * The vertical associated with the managed tenant. Optional. Read-only. + * + * @return string|null The verticalName + */ + public function getVerticalName() + { + if (array_key_exists("verticalName", $this->_propDict)) { + return $this->_propDict["verticalName"]; + } else { + return null; + } + } + + /** + * Sets the verticalName + * The vertical associated with the managed tenant. Optional. Read-only. + * + * @param string $val The verticalName + * + * @return TenantDetailedInformation + */ + public function setVerticalName($val) + { + $this->_propDict["verticalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantGroup.php new file mode 100644 index 0000000..03ff64c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantGroup.php @@ -0,0 +1,174 @@ +_propDict)) { + return $this->_propDict["allTenantsIncluded"]; + } else { + return null; + } + } + + /** + * Sets the allTenantsIncluded + * A flag indicating whether all managed tenant are included in the tenant group. Required. Read-only. + * + * @param bool $val The allTenantsIncluded + * + * @return TenantGroup + */ + public function setAllTenantsIncluded($val) + { + $this->_propDict["allTenantsIncluded"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * The display name for the tenant group. Optional. Read-only. + * + * @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 + * The display name for the tenant group. Optional. Read-only. + * + * @param string $val The displayName + * + * @return TenantGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the managementActions + * The collection of management action associated with the tenant group. Optional. Read-only. + * + * @return array|null The managementActions + */ + public function getManagementActions() + { + if (array_key_exists("managementActions", $this->_propDict)) { + return $this->_propDict["managementActions"]; + } else { + return null; + } + } + + /** + * Sets the managementActions + * The collection of management action associated with the tenant group. Optional. Read-only. + * + * @param ManagementActionInfo[] $val The managementActions + * + * @return TenantGroup + */ + public function setManagementActions($val) + { + $this->_propDict["managementActions"] = $val; + return $this; + } + + + /** + * Gets the managementIntents + * The collection of management intents associated with the tenant group. Optional. Read-only. + * + * @return array|null The managementIntents + */ + public function getManagementIntents() + { + if (array_key_exists("managementIntents", $this->_propDict)) { + return $this->_propDict["managementIntents"]; + } else { + return null; + } + } + + /** + * Sets the managementIntents + * The collection of management intents associated with the tenant group. Optional. Read-only. + * + * @param ManagementIntentInfo[] $val The managementIntents + * + * @return TenantGroup + */ + public function setManagementIntents($val) + { + $this->_propDict["managementIntents"] = $val; + return $this; + } + + /** + * Gets the tenantIds + * The collection of managed tenant identifiers include in the tenant group. Optional. Read-only. + * + * @return string|null The tenantIds + */ + public function getTenantIds() + { + if (array_key_exists("tenantIds", $this->_propDict)) { + return $this->_propDict["tenantIds"]; + } else { + return null; + } + } + + /** + * Sets the tenantIds + * The collection of managed tenant identifiers include in the tenant group. Optional. Read-only. + * + * @param string $val The tenantIds + * + * @return TenantGroup + */ + public function setTenantIds($val) + { + $this->_propDict["tenantIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantInfo.php new file mode 100644 index 0000000..063a262 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantInfo.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. + * + * @param string $val The value of the tenantId + * + * @return TenantInfo + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantOnboardingEligibilityReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantOnboardingEligibilityReason.php new file mode 100644 index 0000000..90d828f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantOnboardingEligibilityReason.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["delegatedPrivilegeStatus"], "\Beta\Microsoft\Graph\ManagedTenants\Model\DelegatedPrivilegeStatus") || is_null($this->_propDict["delegatedPrivilegeStatus"])) { + return $this->_propDict["delegatedPrivilegeStatus"]; + } else { + $this->_propDict["delegatedPrivilegeStatus"] = new DelegatedPrivilegeStatus($this->_propDict["delegatedPrivilegeStatus"]); + return $this->_propDict["delegatedPrivilegeStatus"]; + } + } + return null; + } + + /** + * Sets the delegatedPrivilegeStatus + * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue. Optional. Read-only. + * + * @param DelegatedPrivilegeStatus $val The value to assign to the delegatedPrivilegeStatus + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setDelegatedPrivilegeStatus($val) + { + $this->_propDict["delegatedPrivilegeStatus"] = $val; + return $this; + } + + /** + * Gets the lastDelegatedPrivilegeRefreshDateTime + * The date and time the delegated admin privileges status was updated. Optional. Read-only. + * + * @return \DateTime|null The lastDelegatedPrivilegeRefreshDateTime + */ + public function getLastDelegatedPrivilegeRefreshDateTime() + { + if (array_key_exists("lastDelegatedPrivilegeRefreshDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDelegatedPrivilegeRefreshDateTime"], "\DateTime") || is_null($this->_propDict["lastDelegatedPrivilegeRefreshDateTime"])) { + return $this->_propDict["lastDelegatedPrivilegeRefreshDateTime"]; + } else { + $this->_propDict["lastDelegatedPrivilegeRefreshDateTime"] = new \DateTime($this->_propDict["lastDelegatedPrivilegeRefreshDateTime"]); + return $this->_propDict["lastDelegatedPrivilegeRefreshDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDelegatedPrivilegeRefreshDateTime + * The date and time the delegated admin privileges status was updated. Optional. Read-only. + * + * @param \DateTime $val The value to assign to the lastDelegatedPrivilegeRefreshDateTime + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setLastDelegatedPrivilegeRefreshDateTime($val) + { + $this->_propDict["lastDelegatedPrivilegeRefreshDateTime"] = $val; + return $this; + } + /** + * Gets the offboardedByUserId + * The identifier for the account that offboarded the managed tenant. Optional. Read-only. + * + * @return string|null The offboardedByUserId + */ + public function getOffboardedByUserId() + { + if (array_key_exists("offboardedByUserId", $this->_propDict)) { + return $this->_propDict["offboardedByUserId"]; + } else { + return null; + } + } + + /** + * Sets the offboardedByUserId + * The identifier for the account that offboarded the managed tenant. Optional. Read-only. + * + * @param string $val The value of the offboardedByUserId + * + * @return TenantStatusInformation + */ + public function setOffboardedByUserId($val) + { + $this->_propDict["offboardedByUserId"] = $val; + return $this; + } + + /** + * Gets the offboardedDateTime + * The date and time when the managed tenant was offboarded. Optional. Read-only. + * + * @return \DateTime|null The offboardedDateTime + */ + public function getOffboardedDateTime() + { + if (array_key_exists("offboardedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["offboardedDateTime"], "\DateTime") || is_null($this->_propDict["offboardedDateTime"])) { + return $this->_propDict["offboardedDateTime"]; + } else { + $this->_propDict["offboardedDateTime"] = new \DateTime($this->_propDict["offboardedDateTime"]); + return $this->_propDict["offboardedDateTime"]; + } + } + return null; + } + + /** + * Sets the offboardedDateTime + * The date and time when the managed tenant was offboarded. Optional. Read-only. + * + * @param \DateTime $val The value to assign to the offboardedDateTime + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setOffboardedDateTime($val) + { + $this->_propDict["offboardedDateTime"] = $val; + return $this; + } + /** + * Gets the onboardedByUserId + * The identifier for the account that onboarded the managed tenant. Optional. Read-only. + * + * @return string|null The onboardedByUserId + */ + public function getOnboardedByUserId() + { + if (array_key_exists("onboardedByUserId", $this->_propDict)) { + return $this->_propDict["onboardedByUserId"]; + } else { + return null; + } + } + + /** + * Sets the onboardedByUserId + * The identifier for the account that onboarded the managed tenant. Optional. Read-only. + * + * @param string $val The value of the onboardedByUserId + * + * @return TenantStatusInformation + */ + public function setOnboardedByUserId($val) + { + $this->_propDict["onboardedByUserId"] = $val; + return $this; + } + + /** + * Gets the onboardedDateTime + * The date and time when the managed tenant was onboarded. Optional. Read-only. + * + * @return \DateTime|null The onboardedDateTime + */ + public function getOnboardedDateTime() + { + if (array_key_exists("onboardedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onboardedDateTime"], "\DateTime") || is_null($this->_propDict["onboardedDateTime"])) { + return $this->_propDict["onboardedDateTime"]; + } else { + $this->_propDict["onboardedDateTime"] = new \DateTime($this->_propDict["onboardedDateTime"]); + return $this->_propDict["onboardedDateTime"]; + } + } + return null; + } + + /** + * Sets the onboardedDateTime + * The date and time when the managed tenant was onboarded. Optional. Read-only. + * + * @param \DateTime $val The value to assign to the onboardedDateTime + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setOnboardedDateTime($val) + { + $this->_propDict["onboardedDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardingStatus + * The onboarding status for the managed tenant.. Possible values are: ineligible, inProcess, active, inactive, unknownFutureValue. Optional. Read-only. + * + * @return TenantOnboardingStatus|null The onboardingStatus + */ + public function getOnboardingStatus() + { + if (array_key_exists("onboardingStatus", $this->_propDict)) { + if (is_a($this->_propDict["onboardingStatus"], "\Beta\Microsoft\Graph\ManagedTenants\Model\TenantOnboardingStatus") || is_null($this->_propDict["onboardingStatus"])) { + return $this->_propDict["onboardingStatus"]; + } else { + $this->_propDict["onboardingStatus"] = new TenantOnboardingStatus($this->_propDict["onboardingStatus"]); + return $this->_propDict["onboardingStatus"]; + } + } + return null; + } + + /** + * Sets the onboardingStatus + * The onboarding status for the managed tenant.. Possible values are: ineligible, inProcess, active, inactive, unknownFutureValue. Optional. Read-only. + * + * @param TenantOnboardingStatus $val The value to assign to the onboardingStatus + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setOnboardingStatus($val) + { + $this->_propDict["onboardingStatus"] = $val; + return $this; + } + + /** + * Gets the tenantOnboardingEligibilityReason + * Organization's onboarding eligibility reason in Microsoft 365 Lighthouse.. Possible values are: none, contractType, delegatedAdminPrivileges,usersCount,license and unknownFutureValue. Optional. Read-only. + * + * @return TenantOnboardingEligibilityReason|null The tenantOnboardingEligibilityReason + */ + public function getTenantOnboardingEligibilityReason() + { + if (array_key_exists("tenantOnboardingEligibilityReason", $this->_propDict)) { + if (is_a($this->_propDict["tenantOnboardingEligibilityReason"], "\Beta\Microsoft\Graph\ManagedTenants\Model\TenantOnboardingEligibilityReason") || is_null($this->_propDict["tenantOnboardingEligibilityReason"])) { + return $this->_propDict["tenantOnboardingEligibilityReason"]; + } else { + $this->_propDict["tenantOnboardingEligibilityReason"] = new TenantOnboardingEligibilityReason($this->_propDict["tenantOnboardingEligibilityReason"]); + return $this->_propDict["tenantOnboardingEligibilityReason"]; + } + } + return null; + } + + /** + * Sets the tenantOnboardingEligibilityReason + * Organization's onboarding eligibility reason in Microsoft 365 Lighthouse.. Possible values are: none, contractType, delegatedAdminPrivileges,usersCount,license and unknownFutureValue. Optional. Read-only. + * + * @param TenantOnboardingEligibilityReason $val The value to assign to the tenantOnboardingEligibilityReason + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setTenantOnboardingEligibilityReason($val) + { + $this->_propDict["tenantOnboardingEligibilityReason"] = $val; + return $this; + } + + /** + * Gets the workloadStatuses + * The collection of workload statues for the managed tenant. Optional. Read-only. + * + * @return WorkloadStatus|null The workloadStatuses + */ + public function getWorkloadStatuses() + { + if (array_key_exists("workloadStatuses", $this->_propDict)) { + if (is_a($this->_propDict["workloadStatuses"], "\Beta\Microsoft\Graph\ManagedTenants\Model\WorkloadStatus") || is_null($this->_propDict["workloadStatuses"])) { + return $this->_propDict["workloadStatuses"]; + } else { + $this->_propDict["workloadStatuses"] = new WorkloadStatus($this->_propDict["workloadStatuses"]); + return $this->_propDict["workloadStatuses"]; + } + } + return null; + } + + /** + * Sets the workloadStatuses + * The collection of workload statues for the managed tenant. Optional. Read-only. + * + * @param WorkloadStatus $val The value to assign to the workloadStatuses + * + * @return TenantStatusInformation The TenantStatusInformation + */ + public function setWorkloadStatuses($val) + { + $this->_propDict["workloadStatuses"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantTag.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantTag.php new file mode 100644 index 0000000..043dfff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantTag.php @@ -0,0 +1,272 @@ +_propDict)) { + return $this->_propDict["createdByUserId"]; + } else { + return null; + } + } + + /** + * Sets the createdByUserId + * The identifier for the account that created the tenant tag. Required. Read-only. + * + * @param string $val The createdByUserId + * + * @return TenantTag + */ + public function setCreatedByUserId($val) + { + $this->_propDict["createdByUserId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the tenant tag was created. Required. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the tenant tag was created. Required. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return TenantTag + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deletedDateTime + * The date and time when the tenant tag was deleted. Required. Read-only. + * + * @return \DateTime|null The deletedDateTime + */ + public function getDeletedDateTime() + { + if (array_key_exists("deletedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { + return $this->_propDict["deletedDateTime"]; + } else { + $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); + return $this->_propDict["deletedDateTime"]; + } + } + return null; + } + + /** + * Sets the deletedDateTime + * The date and time when the tenant tag was deleted. Required. Read-only. + * + * @param \DateTime $val The deletedDateTime + * + * @return TenantTag + */ + public function setDeletedDateTime($val) + { + $this->_propDict["deletedDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description for the tenant tag. Optional. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the tenant tag. Optional. Read-only. + * + * @param string $val The description + * + * @return TenantTag + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the tenant tag. Required. Read-only. + * + * @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 + * The display name for the tenant tag. Required. Read-only. + * + * @param string $val The displayName + * + * @return TenantTag + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastActionByUserId + * The identifier for the account that lasted on the tenant tag. Optional. Read-only. + * + * @return string|null The lastActionByUserId + */ + public function getLastActionByUserId() + { + if (array_key_exists("lastActionByUserId", $this->_propDict)) { + return $this->_propDict["lastActionByUserId"]; + } else { + return null; + } + } + + /** + * Sets the lastActionByUserId + * The identifier for the account that lasted on the tenant tag. Optional. Read-only. + * + * @param string $val The lastActionByUserId + * + * @return TenantTag + */ + public function setLastActionByUserId($val) + { + $this->_propDict["lastActionByUserId"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * The date and time the last action was performed against the tenant tag. Optional. Read-only. + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * The date and time the last action was performed against the tenant tag. Optional. Read-only. + * + * @param \DateTime $val The lastActionDateTime + * + * @return TenantTag + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + + /** + * Gets the tenants + * The collection of managed tenants associated with the tenant tag. Optional. + * + * @return array|null The tenants + */ + public function getTenants() + { + if (array_key_exists("tenants", $this->_propDict)) { + return $this->_propDict["tenants"]; + } else { + return null; + } + } + + /** + * Sets the tenants + * The collection of managed tenants associated with the tenant tag. Optional. + * + * @param TenantInfo[] $val The tenants + * + * @return TenantTag + */ + public function setTenants($val) + { + $this->_propDict["tenants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WindowsDeviceMalwareState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WindowsDeviceMalwareState.php new file mode 100644 index 0000000..37d7177 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WindowsDeviceMalwareState.php @@ -0,0 +1,503 @@ +_propDict)) { + return $this->_propDict["additionalInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformationUrl + * The additional information URL for the discovered malware. Optional. Read-only. + * + * @param string $val The additionalInformationUrl + * + * @return WindowsDeviceMalwareState + */ + public function setAdditionalInformationUrl($val) + { + $this->_propDict["additionalInformationUrl"] = $val; + return $this; + } + + /** + * Gets the detectionCount + * The number of times the piece of malware has been detected. Optional. Read-only. + * + * @return int|null The detectionCount + */ + public function getDetectionCount() + { + if (array_key_exists("detectionCount", $this->_propDict)) { + return $this->_propDict["detectionCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionCount + * The number of times the piece of malware has been detected. Optional. Read-only. + * + * @param int $val The detectionCount + * + * @return WindowsDeviceMalwareState + */ + public function setDetectionCount($val) + { + $this->_propDict["detectionCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceDeleted + * A flag indicating whether the device has been deleted. Optional. Read-only. + * + * @return bool|null The deviceDeleted + */ + public function getDeviceDeleted() + { + if (array_key_exists("deviceDeleted", $this->_propDict)) { + return $this->_propDict["deviceDeleted"]; + } else { + return null; + } + } + + /** + * Sets the deviceDeleted + * A flag indicating whether the device has been deleted. Optional. Read-only. + * + * @param bool $val The deviceDeleted + * + * @return WindowsDeviceMalwareState + */ + public function setDeviceDeleted($val) + { + $this->_propDict["deviceDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the initialDetectionDateTime + * The date and time the piece of malware was initially detected. Optional. Read-only. + * + * @return \DateTime|null The initialDetectionDateTime + */ + public function getInitialDetectionDateTime() + { + if (array_key_exists("initialDetectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["initialDetectionDateTime"], "\DateTime") || is_null($this->_propDict["initialDetectionDateTime"])) { + return $this->_propDict["initialDetectionDateTime"]; + } else { + $this->_propDict["initialDetectionDateTime"] = new \DateTime($this->_propDict["initialDetectionDateTime"]); + return $this->_propDict["initialDetectionDateTime"]; + } + } + return null; + } + + /** + * Sets the initialDetectionDateTime + * The date and time the piece of malware was initially detected. Optional. Read-only. + * + * @param \DateTime $val The initialDetectionDateTime + * + * @return WindowsDeviceMalwareState + */ + public function setInitialDetectionDateTime($val) + { + $this->_propDict["initialDetectionDateTime"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return WindowsDeviceMalwareState + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastStateChangeDateTime + * The date and time the malware state was last changed. Optional. Read-only. + * + * @return \DateTime|null The lastStateChangeDateTime + */ + public function getLastStateChangeDateTime() + { + if (array_key_exists("lastStateChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastStateChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastStateChangeDateTime"])) { + return $this->_propDict["lastStateChangeDateTime"]; + } else { + $this->_propDict["lastStateChangeDateTime"] = new \DateTime($this->_propDict["lastStateChangeDateTime"]); + return $this->_propDict["lastStateChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the lastStateChangeDateTime + * The date and time the malware state was last changed. Optional. Read-only. + * + * @param \DateTime $val The lastStateChangeDateTime + * + * @return WindowsDeviceMalwareState + */ + public function setLastStateChangeDateTime($val) + { + $this->_propDict["lastStateChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the malwareCategory + * The category for the detected malware. Optional. Read-only. + * + * @return string|null The malwareCategory + */ + public function getMalwareCategory() + { + if (array_key_exists("malwareCategory", $this->_propDict)) { + return $this->_propDict["malwareCategory"]; + } else { + return null; + } + } + + /** + * Sets the malwareCategory + * The category for the detected malware. Optional. Read-only. + * + * @param string $val The malwareCategory + * + * @return WindowsDeviceMalwareState + */ + public function setMalwareCategory($val) + { + $this->_propDict["malwareCategory"] = $val; + return $this; + } + + /** + * Gets the malwareDisplayName + * The display name for the detected malware. Optional. Read-only. + * + * @return string|null The malwareDisplayName + */ + public function getMalwareDisplayName() + { + if (array_key_exists("malwareDisplayName", $this->_propDict)) { + return $this->_propDict["malwareDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the malwareDisplayName + * The display name for the detected malware. Optional. Read-only. + * + * @param string $val The malwareDisplayName + * + * @return WindowsDeviceMalwareState + */ + public function setMalwareDisplayName($val) + { + $this->_propDict["malwareDisplayName"] = $val; + return $this; + } + + /** + * Gets the malwareExecutionState + * The execution state for the detected malware. Optional. Read-only. + * + * @return string|null The malwareExecutionState + */ + public function getMalwareExecutionState() + { + if (array_key_exists("malwareExecutionState", $this->_propDict)) { + return $this->_propDict["malwareExecutionState"]; + } else { + return null; + } + } + + /** + * Sets the malwareExecutionState + * The execution state for the detected malware. Optional. Read-only. + * + * @param string $val The malwareExecutionState + * + * @return WindowsDeviceMalwareState + */ + public function setMalwareExecutionState($val) + { + $this->_propDict["malwareExecutionState"] = $val; + return $this; + } + + /** + * Gets the malwareId + * The unique identifier for the detected malware. Optional. Read-only. + * + * @return string|null The malwareId + */ + public function getMalwareId() + { + if (array_key_exists("malwareId", $this->_propDict)) { + return $this->_propDict["malwareId"]; + } else { + return null; + } + } + + /** + * Sets the malwareId + * The unique identifier for the detected malware. Optional. Read-only. + * + * @param string $val The malwareId + * + * @return WindowsDeviceMalwareState + */ + public function setMalwareId($val) + { + $this->_propDict["malwareId"] = $val; + return $this; + } + + /** + * Gets the malwareSeverity + * The severity for the detected malware. Optional. Read-only. + * + * @return string|null The malwareSeverity + */ + public function getMalwareSeverity() + { + if (array_key_exists("malwareSeverity", $this->_propDict)) { + return $this->_propDict["malwareSeverity"]; + } else { + return null; + } + } + + /** + * Sets the malwareSeverity + * The severity for the detected malware. Optional. Read-only. + * + * @param string $val The malwareSeverity + * + * @return WindowsDeviceMalwareState + */ + public function setMalwareSeverity($val) + { + $this->_propDict["malwareSeverity"] = $val; + return $this; + } + + /** + * Gets the malwareThreatState + * The threat state for the detected malware. Optional. Read-only. + * + * @return string|null The malwareThreatState + */ + public function getMalwareThreatState() + { + if (array_key_exists("malwareThreatState", $this->_propDict)) { + return $this->_propDict["malwareThreatState"]; + } else { + return null; + } + } + + /** + * Sets the malwareThreatState + * The threat state for the detected malware. Optional. Read-only. + * + * @param string $val The malwareThreatState + * + * @return WindowsDeviceMalwareState + */ + public function setMalwareThreatState($val) + { + $this->_propDict["malwareThreatState"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The identifier for the managed device where the malware was detected. Optional. Read-only. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The identifier for the managed device where the malware was detected. Optional. Read-only. + * + * @param string $val The managedDeviceId + * + * @return WindowsDeviceMalwareState + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * The display name for the managed device where the malware was detected. Optional. Read-only. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * The display name for the managed device where the malware was detected. Optional. Read-only. + * + * @param string $val The managedDeviceName + * + * @return WindowsDeviceMalwareState + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Optional. Read-only. + * + * @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 + * The display name for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return WindowsDeviceMalwareState + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return WindowsDeviceMalwareState + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WindowsProtectionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WindowsProtectionState.php new file mode 100644 index 0000000..67bfe26 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WindowsProtectionState.php @@ -0,0 +1,772 @@ +_propDict)) { + return $this->_propDict["antiMalwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the antiMalwareVersion + * The anti-malware version for the managed device. Optional. Read-only. + * + * @param string $val The antiMalwareVersion + * + * @return WindowsProtectionState + */ + public function setAntiMalwareVersion($val) + { + $this->_propDict["antiMalwareVersion"] = $val; + return $this; + } + + /** + * Gets the attentionRequired + * A flag indicating whether attention is required for the managed device. Optional. Read-only. + * + * @return bool|null The attentionRequired + */ + public function getAttentionRequired() + { + if (array_key_exists("attentionRequired", $this->_propDict)) { + return $this->_propDict["attentionRequired"]; + } else { + return null; + } + } + + /** + * Sets the attentionRequired + * A flag indicating whether attention is required for the managed device. Optional. Read-only. + * + * @param bool $val The attentionRequired + * + * @return WindowsProtectionState + */ + public function setAttentionRequired($val) + { + $this->_propDict["attentionRequired"] = boolval($val); + return $this; + } + + /** + * Gets the deviceDeleted + * A flag indicating whether the managed device has been deleted. Optional. Read-only. + * + * @return bool|null The deviceDeleted + */ + public function getDeviceDeleted() + { + if (array_key_exists("deviceDeleted", $this->_propDict)) { + return $this->_propDict["deviceDeleted"]; + } else { + return null; + } + } + + /** + * Sets the deviceDeleted + * A flag indicating whether the managed device has been deleted. Optional. Read-only. + * + * @param bool $val The deviceDeleted + * + * @return WindowsProtectionState + */ + public function setDeviceDeleted($val) + { + $this->_propDict["deviceDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the devicePropertyRefreshDateTime + * The date and time the device property has been refreshed. Optional. Read-only. + * + * @return \DateTime|null The devicePropertyRefreshDateTime + */ + public function getDevicePropertyRefreshDateTime() + { + if (array_key_exists("devicePropertyRefreshDateTime", $this->_propDict)) { + if (is_a($this->_propDict["devicePropertyRefreshDateTime"], "\DateTime") || is_null($this->_propDict["devicePropertyRefreshDateTime"])) { + return $this->_propDict["devicePropertyRefreshDateTime"]; + } else { + $this->_propDict["devicePropertyRefreshDateTime"] = new \DateTime($this->_propDict["devicePropertyRefreshDateTime"]); + return $this->_propDict["devicePropertyRefreshDateTime"]; + } + } + return null; + } + + /** + * Sets the devicePropertyRefreshDateTime + * The date and time the device property has been refreshed. Optional. Read-only. + * + * @param \DateTime $val The devicePropertyRefreshDateTime + * + * @return WindowsProtectionState + */ + public function setDevicePropertyRefreshDateTime($val) + { + $this->_propDict["devicePropertyRefreshDateTime"] = $val; + return $this; + } + + /** + * Gets the engineVersion + * The anti-virus engine version for the managed device. Optional. Read-only. + * + * @return string|null The engineVersion + */ + public function getEngineVersion() + { + if (array_key_exists("engineVersion", $this->_propDict)) { + return $this->_propDict["engineVersion"]; + } else { + return null; + } + } + + /** + * Sets the engineVersion + * The anti-virus engine version for the managed device. Optional. Read-only. + * + * @param string $val The engineVersion + * + * @return WindowsProtectionState + */ + public function setEngineVersion($val) + { + $this->_propDict["engineVersion"] = $val; + return $this; + } + + /** + * Gets the fullScanOverdue + * A flag indicating whether quick scan is overdue for the managed device. Optional. Read-only. + * + * @return bool|null The fullScanOverdue + */ + public function getFullScanOverdue() + { + if (array_key_exists("fullScanOverdue", $this->_propDict)) { + return $this->_propDict["fullScanOverdue"]; + } else { + return null; + } + } + + /** + * Sets the fullScanOverdue + * A flag indicating whether quick scan is overdue for the managed device. Optional. Read-only. + * + * @param bool $val The fullScanOverdue + * + * @return WindowsProtectionState + */ + public function setFullScanOverdue($val) + { + $this->_propDict["fullScanOverdue"] = boolval($val); + return $this; + } + + /** + * Gets the fullScanRequired + * A flag indicating whether full scan is overdue for the managed device. Optional. Read-only. + * + * @return bool|null The fullScanRequired + */ + public function getFullScanRequired() + { + if (array_key_exists("fullScanRequired", $this->_propDict)) { + return $this->_propDict["fullScanRequired"]; + } else { + return null; + } + } + + /** + * Sets the fullScanRequired + * A flag indicating whether full scan is overdue for the managed device. Optional. Read-only. + * + * @param bool $val The fullScanRequired + * + * @return WindowsProtectionState + */ + public function setFullScanRequired($val) + { + $this->_propDict["fullScanRequired"] = boolval($val); + return $this; + } + + /** + * Gets the lastFullScanDateTime + * The date and time a full scan was completed. Optional. Read-only. + * + * @return \DateTime|null The lastFullScanDateTime + */ + public function getLastFullScanDateTime() + { + if (array_key_exists("lastFullScanDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastFullScanDateTime"], "\DateTime") || is_null($this->_propDict["lastFullScanDateTime"])) { + return $this->_propDict["lastFullScanDateTime"]; + } else { + $this->_propDict["lastFullScanDateTime"] = new \DateTime($this->_propDict["lastFullScanDateTime"]); + return $this->_propDict["lastFullScanDateTime"]; + } + } + return null; + } + + /** + * Sets the lastFullScanDateTime + * The date and time a full scan was completed. Optional. Read-only. + * + * @param \DateTime $val The lastFullScanDateTime + * + * @return WindowsProtectionState + */ + public function setLastFullScanDateTime($val) + { + $this->_propDict["lastFullScanDateTime"] = $val; + return $this; + } + + /** + * Gets the lastFullScanSignatureVersion + * The version anti-malware version used to perform the last full scan. Optional. Read-only. + * + * @return string|null The lastFullScanSignatureVersion + */ + public function getLastFullScanSignatureVersion() + { + if (array_key_exists("lastFullScanSignatureVersion", $this->_propDict)) { + return $this->_propDict["lastFullScanSignatureVersion"]; + } else { + return null; + } + } + + /** + * Sets the lastFullScanSignatureVersion + * The version anti-malware version used to perform the last full scan. Optional. Read-only. + * + * @param string $val The lastFullScanSignatureVersion + * + * @return WindowsProtectionState + */ + public function setLastFullScanSignatureVersion($val) + { + $this->_propDict["lastFullScanSignatureVersion"] = $val; + return $this; + } + + /** + * Gets the lastQuickScanDateTime + * The date and time a quick scan was completed. Optional. Read-only. + * + * @return \DateTime|null The lastQuickScanDateTime + */ + public function getLastQuickScanDateTime() + { + if (array_key_exists("lastQuickScanDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastQuickScanDateTime"], "\DateTime") || is_null($this->_propDict["lastQuickScanDateTime"])) { + return $this->_propDict["lastQuickScanDateTime"]; + } else { + $this->_propDict["lastQuickScanDateTime"] = new \DateTime($this->_propDict["lastQuickScanDateTime"]); + return $this->_propDict["lastQuickScanDateTime"]; + } + } + return null; + } + + /** + * Sets the lastQuickScanDateTime + * The date and time a quick scan was completed. Optional. Read-only. + * + * @param \DateTime $val The lastQuickScanDateTime + * + * @return WindowsProtectionState + */ + public function setLastQuickScanDateTime($val) + { + $this->_propDict["lastQuickScanDateTime"] = $val; + return $this; + } + + /** + * Gets the lastQuickScanSignatureVersion + * The version anti-malware version used to perform the last full scan. Optional. Read-only. + * + * @return string|null The lastQuickScanSignatureVersion + */ + public function getLastQuickScanSignatureVersion() + { + if (array_key_exists("lastQuickScanSignatureVersion", $this->_propDict)) { + return $this->_propDict["lastQuickScanSignatureVersion"]; + } else { + return null; + } + } + + /** + * Sets the lastQuickScanSignatureVersion + * The version anti-malware version used to perform the last full scan. Optional. Read-only. + * + * @param string $val The lastQuickScanSignatureVersion + * + * @return WindowsProtectionState + */ + public function setLastQuickScanSignatureVersion($val) + { + $this->_propDict["lastQuickScanSignatureVersion"] = $val; + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return WindowsProtectionState + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * The date and time the protection state was last reported for the managed device. Optional. Read-only. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * The date and time the protection state was last reported for the managed device. Optional. Read-only. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return WindowsProtectionState + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the malwareProtectionEnabled + * A flag indicating whether malware protection is enabled for the managed device. Optional. Read-only. + * + * @return bool|null The malwareProtectionEnabled + */ + public function getMalwareProtectionEnabled() + { + if (array_key_exists("malwareProtectionEnabled", $this->_propDict)) { + return $this->_propDict["malwareProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the malwareProtectionEnabled + * A flag indicating whether malware protection is enabled for the managed device. Optional. Read-only. + * + * @param bool $val The malwareProtectionEnabled + * + * @return WindowsProtectionState + */ + public function setMalwareProtectionEnabled($val) + { + $this->_propDict["malwareProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the managedDeviceHealthState + * The health state for the managed device. Optional. Read-only. + * + * @return string|null The managedDeviceHealthState + */ + public function getManagedDeviceHealthState() + { + if (array_key_exists("managedDeviceHealthState", $this->_propDict)) { + return $this->_propDict["managedDeviceHealthState"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceHealthState + * The health state for the managed device. Optional. Read-only. + * + * @param string $val The managedDeviceHealthState + * + * @return WindowsProtectionState + */ + public function setManagedDeviceHealthState($val) + { + $this->_propDict["managedDeviceHealthState"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The unique identifier for the managed device. Optional. Read-only. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The unique identifier for the managed device. Optional. Read-only. + * + * @param string $val The managedDeviceId + * + * @return WindowsProtectionState + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * The display name for the managed device. Optional. Read-only. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * The display name for the managed device. Optional. Read-only. + * + * @param string $val The managedDeviceName + * + * @return WindowsProtectionState + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the networkInspectionSystemEnabled + * A flag indicating whether the network inspection system is enabled. Optional. Read-only. + * + * @return bool|null The networkInspectionSystemEnabled + */ + public function getNetworkInspectionSystemEnabled() + { + if (array_key_exists("networkInspectionSystemEnabled", $this->_propDict)) { + return $this->_propDict["networkInspectionSystemEnabled"]; + } else { + return null; + } + } + + /** + * Sets the networkInspectionSystemEnabled + * A flag indicating whether the network inspection system is enabled. Optional. Read-only. + * + * @param bool $val The networkInspectionSystemEnabled + * + * @return WindowsProtectionState + */ + public function setNetworkInspectionSystemEnabled($val) + { + $this->_propDict["networkInspectionSystemEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the quickScanOverdue + * A flag indicating weather a quick scan is overdue. Optional. Read-only. + * + * @return bool|null The quickScanOverdue + */ + public function getQuickScanOverdue() + { + if (array_key_exists("quickScanOverdue", $this->_propDict)) { + return $this->_propDict["quickScanOverdue"]; + } else { + return null; + } + } + + /** + * Sets the quickScanOverdue + * A flag indicating weather a quick scan is overdue. Optional. Read-only. + * + * @param bool $val The quickScanOverdue + * + * @return WindowsProtectionState + */ + public function setQuickScanOverdue($val) + { + $this->_propDict["quickScanOverdue"] = boolval($val); + return $this; + } + + /** + * Gets the realTimeProtectionEnabled + * A flag indicating whether real time protection is enabled. Optional. Read-only. + * + * @return bool|null The realTimeProtectionEnabled + */ + public function getRealTimeProtectionEnabled() + { + if (array_key_exists("realTimeProtectionEnabled", $this->_propDict)) { + return $this->_propDict["realTimeProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the realTimeProtectionEnabled + * A flag indicating whether real time protection is enabled. Optional. Read-only. + * + * @param bool $val The realTimeProtectionEnabled + * + * @return WindowsProtectionState + */ + public function setRealTimeProtectionEnabled($val) + { + $this->_propDict["realTimeProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the rebootRequired + * A flag indicating whether a reboot is required. Optional. Read-only. + * + * @return bool|null The rebootRequired + */ + public function getRebootRequired() + { + if (array_key_exists("rebootRequired", $this->_propDict)) { + return $this->_propDict["rebootRequired"]; + } else { + return null; + } + } + + /** + * Sets the rebootRequired + * A flag indicating whether a reboot is required. Optional. Read-only. + * + * @param bool $val The rebootRequired + * + * @return WindowsProtectionState + */ + public function setRebootRequired($val) + { + $this->_propDict["rebootRequired"] = boolval($val); + return $this; + } + + /** + * Gets the signatureUpdateOverdue + * A flag indicating whether an signature update is overdue. Optional. Read-only. + * + * @return bool|null The signatureUpdateOverdue + */ + public function getSignatureUpdateOverdue() + { + if (array_key_exists("signatureUpdateOverdue", $this->_propDict)) { + return $this->_propDict["signatureUpdateOverdue"]; + } else { + return null; + } + } + + /** + * Sets the signatureUpdateOverdue + * A flag indicating whether an signature update is overdue. Optional. Read-only. + * + * @param bool $val The signatureUpdateOverdue + * + * @return WindowsProtectionState + */ + public function setSignatureUpdateOverdue($val) + { + $this->_propDict["signatureUpdateOverdue"] = boolval($val); + return $this; + } + + /** + * Gets the signatureVersion + * The signature version for the managed device. Optional. Read-only. + * + * @return string|null The signatureVersion + */ + public function getSignatureVersion() + { + if (array_key_exists("signatureVersion", $this->_propDict)) { + return $this->_propDict["signatureVersion"]; + } else { + return null; + } + } + + /** + * Sets the signatureVersion + * The signature version for the managed device. Optional. Read-only. + * + * @param string $val The signatureVersion + * + * @return WindowsProtectionState + */ + public function setSignatureVersion($val) + { + $this->_propDict["signatureVersion"] = $val; + return $this; + } + + /** + * Gets the tenantDisplayName + * The display name for the managed tenant. Optional. Read-only. + * + * @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 + * The display name for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantDisplayName + * + * @return WindowsProtectionState + */ + public function setTenantDisplayName($val) + { + $this->_propDict["tenantDisplayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @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 + * The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only. + * + * @param string $val The tenantId + * + * @return WindowsProtectionState + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadAction.php new file mode 100644 index 0000000..292d748 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadAction.php @@ -0,0 +1,230 @@ +_propDict)) { + return $this->_propDict["actionId"]; + } else { + return null; + } + } + + /** + * Sets the actionId + * The unique identifier for the workload action. Required. Read-only. + * + * @param string $val The value of the actionId + * + * @return WorkloadAction + */ + public function setActionId($val) + { + $this->_propDict["actionId"] = $val; + return $this; + } + + /** + * Gets the category + * The category for the workload action. Possible values are: automated, manual, unknownFutureValue. Optional. Read-only. + * + * @return WorkloadActionCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\ManagedTenants\Model\WorkloadActionCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new WorkloadActionCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The category for the workload action. Possible values are: automated, manual, unknownFutureValue. Optional. Read-only. + * + * @param WorkloadActionCategory $val The value to assign to the category + * + * @return WorkloadAction The WorkloadAction + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + /** + * Gets the description + * The description for the workload action. Optional. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the workload action. Optional. Read-only. + * + * @param string $val The value of the description + * + * @return WorkloadAction + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the workload action. Optional. Read-only. + * + * @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 + * The display name for the workload action. Optional. Read-only. + * + * @param string $val The value of the displayName + * + * @return WorkloadAction + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the licenses + * + * @return string|null The licenses + */ + public function getLicenses() + { + if (array_key_exists("licenses", $this->_propDict)) { + return $this->_propDict["licenses"]; + } else { + return null; + } + } + + /** + * Sets the licenses + * + * @param string $val The value of the licenses + * + * @return WorkloadAction + */ + public function setLicenses($val) + { + $this->_propDict["licenses"] = $val; + return $this; + } + /** + * Gets the service + * The service associated with workload action. Optional. Read-only. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The service associated with workload action. Optional. Read-only. + * + * @param string $val The value of the service + * + * @return WorkloadAction + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the settings + * The collection of settings associated with the workload action. Optional. Read-only. + * + * @return Setting|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\ManagedTenants\Model\Setting") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new Setting($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The collection of settings associated with the workload action. Optional. Read-only. + * + * @param Setting $val The value to assign to the settings + * + * @return WorkloadAction The WorkloadAction + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadActionCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadActionCategory.php new file mode 100644 index 0000000..5d24b56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadActionCategory.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["actionId"]; + } else { + return null; + } + } + + /** + * Sets the actionId + * The unique identifier for the workload action. Required. Read-only. + * + * @param string $val The value of the actionId + * + * @return WorkloadActionDeploymentStatus + */ + public function setActionId($val) + { + $this->_propDict["actionId"] = $val; + return $this; + } + /** + * Gets the deployedPolicyId + * The identifier of any policy that was created by applying the workload action. Optional. Read-only. + * + * @return string|null The deployedPolicyId + */ + public function getDeployedPolicyId() + { + if (array_key_exists("deployedPolicyId", $this->_propDict)) { + return $this->_propDict["deployedPolicyId"]; + } else { + return null; + } + } + + /** + * Sets the deployedPolicyId + * The identifier of any policy that was created by applying the workload action. Optional. Read-only. + * + * @param string $val The value of the deployedPolicyId + * + * @return WorkloadActionDeploymentStatus + */ + public function setDeployedPolicyId($val) + { + $this->_propDict["deployedPolicyId"] = $val; + return $this; + } + + /** + * Gets the error + * The detailed information for exceptions that occur when deploying the workload action. Optional. Required. + * + * @return \Beta\Microsoft\Graph\Model\GenericError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\GenericError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new \Beta\Microsoft\Graph\Model\GenericError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The detailed information for exceptions that occur when deploying the workload action. Optional. Required. + * + * @param \Beta\Microsoft\Graph\Model\GenericError $val The value to assign to the error + * + * @return WorkloadActionDeploymentStatus The WorkloadActionDeploymentStatus + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the excludeGroups + * + * @return string|null The excludeGroups + */ + public function getExcludeGroups() + { + if (array_key_exists("excludeGroups", $this->_propDict)) { + return $this->_propDict["excludeGroups"]; + } else { + return null; + } + } + + /** + * Sets the excludeGroups + * + * @param string $val The value of the excludeGroups + * + * @return WorkloadActionDeploymentStatus + */ + public function setExcludeGroups($val) + { + $this->_propDict["excludeGroups"] = $val; + return $this; + } + /** + * Gets the includeAllUsers + * + * @return bool|null The includeAllUsers + */ + public function getIncludeAllUsers() + { + if (array_key_exists("includeAllUsers", $this->_propDict)) { + return $this->_propDict["includeAllUsers"]; + } else { + return null; + } + } + + /** + * Sets the includeAllUsers + * + * @param bool $val The value of the includeAllUsers + * + * @return WorkloadActionDeploymentStatus + */ + public function setIncludeAllUsers($val) + { + $this->_propDict["includeAllUsers"] = $val; + return $this; + } + /** + * Gets the includeGroups + * + * @return string|null The includeGroups + */ + public function getIncludeGroups() + { + if (array_key_exists("includeGroups", $this->_propDict)) { + return $this->_propDict["includeGroups"]; + } else { + return null; + } + } + + /** + * Sets the includeGroups + * + * @param string $val The value of the includeGroups + * + * @return WorkloadActionDeploymentStatus + */ + public function setIncludeGroups($val) + { + $this->_propDict["includeGroups"] = $val; + return $this; + } + + /** + * Gets the lastDeploymentDateTime + * The date and time the workload action was last deployed. Optional. + * + * @return \DateTime|null The lastDeploymentDateTime + */ + public function getLastDeploymentDateTime() + { + if (array_key_exists("lastDeploymentDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDeploymentDateTime"], "\DateTime") || is_null($this->_propDict["lastDeploymentDateTime"])) { + return $this->_propDict["lastDeploymentDateTime"]; + } else { + $this->_propDict["lastDeploymentDateTime"] = new \DateTime($this->_propDict["lastDeploymentDateTime"]); + return $this->_propDict["lastDeploymentDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDeploymentDateTime + * The date and time the workload action was last deployed. Optional. + * + * @param \DateTime $val The value to assign to the lastDeploymentDateTime + * + * @return WorkloadActionDeploymentStatus The WorkloadActionDeploymentStatus + */ + public function setLastDeploymentDateTime($val) + { + $this->_propDict["lastDeploymentDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the workload action deployment. Possible values are: toAddress, completed, error, timeOut, inProgress, unknownFutureValue. Required. Read-only. + * + * @return WorkloadActionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\ManagedTenants\Model\WorkloadActionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new WorkloadActionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the workload action deployment. Possible values are: toAddress, completed, error, timeOut, inProgress, unknownFutureValue. Required. Read-only. + * + * @param WorkloadActionStatus $val The value to assign to the status + * + * @return WorkloadActionDeploymentStatus The WorkloadActionDeploymentStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadActionStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadActionStatus.php new file mode 100644 index 0000000..55fbb92 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/WorkloadActionStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the workload. Required. Read-only. + * + * @param string $val The value of the displayName + * + * @return WorkloadStatus + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the offboardedDateTime + * The date and time the workload was offboarded. Optional. Read-only. + * + * @return \DateTime|null The offboardedDateTime + */ + public function getOffboardedDateTime() + { + if (array_key_exists("offboardedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["offboardedDateTime"], "\DateTime") || is_null($this->_propDict["offboardedDateTime"])) { + return $this->_propDict["offboardedDateTime"]; + } else { + $this->_propDict["offboardedDateTime"] = new \DateTime($this->_propDict["offboardedDateTime"]); + return $this->_propDict["offboardedDateTime"]; + } + } + return null; + } + + /** + * Sets the offboardedDateTime + * The date and time the workload was offboarded. Optional. Read-only. + * + * @param \DateTime $val The value to assign to the offboardedDateTime + * + * @return WorkloadStatus The WorkloadStatus + */ + public function setOffboardedDateTime($val) + { + $this->_propDict["offboardedDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardedDateTime + * The date and time the workload was onboarded. Optional. Read-only. + * + * @return \DateTime|null The onboardedDateTime + */ + public function getOnboardedDateTime() + { + if (array_key_exists("onboardedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onboardedDateTime"], "\DateTime") || is_null($this->_propDict["onboardedDateTime"])) { + return $this->_propDict["onboardedDateTime"]; + } else { + $this->_propDict["onboardedDateTime"] = new \DateTime($this->_propDict["onboardedDateTime"]); + return $this->_propDict["onboardedDateTime"]; + } + } + return null; + } + + /** + * Sets the onboardedDateTime + * The date and time the workload was onboarded. Optional. Read-only. + * + * @param \DateTime $val The value to assign to the onboardedDateTime + * + * @return WorkloadStatus The WorkloadStatus + */ + public function setOnboardedDateTime($val) + { + $this->_propDict["onboardedDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardingStatus + * The onboarding status for the workload. Possible values are: notOnboarded, onboarded, unknownFutureValue. Optional. Read-only. + * + * @return WorkloadOnboardingStatus|null The onboardingStatus + */ + public function getOnboardingStatus() + { + if (array_key_exists("onboardingStatus", $this->_propDict)) { + if (is_a($this->_propDict["onboardingStatus"], "\Beta\Microsoft\Graph\ManagedTenants\Model\WorkloadOnboardingStatus") || is_null($this->_propDict["onboardingStatus"])) { + return $this->_propDict["onboardingStatus"]; + } else { + $this->_propDict["onboardingStatus"] = new WorkloadOnboardingStatus($this->_propDict["onboardingStatus"]); + return $this->_propDict["onboardingStatus"]; + } + } + return null; + } + + /** + * Sets the onboardingStatus + * The onboarding status for the workload. Possible values are: notOnboarded, onboarded, unknownFutureValue. Optional. Read-only. + * + * @param WorkloadOnboardingStatus $val The value to assign to the onboardingStatus + * + * @return WorkloadStatus The WorkloadStatus + */ + public function setOnboardingStatus($val) + { + $this->_propDict["onboardingStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMember.php new file mode 100644 index 0000000..c4ed581 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMember.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address of the user. + * + * @param string $val The email + * + * @return AadUserConversationMember + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the tenantId + * TenantId which the Azure AD user belongs to. + * + * @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 + * TenantId which the Azure AD user belongs to. + * + * @param string $val The tenantId + * + * @return AadUserConversationMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userId + * The GUID of the user. + * + * @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 + * The GUID of the user. + * + * @param string $val The userId + * + * @return AadUserConversationMember + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the user + * + * @return User|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\User") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new User($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * + * @param User $val The user + * + * @return AadUserConversationMember + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMemberResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMemberResult.php new file mode 100644 index 0000000..c0c4c98 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMemberResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * The user object ID of the Azure AD user that was being added as part of the bulk operation. + * + * @param string $val The value of the userId + * + * @return AadUserConversationMemberResult + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserNotificationRecipient.php new file mode 100644 index 0000000..6e9b61d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserNotificationRecipient.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * Azure AD user identifier. Use the List users method to get this ID. + * + * @param string $val The value of the userId + * + * @return AadUserNotificationRecipient + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AcceptJoinResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AcceptJoinResponse.php new file mode 100644 index 0000000..3c1e1ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AcceptJoinResponse.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["catalogId"]; + } else { + return null; + } + } + + /** + * Sets the catalogId + * Identifier of the access package catalog referencing this access package. Read-only. + * + * @param string $val The catalogId + * + * @return AccessPackage + */ + public function setCatalogId($val) + { + $this->_propDict["catalogId"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The userPrincipalName of the user or identity of the subject who created this resource. Read-only. + * + * @return string|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * The userPrincipalName of the user or identity of the subject who created this resource. Read-only. + * + * @param string $val The createdBy + * + * @return AccessPackage + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackage + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the access package. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the access package. + * + * @param string $val The description + * + * @return AccessPackage + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the access package. Supports $filter (eq, contains). + * + * @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 + * The display name of the access package. Supports $filter (eq, contains). + * + * @param string $val The displayName + * + * @return AccessPackage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isHidden + * Whether the access package is hidden from the requestor. + * + * @return bool|null The isHidden + */ + public function getIsHidden() + { + if (array_key_exists("isHidden", $this->_propDict)) { + return $this->_propDict["isHidden"]; + } else { + return null; + } + } + + /** + * Sets the isHidden + * Whether the access package is hidden from the requestor. + * + * @param bool $val The isHidden + * + * @return AccessPackage + */ + public function setIsHidden($val) + { + $this->_propDict["isHidden"] = boolval($val); + return $this; + } + + /** + * Gets the isRoleScopesVisible + * Indicates whether role scopes are visible. + * + * @return bool|null The isRoleScopesVisible + */ + public function getIsRoleScopesVisible() + { + if (array_key_exists("isRoleScopesVisible", $this->_propDict)) { + return $this->_propDict["isRoleScopesVisible"]; + } else { + return null; + } + } + + /** + * Sets the isRoleScopesVisible + * Indicates whether role scopes are visible. + * + * @param bool $val The isRoleScopesVisible + * + * @return AccessPackage + */ + public function setIsRoleScopesVisible($val) + { + $this->_propDict["isRoleScopesVisible"] = boolval($val); + return $this; + } + + /** + * Gets the modifiedBy + * The userPrincipalName of the user who last modified this resource. Read-only. + * + * @return string|null The modifiedBy + */ + public function getModifiedBy() + { + if (array_key_exists("modifiedBy", $this->_propDict)) { + return $this->_propDict["modifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the modifiedBy + * The userPrincipalName of the user who last modified this resource. Read-only. + * + * @param string $val The modifiedBy + * + * @return AccessPackage + */ + public function setModifiedBy($val) + { + $this->_propDict["modifiedBy"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackage + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignmentPolicies + * Read-only. Nullable. Supports $expand. + * + * @return array|null The accessPackageAssignmentPolicies + */ + public function getAccessPackageAssignmentPolicies() + { + if (array_key_exists("accessPackageAssignmentPolicies", $this->_propDict)) { + return $this->_propDict["accessPackageAssignmentPolicies"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentPolicies + * Read-only. Nullable. Supports $expand. + * + * @param AccessPackageAssignmentPolicy[] $val The accessPackageAssignmentPolicies + * + * @return AccessPackage + */ + public function setAccessPackageAssignmentPolicies($val) + { + $this->_propDict["accessPackageAssignmentPolicies"] = $val; + return $this; + } + + /** + * Gets the accessPackageCatalog + * Read-only. Nullable. + * + * @return AccessPackageCatalog|null The accessPackageCatalog + */ + public function getAccessPackageCatalog() + { + if (array_key_exists("accessPackageCatalog", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageCatalog"], "\Beta\Microsoft\Graph\Model\AccessPackageCatalog") || is_null($this->_propDict["accessPackageCatalog"])) { + return $this->_propDict["accessPackageCatalog"]; + } else { + $this->_propDict["accessPackageCatalog"] = new AccessPackageCatalog($this->_propDict["accessPackageCatalog"]); + return $this->_propDict["accessPackageCatalog"]; + } + } + return null; + } + + /** + * Sets the accessPackageCatalog + * Read-only. Nullable. + * + * @param AccessPackageCatalog $val The accessPackageCatalog + * + * @return AccessPackage + */ + public function setAccessPackageCatalog($val) + { + $this->_propDict["accessPackageCatalog"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceRoleScopes + * Nullable. + * + * @return array|null The accessPackageResourceRoleScopes + */ + public function getAccessPackageResourceRoleScopes() + { + if (array_key_exists("accessPackageResourceRoleScopes", $this->_propDict)) { + return $this->_propDict["accessPackageResourceRoleScopes"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceRoleScopes + * Nullable. + * + * @param AccessPackageResourceRoleScope[] $val The accessPackageResourceRoleScopes + * + * @return AccessPackage + */ + public function setAccessPackageResourceRoleScopes($val) + { + $this->_propDict["accessPackageResourceRoleScopes"] = $val; + return $this; + } + + + /** + * Gets the accessPackagesIncompatibleWith + * The access packages that are incompatible with this package. Read-only. + * + * @return array|null The accessPackagesIncompatibleWith + */ + public function getAccessPackagesIncompatibleWith() + { + if (array_key_exists("accessPackagesIncompatibleWith", $this->_propDict)) { + return $this->_propDict["accessPackagesIncompatibleWith"]; + } else { + return null; + } + } + + /** + * Sets the accessPackagesIncompatibleWith + * The access packages that are incompatible with this package. Read-only. + * + * @param AccessPackage[] $val The accessPackagesIncompatibleWith + * + * @return AccessPackage + */ + public function setAccessPackagesIncompatibleWith($val) + { + $this->_propDict["accessPackagesIncompatibleWith"] = $val; + return $this; + } + + + /** + * Gets the incompatibleAccessPackages + * The access packages whose assigned users are ineligible to be assigned this access package. + * + * @return array|null The incompatibleAccessPackages + */ + public function getIncompatibleAccessPackages() + { + if (array_key_exists("incompatibleAccessPackages", $this->_propDict)) { + return $this->_propDict["incompatibleAccessPackages"]; + } else { + return null; + } + } + + /** + * Sets the incompatibleAccessPackages + * The access packages whose assigned users are ineligible to be assigned this access package. + * + * @param AccessPackage[] $val The incompatibleAccessPackages + * + * @return AccessPackage + */ + public function setIncompatibleAccessPackages($val) + { + $this->_propDict["incompatibleAccessPackages"] = $val; + return $this; + } + + + /** + * Gets the incompatibleGroups + * The groups whose members are ineligible to be assigned this access package. + * + * @return array|null The incompatibleGroups + */ + public function getIncompatibleGroups() + { + if (array_key_exists("incompatibleGroups", $this->_propDict)) { + return $this->_propDict["incompatibleGroups"]; + } else { + return null; + } + } + + /** + * Sets the incompatibleGroups + * The groups whose members are ineligible to be assigned this access package. + * + * @param Group[] $val The incompatibleGroups + * + * @return AccessPackage + */ + public function setIncompatibleGroups($val) + { + $this->_propDict["incompatibleGroups"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswer.php new file mode 100644 index 0000000..61f2698 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswer.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["answeredQuestion"], "\Beta\Microsoft\Graph\Model\AccessPackageQuestion") || is_null($this->_propDict["answeredQuestion"])) { + return $this->_propDict["answeredQuestion"]; + } else { + $this->_propDict["answeredQuestion"] = new AccessPackageQuestion($this->_propDict["answeredQuestion"]); + return $this->_propDict["answeredQuestion"]; + } + } + return null; + } + + /** + * Sets the answeredQuestion + * The question the answer is for. Required and Read-only. + * + * @param AccessPackageQuestion $val The value to assign to the answeredQuestion + * + * @return AccessPackageAnswer The AccessPackageAnswer + */ + public function setAnsweredQuestion($val) + { + $this->_propDict["answeredQuestion"] = $val; + return $this; + } + /** + * Gets the displayValue + * The display value of the answer. Required. + * + * @return string|null The displayValue + */ + public function getDisplayValue() + { + if (array_key_exists("displayValue", $this->_propDict)) { + return $this->_propDict["displayValue"]; + } else { + return null; + } + } + + /** + * Sets the displayValue + * The display value of the answer. Required. + * + * @param string $val The value of the displayValue + * + * @return AccessPackageAnswer + */ + public function setDisplayValue($val) + { + $this->_propDict["displayValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerChoice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerChoice.php new file mode 100644 index 0000000..5088230 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerChoice.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["actualValue"]; + } else { + return null; + } + } + + /** + * Sets the actualValue + * The actual value of the selected choice. This is typically a string value which is understandable by applications. Required. + * + * @param string $val The value of the actualValue + * + * @return AccessPackageAnswerChoice + */ + public function setActualValue($val) + { + $this->_propDict["actualValue"] = $val; + return $this; + } + + /** + * Gets the displayValue + * The localized display values shown to the requestor and approvers. Required. + * + * @return AccessPackageLocalizedContent|null The displayValue + */ + public function getDisplayValue() + { + if (array_key_exists("displayValue", $this->_propDict)) { + if (is_a($this->_propDict["displayValue"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedContent") || is_null($this->_propDict["displayValue"])) { + return $this->_propDict["displayValue"]; + } else { + $this->_propDict["displayValue"] = new AccessPackageLocalizedContent($this->_propDict["displayValue"]); + return $this->_propDict["displayValue"]; + } + } + return null; + } + + /** + * Sets the displayValue + * The localized display values shown to the requestor and approvers. Required. + * + * @param AccessPackageLocalizedContent $val The value to assign to the displayValue + * + * @return AccessPackageAnswerChoice The AccessPackageAnswerChoice + */ + public function setDisplayValue($val) + { + $this->_propDict["displayValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerString.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerString.php new file mode 100644 index 0000000..d946a84 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerString.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.accessPackageAnswerString"); + } + + /** + * Gets the value + * The value stored on the requestor's user profile, if this answer is configured to be stored as a specific attribute. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value stored on the requestor's user profile, if this answer is configured to be stored as a specific attribute. + * + * @param string $val The value of the value + * + * @return AccessPackageAnswerString + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php new file mode 100644 index 0000000..04d2a5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php @@ -0,0 +1,453 @@ +_propDict)) { + return $this->_propDict["accessPackageId"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageId + * The identifier of the access package. Read-only. + * + * @param string $val The accessPackageId + * + * @return AccessPackageAssignment + */ + public function setAccessPackageId($val) + { + $this->_propDict["accessPackageId"] = $val; + return $this; + } + + /** + * Gets the assignmentPolicyId + * The identifier of the access package assignment policy. Read-only. + * + * @return string|null The assignmentPolicyId + */ + public function getAssignmentPolicyId() + { + if (array_key_exists("assignmentPolicyId", $this->_propDict)) { + return $this->_propDict["assignmentPolicyId"]; + } else { + return null; + } + } + + /** + * Sets the assignmentPolicyId + * The identifier of the access package assignment policy. Read-only. + * + * @param string $val The assignmentPolicyId + * + * @return AccessPackageAssignment + */ + public function setAssignmentPolicyId($val) + { + $this->_propDict["assignmentPolicyId"] = $val; + return $this; + } + + /** + * Gets the assignmentState + * The state of the access package assignment. Possible values are Delivering, Delivered, or Expired. Read-only. Supports $filter (eq). + * + * @return string|null The assignmentState + */ + public function getAssignmentState() + { + if (array_key_exists("assignmentState", $this->_propDict)) { + return $this->_propDict["assignmentState"]; + } else { + return null; + } + } + + /** + * Sets the assignmentState + * The state of the access package assignment. Possible values are Delivering, Delivered, or Expired. Read-only. Supports $filter (eq). + * + * @param string $val The assignmentState + * + * @return AccessPackageAssignment + */ + public function setAssignmentState($val) + { + $this->_propDict["assignmentState"] = $val; + return $this; + } + + /** + * Gets the assignmentStatus + * More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. + * + * @return string|null The assignmentStatus + */ + public function getAssignmentStatus() + { + if (array_key_exists("assignmentStatus", $this->_propDict)) { + return $this->_propDict["assignmentStatus"]; + } else { + return null; + } + } + + /** + * Sets the assignmentStatus + * More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. + * + * @param string $val The assignmentStatus + * + * @return AccessPackageAssignment + */ + public function setAssignmentStatus($val) + { + $this->_propDict["assignmentStatus"] = $val; + return $this; + } + + /** + * Gets the catalogId + * The identifier of the catalog containing the access package. Read-only. + * + * @return string|null The catalogId + */ + public function getCatalogId() + { + if (array_key_exists("catalogId", $this->_propDict)) { + return $this->_propDict["catalogId"]; + } else { + return null; + } + } + + /** + * Sets the catalogId + * The identifier of the catalog containing the access package. Read-only. + * + * @param string $val The catalogId + * + * @return AccessPackageAssignment + */ + public function setCatalogId($val) + { + $this->_propDict["catalogId"] = $val; + return $this; + } + + /** + * Gets the expiredDateTime + * 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 expiredDateTime + */ + public function getExpiredDateTime() + { + if (array_key_exists("expiredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expiredDateTime"], "\DateTime") || is_null($this->_propDict["expiredDateTime"])) { + return $this->_propDict["expiredDateTime"]; + } else { + $this->_propDict["expiredDateTime"] = new \DateTime($this->_propDict["expiredDateTime"]); + return $this->_propDict["expiredDateTime"]; + } + } + return null; + } + + /** + * Sets the expiredDateTime + * 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 expiredDateTime + * + * @return AccessPackageAssignment + */ + public function setExpiredDateTime($val) + { + $this->_propDict["expiredDateTime"] = $val; + return $this; + } + + /** + * Gets the isExtended + * Indicates whether the access package assignment is extended. Read-only. + * + * @return bool|null The isExtended + */ + public function getIsExtended() + { + if (array_key_exists("isExtended", $this->_propDict)) { + return $this->_propDict["isExtended"]; + } else { + return null; + } + } + + /** + * Sets the isExtended + * Indicates whether the access package assignment is extended. Read-only. + * + * @param bool $val The isExtended + * + * @return AccessPackageAssignment + */ + public function setIsExtended($val) + { + $this->_propDict["isExtended"] = boolval($val); + return $this; + } + + /** + * Gets the schedule + * When the access assignment is to be in place. Read-only. + * + * @return RequestSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new RequestSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * When the access assignment is to be in place. Read-only. + * + * @param RequestSchedule $val The schedule + * + * @return AccessPackageAssignment + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the targetId + * The ID of the subject with the assignment. Read-only. + * + * @return string|null The targetId + */ + public function getTargetId() + { + if (array_key_exists("targetId", $this->_propDict)) { + return $this->_propDict["targetId"]; + } else { + return null; + } + } + + /** + * Sets the targetId + * The ID of the subject with the assignment. Read-only. + * + * @param string $val The targetId + * + * @return AccessPackageAssignment + */ + public function setTargetId($val) + { + $this->_propDict["targetId"] = $val; + return $this; + } + + /** + * Gets the accessPackage + * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. + * + * @return AccessPackage|null The accessPackage + */ + public function getAccessPackage() + { + if (array_key_exists("accessPackage", $this->_propDict)) { + if (is_a($this->_propDict["accessPackage"], "\Beta\Microsoft\Graph\Model\AccessPackage") || is_null($this->_propDict["accessPackage"])) { + return $this->_propDict["accessPackage"]; + } else { + $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); + return $this->_propDict["accessPackage"]; + } + } + return null; + } + + /** + * Sets the accessPackage + * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. + * + * @param AccessPackage $val The accessPackage + * + * @return AccessPackageAssignment + */ + public function setAccessPackage($val) + { + $this->_propDict["accessPackage"] = $val; + return $this; + } + + /** + * Gets the accessPackageAssignmentPolicy + * Read-only. Nullable. Supports $filter (eq) on the id property + * + * @return AccessPackageAssignmentPolicy|null The accessPackageAssignmentPolicy + */ + public function getAccessPackageAssignmentPolicy() + { + if (array_key_exists("accessPackageAssignmentPolicy", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageAssignmentPolicy"], "\Beta\Microsoft\Graph\Model\AccessPackageAssignmentPolicy") || is_null($this->_propDict["accessPackageAssignmentPolicy"])) { + return $this->_propDict["accessPackageAssignmentPolicy"]; + } else { + $this->_propDict["accessPackageAssignmentPolicy"] = new AccessPackageAssignmentPolicy($this->_propDict["accessPackageAssignmentPolicy"]); + return $this->_propDict["accessPackageAssignmentPolicy"]; + } + } + return null; + } + + /** + * Sets the accessPackageAssignmentPolicy + * Read-only. Nullable. Supports $filter (eq) on the id property + * + * @param AccessPackageAssignmentPolicy $val The accessPackageAssignmentPolicy + * + * @return AccessPackageAssignment + */ + public function setAccessPackageAssignmentPolicy($val) + { + $this->_propDict["accessPackageAssignmentPolicy"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignmentRequests + * + * @return array|null The accessPackageAssignmentRequests + */ + public function getAccessPackageAssignmentRequests() + { + if (array_key_exists("accessPackageAssignmentRequests", $this->_propDict)) { + return $this->_propDict["accessPackageAssignmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentRequests + * + * @param AccessPackageAssignmentRequest[] $val The accessPackageAssignmentRequests + * + * @return AccessPackageAssignment + */ + public function setAccessPackageAssignmentRequests($val) + { + $this->_propDict["accessPackageAssignmentRequests"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignmentResourceRoles + * The resource roles delivered to the target user for this assignment. Read-only. Nullable. + * + * @return array|null The accessPackageAssignmentResourceRoles + */ + public function getAccessPackageAssignmentResourceRoles() + { + if (array_key_exists("accessPackageAssignmentResourceRoles", $this->_propDict)) { + return $this->_propDict["accessPackageAssignmentResourceRoles"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentResourceRoles + * The resource roles delivered to the target user for this assignment. Read-only. Nullable. + * + * @param AccessPackageAssignmentResourceRole[] $val The accessPackageAssignmentResourceRoles + * + * @return AccessPackageAssignment + */ + public function setAccessPackageAssignmentResourceRoles($val) + { + $this->_propDict["accessPackageAssignmentResourceRoles"] = $val; + return $this; + } + + /** + * Gets the target + * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. + * + * @return AccessPackageSubject|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new AccessPackageSubject($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. + * + * @param AccessPackageSubject $val The target + * + * @return AccessPackageAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php new file mode 100644 index 0000000..9901f6b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["accessPackageId"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageId + * Identifier of the access package. + * + * @param string $val The accessPackageId + * + * @return AccessPackageAssignmentPolicy + */ + public function setAccessPackageId($val) + { + $this->_propDict["accessPackageId"] = $val; + return $this; + } + + /** + * Gets the accessReviewSettings + * Who must review, and how often, the assignments to the access package from this policy. This property is null if reviews are not required. + * + * @return AssignmentReviewSettings|null The accessReviewSettings + */ + public function getAccessReviewSettings() + { + if (array_key_exists("accessReviewSettings", $this->_propDict)) { + if (is_a($this->_propDict["accessReviewSettings"], "\Beta\Microsoft\Graph\Model\AssignmentReviewSettings") || is_null($this->_propDict["accessReviewSettings"])) { + return $this->_propDict["accessReviewSettings"]; + } else { + $this->_propDict["accessReviewSettings"] = new AssignmentReviewSettings($this->_propDict["accessReviewSettings"]); + return $this->_propDict["accessReviewSettings"]; + } + } + return null; + } + + /** + * Sets the accessReviewSettings + * Who must review, and how often, the assignments to the access package from this policy. This property is null if reviews are not required. + * + * @param AssignmentReviewSettings $val The accessReviewSettings + * + * @return AccessPackageAssignmentPolicy + */ + public function setAccessReviewSettings($val) + { + $this->_propDict["accessReviewSettings"] = $val; + return $this; + } + + /** + * Gets the canExtend + * Indicates whether a user can extend the access package assignment duration after approval. + * + * @return bool|null The canExtend + */ + public function getCanExtend() + { + if (array_key_exists("canExtend", $this->_propDict)) { + return $this->_propDict["canExtend"]; + } else { + return null; + } + } + + /** + * Sets the canExtend + * Indicates whether a user can extend the access package assignment duration after approval. + * + * @param bool $val The canExtend + * + * @return AccessPackageAssignmentPolicy + */ + public function setCanExtend($val) + { + $this->_propDict["canExtend"] = boolval($val); + return $this; + } + + /** + * Gets the createdBy + * Read-only. + * + * @return string|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * Read-only. + * + * @param string $val The createdBy + * + * @return AccessPackageAssignmentPolicy + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageAssignmentPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the policy. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the policy. + * + * @param string $val The description + * + * @return AccessPackageAssignmentPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the policy. Supports $filter (eq). + * + * @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 + * The display name of the policy. Supports $filter (eq). + * + * @param string $val The displayName + * + * @return AccessPackageAssignmentPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the durationInDays + * The number of days in which assignments from this policy last until they are expired. + * + * @return int|null The durationInDays + */ + public function getDurationInDays() + { + if (array_key_exists("durationInDays", $this->_propDict)) { + return $this->_propDict["durationInDays"]; + } else { + return null; + } + } + + /** + * Sets the durationInDays + * The number of days in which assignments from this policy last until they are expired. + * + * @param int $val The durationInDays + * + * @return AccessPackageAssignmentPolicy + */ + public function setDurationInDays($val) + { + $this->_propDict["durationInDays"] = intval($val); + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date for assignments created in this policy. 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 expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date for assignments created in this policy. 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 expirationDateTime + * + * @return AccessPackageAssignmentPolicy + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the modifiedBy + * Read-only. + * + * @return string|null The modifiedBy + */ + public function getModifiedBy() + { + if (array_key_exists("modifiedBy", $this->_propDict)) { + return $this->_propDict["modifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the modifiedBy + * Read-only. + * + * @param string $val The modifiedBy + * + * @return AccessPackageAssignmentPolicy + */ + public function setModifiedBy($val) + { + $this->_propDict["modifiedBy"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackageAssignmentPolicy + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the questions + * Questions that are posed to the requestor. + * + * @return array|null The questions + */ + public function getQuestions() + { + if (array_key_exists("questions", $this->_propDict)) { + return $this->_propDict["questions"]; + } else { + return null; + } + } + + /** + * Sets the questions + * Questions that are posed to the requestor. + * + * @param AccessPackageQuestion[] $val The questions + * + * @return AccessPackageAssignmentPolicy + */ + public function setQuestions($val) + { + $this->_propDict["questions"] = $val; + return $this; + } + + /** + * Gets the requestApprovalSettings + * Who must approve requests for access package in this policy. + * + * @return ApprovalSettings|null The requestApprovalSettings + */ + public function getRequestApprovalSettings() + { + if (array_key_exists("requestApprovalSettings", $this->_propDict)) { + if (is_a($this->_propDict["requestApprovalSettings"], "\Beta\Microsoft\Graph\Model\ApprovalSettings") || is_null($this->_propDict["requestApprovalSettings"])) { + return $this->_propDict["requestApprovalSettings"]; + } else { + $this->_propDict["requestApprovalSettings"] = new ApprovalSettings($this->_propDict["requestApprovalSettings"]); + return $this->_propDict["requestApprovalSettings"]; + } + } + return null; + } + + /** + * Sets the requestApprovalSettings + * Who must approve requests for access package in this policy. + * + * @param ApprovalSettings $val The requestApprovalSettings + * + * @return AccessPackageAssignmentPolicy + */ + public function setRequestApprovalSettings($val) + { + $this->_propDict["requestApprovalSettings"] = $val; + return $this; + } + + /** + * Gets the requestorSettings + * Who can request this access package from this policy. + * + * @return RequestorSettings|null The requestorSettings + */ + public function getRequestorSettings() + { + if (array_key_exists("requestorSettings", $this->_propDict)) { + if (is_a($this->_propDict["requestorSettings"], "\Beta\Microsoft\Graph\Model\RequestorSettings") || is_null($this->_propDict["requestorSettings"])) { + return $this->_propDict["requestorSettings"]; + } else { + $this->_propDict["requestorSettings"] = new RequestorSettings($this->_propDict["requestorSettings"]); + return $this->_propDict["requestorSettings"]; + } + } + return null; + } + + /** + * Sets the requestorSettings + * Who can request this access package from this policy. + * + * @param RequestorSettings $val The requestorSettings + * + * @return AccessPackageAssignmentPolicy + */ + public function setRequestorSettings($val) + { + $this->_propDict["requestorSettings"] = $val; + return $this; + } + + /** + * Gets the accessPackage + * The access package with this policy. Read-only. Nullable. Supports $expand. + * + * @return AccessPackage|null The accessPackage + */ + public function getAccessPackage() + { + if (array_key_exists("accessPackage", $this->_propDict)) { + if (is_a($this->_propDict["accessPackage"], "\Beta\Microsoft\Graph\Model\AccessPackage") || is_null($this->_propDict["accessPackage"])) { + return $this->_propDict["accessPackage"]; + } else { + $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); + return $this->_propDict["accessPackage"]; + } + } + return null; + } + + /** + * Sets the accessPackage + * The access package with this policy. Read-only. Nullable. Supports $expand. + * + * @param AccessPackage $val The accessPackage + * + * @return AccessPackageAssignmentPolicy + */ + public function setAccessPackage($val) + { + $this->_propDict["accessPackage"] = $val; + return $this; + } + + /** + * Gets the accessPackageCatalog + * + * @return AccessPackageCatalog|null The accessPackageCatalog + */ + public function getAccessPackageCatalog() + { + if (array_key_exists("accessPackageCatalog", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageCatalog"], "\Beta\Microsoft\Graph\Model\AccessPackageCatalog") || is_null($this->_propDict["accessPackageCatalog"])) { + return $this->_propDict["accessPackageCatalog"]; + } else { + $this->_propDict["accessPackageCatalog"] = new AccessPackageCatalog($this->_propDict["accessPackageCatalog"]); + return $this->_propDict["accessPackageCatalog"]; + } + } + return null; + } + + /** + * Sets the accessPackageCatalog + * + * @param AccessPackageCatalog $val The accessPackageCatalog + * + * @return AccessPackageAssignmentPolicy + */ + public function setAccessPackageCatalog($val) + { + $this->_propDict["accessPackageCatalog"] = $val; + return $this; + } + + + /** + * Gets the customExtensionHandlers + * The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. + * + * @return array|null The customExtensionHandlers + */ + public function getCustomExtensionHandlers() + { + if (array_key_exists("customExtensionHandlers", $this->_propDict)) { + return $this->_propDict["customExtensionHandlers"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionHandlers + * The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. + * + * @param CustomExtensionHandler[] $val The customExtensionHandlers + * + * @return AccessPackageAssignmentPolicy + */ + public function setCustomExtensionHandlers($val) + { + $this->_propDict["customExtensionHandlers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php new file mode 100644 index 0000000..3ac3c16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php @@ -0,0 +1,461 @@ +_propDict)) { + return $this->_propDict["answers"]; + } else { + return null; + } + } + + /** + * Sets the answers + * Answers provided by the requestor to accessPackageQuestions asked of them at the time of request. + * + * @param AccessPackageAnswer[] $val The answers + * + * @return AccessPackageAssignmentRequest + */ + public function setAnswers($val) + { + $this->_propDict["answers"] = $val; + return $this; + } + + /** + * Gets the completedDate + * The date of the end of processing, either successful or failure, of a request. 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 completedDate + */ + public function getCompletedDate() + { + if (array_key_exists("completedDate", $this->_propDict)) { + if (is_a($this->_propDict["completedDate"], "\DateTime") || is_null($this->_propDict["completedDate"])) { + return $this->_propDict["completedDate"]; + } else { + $this->_propDict["completedDate"] = new \DateTime($this->_propDict["completedDate"]); + return $this->_propDict["completedDate"]; + } + } + return null; + } + + /** + * Sets the completedDate + * The date of the end of processing, either successful or failure, of a request. 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 completedDate + * + * @return AccessPackageAssignmentRequest + */ + public function setCompletedDate($val) + { + $this->_propDict["completedDate"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageAssignmentRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the customExtensionHandlerInstances + * A collection of custom workflow extension instances being run on an assignment request. Read-only. + * + * @return array|null The customExtensionHandlerInstances + */ + public function getCustomExtensionHandlerInstances() + { + if (array_key_exists("customExtensionHandlerInstances", $this->_propDict)) { + return $this->_propDict["customExtensionHandlerInstances"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionHandlerInstances + * A collection of custom workflow extension instances being run on an assignment request. Read-only. + * + * @param CustomExtensionHandlerInstance[] $val The customExtensionHandlerInstances + * + * @return AccessPackageAssignmentRequest + */ + public function setCustomExtensionHandlerInstances($val) + { + $this->_propDict["customExtensionHandlerInstances"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * + * @param \DateTime $val The expirationDateTime + * + * @return AccessPackageAssignmentRequest + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * True if the request is not to be processed for assignment. + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * True if the request is not to be processed for assignment. + * + * @param bool $val The isValidationOnly + * + * @return AccessPackageAssignmentRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * The requestor's supplied justification. + * + * @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 requestor's supplied justification. + * + * @param string $val The justification + * + * @return AccessPackageAssignmentRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the requestState + * One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted or Scheduled. Read-only. + * + * @return string|null The requestState + */ + public function getRequestState() + { + if (array_key_exists("requestState", $this->_propDict)) { + return $this->_propDict["requestState"]; + } else { + return null; + } + } + + /** + * Sets the requestState + * One of PendingApproval, Canceled, Denied, Delivering, Delivered, PartiallyDelivered, DeliveryFailed, Submitted or Scheduled. Read-only. + * + * @param string $val The requestState + * + * @return AccessPackageAssignmentRequest + */ + public function setRequestState($val) + { + $this->_propDict["requestState"] = $val; + return $this; + } + + /** + * Gets the requestStatus + * More information on the request processing status. Read-only. + * + * @return string|null The requestStatus + */ + public function getRequestStatus() + { + if (array_key_exists("requestStatus", $this->_propDict)) { + return $this->_propDict["requestStatus"]; + } else { + return null; + } + } + + /** + * Sets the requestStatus + * More information on the request processing status. Read-only. + * + * @param string $val The requestStatus + * + * @return AccessPackageAssignmentRequest + */ + public function setRequestStatus($val) + { + $this->_propDict["requestStatus"] = $val; + return $this; + } + + /** + * Gets the requestType + * One of UserAdd, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd or UserRemove. Read-only. + * + * @return string|null The requestType + */ + public function getRequestType() + { + if (array_key_exists("requestType", $this->_propDict)) { + return $this->_propDict["requestType"]; + } else { + return null; + } + } + + /** + * Sets the requestType + * One of UserAdd, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd or UserRemove. Read-only. + * + * @param string $val The requestType + * + * @return AccessPackageAssignmentRequest + */ + public function setRequestType($val) + { + $this->_propDict["requestType"] = $val; + return $this; + } + + /** + * Gets the schedule + * The range of dates that access is to be assigned to the requestor. Read-only. + * + * @return RequestSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new RequestSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * The range of dates that access is to be assigned to the requestor. Read-only. + * + * @param RequestSchedule $val The schedule + * + * @return AccessPackageAssignmentRequest + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the accessPackage + * The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. + * + * @return AccessPackage|null The accessPackage + */ + public function getAccessPackage() + { + if (array_key_exists("accessPackage", $this->_propDict)) { + if (is_a($this->_propDict["accessPackage"], "\Beta\Microsoft\Graph\Model\AccessPackage") || is_null($this->_propDict["accessPackage"])) { + return $this->_propDict["accessPackage"]; + } else { + $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); + return $this->_propDict["accessPackage"]; + } + } + return null; + } + + /** + * Sets the accessPackage + * The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. + * + * @param AccessPackage $val The accessPackage + * + * @return AccessPackageAssignmentRequest + */ + public function setAccessPackage($val) + { + $this->_propDict["accessPackage"] = $val; + return $this; + } + + /** + * Gets the accessPackageAssignment + * For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. + * + * @return AccessPackageAssignment|null The accessPackageAssignment + */ + public function getAccessPackageAssignment() + { + if (array_key_exists("accessPackageAssignment", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageAssignment"], "\Beta\Microsoft\Graph\Model\AccessPackageAssignment") || is_null($this->_propDict["accessPackageAssignment"])) { + return $this->_propDict["accessPackageAssignment"]; + } else { + $this->_propDict["accessPackageAssignment"] = new AccessPackageAssignment($this->_propDict["accessPackageAssignment"]); + return $this->_propDict["accessPackageAssignment"]; + } + } + return null; + } + + /** + * Sets the accessPackageAssignment + * For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. + * + * @param AccessPackageAssignment $val The accessPackageAssignment + * + * @return AccessPackageAssignmentRequest + */ + public function setAccessPackageAssignment($val) + { + $this->_propDict["accessPackageAssignment"] = $val; + return $this; + } + + /** + * Gets the requestor + * The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. + * + * @return AccessPackageSubject|null The requestor + */ + public function getRequestor() + { + if (array_key_exists("requestor", $this->_propDict)) { + if (is_a($this->_propDict["requestor"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject") || is_null($this->_propDict["requestor"])) { + return $this->_propDict["requestor"]; + } else { + $this->_propDict["requestor"] = new AccessPackageSubject($this->_propDict["requestor"]); + return $this->_propDict["requestor"]; + } + } + return null; + } + + /** + * Sets the requestor + * The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. + * + * @param AccessPackageSubject $val The requestor + * + * @return AccessPackageAssignmentRequest + */ + public function setRequestor($val) + { + $this->_propDict["requestor"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php new file mode 100644 index 0000000..aeadbab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["existingAnswers"], "\Beta\Microsoft\Graph\Model\AccessPackageAnswer") || is_null($this->_propDict["existingAnswers"])) { + return $this->_propDict["existingAnswers"]; + } else { + $this->_propDict["existingAnswers"] = new AccessPackageAnswer($this->_propDict["existingAnswers"]); + return $this->_propDict["existingAnswers"]; + } + } + return null; + } + + /** + * Sets the existingAnswers + * Answers that have already been provided. + * + * @param AccessPackageAnswer $val The value to assign to the existingAnswers + * + * @return AccessPackageAssignmentRequestRequirements The AccessPackageAssignmentRequestRequirements + */ + public function setExistingAnswers($val) + { + $this->_propDict["existingAnswers"] = $val; + return $this; + } + /** + * Gets the isApprovalRequired + * Indicates whether a request must be approved by an approver. + * + * @return bool|null The isApprovalRequired + */ + public function getIsApprovalRequired() + { + if (array_key_exists("isApprovalRequired", $this->_propDict)) { + return $this->_propDict["isApprovalRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequired + * Indicates whether a request must be approved by an approver. + * + * @param bool $val The value of the isApprovalRequired + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setIsApprovalRequired($val) + { + $this->_propDict["isApprovalRequired"] = $val; + return $this; + } + /** + * Gets the isApprovalRequiredForExtension + * Indicates whether approval is required when a user tries to extend their access. + * + * @return bool|null The isApprovalRequiredForExtension + */ + public function getIsApprovalRequiredForExtension() + { + if (array_key_exists("isApprovalRequiredForExtension", $this->_propDict)) { + return $this->_propDict["isApprovalRequiredForExtension"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForExtension + * Indicates whether approval is required when a user tries to extend their access. + * + * @param bool $val The value of the isApprovalRequiredForExtension + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setIsApprovalRequiredForExtension($val) + { + $this->_propDict["isApprovalRequiredForExtension"] = $val; + return $this; + } + /** + * Gets the isCustomAssignmentScheduleAllowed + * Indicates whether the requestor is allowed to set a custom schedule. + * + * @return bool|null The isCustomAssignmentScheduleAllowed + */ + public function getIsCustomAssignmentScheduleAllowed() + { + if (array_key_exists("isCustomAssignmentScheduleAllowed", $this->_propDict)) { + return $this->_propDict["isCustomAssignmentScheduleAllowed"]; + } else { + return null; + } + } + + /** + * Sets the isCustomAssignmentScheduleAllowed + * Indicates whether the requestor is allowed to set a custom schedule. + * + * @param bool $val The value of the isCustomAssignmentScheduleAllowed + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setIsCustomAssignmentScheduleAllowed($val) + { + $this->_propDict["isCustomAssignmentScheduleAllowed"] = $val; + return $this; + } + /** + * Gets the isRequestorJustificationRequired + * Indicates whether a requestor must supply justification when submitting an assignment request. + * + * @return bool|null The isRequestorJustificationRequired + */ + public function getIsRequestorJustificationRequired() + { + if (array_key_exists("isRequestorJustificationRequired", $this->_propDict)) { + return $this->_propDict["isRequestorJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequestorJustificationRequired + * Indicates whether a requestor must supply justification when submitting an assignment request. + * + * @param bool $val The value of the isRequestorJustificationRequired + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setIsRequestorJustificationRequired($val) + { + $this->_propDict["isRequestorJustificationRequired"] = $val; + return $this; + } + /** + * Gets the policyDescription + * The description of the policy that the user is trying to request access using. + * + * @return string|null The policyDescription + */ + public function getPolicyDescription() + { + if (array_key_exists("policyDescription", $this->_propDict)) { + return $this->_propDict["policyDescription"]; + } else { + return null; + } + } + + /** + * Sets the policyDescription + * The description of the policy that the user is trying to request access using. + * + * @param string $val The value of the policyDescription + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setPolicyDescription($val) + { + $this->_propDict["policyDescription"] = $val; + return $this; + } + /** + * Gets the policyDisplayName + * The display name of the policy that the user is trying to request access using. + * + * @return string|null The policyDisplayName + */ + public function getPolicyDisplayName() + { + if (array_key_exists("policyDisplayName", $this->_propDict)) { + return $this->_propDict["policyDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the policyDisplayName + * The display name of the policy that the user is trying to request access using. + * + * @param string $val The value of the policyDisplayName + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setPolicyDisplayName($val) + { + $this->_propDict["policyDisplayName"] = $val; + return $this; + } + /** + * Gets the policyId + * The identifier of the policy that these requirements are associated with. This identifier can be used when creating a new assignment request. + * + * @return string|null The policyId + */ + public function getPolicyId() + { + if (array_key_exists("policyId", $this->_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * The identifier of the policy that these requirements are associated with. This identifier can be used when creating a new assignment request. + * + * @param string $val The value of the policyId + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + + /** + * Gets the questions + * Questions that are configured on the policy. The questions can be required or optional; callers can determine whether a question is required or optional based on the isRequired property on accessPackageQuestion. + * + * @return AccessPackageQuestion|null The questions + */ + public function getQuestions() + { + if (array_key_exists("questions", $this->_propDict)) { + if (is_a($this->_propDict["questions"], "\Beta\Microsoft\Graph\Model\AccessPackageQuestion") || is_null($this->_propDict["questions"])) { + return $this->_propDict["questions"]; + } else { + $this->_propDict["questions"] = new AccessPackageQuestion($this->_propDict["questions"]); + return $this->_propDict["questions"]; + } + } + return null; + } + + /** + * Sets the questions + * Questions that are configured on the policy. The questions can be required or optional; callers can determine whether a question is required or optional based on the isRequired property on accessPackageQuestion. + * + * @param AccessPackageQuestion $val The value to assign to the questions + * + * @return AccessPackageAssignmentRequestRequirements The AccessPackageAssignmentRequestRequirements + */ + public function setQuestions($val) + { + $this->_propDict["questions"] = $val; + return $this; + } + + /** + * Gets the schedule + * Schedule restrictions enforced, if any. + * + * @return RequestSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new RequestSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * Schedule restrictions enforced, if any. + * + * @param RequestSchedule $val The value to assign to the schedule + * + * @return AccessPackageAssignmentRequestRequirements The AccessPackageAssignmentRequestRequirements + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php new file mode 100644 index 0000000..e792b03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php @@ -0,0 +1,243 @@ +_propDict)) { + return $this->_propDict["originId"]; + } else { + return null; + } + } + + /** + * Sets the originId + * A unique identifier relative to the origin system, corresponding to the originId property of the accessPackageResourceRole. + * + * @param string $val The originId + * + * @return AccessPackageAssignmentResourceRole + */ + public function setOriginId($val) + { + $this->_propDict["originId"] = $val; + return $this; + } + + /** + * Gets the originSystem + * The system where the role assignment is to be created or has been created for an access package assignment, such as SharePointOnline, AadGroup or AadApplication, corresponding to the originSystem property of the accessPackageResourceRole. + * + * @return string|null The originSystem + */ + public function getOriginSystem() + { + if (array_key_exists("originSystem", $this->_propDict)) { + return $this->_propDict["originSystem"]; + } else { + return null; + } + } + + /** + * Sets the originSystem + * The system where the role assignment is to be created or has been created for an access package assignment, such as SharePointOnline, AadGroup or AadApplication, corresponding to the originSystem property of the accessPackageResourceRole. + * + * @param string $val The originSystem + * + * @return AccessPackageAssignmentResourceRole + */ + public function setOriginSystem($val) + { + $this->_propDict["originSystem"] = $val; + return $this; + } + + /** + * Gets the status + * The value is PendingFulfillment when the access package assignment has not yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The value is PendingFulfillment when the access package assignment has not yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. + * + * @param string $val The status + * + * @return AccessPackageAssignmentResourceRole + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignments + * The access package assignments resulting in this role assignment. Read-only. Nullable. + * + * @return array|null The accessPackageAssignments + */ + public function getAccessPackageAssignments() + { + if (array_key_exists("accessPackageAssignments", $this->_propDict)) { + return $this->_propDict["accessPackageAssignments"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignments + * The access package assignments resulting in this role assignment. Read-only. Nullable. + * + * @param AccessPackageAssignment[] $val The accessPackageAssignments + * + * @return AccessPackageAssignmentResourceRole + */ + public function setAccessPackageAssignments($val) + { + $this->_propDict["accessPackageAssignments"] = $val; + return $this; + } + + /** + * Gets the accessPackageResourceRole + * Read-only. Nullable. + * + * @return AccessPackageResourceRole|null The accessPackageResourceRole + */ + public function getAccessPackageResourceRole() + { + if (array_key_exists("accessPackageResourceRole", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResourceRole"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceRole") || is_null($this->_propDict["accessPackageResourceRole"])) { + return $this->_propDict["accessPackageResourceRole"]; + } else { + $this->_propDict["accessPackageResourceRole"] = new AccessPackageResourceRole($this->_propDict["accessPackageResourceRole"]); + return $this->_propDict["accessPackageResourceRole"]; + } + } + return null; + } + + /** + * Sets the accessPackageResourceRole + * Read-only. Nullable. + * + * @param AccessPackageResourceRole $val The accessPackageResourceRole + * + * @return AccessPackageAssignmentResourceRole + */ + public function setAccessPackageResourceRole($val) + { + $this->_propDict["accessPackageResourceRole"] = $val; + return $this; + } + + /** + * Gets the accessPackageResourceScope + * Read-only. Nullable. + * + * @return AccessPackageResourceScope|null The accessPackageResourceScope + */ + public function getAccessPackageResourceScope() + { + if (array_key_exists("accessPackageResourceScope", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResourceScope"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceScope") || is_null($this->_propDict["accessPackageResourceScope"])) { + return $this->_propDict["accessPackageResourceScope"]; + } else { + $this->_propDict["accessPackageResourceScope"] = new AccessPackageResourceScope($this->_propDict["accessPackageResourceScope"]); + return $this->_propDict["accessPackageResourceScope"]; + } + } + return null; + } + + /** + * Sets the accessPackageResourceScope + * Read-only. Nullable. + * + * @param AccessPackageResourceScope $val The accessPackageResourceScope + * + * @return AccessPackageAssignmentResourceRole + */ + public function setAccessPackageResourceScope($val) + { + $this->_propDict["accessPackageResourceScope"] = $val; + return $this; + } + + /** + * Gets the accessPackageSubject + * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. + * + * @return AccessPackageSubject|null The accessPackageSubject + */ + public function getAccessPackageSubject() + { + if (array_key_exists("accessPackageSubject", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageSubject"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject") || is_null($this->_propDict["accessPackageSubject"])) { + return $this->_propDict["accessPackageSubject"]; + } else { + $this->_propDict["accessPackageSubject"] = new AccessPackageSubject($this->_propDict["accessPackageSubject"]); + return $this->_propDict["accessPackageSubject"]; + } + } + return null; + } + + /** + * Sets the accessPackageSubject + * Read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. + * + * @param AccessPackageSubject $val The accessPackageSubject + * + * @return AccessPackageAssignmentResourceRole + */ + public function setAccessPackageSubject($val) + { + $this->_propDict["accessPackageSubject"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php new file mode 100644 index 0000000..e9d844b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php @@ -0,0 +1,444 @@ +_propDict)) { + return $this->_propDict["catalogStatus"]; + } else { + return null; + } + } + + /** + * Sets the catalogStatus + * Has the value Published if the access packages are available for management. + * + * @param string $val The catalogStatus + * + * @return AccessPackageCatalog + */ + public function setCatalogStatus($val) + { + $this->_propDict["catalogStatus"] = $val; + return $this; + } + + /** + * Gets the catalogType + * One of UserManaged or ServiceDefault. + * + * @return string|null The catalogType + */ + public function getCatalogType() + { + if (array_key_exists("catalogType", $this->_propDict)) { + return $this->_propDict["catalogType"]; + } else { + return null; + } + } + + /** + * Sets the catalogType + * One of UserManaged or ServiceDefault. + * + * @param string $val The catalogType + * + * @return AccessPackageCatalog + */ + public function setCatalogType($val) + { + $this->_propDict["catalogType"] = $val; + return $this; + } + + /** + * Gets the createdBy + * UPN of the user who created this resource. Read-only. + * + * @return string|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * UPN of the user who created this resource. Read-only. + * + * @param string $val The createdBy + * + * @return AccessPackageCatalog + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageCatalog + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the access package catalog. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the access package catalog. + * + * @param string $val The description + * + * @return AccessPackageCatalog + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the access package catalog. Supports $filter (eq, contains). + * + * @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 + * The display name of the access package catalog. Supports $filter (eq, contains). + * + * @param string $val The displayName + * + * @return AccessPackageCatalog + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isExternallyVisible + * Whether the access packages in this catalog can be requested by users outside of the tenant. + * + * @return bool|null The isExternallyVisible + */ + public function getIsExternallyVisible() + { + if (array_key_exists("isExternallyVisible", $this->_propDict)) { + return $this->_propDict["isExternallyVisible"]; + } else { + return null; + } + } + + /** + * Sets the isExternallyVisible + * Whether the access packages in this catalog can be requested by users outside of the tenant. + * + * @param bool $val The isExternallyVisible + * + * @return AccessPackageCatalog + */ + public function setIsExternallyVisible($val) + { + $this->_propDict["isExternallyVisible"] = boolval($val); + return $this; + } + + /** + * Gets the modifiedBy + * The UPN of the user who last modified this resource. Read-only. + * + * @return string|null The modifiedBy + */ + public function getModifiedBy() + { + if (array_key_exists("modifiedBy", $this->_propDict)) { + return $this->_propDict["modifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the modifiedBy + * The UPN of the user who last modified this resource. Read-only. + * + * @param string $val The modifiedBy + * + * @return AccessPackageCatalog + */ + public function setModifiedBy($val) + { + $this->_propDict["modifiedBy"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackageCatalog + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceRoles + * The roles in each resource in a catalog. Read-only. + * + * @return array|null The accessPackageResourceRoles + */ + public function getAccessPackageResourceRoles() + { + if (array_key_exists("accessPackageResourceRoles", $this->_propDict)) { + return $this->_propDict["accessPackageResourceRoles"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceRoles + * The roles in each resource in a catalog. Read-only. + * + * @param AccessPackageResourceRole[] $val The accessPackageResourceRoles + * + * @return AccessPackageCatalog + */ + public function setAccessPackageResourceRoles($val) + { + $this->_propDict["accessPackageResourceRoles"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResources + * Read-only. Nullable. + * + * @return array|null The accessPackageResources + */ + public function getAccessPackageResources() + { + if (array_key_exists("accessPackageResources", $this->_propDict)) { + return $this->_propDict["accessPackageResources"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResources + * Read-only. Nullable. + * + * @param AccessPackageResource[] $val The accessPackageResources + * + * @return AccessPackageCatalog + */ + public function setAccessPackageResources($val) + { + $this->_propDict["accessPackageResources"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceScopes + * Read-only. + * + * @return array|null The accessPackageResourceScopes + */ + public function getAccessPackageResourceScopes() + { + if (array_key_exists("accessPackageResourceScopes", $this->_propDict)) { + return $this->_propDict["accessPackageResourceScopes"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceScopes + * Read-only. + * + * @param AccessPackageResourceScope[] $val The accessPackageResourceScopes + * + * @return AccessPackageCatalog + */ + public function setAccessPackageResourceScopes($val) + { + $this->_propDict["accessPackageResourceScopes"] = $val; + return $this; + } + + + /** + * Gets the accessPackages + * The access packages in this catalog. Read-only. Nullable. Supports $expand. + * + * @return array|null The accessPackages + */ + public function getAccessPackages() + { + if (array_key_exists("accessPackages", $this->_propDict)) { + return $this->_propDict["accessPackages"]; + } else { + return null; + } + } + + /** + * Sets the accessPackages + * The access packages in this catalog. Read-only. Nullable. Supports $expand. + * + * @param AccessPackage[] $val The accessPackages + * + * @return AccessPackageCatalog + */ + public function setAccessPackages($val) + { + $this->_propDict["accessPackages"] = $val; + return $this; + } + + + /** + * Gets the customAccessPackageWorkflowExtensions + * + * @return array|null The customAccessPackageWorkflowExtensions + */ + public function getCustomAccessPackageWorkflowExtensions() + { + if (array_key_exists("customAccessPackageWorkflowExtensions", $this->_propDict)) { + return $this->_propDict["customAccessPackageWorkflowExtensions"]; + } else { + return null; + } + } + + /** + * Sets the customAccessPackageWorkflowExtensions + * + * @param CustomAccessPackageWorkflowExtension[] $val The customAccessPackageWorkflowExtensions + * + * @return AccessPackageCatalog + */ + public function setCustomAccessPackageWorkflowExtensions($val) + { + $this->_propDict["customAccessPackageWorkflowExtensions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCustomExtensionHandlerStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCustomExtensionHandlerStatus.php new file mode 100644 index 0000000..ade676f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCustomExtensionHandlerStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["defaultText"]; + } else { + return null; + } + } + + /** + * Sets the defaultText + * The fallback string, which is used when a requested localization is not available. Required. + * + * @param string $val The value of the defaultText + * + * @return AccessPackageLocalizedContent + */ + public function setDefaultText($val) + { + $this->_propDict["defaultText"] = $val; + return $this; + } + + /** + * Gets the localizedTexts + * Content represented in a format for a specific locale. + * + * @return AccessPackageLocalizedText|null The localizedTexts + */ + public function getLocalizedTexts() + { + if (array_key_exists("localizedTexts", $this->_propDict)) { + if (is_a($this->_propDict["localizedTexts"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedText") || is_null($this->_propDict["localizedTexts"])) { + return $this->_propDict["localizedTexts"]; + } else { + $this->_propDict["localizedTexts"] = new AccessPackageLocalizedText($this->_propDict["localizedTexts"]); + return $this->_propDict["localizedTexts"]; + } + } + return null; + } + + /** + * Sets the localizedTexts + * Content represented in a format for a specific locale. + * + * @param AccessPackageLocalizedText $val The value to assign to the localizedTexts + * + * @return AccessPackageLocalizedContent The AccessPackageLocalizedContent + */ + public function setLocalizedTexts($val) + { + $this->_propDict["localizedTexts"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageLocalizedText.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageLocalizedText.php new file mode 100644 index 0000000..833d58d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageLocalizedText.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["languageCode"]; + } else { + return null; + } + } + + /** + * Sets the languageCode + * The ISO code for the intended language. Required. + * + * @param string $val The value of the languageCode + * + * @return AccessPackageLocalizedText + */ + public function setLanguageCode($val) + { + $this->_propDict["languageCode"] = $val; + return $this; + } + /** + * Gets the text + * The text in the specific language. Required. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * The text in the specific language. Required. + * + * @param string $val The value of the text + * + * @return AccessPackageLocalizedText + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageMultipleChoiceQuestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageMultipleChoiceQuestion.php new file mode 100644 index 0000000..5f52fa1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageMultipleChoiceQuestion.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.accessPackageMultipleChoiceQuestion"); + } + + /** + * Gets the allowsMultipleSelection + * Indicates whether requestor can select multiple choices as their answer. + * + * @return bool|null The allowsMultipleSelection + */ + public function getAllowsMultipleSelection() + { + if (array_key_exists("allowsMultipleSelection", $this->_propDict)) { + return $this->_propDict["allowsMultipleSelection"]; + } else { + return null; + } + } + + /** + * Sets the allowsMultipleSelection + * Indicates whether requestor can select multiple choices as their answer. + * + * @param bool $val The value of the allowsMultipleSelection + * + * @return AccessPackageMultipleChoiceQuestion + */ + public function setAllowsMultipleSelection($val) + { + $this->_propDict["allowsMultipleSelection"] = $val; + return $this; + } + + /** + * Gets the choices + * List of answer choices. + * + * @return AccessPackageAnswerChoice|null The choices + */ + public function getChoices() + { + if (array_key_exists("choices", $this->_propDict)) { + if (is_a($this->_propDict["choices"], "\Beta\Microsoft\Graph\Model\AccessPackageAnswerChoice") || is_null($this->_propDict["choices"])) { + return $this->_propDict["choices"]; + } else { + $this->_propDict["choices"] = new AccessPackageAnswerChoice($this->_propDict["choices"]); + return $this->_propDict["choices"]; + } + } + return null; + } + + /** + * Sets the choices + * List of answer choices. + * + * @param AccessPackageAnswerChoice $val The value to assign to the choices + * + * @return AccessPackageMultipleChoiceQuestion The AccessPackageMultipleChoiceQuestion + */ + public function setChoices($val) + { + $this->_propDict["choices"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageQuestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageQuestion.php new file mode 100644 index 0000000..ace5c56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageQuestion.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * ID of the question. + * + * @param string $val The value of the id + * + * @return AccessPackageQuestion + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isAnswerEditable + * Specifies whether the requestor is allowed to edit answers to questions. + * + * @return bool|null The isAnswerEditable + */ + public function getIsAnswerEditable() + { + if (array_key_exists("isAnswerEditable", $this->_propDict)) { + return $this->_propDict["isAnswerEditable"]; + } else { + return null; + } + } + + /** + * Sets the isAnswerEditable + * Specifies whether the requestor is allowed to edit answers to questions. + * + * @param bool $val The value of the isAnswerEditable + * + * @return AccessPackageQuestion + */ + public function setIsAnswerEditable($val) + { + $this->_propDict["isAnswerEditable"] = $val; + return $this; + } + /** + * Gets the isRequired + * Whether the requestor is required to supply an answer or not. + * + * @return bool|null The isRequired + */ + public function getIsRequired() + { + if (array_key_exists("isRequired", $this->_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Whether the requestor is required to supply an answer or not. + * + * @param bool $val The value of the isRequired + * + * @return AccessPackageQuestion + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the sequence + * Relative position of this question when displaying a list of questions to the requestor. + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * Relative position of this question when displaying a list of questions to the requestor. + * + * @param int $val The value of the sequence + * + * @return AccessPackageQuestion + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = $val; + return $this; + } + + /** + * Gets the text + * The text of the question to show to the requestor. + * + * @return AccessPackageLocalizedContent|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + if (is_a($this->_propDict["text"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedContent") || is_null($this->_propDict["text"])) { + return $this->_propDict["text"]; + } else { + $this->_propDict["text"] = new AccessPackageLocalizedContent($this->_propDict["text"]); + return $this->_propDict["text"]; + } + } + return null; + } + + /** + * Sets the text + * The text of the question to show to the requestor. + * + * @param AccessPackageLocalizedContent $val The value to assign to the text + * + * @return AccessPackageQuestion The AccessPackageQuestion + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResource.php new file mode 100644 index 0000000..b83fc51 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResource.php @@ -0,0 +1,415 @@ +_propDict)) { + return $this->_propDict["addedBy"]; + } else { + return null; + } + } + + /** + * Sets the addedBy + * The name of the user or application that first added this resource. Read-only. + * + * @param string $val The addedBy + * + * @return AccessPackageResource + */ + public function setAddedBy($val) + { + $this->_propDict["addedBy"] = $val; + return $this; + } + + /** + * Gets the addedOn + * 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 addedOn + */ + public function getAddedOn() + { + if (array_key_exists("addedOn", $this->_propDict)) { + if (is_a($this->_propDict["addedOn"], "\DateTime") || is_null($this->_propDict["addedOn"])) { + return $this->_propDict["addedOn"]; + } else { + $this->_propDict["addedOn"] = new \DateTime($this->_propDict["addedOn"]); + return $this->_propDict["addedOn"]; + } + } + return null; + } + + /** + * Sets the addedOn + * 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 addedOn + * + * @return AccessPackageResource + */ + public function setAddedOn($val) + { + $this->_propDict["addedOn"] = $val; + return $this; + } + + + /** + * Gets the attributes + * Contains information about the attributes to be collected from the requestor and sent to the resource application. + * + * @return array|null The attributes + */ + public function getAttributes() + { + if (array_key_exists("attributes", $this->_propDict)) { + return $this->_propDict["attributes"]; + } else { + return null; + } + } + + /** + * Sets the attributes + * Contains information about the attributes to be collected from the requestor and sent to the resource application. + * + * @param AccessPackageResourceAttribute[] $val The attributes + * + * @return AccessPackageResource + */ + public function setAttributes($val) + { + $this->_propDict["attributes"] = $val; + return $this; + } + + /** + * Gets the description + * A description for the resource. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description for the resource. + * + * @param string $val The description + * + * @return AccessPackageResource + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the resource, such as the application name, group name or site name. + * + * @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 + * The display name of the resource, such as the application name, group name or site name. + * + * @param string $val The displayName + * + * @return AccessPackageResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isPendingOnboarding + * True if the resource is not yet available for assignment. + * + * @return bool|null The isPendingOnboarding + */ + public function getIsPendingOnboarding() + { + if (array_key_exists("isPendingOnboarding", $this->_propDict)) { + return $this->_propDict["isPendingOnboarding"]; + } else { + return null; + } + } + + /** + * Sets the isPendingOnboarding + * True if the resource is not yet available for assignment. + * + * @param bool $val The isPendingOnboarding + * + * @return AccessPackageResource + */ + public function setIsPendingOnboarding($val) + { + $this->_propDict["isPendingOnboarding"] = boolval($val); + return $this; + } + + /** + * Gets the originId + * The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. + * + * @return string|null The originId + */ + public function getOriginId() + { + if (array_key_exists("originId", $this->_propDict)) { + return $this->_propDict["originId"]; + } else { + return null; + } + } + + /** + * Sets the originId + * The unique identifier of the resource in the origin system. In the case of an Azure AD group, this is the identifier of the group. + * + * @param string $val The originId + * + * @return AccessPackageResource + */ + public function setOriginId($val) + { + $this->_propDict["originId"] = $val; + return $this; + } + + /** + * Gets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. + * + * @return string|null The originSystem + */ + public function getOriginSystem() + { + if (array_key_exists("originSystem", $this->_propDict)) { + return $this->_propDict["originSystem"]; + } else { + return null; + } + } + + /** + * Sets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. + * + * @param string $val The originSystem + * + * @return AccessPackageResource + */ + public function setOriginSystem($val) + { + $this->_propDict["originSystem"] = $val; + return $this; + } + + /** + * Gets the resourceType + * The type of the resource, such as Application if it is an Azure AD connected application, or SharePoint Online Site for a SharePoint Online site. + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * The type of the resource, such as Application if it is an Azure AD connected application, or SharePoint Online Site for a SharePoint Online site. + * + * @param string $val The resourceType + * + * @return AccessPackageResource + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } + + /** + * Gets the url + * A unique resource locator for the resource, such as the URL for signing a user into an application. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * A unique resource locator for the resource, such as the URL for signing a user into an application. + * + * @param string $val The url + * + * @return AccessPackageResource + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + + /** + * Gets the accessPackageResourceEnvironment + * Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. + * + * @return AccessPackageResourceEnvironment|null The accessPackageResourceEnvironment + */ + public function getAccessPackageResourceEnvironment() + { + if (array_key_exists("accessPackageResourceEnvironment", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResourceEnvironment"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceEnvironment") || is_null($this->_propDict["accessPackageResourceEnvironment"])) { + return $this->_propDict["accessPackageResourceEnvironment"]; + } else { + $this->_propDict["accessPackageResourceEnvironment"] = new AccessPackageResourceEnvironment($this->_propDict["accessPackageResourceEnvironment"]); + return $this->_propDict["accessPackageResourceEnvironment"]; + } + } + return null; + } + + /** + * Sets the accessPackageResourceEnvironment + * Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. + * + * @param AccessPackageResourceEnvironment $val The accessPackageResourceEnvironment + * + * @return AccessPackageResource + */ + public function setAccessPackageResourceEnvironment($val) + { + $this->_propDict["accessPackageResourceEnvironment"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceRoles + * Read-only. Nullable. Supports $expand. + * + * @return array|null The accessPackageResourceRoles + */ + public function getAccessPackageResourceRoles() + { + if (array_key_exists("accessPackageResourceRoles", $this->_propDict)) { + return $this->_propDict["accessPackageResourceRoles"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceRoles + * Read-only. Nullable. Supports $expand. + * + * @param AccessPackageResourceRole[] $val The accessPackageResourceRoles + * + * @return AccessPackageResource + */ + public function setAccessPackageResourceRoles($val) + { + $this->_propDict["accessPackageResourceRoles"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceScopes + * Read-only. Nullable. Supports $expand. + * + * @return array|null The accessPackageResourceScopes + */ + public function getAccessPackageResourceScopes() + { + if (array_key_exists("accessPackageResourceScopes", $this->_propDict)) { + return $this->_propDict["accessPackageResourceScopes"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceScopes + * Read-only. Nullable. Supports $expand. + * + * @param AccessPackageResourceScope[] $val The accessPackageResourceScopes + * + * @return AccessPackageResource + */ + public function setAccessPackageResourceScopes($val) + { + $this->_propDict["accessPackageResourceScopes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php new file mode 100644 index 0000000..f3b5296 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["attributeDestination"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceAttributeDestination") || is_null($this->_propDict["attributeDestination"])) { + return $this->_propDict["attributeDestination"]; + } else { + $this->_propDict["attributeDestination"] = new AccessPackageResourceAttributeDestination($this->_propDict["attributeDestination"]); + return $this->_propDict["attributeDestination"]; + } + } + return null; + } + + /** + * Sets the attributeDestination + * Information about how to set the attribute, currently a accessPackageUserDirectoryAttributeStore object type. + * + * @param AccessPackageResourceAttributeDestination $val The value to assign to the attributeDestination + * + * @return AccessPackageResourceAttribute The AccessPackageResourceAttribute + */ + public function setAttributeDestination($val) + { + $this->_propDict["attributeDestination"] = $val; + return $this; + } + /** + * Gets the attributeName + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle. + * + * @return string|null The attributeName + */ + public function getAttributeName() + { + if (array_key_exists("attributeName", $this->_propDict)) { + return $this->_propDict["attributeName"]; + } else { + return null; + } + } + + /** + * Sets the attributeName + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension_2b676109c7c74ae2b41549205f1947ed_personalTitle. + * + * @param string $val The value of the attributeName + * + * @return AccessPackageResourceAttribute + */ + public function setAttributeName($val) + { + $this->_propDict["attributeName"] = $val; + return $this; + } + + /** + * Gets the attributeSource + * Information about how to populate the attribute value when an accessPackageAssignmentRequest is being fulfilled, currently a accessPackageResourceAttributeQuestion object type. + * + * @return AccessPackageResourceAttributeSource|null The attributeSource + */ + public function getAttributeSource() + { + if (array_key_exists("attributeSource", $this->_propDict)) { + if (is_a($this->_propDict["attributeSource"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceAttributeSource") || is_null($this->_propDict["attributeSource"])) { + return $this->_propDict["attributeSource"]; + } else { + $this->_propDict["attributeSource"] = new AccessPackageResourceAttributeSource($this->_propDict["attributeSource"]); + return $this->_propDict["attributeSource"]; + } + } + return null; + } + + /** + * Sets the attributeSource + * Information about how to populate the attribute value when an accessPackageAssignmentRequest is being fulfilled, currently a accessPackageResourceAttributeQuestion object type. + * + * @param AccessPackageResourceAttributeSource $val The value to assign to the attributeSource + * + * @return AccessPackageResourceAttribute The AccessPackageResourceAttribute + */ + public function setAttributeSource($val) + { + $this->_propDict["attributeSource"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier for the attribute on the access package resource. Read-only. + * + * @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 + * Unique identifier for the attribute on the access package resource. Read-only. + * + * @param string $val The value of the id + * + * @return AccessPackageResourceAttribute + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEditable + * Specifies whether or not an existing attribute value can be edited by the requester. + * + * @return bool|null The isEditable + */ + public function getIsEditable() + { + if (array_key_exists("isEditable", $this->_propDict)) { + return $this->_propDict["isEditable"]; + } else { + return null; + } + } + + /** + * Sets the isEditable + * Specifies whether or not an existing attribute value can be edited by the requester. + * + * @param bool $val The value of the isEditable + * + * @return AccessPackageResourceAttribute + */ + public function setIsEditable($val) + { + $this->_propDict["isEditable"] = $val; + return $this; + } + /** + * Gets the isPersistedOnAssignmentRemoval + * Specifies whether the attribute will remain in the end system after an assignment ends. + * + * @return bool|null The isPersistedOnAssignmentRemoval + */ + public function getIsPersistedOnAssignmentRemoval() + { + if (array_key_exists("isPersistedOnAssignmentRemoval", $this->_propDict)) { + return $this->_propDict["isPersistedOnAssignmentRemoval"]; + } else { + return null; + } + } + + /** + * Sets the isPersistedOnAssignmentRemoval + * Specifies whether the attribute will remain in the end system after an assignment ends. + * + * @param bool $val The value of the isPersistedOnAssignmentRemoval + * + * @return AccessPackageResourceAttribute + */ + public function setIsPersistedOnAssignmentRemoval($val) + { + $this->_propDict["isPersistedOnAssignmentRemoval"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeDestination.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeDestination.php new file mode 100644 index 0000000..aaac657 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeDestination.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["question"], "\Beta\Microsoft\Graph\Model\AccessPackageQuestion") || is_null($this->_propDict["question"])) { + return $this->_propDict["question"]; + } else { + $this->_propDict["question"] = new AccessPackageQuestion($this->_propDict["question"]); + return $this->_propDict["question"]; + } + } + return null; + } + + /** + * Sets the question + * The question asked in order to get the value of the attribute + * + * @param AccessPackageQuestion $val The value to assign to the question + * + * @return AccessPackageResourceAttributeQuestion The AccessPackageResourceAttributeQuestion + */ + public function setQuestion($val) + { + $this->_propDict["question"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeSource.php new file mode 100644 index 0000000..ac55b29 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeSource.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["connectionInfo"], "\Beta\Microsoft\Graph\Model\ConnectionInfo") || is_null($this->_propDict["connectionInfo"])) { + return $this->_propDict["connectionInfo"]; + } else { + $this->_propDict["connectionInfo"] = new ConnectionInfo($this->_propDict["connectionInfo"]); + return $this->_propDict["connectionInfo"]; + } + } + return null; + } + + /** + * Sets the connectionInfo + * Connection information of an environment used to connect to a resource. + * + * @param ConnectionInfo $val The connectionInfo + * + * @return AccessPackageResourceEnvironment + */ + public function setConnectionInfo($val) + { + $this->_propDict["connectionInfo"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The display name of the user that created this object. + * + * @return string|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * The display name of the user that created this object. + * + * @param string $val The createdBy + * + * @return AccessPackageResourceEnvironment + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time that this object was created. The DateTimeOffset 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time that this object was created. The DateTimeOffset 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 createdDateTime + * + * @return AccessPackageResourceEnvironment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of this object. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of this object. + * + * @param string $val The description + * + * @return AccessPackageResourceEnvironment + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of this object. + * + * @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 + * The display name of this object. + * + * @param string $val The displayName + * + * @return AccessPackageResourceEnvironment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isDefaultEnvironment + * Determines whether this is default environment or not. It is set to true for all static origin systems, such as Azure AD groups and Azure AD Applications. + * + * @return bool|null The isDefaultEnvironment + */ + public function getIsDefaultEnvironment() + { + if (array_key_exists("isDefaultEnvironment", $this->_propDict)) { + return $this->_propDict["isDefaultEnvironment"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultEnvironment + * Determines whether this is default environment or not. It is set to true for all static origin systems, such as Azure AD groups and Azure AD Applications. + * + * @param bool $val The isDefaultEnvironment + * + * @return AccessPackageResourceEnvironment + */ + public function setIsDefaultEnvironment($val) + { + $this->_propDict["isDefaultEnvironment"] = boolval($val); + return $this; + } + + /** + * Gets the modifiedBy + * The display name of the entity that last modified this object. + * + * @return string|null The modifiedBy + */ + public function getModifiedBy() + { + if (array_key_exists("modifiedBy", $this->_propDict)) { + return $this->_propDict["modifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the modifiedBy + * The display name of the entity that last modified this object. + * + * @param string $val The modifiedBy + * + * @return AccessPackageResourceEnvironment + */ + public function setModifiedBy($val) + { + $this->_propDict["modifiedBy"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The date and time that this object was last modified. The DateTimeOffset 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The date and time that this object was last modified. The DateTimeOffset 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 modifiedDateTime + * + * @return AccessPackageResourceEnvironment + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the originId + * The unique identifier of this environment in the origin system. + * + * @return string|null The originId + */ + public function getOriginId() + { + if (array_key_exists("originId", $this->_propDict)) { + return $this->_propDict["originId"]; + } else { + return null; + } + } + + /** + * Sets the originId + * The unique identifier of this environment in the origin system. + * + * @param string $val The originId + * + * @return AccessPackageResourceEnvironment + */ + public function setOriginId($val) + { + $this->_propDict["originId"] = $val; + return $this; + } + + /** + * Gets the originSystem + * The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq). + * + * @return string|null The originSystem + */ + public function getOriginSystem() + { + if (array_key_exists("originSystem", $this->_propDict)) { + return $this->_propDict["originSystem"]; + } else { + return null; + } + } + + /** + * Sets the originSystem + * The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq). + * + * @param string $val The originSystem + * + * @return AccessPackageResourceEnvironment + */ + public function setOriginSystem($val) + { + $this->_propDict["originSystem"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResources + * Read-only. Required. + * + * @return array|null The accessPackageResources + */ + public function getAccessPackageResources() + { + if (array_key_exists("accessPackageResources", $this->_propDict)) { + return $this->_propDict["accessPackageResources"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResources + * Read-only. Required. + * + * @param AccessPackageResource[] $val The accessPackageResources + * + * @return AccessPackageResourceEnvironment + */ + public function setAccessPackageResources($val) + { + $this->_propDict["accessPackageResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRequest.php new file mode 100644 index 0000000..2968a5f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRequest.php @@ -0,0 +1,327 @@ +_propDict)) { + return $this->_propDict["catalogId"]; + } else { + return null; + } + } + + /** + * Sets the catalogId + * The unique ID of the access package catalog. + * + * @param string $val The catalogId + * + * @return AccessPackageResourceRequest + */ + public function setCatalogId($val) + { + $this->_propDict["catalogId"] = $val; + return $this; + } + + /** + * Gets the executeImmediately + * + * @return bool|null The executeImmediately + */ + public function getExecuteImmediately() + { + if (array_key_exists("executeImmediately", $this->_propDict)) { + return $this->_propDict["executeImmediately"]; + } else { + return null; + } + } + + /** + * Sets the executeImmediately + * + * @param bool $val The executeImmediately + * + * @return AccessPackageResourceRequest + */ + public function setExecuteImmediately($val) + { + $this->_propDict["executeImmediately"] = boolval($val); + return $this; + } + + /** + * Gets the expirationDateTime + * 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 expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * 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 expirationDateTime + * + * @return AccessPackageResourceRequest + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * If set, does not add the resource. + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * If set, does not add the resource. + * + * @param bool $val The isValidationOnly + * + * @return AccessPackageResourceRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * The requestor's justification for adding or removing the resource. + * + * @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 requestor's justification for adding or removing the resource. + * + * @param string $val The justification + * + * @return AccessPackageResourceRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the requestState + * The outcome of whether the service was able to add the resource to the catalog. The value is Delivered if the resource was added or removed. Read-Only. + * + * @return string|null The requestState + */ + public function getRequestState() + { + if (array_key_exists("requestState", $this->_propDict)) { + return $this->_propDict["requestState"]; + } else { + return null; + } + } + + /** + * Sets the requestState + * The outcome of whether the service was able to add the resource to the catalog. The value is Delivered if the resource was added or removed. Read-Only. + * + * @param string $val The requestState + * + * @return AccessPackageResourceRequest + */ + public function setRequestState($val) + { + $this->_propDict["requestState"] = $val; + return $this; + } + + /** + * Gets the requestStatus + * Read-only. + * + * @return string|null The requestStatus + */ + public function getRequestStatus() + { + if (array_key_exists("requestStatus", $this->_propDict)) { + return $this->_propDict["requestStatus"]; + } else { + return null; + } + } + + /** + * Sets the requestStatus + * Read-only. + * + * @param string $val The requestStatus + * + * @return AccessPackageResourceRequest + */ + public function setRequestStatus($val) + { + $this->_propDict["requestStatus"] = $val; + return $this; + } + + /** + * Gets the requestType + * Use AdminAdd to add a resource, if the caller is an administrator or resource owner, or AdminRemove to remove a resource. + * + * @return string|null The requestType + */ + public function getRequestType() + { + if (array_key_exists("requestType", $this->_propDict)) { + return $this->_propDict["requestType"]; + } else { + return null; + } + } + + /** + * Sets the requestType + * Use AdminAdd to add a resource, if the caller is an administrator or resource owner, or AdminRemove to remove a resource. + * + * @param string $val The requestType + * + * @return AccessPackageResourceRequest + */ + public function setRequestType($val) + { + $this->_propDict["requestType"] = $val; + return $this; + } + + /** + * Gets the accessPackageResource + * Nullable. + * + * @return AccessPackageResource|null The accessPackageResource + */ + public function getAccessPackageResource() + { + if (array_key_exists("accessPackageResource", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResource"], "\Beta\Microsoft\Graph\Model\AccessPackageResource") || is_null($this->_propDict["accessPackageResource"])) { + return $this->_propDict["accessPackageResource"]; + } else { + $this->_propDict["accessPackageResource"] = new AccessPackageResource($this->_propDict["accessPackageResource"]); + return $this->_propDict["accessPackageResource"]; + } + } + return null; + } + + /** + * Sets the accessPackageResource + * Nullable. + * + * @param AccessPackageResource $val The accessPackageResource + * + * @return AccessPackageResourceRequest + */ + public function setAccessPackageResource($val) + { + $this->_propDict["accessPackageResource"] = $val; + return $this; + } + + /** + * Gets the requestor + * Read-only. Nullable. Supports $expand. + * + * @return AccessPackageSubject|null The requestor + */ + public function getRequestor() + { + if (array_key_exists("requestor", $this->_propDict)) { + if (is_a($this->_propDict["requestor"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject") || is_null($this->_propDict["requestor"])) { + return $this->_propDict["requestor"]; + } else { + $this->_propDict["requestor"] = new AccessPackageSubject($this->_propDict["requestor"]); + return $this->_propDict["requestor"]; + } + } + return null; + } + + /** + * Sets the requestor + * Read-only. Nullable. Supports $expand. + * + * @param AccessPackageSubject $val The requestor + * + * @return AccessPackageResourceRequest + */ + public function setRequestor($val) + { + $this->_propDict["requestor"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRole.php new file mode 100644 index 0000000..907e10f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRole.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description for the resource role. + * + * @param string $val The description + * + * @return AccessPackageResourceRole + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the resource role such as the role defined by the application. + * + * @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 + * The display name of the resource role such as the role defined by the application. + * + * @param string $val The displayName + * + * @return AccessPackageResourceRole + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the originId + * The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site. + * + * @return string|null The originId + */ + public function getOriginId() + { + if (array_key_exists("originId", $this->_propDict)) { + return $this->_propDict["originId"]; + } else { + return null; + } + } + + /** + * Sets the originId + * The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site. + * + * @param string $val The originId + * + * @return AccessPackageResourceRole + */ + public function setOriginId($val) + { + $this->_propDict["originId"] = $val; + return $this; + } + + /** + * Gets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. + * + * @return string|null The originSystem + */ + public function getOriginSystem() + { + if (array_key_exists("originSystem", $this->_propDict)) { + return $this->_propDict["originSystem"]; + } else { + return null; + } + } + + /** + * Sets the originSystem + * The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup. + * + * @param string $val The originSystem + * + * @return AccessPackageResourceRole + */ + public function setOriginSystem($val) + { + $this->_propDict["originSystem"] = $val; + return $this; + } + + /** + * Gets the accessPackageResource + * Read-only. Nullable. + * + * @return AccessPackageResource|null The accessPackageResource + */ + public function getAccessPackageResource() + { + if (array_key_exists("accessPackageResource", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResource"], "\Beta\Microsoft\Graph\Model\AccessPackageResource") || is_null($this->_propDict["accessPackageResource"])) { + return $this->_propDict["accessPackageResource"]; + } else { + $this->_propDict["accessPackageResource"] = new AccessPackageResource($this->_propDict["accessPackageResource"]); + return $this->_propDict["accessPackageResource"]; + } + } + return null; + } + + /** + * Sets the accessPackageResource + * Read-only. Nullable. + * + * @param AccessPackageResource $val The accessPackageResource + * + * @return AccessPackageResourceRole + */ + public function setAccessPackageResource($val) + { + $this->_propDict["accessPackageResource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRoleScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRoleScope.php new file mode 100644 index 0000000..c933440 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRoleScope.php @@ -0,0 +1,217 @@ +_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * Read-only. + * + * @param string $val The createdBy + * + * @return AccessPackageResourceRoleScope + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageResourceRoleScope + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the modifiedBy + * Read-only. + * + * @return string|null The modifiedBy + */ + public function getModifiedBy() + { + if (array_key_exists("modifiedBy", $this->_propDict)) { + return $this->_propDict["modifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the modifiedBy + * Read-only. + * + * @param string $val The modifiedBy + * + * @return AccessPackageResourceRoleScope + */ + public function setModifiedBy($val) + { + $this->_propDict["modifiedBy"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackageResourceRoleScope + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the accessPackageResourceRole + * Read-only. Nullable. Supports $expand. + * + * @return AccessPackageResourceRole|null The accessPackageResourceRole + */ + public function getAccessPackageResourceRole() + { + if (array_key_exists("accessPackageResourceRole", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResourceRole"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceRole") || is_null($this->_propDict["accessPackageResourceRole"])) { + return $this->_propDict["accessPackageResourceRole"]; + } else { + $this->_propDict["accessPackageResourceRole"] = new AccessPackageResourceRole($this->_propDict["accessPackageResourceRole"]); + return $this->_propDict["accessPackageResourceRole"]; + } + } + return null; + } + + /** + * Sets the accessPackageResourceRole + * Read-only. Nullable. Supports $expand. + * + * @param AccessPackageResourceRole $val The accessPackageResourceRole + * + * @return AccessPackageResourceRoleScope + */ + public function setAccessPackageResourceRole($val) + { + $this->_propDict["accessPackageResourceRole"] = $val; + return $this; + } + + /** + * Gets the accessPackageResourceScope + * Read-only. Nullable. + * + * @return AccessPackageResourceScope|null The accessPackageResourceScope + */ + public function getAccessPackageResourceScope() + { + if (array_key_exists("accessPackageResourceScope", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResourceScope"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceScope") || is_null($this->_propDict["accessPackageResourceScope"])) { + return $this->_propDict["accessPackageResourceScope"]; + } else { + $this->_propDict["accessPackageResourceScope"] = new AccessPackageResourceScope($this->_propDict["accessPackageResourceScope"]); + return $this->_propDict["accessPackageResourceScope"]; + } + } + return null; + } + + /** + * Sets the accessPackageResourceScope + * Read-only. Nullable. + * + * @param AccessPackageResourceScope $val The accessPackageResourceScope + * + * @return AccessPackageResourceRoleScope + */ + public function setAccessPackageResourceScope($val) + { + $this->_propDict["accessPackageResourceScope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceScope.php new file mode 100644 index 0000000..56b4af7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceScope.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the scope. + * + * @param string $val The description + * + * @return AccessPackageResourceScope + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the scope. + * + * @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 + * The display name of the scope. + * + * @param string $val The displayName + * + * @return AccessPackageResourceScope + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isRootScope + * True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource. + * + * @return bool|null The isRootScope + */ + public function getIsRootScope() + { + if (array_key_exists("isRootScope", $this->_propDict)) { + return $this->_propDict["isRootScope"]; + } else { + return null; + } + } + + /** + * Sets the isRootScope + * True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource. + * + * @param bool $val The isRootScope + * + * @return AccessPackageResourceScope + */ + public function setIsRootScope($val) + { + $this->_propDict["isRootScope"] = boolval($val); + return $this; + } + + /** + * Gets the originId + * The unique identifier for the scope in the resource as defined in the origin system. + * + * @return string|null The originId + */ + public function getOriginId() + { + if (array_key_exists("originId", $this->_propDict)) { + return $this->_propDict["originId"]; + } else { + return null; + } + } + + /** + * Sets the originId + * The unique identifier for the scope in the resource as defined in the origin system. + * + * @param string $val The originId + * + * @return AccessPackageResourceScope + */ + public function setOriginId($val) + { + $this->_propDict["originId"] = $val; + return $this; + } + + /** + * Gets the originSystem + * The origin system for the scope. + * + * @return string|null The originSystem + */ + public function getOriginSystem() + { + if (array_key_exists("originSystem", $this->_propDict)) { + return $this->_propDict["originSystem"]; + } else { + return null; + } + } + + /** + * Sets the originSystem + * The origin system for the scope. + * + * @param string $val The originSystem + * + * @return AccessPackageResourceScope + */ + public function setOriginSystem($val) + { + $this->_propDict["originSystem"] = $val; + return $this; + } + + /** + * Gets the roleOriginId + * The origin system for the role, if different. + * + * @return string|null The roleOriginId + */ + public function getRoleOriginId() + { + if (array_key_exists("roleOriginId", $this->_propDict)) { + return $this->_propDict["roleOriginId"]; + } else { + return null; + } + } + + /** + * Sets the roleOriginId + * The origin system for the role, if different. + * + * @param string $val The roleOriginId + * + * @return AccessPackageResourceScope + */ + public function setRoleOriginId($val) + { + $this->_propDict["roleOriginId"] = $val; + return $this; + } + + /** + * Gets the url + * A resource locator for the scope. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * A resource locator for the scope. + * + * @param string $val The url + * + * @return AccessPackageResourceScope + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + + /** + * Gets the accessPackageResource + * Read-only. Nullable. + * + * @return AccessPackageResource|null The accessPackageResource + */ + public function getAccessPackageResource() + { + if (array_key_exists("accessPackageResource", $this->_propDict)) { + if (is_a($this->_propDict["accessPackageResource"], "\Beta\Microsoft\Graph\Model\AccessPackageResource") || is_null($this->_propDict["accessPackageResource"])) { + return $this->_propDict["accessPackageResource"]; + } else { + $this->_propDict["accessPackageResource"] = new AccessPackageResource($this->_propDict["accessPackageResource"]); + return $this->_propDict["accessPackageResource"]; + } + } + return null; + } + + /** + * Sets the accessPackageResource + * Read-only. Nullable. + * + * @param AccessPackageResource $val The accessPackageResource + * + * @return AccessPackageResourceScope + */ + public function setAccessPackageResource($val) + { + $this->_propDict["accessPackageResource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php new file mode 100644 index 0000000..f88080a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php @@ -0,0 +1,290 @@ +_propDict)) { + return $this->_propDict["altSecId"]; + } else { + return null; + } + } + + /** + * Sets the altSecId + * + * @param string $val The altSecId + * + * @return AccessPackageSubject + */ + public function setAltSecId($val) + { + $this->_propDict["altSecId"] = $val; + return $this; + } + + /** + * Gets the connectedOrganizationId + * The identifier of the connected organization of the subject. + * + * @return string|null The connectedOrganizationId + */ + public function getConnectedOrganizationId() + { + if (array_key_exists("connectedOrganizationId", $this->_propDict)) { + return $this->_propDict["connectedOrganizationId"]; + } else { + return null; + } + } + + /** + * Sets the connectedOrganizationId + * The identifier of the connected organization of the subject. + * + * @param string $val The connectedOrganizationId + * + * @return AccessPackageSubject + */ + public function setConnectedOrganizationId($val) + { + $this->_propDict["connectedOrganizationId"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the subject. + * + * @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 + * The display name of the subject. + * + * @param string $val The displayName + * + * @return AccessPackageSubject + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * The email address of the subject. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address of the subject. + * + * @param string $val The email + * + * @return AccessPackageSubject + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the objectId + * The object identifier of the subject. null if the subject is not yet a user in the tenant. + * + * @return string|null The objectId + */ + public function getObjectId() + { + if (array_key_exists("objectId", $this->_propDict)) { + return $this->_propDict["objectId"]; + } else { + return null; + } + } + + /** + * Sets the objectId + * The object identifier of the subject. null if the subject is not yet a user in the tenant. + * + * @param string $val The objectId + * + * @return AccessPackageSubject + */ + public function setObjectId($val) + { + $this->_propDict["objectId"] = $val; + return $this; + } + + /** + * Gets the onPremisesSecurityIdentifier + * A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier. + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier. + * + * @param string $val The onPremisesSecurityIdentifier + * + * @return AccessPackageSubject + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + + /** + * Gets the principalName + * The principal name, if known, of the subject. + * + * @return string|null The principalName + */ + public function getPrincipalName() + { + if (array_key_exists("principalName", $this->_propDict)) { + return $this->_propDict["principalName"]; + } else { + return null; + } + } + + /** + * Sets the principalName + * The principal name, if known, of the subject. + * + * @param string $val The principalName + * + * @return AccessPackageSubject + */ + public function setPrincipalName($val) + { + $this->_propDict["principalName"] = $val; + return $this; + } + + /** + * Gets the type + * The resource type of the subject. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The resource type of the subject. + * + * @param string $val The type + * + * @return AccessPackageSubject + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the connectedOrganization + * The connected organization of the subject. Read-only. Nullable. + * + * @return ConnectedOrganization|null The connectedOrganization + */ + public function getConnectedOrganization() + { + if (array_key_exists("connectedOrganization", $this->_propDict)) { + if (is_a($this->_propDict["connectedOrganization"], "\Beta\Microsoft\Graph\Model\ConnectedOrganization") || is_null($this->_propDict["connectedOrganization"])) { + return $this->_propDict["connectedOrganization"]; + } else { + $this->_propDict["connectedOrganization"] = new ConnectedOrganization($this->_propDict["connectedOrganization"]); + return $this->_propDict["connectedOrganization"]; + } + } + return null; + } + + /** + * Sets the connectedOrganization + * The connected organization of the subject. Read-only. Nullable. + * + * @param ConnectedOrganization $val The connectedOrganization + * + * @return AccessPackageSubject + */ + public function setConnectedOrganization($val) + { + $this->_propDict["connectedOrganization"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php new file mode 100644 index 0000000..e4aa277 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.accessPackageTextInputQuestion"); + } + + /** + * Gets the isSingleLineQuestion + * Indicates whether the answer will be in single or multiple line format. + * + * @return bool|null The isSingleLineQuestion + */ + public function getIsSingleLineQuestion() + { + if (array_key_exists("isSingleLineQuestion", $this->_propDict)) { + return $this->_propDict["isSingleLineQuestion"]; + } else { + return null; + } + } + + /** + * Sets the isSingleLineQuestion + * Indicates whether the answer will be in single or multiple line format. + * + * @param bool $val The value of the isSingleLineQuestion + * + * @return AccessPackageTextInputQuestion + */ + public function setIsSingleLineQuestion($val) + { + $this->_propDict["isSingleLineQuestion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageUserDirectoryAttributeStore.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageUserDirectoryAttributeStore.php new file mode 100644 index 0000000..7dc622e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageUserDirectoryAttributeStore.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["businessFlowTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the businessFlowTemplateId + * The business flow template identifier. Required on create. This value is case sensitive. + * + * @param string $val The businessFlowTemplateId + * + * @return AccessReview + */ + public function setBusinessFlowTemplateId($val) + { + $this->_propDict["businessFlowTemplateId"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created this review. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created this review. + * + * @param UserIdentity $val The createdBy + * + * @return AccessReview + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * The description provided by the access review creator, to show to the reviewers. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description provided by the access review creator, to show to the reviewers. + * + * @param string $val The description + * + * @return AccessReview + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The access review name. Required on create. + * + * @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 + * The access review name. Required on create. + * + * @param string $val The displayName + * + * @return AccessReview + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. + * + * @param \DateTime $val The endDateTime + * + * @return AccessReview + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewedEntity + * The object for which the access reviews is reviewing the access rights assignments. This can be the group for the review of memberships of users in a group, or the app for a review of assignments of users to an application. Required on create. + * + * @return Identity|null The reviewedEntity + */ + public function getReviewedEntity() + { + if (array_key_exists("reviewedEntity", $this->_propDict)) { + if (is_a($this->_propDict["reviewedEntity"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["reviewedEntity"])) { + return $this->_propDict["reviewedEntity"]; + } else { + $this->_propDict["reviewedEntity"] = new Identity($this->_propDict["reviewedEntity"]); + return $this->_propDict["reviewedEntity"]; + } + } + return null; + } + + /** + * Sets the reviewedEntity + * The object for which the access reviews is reviewing the access rights assignments. This can be the group for the review of memberships of users in a group, or the app for a review of assignments of users to an application. Required on create. + * + * @param Identity $val The reviewedEntity + * + * @return AccessReview + */ + public function setReviewedEntity($val) + { + $this->_propDict["reviewedEntity"] = $val; + return $this; + } + + /** + * Gets the reviewerType + * The relationship type of reviewer to the target object, one of self, delegated or entityOwners. Required on create. + * + * @return string|null The reviewerType + */ + public function getReviewerType() + { + if (array_key_exists("reviewerType", $this->_propDict)) { + return $this->_propDict["reviewerType"]; + } else { + return null; + } + } + + /** + * Sets the reviewerType + * The relationship type of reviewer to the target object, one of self, delegated or entityOwners. Required on create. + * + * @param string $val The reviewerType + * + * @return AccessReview + */ + public function setReviewerType($val) + { + $this->_propDict["reviewerType"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings of an accessReview, see type definition below. + * + * @return AccessReviewSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AccessReviewSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new AccessReviewSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings of an accessReview, see type definition below. + * + * @param AccessReviewSettings $val The settings + * + * @return AccessReview + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create. + * + * @param \DateTime $val The startDateTime + * + * @return AccessReview + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * This read-only field specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting,InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * This read-only field specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting,InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. + * + * @param string $val The status + * + * @return AccessReview + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the decisions + * The collection of decisions for this access review. + * + * @return array|null The decisions + */ + public function getDecisions() + { + if (array_key_exists("decisions", $this->_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * The collection of decisions for this access review. + * + * @param AccessReviewDecision[] $val The decisions + * + * @return AccessReview + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + + + /** + * Gets the instances + * The collection of access reviews instances past, present and future, if this object is a recurring access review. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * The collection of access reviews instances past, present and future, if this object is a recurring access review. + * + * @param AccessReview[] $val The instances + * + * @return AccessReview + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + + + /** + * Gets the myDecisions + * The collection of decisions for the caller, if the caller is a reviewer. + * + * @return array|null The myDecisions + */ + public function getMyDecisions() + { + if (array_key_exists("myDecisions", $this->_propDict)) { + return $this->_propDict["myDecisions"]; + } else { + return null; + } + } + + /** + * Sets the myDecisions + * The collection of decisions for the caller, if the caller is a reviewer. + * + * @param AccessReviewDecision[] $val The myDecisions + * + * @return AccessReview + */ + public function setMyDecisions($val) + { + $this->_propDict["myDecisions"] = $val; + return $this; + } + + + /** + * Gets the reviewers + * The collection of reviewers for an access review, if access review reviewerType is of type delegated. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * The collection of reviewers for an access review, if access review reviewerType is of type delegated. + * + * @param AccessReviewReviewer[] $val The reviewers + * + * @return AccessReview + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewApplyAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewApplyAction.php new file mode 100644 index 0000000..8983375 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewApplyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["accessRecommendation"]; + } else { + return null; + } + } + + /** + * Sets the accessRecommendation + * The feature- generated recommendation shown to the reviewer, one of Approve, Deny or NotAvailable. + * + * @param string $val The accessRecommendation + * + * @return AccessReviewDecision + */ + public function setAccessRecommendation($val) + { + $this->_propDict["accessRecommendation"] = $val; + return $this; + } + + /** + * Gets the accessReviewId + * The feature-generated id of the access review. + * + * @return string|null The accessReviewId + */ + public function getAccessReviewId() + { + if (array_key_exists("accessReviewId", $this->_propDict)) { + return $this->_propDict["accessReviewId"]; + } else { + return null; + } + } + + /** + * Sets the accessReviewId + * The feature-generated id of the access review. + * + * @param string $val The accessReviewId + * + * @return AccessReviewDecision + */ + public function setAccessReviewId($val) + { + $this->_propDict["accessReviewId"] = $val; + return $this; + } + + /** + * Gets the appliedBy + * When the review completes, if the results were manually applied, the user identity of the user who applied the decision. If the review was auto-applied, the userPrincipalName is empty. + * + * @return UserIdentity|null The appliedBy + */ + public function getAppliedBy() + { + if (array_key_exists("appliedBy", $this->_propDict)) { + if (is_a($this->_propDict["appliedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["appliedBy"])) { + return $this->_propDict["appliedBy"]; + } else { + $this->_propDict["appliedBy"] = new UserIdentity($this->_propDict["appliedBy"]); + return $this->_propDict["appliedBy"]; + } + } + return null; + } + + /** + * Sets the appliedBy + * When the review completes, if the results were manually applied, the user identity of the user who applied the decision. If the review was auto-applied, the userPrincipalName is empty. + * + * @param UserIdentity $val The appliedBy + * + * @return AccessReviewDecision + */ + public function setAppliedBy($val) + { + $this->_propDict["appliedBy"] = $val; + return $this; + } + + /** + * Gets the appliedDateTime + * The date and time when the review decision was applied. + * + * @return \DateTime|null The appliedDateTime + */ + public function getAppliedDateTime() + { + if (array_key_exists("appliedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["appliedDateTime"], "\DateTime") || is_null($this->_propDict["appliedDateTime"])) { + return $this->_propDict["appliedDateTime"]; + } else { + $this->_propDict["appliedDateTime"] = new \DateTime($this->_propDict["appliedDateTime"]); + return $this->_propDict["appliedDateTime"]; + } + } + return null; + } + + /** + * Sets the appliedDateTime + * The date and time when the review decision was applied. + * + * @param \DateTime $val The appliedDateTime + * + * @return AccessReviewDecision + */ + public function setAppliedDateTime($val) + { + $this->_propDict["appliedDateTime"] = $val; + return $this; + } + + /** + * Gets the applyResult + * The outcome of applying the decision, one of NotApplied, Success, Failed, NotFound or NotSupported. + * + * @return string|null The applyResult + */ + public function getApplyResult() + { + if (array_key_exists("applyResult", $this->_propDict)) { + return $this->_propDict["applyResult"]; + } else { + return null; + } + } + + /** + * Sets the applyResult + * The outcome of applying the decision, one of NotApplied, Success, Failed, NotFound or NotSupported. + * + * @param string $val The applyResult + * + * @return AccessReviewDecision + */ + public function setApplyResult($val) + { + $this->_propDict["applyResult"] = $val; + return $this; + } + + /** + * Gets the justification + * The reviewer's business justification, if supplied. + * + * @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 reviewer's business justification, if supplied. + * + * @param string $val The justification + * + * @return AccessReviewDecision + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the reviewedBy + * The identity of the reviewer. If the recommendation was used as the review, the userPrincipalName is empty. + * + * @return UserIdentity|null The reviewedBy + */ + public function getReviewedBy() + { + if (array_key_exists("reviewedBy", $this->_propDict)) { + if (is_a($this->_propDict["reviewedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["reviewedBy"])) { + return $this->_propDict["reviewedBy"]; + } else { + $this->_propDict["reviewedBy"] = new UserIdentity($this->_propDict["reviewedBy"]); + return $this->_propDict["reviewedBy"]; + } + } + return null; + } + + /** + * Sets the reviewedBy + * The identity of the reviewer. If the recommendation was used as the review, the userPrincipalName is empty. + * + * @param UserIdentity $val The reviewedBy + * + * @return AccessReviewDecision + */ + public function setReviewedBy($val) + { + $this->_propDict["reviewedBy"] = $val; + return $this; + } + + /** + * Gets the reviewedDateTime + * + * @return \DateTime|null The reviewedDateTime + */ + public function getReviewedDateTime() + { + if (array_key_exists("reviewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewedDateTime"], "\DateTime") || is_null($this->_propDict["reviewedDateTime"])) { + return $this->_propDict["reviewedDateTime"]; + } else { + $this->_propDict["reviewedDateTime"] = new \DateTime($this->_propDict["reviewedDateTime"]); + return $this->_propDict["reviewedDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewedDateTime + * + * @param \DateTime $val The reviewedDateTime + * + * @return AccessReviewDecision + */ + public function setReviewedDateTime($val) + { + $this->_propDict["reviewedDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewResult + * The result of the review, one of NotReviewed, Deny, DontKnow or Approve. + * + * @return string|null The reviewResult + */ + public function getReviewResult() + { + if (array_key_exists("reviewResult", $this->_propDict)) { + return $this->_propDict["reviewResult"]; + } else { + return null; + } + } + + /** + * Sets the reviewResult + * The result of the review, one of NotReviewed, Deny, DontKnow or Approve. + * + * @param string $val The reviewResult + * + * @return AccessReviewDecision + */ + public function setReviewResult($val) + { + $this->_propDict["reviewResult"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewError.php new file mode 100644 index 0000000..067366b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewError.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * User who created this review history definition. + * + * @param UserIdentity $val The createdBy + * + * @return AccessReviewHistoryDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp when the access review definition was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp when the access review definition was created. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the decisions + * Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. + * + * @return array|null The decisions + */ + public function getDecisions() + { + if (array_key_exists("decisions", $this->_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. + * + * @param AccessReviewHistoryDecisionFilter[] $val The decisions + * + * @return AccessReviewHistoryDefinition + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name for the access review history data collection. Required. + * + * @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 + * Name for the access review history data collection. Required. + * + * @param string $val The displayName + * + * @return AccessReviewHistoryDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the downloadUri + * + * @return string|null The downloadUri + */ + public function getDownloadUri() + { + if (array_key_exists("downloadUri", $this->_propDict)) { + return $this->_propDict["downloadUri"]; + } else { + return null; + } + } + + /** + * Sets the downloadUri + * + * @param string $val The downloadUri + * + * @return AccessReviewHistoryDefinition + */ + public function setDownloadUri($val) + { + $this->_propDict["downloadUri"] = $val; + return $this; + } + + /** + * Gets the fulfilledDateTime + * + * @return \DateTime|null The fulfilledDateTime + */ + public function getFulfilledDateTime() + { + if (array_key_exists("fulfilledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["fulfilledDateTime"], "\DateTime") || is_null($this->_propDict["fulfilledDateTime"])) { + return $this->_propDict["fulfilledDateTime"]; + } else { + $this->_propDict["fulfilledDateTime"] = new \DateTime($this->_propDict["fulfilledDateTime"]); + return $this->_propDict["fulfilledDateTime"]; + } + } + return null; + } + + /** + * Sets the fulfilledDateTime + * + * @param \DateTime $val The fulfilledDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setFulfilledDateTime($val) + { + $this->_propDict["fulfilledDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodEndDateTime + * A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @return \DateTime|null The reviewHistoryPeriodEndDateTime + */ + public function getReviewHistoryPeriodEndDateTime() + { + if (array_key_exists("reviewHistoryPeriodEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodEndDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodEndDateTime"])) { + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodEndDateTime"]); + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodEndDateTime + * A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @param \DateTime $val The reviewHistoryPeriodEndDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setReviewHistoryPeriodEndDateTime($val) + { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodStartDateTime + * A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @return \DateTime|null The reviewHistoryPeriodStartDateTime + */ + public function getReviewHistoryPeriodStartDateTime() + { + if (array_key_exists("reviewHistoryPeriodStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodStartDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodStartDateTime"])) { + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodStartDateTime"]); + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodStartDateTime + * A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @param \DateTime $val The reviewHistoryPeriodStartDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setReviewHistoryPeriodStartDateTime($val) + { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = $val; + return $this; + } + + /** + * Gets the scheduleSettings + * The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. + * + * @return AccessReviewHistoryScheduleSettings|null The scheduleSettings + */ + public function getScheduleSettings() + { + if (array_key_exists("scheduleSettings", $this->_propDict)) { + if (is_a($this->_propDict["scheduleSettings"], "\Beta\Microsoft\Graph\Model\AccessReviewHistoryScheduleSettings") || is_null($this->_propDict["scheduleSettings"])) { + return $this->_propDict["scheduleSettings"]; + } else { + $this->_propDict["scheduleSettings"] = new AccessReviewHistoryScheduleSettings($this->_propDict["scheduleSettings"]); + return $this->_propDict["scheduleSettings"]; + } + } + return null; + } + + /** + * Sets the scheduleSettings + * The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. + * + * @param AccessReviewHistoryScheduleSettings $val The scheduleSettings + * + * @return AccessReviewHistoryDefinition + */ + public function setScheduleSettings($val) + { + $this->_propDict["scheduleSettings"] = $val; + return $this; + } + + + /** + * Gets the scopes + * Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required. + * + * @return array|null The scopes + */ + public function getScopes() + { + if (array_key_exists("scopes", $this->_propDict)) { + return $this->_propDict["scopes"]; + } else { + return null; + } + } + + /** + * Sets the scopes + * Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required. + * + * @param AccessReviewScope[] $val The scopes + * + * @return AccessReviewHistoryDefinition + */ + public function setScopes($val) + { + $this->_propDict["scopes"] = $val; + return $this; + } + + /** + * Gets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. + * + * @return AccessReviewHistoryStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AccessReviewHistoryStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AccessReviewHistoryStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. + * + * @param AccessReviewHistoryStatus $val The status + * + * @return AccessReviewHistoryDefinition + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the instances + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * + * @param AccessReviewHistoryInstance[] $val The instances + * + * @return AccessReviewHistoryDefinition + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryInstance.php new file mode 100644 index 0000000..da156fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryInstance.php @@ -0,0 +1,254 @@ +_propDict)) { + return $this->_propDict["downloadUri"]; + } else { + return null; + } + } + + /** + * Sets the downloadUri + * Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. + * + * @param string $val The downloadUri + * + * @return AccessReviewHistoryInstance + */ + public function setDownloadUri($val) + { + $this->_propDict["downloadUri"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Timestamp when this instance and associated data expires and the history is deleted. Required. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Timestamp when this instance and associated data expires and the history is deleted. Required. + * + * @param \DateTime $val The expirationDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fulfilledDateTime + * Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. + * + * @return \DateTime|null The fulfilledDateTime + */ + public function getFulfilledDateTime() + { + if (array_key_exists("fulfilledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["fulfilledDateTime"], "\DateTime") || is_null($this->_propDict["fulfilledDateTime"])) { + return $this->_propDict["fulfilledDateTime"]; + } else { + $this->_propDict["fulfilledDateTime"] = new \DateTime($this->_propDict["fulfilledDateTime"]); + return $this->_propDict["fulfilledDateTime"]; + } + } + return null; + } + + /** + * Sets the fulfilledDateTime + * Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. + * + * @param \DateTime $val The fulfilledDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setFulfilledDateTime($val) + { + $this->_propDict["fulfilledDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodEndDateTime + * Timestamp, reviews ending on or before this date will be included in the fetched history data. + * + * @return \DateTime|null The reviewHistoryPeriodEndDateTime + */ + public function getReviewHistoryPeriodEndDateTime() + { + if (array_key_exists("reviewHistoryPeriodEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodEndDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodEndDateTime"])) { + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodEndDateTime"]); + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodEndDateTime + * Timestamp, reviews ending on or before this date will be included in the fetched history data. + * + * @param \DateTime $val The reviewHistoryPeriodEndDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setReviewHistoryPeriodEndDateTime($val) + { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodStartDateTime + * Timestamp, reviews starting on or after this date will be included in the fetched history data. + * + * @return \DateTime|null The reviewHistoryPeriodStartDateTime + */ + public function getReviewHistoryPeriodStartDateTime() + { + if (array_key_exists("reviewHistoryPeriodStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodStartDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodStartDateTime"])) { + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodStartDateTime"]); + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodStartDateTime + * Timestamp, reviews starting on or after this date will be included in the fetched history data. + * + * @param \DateTime $val The reviewHistoryPeriodStartDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setReviewHistoryPeriodStartDateTime($val) + { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = $val; + return $this; + } + + /** + * Gets the runDateTime + * Timestamp when the instance's history data is scheduled to be generated. + * + * @return \DateTime|null The runDateTime + */ + public function getRunDateTime() + { + if (array_key_exists("runDateTime", $this->_propDict)) { + if (is_a($this->_propDict["runDateTime"], "\DateTime") || is_null($this->_propDict["runDateTime"])) { + return $this->_propDict["runDateTime"]; + } else { + $this->_propDict["runDateTime"] = new \DateTime($this->_propDict["runDateTime"]); + return $this->_propDict["runDateTime"]; + } + } + return null; + } + + /** + * Sets the runDateTime + * Timestamp when the instance's history data is scheduled to be generated. + * + * @param \DateTime $val The runDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setRunDateTime($val) + { + $this->_propDict["runDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance's data by calling generateDownloadUri method. + * + * @return AccessReviewHistoryStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AccessReviewHistoryStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AccessReviewHistoryStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance's data by calling generateDownloadUri method. + * + * @param AccessReviewHistoryStatus $val The status + * + * @return AccessReviewHistoryInstance + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php new file mode 100644 index 0000000..350f5b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. Required. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return AccessReviewHistoryScheduleSettings The AccessReviewHistoryScheduleSettings + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + /** + * Gets the reportRange + * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. + * + * @return string|null The reportRange + */ + public function getReportRange() + { + if (array_key_exists("reportRange", $this->_propDict)) { + return $this->_propDict["reportRange"]; + } else { + return null; + } + } + + /** + * Sets the reportRange + * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. + * + * @param string $val The value of the reportRange + * + * @return AccessReviewHistoryScheduleSettings + */ + public function setReportRange($val) + { + $this->_propDict["reportRange"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryStatus.php new file mode 100644 index 0000000..4cd17e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["inactiveDuration"], "\DateInterval") || is_null($this->_propDict["inactiveDuration"])) { + return $this->_propDict["inactiveDuration"]; + } else { + $this->_propDict["inactiveDuration"] = new \DateInterval($this->_propDict["inactiveDuration"]); + return $this->_propDict["inactiveDuration"]; + } + } + return null; + } + + /** + * Sets the inactiveDuration + * Defines the duration of inactivity. Inactivity is based on the last sign in date of the user compared to the access review instance's start date. If this property is not specified, it's assigned the default value PT0S. + * + * @param \DateInterval $val The value to assign to the inactiveDuration + * + * @return AccessReviewInactiveUsersQueryScope The AccessReviewInactiveUsersQueryScope + */ + public function setInactiveDuration($val) + { + $this->_propDict["inactiveDuration"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php new file mode 100644 index 0000000..0e780b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php @@ -0,0 +1,368 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * DateTime when review instance is scheduled to end.The DatetimeOffset 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. Supports $select. Read-only. + * + * @param \DateTime $val The endDateTime + * + * @return AccessReviewInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + + /** + * Gets the errors + * Collection of errors in an access review instance lifecycle. Read-only. + * + * @return array|null The errors + */ + public function getErrors() + { + if (array_key_exists("errors", $this->_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * Collection of errors in an access review instance lifecycle. Read-only. + * + * @param AccessReviewError[] $val The errors + * + * @return AccessReviewInstance + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + + + /** + * Gets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. + * + * @return array|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + return $this->_propDict["fallbackReviewers"]; + } else { + return null; + } + } + + /** + * Sets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. + * + * @param AccessReviewReviewerScope[] $val The fallbackReviewers + * + * @return AccessReviewInstance + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + + + /** + * Gets the reviewers + * This collection of access review scopes is used to define who the reviewers are. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * This collection of access review scopes is used to define who the reviewers are. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AccessReviewInstance + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the scope + * Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. Supports $select and $filter (contains only). Read-only. + * + * @return AccessReviewScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new AccessReviewScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. Supports $select and $filter (contains only). Read-only. + * + * @param AccessReviewScope $val The scope + * + * @return AccessReviewInstance + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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. Supports $select. Read-only. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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. Supports $select. Read-only. + * + * @param \DateTime $val The startDateTime + * + * @return AccessReviewInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The status + * + * @return AccessReviewInstance + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the contactedReviewers + * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * + * @return array|null The contactedReviewers + */ + public function getContactedReviewers() + { + if (array_key_exists("contactedReviewers", $this->_propDict)) { + return $this->_propDict["contactedReviewers"]; + } else { + return null; + } + } + + /** + * Sets the contactedReviewers + * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * + * @param AccessReviewReviewer[] $val The contactedReviewers + * + * @return AccessReviewInstance + */ + public function setContactedReviewers($val) + { + $this->_propDict["contactedReviewers"] = $val; + return $this; + } + + + /** + * Gets the decisions + * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * + * @return array|null The decisions + */ + public function getDecisions() + { + if (array_key_exists("decisions", $this->_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * + * @param AccessReviewInstanceDecisionItem[] $val The decisions + * + * @return AccessReviewInstance + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + + /** + * Gets the definition + * There is exactly one accessReviewScheduleDefinition associated with each instance. It is the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. + * + * @return AccessReviewScheduleDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\AccessReviewScheduleDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new AccessReviewScheduleDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * There is exactly one accessReviewScheduleDefinition associated with each instance. It is the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. + * + * @param AccessReviewScheduleDefinition $val The definition + * + * @return AccessReviewInstance + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + + /** + * Gets the stages + * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * + * @return array|null The stages + */ + public function getStages() + { + if (array_key_exists("stages", $this->_propDict)) { + return $this->_propDict["stages"]; + } else { + return null; + } + } + + /** + * Sets the stages + * If the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. + * + * @param AccessReviewStage[] $val The stages + * + * @return AccessReviewInstance + */ + public function setStages($val) + { + $this->_propDict["stages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItem.php new file mode 100644 index 0000000..c1d28c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItem.php @@ -0,0 +1,555 @@ +_propDict)) { + return $this->_propDict["accessReviewId"]; + } else { + return null; + } + } + + /** + * Sets the accessReviewId + * The identifier of the accessReviewInstance parent. Supports $select. Read-only. + * + * @param string $val The accessReviewId + * + * @return AccessReviewInstanceDecisionItem + */ + public function setAccessReviewId($val) + { + $this->_propDict["accessReviewId"] = $val; + return $this; + } + + /** + * Gets the appliedBy + * The identifier of the user who applied the decision. Read-only. + * + * @return UserIdentity|null The appliedBy + */ + public function getAppliedBy() + { + if (array_key_exists("appliedBy", $this->_propDict)) { + if (is_a($this->_propDict["appliedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["appliedBy"])) { + return $this->_propDict["appliedBy"]; + } else { + $this->_propDict["appliedBy"] = new UserIdentity($this->_propDict["appliedBy"]); + return $this->_propDict["appliedBy"]; + } + } + return null; + } + + /** + * Sets the appliedBy + * The identifier of the user who applied the decision. Read-only. + * + * @param UserIdentity $val The appliedBy + * + * @return AccessReviewInstanceDecisionItem + */ + public function setAppliedBy($val) + { + $this->_propDict["appliedBy"] = $val; + return $this; + } + + /** + * Gets the appliedDateTime + * The timestamp when the approval decision was applied. The DatetimeOffset 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. Supports $select. Read-only. + * + * @return \DateTime|null The appliedDateTime + */ + public function getAppliedDateTime() + { + if (array_key_exists("appliedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["appliedDateTime"], "\DateTime") || is_null($this->_propDict["appliedDateTime"])) { + return $this->_propDict["appliedDateTime"]; + } else { + $this->_propDict["appliedDateTime"] = new \DateTime($this->_propDict["appliedDateTime"]); + return $this->_propDict["appliedDateTime"]; + } + } + return null; + } + + /** + * Sets the appliedDateTime + * The timestamp when the approval decision was applied. The DatetimeOffset 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. Supports $select. Read-only. + * + * @param \DateTime $val The appliedDateTime + * + * @return AccessReviewInstanceDecisionItem + */ + public function setAppliedDateTime($val) + { + $this->_propDict["appliedDateTime"] = $val; + return $this; + } + + /** + * Gets the applyResult + * The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The applyResult + */ + public function getApplyResult() + { + if (array_key_exists("applyResult", $this->_propDict)) { + return $this->_propDict["applyResult"]; + } else { + return null; + } + } + + /** + * Sets the applyResult + * The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The applyResult + * + * @return AccessReviewInstanceDecisionItem + */ + public function setApplyResult($val) + { + $this->_propDict["applyResult"] = $val; + return $this; + } + + /** + * Gets the decision + * Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only). + * + * @return string|null The decision + */ + public function getDecision() + { + if (array_key_exists("decision", $this->_propDict)) { + return $this->_propDict["decision"]; + } else { + return null; + } + } + + /** + * Sets the decision + * Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only). + * + * @param string $val The decision + * + * @return AccessReviewInstanceDecisionItem + */ + public function setDecision($val) + { + $this->_propDict["decision"] = $val; + return $this; + } + + /** + * Gets the justification + * Justification left by the reviewer when they made the decision. + * + * @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 + * Justification left by the reviewer when they made the decision. + * + * @param string $val The justification + * + * @return AccessReviewInstanceDecisionItem + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the principal + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. + * + * @return Identity|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new Identity($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. + * + * @param Identity $val The principal + * + * @return AccessReviewInstanceDecisionItem + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the principalLink + * Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only. + * + * @return string|null The principalLink + */ + public function getPrincipalLink() + { + if (array_key_exists("principalLink", $this->_propDict)) { + return $this->_propDict["principalLink"]; + } else { + return null; + } + } + + /** + * Sets the principalLink + * Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only. + * + * @param string $val The principalLink + * + * @return AccessReviewInstanceDecisionItem + */ + public function setPrincipalLink($val) + { + $this->_propDict["principalLink"] = $val; + return $this; + } + + /** + * Gets the principalResourceMembership + * + * @return DecisionItemPrincipalResourceMembership|null The principalResourceMembership + */ + public function getPrincipalResourceMembership() + { + if (array_key_exists("principalResourceMembership", $this->_propDict)) { + if (is_a($this->_propDict["principalResourceMembership"], "\Beta\Microsoft\Graph\Model\DecisionItemPrincipalResourceMembership") || is_null($this->_propDict["principalResourceMembership"])) { + return $this->_propDict["principalResourceMembership"]; + } else { + $this->_propDict["principalResourceMembership"] = new DecisionItemPrincipalResourceMembership($this->_propDict["principalResourceMembership"]); + return $this->_propDict["principalResourceMembership"]; + } + } + return null; + } + + /** + * Sets the principalResourceMembership + * + * @param DecisionItemPrincipalResourceMembership $val The principalResourceMembership + * + * @return AccessReviewInstanceDecisionItem + */ + public function setPrincipalResourceMembership($val) + { + $this->_propDict["principalResourceMembership"] = $val; + return $this; + } + + /** + * Gets the recommendation + * A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The recommendation + */ + public function getRecommendation() + { + if (array_key_exists("recommendation", $this->_propDict)) { + return $this->_propDict["recommendation"]; + } else { + return null; + } + } + + /** + * Sets the recommendation + * A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The recommendation + * + * @return AccessReviewInstanceDecisionItem + */ + public function setRecommendation($val) + { + $this->_propDict["recommendation"] = $val; + return $this; + } + + /** + * Gets the resource + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only. + * + * @return AccessReviewInstanceDecisionItemResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new AccessReviewInstanceDecisionItemResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only. + * + * @param AccessReviewInstanceDecisionItemResource $val The resource + * + * @return AccessReviewInstanceDecisionItem + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceLink + * A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only. + * + * @return string|null The resourceLink + */ + public function getResourceLink() + { + if (array_key_exists("resourceLink", $this->_propDict)) { + return $this->_propDict["resourceLink"]; + } else { + return null; + } + } + + /** + * Sets the resourceLink + * A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only. + * + * @param string $val The resourceLink + * + * @return AccessReviewInstanceDecisionItem + */ + public function setResourceLink($val) + { + $this->_propDict["resourceLink"] = $val; + return $this; + } + + /** + * Gets the reviewedBy + * The identifier of the reviewer. Supports $select. Read-only. + * + * @return UserIdentity|null The reviewedBy + */ + public function getReviewedBy() + { + if (array_key_exists("reviewedBy", $this->_propDict)) { + if (is_a($this->_propDict["reviewedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["reviewedBy"])) { + return $this->_propDict["reviewedBy"]; + } else { + $this->_propDict["reviewedBy"] = new UserIdentity($this->_propDict["reviewedBy"]); + return $this->_propDict["reviewedBy"]; + } + } + return null; + } + + /** + * Sets the reviewedBy + * The identifier of the reviewer. Supports $select. Read-only. + * + * @param UserIdentity $val The reviewedBy + * + * @return AccessReviewInstanceDecisionItem + */ + public function setReviewedBy($val) + { + $this->_propDict["reviewedBy"] = $val; + return $this; + } + + /** + * Gets the reviewedDateTime + * The timestamp when the review decision occurred. Supports $select. Read-only. + * + * @return \DateTime|null The reviewedDateTime + */ + public function getReviewedDateTime() + { + if (array_key_exists("reviewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewedDateTime"], "\DateTime") || is_null($this->_propDict["reviewedDateTime"])) { + return $this->_propDict["reviewedDateTime"]; + } else { + $this->_propDict["reviewedDateTime"] = new \DateTime($this->_propDict["reviewedDateTime"]); + return $this->_propDict["reviewedDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewedDateTime + * The timestamp when the review decision occurred. Supports $select. Read-only. + * + * @param \DateTime $val The reviewedDateTime + * + * @return AccessReviewInstanceDecisionItem + */ + public function setReviewedDateTime($val) + { + $this->_propDict["reviewedDateTime"] = $val; + return $this; + } + + /** + * Gets the target + * The target of this specific decision. Decision targets can be of different types – each one with its own specific properties. See accessReviewInstanceDecisionItemTarget. Read-only. This property has been replaced by the principal and resource properties in v1.0. + * + * @return AccessReviewInstanceDecisionItemTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new AccessReviewInstanceDecisionItemTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target of this specific decision. Decision targets can be of different types – each one with its own specific properties. See accessReviewInstanceDecisionItemTarget. Read-only. This property has been replaced by the principal and resource properties in v1.0. + * + * @param AccessReviewInstanceDecisionItemTarget $val The target + * + * @return AccessReviewInstanceDecisionItem + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + + + /** + * Gets the insights + * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. + * + * @return array|null The insights + */ + public function getInsights() + { + if (array_key_exists("insights", $this->_propDict)) { + return $this->_propDict["insights"]; + } else { + return null; + } + } + + /** + * Sets the insights + * Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. + * + * @param GovernanceInsight[] $val The insights + * + * @return AccessReviewInstanceDecisionItem + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + /** + * Gets the instance + * There is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. + * + * @return AccessReviewInstance|null The instance + */ + public function getInstance() + { + if (array_key_exists("instance", $this->_propDict)) { + if (is_a($this->_propDict["instance"], "\Beta\Microsoft\Graph\Model\AccessReviewInstance") || is_null($this->_propDict["instance"])) { + return $this->_propDict["instance"]; + } else { + $this->_propDict["instance"] = new AccessReviewInstance($this->_propDict["instance"]); + return $this->_propDict["instance"]; + } + } + return null; + } + + /** + * Sets the instance + * There is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. + * + * @param AccessReviewInstance $val The instance + * + * @return AccessReviewInstanceDecisionItem + */ + public function setInstance($val) + { + $this->_propDict["instance"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.php new file mode 100644 index 0000000..ab8bd66 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["accessPackageDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageDisplayName + * Display name of the access package to which access has been granted. + * + * @param string $val The value of the accessPackageDisplayName + * + * @return AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource + */ + public function setAccessPackageDisplayName($val) + { + $this->_propDict["accessPackageDisplayName"] = $val; + return $this; + } + /** + * Gets the accessPackageId + * Identifier of the access package to which access has been granted. + * + * @return string|null The accessPackageId + */ + public function getAccessPackageId() + { + if (array_key_exists("accessPackageId", $this->_propDict)) { + return $this->_propDict["accessPackageId"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageId + * Identifier of the access package to which access has been granted. + * + * @param string $val The value of the accessPackageId + * + * @return AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource + */ + public function setAccessPackageId($val) + { + $this->_propDict["accessPackageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemAzureRoleResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemAzureRoleResource.php new file mode 100644 index 0000000..8b1c9eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemAzureRoleResource.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemResource") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new AccessReviewInstanceDecisionItemResource($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Details of the scope this role is associated with. + * + * @param AccessReviewInstanceDecisionItemResource $val The value to assign to the scope + * + * @return AccessReviewInstanceDecisionItemAzureRoleResource The AccessReviewInstanceDecisionItemAzureRoleResource + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemFilterByCurrentUserOptions.php new file mode 100644 index 0000000..7dc918e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the resource + * + * @param string $val The value of the displayName + * + * @return AccessReviewInstanceDecisionItemResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Resource 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 + * Resource ID + * + * @param string $val The value of the id + * + * @return AccessReviewInstanceDecisionItemResource + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the type + * Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy. + * + * @param string $val The value of the type + * + * @return AccessReviewInstanceDecisionItemResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalResource.php new file mode 100644 index 0000000..c233d6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalResource.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * + * @param string $val The value of the appId + * + * @return AccessReviewInstanceDecisionItemServicePrincipalResource + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalTarget.php new file mode 100644 index 0000000..9b0b1d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalTarget.php @@ -0,0 +1,119 @@ +setODataType("#microsoft.graph.accessReviewInstanceDecisionItemServicePrincipalTarget"); + } + + /** + * Gets the appId + * The appId for the service principal entity being reviewed. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The appId for the service principal entity being reviewed. + * + * @param string $val The value of the appId + * + * @return AccessReviewInstanceDecisionItemServicePrincipalTarget + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the servicePrincipalDisplayName + * The display name of the service principal whose access is being reviewed. + * + * @return string|null The servicePrincipalDisplayName + */ + public function getServicePrincipalDisplayName() + { + if (array_key_exists("servicePrincipalDisplayName", $this->_propDict)) { + return $this->_propDict["servicePrincipalDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalDisplayName + * The display name of the service principal whose access is being reviewed. + * + * @param string $val The value of the servicePrincipalDisplayName + * + * @return AccessReviewInstanceDecisionItemServicePrincipalTarget + */ + public function setServicePrincipalDisplayName($val) + { + $this->_propDict["servicePrincipalDisplayName"] = $val; + return $this; + } + /** + * Gets the servicePrincipalId + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * + * @param string $val The value of the servicePrincipalId + * + * @return AccessReviewInstanceDecisionItemServicePrincipalTarget + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemTarget.php new file mode 100644 index 0000000..3465776 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemTarget.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.accessReviewInstanceDecisionItemUserTarget"); + } + + /** + * Gets the userDisplayName + * The name of user. + * + * @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 + * The name of user. + * + * @param string $val The value of the userDisplayName + * + * @return AccessReviewInstanceDecisionItemUserTarget + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + /** + * Gets the userId + * The identifier of user. + * + * @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 + * The identifier of user. + * + * @param string $val The value of the userId + * + * @return AccessReviewInstanceDecisionItemUserTarget + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * The user principal name. + * + * @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 + * The user principal name. + * + * @param string $val The value of the userPrincipalName + * + * @return AccessReviewInstanceDecisionItemUserTarget + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceFilterByCurrentUserOptions.php new file mode 100644 index 0000000..693695f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["notificationRecipientScope"], "\Beta\Microsoft\Graph\Model\AccessReviewNotificationRecipientScope") || is_null($this->_propDict["notificationRecipientScope"])) { + return $this->_propDict["notificationRecipientScope"]; + } else { + $this->_propDict["notificationRecipientScope"] = new AccessReviewNotificationRecipientScope($this->_propDict["notificationRecipientScope"]); + return $this->_propDict["notificationRecipientScope"]; + } + } + return null; + } + + /** + * Sets the notificationRecipientScope + * Determines the recipient of the notification email. + * + * @param AccessReviewNotificationRecipientScope $val The value to assign to the notificationRecipientScope + * + * @return AccessReviewNotificationRecipientItem The AccessReviewNotificationRecipientItem + */ + public function setNotificationRecipientScope($val) + { + $this->_propDict["notificationRecipientScope"] = $val; + return $this; + } + /** + * Gets the notificationTemplateType + * Indicates the type of access review email to be sent. Supported template type is CompletedAdditionalRecipients which sends review completion notifications to the recipients. + * + * @return string|null The notificationTemplateType + */ + public function getNotificationTemplateType() + { + if (array_key_exists("notificationTemplateType", $this->_propDict)) { + return $this->_propDict["notificationTemplateType"]; + } else { + return null; + } + } + + /** + * Sets the notificationTemplateType + * Indicates the type of access review email to be sent. Supported template type is CompletedAdditionalRecipients which sends review completion notifications to the recipients. + * + * @param string $val The value of the notificationTemplateType + * + * @return AccessReviewNotificationRecipientItem + */ + public function setNotificationTemplateType($val) + { + $this->_propDict["notificationTemplateType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewNotificationRecipientQueryScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewNotificationRecipientQueryScope.php new file mode 100644 index 0000000..641b750 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewNotificationRecipientQueryScope.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * This represents the query for who the recipients are. For example, /groups/{group id}/members for group members and /users/{user id} for a specific user. + * + * @param string $val The value of the query + * + * @return AccessReviewNotificationRecipientQueryScope + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + /** + * Gets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query that is, ./manager) is specified. + * + * @return string|null The queryRoot + */ + public function getQueryRoot() + { + if (array_key_exists("queryRoot", $this->_propDict)) { + return $this->_propDict["queryRoot"]; + } else { + return null; + } + } + + /** + * Sets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query that is, ./manager) is specified. + * + * @param string $val The value of the queryRoot + * + * @return AccessReviewNotificationRecipientQueryScope + */ + public function setQueryRoot($val) + { + $this->_propDict["queryRoot"] = $val; + return $this; + } + /** + * Gets the queryType + * Indicates the type of query. Allowed value is MicrosoftGraph. + * + * @return string|null The queryType + */ + public function getQueryType() + { + if (array_key_exists("queryType", $this->_propDict)) { + return $this->_propDict["queryType"]; + } else { + return null; + } + } + + /** + * Sets the queryType + * Indicates the type of query. Allowed value is MicrosoftGraph. + * + * @param string $val The value of the queryType + * + * @return AccessReviewNotificationRecipientQueryScope + */ + public function setQueryType($val) + { + $this->_propDict["queryType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewNotificationRecipientScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewNotificationRecipientScope.php new file mode 100644 index 0000000..77936ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewNotificationRecipientScope.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for this policy. Read-only. + * + * @param string $val The description + * + * @return AccessReviewPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for this policy. Read-only. + * + * @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 + * Display name for this policy. Read-only. + * + * @param string $val The displayName + * + * @return AccessReviewPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isGroupOwnerManagementEnabled + * If true, group owners can create and manage access reviews on groups they own. + * + * @return bool|null The isGroupOwnerManagementEnabled + */ + public function getIsGroupOwnerManagementEnabled() + { + if (array_key_exists("isGroupOwnerManagementEnabled", $this->_propDict)) { + return $this->_propDict["isGroupOwnerManagementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isGroupOwnerManagementEnabled + * If true, group owners can create and manage access reviews on groups they own. + * + * @param bool $val The isGroupOwnerManagementEnabled + * + * @return AccessReviewPolicy + */ + public function setIsGroupOwnerManagementEnabled($val) + { + $this->_propDict["isGroupOwnerManagementEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewQueryScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewQueryScope.php new file mode 100644 index 0000000..cfd3968 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewQueryScope.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * The query representing what will be reviewed in an access review. + * + * @param string $val The value of the query + * + * @return AccessReviewQueryScope + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + /** + * Gets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query is specified. For example, ./manager. + * + * @return string|null The queryRoot + */ + public function getQueryRoot() + { + if (array_key_exists("queryRoot", $this->_propDict)) { + return $this->_propDict["queryRoot"]; + } else { + return null; + } + } + + /** + * Sets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query is specified. For example, ./manager. + * + * @param string $val The value of the queryRoot + * + * @return AccessReviewQueryScope + */ + public function setQueryRoot($val) + { + $this->_propDict["queryRoot"] = $val; + return $this; + } + /** + * Gets the queryType + * Indicates the type of query. Types include MicrosoftGraph and ARM. + * + * @return string|null The queryType + */ + public function getQueryType() + { + if (array_key_exists("queryType", $this->_propDict)) { + return $this->_propDict["queryType"]; + } else { + return null; + } + } + + /** + * Sets the queryType + * Indicates the type of query. Types include MicrosoftGraph and ARM. + * + * @param string $val The value of the queryType + * + * @return AccessReviewQueryScope + */ + public function setQueryType($val) + { + $this->_propDict["queryType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewRecommendationInsightSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewRecommendationInsightSetting.php new file mode 100644 index 0000000..d5c84a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewRecommendationInsightSetting.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["durationInDays"]; + } else { + return null; + } + } + + /** + * Sets the durationInDays + * The duration in days for recurrence. + * + * @param int $val The value of the durationInDays + * + * @return AccessReviewRecurrenceSettings + */ + public function setDurationInDays($val) + { + $this->_propDict["durationInDays"] = $val; + return $this; + } + /** + * Gets the recurrenceCount + * The count of recurrences, if the value of recurrenceEndType is occurrences, or 0 otherwise. + * + * @return int|null The recurrenceCount + */ + public function getRecurrenceCount() + { + if (array_key_exists("recurrenceCount", $this->_propDict)) { + return $this->_propDict["recurrenceCount"]; + } else { + return null; + } + } + + /** + * Sets the recurrenceCount + * The count of recurrences, if the value of recurrenceEndType is occurrences, or 0 otherwise. + * + * @param int $val The value of the recurrenceCount + * + * @return AccessReviewRecurrenceSettings + */ + public function setRecurrenceCount($val) + { + $this->_propDict["recurrenceCount"] = $val; + return $this; + } + /** + * Gets the recurrenceEndType + * How the recurrence ends. Possible values: never, endBy, occurrences, or recurrenceCount. If it is never, then there is no explicit end of the recurrence series. If it is endBy, then the recurrence ends at a certain date. If it is occurrences, then the series ends after recurrenceCount instances of the review have completed. + * + * @return string|null The recurrenceEndType + */ + public function getRecurrenceEndType() + { + if (array_key_exists("recurrenceEndType", $this->_propDict)) { + return $this->_propDict["recurrenceEndType"]; + } else { + return null; + } + } + + /** + * Sets the recurrenceEndType + * How the recurrence ends. Possible values: never, endBy, occurrences, or recurrenceCount. If it is never, then there is no explicit end of the recurrence series. If it is endBy, then the recurrence ends at a certain date. If it is occurrences, then the series ends after recurrenceCount instances of the review have completed. + * + * @param string $val The value of the recurrenceEndType + * + * @return AccessReviewRecurrenceSettings + */ + public function setRecurrenceEndType($val) + { + $this->_propDict["recurrenceEndType"] = $val; + return $this; + } + /** + * Gets the recurrenceType + * The recurrence interval. Possible vaules: onetime, weekly, monthly, quarterly, halfyearly or annual. + * + * @return string|null The recurrenceType + */ + public function getRecurrenceType() + { + if (array_key_exists("recurrenceType", $this->_propDict)) { + return $this->_propDict["recurrenceType"]; + } else { + return null; + } + } + + /** + * Sets the recurrenceType + * The recurrence interval. Possible vaules: onetime, weekly, monthly, quarterly, halfyearly or annual. + * + * @param string $val The value of the recurrenceType + * + * @return AccessReviewRecurrenceSettings + */ + public function setRecurrenceType($val) + { + $this->_propDict["recurrenceType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewer.php new file mode 100644 index 0000000..161cedb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewer.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date when the reviewer was added for the access review. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessReviewReviewer + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of reviewer. + * + * @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 + * Name of reviewer. + * + * @param string $val The displayName + * + * @return AccessReviewReviewer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User principal name of the user. + * + * @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 + * User principal name of the user. + * + * @param string $val The userPrincipalName + * + * @return AccessReviewReviewer + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewerScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewerScope.php new file mode 100644 index 0000000..8dedf21 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewerScope.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * The query specifying who will be the reviewer. See table for examples. + * + * @param string $val The value of the query + * + * @return AccessReviewReviewerScope + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + /** + * Gets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions. + * + * @return string|null The queryRoot + */ + public function getQueryRoot() + { + if (array_key_exists("queryRoot", $this->_propDict)) { + return $this->_propDict["queryRoot"]; + } else { + return null; + } + } + + /** + * Sets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions. + * + * @param string $val The value of the queryRoot + * + * @return AccessReviewReviewerScope + */ + public function setQueryRoot($val) + { + $this->_propDict["queryRoot"] = $val; + return $this; + } + /** + * Gets the queryType + * The type of query. Examples include MicrosoftGraph and ARM. + * + * @return string|null The queryType + */ + public function getQueryType() + { + if (array_key_exists("queryType", $this->_propDict)) { + return $this->_propDict["queryType"]; + } else { + return null; + } + } + + /** + * Sets the queryType + * The type of query. Examples include MicrosoftGraph and ARM. + * + * @param string $val The value of the queryType + * + * @return AccessReviewReviewerScope + */ + public function setQueryType($val) + { + $this->_propDict["queryType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinition.php new file mode 100644 index 0000000..9d38004 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinition.php @@ -0,0 +1,519 @@ +_propDict)) { + return $this->_propDict["additionalNotificationRecipients"]; + } else { + return null; + } + } + + /** + * Sets the additionalNotificationRecipients + * Defines the list of additional users or group members to be notified of the access review progress. + * + * @param AccessReviewNotificationRecipientItem[] $val The additionalNotificationRecipients + * + * @return AccessReviewScheduleDefinition + */ + public function setAdditionalNotificationRecipients($val) + { + $this->_propDict["additionalNotificationRecipients"] = $val; + return $this; + } + + + /** + * Gets the backupReviewers + * + * @return array|null The backupReviewers + */ + public function getBackupReviewers() + { + if (array_key_exists("backupReviewers", $this->_propDict)) { + return $this->_propDict["backupReviewers"]; + } else { + return null; + } + } + + /** + * Sets the backupReviewers + * + * @param AccessReviewReviewerScope[] $val The backupReviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setBackupReviewers($val) + { + $this->_propDict["backupReviewers"] = $val; + return $this; + } + + /** + * Gets the createdBy + * User who created this review. Read-only. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * User who created this review. Read-only. + * + * @param UserIdentity $val The createdBy + * + * @return AccessReviewScheduleDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp when the access review series was created. Supports $select. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp when the access review series was created. Supports $select. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessReviewScheduleDefinition + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the descriptionForAdmins + * Description provided by review creators to provide more context of the review to admins. Supports $select. + * + * @return string|null The descriptionForAdmins + */ + public function getDescriptionForAdmins() + { + if (array_key_exists("descriptionForAdmins", $this->_propDict)) { + return $this->_propDict["descriptionForAdmins"]; + } else { + return null; + } + } + + /** + * Sets the descriptionForAdmins + * Description provided by review creators to provide more context of the review to admins. Supports $select. + * + * @param string $val The descriptionForAdmins + * + * @return AccessReviewScheduleDefinition + */ + public function setDescriptionForAdmins($val) + { + $this->_propDict["descriptionForAdmins"] = $val; + return $this; + } + + /** + * Gets the descriptionForReviewers + * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review. Email notifications support up to 256 characters. Supports $select. + * + * @return string|null The descriptionForReviewers + */ + public function getDescriptionForReviewers() + { + if (array_key_exists("descriptionForReviewers", $this->_propDict)) { + return $this->_propDict["descriptionForReviewers"]; + } else { + return null; + } + } + + /** + * Sets the descriptionForReviewers + * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review. Email notifications support up to 256 characters. Supports $select. + * + * @param string $val The descriptionForReviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setDescriptionForReviewers($val) + { + $this->_propDict["descriptionForReviewers"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the access review series. Supports $select and $orderBy. Required on create. + * + * @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 + * Name of the access review series. Supports $select and $orderBy. Required on create. + * + * @param string $val The displayName + * + * @return AccessReviewScheduleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. NOTE: The value of this property will be ignored if fallback reviewers are assigned through the stageSettings property. + * + * @return array|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + return $this->_propDict["fallbackReviewers"]; + } else { + return null; + } + } + + /** + * Sets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. NOTE: The value of this property will be ignored if fallback reviewers are assigned through the stageSettings property. + * + * @param AccessReviewReviewerScope[] $val The fallbackReviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + + /** + * Gets the instanceEnumerationScope + * This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @return AccessReviewScope|null The instanceEnumerationScope + */ + public function getInstanceEnumerationScope() + { + if (array_key_exists("instanceEnumerationScope", $this->_propDict)) { + if (is_a($this->_propDict["instanceEnumerationScope"], "\Beta\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["instanceEnumerationScope"])) { + return $this->_propDict["instanceEnumerationScope"]; + } else { + $this->_propDict["instanceEnumerationScope"] = new AccessReviewScope($this->_propDict["instanceEnumerationScope"]); + return $this->_propDict["instanceEnumerationScope"]; + } + } + return null; + } + + /** + * Sets the instanceEnumerationScope + * This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @param AccessReviewScope $val The instanceEnumerationScope + * + * @return AccessReviewScheduleDefinition + */ + public function setInstanceEnumerationScope($val) + { + $this->_propDict["instanceEnumerationScope"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Timestamp when the access review series was last modified. Supports $select. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Timestamp when the access review series was last modified. Supports $select. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AccessReviewScheduleDefinition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the reviewers + * This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will be ignored if reviewers are assigned through the stageSettings property. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will be ignored if reviewers are assigned through the stageSettings property. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the scope + * Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @return AccessReviewScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new AccessReviewScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @param AccessReviewScope $val The scope + * + * @return AccessReviewScheduleDefinition + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings for an access review series, see type definition below. Supports $select. Required on create. + * + * @return AccessReviewScheduleSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AccessReviewScheduleSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new AccessReviewScheduleSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings for an access review series, see type definition below. Supports $select. Required on create. + * + * @param AccessReviewScheduleSettings $val The settings + * + * @return AccessReviewScheduleDefinition + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the stageSettings + * Required only for a multi-stage access review to define the stages and their settings. You can break down each review instance into up to three sequential stages, where each stage can have a different set of reviewers, fallback reviewers, and settings. Stages will be created sequentially based on the dependsOn property. Optional. When this property is defined, its settings are used instead of the corresponding settings in the accessReviewScheduleDefinition object and its settings, reviewers, and fallbackReviewers properties. + * + * @return array|null The stageSettings + */ + public function getStageSettings() + { + if (array_key_exists("stageSettings", $this->_propDict)) { + return $this->_propDict["stageSettings"]; + } else { + return null; + } + } + + /** + * Sets the stageSettings + * Required only for a multi-stage access review to define the stages and their settings. You can break down each review instance into up to three sequential stages, where each stage can have a different set of reviewers, fallback reviewers, and settings. Stages will be created sequentially based on the dependsOn property. Optional. When this property is defined, its settings are used instead of the corresponding settings in the accessReviewScheduleDefinition object and its settings, reviewers, and fallbackReviewers properties. + * + * @param AccessReviewStageSettings[] $val The stageSettings + * + * @return AccessReviewScheduleDefinition + */ + public function setStageSettings($val) + { + $this->_propDict["stageSettings"] = $val; + return $this; + } + + /** + * Gets the status + * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The status + * + * @return AccessReviewScheduleDefinition + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the instances + * Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there is an instance for each recurrence. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there is an instance for each recurrence. + * + * @param AccessReviewInstance[] $val The instances + * + * @return AccessReviewScheduleDefinition + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinitionFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinitionFilterByCurrentUserOptions.php new file mode 100644 index 0000000..025e9df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinitionFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["applyActions"], "\Beta\Microsoft\Graph\Model\AccessReviewApplyAction") || is_null($this->_propDict["applyActions"])) { + return $this->_propDict["applyActions"]; + } else { + $this->_propDict["applyActions"] = new AccessReviewApplyAction($this->_propDict["applyActions"]); + return $this->_propDict["applyActions"]; + } + } + return null; + } + + /** + * Sets the applyActions + * Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction. + * + * @param AccessReviewApplyAction $val The value to assign to the applyActions + * + * @return AccessReviewScheduleSettings The AccessReviewScheduleSettings + */ + public function setApplyActions($val) + { + $this->_propDict["applyActions"] = $val; + return $this; + } + /** + * 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. + * + * @return bool|null The autoApplyDecisionsEnabled + */ + public function getAutoApplyDecisionsEnabled() + { + if (array_key_exists("autoApplyDecisionsEnabled", $this->_propDict)) { + return $this->_propDict["autoApplyDecisionsEnabled"]; + } else { + return null; + } + } + + /** + * 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. + * + * @param bool $val The value of the autoApplyDecisionsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setAutoApplyDecisionsEnabled($val) + { + $this->_propDict["autoApplyDecisionsEnabled"] = $val; + return $this; + } + /** + * Gets the decisionHistoriesForReviewersEnabled + * Indicates whether decisions on previous access review stages are available for reviewers on an accessReviewInstance with multiple subsequent stages. If not provided, the default is disabled (false). + * + * @return bool|null The decisionHistoriesForReviewersEnabled + */ + public function getDecisionHistoriesForReviewersEnabled() + { + if (array_key_exists("decisionHistoriesForReviewersEnabled", $this->_propDict)) { + return $this->_propDict["decisionHistoriesForReviewersEnabled"]; + } else { + return null; + } + } + + /** + * Sets the decisionHistoriesForReviewersEnabled + * Indicates whether decisions on previous access review stages are available for reviewers on an accessReviewInstance with multiple subsequent stages. If not provided, the default is disabled (false). + * + * @param bool $val The value of the decisionHistoriesForReviewersEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setDecisionHistoriesForReviewersEnabled($val) + { + $this->_propDict["decisionHistoriesForReviewersEnabled"] = $val; + return $this; + } + /** + * Gets the defaultDecision + * Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation. + * + * @return string|null The defaultDecision + */ + public function getDefaultDecision() + { + if (array_key_exists("defaultDecision", $this->_propDict)) { + return $this->_propDict["defaultDecision"]; + } else { + return null; + } + } + + /** + * Sets the defaultDecision + * Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation. + * + * @param string $val The value of the defaultDecision + * + * @return AccessReviewScheduleSettings + */ + public function setDefaultDecision($val) + { + $this->_propDict["defaultDecision"] = $val; + return $this; + } + /** + * Gets the defaultDecisionEnabled + * Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + * + * @return bool|null The defaultDecisionEnabled + */ + public function getDefaultDecisionEnabled() + { + if (array_key_exists("defaultDecisionEnabled", $this->_propDict)) { + return $this->_propDict["defaultDecisionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the defaultDecisionEnabled + * Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + * + * @param bool $val The value of the defaultDecisionEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setDefaultDecisionEnabled($val) + { + $this->_propDict["defaultDecisionEnabled"] = $val; + return $this; + } + /** + * Gets the instanceDurationInDays + * Duration of each recurrence of review (accessReviewInstance) in number of days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property. + * + * @return int|null The instanceDurationInDays + */ + public function getInstanceDurationInDays() + { + if (array_key_exists("instanceDurationInDays", $this->_propDict)) { + return $this->_propDict["instanceDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the instanceDurationInDays + * Duration of each recurrence of review (accessReviewInstance) in number of days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property. + * + * @param int $val The value of the instanceDurationInDays + * + * @return AccessReviewScheduleSettings + */ + public function setInstanceDurationInDays($val) + { + $this->_propDict["instanceDurationInDays"] = $val; + return $this; + } + /** + * Gets the justificationRequiredOnApproval + * Indicates whether reviewers are required to provide justification with their decision. Default value is false. + * + * @return bool|null The justificationRequiredOnApproval + */ + public function getJustificationRequiredOnApproval() + { + if (array_key_exists("justificationRequiredOnApproval", $this->_propDict)) { + return $this->_propDict["justificationRequiredOnApproval"]; + } else { + return null; + } + } + + /** + * Sets the justificationRequiredOnApproval + * Indicates whether reviewers are required to provide justification with their decision. Default value is false. + * + * @param bool $val The value of the justificationRequiredOnApproval + * + * @return AccessReviewScheduleSettings + */ + public function setJustificationRequiredOnApproval($val) + { + $this->_propDict["justificationRequiredOnApproval"] = $val; + return $this; + } + /** + * Gets the mailNotificationsEnabled + * Indicates whether emails are enabled or disabled. Default value is false. + * + * @return bool|null The mailNotificationsEnabled + */ + public function getMailNotificationsEnabled() + { + if (array_key_exists("mailNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["mailNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mailNotificationsEnabled + * Indicates whether emails are enabled or disabled. Default value is false. + * + * @param bool $val The value of the mailNotificationsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setMailNotificationsEnabled($val) + { + $this->_propDict["mailNotificationsEnabled"] = $val; + return $this; + } + + /** + * Gets the recommendationInsightSettings + * Optional. Describes the types of insights that aid reviewers to make access review decisions. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationInsightSettings setting will be used instead of the value of this property. + * + * @return AccessReviewRecommendationInsightSetting|null The recommendationInsightSettings + */ + public function getRecommendationInsightSettings() + { + if (array_key_exists("recommendationInsightSettings", $this->_propDict)) { + if (is_a($this->_propDict["recommendationInsightSettings"], "\Beta\Microsoft\Graph\Model\AccessReviewRecommendationInsightSetting") || is_null($this->_propDict["recommendationInsightSettings"])) { + return $this->_propDict["recommendationInsightSettings"]; + } else { + $this->_propDict["recommendationInsightSettings"] = new AccessReviewRecommendationInsightSetting($this->_propDict["recommendationInsightSettings"]); + return $this->_propDict["recommendationInsightSettings"]; + } + } + return null; + } + + /** + * Sets the recommendationInsightSettings + * Optional. Describes the types of insights that aid reviewers to make access review decisions. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationInsightSettings setting will be used instead of the value of this property. + * + * @param AccessReviewRecommendationInsightSetting $val The value to assign to the recommendationInsightSettings + * + * @return AccessReviewScheduleSettings The AccessReviewScheduleSettings + */ + public function setRecommendationInsightSettings($val) + { + $this->_propDict["recommendationInsightSettings"] = $val; + return $this; + } + + /** + * Gets the recommendationLookBackDuration + * Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property. + * + * @return \DateInterval|null The recommendationLookBackDuration + */ + public function getRecommendationLookBackDuration() + { + if (array_key_exists("recommendationLookBackDuration", $this->_propDict)) { + if (is_a($this->_propDict["recommendationLookBackDuration"], "\DateInterval") || is_null($this->_propDict["recommendationLookBackDuration"])) { + return $this->_propDict["recommendationLookBackDuration"]; + } else { + $this->_propDict["recommendationLookBackDuration"] = new \DateInterval($this->_propDict["recommendationLookBackDuration"]); + return $this->_propDict["recommendationLookBackDuration"]; + } + } + return null; + } + + /** + * Sets the recommendationLookBackDuration + * Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property. + * + * @param \DateInterval $val The value to assign to the recommendationLookBackDuration + * + * @return AccessReviewScheduleSettings The AccessReviewScheduleSettings + */ + public function setRecommendationLookBackDuration($val) + { + $this->_propDict["recommendationLookBackDuration"] = $val; + return $this; + } + /** + * Gets the recommendationsEnabled + * Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property. + * + * @return bool|null The recommendationsEnabled + */ + public function getRecommendationsEnabled() + { + if (array_key_exists("recommendationsEnabled", $this->_propDict)) { + return $this->_propDict["recommendationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the recommendationsEnabled + * Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property. + * + * @param bool $val The value of the recommendationsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setRecommendationsEnabled($val) + { + $this->_propDict["recommendationsEnabled"] = $val; + return $this; + } + + /** + * Gets the recurrence + * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return AccessReviewScheduleSettings The AccessReviewScheduleSettings + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + /** + * Gets the reminderNotificationsEnabled + * Indicates whether reminders are enabled or disabled. Default value is false. + * + * @return bool|null The reminderNotificationsEnabled + */ + public function getReminderNotificationsEnabled() + { + if (array_key_exists("reminderNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["reminderNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the reminderNotificationsEnabled + * Indicates whether reminders are enabled or disabled. Default value is false. + * + * @param bool $val The value of the reminderNotificationsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setReminderNotificationsEnabled($val) + { + $this->_propDict["reminderNotificationsEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScope.php new file mode 100644 index 0000000..41f9141 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScope.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * Represents an Azure AD access review decision on an instance of a review. + * + * @param AccessReviewInstanceDecisionItem[] $val The decisions + * + * @return AccessReviewSet + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + + + /** + * Gets the definitions + * Represents the template and scheduling for an access review. + * + * @return array|null The definitions + */ + public function getDefinitions() + { + if (array_key_exists("definitions", $this->_propDict)) { + return $this->_propDict["definitions"]; + } else { + return null; + } + } + + /** + * Sets the definitions + * Represents the template and scheduling for an access review. + * + * @param AccessReviewScheduleDefinition[] $val The definitions + * + * @return AccessReviewSet + */ + public function setDefinitions($val) + { + $this->_propDict["definitions"] = $val; + return $this; + } + + + /** + * Gets the historyDefinitions + * Represents a collection of access review history data and the scopes used to collect that data. + * + * @return array|null The historyDefinitions + */ + public function getHistoryDefinitions() + { + if (array_key_exists("historyDefinitions", $this->_propDict)) { + return $this->_propDict["historyDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the historyDefinitions + * Represents a collection of access review history data and the scopes used to collect that data. + * + * @param AccessReviewHistoryDefinition[] $val The historyDefinitions + * + * @return AccessReviewSet + */ + public function setHistoryDefinitions($val) + { + $this->_propDict["historyDefinitions"] = $val; + return $this; + } + + /** + * Gets the policy + * Resource that enables administrators to manage directory-level access review policies in their tenant. + * + * @return AccessReviewPolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\AccessReviewPolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new AccessReviewPolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * Resource that enables administrators to manage directory-level access review policies in their tenant. + * + * @param AccessReviewPolicy $val The policy + * + * @return AccessReviewSet + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewSettings.php new file mode 100644 index 0000000..804ad9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewSettings.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["accessRecommendationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accessRecommendationsEnabled + * Indicates whether showing recommendations to reviewers is enabled. + * + * @param bool $val The value of the accessRecommendationsEnabled + * + * @return AccessReviewSettings + */ + public function setAccessRecommendationsEnabled($val) + { + $this->_propDict["accessRecommendationsEnabled"] = $val; + return $this; + } + /** + * Gets the activityDurationInDays + * The number of days of user activities to show to reviewers. + * + * @return int|null The activityDurationInDays + */ + public function getActivityDurationInDays() + { + if (array_key_exists("activityDurationInDays", $this->_propDict)) { + return $this->_propDict["activityDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the activityDurationInDays + * The number of days of user activities to show to reviewers. + * + * @param int $val The value of the activityDurationInDays + * + * @return AccessReviewSettings + */ + public function setActivityDurationInDays($val) + { + $this->_propDict["activityDurationInDays"] = $val; + return $this; + } + /** + * Gets the autoApplyReviewResultsEnabled + * Indicates whether the auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review. + * + * @return bool|null The autoApplyReviewResultsEnabled + */ + public function getAutoApplyReviewResultsEnabled() + { + if (array_key_exists("autoApplyReviewResultsEnabled", $this->_propDict)) { + return $this->_propDict["autoApplyReviewResultsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the autoApplyReviewResultsEnabled + * Indicates whether the auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review. + * + * @param bool $val The value of the autoApplyReviewResultsEnabled + * + * @return AccessReviewSettings + */ + public function setAutoApplyReviewResultsEnabled($val) + { + $this->_propDict["autoApplyReviewResultsEnabled"] = $val; + return $this; + } + /** + * Gets the autoReviewEnabled + * Indicates whether a decision should be set if the reviewer did not supply one. For use when auto-apply is enabled. If you don't want to have a review decision recorded unless the reviewer makes an explicit choice, set it to false. + * + * @return bool|null The autoReviewEnabled + */ + public function getAutoReviewEnabled() + { + if (array_key_exists("autoReviewEnabled", $this->_propDict)) { + return $this->_propDict["autoReviewEnabled"]; + } else { + return null; + } + } + + /** + * Sets the autoReviewEnabled + * Indicates whether a decision should be set if the reviewer did not supply one. For use when auto-apply is enabled. If you don't want to have a review decision recorded unless the reviewer makes an explicit choice, set it to false. + * + * @param bool $val The value of the autoReviewEnabled + * + * @return AccessReviewSettings + */ + public function setAutoReviewEnabled($val) + { + $this->_propDict["autoReviewEnabled"] = $val; + return $this; + } + + /** + * Gets the autoReviewSettings + * Detailed settings for how the feature should set the review decision. For use when auto-apply is enabled. + * + * @return AutoReviewSettings|null The autoReviewSettings + */ + public function getAutoReviewSettings() + { + if (array_key_exists("autoReviewSettings", $this->_propDict)) { + if (is_a($this->_propDict["autoReviewSettings"], "\Beta\Microsoft\Graph\Model\AutoReviewSettings") || is_null($this->_propDict["autoReviewSettings"])) { + return $this->_propDict["autoReviewSettings"]; + } else { + $this->_propDict["autoReviewSettings"] = new AutoReviewSettings($this->_propDict["autoReviewSettings"]); + return $this->_propDict["autoReviewSettings"]; + } + } + return null; + } + + /** + * Sets the autoReviewSettings + * Detailed settings for how the feature should set the review decision. For use when auto-apply is enabled. + * + * @param AutoReviewSettings $val The value to assign to the autoReviewSettings + * + * @return AccessReviewSettings The AccessReviewSettings + */ + public function setAutoReviewSettings($val) + { + $this->_propDict["autoReviewSettings"] = $val; + return $this; + } + /** + * Gets the justificationRequiredOnApproval + * Indicates whether reviewers are required to provide a justification when reviewing access. + * + * @return bool|null The justificationRequiredOnApproval + */ + public function getJustificationRequiredOnApproval() + { + if (array_key_exists("justificationRequiredOnApproval", $this->_propDict)) { + return $this->_propDict["justificationRequiredOnApproval"]; + } else { + return null; + } + } + + /** + * Sets the justificationRequiredOnApproval + * Indicates whether reviewers are required to provide a justification when reviewing access. + * + * @param bool $val The value of the justificationRequiredOnApproval + * + * @return AccessReviewSettings + */ + public function setJustificationRequiredOnApproval($val) + { + $this->_propDict["justificationRequiredOnApproval"] = $val; + return $this; + } + /** + * Gets the mailNotificationsEnabled + * Indicates whether sending mails to reviewers and the review creator is enabled. + * + * @return bool|null The mailNotificationsEnabled + */ + public function getMailNotificationsEnabled() + { + if (array_key_exists("mailNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["mailNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mailNotificationsEnabled + * Indicates whether sending mails to reviewers and the review creator is enabled. + * + * @param bool $val The value of the mailNotificationsEnabled + * + * @return AccessReviewSettings + */ + public function setMailNotificationsEnabled($val) + { + $this->_propDict["mailNotificationsEnabled"] = $val; + return $this; + } + + /** + * Gets the recurrenceSettings + * Detailed settings for recurrence. + * + * @return AccessReviewRecurrenceSettings|null The recurrenceSettings + */ + public function getRecurrenceSettings() + { + if (array_key_exists("recurrenceSettings", $this->_propDict)) { + if (is_a($this->_propDict["recurrenceSettings"], "\Beta\Microsoft\Graph\Model\AccessReviewRecurrenceSettings") || is_null($this->_propDict["recurrenceSettings"])) { + return $this->_propDict["recurrenceSettings"]; + } else { + $this->_propDict["recurrenceSettings"] = new AccessReviewRecurrenceSettings($this->_propDict["recurrenceSettings"]); + return $this->_propDict["recurrenceSettings"]; + } + } + return null; + } + + /** + * Sets the recurrenceSettings + * Detailed settings for recurrence. + * + * @param AccessReviewRecurrenceSettings $val The value to assign to the recurrenceSettings + * + * @return AccessReviewSettings The AccessReviewSettings + */ + public function setRecurrenceSettings($val) + { + $this->_propDict["recurrenceSettings"] = $val; + return $this; + } + /** + * Gets the remindersEnabled + * Indicates whether sending reminder emails to reviewers is enabled. + * + * @return bool|null The remindersEnabled + */ + public function getRemindersEnabled() + { + if (array_key_exists("remindersEnabled", $this->_propDict)) { + return $this->_propDict["remindersEnabled"]; + } else { + return null; + } + } + + /** + * Sets the remindersEnabled + * Indicates whether sending reminder emails to reviewers is enabled. + * + * @param bool $val The value of the remindersEnabled + * + * @return AccessReviewSettings + */ + public function setRemindersEnabled($val) + { + $this->_propDict["remindersEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewStage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewStage.php new file mode 100644 index 0000000..c684ed7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewStage.php @@ -0,0 +1,212 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * DateTime when review stage is scheduled to end. The DatetimeOffset 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. This property is the cumulative total of the durationInDays for all stages. Read-only. + * + * @param \DateTime $val The endDateTime + * + * @return AccessReviewStage + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + + /** + * Gets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. + * + * @return array|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + return $this->_propDict["fallbackReviewers"]; + } else { + return null; + } + } + + /** + * Sets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. + * + * @param AccessReviewReviewerScope[] $val The fallbackReviewers + * + * @return AccessReviewStage + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + + + /** + * Gets the reviewers + * This collection of access review scopes is used to define who the reviewers are. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * This collection of access review scopes is used to define who the reviewers are. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AccessReviewStage + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * DateTime when review stage is scheduled to start. May be in the future. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * DateTime when review stage is scheduled to start. May be in the future. The DateTimeOffset 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 startDateTime + * + * @return AccessReviewStage + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Specifies the status of an accessReviewStage. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $orderby, and $filter (eq only). Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Specifies the status of an accessReviewStage. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $orderby, and $filter (eq only). Read-only. + * + * @param string $val The status + * + * @return AccessReviewStage + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the decisions + * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * + * @return array|null The decisions + */ + public function getDecisions() + { + if (array_key_exists("decisions", $this->_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. + * + * @param AccessReviewInstanceDecisionItem[] $val The decisions + * + * @return AccessReviewStage + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewStageFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewStageFilterByCurrentUserOptions.php new file mode 100644 index 0000000..c9977bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewStageFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["decisionsThatWillMoveToNextStage"]; + } else { + return null; + } + } + + /** + * Sets the decisionsThatWillMoveToNextStage + * Indicate which decisions will go to the next stage. Can be a sub-set of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. + * + * @param string $val The value of the decisionsThatWillMoveToNextStage + * + * @return AccessReviewStageSettings + */ + public function setDecisionsThatWillMoveToNextStage($val) + { + $this->_propDict["decisionsThatWillMoveToNextStage"] = $val; + return $this; + } + /** + * Gets the dependsOn + * Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, do not specify dependsOn. Required if stageId is not 1. + * + * @return string|null The dependsOn + */ + public function getDependsOn() + { + if (array_key_exists("dependsOn", $this->_propDict)) { + return $this->_propDict["dependsOn"]; + } else { + return null; + } + } + + /** + * Sets the dependsOn + * Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, do not specify dependsOn. Required if stageId is not 1. + * + * @param string $val The value of the dependsOn + * + * @return AccessReviewStageSettings + */ + public function setDependsOn($val) + { + $this->_propDict["dependsOn"] = $val; + return $this; + } + /** + * Gets the durationInDays + * The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Cannot exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays cannot exceed 7. + * + * @return int|null The durationInDays + */ + public function getDurationInDays() + { + if (array_key_exists("durationInDays", $this->_propDict)) { + return $this->_propDict["durationInDays"]; + } else { + return null; + } + } + + /** + * Sets the durationInDays + * The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Cannot exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays cannot exceed 7. + * + * @param int $val The value of the durationInDays + * + * @return AccessReviewStageSettings + */ + public function setDurationInDays($val) + { + $this->_propDict["durationInDays"] = $val; + return $this; + } + + /** + * Gets the fallbackReviewers + * If provided, the fallback reviewers are asked to complete a review if the primary reviewers do not exist. For example, if managers are selected as reviewers and a principal under review does not have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. + * + * @return AccessReviewReviewerScope|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + if (is_a($this->_propDict["fallbackReviewers"], "\Beta\Microsoft\Graph\Model\AccessReviewReviewerScope") || is_null($this->_propDict["fallbackReviewers"])) { + return $this->_propDict["fallbackReviewers"]; + } else { + $this->_propDict["fallbackReviewers"] = new AccessReviewReviewerScope($this->_propDict["fallbackReviewers"]); + return $this->_propDict["fallbackReviewers"]; + } + } + return null; + } + + /** + * Sets the fallbackReviewers + * If provided, the fallback reviewers are asked to complete a review if the primary reviewers do not exist. For example, if managers are selected as reviewers and a principal under review does not have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. + * + * @param AccessReviewReviewerScope $val The value to assign to the fallbackReviewers + * + * @return AccessReviewStageSettings The AccessReviewStageSettings + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + + /** + * Gets the recommendationInsightSettings + * + * @return AccessReviewRecommendationInsightSetting|null The recommendationInsightSettings + */ + public function getRecommendationInsightSettings() + { + if (array_key_exists("recommendationInsightSettings", $this->_propDict)) { + if (is_a($this->_propDict["recommendationInsightSettings"], "\Beta\Microsoft\Graph\Model\AccessReviewRecommendationInsightSetting") || is_null($this->_propDict["recommendationInsightSettings"])) { + return $this->_propDict["recommendationInsightSettings"]; + } else { + $this->_propDict["recommendationInsightSettings"] = new AccessReviewRecommendationInsightSetting($this->_propDict["recommendationInsightSettings"]); + return $this->_propDict["recommendationInsightSettings"]; + } + } + return null; + } + + /** + * Sets the recommendationInsightSettings + * + * @param AccessReviewRecommendationInsightSetting $val The value to assign to the recommendationInsightSettings + * + * @return AccessReviewStageSettings The AccessReviewStageSettings + */ + public function setRecommendationInsightSettings($val) + { + $this->_propDict["recommendationInsightSettings"] = $val; + return $this; + } + + /** + * Gets the recommendationLookBackDuration + * Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. + * + * @return \DateInterval|null The recommendationLookBackDuration + */ + public function getRecommendationLookBackDuration() + { + if (array_key_exists("recommendationLookBackDuration", $this->_propDict)) { + if (is_a($this->_propDict["recommendationLookBackDuration"], "\DateInterval") || is_null($this->_propDict["recommendationLookBackDuration"])) { + return $this->_propDict["recommendationLookBackDuration"]; + } else { + $this->_propDict["recommendationLookBackDuration"] = new \DateInterval($this->_propDict["recommendationLookBackDuration"]); + return $this->_propDict["recommendationLookBackDuration"]; + } + } + return null; + } + + /** + * Sets the recommendationLookBackDuration + * Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. + * + * @param \DateInterval $val The value to assign to the recommendationLookBackDuration + * + * @return AccessReviewStageSettings The AccessReviewStageSettings + */ + public function setRecommendationLookBackDuration($val) + { + $this->_propDict["recommendationLookBackDuration"] = $val; + return $this; + } + /** + * Gets the recommendationsEnabled + * Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object. + * + * @return bool|null The recommendationsEnabled + */ + public function getRecommendationsEnabled() + { + if (array_key_exists("recommendationsEnabled", $this->_propDict)) { + return $this->_propDict["recommendationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the recommendationsEnabled + * Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object. + * + * @param bool $val The value of the recommendationsEnabled + * + * @return AccessReviewStageSettings + */ + public function setRecommendationsEnabled($val) + { + $this->_propDict["recommendationsEnabled"] = $val; + return $this; + } + + /** + * Gets the reviewers + * Defines who the reviewers are. If none are specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition. + * + * @return AccessReviewReviewerScope|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + if (is_a($this->_propDict["reviewers"], "\Beta\Microsoft\Graph\Model\AccessReviewReviewerScope") || is_null($this->_propDict["reviewers"])) { + return $this->_propDict["reviewers"]; + } else { + $this->_propDict["reviewers"] = new AccessReviewReviewerScope($this->_propDict["reviewers"]); + return $this->_propDict["reviewers"]; + } + } + return null; + } + + /** + * Sets the reviewers + * Defines who the reviewers are. If none are specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition. + * + * @param AccessReviewReviewerScope $val The value to assign to the reviewers + * + * @return AccessReviewStageSettings The AccessReviewStageSettings + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + /** + * Gets the stageId + * Unique identifier of the accessReviewStageSettings. The stageId will be used in dependsOn property to indicate the stage relationship. Required. + * + * @return string|null The stageId + */ + public function getStageId() + { + if (array_key_exists("stageId", $this->_propDict)) { + return $this->_propDict["stageId"]; + } else { + return null; + } + } + + /** + * Sets the stageId + * Unique identifier of the accessReviewStageSettings. The stageId will be used in dependsOn property to indicate the stage relationship. Required. + * + * @param string $val The value of the stageId + * + * @return AccessReviewStageSettings + */ + public function setStageId($val) + { + $this->_propDict["stageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewTimeoutBehavior.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewTimeoutBehavior.php new file mode 100644 index 0000000..377fc8d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewTimeoutBehavior.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["blocked"]; + } else { + return null; + } + } + + /** + * Sets the blocked + * + * @param bool $val The blocked + * + * @return Account + */ + public function setBlocked($val) + { + $this->_propDict["blocked"] = boolval($val); + return $this; + } + + /** + * Gets the category + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * + * @param string $val The category + * + * @return Account + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Account + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Account + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return Account + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the subCategory + * + * @return string|null The subCategory + */ + public function getSubCategory() + { + if (array_key_exists("subCategory", $this->_propDict)) { + return $this->_propDict["subCategory"]; + } else { + return null; + } + } + + /** + * Sets the subCategory + * + * @param string $val The subCategory + * + * @return Account + */ + public function setSubCategory($val) + { + $this->_propDict["subCategory"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountAlias.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountAlias.php new file mode 100644 index 0000000..3f83fc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountAlias.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return AccountAlias + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the idType + * + * @return string|null The idType + */ + public function getIdType() + { + if (array_key_exists("idType", $this->_propDict)) { + return $this->_propDict["idType"]; + } else { + return null; + } + } + + /** + * Sets the idType + * + * @param string $val The value of the idType + * + * @return AccountAlias + */ + public function setIdType($val) + { + $this->_propDict["idType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountStatus.php new file mode 100644 index 0000000..f7df483 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\AccessType") || is_null($this->_propDict["accessType"])) { + return $this->_propDict["accessType"]; + } else { + $this->_propDict["accessType"] = new AccessType($this->_propDict["accessType"]); + return $this->_propDict["accessType"]; + } + } + return null; + } + + /** + * Sets the accessType + * + * @param AccessType $val The value to assign to the accessType + * + * @return Acl The Acl + */ + public function setAccessType($val) + { + $this->_propDict["accessType"] = $val; + return $this; + } + + /** + * Gets the identitySource + * + * @return IdentitySourceType|null The identitySource + */ + public function getIdentitySource() + { + if (array_key_exists("identitySource", $this->_propDict)) { + if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\Model\IdentitySourceType") || is_null($this->_propDict["identitySource"])) { + return $this->_propDict["identitySource"]; + } else { + $this->_propDict["identitySource"] = new IdentitySourceType($this->_propDict["identitySource"]); + return $this->_propDict["identitySource"]; + } + } + return null; + } + + /** + * Sets the identitySource + * + * @param IdentitySourceType $val The value to assign to the identitySource + * + * @return Acl The Acl + */ + public function setIdentitySource($val) + { + $this->_propDict["identitySource"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return AclType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AclType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AclType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AclType $val The value to assign to the type + * + * @return Acl The Acl + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return Acl + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AclType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AclType.php new file mode 100644 index 0000000..5f37603 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AclType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The error that occurred, if any, during the course of the bulk operation. + * + * @param PublicError $val The value to assign to the error + * + * @return ActionResultPart The ActionResultPart + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionSource.php new file mode 100644 index 0000000..a5cf085 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionSource.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["actionUrl"], "\Beta\Microsoft\Graph\Model\ActionUrl") || is_null($this->_propDict["actionUrl"])) { + return $this->_propDict["actionUrl"]; + } else { + $this->_propDict["actionUrl"] = new ActionUrl($this->_propDict["actionUrl"]); + return $this->_propDict["actionUrl"]; + } + } + return null; + } + + /** + * Sets the actionUrl + * + * @param ActionUrl $val The value to assign to the actionUrl + * + * @return ActionStep The ActionStep + */ + public function setActionUrl($val) + { + $this->_propDict["actionUrl"] = $val; + return $this; + } + /** + * Gets the stepNumber + * + * @return int|null The stepNumber + */ + public function getStepNumber() + { + if (array_key_exists("stepNumber", $this->_propDict)) { + return $this->_propDict["stepNumber"]; + } else { + return null; + } + } + + /** + * Sets the stepNumber + * + * @param int $val The value of the stepNumber + * + * @return ActionStep + */ + public function setStepNumber($val) + { + $this->_propDict["stepNumber"] = $val; + return $this; + } + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The value of the text + * + * @return ActionStep + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionUrl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionUrl.php new file mode 100644 index 0000000..7736d55 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionUrl.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return ActionUrl + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return ActionUrl + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivateDeviceEsimActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivateDeviceEsimActionResult.php new file mode 100644 index 0000000..8c23668 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivateDeviceEsimActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["carrierUrl"]; + } else { + return null; + } + } + + /** + * Sets the carrierUrl + * Carrier Url to activate the device eSIM + * + * @param string $val The value of the carrierUrl + * + * @return ActivateDeviceEsimActionResult + */ + public function setCarrierUrl($val) + { + $this->_propDict["carrierUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActiveDirectoryWindowsAutopilotDeploymentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActiveDirectoryWindowsAutopilotDeploymentProfile.php new file mode 100644 index 0000000..987af72 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActiveDirectoryWindowsAutopilotDeploymentProfile.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["hybridAzureADJoinSkipConnectivityCheck"]; + } else { + return null; + } + } + + /** + * Sets the hybridAzureADJoinSkipConnectivityCheck + * The Autopilot Hybrid Azure AD join flow will continue even if it does not establish domain controller connectivity during OOBE. + * + * @param bool $val The hybridAzureADJoinSkipConnectivityCheck + * + * @return ActiveDirectoryWindowsAutopilotDeploymentProfile + */ + public function setHybridAzureADJoinSkipConnectivityCheck($val) + { + $this->_propDict["hybridAzureADJoinSkipConnectivityCheck"] = boolval($val); + return $this; + } + + /** + * Gets the domainJoinConfiguration + * Configuration to join Active Directory domain + * + * @return WindowsDomainJoinConfiguration|null The domainJoinConfiguration + */ + public function getDomainJoinConfiguration() + { + if (array_key_exists("domainJoinConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["domainJoinConfiguration"], "\Beta\Microsoft\Graph\Model\WindowsDomainJoinConfiguration") || is_null($this->_propDict["domainJoinConfiguration"])) { + return $this->_propDict["domainJoinConfiguration"]; + } else { + $this->_propDict["domainJoinConfiguration"] = new WindowsDomainJoinConfiguration($this->_propDict["domainJoinConfiguration"]); + return $this->_propDict["domainJoinConfiguration"]; + } + } + return null; + } + + /** + * Sets the domainJoinConfiguration + * Configuration to join Active Directory domain + * + * @param WindowsDomainJoinConfiguration $val The domainJoinConfiguration + * + * @return ActiveDirectoryWindowsAutopilotDeploymentProfile + */ + public function setDomainJoinConfiguration($val) + { + $this->_propDict["domainJoinConfiguration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityBasedTimeoutPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityBasedTimeoutPolicy.php new file mode 100644 index 0000000..38d7359 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityBasedTimeoutPolicy.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["activeDurationSeconds"]; + } else { + return null; + } + } + + /** + * Sets the activeDurationSeconds + * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. + * + * @param int $val The activeDurationSeconds + * + * @return ActivityHistoryItem + */ + public function setActiveDurationSeconds($val) + { + $this->_propDict["activeDurationSeconds"] = intval($val); + return $this; + } + + /** + * Gets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @param \DateTime $val The createdDateTime + * + * @return ActivityHistoryItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + * + * @param \DateTime $val The expirationDateTime + * + * @return ActivityHistoryItem + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActiveDateTime + * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + * + * @return \DateTime|null The lastActiveDateTime + */ + public function getLastActiveDateTime() + { + if (array_key_exists("lastActiveDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActiveDateTime"], "\DateTime") || is_null($this->_propDict["lastActiveDateTime"])) { + return $this->_propDict["lastActiveDateTime"]; + } else { + $this->_propDict["lastActiveDateTime"] = new \DateTime($this->_propDict["lastActiveDateTime"]); + return $this->_propDict["lastActiveDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActiveDateTime + * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + * + * @param \DateTime $val The lastActiveDateTime + * + * @return ActivityHistoryItem + */ + public function setLastActiveDateTime($val) + { + $this->_propDict["lastActiveDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ActivityHistoryItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the startedDateTime + * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + * + * @return \DateTime|null The startedDateTime + */ + public function getStartedDateTime() + { + if (array_key_exists("startedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startedDateTime"], "\DateTime") || is_null($this->_propDict["startedDateTime"])) { + return $this->_propDict["startedDateTime"]; + } else { + $this->_propDict["startedDateTime"] = new \DateTime($this->_propDict["startedDateTime"]); + return $this->_propDict["startedDateTime"]; + } + } + return null; + } + + /** + * Sets the startedDateTime + * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + * + * @param \DateTime $val The startedDateTime + * + * @return ActivityHistoryItem + */ + public function setStartedDateTime($val) + { + $this->_propDict["startedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @return Status|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\Status") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new Status($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @param Status $val The status + * + * @return ActivityHistoryItem + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. + * + * @return string|null The userTimezone + */ + public function getUserTimezone() + { + if (array_key_exists("userTimezone", $this->_propDict)) { + return $this->_propDict["userTimezone"]; + } else { + return null; + } + } + + /** + * Sets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. + * + * @param string $val The userTimezone + * + * @return ActivityHistoryItem + */ + public function setUserTimezone($val) + { + $this->_propDict["userTimezone"] = $val; + return $this; + } + + /** + * Gets the activity + * Optional. NavigationProperty/Containment; navigation property to the associated activity. + * + * @return UserActivity|null The activity + */ + public function getActivity() + { + if (array_key_exists("activity", $this->_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\UserActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new UserActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * Optional. NavigationProperty/Containment; navigation property to the associated activity. + * + * @param UserActivity $val The activity + * + * @return ActivityHistoryItem + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityStatistics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityStatistics.php new file mode 100644 index 0000000..89f8f7a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityStatistics.php @@ -0,0 +1,188 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\AnalyticsActivityType") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new AnalyticsActivityType($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * The type of activity for which statistics are returned. The possible values are: call, chat, email, focus, and meeting. + * + * @param AnalyticsActivityType $val The activity + * + * @return ActivityStatistics + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the duration + * Total hours spent on the activity. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * Total hours spent on the activity. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The duration + * + * @return ActivityStatistics + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDate + * Date when the activity ended, expressed in ISO 8601 format for calendar dates. For example, the property value could be '2019-07-03' that follows the YYYY-MM-DD format. + * + * @return \DateTime|null The endDate + */ + public function getEndDate() + { + if (array_key_exists("endDate", $this->_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * Date when the activity ended, expressed in ISO 8601 format for calendar dates. For example, the property value could be '2019-07-03' that follows the YYYY-MM-DD format. + * + * @param \DateTime $val The endDate + * + * @return ActivityStatistics + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + + /** + * Gets the startDate + * Date when the activity started, expressed in ISO 8601 format for calendar dates. For example, the property value could be '2019-07-04' that follows the YYYY-MM-DD format. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * Date when the activity started, expressed in ISO 8601 format for calendar dates. For example, the property value could be '2019-07-04' that follows the YYYY-MM-DD format. + * + * @param \DateTime $val The startDate + * + * @return ActivityStatistics + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } + + /** + * Gets the timeZoneUsed + * The time zone that the user sets in Microsoft Outlook is used for the computation. For example, the property value could be 'Pacific Standard Time.' + * + * @return string|null The timeZoneUsed + */ + public function getTimeZoneUsed() + { + if (array_key_exists("timeZoneUsed", $this->_propDict)) { + return $this->_propDict["timeZoneUsed"]; + } else { + return null; + } + } + + /** + * Sets the timeZoneUsed + * The time zone that the user sets in Microsoft Outlook is used for the computation. For example, the property value could be 'Pacific Standard Time.' + * + * @param string $val The timeZoneUsed + * + * @return ActivityStatistics + */ + public function setTimeZoneUsed($val) + { + $this->_propDict["timeZoneUsed"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityType.php new file mode 100644 index 0000000..de18f09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\ContentAlignment") || is_null($this->_propDict["alignment"])) { + return $this->_propDict["alignment"]; + } else { + $this->_propDict["alignment"] = new ContentAlignment($this->_propDict["alignment"]); + return $this->_propDict["alignment"]; + } + } + return null; + } + + /** + * Sets the alignment + * Possible values are: left, right, center. + * + * @param ContentAlignment $val The value to assign to the alignment + * + * @return AddContentFooterAction The AddContentFooterAction + */ + public function setAlignment($val) + { + $this->_propDict["alignment"] = $val; + return $this; + } + /** + * Gets the fontColor + * Color of the font to use for the footer. + * + * @return string|null The fontColor + */ + public function getFontColor() + { + if (array_key_exists("fontColor", $this->_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * Color of the font to use for the footer. + * + * @param string $val The value of the fontColor + * + * @return AddContentFooterAction + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontName + * Name of the font to use for the footer. + * + * @return string|null The fontName + */ + public function getFontName() + { + if (array_key_exists("fontName", $this->_propDict)) { + return $this->_propDict["fontName"]; + } else { + return null; + } + } + + /** + * Sets the fontName + * Name of the font to use for the footer. + * + * @param string $val The value of the fontName + * + * @return AddContentFooterAction + */ + public function setFontName($val) + { + $this->_propDict["fontName"] = $val; + return $this; + } + /** + * Gets the fontSize + * Font size to use for the footer. + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * Font size to use for the footer. + * + * @param int $val The value of the fontSize + * + * @return AddContentFooterAction + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + /** + * Gets the margin + * The margin of the header from the bottom of the document. + * + * @return int|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + return $this->_propDict["margin"]; + } else { + return null; + } + } + + /** + * Sets the margin + * The margin of the header from the bottom of the document. + * + * @param int $val The value of the margin + * + * @return AddContentFooterAction + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the text + * The contents of the footer itself. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * The contents of the footer itself. + * + * @param string $val The value of the text + * + * @return AddContentFooterAction + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the uiElementName + * The name of the UI element where the footer should be placed. + * + * @return string|null The uiElementName + */ + public function getUiElementName() + { + if (array_key_exists("uiElementName", $this->_propDict)) { + return $this->_propDict["uiElementName"]; + } else { + return null; + } + } + + /** + * Sets the uiElementName + * The name of the UI element where the footer should be placed. + * + * @param string $val The value of the uiElementName + * + * @return AddContentFooterAction + */ + public function setUiElementName($val) + { + $this->_propDict["uiElementName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddContentHeaderAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddContentHeaderAction.php new file mode 100644 index 0000000..9258494 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddContentHeaderAction.php @@ -0,0 +1,227 @@ +_propDict)) { + if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\ContentAlignment") || is_null($this->_propDict["alignment"])) { + return $this->_propDict["alignment"]; + } else { + $this->_propDict["alignment"] = new ContentAlignment($this->_propDict["alignment"]); + return $this->_propDict["alignment"]; + } + } + return null; + } + + /** + * Sets the alignment + * Possible values are: left, right, center. + * + * @param ContentAlignment $val The value to assign to the alignment + * + * @return AddContentHeaderAction The AddContentHeaderAction + */ + public function setAlignment($val) + { + $this->_propDict["alignment"] = $val; + return $this; + } + /** + * Gets the fontColor + * Color of the font to use for the header. + * + * @return string|null The fontColor + */ + public function getFontColor() + { + if (array_key_exists("fontColor", $this->_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * Color of the font to use for the header. + * + * @param string $val The value of the fontColor + * + * @return AddContentHeaderAction + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontName + * Name of the font to use for the header. + * + * @return string|null The fontName + */ + public function getFontName() + { + if (array_key_exists("fontName", $this->_propDict)) { + return $this->_propDict["fontName"]; + } else { + return null; + } + } + + /** + * Sets the fontName + * Name of the font to use for the header. + * + * @param string $val The value of the fontName + * + * @return AddContentHeaderAction + */ + public function setFontName($val) + { + $this->_propDict["fontName"] = $val; + return $this; + } + /** + * Gets the fontSize + * Font size to use for the header. + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * Font size to use for the header. + * + * @param int $val The value of the fontSize + * + * @return AddContentHeaderAction + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + /** + * Gets the margin + * The margin of the header from the top of the document. + * + * @return int|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + return $this->_propDict["margin"]; + } else { + return null; + } + } + + /** + * Sets the margin + * The margin of the header from the top of the document. + * + * @param int $val The value of the margin + * + * @return AddContentHeaderAction + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the text + * The contents of the header itself. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * The contents of the header itself. + * + * @param string $val The value of the text + * + * @return AddContentHeaderAction + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the uiElementName + * The name of the UI element where the header should be placed. + * + * @return string|null The uiElementName + */ + public function getUiElementName() + { + if (array_key_exists("uiElementName", $this->_propDict)) { + return $this->_propDict["uiElementName"]; + } else { + return null; + } + } + + /** + * Sets the uiElementName + * The name of the UI element where the header should be placed. + * + * @param string $val The value of the uiElementName + * + * @return AddContentHeaderAction + */ + public function setUiElementName($val) + { + $this->_propDict["uiElementName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddFooter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddFooter.php new file mode 100644 index 0000000..acd65cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddFooter.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\Alignment") || is_null($this->_propDict["alignment"])) { + return $this->_propDict["alignment"]; + } else { + $this->_propDict["alignment"] = new Alignment($this->_propDict["alignment"]); + return $this->_propDict["alignment"]; + } + } + return null; + } + + /** + * Sets the alignment + * + * @param Alignment $val The value to assign to the alignment + * + * @return AddFooter The AddFooter + */ + public function setAlignment($val) + { + $this->_propDict["alignment"] = $val; + return $this; + } + /** + * Gets the margin + * + * @return int|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + return $this->_propDict["margin"]; + } else { + return null; + } + } + + /** + * Sets the margin + * + * @param int $val The value of the margin + * + * @return AddFooter + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddHeader.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddHeader.php new file mode 100644 index 0000000..88e4f76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddHeader.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\Alignment") || is_null($this->_propDict["alignment"])) { + return $this->_propDict["alignment"]; + } else { + $this->_propDict["alignment"] = new Alignment($this->_propDict["alignment"]); + return $this->_propDict["alignment"]; + } + } + return null; + } + + /** + * Sets the alignment + * + * @param Alignment $val The value to assign to the alignment + * + * @return AddHeader The AddHeader + */ + public function setAlignment($val) + { + $this->_propDict["alignment"] = $val; + return $this; + } + /** + * Gets the margin + * + * @return int|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + return $this->_propDict["margin"]; + } else { + return null; + } + } + + /** + * Sets the margin + * + * @param int $val The value of the margin + * + * @return AddHeader + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddIn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddIn.php new file mode 100644 index 0000000..834729d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddIn.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return AddIn + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the addInProperties + * + * @return KeyValue|null The addInProperties + */ + public function getAddInProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new KeyValue($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the addInProperties + * + * @param KeyValue $val The value to assign to the properties + * + * @return AddIn The AddIn + */ + public function setAddInProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return AddIn + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddLargeGalleryViewOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddLargeGalleryViewOperation.php new file mode 100644 index 0000000..a18a9e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddLargeGalleryViewOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PageOrientation") || is_null($this->_propDict["orientation"])) { + return $this->_propDict["orientation"]; + } else { + $this->_propDict["orientation"] = new PageOrientation($this->_propDict["orientation"]); + return $this->_propDict["orientation"]; + } + } + return null; + } + + /** + * Sets the orientation + * + * @param PageOrientation $val The value to assign to the orientation + * + * @return AddWatermark The AddWatermark + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddWatermarkAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddWatermarkAction.php new file mode 100644 index 0000000..190d32e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddWatermarkAction.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * Color of the font to use for the watermark. + * + * @param string $val The value of the fontColor + * + * @return AddWatermarkAction + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontName + * Name of the font to use for the watermark. + * + * @return string|null The fontName + */ + public function getFontName() + { + if (array_key_exists("fontName", $this->_propDict)) { + return $this->_propDict["fontName"]; + } else { + return null; + } + } + + /** + * Sets the fontName + * Name of the font to use for the watermark. + * + * @param string $val The value of the fontName + * + * @return AddWatermarkAction + */ + public function setFontName($val) + { + $this->_propDict["fontName"] = $val; + return $this; + } + /** + * Gets the fontSize + * Font size to use for the watermark. + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * Font size to use for the watermark. + * + * @param int $val The value of the fontSize + * + * @return AddWatermarkAction + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + + /** + * Gets the layout + * Possible values are: horizontal, diagonal. + * + * @return WatermarkLayout|null The layout + */ + public function getLayout() + { + if (array_key_exists("layout", $this->_propDict)) { + if (is_a($this->_propDict["layout"], "\Beta\Microsoft\Graph\Model\WatermarkLayout") || is_null($this->_propDict["layout"])) { + return $this->_propDict["layout"]; + } else { + $this->_propDict["layout"] = new WatermarkLayout($this->_propDict["layout"]); + return $this->_propDict["layout"]; + } + } + return null; + } + + /** + * Sets the layout + * Possible values are: horizontal, diagonal. + * + * @param WatermarkLayout $val The value to assign to the layout + * + * @return AddWatermarkAction The AddWatermarkAction + */ + public function setLayout($val) + { + $this->_propDict["layout"] = $val; + return $this; + } + /** + * Gets the text + * The contents of the watermark itself. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * The contents of the watermark itself. + * + * @param string $val The value of the text + * + * @return AddWatermarkAction + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the uiElementName + * The name of the UI element where the watermark should be placed. + * + * @return string|null The uiElementName + */ + public function getUiElementName() + { + if (array_key_exists("uiElementName", $this->_propDict)) { + return $this->_propDict["uiElementName"]; + } else { + return null; + } + } + + /** + * Sets the uiElementName + * The name of the UI element where the watermark should be placed. + * + * @param string $val The value of the uiElementName + * + * @return AddWatermarkAction + */ + public function setUiElementName($val) + { + $this->_propDict["uiElementName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Admin.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Admin.php new file mode 100644 index 0000000..51bbc2b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Admin.php @@ -0,0 +1,170 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Admin + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the serviceAnnouncement + * A container for service communications resources. Read-only. + * + * @return ServiceAnnouncement|null The serviceAnnouncement + */ + public function getServiceAnnouncement() + { + if (array_key_exists("serviceAnnouncement", $this->_propDict)) { + if (is_a($this->_propDict["serviceAnnouncement"], "\Beta\Microsoft\Graph\Model\ServiceAnnouncement") || is_null($this->_propDict["serviceAnnouncement"])) { + return $this->_propDict["serviceAnnouncement"]; + } else { + $this->_propDict["serviceAnnouncement"] = new ServiceAnnouncement($this->_propDict["serviceAnnouncement"]); + return $this->_propDict["serviceAnnouncement"]; + } + } + return null; + } + + /** + * Sets the serviceAnnouncement + * A container for service communications resources. Read-only. + * + * @param ServiceAnnouncement $val The serviceAnnouncement + * + * @return Admin + */ + public function setServiceAnnouncement($val) + { + $this->_propDict["serviceAnnouncement"] = $val; + return $this; + } + + /** + * Gets the windows + * A container for all Windows Update for Business deployment service functionality. Read-only. + * + * @return \Beta\Microsoft\Graph\WindowsUpdates\Model\Windows|null The windows + */ + public function getWindows() + { + if (array_key_exists("windows", $this->_propDict)) { + if (is_a($this->_propDict["windows"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\Windows") || is_null($this->_propDict["windows"])) { + return $this->_propDict["windows"]; + } else { + $this->_propDict["windows"] = new \Beta\Microsoft\Graph\WindowsUpdates\Model\Windows($this->_propDict["windows"]); + return $this->_propDict["windows"]; + } + } + return null; + } + + /** + * Sets the windows + * A container for all Windows Update for Business deployment service functionality. Read-only. + * + * @param \Beta\Microsoft\Graph\WindowsUpdates\Model\Windows $val The windows + * + * @return Admin + */ + public function setWindows($val) + { + $this->_propDict["windows"] = $val; + 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 Admin + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsent.php new file mode 100644 index 0000000..c2ef55f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsent.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["shareAPNSData"], "\Beta\Microsoft\Graph\Model\AdminConsentState") || is_null($this->_propDict["shareAPNSData"])) { + return $this->_propDict["shareAPNSData"]; + } else { + $this->_propDict["shareAPNSData"] = new AdminConsentState($this->_propDict["shareAPNSData"]); + return $this->_propDict["shareAPNSData"]; + } + } + return null; + } + + /** + * Sets the shareAPNSData + * The admin consent state of sharing user and device data to Apple. Possible values are: notConfigured, granted, notGranted. + * + * @param AdminConsentState $val The value to assign to the shareAPNSData + * + * @return AdminConsent The AdminConsent + */ + public function setShareAPNSData($val) + { + $this->_propDict["shareAPNSData"] = $val; + return $this; + } + + /** + * Gets the shareUserExperienceAnalyticsData + * Gets or sets the admin consent for sharing User experience analytics data. Possible values are: notConfigured, granted, notGranted. + * + * @return AdminConsentState|null The shareUserExperienceAnalyticsData + */ + public function getShareUserExperienceAnalyticsData() + { + if (array_key_exists("shareUserExperienceAnalyticsData", $this->_propDict)) { + if (is_a($this->_propDict["shareUserExperienceAnalyticsData"], "\Beta\Microsoft\Graph\Model\AdminConsentState") || is_null($this->_propDict["shareUserExperienceAnalyticsData"])) { + return $this->_propDict["shareUserExperienceAnalyticsData"]; + } else { + $this->_propDict["shareUserExperienceAnalyticsData"] = new AdminConsentState($this->_propDict["shareUserExperienceAnalyticsData"]); + return $this->_propDict["shareUserExperienceAnalyticsData"]; + } + } + return null; + } + + /** + * Sets the shareUserExperienceAnalyticsData + * Gets or sets the admin consent for sharing User experience analytics data. Possible values are: notConfigured, granted, notGranted. + * + * @param AdminConsentState $val The value to assign to the shareUserExperienceAnalyticsData + * + * @return AdminConsent The AdminConsent + */ + public function setShareUserExperienceAnalyticsData($val) + { + $this->_propDict["shareUserExperienceAnalyticsData"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentRequestPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentRequestPolicy.php new file mode 100644 index 0000000..23006f7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentRequestPolicy.php @@ -0,0 +1,202 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Specifies whether the admin consent request feature is enabled or disabled. Required. + * + * @param bool $val The isEnabled + * + * @return AdminConsentRequestPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the notifyReviewers + * Specifies whether reviewers will receive notifications. Required. + * + * @return bool|null The notifyReviewers + */ + public function getNotifyReviewers() + { + if (array_key_exists("notifyReviewers", $this->_propDict)) { + return $this->_propDict["notifyReviewers"]; + } else { + return null; + } + } + + /** + * Sets the notifyReviewers + * Specifies whether reviewers will receive notifications. Required. + * + * @param bool $val The notifyReviewers + * + * @return AdminConsentRequestPolicy + */ + public function setNotifyReviewers($val) + { + $this->_propDict["notifyReviewers"] = boolval($val); + return $this; + } + + /** + * Gets the remindersEnabled + * Specifies whether reviewers will receive reminder emails. Required. + * + * @return bool|null The remindersEnabled + */ + public function getRemindersEnabled() + { + if (array_key_exists("remindersEnabled", $this->_propDict)) { + return $this->_propDict["remindersEnabled"]; + } else { + return null; + } + } + + /** + * Sets the remindersEnabled + * Specifies whether reviewers will receive reminder emails. Required. + * + * @param bool $val The remindersEnabled + * + * @return AdminConsentRequestPolicy + */ + public function setRemindersEnabled($val) + { + $this->_propDict["remindersEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the requestDurationInDays + * Specifies the duration the request is active before it automatically expires if no decision is applied. + * + * @return int|null The requestDurationInDays + */ + public function getRequestDurationInDays() + { + if (array_key_exists("requestDurationInDays", $this->_propDict)) { + return $this->_propDict["requestDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the requestDurationInDays + * Specifies the duration the request is active before it automatically expires if no decision is applied. + * + * @param int $val The requestDurationInDays + * + * @return AdminConsentRequestPolicy + */ + public function setRequestDurationInDays($val) + { + $this->_propDict["requestDurationInDays"] = intval($val); + return $this; + } + + + /** + * Gets the reviewers + * Required. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * Required. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AdminConsentRequestPolicy + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the version + * Specifies the version of this policy. When the policy is updated, this version is updated. Read-only. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Specifies the version of this policy. When the policy is updated, this version is updated. Read-only. + * + * @param int $val The version + * + * @return AdminConsentRequestPolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentState.php new file mode 100644 index 0000000..4964523 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search. + * + * @param string $val The description + * + * @return AdministrativeUnit + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return AdministrativeUnit + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isMemberManagementRestricted + * + * @return bool|null The isMemberManagementRestricted + */ + public function getIsMemberManagementRestricted() + { + if (array_key_exists("isMemberManagementRestricted", $this->_propDict)) { + return $this->_propDict["isMemberManagementRestricted"]; + } else { + return null; + } + } + + /** + * Sets the isMemberManagementRestricted + * + * @param bool $val The isMemberManagementRestricted + * + * @return AdministrativeUnit + */ + public function setIsMemberManagementRestricted($val) + { + $this->_propDict["isMemberManagementRestricted"] = boolval($val); + return $this; + } + + /** + * Gets the visibility + * Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. + * + * @return string|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + return $this->_propDict["visibility"]; + } else { + return null; + } + } + + /** + * Sets the visibility + * Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. + * + * @param string $val The visibility + * + * @return AdministrativeUnit + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + + /** + * Gets the members + * Users and groups that are members of this administrative unit. Supports $expand. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Users and groups that are members of this administrative unit. Supports $expand. + * + * @param DirectoryObject[] $val The members + * + * @return AdministrativeUnit + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the scopedRoleMembers + * Scoped-role members of this administrative unit. + * + * @return array|null The scopedRoleMembers + */ + public function getScopedRoleMembers() + { + if (array_key_exists("scopedRoleMembers", $this->_propDict)) { + return $this->_propDict["scopedRoleMembers"]; + } else { + return null; + } + } + + /** + * Sets the scopedRoleMembers + * Scoped-role members of this administrative unit. + * + * @param ScopedRoleMembership[] $val The scopedRoleMembers + * + * @return AdministrativeUnit + */ + public function setScopedRoleMembers($val) + { + $this->_propDict["scopedRoleMembers"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for this administrative unit. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for this administrative unit. Nullable. + * + * @param Extension[] $val The extensions + * + * @return AdministrativeUnit + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdministratorConfiguredDeviceComplianceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdministratorConfiguredDeviceComplianceState.php new file mode 100644 index 0000000..729ec8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdministratorConfiguredDeviceComplianceState.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The Device Id that is being reported + * + * @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 Device Id that is being reported + * + * @param string $val The deviceId + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The Device Name that is being reported + * + * @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 Device Name that is being reported + * + * @param string $val The deviceName + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Device platform type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, cloudPC, blackberry, palm, unknown. + * + * @return DeviceType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\DeviceType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new DeviceType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Device platform type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, cloudPC, blackberry, palm, unknown. + * + * @param DeviceType $val The platformType + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the setting + * The setting class name and property name. + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting class name and property name. + * + * @param string $val The setting + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + + /** + * Gets the settingName + * The Setting Name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * The Setting Name that is being reported + * + * @param string $val The settingName + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The state + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userEmail + * The User email address that is being reported + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * The User email address that is being reported + * + * @param string $val The userEmail + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + + /** + * Gets the userId + * The user Id that is being reported + * + * @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 + * The user Id that is being reported + * + * @param string $val The userId + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The User PrincipalName that is being reported + * + * @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 + * The User PrincipalName that is being reported + * + * @param string $val The userPrincipalName + * + * @return AdvancedThreatProtectionOnboardingDeviceSettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php new file mode 100644 index 0000000..747a66a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php @@ -0,0 +1,289 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notAssignedDeviceCount + * Number of not assigned devices + * + * @return int|null The notAssignedDeviceCount + */ + public function getNotAssignedDeviceCount() + { + if (array_key_exists("notAssignedDeviceCount", $this->_propDict)) { + return $this->_propDict["notAssignedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notAssignedDeviceCount + * Number of not assigned devices + * + * @param int $val The notAssignedDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setNotAssignedDeviceCount($val) + { + $this->_propDict["notAssignedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + + + /** + * Gets the advancedThreatProtectionOnboardingDeviceSettingStates + * Not yet documented + * + * @return array|null The advancedThreatProtectionOnboardingDeviceSettingStates + */ + public function getAdvancedThreatProtectionOnboardingDeviceSettingStates() + { + if (array_key_exists("advancedThreatProtectionOnboardingDeviceSettingStates", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionOnboardingDeviceSettingStates"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionOnboardingDeviceSettingStates + * Not yet documented + * + * @param AdvancedThreatProtectionOnboardingDeviceSettingState[] $val The advancedThreatProtectionOnboardingDeviceSettingStates + * + * @return AdvancedThreatProtectionOnboardingStateSummary + */ + public function setAdvancedThreatProtectionOnboardingDeviceSettingStates($val) + { + $this->_propDict["advancedThreatProtectionOnboardingDeviceSettingStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php new file mode 100644 index 0000000..11701bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php @@ -0,0 +1,321 @@ +_propDict)) { + if (is_a($this->_propDict["agedAsOfDate"], "\DateTime") || is_null($this->_propDict["agedAsOfDate"])) { + return $this->_propDict["agedAsOfDate"]; + } else { + $this->_propDict["agedAsOfDate"] = new \DateTime($this->_propDict["agedAsOfDate"]); + return $this->_propDict["agedAsOfDate"]; + } + } + return null; + } + + /** + * Sets the agedAsOfDate + * + * @param \DateTime $val The agedAsOfDate + * + * @return AgedAccountsPayable + */ + public function setAgedAsOfDate($val) + { + $this->_propDict["agedAsOfDate"] = $val; + return $this; + } + + /** + * Gets the balanceDue + * + * @return Decimal|null The balanceDue + */ + public function getBalanceDue() + { + if (array_key_exists("balanceDue", $this->_propDict)) { + if (is_a($this->_propDict["balanceDue"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["balanceDue"])) { + return $this->_propDict["balanceDue"]; + } else { + $this->_propDict["balanceDue"] = new Decimal($this->_propDict["balanceDue"]); + return $this->_propDict["balanceDue"]; + } + } + return null; + } + + /** + * Sets the balanceDue + * + * @param Decimal $val The balanceDue + * + * @return AgedAccountsPayable + */ + public function setBalanceDue($val) + { + $this->_propDict["balanceDue"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return AgedAccountsPayable + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currentAmount + * + * @return Decimal|null The currentAmount + */ + public function getCurrentAmount() + { + if (array_key_exists("currentAmount", $this->_propDict)) { + if (is_a($this->_propDict["currentAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["currentAmount"])) { + return $this->_propDict["currentAmount"]; + } else { + $this->_propDict["currentAmount"] = new Decimal($this->_propDict["currentAmount"]); + return $this->_propDict["currentAmount"]; + } + } + return null; + } + + /** + * Sets the currentAmount + * + * @param Decimal $val The currentAmount + * + * @return AgedAccountsPayable + */ + public function setCurrentAmount($val) + { + $this->_propDict["currentAmount"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return AgedAccountsPayable + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the period1Amount + * + * @return Decimal|null The period1Amount + */ + public function getPeriod1Amount() + { + if (array_key_exists("period1Amount", $this->_propDict)) { + if (is_a($this->_propDict["period1Amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["period1Amount"])) { + return $this->_propDict["period1Amount"]; + } else { + $this->_propDict["period1Amount"] = new Decimal($this->_propDict["period1Amount"]); + return $this->_propDict["period1Amount"]; + } + } + return null; + } + + /** + * Sets the period1Amount + * + * @param Decimal $val The period1Amount + * + * @return AgedAccountsPayable + */ + public function setPeriod1Amount($val) + { + $this->_propDict["period1Amount"] = $val; + return $this; + } + + /** + * Gets the period2Amount + * + * @return Decimal|null The period2Amount + */ + public function getPeriod2Amount() + { + if (array_key_exists("period2Amount", $this->_propDict)) { + if (is_a($this->_propDict["period2Amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["period2Amount"])) { + return $this->_propDict["period2Amount"]; + } else { + $this->_propDict["period2Amount"] = new Decimal($this->_propDict["period2Amount"]); + return $this->_propDict["period2Amount"]; + } + } + return null; + } + + /** + * Sets the period2Amount + * + * @param Decimal $val The period2Amount + * + * @return AgedAccountsPayable + */ + public function setPeriod2Amount($val) + { + $this->_propDict["period2Amount"] = $val; + return $this; + } + + /** + * Gets the period3Amount + * + * @return Decimal|null The period3Amount + */ + public function getPeriod3Amount() + { + if (array_key_exists("period3Amount", $this->_propDict)) { + if (is_a($this->_propDict["period3Amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["period3Amount"])) { + return $this->_propDict["period3Amount"]; + } else { + $this->_propDict["period3Amount"] = new Decimal($this->_propDict["period3Amount"]); + return $this->_propDict["period3Amount"]; + } + } + return null; + } + + /** + * Sets the period3Amount + * + * @param Decimal $val The period3Amount + * + * @return AgedAccountsPayable + */ + public function setPeriod3Amount($val) + { + $this->_propDict["period3Amount"] = $val; + return $this; + } + + /** + * Gets the periodLengthFilter + * + * @return string|null The periodLengthFilter + */ + public function getPeriodLengthFilter() + { + if (array_key_exists("periodLengthFilter", $this->_propDict)) { + return $this->_propDict["periodLengthFilter"]; + } else { + return null; + } + } + + /** + * Sets the periodLengthFilter + * + * @param string $val The periodLengthFilter + * + * @return AgedAccountsPayable + */ + public function setPeriodLengthFilter($val) + { + $this->_propDict["periodLengthFilter"] = $val; + return $this; + } + + /** + * Gets the vendorNumber + * + * @return string|null The vendorNumber + */ + public function getVendorNumber() + { + if (array_key_exists("vendorNumber", $this->_propDict)) { + return $this->_propDict["vendorNumber"]; + } else { + return null; + } + } + + /** + * Sets the vendorNumber + * + * @param string $val The vendorNumber + * + * @return AgedAccountsPayable + */ + public function setVendorNumber($val) + { + $this->_propDict["vendorNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php new file mode 100644 index 0000000..fa49934 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php @@ -0,0 +1,321 @@ +_propDict)) { + if (is_a($this->_propDict["agedAsOfDate"], "\DateTime") || is_null($this->_propDict["agedAsOfDate"])) { + return $this->_propDict["agedAsOfDate"]; + } else { + $this->_propDict["agedAsOfDate"] = new \DateTime($this->_propDict["agedAsOfDate"]); + return $this->_propDict["agedAsOfDate"]; + } + } + return null; + } + + /** + * Sets the agedAsOfDate + * + * @param \DateTime $val The agedAsOfDate + * + * @return AgedAccountsReceivable + */ + public function setAgedAsOfDate($val) + { + $this->_propDict["agedAsOfDate"] = $val; + return $this; + } + + /** + * Gets the balanceDue + * + * @return Decimal|null The balanceDue + */ + public function getBalanceDue() + { + if (array_key_exists("balanceDue", $this->_propDict)) { + if (is_a($this->_propDict["balanceDue"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["balanceDue"])) { + return $this->_propDict["balanceDue"]; + } else { + $this->_propDict["balanceDue"] = new Decimal($this->_propDict["balanceDue"]); + return $this->_propDict["balanceDue"]; + } + } + return null; + } + + /** + * Sets the balanceDue + * + * @param Decimal $val The balanceDue + * + * @return AgedAccountsReceivable + */ + public function setBalanceDue($val) + { + $this->_propDict["balanceDue"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return AgedAccountsReceivable + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currentAmount + * + * @return Decimal|null The currentAmount + */ + public function getCurrentAmount() + { + if (array_key_exists("currentAmount", $this->_propDict)) { + if (is_a($this->_propDict["currentAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["currentAmount"])) { + return $this->_propDict["currentAmount"]; + } else { + $this->_propDict["currentAmount"] = new Decimal($this->_propDict["currentAmount"]); + return $this->_propDict["currentAmount"]; + } + } + return null; + } + + /** + * Sets the currentAmount + * + * @param Decimal $val The currentAmount + * + * @return AgedAccountsReceivable + */ + public function setCurrentAmount($val) + { + $this->_propDict["currentAmount"] = $val; + return $this; + } + + /** + * Gets the customerNumber + * + * @return string|null The customerNumber + */ + public function getCustomerNumber() + { + if (array_key_exists("customerNumber", $this->_propDict)) { + return $this->_propDict["customerNumber"]; + } else { + return null; + } + } + + /** + * Sets the customerNumber + * + * @param string $val The customerNumber + * + * @return AgedAccountsReceivable + */ + public function setCustomerNumber($val) + { + $this->_propDict["customerNumber"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return AgedAccountsReceivable + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the period1Amount + * + * @return Decimal|null The period1Amount + */ + public function getPeriod1Amount() + { + if (array_key_exists("period1Amount", $this->_propDict)) { + if (is_a($this->_propDict["period1Amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["period1Amount"])) { + return $this->_propDict["period1Amount"]; + } else { + $this->_propDict["period1Amount"] = new Decimal($this->_propDict["period1Amount"]); + return $this->_propDict["period1Amount"]; + } + } + return null; + } + + /** + * Sets the period1Amount + * + * @param Decimal $val The period1Amount + * + * @return AgedAccountsReceivable + */ + public function setPeriod1Amount($val) + { + $this->_propDict["period1Amount"] = $val; + return $this; + } + + /** + * Gets the period2Amount + * + * @return Decimal|null The period2Amount + */ + public function getPeriod2Amount() + { + if (array_key_exists("period2Amount", $this->_propDict)) { + if (is_a($this->_propDict["period2Amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["period2Amount"])) { + return $this->_propDict["period2Amount"]; + } else { + $this->_propDict["period2Amount"] = new Decimal($this->_propDict["period2Amount"]); + return $this->_propDict["period2Amount"]; + } + } + return null; + } + + /** + * Sets the period2Amount + * + * @param Decimal $val The period2Amount + * + * @return AgedAccountsReceivable + */ + public function setPeriod2Amount($val) + { + $this->_propDict["period2Amount"] = $val; + return $this; + } + + /** + * Gets the period3Amount + * + * @return Decimal|null The period3Amount + */ + public function getPeriod3Amount() + { + if (array_key_exists("period3Amount", $this->_propDict)) { + if (is_a($this->_propDict["period3Amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["period3Amount"])) { + return $this->_propDict["period3Amount"]; + } else { + $this->_propDict["period3Amount"] = new Decimal($this->_propDict["period3Amount"]); + return $this->_propDict["period3Amount"]; + } + } + return null; + } + + /** + * Sets the period3Amount + * + * @param Decimal $val The period3Amount + * + * @return AgedAccountsReceivable + */ + public function setPeriod3Amount($val) + { + $this->_propDict["period3Amount"] = $val; + return $this; + } + + /** + * Gets the periodLengthFilter + * + * @return string|null The periodLengthFilter + */ + public function getPeriodLengthFilter() + { + if (array_key_exists("periodLengthFilter", $this->_propDict)) { + return $this->_propDict["periodLengthFilter"]; + } else { + return null; + } + } + + /** + * Sets the periodLengthFilter + * + * @param string $val The periodLengthFilter + * + * @return AgedAccountsReceivable + */ + public function setPeriodLengthFilter($val) + { + $this->_propDict["periodLengthFilter"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgentStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgentStatus.php new file mode 100644 index 0000000..780c78e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgentStatus.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["bucketDefinition"], "\Beta\Microsoft\Graph\Model\BucketAggregationDefinition") || is_null($this->_propDict["bucketDefinition"])) { + return $this->_propDict["bucketDefinition"]; + } else { + $this->_propDict["bucketDefinition"] = new BucketAggregationDefinition($this->_propDict["bucketDefinition"]); + return $this->_propDict["bucketDefinition"]; + } + } + return null; + } + + /** + * Sets the bucketDefinition + * Specifies the criteria to compute an aggregation. Optional. + * + * @param BucketAggregationDefinition $val The value to assign to the bucketDefinition + * + * @return AggregationOption The AggregationOption + */ + public function setBucketDefinition($val) + { + $this->_propDict["bucketDefinition"] = $val; + return $this; + } + /** + * Gets the field + * Computes aggregation on the field while the field exists in current entity type. Required. + * + * @return string|null The field + */ + public function getField() + { + if (array_key_exists("field", $this->_propDict)) { + return $this->_propDict["field"]; + } else { + return null; + } + } + + /** + * Sets the field + * Computes aggregation on the field while the field exists in current entity type. Required. + * + * @param string $val The value of the field + * + * @return AggregationOption + */ + public function setField($val) + { + $this->_propDict["field"] = $val; + return $this; + } + /** + * Gets the size + * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * + * @param int $val The value of the size + * + * @return AggregationOption + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Agreement.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Agreement.php new file mode 100644 index 0000000..3154f86 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Agreement.php @@ -0,0 +1,273 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the agreement. The display name is used for internal tracking of the agreement but is not shown to end users who view the agreement. Supports $filter (eq). + * + * @param string $val The displayName + * + * @return Agreement + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isPerDeviceAcceptanceRequired + * This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so. Supports $filter (eq). + * + * @return bool|null The isPerDeviceAcceptanceRequired + */ + public function getIsPerDeviceAcceptanceRequired() + { + if (array_key_exists("isPerDeviceAcceptanceRequired", $this->_propDict)) { + return $this->_propDict["isPerDeviceAcceptanceRequired"]; + } else { + return null; + } + } + + /** + * Sets the isPerDeviceAcceptanceRequired + * This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so. Supports $filter (eq). + * + * @param bool $val The isPerDeviceAcceptanceRequired + * + * @return Agreement + */ + public function setIsPerDeviceAcceptanceRequired($val) + { + $this->_propDict["isPerDeviceAcceptanceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the isViewingBeforeAcceptanceRequired + * Indicates whether the user has to expand the agreement before accepting. Supports $filter (eq). + * + * @return bool|null The isViewingBeforeAcceptanceRequired + */ + public function getIsViewingBeforeAcceptanceRequired() + { + if (array_key_exists("isViewingBeforeAcceptanceRequired", $this->_propDict)) { + return $this->_propDict["isViewingBeforeAcceptanceRequired"]; + } else { + return null; + } + } + + /** + * Sets the isViewingBeforeAcceptanceRequired + * Indicates whether the user has to expand the agreement before accepting. Supports $filter (eq). + * + * @param bool $val The isViewingBeforeAcceptanceRequired + * + * @return Agreement + */ + public function setIsViewingBeforeAcceptanceRequired($val) + { + $this->_propDict["isViewingBeforeAcceptanceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the termsExpiration + * Expiration schedule and frequency of agreement for all users. Supports $filter (eq). + * + * @return TermsExpiration|null The termsExpiration + */ + public function getTermsExpiration() + { + if (array_key_exists("termsExpiration", $this->_propDict)) { + if (is_a($this->_propDict["termsExpiration"], "\Beta\Microsoft\Graph\Model\TermsExpiration") || is_null($this->_propDict["termsExpiration"])) { + return $this->_propDict["termsExpiration"]; + } else { + $this->_propDict["termsExpiration"] = new TermsExpiration($this->_propDict["termsExpiration"]); + return $this->_propDict["termsExpiration"]; + } + } + return null; + } + + /** + * Sets the termsExpiration + * Expiration schedule and frequency of agreement for all users. Supports $filter (eq). + * + * @param TermsExpiration $val The termsExpiration + * + * @return Agreement + */ + public function setTermsExpiration($val) + { + $this->_propDict["termsExpiration"] = $val; + return $this; + } + + /** + * Gets the userReacceptRequiredFrequency + * The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The userReacceptRequiredFrequency + */ + public function getUserReacceptRequiredFrequency() + { + if (array_key_exists("userReacceptRequiredFrequency", $this->_propDict)) { + if (is_a($this->_propDict["userReacceptRequiredFrequency"], "\DateInterval") || is_null($this->_propDict["userReacceptRequiredFrequency"])) { + return $this->_propDict["userReacceptRequiredFrequency"]; + } else { + $this->_propDict["userReacceptRequiredFrequency"] = new \DateInterval($this->_propDict["userReacceptRequiredFrequency"]); + return $this->_propDict["userReacceptRequiredFrequency"]; + } + } + return null; + } + + /** + * Sets the userReacceptRequiredFrequency + * The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The userReacceptRequiredFrequency + * + * @return Agreement + */ + public function setUserReacceptRequiredFrequency($val) + { + $this->_propDict["userReacceptRequiredFrequency"] = $val; + return $this; + } + + + /** + * Gets the acceptances + * Read-only. Information about acceptances of this agreement. + * + * @return array|null The acceptances + */ + public function getAcceptances() + { + if (array_key_exists("acceptances", $this->_propDict)) { + return $this->_propDict["acceptances"]; + } else { + return null; + } + } + + /** + * Sets the acceptances + * Read-only. Information about acceptances of this agreement. + * + * @param AgreementAcceptance[] $val The acceptances + * + * @return Agreement + */ + public function setAcceptances($val) + { + $this->_propDict["acceptances"] = $val; + return $this; + } + + /** + * Gets the file + * Default PDF linked to this agreement. + * + * @return AgreementFile|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\AgreementFile") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = new AgreementFile($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * Default PDF linked to this agreement. + * + * @param AgreementFile $val The file + * + * @return Agreement + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + + /** + * Gets the files + * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. + * + * @return array|null The files + */ + public function getFiles() + { + if (array_key_exists("files", $this->_propDict)) { + return $this->_propDict["files"]; + } else { + return null; + } + } + + /** + * Sets the files + * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. + * + * @param AgreementFileLocalization[] $val The files + * + * @return Agreement + */ + public function setFiles($val) + { + $this->_propDict["files"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptance.php new file mode 100644 index 0000000..0ef283d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptance.php @@ -0,0 +1,416 @@ +_propDict)) { + return $this->_propDict["agreementFileId"]; + } else { + return null; + } + } + + /** + * Sets the agreementFileId + * ID of the agreement file accepted by the user. + * + * @param string $val The agreementFileId + * + * @return AgreementAcceptance + */ + public function setAgreementFileId($val) + { + $this->_propDict["agreementFileId"] = $val; + return $this; + } + + /** + * Gets the agreementId + * ID of the agreement. + * + * @return string|null The agreementId + */ + public function getAgreementId() + { + if (array_key_exists("agreementId", $this->_propDict)) { + return $this->_propDict["agreementId"]; + } else { + return null; + } + } + + /** + * Sets the agreementId + * ID of the agreement. + * + * @param string $val The agreementId + * + * @return AgreementAcceptance + */ + public function setAgreementId($val) + { + $this->_propDict["agreementId"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * The display name of the device used for accepting the agreement. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * The display name of the device used for accepting the agreement. + * + * @param string $val The deviceDisplayName + * + * @return AgreementAcceptance + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The unique identifier of the device used for accepting the agreement. + * + * @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 unique identifier of the device used for accepting the agreement. + * + * @param string $val The deviceId + * + * @return AgreementAcceptance + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceOSType + * The operating system used for accepting the agreement. + * + * @return string|null The deviceOSType + */ + public function getDeviceOSType() + { + if (array_key_exists("deviceOSType", $this->_propDict)) { + return $this->_propDict["deviceOSType"]; + } else { + return null; + } + } + + /** + * Sets the deviceOSType + * The operating system used for accepting the agreement. + * + * @param string $val The deviceOSType + * + * @return AgreementAcceptance + */ + public function setDeviceOSType($val) + { + $this->_propDict["deviceOSType"] = $val; + return $this; + } + + /** + * Gets the deviceOSVersion + * The operating system version of the device used for accepting the agreement. + * + * @return string|null The deviceOSVersion + */ + public function getDeviceOSVersion() + { + if (array_key_exists("deviceOSVersion", $this->_propDict)) { + return $this->_propDict["deviceOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the deviceOSVersion + * The operating system version of the device used for accepting the agreement. + * + * @param string $val The deviceOSVersion + * + * @return AgreementAcceptance + */ + public function setDeviceOSVersion($val) + { + $this->_propDict["deviceOSVersion"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date time of the acceptance. 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 expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date time of the acceptance. 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 expirationDateTime + * + * @return AgreementAcceptance + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the recordedDateTime + * 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 recordedDateTime + */ + public function getRecordedDateTime() + { + if (array_key_exists("recordedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["recordedDateTime"], "\DateTime") || is_null($this->_propDict["recordedDateTime"])) { + return $this->_propDict["recordedDateTime"]; + } else { + $this->_propDict["recordedDateTime"] = new \DateTime($this->_propDict["recordedDateTime"]); + return $this->_propDict["recordedDateTime"]; + } + } + return null; + } + + /** + * Sets the recordedDateTime + * 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 recordedDateTime + * + * @return AgreementAcceptance + */ + public function setRecordedDateTime($val) + { + $this->_propDict["recordedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Possible values are: accepted, declined. Supports $filter (eq). + * + * @return AgreementAcceptanceState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\AgreementAcceptanceState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AgreementAcceptanceState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Possible values are: accepted, declined. Supports $filter (eq). + * + * @param AgreementAcceptanceState $val The state + * + * @return AgreementAcceptance + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * Display name of the user when the acceptance was recorded. + * + * @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 + * Display name of the user when the acceptance was recorded. + * + * @param string $val The userDisplayName + * + * @return AgreementAcceptance + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userEmail + * Email of the user when the acceptance was recorded. + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * Email of the user when the acceptance was recorded. + * + * @param string $val The userEmail + * + * @return AgreementAcceptance + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user who accepted the agreement. + * + * @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 + * ID of the user who accepted the agreement. + * + * @param string $val The userId + * + * @return AgreementAcceptance + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * UPN of the user when the acceptance was recorded. + * + * @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 + * UPN of the user when the acceptance was recorded. + * + * @param string $val The userPrincipalName + * + * @return AgreementAcceptance + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptanceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptanceState.php new file mode 100644 index 0000000..940cdd8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptanceState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["localizations"]; + } else { + return null; + } + } + + /** + * Sets the localizations + * The localized version of the terms of use agreement files attached to the agreement. + * + * @param AgreementFileLocalization[] $val The localizations + * + * @return AgreementFile + */ + public function setLocalizations($val) + { + $this->_propDict["localizations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileData.php new file mode 100644 index 0000000..df8cbc9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileData.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["data"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["data"])) { + return $this->_propDict["data"]; + } else { + $this->_propDict["data"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["data"]); + return $this->_propDict["data"]; + } + } + return null; + } + + /** + * Sets the data + * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)). + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the data + * + * @return AgreementFileData The AgreementFileData + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileLocalization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileLocalization.php new file mode 100644 index 0000000..694838c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileLocalization.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. + * + * @param AgreementFileVersion[] $val The versions + * + * @return AgreementFileLocalization + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileProperties.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileProperties.php new file mode 100644 index 0000000..54f85d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileProperties.php @@ -0,0 +1,238 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date time representing when the file was created.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 createdDateTime + * + * @return AgreementFileProperties + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Localized display name of the policy file of an agreement. The localized display name is shown to end users who view the agreement. + * + * @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 + * Localized display name of the policy file of an agreement. The localized display name is shown to end users who view the agreement. + * + * @param string $val The displayName + * + * @return AgreementFileProperties + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fileData + * Data that represents the terms of use PDF document. Read-only. + * + * @return AgreementFileData|null The fileData + */ + public function getFileData() + { + if (array_key_exists("fileData", $this->_propDict)) { + if (is_a($this->_propDict["fileData"], "\Beta\Microsoft\Graph\Model\AgreementFileData") || is_null($this->_propDict["fileData"])) { + return $this->_propDict["fileData"]; + } else { + $this->_propDict["fileData"] = new AgreementFileData($this->_propDict["fileData"]); + return $this->_propDict["fileData"]; + } + } + return null; + } + + /** + * Sets the fileData + * Data that represents the terms of use PDF document. Read-only. + * + * @param AgreementFileData $val The fileData + * + * @return AgreementFileProperties + */ + public function setFileData($val) + { + $this->_propDict["fileData"] = $val; + return $this; + } + + /** + * Gets the fileName + * Name of the agreement file (for example, TOU.pdf). Read-only. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Name of the agreement file (for example, TOU.pdf). Read-only. + * + * @param string $val The fileName + * + * @return AgreementFileProperties + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the isDefault + * If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only. + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only. + * + * @param bool $val The isDefault + * + * @return AgreementFileProperties + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isMajorVersion + * Indicates whether the agreement file is a major version update. Major version updates invalidate the agreement's acceptances on the corresponding language. + * + * @return bool|null The isMajorVersion + */ + public function getIsMajorVersion() + { + if (array_key_exists("isMajorVersion", $this->_propDict)) { + return $this->_propDict["isMajorVersion"]; + } else { + return null; + } + } + + /** + * Sets the isMajorVersion + * Indicates whether the agreement file is a major version update. Major version updates invalidate the agreement's acceptances on the corresponding language. + * + * @param bool $val The isMajorVersion + * + * @return AgreementFileProperties + */ + public function setIsMajorVersion($val) + { + $this->_propDict["isMajorVersion"] = boolval($val); + return $this; + } + + /** + * Gets the language + * The language of the agreement file in the format 'languagecode2-country/regioncode2'. 'languagecode2' is a lowercase two-letter code derived from ISO 639-1, while 'country/regioncode2' is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag. For example, U.S. English is en-US. Read-only. + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * The language of the agreement file in the format 'languagecode2-country/regioncode2'. 'languagecode2' is a lowercase two-letter code derived from ISO 639-1, while 'country/regioncode2' is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag. For example, U.S. English is en-US. Read-only. + * + * @param string $val The language + * + * @return AgreementFileProperties + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileVersion.php new file mode 100644 index 0000000..ef4f37d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileVersion.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["forceTls"]; + } else { + return null; + } + } + + /** + * Sets the forceTls + * If true AirPrint connections are secured by Transport Layer Security (TLS). Default is false. Available in iOS 11.0 and later. + * + * @param bool $val The value of the forceTls + * + * @return AirPrintDestination + */ + public function setForceTls($val) + { + $this->_propDict["forceTls"] = $val; + return $this; + } + /** + * Gets the ipAddress + * The IP Address of the AirPrint destination. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * The IP Address of the AirPrint destination. + * + * @param string $val The value of the ipAddress + * + * @return AirPrintDestination + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the port + * The listening port of the AirPrint destination. If this key is not specified AirPrint will use the default port. Available in iOS 11.0 and later. + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * The listening port of the AirPrint destination. If this key is not specified AirPrint will use the default port. Available in iOS 11.0 and later. + * + * @param int $val The value of the port + * + * @return AirPrintDestination + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } + /** + * Gets the resourcePath + * The Resource Path associated with the printer. This corresponds to the rp parameter of the _ipps.tcp Bonjour record. For example: printers/Canon_MG5300_series, printers/Xerox_Phaser_7600, ipp/print, Epson_IPP_Printer. + * + * @return string|null The resourcePath + */ + public function getResourcePath() + { + if (array_key_exists("resourcePath", $this->_propDict)) { + return $this->_propDict["resourcePath"]; + } else { + return null; + } + } + + /** + * Sets the resourcePath + * The Resource Path associated with the printer. This corresponds to the rp parameter of the _ipps.tcp Bonjour record. For example: printers/Canon_MG5300_series, printers/Xerox_Phaser_7600, ipp/print, Epson_IPP_Printer. + * + * @param string $val The value of the resourcePath + * + * @return AirPrintDestination + */ + public function setResourcePath($val) + { + $this->_propDict["resourcePath"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Album.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Album.php new file mode 100644 index 0000000..b30aaba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Album.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["coverImageItemId"]; + } else { + return null; + } + } + + /** + * Sets the coverImageItemId + * Unique identifier of the [driveItem][] that is the cover of the album. + * + * @param string $val The value of the coverImageItemId + * + * @return Album + */ + public function setCoverImageItemId($val) + { + $this->_propDict["coverImageItemId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php new file mode 100644 index 0000000..c22e36b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php @@ -0,0 +1,1200 @@ +_propDict)) { + return $this->_propDict["activityGroupName"]; + } else { + return null; + } + } + + /** + * Sets the activityGroupName + * Name or alias of the activity group (attacker) this alert is attributed to. + * + * @param string $val The activityGroupName + * + * @return Alert + */ + public function setActivityGroupName($val) + { + $this->_propDict["activityGroupName"] = $val; + return $this; + } + + + /** + * Gets the alertDetections + * + * @return array|null The alertDetections + */ + public function getAlertDetections() + { + if (array_key_exists("alertDetections", $this->_propDict)) { + return $this->_propDict["alertDetections"]; + } else { + return null; + } + } + + /** + * Sets the alertDetections + * + * @param AlertDetection[] $val The alertDetections + * + * @return Alert + */ + public function setAlertDetections($val) + { + $this->_propDict["alertDetections"] = $val; + return $this; + } + + /** + * Gets the assignedTo + * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). + * + * @return string|null The assignedTo + */ + public function getAssignedTo() + { + if (array_key_exists("assignedTo", $this->_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). + * + * @param string $val The assignedTo + * + * @return Alert + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the azureSubscriptionId + * Azure subscription ID, present if this alert is related to an Azure resource. + * + * @return string|null The azureSubscriptionId + */ + public function getAzureSubscriptionId() + { + if (array_key_exists("azureSubscriptionId", $this->_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * Azure subscription ID, present if this alert is related to an Azure resource. + * + * @param string $val The azureSubscriptionId + * + * @return Alert + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * Azure Active Directory tenant ID. Required. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * Azure Active Directory tenant ID. Required. + * + * @param string $val The azureTenantId + * + * @return Alert + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the category + * Category of the alert (for example, credentialTheft, ransomware, etc.). + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Category of the alert (for example, credentialTheft, ransomware, etc.). + * + * @param string $val The category + * + * @return Alert + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the closedDateTime + * Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update). + * + * @return \DateTime|null The closedDateTime + */ + public function getClosedDateTime() + { + if (array_key_exists("closedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { + return $this->_propDict["closedDateTime"]; + } else { + $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); + return $this->_propDict["closedDateTime"]; + } + } + return null; + } + + /** + * Sets the closedDateTime + * Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update). + * + * @param \DateTime $val The closedDateTime + * + * @return Alert + */ + public function setClosedDateTime($val) + { + $this->_propDict["closedDateTime"] = $val; + return $this; + } + + + /** + * Gets the cloudAppStates + * Security-related stateful information generated by the provider about the cloud application/s related to this alert. + * + * @return array|null The cloudAppStates + */ + public function getCloudAppStates() + { + if (array_key_exists("cloudAppStates", $this->_propDict)) { + return $this->_propDict["cloudAppStates"]; + } else { + return null; + } + } + + /** + * Sets the cloudAppStates + * Security-related stateful information generated by the provider about the cloud application/s related to this alert. + * + * @param CloudAppSecurityState[] $val The cloudAppStates + * + * @return Alert + */ + public function setCloudAppStates($val) + { + $this->_propDict["cloudAppStates"] = $val; + return $this; + } + + /** + * Gets the comments + * Customer-provided comments on alert (for customer alert management) (supports update). + * + * @return string|null The comments + */ + public function getComments() + { + if (array_key_exists("comments", $this->_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * Customer-provided comments on alert (for customer alert management) (supports update). + * + * @param string $val The comments + * + * @return Alert + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + + /** + * Gets the confidence + * Confidence of the detection logic (percentage between 1-100). + * + * @return int|null The confidence + */ + public function getConfidence() + { + if (array_key_exists("confidence", $this->_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * Confidence of the detection logic (percentage between 1-100). + * + * @param int $val The confidence + * + * @return Alert + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = intval($val); + return $this; + } + + /** + * Gets the createdDateTime + * Time at which the alert was created by the alert provider. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time at which the alert was created by the alert provider. 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 createdDateTime + * + * @return Alert + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Alert description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Alert description. + * + * @param string $val The description + * + * @return Alert + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the detectionIds + * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). + * + * @return string|null The detectionIds + */ + public function getDetectionIds() + { + if (array_key_exists("detectionIds", $this->_propDict)) { + return $this->_propDict["detectionIds"]; + } else { + return null; + } + } + + /** + * Sets the detectionIds + * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). + * + * @param string $val The detectionIds + * + * @return Alert + */ + public function setDetectionIds($val) + { + $this->_propDict["detectionIds"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 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 + * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 eventDateTime + * + * @return Alert + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the feedback + * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) + * + * @return AlertFeedback|null The feedback + */ + public function getFeedback() + { + if (array_key_exists("feedback", $this->_propDict)) { + if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\AlertFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) + * + * @param AlertFeedback $val The feedback + * + * @return Alert + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + + /** + * Gets the fileStates + * Security-related stateful information generated by the provider about the file(s) related to this alert. + * + * @return array|null The fileStates + */ + public function getFileStates() + { + if (array_key_exists("fileStates", $this->_propDict)) { + return $this->_propDict["fileStates"]; + } else { + return null; + } + } + + /** + * Sets the fileStates + * Security-related stateful information generated by the provider about the file(s) related to this alert. + * + * @param FileSecurityState[] $val The fileStates + * + * @return Alert + */ + public function setFileStates($val) + { + $this->_propDict["fileStates"] = $val; + return $this; + } + + + /** + * Gets the historyStates + * A collection of alertHistoryStates comprising an audit log of all updates made to an alert. + * + * @return array|null The historyStates + */ + public function getHistoryStates() + { + if (array_key_exists("historyStates", $this->_propDict)) { + return $this->_propDict["historyStates"]; + } else { + return null; + } + } + + /** + * Sets the historyStates + * A collection of alertHistoryStates comprising an audit log of all updates made to an alert. + * + * @param AlertHistoryState[] $val The historyStates + * + * @return Alert + */ + public function setHistoryStates($val) + { + $this->_propDict["historyStates"] = $val; + return $this; + } + + + /** + * Gets the hostStates + * Security-related stateful information generated by the provider about the host(s) related to this alert. + * + * @return array|null The hostStates + */ + public function getHostStates() + { + if (array_key_exists("hostStates", $this->_propDict)) { + return $this->_propDict["hostStates"]; + } else { + return null; + } + } + + /** + * Sets the hostStates + * Security-related stateful information generated by the provider about the host(s) related to this alert. + * + * @param HostSecurityState[] $val The hostStates + * + * @return Alert + */ + public function setHostStates($val) + { + $this->_propDict["hostStates"] = $val; + return $this; + } + + /** + * Gets the incidentIds + * IDs of incidents related to current alert. + * + * @return string|null The incidentIds + */ + public function getIncidentIds() + { + if (array_key_exists("incidentIds", $this->_propDict)) { + return $this->_propDict["incidentIds"]; + } else { + return null; + } + } + + /** + * Sets the incidentIds + * IDs of incidents related to current alert. + * + * @param string $val The incidentIds + * + * @return Alert + */ + public function setIncidentIds($val) + { + $this->_propDict["incidentIds"] = $val; + return $this; + } + + + /** + * Gets the investigationSecurityStates + * + * @return array|null The investigationSecurityStates + */ + public function getInvestigationSecurityStates() + { + if (array_key_exists("investigationSecurityStates", $this->_propDict)) { + return $this->_propDict["investigationSecurityStates"]; + } else { + return null; + } + } + + /** + * Sets the investigationSecurityStates + * + * @param InvestigationSecurityState[] $val The investigationSecurityStates + * + * @return Alert + */ + public function setInvestigationSecurityStates($val) + { + $this->_propDict["investigationSecurityStates"] = $val; + return $this; + } + + /** + * Gets the lastEventDateTime + * + * @return \DateTime|null The lastEventDateTime + */ + public function getLastEventDateTime() + { + if (array_key_exists("lastEventDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastEventDateTime"], "\DateTime") || is_null($this->_propDict["lastEventDateTime"])) { + return $this->_propDict["lastEventDateTime"]; + } else { + $this->_propDict["lastEventDateTime"] = new \DateTime($this->_propDict["lastEventDateTime"]); + return $this->_propDict["lastEventDateTime"]; + } + } + return null; + } + + /** + * Sets the lastEventDateTime + * + * @param \DateTime $val The lastEventDateTime + * + * @return Alert + */ + public function setLastEventDateTime($val) + { + $this->_propDict["lastEventDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Alert + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the malwareStates + * Threat Intelligence pertaining to malware related to this alert. + * + * @return array|null The malwareStates + */ + public function getMalwareStates() + { + if (array_key_exists("malwareStates", $this->_propDict)) { + return $this->_propDict["malwareStates"]; + } else { + return null; + } + } + + /** + * Sets the malwareStates + * Threat Intelligence pertaining to malware related to this alert. + * + * @param MalwareState[] $val The malwareStates + * + * @return Alert + */ + public function setMalwareStates($val) + { + $this->_propDict["malwareStates"] = $val; + return $this; + } + + + /** + * Gets the messageSecurityStates + * + * @return array|null The messageSecurityStates + */ + public function getMessageSecurityStates() + { + if (array_key_exists("messageSecurityStates", $this->_propDict)) { + return $this->_propDict["messageSecurityStates"]; + } else { + return null; + } + } + + /** + * Sets the messageSecurityStates + * + * @param MessageSecurityState[] $val The messageSecurityStates + * + * @return Alert + */ + public function setMessageSecurityStates($val) + { + $this->_propDict["messageSecurityStates"] = $val; + return $this; + } + + + /** + * Gets the networkConnections + * Security-related stateful information generated by the provider about the network connection(s) related to this alert. + * + * @return array|null The networkConnections + */ + public function getNetworkConnections() + { + if (array_key_exists("networkConnections", $this->_propDict)) { + return $this->_propDict["networkConnections"]; + } else { + return null; + } + } + + /** + * Sets the networkConnections + * Security-related stateful information generated by the provider about the network connection(s) related to this alert. + * + * @param NetworkConnection[] $val The networkConnections + * + * @return Alert + */ + public function setNetworkConnections($val) + { + $this->_propDict["networkConnections"] = $val; + return $this; + } + + + /** + * Gets the processes + * Security-related stateful information generated by the provider about the process or processes related to this alert. + * + * @return array|null The processes + */ + public function getProcesses() + { + if (array_key_exists("processes", $this->_propDict)) { + return $this->_propDict["processes"]; + } else { + return null; + } + } + + /** + * Sets the processes + * Security-related stateful information generated by the provider about the process or processes related to this alert. + * + * @param Process[] $val The processes + * + * @return Alert + */ + public function setProcesses($val) + { + $this->_propDict["processes"] = $val; + return $this; + } + + /** + * Gets the recommendedActions + * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + * + * @return string|null The recommendedActions + */ + public function getRecommendedActions() + { + if (array_key_exists("recommendedActions", $this->_propDict)) { + return $this->_propDict["recommendedActions"]; + } else { + return null; + } + } + + /** + * Sets the recommendedActions + * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + * + * @param string $val The recommendedActions + * + * @return Alert + */ + public function setRecommendedActions($val) + { + $this->_propDict["recommendedActions"] = $val; + return $this; + } + + + /** + * Gets the registryKeyStates + * Security-related stateful information generated by the provider about the registry keys related to this alert. + * + * @return array|null The registryKeyStates + */ + public function getRegistryKeyStates() + { + if (array_key_exists("registryKeyStates", $this->_propDict)) { + return $this->_propDict["registryKeyStates"]; + } else { + return null; + } + } + + /** + * Sets the registryKeyStates + * Security-related stateful information generated by the provider about the registry keys related to this alert. + * + * @param RegistryKeyState[] $val The registryKeyStates + * + * @return Alert + */ + public function setRegistryKeyStates($val) + { + $this->_propDict["registryKeyStates"] = $val; + return $this; + } + + + /** + * Gets the securityResources + * Resources related to current alert. For example, for some alerts this can have the Azure Resource value. + * + * @return array|null The securityResources + */ + public function getSecurityResources() + { + if (array_key_exists("securityResources", $this->_propDict)) { + return $this->_propDict["securityResources"]; + } else { + return null; + } + } + + /** + * Sets the securityResources + * Resources related to current alert. For example, for some alerts this can have the Azure Resource value. + * + * @param SecurityResource[] $val The securityResources + * + * @return Alert + */ + public function setSecurityResources($val) + { + $this->_propDict["securityResources"] = $val; + return $this; + } + + /** + * Gets the severity + * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required. + * + * @return AlertSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\AlertSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new AlertSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required. + * + * @param AlertSeverity $val The severity + * + * @return Alert + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + + /** + * Gets the sourceMaterials + * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. + * + * @return string|null The sourceMaterials + */ + public function getSourceMaterials() + { + if (array_key_exists("sourceMaterials", $this->_propDict)) { + return $this->_propDict["sourceMaterials"]; + } else { + return null; + } + } + + /** + * Sets the sourceMaterials + * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. + * + * @param string $val The sourceMaterials + * + * @return Alert + */ + public function setSourceMaterials($val) + { + $this->_propDict["sourceMaterials"] = $val; + return $this; + } + + /** + * Gets the status + * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required. + * + * @return AlertStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AlertStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AlertStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required. + * + * @param AlertStatus $val The status + * + * @return Alert + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the tags + * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). + * + * @param string $val The tags + * + * @return Alert + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the title + * Alert title. Required. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Alert title. Required. + * + * @param string $val The title + * + * @return Alert + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the triggers + * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation. + * + * @return array|null The triggers + */ + public function getTriggers() + { + if (array_key_exists("triggers", $this->_propDict)) { + return $this->_propDict["triggers"]; + } else { + return null; + } + } + + /** + * Sets the triggers + * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation. + * + * @param AlertTrigger[] $val The triggers + * + * @return Alert + */ + public function setTriggers($val) + { + $this->_propDict["triggers"] = $val; + return $this; + } + + + /** + * Gets the uriClickSecurityStates + * + * @return array|null The uriClickSecurityStates + */ + public function getUriClickSecurityStates() + { + if (array_key_exists("uriClickSecurityStates", $this->_propDict)) { + return $this->_propDict["uriClickSecurityStates"]; + } else { + return null; + } + } + + /** + * Sets the uriClickSecurityStates + * + * @param UriClickSecurityState[] $val The uriClickSecurityStates + * + * @return Alert + */ + public function setUriClickSecurityStates($val) + { + $this->_propDict["uriClickSecurityStates"] = $val; + return $this; + } + + + /** + * Gets the userStates + * Security-related stateful information generated by the provider about the user accounts related to this alert. + * + * @return array|null The userStates + */ + public function getUserStates() + { + if (array_key_exists("userStates", $this->_propDict)) { + return $this->_propDict["userStates"]; + } else { + return null; + } + } + + /** + * Sets the userStates + * Security-related stateful information generated by the provider about the user accounts related to this alert. + * + * @param UserSecurityState[] $val The userStates + * + * @return Alert + */ + public function setUserStates($val) + { + $this->_propDict["userStates"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required. + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required. + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return Alert + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + + + /** + * Gets the vulnerabilityStates + * Threat intelligence pertaining to one or more vulnerabilities related to this alert. + * + * @return array|null The vulnerabilityStates + */ + public function getVulnerabilityStates() + { + if (array_key_exists("vulnerabilityStates", $this->_propDict)) { + return $this->_propDict["vulnerabilityStates"]; + } else { + return null; + } + } + + /** + * Sets the vulnerabilityStates + * Threat intelligence pertaining to one or more vulnerabilities related to this alert. + * + * @param VulnerabilityState[] $val The vulnerabilityStates + * + * @return Alert + */ + public function setVulnerabilityStates($val) + { + $this->_propDict["vulnerabilityStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertDetection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertDetection.php new file mode 100644 index 0000000..53811fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertDetection.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["detectionType"]; + } else { + return null; + } + } + + /** + * Sets the detectionType + * + * @param string $val The value of the detectionType + * + * @return AlertDetection + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the method + * + * @return string|null The method + */ + public function getMethod() + { + if (array_key_exists("method", $this->_propDict)) { + return $this->_propDict["method"]; + } else { + return null; + } + } + + /** + * Sets the method + * + * @param string $val The value of the method + * + * @return AlertDetection + */ + public function setMethod($val) + { + $this->_propDict["method"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return AlertDetection + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertFeedback.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertFeedback.php new file mode 100644 index 0000000..a7ec77e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertFeedback.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The Application ID of the calling application that submitted an update (PATCH) to the alert. The appId should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The value of the appId + * + * @return AlertHistoryState + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the assignedTo + * UPN of user the alert was assigned to (note: alert.assignedTo only stores the last value/UPN). + * + * @return string|null The assignedTo + */ + public function getAssignedTo() + { + if (array_key_exists("assignedTo", $this->_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * UPN of user the alert was assigned to (note: alert.assignedTo only stores the last value/UPN). + * + * @param string $val The value of the assignedTo + * + * @return AlertHistoryState + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + /** + * Gets the comments + * Comment entered by signed-in user. + * + * @return string|null The comments + */ + public function getComments() + { + if (array_key_exists("comments", $this->_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * Comment entered by signed-in user. + * + * @param string $val The value of the comments + * + * @return AlertHistoryState + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + + /** + * Gets the feedback + * Analyst feedback on the alert in this update. Possible values are: unknown, truePositive, falsePositive, benignPositive. + * + * @return AlertFeedback|null The feedback + */ + public function getFeedback() + { + if (array_key_exists("feedback", $this->_propDict)) { + if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\AlertFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Analyst feedback on the alert in this update. Possible values are: unknown, truePositive, falsePositive, benignPositive. + * + * @param AlertFeedback $val The value to assign to the feedback + * + * @return AlertHistoryState The AlertHistoryState + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + /** + * Gets the status + * Alert status value (if updated). Possible values are: unknown, newAlert, inProgress, resolved, dismissed. + * + * @return AlertStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AlertStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AlertStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Alert status value (if updated). Possible values are: unknown, newAlert, inProgress, resolved, dismissed. + * + * @param AlertStatus $val The value to assign to the status + * + * @return AlertHistoryState The AlertHistoryState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the updatedDateTime + * Date and time of the alert update. 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 updatedDateTime + */ + public function getUpdatedDateTime() + { + if (array_key_exists("updatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["updatedDateTime"], "\DateTime") || is_null($this->_propDict["updatedDateTime"])) { + return $this->_propDict["updatedDateTime"]; + } else { + $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); + return $this->_propDict["updatedDateTime"]; + } + } + return null; + } + + /** + * Sets the updatedDateTime + * Date and time of the alert update. 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 updatedDateTime + * + * @return AlertHistoryState The AlertHistoryState + */ + public function setUpdatedDateTime($val) + { + $this->_propDict["updatedDateTime"] = $val; + return $this; + } + /** + * Gets the user + * UPN of the signed-in user that updated the alert (taken from the bearer token - if in user/delegated auth mode). + * + * @return string|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + return $this->_propDict["user"]; + } else { + return null; + } + } + + /** + * Sets the user + * UPN of the signed-in user that updated the alert (taken from the bearer token - if in user/delegated auth mode). + * + * @param string $val The value of the user + * + * @return AlertHistoryState + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertSeverity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertSeverity.php new file mode 100644 index 0000000..54c54b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertSeverity.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the property serving as a detection trigger. + * + * @param string $val The value of the name + * + * @return AlertTrigger + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * Type of the property in the key:value pair for interpretation. For example, String, Boolean etc. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the property in the key:value pair for interpretation. For example, String, Boolean etc. + * + * @param string $val The value of the type + * + * @return AlertTrigger + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * Value of the property serving as a detection trigger. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the property serving as a detection trigger. + * + * @param string $val The value of the value + * + * @return AlertTrigger + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alignment.php new file mode 100644 index 0000000..f25d4d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alignment.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.allDevicesAssignmentTarget"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllLicensedUsersAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllLicensedUsersAssignmentTarget.php new file mode 100644 index 0000000..d716387 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllLicensedUsersAssignmentTarget.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.allLicensedUsersAssignmentTarget"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowInvitesFrom.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowInvitesFrom.php new file mode 100644 index 0000000..71131ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowInvitesFrom.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * + * @param string $val The appId + * + * @return AllowedDataLocation + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the domain + * + * @return string|null The domain + */ + public function getDomain() + { + if (array_key_exists("domain", $this->_propDict)) { + return $this->_propDict["domain"]; + } else { + return null; + } + } + + /** + * Sets the domain + * + * @param string $val The domain + * + * @return AllowedDataLocation + */ + public function setDomain($val) + { + $this->_propDict["domain"] = $val; + return $this; + } + + /** + * Gets the isDefault + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * + * @param bool $val The isDefault + * + * @return AllowedDataLocation + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the location + * + * @return string|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * + * @param string $val The location + * + * @return AllowedDataLocation + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowedValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowedValue.php new file mode 100644 index 0000000..547c7c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowedValue.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. + * + * @param bool $val The isActive + * + * @return AllowedValue + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlterationResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlterationResponse.php new file mode 100644 index 0000000..041a07c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlterationResponse.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["originalQueryString"]; + } else { + return null; + } + } + + /** + * Sets the originalQueryString + * Defines the original user query string. + * + * @param string $val The value of the originalQueryString + * + * @return AlterationResponse + */ + public function setOriginalQueryString($val) + { + $this->_propDict["originalQueryString"] = $val; + return $this; + } + + /** + * Gets the queryAlteration + * Defines the details of alteration information for the spelling correction. + * + * @return SearchAlteration|null The queryAlteration + */ + public function getQueryAlteration() + { + if (array_key_exists("queryAlteration", $this->_propDict)) { + if (is_a($this->_propDict["queryAlteration"], "\Beta\Microsoft\Graph\Model\SearchAlteration") || is_null($this->_propDict["queryAlteration"])) { + return $this->_propDict["queryAlteration"]; + } else { + $this->_propDict["queryAlteration"] = new SearchAlteration($this->_propDict["queryAlteration"]); + return $this->_propDict["queryAlteration"]; + } + } + return null; + } + + /** + * Sets the queryAlteration + * Defines the details of alteration information for the spelling correction. + * + * @param SearchAlteration $val The value to assign to the queryAlteration + * + * @return AlterationResponse The AlterationResponse + */ + public function setQueryAlteration($val) + { + $this->_propDict["queryAlteration"] = $val; + return $this; + } + + /** + * Gets the queryAlterationType + * Defines the type of the spelling correction. Possible values are suggestion, modification. + * + * @return SearchAlterationType|null The queryAlterationType + */ + public function getQueryAlterationType() + { + if (array_key_exists("queryAlterationType", $this->_propDict)) { + if (is_a($this->_propDict["queryAlterationType"], "\Beta\Microsoft\Graph\Model\SearchAlterationType") || is_null($this->_propDict["queryAlterationType"])) { + return $this->_propDict["queryAlterationType"]; + } else { + $this->_propDict["queryAlterationType"] = new SearchAlterationType($this->_propDict["queryAlterationType"]); + return $this->_propDict["queryAlterationType"]; + } + } + return null; + } + + /** + * Sets the queryAlterationType + * Defines the type of the spelling correction. Possible values are suggestion, modification. + * + * @param SearchAlterationType $val The value to assign to the queryAlterationType + * + * @return AlterationResponse The AlterationResponse + */ + public function setQueryAlterationType($val) + { + $this->_propDict["queryAlterationType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlteredQueryToken.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlteredQueryToken.php new file mode 100644 index 0000000..516883f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlteredQueryToken.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["length"]; + } else { + return null; + } + } + + /** + * Sets the length + * Defines the length of a changed segment. + * + * @param int $val The value of the length + * + * @return AlteredQueryToken + */ + public function setLength($val) + { + $this->_propDict["length"] = $val; + return $this; + } + /** + * Gets the offset + * Defines the offset of a changed segment. + * + * @return int|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + return $this->_propDict["offset"]; + } else { + return null; + } + } + + /** + * Sets the offset + * Defines the offset of a changed segment. + * + * @param int $val The value of the offset + * + * @return AlteredQueryToken + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } + /** + * Gets the suggestion + * Represents the corrected segment string. + * + * @return string|null The suggestion + */ + public function getSuggestion() + { + if (array_key_exists("suggestion", $this->_propDict)) { + return $this->_propDict["suggestion"]; + } else { + return null; + } + } + + /** + * Sets the suggestion + * Represents the corrected segment string. + * + * @param string $val The value of the suggestion + * + * @return AlteredQueryToken + */ + public function setSuggestion($val) + { + $this->_propDict["suggestion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlternativeSecurityId.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlternativeSecurityId.php new file mode 100644 index 0000000..45d049f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlternativeSecurityId.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["identityProvider"]; + } else { + return null; + } + } + + /** + * Sets the identityProvider + * For internal use only + * + * @param string $val The value of the identityProvider + * + * @return AlternativeSecurityId + */ + public function setIdentityProvider($val) + { + $this->_propDict["identityProvider"] = $val; + return $this; + } + + /** + * Gets the key + * For internal use only + * + * @return \GuzzleHttp\Psr7\Stream|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * For internal use only + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key + * + * @return AlternativeSecurityId The AlternativeSecurityId + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the type + * For internal use only + * + * @return int|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * For internal use only + * + * @param int $val The value of the type + * + * @return AlternativeSecurityId + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnalyticsActivityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnalyticsActivityType.php new file mode 100644 index 0000000..ebd1bf4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnalyticsActivityType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return AndroidCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return AndroidCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return AndroidCertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return AndroidCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return AndroidCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return AndroidCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return AndroidTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new AndroidTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param AndroidTrustedRootCertificate $val The rootCertificate + * + * @return AndroidCertificateProfileBase + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCompliancePolicy.php new file mode 100644 index 0000000..809b20e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCompliancePolicy.php @@ -0,0 +1,827 @@ +_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionRequiredSecurityLevel + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The advancedThreatProtectionRequiredSecurityLevel + * + * @return AndroidCompliancePolicy + */ + public function setAdvancedThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the conditionStatementId + * Condition statement id. + * + * @return string|null The conditionStatementId + */ + public function getConditionStatementId() + { + if (array_key_exists("conditionStatementId", $this->_propDict)) { + return $this->_propDict["conditionStatementId"]; + } else { + return null; + } + } + + /** + * Sets the conditionStatementId + * Condition statement id. + * + * @param string $val The conditionStatementId + * + * @return AndroidCompliancePolicy + */ + public function setConditionStatementId($val) + { + $this->_propDict["conditionStatementId"] = $val; + return $this; + } + + /** + * Gets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @return bool|null The deviceThreatProtectionEnabled + */ + public function getDeviceThreatProtectionEnabled() + { + if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return AndroidCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return AndroidCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @return string|null The minAndroidSecurityPatchLevel + */ + public function getMinAndroidSecurityPatchLevel() + { + if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AndroidCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AndroidCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AndroidCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AndroidCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AndroidCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidCompliancePolicy + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the requiredPasswordComplexity + * Indicates the required password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 11+. Possible values are: none, low, medium, high. + * + * @return AndroidRequiredPasswordComplexity|null The requiredPasswordComplexity + */ + public function getRequiredPasswordComplexity() + { + if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) { + if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["requiredPasswordComplexity"])) { + return $this->_propDict["requiredPasswordComplexity"]; + } else { + $this->_propDict["requiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["requiredPasswordComplexity"]); + return $this->_propDict["requiredPasswordComplexity"]; + } + } + return null; + } + + /** + * Sets the requiredPasswordComplexity + * Indicates the required password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 11+. Possible values are: none, low, medium, high. + * + * @param AndroidRequiredPasswordComplexity $val The requiredPasswordComplexity + * + * @return AndroidCompliancePolicy + */ + public function setRequiredPasswordComplexity($val) + { + $this->_propDict["requiredPasswordComplexity"] = $val; + return $this; + } + + + /** + * Gets the restrictedApps + * Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. + * + * @return array|null The restrictedApps + */ + public function getRestrictedApps() + { + if (array_key_exists("restrictedApps", $this->_propDict)) { + return $this->_propDict["restrictedApps"]; + } else { + return null; + } + } + + /** + * Sets the restrictedApps + * Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. + * + * @param AppListItem[] $val The restrictedApps + * + * @return AndroidCompliancePolicy + */ + public function setRestrictedApps($val) + { + $this->_propDict["restrictedApps"] = $val; + return $this; + } + + /** + * Gets the securityBlockDeviceAdministratorManagedDevices + * Block device administrator managed devices. + * + * @return bool|null The securityBlockDeviceAdministratorManagedDevices + */ + public function getSecurityBlockDeviceAdministratorManagedDevices() + { + if (array_key_exists("securityBlockDeviceAdministratorManagedDevices", $this->_propDict)) { + return $this->_propDict["securityBlockDeviceAdministratorManagedDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockDeviceAdministratorManagedDevices + * Block device administrator managed devices. + * + * @param bool $val The securityBlockDeviceAdministratorManagedDevices + * + * @return AndroidCompliancePolicy + */ + public function setSecurityBlockDeviceAdministratorManagedDevices($val) + { + $this->_propDict["securityBlockDeviceAdministratorManagedDevices"] = boolval($val); + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return AndroidCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + + /** + * Gets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @return bool|null The securityDisableUsbDebugging + */ + public function getSecurityDisableUsbDebugging() + { + if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) { + return $this->_propDict["securityDisableUsbDebugging"]; + } else { + return null; + } + } + + /** + * Sets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @param bool $val The securityDisableUsbDebugging + * + * @return AndroidCompliancePolicy + */ + public function setSecurityDisableUsbDebugging($val) + { + $this->_propDict["securityDisableUsbDebugging"] = boolval($val); + return $this; + } + + /** + * Gets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @return bool|null The securityPreventInstallAppsFromUnknownSources + */ + public function getSecurityPreventInstallAppsFromUnknownSources() + { + if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["securityPreventInstallAppsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @param bool $val The securityPreventInstallAppsFromUnknownSources + * + * @return AndroidCompliancePolicy + */ + public function setSecurityPreventInstallAppsFromUnknownSources($val) + { + $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @return bool|null The securityRequireCompanyPortalAppIntegrity + */ + public function getSecurityRequireCompanyPortalAppIntegrity() + { + if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireCompanyPortalAppIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @param bool $val The securityRequireCompanyPortalAppIntegrity + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireCompanyPortalAppIntegrity($val) + { + $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @return bool|null The securityRequireGooglePlayServices + */ + public function getSecurityRequireGooglePlayServices() + { + if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) { + return $this->_propDict["securityRequireGooglePlayServices"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @param bool $val The securityRequireGooglePlayServices + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireGooglePlayServices($val) + { + $this->_propDict["securityRequireGooglePlayServices"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @return bool|null The securityRequireSafetyNetAttestationBasicIntegrity + */ + public function getSecurityRequireSafetyNetAttestationBasicIntegrity() + { + if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val) + { + $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @return bool|null The securityRequireSafetyNetAttestationCertifiedDevice + */ + public function getSecurityRequireSafetyNetAttestationCertifiedDevice() + { + if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val) + { + $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @return bool|null The securityRequireUpToDateSecurityProviders + */ + public function getSecurityRequireUpToDateSecurityProviders() + { + if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) { + return $this->_propDict["securityRequireUpToDateSecurityProviders"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @param bool $val The securityRequireUpToDateSecurityProviders + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireUpToDateSecurityProviders($val) + { + $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AndroidCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCustomConfiguration.php new file mode 100644 index 0000000..1bfcaa0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCustomConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 1000 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return AndroidCustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionBase.php new file mode 100644 index 0000000..688fabc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionBase.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["gracePeriodInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the gracePeriodInMinutes + * Number of minutes to wait till a local action is enforced. Valid values 0 to 2147483647 + * + * @param int $val The gracePeriodInMinutes + * + * @return AndroidDeviceComplianceLocalActionBase + */ + public function setGracePeriodInMinutes($val) + { + $this->_propDict["gracePeriodInMinutes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionLockDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionLockDevice.php new file mode 100644 index 0000000..af60142 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionLockDevice.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["passcode"]; + } else { + return null; + } + } + + /** + * Sets the passcode + * Passcode to reset to Android device. This property is read-only. + * + * @param string $val The passcode + * + * @return AndroidDeviceComplianceLocalActionLockDeviceWithPasscode + */ + public function setPasscode($val) + { + $this->_propDict["passcode"] = $val; + return $this; + } + + /** + * Gets the passcodeSignInFailureCountBeforeWipe + * Number of sign in failures before wiping device, the value can be 4-11. Valid values 4 to 11 + * + * @return int|null The passcodeSignInFailureCountBeforeWipe + */ + public function getPasscodeSignInFailureCountBeforeWipe() + { + if (array_key_exists("passcodeSignInFailureCountBeforeWipe", $this->_propDict)) { + return $this->_propDict["passcodeSignInFailureCountBeforeWipe"]; + } else { + return null; + } + } + + /** + * Sets the passcodeSignInFailureCountBeforeWipe + * Number of sign in failures before wiping device, the value can be 4-11. Valid values 4 to 11 + * + * @param int $val The passcodeSignInFailureCountBeforeWipe + * + * @return AndroidDeviceComplianceLocalActionLockDeviceWithPasscode + */ + public function setPasscodeSignInFailureCountBeforeWipe($val) + { + $this->_propDict["passcodeSignInFailureCountBeforeWipe"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerAppAutoUpdatePolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerAppAutoUpdatePolicyType.php new file mode 100644 index 0000000..ff7d987 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerAppAutoUpdatePolicyType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return AndroidDeviceOwnerTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new AndroidDeviceOwnerTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param AndroidDeviceOwnerTrustedRootCertificate $val The rootCertificate + * + * @return AndroidDeviceOwnerCertificateProfileBase + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCompliancePolicy.php new file mode 100644 index 0000000..2135462 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCompliancePolicy.php @@ -0,0 +1,677 @@ +_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionRequiredSecurityLevel + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The advancedThreatProtectionRequiredSecurityLevel + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setAdvancedThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @return bool|null The deviceThreatProtectionEnabled + */ + public function getDeviceThreatProtectionEnabled() + { + if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @return string|null The minAndroidSecurityPatchLevel + */ + public function getMinAndroidSecurityPatchLevel() + { + if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLetterCharacters + * Indicates the minimum number of letter characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumLetterCharacters + */ + public function getPasswordMinimumLetterCharacters() + { + if (array_key_exists("passwordMinimumLetterCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLetterCharacters + * Indicates the minimum number of letter characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumLetterCharacters + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumLetterCharacters($val) + { + $this->_propDict["passwordMinimumLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLowerCaseCharacters + * Indicates the minimum number of lower case characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumLowerCaseCharacters + */ + public function getPasswordMinimumLowerCaseCharacters() + { + if (array_key_exists("passwordMinimumLowerCaseCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumLowerCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLowerCaseCharacters + * Indicates the minimum number of lower case characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumLowerCaseCharacters + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumLowerCaseCharacters($val) + { + $this->_propDict["passwordMinimumLowerCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumNonLetterCharacters + * Indicates the minimum number of non-letter characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumNonLetterCharacters + */ + public function getPasswordMinimumNonLetterCharacters() + { + if (array_key_exists("passwordMinimumNonLetterCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumNonLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumNonLetterCharacters + * Indicates the minimum number of non-letter characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumNonLetterCharacters + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumNonLetterCharacters($val) + { + $this->_propDict["passwordMinimumNonLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumNumericCharacters + * Indicates the minimum number of numeric characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumNumericCharacters + */ + public function getPasswordMinimumNumericCharacters() + { + if (array_key_exists("passwordMinimumNumericCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumNumericCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumNumericCharacters + * Indicates the minimum number of numeric characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumNumericCharacters + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumNumericCharacters($val) + { + $this->_propDict["passwordMinimumNumericCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumSymbolCharacters + * Indicates the minimum number of symbol characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumSymbolCharacters + */ + public function getPasswordMinimumSymbolCharacters() + { + if (array_key_exists("passwordMinimumSymbolCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumSymbolCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumSymbolCharacters + * Indicates the minimum number of symbol characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumSymbolCharacters + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumSymbolCharacters($val) + { + $this->_propDict["passwordMinimumSymbolCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumUpperCaseCharacters + * Indicates the minimum number of upper case letter characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumUpperCaseCharacters + */ + public function getPasswordMinimumUpperCaseCharacters() + { + if (array_key_exists("passwordMinimumUpperCaseCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumUpperCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumUpperCaseCharacters + * Indicates the minimum number of upper case letter characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumUpperCaseCharacters + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumUpperCaseCharacters($val) + { + $this->_propDict["passwordMinimumUpperCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordCountToBlock + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordCountToBlock + */ + public function getPasswordPreviousPasswordCountToBlock() + { + if (array_key_exists("passwordPreviousPasswordCountToBlock", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordCountToBlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordCountToBlock + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordCountToBlock + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordPreviousPasswordCountToBlock($val) + { + $this->_propDict["passwordPreviousPasswordCountToBlock"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @return AndroidDeviceOwnerRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidDeviceOwnerRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @param AndroidDeviceOwnerRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the securityRequireIntuneAppIntegrity + * If setting is set to true, checks that the Intune app installed on fully managed, dedicated, or corporate-owned work profile Android Enterprise enrolled devices, is the one provided by Microsoft from the Managed Google Playstore. If the check fails, the device will be reported as non-compliant. + * + * @return bool|null The securityRequireIntuneAppIntegrity + */ + public function getSecurityRequireIntuneAppIntegrity() + { + if (array_key_exists("securityRequireIntuneAppIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireIntuneAppIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireIntuneAppIntegrity + * If setting is set to true, checks that the Intune app installed on fully managed, dedicated, or corporate-owned work profile Android Enterprise enrolled devices, is the one provided by Microsoft from the Managed Google Playstore. If the check fails, the device will be reported as non-compliant. + * + * @param bool $val The securityRequireIntuneAppIntegrity + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setSecurityRequireIntuneAppIntegrity($val) + { + $this->_propDict["securityRequireIntuneAppIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @return bool|null The securityRequireSafetyNetAttestationBasicIntegrity + */ + public function getSecurityRequireSafetyNetAttestationBasicIntegrity() + { + if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val) + { + $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @return bool|null The securityRequireSafetyNetAttestationCertifiedDevice + */ + public function getSecurityRequireSafetyNetAttestationCertifiedDevice() + { + if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val) + { + $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AndroidDeviceOwnerCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCrossProfileDataSharing.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCrossProfileDataSharing.php new file mode 100644 index 0000000..245fb8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCrossProfileDataSharing.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return AndroidDeviceOwnerDerivedCredentialAuthenticationConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentMode.php new file mode 100644 index 0000000..b9de4b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentMode.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * Tenant GUID the enrollment profile belongs to. + * + * @param string $val The accountId + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date time the enrollment profile was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date time the enrollment profile was created. + * + * @param \DateTime $val The createdDateTime + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description for the enrollment profile. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the enrollment profile. + * + * @param string $val The description + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the enrollment profile. + * + * @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 + * Display name for the enrollment profile. + * + * @param string $val The displayName + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enrolledDeviceCount + * Total number of Android devices that have enrolled using this enrollment profile. + * + * @return int|null The enrolledDeviceCount + */ + public function getEnrolledDeviceCount() + { + if (array_key_exists("enrolledDeviceCount", $this->_propDict)) { + return $this->_propDict["enrolledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the enrolledDeviceCount + * Total number of Android devices that have enrolled using this enrollment profile. + * + * @param int $val The enrolledDeviceCount + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setEnrolledDeviceCount($val) + { + $this->_propDict["enrolledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the enrollmentMode + * The enrollment mode of devices that use this enrollment profile. Possible values are: corporateOwnedDedicatedDevice, corporateOwnedFullyManaged, corporateOwnedWorkProfile, corporateOwnedAOSPUserlessDevice, corporateOwnedAOSPUserAssociatedDevice. + * + * @return AndroidDeviceOwnerEnrollmentMode|null The enrollmentMode + */ + public function getEnrollmentMode() + { + if (array_key_exists("enrollmentMode", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentMode"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerEnrollmentMode") || is_null($this->_propDict["enrollmentMode"])) { + return $this->_propDict["enrollmentMode"]; + } else { + $this->_propDict["enrollmentMode"] = new AndroidDeviceOwnerEnrollmentMode($this->_propDict["enrollmentMode"]); + return $this->_propDict["enrollmentMode"]; + } + } + return null; + } + + /** + * Sets the enrollmentMode + * The enrollment mode of devices that use this enrollment profile. Possible values are: corporateOwnedDedicatedDevice, corporateOwnedFullyManaged, corporateOwnedWorkProfile, corporateOwnedAOSPUserlessDevice, corporateOwnedAOSPUserAssociatedDevice. + * + * @param AndroidDeviceOwnerEnrollmentMode $val The enrollmentMode + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setEnrollmentMode($val) + { + $this->_propDict["enrollmentMode"] = $val; + return $this; + } + + /** + * Gets the enrollmentTokenType + * The enrollment token type for an enrollment profile. Possible values are: default, corporateOwnedDedicatedDeviceWithAzureADSharedMode. + * + * @return AndroidDeviceOwnerEnrollmentTokenType|null The enrollmentTokenType + */ + public function getEnrollmentTokenType() + { + if (array_key_exists("enrollmentTokenType", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentTokenType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerEnrollmentTokenType") || is_null($this->_propDict["enrollmentTokenType"])) { + return $this->_propDict["enrollmentTokenType"]; + } else { + $this->_propDict["enrollmentTokenType"] = new AndroidDeviceOwnerEnrollmentTokenType($this->_propDict["enrollmentTokenType"]); + return $this->_propDict["enrollmentTokenType"]; + } + } + return null; + } + + /** + * Sets the enrollmentTokenType + * The enrollment token type for an enrollment profile. Possible values are: default, corporateOwnedDedicatedDeviceWithAzureADSharedMode. + * + * @param AndroidDeviceOwnerEnrollmentTokenType $val The enrollmentTokenType + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setEnrollmentTokenType($val) + { + $this->_propDict["enrollmentTokenType"] = $val; + return $this; + } + + /** + * Gets the enrollmentTokenUsageCount + * Total number of AOSP devices that have enrolled using the current token. + * + * @return int|null The enrollmentTokenUsageCount + */ + public function getEnrollmentTokenUsageCount() + { + if (array_key_exists("enrollmentTokenUsageCount", $this->_propDict)) { + return $this->_propDict["enrollmentTokenUsageCount"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentTokenUsageCount + * Total number of AOSP devices that have enrolled using the current token. + * + * @param int $val The enrollmentTokenUsageCount + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setEnrollmentTokenUsageCount($val) + { + $this->_propDict["enrollmentTokenUsageCount"] = intval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date time the enrollment profile was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date time the enrollment profile was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the qrCodeContent + * String used to generate a QR code for the token. + * + * @return string|null The qrCodeContent + */ + public function getQrCodeContent() + { + if (array_key_exists("qrCodeContent", $this->_propDict)) { + return $this->_propDict["qrCodeContent"]; + } else { + return null; + } + } + + /** + * Sets the qrCodeContent + * String used to generate a QR code for the token. + * + * @param string $val The qrCodeContent + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setQrCodeContent($val) + { + $this->_propDict["qrCodeContent"] = $val; + return $this; + } + + /** + * Gets the qrCodeImage + * String used to generate a QR code for the token. + * + * @return MimeContent|null The qrCodeImage + */ + public function getQrCodeImage() + { + if (array_key_exists("qrCodeImage", $this->_propDict)) { + if (is_a($this->_propDict["qrCodeImage"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["qrCodeImage"])) { + return $this->_propDict["qrCodeImage"]; + } else { + $this->_propDict["qrCodeImage"] = new MimeContent($this->_propDict["qrCodeImage"]); + return $this->_propDict["qrCodeImage"]; + } + } + return null; + } + + /** + * Sets the qrCodeImage + * String used to generate a QR code for the token. + * + * @param MimeContent $val The qrCodeImage + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setQrCodeImage($val) + { + $this->_propDict["qrCodeImage"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the tokenCreationDateTime + * Date time the most recently created token was created. + * + * @return \DateTime|null The tokenCreationDateTime + */ + public function getTokenCreationDateTime() + { + if (array_key_exists("tokenCreationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["tokenCreationDateTime"], "\DateTime") || is_null($this->_propDict["tokenCreationDateTime"])) { + return $this->_propDict["tokenCreationDateTime"]; + } else { + $this->_propDict["tokenCreationDateTime"] = new \DateTime($this->_propDict["tokenCreationDateTime"]); + return $this->_propDict["tokenCreationDateTime"]; + } + } + return null; + } + + /** + * Sets the tokenCreationDateTime + * Date time the most recently created token was created. + * + * @param \DateTime $val The tokenCreationDateTime + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setTokenCreationDateTime($val) + { + $this->_propDict["tokenCreationDateTime"] = $val; + return $this; + } + + /** + * Gets the tokenExpirationDateTime + * Date time the most recently created token will expire. + * + * @return \DateTime|null The tokenExpirationDateTime + */ + public function getTokenExpirationDateTime() + { + if (array_key_exists("tokenExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["tokenExpirationDateTime"], "\DateTime") || is_null($this->_propDict["tokenExpirationDateTime"])) { + return $this->_propDict["tokenExpirationDateTime"]; + } else { + $this->_propDict["tokenExpirationDateTime"] = new \DateTime($this->_propDict["tokenExpirationDateTime"]); + return $this->_propDict["tokenExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the tokenExpirationDateTime + * Date time the most recently created token will expire. + * + * @param \DateTime $val The tokenExpirationDateTime + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setTokenExpirationDateTime($val) + { + $this->_propDict["tokenExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the tokenValue + * Value of the most recently created token for this enrollment profile. + * + * @return string|null The tokenValue + */ + public function getTokenValue() + { + if (array_key_exists("tokenValue", $this->_propDict)) { + return $this->_propDict["tokenValue"]; + } else { + return null; + } + } + + /** + * Sets the tokenValue + * Value of the most recently created token for this enrollment profile. + * + * @param string $val The tokenValue + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setTokenValue($val) + { + $this->_propDict["tokenValue"] = $val; + return $this; + } + + /** + * Gets the wifiHidden + * Boolean that indicates if hidden wifi networks are enabled + * + * @return bool|null The wifiHidden + */ + public function getWifiHidden() + { + if (array_key_exists("wifiHidden", $this->_propDict)) { + return $this->_propDict["wifiHidden"]; + } else { + return null; + } + } + + /** + * Sets the wifiHidden + * Boolean that indicates if hidden wifi networks are enabled + * + * @param bool $val The wifiHidden + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setWifiHidden($val) + { + $this->_propDict["wifiHidden"] = boolval($val); + return $this; + } + + /** + * Gets the wifiPassword + * String that contains the wi-fi login password + * + * @return string|null The wifiPassword + */ + public function getWifiPassword() + { + if (array_key_exists("wifiPassword", $this->_propDict)) { + return $this->_propDict["wifiPassword"]; + } else { + return null; + } + } + + /** + * Sets the wifiPassword + * String that contains the wi-fi login password + * + * @param string $val The wifiPassword + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setWifiPassword($val) + { + $this->_propDict["wifiPassword"] = $val; + return $this; + } + + /** + * Gets the wifiSecurityType + * String that contains the wi-fi security type. Possible values are: none, wpa, wep. + * + * @return AospWifiSecurityType|null The wifiSecurityType + */ + public function getWifiSecurityType() + { + if (array_key_exists("wifiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wifiSecurityType"], "\Beta\Microsoft\Graph\Model\AospWifiSecurityType") || is_null($this->_propDict["wifiSecurityType"])) { + return $this->_propDict["wifiSecurityType"]; + } else { + $this->_propDict["wifiSecurityType"] = new AospWifiSecurityType($this->_propDict["wifiSecurityType"]); + return $this->_propDict["wifiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wifiSecurityType + * String that contains the wi-fi security type. Possible values are: none, wpa, wep. + * + * @param AospWifiSecurityType $val The wifiSecurityType + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setWifiSecurityType($val) + { + $this->_propDict["wifiSecurityType"] = $val; + return $this; + } + + /** + * Gets the wifiSsid + * String that contains the wi-fi login ssid + * + * @return string|null The wifiSsid + */ + public function getWifiSsid() + { + if (array_key_exists("wifiSsid", $this->_propDict)) { + return $this->_propDict["wifiSsid"]; + } else { + return null; + } + } + + /** + * Sets the wifiSsid + * String that contains the wi-fi login ssid + * + * @param string $val The wifiSsid + * + * @return AndroidDeviceOwnerEnrollmentProfile + */ + public function setWifiSsid($val) + { + $this->_propDict["wifiSsid"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentProfileType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentProfileType.php new file mode 100644 index 0000000..17f23a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentProfileType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @return AndroidEapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new AndroidEapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @param AndroidEapType $val The eapType + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForPeap|null The innerAuthenticationProtocolForPeap + */ + public function getInnerAuthenticationProtocolForPeap() + { + if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap") || is_null($this->_propDict["innerAuthenticationProtocolForPeap"])) { + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } else { + $this->_propDict["innerAuthenticationProtocolForPeap"] = new NonEapAuthenticationMethodForPeap($this->_propDict["innerAuthenticationProtocolForPeap"]); + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForPeap $val The innerAuthenticationProtocolForPeap + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForPeap($val) + { + $this->_propDict["innerAuthenticationProtocolForPeap"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @return DeviceManagementDerivedCredentialSettings|null The derivedCredentialSettings + */ + public function getDerivedCredentialSettings() + { + if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @return AndroidDeviceOwnerCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new AndroidDeviceOwnerCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @param AndroidDeviceOwnerCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @return AndroidDeviceOwnerTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new AndroidDeviceOwnerTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @param AndroidDeviceOwnerTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php new file mode 100644 index 0000000..33b8505 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php @@ -0,0 +1,3926 @@ +_propDict)) { + return $this->_propDict["accountsBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the accountsBlockModification + * Indicates whether or not adding or removing accounts is disabled. + * + * @param bool $val The accountsBlockModification + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAccountsBlockModification($val) + { + $this->_propDict["accountsBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the appsAllowInstallFromUnknownSources + * Indicates whether or not the user is allowed to enable to unknown sources setting. + * + * @return bool|null The appsAllowInstallFromUnknownSources + */ + public function getAppsAllowInstallFromUnknownSources() + { + if (array_key_exists("appsAllowInstallFromUnknownSources", $this->_propDict)) { + return $this->_propDict["appsAllowInstallFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the appsAllowInstallFromUnknownSources + * Indicates whether or not the user is allowed to enable to unknown sources setting. + * + * @param bool $val The appsAllowInstallFromUnknownSources + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAppsAllowInstallFromUnknownSources($val) + { + $this->_propDict["appsAllowInstallFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the appsAutoUpdatePolicy + * Indicates the value of the app auto update policy. Possible values are: notConfigured, userChoice, never, wiFiOnly, always. + * + * @return AndroidDeviceOwnerAppAutoUpdatePolicyType|null The appsAutoUpdatePolicy + */ + public function getAppsAutoUpdatePolicy() + { + if (array_key_exists("appsAutoUpdatePolicy", $this->_propDict)) { + if (is_a($this->_propDict["appsAutoUpdatePolicy"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerAppAutoUpdatePolicyType") || is_null($this->_propDict["appsAutoUpdatePolicy"])) { + return $this->_propDict["appsAutoUpdatePolicy"]; + } else { + $this->_propDict["appsAutoUpdatePolicy"] = new AndroidDeviceOwnerAppAutoUpdatePolicyType($this->_propDict["appsAutoUpdatePolicy"]); + return $this->_propDict["appsAutoUpdatePolicy"]; + } + } + return null; + } + + /** + * Sets the appsAutoUpdatePolicy + * Indicates the value of the app auto update policy. Possible values are: notConfigured, userChoice, never, wiFiOnly, always. + * + * @param AndroidDeviceOwnerAppAutoUpdatePolicyType $val The appsAutoUpdatePolicy + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAppsAutoUpdatePolicy($val) + { + $this->_propDict["appsAutoUpdatePolicy"] = $val; + return $this; + } + + /** + * Gets the appsDefaultPermissionPolicy + * Indicates the permission policy for requests for runtime permissions if one is not defined for the app specifically. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @return AndroidDeviceOwnerDefaultAppPermissionPolicyType|null The appsDefaultPermissionPolicy + */ + public function getAppsDefaultPermissionPolicy() + { + if (array_key_exists("appsDefaultPermissionPolicy", $this->_propDict)) { + if (is_a($this->_propDict["appsDefaultPermissionPolicy"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerDefaultAppPermissionPolicyType") || is_null($this->_propDict["appsDefaultPermissionPolicy"])) { + return $this->_propDict["appsDefaultPermissionPolicy"]; + } else { + $this->_propDict["appsDefaultPermissionPolicy"] = new AndroidDeviceOwnerDefaultAppPermissionPolicyType($this->_propDict["appsDefaultPermissionPolicy"]); + return $this->_propDict["appsDefaultPermissionPolicy"]; + } + } + return null; + } + + /** + * Sets the appsDefaultPermissionPolicy + * Indicates the permission policy for requests for runtime permissions if one is not defined for the app specifically. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @param AndroidDeviceOwnerDefaultAppPermissionPolicyType $val The appsDefaultPermissionPolicy + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAppsDefaultPermissionPolicy($val) + { + $this->_propDict["appsDefaultPermissionPolicy"] = $val; + return $this; + } + + /** + * Gets the appsRecommendSkippingFirstUseHints + * Whether or not to recommend all apps skip any first-time-use hints they may have added. + * + * @return bool|null The appsRecommendSkippingFirstUseHints + */ + public function getAppsRecommendSkippingFirstUseHints() + { + if (array_key_exists("appsRecommendSkippingFirstUseHints", $this->_propDict)) { + return $this->_propDict["appsRecommendSkippingFirstUseHints"]; + } else { + return null; + } + } + + /** + * Sets the appsRecommendSkippingFirstUseHints + * Whether or not to recommend all apps skip any first-time-use hints they may have added. + * + * @param bool $val The appsRecommendSkippingFirstUseHints + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAppsRecommendSkippingFirstUseHints($val) + { + $this->_propDict["appsRecommendSkippingFirstUseHints"] = boolval($val); + return $this; + } + + + /** + * Gets the azureAdSharedDeviceDataClearApps + * A list of managed apps that will have their data cleared during a global sign-out in AAD shared device mode. This collection can contain a maximum of 500 elements. + * + * @return array|null The azureAdSharedDeviceDataClearApps + */ + public function getAzureAdSharedDeviceDataClearApps() + { + if (array_key_exists("azureAdSharedDeviceDataClearApps", $this->_propDict)) { + return $this->_propDict["azureAdSharedDeviceDataClearApps"]; + } else { + return null; + } + } + + /** + * Sets the azureAdSharedDeviceDataClearApps + * A list of managed apps that will have their data cleared during a global sign-out in AAD shared device mode. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The azureAdSharedDeviceDataClearApps + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setAzureAdSharedDeviceDataClearApps($val) + { + $this->_propDict["azureAdSharedDeviceDataClearApps"] = $val; + return $this; + } + + /** + * Gets the bluetoothBlockConfiguration + * Indicates whether or not to block a user from configuring bluetooth. + * + * @return bool|null The bluetoothBlockConfiguration + */ + public function getBluetoothBlockConfiguration() + { + if (array_key_exists("bluetoothBlockConfiguration", $this->_propDict)) { + return $this->_propDict["bluetoothBlockConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockConfiguration + * Indicates whether or not to block a user from configuring bluetooth. + * + * @param bool $val The bluetoothBlockConfiguration + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setBluetoothBlockConfiguration($val) + { + $this->_propDict["bluetoothBlockConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockContactSharing + * Indicates whether or not to block a user from sharing contacts via bluetooth. + * + * @return bool|null The bluetoothBlockContactSharing + */ + public function getBluetoothBlockContactSharing() + { + if (array_key_exists("bluetoothBlockContactSharing", $this->_propDict)) { + return $this->_propDict["bluetoothBlockContactSharing"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockContactSharing + * Indicates whether or not to block a user from sharing contacts via bluetooth. + * + * @param bool $val The bluetoothBlockContactSharing + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setBluetoothBlockContactSharing($val) + { + $this->_propDict["bluetoothBlockContactSharing"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to disable the use of the camera. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to disable the use of the camera. + * + * @param bool $val The cameraBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockWiFiTethering + * Indicates whether or not to block Wi-Fi tethering. + * + * @return bool|null The cellularBlockWiFiTethering + */ + public function getCellularBlockWiFiTethering() + { + if (array_key_exists("cellularBlockWiFiTethering", $this->_propDict)) { + return $this->_propDict["cellularBlockWiFiTethering"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockWiFiTethering + * Indicates whether or not to block Wi-Fi tethering. + * + * @param bool $val The cellularBlockWiFiTethering + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setCellularBlockWiFiTethering($val) + { + $this->_propDict["cellularBlockWiFiTethering"] = boolval($val); + return $this; + } + + /** + * Gets the certificateCredentialConfigurationDisabled + * Indicates whether or not to block users from any certificate credential configuration. + * + * @return bool|null The certificateCredentialConfigurationDisabled + */ + public function getCertificateCredentialConfigurationDisabled() + { + if (array_key_exists("certificateCredentialConfigurationDisabled", $this->_propDict)) { + return $this->_propDict["certificateCredentialConfigurationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the certificateCredentialConfigurationDisabled + * Indicates whether or not to block users from any certificate credential configuration. + * + * @param bool $val The certificateCredentialConfigurationDisabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setCertificateCredentialConfigurationDisabled($val) + { + $this->_propDict["certificateCredentialConfigurationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the crossProfilePoliciesAllowCopyPaste + * Indicates whether or not text copied from one profile (personal or work) can be pasted in the other. + * + * @return bool|null The crossProfilePoliciesAllowCopyPaste + */ + public function getCrossProfilePoliciesAllowCopyPaste() + { + if (array_key_exists("crossProfilePoliciesAllowCopyPaste", $this->_propDict)) { + return $this->_propDict["crossProfilePoliciesAllowCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the crossProfilePoliciesAllowCopyPaste + * Indicates whether or not text copied from one profile (personal or work) can be pasted in the other. + * + * @param bool $val The crossProfilePoliciesAllowCopyPaste + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setCrossProfilePoliciesAllowCopyPaste($val) + { + $this->_propDict["crossProfilePoliciesAllowCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the crossProfilePoliciesAllowDataSharing + * Indicates whether data from one profile (personal or work) can be shared with apps in the other profile. Possible values are: notConfigured, crossProfileDataSharingBlocked, dataSharingFromWorkToPersonalBlocked, crossProfileDataSharingAllowed, unkownFutureValue. + * + * @return AndroidDeviceOwnerCrossProfileDataSharing|null The crossProfilePoliciesAllowDataSharing + */ + public function getCrossProfilePoliciesAllowDataSharing() + { + if (array_key_exists("crossProfilePoliciesAllowDataSharing", $this->_propDict)) { + if (is_a($this->_propDict["crossProfilePoliciesAllowDataSharing"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerCrossProfileDataSharing") || is_null($this->_propDict["crossProfilePoliciesAllowDataSharing"])) { + return $this->_propDict["crossProfilePoliciesAllowDataSharing"]; + } else { + $this->_propDict["crossProfilePoliciesAllowDataSharing"] = new AndroidDeviceOwnerCrossProfileDataSharing($this->_propDict["crossProfilePoliciesAllowDataSharing"]); + return $this->_propDict["crossProfilePoliciesAllowDataSharing"]; + } + } + return null; + } + + /** + * Sets the crossProfilePoliciesAllowDataSharing + * Indicates whether data from one profile (personal or work) can be shared with apps in the other profile. Possible values are: notConfigured, crossProfileDataSharingBlocked, dataSharingFromWorkToPersonalBlocked, crossProfileDataSharingAllowed, unkownFutureValue. + * + * @param AndroidDeviceOwnerCrossProfileDataSharing $val The crossProfilePoliciesAllowDataSharing + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setCrossProfilePoliciesAllowDataSharing($val) + { + $this->_propDict["crossProfilePoliciesAllowDataSharing"] = $val; + return $this; + } + + /** + * Gets the crossProfilePoliciesShowWorkContactsInPersonalProfile + * Indicates whether or not contacts stored in work profile are shown in personal profile contact searches/incoming calls. + * + * @return bool|null The crossProfilePoliciesShowWorkContactsInPersonalProfile + */ + public function getCrossProfilePoliciesShowWorkContactsInPersonalProfile() + { + if (array_key_exists("crossProfilePoliciesShowWorkContactsInPersonalProfile", $this->_propDict)) { + return $this->_propDict["crossProfilePoliciesShowWorkContactsInPersonalProfile"]; + } else { + return null; + } + } + + /** + * Sets the crossProfilePoliciesShowWorkContactsInPersonalProfile + * Indicates whether or not contacts stored in work profile are shown in personal profile contact searches/incoming calls. + * + * @param bool $val The crossProfilePoliciesShowWorkContactsInPersonalProfile + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setCrossProfilePoliciesShowWorkContactsInPersonalProfile($val) + { + $this->_propDict["crossProfilePoliciesShowWorkContactsInPersonalProfile"] = boolval($val); + return $this; + } + + /** + * Gets the dataRoamingBlocked + * Indicates whether or not to block a user from data roaming. + * + * @return bool|null The dataRoamingBlocked + */ + public function getDataRoamingBlocked() + { + if (array_key_exists("dataRoamingBlocked", $this->_propDict)) { + return $this->_propDict["dataRoamingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the dataRoamingBlocked + * Indicates whether or not to block a user from data roaming. + * + * @param bool $val The dataRoamingBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setDataRoamingBlocked($val) + { + $this->_propDict["dataRoamingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the dateTimeConfigurationBlocked + * Indicates whether or not to block the user from manually changing the date or time on the device + * + * @return bool|null The dateTimeConfigurationBlocked + */ + public function getDateTimeConfigurationBlocked() + { + if (array_key_exists("dateTimeConfigurationBlocked", $this->_propDict)) { + return $this->_propDict["dateTimeConfigurationBlocked"]; + } else { + return null; + } + } + + /** + * Sets the dateTimeConfigurationBlocked + * Indicates whether or not to block the user from manually changing the date or time on the device + * + * @param bool $val The dateTimeConfigurationBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setDateTimeConfigurationBlocked($val) + { + $this->_propDict["dateTimeConfigurationBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the detailedHelpText + * Represents the customized detailed help text provided to users when they attempt to modify managed settings on their device. + * + * @return AndroidDeviceOwnerUserFacingMessage|null The detailedHelpText + */ + public function getDetailedHelpText() + { + if (array_key_exists("detailedHelpText", $this->_propDict)) { + if (is_a($this->_propDict["detailedHelpText"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerUserFacingMessage") || is_null($this->_propDict["detailedHelpText"])) { + return $this->_propDict["detailedHelpText"]; + } else { + $this->_propDict["detailedHelpText"] = new AndroidDeviceOwnerUserFacingMessage($this->_propDict["detailedHelpText"]); + return $this->_propDict["detailedHelpText"]; + } + } + return null; + } + + /** + * Sets the detailedHelpText + * Represents the customized detailed help text provided to users when they attempt to modify managed settings on their device. + * + * @param AndroidDeviceOwnerUserFacingMessage $val The detailedHelpText + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setDetailedHelpText($val) + { + $this->_propDict["detailedHelpText"] = $val; + return $this; + } + + /** + * Gets the enrollmentProfile + * Indicates which enrollment profile you want to configure. Possible values are: notConfigured, dedicatedDevice, fullyManaged. + * + * @return AndroidDeviceOwnerEnrollmentProfileType|null The enrollmentProfile + */ + public function getEnrollmentProfile() + { + if (array_key_exists("enrollmentProfile", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentProfile"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerEnrollmentProfileType") || is_null($this->_propDict["enrollmentProfile"])) { + return $this->_propDict["enrollmentProfile"]; + } else { + $this->_propDict["enrollmentProfile"] = new AndroidDeviceOwnerEnrollmentProfileType($this->_propDict["enrollmentProfile"]); + return $this->_propDict["enrollmentProfile"]; + } + } + return null; + } + + /** + * Sets the enrollmentProfile + * Indicates which enrollment profile you want to configure. Possible values are: notConfigured, dedicatedDevice, fullyManaged. + * + * @param AndroidDeviceOwnerEnrollmentProfileType $val The enrollmentProfile + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setEnrollmentProfile($val) + { + $this->_propDict["enrollmentProfile"] = $val; + return $this; + } + + /** + * Gets the factoryResetBlocked + * Indicates whether or not the factory reset option in settings is disabled. + * + * @return bool|null The factoryResetBlocked + */ + public function getFactoryResetBlocked() + { + if (array_key_exists("factoryResetBlocked", $this->_propDict)) { + return $this->_propDict["factoryResetBlocked"]; + } else { + return null; + } + } + + /** + * Sets the factoryResetBlocked + * Indicates whether or not the factory reset option in settings is disabled. + * + * @param bool $val The factoryResetBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setFactoryResetBlocked($val) + { + $this->_propDict["factoryResetBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the factoryResetDeviceAdministratorEmails + * List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up. + * + * @return string|null The factoryResetDeviceAdministratorEmails + */ + public function getFactoryResetDeviceAdministratorEmails() + { + if (array_key_exists("factoryResetDeviceAdministratorEmails", $this->_propDict)) { + return $this->_propDict["factoryResetDeviceAdministratorEmails"]; + } else { + return null; + } + } + + /** + * Sets the factoryResetDeviceAdministratorEmails + * List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up. + * + * @param string $val The factoryResetDeviceAdministratorEmails + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setFactoryResetDeviceAdministratorEmails($val) + { + $this->_propDict["factoryResetDeviceAdministratorEmails"] = $val; + return $this; + } + + /** + * Gets the globalProxy + * Proxy is set up directly with host, port and excluded hosts. + * + * @return AndroidDeviceOwnerGlobalProxy|null The globalProxy + */ + public function getGlobalProxy() + { + if (array_key_exists("globalProxy", $this->_propDict)) { + if (is_a($this->_propDict["globalProxy"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerGlobalProxy") || is_null($this->_propDict["globalProxy"])) { + return $this->_propDict["globalProxy"]; + } else { + $this->_propDict["globalProxy"] = new AndroidDeviceOwnerGlobalProxy($this->_propDict["globalProxy"]); + return $this->_propDict["globalProxy"]; + } + } + return null; + } + + /** + * Sets the globalProxy + * Proxy is set up directly with host, port and excluded hosts. + * + * @param AndroidDeviceOwnerGlobalProxy $val The globalProxy + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setGlobalProxy($val) + { + $this->_propDict["globalProxy"] = $val; + return $this; + } + + /** + * Gets the googleAccountsBlocked + * Indicates whether or not google accounts will be blocked. + * + * @return bool|null The googleAccountsBlocked + */ + public function getGoogleAccountsBlocked() + { + if (array_key_exists("googleAccountsBlocked", $this->_propDict)) { + return $this->_propDict["googleAccountsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the googleAccountsBlocked + * Indicates whether or not google accounts will be blocked. + * + * @param bool $val The googleAccountsBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setGoogleAccountsBlocked($val) + { + $this->_propDict["googleAccountsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the kioskCustomizationDeviceSettingsBlocked + * Indicates whether a user can access the device's Settings app while in Kiosk Mode. + * + * @return bool|null The kioskCustomizationDeviceSettingsBlocked + */ + public function getKioskCustomizationDeviceSettingsBlocked() + { + if (array_key_exists("kioskCustomizationDeviceSettingsBlocked", $this->_propDict)) { + return $this->_propDict["kioskCustomizationDeviceSettingsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the kioskCustomizationDeviceSettingsBlocked + * Indicates whether a user can access the device's Settings app while in Kiosk Mode. + * + * @param bool $val The kioskCustomizationDeviceSettingsBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskCustomizationDeviceSettingsBlocked($val) + { + $this->_propDict["kioskCustomizationDeviceSettingsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the kioskCustomizationPowerButtonActionsBlocked + * Whether the power menu is shown when a user long presses the Power button of a device in Kiosk Mode. + * + * @return bool|null The kioskCustomizationPowerButtonActionsBlocked + */ + public function getKioskCustomizationPowerButtonActionsBlocked() + { + if (array_key_exists("kioskCustomizationPowerButtonActionsBlocked", $this->_propDict)) { + return $this->_propDict["kioskCustomizationPowerButtonActionsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the kioskCustomizationPowerButtonActionsBlocked + * Whether the power menu is shown when a user long presses the Power button of a device in Kiosk Mode. + * + * @param bool $val The kioskCustomizationPowerButtonActionsBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskCustomizationPowerButtonActionsBlocked($val) + { + $this->_propDict["kioskCustomizationPowerButtonActionsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the kioskCustomizationStatusBar + * Indicates whether system info and notifications are disabled in Kiosk Mode. Possible values are: notConfigured, notificationsAndSystemInfoEnabled, systemInfoOnly. + * + * @return AndroidDeviceOwnerKioskCustomizationStatusBar|null The kioskCustomizationStatusBar + */ + public function getKioskCustomizationStatusBar() + { + if (array_key_exists("kioskCustomizationStatusBar", $this->_propDict)) { + if (is_a($this->_propDict["kioskCustomizationStatusBar"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskCustomizationStatusBar") || is_null($this->_propDict["kioskCustomizationStatusBar"])) { + return $this->_propDict["kioskCustomizationStatusBar"]; + } else { + $this->_propDict["kioskCustomizationStatusBar"] = new AndroidDeviceOwnerKioskCustomizationStatusBar($this->_propDict["kioskCustomizationStatusBar"]); + return $this->_propDict["kioskCustomizationStatusBar"]; + } + } + return null; + } + + /** + * Sets the kioskCustomizationStatusBar + * Indicates whether system info and notifications are disabled in Kiosk Mode. Possible values are: notConfigured, notificationsAndSystemInfoEnabled, systemInfoOnly. + * + * @param AndroidDeviceOwnerKioskCustomizationStatusBar $val The kioskCustomizationStatusBar + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskCustomizationStatusBar($val) + { + $this->_propDict["kioskCustomizationStatusBar"] = $val; + return $this; + } + + /** + * Gets the kioskCustomizationSystemErrorWarnings + * Indicates whether system error dialogs for crashed or unresponsive apps are shown in Kiosk Mode. + * + * @return bool|null The kioskCustomizationSystemErrorWarnings + */ + public function getKioskCustomizationSystemErrorWarnings() + { + if (array_key_exists("kioskCustomizationSystemErrorWarnings", $this->_propDict)) { + return $this->_propDict["kioskCustomizationSystemErrorWarnings"]; + } else { + return null; + } + } + + /** + * Sets the kioskCustomizationSystemErrorWarnings + * Indicates whether system error dialogs for crashed or unresponsive apps are shown in Kiosk Mode. + * + * @param bool $val The kioskCustomizationSystemErrorWarnings + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskCustomizationSystemErrorWarnings($val) + { + $this->_propDict["kioskCustomizationSystemErrorWarnings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskCustomizationSystemNavigation + * Indicates which navigation features are enabled in Kiosk Mode. Possible values are: notConfigured, navigationEnabled, homeButtonOnly. + * + * @return AndroidDeviceOwnerKioskCustomizationSystemNavigation|null The kioskCustomizationSystemNavigation + */ + public function getKioskCustomizationSystemNavigation() + { + if (array_key_exists("kioskCustomizationSystemNavigation", $this->_propDict)) { + if (is_a($this->_propDict["kioskCustomizationSystemNavigation"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskCustomizationSystemNavigation") || is_null($this->_propDict["kioskCustomizationSystemNavigation"])) { + return $this->_propDict["kioskCustomizationSystemNavigation"]; + } else { + $this->_propDict["kioskCustomizationSystemNavigation"] = new AndroidDeviceOwnerKioskCustomizationSystemNavigation($this->_propDict["kioskCustomizationSystemNavigation"]); + return $this->_propDict["kioskCustomizationSystemNavigation"]; + } + } + return null; + } + + /** + * Sets the kioskCustomizationSystemNavigation + * Indicates which navigation features are enabled in Kiosk Mode. Possible values are: notConfigured, navigationEnabled, homeButtonOnly. + * + * @param AndroidDeviceOwnerKioskCustomizationSystemNavigation $val The kioskCustomizationSystemNavigation + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskCustomizationSystemNavigation($val) + { + $this->_propDict["kioskCustomizationSystemNavigation"] = $val; + return $this; + } + + /** + * Gets the kioskModeAppOrderEnabled + * Whether or not to enable app ordering in Kiosk Mode. + * + * @return bool|null The kioskModeAppOrderEnabled + */ + public function getKioskModeAppOrderEnabled() + { + if (array_key_exists("kioskModeAppOrderEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeAppOrderEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAppOrderEnabled + * Whether or not to enable app ordering in Kiosk Mode. + * + * @param bool $val The kioskModeAppOrderEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeAppOrderEnabled($val) + { + $this->_propDict["kioskModeAppOrderEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the kioskModeAppPositions + * The ordering of items on Kiosk Mode Managed Home Screen. This collection can contain a maximum of 500 elements. + * + * @return array|null The kioskModeAppPositions + */ + public function getKioskModeAppPositions() + { + if (array_key_exists("kioskModeAppPositions", $this->_propDict)) { + return $this->_propDict["kioskModeAppPositions"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAppPositions + * The ordering of items on Kiosk Mode Managed Home Screen. This collection can contain a maximum of 500 elements. + * + * @param AndroidDeviceOwnerKioskModeAppPositionItem[] $val The kioskModeAppPositions + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeAppPositions($val) + { + $this->_propDict["kioskModeAppPositions"] = $val; + return $this; + } + + + /** + * Gets the kioskModeApps + * A list of managed apps that will be shown when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @return array|null The kioskModeApps + */ + public function getKioskModeApps() + { + if (array_key_exists("kioskModeApps", $this->_propDict)) { + return $this->_propDict["kioskModeApps"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeApps + * A list of managed apps that will be shown when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The kioskModeApps + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeApps($val) + { + $this->_propDict["kioskModeApps"] = $val; + return $this; + } + + /** + * Gets the kioskModeAppsInFolderOrderedByName + * Whether or not to alphabetize applications within a folder in Kiosk Mode. + * + * @return bool|null The kioskModeAppsInFolderOrderedByName + */ + public function getKioskModeAppsInFolderOrderedByName() + { + if (array_key_exists("kioskModeAppsInFolderOrderedByName", $this->_propDict)) { + return $this->_propDict["kioskModeAppsInFolderOrderedByName"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAppsInFolderOrderedByName + * Whether or not to alphabetize applications within a folder in Kiosk Mode. + * + * @param bool $val The kioskModeAppsInFolderOrderedByName + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeAppsInFolderOrderedByName($val) + { + $this->_propDict["kioskModeAppsInFolderOrderedByName"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBluetoothConfigurationEnabled + * Whether or not to allow a user to configure Bluetooth settings in Kiosk Mode. + * + * @return bool|null The kioskModeBluetoothConfigurationEnabled + */ + public function getKioskModeBluetoothConfigurationEnabled() + { + if (array_key_exists("kioskModeBluetoothConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeBluetoothConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBluetoothConfigurationEnabled + * Whether or not to allow a user to configure Bluetooth settings in Kiosk Mode. + * + * @param bool $val The kioskModeBluetoothConfigurationEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeBluetoothConfigurationEnabled($val) + { + $this->_propDict["kioskModeBluetoothConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeDebugMenuEasyAccessEnabled + * Whether or not to allow a user to easy access to the debug menu in Kiosk Mode. + * + * @return bool|null The kioskModeDebugMenuEasyAccessEnabled + */ + public function getKioskModeDebugMenuEasyAccessEnabled() + { + if (array_key_exists("kioskModeDebugMenuEasyAccessEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeDebugMenuEasyAccessEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeDebugMenuEasyAccessEnabled + * Whether or not to allow a user to easy access to the debug menu in Kiosk Mode. + * + * @param bool $val The kioskModeDebugMenuEasyAccessEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeDebugMenuEasyAccessEnabled($val) + { + $this->_propDict["kioskModeDebugMenuEasyAccessEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeExitCode + * Exit code to allow a user to escape from Kiosk Mode when the device is in Kiosk Mode. + * + * @return string|null The kioskModeExitCode + */ + public function getKioskModeExitCode() + { + if (array_key_exists("kioskModeExitCode", $this->_propDict)) { + return $this->_propDict["kioskModeExitCode"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeExitCode + * Exit code to allow a user to escape from Kiosk Mode when the device is in Kiosk Mode. + * + * @param string $val The kioskModeExitCode + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeExitCode($val) + { + $this->_propDict["kioskModeExitCode"] = $val; + return $this; + } + + /** + * Gets the kioskModeFlashlightConfigurationEnabled + * Whether or not to allow a user to use the flashlight in Kiosk Mode. + * + * @return bool|null The kioskModeFlashlightConfigurationEnabled + */ + public function getKioskModeFlashlightConfigurationEnabled() + { + if (array_key_exists("kioskModeFlashlightConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeFlashlightConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeFlashlightConfigurationEnabled + * Whether or not to allow a user to use the flashlight in Kiosk Mode. + * + * @param bool $val The kioskModeFlashlightConfigurationEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeFlashlightConfigurationEnabled($val) + { + $this->_propDict["kioskModeFlashlightConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeFolderIcon + * Folder icon configuration for managed home screen in Kiosk Mode. Possible values are: notConfigured, darkSquare, darkCircle, lightSquare, lightCircle. + * + * @return AndroidDeviceOwnerKioskModeFolderIcon|null The kioskModeFolderIcon + */ + public function getKioskModeFolderIcon() + { + if (array_key_exists("kioskModeFolderIcon", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeFolderIcon"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeFolderIcon") || is_null($this->_propDict["kioskModeFolderIcon"])) { + return $this->_propDict["kioskModeFolderIcon"]; + } else { + $this->_propDict["kioskModeFolderIcon"] = new AndroidDeviceOwnerKioskModeFolderIcon($this->_propDict["kioskModeFolderIcon"]); + return $this->_propDict["kioskModeFolderIcon"]; + } + } + return null; + } + + /** + * Sets the kioskModeFolderIcon + * Folder icon configuration for managed home screen in Kiosk Mode. Possible values are: notConfigured, darkSquare, darkCircle, lightSquare, lightCircle. + * + * @param AndroidDeviceOwnerKioskModeFolderIcon $val The kioskModeFolderIcon + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeFolderIcon($val) + { + $this->_propDict["kioskModeFolderIcon"] = $val; + return $this; + } + + /** + * Gets the kioskModeGridHeight + * Number of rows for Managed Home Screen grid with app ordering enabled in Kiosk Mode. Valid values 1 to 9999999 + * + * @return int|null The kioskModeGridHeight + */ + public function getKioskModeGridHeight() + { + if (array_key_exists("kioskModeGridHeight", $this->_propDict)) { + return $this->_propDict["kioskModeGridHeight"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeGridHeight + * Number of rows for Managed Home Screen grid with app ordering enabled in Kiosk Mode. Valid values 1 to 9999999 + * + * @param int $val The kioskModeGridHeight + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeGridHeight($val) + { + $this->_propDict["kioskModeGridHeight"] = intval($val); + return $this; + } + + /** + * Gets the kioskModeGridWidth + * Number of columns for Managed Home Screen grid with app ordering enabled in Kiosk Mode. Valid values 1 to 9999999 + * + * @return int|null The kioskModeGridWidth + */ + public function getKioskModeGridWidth() + { + if (array_key_exists("kioskModeGridWidth", $this->_propDict)) { + return $this->_propDict["kioskModeGridWidth"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeGridWidth + * Number of columns for Managed Home Screen grid with app ordering enabled in Kiosk Mode. Valid values 1 to 9999999 + * + * @param int $val The kioskModeGridWidth + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeGridWidth($val) + { + $this->_propDict["kioskModeGridWidth"] = intval($val); + return $this; + } + + /** + * Gets the kioskModeIconSize + * Icon size configuration for managed home screen in Kiosk Mode. Possible values are: notConfigured, smallest, small, regular, large, largest. + * + * @return AndroidDeviceOwnerKioskModeIconSize|null The kioskModeIconSize + */ + public function getKioskModeIconSize() + { + if (array_key_exists("kioskModeIconSize", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeIconSize"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeIconSize") || is_null($this->_propDict["kioskModeIconSize"])) { + return $this->_propDict["kioskModeIconSize"]; + } else { + $this->_propDict["kioskModeIconSize"] = new AndroidDeviceOwnerKioskModeIconSize($this->_propDict["kioskModeIconSize"]); + return $this->_propDict["kioskModeIconSize"]; + } + } + return null; + } + + /** + * Sets the kioskModeIconSize + * Icon size configuration for managed home screen in Kiosk Mode. Possible values are: notConfigured, smallest, small, regular, large, largest. + * + * @param AndroidDeviceOwnerKioskModeIconSize $val The kioskModeIconSize + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeIconSize($val) + { + $this->_propDict["kioskModeIconSize"] = $val; + return $this; + } + + /** + * Gets the kioskModeLockHomeScreen + * Whether or not to lock home screen to the end user in Kiosk Mode. + * + * @return bool|null The kioskModeLockHomeScreen + */ + public function getKioskModeLockHomeScreen() + { + if (array_key_exists("kioskModeLockHomeScreen", $this->_propDict)) { + return $this->_propDict["kioskModeLockHomeScreen"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeLockHomeScreen + * Whether or not to lock home screen to the end user in Kiosk Mode. + * + * @param bool $val The kioskModeLockHomeScreen + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeLockHomeScreen($val) + { + $this->_propDict["kioskModeLockHomeScreen"] = boolval($val); + return $this; + } + + + /** + * Gets the kioskModeManagedFolders + * A list of managed folders for a device in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @return array|null The kioskModeManagedFolders + */ + public function getKioskModeManagedFolders() + { + if (array_key_exists("kioskModeManagedFolders", $this->_propDict)) { + return $this->_propDict["kioskModeManagedFolders"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedFolders + * A list of managed folders for a device in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @param AndroidDeviceOwnerKioskModeManagedFolder[] $val The kioskModeManagedFolders + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedFolders($val) + { + $this->_propDict["kioskModeManagedFolders"] = $val; + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenAutoSignout + * Whether or not to automatically sign-out of MHS and Shared device mode applications after inactive for Managed Home Screen. + * + * @return bool|null The kioskModeManagedHomeScreenAutoSignout + */ + public function getKioskModeManagedHomeScreenAutoSignout() + { + if (array_key_exists("kioskModeManagedHomeScreenAutoSignout", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenAutoSignout"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenAutoSignout + * Whether or not to automatically sign-out of MHS and Shared device mode applications after inactive for Managed Home Screen. + * + * @param bool $val The kioskModeManagedHomeScreenAutoSignout + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenAutoSignout($val) + { + $this->_propDict["kioskModeManagedHomeScreenAutoSignout"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds + * Number of seconds to give user notice before automatically signing them out for Managed Home Screen. Valid values 0 to 9999999 + * + * @return int|null The kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds + */ + public function getKioskModeManagedHomeScreenInactiveSignOutDelayInSeconds() + { + if (array_key_exists("kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds + * Number of seconds to give user notice before automatically signing them out for Managed Home Screen. Valid values 0 to 9999999 + * + * @param int $val The kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenInactiveSignOutDelayInSeconds($val) + { + $this->_propDict["kioskModeManagedHomeScreenInactiveSignOutDelayInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds + * Number of seconds device is inactive before automatically signing user out for Managed Home Screen. Valid values 0 to 9999999 + * + * @return int|null The kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds + */ + public function getKioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds() + { + if (array_key_exists("kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds + * Number of seconds device is inactive before automatically signing user out for Managed Home Screen. Valid values 0 to 9999999 + * + * @param int $val The kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds($val) + { + $this->_propDict["kioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenPinComplexity + * Complexity of PIN for sign-in session for Managed Home Screen. Possible values are: notConfigured, simple, complex. + * + * @return KioskModeManagedHomeScreenPinComplexity|null The kioskModeManagedHomeScreenPinComplexity + */ + public function getKioskModeManagedHomeScreenPinComplexity() + { + if (array_key_exists("kioskModeManagedHomeScreenPinComplexity", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeManagedHomeScreenPinComplexity"], "\Beta\Microsoft\Graph\Model\KioskModeManagedHomeScreenPinComplexity") || is_null($this->_propDict["kioskModeManagedHomeScreenPinComplexity"])) { + return $this->_propDict["kioskModeManagedHomeScreenPinComplexity"]; + } else { + $this->_propDict["kioskModeManagedHomeScreenPinComplexity"] = new KioskModeManagedHomeScreenPinComplexity($this->_propDict["kioskModeManagedHomeScreenPinComplexity"]); + return $this->_propDict["kioskModeManagedHomeScreenPinComplexity"]; + } + } + return null; + } + + /** + * Sets the kioskModeManagedHomeScreenPinComplexity + * Complexity of PIN for sign-in session for Managed Home Screen. Possible values are: notConfigured, simple, complex. + * + * @param KioskModeManagedHomeScreenPinComplexity $val The kioskModeManagedHomeScreenPinComplexity + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenPinComplexity($val) + { + $this->_propDict["kioskModeManagedHomeScreenPinComplexity"] = $val; + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenPinRequired + * Whether or not require user to set a PIN for sign-in session for Managed Home Screen. + * + * @return bool|null The kioskModeManagedHomeScreenPinRequired + */ + public function getKioskModeManagedHomeScreenPinRequired() + { + if (array_key_exists("kioskModeManagedHomeScreenPinRequired", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenPinRequired"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenPinRequired + * Whether or not require user to set a PIN for sign-in session for Managed Home Screen. + * + * @param bool $val The kioskModeManagedHomeScreenPinRequired + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenPinRequired($val) + { + $this->_propDict["kioskModeManagedHomeScreenPinRequired"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenPinRequiredToResume + * Whether or not required user to enter session PIN if screensaver has appeared for Managed Home Screen. + * + * @return bool|null The kioskModeManagedHomeScreenPinRequiredToResume + */ + public function getKioskModeManagedHomeScreenPinRequiredToResume() + { + if (array_key_exists("kioskModeManagedHomeScreenPinRequiredToResume", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenPinRequiredToResume"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenPinRequiredToResume + * Whether or not required user to enter session PIN if screensaver has appeared for Managed Home Screen. + * + * @param bool $val The kioskModeManagedHomeScreenPinRequiredToResume + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenPinRequiredToResume($val) + { + $this->_propDict["kioskModeManagedHomeScreenPinRequiredToResume"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenSignInBackground + * Custom URL background for sign-in screen for Managed Home Screen. + * + * @return string|null The kioskModeManagedHomeScreenSignInBackground + */ + public function getKioskModeManagedHomeScreenSignInBackground() + { + if (array_key_exists("kioskModeManagedHomeScreenSignInBackground", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenSignInBackground"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenSignInBackground + * Custom URL background for sign-in screen for Managed Home Screen. + * + * @param string $val The kioskModeManagedHomeScreenSignInBackground + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenSignInBackground($val) + { + $this->_propDict["kioskModeManagedHomeScreenSignInBackground"] = $val; + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenSignInBrandingLogo + * Custom URL branding logo for sign-in screen and session pin page for Managed Home Screen. + * + * @return string|null The kioskModeManagedHomeScreenSignInBrandingLogo + */ + public function getKioskModeManagedHomeScreenSignInBrandingLogo() + { + if (array_key_exists("kioskModeManagedHomeScreenSignInBrandingLogo", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenSignInBrandingLogo"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenSignInBrandingLogo + * Custom URL branding logo for sign-in screen and session pin page for Managed Home Screen. + * + * @param string $val The kioskModeManagedHomeScreenSignInBrandingLogo + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenSignInBrandingLogo($val) + { + $this->_propDict["kioskModeManagedHomeScreenSignInBrandingLogo"] = $val; + return $this; + } + + /** + * Gets the kioskModeManagedHomeScreenSignInEnabled + * Whether or not show sign-in screen for Managed Home Screen. + * + * @return bool|null The kioskModeManagedHomeScreenSignInEnabled + */ + public function getKioskModeManagedHomeScreenSignInEnabled() + { + if (array_key_exists("kioskModeManagedHomeScreenSignInEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeManagedHomeScreenSignInEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedHomeScreenSignInEnabled + * Whether or not show sign-in screen for Managed Home Screen. + * + * @param bool $val The kioskModeManagedHomeScreenSignInEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedHomeScreenSignInEnabled($val) + { + $this->_propDict["kioskModeManagedHomeScreenSignInEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeManagedSettingsEntryDisabled + * Whether or not to display the Managed Settings entry point on the managed home screen in Kiosk Mode. + * + * @return bool|null The kioskModeManagedSettingsEntryDisabled + */ + public function getKioskModeManagedSettingsEntryDisabled() + { + if (array_key_exists("kioskModeManagedSettingsEntryDisabled", $this->_propDict)) { + return $this->_propDict["kioskModeManagedSettingsEntryDisabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedSettingsEntryDisabled + * Whether or not to display the Managed Settings entry point on the managed home screen in Kiosk Mode. + * + * @param bool $val The kioskModeManagedSettingsEntryDisabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeManagedSettingsEntryDisabled($val) + { + $this->_propDict["kioskModeManagedSettingsEntryDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeMediaVolumeConfigurationEnabled + * Whether or not to allow a user to change the media volume in Kiosk Mode. + * + * @return bool|null The kioskModeMediaVolumeConfigurationEnabled + */ + public function getKioskModeMediaVolumeConfigurationEnabled() + { + if (array_key_exists("kioskModeMediaVolumeConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeMediaVolumeConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeMediaVolumeConfigurationEnabled + * Whether or not to allow a user to change the media volume in Kiosk Mode. + * + * @param bool $val The kioskModeMediaVolumeConfigurationEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeMediaVolumeConfigurationEnabled($val) + { + $this->_propDict["kioskModeMediaVolumeConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeScreenOrientation + * Screen orientation configuration for managed home screen in Kiosk Mode. Possible values are: notConfigured, portrait, landscape, autoRotate. + * + * @return AndroidDeviceOwnerKioskModeScreenOrientation|null The kioskModeScreenOrientation + */ + public function getKioskModeScreenOrientation() + { + if (array_key_exists("kioskModeScreenOrientation", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeScreenOrientation"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeScreenOrientation") || is_null($this->_propDict["kioskModeScreenOrientation"])) { + return $this->_propDict["kioskModeScreenOrientation"]; + } else { + $this->_propDict["kioskModeScreenOrientation"] = new AndroidDeviceOwnerKioskModeScreenOrientation($this->_propDict["kioskModeScreenOrientation"]); + return $this->_propDict["kioskModeScreenOrientation"]; + } + } + return null; + } + + /** + * Sets the kioskModeScreenOrientation + * Screen orientation configuration for managed home screen in Kiosk Mode. Possible values are: notConfigured, portrait, landscape, autoRotate. + * + * @param AndroidDeviceOwnerKioskModeScreenOrientation $val The kioskModeScreenOrientation + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeScreenOrientation($val) + { + $this->_propDict["kioskModeScreenOrientation"] = $val; + return $this; + } + + /** + * Gets the kioskModeScreenSaverConfigurationEnabled + * Whether or not to enable screen saver mode or not in Kiosk Mode. + * + * @return bool|null The kioskModeScreenSaverConfigurationEnabled + */ + public function getKioskModeScreenSaverConfigurationEnabled() + { + if (array_key_exists("kioskModeScreenSaverConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeScreenSaverConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeScreenSaverConfigurationEnabled + * Whether or not to enable screen saver mode or not in Kiosk Mode. + * + * @param bool $val The kioskModeScreenSaverConfigurationEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeScreenSaverConfigurationEnabled($val) + { + $this->_propDict["kioskModeScreenSaverConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeScreenSaverDetectMediaDisabled + * Whether or not the device screen should show the screen saver if audio/video is playing in Kiosk Mode. + * + * @return bool|null The kioskModeScreenSaverDetectMediaDisabled + */ + public function getKioskModeScreenSaverDetectMediaDisabled() + { + if (array_key_exists("kioskModeScreenSaverDetectMediaDisabled", $this->_propDict)) { + return $this->_propDict["kioskModeScreenSaverDetectMediaDisabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeScreenSaverDetectMediaDisabled + * Whether or not the device screen should show the screen saver if audio/video is playing in Kiosk Mode. + * + * @param bool $val The kioskModeScreenSaverDetectMediaDisabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeScreenSaverDetectMediaDisabled($val) + { + $this->_propDict["kioskModeScreenSaverDetectMediaDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeScreenSaverDisplayTimeInSeconds + * The number of seconds that the device will display the screen saver for in Kiosk Mode. Valid values 0 to 9999999 + * + * @return int|null The kioskModeScreenSaverDisplayTimeInSeconds + */ + public function getKioskModeScreenSaverDisplayTimeInSeconds() + { + if (array_key_exists("kioskModeScreenSaverDisplayTimeInSeconds", $this->_propDict)) { + return $this->_propDict["kioskModeScreenSaverDisplayTimeInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeScreenSaverDisplayTimeInSeconds + * The number of seconds that the device will display the screen saver for in Kiosk Mode. Valid values 0 to 9999999 + * + * @param int $val The kioskModeScreenSaverDisplayTimeInSeconds + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeScreenSaverDisplayTimeInSeconds($val) + { + $this->_propDict["kioskModeScreenSaverDisplayTimeInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the kioskModeScreenSaverImageUrl + * URL for an image that will be the device's screen saver in Kiosk Mode. + * + * @return string|null The kioskModeScreenSaverImageUrl + */ + public function getKioskModeScreenSaverImageUrl() + { + if (array_key_exists("kioskModeScreenSaverImageUrl", $this->_propDict)) { + return $this->_propDict["kioskModeScreenSaverImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeScreenSaverImageUrl + * URL for an image that will be the device's screen saver in Kiosk Mode. + * + * @param string $val The kioskModeScreenSaverImageUrl + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeScreenSaverImageUrl($val) + { + $this->_propDict["kioskModeScreenSaverImageUrl"] = $val; + return $this; + } + + /** + * Gets the kioskModeScreenSaverStartDelayInSeconds + * The number of seconds the device needs to be inactive for before the screen saver is shown in Kiosk Mode. Valid values 1 to 9999999 + * + * @return int|null The kioskModeScreenSaverStartDelayInSeconds + */ + public function getKioskModeScreenSaverStartDelayInSeconds() + { + if (array_key_exists("kioskModeScreenSaverStartDelayInSeconds", $this->_propDict)) { + return $this->_propDict["kioskModeScreenSaverStartDelayInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeScreenSaverStartDelayInSeconds + * The number of seconds the device needs to be inactive for before the screen saver is shown in Kiosk Mode. Valid values 1 to 9999999 + * + * @param int $val The kioskModeScreenSaverStartDelayInSeconds + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeScreenSaverStartDelayInSeconds($val) + { + $this->_propDict["kioskModeScreenSaverStartDelayInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the kioskModeShowAppNotificationBadge + * Whether or not to display application notification badges in Kiosk Mode. + * + * @return bool|null The kioskModeShowAppNotificationBadge + */ + public function getKioskModeShowAppNotificationBadge() + { + if (array_key_exists("kioskModeShowAppNotificationBadge", $this->_propDict)) { + return $this->_propDict["kioskModeShowAppNotificationBadge"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeShowAppNotificationBadge + * Whether or not to display application notification badges in Kiosk Mode. + * + * @param bool $val The kioskModeShowAppNotificationBadge + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeShowAppNotificationBadge($val) + { + $this->_propDict["kioskModeShowAppNotificationBadge"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeShowDeviceInfo + * Whether or not to allow a user to access basic device information. + * + * @return bool|null The kioskModeShowDeviceInfo + */ + public function getKioskModeShowDeviceInfo() + { + if (array_key_exists("kioskModeShowDeviceInfo", $this->_propDict)) { + return $this->_propDict["kioskModeShowDeviceInfo"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeShowDeviceInfo + * Whether or not to allow a user to access basic device information. + * + * @param bool $val The kioskModeShowDeviceInfo + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeShowDeviceInfo($val) + { + $this->_propDict["kioskModeShowDeviceInfo"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeUseManagedHomeScreenApp + * Whether or not to use single app kiosk mode or multi-app kiosk mode. Possible values are: notConfigured, singleAppMode, multiAppMode. + * + * @return KioskModeType|null The kioskModeUseManagedHomeScreenApp + */ + public function getKioskModeUseManagedHomeScreenApp() + { + if (array_key_exists("kioskModeUseManagedHomeScreenApp", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeUseManagedHomeScreenApp"], "\Beta\Microsoft\Graph\Model\KioskModeType") || is_null($this->_propDict["kioskModeUseManagedHomeScreenApp"])) { + return $this->_propDict["kioskModeUseManagedHomeScreenApp"]; + } else { + $this->_propDict["kioskModeUseManagedHomeScreenApp"] = new KioskModeType($this->_propDict["kioskModeUseManagedHomeScreenApp"]); + return $this->_propDict["kioskModeUseManagedHomeScreenApp"]; + } + } + return null; + } + + /** + * Sets the kioskModeUseManagedHomeScreenApp + * Whether or not to use single app kiosk mode or multi-app kiosk mode. Possible values are: notConfigured, singleAppMode, multiAppMode. + * + * @param KioskModeType $val The kioskModeUseManagedHomeScreenApp + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeUseManagedHomeScreenApp($val) + { + $this->_propDict["kioskModeUseManagedHomeScreenApp"] = $val; + return $this; + } + + /** + * Gets the kioskModeVirtualHomeButtonEnabled + * Whether or not to display a virtual home button when the device is in Kiosk Mode. + * + * @return bool|null The kioskModeVirtualHomeButtonEnabled + */ + public function getKioskModeVirtualHomeButtonEnabled() + { + if (array_key_exists("kioskModeVirtualHomeButtonEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeVirtualHomeButtonEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeVirtualHomeButtonEnabled + * Whether or not to display a virtual home button when the device is in Kiosk Mode. + * + * @param bool $val The kioskModeVirtualHomeButtonEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeVirtualHomeButtonEnabled($val) + { + $this->_propDict["kioskModeVirtualHomeButtonEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeVirtualHomeButtonType + * Indicates whether the virtual home button is a swipe up home button or a floating home button. Possible values are: notConfigured, swipeUp, floating. + * + * @return AndroidDeviceOwnerVirtualHomeButtonType|null The kioskModeVirtualHomeButtonType + */ + public function getKioskModeVirtualHomeButtonType() + { + if (array_key_exists("kioskModeVirtualHomeButtonType", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeVirtualHomeButtonType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerVirtualHomeButtonType") || is_null($this->_propDict["kioskModeVirtualHomeButtonType"])) { + return $this->_propDict["kioskModeVirtualHomeButtonType"]; + } else { + $this->_propDict["kioskModeVirtualHomeButtonType"] = new AndroidDeviceOwnerVirtualHomeButtonType($this->_propDict["kioskModeVirtualHomeButtonType"]); + return $this->_propDict["kioskModeVirtualHomeButtonType"]; + } + } + return null; + } + + /** + * Sets the kioskModeVirtualHomeButtonType + * Indicates whether the virtual home button is a swipe up home button or a floating home button. Possible values are: notConfigured, swipeUp, floating. + * + * @param AndroidDeviceOwnerVirtualHomeButtonType $val The kioskModeVirtualHomeButtonType + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeVirtualHomeButtonType($val) + { + $this->_propDict["kioskModeVirtualHomeButtonType"] = $val; + return $this; + } + + /** + * Gets the kioskModeWallpaperUrl + * URL to a publicly accessible image to use for the wallpaper when the device is in Kiosk Mode. + * + * @return string|null The kioskModeWallpaperUrl + */ + public function getKioskModeWallpaperUrl() + { + if (array_key_exists("kioskModeWallpaperUrl", $this->_propDict)) { + return $this->_propDict["kioskModeWallpaperUrl"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeWallpaperUrl + * URL to a publicly accessible image to use for the wallpaper when the device is in Kiosk Mode. + * + * @param string $val The kioskModeWallpaperUrl + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeWallpaperUrl($val) + { + $this->_propDict["kioskModeWallpaperUrl"] = $val; + return $this; + } + + /** + * Gets the kioskModeWifiAllowedSsids + * The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @return string|null The kioskModeWifiAllowedSsids + */ + public function getKioskModeWifiAllowedSsids() + { + if (array_key_exists("kioskModeWifiAllowedSsids", $this->_propDict)) { + return $this->_propDict["kioskModeWifiAllowedSsids"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeWifiAllowedSsids + * The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @param string $val The kioskModeWifiAllowedSsids + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeWifiAllowedSsids($val) + { + $this->_propDict["kioskModeWifiAllowedSsids"] = $val; + return $this; + } + + /** + * Gets the kioskModeWiFiConfigurationEnabled + * Whether or not to allow a user to configure Wi-Fi settings in Kiosk Mode. + * + * @return bool|null The kioskModeWiFiConfigurationEnabled + */ + public function getKioskModeWiFiConfigurationEnabled() + { + if (array_key_exists("kioskModeWiFiConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["kioskModeWiFiConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeWiFiConfigurationEnabled + * Whether or not to allow a user to configure Wi-Fi settings in Kiosk Mode. + * + * @param bool $val The kioskModeWiFiConfigurationEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setKioskModeWiFiConfigurationEnabled($val) + { + $this->_propDict["kioskModeWiFiConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the microphoneForceMute + * Indicates whether or not to block unmuting the microphone on the device. + * + * @return bool|null The microphoneForceMute + */ + public function getMicrophoneForceMute() + { + if (array_key_exists("microphoneForceMute", $this->_propDict)) { + return $this->_propDict["microphoneForceMute"]; + } else { + return null; + } + } + + /** + * Sets the microphoneForceMute + * Indicates whether or not to block unmuting the microphone on the device. + * + * @param bool $val The microphoneForceMute + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrophoneForceMute($val) + { + $this->_propDict["microphoneForceMute"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherConfigurationEnabled + * Indicates whether or not to you want configure Microsoft Launcher. + * + * @return bool|null The microsoftLauncherConfigurationEnabled + */ + public function getMicrosoftLauncherConfigurationEnabled() + { + if (array_key_exists("microsoftLauncherConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["microsoftLauncherConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherConfigurationEnabled + * Indicates whether or not to you want configure Microsoft Launcher. + * + * @param bool $val The microsoftLauncherConfigurationEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherConfigurationEnabled($val) + { + $this->_propDict["microsoftLauncherConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherCustomWallpaperAllowUserModification + * Indicates whether or not the user can modify the wallpaper to personalize their device. + * + * @return bool|null The microsoftLauncherCustomWallpaperAllowUserModification + */ + public function getMicrosoftLauncherCustomWallpaperAllowUserModification() + { + if (array_key_exists("microsoftLauncherCustomWallpaperAllowUserModification", $this->_propDict)) { + return $this->_propDict["microsoftLauncherCustomWallpaperAllowUserModification"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherCustomWallpaperAllowUserModification + * Indicates whether or not the user can modify the wallpaper to personalize their device. + * + * @param bool $val The microsoftLauncherCustomWallpaperAllowUserModification + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherCustomWallpaperAllowUserModification($val) + { + $this->_propDict["microsoftLauncherCustomWallpaperAllowUserModification"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherCustomWallpaperEnabled + * Indicates whether or not to configure the wallpaper on the targeted devices. + * + * @return bool|null The microsoftLauncherCustomWallpaperEnabled + */ + public function getMicrosoftLauncherCustomWallpaperEnabled() + { + if (array_key_exists("microsoftLauncherCustomWallpaperEnabled", $this->_propDict)) { + return $this->_propDict["microsoftLauncherCustomWallpaperEnabled"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherCustomWallpaperEnabled + * Indicates whether or not to configure the wallpaper on the targeted devices. + * + * @param bool $val The microsoftLauncherCustomWallpaperEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherCustomWallpaperEnabled($val) + { + $this->_propDict["microsoftLauncherCustomWallpaperEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherCustomWallpaperImageUrl + * Indicates the URL for the image file to use as the wallpaper on the targeted devices. + * + * @return string|null The microsoftLauncherCustomWallpaperImageUrl + */ + public function getMicrosoftLauncherCustomWallpaperImageUrl() + { + if (array_key_exists("microsoftLauncherCustomWallpaperImageUrl", $this->_propDict)) { + return $this->_propDict["microsoftLauncherCustomWallpaperImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherCustomWallpaperImageUrl + * Indicates the URL for the image file to use as the wallpaper on the targeted devices. + * + * @param string $val The microsoftLauncherCustomWallpaperImageUrl + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherCustomWallpaperImageUrl($val) + { + $this->_propDict["microsoftLauncherCustomWallpaperImageUrl"] = $val; + return $this; + } + + /** + * Gets the microsoftLauncherDockPresenceAllowUserModification + * Indicates whether or not the user can modify the device dock configuration on the device. + * + * @return bool|null The microsoftLauncherDockPresenceAllowUserModification + */ + public function getMicrosoftLauncherDockPresenceAllowUserModification() + { + if (array_key_exists("microsoftLauncherDockPresenceAllowUserModification", $this->_propDict)) { + return $this->_propDict["microsoftLauncherDockPresenceAllowUserModification"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherDockPresenceAllowUserModification + * Indicates whether or not the user can modify the device dock configuration on the device. + * + * @param bool $val The microsoftLauncherDockPresenceAllowUserModification + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherDockPresenceAllowUserModification($val) + { + $this->_propDict["microsoftLauncherDockPresenceAllowUserModification"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherDockPresenceConfiguration + * Indicates whether or not you want to configure the device dock. Possible values are: notConfigured, show, hide, disabled. + * + * @return MicrosoftLauncherDockPresence|null The microsoftLauncherDockPresenceConfiguration + */ + public function getMicrosoftLauncherDockPresenceConfiguration() + { + if (array_key_exists("microsoftLauncherDockPresenceConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["microsoftLauncherDockPresenceConfiguration"], "\Beta\Microsoft\Graph\Model\MicrosoftLauncherDockPresence") || is_null($this->_propDict["microsoftLauncherDockPresenceConfiguration"])) { + return $this->_propDict["microsoftLauncherDockPresenceConfiguration"]; + } else { + $this->_propDict["microsoftLauncherDockPresenceConfiguration"] = new MicrosoftLauncherDockPresence($this->_propDict["microsoftLauncherDockPresenceConfiguration"]); + return $this->_propDict["microsoftLauncherDockPresenceConfiguration"]; + } + } + return null; + } + + /** + * Sets the microsoftLauncherDockPresenceConfiguration + * Indicates whether or not you want to configure the device dock. Possible values are: notConfigured, show, hide, disabled. + * + * @param MicrosoftLauncherDockPresence $val The microsoftLauncherDockPresenceConfiguration + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherDockPresenceConfiguration($val) + { + $this->_propDict["microsoftLauncherDockPresenceConfiguration"] = $val; + return $this; + } + + /** + * Gets the microsoftLauncherFeedAllowUserModification + * Indicates whether or not the user can modify the launcher feed on the device. + * + * @return bool|null The microsoftLauncherFeedAllowUserModification + */ + public function getMicrosoftLauncherFeedAllowUserModification() + { + if (array_key_exists("microsoftLauncherFeedAllowUserModification", $this->_propDict)) { + return $this->_propDict["microsoftLauncherFeedAllowUserModification"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherFeedAllowUserModification + * Indicates whether or not the user can modify the launcher feed on the device. + * + * @param bool $val The microsoftLauncherFeedAllowUserModification + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherFeedAllowUserModification($val) + { + $this->_propDict["microsoftLauncherFeedAllowUserModification"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherFeedEnabled + * Indicates whether or not you want to enable the launcher feed on the device. + * + * @return bool|null The microsoftLauncherFeedEnabled + */ + public function getMicrosoftLauncherFeedEnabled() + { + if (array_key_exists("microsoftLauncherFeedEnabled", $this->_propDict)) { + return $this->_propDict["microsoftLauncherFeedEnabled"]; + } else { + return null; + } + } + + /** + * Sets the microsoftLauncherFeedEnabled + * Indicates whether or not you want to enable the launcher feed on the device. + * + * @param bool $val The microsoftLauncherFeedEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherFeedEnabled($val) + { + $this->_propDict["microsoftLauncherFeedEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftLauncherSearchBarPlacementConfiguration + * Indicates the search bar placement configuration on the device. Possible values are: notConfigured, top, bottom, hide. + * + * @return MicrosoftLauncherSearchBarPlacement|null The microsoftLauncherSearchBarPlacementConfiguration + */ + public function getMicrosoftLauncherSearchBarPlacementConfiguration() + { + if (array_key_exists("microsoftLauncherSearchBarPlacementConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"], "\Beta\Microsoft\Graph\Model\MicrosoftLauncherSearchBarPlacement") || is_null($this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"])) { + return $this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"]; + } else { + $this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"] = new MicrosoftLauncherSearchBarPlacement($this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"]); + return $this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"]; + } + } + return null; + } + + /** + * Sets the microsoftLauncherSearchBarPlacementConfiguration + * Indicates the search bar placement configuration on the device. Possible values are: notConfigured, top, bottom, hide. + * + * @param MicrosoftLauncherSearchBarPlacement $val The microsoftLauncherSearchBarPlacementConfiguration + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setMicrosoftLauncherSearchBarPlacementConfiguration($val) + { + $this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"] = $val; + return $this; + } + + /** + * Gets the networkEscapeHatchAllowed + * Indicates whether or not the device will allow connecting to a temporary network connection at boot time. + * + * @return bool|null The networkEscapeHatchAllowed + */ + public function getNetworkEscapeHatchAllowed() + { + if (array_key_exists("networkEscapeHatchAllowed", $this->_propDict)) { + return $this->_propDict["networkEscapeHatchAllowed"]; + } else { + return null; + } + } + + /** + * Sets the networkEscapeHatchAllowed + * Indicates whether or not the device will allow connecting to a temporary network connection at boot time. + * + * @param bool $val The networkEscapeHatchAllowed + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setNetworkEscapeHatchAllowed($val) + { + $this->_propDict["networkEscapeHatchAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the nfcBlockOutgoingBeam + * Indicates whether or not to block NFC outgoing beam. + * + * @return bool|null The nfcBlockOutgoingBeam + */ + public function getNfcBlockOutgoingBeam() + { + if (array_key_exists("nfcBlockOutgoingBeam", $this->_propDict)) { + return $this->_propDict["nfcBlockOutgoingBeam"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlockOutgoingBeam + * Indicates whether or not to block NFC outgoing beam. + * + * @param bool $val The nfcBlockOutgoingBeam + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setNfcBlockOutgoingBeam($val) + { + $this->_propDict["nfcBlockOutgoingBeam"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockKeyguard + * Indicates whether or not the keyguard is disabled. + * + * @return bool|null The passwordBlockKeyguard + */ + public function getPasswordBlockKeyguard() + { + if (array_key_exists("passwordBlockKeyguard", $this->_propDict)) { + return $this->_propDict["passwordBlockKeyguard"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockKeyguard + * Indicates whether or not the keyguard is disabled. + * + * @param bool $val The passwordBlockKeyguard + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordBlockKeyguard($val) + { + $this->_propDict["passwordBlockKeyguard"] = boolval($val); + return $this; + } + + + /** + * Gets the passwordBlockKeyguardFeatures + * List of device keyguard features to block. This collection can contain a maximum of 7 elements. + * + * @return array|null The passwordBlockKeyguardFeatures + */ + public function getPasswordBlockKeyguardFeatures() + { + if (array_key_exists("passwordBlockKeyguardFeatures", $this->_propDict)) { + return $this->_propDict["passwordBlockKeyguardFeatures"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockKeyguardFeatures + * List of device keyguard features to block. This collection can contain a maximum of 7 elements. + * + * @param AndroidKeyguardFeature[] $val The passwordBlockKeyguardFeatures + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordBlockKeyguardFeatures($val) + { + $this->_propDict["passwordBlockKeyguardFeatures"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Indicates the amount of time that a password can be set for before it expires and a new password will be required. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Indicates the amount of time that a password can be set for before it expires and a new password will be required. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Indicates the minimum length of the password required on the device. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Indicates the minimum length of the password required on the device. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLetterCharacters + * Indicates the minimum number of letter characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumLetterCharacters + */ + public function getPasswordMinimumLetterCharacters() + { + if (array_key_exists("passwordMinimumLetterCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLetterCharacters + * Indicates the minimum number of letter characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumLetterCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumLetterCharacters($val) + { + $this->_propDict["passwordMinimumLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLowerCaseCharacters + * Indicates the minimum number of lower case characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumLowerCaseCharacters + */ + public function getPasswordMinimumLowerCaseCharacters() + { + if (array_key_exists("passwordMinimumLowerCaseCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumLowerCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLowerCaseCharacters + * Indicates the minimum number of lower case characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumLowerCaseCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumLowerCaseCharacters($val) + { + $this->_propDict["passwordMinimumLowerCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumNonLetterCharacters + * Indicates the minimum number of non-letter characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumNonLetterCharacters + */ + public function getPasswordMinimumNonLetterCharacters() + { + if (array_key_exists("passwordMinimumNonLetterCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumNonLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumNonLetterCharacters + * Indicates the minimum number of non-letter characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumNonLetterCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumNonLetterCharacters($val) + { + $this->_propDict["passwordMinimumNonLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumNumericCharacters + * Indicates the minimum number of numeric characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumNumericCharacters + */ + public function getPasswordMinimumNumericCharacters() + { + if (array_key_exists("passwordMinimumNumericCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumNumericCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumNumericCharacters + * Indicates the minimum number of numeric characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumNumericCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumNumericCharacters($val) + { + $this->_propDict["passwordMinimumNumericCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumSymbolCharacters + * Indicates the minimum number of symbol characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumSymbolCharacters + */ + public function getPasswordMinimumSymbolCharacters() + { + if (array_key_exists("passwordMinimumSymbolCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumSymbolCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumSymbolCharacters + * Indicates the minimum number of symbol characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumSymbolCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumSymbolCharacters($val) + { + $this->_propDict["passwordMinimumSymbolCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumUpperCaseCharacters + * Indicates the minimum number of upper case letter characters required for device password. Valid values 1 to 16 + * + * @return int|null The passwordMinimumUpperCaseCharacters + */ + public function getPasswordMinimumUpperCaseCharacters() + { + if (array_key_exists("passwordMinimumUpperCaseCharacters", $this->_propDict)) { + return $this->_propDict["passwordMinimumUpperCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumUpperCaseCharacters + * Indicates the minimum number of upper case letter characters required for device password. Valid values 1 to 16 + * + * @param int $val The passwordMinimumUpperCaseCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinimumUpperCaseCharacters($val) + { + $this->_propDict["passwordMinimumUpperCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordCountToBlock + * Indicates the length of password history, where the user will not be able to enter a new password that is the same as any password in the history. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordCountToBlock + */ + public function getPasswordPreviousPasswordCountToBlock() + { + if (array_key_exists("passwordPreviousPasswordCountToBlock", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordCountToBlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordCountToBlock + * Indicates the length of password history, where the user will not be able to enter a new password that is the same as any password in the history. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordCountToBlock + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordCountToBlock($val) + { + $this->_propDict["passwordPreviousPasswordCountToBlock"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Indicates the minimum password quality required on the device. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @return AndroidDeviceOwnerRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidDeviceOwnerRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Indicates the minimum password quality required on the device. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @param AndroidDeviceOwnerRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordRequireUnlock + * Indicates the timeout period after which a device must be unlocked using a form of strong authentication. Possible values are: deviceDefault, daily, unkownFutureValue. + * + * @return AndroidDeviceOwnerRequiredPasswordUnlock|null The passwordRequireUnlock + */ + public function getPasswordRequireUnlock() + { + if (array_key_exists("passwordRequireUnlock", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequireUnlock"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordUnlock") || is_null($this->_propDict["passwordRequireUnlock"])) { + return $this->_propDict["passwordRequireUnlock"]; + } else { + $this->_propDict["passwordRequireUnlock"] = new AndroidDeviceOwnerRequiredPasswordUnlock($this->_propDict["passwordRequireUnlock"]); + return $this->_propDict["passwordRequireUnlock"]; + } + } + return null; + } + + /** + * Sets the passwordRequireUnlock + * Indicates the timeout period after which a device must be unlocked using a form of strong authentication. Possible values are: deviceDefault, daily, unkownFutureValue. + * + * @param AndroidDeviceOwnerRequiredPasswordUnlock $val The passwordRequireUnlock + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordRequireUnlock($val) + { + $this->_propDict["passwordRequireUnlock"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the personalProfileAppsAllowInstallFromUnknownSources + * Indicates whether the user can install apps from unknown sources on the personal profile. + * + * @return bool|null The personalProfileAppsAllowInstallFromUnknownSources + */ + public function getPersonalProfileAppsAllowInstallFromUnknownSources() + { + if (array_key_exists("personalProfileAppsAllowInstallFromUnknownSources", $this->_propDict)) { + return $this->_propDict["personalProfileAppsAllowInstallFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the personalProfileAppsAllowInstallFromUnknownSources + * Indicates whether the user can install apps from unknown sources on the personal profile. + * + * @param bool $val The personalProfileAppsAllowInstallFromUnknownSources + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPersonalProfileAppsAllowInstallFromUnknownSources($val) + { + $this->_propDict["personalProfileAppsAllowInstallFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the personalProfileCameraBlocked + * Indicates whether to disable the use of the camera on the personal profile. + * + * @return bool|null The personalProfileCameraBlocked + */ + public function getPersonalProfileCameraBlocked() + { + if (array_key_exists("personalProfileCameraBlocked", $this->_propDict)) { + return $this->_propDict["personalProfileCameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the personalProfileCameraBlocked + * Indicates whether to disable the use of the camera on the personal profile. + * + * @param bool $val The personalProfileCameraBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPersonalProfileCameraBlocked($val) + { + $this->_propDict["personalProfileCameraBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the personalProfilePersonalApplications + * Policy applied to applications in the personal profile. This collection can contain a maximum of 500 elements. + * + * @return array|null The personalProfilePersonalApplications + */ + public function getPersonalProfilePersonalApplications() + { + if (array_key_exists("personalProfilePersonalApplications", $this->_propDict)) { + return $this->_propDict["personalProfilePersonalApplications"]; + } else { + return null; + } + } + + /** + * Sets the personalProfilePersonalApplications + * Policy applied to applications in the personal profile. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The personalProfilePersonalApplications + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPersonalProfilePersonalApplications($val) + { + $this->_propDict["personalProfilePersonalApplications"] = $val; + return $this; + } + + /** + * Gets the personalProfilePlayStoreMode + * Used together with PersonalProfilePersonalApplications to control how apps in the personal profile are allowed or blocked. Possible values are: notConfigured, blockedApps, allowedApps. + * + * @return PersonalProfilePersonalPlayStoreMode|null The personalProfilePlayStoreMode + */ + public function getPersonalProfilePlayStoreMode() + { + if (array_key_exists("personalProfilePlayStoreMode", $this->_propDict)) { + if (is_a($this->_propDict["personalProfilePlayStoreMode"], "\Beta\Microsoft\Graph\Model\PersonalProfilePersonalPlayStoreMode") || is_null($this->_propDict["personalProfilePlayStoreMode"])) { + return $this->_propDict["personalProfilePlayStoreMode"]; + } else { + $this->_propDict["personalProfilePlayStoreMode"] = new PersonalProfilePersonalPlayStoreMode($this->_propDict["personalProfilePlayStoreMode"]); + return $this->_propDict["personalProfilePlayStoreMode"]; + } + } + return null; + } + + /** + * Sets the personalProfilePlayStoreMode + * Used together with PersonalProfilePersonalApplications to control how apps in the personal profile are allowed or blocked. Possible values are: notConfigured, blockedApps, allowedApps. + * + * @param PersonalProfilePersonalPlayStoreMode $val The personalProfilePlayStoreMode + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPersonalProfilePlayStoreMode($val) + { + $this->_propDict["personalProfilePlayStoreMode"] = $val; + return $this; + } + + /** + * Gets the personalProfileScreenCaptureBlocked + * Indicates whether to disable the capability to take screenshots on the personal profile. + * + * @return bool|null The personalProfileScreenCaptureBlocked + */ + public function getPersonalProfileScreenCaptureBlocked() + { + if (array_key_exists("personalProfileScreenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["personalProfileScreenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the personalProfileScreenCaptureBlocked + * Indicates whether to disable the capability to take screenshots on the personal profile. + * + * @param bool $val The personalProfileScreenCaptureBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPersonalProfileScreenCaptureBlocked($val) + { + $this->_propDict["personalProfileScreenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the playStoreMode + * Indicates the Play Store mode of the device. Possible values are: notConfigured, allowList, blockList. + * + * @return AndroidDeviceOwnerPlayStoreMode|null The playStoreMode + */ + public function getPlayStoreMode() + { + if (array_key_exists("playStoreMode", $this->_propDict)) { + if (is_a($this->_propDict["playStoreMode"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerPlayStoreMode") || is_null($this->_propDict["playStoreMode"])) { + return $this->_propDict["playStoreMode"]; + } else { + $this->_propDict["playStoreMode"] = new AndroidDeviceOwnerPlayStoreMode($this->_propDict["playStoreMode"]); + return $this->_propDict["playStoreMode"]; + } + } + return null; + } + + /** + * Sets the playStoreMode + * Indicates the Play Store mode of the device. Possible values are: notConfigured, allowList, blockList. + * + * @param AndroidDeviceOwnerPlayStoreMode $val The playStoreMode + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setPlayStoreMode($val) + { + $this->_propDict["playStoreMode"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to disable the capability to take screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to disable the capability to take screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the securityDeveloperSettingsEnabled + * Indicates whether or not the user is allowed to access developer settings like developer options and safe boot on the device. + * + * @return bool|null The securityDeveloperSettingsEnabled + */ + public function getSecurityDeveloperSettingsEnabled() + { + if (array_key_exists("securityDeveloperSettingsEnabled", $this->_propDict)) { + return $this->_propDict["securityDeveloperSettingsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the securityDeveloperSettingsEnabled + * Indicates whether or not the user is allowed to access developer settings like developer options and safe boot on the device. + * + * @param bool $val The securityDeveloperSettingsEnabled + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSecurityDeveloperSettingsEnabled($val) + { + $this->_propDict["securityDeveloperSettingsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Indicates whether or not verify apps is required. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Indicates whether or not verify apps is required. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the shortHelpText + * Represents the customized short help text provided to users when they attempt to modify managed settings on their device. + * + * @return AndroidDeviceOwnerUserFacingMessage|null The shortHelpText + */ + public function getShortHelpText() + { + if (array_key_exists("shortHelpText", $this->_propDict)) { + if (is_a($this->_propDict["shortHelpText"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerUserFacingMessage") || is_null($this->_propDict["shortHelpText"])) { + return $this->_propDict["shortHelpText"]; + } else { + $this->_propDict["shortHelpText"] = new AndroidDeviceOwnerUserFacingMessage($this->_propDict["shortHelpText"]); + return $this->_propDict["shortHelpText"]; + } + } + return null; + } + + /** + * Sets the shortHelpText + * Represents the customized short help text provided to users when they attempt to modify managed settings on their device. + * + * @param AndroidDeviceOwnerUserFacingMessage $val The shortHelpText + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setShortHelpText($val) + { + $this->_propDict["shortHelpText"] = $val; + return $this; + } + + /** + * Gets the statusBarBlocked + * Indicates whether or the status bar is disabled, including notifications, quick settings and other screen overlays. + * + * @return bool|null The statusBarBlocked + */ + public function getStatusBarBlocked() + { + if (array_key_exists("statusBarBlocked", $this->_propDict)) { + return $this->_propDict["statusBarBlocked"]; + } else { + return null; + } + } + + /** + * Sets the statusBarBlocked + * Indicates whether or the status bar is disabled, including notifications, quick settings and other screen overlays. + * + * @param bool $val The statusBarBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setStatusBarBlocked($val) + { + $this->_propDict["statusBarBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the stayOnModes + * List of modes in which the device's display will stay powered-on. This collection can contain a maximum of 4 elements. + * + * @return array|null The stayOnModes + */ + public function getStayOnModes() + { + if (array_key_exists("stayOnModes", $this->_propDict)) { + return $this->_propDict["stayOnModes"]; + } else { + return null; + } + } + + /** + * Sets the stayOnModes + * List of modes in which the device's display will stay powered-on. This collection can contain a maximum of 4 elements. + * + * @param AndroidDeviceOwnerBatteryPluggedMode[] $val The stayOnModes + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setStayOnModes($val) + { + $this->_propDict["stayOnModes"] = $val; + return $this; + } + + /** + * Gets the storageAllowUsb + * Indicates whether or not to allow USB mass storage. + * + * @return bool|null The storageAllowUsb + */ + public function getStorageAllowUsb() + { + if (array_key_exists("storageAllowUsb", $this->_propDict)) { + return $this->_propDict["storageAllowUsb"]; + } else { + return null; + } + } + + /** + * Sets the storageAllowUsb + * Indicates whether or not to allow USB mass storage. + * + * @param bool $val The storageAllowUsb + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setStorageAllowUsb($val) + { + $this->_propDict["storageAllowUsb"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockExternalMedia + * Indicates whether or not to block external media. + * + * @return bool|null The storageBlockExternalMedia + */ + public function getStorageBlockExternalMedia() + { + if (array_key_exists("storageBlockExternalMedia", $this->_propDict)) { + return $this->_propDict["storageBlockExternalMedia"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockExternalMedia + * Indicates whether or not to block external media. + * + * @param bool $val The storageBlockExternalMedia + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setStorageBlockExternalMedia($val) + { + $this->_propDict["storageBlockExternalMedia"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockUsbFileTransfer + * Indicates whether or not to block USB file transfer. + * + * @return bool|null The storageBlockUsbFileTransfer + */ + public function getStorageBlockUsbFileTransfer() + { + if (array_key_exists("storageBlockUsbFileTransfer", $this->_propDict)) { + return $this->_propDict["storageBlockUsbFileTransfer"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockUsbFileTransfer + * Indicates whether or not to block USB file transfer. + * + * @param bool $val The storageBlockUsbFileTransfer + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setStorageBlockUsbFileTransfer($val) + { + $this->_propDict["storageBlockUsbFileTransfer"] = boolval($val); + return $this; + } + + + /** + * Gets the systemUpdateFreezePeriods + * Indicates the annually repeating time periods during which system updates are postponed. This collection can contain a maximum of 500 elements. + * + * @return array|null The systemUpdateFreezePeriods + */ + public function getSystemUpdateFreezePeriods() + { + if (array_key_exists("systemUpdateFreezePeriods", $this->_propDict)) { + return $this->_propDict["systemUpdateFreezePeriods"]; + } else { + return null; + } + } + + /** + * Sets the systemUpdateFreezePeriods + * Indicates the annually repeating time periods during which system updates are postponed. This collection can contain a maximum of 500 elements. + * + * @param AndroidDeviceOwnerSystemUpdateFreezePeriod[] $val The systemUpdateFreezePeriods + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSystemUpdateFreezePeriods($val) + { + $this->_propDict["systemUpdateFreezePeriods"] = $val; + return $this; + } + + /** + * Gets the systemUpdateInstallType + * The type of system update configuration. Possible values are: deviceDefault, postpone, windowed, automatic. + * + * @return AndroidDeviceOwnerSystemUpdateInstallType|null The systemUpdateInstallType + */ + public function getSystemUpdateInstallType() + { + if (array_key_exists("systemUpdateInstallType", $this->_propDict)) { + if (is_a($this->_propDict["systemUpdateInstallType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerSystemUpdateInstallType") || is_null($this->_propDict["systemUpdateInstallType"])) { + return $this->_propDict["systemUpdateInstallType"]; + } else { + $this->_propDict["systemUpdateInstallType"] = new AndroidDeviceOwnerSystemUpdateInstallType($this->_propDict["systemUpdateInstallType"]); + return $this->_propDict["systemUpdateInstallType"]; + } + } + return null; + } + + /** + * Sets the systemUpdateInstallType + * The type of system update configuration. Possible values are: deviceDefault, postpone, windowed, automatic. + * + * @param AndroidDeviceOwnerSystemUpdateInstallType $val The systemUpdateInstallType + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSystemUpdateInstallType($val) + { + $this->_propDict["systemUpdateInstallType"] = $val; + return $this; + } + + /** + * Gets the systemUpdateWindowEndMinutesAfterMidnight + * Indicates the number of minutes after midnight that the system update window ends. Valid values 0 to 1440 + * + * @return int|null The systemUpdateWindowEndMinutesAfterMidnight + */ + public function getSystemUpdateWindowEndMinutesAfterMidnight() + { + if (array_key_exists("systemUpdateWindowEndMinutesAfterMidnight", $this->_propDict)) { + return $this->_propDict["systemUpdateWindowEndMinutesAfterMidnight"]; + } else { + return null; + } + } + + /** + * Sets the systemUpdateWindowEndMinutesAfterMidnight + * Indicates the number of minutes after midnight that the system update window ends. Valid values 0 to 1440 + * + * @param int $val The systemUpdateWindowEndMinutesAfterMidnight + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSystemUpdateWindowEndMinutesAfterMidnight($val) + { + $this->_propDict["systemUpdateWindowEndMinutesAfterMidnight"] = intval($val); + return $this; + } + + /** + * Gets the systemUpdateWindowStartMinutesAfterMidnight + * Indicates the number of minutes after midnight that the system update window starts. Valid values 0 to 1440 + * + * @return int|null The systemUpdateWindowStartMinutesAfterMidnight + */ + public function getSystemUpdateWindowStartMinutesAfterMidnight() + { + if (array_key_exists("systemUpdateWindowStartMinutesAfterMidnight", $this->_propDict)) { + return $this->_propDict["systemUpdateWindowStartMinutesAfterMidnight"]; + } else { + return null; + } + } + + /** + * Sets the systemUpdateWindowStartMinutesAfterMidnight + * Indicates the number of minutes after midnight that the system update window starts. Valid values 0 to 1440 + * + * @param int $val The systemUpdateWindowStartMinutesAfterMidnight + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSystemUpdateWindowStartMinutesAfterMidnight($val) + { + $this->_propDict["systemUpdateWindowStartMinutesAfterMidnight"] = intval($val); + return $this; + } + + /** + * Gets the systemWindowsBlocked + * Whether or not to block Android system prompt windows, like toasts, phone activities, and system alerts. + * + * @return bool|null The systemWindowsBlocked + */ + public function getSystemWindowsBlocked() + { + if (array_key_exists("systemWindowsBlocked", $this->_propDict)) { + return $this->_propDict["systemWindowsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the systemWindowsBlocked + * Whether or not to block Android system prompt windows, like toasts, phone activities, and system alerts. + * + * @param bool $val The systemWindowsBlocked + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setSystemWindowsBlocked($val) + { + $this->_propDict["systemWindowsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the usersBlockAdd + * Indicates whether or not adding users and profiles is disabled. + * + * @return bool|null The usersBlockAdd + */ + public function getUsersBlockAdd() + { + if (array_key_exists("usersBlockAdd", $this->_propDict)) { + return $this->_propDict["usersBlockAdd"]; + } else { + return null; + } + } + + /** + * Sets the usersBlockAdd + * Indicates whether or not adding users and profiles is disabled. + * + * @param bool $val The usersBlockAdd + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setUsersBlockAdd($val) + { + $this->_propDict["usersBlockAdd"] = boolval($val); + return $this; + } + + /** + * Gets the usersBlockRemove + * Indicates whether or not to disable removing other users from the device. + * + * @return bool|null The usersBlockRemove + */ + public function getUsersBlockRemove() + { + if (array_key_exists("usersBlockRemove", $this->_propDict)) { + return $this->_propDict["usersBlockRemove"]; + } else { + return null; + } + } + + /** + * Sets the usersBlockRemove + * Indicates whether or not to disable removing other users from the device. + * + * @param bool $val The usersBlockRemove + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setUsersBlockRemove($val) + { + $this->_propDict["usersBlockRemove"] = boolval($val); + return $this; + } + + /** + * Gets the volumeBlockAdjustment + * Indicates whether or not adjusting the master volume is disabled. + * + * @return bool|null The volumeBlockAdjustment + */ + public function getVolumeBlockAdjustment() + { + if (array_key_exists("volumeBlockAdjustment", $this->_propDict)) { + return $this->_propDict["volumeBlockAdjustment"]; + } else { + return null; + } + } + + /** + * Sets the volumeBlockAdjustment + * Indicates whether or not adjusting the master volume is disabled. + * + * @param bool $val The volumeBlockAdjustment + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setVolumeBlockAdjustment($val) + { + $this->_propDict["volumeBlockAdjustment"] = boolval($val); + return $this; + } + + /** + * Gets the vpnAlwaysOnLockdownMode + * If an always on VPN package name is specified, whether or not to lock network traffic when that VPN is disconnected. + * + * @return bool|null The vpnAlwaysOnLockdownMode + */ + public function getVpnAlwaysOnLockdownMode() + { + if (array_key_exists("vpnAlwaysOnLockdownMode", $this->_propDict)) { + return $this->_propDict["vpnAlwaysOnLockdownMode"]; + } else { + return null; + } + } + + /** + * Sets the vpnAlwaysOnLockdownMode + * If an always on VPN package name is specified, whether or not to lock network traffic when that VPN is disconnected. + * + * @param bool $val The vpnAlwaysOnLockdownMode + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setVpnAlwaysOnLockdownMode($val) + { + $this->_propDict["vpnAlwaysOnLockdownMode"] = boolval($val); + return $this; + } + + /** + * Gets the vpnAlwaysOnPackageIdentifier + * Android app package name for app that will handle an always-on VPN connection. + * + * @return string|null The vpnAlwaysOnPackageIdentifier + */ + public function getVpnAlwaysOnPackageIdentifier() + { + if (array_key_exists("vpnAlwaysOnPackageIdentifier", $this->_propDict)) { + return $this->_propDict["vpnAlwaysOnPackageIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the vpnAlwaysOnPackageIdentifier + * Android app package name for app that will handle an always-on VPN connection. + * + * @param string $val The vpnAlwaysOnPackageIdentifier + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setVpnAlwaysOnPackageIdentifier($val) + { + $this->_propDict["vpnAlwaysOnPackageIdentifier"] = $val; + return $this; + } + + /** + * Gets the wifiBlockEditConfigurations + * Indicates whether or not to block the user from editing the wifi connection settings. + * + * @return bool|null The wifiBlockEditConfigurations + */ + public function getWifiBlockEditConfigurations() + { + if (array_key_exists("wifiBlockEditConfigurations", $this->_propDict)) { + return $this->_propDict["wifiBlockEditConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockEditConfigurations + * Indicates whether or not to block the user from editing the wifi connection settings. + * + * @param bool $val The wifiBlockEditConfigurations + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWifiBlockEditConfigurations($val) + { + $this->_propDict["wifiBlockEditConfigurations"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlockEditPolicyDefinedConfigurations + * Indicates whether or not to block the user from editing just the networks defined by the policy. + * + * @return bool|null The wifiBlockEditPolicyDefinedConfigurations + */ + public function getWifiBlockEditPolicyDefinedConfigurations() + { + if (array_key_exists("wifiBlockEditPolicyDefinedConfigurations", $this->_propDict)) { + return $this->_propDict["wifiBlockEditPolicyDefinedConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockEditPolicyDefinedConfigurations + * Indicates whether or not to block the user from editing just the networks defined by the policy. + * + * @param bool $val The wifiBlockEditPolicyDefinedConfigurations + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWifiBlockEditPolicyDefinedConfigurations($val) + { + $this->_propDict["wifiBlockEditPolicyDefinedConfigurations"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordExpirationDays + * Indicates the number of days that a work profile password can be set before it expires and a new password will be required. Valid values 1 to 365 + * + * @return int|null The workProfilePasswordExpirationDays + */ + public function getWorkProfilePasswordExpirationDays() + { + if (array_key_exists("workProfilePasswordExpirationDays", $this->_propDict)) { + return $this->_propDict["workProfilePasswordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordExpirationDays + * Indicates the number of days that a work profile password can be set before it expires and a new password will be required. Valid values 1 to 365 + * + * @param int $val The workProfilePasswordExpirationDays + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordExpirationDays($val) + { + $this->_propDict["workProfilePasswordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumLength + * Indicates the minimum length of the work profile password. Valid values 4 to 16 + * + * @return int|null The workProfilePasswordMinimumLength + */ + public function getWorkProfilePasswordMinimumLength() + { + if (array_key_exists("workProfilePasswordMinimumLength", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumLength + * Indicates the minimum length of the work profile password. Valid values 4 to 16 + * + * @param int $val The workProfilePasswordMinimumLength + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumLength($val) + { + $this->_propDict["workProfilePasswordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumLetterCharacters + * Indicates the minimum number of letter characters required for the work profile password. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordMinimumLetterCharacters + */ + public function getWorkProfilePasswordMinimumLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinimumLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumLetterCharacters + * Indicates the minimum number of letter characters required for the work profile password. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordMinimumLetterCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinimumLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumLowerCaseCharacters + * Indicates the minimum number of lower-case characters required for the work profile password. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordMinimumLowerCaseCharacters + */ + public function getWorkProfilePasswordMinimumLowerCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinimumLowerCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumLowerCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumLowerCaseCharacters + * Indicates the minimum number of lower-case characters required for the work profile password. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordMinimumLowerCaseCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumLowerCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinimumLowerCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumNonLetterCharacters + * Indicates the minimum number of non-letter characters required for the work profile password. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordMinimumNonLetterCharacters + */ + public function getWorkProfilePasswordMinimumNonLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinimumNonLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumNonLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumNonLetterCharacters + * Indicates the minimum number of non-letter characters required for the work profile password. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordMinimumNonLetterCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumNonLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinimumNonLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumNumericCharacters + * Indicates the minimum number of numeric characters required for the work profile password. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordMinimumNumericCharacters + */ + public function getWorkProfilePasswordMinimumNumericCharacters() + { + if (array_key_exists("workProfilePasswordMinimumNumericCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumNumericCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumNumericCharacters + * Indicates the minimum number of numeric characters required for the work profile password. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordMinimumNumericCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumNumericCharacters($val) + { + $this->_propDict["workProfilePasswordMinimumNumericCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumSymbolCharacters + * Indicates the minimum number of symbol characters required for the work profile password. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordMinimumSymbolCharacters + */ + public function getWorkProfilePasswordMinimumSymbolCharacters() + { + if (array_key_exists("workProfilePasswordMinimumSymbolCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumSymbolCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumSymbolCharacters + * Indicates the minimum number of symbol characters required for the work profile password. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordMinimumSymbolCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumSymbolCharacters($val) + { + $this->_propDict["workProfilePasswordMinimumSymbolCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumUpperCaseCharacters + * Indicates the minimum number of upper-case letter characters required for the work profile password. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordMinimumUpperCaseCharacters + */ + public function getWorkProfilePasswordMinimumUpperCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinimumUpperCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumUpperCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumUpperCaseCharacters + * Indicates the minimum number of upper-case letter characters required for the work profile password. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordMinimumUpperCaseCharacters + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumUpperCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinimumUpperCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordPreviousPasswordCountToBlock + * Indicates the length of the work profile password history, where the user will not be able to enter a new password that is the same as any password in the history. Valid values 0 to 24 + * + * @return int|null The workProfilePasswordPreviousPasswordCountToBlock + */ + public function getWorkProfilePasswordPreviousPasswordCountToBlock() + { + if (array_key_exists("workProfilePasswordPreviousPasswordCountToBlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordPreviousPasswordCountToBlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordPreviousPasswordCountToBlock + * Indicates the length of the work profile password history, where the user will not be able to enter a new password that is the same as any password in the history. Valid values 0 to 24 + * + * @param int $val The workProfilePasswordPreviousPasswordCountToBlock + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordPreviousPasswordCountToBlock($val) + { + $this->_propDict["workProfilePasswordPreviousPasswordCountToBlock"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordRequiredType + * Indicates the minimum password quality required on the work profile password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @return AndroidDeviceOwnerRequiredPasswordType|null The workProfilePasswordRequiredType + */ + public function getWorkProfilePasswordRequiredType() + { + if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType") || is_null($this->_propDict["workProfilePasswordRequiredType"])) { + return $this->_propDict["workProfilePasswordRequiredType"]; + } else { + $this->_propDict["workProfilePasswordRequiredType"] = new AndroidDeviceOwnerRequiredPasswordType($this->_propDict["workProfilePasswordRequiredType"]); + return $this->_propDict["workProfilePasswordRequiredType"]; + } + } + return null; + } + + /** + * Sets the workProfilePasswordRequiredType + * Indicates the minimum password quality required on the work profile password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @param AndroidDeviceOwnerRequiredPasswordType $val The workProfilePasswordRequiredType + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordRequiredType($val) + { + $this->_propDict["workProfilePasswordRequiredType"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Indicates the number of times a user can enter an incorrect work profile password before the device is wiped. Valid values 4 to 11 + * + * @return int|null The workProfilePasswordSignInFailureCountBeforeFactoryReset + */ + public function getWorkProfilePasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("workProfilePasswordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Indicates the number of times a user can enter an incorrect work profile password before the device is wiped. Valid values 4 to 11 + * + * @param int $val The workProfilePasswordSignInFailureCountBeforeFactoryReset + * + * @return AndroidDeviceOwnerGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxy.php new file mode 100644 index 0000000..bce7858 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxy.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.androidDeviceOwnerGlobalProxyAutoConfig"); + } + + /** + * Gets the proxyAutoConfigURL + * The proxy auto-config URL + * + * @return string|null The proxyAutoConfigURL + */ + public function getProxyAutoConfigURL() + { + if (array_key_exists("proxyAutoConfigURL", $this->_propDict)) { + return $this->_propDict["proxyAutoConfigURL"]; + } else { + return null; + } + } + + /** + * Sets the proxyAutoConfigURL + * The proxy auto-config URL + * + * @param string $val The value of the proxyAutoConfigURL + * + * @return AndroidDeviceOwnerGlobalProxyAutoConfig + */ + public function setProxyAutoConfigURL($val) + { + $this->_propDict["proxyAutoConfigURL"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxyDirect.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxyDirect.php new file mode 100644 index 0000000..84741b6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxyDirect.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.androidDeviceOwnerGlobalProxyDirect"); + } + + /** + * Gets the excludedHosts + * The excluded hosts + * + * @return string|null The excludedHosts + */ + public function getExcludedHosts() + { + if (array_key_exists("excludedHosts", $this->_propDict)) { + return $this->_propDict["excludedHosts"]; + } else { + return null; + } + } + + /** + * Sets the excludedHosts + * The excluded hosts + * + * @param string $val The value of the excludedHosts + * + * @return AndroidDeviceOwnerGlobalProxyDirect + */ + public function setExcludedHosts($val) + { + $this->_propDict["excludedHosts"] = $val; + return $this; + } + /** + * Gets the host + * The host name + * + * @return string|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + return $this->_propDict["host"]; + } else { + return null; + } + } + + /** + * Sets the host + * The host name + * + * @param string $val The value of the host + * + * @return AndroidDeviceOwnerGlobalProxyDirect + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + /** + * Gets the port + * The port + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * The port + * + * @param int $val The value of the port + * + * @return AndroidDeviceOwnerGlobalProxyDirect + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerImportedPFXCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerImportedPFXCertificateProfile.php new file mode 100644 index 0000000..f80c395 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerImportedPFXCertificateProfile.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return AndroidDeviceOwnerImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidDeviceOwnerImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskCustomizationStatusBar.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskCustomizationStatusBar.php new file mode 100644 index 0000000..bcd5f20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskCustomizationStatusBar.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["className"]; + } else { + return null; + } + } + + /** + * Sets the className + * Class name of application + * + * @param string $val The value of the className + * + * @return AndroidDeviceOwnerKioskModeApp + */ + public function setClassName($val) + { + $this->_propDict["className"] = $val; + return $this; + } + /** + * Gets the package + * Package name of application + * + * @return string|null The package + */ + public function getPackage() + { + if (array_key_exists("package", $this->_propDict)) { + return $this->_propDict["package"]; + } else { + return null; + } + } + + /** + * Sets the package + * Package name of application + * + * @param string $val The value of the package + * + * @return AndroidDeviceOwnerKioskModeApp + */ + public function setPackage($val) + { + $this->_propDict["package"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeAppPositionItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeAppPositionItem.php new file mode 100644 index 0000000..200634f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeAppPositionItem.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeHomeScreenItem") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new AndroidDeviceOwnerKioskModeHomeScreenItem($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * Item to be arranged + * + * @param AndroidDeviceOwnerKioskModeHomeScreenItem $val The value to assign to the item + * + * @return AndroidDeviceOwnerKioskModeAppPositionItem The AndroidDeviceOwnerKioskModeAppPositionItem + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + /** + * Gets the position + * Position of the item on the grid. Valid values 0 to 9999999 + * + * @return int|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * Position of the item on the grid. Valid values 0 to 9999999 + * + * @param int $val The value of the position + * + * @return AndroidDeviceOwnerKioskModeAppPositionItem + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeFolderIcon.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeFolderIcon.php new file mode 100644 index 0000000..57b23d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeFolderIcon.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["folderIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the folderIdentifier + * Unique identifier for the folder + * + * @param string $val The value of the folderIdentifier + * + * @return AndroidDeviceOwnerKioskModeManagedFolder + */ + public function setFolderIdentifier($val) + { + $this->_propDict["folderIdentifier"] = $val; + return $this; + } + /** + * Gets the folderName + * Display name for the folder + * + * @return string|null The folderName + */ + public function getFolderName() + { + if (array_key_exists("folderName", $this->_propDict)) { + return $this->_propDict["folderName"]; + } else { + return null; + } + } + + /** + * Sets the folderName + * Display name for the folder + * + * @param string $val The value of the folderName + * + * @return AndroidDeviceOwnerKioskModeManagedFolder + */ + public function setFolderName($val) + { + $this->_propDict["folderName"] = $val; + return $this; + } + + /** + * Gets the items + * Items to be added to managed folder. This collection can contain a maximum of 500 elements. + * + * @return AndroidDeviceOwnerKioskModeFolderItem|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + if (is_a($this->_propDict["items"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeFolderItem") || is_null($this->_propDict["items"])) { + return $this->_propDict["items"]; + } else { + $this->_propDict["items"] = new AndroidDeviceOwnerKioskModeFolderItem($this->_propDict["items"]); + return $this->_propDict["items"]; + } + } + return null; + } + + /** + * Sets the items + * Items to be added to managed folder. This collection can contain a maximum of 500 elements. + * + * @param AndroidDeviceOwnerKioskModeFolderItem $val The value to assign to the items + * + * @return AndroidDeviceOwnerKioskModeManagedFolder The AndroidDeviceOwnerKioskModeManagedFolder + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeManagedFolderReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeManagedFolderReference.php new file mode 100644 index 0000000..d4aa22c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeManagedFolderReference.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["folderIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the folderIdentifier + * Unique identifier for the folder + * + * @param string $val The value of the folderIdentifier + * + * @return AndroidDeviceOwnerKioskModeManagedFolderReference + */ + public function setFolderIdentifier($val) + { + $this->_propDict["folderIdentifier"] = $val; + return $this; + } + /** + * Gets the folderName + * Name of the folder + * + * @return string|null The folderName + */ + public function getFolderName() + { + if (array_key_exists("folderName", $this->_propDict)) { + return $this->_propDict["folderName"]; + } else { + return null; + } + } + + /** + * Sets the folderName + * Name of the folder + * + * @param string $val The value of the folderName + * + * @return AndroidDeviceOwnerKioskModeManagedFolderReference + */ + public function setFolderName($val) + { + $this->_propDict["folderName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeScreenOrientation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeScreenOrientation.php new file mode 100644 index 0000000..8495abe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeScreenOrientation.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * Display name for weblink + * + * @param string $val The value of the label + * + * @return AndroidDeviceOwnerKioskModeWeblink + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + /** + * Gets the link + * Link for weblink + * + * @return string|null The link + */ + public function getLink() + { + if (array_key_exists("link", $this->_propDict)) { + return $this->_propDict["link"]; + } else { + return null; + } + } + + /** + * Sets the link + * Link for weblink + * + * @param string $val The value of the link + * + * @return AndroidDeviceOwnerKioskModeWeblink + */ + public function setLink($val) + { + $this->_propDict["link"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php new file mode 100644 index 0000000..cf13d57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php @@ -0,0 +1,298 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateTemplateName + * PKCS Certificate Template Name + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name + * + * @param string $val The certificateTemplateName + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority + * + * @param string $val The certificationAuthority + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @param string $val The certificationAuthorityName + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityType + * Certification authority type. Possible values are: notConfigured, microsoft, digiCert. + * + * @return DeviceManagementCertificationAuthority|null The certificationAuthorityType + */ + public function getCertificationAuthorityType() + { + if (array_key_exists("certificationAuthorityType", $this->_propDict)) { + if (is_a($this->_propDict["certificationAuthorityType"], "\Beta\Microsoft\Graph\Model\DeviceManagementCertificationAuthority") || is_null($this->_propDict["certificationAuthorityType"])) { + return $this->_propDict["certificationAuthorityType"]; + } else { + $this->_propDict["certificationAuthorityType"] = new DeviceManagementCertificationAuthority($this->_propDict["certificationAuthorityType"]); + return $this->_propDict["certificationAuthorityType"]; + } + } + return null; + } + + /** + * Sets the certificationAuthorityType + * Certification authority type. Possible values are: notConfigured, microsoft, digiCert. + * + * @param DeviceManagementCertificationAuthority $val The certificationAuthorityType + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setCertificationAuthorityType($val) + { + $this->_propDict["certificationAuthorityType"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidDeviceOwnerPkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPlayStoreMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPlayStoreMode.php new file mode 100644 index 0000000..57910d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPlayStoreMode.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @return HashAlgorithms|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s) + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s) + * + * @param string $val The scepServerUrls + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidDeviceOwnerScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateFreezePeriod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateFreezePeriod.php new file mode 100644 index 0000000..eca97bb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateFreezePeriod.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["endDay"]; + } else { + return null; + } + } + + /** + * Sets the endDay + * The day of the end date of the freeze period. Valid values 1 to 31 + * + * @param int $val The value of the endDay + * + * @return AndroidDeviceOwnerSystemUpdateFreezePeriod + */ + public function setEndDay($val) + { + $this->_propDict["endDay"] = $val; + return $this; + } + /** + * Gets the endMonth + * The month of the end date of the freeze period. Valid values 1 to 12 + * + * @return int|null The endMonth + */ + public function getEndMonth() + { + if (array_key_exists("endMonth", $this->_propDict)) { + return $this->_propDict["endMonth"]; + } else { + return null; + } + } + + /** + * Sets the endMonth + * The month of the end date of the freeze period. Valid values 1 to 12 + * + * @param int $val The value of the endMonth + * + * @return AndroidDeviceOwnerSystemUpdateFreezePeriod + */ + public function setEndMonth($val) + { + $this->_propDict["endMonth"] = $val; + return $this; + } + /** + * Gets the startDay + * The day of the start date of the freeze period. Valid values 1 to 31 + * + * @return int|null The startDay + */ + public function getStartDay() + { + if (array_key_exists("startDay", $this->_propDict)) { + return $this->_propDict["startDay"]; + } else { + return null; + } + } + + /** + * Sets the startDay + * The day of the start date of the freeze period. Valid values 1 to 31 + * + * @param int $val The value of the startDay + * + * @return AndroidDeviceOwnerSystemUpdateFreezePeriod + */ + public function setStartDay($val) + { + $this->_propDict["startDay"] = $val; + return $this; + } + /** + * Gets the startMonth + * The month of the start date of the freeze period. Valid values 1 to 12 + * + * @return int|null The startMonth + */ + public function getStartMonth() + { + if (array_key_exists("startMonth", $this->_propDict)) { + return $this->_propDict["startMonth"]; + } else { + return null; + } + } + + /** + * Sets the startMonth + * The month of the start date of the freeze period. Valid values 1 to 12 + * + * @param int $val The value of the startMonth + * + * @return AndroidDeviceOwnerSystemUpdateFreezePeriod + */ + public function setStartMonth($val) + { + $this->_propDict["startMonth"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateInstallType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateInstallType.php new file mode 100644 index 0000000..f4a2790 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateInstallType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return AndroidDeviceOwnerTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return AndroidDeviceOwnerTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerUserFacingMessage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerUserFacingMessage.php new file mode 100644 index 0000000..f32d460 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerUserFacingMessage.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["defaultMessage"]; + } else { + return null; + } + } + + /** + * Sets the defaultMessage + * The default message displayed if the user's locale doesn't match with any of the localized messages + * + * @param string $val The value of the defaultMessage + * + * @return AndroidDeviceOwnerUserFacingMessage + */ + public function setDefaultMessage($val) + { + $this->_propDict["defaultMessage"] = $val; + return $this; + } + + /** + * Gets the localizedMessages + * The list of &lt;locale, message&gt; pairs. This collection can contain a maximum of 500 elements. + * + * @return KeyValuePair|null The localizedMessages + */ + public function getLocalizedMessages() + { + if (array_key_exists("localizedMessages", $this->_propDict)) { + if (is_a($this->_propDict["localizedMessages"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["localizedMessages"])) { + return $this->_propDict["localizedMessages"]; + } else { + $this->_propDict["localizedMessages"] = new KeyValuePair($this->_propDict["localizedMessages"]); + return $this->_propDict["localizedMessages"]; + } + } + return null; + } + + /** + * Sets the localizedMessages + * The list of &lt;locale, message&gt; pairs. This collection can contain a maximum of 500 elements. + * + * @param KeyValuePair $val The value to assign to the localizedMessages + * + * @return AndroidDeviceOwnerUserFacingMessage The AndroidDeviceOwnerUserFacingMessage + */ + public function setLocalizedMessages($val) + { + $this->_propDict["localizedMessages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVirtualHomeButtonType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVirtualHomeButtonType.php new file mode 100644 index 0000000..3367d2e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVirtualHomeButtonType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["alwaysOn"]; + } else { + return null; + } + } + + /** + * Sets the alwaysOn + * Whether or not to enable always-on VPN connection. + * + * @param bool $val The alwaysOn + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setAlwaysOn($val) + { + $this->_propDict["alwaysOn"] = boolval($val); + return $this; + } + + /** + * Gets the alwaysOnLockdown + * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + * + * @return bool|null The alwaysOnLockdown + */ + public function getAlwaysOnLockdown() + { + if (array_key_exists("alwaysOnLockdown", $this->_propDict)) { + return $this->_propDict["alwaysOnLockdown"]; + } else { + return null; + } + } + + /** + * Sets the alwaysOnLockdown + * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + * + * @param bool $val The alwaysOnLockdown + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setAlwaysOnLockdown($val) + { + $this->_propDict["alwaysOnLockdown"] = boolval($val); + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @return AndroidVpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidVpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new AndroidVpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @param AndroidVpnConnectionType $val The connectionType + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + + /** + * Gets the customData + * Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements. + * + * @return array|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements. + * + * @param KeyValue[] $val The customData + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + + /** + * Gets the customKeyValueData + * Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements. + * + * @return array|null The customKeyValueData + */ + public function getCustomKeyValueData() + { + if (array_key_exists("customKeyValueData", $this->_propDict)) { + return $this->_propDict["customKeyValueData"]; + } else { + return null; + } + } + + /** + * Sets the customKeyValueData + * Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements. + * + * @param KeyValuePair[] $val The customKeyValueData + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setCustomKeyValueData($val) + { + $this->_propDict["customKeyValueData"] = $val; + return $this; + } + + /** + * Gets the microsoftTunnelSiteId + * Microsoft Tunnel site ID. + * + * @return string|null The microsoftTunnelSiteId + */ + public function getMicrosoftTunnelSiteId() + { + if (array_key_exists("microsoftTunnelSiteId", $this->_propDict)) { + return $this->_propDict["microsoftTunnelSiteId"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelSiteId + * Microsoft Tunnel site ID. + * + * @param string $val The microsoftTunnelSiteId + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setMicrosoftTunnelSiteId($val) + { + $this->_propDict["microsoftTunnelSiteId"] = $val; + return $this; + } + + /** + * Gets the proxyServer + * Proxy server. + * + * @return VpnProxyServer|null The proxyServer + */ + public function getProxyServer() + { + if (array_key_exists("proxyServer", $this->_propDict)) { + if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\VpnProxyServer") || is_null($this->_propDict["proxyServer"])) { + return $this->_propDict["proxyServer"]; + } else { + $this->_propDict["proxyServer"] = new VpnProxyServer($this->_propDict["proxyServer"]); + return $this->_propDict["proxyServer"]; + } + } + return null; + } + + /** + * Sets the proxyServer + * Proxy server. + * + * @param VpnProxyServer $val The proxyServer + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setProxyServer($val) + { + $this->_propDict["proxyServer"] = $val; + return $this; + } + + + /** + * Gets the targetedMobileApps + * Targeted mobile apps. This collection can contain a maximum of 500 elements. + * + * @return array|null The targetedMobileApps + */ + public function getTargetedMobileApps() + { + if (array_key_exists("targetedMobileApps", $this->_propDict)) { + return $this->_propDict["targetedMobileApps"]; + } else { + return null; + } + } + + /** + * Sets the targetedMobileApps + * Targeted mobile apps. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The targetedMobileApps + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setTargetedMobileApps($val) + { + $this->_propDict["targetedMobileApps"] = $val; + return $this; + } + + /** + * Gets the targetedPackageIds + * Targeted App package IDs. + * + * @return string|null The targetedPackageIds + */ + public function getTargetedPackageIds() + { + if (array_key_exists("targetedPackageIds", $this->_propDict)) { + return $this->_propDict["targetedPackageIds"]; + } else { + return null; + } + } + + /** + * Sets the targetedPackageIds + * Targeted App package IDs. + * + * @param string $val The targetedPackageIds + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setTargetedPackageIds($val) + { + $this->_propDict["targetedPackageIds"] = $val; + return $this; + } + + /** + * Gets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @return DeviceManagementDerivedCredentialSettings|null The derivedCredentialSettings + */ + public function getDerivedCredentialSettings() + { + if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return AndroidDeviceOwnerCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidDeviceOwnerCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param AndroidDeviceOwnerCertificateProfileBase $val The identityCertificate + * + * @return AndroidDeviceOwnerVpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiConfiguration.php new file mode 100644 index 0000000..a47c8a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiConfiguration.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return string|null The preSharedKey + */ + public function getPreSharedKey() + { + if (array_key_exists("preSharedKey", $this->_propDict)) { + return $this->_propDict["preSharedKey"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param string $val The preSharedKey + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setPreSharedKey($val) + { + $this->_propDict["preSharedKey"] = $val; + return $this; + } + + /** + * Gets the preSharedKeyIsSet + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return bool|null The preSharedKeyIsSet + */ + public function getPreSharedKeyIsSet() + { + if (array_key_exists("preSharedKeyIsSet", $this->_propDict)) { + return $this->_propDict["preSharedKeyIsSet"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKeyIsSet + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param bool $val The preSharedKeyIsSet + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setPreSharedKeyIsSet($val) + { + $this->_propDict["preSharedKeyIsSet"] = boolval($val); + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wep, wpaPersonal, wpaEnterprise. + * + * @return AndroidDeviceOwnerWiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerWiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new AndroidDeviceOwnerWiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wep, wpaPersonal, wpaEnterprise. + * + * @param AndroidDeviceOwnerWiFiSecurityType $val The wiFiSecurityType + * + * @return AndroidDeviceOwnerWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiSecurityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiSecurityType.php new file mode 100644 index 0000000..d2d878e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiSecurityType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Exchange ActiveSync account name, displayed to users as name of EAS (this) profile. + * + * @param string $val The accountName + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + + /** + * Gets the authenticationMethod + * Authentication method for Exchange ActiveSync. Possible values are: usernameAndPassword, certificate, derivedCredential. + * + * @return EasAuthenticationMethod|null The authenticationMethod + */ + public function getAuthenticationMethod() + { + if (array_key_exists("authenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new EasAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method for Exchange ActiveSync. Possible values are: usernameAndPassword, certificate, derivedCredential. + * + * @param EasAuthenticationMethod $val The authenticationMethod + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the customDomainName + * Custom domain name value used while generating an email profile before installing on the device. + * + * @return string|null The customDomainName + */ + public function getCustomDomainName() + { + if (array_key_exists("customDomainName", $this->_propDict)) { + return $this->_propDict["customDomainName"]; + } else { + return null; + } + } + + /** + * Sets the customDomainName + * Custom domain name value used while generating an email profile before installing on the device. + * + * @param string $val The customDomainName + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setCustomDomainName($val) + { + $this->_propDict["customDomainName"] = $val; + return $this; + } + + /** + * Gets the durationOfEmailToSync + * Duration of time email should be synced to. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @return EmailSyncDuration|null The durationOfEmailToSync + */ + public function getDurationOfEmailToSync() + { + if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { + if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration") || is_null($this->_propDict["durationOfEmailToSync"])) { + return $this->_propDict["durationOfEmailToSync"]; + } else { + $this->_propDict["durationOfEmailToSync"] = new EmailSyncDuration($this->_propDict["durationOfEmailToSync"]); + return $this->_propDict["durationOfEmailToSync"]; + } + } + return null; + } + + /** + * Sets the durationOfEmailToSync + * Duration of time email should be synced to. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @param EmailSyncDuration $val The durationOfEmailToSync + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setDurationOfEmailToSync($val) + { + $this->_propDict["durationOfEmailToSync"] = $val; + return $this; + } + + /** + * Gets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The emailAddressSource + */ + public function getEmailAddressSource() + { + if (array_key_exists("emailAddressSource", $this->_propDict)) { + if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["emailAddressSource"])) { + return $this->_propDict["emailAddressSource"]; + } else { + $this->_propDict["emailAddressSource"] = new UserEmailSource($this->_propDict["emailAddressSource"]); + return $this->_propDict["emailAddressSource"]; + } + } + return null; + } + + /** + * Sets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The emailAddressSource + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setEmailAddressSource($val) + { + $this->_propDict["emailAddressSource"] = $val; + return $this; + } + + /** + * Gets the emailSyncSchedule + * Email sync schedule. Possible values are: userDefined, asMessagesArrive, manual, fifteenMinutes, thirtyMinutes, sixtyMinutes, basedOnMyUsage. + * + * @return EmailSyncSchedule|null The emailSyncSchedule + */ + public function getEmailSyncSchedule() + { + if (array_key_exists("emailSyncSchedule", $this->_propDict)) { + if (is_a($this->_propDict["emailSyncSchedule"], "\Beta\Microsoft\Graph\Model\EmailSyncSchedule") || is_null($this->_propDict["emailSyncSchedule"])) { + return $this->_propDict["emailSyncSchedule"]; + } else { + $this->_propDict["emailSyncSchedule"] = new EmailSyncSchedule($this->_propDict["emailSyncSchedule"]); + return $this->_propDict["emailSyncSchedule"]; + } + } + return null; + } + + /** + * Sets the emailSyncSchedule + * Email sync schedule. Possible values are: userDefined, asMessagesArrive, manual, fifteenMinutes, thirtyMinutes, sixtyMinutes, basedOnMyUsage. + * + * @param EmailSyncSchedule $val The emailSyncSchedule + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setEmailSyncSchedule($val) + { + $this->_propDict["emailSyncSchedule"] = $val; + return $this; + } + + /** + * Gets the hostName + * Exchange location (URL) that the native mail app connects to. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * Exchange location (URL) that the native mail app connects to. + * + * @param string $val The hostName + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + + /** + * Gets the requireSmime + * Indicates whether or not to use S/MIME certificate. + * + * @return bool|null The requireSmime + */ + public function getRequireSmime() + { + if (array_key_exists("requireSmime", $this->_propDict)) { + return $this->_propDict["requireSmime"]; + } else { + return null; + } + } + + /** + * Sets the requireSmime + * Indicates whether or not to use S/MIME certificate. + * + * @param bool $val The requireSmime + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setRequireSmime($val) + { + $this->_propDict["requireSmime"] = boolval($val); + return $this; + } + + /** + * Gets the requireSsl + * Indicates whether or not to use SSL. + * + * @return bool|null The requireSsl + */ + public function getRequireSsl() + { + if (array_key_exists("requireSsl", $this->_propDict)) { + return $this->_propDict["requireSsl"]; + } else { + return null; + } + } + + /** + * Sets the requireSsl + * Indicates whether or not to use SSL. + * + * @param bool $val The requireSsl + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setRequireSsl($val) + { + $this->_propDict["requireSsl"] = boolval($val); + return $this; + } + + /** + * Gets the syncCalendar + * Toggles syncing the calendar. If set to false calendar is turned off on the device. + * + * @return bool|null The syncCalendar + */ + public function getSyncCalendar() + { + if (array_key_exists("syncCalendar", $this->_propDict)) { + return $this->_propDict["syncCalendar"]; + } else { + return null; + } + } + + /** + * Sets the syncCalendar + * Toggles syncing the calendar. If set to false calendar is turned off on the device. + * + * @param bool $val The syncCalendar + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setSyncCalendar($val) + { + $this->_propDict["syncCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the syncContacts + * Toggles syncing contacts. If set to false contacts are turned off on the device. + * + * @return bool|null The syncContacts + */ + public function getSyncContacts() + { + if (array_key_exists("syncContacts", $this->_propDict)) { + return $this->_propDict["syncContacts"]; + } else { + return null; + } + } + + /** + * Sets the syncContacts + * Toggles syncing contacts. If set to false contacts are turned off on the device. + * + * @param bool $val The syncContacts + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setSyncContacts($val) + { + $this->_propDict["syncContacts"] = boolval($val); + return $this; + } + + /** + * Gets the syncNotes + * Toggles syncing notes. If set to false notes are turned off on the device. + * + * @return bool|null The syncNotes + */ + public function getSyncNotes() + { + if (array_key_exists("syncNotes", $this->_propDict)) { + return $this->_propDict["syncNotes"]; + } else { + return null; + } + } + + /** + * Sets the syncNotes + * Toggles syncing notes. If set to false notes are turned off on the device. + * + * @param bool $val The syncNotes + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setSyncNotes($val) + { + $this->_propDict["syncNotes"] = boolval($val); + return $this; + } + + /** + * Gets the syncTasks + * Toggles syncing tasks. If set to false tasks are turned off on the device. + * + * @return bool|null The syncTasks + */ + public function getSyncTasks() + { + if (array_key_exists("syncTasks", $this->_propDict)) { + return $this->_propDict["syncTasks"]; + } else { + return null; + } + } + + /** + * Sets the syncTasks + * Toggles syncing tasks. If set to false tasks are turned off on the device. + * + * @param bool $val The syncTasks + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setSyncTasks($val) + { + $this->_propDict["syncTasks"] = boolval($val); + return $this; + } + + /** + * Gets the userDomainNameSource + * UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: fullDomainName, netBiosDomainName. + * + * @return DomainNameSource|null The userDomainNameSource + */ + public function getUserDomainNameSource() + { + if (array_key_exists("userDomainNameSource", $this->_propDict)) { + if (is_a($this->_propDict["userDomainNameSource"], "\Beta\Microsoft\Graph\Model\DomainNameSource") || is_null($this->_propDict["userDomainNameSource"])) { + return $this->_propDict["userDomainNameSource"]; + } else { + $this->_propDict["userDomainNameSource"] = new DomainNameSource($this->_propDict["userDomainNameSource"]); + return $this->_propDict["userDomainNameSource"]; + } + } + return null; + } + + /** + * Sets the userDomainNameSource + * UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: fullDomainName, netBiosDomainName. + * + * @param DomainNameSource $val The userDomainNameSource + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setUserDomainNameSource($val) + { + $this->_propDict["userDomainNameSource"] = $val; + return $this; + } + + /** + * Gets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: username, userPrincipalName, samAccountName, primarySmtpAddress. + * + * @return AndroidUsernameSource|null The usernameSource + */ + public function getUsernameSource() + { + if (array_key_exists("usernameSource", $this->_propDict)) { + if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\AndroidUsernameSource") || is_null($this->_propDict["usernameSource"])) { + return $this->_propDict["usernameSource"]; + } else { + $this->_propDict["usernameSource"] = new AndroidUsernameSource($this->_propDict["usernameSource"]); + return $this->_propDict["usernameSource"]; + } + } + return null; + } + + /** + * Sets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: username, userPrincipalName, samAccountName, primarySmtpAddress. + * + * @param AndroidUsernameSource $val The usernameSource + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setUsernameSource($val) + { + $this->_propDict["usernameSource"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate. + * + * @return AndroidCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate. + * + * @param AndroidCertificateProfileBase $val The identityCertificate + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + + /** + * Gets the smimeSigningCertificate + * S/MIME signing certificate. + * + * @return AndroidCertificateProfileBase|null The smimeSigningCertificate + */ + public function getSmimeSigningCertificate() + { + if (array_key_exists("smimeSigningCertificate", $this->_propDict)) { + if (is_a($this->_propDict["smimeSigningCertificate"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase") || is_null($this->_propDict["smimeSigningCertificate"])) { + return $this->_propDict["smimeSigningCertificate"]; + } else { + $this->_propDict["smimeSigningCertificate"] = new AndroidCertificateProfileBase($this->_propDict["smimeSigningCertificate"]); + return $this->_propDict["smimeSigningCertificate"]; + } + } + return null; + } + + /** + * Sets the smimeSigningCertificate + * S/MIME signing certificate. + * + * @param AndroidCertificateProfileBase $val The smimeSigningCertificate + * + * @return AndroidEasEmailProfileConfiguration + */ + public function setSmimeSigningCertificate($val) + { + $this->_propDict["smimeSigningCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnrollmentCompanyCode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnrollmentCompanyCode.php new file mode 100644 index 0000000..76375c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnrollmentCompanyCode.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["enrollmentToken"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentToken + * Enrollment Token used by the User to enroll their device. + * + * @param string $val The value of the enrollmentToken + * + * @return AndroidEnrollmentCompanyCode + */ + public function setEnrollmentToken($val) + { + $this->_propDict["enrollmentToken"] = $val; + return $this; + } + /** + * Gets the qrCodeContent + * String used to generate a QR code for the token. + * + * @return string|null The qrCodeContent + */ + public function getQrCodeContent() + { + if (array_key_exists("qrCodeContent", $this->_propDict)) { + return $this->_propDict["qrCodeContent"]; + } else { + return null; + } + } + + /** + * Sets the qrCodeContent + * String used to generate a QR code for the token. + * + * @param string $val The value of the qrCodeContent + * + * @return AndroidEnrollmentCompanyCode + */ + public function setQrCodeContent($val) + { + $this->_propDict["qrCodeContent"] = $val; + return $this; + } + + /** + * Gets the qrCodeImage + * Generated QR code for the token. + * + * @return MimeContent|null The qrCodeImage + */ + public function getQrCodeImage() + { + if (array_key_exists("qrCodeImage", $this->_propDict)) { + if (is_a($this->_propDict["qrCodeImage"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["qrCodeImage"])) { + return $this->_propDict["qrCodeImage"]; + } else { + $this->_propDict["qrCodeImage"] = new MimeContent($this->_propDict["qrCodeImage"]); + return $this->_propDict["qrCodeImage"]; + } + } + return null; + } + + /** + * Sets the qrCodeImage + * Generated QR code for the token. + * + * @param MimeContent $val The value to assign to the qrCodeImage + * + * @return AndroidEnrollmentCompanyCode The AndroidEnrollmentCompanyCode + */ + public function setQrCodeImage($val) + { + $this->_propDict["qrCodeImage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnterpriseWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnterpriseWiFiConfiguration.php new file mode 100644 index 0000000..5fc7c6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnterpriseWiFiConfiguration.php @@ -0,0 +1,370 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @return AndroidEapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new AndroidEapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @param AndroidEapType $val The eapType + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForPeap|null The innerAuthenticationProtocolForPeap + */ + public function getInnerAuthenticationProtocolForPeap() + { + if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap") || is_null($this->_propDict["innerAuthenticationProtocolForPeap"])) { + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } else { + $this->_propDict["innerAuthenticationProtocolForPeap"] = new NonEapAuthenticationMethodForPeap($this->_propDict["innerAuthenticationProtocolForPeap"]); + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForPeap $val The innerAuthenticationProtocolForPeap + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForPeap($val) + { + $this->_propDict["innerAuthenticationProtocolForPeap"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the passwordFormatString + * Password format string used to build the password to connect to wifi + * + * @return string|null The passwordFormatString + */ + public function getPasswordFormatString() + { + if (array_key_exists("passwordFormatString", $this->_propDict)) { + return $this->_propDict["passwordFormatString"]; + } else { + return null; + } + } + + /** + * Sets the passwordFormatString + * Password format string used to build the password to connect to wifi + * + * @param string $val The passwordFormatString + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setPasswordFormatString($val) + { + $this->_propDict["passwordFormatString"] = $val; + return $this; + } + + /** + * Gets the preSharedKey + * PreSharedKey used to build the password to connect to wifi + * + * @return string|null The preSharedKey + */ + public function getPreSharedKey() + { + if (array_key_exists("preSharedKey", $this->_propDict)) { + return $this->_propDict["preSharedKey"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKey + * PreSharedKey used to build the password to connect to wifi + * + * @param string $val The preSharedKey + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setPreSharedKey($val) + { + $this->_propDict["preSharedKey"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the usernameFormatString + * Username format string used to build the username to connect to wifi + * + * @return string|null The usernameFormatString + */ + public function getUsernameFormatString() + { + if (array_key_exists("usernameFormatString", $this->_propDict)) { + return $this->_propDict["usernameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the usernameFormatString + * Username format string used to build the username to connect to wifi + * + * @param string $val The usernameFormatString + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setUsernameFormatString($val) + { + $this->_propDict["usernameFormatString"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @return AndroidCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new AndroidCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @param AndroidCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @return AndroidTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new AndroidTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @param AndroidTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return AndroidEnterpriseWiFiConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php new file mode 100644 index 0000000..74b794f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["appIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the appIdentifier + * The Identity Name. + * + * @param string $val The appIdentifier + * + * @return AndroidForWorkApp + */ + public function setAppIdentifier($val) + { + $this->_propDict["appIdentifier"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Play for Work Store app URL. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Play for Work Store app URL. + * + * @param string $val The appStoreUrl + * + * @return AndroidForWorkApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return AndroidForWorkApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of VPP licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of VPP licenses. + * + * @param int $val The totalLicenseCount + * + * @return AndroidForWorkApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of VPP licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of VPP licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return AndroidForWorkApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchema.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchema.php new file mode 100644 index 0000000..223f814 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchema.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["exampleJson"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["exampleJson"])) { + return $this->_propDict["exampleJson"]; + } else { + $this->_propDict["exampleJson"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["exampleJson"]); + return $this->_propDict["exampleJson"]; + } + } + return null; + } + + /** + * Sets the exampleJson + * UTF8 encoded byte array containing example JSON string conforming to this schema that demonstrates how to set the configuration for this app + * + * @param \GuzzleHttp\Psr7\Stream $val The exampleJson + * + * @return AndroidForWorkAppConfigurationSchema + */ + public function setExampleJson($val) + { + $this->_propDict["exampleJson"] = $val; + return $this; + } + + + /** + * Gets the schemaItems + * Collection of items each representing a named configuration option in the schema + * + * @return array|null The schemaItems + */ + public function getSchemaItems() + { + if (array_key_exists("schemaItems", $this->_propDict)) { + return $this->_propDict["schemaItems"]; + } else { + return null; + } + } + + /** + * Sets the schemaItems + * Collection of items each representing a named configuration option in the schema + * + * @param AndroidForWorkAppConfigurationSchemaItem[] $val The schemaItems + * + * @return AndroidForWorkAppConfigurationSchema + */ + public function setSchemaItems($val) + { + $this->_propDict["schemaItems"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItem.php new file mode 100644 index 0000000..4898947 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItem.php @@ -0,0 +1,288 @@ +_propDict)) { + if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkAppConfigurationSchemaItemDataType") || is_null($this->_propDict["dataType"])) { + return $this->_propDict["dataType"]; + } else { + $this->_propDict["dataType"] = new AndroidForWorkAppConfigurationSchemaItemDataType($this->_propDict["dataType"]); + return $this->_propDict["dataType"]; + } + } + return null; + } + + /** + * Sets the dataType + * The type of value this item describes. Possible values are: bool, integer, string, choice, multiselect, bundle, bundleArray, hidden. + * + * @param AndroidForWorkAppConfigurationSchemaItemDataType $val The value to assign to the dataType + * + * @return AndroidForWorkAppConfigurationSchemaItem The AndroidForWorkAppConfigurationSchemaItem + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + /** + * Gets the defaultBoolValue + * Default value for boolean type items, if specified by the app developer + * + * @return bool|null The defaultBoolValue + */ + public function getDefaultBoolValue() + { + if (array_key_exists("defaultBoolValue", $this->_propDict)) { + return $this->_propDict["defaultBoolValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultBoolValue + * Default value for boolean type items, if specified by the app developer + * + * @param bool $val The value of the defaultBoolValue + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setDefaultBoolValue($val) + { + $this->_propDict["defaultBoolValue"] = $val; + return $this; + } + /** + * Gets the defaultIntValue + * Default value for integer type items, if specified by the app developer + * + * @return int|null The defaultIntValue + */ + public function getDefaultIntValue() + { + if (array_key_exists("defaultIntValue", $this->_propDict)) { + return $this->_propDict["defaultIntValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultIntValue + * Default value for integer type items, if specified by the app developer + * + * @param int $val The value of the defaultIntValue + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setDefaultIntValue($val) + { + $this->_propDict["defaultIntValue"] = $val; + return $this; + } + /** + * Gets the defaultStringArrayValue + * Default value for string array type items, if specified by the app developer + * + * @return string|null The defaultStringArrayValue + */ + public function getDefaultStringArrayValue() + { + if (array_key_exists("defaultStringArrayValue", $this->_propDict)) { + return $this->_propDict["defaultStringArrayValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultStringArrayValue + * Default value for string array type items, if specified by the app developer + * + * @param string $val The value of the defaultStringArrayValue + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setDefaultStringArrayValue($val) + { + $this->_propDict["defaultStringArrayValue"] = $val; + return $this; + } + /** + * Gets the defaultStringValue + * Default value for string type items, if specified by the app developer + * + * @return string|null The defaultStringValue + */ + public function getDefaultStringValue() + { + if (array_key_exists("defaultStringValue", $this->_propDict)) { + return $this->_propDict["defaultStringValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultStringValue + * Default value for string type items, if specified by the app developer + * + * @param string $val The value of the defaultStringValue + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setDefaultStringValue($val) + { + $this->_propDict["defaultStringValue"] = $val; + return $this; + } + /** + * Gets the description + * Description of what the item controls within the application + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of what the item controls within the application + * + * @param string $val The value of the description + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Human readable name + * + * @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 + * Human readable name + * + * @param string $val The value of the displayName + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the schemaItemKey + * Unique key the application uses to identify the item + * + * @return string|null The schemaItemKey + */ + public function getSchemaItemKey() + { + if (array_key_exists("schemaItemKey", $this->_propDict)) { + return $this->_propDict["schemaItemKey"]; + } else { + return null; + } + } + + /** + * Sets the schemaItemKey + * Unique key the application uses to identify the item + * + * @param string $val The value of the schemaItemKey + * + * @return AndroidForWorkAppConfigurationSchemaItem + */ + public function setSchemaItemKey($val) + { + $this->_propDict["schemaItemKey"] = $val; + return $this; + } + + /** + * Gets the selections + * List of human readable name/value pairs for the valid values that can be set for this item (Choice and Multiselect items only) + * + * @return KeyValuePair|null The selections + */ + public function getSelections() + { + if (array_key_exists("selections", $this->_propDict)) { + if (is_a($this->_propDict["selections"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["selections"])) { + return $this->_propDict["selections"]; + } else { + $this->_propDict["selections"] = new KeyValuePair($this->_propDict["selections"]); + return $this->_propDict["selections"]; + } + } + return null; + } + + /** + * Sets the selections + * List of human readable name/value pairs for the valid values that can be set for this item (Choice and Multiselect items only) + * + * @param KeyValuePair $val The value to assign to the selections + * + * @return AndroidForWorkAppConfigurationSchemaItem The AndroidForWorkAppConfigurationSchemaItem + */ + public function setSelections($val) + { + $this->_propDict["selections"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItemDataType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItemDataType.php new file mode 100644 index 0000000..8063f3e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItemDataType.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return AndroidForWorkTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidForWorkTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new AndroidForWorkTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param AndroidForWorkTrustedRootCertificate $val The rootCertificate + * + * @return AndroidForWorkCertificateProfileBase + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCompliancePolicy.php new file mode 100644 index 0000000..0116058 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCompliancePolicy.php @@ -0,0 +1,706 @@ +_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return AndroidForWorkCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return AndroidForWorkCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @return string|null The minAndroidSecurityPatchLevel + */ + public function getMinAndroidSecurityPatchLevel() + { + if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AndroidForWorkCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AndroidForWorkCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AndroidForWorkCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidForWorkCompliancePolicy + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + + /** + * Gets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @return bool|null The securityDisableUsbDebugging + */ + public function getSecurityDisableUsbDebugging() + { + if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) { + return $this->_propDict["securityDisableUsbDebugging"]; + } else { + return null; + } + } + + /** + * Sets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @param bool $val The securityDisableUsbDebugging + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityDisableUsbDebugging($val) + { + $this->_propDict["securityDisableUsbDebugging"] = boolval($val); + return $this; + } + + /** + * Gets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @return bool|null The securityPreventInstallAppsFromUnknownSources + */ + public function getSecurityPreventInstallAppsFromUnknownSources() + { + if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["securityPreventInstallAppsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @param bool $val The securityPreventInstallAppsFromUnknownSources + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityPreventInstallAppsFromUnknownSources($val) + { + $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @return bool|null The securityRequireCompanyPortalAppIntegrity + */ + public function getSecurityRequireCompanyPortalAppIntegrity() + { + if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireCompanyPortalAppIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @param bool $val The securityRequireCompanyPortalAppIntegrity + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequireCompanyPortalAppIntegrity($val) + { + $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequiredAndroidSafetyNetEvaluationType + * Require a specific SafetyNet evaluation type for compliance. Possible values are: basic, hardwareBacked. + * + * @return AndroidSafetyNetEvaluationType|null The securityRequiredAndroidSafetyNetEvaluationType + */ + public function getSecurityRequiredAndroidSafetyNetEvaluationType() + { + if (array_key_exists("securityRequiredAndroidSafetyNetEvaluationType", $this->_propDict)) { + if (is_a($this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"], "\Beta\Microsoft\Graph\Model\AndroidSafetyNetEvaluationType") || is_null($this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"])) { + return $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"]; + } else { + $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"] = new AndroidSafetyNetEvaluationType($this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"]); + return $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"]; + } + } + return null; + } + + /** + * Sets the securityRequiredAndroidSafetyNetEvaluationType + * Require a specific SafetyNet evaluation type for compliance. Possible values are: basic, hardwareBacked. + * + * @param AndroidSafetyNetEvaluationType $val The securityRequiredAndroidSafetyNetEvaluationType + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequiredAndroidSafetyNetEvaluationType($val) + { + $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"] = $val; + return $this; + } + + /** + * Gets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @return bool|null The securityRequireGooglePlayServices + */ + public function getSecurityRequireGooglePlayServices() + { + if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) { + return $this->_propDict["securityRequireGooglePlayServices"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @param bool $val The securityRequireGooglePlayServices + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequireGooglePlayServices($val) + { + $this->_propDict["securityRequireGooglePlayServices"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @return bool|null The securityRequireSafetyNetAttestationBasicIntegrity + */ + public function getSecurityRequireSafetyNetAttestationBasicIntegrity() + { + if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val) + { + $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @return bool|null The securityRequireSafetyNetAttestationCertifiedDevice + */ + public function getSecurityRequireSafetyNetAttestationCertifiedDevice() + { + if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val) + { + $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @return bool|null The securityRequireUpToDateSecurityProviders + */ + public function getSecurityRequireUpToDateSecurityProviders() + { + if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) { + return $this->_propDict["securityRequireUpToDateSecurityProviders"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @param bool $val The securityRequireUpToDateSecurityProviders + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequireUpToDateSecurityProviders($val) + { + $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidForWorkCompliancePolicy + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AndroidForWorkCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCrossProfileDataSharingType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCrossProfileDataSharingType.php new file mode 100644 index 0000000..a251dc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCrossProfileDataSharingType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 500 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return AndroidForWorkCustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkDefaultAppPermissionPolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkDefaultAppPermissionPolicyType.php new file mode 100644 index 0000000..901bfad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkDefaultAppPermissionPolicyType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new EasAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method for Exchange ActiveSync. Possible values are: usernameAndPassword, certificate, derivedCredential. + * + * @param EasAuthenticationMethod $val The authenticationMethod + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the durationOfEmailToSync + * Duration of time email should be synced to. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @return EmailSyncDuration|null The durationOfEmailToSync + */ + public function getDurationOfEmailToSync() + { + if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { + if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration") || is_null($this->_propDict["durationOfEmailToSync"])) { + return $this->_propDict["durationOfEmailToSync"]; + } else { + $this->_propDict["durationOfEmailToSync"] = new EmailSyncDuration($this->_propDict["durationOfEmailToSync"]); + return $this->_propDict["durationOfEmailToSync"]; + } + } + return null; + } + + /** + * Sets the durationOfEmailToSync + * Duration of time email should be synced to. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @param EmailSyncDuration $val The durationOfEmailToSync + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setDurationOfEmailToSync($val) + { + $this->_propDict["durationOfEmailToSync"] = $val; + return $this; + } + + /** + * Gets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The emailAddressSource + */ + public function getEmailAddressSource() + { + if (array_key_exists("emailAddressSource", $this->_propDict)) { + if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["emailAddressSource"])) { + return $this->_propDict["emailAddressSource"]; + } else { + $this->_propDict["emailAddressSource"] = new UserEmailSource($this->_propDict["emailAddressSource"]); + return $this->_propDict["emailAddressSource"]; + } + } + return null; + } + + /** + * Sets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The emailAddressSource + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setEmailAddressSource($val) + { + $this->_propDict["emailAddressSource"] = $val; + return $this; + } + + /** + * Gets the hostName + * Exchange location (URL) that the mail app connects to. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * Exchange location (URL) that the mail app connects to. + * + * @param string $val The hostName + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + + /** + * Gets the requireSsl + * Indicates whether or not to use SSL. + * + * @return bool|null The requireSsl + */ + public function getRequireSsl() + { + if (array_key_exists("requireSsl", $this->_propDict)) { + return $this->_propDict["requireSsl"]; + } else { + return null; + } + } + + /** + * Sets the requireSsl + * Indicates whether or not to use SSL. + * + * @param bool $val The requireSsl + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setRequireSsl($val) + { + $this->_propDict["requireSsl"] = boolval($val); + return $this; + } + + /** + * Gets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: username, userPrincipalName, samAccountName, primarySmtpAddress. + * + * @return AndroidUsernameSource|null The usernameSource + */ + public function getUsernameSource() + { + if (array_key_exists("usernameSource", $this->_propDict)) { + if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\AndroidUsernameSource") || is_null($this->_propDict["usernameSource"])) { + return $this->_propDict["usernameSource"]; + } else { + $this->_propDict["usernameSource"] = new AndroidUsernameSource($this->_propDict["usernameSource"]); + return $this->_propDict["usernameSource"]; + } + } + return null; + } + + /** + * Sets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: username, userPrincipalName, samAccountName, primarySmtpAddress. + * + * @param AndroidUsernameSource $val The usernameSource + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setUsernameSource($val) + { + $this->_propDict["usernameSource"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate. + * + * @return AndroidForWorkCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidForWorkCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate. + * + * @param AndroidForWorkCertificateProfileBase $val The identityCertificate + * + * @return AndroidForWorkEasEmailProfileBase + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentProfile.php new file mode 100644 index 0000000..f285d32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentProfile.php @@ -0,0 +1,333 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * Tenant GUID the enrollment profile belongs to. + * + * @param string $val The accountId + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date time the enrollment profile was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date time the enrollment profile was created. + * + * @param \DateTime $val The createdDateTime + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description for the enrollment profile. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the enrollment profile. + * + * @param string $val The description + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the enrollment profile. + * + * @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 + * Display name for the enrollment profile. + * + * @param string $val The displayName + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enrolledDeviceCount + * Total number of Android devices that have enrolled using this enrollment profile. + * + * @return int|null The enrolledDeviceCount + */ + public function getEnrolledDeviceCount() + { + if (array_key_exists("enrolledDeviceCount", $this->_propDict)) { + return $this->_propDict["enrolledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the enrolledDeviceCount + * Total number of Android devices that have enrolled using this enrollment profile. + * + * @param int $val The enrolledDeviceCount + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setEnrolledDeviceCount($val) + { + $this->_propDict["enrolledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date time the enrollment profile was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date time the enrollment profile was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the qrCodeContent + * String used to generate a QR code for the token. + * + * @return string|null The qrCodeContent + */ + public function getQrCodeContent() + { + if (array_key_exists("qrCodeContent", $this->_propDict)) { + return $this->_propDict["qrCodeContent"]; + } else { + return null; + } + } + + /** + * Sets the qrCodeContent + * String used to generate a QR code for the token. + * + * @param string $val The qrCodeContent + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setQrCodeContent($val) + { + $this->_propDict["qrCodeContent"] = $val; + return $this; + } + + /** + * Gets the qrCodeImage + * String used to generate a QR code for the token. + * + * @return MimeContent|null The qrCodeImage + */ + public function getQrCodeImage() + { + if (array_key_exists("qrCodeImage", $this->_propDict)) { + if (is_a($this->_propDict["qrCodeImage"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["qrCodeImage"])) { + return $this->_propDict["qrCodeImage"]; + } else { + $this->_propDict["qrCodeImage"] = new MimeContent($this->_propDict["qrCodeImage"]); + return $this->_propDict["qrCodeImage"]; + } + } + return null; + } + + /** + * Sets the qrCodeImage + * String used to generate a QR code for the token. + * + * @param MimeContent $val The qrCodeImage + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setQrCodeImage($val) + { + $this->_propDict["qrCodeImage"] = $val; + return $this; + } + + /** + * Gets the tokenExpirationDateTime + * Date time the most recently created token will expire. + * + * @return \DateTime|null The tokenExpirationDateTime + */ + public function getTokenExpirationDateTime() + { + if (array_key_exists("tokenExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["tokenExpirationDateTime"], "\DateTime") || is_null($this->_propDict["tokenExpirationDateTime"])) { + return $this->_propDict["tokenExpirationDateTime"]; + } else { + $this->_propDict["tokenExpirationDateTime"] = new \DateTime($this->_propDict["tokenExpirationDateTime"]); + return $this->_propDict["tokenExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the tokenExpirationDateTime + * Date time the most recently created token will expire. + * + * @param \DateTime $val The tokenExpirationDateTime + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setTokenExpirationDateTime($val) + { + $this->_propDict["tokenExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the tokenValue + * Value of the most recently created token for this enrollment profile. + * + * @return string|null The tokenValue + */ + public function getTokenValue() + { + if (array_key_exists("tokenValue", $this->_propDict)) { + return $this->_propDict["tokenValue"]; + } else { + return null; + } + } + + /** + * Sets the tokenValue + * Value of the most recently created token for this enrollment profile. + * + * @param string $val The tokenValue + * + * @return AndroidForWorkEnrollmentProfile + */ + public function setTokenValue($val) + { + $this->_propDict["tokenValue"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentTarget.php new file mode 100644 index 0000000..2bef94a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentTarget.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @return AndroidEapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new AndroidEapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @param AndroidEapType $val The eapType + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForPeap|null The innerAuthenticationProtocolForPeap + */ + public function getInnerAuthenticationProtocolForPeap() + { + if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap") || is_null($this->_propDict["innerAuthenticationProtocolForPeap"])) { + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } else { + $this->_propDict["innerAuthenticationProtocolForPeap"] = new NonEapAuthenticationMethodForPeap($this->_propDict["innerAuthenticationProtocolForPeap"]); + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForPeap $val The innerAuthenticationProtocolForPeap + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForPeap($val) + { + $this->_propDict["innerAuthenticationProtocolForPeap"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @return AndroidForWorkCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new AndroidForWorkCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @param AndroidForWorkCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @return AndroidForWorkTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidForWorkTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new AndroidForWorkTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @param AndroidForWorkTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return AndroidForWorkEnterpriseWiFiConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php new file mode 100644 index 0000000..1badaa1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php @@ -0,0 +1,1261 @@ +_propDict)) { + return $this->_propDict["passwordBlockFaceUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFaceUnlock + * Indicates whether or not to block face unlock. + * + * @param bool $val The passwordBlockFaceUnlock + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordBlockFaceUnlock($val) + { + $this->_propDict["passwordBlockFaceUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passwordBlockFingerprintUnlock + */ + public function getPasswordBlockFingerprintUnlock() + { + if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passwordBlockFingerprintUnlock + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordBlockFingerprintUnlock($val) + { + $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockIrisUnlock + * Indicates whether or not to block iris unlock. + * + * @return bool|null The passwordBlockIrisUnlock + */ + public function getPasswordBlockIrisUnlock() + { + if (array_key_exists("passwordBlockIrisUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockIrisUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockIrisUnlock + * Indicates whether or not to block iris unlock. + * + * @param bool $val The passwordBlockIrisUnlock + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordBlockIrisUnlock($val) + { + $this->_propDict["passwordBlockIrisUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @return bool|null The passwordBlockTrustAgents + */ + public function getPasswordBlockTrustAgents() + { + if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["passwordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @param bool $val The passwordBlockTrustAgents + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordBlockTrustAgents($val) + { + $this->_propDict["passwordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @return AndroidForWorkRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidForWorkRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @param AndroidForWorkRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the vpnAlwaysOnPackageIdentifier + * Enable lockdown mode for always-on VPN. + * + * @return string|null The vpnAlwaysOnPackageIdentifier + */ + public function getVpnAlwaysOnPackageIdentifier() + { + if (array_key_exists("vpnAlwaysOnPackageIdentifier", $this->_propDict)) { + return $this->_propDict["vpnAlwaysOnPackageIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the vpnAlwaysOnPackageIdentifier + * Enable lockdown mode for always-on VPN. + * + * @param string $val The vpnAlwaysOnPackageIdentifier + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setVpnAlwaysOnPackageIdentifier($val) + { + $this->_propDict["vpnAlwaysOnPackageIdentifier"] = $val; + return $this; + } + + /** + * Gets the vpnEnableAlwaysOnLockdownMode + * Enable lockdown mode for always-on VPN. + * + * @return bool|null The vpnEnableAlwaysOnLockdownMode + */ + public function getVpnEnableAlwaysOnLockdownMode() + { + if (array_key_exists("vpnEnableAlwaysOnLockdownMode", $this->_propDict)) { + return $this->_propDict["vpnEnableAlwaysOnLockdownMode"]; + } else { + return null; + } + } + + /** + * Sets the vpnEnableAlwaysOnLockdownMode + * Enable lockdown mode for always-on VPN. + * + * @param bool $val The vpnEnableAlwaysOnLockdownMode + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setVpnEnableAlwaysOnLockdownMode($val) + { + $this->_propDict["vpnEnableAlwaysOnLockdownMode"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileAllowWidgets + * Allow widgets from work profile apps. + * + * @return bool|null The workProfileAllowWidgets + */ + public function getWorkProfileAllowWidgets() + { + if (array_key_exists("workProfileAllowWidgets", $this->_propDict)) { + return $this->_propDict["workProfileAllowWidgets"]; + } else { + return null; + } + } + + /** + * Sets the workProfileAllowWidgets + * Allow widgets from work profile apps. + * + * @param bool $val The workProfileAllowWidgets + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileAllowWidgets($val) + { + $this->_propDict["workProfileAllowWidgets"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockAddingAccounts + * Block users from adding/removing accounts in work profile. + * + * @return bool|null The workProfileBlockAddingAccounts + */ + public function getWorkProfileBlockAddingAccounts() + { + if (array_key_exists("workProfileBlockAddingAccounts", $this->_propDict)) { + return $this->_propDict["workProfileBlockAddingAccounts"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockAddingAccounts + * Block users from adding/removing accounts in work profile. + * + * @param bool $val The workProfileBlockAddingAccounts + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockAddingAccounts($val) + { + $this->_propDict["workProfileBlockAddingAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCamera + * Block work profile camera. + * + * @return bool|null The workProfileBlockCamera + */ + public function getWorkProfileBlockCamera() + { + if (array_key_exists("workProfileBlockCamera", $this->_propDict)) { + return $this->_propDict["workProfileBlockCamera"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCamera + * Block work profile camera. + * + * @param bool $val The workProfileBlockCamera + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCamera($val) + { + $this->_propDict["workProfileBlockCamera"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileCallerId + * Block display work profile caller ID in personal profile. + * + * @return bool|null The workProfileBlockCrossProfileCallerId + */ + public function getWorkProfileBlockCrossProfileCallerId() + { + if (array_key_exists("workProfileBlockCrossProfileCallerId", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileCallerId"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileCallerId + * Block display work profile caller ID in personal profile. + * + * @param bool $val The workProfileBlockCrossProfileCallerId + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileCallerId($val) + { + $this->_propDict["workProfileBlockCrossProfileCallerId"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileContactsSearch + * Block work profile contacts availability in personal profile. + * + * @return bool|null The workProfileBlockCrossProfileContactsSearch + */ + public function getWorkProfileBlockCrossProfileContactsSearch() + { + if (array_key_exists("workProfileBlockCrossProfileContactsSearch", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileContactsSearch"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileContactsSearch + * Block work profile contacts availability in personal profile. + * + * @param bool $val The workProfileBlockCrossProfileContactsSearch + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileContactsSearch($val) + { + $this->_propDict["workProfileBlockCrossProfileContactsSearch"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileCopyPaste + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + * + * @return bool|null The workProfileBlockCrossProfileCopyPaste + */ + public function getWorkProfileBlockCrossProfileCopyPaste() + { + if (array_key_exists("workProfileBlockCrossProfileCopyPaste", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileCopyPaste + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + * + * @param bool $val The workProfileBlockCrossProfileCopyPaste + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileCopyPaste($val) + { + $this->_propDict["workProfileBlockCrossProfileCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockNotificationsWhileDeviceLocked + * Indicates whether or not to block notifications while device locked. + * + * @return bool|null The workProfileBlockNotificationsWhileDeviceLocked + */ + public function getWorkProfileBlockNotificationsWhileDeviceLocked() + { + if (array_key_exists("workProfileBlockNotificationsWhileDeviceLocked", $this->_propDict)) { + return $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockNotificationsWhileDeviceLocked + * Indicates whether or not to block notifications while device locked. + * + * @param bool $val The workProfileBlockNotificationsWhileDeviceLocked + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockNotificationsWhileDeviceLocked($val) + { + $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockPersonalAppInstallsFromUnknownSources + * Prevent app installations from unknown sources in the personal profile. + * + * @return bool|null The workProfileBlockPersonalAppInstallsFromUnknownSources + */ + public function getWorkProfileBlockPersonalAppInstallsFromUnknownSources() + { + if (array_key_exists("workProfileBlockPersonalAppInstallsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["workProfileBlockPersonalAppInstallsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockPersonalAppInstallsFromUnknownSources + * Prevent app installations from unknown sources in the personal profile. + * + * @param bool $val The workProfileBlockPersonalAppInstallsFromUnknownSources + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockPersonalAppInstallsFromUnknownSources($val) + { + $this->_propDict["workProfileBlockPersonalAppInstallsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockScreenCapture + * Block screen capture in work profile. + * + * @return bool|null The workProfileBlockScreenCapture + */ + public function getWorkProfileBlockScreenCapture() + { + if (array_key_exists("workProfileBlockScreenCapture", $this->_propDict)) { + return $this->_propDict["workProfileBlockScreenCapture"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockScreenCapture + * Block screen capture in work profile. + * + * @param bool $val The workProfileBlockScreenCapture + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBlockScreenCapture($val) + { + $this->_propDict["workProfileBlockScreenCapture"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBluetoothEnableContactSharing + * Allow bluetooth devices to access enterprise contacts. + * + * @return bool|null The workProfileBluetoothEnableContactSharing + */ + public function getWorkProfileBluetoothEnableContactSharing() + { + if (array_key_exists("workProfileBluetoothEnableContactSharing", $this->_propDict)) { + return $this->_propDict["workProfileBluetoothEnableContactSharing"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBluetoothEnableContactSharing + * Allow bluetooth devices to access enterprise contacts. + * + * @param bool $val The workProfileBluetoothEnableContactSharing + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileBluetoothEnableContactSharing($val) + { + $this->_propDict["workProfileBluetoothEnableContactSharing"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileDataSharingType + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * + * @return AndroidForWorkCrossProfileDataSharingType|null The workProfileDataSharingType + */ + public function getWorkProfileDataSharingType() + { + if (array_key_exists("workProfileDataSharingType", $this->_propDict)) { + if (is_a($this->_propDict["workProfileDataSharingType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCrossProfileDataSharingType") || is_null($this->_propDict["workProfileDataSharingType"])) { + return $this->_propDict["workProfileDataSharingType"]; + } else { + $this->_propDict["workProfileDataSharingType"] = new AndroidForWorkCrossProfileDataSharingType($this->_propDict["workProfileDataSharingType"]); + return $this->_propDict["workProfileDataSharingType"]; + } + } + return null; + } + + /** + * Sets the workProfileDataSharingType + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * + * @param AndroidForWorkCrossProfileDataSharingType $val The workProfileDataSharingType + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileDataSharingType($val) + { + $this->_propDict["workProfileDataSharingType"] = $val; + return $this; + } + + /** + * Gets the workProfileDefaultAppPermissionPolicy + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @return AndroidForWorkDefaultAppPermissionPolicyType|null The workProfileDefaultAppPermissionPolicy + */ + public function getWorkProfileDefaultAppPermissionPolicy() + { + if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) { + if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "\Beta\Microsoft\Graph\Model\AndroidForWorkDefaultAppPermissionPolicyType") || is_null($this->_propDict["workProfileDefaultAppPermissionPolicy"])) { + return $this->_propDict["workProfileDefaultAppPermissionPolicy"]; + } else { + $this->_propDict["workProfileDefaultAppPermissionPolicy"] = new AndroidForWorkDefaultAppPermissionPolicyType($this->_propDict["workProfileDefaultAppPermissionPolicy"]); + return $this->_propDict["workProfileDefaultAppPermissionPolicy"]; + } + } + return null; + } + + /** + * Sets the workProfileDefaultAppPermissionPolicy + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @param AndroidForWorkDefaultAppPermissionPolicyType $val The workProfileDefaultAppPermissionPolicy + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileDefaultAppPermissionPolicy($val) + { + $this->_propDict["workProfileDefaultAppPermissionPolicy"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordBlockFaceUnlock + * Indicates whether or not to block face unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockFaceUnlock + */ + public function getWorkProfilePasswordBlockFaceUnlock() + { + if (array_key_exists("workProfilePasswordBlockFaceUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockFaceUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockFaceUnlock + * Indicates whether or not to block face unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockFaceUnlock + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockFaceUnlock($val) + { + $this->_propDict["workProfilePasswordBlockFaceUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockFingerprintUnlock + */ + public function getWorkProfilePasswordBlockFingerprintUnlock() + { + if (array_key_exists("workProfilePasswordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockFingerprintUnlock + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockFingerprintUnlock($val) + { + $this->_propDict["workProfilePasswordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockIrisUnlock + * Indicates whether or not to block iris unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockIrisUnlock + */ + public function getWorkProfilePasswordBlockIrisUnlock() + { + if (array_key_exists("workProfilePasswordBlockIrisUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockIrisUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockIrisUnlock + * Indicates whether or not to block iris unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockIrisUnlock + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockIrisUnlock($val) + { + $this->_propDict["workProfilePasswordBlockIrisUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + * + * @return bool|null The workProfilePasswordBlockTrustAgents + */ + public function getWorkProfilePasswordBlockTrustAgents() + { + if (array_key_exists("workProfilePasswordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + * + * @param bool $val The workProfilePasswordBlockTrustAgents + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockTrustAgents($val) + { + $this->_propDict["workProfilePasswordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordExpirationDays + * Number of days before the work profile password expires. Valid values 1 to 365 + * + * @return int|null The workProfilePasswordExpirationDays + */ + public function getWorkProfilePasswordExpirationDays() + { + if (array_key_exists("workProfilePasswordExpirationDays", $this->_propDict)) { + return $this->_propDict["workProfilePasswordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordExpirationDays + * Number of days before the work profile password expires. Valid values 1 to 365 + * + * @param int $val The workProfilePasswordExpirationDays + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordExpirationDays($val) + { + $this->_propDict["workProfilePasswordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumLength + * Minimum length of work profile password. Valid values 4 to 16 + * + * @return int|null The workProfilePasswordMinimumLength + */ + public function getWorkProfilePasswordMinimumLength() + { + if (array_key_exists("workProfilePasswordMinimumLength", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumLength + * Minimum length of work profile password. Valid values 4 to 16 + * + * @param int $val The workProfilePasswordMinimumLength + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumLength($val) + { + $this->_propDict["workProfilePasswordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinLetterCharacters + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinLetterCharacters + */ + public function getWorkProfilePasswordMinLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinLetterCharacters + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinLetterCharacters + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinLowerCaseCharacters + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinLowerCaseCharacters + */ + public function getWorkProfilePasswordMinLowerCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinLowerCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinLowerCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinLowerCaseCharacters + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinLowerCaseCharacters + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinLowerCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinLowerCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinNonLetterCharacters + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinNonLetterCharacters + */ + public function getWorkProfilePasswordMinNonLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinNonLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinNonLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinNonLetterCharacters + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinNonLetterCharacters + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinNonLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinNonLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinNumericCharacters + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinNumericCharacters + */ + public function getWorkProfilePasswordMinNumericCharacters() + { + if (array_key_exists("workProfilePasswordMinNumericCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinNumericCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinNumericCharacters + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinNumericCharacters + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinNumericCharacters($val) + { + $this->_propDict["workProfilePasswordMinNumericCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinSymbolCharacters + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinSymbolCharacters + */ + public function getWorkProfilePasswordMinSymbolCharacters() + { + if (array_key_exists("workProfilePasswordMinSymbolCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinSymbolCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinSymbolCharacters + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinSymbolCharacters + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinSymbolCharacters($val) + { + $this->_propDict["workProfilePasswordMinSymbolCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinUpperCaseCharacters + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinUpperCaseCharacters + */ + public function getWorkProfilePasswordMinUpperCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinUpperCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinUpperCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinUpperCaseCharacters + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinUpperCaseCharacters + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinUpperCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinUpperCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + */ + public function getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordPreviousPasswordBlockCount + * Number of previous work profile passwords to block. Valid values 0 to 24 + * + * @return int|null The workProfilePasswordPreviousPasswordBlockCount + */ + public function getWorkProfilePasswordPreviousPasswordBlockCount() + { + if (array_key_exists("workProfilePasswordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordPreviousPasswordBlockCount + * Number of previous work profile passwords to block. Valid values 0 to 24 + * + * @param int $val The workProfilePasswordPreviousPasswordBlockCount + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordRequiredType + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @return AndroidForWorkRequiredPasswordType|null The workProfilePasswordRequiredType + */ + public function getWorkProfilePasswordRequiredType() + { + if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkRequiredPasswordType") || is_null($this->_propDict["workProfilePasswordRequiredType"])) { + return $this->_propDict["workProfilePasswordRequiredType"]; + } else { + $this->_propDict["workProfilePasswordRequiredType"] = new AndroidForWorkRequiredPasswordType($this->_propDict["workProfilePasswordRequiredType"]); + return $this->_propDict["workProfilePasswordRequiredType"]; + } + } + return null; + } + + /** + * Sets the workProfilePasswordRequiredType + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @param AndroidForWorkRequiredPasswordType $val The workProfilePasswordRequiredType + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordRequiredType($val) + { + $this->_propDict["workProfilePasswordRequiredType"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordSignInFailureCountBeforeFactoryReset + */ + public function getWorkProfilePasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("workProfilePasswordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordSignInFailureCountBeforeFactoryReset + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the workProfileRequirePassword + * Password is required or not for work profile + * + * @return bool|null The workProfileRequirePassword + */ + public function getWorkProfileRequirePassword() + { + if (array_key_exists("workProfileRequirePassword", $this->_propDict)) { + return $this->_propDict["workProfileRequirePassword"]; + } else { + return null; + } + } + + /** + * Sets the workProfileRequirePassword + * Password is required or not for work profile + * + * @param bool $val The workProfileRequirePassword + * + * @return AndroidForWorkGeneralDeviceConfiguration + */ + public function setWorkProfileRequirePassword($val) + { + $this->_propDict["workProfileRequirePassword"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGmailEasConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGmailEasConfiguration.php new file mode 100644 index 0000000..f9ab265 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGmailEasConfiguration.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return AndroidForWorkImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidForWorkImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkMobileAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkMobileAppConfiguration.php new file mode 100644 index 0000000..f116797 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkMobileAppConfiguration.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["connectedAppsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the connectedAppsEnabled + * Setting to specify whether to allow ConnectedApps experience for this app. + * + * @param bool $val The connectedAppsEnabled + * + * @return AndroidForWorkMobileAppConfiguration + */ + public function setConnectedAppsEnabled($val) + { + $this->_propDict["connectedAppsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the packageId + * Android For Work app configuration package id. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * Android For Work app configuration package id. + * + * @param string $val The packageId + * + * @return AndroidForWorkMobileAppConfiguration + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the payloadJson + * Android For Work app configuration JSON payload. + * + * @return string|null The payloadJson + */ + public function getPayloadJson() + { + if (array_key_exists("payloadJson", $this->_propDict)) { + return $this->_propDict["payloadJson"]; + } else { + return null; + } + } + + /** + * Sets the payloadJson + * Android For Work app configuration JSON payload. + * + * @param string $val The payloadJson + * + * @return AndroidForWorkMobileAppConfiguration + */ + public function setPayloadJson($val) + { + $this->_propDict["payloadJson"] = $val; + return $this; + } + + + /** + * Gets the permissionActions + * List of Android app permissions and corresponding permission actions. + * + * @return array|null The permissionActions + */ + public function getPermissionActions() + { + if (array_key_exists("permissionActions", $this->_propDict)) { + return $this->_propDict["permissionActions"]; + } else { + return null; + } + } + + /** + * Sets the permissionActions + * List of Android app permissions and corresponding permission actions. + * + * @param AndroidPermissionAction[] $val The permissionActions + * + * @return AndroidForWorkMobileAppConfiguration + */ + public function setPermissionActions($val) + { + $this->_propDict["permissionActions"] = $val; + return $this; + } + + /** + * Gets the profileApplicability + * Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). Possible values are: default, androidWorkProfile, androidDeviceOwner. + * + * @return AndroidProfileApplicability|null The profileApplicability + */ + public function getProfileApplicability() + { + if (array_key_exists("profileApplicability", $this->_propDict)) { + if (is_a($this->_propDict["profileApplicability"], "\Beta\Microsoft\Graph\Model\AndroidProfileApplicability") || is_null($this->_propDict["profileApplicability"])) { + return $this->_propDict["profileApplicability"]; + } else { + $this->_propDict["profileApplicability"] = new AndroidProfileApplicability($this->_propDict["profileApplicability"]); + return $this->_propDict["profileApplicability"]; + } + } + return null; + } + + /** + * Sets the profileApplicability + * Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). Possible values are: default, androidWorkProfile, androidDeviceOwner. + * + * @param AndroidProfileApplicability $val The profileApplicability + * + * @return AndroidForWorkMobileAppConfiguration + */ + public function setProfileApplicability($val) + { + $this->_propDict["profileApplicability"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkNineWorkEasConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkNineWorkEasConfiguration.php new file mode 100644 index 0000000..cc60824 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkNineWorkEasConfiguration.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["syncCalendar"]; + } else { + return null; + } + } + + /** + * Sets the syncCalendar + * Toggles syncing the calendar. If set to false the calendar is turned off on the device. + * + * @param bool $val The syncCalendar + * + * @return AndroidForWorkNineWorkEasConfiguration + */ + public function setSyncCalendar($val) + { + $this->_propDict["syncCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the syncContacts + * Toggles syncing contacts. If set to false contacts are turned off on the device. + * + * @return bool|null The syncContacts + */ + public function getSyncContacts() + { + if (array_key_exists("syncContacts", $this->_propDict)) { + return $this->_propDict["syncContacts"]; + } else { + return null; + } + } + + /** + * Sets the syncContacts + * Toggles syncing contacts. If set to false contacts are turned off on the device. + * + * @param bool $val The syncContacts + * + * @return AndroidForWorkNineWorkEasConfiguration + */ + public function setSyncContacts($val) + { + $this->_propDict["syncContacts"] = boolval($val); + return $this; + } + + /** + * Gets the syncTasks + * Toggles syncing tasks. If set to false tasks are turned off on the device. + * + * @return bool|null The syncTasks + */ + public function getSyncTasks() + { + if (array_key_exists("syncTasks", $this->_propDict)) { + return $this->_propDict["syncTasks"]; + } else { + return null; + } + } + + /** + * Sets the syncTasks + * Toggles syncing tasks. If set to false tasks are turned off on the device. + * + * @param bool $val The syncTasks + * + * @return AndroidForWorkNineWorkEasConfiguration + */ + public function setSyncTasks($val) + { + $this->_propDict["syncTasks"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkPkcsCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkPkcsCertificateProfile.php new file mode 100644 index 0000000..d10604a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkPkcsCertificateProfile.php @@ -0,0 +1,173 @@ +_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name + * + * @param string $val The certificateTemplateName + * + * @return AndroidForWorkPkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority + * + * @param string $val The certificationAuthority + * + * @return AndroidForWorkPkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @param string $val The certificationAuthorityName + * + * @return AndroidForWorkPkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidForWorkPkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidForWorkPkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkRequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkRequiredPasswordType.php new file mode 100644 index 0000000..4ac86ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkRequiredPasswordType.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @return HashAlgorithms|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s) + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s) + * + * @param string $val The scepServerUrls + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidForWorkScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSettings.php new file mode 100644 index 0000000..71f96ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSettings.php @@ -0,0 +1,308 @@ +_propDict)) { + if (is_a($this->_propDict["bindStatus"], "\Beta\Microsoft\Graph\Model\AndroidForWorkBindStatus") || is_null($this->_propDict["bindStatus"])) { + return $this->_propDict["bindStatus"]; + } else { + $this->_propDict["bindStatus"] = new AndroidForWorkBindStatus($this->_propDict["bindStatus"]); + return $this->_propDict["bindStatus"]; + } + } + return null; + } + + /** + * Sets the bindStatus + * Bind status of the tenant with the Google EMM API. Possible values are: notBound, bound, boundAndValidated, unbinding. + * + * @param AndroidForWorkBindStatus $val The bindStatus + * + * @return AndroidForWorkSettings + */ + public function setBindStatus($val) + { + $this->_propDict["bindStatus"] = $val; + return $this; + } + + /** + * Gets the deviceOwnerManagementEnabled + * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. + * + * @return bool|null The deviceOwnerManagementEnabled + */ + public function getDeviceOwnerManagementEnabled() + { + if (array_key_exists("deviceOwnerManagementEnabled", $this->_propDict)) { + return $this->_propDict["deviceOwnerManagementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceOwnerManagementEnabled + * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. + * + * @param bool $val The deviceOwnerManagementEnabled + * + * @return AndroidForWorkSettings + */ + public function setDeviceOwnerManagementEnabled($val) + { + $this->_propDict["deviceOwnerManagementEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the enrollmentTarget + * Indicates which users can enroll devices in Android for Work device management. Possible values are: none, all, targeted, targetedAsEnrollmentRestrictions. + * + * @return AndroidForWorkEnrollmentTarget|null The enrollmentTarget + */ + public function getEnrollmentTarget() + { + if (array_key_exists("enrollmentTarget", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentTarget"], "\Beta\Microsoft\Graph\Model\AndroidForWorkEnrollmentTarget") || is_null($this->_propDict["enrollmentTarget"])) { + return $this->_propDict["enrollmentTarget"]; + } else { + $this->_propDict["enrollmentTarget"] = new AndroidForWorkEnrollmentTarget($this->_propDict["enrollmentTarget"]); + return $this->_propDict["enrollmentTarget"]; + } + } + return null; + } + + /** + * Sets the enrollmentTarget + * Indicates which users can enroll devices in Android for Work device management. Possible values are: none, all, targeted, targetedAsEnrollmentRestrictions. + * + * @param AndroidForWorkEnrollmentTarget $val The enrollmentTarget + * + * @return AndroidForWorkSettings + */ + public function setEnrollmentTarget($val) + { + $this->_propDict["enrollmentTarget"] = $val; + return $this; + } + + /** + * Gets the lastAppSyncDateTime + * Last completion time for app sync + * + * @return \DateTime|null The lastAppSyncDateTime + */ + public function getLastAppSyncDateTime() + { + if (array_key_exists("lastAppSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAppSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastAppSyncDateTime"])) { + return $this->_propDict["lastAppSyncDateTime"]; + } else { + $this->_propDict["lastAppSyncDateTime"] = new \DateTime($this->_propDict["lastAppSyncDateTime"]); + return $this->_propDict["lastAppSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAppSyncDateTime + * Last completion time for app sync + * + * @param \DateTime $val The lastAppSyncDateTime + * + * @return AndroidForWorkSettings + */ + public function setLastAppSyncDateTime($val) + { + $this->_propDict["lastAppSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lastAppSyncStatus + * Last application sync result. Possible values are: success, credentialsNotValid, androidForWorkApiError, managementServiceError, unknownError, none. + * + * @return AndroidForWorkSyncStatus|null The lastAppSyncStatus + */ + public function getLastAppSyncStatus() + { + if (array_key_exists("lastAppSyncStatus", $this->_propDict)) { + if (is_a($this->_propDict["lastAppSyncStatus"], "\Beta\Microsoft\Graph\Model\AndroidForWorkSyncStatus") || is_null($this->_propDict["lastAppSyncStatus"])) { + return $this->_propDict["lastAppSyncStatus"]; + } else { + $this->_propDict["lastAppSyncStatus"] = new AndroidForWorkSyncStatus($this->_propDict["lastAppSyncStatus"]); + return $this->_propDict["lastAppSyncStatus"]; + } + } + return null; + } + + /** + * Sets the lastAppSyncStatus + * Last application sync result. Possible values are: success, credentialsNotValid, androidForWorkApiError, managementServiceError, unknownError, none. + * + * @param AndroidForWorkSyncStatus $val The lastAppSyncStatus + * + * @return AndroidForWorkSettings + */ + public function setLastAppSyncStatus($val) + { + $this->_propDict["lastAppSyncStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modification time for Android for Work settings + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modification time for Android for Work settings + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AndroidForWorkSettings + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the ownerOrganizationName + * Organization name used when onboarding Android for Work + * + * @return string|null The ownerOrganizationName + */ + public function getOwnerOrganizationName() + { + if (array_key_exists("ownerOrganizationName", $this->_propDict)) { + return $this->_propDict["ownerOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the ownerOrganizationName + * Organization name used when onboarding Android for Work + * + * @param string $val The ownerOrganizationName + * + * @return AndroidForWorkSettings + */ + public function setOwnerOrganizationName($val) + { + $this->_propDict["ownerOrganizationName"] = $val; + return $this; + } + + /** + * Gets the ownerUserPrincipalName + * Owner UPN that created the enterprise + * + * @return string|null The ownerUserPrincipalName + */ + public function getOwnerUserPrincipalName() + { + if (array_key_exists("ownerUserPrincipalName", $this->_propDict)) { + return $this->_propDict["ownerUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the ownerUserPrincipalName + * Owner UPN that created the enterprise + * + * @param string $val The ownerUserPrincipalName + * + * @return AndroidForWorkSettings + */ + public function setOwnerUserPrincipalName($val) + { + $this->_propDict["ownerUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the targetGroupIds + * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' + * + * @return string|null The targetGroupIds + */ + public function getTargetGroupIds() + { + if (array_key_exists("targetGroupIds", $this->_propDict)) { + return $this->_propDict["targetGroupIds"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupIds + * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' + * + * @param string $val The targetGroupIds + * + * @return AndroidForWorkSettings + */ + public function setTargetGroupIds($val) + { + $this->_propDict["targetGroupIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSyncStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSyncStatus.php new file mode 100644 index 0000000..beef666 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSyncStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return AndroidForWorkTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return AndroidForWorkTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConfiguration.php new file mode 100644 index 0000000..e932cbf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConfiguration.php @@ -0,0 +1,332 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @param VpnAuthenticationMethod $val The authenticationMethod + * + * @return AndroidForWorkVpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the connectionName + * Connection name displayed to the user. + * + * @return string|null The connectionName + */ + public function getConnectionName() + { + if (array_key_exists("connectionName", $this->_propDict)) { + return $this->_propDict["connectionName"]; + } else { + return null; + } + } + + /** + * Sets the connectionName + * Connection name displayed to the user. + * + * @param string $val The connectionName + * + * @return AndroidForWorkVpnConfiguration + */ + public function setConnectionName($val) + { + $this->_propDict["connectionName"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix. + * + * @return AndroidForWorkVpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkVpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new AndroidForWorkVpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix. + * + * @param AndroidForWorkVpnConnectionType $val The connectionType + * + * @return AndroidForWorkVpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + + /** + * Gets the customData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @return array|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @param KeyValue[] $val The customData + * + * @return AndroidForWorkVpnConfiguration + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + + /** + * Gets the customKeyValueData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @return array|null The customKeyValueData + */ + public function getCustomKeyValueData() + { + if (array_key_exists("customKeyValueData", $this->_propDict)) { + return $this->_propDict["customKeyValueData"]; + } else { + return null; + } + } + + /** + * Sets the customKeyValueData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @param KeyValuePair[] $val The customKeyValueData + * + * @return AndroidForWorkVpnConfiguration + */ + public function setCustomKeyValueData($val) + { + $this->_propDict["customKeyValueData"] = $val; + return $this; + } + + /** + * Gets the fingerprint + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * + * @return string|null The fingerprint + */ + public function getFingerprint() + { + if (array_key_exists("fingerprint", $this->_propDict)) { + return $this->_propDict["fingerprint"]; + } else { + return null; + } + } + + /** + * Sets the fingerprint + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * + * @param string $val The fingerprint + * + * @return AndroidForWorkVpnConfiguration + */ + public function setFingerprint($val) + { + $this->_propDict["fingerprint"] = $val; + return $this; + } + + /** + * Gets the realm + * Realm when connection type is set to Pulse Secure. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Realm when connection type is set to Pulse Secure. + * + * @param string $val The realm + * + * @return AndroidForWorkVpnConfiguration + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + + /** + * Gets the role + * Role when connection type is set to Pulse Secure. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role when connection type is set to Pulse Secure. + * + * @param string $val The role + * + * @return AndroidForWorkVpnConfiguration + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + + /** + * Gets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @return array|null The servers + */ + public function getServers() + { + if (array_key_exists("servers", $this->_propDict)) { + return $this->_propDict["servers"]; + } else { + return null; + } + } + + /** + * Sets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @param VpnServer[] $val The servers + * + * @return AndroidForWorkVpnConfiguration + */ + public function setServers($val) + { + $this->_propDict["servers"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return AndroidForWorkCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidForWorkCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param AndroidForWorkCertificateProfileBase $val The identityCertificate + * + * @return AndroidForWorkVpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConnectionType.php new file mode 100644 index 0000000..e310c70 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConnectionType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return AndroidForWorkWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return AndroidForWorkWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return AndroidForWorkWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return AndroidForWorkWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaEnterprise, wpa2Enterprise. + * + * @return AndroidWiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidWiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new AndroidWiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaEnterprise, wpa2Enterprise. + * + * @param AndroidWiFiSecurityType $val The wiFiSecurityType + * + * @return AndroidForWorkWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php new file mode 100644 index 0000000..7196613 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * Key for the Android FOTA Assignment entity + * + * @param string $val The value of the id + * + * @return AndroidFotaDeploymentAssignment + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the target + * The AAD Group we are deploying firmware updates to + * + * @return AndroidFotaDeploymentAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\AndroidFotaDeploymentAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new AndroidFotaDeploymentAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The AAD Group we are deploying firmware updates to + * + * @param AndroidFotaDeploymentAssignmentTarget $val The value to assign to the target + * + * @return AndroidFotaDeploymentAssignment The AndroidFotaDeploymentAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php new file mode 100644 index 0000000..b28feb0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * AAD Group Id. + * + * @param string $val The value of the groupId + * + * @return AndroidFotaDeploymentAssignmentTarget + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidGeneralDeviceConfiguration.php new file mode 100644 index 0000000..7e6f1c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidGeneralDeviceConfiguration.php @@ -0,0 +1,1498 @@ +_propDict)) { + return $this->_propDict["appsBlockClipboardSharing"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockClipboardSharing + * Indicates whether or not to block clipboard sharing to copy and paste between applications. + * + * @param bool $val The appsBlockClipboardSharing + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsBlockClipboardSharing($val) + { + $this->_propDict["appsBlockClipboardSharing"] = boolval($val); + return $this; + } + + /** + * Gets the appsBlockCopyPaste + * Indicates whether or not to block copy and paste within applications. + * + * @return bool|null The appsBlockCopyPaste + */ + public function getAppsBlockCopyPaste() + { + if (array_key_exists("appsBlockCopyPaste", $this->_propDict)) { + return $this->_propDict["appsBlockCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockCopyPaste + * Indicates whether or not to block copy and paste within applications. + * + * @param bool $val The appsBlockCopyPaste + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsBlockCopyPaste($val) + { + $this->_propDict["appsBlockCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the appsBlockYouTube + * Indicates whether or not to block the YouTube app. + * + * @return bool|null The appsBlockYouTube + */ + public function getAppsBlockYouTube() + { + if (array_key_exists("appsBlockYouTube", $this->_propDict)) { + return $this->_propDict["appsBlockYouTube"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockYouTube + * Indicates whether or not to block the YouTube app. + * + * @param bool $val The appsBlockYouTube + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsBlockYouTube($val) + { + $this->_propDict["appsBlockYouTube"] = boolval($val); + return $this; + } + + + /** + * Gets the appsHideList + * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsHideList + */ + public function getAppsHideList() + { + if (array_key_exists("appsHideList", $this->_propDict)) { + return $this->_propDict["appsHideList"]; + } else { + return null; + } + } + + /** + * Sets the appsHideList + * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsHideList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsHideList($val) + { + $this->_propDict["appsHideList"] = $val; + return $this; + } + + + /** + * Gets the appsInstallAllowList + * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsInstallAllowList + */ + public function getAppsInstallAllowList() + { + if (array_key_exists("appsInstallAllowList", $this->_propDict)) { + return $this->_propDict["appsInstallAllowList"]; + } else { + return null; + } + } + + /** + * Sets the appsInstallAllowList + * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsInstallAllowList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsInstallAllowList($val) + { + $this->_propDict["appsInstallAllowList"] = $val; + return $this; + } + + + /** + * Gets the appsLaunchBlockList + * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsLaunchBlockList + */ + public function getAppsLaunchBlockList() + { + if (array_key_exists("appsLaunchBlockList", $this->_propDict)) { + return $this->_propDict["appsLaunchBlockList"]; + } else { + return null; + } + } + + /** + * Sets the appsLaunchBlockList + * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsLaunchBlockList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsLaunchBlockList($val) + { + $this->_propDict["appsLaunchBlockList"] = $val; + return $this; + } + + /** + * Gets the bluetoothBlocked + * Indicates whether or not to block Bluetooth. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Indicates whether or not to block Bluetooth. + * + * @param bool $val The bluetoothBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block the use of the camera. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block the use of the camera. + * + * @param bool $val The cameraBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @return bool|null The cellularBlockDataRoaming + */ + public function getCellularBlockDataRoaming() + { + if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @param bool $val The cellularBlockDataRoaming + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockDataRoaming($val) + { + $this->_propDict["cellularBlockDataRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockMessaging + * Indicates whether or not to block SMS/MMS messaging. + * + * @return bool|null The cellularBlockMessaging + */ + public function getCellularBlockMessaging() + { + if (array_key_exists("cellularBlockMessaging", $this->_propDict)) { + return $this->_propDict["cellularBlockMessaging"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockMessaging + * Indicates whether or not to block SMS/MMS messaging. + * + * @param bool $val The cellularBlockMessaging + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockMessaging($val) + { + $this->_propDict["cellularBlockMessaging"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @return bool|null The cellularBlockVoiceRoaming + */ + public function getCellularBlockVoiceRoaming() + { + if (array_key_exists("cellularBlockVoiceRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockVoiceRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @param bool $val The cellularBlockVoiceRoaming + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockVoiceRoaming($val) + { + $this->_propDict["cellularBlockVoiceRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockWiFiTethering + * Indicates whether or not to block syncing Wi-Fi tethering. + * + * @return bool|null The cellularBlockWiFiTethering + */ + public function getCellularBlockWiFiTethering() + { + if (array_key_exists("cellularBlockWiFiTethering", $this->_propDict)) { + return $this->_propDict["cellularBlockWiFiTethering"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockWiFiTethering + * Indicates whether or not to block syncing Wi-Fi tethering. + * + * @param bool $val The cellularBlockWiFiTethering + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockWiFiTethering($val) + { + $this->_propDict["cellularBlockWiFiTethering"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the dateAndTimeBlockChanges + * Indicates whether or not to block changing date and time while in KNOX Mode. + * + * @return bool|null The dateAndTimeBlockChanges + */ + public function getDateAndTimeBlockChanges() + { + if (array_key_exists("dateAndTimeBlockChanges", $this->_propDict)) { + return $this->_propDict["dateAndTimeBlockChanges"]; + } else { + return null; + } + } + + /** + * Sets the dateAndTimeBlockChanges + * Indicates whether or not to block changing date and time while in KNOX Mode. + * + * @param bool $val The dateAndTimeBlockChanges + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setDateAndTimeBlockChanges($val) + { + $this->_propDict["dateAndTimeBlockChanges"] = boolval($val); + return $this; + } + + /** + * Gets the deviceSharingAllowed + * Indicates whether or not to allow device sharing mode. + * + * @return bool|null The deviceSharingAllowed + */ + public function getDeviceSharingAllowed() + { + if (array_key_exists("deviceSharingAllowed", $this->_propDict)) { + return $this->_propDict["deviceSharingAllowed"]; + } else { + return null; + } + } + + /** + * Sets the deviceSharingAllowed + * Indicates whether or not to allow device sharing mode. + * + * @param bool $val The deviceSharingAllowed + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setDeviceSharingAllowed($val) + { + $this->_propDict["deviceSharingAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticDataBlockSubmission + */ + public function getDiagnosticDataBlockSubmission() + { + if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticDataBlockSubmission + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setDiagnosticDataBlockSubmission($val) + { + $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the factoryResetBlocked + * Indicates whether or not to block user performing a factory reset. + * + * @return bool|null The factoryResetBlocked + */ + public function getFactoryResetBlocked() + { + if (array_key_exists("factoryResetBlocked", $this->_propDict)) { + return $this->_propDict["factoryResetBlocked"]; + } else { + return null; + } + } + + /** + * Sets the factoryResetBlocked + * Indicates whether or not to block user performing a factory reset. + * + * @param bool $val The factoryResetBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setFactoryResetBlocked($val) + { + $this->_propDict["factoryResetBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the googleAccountBlockAutoSync + * Indicates whether or not to block Google account auto sync. + * + * @return bool|null The googleAccountBlockAutoSync + */ + public function getGoogleAccountBlockAutoSync() + { + if (array_key_exists("googleAccountBlockAutoSync", $this->_propDict)) { + return $this->_propDict["googleAccountBlockAutoSync"]; + } else { + return null; + } + } + + /** + * Sets the googleAccountBlockAutoSync + * Indicates whether or not to block Google account auto sync. + * + * @param bool $val The googleAccountBlockAutoSync + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setGoogleAccountBlockAutoSync($val) + { + $this->_propDict["googleAccountBlockAutoSync"] = boolval($val); + return $this; + } + + /** + * Gets the googlePlayStoreBlocked + * Indicates whether or not to block the Google Play store. + * + * @return bool|null The googlePlayStoreBlocked + */ + public function getGooglePlayStoreBlocked() + { + if (array_key_exists("googlePlayStoreBlocked", $this->_propDict)) { + return $this->_propDict["googlePlayStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the googlePlayStoreBlocked + * Indicates whether or not to block the Google Play store. + * + * @param bool $val The googlePlayStoreBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setGooglePlayStoreBlocked($val) + { + $this->_propDict["googlePlayStoreBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the kioskModeApps + * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @return array|null The kioskModeApps + */ + public function getKioskModeApps() + { + if (array_key_exists("kioskModeApps", $this->_propDict)) { + return $this->_propDict["kioskModeApps"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeApps + * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The kioskModeApps + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setKioskModeApps($val) + { + $this->_propDict["kioskModeApps"] = $val; + return $this; + } + + /** + * Gets the kioskModeBlockSleepButton + * Indicates whether or not to block the screen sleep button while in Kiosk Mode. + * + * @return bool|null The kioskModeBlockSleepButton + */ + public function getKioskModeBlockSleepButton() + { + if (array_key_exists("kioskModeBlockSleepButton", $this->_propDict)) { + return $this->_propDict["kioskModeBlockSleepButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockSleepButton + * Indicates whether or not to block the screen sleep button while in Kiosk Mode. + * + * @param bool $val The kioskModeBlockSleepButton + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setKioskModeBlockSleepButton($val) + { + $this->_propDict["kioskModeBlockSleepButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockVolumeButtons + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + * + * @return bool|null The kioskModeBlockVolumeButtons + */ + public function getKioskModeBlockVolumeButtons() + { + if (array_key_exists("kioskModeBlockVolumeButtons", $this->_propDict)) { + return $this->_propDict["kioskModeBlockVolumeButtons"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockVolumeButtons + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + * + * @param bool $val The kioskModeBlockVolumeButtons + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setKioskModeBlockVolumeButtons($val) + { + $this->_propDict["kioskModeBlockVolumeButtons"] = boolval($val); + return $this; + } + + /** + * Gets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @return bool|null The locationServicesBlocked + */ + public function getLocationServicesBlocked() + { + if (array_key_exists("locationServicesBlocked", $this->_propDict)) { + return $this->_propDict["locationServicesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @param bool $val The locationServicesBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setLocationServicesBlocked($val) + { + $this->_propDict["locationServicesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @param bool $val The nfcBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passwordBlockFingerprintUnlock + */ + public function getPasswordBlockFingerprintUnlock() + { + if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passwordBlockFingerprintUnlock + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordBlockFingerprintUnlock($val) + { + $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @return bool|null The passwordBlockTrustAgents + */ + public function getPasswordBlockTrustAgents() + { + if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["passwordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @param bool $val The passwordBlockTrustAgents + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordBlockTrustAgents($val) + { + $this->_propDict["passwordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Indicates whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Indicates whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the powerOffBlocked + * Indicates whether or not to block powering off the device. + * + * @return bool|null The powerOffBlocked + */ + public function getPowerOffBlocked() + { + if (array_key_exists("powerOffBlocked", $this->_propDict)) { + return $this->_propDict["powerOffBlocked"]; + } else { + return null; + } + } + + /** + * Sets the powerOffBlocked + * Indicates whether or not to block powering off the device. + * + * @param bool $val The powerOffBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPowerOffBlocked($val) + { + $this->_propDict["powerOffBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the requiredPasswordComplexity + * Indicates the required password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is an API targeted to Android 11+. Possible values are: none, low, medium, high. + * + * @return AndroidRequiredPasswordComplexity|null The requiredPasswordComplexity + */ + public function getRequiredPasswordComplexity() + { + if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) { + if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["requiredPasswordComplexity"])) { + return $this->_propDict["requiredPasswordComplexity"]; + } else { + $this->_propDict["requiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["requiredPasswordComplexity"]); + return $this->_propDict["requiredPasswordComplexity"]; + } + } + return null; + } + + /** + * Sets the requiredPasswordComplexity + * Indicates the required password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is an API targeted to Android 11+. Possible values are: none, low, medium, high. + * + * @param AndroidRequiredPasswordComplexity $val The requiredPasswordComplexity + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setRequiredPasswordComplexity($val) + { + $this->_propDict["requiredPasswordComplexity"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockGoogleBackup + * Indicates whether or not to block Google Backup. + * + * @return bool|null The storageBlockGoogleBackup + */ + public function getStorageBlockGoogleBackup() + { + if (array_key_exists("storageBlockGoogleBackup", $this->_propDict)) { + return $this->_propDict["storageBlockGoogleBackup"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockGoogleBackup + * Indicates whether or not to block Google Backup. + * + * @param bool $val The storageBlockGoogleBackup + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageBlockGoogleBackup($val) + { + $this->_propDict["storageBlockGoogleBackup"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage usage. + * + * @return bool|null The storageBlockRemovableStorage + */ + public function getStorageBlockRemovableStorage() + { + if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) { + return $this->_propDict["storageBlockRemovableStorage"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage usage. + * + * @param bool $val The storageBlockRemovableStorage + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageBlockRemovableStorage($val) + { + $this->_propDict["storageBlockRemovableStorage"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireDeviceEncryption + * Indicates whether or not to require device encryption. + * + * @return bool|null The storageRequireDeviceEncryption + */ + public function getStorageRequireDeviceEncryption() + { + if (array_key_exists("storageRequireDeviceEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireDeviceEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireDeviceEncryption + * Indicates whether or not to require device encryption. + * + * @param bool $val The storageRequireDeviceEncryption + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageRequireDeviceEncryption($val) + { + $this->_propDict["storageRequireDeviceEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireRemovableStorageEncryption + * Indicates whether or not to require removable storage encryption. + * + * @return bool|null The storageRequireRemovableStorageEncryption + */ + public function getStorageRequireRemovableStorageEncryption() + { + if (array_key_exists("storageRequireRemovableStorageEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireRemovableStorageEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireRemovableStorageEncryption + * Indicates whether or not to require removable storage encryption. + * + * @param bool $val The storageRequireRemovableStorageEncryption + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageRequireRemovableStorageEncryption($val) + { + $this->_propDict["storageRequireRemovableStorageEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the voiceAssistantBlocked + * Indicates whether or not to block the use of the Voice Assistant. + * + * @return bool|null The voiceAssistantBlocked + */ + public function getVoiceAssistantBlocked() + { + if (array_key_exists("voiceAssistantBlocked", $this->_propDict)) { + return $this->_propDict["voiceAssistantBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceAssistantBlocked + * Indicates whether or not to block the use of the Voice Assistant. + * + * @param bool $val The voiceAssistantBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setVoiceAssistantBlocked($val) + { + $this->_propDict["voiceAssistantBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @return bool|null The voiceDialingBlocked + */ + public function getVoiceDialingBlocked() + { + if (array_key_exists("voiceDialingBlocked", $this->_propDict)) { + return $this->_propDict["voiceDialingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @param bool $val The voiceDialingBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setVoiceDialingBlocked($val) + { + $this->_propDict["voiceDialingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlockAutofill + * Indicates whether or not to block the web browser's auto fill feature. + * + * @return bool|null The webBrowserBlockAutofill + */ + public function getWebBrowserBlockAutofill() + { + if (array_key_exists("webBrowserBlockAutofill", $this->_propDict)) { + return $this->_propDict["webBrowserBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlockAutofill + * Indicates whether or not to block the web browser's auto fill feature. + * + * @param bool $val The webBrowserBlockAutofill + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlockAutofill($val) + { + $this->_propDict["webBrowserBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @return bool|null The webBrowserBlocked + */ + public function getWebBrowserBlocked() + { + if (array_key_exists("webBrowserBlocked", $this->_propDict)) { + return $this->_propDict["webBrowserBlocked"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @param bool $val The webBrowserBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlocked($val) + { + $this->_propDict["webBrowserBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlockJavaScript + * Indicates whether or not to block JavaScript within the web browser. + * + * @return bool|null The webBrowserBlockJavaScript + */ + public function getWebBrowserBlockJavaScript() + { + if (array_key_exists("webBrowserBlockJavaScript", $this->_propDict)) { + return $this->_propDict["webBrowserBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlockJavaScript + * Indicates whether or not to block JavaScript within the web browser. + * + * @param bool $val The webBrowserBlockJavaScript + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlockJavaScript($val) + { + $this->_propDict["webBrowserBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlockPopups + * Indicates whether or not to block popups within the web browser. + * + * @return bool|null The webBrowserBlockPopups + */ + public function getWebBrowserBlockPopups() + { + if (array_key_exists("webBrowserBlockPopups", $this->_propDict)) { + return $this->_propDict["webBrowserBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlockPopups + * Indicates whether or not to block popups within the web browser. + * + * @param bool $val The webBrowserBlockPopups + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlockPopups($val) + { + $this->_propDict["webBrowserBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserCookieSettings + * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @return WebBrowserCookieSettings|null The webBrowserCookieSettings + */ + public function getWebBrowserCookieSettings() + { + if (array_key_exists("webBrowserCookieSettings", $this->_propDict)) { + if (is_a($this->_propDict["webBrowserCookieSettings"], "\Beta\Microsoft\Graph\Model\WebBrowserCookieSettings") || is_null($this->_propDict["webBrowserCookieSettings"])) { + return $this->_propDict["webBrowserCookieSettings"]; + } else { + $this->_propDict["webBrowserCookieSettings"] = new WebBrowserCookieSettings($this->_propDict["webBrowserCookieSettings"]); + return $this->_propDict["webBrowserCookieSettings"]; + } + } + return null; + } + + /** + * Sets the webBrowserCookieSettings + * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @param WebBrowserCookieSettings $val The webBrowserCookieSettings + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserCookieSettings($val) + { + $this->_propDict["webBrowserCookieSettings"] = $val; + return $this; + } + + /** + * Gets the wiFiBlocked + * Indicates whether or not to block syncing Wi-Fi. + * + * @return bool|null The wiFiBlocked + */ + public function getWiFiBlocked() + { + if (array_key_exists("wiFiBlocked", $this->_propDict)) { + return $this->_propDict["wiFiBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlocked + * Indicates whether or not to block syncing Wi-Fi. + * + * @param bool $val The wiFiBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWiFiBlocked($val) + { + $this->_propDict["wiFiBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidImportedPFXCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidImportedPFXCertificateProfile.php new file mode 100644 index 0000000..e56090d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidImportedPFXCertificateProfile.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return AndroidImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidKeyguardFeature.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidKeyguardFeature.php new file mode 100644 index 0000000..117f458 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidKeyguardFeature.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The identityName + * + * @return AndroidLobApp + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return AndroidLobApp + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return AndroidLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return AndroidLobApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the versionCode + * The version code of Android Line of Business (LoB) app. + * + * @return string|null The versionCode + */ + public function getVersionCode() + { + if (array_key_exists("versionCode", $this->_propDict)) { + return $this->_propDict["versionCode"]; + } else { + return null; + } + } + + /** + * Sets the versionCode + * The version code of Android Line of Business (LoB) app. + * + * @param string $val The versionCode + * + * @return AndroidLobApp + */ + public function setVersionCode($val) + { + $this->_propDict["versionCode"] = $val; + return $this; + } + + /** + * Gets the versionName + * The version name of Android Line of Business (LoB) app. + * + * @return string|null The versionName + */ + public function getVersionName() + { + if (array_key_exists("versionName", $this->_propDict)) { + return $this->_propDict["versionName"]; + } else { + return null; + } + } + + /** + * Sets the versionName + * The version name of Android Line of Business (LoB) app. + * + * @param string $val The versionName + * + * @return AndroidLobApp + */ + public function setVersionName($val) + { + $this->_propDict["versionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php new file mode 100644 index 0000000..867926e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php @@ -0,0 +1,1180 @@ +_propDict)) { + return $this->_propDict["allowedAndroidDeviceManufacturers"]; + } else { + return null; + } + } + + /** + * Sets the allowedAndroidDeviceManufacturers + * Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. + * + * @param string $val The allowedAndroidDeviceManufacturers + * + * @return AndroidManagedAppProtection + */ + public function setAllowedAndroidDeviceManufacturers($val) + { + $this->_propDict["allowedAndroidDeviceManufacturers"] = $val; + return $this; + } + + /** + * Gets the allowedAndroidDeviceModels + * List of device models allowed, as a string, for the managed app to work. + * + * @return string|null The allowedAndroidDeviceModels + */ + public function getAllowedAndroidDeviceModels() + { + if (array_key_exists("allowedAndroidDeviceModels", $this->_propDict)) { + return $this->_propDict["allowedAndroidDeviceModels"]; + } else { + return null; + } + } + + /** + * Sets the allowedAndroidDeviceModels + * List of device models allowed, as a string, for the managed app to work. + * + * @param string $val The allowedAndroidDeviceModels + * + * @return AndroidManagedAppProtection + */ + public function setAllowedAndroidDeviceModels($val) + { + $this->_propDict["allowedAndroidDeviceModels"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidDeviceManufacturerNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidDeviceManufacturerNotAllowed + */ + public function getAppActionIfAndroidDeviceManufacturerNotAllowed() + { + if (array_key_exists("appActionIfAndroidDeviceManufacturerNotAllowed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"])) { + return $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"]; + } else { + $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"]); + return $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidDeviceManufacturerNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidDeviceManufacturerNotAllowed + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfAndroidDeviceManufacturerNotAllowed($val) + { + $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidDeviceModelNotAllowed + */ + public function getAppActionIfAndroidDeviceModelNotAllowed() + { + if (array_key_exists("appActionIfAndroidDeviceModelNotAllowed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"])) { + return $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"]; + } else { + $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"]); + return $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidDeviceModelNotAllowed + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfAndroidDeviceModelNotAllowed($val) + { + $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidSafetyNetAppsVerificationFailed + * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirment fails. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidSafetyNetAppsVerificationFailed + */ + public function getAppActionIfAndroidSafetyNetAppsVerificationFailed() + { + if (array_key_exists("appActionIfAndroidSafetyNetAppsVerificationFailed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"])) { + return $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"]; + } else { + $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"]); + return $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidSafetyNetAppsVerificationFailed + * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirment fails. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidSafetyNetAppsVerificationFailed + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfAndroidSafetyNetAppsVerificationFailed($val) + { + $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidSafetyNetDeviceAttestationFailed + * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirment fails. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidSafetyNetDeviceAttestationFailed + */ + public function getAppActionIfAndroidSafetyNetDeviceAttestationFailed() + { + if (array_key_exists("appActionIfAndroidSafetyNetDeviceAttestationFailed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"])) { + return $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"]; + } else { + $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"]); + return $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidSafetyNetDeviceAttestationFailed + * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirment fails. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidSafetyNetDeviceAttestationFailed + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfAndroidSafetyNetDeviceAttestationFailed($val) + { + $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"] = $val; + return $this; + } + + /** + * Gets the appActionIfDeviceLockNotSet + * Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on android device but is not set. + * + * @return ManagedAppRemediationAction|null The appActionIfDeviceLockNotSet + */ + public function getAppActionIfDeviceLockNotSet() + { + if (array_key_exists("appActionIfDeviceLockNotSet", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDeviceLockNotSet"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDeviceLockNotSet"])) { + return $this->_propDict["appActionIfDeviceLockNotSet"]; + } else { + $this->_propDict["appActionIfDeviceLockNotSet"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDeviceLockNotSet"]); + return $this->_propDict["appActionIfDeviceLockNotSet"]; + } + } + return null; + } + + /** + * Sets the appActionIfDeviceLockNotSet + * Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on android device but is not set. + * + * @param ManagedAppRemediationAction $val The appActionIfDeviceLockNotSet + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfDeviceLockNotSet($val) + { + $this->_propDict["appActionIfDeviceLockNotSet"] = $val; + return $this; + } + + /** + * Gets the appActionIfDevicePasscodeComplexityLessThanHigh + * If the device does not have a passcode of high complexity or higher, trigger the stored action. + * + * @return ManagedAppRemediationAction|null The appActionIfDevicePasscodeComplexityLessThanHigh + */ + public function getAppActionIfDevicePasscodeComplexityLessThanHigh() + { + if (array_key_exists("appActionIfDevicePasscodeComplexityLessThanHigh", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"])) { + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"]; + } else { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"]); + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"]; + } + } + return null; + } + + /** + * Sets the appActionIfDevicePasscodeComplexityLessThanHigh + * If the device does not have a passcode of high complexity or higher, trigger the stored action. + * + * @param ManagedAppRemediationAction $val The appActionIfDevicePasscodeComplexityLessThanHigh + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfDevicePasscodeComplexityLessThanHigh($val) + { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"] = $val; + return $this; + } + + /** + * Gets the appActionIfDevicePasscodeComplexityLessThanLow + * If the device does not have a passcode of low complexity or higher, trigger the stored action. + * + * @return ManagedAppRemediationAction|null The appActionIfDevicePasscodeComplexityLessThanLow + */ + public function getAppActionIfDevicePasscodeComplexityLessThanLow() + { + if (array_key_exists("appActionIfDevicePasscodeComplexityLessThanLow", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"])) { + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"]; + } else { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"]); + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"]; + } + } + return null; + } + + /** + * Sets the appActionIfDevicePasscodeComplexityLessThanLow + * If the device does not have a passcode of low complexity or higher, trigger the stored action. + * + * @param ManagedAppRemediationAction $val The appActionIfDevicePasscodeComplexityLessThanLow + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfDevicePasscodeComplexityLessThanLow($val) + { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"] = $val; + return $this; + } + + /** + * Gets the appActionIfDevicePasscodeComplexityLessThanMedium + * If the device does not have a passcode of medium complexity or higher, trigger the stored action. + * + * @return ManagedAppRemediationAction|null The appActionIfDevicePasscodeComplexityLessThanMedium + */ + public function getAppActionIfDevicePasscodeComplexityLessThanMedium() + { + if (array_key_exists("appActionIfDevicePasscodeComplexityLessThanMedium", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"])) { + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"]; + } else { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"]); + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"]; + } + } + return null; + } + + /** + * Sets the appActionIfDevicePasscodeComplexityLessThanMedium + * If the device does not have a passcode of medium complexity or higher, trigger the stored action. + * + * @param ManagedAppRemediationAction $val The appActionIfDevicePasscodeComplexityLessThanMedium + * + * @return AndroidManagedAppProtection + */ + public function setAppActionIfDevicePasscodeComplexityLessThanMedium($val) + { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"] = $val; + return $this; + } + + + /** + * Gets the approvedKeyboards + * If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name + * + * @return array|null The approvedKeyboards + */ + public function getApprovedKeyboards() + { + if (array_key_exists("approvedKeyboards", $this->_propDict)) { + return $this->_propDict["approvedKeyboards"]; + } else { + return null; + } + } + + /** + * Sets the approvedKeyboards + * If Keyboard Restriction is enabled, only keyboards in this approved list will be allowed. A key should be Android package id for a keyboard and value should be a friendly name + * + * @param KeyValuePair[] $val The approvedKeyboards + * + * @return AndroidManagedAppProtection + */ + public function setApprovedKeyboards($val) + { + $this->_propDict["approvedKeyboards"] = $val; + return $this; + } + + /** + * Gets the biometricAuthenticationBlocked + * Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True. + * + * @return bool|null The biometricAuthenticationBlocked + */ + public function getBiometricAuthenticationBlocked() + { + if (array_key_exists("biometricAuthenticationBlocked", $this->_propDict)) { + return $this->_propDict["biometricAuthenticationBlocked"]; + } else { + return null; + } + } + + /** + * Sets the biometricAuthenticationBlocked + * Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True. + * + * @param bool $val The biometricAuthenticationBlocked + * + * @return AndroidManagedAppProtection + */ + public function setBiometricAuthenticationBlocked($val) + { + $this->_propDict["biometricAuthenticationBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the blockAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or app access will be blocked. + * + * @return int|null The blockAfterCompanyPortalUpdateDeferralInDays + */ + public function getBlockAfterCompanyPortalUpdateDeferralInDays() + { + if (array_key_exists("blockAfterCompanyPortalUpdateDeferralInDays", $this->_propDict)) { + return $this->_propDict["blockAfterCompanyPortalUpdateDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the blockAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or app access will be blocked. + * + * @param int $val The blockAfterCompanyPortalUpdateDeferralInDays + * + * @return AndroidManagedAppProtection + */ + public function setBlockAfterCompanyPortalUpdateDeferralInDays($val) + { + $this->_propDict["blockAfterCompanyPortalUpdateDeferralInDays"] = intval($val); + return $this; + } + + /** + * Gets the connectToVpnOnLaunch + * Whether the app should connect to the configured VPN on launch. + * + * @return bool|null The connectToVpnOnLaunch + */ + public function getConnectToVpnOnLaunch() + { + if (array_key_exists("connectToVpnOnLaunch", $this->_propDict)) { + return $this->_propDict["connectToVpnOnLaunch"]; + } else { + return null; + } + } + + /** + * Sets the connectToVpnOnLaunch + * Whether the app should connect to the configured VPN on launch. + * + * @param bool $val The connectToVpnOnLaunch + * + * @return AndroidManagedAppProtection + */ + public function setConnectToVpnOnLaunch($val) + { + $this->_propDict["connectToVpnOnLaunch"] = boolval($val); + return $this; + } + + /** + * Gets the customBrowserDisplayName + * Friendly name of the preferred custom browser to open weblink on Android. + * + * @return string|null The customBrowserDisplayName + */ + public function getCustomBrowserDisplayName() + { + if (array_key_exists("customBrowserDisplayName", $this->_propDict)) { + return $this->_propDict["customBrowserDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserDisplayName + * Friendly name of the preferred custom browser to open weblink on Android. + * + * @param string $val The customBrowserDisplayName + * + * @return AndroidManagedAppProtection + */ + public function setCustomBrowserDisplayName($val) + { + $this->_propDict["customBrowserDisplayName"] = $val; + return $this; + } + + /** + * Gets the customBrowserPackageId + * Unique identifier of a custom browser to open weblink on Android. + * + * @return string|null The customBrowserPackageId + */ + public function getCustomBrowserPackageId() + { + if (array_key_exists("customBrowserPackageId", $this->_propDict)) { + return $this->_propDict["customBrowserPackageId"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserPackageId + * Unique identifier of a custom browser to open weblink on Android. + * + * @param string $val The customBrowserPackageId + * + * @return AndroidManagedAppProtection + */ + public function setCustomBrowserPackageId($val) + { + $this->_propDict["customBrowserPackageId"] = $val; + return $this; + } + + /** + * Gets the customDialerAppDisplayName + * Friendly name of a custom dialer app to click-to-open a phone number on Android. + * + * @return string|null The customDialerAppDisplayName + */ + public function getCustomDialerAppDisplayName() + { + if (array_key_exists("customDialerAppDisplayName", $this->_propDict)) { + return $this->_propDict["customDialerAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the customDialerAppDisplayName + * Friendly name of a custom dialer app to click-to-open a phone number on Android. + * + * @param string $val The customDialerAppDisplayName + * + * @return AndroidManagedAppProtection + */ + public function setCustomDialerAppDisplayName($val) + { + $this->_propDict["customDialerAppDisplayName"] = $val; + return $this; + } + + /** + * Gets the customDialerAppPackageId + * PackageId of a custom dialer app to click-to-open a phone number on Android. + * + * @return string|null The customDialerAppPackageId + */ + public function getCustomDialerAppPackageId() + { + if (array_key_exists("customDialerAppPackageId", $this->_propDict)) { + return $this->_propDict["customDialerAppPackageId"]; + } else { + return null; + } + } + + /** + * Sets the customDialerAppPackageId + * PackageId of a custom dialer app to click-to-open a phone number on Android. + * + * @param string $val The customDialerAppPackageId + * + * @return AndroidManagedAppProtection + */ + public function setCustomDialerAppPackageId($val) + { + $this->_propDict["customDialerAppPackageId"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return AndroidManagedAppProtection + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceLockRequired + * Defines if any kind of lock must be required on android device + * + * @return bool|null The deviceLockRequired + */ + public function getDeviceLockRequired() + { + if (array_key_exists("deviceLockRequired", $this->_propDict)) { + return $this->_propDict["deviceLockRequired"]; + } else { + return null; + } + } + + /** + * Sets the deviceLockRequired + * Defines if any kind of lock must be required on android device + * + * @param bool $val The deviceLockRequired + * + * @return AndroidManagedAppProtection + */ + public function setDeviceLockRequired($val) + { + $this->_propDict["deviceLockRequired"] = boolval($val); + return $this; + } + + /** + * Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled + * + * @return bool|null The disableAppEncryptionIfDeviceEncryptionIsEnabled + */ + public function getDisableAppEncryptionIfDeviceEncryptionIsEnabled() + { + if (array_key_exists("disableAppEncryptionIfDeviceEncryptionIsEnabled", $this->_propDict)) { + return $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled + * + * @param bool $val The disableAppEncryptionIfDeviceEncryptionIsEnabled + * + * @return AndroidManagedAppProtection + */ + public function setDisableAppEncryptionIfDeviceEncryptionIsEnabled($val) + { + $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the encryptAppData + * Indicates whether application data for managed apps should be encrypted + * + * @return bool|null The encryptAppData + */ + public function getEncryptAppData() + { + if (array_key_exists("encryptAppData", $this->_propDict)) { + return $this->_propDict["encryptAppData"]; + } else { + return null; + } + } + + /** + * Sets the encryptAppData + * Indicates whether application data for managed apps should be encrypted + * + * @param bool $val The encryptAppData + * + * @return AndroidManagedAppProtection + */ + public function setEncryptAppData($val) + { + $this->_propDict["encryptAppData"] = boolval($val); + return $this; + } + + + /** + * Gets the exemptedAppPackages + * App packages in this list will be exempt from the policy and will be able to receive data from managed apps. + * + * @return array|null The exemptedAppPackages + */ + public function getExemptedAppPackages() + { + if (array_key_exists("exemptedAppPackages", $this->_propDict)) { + return $this->_propDict["exemptedAppPackages"]; + } else { + return null; + } + } + + /** + * Sets the exemptedAppPackages + * App packages in this list will be exempt from the policy and will be able to receive data from managed apps. + * + * @param KeyValuePair[] $val The exemptedAppPackages + * + * @return AndroidManagedAppProtection + */ + public function setExemptedAppPackages($val) + { + $this->_propDict["exemptedAppPackages"] = $val; + return $this; + } + + /** + * Gets the keyboardsRestricted + * Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well. + * + * @return bool|null The keyboardsRestricted + */ + public function getKeyboardsRestricted() + { + if (array_key_exists("keyboardsRestricted", $this->_propDict)) { + return $this->_propDict["keyboardsRestricted"]; + } else { + return null; + } + } + + /** + * Sets the keyboardsRestricted + * Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well. + * + * @param bool $val The keyboardsRestricted + * + * @return AndroidManagedAppProtection + */ + public function setKeyboardsRestricted($val) + { + $this->_propDict["keyboardsRestricted"] = boolval($val); + return $this; + } + + /** + * Gets the minimumRequiredCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or app access will be blocked + * + * @return string|null The minimumRequiredCompanyPortalVersion + */ + public function getMinimumRequiredCompanyPortalVersion() + { + if (array_key_exists("minimumRequiredCompanyPortalVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredCompanyPortalVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or app access will be blocked + * + * @param string $val The minimumRequiredCompanyPortalVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumRequiredCompanyPortalVersion($val) + { + $this->_propDict["minimumRequiredCompanyPortalVersion"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. + * + * @return string|null The minimumRequiredPatchVersion + */ + public function getMinimumRequiredPatchVersion() + { + if (array_key_exists("minimumRequiredPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. + * + * @param string $val The minimumRequiredPatchVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumRequiredPatchVersion($val) + { + $this->_propDict["minimumRequiredPatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the user will receive a warning + * + * @return string|null The minimumWarningCompanyPortalVersion + */ + public function getMinimumWarningCompanyPortalVersion() + { + if (array_key_exists("minimumWarningCompanyPortalVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningCompanyPortalVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the user will receive a warning + * + * @param string $val The minimumWarningCompanyPortalVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumWarningCompanyPortalVersion($val) + { + $this->_propDict["minimumWarningCompanyPortalVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. + * + * @return string|null The minimumWarningPatchVersion + */ + public function getMinimumWarningPatchVersion() + { + if (array_key_exists("minimumWarningPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. + * + * @param string $val The minimumWarningPatchVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumWarningPatchVersion($val) + { + $this->_propDict["minimumWarningPatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipeCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped + * + * @return string|null The minimumWipeCompanyPortalVersion + */ + public function getMinimumWipeCompanyPortalVersion() + { + if (array_key_exists("minimumWipeCompanyPortalVersion", $this->_propDict)) { + return $this->_propDict["minimumWipeCompanyPortalVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipeCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped + * + * @param string $val The minimumWipeCompanyPortalVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumWipeCompanyPortalVersion($val) + { + $this->_propDict["minimumWipeCompanyPortalVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipePatchVersion + * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. + * + * @return string|null The minimumWipePatchVersion + */ + public function getMinimumWipePatchVersion() + { + if (array_key_exists("minimumWipePatchVersion", $this->_propDict)) { + return $this->_propDict["minimumWipePatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipePatchVersion + * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. + * + * @param string $val The minimumWipePatchVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumWipePatchVersion($val) + { + $this->_propDict["minimumWipePatchVersion"] = $val; + return $this; + } + + /** + * Gets the requiredAndroidSafetyNetAppsVerificationType + * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. Possible values are: none, enabled. + * + * @return AndroidManagedAppSafetyNetAppsVerificationType|null The requiredAndroidSafetyNetAppsVerificationType + */ + public function getRequiredAndroidSafetyNetAppsVerificationType() + { + if (array_key_exists("requiredAndroidSafetyNetAppsVerificationType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetAppsVerificationType") || is_null($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"])) { + return $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"]; + } else { + $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"] = new AndroidManagedAppSafetyNetAppsVerificationType($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"]); + return $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"]; + } + } + return null; + } + + /** + * Sets the requiredAndroidSafetyNetAppsVerificationType + * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. Possible values are: none, enabled. + * + * @param AndroidManagedAppSafetyNetAppsVerificationType $val The requiredAndroidSafetyNetAppsVerificationType + * + * @return AndroidManagedAppProtection + */ + public function setRequiredAndroidSafetyNetAppsVerificationType($val) + { + $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"] = $val; + return $this; + } + + /** + * Gets the requiredAndroidSafetyNetDeviceAttestationType + * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. Possible values are: none, basicIntegrity, basicIntegrityAndDeviceCertification. + * + * @return AndroidManagedAppSafetyNetDeviceAttestationType|null The requiredAndroidSafetyNetDeviceAttestationType + */ + public function getRequiredAndroidSafetyNetDeviceAttestationType() + { + if (array_key_exists("requiredAndroidSafetyNetDeviceAttestationType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetDeviceAttestationType") || is_null($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"])) { + return $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"]; + } else { + $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"] = new AndroidManagedAppSafetyNetDeviceAttestationType($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"]); + return $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"]; + } + } + return null; + } + + /** + * Sets the requiredAndroidSafetyNetDeviceAttestationType + * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. Possible values are: none, basicIntegrity, basicIntegrityAndDeviceCertification. + * + * @param AndroidManagedAppSafetyNetDeviceAttestationType $val The requiredAndroidSafetyNetDeviceAttestationType + * + * @return AndroidManagedAppProtection + */ + public function setRequiredAndroidSafetyNetDeviceAttestationType($val) + { + $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"] = $val; + return $this; + } + + /** + * Gets the requiredAndroidSafetyNetEvaluationType + * Defines the Android SafetyNet evaluation type requirement for a managed app to work. + * + * @return AndroidManagedAppSafetyNetEvaluationType|null The requiredAndroidSafetyNetEvaluationType + */ + public function getRequiredAndroidSafetyNetEvaluationType() + { + if (array_key_exists("requiredAndroidSafetyNetEvaluationType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAndroidSafetyNetEvaluationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetEvaluationType") || is_null($this->_propDict["requiredAndroidSafetyNetEvaluationType"])) { + return $this->_propDict["requiredAndroidSafetyNetEvaluationType"]; + } else { + $this->_propDict["requiredAndroidSafetyNetEvaluationType"] = new AndroidManagedAppSafetyNetEvaluationType($this->_propDict["requiredAndroidSafetyNetEvaluationType"]); + return $this->_propDict["requiredAndroidSafetyNetEvaluationType"]; + } + } + return null; + } + + /** + * Sets the requiredAndroidSafetyNetEvaluationType + * Defines the Android SafetyNet evaluation type requirement for a managed app to work. + * + * @param AndroidManagedAppSafetyNetEvaluationType $val The requiredAndroidSafetyNetEvaluationType + * + * @return AndroidManagedAppProtection + */ + public function setRequiredAndroidSafetyNetEvaluationType($val) + { + $this->_propDict["requiredAndroidSafetyNetEvaluationType"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether a managed user can take screen captures of managed apps + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether a managed user can take screen captures of managed apps + * + * @param bool $val The screenCaptureBlocked + * + * @return AndroidManagedAppProtection + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the warnAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning + * + * @return int|null The warnAfterCompanyPortalUpdateDeferralInDays + */ + public function getWarnAfterCompanyPortalUpdateDeferralInDays() + { + if (array_key_exists("warnAfterCompanyPortalUpdateDeferralInDays", $this->_propDict)) { + return $this->_propDict["warnAfterCompanyPortalUpdateDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the warnAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning + * + * @param int $val The warnAfterCompanyPortalUpdateDeferralInDays + * + * @return AndroidManagedAppProtection + */ + public function setWarnAfterCompanyPortalUpdateDeferralInDays($val) + { + $this->_propDict["warnAfterCompanyPortalUpdateDeferralInDays"] = intval($val); + return $this; + } + + /** + * Gets the wipeAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped + * + * @return int|null The wipeAfterCompanyPortalUpdateDeferralInDays + */ + public function getWipeAfterCompanyPortalUpdateDeferralInDays() + { + if (array_key_exists("wipeAfterCompanyPortalUpdateDeferralInDays", $this->_propDict)) { + return $this->_propDict["wipeAfterCompanyPortalUpdateDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the wipeAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped + * + * @param int $val The wipeAfterCompanyPortalUpdateDeferralInDays + * + * @return AndroidManagedAppProtection + */ + public function setWipeAfterCompanyPortalUpdateDeferralInDays($val) + { + $this->_propDict["wipeAfterCompanyPortalUpdateDeferralInDays"] = intval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return AndroidManagedAppProtection + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return AndroidManagedAppProtection + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppRegistration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppRegistration.php new file mode 100644 index 0000000..491cc35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppRegistration.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["patchVersion"]; + } else { + return null; + } + } + + /** + * Sets the patchVersion + * The patch version for the current android app registration + * + * @param string $val The patchVersion + * + * @return AndroidManagedAppRegistration + */ + public function setPatchVersion($val) + { + $this->_propDict["patchVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppSafetyNetAppsVerificationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppSafetyNetAppsVerificationType.php new file mode 100644 index 0000000..1fbe0a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppSafetyNetAppsVerificationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["androidDeviceOwnerFullyManagedEnrollmentEnabled"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceOwnerFullyManagedEnrollmentEnabled + * Company codes for AndroidManagedStoreAccountEnterpriseSettings + * + * @param bool $val The androidDeviceOwnerFullyManagedEnrollmentEnabled + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setAndroidDeviceOwnerFullyManagedEnrollmentEnabled($val) + { + $this->_propDict["androidDeviceOwnerFullyManagedEnrollmentEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the bindStatus + * Bind status of the tenant with the Google EMM API. Possible values are: notBound, bound, boundAndValidated, unbinding. + * + * @return AndroidManagedStoreAccountBindStatus|null The bindStatus + */ + public function getBindStatus() + { + if (array_key_exists("bindStatus", $this->_propDict)) { + if (is_a($this->_propDict["bindStatus"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountBindStatus") || is_null($this->_propDict["bindStatus"])) { + return $this->_propDict["bindStatus"]; + } else { + $this->_propDict["bindStatus"] = new AndroidManagedStoreAccountBindStatus($this->_propDict["bindStatus"]); + return $this->_propDict["bindStatus"]; + } + } + return null; + } + + /** + * Sets the bindStatus + * Bind status of the tenant with the Google EMM API. Possible values are: notBound, bound, boundAndValidated, unbinding. + * + * @param AndroidManagedStoreAccountBindStatus $val The bindStatus + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setBindStatus($val) + { + $this->_propDict["bindStatus"] = $val; + return $this; + } + + + /** + * Gets the companyCodes + * Company codes for AndroidManagedStoreAccountEnterpriseSettings + * + * @return array|null The companyCodes + */ + public function getCompanyCodes() + { + if (array_key_exists("companyCodes", $this->_propDict)) { + return $this->_propDict["companyCodes"]; + } else { + return null; + } + } + + /** + * Sets the companyCodes + * Company codes for AndroidManagedStoreAccountEnterpriseSettings + * + * @param AndroidEnrollmentCompanyCode[] $val The companyCodes + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setCompanyCodes($val) + { + $this->_propDict["companyCodes"] = $val; + return $this; + } + + /** + * Gets the deviceOwnerManagementEnabled + * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. + * + * @return bool|null The deviceOwnerManagementEnabled + */ + public function getDeviceOwnerManagementEnabled() + { + if (array_key_exists("deviceOwnerManagementEnabled", $this->_propDict)) { + return $this->_propDict["deviceOwnerManagementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceOwnerManagementEnabled + * Indicates if this account is flighting for Android Device Owner Management with CloudDPC. + * + * @param bool $val The deviceOwnerManagementEnabled + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setDeviceOwnerManagementEnabled($val) + { + $this->_propDict["deviceOwnerManagementEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the enrollmentTarget + * Indicates which users can enroll devices in Android Enterprise device management. Possible values are: none, all, targeted, targetedAsEnrollmentRestrictions. + * + * @return AndroidManagedStoreAccountEnrollmentTarget|null The enrollmentTarget + */ + public function getEnrollmentTarget() + { + if (array_key_exists("enrollmentTarget", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentTarget"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountEnrollmentTarget") || is_null($this->_propDict["enrollmentTarget"])) { + return $this->_propDict["enrollmentTarget"]; + } else { + $this->_propDict["enrollmentTarget"] = new AndroidManagedStoreAccountEnrollmentTarget($this->_propDict["enrollmentTarget"]); + return $this->_propDict["enrollmentTarget"]; + } + } + return null; + } + + /** + * Sets the enrollmentTarget + * Indicates which users can enroll devices in Android Enterprise device management. Possible values are: none, all, targeted, targetedAsEnrollmentRestrictions. + * + * @param AndroidManagedStoreAccountEnrollmentTarget $val The enrollmentTarget + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setEnrollmentTarget($val) + { + $this->_propDict["enrollmentTarget"] = $val; + return $this; + } + + /** + * Gets the lastAppSyncDateTime + * Last completion time for app sync + * + * @return \DateTime|null The lastAppSyncDateTime + */ + public function getLastAppSyncDateTime() + { + if (array_key_exists("lastAppSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAppSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastAppSyncDateTime"])) { + return $this->_propDict["lastAppSyncDateTime"]; + } else { + $this->_propDict["lastAppSyncDateTime"] = new \DateTime($this->_propDict["lastAppSyncDateTime"]); + return $this->_propDict["lastAppSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAppSyncDateTime + * Last completion time for app sync + * + * @param \DateTime $val The lastAppSyncDateTime + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setLastAppSyncDateTime($val) + { + $this->_propDict["lastAppSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lastAppSyncStatus + * Last application sync result. Possible values are: success, credentialsNotValid, androidForWorkApiError, managementServiceError, unknownError, none. + * + * @return AndroidManagedStoreAccountAppSyncStatus|null The lastAppSyncStatus + */ + public function getLastAppSyncStatus() + { + if (array_key_exists("lastAppSyncStatus", $this->_propDict)) { + if (is_a($this->_propDict["lastAppSyncStatus"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountAppSyncStatus") || is_null($this->_propDict["lastAppSyncStatus"])) { + return $this->_propDict["lastAppSyncStatus"]; + } else { + $this->_propDict["lastAppSyncStatus"] = new AndroidManagedStoreAccountAppSyncStatus($this->_propDict["lastAppSyncStatus"]); + return $this->_propDict["lastAppSyncStatus"]; + } + } + return null; + } + + /** + * Sets the lastAppSyncStatus + * Last application sync result. Possible values are: success, credentialsNotValid, androidForWorkApiError, managementServiceError, unknownError, none. + * + * @param AndroidManagedStoreAccountAppSyncStatus $val The lastAppSyncStatus + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setLastAppSyncStatus($val) + { + $this->_propDict["lastAppSyncStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modification time for Android enterprise settings + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modification time for Android enterprise settings + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the managedGooglePlayInitialScopeTagIds + * Initial scope tags for MGP apps + * + * @return string|null The managedGooglePlayInitialScopeTagIds + */ + public function getManagedGooglePlayInitialScopeTagIds() + { + if (array_key_exists("managedGooglePlayInitialScopeTagIds", $this->_propDict)) { + return $this->_propDict["managedGooglePlayInitialScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the managedGooglePlayInitialScopeTagIds + * Initial scope tags for MGP apps + * + * @param string $val The managedGooglePlayInitialScopeTagIds + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setManagedGooglePlayInitialScopeTagIds($val) + { + $this->_propDict["managedGooglePlayInitialScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the ownerOrganizationName + * Organization name used when onboarding Android Enterprise + * + * @return string|null The ownerOrganizationName + */ + public function getOwnerOrganizationName() + { + if (array_key_exists("ownerOrganizationName", $this->_propDict)) { + return $this->_propDict["ownerOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the ownerOrganizationName + * Organization name used when onboarding Android Enterprise + * + * @param string $val The ownerOrganizationName + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setOwnerOrganizationName($val) + { + $this->_propDict["ownerOrganizationName"] = $val; + return $this; + } + + /** + * Gets the ownerUserPrincipalName + * Owner UPN that created the enterprise + * + * @return string|null The ownerUserPrincipalName + */ + public function getOwnerUserPrincipalName() + { + if (array_key_exists("ownerUserPrincipalName", $this->_propDict)) { + return $this->_propDict["ownerUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the ownerUserPrincipalName + * Owner UPN that created the enterprise + * + * @param string $val The ownerUserPrincipalName + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setOwnerUserPrincipalName($val) + { + $this->_propDict["ownerUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the targetGroupIds + * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' + * + * @return string|null The targetGroupIds + */ + public function getTargetGroupIds() + { + if (array_key_exists("targetGroupIds", $this->_propDict)) { + return $this->_propDict["targetGroupIds"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupIds + * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' + * + * @param string $val The targetGroupIds + * + * @return AndroidManagedStoreAccountEnterpriseSettings + */ + public function setTargetGroupIds($val) + { + $this->_propDict["targetGroupIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreApp.php new file mode 100644 index 0000000..9c482bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreApp.php @@ -0,0 +1,289 @@ +_propDict)) { + return $this->_propDict["appIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the appIdentifier + * The Identity Name. + * + * @param string $val The appIdentifier + * + * @return AndroidManagedStoreApp + */ + public function setAppIdentifier($val) + { + $this->_propDict["appIdentifier"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Play for Work Store app URL. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Play for Work Store app URL. + * + * @param string $val The appStoreUrl + * + * @return AndroidManagedStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + + /** + * Gets the appTracks + * The tracks that are visible to this enterprise. + * + * @return array|null The appTracks + */ + public function getAppTracks() + { + if (array_key_exists("appTracks", $this->_propDict)) { + return $this->_propDict["appTracks"]; + } else { + return null; + } + } + + /** + * Sets the appTracks + * The tracks that are visible to this enterprise. + * + * @param AndroidManagedStoreAppTrack[] $val The appTracks + * + * @return AndroidManagedStoreApp + */ + public function setAppTracks($val) + { + $this->_propDict["appTracks"] = $val; + return $this; + } + + /** + * Gets the isPrivate + * Indicates whether the app is only available to a given enterprise's users. + * + * @return bool|null The isPrivate + */ + public function getIsPrivate() + { + if (array_key_exists("isPrivate", $this->_propDict)) { + return $this->_propDict["isPrivate"]; + } else { + return null; + } + } + + /** + * Sets the isPrivate + * Indicates whether the app is only available to a given enterprise's users. + * + * @param bool $val The isPrivate + * + * @return AndroidManagedStoreApp + */ + public function setIsPrivate($val) + { + $this->_propDict["isPrivate"] = boolval($val); + return $this; + } + + /** + * Gets the isSystemApp + * Indicates whether the app is a preinstalled system app. + * + * @return bool|null The isSystemApp + */ + public function getIsSystemApp() + { + if (array_key_exists("isSystemApp", $this->_propDict)) { + return $this->_propDict["isSystemApp"]; + } else { + return null; + } + } + + /** + * Sets the isSystemApp + * Indicates whether the app is a preinstalled system app. + * + * @param bool $val The isSystemApp + * + * @return AndroidManagedStoreApp + */ + public function setIsSystemApp($val) + { + $this->_propDict["isSystemApp"] = boolval($val); + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return AndroidManagedStoreApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the supportsOemConfig + * Whether this app supports OEMConfig policy. + * + * @return bool|null The supportsOemConfig + */ + public function getSupportsOemConfig() + { + if (array_key_exists("supportsOemConfig", $this->_propDict)) { + return $this->_propDict["supportsOemConfig"]; + } else { + return null; + } + } + + /** + * Sets the supportsOemConfig + * Whether this app supports OEMConfig policy. + * + * @param bool $val The supportsOemConfig + * + * @return AndroidManagedStoreApp + */ + public function setSupportsOemConfig($val) + { + $this->_propDict["supportsOemConfig"] = boolval($val); + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of VPP licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of VPP licenses. + * + * @param int $val The totalLicenseCount + * + * @return AndroidManagedStoreApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of VPP licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of VPP licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return AndroidManagedStoreApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppAssignmentSettings.php new file mode 100644 index 0000000..829d986 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppAssignmentSettings.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.androidManagedStoreAppAssignmentSettings"); + } + + /** + * Gets the androidManagedStoreAppTrackIds + * The track IDs to enable for this app assignment. + * + * @return string|null The androidManagedStoreAppTrackIds + */ + public function getAndroidManagedStoreAppTrackIds() + { + if (array_key_exists("androidManagedStoreAppTrackIds", $this->_propDict)) { + return $this->_propDict["androidManagedStoreAppTrackIds"]; + } else { + return null; + } + } + + /** + * Sets the androidManagedStoreAppTrackIds + * The track IDs to enable for this app assignment. + * + * @param string $val The value of the androidManagedStoreAppTrackIds + * + * @return AndroidManagedStoreAppAssignmentSettings + */ + public function setAndroidManagedStoreAppTrackIds($val) + { + $this->_propDict["androidManagedStoreAppTrackIds"] = $val; + return $this; + } + + /** + * Gets the autoUpdateMode + * The prioritization of automatic updates for this app assignment. Possible values are: default, postponed, priority, unknownFutureValue. + * + * @return AndroidManagedStoreAutoUpdateMode|null The autoUpdateMode + */ + public function getAutoUpdateMode() + { + if (array_key_exists("autoUpdateMode", $this->_propDict)) { + if (is_a($this->_propDict["autoUpdateMode"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAutoUpdateMode") || is_null($this->_propDict["autoUpdateMode"])) { + return $this->_propDict["autoUpdateMode"]; + } else { + $this->_propDict["autoUpdateMode"] = new AndroidManagedStoreAutoUpdateMode($this->_propDict["autoUpdateMode"]); + return $this->_propDict["autoUpdateMode"]; + } + } + return null; + } + + /** + * Sets the autoUpdateMode + * The prioritization of automatic updates for this app assignment. Possible values are: default, postponed, priority, unknownFutureValue. + * + * @param AndroidManagedStoreAutoUpdateMode $val The value to assign to the autoUpdateMode + * + * @return AndroidManagedStoreAppAssignmentSettings The AndroidManagedStoreAppAssignmentSettings + */ + public function setAutoUpdateMode($val) + { + $this->_propDict["autoUpdateMode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfiguration.php new file mode 100644 index 0000000..00b7f68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfiguration.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["appSupportsOemConfig"]; + } else { + return null; + } + } + + /** + * Sets the appSupportsOemConfig + * Whether or not this AppConfig is an OEMConfig policy. + * + * @param bool $val The appSupportsOemConfig + * + * @return AndroidManagedStoreAppConfiguration + */ + public function setAppSupportsOemConfig($val) + { + $this->_propDict["appSupportsOemConfig"] = boolval($val); + return $this; + } + + /** + * Gets the connectedAppsEnabled + * Setting to specify whether to allow ConnectedApps experience for this app. + * + * @return bool|null The connectedAppsEnabled + */ + public function getConnectedAppsEnabled() + { + if (array_key_exists("connectedAppsEnabled", $this->_propDict)) { + return $this->_propDict["connectedAppsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the connectedAppsEnabled + * Setting to specify whether to allow ConnectedApps experience for this app. + * + * @param bool $val The connectedAppsEnabled + * + * @return AndroidManagedStoreAppConfiguration + */ + public function setConnectedAppsEnabled($val) + { + $this->_propDict["connectedAppsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the packageId + * Android Enterprise app configuration package id. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * Android Enterprise app configuration package id. + * + * @param string $val The packageId + * + * @return AndroidManagedStoreAppConfiguration + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the payloadJson + * Android Enterprise app configuration JSON payload. + * + * @return string|null The payloadJson + */ + public function getPayloadJson() + { + if (array_key_exists("payloadJson", $this->_propDict)) { + return $this->_propDict["payloadJson"]; + } else { + return null; + } + } + + /** + * Sets the payloadJson + * Android Enterprise app configuration JSON payload. + * + * @param string $val The payloadJson + * + * @return AndroidManagedStoreAppConfiguration + */ + public function setPayloadJson($val) + { + $this->_propDict["payloadJson"] = $val; + return $this; + } + + + /** + * Gets the permissionActions + * List of Android app permissions and corresponding permission actions. + * + * @return array|null The permissionActions + */ + public function getPermissionActions() + { + if (array_key_exists("permissionActions", $this->_propDict)) { + return $this->_propDict["permissionActions"]; + } else { + return null; + } + } + + /** + * Sets the permissionActions + * List of Android app permissions and corresponding permission actions. + * + * @param AndroidPermissionAction[] $val The permissionActions + * + * @return AndroidManagedStoreAppConfiguration + */ + public function setPermissionActions($val) + { + $this->_propDict["permissionActions"] = $val; + return $this; + } + + /** + * Gets the profileApplicability + * Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). Possible values are: default, androidWorkProfile, androidDeviceOwner. + * + * @return AndroidProfileApplicability|null The profileApplicability + */ + public function getProfileApplicability() + { + if (array_key_exists("profileApplicability", $this->_propDict)) { + if (is_a($this->_propDict["profileApplicability"], "\Beta\Microsoft\Graph\Model\AndroidProfileApplicability") || is_null($this->_propDict["profileApplicability"])) { + return $this->_propDict["profileApplicability"]; + } else { + $this->_propDict["profileApplicability"] = new AndroidProfileApplicability($this->_propDict["profileApplicability"]); + return $this->_propDict["profileApplicability"]; + } + } + return null; + } + + /** + * Sets the profileApplicability + * Android Enterprise profile applicability (AndroidWorkProfile, DeviceOwner, or default (applies to both)). Possible values are: default, androidWorkProfile, androidDeviceOwner. + * + * @param AndroidProfileApplicability $val The profileApplicability + * + * @return AndroidManagedStoreAppConfiguration + */ + public function setProfileApplicability($val) + { + $this->_propDict["profileApplicability"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchema.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchema.php new file mode 100644 index 0000000..b10416f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchema.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["exampleJson"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["exampleJson"])) { + return $this->_propDict["exampleJson"]; + } else { + $this->_propDict["exampleJson"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["exampleJson"]); + return $this->_propDict["exampleJson"]; + } + } + return null; + } + + /** + * Sets the exampleJson + * UTF8 encoded byte array containing example JSON string conforming to this schema that demonstrates how to set the configuration for this app + * + * @param \GuzzleHttp\Psr7\Stream $val The exampleJson + * + * @return AndroidManagedStoreAppConfigurationSchema + */ + public function setExampleJson($val) + { + $this->_propDict["exampleJson"] = $val; + return $this; + } + + + /** + * Gets the nestedSchemaItems + * Collection of items each representing a named configuration option in the schema. It contains a flat list of all configuration. + * + * @return array|null The nestedSchemaItems + */ + public function getNestedSchemaItems() + { + if (array_key_exists("nestedSchemaItems", $this->_propDict)) { + return $this->_propDict["nestedSchemaItems"]; + } else { + return null; + } + } + + /** + * Sets the nestedSchemaItems + * Collection of items each representing a named configuration option in the schema. It contains a flat list of all configuration. + * + * @param AndroidManagedStoreAppConfigurationSchemaItem[] $val The nestedSchemaItems + * + * @return AndroidManagedStoreAppConfigurationSchema + */ + public function setNestedSchemaItems($val) + { + $this->_propDict["nestedSchemaItems"] = $val; + return $this; + } + + + /** + * Gets the schemaItems + * Collection of items each representing a named configuration option in the schema. It only contains the root-level configuration. + * + * @return array|null The schemaItems + */ + public function getSchemaItems() + { + if (array_key_exists("schemaItems", $this->_propDict)) { + return $this->_propDict["schemaItems"]; + } else { + return null; + } + } + + /** + * Sets the schemaItems + * Collection of items each representing a named configuration option in the schema. It only contains the root-level configuration. + * + * @param AndroidManagedStoreAppConfigurationSchemaItem[] $val The schemaItems + * + * @return AndroidManagedStoreAppConfigurationSchema + */ + public function setSchemaItems($val) + { + $this->_propDict["schemaItems"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItem.php new file mode 100644 index 0000000..514ab10 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItem.php @@ -0,0 +1,344 @@ +_propDict)) { + if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAppConfigurationSchemaItemDataType") || is_null($this->_propDict["dataType"])) { + return $this->_propDict["dataType"]; + } else { + $this->_propDict["dataType"] = new AndroidManagedStoreAppConfigurationSchemaItemDataType($this->_propDict["dataType"]); + return $this->_propDict["dataType"]; + } + } + return null; + } + + /** + * Sets the dataType + * The type of value this item describes. Possible values are: bool, integer, string, choice, multiselect, bundle, bundleArray, hidden. + * + * @param AndroidManagedStoreAppConfigurationSchemaItemDataType $val The value to assign to the dataType + * + * @return AndroidManagedStoreAppConfigurationSchemaItem The AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + /** + * Gets the defaultBoolValue + * Default value for boolean type items, if specified by the app developer + * + * @return bool|null The defaultBoolValue + */ + public function getDefaultBoolValue() + { + if (array_key_exists("defaultBoolValue", $this->_propDict)) { + return $this->_propDict["defaultBoolValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultBoolValue + * Default value for boolean type items, if specified by the app developer + * + * @param bool $val The value of the defaultBoolValue + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDefaultBoolValue($val) + { + $this->_propDict["defaultBoolValue"] = $val; + return $this; + } + /** + * Gets the defaultIntValue + * Default value for integer type items, if specified by the app developer + * + * @return int|null The defaultIntValue + */ + public function getDefaultIntValue() + { + if (array_key_exists("defaultIntValue", $this->_propDict)) { + return $this->_propDict["defaultIntValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultIntValue + * Default value for integer type items, if specified by the app developer + * + * @param int $val The value of the defaultIntValue + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDefaultIntValue($val) + { + $this->_propDict["defaultIntValue"] = $val; + return $this; + } + /** + * Gets the defaultStringArrayValue + * Default value for string array type items, if specified by the app developer + * + * @return string|null The defaultStringArrayValue + */ + public function getDefaultStringArrayValue() + { + if (array_key_exists("defaultStringArrayValue", $this->_propDict)) { + return $this->_propDict["defaultStringArrayValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultStringArrayValue + * Default value for string array type items, if specified by the app developer + * + * @param string $val The value of the defaultStringArrayValue + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDefaultStringArrayValue($val) + { + $this->_propDict["defaultStringArrayValue"] = $val; + return $this; + } + /** + * Gets the defaultStringValue + * Default value for string type items, if specified by the app developer + * + * @return string|null The defaultStringValue + */ + public function getDefaultStringValue() + { + if (array_key_exists("defaultStringValue", $this->_propDict)) { + return $this->_propDict["defaultStringValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultStringValue + * Default value for string type items, if specified by the app developer + * + * @param string $val The value of the defaultStringValue + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDefaultStringValue($val) + { + $this->_propDict["defaultStringValue"] = $val; + return $this; + } + /** + * Gets the description + * Description of what the item controls within the application + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of what the item controls within the application + * + * @param string $val The value of the description + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Human readable name + * + * @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 + * Human readable name + * + * @param string $val The value of the displayName + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the index + * Unique index the application uses to maintain nested schema items + * + * @return int|null The index + */ + public function getIndex() + { + if (array_key_exists("index", $this->_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Unique index the application uses to maintain nested schema items + * + * @param int $val The value of the index + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setIndex($val) + { + $this->_propDict["index"] = $val; + return $this; + } + /** + * Gets the parentIndex + * Index of parent schema item to track nested schema items + * + * @return int|null The parentIndex + */ + public function getParentIndex() + { + if (array_key_exists("parentIndex", $this->_propDict)) { + return $this->_propDict["parentIndex"]; + } else { + return null; + } + } + + /** + * Sets the parentIndex + * Index of parent schema item to track nested schema items + * + * @param int $val The value of the parentIndex + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setParentIndex($val) + { + $this->_propDict["parentIndex"] = $val; + return $this; + } + /** + * Gets the schemaItemKey + * Unique key the application uses to identify the item + * + * @return string|null The schemaItemKey + */ + public function getSchemaItemKey() + { + if (array_key_exists("schemaItemKey", $this->_propDict)) { + return $this->_propDict["schemaItemKey"]; + } else { + return null; + } + } + + /** + * Sets the schemaItemKey + * Unique key the application uses to identify the item + * + * @param string $val The value of the schemaItemKey + * + * @return AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setSchemaItemKey($val) + { + $this->_propDict["schemaItemKey"] = $val; + return $this; + } + + /** + * Gets the selections + * List of human readable name/value pairs for the valid values that can be set for this item (Choice and Multiselect items only) + * + * @return KeyValuePair|null The selections + */ + public function getSelections() + { + if (array_key_exists("selections", $this->_propDict)) { + if (is_a($this->_propDict["selections"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["selections"])) { + return $this->_propDict["selections"]; + } else { + $this->_propDict["selections"] = new KeyValuePair($this->_propDict["selections"]); + return $this->_propDict["selections"]; + } + } + return null; + } + + /** + * Sets the selections + * List of human readable name/value pairs for the valid values that can be set for this item (Choice and Multiselect items only) + * + * @param KeyValuePair $val The value to assign to the selections + * + * @return AndroidManagedStoreAppConfigurationSchemaItem The AndroidManagedStoreAppConfigurationSchemaItem + */ + public function setSelections($val) + { + $this->_propDict["selections"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItemDataType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItemDataType.php new file mode 100644 index 0000000..335cf2f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItemDataType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["trackAlias"]; + } else { + return null; + } + } + + /** + * Sets the trackAlias + * Friendly name for track. + * + * @param string $val The value of the trackAlias + * + * @return AndroidManagedStoreAppTrack + */ + public function setTrackAlias($val) + { + $this->_propDict["trackAlias"] = $val; + return $this; + } + /** + * Gets the trackId + * Unique track identifier. + * + * @return string|null The trackId + */ + public function getTrackId() + { + if (array_key_exists("trackId", $this->_propDict)) { + return $this->_propDict["trackId"]; + } else { + return null; + } + } + + /** + * Sets the trackId + * Unique track identifier. + * + * @param string $val The value of the trackId + * + * @return AndroidManagedStoreAppTrack + */ + public function setTrackId($val) + { + $this->_propDict["trackId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAutoUpdateMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAutoUpdateMode.php new file mode 100644 index 0000000..4efd15c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAutoUpdateMode.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["v100"]; + } else { + return null; + } + } + + /** + * Sets the v10_0 + * Version 10.0 or later. + * + * @param bool $val The value of the v10_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV10_0($val) + { + $this->_propDict["v100"] = $val; + return $this; + } + /** + * Gets the v11_0 + * Version 11.0 or later. + * + * @return bool|null The v11_0 + */ + public function getV11_0() + { + if (array_key_exists("v110", $this->_propDict)) { + return $this->_propDict["v110"]; + } else { + return null; + } + } + + /** + * Sets the v11_0 + * Version 11.0 or later. + * + * @param bool $val The value of the v11_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV11_0($val) + { + $this->_propDict["v110"] = $val; + return $this; + } + /** + * Gets the v4_0 + * Version 4.0 or later. + * + * @return bool|null The v4_0 + */ + public function getV4_0() + { + if (array_key_exists("v40", $this->_propDict)) { + return $this->_propDict["v40"]; + } else { + return null; + } + } + + /** + * Sets the v4_0 + * Version 4.0 or later. + * + * @param bool $val The value of the v4_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_0($val) + { + $this->_propDict["v40"] = $val; + return $this; + } + /** + * Gets the v4_0_3 + * Version 4.0.3 or later. + * + * @return bool|null The v4_0_3 + */ + public function getV4_0_3() + { + if (array_key_exists("v403", $this->_propDict)) { + return $this->_propDict["v403"]; + } else { + return null; + } + } + + /** + * Sets the v4_0_3 + * Version 4.0.3 or later. + * + * @param bool $val The value of the v4_0_3 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_0_3($val) + { + $this->_propDict["v403"] = $val; + return $this; + } + /** + * Gets the v4_1 + * Version 4.1 or later. + * + * @return bool|null The v4_1 + */ + public function getV4_1() + { + if (array_key_exists("v41", $this->_propDict)) { + return $this->_propDict["v41"]; + } else { + return null; + } + } + + /** + * Sets the v4_1 + * Version 4.1 or later. + * + * @param bool $val The value of the v4_1 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_1($val) + { + $this->_propDict["v41"] = $val; + return $this; + } + /** + * Gets the v4_2 + * Version 4.2 or later. + * + * @return bool|null The v4_2 + */ + public function getV4_2() + { + if (array_key_exists("v42", $this->_propDict)) { + return $this->_propDict["v42"]; + } else { + return null; + } + } + + /** + * Sets the v4_2 + * Version 4.2 or later. + * + * @param bool $val The value of the v4_2 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_2($val) + { + $this->_propDict["v42"] = $val; + return $this; + } + /** + * Gets the v4_3 + * Version 4.3 or later. + * + * @return bool|null The v4_3 + */ + public function getV4_3() + { + if (array_key_exists("v43", $this->_propDict)) { + return $this->_propDict["v43"]; + } else { + return null; + } + } + + /** + * Sets the v4_3 + * Version 4.3 or later. + * + * @param bool $val The value of the v4_3 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_3($val) + { + $this->_propDict["v43"] = $val; + return $this; + } + /** + * Gets the v4_4 + * Version 4.4 or later. + * + * @return bool|null The v4_4 + */ + public function getV4_4() + { + if (array_key_exists("v44", $this->_propDict)) { + return $this->_propDict["v44"]; + } else { + return null; + } + } + + /** + * Sets the v4_4 + * Version 4.4 or later. + * + * @param bool $val The value of the v4_4 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_4($val) + { + $this->_propDict["v44"] = $val; + return $this; + } + /** + * Gets the v5_0 + * Version 5.0 or later. + * + * @return bool|null The v5_0 + */ + public function getV5_0() + { + if (array_key_exists("v50", $this->_propDict)) { + return $this->_propDict["v50"]; + } else { + return null; + } + } + + /** + * Sets the v5_0 + * Version 5.0 or later. + * + * @param bool $val The value of the v5_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV5_0($val) + { + $this->_propDict["v50"] = $val; + return $this; + } + /** + * Gets the v5_1 + * Version 5.1 or later. + * + * @return bool|null The v5_1 + */ + public function getV5_1() + { + if (array_key_exists("v51", $this->_propDict)) { + return $this->_propDict["v51"]; + } else { + return null; + } + } + + /** + * Sets the v5_1 + * Version 5.1 or later. + * + * @param bool $val The value of the v5_1 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV5_1($val) + { + $this->_propDict["v51"] = $val; + return $this; + } + /** + * Gets the v6_0 + * Version 6.0 or later. + * + * @return bool|null The v6_0 + */ + public function getV6_0() + { + if (array_key_exists("v60", $this->_propDict)) { + return $this->_propDict["v60"]; + } else { + return null; + } + } + + /** + * Sets the v6_0 + * Version 6.0 or later. + * + * @param bool $val The value of the v6_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV6_0($val) + { + $this->_propDict["v60"] = $val; + return $this; + } + /** + * Gets the v7_0 + * Version 7.0 or later. + * + * @return bool|null The v7_0 + */ + public function getV7_0() + { + if (array_key_exists("v70", $this->_propDict)) { + return $this->_propDict["v70"]; + } else { + return null; + } + } + + /** + * Sets the v7_0 + * Version 7.0 or later. + * + * @param bool $val The value of the v7_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV7_0($val) + { + $this->_propDict["v70"] = $val; + return $this; + } + /** + * Gets the v7_1 + * Version 7.1 or later. + * + * @return bool|null The v7_1 + */ + public function getV7_1() + { + if (array_key_exists("v71", $this->_propDict)) { + return $this->_propDict["v71"]; + } else { + return null; + } + } + + /** + * Sets the v7_1 + * Version 7.1 or later. + * + * @param bool $val The value of the v7_1 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV7_1($val) + { + $this->_propDict["v71"] = $val; + return $this; + } + /** + * Gets the v8_0 + * Version 8.0 or later. + * + * @return bool|null The v8_0 + */ + public function getV8_0() + { + if (array_key_exists("v80", $this->_propDict)) { + return $this->_propDict["v80"]; + } else { + return null; + } + } + + /** + * Sets the v8_0 + * Version 8.0 or later. + * + * @param bool $val The value of the v8_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV8_0($val) + { + $this->_propDict["v80"] = $val; + return $this; + } + /** + * Gets the v8_1 + * Version 8.1 or later. + * + * @return bool|null The v8_1 + */ + public function getV8_1() + { + if (array_key_exists("v81", $this->_propDict)) { + return $this->_propDict["v81"]; + } else { + return null; + } + } + + /** + * Sets the v8_1 + * Version 8.1 or later. + * + * @param bool $val The value of the v8_1 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV8_1($val) + { + $this->_propDict["v81"] = $val; + return $this; + } + /** + * Gets the v9_0 + * Version 9.0 or later. + * + * @return bool|null The v9_0 + */ + public function getV9_0() + { + if (array_key_exists("v90", $this->_propDict)) { + return $this->_propDict["v90"]; + } else { + return null; + } + } + + /** + * Sets the v9_0 + * Version 9.0 or later. + * + * @param bool $val The value of the v9_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV9_0($val) + { + $this->_propDict["v90"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidMobileAppIdentifier.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidMobileAppIdentifier.php new file mode 100644 index 0000000..2e7e380 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidMobileAppIdentifier.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.androidMobileAppIdentifier"); + } + + /** + * Gets the packageId + * The identifier for an app, as specified in the play store. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The identifier for an app, as specified in the play store. + * + * @param string $val The value of the packageId + * + * @return AndroidMobileAppIdentifier + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidOmaCpConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidOmaCpConfiguration.php new file mode 100644 index 0000000..a6ad5d6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidOmaCpConfiguration.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["configurationXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["configurationXml"])) { + return $this->_propDict["configurationXml"]; + } else { + $this->_propDict["configurationXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["configurationXml"]); + return $this->_propDict["configurationXml"]; + } + } + return null; + } + + /** + * Sets the configurationXml + * Configuration XML that will be applied to the device. When it is read, it only provides a placeholder string since the original data is encrypted and stored. + * + * @param \GuzzleHttp\Psr7\Stream $val The configurationXml + * + * @return AndroidOmaCpConfiguration + */ + public function setConfigurationXml($val) + { + $this->_propDict["configurationXml"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionAction.php new file mode 100644 index 0000000..9defe50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionAction.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\AndroidPermissionActionType") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new AndroidPermissionActionType($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * Type of Android permission action. Possible values are: prompt, autoGrant, autoDeny. + * + * @param AndroidPermissionActionType $val The value to assign to the action + * + * @return AndroidPermissionAction The AndroidPermissionAction + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + /** + * Gets the permission + * Android permission string, defined in the official Android documentation. Example 'android.permission.READ_CONTACTS'. + * + * @return string|null The permission + */ + public function getPermission() + { + if (array_key_exists("permission", $this->_propDict)) { + return $this->_propDict["permission"]; + } else { + return null; + } + } + + /** + * Sets the permission + * Android permission string, defined in the official Android documentation. Example 'android.permission.READ_CONTACTS'. + * + * @param string $val The value of the permission + * + * @return AndroidPermissionAction + */ + public function setPermission($val) + { + $this->_propDict["permission"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionActionType.php new file mode 100644 index 0000000..86cb9d2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionActionType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name + * + * @param string $val The certificateTemplateName + * + * @return AndroidPkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority + * + * @param string $val The certificationAuthority + * + * @return AndroidPkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @param string $val The certificationAuthorityName + * + * @return AndroidPkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidPkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidPkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidProfileApplicability.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidProfileApplicability.php new file mode 100644 index 0000000..2fb0b16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidProfileApplicability.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return AndroidScepCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return AndroidScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return AndroidScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s) + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s) + * + * @param string $val The scepServerUrls + * + * @return AndroidScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AndroidScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidStoreApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidStoreApp.php new file mode 100644 index 0000000..fba0392 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidStoreApp.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["appIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the appIdentifier + * The Identity Name. + * + * @param string $val The appIdentifier + * + * @return AndroidStoreApp + */ + public function setAppIdentifier($val) + { + $this->_propDict["appIdentifier"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Android app store URL. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Android app store URL. + * + * @param string $val The appStoreUrl + * + * @return AndroidStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return AndroidStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return AndroidStoreApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidTrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidTrustedRootCertificate.php new file mode 100644 index 0000000..1386ec0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidTrustedRootCertificate.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return AndroidTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return AndroidTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidUsernameSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidUsernameSource.php new file mode 100644 index 0000000..4db15d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidUsernameSource.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @param VpnAuthenticationMethod $val The authenticationMethod + * + * @return AndroidVpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the connectionName + * Connection name displayed to the user. + * + * @return string|null The connectionName + */ + public function getConnectionName() + { + if (array_key_exists("connectionName", $this->_propDict)) { + return $this->_propDict["connectionName"]; + } else { + return null; + } + } + + /** + * Sets the connectionName + * Connection name displayed to the user. + * + * @param string $val The connectionName + * + * @return AndroidVpnConfiguration + */ + public function setConnectionName($val) + { + $this->_propDict["connectionName"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @return AndroidVpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidVpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new AndroidVpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @param AndroidVpnConnectionType $val The connectionType + * + * @return AndroidVpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + + /** + * Gets the customData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @return array|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @param KeyValue[] $val The customData + * + * @return AndroidVpnConfiguration + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + + /** + * Gets the customKeyValueData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @return array|null The customKeyValueData + */ + public function getCustomKeyValueData() + { + if (array_key_exists("customKeyValueData", $this->_propDict)) { + return $this->_propDict["customKeyValueData"]; + } else { + return null; + } + } + + /** + * Sets the customKeyValueData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @param KeyValuePair[] $val The customKeyValueData + * + * @return AndroidVpnConfiguration + */ + public function setCustomKeyValueData($val) + { + $this->_propDict["customKeyValueData"] = $val; + return $this; + } + + /** + * Gets the fingerprint + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * + * @return string|null The fingerprint + */ + public function getFingerprint() + { + if (array_key_exists("fingerprint", $this->_propDict)) { + return $this->_propDict["fingerprint"]; + } else { + return null; + } + } + + /** + * Sets the fingerprint + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * + * @param string $val The fingerprint + * + * @return AndroidVpnConfiguration + */ + public function setFingerprint($val) + { + $this->_propDict["fingerprint"] = $val; + return $this; + } + + /** + * Gets the realm + * Realm when connection type is set to Pulse Secure. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Realm when connection type is set to Pulse Secure. + * + * @param string $val The realm + * + * @return AndroidVpnConfiguration + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + + /** + * Gets the role + * Role when connection type is set to Pulse Secure. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role when connection type is set to Pulse Secure. + * + * @param string $val The role + * + * @return AndroidVpnConfiguration + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + + /** + * Gets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @return array|null The servers + */ + public function getServers() + { + if (array_key_exists("servers", $this->_propDict)) { + return $this->_propDict["servers"]; + } else { + return null; + } + } + + /** + * Sets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @param VpnServer[] $val The servers + * + * @return AndroidVpnConfiguration + */ + public function setServers($val) + { + $this->_propDict["servers"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return AndroidCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param AndroidCertificateProfileBase $val The identityCertificate + * + * @return AndroidVpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidVpnConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidVpnConnectionType.php new file mode 100644 index 0000000..4911d09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidVpnConnectionType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return AndroidWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return AndroidWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return AndroidWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return AndroidWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaEnterprise, wpa2Enterprise. + * + * @return AndroidWiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidWiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new AndroidWiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaEnterprise, wpa2Enterprise. + * + * @param AndroidWiFiSecurityType $val The wiFiSecurityType + * + * @return AndroidWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWiFiSecurityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWiFiSecurityType.php new file mode 100644 index 0000000..10b46e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWiFiSecurityType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return AndroidWorkProfileTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new AndroidWorkProfileTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param AndroidWorkProfileTrustedRootCertificate $val The rootCertificate + * + * @return AndroidWorkProfileCertificateProfileBase + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCompliancePolicy.php new file mode 100644 index 0000000..62e8e9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCompliancePolicy.php @@ -0,0 +1,739 @@ +_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionRequiredSecurityLevel + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The advancedThreatProtectionRequiredSecurityLevel + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setAdvancedThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @return bool|null The deviceThreatProtectionEnabled + */ + public function getDeviceThreatProtectionEnabled() + { + if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @return string|null The minAndroidSecurityPatchLevel + */ + public function getMinAndroidSecurityPatchLevel() + { + if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign-in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + + /** + * Gets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @return bool|null The securityDisableUsbDebugging + */ + public function getSecurityDisableUsbDebugging() + { + if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) { + return $this->_propDict["securityDisableUsbDebugging"]; + } else { + return null; + } + } + + /** + * Sets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @param bool $val The securityDisableUsbDebugging + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityDisableUsbDebugging($val) + { + $this->_propDict["securityDisableUsbDebugging"] = boolval($val); + return $this; + } + + /** + * Gets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @return bool|null The securityPreventInstallAppsFromUnknownSources + */ + public function getSecurityPreventInstallAppsFromUnknownSources() + { + if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["securityPreventInstallAppsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @param bool $val The securityPreventInstallAppsFromUnknownSources + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityPreventInstallAppsFromUnknownSources($val) + { + $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @return bool|null The securityRequireCompanyPortalAppIntegrity + */ + public function getSecurityRequireCompanyPortalAppIntegrity() + { + if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireCompanyPortalAppIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @param bool $val The securityRequireCompanyPortalAppIntegrity + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireCompanyPortalAppIntegrity($val) + { + $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequiredAndroidSafetyNetEvaluationType + * Require a specific SafetyNet evaluation type for compliance. Possible values are: basic, hardwareBacked. + * + * @return AndroidSafetyNetEvaluationType|null The securityRequiredAndroidSafetyNetEvaluationType + */ + public function getSecurityRequiredAndroidSafetyNetEvaluationType() + { + if (array_key_exists("securityRequiredAndroidSafetyNetEvaluationType", $this->_propDict)) { + if (is_a($this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"], "\Beta\Microsoft\Graph\Model\AndroidSafetyNetEvaluationType") || is_null($this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"])) { + return $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"]; + } else { + $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"] = new AndroidSafetyNetEvaluationType($this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"]); + return $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"]; + } + } + return null; + } + + /** + * Sets the securityRequiredAndroidSafetyNetEvaluationType + * Require a specific SafetyNet evaluation type for compliance. Possible values are: basic, hardwareBacked. + * + * @param AndroidSafetyNetEvaluationType $val The securityRequiredAndroidSafetyNetEvaluationType + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequiredAndroidSafetyNetEvaluationType($val) + { + $this->_propDict["securityRequiredAndroidSafetyNetEvaluationType"] = $val; + return $this; + } + + /** + * Gets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @return bool|null The securityRequireGooglePlayServices + */ + public function getSecurityRequireGooglePlayServices() + { + if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) { + return $this->_propDict["securityRequireGooglePlayServices"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @param bool $val The securityRequireGooglePlayServices + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireGooglePlayServices($val) + { + $this->_propDict["securityRequireGooglePlayServices"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @return bool|null The securityRequireSafetyNetAttestationBasicIntegrity + */ + public function getSecurityRequireSafetyNetAttestationBasicIntegrity() + { + if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val) + { + $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @return bool|null The securityRequireSafetyNetAttestationCertifiedDevice + */ + public function getSecurityRequireSafetyNetAttestationCertifiedDevice() + { + if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val) + { + $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @return bool|null The securityRequireUpToDateSecurityProviders + */ + public function getSecurityRequireUpToDateSecurityProviders() + { + if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) { + return $this->_propDict["securityRequireUpToDateSecurityProviders"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @param bool $val The securityRequireUpToDateSecurityProviders + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireUpToDateSecurityProviders($val) + { + $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCrossProfileDataSharingType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCrossProfileDataSharingType.php new file mode 100644 index 0000000..6433a93 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCrossProfileDataSharingType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 500 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return AndroidWorkProfileCustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php new file mode 100644 index 0000000..eaff0ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new EasAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method for Exchange ActiveSync. Possible values are: usernameAndPassword, certificate, derivedCredential. + * + * @param EasAuthenticationMethod $val The authenticationMethod + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the durationOfEmailToSync + * Duration of time email should be synced to. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @return EmailSyncDuration|null The durationOfEmailToSync + */ + public function getDurationOfEmailToSync() + { + if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { + if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration") || is_null($this->_propDict["durationOfEmailToSync"])) { + return $this->_propDict["durationOfEmailToSync"]; + } else { + $this->_propDict["durationOfEmailToSync"] = new EmailSyncDuration($this->_propDict["durationOfEmailToSync"]); + return $this->_propDict["durationOfEmailToSync"]; + } + } + return null; + } + + /** + * Sets the durationOfEmailToSync + * Duration of time email should be synced to. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @param EmailSyncDuration $val The durationOfEmailToSync + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setDurationOfEmailToSync($val) + { + $this->_propDict["durationOfEmailToSync"] = $val; + return $this; + } + + /** + * Gets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The emailAddressSource + */ + public function getEmailAddressSource() + { + if (array_key_exists("emailAddressSource", $this->_propDict)) { + if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["emailAddressSource"])) { + return $this->_propDict["emailAddressSource"]; + } else { + $this->_propDict["emailAddressSource"] = new UserEmailSource($this->_propDict["emailAddressSource"]); + return $this->_propDict["emailAddressSource"]; + } + } + return null; + } + + /** + * Sets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The emailAddressSource + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setEmailAddressSource($val) + { + $this->_propDict["emailAddressSource"] = $val; + return $this; + } + + /** + * Gets the hostName + * Exchange location (URL) that the mail app connects to. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * Exchange location (URL) that the mail app connects to. + * + * @param string $val The hostName + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + + /** + * Gets the requireSsl + * Indicates whether or not to use SSL. + * + * @return bool|null The requireSsl + */ + public function getRequireSsl() + { + if (array_key_exists("requireSsl", $this->_propDict)) { + return $this->_propDict["requireSsl"]; + } else { + return null; + } + } + + /** + * Sets the requireSsl + * Indicates whether or not to use SSL. + * + * @param bool $val The requireSsl + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setRequireSsl($val) + { + $this->_propDict["requireSsl"] = boolval($val); + return $this; + } + + /** + * Gets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: username, userPrincipalName, samAccountName, primarySmtpAddress. + * + * @return AndroidUsernameSource|null The usernameSource + */ + public function getUsernameSource() + { + if (array_key_exists("usernameSource", $this->_propDict)) { + if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\AndroidUsernameSource") || is_null($this->_propDict["usernameSource"])) { + return $this->_propDict["usernameSource"]; + } else { + $this->_propDict["usernameSource"] = new AndroidUsernameSource($this->_propDict["usernameSource"]); + return $this->_propDict["usernameSource"]; + } + } + return null; + } + + /** + * Sets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: username, userPrincipalName, samAccountName, primarySmtpAddress. + * + * @param AndroidUsernameSource $val The usernameSource + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setUsernameSource($val) + { + $this->_propDict["usernameSource"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate. + * + * @return AndroidWorkProfileCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidWorkProfileCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate. + * + * @param AndroidWorkProfileCertificateProfileBase $val The identityCertificate + * + * @return AndroidWorkProfileEasEmailProfileBase + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileEnterpriseWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileEnterpriseWiFiConfiguration.php new file mode 100644 index 0000000..bf87528 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileEnterpriseWiFiConfiguration.php @@ -0,0 +1,345 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @return AndroidEapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new AndroidEapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @param AndroidEapType $val The eapType + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForPeap|null The innerAuthenticationProtocolForPeap + */ + public function getInnerAuthenticationProtocolForPeap() + { + if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap") || is_null($this->_propDict["innerAuthenticationProtocolForPeap"])) { + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } else { + $this->_propDict["innerAuthenticationProtocolForPeap"] = new NonEapAuthenticationMethodForPeap($this->_propDict["innerAuthenticationProtocolForPeap"]); + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. Possible values are: none, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForPeap $val The innerAuthenticationProtocolForPeap + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForPeap($val) + { + $this->_propDict["innerAuthenticationProtocolForPeap"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the proxyAutomaticConfigurationUrl + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * + * @return string|null The proxyAutomaticConfigurationUrl + */ + public function getProxyAutomaticConfigurationUrl() + { + if (array_key_exists("proxyAutomaticConfigurationUrl", $this->_propDict)) { + return $this->_propDict["proxyAutomaticConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the proxyAutomaticConfigurationUrl + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * + * @param string $val The proxyAutomaticConfigurationUrl + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setProxyAutomaticConfigurationUrl($val) + { + $this->_propDict["proxyAutomaticConfigurationUrl"] = $val; + return $this; + } + + /** + * Gets the proxySettings + * Proxy Type for this Wi-Fi connection. Possible values are: none, manual, automatic. + * + * @return WiFiProxySetting|null The proxySettings + */ + public function getProxySettings() + { + if (array_key_exists("proxySettings", $this->_propDict)) { + if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting") || is_null($this->_propDict["proxySettings"])) { + return $this->_propDict["proxySettings"]; + } else { + $this->_propDict["proxySettings"] = new WiFiProxySetting($this->_propDict["proxySettings"]); + return $this->_propDict["proxySettings"]; + } + } + return null; + } + + /** + * Sets the proxySettings + * Proxy Type for this Wi-Fi connection. Possible values are: none, manual, automatic. + * + * @param WiFiProxySetting $val The proxySettings + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setProxySettings($val) + { + $this->_propDict["proxySettings"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @return AndroidWorkProfileCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new AndroidWorkProfileCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @param AndroidWorkProfileCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @return AndroidWorkProfileTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new AndroidWorkProfileTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @param AndroidWorkProfileTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return AndroidWorkProfileEnterpriseWiFiConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGeneralDeviceConfiguration.php new file mode 100644 index 0000000..0cdf252 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGeneralDeviceConfiguration.php @@ -0,0 +1,1290 @@ +_propDict)) { + return $this->_propDict["passwordBlockFaceUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFaceUnlock + * Indicates whether or not to block face unlock. + * + * @param bool $val The passwordBlockFaceUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordBlockFaceUnlock($val) + { + $this->_propDict["passwordBlockFaceUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passwordBlockFingerprintUnlock + */ + public function getPasswordBlockFingerprintUnlock() + { + if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passwordBlockFingerprintUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordBlockFingerprintUnlock($val) + { + $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockIrisUnlock + * Indicates whether or not to block iris unlock. + * + * @return bool|null The passwordBlockIrisUnlock + */ + public function getPasswordBlockIrisUnlock() + { + if (array_key_exists("passwordBlockIrisUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockIrisUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockIrisUnlock + * Indicates whether or not to block iris unlock. + * + * @param bool $val The passwordBlockIrisUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordBlockIrisUnlock($val) + { + $this->_propDict["passwordBlockIrisUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @return bool|null The passwordBlockTrustAgents + */ + public function getPasswordBlockTrustAgents() + { + if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["passwordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @param bool $val The passwordBlockTrustAgents + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordBlockTrustAgents($val) + { + $this->_propDict["passwordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @return AndroidWorkProfileRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidWorkProfileRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @param AndroidWorkProfileRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the vpnAlwaysOnPackageIdentifier + * Enable lockdown mode for always-on VPN. + * + * @return string|null The vpnAlwaysOnPackageIdentifier + */ + public function getVpnAlwaysOnPackageIdentifier() + { + if (array_key_exists("vpnAlwaysOnPackageIdentifier", $this->_propDict)) { + return $this->_propDict["vpnAlwaysOnPackageIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the vpnAlwaysOnPackageIdentifier + * Enable lockdown mode for always-on VPN. + * + * @param string $val The vpnAlwaysOnPackageIdentifier + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setVpnAlwaysOnPackageIdentifier($val) + { + $this->_propDict["vpnAlwaysOnPackageIdentifier"] = $val; + return $this; + } + + /** + * Gets the vpnEnableAlwaysOnLockdownMode + * Enable lockdown mode for always-on VPN. + * + * @return bool|null The vpnEnableAlwaysOnLockdownMode + */ + public function getVpnEnableAlwaysOnLockdownMode() + { + if (array_key_exists("vpnEnableAlwaysOnLockdownMode", $this->_propDict)) { + return $this->_propDict["vpnEnableAlwaysOnLockdownMode"]; + } else { + return null; + } + } + + /** + * Sets the vpnEnableAlwaysOnLockdownMode + * Enable lockdown mode for always-on VPN. + * + * @param bool $val The vpnEnableAlwaysOnLockdownMode + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setVpnEnableAlwaysOnLockdownMode($val) + { + $this->_propDict["vpnEnableAlwaysOnLockdownMode"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileAllowAppInstallsFromUnknownSources + * Indicates whether to allow installation of apps from unknown sources. + * + * @return bool|null The workProfileAllowAppInstallsFromUnknownSources + */ + public function getWorkProfileAllowAppInstallsFromUnknownSources() + { + if (array_key_exists("workProfileAllowAppInstallsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["workProfileAllowAppInstallsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the workProfileAllowAppInstallsFromUnknownSources + * Indicates whether to allow installation of apps from unknown sources. + * + * @param bool $val The workProfileAllowAppInstallsFromUnknownSources + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileAllowAppInstallsFromUnknownSources($val) + { + $this->_propDict["workProfileAllowAppInstallsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileAllowWidgets + * Allow widgets from work profile apps. + * + * @return bool|null The workProfileAllowWidgets + */ + public function getWorkProfileAllowWidgets() + { + if (array_key_exists("workProfileAllowWidgets", $this->_propDict)) { + return $this->_propDict["workProfileAllowWidgets"]; + } else { + return null; + } + } + + /** + * Sets the workProfileAllowWidgets + * Allow widgets from work profile apps. + * + * @param bool $val The workProfileAllowWidgets + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileAllowWidgets($val) + { + $this->_propDict["workProfileAllowWidgets"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockAddingAccounts + * Block users from adding/removing accounts in work profile. + * + * @return bool|null The workProfileBlockAddingAccounts + */ + public function getWorkProfileBlockAddingAccounts() + { + if (array_key_exists("workProfileBlockAddingAccounts", $this->_propDict)) { + return $this->_propDict["workProfileBlockAddingAccounts"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockAddingAccounts + * Block users from adding/removing accounts in work profile. + * + * @param bool $val The workProfileBlockAddingAccounts + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockAddingAccounts($val) + { + $this->_propDict["workProfileBlockAddingAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCamera + * Block work profile camera. + * + * @return bool|null The workProfileBlockCamera + */ + public function getWorkProfileBlockCamera() + { + if (array_key_exists("workProfileBlockCamera", $this->_propDict)) { + return $this->_propDict["workProfileBlockCamera"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCamera + * Block work profile camera. + * + * @param bool $val The workProfileBlockCamera + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCamera($val) + { + $this->_propDict["workProfileBlockCamera"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileCallerId + * Block display work profile caller ID in personal profile. + * + * @return bool|null The workProfileBlockCrossProfileCallerId + */ + public function getWorkProfileBlockCrossProfileCallerId() + { + if (array_key_exists("workProfileBlockCrossProfileCallerId", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileCallerId"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileCallerId + * Block display work profile caller ID in personal profile. + * + * @param bool $val The workProfileBlockCrossProfileCallerId + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileCallerId($val) + { + $this->_propDict["workProfileBlockCrossProfileCallerId"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileContactsSearch + * Block work profile contacts availability in personal profile. + * + * @return bool|null The workProfileBlockCrossProfileContactsSearch + */ + public function getWorkProfileBlockCrossProfileContactsSearch() + { + if (array_key_exists("workProfileBlockCrossProfileContactsSearch", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileContactsSearch"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileContactsSearch + * Block work profile contacts availability in personal profile. + * + * @param bool $val The workProfileBlockCrossProfileContactsSearch + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileContactsSearch($val) + { + $this->_propDict["workProfileBlockCrossProfileContactsSearch"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileCopyPaste + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + * + * @return bool|null The workProfileBlockCrossProfileCopyPaste + */ + public function getWorkProfileBlockCrossProfileCopyPaste() + { + if (array_key_exists("workProfileBlockCrossProfileCopyPaste", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileCopyPaste + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + * + * @param bool $val The workProfileBlockCrossProfileCopyPaste + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileCopyPaste($val) + { + $this->_propDict["workProfileBlockCrossProfileCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockNotificationsWhileDeviceLocked + * Indicates whether or not to block notifications while device locked. + * + * @return bool|null The workProfileBlockNotificationsWhileDeviceLocked + */ + public function getWorkProfileBlockNotificationsWhileDeviceLocked() + { + if (array_key_exists("workProfileBlockNotificationsWhileDeviceLocked", $this->_propDict)) { + return $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockNotificationsWhileDeviceLocked + * Indicates whether or not to block notifications while device locked. + * + * @param bool $val The workProfileBlockNotificationsWhileDeviceLocked + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockNotificationsWhileDeviceLocked($val) + { + $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockPersonalAppInstallsFromUnknownSources + * Prevent app installations from unknown sources in the personal profile. + * + * @return bool|null The workProfileBlockPersonalAppInstallsFromUnknownSources + */ + public function getWorkProfileBlockPersonalAppInstallsFromUnknownSources() + { + if (array_key_exists("workProfileBlockPersonalAppInstallsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["workProfileBlockPersonalAppInstallsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockPersonalAppInstallsFromUnknownSources + * Prevent app installations from unknown sources in the personal profile. + * + * @param bool $val The workProfileBlockPersonalAppInstallsFromUnknownSources + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockPersonalAppInstallsFromUnknownSources($val) + { + $this->_propDict["workProfileBlockPersonalAppInstallsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockScreenCapture + * Block screen capture in work profile. + * + * @return bool|null The workProfileBlockScreenCapture + */ + public function getWorkProfileBlockScreenCapture() + { + if (array_key_exists("workProfileBlockScreenCapture", $this->_propDict)) { + return $this->_propDict["workProfileBlockScreenCapture"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockScreenCapture + * Block screen capture in work profile. + * + * @param bool $val The workProfileBlockScreenCapture + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockScreenCapture($val) + { + $this->_propDict["workProfileBlockScreenCapture"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBluetoothEnableContactSharing + * Allow bluetooth devices to access enterprise contacts. + * + * @return bool|null The workProfileBluetoothEnableContactSharing + */ + public function getWorkProfileBluetoothEnableContactSharing() + { + if (array_key_exists("workProfileBluetoothEnableContactSharing", $this->_propDict)) { + return $this->_propDict["workProfileBluetoothEnableContactSharing"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBluetoothEnableContactSharing + * Allow bluetooth devices to access enterprise contacts. + * + * @param bool $val The workProfileBluetoothEnableContactSharing + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBluetoothEnableContactSharing($val) + { + $this->_propDict["workProfileBluetoothEnableContactSharing"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileDataSharingType + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * + * @return AndroidWorkProfileCrossProfileDataSharingType|null The workProfileDataSharingType + */ + public function getWorkProfileDataSharingType() + { + if (array_key_exists("workProfileDataSharingType", $this->_propDict)) { + if (is_a($this->_propDict["workProfileDataSharingType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCrossProfileDataSharingType") || is_null($this->_propDict["workProfileDataSharingType"])) { + return $this->_propDict["workProfileDataSharingType"]; + } else { + $this->_propDict["workProfileDataSharingType"] = new AndroidWorkProfileCrossProfileDataSharingType($this->_propDict["workProfileDataSharingType"]); + return $this->_propDict["workProfileDataSharingType"]; + } + } + return null; + } + + /** + * Sets the workProfileDataSharingType + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * + * @param AndroidWorkProfileCrossProfileDataSharingType $val The workProfileDataSharingType + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileDataSharingType($val) + { + $this->_propDict["workProfileDataSharingType"] = $val; + return $this; + } + + /** + * Gets the workProfileDefaultAppPermissionPolicy + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @return AndroidWorkProfileDefaultAppPermissionPolicyType|null The workProfileDefaultAppPermissionPolicy + */ + public function getWorkProfileDefaultAppPermissionPolicy() + { + if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) { + if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileDefaultAppPermissionPolicyType") || is_null($this->_propDict["workProfileDefaultAppPermissionPolicy"])) { + return $this->_propDict["workProfileDefaultAppPermissionPolicy"]; + } else { + $this->_propDict["workProfileDefaultAppPermissionPolicy"] = new AndroidWorkProfileDefaultAppPermissionPolicyType($this->_propDict["workProfileDefaultAppPermissionPolicy"]); + return $this->_propDict["workProfileDefaultAppPermissionPolicy"]; + } + } + return null; + } + + /** + * Sets the workProfileDefaultAppPermissionPolicy + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @param AndroidWorkProfileDefaultAppPermissionPolicyType $val The workProfileDefaultAppPermissionPolicy + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileDefaultAppPermissionPolicy($val) + { + $this->_propDict["workProfileDefaultAppPermissionPolicy"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordBlockFaceUnlock + * Indicates whether or not to block face unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockFaceUnlock + */ + public function getWorkProfilePasswordBlockFaceUnlock() + { + if (array_key_exists("workProfilePasswordBlockFaceUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockFaceUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockFaceUnlock + * Indicates whether or not to block face unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockFaceUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockFaceUnlock($val) + { + $this->_propDict["workProfilePasswordBlockFaceUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockFingerprintUnlock + */ + public function getWorkProfilePasswordBlockFingerprintUnlock() + { + if (array_key_exists("workProfilePasswordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockFingerprintUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockFingerprintUnlock($val) + { + $this->_propDict["workProfilePasswordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockIrisUnlock + * Indicates whether or not to block iris unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockIrisUnlock + */ + public function getWorkProfilePasswordBlockIrisUnlock() + { + if (array_key_exists("workProfilePasswordBlockIrisUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockIrisUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockIrisUnlock + * Indicates whether or not to block iris unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockIrisUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockIrisUnlock($val) + { + $this->_propDict["workProfilePasswordBlockIrisUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + * + * @return bool|null The workProfilePasswordBlockTrustAgents + */ + public function getWorkProfilePasswordBlockTrustAgents() + { + if (array_key_exists("workProfilePasswordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + * + * @param bool $val The workProfilePasswordBlockTrustAgents + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockTrustAgents($val) + { + $this->_propDict["workProfilePasswordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordExpirationDays + * Number of days before the work profile password expires. Valid values 1 to 365 + * + * @return int|null The workProfilePasswordExpirationDays + */ + public function getWorkProfilePasswordExpirationDays() + { + if (array_key_exists("workProfilePasswordExpirationDays", $this->_propDict)) { + return $this->_propDict["workProfilePasswordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordExpirationDays + * Number of days before the work profile password expires. Valid values 1 to 365 + * + * @param int $val The workProfilePasswordExpirationDays + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordExpirationDays($val) + { + $this->_propDict["workProfilePasswordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumLength + * Minimum length of work profile password. Valid values 4 to 16 + * + * @return int|null The workProfilePasswordMinimumLength + */ + public function getWorkProfilePasswordMinimumLength() + { + if (array_key_exists("workProfilePasswordMinimumLength", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumLength + * Minimum length of work profile password. Valid values 4 to 16 + * + * @param int $val The workProfilePasswordMinimumLength + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumLength($val) + { + $this->_propDict["workProfilePasswordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinLetterCharacters + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinLetterCharacters + */ + public function getWorkProfilePasswordMinLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinLetterCharacters + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinLetterCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinLowerCaseCharacters + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinLowerCaseCharacters + */ + public function getWorkProfilePasswordMinLowerCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinLowerCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinLowerCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinLowerCaseCharacters + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinLowerCaseCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinLowerCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinLowerCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinNonLetterCharacters + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinNonLetterCharacters + */ + public function getWorkProfilePasswordMinNonLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinNonLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinNonLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinNonLetterCharacters + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinNonLetterCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinNonLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinNonLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinNumericCharacters + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinNumericCharacters + */ + public function getWorkProfilePasswordMinNumericCharacters() + { + if (array_key_exists("workProfilePasswordMinNumericCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinNumericCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinNumericCharacters + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinNumericCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinNumericCharacters($val) + { + $this->_propDict["workProfilePasswordMinNumericCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinSymbolCharacters + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinSymbolCharacters + */ + public function getWorkProfilePasswordMinSymbolCharacters() + { + if (array_key_exists("workProfilePasswordMinSymbolCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinSymbolCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinSymbolCharacters + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinSymbolCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinSymbolCharacters($val) + { + $this->_propDict["workProfilePasswordMinSymbolCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinUpperCaseCharacters + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinUpperCaseCharacters + */ + public function getWorkProfilePasswordMinUpperCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinUpperCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinUpperCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinUpperCaseCharacters + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinUpperCaseCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinUpperCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinUpperCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + */ + public function getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordPreviousPasswordBlockCount + * Number of previous work profile passwords to block. Valid values 0 to 24 + * + * @return int|null The workProfilePasswordPreviousPasswordBlockCount + */ + public function getWorkProfilePasswordPreviousPasswordBlockCount() + { + if (array_key_exists("workProfilePasswordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordPreviousPasswordBlockCount + * Number of previous work profile passwords to block. Valid values 0 to 24 + * + * @param int $val The workProfilePasswordPreviousPasswordBlockCount + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordRequiredType + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @return AndroidWorkProfileRequiredPasswordType|null The workProfilePasswordRequiredType + */ + public function getWorkProfilePasswordRequiredType() + { + if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType") || is_null($this->_propDict["workProfilePasswordRequiredType"])) { + return $this->_propDict["workProfilePasswordRequiredType"]; + } else { + $this->_propDict["workProfilePasswordRequiredType"] = new AndroidWorkProfileRequiredPasswordType($this->_propDict["workProfilePasswordRequiredType"]); + return $this->_propDict["workProfilePasswordRequiredType"]; + } + } + return null; + } + + /** + * Sets the workProfilePasswordRequiredType + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @param AndroidWorkProfileRequiredPasswordType $val The workProfilePasswordRequiredType + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordRequiredType($val) + { + $this->_propDict["workProfilePasswordRequiredType"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordSignInFailureCountBeforeFactoryReset + */ + public function getWorkProfilePasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("workProfilePasswordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordSignInFailureCountBeforeFactoryReset + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the workProfileRequirePassword + * Password is required or not for work profile + * + * @return bool|null The workProfileRequirePassword + */ + public function getWorkProfileRequirePassword() + { + if (array_key_exists("workProfileRequirePassword", $this->_propDict)) { + return $this->_propDict["workProfileRequirePassword"]; + } else { + return null; + } + } + + /** + * Sets the workProfileRequirePassword + * Password is required or not for work profile + * + * @param bool $val The workProfileRequirePassword + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileRequirePassword($val) + { + $this->_propDict["workProfileRequirePassword"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGmailEasConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGmailEasConfiguration.php new file mode 100644 index 0000000..2d85922 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGmailEasConfiguration.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["syncCalendar"]; + } else { + return null; + } + } + + /** + * Sets the syncCalendar + * Toggles syncing the calendar. If set to false the calendar is turned off on the device. + * + * @param bool $val The syncCalendar + * + * @return AndroidWorkProfileNineWorkEasConfiguration + */ + public function setSyncCalendar($val) + { + $this->_propDict["syncCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the syncContacts + * Toggles syncing contacts. If set to false contacts are turned off on the device. + * + * @return bool|null The syncContacts + */ + public function getSyncContacts() + { + if (array_key_exists("syncContacts", $this->_propDict)) { + return $this->_propDict["syncContacts"]; + } else { + return null; + } + } + + /** + * Sets the syncContacts + * Toggles syncing contacts. If set to false contacts are turned off on the device. + * + * @param bool $val The syncContacts + * + * @return AndroidWorkProfileNineWorkEasConfiguration + */ + public function setSyncContacts($val) + { + $this->_propDict["syncContacts"] = boolval($val); + return $this; + } + + /** + * Gets the syncTasks + * Toggles syncing tasks. If set to false tasks are turned off on the device. + * + * @return bool|null The syncTasks + */ + public function getSyncTasks() + { + if (array_key_exists("syncTasks", $this->_propDict)) { + return $this->_propDict["syncTasks"]; + } else { + return null; + } + } + + /** + * Sets the syncTasks + * Toggles syncing tasks. If set to false tasks are turned off on the device. + * + * @param bool $val The syncTasks + * + * @return AndroidWorkProfileNineWorkEasConfiguration + */ + public function setSyncTasks($val) + { + $this->_propDict["syncTasks"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfilePkcsCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfilePkcsCertificateProfile.php new file mode 100644 index 0000000..cd28c65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfilePkcsCertificateProfile.php @@ -0,0 +1,265 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateTemplateName + * PKCS Certificate Template Name + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name + * + * @param string $val The certificateTemplateName + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority + * + * @param string $val The certificationAuthority + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @param string $val The certificationAuthorityName + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidWorkProfilePkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileRequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileRequiredPasswordType.php new file mode 100644 index 0000000..2e2a35a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileRequiredPasswordType.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @return HashAlgorithms|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s) + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s) + * + * @param string $val The scepServerUrls + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AndroidWorkProfileScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileTrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileTrustedRootCertificate.php new file mode 100644 index 0000000..f9c950b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileTrustedRootCertificate.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return AndroidWorkProfileTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return AndroidWorkProfileTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php new file mode 100644 index 0000000..7cf87dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php @@ -0,0 +1,511 @@ +_propDict)) { + return $this->_propDict["alwaysOn"]; + } else { + return null; + } + } + + /** + * Sets the alwaysOn + * Whether or not to enable always-on VPN connection. + * + * @param bool $val The alwaysOn + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setAlwaysOn($val) + { + $this->_propDict["alwaysOn"] = boolval($val); + return $this; + } + + /** + * Gets the alwaysOnLockdown + * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + * + * @return bool|null The alwaysOnLockdown + */ + public function getAlwaysOnLockdown() + { + if (array_key_exists("alwaysOnLockdown", $this->_propDict)) { + return $this->_propDict["alwaysOnLockdown"]; + } else { + return null; + } + } + + /** + * Sets the alwaysOnLockdown + * If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected. + * + * @param bool $val The alwaysOnLockdown + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setAlwaysOnLockdown($val) + { + $this->_propDict["alwaysOnLockdown"] = boolval($val); + return $this; + } + + /** + * Gets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @return VpnAuthenticationMethod|null The authenticationMethod + */ + public function getAuthenticationMethod() + { + if (array_key_exists("authenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @param VpnAuthenticationMethod $val The authenticationMethod + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the connectionName + * Connection name displayed to the user. + * + * @return string|null The connectionName + */ + public function getConnectionName() + { + if (array_key_exists("connectionName", $this->_propDict)) { + return $this->_propDict["connectionName"]; + } else { + return null; + } + } + + /** + * Sets the connectionName + * Connection name displayed to the user. + * + * @param string $val The connectionName + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setConnectionName($val) + { + $this->_propDict["connectionName"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix, paloAltoGlobalProtect, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @return AndroidWorkProfileVpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileVpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new AndroidWorkProfileVpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, citrix, paloAltoGlobalProtect, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @param AndroidWorkProfileVpnConnectionType $val The connectionType + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + + /** + * Gets the customData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @return array|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @param KeyValue[] $val The customData + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + + /** + * Gets the customKeyValueData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @return array|null The customKeyValueData + */ + public function getCustomKeyValueData() + { + if (array_key_exists("customKeyValueData", $this->_propDict)) { + return $this->_propDict["customKeyValueData"]; + } else { + return null; + } + } + + /** + * Sets the customKeyValueData + * Custom data when connection type is set to Citrix. This collection can contain a maximum of 25 elements. + * + * @param KeyValuePair[] $val The customKeyValueData + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setCustomKeyValueData($val) + { + $this->_propDict["customKeyValueData"] = $val; + return $this; + } + + /** + * Gets the fingerprint + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * + * @return string|null The fingerprint + */ + public function getFingerprint() + { + if (array_key_exists("fingerprint", $this->_propDict)) { + return $this->_propDict["fingerprint"]; + } else { + return null; + } + } + + /** + * Sets the fingerprint + * Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN. + * + * @param string $val The fingerprint + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setFingerprint($val) + { + $this->_propDict["fingerprint"] = $val; + return $this; + } + + /** + * Gets the microsoftTunnelSiteId + * Microsoft Tunnel site ID. + * + * @return string|null The microsoftTunnelSiteId + */ + public function getMicrosoftTunnelSiteId() + { + if (array_key_exists("microsoftTunnelSiteId", $this->_propDict)) { + return $this->_propDict["microsoftTunnelSiteId"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelSiteId + * Microsoft Tunnel site ID. + * + * @param string $val The microsoftTunnelSiteId + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setMicrosoftTunnelSiteId($val) + { + $this->_propDict["microsoftTunnelSiteId"] = $val; + return $this; + } + + /** + * Gets the proxyServer + * Proxy server. + * + * @return VpnProxyServer|null The proxyServer + */ + public function getProxyServer() + { + if (array_key_exists("proxyServer", $this->_propDict)) { + if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\VpnProxyServer") || is_null($this->_propDict["proxyServer"])) { + return $this->_propDict["proxyServer"]; + } else { + $this->_propDict["proxyServer"] = new VpnProxyServer($this->_propDict["proxyServer"]); + return $this->_propDict["proxyServer"]; + } + } + return null; + } + + /** + * Sets the proxyServer + * Proxy server. + * + * @param VpnProxyServer $val The proxyServer + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setProxyServer($val) + { + $this->_propDict["proxyServer"] = $val; + return $this; + } + + /** + * Gets the realm + * Realm when connection type is set to Pulse Secure. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Realm when connection type is set to Pulse Secure. + * + * @param string $val The realm + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + + /** + * Gets the role + * Role when connection type is set to Pulse Secure. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role when connection type is set to Pulse Secure. + * + * @param string $val The role + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + + /** + * Gets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @return array|null The servers + */ + public function getServers() + { + if (array_key_exists("servers", $this->_propDict)) { + return $this->_propDict["servers"]; + } else { + return null; + } + } + + /** + * Sets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @param VpnServer[] $val The servers + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setServers($val) + { + $this->_propDict["servers"] = $val; + return $this; + } + + + /** + * Gets the targetedMobileApps + * Targeted mobile apps. This collection can contain a maximum of 500 elements. + * + * @return array|null The targetedMobileApps + */ + public function getTargetedMobileApps() + { + if (array_key_exists("targetedMobileApps", $this->_propDict)) { + return $this->_propDict["targetedMobileApps"]; + } else { + return null; + } + } + + /** + * Sets the targetedMobileApps + * Targeted mobile apps. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The targetedMobileApps + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setTargetedMobileApps($val) + { + $this->_propDict["targetedMobileApps"] = $val; + return $this; + } + + /** + * Gets the targetedPackageIds + * Targeted App package IDs. + * + * @return string|null The targetedPackageIds + */ + public function getTargetedPackageIds() + { + if (array_key_exists("targetedPackageIds", $this->_propDict)) { + return $this->_propDict["targetedPackageIds"]; + } else { + return null; + } + } + + /** + * Sets the targetedPackageIds + * Targeted App package IDs. + * + * @param string $val The targetedPackageIds + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setTargetedPackageIds($val) + { + $this->_propDict["targetedPackageIds"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return AndroidWorkProfileCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new AndroidWorkProfileCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param AndroidWorkProfileCertificateProfileBase $val The identityCertificate + * + * @return AndroidWorkProfileVpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConnectionType.php new file mode 100644 index 0000000..c504b16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConnectionType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return AndroidWorkProfileWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return AndroidWorkProfileWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return AndroidWorkProfileWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return AndroidWorkProfileWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaEnterprise, wpa2Enterprise. + * + * @return AndroidWiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidWiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new AndroidWiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaEnterprise, wpa2Enterprise. + * + * @param AndroidWiFiSecurityType $val The wiFiSecurityType + * + * @return AndroidWorkProfileWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnonymousGuestConversationMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnonymousGuestConversationMember.php new file mode 100644 index 0000000..ae28516 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnonymousGuestConversationMember.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["anonymousGuestId"]; + } else { + return null; + } + } + + /** + * Sets the anonymousGuestId + * Unique ID that represents the user. Note: This ID can change if the user leaves and rejoins the meeting, or joins from a different device. + * + * @param string $val The anonymousGuestId + * + * @return AnonymousGuestConversationMember + */ + public function setAnonymousGuestId($val) + { + $this->_propDict["anonymousGuestId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnswerInputType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnswerInputType.php new file mode 100644 index 0000000..bf769c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnswerInputType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. This collection can contain a maximum of 500 elements. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. This collection can contain a maximum of 500 elements. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. This collection can contain a maximum of 500 elements. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. This collection can contain a maximum of 500 elements. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return AospDeviceOwnerTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AospDeviceOwnerTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new AospDeviceOwnerTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param AospDeviceOwnerTrustedRootCertificate $val The rootCertificate + * + * @return AospDeviceOwnerCertificateProfileBase + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerCompliancePolicy.php new file mode 100644 index 0000000..16e70ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerCompliancePolicy.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. Valid values 1 to 8640 + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. Valid values 1 to 8640 + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @return AndroidDeviceOwnerRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidDeviceOwnerRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @param AndroidDeviceOwnerRequiredPasswordType $val The passwordRequiredType + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AospDeviceOwnerCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerDeviceConfiguration.php new file mode 100644 index 0000000..a928a98 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerDeviceConfiguration.php @@ -0,0 +1,437 @@ +_propDict)) { + return $this->_propDict["appsBlockInstallFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockInstallFromUnknownSources + * Indicates whether or not the user is allowed to enable unknown sources setting. When set to true, user is not allowed to enable unknown sources settings. + * + * @param bool $val The appsBlockInstallFromUnknownSources + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setAppsBlockInstallFromUnknownSources($val) + { + $this->_propDict["appsBlockInstallFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockConfiguration + * Indicates whether or not to block a user from configuring bluetooth. + * + * @return bool|null The bluetoothBlockConfiguration + */ + public function getBluetoothBlockConfiguration() + { + if (array_key_exists("bluetoothBlockConfiguration", $this->_propDict)) { + return $this->_propDict["bluetoothBlockConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockConfiguration + * Indicates whether or not to block a user from configuring bluetooth. + * + * @param bool $val The bluetoothBlockConfiguration + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setBluetoothBlockConfiguration($val) + { + $this->_propDict["bluetoothBlockConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlocked + * Indicates whether or not to disable the use of bluetooth. When set to true, bluetooth cannot be enabled on the device. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Indicates whether or not to disable the use of bluetooth. When set to true, bluetooth cannot be enabled on the device. + * + * @param bool $val The bluetoothBlocked + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to disable the use of the camera. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to disable the use of the camera. + * + * @param bool $val The cameraBlocked + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the factoryResetBlocked + * Indicates whether or not the factory reset option in settings is disabled. + * + * @return bool|null The factoryResetBlocked + */ + public function getFactoryResetBlocked() + { + if (array_key_exists("factoryResetBlocked", $this->_propDict)) { + return $this->_propDict["factoryResetBlocked"]; + } else { + return null; + } + } + + /** + * Sets the factoryResetBlocked + * Indicates whether or not the factory reset option in settings is disabled. + * + * @param bool $val The factoryResetBlocked + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setFactoryResetBlocked($val) + { + $this->_propDict["factoryResetBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Indicates the minimum length of the password required on the device. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Indicates the minimum length of the password required on the device. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Indicates the minimum password quality required on the device. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @return AndroidDeviceOwnerRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidDeviceOwnerRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Indicates the minimum password quality required on the device. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + * + * @param AndroidDeviceOwnerRequiredPasswordType $val The passwordRequiredType + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Indicates the number of times a user can enter an incorrect password before the device is wiped. Valid values 4 to 11 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to disable the capability to take screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to disable the capability to take screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the securityAllowDebuggingFeatures + * Indicates whether or not to block the user from enabling debugging features on the device. + * + * @return bool|null The securityAllowDebuggingFeatures + */ + public function getSecurityAllowDebuggingFeatures() + { + if (array_key_exists("securityAllowDebuggingFeatures", $this->_propDict)) { + return $this->_propDict["securityAllowDebuggingFeatures"]; + } else { + return null; + } + } + + /** + * Sets the securityAllowDebuggingFeatures + * Indicates whether or not to block the user from enabling debugging features on the device. + * + * @param bool $val The securityAllowDebuggingFeatures + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setSecurityAllowDebuggingFeatures($val) + { + $this->_propDict["securityAllowDebuggingFeatures"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockExternalMedia + * Indicates whether or not to block external media. + * + * @return bool|null The storageBlockExternalMedia + */ + public function getStorageBlockExternalMedia() + { + if (array_key_exists("storageBlockExternalMedia", $this->_propDict)) { + return $this->_propDict["storageBlockExternalMedia"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockExternalMedia + * Indicates whether or not to block external media. + * + * @param bool $val The storageBlockExternalMedia + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setStorageBlockExternalMedia($val) + { + $this->_propDict["storageBlockExternalMedia"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockUsbFileTransfer + * Indicates whether or not to block USB file transfer. + * + * @return bool|null The storageBlockUsbFileTransfer + */ + public function getStorageBlockUsbFileTransfer() + { + if (array_key_exists("storageBlockUsbFileTransfer", $this->_propDict)) { + return $this->_propDict["storageBlockUsbFileTransfer"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockUsbFileTransfer + * Indicates whether or not to block USB file transfer. + * + * @param bool $val The storageBlockUsbFileTransfer + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setStorageBlockUsbFileTransfer($val) + { + $this->_propDict["storageBlockUsbFileTransfer"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlockEditConfigurations + * Indicates whether or not to block the user from editing the wifi connection settings. + * + * @return bool|null The wifiBlockEditConfigurations + */ + public function getWifiBlockEditConfigurations() + { + if (array_key_exists("wifiBlockEditConfigurations", $this->_propDict)) { + return $this->_propDict["wifiBlockEditConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockEditConfigurations + * Indicates whether or not to block the user from editing the wifi connection settings. + * + * @param bool $val The wifiBlockEditConfigurations + * + * @return AospDeviceOwnerDeviceConfiguration + */ + public function setWifiBlockEditConfigurations($val) + { + $this->_propDict["wifiBlockEditConfigurations"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerEnterpriseWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerEnterpriseWiFiConfiguration.php new file mode 100644 index 0000000..cb446e0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerEnterpriseWiFiConfiguration.php @@ -0,0 +1,283 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @return AndroidEapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new AndroidEapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, eapTtls, peap. + * + * @param AndroidEapType $val The eapType + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. This collection can contain a maximum of 500 elements. Possible values are: none, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForPeap|null The innerAuthenticationProtocolForPeap + */ + public function getInnerAuthenticationProtocolForPeap() + { + if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap") || is_null($this->_propDict["innerAuthenticationProtocolForPeap"])) { + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } else { + $this->_propDict["innerAuthenticationProtocolForPeap"] = new NonEapAuthenticationMethodForPeap($this->_propDict["innerAuthenticationProtocolForPeap"]); + return $this->_propDict["innerAuthenticationProtocolForPeap"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForPeap + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password. This collection can contain a maximum of 500 elements. Possible values are: none, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForPeap $val The innerAuthenticationProtocolForPeap + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForPeap($val) + { + $this->_propDict["innerAuthenticationProtocolForPeap"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @return AospDeviceOwnerCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AospDeviceOwnerCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new AospDeviceOwnerCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection. + * + * @param AospDeviceOwnerCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @return AospDeviceOwnerTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AospDeviceOwnerTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new AospDeviceOwnerTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt. + * + * @param AospDeviceOwnerTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return AospDeviceOwnerEnterpriseWiFiConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerPkcsCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerPkcsCertificateProfile.php new file mode 100644 index 0000000..0e2f3e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerPkcsCertificateProfile.php @@ -0,0 +1,298 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateTemplateName + * PKCS Certificate Template Name + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name + * + * @param string $val The certificateTemplateName + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority + * + * @param string $val The certificationAuthority + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @param string $val The certificationAuthorityName + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityType + * Certification authority type. Possible values are: notConfigured, microsoft, digiCert. + * + * @return DeviceManagementCertificationAuthority|null The certificationAuthorityType + */ + public function getCertificationAuthorityType() + { + if (array_key_exists("certificationAuthorityType", $this->_propDict)) { + if (is_a($this->_propDict["certificationAuthorityType"], "\Beta\Microsoft\Graph\Model\DeviceManagementCertificationAuthority") || is_null($this->_propDict["certificationAuthorityType"])) { + return $this->_propDict["certificationAuthorityType"]; + } else { + $this->_propDict["certificationAuthorityType"] = new DeviceManagementCertificationAuthority($this->_propDict["certificationAuthorityType"]); + return $this->_propDict["certificationAuthorityType"]; + } + } + return null; + } + + /** + * Sets the certificationAuthorityType + * Certification authority type. Possible values are: notConfigured, microsoft, digiCert. + * + * @param DeviceManagementCertificationAuthority $val The certificationAuthorityType + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setCertificationAuthorityType($val) + { + $this->_propDict["certificationAuthorityType"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AospDeviceOwnerPkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerScepCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerScepCertificateProfile.php new file mode 100644 index 0000000..f8c6066 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerScepCertificateProfile.php @@ -0,0 +1,306 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. This collection can contain a maximum of 500 elements. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @return HashAlgorithms|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s) + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s) + * + * @param string $val The scepServerUrls + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return AospDeviceOwnerScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerTrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerTrustedRootCertificate.php new file mode 100644 index 0000000..1c4fb4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerTrustedRootCertificate.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return AospDeviceOwnerTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return AospDeviceOwnerTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerWiFiConfiguration.php new file mode 100644 index 0000000..316dffb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerWiFiConfiguration.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return string|null The preSharedKey + */ + public function getPreSharedKey() + { + if (array_key_exists("preSharedKey", $this->_propDict)) { + return $this->_propDict["preSharedKey"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param string $val The preSharedKey + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setPreSharedKey($val) + { + $this->_propDict["preSharedKey"] = $val; + return $this; + } + + /** + * Gets the preSharedKeyIsSet + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return bool|null The preSharedKeyIsSet + */ + public function getPreSharedKeyIsSet() + { + if (array_key_exists("preSharedKeyIsSet", $this->_propDict)) { + return $this->_propDict["preSharedKeyIsSet"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKeyIsSet + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param bool $val The preSharedKeyIsSet + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setPreSharedKeyIsSet($val) + { + $this->_propDict["preSharedKeyIsSet"] = boolval($val); + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wep, wpaPersonal, wpaEnterprise. + * + * @return AospDeviceOwnerWiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AospDeviceOwnerWiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new AospDeviceOwnerWiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wep, wpaPersonal, wpaEnterprise. + * + * @param AospDeviceOwnerWiFiSecurityType $val The wiFiSecurityType + * + * @return AospDeviceOwnerWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerWiFiSecurityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerWiFiSecurityType.php new file mode 100644 index 0000000..7ce5aeb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerWiFiSecurityType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["acceptMappedClaims"]; + } else { + return null; + } + } + + /** + * Sets the acceptMappedClaims + * When true, allows an application to use claims mapping without specifying a custom signing key. + * + * @param bool $val The value of the acceptMappedClaims + * + * @return ApiApplication + */ + public function setAcceptMappedClaims($val) + { + $this->_propDict["acceptMappedClaims"] = $val; + return $this; + } + /** + * Gets the knownClientApplications + * Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant. + * + * @return string|null The knownClientApplications + */ + public function getKnownClientApplications() + { + if (array_key_exists("knownClientApplications", $this->_propDict)) { + return $this->_propDict["knownClientApplications"]; + } else { + return null; + } + } + + /** + * Sets the knownClientApplications + * Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant. + * + * @param string $val The value of the knownClientApplications + * + * @return ApiApplication + */ + public function setKnownClientApplications($val) + { + $this->_propDict["knownClientApplications"] = $val; + return $this; + } + + /** + * Gets the oauth2PermissionScopes + * The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + * + * @return PermissionScope|null The oauth2PermissionScopes + */ + public function getOauth2PermissionScopes() + { + if (array_key_exists("oauth2PermissionScopes", $this->_propDict)) { + if (is_a($this->_propDict["oauth2PermissionScopes"], "\Beta\Microsoft\Graph\Model\PermissionScope") || is_null($this->_propDict["oauth2PermissionScopes"])) { + return $this->_propDict["oauth2PermissionScopes"]; + } else { + $this->_propDict["oauth2PermissionScopes"] = new PermissionScope($this->_propDict["oauth2PermissionScopes"]); + return $this->_propDict["oauth2PermissionScopes"]; + } + } + return null; + } + + /** + * Sets the oauth2PermissionScopes + * The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + * + * @param PermissionScope $val The value to assign to the oauth2PermissionScopes + * + * @return ApiApplication The ApiApplication + */ + public function setOauth2PermissionScopes($val) + { + $this->_propDict["oauth2PermissionScopes"] = $val; + return $this; + } + + /** + * Gets the preAuthorizedApplications + * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. + * + * @return PreAuthorizedApplication|null The preAuthorizedApplications + */ + public function getPreAuthorizedApplications() + { + if (array_key_exists("preAuthorizedApplications", $this->_propDict)) { + if (is_a($this->_propDict["preAuthorizedApplications"], "\Beta\Microsoft\Graph\Model\PreAuthorizedApplication") || is_null($this->_propDict["preAuthorizedApplications"])) { + return $this->_propDict["preAuthorizedApplications"]; + } else { + $this->_propDict["preAuthorizedApplications"] = new PreAuthorizedApplication($this->_propDict["preAuthorizedApplications"]); + return $this->_propDict["preAuthorizedApplications"]; + } + } + return null; + } + + /** + * Sets the preAuthorizedApplications + * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. + * + * @param PreAuthorizedApplication $val The value to assign to the preAuthorizedApplications + * + * @return ApiApplication The ApiApplication + */ + public function setPreAuthorizedApplications($val) + { + $this->_propDict["preAuthorizedApplications"] = $val; + return $this; + } + /** + * Gets the requestedAccessTokenVersion + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * + * @return int|null The requestedAccessTokenVersion + */ + public function getRequestedAccessTokenVersion() + { + if (array_key_exists("requestedAccessTokenVersion", $this->_propDict)) { + return $this->_propDict["requestedAccessTokenVersion"]; + } else { + return null; + } + } + + /** + * Sets the requestedAccessTokenVersion + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * + * @param int $val The value of the requestedAccessTokenVersion + * + * @return ApiApplication + */ + public function setRequestedAccessTokenVersion($val) + { + $this->_propDict["requestedAccessTokenVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApiAuthenticationConfigurationBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApiAuthenticationConfigurationBase.php new file mode 100644 index 0000000..cf528a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApiAuthenticationConfigurationBase.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["resourceSpecificApplicationPermissions"], "\Beta\Microsoft\Graph\Model\ResourceSpecificPermission") || is_null($this->_propDict["resourceSpecificApplicationPermissions"])) { + return $this->_propDict["resourceSpecificApplicationPermissions"]; + } else { + $this->_propDict["resourceSpecificApplicationPermissions"] = new ResourceSpecificPermission($this->_propDict["resourceSpecificApplicationPermissions"]); + return $this->_propDict["resourceSpecificApplicationPermissions"]; + } + } + return null; + } + + /** + * Sets the resourceSpecificApplicationPermissions + * + * @param ResourceSpecificPermission $val The value to assign to the resourceSpecificApplicationPermissions + * + * @return ApiServicePrincipal The ApiServicePrincipal + */ + public function setResourceSpecificApplicationPermissions($val) + { + $this->_propDict["resourceSpecificApplicationPermissions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php new file mode 100644 index 0000000..254f299 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php @@ -0,0 +1,132 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the AppCatalogs + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the teamsApps + * + * @return array|null The teamsApps + */ + public function getTeamsApps() + { + if (array_key_exists("teamsApps", $this->_propDict)) { + return $this->_propDict["teamsApps"]; + } else { + return null; + } + } + + /** + * Sets the teamsApps + * + * @param TeamsApp[] $val The teamsApps + * + * @return AppCatalogs + */ + public function setTeamsApps($val) + { + $this->_propDict["teamsApps"] = $val; + 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 AppCatalogs + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConfigurationSettingItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConfigurationSettingItem.php new file mode 100644 index 0000000..d16fd55 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConfigurationSettingItem.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["appConfigKey"]; + } else { + return null; + } + } + + /** + * Sets the appConfigKey + * app configuration key. + * + * @param string $val The value of the appConfigKey + * + * @return AppConfigurationSettingItem + */ + public function setAppConfigKey($val) + { + $this->_propDict["appConfigKey"] = $val; + return $this; + } + + /** + * Gets the appConfigKeyType + * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType. + * + * @return MdmAppConfigKeyType|null The appConfigKeyType + */ + public function getAppConfigKeyType() + { + if (array_key_exists("appConfigKeyType", $this->_propDict)) { + if (is_a($this->_propDict["appConfigKeyType"], "\Beta\Microsoft\Graph\Model\MdmAppConfigKeyType") || is_null($this->_propDict["appConfigKeyType"])) { + return $this->_propDict["appConfigKeyType"]; + } else { + $this->_propDict["appConfigKeyType"] = new MdmAppConfigKeyType($this->_propDict["appConfigKeyType"]); + return $this->_propDict["appConfigKeyType"]; + } + } + return null; + } + + /** + * Sets the appConfigKeyType + * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType. + * + * @param MdmAppConfigKeyType $val The value to assign to the appConfigKeyType + * + * @return AppConfigurationSettingItem The AppConfigurationSettingItem + */ + public function setAppConfigKeyType($val) + { + $this->_propDict["appConfigKeyType"] = $val; + return $this; + } + /** + * Gets the appConfigKeyValue + * app configuration key value. + * + * @return string|null The appConfigKeyValue + */ + public function getAppConfigKeyValue() + { + if (array_key_exists("appConfigKeyValue", $this->_propDict)) { + return $this->_propDict["appConfigKeyValue"]; + } else { + return null; + } + } + + /** + * Sets the appConfigKeyValue + * app configuration key value. + * + * @param string $val The value of the appConfigKeyValue + * + * @return AppConfigurationSettingItem + */ + public function setAppConfigKeyValue($val) + { + $this->_propDict["appConfigKeyValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentApprovalRoute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentApprovalRoute.php new file mode 100644 index 0000000..499cef3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentApprovalRoute.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["appConsentRequests"]; + } else { + return null; + } + } + + /** + * Sets the appConsentRequests + * A collection of userConsentRequest objects for a specific application. + * + * @param AppConsentRequest[] $val The appConsentRequests + * + * @return AppConsentApprovalRoute + */ + public function setAppConsentRequests($val) + { + $this->_propDict["appConsentRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequest.php new file mode 100644 index 0000000..853cad2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequest.php @@ -0,0 +1,174 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby. + * + * @param string $val The appDisplayName + * + * @return AppConsentRequest + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * The identifier of the application. Required. Supports $filter (eq only) and $orderby. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The identifier of the application. Required. Supports $filter (eq only) and $orderby. + * + * @param string $val The appId + * + * @return AppConsentRequest + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the consentType + * The consent type of the request. Possible values are: Static and Dynamic. These represent static and dynamic permissions, respectively, requested in the consent workflow. Supports $filter (eq only) and $orderby. Required. + * + * @return string|null The consentType + */ + public function getConsentType() + { + if (array_key_exists("consentType", $this->_propDict)) { + return $this->_propDict["consentType"]; + } else { + return null; + } + } + + /** + * Sets the consentType + * The consent type of the request. Possible values are: Static and Dynamic. These represent static and dynamic permissions, respectively, requested in the consent workflow. Supports $filter (eq only) and $orderby. Required. + * + * @param string $val The consentType + * + * @return AppConsentRequest + */ + public function setConsentType($val) + { + $this->_propDict["consentType"] = $val; + return $this; + } + + + /** + * Gets the pendingScopes + * A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required. + * + * @return array|null The pendingScopes + */ + public function getPendingScopes() + { + if (array_key_exists("pendingScopes", $this->_propDict)) { + return $this->_propDict["pendingScopes"]; + } else { + return null; + } + } + + /** + * Sets the pendingScopes + * A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required. + * + * @param AppConsentRequestScope[] $val The pendingScopes + * + * @return AppConsentRequest + */ + public function setPendingScopes($val) + { + $this->_propDict["pendingScopes"] = $val; + return $this; + } + + + /** + * Gets the userConsentRequests + * A list of pending user consent requests. + * + * @return array|null The userConsentRequests + */ + public function getUserConsentRequests() + { + if (array_key_exists("userConsentRequests", $this->_propDict)) { + return $this->_propDict["userConsentRequests"]; + } else { + return null; + } + } + + /** + * Sets the userConsentRequests + * A list of pending user consent requests. + * + * @param UserConsentRequest[] $val The userConsentRequests + * + * @return AppConsentRequest + */ + public function setUserConsentRequests($val) + { + $this->_propDict["userConsentRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php new file mode 100644 index 0000000..272add4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the scope. + * + * @param string $val The value of the displayName + * + * @return AppConsentRequestScope + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCredentialRestrictionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCredentialRestrictionType.php new file mode 100644 index 0000000..c3d7c78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCredentialRestrictionType.php @@ -0,0 +1,38 @@ +setODataType("#microsoft.graph.appHostedMediaConfig"); + } + + /** + * Gets the blob + * The media configuration blob generated by smart media agent. + * + * @return string|null The blob + */ + public function getBlob() + { + if (array_key_exists("blob", $this->_propDict)) { + return $this->_propDict["blob"]; + } else { + return null; + } + } + + /** + * Sets the blob + * The media configuration blob generated by smart media agent. + * + * @param string $val The value of the blob + * + * @return AppHostedMediaConfig + */ + public function setBlob($val) + { + $this->_propDict["blob"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppIdentity.php new file mode 100644 index 0000000..3c2695a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppIdentity.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * Refers to the unique identifier representing Application Id in the Azure Active Directory. + * + * @param string $val The value of the appId + * + * @return AppIdentity + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the displayName + * Refers to the Application Name displayed in the Azure Portal. + * + * @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 + * Refers to the Application Name displayed in the Azure Portal. + * + * @param string $val The value of the displayName + * + * @return AppIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the servicePrincipalId + * Refers to the unique identifier indicating Service Principal Id in Azure Active Directory for the corresponding App. + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * Refers to the unique identifier indicating Service Principal Id in Azure Active Directory for the corresponding App. + * + * @param string $val The value of the servicePrincipalId + * + * @return AppIdentity + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } + /** + * Gets the servicePrincipalName + * Refers to the Service Principal Name is the Application name in the tenant. + * + * @return string|null The servicePrincipalName + */ + public function getServicePrincipalName() + { + if (array_key_exists("servicePrincipalName", $this->_propDict)) { + return $this->_propDict["servicePrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalName + * Refers to the Service Principal Name is the Application name in the tenant. + * + * @param string $val The value of the servicePrincipalName + * + * @return AppIdentity + */ + public function setServicePrincipalName($val) + { + $this->_propDict["servicePrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppInstallControlType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppInstallControlType.php new file mode 100644 index 0000000..079f8b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppInstallControlType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application or bundle identifier of the application + * + * @param string $val The value of the appId + * + * @return AppListItem + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the appStoreUrl + * The Store URL of the application + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Store URL of the application + * + * @param string $val The value of the appStoreUrl + * + * @return AppListItem + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + /** + * Gets the name + * The application name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The application name + * + * @param string $val The value of the name + * + * @return AppListItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the publisher + * The publisher of the application + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher of the application + * + * @param string $val The value of the publisher + * + * @return AppListItem + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppListType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppListType.php new file mode 100644 index 0000000..cf138dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppListType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["appLogDecryptionAlgorithm"], "\Beta\Microsoft\Graph\Model\AppLogDecryptionAlgorithm") || is_null($this->_propDict["appLogDecryptionAlgorithm"])) { + return $this->_propDict["appLogDecryptionAlgorithm"]; + } else { + $this->_propDict["appLogDecryptionAlgorithm"] = new AppLogDecryptionAlgorithm($this->_propDict["appLogDecryptionAlgorithm"]); + return $this->_propDict["appLogDecryptionAlgorithm"]; + } + } + return null; + } + + /** + * Sets the appLogDecryptionAlgorithm + * DecryptionAlgorithm for Content. Possible values are: aes256. + * + * @param AppLogDecryptionAlgorithm $val The value to assign to the appLogDecryptionAlgorithm + * + * @return AppLogCollectionDownloadDetails The AppLogCollectionDownloadDetails + */ + public function setAppLogDecryptionAlgorithm($val) + { + $this->_propDict["appLogDecryptionAlgorithm"] = $val; + return $this; + } + /** + * Gets the decryptionKey + * DecryptionKey as string + * + * @return string|null The decryptionKey + */ + public function getDecryptionKey() + { + if (array_key_exists("decryptionKey", $this->_propDict)) { + return $this->_propDict["decryptionKey"]; + } else { + return null; + } + } + + /** + * Sets the decryptionKey + * DecryptionKey as string + * + * @param string $val The value of the decryptionKey + * + * @return AppLogCollectionDownloadDetails + */ + public function setDecryptionKey($val) + { + $this->_propDict["decryptionKey"] = $val; + return $this; + } + /** + * Gets the downloadUrl + * Download SAS Url for completed AppLogUploadRequest + * + * @return string|null The downloadUrl + */ + public function getDownloadUrl() + { + if (array_key_exists("downloadUrl", $this->_propDict)) { + return $this->_propDict["downloadUrl"]; + } else { + return null; + } + } + + /** + * Sets the downloadUrl + * Download SAS Url for completed AppLogUploadRequest + * + * @param string $val The value of the downloadUrl + * + * @return AppLogCollectionDownloadDetails + */ + public function setDownloadUrl($val) + { + $this->_propDict["downloadUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogCollectionRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogCollectionRequest.php new file mode 100644 index 0000000..afe6672 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogCollectionRequest.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Time at which the upload log request reached a terminal state + * + * @param \DateTime $val The completedDateTime + * + * @return AppLogCollectionRequest + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the customLogFolders + * List of log folders. + * + * @return string|null The customLogFolders + */ + public function getCustomLogFolders() + { + if (array_key_exists("customLogFolders", $this->_propDict)) { + return $this->_propDict["customLogFolders"]; + } else { + return null; + } + } + + /** + * Sets the customLogFolders + * List of log folders. + * + * @param string $val The customLogFolders + * + * @return AppLogCollectionRequest + */ + public function setCustomLogFolders($val) + { + $this->_propDict["customLogFolders"] = $val; + return $this; + } + + /** + * Gets the errorMessage + * Error message if any during the upload process + * + * @return string|null The errorMessage + */ + public function getErrorMessage() + { + if (array_key_exists("errorMessage", $this->_propDict)) { + return $this->_propDict["errorMessage"]; + } else { + return null; + } + } + + /** + * Sets the errorMessage + * Error message if any during the upload process + * + * @param string $val The errorMessage + * + * @return AppLogCollectionRequest + */ + public function setErrorMessage($val) + { + $this->_propDict["errorMessage"] = $val; + return $this; + } + + /** + * Gets the status + * Log upload status. Possible values are: pending, completed, failed. + * + * @return AppLogUploadState|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AppLogUploadState") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AppLogUploadState($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Log upload status. Possible values are: pending, completed, failed. + * + * @param AppLogUploadState $val The status + * + * @return AppLogCollectionRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogDecryptionAlgorithm.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogDecryptionAlgorithm.php new file mode 100644 index 0000000..430ac3a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogDecryptionAlgorithm.php @@ -0,0 +1,33 @@ +_propDict)) { + if (is_a($this->_propDict["keyCredentials"], "\Beta\Microsoft\Graph\Model\KeyCredentialConfiguration") || is_null($this->_propDict["keyCredentials"])) { + return $this->_propDict["keyCredentials"]; + } else { + $this->_propDict["keyCredentials"] = new KeyCredentialConfiguration($this->_propDict["keyCredentials"]); + return $this->_propDict["keyCredentials"]; + } + } + return null; + } + + /** + * Sets the keyCredentials + * Collection of keyCredential restrictions settings to be applied to an application or service principal. + * + * @param KeyCredentialConfiguration $val The value to assign to the keyCredentials + * + * @return AppManagementConfiguration The AppManagementConfiguration + */ + public function setKeyCredentials($val) + { + $this->_propDict["keyCredentials"] = $val; + return $this; + } + + /** + * Gets the passwordCredentials + * Collection of password restrictions settings to be applied to an application or service principal. + * + * @return PasswordCredentialConfiguration|null The passwordCredentials + */ + public function getPasswordCredentials() + { + if (array_key_exists("passwordCredentials", $this->_propDict)) { + if (is_a($this->_propDict["passwordCredentials"], "\Beta\Microsoft\Graph\Model\PasswordCredentialConfiguration") || is_null($this->_propDict["passwordCredentials"])) { + return $this->_propDict["passwordCredentials"]; + } else { + $this->_propDict["passwordCredentials"] = new PasswordCredentialConfiguration($this->_propDict["passwordCredentials"]); + return $this->_propDict["passwordCredentials"]; + } + } + return null; + } + + /** + * Sets the passwordCredentials + * Collection of password restrictions settings to be applied to an application or service principal. + * + * @param PasswordCredentialConfiguration $val The value to assign to the passwordCredentials + * + * @return AppManagementConfiguration The AppManagementConfiguration + */ + public function setPasswordCredentials($val) + { + $this->_propDict["passwordCredentials"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppManagementLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppManagementLevel.php new file mode 100644 index 0000000..d310c5c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppManagementLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * + * @param bool $val The isEnabled + * + * @return AppManagementPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the restrictions + * + * @return AppManagementConfiguration|null The restrictions + */ + public function getRestrictions() + { + if (array_key_exists("restrictions", $this->_propDict)) { + if (is_a($this->_propDict["restrictions"], "\Beta\Microsoft\Graph\Model\AppManagementConfiguration") || is_null($this->_propDict["restrictions"])) { + return $this->_propDict["restrictions"]; + } else { + $this->_propDict["restrictions"] = new AppManagementConfiguration($this->_propDict["restrictions"]); + return $this->_propDict["restrictions"]; + } + } + return null; + } + + /** + * Sets the restrictions + * + * @param AppManagementConfiguration $val The restrictions + * + * @return AppManagementPolicy + */ + public function setRestrictions($val) + { + $this->_propDict["restrictions"] = $val; + return $this; + } + + + /** + * Gets the appliesTo + * + * @return array|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * + * @param DirectoryObject[] $val The appliesTo + * + * @return AppManagementPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadata.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadata.php new file mode 100644 index 0000000..8181513 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadata.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\AppMetadataEntry") || is_null($this->_propDict["data"])) { + return $this->_propDict["data"]; + } else { + $this->_propDict["data"] = new AppMetadataEntry($this->_propDict["data"]); + return $this->_propDict["data"]; + } + } + return null; + } + + /** + * Sets the data + * + * @param AppMetadataEntry $val The value to assign to the data + * + * @return AppMetadata The AppMetadata + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } + /** + * Gets the version + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param int $val The value of the version + * + * @return AppMetadata + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadataEntry.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadataEntry.php new file mode 100644 index 0000000..90f42ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadataEntry.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * + * @param string $val The value of the key + * + * @return AppMetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + + /** + * Gets the value + * + * @return \GuzzleHttp\Psr7\Stream|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the value + * + * @return AppMetadataEntry The AppMetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRole.php new file mode 100644 index 0000000..4a53f3b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRole.php @@ -0,0 +1,222 @@ +_propDict)) { + return $this->_propDict["allowedMemberTypes"]; + } else { + return null; + } + } + + /** + * Sets the allowedMemberTypes + * Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities. + * + * @param string $val The value of the allowedMemberTypes + * + * @return AppRole + */ + public function setAllowedMemberTypes($val) + { + $this->_propDict["allowedMemberTypes"] = $val; + return $this; + } + /** + * Gets the description + * The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during consent experiences. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during consent experiences. + * + * @param string $val The value of the description + * + * @return AppRole + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name for the permission that appears in the app role assignment and consent experiences. + * + * @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 + * Display name for the permission that appears in the app role assignment and consent experiences. + * + * @param string $val The value of the displayName + * + * @return AppRole + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided. + * + * @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 + * Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided. + * + * @param string $val The value of the id + * + * @return AppRole + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEnabled + * When creating or updating an app role, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed. + * + * @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 + * When creating or updating an app role, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed. + * + * @param bool $val The value of the isEnabled + * + * @return AppRole + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the origin + * Specifies if the app role is defined on the application object or on the servicePrincipal entity. Must not be included in any POST or PATCH requests. Read-only. + * + * @return string|null The origin + */ + public function getOrigin() + { + if (array_key_exists("origin", $this->_propDict)) { + return $this->_propDict["origin"]; + } else { + return null; + } + } + + /** + * Sets the origin + * Specifies if the app role is defined on the application object or on the servicePrincipal entity. Must not be included in any POST or PATCH requests. Read-only. + * + * @param string $val The value of the origin + * + * @return AppRole + */ + public function setOrigin($val) + { + $this->_propDict["origin"] = $val; + return $this; + } + /** + * Gets the value + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @param string $val The value of the value + * + * @return AppRole + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRoleAssignment.php new file mode 100644 index 0000000..2e2ac05 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRoleAssignment.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["appRoleId"]; + } else { + return null; + } + } + + /** + * Sets the appRoleId + * The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create. + * + * @param string $val The appRoleId + * + * @return AppRoleAssignment + */ + public function setAppRoleId($val) + { + $this->_propDict["appRoleId"] = $val; + return $this; + } + + /** + * Gets the creationTimestamp + * The time when the app role assignment was created. 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 creationTimestamp + */ + public function getCreationTimestamp() + { + if (array_key_exists("creationTimestamp", $this->_propDict)) { + if (is_a($this->_propDict["creationTimestamp"], "\DateTime") || is_null($this->_propDict["creationTimestamp"])) { + return $this->_propDict["creationTimestamp"]; + } else { + $this->_propDict["creationTimestamp"] = new \DateTime($this->_propDict["creationTimestamp"]); + return $this->_propDict["creationTimestamp"]; + } + } + return null; + } + + /** + * Sets the creationTimestamp + * The time when the app role assignment was created. 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 creationTimestamp + * + * @return AppRoleAssignment + */ + public function setCreationTimestamp($val) + { + $this->_propDict["creationTimestamp"] = $val; + return $this; + } + + /** + * Gets the principalDisplayName + * The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). + * + * @return string|null The principalDisplayName + */ + public function getPrincipalDisplayName() + { + if (array_key_exists("principalDisplayName", $this->_propDict)) { + return $this->_propDict["principalDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the principalDisplayName + * The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). + * + * @param string $val The principalDisplayName + * + * @return AppRoleAssignment + */ + public function setPrincipalDisplayName($val) + { + $this->_propDict["principalDisplayName"] = $val; + return $this; + } + + /** + * Gets the principalId + * The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create. + * + * @param string $val The principalId + * + * @return AppRoleAssignment + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the principalType + * The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only. + * + * @return string|null The principalType + */ + public function getPrincipalType() + { + if (array_key_exists("principalType", $this->_propDict)) { + return $this->_propDict["principalType"]; + } else { + return null; + } + } + + /** + * Sets the principalType + * The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only. + * + * @param string $val The principalType + * + * @return AppRoleAssignment + */ + public function setPrincipalType($val) + { + $this->_propDict["principalType"] = $val; + return $this; + } + + /** + * Gets the resourceDisplayName + * The display name of the resource app's service principal to which the assignment is made. + * + * @return string|null The resourceDisplayName + */ + public function getResourceDisplayName() + { + if (array_key_exists("resourceDisplayName", $this->_propDict)) { + return $this->_propDict["resourceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the resourceDisplayName + * The display name of the resource app's service principal to which the assignment is made. + * + * @param string $val The resourceDisplayName + * + * @return AppRoleAssignment + */ + public function setResourceDisplayName($val) + { + $this->_propDict["resourceDisplayName"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only). + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only). + * + * @param string $val The resourceId + * + * @return AppRoleAssignment + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppScope.php new file mode 100644 index 0000000..c1d5810 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppScope.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable id. This property is read only. + * + * @param string $val The displayName + * + * @return AppScope + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the type + * Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. + * + * @param string $val The type + * + * @return AppScope + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityManagedDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityManagedDevice.php new file mode 100644 index 0000000..0c5944d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityManagedDevice.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The device name. + * + * @param string $val The displayName + * + * @return AppVulnerabilityManagedDevice + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The created date. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The created date. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return AppVulnerabilityManagedDevice + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The Intune managed device ID. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The Intune managed device ID. + * + * @param string $val The managedDeviceId + * + * @return AppVulnerabilityManagedDevice + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityMobileApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityMobileApp.php new file mode 100644 index 0000000..e6e35ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityMobileApp.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The created date. + * + * @param \DateTime $val The createdDateTime + * + * @return AppVulnerabilityMobileApp + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The device name. + * + * @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 + * The device name. + * + * @param string $val The displayName + * + * @return AppVulnerabilityMobileApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last modified date. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last modified date. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AppVulnerabilityMobileApp + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the mobileAppId + * The Intune mobile app ID. + * + * @return string|null The mobileAppId + */ + public function getMobileAppId() + { + if (array_key_exists("mobileAppId", $this->_propDict)) { + return $this->_propDict["mobileAppId"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppId + * The Intune mobile app ID. + * + * @param string $val The mobileAppId + * + * @return AppVulnerabilityMobileApp + */ + public function setMobileAppId($val) + { + $this->_propDict["mobileAppId"] = $val; + return $this; + } + + /** + * Gets the mobileAppType + * The app type. + * + * @return string|null The mobileAppType + */ + public function getMobileAppType() + { + if (array_key_exists("mobileAppType", $this->_propDict)) { + return $this->_propDict["mobileAppType"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppType + * The app type. + * + * @param string $val The mobileAppType + * + * @return AppVulnerabilityMobileApp + */ + public function setMobileAppType($val) + { + $this->_propDict["mobileAppType"] = $val; + return $this; + } + + /** + * Gets the version + * The app version. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The app version. + * + * @param string $val The version + * + * @return AppVulnerabilityMobileApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTask.php new file mode 100644 index 0000000..702a214 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTask.php @@ -0,0 +1,323 @@ +_propDict)) { + return $this->_propDict["appName"]; + } else { + return null; + } + } + + /** + * Sets the appName + * The app name. + * + * @param string $val The appName + * + * @return AppVulnerabilityTask + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The app publisher. + * + * @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 + * The app publisher. + * + * @param string $val The appPublisher + * + * @return AppVulnerabilityTask + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appVersion + * The app version. + * + * @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 + * The app version. + * + * @param string $val The appVersion + * + * @return AppVulnerabilityTask + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the insights + * Information about the mitigation. + * + * @return string|null The insights + */ + public function getInsights() + { + if (array_key_exists("insights", $this->_propDict)) { + return $this->_propDict["insights"]; + } else { + return null; + } + } + + /** + * Sets the insights + * Information about the mitigation. + * + * @param string $val The insights + * + * @return AppVulnerabilityTask + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + /** + * Gets the managedDeviceCount + * The number of vulnerable devices. + * + * @return int|null The managedDeviceCount + */ + public function getManagedDeviceCount() + { + if (array_key_exists("managedDeviceCount", $this->_propDict)) { + return $this->_propDict["managedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCount + * The number of vulnerable devices. + * + * @param int $val The managedDeviceCount + * + * @return AppVulnerabilityTask + */ + public function setManagedDeviceCount($val) + { + $this->_propDict["managedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the mitigationType + * The mitigation type. Possible values are: unknown, update, uninstall, securityConfiguration. + * + * @return AppVulnerabilityTaskMitigationType|null The mitigationType + */ + public function getMitigationType() + { + if (array_key_exists("mitigationType", $this->_propDict)) { + if (is_a($this->_propDict["mitigationType"], "\Beta\Microsoft\Graph\Model\AppVulnerabilityTaskMitigationType") || is_null($this->_propDict["mitigationType"])) { + return $this->_propDict["mitigationType"]; + } else { + $this->_propDict["mitigationType"] = new AppVulnerabilityTaskMitigationType($this->_propDict["mitigationType"]); + return $this->_propDict["mitigationType"]; + } + } + return null; + } + + /** + * Sets the mitigationType + * The mitigation type. Possible values are: unknown, update, uninstall, securityConfiguration. + * + * @param AppVulnerabilityTaskMitigationType $val The mitigationType + * + * @return AppVulnerabilityTask + */ + public function setMitigationType($val) + { + $this->_propDict["mitigationType"] = $val; + return $this; + } + + /** + * Gets the mobileAppCount + * The number of vulnerable mobile apps. + * + * @return int|null The mobileAppCount + */ + public function getMobileAppCount() + { + if (array_key_exists("mobileAppCount", $this->_propDict)) { + return $this->_propDict["mobileAppCount"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppCount + * The number of vulnerable mobile apps. + * + * @param int $val The mobileAppCount + * + * @return AppVulnerabilityTask + */ + public function setMobileAppCount($val) + { + $this->_propDict["mobileAppCount"] = intval($val); + return $this; + } + + /** + * Gets the remediation + * The remediation steps. + * + * @return string|null The remediation + */ + public function getRemediation() + { + if (array_key_exists("remediation", $this->_propDict)) { + return $this->_propDict["remediation"]; + } else { + return null; + } + } + + /** + * Sets the remediation + * The remediation steps. + * + * @param string $val The remediation + * + * @return AppVulnerabilityTask + */ + public function setRemediation($val) + { + $this->_propDict["remediation"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The vulnerable managed devices. + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The vulnerable managed devices. + * + * @param AppVulnerabilityManagedDevice[] $val The managedDevices + * + * @return AppVulnerabilityTask + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + + + /** + * Gets the mobileApps + * The vulnerable mobile apps. + * + * @return array|null The mobileApps + */ + public function getMobileApps() + { + if (array_key_exists("mobileApps", $this->_propDict)) { + return $this->_propDict["mobileApps"]; + } else { + return null; + } + } + + /** + * Sets the mobileApps + * The vulnerable mobile apps. + * + * @param AppVulnerabilityMobileApp[] $val The mobileApps + * + * @return AppVulnerabilityTask + */ + public function setMobileApps($val) + { + $this->_propDict["mobileApps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTaskMitigationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTaskMitigationType.php new file mode 100644 index 0000000..0f6f219 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTaskMitigationType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["airPrintDestinations"]; + } else { + return null; + } + } + + /** + * Sets the airPrintDestinations + * An array of AirPrint printers that should always be shown. This collection can contain a maximum of 500 elements. + * + * @param AirPrintDestination[] $val The airPrintDestinations + * + * @return AppleDeviceFeaturesConfigurationBase + */ + public function setAirPrintDestinations($val) + { + $this->_propDict["airPrintDestinations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleEnrollmentProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleEnrollmentProfileAssignment.php new file mode 100644 index 0000000..22b2d89 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleEnrollmentProfileAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the Apple user initiated deployment profile. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return AppleEnrollmentProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleExpeditedCheckinConfigurationBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleExpeditedCheckinConfigurationBase.php new file mode 100644 index 0000000..9625307 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleExpeditedCheckinConfigurationBase.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["enableExpeditedCheckin"]; + } else { + return null; + } + } + + /** + * Sets the enableExpeditedCheckin + * Gets or sets whether to enable expedited device check-ins. + * + * @param bool $val The enableExpeditedCheckin + * + * @return AppleExpeditedCheckinConfigurationBase + */ + public function setEnableExpeditedCheckin($val) + { + $this->_propDict["enableExpeditedCheckin"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php new file mode 100644 index 0000000..5d559b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["certificateData"]; + } else { + return null; + } + } + + /** + * Sets the certificateData + * The certificate data which is a long string of text from the certificate, can be null. + * + * @param string $val The certificateData + * + * @return AppleManagedIdentityProvider + */ + public function setCertificateData($val) + { + $this->_propDict["certificateData"] = $val; + return $this; + } + + /** + * Gets the developerId + * The Apple developer identifier. Required. + * + * @return string|null The developerId + */ + public function getDeveloperId() + { + if (array_key_exists("developerId", $this->_propDict)) { + return $this->_propDict["developerId"]; + } else { + return null; + } + } + + /** + * Sets the developerId + * The Apple developer identifier. Required. + * + * @param string $val The developerId + * + * @return AppleManagedIdentityProvider + */ + public function setDeveloperId($val) + { + $this->_propDict["developerId"] = $val; + return $this; + } + + /** + * Gets the keyId + * The Apple key identifier. Required. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The Apple key identifier. Required. + * + * @param string $val The keyId + * + * @return AppleManagedIdentityProvider + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + + /** + * Gets the serviceId + * The Apple service identifier. Required. + * + * @return string|null The serviceId + */ + public function getServiceId() + { + if (array_key_exists("serviceId", $this->_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * The Apple service identifier. Required. + * + * @param string $val The serviceId + * + * @return AppleManagedIdentityProvider + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleOwnerTypeEnrollmentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleOwnerTypeEnrollmentType.php new file mode 100644 index 0000000..5ba7318 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleOwnerTypeEnrollmentType.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["enrollmentType"], "\Beta\Microsoft\Graph\Model\AppleUserInitiatedEnrollmentType") || is_null($this->_propDict["enrollmentType"])) { + return $this->_propDict["enrollmentType"]; + } else { + $this->_propDict["enrollmentType"] = new AppleUserInitiatedEnrollmentType($this->_propDict["enrollmentType"]); + return $this->_propDict["enrollmentType"]; + } + } + return null; + } + + /** + * Sets the enrollmentType + * The enrollment type. Possible values are: unknown, device, user. + * + * @param AppleUserInitiatedEnrollmentType $val The value to assign to the enrollmentType + * + * @return AppleOwnerTypeEnrollmentType The AppleOwnerTypeEnrollmentType + */ + public function setEnrollmentType($val) + { + $this->_propDict["enrollmentType"] = $val; + return $this; + } + + /** + * Gets the ownerType + * The owner type. Possible values are: unknown, company, personal. + * + * @return ManagedDeviceOwnerType|null The ownerType + */ + public function getOwnerType() + { + if (array_key_exists("ownerType", $this->_propDict)) { + if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\ManagedDeviceOwnerType") || is_null($this->_propDict["ownerType"])) { + return $this->_propDict["ownerType"]; + } else { + $this->_propDict["ownerType"] = new ManagedDeviceOwnerType($this->_propDict["ownerType"]); + return $this->_propDict["ownerType"]; + } + } + return null; + } + + /** + * Sets the ownerType + * The owner type. Possible values are: unknown, company, personal. + * + * @param ManagedDeviceOwnerType $val The value to assign to the ownerType + * + * @return AppleOwnerTypeEnrollmentType The AppleOwnerTypeEnrollmentType + */ + public function setOwnerType($val) + { + $this->_propDict["ownerType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplePushNotificationCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplePushNotificationCertificate.php new file mode 100644 index 0000000..aec38f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplePushNotificationCertificate.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["appleIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the appleIdentifier + * Apple Id of the account used to create the MDM push certificate. + * + * @param string $val The appleIdentifier + * + * @return ApplePushNotificationCertificate + */ + public function setAppleIdentifier($val) + { + $this->_propDict["appleIdentifier"] = $val; + return $this; + } + + /** + * Gets the certificate + * Not yet documented + * + * @return string|null The certificate + */ + public function getCertificate() + { + if (array_key_exists("certificate", $this->_propDict)) { + return $this->_propDict["certificate"]; + } else { + return null; + } + } + + /** + * Sets the certificate + * Not yet documented + * + * @param string $val The certificate + * + * @return ApplePushNotificationCertificate + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + + /** + * Gets the certificateSerialNumber + * Certificate serial number. This property is read-only. + * + * @return string|null The certificateSerialNumber + */ + public function getCertificateSerialNumber() + { + if (array_key_exists("certificateSerialNumber", $this->_propDict)) { + return $this->_propDict["certificateSerialNumber"]; + } else { + return null; + } + } + + /** + * Sets the certificateSerialNumber + * Certificate serial number. This property is read-only. + * + * @param string $val The certificateSerialNumber + * + * @return ApplePushNotificationCertificate + */ + public function setCertificateSerialNumber($val) + { + $this->_propDict["certificateSerialNumber"] = $val; + return $this; + } + + /** + * Gets the certificateUploadFailureReason + * The reason the certificate upload failed. + * + * @return string|null The certificateUploadFailureReason + */ + public function getCertificateUploadFailureReason() + { + if (array_key_exists("certificateUploadFailureReason", $this->_propDict)) { + return $this->_propDict["certificateUploadFailureReason"]; + } else { + return null; + } + } + + /** + * Sets the certificateUploadFailureReason + * The reason the certificate upload failed. + * + * @param string $val The certificateUploadFailureReason + * + * @return ApplePushNotificationCertificate + */ + public function setCertificateUploadFailureReason($val) + { + $this->_propDict["certificateUploadFailureReason"] = $val; + return $this; + } + + /** + * Gets the certificateUploadStatus + * The certificate upload status. + * + * @return string|null The certificateUploadStatus + */ + public function getCertificateUploadStatus() + { + if (array_key_exists("certificateUploadStatus", $this->_propDict)) { + return $this->_propDict["certificateUploadStatus"]; + } else { + return null; + } + } + + /** + * Sets the certificateUploadStatus + * The certificate upload status. + * + * @param string $val The certificateUploadStatus + * + * @return ApplePushNotificationCertificate + */ + public function setCertificateUploadStatus($val) + { + $this->_propDict["certificateUploadStatus"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date and time for Apple push notification certificate. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date and time for Apple push notification certificate. + * + * @param \DateTime $val The expirationDateTime + * + * @return ApplePushNotificationCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified date and time for Apple push notification certificate. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified date and time for Apple push notification certificate. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ApplePushNotificationCertificate + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the topicIdentifier + * Topic Id. + * + * @return string|null The topicIdentifier + */ + public function getTopicIdentifier() + { + if (array_key_exists("topicIdentifier", $this->_propDict)) { + return $this->_propDict["topicIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the topicIdentifier + * Topic Id. + * + * @param string $val The topicIdentifier + * + * @return ApplePushNotificationCertificate + */ + public function setTopicIdentifier($val) + { + $this->_propDict["topicIdentifier"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleSubjectNameFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleSubjectNameFormat.php new file mode 100644 index 0000000..a496eb1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleSubjectNameFormat.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["availableEnrollmentTypeOptions"]; + } else { + return null; + } + } + + /** + * Sets the availableEnrollmentTypeOptions + * List of available enrollment type options + * + * @param AppleOwnerTypeEnrollmentType[] $val The availableEnrollmentTypeOptions + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setAvailableEnrollmentTypeOptions($val) + { + $this->_propDict["availableEnrollmentTypeOptions"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Profile creation time + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Profile creation time + * + * @param \DateTime $val The createdDateTime + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the defaultEnrollmentType + * The default profile enrollment type. Possible values are: unknown, device, user. + * + * @return AppleUserInitiatedEnrollmentType|null The defaultEnrollmentType + */ + public function getDefaultEnrollmentType() + { + if (array_key_exists("defaultEnrollmentType", $this->_propDict)) { + if (is_a($this->_propDict["defaultEnrollmentType"], "\Beta\Microsoft\Graph\Model\AppleUserInitiatedEnrollmentType") || is_null($this->_propDict["defaultEnrollmentType"])) { + return $this->_propDict["defaultEnrollmentType"]; + } else { + $this->_propDict["defaultEnrollmentType"] = new AppleUserInitiatedEnrollmentType($this->_propDict["defaultEnrollmentType"]); + return $this->_propDict["defaultEnrollmentType"]; + } + } + return null; + } + + /** + * Sets the defaultEnrollmentType + * The default profile enrollment type. Possible values are: unknown, device, user. + * + * @param AppleUserInitiatedEnrollmentType $val The defaultEnrollmentType + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setDefaultEnrollmentType($val) + { + $this->_propDict["defaultEnrollmentType"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the profile + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the profile + * + * @param string $val The description + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the profile + * + * @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 + * Name of the profile + * + * @param string $val The displayName + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Profile last modified time + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Profile last modified time + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the platform + * The platform of the Device. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP. + * + * @return DevicePlatformType|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new DevicePlatformType($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * The platform of the Device. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP. + * + * @param DevicePlatformType $val The platform + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the priority + * Priority, 0 is highest + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority, 0 is highest + * + * @param int $val The priority + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for this profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for this profile. + * + * @param AppleEnrollmentProfileAssignment[] $val The assignments + * + * @return AppleUserInitiatedEnrollmentProfile + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleUserInitiatedEnrollmentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleUserInitiatedEnrollmentType.php new file mode 100644 index 0000000..47065cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleUserInitiatedEnrollmentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["airPrintExceptionAction"], "\Beta\Microsoft\Graph\Model\VpnServiceExceptionAction") || is_null($this->_propDict["airPrintExceptionAction"])) { + return $this->_propDict["airPrintExceptionAction"]; + } else { + $this->_propDict["airPrintExceptionAction"] = new VpnServiceExceptionAction($this->_propDict["airPrintExceptionAction"]); + return $this->_propDict["airPrintExceptionAction"]; + } + } + return null; + } + + /** + * Sets the airPrintExceptionAction + * Determine whether AirPrint service will be exempt from the always-on VPN connection. Possible values are: forceTrafficViaVPN, allowTrafficOutside, dropTraffic. + * + * @param VpnServiceExceptionAction $val The value to assign to the airPrintExceptionAction + * + * @return AppleVpnAlwaysOnConfiguration The AppleVpnAlwaysOnConfiguration + */ + public function setAirPrintExceptionAction($val) + { + $this->_propDict["airPrintExceptionAction"] = $val; + return $this; + } + /** + * Gets the allowAllCaptiveNetworkPlugins + * Specifies whether traffic from all captive network plugins should be allowed outside the vpn + * + * @return bool|null The allowAllCaptiveNetworkPlugins + */ + public function getAllowAllCaptiveNetworkPlugins() + { + if (array_key_exists("allowAllCaptiveNetworkPlugins", $this->_propDict)) { + return $this->_propDict["allowAllCaptiveNetworkPlugins"]; + } else { + return null; + } + } + + /** + * Sets the allowAllCaptiveNetworkPlugins + * Specifies whether traffic from all captive network plugins should be allowed outside the vpn + * + * @param bool $val The value of the allowAllCaptiveNetworkPlugins + * + * @return AppleVpnAlwaysOnConfiguration + */ + public function setAllowAllCaptiveNetworkPlugins($val) + { + $this->_propDict["allowAllCaptiveNetworkPlugins"] = $val; + return $this; + } + /** + * Gets the allowCaptiveWebSheet + * Determines whether traffic from the Websheet app is allowed outside of the VPN + * + * @return bool|null The allowCaptiveWebSheet + */ + public function getAllowCaptiveWebSheet() + { + if (array_key_exists("allowCaptiveWebSheet", $this->_propDict)) { + return $this->_propDict["allowCaptiveWebSheet"]; + } else { + return null; + } + } + + /** + * Sets the allowCaptiveWebSheet + * Determines whether traffic from the Websheet app is allowed outside of the VPN + * + * @param bool $val The value of the allowCaptiveWebSheet + * + * @return AppleVpnAlwaysOnConfiguration + */ + public function setAllowCaptiveWebSheet($val) + { + $this->_propDict["allowCaptiveWebSheet"] = $val; + return $this; + } + + /** + * Gets the allowedCaptiveNetworkPlugins + * Determines whether all, some, or no non-native captive networking apps are allowed + * + * @return SpecifiedCaptiveNetworkPlugins|null The allowedCaptiveNetworkPlugins + */ + public function getAllowedCaptiveNetworkPlugins() + { + if (array_key_exists("allowedCaptiveNetworkPlugins", $this->_propDict)) { + if (is_a($this->_propDict["allowedCaptiveNetworkPlugins"], "\Beta\Microsoft\Graph\Model\SpecifiedCaptiveNetworkPlugins") || is_null($this->_propDict["allowedCaptiveNetworkPlugins"])) { + return $this->_propDict["allowedCaptiveNetworkPlugins"]; + } else { + $this->_propDict["allowedCaptiveNetworkPlugins"] = new SpecifiedCaptiveNetworkPlugins($this->_propDict["allowedCaptiveNetworkPlugins"]); + return $this->_propDict["allowedCaptiveNetworkPlugins"]; + } + } + return null; + } + + /** + * Sets the allowedCaptiveNetworkPlugins + * Determines whether all, some, or no non-native captive networking apps are allowed + * + * @param SpecifiedCaptiveNetworkPlugins $val The value to assign to the allowedCaptiveNetworkPlugins + * + * @return AppleVpnAlwaysOnConfiguration The AppleVpnAlwaysOnConfiguration + */ + public function setAllowedCaptiveNetworkPlugins($val) + { + $this->_propDict["allowedCaptiveNetworkPlugins"] = $val; + return $this; + } + + /** + * Gets the cellularExceptionAction + * Determine whether Cellular service will be exempt from the always-on VPN connection. Possible values are: forceTrafficViaVPN, allowTrafficOutside, dropTraffic. + * + * @return VpnServiceExceptionAction|null The cellularExceptionAction + */ + public function getCellularExceptionAction() + { + if (array_key_exists("cellularExceptionAction", $this->_propDict)) { + if (is_a($this->_propDict["cellularExceptionAction"], "\Beta\Microsoft\Graph\Model\VpnServiceExceptionAction") || is_null($this->_propDict["cellularExceptionAction"])) { + return $this->_propDict["cellularExceptionAction"]; + } else { + $this->_propDict["cellularExceptionAction"] = new VpnServiceExceptionAction($this->_propDict["cellularExceptionAction"]); + return $this->_propDict["cellularExceptionAction"]; + } + } + return null; + } + + /** + * Sets the cellularExceptionAction + * Determine whether Cellular service will be exempt from the always-on VPN connection. Possible values are: forceTrafficViaVPN, allowTrafficOutside, dropTraffic. + * + * @param VpnServiceExceptionAction $val The value to assign to the cellularExceptionAction + * + * @return AppleVpnAlwaysOnConfiguration The AppleVpnAlwaysOnConfiguration + */ + public function setCellularExceptionAction($val) + { + $this->_propDict["cellularExceptionAction"] = $val; + return $this; + } + /** + * Gets the natKeepAliveIntervalInSeconds + * Specifies how often in seconds to send a network address translation keepalive package through the VPN + * + * @return int|null The natKeepAliveIntervalInSeconds + */ + public function getNatKeepAliveIntervalInSeconds() + { + if (array_key_exists("natKeepAliveIntervalInSeconds", $this->_propDict)) { + return $this->_propDict["natKeepAliveIntervalInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the natKeepAliveIntervalInSeconds + * Specifies how often in seconds to send a network address translation keepalive package through the VPN + * + * @param int $val The value of the natKeepAliveIntervalInSeconds + * + * @return AppleVpnAlwaysOnConfiguration + */ + public function setNatKeepAliveIntervalInSeconds($val) + { + $this->_propDict["natKeepAliveIntervalInSeconds"] = $val; + return $this; + } + /** + * Gets the natKeepAliveOffloadEnable + * Enable hardware offloading of NAT keepalive signals when the device is asleep + * + * @return bool|null The natKeepAliveOffloadEnable + */ + public function getNatKeepAliveOffloadEnable() + { + if (array_key_exists("natKeepAliveOffloadEnable", $this->_propDict)) { + return $this->_propDict["natKeepAliveOffloadEnable"]; + } else { + return null; + } + } + + /** + * Sets the natKeepAliveOffloadEnable + * Enable hardware offloading of NAT keepalive signals when the device is asleep + * + * @param bool $val The value of the natKeepAliveOffloadEnable + * + * @return AppleVpnAlwaysOnConfiguration + */ + public function setNatKeepAliveOffloadEnable($val) + { + $this->_propDict["natKeepAliveOffloadEnable"] = $val; + return $this; + } + + /** + * Gets the tunnelConfiguration + * Determines what connections the specific tunnel configuration applies to. Possible values are: wifiAndCellular, cellular, wifi. + * + * @return VpnTunnelConfigurationType|null The tunnelConfiguration + */ + public function getTunnelConfiguration() + { + if (array_key_exists("tunnelConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["tunnelConfiguration"], "\Beta\Microsoft\Graph\Model\VpnTunnelConfigurationType") || is_null($this->_propDict["tunnelConfiguration"])) { + return $this->_propDict["tunnelConfiguration"]; + } else { + $this->_propDict["tunnelConfiguration"] = new VpnTunnelConfigurationType($this->_propDict["tunnelConfiguration"]); + return $this->_propDict["tunnelConfiguration"]; + } + } + return null; + } + + /** + * Sets the tunnelConfiguration + * Determines what connections the specific tunnel configuration applies to. Possible values are: wifiAndCellular, cellular, wifi. + * + * @param VpnTunnelConfigurationType $val The value to assign to the tunnelConfiguration + * + * @return AppleVpnAlwaysOnConfiguration The AppleVpnAlwaysOnConfiguration + */ + public function setTunnelConfiguration($val) + { + $this->_propDict["tunnelConfiguration"] = $val; + return $this; + } + /** + * Gets the userToggleEnabled + * Allow the user to toggle the VPN configuration using the UI + * + * @return bool|null The userToggleEnabled + */ + public function getUserToggleEnabled() + { + if (array_key_exists("userToggleEnabled", $this->_propDict)) { + return $this->_propDict["userToggleEnabled"]; + } else { + return null; + } + } + + /** + * Sets the userToggleEnabled + * Allow the user to toggle the VPN configuration using the UI + * + * @param bool $val The value of the userToggleEnabled + * + * @return AppleVpnAlwaysOnConfiguration + */ + public function setUserToggleEnabled($val) + { + $this->_propDict["userToggleEnabled"] = $val; + return $this; + } + + /** + * Gets the voicemailExceptionAction + * Determine whether voicemail service will be exempt from the always-on VPN connection. Possible values are: forceTrafficViaVPN, allowTrafficOutside, dropTraffic. + * + * @return VpnServiceExceptionAction|null The voicemailExceptionAction + */ + public function getVoicemailExceptionAction() + { + if (array_key_exists("voicemailExceptionAction", $this->_propDict)) { + if (is_a($this->_propDict["voicemailExceptionAction"], "\Beta\Microsoft\Graph\Model\VpnServiceExceptionAction") || is_null($this->_propDict["voicemailExceptionAction"])) { + return $this->_propDict["voicemailExceptionAction"]; + } else { + $this->_propDict["voicemailExceptionAction"] = new VpnServiceExceptionAction($this->_propDict["voicemailExceptionAction"]); + return $this->_propDict["voicemailExceptionAction"]; + } + } + return null; + } + + /** + * Sets the voicemailExceptionAction + * Determine whether voicemail service will be exempt from the always-on VPN connection. Possible values are: forceTrafficViaVPN, allowTrafficOutside, dropTraffic. + * + * @param VpnServiceExceptionAction $val The value to assign to the voicemailExceptionAction + * + * @return AppleVpnAlwaysOnConfiguration The AppleVpnAlwaysOnConfiguration + */ + public function setVoicemailExceptionAction($val) + { + $this->_propDict["voicemailExceptionAction"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConfiguration.php new file mode 100644 index 0000000..5ad9d10 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConfiguration.php @@ -0,0 +1,688 @@ +_propDict)) { + return $this->_propDict["associatedDomains"]; + } else { + return null; + } + } + + /** + * Sets the associatedDomains + * Associated Domains + * + * @param string $val The associatedDomains + * + * @return AppleVpnConfiguration + */ + public function setAssociatedDomains($val) + { + $this->_propDict["associatedDomains"] = $val; + return $this; + } + + /** + * Gets the authenticationMethod + * Authentication method for this VPN connection. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @return VpnAuthenticationMethod|null The authenticationMethod + */ + public function getAuthenticationMethod() + { + if (array_key_exists("authenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method for this VPN connection. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @param VpnAuthenticationMethod $val The authenticationMethod + * + * @return AppleVpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the connectionName + * Connection name displayed to the user. + * + * @return string|null The connectionName + */ + public function getConnectionName() + { + if (array_key_exists("connectionName", $this->_propDict)) { + return $this->_propDict["connectionName"]; + } else { + return null; + } + } + + /** + * Sets the connectionName + * Connection name displayed to the user. + * + * @param string $val The connectionName + * + * @return AppleVpnConfiguration + */ + public function setConnectionName($val) + { + $this->_propDict["connectionName"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, customVpn, ciscoIPSec, citrix, ciscoAnyConnectV2, paloAltoGlobalProtect, zscalerPrivateAccess, f5Access2018, citrixSso, paloAltoGlobalProtectV2, ikEv2, alwaysOn, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @return AppleVpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AppleVpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new AppleVpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: ciscoAnyConnect, pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, customVpn, ciscoIPSec, citrix, ciscoAnyConnectV2, paloAltoGlobalProtect, zscalerPrivateAccess, f5Access2018, citrixSso, paloAltoGlobalProtectV2, ikEv2, alwaysOn, microsoftTunnel, netMotionMobility, microsoftProtect. + * + * @param AppleVpnConnectionType $val The connectionType + * + * @return AppleVpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + + /** + * Gets the customData + * Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements. + * + * @return array|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements. + * + * @param KeyValue[] $val The customData + * + * @return AppleVpnConfiguration + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + + /** + * Gets the customKeyValueData + * Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements. + * + * @return array|null The customKeyValueData + */ + public function getCustomKeyValueData() + { + if (array_key_exists("customKeyValueData", $this->_propDict)) { + return $this->_propDict["customKeyValueData"]; + } else { + return null; + } + } + + /** + * Sets the customKeyValueData + * Custom data when connection type is set to Custom VPN. Use this field to enable functionality not supported by Intune, but available in your VPN solution. Contact your VPN vendor to learn how to add these key/value pairs. This collection can contain a maximum of 25 elements. + * + * @param KeyValuePair[] $val The customKeyValueData + * + * @return AppleVpnConfiguration + */ + public function setCustomKeyValueData($val) + { + $this->_propDict["customKeyValueData"] = $val; + return $this; + } + + /** + * Gets the disableOnDemandUserOverride + * Toggle to prevent user from disabling automatic VPN in the Settings app + * + * @return bool|null The disableOnDemandUserOverride + */ + public function getDisableOnDemandUserOverride() + { + if (array_key_exists("disableOnDemandUserOverride", $this->_propDict)) { + return $this->_propDict["disableOnDemandUserOverride"]; + } else { + return null; + } + } + + /** + * Sets the disableOnDemandUserOverride + * Toggle to prevent user from disabling automatic VPN in the Settings app + * + * @param bool $val The disableOnDemandUserOverride + * + * @return AppleVpnConfiguration + */ + public function setDisableOnDemandUserOverride($val) + { + $this->_propDict["disableOnDemandUserOverride"] = boolval($val); + return $this; + } + + /** + * Gets the disconnectOnIdle + * Whether to disconnect after on-demand connection idles + * + * @return bool|null The disconnectOnIdle + */ + public function getDisconnectOnIdle() + { + if (array_key_exists("disconnectOnIdle", $this->_propDict)) { + return $this->_propDict["disconnectOnIdle"]; + } else { + return null; + } + } + + /** + * Sets the disconnectOnIdle + * Whether to disconnect after on-demand connection idles + * + * @param bool $val The disconnectOnIdle + * + * @return AppleVpnConfiguration + */ + public function setDisconnectOnIdle($val) + { + $this->_propDict["disconnectOnIdle"] = boolval($val); + return $this; + } + + /** + * Gets the disconnectOnIdleTimerInSeconds + * The length of time in seconds to wait before disconnecting an on-demand connection. Valid values 0 to 65535 + * + * @return int|null The disconnectOnIdleTimerInSeconds + */ + public function getDisconnectOnIdleTimerInSeconds() + { + if (array_key_exists("disconnectOnIdleTimerInSeconds", $this->_propDict)) { + return $this->_propDict["disconnectOnIdleTimerInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the disconnectOnIdleTimerInSeconds + * The length of time in seconds to wait before disconnecting an on-demand connection. Valid values 0 to 65535 + * + * @param int $val The disconnectOnIdleTimerInSeconds + * + * @return AppleVpnConfiguration + */ + public function setDisconnectOnIdleTimerInSeconds($val) + { + $this->_propDict["disconnectOnIdleTimerInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the enablePerApp + * Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device. + * + * @return bool|null The enablePerApp + */ + public function getEnablePerApp() + { + if (array_key_exists("enablePerApp", $this->_propDict)) { + return $this->_propDict["enablePerApp"]; + } else { + return null; + } + } + + /** + * Sets the enablePerApp + * Setting this to true creates Per-App VPN payload which can later be associated with Apps that can trigger this VPN conneciton on the end user's iOS device. + * + * @param bool $val The enablePerApp + * + * @return AppleVpnConfiguration + */ + public function setEnablePerApp($val) + { + $this->_propDict["enablePerApp"] = boolval($val); + return $this; + } + + /** + * Gets the enableSplitTunneling + * Send all network traffic through VPN. + * + * @return bool|null The enableSplitTunneling + */ + public function getEnableSplitTunneling() + { + if (array_key_exists("enableSplitTunneling", $this->_propDict)) { + return $this->_propDict["enableSplitTunneling"]; + } else { + return null; + } + } + + /** + * Sets the enableSplitTunneling + * Send all network traffic through VPN. + * + * @param bool $val The enableSplitTunneling + * + * @return AppleVpnConfiguration + */ + public function setEnableSplitTunneling($val) + { + $this->_propDict["enableSplitTunneling"] = boolval($val); + return $this; + } + + /** + * Gets the excludedDomains + * Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated + * + * @return string|null The excludedDomains + */ + public function getExcludedDomains() + { + if (array_key_exists("excludedDomains", $this->_propDict)) { + return $this->_propDict["excludedDomains"]; + } else { + return null; + } + } + + /** + * Sets the excludedDomains + * Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated + * + * @param string $val The excludedDomains + * + * @return AppleVpnConfiguration + */ + public function setExcludedDomains($val) + { + $this->_propDict["excludedDomains"] = $val; + return $this; + } + + /** + * Gets the identifier + * Identifier provided by VPN vendor when connection type is set to Custom VPN. For example: Cisco AnyConnect uses an identifier of the form com.cisco.anyconnect.applevpn.plugin + * + * @return string|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * Identifier provided by VPN vendor when connection type is set to Custom VPN. For example: Cisco AnyConnect uses an identifier of the form com.cisco.anyconnect.applevpn.plugin + * + * @param string $val The identifier + * + * @return AppleVpnConfiguration + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the loginGroupOrDomain + * Login group or domain when connection type is set to Dell SonicWALL Mobile Connection. + * + * @return string|null The loginGroupOrDomain + */ + public function getLoginGroupOrDomain() + { + if (array_key_exists("loginGroupOrDomain", $this->_propDict)) { + return $this->_propDict["loginGroupOrDomain"]; + } else { + return null; + } + } + + /** + * Sets the loginGroupOrDomain + * Login group or domain when connection type is set to Dell SonicWALL Mobile Connection. + * + * @param string $val The loginGroupOrDomain + * + * @return AppleVpnConfiguration + */ + public function setLoginGroupOrDomain($val) + { + $this->_propDict["loginGroupOrDomain"] = $val; + return $this; + } + + + /** + * Gets the onDemandRules + * On-Demand Rules. This collection can contain a maximum of 500 elements. + * + * @return array|null The onDemandRules + */ + public function getOnDemandRules() + { + if (array_key_exists("onDemandRules", $this->_propDict)) { + return $this->_propDict["onDemandRules"]; + } else { + return null; + } + } + + /** + * Sets the onDemandRules + * On-Demand Rules. This collection can contain a maximum of 500 elements. + * + * @param VpnOnDemandRule[] $val The onDemandRules + * + * @return AppleVpnConfiguration + */ + public function setOnDemandRules($val) + { + $this->_propDict["onDemandRules"] = $val; + return $this; + } + + /** + * Gets the optInToDeviceIdSharing + * Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation. + * + * @return bool|null The optInToDeviceIdSharing + */ + public function getOptInToDeviceIdSharing() + { + if (array_key_exists("optInToDeviceIdSharing", $this->_propDict)) { + return $this->_propDict["optInToDeviceIdSharing"]; + } else { + return null; + } + } + + /** + * Sets the optInToDeviceIdSharing + * Opt-In to sharing the device's Id to third-party vpn clients for use during network access control validation. + * + * @param bool $val The optInToDeviceIdSharing + * + * @return AppleVpnConfiguration + */ + public function setOptInToDeviceIdSharing($val) + { + $this->_propDict["optInToDeviceIdSharing"] = boolval($val); + return $this; + } + + /** + * Gets the providerType + * Provider type for per-app VPN. Possible values are: notConfigured, appProxy, packetTunnel. + * + * @return VpnProviderType|null The providerType + */ + public function getProviderType() + { + if (array_key_exists("providerType", $this->_propDict)) { + if (is_a($this->_propDict["providerType"], "\Beta\Microsoft\Graph\Model\VpnProviderType") || is_null($this->_propDict["providerType"])) { + return $this->_propDict["providerType"]; + } else { + $this->_propDict["providerType"] = new VpnProviderType($this->_propDict["providerType"]); + return $this->_propDict["providerType"]; + } + } + return null; + } + + /** + * Sets the providerType + * Provider type for per-app VPN. Possible values are: notConfigured, appProxy, packetTunnel. + * + * @param VpnProviderType $val The providerType + * + * @return AppleVpnConfiguration + */ + public function setProviderType($val) + { + $this->_propDict["providerType"] = $val; + return $this; + } + + /** + * Gets the proxyServer + * Proxy Server. + * + * @return VpnProxyServer|null The proxyServer + */ + public function getProxyServer() + { + if (array_key_exists("proxyServer", $this->_propDict)) { + if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\VpnProxyServer") || is_null($this->_propDict["proxyServer"])) { + return $this->_propDict["proxyServer"]; + } else { + $this->_propDict["proxyServer"] = new VpnProxyServer($this->_propDict["proxyServer"]); + return $this->_propDict["proxyServer"]; + } + } + return null; + } + + /** + * Sets the proxyServer + * Proxy Server. + * + * @param VpnProxyServer $val The proxyServer + * + * @return AppleVpnConfiguration + */ + public function setProxyServer($val) + { + $this->_propDict["proxyServer"] = $val; + return $this; + } + + /** + * Gets the realm + * Realm when connection type is set to Pulse Secure. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Realm when connection type is set to Pulse Secure. + * + * @param string $val The realm + * + * @return AppleVpnConfiguration + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + + /** + * Gets the role + * Role when connection type is set to Pulse Secure. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role when connection type is set to Pulse Secure. + * + * @param string $val The role + * + * @return AppleVpnConfiguration + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the safariDomains + * Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection. + * + * @return string|null The safariDomains + */ + public function getSafariDomains() + { + if (array_key_exists("safariDomains", $this->_propDict)) { + return $this->_propDict["safariDomains"]; + } else { + return null; + } + } + + /** + * Sets the safariDomains + * Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection. + * + * @param string $val The safariDomains + * + * @return AppleVpnConfiguration + */ + public function setSafariDomains($val) + { + $this->_propDict["safariDomains"] = $val; + return $this; + } + + /** + * Gets the server + * VPN Server on the network. Make sure end users can access this network location. + * + * @return VpnServer|null The server + */ + public function getServer() + { + if (array_key_exists("server", $this->_propDict)) { + if (is_a($this->_propDict["server"], "\Beta\Microsoft\Graph\Model\VpnServer") || is_null($this->_propDict["server"])) { + return $this->_propDict["server"]; + } else { + $this->_propDict["server"] = new VpnServer($this->_propDict["server"]); + return $this->_propDict["server"]; + } + } + return null; + } + + /** + * Sets the server + * VPN Server on the network. Make sure end users can access this network location. + * + * @param VpnServer $val The server + * + * @return AppleVpnConfiguration + */ + public function setServer($val) + { + $this->_propDict["server"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConnectionType.php new file mode 100644 index 0000000..0327bfa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConnectionType.php @@ -0,0 +1,51 @@ +_propDict)) { + return $this->_propDict["tokenId"]; + } else { + return null; + } + } + + /** + * Sets the tokenId + * Apple Volume Purchase Program Token Identifier. + * + * @param string $val The tokenId + * + * @return AppleVppTokenTroubleshootingEvent + */ + public function setTokenId($val) + { + $this->_propDict["tokenId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Application.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Application.php new file mode 100644 index 0000000..2c974ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Application.php @@ -0,0 +1,1343 @@ +_propDict)) { + if (is_a($this->_propDict["api"], "\Beta\Microsoft\Graph\Model\ApiApplication") || is_null($this->_propDict["api"])) { + return $this->_propDict["api"]; + } else { + $this->_propDict["api"] = new ApiApplication($this->_propDict["api"]); + return $this->_propDict["api"]; + } + } + return null; + } + + /** + * Sets the api + * Specifies settings for an application that implements a web API. + * + * @param ApiApplication $val The api + * + * @return Application + */ + public function setApi($val) + { + $this->_propDict["api"] = $val; + return $this; + } + + /** + * Gets the appId + * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. + * + * @param string $val The appId + * + * @return Application + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + + /** + * Gets the appRoles + * The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + * + * @return array|null The appRoles + */ + public function getAppRoles() + { + if (array_key_exists("appRoles", $this->_propDict)) { + return $this->_propDict["appRoles"]; + } else { + return null; + } + } + + /** + * Sets the appRoles + * The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + * + * @param AppRole[] $val The appRoles + * + * @return Application + */ + public function setAppRoles($val) + { + $this->_propDict["appRoles"] = $val; + return $this; + } + + /** + * Gets the certification + * Specifies the certification status of the application. + * + * @return Certification|null The certification + */ + public function getCertification() + { + if (array_key_exists("certification", $this->_propDict)) { + if (is_a($this->_propDict["certification"], "\Beta\Microsoft\Graph\Model\Certification") || is_null($this->_propDict["certification"])) { + return $this->_propDict["certification"]; + } else { + $this->_propDict["certification"] = new Certification($this->_propDict["certification"]); + return $this->_propDict["certification"]; + } + } + return null; + } + + /** + * Sets the certification + * Specifies the certification status of the application. + * + * @param Certification $val The certification + * + * @return Application + */ + public function setCertification($val) + { + $this->_propDict["certification"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the application was registered. The DateTimeOffset 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. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the application was registered. The DateTimeOffset 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. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + * + * @param \DateTime $val The createdDateTime + * + * @return Application + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the defaultRedirectUri + * The default redirect URI. If specified and there is no explicit redirect URI in the sign-in request for SAML and OIDC flows, Azure AD sends the token to this redirect URI. Azure AD also sends the token to this default URI in SAML IdP-initiated single sign-on. The value must match one of the configured redirect URIs for the application. + * + * @return string|null The defaultRedirectUri + */ + public function getDefaultRedirectUri() + { + if (array_key_exists("defaultRedirectUri", $this->_propDict)) { + return $this->_propDict["defaultRedirectUri"]; + } else { + return null; + } + } + + /** + * Sets the defaultRedirectUri + * The default redirect URI. If specified and there is no explicit redirect URI in the sign-in request for SAML and OIDC flows, Azure AD sends the token to this redirect URI. Azure AD also sends the token to this default URI in SAML IdP-initiated single sign-on. The value must match one of the configured redirect URIs for the application. + * + * @param string $val The defaultRedirectUri + * + * @return Application + */ + public function setDefaultRedirectUri($val) + { + $this->_propDict["defaultRedirectUri"] = $val; + return $this; + } + + /** + * Gets the description + * Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @param string $val The description + * + * @return Application + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @return string|null The disabledByMicrosoftStatus + */ + public function getDisabledByMicrosoftStatus() + { + if (array_key_exists("disabledByMicrosoftStatus", $this->_propDict)) { + return $this->_propDict["disabledByMicrosoftStatus"]; + } else { + return null; + } + } + + /** + * Sets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @param string $val The disabledByMicrosoftStatus + * + * @return Application + */ + public function setDisabledByMicrosoftStatus($val) + { + $this->_propDict["disabledByMicrosoftStatus"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return Application + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the groupMembershipClaims + * Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of). + * + * @return string|null The groupMembershipClaims + */ + public function getGroupMembershipClaims() + { + if (array_key_exists("groupMembershipClaims", $this->_propDict)) { + return $this->_propDict["groupMembershipClaims"]; + } else { + return null; + } + } + + /** + * Sets the groupMembershipClaims + * Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of). + * + * @param string $val The groupMembershipClaims + * + * @return Application + */ + public function setGroupMembershipClaims($val) + { + $this->_propDict["groupMembershipClaims"] = $val; + return $this; + } + + /** + * Gets the identifierUris + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * + * @return string|null The identifierUris + */ + public function getIdentifierUris() + { + if (array_key_exists("identifierUris", $this->_propDict)) { + return $this->_propDict["identifierUris"]; + } else { + return null; + } + } + + /** + * Sets the identifierUris + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * + * @param string $val The identifierUris + * + * @return Application + */ + public function setIdentifierUris($val) + { + $this->_propDict["identifierUris"] = $val; + return $this; + } + + /** + * Gets the info + * Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @return InformationalUrl|null The info + */ + public function getInfo() + { + if (array_key_exists("info", $this->_propDict)) { + if (is_a($this->_propDict["info"], "\Beta\Microsoft\Graph\Model\InformationalUrl") || is_null($this->_propDict["info"])) { + return $this->_propDict["info"]; + } else { + $this->_propDict["info"] = new InformationalUrl($this->_propDict["info"]); + return $this->_propDict["info"]; + } + } + return null; + } + + /** + * Sets the info + * Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @param InformationalUrl $val The info + * + * @return Application + */ + public function setInfo($val) + { + $this->_propDict["info"] = $val; + return $this; + } + + /** + * Gets the isDeviceOnlyAuthSupported + * Specifies whether this application supports device authentication without a user. The default is false. + * + * @return bool|null The isDeviceOnlyAuthSupported + */ + public function getIsDeviceOnlyAuthSupported() + { + if (array_key_exists("isDeviceOnlyAuthSupported", $this->_propDict)) { + return $this->_propDict["isDeviceOnlyAuthSupported"]; + } else { + return null; + } + } + + /** + * Sets the isDeviceOnlyAuthSupported + * Specifies whether this application supports device authentication without a user. The default is false. + * + * @param bool $val The isDeviceOnlyAuthSupported + * + * @return Application + */ + public function setIsDeviceOnlyAuthSupported($val) + { + $this->_propDict["isDeviceOnlyAuthSupported"] = boolval($val); + return $this; + } + + /** + * Gets the isFallbackPublicClient + * Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property. + * + * @return bool|null The isFallbackPublicClient + */ + public function getIsFallbackPublicClient() + { + if (array_key_exists("isFallbackPublicClient", $this->_propDict)) { + return $this->_propDict["isFallbackPublicClient"]; + } else { + return null; + } + } + + /** + * Sets the isFallbackPublicClient + * Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property. + * + * @param bool $val The isFallbackPublicClient + * + * @return Application + */ + public function setIsFallbackPublicClient($val) + { + $this->_propDict["isFallbackPublicClient"] = boolval($val); + return $this; + } + + + /** + * Gets the keyCredentials + * The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The keyCredentials + */ + public function getKeyCredentials() + { + if (array_key_exists("keyCredentials", $this->_propDict)) { + return $this->_propDict["keyCredentials"]; + } else { + return null; + } + } + + /** + * Sets the keyCredentials + * The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param KeyCredential[] $val The keyCredentials + * + * @return Application + */ + public function setKeyCredentials($val) + { + $this->_propDict["keyCredentials"] = $val; + return $this; + } + + /** + * Gets the logo + * The main logo for the application. Not nullable. + * + * @return \GuzzleHttp\Psr7\Stream|null The logo + */ + public function getLogo() + { + if (array_key_exists("logo", $this->_propDict)) { + if (is_a($this->_propDict["logo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["logo"])) { + return $this->_propDict["logo"]; + } else { + $this->_propDict["logo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["logo"]); + return $this->_propDict["logo"]; + } + } + return null; + } + + /** + * Sets the logo + * The main logo for the application. Not nullable. + * + * @param \GuzzleHttp\Psr7\Stream $val The logo + * + * @return Application + */ + public function setLogo($val) + { + $this->_propDict["logo"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes relevant for the management of the application. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes relevant for the management of the application. + * + * @param string $val The notes + * + * @return Application + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the optionalClaims + * Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app. + * + * @return OptionalClaims|null The optionalClaims + */ + public function getOptionalClaims() + { + if (array_key_exists("optionalClaims", $this->_propDict)) { + if (is_a($this->_propDict["optionalClaims"], "\Beta\Microsoft\Graph\Model\OptionalClaims") || is_null($this->_propDict["optionalClaims"])) { + return $this->_propDict["optionalClaims"]; + } else { + $this->_propDict["optionalClaims"] = new OptionalClaims($this->_propDict["optionalClaims"]); + return $this->_propDict["optionalClaims"]; + } + } + return null; + } + + /** + * Sets the optionalClaims + * Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app. + * + * @param OptionalClaims $val The optionalClaims + * + * @return Application + */ + public function setOptionalClaims($val) + { + $this->_propDict["optionalClaims"] = $val; + return $this; + } + + /** + * Gets the parentalControlSettings + * Specifies parental control settings for an application. + * + * @return ParentalControlSettings|null The parentalControlSettings + */ + public function getParentalControlSettings() + { + if (array_key_exists("parentalControlSettings", $this->_propDict)) { + if (is_a($this->_propDict["parentalControlSettings"], "\Beta\Microsoft\Graph\Model\ParentalControlSettings") || is_null($this->_propDict["parentalControlSettings"])) { + return $this->_propDict["parentalControlSettings"]; + } else { + $this->_propDict["parentalControlSettings"] = new ParentalControlSettings($this->_propDict["parentalControlSettings"]); + return $this->_propDict["parentalControlSettings"]; + } + } + return null; + } + + /** + * Sets the parentalControlSettings + * Specifies parental control settings for an application. + * + * @param ParentalControlSettings $val The parentalControlSettings + * + * @return Application + */ + public function setParentalControlSettings($val) + { + $this->_propDict["parentalControlSettings"] = $val; + return $this; + } + + + /** + * Gets the passwordCredentials + * The collection of password credentials associated with the application. Not nullable. + * + * @return array|null The passwordCredentials + */ + public function getPasswordCredentials() + { + if (array_key_exists("passwordCredentials", $this->_propDict)) { + return $this->_propDict["passwordCredentials"]; + } else { + return null; + } + } + + /** + * Sets the passwordCredentials + * The collection of password credentials associated with the application. Not nullable. + * + * @param PasswordCredential[] $val The passwordCredentials + * + * @return Application + */ + public function setPasswordCredentials($val) + { + $this->_propDict["passwordCredentials"] = $val; + return $this; + } + + /** + * Gets the publicClient + * Specifies settings for installed clients such as desktop or mobile devices. + * + * @return PublicClientApplication|null The publicClient + */ + public function getPublicClient() + { + if (array_key_exists("publicClient", $this->_propDict)) { + if (is_a($this->_propDict["publicClient"], "\Beta\Microsoft\Graph\Model\PublicClientApplication") || is_null($this->_propDict["publicClient"])) { + return $this->_propDict["publicClient"]; + } else { + $this->_propDict["publicClient"] = new PublicClientApplication($this->_propDict["publicClient"]); + return $this->_propDict["publicClient"]; + } + } + return null; + } + + /** + * Sets the publicClient + * Specifies settings for installed clients such as desktop or mobile devices. + * + * @param PublicClientApplication $val The publicClient + * + * @return Application + */ + public function setPublicClient($val) + { + $this->_propDict["publicClient"] = $val; + return $this; + } + + /** + * Gets the publisherDomain + * The verified publisher domain for the application. Read-only. Supports $filter (eq, ne, ge, le, startsWith). + * + * @return string|null The publisherDomain + */ + public function getPublisherDomain() + { + if (array_key_exists("publisherDomain", $this->_propDict)) { + return $this->_propDict["publisherDomain"]; + } else { + return null; + } + } + + /** + * Sets the publisherDomain + * The verified publisher domain for the application. Read-only. Supports $filter (eq, ne, ge, le, startsWith). + * + * @param string $val The publisherDomain + * + * @return Application + */ + public function setPublisherDomain($val) + { + $this->_propDict["publisherDomain"] = $val; + return $this; + } + + + /** + * Gets the requiredResourceAccess + * Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The requiredResourceAccess + */ + public function getRequiredResourceAccess() + { + if (array_key_exists("requiredResourceAccess", $this->_propDict)) { + return $this->_propDict["requiredResourceAccess"]; + } else { + return null; + } + } + + /** + * Sets the requiredResourceAccess + * Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param RequiredResourceAccess[] $val The requiredResourceAccess + * + * @return Application + */ + public function setRequiredResourceAccess($val) + { + $this->_propDict["requiredResourceAccess"] = $val; + return $this; + } + + /** + * Gets the serviceManagementReference + * References application or service contact information from a Service or Asset Management database. Nullable. + * + * @return string|null The serviceManagementReference + */ + public function getServiceManagementReference() + { + if (array_key_exists("serviceManagementReference", $this->_propDict)) { + return $this->_propDict["serviceManagementReference"]; + } else { + return null; + } + } + + /** + * Sets the serviceManagementReference + * References application or service contact information from a Service or Asset Management database. Nullable. + * + * @param string $val The serviceManagementReference + * + * @return Application + */ + public function setServiceManagementReference($val) + { + $this->_propDict["serviceManagementReference"] = $val; + return $this; + } + + /** + * Gets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not). + * + * @return string|null The signInAudience + */ + public function getSignInAudience() + { + if (array_key_exists("signInAudience", $this->_propDict)) { + return $this->_propDict["signInAudience"]; + } else { + return null; + } + } + + /** + * Sets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not). + * + * @param string $val The signInAudience + * + * @return Application + */ + public function setSignInAudience($val) + { + $this->_propDict["signInAudience"] = $val; + return $this; + } + + /** + * Gets the spa + * Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. + * + * @return SpaApplication|null The spa + */ + public function getSpa() + { + if (array_key_exists("spa", $this->_propDict)) { + if (is_a($this->_propDict["spa"], "\Beta\Microsoft\Graph\Model\SpaApplication") || is_null($this->_propDict["spa"])) { + return $this->_propDict["spa"]; + } else { + $this->_propDict["spa"] = new SpaApplication($this->_propDict["spa"]); + return $this->_propDict["spa"]; + } + } + return null; + } + + /** + * Sets the spa + * Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. + * + * @param SpaApplication $val The spa + * + * @return Application + */ + public function setSpa($val) + { + $this->_propDict["spa"] = $val; + return $this; + } + + /** + * Gets the tags + * Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The tags + * + * @return Application + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @return string|null The tokenEncryptionKeyId + */ + public function getTokenEncryptionKeyId() + { + if (array_key_exists("tokenEncryptionKeyId", $this->_propDict)) { + return $this->_propDict["tokenEncryptionKeyId"]; + } else { + return null; + } + } + + /** + * Sets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @param string $val The tokenEncryptionKeyId + * + * @return Application + */ + public function setTokenEncryptionKeyId($val) + { + $this->_propDict["tokenEncryptionKeyId"] = $val; + return $this; + } + + /** + * Gets the uniqueName + * The unique identifier that can be assigned to an application as an alternative identifier. Immutable. Read-only. + * + * @return string|null The uniqueName + */ + public function getUniqueName() + { + if (array_key_exists("uniqueName", $this->_propDict)) { + return $this->_propDict["uniqueName"]; + } else { + return null; + } + } + + /** + * Sets the uniqueName + * The unique identifier that can be assigned to an application as an alternative identifier. Immutable. Read-only. + * + * @param string $val The uniqueName + * + * @return Application + */ + public function setUniqueName($val) + { + $this->_propDict["uniqueName"] = $val; + return $this; + } + + /** + * Gets the verifiedPublisher + * Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification. + * + * @return VerifiedPublisher|null The verifiedPublisher + */ + public function getVerifiedPublisher() + { + if (array_key_exists("verifiedPublisher", $this->_propDict)) { + if (is_a($this->_propDict["verifiedPublisher"], "\Beta\Microsoft\Graph\Model\VerifiedPublisher") || is_null($this->_propDict["verifiedPublisher"])) { + return $this->_propDict["verifiedPublisher"]; + } else { + $this->_propDict["verifiedPublisher"] = new VerifiedPublisher($this->_propDict["verifiedPublisher"]); + return $this->_propDict["verifiedPublisher"]; + } + } + return null; + } + + /** + * Sets the verifiedPublisher + * Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification. + * + * @param VerifiedPublisher $val The verifiedPublisher + * + * @return Application + */ + public function setVerifiedPublisher($val) + { + $this->_propDict["verifiedPublisher"] = $val; + return $this; + } + + /** + * Gets the web + * Specifies settings for a web application. + * + * @return WebApplication|null The web + */ + public function getWeb() + { + if (array_key_exists("web", $this->_propDict)) { + if (is_a($this->_propDict["web"], "\Beta\Microsoft\Graph\Model\WebApplication") || is_null($this->_propDict["web"])) { + return $this->_propDict["web"]; + } else { + $this->_propDict["web"] = new WebApplication($this->_propDict["web"]); + return $this->_propDict["web"]; + } + } + return null; + } + + /** + * Sets the web + * Specifies settings for a web application. + * + * @param WebApplication $val The web + * + * @return Application + */ + public function setWeb($val) + { + $this->_propDict["web"] = $val; + return $this; + } + + /** + * Gets the windows + * Specifies settings for apps running Microsoft Windows and published in the Microsoft Store or Xbox games store. + * + * @return WindowsApplication|null The windows + */ + public function getWindows() + { + if (array_key_exists("windows", $this->_propDict)) { + if (is_a($this->_propDict["windows"], "\Beta\Microsoft\Graph\Model\WindowsApplication") || is_null($this->_propDict["windows"])) { + return $this->_propDict["windows"]; + } else { + $this->_propDict["windows"] = new WindowsApplication($this->_propDict["windows"]); + return $this->_propDict["windows"]; + } + } + return null; + } + + /** + * Sets the windows + * Specifies settings for apps running Microsoft Windows and published in the Microsoft Store or Xbox games store. + * + * @param WindowsApplication $val The windows + * + * @return Application + */ + public function setWindows($val) + { + $this->_propDict["windows"] = $val; + return $this; + } + + /** + * Gets the onPremisesPublishing + * Represents the set of properties required for configuring Application Proxy for this application. Configuring these properties allows you to publish your on-premises application for secure remote access. + * + * @return OnPremisesPublishing|null The onPremisesPublishing + */ + public function getOnPremisesPublishing() + { + if (array_key_exists("onPremisesPublishing", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesPublishing"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishing") || is_null($this->_propDict["onPremisesPublishing"])) { + return $this->_propDict["onPremisesPublishing"]; + } else { + $this->_propDict["onPremisesPublishing"] = new OnPremisesPublishing($this->_propDict["onPremisesPublishing"]); + return $this->_propDict["onPremisesPublishing"]; + } + } + return null; + } + + /** + * Sets the onPremisesPublishing + * Represents the set of properties required for configuring Application Proxy for this application. Configuring these properties allows you to publish your on-premises application for secure remote access. + * + * @param OnPremisesPublishing $val The onPremisesPublishing + * + * @return Application + */ + public function setOnPremisesPublishing($val) + { + $this->_propDict["onPremisesPublishing"] = $val; + return $this; + } + + + /** + * Gets the appManagementPolicies + * The appManagementPolicy applied to this application. + * + * @return array|null The appManagementPolicies + */ + public function getAppManagementPolicies() + { + if (array_key_exists("appManagementPolicies", $this->_propDict)) { + return $this->_propDict["appManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appManagementPolicies + * The appManagementPolicy applied to this application. + * + * @param AppManagementPolicy[] $val The appManagementPolicies + * + * @return Application + */ + public function setAppManagementPolicies($val) + { + $this->_propDict["appManagementPolicies"] = $val; + return $this; + } + + /** + * Gets the createdOnBehalfOf + * Read-only. + * + * @return DirectoryObject|null The createdOnBehalfOf + */ + public function getCreatedOnBehalfOf() + { + if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["createdOnBehalfOf"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["createdOnBehalfOf"])) { + return $this->_propDict["createdOnBehalfOf"]; + } else { + $this->_propDict["createdOnBehalfOf"] = new DirectoryObject($this->_propDict["createdOnBehalfOf"]); + return $this->_propDict["createdOnBehalfOf"]; + } + } + return null; + } + + /** + * Sets the createdOnBehalfOf + * Read-only. + * + * @param DirectoryObject $val The createdOnBehalfOf + * + * @return Application + */ + public function setCreatedOnBehalfOf($val) + { + $this->_propDict["createdOnBehalfOf"] = $val; + return $this; + } + + + /** + * Gets the extensionProperties + * Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections). + * + * @return array|null The extensionProperties + */ + public function getExtensionProperties() + { + if (array_key_exists("extensionProperties", $this->_propDict)) { + return $this->_propDict["extensionProperties"]; + } else { + return null; + } + } + + /** + * Sets the extensionProperties + * Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections). + * + * @param ExtensionProperty[] $val The extensionProperties + * + * @return Application + */ + public function setExtensionProperties($val) + { + $this->_propDict["extensionProperties"] = $val; + return $this; + } + + + /** + * Gets the federatedIdentityCredentials + * Federated identities for applications. Supports $expand and $filter (eq when counting empty collections). + * + * @return array|null The federatedIdentityCredentials + */ + public function getFederatedIdentityCredentials() + { + if (array_key_exists("federatedIdentityCredentials", $this->_propDict)) { + return $this->_propDict["federatedIdentityCredentials"]; + } else { + return null; + } + } + + /** + * Sets the federatedIdentityCredentials + * Federated identities for applications. Supports $expand and $filter (eq when counting empty collections). + * + * @param FederatedIdentityCredential[] $val The federatedIdentityCredentials + * + * @return Application + */ + public function setFederatedIdentityCredentials($val) + { + $this->_propDict["federatedIdentityCredentials"] = $val; + return $this; + } + + + /** + * Gets the homeRealmDiscoveryPolicies + * + * @return array|null The homeRealmDiscoveryPolicies + */ + public function getHomeRealmDiscoveryPolicies() + { + if (array_key_exists("homeRealmDiscoveryPolicies", $this->_propDict)) { + return $this->_propDict["homeRealmDiscoveryPolicies"]; + } else { + return null; + } + } + + /** + * Sets the homeRealmDiscoveryPolicies + * + * @param HomeRealmDiscoveryPolicy[] $val The homeRealmDiscoveryPolicies + * + * @return Application + */ + public function setHomeRealmDiscoveryPolicies($val) + { + $this->_propDict["homeRealmDiscoveryPolicies"] = $val; + return $this; + } + + + /** + * Gets the owners + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand. + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The owners + * + * @return Application + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the tokenIssuancePolicies + * + * @return array|null The tokenIssuancePolicies + */ + public function getTokenIssuancePolicies() + { + if (array_key_exists("tokenIssuancePolicies", $this->_propDict)) { + return $this->_propDict["tokenIssuancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuancePolicies + * + * @param TokenIssuancePolicy[] $val The tokenIssuancePolicies + * + * @return Application + */ + public function setTokenIssuancePolicies($val) + { + $this->_propDict["tokenIssuancePolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this application. Supports $expand. + * + * @return array|null The tokenLifetimePolicies + */ + public function getTokenLifetimePolicies() + { + if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { + return $this->_propDict["tokenLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this application. Supports $expand. + * + * @param TokenLifetimePolicy[] $val The tokenLifetimePolicies + * + * @return Application + */ + public function setTokenLifetimePolicies($val) + { + $this->_propDict["tokenLifetimePolicies"] = $val; + return $this; + } + + /** + * Gets the connectorGroup + * The connectorGroup the application is using with Azure AD Application Proxy. Nullable. + * + * @return ConnectorGroup|null The connectorGroup + */ + public function getConnectorGroup() + { + if (array_key_exists("connectorGroup", $this->_propDict)) { + if (is_a($this->_propDict["connectorGroup"], "\Beta\Microsoft\Graph\Model\ConnectorGroup") || is_null($this->_propDict["connectorGroup"])) { + return $this->_propDict["connectorGroup"]; + } else { + $this->_propDict["connectorGroup"] = new ConnectorGroup($this->_propDict["connectorGroup"]); + return $this->_propDict["connectorGroup"]; + } + } + return null; + } + + /** + * Sets the connectorGroup + * The connectorGroup the application is using with Azure AD Application Proxy. Nullable. + * + * @param ConnectorGroup $val The connectorGroup + * + * @return Application + */ + public function setConnectorGroup($val) + { + $this->_propDict["connectorGroup"] = $val; + return $this; + } + + /** + * Gets the synchronization + * + * @return Synchronization|null The synchronization + */ + public function getSynchronization() + { + if (array_key_exists("synchronization", $this->_propDict)) { + if (is_a($this->_propDict["synchronization"], "\Beta\Microsoft\Graph\Model\Synchronization") || is_null($this->_propDict["synchronization"])) { + return $this->_propDict["synchronization"]; + } else { + $this->_propDict["synchronization"] = new Synchronization($this->_propDict["synchronization"]); + return $this->_propDict["synchronization"]; + } + } + return null; + } + + /** + * Sets the synchronization + * + * @param Synchronization $val The synchronization + * + * @return Application + */ + public function setSynchronization($val) + { + $this->_propDict["synchronization"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationEnforcedRestrictionsSessionControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationEnforcedRestrictionsSessionControl.php new file mode 100644 index 0000000..6c6096c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationEnforcedRestrictionsSessionControl.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\Application") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Application($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * + * @param Application $val The value to assign to the application + * + * @return ApplicationServicePrincipal The ApplicationServicePrincipal + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + /** + * Gets the servicePrincipal + * + * @return ServicePrincipal|null The servicePrincipal + */ + public function getServicePrincipal() + { + if (array_key_exists("servicePrincipal", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipal"], "\Beta\Microsoft\Graph\Model\ServicePrincipal") || is_null($this->_propDict["servicePrincipal"])) { + return $this->_propDict["servicePrincipal"]; + } else { + $this->_propDict["servicePrincipal"] = new ServicePrincipal($this->_propDict["servicePrincipal"]); + return $this->_propDict["servicePrincipal"]; + } + } + return null; + } + + /** + * Sets the servicePrincipal + * + * @param ServicePrincipal $val The value to assign to the servicePrincipal + * + * @return ApplicationServicePrincipal The ApplicationServicePrincipal + */ + public function setServicePrincipal($val) + { + $this->_propDict["servicePrincipal"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInDetailedSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInDetailedSummary.php new file mode 100644 index 0000000..f82eb30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInDetailedSummary.php @@ -0,0 +1,180 @@ +_propDict)) { + if (is_a($this->_propDict["aggregatedEventDateTime"], "\DateTime") || is_null($this->_propDict["aggregatedEventDateTime"])) { + return $this->_propDict["aggregatedEventDateTime"]; + } else { + $this->_propDict["aggregatedEventDateTime"] = new \DateTime($this->_propDict["aggregatedEventDateTime"]); + return $this->_propDict["aggregatedEventDateTime"]; + } + } + return null; + } + + /** + * Sets the aggregatedEventDateTime + * 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 aggregatedEventDateTime + * + * @return ApplicationSignInDetailedSummary + */ + public function setAggregatedEventDateTime($val) + { + $this->_propDict["aggregatedEventDateTime"] = $val; + return $this; + } + + /** + * Gets the appDisplayName + * Name of the application that the user signed in to. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * Name of the application that the user signed in to. + * + * @param string $val The appDisplayName + * + * @return ApplicationSignInDetailedSummary + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * ID of the application that the user signed in to. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * ID of the application that the user signed in to. + * + * @param string $val The appId + * + * @return ApplicationSignInDetailedSummary + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the signInCount + * Count of sign-ins made by the application. + * + * @return int|null The signInCount + */ + public function getSignInCount() + { + if (array_key_exists("signInCount", $this->_propDict)) { + return $this->_propDict["signInCount"]; + } else { + return null; + } + } + + /** + * Sets the signInCount + * Count of sign-ins made by the application. + * + * @param int $val The signInCount + * + * @return ApplicationSignInDetailedSummary + */ + public function setSignInCount($val) + { + $this->_propDict["signInCount"] = intval($val); + return $this; + } + + /** + * Gets the status + * Details of the sign-in status. + * + * @return SignInStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SignInStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SignInStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Details of the sign-in status. + * + * @param SignInStatus $val The status + * + * @return ApplicationSignInDetailedSummary + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInSummary.php new file mode 100644 index 0000000..a9a0c90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInSummary.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * Name of the application that the user signed into. + * + * @param string $val The appDisplayName + * + * @return ApplicationSignInSummary + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the failedSignInCount + * Count of failed sign-ins made by the application. + * + * @return int|null The failedSignInCount + */ + public function getFailedSignInCount() + { + if (array_key_exists("failedSignInCount", $this->_propDict)) { + return $this->_propDict["failedSignInCount"]; + } else { + return null; + } + } + + /** + * Sets the failedSignInCount + * Count of failed sign-ins made by the application. + * + * @param int $val The failedSignInCount + * + * @return ApplicationSignInSummary + */ + public function setFailedSignInCount($val) + { + $this->_propDict["failedSignInCount"] = intval($val); + return $this; + } + + /** + * Gets the successfulSignInCount + * Count of successful sign-ins made by the application. + * + * @return int|null The successfulSignInCount + */ + public function getSuccessfulSignInCount() + { + if (array_key_exists("successfulSignInCount", $this->_propDict)) { + return $this->_propDict["successfulSignInCount"]; + } else { + return null; + } + } + + /** + * Sets the successfulSignInCount + * Count of successful sign-ins made by the application. + * + * @param int $val The successfulSignInCount + * + * @return ApplicationSignInSummary + */ + public function setSuccessfulSignInCount($val) + { + $this->_propDict["successfulSignInCount"] = intval($val); + return $this; + } + + /** + * Gets the successPercentage + * Percentage of successful sign-ins made by the application. + * + * @return float|null The successPercentage + */ + public function getSuccessPercentage() + { + if (array_key_exists("successPercentage", $this->_propDict)) { + return $this->_propDict["successPercentage"]; + } else { + return null; + } + } + + /** + * Sets the successPercentage + * Percentage of successful sign-ins made by the application. + * + * @param float $val The successPercentage + * + * @return ApplicationSignInSummary + */ + public function setSuccessPercentage($val) + { + $this->_propDict["successPercentage"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationTemplate.php new file mode 100644 index 0000000..7bb3441 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationTemplate.php @@ -0,0 +1,290 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. + * + * @param string $val The categories + * + * @return ApplicationTemplate + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the description + * A description of the application. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description of the application. + * + * @param string $val The description + * + * @return ApplicationTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The displayName + * + * @return ApplicationTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the homePageUrl + * The home page URL of the application. + * + * @return string|null The homePageUrl + */ + public function getHomePageUrl() + { + if (array_key_exists("homePageUrl", $this->_propDict)) { + return $this->_propDict["homePageUrl"]; + } else { + return null; + } + } + + /** + * Sets the homePageUrl + * The home page URL of the application. + * + * @param string $val The homePageUrl + * + * @return ApplicationTemplate + */ + public function setHomePageUrl($val) + { + $this->_propDict["homePageUrl"] = $val; + return $this; + } + + /** + * Gets the informationalUrls + * + * @return InformationalUrls|null The informationalUrls + */ + public function getInformationalUrls() + { + if (array_key_exists("informationalUrls", $this->_propDict)) { + if (is_a($this->_propDict["informationalUrls"], "\Beta\Microsoft\Graph\Model\InformationalUrls") || is_null($this->_propDict["informationalUrls"])) { + return $this->_propDict["informationalUrls"]; + } else { + $this->_propDict["informationalUrls"] = new InformationalUrls($this->_propDict["informationalUrls"]); + return $this->_propDict["informationalUrls"]; + } + } + return null; + } + + /** + * Sets the informationalUrls + * + * @param InformationalUrls $val The informationalUrls + * + * @return ApplicationTemplate + */ + public function setInformationalUrls($val) + { + $this->_propDict["informationalUrls"] = $val; + return $this; + } + + /** + * Gets the logoUrl + * The URL to get the logo for this application. + * + * @return string|null The logoUrl + */ + public function getLogoUrl() + { + if (array_key_exists("logoUrl", $this->_propDict)) { + return $this->_propDict["logoUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoUrl + * The URL to get the logo for this application. + * + * @param string $val The logoUrl + * + * @return ApplicationTemplate + */ + public function setLogoUrl($val) + { + $this->_propDict["logoUrl"] = $val; + return $this; + } + + /** + * Gets the publisher + * The name of the publisher for this application. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The name of the publisher for this application. + * + * @param string $val The publisher + * + * @return ApplicationTemplate + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the supportedProvisioningTypes + * The list of provisioning modes supported by this application. The only valid value is sync. + * + * @return string|null The supportedProvisioningTypes + */ + public function getSupportedProvisioningTypes() + { + if (array_key_exists("supportedProvisioningTypes", $this->_propDict)) { + return $this->_propDict["supportedProvisioningTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedProvisioningTypes + * The list of provisioning modes supported by this application. The only valid value is sync. + * + * @param string $val The supportedProvisioningTypes + * + * @return ApplicationTemplate + */ + public function setSupportedProvisioningTypes($val) + { + $this->_propDict["supportedProvisioningTypes"] = $val; + return $this; + } + + /** + * Gets the supportedSingleSignOnModes + * The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported. + * + * @return string|null The supportedSingleSignOnModes + */ + public function getSupportedSingleSignOnModes() + { + if (array_key_exists("supportedSingleSignOnModes", $this->_propDict)) { + return $this->_propDict["supportedSingleSignOnModes"]; + } else { + return null; + } + } + + /** + * Sets the supportedSingleSignOnModes + * The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported. + * + * @param string $val The supportedSingleSignOnModes + * + * @return ApplicationTemplate + */ + public function setSupportedSingleSignOnModes($val) + { + $this->_propDict["supportedSingleSignOnModes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationType.php new file mode 100644 index 0000000..0ba6068 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationStrength"], "\Beta\Microsoft\Graph\Model\AuthenticationStrength") || is_null($this->_propDict["authenticationStrength"])) { + return $this->_propDict["authenticationStrength"]; + } else { + $this->_propDict["authenticationStrength"] = new AuthenticationStrength($this->_propDict["authenticationStrength"]); + return $this->_propDict["authenticationStrength"]; + } + } + return null; + } + + /** + * Sets the authenticationStrength + * The custom authentication strength enforced in a Conditional Access policy. + * + * @param AuthenticationStrength $val The value to assign to the authenticationStrength + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setAuthenticationStrength($val) + { + $this->_propDict["authenticationStrength"] = $val; + return $this; + } + + /** + * Gets the conditionsNotSatisfied + * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * + * @return ConditionalAccessConditions|null The conditionsNotSatisfied + */ + public function getConditionsNotSatisfied() + { + if (array_key_exists("conditionsNotSatisfied", $this->_propDict)) { + if (is_a($this->_propDict["conditionsNotSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditions") || is_null($this->_propDict["conditionsNotSatisfied"])) { + return $this->_propDict["conditionsNotSatisfied"]; + } else { + $this->_propDict["conditionsNotSatisfied"] = new ConditionalAccessConditions($this->_propDict["conditionsNotSatisfied"]); + return $this->_propDict["conditionsNotSatisfied"]; + } + } + return null; + } + + /** + * Sets the conditionsNotSatisfied + * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * + * @param ConditionalAccessConditions $val The value to assign to the conditionsNotSatisfied + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setConditionsNotSatisfied($val) + { + $this->_propDict["conditionsNotSatisfied"] = $val; + return $this; + } + + /** + * Gets the conditionsSatisfied + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * + * @return ConditionalAccessConditions|null The conditionsSatisfied + */ + public function getConditionsSatisfied() + { + if (array_key_exists("conditionsSatisfied", $this->_propDict)) { + if (is_a($this->_propDict["conditionsSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditions") || is_null($this->_propDict["conditionsSatisfied"])) { + return $this->_propDict["conditionsSatisfied"]; + } else { + $this->_propDict["conditionsSatisfied"] = new ConditionalAccessConditions($this->_propDict["conditionsSatisfied"]); + return $this->_propDict["conditionsSatisfied"]; + } + } + return null; + } + + /** + * Sets the conditionsSatisfied + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk. + * + * @param ConditionalAccessConditions $val The value to assign to the conditionsSatisfied + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setConditionsSatisfied($val) + { + $this->_propDict["conditionsSatisfied"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the conditional access policy. + * + * @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 + * Name of the conditional access policy. + * + * @param string $val The value of the displayName + * + * @return AppliedConditionalAccessPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the enforcedGrantControls + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * + * @return string|null The enforcedGrantControls + */ + public function getEnforcedGrantControls() + { + if (array_key_exists("enforcedGrantControls", $this->_propDict)) { + return $this->_propDict["enforcedGrantControls"]; + } else { + return null; + } + } + + /** + * Sets the enforcedGrantControls + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * + * @param string $val The value of the enforcedGrantControls + * + * @return AppliedConditionalAccessPolicy + */ + public function setEnforcedGrantControls($val) + { + $this->_propDict["enforcedGrantControls"] = $val; + return $this; + } + /** + * Gets the enforcedSessionControls + * Refers to the session controls enforced by the conditional access policy (example: 'Require app enforced controls'). + * + * @return string|null The enforcedSessionControls + */ + public function getEnforcedSessionControls() + { + if (array_key_exists("enforcedSessionControls", $this->_propDict)) { + return $this->_propDict["enforcedSessionControls"]; + } else { + return null; + } + } + + /** + * Sets the enforcedSessionControls + * Refers to the session controls enforced by the conditional access policy (example: 'Require app enforced controls'). + * + * @param string $val The value of the enforcedSessionControls + * + * @return AppliedConditionalAccessPolicy + */ + public function setEnforcedSessionControls($val) + { + $this->_propDict["enforcedSessionControls"] = $val; + return $this; + } + + /** + * Gets the excludeRulesSatisfied + * List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn’t apply, because the DevicePlatform condition was a match. + * + * @return ConditionalAccessRuleSatisfied|null The excludeRulesSatisfied + */ + public function getExcludeRulesSatisfied() + { + if (array_key_exists("excludeRulesSatisfied", $this->_propDict)) { + if (is_a($this->_propDict["excludeRulesSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRuleSatisfied") || is_null($this->_propDict["excludeRulesSatisfied"])) { + return $this->_propDict["excludeRulesSatisfied"]; + } else { + $this->_propDict["excludeRulesSatisfied"] = new ConditionalAccessRuleSatisfied($this->_propDict["excludeRulesSatisfied"]); + return $this->_propDict["excludeRulesSatisfied"]; + } + } + return null; + } + + /** + * Sets the excludeRulesSatisfied + * List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn’t apply, because the DevicePlatform condition was a match. + * + * @param ConditionalAccessRuleSatisfied $val The value to assign to the excludeRulesSatisfied + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setExcludeRulesSatisfied($val) + { + $this->_propDict["excludeRulesSatisfied"] = $val; + return $this; + } + /** + * Gets the id + * Identifier of the conditional access policy. + * + * @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 + * Identifier of the conditional access policy. + * + * @param string $val The value of the id + * + * @return AppliedConditionalAccessPolicy + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the includeRulesSatisfied + * List of key-value pairs containing each matched include condition in the conditional access policy. Example: [{ 'application' : 'AllApps'}, {'users': 'Group'}], meaning Application condition was a match because AllApps are included and Users condition was a match because the user was part of the included Group rule. + * + * @return ConditionalAccessRuleSatisfied|null The includeRulesSatisfied + */ + public function getIncludeRulesSatisfied() + { + if (array_key_exists("includeRulesSatisfied", $this->_propDict)) { + if (is_a($this->_propDict["includeRulesSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRuleSatisfied") || is_null($this->_propDict["includeRulesSatisfied"])) { + return $this->_propDict["includeRulesSatisfied"]; + } else { + $this->_propDict["includeRulesSatisfied"] = new ConditionalAccessRuleSatisfied($this->_propDict["includeRulesSatisfied"]); + return $this->_propDict["includeRulesSatisfied"]; + } + } + return null; + } + + /** + * Sets the includeRulesSatisfied + * List of key-value pairs containing each matched include condition in the conditional access policy. Example: [{ 'application' : 'AllApps'}, {'users': 'Group'}], meaning Application condition was a match because AllApps are included and Users condition was a match because the user was part of the included Group rule. + * + * @param ConditionalAccessRuleSatisfied $val The value to assign to the includeRulesSatisfied + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setIncludeRulesSatisfied($val) + { + $this->_propDict["includeRulesSatisfied"] = $val; + return $this; + } + + /** + * Gets the result + * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * + * @return AppliedConditionalAccessPolicyResult|null The result + */ + public function getResult() + { + if (array_key_exists("result", $this->_propDict)) { + if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\AppliedConditionalAccessPolicyResult") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new AppliedConditionalAccessPolicyResult($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * + * @param AppliedConditionalAccessPolicyResult $val The value to assign to the result + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } + /** + * Gets the sessionControlsNotSatisfied + * + * @return string|null The sessionControlsNotSatisfied + */ + public function getSessionControlsNotSatisfied() + { + if (array_key_exists("sessionControlsNotSatisfied", $this->_propDict)) { + return $this->_propDict["sessionControlsNotSatisfied"]; + } else { + return null; + } + } + + /** + * Sets the sessionControlsNotSatisfied + * + * @param string $val The value of the sessionControlsNotSatisfied + * + * @return AppliedConditionalAccessPolicy + */ + public function setSessionControlsNotSatisfied($val) + { + $this->_propDict["sessionControlsNotSatisfied"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicyResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicyResult.php new file mode 100644 index 0000000..d436809 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicyResult.php @@ -0,0 +1,42 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\InformationProtectionAction") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new InformationProtectionAction($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * The collection of specific actions that should be taken by the consuming application to label the document. See informationProtectionAction for the full list. + * + * @param InformationProtectionAction $val The value to assign to the actions + * + * @return ApplyLabelAction The ApplyLabelAction + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the actionSource + * Possible values are: manual, automatic, recommended, default. + * + * @return ActionSource|null The actionSource + */ + public function getActionSource() + { + if (array_key_exists("actionSource", $this->_propDict)) { + if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\Model\ActionSource") || is_null($this->_propDict["actionSource"])) { + return $this->_propDict["actionSource"]; + } else { + $this->_propDict["actionSource"] = new ActionSource($this->_propDict["actionSource"]); + return $this->_propDict["actionSource"]; + } + } + return null; + } + + /** + * Sets the actionSource + * Possible values are: manual, automatic, recommended, default. + * + * @param ActionSource $val The value to assign to the actionSource + * + * @return ApplyLabelAction The ApplyLabelAction + */ + public function setActionSource($val) + { + $this->_propDict["actionSource"] = $val; + return $this; + } + + /** + * Gets the label + * Object that describes the details of the label to apply. + * + * @return LabelDetails|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + if (is_a($this->_propDict["label"], "\Beta\Microsoft\Graph\Model\LabelDetails") || is_null($this->_propDict["label"])) { + return $this->_propDict["label"]; + } else { + $this->_propDict["label"] = new LabelDetails($this->_propDict["label"]); + return $this->_propDict["label"]; + } + } + return null; + } + + /** + * Sets the label + * Object that describes the details of the label to apply. + * + * @param LabelDetails $val The value to assign to the label + * + * @return ApplyLabelAction The ApplyLabelAction + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + /** + * Gets the responsibleSensitiveTypeIds + * If the label was the result of an automatic classification, supply the list of sensitive info type GUIDs that resulted in the returned label. + * + * @return string|null The responsibleSensitiveTypeIds + */ + public function getResponsibleSensitiveTypeIds() + { + if (array_key_exists("responsibleSensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["responsibleSensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the responsibleSensitiveTypeIds + * If the label was the result of an automatic classification, supply the list of sensitive info type GUIDs that resulted in the returned label. + * + * @param string $val The value of the responsibleSensitiveTypeIds + * + * @return ApplyLabelAction + */ + public function setResponsibleSensitiveTypeIds($val) + { + $this->_propDict["responsibleSensitiveTypeIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Approval.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Approval.php new file mode 100644 index 0000000..157d91b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Approval.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["steps"]; + } else { + return null; + } + } + + /** + * Sets the steps + * + * @param ApprovalStep[] $val The steps + * + * @return Approval + */ + public function setSteps($val) + { + $this->_propDict["steps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalFilterByCurrentUserOptions.php new file mode 100644 index 0000000..78fea83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalFilterByCurrentUserOptions.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["approvalMode"]; + } else { + return null; + } + } + + /** + * Sets the approvalMode + * One of NoApproval, SingleStage or Serial. The NoApproval is used when isApprovalRequired is false. + * + * @param string $val The value of the approvalMode + * + * @return ApprovalSettings + */ + public function setApprovalMode($val) + { + $this->_propDict["approvalMode"] = $val; + return $this; + } + + /** + * Gets the approvalStages + * If approval is required, the one or two elements of this collection define each of the stages of approval. An empty array if no approval is required. + * + * @return ApprovalStage|null The approvalStages + */ + public function getApprovalStages() + { + if (array_key_exists("approvalStages", $this->_propDict)) { + if (is_a($this->_propDict["approvalStages"], "\Beta\Microsoft\Graph\Model\ApprovalStage") || is_null($this->_propDict["approvalStages"])) { + return $this->_propDict["approvalStages"]; + } else { + $this->_propDict["approvalStages"] = new ApprovalStage($this->_propDict["approvalStages"]); + return $this->_propDict["approvalStages"]; + } + } + return null; + } + + /** + * Sets the approvalStages + * If approval is required, the one or two elements of this collection define each of the stages of approval. An empty array if no approval is required. + * + * @param ApprovalStage $val The value to assign to the approvalStages + * + * @return ApprovalSettings The ApprovalSettings + */ + public function setApprovalStages($val) + { + $this->_propDict["approvalStages"] = $val; + return $this; + } + /** + * Gets the isApprovalRequired + * If false, then approval is not required for requests in this policy. + * + * @return bool|null The isApprovalRequired + */ + public function getIsApprovalRequired() + { + if (array_key_exists("isApprovalRequired", $this->_propDict)) { + return $this->_propDict["isApprovalRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequired + * If false, then approval is not required for requests in this policy. + * + * @param bool $val The value of the isApprovalRequired + * + * @return ApprovalSettings + */ + public function setIsApprovalRequired($val) + { + $this->_propDict["isApprovalRequired"] = $val; + return $this; + } + /** + * Gets the isApprovalRequiredForExtension + * If false, then approval is not required for a user who already has an assignment to extend their assignment. + * + * @return bool|null The isApprovalRequiredForExtension + */ + public function getIsApprovalRequiredForExtension() + { + if (array_key_exists("isApprovalRequiredForExtension", $this->_propDict)) { + return $this->_propDict["isApprovalRequiredForExtension"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForExtension + * If false, then approval is not required for a user who already has an assignment to extend their assignment. + * + * @param bool $val The value of the isApprovalRequiredForExtension + * + * @return ApprovalSettings + */ + public function setIsApprovalRequiredForExtension($val) + { + $this->_propDict["isApprovalRequiredForExtension"] = $val; + return $this; + } + /** + * Gets the isRequestorJustificationRequired + * Indicates whether the requestor is required to supply a justification in their request. + * + * @return bool|null The isRequestorJustificationRequired + */ + public function getIsRequestorJustificationRequired() + { + if (array_key_exists("isRequestorJustificationRequired", $this->_propDict)) { + return $this->_propDict["isRequestorJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequestorJustificationRequired + * Indicates whether the requestor is required to supply a justification in their request. + * + * @param bool $val The value of the isRequestorJustificationRequired + * + * @return ApprovalSettings + */ + public function setIsRequestorJustificationRequired($val) + { + $this->_propDict["isRequestorJustificationRequired"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalStage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalStage.php new file mode 100644 index 0000000..3b8a87f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalStage.php @@ -0,0 +1,204 @@ +_propDict)) { + return $this->_propDict["approvalStageTimeOutInDays"]; + } else { + return null; + } + } + + /** + * Sets the approvalStageTimeOutInDays + * The number of days that a request can be pending a response before it is automatically denied. + * + * @param int $val The value of the approvalStageTimeOutInDays + * + * @return ApprovalStage + */ + public function setApprovalStageTimeOutInDays($val) + { + $this->_propDict["approvalStageTimeOutInDays"] = $val; + return $this; + } + + /** + * Gets the escalationApprovers + * If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. This can be a collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, if there are no escalation approvers, or escalation approvers are not required for the stage, the value of this property should be an empty collection. + * + * @return UserSet|null The escalationApprovers + */ + public function getEscalationApprovers() + { + if (array_key_exists("escalationApprovers", $this->_propDict)) { + if (is_a($this->_propDict["escalationApprovers"], "\Beta\Microsoft\Graph\Model\UserSet") || is_null($this->_propDict["escalationApprovers"])) { + return $this->_propDict["escalationApprovers"]; + } else { + $this->_propDict["escalationApprovers"] = new UserSet($this->_propDict["escalationApprovers"]); + return $this->_propDict["escalationApprovers"]; + } + } + return null; + } + + /** + * Sets the escalationApprovers + * If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. This can be a collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, if there are no escalation approvers, or escalation approvers are not required for the stage, the value of this property should be an empty collection. + * + * @param UserSet $val The value to assign to the escalationApprovers + * + * @return ApprovalStage The ApprovalStage + */ + public function setEscalationApprovers($val) + { + $this->_propDict["escalationApprovers"] = $val; + return $this; + } + /** + * Gets the escalationTimeInMinutes + * If escalation is required, the time a request can be pending a response from a primary approver. + * + * @return int|null The escalationTimeInMinutes + */ + public function getEscalationTimeInMinutes() + { + if (array_key_exists("escalationTimeInMinutes", $this->_propDict)) { + return $this->_propDict["escalationTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the escalationTimeInMinutes + * If escalation is required, the time a request can be pending a response from a primary approver. + * + * @param int $val The value of the escalationTimeInMinutes + * + * @return ApprovalStage + */ + public function setEscalationTimeInMinutes($val) + { + $this->_propDict["escalationTimeInMinutes"] = $val; + return $this; + } + /** + * Gets the isApproverJustificationRequired + * Indicates whether the approver is required to provide a justification for approving a request. + * + * @return bool|null The isApproverJustificationRequired + */ + public function getIsApproverJustificationRequired() + { + if (array_key_exists("isApproverJustificationRequired", $this->_propDict)) { + return $this->_propDict["isApproverJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApproverJustificationRequired + * Indicates whether the approver is required to provide a justification for approving a request. + * + * @param bool $val The value of the isApproverJustificationRequired + * + * @return ApprovalStage + */ + public function setIsApproverJustificationRequired($val) + { + $this->_propDict["isApproverJustificationRequired"] = $val; + return $this; + } + /** + * Gets the isEscalationEnabled + * If true, then one or more escalation approvers are configured in this approval stage. + * + * @return bool|null The isEscalationEnabled + */ + public function getIsEscalationEnabled() + { + if (array_key_exists("isEscalationEnabled", $this->_propDict)) { + return $this->_propDict["isEscalationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEscalationEnabled + * If true, then one or more escalation approvers are configured in this approval stage. + * + * @param bool $val The value of the isEscalationEnabled + * + * @return ApprovalStage + */ + public function setIsEscalationEnabled($val) + { + $this->_propDict["isEscalationEnabled"] = $val; + return $this; + } + + /** + * Gets the primaryApprovers + * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, include at least one userSet in this collection. + * + * @return UserSet|null The primaryApprovers + */ + public function getPrimaryApprovers() + { + if (array_key_exists("primaryApprovers", $this->_propDict)) { + if (is_a($this->_propDict["primaryApprovers"], "\Beta\Microsoft\Graph\Model\UserSet") || is_null($this->_propDict["primaryApprovers"])) { + return $this->_propDict["primaryApprovers"]; + } else { + $this->_propDict["primaryApprovers"] = new UserSet($this->_propDict["primaryApprovers"]); + return $this->_propDict["primaryApprovers"]; + } + } + return null; + } + + /** + * Sets the primaryApprovers + * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, include at least one userSet in this collection. + * + * @param UserSet $val The value to assign to the primaryApprovers + * + * @return ApprovalStage The ApprovalStage + */ + public function setPrimaryApprovers($val) + { + $this->_propDict["primaryApprovers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalState.php new file mode 100644 index 0000000..bdac70d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["assignedToMe"]; + } else { + return null; + } + } + + /** + * Sets the assignedToMe + * Indicates whether the step is assigned to the calling user to review. Read-only. + * + * @param bool $val The assignedToMe + * + * @return ApprovalStep + */ + public function setAssignedToMe($val) + { + $this->_propDict["assignedToMe"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * The label provided by the policy creator to identify an approval step. Read-only. + * + * @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 + * The label provided by the policy creator to identify an approval step. Read-only. + * + * @param string $val The displayName + * + * @return ApprovalStep + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the justification + * The justification associated with the approval step decision. + * + * @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 associated with the approval step decision. + * + * @param string $val The justification + * + * @return ApprovalStep + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the reviewedBy + * The identifier of the reviewer. Read-only. + * + * @return Identity|null The reviewedBy + */ + public function getReviewedBy() + { + if (array_key_exists("reviewedBy", $this->_propDict)) { + if (is_a($this->_propDict["reviewedBy"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["reviewedBy"])) { + return $this->_propDict["reviewedBy"]; + } else { + $this->_propDict["reviewedBy"] = new Identity($this->_propDict["reviewedBy"]); + return $this->_propDict["reviewedBy"]; + } + } + return null; + } + + /** + * Sets the reviewedBy + * The identifier of the reviewer. Read-only. + * + * @param Identity $val The reviewedBy + * + * @return ApprovalStep + */ + public function setReviewedBy($val) + { + $this->_propDict["reviewedBy"] = $val; + return $this; + } + + /** + * Gets the reviewedDateTime + * The date and time when a decision was recorded. The date and time information uses 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 reviewedDateTime + */ + public function getReviewedDateTime() + { + if (array_key_exists("reviewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewedDateTime"], "\DateTime") || is_null($this->_propDict["reviewedDateTime"])) { + return $this->_propDict["reviewedDateTime"]; + } else { + $this->_propDict["reviewedDateTime"] = new \DateTime($this->_propDict["reviewedDateTime"]); + return $this->_propDict["reviewedDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewedDateTime + * The date and time when a decision was recorded. The date and time information uses 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 reviewedDateTime + * + * @return ApprovalStep + */ + public function setReviewedDateTime($val) + { + $this->_propDict["reviewedDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewResult + * The result of this approval record. Possible values include: NotReviewed, Approved, Denied. + * + * @return string|null The reviewResult + */ + public function getReviewResult() + { + if (array_key_exists("reviewResult", $this->_propDict)) { + return $this->_propDict["reviewResult"]; + } else { + return null; + } + } + + /** + * Sets the reviewResult + * The result of this approval record. Possible values include: NotReviewed, Approved, Denied. + * + * @param string $val The reviewResult + * + * @return ApprovalStep + */ + public function setReviewResult($val) + { + $this->_propDict["reviewResult"] = $val; + return $this; + } + + /** + * Gets the status + * The step status. Possible values: InProgress, Initializing, Completed, Expired. Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The step status. Possible values: InProgress, Initializing, Completed, Expired. Read-only. + * + * @param string $val The status + * + * @return ApprovalStep + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalWorkflowProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalWorkflowProvider.php new file mode 100644 index 0000000..12e17e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalWorkflowProvider.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return ApprovalWorkflowProvider + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the businessFlows + * + * @return array|null The businessFlows + */ + public function getBusinessFlows() + { + if (array_key_exists("businessFlows", $this->_propDict)) { + return $this->_propDict["businessFlows"]; + } else { + return null; + } + } + + /** + * Sets the businessFlows + * + * @param BusinessFlow[] $val The businessFlows + * + * @return ApprovalWorkflowProvider + */ + public function setBusinessFlows($val) + { + $this->_propDict["businessFlows"] = $val; + return $this; + } + + + /** + * Gets the businessFlowsWithRequestsAwaitingMyDecision + * + * @return array|null The businessFlowsWithRequestsAwaitingMyDecision + */ + public function getBusinessFlowsWithRequestsAwaitingMyDecision() + { + if (array_key_exists("businessFlowsWithRequestsAwaitingMyDecision", $this->_propDict)) { + return $this->_propDict["businessFlowsWithRequestsAwaitingMyDecision"]; + } else { + return null; + } + } + + /** + * Sets the businessFlowsWithRequestsAwaitingMyDecision + * + * @param BusinessFlow[] $val The businessFlowsWithRequestsAwaitingMyDecision + * + * @return ApprovalWorkflowProvider + */ + public function setBusinessFlowsWithRequestsAwaitingMyDecision($val) + { + $this->_propDict["businessFlowsWithRequestsAwaitingMyDecision"] = $val; + return $this; + } + + + /** + * Gets the policyTemplates + * + * @return array|null The policyTemplates + */ + public function getPolicyTemplates() + { + if (array_key_exists("policyTemplates", $this->_propDict)) { + return $this->_propDict["policyTemplates"]; + } else { + return null; + } + } + + /** + * Sets the policyTemplates + * + * @param GovernancePolicyTemplate[] $val The policyTemplates + * + * @return ApprovalWorkflowProvider + */ + public function setPolicyTemplates($val) + { + $this->_propDict["policyTemplates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ArchivedPrintJob.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ArchivedPrintJob.php new file mode 100644 index 0000000..818e5d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ArchivedPrintJob.php @@ -0,0 +1,443 @@ +_propDict)) { + return $this->_propDict["acquiredByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the acquiredByPrinter + * True if the job was acquired by a printer; false otherwise. Read-only. + * + * @param bool $val The value of the acquiredByPrinter + * + * @return ArchivedPrintJob + */ + public function setAcquiredByPrinter($val) + { + $this->_propDict["acquiredByPrinter"] = $val; + return $this; + } + + /** + * Gets the acquiredDateTime + * The dateTimeOffset when the job was acquired by the printer, if any. Read-only. + * + * @return \DateTime|null The acquiredDateTime + */ + public function getAcquiredDateTime() + { + if (array_key_exists("acquiredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["acquiredDateTime"], "\DateTime") || is_null($this->_propDict["acquiredDateTime"])) { + return $this->_propDict["acquiredDateTime"]; + } else { + $this->_propDict["acquiredDateTime"] = new \DateTime($this->_propDict["acquiredDateTime"]); + return $this->_propDict["acquiredDateTime"]; + } + } + return null; + } + + /** + * Sets the acquiredDateTime + * The dateTimeOffset when the job was acquired by the printer, if any. Read-only. + * + * @param \DateTime $val The value to assign to the acquiredDateTime + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setAcquiredDateTime($val) + { + $this->_propDict["acquiredDateTime"] = $val; + return $this; + } + /** + * Gets the blackAndWhitePageCount + * The number of black and white pages that were printed. Read-only. + * + * @return int|null The blackAndWhitePageCount + */ + public function getBlackAndWhitePageCount() + { + if (array_key_exists("blackAndWhitePageCount", $this->_propDict)) { + return $this->_propDict["blackAndWhitePageCount"]; + } else { + return null; + } + } + + /** + * Sets the blackAndWhitePageCount + * The number of black and white pages that were printed. Read-only. + * + * @param int $val The value of the blackAndWhitePageCount + * + * @return ArchivedPrintJob + */ + public function setBlackAndWhitePageCount($val) + { + $this->_propDict["blackAndWhitePageCount"] = $val; + return $this; + } + /** + * Gets the colorPageCount + * The number of color pages that were printed. Read-only. + * + * @return int|null The colorPageCount + */ + public function getColorPageCount() + { + if (array_key_exists("colorPageCount", $this->_propDict)) { + return $this->_propDict["colorPageCount"]; + } else { + return null; + } + } + + /** + * Sets the colorPageCount + * The number of color pages that were printed. Read-only. + * + * @param int $val The value of the colorPageCount + * + * @return ArchivedPrintJob + */ + public function setColorPageCount($val) + { + $this->_propDict["colorPageCount"] = $val; + return $this; + } + + /** + * Gets the completionDateTime + * The dateTimeOffset when the job was completed, canceled or aborted. Read-only. + * + * @return \DateTime|null The completionDateTime + */ + public function getCompletionDateTime() + { + if (array_key_exists("completionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * The dateTimeOffset when the job was completed, canceled or aborted. Read-only. + * + * @param \DateTime $val The value to assign to the completionDateTime + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + /** + * Gets the copiesPrinted + * The number of copies that were printed. Read-only. + * + * @return int|null The copiesPrinted + */ + public function getCopiesPrinted() + { + if (array_key_exists("copiesPrinted", $this->_propDict)) { + return $this->_propDict["copiesPrinted"]; + } else { + return null; + } + } + + /** + * Sets the copiesPrinted + * The number of copies that were printed. Read-only. + * + * @param int $val The value of the copiesPrinted + * + * @return ArchivedPrintJob + */ + public function setCopiesPrinted($val) + { + $this->_propDict["copiesPrinted"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created the print job. Read-only. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the print job. Read-only. + * + * @param UserIdentity $val The value to assign to the createdBy + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The dateTimeOffset when the job was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The dateTimeOffset when the job was created. Read-only. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the duplexPageCount + * The number of duplex (double-sided) pages that were printed. Read-only. + * + * @return int|null The duplexPageCount + */ + public function getDuplexPageCount() + { + if (array_key_exists("duplexPageCount", $this->_propDict)) { + return $this->_propDict["duplexPageCount"]; + } else { + return null; + } + } + + /** + * Sets the duplexPageCount + * The number of duplex (double-sided) pages that were printed. Read-only. + * + * @param int $val The value of the duplexPageCount + * + * @return ArchivedPrintJob + */ + public function setDuplexPageCount($val) + { + $this->_propDict["duplexPageCount"] = $val; + return $this; + } + /** + * Gets the id + * The archived print job's GUID. Read-only. + * + * @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 + * The archived print job's GUID. Read-only. + * + * @param string $val The value of the id + * + * @return ArchivedPrintJob + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the pageCount + * The total number of pages that were printed. Read-only. + * + * @return int|null The pageCount + */ + public function getPageCount() + { + if (array_key_exists("pageCount", $this->_propDict)) { + return $this->_propDict["pageCount"]; + } else { + return null; + } + } + + /** + * Sets the pageCount + * The total number of pages that were printed. Read-only. + * + * @param int $val The value of the pageCount + * + * @return ArchivedPrintJob + */ + public function setPageCount($val) + { + $this->_propDict["pageCount"] = $val; + return $this; + } + /** + * Gets the printerId + * The printer ID that the job was queued for. Read-only. + * + * @return string|null The printerId + */ + public function getPrinterId() + { + if (array_key_exists("printerId", $this->_propDict)) { + return $this->_propDict["printerId"]; + } else { + return null; + } + } + + /** + * Sets the printerId + * The printer ID that the job was queued for. Read-only. + * + * @param string $val The value of the printerId + * + * @return ArchivedPrintJob + */ + public function setPrinterId($val) + { + $this->_propDict["printerId"] = $val; + return $this; + } + + /** + * Gets the processingState + * The print job's final processing state. Read-only. + * + * @return PrintJobProcessingState|null The processingState + */ + public function getProcessingState() + { + if (array_key_exists("processingState", $this->_propDict)) { + if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["processingState"])) { + return $this->_propDict["processingState"]; + } else { + $this->_propDict["processingState"] = new PrintJobProcessingState($this->_propDict["processingState"]); + return $this->_propDict["processingState"]; + } + } + return null; + } + + /** + * Sets the processingState + * The print job's final processing state. Read-only. + * + * @param PrintJobProcessingState $val The value to assign to the processingState + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setProcessingState($val) + { + $this->_propDict["processingState"] = $val; + return $this; + } + /** + * Gets the simplexPageCount + * The number of simplex (single-sided) pages that were printed. Read-only. + * + * @return int|null The simplexPageCount + */ + public function getSimplexPageCount() + { + if (array_key_exists("simplexPageCount", $this->_propDict)) { + return $this->_propDict["simplexPageCount"]; + } else { + return null; + } + } + + /** + * Sets the simplexPageCount + * The number of simplex (single-sided) pages that were printed. Read-only. + * + * @param int $val The value of the simplexPageCount + * + * @return ArchivedPrintJob + */ + public function setSimplexPageCount($val) + { + $this->_propDict["simplexPageCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLabel.php new file mode 100644 index 0000000..4d67411 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLabel.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the label. Read-only. + * + * @param string $val The value of the displayName + * + * @return AssignedLabel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the labelId + * The unique identifier of the label. + * + * @return string|null The labelId + */ + public function getLabelId() + { + if (array_key_exists("labelId", $this->_propDict)) { + return $this->_propDict["labelId"]; + } else { + return null; + } + } + + /** + * Sets the labelId + * The unique identifier of the label. + * + * @param string $val The value of the labelId + * + * @return AssignedLabel + */ + public function setLabelId($val) + { + $this->_propDict["labelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLicense.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLicense.php new file mode 100644 index 0000000..3d429d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLicense.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["disabledPlans"]; + } else { + return null; + } + } + + /** + * Sets the disabledPlans + * A collection of the unique identifiers for plans that have been disabled. + * + * @param string $val The value of the disabledPlans + * + * @return AssignedLicense + */ + public function setDisabledPlans($val) + { + $this->_propDict["disabledPlans"] = $val; + return $this; + } + /** + * Gets the skuId + * The unique identifier for the SKU. + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * The unique identifier for the SKU. + * + * @param string $val The value of the skuId + * + * @return AssignedLicense + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedPlan.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedPlan.php new file mode 100644 index 0000000..303d9dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedPlan.php @@ -0,0 +1,143 @@ +_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. 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 assignedDateTime + * + * @return AssignedPlan The AssignedPlan + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + /** + * Gets the capabilityStatus + * Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. + * + * @return string|null The capabilityStatus + */ + public function getCapabilityStatus() + { + if (array_key_exists("capabilityStatus", $this->_propDict)) { + return $this->_propDict["capabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the capabilityStatus + * Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. + * + * @param string $val The value of the capabilityStatus + * + * @return AssignedPlan + */ + public function setCapabilityStatus($val) + { + $this->_propDict["capabilityStatus"] = $val; + return $this; + } + /** + * Gets the service + * The name of the service; for example, exchange. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The name of the service; for example, exchange. + * + * @param string $val The value of the service + * + * @return AssignedPlan + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + /** + * Gets the servicePlanId + * A GUID that identifies the service plan. For a complete list of GUIDs and their equivalent friendly service names, see Product names and service plan identifiers for licensing. + * + * @return string|null The servicePlanId + */ + public function getServicePlanId() + { + if (array_key_exists("servicePlanId", $this->_propDict)) { + return $this->_propDict["servicePlanId"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanId + * A GUID that identifies the service plan. For a complete list of GUIDs and their equivalent friendly service names, see Product names and service plan identifiers for licensing. + * + * @param string $val The value of the servicePlanId + * + * @return AssignedPlan + */ + public function setServicePlanId($val) + { + $this->_propDict["servicePlanId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedTrainingInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedTrainingInfo.php new file mode 100644 index 0000000..b2085e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedTrainingInfo.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["assignedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the assignedUserCount + * Number of users who were assigned the training in an attack simulation and training campaign. + * + * @param int $val The value of the assignedUserCount + * + * @return AssignedTrainingInfo + */ + public function setAssignedUserCount($val) + { + $this->_propDict["assignedUserCount"] = $val; + return $this; + } + /** + * Gets the completedUserCount + * Number of users who completed the training in an attack simulation and training campaign. + * + * @return int|null The completedUserCount + */ + public function getCompletedUserCount() + { + if (array_key_exists("completedUserCount", $this->_propDict)) { + return $this->_propDict["completedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the completedUserCount + * Number of users who completed the training in an attack simulation and training campaign. + * + * @param int $val The value of the completedUserCount + * + * @return AssignedTrainingInfo + */ + public function setCompletedUserCount($val) + { + $this->_propDict["completedUserCount"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name of the training in an attack simulation and training campaign. + * + * @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 + * Display name of the training in an attack simulation and training campaign. + * + * @param string $val The value of the displayName + * + * @return AssignedTrainingInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluateRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluateRequest.php new file mode 100644 index 0000000..4e402af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluateRequest.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["orderBy"]; + } else { + return null; + } + } + + /** + * Sets the orderBy + * Order the devices should be sorted in. Default is ascending on device name. + * + * @param string $val The value of the orderBy + * + * @return AssignmentFilterEvaluateRequest + */ + public function setOrderBy($val) + { + $this->_propDict["orderBy"] = $val; + return $this; + } + + /** + * 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. + * + * @return DevicePlatformType|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new DevicePlatformType($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * 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. + * + * @param DevicePlatformType $val The value to assign to the platform + * + * @return AssignmentFilterEvaluateRequest The AssignmentFilterEvaluateRequest + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + /** + * Gets the rule + * Rule definition of the Assignment Filter. + * + * @return string|null The rule + */ + public function getRule() + { + if (array_key_exists("rule", $this->_propDict)) { + return $this->_propDict["rule"]; + } else { + return null; + } + } + + /** + * Sets the rule + * Rule definition of the Assignment Filter. + * + * @param string $val The value of the rule + * + * @return AssignmentFilterEvaluateRequest + */ + public function setRule($val) + { + $this->_propDict["rule"] = $val; + return $this; + } + /** + * Gets the skip + * Number of records to skip. Default value is 0 + * + * @return int|null The skip + */ + public function getSkip() + { + if (array_key_exists("skip", $this->_propDict)) { + return $this->_propDict["skip"]; + } else { + return null; + } + } + + /** + * Sets the skip + * Number of records to skip. Default value is 0 + * + * @param int $val The value of the skip + * + * @return AssignmentFilterEvaluateRequest + */ + public function setSkip($val) + { + $this->_propDict["skip"] = $val; + return $this; + } + /** + * Gets the top + * Limit of records per request. Default value is 100, if provided less than 0 or greater than 100 + * + * @return int|null The top + */ + public function getTop() + { + if (array_key_exists("top", $this->_propDict)) { + return $this->_propDict["top"]; + } else { + return null; + } + } + + /** + * Sets the top + * Limit of records per request. Default value is 100, if provided less than 0 or greater than 100 + * + * @param int $val The value of the top + * + * @return AssignmentFilterEvaluateRequest + */ + public function setTop($val) + { + $this->_propDict["top"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationResult.php new file mode 100644 index 0000000..31cefde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationResult.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["payloadId"]; + } else { + return null; + } + } + + /** + * Sets the payloadId + * PayloadId on which filter has been applied. + * + * @param string $val The payloadId + * + * @return AssignmentFilterEvaluationStatusDetails + */ + public function setPayloadId($val) + { + $this->_propDict["payloadId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationSummary.php new file mode 100644 index 0000000..d7ddbbc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationSummary.php @@ -0,0 +1,280 @@ +_propDict)) { + return $this->_propDict["assignmentFilterDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the assignmentFilterDisplayName + * The admin defined name for assignment filter. + * + * @param string $val The value of the assignmentFilterDisplayName + * + * @return AssignmentFilterEvaluationSummary + */ + public function setAssignmentFilterDisplayName($val) + { + $this->_propDict["assignmentFilterDisplayName"] = $val; + return $this; + } + /** + * Gets the assignmentFilterId + * Unique identifier for the assignment filter object + * + * @return string|null The assignmentFilterId + */ + public function getAssignmentFilterId() + { + if (array_key_exists("assignmentFilterId", $this->_propDict)) { + return $this->_propDict["assignmentFilterId"]; + } else { + return null; + } + } + + /** + * Sets the assignmentFilterId + * Unique identifier for the assignment filter object + * + * @param string $val The value of the assignmentFilterId + * + * @return AssignmentFilterEvaluationSummary + */ + public function setAssignmentFilterId($val) + { + $this->_propDict["assignmentFilterId"] = $val; + return $this; + } + + /** + * Gets the assignmentFilterLastModifiedDateTime + * The time the assignment filter was last modified. + * + * @return \DateTime|null The assignmentFilterLastModifiedDateTime + */ + public function getAssignmentFilterLastModifiedDateTime() + { + if (array_key_exists("assignmentFilterLastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignmentFilterLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["assignmentFilterLastModifiedDateTime"])) { + return $this->_propDict["assignmentFilterLastModifiedDateTime"]; + } else { + $this->_propDict["assignmentFilterLastModifiedDateTime"] = new \DateTime($this->_propDict["assignmentFilterLastModifiedDateTime"]); + return $this->_propDict["assignmentFilterLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignmentFilterLastModifiedDateTime + * The time the assignment filter was last modified. + * + * @param \DateTime $val The value to assign to the assignmentFilterLastModifiedDateTime + * + * @return AssignmentFilterEvaluationSummary The AssignmentFilterEvaluationSummary + */ + public function setAssignmentFilterLastModifiedDateTime($val) + { + $this->_propDict["assignmentFilterLastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the assignmentFilterPlatform + * The platform for which this assignment filter is created. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown. + * + * @return DevicePlatformType|null The assignmentFilterPlatform + */ + public function getAssignmentFilterPlatform() + { + if (array_key_exists("assignmentFilterPlatform", $this->_propDict)) { + if (is_a($this->_propDict["assignmentFilterPlatform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["assignmentFilterPlatform"])) { + return $this->_propDict["assignmentFilterPlatform"]; + } else { + $this->_propDict["assignmentFilterPlatform"] = new DevicePlatformType($this->_propDict["assignmentFilterPlatform"]); + return $this->_propDict["assignmentFilterPlatform"]; + } + } + return null; + } + + /** + * Sets the assignmentFilterPlatform + * The platform for which this assignment filter is created. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown. + * + * @param DevicePlatformType $val The value to assign to the assignmentFilterPlatform + * + * @return AssignmentFilterEvaluationSummary The AssignmentFilterEvaluationSummary + */ + public function setAssignmentFilterPlatform($val) + { + $this->_propDict["assignmentFilterPlatform"] = $val; + return $this; + } + + /** + * Gets the assignmentFilterType + * Indicate filter type either include or exclude. Possible values are: none, include, exclude. + * + * @return DeviceAndAppManagementAssignmentFilterType|null The assignmentFilterType + */ + public function getAssignmentFilterType() + { + if (array_key_exists("assignmentFilterType", $this->_propDict)) { + if (is_a($this->_propDict["assignmentFilterType"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentFilterType") || is_null($this->_propDict["assignmentFilterType"])) { + return $this->_propDict["assignmentFilterType"]; + } else { + $this->_propDict["assignmentFilterType"] = new DeviceAndAppManagementAssignmentFilterType($this->_propDict["assignmentFilterType"]); + return $this->_propDict["assignmentFilterType"]; + } + } + return null; + } + + /** + * Sets the assignmentFilterType + * Indicate filter type either include or exclude. Possible values are: none, include, exclude. + * + * @param DeviceAndAppManagementAssignmentFilterType $val The value to assign to the assignmentFilterType + * + * @return AssignmentFilterEvaluationSummary The AssignmentFilterEvaluationSummary + */ + public function setAssignmentFilterType($val) + { + $this->_propDict["assignmentFilterType"] = $val; + return $this; + } + + /** + * Gets the assignmentFilterTypeAndEvaluationResults + * A collection of filter types and their corresponding evaluation results. + * + * @return AssignmentFilterTypeAndEvaluationResult|null The assignmentFilterTypeAndEvaluationResults + */ + public function getAssignmentFilterTypeAndEvaluationResults() + { + if (array_key_exists("assignmentFilterTypeAndEvaluationResults", $this->_propDict)) { + if (is_a($this->_propDict["assignmentFilterTypeAndEvaluationResults"], "\Beta\Microsoft\Graph\Model\AssignmentFilterTypeAndEvaluationResult") || is_null($this->_propDict["assignmentFilterTypeAndEvaluationResults"])) { + return $this->_propDict["assignmentFilterTypeAndEvaluationResults"]; + } else { + $this->_propDict["assignmentFilterTypeAndEvaluationResults"] = new AssignmentFilterTypeAndEvaluationResult($this->_propDict["assignmentFilterTypeAndEvaluationResults"]); + return $this->_propDict["assignmentFilterTypeAndEvaluationResults"]; + } + } + return null; + } + + /** + * Sets the assignmentFilterTypeAndEvaluationResults + * A collection of filter types and their corresponding evaluation results. + * + * @param AssignmentFilterTypeAndEvaluationResult $val The value to assign to the assignmentFilterTypeAndEvaluationResults + * + * @return AssignmentFilterEvaluationSummary The AssignmentFilterEvaluationSummary + */ + public function setAssignmentFilterTypeAndEvaluationResults($val) + { + $this->_propDict["assignmentFilterTypeAndEvaluationResults"] = $val; + return $this; + } + + /** + * Gets the evaluationDateTime + * The time assignment filter was evaluated. + * + * @return \DateTime|null The evaluationDateTime + */ + public function getEvaluationDateTime() + { + if (array_key_exists("evaluationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["evaluationDateTime"], "\DateTime") || is_null($this->_propDict["evaluationDateTime"])) { + return $this->_propDict["evaluationDateTime"]; + } else { + $this->_propDict["evaluationDateTime"] = new \DateTime($this->_propDict["evaluationDateTime"]); + return $this->_propDict["evaluationDateTime"]; + } + } + return null; + } + + /** + * Sets the evaluationDateTime + * The time assignment filter was evaluated. + * + * @param \DateTime $val The value to assign to the evaluationDateTime + * + * @return AssignmentFilterEvaluationSummary The AssignmentFilterEvaluationSummary + */ + public function setEvaluationDateTime($val) + { + $this->_propDict["evaluationDateTime"] = $val; + return $this; + } + + /** + * Gets the evaluationResult + * Assignment filter evaluation result. Possible values are: unknown, match, notMatch, inconclusive, failure, notEvaluated. + * + * @return AssignmentFilterEvaluationResult|null The evaluationResult + */ + public function getEvaluationResult() + { + if (array_key_exists("evaluationResult", $this->_propDict)) { + if (is_a($this->_propDict["evaluationResult"], "\Beta\Microsoft\Graph\Model\AssignmentFilterEvaluationResult") || is_null($this->_propDict["evaluationResult"])) { + return $this->_propDict["evaluationResult"]; + } else { + $this->_propDict["evaluationResult"] = new AssignmentFilterEvaluationResult($this->_propDict["evaluationResult"]); + return $this->_propDict["evaluationResult"]; + } + } + return null; + } + + /** + * Sets the evaluationResult + * Assignment filter evaluation result. Possible values are: unknown, match, notMatch, inconclusive, failure, notEvaluated. + * + * @param AssignmentFilterEvaluationResult $val The value to assign to the evaluationResult + * + * @return AssignmentFilterEvaluationSummary The AssignmentFilterEvaluationSummary + */ + public function setEvaluationResult($val) + { + $this->_propDict["evaluationResult"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterOperator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterOperator.php new file mode 100644 index 0000000..1456fa9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterOperator.php @@ -0,0 +1,43 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicator to if AssignmentFilter is enabled or disabled. + * + * @param bool $val The value of the enabled + * + * @return AssignmentFilterState + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterStatusDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterStatusDetails.php new file mode 100644 index 0000000..53b3ded --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterStatusDetails.php @@ -0,0 +1,176 @@ +_propDict)) { + if (is_a($this->_propDict["deviceProperties"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["deviceProperties"])) { + return $this->_propDict["deviceProperties"]; + } else { + $this->_propDict["deviceProperties"] = new KeyValuePair($this->_propDict["deviceProperties"]); + return $this->_propDict["deviceProperties"]; + } + } + return null; + } + + /** + * Sets the deviceProperties + * Device properties used for filter evaluation during device check-in time. + * + * @param KeyValuePair $val The value to assign to the deviceProperties + * + * @return AssignmentFilterStatusDetails The AssignmentFilterStatusDetails + */ + public function setDeviceProperties($val) + { + $this->_propDict["deviceProperties"] = $val; + return $this; + } + + /** + * Gets the evalutionSummaries + * Evaluation result summaries for each filter associated to device and payload + * + * @return AssignmentFilterEvaluationSummary|null The evalutionSummaries + */ + public function getEvalutionSummaries() + { + if (array_key_exists("evalutionSummaries", $this->_propDict)) { + if (is_a($this->_propDict["evalutionSummaries"], "\Beta\Microsoft\Graph\Model\AssignmentFilterEvaluationSummary") || is_null($this->_propDict["evalutionSummaries"])) { + return $this->_propDict["evalutionSummaries"]; + } else { + $this->_propDict["evalutionSummaries"] = new AssignmentFilterEvaluationSummary($this->_propDict["evalutionSummaries"]); + return $this->_propDict["evalutionSummaries"]; + } + } + return null; + } + + /** + * Sets the evalutionSummaries + * Evaluation result summaries for each filter associated to device and payload + * + * @param AssignmentFilterEvaluationSummary $val The value to assign to the evalutionSummaries + * + * @return AssignmentFilterStatusDetails The AssignmentFilterStatusDetails + */ + public function setEvalutionSummaries($val) + { + $this->_propDict["evalutionSummaries"] = $val; + return $this; + } + /** + * Gets the managedDeviceId + * Unique identifier for the device object. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Unique identifier for the device object. + * + * @param string $val The value of the managedDeviceId + * + * @return AssignmentFilterStatusDetails + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + /** + * Gets the payloadId + * Unique identifier for payload object. + * + * @return string|null The payloadId + */ + public function getPayloadId() + { + if (array_key_exists("payloadId", $this->_propDict)) { + return $this->_propDict["payloadId"]; + } else { + return null; + } + } + + /** + * Sets the payloadId + * Unique identifier for payload object. + * + * @param string $val The value of the payloadId + * + * @return AssignmentFilterStatusDetails + */ + public function setPayloadId($val) + { + $this->_propDict["payloadId"] = $val; + return $this; + } + /** + * Gets the userId + * Unique identifier for UserId object. Can be null + * + * @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 + * Unique identifier for UserId object. Can be null + * + * @param string $val The value of the userId + * + * @return AssignmentFilterStatusDetails + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterSupportedProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterSupportedProperty.php new file mode 100644 index 0000000..79d717b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterSupportedProperty.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["dataType"]; + } else { + return null; + } + } + + /** + * Sets the dataType + * The data type of the property. + * + * @param string $val The value of the dataType + * + * @return AssignmentFilterSupportedProperty + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + /** + * Gets the isCollection + * Indicates whether the property is a collection type or not. + * + * @return bool|null The isCollection + */ + public function getIsCollection() + { + if (array_key_exists("isCollection", $this->_propDict)) { + return $this->_propDict["isCollection"]; + } else { + return null; + } + } + + /** + * Sets the isCollection + * Indicates whether the property is a collection type or not. + * + * @param bool $val The value of the isCollection + * + * @return AssignmentFilterSupportedProperty + */ + public function setIsCollection($val) + { + $this->_propDict["isCollection"] = $val; + return $this; + } + /** + * Gets the name + * Name of the property. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the property. + * + * @param string $val The value of the name + * + * @return AssignmentFilterSupportedProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the propertyRegexConstraint + * Regex string to do validation on the property value. + * + * @return string|null The propertyRegexConstraint + */ + public function getPropertyRegexConstraint() + { + if (array_key_exists("propertyRegexConstraint", $this->_propDict)) { + return $this->_propDict["propertyRegexConstraint"]; + } else { + return null; + } + } + + /** + * Sets the propertyRegexConstraint + * Regex string to do validation on the property value. + * + * @param string $val The value of the propertyRegexConstraint + * + * @return AssignmentFilterSupportedProperty + */ + public function setPropertyRegexConstraint($val) + { + $this->_propDict["propertyRegexConstraint"] = $val; + return $this; + } + + /** + * Gets the supportedOperators + * List of all supported operators on this property. + * + * @return AssignmentFilterOperator|null The supportedOperators + */ + public function getSupportedOperators() + { + if (array_key_exists("supportedOperators", $this->_propDict)) { + if (is_a($this->_propDict["supportedOperators"], "\Beta\Microsoft\Graph\Model\AssignmentFilterOperator") || is_null($this->_propDict["supportedOperators"])) { + return $this->_propDict["supportedOperators"]; + } else { + $this->_propDict["supportedOperators"] = new AssignmentFilterOperator($this->_propDict["supportedOperators"]); + return $this->_propDict["supportedOperators"]; + } + } + return null; + } + + /** + * Sets the supportedOperators + * List of all supported operators on this property. + * + * @param AssignmentFilterOperator $val The value to assign to the supportedOperators + * + * @return AssignmentFilterSupportedProperty The AssignmentFilterSupportedProperty + */ + public function setSupportedOperators($val) + { + $this->_propDict["supportedOperators"] = $val; + return $this; + } + /** + * Gets the supportedValues + * List of all supported values for this propery, empty if everything is supported. + * + * @return string|null The supportedValues + */ + public function getSupportedValues() + { + if (array_key_exists("supportedValues", $this->_propDict)) { + return $this->_propDict["supportedValues"]; + } else { + return null; + } + } + + /** + * Sets the supportedValues + * List of all supported values for this propery, empty if everything is supported. + * + * @param string $val The value of the supportedValues + * + * @return AssignmentFilterSupportedProperty + */ + public function setSupportedValues($val) + { + $this->_propDict["supportedValues"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterTypeAndEvaluationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterTypeAndEvaluationResult.php new file mode 100644 index 0000000..480a320 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterTypeAndEvaluationResult.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentFilterType"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentFilterType") || is_null($this->_propDict["assignmentFilterType"])) { + return $this->_propDict["assignmentFilterType"]; + } else { + $this->_propDict["assignmentFilterType"] = new DeviceAndAppManagementAssignmentFilterType($this->_propDict["assignmentFilterType"]); + return $this->_propDict["assignmentFilterType"]; + } + } + return null; + } + + /** + * Sets the assignmentFilterType + * Represents the filter type. Possible values are: none, include, exclude. + * + * @param DeviceAndAppManagementAssignmentFilterType $val The value to assign to the assignmentFilterType + * + * @return AssignmentFilterTypeAndEvaluationResult The AssignmentFilterTypeAndEvaluationResult + */ + public function setAssignmentFilterType($val) + { + $this->_propDict["assignmentFilterType"] = $val; + return $this; + } + + /** + * Gets the evaluationResult + * Represents the evalaution result of the filter. Possible values are: unknown, match, notMatch, inconclusive, failure, notEvaluated. + * + * @return AssignmentFilterEvaluationResult|null The evaluationResult + */ + public function getEvaluationResult() + { + if (array_key_exists("evaluationResult", $this->_propDict)) { + if (is_a($this->_propDict["evaluationResult"], "\Beta\Microsoft\Graph\Model\AssignmentFilterEvaluationResult") || is_null($this->_propDict["evaluationResult"])) { + return $this->_propDict["evaluationResult"]; + } else { + $this->_propDict["evaluationResult"] = new AssignmentFilterEvaluationResult($this->_propDict["evaluationResult"]); + return $this->_propDict["evaluationResult"]; + } + } + return null; + } + + /** + * Sets the evaluationResult + * Represents the evalaution result of the filter. Possible values are: unknown, match, notMatch, inconclusive, failure, notEvaluated. + * + * @param AssignmentFilterEvaluationResult $val The value to assign to the evaluationResult + * + * @return AssignmentFilterTypeAndEvaluationResult The AssignmentFilterTypeAndEvaluationResult + */ + public function setEvaluationResult($val) + { + $this->_propDict["evaluationResult"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterValidationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterValidationResult.php new file mode 100644 index 0000000..b40a1a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterValidationResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isValidRule"]; + } else { + return null; + } + } + + /** + * Sets the isValidRule + * Indicator to valid or invalid rule. + * + * @param bool $val The value of the isValidRule + * + * @return AssignmentFilterValidationResult + */ + public function setIsValidRule($val) + { + $this->_propDict["isValidRule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentMethod.php new file mode 100644 index 0000000..b3e499e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentMethod.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * A list of identityUserFlowAttribute IDs provided to determine the order in which attributes should be collected within a user flow. + * + * @param string $val The value of the order + * + * @return AssignmentOrder + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php new file mode 100644 index 0000000..f3c451d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php @@ -0,0 +1,293 @@ +_propDict)) { + if (is_a($this->_propDict["accessReviewTimeoutBehavior"], "\Beta\Microsoft\Graph\Model\AccessReviewTimeoutBehavior") || is_null($this->_propDict["accessReviewTimeoutBehavior"])) { + return $this->_propDict["accessReviewTimeoutBehavior"]; + } else { + $this->_propDict["accessReviewTimeoutBehavior"] = new AccessReviewTimeoutBehavior($this->_propDict["accessReviewTimeoutBehavior"]); + return $this->_propDict["accessReviewTimeoutBehavior"]; + } + } + return null; + } + + /** + * Sets the accessReviewTimeoutBehavior + * The default decision to apply if the request is not reviewed within the period specified in durationInDays. The possible values are: acceptAccessRecommendation, keepAccess, removeAccess, and unknownFutureValue. + * + * @param AccessReviewTimeoutBehavior $val The value to assign to the accessReviewTimeoutBehavior + * + * @return AssignmentReviewSettings The AssignmentReviewSettings + */ + public function setAccessReviewTimeoutBehavior($val) + { + $this->_propDict["accessReviewTimeoutBehavior"] = $val; + return $this; + } + /** + * Gets the durationInDays + * The number of days within which reviewers should provide input. + * + * @return int|null The durationInDays + */ + public function getDurationInDays() + { + if (array_key_exists("durationInDays", $this->_propDict)) { + return $this->_propDict["durationInDays"]; + } else { + return null; + } + } + + /** + * Sets the durationInDays + * The number of days within which reviewers should provide input. + * + * @param int $val The value of the durationInDays + * + * @return AssignmentReviewSettings + */ + public function setDurationInDays($val) + { + $this->_propDict["durationInDays"] = $val; + return $this; + } + /** + * Gets the isAccessRecommendationEnabled + * Specifies whether to display recommendations to the reviewer. The default value is true + * + * @return bool|null The isAccessRecommendationEnabled + */ + public function getIsAccessRecommendationEnabled() + { + if (array_key_exists("isAccessRecommendationEnabled", $this->_propDict)) { + return $this->_propDict["isAccessRecommendationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isAccessRecommendationEnabled + * Specifies whether to display recommendations to the reviewer. The default value is true + * + * @param bool $val The value of the isAccessRecommendationEnabled + * + * @return AssignmentReviewSettings + */ + public function setIsAccessRecommendationEnabled($val) + { + $this->_propDict["isAccessRecommendationEnabled"] = $val; + return $this; + } + /** + * Gets the isApprovalJustificationRequired + * Specifies whether the reviewer must provide justification for the approval. The default value is true. + * + * @return bool|null The isApprovalJustificationRequired + */ + public function getIsApprovalJustificationRequired() + { + if (array_key_exists("isApprovalJustificationRequired", $this->_propDict)) { + return $this->_propDict["isApprovalJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalJustificationRequired + * Specifies whether the reviewer must provide justification for the approval. The default value is true. + * + * @param bool $val The value of the isApprovalJustificationRequired + * + * @return AssignmentReviewSettings + */ + public function setIsApprovalJustificationRequired($val) + { + $this->_propDict["isApprovalJustificationRequired"] = $val; + return $this; + } + /** + * Gets the isEnabled + * If true, access reviews are required for assignments from this policy. + * + * @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 + * If true, access reviews are required for assignments from this policy. + * + * @param bool $val The value of the isEnabled + * + * @return AssignmentReviewSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the recurrenceType + * The interval for recurrence, such as monthly or quarterly. + * + * @return string|null The recurrenceType + */ + public function getRecurrenceType() + { + if (array_key_exists("recurrenceType", $this->_propDict)) { + return $this->_propDict["recurrenceType"]; + } else { + return null; + } + } + + /** + * Sets the recurrenceType + * The interval for recurrence, such as monthly or quarterly. + * + * @param string $val The value of the recurrenceType + * + * @return AssignmentReviewSettings + */ + public function setRecurrenceType($val) + { + $this->_propDict["recurrenceType"] = $val; + return $this; + } + + /** + * Gets the reviewers + * If the reviewerType is Reviewers, this collection specifies the users who will be reviewers, either by ID or as members of a group, using a collection of singleUser and groupMembers. + * + * @return UserSet|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + if (is_a($this->_propDict["reviewers"], "\Beta\Microsoft\Graph\Model\UserSet") || is_null($this->_propDict["reviewers"])) { + return $this->_propDict["reviewers"]; + } else { + $this->_propDict["reviewers"] = new UserSet($this->_propDict["reviewers"]); + return $this->_propDict["reviewers"]; + } + } + return null; + } + + /** + * Sets the reviewers + * If the reviewerType is Reviewers, this collection specifies the users who will be reviewers, either by ID or as members of a group, using a collection of singleUser and groupMembers. + * + * @param UserSet $val The value to assign to the reviewers + * + * @return AssignmentReviewSettings The AssignmentReviewSettings + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + /** + * Gets the reviewerType + * Who should be asked to do the review, either Self or Reviewers. + * + * @return string|null The reviewerType + */ + public function getReviewerType() + { + if (array_key_exists("reviewerType", $this->_propDict)) { + return $this->_propDict["reviewerType"]; + } else { + return null; + } + } + + /** + * Sets the reviewerType + * Who should be asked to do the review, either Self or Reviewers. + * + * @param string $val The value of the reviewerType + * + * @return AssignmentReviewSettings + */ + public function setReviewerType($val) + { + $this->_propDict["reviewerType"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * When the first review should start. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * When the first review should start. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return AssignmentReviewSettings The AssignmentReviewSettings + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssociatedTeamInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssociatedTeamInfo.php new file mode 100644 index 0000000..2661a48 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssociatedTeamInfo.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The MIME type. + * + * @param string $val The contentType + * + * @return Attachment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the isInline + * true if the attachment is an inline attachment; otherwise, false. + * + * @return bool|null The isInline + */ + public function getIsInline() + { + if (array_key_exists("isInline", $this->_propDict)) { + return $this->_propDict["isInline"]; + } else { + return null; + } + } + + /** + * Sets the isInline + * true if the attachment is an inline attachment; otherwise, false. + * + * @param bool $val The isInline + * + * @return Attachment + */ + public function setIsInline($val) + { + $this->_propDict["isInline"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return Attachment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * The display name of the attachment. This does not need to be the actual file name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the attachment. This does not need to be the actual file name. + * + * @param string $val The name + * + * @return Attachment + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * The length of the attachment in bytes. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The length of the attachment in bytes. + * + * @param int $val The size + * + * @return Attachment + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentItem.php new file mode 100644 index 0000000..e2e9a76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentItem.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["attachmentType"], "\Beta\Microsoft\Graph\Model\AttachmentType") || is_null($this->_propDict["attachmentType"])) { + return $this->_propDict["attachmentType"]; + } else { + $this->_propDict["attachmentType"] = new AttachmentType($this->_propDict["attachmentType"]); + return $this->_propDict["attachmentType"]; + } + } + return null; + } + + /** + * Sets the attachmentType + * The type of attachment. Possible values are: file, item, reference. Required. + * + * @param AttachmentType $val The value to assign to the attachmentType + * + * @return AttachmentItem The AttachmentItem + */ + public function setAttachmentType($val) + { + $this->_propDict["attachmentType"] = $val; + return $this; + } + /** + * Gets the contentId + * The CID or Content-Id of the attachment for referencing in case of in-line attachments using &lt;img src='cid:contentId'&gt; tag in HTML messages. Optional. + * + * @return string|null The contentId + */ + public function getContentId() + { + if (array_key_exists("contentId", $this->_propDict)) { + return $this->_propDict["contentId"]; + } else { + return null; + } + } + + /** + * Sets the contentId + * The CID or Content-Id of the attachment for referencing in case of in-line attachments using &lt;img src='cid:contentId'&gt; tag in HTML messages. Optional. + * + * @param string $val The value of the contentId + * + * @return AttachmentItem + */ + public function setContentId($val) + { + $this->_propDict["contentId"] = $val; + return $this; + } + /** + * Gets the contentType + * The nature of the data in the attachment. Optional. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The nature of the data in the attachment. Optional. + * + * @param string $val The value of the contentType + * + * @return AttachmentItem + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the isInline + * true if the attachment is an inline attachment; otherwise, false. Optional. + * + * @return bool|null The isInline + */ + public function getIsInline() + { + if (array_key_exists("isInline", $this->_propDict)) { + return $this->_propDict["isInline"]; + } else { + return null; + } + } + + /** + * Sets the isInline + * true if the attachment is an inline attachment; otherwise, false. Optional. + * + * @param bool $val The value of the isInline + * + * @return AttachmentItem + */ + public function setIsInline($val) + { + $this->_propDict["isInline"] = $val; + return $this; + } + /** + * Gets the name + * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * + * @param string $val The value of the name + * + * @return AttachmentItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the size + * The length of the attachment in bytes. Required. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The length of the attachment in bytes. Required. + * + * @param int $val The value of the size + * + * @return AttachmentItem + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentType.php new file mode 100644 index 0000000..e77e0a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["attackSimulationUser"], "\Beta\Microsoft\Graph\Model\AttackSimulationUser") || is_null($this->_propDict["attackSimulationUser"])) { + return $this->_propDict["attackSimulationUser"]; + } else { + $this->_propDict["attackSimulationUser"] = new AttackSimulationUser($this->_propDict["attackSimulationUser"]); + return $this->_propDict["attackSimulationUser"]; + } + } + return null; + } + + /** + * Sets the attackSimulationUser + * User in an attack simulation and training campaign. + * + * @param AttackSimulationUser $val The value to assign to the attackSimulationUser + * + * @return AttackSimulationRepeatOffender The AttackSimulationRepeatOffender + */ + public function setAttackSimulationUser($val) + { + $this->_propDict["attackSimulationUser"] = $val; + return $this; + } + /** + * Gets the repeatOffenceCount + * Number of repeat offences of the user in attack simulation and training campaigns. + * + * @return int|null The repeatOffenceCount + */ + public function getRepeatOffenceCount() + { + if (array_key_exists("repeatOffenceCount", $this->_propDict)) { + return $this->_propDict["repeatOffenceCount"]; + } else { + return null; + } + } + + /** + * Sets the repeatOffenceCount + * Number of repeat offences of the user in attack simulation and training campaigns. + * + * @param int $val The value of the repeatOffenceCount + * + * @return AttackSimulationRepeatOffender + */ + public function setRepeatOffenceCount($val) + { + $this->_propDict["repeatOffenceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php new file mode 100644 index 0000000..96fde14 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["simulationAutomations"]; + } else { + return null; + } + } + + /** + * Sets the simulationAutomations + * Represents simulation automations created to run on a tenant. + * + * @param SimulationAutomation[] $val The simulationAutomations + * + * @return AttackSimulationRoot + */ + public function setSimulationAutomations($val) + { + $this->_propDict["simulationAutomations"] = $val; + return $this; + } + + + /** + * Gets the simulations + * Represents an attack simulation training campaign in a tenant. + * + * @return array|null The simulations + */ + public function getSimulations() + { + if (array_key_exists("simulations", $this->_propDict)) { + return $this->_propDict["simulations"]; + } else { + return null; + } + } + + /** + * Sets the simulations + * Represents an attack simulation training campaign in a tenant. + * + * @param Simulation[] $val The simulations + * + * @return AttackSimulationRoot + */ + public function setSimulations($val) + { + $this->_propDict["simulations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationSimulationUserCoverage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationSimulationUserCoverage.php new file mode 100644 index 0000000..b17f477 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationSimulationUserCoverage.php @@ -0,0 +1,176 @@ +_propDict)) { + if (is_a($this->_propDict["attackSimulationUser"], "\Beta\Microsoft\Graph\Model\AttackSimulationUser") || is_null($this->_propDict["attackSimulationUser"])) { + return $this->_propDict["attackSimulationUser"]; + } else { + $this->_propDict["attackSimulationUser"] = new AttackSimulationUser($this->_propDict["attackSimulationUser"]); + return $this->_propDict["attackSimulationUser"]; + } + } + return null; + } + + /** + * Sets the attackSimulationUser + * User in an attack simulation and training campaign. + * + * @param AttackSimulationUser $val The value to assign to the attackSimulationUser + * + * @return AttackSimulationSimulationUserCoverage The AttackSimulationSimulationUserCoverage + */ + public function setAttackSimulationUser($val) + { + $this->_propDict["attackSimulationUser"] = $val; + return $this; + } + /** + * Gets the clickCount + * Number of link clicks in the received payloads by the user in attack simulation and training campaigns. + * + * @return int|null The clickCount + */ + public function getClickCount() + { + if (array_key_exists("clickCount", $this->_propDict)) { + return $this->_propDict["clickCount"]; + } else { + return null; + } + } + + /** + * Sets the clickCount + * Number of link clicks in the received payloads by the user in attack simulation and training campaigns. + * + * @param int $val The value of the clickCount + * + * @return AttackSimulationSimulationUserCoverage + */ + public function setClickCount($val) + { + $this->_propDict["clickCount"] = $val; + return $this; + } + /** + * Gets the compromisedCount + * Number of compromising actions by the user in attack simulation and training campaigns. + * + * @return int|null The compromisedCount + */ + public function getCompromisedCount() + { + if (array_key_exists("compromisedCount", $this->_propDict)) { + return $this->_propDict["compromisedCount"]; + } else { + return null; + } + } + + /** + * Sets the compromisedCount + * Number of compromising actions by the user in attack simulation and training campaigns. + * + * @param int $val The value of the compromisedCount + * + * @return AttackSimulationSimulationUserCoverage + */ + public function setCompromisedCount($val) + { + $this->_propDict["compromisedCount"] = $val; + return $this; + } + + /** + * Gets the latestSimulationDateTime + * Date and time of latest attack simulation and training campaign that the user was included in. + * + * @return \DateTime|null The latestSimulationDateTime + */ + public function getLatestSimulationDateTime() + { + if (array_key_exists("latestSimulationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["latestSimulationDateTime"], "\DateTime") || is_null($this->_propDict["latestSimulationDateTime"])) { + return $this->_propDict["latestSimulationDateTime"]; + } else { + $this->_propDict["latestSimulationDateTime"] = new \DateTime($this->_propDict["latestSimulationDateTime"]); + return $this->_propDict["latestSimulationDateTime"]; + } + } + return null; + } + + /** + * Sets the latestSimulationDateTime + * Date and time of latest attack simulation and training campaign that the user was included in. + * + * @param \DateTime $val The value to assign to the latestSimulationDateTime + * + * @return AttackSimulationSimulationUserCoverage The AttackSimulationSimulationUserCoverage + */ + public function setLatestSimulationDateTime($val) + { + $this->_propDict["latestSimulationDateTime"] = $val; + return $this; + } + /** + * Gets the simulationCount + * Number of attack simulation and training campaigns that the user was included in. + * + * @return int|null The simulationCount + */ + public function getSimulationCount() + { + if (array_key_exists("simulationCount", $this->_propDict)) { + return $this->_propDict["simulationCount"]; + } else { + return null; + } + } + + /** + * Sets the simulationCount + * Number of attack simulation and training campaigns that the user was included in. + * + * @param int $val The value of the simulationCount + * + * @return AttackSimulationSimulationUserCoverage + */ + public function setSimulationCount($val) + { + $this->_propDict["simulationCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationTrainingUserCoverage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationTrainingUserCoverage.php new file mode 100644 index 0000000..8d9bdec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationTrainingUserCoverage.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["attackSimulationUser"], "\Beta\Microsoft\Graph\Model\AttackSimulationUser") || is_null($this->_propDict["attackSimulationUser"])) { + return $this->_propDict["attackSimulationUser"]; + } else { + $this->_propDict["attackSimulationUser"] = new AttackSimulationUser($this->_propDict["attackSimulationUser"]); + return $this->_propDict["attackSimulationUser"]; + } + } + return null; + } + + /** + * Sets the attackSimulationUser + * User in an attack simulation and training campaign. + * + * @param AttackSimulationUser $val The value to assign to the attackSimulationUser + * + * @return AttackSimulationTrainingUserCoverage The AttackSimulationTrainingUserCoverage + */ + public function setAttackSimulationUser($val) + { + $this->_propDict["attackSimulationUser"] = $val; + return $this; + } + + /** + * Gets the userTrainings + * List of assigned trainings' and their statuses for the user. + * + * @return UserTrainingStatusInfo|null The userTrainings + */ + public function getUserTrainings() + { + if (array_key_exists("userTrainings", $this->_propDict)) { + if (is_a($this->_propDict["userTrainings"], "\Beta\Microsoft\Graph\Model\UserTrainingStatusInfo") || is_null($this->_propDict["userTrainings"])) { + return $this->_propDict["userTrainings"]; + } else { + $this->_propDict["userTrainings"] = new UserTrainingStatusInfo($this->_propDict["userTrainings"]); + return $this->_propDict["userTrainings"]; + } + } + return null; + } + + /** + * Sets the userTrainings + * List of assigned trainings' and their statuses for the user. + * + * @param UserTrainingStatusInfo $val The value to assign to the userTrainings + * + * @return AttackSimulationTrainingUserCoverage The AttackSimulationTrainingUserCoverage + */ + public function setUserTrainings($val) + { + $this->_propDict["userTrainings"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php new file mode 100644 index 0000000..86dc987 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the user. + * + * @param string $val The value of the displayName + * + * @return AttackSimulationUser + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the email + * Email address of the user. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email address of the user. + * + * @param string $val The value of the email + * + * @return AttackSimulationUser + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the userId + * This is the id property value of the user resource that represents the user in the Azure AD tenant. + * + * @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 + * This is the id property value of the user resource that represents the user in the Azure AD tenant. + * + * @param string $val The value of the userId + * + * @return AttackSimulationUser + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceInterval.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceInterval.php new file mode 100644 index 0000000..3159f24 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceInterval.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["durationInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the durationInSeconds + * Duration of the meeting interval in seconds; that is, the difference between joinDateTime and leaveDateTime. + * + * @param int $val The value of the durationInSeconds + * + * @return AttendanceInterval + */ + public function setDurationInSeconds($val) + { + $this->_propDict["durationInSeconds"] = $val; + return $this; + } + + /** + * Gets the joinDateTime + * The time the attendee joined in UTC. + * + * @return \DateTime|null The joinDateTime + */ + public function getJoinDateTime() + { + if (array_key_exists("joinDateTime", $this->_propDict)) { + if (is_a($this->_propDict["joinDateTime"], "\DateTime") || is_null($this->_propDict["joinDateTime"])) { + return $this->_propDict["joinDateTime"]; + } else { + $this->_propDict["joinDateTime"] = new \DateTime($this->_propDict["joinDateTime"]); + return $this->_propDict["joinDateTime"]; + } + } + return null; + } + + /** + * Sets the joinDateTime + * The time the attendee joined in UTC. + * + * @param \DateTime $val The value to assign to the joinDateTime + * + * @return AttendanceInterval The AttendanceInterval + */ + public function setJoinDateTime($val) + { + $this->_propDict["joinDateTime"] = $val; + return $this; + } + + /** + * Gets the leaveDateTime + * The time the attendee left in UTC. + * + * @return \DateTime|null The leaveDateTime + */ + public function getLeaveDateTime() + { + if (array_key_exists("leaveDateTime", $this->_propDict)) { + if (is_a($this->_propDict["leaveDateTime"], "\DateTime") || is_null($this->_propDict["leaveDateTime"])) { + return $this->_propDict["leaveDateTime"]; + } else { + $this->_propDict["leaveDateTime"] = new \DateTime($this->_propDict["leaveDateTime"]); + return $this->_propDict["leaveDateTime"]; + } + } + return null; + } + + /** + * Sets the leaveDateTime + * The time the attendee left in UTC. + * + * @param \DateTime $val The value to assign to the leaveDateTime + * + * @return AttendanceInterval The AttendanceInterval + */ + public function setLeaveDateTime($val) + { + $this->_propDict["leaveDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceRecord.php new file mode 100644 index 0000000..1db94c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceRecord.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["attendanceIntervals"]; + } else { + return null; + } + } + + /** + * Sets the attendanceIntervals + * List of time periods between joining and leaving a meeting. + * + * @param AttendanceInterval[] $val The attendanceIntervals + * + * @return AttendanceRecord + */ + public function setAttendanceIntervals($val) + { + $this->_propDict["attendanceIntervals"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Email address of the user associated with this atttendance record. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email address of the user associated with this atttendance record. + * + * @param string $val The emailAddress + * + * @return AttendanceRecord + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the identity + * Identity of the user associated with this atttendance record. + * + * @return Identity|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new Identity($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity of the user associated with this atttendance record. + * + * @param Identity $val The identity + * + * @return AttendanceRecord + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + + /** + * Gets the registrantId + * Unique identifier of a meetingRegistrant. Presents when the participant has registered for the meeting. + * + * @return string|null The registrantId + */ + public function getRegistrantId() + { + if (array_key_exists("registrantId", $this->_propDict)) { + return $this->_propDict["registrantId"]; + } else { + return null; + } + } + + /** + * Sets the registrantId + * Unique identifier of a meetingRegistrant. Presents when the participant has registered for the meeting. + * + * @param string $val The registrantId + * + * @return AttendanceRecord + */ + public function setRegistrantId($val) + { + $this->_propDict["registrantId"] = $val; + return $this; + } + + /** + * Gets the role + * Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. + * + * @param string $val The role + * + * @return AttendanceRecord + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the totalAttendanceInSeconds + * Total duration of the attendances in seconds. + * + * @return int|null The totalAttendanceInSeconds + */ + public function getTotalAttendanceInSeconds() + { + if (array_key_exists("totalAttendanceInSeconds", $this->_propDict)) { + return $this->_propDict["totalAttendanceInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the totalAttendanceInSeconds + * Total duration of the attendances in seconds. + * + * @param int $val The totalAttendanceInSeconds + * + * @return AttendanceRecord + */ + public function setTotalAttendanceInSeconds($val) + { + $this->_propDict["totalAttendanceInSeconds"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Attendee.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Attendee.php new file mode 100644 index 0000000..e5cad25 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Attendee.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["proposedNewTime"], "\Beta\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["proposedNewTime"])) { + return $this->_propDict["proposedNewTime"]; + } else { + $this->_propDict["proposedNewTime"] = new TimeSlot($this->_propDict["proposedNewTime"]); + return $this->_propDict["proposedNewTime"]; + } + } + return null; + } + + /** + * Sets the proposedNewTime + * An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. + * + * @param TimeSlot $val The value to assign to the proposedNewTime + * + * @return Attendee The Attendee + */ + public function setProposedNewTime($val) + { + $this->_propDict["proposedNewTime"] = $val; + return $this; + } + + /** + * Gets the status + * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. + * + * @return ResponseStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ResponseStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ResponseStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. + * + * @param ResponseStatus $val The value to assign to the status + * + * @return Attendee The Attendee + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeAvailability.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeAvailability.php new file mode 100644 index 0000000..ff8e9c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeAvailability.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["attendee"], "\Beta\Microsoft\Graph\Model\AttendeeBase") || is_null($this->_propDict["attendee"])) { + return $this->_propDict["attendee"]; + } else { + $this->_propDict["attendee"] = new AttendeeBase($this->_propDict["attendee"]); + return $this->_propDict["attendee"]; + } + } + return null; + } + + /** + * Sets the attendee + * The email address and type of attendee - whether it's a person or a resource, and whether required or optional if it's a person. + * + * @param AttendeeBase $val The value to assign to the attendee + * + * @return AttendeeAvailability The AttendeeAvailability + */ + public function setAttendee($val) + { + $this->_propDict["attendee"] = $val; + return $this; + } + + /** + * Gets the availability + * The availability status of the attendee. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @return FreeBusyStatus|null The availability + */ + public function getAvailability() + { + if (array_key_exists("availability", $this->_propDict)) { + if (is_a($this->_propDict["availability"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["availability"])) { + return $this->_propDict["availability"]; + } else { + $this->_propDict["availability"] = new FreeBusyStatus($this->_propDict["availability"]); + return $this->_propDict["availability"]; + } + } + return null; + } + + /** + * Sets the availability + * The availability status of the attendee. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @param FreeBusyStatus $val The value to assign to the availability + * + * @return AttendeeAvailability The AttendeeAvailability + */ + public function setAvailability($val) + { + $this->_propDict["availability"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeBase.php new file mode 100644 index 0000000..7381ec5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeBase.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttendeeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttendeeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of attendee. Possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type. + * + * @param AttendeeType $val The value to assign to the type + * + * @return AttendeeBase The AttendeeBase + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeType.php new file mode 100644 index 0000000..4e9ed62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["anchor"]; + } else { + return null; + } + } + + /** + * Sets the anchor + * true if the attribute should be used as the anchor for the object. Anchor attributes must have a unique value identifying an object, and must be immutable. Default is false. One, and only one, of the object's attributes must be designated as the anchor to support synchronization. + * + * @param bool $val The value of the anchor + * + * @return AttributeDefinition + */ + public function setAnchor($val) + { + $this->_propDict["anchor"] = $val; + return $this; + } + + /** + * Gets the apiExpressions + * + * @return StringKeyStringValuePair|null The apiExpressions + */ + public function getApiExpressions() + { + if (array_key_exists("apiExpressions", $this->_propDict)) { + if (is_a($this->_propDict["apiExpressions"], "\Beta\Microsoft\Graph\Model\StringKeyStringValuePair") || is_null($this->_propDict["apiExpressions"])) { + return $this->_propDict["apiExpressions"]; + } else { + $this->_propDict["apiExpressions"] = new StringKeyStringValuePair($this->_propDict["apiExpressions"]); + return $this->_propDict["apiExpressions"]; + } + } + return null; + } + + /** + * Sets the apiExpressions + * + * @param StringKeyStringValuePair $val The value to assign to the apiExpressions + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setApiExpressions($val) + { + $this->_propDict["apiExpressions"] = $val; + return $this; + } + /** + * Gets the caseExact + * true if value of this attribute should be treated as case-sensitive. This setting affects how the synchronization engine detects changes for the attribute. + * + * @return bool|null The caseExact + */ + public function getCaseExact() + { + if (array_key_exists("caseExact", $this->_propDict)) { + return $this->_propDict["caseExact"]; + } else { + return null; + } + } + + /** + * Sets the caseExact + * true if value of this attribute should be treated as case-sensitive. This setting affects how the synchronization engine detects changes for the attribute. + * + * @param bool $val The value of the caseExact + * + * @return AttributeDefinition + */ + public function setCaseExact($val) + { + $this->_propDict["caseExact"] = $val; + return $this; + } + /** + * Gets the defaultValue + * + * @return string|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * + * @param string $val The value of the defaultValue + * + * @return AttributeDefinition + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the flowNullValues + * 'true' to allow null values for attributes. + * + * @return bool|null The flowNullValues + */ + public function getFlowNullValues() + { + if (array_key_exists("flowNullValues", $this->_propDict)) { + return $this->_propDict["flowNullValues"]; + } else { + return null; + } + } + + /** + * Sets the flowNullValues + * 'true' to allow null values for attributes. + * + * @param bool $val The value of the flowNullValues + * + * @return AttributeDefinition + */ + public function setFlowNullValues($val) + { + $this->_propDict["flowNullValues"] = $val; + return $this; + } + + /** + * Gets the metadata + * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * + * @return MetadataEntry|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new MetadataEntry($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * + * @param MetadataEntry $val The value to assign to the metadata + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + /** + * Gets the multivalued + * true if an attribute can have multiple values. Default is false. + * + * @return bool|null The multivalued + */ + public function getMultivalued() + { + if (array_key_exists("multivalued", $this->_propDict)) { + return $this->_propDict["multivalued"]; + } else { + return null; + } + } + + /** + * Sets the multivalued + * true if an attribute can have multiple values. Default is false. + * + * @param bool $val The value of the multivalued + * + * @return AttributeDefinition + */ + public function setMultivalued($val) + { + $this->_propDict["multivalued"] = $val; + return $this; + } + + /** + * Gets the mutability + * An attribute's mutability. Possible values are: ReadWrite, ReadOnly, Immutable, WriteOnly. Default is ReadWrite. + * + * @return Mutability|null The mutability + */ + public function getMutability() + { + if (array_key_exists("mutability", $this->_propDict)) { + if (is_a($this->_propDict["mutability"], "\Beta\Microsoft\Graph\Model\Mutability") || is_null($this->_propDict["mutability"])) { + return $this->_propDict["mutability"]; + } else { + $this->_propDict["mutability"] = new Mutability($this->_propDict["mutability"]); + return $this->_propDict["mutability"]; + } + } + return null; + } + + /** + * Sets the mutability + * An attribute's mutability. Possible values are: ReadWrite, ReadOnly, Immutable, WriteOnly. Default is ReadWrite. + * + * @param Mutability $val The value to assign to the mutability + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setMutability($val) + { + $this->_propDict["mutability"] = $val; + return $this; + } + /** + * Gets the name + * Name of the attribute. Must be unique within the object definition. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the attribute. Must be unique within the object definition. Not nullable. + * + * @param string $val The value of the name + * + * @return AttributeDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the referencedObjects + * For attributes with reference type, lists referenced objects (for example, the manager attribute would list User as the referenced object). + * + * @return ReferencedObject|null The referencedObjects + */ + public function getReferencedObjects() + { + if (array_key_exists("referencedObjects", $this->_propDict)) { + if (is_a($this->_propDict["referencedObjects"], "\Beta\Microsoft\Graph\Model\ReferencedObject") || is_null($this->_propDict["referencedObjects"])) { + return $this->_propDict["referencedObjects"]; + } else { + $this->_propDict["referencedObjects"] = new ReferencedObject($this->_propDict["referencedObjects"]); + return $this->_propDict["referencedObjects"]; + } + } + return null; + } + + /** + * Sets the referencedObjects + * For attributes with reference type, lists referenced objects (for example, the manager attribute would list User as the referenced object). + * + * @param ReferencedObject $val The value to assign to the referencedObjects + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setReferencedObjects($val) + { + $this->_propDict["referencedObjects"] = $val; + return $this; + } + /** + * Gets the required + * true if attribute is required. Object can not be created if any of the required attributes are missing. If during synchronization, the required attribute has no value, the default value will be used. If default the value was not set, synchronization will record an error. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * true if attribute is required. Object can not be created if any of the required attributes are missing. If during synchronization, the required attribute has no value, the default value will be used. If default the value was not set, synchronization will record an error. + * + * @param bool $val The value of the required + * + * @return AttributeDefinition + */ + public function setRequired($val) + { + $this->_propDict["required"] = $val; + return $this; + } + + /** + * Gets the type + * Attribute value type. Possible values are: String, Integer, Reference, Binary, Boolean,DateTime. Default is String. + * + * @return AttributeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttributeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttributeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Attribute value type. Possible values are: String, Integer, Reference, Binary, Boolean,DateTime. Default is String. + * + * @param AttributeType $val The value to assign to the type + * + * @return AttributeDefinition The AttributeDefinition + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeFlowBehavior.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeFlowBehavior.php new file mode 100644 index 0000000..e99ba28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeFlowBehavior.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * Default value to be used in case the source property was evaluated to null. Optional. + * + * @param string $val The value of the defaultValue + * + * @return AttributeMapping + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the exportMissingReferences + * For internal use only. + * + * @return bool|null The exportMissingReferences + */ + public function getExportMissingReferences() + { + if (array_key_exists("exportMissingReferences", $this->_propDict)) { + return $this->_propDict["exportMissingReferences"]; + } else { + return null; + } + } + + /** + * Sets the exportMissingReferences + * For internal use only. + * + * @param bool $val The value of the exportMissingReferences + * + * @return AttributeMapping + */ + public function setExportMissingReferences($val) + { + $this->_propDict["exportMissingReferences"] = $val; + return $this; + } + + /** + * Gets the flowBehavior + * Defines when this attribute should be exported to the target directory. Possible values are: FlowWhenChanged and FlowAlways. Default is FlowWhenChanged. + * + * @return AttributeFlowBehavior|null The flowBehavior + */ + public function getFlowBehavior() + { + if (array_key_exists("flowBehavior", $this->_propDict)) { + if (is_a($this->_propDict["flowBehavior"], "\Beta\Microsoft\Graph\Model\AttributeFlowBehavior") || is_null($this->_propDict["flowBehavior"])) { + return $this->_propDict["flowBehavior"]; + } else { + $this->_propDict["flowBehavior"] = new AttributeFlowBehavior($this->_propDict["flowBehavior"]); + return $this->_propDict["flowBehavior"]; + } + } + return null; + } + + /** + * Sets the flowBehavior + * Defines when this attribute should be exported to the target directory. Possible values are: FlowWhenChanged and FlowAlways. Default is FlowWhenChanged. + * + * @param AttributeFlowBehavior $val The value to assign to the flowBehavior + * + * @return AttributeMapping The AttributeMapping + */ + public function setFlowBehavior($val) + { + $this->_propDict["flowBehavior"] = $val; + return $this; + } + + /** + * 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). + * + * @return AttributeFlowType|null The flowType + */ + public function getFlowType() + { + if (array_key_exists("flowType", $this->_propDict)) { + if (is_a($this->_propDict["flowType"], "\Beta\Microsoft\Graph\Model\AttributeFlowType") || is_null($this->_propDict["flowType"])) { + return $this->_propDict["flowType"]; + } else { + $this->_propDict["flowType"] = new AttributeFlowType($this->_propDict["flowType"]); + return $this->_propDict["flowType"]; + } + } + return null; + } + + /** + * 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). + * + * @param AttributeFlowType $val The value to assign to the flowType + * + * @return AttributeMapping The AttributeMapping + */ + public function setFlowType($val) + { + $this->_propDict["flowType"] = $val; + return $this; + } + /** + * Gets the matchingPriority + * If higher than 0, this attribute will be used to perform an initial match of the objects between source and target directories. The synchronization engine will try to find the matching object using attribute with lowest value of matching priority first. If not found, the attribute with the next matching priority will be used, and so on a until match is found or no more matching attributes are left. Only attributes that are expected to have unique values, such as email, should be used as matching attributes. + * + * @return int|null The matchingPriority + */ + public function getMatchingPriority() + { + if (array_key_exists("matchingPriority", $this->_propDict)) { + return $this->_propDict["matchingPriority"]; + } else { + return null; + } + } + + /** + * Sets the matchingPriority + * If higher than 0, this attribute will be used to perform an initial match of the objects between source and target directories. The synchronization engine will try to find the matching object using attribute with lowest value of matching priority first. If not found, the attribute with the next matching priority will be used, and so on a until match is found or no more matching attributes are left. Only attributes that are expected to have unique values, such as email, should be used as matching attributes. + * + * @param int $val The value of the matchingPriority + * + * @return AttributeMapping + */ + public function setMatchingPriority($val) + { + $this->_propDict["matchingPriority"] = $val; + return $this; + } + + /** + * Gets the source + * Defines how a value should be extracted (or transformed) from the source object. + * + * @return AttributeMappingSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new AttributeMappingSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Defines how a value should be extracted (or transformed) from the source object. + * + * @param AttributeMappingSource $val The value to assign to the source + * + * @return AttributeMapping The AttributeMapping + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + /** + * Gets the targetAttributeName + * Name of the attribute on the target object. + * + * @return string|null The targetAttributeName + */ + public function getTargetAttributeName() + { + if (array_key_exists("targetAttributeName", $this->_propDict)) { + return $this->_propDict["targetAttributeName"]; + } else { + return null; + } + } + + /** + * Sets the targetAttributeName + * Name of the attribute on the target object. + * + * @param string $val The value of the targetAttributeName + * + * @return AttributeMapping + */ + public function setTargetAttributeName($val) + { + $this->_propDict["targetAttributeName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingFunctionSchema.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingFunctionSchema.php new file mode 100644 index 0000000..727642a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingFunctionSchema.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["parameters"]; + } else { + return null; + } + } + + /** + * Sets the parameters + * Collection of function parameters. + * + * @param AttributeMappingParameterSchema[] $val The parameters + * + * @return AttributeMappingFunctionSchema + */ + public function setParameters($val) + { + $this->_propDict["parameters"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingParameterSchema.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingParameterSchema.php new file mode 100644 index 0000000..592f2ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingParameterSchema.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowMultipleOccurrences"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleOccurrences + * The given parameter can be provided multiple times (for example, multiple input strings in the Concatenate(string,string,...) function). + * + * @param bool $val The value of the allowMultipleOccurrences + * + * @return AttributeMappingParameterSchema + */ + public function setAllowMultipleOccurrences($val) + { + $this->_propDict["allowMultipleOccurrences"] = $val; + return $this; + } + /** + * Gets the name + * Parameter name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Parameter name. + * + * @param string $val The value of the name + * + * @return AttributeMappingParameterSchema + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the required + * true if the parameter is required; otherwise false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * true if the parameter is required; otherwise false. + * + * @param bool $val The value of the required + * + * @return AttributeMappingParameterSchema + */ + public function setRequired($val) + { + $this->_propDict["required"] = $val; + return $this; + } + + /** + * Gets the type + * Possible values are: Boolean, Binary, Reference, Integer, String. Default is String. + * + * @return AttributeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttributeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttributeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Possible values are: Boolean, Binary, Reference, Integer, String. Default is String. + * + * @param AttributeType $val The value to assign to the type + * + * @return AttributeMappingParameterSchema The AttributeMappingParameterSchema + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php new file mode 100644 index 0000000..4762af4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php @@ -0,0 +1,140 @@ +_propDict)) { + return $this->_propDict["expression"]; + } else { + return null; + } + } + + /** + * Sets the expression + * + * @param string $val The value of the expression + * + * @return AttributeMappingSource + */ + public function setExpression($val) + { + $this->_propDict["expression"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return AttributeMappingSource + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parameters + * + * @return StringKeyAttributeMappingSourceValuePair|null The parameters + */ + public function getParameters() + { + if (array_key_exists("parameters", $this->_propDict)) { + if (is_a($this->_propDict["parameters"], "\Beta\Microsoft\Graph\Model\StringKeyAttributeMappingSourceValuePair") || is_null($this->_propDict["parameters"])) { + return $this->_propDict["parameters"]; + } else { + $this->_propDict["parameters"] = new StringKeyAttributeMappingSourceValuePair($this->_propDict["parameters"]); + return $this->_propDict["parameters"]; + } + } + return null; + } + + /** + * Sets the parameters + * + * @param StringKeyAttributeMappingSourceValuePair $val The value to assign to the parameters + * + * @return AttributeMappingSource The AttributeMappingSource + */ + public function setParameters($val) + { + $this->_propDict["parameters"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return AttributeMappingSourceType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttributeMappingSourceType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttributeMappingSourceType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AttributeMappingSourceType $val The value to assign to the type + * + * @return AttributeMappingSource The AttributeMappingSource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSourceType.php new file mode 100644 index 0000000..18ed2cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSourceType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the attribute set. Can be up to 128 characters long and include Unicode characters. Can be changed later. + * + * @param string $val The description + * + * @return AttributeSet + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the maxAttributesPerSet + * Maximum number of custom security attributes that can be defined in this attribute set. Default value is null. If not specified, the administrator can add up to the maximum of 500 active attributes per tenant. Can be changed later. + * + * @return int|null The maxAttributesPerSet + */ + public function getMaxAttributesPerSet() + { + if (array_key_exists("maxAttributesPerSet", $this->_propDict)) { + return $this->_propDict["maxAttributesPerSet"]; + } else { + return null; + } + } + + /** + * Sets the maxAttributesPerSet + * Maximum number of custom security attributes that can be defined in this attribute set. Default value is null. If not specified, the administrator can add up to the maximum of 500 active attributes per tenant. Can be changed later. + * + * @param int $val The maxAttributesPerSet + * + * @return AttributeSet + */ + public function setMaxAttributesPerSet($val) + { + $this->_propDict["maxAttributesPerSet"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeType.php new file mode 100644 index 0000000..c9871ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["album"]; + } else { + return null; + } + } + + /** + * Sets the album + * The title of the album for this audio file. + * + * @param string $val The value of the album + * + * @return Audio + */ + public function setAlbum($val) + { + $this->_propDict["album"] = $val; + return $this; + } + /** + * Gets the albumArtist + * The artist named on the album for the audio file. + * + * @return string|null The albumArtist + */ + public function getAlbumArtist() + { + if (array_key_exists("albumArtist", $this->_propDict)) { + return $this->_propDict["albumArtist"]; + } else { + return null; + } + } + + /** + * Sets the albumArtist + * The artist named on the album for the audio file. + * + * @param string $val The value of the albumArtist + * + * @return Audio + */ + public function setAlbumArtist($val) + { + $this->_propDict["albumArtist"] = $val; + return $this; + } + /** + * Gets the artist + * The performing artist for the audio file. + * + * @return string|null The artist + */ + public function getArtist() + { + if (array_key_exists("artist", $this->_propDict)) { + return $this->_propDict["artist"]; + } else { + return null; + } + } + + /** + * Sets the artist + * The performing artist for the audio file. + * + * @param string $val The value of the artist + * + * @return Audio + */ + public function setArtist($val) + { + $this->_propDict["artist"] = $val; + return $this; + } + /** + * Gets the bitrate + * Bitrate expressed in kbps. + * + * @return int|null The bitrate + */ + public function getBitrate() + { + if (array_key_exists("bitrate", $this->_propDict)) { + return $this->_propDict["bitrate"]; + } else { + return null; + } + } + + /** + * Sets the bitrate + * Bitrate expressed in kbps. + * + * @param int $val The value of the bitrate + * + * @return Audio + */ + public function setBitrate($val) + { + $this->_propDict["bitrate"] = $val; + return $this; + } + /** + * Gets the composers + * The name of the composer of the audio file. + * + * @return string|null The composers + */ + public function getComposers() + { + if (array_key_exists("composers", $this->_propDict)) { + return $this->_propDict["composers"]; + } else { + return null; + } + } + + /** + * Sets the composers + * The name of the composer of the audio file. + * + * @param string $val The value of the composers + * + * @return Audio + */ + public function setComposers($val) + { + $this->_propDict["composers"] = $val; + return $this; + } + /** + * Gets the copyright + * Copyright information for the audio file. + * + * @return string|null The copyright + */ + public function getCopyright() + { + if (array_key_exists("copyright", $this->_propDict)) { + return $this->_propDict["copyright"]; + } else { + return null; + } + } + + /** + * Sets the copyright + * Copyright information for the audio file. + * + * @param string $val The value of the copyright + * + * @return Audio + */ + public function setCopyright($val) + { + $this->_propDict["copyright"] = $val; + return $this; + } + /** + * Gets the disc + * The number of the disc this audio file came from. + * + * @return int|null The disc + */ + public function getDisc() + { + if (array_key_exists("disc", $this->_propDict)) { + return $this->_propDict["disc"]; + } else { + return null; + } + } + + /** + * Sets the disc + * The number of the disc this audio file came from. + * + * @param int $val The value of the disc + * + * @return Audio + */ + public function setDisc($val) + { + $this->_propDict["disc"] = $val; + return $this; + } + /** + * Gets the discCount + * The total number of discs in this album. + * + * @return int|null The discCount + */ + public function getDiscCount() + { + if (array_key_exists("discCount", $this->_propDict)) { + return $this->_propDict["discCount"]; + } else { + return null; + } + } + + /** + * Sets the discCount + * The total number of discs in this album. + * + * @param int $val The value of the discCount + * + * @return Audio + */ + public function setDiscCount($val) + { + $this->_propDict["discCount"] = $val; + return $this; + } + /** + * Gets the duration + * Duration of the audio file, expressed in milliseconds + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * Duration of the audio file, expressed in milliseconds + * + * @param int $val The value of the duration + * + * @return Audio + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + /** + * Gets the genre + * The genre of this audio file. + * + * @return string|null The genre + */ + public function getGenre() + { + if (array_key_exists("genre", $this->_propDict)) { + return $this->_propDict["genre"]; + } else { + return null; + } + } + + /** + * Sets the genre + * The genre of this audio file. + * + * @param string $val The value of the genre + * + * @return Audio + */ + public function setGenre($val) + { + $this->_propDict["genre"] = $val; + return $this; + } + /** + * Gets the hasDrm + * Indicates if the file is protected with digital rights management. + * + * @return bool|null The hasDrm + */ + public function getHasDrm() + { + if (array_key_exists("hasDrm", $this->_propDict)) { + return $this->_propDict["hasDrm"]; + } else { + return null; + } + } + + /** + * Sets the hasDrm + * Indicates if the file is protected with digital rights management. + * + * @param bool $val The value of the hasDrm + * + * @return Audio + */ + public function setHasDrm($val) + { + $this->_propDict["hasDrm"] = $val; + return $this; + } + /** + * Gets the isVariableBitrate + * Indicates if the file is encoded with a variable bitrate. + * + * @return bool|null The isVariableBitrate + */ + public function getIsVariableBitrate() + { + if (array_key_exists("isVariableBitrate", $this->_propDict)) { + return $this->_propDict["isVariableBitrate"]; + } else { + return null; + } + } + + /** + * Sets the isVariableBitrate + * Indicates if the file is encoded with a variable bitrate. + * + * @param bool $val The value of the isVariableBitrate + * + * @return Audio + */ + public function setIsVariableBitrate($val) + { + $this->_propDict["isVariableBitrate"] = $val; + return $this; + } + /** + * Gets the title + * The title of the audio file. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the audio file. + * + * @param string $val The value of the title + * + * @return Audio + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + /** + * Gets the track + * The number of the track on the original disc for this audio file. + * + * @return int|null The track + */ + public function getTrack() + { + if (array_key_exists("track", $this->_propDict)) { + return $this->_propDict["track"]; + } else { + return null; + } + } + + /** + * Sets the track + * The number of the track on the original disc for this audio file. + * + * @param int $val The value of the track + * + * @return Audio + */ + public function setTrack($val) + { + $this->_propDict["track"] = $val; + return $this; + } + /** + * Gets the trackCount + * The total number of tracks on the original disc for this audio file. + * + * @return int|null The trackCount + */ + public function getTrackCount() + { + if (array_key_exists("trackCount", $this->_propDict)) { + return $this->_propDict["trackCount"]; + } else { + return null; + } + } + + /** + * Sets the trackCount + * The total number of tracks on the original disc for this audio file. + * + * @param int $val The value of the trackCount + * + * @return Audio + */ + public function setTrackCount($val) + { + $this->_propDict["trackCount"] = $val; + return $this; + } + /** + * Gets the year + * The year the audio file was recorded. + * + * @return int|null The year + */ + public function getYear() + { + if (array_key_exists("year", $this->_propDict)) { + return $this->_propDict["year"]; + } else { + return null; + } + } + + /** + * Sets the year + * The year the audio file was recorded. + * + * @param int $val The value of the year + * + * @return Audio + */ + public function setYear($val) + { + $this->_propDict["year"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioConferencing.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioConferencing.php new file mode 100644 index 0000000..ba3c26f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioConferencing.php @@ -0,0 +1,190 @@ +_propDict)) { + return $this->_propDict["conferenceId"]; + } else { + return null; + } + } + + /** + * Sets the conferenceId + * The conference id of the online meeting. + * + * @param string $val The value of the conferenceId + * + * @return AudioConferencing + */ + public function setConferenceId($val) + { + $this->_propDict["conferenceId"] = $val; + return $this; + } + /** + * Gets the dialinUrl + * A URL to the externally-accessible web page that contains dial-in information. + * + * @return string|null The dialinUrl + */ + public function getDialinUrl() + { + if (array_key_exists("dialinUrl", $this->_propDict)) { + return $this->_propDict["dialinUrl"]; + } else { + return null; + } + } + + /** + * Sets the dialinUrl + * A URL to the externally-accessible web page that contains dial-in information. + * + * @param string $val The value of the dialinUrl + * + * @return AudioConferencing + */ + public function setDialinUrl($val) + { + $this->_propDict["dialinUrl"] = $val; + return $this; + } + /** + * Gets the tollFreeNumber + * + * @return string|null The tollFreeNumber + */ + public function getTollFreeNumber() + { + if (array_key_exists("tollFreeNumber", $this->_propDict)) { + return $this->_propDict["tollFreeNumber"]; + } else { + return null; + } + } + + /** + * Sets the tollFreeNumber + * + * @param string $val The value of the tollFreeNumber + * + * @return AudioConferencing + */ + public function setTollFreeNumber($val) + { + $this->_propDict["tollFreeNumber"] = $val; + return $this; + } + /** + * Gets the tollFreeNumbers + * List of toll-free numbers that are displayed in the meeting invite. + * + * @return string|null The tollFreeNumbers + */ + public function getTollFreeNumbers() + { + if (array_key_exists("tollFreeNumbers", $this->_propDict)) { + return $this->_propDict["tollFreeNumbers"]; + } else { + return null; + } + } + + /** + * Sets the tollFreeNumbers + * List of toll-free numbers that are displayed in the meeting invite. + * + * @param string $val The value of the tollFreeNumbers + * + * @return AudioConferencing + */ + public function setTollFreeNumbers($val) + { + $this->_propDict["tollFreeNumbers"] = $val; + return $this; + } + /** + * Gets the tollNumber + * + * @return string|null The tollNumber + */ + public function getTollNumber() + { + if (array_key_exists("tollNumber", $this->_propDict)) { + return $this->_propDict["tollNumber"]; + } else { + return null; + } + } + + /** + * Sets the tollNumber + * + * @param string $val The value of the tollNumber + * + * @return AudioConferencing + */ + public function setTollNumber($val) + { + $this->_propDict["tollNumber"] = $val; + return $this; + } + /** + * Gets the tollNumbers + * List of toll numbers that are displayed in the meeting invite. + * + * @return string|null The tollNumbers + */ + public function getTollNumbers() + { + if (array_key_exists("tollNumbers", $this->_propDict)) { + return $this->_propDict["tollNumbers"]; + } else { + return null; + } + } + + /** + * Sets the tollNumbers + * List of toll numbers that are displayed in the meeting invite. + * + * @param string $val The value of the tollNumbers + * + * @return AudioConferencing + */ + public function setTollNumbers($val) + { + $this->_propDict["tollNumbers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioRoutingGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioRoutingGroup.php new file mode 100644 index 0000000..9ceb8e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioRoutingGroup.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["receivers"]; + } else { + return null; + } + } + + /** + * Sets the receivers + * List of receiving participant ids. + * + * @param string $val The receivers + * + * @return AudioRoutingGroup + */ + public function setReceivers($val) + { + $this->_propDict["receivers"] = $val; + return $this; + } + + /** + * Gets the routingMode + * Routing group mode. Possible values are: oneToOne, multicast. + * + * @return RoutingMode|null The routingMode + */ + public function getRoutingMode() + { + if (array_key_exists("routingMode", $this->_propDict)) { + if (is_a($this->_propDict["routingMode"], "\Beta\Microsoft\Graph\Model\RoutingMode") || is_null($this->_propDict["routingMode"])) { + return $this->_propDict["routingMode"]; + } else { + $this->_propDict["routingMode"] = new RoutingMode($this->_propDict["routingMode"]); + return $this->_propDict["routingMode"]; + } + } + return null; + } + + /** + * Sets the routingMode + * Routing group mode. Possible values are: oneToOne, multicast. + * + * @param RoutingMode $val The routingMode + * + * @return AudioRoutingGroup + */ + public function setRoutingMode($val) + { + $this->_propDict["routingMode"] = $val; + return $this; + } + + /** + * Gets the sources + * List of source participant ids. + * + * @return string|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + return $this->_propDict["sources"]; + } else { + return null; + } + } + + /** + * Sets the sources + * List of source participant ids. + * + * @param string $val The sources + * + * @return AudioRoutingGroup + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActivityInitiator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActivityInitiator.php new file mode 100644 index 0000000..109aa4b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActivityInitiator.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\AppIdentity") || is_null($this->_propDict["app"])) { + return $this->_propDict["app"]; + } else { + $this->_propDict["app"] = new AppIdentity($this->_propDict["app"]); + return $this->_propDict["app"]; + } + } + return null; + } + + /** + * Sets the app + * If the actor initiating the activity is an app, this property indicates all its identification information including appId, displayName, servicePrincipalId, and servicePrincipalName. + * + * @param AppIdentity $val The value to assign to the app + * + * @return AuditActivityInitiator The AuditActivityInitiator + */ + public function setApp($val) + { + $this->_propDict["app"] = $val; + return $this; + } + + /** + * Gets the user + * If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + * + * @return AuditUserIdentity|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\AuditUserIdentity") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new AuditUserIdentity($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + * + * @param AuditUserIdentity $val The value to assign to the user + * + * @return AuditActivityInitiator The AuditActivityInitiator + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActor.php new file mode 100644 index 0000000..6fb78b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActor.php @@ -0,0 +1,339 @@ +_propDict)) { + return $this->_propDict["applicationDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the applicationDisplayName + * Name of the Application. + * + * @param string $val The value of the applicationDisplayName + * + * @return AuditActor + */ + public function setApplicationDisplayName($val) + { + $this->_propDict["applicationDisplayName"] = $val; + return $this; + } + /** + * Gets the applicationId + * AAD Application Id. + * + * @return string|null The applicationId + */ + public function getApplicationId() + { + if (array_key_exists("applicationId", $this->_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * AAD Application Id. + * + * @param string $val The value of the applicationId + * + * @return AuditActor + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IPAddress. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IPAddress. + * + * @param string $val The value of the ipAddress + * + * @return AuditActor + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the remoteTenantId + * Remote Tenant Id + * + * @return string|null The remoteTenantId + */ + public function getRemoteTenantId() + { + if (array_key_exists("remoteTenantId", $this->_propDict)) { + return $this->_propDict["remoteTenantId"]; + } else { + return null; + } + } + + /** + * Sets the remoteTenantId + * Remote Tenant Id + * + * @param string $val The value of the remoteTenantId + * + * @return AuditActor + */ + public function setRemoteTenantId($val) + { + $this->_propDict["remoteTenantId"] = $val; + return $this; + } + /** + * Gets the remoteUserId + * Remote User Id + * + * @return string|null The remoteUserId + */ + public function getRemoteUserId() + { + if (array_key_exists("remoteUserId", $this->_propDict)) { + return $this->_propDict["remoteUserId"]; + } else { + return null; + } + } + + /** + * Sets the remoteUserId + * Remote User Id + * + * @param string $val The value of the remoteUserId + * + * @return AuditActor + */ + public function setRemoteUserId($val) + { + $this->_propDict["remoteUserId"] = $val; + return $this; + } + /** + * Gets the servicePrincipalName + * Service Principal Name (SPN). + * + * @return string|null The servicePrincipalName + */ + public function getServicePrincipalName() + { + if (array_key_exists("servicePrincipalName", $this->_propDict)) { + return $this->_propDict["servicePrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalName + * Service Principal Name (SPN). + * + * @param string $val The value of the servicePrincipalName + * + * @return AuditActor + */ + public function setServicePrincipalName($val) + { + $this->_propDict["servicePrincipalName"] = $val; + return $this; + } + /** + * Gets the type + * Actor Type. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Actor Type. + * + * @param string $val The value of the type + * + * @return AuditActor + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the userId + * User Id. + * + * @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 + * User Id. + * + * @param string $val The value of the userId + * + * @return AuditActor + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPermissions + * List of user permissions when the audit was performed. + * + * @return string|null The userPermissions + */ + public function getUserPermissions() + { + if (array_key_exists("userPermissions", $this->_propDict)) { + return $this->_propDict["userPermissions"]; + } else { + return null; + } + } + + /** + * Sets the userPermissions + * List of user permissions when the audit was performed. + * + * @param string $val The value of the userPermissions + * + * @return AuditActor + */ + public function setUserPermissions($val) + { + $this->_propDict["userPermissions"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * User Principal Name (UPN). + * + * @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 + * User Principal Name (UPN). + * + * @param string $val The value of the userPrincipalName + * + * @return AuditActor + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userRoleScopeTags + * List of user scope tags when the audit was performed. + * + * @return RoleScopeTagInfo|null The userRoleScopeTags + */ + public function getUserRoleScopeTags() + { + if (array_key_exists("userRoleScopeTags", $this->_propDict)) { + if (is_a($this->_propDict["userRoleScopeTags"], "\Beta\Microsoft\Graph\Model\RoleScopeTagInfo") || is_null($this->_propDict["userRoleScopeTags"])) { + return $this->_propDict["userRoleScopeTags"]; + } else { + $this->_propDict["userRoleScopeTags"] = new RoleScopeTagInfo($this->_propDict["userRoleScopeTags"]); + return $this->_propDict["userRoleScopeTags"]; + } + } + return null; + } + + /** + * Sets the userRoleScopeTags + * List of user scope tags when the audit was performed. + * + * @param RoleScopeTagInfo $val The value to assign to the userRoleScopeTags + * + * @return AuditActor The AuditActor + */ + public function setUserRoleScopeTags($val) + { + $this->_propDict["userRoleScopeTags"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditEvent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditEvent.php new file mode 100644 index 0000000..7ba86a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditEvent.php @@ -0,0 +1,355 @@ +_propDict)) { + return $this->_propDict["activity"]; + } else { + return null; + } + } + + /** + * Sets the activity + * Friendly name of the activity. + * + * @param string $val The activity + * + * @return AuditEvent + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * The date time in UTC when the activity was performed. + * + * @return \DateTime|null The activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * The date time in UTC when the activity was performed. + * + * @param \DateTime $val The activityDateTime + * + * @return AuditEvent + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the activityOperationType + * The HTTP operation type of the activity. + * + * @return string|null The activityOperationType + */ + public function getActivityOperationType() + { + if (array_key_exists("activityOperationType", $this->_propDict)) { + return $this->_propDict["activityOperationType"]; + } else { + return null; + } + } + + /** + * Sets the activityOperationType + * The HTTP operation type of the activity. + * + * @param string $val The activityOperationType + * + * @return AuditEvent + */ + public function setActivityOperationType($val) + { + $this->_propDict["activityOperationType"] = $val; + return $this; + } + + /** + * Gets the activityResult + * The result of the activity. + * + * @return string|null The activityResult + */ + public function getActivityResult() + { + if (array_key_exists("activityResult", $this->_propDict)) { + return $this->_propDict["activityResult"]; + } else { + return null; + } + } + + /** + * Sets the activityResult + * The result of the activity. + * + * @param string $val The activityResult + * + * @return AuditEvent + */ + public function setActivityResult($val) + { + $this->_propDict["activityResult"] = $val; + return $this; + } + + /** + * Gets the activityType + * The type of activity that was being performed. + * + * @return string|null The activityType + */ + public function getActivityType() + { + if (array_key_exists("activityType", $this->_propDict)) { + return $this->_propDict["activityType"]; + } else { + return null; + } + } + + /** + * Sets the activityType + * The type of activity that was being performed. + * + * @param string $val The activityType + * + * @return AuditEvent + */ + public function setActivityType($val) + { + $this->_propDict["activityType"] = $val; + return $this; + } + + /** + * Gets the actor + * AAD user and application that are associated with the audit event. + * + * @return AuditActor|null The actor + */ + public function getActor() + { + if (array_key_exists("actor", $this->_propDict)) { + if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\AuditActor") || is_null($this->_propDict["actor"])) { + return $this->_propDict["actor"]; + } else { + $this->_propDict["actor"] = new AuditActor($this->_propDict["actor"]); + return $this->_propDict["actor"]; + } + } + return null; + } + + /** + * Sets the actor + * AAD user and application that are associated with the audit event. + * + * @param AuditActor $val The actor + * + * @return AuditEvent + */ + public function setActor($val) + { + $this->_propDict["actor"] = $val; + return $this; + } + + /** + * Gets the category + * Audit category. + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Audit category. + * + * @param string $val The category + * + * @return AuditEvent + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the componentName + * Component name. + * + * @return string|null The componentName + */ + public function getComponentName() + { + if (array_key_exists("componentName", $this->_propDict)) { + return $this->_propDict["componentName"]; + } else { + return null; + } + } + + /** + * Sets the componentName + * Component name. + * + * @param string $val The componentName + * + * @return AuditEvent + */ + public function setComponentName($val) + { + $this->_propDict["componentName"] = $val; + return $this; + } + + /** + * Gets the correlationId + * The client request Id that is used to correlate activity within the system. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * The client request Id that is used to correlate activity within the system. + * + * @param string $val The correlationId + * + * @return AuditEvent + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the displayName + * Event display name. + * + * @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 + * Event display name. + * + * @param string $val The displayName + * + * @return AuditEvent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the resources + * Resources being modified. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Resources being modified. + * + * @param AuditResource[] $val The resources + * + * @return AuditEvent + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditLogRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditLogRoot.php new file mode 100644 index 0000000..0708480 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditLogRoot.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["directoryAudits"]; + } else { + return null; + } + } + + /** + * Sets the directoryAudits + * Read-only. Nullable. + * + * @param DirectoryAudit[] $val The directoryAudits + * + * @return AuditLogRoot + */ + public function setDirectoryAudits($val) + { + $this->_propDict["directoryAudits"] = $val; + return $this; + } + + + /** + * Gets the directoryProvisioning + * + * @return array|null The directoryProvisioning + */ + public function getDirectoryProvisioning() + { + if (array_key_exists("directoryProvisioning", $this->_propDict)) { + return $this->_propDict["directoryProvisioning"]; + } else { + return null; + } + } + + /** + * Sets the directoryProvisioning + * + * @param ProvisioningObjectSummary[] $val The directoryProvisioning + * + * @return AuditLogRoot + */ + public function setDirectoryProvisioning($val) + { + $this->_propDict["directoryProvisioning"] = $val; + return $this; + } + + + /** + * Gets the provisioning + * + * @return array|null The provisioning + */ + public function getProvisioning() + { + if (array_key_exists("provisioning", $this->_propDict)) { + return $this->_propDict["provisioning"]; + } else { + return null; + } + } + + /** + * Sets the provisioning + * + * @param ProvisioningObjectSummary[] $val The provisioning + * + * @return AuditLogRoot + */ + public function setProvisioning($val) + { + $this->_propDict["provisioning"] = $val; + return $this; + } + + + /** + * Gets the restrictedSignIns + * + * @return array|null The restrictedSignIns + */ + public function getRestrictedSignIns() + { + if (array_key_exists("restrictedSignIns", $this->_propDict)) { + return $this->_propDict["restrictedSignIns"]; + } else { + return null; + } + } + + /** + * Sets the restrictedSignIns + * + * @param RestrictedSignIn[] $val The restrictedSignIns + * + * @return AuditLogRoot + */ + public function setRestrictedSignIns($val) + { + $this->_propDict["restrictedSignIns"] = $val; + return $this; + } + + + /** + * Gets the signIns + * Read-only. Nullable. + * + * @return array|null The signIns + */ + public function getSignIns() + { + if (array_key_exists("signIns", $this->_propDict)) { + return $this->_propDict["signIns"]; + } else { + return null; + } + } + + /** + * Sets the signIns + * Read-only. Nullable. + * + * @param SignIn[] $val The signIns + * + * @return AuditLogRoot + */ + public function setSignIns($val) + { + $this->_propDict["signIns"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditProperty.php new file mode 100644 index 0000000..6dc51ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditProperty.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name. + * + * @param string $val The value of the displayName + * + * @return AuditProperty + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the newValue + * New value. + * + * @return string|null The newValue + */ + public function getNewValue() + { + if (array_key_exists("newValue", $this->_propDict)) { + return $this->_propDict["newValue"]; + } else { + return null; + } + } + + /** + * Sets the newValue + * New value. + * + * @param string $val The value of the newValue + * + * @return AuditProperty + */ + public function setNewValue($val) + { + $this->_propDict["newValue"] = $val; + return $this; + } + /** + * Gets the oldValue + * Old value. + * + * @return string|null The oldValue + */ + public function getOldValue() + { + if (array_key_exists("oldValue", $this->_propDict)) { + return $this->_propDict["oldValue"]; + } else { + return null; + } + } + + /** + * Sets the oldValue + * Old value. + * + * @param string $val The value of the oldValue + * + * @return AuditProperty + */ + public function setOldValue($val) + { + $this->_propDict["oldValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditResource.php new file mode 100644 index 0000000..459d675 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditResource.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name. + * + * @param string $val The value of the displayName + * + * @return AuditResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the modifiedProperties + * List of modified properties. + * + * @return AuditProperty|null The modifiedProperties + */ + public function getModifiedProperties() + { + if (array_key_exists("modifiedProperties", $this->_propDict)) { + if (is_a($this->_propDict["modifiedProperties"], "\Beta\Microsoft\Graph\Model\AuditProperty") || is_null($this->_propDict["modifiedProperties"])) { + return $this->_propDict["modifiedProperties"]; + } else { + $this->_propDict["modifiedProperties"] = new AuditProperty($this->_propDict["modifiedProperties"]); + return $this->_propDict["modifiedProperties"]; + } + } + return null; + } + + /** + * Sets the modifiedProperties + * List of modified properties. + * + * @param AuditProperty $val The value to assign to the modifiedProperties + * + * @return AuditResource The AuditResource + */ + public function setModifiedProperties($val) + { + $this->_propDict["modifiedProperties"] = $val; + return $this; + } + /** + * Gets the resourceId + * Audit resource's Id. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Audit resource's Id. + * + * @param string $val The value of the resourceId + * + * @return AuditResource + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + /** + * Gets the type + * Audit resource's type. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Audit resource's type. + * + * @param string $val The value of the type + * + * @return AuditResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditUserIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditUserIdentity.php new file mode 100644 index 0000000..c8a83c8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditUserIdentity.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["homeTenantId"]; + } else { + return null; + } + } + + /** + * Sets the homeTenantId + * For user sign ins, the identifier of the tenant that the user is a member of. + * + * @param string $val The value of the homeTenantId + * + * @return AuditUserIdentity + */ + public function setHomeTenantId($val) + { + $this->_propDict["homeTenantId"] = $val; + return $this; + } + /** + * Gets the homeTenantName + * For user sign ins, the name of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Azure AD to show the tenant content. + * + * @return string|null The homeTenantName + */ + public function getHomeTenantName() + { + if (array_key_exists("homeTenantName", $this->_propDict)) { + return $this->_propDict["homeTenantName"]; + } else { + return null; + } + } + + /** + * Sets the homeTenantName + * For user sign ins, the name of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Azure AD to show the tenant content. + * + * @param string $val The value of the homeTenantName + * + * @return AuditUserIdentity + */ + public function setHomeTenantName($val) + { + $this->_propDict["homeTenantName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthMethodsType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthMethodsType.php new file mode 100644 index 0000000..5abe9f7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthMethodsType.php @@ -0,0 +1,45 @@ +_propDict)) { + return $this->_propDict["emailMethods"]; + } else { + return null; + } + } + + /** + * Sets the emailMethods + * Represents the email addresses registered to a user for authentication. + * + * @param EmailAuthenticationMethod[] $val The emailMethods + * + * @return Authentication + */ + public function setEmailMethods($val) + { + $this->_propDict["emailMethods"] = $val; + return $this; + } + + + /** + * Gets the fido2Methods + * Represents the FIDO2 security keys registered to a user for authentication. + * + * @return array|null The fido2Methods + */ + public function getFido2Methods() + { + if (array_key_exists("fido2Methods", $this->_propDict)) { + return $this->_propDict["fido2Methods"]; + } else { + return null; + } + } + + /** + * Sets the fido2Methods + * Represents the FIDO2 security keys registered to a user for authentication. + * + * @param Fido2AuthenticationMethod[] $val The fido2Methods + * + * @return Authentication + */ + public function setFido2Methods($val) + { + $this->_propDict["fido2Methods"] = $val; + return $this; + } + + + /** + * Gets the methods + * Represents all authentication methods registered to a user. + * + * @return array|null The methods + */ + public function getMethods() + { + if (array_key_exists("methods", $this->_propDict)) { + return $this->_propDict["methods"]; + } else { + return null; + } + } + + /** + * Sets the methods + * Represents all authentication methods registered to a user. + * + * @param AuthenticationMethod[] $val The methods + * + * @return Authentication + */ + public function setMethods($val) + { + $this->_propDict["methods"] = $val; + return $this; + } + + + /** + * Gets the microsoftAuthenticatorMethods + * The details of the Microsoft Authenticator app registered to a user for authentication. + * + * @return array|null The microsoftAuthenticatorMethods + */ + public function getMicrosoftAuthenticatorMethods() + { + if (array_key_exists("microsoftAuthenticatorMethods", $this->_propDict)) { + return $this->_propDict["microsoftAuthenticatorMethods"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAuthenticatorMethods + * The details of the Microsoft Authenticator app registered to a user for authentication. + * + * @param MicrosoftAuthenticatorAuthenticationMethod[] $val The microsoftAuthenticatorMethods + * + * @return Authentication + */ + public function setMicrosoftAuthenticatorMethods($val) + { + $this->_propDict["microsoftAuthenticatorMethods"] = $val; + return $this; + } + + + /** + * Gets the operations + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * + * @param LongRunningOperation[] $val The operations + * + * @return Authentication + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the passwordlessMicrosoftAuthenticatorMethods + * Represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. + * + * @return array|null The passwordlessMicrosoftAuthenticatorMethods + */ + public function getPasswordlessMicrosoftAuthenticatorMethods() + { + if (array_key_exists("passwordlessMicrosoftAuthenticatorMethods", $this->_propDict)) { + return $this->_propDict["passwordlessMicrosoftAuthenticatorMethods"]; + } else { + return null; + } + } + + /** + * Sets the passwordlessMicrosoftAuthenticatorMethods + * Represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. + * + * @param PasswordlessMicrosoftAuthenticatorAuthenticationMethod[] $val The passwordlessMicrosoftAuthenticatorMethods + * + * @return Authentication + */ + public function setPasswordlessMicrosoftAuthenticatorMethods($val) + { + $this->_propDict["passwordlessMicrosoftAuthenticatorMethods"] = $val; + return $this; + } + + + /** + * Gets the passwordMethods + * Represents the details of the password authentication method registered to a user for authentication. + * + * @return array|null The passwordMethods + */ + public function getPasswordMethods() + { + if (array_key_exists("passwordMethods", $this->_propDict)) { + return $this->_propDict["passwordMethods"]; + } else { + return null; + } + } + + /** + * Sets the passwordMethods + * Represents the details of the password authentication method registered to a user for authentication. + * + * @param PasswordAuthenticationMethod[] $val The passwordMethods + * + * @return Authentication + */ + public function setPasswordMethods($val) + { + $this->_propDict["passwordMethods"] = $val; + return $this; + } + + + /** + * Gets the phoneMethods + * Represents the phone registered to a user for authentication. + * + * @return array|null The phoneMethods + */ + public function getPhoneMethods() + { + if (array_key_exists("phoneMethods", $this->_propDict)) { + return $this->_propDict["phoneMethods"]; + } else { + return null; + } + } + + /** + * Sets the phoneMethods + * Represents the phone registered to a user for authentication. + * + * @param PhoneAuthenticationMethod[] $val The phoneMethods + * + * @return Authentication + */ + public function setPhoneMethods($val) + { + $this->_propDict["phoneMethods"] = $val; + return $this; + } + + + /** + * Gets the softwareOathMethods + * + * @return array|null The softwareOathMethods + */ + public function getSoftwareOathMethods() + { + if (array_key_exists("softwareOathMethods", $this->_propDict)) { + return $this->_propDict["softwareOathMethods"]; + } else { + return null; + } + } + + /** + * Sets the softwareOathMethods + * + * @param SoftwareOathAuthenticationMethod[] $val The softwareOathMethods + * + * @return Authentication + */ + public function setSoftwareOathMethods($val) + { + $this->_propDict["softwareOathMethods"] = $val; + return $this; + } + + + /** + * Gets the temporaryAccessPassMethods + * Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. + * + * @return array|null The temporaryAccessPassMethods + */ + public function getTemporaryAccessPassMethods() + { + if (array_key_exists("temporaryAccessPassMethods", $this->_propDict)) { + return $this->_propDict["temporaryAccessPassMethods"]; + } else { + return null; + } + } + + /** + * Sets the temporaryAccessPassMethods + * Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. + * + * @param TemporaryAccessPassAuthenticationMethod[] $val The temporaryAccessPassMethods + * + * @return Authentication + */ + public function setTemporaryAccessPassMethods($val) + { + $this->_propDict["temporaryAccessPassMethods"] = $val; + return $this; + } + + + /** + * Gets the windowsHelloForBusinessMethods + * Represents the Windows Hello for Business authentication method registered to a user for authentication. + * + * @return array|null The windowsHelloForBusinessMethods + */ + public function getWindowsHelloForBusinessMethods() + { + if (array_key_exists("windowsHelloForBusinessMethods", $this->_propDict)) { + return $this->_propDict["windowsHelloForBusinessMethods"]; + } else { + return null; + } + } + + /** + * Sets the windowsHelloForBusinessMethods + * Represents the Windows Hello for Business authentication method registered to a user for authentication. + * + * @param WindowsHelloForBusinessAuthenticationMethod[] $val The windowsHelloForBusinessMethods + * + * @return Authentication + */ + public function setWindowsHelloForBusinessMethods($val) + { + $this->_propDict["windowsHelloForBusinessMethods"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContext.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContext.php new file mode 100644 index 0000000..cfb4e1f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContext.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\AuthenticationContextDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new AuthenticationContextDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * Describes how the conditional access authentication context was triggered. A value of previouslySatisfied means the auth context was because the user already satisfied the requirements for that authentication context in some previous authentication event. A value of required means the user had to meet the authentication context requirement as part of the sign-in flow. The possible values are: required, previouslySatisfied, notApplicable, unknownFutureValue. + * + * @param AuthenticationContextDetail $val The value to assign to the detail + * + * @return AuthenticationContext The AuthenticationContext + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + /** + * Gets the id + * The identifier of a authentication context in your tenant. + * + * @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 + * The identifier of a authentication context in your tenant. + * + * @param string $val The value of the id + * + * @return AuthenticationContext + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextClassReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextClassReference.php new file mode 100644 index 0000000..7cff18a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextClassReference.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user facing admin experiences. For example, selection UX. + * + * @param string $val The description + * + * @return AuthenticationContextClassReference + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name is the friendly name of the authenticationContextClassReference. This value should be used to identify the authentication context class reference when building user facing admin experiences. For example, selection UX. + * + * @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 + * The display name is the friendly name of the authenticationContextClassReference. This value should be used to identify the authentication context class reference when building user facing admin experiences. For example, selection UX. + * + * @param string $val The displayName + * + * @return AuthenticationContextClassReference + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isAvailable + * Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false it should not be shown in admin UX experiences because the value is not currently available for selection. + * + * @return bool|null The isAvailable + */ + public function getIsAvailable() + { + if (array_key_exists("isAvailable", $this->_propDict)) { + return $this->_propDict["isAvailable"]; + } else { + return null; + } + } + + /** + * Sets the isAvailable + * Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false it should not be shown in admin UX experiences because the value is not currently available for selection. + * + * @param bool $val The isAvailable + * + * @return AuthenticationContextClassReference + */ + public function setIsAvailable($val) + { + $this->_propDict["isAvailable"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextDetail.php new file mode 100644 index 0000000..6f32b56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextDetail.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["authenticationMethod"]; + } else { + return null; + } + } + + /** + * Sets the authenticationMethod + * The type of authentication method used to perform this step of authentication. Possible values: Password, SMS, Voice, Authenticator App, Software OATH token, Satisfied by token, Previously satisfied. + * + * @param string $val The value of the authenticationMethod + * + * @return AuthenticationDetail + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + /** + * Gets the authenticationMethodDetail + * Details about the authentication method used to perform this authentication step. For example, phone number (for SMS and voice), device name (for Authenticator app), and password source (e.g. cloud, AD FS, PTA, PHS). + * + * @return string|null The authenticationMethodDetail + */ + public function getAuthenticationMethodDetail() + { + if (array_key_exists("authenticationMethodDetail", $this->_propDict)) { + return $this->_propDict["authenticationMethodDetail"]; + } else { + return null; + } + } + + /** + * Sets the authenticationMethodDetail + * Details about the authentication method used to perform this authentication step. For example, phone number (for SMS and voice), device name (for Authenticator app), and password source (e.g. cloud, AD FS, PTA, PHS). + * + * @param string $val The value of the authenticationMethodDetail + * + * @return AuthenticationDetail + */ + public function setAuthenticationMethodDetail($val) + { + $this->_propDict["authenticationMethodDetail"] = $val; + return $this; + } + + /** + * Gets the authenticationStepDateTime + * 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 authenticationStepDateTime + */ + public function getAuthenticationStepDateTime() + { + if (array_key_exists("authenticationStepDateTime", $this->_propDict)) { + if (is_a($this->_propDict["authenticationStepDateTime"], "\DateTime") || is_null($this->_propDict["authenticationStepDateTime"])) { + return $this->_propDict["authenticationStepDateTime"]; + } else { + $this->_propDict["authenticationStepDateTime"] = new \DateTime($this->_propDict["authenticationStepDateTime"]); + return $this->_propDict["authenticationStepDateTime"]; + } + } + return null; + } + + /** + * Sets the authenticationStepDateTime + * 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 authenticationStepDateTime + * + * @return AuthenticationDetail The AuthenticationDetail + */ + public function setAuthenticationStepDateTime($val) + { + $this->_propDict["authenticationStepDateTime"] = $val; + return $this; + } + /** + * Gets the authenticationStepRequirement + * The step of authentication that this satisfied. For example, primary authentication, or multi-factor authentication. + * + * @return string|null The authenticationStepRequirement + */ + public function getAuthenticationStepRequirement() + { + if (array_key_exists("authenticationStepRequirement", $this->_propDict)) { + return $this->_propDict["authenticationStepRequirement"]; + } else { + return null; + } + } + + /** + * Sets the authenticationStepRequirement + * The step of authentication that this satisfied. For example, primary authentication, or multi-factor authentication. + * + * @param string $val The value of the authenticationStepRequirement + * + * @return AuthenticationDetail + */ + public function setAuthenticationStepRequirement($val) + { + $this->_propDict["authenticationStepRequirement"] = $val; + return $this; + } + /** + * Gets the authenticationStepResultDetail + * Details about why the step succeeded or failed. For examples, user is blocked, fraud code entered, no phone input - timed out, phone unreachable, or claim in token. + * + * @return string|null The authenticationStepResultDetail + */ + public function getAuthenticationStepResultDetail() + { + if (array_key_exists("authenticationStepResultDetail", $this->_propDict)) { + return $this->_propDict["authenticationStepResultDetail"]; + } else { + return null; + } + } + + /** + * Sets the authenticationStepResultDetail + * Details about why the step succeeded or failed. For examples, user is blocked, fraud code entered, no phone input - timed out, phone unreachable, or claim in token. + * + * @param string $val The value of the authenticationStepResultDetail + * + * @return AuthenticationDetail + */ + public function setAuthenticationStepResultDetail($val) + { + $this->_propDict["authenticationStepResultDetail"] = $val; + return $this; + } + /** + * Gets the succeeded + * Indicates the status of the authentication step. Possible values: succeeded, failed. + * + * @return bool|null The succeeded + */ + public function getSucceeded() + { + if (array_key_exists("succeeded", $this->_propDict)) { + return $this->_propDict["succeeded"]; + } else { + return null; + } + } + + /** + * Sets the succeeded + * Indicates the status of the authentication step. Possible values: succeeded, failed. + * + * @param bool $val The value of the succeeded + * + * @return AuthenticationDetail + */ + public function setSucceeded($val) + { + $this->_propDict["succeeded"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventsPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventsPolicy.php new file mode 100644 index 0000000..d23a8bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationEventsPolicy.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["onSignupStart"]; + } else { + return null; + } + } + + /** + * Sets the onSignupStart + * A list of applicable actions to be taken on sign-up. + * + * @param AuthenticationListener[] $val The onSignupStart + * + * @return AuthenticationEventsPolicy + */ + public function setOnSignupStart($val) + { + $this->_propDict["onSignupStart"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationFlowsPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationFlowsPolicy.php new file mode 100644 index 0000000..987ef0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationFlowsPolicy.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Inherited property. A description of the policy. This property is not a key. Optional. Read-only. + * + * @param string $val The description + * + * @return AuthenticationFlowsPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Inherited property. The human-readable name of the policy. This property is not a key. Optional. Read-only. + * + * @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 + * Inherited property. The human-readable name of the policy. This property is not a key. Optional. Read-only. + * + * @param string $val The displayName + * + * @return AuthenticationFlowsPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the selfServiceSignUp + * Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property is not a key. Optional. Read-only. + * + * @return SelfServiceSignUpAuthenticationFlowConfiguration|null The selfServiceSignUp + */ + public function getSelfServiceSignUp() + { + if (array_key_exists("selfServiceSignUp", $this->_propDict)) { + if (is_a($this->_propDict["selfServiceSignUp"], "\Beta\Microsoft\Graph\Model\SelfServiceSignUpAuthenticationFlowConfiguration") || is_null($this->_propDict["selfServiceSignUp"])) { + return $this->_propDict["selfServiceSignUp"]; + } else { + $this->_propDict["selfServiceSignUp"] = new SelfServiceSignUpAuthenticationFlowConfiguration($this->_propDict["selfServiceSignUp"]); + return $this->_propDict["selfServiceSignUp"]; + } + } + return null; + } + + /** + * Sets the selfServiceSignUp + * Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property is not a key. Optional. Read-only. + * + * @param SelfServiceSignUpAuthenticationFlowConfiguration $val The selfServiceSignUp + * + * @return AuthenticationFlowsPolicy + */ + public function setSelfServiceSignUp($val) + { + $this->_propDict["selfServiceSignUp"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php new file mode 100644 index 0000000..c8ff3c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * The priority of the listener. Determines the order of evaluation when an event has multiple listeners. The priority is evaluated from low to high. + * + * @param int $val The priority + * + * @return AuthenticationListener + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the sourceFilter + * Filter based on the source of the authentication that is used to determine whether the listener is evaluated. This is currently limited to evaluations based on application the user is authenticating to. + * + * @return AuthenticationSourceFilter|null The sourceFilter + */ + public function getSourceFilter() + { + if (array_key_exists("sourceFilter", $this->_propDict)) { + if (is_a($this->_propDict["sourceFilter"], "\Beta\Microsoft\Graph\Model\AuthenticationSourceFilter") || is_null($this->_propDict["sourceFilter"])) { + return $this->_propDict["sourceFilter"]; + } else { + $this->_propDict["sourceFilter"] = new AuthenticationSourceFilter($this->_propDict["sourceFilter"]); + return $this->_propDict["sourceFilter"]; + } + } + return null; + } + + /** + * Sets the sourceFilter + * Filter based on the source of the authentication that is used to determine whether the listener is evaluated. This is currently limited to evaluations based on application the user is authenticating to. + * + * @param AuthenticationSourceFilter $val The sourceFilter + * + * @return AuthenticationListener + */ + public function setSourceFilter($val) + { + $this->_propDict["sourceFilter"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethod.php new file mode 100644 index 0000000..bf27b50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethod.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AuthenticationMethodState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the policy. Possible values are: enabled, disabled. + * + * @param AuthenticationMethodState $val The state + * + * @return AuthenticationMethodConfiguration + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodFeature.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodFeature.php new file mode 100644 index 0000000..0c58460 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodFeature.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["isRegistrationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRegistrationRequired + * Determines if the user is enforced to register the authentication method. + * + * @param bool $val The isRegistrationRequired + * + * @return AuthenticationMethodTarget + */ + public function setIsRegistrationRequired($val) + { + $this->_propDict["isRegistrationRequired"] = boolval($val); + return $this; + } + + /** + * Gets the targetType + * Possible values are: user, group, and unknownFutureValue. + * + * @return AuthenticationMethodTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * Possible values are: user, group, and unknownFutureValue. + * + * @param AuthenticationMethodTargetType $val The targetType + * + * @return AuthenticationMethodTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodTargetType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodTargetType.php new file mode 100644 index 0000000..409e504 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodTargetType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description of the policy. + * + * @param string $val The description + * + * @return AuthenticationMethodsPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the policy. + * + * @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 + * The name of the policy. + * + * @param string $val The displayName + * + * @return AuthenticationMethodsPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time of the last update to the policy. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time of the last update to the policy. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AuthenticationMethodsPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the policyVersion + * The version of the policy in use. + * + * @return string|null The policyVersion + */ + public function getPolicyVersion() + { + if (array_key_exists("policyVersion", $this->_propDict)) { + return $this->_propDict["policyVersion"]; + } else { + return null; + } + } + + /** + * Sets the policyVersion + * The version of the policy in use. + * + * @param string $val The policyVersion + * + * @return AuthenticationMethodsPolicy + */ + public function setPolicyVersion($val) + { + $this->_propDict["policyVersion"] = $val; + return $this; + } + + /** + * Gets the reconfirmationInDays + * + * @return int|null The reconfirmationInDays + */ + public function getReconfirmationInDays() + { + if (array_key_exists("reconfirmationInDays", $this->_propDict)) { + return $this->_propDict["reconfirmationInDays"]; + } else { + return null; + } + } + + /** + * Sets the reconfirmationInDays + * + * @param int $val The reconfirmationInDays + * + * @return AuthenticationMethodsPolicy + */ + public function setReconfirmationInDays($val) + { + $this->_propDict["reconfirmationInDays"] = intval($val); + return $this; + } + + /** + * Gets the registrationEnforcement + * Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods. + * + * @return RegistrationEnforcement|null The registrationEnforcement + */ + public function getRegistrationEnforcement() + { + if (array_key_exists("registrationEnforcement", $this->_propDict)) { + if (is_a($this->_propDict["registrationEnforcement"], "\Beta\Microsoft\Graph\Model\RegistrationEnforcement") || is_null($this->_propDict["registrationEnforcement"])) { + return $this->_propDict["registrationEnforcement"]; + } else { + $this->_propDict["registrationEnforcement"] = new RegistrationEnforcement($this->_propDict["registrationEnforcement"]); + return $this->_propDict["registrationEnforcement"]; + } + } + return null; + } + + /** + * Sets the registrationEnforcement + * Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods. + * + * @param RegistrationEnforcement $val The registrationEnforcement + * + * @return AuthenticationMethodsPolicy + */ + public function setRegistrationEnforcement($val) + { + $this->_propDict["registrationEnforcement"] = $val; + return $this; + } + + + /** + * Gets the authenticationMethodConfigurations + * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * + * @return array|null The authenticationMethodConfigurations + */ + public function getAuthenticationMethodConfigurations() + { + if (array_key_exists("authenticationMethodConfigurations", $this->_propDict)) { + return $this->_propDict["authenticationMethodConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the authenticationMethodConfigurations + * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * + * @param AuthenticationMethodConfiguration[] $val The authenticationMethodConfigurations + * + * @return AuthenticationMethodsPolicy + */ + public function setAuthenticationMethodConfigurations($val) + { + $this->_propDict["authenticationMethodConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php new file mode 100644 index 0000000..0d1989d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaign.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["excludeTargets"], "\Beta\Microsoft\Graph\Model\ExcludeTarget") || is_null($this->_propDict["excludeTargets"])) { + return $this->_propDict["excludeTargets"]; + } else { + $this->_propDict["excludeTargets"] = new ExcludeTarget($this->_propDict["excludeTargets"]); + return $this->_propDict["excludeTargets"]; + } + } + return null; + } + + /** + * Sets the excludeTargets + * Users and groups of users that are excluded from being prompted to set up the authentication method. + * + * @param ExcludeTarget $val The value to assign to the excludeTargets + * + * @return AuthenticationMethodsRegistrationCampaign The AuthenticationMethodsRegistrationCampaign + */ + public function setExcludeTargets($val) + { + $this->_propDict["excludeTargets"] = $val; + return $this; + } + + /** + * Gets the includeTargets + * Users and groups of users that are prompted to set up the authentication method. + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + if (is_a($this->_propDict["includeTargets"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodsRegistrationCampaignIncludeTarget") || is_null($this->_propDict["includeTargets"])) { + return $this->_propDict["includeTargets"]; + } else { + $this->_propDict["includeTargets"] = new AuthenticationMethodsRegistrationCampaignIncludeTarget($this->_propDict["includeTargets"]); + return $this->_propDict["includeTargets"]; + } + } + return null; + } + + /** + * Sets the includeTargets + * Users and groups of users that are prompted to set up the authentication method. + * + * @param AuthenticationMethodsRegistrationCampaignIncludeTarget $val The value to assign to the includeTargets + * + * @return AuthenticationMethodsRegistrationCampaign The AuthenticationMethodsRegistrationCampaign + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + /** + * Gets the snoozeDurationInDays + * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + * + * @return int|null The snoozeDurationInDays + */ + public function getSnoozeDurationInDays() + { + if (array_key_exists("snoozeDurationInDays", $this->_propDict)) { + return $this->_propDict["snoozeDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the snoozeDurationInDays + * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + * + * @param int $val The value of the snoozeDurationInDays + * + * @return AuthenticationMethodsRegistrationCampaign + */ + public function setSnoozeDurationInDays($val) + { + $this->_propDict["snoozeDurationInDays"] = $val; + return $this; + } + + /** + * Gets the state + * Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled. + * + * @return AdvancedConfigState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AdvancedConfigState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled. + * + * @param AdvancedConfigState $val The value to assign to the state + * + * @return AuthenticationMethodsRegistrationCampaign The AuthenticationMethodsRegistrationCampaign + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaignIncludeTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaignIncludeTarget.php new file mode 100644 index 0000000..c566b39 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRegistrationCampaignIncludeTarget.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The object identifier of an Azure AD user or group. + * + * @param string $val The value of the id + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the targetedAuthenticationMethod + * The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. + * + * @return string|null The targetedAuthenticationMethod + */ + public function getTargetedAuthenticationMethod() + { + if (array_key_exists("targetedAuthenticationMethod", $this->_propDict)) { + return $this->_propDict["targetedAuthenticationMethod"]; + } else { + return null; + } + } + + /** + * Sets the targetedAuthenticationMethod + * The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. + * + * @param string $val The value of the targetedAuthenticationMethod + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget + */ + public function setTargetedAuthenticationMethod($val) + { + $this->_propDict["targetedAuthenticationMethod"] = $val; + return $this; + } + + /** + * Gets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @return AuthenticationMethodTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @param AuthenticationMethodTargetType $val The value to assign to the targetType + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget The AuthenticationMethodsRegistrationCampaignIncludeTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php new file mode 100644 index 0000000..fff9490 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["userRegistrationDetails"]; + } else { + return null; + } + } + + /** + * Sets the userRegistrationDetails + * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication). + * + * @param UserRegistrationDetails[] $val The userRegistrationDetails + * + * @return AuthenticationMethodsRoot + */ + public function setUserRegistrationDetails($val) + { + $this->_propDict["userRegistrationDetails"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationPhoneType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationPhoneType.php new file mode 100644 index 0000000..7a31b83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationPhoneType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["detail"]; + } else { + return null; + } + } + + /** + * Sets the detail + * Provides additional detail on the feature identified in requirementProvider. + * + * @param string $val The value of the detail + * + * @return AuthenticationRequirementPolicy + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the requirementProvider + * Identifies what Azure AD feature requires MFA in this policy. Possible values are: user, request, servicePrincipal, v1ConditionalAccess, multiConditionalAccess, tenantSessionRiskPolicy, accountCompromisePolicies, v1ConditionalAccessDependency, v1ConditionalAccessPolicyIdRequested, mfaRegistrationRequiredByIdentityProtectionPolicy, baselineProtection, mfaRegistrationRequiredByBaselineProtection, mfaRegistrationRequiredByMultiConditionalAccess, enforcedForCspAdmins, securityDefaults, mfaRegistrationRequiredBySecurityDefaults, proofUpCodeRequest, crossTenantOutboundRule, gpsLocationCondition, riskBasedPolicy, unknownFutureValue. + * + * @return RequirementProvider|null The requirementProvider + */ + public function getRequirementProvider() + { + if (array_key_exists("requirementProvider", $this->_propDict)) { + if (is_a($this->_propDict["requirementProvider"], "\Beta\Microsoft\Graph\Model\RequirementProvider") || is_null($this->_propDict["requirementProvider"])) { + return $this->_propDict["requirementProvider"]; + } else { + $this->_propDict["requirementProvider"] = new RequirementProvider($this->_propDict["requirementProvider"]); + return $this->_propDict["requirementProvider"]; + } + } + return null; + } + + /** + * Sets the requirementProvider + * Identifies what Azure AD feature requires MFA in this policy. Possible values are: user, request, servicePrincipal, v1ConditionalAccess, multiConditionalAccess, tenantSessionRiskPolicy, accountCompromisePolicies, v1ConditionalAccessDependency, v1ConditionalAccessPolicyIdRequested, mfaRegistrationRequiredByIdentityProtectionPolicy, baselineProtection, mfaRegistrationRequiredByBaselineProtection, mfaRegistrationRequiredByMultiConditionalAccess, enforcedForCspAdmins, securityDefaults, mfaRegistrationRequiredBySecurityDefaults, proofUpCodeRequest, crossTenantOutboundRule, gpsLocationCondition, riskBasedPolicy, unknownFutureValue. + * + * @param RequirementProvider $val The value to assign to the requirementProvider + * + * @return AuthenticationRequirementPolicy The AuthenticationRequirementPolicy + */ + public function setRequirementProvider($val) + { + $this->_propDict["requirementProvider"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationSourceFilter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationSourceFilter.php new file mode 100644 index 0000000..60b1d20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationSourceFilter.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["includeApplications"]; + } else { + return null; + } + } + + /** + * Sets the includeApplications + * Applications to include for evaluation of the authenticationListener. These applications trigger the associated action when used as the client application in the authentication flow. The application identifer is the application's client id. + * + * @param string $val The value of the includeApplications + * + * @return AuthenticationSourceFilter + */ + public function setIncludeApplications($val) + { + $this->_propDict["includeApplications"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationStrength.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationStrength.php new file mode 100644 index 0000000..6100d5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationStrength.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["authenticationStrengthId"]; + } else { + return null; + } + } + + /** + * Sets the authenticationStrengthId + * Identifier of the authentication strength. + * + * @param string $val The value of the authenticationStrengthId + * + * @return AuthenticationStrength + */ + public function setAuthenticationStrengthId($val) + { + $this->_propDict["authenticationStrengthId"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of the authentication strength. + * + * @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 + * The name of the authentication strength. + * + * @param string $val The value of the displayName + * + * @return AuthenticationStrength + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationTransformConstant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationTransformConstant.php new file mode 100644 index 0000000..30563e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationTransformConstant.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["author"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["author"])) { + return $this->_propDict["author"]; + } else { + $this->_propDict["author"] = new Identity($this->_propDict["author"]); + return $this->_propDict["author"]; + } + } + return null; + } + + /** + * Sets the author + * Identity information about the note's author. + * + * @param Identity $val The author + * + * @return AuthoredNote + */ + public function setAuthor($val) + { + $this->_propDict["author"] = $val; + return $this; + } + + /** + * Gets the content + * The content of the note. + * + * @return ItemBody|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = new ItemBody($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content of the note. + * + * @param ItemBody $val The content + * + * @return AuthoredNote + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the entity was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the entity was created. 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 createdDateTime + * + * @return AuthoredNote + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php new file mode 100644 index 0000000..b84f4e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php @@ -0,0 +1,324 @@ +_propDict)) { + return $this->_propDict["allowedToSignUpEmailBasedSubscriptions"]; + } else { + return null; + } + } + + /** + * Sets the allowedToSignUpEmailBasedSubscriptions + * Indicates whether users can sign up for email based subscriptions. + * + * @param bool $val The allowedToSignUpEmailBasedSubscriptions + * + * @return AuthorizationPolicy + */ + public function setAllowedToSignUpEmailBasedSubscriptions($val) + { + $this->_propDict["allowedToSignUpEmailBasedSubscriptions"] = boolval($val); + return $this; + } + + /** + * Gets the allowedToUseSSPR + * Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant. + * + * @return bool|null The allowedToUseSSPR + */ + public function getAllowedToUseSSPR() + { + if (array_key_exists("allowedToUseSSPR", $this->_propDict)) { + return $this->_propDict["allowedToUseSSPR"]; + } else { + return null; + } + } + + /** + * Sets the allowedToUseSSPR + * Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant. + * + * @param bool $val The allowedToUseSSPR + * + * @return AuthorizationPolicy + */ + public function setAllowedToUseSSPR($val) + { + $this->_propDict["allowedToUseSSPR"] = boolval($val); + return $this; + } + + /** + * Gets the allowEmailVerifiedUsersToJoinOrganization + * Indicates whether a user can join the tenant by email validation. + * + * @return bool|null The allowEmailVerifiedUsersToJoinOrganization + */ + public function getAllowEmailVerifiedUsersToJoinOrganization() + { + if (array_key_exists("allowEmailVerifiedUsersToJoinOrganization", $this->_propDict)) { + return $this->_propDict["allowEmailVerifiedUsersToJoinOrganization"]; + } else { + return null; + } + } + + /** + * Sets the allowEmailVerifiedUsersToJoinOrganization + * Indicates whether a user can join the tenant by email validation. + * + * @param bool $val The allowEmailVerifiedUsersToJoinOrganization + * + * @return AuthorizationPolicy + */ + public function setAllowEmailVerifiedUsersToJoinOrganization($val) + { + $this->_propDict["allowEmailVerifiedUsersToJoinOrganization"] = boolval($val); + return $this; + } + + /** + * Gets the allowInvitesFrom + * Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below. + * + * @return AllowInvitesFrom|null The allowInvitesFrom + */ + public function getAllowInvitesFrom() + { + if (array_key_exists("allowInvitesFrom", $this->_propDict)) { + if (is_a($this->_propDict["allowInvitesFrom"], "\Beta\Microsoft\Graph\Model\AllowInvitesFrom") || is_null($this->_propDict["allowInvitesFrom"])) { + return $this->_propDict["allowInvitesFrom"]; + } else { + $this->_propDict["allowInvitesFrom"] = new AllowInvitesFrom($this->_propDict["allowInvitesFrom"]); + return $this->_propDict["allowInvitesFrom"]; + } + } + return null; + } + + /** + * Sets the allowInvitesFrom + * Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below. + * + * @param AllowInvitesFrom $val The allowInvitesFrom + * + * @return AuthorizationPolicy + */ + public function setAllowInvitesFrom($val) + { + $this->_propDict["allowInvitesFrom"] = $val; + return $this; + } + + /** + * Gets the blockMsolPowerShell + * To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph. + * + * @return bool|null The blockMsolPowerShell + */ + public function getBlockMsolPowerShell() + { + if (array_key_exists("blockMsolPowerShell", $this->_propDict)) { + return $this->_propDict["blockMsolPowerShell"]; + } else { + return null; + } + } + + /** + * Sets the blockMsolPowerShell + * To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph. + * + * @param bool $val The blockMsolPowerShell + * + * @return AuthorizationPolicy + */ + public function setBlockMsolPowerShell($val) + { + $this->_propDict["blockMsolPowerShell"] = boolval($val); + return $this; + } + + /** + * Gets the defaultUserRolePermissions + * Specifies certain customizable permissions for default user role. + * + * @return DefaultUserRolePermissions|null The defaultUserRolePermissions + */ + public function getDefaultUserRolePermissions() + { + if (array_key_exists("defaultUserRolePermissions", $this->_propDict)) { + if (is_a($this->_propDict["defaultUserRolePermissions"], "\Beta\Microsoft\Graph\Model\DefaultUserRolePermissions") || is_null($this->_propDict["defaultUserRolePermissions"])) { + return $this->_propDict["defaultUserRolePermissions"]; + } else { + $this->_propDict["defaultUserRolePermissions"] = new DefaultUserRolePermissions($this->_propDict["defaultUserRolePermissions"]); + return $this->_propDict["defaultUserRolePermissions"]; + } + } + return null; + } + + /** + * Sets the defaultUserRolePermissions + * Specifies certain customizable permissions for default user role. + * + * @param DefaultUserRolePermissions $val The defaultUserRolePermissions + * + * @return AuthorizationPolicy + */ + public function setDefaultUserRolePermissions($val) + { + $this->_propDict["defaultUserRolePermissions"] = $val; + return $this; + } + + /** + * Gets the enabledPreviewFeatures + * List of features enabled for private preview on the tenant. + * + * @return string|null The enabledPreviewFeatures + */ + public function getEnabledPreviewFeatures() + { + if (array_key_exists("enabledPreviewFeatures", $this->_propDict)) { + return $this->_propDict["enabledPreviewFeatures"]; + } else { + return null; + } + } + + /** + * Sets the enabledPreviewFeatures + * List of features enabled for private preview on the tenant. + * + * @param string $val The enabledPreviewFeatures + * + * @return AuthorizationPolicy + */ + public function setEnabledPreviewFeatures($val) + { + $this->_propDict["enabledPreviewFeatures"] = $val; + return $this; + } + + /** + * Gets the guestUserRoleId + * Represents role templateId for the role that should be granted to guest user. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). + * + * @return string|null The guestUserRoleId + */ + public function getGuestUserRoleId() + { + if (array_key_exists("guestUserRoleId", $this->_propDict)) { + return $this->_propDict["guestUserRoleId"]; + } else { + return null; + } + } + + /** + * Sets the guestUserRoleId + * Represents role templateId for the role that should be granted to guest user. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). + * + * @param string $val The guestUserRoleId + * + * @return AuthorizationPolicy + */ + public function setGuestUserRoleId($val) + { + $this->_propDict["guestUserRoleId"] = $val; + return $this; + } + + /** + * Gets the permissionGrantPolicyIdsAssignedToDefaultUserRole + * Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. + * + * @return string|null The permissionGrantPolicyIdsAssignedToDefaultUserRole + */ + public function getPermissionGrantPolicyIdsAssignedToDefaultUserRole() + { + if (array_key_exists("permissionGrantPolicyIdsAssignedToDefaultUserRole", $this->_propDict)) { + return $this->_propDict["permissionGrantPolicyIdsAssignedToDefaultUserRole"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrantPolicyIdsAssignedToDefaultUserRole + * Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. + * + * @param string $val The permissionGrantPolicyIdsAssignedToDefaultUserRole + * + * @return AuthorizationPolicy + */ + public function setPermissionGrantPolicyIdsAssignedToDefaultUserRole($val) + { + $this->_propDict["permissionGrantPolicyIdsAssignedToDefaultUserRole"] = $val; + return $this; + } + + + /** + * Gets the defaultUserRoleOverrides + * + * @return array|null The defaultUserRoleOverrides + */ + public function getDefaultUserRoleOverrides() + { + if (array_key_exists("defaultUserRoleOverrides", $this->_propDict)) { + return $this->_propDict["defaultUserRoleOverrides"]; + } else { + return null; + } + } + + /** + * Sets the defaultUserRoleOverrides + * + * @param DefaultUserRoleOverride[] $val The defaultUserRoleOverrides + * + * @return AuthorizationPolicy + */ + public function setDefaultUserRoleOverrides($val) + { + $this->_propDict["defaultUserRoleOverrides"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoAdmittedUsersType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoAdmittedUsersType.php new file mode 100644 index 0000000..15e6b4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoAdmittedUsersType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * + * @param string $val The value of the message + * + * @return AutoLabeling + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the sensitiveTypeIds + * + * @return string|null The sensitiveTypeIds + */ + public function getSensitiveTypeIds() + { + if (array_key_exists("sensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["sensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeIds + * + * @param string $val The value of the sensitiveTypeIds + * + * @return AutoLabeling + */ + public function setSensitiveTypeIds($val) + { + $this->_propDict["sensitiveTypeIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoRestartNotificationDismissalMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoRestartNotificationDismissalMethod.php new file mode 100644 index 0000000..c851eda --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoRestartNotificationDismissalMethod.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["notReviewedResult"]; + } else { + return null; + } + } + + /** + * Sets the notReviewedResult + * Possible values: Approve, Deny, or Recommendation. If Recommendation, then accessRecommendationsEnabled in the accessReviewSettings resource should also be set to true. If you want to have the system provide a decision even if the reviewer does not make a choice, set the autoReviewEnabled property in the accessReviewSettings resource to true and include an autoReviewSettings object with the notReviewedResult property. Then, when a review completes, based on the notReviewedResult property, the decision is recorded as either Approve or Deny. + * + * @param string $val The value of the notReviewedResult + * + * @return AutoReviewSettings + */ + public function setNotReviewedResult($val) + { + $this->_propDict["notReviewedResult"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesMailTips.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesMailTips.php new file mode 100644 index 0000000..37e45e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesMailTips.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The automatic reply message. + * + * @param string $val The value of the message + * + * @return AutomaticRepliesMailTips + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the messageLanguage + * The language that the automatic reply message is in. + * + * @return LocaleInfo|null The messageLanguage + */ + public function getMessageLanguage() + { + if (array_key_exists("messageLanguage", $this->_propDict)) { + if (is_a($this->_propDict["messageLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["messageLanguage"])) { + return $this->_propDict["messageLanguage"]; + } else { + $this->_propDict["messageLanguage"] = new LocaleInfo($this->_propDict["messageLanguage"]); + return $this->_propDict["messageLanguage"]; + } + } + return null; + } + + /** + * Sets the messageLanguage + * The language that the automatic reply message is in. + * + * @param LocaleInfo $val The value to assign to the messageLanguage + * + * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips + */ + public function setMessageLanguage($val) + { + $this->_propDict["messageLanguage"] = $val; + return $this; + } + + /** + * Gets the scheduledEndTime + * The date and time that automatic replies are set to end. + * + * @return DateTimeTimeZone|null The scheduledEndTime + */ + public function getScheduledEndTime() + { + if (array_key_exists("scheduledEndTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledEndTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledEndTime"])) { + return $this->_propDict["scheduledEndTime"]; + } else { + $this->_propDict["scheduledEndTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndTime"]); + return $this->_propDict["scheduledEndTime"]; + } + } + return null; + } + + /** + * Sets the scheduledEndTime + * The date and time that automatic replies are set to end. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledEndTime + * + * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips + */ + public function setScheduledEndTime($val) + { + $this->_propDict["scheduledEndTime"] = $val; + return $this; + } + + /** + * Gets the scheduledStartTime + * The date and time that automatic replies are set to begin. + * + * @return DateTimeTimeZone|null The scheduledStartTime + */ + public function getScheduledStartTime() + { + if (array_key_exists("scheduledStartTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledStartTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledStartTime"])) { + return $this->_propDict["scheduledStartTime"]; + } else { + $this->_propDict["scheduledStartTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartTime"]); + return $this->_propDict["scheduledStartTime"]; + } + } + return null; + } + + /** + * Sets the scheduledStartTime + * The date and time that automatic replies are set to begin. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledStartTime + * + * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips + */ + public function setScheduledStartTime($val) + { + $this->_propDict["scheduledStartTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesSetting.php new file mode 100644 index 0000000..3ebb330 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesSetting.php @@ -0,0 +1,214 @@ +_propDict)) { + if (is_a($this->_propDict["externalAudience"], "\Beta\Microsoft\Graph\Model\ExternalAudienceScope") || is_null($this->_propDict["externalAudience"])) { + return $this->_propDict["externalAudience"]; + } else { + $this->_propDict["externalAudience"] = new ExternalAudienceScope($this->_propDict["externalAudience"]); + return $this->_propDict["externalAudience"]; + } + } + return null; + } + + /** + * Sets the externalAudience + * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. Possible values are: none, contactsOnly, all. + * + * @param ExternalAudienceScope $val The value to assign to the externalAudience + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setExternalAudience($val) + { + $this->_propDict["externalAudience"] = $val; + return $this; + } + /** + * Gets the externalReplyMessage + * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. + * + * @return string|null The externalReplyMessage + */ + public function getExternalReplyMessage() + { + if (array_key_exists("externalReplyMessage", $this->_propDict)) { + return $this->_propDict["externalReplyMessage"]; + } else { + return null; + } + } + + /** + * Sets the externalReplyMessage + * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. + * + * @param string $val The value of the externalReplyMessage + * + * @return AutomaticRepliesSetting + */ + public function setExternalReplyMessage($val) + { + $this->_propDict["externalReplyMessage"] = $val; + return $this; + } + /** + * Gets the internalReplyMessage + * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + * + * @return string|null The internalReplyMessage + */ + public function getInternalReplyMessage() + { + if (array_key_exists("internalReplyMessage", $this->_propDict)) { + return $this->_propDict["internalReplyMessage"]; + } else { + return null; + } + } + + /** + * Sets the internalReplyMessage + * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + * + * @param string $val The value of the internalReplyMessage + * + * @return AutomaticRepliesSetting + */ + public function setInternalReplyMessage($val) + { + $this->_propDict["internalReplyMessage"] = $val; + return $this; + } + + /** + * Gets the scheduledEndDateTime + * The date and time that automatic replies are set to end, if Status is set to Scheduled. + * + * @return DateTimeTimeZone|null The scheduledEndDateTime + */ + public function getScheduledEndDateTime() + { + if (array_key_exists("scheduledEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledEndDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledEndDateTime"])) { + return $this->_propDict["scheduledEndDateTime"]; + } else { + $this->_propDict["scheduledEndDateTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndDateTime"]); + return $this->_propDict["scheduledEndDateTime"]; + } + } + return null; + } + + /** + * Sets the scheduledEndDateTime + * The date and time that automatic replies are set to end, if Status is set to Scheduled. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledEndDateTime + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setScheduledEndDateTime($val) + { + $this->_propDict["scheduledEndDateTime"] = $val; + return $this; + } + + /** + * Gets the scheduledStartDateTime + * The date and time that automatic replies are set to begin, if Status is set to Scheduled. + * + * @return DateTimeTimeZone|null The scheduledStartDateTime + */ + public function getScheduledStartDateTime() + { + if (array_key_exists("scheduledStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledStartDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledStartDateTime"])) { + return $this->_propDict["scheduledStartDateTime"]; + } else { + $this->_propDict["scheduledStartDateTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartDateTime"]); + return $this->_propDict["scheduledStartDateTime"]; + } + } + return null; + } + + /** + * Sets the scheduledStartDateTime + * The date and time that automatic replies are set to begin, if Status is set to Scheduled. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledStartDateTime + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setScheduledStartDateTime($val) + { + $this->_propDict["scheduledStartDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Configurations status for automatic replies. Possible values are: disabled, alwaysEnabled, scheduled. + * + * @return AutomaticRepliesStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AutomaticRepliesStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AutomaticRepliesStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Configurations status for automatic replies. Possible values are: disabled, alwaysEnabled, scheduled. + * + * @param AutomaticRepliesStatus $val The value to assign to the status + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesStatus.php new file mode 100644 index 0000000..f630d17 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new DateTimeTimeZone($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the time slot. + * + * @param DateTimeTimeZone $val The value to assign to the endDateTime + * + * @return AvailabilityItem The AvailabilityItem + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the serviceId + * Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null. + * + * @return string|null The serviceId + */ + public function getServiceId() + { + if (array_key_exists("serviceId", $this->_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null. + * + * @param string $val The value of the serviceId + * + * @return AvailabilityItem + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the time slot. + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the time slot. + * + * @param DateTimeTimeZone $val The value to assign to the startDateTime + * + * @return AvailabilityItem The AvailabilityItem + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the staff member. Possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue. + * + * @return BookingsAvailabilityStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\BookingsAvailabilityStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new BookingsAvailabilityStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the staff member. Possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue. + * + * @param BookingsAvailabilityStatus $val The value to assign to the status + * + * @return AvailabilityItem The AvailabilityItem + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AverageComparativeScore.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AverageComparativeScore.php new file mode 100644 index 0000000..70ff5b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AverageComparativeScore.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["averageScore"]; + } else { + return null; + } + } + + /** + * Sets the averageScore + * Average score within specified basis. + * + * @param float $val The value of the averageScore + * + * @return AverageComparativeScore + */ + public function setAverageScore($val) + { + $this->_propDict["averageScore"] = $val; + return $this; + } + /** + * Gets the basis + * Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes. + * + * @return string|null The basis + */ + public function getBasis() + { + if (array_key_exists("basis", $this->_propDict)) { + return $this->_propDict["basis"]; + } else { + return null; + } + } + + /** + * Sets the basis + * Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes. + * + * @param string $val The value of the basis + * + * @return AverageComparativeScore + */ + public function setBasis($val) + { + $this->_propDict["basis"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADFeatureUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADFeatureUsage.php new file mode 100644 index 0000000..80f85cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADFeatureUsage.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["featureName"]; + } else { + return null; + } + } + + /** + * Sets the featureName + * + * @param string $val The featureName + * + * @return AzureADFeatureUsage + */ + public function setFeatureName($val) + { + $this->_propDict["featureName"] = $val; + return $this; + } + + /** + * Gets the snapshotDateTime + * + * @return \DateTime|null The snapshotDateTime + */ + public function getSnapshotDateTime() + { + if (array_key_exists("snapshotDateTime", $this->_propDict)) { + if (is_a($this->_propDict["snapshotDateTime"], "\DateTime") || is_null($this->_propDict["snapshotDateTime"])) { + return $this->_propDict["snapshotDateTime"]; + } else { + $this->_propDict["snapshotDateTime"] = new \DateTime($this->_propDict["snapshotDateTime"]); + return $this->_propDict["snapshotDateTime"]; + } + } + return null; + } + + /** + * Sets the snapshotDateTime + * + * @param \DateTime $val The snapshotDateTime + * + * @return AzureADFeatureUsage + */ + public function setSnapshotDateTime($val) + { + $this->_propDict["snapshotDateTime"] = $val; + return $this; + } + + /** + * Gets the usage + * + * @return int|null The usage + */ + public function getUsage() + { + if (array_key_exists("usage", $this->_propDict)) { + return $this->_propDict["usage"]; + } else { + return null; + } + } + + /** + * Sets the usage + * + * @param int $val The usage + * + * @return AzureADFeatureUsage + */ + public function setUsage($val) + { + $this->_propDict["usage"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADLicenseType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADLicenseType.php new file mode 100644 index 0000000..88899a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADLicenseType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["licenseInfoDetails"]; + } else { + return null; + } + } + + /** + * Sets the licenseInfoDetails + * + * @param LicenseInfoDetail[] $val The licenseInfoDetails + * + * @return AzureADLicenseUsage + */ + public function setLicenseInfoDetails($val) + { + $this->_propDict["licenseInfoDetails"] = $val; + return $this; + } + + /** + * Gets the snapshotDateTime + * + * @return \DateTime|null The snapshotDateTime + */ + public function getSnapshotDateTime() + { + if (array_key_exists("snapshotDateTime", $this->_propDict)) { + if (is_a($this->_propDict["snapshotDateTime"], "\DateTime") || is_null($this->_propDict["snapshotDateTime"])) { + return $this->_propDict["snapshotDateTime"]; + } else { + $this->_propDict["snapshotDateTime"] = new \DateTime($this->_propDict["snapshotDateTime"]); + return $this->_propDict["snapshotDateTime"]; + } + } + return null; + } + + /** + * Sets the snapshotDateTime + * + * @param \DateTime $val The snapshotDateTime + * + * @return AzureADLicenseUsage + */ + public function setSnapshotDateTime($val) + { + $this->_propDict["snapshotDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADRegistrationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADRegistrationPolicy.php new file mode 100644 index 0000000..77d0382 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADRegistrationPolicy.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowedGroups"]; + } else { + return null; + } + } + + /** + * Sets the allowedGroups + * The identifiers of the groups that are in the scope of the policy. Either this property or allowedUsers is required when the appliesTo property is set to selected. + * + * @param string $val The value of the allowedGroups + * + * @return AzureADRegistrationPolicy + */ + public function setAllowedGroups($val) + { + $this->_propDict["allowedGroups"] = $val; + return $this; + } + /** + * Gets the allowedUsers + * The identifiers of users that are in the scope of the policy. Either this property or allowedGroups is required when the appliesTo property is set to selected. + * + * @return string|null The allowedUsers + */ + public function getAllowedUsers() + { + if (array_key_exists("allowedUsers", $this->_propDict)) { + return $this->_propDict["allowedUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowedUsers + * The identifiers of users that are in the scope of the policy. Either this property or allowedGroups is required when the appliesTo property is set to selected. + * + * @param string $val The value of the allowedUsers + * + * @return AzureADRegistrationPolicy + */ + public function setAllowedUsers($val) + { + $this->_propDict["allowedUsers"] = $val; + return $this; + } + + /** + * Gets the appliesTo + * Specifies whether to block or allow fine-grained control of the policy scope. The possible values are: 0 (meaning none), 1 (meaning all), 2 (meaning selected), 3 (meaning unknownFutureValue). The default value is 1. When set to 2, at least one user or group identifier must be specified in either allowedUsers or allowedGroups. Setting this property to 0 or 1 removes all identifiers in both allowedUsers and allowedGroups. + * + * @return PolicyScope|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\PolicyScope") || is_null($this->_propDict["appliesTo"])) { + return $this->_propDict["appliesTo"]; + } else { + $this->_propDict["appliesTo"] = new PolicyScope($this->_propDict["appliesTo"]); + return $this->_propDict["appliesTo"]; + } + } + return null; + } + + /** + * Sets the appliesTo + * Specifies whether to block or allow fine-grained control of the policy scope. The possible values are: 0 (meaning none), 1 (meaning all), 2 (meaning selected), 3 (meaning unknownFutureValue). The default value is 1. When set to 2, at least one user or group identifier must be specified in either allowedUsers or allowedGroups. Setting this property to 0 or 1 removes all identifiers in both allowedUsers and allowedGroups. + * + * @param PolicyScope $val The value to assign to the appliesTo + * + * @return AzureADRegistrationPolicy The AzureADRegistrationPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the isAdminConfigurable + * Specifies whether this policy scope is configurable by the admin. The default value is false. When an admin has enabled Intune (MEM) to manage devices, this property is set to false and appliesTo defaults to 1 (meaning all). + * + * @return bool|null The isAdminConfigurable + */ + public function getIsAdminConfigurable() + { + if (array_key_exists("isAdminConfigurable", $this->_propDict)) { + return $this->_propDict["isAdminConfigurable"]; + } else { + return null; + } + } + + /** + * Sets the isAdminConfigurable + * Specifies whether this policy scope is configurable by the admin. The default value is false. When an admin has enabled Intune (MEM) to manage devices, this property is set to false and appliesTo defaults to 1 (meaning all). + * + * @param bool $val The value of the isAdminConfigurable + * + * @return AzureADRegistrationPolicy + */ + public function setIsAdminConfigurable($val) + { + $this->_propDict["isAdminConfigurable"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADUserFeatureUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADUserFeatureUsage.php new file mode 100644 index 0000000..50ba6b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADUserFeatureUsage.php @@ -0,0 +1,229 @@ +_propDict)) { + return $this->_propDict["featureUsageDetails"]; + } else { + return null; + } + } + + /** + * Sets the featureUsageDetails + * + * @param FeatureUsageDetail[] $val The featureUsageDetails + * + * @return AzureADUserFeatureUsage + */ + public function setFeatureUsageDetails($val) + { + $this->_propDict["featureUsageDetails"] = $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 AzureADUserFeatureUsage + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the licenseAssigned + * + * @return AzureADLicenseType|null The licenseAssigned + */ + public function getLicenseAssigned() + { + if (array_key_exists("licenseAssigned", $this->_propDict)) { + if (is_a($this->_propDict["licenseAssigned"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType") || is_null($this->_propDict["licenseAssigned"])) { + return $this->_propDict["licenseAssigned"]; + } else { + $this->_propDict["licenseAssigned"] = new AzureADLicenseType($this->_propDict["licenseAssigned"]); + return $this->_propDict["licenseAssigned"]; + } + } + return null; + } + + /** + * Sets the licenseAssigned + * + * @param AzureADLicenseType $val The licenseAssigned + * + * @return AzureADUserFeatureUsage + */ + public function setLicenseAssigned($val) + { + $this->_propDict["licenseAssigned"] = $val; + return $this; + } + + /** + * Gets the licenseRecommended + * + * @return AzureADLicenseType|null The licenseRecommended + */ + public function getLicenseRecommended() + { + if (array_key_exists("licenseRecommended", $this->_propDict)) { + if (is_a($this->_propDict["licenseRecommended"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType") || is_null($this->_propDict["licenseRecommended"])) { + return $this->_propDict["licenseRecommended"]; + } else { + $this->_propDict["licenseRecommended"] = new AzureADLicenseType($this->_propDict["licenseRecommended"]); + return $this->_propDict["licenseRecommended"]; + } + } + return null; + } + + /** + * Sets the licenseRecommended + * + * @param AzureADLicenseType $val The licenseRecommended + * + * @return AzureADUserFeatureUsage + */ + public function setLicenseRecommended($val) + { + $this->_propDict["licenseRecommended"] = $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 userDisplayName + * + * @return AzureADUserFeatureUsage + */ + 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 userId + * + * @return AzureADUserFeatureUsage + */ + 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 userPrincipalName + * + * @return AzureADUserFeatureUsage + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADWindowsAutopilotDeploymentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADWindowsAutopilotDeploymentProfile.php new file mode 100644 index 0000000..5ab9cec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADWindowsAutopilotDeploymentProfile.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.azureActiveDirectoryTenant"); + } + + /** + * Gets the displayName + * The name of the Azure Active Directory tenant. Read only. + * + * @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 + * The name of the Azure Active Directory tenant. Read only. + * + * @param string $val The value of the displayName + * + * @return AzureActiveDirectoryTenant + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the tenantId + * The ID of the Azure Active Directory tenant. Read only. + * + * @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 + * The ID of the Azure Active Directory tenant. Read only. + * + * @param string $val The value of the tenantId + * + * @return AzureActiveDirectoryTenant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdJoinPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdJoinPolicy.php new file mode 100644 index 0000000..b423183 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdJoinPolicy.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowedGroups"]; + } else { + return null; + } + } + + /** + * Sets the allowedGroups + * The identifiers of the groups that are in the scope of the policy. Required when the appliesTo property is set to selected. + * + * @param string $val The value of the allowedGroups + * + * @return AzureAdJoinPolicy + */ + public function setAllowedGroups($val) + { + $this->_propDict["allowedGroups"] = $val; + return $this; + } + /** + * Gets the allowedUsers + * The identifiers of users that are in the scope of the policy. Required when the appliesTo property is set to selected. + * + * @return string|null The allowedUsers + */ + public function getAllowedUsers() + { + if (array_key_exists("allowedUsers", $this->_propDict)) { + return $this->_propDict["allowedUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowedUsers + * The identifiers of users that are in the scope of the policy. Required when the appliesTo property is set to selected. + * + * @param string $val The value of the allowedUsers + * + * @return AzureAdJoinPolicy + */ + public function setAllowedUsers($val) + { + $this->_propDict["allowedUsers"] = $val; + return $this; + } + + /** + * Gets the appliesTo + * Specifies whether to block or allow fine-grained control of the policy scope. The possible values are: 0 (meaning none), 1 (meaning all), 2 (meaning selected), 3 (meaning unknownFutureValue). The default value is 1. When set to 2, at least one user or group identifier must be specified in either allowedUsers or allowedGroups. Setting this property to 0 or 1 removes all identifiers in both allowedUsers and allowedGroups. + * + * @return PolicyScope|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\PolicyScope") || is_null($this->_propDict["appliesTo"])) { + return $this->_propDict["appliesTo"]; + } else { + $this->_propDict["appliesTo"] = new PolicyScope($this->_propDict["appliesTo"]); + return $this->_propDict["appliesTo"]; + } + } + return null; + } + + /** + * Sets the appliesTo + * Specifies whether to block or allow fine-grained control of the policy scope. The possible values are: 0 (meaning none), 1 (meaning all), 2 (meaning selected), 3 (meaning unknownFutureValue). The default value is 1. When set to 2, at least one user or group identifier must be specified in either allowedUsers or allowedGroups. Setting this property to 0 or 1 removes all identifiers in both allowedUsers and allowedGroups. + * + * @param PolicyScope $val The value to assign to the appliesTo + * + * @return AzureAdJoinPolicy The AzureAdJoinPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the isAdminConfigurable + * Specifies whether this policy scope is configurable by the admin. The default value is false. When an admin has enabled Intune (MEM) to manage devices, this property is set to false and appliesTo defaults to 1 (meaning all). + * + * @return bool|null The isAdminConfigurable + */ + public function getIsAdminConfigurable() + { + if (array_key_exists("isAdminConfigurable", $this->_propDict)) { + return $this->_propDict["isAdminConfigurable"]; + } else { + return null; + } + } + + /** + * Sets the isAdminConfigurable + * Specifies whether this policy scope is configurable by the admin. The default value is false. When an admin has enabled Intune (MEM) to manage devices, this property is set to false and appliesTo defaults to 1 (meaning all). + * + * @param bool $val The value of the isAdminConfigurable + * + * @return AzureAdJoinPolicy + */ + public function setIsAdminConfigurable($val) + { + $this->_propDict["isAdminConfigurable"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdTokenAuthentication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdTokenAuthentication.php new file mode 100644 index 0000000..e781e7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdTokenAuthentication.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.azureAdTokenAuthentication"); + } + + /** + * Gets the resourceId + * The appID of the Azure AD application to use to authenticate a logic app with a custom access package workflow extension. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The appID of the Azure AD application to use to authenticate a logic app with a custom access package workflow extension. + * + * @param string $val The value of the resourceId + * + * @return AzureAdTokenAuthentication + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cAuthenticationMethodsPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cAuthenticationMethodsPolicy.php new file mode 100644 index 0000000..88844c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cAuthenticationMethodsPolicy.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["isEmailPasswordAuthenticationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEmailPasswordAuthenticationEnabled + * The tenant admin can configure local accounts using email if the email and password authentication method is enabled. + * + * @param bool $val The isEmailPasswordAuthenticationEnabled + * + * @return B2cAuthenticationMethodsPolicy + */ + public function setIsEmailPasswordAuthenticationEnabled($val) + { + $this->_propDict["isEmailPasswordAuthenticationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isPhoneOneTimePasswordAuthenticationEnabled + * The tenant admin can configure local accounts using phone number if the phone number and one-time password authentication method is enabled. + * + * @return bool|null The isPhoneOneTimePasswordAuthenticationEnabled + */ + public function getIsPhoneOneTimePasswordAuthenticationEnabled() + { + if (array_key_exists("isPhoneOneTimePasswordAuthenticationEnabled", $this->_propDict)) { + return $this->_propDict["isPhoneOneTimePasswordAuthenticationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isPhoneOneTimePasswordAuthenticationEnabled + * The tenant admin can configure local accounts using phone number if the phone number and one-time password authentication method is enabled. + * + * @param bool $val The isPhoneOneTimePasswordAuthenticationEnabled + * + * @return B2cAuthenticationMethodsPolicy + */ + public function setIsPhoneOneTimePasswordAuthenticationEnabled($val) + { + $this->_propDict["isPhoneOneTimePasswordAuthenticationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isUserNameAuthenticationEnabled + * The tenant admin can configure local accounts using username if the username and password authentication method is enabled. + * + * @return bool|null The isUserNameAuthenticationEnabled + */ + public function getIsUserNameAuthenticationEnabled() + { + if (array_key_exists("isUserNameAuthenticationEnabled", $this->_propDict)) { + return $this->_propDict["isUserNameAuthenticationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isUserNameAuthenticationEnabled + * The tenant admin can configure local accounts using username if the username and password authentication method is enabled. + * + * @param bool $val The isUserNameAuthenticationEnabled + * + * @return B2cAuthenticationMethodsPolicy + */ + public function setIsUserNameAuthenticationEnabled($val) + { + $this->_propDict["isUserNameAuthenticationEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cIdentityUserFlow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cIdentityUserFlow.php new file mode 100644 index 0000000..ae13008 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cIdentityUserFlow.php @@ -0,0 +1,234 @@ +_propDict)) { + if (is_a($this->_propDict["apiConnectorConfiguration"], "\Beta\Microsoft\Graph\Model\UserFlowApiConnectorConfiguration") || is_null($this->_propDict["apiConnectorConfiguration"])) { + return $this->_propDict["apiConnectorConfiguration"]; + } else { + $this->_propDict["apiConnectorConfiguration"] = new UserFlowApiConnectorConfiguration($this->_propDict["apiConnectorConfiguration"]); + return $this->_propDict["apiConnectorConfiguration"]; + } + } + return null; + } + + /** + * Sets the apiConnectorConfiguration + * Configuration for enabling an API connector for use as part of the user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. + * + * @param UserFlowApiConnectorConfiguration $val The apiConnectorConfiguration + * + * @return B2cIdentityUserFlow + */ + public function setApiConnectorConfiguration($val) + { + $this->_propDict["apiConnectorConfiguration"] = $val; + return $this; + } + + /** + * Gets the defaultLanguageTag + * Indicates the default language of the b2cIdentityUserFlow that is used when no ui_locale tag is specified in the request. This field is RFC 5646 compliant. + * + * @return string|null The defaultLanguageTag + */ + public function getDefaultLanguageTag() + { + if (array_key_exists("defaultLanguageTag", $this->_propDict)) { + return $this->_propDict["defaultLanguageTag"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguageTag + * Indicates the default language of the b2cIdentityUserFlow that is used when no ui_locale tag is specified in the request. This field is RFC 5646 compliant. + * + * @param string $val The defaultLanguageTag + * + * @return B2cIdentityUserFlow + */ + public function setDefaultLanguageTag($val) + { + $this->_propDict["defaultLanguageTag"] = $val; + return $this; + } + + /** + * Gets the isLanguageCustomizationEnabled + * The property that determines whether language customization is enabled within the B2C user flow. Language customization is not enabled by default for B2C user flows. + * + * @return bool|null The isLanguageCustomizationEnabled + */ + public function getIsLanguageCustomizationEnabled() + { + if (array_key_exists("isLanguageCustomizationEnabled", $this->_propDict)) { + return $this->_propDict["isLanguageCustomizationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isLanguageCustomizationEnabled + * The property that determines whether language customization is enabled within the B2C user flow. Language customization is not enabled by default for B2C user flows. + * + * @param bool $val The isLanguageCustomizationEnabled + * + * @return B2cIdentityUserFlow + */ + public function setIsLanguageCustomizationEnabled($val) + { + $this->_propDict["isLanguageCustomizationEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the identityProviders + * + * @return array|null The identityProviders + */ + public function getIdentityProviders() + { + if (array_key_exists("identityProviders", $this->_propDict)) { + return $this->_propDict["identityProviders"]; + } else { + return null; + } + } + + /** + * Sets the identityProviders + * + * @param IdentityProvider[] $val The identityProviders + * + * @return B2cIdentityUserFlow + */ + public function setIdentityProviders($val) + { + $this->_propDict["identityProviders"] = $val; + return $this; + } + + + /** + * Gets the languages + * The languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. + * + * @return array|null The languages + */ + public function getLanguages() + { + if (array_key_exists("languages", $this->_propDict)) { + return $this->_propDict["languages"]; + } else { + return null; + } + } + + /** + * Sets the languages + * The languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. + * + * @param UserFlowLanguageConfiguration[] $val The languages + * + * @return B2cIdentityUserFlow + */ + public function setLanguages($val) + { + $this->_propDict["languages"] = $val; + return $this; + } + + + /** + * Gets the userAttributeAssignments + * The user attribute assignments included in the user flow. + * + * @return array|null The userAttributeAssignments + */ + public function getUserAttributeAssignments() + { + if (array_key_exists("userAttributeAssignments", $this->_propDict)) { + return $this->_propDict["userAttributeAssignments"]; + } else { + return null; + } + } + + /** + * Sets the userAttributeAssignments + * The user attribute assignments included in the user flow. + * + * @param IdentityUserFlowAttributeAssignment[] $val The userAttributeAssignments + * + * @return B2cIdentityUserFlow + */ + public function setUserAttributeAssignments($val) + { + $this->_propDict["userAttributeAssignments"] = $val; + return $this; + } + + + /** + * Gets the userFlowIdentityProviders + * + * @return array|null The userFlowIdentityProviders + */ + public function getUserFlowIdentityProviders() + { + if (array_key_exists("userFlowIdentityProviders", $this->_propDict)) { + return $this->_propDict["userFlowIdentityProviders"]; + } else { + return null; + } + } + + /** + * Sets the userFlowIdentityProviders + * + * @param IdentityProviderBase[] $val The userFlowIdentityProviders + * + * @return B2cIdentityUserFlow + */ + public function setUserFlowIdentityProviders($val) + { + $this->_propDict["userFlowIdentityProviders"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2xIdentityUserFlow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2xIdentityUserFlow.php new file mode 100644 index 0000000..f5157dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2xIdentityUserFlow.php @@ -0,0 +1,178 @@ +_propDict)) { + if (is_a($this->_propDict["apiConnectorConfiguration"], "\Beta\Microsoft\Graph\Model\UserFlowApiConnectorConfiguration") || is_null($this->_propDict["apiConnectorConfiguration"])) { + return $this->_propDict["apiConnectorConfiguration"]; + } else { + $this->_propDict["apiConnectorConfiguration"] = new UserFlowApiConnectorConfiguration($this->_propDict["apiConnectorConfiguration"]); + return $this->_propDict["apiConnectorConfiguration"]; + } + } + return null; + } + + /** + * Sets the apiConnectorConfiguration + * Configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. + * + * @param UserFlowApiConnectorConfiguration $val The apiConnectorConfiguration + * + * @return B2xIdentityUserFlow + */ + public function setApiConnectorConfiguration($val) + { + $this->_propDict["apiConnectorConfiguration"] = $val; + return $this; + } + + + /** + * Gets the identityProviders + * The identity providers included in the user flow. + * + * @return array|null The identityProviders + */ + public function getIdentityProviders() + { + if (array_key_exists("identityProviders", $this->_propDict)) { + return $this->_propDict["identityProviders"]; + } else { + return null; + } + } + + /** + * Sets the identityProviders + * The identity providers included in the user flow. + * + * @param IdentityProvider[] $val The identityProviders + * + * @return B2xIdentityUserFlow + */ + public function setIdentityProviders($val) + { + $this->_propDict["identityProviders"] = $val; + return $this; + } + + + /** + * Gets the languages + * The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. + * + * @return array|null The languages + */ + public function getLanguages() + { + if (array_key_exists("languages", $this->_propDict)) { + return $this->_propDict["languages"]; + } else { + return null; + } + } + + /** + * Sets the languages + * The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. + * + * @param UserFlowLanguageConfiguration[] $val The languages + * + * @return B2xIdentityUserFlow + */ + public function setLanguages($val) + { + $this->_propDict["languages"] = $val; + return $this; + } + + + /** + * Gets the userAttributeAssignments + * The user attribute assignments included in the user flow. + * + * @return array|null The userAttributeAssignments + */ + public function getUserAttributeAssignments() + { + if (array_key_exists("userAttributeAssignments", $this->_propDict)) { + return $this->_propDict["userAttributeAssignments"]; + } else { + return null; + } + } + + /** + * Sets the userAttributeAssignments + * The user attribute assignments included in the user flow. + * + * @param IdentityUserFlowAttributeAssignment[] $val The userAttributeAssignments + * + * @return B2xIdentityUserFlow + */ + public function setUserAttributeAssignments($val) + { + $this->_propDict["userAttributeAssignments"] = $val; + return $this; + } + + + /** + * Gets the userFlowIdentityProviders + * + * @return array|null The userFlowIdentityProviders + */ + public function getUserFlowIdentityProviders() + { + if (array_key_exists("userFlowIdentityProviders", $this->_propDict)) { + return $this->_propDict["userFlowIdentityProviders"]; + } else { + return null; + } + } + + /** + * Sets the userFlowIdentityProviders + * + * @param IdentityProviderBase[] $val The userFlowIdentityProviders + * + * @return B2xIdentityUserFlow + */ + public function setUserFlowIdentityProviders($val) + { + $this->_propDict["userFlowIdentityProviders"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItem.php new file mode 100644 index 0000000..102288c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItem.php @@ -0,0 +1,374 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user, device, or application which created the item. Read-only. + * + * @param IdentitySet $val The createdBy + * + * @return BaseItem + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of item creation. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of item creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return BaseItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Provides a user-visible description of the item. Optional. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Provides a user-visible description of the item. Optional. + * + * @param string $val The description + * + * @return BaseItem + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the eTag + * ETag for the item. Read-only. + * + * @return string|null The eTag + */ + public function getETag() + { + if (array_key_exists("eTag", $this->_propDict)) { + return $this->_propDict["eTag"]; + } else { + return null; + } + } + + /** + * Sets the eTag + * ETag for the item. Read-only. + * + * @param string $val The eTag + * + * @return BaseItem + */ + public function setETag($val) + { + $this->_propDict["eTag"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return BaseItem + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return BaseItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * The name of the item. Read-write. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item. Read-write. + * + * @param string $val The name + * + * @return BaseItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parentReference + * Parent information, if the item has a parent. Read-write. + * + * @return ItemReference|null The parentReference + */ + public function getParentReference() + { + if (array_key_exists("parentReference", $this->_propDict)) { + if (is_a($this->_propDict["parentReference"], "\Beta\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["parentReference"])) { + return $this->_propDict["parentReference"]; + } else { + $this->_propDict["parentReference"] = new ItemReference($this->_propDict["parentReference"]); + return $this->_propDict["parentReference"]; + } + } + return null; + } + + /** + * Sets the parentReference + * Parent information, if the item has a parent. Read-write. + * + * @param ItemReference $val The parentReference + * + * @return BaseItem + */ + public function setParentReference($val) + { + $this->_propDict["parentReference"] = $val; + return $this; + } + + /** + * Gets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @param string $val The webUrl + * + * @return BaseItem + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the createdByUser + * Identity of the user who created the item. Read-only. + * + * @return User|null The createdByUser + */ + public function getCreatedByUser() + { + if (array_key_exists("createdByUser", $this->_propDict)) { + if (is_a($this->_propDict["createdByUser"], "\Beta\Microsoft\Graph\Model\User") || is_null($this->_propDict["createdByUser"])) { + return $this->_propDict["createdByUser"]; + } else { + $this->_propDict["createdByUser"] = new User($this->_propDict["createdByUser"]); + return $this->_propDict["createdByUser"]; + } + } + return null; + } + + /** + * Sets the createdByUser + * Identity of the user who created the item. Read-only. + * + * @param User $val The createdByUser + * + * @return BaseItem + */ + public function setCreatedByUser($val) + { + $this->_propDict["createdByUser"] = $val; + return $this; + } + + /** + * Gets the lastModifiedByUser + * Identity of the user who last modified the item. Read-only. + * + * @return User|null The lastModifiedByUser + */ + public function getLastModifiedByUser() + { + if (array_key_exists("lastModifiedByUser", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedByUser"], "\Beta\Microsoft\Graph\Model\User") || is_null($this->_propDict["lastModifiedByUser"])) { + return $this->_propDict["lastModifiedByUser"]; + } else { + $this->_propDict["lastModifiedByUser"] = new User($this->_propDict["lastModifiedByUser"]); + return $this->_propDict["lastModifiedByUser"]; + } + } + return null; + } + + /** + * Sets the lastModifiedByUser + * Identity of the user who last modified the item. Read-only. + * + * @param User $val The lastModifiedByUser + * + * @return BaseItem + */ + public function setLastModifiedByUser($val) + { + $this->_propDict["lastModifiedByUser"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php new file mode 100644 index 0000000..88ca8a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user which last modified the version. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return BaseItemVersion + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time the version was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time the version was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return BaseItemVersion + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the publication + * Indicates the publication status of this particular version. Read-only. + * + * @return PublicationFacet|null The publication + */ + public function getPublication() + { + if (array_key_exists("publication", $this->_propDict)) { + if (is_a($this->_propDict["publication"], "\Beta\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publication"])) { + return $this->_propDict["publication"]; + } else { + $this->_propDict["publication"] = new PublicationFacet($this->_propDict["publication"]); + return $this->_propDict["publication"]; + } + } + return null; + } + + /** + * Sets the publication + * Indicates the publication status of this particular version. Read-only. + * + * @param PublicationFacet $val The publication + * + * @return BaseItemVersion + */ + public function setPublication($val) + { + $this->_propDict["publication"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseTask.php new file mode 100644 index 0000000..522de83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseTask.php @@ -0,0 +1,538 @@ +_propDict)) { + if (is_a($this->_propDict["bodyLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["bodyLastModifiedDateTime"])) { + return $this->_propDict["bodyLastModifiedDateTime"]; + } else { + $this->_propDict["bodyLastModifiedDateTime"] = new \DateTime($this->_propDict["bodyLastModifiedDateTime"]); + return $this->_propDict["bodyLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the bodyLastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The bodyLastModifiedDateTime + * + * @return BaseTask + */ + public function setBodyLastModifiedDateTime($val) + { + $this->_propDict["bodyLastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The date when the task was finished. + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date when the task was finished. + * + * @param \DateTime $val The completedDateTime + * + * @return BaseTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The createdDateTime + * + * @return BaseTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the task. + * + * @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 + * The name of the task. + * + * @param string $val The displayName + * + * @return BaseTask + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @param DateTimeTimeZone $val The dueDateTime + * + * @return BaseTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance of the task. Possible values are: low, normal, high. The possible values are: low, normal, high. + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance of the task. Possible values are: low, normal, high. The possible values are: low, normal, high. + * + * @param Importance $val The importance + * + * @return BaseTask + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return BaseTask + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the recurrence + * The recurrence pattern for the task. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * The recurrence pattern for the task. + * + * @param PatternedRecurrence $val The recurrence + * + * @return BaseTask + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date in the specified time zone when the task is to begin. + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date in the specified time zone when the task is to begin. + * + * @param DateTimeTimeZone $val The startDateTime + * + * @return BaseTask + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed,unknownFutureValue. + * + * @return TaskStatus_v2|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TaskStatus_v2") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new TaskStatus_v2($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed,unknownFutureValue. + * + * @param TaskStatus_v2 $val The status + * + * @return BaseTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the textBody + * The task body in text format that typically contains information about the task. + * + * @return string|null The textBody + */ + public function getTextBody() + { + if (array_key_exists("textBody", $this->_propDict)) { + return $this->_propDict["textBody"]; + } else { + return null; + } + } + + /** + * Sets the textBody + * The task body in text format that typically contains information about the task. + * + * @param string $val The textBody + * + * @return BaseTask + */ + public function setTextBody($val) + { + $this->_propDict["textBody"] = $val; + return $this; + } + + /** + * Gets the viewpoint + * Properties that are personal to a user such as reminderDateTime and categories. + * + * @return TaskViewpoint|null The viewpoint + */ + public function getViewpoint() + { + if (array_key_exists("viewpoint", $this->_propDict)) { + if (is_a($this->_propDict["viewpoint"], "\Beta\Microsoft\Graph\Model\TaskViewpoint") || is_null($this->_propDict["viewpoint"])) { + return $this->_propDict["viewpoint"]; + } else { + $this->_propDict["viewpoint"] = new TaskViewpoint($this->_propDict["viewpoint"]); + return $this->_propDict["viewpoint"]; + } + } + return null; + } + + /** + * Sets the viewpoint + * Properties that are personal to a user such as reminderDateTime and categories. + * + * @param TaskViewpoint $val The viewpoint + * + * @return BaseTask + */ + public function setViewpoint($val) + { + $this->_propDict["viewpoint"] = $val; + return $this; + } + + + /** + * Gets the checklistItems + * A collection of checklistItems linked to a task. + * + * @return array|null The checklistItems + */ + public function getChecklistItems() + { + if (array_key_exists("checklistItems", $this->_propDict)) { + return $this->_propDict["checklistItems"]; + } else { + return null; + } + } + + /** + * Sets the checklistItems + * A collection of checklistItems linked to a task. + * + * @param ChecklistItem[] $val The checklistItems + * + * @return BaseTask + */ + public function setChecklistItems($val) + { + $this->_propDict["checklistItems"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the task . + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the task . + * + * @param Extension[] $val The extensions + * + * @return BaseTask + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the linkedResources + * A collection of resources linked to the task. + * + * @return array|null The linkedResources + */ + public function getLinkedResources() + { + if (array_key_exists("linkedResources", $this->_propDict)) { + return $this->_propDict["linkedResources"]; + } else { + return null; + } + } + + /** + * Sets the linkedResources + * A collection of resources linked to the task. + * + * @param LinkedResource_v2[] $val The linkedResources + * + * @return BaseTask + */ + public function setLinkedResources($val) + { + $this->_propDict["linkedResources"] = $val; + return $this; + } + + /** + * Gets the parentList + * The list which contains the task. + * + * @return BaseTaskList|null The parentList + */ + public function getParentList() + { + if (array_key_exists("parentList", $this->_propDict)) { + if (is_a($this->_propDict["parentList"], "\Beta\Microsoft\Graph\Model\BaseTaskList") || is_null($this->_propDict["parentList"])) { + return $this->_propDict["parentList"]; + } else { + $this->_propDict["parentList"] = new BaseTaskList($this->_propDict["parentList"]); + return $this->_propDict["parentList"]; + } + } + return null; + } + + /** + * Sets the parentList + * The list which contains the task. + * + * @param BaseTaskList $val The parentList + * + * @return BaseTask + */ + public function setParentList($val) + { + $this->_propDict["parentList"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseTaskList.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseTaskList.php new file mode 100644 index 0000000..d61a447 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseTaskList.php @@ -0,0 +1,116 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the task list. + * + * @param string $val The displayName + * + * @return BaseTaskList + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the task list. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the task list. Nullable. + * + * @param Extension[] $val The extensions + * + * @return BaseTaskList + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the tasks + * The tasks in this task list. Read-only. Nullable. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * The tasks in this task list. Read-only. Nullable. + * + * @param BaseTask[] $val The tasks + * + * @return BaseTaskList + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BasicAuthentication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BasicAuthentication.php new file mode 100644 index 0000000..601f310 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BasicAuthentication.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.basicAuthentication"); + } + + /** + * Gets the password + * The password. It is not returned in the responses. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * The password. It is not returned in the responses. + * + * @param string $val The value of the password + * + * @return BasicAuthentication + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } + /** + * Gets the username + * The username. + * + * @return string|null The username + */ + public function getUsername() + { + if (array_key_exists("username", $this->_propDict)) { + return $this->_propDict["username"]; + } else { + return null; + } + } + + /** + * Sets the username + * The username. + * + * @param string $val The value of the username + * + * @return BasicAuthentication + */ + public function setUsername($val) + { + $this->_propDict["username"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryOperator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryOperator.php new file mode 100644 index 0000000..9671c97 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryOperator.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\BitLockerEncryptionMethod") || is_null($this->_propDict["encryptionMethod"])) { + return $this->_propDict["encryptionMethod"]; + } else { + $this->_propDict["encryptionMethod"] = new BitLockerEncryptionMethod($this->_propDict["encryptionMethod"]); + return $this->_propDict["encryptionMethod"]; + } + } + return null; + } + + /** + * Sets the encryptionMethod + * Select the encryption method for fixed drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + * + * @param BitLockerEncryptionMethod $val The value to assign to the encryptionMethod + * + * @return BitLockerFixedDrivePolicy The BitLockerFixedDrivePolicy + */ + public function setEncryptionMethod($val) + { + $this->_propDict["encryptionMethod"] = $val; + return $this; + } + + /** + * Gets the recoveryOptions + * This policy setting allows you to control how BitLocker-protected fixed data drives are recovered in the absence of the required credentials. This policy setting is applied when you turn on BitLocker. + * + * @return BitLockerRecoveryOptions|null The recoveryOptions + */ + public function getRecoveryOptions() + { + if (array_key_exists("recoveryOptions", $this->_propDict)) { + if (is_a($this->_propDict["recoveryOptions"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryOptions") || is_null($this->_propDict["recoveryOptions"])) { + return $this->_propDict["recoveryOptions"]; + } else { + $this->_propDict["recoveryOptions"] = new BitLockerRecoveryOptions($this->_propDict["recoveryOptions"]); + return $this->_propDict["recoveryOptions"]; + } + } + return null; + } + + /** + * Sets the recoveryOptions + * This policy setting allows you to control how BitLocker-protected fixed data drives are recovered in the absence of the required credentials. This policy setting is applied when you turn on BitLocker. + * + * @param BitLockerRecoveryOptions $val The value to assign to the recoveryOptions + * + * @return BitLockerFixedDrivePolicy The BitLockerFixedDrivePolicy + */ + public function setRecoveryOptions($val) + { + $this->_propDict["recoveryOptions"] = $val; + return $this; + } + /** + * Gets the requireEncryptionForWriteAccess + * This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer. + * + * @return bool|null The requireEncryptionForWriteAccess + */ + public function getRequireEncryptionForWriteAccess() + { + if (array_key_exists("requireEncryptionForWriteAccess", $this->_propDict)) { + return $this->_propDict["requireEncryptionForWriteAccess"]; + } else { + return null; + } + } + + /** + * Sets the requireEncryptionForWriteAccess + * This policy setting determines whether BitLocker protection is required for fixed data drives to be writable on a computer. + * + * @param bool $val The value of the requireEncryptionForWriteAccess + * + * @return BitLockerFixedDrivePolicy + */ + public function setRequireEncryptionForWriteAccess($val) + { + $this->_propDict["requireEncryptionForWriteAccess"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryInformationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryInformationType.php new file mode 100644 index 0000000..e1d7530 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryInformationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["blockDataRecoveryAgent"]; + } else { + return null; + } + } + + /** + * Sets the blockDataRecoveryAgent + * Indicates whether to block certificate-based data recovery agent. + * + * @param bool $val The value of the blockDataRecoveryAgent + * + * @return BitLockerRecoveryOptions + */ + public function setBlockDataRecoveryAgent($val) + { + $this->_propDict["blockDataRecoveryAgent"] = $val; + return $this; + } + /** + * Gets the enableBitLockerAfterRecoveryInformationToStore + * Indicates whether or not to enable BitLocker until recovery information is stored in AD DS. + * + * @return bool|null The enableBitLockerAfterRecoveryInformationToStore + */ + public function getEnableBitLockerAfterRecoveryInformationToStore() + { + if (array_key_exists("enableBitLockerAfterRecoveryInformationToStore", $this->_propDict)) { + return $this->_propDict["enableBitLockerAfterRecoveryInformationToStore"]; + } else { + return null; + } + } + + /** + * Sets the enableBitLockerAfterRecoveryInformationToStore + * Indicates whether or not to enable BitLocker until recovery information is stored in AD DS. + * + * @param bool $val The value of the enableBitLockerAfterRecoveryInformationToStore + * + * @return BitLockerRecoveryOptions + */ + public function setEnableBitLockerAfterRecoveryInformationToStore($val) + { + $this->_propDict["enableBitLockerAfterRecoveryInformationToStore"] = $val; + return $this; + } + /** + * Gets the enableRecoveryInformationSaveToStore + * Indicates whether or not to allow BitLocker recovery information to store in AD DS. + * + * @return bool|null The enableRecoveryInformationSaveToStore + */ + public function getEnableRecoveryInformationSaveToStore() + { + if (array_key_exists("enableRecoveryInformationSaveToStore", $this->_propDict)) { + return $this->_propDict["enableRecoveryInformationSaveToStore"]; + } else { + return null; + } + } + + /** + * Sets the enableRecoveryInformationSaveToStore + * Indicates whether or not to allow BitLocker recovery information to store in AD DS. + * + * @param bool $val The value of the enableRecoveryInformationSaveToStore + * + * @return BitLockerRecoveryOptions + */ + public function setEnableRecoveryInformationSaveToStore($val) + { + $this->_propDict["enableRecoveryInformationSaveToStore"] = $val; + return $this; + } + /** + * Gets the hideRecoveryOptions + * Indicates whether or not to allow showing recovery options in BitLocker Setup Wizard for fixed or system disk. + * + * @return bool|null The hideRecoveryOptions + */ + public function getHideRecoveryOptions() + { + if (array_key_exists("hideRecoveryOptions", $this->_propDict)) { + return $this->_propDict["hideRecoveryOptions"]; + } else { + return null; + } + } + + /** + * Sets the hideRecoveryOptions + * Indicates whether or not to allow showing recovery options in BitLocker Setup Wizard for fixed or system disk. + * + * @param bool $val The value of the hideRecoveryOptions + * + * @return BitLockerRecoveryOptions + */ + public function setHideRecoveryOptions($val) + { + $this->_propDict["hideRecoveryOptions"] = $val; + return $this; + } + + /** + * Gets the recoveryInformationToStore + * Configure what pieces of BitLocker recovery information are stored to AD DS. Possible values are: passwordAndKey, passwordOnly. + * + * @return BitLockerRecoveryInformationType|null The recoveryInformationToStore + */ + public function getRecoveryInformationToStore() + { + if (array_key_exists("recoveryInformationToStore", $this->_propDict)) { + if (is_a($this->_propDict["recoveryInformationToStore"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryInformationType") || is_null($this->_propDict["recoveryInformationToStore"])) { + return $this->_propDict["recoveryInformationToStore"]; + } else { + $this->_propDict["recoveryInformationToStore"] = new BitLockerRecoveryInformationType($this->_propDict["recoveryInformationToStore"]); + return $this->_propDict["recoveryInformationToStore"]; + } + } + return null; + } + + /** + * Sets the recoveryInformationToStore + * Configure what pieces of BitLocker recovery information are stored to AD DS. Possible values are: passwordAndKey, passwordOnly. + * + * @param BitLockerRecoveryInformationType $val The value to assign to the recoveryInformationToStore + * + * @return BitLockerRecoveryOptions The BitLockerRecoveryOptions + */ + public function setRecoveryInformationToStore($val) + { + $this->_propDict["recoveryInformationToStore"] = $val; + return $this; + } + + /** + * Gets the recoveryKeyUsage + * Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The recoveryKeyUsage + */ + public function getRecoveryKeyUsage() + { + if (array_key_exists("recoveryKeyUsage", $this->_propDict)) { + if (is_a($this->_propDict["recoveryKeyUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["recoveryKeyUsage"])) { + return $this->_propDict["recoveryKeyUsage"]; + } else { + $this->_propDict["recoveryKeyUsage"] = new ConfigurationUsage($this->_propDict["recoveryKeyUsage"]); + return $this->_propDict["recoveryKeyUsage"]; + } + } + return null; + } + + /** + * Sets the recoveryKeyUsage + * Indicates whether users are allowed or required to generate a 256-bit recovery key for fixed or system disk. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The value to assign to the recoveryKeyUsage + * + * @return BitLockerRecoveryOptions The BitLockerRecoveryOptions + */ + public function setRecoveryKeyUsage($val) + { + $this->_propDict["recoveryKeyUsage"] = $val; + return $this; + } + + /** + * Gets the recoveryPasswordUsage + * Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The recoveryPasswordUsage + */ + public function getRecoveryPasswordUsage() + { + if (array_key_exists("recoveryPasswordUsage", $this->_propDict)) { + if (is_a($this->_propDict["recoveryPasswordUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["recoveryPasswordUsage"])) { + return $this->_propDict["recoveryPasswordUsage"]; + } else { + $this->_propDict["recoveryPasswordUsage"] = new ConfigurationUsage($this->_propDict["recoveryPasswordUsage"]); + return $this->_propDict["recoveryPasswordUsage"]; + } + } + return null; + } + + /** + * Sets the recoveryPasswordUsage + * Indicates whether users are allowed or required to generate a 48-digit recovery password for fixed or system disk. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The value to assign to the recoveryPasswordUsage + * + * @return BitLockerRecoveryOptions The BitLockerRecoveryOptions + */ + public function setRecoveryPasswordUsage($val) + { + $this->_propDict["recoveryPasswordUsage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryPasswordRotationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryPasswordRotationType.php new file mode 100644 index 0000000..2bc442e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryPasswordRotationType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["blockCrossOrganizationWriteAccess"]; + } else { + return null; + } + } + + /** + * Sets the blockCrossOrganizationWriteAccess + * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer. + * + * @param bool $val The value of the blockCrossOrganizationWriteAccess + * + * @return BitLockerRemovableDrivePolicy + */ + public function setBlockCrossOrganizationWriteAccess($val) + { + $this->_propDict["blockCrossOrganizationWriteAccess"] = $val; + return $this; + } + + /** + * Gets the encryptionMethod + * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + * + * @return BitLockerEncryptionMethod|null The encryptionMethod + */ + public function getEncryptionMethod() + { + if (array_key_exists("encryptionMethod", $this->_propDict)) { + if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\BitLockerEncryptionMethod") || is_null($this->_propDict["encryptionMethod"])) { + return $this->_propDict["encryptionMethod"]; + } else { + $this->_propDict["encryptionMethod"] = new BitLockerEncryptionMethod($this->_propDict["encryptionMethod"]); + return $this->_propDict["encryptionMethod"]; + } + } + return null; + } + + /** + * Sets the encryptionMethod + * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + * + * @param BitLockerEncryptionMethod $val The value to assign to the encryptionMethod + * + * @return BitLockerRemovableDrivePolicy The BitLockerRemovableDrivePolicy + */ + public function setEncryptionMethod($val) + { + $this->_propDict["encryptionMethod"] = $val; + return $this; + } + /** + * Gets the requireEncryptionForWriteAccess + * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect. + * + * @return bool|null The requireEncryptionForWriteAccess + */ + public function getRequireEncryptionForWriteAccess() + { + if (array_key_exists("requireEncryptionForWriteAccess", $this->_propDict)) { + return $this->_propDict["requireEncryptionForWriteAccess"]; + } else { + return null; + } + } + + /** + * Sets the requireEncryptionForWriteAccess + * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect. + * + * @param bool $val The value of the requireEncryptionForWriteAccess + * + * @return BitLockerRemovableDrivePolicy + */ + public function setRequireEncryptionForWriteAccess($val) + { + $this->_propDict["requireEncryptionForWriteAccess"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerSystemDrivePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerSystemDrivePolicy.php new file mode 100644 index 0000000..8d822bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerSystemDrivePolicy.php @@ -0,0 +1,392 @@ +_propDict)) { + if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\BitLockerEncryptionMethod") || is_null($this->_propDict["encryptionMethod"])) { + return $this->_propDict["encryptionMethod"]; + } else { + $this->_propDict["encryptionMethod"] = new BitLockerEncryptionMethod($this->_propDict["encryptionMethod"]); + return $this->_propDict["encryptionMethod"]; + } + } + return null; + } + + /** + * Sets the encryptionMethod + * Select the encryption method for operating system drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + * + * @param BitLockerEncryptionMethod $val The value to assign to the encryptionMethod + * + * @return BitLockerSystemDrivePolicy The BitLockerSystemDrivePolicy + */ + public function setEncryptionMethod($val) + { + $this->_propDict["encryptionMethod"] = $val; + return $this; + } + /** + * Gets the minimumPinLength + * Indicates the minimum length of startup pin. Valid values 4 to 20 + * + * @return int|null The minimumPinLength + */ + public function getMinimumPinLength() + { + if (array_key_exists("minimumPinLength", $this->_propDict)) { + return $this->_propDict["minimumPinLength"]; + } else { + return null; + } + } + + /** + * Sets the minimumPinLength + * Indicates the minimum length of startup pin. Valid values 4 to 20 + * + * @param int $val The value of the minimumPinLength + * + * @return BitLockerSystemDrivePolicy + */ + public function setMinimumPinLength($val) + { + $this->_propDict["minimumPinLength"] = $val; + return $this; + } + /** + * Gets the prebootRecoveryEnableMessageAndUrl + * Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect. + * + * @return bool|null The prebootRecoveryEnableMessageAndUrl + */ + public function getPrebootRecoveryEnableMessageAndUrl() + { + if (array_key_exists("prebootRecoveryEnableMessageAndUrl", $this->_propDict)) { + return $this->_propDict["prebootRecoveryEnableMessageAndUrl"]; + } else { + return null; + } + } + + /** + * Sets the prebootRecoveryEnableMessageAndUrl + * Enable pre-boot recovery message and Url. If requireStartupAuthentication is false, this value does not affect. + * + * @param bool $val The value of the prebootRecoveryEnableMessageAndUrl + * + * @return BitLockerSystemDrivePolicy + */ + public function setPrebootRecoveryEnableMessageAndUrl($val) + { + $this->_propDict["prebootRecoveryEnableMessageAndUrl"] = $val; + return $this; + } + /** + * Gets the prebootRecoveryMessage + * Defines a custom recovery message. + * + * @return string|null The prebootRecoveryMessage + */ + public function getPrebootRecoveryMessage() + { + if (array_key_exists("prebootRecoveryMessage", $this->_propDict)) { + return $this->_propDict["prebootRecoveryMessage"]; + } else { + return null; + } + } + + /** + * Sets the prebootRecoveryMessage + * Defines a custom recovery message. + * + * @param string $val The value of the prebootRecoveryMessage + * + * @return BitLockerSystemDrivePolicy + */ + public function setPrebootRecoveryMessage($val) + { + $this->_propDict["prebootRecoveryMessage"] = $val; + return $this; + } + /** + * Gets the prebootRecoveryUrl + * Defines a custom recovery URL. + * + * @return string|null The prebootRecoveryUrl + */ + public function getPrebootRecoveryUrl() + { + if (array_key_exists("prebootRecoveryUrl", $this->_propDict)) { + return $this->_propDict["prebootRecoveryUrl"]; + } else { + return null; + } + } + + /** + * Sets the prebootRecoveryUrl + * Defines a custom recovery URL. + * + * @param string $val The value of the prebootRecoveryUrl + * + * @return BitLockerSystemDrivePolicy + */ + public function setPrebootRecoveryUrl($val) + { + $this->_propDict["prebootRecoveryUrl"] = $val; + return $this; + } + + /** + * Gets the recoveryOptions + * Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information. This policy setting is applied when you turn on BitLocker. + * + * @return BitLockerRecoveryOptions|null The recoveryOptions + */ + public function getRecoveryOptions() + { + if (array_key_exists("recoveryOptions", $this->_propDict)) { + if (is_a($this->_propDict["recoveryOptions"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryOptions") || is_null($this->_propDict["recoveryOptions"])) { + return $this->_propDict["recoveryOptions"]; + } else { + $this->_propDict["recoveryOptions"] = new BitLockerRecoveryOptions($this->_propDict["recoveryOptions"]); + return $this->_propDict["recoveryOptions"]; + } + } + return null; + } + + /** + * Sets the recoveryOptions + * Allows to recover BitLocker encrypted operating system drives in the absence of the required startup key information. This policy setting is applied when you turn on BitLocker. + * + * @param BitLockerRecoveryOptions $val The value to assign to the recoveryOptions + * + * @return BitLockerSystemDrivePolicy The BitLockerSystemDrivePolicy + */ + public function setRecoveryOptions($val) + { + $this->_propDict["recoveryOptions"] = $val; + return $this; + } + /** + * Gets the startupAuthenticationBlockWithoutTpmChip + * Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive). + * + * @return bool|null The startupAuthenticationBlockWithoutTpmChip + */ + public function getStartupAuthenticationBlockWithoutTpmChip() + { + if (array_key_exists("startupAuthenticationBlockWithoutTpmChip", $this->_propDict)) { + return $this->_propDict["startupAuthenticationBlockWithoutTpmChip"]; + } else { + return null; + } + } + + /** + * Sets the startupAuthenticationBlockWithoutTpmChip + * Indicates whether to allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive). + * + * @param bool $val The value of the startupAuthenticationBlockWithoutTpmChip + * + * @return BitLockerSystemDrivePolicy + */ + public function setStartupAuthenticationBlockWithoutTpmChip($val) + { + $this->_propDict["startupAuthenticationBlockWithoutTpmChip"] = $val; + return $this; + } + /** + * Gets the startupAuthenticationRequired + * Require additional authentication at startup. + * + * @return bool|null The startupAuthenticationRequired + */ + public function getStartupAuthenticationRequired() + { + if (array_key_exists("startupAuthenticationRequired", $this->_propDict)) { + return $this->_propDict["startupAuthenticationRequired"]; + } else { + return null; + } + } + + /** + * Sets the startupAuthenticationRequired + * Require additional authentication at startup. + * + * @param bool $val The value of the startupAuthenticationRequired + * + * @return BitLockerSystemDrivePolicy + */ + public function setStartupAuthenticationRequired($val) + { + $this->_propDict["startupAuthenticationRequired"] = $val; + return $this; + } + + /** + * Gets the startupAuthenticationTpmKeyUsage + * Indicates if TPM startup key is allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The startupAuthenticationTpmKeyUsage + */ + public function getStartupAuthenticationTpmKeyUsage() + { + if (array_key_exists("startupAuthenticationTpmKeyUsage", $this->_propDict)) { + if (is_a($this->_propDict["startupAuthenticationTpmKeyUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["startupAuthenticationTpmKeyUsage"])) { + return $this->_propDict["startupAuthenticationTpmKeyUsage"]; + } else { + $this->_propDict["startupAuthenticationTpmKeyUsage"] = new ConfigurationUsage($this->_propDict["startupAuthenticationTpmKeyUsage"]); + return $this->_propDict["startupAuthenticationTpmKeyUsage"]; + } + } + return null; + } + + /** + * Sets the startupAuthenticationTpmKeyUsage + * Indicates if TPM startup key is allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The value to assign to the startupAuthenticationTpmKeyUsage + * + * @return BitLockerSystemDrivePolicy The BitLockerSystemDrivePolicy + */ + public function setStartupAuthenticationTpmKeyUsage($val) + { + $this->_propDict["startupAuthenticationTpmKeyUsage"] = $val; + return $this; + } + + /** + * Gets the startupAuthenticationTpmPinAndKeyUsage + * Indicates if TPM startup pin key and key are allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The startupAuthenticationTpmPinAndKeyUsage + */ + public function getStartupAuthenticationTpmPinAndKeyUsage() + { + if (array_key_exists("startupAuthenticationTpmPinAndKeyUsage", $this->_propDict)) { + if (is_a($this->_propDict["startupAuthenticationTpmPinAndKeyUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["startupAuthenticationTpmPinAndKeyUsage"])) { + return $this->_propDict["startupAuthenticationTpmPinAndKeyUsage"]; + } else { + $this->_propDict["startupAuthenticationTpmPinAndKeyUsage"] = new ConfigurationUsage($this->_propDict["startupAuthenticationTpmPinAndKeyUsage"]); + return $this->_propDict["startupAuthenticationTpmPinAndKeyUsage"]; + } + } + return null; + } + + /** + * Sets the startupAuthenticationTpmPinAndKeyUsage + * Indicates if TPM startup pin key and key are allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The value to assign to the startupAuthenticationTpmPinAndKeyUsage + * + * @return BitLockerSystemDrivePolicy The BitLockerSystemDrivePolicy + */ + public function setStartupAuthenticationTpmPinAndKeyUsage($val) + { + $this->_propDict["startupAuthenticationTpmPinAndKeyUsage"] = $val; + return $this; + } + + /** + * Gets the startupAuthenticationTpmPinUsage + * Indicates if TPM startup pin is allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The startupAuthenticationTpmPinUsage + */ + public function getStartupAuthenticationTpmPinUsage() + { + if (array_key_exists("startupAuthenticationTpmPinUsage", $this->_propDict)) { + if (is_a($this->_propDict["startupAuthenticationTpmPinUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["startupAuthenticationTpmPinUsage"])) { + return $this->_propDict["startupAuthenticationTpmPinUsage"]; + } else { + $this->_propDict["startupAuthenticationTpmPinUsage"] = new ConfigurationUsage($this->_propDict["startupAuthenticationTpmPinUsage"]); + return $this->_propDict["startupAuthenticationTpmPinUsage"]; + } + } + return null; + } + + /** + * Sets the startupAuthenticationTpmPinUsage + * Indicates if TPM startup pin is allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The value to assign to the startupAuthenticationTpmPinUsage + * + * @return BitLockerSystemDrivePolicy The BitLockerSystemDrivePolicy + */ + public function setStartupAuthenticationTpmPinUsage($val) + { + $this->_propDict["startupAuthenticationTpmPinUsage"] = $val; + return $this; + } + + /** + * Gets the startupAuthenticationTpmUsage + * Indicates if TPM startup is allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The startupAuthenticationTpmUsage + */ + public function getStartupAuthenticationTpmUsage() + { + if (array_key_exists("startupAuthenticationTpmUsage", $this->_propDict)) { + if (is_a($this->_propDict["startupAuthenticationTpmUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["startupAuthenticationTpmUsage"])) { + return $this->_propDict["startupAuthenticationTpmUsage"]; + } else { + $this->_propDict["startupAuthenticationTpmUsage"] = new ConfigurationUsage($this->_propDict["startupAuthenticationTpmUsage"]); + return $this->_propDict["startupAuthenticationTpmUsage"]; + } + } + return null; + } + + /** + * Sets the startupAuthenticationTpmUsage + * Indicates if TPM startup is allowed/required/disallowed. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The value to assign to the startupAuthenticationTpmUsage + * + * @return BitLockerSystemDrivePolicy The BitLockerSystemDrivePolicy + */ + public function setStartupAuthenticationTpmUsage($val) + { + $this->_propDict["startupAuthenticationTpmUsage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bitlocker.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bitlocker.php new file mode 100644 index 0000000..1938877 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bitlocker.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["recoveryKeys"]; + } else { + return null; + } + } + + /** + * Sets the recoveryKeys + * The recovery keys associated with the bitlocker entity. + * + * @param BitlockerRecoveryKey[] $val The recoveryKeys + * + * @return Bitlocker + */ + public function setRecoveryKeys($val) + { + $this->_propDict["recoveryKeys"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php new file mode 100644 index 0000000..3f0484c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the key was originally backed up to Azure Active Directory. + * + * @param \DateTime $val The createdDateTime + * + * @return BitlockerRecoveryKey + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceId + * ID of the device the BitLocker key is originally backed up from. + * + * @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 + * ID of the device the BitLocker key is originally backed up from. + * + * @param string $val The deviceId + * + * @return BitlockerRecoveryKey + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the key + * The BitLocker recovery key. + * + * @return string|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * The BitLocker recovery key. + * + * @param string $val The key + * + * @return BitlockerRecoveryKey + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + + /** + * Gets the volumeType + * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * + * @return VolumeType|null The volumeType + */ + public function getVolumeType() + { + if (array_key_exists("volumeType", $this->_propDict)) { + if (is_a($this->_propDict["volumeType"], "\Beta\Microsoft\Graph\Model\VolumeType") || is_null($this->_propDict["volumeType"])) { + return $this->_propDict["volumeType"]; + } else { + $this->_propDict["volumeType"] = new VolumeType($this->_propDict["volumeType"]); + return $this->_propDict["volumeType"]; + } + } + return null; + } + + /** + * Sets the volumeType + * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * + * @param VolumeType $val The volumeType + * + * @return BitlockerRecoveryKey + */ + public function setVolumeType($val) + { + $this->_propDict["volumeType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BlockAccessAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BlockAccessAction.php new file mode 100644 index 0000000..8e9472e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BlockAccessAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * Additional information that is sent to the customer when an appointment is confirmed. + * + * @param string $val The additionalInformation + * + * @return BookingAppointment + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + /** + * Gets the customerEmailAddress + * The SMTP address of the bookingCustomer who is booking the appointment. + * + * @return string|null The customerEmailAddress + */ + public function getCustomerEmailAddress() + { + if (array_key_exists("customerEmailAddress", $this->_propDict)) { + return $this->_propDict["customerEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the customerEmailAddress + * The SMTP address of the bookingCustomer who is booking the appointment. + * + * @param string $val The customerEmailAddress + * + * @return BookingAppointment + */ + public function setCustomerEmailAddress($val) + { + $this->_propDict["customerEmailAddress"] = $val; + return $this; + } + + /** + * Gets the customerId + * If CustomerId is not specified when an appointment is created then a new customer is created based on the appointment customer information. Once set, the customerId should be considered immutable. + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * If CustomerId is not specified when an appointment is created then a new customer is created based on the appointment customer information. Once set, the customerId should be considered immutable. + * + * @param string $val The customerId + * + * @return BookingAppointment + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customerLocation + * Represents location information for the bookingCustomer who is booking the appointment. + * + * @return Location|null The customerLocation + */ + public function getCustomerLocation() + { + if (array_key_exists("customerLocation", $this->_propDict)) { + if (is_a($this->_propDict["customerLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["customerLocation"])) { + return $this->_propDict["customerLocation"]; + } else { + $this->_propDict["customerLocation"] = new Location($this->_propDict["customerLocation"]); + return $this->_propDict["customerLocation"]; + } + } + return null; + } + + /** + * Sets the customerLocation + * Represents location information for the bookingCustomer who is booking the appointment. + * + * @param Location $val The customerLocation + * + * @return BookingAppointment + */ + public function setCustomerLocation($val) + { + $this->_propDict["customerLocation"] = $val; + return $this; + } + + /** + * Gets the customerName + * The customer's name. + * + * @return string|null The customerName + */ + public function getCustomerName() + { + if (array_key_exists("customerName", $this->_propDict)) { + return $this->_propDict["customerName"]; + } else { + return null; + } + } + + /** + * Sets the customerName + * The customer's name. + * + * @param string $val The customerName + * + * @return BookingAppointment + */ + public function setCustomerName($val) + { + $this->_propDict["customerName"] = $val; + return $this; + } + + /** + * Gets the customerNotes + * The value of this property is only available when reading an individual booking appointment by id. Its value can only be set when creating a new appointment with a new customer, ie, without specifying a CustomerId. After that, the property is computed from the customer represented by CustomerId. + * + * @return string|null The customerNotes + */ + public function getCustomerNotes() + { + if (array_key_exists("customerNotes", $this->_propDict)) { + return $this->_propDict["customerNotes"]; + } else { + return null; + } + } + + /** + * Sets the customerNotes + * The value of this property is only available when reading an individual booking appointment by id. Its value can only be set when creating a new appointment with a new customer, ie, without specifying a CustomerId. After that, the property is computed from the customer represented by CustomerId. + * + * @param string $val The customerNotes + * + * @return BookingAppointment + */ + public function setCustomerNotes($val) + { + $this->_propDict["customerNotes"] = $val; + return $this; + } + + /** + * Gets the customerPhone + * The customer's phone number. + * + * @return string|null The customerPhone + */ + public function getCustomerPhone() + { + if (array_key_exists("customerPhone", $this->_propDict)) { + return $this->_propDict["customerPhone"]; + } else { + return null; + } + } + + /** + * Sets the customerPhone + * The customer's phone number. + * + * @param string $val The customerPhone + * + * @return BookingAppointment + */ + public function setCustomerPhone($val) + { + $this->_propDict["customerPhone"] = $val; + return $this; + } + + + /** + * Gets the customers + * It lists down the customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. + * + * @return array|null The customers + */ + public function getCustomers() + { + if (array_key_exists("customers", $this->_propDict)) { + return $this->_propDict["customers"]; + } else { + return null; + } + } + + /** + * Sets the customers + * It lists down the customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. + * + * @param BookingCustomerInformationBase[] $val The customers + * + * @return BookingAppointment + */ + public function setCustomers($val) + { + $this->_propDict["customers"] = $val; + return $this; + } + + /** + * Gets the customerTimeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @return string|null The customerTimeZone + */ + public function getCustomerTimeZone() + { + if (array_key_exists("customerTimeZone", $this->_propDict)) { + return $this->_propDict["customerTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the customerTimeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @param string $val The customerTimeZone + * + * @return BookingAppointment + */ + public function setCustomerTimeZone($val) + { + $this->_propDict["customerTimeZone"] = $val; + return $this; + } + + /** + * Gets the duration + * The length of the appointment, denoted in ISO8601 format. + * + * @return \DateInterval|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * The length of the appointment, denoted in ISO8601 format. + * + * @param \DateInterval $val The duration + * + * @return BookingAppointment + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the end + * The date, time, and time zone that the appointment ends. + * + * @return DateTimeTimeZone|null The end + */ + public function getEnd() + { + if (array_key_exists("end", $this->_propDict)) { + if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that the appointment ends. + * + * @param DateTimeTimeZone $val The end + * + * @return BookingAppointment + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the filledAttendeesCount + * The current number of customers in the appointment. + * + * @return int|null The filledAttendeesCount + */ + public function getFilledAttendeesCount() + { + if (array_key_exists("filledAttendeesCount", $this->_propDict)) { + return $this->_propDict["filledAttendeesCount"]; + } else { + return null; + } + } + + /** + * Sets the filledAttendeesCount + * The current number of customers in the appointment. + * + * @param int $val The filledAttendeesCount + * + * @return BookingAppointment + */ + public function setFilledAttendeesCount($val) + { + $this->_propDict["filledAttendeesCount"] = intval($val); + return $this; + } + + /** + * Gets the invoiceAmount + * The billed amount on the invoice. + * + * @return float|null The invoiceAmount + */ + public function getInvoiceAmount() + { + if (array_key_exists("invoiceAmount", $this->_propDict)) { + return $this->_propDict["invoiceAmount"]; + } else { + return null; + } + } + + /** + * Sets the invoiceAmount + * The billed amount on the invoice. + * + * @param float $val The invoiceAmount + * + * @return BookingAppointment + */ + public function setInvoiceAmount($val) + { + $this->_propDict["invoiceAmount"] = floatval($val); + return $this; + } + + /** + * Gets the invoiceDate + * The date, time, and time zone of the invoice for this appointment. + * + * @return DateTimeTimeZone|null The invoiceDate + */ + public function getInvoiceDate() + { + if (array_key_exists("invoiceDate", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDate"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["invoiceDate"])) { + return $this->_propDict["invoiceDate"]; + } else { + $this->_propDict["invoiceDate"] = new DateTimeTimeZone($this->_propDict["invoiceDate"]); + return $this->_propDict["invoiceDate"]; + } + } + return null; + } + + /** + * Sets the invoiceDate + * The date, time, and time zone of the invoice for this appointment. + * + * @param DateTimeTimeZone $val The invoiceDate + * + * @return BookingAppointment + */ + public function setInvoiceDate($val) + { + $this->_propDict["invoiceDate"] = $val; + return $this; + } + + /** + * Gets the invoiceId + * The ID of the invoice. + * + * @return string|null The invoiceId + */ + public function getInvoiceId() + { + if (array_key_exists("invoiceId", $this->_propDict)) { + return $this->_propDict["invoiceId"]; + } else { + return null; + } + } + + /** + * Sets the invoiceId + * The ID of the invoice. + * + * @param string $val The invoiceId + * + * @return BookingAppointment + */ + public function setInvoiceId($val) + { + $this->_propDict["invoiceId"] = $val; + return $this; + } + + /** + * Gets the invoiceStatus + * The status of the invoice. Possible values are: draft, reviewing, open, canceled, paid, corrective. + * + * @return BookingInvoiceStatus|null The invoiceStatus + */ + public function getInvoiceStatus() + { + if (array_key_exists("invoiceStatus", $this->_propDict)) { + if (is_a($this->_propDict["invoiceStatus"], "\Beta\Microsoft\Graph\Model\BookingInvoiceStatus") || is_null($this->_propDict["invoiceStatus"])) { + return $this->_propDict["invoiceStatus"]; + } else { + $this->_propDict["invoiceStatus"] = new BookingInvoiceStatus($this->_propDict["invoiceStatus"]); + return $this->_propDict["invoiceStatus"]; + } + } + return null; + } + + /** + * Sets the invoiceStatus + * The status of the invoice. Possible values are: draft, reviewing, open, canceled, paid, corrective. + * + * @param BookingInvoiceStatus $val The invoiceStatus + * + * @return BookingAppointment + */ + public function setInvoiceStatus($val) + { + $this->_propDict["invoiceStatus"] = $val; + return $this; + } + + /** + * Gets the invoiceUrl + * The URL of the invoice in Microsoft Bookings. + * + * @return string|null The invoiceUrl + */ + public function getInvoiceUrl() + { + if (array_key_exists("invoiceUrl", $this->_propDict)) { + return $this->_propDict["invoiceUrl"]; + } else { + return null; + } + } + + /** + * Sets the invoiceUrl + * The URL of the invoice in Microsoft Bookings. + * + * @param string $val The invoiceUrl + * + * @return BookingAppointment + */ + public function setInvoiceUrl($val) + { + $this->_propDict["invoiceUrl"] = $val; + return $this; + } + + /** + * Gets the isLocationOnline + * True indicates that the appointment will be held online. Default value is false. + * + * @return bool|null The isLocationOnline + */ + public function getIsLocationOnline() + { + if (array_key_exists("isLocationOnline", $this->_propDict)) { + return $this->_propDict["isLocationOnline"]; + } else { + return null; + } + } + + /** + * Sets the isLocationOnline + * True indicates that the appointment will be held online. Default value is false. + * + * @param bool $val The isLocationOnline + * + * @return BookingAppointment + */ + public function setIsLocationOnline($val) + { + $this->_propDict["isLocationOnline"] = boolval($val); + return $this; + } + + /** + * Gets the joinWebUrl + * The URL of the online meeting for the appointment. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * The URL of the online meeting for the appointment. + * + * @param string $val The joinWebUrl + * + * @return BookingAppointment + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the maximumAttendeesCount + * The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @return int|null The maximumAttendeesCount + */ + public function getMaximumAttendeesCount() + { + if (array_key_exists("maximumAttendeesCount", $this->_propDict)) { + return $this->_propDict["maximumAttendeesCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumAttendeesCount + * The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @param int $val The maximumAttendeesCount + * + * @return BookingAppointment + */ + public function setMaximumAttendeesCount($val) + { + $this->_propDict["maximumAttendeesCount"] = intval($val); + return $this; + } + + /** + * Gets the onlineMeetingUrl + * + * @return string|null The onlineMeetingUrl + */ + public function getOnlineMeetingUrl() + { + if (array_key_exists("onlineMeetingUrl", $this->_propDict)) { + return $this->_propDict["onlineMeetingUrl"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetingUrl + * + * @param string $val The onlineMeetingUrl + * + * @return BookingAppointment + */ + public function setOnlineMeetingUrl($val) + { + $this->_propDict["onlineMeetingUrl"] = $val; + return $this; + } + + /** + * Gets the optOutOfCustomerEmail + * True indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this appointment. + * + * @return bool|null The optOutOfCustomerEmail + */ + public function getOptOutOfCustomerEmail() + { + if (array_key_exists("optOutOfCustomerEmail", $this->_propDict)) { + return $this->_propDict["optOutOfCustomerEmail"]; + } else { + return null; + } + } + + /** + * Sets the optOutOfCustomerEmail + * True indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this appointment. + * + * @param bool $val The optOutOfCustomerEmail + * + * @return BookingAppointment + */ + public function setOptOutOfCustomerEmail($val) + { + $this->_propDict["optOutOfCustomerEmail"] = boolval($val); + return $this; + } + + /** + * Gets the postBuffer + * The amount of time to reserve after the appointment ends, for cleaning up, as an example. The value is expressed in ISO8601 format. + * + * @return \DateInterval|null The postBuffer + */ + public function getPostBuffer() + { + if (array_key_exists("postBuffer", $this->_propDict)) { + if (is_a($this->_propDict["postBuffer"], "\DateInterval") || is_null($this->_propDict["postBuffer"])) { + return $this->_propDict["postBuffer"]; + } else { + $this->_propDict["postBuffer"] = new \DateInterval($this->_propDict["postBuffer"]); + return $this->_propDict["postBuffer"]; + } + } + return null; + } + + /** + * Sets the postBuffer + * The amount of time to reserve after the appointment ends, for cleaning up, as an example. The value is expressed in ISO8601 format. + * + * @param \DateInterval $val The postBuffer + * + * @return BookingAppointment + */ + public function setPostBuffer($val) + { + $this->_propDict["postBuffer"] = $val; + return $this; + } + + /** + * Gets the preBuffer + * The amount of time to reserve before the appointment begins, for preparation, as an example. The value is expressed in ISO8601 format. + * + * @return \DateInterval|null The preBuffer + */ + public function getPreBuffer() + { + if (array_key_exists("preBuffer", $this->_propDict)) { + if (is_a($this->_propDict["preBuffer"], "\DateInterval") || is_null($this->_propDict["preBuffer"])) { + return $this->_propDict["preBuffer"]; + } else { + $this->_propDict["preBuffer"] = new \DateInterval($this->_propDict["preBuffer"]); + return $this->_propDict["preBuffer"]; + } + } + return null; + } + + /** + * Sets the preBuffer + * The amount of time to reserve before the appointment begins, for preparation, as an example. The value is expressed in ISO8601 format. + * + * @param \DateInterval $val The preBuffer + * + * @return BookingAppointment + */ + public function setPreBuffer($val) + { + $this->_propDict["preBuffer"] = $val; + return $this; + } + + /** + * Gets the price + * The regular price for an appointment for the specified bookingService. + * + * @return float|null The price + */ + public function getPrice() + { + if (array_key_exists("price", $this->_propDict)) { + return $this->_propDict["price"]; + } else { + return null; + } + } + + /** + * Sets the price + * The regular price for an appointment for the specified bookingService. + * + * @param float $val The price + * + * @return BookingAppointment + */ + public function setPrice($val) + { + $this->_propDict["price"] = floatval($val); + return $this; + } + + /** + * Gets the priceType + * A setting to provide flexibility for the pricing structure of services. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @return BookingPriceType|null The priceType + */ + public function getPriceType() + { + if (array_key_exists("priceType", $this->_propDict)) { + if (is_a($this->_propDict["priceType"], "\Beta\Microsoft\Graph\Model\BookingPriceType") || is_null($this->_propDict["priceType"])) { + return $this->_propDict["priceType"]; + } else { + $this->_propDict["priceType"] = new BookingPriceType($this->_propDict["priceType"]); + return $this->_propDict["priceType"]; + } + } + return null; + } + + /** + * Sets the priceType + * A setting to provide flexibility for the pricing structure of services. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @param BookingPriceType $val The priceType + * + * @return BookingAppointment + */ + public function setPriceType($val) + { + $this->_propDict["priceType"] = $val; + return $this; + } + + + /** + * Gets the reminders + * The value of this property is only available when reading an individual booking appointment by id. + * + * @return array|null The reminders + */ + public function getReminders() + { + if (array_key_exists("reminders", $this->_propDict)) { + return $this->_propDict["reminders"]; + } else { + return null; + } + } + + /** + * Sets the reminders + * The value of this property is only available when reading an individual booking appointment by id. + * + * @param BookingReminder[] $val The reminders + * + * @return BookingAppointment + */ + public function setReminders($val) + { + $this->_propDict["reminders"] = $val; + return $this; + } + + /** + * Gets the selfServiceAppointmentId + * An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. + * + * @return string|null The selfServiceAppointmentId + */ + public function getSelfServiceAppointmentId() + { + if (array_key_exists("selfServiceAppointmentId", $this->_propDict)) { + return $this->_propDict["selfServiceAppointmentId"]; + } else { + return null; + } + } + + /** + * Sets the selfServiceAppointmentId + * An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. + * + * @param string $val The selfServiceAppointmentId + * + * @return BookingAppointment + */ + public function setSelfServiceAppointmentId($val) + { + $this->_propDict["selfServiceAppointmentId"] = $val; + return $this; + } + + /** + * Gets the serviceId + * The ID of the bookingService associated with this appointment. + * + * @return string|null The serviceId + */ + public function getServiceId() + { + if (array_key_exists("serviceId", $this->_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * The ID of the bookingService associated with this appointment. + * + * @param string $val The serviceId + * + * @return BookingAppointment + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + + /** + * Gets the serviceLocation + * The location where the service is delivered. + * + * @return Location|null The serviceLocation + */ + public function getServiceLocation() + { + if (array_key_exists("serviceLocation", $this->_propDict)) { + if (is_a($this->_propDict["serviceLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["serviceLocation"])) { + return $this->_propDict["serviceLocation"]; + } else { + $this->_propDict["serviceLocation"] = new Location($this->_propDict["serviceLocation"]); + return $this->_propDict["serviceLocation"]; + } + } + return null; + } + + /** + * Sets the serviceLocation + * The location where the service is delivered. + * + * @param Location $val The serviceLocation + * + * @return BookingAppointment + */ + public function setServiceLocation($val) + { + $this->_propDict["serviceLocation"] = $val; + return $this; + } + + /** + * Gets the serviceName + * This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id. + * + * @return string|null The serviceName + */ + public function getServiceName() + { + if (array_key_exists("serviceName", $this->_propDict)) { + return $this->_propDict["serviceName"]; + } else { + return null; + } + } + + /** + * Sets the serviceName + * This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id. + * + * @param string $val The serviceName + * + * @return BookingAppointment + */ + public function setServiceName($val) + { + $this->_propDict["serviceName"] = $val; + return $this; + } + + /** + * Gets the serviceNotes + * The value of this property is only available when reading an individual booking appointment by id. + * + * @return string|null The serviceNotes + */ + public function getServiceNotes() + { + if (array_key_exists("serviceNotes", $this->_propDict)) { + return $this->_propDict["serviceNotes"]; + } else { + return null; + } + } + + /** + * Sets the serviceNotes + * The value of this property is only available when reading an individual booking appointment by id. + * + * @param string $val The serviceNotes + * + * @return BookingAppointment + */ + public function setServiceNotes($val) + { + $this->_propDict["serviceNotes"] = $val; + return $this; + } + + /** + * Gets the smsNotificationsEnabled + * True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. + * + * @return bool|null The smsNotificationsEnabled + */ + public function getSmsNotificationsEnabled() + { + if (array_key_exists("smsNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["smsNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smsNotificationsEnabled + * True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. + * + * @param bool $val The smsNotificationsEnabled + * + * @return BookingAppointment + */ + public function setSmsNotificationsEnabled($val) + { + $this->_propDict["smsNotificationsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the staffMemberIds + * The ID of each bookingStaffMember who is scheduled in this appointment. + * + * @return string|null The staffMemberIds + */ + public function getStaffMemberIds() + { + if (array_key_exists("staffMemberIds", $this->_propDict)) { + return $this->_propDict["staffMemberIds"]; + } else { + return null; + } + } + + /** + * Sets the staffMemberIds + * The ID of each bookingStaffMember who is scheduled in this appointment. + * + * @param string $val The staffMemberIds + * + * @return BookingAppointment + */ + public function setStaffMemberIds($val) + { + $this->_propDict["staffMemberIds"] = $val; + return $this; + } + + /** + * Gets the start + * The date, time, and time zone that the appointment begins. + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The date, time, and time zone that the appointment begins. + * + * @param DateTimeTimeZone $val The start + * + * @return BookingAppointment + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingBusiness.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingBusiness.php new file mode 100644 index 0000000..1bd79ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingBusiness.php @@ -0,0 +1,506 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The street address of the business. The address property, together with phone and webSiteUrl, appear in the footer of a business scheduling page. + * + * @param PhysicalAddress $val The address + * + * @return BookingBusiness + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + + /** + * Gets the businessHours + * The hours of operation for the business. + * + * @return array|null The businessHours + */ + public function getBusinessHours() + { + if (array_key_exists("businessHours", $this->_propDict)) { + return $this->_propDict["businessHours"]; + } else { + return null; + } + } + + /** + * Sets the businessHours + * The hours of operation for the business. + * + * @param BookingWorkHours[] $val The businessHours + * + * @return BookingBusiness + */ + public function setBusinessHours($val) + { + $this->_propDict["businessHours"] = $val; + return $this; + } + + /** + * Gets the businessType + * The type of business. + * + * @return string|null The businessType + */ + public function getBusinessType() + { + if (array_key_exists("businessType", $this->_propDict)) { + return $this->_propDict["businessType"]; + } else { + return null; + } + } + + /** + * Sets the businessType + * The type of business. + * + * @param string $val The businessType + * + * @return BookingBusiness + */ + public function setBusinessType($val) + { + $this->_propDict["businessType"] = $val; + return $this; + } + + /** + * Gets the defaultCurrencyIso + * The code for the currency that the business operates in on Microsoft Bookings. + * + * @return string|null The defaultCurrencyIso + */ + public function getDefaultCurrencyIso() + { + if (array_key_exists("defaultCurrencyIso", $this->_propDict)) { + return $this->_propDict["defaultCurrencyIso"]; + } else { + return null; + } + } + + /** + * Sets the defaultCurrencyIso + * The code for the currency that the business operates in on Microsoft Bookings. + * + * @param string $val The defaultCurrencyIso + * + * @return BookingBusiness + */ + public function setDefaultCurrencyIso($val) + { + $this->_propDict["defaultCurrencyIso"] = $val; + return $this; + } + + /** + * Gets the email + * The email address for the business. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for the business. + * + * @param string $val The email + * + * @return BookingBusiness + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the isPublished + * The scheduling page has been made available to external customers. Use the publish and unpublish actions to set this property. Read-only. + * + * @return bool|null The isPublished + */ + public function getIsPublished() + { + if (array_key_exists("isPublished", $this->_propDict)) { + return $this->_propDict["isPublished"]; + } else { + return null; + } + } + + /** + * Sets the isPublished + * The scheduling page has been made available to external customers. Use the publish and unpublish actions to set this property. Read-only. + * + * @param bool $val The isPublished + * + * @return BookingBusiness + */ + public function setIsPublished($val) + { + $this->_propDict["isPublished"] = boolval($val); + return $this; + } + + /** + * Gets the phone + * The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. + * + * @param string $val The phone + * + * @return BookingBusiness + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + + /** + * Gets the publicUrl + * The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only. + * + * @return string|null The publicUrl + */ + public function getPublicUrl() + { + if (array_key_exists("publicUrl", $this->_propDict)) { + return $this->_propDict["publicUrl"]; + } else { + return null; + } + } + + /** + * Sets the publicUrl + * The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only. + * + * @param string $val The publicUrl + * + * @return BookingBusiness + */ + public function setPublicUrl($val) + { + $this->_propDict["publicUrl"] = $val; + return $this; + } + + /** + * Gets the schedulingPolicy + * Specifies how bookings can be created for this business. + * + * @return BookingSchedulingPolicy|null The schedulingPolicy + */ + public function getSchedulingPolicy() + { + if (array_key_exists("schedulingPolicy", $this->_propDict)) { + if (is_a($this->_propDict["schedulingPolicy"], "\Beta\Microsoft\Graph\Model\BookingSchedulingPolicy") || is_null($this->_propDict["schedulingPolicy"])) { + return $this->_propDict["schedulingPolicy"]; + } else { + $this->_propDict["schedulingPolicy"] = new BookingSchedulingPolicy($this->_propDict["schedulingPolicy"]); + return $this->_propDict["schedulingPolicy"]; + } + } + return null; + } + + /** + * Sets the schedulingPolicy + * Specifies how bookings can be created for this business. + * + * @param BookingSchedulingPolicy $val The schedulingPolicy + * + * @return BookingBusiness + */ + public function setSchedulingPolicy($val) + { + $this->_propDict["schedulingPolicy"] = $val; + return $this; + } + + /** + * Gets the webSiteUrl + * Example: https://www.contoso.com + * + * @return string|null The webSiteUrl + */ + public function getWebSiteUrl() + { + if (array_key_exists("webSiteUrl", $this->_propDict)) { + return $this->_propDict["webSiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the webSiteUrl + * Example: https://www.contoso.com + * + * @param string $val The webSiteUrl + * + * @return BookingBusiness + */ + public function setWebSiteUrl($val) + { + $this->_propDict["webSiteUrl"] = $val; + return $this; + } + + + /** + * Gets the appointments + * All the appointments of this business. Read-only. Nullable. + * + * @return array|null The appointments + */ + public function getAppointments() + { + if (array_key_exists("appointments", $this->_propDict)) { + return $this->_propDict["appointments"]; + } else { + return null; + } + } + + /** + * Sets the appointments + * All the appointments of this business. Read-only. Nullable. + * + * @param BookingAppointment[] $val The appointments + * + * @return BookingBusiness + */ + public function setAppointments($val) + { + $this->_propDict["appointments"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The set of appointments of this business in a specified date range. Read-only. Nullable. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The set of appointments of this business in a specified date range. Read-only. Nullable. + * + * @param BookingAppointment[] $val The calendarView + * + * @return BookingBusiness + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the customers + * All the customers of this business. Read-only. Nullable. + * + * @return array|null The customers + */ + public function getCustomers() + { + if (array_key_exists("customers", $this->_propDict)) { + return $this->_propDict["customers"]; + } else { + return null; + } + } + + /** + * Sets the customers + * All the customers of this business. Read-only. Nullable. + * + * @param BookingCustomer[] $val The customers + * + * @return BookingBusiness + */ + public function setCustomers($val) + { + $this->_propDict["customers"] = $val; + return $this; + } + + + /** + * Gets the customQuestions + * All the custom questions of this business. Read-only. Nullable. + * + * @return array|null The customQuestions + */ + public function getCustomQuestions() + { + if (array_key_exists("customQuestions", $this->_propDict)) { + return $this->_propDict["customQuestions"]; + } else { + return null; + } + } + + /** + * Sets the customQuestions + * All the custom questions of this business. Read-only. Nullable. + * + * @param BookingCustomQuestion[] $val The customQuestions + * + * @return BookingBusiness + */ + public function setCustomQuestions($val) + { + $this->_propDict["customQuestions"] = $val; + return $this; + } + + + /** + * Gets the services + * All the services offered by this business. Read-only. Nullable. + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * All the services offered by this business. Read-only. Nullable. + * + * @param BookingService[] $val The services + * + * @return BookingBusiness + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + + + /** + * Gets the staffMembers + * All the staff members that provide services in this business. Read-only. Nullable. + * + * @return array|null The staffMembers + */ + public function getStaffMembers() + { + if (array_key_exists("staffMembers", $this->_propDict)) { + return $this->_propDict["staffMembers"]; + } else { + return null; + } + } + + /** + * Sets the staffMembers + * All the staff members that provide services in this business. Read-only. Nullable. + * + * @param BookingStaffMember[] $val The staffMembers + * + * @return BookingBusiness + */ + public function setStaffMembers($val) + { + $this->_propDict["staffMembers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCurrency.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCurrency.php new file mode 100644 index 0000000..80256c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCurrency.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["symbol"]; + } else { + return null; + } + } + + /** + * Sets the symbol + * The currency symbol. For example, the currency symbol for the US dollar and for the Australian dollar is $. + * + * @param string $val The symbol + * + * @return BookingCurrency + */ + public function setSymbol($val) + { + $this->_propDict["symbol"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomQuestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomQuestion.php new file mode 100644 index 0000000..c6ee41d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomQuestion.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["answerInputType"], "\Beta\Microsoft\Graph\Model\AnswerInputType") || is_null($this->_propDict["answerInputType"])) { + return $this->_propDict["answerInputType"]; + } else { + $this->_propDict["answerInputType"] = new AnswerInputType($this->_propDict["answerInputType"]); + return $this->_propDict["answerInputType"]; + } + } + return null; + } + + /** + * Sets the answerInputType + * The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + * + * @param AnswerInputType $val The answerInputType + * + * @return BookingCustomQuestion + */ + public function setAnswerInputType($val) + { + $this->_propDict["answerInputType"] = $val; + return $this; + } + + /** + * Gets the answerOptions + * List of possible answer values. + * + * @return string|null The answerOptions + */ + public function getAnswerOptions() + { + if (array_key_exists("answerOptions", $this->_propDict)) { + return $this->_propDict["answerOptions"]; + } else { + return null; + } + } + + /** + * Sets the answerOptions + * List of possible answer values. + * + * @param string $val The answerOptions + * + * @return BookingCustomQuestion + */ + public function setAnswerOptions($val) + { + $this->_propDict["answerOptions"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name is suitable for human-readable interfaces. + * + * @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 + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingCustomQuestion + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomer.php new file mode 100644 index 0000000..47fab1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomer.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["addresses"]; + } else { + return null; + } + } + + /** + * Sets the addresses + * Addresses associated with the customer, including home, business and other addresses. + * + * @param PhysicalAddress[] $val The addresses + * + * @return BookingCustomer + */ + public function setAddresses($val) + { + $this->_propDict["addresses"] = $val; + return $this; + } + + + /** + * Gets the phones + * Phone numbers associated with the customer, including home, business and mobile numbers. + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * Phone numbers associated with the customer, including home, business and mobile numbers. + * + * @param Phone[] $val The phones + * + * @return BookingCustomer + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomerInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomerInformation.php new file mode 100644 index 0000000..57f914b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomerInformation.php @@ -0,0 +1,271 @@ +setODataType("#microsoft.graph.bookingCustomerInformation"); + } + + /** + * Gets the customerId + * The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable. + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable. + * + * @param string $val The value of the customerId + * + * @return BookingCustomerInformation + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customQuestionAnswers + * It consists of the list of custom questions and answers given by the customer as part of the appointment. + * + * @return BookingQuestionAnswer|null The customQuestionAnswers + */ + public function getCustomQuestionAnswers() + { + if (array_key_exists("customQuestionAnswers", $this->_propDict)) { + if (is_a($this->_propDict["customQuestionAnswers"], "\Beta\Microsoft\Graph\Model\BookingQuestionAnswer") || is_null($this->_propDict["customQuestionAnswers"])) { + return $this->_propDict["customQuestionAnswers"]; + } else { + $this->_propDict["customQuestionAnswers"] = new BookingQuestionAnswer($this->_propDict["customQuestionAnswers"]); + return $this->_propDict["customQuestionAnswers"]; + } + } + return null; + } + + /** + * Sets the customQuestionAnswers + * It consists of the list of custom questions and answers given by the customer as part of the appointment. + * + * @param BookingQuestionAnswer $val The value to assign to the customQuestionAnswers + * + * @return BookingCustomerInformation The BookingCustomerInformation + */ + public function setCustomQuestionAnswers($val) + { + $this->_propDict["customQuestionAnswers"] = $val; + return $this; + } + /** + * Gets the emailAddress + * The SMTP address of the bookingCustomer who is booking the appointment. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The SMTP address of the bookingCustomer who is booking the appointment. + * + * @param string $val The value of the emailAddress + * + * @return BookingCustomerInformation + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the location + * Represents location information for the bookingCustomer who is booking the appointment. + * + * @return Location|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new Location($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Represents location information for the bookingCustomer who is booking the appointment. + * + * @param Location $val The value to assign to the location + * + * @return BookingCustomerInformation The BookingCustomerInformation + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + /** + * Gets the name + * The customer's name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The customer's name. + * + * @param string $val The value of the name + * + * @return BookingCustomerInformation + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the notes + * Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId. + * + * @param string $val The value of the notes + * + * @return BookingCustomerInformation + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + /** + * Gets the phone + * The customer's phone number. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The customer's phone number. + * + * @param string $val The value of the phone + * + * @return BookingCustomerInformation + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + /** + * Gets the timeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @param string $val The value of the timeZone + * + * @return BookingCustomerInformation + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomerInformationBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomerInformationBase.php new file mode 100644 index 0000000..58c0872 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomerInformationBase.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingNamedEntity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPerson.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPerson.php new file mode 100644 index 0000000..9454c5a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPerson.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The email address of the person. + * + * @param string $val The emailAddress + * + * @return BookingPerson + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPriceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPriceType.php new file mode 100644 index 0000000..2b4c988 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPriceType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["answer"]; + } else { + return null; + } + } + + /** + * Sets the answer + * The answer given by the user in case the answerInputType is text. + * + * @param string $val The value of the answer + * + * @return BookingQuestionAnswer + */ + public function setAnswer($val) + { + $this->_propDict["answer"] = $val; + return $this; + } + + /** + * Gets the answerInputType + * The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + * + * @return AnswerInputType|null The answerInputType + */ + public function getAnswerInputType() + { + if (array_key_exists("answerInputType", $this->_propDict)) { + if (is_a($this->_propDict["answerInputType"], "\Beta\Microsoft\Graph\Model\AnswerInputType") || is_null($this->_propDict["answerInputType"])) { + return $this->_propDict["answerInputType"]; + } else { + $this->_propDict["answerInputType"] = new AnswerInputType($this->_propDict["answerInputType"]); + return $this->_propDict["answerInputType"]; + } + } + return null; + } + + /** + * Sets the answerInputType + * The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + * + * @param AnswerInputType $val The value to assign to the answerInputType + * + * @return BookingQuestionAnswer The BookingQuestionAnswer + */ + public function setAnswerInputType($val) + { + $this->_propDict["answerInputType"] = $val; + return $this; + } + /** + * Gets the answerOptions + * In case the answerInputType is radioButton, this will consists of a list of possible answer values. + * + * @return string|null The answerOptions + */ + public function getAnswerOptions() + { + if (array_key_exists("answerOptions", $this->_propDict)) { + return $this->_propDict["answerOptions"]; + } else { + return null; + } + } + + /** + * Sets the answerOptions + * In case the answerInputType is radioButton, this will consists of a list of possible answer values. + * + * @param string $val The value of the answerOptions + * + * @return BookingQuestionAnswer + */ + public function setAnswerOptions($val) + { + $this->_propDict["answerOptions"] = $val; + return $this; + } + /** + * Gets the isRequired + * Indicates whether it is mandatory to answer the custom question. + * + * @return bool|null The isRequired + */ + public function getIsRequired() + { + if (array_key_exists("isRequired", $this->_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates whether it is mandatory to answer the custom question. + * + * @param bool $val The value of the isRequired + * + * @return BookingQuestionAnswer + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the question + * The question. + * + * @return string|null The question + */ + public function getQuestion() + { + if (array_key_exists("question", $this->_propDict)) { + return $this->_propDict["question"]; + } else { + return null; + } + } + + /** + * Sets the question + * The question. + * + * @param string $val The value of the question + * + * @return BookingQuestionAnswer + */ + public function setQuestion($val) + { + $this->_propDict["question"] = $val; + return $this; + } + /** + * Gets the questionId + * The ID of the custom question. + * + * @return string|null The questionId + */ + public function getQuestionId() + { + if (array_key_exists("questionId", $this->_propDict)) { + return $this->_propDict["questionId"]; + } else { + return null; + } + } + + /** + * Sets the questionId + * The ID of the custom question. + * + * @param string $val The value of the questionId + * + * @return BookingQuestionAnswer + */ + public function setQuestionId($val) + { + $this->_propDict["questionId"] = $val; + return $this; + } + /** + * Gets the selectedOptions + * The answers selected by the user. + * + * @return string|null The selectedOptions + */ + public function getSelectedOptions() + { + if (array_key_exists("selectedOptions", $this->_propDict)) { + return $this->_propDict["selectedOptions"]; + } else { + return null; + } + } + + /** + * Sets the selectedOptions + * The answers selected by the user. + * + * @param string $val The value of the selectedOptions + * + * @return BookingQuestionAnswer + */ + public function setSelectedOptions($val) + { + $this->_propDict["selectedOptions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php new file mode 100644 index 0000000..cc20008 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingQuestionAssignment.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates whether it is mandatory to answer the custom question. + * + * @param bool $val The value of the isRequired + * + * @return BookingQuestionAssignment + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the questionId + * If it is mandatory to answer the custom question. + * + * @return string|null The questionId + */ + public function getQuestionId() + { + if (array_key_exists("questionId", $this->_propDict)) { + return $this->_propDict["questionId"]; + } else { + return null; + } + } + + /** + * Sets the questionId + * If it is mandatory to answer the custom question. + * + * @param string $val The value of the questionId + * + * @return BookingQuestionAssignment + */ + public function setQuestionId($val) + { + $this->_propDict["questionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminder.php new file mode 100644 index 0000000..056d403 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminder.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The message in the reminder. + * + * @param string $val The value of the message + * + * @return BookingReminder + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the offset + * The amount of time before the start of an appointment that the reminder should be sent. It's denoted in ISO 8601 format. + * + * @return \DateInterval|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + if (is_a($this->_propDict["offset"], "\DateInterval") || is_null($this->_propDict["offset"])) { + return $this->_propDict["offset"]; + } else { + $this->_propDict["offset"] = new \DateInterval($this->_propDict["offset"]); + return $this->_propDict["offset"]; + } + } + return null; + } + + /** + * Sets the offset + * The amount of time before the start of an appointment that the reminder should be sent. It's denoted in ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the offset + * + * @return BookingReminder The BookingReminder + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } + + /** + * Gets the recipients + * The persons who should receive the reminder. Possible values are: allAttendees, staff, customer and unknownFutureValue. + * + * @return BookingReminderRecipients|null The recipients + */ + public function getRecipients() + { + if (array_key_exists("recipients", $this->_propDict)) { + if (is_a($this->_propDict["recipients"], "\Beta\Microsoft\Graph\Model\BookingReminderRecipients") || is_null($this->_propDict["recipients"])) { + return $this->_propDict["recipients"]; + } else { + $this->_propDict["recipients"] = new BookingReminderRecipients($this->_propDict["recipients"]); + return $this->_propDict["recipients"]; + } + } + return null; + } + + /** + * Sets the recipients + * The persons who should receive the reminder. Possible values are: allAttendees, staff, customer and unknownFutureValue. + * + * @param BookingReminderRecipients $val The value to assign to the recipients + * + * @return BookingReminder The BookingReminder + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminderRecipients.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminderRecipients.php new file mode 100644 index 0000000..952b3f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminderRecipients.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["allowStaffSelection"]; + } else { + return null; + } + } + + /** + * Sets the allowStaffSelection + * True if to allow customers to choose a specific person for the booking. + * + * @param bool $val The value of the allowStaffSelection + * + * @return BookingSchedulingPolicy + */ + public function setAllowStaffSelection($val) + { + $this->_propDict["allowStaffSelection"] = $val; + return $this; + } + + /** + * Gets the maximumAdvance + * Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. + * + * @return \DateInterval|null The maximumAdvance + */ + public function getMaximumAdvance() + { + if (array_key_exists("maximumAdvance", $this->_propDict)) { + if (is_a($this->_propDict["maximumAdvance"], "\DateInterval") || is_null($this->_propDict["maximumAdvance"])) { + return $this->_propDict["maximumAdvance"]; + } else { + $this->_propDict["maximumAdvance"] = new \DateInterval($this->_propDict["maximumAdvance"]); + return $this->_propDict["maximumAdvance"]; + } + } + return null; + } + + /** + * Sets the maximumAdvance + * Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the maximumAdvance + * + * @return BookingSchedulingPolicy The BookingSchedulingPolicy + */ + public function setMaximumAdvance($val) + { + $this->_propDict["maximumAdvance"] = $val; + return $this; + } + + /** + * Gets the minimumLeadTime + * The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format. + * + * @return \DateInterval|null The minimumLeadTime + */ + public function getMinimumLeadTime() + { + if (array_key_exists("minimumLeadTime", $this->_propDict)) { + if (is_a($this->_propDict["minimumLeadTime"], "\DateInterval") || is_null($this->_propDict["minimumLeadTime"])) { + return $this->_propDict["minimumLeadTime"]; + } else { + $this->_propDict["minimumLeadTime"] = new \DateInterval($this->_propDict["minimumLeadTime"]); + return $this->_propDict["minimumLeadTime"]; + } + } + return null; + } + + /** + * Sets the minimumLeadTime + * The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the minimumLeadTime + * + * @return BookingSchedulingPolicy The BookingSchedulingPolicy + */ + public function setMinimumLeadTime($val) + { + $this->_propDict["minimumLeadTime"] = $val; + return $this; + } + /** + * Gets the sendConfirmationsToOwner + * True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business. + * + * @return bool|null The sendConfirmationsToOwner + */ + public function getSendConfirmationsToOwner() + { + if (array_key_exists("sendConfirmationsToOwner", $this->_propDict)) { + return $this->_propDict["sendConfirmationsToOwner"]; + } else { + return null; + } + } + + /** + * Sets the sendConfirmationsToOwner + * True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business. + * + * @param bool $val The value of the sendConfirmationsToOwner + * + * @return BookingSchedulingPolicy + */ + public function setSendConfirmationsToOwner($val) + { + $this->_propDict["sendConfirmationsToOwner"] = $val; + return $this; + } + + /** + * Gets the timeSlotInterval + * Duration of each time slot, denoted in ISO 8601 format. + * + * @return \DateInterval|null The timeSlotInterval + */ + public function getTimeSlotInterval() + { + if (array_key_exists("timeSlotInterval", $this->_propDict)) { + if (is_a($this->_propDict["timeSlotInterval"], "\DateInterval") || is_null($this->_propDict["timeSlotInterval"])) { + return $this->_propDict["timeSlotInterval"]; + } else { + $this->_propDict["timeSlotInterval"] = new \DateInterval($this->_propDict["timeSlotInterval"]); + return $this->_propDict["timeSlotInterval"]; + } + } + return null; + } + + /** + * Sets the timeSlotInterval + * Duration of each time slot, denoted in ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the timeSlotInterval + * + * @return BookingSchedulingPolicy The BookingSchedulingPolicy + */ + public function setTimeSlotInterval($val) + { + $this->_propDict["timeSlotInterval"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php new file mode 100644 index 0000000..f26112c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php @@ -0,0 +1,575 @@ +_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * Additional information that is sent to the customer when an appointment is confirmed. + * + * @param string $val The additionalInformation + * + * @return BookingService + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + + /** + * Gets the customQuestions + * Contains the set of custom questions associated with a particular service. + * + * @return array|null The customQuestions + */ + public function getCustomQuestions() + { + if (array_key_exists("customQuestions", $this->_propDict)) { + return $this->_propDict["customQuestions"]; + } else { + return null; + } + } + + /** + * Sets the customQuestions + * Contains the set of custom questions associated with a particular service. + * + * @param BookingQuestionAssignment[] $val The customQuestions + * + * @return BookingService + */ + public function setCustomQuestions($val) + { + $this->_propDict["customQuestions"] = $val; + return $this; + } + + /** + * Gets the defaultDuration + * The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S. + * + * @return \DateInterval|null The defaultDuration + */ + public function getDefaultDuration() + { + if (array_key_exists("defaultDuration", $this->_propDict)) { + if (is_a($this->_propDict["defaultDuration"], "\DateInterval") || is_null($this->_propDict["defaultDuration"])) { + return $this->_propDict["defaultDuration"]; + } else { + $this->_propDict["defaultDuration"] = new \DateInterval($this->_propDict["defaultDuration"]); + return $this->_propDict["defaultDuration"]; + } + } + return null; + } + + /** + * Sets the defaultDuration + * The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S. + * + * @param \DateInterval $val The defaultDuration + * + * @return BookingService + */ + public function setDefaultDuration($val) + { + $this->_propDict["defaultDuration"] = $val; + return $this; + } + + /** + * Gets the defaultLocation + * The default physical location for the service. + * + * @return Location|null The defaultLocation + */ + public function getDefaultLocation() + { + if (array_key_exists("defaultLocation", $this->_propDict)) { + if (is_a($this->_propDict["defaultLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["defaultLocation"])) { + return $this->_propDict["defaultLocation"]; + } else { + $this->_propDict["defaultLocation"] = new Location($this->_propDict["defaultLocation"]); + return $this->_propDict["defaultLocation"]; + } + } + return null; + } + + /** + * Sets the defaultLocation + * The default physical location for the service. + * + * @param Location $val The defaultLocation + * + * @return BookingService + */ + public function setDefaultLocation($val) + { + $this->_propDict["defaultLocation"] = $val; + return $this; + } + + /** + * Gets the defaultPrice + * The default monetary price for the service. + * + * @return float|null The defaultPrice + */ + public function getDefaultPrice() + { + if (array_key_exists("defaultPrice", $this->_propDict)) { + return $this->_propDict["defaultPrice"]; + } else { + return null; + } + } + + /** + * Sets the defaultPrice + * The default monetary price for the service. + * + * @param float $val The defaultPrice + * + * @return BookingService + */ + public function setDefaultPrice($val) + { + $this->_propDict["defaultPrice"] = floatval($val); + return $this; + } + + /** + * Gets the defaultPriceType + * The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @return BookingPriceType|null The defaultPriceType + */ + public function getDefaultPriceType() + { + if (array_key_exists("defaultPriceType", $this->_propDict)) { + if (is_a($this->_propDict["defaultPriceType"], "\Beta\Microsoft\Graph\Model\BookingPriceType") || is_null($this->_propDict["defaultPriceType"])) { + return $this->_propDict["defaultPriceType"]; + } else { + $this->_propDict["defaultPriceType"] = new BookingPriceType($this->_propDict["defaultPriceType"]); + return $this->_propDict["defaultPriceType"]; + } + } + return null; + } + + /** + * Sets the defaultPriceType + * The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @param BookingPriceType $val The defaultPriceType + * + * @return BookingService + */ + public function setDefaultPriceType($val) + { + $this->_propDict["defaultPriceType"] = $val; + return $this; + } + + + /** + * Gets the defaultReminders + * The value of this property is only available when reading an individual booking service by id. + * + * @return array|null The defaultReminders + */ + public function getDefaultReminders() + { + if (array_key_exists("defaultReminders", $this->_propDict)) { + return $this->_propDict["defaultReminders"]; + } else { + return null; + } + } + + /** + * Sets the defaultReminders + * The value of this property is only available when reading an individual booking service by id. + * + * @param BookingReminder[] $val The defaultReminders + * + * @return BookingService + */ + public function setDefaultReminders($val) + { + $this->_propDict["defaultReminders"] = $val; + return $this; + } + + /** + * Gets the description + * A text description for the service. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A text description for the service. + * + * @param string $val The description + * + * @return BookingService + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the isHiddenFromCustomers + * True means this service is not available to customers for booking. + * + * @return bool|null The isHiddenFromCustomers + */ + public function getIsHiddenFromCustomers() + { + if (array_key_exists("isHiddenFromCustomers", $this->_propDict)) { + return $this->_propDict["isHiddenFromCustomers"]; + } else { + return null; + } + } + + /** + * Sets the isHiddenFromCustomers + * True means this service is not available to customers for booking. + * + * @param bool $val The isHiddenFromCustomers + * + * @return BookingService + */ + public function setIsHiddenFromCustomers($val) + { + $this->_propDict["isHiddenFromCustomers"] = boolval($val); + return $this; + } + + /** + * Gets the isLocationOnline + * True indicates that the appointments for the service will be held online. Default value is false. + * + * @return bool|null The isLocationOnline + */ + public function getIsLocationOnline() + { + if (array_key_exists("isLocationOnline", $this->_propDict)) { + return $this->_propDict["isLocationOnline"]; + } else { + return null; + } + } + + /** + * Sets the isLocationOnline + * True indicates that the appointments for the service will be held online. Default value is false. + * + * @param bool $val The isLocationOnline + * + * @return BookingService + */ + public function setIsLocationOnline($val) + { + $this->_propDict["isLocationOnline"] = boolval($val); + return $this; + } + + /** + * Gets the maximumAttendeesCount + * The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @return int|null The maximumAttendeesCount + */ + public function getMaximumAttendeesCount() + { + if (array_key_exists("maximumAttendeesCount", $this->_propDict)) { + return $this->_propDict["maximumAttendeesCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumAttendeesCount + * The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @param int $val The maximumAttendeesCount + * + * @return BookingService + */ + public function setMaximumAttendeesCount($val) + { + $this->_propDict["maximumAttendeesCount"] = intval($val); + return $this; + } + + /** + * Gets the notes + * Additional information about this service. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Additional information about this service. + * + * @param string $val The notes + * + * @return BookingService + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the postBuffer + * The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked. + * + * @return \DateInterval|null The postBuffer + */ + public function getPostBuffer() + { + if (array_key_exists("postBuffer", $this->_propDict)) { + if (is_a($this->_propDict["postBuffer"], "\DateInterval") || is_null($this->_propDict["postBuffer"])) { + return $this->_propDict["postBuffer"]; + } else { + $this->_propDict["postBuffer"] = new \DateInterval($this->_propDict["postBuffer"]); + return $this->_propDict["postBuffer"]; + } + } + return null; + } + + /** + * Sets the postBuffer + * The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked. + * + * @param \DateInterval $val The postBuffer + * + * @return BookingService + */ + public function setPostBuffer($val) + { + $this->_propDict["postBuffer"] = $val; + return $this; + } + + /** + * Gets the preBuffer + * The time to buffer before an appointment for this service can start. + * + * @return \DateInterval|null The preBuffer + */ + public function getPreBuffer() + { + if (array_key_exists("preBuffer", $this->_propDict)) { + if (is_a($this->_propDict["preBuffer"], "\DateInterval") || is_null($this->_propDict["preBuffer"])) { + return $this->_propDict["preBuffer"]; + } else { + $this->_propDict["preBuffer"] = new \DateInterval($this->_propDict["preBuffer"]); + return $this->_propDict["preBuffer"]; + } + } + return null; + } + + /** + * Sets the preBuffer + * The time to buffer before an appointment for this service can start. + * + * @param \DateInterval $val The preBuffer + * + * @return BookingService + */ + public function setPreBuffer($val) + { + $this->_propDict["preBuffer"] = $val; + return $this; + } + + /** + * Gets the schedulingPolicy + * The set of policies that determine how appointments for this type of service should be created and managed. + * + * @return BookingSchedulingPolicy|null The schedulingPolicy + */ + public function getSchedulingPolicy() + { + if (array_key_exists("schedulingPolicy", $this->_propDict)) { + if (is_a($this->_propDict["schedulingPolicy"], "\Beta\Microsoft\Graph\Model\BookingSchedulingPolicy") || is_null($this->_propDict["schedulingPolicy"])) { + return $this->_propDict["schedulingPolicy"]; + } else { + $this->_propDict["schedulingPolicy"] = new BookingSchedulingPolicy($this->_propDict["schedulingPolicy"]); + return $this->_propDict["schedulingPolicy"]; + } + } + return null; + } + + /** + * Sets the schedulingPolicy + * The set of policies that determine how appointments for this type of service should be created and managed. + * + * @param BookingSchedulingPolicy $val The schedulingPolicy + * + * @return BookingService + */ + public function setSchedulingPolicy($val) + { + $this->_propDict["schedulingPolicy"] = $val; + return $this; + } + + /** + * Gets the smsNotificationsEnabled + * True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false. + * + * @return bool|null The smsNotificationsEnabled + */ + public function getSmsNotificationsEnabled() + { + if (array_key_exists("smsNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["smsNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smsNotificationsEnabled + * True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false. + * + * @param bool $val The smsNotificationsEnabled + * + * @return BookingService + */ + public function setSmsNotificationsEnabled($val) + { + $this->_propDict["smsNotificationsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the staffMemberIds + * Represents those staff members who provide this service. + * + * @return string|null The staffMemberIds + */ + public function getStaffMemberIds() + { + if (array_key_exists("staffMemberIds", $this->_propDict)) { + return $this->_propDict["staffMemberIds"]; + } else { + return null; + } + } + + /** + * Sets the staffMemberIds + * Represents those staff members who provide this service. + * + * @param string $val The staffMemberIds + * + * @return BookingService + */ + public function setStaffMemberIds($val) + { + $this->_propDict["staffMemberIds"] = $val; + return $this; + } + + /** + * Gets the webUrl + * The URL a customer uses to access the service. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The URL a customer uses to access the service. + * + * @param string $val The webUrl + * + * @return BookingService + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php new file mode 100644 index 0000000..0967691 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["availabilityIsAffectedByPersonalCalendar"]; + } else { + return null; + } + } + + /** + * Sets the availabilityIsAffectedByPersonalCalendar + * True means that if the staff member is a Microsoft 365 user, the Bookings API would verify the staff member's availability in their personal calendar in Microsoft 365, before making a booking. + * + * @param bool $val The availabilityIsAffectedByPersonalCalendar + * + * @return BookingStaffMember + */ + public function setAvailabilityIsAffectedByPersonalCalendar($val) + { + $this->_propDict["availabilityIsAffectedByPersonalCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the colorIndex + * Identifies a color to represent the staff member. The color corresponds to the color palette in the Staff details page in the Bookings app. + * + * @return int|null The colorIndex + */ + public function getColorIndex() + { + if (array_key_exists("colorIndex", $this->_propDict)) { + return $this->_propDict["colorIndex"]; + } else { + return null; + } + } + + /** + * Sets the colorIndex + * Identifies a color to represent the staff member. The color corresponds to the color palette in the Staff details page in the Bookings app. + * + * @param int $val The colorIndex + * + * @return BookingStaffMember + */ + public function setColorIndex($val) + { + $this->_propDict["colorIndex"] = intval($val); + return $this; + } + + /** + * Gets the role + * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required. + * + * @return BookingStaffRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\BookingStaffRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new BookingStaffRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required. + * + * @param BookingStaffRole $val The role + * + * @return BookingStaffMember + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the timeZone + * The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. + * + * @param string $val The timeZone + * + * @return BookingStaffMember + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } + + /** + * Gets the useBusinessHours + * True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting. + * + * @return bool|null The useBusinessHours + */ + public function getUseBusinessHours() + { + if (array_key_exists("useBusinessHours", $this->_propDict)) { + return $this->_propDict["useBusinessHours"]; + } else { + return null; + } + } + + /** + * Sets the useBusinessHours + * True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting. + * + * @param bool $val The useBusinessHours + * + * @return BookingStaffMember + */ + public function setUseBusinessHours($val) + { + $this->_propDict["useBusinessHours"] = boolval($val); + return $this; + } + + + /** + * Gets the workingHours + * The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. + * + * @return array|null The workingHours + */ + public function getWorkingHours() + { + if (array_key_exists("workingHours", $this->_propDict)) { + return $this->_propDict["workingHours"]; + } else { + return null; + } + } + + /** + * Sets the workingHours + * The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. + * + * @param BookingWorkHours[] $val The workingHours + * + * @return BookingStaffMember + */ + public function setWorkingHours($val) + { + $this->_propDict["workingHours"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffRole.php new file mode 100644 index 0000000..85fada7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffRole.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["day"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["day"])) { + return $this->_propDict["day"]; + } else { + $this->_propDict["day"] = new DayOfWeek($this->_propDict["day"]); + return $this->_propDict["day"]; + } + } + return null; + } + + /** + * Sets the day + * The day of the week represented by this instance. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @param DayOfWeek $val The value to assign to the day + * + * @return BookingWorkHours The BookingWorkHours + */ + public function setDay($val) + { + $this->_propDict["day"] = $val; + return $this; + } + + /** + * Gets the timeSlots + * A list of start/end times during a day. + * + * @return BookingWorkTimeSlot|null The timeSlots + */ + public function getTimeSlots() + { + if (array_key_exists("timeSlots", $this->_propDict)) { + if (is_a($this->_propDict["timeSlots"], "\Beta\Microsoft\Graph\Model\BookingWorkTimeSlot") || is_null($this->_propDict["timeSlots"])) { + return $this->_propDict["timeSlots"]; + } else { + $this->_propDict["timeSlots"] = new BookingWorkTimeSlot($this->_propDict["timeSlots"]); + return $this->_propDict["timeSlots"]; + } + } + return null; + } + + /** + * Sets the timeSlots + * A list of start/end times during a day. + * + * @param BookingWorkTimeSlot $val The value to assign to the timeSlots + * + * @return BookingWorkHours The BookingWorkHours + */ + public function setTimeSlots($val) + { + $this->_propDict["timeSlots"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingWorkTimeSlot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingWorkTimeSlot.php new file mode 100644 index 0000000..9f17248 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingWorkTimeSlot.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new TimeOfDay($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The time of the day when work stops. For example, 17:00:00.0000000. + * + * @param TimeOfDay $val The value to assign to the end + * + * @return BookingWorkTimeSlot The BookingWorkTimeSlot + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the start + * The time of the day when work starts. For example, 08:00:00.0000000. + * + * @return TimeOfDay|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new TimeOfDay($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The time of the day when work starts. For example, 08:00:00.0000000. + * + * @param TimeOfDay $val The value to assign to the start + * + * @return BookingWorkTimeSlot The BookingWorkTimeSlot + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingsAvailabilityStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingsAvailabilityStatus.php new file mode 100644 index 0000000..db9b871 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingsAvailabilityStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["isCaptionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isCaptionEnabled + * Indicates whether caption is enabled for this Teams live event. + * + * @param bool $val The value of the isCaptionEnabled + * + * @return BroadcastMeetingCaptionSettings + */ + public function setIsCaptionEnabled($val) + { + $this->_propDict["isCaptionEnabled"] = $val; + return $this; + } + /** + * Gets the spokenLanguage + * The spoken language. + * + * @return string|null The spokenLanguage + */ + public function getSpokenLanguage() + { + if (array_key_exists("spokenLanguage", $this->_propDict)) { + return $this->_propDict["spokenLanguage"]; + } else { + return null; + } + } + + /** + * Sets the spokenLanguage + * The spoken language. + * + * @param string $val The value of the spokenLanguage + * + * @return BroadcastMeetingCaptionSettings + */ + public function setSpokenLanguage($val) + { + $this->_propDict["spokenLanguage"] = $val; + return $this; + } + /** + * Gets the translationLanguages + * The translation languages (choose up to 6). + * + * @return string|null The translationLanguages + */ + public function getTranslationLanguages() + { + if (array_key_exists("translationLanguages", $this->_propDict)) { + return $this->_propDict["translationLanguages"]; + } else { + return null; + } + } + + /** + * Sets the translationLanguages + * The translation languages (choose up to 6). + * + * @param string $val The value of the translationLanguages + * + * @return BroadcastMeetingCaptionSettings + */ + public function setTranslationLanguages($val) + { + $this->_propDict["translationLanguages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php new file mode 100644 index 0000000..808b2e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BroadcastMeetingSettings.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["allowedAudience"], "\Beta\Microsoft\Graph\Model\BroadcastMeetingAudience") || is_null($this->_propDict["allowedAudience"])) { + return $this->_propDict["allowedAudience"]; + } else { + $this->_propDict["allowedAudience"] = new BroadcastMeetingAudience($this->_propDict["allowedAudience"]); + return $this->_propDict["allowedAudience"]; + } + } + return null; + } + + /** + * Sets the allowedAudience + * Defines who can join the Teams live event. Possible values are listed in the following table. + * + * @param BroadcastMeetingAudience $val The value to assign to the allowedAudience + * + * @return BroadcastMeetingSettings The BroadcastMeetingSettings + */ + public function setAllowedAudience($val) + { + $this->_propDict["allowedAudience"] = $val; + return $this; + } + + /** + * Gets the captions + * Caption settings of a Teams live event. + * + * @return BroadcastMeetingCaptionSettings|null The captions + */ + public function getCaptions() + { + if (array_key_exists("captions", $this->_propDict)) { + if (is_a($this->_propDict["captions"], "\Beta\Microsoft\Graph\Model\BroadcastMeetingCaptionSettings") || is_null($this->_propDict["captions"])) { + return $this->_propDict["captions"]; + } else { + $this->_propDict["captions"] = new BroadcastMeetingCaptionSettings($this->_propDict["captions"]); + return $this->_propDict["captions"]; + } + } + return null; + } + + /** + * Sets the captions + * Caption settings of a Teams live event. + * + * @param BroadcastMeetingCaptionSettings $val The value to assign to the captions + * + * @return BroadcastMeetingSettings The BroadcastMeetingSettings + */ + public function setCaptions($val) + { + $this->_propDict["captions"] = $val; + return $this; + } + /** + * Gets the isAttendeeReportEnabled + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isAttendeeReportEnabled + */ + public function getIsAttendeeReportEnabled() + { + if (array_key_exists("isAttendeeReportEnabled", $this->_propDict)) { + return $this->_propDict["isAttendeeReportEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isAttendeeReportEnabled + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isAttendeeReportEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsAttendeeReportEnabled($val) + { + $this->_propDict["isAttendeeReportEnabled"] = $val; + return $this; + } + /** + * Gets the isQuestionAndAnswerEnabled + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isQuestionAndAnswerEnabled + */ + public function getIsQuestionAndAnswerEnabled() + { + if (array_key_exists("isQuestionAndAnswerEnabled", $this->_propDict)) { + return $this->_propDict["isQuestionAndAnswerEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isQuestionAndAnswerEnabled + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isQuestionAndAnswerEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsQuestionAndAnswerEnabled($val) + { + $this->_propDict["isQuestionAndAnswerEnabled"] = $val; + return $this; + } + /** + * Gets the isRecordingEnabled + * Indicates whether recording is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isRecordingEnabled + */ + public function getIsRecordingEnabled() + { + if (array_key_exists("isRecordingEnabled", $this->_propDict)) { + return $this->_propDict["isRecordingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isRecordingEnabled + * Indicates whether recording is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isRecordingEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsRecordingEnabled($val) + { + $this->_propDict["isRecordingEnabled"] = $val; + return $this; + } + /** + * Gets the isVideoOnDemandEnabled + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isVideoOnDemandEnabled + */ + public function getIsVideoOnDemandEnabled() + { + if (array_key_exists("isVideoOnDemandEnabled", $this->_propDict)) { + return $this->_propDict["isVideoOnDemandEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isVideoOnDemandEnabled + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isVideoOnDemandEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsVideoOnDemandEnabled($val) + { + $this->_propDict["isVideoOnDemandEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BrowserSyncSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BrowserSyncSetting.php new file mode 100644 index 0000000..00110e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BrowserSyncSetting.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["isDescending"]; + } else { + return null; + } + } + + /** + * Sets the isDescending + * True to specify the sort order as descending. The default is false, with the sort order as ascending. Optional. + * + * @param bool $val The value of the isDescending + * + * @return BucketAggregationDefinition + */ + public function setIsDescending($val) + { + $this->_propDict["isDescending"] = $val; + return $this; + } + /** + * Gets the minimumCount + * The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. + * + * @return int|null The minimumCount + */ + public function getMinimumCount() + { + if (array_key_exists("minimumCount", $this->_propDict)) { + return $this->_propDict["minimumCount"]; + } else { + return null; + } + } + + /** + * Sets the minimumCount + * The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. + * + * @param int $val The value of the minimumCount + * + * @return BucketAggregationDefinition + */ + public function setMinimumCount($val) + { + $this->_propDict["minimumCount"] = $val; + return $this; + } + /** + * Gets the prefixFilter + * A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. + * + * @return string|null The prefixFilter + */ + public function getPrefixFilter() + { + if (array_key_exists("prefixFilter", $this->_propDict)) { + return $this->_propDict["prefixFilter"]; + } else { + return null; + } + } + + /** + * Sets the prefixFilter + * A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. + * + * @param string $val The value of the prefixFilter + * + * @return BucketAggregationDefinition + */ + public function setPrefixFilter($val) + { + $this->_propDict["prefixFilter"] = $val; + return $this; + } + + /** + * Gets the ranges + * Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. + * + * @return BucketAggregationRange|null The ranges + */ + public function getRanges() + { + if (array_key_exists("ranges", $this->_propDict)) { + if (is_a($this->_propDict["ranges"], "\Beta\Microsoft\Graph\Model\BucketAggregationRange") || is_null($this->_propDict["ranges"])) { + return $this->_propDict["ranges"]; + } else { + $this->_propDict["ranges"] = new BucketAggregationRange($this->_propDict["ranges"]); + return $this->_propDict["ranges"]; + } + } + return null; + } + + /** + * Sets the ranges + * Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. + * + * @param BucketAggregationRange $val The value to assign to the ranges + * + * @return BucketAggregationDefinition The BucketAggregationDefinition + */ + public function setRanges($val) + { + $this->_propDict["ranges"] = $val; + return $this; + } + + /** + * Gets the sortBy + * The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required. + * + * @return BucketAggregationSortProperty|null The sortBy + */ + public function getSortBy() + { + if (array_key_exists("sortBy", $this->_propDict)) { + if (is_a($this->_propDict["sortBy"], "\Beta\Microsoft\Graph\Model\BucketAggregationSortProperty") || is_null($this->_propDict["sortBy"])) { + return $this->_propDict["sortBy"]; + } else { + $this->_propDict["sortBy"] = new BucketAggregationSortProperty($this->_propDict["sortBy"]); + return $this->_propDict["sortBy"]; + } + } + return null; + } + + /** + * Sets the sortBy + * The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required. + * + * @param BucketAggregationSortProperty $val The value to assign to the sortBy + * + * @return BucketAggregationDefinition The BucketAggregationDefinition + */ + public function setSortBy($val) + { + $this->_propDict["sortBy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationRange.php new file mode 100644 index 0000000..0c8ce24 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationRange.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["from"]; + } else { + return null; + } + } + + /** + * Sets the from + * Defines the lower bound from which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. + * + * @param string $val The value of the from + * + * @return BucketAggregationRange + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + /** + * Gets the to + * Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. + * + * @return string|null The to + */ + public function getTo() + { + if (array_key_exists("to", $this->_propDict)) { + return $this->_propDict["to"]; + } else { + return null; + } + } + + /** + * Sets the to + * Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. + * + * @param string $val The value of the to + * + * @return BucketAggregationRange + */ + public function setTo($val) + { + $this->_propDict["to"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationSortProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationSortProperty.php new file mode 100644 index 0000000..dd2d8dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationSortProperty.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["decryptedBuffer"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["decryptedBuffer"])) { + return $this->_propDict["decryptedBuffer"]; + } else { + $this->_propDict["decryptedBuffer"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["decryptedBuffer"]); + return $this->_propDict["decryptedBuffer"]; + } + } + return null; + } + + /** + * Sets the decryptedBuffer + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the decryptedBuffer + * + * @return BufferDecryptionResult The BufferDecryptionResult + */ + public function setDecryptedBuffer($val) + { + $this->_propDict["decryptedBuffer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BufferEncryptionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BufferEncryptionResult.php new file mode 100644 index 0000000..37563a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BufferEncryptionResult.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["encryptedBuffer"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptedBuffer"])) { + return $this->_propDict["encryptedBuffer"]; + } else { + $this->_propDict["encryptedBuffer"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptedBuffer"]); + return $this->_propDict["encryptedBuffer"]; + } + } + return null; + } + + /** + * Sets the encryptedBuffer + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the encryptedBuffer + * + * @return BufferEncryptionResult The BufferEncryptionResult + */ + public function setEncryptedBuffer($val) + { + $this->_propDict["encryptedBuffer"] = $val; + return $this; + } + + /** + * Gets the publishingLicense + * + * @return \GuzzleHttp\Psr7\Stream|null The publishingLicense + */ + public function getPublishingLicense() + { + if (array_key_exists("publishingLicense", $this->_propDict)) { + if (is_a($this->_propDict["publishingLicense"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["publishingLicense"])) { + return $this->_propDict["publishingLicense"]; + } else { + $this->_propDict["publishingLicense"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["publishingLicense"]); + return $this->_propDict["publishingLicense"]; + } + } + return null; + } + + /** + * Sets the publishingLicense + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the publishingLicense + * + * @return BufferEncryptionResult The BufferEncryptionResult + */ + public function setPublishingLicense($val) + { + $this->_propDict["publishingLicense"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BuiltInIdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BuiltInIdentityProvider.php new file mode 100644 index 0000000..af9a95c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BuiltInIdentityProvider.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["identityProviderType"]; + } else { + return null; + } + } + + /** + * Sets the identityProviderType + * The identity provider type. For a B2B scenario, possible values: AADSignup, MicrosoftAccount, EmailOTP. Required. + * + * @param string $val The identityProviderType + * + * @return BuiltInIdentityProvider + */ + public function setIdentityProviderType($val) + { + $this->_propDict["identityProviderType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkDriverActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkDriverActionResult.php new file mode 100644 index 0000000..daf1321 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkDriverActionResult.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["failedDriverIds"]; + } else { + return null; + } + } + + /** + * Sets the failedDriverIds + * List of driver Ids where the action is failed. + * + * @param string $val The value of the failedDriverIds + * + * @return BulkDriverActionResult + */ + public function setFailedDriverIds($val) + { + $this->_propDict["failedDriverIds"] = $val; + return $this; + } + /** + * Gets the notFoundDriverIds + * List of driver Ids that are not found. + * + * @return string|null The notFoundDriverIds + */ + public function getNotFoundDriverIds() + { + if (array_key_exists("notFoundDriverIds", $this->_propDict)) { + return $this->_propDict["notFoundDriverIds"]; + } else { + return null; + } + } + + /** + * Sets the notFoundDriverIds + * List of driver Ids that are not found. + * + * @param string $val The value of the notFoundDriverIds + * + * @return BulkDriverActionResult + */ + public function setNotFoundDriverIds($val) + { + $this->_propDict["notFoundDriverIds"] = $val; + return $this; + } + /** + * Gets the successfulDriverIds + * List of driver Ids where the action is successful. + * + * @return string|null The successfulDriverIds + */ + public function getSuccessfulDriverIds() + { + if (array_key_exists("successfulDriverIds", $this->_propDict)) { + return $this->_propDict["successfulDriverIds"]; + } else { + return null; + } + } + + /** + * Sets the successfulDriverIds + * List of driver Ids where the action is successful. + * + * @param string $val The value of the successfulDriverIds + * + * @return BulkDriverActionResult + */ + public function setSuccessfulDriverIds($val) + { + $this->_propDict["successfulDriverIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkManagedDeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkManagedDeviceActionResult.php new file mode 100644 index 0000000..bd36e20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkManagedDeviceActionResult.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["failedDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceIds + * Failed devices + * + * @param string $val The value of the failedDeviceIds + * + * @return BulkManagedDeviceActionResult + */ + public function setFailedDeviceIds($val) + { + $this->_propDict["failedDeviceIds"] = $val; + return $this; + } + /** + * Gets the notFoundDeviceIds + * Not found devices + * + * @return string|null The notFoundDeviceIds + */ + public function getNotFoundDeviceIds() + { + if (array_key_exists("notFoundDeviceIds", $this->_propDict)) { + return $this->_propDict["notFoundDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the notFoundDeviceIds + * Not found devices + * + * @param string $val The value of the notFoundDeviceIds + * + * @return BulkManagedDeviceActionResult + */ + public function setNotFoundDeviceIds($val) + { + $this->_propDict["notFoundDeviceIds"] = $val; + return $this; + } + /** + * Gets the notSupportedDeviceIds + * Not supported devices + * + * @return string|null The notSupportedDeviceIds + */ + public function getNotSupportedDeviceIds() + { + if (array_key_exists("notSupportedDeviceIds", $this->_propDict)) { + return $this->_propDict["notSupportedDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the notSupportedDeviceIds + * Not supported devices + * + * @param string $val The value of the notSupportedDeviceIds + * + * @return BulkManagedDeviceActionResult + */ + public function setNotSupportedDeviceIds($val) + { + $this->_propDict["notSupportedDeviceIds"] = $val; + return $this; + } + /** + * Gets the successfulDeviceIds + * Successful devices + * + * @return string|null The successfulDeviceIds + */ + public function getSuccessfulDeviceIds() + { + if (array_key_exists("successfulDeviceIds", $this->_propDict)) { + return $this->_propDict["successfulDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the successfulDeviceIds + * Successful devices + * + * @param string $val The value of the successfulDeviceIds + * + * @return BulkManagedDeviceActionResult + */ + public function setSuccessfulDeviceIds($val) + { + $this->_propDict["successfulDeviceIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bundle.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bundle.php new file mode 100644 index 0000000..db02a64 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bundle.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["album"], "\Beta\Microsoft\Graph\Model\Album") || is_null($this->_propDict["album"])) { + return $this->_propDict["album"]; + } else { + $this->_propDict["album"] = new Album($this->_propDict["album"]); + return $this->_propDict["album"]; + } + } + return null; + } + + /** + * Sets the album + * If the bundle is an [album][], then the album property is included + * + * @param Album $val The value to assign to the album + * + * @return Bundle The Bundle + */ + public function setAlbum($val) + { + $this->_propDict["album"] = $val; + return $this; + } + /** + * Gets the childCount + * Number of children contained immediately within this container. + * + * @return int|null The childCount + */ + public function getChildCount() + { + if (array_key_exists("childCount", $this->_propDict)) { + return $this->_propDict["childCount"]; + } else { + return null; + } + } + + /** + * Sets the childCount + * Number of children contained immediately within this container. + * + * @param int $val The value of the childCount + * + * @return Bundle + */ + public function setChildCount($val) + { + $this->_propDict["childCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlow.php new file mode 100644 index 0000000..870fe9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlow.php @@ -0,0 +1,278 @@ +_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * + * @param string $val The customData + * + * @return BusinessFlow + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + /** + * Gets the deDuplicationId + * + * @return string|null The deDuplicationId + */ + public function getDeDuplicationId() + { + if (array_key_exists("deDuplicationId", $this->_propDict)) { + return $this->_propDict["deDuplicationId"]; + } else { + return null; + } + } + + /** + * Sets the deDuplicationId + * + * @param string $val The deDuplicationId + * + * @return BusinessFlow + */ + public function setDeDuplicationId($val) + { + $this->_propDict["deDuplicationId"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return BusinessFlow + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return BusinessFlow + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the policy + * + * @return GovernancePolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\GovernancePolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new GovernancePolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * + * @param GovernancePolicy $val The policy + * + * @return BusinessFlow + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + + /** + * Gets the policyTemplateId + * + * @return string|null The policyTemplateId + */ + public function getPolicyTemplateId() + { + if (array_key_exists("policyTemplateId", $this->_propDict)) { + return $this->_propDict["policyTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the policyTemplateId + * + * @param string $val The policyTemplateId + * + * @return BusinessFlow + */ + public function setPolicyTemplateId($val) + { + $this->_propDict["policyTemplateId"] = $val; + return $this; + } + + /** + * Gets the recordVersion + * + * @return string|null The recordVersion + */ + public function getRecordVersion() + { + if (array_key_exists("recordVersion", $this->_propDict)) { + return $this->_propDict["recordVersion"]; + } else { + return null; + } + } + + /** + * Sets the recordVersion + * + * @param string $val The recordVersion + * + * @return BusinessFlow + */ + public function setRecordVersion($val) + { + $this->_propDict["recordVersion"] = $val; + return $this; + } + + /** + * Gets the schemaId + * + * @return string|null The schemaId + */ + public function getSchemaId() + { + if (array_key_exists("schemaId", $this->_propDict)) { + return $this->_propDict["schemaId"]; + } else { + return null; + } + } + + /** + * Sets the schemaId + * + * @param string $val The schemaId + * + * @return BusinessFlow + */ + public function setSchemaId($val) + { + $this->_propDict["schemaId"] = $val; + return $this; + } + + /** + * Gets the settings + * + * @return BusinessFlowSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\BusinessFlowSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new BusinessFlowSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * + * @param BusinessFlowSettings $val The settings + * + * @return BusinessFlow + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowSettings.php new file mode 100644 index 0000000..9351d25 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowSettings.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["durationInDays"]; + } else { + return null; + } + } + + /** + * Sets the durationInDays + * + * @param int $val The value of the durationInDays + * + * @return BusinessFlowSettings + */ + public function setDurationInDays($val) + { + $this->_propDict["durationInDays"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowTemplate.php new file mode 100644 index 0000000..690456a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowTemplate.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the business flow template + * + * @param string $val The displayName + * + * @return BusinessFlowTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalculatedColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalculatedColumn.php new file mode 100644 index 0000000..0f6d3ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalculatedColumn.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["format"]; + } else { + return null; + } + } + + /** + * Sets the format + * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime. + * + * @param string $val The value of the format + * + * @return CalculatedColumn + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + /** + * Gets the formula + * The formula used to compute the value for this column. + * + * @return string|null The formula + */ + public function getFormula() + { + if (array_key_exists("formula", $this->_propDict)) { + return $this->_propDict["formula"]; + } else { + return null; + } + } + + /** + * Sets the formula + * The formula used to compute the value for this column. + * + * @param string $val The value of the formula + * + * @return CalculatedColumn + */ + public function setFormula($val) + { + $this->_propDict["formula"] = $val; + return $this; + } + /** + * Gets the outputType + * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. + * + * @return string|null The outputType + */ + public function getOutputType() + { + if (array_key_exists("outputType", $this->_propDict)) { + return $this->_propDict["outputType"]; + } else { + return null; + } + } + + /** + * Sets the outputType + * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. + * + * @param string $val The value of the outputType + * + * @return CalculatedColumn + */ + public function setOutputType($val) + { + $this->_propDict["outputType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Calendar.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Calendar.php new file mode 100644 index 0000000..fc832ec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Calendar.php @@ -0,0 +1,654 @@ +_propDict)) { + return $this->_propDict["allowedOnlineMeetingProviders"]; + } else { + return null; + } + } + + /** + * Sets the allowedOnlineMeetingProviders + * Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * + * @param OnlineMeetingProviderType[] $val The allowedOnlineMeetingProviders + * + * @return Calendar + */ + public function setAllowedOnlineMeetingProviders($val) + { + $this->_propDict["allowedOnlineMeetingProviders"] = $val; + return $this; + } + + /** + * Gets the calendarGroupId + * The calendarGroup in which to create the calendar. If the user has never explicitly set a group for the calendar, this property is null. + * + * @return string|null The calendarGroupId + */ + public function getCalendarGroupId() + { + if (array_key_exists("calendarGroupId", $this->_propDict)) { + return $this->_propDict["calendarGroupId"]; + } else { + return null; + } + } + + /** + * Sets the calendarGroupId + * The calendarGroup in which to create the calendar. If the user has never explicitly set a group for the calendar, this property is null. + * + * @param string $val The calendarGroupId + * + * @return Calendar + */ + public function setCalendarGroupId($val) + { + $this->_propDict["calendarGroupId"] = $val; + return $this; + } + + /** + * Gets the canEdit + * true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access, through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @return bool|null The canEdit + */ + public function getCanEdit() + { + if (array_key_exists("canEdit", $this->_propDict)) { + return $this->_propDict["canEdit"]; + } else { + return null; + } + } + + /** + * Sets the canEdit + * true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access, through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @param bool $val The canEdit + * + * @return Calendar + */ + public function setCanEdit($val) + { + $this->_propDict["canEdit"] = boolval($val); + return $this; + } + + /** + * Gets the canShare + * true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. Read-only. + * + * @return bool|null The canShare + */ + public function getCanShare() + { + if (array_key_exists("canShare", $this->_propDict)) { + return $this->_propDict["canShare"]; + } else { + return null; + } + } + + /** + * Sets the canShare + * true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. Read-only. + * + * @param bool $val The canShare + * + * @return Calendar + */ + public function setCanShare($val) + { + $this->_propDict["canShare"] = boolval($val); + return $this; + } + + /** + * Gets the canViewPrivateItems + * true if the user can read calendar items that have been marked private, false otherwise. This property is set through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @return bool|null The canViewPrivateItems + */ + public function getCanViewPrivateItems() + { + if (array_key_exists("canViewPrivateItems", $this->_propDict)) { + return $this->_propDict["canViewPrivateItems"]; + } else { + return null; + } + } + + /** + * Sets the canViewPrivateItems + * true if the user can read calendar items that have been marked private, false otherwise. This property is set through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @param bool $val The canViewPrivateItems + * + * @return Calendar + */ + public function setCanViewPrivateItems($val) + { + $this->_propDict["canViewPrivateItems"] = boolval($val); + return $this; + } + + /** + * Gets the changeKey + * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @return string|null The changeKey + */ + public function getChangeKey() + { + if (array_key_exists("changeKey", $this->_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @param string $val The changeKey + * + * @return Calendar + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the color + * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. + * + * @return CalendarColor|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + if (is_a($this->_propDict["color"], "\Beta\Microsoft\Graph\Model\CalendarColor") || is_null($this->_propDict["color"])) { + return $this->_propDict["color"]; + } else { + $this->_propDict["color"] = new CalendarColor($this->_propDict["color"]); + return $this->_propDict["color"]; + } + } + return null; + } + + /** + * Sets the color + * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. + * + * @param CalendarColor $val The color + * + * @return Calendar + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the defaultOnlineMeetingProvider + * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * + * @return OnlineMeetingProviderType|null The defaultOnlineMeetingProvider + */ + public function getDefaultOnlineMeetingProvider() + { + if (array_key_exists("defaultOnlineMeetingProvider", $this->_propDict)) { + if (is_a($this->_propDict["defaultOnlineMeetingProvider"], "\Beta\Microsoft\Graph\Model\OnlineMeetingProviderType") || is_null($this->_propDict["defaultOnlineMeetingProvider"])) { + return $this->_propDict["defaultOnlineMeetingProvider"]; + } else { + $this->_propDict["defaultOnlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["defaultOnlineMeetingProvider"]); + return $this->_propDict["defaultOnlineMeetingProvider"]; + } + } + return null; + } + + /** + * Sets the defaultOnlineMeetingProvider + * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * + * @param OnlineMeetingProviderType $val The defaultOnlineMeetingProvider + * + * @return Calendar + */ + public function setDefaultOnlineMeetingProvider($val) + { + $this->_propDict["defaultOnlineMeetingProvider"] = $val; + return $this; + } + + /** + * Gets the hexColor + * The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. + * + * @return string|null The hexColor + */ + public function getHexColor() + { + if (array_key_exists("hexColor", $this->_propDict)) { + return $this->_propDict["hexColor"]; + } else { + return null; + } + } + + /** + * Sets the hexColor + * The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. + * + * @param string $val The hexColor + * + * @return Calendar + */ + public function setHexColor($val) + { + $this->_propDict["hexColor"] = $val; + return $this; + } + + /** + * Gets the isDefaultCalendar + * true if this is the default calendar where new events are created by default, false otherwise. + * + * @return bool|null The isDefaultCalendar + */ + public function getIsDefaultCalendar() + { + if (array_key_exists("isDefaultCalendar", $this->_propDict)) { + return $this->_propDict["isDefaultCalendar"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultCalendar + * true if this is the default calendar where new events are created by default, false otherwise. + * + * @param bool $val The isDefaultCalendar + * + * @return Calendar + */ + public function setIsDefaultCalendar($val) + { + $this->_propDict["isDefaultCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the isRemovable + * Indicates whether this user calendar can be deleted from the user mailbox. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * Indicates whether this user calendar can be deleted from the user mailbox. + * + * @param bool $val The isRemovable + * + * @return Calendar + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * true if the user has shared the calendar with other users, false otherwise. Since only the user who created the calendar can share it, isShared and isSharedWithMe cannot be true for the same user. This property is set when sharing is initiated in an Outlook client, and can be reset when the sharing is cancelled through the client or the corresponding calendarPermission resource. Read-only. + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * true if the user has shared the calendar with other users, false otherwise. Since only the user who created the calendar can share it, isShared and isSharedWithMe cannot be true for the same user. This property is set when sharing is initiated in an Outlook client, and can be reset when the sharing is cancelled through the client or the corresponding calendarPermission resource. Read-only. + * + * @param bool $val The isShared + * + * @return Calendar + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the isSharedWithMe + * true if the user has been shared this calendar, false otherwise. This property is always false for a calendar owner. This property is set when sharing is initiated in an Outlook client, and can be reset when the sharing is cancelled through the client or the corresponding calendarPermission resource. Read-only. + * + * @return bool|null The isSharedWithMe + */ + public function getIsSharedWithMe() + { + if (array_key_exists("isSharedWithMe", $this->_propDict)) { + return $this->_propDict["isSharedWithMe"]; + } else { + return null; + } + } + + /** + * Sets the isSharedWithMe + * true if the user has been shared this calendar, false otherwise. This property is always false for a calendar owner. This property is set when sharing is initiated in an Outlook client, and can be reset when the sharing is cancelled through the client or the corresponding calendarPermission resource. Read-only. + * + * @param bool $val The isSharedWithMe + * + * @return Calendar + */ + public function setIsSharedWithMe($val) + { + $this->_propDict["isSharedWithMe"] = boolval($val); + return $this; + } + + /** + * Gets the isTallyingResponses + * Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. + * + * @return bool|null The isTallyingResponses + */ + public function getIsTallyingResponses() + { + if (array_key_exists("isTallyingResponses", $this->_propDict)) { + return $this->_propDict["isTallyingResponses"]; + } else { + return null; + } + } + + /** + * Sets the isTallyingResponses + * Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. + * + * @param bool $val The isTallyingResponses + * + * @return Calendar + */ + public function setIsTallyingResponses($val) + { + $this->_propDict["isTallyingResponses"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The calendar name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The calendar name. + * + * @param string $val The name + * + * @return Calendar + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the owner + * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. Read-only. + * + * @return EmailAddress|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new EmailAddress($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. Read-only. + * + * @param EmailAddress $val The owner + * + * @return Calendar + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + + /** + * Gets the calendarPermissions + * The permissions of the users with whom the calendar is shared. + * + * @return array|null The calendarPermissions + */ + public function getCalendarPermissions() + { + if (array_key_exists("calendarPermissions", $this->_propDict)) { + return $this->_propDict["calendarPermissions"]; + } else { + return null; + } + } + + /** + * Sets the calendarPermissions + * The permissions of the users with whom the calendar is shared. + * + * @param CalendarPermission[] $val The calendarPermissions + * + * @return Calendar + */ + public function setCalendarPermissions($val) + { + $this->_propDict["calendarPermissions"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The calendar view for the calendar. Navigation property. Read-only. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The calendar view for the calendar. Navigation property. Read-only. + * + * @param Event[] $val The calendarView + * + * @return Calendar + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the events + * The events in the calendar. Navigation property. Read-only. + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * The events in the calendar. Navigation property. Read-only. + * + * @param Event[] $val The events + * + * @return Calendar + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Calendar + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Calendar + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarColor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarColor.php new file mode 100644 index 0000000..b145359 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarColor.php @@ -0,0 +1,43 @@ +_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @param string $val The changeKey + * + * @return CalendarGroup + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the classId + * The class identifier. Read-only. + * + * @return string|null The classId + */ + public function getClassId() + { + if (array_key_exists("classId", $this->_propDict)) { + return $this->_propDict["classId"]; + } else { + return null; + } + } + + /** + * Sets the classId + * The class identifier. Read-only. + * + * @param string $val The classId + * + * @return CalendarGroup + */ + public function setClassId($val) + { + $this->_propDict["classId"] = $val; + return $this; + } + + /** + * Gets the name + * The group name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The group name. + * + * @param string $val The name + * + * @return CalendarGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the calendars + * The calendars in the calendar group. Navigation property. Read-only. Nullable. + * + * @return array|null The calendars + */ + public function getCalendars() + { + if (array_key_exists("calendars", $this->_propDict)) { + return $this->_propDict["calendars"]; + } else { + return null; + } + } + + /** + * Sets the calendars + * The calendars in the calendar group. Navigation property. Read-only. Nullable. + * + * @param Calendar[] $val The calendars + * + * @return CalendarGroup + */ + public function setCalendars($val) + { + $this->_propDict["calendars"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarPermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarPermission.php new file mode 100644 index 0000000..60331fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarPermission.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["allowedRoles"]; + } else { + return null; + } + } + + /** + * Sets the allowedRoles + * List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. + * + * @param CalendarRoleType[] $val The allowedRoles + * + * @return CalendarPermission + */ + public function setAllowedRoles($val) + { + $this->_propDict["allowedRoles"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * + * @return EmailAddress|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + if (is_a($this->_propDict["emailAddress"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) { + return $this->_propDict["emailAddress"]; + } else { + $this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]); + return $this->_propDict["emailAddress"]; + } + } + return null; + } + + /** + * Sets the emailAddress + * Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * + * @param EmailAddress $val The emailAddress + * + * @return CalendarPermission + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the isInsideOrganization + * True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. + * + * @return bool|null The isInsideOrganization + */ + public function getIsInsideOrganization() + { + if (array_key_exists("isInsideOrganization", $this->_propDict)) { + return $this->_propDict["isInsideOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isInsideOrganization + * True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. + * + * @param bool $val The isInsideOrganization + * + * @return CalendarPermission + */ + public function setIsInsideOrganization($val) + { + $this->_propDict["isInsideOrganization"] = boolval($val); + return $this; + } + + /** + * Gets the isRemovable + * True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * + * @param bool $val The isRemovable + * + * @return CalendarPermission + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = boolval($val); + return $this; + } + + /** + * Gets the role + * Current permission level of the calendar sharee or delegate. + * + * @return CalendarRoleType|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\CalendarRoleType") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new CalendarRoleType($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * Current permission level of the calendar sharee or delegate. + * + * @param CalendarRoleType $val The role + * + * @return CalendarPermission + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarRoleType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarRoleType.php new file mode 100644 index 0000000..d99f563 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarRoleType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["canAccept"]; + } else { + return null; + } + } + + /** + * Sets the canAccept + * + * @param bool $val The canAccept + * + * @return CalendarSharingMessage + */ + public function setCanAccept($val) + { + $this->_propDict["canAccept"] = boolval($val); + return $this; + } + + /** + * Gets the sharingMessageAction + * + * @return CalendarSharingMessageAction|null The sharingMessageAction + */ + public function getSharingMessageAction() + { + if (array_key_exists("sharingMessageAction", $this->_propDict)) { + if (is_a($this->_propDict["sharingMessageAction"], "\Beta\Microsoft\Graph\Model\CalendarSharingMessageAction") || is_null($this->_propDict["sharingMessageAction"])) { + return $this->_propDict["sharingMessageAction"]; + } else { + $this->_propDict["sharingMessageAction"] = new CalendarSharingMessageAction($this->_propDict["sharingMessageAction"]); + return $this->_propDict["sharingMessageAction"]; + } + } + return null; + } + + /** + * Sets the sharingMessageAction + * + * @param CalendarSharingMessageAction $val The sharingMessageAction + * + * @return CalendarSharingMessage + */ + public function setSharingMessageAction($val) + { + $this->_propDict["sharingMessageAction"] = $val; + return $this; + } + + + /** + * Gets the sharingMessageActions + * + * @return array|null The sharingMessageActions + */ + public function getSharingMessageActions() + { + if (array_key_exists("sharingMessageActions", $this->_propDict)) { + return $this->_propDict["sharingMessageActions"]; + } else { + return null; + } + } + + /** + * Sets the sharingMessageActions + * + * @param CalendarSharingMessageAction[] $val The sharingMessageActions + * + * @return CalendarSharingMessage + */ + public function setSharingMessageActions($val) + { + $this->_propDict["sharingMessageActions"] = $val; + return $this; + } + + /** + * Gets the suggestedCalendarName + * + * @return string|null The suggestedCalendarName + */ + public function getSuggestedCalendarName() + { + if (array_key_exists("suggestedCalendarName", $this->_propDict)) { + return $this->_propDict["suggestedCalendarName"]; + } else { + return null; + } + } + + /** + * Sets the suggestedCalendarName + * + * @param string $val The suggestedCalendarName + * + * @return CalendarSharingMessage + */ + public function setSuggestedCalendarName($val) + { + $this->_propDict["suggestedCalendarName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarSharingMessageAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarSharingMessageAction.php new file mode 100644 index 0000000..e9164f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarSharingMessageAction.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\CalendarSharingAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new CalendarSharingAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * + * @param CalendarSharingAction $val The value to assign to the action + * + * @return CalendarSharingMessageAction The CalendarSharingMessageAction + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the actionType + * + * @return CalendarSharingActionType|null The actionType + */ + public function getActionType() + { + if (array_key_exists("actionType", $this->_propDict)) { + if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\CalendarSharingActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new CalendarSharingActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * + * @param CalendarSharingActionType $val The value to assign to the actionType + * + * @return CalendarSharingMessageAction The CalendarSharingMessageAction + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the importance + * + * @return CalendarSharingActionImportance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\CalendarSharingActionImportance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new CalendarSharingActionImportance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param CalendarSharingActionImportance $val The value to assign to the importance + * + * @return CalendarSharingMessageAction The CalendarSharingMessageAction + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Call.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Call.php new file mode 100644 index 0000000..a74e1d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Call.php @@ -0,0 +1,938 @@ +_propDict)) { + return $this->_propDict["activeModalities"]; + } else { + return null; + } + } + + /** + * Sets the activeModalities + * The list of active modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. Read-only. + * + * @param Modality[] $val The activeModalities + * + * @return Call + */ + public function setActiveModalities($val) + { + $this->_propDict["activeModalities"] = $val; + return $this; + } + + /** + * Gets the answeredBy + * The participant that answered the call. Read-only. + * + * @return ParticipantInfo|null The answeredBy + */ + public function getAnsweredBy() + { + if (array_key_exists("answeredBy", $this->_propDict)) { + if (is_a($this->_propDict["answeredBy"], "\Beta\Microsoft\Graph\Model\ParticipantInfo") || is_null($this->_propDict["answeredBy"])) { + return $this->_propDict["answeredBy"]; + } else { + $this->_propDict["answeredBy"] = new ParticipantInfo($this->_propDict["answeredBy"]); + return $this->_propDict["answeredBy"]; + } + } + return null; + } + + /** + * Sets the answeredBy + * The participant that answered the call. Read-only. + * + * @param ParticipantInfo $val The answeredBy + * + * @return Call + */ + public function setAnsweredBy($val) + { + $this->_propDict["answeredBy"] = $val; + return $this; + } + + /** + * Gets the callbackUri + * The callback URL on which callbacks will be delivered. Must be https. + * + * @return string|null The callbackUri + */ + public function getCallbackUri() + { + if (array_key_exists("callbackUri", $this->_propDict)) { + return $this->_propDict["callbackUri"]; + } else { + return null; + } + } + + /** + * Sets the callbackUri + * The callback URL on which callbacks will be delivered. Must be https. + * + * @param string $val The callbackUri + * + * @return Call + */ + public function setCallbackUri($val) + { + $this->_propDict["callbackUri"] = $val; + return $this; + } + + /** + * Gets the callChainId + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + * + * @return string|null The callChainId + */ + public function getCallChainId() + { + if (array_key_exists("callChainId", $this->_propDict)) { + return $this->_propDict["callChainId"]; + } else { + return null; + } + } + + /** + * Sets the callChainId + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + * + * @param string $val The callChainId + * + * @return Call + */ + public function setCallChainId($val) + { + $this->_propDict["callChainId"] = $val; + return $this; + } + + /** + * Gets the callOptions + * Contains the optional features for the call. + * + * @return CallOptions|null The callOptions + */ + public function getCallOptions() + { + if (array_key_exists("callOptions", $this->_propDict)) { + if (is_a($this->_propDict["callOptions"], "\Beta\Microsoft\Graph\Model\CallOptions") || is_null($this->_propDict["callOptions"])) { + return $this->_propDict["callOptions"]; + } else { + $this->_propDict["callOptions"] = new CallOptions($this->_propDict["callOptions"]); + return $this->_propDict["callOptions"]; + } + } + return null; + } + + /** + * Sets the callOptions + * Contains the optional features for the call. + * + * @param CallOptions $val The callOptions + * + * @return Call + */ + public function setCallOptions($val) + { + $this->_propDict["callOptions"] = $val; + return $this; + } + + + /** + * Gets the callRoutes + * The routing information on how the call was retargeted. Read-only. + * + * @return array|null The callRoutes + */ + public function getCallRoutes() + { + if (array_key_exists("callRoutes", $this->_propDict)) { + return $this->_propDict["callRoutes"]; + } else { + return null; + } + } + + /** + * Sets the callRoutes + * The routing information on how the call was retargeted. Read-only. + * + * @param CallRoute[] $val The callRoutes + * + * @return Call + */ + public function setCallRoutes($val) + { + $this->_propDict["callRoutes"] = $val; + return $this; + } + + /** + * Gets the chatInfo + * The chat information. Required information for meeting scenarios. + * + * @return ChatInfo|null The chatInfo + */ + public function getChatInfo() + { + if (array_key_exists("chatInfo", $this->_propDict)) { + if (is_a($this->_propDict["chatInfo"], "\Beta\Microsoft\Graph\Model\ChatInfo") || is_null($this->_propDict["chatInfo"])) { + return $this->_propDict["chatInfo"]; + } else { + $this->_propDict["chatInfo"] = new ChatInfo($this->_propDict["chatInfo"]); + return $this->_propDict["chatInfo"]; + } + } + return null; + } + + /** + * Sets the chatInfo + * The chat information. Required information for meeting scenarios. + * + * @param ChatInfo $val The chatInfo + * + * @return Call + */ + public function setChatInfo($val) + { + $this->_propDict["chatInfo"] = $val; + return $this; + } + + /** + * Gets the direction + * The direction of the call. The possible value are incoming or outgoing. Read-only. + * + * @return CallDirection|null The direction + */ + public function getDirection() + { + if (array_key_exists("direction", $this->_propDict)) { + if (is_a($this->_propDict["direction"], "\Beta\Microsoft\Graph\Model\CallDirection") || is_null($this->_propDict["direction"])) { + return $this->_propDict["direction"]; + } else { + $this->_propDict["direction"] = new CallDirection($this->_propDict["direction"]); + return $this->_propDict["direction"]; + } + } + return null; + } + + /** + * Sets the direction + * The direction of the call. The possible value are incoming or outgoing. Read-only. + * + * @param CallDirection $val The direction + * + * @return Call + */ + public function setDirection($val) + { + $this->_propDict["direction"] = $val; + return $this; + } + + /** + * Gets the incomingContext + * The context associated with an incoming call. Read-only. Server generated. + * + * @return IncomingContext|null The incomingContext + */ + public function getIncomingContext() + { + if (array_key_exists("incomingContext", $this->_propDict)) { + if (is_a($this->_propDict["incomingContext"], "\Beta\Microsoft\Graph\Model\IncomingContext") || is_null($this->_propDict["incomingContext"])) { + return $this->_propDict["incomingContext"]; + } else { + $this->_propDict["incomingContext"] = new IncomingContext($this->_propDict["incomingContext"]); + return $this->_propDict["incomingContext"]; + } + } + return null; + } + + /** + * Sets the incomingContext + * The context associated with an incoming call. Read-only. Server generated. + * + * @param IncomingContext $val The incomingContext + * + * @return Call + */ + public function setIncomingContext($val) + { + $this->_propDict["incomingContext"] = $val; + return $this; + } + + /** + * Gets the mediaConfig + * The media configuration. Required information for creating peer to peer calls or joining meetings. + * + * @return MediaConfig|null The mediaConfig + */ + public function getMediaConfig() + { + if (array_key_exists("mediaConfig", $this->_propDict)) { + if (is_a($this->_propDict["mediaConfig"], "\Beta\Microsoft\Graph\Model\MediaConfig") || is_null($this->_propDict["mediaConfig"])) { + return $this->_propDict["mediaConfig"]; + } else { + $this->_propDict["mediaConfig"] = new MediaConfig($this->_propDict["mediaConfig"]); + return $this->_propDict["mediaConfig"]; + } + } + return null; + } + + /** + * Sets the mediaConfig + * The media configuration. Required information for creating peer to peer calls or joining meetings. + * + * @param MediaConfig $val The mediaConfig + * + * @return Call + */ + public function setMediaConfig($val) + { + $this->_propDict["mediaConfig"] = $val; + return $this; + } + + /** + * Gets the mediaState + * Read-only. The call media state. + * + * @return CallMediaState|null The mediaState + */ + public function getMediaState() + { + if (array_key_exists("mediaState", $this->_propDict)) { + if (is_a($this->_propDict["mediaState"], "\Beta\Microsoft\Graph\Model\CallMediaState") || is_null($this->_propDict["mediaState"])) { + return $this->_propDict["mediaState"]; + } else { + $this->_propDict["mediaState"] = new CallMediaState($this->_propDict["mediaState"]); + return $this->_propDict["mediaState"]; + } + } + return null; + } + + /** + * Sets the mediaState + * Read-only. The call media state. + * + * @param CallMediaState $val The mediaState + * + * @return Call + */ + public function setMediaState($val) + { + $this->_propDict["mediaState"] = $val; + return $this; + } + + /** + * Gets the meetingCapability + * Contains the capabilities of a meeting. Read-only. + * + * @return MeetingCapability|null The meetingCapability + */ + public function getMeetingCapability() + { + if (array_key_exists("meetingCapability", $this->_propDict)) { + if (is_a($this->_propDict["meetingCapability"], "\Beta\Microsoft\Graph\Model\MeetingCapability") || is_null($this->_propDict["meetingCapability"])) { + return $this->_propDict["meetingCapability"]; + } else { + $this->_propDict["meetingCapability"] = new MeetingCapability($this->_propDict["meetingCapability"]); + return $this->_propDict["meetingCapability"]; + } + } + return null; + } + + /** + * Sets the meetingCapability + * Contains the capabilities of a meeting. Read-only. + * + * @param MeetingCapability $val The meetingCapability + * + * @return Call + */ + public function setMeetingCapability($val) + { + $this->_propDict["meetingCapability"] = $val; + return $this; + } + + /** + * Gets the meetingInfo + * The meeting information. Required information for meeting scenarios. + * + * @return MeetingInfo|null The meetingInfo + */ + public function getMeetingInfo() + { + if (array_key_exists("meetingInfo", $this->_propDict)) { + if (is_a($this->_propDict["meetingInfo"], "\Beta\Microsoft\Graph\Model\MeetingInfo") || is_null($this->_propDict["meetingInfo"])) { + return $this->_propDict["meetingInfo"]; + } else { + $this->_propDict["meetingInfo"] = new MeetingInfo($this->_propDict["meetingInfo"]); + return $this->_propDict["meetingInfo"]; + } + } + return null; + } + + /** + * Sets the meetingInfo + * The meeting information. Required information for meeting scenarios. + * + * @param MeetingInfo $val The meetingInfo + * + * @return Call + */ + public function setMeetingInfo($val) + { + $this->_propDict["meetingInfo"] = $val; + return $this; + } + + /** + * Gets the myParticipantId + * + * @return string|null The myParticipantId + */ + public function getMyParticipantId() + { + if (array_key_exists("myParticipantId", $this->_propDict)) { + return $this->_propDict["myParticipantId"]; + } else { + return null; + } + } + + /** + * Sets the myParticipantId + * + * @param string $val The myParticipantId + * + * @return Call + */ + public function setMyParticipantId($val) + { + $this->_propDict["myParticipantId"] = $val; + return $this; + } + + + /** + * Gets the requestedModalities + * + * @return array|null The requestedModalities + */ + public function getRequestedModalities() + { + if (array_key_exists("requestedModalities", $this->_propDict)) { + return $this->_propDict["requestedModalities"]; + } else { + return null; + } + } + + /** + * Sets the requestedModalities + * + * @param Modality[] $val The requestedModalities + * + * @return Call + */ + public function setRequestedModalities($val) + { + $this->_propDict["requestedModalities"] = $val; + return $this; + } + + /** + * Gets the resultInfo + * + * @return ResultInfo|null The resultInfo + */ + public function getResultInfo() + { + if (array_key_exists("resultInfo", $this->_propDict)) { + if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["resultInfo"])) { + return $this->_propDict["resultInfo"]; + } else { + $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]); + return $this->_propDict["resultInfo"]; + } + } + return null; + } + + /** + * Sets the resultInfo + * + * @param ResultInfo $val The resultInfo + * + * @return Call + */ + public function setResultInfo($val) + { + $this->_propDict["resultInfo"] = $val; + return $this; + } + + /** + * Gets the ringingTimeoutInSeconds + * + * @return int|null The ringingTimeoutInSeconds + */ + public function getRingingTimeoutInSeconds() + { + if (array_key_exists("ringingTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["ringingTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the ringingTimeoutInSeconds + * + * @param int $val The ringingTimeoutInSeconds + * + * @return Call + */ + public function setRingingTimeoutInSeconds($val) + { + $this->_propDict["ringingTimeoutInSeconds"] = intval($val); + return $this; + } + + + /** + * Gets the routingPolicies + * + * @return array|null The routingPolicies + */ + public function getRoutingPolicies() + { + if (array_key_exists("routingPolicies", $this->_propDict)) { + return $this->_propDict["routingPolicies"]; + } else { + return null; + } + } + + /** + * Sets the routingPolicies + * + * @param RoutingPolicy[] $val The routingPolicies + * + * @return Call + */ + public function setRoutingPolicies($val) + { + $this->_propDict["routingPolicies"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return ParticipantInfo|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\ParticipantInfo") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new ParticipantInfo($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param ParticipantInfo $val The source + * + * @return Call + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return CallState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\CallState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new CallState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param CallState $val The state + * + * @return Call + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Call + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the targets + * + * @return array|null The targets + */ + public function getTargets() + { + if (array_key_exists("targets", $this->_propDict)) { + return $this->_propDict["targets"]; + } else { + return null; + } + } + + /** + * Sets the targets + * + * @param InvitationParticipantInfo[] $val The targets + * + * @return Call + */ + public function setTargets($val) + { + $this->_propDict["targets"] = $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 Call + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the terminationReason + * + * @return string|null The terminationReason + */ + public function getTerminationReason() + { + if (array_key_exists("terminationReason", $this->_propDict)) { + return $this->_propDict["terminationReason"]; + } else { + return null; + } + } + + /** + * Sets the terminationReason + * + * @param string $val The terminationReason + * + * @return Call + */ + public function setTerminationReason($val) + { + $this->_propDict["terminationReason"] = $val; + return $this; + } + + /** + * Gets the toneInfo + * + * @return ToneInfo|null The toneInfo + */ + public function getToneInfo() + { + if (array_key_exists("toneInfo", $this->_propDict)) { + if (is_a($this->_propDict["toneInfo"], "\Beta\Microsoft\Graph\Model\ToneInfo") || is_null($this->_propDict["toneInfo"])) { + return $this->_propDict["toneInfo"]; + } else { + $this->_propDict["toneInfo"] = new ToneInfo($this->_propDict["toneInfo"]); + return $this->_propDict["toneInfo"]; + } + } + return null; + } + + /** + * Sets the toneInfo + * + * @param ToneInfo $val The toneInfo + * + * @return Call + */ + public function setToneInfo($val) + { + $this->_propDict["toneInfo"] = $val; + return $this; + } + + /** + * Gets the transcription + * The transcription information for the call. Read-only. + * + * @return CallTranscriptionInfo|null The transcription + */ + public function getTranscription() + { + if (array_key_exists("transcription", $this->_propDict)) { + if (is_a($this->_propDict["transcription"], "\Beta\Microsoft\Graph\Model\CallTranscriptionInfo") || is_null($this->_propDict["transcription"])) { + return $this->_propDict["transcription"]; + } else { + $this->_propDict["transcription"] = new CallTranscriptionInfo($this->_propDict["transcription"]); + return $this->_propDict["transcription"]; + } + } + return null; + } + + /** + * Sets the transcription + * The transcription information for the call. Read-only. + * + * @param CallTranscriptionInfo $val The transcription + * + * @return Call + */ + public function setTranscription($val) + { + $this->_propDict["transcription"] = $val; + return $this; + } + + + /** + * Gets the audioRoutingGroups + * Read-only. Nullable. + * + * @return array|null The audioRoutingGroups + */ + public function getAudioRoutingGroups() + { + if (array_key_exists("audioRoutingGroups", $this->_propDict)) { + return $this->_propDict["audioRoutingGroups"]; + } else { + return null; + } + } + + /** + * Sets the audioRoutingGroups + * Read-only. Nullable. + * + * @param AudioRoutingGroup[] $val The audioRoutingGroups + * + * @return Call + */ + public function setAudioRoutingGroups($val) + { + $this->_propDict["audioRoutingGroups"] = $val; + return $this; + } + + + /** + * Gets the contentSharingSessions + * Read-only. Nullable. + * + * @return array|null The contentSharingSessions + */ + public function getContentSharingSessions() + { + if (array_key_exists("contentSharingSessions", $this->_propDict)) { + return $this->_propDict["contentSharingSessions"]; + } else { + return null; + } + } + + /** + * Sets the contentSharingSessions + * Read-only. Nullable. + * + * @param ContentSharingSession[] $val The contentSharingSessions + * + * @return Call + */ + public function setContentSharingSessions($val) + { + $this->_propDict["contentSharingSessions"] = $val; + return $this; + } + + + /** + * Gets the operations + * Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Read-only. Nullable. + * + * @param CommsOperation[] $val The operations + * + * @return Call + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the participants + * Read-only. Nullable. + * + * @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 + * Read-only. Nullable. + * + * @param Participant[] $val The participants + * + * @return Call + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallActivityStatistics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallActivityStatistics.php new file mode 100644 index 0000000..bc95d10 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallActivityStatistics.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["afterHours"], "\DateInterval") || is_null($this->_propDict["afterHours"])) { + return $this->_propDict["afterHours"]; + } else { + $this->_propDict["afterHours"] = new \DateInterval($this->_propDict["afterHours"]); + return $this->_propDict["afterHours"]; + } + } + return null; + } + + /** + * Sets the afterHours + * Time spent on calls outside of working hours, which is based on the user's Outlook calendar setting for work hours. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The afterHours + * + * @return CallActivityStatistics + */ + public function setAfterHours($val) + { + $this->_propDict["afterHours"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallDirection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallDirection.php new file mode 100644 index 0000000..efe834c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallDirection.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.callEndedEventMessageDetail"); + } + + + /** + * Gets the callDuration + * Duration of the call. + * + * @return \DateInterval|null The callDuration + */ + public function getCallDuration() + { + if (array_key_exists("callDuration", $this->_propDict)) { + if (is_a($this->_propDict["callDuration"], "\DateInterval") || is_null($this->_propDict["callDuration"])) { + return $this->_propDict["callDuration"]; + } else { + $this->_propDict["callDuration"] = new \DateInterval($this->_propDict["callDuration"]); + return $this->_propDict["callDuration"]; + } + } + return null; + } + + /** + * Sets the callDuration + * Duration of the call. + * + * @param \DateInterval $val The value to assign to the callDuration + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setCallDuration($val) + { + $this->_propDict["callDuration"] = $val; + return $this; + } + + /** + * Gets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @return TeamworkCallEventType|null The callEventType + */ + public function getCallEventType() + { + if (array_key_exists("callEventType", $this->_propDict)) { + if (is_a($this->_propDict["callEventType"], "\Beta\Microsoft\Graph\Model\TeamworkCallEventType") || is_null($this->_propDict["callEventType"])) { + return $this->_propDict["callEventType"]; + } else { + $this->_propDict["callEventType"] = new TeamworkCallEventType($this->_propDict["callEventType"]); + return $this->_propDict["callEventType"]; + } + } + return null; + } + + /** + * Sets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @param TeamworkCallEventType $val The value to assign to the callEventType + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setCallEventType($val) + { + $this->_propDict["callEventType"] = $val; + return $this; + } + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallEndedEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + + /** + * Gets the callParticipants + * List of call participants. + * + * @return CallParticipantInfo|null The callParticipants + */ + public function getCallParticipants() + { + if (array_key_exists("callParticipants", $this->_propDict)) { + if (is_a($this->_propDict["callParticipants"], "\Beta\Microsoft\Graph\Model\CallParticipantInfo") || is_null($this->_propDict["callParticipants"])) { + return $this->_propDict["callParticipants"]; + } else { + $this->_propDict["callParticipants"] = new CallParticipantInfo($this->_propDict["callParticipants"]); + return $this->_propDict["callParticipants"]; + } + } + return null; + } + + /** + * Sets the callParticipants + * List of call participants. + * + * @param CallParticipantInfo $val The value to assign to the callParticipants + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setCallParticipants($val) + { + $this->_propDict["callParticipants"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallMediaState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallMediaState.php new file mode 100644 index 0000000..baec3d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallMediaState.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["audio"], "\Beta\Microsoft\Graph\Model\MediaState") || is_null($this->_propDict["audio"])) { + return $this->_propDict["audio"]; + } else { + $this->_propDict["audio"] = new MediaState($this->_propDict["audio"]); + return $this->_propDict["audio"]; + } + } + return null; + } + + /** + * Sets the audio + * The audio media state. Possible values are: active, inactive, unknownFutureValue. + * + * @param MediaState $val The value to assign to the audio + * + * @return CallMediaState The CallMediaState + */ + public function setAudio($val) + { + $this->_propDict["audio"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallOptions.php new file mode 100644 index 0000000..3963afb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallOptions.php @@ -0,0 +1,80 @@ +_propDict)) { + return $this->_propDict["hideBotAfterEscalation"]; + } else { + return null; + } + } + + /** + * Sets the hideBotAfterEscalation + * + * @param bool $val The value of the hideBotAfterEscalation + * + * @return CallOptions + */ + public function setHideBotAfterEscalation($val) + { + $this->_propDict["hideBotAfterEscalation"] = $val; + return $this; + } + /** + * Gets the isContentSharingNotificationEnabled + * Indicates whether content sharing notifications should be enabled for the call. + * + * @return bool|null The isContentSharingNotificationEnabled + */ + public function getIsContentSharingNotificationEnabled() + { + if (array_key_exists("isContentSharingNotificationEnabled", $this->_propDict)) { + return $this->_propDict["isContentSharingNotificationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isContentSharingNotificationEnabled + * Indicates whether content sharing notifications should be enabled for the call. + * + * @param bool $val The value of the isContentSharingNotificationEnabled + * + * @return CallOptions + */ + public function setIsContentSharingNotificationEnabled($val) + { + $this->_propDict["isContentSharingNotificationEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallParticipantInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallParticipantInfo.php new file mode 100644 index 0000000..4e83c66 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallParticipantInfo.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["participant"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["participant"])) { + return $this->_propDict["participant"]; + } else { + $this->_propDict["participant"] = new IdentitySet($this->_propDict["participant"]); + return $this->_propDict["participant"]; + } + } + return null; + } + + /** + * Sets the participant + * Identity of the call participant. + * + * @param IdentitySet $val The value to assign to the participant + * + * @return CallParticipantInfo The CallParticipantInfo + */ + public function setParticipant($val) + { + $this->_propDict["participant"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallRecordingEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallRecordingEventMessageDetail.php new file mode 100644 index 0000000..cea8835 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallRecordingEventMessageDetail.php @@ -0,0 +1,253 @@ +setODataType("#microsoft.graph.callRecordingEventMessageDetail"); + } + + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallRecordingEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + /** + * Gets the callRecordingDisplayName + * Display name for the call recording. + * + * @return string|null The callRecordingDisplayName + */ + public function getCallRecordingDisplayName() + { + if (array_key_exists("callRecordingDisplayName", $this->_propDict)) { + return $this->_propDict["callRecordingDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the callRecordingDisplayName + * Display name for the call recording. + * + * @param string $val The value of the callRecordingDisplayName + * + * @return CallRecordingEventMessageDetail + */ + public function setCallRecordingDisplayName($val) + { + $this->_propDict["callRecordingDisplayName"] = $val; + return $this; + } + + /** + * Gets the callRecordingDuration + * Duration of the call recording. + * + * @return \DateInterval|null The callRecordingDuration + */ + public function getCallRecordingDuration() + { + if (array_key_exists("callRecordingDuration", $this->_propDict)) { + if (is_a($this->_propDict["callRecordingDuration"], "\DateInterval") || is_null($this->_propDict["callRecordingDuration"])) { + return $this->_propDict["callRecordingDuration"]; + } else { + $this->_propDict["callRecordingDuration"] = new \DateInterval($this->_propDict["callRecordingDuration"]); + return $this->_propDict["callRecordingDuration"]; + } + } + return null; + } + + /** + * Sets the callRecordingDuration + * Duration of the call recording. + * + * @param \DateInterval $val The value to assign to the callRecordingDuration + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setCallRecordingDuration($val) + { + $this->_propDict["callRecordingDuration"] = $val; + return $this; + } + + /** + * Gets the callRecordingStatus + * Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue. + * + * @return CallRecordingStatus|null The callRecordingStatus + */ + public function getCallRecordingStatus() + { + if (array_key_exists("callRecordingStatus", $this->_propDict)) { + if (is_a($this->_propDict["callRecordingStatus"], "\Beta\Microsoft\Graph\Model\CallRecordingStatus") || is_null($this->_propDict["callRecordingStatus"])) { + return $this->_propDict["callRecordingStatus"]; + } else { + $this->_propDict["callRecordingStatus"] = new CallRecordingStatus($this->_propDict["callRecordingStatus"]); + return $this->_propDict["callRecordingStatus"]; + } + } + return null; + } + + /** + * Sets the callRecordingStatus + * Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue. + * + * @param CallRecordingStatus $val The value to assign to the callRecordingStatus + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setCallRecordingStatus($val) + { + $this->_propDict["callRecordingStatus"] = $val; + return $this; + } + /** + * Gets the callRecordingUrl + * Call recording URL. + * + * @return string|null The callRecordingUrl + */ + public function getCallRecordingUrl() + { + if (array_key_exists("callRecordingUrl", $this->_propDict)) { + return $this->_propDict["callRecordingUrl"]; + } else { + return null; + } + } + + /** + * Sets the callRecordingUrl + * Call recording URL. + * + * @param string $val The value of the callRecordingUrl + * + * @return CallRecordingEventMessageDetail + */ + public function setCallRecordingUrl($val) + { + $this->_propDict["callRecordingUrl"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizer + * Organizer of the meeting. + * + * @return IdentitySet|null The meetingOrganizer + */ + public function getMeetingOrganizer() + { + if (array_key_exists("meetingOrganizer", $this->_propDict)) { + if (is_a($this->_propDict["meetingOrganizer"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["meetingOrganizer"])) { + return $this->_propDict["meetingOrganizer"]; + } else { + $this->_propDict["meetingOrganizer"] = new IdentitySet($this->_propDict["meetingOrganizer"]); + return $this->_propDict["meetingOrganizer"]; + } + } + return null; + } + + /** + * Sets the meetingOrganizer + * Organizer of the meeting. + * + * @param IdentitySet $val The value to assign to the meetingOrganizer + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setMeetingOrganizer($val) + { + $this->_propDict["meetingOrganizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallRecordingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallRecordingStatus.php new file mode 100644 index 0000000..d54052b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallRecordingStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["final"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["final"])) { + return $this->_propDict["final"]; + } else { + $this->_propDict["final"] = new IdentitySet($this->_propDict["final"]); + return $this->_propDict["final"]; + } + } + return null; + } + + /** + * Sets the final + * The identity that was resolved to in the call. + * + * @param IdentitySet $val The value to assign to the final + * + * @return CallRoute The CallRoute + */ + public function setFinal($val) + { + $this->_propDict["final"] = $val; + return $this; + } + + /** + * Gets the original + * The identity that was originally used in the call. + * + * @return IdentitySet|null The original + */ + public function getOriginal() + { + if (array_key_exists("original", $this->_propDict)) { + if (is_a($this->_propDict["original"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["original"])) { + return $this->_propDict["original"]; + } else { + $this->_propDict["original"] = new IdentitySet($this->_propDict["original"]); + return $this->_propDict["original"]; + } + } + return null; + } + + /** + * Sets the original + * The identity that was originally used in the call. + * + * @param IdentitySet $val The value to assign to the original + * + * @return CallRoute The CallRoute + */ + public function setOriginal($val) + { + $this->_propDict["original"] = $val; + return $this; + } + + /** + * Gets the routingType + * Possible values are: forwarded, lookup, selfFork. + * + * @return RoutingType|null The routingType + */ + public function getRoutingType() + { + if (array_key_exists("routingType", $this->_propDict)) { + if (is_a($this->_propDict["routingType"], "\Beta\Microsoft\Graph\Model\RoutingType") || is_null($this->_propDict["routingType"])) { + return $this->_propDict["routingType"]; + } else { + $this->_propDict["routingType"] = new RoutingType($this->_propDict["routingType"]); + return $this->_propDict["routingType"]; + } + } + return null; + } + + /** + * Sets the routingType + * Possible values are: forwarded, lookup, selfFork. + * + * @param RoutingType $val The value to assign to the routingType + * + * @return CallRoute The CallRoute + */ + public function setRoutingType($val) + { + $this->_propDict["routingType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallStartedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallStartedEventMessageDetail.php new file mode 100644 index 0000000..9f5c895 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallStartedEventMessageDetail.php @@ -0,0 +1,131 @@ +setODataType("#microsoft.graph.callStartedEventMessageDetail"); + } + + + /** + * Gets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @return TeamworkCallEventType|null The callEventType + */ + public function getCallEventType() + { + if (array_key_exists("callEventType", $this->_propDict)) { + if (is_a($this->_propDict["callEventType"], "\Beta\Microsoft\Graph\Model\TeamworkCallEventType") || is_null($this->_propDict["callEventType"])) { + return $this->_propDict["callEventType"]; + } else { + $this->_propDict["callEventType"] = new TeamworkCallEventType($this->_propDict["callEventType"]); + return $this->_propDict["callEventType"]; + } + } + return null; + } + + /** + * Sets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @param TeamworkCallEventType $val The value to assign to the callEventType + * + * @return CallStartedEventMessageDetail The CallStartedEventMessageDetail + */ + public function setCallEventType($val) + { + $this->_propDict["callEventType"] = $val; + return $this; + } + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallStartedEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return CallStartedEventMessageDetail The CallStartedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallState.php new file mode 100644 index 0000000..a741eff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallState.php @@ -0,0 +1,43 @@ +setODataType("#microsoft.graph.callTranscriptEventMessageDetail"); + } + + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallTranscriptEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + /** + * Gets the callTranscriptICalUid + * Unique identifier for a call transcript. + * + * @return string|null The callTranscriptICalUid + */ + public function getCallTranscriptICalUid() + { + if (array_key_exists("callTranscriptICalUid", $this->_propDict)) { + return $this->_propDict["callTranscriptICalUid"]; + } else { + return null; + } + } + + /** + * Sets the callTranscriptICalUid + * Unique identifier for a call transcript. + * + * @param string $val The value of the callTranscriptICalUid + * + * @return CallTranscriptEventMessageDetail + */ + public function setCallTranscriptICalUid($val) + { + $this->_propDict["callTranscriptICalUid"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizer + * The organizer of the meeting. + * + * @return IdentitySet|null The meetingOrganizer + */ + public function getMeetingOrganizer() + { + if (array_key_exists("meetingOrganizer", $this->_propDict)) { + if (is_a($this->_propDict["meetingOrganizer"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["meetingOrganizer"])) { + return $this->_propDict["meetingOrganizer"]; + } else { + $this->_propDict["meetingOrganizer"] = new IdentitySet($this->_propDict["meetingOrganizer"]); + return $this->_propDict["meetingOrganizer"]; + } + } + return null; + } + + /** + * Sets the meetingOrganizer + * The organizer of the meeting. + * + * @param IdentitySet $val The value to assign to the meetingOrganizer + * + * @return CallTranscriptEventMessageDetail The CallTranscriptEventMessageDetail + */ + public function setMeetingOrganizer($val) + { + $this->_propDict["meetingOrganizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionInfo.php new file mode 100644 index 0000000..1503299 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionInfo.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The state modified time in UTC. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return CallTranscriptionInfo The CallTranscriptionInfo + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Possible values are: notStarted, active, inactive. + * + * @return CallTranscriptionState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\CallTranscriptionState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new CallTranscriptionState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Possible values are: notStarted, active, inactive. + * + * @param CallTranscriptionState $val The value to assign to the state + * + * @return CallTranscriptionInfo The CallTranscriptionInfo + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionState.php new file mode 100644 index 0000000..15a67c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionState.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["classroomIds"]; + } else { + return null; + } + } + + /** + * Sets the classroomIds + * Identifiers of classrooms to be associated with device carts. + * + * @param string $val The classroomIds + * + * @return CartToClassAssociation + */ + public function setClassroomIds($val) + { + $this->_propDict["classroomIds"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * DateTime the object was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return CartToClassAssociation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the CartToClassAssociation. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the CartToClassAssociation. + * + * @param string $val The description + * + * @return CartToClassAssociation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceCartIds + * Identifiers of device carts to be associated with classes. + * + * @return string|null The deviceCartIds + */ + public function getDeviceCartIds() + { + if (array_key_exists("deviceCartIds", $this->_propDict)) { + return $this->_propDict["deviceCartIds"]; + } else { + return null; + } + } + + /** + * Sets the deviceCartIds + * Identifiers of device carts to be associated with classes. + * + * @param string $val The deviceCartIds + * + * @return CartToClassAssociation + */ + public function setDeviceCartIds($val) + { + $this->_propDict["deviceCartIds"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return CartToClassAssociation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CartToClassAssociation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the CartToClassAssociation. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the CartToClassAssociation. + * + * @param int $val The version + * + * @return CartToClassAssociation + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CategoryColor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CategoryColor.php new file mode 100644 index 0000000..9610cc2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CategoryColor.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["certificate"])) { + return $this->_propDict["certificate"]; + } else { + $this->_propDict["certificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["certificate"]); + return $this->_propDict["certificate"]; + } + } + return null; + } + + /** + * Sets the certificate + * Required. The base64 encoded string representing the public certificate. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the certificate + * + * @return CertificateAuthority The CertificateAuthority + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + /** + * Gets the certificateRevocationListUrl + * The URL of the certificate revocation list. + * + * @return string|null The certificateRevocationListUrl + */ + public function getCertificateRevocationListUrl() + { + if (array_key_exists("certificateRevocationListUrl", $this->_propDict)) { + return $this->_propDict["certificateRevocationListUrl"]; + } else { + return null; + } + } + + /** + * Sets the certificateRevocationListUrl + * The URL of the certificate revocation list. + * + * @param string $val The value of the certificateRevocationListUrl + * + * @return CertificateAuthority + */ + public function setCertificateRevocationListUrl($val) + { + $this->_propDict["certificateRevocationListUrl"] = $val; + return $this; + } + /** + * Gets the deltaCertificateRevocationListUrl + * The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created. + * + * @return string|null The deltaCertificateRevocationListUrl + */ + public function getDeltaCertificateRevocationListUrl() + { + if (array_key_exists("deltaCertificateRevocationListUrl", $this->_propDict)) { + return $this->_propDict["deltaCertificateRevocationListUrl"]; + } else { + return null; + } + } + + /** + * Sets the deltaCertificateRevocationListUrl + * The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created. + * + * @param string $val The value of the deltaCertificateRevocationListUrl + * + * @return CertificateAuthority + */ + public function setDeltaCertificateRevocationListUrl($val) + { + $this->_propDict["deltaCertificateRevocationListUrl"] = $val; + return $this; + } + /** + * Gets the isRootAuthority + * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority. + * + * @return bool|null The isRootAuthority + */ + public function getIsRootAuthority() + { + if (array_key_exists("isRootAuthority", $this->_propDict)) { + return $this->_propDict["isRootAuthority"]; + } else { + return null; + } + } + + /** + * Sets the isRootAuthority + * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority. + * + * @param bool $val The value of the isRootAuthority + * + * @return CertificateAuthority + */ + public function setIsRootAuthority($val) + { + $this->_propDict["isRootAuthority"] = $val; + return $this; + } + /** + * Gets the issuer + * The issuer of the certificate, calculated from the certificate value. Read-only. + * + * @return string|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * The issuer of the certificate, calculated from the certificate value. Read-only. + * + * @param string $val The value of the issuer + * + * @return CertificateAuthority + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + /** + * Gets the issuerSki + * The subject key identifier of the certificate, calculated from the certificate value. Read-only. + * + * @return string|null The issuerSki + */ + public function getIssuerSki() + { + if (array_key_exists("issuerSki", $this->_propDict)) { + return $this->_propDict["issuerSki"]; + } else { + return null; + } + } + + /** + * Sets the issuerSki + * The subject key identifier of the certificate, calculated from the certificate value. Read-only. + * + * @param string $val The value of the issuerSki + * + * @return CertificateAuthority + */ + public function setIssuerSki($val) + { + $this->_propDict["issuerSki"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateBasedAuthConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateBasedAuthConfiguration.php new file mode 100644 index 0000000..865e201 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateBasedAuthConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["certificateAuthorities"]; + } else { + return null; + } + } + + /** + * Sets the certificateAuthorities + * Collection of certificate authorities which creates a trusted certificate chain. + * + * @param CertificateAuthority[] $val The certificateAuthorities + * + * @return CertificateBasedAuthConfiguration + */ + public function setCertificateAuthorities($val) + { + $this->_propDict["certificateAuthorities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php new file mode 100644 index 0000000..05a7b86 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorDetails.php @@ -0,0 +1,151 @@ +_propDict)) { + return $this->_propDict["connectorName"]; + } else { + return null; + } + } + + /** + * Sets the connectorName + * Connector name (set during enrollment). + * + * @param string $val The connectorName + * + * @return CertificateConnectorDetails + */ + public function setConnectorName($val) + { + $this->_propDict["connectorName"] = $val; + return $this; + } + + /** + * Gets the enrollmentDateTime + * Date/time when this connector was enrolled. + * + * @return \DateTime|null The enrollmentDateTime + */ + public function getEnrollmentDateTime() + { + if (array_key_exists("enrollmentDateTime", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentDateTime"], "\DateTime") || is_null($this->_propDict["enrollmentDateTime"])) { + return $this->_propDict["enrollmentDateTime"]; + } else { + $this->_propDict["enrollmentDateTime"] = new \DateTime($this->_propDict["enrollmentDateTime"]); + return $this->_propDict["enrollmentDateTime"]; + } + } + return null; + } + + /** + * Sets the enrollmentDateTime + * Date/time when this connector was enrolled. + * + * @param \DateTime $val The enrollmentDateTime + * + * @return CertificateConnectorDetails + */ + public function setEnrollmentDateTime($val) + { + $this->_propDict["enrollmentDateTime"] = $val; + return $this; + } + + /** + * Gets the lastCheckinDateTime + * Date/time when this connector last connected to the service. + * + * @return \DateTime|null The lastCheckinDateTime + */ + public function getLastCheckinDateTime() + { + if (array_key_exists("lastCheckinDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCheckinDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckinDateTime"])) { + return $this->_propDict["lastCheckinDateTime"]; + } else { + $this->_propDict["lastCheckinDateTime"] = new \DateTime($this->_propDict["lastCheckinDateTime"]); + return $this->_propDict["lastCheckinDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckinDateTime + * Date/time when this connector last connected to the service. + * + * @param \DateTime $val The lastCheckinDateTime + * + * @return CertificateConnectorDetails + */ + public function setLastCheckinDateTime($val) + { + $this->_propDict["lastCheckinDateTime"] = $val; + return $this; + } + + /** + * Gets the machineName + * Name of the machine hosting this connector service. + * + * @return string|null The machineName + */ + public function getMachineName() + { + if (array_key_exists("machineName", $this->_propDict)) { + return $this->_propDict["machineName"]; + } else { + return null; + } + } + + /** + * Sets the machineName + * Name of the machine hosting this connector service. + * + * @param string $val The machineName + * + * @return CertificateConnectorDetails + */ + public function setMachineName($val) + { + $this->_propDict["machineName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorHealthMetricValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorHealthMetricValue.php new file mode 100644 index 0000000..c21bad3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorHealthMetricValue.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["dateTime"], "\DateTime") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new \DateTime($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * Timestamp for this metric data-point. + * + * @param \DateTime $val The value to assign to the dateTime + * + * @return CertificateConnectorHealthMetricValue The CertificateConnectorHealthMetricValue + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + /** + * Gets the failureCount + * Count of failed requests/operations. + * + * @return int|null The failureCount + */ + public function getFailureCount() + { + if (array_key_exists("failureCount", $this->_propDict)) { + return $this->_propDict["failureCount"]; + } else { + return null; + } + } + + /** + * Sets the failureCount + * Count of failed requests/operations. + * + * @param int $val The value of the failureCount + * + * @return CertificateConnectorHealthMetricValue + */ + public function setFailureCount($val) + { + $this->_propDict["failureCount"] = $val; + return $this; + } + /** + * Gets the successCount + * Count of successful requests/operations. + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Count of successful requests/operations. + * + * @param int $val The value of the successCount + * + * @return CertificateConnectorHealthMetricValue + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorSetting.php new file mode 100644 index 0000000..3c67815 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorSetting.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["certExpiryTime"], "\DateTime") || is_null($this->_propDict["certExpiryTime"])) { + return $this->_propDict["certExpiryTime"]; + } else { + $this->_propDict["certExpiryTime"] = new \DateTime($this->_propDict["certExpiryTime"]); + return $this->_propDict["certExpiryTime"]; + } + } + return null; + } + + /** + * Sets the certExpiryTime + * Certificate expire time + * + * @param \DateTime $val The value to assign to the certExpiryTime + * + * @return CertificateConnectorSetting The CertificateConnectorSetting + */ + public function setCertExpiryTime($val) + { + $this->_propDict["certExpiryTime"] = $val; + return $this; + } + /** + * Gets the connectorVersion + * Version of certificate connector + * + * @return string|null The connectorVersion + */ + public function getConnectorVersion() + { + if (array_key_exists("connectorVersion", $this->_propDict)) { + return $this->_propDict["connectorVersion"]; + } else { + return null; + } + } + + /** + * Sets the connectorVersion + * Version of certificate connector + * + * @param string $val The value of the connectorVersion + * + * @return CertificateConnectorSetting + */ + public function setConnectorVersion($val) + { + $this->_propDict["connectorVersion"] = $val; + return $this; + } + /** + * Gets the enrollmentError + * Certificate connector enrollment error + * + * @return string|null The enrollmentError + */ + public function getEnrollmentError() + { + if (array_key_exists("enrollmentError", $this->_propDict)) { + return $this->_propDict["enrollmentError"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentError + * Certificate connector enrollment error + * + * @param string $val The value of the enrollmentError + * + * @return CertificateConnectorSetting + */ + public function setEnrollmentError($val) + { + $this->_propDict["enrollmentError"] = $val; + return $this; + } + + /** + * Gets the lastConnectorConnectionTime + * Last time certificate connector connected + * + * @return \DateTime|null The lastConnectorConnectionTime + */ + public function getLastConnectorConnectionTime() + { + if (array_key_exists("lastConnectorConnectionTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectorConnectionTime"], "\DateTime") || is_null($this->_propDict["lastConnectorConnectionTime"])) { + return $this->_propDict["lastConnectorConnectionTime"]; + } else { + $this->_propDict["lastConnectorConnectionTime"] = new \DateTime($this->_propDict["lastConnectorConnectionTime"]); + return $this->_propDict["lastConnectorConnectionTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectorConnectionTime + * Last time certificate connector connected + * + * @param \DateTime $val The value to assign to the lastConnectorConnectionTime + * + * @return CertificateConnectorSetting The CertificateConnectorSetting + */ + public function setLastConnectorConnectionTime($val) + { + $this->_propDict["lastConnectorConnectionTime"] = $val; + return $this; + } + /** + * Gets the lastUploadVersion + * Version of last uploaded certificate connector + * + * @return int|null The lastUploadVersion + */ + public function getLastUploadVersion() + { + if (array_key_exists("lastUploadVersion", $this->_propDict)) { + return $this->_propDict["lastUploadVersion"]; + } else { + return null; + } + } + + /** + * Sets the lastUploadVersion + * Version of last uploaded certificate connector + * + * @param int $val The value of the lastUploadVersion + * + * @return CertificateConnectorSetting + */ + public function setLastUploadVersion($val) + { + $this->_propDict["lastUploadVersion"] = $val; + return $this; + } + /** + * Gets the status + * Certificate connector status + * + * @return int|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Certificate connector status + * + * @param int $val The value of the status + * + * @return CertificateConnectorSetting + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateDestinationStore.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateDestinationStore.php new file mode 100644 index 0000000..3dfbf71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateDestinationStore.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["certificationDetailsUrl"]; + } else { + return null; + } + } + + /** + * Sets the certificationDetailsUrl + * URL that shows certification details for the application. + * + * @param string $val The value of the certificationDetailsUrl + * + * @return Certification + */ + public function setCertificationDetailsUrl($val) + { + $this->_propDict["certificationDetailsUrl"] = $val; + return $this; + } + + /** + * Gets the certificationExpirationDateTime + * The timestamp when the current certification for the application will expire. + * + * @return \DateTime|null The certificationExpirationDateTime + */ + public function getCertificationExpirationDateTime() + { + if (array_key_exists("certificationExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["certificationExpirationDateTime"], "\DateTime") || is_null($this->_propDict["certificationExpirationDateTime"])) { + return $this->_propDict["certificationExpirationDateTime"]; + } else { + $this->_propDict["certificationExpirationDateTime"] = new \DateTime($this->_propDict["certificationExpirationDateTime"]); + return $this->_propDict["certificationExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the certificationExpirationDateTime + * The timestamp when the current certification for the application will expire. + * + * @param \DateTime $val The value to assign to the certificationExpirationDateTime + * + * @return Certification The Certification + */ + public function setCertificationExpirationDateTime($val) + { + $this->_propDict["certificationExpirationDateTime"] = $val; + return $this; + } + /** + * Gets the isCertifiedByMicrosoft + * Indicates whether the application is certified by Microsoft. + * + * @return bool|null The isCertifiedByMicrosoft + */ + public function getIsCertifiedByMicrosoft() + { + if (array_key_exists("isCertifiedByMicrosoft", $this->_propDict)) { + return $this->_propDict["isCertifiedByMicrosoft"]; + } else { + return null; + } + } + + /** + * Sets the isCertifiedByMicrosoft + * Indicates whether the application is certified by Microsoft. + * + * @param bool $val The value of the isCertifiedByMicrosoft + * + * @return Certification + */ + public function setIsCertifiedByMicrosoft($val) + { + $this->_propDict["isCertifiedByMicrosoft"] = $val; + return $this; + } + /** + * Gets the isPublisherAttested + * Indicates whether the application has been self-attested by the application developer or the publisher. + * + * @return bool|null The isPublisherAttested + */ + public function getIsPublisherAttested() + { + if (array_key_exists("isPublisherAttested", $this->_propDict)) { + return $this->_propDict["isPublisherAttested"]; + } else { + return null; + } + } + + /** + * Sets the isPublisherAttested + * Indicates whether the application has been self-attested by the application developer or the publisher. + * + * @param bool $val The value of the isPublisherAttested + * + * @return Certification + */ + public function setIsPublisherAttested($val) + { + $this->_propDict["isPublisherAttested"] = $val; + return $this; + } + + /** + * Gets the lastCertificationDateTime + * The timestamp when the certification for the application was most recently added or updated. + * + * @return \DateTime|null The lastCertificationDateTime + */ + public function getLastCertificationDateTime() + { + if (array_key_exists("lastCertificationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCertificationDateTime"], "\DateTime") || is_null($this->_propDict["lastCertificationDateTime"])) { + return $this->_propDict["lastCertificationDateTime"]; + } else { + $this->_propDict["lastCertificationDateTime"] = new \DateTime($this->_propDict["lastCertificationDateTime"]); + return $this->_propDict["lastCertificationDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCertificationDateTime + * The timestamp when the certification for the application was most recently added or updated. + * + * @param \DateTime $val The value to assign to the lastCertificationDateTime + * + * @return Certification The Certification + */ + public function setLastCertificationDateTime($val) + { + $this->_propDict["lastCertificationDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificationControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificationControl.php new file mode 100644 index 0000000..3f12257 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificationControl.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Certification control name + * + * @param string $val The value of the name + * + * @return CertificationControl + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the url + * URL for the Microsoft Service Trust Portal + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * URL for the Microsoft Service Trust Portal + * + * @param string $val The value of the url + * + * @return CertificationControl + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotification.php new file mode 100644 index 0000000..4c3de13 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotification.php @@ -0,0 +1,331 @@ +_propDict)) { + if (is_a($this->_propDict["changeType"], "\Beta\Microsoft\Graph\Model\ChangeType") || is_null($this->_propDict["changeType"])) { + return $this->_propDict["changeType"]; + } else { + $this->_propDict["changeType"] = new ChangeType($this->_propDict["changeType"]); + return $this->_propDict["changeType"]; + } + } + return null; + } + + /** + * Sets the changeType + * Indicates the type of change that will raise the change notification. The supported values are: created, updated, deleted. Required. + * + * @param ChangeType $val The value to assign to the changeType + * + * @return ChangeNotification The ChangeNotification + */ + public function setChangeType($val) + { + $this->_propDict["changeType"] = $val; + return $this; + } + /** + * Gets the clientState + * Value of the clientState property sent specified in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional. + * + * @return string|null The clientState + */ + public function getClientState() + { + if (array_key_exists("clientState", $this->_propDict)) { + return $this->_propDict["clientState"]; + } else { + return null; + } + } + + /** + * Sets the clientState + * Value of the clientState property sent specified in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional. + * + * @param string $val The value of the clientState + * + * @return ChangeNotification + */ + public function setClientState($val) + { + $this->_propDict["clientState"] = $val; + return $this; + } + + /** + * Gets the encryptedContent + * (Preview) Encrypted content attached with the change notification. Only provided if encryptionCertificate and includeResourceData were defined during the subscription request and if the resource supports it. Optional. + * + * @return ChangeNotificationEncryptedContent|null The encryptedContent + */ + public function getEncryptedContent() + { + if (array_key_exists("encryptedContent", $this->_propDict)) { + if (is_a($this->_propDict["encryptedContent"], "\Beta\Microsoft\Graph\Model\ChangeNotificationEncryptedContent") || is_null($this->_propDict["encryptedContent"])) { + return $this->_propDict["encryptedContent"]; + } else { + $this->_propDict["encryptedContent"] = new ChangeNotificationEncryptedContent($this->_propDict["encryptedContent"]); + return $this->_propDict["encryptedContent"]; + } + } + return null; + } + + /** + * Sets the encryptedContent + * (Preview) Encrypted content attached with the change notification. Only provided if encryptionCertificate and includeResourceData were defined during the subscription request and if the resource supports it. Optional. + * + * @param ChangeNotificationEncryptedContent $val The value to assign to the encryptedContent + * + * @return ChangeNotification The ChangeNotification + */ + public function setEncryptedContent($val) + { + $this->_propDict["encryptedContent"] = $val; + return $this; + } + /** + * Gets the id + * Unique ID for the notification. Optional. + * + * @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 + * Unique ID for the notification. Optional. + * + * @param string $val The value of the id + * + * @return ChangeNotification + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the lifecycleEvent + * The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired. Optional. + * + * @return LifecycleEventType|null The lifecycleEvent + */ + public function getLifecycleEvent() + { + if (array_key_exists("lifecycleEvent", $this->_propDict)) { + if (is_a($this->_propDict["lifecycleEvent"], "\Beta\Microsoft\Graph\Model\LifecycleEventType") || is_null($this->_propDict["lifecycleEvent"])) { + return $this->_propDict["lifecycleEvent"]; + } else { + $this->_propDict["lifecycleEvent"] = new LifecycleEventType($this->_propDict["lifecycleEvent"]); + return $this->_propDict["lifecycleEvent"]; + } + } + return null; + } + + /** + * Sets the lifecycleEvent + * The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired. Optional. + * + * @param LifecycleEventType $val The value to assign to the lifecycleEvent + * + * @return ChangeNotification The ChangeNotification + */ + public function setLifecycleEvent($val) + { + $this->_propDict["lifecycleEvent"] = $val; + return $this; + } + /** + * Gets the resource + * The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required. + * + * @return string|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required. + * + * @param string $val The value of the resource + * + * @return ChangeNotification + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceData + * The content of this property depends on the type of resource being subscribed to. Optional. + * + * @return ResourceData|null The resourceData + */ + public function getResourceData() + { + if (array_key_exists("resourceData", $this->_propDict)) { + if (is_a($this->_propDict["resourceData"], "\Beta\Microsoft\Graph\Model\ResourceData") || is_null($this->_propDict["resourceData"])) { + return $this->_propDict["resourceData"]; + } else { + $this->_propDict["resourceData"] = new ResourceData($this->_propDict["resourceData"]); + return $this->_propDict["resourceData"]; + } + } + return null; + } + + /** + * Sets the resourceData + * The content of this property depends on the type of resource being subscribed to. Optional. + * + * @param ResourceData $val The value to assign to the resourceData + * + * @return ChangeNotification The ChangeNotification + */ + public function setResourceData($val) + { + $this->_propDict["resourceData"] = $val; + return $this; + } + + /** + * Gets the subscriptionExpirationDateTime + * The expiration time for the subscription. Required. + * + * @return \DateTime|null The subscriptionExpirationDateTime + */ + public function getSubscriptionExpirationDateTime() + { + if (array_key_exists("subscriptionExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["subscriptionExpirationDateTime"], "\DateTime") || is_null($this->_propDict["subscriptionExpirationDateTime"])) { + return $this->_propDict["subscriptionExpirationDateTime"]; + } else { + $this->_propDict["subscriptionExpirationDateTime"] = new \DateTime($this->_propDict["subscriptionExpirationDateTime"]); + return $this->_propDict["subscriptionExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the subscriptionExpirationDateTime + * The expiration time for the subscription. Required. + * + * @param \DateTime $val The value to assign to the subscriptionExpirationDateTime + * + * @return ChangeNotification The ChangeNotification + */ + public function setSubscriptionExpirationDateTime($val) + { + $this->_propDict["subscriptionExpirationDateTime"] = $val; + return $this; + } + /** + * Gets the subscriptionId + * The unique identifier of the subscription that generated the notification. Required. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * The unique identifier of the subscription that generated the notification. Required. + * + * @param string $val The value of the subscriptionId + * + * @return ChangeNotification + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } + /** + * Gets the tenantId + * The unique identifier of the tenant from which the change notification originated. Required. + * + * @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 + * The unique identifier of the tenant from which the change notification originated. Required. + * + * @param string $val The value of the tenantId + * + * @return ChangeNotification + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationCollection.php new file mode 100644 index 0000000..ae317eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationCollection.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["validationTokens"]; + } else { + return null; + } + } + + /** + * Sets the validationTokens + * Contains an array of JWT tokens generated by Microsoft Graph for the application to validate the origin of the notifications. Microsoft Graph generates a single token for each distinct app and tenant pair for an item if it exists in the value array. Keep in mind that notifications can contain a mix of items for various apps and tenants that subscribed using the same notification URL. Only provided for change notifications with resource data Optional. + * + * @param string $val The value of the validationTokens + * + * @return ChangeNotificationCollection + */ + public function setValidationTokens($val) + { + $this->_propDict["validationTokens"] = $val; + return $this; + } + + /** + * Gets the value + * The set of notifications being sent to the notification URL. Required. + * + * @return ChangeNotification|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\ChangeNotification") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new ChangeNotification($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The set of notifications being sent to the notification URL. Required. + * + * @param ChangeNotification $val The value to assign to the value + * + * @return ChangeNotificationCollection The ChangeNotificationCollection + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationEncryptedContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationEncryptedContent.php new file mode 100644 index 0000000..2fc11c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationEncryptedContent.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["data"]; + } else { + return null; + } + } + + /** + * Sets the data + * Base64-encoded encrypted data that produces a full resource respresented as JSON. The data has been encrypted with the provided dataKey using an AES/CBC/PKCS5PADDING cipher suite. + * + * @param string $val The value of the data + * + * @return ChangeNotificationEncryptedContent + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } + /** + * Gets the dataKey + * Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding. + * + * @return string|null The dataKey + */ + public function getDataKey() + { + if (array_key_exists("dataKey", $this->_propDict)) { + return $this->_propDict["dataKey"]; + } else { + return null; + } + } + + /** + * Sets the dataKey + * Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding. + * + * @param string $val The value of the dataKey + * + * @return ChangeNotificationEncryptedContent + */ + public function setDataKey($val) + { + $this->_propDict["dataKey"] = $val; + return $this; + } + /** + * Gets the dataSignature + * Base64-encoded HMAC-SHA256 hash of the data for validation purposes. + * + * @return string|null The dataSignature + */ + public function getDataSignature() + { + if (array_key_exists("dataSignature", $this->_propDict)) { + return $this->_propDict["dataSignature"]; + } else { + return null; + } + } + + /** + * Sets the dataSignature + * Base64-encoded HMAC-SHA256 hash of the data for validation purposes. + * + * @param string $val The value of the dataSignature + * + * @return ChangeNotificationEncryptedContent + */ + public function setDataSignature($val) + { + $this->_propDict["dataSignature"] = $val; + return $this; + } + /** + * Gets the encryptionCertificateId + * ID of the certificate used to encrypt the dataKey. + * + * @return string|null The encryptionCertificateId + */ + public function getEncryptionCertificateId() + { + if (array_key_exists("encryptionCertificateId", $this->_propDict)) { + return $this->_propDict["encryptionCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificateId + * ID of the certificate used to encrypt the dataKey. + * + * @param string $val The value of the encryptionCertificateId + * + * @return ChangeNotificationEncryptedContent + */ + public function setEncryptionCertificateId($val) + { + $this->_propDict["encryptionCertificateId"] = $val; + return $this; + } + /** + * Gets the encryptionCertificateThumbprint + * Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey. + * + * @return string|null The encryptionCertificateThumbprint + */ + public function getEncryptionCertificateThumbprint() + { + if (array_key_exists("encryptionCertificateThumbprint", $this->_propDict)) { + return $this->_propDict["encryptionCertificateThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificateThumbprint + * Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey. + * + * @param string $val The value of the encryptionCertificateThumbprint + * + * @return ChangeNotificationEncryptedContent + */ + public function setEncryptionCertificateThumbprint($val) + { + $this->_propDict["encryptionCertificateThumbprint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeTrackedEntity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeTrackedEntity.php new file mode 100644 index 0000000..b9fa7d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeTrackedEntity.php @@ -0,0 +1,157 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param IdentitySet $val The createdBy + * + * @return ChangeTrackedEntity + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ChangeTrackedEntity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the person who last modified the entity. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the person who last modified the entity. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return ChangeTrackedEntity + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return ChangeTrackedEntity + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeType.php new file mode 100644 index 0000000..0ad9d86 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read only. Timestamp at which the channel was created. + * + * @param \DateTime $val The createdDateTime + * + * @return Channel + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Optional textual description for the channel. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional textual description for the channel. + * + * @param string $val The description + * + * @return Channel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Channel name as it will appear to the user in Microsoft Teams. + * + * @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 + * Channel name as it will appear to the user in Microsoft Teams. + * + * @param string $val The displayName + * + * @return Channel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * The email address for sending messages to the channel. Read-only. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for sending messages to the channel. Read-only. + * + * @param string $val The email + * + * @return Channel + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the isFavoriteByDefault + * Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false. + * + * @return bool|null The isFavoriteByDefault + */ + public function getIsFavoriteByDefault() + { + if (array_key_exists("isFavoriteByDefault", $this->_propDict)) { + return $this->_propDict["isFavoriteByDefault"]; + } else { + return null; + } + } + + /** + * Sets the isFavoriteByDefault + * Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false. + * + * @param bool $val The isFavoriteByDefault + * + * @return Channel + */ + public function setIsFavoriteByDefault($val) + { + $this->_propDict["isFavoriteByDefault"] = boolval($val); + return $this; + } + + /** + * Gets the membershipType + * The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + * + * @return ChannelMembershipType|null The membershipType + */ + public function getMembershipType() + { + if (array_key_exists("membershipType", $this->_propDict)) { + if (is_a($this->_propDict["membershipType"], "\Beta\Microsoft\Graph\Model\ChannelMembershipType") || is_null($this->_propDict["membershipType"])) { + return $this->_propDict["membershipType"]; + } else { + $this->_propDict["membershipType"] = new ChannelMembershipType($this->_propDict["membershipType"]); + return $this->_propDict["membershipType"]; + } + } + return null; + } + + /** + * Sets the membershipType + * The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + * + * @param ChannelMembershipType $val The membershipType + * + * @return Channel + */ + public function setMembershipType($val) + { + $this->_propDict["membershipType"] = $val; + return $this; + } + + /** + * Gets the moderationSettings + * Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. + * + * @return ChannelModerationSettings|null The moderationSettings + */ + public function getModerationSettings() + { + if (array_key_exists("moderationSettings", $this->_propDict)) { + if (is_a($this->_propDict["moderationSettings"], "\Beta\Microsoft\Graph\Model\ChannelModerationSettings") || is_null($this->_propDict["moderationSettings"])) { + return $this->_propDict["moderationSettings"]; + } else { + $this->_propDict["moderationSettings"] = new ChannelModerationSettings($this->_propDict["moderationSettings"]); + return $this->_propDict["moderationSettings"]; + } + } + return null; + } + + /** + * Sets the moderationSettings + * Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. + * + * @param ChannelModerationSettings $val The moderationSettings + * + * @return Channel + */ + public function setModerationSettings($val) + { + $this->_propDict["moderationSettings"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The ID of the Azure Active Directory tenant. + * + * @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 + * The ID of the Azure Active Directory tenant. + * + * @param string $val The tenantId + * + * @return Channel + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the webUrl + * A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @param string $val The webUrl + * + * @return Channel + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the filesFolder + * Metadata for the location where the channel's files are stored. + * + * @return DriveItem|null The filesFolder + */ + public function getFilesFolder() + { + if (array_key_exists("filesFolder", $this->_propDict)) { + if (is_a($this->_propDict["filesFolder"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["filesFolder"])) { + return $this->_propDict["filesFolder"]; + } else { + $this->_propDict["filesFolder"] = new DriveItem($this->_propDict["filesFolder"]); + return $this->_propDict["filesFolder"]; + } + } + return null; + } + + /** + * Sets the filesFolder + * Metadata for the location where the channel's files are stored. + * + * @param DriveItem $val The filesFolder + * + * @return Channel + */ + public function setFilesFolder($val) + { + $this->_propDict["filesFolder"] = $val; + return $this; + } + + + /** + * Gets the members + * A collection of membership records associated with the channel. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * A collection of membership records associated with the channel. + * + * @param ConversationMember[] $val The members + * + * @return Channel + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the messages + * A collection of all the messages in the channel. A navigation property. Nullable. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * A collection of all the messages in the channel. A navigation property. Nullable. + * + * @param ChatMessage[] $val The messages + * + * @return Channel + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + + /** + * Gets the sharedWithTeams + * A collection of teams with which a channel is shared. + * + * @return array|null The sharedWithTeams + */ + public function getSharedWithTeams() + { + if (array_key_exists("sharedWithTeams", $this->_propDict)) { + return $this->_propDict["sharedWithTeams"]; + } else { + return null; + } + } + + /** + * Sets the sharedWithTeams + * A collection of teams with which a channel is shared. + * + * @param SharedWithChannelTeamInfo[] $val The sharedWithTeams + * + * @return Channel + */ + public function setSharedWithTeams($val) + { + $this->_propDict["sharedWithTeams"] = $val; + return $this; + } + + + /** + * Gets the tabs + * A collection of all the tabs in the channel. A navigation property. + * + * @return array|null The tabs + */ + public function getTabs() + { + if (array_key_exists("tabs", $this->_propDict)) { + return $this->_propDict["tabs"]; + } else { + return null; + } + } + + /** + * Sets the tabs + * A collection of all the tabs in the channel. A navigation property. + * + * @param TeamsTab[] $val The tabs + * + * @return Channel + */ + public function setTabs($val) + { + $this->_propDict["tabs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelAddedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelAddedEventMessageDetail.php new file mode 100644 index 0000000..b258ebd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelAddedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelAddedEventMessageDetail"); + } + + /** + * Gets the channelDisplayName + * Display name of the channel. + * + * @return string|null The channelDisplayName + */ + public function getChannelDisplayName() + { + if (array_key_exists("channelDisplayName", $this->_propDict)) { + return $this->_propDict["channelDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the channelDisplayName + * Display name of the channel. + * + * @param string $val The value of the channelDisplayName + * + * @return ChannelAddedEventMessageDetail + */ + public function setChannelDisplayName($val) + { + $this->_propDict["channelDisplayName"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelAddedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelAddedEventMessageDetail The ChannelAddedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelDeletedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelDeletedEventMessageDetail.php new file mode 100644 index 0000000..471ed6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelDeletedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelDeletedEventMessageDetail"); + } + + /** + * Gets the channelDisplayName + * Display name of the channel. + * + * @return string|null The channelDisplayName + */ + public function getChannelDisplayName() + { + if (array_key_exists("channelDisplayName", $this->_propDict)) { + return $this->_propDict["channelDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the channelDisplayName + * Display name of the channel. + * + * @param string $val The value of the channelDisplayName + * + * @return ChannelDeletedEventMessageDetail + */ + public function setChannelDisplayName($val) + { + $this->_propDict["channelDisplayName"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelDeletedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelDeletedEventMessageDetail The ChannelDeletedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelDescriptionUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelDescriptionUpdatedEventMessageDetail.php new file mode 100644 index 0000000..7e14cc2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelDescriptionUpdatedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelDescriptionUpdatedEventMessageDetail"); + } + + /** + * Gets the channelDescription + * The updated description of the channel. + * + * @return string|null The channelDescription + */ + public function getChannelDescription() + { + if (array_key_exists("channelDescription", $this->_propDict)) { + return $this->_propDict["channelDescription"]; + } else { + return null; + } + } + + /** + * Sets the channelDescription + * The updated description of the channel. + * + * @param string $val The value of the channelDescription + * + * @return ChannelDescriptionUpdatedEventMessageDetail + */ + public function setChannelDescription($val) + { + $this->_propDict["channelDescription"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelDescriptionUpdatedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelDescriptionUpdatedEventMessageDetail The ChannelDescriptionUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelIdentity.php new file mode 100644 index 0000000..22f9115 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelIdentity.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * The identity of the channel in which the message was posted. + * + * @param string $val The value of the channelId + * + * @return ChannelIdentity + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + /** + * Gets the teamId + * The identity of the team in which the message was posted. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * The identity of the team in which the message was posted. + * + * @param string $val The value of the teamId + * + * @return ChannelIdentity + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembersNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembersNotificationRecipient.php new file mode 100644 index 0000000..fdabf67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembersNotificationRecipient.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * The channel's identifier. + * + * @param string $val The value of the channelId + * + * @return ChannelMembersNotificationRecipient + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + /** + * Gets the teamId + * The team's identifier under which the channel resides. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * The team's identifier under which the channel resides. + * + * @param string $val The value of the teamId + * + * @return ChannelMembersNotificationRecipient + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembershipType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembershipType.php new file mode 100644 index 0000000..014d2a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembershipType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["allowNewMessageFromBots"]; + } else { + return null; + } + } + + /** + * Sets the allowNewMessageFromBots + * Indicates whether bots are allowed to post messages. + * + * @param bool $val The value of the allowNewMessageFromBots + * + * @return ChannelModerationSettings + */ + public function setAllowNewMessageFromBots($val) + { + $this->_propDict["allowNewMessageFromBots"] = $val; + return $this; + } + /** + * Gets the allowNewMessageFromConnectors + * Indicates whether connectors are allowed to post messages. + * + * @return bool|null The allowNewMessageFromConnectors + */ + public function getAllowNewMessageFromConnectors() + { + if (array_key_exists("allowNewMessageFromConnectors", $this->_propDict)) { + return $this->_propDict["allowNewMessageFromConnectors"]; + } else { + return null; + } + } + + /** + * Sets the allowNewMessageFromConnectors + * Indicates whether connectors are allowed to post messages. + * + * @param bool $val The value of the allowNewMessageFromConnectors + * + * @return ChannelModerationSettings + */ + public function setAllowNewMessageFromConnectors($val) + { + $this->_propDict["allowNewMessageFromConnectors"] = $val; + return $this; + } + + /** + * Gets the replyRestriction + * Indicates who is allowed to reply to the teams channel. Possible values are: everyone, authorAndModerators, unknownFutureValue. + * + * @return ReplyRestriction|null The replyRestriction + */ + public function getReplyRestriction() + { + if (array_key_exists("replyRestriction", $this->_propDict)) { + if (is_a($this->_propDict["replyRestriction"], "\Beta\Microsoft\Graph\Model\ReplyRestriction") || is_null($this->_propDict["replyRestriction"])) { + return $this->_propDict["replyRestriction"]; + } else { + $this->_propDict["replyRestriction"] = new ReplyRestriction($this->_propDict["replyRestriction"]); + return $this->_propDict["replyRestriction"]; + } + } + return null; + } + + /** + * Sets the replyRestriction + * Indicates who is allowed to reply to the teams channel. Possible values are: everyone, authorAndModerators, unknownFutureValue. + * + * @param ReplyRestriction $val The value to assign to the replyRestriction + * + * @return ChannelModerationSettings The ChannelModerationSettings + */ + public function setReplyRestriction($val) + { + $this->_propDict["replyRestriction"] = $val; + return $this; + } + + /** + * Gets the userNewMessageRestriction + * Indicates who is allowed to post messages to teams channel. Possible values are: everyone, everyoneExceptGuests, moderators, unknownFutureValue. + * + * @return UserNewMessageRestriction|null The userNewMessageRestriction + */ + public function getUserNewMessageRestriction() + { + if (array_key_exists("userNewMessageRestriction", $this->_propDict)) { + if (is_a($this->_propDict["userNewMessageRestriction"], "\Beta\Microsoft\Graph\Model\UserNewMessageRestriction") || is_null($this->_propDict["userNewMessageRestriction"])) { + return $this->_propDict["userNewMessageRestriction"]; + } else { + $this->_propDict["userNewMessageRestriction"] = new UserNewMessageRestriction($this->_propDict["userNewMessageRestriction"]); + return $this->_propDict["userNewMessageRestriction"]; + } + } + return null; + } + + /** + * Sets the userNewMessageRestriction + * Indicates who is allowed to post messages to teams channel. Possible values are: everyone, everyoneExceptGuests, moderators, unknownFutureValue. + * + * @param UserNewMessageRestriction $val The value to assign to the userNewMessageRestriction + * + * @return ChannelModerationSettings The ChannelModerationSettings + */ + public function setUserNewMessageRestriction($val) + { + $this->_propDict["userNewMessageRestriction"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelRenamedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelRenamedEventMessageDetail.php new file mode 100644 index 0000000..074e6ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelRenamedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelRenamedEventMessageDetail"); + } + + /** + * Gets the channelDisplayName + * The updated name of the channel. + * + * @return string|null The channelDisplayName + */ + public function getChannelDisplayName() + { + if (array_key_exists("channelDisplayName", $this->_propDict)) { + return $this->_propDict["channelDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the channelDisplayName + * The updated name of the channel. + * + * @param string $val The value of the channelDisplayName + * + * @return ChannelRenamedEventMessageDetail + */ + public function setChannelDisplayName($val) + { + $this->_propDict["channelDisplayName"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelRenamedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelRenamedEventMessageDetail The ChannelRenamedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelSetAsFavoriteByDefaultEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelSetAsFavoriteByDefaultEventMessageDetail.php new file mode 100644 index 0000000..6e26657 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelSetAsFavoriteByDefaultEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.channelSetAsFavoriteByDefaultEventMessageDetail"); + } + + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelSetAsFavoriteByDefaultEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelSetAsFavoriteByDefaultEventMessageDetail The ChannelSetAsFavoriteByDefaultEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php new file mode 100644 index 0000000..30e7b02 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.channelUnsetAsFavoriteByDefaultEventMessageDetail"); + } + + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelUnsetAsFavoriteByDefaultEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelUnsetAsFavoriteByDefaultEventMessageDetail The ChannelUnsetAsFavoriteByDefaultEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChassisType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChassisType.php new file mode 100644 index 0000000..c60e26a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChassisType.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["chatType"], "\Beta\Microsoft\Graph\Model\ChatType") || is_null($this->_propDict["chatType"])) { + return $this->_propDict["chatType"]; + } else { + $this->_propDict["chatType"] = new ChatType($this->_propDict["chatType"]); + return $this->_propDict["chatType"]; + } + } + return null; + } + + /** + * Sets the chatType + * Specifies the type of chat. Possible values are: group, oneOnOne, meeting, unknownFutureValue. + * + * @param ChatType $val The chatType + * + * @return Chat + */ + public function setChatType($val) + { + $this->_propDict["chatType"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time at which the chat was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time at which the chat was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Chat + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Date and time at which the chat was renamed or list of members were last changed. Read-only. + * + * @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 + * Date and time at which the chat was renamed or list of members were last changed. Read-only. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return Chat + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the onlineMeetingInfo + * Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. + * + * @return TeamworkOnlineMeetingInfo|null The onlineMeetingInfo + */ + public function getOnlineMeetingInfo() + { + if (array_key_exists("onlineMeetingInfo", $this->_propDict)) { + if (is_a($this->_propDict["onlineMeetingInfo"], "\Beta\Microsoft\Graph\Model\TeamworkOnlineMeetingInfo") || is_null($this->_propDict["onlineMeetingInfo"])) { + return $this->_propDict["onlineMeetingInfo"]; + } else { + $this->_propDict["onlineMeetingInfo"] = new TeamworkOnlineMeetingInfo($this->_propDict["onlineMeetingInfo"]); + return $this->_propDict["onlineMeetingInfo"]; + } + } + return null; + } + + /** + * Sets the onlineMeetingInfo + * Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. + * + * @param TeamworkOnlineMeetingInfo $val The onlineMeetingInfo + * + * @return Chat + */ + public function setOnlineMeetingInfo($val) + { + $this->_propDict["onlineMeetingInfo"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The identifier of the tenant in which the chat was created. Read-only. + * + * @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 + * The identifier of the tenant in which the chat was created. Read-only. + * + * @param string $val The tenantId + * + * @return Chat + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the topic + * (Optional) Subject or topic for the chat. Only available for group chats. + * + * @return string|null The topic + */ + public function getTopic() + { + if (array_key_exists("topic", $this->_propDict)) { + return $this->_propDict["topic"]; + } else { + return null; + } + } + + /** + * Sets the topic + * (Optional) Subject or topic for the chat. Only available for group chats. + * + * @param string $val The topic + * + * @return Chat + */ + public function setTopic($val) + { + $this->_propDict["topic"] = $val; + return $this; + } + + /** + * Gets the viewpoint + * Represents caller-specific information about the chat, such as last message read date and time. This property is populated only when the request is made in a delegated context. + * + * @return ChatViewpoint|null The viewpoint + */ + public function getViewpoint() + { + if (array_key_exists("viewpoint", $this->_propDict)) { + if (is_a($this->_propDict["viewpoint"], "\Beta\Microsoft\Graph\Model\ChatViewpoint") || is_null($this->_propDict["viewpoint"])) { + return $this->_propDict["viewpoint"]; + } else { + $this->_propDict["viewpoint"] = new ChatViewpoint($this->_propDict["viewpoint"]); + return $this->_propDict["viewpoint"]; + } + } + return null; + } + + /** + * Sets the viewpoint + * Represents caller-specific information about the chat, such as last message read date and time. This property is populated only when the request is made in a delegated context. + * + * @param ChatViewpoint $val The viewpoint + * + * @return Chat + */ + public function setViewpoint($val) + { + $this->_propDict["viewpoint"] = $val; + return $this; + } + + /** + * Gets the webUrl + * The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @param string $val The webUrl + * + * @return Chat + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the installedApps + * A collection of all the apps in the chat. Nullable. + * + * @return array|null The installedApps + */ + public function getInstalledApps() + { + if (array_key_exists("installedApps", $this->_propDict)) { + return $this->_propDict["installedApps"]; + } else { + return null; + } + } + + /** + * Sets the installedApps + * A collection of all the apps in the chat. Nullable. + * + * @param TeamsAppInstallation[] $val The installedApps + * + * @return Chat + */ + public function setInstalledApps($val) + { + $this->_propDict["installedApps"] = $val; + return $this; + } + + /** + * Gets the lastMessagePreview + * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. + * + * @return ChatMessageInfo|null The lastMessagePreview + */ + public function getLastMessagePreview() + { + if (array_key_exists("lastMessagePreview", $this->_propDict)) { + if (is_a($this->_propDict["lastMessagePreview"], "\Beta\Microsoft\Graph\Model\ChatMessageInfo") || is_null($this->_propDict["lastMessagePreview"])) { + return $this->_propDict["lastMessagePreview"]; + } else { + $this->_propDict["lastMessagePreview"] = new ChatMessageInfo($this->_propDict["lastMessagePreview"]); + return $this->_propDict["lastMessagePreview"]; + } + } + return null; + } + + /** + * Sets the lastMessagePreview + * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. + * + * @param ChatMessageInfo $val The lastMessagePreview + * + * @return Chat + */ + public function setLastMessagePreview($val) + { + $this->_propDict["lastMessagePreview"] = $val; + return $this; + } + + + /** + * Gets the members + * A collection of all the members in the chat. Nullable. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * A collection of all the members in the chat. Nullable. + * + * @param ConversationMember[] $val The members + * + * @return Chat + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the messages + * A collection of all the messages in the chat. Nullable. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * A collection of all the messages in the chat. Nullable. + * + * @param ChatMessage[] $val The messages + * + * @return Chat + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + + /** + * Gets the operations + * A collection of all the Teams async operations that ran or are running on the chat. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * A collection of all the Teams async operations that ran or are running on the chat. Nullable. + * + * @param TeamsAsyncOperation[] $val The operations + * + * @return Chat + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the permissionGrants + * A collection of permissions granted to apps for the chat. + * + * @return array|null The permissionGrants + */ + public function getPermissionGrants() + { + if (array_key_exists("permissionGrants", $this->_propDict)) { + return $this->_propDict["permissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrants + * A collection of permissions granted to apps for the chat. + * + * @param ResourceSpecificPermissionGrant[] $val The permissionGrants + * + * @return Chat + */ + public function setPermissionGrants($val) + { + $this->_propDict["permissionGrants"] = $val; + return $this; + } + + + /** + * Gets the pinnedMessages + * A collection of all the pinned messages in the chat. Nullable. + * + * @return array|null The pinnedMessages + */ + public function getPinnedMessages() + { + if (array_key_exists("pinnedMessages", $this->_propDict)) { + return $this->_propDict["pinnedMessages"]; + } else { + return null; + } + } + + /** + * Sets the pinnedMessages + * A collection of all the pinned messages in the chat. Nullable. + * + * @param PinnedChatMessageInfo[] $val The pinnedMessages + * + * @return Chat + */ + public function setPinnedMessages($val) + { + $this->_propDict["pinnedMessages"] = $val; + return $this; + } + + + /** + * Gets the tabs + * A collection of all the tabs in the chat. Nullable. + * + * @return array|null The tabs + */ + public function getTabs() + { + if (array_key_exists("tabs", $this->_propDict)) { + return $this->_propDict["tabs"]; + } else { + return null; + } + } + + /** + * Sets the tabs + * A collection of all the tabs in the chat. Nullable. + * + * @param TeamsTab[] $val The tabs + * + * @return Chat + */ + public function setTabs($val) + { + $this->_propDict["tabs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatActivityStatistics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatActivityStatistics.php new file mode 100644 index 0000000..19f5cbc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatActivityStatistics.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["afterHours"], "\DateInterval") || is_null($this->_propDict["afterHours"])) { + return $this->_propDict["afterHours"]; + } else { + $this->_propDict["afterHours"] = new \DateInterval($this->_propDict["afterHours"]); + return $this->_propDict["afterHours"]; + } + } + return null; + } + + /** + * Sets the afterHours + * Time spent on chats outside of working hours, which is based on the user's Microsoft Outlook calendar setting for work hours. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The afterHours + * + * @return ChatActivityStatistics + */ + public function setAfterHours($val) + { + $this->_propDict["afterHours"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatInfo.php new file mode 100644 index 0000000..e8d68fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatInfo.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["messageId"]; + } else { + return null; + } + } + + /** + * Sets the messageId + * The unique identifier for a message in a Microsoft Teams channel. + * + * @param string $val The value of the messageId + * + * @return ChatInfo + */ + public function setMessageId($val) + { + $this->_propDict["messageId"] = $val; + return $this; + } + /** + * Gets the replyChainMessageId + * The ID of the reply message. + * + * @return string|null The replyChainMessageId + */ + public function getReplyChainMessageId() + { + if (array_key_exists("replyChainMessageId", $this->_propDict)) { + return $this->_propDict["replyChainMessageId"]; + } else { + return null; + } + } + + /** + * Sets the replyChainMessageId + * The ID of the reply message. + * + * @param string $val The value of the replyChainMessageId + * + * @return ChatInfo + */ + public function setReplyChainMessageId($val) + { + $this->_propDict["replyChainMessageId"] = $val; + return $this; + } + /** + * Gets the threadId + * The unique identifier for a thread in Microsoft Teams. + * + * @return string|null The threadId + */ + public function getThreadId() + { + if (array_key_exists("threadId", $this->_propDict)) { + return $this->_propDict["threadId"]; + } else { + return null; + } + } + + /** + * Sets the threadId + * The unique identifier for a thread in Microsoft Teams. + * + * @param string $val The value of the threadId + * + * @return ChatInfo + */ + public function setThreadId($val) + { + $this->_propDict["threadId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMembersNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMembersNotificationRecipient.php new file mode 100644 index 0000000..14adfa6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMembersNotificationRecipient.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["chatId"]; + } else { + return null; + } + } + + /** + * Sets the chatId + * The chat's identifier. + * + * @param string $val The value of the chatId + * + * @return ChatMembersNotificationRecipient + */ + public function setChatId($val) + { + $this->_propDict["chatId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessage.php new file mode 100644 index 0000000..6193015 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessage.php @@ -0,0 +1,776 @@ +_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * References to attached objects like files, tabs, meetings etc. + * + * @param ChatMessageAttachment[] $val The attachments + * + * @return ChatMessage + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + /** + * Gets the body + * Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention. + * + * @param ItemBody $val The body + * + * @return ChatMessage + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the channelIdentity + * If the message was sent in a channel, represents identity of the channel. + * + * @return ChannelIdentity|null The channelIdentity + */ + public function getChannelIdentity() + { + if (array_key_exists("channelIdentity", $this->_propDict)) { + if (is_a($this->_propDict["channelIdentity"], "\Beta\Microsoft\Graph\Model\ChannelIdentity") || is_null($this->_propDict["channelIdentity"])) { + return $this->_propDict["channelIdentity"]; + } else { + $this->_propDict["channelIdentity"] = new ChannelIdentity($this->_propDict["channelIdentity"]); + return $this->_propDict["channelIdentity"]; + } + } + return null; + } + + /** + * Sets the channelIdentity + * If the message was sent in a channel, represents identity of the channel. + * + * @param ChannelIdentity $val The channelIdentity + * + * @return ChatMessage + */ + public function setChannelIdentity($val) + { + $this->_propDict["channelIdentity"] = $val; + return $this; + } + + /** + * Gets the chatId + * If the message was sent in a chat, represents the identity of the chat. + * + * @return string|null The chatId + */ + public function getChatId() + { + if (array_key_exists("chatId", $this->_propDict)) { + return $this->_propDict["chatId"]; + } else { + return null; + } + } + + /** + * Sets the chatId + * If the message was sent in a chat, represents the identity of the chat. + * + * @param string $val The chatId + * + * @return ChatMessage + */ + public function setChatId($val) + { + $this->_propDict["chatId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp of when the chat message was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp of when the chat message was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ChatMessage + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deletedDateTime + * Read only. Timestamp at which the chat message was deleted, or null if not deleted. + * + * @return \DateTime|null The deletedDateTime + */ + public function getDeletedDateTime() + { + if (array_key_exists("deletedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { + return $this->_propDict["deletedDateTime"]; + } else { + $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); + return $this->_propDict["deletedDateTime"]; + } + } + return null; + } + + /** + * Sets the deletedDateTime + * Read only. Timestamp at which the chat message was deleted, or null if not deleted. + * + * @param \DateTime $val The deletedDateTime + * + * @return ChatMessage + */ + public function setDeletedDateTime($val) + { + $this->_propDict["deletedDateTime"] = $val; + return $this; + } + + /** + * Gets the etag + * Read-only. Version number of the chat message. + * + * @return string|null The etag + */ + public function getEtag() + { + if (array_key_exists("etag", $this->_propDict)) { + return $this->_propDict["etag"]; + } else { + return null; + } + } + + /** + * Sets the etag + * Read-only. Version number of the chat message. + * + * @param string $val The etag + * + * @return ChatMessage + */ + public function setEtag($val) + { + $this->_propDict["etag"] = $val; + return $this; + } + + /** + * Gets the eventDetail + * Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, adding new members. For event messages, the messageType property will be set to systemEventMessage. + * + * @return EventMessageDetail|null The eventDetail + */ + public function getEventDetail() + { + if (array_key_exists("eventDetail", $this->_propDict)) { + if (is_a($this->_propDict["eventDetail"], "\Beta\Microsoft\Graph\Model\EventMessageDetail") || is_null($this->_propDict["eventDetail"])) { + return $this->_propDict["eventDetail"]; + } else { + $this->_propDict["eventDetail"] = new EventMessageDetail($this->_propDict["eventDetail"]); + return $this->_propDict["eventDetail"]; + } + } + return null; + } + + /** + * Sets the eventDetail + * Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, adding new members. For event messages, the messageType property will be set to systemEventMessage. + * + * @param EventMessageDetail $val The eventDetail + * + * @return ChatMessage + */ + public function setEventDetail($val) + { + $this->_propDict["eventDetail"] = $val; + return $this; + } + + /** + * Gets the from + * Details of the sender of the chat message. Can only be set during migration. + * + * @return ChatMessageFromIdentitySet|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\ChatMessageFromIdentitySet") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new ChatMessageFromIdentitySet($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * Details of the sender of the chat message. Can only be set during migration. + * + * @param ChatMessageFromIdentitySet $val The from + * + * @return ChatMessage + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance of the chat message. The possible values are: normal, high, urgent. + * + * @return ChatMessageImportance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\ChatMessageImportance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new ChatMessageImportance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance of the chat message. The possible values are: normal, high, urgent. + * + * @param ChatMessageImportance $val The importance + * + * @return ChatMessage + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the lastEditedDateTime + * Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. + * + * @return \DateTime|null The lastEditedDateTime + */ + public function getLastEditedDateTime() + { + if (array_key_exists("lastEditedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastEditedDateTime"], "\DateTime") || is_null($this->_propDict["lastEditedDateTime"])) { + return $this->_propDict["lastEditedDateTime"]; + } else { + $this->_propDict["lastEditedDateTime"] = new \DateTime($this->_propDict["lastEditedDateTime"]); + return $this->_propDict["lastEditedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastEditedDateTime + * Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. + * + * @param \DateTime $val The lastEditedDateTime + * + * @return ChatMessage + */ + public function setLastEditedDateTime($val) + { + $this->_propDict["lastEditedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ChatMessage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the locale + * Locale of the chat message set by the client. Always set to en-us. + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * Locale of the chat message set by the client. Always set to en-us. + * + * @param string $val The locale + * + * @return ChatMessage + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + + + /** + * Gets the mentions + * List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, and tag. + * + * @return array|null The mentions + */ + public function getMentions() + { + if (array_key_exists("mentions", $this->_propDict)) { + return $this->_propDict["mentions"]; + } else { + return null; + } + } + + /** + * Sets the mentions + * List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, and tag. + * + * @param ChatMessageMention[] $val The mentions + * + * @return ChatMessage + */ + public function setMentions($val) + { + $this->_propDict["mentions"] = $val; + return $this; + } + + /** + * Gets the messageType + * The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage. + * + * @return ChatMessageType|null The messageType + */ + public function getMessageType() + { + if (array_key_exists("messageType", $this->_propDict)) { + if (is_a($this->_propDict["messageType"], "\Beta\Microsoft\Graph\Model\ChatMessageType") || is_null($this->_propDict["messageType"])) { + return $this->_propDict["messageType"]; + } else { + $this->_propDict["messageType"] = new ChatMessageType($this->_propDict["messageType"]); + return $this->_propDict["messageType"]; + } + } + return null; + } + + /** + * Sets the messageType + * The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage. + * + * @param ChatMessageType $val The messageType + * + * @return ChatMessage + */ + public function setMessageType($val) + { + $this->_propDict["messageType"] = $val; + return $this; + } + + /** + * Gets the onBehalfOf + * User attribution of the message when bot sends a message on behalf of a user. + * + * @return ChatMessageFromIdentitySet|null The onBehalfOf + */ + public function getOnBehalfOf() + { + if (array_key_exists("onBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["onBehalfOf"], "\Beta\Microsoft\Graph\Model\ChatMessageFromIdentitySet") || is_null($this->_propDict["onBehalfOf"])) { + return $this->_propDict["onBehalfOf"]; + } else { + $this->_propDict["onBehalfOf"] = new ChatMessageFromIdentitySet($this->_propDict["onBehalfOf"]); + return $this->_propDict["onBehalfOf"]; + } + } + return null; + } + + /** + * Sets the onBehalfOf + * User attribution of the message when bot sends a message on behalf of a user. + * + * @param ChatMessageFromIdentitySet $val The onBehalfOf + * + * @return ChatMessage + */ + public function setOnBehalfOf($val) + { + $this->_propDict["onBehalfOf"] = $val; + return $this; + } + + /** + * Gets the policyViolation + * Defines the properties of a policy violation set by a data loss prevention (DLP) application. + * + * @return ChatMessagePolicyViolation|null The policyViolation + */ + public function getPolicyViolation() + { + if (array_key_exists("policyViolation", $this->_propDict)) { + if (is_a($this->_propDict["policyViolation"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolation") || is_null($this->_propDict["policyViolation"])) { + return $this->_propDict["policyViolation"]; + } else { + $this->_propDict["policyViolation"] = new ChatMessagePolicyViolation($this->_propDict["policyViolation"]); + return $this->_propDict["policyViolation"]; + } + } + return null; + } + + /** + * Sets the policyViolation + * Defines the properties of a policy violation set by a data loss prevention (DLP) application. + * + * @param ChatMessagePolicyViolation $val The policyViolation + * + * @return ChatMessage + */ + public function setPolicyViolation($val) + { + $this->_propDict["policyViolation"] = $val; + return $this; + } + + + /** + * Gets the reactions + * Reactions for this chat message (for example, Like). + * + * @return array|null The reactions + */ + public function getReactions() + { + if (array_key_exists("reactions", $this->_propDict)) { + return $this->_propDict["reactions"]; + } else { + return null; + } + } + + /** + * Sets the reactions + * Reactions for this chat message (for example, Like). + * + * @param ChatMessageReaction[] $val The reactions + * + * @return ChatMessage + */ + public function setReactions($val) + { + $this->_propDict["reactions"] = $val; + return $this; + } + + /** + * Gets the replyToId + * Read-only. ID of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels, not chats.) + * + * @return string|null The replyToId + */ + public function getReplyToId() + { + if (array_key_exists("replyToId", $this->_propDict)) { + return $this->_propDict["replyToId"]; + } else { + return null; + } + } + + /** + * Sets the replyToId + * Read-only. ID of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels, not chats.) + * + * @param string $val The replyToId + * + * @return ChatMessage + */ + public function setReplyToId($val) + { + $this->_propDict["replyToId"] = $val; + return $this; + } + + /** + * Gets the subject + * The subject of the chat message, in plaintext. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The subject of the chat message, in plaintext. + * + * @param string $val The subject + * + * @return ChatMessage + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the summary + * Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. + * + * @return string|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + return $this->_propDict["summary"]; + } else { + return null; + } + } + + /** + * Sets the summary + * Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. + * + * @param string $val The summary + * + * @return ChatMessage + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Read-only. Link to the message in Microsoft Teams. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Read-only. Link to the message in Microsoft Teams. + * + * @param string $val The webUrl + * + * @return ChatMessage + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the hostedContents + * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * + * @return array|null The hostedContents + */ + public function getHostedContents() + { + if (array_key_exists("hostedContents", $this->_propDict)) { + return $this->_propDict["hostedContents"]; + } else { + return null; + } + } + + /** + * Sets the hostedContents + * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * + * @param ChatMessageHostedContent[] $val The hostedContents + * + * @return ChatMessage + */ + public function setHostedContents($val) + { + $this->_propDict["hostedContents"] = $val; + return $this; + } + + + /** + * Gets the replies + * Replies for a specified message. Supports $expand for channel messages. + * + * @return array|null The replies + */ + public function getReplies() + { + if (array_key_exists("replies", $this->_propDict)) { + return $this->_propDict["replies"]; + } else { + return null; + } + } + + /** + * Sets the replies + * Replies for a specified message. Supports $expand for channel messages. + * + * @param ChatMessage[] $val The replies + * + * @return ChatMessage + */ + public function setReplies($val) + { + $this->_propDict["replies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageAttachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageAttachment.php new file mode 100644 index 0000000..3040110 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageAttachment.php @@ -0,0 +1,222 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive. + * + * @param string $val The value of the content + * + * @return ChatMessageAttachment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the contentType + * The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentTypes supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentTypes supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. + * + * @param string $val The value of the contentType + * + * @return ChatMessageAttachment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the contentUrl + * URL for the content of the attachment. Supported protocols: http, https, file and data. + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * URL for the content of the attachment. Supported protocols: http, https, file and data. + * + * @param string $val The value of the contentUrl + * + * @return ChatMessageAttachment + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + /** + * Gets the id + * Read-only. Unique id of the attachment. + * + * @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 + * Read-only. Unique id of the attachment. + * + * @param string $val The value of the id + * + * @return ChatMessageAttachment + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * Name of the attachment. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the attachment. + * + * @param string $val The value of the name + * + * @return ChatMessageAttachment + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * The ID of the Teams app that is associated with the attachment. The property is specifically used to attribute a Teams message card to the specified app. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * The ID of the Teams app that is associated with the attachment. The property is specifically used to attribute a Teams message card to the specified app. + * + * @param string $val The value of the teamsAppId + * + * @return ChatMessageAttachment + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } + /** + * Gets the thumbnailUrl + * URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user clicks the image, the channel would open the document. + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user clicks the image, the channel would open the document. + * + * @param string $val The value of the thumbnailUrl + * + * @return ChatMessageAttachment + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageFromIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageFromIdentitySet.php new file mode 100644 index 0000000..9e3ac3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageFromIdentitySet.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments. + * + * @param ItemBody $val The body + * + * @return ChatMessageInfo + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date time object representing the time at which message was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date time object representing the time at which message was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ChatMessageInfo + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the eventDetail + * Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. + * + * @return EventMessageDetail|null The eventDetail + */ + public function getEventDetail() + { + if (array_key_exists("eventDetail", $this->_propDict)) { + if (is_a($this->_propDict["eventDetail"], "\Beta\Microsoft\Graph\Model\EventMessageDetail") || is_null($this->_propDict["eventDetail"])) { + return $this->_propDict["eventDetail"]; + } else { + $this->_propDict["eventDetail"] = new EventMessageDetail($this->_propDict["eventDetail"]); + return $this->_propDict["eventDetail"]; + } + } + return null; + } + + /** + * Sets the eventDetail + * Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. + * + * @param EventMessageDetail $val The eventDetail + * + * @return ChatMessageInfo + */ + public function setEventDetail($val) + { + $this->_propDict["eventDetail"] = $val; + return $this; + } + + /** + * Gets the from + * Information about the sender of the message. + * + * @return ChatMessageFromIdentitySet|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\ChatMessageFromIdentitySet") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new ChatMessageFromIdentitySet($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * Information about the sender of the message. + * + * @param ChatMessageFromIdentitySet $val The from + * + * @return ChatMessageInfo + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the isDeleted + * If set to true, the original message has been deleted. + * + * @return bool|null The isDeleted + */ + public function getIsDeleted() + { + if (array_key_exists("isDeleted", $this->_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * If set to true, the original message has been deleted. + * + * @param bool $val The isDeleted + * + * @return ChatMessageInfo + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the messageType + * The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage. + * + * @return ChatMessageType|null The messageType + */ + public function getMessageType() + { + if (array_key_exists("messageType", $this->_propDict)) { + if (is_a($this->_propDict["messageType"], "\Beta\Microsoft\Graph\Model\ChatMessageType") || is_null($this->_propDict["messageType"])) { + return $this->_propDict["messageType"]; + } else { + $this->_propDict["messageType"] = new ChatMessageType($this->_propDict["messageType"]); + return $this->_propDict["messageType"]; + } + } + return null; + } + + /** + * Sets the messageType + * The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage. + * + * @param ChatMessageType $val The messageType + * + * @return ChatMessageInfo + */ + public function setMessageType($val) + { + $this->_propDict["messageType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageMention.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageMention.php new file mode 100644 index 0000000..588fdcf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageMention.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding &lt;at id='{index}'&gt; tag in the message body. + * + * @param int $val The value of the id + * + * @return ChatMessageMention + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the mentioned + * The entity (user, application, team, or channel) that was @mentioned. + * + * @return ChatMessageMentionedIdentitySet|null The mentioned + */ + public function getMentioned() + { + if (array_key_exists("mentioned", $this->_propDict)) { + if (is_a($this->_propDict["mentioned"], "\Beta\Microsoft\Graph\Model\ChatMessageMentionedIdentitySet") || is_null($this->_propDict["mentioned"])) { + return $this->_propDict["mentioned"]; + } else { + $this->_propDict["mentioned"] = new ChatMessageMentionedIdentitySet($this->_propDict["mentioned"]); + return $this->_propDict["mentioned"]; + } + } + return null; + } + + /** + * Sets the mentioned + * The entity (user, application, team, or channel) that was @mentioned. + * + * @param ChatMessageMentionedIdentitySet $val The value to assign to the mentioned + * + * @return ChatMessageMention The ChatMessageMention + */ + public function setMentioned($val) + { + $this->_propDict["mentioned"] = $val; + return $this; + } + /** + * Gets the mentionText + * String used to represent the mention. For example, a user's display name, a team name. + * + * @return string|null The mentionText + */ + public function getMentionText() + { + if (array_key_exists("mentionText", $this->_propDict)) { + return $this->_propDict["mentionText"]; + } else { + return null; + } + } + + /** + * Sets the mentionText + * String used to represent the mention. For example, a user's display name, a team name. + * + * @param string $val The value of the mentionText + * + * @return ChatMessageMention + */ + public function setMentionText($val) + { + $this->_propDict["mentionText"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageMentionedIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageMentionedIdentitySet.php new file mode 100644 index 0000000..5e8a977 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageMentionedIdentitySet.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["conversation"], "\Beta\Microsoft\Graph\Model\TeamworkConversationIdentity") || is_null($this->_propDict["conversation"])) { + return $this->_propDict["conversation"]; + } else { + $this->_propDict["conversation"] = new TeamworkConversationIdentity($this->_propDict["conversation"]); + return $this->_propDict["conversation"]; + } + } + return null; + } + + /** + * Sets the conversation + * If present, represents a conversation (for example, team or channel) @mentioned in a message. + * + * @param TeamworkConversationIdentity $val The value to assign to the conversation + * + * @return ChatMessageMentionedIdentitySet The ChatMessageMentionedIdentitySet + */ + public function setConversation($val) + { + $this->_propDict["conversation"] = $val; + return $this; + } + + /** + * Gets the tag + * If present, represents a tag @mentioned in a team message. + * + * @return TeamworkTagIdentity|null The tag + */ + public function getTag() + { + if (array_key_exists("tag", $this->_propDict)) { + if (is_a($this->_propDict["tag"], "\Beta\Microsoft\Graph\Model\TeamworkTagIdentity") || is_null($this->_propDict["tag"])) { + return $this->_propDict["tag"]; + } else { + $this->_propDict["tag"] = new TeamworkTagIdentity($this->_propDict["tag"]); + return $this->_propDict["tag"]; + } + } + return null; + } + + /** + * Sets the tag + * If present, represents a tag @mentioned in a team message. + * + * @param TeamworkTagIdentity $val The value to assign to the tag + * + * @return ChatMessageMentionedIdentitySet The ChatMessageMentionedIdentitySet + */ + public function setTag($val) + { + $this->_propDict["tag"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolation.php new file mode 100644 index 0000000..134bd0e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolation.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["dlpAction"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationDlpActionTypes") || is_null($this->_propDict["dlpAction"])) { + return $this->_propDict["dlpAction"]; + } else { + $this->_propDict["dlpAction"] = new ChatMessagePolicyViolationDlpActionTypes($this->_propDict["dlpAction"]); + return $this->_propDict["dlpAction"]; + } + } + return null; + } + + /** + * Sets the dlpAction + * The action taken by the DLP provider on the message with sensitive content. Supported values are: NoneNotifySender -- Inform the sender of the violation but allow readers to read the message.BlockAccess -- Block readers from reading the message.BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message. + * + * @param ChatMessagePolicyViolationDlpActionTypes $val The value to assign to the dlpAction + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setDlpAction($val) + { + $this->_propDict["dlpAction"] = $val; + return $this; + } + /** + * Gets the justificationText + * Justification text provided by the sender of the message when overriding a policy violation. + * + * @return string|null The justificationText + */ + public function getJustificationText() + { + if (array_key_exists("justificationText", $this->_propDict)) { + return $this->_propDict["justificationText"]; + } else { + return null; + } + } + + /** + * Sets the justificationText + * Justification text provided by the sender of the message when overriding a policy violation. + * + * @param string $val The value of the justificationText + * + * @return ChatMessagePolicyViolation + */ + public function setJustificationText($val) + { + $this->_propDict["justificationText"] = $val; + return $this; + } + + /** + * Gets the policyTip + * Information to display to the message sender about why the message was flagged as a violation. + * + * @return ChatMessagePolicyViolationPolicyTip|null The policyTip + */ + public function getPolicyTip() + { + if (array_key_exists("policyTip", $this->_propDict)) { + if (is_a($this->_propDict["policyTip"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationPolicyTip") || is_null($this->_propDict["policyTip"])) { + return $this->_propDict["policyTip"]; + } else { + $this->_propDict["policyTip"] = new ChatMessagePolicyViolationPolicyTip($this->_propDict["policyTip"]); + return $this->_propDict["policyTip"]; + } + } + return null; + } + + /** + * Sets the policyTip + * Information to display to the message sender about why the message was flagged as a violation. + * + * @param ChatMessagePolicyViolationPolicyTip $val The value to assign to the policyTip + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setPolicyTip($val) + { + $this->_propDict["policyTip"] = $val; + return $this; + } + + /** + * Gets the userAction + * Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. + * + * @return ChatMessagePolicyViolationUserActionTypes|null The userAction + */ + public function getUserAction() + { + if (array_key_exists("userAction", $this->_propDict)) { + if (is_a($this->_propDict["userAction"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationUserActionTypes") || is_null($this->_propDict["userAction"])) { + return $this->_propDict["userAction"]; + } else { + $this->_propDict["userAction"] = new ChatMessagePolicyViolationUserActionTypes($this->_propDict["userAction"]); + return $this->_propDict["userAction"]; + } + } + return null; + } + + /** + * Sets the userAction + * Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. + * + * @param ChatMessagePolicyViolationUserActionTypes $val The value to assign to the userAction + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setUserAction($val) + { + $this->_propDict["userAction"] = $val; + return $this; + } + + /** + * Gets the verdictDetails + * Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. + * + * @return ChatMessagePolicyViolationVerdictDetailsTypes|null The verdictDetails + */ + public function getVerdictDetails() + { + if (array_key_exists("verdictDetails", $this->_propDict)) { + if (is_a($this->_propDict["verdictDetails"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationVerdictDetailsTypes") || is_null($this->_propDict["verdictDetails"])) { + return $this->_propDict["verdictDetails"]; + } else { + $this->_propDict["verdictDetails"] = new ChatMessagePolicyViolationVerdictDetailsTypes($this->_propDict["verdictDetails"]); + return $this->_propDict["verdictDetails"]; + } + } + return null; + } + + /** + * Sets the verdictDetails + * Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. + * + * @param ChatMessagePolicyViolationVerdictDetailsTypes $val The value to assign to the verdictDetails + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setVerdictDetails($val) + { + $this->_propDict["verdictDetails"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationDlpActionTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationDlpActionTypes.php new file mode 100644 index 0000000..4543db6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationDlpActionTypes.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["complianceUrl"]; + } else { + return null; + } + } + + /** + * Sets the complianceUrl + * The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats) + * + * @param string $val The value of the complianceUrl + * + * @return ChatMessagePolicyViolationPolicyTip + */ + public function setComplianceUrl($val) + { + $this->_propDict["complianceUrl"] = $val; + return $this; + } + /** + * Gets the generalText + * Explanatory text shown to the sender of the message. + * + * @return string|null The generalText + */ + public function getGeneralText() + { + if (array_key_exists("generalText", $this->_propDict)) { + return $this->_propDict["generalText"]; + } else { + return null; + } + } + + /** + * Sets the generalText + * Explanatory text shown to the sender of the message. + * + * @param string $val The value of the generalText + * + * @return ChatMessagePolicyViolationPolicyTip + */ + public function setGeneralText($val) + { + $this->_propDict["generalText"] = $val; + return $this; + } + /** + * Gets the matchedConditionDescriptions + * The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'. + * + * @return string|null The matchedConditionDescriptions + */ + public function getMatchedConditionDescriptions() + { + if (array_key_exists("matchedConditionDescriptions", $this->_propDict)) { + return $this->_propDict["matchedConditionDescriptions"]; + } else { + return null; + } + } + + /** + * Sets the matchedConditionDescriptions + * The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'. + * + * @param string $val The value of the matchedConditionDescriptions + * + * @return ChatMessagePolicyViolationPolicyTip + */ + public function setMatchedConditionDescriptions($val) + { + $this->_propDict["matchedConditionDescriptions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationUserActionTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationUserActionTypes.php new file mode 100644 index 0000000..738c61d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationUserActionTypes.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ChatMessageReaction The ChatMessageReaction + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the reactionType + * Supported values are like, angry, sad, laugh, heart, surprised. + * + * @return string|null The reactionType + */ + public function getReactionType() + { + if (array_key_exists("reactionType", $this->_propDict)) { + return $this->_propDict["reactionType"]; + } else { + return null; + } + } + + /** + * Sets the reactionType + * Supported values are like, angry, sad, laugh, heart, surprised. + * + * @param string $val The value of the reactionType + * + * @return ChatMessageReaction + */ + public function setReactionType($val) + { + $this->_propDict["reactionType"] = $val; + return $this; + } + + /** + * Gets the user + * The user who reacted to the message. + * + * @return ChatMessageReactionIdentitySet|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\ChatMessageReactionIdentitySet") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new ChatMessageReactionIdentitySet($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * The user who reacted to the message. + * + * @param ChatMessageReactionIdentitySet $val The value to assign to the user + * + * @return ChatMessageReaction The ChatMessageReaction + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageReactionIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageReactionIdentitySet.php new file mode 100644 index 0000000..2390b6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageReactionIdentitySet.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.chatRenamedEventMessageDetail"); + } + + /** + * Gets the chatDisplayName + * The updated name of the chat. + * + * @return string|null The chatDisplayName + */ + public function getChatDisplayName() + { + if (array_key_exists("chatDisplayName", $this->_propDict)) { + return $this->_propDict["chatDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the chatDisplayName + * The updated name of the chat. + * + * @param string $val The value of the chatDisplayName + * + * @return ChatRenamedEventMessageDetail + */ + public function setChatDisplayName($val) + { + $this->_propDict["chatDisplayName"] = $val; + return $this; + } + /** + * Gets the chatId + * Unique identifier of the chat. + * + * @return string|null The chatId + */ + public function getChatId() + { + if (array_key_exists("chatId", $this->_propDict)) { + return $this->_propDict["chatId"]; + } else { + return null; + } + } + + /** + * Sets the chatId + * Unique identifier of the chat. + * + * @param string $val The value of the chatId + * + * @return ChatRenamedEventMessageDetail + */ + public function setChatId($val) + { + $this->_propDict["chatId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChatRenamedEventMessageDetail The ChatRenamedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatType.php new file mode 100644 index 0000000..a157df1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["isHidden"]; + } else { + return null; + } + } + + /** + * Sets the isHidden + * Indicates whether the chat is hidden for the current user. + * + * @param bool $val The value of the isHidden + * + * @return ChatViewpoint + */ + public function setIsHidden($val) + { + $this->_propDict["isHidden"] = $val; + return $this; + } + + /** + * Gets the lastMessageReadDateTime + * Represents the dateTime up until which the current user has read chatMessages in a specific chat. + * + * @return \DateTime|null The lastMessageReadDateTime + */ + public function getLastMessageReadDateTime() + { + if (array_key_exists("lastMessageReadDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastMessageReadDateTime"], "\DateTime") || is_null($this->_propDict["lastMessageReadDateTime"])) { + return $this->_propDict["lastMessageReadDateTime"]; + } else { + $this->_propDict["lastMessageReadDateTime"] = new \DateTime($this->_propDict["lastMessageReadDateTime"]); + return $this->_propDict["lastMessageReadDateTime"]; + } + } + return null; + } + + /** + * Sets the lastMessageReadDateTime + * Represents the dateTime up until which the current user has read chatMessages in a specific chat. + * + * @param \DateTime $val The value to assign to the lastMessageReadDateTime + * + * @return ChatViewpoint The ChatViewpoint + */ + public function setLastMessageReadDateTime($val) + { + $this->_propDict["lastMessageReadDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChecklistItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChecklistItem.php new file mode 100644 index 0000000..cee4ca3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChecklistItem.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["checkedDateTime"], "\DateTime") || is_null($this->_propDict["checkedDateTime"])) { + return $this->_propDict["checkedDateTime"]; + } else { + $this->_propDict["checkedDateTime"] = new \DateTime($this->_propDict["checkedDateTime"]); + return $this->_propDict["checkedDateTime"]; + } + } + return null; + } + + /** + * Sets the checkedDateTime + * The date and time when the checklistItem was finished. + * + * @param \DateTime $val The checkedDateTime + * + * @return ChecklistItem + */ + public function setCheckedDateTime($val) + { + $this->_propDict["checkedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the checklistItem was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the checklistItem was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ChecklistItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Field indicating the title of checklistItem. + * + * @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 + * Field indicating the title of checklistItem. + * + * @param string $val The displayName + * + * @return ChecklistItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isChecked + * State indicating whether the item is checked off or not. + * + * @return bool|null The isChecked + */ + public function getIsChecked() + { + if (array_key_exists("isChecked", $this->_propDict)) { + return $this->_propDict["isChecked"]; + } else { + return null; + } + } + + /** + * Sets the isChecked + * State indicating whether the item is checked off or not. + * + * @param bool $val The isChecked + * + * @return ChecklistItem + */ + public function setIsChecked($val) + { + $this->_propDict["isChecked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChoiceColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChoiceColumn.php new file mode 100644 index 0000000..bad52c5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChoiceColumn.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["allowTextEntry"]; + } else { + return null; + } + } + + /** + * Sets the allowTextEntry + * If true, allows custom values that aren't in the configured choices. + * + * @param bool $val The value of the allowTextEntry + * + * @return ChoiceColumn + */ + public function setAllowTextEntry($val) + { + $this->_propDict["allowTextEntry"] = $val; + return $this; + } + /** + * Gets the choices + * The list of values available for this column. + * + * @return string|null The choices + */ + public function getChoices() + { + if (array_key_exists("choices", $this->_propDict)) { + return $this->_propDict["choices"]; + } else { + return null; + } + } + + /** + * Sets the choices + * The list of values available for this column. + * + * @param string $val The value of the choices + * + * @return ChoiceColumn + */ + public function setChoices($val) + { + $this->_propDict["choices"] = $val; + return $this; + } + /** + * Gets the displayAs + * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons + * + * @return string|null The displayAs + */ + public function getDisplayAs() + { + if (array_key_exists("displayAs", $this->_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons + * + * @param string $val The value of the displayAs + * + * @return ChoiceColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSDeviceProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSDeviceProperty.php new file mode 100644 index 0000000..974ea41 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSDeviceProperty.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the property + * + * @param string $val The value of the name + * + * @return ChromeOSDeviceProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the updatable + * Whether this property is updatable + * + * @return bool|null The updatable + */ + public function getUpdatable() + { + if (array_key_exists("updatable", $this->_propDict)) { + return $this->_propDict["updatable"]; + } else { + return null; + } + } + + /** + * Sets the updatable + * Whether this property is updatable + * + * @param bool $val The value of the updatable + * + * @return ChromeOSDeviceProperty + */ + public function setUpdatable($val) + { + $this->_propDict["updatable"] = $val; + return $this; + } + /** + * Gets the value + * Value of the property + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the property + * + * @param string $val The value of the value + * + * @return ChromeOSDeviceProperty + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + /** + * Gets the valueType + * Type of the value + * + * @return string|null The valueType + */ + public function getValueType() + { + if (array_key_exists("valueType", $this->_propDict)) { + return $this->_propDict["valueType"]; + } else { + return null; + } + } + + /** + * Sets the valueType + * Type of the value + * + * @param string $val The value of the valueType + * + * @return ChromeOSDeviceProperty + */ + public function setValueType($val) + { + $this->_propDict["valueType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingSettings.php new file mode 100644 index 0000000..8c6ec90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingSettings.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["lastDirectorySyncDateTime"], "\DateTime") || is_null($this->_propDict["lastDirectorySyncDateTime"])) { + return $this->_propDict["lastDirectorySyncDateTime"]; + } else { + $this->_propDict["lastDirectorySyncDateTime"] = new \DateTime($this->_propDict["lastDirectorySyncDateTime"]); + return $this->_propDict["lastDirectorySyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDirectorySyncDateTime + * The ChromebookTenant's LastDirectorySyncDateTime + * + * @param \DateTime $val The lastDirectorySyncDateTime + * + * @return ChromeOSOnboardingSettings + */ + public function setLastDirectorySyncDateTime($val) + { + $this->_propDict["lastDirectorySyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The ChromebookTenant's LastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The ChromebookTenant's LastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ChromeOSOnboardingSettings + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardingStatus + * The ChromebookTenant's OnboardingStatus. Possible values are: unknown, inprogress, onboarded, failed, offboarding, unknownFutureValue. + * + * @return OnboardingStatus|null The onboardingStatus + */ + public function getOnboardingStatus() + { + if (array_key_exists("onboardingStatus", $this->_propDict)) { + if (is_a($this->_propDict["onboardingStatus"], "\Beta\Microsoft\Graph\Model\OnboardingStatus") || is_null($this->_propDict["onboardingStatus"])) { + return $this->_propDict["onboardingStatus"]; + } else { + $this->_propDict["onboardingStatus"] = new OnboardingStatus($this->_propDict["onboardingStatus"]); + return $this->_propDict["onboardingStatus"]; + } + } + return null; + } + + /** + * Sets the onboardingStatus + * The ChromebookTenant's OnboardingStatus. Possible values are: unknown, inprogress, onboarded, failed, offboarding, unknownFutureValue. + * + * @param OnboardingStatus $val The onboardingStatus + * + * @return ChromeOSOnboardingSettings + */ + public function setOnboardingStatus($val) + { + $this->_propDict["onboardingStatus"] = $val; + return $this; + } + + /** + * Gets the ownerUserPrincipalName + * The ChromebookTenant's OwnerUserPrincipalName + * + * @return string|null The ownerUserPrincipalName + */ + public function getOwnerUserPrincipalName() + { + if (array_key_exists("ownerUserPrincipalName", $this->_propDict)) { + return $this->_propDict["ownerUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the ownerUserPrincipalName + * The ChromebookTenant's OwnerUserPrincipalName + * + * @param string $val The ownerUserPrincipalName + * + * @return ChromeOSOnboardingSettings + */ + public function setOwnerUserPrincipalName($val) + { + $this->_propDict["ownerUserPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingStatus.php new file mode 100644 index 0000000..f1b74bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The claim that provides the display name or full name for the user. It is a required propoerty. + * + * @param string $val The value of the displayName + * + * @return ClaimsMapping + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the email + * The claim that provides the email address of the user. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The claim that provides the email address of the user. + * + * @param string $val The value of the email + * + * @return ClaimsMapping + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the givenName + * The claim that provides the first name of the user. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The claim that provides the first name of the user. + * + * @param string $val The value of the givenName + * + * @return ClaimsMapping + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + /** + * Gets the surname + * The claim that provides the last name of the user. + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The claim that provides the last name of the user. + * + * @param string $val The value of the surname + * + * @return ClaimsMapping + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + /** + * Gets the userId + * The claim that provides the unique identifier for the signed-in user. It is a required propoerty. + * + * @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 + * The claim that provides the unique identifier for the signed-in user. It is a required propoerty. + * + * @param string $val The value of the userId + * + * @return ClaimsMapping + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMappingPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMappingPolicy.php new file mode 100644 index 0000000..0ff3dff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMappingPolicy.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The value of the code + * + * @return ClassifcationErrorBase + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the innerError + * + * @return ClassificationInnerError|null The innerError + */ + public function getInnerError() + { + if (array_key_exists("innerError", $this->_propDict)) { + if (is_a($this->_propDict["innerError"], "\Beta\Microsoft\Graph\Model\ClassificationInnerError") || is_null($this->_propDict["innerError"])) { + return $this->_propDict["innerError"]; + } else { + $this->_propDict["innerError"] = new ClassificationInnerError($this->_propDict["innerError"]); + return $this->_propDict["innerError"]; + } + } + return null; + } + + /** + * Sets the innerError + * + * @param ClassificationInnerError $val The value to assign to the innerError + * + * @return ClassifcationErrorBase The ClassifcationErrorBase + */ + public function setInnerError($val) + { + $this->_propDict["innerError"] = $val; + return $this; + } + /** + * Gets the message + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * + * @param string $val The value of the message + * + * @return ClassifcationErrorBase + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * + * @param string $val The value of the target + * + * @return ClassifcationErrorBase + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationAttribute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationAttribute.php new file mode 100644 index 0000000..74838e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationAttribute.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * + * @param int $val The value of the confidence + * + * @return ClassificationAttribute + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + /** + * Gets the count + * + * @return int|null The count + */ + public function getCount() + { + if (array_key_exists("count", $this->_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * + * @param int $val The value of the count + * + * @return ClassificationAttribute + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationError.php new file mode 100644 index 0000000..d2f61ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationError.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\ClassifcationErrorBase") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new ClassifcationErrorBase($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * + * @param ClassifcationErrorBase $val The value to assign to the details + * + * @return ClassificationError The ClassificationError + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationInnerError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationInnerError.php new file mode 100644 index 0000000..68ab855 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationInnerError.php @@ -0,0 +1,135 @@ +_propDict)) { + return $this->_propDict["activityId"]; + } else { + return null; + } + } + + /** + * Sets the activityId + * + * @param string $val The value of the activityId + * + * @return ClassificationInnerError + */ + public function setActivityId($val) + { + $this->_propDict["activityId"] = $val; + return $this; + } + /** + * Gets the clientRequestId + * + * @return string|null The clientRequestId + */ + public function getClientRequestId() + { + if (array_key_exists("clientRequestId", $this->_propDict)) { + return $this->_propDict["clientRequestId"]; + } else { + return null; + } + } + + /** + * Sets the clientRequestId + * + * @param string $val The value of the clientRequestId + * + * @return ClassificationInnerError + */ + public function setClientRequestId($val) + { + $this->_propDict["clientRequestId"] = $val; + return $this; + } + /** + * Gets the code + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The value of the code + * + * @return ClassificationInnerError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the errorDateTime + * + * @return \DateTime|null The errorDateTime + */ + public function getErrorDateTime() + { + if (array_key_exists("errorDateTime", $this->_propDict)) { + if (is_a($this->_propDict["errorDateTime"], "\DateTime") || is_null($this->_propDict["errorDateTime"])) { + return $this->_propDict["errorDateTime"]; + } else { + $this->_propDict["errorDateTime"] = new \DateTime($this->_propDict["errorDateTime"]); + return $this->_propDict["errorDateTime"]; + } + } + return null; + } + + /** + * Sets the errorDateTime + * + * @param \DateTime $val The value to assign to the errorDateTime + * + * @return ClassificationInnerError The ClassificationInnerError + */ + public function setErrorDateTime($val) + { + $this->_propDict["errorDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationJobResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationJobResponse.php new file mode 100644 index 0000000..fc0f571 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationJobResponse.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\DetectedSensitiveContentWrapper") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new DetectedSensitiveContentWrapper($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * + * @param DetectedSensitiveContentWrapper $val The result + * + * @return ClassificationJobResponse + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationMethod.php new file mode 100644 index 0000000..b73c5bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["confidenceLevel"]; + } else { + return null; + } + } + + /** + * Sets the confidenceLevel + * The confidence level, 0 to 100, of the result. + * + * @param int $val The value of the confidenceLevel + * + * @return ClassificationResult + */ + public function setConfidenceLevel($val) + { + $this->_propDict["confidenceLevel"] = $val; + return $this; + } + /** + * Gets the count + * The number of instances of the specific information type in the input. + * + * @return int|null The count + */ + public function getCount() + { + if (array_key_exists("count", $this->_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * The number of instances of the specific information type in the input. + * + * @param int $val The value of the count + * + * @return ClassificationResult + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + /** + * Gets the sensitiveTypeId + * The GUID of the discovered sensitive information type. + * + * @return string|null The sensitiveTypeId + */ + public function getSensitiveTypeId() + { + if (array_key_exists("sensitiveTypeId", $this->_propDict)) { + return $this->_propDict["sensitiveTypeId"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeId + * The GUID of the discovered sensitive information type. + * + * @param string $val The value of the sensitiveTypeId + * + * @return ClassificationResult + */ + public function setSensitiveTypeId($val) + { + $this->_propDict["sensitiveTypeId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClientCertificateAuthentication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClientCertificateAuthentication.php new file mode 100644 index 0000000..344de49 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClientCertificateAuthentication.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.clientCertificateAuthentication"); + } + + + /** + * Gets the certificateList + * The list of certificates uploaded for this API connector. + * + * @return Pkcs12CertificateInformation|null The certificateList + */ + public function getCertificateList() + { + if (array_key_exists("certificateList", $this->_propDict)) { + if (is_a($this->_propDict["certificateList"], "\Beta\Microsoft\Graph\Model\Pkcs12CertificateInformation") || is_null($this->_propDict["certificateList"])) { + return $this->_propDict["certificateList"]; + } else { + $this->_propDict["certificateList"] = new Pkcs12CertificateInformation($this->_propDict["certificateList"]); + return $this->_propDict["certificateList"]; + } + } + return null; + } + + /** + * Sets the certificateList + * The list of certificates uploaded for this API connector. + * + * @param Pkcs12CertificateInformation $val The value to assign to the certificateList + * + * @return ClientCertificateAuthentication The ClientCertificateAuthentication + */ + public function setCertificateList($val) + { + $this->_propDict["certificateList"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClientCredentialType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClientCredentialType.php new file mode 100644 index 0000000..467cbbe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClientCredentialType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * + * @param string $val The azureSubscriptionId + * + * @return CloudAppSecurityProfile + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return CloudAppSecurityProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return CloudAppSecurityProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deploymentPackageUrl + * + * @return string|null The deploymentPackageUrl + */ + public function getDeploymentPackageUrl() + { + if (array_key_exists("deploymentPackageUrl", $this->_propDict)) { + return $this->_propDict["deploymentPackageUrl"]; + } else { + return null; + } + } + + /** + * Sets the deploymentPackageUrl + * + * @param string $val The deploymentPackageUrl + * + * @return CloudAppSecurityProfile + */ + public function setDeploymentPackageUrl($val) + { + $this->_propDict["deploymentPackageUrl"] = $val; + return $this; + } + + /** + * Gets the destinationServiceName + * + * @return string|null The destinationServiceName + */ + public function getDestinationServiceName() + { + if (array_key_exists("destinationServiceName", $this->_propDict)) { + return $this->_propDict["destinationServiceName"]; + } else { + return null; + } + } + + /** + * Sets the destinationServiceName + * + * @param string $val The destinationServiceName + * + * @return CloudAppSecurityProfile + */ + public function setDestinationServiceName($val) + { + $this->_propDict["destinationServiceName"] = $val; + return $this; + } + + /** + * Gets the isSigned + * + * @return bool|null The isSigned + */ + public function getIsSigned() + { + if (array_key_exists("isSigned", $this->_propDict)) { + return $this->_propDict["isSigned"]; + } else { + return null; + } + } + + /** + * Sets the isSigned + * + * @param bool $val The isSigned + * + * @return CloudAppSecurityProfile + */ + public function setIsSigned($val) + { + $this->_propDict["isSigned"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CloudAppSecurityProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the manifest + * + * @return string|null The manifest + */ + public function getManifest() + { + if (array_key_exists("manifest", $this->_propDict)) { + return $this->_propDict["manifest"]; + } else { + return null; + } + } + + /** + * Sets the manifest + * + * @param string $val The manifest + * + * @return CloudAppSecurityProfile + */ + public function setManifest($val) + { + $this->_propDict["manifest"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return CloudAppSecurityProfile + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the permissionsRequired + * + * @return ApplicationPermissionsRequired|null The permissionsRequired + */ + public function getPermissionsRequired() + { + if (array_key_exists("permissionsRequired", $this->_propDict)) { + if (is_a($this->_propDict["permissionsRequired"], "\Beta\Microsoft\Graph\Model\ApplicationPermissionsRequired") || is_null($this->_propDict["permissionsRequired"])) { + return $this->_propDict["permissionsRequired"]; + } else { + $this->_propDict["permissionsRequired"] = new ApplicationPermissionsRequired($this->_propDict["permissionsRequired"]); + return $this->_propDict["permissionsRequired"]; + } + } + return null; + } + + /** + * Sets the permissionsRequired + * + * @param ApplicationPermissionsRequired $val The permissionsRequired + * + * @return CloudAppSecurityProfile + */ + public function setPermissionsRequired($val) + { + $this->_propDict["permissionsRequired"] = $val; + return $this; + } + + /** + * Gets the platform + * + * @return string|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + return $this->_propDict["platform"]; + } else { + return null; + } + } + + /** + * Sets the platform + * + * @param string $val The platform + * + * @return CloudAppSecurityProfile + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the policyName + * + * @return string|null The policyName + */ + public function getPolicyName() + { + if (array_key_exists("policyName", $this->_propDict)) { + return $this->_propDict["policyName"]; + } else { + return null; + } + } + + /** + * Sets the policyName + * + * @param string $val The policyName + * + * @return CloudAppSecurityProfile + */ + public function setPolicyName($val) + { + $this->_propDict["policyName"] = $val; + return $this; + } + + /** + * Gets the publisher + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * + * @param string $val The publisher + * + * @return CloudAppSecurityProfile + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The riskScore + * + * @return CloudAppSecurityProfile + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the tags + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string $val The tags + * + * @return CloudAppSecurityProfile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return CloudAppSecurityProfile + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return CloudAppSecurityProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControl.php new file mode 100644 index 0000000..66f3201 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControl.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["cloudAppSecurityType"], "\Beta\Microsoft\Graph\Model\CloudAppSecuritySessionControlType") || is_null($this->_propDict["cloudAppSecurityType"])) { + return $this->_propDict["cloudAppSecurityType"]; + } else { + $this->_propDict["cloudAppSecurityType"] = new CloudAppSecuritySessionControlType($this->_propDict["cloudAppSecurityType"]); + return $this->_propDict["cloudAppSecurityType"]; + } + } + return null; + } + + /** + * Sets the cloudAppSecurityType + * Possible values are: mcasConfigured, monitorOnly, blockDownloads. To learn more about these values, Deploy Conditional Access App Control for featured apps. + * + * @param CloudAppSecuritySessionControlType $val The value to assign to the cloudAppSecurityType + * + * @return CloudAppSecuritySessionControl The CloudAppSecuritySessionControl + */ + public function setCloudAppSecurityType($val) + { + $this->_propDict["cloudAppSecurityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControlType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControlType.php new file mode 100644 index 0000000..d511001 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControlType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["destinationServiceIp"]; + } else { + return null; + } + } + + /** + * Sets the destinationServiceIp + * Destination IP Address of the connection to the cloud application/service. + * + * @param string $val The value of the destinationServiceIp + * + * @return CloudAppSecurityState + */ + public function setDestinationServiceIp($val) + { + $this->_propDict["destinationServiceIp"] = $val; + return $this; + } + /** + * Gets the destinationServiceName + * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.). + * + * @return string|null The destinationServiceName + */ + public function getDestinationServiceName() + { + if (array_key_exists("destinationServiceName", $this->_propDict)) { + return $this->_propDict["destinationServiceName"]; + } else { + return null; + } + } + + /** + * Sets the destinationServiceName + * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.). + * + * @param string $val The value of the destinationServiceName + * + * @return CloudAppSecurityState + */ + public function setDestinationServiceName($val) + { + $this->_propDict["destinationServiceName"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return CloudAppSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudCommunications.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudCommunications.php new file mode 100644 index 0000000..fa30774 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudCommunications.php @@ -0,0 +1,139 @@ +_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 callRecords + * + * @return array|null The callRecords + */ + public function getCallRecords() + { + if (array_key_exists("callRecords", $this->_propDict)) { + return $this->_propDict["callRecords"]; + } else { + return null; + } + } + + /** + * Sets the callRecords + * + * @param \Beta\Microsoft\Graph\CallRecords\Model\CallRecord[] $val The callRecords + * + * @return CloudCommunications + */ + public function setCallRecords($val) + { + $this->_propDict["callRecords"] = $val; + return $this; + } + + + /** + * Gets the onlineMeetings + * + * @return array|null The onlineMeetings + */ + public function getOnlineMeetings() + { + if (array_key_exists("onlineMeetings", $this->_propDict)) { + return $this->_propDict["onlineMeetings"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetings + * + * @param OnlineMeeting[] $val The onlineMeetings + * + * @return CloudCommunications + */ + public function setOnlineMeetings($val) + { + $this->_propDict["onlineMeetings"] = $val; + return $this; + } + + + /** + * Gets the presences + * + * @return array|null The presences + */ + public function getPresences() + { + if (array_key_exists("presences", $this->_propDict)) { + return $this->_propDict["presences"]; + } else { + return null; + } + } + + /** + * Sets the presences + * + * @param Presence[] $val The presences + * + * @return CloudCommunications + */ + public function setPresences($val) + { + $this->_propDict["presences"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPC.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPC.php new file mode 100644 index 0000000..0e7a85f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPC.php @@ -0,0 +1,643 @@ +_propDict)) { + return $this->_propDict["aadDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the aadDeviceId + * The Azure Active Directory (Azure AD) device ID of the Cloud PC. + * + * @param string $val The aadDeviceId + * + * @return CloudPC + */ + public function setAadDeviceId($val) + { + $this->_propDict["aadDeviceId"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the Cloud PC. + * + * @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 + * The display name of the Cloud PC. + * + * @param string $val The displayName + * + * @return CloudPC + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the gracePeriodEndDateTime + * The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The gracePeriodEndDateTime + */ + public function getGracePeriodEndDateTime() + { + if (array_key_exists("gracePeriodEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["gracePeriodEndDateTime"], "\DateTime") || is_null($this->_propDict["gracePeriodEndDateTime"])) { + return $this->_propDict["gracePeriodEndDateTime"]; + } else { + $this->_propDict["gracePeriodEndDateTime"] = new \DateTime($this->_propDict["gracePeriodEndDateTime"]); + return $this->_propDict["gracePeriodEndDateTime"]; + } + } + return null; + } + + /** + * Sets the gracePeriodEndDateTime + * The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The gracePeriodEndDateTime + * + * @return CloudPC + */ + public function setGracePeriodEndDateTime($val) + { + $this->_propDict["gracePeriodEndDateTime"] = $val; + return $this; + } + + /** + * Gets the imageDisplayName + * Name of the OS image that's on the Cloud PC. + * + * @return string|null The imageDisplayName + */ + public function getImageDisplayName() + { + if (array_key_exists("imageDisplayName", $this->_propDict)) { + return $this->_propDict["imageDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the imageDisplayName + * Name of the OS image that's on the Cloud PC. + * + * @param string $val The imageDisplayName + * + * @return CloudPC + */ + public function setImageDisplayName($val) + { + $this->_propDict["imageDisplayName"] = $val; + return $this; + } + + /** + * Gets the lastLoginResult + * The last login result of the Cloud PC. For example, { 'time': '2014-01-01T00:00:00Z'}. + * + * @return CloudPcLoginResult|null The lastLoginResult + */ + public function getLastLoginResult() + { + if (array_key_exists("lastLoginResult", $this->_propDict)) { + if (is_a($this->_propDict["lastLoginResult"], "\Beta\Microsoft\Graph\Model\CloudPcLoginResult") || is_null($this->_propDict["lastLoginResult"])) { + return $this->_propDict["lastLoginResult"]; + } else { + $this->_propDict["lastLoginResult"] = new CloudPcLoginResult($this->_propDict["lastLoginResult"]); + return $this->_propDict["lastLoginResult"]; + } + } + return null; + } + + /** + * Sets the lastLoginResult + * The last login result of the Cloud PC. For example, { 'time': '2014-01-01T00:00:00Z'}. + * + * @param CloudPcLoginResult $val The lastLoginResult + * + * @return CloudPC + */ + public function setLastLoginResult($val) + { + $this->_propDict["lastLoginResult"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last modified date and time of the Cloud PC. 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last modified date and time of the Cloud PC. 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 lastModifiedDateTime + * + * @return CloudPC + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastRemoteActionResult + * The last remote action result of the enterprise Cloud PCs. The supported remote actions are: Reboot, Rename, Reprovision, Restore, and Troubleshoot. + * + * @return CloudPcRemoteActionResult|null The lastRemoteActionResult + */ + public function getLastRemoteActionResult() + { + if (array_key_exists("lastRemoteActionResult", $this->_propDict)) { + if (is_a($this->_propDict["lastRemoteActionResult"], "\Beta\Microsoft\Graph\Model\CloudPcRemoteActionResult") || is_null($this->_propDict["lastRemoteActionResult"])) { + return $this->_propDict["lastRemoteActionResult"]; + } else { + $this->_propDict["lastRemoteActionResult"] = new CloudPcRemoteActionResult($this->_propDict["lastRemoteActionResult"]); + return $this->_propDict["lastRemoteActionResult"]; + } + } + return null; + } + + /** + * Sets the lastRemoteActionResult + * The last remote action result of the enterprise Cloud PCs. The supported remote actions are: Reboot, Rename, Reprovision, Restore, and Troubleshoot. + * + * @param CloudPcRemoteActionResult $val The lastRemoteActionResult + * + * @return CloudPC + */ + public function setLastRemoteActionResult($val) + { + $this->_propDict["lastRemoteActionResult"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The Intune device ID of the Cloud PC. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The Intune device ID of the Cloud PC. + * + * @param string $val The managedDeviceId + * + * @return CloudPC + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * The Intune device name of the Cloud PC. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * The Intune device name of the Cloud PC. + * + * @param string $val The managedDeviceName + * + * @return CloudPC + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the onPremisesConnectionName + * The Azure network connection that is applied during the provisioning of Cloud PCs. + * + * @return string|null The onPremisesConnectionName + */ + public function getOnPremisesConnectionName() + { + if (array_key_exists("onPremisesConnectionName", $this->_propDict)) { + return $this->_propDict["onPremisesConnectionName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesConnectionName + * The Azure network connection that is applied during the provisioning of Cloud PCs. + * + * @param string $val The onPremisesConnectionName + * + * @return CloudPC + */ + public function setOnPremisesConnectionName($val) + { + $this->_propDict["onPremisesConnectionName"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The version of the operating system (OS) to provision on Cloud PCs. Possible values are: windows10, windows11, and unknownFutureValue. + * + * @return CloudPcOperatingSystem|null The osVersion + */ + public function getOsVersion() + { + if (array_key_exists("osVersion", $this->_propDict)) { + if (is_a($this->_propDict["osVersion"], "\Beta\Microsoft\Graph\Model\CloudPcOperatingSystem") || is_null($this->_propDict["osVersion"])) { + return $this->_propDict["osVersion"]; + } else { + $this->_propDict["osVersion"] = new CloudPcOperatingSystem($this->_propDict["osVersion"]); + return $this->_propDict["osVersion"]; + } + } + return null; + } + + /** + * Sets the osVersion + * The version of the operating system (OS) to provision on Cloud PCs. Possible values are: windows10, windows11, and unknownFutureValue. + * + * @param CloudPcOperatingSystem $val The osVersion + * + * @return CloudPC + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the provisioningPolicyId + * The provisioning policy ID of the Cloud PC. + * + * @return string|null The provisioningPolicyId + */ + public function getProvisioningPolicyId() + { + if (array_key_exists("provisioningPolicyId", $this->_propDict)) { + return $this->_propDict["provisioningPolicyId"]; + } else { + return null; + } + } + + /** + * Sets the provisioningPolicyId + * The provisioning policy ID of the Cloud PC. + * + * @param string $val The provisioningPolicyId + * + * @return CloudPC + */ + public function setProvisioningPolicyId($val) + { + $this->_propDict["provisioningPolicyId"] = $val; + return $this; + } + + /** + * Gets the provisioningPolicyName + * The provisioning policy that is applied during the provisioning of Cloud PCs. + * + * @return string|null The provisioningPolicyName + */ + public function getProvisioningPolicyName() + { + if (array_key_exists("provisioningPolicyName", $this->_propDict)) { + return $this->_propDict["provisioningPolicyName"]; + } else { + return null; + } + } + + /** + * Sets the provisioningPolicyName + * The provisioning policy that is applied during the provisioning of Cloud PCs. + * + * @param string $val The provisioningPolicyName + * + * @return CloudPC + */ + public function setProvisioningPolicyName($val) + { + $this->_propDict["provisioningPolicyName"] = $val; + return $this; + } + + /** + * Gets the servicePlanId + * The service plan ID of the Cloud PC. + * + * @return string|null The servicePlanId + */ + public function getServicePlanId() + { + if (array_key_exists("servicePlanId", $this->_propDict)) { + return $this->_propDict["servicePlanId"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanId + * The service plan ID of the Cloud PC. + * + * @param string $val The servicePlanId + * + * @return CloudPC + */ + public function setServicePlanId($val) + { + $this->_propDict["servicePlanId"] = $val; + return $this; + } + + /** + * Gets the servicePlanName + * The service plan name of the Cloud PC. + * + * @return string|null The servicePlanName + */ + public function getServicePlanName() + { + if (array_key_exists("servicePlanName", $this->_propDict)) { + return $this->_propDict["servicePlanName"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanName + * The service plan name of the Cloud PC. + * + * @param string $val The servicePlanName + * + * @return CloudPC + */ + public function setServicePlanName($val) + { + $this->_propDict["servicePlanName"] = $val; + return $this; + } + + /** + * Gets the servicePlanType + * The service plan type of the Cloud PC. + * + * @return CloudPcServicePlanType|null The servicePlanType + */ + public function getServicePlanType() + { + if (array_key_exists("servicePlanType", $this->_propDict)) { + if (is_a($this->_propDict["servicePlanType"], "\Beta\Microsoft\Graph\Model\CloudPcServicePlanType") || is_null($this->_propDict["servicePlanType"])) { + return $this->_propDict["servicePlanType"]; + } else { + $this->_propDict["servicePlanType"] = new CloudPcServicePlanType($this->_propDict["servicePlanType"]); + return $this->_propDict["servicePlanType"]; + } + } + return null; + } + + /** + * Sets the servicePlanType + * The service plan type of the Cloud PC. + * + * @param CloudPcServicePlanType $val The servicePlanType + * + * @return CloudPC + */ + public function setServicePlanType($val) + { + $this->_propDict["servicePlanType"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the Cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, deprovisioning, failed, restoring. + * + * @return CloudPcStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CloudPcStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the Cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, deprovisioning, failed, restoring. + * + * @param CloudPcStatus $val The status + * + * @return CloudPC + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the statusDetails + * The details of the Cloud PC status. + * + * @return CloudPcStatusDetails|null The statusDetails + */ + public function getStatusDetails() + { + if (array_key_exists("statusDetails", $this->_propDict)) { + if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcStatusDetails") || is_null($this->_propDict["statusDetails"])) { + return $this->_propDict["statusDetails"]; + } else { + $this->_propDict["statusDetails"] = new CloudPcStatusDetails($this->_propDict["statusDetails"]); + return $this->_propDict["statusDetails"]; + } + } + return null; + } + + /** + * Sets the statusDetails + * The details of the Cloud PC status. + * + * @param CloudPcStatusDetails $val The statusDetails + * + * @return CloudPC + */ + public function setStatusDetails($val) + { + $this->_propDict["statusDetails"] = $val; + return $this; + } + + /** + * Gets the userAccountType + * The account type of the user on provisioned Cloud PCs. Possible values are: standardUser, administrator, and unknownFutureValue. + * + * @return CloudPcUserAccountType|null The userAccountType + */ + public function getUserAccountType() + { + if (array_key_exists("userAccountType", $this->_propDict)) { + if (is_a($this->_propDict["userAccountType"], "\Beta\Microsoft\Graph\Model\CloudPcUserAccountType") || is_null($this->_propDict["userAccountType"])) { + return $this->_propDict["userAccountType"]; + } else { + $this->_propDict["userAccountType"] = new CloudPcUserAccountType($this->_propDict["userAccountType"]); + return $this->_propDict["userAccountType"]; + } + } + return null; + } + + /** + * Sets the userAccountType + * The account type of the user on provisioned Cloud PCs. Possible values are: standardUser, administrator, and unknownFutureValue. + * + * @param CloudPcUserAccountType $val The userAccountType + * + * @return CloudPC + */ + public function setUserAccountType($val) + { + $this->_propDict["userAccountType"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user assigned to the Cloud PC. + * + * @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 + * The user principal name (UPN) of the user assigned to the Cloud PC. + * + * @param string $val The userPrincipalName + * + * @return CloudPC + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPCConnectivityIssue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPCConnectivityIssue.php new file mode 100644 index 0000000..8696a09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPCConnectivityIssue.php @@ -0,0 +1,205 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The Intune DeviceId of the device the connection is associated with. + * + * @param string $val The deviceId + * + * @return CloudPCConnectivityIssue + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the errorCode + * The error code of the connectivity issue. + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code of the connectivity issue. + * + * @param string $val The errorCode + * + * @return CloudPCConnectivityIssue + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the errorDateTime + * The time that the connection initiated. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. + * + * @return \DateTime|null The errorDateTime + */ + public function getErrorDateTime() + { + if (array_key_exists("errorDateTime", $this->_propDict)) { + if (is_a($this->_propDict["errorDateTime"], "\DateTime") || is_null($this->_propDict["errorDateTime"])) { + return $this->_propDict["errorDateTime"]; + } else { + $this->_propDict["errorDateTime"] = new \DateTime($this->_propDict["errorDateTime"]); + return $this->_propDict["errorDateTime"]; + } + } + return null; + } + + /** + * Sets the errorDateTime + * The time that the connection initiated. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. + * + * @param \DateTime $val The errorDateTime + * + * @return CloudPCConnectivityIssue + */ + public function setErrorDateTime($val) + { + $this->_propDict["errorDateTime"] = $val; + return $this; + } + + /** + * Gets the errorDescription + * The detailed description of what went wrong. + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * The detailed description of what went wrong. + * + * @param string $val The errorDescription + * + * @return CloudPCConnectivityIssue + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + + /** + * Gets the recommendedAction + * The recommended action to fix the corresponding error. + * + * @return string|null The recommendedAction + */ + public function getRecommendedAction() + { + if (array_key_exists("recommendedAction", $this->_propDict)) { + return $this->_propDict["recommendedAction"]; + } else { + return null; + } + } + + /** + * Sets the recommendedAction + * The recommended action to fix the corresponding error. + * + * @param string $val The recommendedAction + * + * @return CloudPCConnectivityIssue + */ + public function setRecommendedAction($val) + { + $this->_propDict["recommendedAction"] = $val; + return $this; + } + + /** + * Gets the userId + * The unique id of user who initialize the connection. + * + * @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 + * The unique id of user who initialize the connection. + * + * @param string $val The userId + * + * @return CloudPCConnectivityIssue + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditActivityOperationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditActivityOperationType.php new file mode 100644 index 0000000..3692334 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditActivityOperationType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["applicationDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the applicationDisplayName + * Name of the application. + * + * @param string $val The value of the applicationDisplayName + * + * @return CloudPcAuditActor + */ + public function setApplicationDisplayName($val) + { + $this->_propDict["applicationDisplayName"] = $val; + return $this; + } + /** + * Gets the applicationId + * Azure AD application ID. + * + * @return string|null The applicationId + */ + public function getApplicationId() + { + if (array_key_exists("applicationId", $this->_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * Azure AD application ID. + * + * @param string $val The value of the applicationId + * + * @return CloudPcAuditActor + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IP address. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IP address. + * + * @param string $val The value of the ipAddress + * + * @return CloudPcAuditActor + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the remoteTenantId + * The delegated partner tenant ID. + * + * @return string|null The remoteTenantId + */ + public function getRemoteTenantId() + { + if (array_key_exists("remoteTenantId", $this->_propDict)) { + return $this->_propDict["remoteTenantId"]; + } else { + return null; + } + } + + /** + * Sets the remoteTenantId + * The delegated partner tenant ID. + * + * @param string $val The value of the remoteTenantId + * + * @return CloudPcAuditActor + */ + public function setRemoteTenantId($val) + { + $this->_propDict["remoteTenantId"] = $val; + return $this; + } + /** + * Gets the remoteUserId + * The delegated partner user ID. + * + * @return string|null The remoteUserId + */ + public function getRemoteUserId() + { + if (array_key_exists("remoteUserId", $this->_propDict)) { + return $this->_propDict["remoteUserId"]; + } else { + return null; + } + } + + /** + * Sets the remoteUserId + * The delegated partner user ID. + * + * @param string $val The value of the remoteUserId + * + * @return CloudPcAuditActor + */ + public function setRemoteUserId($val) + { + $this->_propDict["remoteUserId"] = $val; + return $this; + } + /** + * Gets the servicePrincipalName + * Service Principal Name (SPN). + * + * @return string|null The servicePrincipalName + */ + public function getServicePrincipalName() + { + if (array_key_exists("servicePrincipalName", $this->_propDict)) { + return $this->_propDict["servicePrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalName + * Service Principal Name (SPN). + * + * @param string $val The value of the servicePrincipalName + * + * @return CloudPcAuditActor + */ + public function setServicePrincipalName($val) + { + $this->_propDict["servicePrincipalName"] = $val; + return $this; + } + + /** + * Gets the type + * The actor type. Possible values include ItPro, Application, Partner and Unknown. + * + * @return CloudPcAuditActorType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\CloudPcAuditActorType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CloudPcAuditActorType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The actor type. Possible values include ItPro, Application, Partner and Unknown. + * + * @param CloudPcAuditActorType $val The value to assign to the type + * + * @return CloudPcAuditActor The CloudPcAuditActor + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the userId + * Azure AD user ID. + * + * @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 + * Azure AD user ID. + * + * @param string $val The value of the userId + * + * @return CloudPcAuditActor + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPermissions + * List of user permissions and application permissions when the audit event was performed. + * + * @return string|null The userPermissions + */ + public function getUserPermissions() + { + if (array_key_exists("userPermissions", $this->_propDict)) { + return $this->_propDict["userPermissions"]; + } else { + return null; + } + } + + /** + * Sets the userPermissions + * List of user permissions and application permissions when the audit event was performed. + * + * @param string $val The value of the userPermissions + * + * @return CloudPcAuditActor + */ + public function setUserPermissions($val) + { + $this->_propDict["userPermissions"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * User Principal Name (UPN). + * + * @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 + * User Principal Name (UPN). + * + * @param string $val The value of the userPrincipalName + * + * @return CloudPcAuditActor + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userRoleScopeTags + * List of role scope tags. + * + * @return CloudPcUserRoleScopeTagInfo|null The userRoleScopeTags + */ + public function getUserRoleScopeTags() + { + if (array_key_exists("userRoleScopeTags", $this->_propDict)) { + if (is_a($this->_propDict["userRoleScopeTags"], "\Beta\Microsoft\Graph\Model\CloudPcUserRoleScopeTagInfo") || is_null($this->_propDict["userRoleScopeTags"])) { + return $this->_propDict["userRoleScopeTags"]; + } else { + $this->_propDict["userRoleScopeTags"] = new CloudPcUserRoleScopeTagInfo($this->_propDict["userRoleScopeTags"]); + return $this->_propDict["userRoleScopeTags"]; + } + } + return null; + } + + /** + * Sets the userRoleScopeTags + * List of role scope tags. + * + * @param CloudPcUserRoleScopeTagInfo $val The value to assign to the userRoleScopeTags + * + * @return CloudPcAuditActor The CloudPcAuditActor + */ + public function setUserRoleScopeTags($val) + { + $this->_propDict["userRoleScopeTags"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditActorType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditActorType.php new file mode 100644 index 0000000..2514d61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditActorType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["activity"]; + } else { + return null; + } + } + + /** + * Sets the activity + * Friendly name of the activity. Optional. + * + * @param string $val The activity + * + * @return CloudPcAuditEvent + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * The date time in UTC when the activity was performed. Read-only. + * + * @return \DateTime|null The activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * The date time in UTC when the activity was performed. Read-only. + * + * @param \DateTime $val The activityDateTime + * + * @return CloudPcAuditEvent + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the activityOperationType + * The HTTP operation type of the activity. Possible values include create, delete, patch and other. Read-only. + * + * @return CloudPcAuditActivityOperationType|null The activityOperationType + */ + public function getActivityOperationType() + { + if (array_key_exists("activityOperationType", $this->_propDict)) { + if (is_a($this->_propDict["activityOperationType"], "\Beta\Microsoft\Graph\Model\CloudPcAuditActivityOperationType") || is_null($this->_propDict["activityOperationType"])) { + return $this->_propDict["activityOperationType"]; + } else { + $this->_propDict["activityOperationType"] = new CloudPcAuditActivityOperationType($this->_propDict["activityOperationType"]); + return $this->_propDict["activityOperationType"]; + } + } + return null; + } + + /** + * Sets the activityOperationType + * The HTTP operation type of the activity. Possible values include create, delete, patch and other. Read-only. + * + * @param CloudPcAuditActivityOperationType $val The activityOperationType + * + * @return CloudPcAuditEvent + */ + public function setActivityOperationType($val) + { + $this->_propDict["activityOperationType"] = $val; + return $this; + } + + /** + * Gets the activityResult + * The result of the activity. Read-only. + * + * @return CloudPcAuditActivityResult|null The activityResult + */ + public function getActivityResult() + { + if (array_key_exists("activityResult", $this->_propDict)) { + if (is_a($this->_propDict["activityResult"], "\Beta\Microsoft\Graph\Model\CloudPcAuditActivityResult") || is_null($this->_propDict["activityResult"])) { + return $this->_propDict["activityResult"]; + } else { + $this->_propDict["activityResult"] = new CloudPcAuditActivityResult($this->_propDict["activityResult"]); + return $this->_propDict["activityResult"]; + } + } + return null; + } + + /** + * Sets the activityResult + * The result of the activity. Read-only. + * + * @param CloudPcAuditActivityResult $val The activityResult + * + * @return CloudPcAuditEvent + */ + public function setActivityResult($val) + { + $this->_propDict["activityResult"] = $val; + return $this; + } + + /** + * Gets the activityType + * The type of activity that was performed. Read-only. + * + * @return string|null The activityType + */ + public function getActivityType() + { + if (array_key_exists("activityType", $this->_propDict)) { + return $this->_propDict["activityType"]; + } else { + return null; + } + } + + /** + * Sets the activityType + * The type of activity that was performed. Read-only. + * + * @param string $val The activityType + * + * @return CloudPcAuditEvent + */ + public function setActivityType($val) + { + $this->_propDict["activityType"] = $val; + return $this; + } + + /** + * Gets the actor + * Azure AD user and application associated with the audit event. Read-only. + * + * @return CloudPcAuditActor|null The actor + */ + public function getActor() + { + if (array_key_exists("actor", $this->_propDict)) { + if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\CloudPcAuditActor") || is_null($this->_propDict["actor"])) { + return $this->_propDict["actor"]; + } else { + $this->_propDict["actor"] = new CloudPcAuditActor($this->_propDict["actor"]); + return $this->_propDict["actor"]; + } + } + return null; + } + + /** + * Sets the actor + * Azure AD user and application associated with the audit event. Read-only. + * + * @param CloudPcAuditActor $val The actor + * + * @return CloudPcAuditEvent + */ + public function setActor($val) + { + $this->_propDict["actor"] = $val; + return $this; + } + + /** + * Gets the category + * Audit category. Read-only. + * + * @return CloudPcAuditCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\CloudPcAuditCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new CloudPcAuditCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * Audit category. Read-only. + * + * @param CloudPcAuditCategory $val The category + * + * @return CloudPcAuditEvent + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the componentName + * Component name. Read-only. + * + * @return string|null The componentName + */ + public function getComponentName() + { + if (array_key_exists("componentName", $this->_propDict)) { + return $this->_propDict["componentName"]; + } else { + return null; + } + } + + /** + * Sets the componentName + * Component name. Read-only. + * + * @param string $val The componentName + * + * @return CloudPcAuditEvent + */ + public function setComponentName($val) + { + $this->_propDict["componentName"] = $val; + return $this; + } + + /** + * Gets the correlationId + * The client request identifier, used to correlate activity within the system. Read-only. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * The client request identifier, used to correlate activity within the system. Read-only. + * + * @param string $val The correlationId + * + * @return CloudPcAuditEvent + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the displayName + * Event display name. Read-only. + * + * @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 + * Event display name. Read-only. + * + * @param string $val The displayName + * + * @return CloudPcAuditEvent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the resources + * List of cloudPcAuditResource objects. Read-only. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * List of cloudPcAuditResource objects. Read-only. + * + * @param CloudPcAuditResource[] $val The resources + * + * @return CloudPcAuditEvent + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditProperty.php new file mode 100644 index 0000000..b194ae2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditProperty.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name. + * + * @param string $val The value of the displayName + * + * @return CloudPcAuditProperty + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the newValue + * New value. + * + * @return string|null The newValue + */ + public function getNewValue() + { + if (array_key_exists("newValue", $this->_propDict)) { + return $this->_propDict["newValue"]; + } else { + return null; + } + } + + /** + * Sets the newValue + * New value. + * + * @param string $val The value of the newValue + * + * @return CloudPcAuditProperty + */ + public function setNewValue($val) + { + $this->_propDict["newValue"] = $val; + return $this; + } + /** + * Gets the oldValue + * Old value. + * + * @return string|null The oldValue + */ + public function getOldValue() + { + if (array_key_exists("oldValue", $this->_propDict)) { + return $this->_propDict["oldValue"]; + } else { + return null; + } + } + + /** + * Sets the oldValue + * Old value. + * + * @param string $val The value of the oldValue + * + * @return CloudPcAuditProperty + */ + public function setOldValue($val) + { + $this->_propDict["oldValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditResource.php new file mode 100644 index 0000000..31e68cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcAuditResource.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The resource entity display name. + * + * @param string $val The value of the displayName + * + * @return CloudPcAuditResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the modifiedProperties + * A list of modified properties. + * + * @return CloudPcAuditProperty|null The modifiedProperties + */ + public function getModifiedProperties() + { + if (array_key_exists("modifiedProperties", $this->_propDict)) { + if (is_a($this->_propDict["modifiedProperties"], "\Beta\Microsoft\Graph\Model\CloudPcAuditProperty") || is_null($this->_propDict["modifiedProperties"])) { + return $this->_propDict["modifiedProperties"]; + } else { + $this->_propDict["modifiedProperties"] = new CloudPcAuditProperty($this->_propDict["modifiedProperties"]); + return $this->_propDict["modifiedProperties"]; + } + } + return null; + } + + /** + * Sets the modifiedProperties + * A list of modified properties. + * + * @param CloudPcAuditProperty $val The value to assign to the modifiedProperties + * + * @return CloudPcAuditResource The CloudPcAuditResource + */ + public function setModifiedProperties($val) + { + $this->_propDict["modifiedProperties"] = $val; + return $this; + } + /** + * Gets the resourceId + * The ID of the audit resource. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The ID of the audit resource. + * + * @param string $val The value of the resourceId + * + * @return CloudPcAuditResource + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + /** + * Gets the type + * The type of the audit resource. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of the audit resource. + * + * @param string $val The value of the type + * + * @return CloudPcAuditResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcBulkRemoteActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcBulkRemoteActionResult.php new file mode 100644 index 0000000..41dbd4a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcBulkRemoteActionResult.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["failedDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceIds + * A list of all the Intune managed device IDs that completed the bulk action with a failure. + * + * @param string $val The value of the failedDeviceIds + * + * @return CloudPcBulkRemoteActionResult + */ + public function setFailedDeviceIds($val) + { + $this->_propDict["failedDeviceIds"] = $val; + return $this; + } + /** + * Gets the notFoundDeviceIds + * A list of all the Intune managed device IDs that were not found when the bulk action was attempted. + * + * @return string|null The notFoundDeviceIds + */ + public function getNotFoundDeviceIds() + { + if (array_key_exists("notFoundDeviceIds", $this->_propDict)) { + return $this->_propDict["notFoundDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the notFoundDeviceIds + * A list of all the Intune managed device IDs that were not found when the bulk action was attempted. + * + * @param string $val The value of the notFoundDeviceIds + * + * @return CloudPcBulkRemoteActionResult + */ + public function setNotFoundDeviceIds($val) + { + $this->_propDict["notFoundDeviceIds"] = $val; + return $this; + } + /** + * Gets the notSupportedDeviceIds + * A list of all the Intune managed device IDs that were identified as unsupported for the bulk action. + * + * @return string|null The notSupportedDeviceIds + */ + public function getNotSupportedDeviceIds() + { + if (array_key_exists("notSupportedDeviceIds", $this->_propDict)) { + return $this->_propDict["notSupportedDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the notSupportedDeviceIds + * A list of all the Intune managed device IDs that were identified as unsupported for the bulk action. + * + * @param string $val The value of the notSupportedDeviceIds + * + * @return CloudPcBulkRemoteActionResult + */ + public function setNotSupportedDeviceIds($val) + { + $this->_propDict["notSupportedDeviceIds"] = $val; + return $this; + } + /** + * Gets the successfulDeviceIds + * A list of all the Intune managed device IDs that completed the bulk action successfully. + * + * @return string|null The successfulDeviceIds + */ + public function getSuccessfulDeviceIds() + { + if (array_key_exists("successfulDeviceIds", $this->_propDict)) { + return $this->_propDict["successfulDeviceIds"]; + } else { + return null; + } + } + + /** + * Sets the successfulDeviceIds + * A list of all the Intune managed device IDs that completed the bulk action successfully. + * + * @param string $val The value of the successfulDeviceIds + * + * @return CloudPcBulkRemoteActionResult + */ + public function setSuccessfulDeviceIds($val) + { + $this->_propDict["successfulDeviceIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImage.php new file mode 100644 index 0000000..db5ae7f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImage.php @@ -0,0 +1,337 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The image's display name. + * + * @param string $val The displayName + * + * @return CloudPcDeviceImage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expirationDate + * The date the image became unavailable. + * + * @return \DateTime|null The expirationDate + */ + public function getExpirationDate() + { + if (array_key_exists("expirationDate", $this->_propDict)) { + if (is_a($this->_propDict["expirationDate"], "\DateTime") || is_null($this->_propDict["expirationDate"])) { + return $this->_propDict["expirationDate"]; + } else { + $this->_propDict["expirationDate"] = new \DateTime($this->_propDict["expirationDate"]); + return $this->_propDict["expirationDate"]; + } + } + return null; + } + + /** + * Sets the expirationDate + * The date the image became unavailable. + * + * @param \DateTime $val The expirationDate + * + * @return CloudPcDeviceImage + */ + public function setExpirationDate($val) + { + $this->_propDict["expirationDate"] = $val; + return $this; + } + + /** + * 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'. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 + * + * @return CloudPcDeviceImage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * The image's operating system. For example: Windows 10 Enterprise. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * The image's operating system. For example: Windows 10 Enterprise. + * + * @param string $val The operatingSystem + * + * @return CloudPcDeviceImage + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the osBuildNumber + * The image's OS build version. For example: 1909. + * + * @return string|null The osBuildNumber + */ + public function getOsBuildNumber() + { + if (array_key_exists("osBuildNumber", $this->_propDict)) { + return $this->_propDict["osBuildNumber"]; + } else { + return null; + } + } + + /** + * Sets the osBuildNumber + * The image's OS build version. For example: 1909. + * + * @param string $val The osBuildNumber + * + * @return CloudPcDeviceImage + */ + public function setOsBuildNumber($val) + { + $this->_propDict["osBuildNumber"] = $val; + return $this; + } + + /** + * Gets the osStatus + * The OS status of this image. Possible values are: supported, supportedWithWarning, unknownFutureValue. + * + * @return CloudPcDeviceImageOsStatus|null The osStatus + */ + public function getOsStatus() + { + if (array_key_exists("osStatus", $this->_propDict)) { + if (is_a($this->_propDict["osStatus"], "\Beta\Microsoft\Graph\Model\CloudPcDeviceImageOsStatus") || is_null($this->_propDict["osStatus"])) { + return $this->_propDict["osStatus"]; + } else { + $this->_propDict["osStatus"] = new CloudPcDeviceImageOsStatus($this->_propDict["osStatus"]); + return $this->_propDict["osStatus"]; + } + } + return null; + } + + /** + * Sets the osStatus + * The OS status of this image. Possible values are: supported, supportedWithWarning, unknownFutureValue. + * + * @param CloudPcDeviceImageOsStatus $val The osStatus + * + * @return CloudPcDeviceImage + */ + public function setOsStatus($val) + { + $this->_propDict["osStatus"] = $val; + return $this; + } + + /** + * Gets the sourceImageResourceId + * 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 + */ + public function getSourceImageResourceId() + { + if (array_key_exists("sourceImageResourceId", $this->_propDict)) { + return $this->_propDict["sourceImageResourceId"]; + } else { + return null; + } + } + + /** + * Sets the sourceImageResourceId + * 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 + * + * @return CloudPcDeviceImage + */ + public function setSourceImageResourceId($val) + { + $this->_propDict["sourceImageResourceId"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the image on Cloud PC. Possible values are: pending, ready, failed. + * + * @return CloudPcDeviceImageStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcDeviceImageStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CloudPcDeviceImageStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the image on Cloud PC. Possible values are: pending, ready, failed. + * + * @param CloudPcDeviceImageStatus $val The status + * + * @return CloudPcDeviceImage + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * 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. + * + * @return CloudPcDeviceImageStatusDetails|null The statusDetails + */ + public function getStatusDetails() + { + if (array_key_exists("statusDetails", $this->_propDict)) { + if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcDeviceImageStatusDetails") || is_null($this->_propDict["statusDetails"])) { + return $this->_propDict["statusDetails"]; + } else { + $this->_propDict["statusDetails"] = new CloudPcDeviceImageStatusDetails($this->_propDict["statusDetails"]); + return $this->_propDict["statusDetails"]; + } + } + return null; + } + + /** + * 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. + * + * @param CloudPcDeviceImageStatusDetails $val The statusDetails + * + * @return CloudPcDeviceImage + */ + public function setStatusDetails($val) + { + $this->_propDict["statusDetails"] = $val; + return $this; + } + + /** + * Gets the version + * The image version. For example: 0.0.1, 1.5.13. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The image version. For example: 0.0.1, 1.5.13. + * + * @param string $val The version + * + * @return CloudPcDeviceImage + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImageOsStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImageOsStatus.php new file mode 100644 index 0000000..72605d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImageOsStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["onPremisesConnectionId"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesConnectionId + * The Azure network connection ID that matches the virtual network IT admins want the provisioning policy to use when they create Cloud PCs. You can use this property in both domain join types: Azure AD joined or Hybrid Azure AD joined. If you enter an onPremisesConnectionId, leave regionName as empty. + * + * @param string $val The value of the onPremisesConnectionId + * + * @return CloudPcDomainJoinConfiguration + */ + public function setOnPremisesConnectionId($val) + { + $this->_propDict["onPremisesConnectionId"] = $val; + return $this; + } + /** + * Gets the regionName + * The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. The underlying virtual network will be created and managed by the Windows 365 service. This can only be entered if the IT admin chooses Azure AD joined as the domain join type. If you enter a regionName, leave onPremisesConnectionId as empty. + * + * @return string|null The regionName + */ + public function getRegionName() + { + if (array_key_exists("regionName", $this->_propDict)) { + return $this->_propDict["regionName"]; + } else { + return null; + } + } + + /** + * Sets the regionName + * The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. The underlying virtual network will be created and managed by the Windows 365 service. This can only be entered if the IT admin chooses Azure AD joined as the domain join type. If you enter a regionName, leave onPremisesConnectionId as empty. + * + * @param string $val The value of the regionName + * + * @return CloudPcDomainJoinConfiguration + */ + public function setRegionName($val) + { + $this->_propDict["regionName"] = $val; + return $this; + } + + /** + * Gets the type + * Specifies how the provisioned Cloud PC will be joined to Azure AD. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave regionName as empty. If you choose the azureADJoin type, provide a value for either onPremisesConnectionId or regionName. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. + * + * @return CloudPcDomainJoinType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\CloudPcDomainJoinType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CloudPcDomainJoinType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Specifies how the provisioned Cloud PC will be joined to Azure AD. If you choose the hybridAzureADJoin type, only provide a value for the onPremisesConnectionId property and leave regionName as empty. If you choose the azureADJoin type, provide a value for either onPremisesConnectionId or regionName. The possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. + * + * @param CloudPcDomainJoinType $val The value to assign to the type + * + * @return CloudPcDomainJoinConfiguration The CloudPcDomainJoinConfiguration + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDomainJoinType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDomainJoinType.php new file mode 100644 index 0000000..662e64c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDomainJoinType.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.cloudPcForensicStorageAccount"); + } + + /** + * Gets the storageAccountId + * The ID of the storage account. + * + * @return string|null The storageAccountId + */ + public function getStorageAccountId() + { + if (array_key_exists("storageAccountId", $this->_propDict)) { + return $this->_propDict["storageAccountId"]; + } else { + return null; + } + } + + /** + * Sets the storageAccountId + * The ID of the storage account. + * + * @param string $val The value of the storageAccountId + * + * @return CloudPcForensicStorageAccount + */ + public function setStorageAccountId($val) + { + $this->_propDict["storageAccountId"] = $val; + return $this; + } + /** + * Gets the storageAccountName + * The name of the storage account. + * + * @return string|null The storageAccountName + */ + public function getStorageAccountName() + { + if (array_key_exists("storageAccountName", $this->_propDict)) { + return $this->_propDict["storageAccountName"]; + } else { + return null; + } + } + + /** + * Sets the storageAccountName + * The name of the storage account. + * + * @param string $val The value of the storageAccountName + * + * @return CloudPcForensicStorageAccount + */ + public function setStorageAccountName($val) + { + $this->_propDict["storageAccountName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcGalleryImage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcGalleryImage.php new file mode 100644 index 0000000..9c61b50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcGalleryImage.php @@ -0,0 +1,391 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The official display name of the gallery image. Read-only. + * + * @param string $val The displayName + * + * @return CloudPcGalleryImage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * 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. + * + * @return \DateTime|null The endDate + */ + public function getEndDate() + { + if (array_key_exists("endDate", $this->_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * 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. + * + * @param \DateTime $val The endDate + * + * @return CloudPcGalleryImage + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + + /** + * Gets the expirationDate + * The date when the image is no longer available. Read-only. + * + * @return \DateTime|null The expirationDate + */ + public function getExpirationDate() + { + if (array_key_exists("expirationDate", $this->_propDict)) { + if (is_a($this->_propDict["expirationDate"], "\DateTime") || is_null($this->_propDict["expirationDate"])) { + return $this->_propDict["expirationDate"]; + } else { + $this->_propDict["expirationDate"] = new \DateTime($this->_propDict["expirationDate"]); + return $this->_propDict["expirationDate"]; + } + } + return null; + } + + /** + * Sets the expirationDate + * The date when the image is no longer available. Read-only. + * + * @param \DateTime $val The expirationDate + * + * @return CloudPcGalleryImage + */ + public function setExpirationDate($val) + { + $this->_propDict["expirationDate"] = $val; + return $this; + } + + /** + * Gets the offer + * The offer name of the gallery image. This value will be passed to Azure to get the image resource. Read-only. + * + * @return string|null The offer + */ + public function getOffer() + { + if (array_key_exists("offer", $this->_propDict)) { + return $this->_propDict["offer"]; + } else { + return null; + } + } + + /** + * Sets the offer + * The offer name of the gallery image. This value will be passed to Azure to get the image resource. Read-only. + * + * @param string $val The offer + * + * @return CloudPcGalleryImage + */ + public function setOffer($val) + { + $this->_propDict["offer"] = $val; + return $this; + } + + /** + * Gets the offerDisplayName + * The official display offer name of the gallery image. For example, Windows 10 Enterprise + OS Optimizations. Read-only. + * + * @return string|null The offerDisplayName + */ + public function getOfferDisplayName() + { + if (array_key_exists("offerDisplayName", $this->_propDict)) { + return $this->_propDict["offerDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the offerDisplayName + * The official display offer name of the gallery image. For example, Windows 10 Enterprise + OS Optimizations. Read-only. + * + * @param string $val The offerDisplayName + * + * @return CloudPcGalleryImage + */ + public function setOfferDisplayName($val) + { + $this->_propDict["offerDisplayName"] = $val; + return $this; + } + + /** + * Gets the publisher + * The publisher name of the gallery image. This value will be passed to Azure to get the image resource. Read-only. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher name of the gallery image. This value will be passed to Azure to get the image resource. Read-only. + * + * @param string $val The publisher + * + * @return CloudPcGalleryImage + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the recommendedSku + * Recommended Cloud PC SKU for this gallery image. Read-only. + * + * @return string|null The recommendedSku + */ + public function getRecommendedSku() + { + if (array_key_exists("recommendedSku", $this->_propDict)) { + return $this->_propDict["recommendedSku"]; + } else { + return null; + } + } + + /** + * Sets the recommendedSku + * Recommended Cloud PC SKU for this gallery image. Read-only. + * + * @param string $val The recommendedSku + * + * @return CloudPcGalleryImage + */ + public function setRecommendedSku($val) + { + $this->_propDict["recommendedSku"] = $val; + return $this; + } + + /** + * Gets the sizeInGB + * The size of this image in gigabytes. Read-only. + * + * @return int|null The sizeInGB + */ + public function getSizeInGB() + { + if (array_key_exists("sizeInGB", $this->_propDict)) { + return $this->_propDict["sizeInGB"]; + } else { + return null; + } + } + + /** + * Sets the sizeInGB + * The size of this image in gigabytes. Read-only. + * + * @param int $val The sizeInGB + * + * @return CloudPcGalleryImage + */ + public function setSizeInGB($val) + { + $this->_propDict["sizeInGB"] = intval($val); + return $this; + } + + /** + * Gets the sku + * The SKU name of the gallery image. This value will be passed to Azure to get the image resource. Read-only. + * + * @return string|null The sku + */ + public function getSku() + { + if (array_key_exists("sku", $this->_propDict)) { + return $this->_propDict["sku"]; + } else { + return null; + } + } + + /** + * Sets the sku + * The SKU name of the gallery image. This value will be passed to Azure to get the image resource. Read-only. + * + * @param string $val The sku + * + * @return CloudPcGalleryImage + */ + public function setSku($val) + { + $this->_propDict["sku"] = $val; + return $this; + } + + /** + * Gets the skuDisplayName + * The official display stock keeping unit (SKU) name of this gallery image. For example, 2004. Read-only. + * + * @return string|null The skuDisplayName + */ + public function getSkuDisplayName() + { + if (array_key_exists("skuDisplayName", $this->_propDict)) { + return $this->_propDict["skuDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the skuDisplayName + * The official display stock keeping unit (SKU) name of this gallery image. For example, 2004. Read-only. + * + * @param string $val The skuDisplayName + * + * @return CloudPcGalleryImage + */ + public function setSkuDisplayName($val) + { + $this->_propDict["skuDisplayName"] = $val; + return $this; + } + + /** + * Gets the startDate + * The date when the image becomes available. Read-only. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * The date when the image becomes available. Read-only. + * + * @param \DateTime $val The startDate + * + * @return CloudPcGalleryImage + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. Read-only. + * + * @return CloudPcGalleryImageStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcGalleryImageStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CloudPcGalleryImageStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. Read-only. + * + * @param CloudPcGalleryImageStatus $val The status + * + * @return CloudPcGalleryImage + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcGalleryImageStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcGalleryImageStatus.php new file mode 100644 index 0000000..8ffee73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcGalleryImageStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["cloudPcId"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcId + * The unique identifier of the Cloud PC. + * + * @param string $val The value of the cloudPcId + * + * @return CloudPcLaunchInfo + */ + public function setCloudPcId($val) + { + $this->_propDict["cloudPcId"] = $val; + return $this; + } + /** + * Gets the cloudPcLaunchUrl + * The connect URL of the Cloud PC. + * + * @return string|null The cloudPcLaunchUrl + */ + public function getCloudPcLaunchUrl() + { + if (array_key_exists("cloudPcLaunchUrl", $this->_propDict)) { + return $this->_propDict["cloudPcLaunchUrl"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcLaunchUrl + * The connect URL of the Cloud PC. + * + * @param string $val The value of the cloudPcLaunchUrl + * + * @return CloudPcLaunchInfo + */ + public function setCloudPcLaunchUrl($val) + { + $this->_propDict["cloudPcLaunchUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcLoginResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcLoginResult.php new file mode 100644 index 0000000..2b49be0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcLoginResult.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["time"], "\DateTime") || is_null($this->_propDict["time"])) { + return $this->_propDict["time"]; + } else { + $this->_propDict["time"] = new \DateTime($this->_propDict["time"]); + return $this->_propDict["time"]; + } + } + return null; + } + + /** + * Sets the time + * The time of the Cloud PC sign in action. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. Read-only. + * + * @param \DateTime $val The value to assign to the time + * + * @return CloudPcLoginResult The CloudPcLoginResult + */ + public function setTime($val) + { + $this->_propDict["time"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcManagementAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcManagementAssignmentTarget.php new file mode 100644 index 0000000..84b2c79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcManagementAssignmentTarget.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.cloudPcManagementGroupAssignmentTarget"); + } + + /** + * Gets the groupId + * The id of the assignment's target group + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The id of the assignment's target group + * + * @param string $val The value of the groupId + * + * @return CloudPcManagementGroupAssignmentTarget + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcManagementService.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcManagementService.php new file mode 100644 index 0000000..3753a3a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcManagementService.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["adDomainName"]; + } else { + return null; + } + } + + /** + * Sets the adDomainName + * The fully qualified domain name (FQDN) of the Active Directory domain you want to join. Optional. + * + * @param string $val The adDomainName + * + * @return CloudPcOnPremisesConnection + */ + public function setAdDomainName($val) + { + $this->_propDict["adDomainName"] = $val; + return $this; + } + + /** + * Gets the adDomainPassword + * The password associated with adDomainUsername. + * + * @return string|null The adDomainPassword + */ + public function getAdDomainPassword() + { + if (array_key_exists("adDomainPassword", $this->_propDict)) { + return $this->_propDict["adDomainPassword"]; + } else { + return null; + } + } + + /** + * Sets the adDomainPassword + * The password associated with adDomainUsername. + * + * @param string $val The adDomainPassword + * + * @return CloudPcOnPremisesConnection + */ + public function setAdDomainPassword($val) + { + $this->_propDict["adDomainPassword"] = $val; + return $this; + } + + /** + * Gets the adDomainUsername + * The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. Optional. + * + * @return string|null The adDomainUsername + */ + public function getAdDomainUsername() + { + if (array_key_exists("adDomainUsername", $this->_propDict)) { + return $this->_propDict["adDomainUsername"]; + } else { + return null; + } + } + + /** + * Sets the adDomainUsername + * The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. Optional. + * + * @param string $val The adDomainUsername + * + * @return CloudPcOnPremisesConnection + */ + public function setAdDomainUsername($val) + { + $this->_propDict["adDomainUsername"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the Azure network connection. + * + * @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 + * The display name for the Azure network connection. + * + * @param string $val The displayName + * + * @return CloudPcOnPremisesConnection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the healthCheckStatus + * The status of the most recent health check done on the Azure network connection. For example, if status is 'passed', the Azure network connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. + * + * @return CloudPcOnPremisesConnectionStatus|null The healthCheckStatus + */ + public function getHealthCheckStatus() + { + if (array_key_exists("healthCheckStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthCheckStatus"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionStatus") || is_null($this->_propDict["healthCheckStatus"])) { + return $this->_propDict["healthCheckStatus"]; + } else { + $this->_propDict["healthCheckStatus"] = new CloudPcOnPremisesConnectionStatus($this->_propDict["healthCheckStatus"]); + return $this->_propDict["healthCheckStatus"]; + } + } + return null; + } + + /** + * Sets the healthCheckStatus + * The status of the most recent health check done on the Azure network connection. For example, if status is 'passed', the Azure network connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. + * + * @param CloudPcOnPremisesConnectionStatus $val The healthCheckStatus + * + * @return CloudPcOnPremisesConnection + */ + public function setHealthCheckStatus($val) + { + $this->_propDict["healthCheckStatus"] = $val; + return $this; + } + + /** + * Gets the healthCheckStatusDetails + * The details of the connection's health checks and the corresponding results. Returned only on $select.For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. + * + * @return CloudPcOnPremisesConnectionStatusDetails|null The healthCheckStatusDetails + */ + public function getHealthCheckStatusDetails() + { + if (array_key_exists("healthCheckStatusDetails", $this->_propDict)) { + if (is_a($this->_propDict["healthCheckStatusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionStatusDetails") || is_null($this->_propDict["healthCheckStatusDetails"])) { + return $this->_propDict["healthCheckStatusDetails"]; + } else { + $this->_propDict["healthCheckStatusDetails"] = new CloudPcOnPremisesConnectionStatusDetails($this->_propDict["healthCheckStatusDetails"]); + return $this->_propDict["healthCheckStatusDetails"]; + } + } + return null; + } + + /** + * Sets the healthCheckStatusDetails + * The details of the connection's health checks and the corresponding results. Returned only on $select.For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. + * + * @param CloudPcOnPremisesConnectionStatusDetails $val The healthCheckStatusDetails + * + * @return CloudPcOnPremisesConnection + */ + public function setHealthCheckStatusDetails($val) + { + $this->_propDict["healthCheckStatusDetails"] = $val; + return $this; + } + + /** + * Gets the inUse + * When true, the Azure network connection is in use. When false, the connection is not in use. You cannot delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. + * + * @return bool|null The inUse + */ + public function getInUse() + { + if (array_key_exists("inUse", $this->_propDict)) { + return $this->_propDict["inUse"]; + } else { + return null; + } + } + + /** + * Sets the inUse + * When true, the Azure network connection is in use. When false, the connection is not in use. You cannot delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. + * + * @param bool $val The inUse + * + * @return CloudPcOnPremisesConnection + */ + public function setInUse($val) + { + $this->_propDict["inUse"] = boolval($val); + return $this; + } + + /** + * Gets the managedBy + * Specifies which services manage the Azure network connection. Possible values are: windows365, devBox and unknownFutureValue. Read-only. + * + * @return CloudPcManagementService|null The managedBy + */ + public function getManagedBy() + { + if (array_key_exists("managedBy", $this->_propDict)) { + if (is_a($this->_propDict["managedBy"], "\Beta\Microsoft\Graph\Model\CloudPcManagementService") || is_null($this->_propDict["managedBy"])) { + return $this->_propDict["managedBy"]; + } else { + $this->_propDict["managedBy"] = new CloudPcManagementService($this->_propDict["managedBy"]); + return $this->_propDict["managedBy"]; + } + } + return null; + } + + /** + * Sets the managedBy + * Specifies which services manage the Azure network connection. Possible values are: windows365, devBox and unknownFutureValue. Read-only. + * + * @param CloudPcManagementService $val The managedBy + * + * @return CloudPcOnPremisesConnection + */ + public function setManagedBy($val) + { + $this->_propDict["managedBy"] = $val; + return $this; + } + + /** + * Gets the organizationalUnit + * The organizational unit (OU) in which the computer account is created. If left null, the OU that’s configured as the default (a well-known computer object container) in your Active Directory domain (OU) is used. Optional. + * + * @return string|null The organizationalUnit + */ + public function getOrganizationalUnit() + { + if (array_key_exists("organizationalUnit", $this->_propDict)) { + return $this->_propDict["organizationalUnit"]; + } else { + return null; + } + } + + /** + * Sets the organizationalUnit + * The organizational unit (OU) in which the computer account is created. If left null, the OU that’s configured as the default (a well-known computer object container) in your Active Directory domain (OU) is used. Optional. + * + * @param string $val The organizationalUnit + * + * @return CloudPcOnPremisesConnection + */ + public function setOrganizationalUnit($val) + { + $this->_propDict["organizationalUnit"] = $val; + return $this; + } + + /** + * Gets the resourceGroupId + * The ID of the target resource group. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}'. + * + * @return string|null The resourceGroupId + */ + public function getResourceGroupId() + { + if (array_key_exists("resourceGroupId", $this->_propDict)) { + return $this->_propDict["resourceGroupId"]; + } else { + return null; + } + } + + /** + * Sets the resourceGroupId + * The ID of the target resource group. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}'. + * + * @param string $val The resourceGroupId + * + * @return CloudPcOnPremisesConnection + */ + public function setResourceGroupId($val) + { + $this->_propDict["resourceGroupId"] = $val; + return $this; + } + + /** + * Gets the subnetId + * The ID of the target subnet. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}'. + * + * @return string|null The subnetId + */ + public function getSubnetId() + { + if (array_key_exists("subnetId", $this->_propDict)) { + return $this->_propDict["subnetId"]; + } else { + return null; + } + } + + /** + * Sets the subnetId + * The ID of the target subnet. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}'. + * + * @param string $val The subnetId + * + * @return CloudPcOnPremisesConnection + */ + public function setSubnetId($val) + { + $this->_propDict["subnetId"] = $val; + return $this; + } + + /** + * Gets the subscriptionId + * The ID of the target Azure subscription that’s associated with your tenant. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * The ID of the target Azure subscription that’s associated with your tenant. + * + * @param string $val The subscriptionId + * + * @return CloudPcOnPremisesConnection + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } + + /** + * Gets the subscriptionName + * The name of the target Azure subscription. Read-only. + * + * @return string|null The subscriptionName + */ + public function getSubscriptionName() + { + if (array_key_exists("subscriptionName", $this->_propDict)) { + return $this->_propDict["subscriptionName"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionName + * The name of the target Azure subscription. Read-only. + * + * @param string $val The subscriptionName + * + * @return CloudPcOnPremisesConnection + */ + public function setSubscriptionName($val) + { + $this->_propDict["subscriptionName"] = $val; + return $this; + } + + /** + * Gets the type + * Specifies how the provisioned Cloud PC will be joined to Azure Active Directory. Default value is hybridAzureADJoin. Possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. + * + * @return CloudPcOnPremisesConnectionType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CloudPcOnPremisesConnectionType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Specifies how the provisioned Cloud PC will be joined to Azure Active Directory. Default value is hybridAzureADJoin. Possible values are: azureADJoin, hybridAzureADJoin, unknownFutureValue. + * + * @param CloudPcOnPremisesConnectionType $val The type + * + * @return CloudPcOnPremisesConnection + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the virtualNetworkId + * The ID of the target virtual network. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'. + * + * @return string|null The virtualNetworkId + */ + public function getVirtualNetworkId() + { + if (array_key_exists("virtualNetworkId", $this->_propDict)) { + return $this->_propDict["virtualNetworkId"]; + } else { + return null; + } + } + + /** + * Sets the virtualNetworkId + * The ID of the target virtual network. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'. + * + * @param string $val The virtualNetworkId + * + * @return CloudPcOnPremisesConnection + */ + public function setVirtualNetworkId($val) + { + $this->_propDict["virtualNetworkId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheck.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheck.php new file mode 100644 index 0000000..5828537 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheck.php @@ -0,0 +1,242 @@ +_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Additional details about the health check or the recommended action. + * + * @param string $val The value of the additionalDetails + * + * @return CloudPcOnPremisesConnectionHealthCheck + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for this health check item. + * + * @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 + * The display name for this health check item. + * + * @param string $val The value of the displayName + * + * @return CloudPcOnPremisesConnectionHealthCheck + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The end time of the health check item. Read-only. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the health check item. Read-only. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return CloudPcOnPremisesConnectionHealthCheck The CloudPcOnPremisesConnectionHealthCheck + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the errorType + * The type of error that occurred during this health check. + * + * @return CloudPcOnPremisesConnectionHealthCheckErrorType|null The errorType + */ + public function getErrorType() + { + if (array_key_exists("errorType", $this->_propDict)) { + if (is_a($this->_propDict["errorType"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionHealthCheckErrorType") || is_null($this->_propDict["errorType"])) { + return $this->_propDict["errorType"]; + } else { + $this->_propDict["errorType"] = new CloudPcOnPremisesConnectionHealthCheckErrorType($this->_propDict["errorType"]); + return $this->_propDict["errorType"]; + } + } + return null; + } + + /** + * Sets the errorType + * The type of error that occurred during this health check. + * + * @param CloudPcOnPremisesConnectionHealthCheckErrorType $val The value to assign to the errorType + * + * @return CloudPcOnPremisesConnectionHealthCheck The CloudPcOnPremisesConnectionHealthCheck + */ + public function setErrorType($val) + { + $this->_propDict["errorType"] = $val; + return $this; + } + /** + * Gets the recommendedAction + * The recommended action to fix the corresponding error. + * + * @return string|null The recommendedAction + */ + public function getRecommendedAction() + { + if (array_key_exists("recommendedAction", $this->_propDict)) { + return $this->_propDict["recommendedAction"]; + } else { + return null; + } + } + + /** + * Sets the recommendedAction + * The recommended action to fix the corresponding error. + * + * @param string $val The value of the recommendedAction + * + * @return CloudPcOnPremisesConnectionHealthCheck + */ + public function setRecommendedAction($val) + { + $this->_propDict["recommendedAction"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the health check item. Read-only. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the health check item. Read-only. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return CloudPcOnPremisesConnectionHealthCheck The CloudPcOnPremisesConnectionHealthCheck + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the health check item. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. + * + * @return CloudPcOnPremisesConnectionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CloudPcOnPremisesConnectionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the health check item. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. + * + * @param CloudPcOnPremisesConnectionStatus $val The value to assign to the status + * + * @return CloudPcOnPremisesConnectionHealthCheck The CloudPcOnPremisesConnectionHealthCheck + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php new file mode 100644 index 0000000..8b22f63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php @@ -0,0 +1,86 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the connection health check. 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 endDateTime + * + * @return CloudPcOnPremisesConnectionStatusDetails The CloudPcOnPremisesConnectionStatusDetails + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the healthChecks + * All checks that are done on the connection. + * + * @return CloudPcOnPremisesConnectionHealthCheck|null The healthChecks + */ + public function getHealthChecks() + { + if (array_key_exists("healthChecks", $this->_propDict)) { + if (is_a($this->_propDict["healthChecks"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionHealthCheck") || is_null($this->_propDict["healthChecks"])) { + return $this->_propDict["healthChecks"]; + } else { + $this->_propDict["healthChecks"] = new CloudPcOnPremisesConnectionHealthCheck($this->_propDict["healthChecks"]); + return $this->_propDict["healthChecks"]; + } + } + return null; + } + + /** + * Sets the healthChecks + * All checks that are done on the connection. + * + * @param CloudPcOnPremisesConnectionHealthCheck $val The value to assign to the healthChecks + * + * @return CloudPcOnPremisesConnectionStatusDetails The CloudPcOnPremisesConnectionStatusDetails + */ + public function setHealthChecks($val) + { + $this->_propDict["healthChecks"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the connection health check. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the connection health check. 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 startDateTime + * + * @return CloudPcOnPremisesConnectionStatusDetails The CloudPcOnPremisesConnectionStatusDetails + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionType.php new file mode 100644 index 0000000..5fda4aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["osVersion"], "\Beta\Microsoft\Graph\Model\CloudPcOperatingSystem") || is_null($this->_propDict["osVersion"])) { + return $this->_propDict["osVersion"]; + } else { + $this->_propDict["osVersion"] = new CloudPcOperatingSystem($this->_propDict["osVersion"]); + return $this->_propDict["osVersion"]; + } + } + return null; + } + + /** + * Sets the osVersion + * The version of the operating system (OS) to provision on Cloud PCs. The possible values are: windows10, windows11, unknownFutureValue. + * + * @param CloudPcOperatingSystem $val The osVersion + * + * @return CloudPcOrganizationSettings + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the userAccountType + * The account type of the user on provisioned Cloud PCs. The possible values are: standardUser, administrator, unknownFutureValue. + * + * @return CloudPcUserAccountType|null The userAccountType + */ + public function getUserAccountType() + { + if (array_key_exists("userAccountType", $this->_propDict)) { + if (is_a($this->_propDict["userAccountType"], "\Beta\Microsoft\Graph\Model\CloudPcUserAccountType") || is_null($this->_propDict["userAccountType"])) { + return $this->_propDict["userAccountType"]; + } else { + $this->_propDict["userAccountType"] = new CloudPcUserAccountType($this->_propDict["userAccountType"]); + return $this->_propDict["userAccountType"]; + } + } + return null; + } + + /** + * Sets the userAccountType + * The account type of the user on provisioned Cloud PCs. The possible values are: standardUser, administrator, unknownFutureValue. + * + * @param CloudPcUserAccountType $val The userAccountType + * + * @return CloudPcOrganizationSettings + */ + public function setUserAccountType($val) + { + $this->_propDict["userAccountType"] = $val; + return $this; + } + + /** + * Gets the windowsSettings + * Represents the Cloud PC organization settings for a tenant. A tenant has only one cloudPcOrganizationSettings object. The default language value en-US. + * + * @return CloudPcWindowsSettings|null The windowsSettings + */ + public function getWindowsSettings() + { + if (array_key_exists("windowsSettings", $this->_propDict)) { + if (is_a($this->_propDict["windowsSettings"], "\Beta\Microsoft\Graph\Model\CloudPcWindowsSettings") || is_null($this->_propDict["windowsSettings"])) { + return $this->_propDict["windowsSettings"]; + } else { + $this->_propDict["windowsSettings"] = new CloudPcWindowsSettings($this->_propDict["windowsSettings"]); + return $this->_propDict["windowsSettings"]; + } + } + return null; + } + + /** + * Sets the windowsSettings + * Represents the Cloud PC organization settings for a tenant. A tenant has only one cloudPcOrganizationSettings object. The default language value en-US. + * + * @param CloudPcWindowsSettings $val The windowsSettings + * + * @return CloudPcOrganizationSettings + */ + public function setWindowsSettings($val) + { + $this->_propDict["windowsSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php new file mode 100644 index 0000000..e481622 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php @@ -0,0 +1,334 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The provisioning policy description. + * + * @param string $val The description + * + * @return CloudPcProvisioningPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the provisioning policy. + * + * @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 + * The display name for the provisioning policy. + * + * @param string $val The displayName + * + * @return CloudPcProvisioningPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the domainJoinConfiguration + * Specifies how Cloud PCs will join Azure Active Directory. + * + * @return CloudPcDomainJoinConfiguration|null The domainJoinConfiguration + */ + public function getDomainJoinConfiguration() + { + if (array_key_exists("domainJoinConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["domainJoinConfiguration"], "\Beta\Microsoft\Graph\Model\CloudPcDomainJoinConfiguration") || is_null($this->_propDict["domainJoinConfiguration"])) { + return $this->_propDict["domainJoinConfiguration"]; + } else { + $this->_propDict["domainJoinConfiguration"] = new CloudPcDomainJoinConfiguration($this->_propDict["domainJoinConfiguration"]); + return $this->_propDict["domainJoinConfiguration"]; + } + } + return null; + } + + /** + * Sets the domainJoinConfiguration + * Specifies how Cloud PCs will join Azure Active Directory. + * + * @param CloudPcDomainJoinConfiguration $val The domainJoinConfiguration + * + * @return CloudPcProvisioningPolicy + */ + public function setDomainJoinConfiguration($val) + { + $this->_propDict["domainJoinConfiguration"] = $val; + return $this; + } + + /** + * Gets the imageDisplayName + * The display name for the OS image you’re provisioning. + * + * @return string|null The imageDisplayName + */ + public function getImageDisplayName() + { + if (array_key_exists("imageDisplayName", $this->_propDict)) { + return $this->_propDict["imageDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the imageDisplayName + * The display name for the OS image you’re provisioning. + * + * @param string $val The imageDisplayName + * + * @return CloudPcProvisioningPolicy + */ + public function setImageDisplayName($val) + { + $this->_propDict["imageDisplayName"] = $val; + return $this; + } + + /** + * Gets the imageId + * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. + * + * @return string|null The imageId + */ + public function getImageId() + { + if (array_key_exists("imageId", $this->_propDict)) { + return $this->_propDict["imageId"]; + } else { + return null; + } + } + + /** + * Sets the imageId + * The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows:publisher: Microsoftwindowsdesktop. offer: windows-ent-cpc. sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os. + * + * @param string $val The imageId + * + * @return CloudPcProvisioningPolicy + */ + public function setImageId($val) + { + $this->_propDict["imageId"] = $val; + return $this; + } + + /** + * Gets the imageType + * The type of OS image (custom or gallery) you want to provision on Cloud PCs. Possible values are: gallery, custom. + * + * @return CloudPcProvisioningPolicyImageType|null The imageType + */ + public function getImageType() + { + if (array_key_exists("imageType", $this->_propDict)) { + if (is_a($this->_propDict["imageType"], "\Beta\Microsoft\Graph\Model\CloudPcProvisioningPolicyImageType") || is_null($this->_propDict["imageType"])) { + return $this->_propDict["imageType"]; + } else { + $this->_propDict["imageType"] = new CloudPcProvisioningPolicyImageType($this->_propDict["imageType"]); + return $this->_propDict["imageType"]; + } + } + return null; + } + + /** + * Sets the imageType + * The type of OS image (custom or gallery) you want to provision on Cloud PCs. Possible values are: gallery, custom. + * + * @param CloudPcProvisioningPolicyImageType $val The imageType + * + * @return CloudPcProvisioningPolicy + */ + public function setImageType($val) + { + $this->_propDict["imageType"] = $val; + return $this; + } + + /** + * Gets the microsoftManagedDesktop + * The specific settings for the Microsoft Managed Desktop, which enables customers to get a managed device experience for the Cloud PC. Before you can enable Microsoft Managed Desktop, an admin must configure it. + * + * @return MicrosoftManagedDesktop|null The microsoftManagedDesktop + */ + public function getMicrosoftManagedDesktop() + { + if (array_key_exists("microsoftManagedDesktop", $this->_propDict)) { + if (is_a($this->_propDict["microsoftManagedDesktop"], "\Beta\Microsoft\Graph\Model\MicrosoftManagedDesktop") || is_null($this->_propDict["microsoftManagedDesktop"])) { + return $this->_propDict["microsoftManagedDesktop"]; + } else { + $this->_propDict["microsoftManagedDesktop"] = new MicrosoftManagedDesktop($this->_propDict["microsoftManagedDesktop"]); + return $this->_propDict["microsoftManagedDesktop"]; + } + } + return null; + } + + /** + * Sets the microsoftManagedDesktop + * The specific settings for the Microsoft Managed Desktop, which enables customers to get a managed device experience for the Cloud PC. Before you can enable Microsoft Managed Desktop, an admin must configure it. + * + * @param MicrosoftManagedDesktop $val The microsoftManagedDesktop + * + * @return CloudPcProvisioningPolicy + */ + public function setMicrosoftManagedDesktop($val) + { + $this->_propDict["microsoftManagedDesktop"] = $val; + return $this; + } + + /** + * Gets the onPremisesConnectionId + * The ID of the cloudPcOnPremisesConnection. To ensure that Cloud PCs have network connectivity and that they domain join, choose a connection with a virtual network that’s validated by the Cloud PC service. + * + * @return string|null The onPremisesConnectionId + */ + public function getOnPremisesConnectionId() + { + if (array_key_exists("onPremisesConnectionId", $this->_propDict)) { + return $this->_propDict["onPremisesConnectionId"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesConnectionId + * The ID of the cloudPcOnPremisesConnection. To ensure that Cloud PCs have network connectivity and that they domain join, choose a connection with a virtual network that’s validated by the Cloud PC service. + * + * @param string $val The onPremisesConnectionId + * + * @return CloudPcProvisioningPolicy + */ + public function setOnPremisesConnectionId($val) + { + $this->_propDict["onPremisesConnectionId"] = $val; + return $this; + } + + /** + * Gets the windowsSettings + * Specific Windows settings to configure while creating Cloud PCs for this provisioning policy. + * + * @return CloudPcWindowsSettings|null The windowsSettings + */ + public function getWindowsSettings() + { + if (array_key_exists("windowsSettings", $this->_propDict)) { + if (is_a($this->_propDict["windowsSettings"], "\Beta\Microsoft\Graph\Model\CloudPcWindowsSettings") || is_null($this->_propDict["windowsSettings"])) { + return $this->_propDict["windowsSettings"]; + } else { + $this->_propDict["windowsSettings"] = new CloudPcWindowsSettings($this->_propDict["windowsSettings"]); + return $this->_propDict["windowsSettings"]; + } + } + return null; + } + + /** + * Sets the windowsSettings + * Specific Windows settings to configure while creating Cloud PCs for this provisioning policy. + * + * @param CloudPcWindowsSettings $val The windowsSettings + * + * @return CloudPcProvisioningPolicy + */ + public function setWindowsSettings($val) + { + $this->_propDict["windowsSettings"] = $val; + return $this; + } + + + /** + * Gets the assignments + * A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Azure AD that have provisioning policy assigned. Returned only on $expand. See an example of getting the assignments relationship. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Azure AD that have provisioning policy assigned. Returned only on $expand. See an example of getting the assignments relationship. + * + * @param CloudPcProvisioningPolicyAssignment[] $val The assignments + * + * @return CloudPcProvisioningPolicy + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyAssignment.php new file mode 100644 index 0000000..b054582 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\CloudPcManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new CloudPcManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the provisioning policy. Currently, the only target supported for this policy is a user group. For details, see cloudPcManagementGroupAssignmentTarget. + * + * @param CloudPcManagementAssignmentTarget $val The target + * + * @return CloudPcProvisioningPolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyImageType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyImageType.php new file mode 100644 index 0000000..b8d9858 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyImageType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * The specified action. Supported values in the Microsoft Endpoint Manager portal are: Reprovision, Resize, Restore. Supported values in enterprise Cloud PC devices are: Reboot, Rename, Reprovision, Troubleshoot. + * + * @param string $val The value of the actionName + * + * @return CloudPcRemoteActionResult + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the actionState + * State of the action. Possible values are: None, pending, canceled, active, done, failed, notSupported. Read-only. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * State of the action. Possible values are: None, pending, canceled, active, done, failed, notSupported. Read-only. + * + * @param ActionState $val The value to assign to the actionState + * + * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + /** + * Gets the cloudPcId + * The ID of the Cloud PC device on which the remote action is performed. Read-only. + * + * @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 + * The ID of the Cloud PC device on which the remote action is performed. Read-only. + * + * @param string $val The value of the cloudPcId + * + * @return CloudPcRemoteActionResult + */ + public function setCloudPcId($val) + { + $this->_propDict["cloudPcId"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Last update time for action. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. + * + * @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 + * Last update time for action. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + /** + * Gets the managedDeviceId + * The ID of the Intune managed device on which the remote action is performed. Read-only. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The ID of the Intune managed device on which the remote action is performed. Read-only. + * + * @param string $val The value of the managedDeviceId + * + * @return CloudPcRemoteActionResult + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time the action was initiated. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time the action was initiated. The Timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as '2014-01-01T00:00:00Z'. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the statusDetails + * The details of the Cloud PC status. + * + * @return CloudPcStatusDetails|null The statusDetails + */ + public function getStatusDetails() + { + if (array_key_exists("statusDetails", $this->_propDict)) { + if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcStatusDetails") || is_null($this->_propDict["statusDetails"])) { + return $this->_propDict["statusDetails"]; + } else { + $this->_propDict["statusDetails"] = new CloudPcStatusDetails($this->_propDict["statusDetails"]); + return $this->_propDict["statusDetails"]; + } + } + return null; + } + + /** + * Sets the statusDetails + * The details of the Cloud PC status. + * + * @param CloudPcStatusDetails $val The value to assign to the statusDetails + * + * @return CloudPcRemoteActionResult The CloudPcRemoteActionResult + */ + public function setStatusDetails($val) + { + $this->_propDict["statusDetails"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcRestorePointSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcRestorePointSetting.php new file mode 100644 index 0000000..51d3880 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcRestorePointSetting.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["frequencyInHours"]; + } else { + return null; + } + } + + /** + * Sets the frequencyInHours + * The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are 4, 6, 12, 16, and 24. The default frequency is 12 hours. + * + * @param int $val The value of the frequencyInHours + * + * @return CloudPcRestorePointSetting + */ + public function setFrequencyInHours($val) + { + $this->_propDict["frequencyInHours"] = $val; + return $this; + } + /** + * Gets the userRestoreEnabled + * If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users cannot use snapshots to restore the Cloud PC. + * + * @return bool|null The userRestoreEnabled + */ + public function getUserRestoreEnabled() + { + if (array_key_exists("userRestoreEnabled", $this->_propDict)) { + return $this->_propDict["userRestoreEnabled"]; + } else { + return null; + } + } + + /** + * Sets the userRestoreEnabled + * If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users cannot use snapshots to restore the Cloud PC. + * + * @param bool $val The value of the userRestoreEnabled + * + * @return CloudPcRestorePointSetting + */ + public function setUserRestoreEnabled($val) + { + $this->_propDict["userRestoreEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcReviewStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcReviewStatus.php new file mode 100644 index 0000000..8b73718 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcReviewStatus.php @@ -0,0 +1,265 @@ +_propDict)) { + return $this->_propDict["azureStorageAccountId"]; + } else { + return null; + } + } + + /** + * Sets the azureStorageAccountId + * The resource ID of the Azure Storage account in which the Cloud PC snapshot is being saved. + * + * @param string $val The value of the azureStorageAccountId + * + * @return CloudPcReviewStatus + */ + public function setAzureStorageAccountId($val) + { + $this->_propDict["azureStorageAccountId"] = $val; + return $this; + } + /** + * Gets the azureStorageAccountName + * The name of the Azure Storage account in which the Cloud PC snapshot is being saved. + * + * @return string|null The azureStorageAccountName + */ + public function getAzureStorageAccountName() + { + if (array_key_exists("azureStorageAccountName", $this->_propDict)) { + return $this->_propDict["azureStorageAccountName"]; + } else { + return null; + } + } + + /** + * Sets the azureStorageAccountName + * The name of the Azure Storage account in which the Cloud PC snapshot is being saved. + * + * @param string $val The value of the azureStorageAccountName + * + * @return CloudPcReviewStatus + */ + public function setAzureStorageAccountName($val) + { + $this->_propDict["azureStorageAccountName"] = $val; + return $this; + } + /** + * Gets the inReview + * True if the Cloud PC is set to in review by the administrator. + * + * @return bool|null The inReview + */ + public function getInReview() + { + if (array_key_exists("inReview", $this->_propDict)) { + return $this->_propDict["inReview"]; + } else { + return null; + } + } + + /** + * Sets the inReview + * True if the Cloud PC is set to in review by the administrator. + * + * @param bool $val The value of the inReview + * + * @return CloudPcReviewStatus + */ + public function setInReview($val) + { + $this->_propDict["inReview"] = $val; + return $this; + } + + /** + * Gets the restorePointDateTime + * The specific date and time of the Cloud PC snapshot that was taken and saved automatically, when the Cloud PC is set to in review. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The restorePointDateTime + */ + public function getRestorePointDateTime() + { + if (array_key_exists("restorePointDateTime", $this->_propDict)) { + if (is_a($this->_propDict["restorePointDateTime"], "\DateTime") || is_null($this->_propDict["restorePointDateTime"])) { + return $this->_propDict["restorePointDateTime"]; + } else { + $this->_propDict["restorePointDateTime"] = new \DateTime($this->_propDict["restorePointDateTime"]); + return $this->_propDict["restorePointDateTime"]; + } + } + return null; + } + + /** + * Sets the restorePointDateTime + * The specific date and time of the Cloud PC snapshot that was taken and saved automatically, when the Cloud PC is set to in review. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the restorePointDateTime + * + * @return CloudPcReviewStatus The CloudPcReviewStatus + */ + public function setRestorePointDateTime($val) + { + $this->_propDict["restorePointDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewStartDateTime + * The specific date and time when the Cloud PC was set to in review. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The reviewStartDateTime + */ + public function getReviewStartDateTime() + { + if (array_key_exists("reviewStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewStartDateTime"], "\DateTime") || is_null($this->_propDict["reviewStartDateTime"])) { + return $this->_propDict["reviewStartDateTime"]; + } else { + $this->_propDict["reviewStartDateTime"] = new \DateTime($this->_propDict["reviewStartDateTime"]); + return $this->_propDict["reviewStartDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewStartDateTime + * The specific date and time when the Cloud PC was set to in review. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the reviewStartDateTime + * + * @return CloudPcReviewStatus The CloudPcReviewStatus + */ + public function setReviewStartDateTime($val) + { + $this->_propDict["reviewStartDateTime"] = $val; + return $this; + } + /** + * Gets the subscriptionId + * The ID of the Azure subscription in which the Cloud PC snapshot is being saved, in GUID format. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * The ID of the Azure subscription in which the Cloud PC snapshot is being saved, in GUID format. + * + * @param string $val The value of the subscriptionId + * + * @return CloudPcReviewStatus + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } + /** + * Gets the subscriptionName + * The name of the Azure subscription in which the Cloud PC snapshot is being saved. + * + * @return string|null The subscriptionName + */ + public function getSubscriptionName() + { + if (array_key_exists("subscriptionName", $this->_propDict)) { + return $this->_propDict["subscriptionName"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionName + * The name of the Azure subscription in which the Cloud PC snapshot is being saved. + * + * @param string $val The value of the subscriptionName + * + * @return CloudPcReviewStatus + */ + public function setSubscriptionName($val) + { + $this->_propDict["subscriptionName"] = $val; + return $this; + } + + /** + * Gets the userAccessLevel + * The access level of the end user on the Cloud PC. Possible values are: unrestricted, restricted. + * + * @return CloudPcUserAccessLevel|null The userAccessLevel + */ + public function getUserAccessLevel() + { + if (array_key_exists("userAccessLevel", $this->_propDict)) { + if (is_a($this->_propDict["userAccessLevel"], "\Beta\Microsoft\Graph\Model\CloudPcUserAccessLevel") || is_null($this->_propDict["userAccessLevel"])) { + return $this->_propDict["userAccessLevel"]; + } else { + $this->_propDict["userAccessLevel"] = new CloudPcUserAccessLevel($this->_propDict["userAccessLevel"]); + return $this->_propDict["userAccessLevel"]; + } + } + return null; + } + + /** + * Sets the userAccessLevel + * The access level of the end user on the Cloud PC. Possible values are: unrestricted, restricted. + * + * @param CloudPcUserAccessLevel $val The value to assign to the userAccessLevel + * + * @return CloudPcReviewStatus The CloudPcReviewStatus + */ + public function setUserAccessLevel($val) + { + $this->_propDict["userAccessLevel"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcServicePlan.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcServicePlan.php new file mode 100644 index 0000000..b188741 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcServicePlan.php @@ -0,0 +1,205 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name for the service plan. Read-only. + * + * @param string $val The displayName + * + * @return CloudPcServicePlan + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the ramInGB + * The size of the RAM in GB. Read-only. + * + * @return int|null The ramInGB + */ + public function getRamInGB() + { + if (array_key_exists("ramInGB", $this->_propDict)) { + return $this->_propDict["ramInGB"]; + } else { + return null; + } + } + + /** + * Sets the ramInGB + * The size of the RAM in GB. Read-only. + * + * @param int $val The ramInGB + * + * @return CloudPcServicePlan + */ + public function setRamInGB($val) + { + $this->_propDict["ramInGB"] = intval($val); + return $this; + } + + /** + * Gets the storageInGB + * The size of the OS Disk in GB. Read-only. + * + * @return int|null The storageInGB + */ + public function getStorageInGB() + { + if (array_key_exists("storageInGB", $this->_propDict)) { + return $this->_propDict["storageInGB"]; + } else { + return null; + } + } + + /** + * Sets the storageInGB + * The size of the OS Disk in GB. Read-only. + * + * @param int $val The storageInGB + * + * @return CloudPcServicePlan + */ + public function setStorageInGB($val) + { + $this->_propDict["storageInGB"] = intval($val); + return $this; + } + + /** + * Gets the type + * The type of the service plan. Possible values are: enterprise, business, unknownFutureValue. Read-only. + * + * @return CloudPcServicePlanType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\CloudPcServicePlanType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CloudPcServicePlanType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of the service plan. Possible values are: enterprise, business, unknownFutureValue. Read-only. + * + * @param CloudPcServicePlanType $val The type + * + * @return CloudPcServicePlan + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the userProfileInGB + * The size of the user profile disk in GB. Read-only. + * + * @return int|null The userProfileInGB + */ + public function getUserProfileInGB() + { + if (array_key_exists("userProfileInGB", $this->_propDict)) { + return $this->_propDict["userProfileInGB"]; + } else { + return null; + } + } + + /** + * Sets the userProfileInGB + * The size of the user profile disk in GB. Read-only. + * + * @param int $val The userProfileInGB + * + * @return CloudPcServicePlan + */ + public function setUserProfileInGB($val) + { + $this->_propDict["userProfileInGB"] = intval($val); + return $this; + } + + /** + * Gets the vCpuCount + * The number of vCPUs. Read-only. + * + * @return int|null The vCpuCount + */ + public function getVCpuCount() + { + if (array_key_exists("vCpuCount", $this->_propDict)) { + return $this->_propDict["vCpuCount"]; + } else { + return null; + } + } + + /** + * Sets the vCpuCount + * The number of vCPUs. Read-only. + * + * @param int $val The vCpuCount + * + * @return CloudPcServicePlan + */ + public function setVCpuCount($val) + { + $this->_propDict["vCpuCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcServicePlanType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcServicePlanType.php new file mode 100644 index 0000000..a77cf4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcServicePlanType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["cloudPcId"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcId + * The unique identifier for the Cloud PC. + * + * @param string $val The cloudPcId + * + * @return CloudPcSnapshot + */ + public function setCloudPcId($val) + { + $this->_propDict["cloudPcId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time at which the snapshot was taken. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time at which the snapshot was taken. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The createdDateTime + * + * @return CloudPcSnapshot + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastRestoredDateTime + * The date and time at which the snapshot was last used to restore the Cloud PC device. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastRestoredDateTime + */ + public function getLastRestoredDateTime() + { + if (array_key_exists("lastRestoredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRestoredDateTime"], "\DateTime") || is_null($this->_propDict["lastRestoredDateTime"])) { + return $this->_propDict["lastRestoredDateTime"]; + } else { + $this->_propDict["lastRestoredDateTime"] = new \DateTime($this->_propDict["lastRestoredDateTime"]); + return $this->_propDict["lastRestoredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRestoredDateTime + * The date and time at which the snapshot was last used to restore the Cloud PC device. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastRestoredDateTime + * + * @return CloudPcSnapshot + */ + public function setLastRestoredDateTime($val) + { + $this->_propDict["lastRestoredDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the Cloud PC snapshot. The possible values are: ready, unknownFutureValue. + * + * @return CloudPcSnapshotStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcSnapshotStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CloudPcSnapshotStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the Cloud PC snapshot. The possible values are: ready, unknownFutureValue. + * + * @param CloudPcSnapshotStatus $val The status + * + * @return CloudPcSnapshot + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSnapshotStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSnapshotStatus.php new file mode 100644 index 0000000..32bb01c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSnapshotStatus.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the source image. + * + * @param string $val The value of the displayName + * + * @return CloudPcSourceDeviceImage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * The ID of the source image. + * + * @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 + * The ID of the source image. + * + * @param string $val The value of the id + * + * @return CloudPcSourceDeviceImage + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the subscriptionDisplayName + * The display name of subscription that hosts the source image. + * + * @return string|null The subscriptionDisplayName + */ + public function getSubscriptionDisplayName() + { + if (array_key_exists("subscriptionDisplayName", $this->_propDict)) { + return $this->_propDict["subscriptionDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionDisplayName + * The display name of subscription that hosts the source image. + * + * @param string $val The value of the subscriptionDisplayName + * + * @return CloudPcSourceDeviceImage + */ + public function setSubscriptionDisplayName($val) + { + $this->_propDict["subscriptionDisplayName"] = $val; + return $this; + } + /** + * Gets the subscriptionId + * The ID of subscription that hosts the source image. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * The ID of subscription that hosts the source image. + * + * @param string $val The value of the subscriptionId + * + * @return CloudPcSourceDeviceImage + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcStatus.php new file mode 100644 index 0000000..d0808c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcStatus.php @@ -0,0 +1,43 @@ +_propDict)) { + if (is_a($this->_propDict["additionalInformation"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["additionalInformation"])) { + return $this->_propDict["additionalInformation"]; + } else { + $this->_propDict["additionalInformation"] = new KeyValuePair($this->_propDict["additionalInformation"]); + return $this->_propDict["additionalInformation"]; + } + } + return null; + } + + /** + * Sets the additionalInformation + * Any additional information about the Cloud PC status. + * + * @param KeyValuePair $val The value to assign to the additionalInformation + * + * @return CloudPcStatusDetails The CloudPcStatusDetails + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + /** + * Gets the code + * The code associated with the Cloud PC status. + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The code associated with the Cloud PC status. + * + * @param string $val The value of the code + * + * @return CloudPcStatusDetails + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The status message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The status message. + * + * @param string $val The value of the message + * + * @return CloudPcStatusDetails + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSubscription.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSubscription.php new file mode 100644 index 0000000..118618a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSubscription.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.cloudPcSubscription"); + } + + /** + * Gets the subscriptionId + * The ID of the subscription. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * The ID of the subscription. + * + * @param string $val The value of the subscriptionId + * + * @return CloudPcSubscription + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } + /** + * Gets the subscriptionName + * The name of the subscription. + * + * @return string|null The subscriptionName + */ + public function getSubscriptionName() + { + if (array_key_exists("subscriptionName", $this->_propDict)) { + return $this->_propDict["subscriptionName"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionName + * The name of the subscription. + * + * @param string $val The value of the subscriptionName + * + * @return CloudPcSubscription + */ + public function setSubscriptionName($val) + { + $this->_propDict["subscriptionName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSupportedRegion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSupportedRegion.php new file mode 100644 index 0000000..56ff20f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSupportedRegion.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name for the supported region. Read-only. + * + * @param string $val The displayName + * + * @return CloudPcSupportedRegion + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserAccessLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserAccessLevel.php new file mode 100644 index 0000000..0aa5e73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserAccessLevel.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Scope tag display name. + * + * @param string $val The value of the displayName + * + * @return CloudPcUserRoleScopeTagInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the roleScopeTagId + * Scope tag ID. + * + * @return string|null The roleScopeTagId + */ + public function getRoleScopeTagId() + { + if (array_key_exists("roleScopeTagId", $this->_propDict)) { + return $this->_propDict["roleScopeTagId"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagId + * Scope tag ID. + * + * @param string $val The value of the roleScopeTagId + * + * @return CloudPcUserRoleScopeTagInfo + */ + public function setRoleScopeTagId($val) + { + $this->_propDict["roleScopeTagId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php new file mode 100644 index 0000000..dd3ef08 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserSetting.php @@ -0,0 +1,243 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the setting was created. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. + * + * @param \DateTime $val The createdDateTime + * + * @return CloudPcUserSetting + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The setting name displayed in the user interface. + * + * @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 + * The setting name displayed in the user interface. + * + * @param string $val The displayName + * + * @return CloudPcUserSetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CloudPcUserSetting + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the localAdminEnabled + * Indicates whether the local admin option is enabled. Default value is false. To enable the local admin option, change the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device. + * + * @return bool|null The localAdminEnabled + */ + public function getLocalAdminEnabled() + { + if (array_key_exists("localAdminEnabled", $this->_propDict)) { + return $this->_propDict["localAdminEnabled"]; + } else { + return null; + } + } + + /** + * Sets the localAdminEnabled + * Indicates whether the local admin option is enabled. Default value is false. To enable the local admin option, change the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device. + * + * @param bool $val The localAdminEnabled + * + * @return CloudPcUserSetting + */ + public function setLocalAdminEnabled($val) + { + $this->_propDict["localAdminEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the restorePointSetting + * Defines how frequently a restore point is created that is, a snapshot is taken) for users' provisioned Cloud PCs (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific point in time. + * + * @return CloudPcRestorePointSetting|null The restorePointSetting + */ + public function getRestorePointSetting() + { + if (array_key_exists("restorePointSetting", $this->_propDict)) { + if (is_a($this->_propDict["restorePointSetting"], "\Beta\Microsoft\Graph\Model\CloudPcRestorePointSetting") || is_null($this->_propDict["restorePointSetting"])) { + return $this->_propDict["restorePointSetting"]; + } else { + $this->_propDict["restorePointSetting"] = new CloudPcRestorePointSetting($this->_propDict["restorePointSetting"]); + return $this->_propDict["restorePointSetting"]; + } + } + return null; + } + + /** + * Sets the restorePointSetting + * Defines how frequently a restore point is created that is, a snapshot is taken) for users' provisioned Cloud PCs (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific point in time. + * + * @param CloudPcRestorePointSetting $val The restorePointSetting + * + * @return CloudPcUserSetting + */ + public function setRestorePointSetting($val) + { + $this->_propDict["restorePointSetting"] = $val; + return $this; + } + + /** + * Gets the selfServiceEnabled + * Indicates whether the self-service option is enabled. Default value is false. To enable the self-service option, change the setting to true. If the self-service option is enabled, the end user is allowed to perform some self-service operations, such as upgrading the Cloud PC through the end user portal. + * + * @return bool|null The selfServiceEnabled + */ + public function getSelfServiceEnabled() + { + if (array_key_exists("selfServiceEnabled", $this->_propDict)) { + return $this->_propDict["selfServiceEnabled"]; + } else { + return null; + } + } + + /** + * Sets the selfServiceEnabled + * Indicates whether the self-service option is enabled. Default value is false. To enable the self-service option, change the setting to true. If the self-service option is enabled, the end user is allowed to perform some self-service operations, such as upgrading the Cloud PC through the end user portal. + * + * @param bool $val The selfServiceEnabled + * + * @return CloudPcUserSetting + */ + public function setSelfServiceEnabled($val) + { + $this->_propDict["selfServiceEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the assignments + * Represents the set of Microsoft 365 groups and security groups in Azure AD that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Represents the set of Microsoft 365 groups and security groups in Azure AD that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample. + * + * @param CloudPcUserSettingAssignment[] $val The assignments + * + * @return CloudPcUserSetting + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserSettingAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserSettingAssignment.php new file mode 100644 index 0000000..7528ae9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcUserSettingAssignment.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time this assignment was created. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. + * + * @param \DateTime $val The createdDateTime + * + * @return CloudPcUserSettingAssignment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for the user setting. Currently, the only target supported for this user setting is a user group. For details, see cloudPcManagementGroupAssignmentTarget. + * + * @return CloudPcManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\CloudPcManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new CloudPcManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the user setting. Currently, the only target supported for this user setting is a user group. For details, see cloudPcManagementGroupAssignmentTarget. + * + * @param CloudPcManagementAssignmentTarget $val The target + * + * @return CloudPcUserSettingAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcWindowsSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcWindowsSettings.php new file mode 100644 index 0000000..2c11a9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcWindowsSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * The Windows language/region tag to use for language pack configuration and localization of the Cloud PC. The default value is en-US, which corresponds to English (United States). + * + * @param string $val The value of the language + * + * @return CloudPcWindowsSettings + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Code.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Code.php new file mode 100644 index 0000000..f26d03d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Code.php @@ -0,0 +1,64 @@ +_propDict)) { + if (is_a($this->_propDict["boolean"], "\Beta\Microsoft\Graph\Model\BooleanColumn") || is_null($this->_propDict["boolean"])) { + return $this->_propDict["boolean"]; + } else { + $this->_propDict["boolean"] = new BooleanColumn($this->_propDict["boolean"]); + return $this->_propDict["boolean"]; + } + } + return null; + } + + /** + * Sets the boolean + * This column stores boolean values. + * + * @param BooleanColumn $val The boolean + * + * @return ColumnDefinition + */ + public function setBoolean($val) + { + $this->_propDict["boolean"] = $val; + return $this; + } + + /** + * Gets the calculated + * This column's data is calculated based on other columns. + * + * @return CalculatedColumn|null The calculated + */ + public function getCalculated() + { + if (array_key_exists("calculated", $this->_propDict)) { + if (is_a($this->_propDict["calculated"], "\Beta\Microsoft\Graph\Model\CalculatedColumn") || is_null($this->_propDict["calculated"])) { + return $this->_propDict["calculated"]; + } else { + $this->_propDict["calculated"] = new CalculatedColumn($this->_propDict["calculated"]); + return $this->_propDict["calculated"]; + } + } + return null; + } + + /** + * Sets the calculated + * This column's data is calculated based on other columns. + * + * @param CalculatedColumn $val The calculated + * + * @return ColumnDefinition + */ + public function setCalculated($val) + { + $this->_propDict["calculated"] = $val; + return $this; + } + + /** + * Gets the choice + * This column stores data from a list of choices. + * + * @return ChoiceColumn|null The choice + */ + public function getChoice() + { + if (array_key_exists("choice", $this->_propDict)) { + if (is_a($this->_propDict["choice"], "\Beta\Microsoft\Graph\Model\ChoiceColumn") || is_null($this->_propDict["choice"])) { + return $this->_propDict["choice"]; + } else { + $this->_propDict["choice"] = new ChoiceColumn($this->_propDict["choice"]); + return $this->_propDict["choice"]; + } + } + return null; + } + + /** + * Sets the choice + * This column stores data from a list of choices. + * + * @param ChoiceColumn $val The choice + * + * @return ColumnDefinition + */ + public function setChoice($val) + { + $this->_propDict["choice"] = $val; + return $this; + } + + /** + * Gets the columnGroup + * For site columns, the name of the group this column belongs to. Helps organize related columns. + * + * @return string|null The columnGroup + */ + public function getColumnGroup() + { + if (array_key_exists("columnGroup", $this->_propDict)) { + return $this->_propDict["columnGroup"]; + } else { + return null; + } + } + + /** + * Sets the columnGroup + * For site columns, the name of the group this column belongs to. Helps organize related columns. + * + * @param string $val The columnGroup + * + * @return ColumnDefinition + */ + public function setColumnGroup($val) + { + $this->_propDict["columnGroup"] = $val; + return $this; + } + + /** + * Gets the contentApprovalStatus + * This column stores content approval status. + * + * @return ContentApprovalStatusColumn|null The contentApprovalStatus + */ + public function getContentApprovalStatus() + { + if (array_key_exists("contentApprovalStatus", $this->_propDict)) { + if (is_a($this->_propDict["contentApprovalStatus"], "\Beta\Microsoft\Graph\Model\ContentApprovalStatusColumn") || is_null($this->_propDict["contentApprovalStatus"])) { + return $this->_propDict["contentApprovalStatus"]; + } else { + $this->_propDict["contentApprovalStatus"] = new ContentApprovalStatusColumn($this->_propDict["contentApprovalStatus"]); + return $this->_propDict["contentApprovalStatus"]; + } + } + return null; + } + + /** + * Sets the contentApprovalStatus + * This column stores content approval status. + * + * @param ContentApprovalStatusColumn $val The contentApprovalStatus + * + * @return ColumnDefinition + */ + public function setContentApprovalStatus($val) + { + $this->_propDict["contentApprovalStatus"] = $val; + return $this; + } + + /** + * Gets the currency + * This column stores currency values. + * + * @return CurrencyColumn|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\CurrencyColumn") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new CurrencyColumn($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * This column stores currency values. + * + * @param CurrencyColumn $val The currency + * + * @return ColumnDefinition + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the dateTime + * This column stores DateTime values. + * + * @return DateTimeColumn|null The dateTime + */ + public function getDateTime() + { + if (array_key_exists("dateTime", $this->_propDict)) { + if (is_a($this->_propDict["dateTime"], "\Beta\Microsoft\Graph\Model\DateTimeColumn") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new DateTimeColumn($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * This column stores DateTime values. + * + * @param DateTimeColumn $val The dateTime + * + * @return ColumnDefinition + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + + /** + * Gets the defaultValue + * The default value for this column. + * + * @return DefaultColumnValue|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DefaultColumnValue") || is_null($this->_propDict["defaultValue"])) { + return $this->_propDict["defaultValue"]; + } else { + $this->_propDict["defaultValue"] = new DefaultColumnValue($this->_propDict["defaultValue"]); + return $this->_propDict["defaultValue"]; + } + } + return null; + } + + /** + * Sets the defaultValue + * The default value for this column. + * + * @param DefaultColumnValue $val The defaultValue + * + * @return ColumnDefinition + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + /** + * Gets the description + * The user-facing description of the column. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The user-facing description of the column. + * + * @param string $val The description + * + * @return ColumnDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The user-facing name of the column. + * + * @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 + * The user-facing name of the column. + * + * @param string $val The displayName + * + * @return ColumnDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enforceUniqueValues + * If true, no two list items may have the same value for this column. + * + * @return bool|null The enforceUniqueValues + */ + public function getEnforceUniqueValues() + { + if (array_key_exists("enforceUniqueValues", $this->_propDict)) { + return $this->_propDict["enforceUniqueValues"]; + } else { + return null; + } + } + + /** + * Sets the enforceUniqueValues + * If true, no two list items may have the same value for this column. + * + * @param bool $val The enforceUniqueValues + * + * @return ColumnDefinition + */ + public function setEnforceUniqueValues($val) + { + $this->_propDict["enforceUniqueValues"] = boolval($val); + return $this; + } + + /** + * Gets the geolocation + * This column stores a geolocation. + * + * @return GeolocationColumn|null The geolocation + */ + public function getGeolocation() + { + if (array_key_exists("geolocation", $this->_propDict)) { + if (is_a($this->_propDict["geolocation"], "\Beta\Microsoft\Graph\Model\GeolocationColumn") || is_null($this->_propDict["geolocation"])) { + return $this->_propDict["geolocation"]; + } else { + $this->_propDict["geolocation"] = new GeolocationColumn($this->_propDict["geolocation"]); + return $this->_propDict["geolocation"]; + } + } + return null; + } + + /** + * Sets the geolocation + * This column stores a geolocation. + * + * @param GeolocationColumn $val The geolocation + * + * @return ColumnDefinition + */ + public function setGeolocation($val) + { + $this->_propDict["geolocation"] = $val; + return $this; + } + + /** + * Gets the hidden + * Specifies whether the column is displayed in the user interface. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Specifies whether the column is displayed in the user interface. + * + * @param bool $val The hidden + * + * @return ColumnDefinition + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = boolval($val); + return $this; + } + + /** + * Gets the hyperlinkOrPicture + * This column stores hyperlink or picture values. + * + * @return HyperlinkOrPictureColumn|null The hyperlinkOrPicture + */ + public function getHyperlinkOrPicture() + { + if (array_key_exists("hyperlinkOrPicture", $this->_propDict)) { + if (is_a($this->_propDict["hyperlinkOrPicture"], "\Beta\Microsoft\Graph\Model\HyperlinkOrPictureColumn") || is_null($this->_propDict["hyperlinkOrPicture"])) { + return $this->_propDict["hyperlinkOrPicture"]; + } else { + $this->_propDict["hyperlinkOrPicture"] = new HyperlinkOrPictureColumn($this->_propDict["hyperlinkOrPicture"]); + return $this->_propDict["hyperlinkOrPicture"]; + } + } + return null; + } + + /** + * Sets the hyperlinkOrPicture + * This column stores hyperlink or picture values. + * + * @param HyperlinkOrPictureColumn $val The hyperlinkOrPicture + * + * @return ColumnDefinition + */ + public function setHyperlinkOrPicture($val) + { + $this->_propDict["hyperlinkOrPicture"] = $val; + return $this; + } + + /** + * Gets the indexed + * Specifies whether the column values can used for sorting and searching. + * + * @return bool|null The indexed + */ + public function getIndexed() + { + if (array_key_exists("indexed", $this->_propDict)) { + return $this->_propDict["indexed"]; + } else { + return null; + } + } + + /** + * Sets the indexed + * Specifies whether the column values can used for sorting and searching. + * + * @param bool $val The indexed + * + * @return ColumnDefinition + */ + public function setIndexed($val) + { + $this->_propDict["indexed"] = boolval($val); + return $this; + } + + /** + * Gets the isDeletable + * Indicates whether this column can be deleted. + * + * @return bool|null The isDeletable + */ + public function getIsDeletable() + { + if (array_key_exists("isDeletable", $this->_propDict)) { + return $this->_propDict["isDeletable"]; + } else { + return null; + } + } + + /** + * Sets the isDeletable + * Indicates whether this column can be deleted. + * + * @param bool $val The isDeletable + * + * @return ColumnDefinition + */ + public function setIsDeletable($val) + { + $this->_propDict["isDeletable"] = boolval($val); + return $this; + } + + /** + * Gets the isReorderable + * Indicates whether values in the column can be reordered. Read-only. + * + * @return bool|null The isReorderable + */ + public function getIsReorderable() + { + if (array_key_exists("isReorderable", $this->_propDict)) { + return $this->_propDict["isReorderable"]; + } else { + return null; + } + } + + /** + * Sets the isReorderable + * Indicates whether values in the column can be reordered. Read-only. + * + * @param bool $val The isReorderable + * + * @return ColumnDefinition + */ + public function setIsReorderable($val) + { + $this->_propDict["isReorderable"] = boolval($val); + return $this; + } + + /** + * Gets the isSealed + * Specifies whether the column can be changed. + * + * @return bool|null The isSealed + */ + public function getIsSealed() + { + if (array_key_exists("isSealed", $this->_propDict)) { + return $this->_propDict["isSealed"]; + } else { + return null; + } + } + + /** + * Sets the isSealed + * Specifies whether the column can be changed. + * + * @param bool $val The isSealed + * + * @return ColumnDefinition + */ + public function setIsSealed($val) + { + $this->_propDict["isSealed"] = boolval($val); + return $this; + } + + /** + * Gets the lookup + * This column's data is looked up from another source in the site. + * + * @return LookupColumn|null The lookup + */ + public function getLookup() + { + if (array_key_exists("lookup", $this->_propDict)) { + if (is_a($this->_propDict["lookup"], "\Beta\Microsoft\Graph\Model\LookupColumn") || is_null($this->_propDict["lookup"])) { + return $this->_propDict["lookup"]; + } else { + $this->_propDict["lookup"] = new LookupColumn($this->_propDict["lookup"]); + return $this->_propDict["lookup"]; + } + } + return null; + } + + /** + * Sets the lookup + * This column's data is looked up from another source in the site. + * + * @param LookupColumn $val The lookup + * + * @return ColumnDefinition + */ + public function setLookup($val) + { + $this->_propDict["lookup"] = $val; + return $this; + } + + /** + * Gets the name + * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. + * + * @param string $val The name + * + * @return ColumnDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the number + * This column stores number values. + * + * @return NumberColumn|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + if (is_a($this->_propDict["number"], "\Beta\Microsoft\Graph\Model\NumberColumn") || is_null($this->_propDict["number"])) { + return $this->_propDict["number"]; + } else { + $this->_propDict["number"] = new NumberColumn($this->_propDict["number"]); + return $this->_propDict["number"]; + } + } + return null; + } + + /** + * Sets the number + * This column stores number values. + * + * @param NumberColumn $val The number + * + * @return ColumnDefinition + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the personOrGroup + * This column stores Person or Group values. + * + * @return PersonOrGroupColumn|null The personOrGroup + */ + public function getPersonOrGroup() + { + if (array_key_exists("personOrGroup", $this->_propDict)) { + if (is_a($this->_propDict["personOrGroup"], "\Beta\Microsoft\Graph\Model\PersonOrGroupColumn") || is_null($this->_propDict["personOrGroup"])) { + return $this->_propDict["personOrGroup"]; + } else { + $this->_propDict["personOrGroup"] = new PersonOrGroupColumn($this->_propDict["personOrGroup"]); + return $this->_propDict["personOrGroup"]; + } + } + return null; + } + + /** + * Sets the personOrGroup + * This column stores Person or Group values. + * + * @param PersonOrGroupColumn $val The personOrGroup + * + * @return ColumnDefinition + */ + public function setPersonOrGroup($val) + { + $this->_propDict["personOrGroup"] = $val; + return $this; + } + + /** + * Gets the propagateChanges + * If true, changes to this column will be propagated to lists that implement the column. + * + * @return bool|null The propagateChanges + */ + public function getPropagateChanges() + { + if (array_key_exists("propagateChanges", $this->_propDict)) { + return $this->_propDict["propagateChanges"]; + } else { + return null; + } + } + + /** + * Sets the propagateChanges + * If true, changes to this column will be propagated to lists that implement the column. + * + * @param bool $val The propagateChanges + * + * @return ColumnDefinition + */ + public function setPropagateChanges($val) + { + $this->_propDict["propagateChanges"] = boolval($val); + return $this; + } + + /** + * Gets the readOnly + * Specifies whether the column values can be modified. + * + * @return bool|null The readOnly + */ + public function getReadOnly() + { + if (array_key_exists("readOnly", $this->_propDict)) { + return $this->_propDict["readOnly"]; + } else { + return null; + } + } + + /** + * Sets the readOnly + * Specifies whether the column values can be modified. + * + * @param bool $val The readOnly + * + * @return ColumnDefinition + */ + public function setReadOnly($val) + { + $this->_propDict["readOnly"] = boolval($val); + return $this; + } + + /** + * Gets the required + * Specifies whether the column value isn't optional. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Specifies whether the column value isn't optional. + * + * @param bool $val The required + * + * @return ColumnDefinition + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + + /** + * Gets the sourceContentType + * ContentType from which this column is inherited from. Used only to fetch contentTypes columns. + * + * @return ContentTypeInfo|null The sourceContentType + */ + public function getSourceContentType() + { + if (array_key_exists("sourceContentType", $this->_propDict)) { + if (is_a($this->_propDict["sourceContentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["sourceContentType"])) { + return $this->_propDict["sourceContentType"]; + } else { + $this->_propDict["sourceContentType"] = new ContentTypeInfo($this->_propDict["sourceContentType"]); + return $this->_propDict["sourceContentType"]; + } + } + return null; + } + + /** + * Sets the sourceContentType + * ContentType from which this column is inherited from. Used only to fetch contentTypes columns. + * + * @param ContentTypeInfo $val The sourceContentType + * + * @return ColumnDefinition + */ + public function setSourceContentType($val) + { + $this->_propDict["sourceContentType"] = $val; + return $this; + } + + /** + * Gets the term + * This column stores taxonomy terms. + * + * @return TermColumn|null The term + */ + public function getTerm() + { + if (array_key_exists("term", $this->_propDict)) { + if (is_a($this->_propDict["term"], "\Beta\Microsoft\Graph\Model\TermColumn") || is_null($this->_propDict["term"])) { + return $this->_propDict["term"]; + } else { + $this->_propDict["term"] = new TermColumn($this->_propDict["term"]); + return $this->_propDict["term"]; + } + } + return null; + } + + /** + * Sets the term + * This column stores taxonomy terms. + * + * @param TermColumn $val The term + * + * @return ColumnDefinition + */ + public function setTerm($val) + { + $this->_propDict["term"] = $val; + return $this; + } + + /** + * Gets the text + * This column stores text values. + * + * @return TextColumn|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + if (is_a($this->_propDict["text"], "\Beta\Microsoft\Graph\Model\TextColumn") || is_null($this->_propDict["text"])) { + return $this->_propDict["text"]; + } else { + $this->_propDict["text"] = new TextColumn($this->_propDict["text"]); + return $this->_propDict["text"]; + } + } + return null; + } + + /** + * Sets the text + * This column stores text values. + * + * @param TextColumn $val The text + * + * @return ColumnDefinition + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the thumbnail + * This column stores thumbnail values. + * + * @return ThumbnailColumn|null The thumbnail + */ + public function getThumbnail() + { + if (array_key_exists("thumbnail", $this->_propDict)) { + if (is_a($this->_propDict["thumbnail"], "\Beta\Microsoft\Graph\Model\ThumbnailColumn") || is_null($this->_propDict["thumbnail"])) { + return $this->_propDict["thumbnail"]; + } else { + $this->_propDict["thumbnail"] = new ThumbnailColumn($this->_propDict["thumbnail"]); + return $this->_propDict["thumbnail"]; + } + } + return null; + } + + /** + * Sets the thumbnail + * This column stores thumbnail values. + * + * @param ThumbnailColumn $val The thumbnail + * + * @return ColumnDefinition + */ + public function setThumbnail($val) + { + $this->_propDict["thumbnail"] = $val; + return $this; + } + + /** + * Gets the type + * For site columns, the type of column. Read-only. + * + * @return ColumnTypes|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ColumnTypes") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ColumnTypes($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * For site columns, the type of column. Read-only. + * + * @param ColumnTypes $val The type + * + * @return ColumnDefinition + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the validation + * This column stores validation formula and message for the column. + * + * @return ColumnValidation|null The validation + */ + public function getValidation() + { + if (array_key_exists("validation", $this->_propDict)) { + if (is_a($this->_propDict["validation"], "\Beta\Microsoft\Graph\Model\ColumnValidation") || is_null($this->_propDict["validation"])) { + return $this->_propDict["validation"]; + } else { + $this->_propDict["validation"] = new ColumnValidation($this->_propDict["validation"]); + return $this->_propDict["validation"]; + } + } + return null; + } + + /** + * Sets the validation + * This column stores validation formula and message for the column. + * + * @param ColumnValidation $val The validation + * + * @return ColumnDefinition + */ + public function setValidation($val) + { + $this->_propDict["validation"] = $val; + return $this; + } + + /** + * Gets the sourceColumn + * The source column for content type column. + * + * @return ColumnDefinition|null The sourceColumn + */ + public function getSourceColumn() + { + if (array_key_exists("sourceColumn", $this->_propDict)) { + if (is_a($this->_propDict["sourceColumn"], "\Beta\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["sourceColumn"])) { + return $this->_propDict["sourceColumn"]; + } else { + $this->_propDict["sourceColumn"] = new ColumnDefinition($this->_propDict["sourceColumn"]); + return $this->_propDict["sourceColumn"]; + } + } + return null; + } + + /** + * Sets the sourceColumn + * The source column for content type column. + * + * @param ColumnDefinition $val The sourceColumn + * + * @return ColumnDefinition + */ + public function setSourceColumn($val) + { + $this->_propDict["sourceColumn"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnLink.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnLink.php new file mode 100644 index 0000000..1a8ed89 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnLink.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the column in this content type. + * + * @param string $val The name + * + * @return ColumnLink + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnTypes.php new file mode 100644 index 0000000..e13781a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnTypes.php @@ -0,0 +1,51 @@ +_propDict)) { + return $this->_propDict["defaultLanguage"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguage + * Default BCP 47 language tag for the description. + * + * @param string $val The value of the defaultLanguage + * + * @return ColumnValidation + */ + public function setDefaultLanguage($val) + { + $this->_propDict["defaultLanguage"] = $val; + return $this; + } + + /** + * Gets the descriptions + * Localized messages that explain what is needed for this column's value to be considered valid. User will be prompted with this message if validation fails. + * + * @return DisplayNameLocalization|null The descriptions + */ + public function getDescriptions() + { + if (array_key_exists("descriptions", $this->_propDict)) { + if (is_a($this->_propDict["descriptions"], "\Beta\Microsoft\Graph\Model\DisplayNameLocalization") || is_null($this->_propDict["descriptions"])) { + return $this->_propDict["descriptions"]; + } else { + $this->_propDict["descriptions"] = new DisplayNameLocalization($this->_propDict["descriptions"]); + return $this->_propDict["descriptions"]; + } + } + return null; + } + + /** + * Sets the descriptions + * Localized messages that explain what is needed for this column's value to be considered valid. User will be prompted with this message if validation fails. + * + * @param DisplayNameLocalization $val The value to assign to the descriptions + * + * @return ColumnValidation The ColumnValidation + */ + public function setDescriptions($val) + { + $this->_propDict["descriptions"] = $val; + return $this; + } + /** + * Gets the formula + * The formula to validate column value. For examples, see Examples of common formulas in lists + * + * @return string|null The formula + */ + public function getFormula() + { + if (array_key_exists("formula", $this->_propDict)) { + return $this->_propDict["formula"]; + } else { + return null; + } + } + + /** + * Sets the formula + * The formula to validate column value. For examples, see Examples of common formulas in lists + * + * @param string $val The value of the formula + * + * @return ColumnValidation + */ + public function setFormula($val) + { + $this->_propDict["formula"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagedDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagedDevicesSummary.php new file mode 100644 index 0000000..8ce6c82 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagedDevicesSummary.php @@ -0,0 +1,278 @@ +_propDict)) { + return $this->_propDict["compliancePolicyCount"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicyCount + * Number of devices with CompliancePolicy swung-over. This property is read-only. + * + * @param int $val The value of the compliancePolicyCount + * + * @return ComanagedDevicesSummary + */ + public function setCompliancePolicyCount($val) + { + $this->_propDict["compliancePolicyCount"] = $val; + return $this; + } + /** + * Gets the configurationSettingsCount + * Number of devices with ConfigurationSettings swung-over. This property is read-only. + * + * @return int|null The configurationSettingsCount + */ + public function getConfigurationSettingsCount() + { + if (array_key_exists("configurationSettingsCount", $this->_propDict)) { + return $this->_propDict["configurationSettingsCount"]; + } else { + return null; + } + } + + /** + * Sets the configurationSettingsCount + * Number of devices with ConfigurationSettings swung-over. This property is read-only. + * + * @param int $val The value of the configurationSettingsCount + * + * @return ComanagedDevicesSummary + */ + public function setConfigurationSettingsCount($val) + { + $this->_propDict["configurationSettingsCount"] = $val; + return $this; + } + /** + * Gets the endpointProtectionCount + * Number of devices with EndpointProtection swung-over. This property is read-only. + * + * @return int|null The endpointProtectionCount + */ + public function getEndpointProtectionCount() + { + if (array_key_exists("endpointProtectionCount", $this->_propDict)) { + return $this->_propDict["endpointProtectionCount"]; + } else { + return null; + } + } + + /** + * Sets the endpointProtectionCount + * Number of devices with EndpointProtection swung-over. This property is read-only. + * + * @param int $val The value of the endpointProtectionCount + * + * @return ComanagedDevicesSummary + */ + public function setEndpointProtectionCount($val) + { + $this->_propDict["endpointProtectionCount"] = $val; + return $this; + } + /** + * Gets the inventoryCount + * Number of devices with Inventory swung-over. This property is read-only. + * + * @return int|null The inventoryCount + */ + public function getInventoryCount() + { + if (array_key_exists("inventoryCount", $this->_propDict)) { + return $this->_propDict["inventoryCount"]; + } else { + return null; + } + } + + /** + * Sets the inventoryCount + * Number of devices with Inventory swung-over. This property is read-only. + * + * @param int $val The value of the inventoryCount + * + * @return ComanagedDevicesSummary + */ + public function setInventoryCount($val) + { + $this->_propDict["inventoryCount"] = $val; + return $this; + } + /** + * Gets the modernAppsCount + * Number of devices with ModernApps swung-over. This property is read-only. + * + * @return int|null The modernAppsCount + */ + public function getModernAppsCount() + { + if (array_key_exists("modernAppsCount", $this->_propDict)) { + return $this->_propDict["modernAppsCount"]; + } else { + return null; + } + } + + /** + * Sets the modernAppsCount + * Number of devices with ModernApps swung-over. This property is read-only. + * + * @param int $val The value of the modernAppsCount + * + * @return ComanagedDevicesSummary + */ + public function setModernAppsCount($val) + { + $this->_propDict["modernAppsCount"] = $val; + return $this; + } + /** + * Gets the officeAppsCount + * Number of devices with OfficeApps swung-over. This property is read-only. + * + * @return int|null The officeAppsCount + */ + public function getOfficeAppsCount() + { + if (array_key_exists("officeAppsCount", $this->_propDict)) { + return $this->_propDict["officeAppsCount"]; + } else { + return null; + } + } + + /** + * Sets the officeAppsCount + * Number of devices with OfficeApps swung-over. This property is read-only. + * + * @param int $val The value of the officeAppsCount + * + * @return ComanagedDevicesSummary + */ + public function setOfficeAppsCount($val) + { + $this->_propDict["officeAppsCount"] = $val; + return $this; + } + /** + * Gets the resourceAccessCount + * Number of devices with ResourceAccess swung-over. This property is read-only. + * + * @return int|null The resourceAccessCount + */ + public function getResourceAccessCount() + { + if (array_key_exists("resourceAccessCount", $this->_propDict)) { + return $this->_propDict["resourceAccessCount"]; + } else { + return null; + } + } + + /** + * Sets the resourceAccessCount + * Number of devices with ResourceAccess swung-over. This property is read-only. + * + * @param int $val The value of the resourceAccessCount + * + * @return ComanagedDevicesSummary + */ + public function setResourceAccessCount($val) + { + $this->_propDict["resourceAccessCount"] = $val; + return $this; + } + /** + * Gets the totalComanagedCount + * Number of Co-Managed Devices. This property is read-only. + * + * @return int|null The totalComanagedCount + */ + public function getTotalComanagedCount() + { + if (array_key_exists("totalComanagedCount", $this->_propDict)) { + return $this->_propDict["totalComanagedCount"]; + } else { + return null; + } + } + + /** + * Sets the totalComanagedCount + * Number of Co-Managed Devices. This property is read-only. + * + * @param int $val The value of the totalComanagedCount + * + * @return ComanagedDevicesSummary + */ + public function setTotalComanagedCount($val) + { + $this->_propDict["totalComanagedCount"] = $val; + return $this; + } + /** + * Gets the windowsUpdateForBusinessCount + * Number of devices with WindowsUpdateForBusiness swung-over. This property is read-only. + * + * @return int|null The windowsUpdateForBusinessCount + */ + public function getWindowsUpdateForBusinessCount() + { + if (array_key_exists("windowsUpdateForBusinessCount", $this->_propDict)) { + return $this->_propDict["windowsUpdateForBusinessCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsUpdateForBusinessCount + * Number of devices with WindowsUpdateForBusiness swung-over. This property is read-only. + * + * @param int $val The value of the windowsUpdateForBusinessCount + * + * @return ComanagedDevicesSummary + */ + public function setWindowsUpdateForBusinessCount($val) + { + $this->_propDict["windowsUpdateForBusinessCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevice.php new file mode 100644 index 0000000..378cbff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevice.php @@ -0,0 +1,602 @@ +_propDict)) { + if (is_a($this->_propDict["clientRegistrationStatus"], "\Beta\Microsoft\Graph\Model\DeviceRegistrationState") || is_null($this->_propDict["clientRegistrationStatus"])) { + return $this->_propDict["clientRegistrationStatus"]; + } else { + $this->_propDict["clientRegistrationStatus"] = new DeviceRegistrationState($this->_propDict["clientRegistrationStatus"]); + return $this->_propDict["clientRegistrationStatus"]; + } + } + return null; + } + + /** + * Sets the clientRegistrationStatus + * ClientRegistrationStatus. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + * + * @param DeviceRegistrationState $val The clientRegistrationStatus + * + * @return ComanagementEligibleDevice + */ + public function setClientRegistrationStatus($val) + { + $this->_propDict["clientRegistrationStatus"] = $val; + return $this; + } + + /** + * Gets the deviceName + * 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 + * DeviceName + * + * @param string $val The deviceName + * + * @return ComanagementEligibleDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceType + * DeviceType. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. + * + * @return DeviceType|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\DeviceType") || is_null($this->_propDict["deviceType"])) { + return $this->_propDict["deviceType"]; + } else { + $this->_propDict["deviceType"] = new DeviceType($this->_propDict["deviceType"]); + return $this->_propDict["deviceType"]; + } + } + return null; + } + + /** + * Sets the deviceType + * DeviceType. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. + * + * @param DeviceType $val The deviceType + * + * @return ComanagementEligibleDevice + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the entitySource + * EntitySource + * + * @return int|null The entitySource + */ + public function getEntitySource() + { + if (array_key_exists("entitySource", $this->_propDict)) { + return $this->_propDict["entitySource"]; + } else { + return null; + } + } + + /** + * Sets the entitySource + * EntitySource + * + * @param int $val The entitySource + * + * @return ComanagementEligibleDevice + */ + public function setEntitySource($val) + { + $this->_propDict["entitySource"] = intval($val); + return $this; + } + + /** + * Gets the managementAgents + * ManagementAgents. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. + * + * @return ManagementAgentType|null The managementAgents + */ + public function getManagementAgents() + { + if (array_key_exists("managementAgents", $this->_propDict)) { + if (is_a($this->_propDict["managementAgents"], "\Beta\Microsoft\Graph\Model\ManagementAgentType") || is_null($this->_propDict["managementAgents"])) { + return $this->_propDict["managementAgents"]; + } else { + $this->_propDict["managementAgents"] = new ManagementAgentType($this->_propDict["managementAgents"]); + return $this->_propDict["managementAgents"]; + } + } + return null; + } + + /** + * Sets the managementAgents + * ManagementAgents. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. + * + * @param ManagementAgentType $val The managementAgents + * + * @return ComanagementEligibleDevice + */ + public function setManagementAgents($val) + { + $this->_propDict["managementAgents"] = $val; + return $this; + } + + /** + * Gets the managementState + * ManagementState. Possible values are: managed, retirePending, retireFailed, wipePending, wipeFailed, unhealthy, deletePending, retireIssued, wipeIssued, wipeCanceled, retireCanceled, discovered. + * + * @return ManagementState|null The managementState + */ + public function getManagementState() + { + if (array_key_exists("managementState", $this->_propDict)) { + if (is_a($this->_propDict["managementState"], "\Beta\Microsoft\Graph\Model\ManagementState") || is_null($this->_propDict["managementState"])) { + return $this->_propDict["managementState"]; + } else { + $this->_propDict["managementState"] = new ManagementState($this->_propDict["managementState"]); + return $this->_propDict["managementState"]; + } + } + return null; + } + + /** + * Sets the managementState + * ManagementState. Possible values are: managed, retirePending, retireFailed, wipePending, wipeFailed, unhealthy, deletePending, retireIssued, wipeIssued, wipeCanceled, retireCanceled, discovered. + * + * @param ManagementState $val The managementState + * + * @return ComanagementEligibleDevice + */ + public function setManagementState($val) + { + $this->_propDict["managementState"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * Manufacturer + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Manufacturer + * + * @param string $val The manufacturer + * + * @return ComanagementEligibleDevice + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the mdmStatus + * MDMStatus + * + * @return string|null The mdmStatus + */ + public function getMdmStatus() + { + if (array_key_exists("mdmStatus", $this->_propDict)) { + return $this->_propDict["mdmStatus"]; + } else { + return null; + } + } + + /** + * Sets the mdmStatus + * MDMStatus + * + * @param string $val The mdmStatus + * + * @return ComanagementEligibleDevice + */ + public function setMdmStatus($val) + { + $this->_propDict["mdmStatus"] = $val; + return $this; + } + + /** + * Gets the model + * Model + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model + * + * @param string $val The model + * + * @return ComanagementEligibleDevice + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the osDescription + * OSDescription + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * OSDescription + * + * @param string $val The osDescription + * + * @return ComanagementEligibleDevice + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * 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 + * OSVersion + * + * @param string $val The osVersion + * + * @return ComanagementEligibleDevice + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the ownerType + * OwnerType. Possible values are: unknown, company, personal. + * + * @return OwnerType|null The ownerType + */ + public function getOwnerType() + { + if (array_key_exists("ownerType", $this->_propDict)) { + if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\OwnerType") || is_null($this->_propDict["ownerType"])) { + return $this->_propDict["ownerType"]; + } else { + $this->_propDict["ownerType"] = new OwnerType($this->_propDict["ownerType"]); + return $this->_propDict["ownerType"]; + } + } + return null; + } + + /** + * Sets the ownerType + * OwnerType. Possible values are: unknown, company, personal. + * + * @param OwnerType $val The ownerType + * + * @return ComanagementEligibleDevice + */ + public function setOwnerType($val) + { + $this->_propDict["ownerType"] = $val; + return $this; + } + + /** + * Gets the referenceId + * ReferenceId + * + * @return string|null The referenceId + */ + public function getReferenceId() + { + if (array_key_exists("referenceId", $this->_propDict)) { + return $this->_propDict["referenceId"]; + } else { + return null; + } + } + + /** + * Sets the referenceId + * ReferenceId + * + * @param string $val The referenceId + * + * @return ComanagementEligibleDevice + */ + public function setReferenceId($val) + { + $this->_propDict["referenceId"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * SerialNumber + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * SerialNumber + * + * @param string $val The serialNumber + * + * @return ComanagementEligibleDevice + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the status + * ComanagementEligibleStatus. Possible values are: comanaged, eligible, eligibleButNotAzureAdJoined, needsOsUpdate, ineligible. + * + * @return ComanagementEligibleType|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComanagementEligibleType") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComanagementEligibleType($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * ComanagementEligibleStatus. Possible values are: comanaged, eligible, eligibleButNotAzureAdJoined, needsOsUpdate, ineligible. + * + * @param ComanagementEligibleType $val The status + * + * @return ComanagementEligibleDevice + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the upn + * UPN + * + * @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 + * UPN + * + * @param string $val The upn + * + * @return ComanagementEligibleDevice + */ + public function setUpn($val) + { + $this->_propDict["upn"] = $val; + return $this; + } + + /** + * Gets the userEmail + * UserEmail + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * UserEmail + * + * @param string $val The userEmail + * + * @return ComanagementEligibleDevice + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + + /** + * Gets the userId + * 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 + * UserId + * + * @param string $val The userId + * + * @return ComanagementEligibleDevice + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * UserName + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * UserName + * + * @param string $val The userName + * + * @return ComanagementEligibleDevice + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevicesSummary.php new file mode 100644 index 0000000..17a4280 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevicesSummary.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["comanagedCount"]; + } else { + return null; + } + } + + /** + * Sets the comanagedCount + * Count of devices already Co-Managed + * + * @param int $val The value of the comanagedCount + * + * @return ComanagementEligibleDevicesSummary + */ + public function setComanagedCount($val) + { + $this->_propDict["comanagedCount"] = $val; + return $this; + } + /** + * Gets the eligibleButNotAzureAdJoinedCount + * Count of devices eligible for Co-Management but not yet joined to Azure Active Directory + * + * @return int|null The eligibleButNotAzureAdJoinedCount + */ + public function getEligibleButNotAzureAdJoinedCount() + { + if (array_key_exists("eligibleButNotAzureAdJoinedCount", $this->_propDict)) { + return $this->_propDict["eligibleButNotAzureAdJoinedCount"]; + } else { + return null; + } + } + + /** + * Sets the eligibleButNotAzureAdJoinedCount + * Count of devices eligible for Co-Management but not yet joined to Azure Active Directory + * + * @param int $val The value of the eligibleButNotAzureAdJoinedCount + * + * @return ComanagementEligibleDevicesSummary + */ + public function setEligibleButNotAzureAdJoinedCount($val) + { + $this->_propDict["eligibleButNotAzureAdJoinedCount"] = $val; + return $this; + } + /** + * Gets the eligibleCount + * Count of devices fully eligible for Co-Management + * + * @return int|null The eligibleCount + */ + public function getEligibleCount() + { + if (array_key_exists("eligibleCount", $this->_propDict)) { + return $this->_propDict["eligibleCount"]; + } else { + return null; + } + } + + /** + * Sets the eligibleCount + * Count of devices fully eligible for Co-Management + * + * @param int $val The value of the eligibleCount + * + * @return ComanagementEligibleDevicesSummary + */ + public function setEligibleCount($val) + { + $this->_propDict["eligibleCount"] = $val; + return $this; + } + /** + * Gets the ineligibleCount + * Count of devices ineligible for Co-Management + * + * @return int|null The ineligibleCount + */ + public function getIneligibleCount() + { + if (array_key_exists("ineligibleCount", $this->_propDict)) { + return $this->_propDict["ineligibleCount"]; + } else { + return null; + } + } + + /** + * Sets the ineligibleCount + * Count of devices ineligible for Co-Management + * + * @param int $val The value of the ineligibleCount + * + * @return ComanagementEligibleDevicesSummary + */ + public function setIneligibleCount($val) + { + $this->_propDict["ineligibleCount"] = $val; + return $this; + } + /** + * Gets the needsOsUpdateCount + * Count of devices that will be eligible for Co-Management after an OS update + * + * @return int|null The needsOsUpdateCount + */ + public function getNeedsOsUpdateCount() + { + if (array_key_exists("needsOsUpdateCount", $this->_propDict)) { + return $this->_propDict["needsOsUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the needsOsUpdateCount + * Count of devices that will be eligible for Co-Management after an OS update + * + * @param int $val The value of the needsOsUpdateCount + * + * @return ComanagementEligibleDevicesSummary + */ + public function setNeedsOsUpdateCount($val) + { + $this->_propDict["needsOsUpdateCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleType.php new file mode 100644 index 0000000..b83a07f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appServiceName"]; + } else { + return null; + } + } + + /** + * Sets the appServiceName + * + * @param string $val The appServiceName + * + * @return Command + */ + public function setAppServiceName($val) + { + $this->_propDict["appServiceName"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return string|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * + * @param string $val The error + * + * @return Command + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the packageFamilyName + * + * @return string|null The packageFamilyName + */ + public function getPackageFamilyName() + { + if (array_key_exists("packageFamilyName", $this->_propDict)) { + return $this->_propDict["packageFamilyName"]; + } else { + return null; + } + } + + /** + * Sets the packageFamilyName + * + * @param string $val The packageFamilyName + * + * @return Command + */ + public function setPackageFamilyName($val) + { + $this->_propDict["packageFamilyName"] = $val; + return $this; + } + + /** + * Gets the payload + * + * @return PayloadRequest|null The payload + */ + public function getPayload() + { + if (array_key_exists("payload", $this->_propDict)) { + if (is_a($this->_propDict["payload"], "\Beta\Microsoft\Graph\Model\PayloadRequest") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = new PayloadRequest($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * + * @param PayloadRequest $val The payload + * + * @return Command + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the permissionTicket + * + * @return string|null The permissionTicket + */ + public function getPermissionTicket() + { + if (array_key_exists("permissionTicket", $this->_propDict)) { + return $this->_propDict["permissionTicket"]; + } else { + return null; + } + } + + /** + * Sets the permissionTicket + * + * @param string $val The permissionTicket + * + * @return Command + */ + public function setPermissionTicket($val) + { + $this->_propDict["permissionTicket"] = $val; + return $this; + } + + /** + * Gets the postBackUri + * + * @return string|null The postBackUri + */ + public function getPostBackUri() + { + if (array_key_exists("postBackUri", $this->_propDict)) { + return $this->_propDict["postBackUri"]; + } else { + return null; + } + } + + /** + * Sets the postBackUri + * + * @param string $val The postBackUri + * + * @return Command + */ + public function setPostBackUri($val) + { + $this->_propDict["postBackUri"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return Command + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return Command + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the responsepayload + * + * @return PayloadResponse|null The responsepayload + */ + public function getResponsepayload() + { + if (array_key_exists("responsepayload", $this->_propDict)) { + if (is_a($this->_propDict["responsepayload"], "\Beta\Microsoft\Graph\Model\PayloadResponse") || is_null($this->_propDict["responsepayload"])) { + return $this->_propDict["responsepayload"]; + } else { + $this->_propDict["responsepayload"] = new PayloadResponse($this->_propDict["responsepayload"]); + return $this->_propDict["responsepayload"]; + } + } + return null; + } + + /** + * Sets the responsepayload + * + * @param PayloadResponse $val The responsepayload + * + * @return Command + */ + public function setResponsepayload($val) + { + $this->_propDict["responsepayload"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommentAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommentAction.php new file mode 100644 index 0000000..0aa3cf5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommentAction.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["isReply"]; + } else { + return null; + } + } + + /** + * Sets the isReply + * If true, this activity was a reply to an existing comment thread. + * + * @param bool $val The value of the isReply + * + * @return CommentAction + */ + public function setIsReply($val) + { + $this->_propDict["isReply"] = $val; + return $this; + } + + /** + * Gets the parentAuthor + * The identity of the user who started the comment thread. + * + * @return IdentitySet|null The parentAuthor + */ + public function getParentAuthor() + { + if (array_key_exists("parentAuthor", $this->_propDict)) { + if (is_a($this->_propDict["parentAuthor"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["parentAuthor"])) { + return $this->_propDict["parentAuthor"]; + } else { + $this->_propDict["parentAuthor"] = new IdentitySet($this->_propDict["parentAuthor"]); + return $this->_propDict["parentAuthor"]; + } + } + return null; + } + + /** + * Sets the parentAuthor + * The identity of the user who started the comment thread. + * + * @param IdentitySet $val The value to assign to the parentAuthor + * + * @return CommentAction The CommentAction + */ + public function setParentAuthor($val) + { + $this->_propDict["parentAuthor"] = $val; + return $this; + } + + /** + * Gets the participants + * The identities of the users participating in this comment thread. + * + * @return IdentitySet|null The participants + */ + public function getParticipants() + { + if (array_key_exists("participants", $this->_propDict)) { + if (is_a($this->_propDict["participants"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["participants"])) { + return $this->_propDict["participants"]; + } else { + $this->_propDict["participants"] = new IdentitySet($this->_propDict["participants"]); + return $this->_propDict["participants"]; + } + } + return null; + } + + /** + * Sets the participants + * The identities of the users participating in this comment thread. + * + * @param IdentitySet $val The value to assign to the participants + * + * @return CommentAction The CommentAction + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsApplication.php new file mode 100644 index 0000000..2145128 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsApplication.php @@ -0,0 +1,160 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CommsApplication + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * 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 CommsApplication + */ + public function setCalls($val) + { + $this->_propDict["calls"] = $val; + return $this; + } + + + /** + * Gets the onlineMeetings + * + * @return array|null The onlineMeetings + */ + public function getOnlineMeetings() + { + if (array_key_exists("onlineMeetings", $this->_propDict)) { + return $this->_propDict["onlineMeetings"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetings + * + * @param OnlineMeeting[] $val The onlineMeetings + * + * @return CommsApplication + */ + public function setOnlineMeetings($val) + { + $this->_propDict["onlineMeetings"] = $val; + 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 CommsApplication + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotification.php new file mode 100644 index 0000000..df1365d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotification.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["changeType"], "\Beta\Microsoft\Graph\Model\ChangeType") || is_null($this->_propDict["changeType"])) { + return $this->_propDict["changeType"]; + } else { + $this->_propDict["changeType"] = new ChangeType($this->_propDict["changeType"]); + return $this->_propDict["changeType"]; + } + } + return null; + } + + /** + * Sets the changeType + * Possible values are: created, updated, deleted. + * + * @param ChangeType $val The value to assign to the changeType + * + * @return CommsNotification The CommsNotification + */ + public function setChangeType($val) + { + $this->_propDict["changeType"] = $val; + return $this; + } + /** + * Gets the resourceUrl + * URI of the resource that was changed. + * + * @return string|null The resourceUrl + */ + public function getResourceUrl() + { + if (array_key_exists("resourceUrl", $this->_propDict)) { + return $this->_propDict["resourceUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourceUrl + * URI of the resource that was changed. + * + * @param string $val The value of the resourceUrl + * + * @return CommsNotification + */ + public function setResourceUrl($val) + { + $this->_propDict["resourceUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotifications.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotifications.php new file mode 100644 index 0000000..a2482b6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotifications.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\CommsNotification") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new CommsNotification($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The notification of a change in the resource. + * + * @param CommsNotification $val The value to assign to the value + * + * @return CommsNotifications The CommsNotifications + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsOperation.php new file mode 100644 index 0000000..56a841f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsOperation.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["clientContext"]; + } else { + return null; + } + } + + /** + * Sets the clientContext + * Unique Client Context string. Max limit is 256 chars. + * + * @param string $val The clientContext + * + * @return CommsOperation + */ + public function setClientContext($val) + { + $this->_propDict["clientContext"] = $val; + return $this; + } + + /** + * Gets the resultInfo + * The result information. Read-only. + * + * @return ResultInfo|null The resultInfo + */ + public function getResultInfo() + { + if (array_key_exists("resultInfo", $this->_propDict)) { + if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["resultInfo"])) { + return $this->_propDict["resultInfo"]; + } else { + $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]); + return $this->_propDict["resultInfo"]; + } + } + return null; + } + + /** + * Sets the resultInfo + * The result information. Read-only. + * + * @param ResultInfo $val The resultInfo + * + * @return CommsOperation + */ + public function setResultInfo($val) + { + $this->_propDict["resultInfo"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @return OperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @param OperationStatus $val The status + * + * @return CommsOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Company.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Company.php new file mode 100644 index 0000000..a6767c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Company.php @@ -0,0 +1,1115 @@ +_propDict)) { + return $this->_propDict["businessProfileId"]; + } else { + return null; + } + } + + /** + * Sets the businessProfileId + * + * @param string $val The businessProfileId + * + * @return Company + */ + public function setBusinessProfileId($val) + { + $this->_propDict["businessProfileId"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Company + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return Company + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the systemVersion + * + * @return string|null The systemVersion + */ + public function getSystemVersion() + { + if (array_key_exists("systemVersion", $this->_propDict)) { + return $this->_propDict["systemVersion"]; + } else { + return null; + } + } + + /** + * Sets the systemVersion + * + * @param string $val The systemVersion + * + * @return Company + */ + public function setSystemVersion($val) + { + $this->_propDict["systemVersion"] = $val; + return $this; + } + + + /** + * Gets the accounts + * + * @return array|null The accounts + */ + public function getAccounts() + { + if (array_key_exists("accounts", $this->_propDict)) { + return $this->_propDict["accounts"]; + } else { + return null; + } + } + + /** + * Sets the accounts + * + * @param Account[] $val The accounts + * + * @return Company + */ + public function setAccounts($val) + { + $this->_propDict["accounts"] = $val; + return $this; + } + + + /** + * Gets the agedAccountsPayable + * + * @return array|null The agedAccountsPayable + */ + public function getAgedAccountsPayable() + { + if (array_key_exists("agedAccountsPayable", $this->_propDict)) { + return $this->_propDict["agedAccountsPayable"]; + } else { + return null; + } + } + + /** + * Sets the agedAccountsPayable + * + * @param AgedAccountsPayable[] $val The agedAccountsPayable + * + * @return Company + */ + public function setAgedAccountsPayable($val) + { + $this->_propDict["agedAccountsPayable"] = $val; + return $this; + } + + + /** + * Gets the agedAccountsReceivable + * + * @return array|null The agedAccountsReceivable + */ + public function getAgedAccountsReceivable() + { + if (array_key_exists("agedAccountsReceivable", $this->_propDict)) { + return $this->_propDict["agedAccountsReceivable"]; + } else { + return null; + } + } + + /** + * Sets the agedAccountsReceivable + * + * @param AgedAccountsReceivable[] $val The agedAccountsReceivable + * + * @return Company + */ + public function setAgedAccountsReceivable($val) + { + $this->_propDict["agedAccountsReceivable"] = $val; + return $this; + } + + + /** + * Gets the companyInformation + * + * @return array|null The companyInformation + */ + public function getCompanyInformation() + { + if (array_key_exists("companyInformation", $this->_propDict)) { + return $this->_propDict["companyInformation"]; + } else { + return null; + } + } + + /** + * Sets the companyInformation + * + * @param CompanyInformation[] $val The companyInformation + * + * @return Company + */ + public function setCompanyInformation($val) + { + $this->_propDict["companyInformation"] = $val; + return $this; + } + + + /** + * Gets the countriesRegions + * + * @return array|null The countriesRegions + */ + public function getCountriesRegions() + { + if (array_key_exists("countriesRegions", $this->_propDict)) { + return $this->_propDict["countriesRegions"]; + } else { + return null; + } + } + + /** + * Sets the countriesRegions + * + * @param CountryRegion[] $val The countriesRegions + * + * @return Company + */ + public function setCountriesRegions($val) + { + $this->_propDict["countriesRegions"] = $val; + return $this; + } + + + /** + * Gets the currencies + * + * @return array|null The currencies + */ + public function getCurrencies() + { + if (array_key_exists("currencies", $this->_propDict)) { + return $this->_propDict["currencies"]; + } else { + return null; + } + } + + /** + * Sets the currencies + * + * @param Currency[] $val The currencies + * + * @return Company + */ + public function setCurrencies($val) + { + $this->_propDict["currencies"] = $val; + return $this; + } + + + /** + * Gets the customerPaymentJournals + * + * @return array|null The customerPaymentJournals + */ + public function getCustomerPaymentJournals() + { + if (array_key_exists("customerPaymentJournals", $this->_propDict)) { + return $this->_propDict["customerPaymentJournals"]; + } else { + return null; + } + } + + /** + * Sets the customerPaymentJournals + * + * @param CustomerPaymentJournal[] $val The customerPaymentJournals + * + * @return Company + */ + public function setCustomerPaymentJournals($val) + { + $this->_propDict["customerPaymentJournals"] = $val; + return $this; + } + + + /** + * Gets the customerPayments + * + * @return array|null The customerPayments + */ + public function getCustomerPayments() + { + if (array_key_exists("customerPayments", $this->_propDict)) { + return $this->_propDict["customerPayments"]; + } else { + return null; + } + } + + /** + * Sets the customerPayments + * + * @param CustomerPayment[] $val The customerPayments + * + * @return Company + */ + public function setCustomerPayments($val) + { + $this->_propDict["customerPayments"] = $val; + return $this; + } + + + /** + * Gets the customers + * + * @return array|null The customers + */ + public function getCustomers() + { + if (array_key_exists("customers", $this->_propDict)) { + return $this->_propDict["customers"]; + } else { + return null; + } + } + + /** + * Sets the customers + * + * @param Customer[] $val The customers + * + * @return Company + */ + public function setCustomers($val) + { + $this->_propDict["customers"] = $val; + return $this; + } + + + /** + * Gets the dimensions + * + * @return array|null The dimensions + */ + public function getDimensions() + { + if (array_key_exists("dimensions", $this->_propDict)) { + return $this->_propDict["dimensions"]; + } else { + return null; + } + } + + /** + * Sets the dimensions + * + * @param Dimension[] $val The dimensions + * + * @return Company + */ + public function setDimensions($val) + { + $this->_propDict["dimensions"] = $val; + return $this; + } + + + /** + * Gets the dimensionValues + * + * @return array|null The dimensionValues + */ + public function getDimensionValues() + { + if (array_key_exists("dimensionValues", $this->_propDict)) { + return $this->_propDict["dimensionValues"]; + } else { + return null; + } + } + + /** + * Sets the dimensionValues + * + * @param DimensionValue[] $val The dimensionValues + * + * @return Company + */ + public function setDimensionValues($val) + { + $this->_propDict["dimensionValues"] = $val; + return $this; + } + + + /** + * Gets the employees + * + * @return array|null The employees + */ + public function getEmployees() + { + if (array_key_exists("employees", $this->_propDict)) { + return $this->_propDict["employees"]; + } else { + return null; + } + } + + /** + * Sets the employees + * + * @param Employee[] $val The employees + * + * @return Company + */ + public function setEmployees($val) + { + $this->_propDict["employees"] = $val; + return $this; + } + + + /** + * Gets the generalLedgerEntries + * + * @return array|null The generalLedgerEntries + */ + public function getGeneralLedgerEntries() + { + if (array_key_exists("generalLedgerEntries", $this->_propDict)) { + return $this->_propDict["generalLedgerEntries"]; + } else { + return null; + } + } + + /** + * Sets the generalLedgerEntries + * + * @param GeneralLedgerEntry[] $val The generalLedgerEntries + * + * @return Company + */ + public function setGeneralLedgerEntries($val) + { + $this->_propDict["generalLedgerEntries"] = $val; + return $this; + } + + + /** + * Gets the itemCategories + * + * @return array|null The itemCategories + */ + public function getItemCategories() + { + if (array_key_exists("itemCategories", $this->_propDict)) { + return $this->_propDict["itemCategories"]; + } else { + return null; + } + } + + /** + * Sets the itemCategories + * + * @param ItemCategory[] $val The itemCategories + * + * @return Company + */ + public function setItemCategories($val) + { + $this->_propDict["itemCategories"] = $val; + return $this; + } + + + /** + * Gets the items + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * + * @param Item[] $val The items + * + * @return Company + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the journalLines + * + * @return array|null The journalLines + */ + public function getJournalLines() + { + if (array_key_exists("journalLines", $this->_propDict)) { + return $this->_propDict["journalLines"]; + } else { + return null; + } + } + + /** + * Sets the journalLines + * + * @param JournalLine[] $val The journalLines + * + * @return Company + */ + public function setJournalLines($val) + { + $this->_propDict["journalLines"] = $val; + return $this; + } + + + /** + * Gets the journals + * + * @return array|null The journals + */ + public function getJournals() + { + if (array_key_exists("journals", $this->_propDict)) { + return $this->_propDict["journals"]; + } else { + return null; + } + } + + /** + * Sets the journals + * + * @param Journal[] $val The journals + * + * @return Company + */ + public function setJournals($val) + { + $this->_propDict["journals"] = $val; + return $this; + } + + + /** + * Gets the paymentMethods + * + * @return array|null The paymentMethods + */ + public function getPaymentMethods() + { + if (array_key_exists("paymentMethods", $this->_propDict)) { + return $this->_propDict["paymentMethods"]; + } else { + return null; + } + } + + /** + * Sets the paymentMethods + * + * @param PaymentMethod[] $val The paymentMethods + * + * @return Company + */ + public function setPaymentMethods($val) + { + $this->_propDict["paymentMethods"] = $val; + return $this; + } + + + /** + * Gets the paymentTerms + * + * @return array|null The paymentTerms + */ + public function getPaymentTerms() + { + if (array_key_exists("paymentTerms", $this->_propDict)) { + return $this->_propDict["paymentTerms"]; + } else { + return null; + } + } + + /** + * Sets the paymentTerms + * + * @param PaymentTerm[] $val The paymentTerms + * + * @return Company + */ + public function setPaymentTerms($val) + { + $this->_propDict["paymentTerms"] = $val; + return $this; + } + + + /** + * Gets the picture + * + * @return array|null The picture + */ + public function getPicture() + { + if (array_key_exists("picture", $this->_propDict)) { + return $this->_propDict["picture"]; + } else { + return null; + } + } + + /** + * Sets the picture + * + * @param Picture[] $val The picture + * + * @return Company + */ + public function setPicture($val) + { + $this->_propDict["picture"] = $val; + return $this; + } + + + /** + * Gets the purchaseInvoiceLines + * + * @return array|null The purchaseInvoiceLines + */ + public function getPurchaseInvoiceLines() + { + if (array_key_exists("purchaseInvoiceLines", $this->_propDict)) { + return $this->_propDict["purchaseInvoiceLines"]; + } else { + return null; + } + } + + /** + * Sets the purchaseInvoiceLines + * + * @param PurchaseInvoiceLine[] $val The purchaseInvoiceLines + * + * @return Company + */ + public function setPurchaseInvoiceLines($val) + { + $this->_propDict["purchaseInvoiceLines"] = $val; + return $this; + } + + + /** + * Gets the purchaseInvoices + * + * @return array|null The purchaseInvoices + */ + public function getPurchaseInvoices() + { + if (array_key_exists("purchaseInvoices", $this->_propDict)) { + return $this->_propDict["purchaseInvoices"]; + } else { + return null; + } + } + + /** + * Sets the purchaseInvoices + * + * @param PurchaseInvoice[] $val The purchaseInvoices + * + * @return Company + */ + public function setPurchaseInvoices($val) + { + $this->_propDict["purchaseInvoices"] = $val; + return $this; + } + + + /** + * Gets the salesCreditMemoLines + * + * @return array|null The salesCreditMemoLines + */ + public function getSalesCreditMemoLines() + { + if (array_key_exists("salesCreditMemoLines", $this->_propDict)) { + return $this->_propDict["salesCreditMemoLines"]; + } else { + return null; + } + } + + /** + * Sets the salesCreditMemoLines + * + * @param SalesCreditMemoLine[] $val The salesCreditMemoLines + * + * @return Company + */ + public function setSalesCreditMemoLines($val) + { + $this->_propDict["salesCreditMemoLines"] = $val; + return $this; + } + + + /** + * Gets the salesCreditMemos + * + * @return array|null The salesCreditMemos + */ + public function getSalesCreditMemos() + { + if (array_key_exists("salesCreditMemos", $this->_propDict)) { + return $this->_propDict["salesCreditMemos"]; + } else { + return null; + } + } + + /** + * Sets the salesCreditMemos + * + * @param SalesCreditMemo[] $val The salesCreditMemos + * + * @return Company + */ + public function setSalesCreditMemos($val) + { + $this->_propDict["salesCreditMemos"] = $val; + return $this; + } + + + /** + * Gets the salesInvoiceLines + * + * @return array|null The salesInvoiceLines + */ + public function getSalesInvoiceLines() + { + if (array_key_exists("salesInvoiceLines", $this->_propDict)) { + return $this->_propDict["salesInvoiceLines"]; + } else { + return null; + } + } + + /** + * Sets the salesInvoiceLines + * + * @param SalesInvoiceLine[] $val The salesInvoiceLines + * + * @return Company + */ + public function setSalesInvoiceLines($val) + { + $this->_propDict["salesInvoiceLines"] = $val; + return $this; + } + + + /** + * Gets the salesInvoices + * + * @return array|null The salesInvoices + */ + public function getSalesInvoices() + { + if (array_key_exists("salesInvoices", $this->_propDict)) { + return $this->_propDict["salesInvoices"]; + } else { + return null; + } + } + + /** + * Sets the salesInvoices + * + * @param SalesInvoice[] $val The salesInvoices + * + * @return Company + */ + public function setSalesInvoices($val) + { + $this->_propDict["salesInvoices"] = $val; + return $this; + } + + + /** + * Gets the salesOrderLines + * + * @return array|null The salesOrderLines + */ + public function getSalesOrderLines() + { + if (array_key_exists("salesOrderLines", $this->_propDict)) { + return $this->_propDict["salesOrderLines"]; + } else { + return null; + } + } + + /** + * Sets the salesOrderLines + * + * @param SalesOrderLine[] $val The salesOrderLines + * + * @return Company + */ + public function setSalesOrderLines($val) + { + $this->_propDict["salesOrderLines"] = $val; + return $this; + } + + + /** + * Gets the salesOrders + * + * @return array|null The salesOrders + */ + public function getSalesOrders() + { + if (array_key_exists("salesOrders", $this->_propDict)) { + return $this->_propDict["salesOrders"]; + } else { + return null; + } + } + + /** + * Sets the salesOrders + * + * @param SalesOrder[] $val The salesOrders + * + * @return Company + */ + public function setSalesOrders($val) + { + $this->_propDict["salesOrders"] = $val; + return $this; + } + + + /** + * Gets the salesQuoteLines + * + * @return array|null The salesQuoteLines + */ + public function getSalesQuoteLines() + { + if (array_key_exists("salesQuoteLines", $this->_propDict)) { + return $this->_propDict["salesQuoteLines"]; + } else { + return null; + } + } + + /** + * Sets the salesQuoteLines + * + * @param SalesQuoteLine[] $val The salesQuoteLines + * + * @return Company + */ + public function setSalesQuoteLines($val) + { + $this->_propDict["salesQuoteLines"] = $val; + return $this; + } + + + /** + * Gets the salesQuotes + * + * @return array|null The salesQuotes + */ + public function getSalesQuotes() + { + if (array_key_exists("salesQuotes", $this->_propDict)) { + return $this->_propDict["salesQuotes"]; + } else { + return null; + } + } + + /** + * Sets the salesQuotes + * + * @param SalesQuote[] $val The salesQuotes + * + * @return Company + */ + public function setSalesQuotes($val) + { + $this->_propDict["salesQuotes"] = $val; + return $this; + } + + + /** + * Gets the shipmentMethods + * + * @return array|null The shipmentMethods + */ + public function getShipmentMethods() + { + if (array_key_exists("shipmentMethods", $this->_propDict)) { + return $this->_propDict["shipmentMethods"]; + } else { + return null; + } + } + + /** + * Sets the shipmentMethods + * + * @param ShipmentMethod[] $val The shipmentMethods + * + * @return Company + */ + public function setShipmentMethods($val) + { + $this->_propDict["shipmentMethods"] = $val; + return $this; + } + + + /** + * Gets the taxAreas + * + * @return array|null The taxAreas + */ + public function getTaxAreas() + { + if (array_key_exists("taxAreas", $this->_propDict)) { + return $this->_propDict["taxAreas"]; + } else { + return null; + } + } + + /** + * Sets the taxAreas + * + * @param TaxArea[] $val The taxAreas + * + * @return Company + */ + public function setTaxAreas($val) + { + $this->_propDict["taxAreas"] = $val; + return $this; + } + + + /** + * Gets the taxGroups + * + * @return array|null The taxGroups + */ + public function getTaxGroups() + { + if (array_key_exists("taxGroups", $this->_propDict)) { + return $this->_propDict["taxGroups"]; + } else { + return null; + } + } + + /** + * Sets the taxGroups + * + * @param TaxGroup[] $val The taxGroups + * + * @return Company + */ + public function setTaxGroups($val) + { + $this->_propDict["taxGroups"] = $val; + return $this; + } + + + /** + * Gets the unitsOfMeasure + * + * @return array|null The unitsOfMeasure + */ + public function getUnitsOfMeasure() + { + if (array_key_exists("unitsOfMeasure", $this->_propDict)) { + return $this->_propDict["unitsOfMeasure"]; + } else { + return null; + } + } + + /** + * Sets the unitsOfMeasure + * + * @param UnitOfMeasure[] $val The unitsOfMeasure + * + * @return Company + */ + public function setUnitsOfMeasure($val) + { + $this->_propDict["unitsOfMeasure"] = $val; + return $this; + } + + + /** + * Gets the vendors + * + * @return array|null The vendors + */ + public function getVendors() + { + if (array_key_exists("vendors", $this->_propDict)) { + return $this->_propDict["vendors"]; + } else { + return null; + } + } + + /** + * Sets the vendors + * + * @param Vendor[] $val The vendors + * + * @return Company + */ + public function setVendors($val) + { + $this->_propDict["vendors"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyDetail.php new file mode 100644 index 0000000..2168dfa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyDetail.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * Address of the company. + * + * @param PhysicalAddress $val The value to assign to the address + * + * @return CompanyDetail The CompanyDetail + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the department + * Department Name within a company. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * Department Name within a company. + * + * @param string $val The value of the department + * + * @return CompanyDetail + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + /** + * Gets the displayName + * Company name. + * + * @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 + * Company name. + * + * @param string $val The value of the displayName + * + * @return CompanyDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the officeLocation + * Office Location of the person referred to. + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * Office Location of the person referred to. + * + * @param string $val The value of the officeLocation + * + * @return CompanyDetail + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + /** + * Gets the pronunciation + * Pronunciation guide for the company name. + * + * @return string|null The pronunciation + */ + public function getPronunciation() + { + if (array_key_exists("pronunciation", $this->_propDict)) { + return $this->_propDict["pronunciation"]; + } else { + return null; + } + } + + /** + * Sets the pronunciation + * Pronunciation guide for the company name. + * + * @param string $val The value of the pronunciation + * + * @return CompanyDetail + */ + public function setPronunciation($val) + { + $this->_propDict["pronunciation"] = $val; + return $this; + } + /** + * Gets the webUrl + * Link to the company home page. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Link to the company home page. + * + * @param string $val The value of the webUrl + * + * @return CompanyDetail + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyInformation.php new file mode 100644 index 0000000..2a0db36 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyInformation.php @@ -0,0 +1,367 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PostalAddressType($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param PostalAddressType $val The address + * + * @return CompanyInformation + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return CompanyInformation + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currentFiscalYearStartDate + * + * @return \DateTime|null The currentFiscalYearStartDate + */ + public function getCurrentFiscalYearStartDate() + { + if (array_key_exists("currentFiscalYearStartDate", $this->_propDict)) { + if (is_a($this->_propDict["currentFiscalYearStartDate"], "\DateTime") || is_null($this->_propDict["currentFiscalYearStartDate"])) { + return $this->_propDict["currentFiscalYearStartDate"]; + } else { + $this->_propDict["currentFiscalYearStartDate"] = new \DateTime($this->_propDict["currentFiscalYearStartDate"]); + return $this->_propDict["currentFiscalYearStartDate"]; + } + } + return null; + } + + /** + * Sets the currentFiscalYearStartDate + * + * @param \DateTime $val The currentFiscalYearStartDate + * + * @return CompanyInformation + */ + public function setCurrentFiscalYearStartDate($val) + { + $this->_propDict["currentFiscalYearStartDate"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return CompanyInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return CompanyInformation + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the faxNumber + * + * @return string|null The faxNumber + */ + public function getFaxNumber() + { + if (array_key_exists("faxNumber", $this->_propDict)) { + return $this->_propDict["faxNumber"]; + } else { + return null; + } + } + + /** + * Sets the faxNumber + * + * @param string $val The faxNumber + * + * @return CompanyInformation + */ + public function setFaxNumber($val) + { + $this->_propDict["faxNumber"] = $val; + return $this; + } + + /** + * Gets the industry + * + * @return string|null The industry + */ + public function getIndustry() + { + if (array_key_exists("industry", $this->_propDict)) { + return $this->_propDict["industry"]; + } else { + return null; + } + } + + /** + * Sets the industry + * + * @param string $val The industry + * + * @return CompanyInformation + */ + public function setIndustry($val) + { + $this->_propDict["industry"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CompanyInformation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return CompanyInformation + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the picture + * + * @return \GuzzleHttp\Psr7\Stream|null The picture + */ + public function getPicture() + { + if (array_key_exists("picture", $this->_propDict)) { + if (is_a($this->_propDict["picture"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["picture"])) { + return $this->_propDict["picture"]; + } else { + $this->_propDict["picture"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["picture"]); + return $this->_propDict["picture"]; + } + } + return null; + } + + /** + * Sets the picture + * + * @param \GuzzleHttp\Psr7\Stream $val The picture + * + * @return CompanyInformation + */ + public function setPicture($val) + { + $this->_propDict["picture"] = $val; + return $this; + } + + /** + * Gets the taxRegistrationNumber + * + * @return string|null The taxRegistrationNumber + */ + public function getTaxRegistrationNumber() + { + if (array_key_exists("taxRegistrationNumber", $this->_propDict)) { + return $this->_propDict["taxRegistrationNumber"]; + } else { + return null; + } + } + + /** + * Sets the taxRegistrationNumber + * + * @param string $val The taxRegistrationNumber + * + * @return CompanyInformation + */ + public function setTaxRegistrationNumber($val) + { + $this->_propDict["taxRegistrationNumber"] = $val; + return $this; + } + + /** + * Gets the website + * + * @return string|null The website + */ + public function getWebsite() + { + if (array_key_exists("website", $this->_propDict)) { + return $this->_propDict["website"]; + } else { + return null; + } + } + + /** + * Sets the website + * + * @param string $val The website + * + * @return CompanyInformation + */ + public function setWebsite($val) + { + $this->_propDict["website"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyPortalAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyPortalAction.php new file mode 100644 index 0000000..894326e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyPortalAction.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\CompanyPortalAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new CompanyPortalAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * Device Action. Possible values are: unknown, remove, reset. + * + * @param CompanyPortalAction $val The value to assign to the action + * + * @return CompanyPortalBlockedAction The CompanyPortalBlockedAction + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the ownerType + * Device ownership type. Possible values are: unknown, company, personal. + * + * @return OwnerType|null The ownerType + */ + public function getOwnerType() + { + if (array_key_exists("ownerType", $this->_propDict)) { + if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\OwnerType") || is_null($this->_propDict["ownerType"])) { + return $this->_propDict["ownerType"]; + } else { + $this->_propDict["ownerType"] = new OwnerType($this->_propDict["ownerType"]); + return $this->_propDict["ownerType"]; + } + } + return null; + } + + /** + * Sets the ownerType + * Device ownership type. Possible values are: unknown, company, personal. + * + * @param OwnerType $val The value to assign to the ownerType + * + * @return CompanyPortalBlockedAction The CompanyPortalBlockedAction + */ + public function setOwnerType($val) + { + $this->_propDict["ownerType"] = $val; + return $this; + } + + /** + * Gets the platform + * Device OS/Platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown. + * + * @return DevicePlatformType|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new DevicePlatformType($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * Device OS/Platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown. + * + * @param DevicePlatformType $val The value to assign to the platform + * + * @return CompanyPortalBlockedAction The CompanyPortalBlockedAction + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplexExtensionValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplexExtensionValue.php new file mode 100644 index 0000000..240f8ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplexExtensionValue.php @@ -0,0 +1,26 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Compliance + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the ediscovery + * + * @return \Beta\Microsoft\Graph\Ediscovery\Model\Ediscoveryroot|null The ediscovery + */ + public function getEdiscovery() + { + if (array_key_exists("ediscovery", $this->_propDict)) { + if (is_a($this->_propDict["ediscovery"], "\Beta\Microsoft\Graph\Ediscovery\Model\Ediscoveryroot") || is_null($this->_propDict["ediscovery"])) { + return $this->_propDict["ediscovery"]; + } else { + $this->_propDict["ediscovery"] = new \Beta\Microsoft\Graph\Ediscovery\Model\Ediscoveryroot($this->_propDict["ediscovery"]); + return $this->_propDict["ediscovery"]; + } + } + return null; + } + + /** + * Sets the ediscovery + * + * @param \Beta\Microsoft\Graph\Ediscovery\Model\Ediscoveryroot $val The ediscovery + * + * @return Compliance + */ + public function setEdiscovery($val) + { + $this->_propDict["ediscovery"] = $val; + 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 Compliance + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceInformation.php new file mode 100644 index 0000000..f164bb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceInformation.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["certificationControls"], "\Beta\Microsoft\Graph\Model\CertificationControl") || is_null($this->_propDict["certificationControls"])) { + return $this->_propDict["certificationControls"]; + } else { + $this->_propDict["certificationControls"] = new CertificationControl($this->_propDict["certificationControls"]); + return $this->_propDict["certificationControls"]; + } + } + return null; + } + + /** + * Sets the certificationControls + * Collection of the certification controls associated with certification + * + * @param CertificationControl $val The value to assign to the certificationControls + * + * @return ComplianceInformation The ComplianceInformation + */ + public function setCertificationControls($val) + { + $this->_propDict["certificationControls"] = $val; + return $this; + } + /** + * Gets the certificationName + * Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171) + * + * @return string|null The certificationName + */ + public function getCertificationName() + { + if (array_key_exists("certificationName", $this->_propDict)) { + return $this->_propDict["certificationName"]; + } else { + return null; + } + } + + /** + * Sets the certificationName + * Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171) + * + * @param string $val The value of the certificationName + * + * @return ComplianceInformation + */ + public function setCertificationName($val) + { + $this->_propDict["certificationName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartner.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartner.php new file mode 100644 index 0000000..ae0219f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartner.php @@ -0,0 +1,358 @@ +_propDict)) { + return $this->_propDict["androidEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the androidEnrollmentAssignments + * User groups which enroll Android devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The androidEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setAndroidEnrollmentAssignments($val) + { + $this->_propDict["androidEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the androidOnboarded + * Partner onboarded for Android devices. + * + * @return bool|null The androidOnboarded + */ + public function getAndroidOnboarded() + { + if (array_key_exists("androidOnboarded", $this->_propDict)) { + return $this->_propDict["androidOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the androidOnboarded + * Partner onboarded for Android devices. + * + * @param bool $val The androidOnboarded + * + * @return ComplianceManagementPartner + */ + public function setAndroidOnboarded($val) + { + $this->_propDict["androidOnboarded"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * Partner display name + * + * @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 + * Partner display name + * + * @param string $val The displayName + * + * @return ComplianceManagementPartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the iosEnrollmentAssignments + * User groups which enroll ios devices through partner. + * + * @return array|null The iosEnrollmentAssignments + */ + public function getIosEnrollmentAssignments() + { + if (array_key_exists("iosEnrollmentAssignments", $this->_propDict)) { + return $this->_propDict["iosEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the iosEnrollmentAssignments + * User groups which enroll ios devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The iosEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setIosEnrollmentAssignments($val) + { + $this->_propDict["iosEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the iosOnboarded + * Partner onboarded for ios devices. + * + * @return bool|null The iosOnboarded + */ + public function getIosOnboarded() + { + if (array_key_exists("iosOnboarded", $this->_propDict)) { + return $this->_propDict["iosOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the iosOnboarded + * Partner onboarded for ios devices. + * + * @param bool $val The iosOnboarded + * + * @return ComplianceManagementPartner + */ + public function setIosOnboarded($val) + { + $this->_propDict["iosOnboarded"] = boolval($val); + return $this; + } + + /** + * Gets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin onboarded to the compliance management partner + * + * @return \DateTime|null The lastHeartbeatDateTime + */ + public function getLastHeartbeatDateTime() + { + if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) { + return $this->_propDict["lastHeartbeatDateTime"]; + } else { + $this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]); + return $this->_propDict["lastHeartbeatDateTime"]; + } + } + return null; + } + + /** + * Sets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin onboarded to the compliance management partner + * + * @param \DateTime $val The lastHeartbeatDateTime + * + * @return ComplianceManagementPartner + */ + public function setLastHeartbeatDateTime($val) + { + $this->_propDict["lastHeartbeatDateTime"] = $val; + return $this; + } + + + /** + * Gets the macOsEnrollmentAssignments + * User groups which enroll Mac devices through partner. + * + * @return array|null The macOsEnrollmentAssignments + */ + public function getMacOsEnrollmentAssignments() + { + if (array_key_exists("macOsEnrollmentAssignments", $this->_propDict)) { + return $this->_propDict["macOsEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the macOsEnrollmentAssignments + * User groups which enroll Mac devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The macOsEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setMacOsEnrollmentAssignments($val) + { + $this->_propDict["macOsEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the macOsOnboarded + * Partner onboarded for Mac devices. + * + * @return bool|null The macOsOnboarded + */ + public function getMacOsOnboarded() + { + if (array_key_exists("macOsOnboarded", $this->_propDict)) { + return $this->_propDict["macOsOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the macOsOnboarded + * Partner onboarded for Mac devices. + * + * @param bool $val The macOsOnboarded + * + * @return ComplianceManagementPartner + */ + public function setMacOsOnboarded($val) + { + $this->_propDict["macOsOnboarded"] = boolval($val); + return $this; + } + + /** + * Gets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @return DeviceManagementPartnerTenantState|null The partnerState + */ + public function getPartnerState() + { + if (array_key_exists("partnerState", $this->_propDict)) { + if (is_a($this->_propDict["partnerState"], "\Beta\Microsoft\Graph\Model\DeviceManagementPartnerTenantState") || is_null($this->_propDict["partnerState"])) { + return $this->_propDict["partnerState"]; + } else { + $this->_propDict["partnerState"] = new DeviceManagementPartnerTenantState($this->_propDict["partnerState"]); + return $this->_propDict["partnerState"]; + } + } + return null; + } + + /** + * Sets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @param DeviceManagementPartnerTenantState $val The partnerState + * + * @return ComplianceManagementPartner + */ + public function setPartnerState($val) + { + $this->_propDict["partnerState"] = $val; + return $this; + } + + + /** + * Gets the windowsEnrollmentAssignments + * User groups which enroll Windows devices through partner. + * + * @return array|null The windowsEnrollmentAssignments + */ + public function getWindowsEnrollmentAssignments() + { + if (array_key_exists("windowsEnrollmentAssignments", $this->_propDict)) { + return $this->_propDict["windowsEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the windowsEnrollmentAssignments + * User groups which enroll Windows devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The windowsEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setWindowsEnrollmentAssignments($val) + { + $this->_propDict["windowsEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the windowsOnboarded + * Partner onboarded for Windows devices. + * + * @return bool|null The windowsOnboarded + */ + public function getWindowsOnboarded() + { + if (array_key_exists("windowsOnboarded", $this->_propDict)) { + return $this->_propDict["windowsOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the windowsOnboarded + * Partner onboarded for Windows devices. + * + * @param bool $val The windowsOnboarded + * + * @return ComplianceManagementPartner + */ + public function setWindowsOnboarded($val) + { + $this->_propDict["windowsOnboarded"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartnerAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartnerAssignment.php new file mode 100644 index 0000000..3f77167 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartnerAssignment.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Group assignment target. + * + * @param DeviceAndAppManagementAssignmentTarget $val The value to assign to the target + * + * @return ComplianceManagementPartnerAssignment The ComplianceManagementPartnerAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceState.php new file mode 100644 index 0000000..771f74d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceState.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["excludeApplications"]; + } else { + return null; + } + } + + /** + * Sets the excludeApplications + * The list of application IDs explicitly excluded from the policy. + * + * @param string $val The value of the excludeApplications + * + * @return ConditionalAccessApplications + */ + public function setExcludeApplications($val) + { + $this->_propDict["excludeApplications"] = $val; + return $this; + } + /** + * Gets the includeApplications + * The list of application IDs the policy applies to, unless explicitly excluded (in excludeApplications). Can also be set to All. + * + * @return string|null The includeApplications + */ + public function getIncludeApplications() + { + if (array_key_exists("includeApplications", $this->_propDict)) { + return $this->_propDict["includeApplications"]; + } else { + return null; + } + } + + /** + * Sets the includeApplications + * The list of application IDs the policy applies to, unless explicitly excluded (in excludeApplications). Can also be set to All. + * + * @param string $val The value of the includeApplications + * + * @return ConditionalAccessApplications + */ + public function setIncludeApplications($val) + { + $this->_propDict["includeApplications"] = $val; + return $this; + } + /** + * Gets the includeAuthenticationContextClassReferences + * Authentication context class references include. Supported values are c1 through c25. + * + * @return string|null The includeAuthenticationContextClassReferences + */ + public function getIncludeAuthenticationContextClassReferences() + { + if (array_key_exists("includeAuthenticationContextClassReferences", $this->_propDict)) { + return $this->_propDict["includeAuthenticationContextClassReferences"]; + } else { + return null; + } + } + + /** + * Sets the includeAuthenticationContextClassReferences + * Authentication context class references include. Supported values are c1 through c25. + * + * @param string $val The value of the includeAuthenticationContextClassReferences + * + * @return ConditionalAccessApplications + */ + public function setIncludeAuthenticationContextClassReferences($val) + { + $this->_propDict["includeAuthenticationContextClassReferences"] = $val; + return $this; + } + /** + * Gets the includeUserActions + * User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice + * + * @return string|null The includeUserActions + */ + public function getIncludeUserActions() + { + if (array_key_exists("includeUserActions", $this->_propDict)) { + return $this->_propDict["includeUserActions"]; + } else { + return null; + } + } + + /** + * Sets the includeUserActions + * User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice + * + * @param string $val The value of the includeUserActions + * + * @return ConditionalAccessApplications + */ + public function setIncludeUserActions($val) + { + $this->_propDict["includeUserActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessClientApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessClientApp.php new file mode 100644 index 0000000..8c65601 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessClientApp.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["excludeServicePrincipals"]; + } else { + return null; + } + } + + /** + * Sets the excludeServicePrincipals + * Service principal IDs excluded from the policy scope. + * + * @param string $val The value of the excludeServicePrincipals + * + * @return ConditionalAccessClientApplications + */ + public function setExcludeServicePrincipals($val) + { + $this->_propDict["excludeServicePrincipals"] = $val; + return $this; + } + /** + * Gets the includeServicePrincipals + * Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant. + * + * @return string|null The includeServicePrincipals + */ + public function getIncludeServicePrincipals() + { + if (array_key_exists("includeServicePrincipals", $this->_propDict)) { + return $this->_propDict["includeServicePrincipals"]; + } else { + return null; + } + } + + /** + * Sets the includeServicePrincipals + * Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant. + * + * @param string $val The value of the includeServicePrincipals + * + * @return ConditionalAccessClientApplications + */ + public function setIncludeServicePrincipals($val) + { + $this->_propDict["includeServicePrincipals"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditionSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditionSet.php new file mode 100644 index 0000000..8620f81 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditionSet.php @@ -0,0 +1,389 @@ +_propDict)) { + if (is_a($this->_propDict["applications"], "\Beta\Microsoft\Graph\Model\ConditionalAccessApplications") || is_null($this->_propDict["applications"])) { + return $this->_propDict["applications"]; + } else { + $this->_propDict["applications"] = new ConditionalAccessApplications($this->_propDict["applications"]); + return $this->_propDict["applications"]; + } + } + return null; + } + + /** + * Sets the applications + * Applications and user actions included in and excluded from the policy. Required. + * + * @param ConditionalAccessApplications $val The value to assign to the applications + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setApplications($val) + { + $this->_propDict["applications"] = $val; + return $this; + } + + /** + * Gets the clientApplications + * Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. + * + * @return ConditionalAccessClientApplications|null The clientApplications + */ + public function getClientApplications() + { + if (array_key_exists("clientApplications", $this->_propDict)) { + if (is_a($this->_propDict["clientApplications"], "\Beta\Microsoft\Graph\Model\ConditionalAccessClientApplications") || is_null($this->_propDict["clientApplications"])) { + return $this->_propDict["clientApplications"]; + } else { + $this->_propDict["clientApplications"] = new ConditionalAccessClientApplications($this->_propDict["clientApplications"]); + return $this->_propDict["clientApplications"]; + } + } + return null; + } + + /** + * Sets the clientApplications + * Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. + * + * @param ConditionalAccessClientApplications $val The value to assign to the clientApplications + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setClientApplications($val) + { + $this->_propDict["clientApplications"] = $val; + return $this; + } + + /** + * Gets the clientAppTypes + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. + * + * @return ConditionalAccessClientApp|null The clientAppTypes + */ + public function getClientAppTypes() + { + if (array_key_exists("clientAppTypes", $this->_propDict)) { + if (is_a($this->_propDict["clientAppTypes"], "\Beta\Microsoft\Graph\Model\ConditionalAccessClientApp") || is_null($this->_propDict["clientAppTypes"])) { + return $this->_propDict["clientAppTypes"]; + } else { + $this->_propDict["clientAppTypes"] = new ConditionalAccessClientApp($this->_propDict["clientAppTypes"]); + return $this->_propDict["clientAppTypes"]; + } + } + return null; + } + + /** + * Sets the clientAppTypes + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. + * + * @param ConditionalAccessClientApp $val The value to assign to the clientAppTypes + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setClientAppTypes($val) + { + $this->_propDict["clientAppTypes"] = $val; + return $this; + } + + /** + * Gets the devices + * Devices in the policy. + * + * @return ConditionalAccessDevices|null The devices + */ + public function getDevices() + { + if (array_key_exists("devices", $this->_propDict)) { + if (is_a($this->_propDict["devices"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDevices") || is_null($this->_propDict["devices"])) { + return $this->_propDict["devices"]; + } else { + $this->_propDict["devices"] = new ConditionalAccessDevices($this->_propDict["devices"]); + return $this->_propDict["devices"]; + } + } + return null; + } + + /** + * Sets the devices + * Devices in the policy. + * + * @param ConditionalAccessDevices $val The value to assign to the devices + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setDevices($val) + { + $this->_propDict["devices"] = $val; + return $this; + } + + /** + * Gets the deviceStates + * Device states in the policy. + * + * @return ConditionalAccessDeviceStates|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + if (is_a($this->_propDict["deviceStates"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDeviceStates") || is_null($this->_propDict["deviceStates"])) { + return $this->_propDict["deviceStates"]; + } else { + $this->_propDict["deviceStates"] = new ConditionalAccessDeviceStates($this->_propDict["deviceStates"]); + return $this->_propDict["deviceStates"]; + } + } + return null; + } + + /** + * Sets the deviceStates + * Device states in the policy. + * + * @param ConditionalAccessDeviceStates $val The value to assign to the deviceStates + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + + /** + * Gets the locations + * Locations included in and excluded from the policy. + * + * @return ConditionalAccessLocations|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\ConditionalAccessLocations") || is_null($this->_propDict["locations"])) { + return $this->_propDict["locations"]; + } else { + $this->_propDict["locations"] = new ConditionalAccessLocations($this->_propDict["locations"]); + return $this->_propDict["locations"]; + } + } + return null; + } + + /** + * Sets the locations + * Locations included in and excluded from the policy. + * + * @param ConditionalAccessLocations $val The value to assign to the locations + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + + /** + * Gets the platforms + * Platforms included in and excluded from the policy. + * + * @return ConditionalAccessPlatforms|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\ConditionalAccessPlatforms") || is_null($this->_propDict["platforms"])) { + return $this->_propDict["platforms"]; + } else { + $this->_propDict["platforms"] = new ConditionalAccessPlatforms($this->_propDict["platforms"]); + return $this->_propDict["platforms"]; + } + } + return null; + } + + /** + * Sets the platforms + * Platforms included in and excluded from the policy. + * + * @param ConditionalAccessPlatforms $val The value to assign to the platforms + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalRiskLevels + * Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue. + * + * @return RiskLevel|null The servicePrincipalRiskLevels + */ + public function getServicePrincipalRiskLevels() + { + if (array_key_exists("servicePrincipalRiskLevels", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipalRiskLevels"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["servicePrincipalRiskLevels"])) { + return $this->_propDict["servicePrincipalRiskLevels"]; + } else { + $this->_propDict["servicePrincipalRiskLevels"] = new RiskLevel($this->_propDict["servicePrincipalRiskLevels"]); + return $this->_propDict["servicePrincipalRiskLevels"]; + } + } + return null; + } + + /** + * Sets the servicePrincipalRiskLevels + * Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue. + * + * @param RiskLevel $val The value to assign to the servicePrincipalRiskLevels + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setServicePrincipalRiskLevels($val) + { + $this->_propDict["servicePrincipalRiskLevels"] = $val; + return $this; + } + + /** + * Gets the signInRiskLevels + * Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @return RiskLevel|null The signInRiskLevels + */ + public function getSignInRiskLevels() + { + if (array_key_exists("signInRiskLevels", $this->_propDict)) { + if (is_a($this->_propDict["signInRiskLevels"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["signInRiskLevels"])) { + return $this->_propDict["signInRiskLevels"]; + } else { + $this->_propDict["signInRiskLevels"] = new RiskLevel($this->_propDict["signInRiskLevels"]); + return $this->_propDict["signInRiskLevels"]; + } + } + return null; + } + + /** + * Sets the signInRiskLevels + * Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @param RiskLevel $val The value to assign to the signInRiskLevels + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setSignInRiskLevels($val) + { + $this->_propDict["signInRiskLevels"] = $val; + return $this; + } + + /** + * Gets the userRiskLevels + * User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @return RiskLevel|null The userRiskLevels + */ + public function getUserRiskLevels() + { + if (array_key_exists("userRiskLevels", $this->_propDict)) { + if (is_a($this->_propDict["userRiskLevels"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["userRiskLevels"])) { + return $this->_propDict["userRiskLevels"]; + } else { + $this->_propDict["userRiskLevels"] = new RiskLevel($this->_propDict["userRiskLevels"]); + return $this->_propDict["userRiskLevels"]; + } + } + return null; + } + + /** + * Sets the userRiskLevels + * User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @param RiskLevel $val The value to assign to the userRiskLevels + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setUserRiskLevels($val) + { + $this->_propDict["userRiskLevels"] = $val; + return $this; + } + + /** + * Gets the users + * Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required. + * + * @return ConditionalAccessUsers|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + if (is_a($this->_propDict["users"], "\Beta\Microsoft\Graph\Model\ConditionalAccessUsers") || is_null($this->_propDict["users"])) { + return $this->_propDict["users"]; + } else { + $this->_propDict["users"] = new ConditionalAccessUsers($this->_propDict["users"]); + return $this->_propDict["users"]; + } + } + return null; + } + + /** + * Sets the users + * Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required. + * + * @param ConditionalAccessUsers $val The value to assign to the users + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php new file mode 100644 index 0000000..2fed642 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php @@ -0,0 +1,48 @@ +_propDict)) { + return $this->_propDict["excludeStates"]; + } else { + return null; + } + } + + /** + * Sets the excludeStates + * States excluded from the scope of the policy. Possible values: Compliant, DomainJoined. + * + * @param string $val The value of the excludeStates + * + * @return ConditionalAccessDeviceStates + */ + public function setExcludeStates($val) + { + $this->_propDict["excludeStates"] = $val; + return $this; + } + /** + * Gets the includeStates + * States in the scope of the policy. All is the only allowed value. + * + * @return string|null The includeStates + */ + public function getIncludeStates() + { + if (array_key_exists("includeStates", $this->_propDict)) { + return $this->_propDict["includeStates"]; + } else { + return null; + } + } + + /** + * Sets the includeStates + * States in the scope of the policy. All is the only allowed value. + * + * @param string $val The value of the includeStates + * + * @return ConditionalAccessDeviceStates + */ + public function setIncludeStates($val) + { + $this->_propDict["includeStates"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessDevices.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessDevices.php new file mode 100644 index 0000000..9007215 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessDevices.php @@ -0,0 +1,167 @@ +_propDict)) { + if (is_a($this->_propDict["deviceFilter"], "\Beta\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["deviceFilter"])) { + return $this->_propDict["deviceFilter"]; + } else { + $this->_propDict["deviceFilter"] = new ConditionalAccessFilter($this->_propDict["deviceFilter"]); + return $this->_propDict["deviceFilter"]; + } + } + return null; + } + + /** + * Sets the deviceFilter + * Filter that defines the dynamic-device-syntax rule to include/exclude devices. A filter can use device properties (such as extension attributes) to include/exclude them. Cannot be set if includeDevices or excludeDevices is set. + * + * @param ConditionalAccessFilter $val The value to assign to the deviceFilter + * + * @return ConditionalAccessDevices The ConditionalAccessDevices + */ + public function setDeviceFilter($val) + { + $this->_propDict["deviceFilter"] = $val; + return $this; + } + /** + * Gets the excludeDevices + * States excluded from the scope of the policy. Possible values: Compliant, DomainJoined. Cannot be set if deviceFIlter is set. + * + * @return string|null The excludeDevices + */ + public function getExcludeDevices() + { + if (array_key_exists("excludeDevices", $this->_propDict)) { + return $this->_propDict["excludeDevices"]; + } else { + return null; + } + } + + /** + * Sets the excludeDevices + * States excluded from the scope of the policy. Possible values: Compliant, DomainJoined. Cannot be set if deviceFIlter is set. + * + * @param string $val The value of the excludeDevices + * + * @return ConditionalAccessDevices + */ + public function setExcludeDevices($val) + { + $this->_propDict["excludeDevices"] = $val; + return $this; + } + /** + * Gets the excludeDeviceStates + * + * @return string|null The excludeDeviceStates + */ + public function getExcludeDeviceStates() + { + if (array_key_exists("excludeDeviceStates", $this->_propDict)) { + return $this->_propDict["excludeDeviceStates"]; + } else { + return null; + } + } + + /** + * Sets the excludeDeviceStates + * + * @param string $val The value of the excludeDeviceStates + * + * @return ConditionalAccessDevices + */ + public function setExcludeDeviceStates($val) + { + $this->_propDict["excludeDeviceStates"] = $val; + return $this; + } + /** + * Gets the includeDevices + * States in the scope of the policy. All is the only allowed value. Cannot be set if deviceFIlter is set. + * + * @return string|null The includeDevices + */ + public function getIncludeDevices() + { + if (array_key_exists("includeDevices", $this->_propDict)) { + return $this->_propDict["includeDevices"]; + } else { + return null; + } + } + + /** + * Sets the includeDevices + * States in the scope of the policy. All is the only allowed value. Cannot be set if deviceFIlter is set. + * + * @param string $val The value of the includeDevices + * + * @return ConditionalAccessDevices + */ + public function setIncludeDevices($val) + { + $this->_propDict["includeDevices"] = $val; + return $this; + } + /** + * Gets the includeDeviceStates + * + * @return string|null The includeDeviceStates + */ + public function getIncludeDeviceStates() + { + if (array_key_exists("includeDeviceStates", $this->_propDict)) { + return $this->_propDict["includeDeviceStates"]; + } else { + return null; + } + } + + /** + * Sets the includeDeviceStates + * + * @param string $val The value of the includeDeviceStates + * + * @return ConditionalAccessDevices + */ + public function setIncludeDeviceStates($val) + { + $this->_propDict["includeDeviceStates"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessFilter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessFilter.php new file mode 100644 index 0000000..6795956 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessFilter.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["mode"], "\Beta\Microsoft\Graph\Model\FilterMode") || is_null($this->_propDict["mode"])) { + return $this->_propDict["mode"]; + } else { + $this->_propDict["mode"] = new FilterMode($this->_propDict["mode"]); + return $this->_propDict["mode"]; + } + } + return null; + } + + /** + * Sets the mode + * Mode to use for the filter. Possible values are include or exclude. + * + * @param FilterMode $val The value to assign to the mode + * + * @return ConditionalAccessFilter The ConditionalAccessFilter + */ + public function setMode($val) + { + $this->_propDict["mode"] = $val; + return $this; + } + /** + * Gets the rule + * Rule syntax is similar to that used for membership rules for groups in Azure Active Directory. For details, see rules with multiple expressions + * + * @return string|null The rule + */ + public function getRule() + { + if (array_key_exists("rule", $this->_propDict)) { + return $this->_propDict["rule"]; + } else { + return null; + } + } + + /** + * Sets the rule + * Rule syntax is similar to that used for membership rules for groups in Azure Active Directory. For details, see rules with multiple expressions + * + * @param string $val The value of the rule + * + * @return ConditionalAccessFilter + */ + public function setRule($val) + { + $this->_propDict["rule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessGrantControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessGrantControl.php new file mode 100644 index 0000000..f31f1d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessGrantControl.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["builtInControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessGrantControl") || is_null($this->_propDict["builtInControls"])) { + return $this->_propDict["builtInControls"]; + } else { + $this->_propDict["builtInControls"] = new ConditionalAccessGrantControl($this->_propDict["builtInControls"]); + return $this->_propDict["builtInControls"]; + } + } + return null; + } + + /** + * Sets the builtInControls + * List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + * + * @param ConditionalAccessGrantControl $val The value to assign to the builtInControls + * + * @return ConditionalAccessGrantControls The ConditionalAccessGrantControls + */ + public function setBuiltInControls($val) + { + $this->_propDict["builtInControls"] = $val; + return $this; + } + /** + * Gets the customAuthenticationFactors + * List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + * + * @return string|null The customAuthenticationFactors + */ + public function getCustomAuthenticationFactors() + { + if (array_key_exists("customAuthenticationFactors", $this->_propDict)) { + return $this->_propDict["customAuthenticationFactors"]; + } else { + return null; + } + } + + /** + * Sets the customAuthenticationFactors + * List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + * + * @param string $val The value of the customAuthenticationFactors + * + * @return ConditionalAccessGrantControls + */ + public function setCustomAuthenticationFactors($val) + { + $this->_propDict["customAuthenticationFactors"] = $val; + return $this; + } + /** + * Gets the operator + * Defines the relationship of the grant controls. Possible values: AND, OR. + * + * @return string|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + return $this->_propDict["operator"]; + } else { + return null; + } + } + + /** + * Sets the operator + * Defines the relationship of the grant controls. Possible values: AND, OR. + * + * @param string $val The value of the operator + * + * @return ConditionalAccessGrantControls + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the termsOfUse + * List of terms of use IDs required by the policy. + * + * @return string|null The termsOfUse + */ + public function getTermsOfUse() + { + if (array_key_exists("termsOfUse", $this->_propDict)) { + return $this->_propDict["termsOfUse"]; + } else { + return null; + } + } + + /** + * Sets the termsOfUse + * List of terms of use IDs required by the policy. + * + * @param string $val The value of the termsOfUse + * + * @return ConditionalAccessGrantControls + */ + public function setTermsOfUse($val) + { + $this->_propDict["termsOfUse"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessLocations.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessLocations.php new file mode 100644 index 0000000..062c549 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessLocations.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["excludeLocations"]; + } else { + return null; + } + } + + /** + * Sets the excludeLocations + * Location IDs excluded from scope of policy. + * + * @param string $val The value of the excludeLocations + * + * @return ConditionalAccessLocations + */ + public function setExcludeLocations($val) + { + $this->_propDict["excludeLocations"] = $val; + return $this; + } + /** + * Gets the includeLocations + * Location IDs in scope of policy unless explicitly excluded, All, or AllTrusted. + * + * @return string|null The includeLocations + */ + public function getIncludeLocations() + { + if (array_key_exists("includeLocations", $this->_propDict)) { + return $this->_propDict["includeLocations"]; + } else { + return null; + } + } + + /** + * Sets the includeLocations + * Location IDs in scope of policy unless explicitly excluded, All, or AllTrusted. + * + * @param string $val The value of the includeLocations + * + * @return ConditionalAccessLocations + */ + public function setIncludeLocations($val) + { + $this->_propDict["includeLocations"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php new file mode 100644 index 0000000..c4e700c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["excludePlatforms"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDevicePlatform") || is_null($this->_propDict["excludePlatforms"])) { + return $this->_propDict["excludePlatforms"]; + } else { + $this->_propDict["excludePlatforms"] = new ConditionalAccessDevicePlatform($this->_propDict["excludePlatforms"]); + return $this->_propDict["excludePlatforms"]; + } + } + return null; + } + + /** + * Sets the excludePlatforms + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue, linux. + * + * @param ConditionalAccessDevicePlatform $val The value to assign to the excludePlatforms + * + * @return ConditionalAccessPlatforms The ConditionalAccessPlatforms + */ + public function setExcludePlatforms($val) + { + $this->_propDict["excludePlatforms"] = $val; + return $this; + } + + /** + * Gets the includePlatforms + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * + * @return ConditionalAccessDevicePlatform|null The includePlatforms + */ + public function getIncludePlatforms() + { + if (array_key_exists("includePlatforms", $this->_propDict)) { + if (is_a($this->_propDict["includePlatforms"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDevicePlatform") || is_null($this->_propDict["includePlatforms"])) { + return $this->_propDict["includePlatforms"]; + } else { + $this->_propDict["includePlatforms"] = new ConditionalAccessDevicePlatform($this->_propDict["includePlatforms"]); + return $this->_propDict["includePlatforms"]; + } + } + return null; + } + + /** + * Sets the includePlatforms + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * + * @param ConditionalAccessDevicePlatform $val The value to assign to the includePlatforms + * + * @return ConditionalAccessPlatforms The ConditionalAccessPlatforms + */ + public function setIncludePlatforms($val) + { + $this->_propDict["includePlatforms"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicy.php new file mode 100644 index 0000000..4b46bec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicy.php @@ -0,0 +1,283 @@ +_propDict)) { + if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditionSet") || is_null($this->_propDict["conditions"])) { + return $this->_propDict["conditions"]; + } else { + $this->_propDict["conditions"] = new ConditionalAccessConditionSet($this->_propDict["conditions"]); + return $this->_propDict["conditions"]; + } + } + return null; + } + + /** + * Sets the conditions + * Specifies the rules that must be met for the policy to apply. Required. + * + * @param ConditionalAccessConditionSet $val The conditions + * + * @return ConditionalAccessPolicy + */ + public function setConditions($val) + { + $this->_propDict["conditions"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @param \DateTime $val The createdDateTime + * + * @return ConditionalAccessPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Not used. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Not used. + * + * @param string $val The description + * + * @return ConditionalAccessPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Specifies a display name for the conditionalAccessPolicy object. + * + * @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 + * Specifies a display name for the conditionalAccessPolicy object. + * + * @param string $val The displayName + * + * @return ConditionalAccessPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the grantControls + * Specifies the grant controls that must be fulfilled to pass the policy. + * + * @return ConditionalAccessGrantControls|null The grantControls + */ + public function getGrantControls() + { + if (array_key_exists("grantControls", $this->_propDict)) { + if (is_a($this->_propDict["grantControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessGrantControls") || is_null($this->_propDict["grantControls"])) { + return $this->_propDict["grantControls"]; + } else { + $this->_propDict["grantControls"] = new ConditionalAccessGrantControls($this->_propDict["grantControls"]); + return $this->_propDict["grantControls"]; + } + } + return null; + } + + /** + * Sets the grantControls + * Specifies the grant controls that must be fulfilled to pass the policy. + * + * @param ConditionalAccessGrantControls $val The grantControls + * + * @return ConditionalAccessPolicy + */ + public function setGrantControls($val) + { + $this->_propDict["grantControls"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @param \DateTime $val The modifiedDateTime + * + * @return ConditionalAccessPolicy + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the sessionControls + * Specifies the session controls that are enforced after sign-in. + * + * @return ConditionalAccessSessionControls|null The sessionControls + */ + public function getSessionControls() + { + if (array_key_exists("sessionControls", $this->_propDict)) { + if (is_a($this->_propDict["sessionControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessSessionControls") || is_null($this->_propDict["sessionControls"])) { + return $this->_propDict["sessionControls"]; + } else { + $this->_propDict["sessionControls"] = new ConditionalAccessSessionControls($this->_propDict["sessionControls"]); + return $this->_propDict["sessionControls"]; + } + } + return null; + } + + /** + * Sets the sessionControls + * Specifies the session controls that are enforced after sign-in. + * + * @param ConditionalAccessSessionControls $val The sessionControls + * + * @return ConditionalAccessPolicy + */ + public function setSessionControls($val) + { + $this->_propDict["sessionControls"] = $val; + return $this; + } + + /** + * Gets the state + * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. + * + * @return ConditionalAccessPolicyState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConditionalAccessPolicyState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConditionalAccessPolicyState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. + * + * @param ConditionalAccessPolicyState $val The state + * + * @return ConditionalAccessPolicy + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicyState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicyState.php new file mode 100644 index 0000000..ad0c045 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicyState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["authenticationContextClassReferences"]; + } else { + return null; + } + } + + /** + * Sets the authenticationContextClassReferences + * Read-only. Nullable. Returns a collection of the specified authentication context class references. + * + * @param AuthenticationContextClassReference[] $val The authenticationContextClassReferences + * + * @return ConditionalAccessRoot + */ + public function setAuthenticationContextClassReferences($val) + { + $this->_propDict["authenticationContextClassReferences"] = $val; + return $this; + } + + + /** + * Gets the namedLocations + * Read-only. Nullable. Returns a collection of the specified named locations. + * + * @return array|null The namedLocations + */ + public function getNamedLocations() + { + if (array_key_exists("namedLocations", $this->_propDict)) { + return $this->_propDict["namedLocations"]; + } else { + return null; + } + } + + /** + * Sets the namedLocations + * Read-only. Nullable. Returns a collection of the specified named locations. + * + * @param NamedLocation[] $val The namedLocations + * + * @return ConditionalAccessRoot + */ + public function setNamedLocations($val) + { + $this->_propDict["namedLocations"] = $val; + return $this; + } + + + /** + * Gets the policies + * Read-only. Nullable. Returns a collection of the specified Conditional Access policies. + * + * @return array|null The policies + */ + public function getPolicies() + { + if (array_key_exists("policies", $this->_propDict)) { + return $this->_propDict["policies"]; + } else { + return null; + } + } + + /** + * Sets the policies + * Read-only. Nullable. Returns a collection of the specified Conditional Access policies. + * + * @param ConditionalAccessPolicy[] $val The policies + * + * @return ConditionalAccessRoot + */ + public function setPolicies($val) + { + $this->_propDict["policies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php new file mode 100644 index 0000000..6399809 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessRule.php @@ -0,0 +1,55 @@ +_propDict)) { + if (is_a($this->_propDict["conditionalAccessCondition"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditions") || is_null($this->_propDict["conditionalAccessCondition"])) { + return $this->_propDict["conditionalAccessCondition"]; + } else { + $this->_propDict["conditionalAccessCondition"] = new ConditionalAccessConditions($this->_propDict["conditionalAccessCondition"]); + return $this->_propDict["conditionalAccessCondition"]; + } + } + return null; + } + + /** + * Sets the conditionalAccessCondition + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk. + * + * @param ConditionalAccessConditions $val The value to assign to the conditionalAccessCondition + * + * @return ConditionalAccessRuleSatisfied The ConditionalAccessRuleSatisfied + */ + public function setConditionalAccessCondition($val) + { + $this->_propDict["conditionalAccessCondition"] = $val; + return $this; + } + + /** + * Gets the ruleSatisfied + * Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates. + * + * @return ConditionalAccessRule|null The ruleSatisfied + */ + public function getRuleSatisfied() + { + if (array_key_exists("ruleSatisfied", $this->_propDict)) { + if (is_a($this->_propDict["ruleSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRule") || is_null($this->_propDict["ruleSatisfied"])) { + return $this->_propDict["ruleSatisfied"]; + } else { + $this->_propDict["ruleSatisfied"] = new ConditionalAccessRule($this->_propDict["ruleSatisfied"]); + return $this->_propDict["ruleSatisfied"]; + } + } + return null; + } + + /** + * Sets the ruleSatisfied + * Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates. + * + * @param ConditionalAccessRule $val The value to assign to the ruleSatisfied + * + * @return ConditionalAccessRuleSatisfied The ConditionalAccessRuleSatisfied + */ + public function setRuleSatisfied($val) + { + $this->_propDict["ruleSatisfied"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControl.php new file mode 100644 index 0000000..77eb858 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControl.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Specifies whether the session control is enabled. + * + * @param bool $val The value of the isEnabled + * + * @return ConditionalAccessSessionControl + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php new file mode 100644 index 0000000..e7d0504 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php @@ -0,0 +1,219 @@ +_propDict)) { + if (is_a($this->_propDict["applicationEnforcedRestrictions"], "\Beta\Microsoft\Graph\Model\ApplicationEnforcedRestrictionsSessionControl") || is_null($this->_propDict["applicationEnforcedRestrictions"])) { + return $this->_propDict["applicationEnforcedRestrictions"]; + } else { + $this->_propDict["applicationEnforcedRestrictions"] = new ApplicationEnforcedRestrictionsSessionControl($this->_propDict["applicationEnforcedRestrictions"]); + return $this->_propDict["applicationEnforcedRestrictions"]; + } + } + return null; + } + + /** + * Sets the applicationEnforcedRestrictions + * Session control to enforce application restrictions. Only Exchange Online and Sharepoint Online support this session control. + * + * @param ApplicationEnforcedRestrictionsSessionControl $val The value to assign to the applicationEnforcedRestrictions + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setApplicationEnforcedRestrictions($val) + { + $this->_propDict["applicationEnforcedRestrictions"] = $val; + return $this; + } + + /** + * Gets the cloudAppSecurity + * Session control to apply cloud app security. + * + * @return CloudAppSecuritySessionControl|null The cloudAppSecurity + */ + public function getCloudAppSecurity() + { + if (array_key_exists("cloudAppSecurity", $this->_propDict)) { + if (is_a($this->_propDict["cloudAppSecurity"], "\Beta\Microsoft\Graph\Model\CloudAppSecuritySessionControl") || is_null($this->_propDict["cloudAppSecurity"])) { + return $this->_propDict["cloudAppSecurity"]; + } else { + $this->_propDict["cloudAppSecurity"] = new CloudAppSecuritySessionControl($this->_propDict["cloudAppSecurity"]); + return $this->_propDict["cloudAppSecurity"]; + } + } + return null; + } + + /** + * Sets the cloudAppSecurity + * Session control to apply cloud app security. + * + * @param CloudAppSecuritySessionControl $val The value to assign to the cloudAppSecurity + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setCloudAppSecurity($val) + { + $this->_propDict["cloudAppSecurity"] = $val; + return $this; + } + + /** + * Gets the continuousAccessEvaluation + * Session control for continuous access evaluation settings. + * + * @return ContinuousAccessEvaluationSessionControl|null The continuousAccessEvaluation + */ + public function getContinuousAccessEvaluation() + { + if (array_key_exists("continuousAccessEvaluation", $this->_propDict)) { + if (is_a($this->_propDict["continuousAccessEvaluation"], "\Beta\Microsoft\Graph\Model\ContinuousAccessEvaluationSessionControl") || is_null($this->_propDict["continuousAccessEvaluation"])) { + return $this->_propDict["continuousAccessEvaluation"]; + } else { + $this->_propDict["continuousAccessEvaluation"] = new ContinuousAccessEvaluationSessionControl($this->_propDict["continuousAccessEvaluation"]); + return $this->_propDict["continuousAccessEvaluation"]; + } + } + return null; + } + + /** + * Sets the continuousAccessEvaluation + * Session control for continuous access evaluation settings. + * + * @param ContinuousAccessEvaluationSessionControl $val The value to assign to the continuousAccessEvaluation + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setContinuousAccessEvaluation($val) + { + $this->_propDict["continuousAccessEvaluation"] = $val; + return $this; + } + /** + * Gets the disableResilienceDefaults + * Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. + * + * @return bool|null The disableResilienceDefaults + */ + public function getDisableResilienceDefaults() + { + if (array_key_exists("disableResilienceDefaults", $this->_propDict)) { + return $this->_propDict["disableResilienceDefaults"]; + } else { + return null; + } + } + + /** + * Sets the disableResilienceDefaults + * Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. + * + * @param bool $val The value of the disableResilienceDefaults + * + * @return ConditionalAccessSessionControls + */ + public function setDisableResilienceDefaults($val) + { + $this->_propDict["disableResilienceDefaults"] = $val; + return $this; + } + + /** + * Gets the persistentBrowser + * Session control to define whether to persist cookies or not. All apps should be selected for this session control to work correctly. + * + * @return PersistentBrowserSessionControl|null The persistentBrowser + */ + public function getPersistentBrowser() + { + if (array_key_exists("persistentBrowser", $this->_propDict)) { + if (is_a($this->_propDict["persistentBrowser"], "\Beta\Microsoft\Graph\Model\PersistentBrowserSessionControl") || is_null($this->_propDict["persistentBrowser"])) { + return $this->_propDict["persistentBrowser"]; + } else { + $this->_propDict["persistentBrowser"] = new PersistentBrowserSessionControl($this->_propDict["persistentBrowser"]); + return $this->_propDict["persistentBrowser"]; + } + } + return null; + } + + /** + * Sets the persistentBrowser + * Session control to define whether to persist cookies or not. All apps should be selected for this session control to work correctly. + * + * @param PersistentBrowserSessionControl $val The value to assign to the persistentBrowser + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setPersistentBrowser($val) + { + $this->_propDict["persistentBrowser"] = $val; + return $this; + } + + /** + * Gets the signInFrequency + * Session control to enforce signin frequency. + * + * @return SignInFrequencySessionControl|null The signInFrequency + */ + public function getSignInFrequency() + { + if (array_key_exists("signInFrequency", $this->_propDict)) { + if (is_a($this->_propDict["signInFrequency"], "\Beta\Microsoft\Graph\Model\SignInFrequencySessionControl") || is_null($this->_propDict["signInFrequency"])) { + return $this->_propDict["signInFrequency"]; + } else { + $this->_propDict["signInFrequency"] = new SignInFrequencySessionControl($this->_propDict["signInFrequency"]); + return $this->_propDict["signInFrequency"]; + } + } + return null; + } + + /** + * Sets the signInFrequency + * Session control to enforce signin frequency. + * + * @param SignInFrequencySessionControl $val The value to assign to the signInFrequency + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setSignInFrequency($val) + { + $this->_propDict["signInFrequency"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessStatus.php new file mode 100644 index 0000000..2f00f3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["excludeGroups"]; + } else { + return null; + } + } + + /** + * Sets the excludeGroups + * Group IDs excluded from scope of policy. + * + * @param string $val The value of the excludeGroups + * + * @return ConditionalAccessUsers + */ + public function setExcludeGroups($val) + { + $this->_propDict["excludeGroups"] = $val; + return $this; + } + /** + * Gets the excludeRoles + * Role IDs excluded from scope of policy. + * + * @return string|null The excludeRoles + */ + public function getExcludeRoles() + { + if (array_key_exists("excludeRoles", $this->_propDict)) { + return $this->_propDict["excludeRoles"]; + } else { + return null; + } + } + + /** + * Sets the excludeRoles + * Role IDs excluded from scope of policy. + * + * @param string $val The value of the excludeRoles + * + * @return ConditionalAccessUsers + */ + public function setExcludeRoles($val) + { + $this->_propDict["excludeRoles"] = $val; + return $this; + } + /** + * Gets the excludeUsers + * User IDs excluded from scope of policy and/or GuestsOrExternalUsers. + * + * @return string|null The excludeUsers + */ + public function getExcludeUsers() + { + if (array_key_exists("excludeUsers", $this->_propDict)) { + return $this->_propDict["excludeUsers"]; + } else { + return null; + } + } + + /** + * Sets the excludeUsers + * User IDs excluded from scope of policy and/or GuestsOrExternalUsers. + * + * @param string $val The value of the excludeUsers + * + * @return ConditionalAccessUsers + */ + public function setExcludeUsers($val) + { + $this->_propDict["excludeUsers"] = $val; + return $this; + } + /** + * Gets the includeGroups + * Group IDs in scope of policy unless explicitly excluded, or All. + * + * @return string|null The includeGroups + */ + public function getIncludeGroups() + { + if (array_key_exists("includeGroups", $this->_propDict)) { + return $this->_propDict["includeGroups"]; + } else { + return null; + } + } + + /** + * Sets the includeGroups + * Group IDs in scope of policy unless explicitly excluded, or All. + * + * @param string $val The value of the includeGroups + * + * @return ConditionalAccessUsers + */ + public function setIncludeGroups($val) + { + $this->_propDict["includeGroups"] = $val; + return $this; + } + /** + * Gets the includeRoles + * Role IDs in scope of policy unless explicitly excluded, or All. + * + * @return string|null The includeRoles + */ + public function getIncludeRoles() + { + if (array_key_exists("includeRoles", $this->_propDict)) { + return $this->_propDict["includeRoles"]; + } else { + return null; + } + } + + /** + * Sets the includeRoles + * Role IDs in scope of policy unless explicitly excluded, or All. + * + * @param string $val The value of the includeRoles + * + * @return ConditionalAccessUsers + */ + public function setIncludeRoles($val) + { + $this->_propDict["includeRoles"] = $val; + return $this; + } + /** + * Gets the includeUsers + * User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + * + * @return string|null The includeUsers + */ + public function getIncludeUsers() + { + if (array_key_exists("includeUsers", $this->_propDict)) { + return $this->_propDict["includeUsers"]; + } else { + return null; + } + } + + /** + * Sets the includeUsers + * User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + * + * @param string $val The value of the includeUsers + * + * @return ConditionalAccessUsers + */ + public function setIncludeUsers($val) + { + $this->_propDict["includeUsers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerCollection.php new file mode 100644 index 0000000..08354af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerCollection.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["collectionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the collectionIdentifier + * The collection identifier in SCCM. + * + * @param string $val The collectionIdentifier + * + * @return ConfigManagerCollection + */ + public function setCollectionIdentifier($val) + { + $this->_propDict["collectionIdentifier"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The created date. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The created date. + * + * @param \DateTime $val The createdDateTime + * + * @return ConfigManagerCollection + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * 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 + * The DisplayName. + * + * @param string $val The displayName + * + * @return ConfigManagerCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the hierarchyIdentifier + * The Hierarchy Identifier. + * + * @return string|null The hierarchyIdentifier + */ + public function getHierarchyIdentifier() + { + if (array_key_exists("hierarchyIdentifier", $this->_propDict)) { + return $this->_propDict["hierarchyIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the hierarchyIdentifier + * The Hierarchy Identifier. + * + * @param string $val The hierarchyIdentifier + * + * @return ConfigManagerCollection + */ + public function setHierarchyIdentifier($val) + { + $this->_propDict["hierarchyIdentifier"] = $val; + return $this; + } + + /** + * Gets the hierarchyName + * The HierarchyName. + * + * @return string|null The hierarchyName + */ + public function getHierarchyName() + { + if (array_key_exists("hierarchyName", $this->_propDict)) { + return $this->_propDict["hierarchyName"]; + } else { + return null; + } + } + + /** + * Sets the hierarchyName + * The HierarchyName. + * + * @param string $val The hierarchyName + * + * @return ConfigManagerCollection + */ + public function setHierarchyName($val) + { + $this->_propDict["hierarchyName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last modified date. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last modified date. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ConfigManagerCollection + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerPolicySummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerPolicySummary.php new file mode 100644 index 0000000..bf77b66 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerPolicySummary.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * The number of devices evaluated to be compliant by the policy. + * + * @param int $val The value of the compliantDeviceCount + * + * @return ConfigManagerPolicySummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = $val; + return $this; + } + /** + * Gets the enforcedDeviceCount + * The number of devices that have have been remediated by the policy. + * + * @return int|null The enforcedDeviceCount + */ + public function getEnforcedDeviceCount() + { + if (array_key_exists("enforcedDeviceCount", $this->_propDict)) { + return $this->_propDict["enforcedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the enforcedDeviceCount + * The number of devices that have have been remediated by the policy. + * + * @param int $val The value of the enforcedDeviceCount + * + * @return ConfigManagerPolicySummary + */ + public function setEnforcedDeviceCount($val) + { + $this->_propDict["enforcedDeviceCount"] = $val; + return $this; + } + /** + * Gets the failedDeviceCount + * The number of devices that failed to be evaluated by the policy. + * + * @return int|null The failedDeviceCount + */ + public function getFailedDeviceCount() + { + if (array_key_exists("failedDeviceCount", $this->_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * The number of devices that failed to be evaluated by the policy. + * + * @param int $val The value of the failedDeviceCount + * + * @return ConfigManagerPolicySummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = $val; + return $this; + } + /** + * Gets the nonCompliantDeviceCount + * The number of devices evaluated to be noncompliant by the policy. + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * The number of devices evaluated to be noncompliant by the policy. + * + * @param int $val The value of the nonCompliantDeviceCount + * + * @return ConfigManagerPolicySummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingDeviceCount + * The number of devices that have acknowledged the policy but are pending evaluation. + * + * @return int|null The pendingDeviceCount + */ + public function getPendingDeviceCount() + { + if (array_key_exists("pendingDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingDeviceCount + * The number of devices that have acknowledged the policy but are pending evaluation. + * + * @param int $val The value of the pendingDeviceCount + * + * @return ConfigManagerPolicySummary + */ + public function setPendingDeviceCount($val) + { + $this->_propDict["pendingDeviceCount"] = $val; + return $this; + } + /** + * Gets the targetedDeviceCount + * The number of devices targeted by the policy. + * + * @return int|null The targetedDeviceCount + */ + public function getTargetedDeviceCount() + { + if (array_key_exists("targetedDeviceCount", $this->_propDict)) { + return $this->_propDict["targetedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the targetedDeviceCount + * The number of devices targeted by the policy. + * + * @param int $val The value of the targetedDeviceCount + * + * @return ConfigManagerPolicySummary + */ + public function setTargetedDeviceCount($val) + { + $this->_propDict["targetedDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Configuration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Configuration.php new file mode 100644 index 0000000..7d1945c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Configuration.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["authorizedAppIds"]; + } else { + return null; + } + } + + /** + * Sets the authorizedAppIds + * + * @param string $val The value of the authorizedAppIds + * + * @return Configuration + */ + public function setAuthorizedAppIds($val) + { + $this->_propDict["authorizedAppIds"] = $val; + return $this; + } + /** + * Gets the authorizedApps + * + * @return string|null The authorizedApps + */ + public function getAuthorizedApps() + { + if (array_key_exists("authorizedApps", $this->_propDict)) { + return $this->_propDict["authorizedApps"]; + } else { + return null; + } + } + + /** + * Sets the authorizedApps + * + * @param string $val The value of the authorizedApps + * + * @return Configuration + */ + public function setAuthorizedApps($val) + { + $this->_propDict["authorizedApps"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerAction.php new file mode 100644 index 0000000..44e4392 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerAction.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerActionType") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new ConfigurationManagerActionType($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action type to trigger on Configuration Manager client. Possible values are: refreshMachinePolicy, refreshUserPolicy, wakeUpClient, appEvaluation, quickScan, fullScan, windowsDefenderUpdateSignatures. + * + * @param ConfigurationManagerActionType $val The value to assign to the action + * + * @return ConfigurationManagerAction The ConfigurationManagerAction + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionDeliveryStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionDeliveryStatus.php new file mode 100644 index 0000000..ff5d549 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionDeliveryStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["actionDeliveryStatus"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerActionDeliveryStatus") || is_null($this->_propDict["actionDeliveryStatus"])) { + return $this->_propDict["actionDeliveryStatus"]; + } else { + $this->_propDict["actionDeliveryStatus"] = new ConfigurationManagerActionDeliveryStatus($this->_propDict["actionDeliveryStatus"]); + return $this->_propDict["actionDeliveryStatus"]; + } + } + return null; + } + + /** + * Sets the actionDeliveryStatus + * State of the action being delivered to on-prem server. Possible values are: unknown, pendingDelivery, deliveredToConnectorService, failedToDeliverToConnectorService, deliveredToOnPremisesServer. + * + * @param ConfigurationManagerActionDeliveryStatus $val The value to assign to the actionDeliveryStatus + * + * @return ConfigurationManagerActionResult The ConfigurationManagerActionResult + */ + public function setActionDeliveryStatus($val) + { + $this->_propDict["actionDeliveryStatus"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code of Configuration Manager action from client + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code of Configuration Manager action from client + * + * @param int $val The value of the errorCode + * + * @return ConfigurationManagerActionResult + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionType.php new file mode 100644 index 0000000..1c0ec46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["compliancePolicy"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicy + * Whether compliance policy is managed by Intune + * + * @param bool $val The value of the compliancePolicy + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setCompliancePolicy($val) + { + $this->_propDict["compliancePolicy"] = $val; + return $this; + } + /** + * Gets the deviceConfiguration + * Whether device configuration is managed by Intune + * + * @return bool|null The deviceConfiguration + */ + public function getDeviceConfiguration() + { + if (array_key_exists("deviceConfiguration", $this->_propDict)) { + return $this->_propDict["deviceConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfiguration + * Whether device configuration is managed by Intune + * + * @param bool $val The value of the deviceConfiguration + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setDeviceConfiguration($val) + { + $this->_propDict["deviceConfiguration"] = $val; + return $this; + } + /** + * Gets the endpointProtection + * Whether Endpoint Protection is managed by Intune + * + * @return bool|null The endpointProtection + */ + public function getEndpointProtection() + { + if (array_key_exists("endpointProtection", $this->_propDict)) { + return $this->_propDict["endpointProtection"]; + } else { + return null; + } + } + + /** + * Sets the endpointProtection + * Whether Endpoint Protection is managed by Intune + * + * @param bool $val The value of the endpointProtection + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setEndpointProtection($val) + { + $this->_propDict["endpointProtection"] = $val; + return $this; + } + /** + * Gets the inventory + * Whether inventory is managed by Intune + * + * @return bool|null The inventory + */ + public function getInventory() + { + if (array_key_exists("inventory", $this->_propDict)) { + return $this->_propDict["inventory"]; + } else { + return null; + } + } + + /** + * Sets the inventory + * Whether inventory is managed by Intune + * + * @param bool $val The value of the inventory + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setInventory($val) + { + $this->_propDict["inventory"] = $val; + return $this; + } + /** + * Gets the modernApps + * Whether modern application is managed by Intune + * + * @return bool|null The modernApps + */ + public function getModernApps() + { + if (array_key_exists("modernApps", $this->_propDict)) { + return $this->_propDict["modernApps"]; + } else { + return null; + } + } + + /** + * Sets the modernApps + * Whether modern application is managed by Intune + * + * @param bool $val The value of the modernApps + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setModernApps($val) + { + $this->_propDict["modernApps"] = $val; + return $this; + } + /** + * Gets the officeApps + * Whether Office application is managed by Intune + * + * @return bool|null The officeApps + */ + public function getOfficeApps() + { + if (array_key_exists("officeApps", $this->_propDict)) { + return $this->_propDict["officeApps"]; + } else { + return null; + } + } + + /** + * Sets the officeApps + * Whether Office application is managed by Intune + * + * @param bool $val The value of the officeApps + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setOfficeApps($val) + { + $this->_propDict["officeApps"] = $val; + return $this; + } + /** + * Gets the resourceAccess + * Whether resource access is managed by Intune + * + * @return bool|null The resourceAccess + */ + public function getResourceAccess() + { + if (array_key_exists("resourceAccess", $this->_propDict)) { + return $this->_propDict["resourceAccess"]; + } else { + return null; + } + } + + /** + * Sets the resourceAccess + * Whether resource access is managed by Intune + * + * @param bool $val The value of the resourceAccess + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setResourceAccess($val) + { + $this->_propDict["resourceAccess"] = $val; + return $this; + } + /** + * Gets the windowsUpdateForBusiness + * Whether Windows Update for Business is managed by Intune + * + * @return bool|null The windowsUpdateForBusiness + */ + public function getWindowsUpdateForBusiness() + { + if (array_key_exists("windowsUpdateForBusiness", $this->_propDict)) { + return $this->_propDict["windowsUpdateForBusiness"]; + } else { + return null; + } + } + + /** + * Sets the windowsUpdateForBusiness + * Whether Windows Update for Business is managed by Intune + * + * @param bool $val The value of the windowsUpdateForBusiness + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setWindowsUpdateForBusiness($val) + { + $this->_propDict["windowsUpdateForBusiness"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientHealthState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientHealthState.php new file mode 100644 index 0000000..bb79811 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientHealthState.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for failed state. + * + * @param int $val The value of the errorCode + * + * @return ConfigurationManagerClientHealthState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Datetime for last sync with configuration manager management point. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Datetime for last sync with configuration manager management point. + * + * @param \DateTime $val The value to assign to the lastSyncDateTime + * + * @return ConfigurationManagerClientHealthState The ConfigurationManagerClientHealthState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Current configuration manager client state. Possible values are: unknown, installed, healthy, installFailed, updateFailed, communicationError. + * + * @return ConfigurationManagerClientState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerClientState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConfigurationManagerClientState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Current configuration manager client state. Possible values are: unknown, installed, healthy, installFailed, updateFailed, communicationError. + * + * @param ConfigurationManagerClientState $val The value to assign to the state + * + * @return ConfigurationManagerClientHealthState The ConfigurationManagerClientHealthState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientInformation.php new file mode 100644 index 0000000..d4f67f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientInformation.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["clientIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the clientIdentifier + * Configuration Manager Client Id from SCCM + * + * @param string $val The value of the clientIdentifier + * + * @return ConfigurationManagerClientInformation + */ + public function setClientIdentifier($val) + { + $this->_propDict["clientIdentifier"] = $val; + return $this; + } + /** + * Gets the isBlocked + * Configuration Manager Client blocked status from SCCM + * + * @return bool|null The isBlocked + */ + public function getIsBlocked() + { + if (array_key_exists("isBlocked", $this->_propDict)) { + return $this->_propDict["isBlocked"]; + } else { + return null; + } + } + + /** + * Sets the isBlocked + * Configuration Manager Client blocked status from SCCM + * + * @param bool $val The value of the isBlocked + * + * @return ConfigurationManagerClientInformation + */ + public function setIsBlocked($val) + { + $this->_propDict["isBlocked"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientState.php new file mode 100644 index 0000000..f90c1e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientState.php @@ -0,0 +1,38 @@ +setODataType("#microsoft.graph.configurationManagerCollectionAssignmentTarget"); + } + + /** + * Gets the collectionId + * The collection Id that is the target of the assignment. + * + * @return string|null The collectionId + */ + public function getCollectionId() + { + if (array_key_exists("collectionId", $this->_propDict)) { + return $this->_propDict["collectionId"]; + } else { + return null; + } + } + + /** + * Sets the collectionId + * The collection Id that is the target of the assignment. + * + * @param string $val The value of the collectionId + * + * @return ConfigurationManagerCollectionAssignmentTarget + */ + public function setCollectionId($val) + { + $this->_propDict["collectionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationUsage.php new file mode 100644 index 0000000..ba52efa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationUsage.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * UPN of the user who created this resource. Read-only. + * + * @param string $val The createdBy + * + * @return ConnectedOrganization + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ConnectedOrganization + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the connected organization. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the connected organization. + * + * @param string $val The description + * + * @return ConnectedOrganization + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the connected organization. Supports $filter (eq). + * + * @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 + * The display name of the connected organization. Supports $filter (eq). + * + * @param string $val The displayName + * + * @return ConnectedOrganization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the identitySources + * The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f'). + * + * @return array|null The identitySources + */ + public function getIdentitySources() + { + if (array_key_exists("identitySources", $this->_propDict)) { + return $this->_propDict["identitySources"]; + } else { + return null; + } + } + + /** + * Sets the identitySources + * The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f'). + * + * @param IdentitySource[] $val The identitySources + * + * @return ConnectedOrganization + */ + public function setIdentitySources($val) + { + $this->_propDict["identitySources"] = $val; + return $this; + } + + /** + * Gets the modifiedBy + * UPN of the user who last modified this resource. Read-only. + * + * @return string|null The modifiedBy + */ + public function getModifiedBy() + { + if (array_key_exists("modifiedBy", $this->_propDict)) { + return $this->_propDict["modifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the modifiedBy + * UPN of the user who last modified this resource. Read-only. + * + * @param string $val The modifiedBy + * + * @return ConnectedOrganization + */ + public function setModifiedBy($val) + { + $this->_propDict["modifiedBy"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return ConnectedOrganization + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. Possible values are: configured, proposed. + * + * @return ConnectedOrganizationState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConnectedOrganizationState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConnectedOrganizationState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. Possible values are: configured, proposed. + * + * @param ConnectedOrganizationState $val The state + * + * @return ConnectedOrganization + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the externalSponsors + * Nullable. + * + * @return array|null The externalSponsors + */ + public function getExternalSponsors() + { + if (array_key_exists("externalSponsors", $this->_propDict)) { + return $this->_propDict["externalSponsors"]; + } else { + return null; + } + } + + /** + * Sets the externalSponsors + * Nullable. + * + * @param DirectoryObject[] $val The externalSponsors + * + * @return ConnectedOrganization + */ + public function setExternalSponsors($val) + { + $this->_propDict["externalSponsors"] = $val; + return $this; + } + + + /** + * Gets the internalSponsors + * Nullable. + * + * @return array|null The internalSponsors + */ + public function getInternalSponsors() + { + if (array_key_exists("internalSponsors", $this->_propDict)) { + return $this->_propDict["internalSponsors"]; + } else { + return null; + } + } + + /** + * Sets the internalSponsors + * Nullable. + * + * @param DirectoryObject[] $val The internalSponsors + * + * @return ConnectedOrganization + */ + public function setInternalSponsors($val) + { + $this->_propDict["internalSponsors"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationMembers.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationMembers.php new file mode 100644 index 0000000..0b27fbd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationMembers.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The name of the connected organization. Read only. + * + * @param string $val The value of the description + * + * @return ConnectedOrganizationMembers + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the id + * The ID of the connected organization in entitlement management. + * + * @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 + * The ID of the connected organization in entitlement management. + * + * @param string $val The value of the id + * + * @return ConnectedOrganizationMembers + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationState.php new file mode 100644 index 0000000..a1c2911 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The endpoint that is used by Entitlement Management to communicate with the access package resource. + * + * @param string $val The value of the url + * + * @return ConnectionInfo + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperation.php new file mode 100644 index 0000000..c7cd052 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperation.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param PublicError $val The error + * + * @return ConnectionOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return ConnectionOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ConnectionOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ConnectionOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param ConnectionOperationStatus $val The status + * + * @return ConnectionOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperationStatus.php new file mode 100644 index 0000000..a5afe5e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperationStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["externalIp"]; + } else { + return null; + } + } + + /** + * Sets the externalIp + * The external IP address as detected by the the connector server. Read-only. + * + * @param string $val The externalIp + * + * @return Connector + */ + public function setExternalIp($val) + { + $this->_propDict["externalIp"] = $val; + return $this; + } + + /** + * Gets the machineName + * The machine name the connector is installed and running on. + * + * @return string|null The machineName + */ + public function getMachineName() + { + if (array_key_exists("machineName", $this->_propDict)) { + return $this->_propDict["machineName"]; + } else { + return null; + } + } + + /** + * Sets the machineName + * The machine name the connector is installed and running on. + * + * @param string $val The machineName + * + * @return Connector + */ + public function setMachineName($val) + { + $this->_propDict["machineName"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the status of the connector. Possible values are: active, inactive. Read-only. + * + * @return ConnectorStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ConnectorStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ConnectorStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the status of the connector. Possible values are: active, inactive. Read-only. + * + * @param ConnectorStatus $val The status + * + * @return Connector + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * The connectorGroup that the connector is a member of. Read-only. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * The connectorGroup that the connector is a member of. Read-only. + * + * @param ConnectorGroup[] $val The memberOf + * + * @return Connector + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroup.php new file mode 100644 index 0000000..6aa4586 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroup.php @@ -0,0 +1,211 @@ +_propDict)) { + if (is_a($this->_propDict["connectorGroupType"], "\Beta\Microsoft\Graph\Model\ConnectorGroupType") || is_null($this->_propDict["connectorGroupType"])) { + return $this->_propDict["connectorGroupType"]; + } else { + $this->_propDict["connectorGroupType"] = new ConnectorGroupType($this->_propDict["connectorGroupType"]); + return $this->_propDict["connectorGroupType"]; + } + } + return null; + } + + /** + * Sets the connectorGroupType + * Indicates the type of hybrid agent. This pre-set by the system. Possible values are: applicationProxy. Read-only. + * + * @param ConnectorGroupType $val The connectorGroupType + * + * @return ConnectorGroup + */ + public function setConnectorGroupType($val) + { + $this->_propDict["connectorGroupType"] = $val; + return $this; + } + + /** + * Gets the isDefault + * Indicates if the connectorGroup is the default connectorGroup. Only a single connector group can be the default connectorGroup and this is pre-set by the system. Read-only. + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates if the connectorGroup is the default connectorGroup. Only a single connector group can be the default connectorGroup and this is pre-set by the system. Read-only. + * + * @param bool $val The isDefault + * + * @return ConnectorGroup + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The name associated with the connectorGroup. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name associated with the connectorGroup. + * + * @param string $val The name + * + * @return ConnectorGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the region + * The region the connectorGroup is assigned to and will optimize traffic for. This region can only be set if no connectors or applications are assigned to the connectorGroup. The possible values are: nam (for North America), eur (for Europe), aus (for Australia), asia (for Asia), ind (for India), and unknownFutureValue. + * + * @return ConnectorGroupRegion|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + if (is_a($this->_propDict["region"], "\Beta\Microsoft\Graph\Model\ConnectorGroupRegion") || is_null($this->_propDict["region"])) { + return $this->_propDict["region"]; + } else { + $this->_propDict["region"] = new ConnectorGroupRegion($this->_propDict["region"]); + return $this->_propDict["region"]; + } + } + return null; + } + + /** + * Sets the region + * The region the connectorGroup is assigned to and will optimize traffic for. This region can only be set if no connectors or applications are assigned to the connectorGroup. The possible values are: nam (for North America), eur (for Europe), aus (for Australia), asia (for Asia), ind (for India), and unknownFutureValue. + * + * @param ConnectorGroupRegion $val The region + * + * @return ConnectorGroup + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } + + + /** + * Gets the applications + * Read-only. Nullable. + * + * @return array|null The applications + */ + public function getApplications() + { + if (array_key_exists("applications", $this->_propDict)) { + return $this->_propDict["applications"]; + } else { + return null; + } + } + + /** + * Sets the applications + * Read-only. Nullable. + * + * @param Application[] $val The applications + * + * @return ConnectorGroup + */ + public function setApplications($val) + { + $this->_propDict["applications"] = $val; + return $this; + } + + + /** + * Gets the members + * Read-only. Nullable. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Read-only. Nullable. + * + * @param Connector[] $val The members + * + * @return ConnectorGroup + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroupRegion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroupRegion.php new file mode 100644 index 0000000..220a244 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroupRegion.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["assistantName"]; + } else { + return null; + } + } + + /** + * Sets the assistantName + * The name of the contact's assistant. + * + * @param string $val The assistantName + * + * @return Contact + */ + public function setAssistantName($val) + { + $this->_propDict["assistantName"] = $val; + return $this; + } + + /** + * Gets the birthday + * The contact's birthday. 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 birthday + */ + public function getBirthday() + { + if (array_key_exists("birthday", $this->_propDict)) { + if (is_a($this->_propDict["birthday"], "\DateTime") || is_null($this->_propDict["birthday"])) { + return $this->_propDict["birthday"]; + } else { + $this->_propDict["birthday"] = new \DateTime($this->_propDict["birthday"]); + return $this->_propDict["birthday"]; + } + } + return null; + } + + /** + * Sets the birthday + * The contact's birthday. 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 birthday + * + * @return Contact + */ + public function setBirthday($val) + { + $this->_propDict["birthday"] = $val; + return $this; + } + + /** + * Gets the children + * The names of the contact's children. + * + * @return string|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * The names of the contact's children. + * + * @param string $val The children + * + * @return Contact + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the companyName + * The name of the contact's company. + * + * @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 name of the contact's company. + * + * @param string $val The companyName + * + * @return Contact + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the department + * The contact's department. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The contact's department. + * + * @param string $val The department + * + * @return Contact + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. + * + * @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 + * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. + * + * @param string $val The displayName + * + * @return Contact + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the emailAddresses + * The contact's email addresses. + * + * @return array|null The emailAddresses + */ + public function getEmailAddresses() + { + if (array_key_exists("emailAddresses", $this->_propDict)) { + return $this->_propDict["emailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the emailAddresses + * The contact's email addresses. + * + * @param TypedEmailAddress[] $val The emailAddresses + * + * @return Contact + */ + public function setEmailAddresses($val) + { + $this->_propDict["emailAddresses"] = $val; + return $this; + } + + /** + * Gets the fileAs + * The name the contact is filed under. + * + * @return string|null The fileAs + */ + public function getFileAs() + { + if (array_key_exists("fileAs", $this->_propDict)) { + return $this->_propDict["fileAs"]; + } else { + return null; + } + } + + /** + * Sets the fileAs + * The name the contact is filed under. + * + * @param string $val The fileAs + * + * @return Contact + */ + public function setFileAs($val) + { + $this->_propDict["fileAs"] = $val; + return $this; + } + + /** + * Gets the flag + * The flag value that indicates the status, start date, due date, or completion date for the contact. + * + * @return FollowupFlag|null The flag + */ + public function getFlag() + { + if (array_key_exists("flag", $this->_propDict)) { + if (is_a($this->_propDict["flag"], "\Beta\Microsoft\Graph\Model\FollowupFlag") || is_null($this->_propDict["flag"])) { + return $this->_propDict["flag"]; + } else { + $this->_propDict["flag"] = new FollowupFlag($this->_propDict["flag"]); + return $this->_propDict["flag"]; + } + } + return null; + } + + /** + * Sets the flag + * The flag value that indicates the status, start date, due date, or completion date for the contact. + * + * @param FollowupFlag $val The flag + * + * @return Contact + */ + public function setFlag($val) + { + $this->_propDict["flag"] = $val; + return $this; + } + + /** + * Gets the gender + * The contact's gender. + * + * @return string|null The gender + */ + public function getGender() + { + if (array_key_exists("gender", $this->_propDict)) { + return $this->_propDict["gender"]; + } else { + return null; + } + } + + /** + * Sets the gender + * The contact's gender. + * + * @param string $val The gender + * + * @return Contact + */ + public function setGender($val) + { + $this->_propDict["gender"] = $val; + return $this; + } + + /** + * Gets the generation + * The contact's generation. + * + * @return string|null The generation + */ + public function getGeneration() + { + if (array_key_exists("generation", $this->_propDict)) { + return $this->_propDict["generation"]; + } else { + return null; + } + } + + /** + * Sets the generation + * The contact's generation. + * + * @param string $val The generation + * + * @return Contact + */ + public function setGeneration($val) + { + $this->_propDict["generation"] = $val; + return $this; + } + + /** + * Gets the givenName + * The contact's given name. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The contact's given name. + * + * @param string $val The givenName + * + * @return Contact + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the imAddresses + * + * @return string|null The imAddresses + */ + public function getImAddresses() + { + if (array_key_exists("imAddresses", $this->_propDict)) { + return $this->_propDict["imAddresses"]; + } else { + return null; + } + } + + /** + * Sets the imAddresses + * + * @param string $val The imAddresses + * + * @return Contact + */ + public function setImAddresses($val) + { + $this->_propDict["imAddresses"] = $val; + return $this; + } + + /** + * Gets the initials + * + * @return string|null The initials + */ + public function getInitials() + { + if (array_key_exists("initials", $this->_propDict)) { + return $this->_propDict["initials"]; + } else { + return null; + } + } + + /** + * Sets the initials + * + * @param string $val The initials + * + * @return Contact + */ + public function setInitials($val) + { + $this->_propDict["initials"] = $val; + return $this; + } + + /** + * Gets the isFavorite + * + * @return bool|null The isFavorite + */ + public function getIsFavorite() + { + if (array_key_exists("isFavorite", $this->_propDict)) { + return $this->_propDict["isFavorite"]; + } else { + return null; + } + } + + /** + * Sets the isFavorite + * + * @param bool $val The isFavorite + * + * @return Contact + */ + public function setIsFavorite($val) + { + $this->_propDict["isFavorite"] = boolval($val); + return $this; + } + + /** + * Gets the jobTitle + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * + * @param string $val The jobTitle + * + * @return Contact + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the manager + * + * @return string|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + return $this->_propDict["manager"]; + } else { + return null; + } + } + + /** + * Sets the manager + * + * @param string $val The manager + * + * @return Contact + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + /** + * Gets the middleName + * + * @return string|null The middleName + */ + public function getMiddleName() + { + if (array_key_exists("middleName", $this->_propDict)) { + return $this->_propDict["middleName"]; + } else { + return null; + } + } + + /** + * Sets the middleName + * + * @param string $val The middleName + * + * @return Contact + */ + public function setMiddleName($val) + { + $this->_propDict["middleName"] = $val; + return $this; + } + + /** + * Gets the nickName + * + * @return string|null The nickName + */ + public function getNickName() + { + if (array_key_exists("nickName", $this->_propDict)) { + return $this->_propDict["nickName"]; + } else { + return null; + } + } + + /** + * Sets the nickName + * + * @param string $val The nickName + * + * @return Contact + */ + public function setNickName($val) + { + $this->_propDict["nickName"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * + * @param string $val The officeLocation + * + * @return Contact + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the parentFolderId + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * + * @param string $val The parentFolderId + * + * @return Contact + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the personalNotes + * + * @return string|null The personalNotes + */ + public function getPersonalNotes() + { + if (array_key_exists("personalNotes", $this->_propDict)) { + return $this->_propDict["personalNotes"]; + } else { + return null; + } + } + + /** + * Sets the personalNotes + * + * @param string $val The personalNotes + * + * @return Contact + */ + public function setPersonalNotes($val) + { + $this->_propDict["personalNotes"] = $val; + return $this; + } + + + /** + * Gets the phones + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * + * @param Phone[] $val The phones + * + * @return Contact + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + + + /** + * Gets the postalAddresses + * + * @return array|null The postalAddresses + */ + public function getPostalAddresses() + { + if (array_key_exists("postalAddresses", $this->_propDict)) { + return $this->_propDict["postalAddresses"]; + } else { + return null; + } + } + + /** + * Sets the postalAddresses + * + * @param PhysicalAddress[] $val The postalAddresses + * + * @return Contact + */ + public function setPostalAddresses($val) + { + $this->_propDict["postalAddresses"] = $val; + return $this; + } + + /** + * Gets the profession + * + * @return string|null The profession + */ + public function getProfession() + { + if (array_key_exists("profession", $this->_propDict)) { + return $this->_propDict["profession"]; + } else { + return null; + } + } + + /** + * Sets the profession + * + * @param string $val The profession + * + * @return Contact + */ + public function setProfession($val) + { + $this->_propDict["profession"] = $val; + return $this; + } + + /** + * Gets the spouseName + * + * @return string|null The spouseName + */ + public function getSpouseName() + { + if (array_key_exists("spouseName", $this->_propDict)) { + return $this->_propDict["spouseName"]; + } else { + return null; + } + } + + /** + * Sets the spouseName + * + * @param string $val The spouseName + * + * @return Contact + */ + public function setSpouseName($val) + { + $this->_propDict["spouseName"] = $val; + return $this; + } + + /** + * Gets the surname + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * + * @param string $val The surname + * + * @return Contact + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return Contact + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the websites + * + * @return array|null The websites + */ + public function getWebsites() + { + if (array_key_exists("websites", $this->_propDict)) { + return $this->_propDict["websites"]; + } else { + return null; + } + } + + /** + * Sets the websites + * + * @param Website[] $val The websites + * + * @return Contact + */ + public function setWebsites($val) + { + $this->_propDict["websites"] = $val; + return $this; + } + + /** + * Gets the weddingAnniversary + * + * @return \DateTime|null The weddingAnniversary + */ + public function getWeddingAnniversary() + { + if (array_key_exists("weddingAnniversary", $this->_propDict)) { + if (is_a($this->_propDict["weddingAnniversary"], "\DateTime") || is_null($this->_propDict["weddingAnniversary"])) { + return $this->_propDict["weddingAnniversary"]; + } else { + $this->_propDict["weddingAnniversary"] = new \DateTime($this->_propDict["weddingAnniversary"]); + return $this->_propDict["weddingAnniversary"]; + } + } + return null; + } + + /** + * Sets the weddingAnniversary + * + * @param \DateTime $val The weddingAnniversary + * + * @return Contact + */ + public function setWeddingAnniversary($val) + { + $this->_propDict["weddingAnniversary"] = $val; + return $this; + } + + /** + * Gets the yomiCompanyName + * + * @return string|null The yomiCompanyName + */ + public function getYomiCompanyName() + { + if (array_key_exists("yomiCompanyName", $this->_propDict)) { + return $this->_propDict["yomiCompanyName"]; + } else { + return null; + } + } + + /** + * Sets the yomiCompanyName + * + * @param string $val The yomiCompanyName + * + * @return Contact + */ + public function setYomiCompanyName($val) + { + $this->_propDict["yomiCompanyName"] = $val; + return $this; + } + + /** + * Gets the yomiGivenName + * + * @return string|null The yomiGivenName + */ + public function getYomiGivenName() + { + if (array_key_exists("yomiGivenName", $this->_propDict)) { + return $this->_propDict["yomiGivenName"]; + } else { + return null; + } + } + + /** + * Sets the yomiGivenName + * + * @param string $val The yomiGivenName + * + * @return Contact + */ + public function setYomiGivenName($val) + { + $this->_propDict["yomiGivenName"] = $val; + return $this; + } + + /** + * Gets the yomiSurname + * + * @return string|null The yomiSurname + */ + public function getYomiSurname() + { + if (array_key_exists("yomiSurname", $this->_propDict)) { + return $this->_propDict["yomiSurname"]; + } else { + return null; + } + } + + /** + * Sets the yomiSurname + * + * @param string $val The yomiSurname + * + * @return Contact + */ + public function setYomiSurname($val) + { + $this->_propDict["yomiSurname"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the contact. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the contact. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Contact + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contact. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contact. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Contact + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + /** + * Gets the photo + * Optional contact picture. You can get or set a photo for a contact. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * Optional contact picture. You can get or set a photo for a contact. + * + * @param ProfilePhoto $val The photo + * + * @return Contact + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contact. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contact. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Contact + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactFolder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactFolder.php new file mode 100644 index 0000000..bb743db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactFolder.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The folder's display name. + * + * @param string $val The displayName + * + * @return ContactFolder + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the parentFolderId + * The ID of the folder's parent folder. + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * The ID of the folder's parent folder. + * + * @param string $val The parentFolderId + * + * @return ContactFolder + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the wellKnownName + * The name of the folder if the folder is a recognized folder. Currently contacts is the only recognized contacts folder. + * + * @return string|null The wellKnownName + */ + public function getWellKnownName() + { + if (array_key_exists("wellKnownName", $this->_propDict)) { + return $this->_propDict["wellKnownName"]; + } else { + return null; + } + } + + /** + * Sets the wellKnownName + * The name of the folder if the folder is a recognized folder. Currently contacts is the only recognized contacts folder. + * + * @param string $val The wellKnownName + * + * @return ContactFolder + */ + public function setWellKnownName($val) + { + $this->_propDict["wellKnownName"] = $val; + return $this; + } + + + /** + * Gets the childFolders + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * + * @return array|null The childFolders + */ + public function getChildFolders() + { + if (array_key_exists("childFolders", $this->_propDict)) { + return $this->_propDict["childFolders"]; + } else { + return null; + } + } + + /** + * Sets the childFolders + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * + * @param ContactFolder[] $val The childFolders + * + * @return ContactFolder + */ + public function setChildFolders($val) + { + $this->_propDict["childFolders"] = $val; + return $this; + } + + + /** + * Gets the contacts + * The contacts in the folder. Navigation property. Read-only. Nullable. + * + * @return array|null The contacts + */ + public function getContacts() + { + if (array_key_exists("contacts", $this->_propDict)) { + return $this->_propDict["contacts"]; + } else { + return null; + } + } + + /** + * Sets the contacts + * The contacts in the folder. Navigation property. Read-only. Nullable. + * + * @param Contact[] $val The contacts + * + * @return ContactFolder + */ + public function setContacts($val) + { + $this->_propDict["contacts"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return ContactFolder + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return ContactFolder + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactMergeSuggestions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactMergeSuggestions.php new file mode 100644 index 0000000..5ad7b62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactMergeSuggestions.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * true if the duplicate contact merge suggestions feature is enabled for the user; false if the feature is disabled. Default value is true. + * + * @param bool $val The isEnabled + * + * @return ContactMergeSuggestions + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactRelationship.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactRelationship.php new file mode 100644 index 0000000..da2fd17 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactRelationship.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * + * @param int $val The value of the confidence + * + * @return ContentClassification + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + + /** + * Gets the matches + * + * @return MatchLocation|null The matches + */ + public function getMatches() + { + if (array_key_exists("matches", $this->_propDict)) { + if (is_a($this->_propDict["matches"], "\Beta\Microsoft\Graph\Model\MatchLocation") || is_null($this->_propDict["matches"])) { + return $this->_propDict["matches"]; + } else { + $this->_propDict["matches"] = new MatchLocation($this->_propDict["matches"]); + return $this->_propDict["matches"]; + } + } + return null; + } + + /** + * Sets the matches + * + * @param MatchLocation $val The value to assign to the matches + * + * @return ContentClassification The ContentClassification + */ + public function setMatches($val) + { + $this->_propDict["matches"] = $val; + return $this; + } + /** + * Gets the sensitiveTypeId + * + * @return string|null The sensitiveTypeId + */ + public function getSensitiveTypeId() + { + if (array_key_exists("sensitiveTypeId", $this->_propDict)) { + return $this->_propDict["sensitiveTypeId"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeId + * + * @param string $val The value of the sensitiveTypeId + * + * @return ContentClassification + */ + public function setSensitiveTypeId($val) + { + $this->_propDict["sensitiveTypeId"] = $val; + return $this; + } + /** + * Gets the uniqueCount + * + * @return int|null The uniqueCount + */ + public function getUniqueCount() + { + if (array_key_exists("uniqueCount", $this->_propDict)) { + return $this->_propDict["uniqueCount"]; + } else { + return null; + } + } + + /** + * Sets the uniqueCount + * + * @param int $val The value of the uniqueCount + * + * @return ContentClassification + */ + public function setUniqueCount($val) + { + $this->_propDict["uniqueCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentFormat.php new file mode 100644 index 0000000..857d590 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentFormat.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\ContentFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new ContentFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Possible values are: default, email. + * + * @param ContentFormat $val The value to assign to the format + * + * @return ContentInfo The ContentInfo + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + /** + * Gets the identifier + * Identifier used for Azure Information Protection Analytics. + * + * @return string|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * Identifier used for Azure Information Protection Analytics. + * + * @param string $val The value of the identifier + * + * @return ContentInfo + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the metadata + * Existing Microsoft Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName. + * + * @return KeyValuePair|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new KeyValuePair($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * Existing Microsoft Information Protection metadata is passed as key/value pairs, where the key is the MSIP_Label_GUID_PropName. + * + * @param KeyValuePair $val The value to assign to the metadata + * + * @return ContentInfo The ContentInfo + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the state + * Possible values are: rest, motion, use. + * + * @return ContentState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ContentState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ContentState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Possible values are: rest, motion, use. + * + * @param ContentState $val The value to assign to the state + * + * @return ContentInfo The ContentInfo + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentMetadata.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentMetadata.php new file mode 100644 index 0000000..ebc11a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentMetadata.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * + * @param string $val The value of the extensions + * + * @return ContentProperties + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The value of the lastModifiedBy + * + * @return ContentProperties + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return ContentProperties The ContentProperties + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return ContentMetadata|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\ContentMetadata") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new ContentMetadata($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param ContentMetadata $val The value to assign to the metadata + * + * @return ContentProperties The ContentProperties + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentSharingSession.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentSharingSession.php new file mode 100644 index 0000000..0fdbf3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentSharingSession.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["associatedHubsUrls"]; + } else { + return null; + } + } + + /** + * Sets the associatedHubsUrls + * List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. + * + * @param string $val The associatedHubsUrls + * + * @return ContentType + */ + public function setAssociatedHubsUrls($val) + { + $this->_propDict["associatedHubsUrls"] = $val; + return $this; + } + + /** + * Gets the description + * The descriptive text for the item. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The descriptive text for the item. + * + * @param string $val The description + * + * @return ContentType + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the documentSet + * Document Set metadata. + * + * @return DocumentSet|null The documentSet + */ + public function getDocumentSet() + { + if (array_key_exists("documentSet", $this->_propDict)) { + if (is_a($this->_propDict["documentSet"], "\Beta\Microsoft\Graph\Model\DocumentSet") || is_null($this->_propDict["documentSet"])) { + return $this->_propDict["documentSet"]; + } else { + $this->_propDict["documentSet"] = new DocumentSet($this->_propDict["documentSet"]); + return $this->_propDict["documentSet"]; + } + } + return null; + } + + /** + * Sets the documentSet + * Document Set metadata. + * + * @param DocumentSet $val The documentSet + * + * @return ContentType + */ + public function setDocumentSet($val) + { + $this->_propDict["documentSet"] = $val; + return $this; + } + + /** + * Gets the documentTemplate + * Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type. + * + * @return DocumentSetContent|null The documentTemplate + */ + public function getDocumentTemplate() + { + if (array_key_exists("documentTemplate", $this->_propDict)) { + if (is_a($this->_propDict["documentTemplate"], "\Beta\Microsoft\Graph\Model\DocumentSetContent") || is_null($this->_propDict["documentTemplate"])) { + return $this->_propDict["documentTemplate"]; + } else { + $this->_propDict["documentTemplate"] = new DocumentSetContent($this->_propDict["documentTemplate"]); + return $this->_propDict["documentTemplate"]; + } + } + return null; + } + + /** + * Sets the documentTemplate + * Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type. + * + * @param DocumentSetContent $val The documentTemplate + * + * @return ContentType + */ + public function setDocumentTemplate($val) + { + $this->_propDict["documentTemplate"] = $val; + return $this; + } + + /** + * Gets the group + * The name of the group this content type belongs to. Helps organize related content types. + * + * @return string|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + return $this->_propDict["group"]; + } else { + return null; + } + } + + /** + * Sets the group + * The name of the group this content type belongs to. Helps organize related content types. + * + * @param string $val The group + * + * @return ContentType + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the hidden + * Indicates whether the content type is hidden in the list's 'New' menu. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Indicates whether the content type is hidden in the list's 'New' menu. + * + * @param bool $val The hidden + * + * @return ContentType + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = boolval($val); + return $this; + } + + /** + * Gets the inheritedFrom + * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined. + * + * @return ItemReference|null The inheritedFrom + */ + public function getInheritedFrom() + { + if (array_key_exists("inheritedFrom", $this->_propDict)) { + if (is_a($this->_propDict["inheritedFrom"], "\Beta\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["inheritedFrom"])) { + return $this->_propDict["inheritedFrom"]; + } else { + $this->_propDict["inheritedFrom"] = new ItemReference($this->_propDict["inheritedFrom"]); + return $this->_propDict["inheritedFrom"]; + } + } + return null; + } + + /** + * Sets the inheritedFrom + * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined. + * + * @param ItemReference $val The inheritedFrom + * + * @return ContentType + */ + public function setInheritedFrom($val) + { + $this->_propDict["inheritedFrom"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Specifies if a content type is a built-in content type. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Specifies if a content type is a built-in content type. + * + * @param bool $val The isBuiltIn + * + * @return ContentType + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The name of the content type. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the content type. + * + * @param string $val The name + * + * @return ContentType + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the order + * Specifies the order in which the content type appears in the selection UI. + * + * @return ContentTypeOrder|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + if (is_a($this->_propDict["order"], "\Beta\Microsoft\Graph\Model\ContentTypeOrder") || is_null($this->_propDict["order"])) { + return $this->_propDict["order"]; + } else { + $this->_propDict["order"] = new ContentTypeOrder($this->_propDict["order"]); + return $this->_propDict["order"]; + } + } + return null; + } + + /** + * Sets the order + * Specifies the order in which the content type appears in the selection UI. + * + * @param ContentTypeOrder $val The order + * + * @return ContentType + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } + + /** + * Gets the parentId + * The unique identifier of the content type. + * + * @return string|null The parentId + */ + public function getParentId() + { + if (array_key_exists("parentId", $this->_propDict)) { + return $this->_propDict["parentId"]; + } else { + return null; + } + } + + /** + * Sets the parentId + * The unique identifier of the content type. + * + * @param string $val The parentId + * + * @return ContentType + */ + public function setParentId($val) + { + $this->_propDict["parentId"] = $val; + return $this; + } + + /** + * Gets the propagateChanges + * If true, any changes made to the content type will be pushed to inherited content types and lists that implement the content type. + * + * @return bool|null The propagateChanges + */ + public function getPropagateChanges() + { + if (array_key_exists("propagateChanges", $this->_propDict)) { + return $this->_propDict["propagateChanges"]; + } else { + return null; + } + } + + /** + * Sets the propagateChanges + * If true, any changes made to the content type will be pushed to inherited content types and lists that implement the content type. + * + * @param bool $val The propagateChanges + * + * @return ContentType + */ + public function setPropagateChanges($val) + { + $this->_propDict["propagateChanges"] = boolval($val); + return $this; + } + + /** + * Gets the readOnly + * If true, the content type cannot be modified unless this value is first set to false. + * + * @return bool|null The readOnly + */ + public function getReadOnly() + { + if (array_key_exists("readOnly", $this->_propDict)) { + return $this->_propDict["readOnly"]; + } else { + return null; + } + } + + /** + * Sets the readOnly + * If true, the content type cannot be modified unless this value is first set to false. + * + * @param bool $val The readOnly + * + * @return ContentType + */ + public function setReadOnly($val) + { + $this->_propDict["readOnly"] = boolval($val); + return $this; + } + + /** + * Gets the sealed + * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. + * + * @return bool|null The sealed + */ + public function getSealed() + { + if (array_key_exists("sealed", $this->_propDict)) { + return $this->_propDict["sealed"]; + } else { + return null; + } + } + + /** + * Sets the sealed + * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. + * + * @param bool $val The sealed + * + * @return ContentType + */ + public function setSealed($val) + { + $this->_propDict["sealed"] = boolval($val); + return $this; + } + + /** + * Gets the base + * Parent contentType from which this content type is derived. + * + * @return ContentType|null The base + */ + public function getBase() + { + if (array_key_exists("base", $this->_propDict)) { + if (is_a($this->_propDict["base"], "\Beta\Microsoft\Graph\Model\ContentType") || is_null($this->_propDict["base"])) { + return $this->_propDict["base"]; + } else { + $this->_propDict["base"] = new ContentType($this->_propDict["base"]); + return $this->_propDict["base"]; + } + } + return null; + } + + /** + * Sets the base + * Parent contentType from which this content type is derived. + * + * @param ContentType $val The base + * + * @return ContentType + */ + public function setBase($val) + { + $this->_propDict["base"] = $val; + return $this; + } + + + /** + * Gets the baseTypes + * The collection of content types that are ancestors of this content type. + * + * @return array|null The baseTypes + */ + public function getBaseTypes() + { + if (array_key_exists("baseTypes", $this->_propDict)) { + return $this->_propDict["baseTypes"]; + } else { + return null; + } + } + + /** + * Sets the baseTypes + * The collection of content types that are ancestors of this content type. + * + * @param ContentType[] $val The baseTypes + * + * @return ContentType + */ + public function setBaseTypes($val) + { + $this->_propDict["baseTypes"] = $val; + return $this; + } + + + /** + * Gets the columnLinks + * The collection of columns that are required by this content type + * + * @return array|null The columnLinks + */ + public function getColumnLinks() + { + if (array_key_exists("columnLinks", $this->_propDict)) { + return $this->_propDict["columnLinks"]; + } else { + return null; + } + } + + /** + * Sets the columnLinks + * The collection of columns that are required by this content type + * + * @param ColumnLink[] $val The columnLinks + * + * @return ContentType + */ + public function setColumnLinks($val) + { + $this->_propDict["columnLinks"] = $val; + return $this; + } + + + /** + * Gets the columnPositions + * Column order information in a content type. + * + * @return array|null The columnPositions + */ + public function getColumnPositions() + { + if (array_key_exists("columnPositions", $this->_propDict)) { + return $this->_propDict["columnPositions"]; + } else { + return null; + } + } + + /** + * Sets the columnPositions + * Column order information in a content type. + * + * @param ColumnDefinition[] $val The columnPositions + * + * @return ContentType + */ + public function setColumnPositions($val) + { + $this->_propDict["columnPositions"] = $val; + return $this; + } + + + /** + * Gets the columns + * The collection of column definitions for this contentType. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * The collection of column definitions for this contentType. + * + * @param ColumnDefinition[] $val The columns + * + * @return ContentType + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeInfo.php new file mode 100644 index 0000000..27ef687 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The id of the content type. + * + * @param string $val The value of the id + * + * @return ContentTypeInfo + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * The name of the content type. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the content type. + * + * @param string $val The value of the name + * + * @return ContentTypeInfo + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeOrder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeOrder.php new file mode 100644 index 0000000..5db6e74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeOrder.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["default"]; + } else { + return null; + } + } + + /** + * Sets the default + * Whether this is the default Content Type + * + * @param bool $val The value of the default + * + * @return ContentTypeOrder + */ + public function setDefault($val) + { + $this->_propDict["default"] = $val; + return $this; + } + /** + * Gets the position + * Specifies the position in which the Content Type appears in the selection UI. + * + * @return int|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * Specifies the position in which the Content Type appears in the selection UI. + * + * @param int $val The value of the position + * + * @return ContentTypeOrder + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php new file mode 100644 index 0000000..1216005 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationMode.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Continuous access evaluation automatically blocks access to resources and applications in near real time when a user's access is removed or a client IP address changes. Read-only. + * + * @param string $val The description + * + * @return ContinuousAccessEvaluationPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The value is always Continuous Access Evaluation. Read-only. + * + * @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 + * The value is always Continuous Access Evaluation. Read-only. + * + * @param string $val The displayName + * + * @return ContinuousAccessEvaluationPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the groups + * The collection of group identifiers in scope for evaluation. All groups are in scope when the collection is empty. Read-only. + * + * @return string|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * The collection of group identifiers in scope for evaluation. All groups are in scope when the collection is empty. Read-only. + * + * @param string $val The groups + * + * @return ContinuousAccessEvaluationPolicy + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * true to indicate whether continuous access evaluation should be performed; otherwise false. Read-only. + * + * @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 + * true to indicate whether continuous access evaluation should be performed; otherwise false. Read-only. + * + * @param bool $val The isEnabled + * + * @return ContinuousAccessEvaluationPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the migrate + * true to indicate that the continuous access evaluation policy settings should be or has been migrated to the conditional access policy. + * + * @return bool|null The migrate + */ + public function getMigrate() + { + if (array_key_exists("migrate", $this->_propDict)) { + return $this->_propDict["migrate"]; + } else { + return null; + } + } + + /** + * Sets the migrate + * true to indicate that the continuous access evaluation policy settings should be or has been migrated to the conditional access policy. + * + * @param bool $val The migrate + * + * @return ContinuousAccessEvaluationPolicy + */ + public function setMigrate($val) + { + $this->_propDict["migrate"] = boolval($val); + return $this; + } + + /** + * Gets the users + * The collection of user identifiers in scope for evaluation. All users are in scope when the collection is empty. Read-only. + * + * @return string|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + return $this->_propDict["users"]; + } else { + return null; + } + } + + /** + * Sets the users + * The collection of user identifiers in scope for evaluation. All users are in scope when the collection is empty. Read-only. + * + * @param string $val The users + * + * @return ContinuousAccessEvaluationPolicy + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationSessionControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationSessionControl.php new file mode 100644 index 0000000..712372a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationSessionControl.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["mode"], "\Beta\Microsoft\Graph\Model\ContinuousAccessEvaluationMode") || is_null($this->_propDict["mode"])) { + return $this->_propDict["mode"]; + } else { + $this->_propDict["mode"] = new ContinuousAccessEvaluationMode($this->_propDict["mode"]); + return $this->_propDict["mode"]; + } + } + return null; + } + + /** + * Sets the mode + * Specifies continuous access evaluation settings. The possible values are: strictEnforcement, disabled, unknownFutureValue. + * + * @param ContinuousAccessEvaluationMode $val The value to assign to the mode + * + * @return ContinuousAccessEvaluationSessionControl The ContinuousAccessEvaluationSessionControl + */ + public function setMode($val) + { + $this->_propDict["mode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Contract.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Contract.php new file mode 100644 index 0000000..13aa766 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Contract.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["contractType"]; + } else { + return null; + } + } + + /** + * Sets the contractType + * Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. + * + * @param string $val The contractType + * + * @return Contract + */ + public function setContractType($val) + { + $this->_propDict["contractType"] = $val; + return $this; + } + + /** + * Gets the customerId + * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. + * + * @param string $val The customerId + * + * @return Contract + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the defaultDomainName + * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + * + * @return string|null The defaultDomainName + */ + public function getDefaultDomainName() + { + if (array_key_exists("defaultDomainName", $this->_propDict)) { + return $this->_propDict["defaultDomainName"]; + } else { + return null; + } + } + + /** + * Sets the defaultDomainName + * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + * + * @param string $val The defaultDomainName + * + * @return Contract + */ + public function setDefaultDomainName($val) + { + $this->_propDict["defaultDomainName"] = $val; + return $this; + } + + /** + * Gets the displayName + * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. + * + * @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 + * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. + * + * @param string $val The displayName + * + * @return Contract + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ControlScore.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ControlScore.php new file mode 100644 index 0000000..a214744 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ControlScore.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["controlCategory"]; + } else { + return null; + } + } + + /** + * Sets the controlCategory + * Control action category (Identity, Data, Device, Apps, Infrastructure). + * + * @param string $val The value of the controlCategory + * + * @return ControlScore + */ + public function setControlCategory($val) + { + $this->_propDict["controlCategory"] = $val; + return $this; + } + /** + * Gets the controlName + * Control unique name. + * + * @return string|null The controlName + */ + public function getControlName() + { + if (array_key_exists("controlName", $this->_propDict)) { + return $this->_propDict["controlName"]; + } else { + return null; + } + } + + /** + * Sets the controlName + * Control unique name. + * + * @param string $val The value of the controlName + * + * @return ControlScore + */ + public function setControlName($val) + { + $this->_propDict["controlName"] = $val; + return $this; + } + /** + * Gets the description + * Description of the control. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the control. + * + * @param string $val The value of the description + * + * @return ControlScore + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the score + * Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). + * + * @return float|null The score + */ + public function getScore() + { + if (array_key_exists("score", $this->_propDict)) { + return $this->_propDict["score"]; + } else { + return null; + } + } + + /** + * Sets the score + * Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). + * + * @param float $val The value of the score + * + * @return ControlScore + */ + public function setScore($val) + { + $this->_propDict["score"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Conversation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Conversation.php new file mode 100644 index 0000000..45c19a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Conversation.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether any of the posts within this Conversation has at least one attachment. Supports $filter (eq, ne) and $search. + * + * @param bool $val The hasAttachments + * + * @return Conversation + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the lastDeliveredDateTime + * 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. Supports $filter (eq, ne, le, ge). + * + * @return \DateTime|null The lastDeliveredDateTime + */ + public function getLastDeliveredDateTime() + { + if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime") || is_null($this->_propDict["lastDeliveredDateTime"])) { + return $this->_propDict["lastDeliveredDateTime"]; + } else { + $this->_propDict["lastDeliveredDateTime"] = new \DateTime($this->_propDict["lastDeliveredDateTime"]); + return $this->_propDict["lastDeliveredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDeliveredDateTime + * 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. Supports $filter (eq, ne, le, ge). + * + * @param \DateTime $val The lastDeliveredDateTime + * + * @return Conversation + */ + public function setLastDeliveredDateTime($val) + { + $this->_propDict["lastDeliveredDateTime"] = $val; + return $this; + } + + /** + * Gets the preview + * A short summary from the body of the latest post in this conversation. + * + * @return string|null The preview + */ + public function getPreview() + { + if (array_key_exists("preview", $this->_propDict)) { + return $this->_propDict["preview"]; + } else { + return null; + } + } + + /** + * Sets the preview + * A short summary from the body of the latest post in this conversation. + * + * @param string $val The preview + * + * @return Conversation + */ + public function setPreview($val) + { + $this->_propDict["preview"] = $val; + return $this; + } + + /** + * Gets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + * + * @return string|null The topic + */ + public function getTopic() + { + if (array_key_exists("topic", $this->_propDict)) { + return $this->_propDict["topic"]; + } else { + return null; + } + } + + /** + * Sets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + * + * @param string $val The topic + * + * @return Conversation + */ + public function setTopic($val) + { + $this->_propDict["topic"] = $val; + return $this; + } + + /** + * Gets the uniqueSenders + * All the users that sent a message to this Conversation. + * + * @return string|null The uniqueSenders + */ + public function getUniqueSenders() + { + if (array_key_exists("uniqueSenders", $this->_propDict)) { + return $this->_propDict["uniqueSenders"]; + } else { + return null; + } + } + + /** + * Sets the uniqueSenders + * All the users that sent a message to this Conversation. + * + * @param string $val The uniqueSenders + * + * @return Conversation + */ + public function setUniqueSenders($val) + { + $this->_propDict["uniqueSenders"] = $val; + return $this; + } + + + /** + * Gets the threads + * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. + * + * @return array|null The threads + */ + public function getThreads() + { + if (array_key_exists("threads", $this->_propDict)) { + return $this->_propDict["threads"]; + } else { + return null; + } + } + + /** + * Sets the threads + * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. + * + * @param ConversationThread[] $val The threads + * + * @return Conversation + */ + public function setThreads($val) + { + $this->_propDict["threads"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationMember.php new file mode 100644 index 0000000..821edd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationMember.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the user. + * + * @param string $val The displayName + * + * @return ConversationMember + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the roles + * The roles for that user. + * + * @return string|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * The roles for that user. + * + * @param string $val The roles + * + * @return ConversationMember + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + /** + * Gets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat. + * + * @return \DateTime|null The visibleHistoryStartDateTime + */ + public function getVisibleHistoryStartDateTime() + { + if (array_key_exists("visibleHistoryStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["visibleHistoryStartDateTime"], "\DateTime") || is_null($this->_propDict["visibleHistoryStartDateTime"])) { + return $this->_propDict["visibleHistoryStartDateTime"]; + } else { + $this->_propDict["visibleHistoryStartDateTime"] = new \DateTime($this->_propDict["visibleHistoryStartDateTime"]); + return $this->_propDict["visibleHistoryStartDateTime"]; + } + } + return null; + } + + /** + * Sets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat. + * + * @param \DateTime $val The visibleHistoryStartDateTime + * + * @return ConversationMember + */ + public function setVisibleHistoryStartDateTime($val) + { + $this->_propDict["visibleHistoryStartDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationMemberRoleUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationMemberRoleUpdatedEventMessageDetail.php new file mode 100644 index 0000000..3f0d80d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationMemberRoleUpdatedEventMessageDetail.php @@ -0,0 +1,131 @@ +setODataType("#microsoft.graph.conversationMemberRoleUpdatedEventMessageDetail"); + } + + /** + * Gets the conversationMemberRoles + * Roles for the coversation member user. + * + * @return string|null The conversationMemberRoles + */ + public function getConversationMemberRoles() + { + if (array_key_exists("conversationMemberRoles", $this->_propDict)) { + return $this->_propDict["conversationMemberRoles"]; + } else { + return null; + } + } + + /** + * Sets the conversationMemberRoles + * Roles for the coversation member user. + * + * @param string $val The value of the conversationMemberRoles + * + * @return ConversationMemberRoleUpdatedEventMessageDetail + */ + public function setConversationMemberRoles($val) + { + $this->_propDict["conversationMemberRoles"] = $val; + return $this; + } + + /** + * Gets the conversationMemberUser + * Identity of the conversation member user. + * + * @return TeamworkUserIdentity|null The conversationMemberUser + */ + public function getConversationMemberUser() + { + if (array_key_exists("conversationMemberUser", $this->_propDict)) { + if (is_a($this->_propDict["conversationMemberUser"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["conversationMemberUser"])) { + return $this->_propDict["conversationMemberUser"]; + } else { + $this->_propDict["conversationMemberUser"] = new TeamworkUserIdentity($this->_propDict["conversationMemberUser"]); + return $this->_propDict["conversationMemberUser"]; + } + } + return null; + } + + /** + * Sets the conversationMemberUser + * Identity of the conversation member user. + * + * @param TeamworkUserIdentity $val The value to assign to the conversationMemberUser + * + * @return ConversationMemberRoleUpdatedEventMessageDetail The ConversationMemberRoleUpdatedEventMessageDetail + */ + public function setConversationMemberUser($val) + { + $this->_propDict["conversationMemberUser"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ConversationMemberRoleUpdatedEventMessageDetail The ConversationMemberRoleUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationThread.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationThread.php new file mode 100644 index 0000000..6c76620 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationThread.php @@ -0,0 +1,295 @@ +_propDict)) { + return $this->_propDict["ccRecipients"]; + } else { + return null; + } + } + + /** + * Sets the ccRecipients + * The Cc: recipients for the thread. Returned only on $select. + * + * @param Recipient[] $val The ccRecipients + * + * @return ConversationThread + */ + public function setCcRecipients($val) + { + $this->_propDict["ccRecipients"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether any of the posts within this thread has at least one attachment. Returned by default. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether any of the posts within this thread has at least one attachment. Returned by default. + * + * @param bool $val The hasAttachments + * + * @return ConversationThread + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the isLocked + * Indicates if the thread is locked. Returned by default. + * + * @return bool|null The isLocked + */ + public function getIsLocked() + { + if (array_key_exists("isLocked", $this->_propDict)) { + return $this->_propDict["isLocked"]; + } else { + return null; + } + } + + /** + * Sets the isLocked + * Indicates if the thread is locked. Returned by default. + * + * @param bool $val The isLocked + * + * @return ConversationThread + */ + public function setIsLocked($val) + { + $this->_propDict["isLocked"] = boolval($val); + return $this; + } + + /** + * Gets the lastDeliveredDateTime + * 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. Returned by default. + * + * @return \DateTime|null The lastDeliveredDateTime + */ + public function getLastDeliveredDateTime() + { + if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime") || is_null($this->_propDict["lastDeliveredDateTime"])) { + return $this->_propDict["lastDeliveredDateTime"]; + } else { + $this->_propDict["lastDeliveredDateTime"] = new \DateTime($this->_propDict["lastDeliveredDateTime"]); + return $this->_propDict["lastDeliveredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDeliveredDateTime + * 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. Returned by default. + * + * @param \DateTime $val The lastDeliveredDateTime + * + * @return ConversationThread + */ + public function setLastDeliveredDateTime($val) + { + $this->_propDict["lastDeliveredDateTime"] = $val; + return $this; + } + + /** + * Gets the preview + * A short summary from the body of the latest post in this conversation. Returned by default. + * + * @return string|null The preview + */ + public function getPreview() + { + if (array_key_exists("preview", $this->_propDict)) { + return $this->_propDict["preview"]; + } else { + return null; + } + } + + /** + * Sets the preview + * A short summary from the body of the latest post in this conversation. Returned by default. + * + * @param string $val The preview + * + * @return ConversationThread + */ + public function setPreview($val) + { + $this->_propDict["preview"] = $val; + return $this; + } + + /** + * Gets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default. + * + * @return string|null The topic + */ + public function getTopic() + { + if (array_key_exists("topic", $this->_propDict)) { + return $this->_propDict["topic"]; + } else { + return null; + } + } + + /** + * Sets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default. + * + * @param string $val The topic + * + * @return ConversationThread + */ + public function setTopic($val) + { + $this->_propDict["topic"] = $val; + return $this; + } + + + /** + * Gets the toRecipients + * The To: recipients for the thread. Returned only on $select. + * + * @return array|null The toRecipients + */ + public function getToRecipients() + { + if (array_key_exists("toRecipients", $this->_propDict)) { + return $this->_propDict["toRecipients"]; + } else { + return null; + } + } + + /** + * Sets the toRecipients + * The To: recipients for the thread. Returned only on $select. + * + * @param Recipient[] $val The toRecipients + * + * @return ConversationThread + */ + public function setToRecipients($val) + { + $this->_propDict["toRecipients"] = $val; + return $this; + } + + /** + * Gets the uniqueSenders + * All the users that sent a message to this thread. Returned by default. + * + * @return string|null The uniqueSenders + */ + public function getUniqueSenders() + { + if (array_key_exists("uniqueSenders", $this->_propDict)) { + return $this->_propDict["uniqueSenders"]; + } else { + return null; + } + } + + /** + * Sets the uniqueSenders + * All the users that sent a message to this thread. Returned by default. + * + * @param string $val The uniqueSenders + * + * @return ConversationThread + */ + public function setUniqueSenders($val) + { + $this->_propDict["uniqueSenders"] = $val; + return $this; + } + + + /** + * Gets the posts + * Read-only. Nullable. + * + * @return array|null The posts + */ + public function getPosts() + { + if (array_key_exists("posts", $this->_propDict)) { + return $this->_propDict["posts"]; + } else { + return null; + } + } + + /** + * Sets the posts + * Read-only. Nullable. + * + * @param Post[] $val The posts + * + * @return ConversationThread + */ + public function setPosts($val) + { + $this->_propDict["posts"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php new file mode 100644 index 0000000..5e1dc86 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["errorDetails"], "\Beta\Microsoft\Graph\Model\GenericError") || is_null($this->_propDict["errorDetails"])) { + return $this->_propDict["errorDetails"]; + } else { + $this->_propDict["errorDetails"] = new GenericError($this->_propDict["errorDetails"]); + return $this->_propDict["errorDetails"]; + } + } + return null; + } + + /** + * Sets the errorDetails + * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + * + * @param GenericError $val The value to assign to the errorDetails + * + * @return ConvertIdResult The ConvertIdResult + */ + public function setErrorDetails($val) + { + $this->_propDict["errorDetails"] = $val; + return $this; + } + /** + * Gets the sourceId + * The identifier that was converted. This value is the original, un-converted identifier. + * + * @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 + * The identifier that was converted. This value is the original, un-converted identifier. + * + * @param string $val The value of the sourceId + * + * @return ConvertIdResult + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + /** + * Gets the targetId + * The converted identifier. This value is not present if the conversion failed. + * + * @return string|null The targetId + */ + public function getTargetId() + { + if (array_key_exists("targetId", $this->_propDict)) { + return $this->_propDict["targetId"]; + } else { + return null; + } + } + + /** + * Sets the targetId + * The converted identifier. This value is not present if the conversion failed. + * + * @param string $val The value of the targetId + * + * @return ConvertIdResult + */ + public function setTargetId($val) + { + $this->_propDict["targetId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CopyNotebookModel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CopyNotebookModel.php new file mode 100644 index 0000000..828c274 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CopyNotebookModel.php @@ -0,0 +1,446 @@ +_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * + * @param string $val The value of the createdBy + * + * @return CopyNotebookModel + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdByIdentity + * + * @return IdentitySet|null The createdByIdentity + */ + public function getCreatedByIdentity() + { + if (array_key_exists("createdByIdentity", $this->_propDict)) { + if (is_a($this->_propDict["createdByIdentity"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdByIdentity"])) { + return $this->_propDict["createdByIdentity"]; + } else { + $this->_propDict["createdByIdentity"] = new IdentitySet($this->_propDict["createdByIdentity"]); + return $this->_propDict["createdByIdentity"]; + } + } + return null; + } + + /** + * Sets the createdByIdentity + * + * @param IdentitySet $val The value to assign to the createdByIdentity + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setCreatedByIdentity($val) + { + $this->_propDict["createdByIdentity"] = $val; + return $this; + } + + /** + * Gets the createdTime + * + * @return \DateTime|null The createdTime + */ + public function getCreatedTime() + { + if (array_key_exists("createdTime", $this->_propDict)) { + if (is_a($this->_propDict["createdTime"], "\DateTime") || is_null($this->_propDict["createdTime"])) { + return $this->_propDict["createdTime"]; + } else { + $this->_propDict["createdTime"] = new \DateTime($this->_propDict["createdTime"]); + return $this->_propDict["createdTime"]; + } + } + return null; + } + + /** + * Sets the createdTime + * + * @param \DateTime $val The value to assign to the createdTime + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setCreatedTime($val) + { + $this->_propDict["createdTime"] = $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 CopyNotebookModel + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isDefault + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * + * @param bool $val The value of the isDefault + * + * @return CopyNotebookModel + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the isShared + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * + * @param bool $val The value of the isShared + * + * @return CopyNotebookModel + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = $val; + return $this; + } + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The value of the lastModifiedBy + * + * @return CopyNotebookModel + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedByIdentity + * + * @return IdentitySet|null The lastModifiedByIdentity + */ + public function getLastModifiedByIdentity() + { + if (array_key_exists("lastModifiedByIdentity", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedByIdentity"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedByIdentity"])) { + return $this->_propDict["lastModifiedByIdentity"]; + } else { + $this->_propDict["lastModifiedByIdentity"] = new IdentitySet($this->_propDict["lastModifiedByIdentity"]); + return $this->_propDict["lastModifiedByIdentity"]; + } + } + return null; + } + + /** + * Sets the lastModifiedByIdentity + * + * @param IdentitySet $val The value to assign to the lastModifiedByIdentity + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setLastModifiedByIdentity($val) + { + $this->_propDict["lastModifiedByIdentity"] = $val; + return $this; + } + + /** + * Gets the lastModifiedTime + * + * @return \DateTime|null The lastModifiedTime + */ + public function getLastModifiedTime() + { + if (array_key_exists("lastModifiedTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedTime"], "\DateTime") || is_null($this->_propDict["lastModifiedTime"])) { + return $this->_propDict["lastModifiedTime"]; + } else { + $this->_propDict["lastModifiedTime"] = new \DateTime($this->_propDict["lastModifiedTime"]); + return $this->_propDict["lastModifiedTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedTime + * + * @param \DateTime $val The value to assign to the lastModifiedTime + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setLastModifiedTime($val) + { + $this->_propDict["lastModifiedTime"] = $val; + return $this; + } + + /** + * Gets the links + * + * @return NotebookLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\NotebookLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new NotebookLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * + * @param NotebookLinks $val The value to assign to the links + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return CopyNotebookModel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the sectionGroupsUrl + * + * @return string|null The sectionGroupsUrl + */ + public function getSectionGroupsUrl() + { + if (array_key_exists("sectionGroupsUrl", $this->_propDict)) { + return $this->_propDict["sectionGroupsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroupsUrl + * + * @param string $val The value of the sectionGroupsUrl + * + * @return CopyNotebookModel + */ + public function setSectionGroupsUrl($val) + { + $this->_propDict["sectionGroupsUrl"] = $val; + return $this; + } + /** + * Gets the sectionsUrl + * + * @return string|null The sectionsUrl + */ + public function getSectionsUrl() + { + if (array_key_exists("sectionsUrl", $this->_propDict)) { + return $this->_propDict["sectionsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionsUrl + * + * @param string $val The value of the sectionsUrl + * + * @return CopyNotebookModel + */ + public function setSectionsUrl($val) + { + $this->_propDict["sectionsUrl"] = $val; + return $this; + } + /** + * Gets the self + * + * @return string|null The self + */ + public function getSelf() + { + if (array_key_exists("self", $this->_propDict)) { + return $this->_propDict["self"]; + } else { + return null; + } + } + + /** + * Sets the self + * + * @param string $val The value of the self + * + * @return CopyNotebookModel + */ + public function setSelf($val) + { + $this->_propDict["self"] = $val; + return $this; + } + + /** + * Gets the userRole + * + * @return OnenoteUserRole|null The userRole + */ + public function getUserRole() + { + if (array_key_exists("userRole", $this->_propDict)) { + if (is_a($this->_propDict["userRole"], "\Beta\Microsoft\Graph\Model\OnenoteUserRole") || is_null($this->_propDict["userRole"])) { + return $this->_propDict["userRole"]; + } else { + $this->_propDict["userRole"] = new OnenoteUserRole($this->_propDict["userRole"]); + return $this->_propDict["userRole"]; + } + } + return null; + } + + /** + * Sets the userRole + * + * @param OnenoteUserRole $val The value to assign to the userRole + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setUserRole($val) + { + $this->_propDict["userRole"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CorsConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CorsConfiguration.php new file mode 100644 index 0000000..84e81e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CorsConfiguration.php @@ -0,0 +1,156 @@ +_propDict)) { + return $this->_propDict["allowedHeaders"]; + } else { + return null; + } + } + + /** + * Sets the allowedHeaders + * + * @param string $val The value of the allowedHeaders + * + * @return CorsConfiguration + */ + public function setAllowedHeaders($val) + { + $this->_propDict["allowedHeaders"] = $val; + return $this; + } + /** + * Gets the allowedMethods + * + * @return string|null The allowedMethods + */ + public function getAllowedMethods() + { + if (array_key_exists("allowedMethods", $this->_propDict)) { + return $this->_propDict["allowedMethods"]; + } else { + return null; + } + } + + /** + * Sets the allowedMethods + * + * @param string $val The value of the allowedMethods + * + * @return CorsConfiguration + */ + public function setAllowedMethods($val) + { + $this->_propDict["allowedMethods"] = $val; + return $this; + } + /** + * Gets the allowedOrigins + * + * @return string|null The allowedOrigins + */ + public function getAllowedOrigins() + { + if (array_key_exists("allowedOrigins", $this->_propDict)) { + return $this->_propDict["allowedOrigins"]; + } else { + return null; + } + } + + /** + * Sets the allowedOrigins + * + * @param string $val The value of the allowedOrigins + * + * @return CorsConfiguration + */ + public function setAllowedOrigins($val) + { + $this->_propDict["allowedOrigins"] = $val; + return $this; + } + /** + * Gets the maxAgeInSeconds + * + * @return int|null The maxAgeInSeconds + */ + public function getMaxAgeInSeconds() + { + if (array_key_exists("maxAgeInSeconds", $this->_propDict)) { + return $this->_propDict["maxAgeInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the maxAgeInSeconds + * + * @param int $val The value of the maxAgeInSeconds + * + * @return CorsConfiguration + */ + public function setMaxAgeInSeconds($val) + { + $this->_propDict["maxAgeInSeconds"] = $val; + return $this; + } + /** + * Gets the resource + * + * @return string|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * + * @param string $val The value of the resource + * + * @return CorsConfiguration + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryLookupMethodType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryLookupMethodType.php new file mode 100644 index 0000000..ffd7ae3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryLookupMethodType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["countriesAndRegions"]; + } else { + return null; + } + } + + /** + * Sets the countriesAndRegions + * List of countries and/or regions in two-letter format specified by ISO 3166-2. + * + * @param string $val The countriesAndRegions + * + * @return CountryNamedLocation + */ + public function setCountriesAndRegions($val) + { + $this->_propDict["countriesAndRegions"] = $val; + return $this; + } + + /** + * Gets the countryLookupMethod + * Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. + * + * @return CountryLookupMethodType|null The countryLookupMethod + */ + public function getCountryLookupMethod() + { + if (array_key_exists("countryLookupMethod", $this->_propDict)) { + if (is_a($this->_propDict["countryLookupMethod"], "\Beta\Microsoft\Graph\Model\CountryLookupMethodType") || is_null($this->_propDict["countryLookupMethod"])) { + return $this->_propDict["countryLookupMethod"]; + } else { + $this->_propDict["countryLookupMethod"] = new CountryLookupMethodType($this->_propDict["countryLookupMethod"]); + return $this->_propDict["countryLookupMethod"]; + } + } + return null; + } + + /** + * Sets the countryLookupMethod + * Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. + * + * @param CountryLookupMethodType $val The countryLookupMethod + * + * @return CountryNamedLocation + */ + public function setCountryLookupMethod($val) + { + $this->_propDict["countryLookupMethod"] = $val; + return $this; + } + + /** + * Gets the includeUnknownCountriesAndRegions + * true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. + * + * @return bool|null The includeUnknownCountriesAndRegions + */ + public function getIncludeUnknownCountriesAndRegions() + { + if (array_key_exists("includeUnknownCountriesAndRegions", $this->_propDict)) { + return $this->_propDict["includeUnknownCountriesAndRegions"]; + } else { + return null; + } + } + + /** + * Sets the includeUnknownCountriesAndRegions + * true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. + * + * @param bool $val The includeUnknownCountriesAndRegions + * + * @return CountryNamedLocation + */ + public function setIncludeUnknownCountriesAndRegions($val) + { + $this->_propDict["includeUnknownCountriesAndRegions"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryRegion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryRegion.php new file mode 100644 index 0000000..9826e76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryRegion.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["addressFormat"]; + } else { + return null; + } + } + + /** + * Sets the addressFormat + * + * @param string $val The addressFormat + * + * @return CountryRegion + */ + public function setAddressFormat($val) + { + $this->_propDict["addressFormat"] = $val; + return $this; + } + + /** + * Gets the code + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return CountryRegion + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return CountryRegion + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CountryRegion + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CreateAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CreateAction.php new file mode 100644 index 0000000..3f6c284 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CreateAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["fieldId"]; + } else { + return null; + } + } + + /** + * Sets the fieldId + * The name of the field for this credential. e.g, username or password or phoneNumber. This is defined by the application. Must match what is in the html field on singleSignOnSettings/password object. + * + * @param string $val The value of the fieldId + * + * @return Credential + */ + public function setFieldId($val) + { + $this->_propDict["fieldId"] = $val; + return $this; + } + /** + * Gets the type + * The type for this credential. Valid values: username, password, or other. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type for this credential. Valid values: username, password, or other. + * + * @param string $val The value of the type + * + * @return Credential + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The value for this credential. e.g, mysuperhiddenpassword. Note the value for passwords is write-only, the value can never be read back. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value for this credential. e.g, mysuperhiddenpassword. Note the value for passwords is write-only, the value can never be read back. + * + * @param string $val The value of the value + * + * @return Credential + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialSingleSignOnExtension.php new file mode 100644 index 0000000..12157c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialSingleSignOnExtension.php @@ -0,0 +1,182 @@ +setODataType("#microsoft.graph.credentialSingleSignOnExtension"); + } + + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return CredentialSingleSignOnExtension The CredentialSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @param string $val The value of the domains + * + * @return CredentialSingleSignOnExtension + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The extensionIdentifier + */ + public function getExtensionIdentifier() + { + if (array_key_exists("extensionIdentifier", $this->_propDict)) { + return $this->_propDict["extensionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the extensionIdentifier + * + * @return CredentialSingleSignOnExtension + */ + public function setExtensionIdentifier($val) + { + $this->_propDict["extensionIdentifier"] = $val; + return $this; + } + /** + * Gets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @param string $val The value of the realm + * + * @return CredentialSingleSignOnExtension + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the teamIdentifier + * + * @return CredentialSingleSignOnExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUsageSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUsageSummary.php new file mode 100644 index 0000000..9498edd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUsageSummary.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["authMethod"], "\Beta\Microsoft\Graph\Model\UsageAuthMethod") || is_null($this->_propDict["authMethod"])) { + return $this->_propDict["authMethod"]; + } else { + $this->_propDict["authMethod"] = new UsageAuthMethod($this->_propDict["authMethod"]); + return $this->_propDict["authMethod"]; + } + } + return null; + } + + /** + * Sets the authMethod + * Represents the authentication method that the user used. Possible values are:email, mobileSMS, mobileCall, officePhone, securityQuestion (only used for self-service password reset), appNotification, appCode, alternateMobileCall (supported only in registration), fido, appPassword, unknownFutureValue. + * + * @param UsageAuthMethod $val The authMethod + * + * @return CredentialUsageSummary + */ + public function setAuthMethod($val) + { + $this->_propDict["authMethod"] = $val; + return $this; + } + + /** + * Gets the failureActivityCount + * Provides the count of failed resets or registration data. + * + * @return int|null The failureActivityCount + */ + public function getFailureActivityCount() + { + if (array_key_exists("failureActivityCount", $this->_propDict)) { + return $this->_propDict["failureActivityCount"]; + } else { + return null; + } + } + + /** + * Sets the failureActivityCount + * Provides the count of failed resets or registration data. + * + * @param int $val The failureActivityCount + * + * @return CredentialUsageSummary + */ + public function setFailureActivityCount($val) + { + $this->_propDict["failureActivityCount"] = intval($val); + return $this; + } + + /** + * Gets the feature + * Defines the feature to report. Possible values are: registration, reset, unknownFutureValue. + * + * @return FeatureType|null The feature + */ + public function getFeature() + { + if (array_key_exists("feature", $this->_propDict)) { + if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\FeatureType") || is_null($this->_propDict["feature"])) { + return $this->_propDict["feature"]; + } else { + $this->_propDict["feature"] = new FeatureType($this->_propDict["feature"]); + return $this->_propDict["feature"]; + } + } + return null; + } + + /** + * Sets the feature + * Defines the feature to report. Possible values are: registration, reset, unknownFutureValue. + * + * @param FeatureType $val The feature + * + * @return CredentialUsageSummary + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + + /** + * Gets the successfulActivityCount + * Provides the count of successful registrations or resets. + * + * @return int|null The successfulActivityCount + */ + public function getSuccessfulActivityCount() + { + if (array_key_exists("successfulActivityCount", $this->_propDict)) { + return $this->_propDict["successfulActivityCount"]; + } else { + return null; + } + } + + /** + * Sets the successfulActivityCount + * Provides the count of successful registrations or resets. + * + * @param int $val The successfulActivityCount + * + * @return CredentialUsageSummary + */ + public function setSuccessfulActivityCount($val) + { + $this->_propDict["successfulActivityCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationCount.php new file mode 100644 index 0000000..8c8989a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationCount.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["totalUserCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUserCount + * Provides the total user count in the tenant. + * + * @param int $val The totalUserCount + * + * @return CredentialUserRegistrationCount + */ + public function setTotalUserCount($val) + { + $this->_propDict["totalUserCount"] = intval($val); + return $this; + } + + + /** + * Gets the userRegistrationCounts + * A collection of registration count and status information for users in your tenant. + * + * @return array|null The userRegistrationCounts + */ + public function getUserRegistrationCounts() + { + if (array_key_exists("userRegistrationCounts", $this->_propDict)) { + return $this->_propDict["userRegistrationCounts"]; + } else { + return null; + } + } + + /** + * Sets the userRegistrationCounts + * A collection of registration count and status information for users in your tenant. + * + * @param UserRegistrationCount[] $val The userRegistrationCounts + * + * @return CredentialUserRegistrationCount + */ + public function setUserRegistrationCounts($val) + { + $this->_propDict["userRegistrationCounts"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationDetails.php new file mode 100644 index 0000000..f89988e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationDetails.php @@ -0,0 +1,231 @@ +_propDict)) { + return $this->_propDict["authMethods"]; + } else { + return null; + } + } + + /** + * Sets the authMethods + * Represents the authentication method that the user has registered. Possible values are: email, mobilePhone, officePhone, securityQuestion (only used for self-service password reset), appNotification, appCode, alternateMobilePhone (supported only in registration), fido, appPassword, unknownFutureValue. + * + * @param RegistrationAuthMethod[] $val The authMethods + * + * @return CredentialUserRegistrationDetails + */ + public function setAuthMethods($val) + { + $this->_propDict["authMethods"] = $val; + return $this; + } + + /** + * Gets the isCapable + * Indicates whether the user is ready to perform self-service password reset or MFA. + * + * @return bool|null The isCapable + */ + public function getIsCapable() + { + if (array_key_exists("isCapable", $this->_propDict)) { + return $this->_propDict["isCapable"]; + } else { + return null; + } + } + + /** + * Sets the isCapable + * Indicates whether the user is ready to perform self-service password reset or MFA. + * + * @param bool $val The isCapable + * + * @return CredentialUserRegistrationDetails + */ + public function setIsCapable($val) + { + $this->_propDict["isCapable"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the user enabled to perform self-service password reset. + * + * @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 + * Indicates whether the user enabled to perform self-service password reset. + * + * @param bool $val The isEnabled + * + * @return CredentialUserRegistrationDetails + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isMfaRegistered + * Indicates whether the user is registered for MFA. + * + * @return bool|null The isMfaRegistered + */ + public function getIsMfaRegistered() + { + if (array_key_exists("isMfaRegistered", $this->_propDict)) { + return $this->_propDict["isMfaRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isMfaRegistered + * Indicates whether the user is registered for MFA. + * + * @param bool $val The isMfaRegistered + * + * @return CredentialUserRegistrationDetails + */ + public function setIsMfaRegistered($val) + { + $this->_propDict["isMfaRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the isRegistered + * Indicates whether the user has registered any authentication methods for self-service password reset. + * + * @return bool|null The isRegistered + */ + public function getIsRegistered() + { + if (array_key_exists("isRegistered", $this->_propDict)) { + return $this->_propDict["isRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isRegistered + * Indicates whether the user has registered any authentication methods for self-service password reset. + * + * @param bool $val The isRegistered + * + * @return CredentialUserRegistrationDetails + */ + public function setIsRegistered($val) + { + $this->_propDict["isRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the userDisplayName + * Provides the user name of the corresponding user. + * + * @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 + * Provides the user name of the corresponding user. + * + * @param string $val The userDisplayName + * + * @return CredentialUserRegistrationDetails + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * Provides the user principal name of the corresponding user. + * + * @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 + * Provides the user principal name of the corresponding user. + * + * @param string $val The userPrincipalName + * + * @return CredentialUserRegistrationDetails + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossCloudAzureActiveDirectoryTenant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossCloudAzureActiveDirectoryTenant.php new file mode 100644 index 0000000..3da3daa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossCloudAzureActiveDirectoryTenant.php @@ -0,0 +1,115 @@ +setODataType("#microsoft.graph.crossCloudAzureActiveDirectoryTenant"); + } + + /** + * Gets the cloudInstance + * + * @return string|null The cloudInstance + */ + public function getCloudInstance() + { + if (array_key_exists("cloudInstance", $this->_propDict)) { + return $this->_propDict["cloudInstance"]; + } else { + return null; + } + } + + /** + * Sets the cloudInstance + * + * @param string $val The value of the cloudInstance + * + * @return CrossCloudAzureActiveDirectoryTenant + */ + public function setCloudInstance($val) + { + $this->_propDict["cloudInstance"] = $val; + return $this; + } + /** + * 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 CrossCloudAzureActiveDirectoryTenant + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $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 value of the tenantId + * + * @return CrossCloudAzureActiveDirectoryTenant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php new file mode 100644 index 0000000..3f0f372 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["default"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyConfigurationDefault") || is_null($this->_propDict["default"])) { + return $this->_propDict["default"]; + } else { + $this->_propDict["default"] = new CrossTenantAccessPolicyConfigurationDefault($this->_propDict["default"]); + return $this->_propDict["default"]; + } + } + return null; + } + + /** + * Sets the default + * Defines the default configuration for how your organization interacts with external Azure Active Directory organizations. + * + * @param CrossTenantAccessPolicyConfigurationDefault $val The default + * + * @return CrossTenantAccessPolicy + */ + public function setDefault($val) + { + $this->_propDict["default"] = $val; + return $this; + } + + + /** + * Gets the partners + * Defines partner-specific configurations for external Azure Active Directory organizations. + * + * @return array|null The partners + */ + public function getPartners() + { + if (array_key_exists("partners", $this->_propDict)) { + return $this->_propDict["partners"]; + } else { + return null; + } + } + + /** + * Sets the partners + * Defines partner-specific configurations for external Azure Active Directory organizations. + * + * @param CrossTenantAccessPolicyConfigurationPartner[] $val The partners + * + * @return CrossTenantAccessPolicy + */ + public function setPartners($val) + { + $this->_propDict["partners"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyB2BSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyB2BSetting.php new file mode 100644 index 0000000..ef51bfd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyB2BSetting.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["applications"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetConfiguration") || is_null($this->_propDict["applications"])) { + return $this->_propDict["applications"]; + } else { + $this->_propDict["applications"] = new CrossTenantAccessPolicyTargetConfiguration($this->_propDict["applications"]); + return $this->_propDict["applications"]; + } + } + return null; + } + + /** + * Sets the applications + * The list of applications targeted with your cross-tenant access policy. + * + * @param CrossTenantAccessPolicyTargetConfiguration $val The value to assign to the applications + * + * @return CrossTenantAccessPolicyB2BSetting The CrossTenantAccessPolicyB2BSetting + */ + public function setApplications($val) + { + $this->_propDict["applications"] = $val; + return $this; + } + + /** + * Gets the usersAndGroups + * The list of users and groups targeted with your cross-tenant access policy. + * + * @return CrossTenantAccessPolicyTargetConfiguration|null The usersAndGroups + */ + public function getUsersAndGroups() + { + if (array_key_exists("usersAndGroups", $this->_propDict)) { + if (is_a($this->_propDict["usersAndGroups"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetConfiguration") || is_null($this->_propDict["usersAndGroups"])) { + return $this->_propDict["usersAndGroups"]; + } else { + $this->_propDict["usersAndGroups"] = new CrossTenantAccessPolicyTargetConfiguration($this->_propDict["usersAndGroups"]); + return $this->_propDict["usersAndGroups"]; + } + } + return null; + } + + /** + * Sets the usersAndGroups + * The list of users and groups targeted with your cross-tenant access policy. + * + * @param CrossTenantAccessPolicyTargetConfiguration $val The value to assign to the usersAndGroups + * + * @return CrossTenantAccessPolicyB2BSetting The CrossTenantAccessPolicyB2BSetting + */ + public function setUsersAndGroups($val) + { + $this->_propDict["usersAndGroups"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php new file mode 100644 index 0000000..6f74092 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationDefault.php @@ -0,0 +1,221 @@ +_propDict)) { + if (is_a($this->_propDict["b2bCollaborationInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationInbound"])) { + return $this->_propDict["b2bCollaborationInbound"]; + } else { + $this->_propDict["b2bCollaborationInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationInbound"]); + return $this->_propDict["b2bCollaborationInbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationInbound + * Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationInbound + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setB2bCollaborationInbound($val) + { + $this->_propDict["b2bCollaborationInbound"] = $val; + return $this; + } + + /** + * Gets the b2bCollaborationOutbound + * Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationOutbound + */ + public function getB2bCollaborationOutbound() + { + if (array_key_exists("b2bCollaborationOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationOutbound"])) { + return $this->_propDict["b2bCollaborationOutbound"]; + } else { + $this->_propDict["b2bCollaborationOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationOutbound"]); + return $this->_propDict["b2bCollaborationOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationOutbound + * Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationOutbound + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setB2bCollaborationOutbound($val) + { + $this->_propDict["b2bCollaborationOutbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectInbound + * Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B direct connect. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectInbound + */ + public function getB2bDirectConnectInbound() + { + if (array_key_exists("b2bDirectConnectInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectInbound"])) { + return $this->_propDict["b2bDirectConnectInbound"]; + } else { + $this->_propDict["b2bDirectConnectInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectInbound"]); + return $this->_propDict["b2bDirectConnectInbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectInbound + * Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B direct connect. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectInbound + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setB2bDirectConnectInbound($val) + { + $this->_propDict["b2bDirectConnectInbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectOutbound + * Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectOutbound + */ + public function getB2bDirectConnectOutbound() + { + if (array_key_exists("b2bDirectConnectOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectOutbound"])) { + return $this->_propDict["b2bDirectConnectOutbound"]; + } else { + $this->_propDict["b2bDirectConnectOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectOutbound"]); + return $this->_propDict["b2bDirectConnectOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectOutbound + * Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectOutbound + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setB2bDirectConnectOutbound($val) + { + $this->_propDict["b2bDirectConnectOutbound"] = $val; + return $this; + } + + /** + * Gets the inboundTrust + * Determines the default configuration for trusting other Conditional Access claims from external Azure AD organizations. + * + * @return CrossTenantAccessPolicyInboundTrust|null The inboundTrust + */ + public function getInboundTrust() + { + if (array_key_exists("inboundTrust", $this->_propDict)) { + if (is_a($this->_propDict["inboundTrust"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyInboundTrust") || is_null($this->_propDict["inboundTrust"])) { + return $this->_propDict["inboundTrust"]; + } else { + $this->_propDict["inboundTrust"] = new CrossTenantAccessPolicyInboundTrust($this->_propDict["inboundTrust"]); + return $this->_propDict["inboundTrust"]; + } + } + return null; + } + + /** + * Sets the inboundTrust + * Determines the default configuration for trusting other Conditional Access claims from external Azure AD organizations. + * + * @param CrossTenantAccessPolicyInboundTrust $val The inboundTrust + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setInboundTrust($val) + { + $this->_propDict["inboundTrust"] = $val; + return $this; + } + + /** + * Gets the isServiceDefault + * If true, the default configuration is set to the system default configuration. If false, the default settings have been customized. + * + * @return bool|null The isServiceDefault + */ + public function getIsServiceDefault() + { + if (array_key_exists("isServiceDefault", $this->_propDict)) { + return $this->_propDict["isServiceDefault"]; + } else { + return null; + } + } + + /** + * Sets the isServiceDefault + * If true, the default configuration is set to the system default configuration. If false, the default settings have been customized. + * + * @param bool $val The isServiceDefault + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setIsServiceDefault($val) + { + $this->_propDict["isServiceDefault"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php new file mode 100644 index 0000000..fee580e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php @@ -0,0 +1,327 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the CrossTenantAccessPolicyConfigurationPartner + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the b2bCollaborationInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationInbound + */ + public function getB2bCollaborationInbound() + { + if (array_key_exists("b2bCollaborationInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationInbound"])) { + return $this->_propDict["b2bCollaborationInbound"]; + } else { + $this->_propDict["b2bCollaborationInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationInbound"]); + return $this->_propDict["b2bCollaborationInbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationInbound + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setB2bCollaborationInbound($val) + { + $this->_propDict["b2bCollaborationInbound"] = $val; + return $this; + } + + /** + * Gets the b2bCollaborationOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bCollaborationOutbound + */ + public function getB2bCollaborationOutbound() + { + if (array_key_exists("b2bCollaborationOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bCollaborationOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bCollaborationOutbound"])) { + return $this->_propDict["b2bCollaborationOutbound"]; + } else { + $this->_propDict["b2bCollaborationOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bCollaborationOutbound"]); + return $this->_propDict["b2bCollaborationOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bCollaborationOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bCollaborationOutbound + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setB2bCollaborationOutbound($val) + { + $this->_propDict["b2bCollaborationOutbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectInbound + */ + public function getB2bDirectConnectInbound() + { + if (array_key_exists("b2bDirectConnectInbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectInbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectInbound"])) { + return $this->_propDict["b2bDirectConnectInbound"]; + } else { + $this->_propDict["b2bDirectConnectInbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectInbound"]); + return $this->_propDict["b2bDirectConnectInbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectInbound + * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectInbound + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setB2bDirectConnectInbound($val) + { + $this->_propDict["b2bDirectConnectInbound"] = $val; + return $this; + } + + /** + * Gets the b2bDirectConnectOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect. + * + * @return CrossTenantAccessPolicyB2BSetting|null The b2bDirectConnectOutbound + */ + public function getB2bDirectConnectOutbound() + { + if (array_key_exists("b2bDirectConnectOutbound", $this->_propDict)) { + if (is_a($this->_propDict["b2bDirectConnectOutbound"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyB2BSetting") || is_null($this->_propDict["b2bDirectConnectOutbound"])) { + return $this->_propDict["b2bDirectConnectOutbound"]; + } else { + $this->_propDict["b2bDirectConnectOutbound"] = new CrossTenantAccessPolicyB2BSetting($this->_propDict["b2bDirectConnectOutbound"]); + return $this->_propDict["b2bDirectConnectOutbound"]; + } + } + return null; + } + + /** + * Sets the b2bDirectConnectOutbound + * Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect. + * + * @param CrossTenantAccessPolicyB2BSetting $val The b2bDirectConnectOutbound + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setB2bDirectConnectOutbound($val) + { + $this->_propDict["b2bDirectConnectOutbound"] = $val; + return $this; + } + + /** + * Gets the inboundTrust + * Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations. + * + * @return CrossTenantAccessPolicyInboundTrust|null The inboundTrust + */ + public function getInboundTrust() + { + if (array_key_exists("inboundTrust", $this->_propDict)) { + if (is_a($this->_propDict["inboundTrust"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyInboundTrust") || is_null($this->_propDict["inboundTrust"])) { + return $this->_propDict["inboundTrust"]; + } else { + $this->_propDict["inboundTrust"] = new CrossTenantAccessPolicyInboundTrust($this->_propDict["inboundTrust"]); + return $this->_propDict["inboundTrust"]; + } + } + return null; + } + + /** + * Sets the inboundTrust + * Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations. + * + * @param CrossTenantAccessPolicyInboundTrust $val The inboundTrust + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setInboundTrust($val) + { + $this->_propDict["inboundTrust"] = $val; + return $this; + } + + /** + * Gets the isServiceProvider + * Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization. + * + * @return bool|null The isServiceProvider + */ + public function getIsServiceProvider() + { + if (array_key_exists("isServiceProvider", $this->_propDict)) { + return $this->_propDict["isServiceProvider"]; + } else { + return null; + } + } + + /** + * Sets the isServiceProvider + * Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization. + * + * @param bool $val The isServiceProvider + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setIsServiceProvider($val) + { + $this->_propDict["isServiceProvider"] = boolval($val); + return $this; + } + + /** + * Gets the tenantId + * The tenant identifier for the partner Azure AD organization. Read-only. Key. + * + * @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 + * The tenant identifier for the partner Azure AD organization. Read-only. Key. + * + * @param string $val The tenantId + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + 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 CrossTenantAccessPolicyConfigurationPartner + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyInboundTrust.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyInboundTrust.php new file mode 100644 index 0000000..254df40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyInboundTrust.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isCompliantDeviceAccepted"]; + } else { + return null; + } + } + + /** + * Sets the isCompliantDeviceAccepted + * Specifies whether compliant devices from external Azure AD organizations are trusted. + * + * @param bool $val The value of the isCompliantDeviceAccepted + * + * @return CrossTenantAccessPolicyInboundTrust + */ + public function setIsCompliantDeviceAccepted($val) + { + $this->_propDict["isCompliantDeviceAccepted"] = $val; + return $this; + } + /** + * Gets the isHybridAzureADJoinedDeviceAccepted + * Specifies whether hybrid Azure AD joined devices from external Azure AD organizations are trusted. + * + * @return bool|null The isHybridAzureADJoinedDeviceAccepted + */ + public function getIsHybridAzureADJoinedDeviceAccepted() + { + if (array_key_exists("isHybridAzureADJoinedDeviceAccepted", $this->_propDict)) { + return $this->_propDict["isHybridAzureADJoinedDeviceAccepted"]; + } else { + return null; + } + } + + /** + * Sets the isHybridAzureADJoinedDeviceAccepted + * Specifies whether hybrid Azure AD joined devices from external Azure AD organizations are trusted. + * + * @param bool $val The value of the isHybridAzureADJoinedDeviceAccepted + * + * @return CrossTenantAccessPolicyInboundTrust + */ + public function setIsHybridAzureADJoinedDeviceAccepted($val) + { + $this->_propDict["isHybridAzureADJoinedDeviceAccepted"] = $val; + return $this; + } + /** + * Gets the isMfaAccepted + * Specifies whether MFA from external Azure AD organizations is trusted. + * + * @return bool|null The isMfaAccepted + */ + public function getIsMfaAccepted() + { + if (array_key_exists("isMfaAccepted", $this->_propDict)) { + return $this->_propDict["isMfaAccepted"]; + } else { + return null; + } + } + + /** + * Sets the isMfaAccepted + * Specifies whether MFA from external Azure AD organizations is trusted. + * + * @param bool $val The value of the isMfaAccepted + * + * @return CrossTenantAccessPolicyInboundTrust + */ + public function setIsMfaAccepted($val) + { + $this->_propDict["isMfaAccepted"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php new file mode 100644 index 0000000..db5aabd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTarget.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values. + * + * @param string $val The value of the target + * + * @return CrossTenantAccessPolicyTarget + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + + /** + * Gets the targetType + * The type of resource that you want to target. The possible values are: user, group, application, unknownFutureValue. + * + * @return CrossTenantAccessPolicyTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new CrossTenantAccessPolicyTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * The type of resource that you want to target. The possible values are: user, group, application, unknownFutureValue. + * + * @param CrossTenantAccessPolicyTargetType $val The value to assign to the targetType + * + * @return CrossTenantAccessPolicyTarget The CrossTenantAccessPolicyTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTargetConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTargetConfiguration.php new file mode 100644 index 0000000..848f092 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTargetConfiguration.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetConfigurationAccessType") || is_null($this->_propDict["accessType"])) { + return $this->_propDict["accessType"]; + } else { + $this->_propDict["accessType"] = new CrossTenantAccessPolicyTargetConfigurationAccessType($this->_propDict["accessType"]); + return $this->_propDict["accessType"]; + } + } + return null; + } + + /** + * Sets the accessType + * Defines whether access is allowed or blocked. The possible values are: allowed, blocked, unknownFutureValue. + * + * @param CrossTenantAccessPolicyTargetConfigurationAccessType $val The value to assign to the accessType + * + * @return CrossTenantAccessPolicyTargetConfiguration The CrossTenantAccessPolicyTargetConfiguration + */ + public function setAccessType($val) + { + $this->_propDict["accessType"] = $val; + return $this; + } + + /** + * Gets the targets + * Specifies whether to target users, groups, or applications with this rule. + * + * @return CrossTenantAccessPolicyTarget|null The targets + */ + public function getTargets() + { + if (array_key_exists("targets", $this->_propDict)) { + if (is_a($this->_propDict["targets"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicyTarget") || is_null($this->_propDict["targets"])) { + return $this->_propDict["targets"]; + } else { + $this->_propDict["targets"] = new CrossTenantAccessPolicyTarget($this->_propDict["targets"]); + return $this->_propDict["targets"]; + } + } + return null; + } + + /** + * Sets the targets + * Specifies whether to target users, groups, or applications with this rule. + * + * @param CrossTenantAccessPolicyTarget $val The value to assign to the targets + * + * @return CrossTenantAccessPolicyTargetConfiguration The CrossTenantAccessPolicyTargetConfiguration + */ + public function setTargets($val) + { + $this->_propDict["targets"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTargetConfigurationAccessType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTargetConfigurationAccessType.php new file mode 100644 index 0000000..215292c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyTargetConfigurationAccessType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationTransformConstants"], "\Beta\Microsoft\Graph\Model\AuthenticationTransformConstant") || is_null($this->_propDict["authenticationTransformConstants"])) { + return $this->_propDict["authenticationTransformConstants"]; + } else { + $this->_propDict["authenticationTransformConstants"] = new AuthenticationTransformConstant($this->_propDict["authenticationTransformConstants"]); + return $this->_propDict["authenticationTransformConstants"]; + } + } + return null; + } + + /** + * Sets the authenticationTransformConstants + * Authentication Transform Constants. Possible values are: md5_96, sha1_96, sha_256_128, aes128Gcm, aes192Gcm, aes256Gcm. + * + * @param AuthenticationTransformConstant $val The value to assign to the authenticationTransformConstants + * + * @return CryptographySuite The CryptographySuite + */ + public function setAuthenticationTransformConstants($val) + { + $this->_propDict["authenticationTransformConstants"] = $val; + return $this; + } + + /** + * Gets the cipherTransformConstants + * Cipher Transform Constants. Possible values are: aes256, des, tripleDes, aes128, aes128Gcm, aes256Gcm, aes192, aes192Gcm, chaCha20Poly1305. + * + * @return VpnEncryptionAlgorithmType|null The cipherTransformConstants + */ + public function getCipherTransformConstants() + { + if (array_key_exists("cipherTransformConstants", $this->_propDict)) { + if (is_a($this->_propDict["cipherTransformConstants"], "\Beta\Microsoft\Graph\Model\VpnEncryptionAlgorithmType") || is_null($this->_propDict["cipherTransformConstants"])) { + return $this->_propDict["cipherTransformConstants"]; + } else { + $this->_propDict["cipherTransformConstants"] = new VpnEncryptionAlgorithmType($this->_propDict["cipherTransformConstants"]); + return $this->_propDict["cipherTransformConstants"]; + } + } + return null; + } + + /** + * Sets the cipherTransformConstants + * Cipher Transform Constants. Possible values are: aes256, des, tripleDes, aes128, aes128Gcm, aes256Gcm, aes192, aes192Gcm, chaCha20Poly1305. + * + * @param VpnEncryptionAlgorithmType $val The value to assign to the cipherTransformConstants + * + * @return CryptographySuite The CryptographySuite + */ + public function setCipherTransformConstants($val) + { + $this->_propDict["cipherTransformConstants"] = $val; + return $this; + } + + /** + * Gets the dhGroup + * Diffie Hellman Group. Possible values are: group1, group2, group14, ecp256, ecp384, group24. + * + * @return DiffieHellmanGroup|null The dhGroup + */ + public function getDhGroup() + { + if (array_key_exists("dhGroup", $this->_propDict)) { + if (is_a($this->_propDict["dhGroup"], "\Beta\Microsoft\Graph\Model\DiffieHellmanGroup") || is_null($this->_propDict["dhGroup"])) { + return $this->_propDict["dhGroup"]; + } else { + $this->_propDict["dhGroup"] = new DiffieHellmanGroup($this->_propDict["dhGroup"]); + return $this->_propDict["dhGroup"]; + } + } + return null; + } + + /** + * Sets the dhGroup + * Diffie Hellman Group. Possible values are: group1, group2, group14, ecp256, ecp384, group24. + * + * @param DiffieHellmanGroup $val The value to assign to the dhGroup + * + * @return CryptographySuite The CryptographySuite + */ + public function setDhGroup($val) + { + $this->_propDict["dhGroup"] = $val; + return $this; + } + + /** + * Gets the encryptionMethod + * Encryption Method. Possible values are: aes256, des, tripleDes, aes128, aes128Gcm, aes256Gcm, aes192, aes192Gcm, chaCha20Poly1305. + * + * @return VpnEncryptionAlgorithmType|null The encryptionMethod + */ + public function getEncryptionMethod() + { + if (array_key_exists("encryptionMethod", $this->_propDict)) { + if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\VpnEncryptionAlgorithmType") || is_null($this->_propDict["encryptionMethod"])) { + return $this->_propDict["encryptionMethod"]; + } else { + $this->_propDict["encryptionMethod"] = new VpnEncryptionAlgorithmType($this->_propDict["encryptionMethod"]); + return $this->_propDict["encryptionMethod"]; + } + } + return null; + } + + /** + * Sets the encryptionMethod + * Encryption Method. Possible values are: aes256, des, tripleDes, aes128, aes128Gcm, aes256Gcm, aes192, aes192Gcm, chaCha20Poly1305. + * + * @param VpnEncryptionAlgorithmType $val The value to assign to the encryptionMethod + * + * @return CryptographySuite The CryptographySuite + */ + public function setEncryptionMethod($val) + { + $this->_propDict["encryptionMethod"] = $val; + return $this; + } + + /** + * Gets the integrityCheckMethod + * Integrity Check Method. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * + * @return VpnIntegrityAlgorithmType|null The integrityCheckMethod + */ + public function getIntegrityCheckMethod() + { + if (array_key_exists("integrityCheckMethod", $this->_propDict)) { + if (is_a($this->_propDict["integrityCheckMethod"], "\Beta\Microsoft\Graph\Model\VpnIntegrityAlgorithmType") || is_null($this->_propDict["integrityCheckMethod"])) { + return $this->_propDict["integrityCheckMethod"]; + } else { + $this->_propDict["integrityCheckMethod"] = new VpnIntegrityAlgorithmType($this->_propDict["integrityCheckMethod"]); + return $this->_propDict["integrityCheckMethod"]; + } + } + return null; + } + + /** + * Sets the integrityCheckMethod + * Integrity Check Method. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * + * @param VpnIntegrityAlgorithmType $val The value to assign to the integrityCheckMethod + * + * @return CryptographySuite The CryptographySuite + */ + public function setIntegrityCheckMethod($val) + { + $this->_propDict["integrityCheckMethod"] = $val; + return $this; + } + + /** + * Gets the pfsGroup + * Perfect Forward Secrecy Group. Possible values are: pfs1, pfs2, pfs2048, ecp256, ecp384, pfsMM, pfs24. + * + * @return PerfectForwardSecrecyGroup|null The pfsGroup + */ + public function getPfsGroup() + { + if (array_key_exists("pfsGroup", $this->_propDict)) { + if (is_a($this->_propDict["pfsGroup"], "\Beta\Microsoft\Graph\Model\PerfectForwardSecrecyGroup") || is_null($this->_propDict["pfsGroup"])) { + return $this->_propDict["pfsGroup"]; + } else { + $this->_propDict["pfsGroup"] = new PerfectForwardSecrecyGroup($this->_propDict["pfsGroup"]); + return $this->_propDict["pfsGroup"]; + } + } + return null; + } + + /** + * Sets the pfsGroup + * Perfect Forward Secrecy Group. Possible values are: pfs1, pfs2, pfs2048, ecp256, ecp384, pfsMM, pfs24. + * + * @param PerfectForwardSecrecyGroup $val The value to assign to the pfsGroup + * + * @return CryptographySuite The CryptographySuite + */ + public function setPfsGroup($val) + { + $this->_propDict["pfsGroup"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Currency.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Currency.php new file mode 100644 index 0000000..1da6690 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Currency.php @@ -0,0 +1,197 @@ +_propDict)) { + return $this->_propDict["amountDecimalPlaces"]; + } else { + return null; + } + } + + /** + * Sets the amountDecimalPlaces + * + * @param string $val The amountDecimalPlaces + * + * @return Currency + */ + public function setAmountDecimalPlaces($val) + { + $this->_propDict["amountDecimalPlaces"] = $val; + return $this; + } + + /** + * Gets the amountRoundingPrecision + * + * @return Decimal|null The amountRoundingPrecision + */ + public function getAmountRoundingPrecision() + { + if (array_key_exists("amountRoundingPrecision", $this->_propDict)) { + if (is_a($this->_propDict["amountRoundingPrecision"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountRoundingPrecision"])) { + return $this->_propDict["amountRoundingPrecision"]; + } else { + $this->_propDict["amountRoundingPrecision"] = new Decimal($this->_propDict["amountRoundingPrecision"]); + return $this->_propDict["amountRoundingPrecision"]; + } + } + return null; + } + + /** + * Sets the amountRoundingPrecision + * + * @param Decimal $val The amountRoundingPrecision + * + * @return Currency + */ + public function setAmountRoundingPrecision($val) + { + $this->_propDict["amountRoundingPrecision"] = $val; + return $this; + } + + /** + * Gets the code + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return Currency + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Currency + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Currency + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the symbol + * + * @return string|null The symbol + */ + public function getSymbol() + { + if (array_key_exists("symbol", $this->_propDict)) { + return $this->_propDict["symbol"]; + } else { + return null; + } + } + + /** + * Sets the symbol + * + * @param string $val The symbol + * + * @return Currency + */ + public function setSymbol($val) + { + $this->_propDict["symbol"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrencyColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrencyColumn.php new file mode 100644 index 0000000..6119cd0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrencyColumn.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * Specifies the locale from which to infer the currency symbol. + * + * @param string $val The value of the locale + * + * @return CurrencyColumn + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrentLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrentLabel.php new file mode 100644 index 0000000..946ac61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrentLabel.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\ApplicationMode") || is_null($this->_propDict["applicationMode"])) { + return $this->_propDict["applicationMode"]; + } else { + $this->_propDict["applicationMode"] = new ApplicationMode($this->_propDict["applicationMode"]); + return $this->_propDict["applicationMode"]; + } + } + return null; + } + + /** + * Sets the applicationMode + * + * @param ApplicationMode $val The value to assign to the applicationMode + * + * @return CurrentLabel The CurrentLabel + */ + public function setApplicationMode($val) + { + $this->_propDict["applicationMode"] = $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 CurrentLabel + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAccessPackageWorkflowExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAccessPackageWorkflowExtension.php new file mode 100644 index 0000000..abc7700 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAccessPackageWorkflowExtension.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return CustomAccessPackageWorkflowExtension + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return CustomAccessPackageWorkflowExtension + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAction.php new file mode 100644 index 0000000..c5712aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAction.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the custom action. + * + * @param string $val The value of the name + * + * @return CustomAction + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the customActionProperties + * Properties, in key value pair format, of the action. + * + * @return KeyValuePair|null The customActionProperties + */ + public function getCustomActionProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new KeyValuePair($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the customActionProperties + * Properties, in key value pair format, of the action. + * + * @param KeyValuePair $val The value to assign to the properties + * + * @return CustomAction The CustomAction + */ + public function setCustomActionProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomCalloutExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomCalloutExtension.php new file mode 100644 index 0000000..a54ac19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomCalloutExtension.php @@ -0,0 +1,184 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionAuthenticationConfiguration") || is_null($this->_propDict["authenticationConfiguration"])) { + return $this->_propDict["authenticationConfiguration"]; + } else { + $this->_propDict["authenticationConfiguration"] = new CustomExtensionAuthenticationConfiguration($this->_propDict["authenticationConfiguration"]); + return $this->_propDict["authenticationConfiguration"]; + } + } + return null; + } + + /** + * Sets the authenticationConfiguration + * Configuration for securing the API call to the logic app. For example, using OAuth client credentials flow. + * + * @param CustomExtensionAuthenticationConfiguration $val The authenticationConfiguration + * + * @return CustomCalloutExtension + */ + public function setAuthenticationConfiguration($val) + { + $this->_propDict["authenticationConfiguration"] = $val; + return $this; + } + + /** + * Gets the clientConfiguration + * HTTP connection settings that define how long Azure AD can wait for a connection to a logic app, how many times you can retry a timed-out connection and the exception scenarios when retries are allowed. + * + * @return CustomExtensionClientConfiguration|null The clientConfiguration + */ + public function getClientConfiguration() + { + if (array_key_exists("clientConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["clientConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionClientConfiguration") || is_null($this->_propDict["clientConfiguration"])) { + return $this->_propDict["clientConfiguration"]; + } else { + $this->_propDict["clientConfiguration"] = new CustomExtensionClientConfiguration($this->_propDict["clientConfiguration"]); + return $this->_propDict["clientConfiguration"]; + } + } + return null; + } + + /** + * Sets the clientConfiguration + * HTTP connection settings that define how long Azure AD can wait for a connection to a logic app, how many times you can retry a timed-out connection and the exception scenarios when retries are allowed. + * + * @param CustomExtensionClientConfiguration $val The clientConfiguration + * + * @return CustomCalloutExtension + */ + public function setClientConfiguration($val) + { + $this->_propDict["clientConfiguration"] = $val; + return $this; + } + + /** + * Gets the description + * Description for the customCalloutExtension object. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the customCalloutExtension object. + * + * @param string $val The description + * + * @return CustomCalloutExtension + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the customCalloutExtension object. + * + * @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 + * Display name for the customCalloutExtension object. + * + * @param string $val The displayName + * + * @return CustomCalloutExtension + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endpointConfiguration + * The type and details for configuring the endpoint to call the logic app's workflow. + * + * @return CustomExtensionEndpointConfiguration|null The endpointConfiguration + */ + public function getEndpointConfiguration() + { + if (array_key_exists("endpointConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["endpointConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionEndpointConfiguration") || is_null($this->_propDict["endpointConfiguration"])) { + return $this->_propDict["endpointConfiguration"]; + } else { + $this->_propDict["endpointConfiguration"] = new CustomExtensionEndpointConfiguration($this->_propDict["endpointConfiguration"]); + return $this->_propDict["endpointConfiguration"]; + } + } + return null; + } + + /** + * Sets the endpointConfiguration + * The type and details for configuring the endpoint to call the logic app's workflow. + * + * @param CustomExtensionEndpointConfiguration $val The endpointConfiguration + * + * @return CustomCalloutExtension + */ + public function setEndpointConfiguration($val) + { + $this->_propDict["endpointConfiguration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionAuthenticationConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionAuthenticationConfiguration.php new file mode 100644 index 0000000..d11d396 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionAuthenticationConfiguration.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["timeoutInMilliseconds"]; + } else { + return null; + } + } + + /** + * Sets the timeoutInMilliseconds + * The max duration in milliseconds that Azure AD will wait for a response from the logic app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + * + * @param int $val The value of the timeoutInMilliseconds + * + * @return CustomExtensionClientConfiguration + */ + public function setTimeoutInMilliseconds($val) + { + $this->_propDict["timeoutInMilliseconds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionEndpointConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionEndpointConfiguration.php new file mode 100644 index 0000000..bf3db1c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionEndpointConfiguration.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * Indicates the stage of the access package assignment request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. + * + * @param AccessPackageCustomExtensionStage $val The stage + * + * @return CustomExtensionHandler + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the customExtension + * Indicates which custom workflow extension will be executed at this stage. Nullable. Supports $expand. + * + * @return CustomAccessPackageWorkflowExtension|null The customExtension + */ + public function getCustomExtension() + { + if (array_key_exists("customExtension", $this->_propDict)) { + if (is_a($this->_propDict["customExtension"], "\Beta\Microsoft\Graph\Model\CustomAccessPackageWorkflowExtension") || is_null($this->_propDict["customExtension"])) { + return $this->_propDict["customExtension"]; + } else { + $this->_propDict["customExtension"] = new CustomAccessPackageWorkflowExtension($this->_propDict["customExtension"]); + return $this->_propDict["customExtension"]; + } + } + return null; + } + + /** + * Sets the customExtension + * Indicates which custom workflow extension will be executed at this stage. Nullable. Supports $expand. + * + * @param CustomAccessPackageWorkflowExtension $val The customExtension + * + * @return CustomExtensionHandler + */ + public function setCustomExtension($val) + { + $this->_propDict["customExtension"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionHandlerInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionHandlerInstance.php new file mode 100644 index 0000000..c3dd107 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomExtensionHandlerInstance.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["customExtensionId"]; + } else { + return null; + } + } + + /** + * Sets the customExtensionId + * Identifier of the customAccessPackageWorkflowExtension triggered at this instance. + * + * @param string $val The value of the customExtensionId + * + * @return CustomExtensionHandlerInstance + */ + public function setCustomExtensionId($val) + { + $this->_propDict["customExtensionId"] = $val; + return $this; + } + /** + * Gets the externalCorrelationId + * The unique run ID for the logic app. + * + * @return string|null The externalCorrelationId + */ + public function getExternalCorrelationId() + { + if (array_key_exists("externalCorrelationId", $this->_propDict)) { + return $this->_propDict["externalCorrelationId"]; + } else { + return null; + } + } + + /** + * Sets the externalCorrelationId + * The unique run ID for the logic app. + * + * @param string $val The value of the externalCorrelationId + * + * @return CustomExtensionHandlerInstance + */ + public function setExternalCorrelationId($val) + { + $this->_propDict["externalCorrelationId"] = $val; + return $this; + } + + /** + * Gets the stage + * Indicates the stage of the request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. + * + * @return AccessPackageCustomExtensionStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * Indicates the stage of the request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. + * + * @param AccessPackageCustomExtensionStage $val The value to assign to the stage + * + * @return CustomExtensionHandlerInstance The CustomExtensionHandlerInstance + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the request to run the access package custom extension workflow that is associated with the logic app. The possible values are: requestSent, requestReceived, unknownFutureValue. + * + * @return AccessPackageCustomExtensionHandlerStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionHandlerStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AccessPackageCustomExtensionHandlerStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the request to run the access package custom extension workflow that is associated with the logic app. The possible values are: requestSent, requestReceived, unknownFutureValue. + * + * @param AccessPackageCustomExtensionHandlerStatus $val The value to assign to the status + * + * @return CustomExtensionHandlerInstance The CustomExtensionHandlerInstance + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomQuestionAnswer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomQuestionAnswer.php new file mode 100644 index 0000000..d8ff2d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomQuestionAnswer.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the custom registration question. Read-only. + * + * @param string $val The value of the displayName + * + * @return CustomQuestionAnswer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the questionId + * ID the custom registration question. Read-only. + * + * @return string|null The questionId + */ + public function getQuestionId() + { + if (array_key_exists("questionId", $this->_propDict)) { + return $this->_propDict["questionId"]; + } else { + return null; + } + } + + /** + * Sets the questionId + * ID the custom registration question. Read-only. + * + * @param string $val The value of the questionId + * + * @return CustomQuestionAnswer + */ + public function setQuestionId($val) + { + $this->_propDict["questionId"] = $val; + return $this; + } + /** + * Gets the value + * Answer to the custom registration question. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Answer to the custom registration question. + * + * @param string $val The value of the value + * + * @return CustomQuestionAnswer + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php new file mode 100644 index 0000000..9154c5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeDefinition.php @@ -0,0 +1,289 @@ +_propDict)) { + return $this->_propDict["attributeSet"]; + } else { + return null; + } + } + + /** + * Sets the attributeSet + * Name of the attribute set. Case insensitive. + * + * @param string $val The attributeSet + * + * @return CustomSecurityAttributeDefinition + */ + public function setAttributeSet($val) + { + $this->_propDict["attributeSet"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be changed later. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be changed later. + * + * @param string $val The description + * + * @return CustomSecurityAttributeDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the isCollection + * Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is set to Boolean, isCollection cannot be set to true. + * + * @return bool|null The isCollection + */ + public function getIsCollection() + { + if (array_key_exists("isCollection", $this->_propDict)) { + return $this->_propDict["isCollection"]; + } else { + return null; + } + } + + /** + * Sets the isCollection + * Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is set to Boolean, isCollection cannot be set to true. + * + * @param bool $val The isCollection + * + * @return CustomSecurityAttributeDefinition + */ + public function setIsCollection($val) + { + $this->_propDict["isCollection"] = boolval($val); + return $this; + } + + /** + * Gets the isSearchable + * Indicates whether custom security attribute values will be indexed for searching on objects that are assigned attribute values. Cannot be changed later. + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * Indicates whether custom security attribute values will be indexed for searching on objects that are assigned attribute values. Cannot be changed later. + * + * @param bool $val The isSearchable + * + * @return CustomSecurityAttributeDefinition + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive. + * + * @param string $val The name + * + * @return CustomSecurityAttributeDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the status + * Specifies whether the custom security attribute is active or deactivated. Acceptable values are Available and Deprecated. Can be changed later. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Specifies whether the custom security attribute is active or deactivated. Acceptable values are Available and Deprecated. Can be changed later. + * + * @param string $val The status + * + * @return CustomSecurityAttributeDefinition + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the type + * Data type for the custom security attribute values. Supported types are Boolean, Integer, and String. Cannot be changed later. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Data type for the custom security attribute values. Supported types are Boolean, Integer, and String. Cannot be changed later. + * + * @param string $val The type + * + * @return CustomSecurityAttributeDefinition + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the usePreDefinedValuesOnly + * Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set to Boolean, usePreDefinedValuesOnly cannot be set to true. + * + * @return bool|null The usePreDefinedValuesOnly + */ + public function getUsePreDefinedValuesOnly() + { + if (array_key_exists("usePreDefinedValuesOnly", $this->_propDict)) { + return $this->_propDict["usePreDefinedValuesOnly"]; + } else { + return null; + } + } + + /** + * Sets the usePreDefinedValuesOnly + * Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set to Boolean, usePreDefinedValuesOnly cannot be set to true. + * + * @param bool $val The usePreDefinedValuesOnly + * + * @return CustomSecurityAttributeDefinition + */ + public function setUsePreDefinedValuesOnly($val) + { + $this->_propDict["usePreDefinedValuesOnly"] = boolval($val); + return $this; + } + + + /** + * Gets the allowedValues + * Values that are predefined for this custom security attribute.This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. + * + * @return array|null The allowedValues + */ + public function getAllowedValues() + { + if (array_key_exists("allowedValues", $this->_propDict)) { + return $this->_propDict["allowedValues"]; + } else { + return null; + } + } + + /** + * Sets the allowedValues + * Values that are predefined for this custom security attribute.This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. + * + * @param AllowedValue[] $val The allowedValues + * + * @return CustomSecurityAttributeDefinition + */ + public function setAllowedValues($val) + { + $this->_propDict["allowedValues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php new file mode 100644 index 0000000..fe6afa8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSecurityAttributeValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Custom SAN Name + * + * @param string $val The value of the name + * + * @return CustomSubjectAlternativeName + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the sanType + * Custom SAN Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The sanType + */ + public function getSanType() + { + if (array_key_exists("sanType", $this->_propDict)) { + if (is_a($this->_propDict["sanType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["sanType"])) { + return $this->_propDict["sanType"]; + } else { + $this->_propDict["sanType"] = new SubjectAlternativeNameType($this->_propDict["sanType"]); + return $this->_propDict["sanType"]; + } + } + return null; + } + + /** + * Sets the sanType + * Custom SAN Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The value to assign to the sanType + * + * @return CustomSubjectAlternativeName The CustomSubjectAlternativeName + */ + public function setSanType($val) + { + $this->_propDict["sanType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomTimeZone.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomTimeZone.php new file mode 100644 index 0000000..1eeaea5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomTimeZone.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["bias"]; + } else { + return null; + } + } + + /** + * Sets the bias + * The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset. + * + * @param int $val The value of the bias + * + * @return CustomTimeZone + */ + public function setBias($val) + { + $this->_propDict["bias"] = $val; + return $this; + } + + /** + * Gets the daylightOffset + * Specifies when the time zone switches from standard time to daylight saving time. + * + * @return DaylightTimeZoneOffset|null The daylightOffset + */ + public function getDaylightOffset() + { + if (array_key_exists("daylightOffset", $this->_propDict)) { + if (is_a($this->_propDict["daylightOffset"], "\Beta\Microsoft\Graph\Model\DaylightTimeZoneOffset") || is_null($this->_propDict["daylightOffset"])) { + return $this->_propDict["daylightOffset"]; + } else { + $this->_propDict["daylightOffset"] = new DaylightTimeZoneOffset($this->_propDict["daylightOffset"]); + return $this->_propDict["daylightOffset"]; + } + } + return null; + } + + /** + * Sets the daylightOffset + * Specifies when the time zone switches from standard time to daylight saving time. + * + * @param DaylightTimeZoneOffset $val The value to assign to the daylightOffset + * + * @return CustomTimeZone The CustomTimeZone + */ + public function setDaylightOffset($val) + { + $this->_propDict["daylightOffset"] = $val; + return $this; + } + + /** + * Gets the standardOffset + * Specifies when the time zone switches from daylight saving time to standard time. + * + * @return StandardTimeZoneOffset|null The standardOffset + */ + public function getStandardOffset() + { + if (array_key_exists("standardOffset", $this->_propDict)) { + if (is_a($this->_propDict["standardOffset"], "\Beta\Microsoft\Graph\Model\StandardTimeZoneOffset") || is_null($this->_propDict["standardOffset"])) { + return $this->_propDict["standardOffset"]; + } else { + $this->_propDict["standardOffset"] = new StandardTimeZoneOffset($this->_propDict["standardOffset"]); + return $this->_propDict["standardOffset"]; + } + } + return null; + } + + /** + * Sets the standardOffset + * Specifies when the time zone switches from daylight saving time to standard time. + * + * @param StandardTimeZoneOffset $val The value to assign to the standardOffset + * + * @return CustomTimeZone The CustomTimeZone + */ + public function setStandardOffset($val) + { + $this->_propDict["standardOffset"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomUpdateTimeWindow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomUpdateTimeWindow.php new file mode 100644 index 0000000..dc38c9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomUpdateTimeWindow.php @@ -0,0 +1,158 @@ +_propDict)) { + if (is_a($this->_propDict["endDay"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["endDay"])) { + return $this->_propDict["endDay"]; + } else { + $this->_propDict["endDay"] = new DayOfWeek($this->_propDict["endDay"]); + return $this->_propDict["endDay"]; + } + } + return null; + } + + /** + * Sets the endDay + * End day of the time window. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @param DayOfWeek $val The value to assign to the endDay + * + * @return CustomUpdateTimeWindow The CustomUpdateTimeWindow + */ + public function setEndDay($val) + { + $this->_propDict["endDay"] = $val; + return $this; + } + + /** + * Gets the endTime + * End time of the time window + * + * @return TimeOfDay|null The endTime + */ + public function getEndTime() + { + if (array_key_exists("endTime", $this->_propDict)) { + if (is_a($this->_propDict["endTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { + return $this->_propDict["endTime"]; + } else { + $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); + return $this->_propDict["endTime"]; + } + } + return null; + } + + /** + * Sets the endTime + * End time of the time window + * + * @param TimeOfDay $val The value to assign to the endTime + * + * @return CustomUpdateTimeWindow The CustomUpdateTimeWindow + */ + public function setEndTime($val) + { + $this->_propDict["endTime"] = $val; + return $this; + } + + /** + * Gets the startDay + * Start day of the time window. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @return DayOfWeek|null The startDay + */ + public function getStartDay() + { + if (array_key_exists("startDay", $this->_propDict)) { + if (is_a($this->_propDict["startDay"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["startDay"])) { + return $this->_propDict["startDay"]; + } else { + $this->_propDict["startDay"] = new DayOfWeek($this->_propDict["startDay"]); + return $this->_propDict["startDay"]; + } + } + return null; + } + + /** + * Sets the startDay + * Start day of the time window. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @param DayOfWeek $val The value to assign to the startDay + * + * @return CustomUpdateTimeWindow The CustomUpdateTimeWindow + */ + public function setStartDay($val) + { + $this->_propDict["startDay"] = $val; + return $this; + } + + /** + * Gets the startTime + * Start time of the time window + * + * @return TimeOfDay|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * Start time of the time window + * + * @param TimeOfDay $val The value to assign to the startTime + * + * @return CustomUpdateTimeWindow The CustomUpdateTimeWindow + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Customer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Customer.php new file mode 100644 index 0000000..0be6876 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Customer.php @@ -0,0 +1,673 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PostalAddressType($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param PostalAddressType $val The address + * + * @return Customer + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the blocked + * + * @return string|null The blocked + */ + public function getBlocked() + { + if (array_key_exists("blocked", $this->_propDict)) { + return $this->_propDict["blocked"]; + } else { + return null; + } + } + + /** + * Sets the blocked + * + * @param string $val The blocked + * + * @return Customer + */ + public function setBlocked($val) + { + $this->_propDict["blocked"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return Customer + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return Customer + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Customer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return Customer + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Customer + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return Customer + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the paymentMethodId + * + * @return string|null The paymentMethodId + */ + public function getPaymentMethodId() + { + if (array_key_exists("paymentMethodId", $this->_propDict)) { + return $this->_propDict["paymentMethodId"]; + } else { + return null; + } + } + + /** + * Sets the paymentMethodId + * + * @param string $val The paymentMethodId + * + * @return Customer + */ + public function setPaymentMethodId($val) + { + $this->_propDict["paymentMethodId"] = $val; + return $this; + } + + /** + * Gets the paymentTermsId + * + * @return string|null The paymentTermsId + */ + public function getPaymentTermsId() + { + if (array_key_exists("paymentTermsId", $this->_propDict)) { + return $this->_propDict["paymentTermsId"]; + } else { + return null; + } + } + + /** + * Sets the paymentTermsId + * + * @param string $val The paymentTermsId + * + * @return Customer + */ + public function setPaymentTermsId($val) + { + $this->_propDict["paymentTermsId"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return Customer + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the shipmentMethodId + * + * @return string|null The shipmentMethodId + */ + public function getShipmentMethodId() + { + if (array_key_exists("shipmentMethodId", $this->_propDict)) { + return $this->_propDict["shipmentMethodId"]; + } else { + return null; + } + } + + /** + * Sets the shipmentMethodId + * + * @param string $val The shipmentMethodId + * + * @return Customer + */ + public function setShipmentMethodId($val) + { + $this->_propDict["shipmentMethodId"] = $val; + return $this; + } + + /** + * Gets the taxAreaDisplayName + * + * @return string|null The taxAreaDisplayName + */ + public function getTaxAreaDisplayName() + { + if (array_key_exists("taxAreaDisplayName", $this->_propDict)) { + return $this->_propDict["taxAreaDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the taxAreaDisplayName + * + * @param string $val The taxAreaDisplayName + * + * @return Customer + */ + public function setTaxAreaDisplayName($val) + { + $this->_propDict["taxAreaDisplayName"] = $val; + return $this; + } + + /** + * Gets the taxAreaId + * + * @return string|null The taxAreaId + */ + public function getTaxAreaId() + { + if (array_key_exists("taxAreaId", $this->_propDict)) { + return $this->_propDict["taxAreaId"]; + } else { + return null; + } + } + + /** + * Sets the taxAreaId + * + * @param string $val The taxAreaId + * + * @return Customer + */ + public function setTaxAreaId($val) + { + $this->_propDict["taxAreaId"] = $val; + return $this; + } + + /** + * Gets the taxLiable + * + * @return bool|null The taxLiable + */ + public function getTaxLiable() + { + if (array_key_exists("taxLiable", $this->_propDict)) { + return $this->_propDict["taxLiable"]; + } else { + return null; + } + } + + /** + * Sets the taxLiable + * + * @param bool $val The taxLiable + * + * @return Customer + */ + public function setTaxLiable($val) + { + $this->_propDict["taxLiable"] = boolval($val); + return $this; + } + + /** + * Gets the taxRegistrationNumber + * + * @return string|null The taxRegistrationNumber + */ + public function getTaxRegistrationNumber() + { + if (array_key_exists("taxRegistrationNumber", $this->_propDict)) { + return $this->_propDict["taxRegistrationNumber"]; + } else { + return null; + } + } + + /** + * Sets the taxRegistrationNumber + * + * @param string $val The taxRegistrationNumber + * + * @return Customer + */ + public function setTaxRegistrationNumber($val) + { + $this->_propDict["taxRegistrationNumber"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return Customer + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the website + * + * @return string|null The website + */ + public function getWebsite() + { + if (array_key_exists("website", $this->_propDict)) { + return $this->_propDict["website"]; + } else { + return null; + } + } + + /** + * Sets the website + * + * @param string $val The website + * + * @return Customer + */ + public function setWebsite($val) + { + $this->_propDict["website"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return Customer + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the paymentMethod + * + * @return PaymentMethod|null The paymentMethod + */ + public function getPaymentMethod() + { + if (array_key_exists("paymentMethod", $this->_propDict)) { + if (is_a($this->_propDict["paymentMethod"], "\Beta\Microsoft\Graph\Model\PaymentMethod") || is_null($this->_propDict["paymentMethod"])) { + return $this->_propDict["paymentMethod"]; + } else { + $this->_propDict["paymentMethod"] = new PaymentMethod($this->_propDict["paymentMethod"]); + return $this->_propDict["paymentMethod"]; + } + } + return null; + } + + /** + * Sets the paymentMethod + * + * @param PaymentMethod $val The paymentMethod + * + * @return Customer + */ + public function setPaymentMethod($val) + { + $this->_propDict["paymentMethod"] = $val; + return $this; + } + + /** + * Gets the paymentTerm + * + * @return PaymentTerm|null The paymentTerm + */ + public function getPaymentTerm() + { + if (array_key_exists("paymentTerm", $this->_propDict)) { + if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\PaymentTerm") || is_null($this->_propDict["paymentTerm"])) { + return $this->_propDict["paymentTerm"]; + } else { + $this->_propDict["paymentTerm"] = new PaymentTerm($this->_propDict["paymentTerm"]); + return $this->_propDict["paymentTerm"]; + } + } + return null; + } + + /** + * Sets the paymentTerm + * + * @param PaymentTerm $val The paymentTerm + * + * @return Customer + */ + public function setPaymentTerm($val) + { + $this->_propDict["paymentTerm"] = $val; + return $this; + } + + + /** + * Gets the picture + * + * @return array|null The picture + */ + public function getPicture() + { + if (array_key_exists("picture", $this->_propDict)) { + return $this->_propDict["picture"]; + } else { + return null; + } + } + + /** + * Sets the picture + * + * @param Picture[] $val The picture + * + * @return Customer + */ + public function setPicture($val) + { + $this->_propDict["picture"] = $val; + return $this; + } + + /** + * Gets the shipmentMethod + * + * @return ShipmentMethod|null The shipmentMethod + */ + public function getShipmentMethod() + { + if (array_key_exists("shipmentMethod", $this->_propDict)) { + if (is_a($this->_propDict["shipmentMethod"], "\Beta\Microsoft\Graph\Model\ShipmentMethod") || is_null($this->_propDict["shipmentMethod"])) { + return $this->_propDict["shipmentMethod"]; + } else { + $this->_propDict["shipmentMethod"] = new ShipmentMethod($this->_propDict["shipmentMethod"]); + return $this->_propDict["shipmentMethod"]; + } + } + return null; + } + + /** + * Sets the shipmentMethod + * + * @param ShipmentMethod $val The shipmentMethod + * + * @return Customer + */ + public function setShipmentMethod($val) + { + $this->_propDict["shipmentMethod"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPayment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPayment.php new file mode 100644 index 0000000..e242d94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPayment.php @@ -0,0 +1,448 @@ +_propDict)) { + if (is_a($this->_propDict["amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amount"])) { + return $this->_propDict["amount"]; + } else { + $this->_propDict["amount"] = new Decimal($this->_propDict["amount"]); + return $this->_propDict["amount"]; + } + } + return null; + } + + /** + * Sets the amount + * + * @param Decimal $val The amount + * + * @return CustomerPayment + */ + public function setAmount($val) + { + $this->_propDict["amount"] = $val; + return $this; + } + + /** + * Gets the appliesToInvoiceId + * + * @return string|null The appliesToInvoiceId + */ + public function getAppliesToInvoiceId() + { + if (array_key_exists("appliesToInvoiceId", $this->_propDict)) { + return $this->_propDict["appliesToInvoiceId"]; + } else { + return null; + } + } + + /** + * Sets the appliesToInvoiceId + * + * @param string $val The appliesToInvoiceId + * + * @return CustomerPayment + */ + public function setAppliesToInvoiceId($val) + { + $this->_propDict["appliesToInvoiceId"] = $val; + return $this; + } + + /** + * Gets the appliesToInvoiceNumber + * + * @return string|null The appliesToInvoiceNumber + */ + public function getAppliesToInvoiceNumber() + { + if (array_key_exists("appliesToInvoiceNumber", $this->_propDict)) { + return $this->_propDict["appliesToInvoiceNumber"]; + } else { + return null; + } + } + + /** + * Sets the appliesToInvoiceNumber + * + * @param string $val The appliesToInvoiceNumber + * + * @return CustomerPayment + */ + public function setAppliesToInvoiceNumber($val) + { + $this->_propDict["appliesToInvoiceNumber"] = $val; + return $this; + } + + /** + * Gets the comment + * + * @return string|null The comment + */ + public function getComment() + { + if (array_key_exists("comment", $this->_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * + * @param string $val The comment + * + * @return CustomerPayment + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + + /** + * Gets the contactId + * + * @return string|null The contactId + */ + public function getContactId() + { + if (array_key_exists("contactId", $this->_propDict)) { + return $this->_propDict["contactId"]; + } else { + return null; + } + } + + /** + * Sets the contactId + * + * @param string $val The contactId + * + * @return CustomerPayment + */ + public function setContactId($val) + { + $this->_propDict["contactId"] = $val; + return $this; + } + + /** + * Gets the customerId + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * + * @param string $val The customerId + * + * @return CustomerPayment + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customerNumber + * + * @return string|null The customerNumber + */ + public function getCustomerNumber() + { + if (array_key_exists("customerNumber", $this->_propDict)) { + return $this->_propDict["customerNumber"]; + } else { + return null; + } + } + + /** + * Sets the customerNumber + * + * @param string $val The customerNumber + * + * @return CustomerPayment + */ + public function setCustomerNumber($val) + { + $this->_propDict["customerNumber"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return CustomerPayment + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the documentNumber + * + * @return string|null The documentNumber + */ + public function getDocumentNumber() + { + if (array_key_exists("documentNumber", $this->_propDict)) { + return $this->_propDict["documentNumber"]; + } else { + return null; + } + } + + /** + * Sets the documentNumber + * + * @param string $val The documentNumber + * + * @return CustomerPayment + */ + public function setDocumentNumber($val) + { + $this->_propDict["documentNumber"] = $val; + return $this; + } + + /** + * Gets the externalDocumentNumber + * + * @return string|null The externalDocumentNumber + */ + public function getExternalDocumentNumber() + { + if (array_key_exists("externalDocumentNumber", $this->_propDict)) { + return $this->_propDict["externalDocumentNumber"]; + } else { + return null; + } + } + + /** + * Sets the externalDocumentNumber + * + * @param string $val The externalDocumentNumber + * + * @return CustomerPayment + */ + public function setExternalDocumentNumber($val) + { + $this->_propDict["externalDocumentNumber"] = $val; + return $this; + } + + /** + * Gets the journalDisplayName + * + * @return string|null The journalDisplayName + */ + public function getJournalDisplayName() + { + if (array_key_exists("journalDisplayName", $this->_propDict)) { + return $this->_propDict["journalDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the journalDisplayName + * + * @param string $val The journalDisplayName + * + * @return CustomerPayment + */ + public function setJournalDisplayName($val) + { + $this->_propDict["journalDisplayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CustomerPayment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lineNumber + * + * @return int|null The lineNumber + */ + public function getLineNumber() + { + if (array_key_exists("lineNumber", $this->_propDict)) { + return $this->_propDict["lineNumber"]; + } else { + return null; + } + } + + /** + * Sets the lineNumber + * + * @param int $val The lineNumber + * + * @return CustomerPayment + */ + public function setLineNumber($val) + { + $this->_propDict["lineNumber"] = intval($val); + return $this; + } + + /** + * Gets the postingDate + * + * @return \DateTime|null The postingDate + */ + public function getPostingDate() + { + if (array_key_exists("postingDate", $this->_propDict)) { + if (is_a($this->_propDict["postingDate"], "\DateTime") || is_null($this->_propDict["postingDate"])) { + return $this->_propDict["postingDate"]; + } else { + $this->_propDict["postingDate"] = new \DateTime($this->_propDict["postingDate"]); + return $this->_propDict["postingDate"]; + } + } + return null; + } + + /** + * Sets the postingDate + * + * @param \DateTime $val The postingDate + * + * @return CustomerPayment + */ + public function setPostingDate($val) + { + $this->_propDict["postingDate"] = $val; + return $this; + } + + /** + * Gets the customer + * + * @return Customer|null The customer + */ + public function getCustomer() + { + if (array_key_exists("customer", $this->_propDict)) { + if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\Customer") || is_null($this->_propDict["customer"])) { + return $this->_propDict["customer"]; + } else { + $this->_propDict["customer"] = new Customer($this->_propDict["customer"]); + return $this->_propDict["customer"]; + } + } + return null; + } + + /** + * Sets the customer + * + * @param Customer $val The customer + * + * @return CustomerPayment + */ + public function setCustomer($val) + { + $this->_propDict["customer"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php new file mode 100644 index 0000000..7d96bb9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php @@ -0,0 +1,225 @@ +_propDict)) { + return $this->_propDict["balancingAccountId"]; + } else { + return null; + } + } + + /** + * Sets the balancingAccountId + * + * @param string $val The balancingAccountId + * + * @return CustomerPaymentJournal + */ + public function setBalancingAccountId($val) + { + $this->_propDict["balancingAccountId"] = $val; + return $this; + } + + /** + * Gets the balancingAccountNumber + * + * @return string|null The balancingAccountNumber + */ + public function getBalancingAccountNumber() + { + if (array_key_exists("balancingAccountNumber", $this->_propDict)) { + return $this->_propDict["balancingAccountNumber"]; + } else { + return null; + } + } + + /** + * Sets the balancingAccountNumber + * + * @param string $val The balancingAccountNumber + * + * @return CustomerPaymentJournal + */ + public function setBalancingAccountNumber($val) + { + $this->_propDict["balancingAccountNumber"] = $val; + return $this; + } + + /** + * Gets the code + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return CustomerPaymentJournal + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return CustomerPaymentJournal + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return CustomerPaymentJournal + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return CustomerPaymentJournal + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + + /** + * Gets the customerPayments + * + * @return array|null The customerPayments + */ + public function getCustomerPayments() + { + if (array_key_exists("customerPayments", $this->_propDict)) { + return $this->_propDict["customerPayments"]; + } else { + return null; + } + } + + /** + * Sets the customerPayments + * + * @param CustomerPayment[] $val The customerPayments + * + * @return CustomerPaymentJournal + */ + public function setCustomerPayments($val) + { + $this->_propDict["customerPayments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataClassificationService.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataClassificationService.php new file mode 100644 index 0000000..6e2d96e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataClassificationService.php @@ -0,0 +1,279 @@ +_propDict)) { + return $this->_propDict["exactMatchDataStores"]; + } else { + return null; + } + } + + /** + * Sets the exactMatchDataStores + * + * @param ExactMatchDataStore[] $val The exactMatchDataStores + * + * @return DataClassificationService + */ + public function setExactMatchDataStores($val) + { + $this->_propDict["exactMatchDataStores"] = $val; + return $this; + } + + + /** + * Gets the classifyFileJobs + * + * @return array|null The classifyFileJobs + */ + public function getClassifyFileJobs() + { + if (array_key_exists("classifyFileJobs", $this->_propDict)) { + return $this->_propDict["classifyFileJobs"]; + } else { + return null; + } + } + + /** + * Sets the classifyFileJobs + * + * @param JobResponseBase[] $val The classifyFileJobs + * + * @return DataClassificationService + */ + public function setClassifyFileJobs($val) + { + $this->_propDict["classifyFileJobs"] = $val; + return $this; + } + + + /** + * Gets the classifyTextJobs + * + * @return array|null The classifyTextJobs + */ + public function getClassifyTextJobs() + { + if (array_key_exists("classifyTextJobs", $this->_propDict)) { + return $this->_propDict["classifyTextJobs"]; + } else { + return null; + } + } + + /** + * Sets the classifyTextJobs + * + * @param JobResponseBase[] $val The classifyTextJobs + * + * @return DataClassificationService + */ + public function setClassifyTextJobs($val) + { + $this->_propDict["classifyTextJobs"] = $val; + return $this; + } + + + /** + * Gets the evaluateDlpPoliciesJobs + * + * @return array|null The evaluateDlpPoliciesJobs + */ + public function getEvaluateDlpPoliciesJobs() + { + if (array_key_exists("evaluateDlpPoliciesJobs", $this->_propDict)) { + return $this->_propDict["evaluateDlpPoliciesJobs"]; + } else { + return null; + } + } + + /** + * Sets the evaluateDlpPoliciesJobs + * + * @param JobResponseBase[] $val The evaluateDlpPoliciesJobs + * + * @return DataClassificationService + */ + public function setEvaluateDlpPoliciesJobs($val) + { + $this->_propDict["evaluateDlpPoliciesJobs"] = $val; + return $this; + } + + + /** + * Gets the evaluateLabelJobs + * + * @return array|null The evaluateLabelJobs + */ + public function getEvaluateLabelJobs() + { + if (array_key_exists("evaluateLabelJobs", $this->_propDict)) { + return $this->_propDict["evaluateLabelJobs"]; + } else { + return null; + } + } + + /** + * Sets the evaluateLabelJobs + * + * @param JobResponseBase[] $val The evaluateLabelJobs + * + * @return DataClassificationService + */ + public function setEvaluateLabelJobs($val) + { + $this->_propDict["evaluateLabelJobs"] = $val; + return $this; + } + + + /** + * Gets the jobs + * + * @return array|null The jobs + */ + public function getJobs() + { + if (array_key_exists("jobs", $this->_propDict)) { + return $this->_propDict["jobs"]; + } else { + return null; + } + } + + /** + * Sets the jobs + * + * @param JobResponseBase[] $val The jobs + * + * @return DataClassificationService + */ + public function setJobs($val) + { + $this->_propDict["jobs"] = $val; + return $this; + } + + + /** + * Gets the sensitiveTypes + * + * @return array|null The sensitiveTypes + */ + public function getSensitiveTypes() + { + if (array_key_exists("sensitiveTypes", $this->_propDict)) { + return $this->_propDict["sensitiveTypes"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypes + * + * @param SensitiveType[] $val The sensitiveTypes + * + * @return DataClassificationService + */ + public function setSensitiveTypes($val) + { + $this->_propDict["sensitiveTypes"] = $val; + return $this; + } + + + /** + * Gets the sensitivityLabels + * + * @return array|null The sensitivityLabels + */ + public function getSensitivityLabels() + { + if (array_key_exists("sensitivityLabels", $this->_propDict)) { + return $this->_propDict["sensitivityLabels"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabels + * + * @param SensitivityLabel[] $val The sensitivityLabels + * + * @return DataClassificationService + */ + public function setSensitivityLabels($val) + { + $this->_propDict["sensitivityLabels"] = $val; + return $this; + } + + + /** + * Gets the exactMatchUploadAgents + * + * @return array|null The exactMatchUploadAgents + */ + public function getExactMatchUploadAgents() + { + if (array_key_exists("exactMatchUploadAgents", $this->_propDict)) { + return $this->_propDict["exactMatchUploadAgents"]; + } else { + return null; + } + } + + /** + * Sets the exactMatchUploadAgents + * + * @param ExactMatchUploadAgent[] $val The exactMatchUploadAgents + * + * @return DataClassificationService + */ + public function setExactMatchUploadAgents($val) + { + $this->_propDict["exactMatchUploadAgents"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataLossPreventionPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataLossPreventionPolicy.php new file mode 100644 index 0000000..7274bff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataLossPreventionPolicy.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return DataLossPreventionPolicy + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperation.php new file mode 100644 index 0000000..8be4963 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperation.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Null until the operation completes. + * + * @param \DateTime $val The completedDateTime + * + * @return DataPolicyOperation + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the progress + * Specifies the progress of an operation. + * + * @return float|null The progress + */ + public function getProgress() + { + if (array_key_exists("progress", $this->_propDict)) { + return $this->_propDict["progress"]; + } else { + return null; + } + } + + /** + * Sets the progress + * Specifies the progress of an operation. + * + * @param float $val The progress + * + * @return DataPolicyOperation + */ + public function setProgress($val) + { + $this->_propDict["progress"] = floatval($val); + return $this; + } + + /** + * Gets the status + * Possible values are: notStarted, running, complete, failed, unknownFutureValue. + * + * @return DataPolicyOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DataPolicyOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DataPolicyOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: notStarted, running, complete, failed, unknownFutureValue. + * + * @param DataPolicyOperationStatus $val The status + * + * @return DataPolicyOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the storageLocation + * The URL location to where data is being exported for export requests. + * + * @return string|null The storageLocation + */ + public function getStorageLocation() + { + if (array_key_exists("storageLocation", $this->_propDict)) { + return $this->_propDict["storageLocation"]; + } else { + return null; + } + } + + /** + * Sets the storageLocation + * The URL location to where data is being exported for export requests. + * + * @param string $val The storageLocation + * + * @return DataPolicyOperation + */ + public function setStorageLocation($val) + { + $this->_propDict["storageLocation"] = $val; + return $this; + } + + /** + * Gets the submittedDateTime + * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The submittedDateTime + */ + public function getSubmittedDateTime() + { + if (array_key_exists("submittedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["submittedDateTime"], "\DateTime") || is_null($this->_propDict["submittedDateTime"])) { + return $this->_propDict["submittedDateTime"]; + } else { + $this->_propDict["submittedDateTime"] = new \DateTime($this->_propDict["submittedDateTime"]); + return $this->_propDict["submittedDateTime"]; + } + } + return null; + } + + /** + * Sets the submittedDateTime + * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The submittedDateTime + * + * @return DataPolicyOperation + */ + public function setSubmittedDateTime($val) + { + $this->_propDict["submittedDateTime"] = $val; + return $this; + } + + /** + * Gets the userId + * The id for the user on whom the operation is performed. + * + * @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 + * The id for the user on whom the operation is performed. + * + * @param string $val The userId + * + * @return DataPolicyOperation + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperationStatus.php new file mode 100644 index 0000000..8f9c5ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperationStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["grantDateTime"], "\DateTime") || is_null($this->_propDict["grantDateTime"])) { + return $this->_propDict["grantDateTime"]; + } else { + $this->_propDict["grantDateTime"] = new \DateTime($this->_propDict["grantDateTime"]); + return $this->_propDict["grantDateTime"]; + } + } + return null; + } + + /** + * Sets the grantDateTime + * The time consent was granted for this account + * + * @param \DateTime $val The grantDateTime + * + * @return DataSharingConsent + */ + public function setGrantDateTime($val) + { + $this->_propDict["grantDateTime"] = $val; + return $this; + } + + /** + * Gets the granted + * The granted state for the data sharing consent + * + * @return bool|null The granted + */ + public function getGranted() + { + if (array_key_exists("granted", $this->_propDict)) { + return $this->_propDict["granted"]; + } else { + return null; + } + } + + /** + * Sets the granted + * The granted state for the data sharing consent + * + * @param bool $val The granted + * + * @return DataSharingConsent + */ + public function setGranted($val) + { + $this->_propDict["granted"] = boolval($val); + return $this; + } + + /** + * Gets the grantedByUpn + * The Upn of the user that granted consent for this account + * + * @return string|null The grantedByUpn + */ + public function getGrantedByUpn() + { + if (array_key_exists("grantedByUpn", $this->_propDict)) { + return $this->_propDict["grantedByUpn"]; + } else { + return null; + } + } + + /** + * Sets the grantedByUpn + * The Upn of the user that granted consent for this account + * + * @param string $val The grantedByUpn + * + * @return DataSharingConsent + */ + public function setGrantedByUpn($val) + { + $this->_propDict["grantedByUpn"] = $val; + return $this; + } + + /** + * Gets the grantedByUserId + * The UserId of the user that granted consent for this account + * + * @return string|null The grantedByUserId + */ + public function getGrantedByUserId() + { + if (array_key_exists("grantedByUserId", $this->_propDict)) { + return $this->_propDict["grantedByUserId"]; + } else { + return null; + } + } + + /** + * Sets the grantedByUserId + * The UserId of the user that granted consent for this account + * + * @param string $val The grantedByUserId + * + * @return DataSharingConsent + */ + public function setGrantedByUserId($val) + { + $this->_propDict["grantedByUserId"] = $val; + return $this; + } + + /** + * Gets the serviceDisplayName + * The display name of the service work flow + * + * @return string|null The serviceDisplayName + */ + public function getServiceDisplayName() + { + if (array_key_exists("serviceDisplayName", $this->_propDict)) { + return $this->_propDict["serviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the serviceDisplayName + * The display name of the service work flow + * + * @param string $val The serviceDisplayName + * + * @return DataSharingConsent + */ + public function setServiceDisplayName($val) + { + $this->_propDict["serviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the termsUrl + * The TermsUrl for the data sharing consent + * + * @return string|null The termsUrl + */ + public function getTermsUrl() + { + if (array_key_exists("termsUrl", $this->_propDict)) { + return $this->_propDict["termsUrl"]; + } else { + return null; + } + } + + /** + * Sets the termsUrl + * The TermsUrl for the data sharing consent + * + * @param string $val The termsUrl + * + * @return DataSharingConsent + */ + public function setTermsUrl($val) + { + $this->_propDict["termsUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataStoreField.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataStoreField.php new file mode 100644 index 0000000..4925175 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataStoreField.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return DataStoreField + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the searchable + * + * @return bool|null The searchable + */ + public function getSearchable() + { + if (array_key_exists("searchable", $this->_propDict)) { + return $this->_propDict["searchable"]; + } else { + return null; + } + } + + /** + * Sets the searchable + * + * @param bool $val The value of the searchable + * + * @return DataStoreField + */ + public function setSearchable($val) + { + $this->_propDict["searchable"] = $val; + return $this; + } + /** + * Gets the unique + * + * @return bool|null The unique + */ + public function getUnique() + { + if (array_key_exists("unique", $this->_propDict)) { + return $this->_propDict["unique"]; + } else { + return null; + } + } + + /** + * Sets the unique + * + * @param bool $val The value of the unique + * + * @return DataStoreField + */ + public function setUnique($val) + { + $this->_propDict["unique"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataSubject.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataSubject.php new file mode 100644 index 0000000..0241b65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataSubject.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email of the data subject. + * + * @param string $val The value of the email + * + * @return DataSubject + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the firstName + * First name of the data subject. + * + * @return string|null The firstName + */ + public function getFirstName() + { + if (array_key_exists("firstName", $this->_propDict)) { + return $this->_propDict["firstName"]; + } else { + return null; + } + } + + /** + * Sets the firstName + * First name of the data subject. + * + * @param string $val The value of the firstName + * + * @return DataSubject + */ + public function setFirstName($val) + { + $this->_propDict["firstName"] = $val; + return $this; + } + /** + * Gets the lastName + * Last Name of the data subject. + * + * @return string|null The lastName + */ + public function getLastName() + { + if (array_key_exists("lastName", $this->_propDict)) { + return $this->_propDict["lastName"]; + } else { + return null; + } + } + + /** + * Sets the lastName + * Last Name of the data subject. + * + * @param string $val The value of the lastName + * + * @return DataSubject + */ + public function setLastName($val) + { + $this->_propDict["lastName"] = $val; + return $this; + } + /** + * Gets the residency + * The country/region of residency. The residency information is uesed only for internal reporting but not for the content search. + * + * @return string|null The residency + */ + public function getResidency() + { + if (array_key_exists("residency", $this->_propDict)) { + return $this->_propDict["residency"]; + } else { + return null; + } + } + + /** + * Sets the residency + * The country/region of residency. The residency information is uesed only for internal reporting but not for the content search. + * + * @param string $val The value of the residency + * + * @return DataSubject + */ + public function setResidency($val) + { + $this->_propDict["residency"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataSubjectType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataSubjectType.php new file mode 100644 index 0000000..a8520e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataSubjectType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default. + * + * @param string $val The value of the displayAs + * + * @return DateTimeColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } + /** + * Gets the format + * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime + * + * @return string|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + return $this->_propDict["format"]; + } else { + return null; + } + } + + /** + * Sets the format + * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime + * + * @param string $val The value of the format + * + * @return DateTimeColumn + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZone.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZone.php new file mode 100644 index 0000000..9f1c7f8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZone.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["dateTime"]; + } else { + return null; + } + } + + /** + * Sets the dateTime + * A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'. + * + * @param string $val The value of the dateTime + * + * @return DateTimeTimeZone + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + /** + * Gets the timeZone + * Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values. + * + * @param string $val The value of the timeZone + * + * @return DateTimeTimeZone + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZoneType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZoneType.php new file mode 100644 index 0000000..8c54341 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZoneType.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["dateTime"]; + } else { + return null; + } + } + + /** + * Sets the dateTime + * + * @param string $val The value of the dateTime + * + * @return DateTimeTimeZoneType + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DayOfWeek.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DayOfWeek.php new file mode 100644 index 0000000..980b804 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DayOfWeek.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["daylightBias"]; + } else { + return null; + } + } + + /** + * Sets the daylightBias + * The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes. + * + * @param int $val The value of the daylightBias + * + * @return DaylightTimeZoneOffset + */ + public function setDaylightBias($val) + { + $this->_propDict["daylightBias"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DecisionItemPrincipalResourceMembership.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DecisionItemPrincipalResourceMembership.php new file mode 100644 index 0000000..6261bfa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DecisionItemPrincipalResourceMembership.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["membershipType"], "\Beta\Microsoft\Graph\Model\DecisionItemPrincipalResourceMembershipType") || is_null($this->_propDict["membershipType"])) { + return $this->_propDict["membershipType"]; + } else { + $this->_propDict["membershipType"] = new DecisionItemPrincipalResourceMembershipType($this->_propDict["membershipType"]); + return $this->_propDict["membershipType"]; + } + } + return null; + } + + /** + * Sets the membershipType + * + * @param DecisionItemPrincipalResourceMembershipType $val The value to assign to the membershipType + * + * @return DecisionItemPrincipalResourceMembership The DecisionItemPrincipalResourceMembership + */ + public function setMembershipType($val) + { + $this->_propDict["membershipType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DecisionItemPrincipalResourceMembershipType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DecisionItemPrincipalResourceMembershipType.php new file mode 100644 index 0000000..5804fe7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DecisionItemPrincipalResourceMembershipType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["formula"]; + } else { + return null; + } + } + + /** + * Sets the formula + * The formula used to compute the default value for this column. + * + * @param string $val The value of the formula + * + * @return DefaultColumnValue + */ + public function setFormula($val) + { + $this->_propDict["formula"] = $val; + return $this; + } + /** + * Gets the value + * The direct value to use as the default value for this column. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The direct value to use as the default value for this column. + * + * @param string $val The value of the value + * + * @return DefaultColumnValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultDeviceCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultDeviceCompliancePolicy.php new file mode 100644 index 0000000..fb0e1e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultDeviceCompliancePolicy.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["allowedAndroidDeviceManufacturers"]; + } else { + return null; + } + } + + /** + * Sets the allowedAndroidDeviceManufacturers + * Semicolon seperated list of device manufacturers allowed, as a string, for the managed app to work. (Android only) + * + * @param string $val The allowedAndroidDeviceManufacturers + * + * @return DefaultManagedAppProtection + */ + public function setAllowedAndroidDeviceManufacturers($val) + { + $this->_propDict["allowedAndroidDeviceManufacturers"] = $val; + return $this; + } + + /** + * Gets the allowedAndroidDeviceModels + * List of device models allowed, as a string, for the managed app to work. (Android Only) + * + * @return string|null The allowedAndroidDeviceModels + */ + public function getAllowedAndroidDeviceModels() + { + if (array_key_exists("allowedAndroidDeviceModels", $this->_propDict)) { + return $this->_propDict["allowedAndroidDeviceModels"]; + } else { + return null; + } + } + + /** + * Sets the allowedAndroidDeviceModels + * List of device models allowed, as a string, for the managed app to work. (Android Only) + * + * @param string $val The allowedAndroidDeviceModels + * + * @return DefaultManagedAppProtection + */ + public function setAllowedAndroidDeviceModels($val) + { + $this->_propDict["allowedAndroidDeviceModels"] = $val; + return $this; + } + + /** + * Gets the allowedIosDeviceModels + * Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only) + * + * @return string|null The allowedIosDeviceModels + */ + public function getAllowedIosDeviceModels() + { + if (array_key_exists("allowedIosDeviceModels", $this->_propDict)) { + return $this->_propDict["allowedIosDeviceModels"]; + } else { + return null; + } + } + + /** + * Sets the allowedIosDeviceModels + * Semicolon seperated list of device models allowed, as a string, for the managed app to work. (iOS Only) + * + * @param string $val The allowedIosDeviceModels + * + * @return DefaultManagedAppProtection + */ + public function setAllowedIosDeviceModels($val) + { + $this->_propDict["allowedIosDeviceModels"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidDeviceManufacturerNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only). Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidDeviceManufacturerNotAllowed + */ + public function getAppActionIfAndroidDeviceManufacturerNotAllowed() + { + if (array_key_exists("appActionIfAndroidDeviceManufacturerNotAllowed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"])) { + return $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"]; + } else { + $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"]); + return $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidDeviceManufacturerNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device manufacturer is not allowed. (Android only). Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidDeviceManufacturerNotAllowed + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfAndroidDeviceManufacturerNotAllowed($val) + { + $this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only). Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidDeviceModelNotAllowed + */ + public function getAppActionIfAndroidDeviceModelNotAllowed() + { + if (array_key_exists("appActionIfAndroidDeviceModelNotAllowed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"])) { + return $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"]; + } else { + $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"]); + return $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (Android Only). Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidDeviceModelNotAllowed + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfAndroidDeviceModelNotAllowed($val) + { + $this->_propDict["appActionIfAndroidDeviceModelNotAllowed"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidSafetyNetAppsVerificationFailed + * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidSafetyNetAppsVerificationFailed + */ + public function getAppActionIfAndroidSafetyNetAppsVerificationFailed() + { + if (array_key_exists("appActionIfAndroidSafetyNetAppsVerificationFailed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"])) { + return $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"]; + } else { + $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"]); + return $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidSafetyNetAppsVerificationFailed + * Defines a managed app behavior, either warn or block, if the specified Android App Verification requirement fails. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidSafetyNetAppsVerificationFailed + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfAndroidSafetyNetAppsVerificationFailed($val) + { + $this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"] = $val; + return $this; + } + + /** + * Gets the appActionIfAndroidSafetyNetDeviceAttestationFailed + * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfAndroidSafetyNetDeviceAttestationFailed + */ + public function getAppActionIfAndroidSafetyNetDeviceAttestationFailed() + { + if (array_key_exists("appActionIfAndroidSafetyNetDeviceAttestationFailed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"])) { + return $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"]; + } else { + $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"]); + return $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"]; + } + } + return null; + } + + /** + * Sets the appActionIfAndroidSafetyNetDeviceAttestationFailed + * Defines a managed app behavior, either warn or block, if the specified Android SafetyNet Attestation requirement fails. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfAndroidSafetyNetDeviceAttestationFailed + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfAndroidSafetyNetDeviceAttestationFailed($val) + { + $this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"] = $val; + return $this; + } + + /** + * Gets the appActionIfDeviceLockNotSet + * Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on device but is not set. (android only). Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfDeviceLockNotSet + */ + public function getAppActionIfDeviceLockNotSet() + { + if (array_key_exists("appActionIfDeviceLockNotSet", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDeviceLockNotSet"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDeviceLockNotSet"])) { + return $this->_propDict["appActionIfDeviceLockNotSet"]; + } else { + $this->_propDict["appActionIfDeviceLockNotSet"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDeviceLockNotSet"]); + return $this->_propDict["appActionIfDeviceLockNotSet"]; + } + } + return null; + } + + /** + * Sets the appActionIfDeviceLockNotSet + * Defines a managed app behavior, either warn, block or wipe, if the screen lock is required on device but is not set. (android only). Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfDeviceLockNotSet + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfDeviceLockNotSet($val) + { + $this->_propDict["appActionIfDeviceLockNotSet"] = $val; + return $this; + } + + /** + * Gets the appActionIfDevicePasscodeComplexityLessThanHigh + * If the device does not have a passcode of high complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfDevicePasscodeComplexityLessThanHigh + */ + public function getAppActionIfDevicePasscodeComplexityLessThanHigh() + { + if (array_key_exists("appActionIfDevicePasscodeComplexityLessThanHigh", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"])) { + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"]; + } else { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"]); + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"]; + } + } + return null; + } + + /** + * Sets the appActionIfDevicePasscodeComplexityLessThanHigh + * If the device does not have a passcode of high complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfDevicePasscodeComplexityLessThanHigh + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfDevicePasscodeComplexityLessThanHigh($val) + { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanHigh"] = $val; + return $this; + } + + /** + * Gets the appActionIfDevicePasscodeComplexityLessThanLow + * If the device does not have a passcode of low complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfDevicePasscodeComplexityLessThanLow + */ + public function getAppActionIfDevicePasscodeComplexityLessThanLow() + { + if (array_key_exists("appActionIfDevicePasscodeComplexityLessThanLow", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"])) { + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"]; + } else { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"]); + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"]; + } + } + return null; + } + + /** + * Sets the appActionIfDevicePasscodeComplexityLessThanLow + * If the device does not have a passcode of low complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfDevicePasscodeComplexityLessThanLow + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfDevicePasscodeComplexityLessThanLow($val) + { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanLow"] = $val; + return $this; + } + + /** + * Gets the appActionIfDevicePasscodeComplexityLessThanMedium + * If the device does not have a passcode of medium complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfDevicePasscodeComplexityLessThanMedium + */ + public function getAppActionIfDevicePasscodeComplexityLessThanMedium() + { + if (array_key_exists("appActionIfDevicePasscodeComplexityLessThanMedium", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"])) { + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"]; + } else { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"]); + return $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"]; + } + } + return null; + } + + /** + * Sets the appActionIfDevicePasscodeComplexityLessThanMedium + * If the device does not have a passcode of medium complexity or higher, trigger the stored action. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfDevicePasscodeComplexityLessThanMedium + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfDevicePasscodeComplexityLessThanMedium($val) + { + $this->_propDict["appActionIfDevicePasscodeComplexityLessThanMedium"] = $val; + return $this; + } + + /** + * Gets the appActionIfIosDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only). Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfIosDeviceModelNotAllowed + */ + public function getAppActionIfIosDeviceModelNotAllowed() + { + if (array_key_exists("appActionIfIosDeviceModelNotAllowed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfIosDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfIosDeviceModelNotAllowed"])) { + return $this->_propDict["appActionIfIosDeviceModelNotAllowed"]; + } else { + $this->_propDict["appActionIfIosDeviceModelNotAllowed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfIosDeviceModelNotAllowed"]); + return $this->_propDict["appActionIfIosDeviceModelNotAllowed"]; + } + } + return null; + } + + /** + * Sets the appActionIfIosDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. (iOS Only). Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfIosDeviceModelNotAllowed + * + * @return DefaultManagedAppProtection + */ + public function setAppActionIfIosDeviceModelNotAllowed($val) + { + $this->_propDict["appActionIfIosDeviceModelNotAllowed"] = $val; + return $this; + } + + /** + * Gets the appDataEncryptionType + * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * + * @return ManagedAppDataEncryptionType|null The appDataEncryptionType + */ + public function getAppDataEncryptionType() + { + if (array_key_exists("appDataEncryptionType", $this->_propDict)) { + if (is_a($this->_propDict["appDataEncryptionType"], "\Beta\Microsoft\Graph\Model\ManagedAppDataEncryptionType") || is_null($this->_propDict["appDataEncryptionType"])) { + return $this->_propDict["appDataEncryptionType"]; + } else { + $this->_propDict["appDataEncryptionType"] = new ManagedAppDataEncryptionType($this->_propDict["appDataEncryptionType"]); + return $this->_propDict["appDataEncryptionType"]; + } + } + return null; + } + + /** + * Sets the appDataEncryptionType + * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * + * @param ManagedAppDataEncryptionType $val The appDataEncryptionType + * + * @return DefaultManagedAppProtection + */ + public function setAppDataEncryptionType($val) + { + $this->_propDict["appDataEncryptionType"] = $val; + return $this; + } + + /** + * Gets the biometricAuthenticationBlocked + * Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True. (Android Only) + * + * @return bool|null The biometricAuthenticationBlocked + */ + public function getBiometricAuthenticationBlocked() + { + if (array_key_exists("biometricAuthenticationBlocked", $this->_propDict)) { + return $this->_propDict["biometricAuthenticationBlocked"]; + } else { + return null; + } + } + + /** + * Sets the biometricAuthenticationBlocked + * Indicates whether use of the biometric authentication is allowed in place of a pin if PinRequired is set to True. (Android Only) + * + * @param bool $val The biometricAuthenticationBlocked + * + * @return DefaultManagedAppProtection + */ + public function setBiometricAuthenticationBlocked($val) + { + $this->_propDict["biometricAuthenticationBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the blockAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or app access will be blocked. + * + * @return int|null The blockAfterCompanyPortalUpdateDeferralInDays + */ + public function getBlockAfterCompanyPortalUpdateDeferralInDays() + { + if (array_key_exists("blockAfterCompanyPortalUpdateDeferralInDays", $this->_propDict)) { + return $this->_propDict["blockAfterCompanyPortalUpdateDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the blockAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or app access will be blocked. + * + * @param int $val The blockAfterCompanyPortalUpdateDeferralInDays + * + * @return DefaultManagedAppProtection + */ + public function setBlockAfterCompanyPortalUpdateDeferralInDays($val) + { + $this->_propDict["blockAfterCompanyPortalUpdateDeferralInDays"] = intval($val); + return $this; + } + + /** + * Gets the connectToVpnOnLaunch + * Whether the app should connect to the configured VPN on launch (Android only). + * + * @return bool|null The connectToVpnOnLaunch + */ + public function getConnectToVpnOnLaunch() + { + if (array_key_exists("connectToVpnOnLaunch", $this->_propDict)) { + return $this->_propDict["connectToVpnOnLaunch"]; + } else { + return null; + } + } + + /** + * Sets the connectToVpnOnLaunch + * Whether the app should connect to the configured VPN on launch (Android only). + * + * @param bool $val The connectToVpnOnLaunch + * + * @return DefaultManagedAppProtection + */ + public function setConnectToVpnOnLaunch($val) + { + $this->_propDict["connectToVpnOnLaunch"] = boolval($val); + return $this; + } + + /** + * Gets the customBrowserDisplayName + * Friendly name of the preferred custom browser to open weblink on Android. (Android only) + * + * @return string|null The customBrowserDisplayName + */ + public function getCustomBrowserDisplayName() + { + if (array_key_exists("customBrowserDisplayName", $this->_propDict)) { + return $this->_propDict["customBrowserDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserDisplayName + * Friendly name of the preferred custom browser to open weblink on Android. (Android only) + * + * @param string $val The customBrowserDisplayName + * + * @return DefaultManagedAppProtection + */ + public function setCustomBrowserDisplayName($val) + { + $this->_propDict["customBrowserDisplayName"] = $val; + return $this; + } + + /** + * Gets the customBrowserPackageId + * Unique identifier of a custom browser to open weblink on Android. (Android only) + * + * @return string|null The customBrowserPackageId + */ + public function getCustomBrowserPackageId() + { + if (array_key_exists("customBrowserPackageId", $this->_propDict)) { + return $this->_propDict["customBrowserPackageId"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserPackageId + * Unique identifier of a custom browser to open weblink on Android. (Android only) + * + * @param string $val The customBrowserPackageId + * + * @return DefaultManagedAppProtection + */ + public function setCustomBrowserPackageId($val) + { + $this->_propDict["customBrowserPackageId"] = $val; + return $this; + } + + /** + * Gets the customBrowserProtocol + * A custom browser protocol to open weblink on iOS. (iOS only) + * + * @return string|null The customBrowserProtocol + */ + public function getCustomBrowserProtocol() + { + if (array_key_exists("customBrowserProtocol", $this->_propDict)) { + return $this->_propDict["customBrowserProtocol"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserProtocol + * A custom browser protocol to open weblink on iOS. (iOS only) + * + * @param string $val The customBrowserProtocol + * + * @return DefaultManagedAppProtection + */ + public function setCustomBrowserProtocol($val) + { + $this->_propDict["customBrowserProtocol"] = $val; + return $this; + } + + /** + * Gets the customDialerAppDisplayName + * Friendly name of a custom dialer app to click-to-open a phone number on Android. + * + * @return string|null The customDialerAppDisplayName + */ + public function getCustomDialerAppDisplayName() + { + if (array_key_exists("customDialerAppDisplayName", $this->_propDict)) { + return $this->_propDict["customDialerAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the customDialerAppDisplayName + * Friendly name of a custom dialer app to click-to-open a phone number on Android. + * + * @param string $val The customDialerAppDisplayName + * + * @return DefaultManagedAppProtection + */ + public function setCustomDialerAppDisplayName($val) + { + $this->_propDict["customDialerAppDisplayName"] = $val; + return $this; + } + + /** + * Gets the customDialerAppPackageId + * PackageId of a custom dialer app to click-to-open a phone number on Android. + * + * @return string|null The customDialerAppPackageId + */ + public function getCustomDialerAppPackageId() + { + if (array_key_exists("customDialerAppPackageId", $this->_propDict)) { + return $this->_propDict["customDialerAppPackageId"]; + } else { + return null; + } + } + + /** + * Sets the customDialerAppPackageId + * PackageId of a custom dialer app to click-to-open a phone number on Android. + * + * @param string $val The customDialerAppPackageId + * + * @return DefaultManagedAppProtection + */ + public function setCustomDialerAppPackageId($val) + { + $this->_propDict["customDialerAppPackageId"] = $val; + return $this; + } + + /** + * Gets the customDialerAppProtocol + * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. + * + * @return string|null The customDialerAppProtocol + */ + public function getCustomDialerAppProtocol() + { + if (array_key_exists("customDialerAppProtocol", $this->_propDict)) { + return $this->_propDict["customDialerAppProtocol"]; + } else { + return null; + } + } + + /** + * Sets the customDialerAppProtocol + * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. + * + * @param string $val The customDialerAppProtocol + * + * @return DefaultManagedAppProtection + */ + public function setCustomDialerAppProtocol($val) + { + $this->_propDict["customDialerAppProtocol"] = $val; + return $this; + } + + + /** + * Gets the customSettings + * A set of string key and string value pairs to be sent to the affected users, unalterned by this service + * + * @return array|null The customSettings + */ + public function getCustomSettings() + { + if (array_key_exists("customSettings", $this->_propDict)) { + return $this->_propDict["customSettings"]; + } else { + return null; + } + } + + /** + * Sets the customSettings + * A set of string key and string value pairs to be sent to the affected users, unalterned by this service + * + * @param KeyValuePair[] $val The customSettings + * + * @return DefaultManagedAppProtection + */ + public function setCustomSettings($val) + { + $this->_propDict["customSettings"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return DefaultManagedAppProtection + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceLockRequired + * Defines if any kind of lock must be required on device. (android only) + * + * @return bool|null The deviceLockRequired + */ + public function getDeviceLockRequired() + { + if (array_key_exists("deviceLockRequired", $this->_propDict)) { + return $this->_propDict["deviceLockRequired"]; + } else { + return null; + } + } + + /** + * Sets the deviceLockRequired + * Defines if any kind of lock must be required on device. (android only) + * + * @param bool $val The deviceLockRequired + * + * @return DefaultManagedAppProtection + */ + public function setDeviceLockRequired($val) + { + $this->_propDict["deviceLockRequired"] = boolval($val); + return $this; + } + + /** + * Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) + * + * @return bool|null The disableAppEncryptionIfDeviceEncryptionIsEnabled + */ + public function getDisableAppEncryptionIfDeviceEncryptionIsEnabled() + { + if (array_key_exists("disableAppEncryptionIfDeviceEncryptionIsEnabled", $this->_propDict)) { + return $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) + * + * @param bool $val The disableAppEncryptionIfDeviceEncryptionIsEnabled + * + * @return DefaultManagedAppProtection + */ + public function setDisableAppEncryptionIfDeviceEncryptionIsEnabled($val) + { + $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the disableProtectionOfManagedOutboundOpenInData + * Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. (iOS Only) + * + * @return bool|null The disableProtectionOfManagedOutboundOpenInData + */ + public function getDisableProtectionOfManagedOutboundOpenInData() + { + if (array_key_exists("disableProtectionOfManagedOutboundOpenInData", $this->_propDict)) { + return $this->_propDict["disableProtectionOfManagedOutboundOpenInData"]; + } else { + return null; + } + } + + /** + * Sets the disableProtectionOfManagedOutboundOpenInData + * Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. (iOS Only) + * + * @param bool $val The disableProtectionOfManagedOutboundOpenInData + * + * @return DefaultManagedAppProtection + */ + public function setDisableProtectionOfManagedOutboundOpenInData($val) + { + $this->_propDict["disableProtectionOfManagedOutboundOpenInData"] = boolval($val); + return $this; + } + + /** + * Gets the encryptAppData + * Indicates whether managed-app data should be encrypted. (Android only) + * + * @return bool|null The encryptAppData + */ + public function getEncryptAppData() + { + if (array_key_exists("encryptAppData", $this->_propDict)) { + return $this->_propDict["encryptAppData"]; + } else { + return null; + } + } + + /** + * Sets the encryptAppData + * Indicates whether managed-app data should be encrypted. (Android only) + * + * @param bool $val The encryptAppData + * + * @return DefaultManagedAppProtection + */ + public function setEncryptAppData($val) + { + $this->_propDict["encryptAppData"] = boolval($val); + return $this; + } + + + /** + * Gets the exemptedAppPackages + * Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only) + * + * @return array|null The exemptedAppPackages + */ + public function getExemptedAppPackages() + { + if (array_key_exists("exemptedAppPackages", $this->_propDict)) { + return $this->_propDict["exemptedAppPackages"]; + } else { + return null; + } + } + + /** + * Sets the exemptedAppPackages + * Android App packages in this list will be exempt from the policy and will be able to receive data from managed apps. (Android only) + * + * @param KeyValuePair[] $val The exemptedAppPackages + * + * @return DefaultManagedAppProtection + */ + public function setExemptedAppPackages($val) + { + $this->_propDict["exemptedAppPackages"] = $val; + return $this; + } + + + /** + * Gets the exemptedAppProtocols + * iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only) + * + * @return array|null The exemptedAppProtocols + */ + public function getExemptedAppProtocols() + { + if (array_key_exists("exemptedAppProtocols", $this->_propDict)) { + return $this->_propDict["exemptedAppProtocols"]; + } else { + return null; + } + } + + /** + * Sets the exemptedAppProtocols + * iOS Apps in this list will be exempt from the policy and will be able to receive data from managed apps. (iOS Only) + * + * @param KeyValuePair[] $val The exemptedAppProtocols + * + * @return DefaultManagedAppProtection + */ + public function setExemptedAppProtocols($val) + { + $this->_propDict["exemptedAppProtocols"] = $val; + return $this; + } + + /** + * Gets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) + * + * @return bool|null The faceIdBlocked + */ + public function getFaceIdBlocked() + { + if (array_key_exists("faceIdBlocked", $this->_propDict)) { + return $this->_propDict["faceIdBlocked"]; + } else { + return null; + } + } + + /** + * Sets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) + * + * @param bool $val The faceIdBlocked + * + * @return DefaultManagedAppProtection + */ + public function setFaceIdBlocked($val) + { + $this->_propDict["faceIdBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the filterOpenInToOnlyManagedApps + * Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only) + * + * @return bool|null The filterOpenInToOnlyManagedApps + */ + public function getFilterOpenInToOnlyManagedApps() + { + if (array_key_exists("filterOpenInToOnlyManagedApps", $this->_propDict)) { + return $this->_propDict["filterOpenInToOnlyManagedApps"]; + } else { + return null; + } + } + + /** + * Sets the filterOpenInToOnlyManagedApps + * Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. (iOS Only) + * + * @param bool $val The filterOpenInToOnlyManagedApps + * + * @return DefaultManagedAppProtection + */ + public function setFilterOpenInToOnlyManagedApps($val) + { + $this->_propDict["filterOpenInToOnlyManagedApps"] = boolval($val); + return $this; + } + + /** + * Gets the minimumRequiredCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or app access will be blocked + * + * @return string|null The minimumRequiredCompanyPortalVersion + */ + public function getMinimumRequiredCompanyPortalVersion() + { + if (array_key_exists("minimumRequiredCompanyPortalVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredCompanyPortalVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or app access will be blocked + * + * @param string $val The minimumRequiredCompanyPortalVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumRequiredCompanyPortalVersion($val) + { + $this->_propDict["minimumRequiredCompanyPortalVersion"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) + * + * @return string|null The minimumRequiredPatchVersion + */ + public function getMinimumRequiredPatchVersion() + { + if (array_key_exists("minimumRequiredPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) + * + * @param string $val The minimumRequiredPatchVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumRequiredPatchVersion($val) + { + $this->_propDict["minimumRequiredPatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) + * + * @return string|null The minimumRequiredSdkVersion + */ + public function getMinimumRequiredSdkVersion() + { + if (array_key_exists("minimumRequiredSdkVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) + * + * @param string $val The minimumRequiredSdkVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumRequiredSdkVersion($val) + { + $this->_propDict["minimumRequiredSdkVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the user will receive a warning + * + * @return string|null The minimumWarningCompanyPortalVersion + */ + public function getMinimumWarningCompanyPortalVersion() + { + if (array_key_exists("minimumWarningCompanyPortalVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningCompanyPortalVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the user will receive a warning + * + * @param string $val The minimumWarningCompanyPortalVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumWarningCompanyPortalVersion($val) + { + $this->_propDict["minimumWarningCompanyPortalVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + * + * @return string|null The minimumWarningPatchVersion + */ + public function getMinimumWarningPatchVersion() + { + if (array_key_exists("minimumWarningPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + * + * @param string $val The minimumWarningPatchVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumWarningPatchVersion($val) + { + $this->_propDict["minimumWarningPatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipeCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped + * + * @return string|null The minimumWipeCompanyPortalVersion + */ + public function getMinimumWipeCompanyPortalVersion() + { + if (array_key_exists("minimumWipeCompanyPortalVersion", $this->_propDict)) { + return $this->_propDict["minimumWipeCompanyPortalVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipeCompanyPortalVersion + * Minimum version of the Company portal that must be installed on the device or the company data on the app will be wiped + * + * @param string $val The minimumWipeCompanyPortalVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumWipeCompanyPortalVersion($val) + { + $this->_propDict["minimumWipeCompanyPortalVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipePatchVersion + * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only) + * + * @return string|null The minimumWipePatchVersion + */ + public function getMinimumWipePatchVersion() + { + if (array_key_exists("minimumWipePatchVersion", $this->_propDict)) { + return $this->_propDict["minimumWipePatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipePatchVersion + * Android security patch level less than or equal to the specified value will wipe the managed app and the associated company data. (Android only) + * + * @param string $val The minimumWipePatchVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumWipePatchVersion($val) + { + $this->_propDict["minimumWipePatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipeSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumWipeSdkVersion + */ + public function getMinimumWipeSdkVersion() + { + if (array_key_exists("minimumWipeSdkVersion", $this->_propDict)) { + return $this->_propDict["minimumWipeSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipeSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumWipeSdkVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumWipeSdkVersion($val) + { + $this->_propDict["minimumWipeSdkVersion"] = $val; + return $this; + } + + /** + * Gets the protectInboundDataFromUnknownSources + * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only) + * + * @return bool|null The protectInboundDataFromUnknownSources + */ + public function getProtectInboundDataFromUnknownSources() + { + if (array_key_exists("protectInboundDataFromUnknownSources", $this->_propDict)) { + return $this->_propDict["protectInboundDataFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the protectInboundDataFromUnknownSources + * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. (iOS Only) + * + * @param bool $val The protectInboundDataFromUnknownSources + * + * @return DefaultManagedAppProtection + */ + public function setProtectInboundDataFromUnknownSources($val) + { + $this->_propDict["protectInboundDataFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the requiredAndroidSafetyNetAppsVerificationType + * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. Possible values are: none, enabled. + * + * @return AndroidManagedAppSafetyNetAppsVerificationType|null The requiredAndroidSafetyNetAppsVerificationType + */ + public function getRequiredAndroidSafetyNetAppsVerificationType() + { + if (array_key_exists("requiredAndroidSafetyNetAppsVerificationType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetAppsVerificationType") || is_null($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"])) { + return $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"]; + } else { + $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"] = new AndroidManagedAppSafetyNetAppsVerificationType($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"]); + return $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"]; + } + } + return null; + } + + /** + * Sets the requiredAndroidSafetyNetAppsVerificationType + * Defines the Android SafetyNet Apps Verification requirement for a managed app to work. Possible values are: none, enabled. + * + * @param AndroidManagedAppSafetyNetAppsVerificationType $val The requiredAndroidSafetyNetAppsVerificationType + * + * @return DefaultManagedAppProtection + */ + public function setRequiredAndroidSafetyNetAppsVerificationType($val) + { + $this->_propDict["requiredAndroidSafetyNetAppsVerificationType"] = $val; + return $this; + } + + /** + * Gets the requiredAndroidSafetyNetDeviceAttestationType + * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. Possible values are: none, basicIntegrity, basicIntegrityAndDeviceCertification. + * + * @return AndroidManagedAppSafetyNetDeviceAttestationType|null The requiredAndroidSafetyNetDeviceAttestationType + */ + public function getRequiredAndroidSafetyNetDeviceAttestationType() + { + if (array_key_exists("requiredAndroidSafetyNetDeviceAttestationType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetDeviceAttestationType") || is_null($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"])) { + return $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"]; + } else { + $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"] = new AndroidManagedAppSafetyNetDeviceAttestationType($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"]); + return $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"]; + } + } + return null; + } + + /** + * Sets the requiredAndroidSafetyNetDeviceAttestationType + * Defines the Android SafetyNet Device Attestation requirement for a managed app to work. Possible values are: none, basicIntegrity, basicIntegrityAndDeviceCertification. + * + * @param AndroidManagedAppSafetyNetDeviceAttestationType $val The requiredAndroidSafetyNetDeviceAttestationType + * + * @return DefaultManagedAppProtection + */ + public function setRequiredAndroidSafetyNetDeviceAttestationType($val) + { + $this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"] = $val; + return $this; + } + + /** + * Gets the requiredAndroidSafetyNetEvaluationType + * Defines the Android SafetyNet evaluation type requirement for a managed app to work. (Android Only). Possible values are: basic, hardwareBacked. + * + * @return AndroidManagedAppSafetyNetEvaluationType|null The requiredAndroidSafetyNetEvaluationType + */ + public function getRequiredAndroidSafetyNetEvaluationType() + { + if (array_key_exists("requiredAndroidSafetyNetEvaluationType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAndroidSafetyNetEvaluationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetEvaluationType") || is_null($this->_propDict["requiredAndroidSafetyNetEvaluationType"])) { + return $this->_propDict["requiredAndroidSafetyNetEvaluationType"]; + } else { + $this->_propDict["requiredAndroidSafetyNetEvaluationType"] = new AndroidManagedAppSafetyNetEvaluationType($this->_propDict["requiredAndroidSafetyNetEvaluationType"]); + return $this->_propDict["requiredAndroidSafetyNetEvaluationType"]; + } + } + return null; + } + + /** + * Sets the requiredAndroidSafetyNetEvaluationType + * Defines the Android SafetyNet evaluation type requirement for a managed app to work. (Android Only). Possible values are: basic, hardwareBacked. + * + * @param AndroidManagedAppSafetyNetEvaluationType $val The requiredAndroidSafetyNetEvaluationType + * + * @return DefaultManagedAppProtection + */ + public function setRequiredAndroidSafetyNetEvaluationType($val) + { + $this->_propDict["requiredAndroidSafetyNetEvaluationType"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether screen capture is blocked. (Android only) + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether screen capture is blocked. (Android only) + * + * @param bool $val The screenCaptureBlocked + * + * @return DefaultManagedAppProtection + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the thirdPartyKeyboardsBlocked + * Defines if third party keyboards are allowed while accessing a managed app. (iOS Only) + * + * @return bool|null The thirdPartyKeyboardsBlocked + */ + public function getThirdPartyKeyboardsBlocked() + { + if (array_key_exists("thirdPartyKeyboardsBlocked", $this->_propDict)) { + return $this->_propDict["thirdPartyKeyboardsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the thirdPartyKeyboardsBlocked + * Defines if third party keyboards are allowed while accessing a managed app. (iOS Only) + * + * @param bool $val The thirdPartyKeyboardsBlocked + * + * @return DefaultManagedAppProtection + */ + public function setThirdPartyKeyboardsBlocked($val) + { + $this->_propDict["thirdPartyKeyboardsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the warnAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning + * + * @return int|null The warnAfterCompanyPortalUpdateDeferralInDays + */ + public function getWarnAfterCompanyPortalUpdateDeferralInDays() + { + if (array_key_exists("warnAfterCompanyPortalUpdateDeferralInDays", $this->_propDict)) { + return $this->_propDict["warnAfterCompanyPortalUpdateDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the warnAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the user will receive the warning + * + * @param int $val The warnAfterCompanyPortalUpdateDeferralInDays + * + * @return DefaultManagedAppProtection + */ + public function setWarnAfterCompanyPortalUpdateDeferralInDays($val) + { + $this->_propDict["warnAfterCompanyPortalUpdateDeferralInDays"] = intval($val); + return $this; + } + + /** + * Gets the wipeAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped + * + * @return int|null The wipeAfterCompanyPortalUpdateDeferralInDays + */ + public function getWipeAfterCompanyPortalUpdateDeferralInDays() + { + if (array_key_exists("wipeAfterCompanyPortalUpdateDeferralInDays", $this->_propDict)) { + return $this->_propDict["wipeAfterCompanyPortalUpdateDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the wipeAfterCompanyPortalUpdateDeferralInDays + * Maximum number of days Company Portal update can be deferred on the device or the company data on the app will be wiped + * + * @param int $val The wipeAfterCompanyPortalUpdateDeferralInDays + * + * @return DefaultManagedAppProtection + */ + public function setWipeAfterCompanyPortalUpdateDeferralInDays($val) + { + $this->_propDict["wipeAfterCompanyPortalUpdateDeferralInDays"] = intval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return DefaultManagedAppProtection + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return DefaultManagedAppProtection + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultMfaMethodType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultMfaMethodType.php new file mode 100644 index 0000000..e46b526 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultMfaMethodType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * + * @param bool $val The isDefault + * + * @return DefaultUserRoleOverride + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + + /** + * Gets the rolePermissions + * + * @return array|null The rolePermissions + */ + public function getRolePermissions() + { + if (array_key_exists("rolePermissions", $this->_propDict)) { + return $this->_propDict["rolePermissions"]; + } else { + return null; + } + } + + /** + * Sets the rolePermissions + * + * @param UnifiedRolePermission[] $val The rolePermissions + * + * @return DefaultUserRoleOverride + */ + public function setRolePermissions($val) + { + $this->_propDict["rolePermissions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php new file mode 100644 index 0000000..4d10517 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["allowedToCreateApps"]; + } else { + return null; + } + } + + /** + * Sets the allowedToCreateApps + * Indicates whether the default user role can create applications. + * + * @param bool $val The value of the allowedToCreateApps + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToCreateApps($val) + { + $this->_propDict["allowedToCreateApps"] = $val; + return $this; + } + /** + * Gets the allowedToCreateSecurityGroups + * Indicates whether the default user role can create security groups. + * + * @return bool|null The allowedToCreateSecurityGroups + */ + public function getAllowedToCreateSecurityGroups() + { + if (array_key_exists("allowedToCreateSecurityGroups", $this->_propDict)) { + return $this->_propDict["allowedToCreateSecurityGroups"]; + } else { + return null; + } + } + + /** + * Sets the allowedToCreateSecurityGroups + * Indicates whether the default user role can create security groups. + * + * @param bool $val The value of the allowedToCreateSecurityGroups + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToCreateSecurityGroups($val) + { + $this->_propDict["allowedToCreateSecurityGroups"] = $val; + return $this; + } + /** + * Gets the allowedToReadOtherUsers + * Indicates whether the default user role can read other users. + * + * @return bool|null The allowedToReadOtherUsers + */ + public function getAllowedToReadOtherUsers() + { + if (array_key_exists("allowedToReadOtherUsers", $this->_propDict)) { + return $this->_propDict["allowedToReadOtherUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowedToReadOtherUsers + * Indicates whether the default user role can read other users. + * + * @param bool $val The value of the allowedToReadOtherUsers + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToReadOtherUsers($val) + { + $this->_propDict["allowedToReadOtherUsers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderAttackSurfaceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderAttackSurfaceType.php new file mode 100644 index 0000000..9273335 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderAttackSurfaceType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["highSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["highSeverity"])) { + return $this->_propDict["highSeverity"]; + } else { + $this->_propDict["highSeverity"] = new DefenderThreatAction($this->_propDict["highSeverity"]); + return $this->_propDict["highSeverity"]; + } + } + return null; + } + + /** + * Sets the highSeverity + * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the highSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setHighSeverity($val) + { + $this->_propDict["highSeverity"] = $val; + return $this; + } + + /** + * Gets the lowSeverity + * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @return DefenderThreatAction|null The lowSeverity + */ + public function getLowSeverity() + { + if (array_key_exists("lowSeverity", $this->_propDict)) { + if (is_a($this->_propDict["lowSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["lowSeverity"])) { + return $this->_propDict["lowSeverity"]; + } else { + $this->_propDict["lowSeverity"] = new DefenderThreatAction($this->_propDict["lowSeverity"]); + return $this->_propDict["lowSeverity"]; + } + } + return null; + } + + /** + * Sets the lowSeverity + * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the lowSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setLowSeverity($val) + { + $this->_propDict["lowSeverity"] = $val; + return $this; + } + + /** + * Gets the moderateSeverity + * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @return DefenderThreatAction|null The moderateSeverity + */ + public function getModerateSeverity() + { + if (array_key_exists("moderateSeverity", $this->_propDict)) { + if (is_a($this->_propDict["moderateSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["moderateSeverity"])) { + return $this->_propDict["moderateSeverity"]; + } else { + $this->_propDict["moderateSeverity"] = new DefenderThreatAction($this->_propDict["moderateSeverity"]); + return $this->_propDict["moderateSeverity"]; + } + } + return null; + } + + /** + * Sets the moderateSeverity + * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the moderateSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setModerateSeverity($val) + { + $this->_propDict["moderateSeverity"] = $val; + return $this; + } + + /** + * Gets the severeSeverity + * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @return DefenderThreatAction|null The severeSeverity + */ + public function getSevereSeverity() + { + if (array_key_exists("severeSeverity", $this->_propDict)) { + if (is_a($this->_propDict["severeSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["severeSeverity"])) { + return $this->_propDict["severeSeverity"]; + } else { + $this->_propDict["severeSeverity"] = new DefenderThreatAction($this->_propDict["severeSeverity"]); + return $this->_propDict["severeSeverity"]; + } + } + return null; + } + + /** + * Sets the severeSeverity + * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the severeSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setSevereSeverity($val) + { + $this->_propDict["severeSeverity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderMonitorFileActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderMonitorFileActivity.php new file mode 100644 index 0000000..6fcc469 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderMonitorFileActivity.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["accessContainer"], "\Beta\Microsoft\Graph\Model\DelegatedAdminAccessContainer") || is_null($this->_propDict["accessContainer"])) { + return $this->_propDict["accessContainer"]; + } else { + $this->_propDict["accessContainer"] = new DelegatedAdminAccessContainer($this->_propDict["accessContainer"]); + return $this->_propDict["accessContainer"]; + } + } + return null; + } + + /** + * Sets the accessContainer + * The access container through which members are assigned access. For example, a security group. + * + * @param DelegatedAdminAccessContainer $val The accessContainer + * + * @return DelegatedAdminAccessAssignment + */ + public function setAccessContainer($val) + { + $this->_propDict["accessContainer"] = $val; + return $this; + } + + /** + * Gets the accessDetails + * The access details containing the identifiers of the administrative roles that the partner is assigned in the customer tenant. + * + * @return DelegatedAdminAccessDetails|null The accessDetails + */ + public function getAccessDetails() + { + if (array_key_exists("accessDetails", $this->_propDict)) { + if (is_a($this->_propDict["accessDetails"], "\Beta\Microsoft\Graph\Model\DelegatedAdminAccessDetails") || is_null($this->_propDict["accessDetails"])) { + return $this->_propDict["accessDetails"]; + } else { + $this->_propDict["accessDetails"] = new DelegatedAdminAccessDetails($this->_propDict["accessDetails"]); + return $this->_propDict["accessDetails"]; + } + } + return null; + } + + /** + * Sets the accessDetails + * The access details containing the identifiers of the administrative roles that the partner is assigned in the customer tenant. + * + * @param DelegatedAdminAccessDetails $val The accessDetails + * + * @return DelegatedAdminAccessAssignment + */ + public function setAccessDetails($val) + { + $this->_propDict["accessDetails"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time in ISO 8601 format and in UTC time when the access assignment was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time in ISO 8601 format and in UTC time when the access assignment was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DelegatedAdminAccessAssignment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time in ISO 8601 and in UTC time when this access assignment was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time in ISO 8601 and in UTC time when this access assignment was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DelegatedAdminAccessAssignment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the access assignment. Read-only. The possible values are: pending, active, deleting, deleted, error, unknownFutureValue. + * + * @return DelegatedAdminAccessAssignmentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DelegatedAdminAccessAssignmentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DelegatedAdminAccessAssignmentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the access assignment. Read-only. The possible values are: pending, active, deleting, deleted, error, unknownFutureValue. + * + * @param DelegatedAdminAccessAssignmentStatus $val The status + * + * @return DelegatedAdminAccessAssignment + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminAccessAssignmentStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminAccessAssignmentStatus.php new file mode 100644 index 0000000..270bfd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminAccessAssignmentStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["accessContainerId"]; + } else { + return null; + } + } + + /** + * Sets the accessContainerId + * The identifier of the access container (for example, a security group). For 'securityGroup' access containers, this must be a valid ID of an Azure AD security group in the Microsoft partner's tenant. + * + * @param string $val The value of the accessContainerId + * + * @return DelegatedAdminAccessContainer + */ + public function setAccessContainerId($val) + { + $this->_propDict["accessContainerId"] = $val; + return $this; + } + + /** + * Gets the accessContainerType + * The type of access container (for example, security group) that will be assigned one or more roles through a delegated admin relationship. The possible values are: securityGroup, unknownFutureValue. + * + * @return DelegatedAdminAccessContainerType|null The accessContainerType + */ + public function getAccessContainerType() + { + if (array_key_exists("accessContainerType", $this->_propDict)) { + if (is_a($this->_propDict["accessContainerType"], "\Beta\Microsoft\Graph\Model\DelegatedAdminAccessContainerType") || is_null($this->_propDict["accessContainerType"])) { + return $this->_propDict["accessContainerType"]; + } else { + $this->_propDict["accessContainerType"] = new DelegatedAdminAccessContainerType($this->_propDict["accessContainerType"]); + return $this->_propDict["accessContainerType"]; + } + } + return null; + } + + /** + * Sets the accessContainerType + * The type of access container (for example, security group) that will be assigned one or more roles through a delegated admin relationship. The possible values are: securityGroup, unknownFutureValue. + * + * @param DelegatedAdminAccessContainerType $val The value to assign to the accessContainerType + * + * @return DelegatedAdminAccessContainer The DelegatedAdminAccessContainer + */ + public function setAccessContainerType($val) + { + $this->_propDict["accessContainerType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminAccessContainerType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminAccessContainerType.php new file mode 100644 index 0000000..688c7be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminAccessContainerType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["unifiedRoles"], "\Beta\Microsoft\Graph\Model\UnifiedRole") || is_null($this->_propDict["unifiedRoles"])) { + return $this->_propDict["unifiedRoles"]; + } else { + $this->_propDict["unifiedRoles"] = new UnifiedRole($this->_propDict["unifiedRoles"]); + return $this->_propDict["unifiedRoles"]; + } + } + return null; + } + + /** + * Sets the unifiedRoles + * The directory roles that the Microsoft partner is assigned in the customer tenant. + * + * @param UnifiedRole $val The value to assign to the unifiedRoles + * + * @return DelegatedAdminAccessDetails The DelegatedAdminAccessDetails + */ + public function setUnifiedRoles($val) + { + $this->_propDict["unifiedRoles"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminCustomer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminCustomer.php new file mode 100644 index 0000000..2de1611 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminCustomer.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The Azure AD display name of the customer tenant. Read-only. Supports $orderBy. + * + * @param string $val The displayName + * + * @return DelegatedAdminCustomer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The Azure AD-assigned tenant ID of the customer. Read-only. + * + * @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 + * The Azure AD-assigned tenant ID of the customer. Read-only. + * + * @param string $val The tenantId + * + * @return DelegatedAdminCustomer + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + + /** + * Gets the serviceManagementDetails + * Contains the management details of a service in the customer tenant that's managed by delegated administration. + * + * @return array|null The serviceManagementDetails + */ + public function getServiceManagementDetails() + { + if (array_key_exists("serviceManagementDetails", $this->_propDict)) { + return $this->_propDict["serviceManagementDetails"]; + } else { + return null; + } + } + + /** + * Sets the serviceManagementDetails + * Contains the management details of a service in the customer tenant that's managed by delegated administration. + * + * @param DelegatedAdminServiceManagementDetail[] $val The serviceManagementDetails + * + * @return DelegatedAdminCustomer + */ + public function setServiceManagementDetails($val) + { + $this->_propDict["serviceManagementDetails"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php new file mode 100644 index 0000000..09af82b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationship.php @@ -0,0 +1,441 @@ +_propDict)) { + if (is_a($this->_propDict["accessDetails"], "\Beta\Microsoft\Graph\Model\DelegatedAdminAccessDetails") || is_null($this->_propDict["accessDetails"])) { + return $this->_propDict["accessDetails"]; + } else { + $this->_propDict["accessDetails"] = new DelegatedAdminAccessDetails($this->_propDict["accessDetails"]); + return $this->_propDict["accessDetails"]; + } + } + return null; + } + + /** + * Sets the accessDetails + * The access details containing the identifiers of the administrative roles that the partner admin is requesting in the customer tenant. + * + * @param DelegatedAdminAccessDetails $val The accessDetails + * + * @return DelegatedAdminRelationship + */ + public function setAccessDetails($val) + { + $this->_propDict["accessDetails"] = $val; + return $this; + } + + /** + * Gets the activatedDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship became active. Read-only. + * + * @return \DateTime|null The activatedDateTime + */ + public function getActivatedDateTime() + { + if (array_key_exists("activatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activatedDateTime"], "\DateTime") || is_null($this->_propDict["activatedDateTime"])) { + return $this->_propDict["activatedDateTime"]; + } else { + $this->_propDict["activatedDateTime"] = new \DateTime($this->_propDict["activatedDateTime"]); + return $this->_propDict["activatedDateTime"]; + } + } + return null; + } + + /** + * Sets the activatedDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship became active. Read-only. + * + * @param \DateTime $val The activatedDateTime + * + * @return DelegatedAdminRelationship + */ + public function setActivatedDateTime($val) + { + $this->_propDict["activatedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DelegatedAdminRelationship + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the customer + * The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Cannot be changed by the customer. + * + * @return DelegatedAdminRelationshipCustomerParticipant|null The customer + */ + public function getCustomer() + { + if (array_key_exists("customer", $this->_propDict)) { + if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipCustomerParticipant") || is_null($this->_propDict["customer"])) { + return $this->_propDict["customer"]; + } else { + $this->_propDict["customer"] = new DelegatedAdminRelationshipCustomerParticipant($this->_propDict["customer"]); + return $this->_propDict["customer"]; + } + } + return null; + } + + /** + * Sets the customer + * The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Cannot be changed by the customer. + * + * @param DelegatedAdminRelationshipCustomerParticipant $val The customer + * + * @return DelegatedAdminRelationship + */ + public function setCustomer($val) + { + $this->_propDict["customer"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * + * @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 + * The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * + * @param string $val The displayName + * + * @return DelegatedAdminRelationship + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the duration + * The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * + * @return \DateInterval|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. + * + * @param \DateInterval $val The duration + * + * @return DelegatedAdminRelationship + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time in ISO 8601 format and in UTC time when the status of relationship changes to either terminated or expired. Calculated as endDateTime = activatedDateTime + duration. Read-only. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time in ISO 8601 format and in UTC time when the status of relationship changes to either terminated or expired. Calculated as endDateTime = activatedDateTime + duration. Read-only. + * + * @param \DateTime $val The endDateTime + * + * @return DelegatedAdminRelationship + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DelegatedAdminRelationship + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the partner + * + * @return DelegatedAdminRelationshipParticipant|null The partner + */ + public function getPartner() + { + if (array_key_exists("partner", $this->_propDict)) { + if (is_a($this->_propDict["partner"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipParticipant") || is_null($this->_propDict["partner"])) { + return $this->_propDict["partner"]; + } else { + $this->_propDict["partner"] = new DelegatedAdminRelationshipParticipant($this->_propDict["partner"]); + return $this->_propDict["partner"]; + } + } + return null; + } + + /** + * Sets the partner + * + * @param DelegatedAdminRelationshipParticipant $val The partner + * + * @return DelegatedAdminRelationship + */ + public function setPartner($val) + { + $this->_propDict["partner"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. + * + * @return DelegatedAdminRelationshipStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DelegatedAdminRelationshipStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. + * + * @param DelegatedAdminRelationshipStatus $val The status + * + * @return DelegatedAdminRelationship + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the accessAssignments + * The access assignments associated with the delegated admin relationship. + * + * @return array|null The accessAssignments + */ + public function getAccessAssignments() + { + if (array_key_exists("accessAssignments", $this->_propDict)) { + return $this->_propDict["accessAssignments"]; + } else { + return null; + } + } + + /** + * Sets the accessAssignments + * The access assignments associated with the delegated admin relationship. + * + * @param DelegatedAdminAccessAssignment[] $val The accessAssignments + * + * @return DelegatedAdminRelationship + */ + public function setAccessAssignments($val) + { + $this->_propDict["accessAssignments"] = $val; + return $this; + } + + + /** + * Gets the operations + * The long running operations associated with the delegated admin relationship. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The long running operations associated with the delegated admin relationship. + * + * @param DelegatedAdminRelationshipOperation[] $val The operations + * + * @return DelegatedAdminRelationship + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the requests + * The requests associated with the delegated admin relationship. + * + * @return array|null The requests + */ + public function getRequests() + { + if (array_key_exists("requests", $this->_propDict)) { + return $this->_propDict["requests"]; + } else { + return null; + } + } + + /** + * Sets the requests + * The requests associated with the delegated admin relationship. + * + * @param DelegatedAdminRelationshipRequest[] $val The requests + * + * @return DelegatedAdminRelationship + */ + public function setRequests($val) + { + $this->_propDict["requests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipCustomerParticipant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipCustomerParticipant.php new file mode 100644 index 0000000..e6f57a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipCustomerParticipant.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the customer tenant as set by Azure AD. Read only + * + * @param string $val The value of the displayName + * + * @return DelegatedAdminRelationshipCustomerParticipant + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the tenantId + * The Azure AD-assigned tenant ID of the customer tenant. + * + * @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 + * The Azure AD-assigned tenant ID of the customer tenant. + * + * @param string $val The value of the tenantId + * + * @return DelegatedAdminRelationshipCustomerParticipant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipOperation.php new file mode 100644 index 0000000..badab32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipOperation.php @@ -0,0 +1,188 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time in ISO 8601 format and in UTC time when the long-running operation was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DelegatedAdminRelationshipOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the data + * The data (payload) for the operation. Read-only. + * + * @return string|null The data + */ + public function getData() + { + if (array_key_exists("data", $this->_propDict)) { + return $this->_propDict["data"]; + } else { + return null; + } + } + + /** + * Sets the data + * The data (payload) for the operation. Read-only. + * + * @param string $val The data + * + * @return DelegatedAdminRelationshipOperation + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The time in ISO 8601 format and in UTC time when the long-running operation was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The time in ISO 8601 format and in UTC time when the long-running operation was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DelegatedAdminRelationshipOperation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the operationType + * The type of long-running operation. The possible values are: delegatedAdminAccessAssignmentUpdate, unknownFutureValue. Read-only. + * + * @return DelegatedAdminRelationshipOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new DelegatedAdminRelationshipOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The type of long-running operation. The possible values are: delegatedAdminAccessAssignmentUpdate, unknownFutureValue. Read-only. + * + * @param DelegatedAdminRelationshipOperationType $val The operationType + * + * @return DelegatedAdminRelationshipOperation + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the operation. Read-only. The possible values are: notStarted, running, complete, failed, unknownFutureValue. Read-only. Supports $orderBy. + * + * @return DelegatedAdminRelationshipOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DelegatedAdminRelationshipOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the operation. Read-only. The possible values are: notStarted, running, complete, failed, unknownFutureValue. Read-only. Supports $orderBy. + * + * @param DelegatedAdminRelationshipOperationStatus $val The status + * + * @return DelegatedAdminRelationshipOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipOperationStatus.php new file mode 100644 index 0000000..74b9119 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipOperationStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * + * @param string $val The value of the tenantId + * + * @return DelegatedAdminRelationshipParticipant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequest.php new file mode 100644 index 0000000..33e6fed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequest.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipRequestAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new DelegatedAdminRelationshipRequestAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action to be performed on the delegated admin relationship. + * + * @param DelegatedAdminRelationshipRequestAction $val The action + * + * @return DelegatedAdminRelationshipRequest + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship request was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time in ISO 8601 format and in UTC time when the relationship request was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DelegatedAdminRelationshipRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time in ISO 8601 format and UTC time when this relationship request was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time in ISO 8601 format and UTC time when this relationship request was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DelegatedAdminRelationshipRequest + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the request. Read-only. The possible values are: created, pending, complete, failed, unknownFutureValue. + * + * @return DelegatedAdminRelationshipRequestStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DelegatedAdminRelationshipRequestStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DelegatedAdminRelationshipRequestStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the request. Read-only. The possible values are: created, pending, complete, failed, unknownFutureValue. + * + * @param DelegatedAdminRelationshipRequestStatus $val The status + * + * @return DelegatedAdminRelationshipRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php new file mode 100644 index 0000000..17805b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedAdminRelationshipRequestAction.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * + * @param string $val The serviceId + * + * @return DelegatedAdminServiceManagementDetail + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + + /** + * Gets the serviceManagementUrl + * The URL of the management portal for the managed service. Read-only. + * + * @return string|null The serviceManagementUrl + */ + public function getServiceManagementUrl() + { + if (array_key_exists("serviceManagementUrl", $this->_propDict)) { + return $this->_propDict["serviceManagementUrl"]; + } else { + return null; + } + } + + /** + * Sets the serviceManagementUrl + * The URL of the management portal for the managed service. Read-only. + * + * @param string $val The serviceManagementUrl + * + * @return DelegatedAdminServiceManagementDetail + */ + public function setServiceManagementUrl($val) + { + $this->_propDict["serviceManagementUrl"] = $val; + return $this; + } + + /** + * Gets the serviceName + * The name of a managed service. Read-only. + * + * @return string|null The serviceName + */ + public function getServiceName() + { + if (array_key_exists("serviceName", $this->_propDict)) { + return $this->_propDict["serviceName"]; + } else { + return null; + } + } + + /** + * Sets the serviceName + * The name of a managed service. Read-only. + * + * @param string $val The serviceName + * + * @return DelegatedAdminServiceManagementDetail + */ + public function setServiceName($val) + { + $this->_propDict["serviceName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedPermissionClassification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedPermissionClassification.php new file mode 100644 index 0000000..9e4e940 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DelegatedPermissionClassification.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\PermissionClassificationType") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new PermissionClassificationType($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * The classification value being given. Possible value: low. Does not support $filter. + * + * @param PermissionClassificationType $val The classification + * + * @return DelegatedPermissionClassification + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the permissionId + * The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. + * + * @return string|null The permissionId + */ + public function getPermissionId() + { + if (array_key_exists("permissionId", $this->_propDict)) { + return $this->_propDict["permissionId"]; + } else { + return null; + } + } + + /** + * Sets the permissionId + * The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. + * + * @param string $val The permissionId + * + * @return DelegatedPermissionClassification + */ + public function setPermissionId($val) + { + $this->_propDict["permissionId"] = $val; + return $this; + } + + /** + * Gets the permissionName + * The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Does not support $filter. + * + * @return string|null The permissionName + */ + public function getPermissionName() + { + if (array_key_exists("permissionName", $this->_propDict)) { + return $this->_propDict["permissionName"]; + } else { + return null; + } + } + + /** + * Sets the permissionName + * The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Does not support $filter. + * + * @param string $val The permissionName + * + * @return DelegatedPermissionClassification + */ + public function setPermissionName($val) + { + $this->_propDict["permissionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteAction.php new file mode 100644 index 0000000..2033638 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item that was deleted. + * + * @param string $val The value of the name + * + * @return DeleteAction + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the objectType + * File or Folder, depending on the type of the deleted item. + * + * @return string|null The objectType + */ + public function getObjectType() + { + if (array_key_exists("objectType", $this->_propDict)) { + return $this->_propDict["objectType"]; + } else { + return null; + } + } + + /** + * Sets the objectType + * File or Folder, depending on the type of the deleted item. + * + * @param string $val The value of the objectType + * + * @return DeleteAction + */ + public function setObjectType($val) + { + $this->_propDict["objectType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteUserFromSharedAppleDeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteUserFromSharedAppleDeviceActionResult.php new file mode 100644 index 0000000..d00d486 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteUserFromSharedAppleDeviceActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * User principal name of the user to be deleted + * + * @param string $val The value of the userPrincipalName + * + * @return DeleteUserFromSharedAppleDeviceActionResult + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Deleted.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Deleted.php new file mode 100644 index 0000000..9fd5ae8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Deleted.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Represents the state of the deleted item. + * + * @param string $val The value of the state + * + * @return Deleted + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidth.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidth.php new file mode 100644 index 0000000..7baa32b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidth.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.deliveryOptimizationBandwidthAbsolute"); + } + + /** + * Gets the maximumDownloadBandwidthInKilobytesPerSecond + * The value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for downloads. Valid values 0 to 4294967295 + * + * @return int|null The maximumDownloadBandwidthInKilobytesPerSecond + */ + public function getMaximumDownloadBandwidthInKilobytesPerSecond() + { + if (array_key_exists("maximumDownloadBandwidthInKilobytesPerSecond", $this->_propDict)) { + return $this->_propDict["maximumDownloadBandwidthInKilobytesPerSecond"]; + } else { + return null; + } + } + + /** + * Sets the maximumDownloadBandwidthInKilobytesPerSecond + * The value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for downloads. Valid values 0 to 4294967295 + * + * @param int $val The value of the maximumDownloadBandwidthInKilobytesPerSecond + * + * @return DeliveryOptimizationBandwidthAbsolute + */ + public function setMaximumDownloadBandwidthInKilobytesPerSecond($val) + { + $this->_propDict["maximumDownloadBandwidthInKilobytesPerSecond"] = $val; + return $this; + } + /** + * Gets the maximumUploadBandwidthInKilobytesPerSecond + * The default value is 0, which permits unlimited possible bandwidth (optimized for minimal usage of upload bandwidth). Valid values 0 to 4000000 + * + * @return int|null The maximumUploadBandwidthInKilobytesPerSecond + */ + public function getMaximumUploadBandwidthInKilobytesPerSecond() + { + if (array_key_exists("maximumUploadBandwidthInKilobytesPerSecond", $this->_propDict)) { + return $this->_propDict["maximumUploadBandwidthInKilobytesPerSecond"]; + } else { + return null; + } + } + + /** + * Sets the maximumUploadBandwidthInKilobytesPerSecond + * The default value is 0, which permits unlimited possible bandwidth (optimized for minimal usage of upload bandwidth). Valid values 0 to 4000000 + * + * @param int $val The value of the maximumUploadBandwidthInKilobytesPerSecond + * + * @return DeliveryOptimizationBandwidthAbsolute + */ + public function setMaximumUploadBandwidthInKilobytesPerSecond($val) + { + $this->_propDict["maximumUploadBandwidthInKilobytesPerSecond"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthBusinessHoursLimit.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthBusinessHoursLimit.php new file mode 100644 index 0000000..343d0c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthBusinessHoursLimit.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["bandwidthBeginBusinessHours"]; + } else { + return null; + } + } + + /** + * Sets the bandwidthBeginBusinessHours + * Specifies the beginning of business hours using a 24-hour clock (0-23). Valid values 0 to 23 + * + * @param int $val The value of the bandwidthBeginBusinessHours + * + * @return DeliveryOptimizationBandwidthBusinessHoursLimit + */ + public function setBandwidthBeginBusinessHours($val) + { + $this->_propDict["bandwidthBeginBusinessHours"] = $val; + return $this; + } + /** + * Gets the bandwidthEndBusinessHours + * Specifies the end of business hours using a 24-hour clock (0-23). Valid values 0 to 23 + * + * @return int|null The bandwidthEndBusinessHours + */ + public function getBandwidthEndBusinessHours() + { + if (array_key_exists("bandwidthEndBusinessHours", $this->_propDict)) { + return $this->_propDict["bandwidthEndBusinessHours"]; + } else { + return null; + } + } + + /** + * Sets the bandwidthEndBusinessHours + * Specifies the end of business hours using a 24-hour clock (0-23). Valid values 0 to 23 + * + * @param int $val The value of the bandwidthEndBusinessHours + * + * @return DeliveryOptimizationBandwidthBusinessHoursLimit + */ + public function setBandwidthEndBusinessHours($val) + { + $this->_propDict["bandwidthEndBusinessHours"] = $val; + return $this; + } + /** + * Gets the bandwidthPercentageDuringBusinessHours + * Specifies the percentage of bandwidth to limit during business hours (0-100). Valid values 0 to 100 + * + * @return int|null The bandwidthPercentageDuringBusinessHours + */ + public function getBandwidthPercentageDuringBusinessHours() + { + if (array_key_exists("bandwidthPercentageDuringBusinessHours", $this->_propDict)) { + return $this->_propDict["bandwidthPercentageDuringBusinessHours"]; + } else { + return null; + } + } + + /** + * Sets the bandwidthPercentageDuringBusinessHours + * Specifies the percentage of bandwidth to limit during business hours (0-100). Valid values 0 to 100 + * + * @param int $val The value of the bandwidthPercentageDuringBusinessHours + * + * @return DeliveryOptimizationBandwidthBusinessHoursLimit + */ + public function setBandwidthPercentageDuringBusinessHours($val) + { + $this->_propDict["bandwidthPercentageDuringBusinessHours"] = $val; + return $this; + } + /** + * Gets the bandwidthPercentageOutsideBusinessHours + * Specifies the percentage of bandwidth to limit outsidse business hours (0-100). Valid values 0 to 100 + * + * @return int|null The bandwidthPercentageOutsideBusinessHours + */ + public function getBandwidthPercentageOutsideBusinessHours() + { + if (array_key_exists("bandwidthPercentageOutsideBusinessHours", $this->_propDict)) { + return $this->_propDict["bandwidthPercentageOutsideBusinessHours"]; + } else { + return null; + } + } + + /** + * Sets the bandwidthPercentageOutsideBusinessHours + * Specifies the percentage of bandwidth to limit outsidse business hours (0-100). Valid values 0 to 100 + * + * @param int $val The value of the bandwidthPercentageOutsideBusinessHours + * + * @return DeliveryOptimizationBandwidthBusinessHoursLimit + */ + public function setBandwidthPercentageOutsideBusinessHours($val) + { + $this->_propDict["bandwidthPercentageOutsideBusinessHours"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php new file mode 100644 index 0000000..1e7110b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.deliveryOptimizationBandwidthHoursWithPercentage"); + } + + + /** + * Gets the bandwidthBackgroundPercentageHours + * Background download percentage hours. + * + * @return DeliveryOptimizationBandwidthBusinessHoursLimit|null The bandwidthBackgroundPercentageHours + */ + public function getBandwidthBackgroundPercentageHours() + { + if (array_key_exists("bandwidthBackgroundPercentageHours", $this->_propDict)) { + if (is_a($this->_propDict["bandwidthBackgroundPercentageHours"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidthBusinessHoursLimit") || is_null($this->_propDict["bandwidthBackgroundPercentageHours"])) { + return $this->_propDict["bandwidthBackgroundPercentageHours"]; + } else { + $this->_propDict["bandwidthBackgroundPercentageHours"] = new DeliveryOptimizationBandwidthBusinessHoursLimit($this->_propDict["bandwidthBackgroundPercentageHours"]); + return $this->_propDict["bandwidthBackgroundPercentageHours"]; + } + } + return null; + } + + /** + * Sets the bandwidthBackgroundPercentageHours + * Background download percentage hours. + * + * @param DeliveryOptimizationBandwidthBusinessHoursLimit $val The value to assign to the bandwidthBackgroundPercentageHours + * + * @return DeliveryOptimizationBandwidthHoursWithPercentage The DeliveryOptimizationBandwidthHoursWithPercentage + */ + public function setBandwidthBackgroundPercentageHours($val) + { + $this->_propDict["bandwidthBackgroundPercentageHours"] = $val; + return $this; + } + + /** + * Gets the bandwidthForegroundPercentageHours + * Foreground download percentage hours. + * + * @return DeliveryOptimizationBandwidthBusinessHoursLimit|null The bandwidthForegroundPercentageHours + */ + public function getBandwidthForegroundPercentageHours() + { + if (array_key_exists("bandwidthForegroundPercentageHours", $this->_propDict)) { + if (is_a($this->_propDict["bandwidthForegroundPercentageHours"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidthBusinessHoursLimit") || is_null($this->_propDict["bandwidthForegroundPercentageHours"])) { + return $this->_propDict["bandwidthForegroundPercentageHours"]; + } else { + $this->_propDict["bandwidthForegroundPercentageHours"] = new DeliveryOptimizationBandwidthBusinessHoursLimit($this->_propDict["bandwidthForegroundPercentageHours"]); + return $this->_propDict["bandwidthForegroundPercentageHours"]; + } + } + return null; + } + + /** + * Sets the bandwidthForegroundPercentageHours + * Foreground download percentage hours. + * + * @param DeliveryOptimizationBandwidthBusinessHoursLimit $val The value to assign to the bandwidthForegroundPercentageHours + * + * @return DeliveryOptimizationBandwidthHoursWithPercentage The DeliveryOptimizationBandwidthHoursWithPercentage + */ + public function setBandwidthForegroundPercentageHours($val) + { + $this->_propDict["bandwidthForegroundPercentageHours"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthPercentage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthPercentage.php new file mode 100644 index 0000000..245a0d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthPercentage.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.deliveryOptimizationBandwidthPercentage"); + } + + /** + * Gets the maximumBackgroundBandwidthPercentage + * The default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for background downloads. Valid values 0 to 100 + * + * @return int|null The maximumBackgroundBandwidthPercentage + */ + public function getMaximumBackgroundBandwidthPercentage() + { + if (array_key_exists("maximumBackgroundBandwidthPercentage", $this->_propDict)) { + return $this->_propDict["maximumBackgroundBandwidthPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumBackgroundBandwidthPercentage + * The default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for background downloads. Valid values 0 to 100 + * + * @param int $val The value of the maximumBackgroundBandwidthPercentage + * + * @return DeliveryOptimizationBandwidthPercentage + */ + public function setMaximumBackgroundBandwidthPercentage($val) + { + $this->_propDict["maximumBackgroundBandwidthPercentage"] = $val; + return $this; + } + /** + * Gets the maximumForegroundBandwidthPercentage + * The default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for foreground downloads. Valid values 0 to 100 + * + * @return int|null The maximumForegroundBandwidthPercentage + */ + public function getMaximumForegroundBandwidthPercentage() + { + if (array_key_exists("maximumForegroundBandwidthPercentage", $this->_propDict)) { + return $this->_propDict["maximumForegroundBandwidthPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumForegroundBandwidthPercentage + * The default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for foreground downloads. Valid values 0 to 100 + * + * @param int $val The value of the maximumForegroundBandwidthPercentage + * + * @return DeliveryOptimizationBandwidthPercentage + */ + public function setMaximumForegroundBandwidthPercentage($val) + { + $this->_propDict["maximumForegroundBandwidthPercentage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdCustom.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdCustom.php new file mode 100644 index 0000000..e20cab0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdCustom.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deliveryOptimizationGroupIdCustom"); + } + + /** + * Gets the groupIdCustom + * Specifies an arbitrary group ID that the device belongs to + * + * @return string|null The groupIdCustom + */ + public function getGroupIdCustom() + { + if (array_key_exists("groupIdCustom", $this->_propDict)) { + return $this->_propDict["groupIdCustom"]; + } else { + return null; + } + } + + /** + * Sets the groupIdCustom + * Specifies an arbitrary group ID that the device belongs to + * + * @param string $val The value of the groupIdCustom + * + * @return DeliveryOptimizationGroupIdCustom + */ + public function setGroupIdCustom($val) + { + $this->_propDict["groupIdCustom"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdOptionsType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdOptionsType.php new file mode 100644 index 0000000..4224914 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdOptionsType.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deliveryOptimizationGroupIdSourceOptions"); + } + + + /** + * Gets the groupIdSourceOption + * Set this policy to restrict peer selection to a specific source. Possible values are: notConfigured, adSite, authenticatedDomainSid, dhcpUserOption, dnsSuffix. + * + * @return DeliveryOptimizationGroupIdOptionsType|null The groupIdSourceOption + */ + public function getGroupIdSourceOption() + { + if (array_key_exists("groupIdSourceOption", $this->_propDict)) { + if (is_a($this->_propDict["groupIdSourceOption"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationGroupIdOptionsType") || is_null($this->_propDict["groupIdSourceOption"])) { + return $this->_propDict["groupIdSourceOption"]; + } else { + $this->_propDict["groupIdSourceOption"] = new DeliveryOptimizationGroupIdOptionsType($this->_propDict["groupIdSourceOption"]); + return $this->_propDict["groupIdSourceOption"]; + } + } + return null; + } + + /** + * Sets the groupIdSourceOption + * Set this policy to restrict peer selection to a specific source. Possible values are: notConfigured, adSite, authenticatedDomainSid, dhcpUserOption, dnsSuffix. + * + * @param DeliveryOptimizationGroupIdOptionsType $val The value to assign to the groupIdSourceOption + * + * @return DeliveryOptimizationGroupIdSourceOptions The DeliveryOptimizationGroupIdSourceOptions + */ + public function setGroupIdSourceOption($val) + { + $this->_propDict["groupIdSourceOption"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSize.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSize.php new file mode 100644 index 0000000..bf84a0f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSize.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.deliveryOptimizationMaxCacheSizeAbsolute"); + } + + /** + * Gets the maximumCacheSizeInGigabytes + * The value 0 (zero) means "unlimited" cache. Delivery Optimization will clear the cache when the device is running low on disk space. Valid values 0 to 4294967295 + * + * @return int|null The maximumCacheSizeInGigabytes + */ + public function getMaximumCacheSizeInGigabytes() + { + if (array_key_exists("maximumCacheSizeInGigabytes", $this->_propDict)) { + return $this->_propDict["maximumCacheSizeInGigabytes"]; + } else { + return null; + } + } + + /** + * Sets the maximumCacheSizeInGigabytes + * The value 0 (zero) means "unlimited" cache. Delivery Optimization will clear the cache when the device is running low on disk space. Valid values 0 to 4294967295 + * + * @param int $val The value of the maximumCacheSizeInGigabytes + * + * @return DeliveryOptimizationMaxCacheSizeAbsolute + */ + public function setMaximumCacheSizeInGigabytes($val) + { + $this->_propDict["maximumCacheSizeInGigabytes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSizePercentage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSizePercentage.php new file mode 100644 index 0000000..fa48d31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSizePercentage.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deliveryOptimizationMaxCacheSizePercentage"); + } + + /** + * Gets the maximumCacheSizePercentage + * Specifies the maximum cache size that Delivery Optimization can utilize, as a percentage of disk size (1-100). Valid values 1 to 100 + * + * @return int|null The maximumCacheSizePercentage + */ + public function getMaximumCacheSizePercentage() + { + if (array_key_exists("maximumCacheSizePercentage", $this->_propDict)) { + return $this->_propDict["maximumCacheSizePercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumCacheSizePercentage + * Specifies the maximum cache size that Delivery Optimization can utilize, as a percentage of disk size (1-100). Valid values 1 to 100 + * + * @param int $val The value of the maximumCacheSizePercentage + * + * @return DeliveryOptimizationMaxCacheSizePercentage + */ + public function setMaximumCacheSizePercentage($val) + { + $this->_propDict["maximumCacheSizePercentage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationRestrictPeerSelectionByOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationRestrictPeerSelectionByOptions.php new file mode 100644 index 0000000..68d2823 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationRestrictPeerSelectionByOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["appleIdDisabled"]; + } else { + return null; + } + } + + /** + * Sets the appleIdDisabled + * Indicates if Apple id setup pane is disabled + * + * @param bool $val The appleIdDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setAppleIdDisabled($val) + { + $this->_propDict["appleIdDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the applePayDisabled + * Indicates if Apple pay setup pane is disabled + * + * @return bool|null The applePayDisabled + */ + public function getApplePayDisabled() + { + if (array_key_exists("applePayDisabled", $this->_propDict)) { + return $this->_propDict["applePayDisabled"]; + } else { + return null; + } + } + + /** + * Sets the applePayDisabled + * Indicates if Apple pay setup pane is disabled + * + * @param bool $val The applePayDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setApplePayDisabled($val) + { + $this->_propDict["applePayDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the configurationWebUrl + * URL for setup assistant login + * + * @return bool|null The configurationWebUrl + */ + public function getConfigurationWebUrl() + { + if (array_key_exists("configurationWebUrl", $this->_propDict)) { + return $this->_propDict["configurationWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the configurationWebUrl + * URL for setup assistant login + * + * @param bool $val The configurationWebUrl + * + * @return DepEnrollmentBaseProfile + */ + public function setConfigurationWebUrl($val) + { + $this->_propDict["configurationWebUrl"] = boolval($val); + return $this; + } + + /** + * Gets the deviceNameTemplate + * Sets a literal or name pattern. + * + * @return string|null The deviceNameTemplate + */ + public function getDeviceNameTemplate() + { + if (array_key_exists("deviceNameTemplate", $this->_propDict)) { + return $this->_propDict["deviceNameTemplate"]; + } else { + return null; + } + } + + /** + * Sets the deviceNameTemplate + * Sets a literal or name pattern. + * + * @param string $val The deviceNameTemplate + * + * @return DepEnrollmentBaseProfile + */ + public function setDeviceNameTemplate($val) + { + $this->_propDict["deviceNameTemplate"] = $val; + return $this; + } + + /** + * Gets the diagnosticsDisabled + * Indicates if diagnostics setup pane is disabled + * + * @return bool|null The diagnosticsDisabled + */ + public function getDiagnosticsDisabled() + { + if (array_key_exists("diagnosticsDisabled", $this->_propDict)) { + return $this->_propDict["diagnosticsDisabled"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticsDisabled + * Indicates if diagnostics setup pane is disabled + * + * @param bool $val The diagnosticsDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setDiagnosticsDisabled($val) + { + $this->_propDict["diagnosticsDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the displayToneSetupDisabled + * Indicates if displaytone setup screen is disabled + * + * @return bool|null The displayToneSetupDisabled + */ + public function getDisplayToneSetupDisabled() + { + if (array_key_exists("displayToneSetupDisabled", $this->_propDict)) { + return $this->_propDict["displayToneSetupDisabled"]; + } else { + return null; + } + } + + /** + * Sets the displayToneSetupDisabled + * Indicates if displaytone setup screen is disabled + * + * @param bool $val The displayToneSetupDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setDisplayToneSetupDisabled($val) + { + $this->_propDict["displayToneSetupDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the isDefault + * Indicates if this is the default profile + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates if this is the default profile + * + * @param bool $val The isDefault + * + * @return DepEnrollmentBaseProfile + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isMandatory + * Indicates if the profile is mandatory + * + * @return bool|null The isMandatory + */ + public function getIsMandatory() + { + if (array_key_exists("isMandatory", $this->_propDict)) { + return $this->_propDict["isMandatory"]; + } else { + return null; + } + } + + /** + * Sets the isMandatory + * Indicates if the profile is mandatory + * + * @param bool $val The isMandatory + * + * @return DepEnrollmentBaseProfile + */ + public function setIsMandatory($val) + { + $this->_propDict["isMandatory"] = boolval($val); + return $this; + } + + /** + * Gets the locationDisabled + * Indicates if Location service setup pane is disabled + * + * @return bool|null The locationDisabled + */ + public function getLocationDisabled() + { + if (array_key_exists("locationDisabled", $this->_propDict)) { + return $this->_propDict["locationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the locationDisabled + * Indicates if Location service setup pane is disabled + * + * @param bool $val The locationDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setLocationDisabled($val) + { + $this->_propDict["locationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the privacyPaneDisabled + * Indicates if privacy screen is disabled + * + * @return bool|null The privacyPaneDisabled + */ + public function getPrivacyPaneDisabled() + { + if (array_key_exists("privacyPaneDisabled", $this->_propDict)) { + return $this->_propDict["privacyPaneDisabled"]; + } else { + return null; + } + } + + /** + * Sets the privacyPaneDisabled + * Indicates if privacy screen is disabled + * + * @param bool $val The privacyPaneDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setPrivacyPaneDisabled($val) + { + $this->_propDict["privacyPaneDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the profileRemovalDisabled + * Indicates if the profile removal option is disabled + * + * @return bool|null The profileRemovalDisabled + */ + public function getProfileRemovalDisabled() + { + if (array_key_exists("profileRemovalDisabled", $this->_propDict)) { + return $this->_propDict["profileRemovalDisabled"]; + } else { + return null; + } + } + + /** + * Sets the profileRemovalDisabled + * Indicates if the profile removal option is disabled + * + * @param bool $val The profileRemovalDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setProfileRemovalDisabled($val) + { + $this->_propDict["profileRemovalDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the restoreBlocked + * Indicates if Restore setup pane is blocked + * + * @return bool|null The restoreBlocked + */ + public function getRestoreBlocked() + { + if (array_key_exists("restoreBlocked", $this->_propDict)) { + return $this->_propDict["restoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the restoreBlocked + * Indicates if Restore setup pane is blocked + * + * @param bool $val The restoreBlocked + * + * @return DepEnrollmentBaseProfile + */ + public function setRestoreBlocked($val) + { + $this->_propDict["restoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the screenTimeScreenDisabled + * Indicates if screen timeout setup is disabled + * + * @return bool|null The screenTimeScreenDisabled + */ + public function getScreenTimeScreenDisabled() + { + if (array_key_exists("screenTimeScreenDisabled", $this->_propDict)) { + return $this->_propDict["screenTimeScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the screenTimeScreenDisabled + * Indicates if screen timeout setup is disabled + * + * @param bool $val The screenTimeScreenDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setScreenTimeScreenDisabled($val) + { + $this->_propDict["screenTimeScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the siriDisabled + * Indicates if siri setup pane is disabled + * + * @return bool|null The siriDisabled + */ + public function getSiriDisabled() + { + if (array_key_exists("siriDisabled", $this->_propDict)) { + return $this->_propDict["siriDisabled"]; + } else { + return null; + } + } + + /** + * Sets the siriDisabled + * Indicates if siri setup pane is disabled + * + * @param bool $val The siriDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setSiriDisabled($val) + { + $this->_propDict["siriDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the supervisedModeEnabled + * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. + * + * @return bool|null The supervisedModeEnabled + */ + public function getSupervisedModeEnabled() + { + if (array_key_exists("supervisedModeEnabled", $this->_propDict)) { + return $this->_propDict["supervisedModeEnabled"]; + } else { + return null; + } + } + + /** + * Sets the supervisedModeEnabled + * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. + * + * @param bool $val The supervisedModeEnabled + * + * @return DepEnrollmentBaseProfile + */ + public function setSupervisedModeEnabled($val) + { + $this->_propDict["supervisedModeEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the supportDepartment + * Support department information + * + * @return string|null The supportDepartment + */ + public function getSupportDepartment() + { + if (array_key_exists("supportDepartment", $this->_propDict)) { + return $this->_propDict["supportDepartment"]; + } else { + return null; + } + } + + /** + * Sets the supportDepartment + * Support department information + * + * @param string $val The supportDepartment + * + * @return DepEnrollmentBaseProfile + */ + public function setSupportDepartment($val) + { + $this->_propDict["supportDepartment"] = $val; + return $this; + } + + /** + * Gets the supportPhoneNumber + * Support phone number + * + * @return string|null The supportPhoneNumber + */ + public function getSupportPhoneNumber() + { + if (array_key_exists("supportPhoneNumber", $this->_propDict)) { + return $this->_propDict["supportPhoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the supportPhoneNumber + * Support phone number + * + * @param string $val The supportPhoneNumber + * + * @return DepEnrollmentBaseProfile + */ + public function setSupportPhoneNumber($val) + { + $this->_propDict["supportPhoneNumber"] = $val; + return $this; + } + + /** + * Gets the termsAndConditionsDisabled + * Indicates if 'Terms and Conditions' setup pane is disabled + * + * @return bool|null The termsAndConditionsDisabled + */ + public function getTermsAndConditionsDisabled() + { + if (array_key_exists("termsAndConditionsDisabled", $this->_propDict)) { + return $this->_propDict["termsAndConditionsDisabled"]; + } else { + return null; + } + } + + /** + * Sets the termsAndConditionsDisabled + * Indicates if 'Terms and Conditions' setup pane is disabled + * + * @param bool $val The termsAndConditionsDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setTermsAndConditionsDisabled($val) + { + $this->_propDict["termsAndConditionsDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the touchIdDisabled + * Indicates if touch id setup pane is disabled + * + * @return bool|null The touchIdDisabled + */ + public function getTouchIdDisabled() + { + if (array_key_exists("touchIdDisabled", $this->_propDict)) { + return $this->_propDict["touchIdDisabled"]; + } else { + return null; + } + } + + /** + * Sets the touchIdDisabled + * Indicates if touch id setup pane is disabled + * + * @param bool $val The touchIdDisabled + * + * @return DepEnrollmentBaseProfile + */ + public function setTouchIdDisabled($val) + { + $this->_propDict["touchIdDisabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepEnrollmentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepEnrollmentProfile.php new file mode 100644 index 0000000..f823f60 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepEnrollmentProfile.php @@ -0,0 +1,728 @@ +_propDict)) { + return $this->_propDict["appleIdDisabled"]; + } else { + return null; + } + } + + /** + * Sets the appleIdDisabled + * Indicates if Apple id setup pane is disabled + * + * @param bool $val The appleIdDisabled + * + * @return DepEnrollmentProfile + */ + public function setAppleIdDisabled($val) + { + $this->_propDict["appleIdDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the applePayDisabled + * Indicates if Apple pay setup pane is disabled + * + * @return bool|null The applePayDisabled + */ + public function getApplePayDisabled() + { + if (array_key_exists("applePayDisabled", $this->_propDict)) { + return $this->_propDict["applePayDisabled"]; + } else { + return null; + } + } + + /** + * Sets the applePayDisabled + * Indicates if Apple pay setup pane is disabled + * + * @param bool $val The applePayDisabled + * + * @return DepEnrollmentProfile + */ + public function setApplePayDisabled($val) + { + $this->_propDict["applePayDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the awaitDeviceConfiguredConfirmation + * Indicates if the device will need to wait for configured confirmation + * + * @return bool|null The awaitDeviceConfiguredConfirmation + */ + public function getAwaitDeviceConfiguredConfirmation() + { + if (array_key_exists("awaitDeviceConfiguredConfirmation", $this->_propDict)) { + return $this->_propDict["awaitDeviceConfiguredConfirmation"]; + } else { + return null; + } + } + + /** + * Sets the awaitDeviceConfiguredConfirmation + * Indicates if the device will need to wait for configured confirmation + * + * @param bool $val The awaitDeviceConfiguredConfirmation + * + * @return DepEnrollmentProfile + */ + public function setAwaitDeviceConfiguredConfirmation($val) + { + $this->_propDict["awaitDeviceConfiguredConfirmation"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticsDisabled + * Indicates if diagnostics setup pane is disabled + * + * @return bool|null The diagnosticsDisabled + */ + public function getDiagnosticsDisabled() + { + if (array_key_exists("diagnosticsDisabled", $this->_propDict)) { + return $this->_propDict["diagnosticsDisabled"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticsDisabled + * Indicates if diagnostics setup pane is disabled + * + * @param bool $val The diagnosticsDisabled + * + * @return DepEnrollmentProfile + */ + public function setDiagnosticsDisabled($val) + { + $this->_propDict["diagnosticsDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the enableSharedIPad + * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. + * + * @return bool|null The enableSharedIPad + */ + public function getEnableSharedIPad() + { + if (array_key_exists("enableSharedIPad", $this->_propDict)) { + return $this->_propDict["enableSharedIPad"]; + } else { + return null; + } + } + + /** + * Sets the enableSharedIPad + * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. + * + * @param bool $val The enableSharedIPad + * + * @return DepEnrollmentProfile + */ + public function setEnableSharedIPad($val) + { + $this->_propDict["enableSharedIPad"] = boolval($val); + return $this; + } + + /** + * Gets the isDefault + * Indicates if this is the default profile + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates if this is the default profile + * + * @param bool $val The isDefault + * + * @return DepEnrollmentProfile + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isMandatory + * Indicates if the profile is mandatory + * + * @return bool|null The isMandatory + */ + public function getIsMandatory() + { + if (array_key_exists("isMandatory", $this->_propDict)) { + return $this->_propDict["isMandatory"]; + } else { + return null; + } + } + + /** + * Sets the isMandatory + * Indicates if the profile is mandatory + * + * @param bool $val The isMandatory + * + * @return DepEnrollmentProfile + */ + public function setIsMandatory($val) + { + $this->_propDict["isMandatory"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesPairingMode + * Indicates the iTunes pairing mode. Possible values are: disallow, allow, requiresCertificate. + * + * @return ITunesPairingMode|null The iTunesPairingMode + */ + public function getITunesPairingMode() + { + if (array_key_exists("iTunesPairingMode", $this->_propDict)) { + if (is_a($this->_propDict["iTunesPairingMode"], "\Beta\Microsoft\Graph\Model\ITunesPairingMode") || is_null($this->_propDict["iTunesPairingMode"])) { + return $this->_propDict["iTunesPairingMode"]; + } else { + $this->_propDict["iTunesPairingMode"] = new ITunesPairingMode($this->_propDict["iTunesPairingMode"]); + return $this->_propDict["iTunesPairingMode"]; + } + } + return null; + } + + /** + * Sets the iTunesPairingMode + * Indicates the iTunes pairing mode. Possible values are: disallow, allow, requiresCertificate. + * + * @param ITunesPairingMode $val The iTunesPairingMode + * + * @return DepEnrollmentProfile + */ + public function setITunesPairingMode($val) + { + $this->_propDict["iTunesPairingMode"] = $val; + return $this; + } + + /** + * Gets the locationDisabled + * Indicates if Location service setup pane is disabled + * + * @return bool|null The locationDisabled + */ + public function getLocationDisabled() + { + if (array_key_exists("locationDisabled", $this->_propDict)) { + return $this->_propDict["locationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the locationDisabled + * Indicates if Location service setup pane is disabled + * + * @param bool $val The locationDisabled + * + * @return DepEnrollmentProfile + */ + public function setLocationDisabled($val) + { + $this->_propDict["locationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the macOSFileVaultDisabled + * Indicates if Mac OS file vault is disabled + * + * @return bool|null The macOSFileVaultDisabled + */ + public function getMacOSFileVaultDisabled() + { + if (array_key_exists("macOSFileVaultDisabled", $this->_propDict)) { + return $this->_propDict["macOSFileVaultDisabled"]; + } else { + return null; + } + } + + /** + * Sets the macOSFileVaultDisabled + * Indicates if Mac OS file vault is disabled + * + * @param bool $val The macOSFileVaultDisabled + * + * @return DepEnrollmentProfile + */ + public function setMacOSFileVaultDisabled($val) + { + $this->_propDict["macOSFileVaultDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the macOSRegistrationDisabled + * Indicates if Mac OS registration is disabled + * + * @return bool|null The macOSRegistrationDisabled + */ + public function getMacOSRegistrationDisabled() + { + if (array_key_exists("macOSRegistrationDisabled", $this->_propDict)) { + return $this->_propDict["macOSRegistrationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the macOSRegistrationDisabled + * Indicates if Mac OS registration is disabled + * + * @param bool $val The macOSRegistrationDisabled + * + * @return DepEnrollmentProfile + */ + public function setMacOSRegistrationDisabled($val) + { + $this->_propDict["macOSRegistrationDisabled"] = boolval($val); + return $this; + } + + + /** + * Gets the managementCertificates + * Management certificates for Apple Configurator + * + * @return array|null The managementCertificates + */ + public function getManagementCertificates() + { + if (array_key_exists("managementCertificates", $this->_propDict)) { + return $this->_propDict["managementCertificates"]; + } else { + return null; + } + } + + /** + * Sets the managementCertificates + * Management certificates for Apple Configurator + * + * @param ManagementCertificateWithThumbprint[] $val The managementCertificates + * + * @return DepEnrollmentProfile + */ + public function setManagementCertificates($val) + { + $this->_propDict["managementCertificates"] = $val; + return $this; + } + + /** + * Gets the passCodeDisabled + * Indicates if Passcode setup pane is disabled + * + * @return bool|null The passCodeDisabled + */ + public function getPassCodeDisabled() + { + if (array_key_exists("passCodeDisabled", $this->_propDict)) { + return $this->_propDict["passCodeDisabled"]; + } else { + return null; + } + } + + /** + * Sets the passCodeDisabled + * Indicates if Passcode setup pane is disabled + * + * @param bool $val The passCodeDisabled + * + * @return DepEnrollmentProfile + */ + public function setPassCodeDisabled($val) + { + $this->_propDict["passCodeDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the profileRemovalDisabled + * Indicates if the profile removal option is disabled + * + * @return bool|null The profileRemovalDisabled + */ + public function getProfileRemovalDisabled() + { + if (array_key_exists("profileRemovalDisabled", $this->_propDict)) { + return $this->_propDict["profileRemovalDisabled"]; + } else { + return null; + } + } + + /** + * Sets the profileRemovalDisabled + * Indicates if the profile removal option is disabled + * + * @param bool $val The profileRemovalDisabled + * + * @return DepEnrollmentProfile + */ + public function setProfileRemovalDisabled($val) + { + $this->_propDict["profileRemovalDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the restoreBlocked + * Indicates if Restore setup pane is blocked + * + * @return bool|null The restoreBlocked + */ + public function getRestoreBlocked() + { + if (array_key_exists("restoreBlocked", $this->_propDict)) { + return $this->_propDict["restoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the restoreBlocked + * Indicates if Restore setup pane is blocked + * + * @param bool $val The restoreBlocked + * + * @return DepEnrollmentProfile + */ + public function setRestoreBlocked($val) + { + $this->_propDict["restoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the restoreFromAndroidDisabled + * Indicates if Restore from Android is disabled + * + * @return bool|null The restoreFromAndroidDisabled + */ + public function getRestoreFromAndroidDisabled() + { + if (array_key_exists("restoreFromAndroidDisabled", $this->_propDict)) { + return $this->_propDict["restoreFromAndroidDisabled"]; + } else { + return null; + } + } + + /** + * Sets the restoreFromAndroidDisabled + * Indicates if Restore from Android is disabled + * + * @param bool $val The restoreFromAndroidDisabled + * + * @return DepEnrollmentProfile + */ + public function setRestoreFromAndroidDisabled($val) + { + $this->_propDict["restoreFromAndroidDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the sharedIPadMaximumUserCount + * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. + * + * @return int|null The sharedIPadMaximumUserCount + */ + public function getSharedIPadMaximumUserCount() + { + if (array_key_exists("sharedIPadMaximumUserCount", $this->_propDict)) { + return $this->_propDict["sharedIPadMaximumUserCount"]; + } else { + return null; + } + } + + /** + * Sets the sharedIPadMaximumUserCount + * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. + * + * @param int $val The sharedIPadMaximumUserCount + * + * @return DepEnrollmentProfile + */ + public function setSharedIPadMaximumUserCount($val) + { + $this->_propDict["sharedIPadMaximumUserCount"] = intval($val); + return $this; + } + + /** + * Gets the siriDisabled + * Indicates if siri setup pane is disabled + * + * @return bool|null The siriDisabled + */ + public function getSiriDisabled() + { + if (array_key_exists("siriDisabled", $this->_propDict)) { + return $this->_propDict["siriDisabled"]; + } else { + return null; + } + } + + /** + * Sets the siriDisabled + * Indicates if siri setup pane is disabled + * + * @param bool $val The siriDisabled + * + * @return DepEnrollmentProfile + */ + public function setSiriDisabled($val) + { + $this->_propDict["siriDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the supervisedModeEnabled + * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. + * + * @return bool|null The supervisedModeEnabled + */ + public function getSupervisedModeEnabled() + { + if (array_key_exists("supervisedModeEnabled", $this->_propDict)) { + return $this->_propDict["supervisedModeEnabled"]; + } else { + return null; + } + } + + /** + * Sets the supervisedModeEnabled + * Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information. + * + * @param bool $val The supervisedModeEnabled + * + * @return DepEnrollmentProfile + */ + public function setSupervisedModeEnabled($val) + { + $this->_propDict["supervisedModeEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the supportDepartment + * Support department information + * + * @return string|null The supportDepartment + */ + public function getSupportDepartment() + { + if (array_key_exists("supportDepartment", $this->_propDict)) { + return $this->_propDict["supportDepartment"]; + } else { + return null; + } + } + + /** + * Sets the supportDepartment + * Support department information + * + * @param string $val The supportDepartment + * + * @return DepEnrollmentProfile + */ + public function setSupportDepartment($val) + { + $this->_propDict["supportDepartment"] = $val; + return $this; + } + + /** + * Gets the supportPhoneNumber + * Support phone number + * + * @return string|null The supportPhoneNumber + */ + public function getSupportPhoneNumber() + { + if (array_key_exists("supportPhoneNumber", $this->_propDict)) { + return $this->_propDict["supportPhoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the supportPhoneNumber + * Support phone number + * + * @param string $val The supportPhoneNumber + * + * @return DepEnrollmentProfile + */ + public function setSupportPhoneNumber($val) + { + $this->_propDict["supportPhoneNumber"] = $val; + return $this; + } + + /** + * Gets the termsAndConditionsDisabled + * Indicates if 'Terms and Conditions' setup pane is disabled + * + * @return bool|null The termsAndConditionsDisabled + */ + public function getTermsAndConditionsDisabled() + { + if (array_key_exists("termsAndConditionsDisabled", $this->_propDict)) { + return $this->_propDict["termsAndConditionsDisabled"]; + } else { + return null; + } + } + + /** + * Sets the termsAndConditionsDisabled + * Indicates if 'Terms and Conditions' setup pane is disabled + * + * @param bool $val The termsAndConditionsDisabled + * + * @return DepEnrollmentProfile + */ + public function setTermsAndConditionsDisabled($val) + { + $this->_propDict["termsAndConditionsDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the touchIdDisabled + * Indicates if touch id setup pane is disabled + * + * @return bool|null The touchIdDisabled + */ + public function getTouchIdDisabled() + { + if (array_key_exists("touchIdDisabled", $this->_propDict)) { + return $this->_propDict["touchIdDisabled"]; + } else { + return null; + } + } + + /** + * Sets the touchIdDisabled + * Indicates if touch id setup pane is disabled + * + * @param bool $val The touchIdDisabled + * + * @return DepEnrollmentProfile + */ + public function setTouchIdDisabled($val) + { + $this->_propDict["touchIdDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the zoomDisabled + * Indicates if zoom setup pane is disabled + * + * @return bool|null The zoomDisabled + */ + public function getZoomDisabled() + { + if (array_key_exists("zoomDisabled", $this->_propDict)) { + return $this->_propDict["zoomDisabled"]; + } else { + return null; + } + } + + /** + * Sets the zoomDisabled + * Indicates if zoom setup pane is disabled + * + * @param bool $val The zoomDisabled + * + * @return DepEnrollmentProfile + */ + public function setZoomDisabled($val) + { + $this->_propDict["zoomDisabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepIOSEnrollmentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepIOSEnrollmentProfile.php new file mode 100644 index 0000000..e84dab1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepIOSEnrollmentProfile.php @@ -0,0 +1,873 @@ +_propDict)) { + return $this->_propDict["appearanceScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the appearanceScreenDisabled + * Indicates if Apperance screen is disabled + * + * @param bool $val The appearanceScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setAppearanceScreenDisabled($val) + { + $this->_propDict["appearanceScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the awaitDeviceConfiguredConfirmation + * Indicates if the device will need to wait for configured confirmation + * + * @return bool|null The awaitDeviceConfiguredConfirmation + */ + public function getAwaitDeviceConfiguredConfirmation() + { + if (array_key_exists("awaitDeviceConfiguredConfirmation", $this->_propDict)) { + return $this->_propDict["awaitDeviceConfiguredConfirmation"]; + } else { + return null; + } + } + + /** + * Sets the awaitDeviceConfiguredConfirmation + * Indicates if the device will need to wait for configured confirmation + * + * @param bool $val The awaitDeviceConfiguredConfirmation + * + * @return DepIOSEnrollmentProfile + */ + public function setAwaitDeviceConfiguredConfirmation($val) + { + $this->_propDict["awaitDeviceConfiguredConfirmation"] = boolval($val); + return $this; + } + + /** + * Gets the carrierActivationUrl + * Carrier URL for activating device eSIM. + * + * @return string|null The carrierActivationUrl + */ + public function getCarrierActivationUrl() + { + if (array_key_exists("carrierActivationUrl", $this->_propDict)) { + return $this->_propDict["carrierActivationUrl"]; + } else { + return null; + } + } + + /** + * Sets the carrierActivationUrl + * Carrier URL for activating device eSIM. + * + * @param string $val The carrierActivationUrl + * + * @return DepIOSEnrollmentProfile + */ + public function setCarrierActivationUrl($val) + { + $this->_propDict["carrierActivationUrl"] = $val; + return $this; + } + + /** + * Gets the companyPortalVppTokenId + * If set, indicates which Vpp token should be used to deploy the Company Portal w/ device licensing. 'enableAuthenticationViaCompanyPortal' must be set in order for this property to be set. + * + * @return string|null The companyPortalVppTokenId + */ + public function getCompanyPortalVppTokenId() + { + if (array_key_exists("companyPortalVppTokenId", $this->_propDict)) { + return $this->_propDict["companyPortalVppTokenId"]; + } else { + return null; + } + } + + /** + * Sets the companyPortalVppTokenId + * If set, indicates which Vpp token should be used to deploy the Company Portal w/ device licensing. 'enableAuthenticationViaCompanyPortal' must be set in order for this property to be set. + * + * @param string $val The companyPortalVppTokenId + * + * @return DepIOSEnrollmentProfile + */ + public function setCompanyPortalVppTokenId($val) + { + $this->_propDict["companyPortalVppTokenId"] = $val; + return $this; + } + + /** + * Gets the deviceToDeviceMigrationDisabled + * Indicates if Device To Device Migration is disabled + * + * @return bool|null The deviceToDeviceMigrationDisabled + */ + public function getDeviceToDeviceMigrationDisabled() + { + if (array_key_exists("deviceToDeviceMigrationDisabled", $this->_propDict)) { + return $this->_propDict["deviceToDeviceMigrationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceToDeviceMigrationDisabled + * Indicates if Device To Device Migration is disabled + * + * @param bool $val The deviceToDeviceMigrationDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setDeviceToDeviceMigrationDisabled($val) + { + $this->_propDict["deviceToDeviceMigrationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the enableSharedIPad + * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. + * + * @return bool|null The enableSharedIPad + */ + public function getEnableSharedIPad() + { + if (array_key_exists("enableSharedIPad", $this->_propDict)) { + return $this->_propDict["enableSharedIPad"]; + } else { + return null; + } + } + + /** + * Sets the enableSharedIPad + * This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads. + * + * @param bool $val The enableSharedIPad + * + * @return DepIOSEnrollmentProfile + */ + public function setEnableSharedIPad($val) + { + $this->_propDict["enableSharedIPad"] = boolval($val); + return $this; + } + + /** + * Gets the enableSingleAppEnrollmentMode + * Tells the device to enable single app mode and apply app-lock during enrollment. Default is false. 'enableAuthenticationViaCompanyPortal' and 'companyPortalVppTokenId' must be set for this property to be set. + * + * @return bool|null The enableSingleAppEnrollmentMode + */ + public function getEnableSingleAppEnrollmentMode() + { + if (array_key_exists("enableSingleAppEnrollmentMode", $this->_propDict)) { + return $this->_propDict["enableSingleAppEnrollmentMode"]; + } else { + return null; + } + } + + /** + * Sets the enableSingleAppEnrollmentMode + * Tells the device to enable single app mode and apply app-lock during enrollment. Default is false. 'enableAuthenticationViaCompanyPortal' and 'companyPortalVppTokenId' must be set for this property to be set. + * + * @param bool $val The enableSingleAppEnrollmentMode + * + * @return DepIOSEnrollmentProfile + */ + public function setEnableSingleAppEnrollmentMode($val) + { + $this->_propDict["enableSingleAppEnrollmentMode"] = boolval($val); + return $this; + } + + /** + * Gets the expressLanguageScreenDisabled + * Indicates if Express Language screen is disabled + * + * @return bool|null The expressLanguageScreenDisabled + */ + public function getExpressLanguageScreenDisabled() + { + if (array_key_exists("expressLanguageScreenDisabled", $this->_propDict)) { + return $this->_propDict["expressLanguageScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the expressLanguageScreenDisabled + * Indicates if Express Language screen is disabled + * + * @param bool $val The expressLanguageScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setExpressLanguageScreenDisabled($val) + { + $this->_propDict["expressLanguageScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the forceTemporarySession + * Indicates if temporary sessions is enabled + * + * @return bool|null The forceTemporarySession + */ + public function getForceTemporarySession() + { + if (array_key_exists("forceTemporarySession", $this->_propDict)) { + return $this->_propDict["forceTemporarySession"]; + } else { + return null; + } + } + + /** + * Sets the forceTemporarySession + * Indicates if temporary sessions is enabled + * + * @param bool $val The forceTemporarySession + * + * @return DepIOSEnrollmentProfile + */ + public function setForceTemporarySession($val) + { + $this->_propDict["forceTemporarySession"] = boolval($val); + return $this; + } + + /** + * Gets the homeButtonScreenDisabled + * Indicates if home button sensitivity screen is disabled + * + * @return bool|null The homeButtonScreenDisabled + */ + public function getHomeButtonScreenDisabled() + { + if (array_key_exists("homeButtonScreenDisabled", $this->_propDict)) { + return $this->_propDict["homeButtonScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the homeButtonScreenDisabled + * Indicates if home button sensitivity screen is disabled + * + * @param bool $val The homeButtonScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setHomeButtonScreenDisabled($val) + { + $this->_propDict["homeButtonScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the iMessageAndFaceTimeScreenDisabled + * Indicates if iMessage and FaceTime screen is disabled + * + * @return bool|null The iMessageAndFaceTimeScreenDisabled + */ + public function getIMessageAndFaceTimeScreenDisabled() + { + if (array_key_exists("iMessageAndFaceTimeScreenDisabled", $this->_propDict)) { + return $this->_propDict["iMessageAndFaceTimeScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the iMessageAndFaceTimeScreenDisabled + * Indicates if iMessage and FaceTime screen is disabled + * + * @param bool $val The iMessageAndFaceTimeScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setIMessageAndFaceTimeScreenDisabled($val) + { + $this->_propDict["iMessageAndFaceTimeScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesPairingMode + * Indicates the iTunes pairing mode. Possible values are: disallow, allow, requiresCertificate. + * + * @return ITunesPairingMode|null The iTunesPairingMode + */ + public function getITunesPairingMode() + { + if (array_key_exists("iTunesPairingMode", $this->_propDict)) { + if (is_a($this->_propDict["iTunesPairingMode"], "\Beta\Microsoft\Graph\Model\ITunesPairingMode") || is_null($this->_propDict["iTunesPairingMode"])) { + return $this->_propDict["iTunesPairingMode"]; + } else { + $this->_propDict["iTunesPairingMode"] = new ITunesPairingMode($this->_propDict["iTunesPairingMode"]); + return $this->_propDict["iTunesPairingMode"]; + } + } + return null; + } + + /** + * Sets the iTunesPairingMode + * Indicates the iTunes pairing mode. Possible values are: disallow, allow, requiresCertificate. + * + * @param ITunesPairingMode $val The iTunesPairingMode + * + * @return DepIOSEnrollmentProfile + */ + public function setITunesPairingMode($val) + { + $this->_propDict["iTunesPairingMode"] = $val; + return $this; + } + + + /** + * Gets the managementCertificates + * Management certificates for Apple Configurator + * + * @return array|null The managementCertificates + */ + public function getManagementCertificates() + { + if (array_key_exists("managementCertificates", $this->_propDict)) { + return $this->_propDict["managementCertificates"]; + } else { + return null; + } + } + + /** + * Sets the managementCertificates + * Management certificates for Apple Configurator + * + * @param ManagementCertificateWithThumbprint[] $val The managementCertificates + * + * @return DepIOSEnrollmentProfile + */ + public function setManagementCertificates($val) + { + $this->_propDict["managementCertificates"] = $val; + return $this; + } + + /** + * Gets the onBoardingScreenDisabled + * Indicates if onboarding setup screen is disabled + * + * @return bool|null The onBoardingScreenDisabled + */ + public function getOnBoardingScreenDisabled() + { + if (array_key_exists("onBoardingScreenDisabled", $this->_propDict)) { + return $this->_propDict["onBoardingScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the onBoardingScreenDisabled + * Indicates if onboarding setup screen is disabled + * + * @param bool $val The onBoardingScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setOnBoardingScreenDisabled($val) + { + $this->_propDict["onBoardingScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the passCodeDisabled + * Indicates if Passcode setup pane is disabled + * + * @return bool|null The passCodeDisabled + */ + public function getPassCodeDisabled() + { + if (array_key_exists("passCodeDisabled", $this->_propDict)) { + return $this->_propDict["passCodeDisabled"]; + } else { + return null; + } + } + + /** + * Sets the passCodeDisabled + * Indicates if Passcode setup pane is disabled + * + * @param bool $val The passCodeDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setPassCodeDisabled($val) + { + $this->_propDict["passCodeDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeLockGracePeriodInSeconds + * Indicates timeout before locked screen requires the user to enter the device passocde to unlock it + * + * @return int|null The passcodeLockGracePeriodInSeconds + */ + public function getPasscodeLockGracePeriodInSeconds() + { + if (array_key_exists("passcodeLockGracePeriodInSeconds", $this->_propDict)) { + return $this->_propDict["passcodeLockGracePeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the passcodeLockGracePeriodInSeconds + * Indicates timeout before locked screen requires the user to enter the device passocde to unlock it + * + * @param int $val The passcodeLockGracePeriodInSeconds + * + * @return DepIOSEnrollmentProfile + */ + public function setPasscodeLockGracePeriodInSeconds($val) + { + $this->_propDict["passcodeLockGracePeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the preferredLanguageScreenDisabled + * Indicates if Preferred language screen is disabled + * + * @return bool|null The preferredLanguageScreenDisabled + */ + public function getPreferredLanguageScreenDisabled() + { + if (array_key_exists("preferredLanguageScreenDisabled", $this->_propDict)) { + return $this->_propDict["preferredLanguageScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguageScreenDisabled + * Indicates if Preferred language screen is disabled + * + * @param bool $val The preferredLanguageScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setPreferredLanguageScreenDisabled($val) + { + $this->_propDict["preferredLanguageScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the restoreCompletedScreenDisabled + * Indicates if Weclome screen is disabled + * + * @return bool|null The restoreCompletedScreenDisabled + */ + public function getRestoreCompletedScreenDisabled() + { + if (array_key_exists("restoreCompletedScreenDisabled", $this->_propDict)) { + return $this->_propDict["restoreCompletedScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the restoreCompletedScreenDisabled + * Indicates if Weclome screen is disabled + * + * @param bool $val The restoreCompletedScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setRestoreCompletedScreenDisabled($val) + { + $this->_propDict["restoreCompletedScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the restoreFromAndroidDisabled + * Indicates if Restore from Android is disabled + * + * @return bool|null The restoreFromAndroidDisabled + */ + public function getRestoreFromAndroidDisabled() + { + if (array_key_exists("restoreFromAndroidDisabled", $this->_propDict)) { + return $this->_propDict["restoreFromAndroidDisabled"]; + } else { + return null; + } + } + + /** + * Sets the restoreFromAndroidDisabled + * Indicates if Restore from Android is disabled + * + * @param bool $val The restoreFromAndroidDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setRestoreFromAndroidDisabled($val) + { + $this->_propDict["restoreFromAndroidDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the sharedIPadMaximumUserCount + * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. + * + * @return int|null The sharedIPadMaximumUserCount + */ + public function getSharedIPadMaximumUserCount() + { + if (array_key_exists("sharedIPadMaximumUserCount", $this->_propDict)) { + return $this->_propDict["sharedIPadMaximumUserCount"]; + } else { + return null; + } + } + + /** + * Sets the sharedIPadMaximumUserCount + * This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode. + * + * @param int $val The sharedIPadMaximumUserCount + * + * @return DepIOSEnrollmentProfile + */ + public function setSharedIPadMaximumUserCount($val) + { + $this->_propDict["sharedIPadMaximumUserCount"] = intval($val); + return $this; + } + + /** + * Gets the simSetupScreenDisabled + * Indicates if the SIMSetup screen is disabled + * + * @return bool|null The simSetupScreenDisabled + */ + public function getSimSetupScreenDisabled() + { + if (array_key_exists("simSetupScreenDisabled", $this->_propDict)) { + return $this->_propDict["simSetupScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the simSetupScreenDisabled + * Indicates if the SIMSetup screen is disabled + * + * @param bool $val The simSetupScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setSimSetupScreenDisabled($val) + { + $this->_propDict["simSetupScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the softwareUpdateScreenDisabled + * Indicates if the mandatory sofware update screen is disabled + * + * @return bool|null The softwareUpdateScreenDisabled + */ + public function getSoftwareUpdateScreenDisabled() + { + if (array_key_exists("softwareUpdateScreenDisabled", $this->_propDict)) { + return $this->_propDict["softwareUpdateScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdateScreenDisabled + * Indicates if the mandatory sofware update screen is disabled + * + * @param bool $val The softwareUpdateScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setSoftwareUpdateScreenDisabled($val) + { + $this->_propDict["softwareUpdateScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the temporarySessionTimeoutInSeconds + * Indicates timeout of temporary session + * + * @return int|null The temporarySessionTimeoutInSeconds + */ + public function getTemporarySessionTimeoutInSeconds() + { + if (array_key_exists("temporarySessionTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["temporarySessionTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the temporarySessionTimeoutInSeconds + * Indicates timeout of temporary session + * + * @param int $val The temporarySessionTimeoutInSeconds + * + * @return DepIOSEnrollmentProfile + */ + public function setTemporarySessionTimeoutInSeconds($val) + { + $this->_propDict["temporarySessionTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the updateCompleteScreenDisabled + * Indicates if Weclome screen is disabled + * + * @return bool|null The updateCompleteScreenDisabled + */ + public function getUpdateCompleteScreenDisabled() + { + if (array_key_exists("updateCompleteScreenDisabled", $this->_propDict)) { + return $this->_propDict["updateCompleteScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the updateCompleteScreenDisabled + * Indicates if Weclome screen is disabled + * + * @param bool $val The updateCompleteScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setUpdateCompleteScreenDisabled($val) + { + $this->_propDict["updateCompleteScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the userlessSharedAadModeEnabled + * Indicates that this apple device is designated to support 'shared device mode' scenarios. This is distinct from the 'shared iPad' scenario. See https://docs.microsoft.com/mem/intune/enrollment/device-enrollment-shared-ios + * + * @return bool|null The userlessSharedAadModeEnabled + */ + public function getUserlessSharedAadModeEnabled() + { + if (array_key_exists("userlessSharedAadModeEnabled", $this->_propDict)) { + return $this->_propDict["userlessSharedAadModeEnabled"]; + } else { + return null; + } + } + + /** + * Sets the userlessSharedAadModeEnabled + * Indicates that this apple device is designated to support 'shared device mode' scenarios. This is distinct from the 'shared iPad' scenario. See https://docs.microsoft.com/mem/intune/enrollment/device-enrollment-shared-ios + * + * @param bool $val The userlessSharedAadModeEnabled + * + * @return DepIOSEnrollmentProfile + */ + public function setUserlessSharedAadModeEnabled($val) + { + $this->_propDict["userlessSharedAadModeEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the userSessionTimeoutInSeconds + * Indicates timeout of temporary session + * + * @return int|null The userSessionTimeoutInSeconds + */ + public function getUserSessionTimeoutInSeconds() + { + if (array_key_exists("userSessionTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["userSessionTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the userSessionTimeoutInSeconds + * Indicates timeout of temporary session + * + * @param int $val The userSessionTimeoutInSeconds + * + * @return DepIOSEnrollmentProfile + */ + public function setUserSessionTimeoutInSeconds($val) + { + $this->_propDict["userSessionTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the watchMigrationScreenDisabled + * Indicates if the watch migration screen is disabled + * + * @return bool|null The watchMigrationScreenDisabled + */ + public function getWatchMigrationScreenDisabled() + { + if (array_key_exists("watchMigrationScreenDisabled", $this->_propDict)) { + return $this->_propDict["watchMigrationScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the watchMigrationScreenDisabled + * Indicates if the watch migration screen is disabled + * + * @param bool $val The watchMigrationScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setWatchMigrationScreenDisabled($val) + { + $this->_propDict["watchMigrationScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the welcomeScreenDisabled + * Indicates if Weclome screen is disabled + * + * @return bool|null The welcomeScreenDisabled + */ + public function getWelcomeScreenDisabled() + { + if (array_key_exists("welcomeScreenDisabled", $this->_propDict)) { + return $this->_propDict["welcomeScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the welcomeScreenDisabled + * Indicates if Weclome screen is disabled + * + * @param bool $val The welcomeScreenDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setWelcomeScreenDisabled($val) + { + $this->_propDict["welcomeScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the zoomDisabled + * Indicates if zoom setup pane is disabled + * + * @return bool|null The zoomDisabled + */ + public function getZoomDisabled() + { + if (array_key_exists("zoomDisabled", $this->_propDict)) { + return $this->_propDict["zoomDisabled"]; + } else { + return null; + } + } + + /** + * Sets the zoomDisabled + * Indicates if zoom setup pane is disabled + * + * @param bool $val The zoomDisabled + * + * @return DepIOSEnrollmentProfile + */ + public function setZoomDisabled($val) + { + $this->_propDict["zoomDisabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php new file mode 100644 index 0000000..3c10492 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["accessibilityScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the accessibilityScreenDisabled + * Indicates if Accessibility screen is disabled + * + * @param bool $val The accessibilityScreenDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setAccessibilityScreenDisabled($val) + { + $this->_propDict["accessibilityScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the autoUnlockWithWatchDisabled + * Indicates if UnlockWithWatch screen is disabled + * + * @return bool|null The autoUnlockWithWatchDisabled + */ + public function getAutoUnlockWithWatchDisabled() + { + if (array_key_exists("autoUnlockWithWatchDisabled", $this->_propDict)) { + return $this->_propDict["autoUnlockWithWatchDisabled"]; + } else { + return null; + } + } + + /** + * Sets the autoUnlockWithWatchDisabled + * Indicates if UnlockWithWatch screen is disabled + * + * @param bool $val The autoUnlockWithWatchDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setAutoUnlockWithWatchDisabled($val) + { + $this->_propDict["autoUnlockWithWatchDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the chooseYourLockScreenDisabled + * Indicates if iCloud Documents and Desktop screen is disabled + * + * @return bool|null The chooseYourLockScreenDisabled + */ + public function getChooseYourLockScreenDisabled() + { + if (array_key_exists("chooseYourLockScreenDisabled", $this->_propDict)) { + return $this->_propDict["chooseYourLockScreenDisabled"]; + } else { + return null; + } + } + + /** + * Sets the chooseYourLockScreenDisabled + * Indicates if iCloud Documents and Desktop screen is disabled + * + * @param bool $val The chooseYourLockScreenDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setChooseYourLockScreenDisabled($val) + { + $this->_propDict["chooseYourLockScreenDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the fileVaultDisabled + * Indicates if file vault is disabled + * + * @return bool|null The fileVaultDisabled + */ + public function getFileVaultDisabled() + { + if (array_key_exists("fileVaultDisabled", $this->_propDict)) { + return $this->_propDict["fileVaultDisabled"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultDisabled + * Indicates if file vault is disabled + * + * @param bool $val The fileVaultDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setFileVaultDisabled($val) + { + $this->_propDict["fileVaultDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudDiagnosticsDisabled + * Indicates if iCloud Analytics screen is disabled + * + * @return bool|null The iCloudDiagnosticsDisabled + */ + public function getICloudDiagnosticsDisabled() + { + if (array_key_exists("iCloudDiagnosticsDisabled", $this->_propDict)) { + return $this->_propDict["iCloudDiagnosticsDisabled"]; + } else { + return null; + } + } + + /** + * Sets the iCloudDiagnosticsDisabled + * Indicates if iCloud Analytics screen is disabled + * + * @param bool $val The iCloudDiagnosticsDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setICloudDiagnosticsDisabled($val) + { + $this->_propDict["iCloudDiagnosticsDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudStorageDisabled + * Indicates if iCloud Documents and Desktop screen is disabled + * + * @return bool|null The iCloudStorageDisabled + */ + public function getICloudStorageDisabled() + { + if (array_key_exists("iCloudStorageDisabled", $this->_propDict)) { + return $this->_propDict["iCloudStorageDisabled"]; + } else { + return null; + } + } + + /** + * Sets the iCloudStorageDisabled + * Indicates if iCloud Documents and Desktop screen is disabled + * + * @param bool $val The iCloudStorageDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setICloudStorageDisabled($val) + { + $this->_propDict["iCloudStorageDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the passCodeDisabled + * Indicates if Passcode setup pane is disabled + * + * @return bool|null The passCodeDisabled + */ + public function getPassCodeDisabled() + { + if (array_key_exists("passCodeDisabled", $this->_propDict)) { + return $this->_propDict["passCodeDisabled"]; + } else { + return null; + } + } + + /** + * Sets the passCodeDisabled + * Indicates if Passcode setup pane is disabled + * + * @param bool $val The passCodeDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setPassCodeDisabled($val) + { + $this->_propDict["passCodeDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the registrationDisabled + * Indicates if registration is disabled + * + * @return bool|null The registrationDisabled + */ + public function getRegistrationDisabled() + { + if (array_key_exists("registrationDisabled", $this->_propDict)) { + return $this->_propDict["registrationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the registrationDisabled + * Indicates if registration is disabled + * + * @param bool $val The registrationDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setRegistrationDisabled($val) + { + $this->_propDict["registrationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the zoomDisabled + * Indicates if zoom setup pane is disabled + * + * @return bool|null The zoomDisabled + */ + public function getZoomDisabled() + { + if (array_key_exists("zoomDisabled", $this->_propDict)) { + return $this->_propDict["zoomDisabled"]; + } else { + return null; + } + } + + /** + * Sets the zoomDisabled + * Indicates if zoom setup pane is disabled + * + * @param bool $val The zoomDisabled + * + * @return DepMacOSEnrollmentProfile + */ + public function setZoomDisabled($val) + { + $this->_propDict["zoomDisabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepOnboardingSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepOnboardingSetting.php new file mode 100644 index 0000000..9bdec52 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepOnboardingSetting.php @@ -0,0 +1,521 @@ +_propDict)) { + return $this->_propDict["appleIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the appleIdentifier + * The Apple ID used to obtain the current token. + * + * @param string $val The appleIdentifier + * + * @return DepOnboardingSetting + */ + public function setAppleIdentifier($val) + { + $this->_propDict["appleIdentifier"] = $val; + return $this; + } + + /** + * Gets the dataSharingConsentGranted + * Consent granted for data sharing with Apple Dep Service + * + * @return bool|null The dataSharingConsentGranted + */ + public function getDataSharingConsentGranted() + { + if (array_key_exists("dataSharingConsentGranted", $this->_propDict)) { + return $this->_propDict["dataSharingConsentGranted"]; + } else { + return null; + } + } + + /** + * Sets the dataSharingConsentGranted + * Consent granted for data sharing with Apple Dep Service + * + * @param bool $val The dataSharingConsentGranted + * + * @return DepOnboardingSetting + */ + public function setDataSharingConsentGranted($val) + { + $this->_propDict["dataSharingConsentGranted"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * When the service was onboarded. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * When the service was onboarded. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DepOnboardingSetting + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSuccessfulSyncDateTime + * When the service last syned with Intune + * + * @return \DateTime|null The lastSuccessfulSyncDateTime + */ + public function getLastSuccessfulSyncDateTime() + { + if (array_key_exists("lastSuccessfulSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSuccessfulSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSuccessfulSyncDateTime"])) { + return $this->_propDict["lastSuccessfulSyncDateTime"]; + } else { + $this->_propDict["lastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["lastSuccessfulSyncDateTime"]); + return $this->_propDict["lastSuccessfulSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSuccessfulSyncDateTime + * When the service last syned with Intune + * + * @param \DateTime $val The lastSuccessfulSyncDateTime + * + * @return DepOnboardingSetting + */ + public function setLastSuccessfulSyncDateTime($val) + { + $this->_propDict["lastSuccessfulSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncErrorCode + * Error code reported by Apple during last dep sync. + * + * @return int|null The lastSyncErrorCode + */ + public function getLastSyncErrorCode() + { + if (array_key_exists("lastSyncErrorCode", $this->_propDict)) { + return $this->_propDict["lastSyncErrorCode"]; + } else { + return null; + } + } + + /** + * Sets the lastSyncErrorCode + * Error code reported by Apple during last dep sync. + * + * @param int $val The lastSyncErrorCode + * + * @return DepOnboardingSetting + */ + public function setLastSyncErrorCode($val) + { + $this->_propDict["lastSyncErrorCode"] = intval($val); + return $this; + } + + /** + * Gets the lastSyncTriggeredDateTime + * When Intune last requested a sync. + * + * @return \DateTime|null The lastSyncTriggeredDateTime + */ + public function getLastSyncTriggeredDateTime() + { + if (array_key_exists("lastSyncTriggeredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncTriggeredDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncTriggeredDateTime"])) { + return $this->_propDict["lastSyncTriggeredDateTime"]; + } else { + $this->_propDict["lastSyncTriggeredDateTime"] = new \DateTime($this->_propDict["lastSyncTriggeredDateTime"]); + return $this->_propDict["lastSyncTriggeredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncTriggeredDateTime + * When Intune last requested a sync. + * + * @param \DateTime $val The lastSyncTriggeredDateTime + * + * @return DepOnboardingSetting + */ + public function setLastSyncTriggeredDateTime($val) + { + $this->_propDict["lastSyncTriggeredDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return DepOnboardingSetting + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the shareTokenWithSchoolDataSyncService + * Whether or not the Dep token sharing is enabled with the School Data Sync service. + * + * @return bool|null The shareTokenWithSchoolDataSyncService + */ + public function getShareTokenWithSchoolDataSyncService() + { + if (array_key_exists("shareTokenWithSchoolDataSyncService", $this->_propDict)) { + return $this->_propDict["shareTokenWithSchoolDataSyncService"]; + } else { + return null; + } + } + + /** + * Sets the shareTokenWithSchoolDataSyncService + * Whether or not the Dep token sharing is enabled with the School Data Sync service. + * + * @param bool $val The shareTokenWithSchoolDataSyncService + * + * @return DepOnboardingSetting + */ + public function setShareTokenWithSchoolDataSyncService($val) + { + $this->_propDict["shareTokenWithSchoolDataSyncService"] = boolval($val); + return $this; + } + + /** + * Gets the syncedDeviceCount + * Gets synced device count + * + * @return int|null The syncedDeviceCount + */ + public function getSyncedDeviceCount() + { + if (array_key_exists("syncedDeviceCount", $this->_propDict)) { + return $this->_propDict["syncedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the syncedDeviceCount + * Gets synced device count + * + * @param int $val The syncedDeviceCount + * + * @return DepOnboardingSetting + */ + public function setSyncedDeviceCount($val) + { + $this->_propDict["syncedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the tokenExpirationDateTime + * When the token will expire. + * + * @return \DateTime|null The tokenExpirationDateTime + */ + public function getTokenExpirationDateTime() + { + if (array_key_exists("tokenExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["tokenExpirationDateTime"], "\DateTime") || is_null($this->_propDict["tokenExpirationDateTime"])) { + return $this->_propDict["tokenExpirationDateTime"]; + } else { + $this->_propDict["tokenExpirationDateTime"] = new \DateTime($this->_propDict["tokenExpirationDateTime"]); + return $this->_propDict["tokenExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the tokenExpirationDateTime + * When the token will expire. + * + * @param \DateTime $val The tokenExpirationDateTime + * + * @return DepOnboardingSetting + */ + public function setTokenExpirationDateTime($val) + { + $this->_propDict["tokenExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the tokenName + * Friendly Name for Dep Token + * + * @return string|null The tokenName + */ + public function getTokenName() + { + if (array_key_exists("tokenName", $this->_propDict)) { + return $this->_propDict["tokenName"]; + } else { + return null; + } + } + + /** + * Sets the tokenName + * Friendly Name for Dep Token + * + * @param string $val The tokenName + * + * @return DepOnboardingSetting + */ + public function setTokenName($val) + { + $this->_propDict["tokenName"] = $val; + return $this; + } + + /** + * Gets the tokenType + * Gets or sets the Dep Token Type. Possible values are: none, dep, appleSchoolManager. + * + * @return DepTokenType|null The tokenType + */ + public function getTokenType() + { + if (array_key_exists("tokenType", $this->_propDict)) { + if (is_a($this->_propDict["tokenType"], "\Beta\Microsoft\Graph\Model\DepTokenType") || is_null($this->_propDict["tokenType"])) { + return $this->_propDict["tokenType"]; + } else { + $this->_propDict["tokenType"] = new DepTokenType($this->_propDict["tokenType"]); + return $this->_propDict["tokenType"]; + } + } + return null; + } + + /** + * Sets the tokenType + * Gets or sets the Dep Token Type. Possible values are: none, dep, appleSchoolManager. + * + * @param DepTokenType $val The tokenType + * + * @return DepOnboardingSetting + */ + public function setTokenType($val) + { + $this->_propDict["tokenType"] = $val; + return $this; + } + + /** + * Gets the defaultIosEnrollmentProfile + * Default iOS Enrollment Profile + * + * @return DepIOSEnrollmentProfile|null The defaultIosEnrollmentProfile + */ + public function getDefaultIosEnrollmentProfile() + { + if (array_key_exists("defaultIosEnrollmentProfile", $this->_propDict)) { + if (is_a($this->_propDict["defaultIosEnrollmentProfile"], "\Beta\Microsoft\Graph\Model\DepIOSEnrollmentProfile") || is_null($this->_propDict["defaultIosEnrollmentProfile"])) { + return $this->_propDict["defaultIosEnrollmentProfile"]; + } else { + $this->_propDict["defaultIosEnrollmentProfile"] = new DepIOSEnrollmentProfile($this->_propDict["defaultIosEnrollmentProfile"]); + return $this->_propDict["defaultIosEnrollmentProfile"]; + } + } + return null; + } + + /** + * Sets the defaultIosEnrollmentProfile + * Default iOS Enrollment Profile + * + * @param DepIOSEnrollmentProfile $val The defaultIosEnrollmentProfile + * + * @return DepOnboardingSetting + */ + public function setDefaultIosEnrollmentProfile($val) + { + $this->_propDict["defaultIosEnrollmentProfile"] = $val; + return $this; + } + + /** + * Gets the defaultMacOsEnrollmentProfile + * Default MacOs Enrollment Profile + * + * @return DepMacOSEnrollmentProfile|null The defaultMacOsEnrollmentProfile + */ + public function getDefaultMacOsEnrollmentProfile() + { + if (array_key_exists("defaultMacOsEnrollmentProfile", $this->_propDict)) { + if (is_a($this->_propDict["defaultMacOsEnrollmentProfile"], "\Beta\Microsoft\Graph\Model\DepMacOSEnrollmentProfile") || is_null($this->_propDict["defaultMacOsEnrollmentProfile"])) { + return $this->_propDict["defaultMacOsEnrollmentProfile"]; + } else { + $this->_propDict["defaultMacOsEnrollmentProfile"] = new DepMacOSEnrollmentProfile($this->_propDict["defaultMacOsEnrollmentProfile"]); + return $this->_propDict["defaultMacOsEnrollmentProfile"]; + } + } + return null; + } + + /** + * Sets the defaultMacOsEnrollmentProfile + * Default MacOs Enrollment Profile + * + * @param DepMacOSEnrollmentProfile $val The defaultMacOsEnrollmentProfile + * + * @return DepOnboardingSetting + */ + public function setDefaultMacOsEnrollmentProfile($val) + { + $this->_propDict["defaultMacOsEnrollmentProfile"] = $val; + return $this; + } + + + /** + * Gets the enrollmentProfiles + * The enrollment profiles. + * + * @return array|null The enrollmentProfiles + */ + public function getEnrollmentProfiles() + { + if (array_key_exists("enrollmentProfiles", $this->_propDict)) { + return $this->_propDict["enrollmentProfiles"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentProfiles + * The enrollment profiles. + * + * @param EnrollmentProfile[] $val The enrollmentProfiles + * + * @return DepOnboardingSetting + */ + public function setEnrollmentProfiles($val) + { + $this->_propDict["enrollmentProfiles"] = $val; + return $this; + } + + + /** + * Gets the importedAppleDeviceIdentities + * The imported Apple device identities. + * + * @return array|null The importedAppleDeviceIdentities + */ + public function getImportedAppleDeviceIdentities() + { + if (array_key_exists("importedAppleDeviceIdentities", $this->_propDict)) { + return $this->_propDict["importedAppleDeviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the importedAppleDeviceIdentities + * The imported Apple device identities. + * + * @param ImportedAppleDeviceIdentity[] $val The importedAppleDeviceIdentities + * + * @return DepOnboardingSetting + */ + public function setImportedAppleDeviceIdentities($val) + { + $this->_propDict["importedAppleDeviceIdentities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepTokenType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepTokenType.php new file mode 100644 index 0000000..e1431a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepTokenType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * The number of devices that have installed this application + * + * @param int $val The deviceCount + * + * @return DetectedApp + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * Name of the discovered application. Read-only + * + * @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 + * Name of the discovered application. Read-only + * + * @param string $val The displayName + * + * @return DetectedApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the sizeInByte + * Discovered application size in bytes. Read-only + * + * @return int|null The sizeInByte + */ + public function getSizeInByte() + { + if (array_key_exists("sizeInByte", $this->_propDict)) { + return $this->_propDict["sizeInByte"]; + } else { + return null; + } + } + + /** + * Sets the sizeInByte + * Discovered application size in bytes. Read-only + * + * @param int $val The sizeInByte + * + * @return DetectedApp + */ + public function setSizeInByte($val) + { + $this->_propDict["sizeInByte"] = intval($val); + return $this; + } + + /** + * Gets the version + * Version of the discovered application. Read-only + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the discovered application. Read-only + * + * @param string $val The version + * + * @return DetectedApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The devices that have the discovered application installed + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The devices that have the discovered application installed + * + * @param ManagedDevice[] $val The managedDevices + * + * @return DetectedApp + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContent.php new file mode 100644 index 0000000..212304d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContent.php @@ -0,0 +1,181 @@ +_propDict)) { + if (is_a($this->_propDict["classificationAttributes"], "\Beta\Microsoft\Graph\Model\ClassificationAttribute") || is_null($this->_propDict["classificationAttributes"])) { + return $this->_propDict["classificationAttributes"]; + } else { + $this->_propDict["classificationAttributes"] = new ClassificationAttribute($this->_propDict["classificationAttributes"]); + return $this->_propDict["classificationAttributes"]; + } + } + return null; + } + + /** + * Sets the classificationAttributes + * + * @param ClassificationAttribute $val The value to assign to the classificationAttributes + * + * @return DetectedSensitiveContent The DetectedSensitiveContent + */ + public function setClassificationAttributes($val) + { + $this->_propDict["classificationAttributes"] = $val; + return $this; + } + + /** + * Gets the classificationMethod + * + * @return ClassificationMethod|null The classificationMethod + */ + public function getClassificationMethod() + { + if (array_key_exists("classificationMethod", $this->_propDict)) { + if (is_a($this->_propDict["classificationMethod"], "\Beta\Microsoft\Graph\Model\ClassificationMethod") || is_null($this->_propDict["classificationMethod"])) { + return $this->_propDict["classificationMethod"]; + } else { + $this->_propDict["classificationMethod"] = new ClassificationMethod($this->_propDict["classificationMethod"]); + return $this->_propDict["classificationMethod"]; + } + } + return null; + } + + /** + * Sets the classificationMethod + * + * @param ClassificationMethod $val The value to assign to the classificationMethod + * + * @return DetectedSensitiveContent The DetectedSensitiveContent + */ + public function setClassificationMethod($val) + { + $this->_propDict["classificationMethod"] = $val; + return $this; + } + + /** + * Gets the matches + * + * @return SensitiveContentLocation|null The matches + */ + public function getMatches() + { + if (array_key_exists("matches", $this->_propDict)) { + if (is_a($this->_propDict["matches"], "\Beta\Microsoft\Graph\Model\SensitiveContentLocation") || is_null($this->_propDict["matches"])) { + return $this->_propDict["matches"]; + } else { + $this->_propDict["matches"] = new SensitiveContentLocation($this->_propDict["matches"]); + return $this->_propDict["matches"]; + } + } + return null; + } + + /** + * Sets the matches + * + * @param SensitiveContentLocation $val The value to assign to the matches + * + * @return DetectedSensitiveContent The DetectedSensitiveContent + */ + public function setMatches($val) + { + $this->_propDict["matches"] = $val; + return $this; + } + + /** + * Gets the scope + * + * @return SensitiveTypeScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\SensitiveTypeScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new SensitiveTypeScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * + * @param SensitiveTypeScope $val The value to assign to the scope + * + * @return DetectedSensitiveContent The DetectedSensitiveContent + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the sensitiveTypeSource + * + * @return SensitiveTypeSource|null The sensitiveTypeSource + */ + public function getSensitiveTypeSource() + { + if (array_key_exists("sensitiveTypeSource", $this->_propDict)) { + if (is_a($this->_propDict["sensitiveTypeSource"], "\Beta\Microsoft\Graph\Model\SensitiveTypeSource") || is_null($this->_propDict["sensitiveTypeSource"])) { + return $this->_propDict["sensitiveTypeSource"]; + } else { + $this->_propDict["sensitiveTypeSource"] = new SensitiveTypeSource($this->_propDict["sensitiveTypeSource"]); + return $this->_propDict["sensitiveTypeSource"]; + } + } + return null; + } + + /** + * Sets the sensitiveTypeSource + * + * @param SensitiveTypeSource $val The value to assign to the sensitiveTypeSource + * + * @return DetectedSensitiveContent The DetectedSensitiveContent + */ + public function setSensitiveTypeSource($val) + { + $this->_propDict["sensitiveTypeSource"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentBase.php new file mode 100644 index 0000000..0fc84d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentBase.php @@ -0,0 +1,156 @@ +_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * + * @param int $val The value of the confidence + * + * @return DetectedSensitiveContentBase + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + /** + * 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 DetectedSensitiveContentBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $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 DetectedSensitiveContentBase + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the recommendedConfidence + * + * @return int|null The recommendedConfidence + */ + public function getRecommendedConfidence() + { + if (array_key_exists("recommendedConfidence", $this->_propDict)) { + return $this->_propDict["recommendedConfidence"]; + } else { + return null; + } + } + + /** + * Sets the recommendedConfidence + * + * @param int $val The value of the recommendedConfidence + * + * @return DetectedSensitiveContentBase + */ + public function setRecommendedConfidence($val) + { + $this->_propDict["recommendedConfidence"] = $val; + return $this; + } + /** + * Gets the uniqueCount + * + * @return int|null The uniqueCount + */ + public function getUniqueCount() + { + if (array_key_exists("uniqueCount", $this->_propDict)) { + return $this->_propDict["uniqueCount"]; + } else { + return null; + } + } + + /** + * Sets the uniqueCount + * + * @param int $val The value of the uniqueCount + * + * @return DetectedSensitiveContentBase + */ + public function setUniqueCount($val) + { + $this->_propDict["uniqueCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentWrapper.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentWrapper.php new file mode 100644 index 0000000..af6ef35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentWrapper.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\DetectedSensitiveContent") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new DetectedSensitiveContent($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * + * @param DetectedSensitiveContent $val The value to assign to the classification + * + * @return DetectedSensitiveContentWrapper The DetectedSensitiveContentWrapper + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Device.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Device.php new file mode 100644 index 0000000..754f957 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Device.php @@ -0,0 +1,1300 @@ +_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the account is enabled; otherwise, false. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property. + * + * @param bool $val The accountEnabled + * + * @return Device + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the alternativeSecurityIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The alternativeSecurityIds + */ + public function getAlternativeSecurityIds() + { + if (array_key_exists("alternativeSecurityIds", $this->_propDict)) { + return $this->_propDict["alternativeSecurityIds"]; + } else { + return null; + } + } + + /** + * Sets the alternativeSecurityIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param AlternativeSecurityId[] $val The alternativeSecurityIds + * + * @return Device + */ + public function setAlternativeSecurityIds($val) + { + $this->_propDict["alternativeSecurityIds"] = $val; + return $this; + } + + /** + * Gets the approximateLastSignInDateTime + * 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. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + * + * @return \DateTime|null The approximateLastSignInDateTime + */ + public function getApproximateLastSignInDateTime() + { + if (array_key_exists("approximateLastSignInDateTime", $this->_propDict)) { + if (is_a($this->_propDict["approximateLastSignInDateTime"], "\DateTime") || is_null($this->_propDict["approximateLastSignInDateTime"])) { + return $this->_propDict["approximateLastSignInDateTime"]; + } else { + $this->_propDict["approximateLastSignInDateTime"] = new \DateTime($this->_propDict["approximateLastSignInDateTime"]); + return $this->_propDict["approximateLastSignInDateTime"]; + } + } + return null; + } + + /** + * Sets the approximateLastSignInDateTime + * 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. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + * + * @param \DateTime $val The approximateLastSignInDateTime + * + * @return Device + */ + public function setApproximateLastSignInDateTime($val) + { + $this->_propDict["approximateLastSignInDateTime"] = $val; + return $this; + } + + /** + * Gets the complianceExpirationDateTime + * The timestamp when the device is no longer deemed compliant. 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 complianceExpirationDateTime + */ + public function getComplianceExpirationDateTime() + { + if (array_key_exists("complianceExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["complianceExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceExpirationDateTime"])) { + return $this->_propDict["complianceExpirationDateTime"]; + } else { + $this->_propDict["complianceExpirationDateTime"] = new \DateTime($this->_propDict["complianceExpirationDateTime"]); + return $this->_propDict["complianceExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceExpirationDateTime + * The timestamp when the device is no longer deemed compliant. 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 complianceExpirationDateTime + * + * @return Device + */ + public function setComplianceExpirationDateTime($val) + { + $this->_propDict["complianceExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceCategory + * User-defined property set by Intune to automatically add devices to groups and simplify managing devices. + * + * @return string|null The deviceCategory + */ + public function getDeviceCategory() + { + if (array_key_exists("deviceCategory", $this->_propDict)) { + return $this->_propDict["deviceCategory"]; + } else { + return null; + } + } + + /** + * Sets the deviceCategory + * User-defined property set by Intune to automatically add devices to groups and simplify managing devices. + * + * @param string $val The deviceCategory + * + * @return Device + */ + public function setDeviceCategory($val) + { + $this->_propDict["deviceCategory"] = $val; + return $this; + } + + /** + * Gets the deviceId + * Identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith). + * + * @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 + * Identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith). + * + * @param string $val The deviceId + * + * @return Device + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceMetadata + * For internal use only. Set to null. + * + * @return string|null The deviceMetadata + */ + public function getDeviceMetadata() + { + if (array_key_exists("deviceMetadata", $this->_propDict)) { + return $this->_propDict["deviceMetadata"]; + } else { + return null; + } + } + + /** + * Sets the deviceMetadata + * For internal use only. Set to null. + * + * @param string $val The deviceMetadata + * + * @return Device + */ + public function setDeviceMetadata($val) + { + $this->_propDict["deviceMetadata"] = $val; + return $this; + } + + /** + * Gets the deviceOwnership + * Ownership of the device. This property is set by Intune. Possible values are: unknown, company, personal. + * + * @return string|null The deviceOwnership + */ + public function getDeviceOwnership() + { + if (array_key_exists("deviceOwnership", $this->_propDict)) { + return $this->_propDict["deviceOwnership"]; + } else { + return null; + } + } + + /** + * Sets the deviceOwnership + * Ownership of the device. This property is set by Intune. Possible values are: unknown, company, personal. + * + * @param string $val The deviceOwnership + * + * @return Device + */ + public function setDeviceOwnership($val) + { + $this->_propDict["deviceOwnership"] = $val; + return $this; + } + + /** + * Gets the deviceVersion + * For internal use only. + * + * @return int|null The deviceVersion + */ + public function getDeviceVersion() + { + if (array_key_exists("deviceVersion", $this->_propDict)) { + return $this->_propDict["deviceVersion"]; + } else { + return null; + } + } + + /** + * Sets the deviceVersion + * For internal use only. + * + * @param int $val The deviceVersion + * + * @return Device + */ + public function setDeviceVersion($val) + { + $this->_propDict["deviceVersion"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return Device + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the domainName + * The on-premises domain name of Hybrid Azure AD joined devices. This property is set by Intune. + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * The on-premises domain name of Hybrid Azure AD joined devices. This property is set by Intune. + * + * @param string $val The domainName + * + * @return Device + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + + /** + * Gets the enrollmentProfileName + * Enrollment profile applied to the device. For example, Apple Device Enrollment Profile, Device enrollment - Corporate device identifiers, or Windows Autopilot profile name. This property is set by Intune. + * + * @return string|null The enrollmentProfileName + */ + public function getEnrollmentProfileName() + { + if (array_key_exists("enrollmentProfileName", $this->_propDict)) { + return $this->_propDict["enrollmentProfileName"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentProfileName + * Enrollment profile applied to the device. For example, Apple Device Enrollment Profile, Device enrollment - Corporate device identifiers, or Windows Autopilot profile name. This property is set by Intune. + * + * @param string $val The enrollmentProfileName + * + * @return Device + */ + public function setEnrollmentProfileName($val) + { + $this->_propDict["enrollmentProfileName"] = $val; + return $this; + } + + /** + * Gets the enrollmentType + * Enrollment type of the device. This property is set by Intune. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + * + * @return string|null The enrollmentType + */ + public function getEnrollmentType() + { + if (array_key_exists("enrollmentType", $this->_propDict)) { + return $this->_propDict["enrollmentType"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentType + * Enrollment type of the device. This property is set by Intune. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement. + * + * @param string $val The enrollmentType + * + * @return Device + */ + public function setEnrollmentType($val) + { + $this->_propDict["enrollmentType"] = $val; + return $this; + } + + /** + * Gets the extensionAttributes + * Contains extension attributes 1-15 for the device. The individual extension attributes are not selectable. These properties are mastered in cloud and can be set during creation or update of a device object in Azure AD. Supports $filter (eq, not, startsWith, and eq on null values). + * + * @return OnPremisesExtensionAttributes|null The extensionAttributes + */ + public function getExtensionAttributes() + { + if (array_key_exists("extensionAttributes", $this->_propDict)) { + if (is_a($this->_propDict["extensionAttributes"], "\Beta\Microsoft\Graph\Model\OnPremisesExtensionAttributes") || is_null($this->_propDict["extensionAttributes"])) { + return $this->_propDict["extensionAttributes"]; + } else { + $this->_propDict["extensionAttributes"] = new OnPremisesExtensionAttributes($this->_propDict["extensionAttributes"]); + return $this->_propDict["extensionAttributes"]; + } + } + return null; + } + + /** + * Sets the extensionAttributes + * Contains extension attributes 1-15 for the device. The individual extension attributes are not selectable. These properties are mastered in cloud and can be set during creation or update of a device object in Azure AD. Supports $filter (eq, not, startsWith, and eq on null values). + * + * @param OnPremisesExtensionAttributes $val The extensionAttributes + * + * @return Device + */ + public function setExtensionAttributes($val) + { + $this->_propDict["extensionAttributes"] = $val; + return $this; + } + + /** + * Gets the hostnames + * List of hostNames for the device. + * + * @return string|null The hostnames + */ + public function getHostnames() + { + if (array_key_exists("hostnames", $this->_propDict)) { + return $this->_propDict["hostnames"]; + } else { + return null; + } + } + + /** + * Sets the hostnames + * List of hostNames for the device. + * + * @param string $val The hostnames + * + * @return Device + */ + public function setHostnames($val) + { + $this->_propDict["hostnames"] = $val; + return $this; + } + + /** + * Gets the isCompliant + * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @return bool|null The isCompliant + */ + public function getIsCompliant() + { + if (array_key_exists("isCompliant", $this->_propDict)) { + return $this->_propDict["isCompliant"]; + } else { + return null; + } + } + + /** + * Sets the isCompliant + * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @param bool $val The isCompliant + * + * @return Device + */ + public function setIsCompliant($val) + { + $this->_propDict["isCompliant"] = boolval($val); + return $this; + } + + /** + * Gets the isManaged + * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @return bool|null The isManaged + */ + public function getIsManaged() + { + if (array_key_exists("isManaged", $this->_propDict)) { + return $this->_propDict["isManaged"]; + } else { + return null; + } + } + + /** + * Sets the isManaged + * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @param bool $val The isManaged + * + * @return Device + */ + public function setIsManaged($val) + { + $this->_propDict["isManaged"] = boolval($val); + return $this; + } + + /** + * Gets the isManagementRestricted + * + * @return bool|null The isManagementRestricted + */ + public function getIsManagementRestricted() + { + if (array_key_exists("isManagementRestricted", $this->_propDict)) { + return $this->_propDict["isManagementRestricted"]; + } else { + return null; + } + } + + /** + * Sets the isManagementRestricted + * + * @param bool $val The isManagementRestricted + * + * @return Device + */ + public function setIsManagementRestricted($val) + { + $this->_propDict["isManagementRestricted"] = boolval($val); + return $this; + } + + /** + * Gets the isRooted + * true if device is rooted; false if device is jail-broken. This can only be updated by Intune. + * + * @return bool|null The isRooted + */ + public function getIsRooted() + { + if (array_key_exists("isRooted", $this->_propDict)) { + return $this->_propDict["isRooted"]; + } else { + return null; + } + } + + /** + * Sets the isRooted + * true if device is rooted; false if device is jail-broken. This can only be updated by Intune. + * + * @param bool $val The isRooted + * + * @return Device + */ + public function setIsRooted($val) + { + $this->_propDict["isRooted"] = boolval($val); + return $this; + } + + /** + * Gets the managementType + * Management channel of the device. This property is set by Intune. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. + * + * @return string|null The managementType + */ + public function getManagementType() + { + if (array_key_exists("managementType", $this->_propDict)) { + return $this->_propDict["managementType"]; + } else { + return null; + } + } + + /** + * Sets the managementType + * Management channel of the device. This property is set by Intune. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController. + * + * @param string $val The managementType + * + * @return Device + */ + public function setManagementType($val) + { + $this->_propDict["managementType"] = $val; + return $this; + } + + /** + * Gets the mdmAppId + * Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith). + * + * @return string|null The mdmAppId + */ + public function getMdmAppId() + { + if (array_key_exists("mdmAppId", $this->_propDict)) { + return $this->_propDict["mdmAppId"]; + } else { + return null; + } + } + + /** + * Sets the mdmAppId + * Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith). + * + * @param string $val The mdmAppId + * + * @return Device + */ + public function setMdmAppId($val) + { + $this->_propDict["mdmAppId"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * The last time at which the object was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * The last time at which the object was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return Device + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return Device + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the operatingSystem + * The type of operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * The type of operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @param string $val The operatingSystem + * + * @return Device + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the operatingSystemVersion + * Operating system version of the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @return string|null The operatingSystemVersion + */ + public function getOperatingSystemVersion() + { + if (array_key_exists("operatingSystemVersion", $this->_propDict)) { + return $this->_propDict["operatingSystemVersion"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemVersion + * Operating system version of the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @param string $val The operatingSystemVersion + * + * @return Device + */ + public function setOperatingSystemVersion($val) + { + $this->_propDict["operatingSystemVersion"] = $val; + return $this; + } + + /** + * Gets the physicalIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @return string|null The physicalIds + */ + public function getPhysicalIds() + { + if (array_key_exists("physicalIds", $this->_propDict)) { + return $this->_propDict["physicalIds"]; + } else { + return null; + } + } + + /** + * Sets the physicalIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @param string $val The physicalIds + * + * @return Device + */ + public function setPhysicalIds($val) + { + $this->_propDict["physicalIds"] = $val; + return $this; + } + + /** + * Gets the profileType + * The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT. + * + * @return string|null The profileType + */ + public function getProfileType() + { + if (array_key_exists("profileType", $this->_propDict)) { + return $this->_propDict["profileType"]; + } else { + return null; + } + } + + /** + * Sets the profileType + * The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT. + * + * @param string $val The profileType + * + * @return Device + */ + public function setProfileType($val) + { + $this->_propDict["profileType"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * Date and time of when the device was registered. 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 registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime + * Date and time of when the device was registered. 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 registrationDateTime + * + * @return Device + */ + public function setRegistrationDateTime($val) + { + $this->_propDict["registrationDateTime"] = $val; + return $this; + } + + /** + * Gets the systemLabels + * List of labels applied to the device by the system. Supports $filter (eq when counting empty collections). + * + * @return string|null The systemLabels + */ + public function getSystemLabels() + { + if (array_key_exists("systemLabels", $this->_propDict)) { + return $this->_propDict["systemLabels"]; + } else { + return null; + } + } + + /** + * Sets the systemLabels + * List of labels applied to the device by the system. Supports $filter (eq when counting empty collections). + * + * @param string $val The systemLabels + * + * @return Device + */ + public function setSystemLabels($val) + { + $this->_propDict["systemLabels"] = $val; + return $this; + } + + /** + * Gets the trustType + * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + * + * @return string|null The trustType + */ + public function getTrustType() + { + if (array_key_exists("trustType", $this->_propDict)) { + return $this->_propDict["trustType"]; + } else { + return null; + } + } + + /** + * Sets the trustType + * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + * + * @param string $val The trustType + * + * @return Device + */ + public function setTrustType($val) + { + $this->_propDict["trustType"] = $val; + return $this; + } + + /** + * Gets the kind + * Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @return string|null The kind + */ + public function getKind() + { + if (array_key_exists("kind", $this->_propDict)) { + return $this->_propDict["kind"]; + } else { + return null; + } + } + + /** + * Sets the kind + * Form factor of device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @param string $val The kind + * + * @return Device + */ + public function setKind($val) + { + $this->_propDict["kind"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * Manufacturer of the device. Read-only. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Manufacturer of the device. Read-only. + * + * @param string $val The manufacturer + * + * @return Device + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * Model of the device. Read-only. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model of the device. Read-only. + * + * @param string $val The model + * + * @return Device + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the name + * Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Friendly name of a device. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @param string $val The name + * + * @return Device + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the platform + * Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @return string|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + return $this->_propDict["platform"]; + } else { + return null; + } + } + + /** + * Sets the platform + * Platform of device. Only returned if user signs in with a Microsoft account as part of Project Rome. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @param string $val The platform + * + * @return Device + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the status + * Device is online or offline. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Device is online or offline. Only returned if user signs in with a Microsoft account as part of Project Rome. + * + * @param string $val The status + * + * @return Device + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the usageRights + * Represents the usage rights a device has been granted. + * + * @return array|null The usageRights + */ + public function getUsageRights() + { + if (array_key_exists("usageRights", $this->_propDict)) { + return $this->_propDict["usageRights"]; + } else { + return null; + } + } + + /** + * Sets the usageRights + * Represents the usage rights a device has been granted. + * + * @param UsageRight[] $val The usageRights + * + * @return Device + */ + public function setUsageRights($val) + { + $this->_propDict["usageRights"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return Device + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the registeredOwners + * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. Supports $expand. + * + * @return array|null The registeredOwners + */ + public function getRegisteredOwners() + { + if (array_key_exists("registeredOwners", $this->_propDict)) { + return $this->_propDict["registeredOwners"]; + } else { + return null; + } + } + + /** + * Sets the registeredOwners + * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The registeredOwners + * + * @return Device + */ + public function setRegisteredOwners($val) + { + $this->_propDict["registeredOwners"] = $val; + return $this; + } + + + /** + * Gets the registeredUsers + * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + * + * @return array|null The registeredUsers + */ + public function getRegisteredUsers() + { + if (array_key_exists("registeredUsers", $this->_propDict)) { + return $this->_propDict["registeredUsers"]; + } else { + return null; + } + } + + /** + * Sets the registeredUsers + * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The registeredUsers + * + * @return Device + */ + public function setRegisteredUsers($val) + { + $this->_propDict["registeredUsers"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * Groups and administrative units that this device is a member of. This operation is transitive. Supports $expand. + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * Groups and administrative units that this device is a member of. This operation is transitive. Supports $expand. + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return Device + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the device. Read-only. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the device. Read-only. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Device + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the commands + * Set of commands sent to this device. + * + * @return array|null The commands + */ + public function getCommands() + { + if (array_key_exists("commands", $this->_propDict)) { + return $this->_propDict["commands"]; + } else { + return null; + } + } + + /** + * Sets the commands + * Set of commands sent to this device. + * + * @param Command[] $val The commands + * + * @return Device + */ + public function setCommands($val) + { + $this->_propDict["commands"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceActionResult.php new file mode 100644 index 0000000..118c637 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceActionResult.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Action name + * + * @param string $val The value of the actionName + * + * @return DeviceActionResult + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The value to assign to the actionState + * + * @return DeviceActionResult The DeviceActionResult + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Time the action state was last updated + * + * @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 + * Time the action state was last updated + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return DeviceActionResult The DeviceActionResult + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time the action was initiated + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time the action was initiated + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return DeviceActionResult The DeviceActionResult + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignedRoleDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignedRoleDetails.php new file mode 100644 index 0000000..6ba7eb2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignedRoleDetails.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["roleAssignmentIds"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentIds + * Role Assignment IDs for the specifc Role Assignments assigned to a user. This property is read-only. + * + * @param string $val The value of the roleAssignmentIds + * + * @return DeviceAndAppManagementAssignedRoleDetails + */ + public function setRoleAssignmentIds($val) + { + $this->_propDict["roleAssignmentIds"] = $val; + return $this; + } + /** + * Gets the roleDefinitionIds + * Role Definition IDs for the specifc Role Definitions assigned to a user. This property is read-only. + * + * @return string|null The roleDefinitionIds + */ + public function getRoleDefinitionIds() + { + if (array_key_exists("roleDefinitionIds", $this->_propDict)) { + return $this->_propDict["roleDefinitionIds"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionIds + * Role Definition IDs for the specifc Role Definitions assigned to a user. This property is read-only. + * + * @param string $val The value of the roleDefinitionIds + * + * @return DeviceAndAppManagementAssignedRoleDetails + */ + public function setRoleDefinitionIds($val) + { + $this->_propDict["roleDefinitionIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php new file mode 100644 index 0000000..0f998a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Creation time of the Assignment Filter. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the Assignment Filter. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the Assignment Filter. + * + * @param string $val The description + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * DisplayName of the Assignment Filter. + * + * @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 + * DisplayName of the Assignment Filter. + * + * @param string $val The displayName + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified time of the Assignment Filter. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified time of the Assignment Filter. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * 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. + * + * @return DevicePlatformType|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new DevicePlatformType($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * 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. + * + * @param DevicePlatformType $val The platform + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the roleScopeTags + * RoleScopeTags of the Assignment Filter. + * + * @return string|null The roleScopeTags + */ + public function getRoleScopeTags() + { + if (array_key_exists("roleScopeTags", $this->_propDict)) { + return $this->_propDict["roleScopeTags"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTags + * RoleScopeTags of the Assignment Filter. + * + * @param string $val The roleScopeTags + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setRoleScopeTags($val) + { + $this->_propDict["roleScopeTags"] = $val; + return $this; + } + + /** + * Gets the rule + * Rule definition of the Assignment Filter. + * + * @return string|null The rule + */ + public function getRule() + { + if (array_key_exists("rule", $this->_propDict)) { + return $this->_propDict["rule"]; + } else { + return null; + } + } + + /** + * Sets the rule + * Rule definition of the Assignment Filter. + * + * @param string $val The rule + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setRule($val) + { + $this->_propDict["rule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilterType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilterType.php new file mode 100644 index 0000000..e825f26 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilterType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["deviceAndAppManagementAssignmentFilterId"]; + } else { + return null; + } + } + + /** + * Sets the deviceAndAppManagementAssignmentFilterId + * The Id of the filter for the target assignment. + * + * @param string $val The value of the deviceAndAppManagementAssignmentFilterId + * + * @return DeviceAndAppManagementAssignmentTarget + */ + public function setDeviceAndAppManagementAssignmentFilterId($val) + { + $this->_propDict["deviceAndAppManagementAssignmentFilterId"] = $val; + return $this; + } + + /** + * Gets the deviceAndAppManagementAssignmentFilterType + * The type of filter of the target assignment i.e. Exclude or Include. Possible values are: none, include, exclude. + * + * @return DeviceAndAppManagementAssignmentFilterType|null The deviceAndAppManagementAssignmentFilterType + */ + public function getDeviceAndAppManagementAssignmentFilterType() + { + if (array_key_exists("deviceAndAppManagementAssignmentFilterType", $this->_propDict)) { + if (is_a($this->_propDict["deviceAndAppManagementAssignmentFilterType"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentFilterType") || is_null($this->_propDict["deviceAndAppManagementAssignmentFilterType"])) { + return $this->_propDict["deviceAndAppManagementAssignmentFilterType"]; + } else { + $this->_propDict["deviceAndAppManagementAssignmentFilterType"] = new DeviceAndAppManagementAssignmentFilterType($this->_propDict["deviceAndAppManagementAssignmentFilterType"]); + return $this->_propDict["deviceAndAppManagementAssignmentFilterType"]; + } + } + return null; + } + + /** + * Sets the deviceAndAppManagementAssignmentFilterType + * The type of filter of the target assignment i.e. Exclude or Include. Possible values are: none, include, exclude. + * + * @param DeviceAndAppManagementAssignmentFilterType $val The value to assign to the deviceAndAppManagementAssignmentFilterType + * + * @return DeviceAndAppManagementAssignmentTarget The DeviceAndAppManagementAssignmentTarget + */ + public function setDeviceAndAppManagementAssignmentFilterType($val) + { + $this->_propDict["deviceAndAppManagementAssignmentFilterType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementData.php new file mode 100644 index 0000000..4bd5780 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementData.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * Not yet documented + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the content + * + * @return DeviceAndAppManagementData The DeviceAndAppManagementData + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleAssignment.php new file mode 100644 index 0000000..e6f04e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleAssignment.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * The list of ids of role member security groups. These are IDs from Azure Active Directory. + * + * @param string $val The members + * + * @return DeviceAndAppManagementRoleAssignment + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the roleScopeTags + * The set of Role Scope Tags defined on the Role Assignment. + * + * @return array|null The roleScopeTags + */ + public function getRoleScopeTags() + { + if (array_key_exists("roleScopeTags", $this->_propDict)) { + return $this->_propDict["roleScopeTags"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTags + * The set of Role Scope Tags defined on the Role Assignment. + * + * @param RoleScopeTag[] $val The roleScopeTags + * + * @return DeviceAndAppManagementRoleAssignment + */ + public function setRoleScopeTags($val) + { + $this->_propDict["roleScopeTags"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleDefinition.php new file mode 100644 index 0000000..46ad775 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleDefinition.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["isEnabledForMicrosoftStoreForBusiness"]; + } else { + return null; + } + } + + /** + * Sets the isEnabledForMicrosoftStoreForBusiness + * Whether the account is enabled for syncing applications from the Microsoft Store for Business. + * + * @param bool $val The isEnabledForMicrosoftStoreForBusiness + * + * @return DeviceAppManagement + */ + public function setIsEnabledForMicrosoftStoreForBusiness($val) + { + $this->_propDict["isEnabledForMicrosoftStoreForBusiness"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftStoreForBusinessLanguage + * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&lt;country/regioncode2&gt;, where is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture. + * + * @return string|null The microsoftStoreForBusinessLanguage + */ + public function getMicrosoftStoreForBusinessLanguage() + { + if (array_key_exists("microsoftStoreForBusinessLanguage", $this->_propDict)) { + return $this->_propDict["microsoftStoreForBusinessLanguage"]; + } else { + return null; + } + } + + /** + * Sets the microsoftStoreForBusinessLanguage + * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&lt;country/regioncode2&gt;, where is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture. + * + * @param string $val The microsoftStoreForBusinessLanguage + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessLanguage($val) + { + $this->_propDict["microsoftStoreForBusinessLanguage"] = $val; + return $this; + } + + /** + * Gets the microsoftStoreForBusinessLastCompletedApplicationSyncTime + * The last time an application sync from the Microsoft Store for Business was completed. + * + * @return \DateTime|null The microsoftStoreForBusinessLastCompletedApplicationSyncTime + */ + public function getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime() + { + if (array_key_exists("microsoftStoreForBusinessLastCompletedApplicationSyncTime", $this->_propDict)) { + if (is_a($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"], "\DateTime") || is_null($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"])) { + return $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]; + } else { + $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"] = new \DateTime($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]); + return $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]; + } + } + return null; + } + + /** + * Sets the microsoftStoreForBusinessLastCompletedApplicationSyncTime + * The last time an application sync from the Microsoft Store for Business was completed. + * + * @param \DateTime $val The microsoftStoreForBusinessLastCompletedApplicationSyncTime + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessLastCompletedApplicationSyncTime($val) + { + $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"] = $val; + return $this; + } + + /** + * Gets the microsoftStoreForBusinessLastSuccessfulSyncDateTime + * The last time the apps from the Microsoft Store for Business were synced successfully for the account. + * + * @return \DateTime|null The microsoftStoreForBusinessLastSuccessfulSyncDateTime + */ + public function getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime() + { + if (array_key_exists("microsoftStoreForBusinessLastSuccessfulSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"], "\DateTime") || is_null($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"])) { + return $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]; + } else { + $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]); + return $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the microsoftStoreForBusinessLastSuccessfulSyncDateTime + * The last time the apps from the Microsoft Store for Business were synced successfully for the account. + * + * @param \DateTime $val The microsoftStoreForBusinessLastSuccessfulSyncDateTime + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessLastSuccessfulSyncDateTime($val) + { + $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the microsoftStoreForBusinessPortalSelection + * The end user portal information is used to sync applications from the Microsoft Store for Business to Intune Company Portal. There are three options to pick from ['Company portal only', 'Company portal and private store', 'Private store only']. Possible values are: none, companyPortal, privateStore. + * + * @return MicrosoftStoreForBusinessPortalSelectionOptions|null The microsoftStoreForBusinessPortalSelection + */ + public function getMicrosoftStoreForBusinessPortalSelection() + { + if (array_key_exists("microsoftStoreForBusinessPortalSelection", $this->_propDict)) { + if (is_a($this->_propDict["microsoftStoreForBusinessPortalSelection"], "\Beta\Microsoft\Graph\Model\MicrosoftStoreForBusinessPortalSelectionOptions") || is_null($this->_propDict["microsoftStoreForBusinessPortalSelection"])) { + return $this->_propDict["microsoftStoreForBusinessPortalSelection"]; + } else { + $this->_propDict["microsoftStoreForBusinessPortalSelection"] = new MicrosoftStoreForBusinessPortalSelectionOptions($this->_propDict["microsoftStoreForBusinessPortalSelection"]); + return $this->_propDict["microsoftStoreForBusinessPortalSelection"]; + } + } + return null; + } + + /** + * Sets the microsoftStoreForBusinessPortalSelection + * The end user portal information is used to sync applications from the Microsoft Store for Business to Intune Company Portal. There are three options to pick from ['Company portal only', 'Company portal and private store', 'Private store only']. Possible values are: none, companyPortal, privateStore. + * + * @param MicrosoftStoreForBusinessPortalSelectionOptions $val The microsoftStoreForBusinessPortalSelection + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessPortalSelection($val) + { + $this->_propDict["microsoftStoreForBusinessPortalSelection"] = $val; + return $this; + } + + + /** + * Gets the managedEBookCategories + * The mobile eBook categories. + * + * @return array|null The managedEBookCategories + */ + public function getManagedEBookCategories() + { + if (array_key_exists("managedEBookCategories", $this->_propDict)) { + return $this->_propDict["managedEBookCategories"]; + } else { + return null; + } + } + + /** + * Sets the managedEBookCategories + * The mobile eBook categories. + * + * @param ManagedEBookCategory[] $val The managedEBookCategories + * + * @return DeviceAppManagement + */ + public function setManagedEBookCategories($val) + { + $this->_propDict["managedEBookCategories"] = $val; + return $this; + } + + + /** + * Gets the enterpriseCodeSigningCertificates + * The Windows Enterprise Code Signing Certificate. + * + * @return array|null The enterpriseCodeSigningCertificates + */ + public function getEnterpriseCodeSigningCertificates() + { + if (array_key_exists("enterpriseCodeSigningCertificates", $this->_propDict)) { + return $this->_propDict["enterpriseCodeSigningCertificates"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCodeSigningCertificates + * The Windows Enterprise Code Signing Certificate. + * + * @param EnterpriseCodeSigningCertificate[] $val The enterpriseCodeSigningCertificates + * + * @return DeviceAppManagement + */ + public function setEnterpriseCodeSigningCertificates($val) + { + $this->_propDict["enterpriseCodeSigningCertificates"] = $val; + return $this; + } + + + /** + * Gets the iosLobAppProvisioningConfigurations + * The IOS Lob App Provisioning Configurations. + * + * @return array|null The iosLobAppProvisioningConfigurations + */ + public function getIosLobAppProvisioningConfigurations() + { + if (array_key_exists("iosLobAppProvisioningConfigurations", $this->_propDict)) { + return $this->_propDict["iosLobAppProvisioningConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the iosLobAppProvisioningConfigurations + * The IOS Lob App Provisioning Configurations. + * + * @param IosLobAppProvisioningConfiguration[] $val The iosLobAppProvisioningConfigurations + * + * @return DeviceAppManagement + */ + public function setIosLobAppProvisioningConfigurations($val) + { + $this->_propDict["iosLobAppProvisioningConfigurations"] = $val; + return $this; + } + + + /** + * Gets the mobileAppCategories + * The mobile app categories. + * + * @return array|null The mobileAppCategories + */ + public function getMobileAppCategories() + { + if (array_key_exists("mobileAppCategories", $this->_propDict)) { + return $this->_propDict["mobileAppCategories"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppCategories + * The mobile app categories. + * + * @param MobileAppCategory[] $val The mobileAppCategories + * + * @return DeviceAppManagement + */ + public function setMobileAppCategories($val) + { + $this->_propDict["mobileAppCategories"] = $val; + return $this; + } + + + /** + * Gets the mobileAppConfigurations + * The Managed Device Mobile Application Configurations. + * + * @return array|null The mobileAppConfigurations + */ + public function getMobileAppConfigurations() + { + if (array_key_exists("mobileAppConfigurations", $this->_propDict)) { + return $this->_propDict["mobileAppConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppConfigurations + * The Managed Device Mobile Application Configurations. + * + * @param ManagedDeviceMobileAppConfiguration[] $val The mobileAppConfigurations + * + * @return DeviceAppManagement + */ + public function setMobileAppConfigurations($val) + { + $this->_propDict["mobileAppConfigurations"] = $val; + return $this; + } + + + /** + * Gets the mobileApps + * The mobile apps. + * + * @return array|null The mobileApps + */ + public function getMobileApps() + { + if (array_key_exists("mobileApps", $this->_propDict)) { + return $this->_propDict["mobileApps"]; + } else { + return null; + } + } + + /** + * Sets the mobileApps + * The mobile apps. + * + * @param MobileApp[] $val The mobileApps + * + * @return DeviceAppManagement + */ + public function setMobileApps($val) + { + $this->_propDict["mobileApps"] = $val; + return $this; + } + + /** + * Gets the symantecCodeSigningCertificate + * The WinPhone Symantec Code Signing Certificate. + * + * @return SymantecCodeSigningCertificate|null The symantecCodeSigningCertificate + */ + public function getSymantecCodeSigningCertificate() + { + if (array_key_exists("symantecCodeSigningCertificate", $this->_propDict)) { + if (is_a($this->_propDict["symantecCodeSigningCertificate"], "\Beta\Microsoft\Graph\Model\SymantecCodeSigningCertificate") || is_null($this->_propDict["symantecCodeSigningCertificate"])) { + return $this->_propDict["symantecCodeSigningCertificate"]; + } else { + $this->_propDict["symantecCodeSigningCertificate"] = new SymantecCodeSigningCertificate($this->_propDict["symantecCodeSigningCertificate"]); + return $this->_propDict["symantecCodeSigningCertificate"]; + } + } + return null; + } + + /** + * Sets the symantecCodeSigningCertificate + * The WinPhone Symantec Code Signing Certificate. + * + * @param SymantecCodeSigningCertificate $val The symantecCodeSigningCertificate + * + * @return DeviceAppManagement + */ + public function setSymantecCodeSigningCertificate($val) + { + $this->_propDict["symantecCodeSigningCertificate"] = $val; + return $this; + } + + + /** + * Gets the managedEBooks + * The Managed eBook. + * + * @return array|null The managedEBooks + */ + public function getManagedEBooks() + { + if (array_key_exists("managedEBooks", $this->_propDict)) { + return $this->_propDict["managedEBooks"]; + } else { + return null; + } + } + + /** + * Sets the managedEBooks + * The Managed eBook. + * + * @param ManagedEBook[] $val The managedEBooks + * + * @return DeviceAppManagement + */ + public function setManagedEBooks($val) + { + $this->_propDict["managedEBooks"] = $val; + return $this; + } + + + /** + * Gets the policySets + * The PolicySet of Policies and Applications + * + * @return array|null The policySets + */ + public function getPolicySets() + { + if (array_key_exists("policySets", $this->_propDict)) { + return $this->_propDict["policySets"]; + } else { + return null; + } + } + + /** + * Sets the policySets + * The PolicySet of Policies and Applications + * + * @param PolicySet[] $val The policySets + * + * @return DeviceAppManagement + */ + public function setPolicySets($val) + { + $this->_propDict["policySets"] = $val; + return $this; + } + + + /** + * Gets the sideLoadingKeys + * Side Loading Keys that are required for the Windows 8 and 8.1 Apps installation. + * + * @return array|null The sideLoadingKeys + */ + public function getSideLoadingKeys() + { + if (array_key_exists("sideLoadingKeys", $this->_propDict)) { + return $this->_propDict["sideLoadingKeys"]; + } else { + return null; + } + } + + /** + * Sets the sideLoadingKeys + * Side Loading Keys that are required for the Windows 8 and 8.1 Apps installation. + * + * @param SideLoadingKey[] $val The sideLoadingKeys + * + * @return DeviceAppManagement + */ + public function setSideLoadingKeys($val) + { + $this->_propDict["sideLoadingKeys"] = $val; + return $this; + } + + + /** + * Gets the vppTokens + * List of Vpp tokens for this organization. + * + * @return array|null The vppTokens + */ + public function getVppTokens() + { + if (array_key_exists("vppTokens", $this->_propDict)) { + return $this->_propDict["vppTokens"]; + } else { + return null; + } + } + + /** + * Sets the vppTokens + * List of Vpp tokens for this organization. + * + * @param VppToken[] $val The vppTokens + * + * @return DeviceAppManagement + */ + public function setVppTokens($val) + { + $this->_propDict["vppTokens"] = $val; + return $this; + } + + /** + * Gets the windowsManagementApp + * Windows management app. + * + * @return WindowsManagementApp|null The windowsManagementApp + */ + public function getWindowsManagementApp() + { + if (array_key_exists("windowsManagementApp", $this->_propDict)) { + if (is_a($this->_propDict["windowsManagementApp"], "\Beta\Microsoft\Graph\Model\WindowsManagementApp") || is_null($this->_propDict["windowsManagementApp"])) { + return $this->_propDict["windowsManagementApp"]; + } else { + $this->_propDict["windowsManagementApp"] = new WindowsManagementApp($this->_propDict["windowsManagementApp"]); + return $this->_propDict["windowsManagementApp"]; + } + } + return null; + } + + /** + * Sets the windowsManagementApp + * Windows management app. + * + * @param WindowsManagementApp $val The windowsManagementApp + * + * @return DeviceAppManagement + */ + public function setWindowsManagementApp($val) + { + $this->_propDict["windowsManagementApp"] = $val; + return $this; + } + + + /** + * Gets the androidManagedAppProtections + * Android managed app policies. + * + * @return array|null The androidManagedAppProtections + */ + public function getAndroidManagedAppProtections() + { + if (array_key_exists("androidManagedAppProtections", $this->_propDict)) { + return $this->_propDict["androidManagedAppProtections"]; + } else { + return null; + } + } + + /** + * Sets the androidManagedAppProtections + * Android managed app policies. + * + * @param AndroidManagedAppProtection[] $val The androidManagedAppProtections + * + * @return DeviceAppManagement + */ + public function setAndroidManagedAppProtections($val) + { + $this->_propDict["androidManagedAppProtections"] = $val; + return $this; + } + + + /** + * Gets the defaultManagedAppProtections + * Default managed app policies. + * + * @return array|null The defaultManagedAppProtections + */ + public function getDefaultManagedAppProtections() + { + if (array_key_exists("defaultManagedAppProtections", $this->_propDict)) { + return $this->_propDict["defaultManagedAppProtections"]; + } else { + return null; + } + } + + /** + * Sets the defaultManagedAppProtections + * Default managed app policies. + * + * @param DefaultManagedAppProtection[] $val The defaultManagedAppProtections + * + * @return DeviceAppManagement + */ + public function setDefaultManagedAppProtections($val) + { + $this->_propDict["defaultManagedAppProtections"] = $val; + return $this; + } + + + /** + * Gets the iosManagedAppProtections + * iOS managed app policies. + * + * @return array|null The iosManagedAppProtections + */ + public function getIosManagedAppProtections() + { + if (array_key_exists("iosManagedAppProtections", $this->_propDict)) { + return $this->_propDict["iosManagedAppProtections"]; + } else { + return null; + } + } + + /** + * Sets the iosManagedAppProtections + * iOS managed app policies. + * + * @param IosManagedAppProtection[] $val The iosManagedAppProtections + * + * @return DeviceAppManagement + */ + public function setIosManagedAppProtections($val) + { + $this->_propDict["iosManagedAppProtections"] = $val; + return $this; + } + + + /** + * Gets the managedAppPolicies + * Managed app policies. + * + * @return array|null The managedAppPolicies + */ + public function getManagedAppPolicies() + { + if (array_key_exists("managedAppPolicies", $this->_propDict)) { + return $this->_propDict["managedAppPolicies"]; + } else { + return null; + } + } + + /** + * Sets the managedAppPolicies + * Managed app policies. + * + * @param ManagedAppPolicy[] $val The managedAppPolicies + * + * @return DeviceAppManagement + */ + public function setManagedAppPolicies($val) + { + $this->_propDict["managedAppPolicies"] = $val; + return $this; + } + + + /** + * Gets the managedAppRegistrations + * The managed app registrations. + * + * @return array|null The managedAppRegistrations + */ + public function getManagedAppRegistrations() + { + if (array_key_exists("managedAppRegistrations", $this->_propDict)) { + return $this->_propDict["managedAppRegistrations"]; + } else { + return null; + } + } + + /** + * Sets the managedAppRegistrations + * The managed app registrations. + * + * @param ManagedAppRegistration[] $val The managedAppRegistrations + * + * @return DeviceAppManagement + */ + public function setManagedAppRegistrations($val) + { + $this->_propDict["managedAppRegistrations"] = $val; + return $this; + } + + + /** + * Gets the managedAppStatuses + * The managed app statuses. + * + * @return array|null The managedAppStatuses + */ + public function getManagedAppStatuses() + { + if (array_key_exists("managedAppStatuses", $this->_propDict)) { + return $this->_propDict["managedAppStatuses"]; + } else { + return null; + } + } + + /** + * Sets the managedAppStatuses + * The managed app statuses. + * + * @param ManagedAppStatus[] $val The managedAppStatuses + * + * @return DeviceAppManagement + */ + public function setManagedAppStatuses($val) + { + $this->_propDict["managedAppStatuses"] = $val; + return $this; + } + + + /** + * Gets the mdmWindowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are MDM enrolled. + * + * @return array|null The mdmWindowsInformationProtectionPolicies + */ + public function getMdmWindowsInformationProtectionPolicies() + { + if (array_key_exists("mdmWindowsInformationProtectionPolicies", $this->_propDict)) { + return $this->_propDict["mdmWindowsInformationProtectionPolicies"]; + } else { + return null; + } + } + + /** + * Sets the mdmWindowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are MDM enrolled. + * + * @param MdmWindowsInformationProtectionPolicy[] $val The mdmWindowsInformationProtectionPolicies + * + * @return DeviceAppManagement + */ + public function setMdmWindowsInformationProtectionPolicies($val) + { + $this->_propDict["mdmWindowsInformationProtectionPolicies"] = $val; + return $this; + } + + + /** + * Gets the targetedManagedAppConfigurations + * Targeted managed app configurations. + * + * @return array|null The targetedManagedAppConfigurations + */ + public function getTargetedManagedAppConfigurations() + { + if (array_key_exists("targetedManagedAppConfigurations", $this->_propDict)) { + return $this->_propDict["targetedManagedAppConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the targetedManagedAppConfigurations + * Targeted managed app configurations. + * + * @param TargetedManagedAppConfiguration[] $val The targetedManagedAppConfigurations + * + * @return DeviceAppManagement + */ + public function setTargetedManagedAppConfigurations($val) + { + $this->_propDict["targetedManagedAppConfigurations"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionDeviceRegistrations + * Windows information protection device registrations that are not MDM enrolled. + * + * @return array|null The windowsInformationProtectionDeviceRegistrations + */ + public function getWindowsInformationProtectionDeviceRegistrations() + { + if (array_key_exists("windowsInformationProtectionDeviceRegistrations", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionDeviceRegistrations"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionDeviceRegistrations + * Windows information protection device registrations that are not MDM enrolled. + * + * @param WindowsInformationProtectionDeviceRegistration[] $val The windowsInformationProtectionDeviceRegistrations + * + * @return DeviceAppManagement + */ + public function setWindowsInformationProtectionDeviceRegistrations($val) + { + $this->_propDict["windowsInformationProtectionDeviceRegistrations"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are not MDM enrolled. + * + * @return array|null The windowsInformationProtectionPolicies + */ + public function getWindowsInformationProtectionPolicies() + { + if (array_key_exists("windowsInformationProtectionPolicies", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionPolicies"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are not MDM enrolled. + * + * @param WindowsInformationProtectionPolicy[] $val The windowsInformationProtectionPolicies + * + * @return DeviceAppManagement + */ + public function setWindowsInformationProtectionPolicies($val) + { + $this->_propDict["windowsInformationProtectionPolicies"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionWipeActions + * Windows information protection wipe actions. + * + * @return array|null The windowsInformationProtectionWipeActions + */ + public function getWindowsInformationProtectionWipeActions() + { + if (array_key_exists("windowsInformationProtectionWipeActions", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionWipeActions"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionWipeActions + * Windows information protection wipe actions. + * + * @param WindowsInformationProtectionWipeAction[] $val The windowsInformationProtectionWipeActions + * + * @return DeviceAppManagement + */ + public function setWindowsInformationProtectionWipeActions($val) + { + $this->_propDict["windowsInformationProtectionWipeActions"] = $val; + return $this; + } + + + /** + * Gets the deviceAppManagementTasks + * Device app management tasks. + * + * @return array|null The deviceAppManagementTasks + */ + public function getDeviceAppManagementTasks() + { + if (array_key_exists("deviceAppManagementTasks", $this->_propDict)) { + return $this->_propDict["deviceAppManagementTasks"]; + } else { + return null; + } + } + + /** + * Sets the deviceAppManagementTasks + * Device app management tasks. + * + * @param DeviceAppManagementTask[] $val The deviceAppManagementTasks + * + * @return DeviceAppManagement + */ + public function setDeviceAppManagementTasks($val) + { + $this->_propDict["deviceAppManagementTasks"] = $val; + return $this; + } + + + /** + * Gets the wdacSupplementalPolicies + * The collection of Windows Defender Application Control Supplemental Policies. + * + * @return array|null The wdacSupplementalPolicies + */ + public function getWdacSupplementalPolicies() + { + if (array_key_exists("wdacSupplementalPolicies", $this->_propDict)) { + return $this->_propDict["wdacSupplementalPolicies"]; + } else { + return null; + } + } + + /** + * Sets the wdacSupplementalPolicies + * The collection of Windows Defender Application Control Supplemental Policies. + * + * @param WindowsDefenderApplicationControlSupplementalPolicy[] $val The wdacSupplementalPolicies + * + * @return DeviceAppManagement + */ + public function setWdacSupplementalPolicies($val) + { + $this->_propDict["wdacSupplementalPolicies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTask.php new file mode 100644 index 0000000..e67310a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTask.php @@ -0,0 +1,337 @@ +_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * The name or email of the admin this task is assigned to. + * + * @param string $val The assignedTo + * + * @return DeviceAppManagementTask + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the category + * The category. Possible values are: unknown, advancedThreatProtection. + * + * @return DeviceAppManagementTaskCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\DeviceAppManagementTaskCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new DeviceAppManagementTaskCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The category. Possible values are: unknown, advancedThreatProtection. + * + * @param DeviceAppManagementTaskCategory $val The category + * + * @return DeviceAppManagementTask + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The created date. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The created date. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceAppManagementTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creator + * The email address of the creator. + * + * @return string|null The creator + */ + public function getCreator() + { + if (array_key_exists("creator", $this->_propDict)) { + return $this->_propDict["creator"]; + } else { + return null; + } + } + + /** + * Sets the creator + * The email address of the creator. + * + * @param string $val The creator + * + * @return DeviceAppManagementTask + */ + public function setCreator($val) + { + $this->_propDict["creator"] = $val; + return $this; + } + + /** + * Gets the creatorNotes + * Notes from the creator. + * + * @return string|null The creatorNotes + */ + public function getCreatorNotes() + { + if (array_key_exists("creatorNotes", $this->_propDict)) { + return $this->_propDict["creatorNotes"]; + } else { + return null; + } + } + + /** + * Sets the creatorNotes + * Notes from the creator. + * + * @param string $val The creatorNotes + * + * @return DeviceAppManagementTask + */ + public function setCreatorNotes($val) + { + $this->_propDict["creatorNotes"] = $val; + return $this; + } + + /** + * Gets the description + * The description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description. + * + * @param string $val The description + * + * @return DeviceAppManagementTask + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name. + * + * @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 + * The name. + * + * @param string $val The displayName + * + * @return DeviceAppManagementTask + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The due date. + * + * @return \DateTime|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The due date. + * + * @param \DateTime $val The dueDateTime + * + * @return DeviceAppManagementTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the priority + * The priority. Possible values are: none, high, low. + * + * @return DeviceAppManagementTaskPriority|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + if (is_a($this->_propDict["priority"], "\Beta\Microsoft\Graph\Model\DeviceAppManagementTaskPriority") || is_null($this->_propDict["priority"])) { + return $this->_propDict["priority"]; + } else { + $this->_propDict["priority"] = new DeviceAppManagementTaskPriority($this->_propDict["priority"]); + return $this->_propDict["priority"]; + } + } + return null; + } + + /** + * Sets the priority + * The priority. Possible values are: none, high, low. + * + * @param DeviceAppManagementTaskPriority $val The priority + * + * @return DeviceAppManagementTask + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + + /** + * Gets the status + * The status. Possible values are: unknown, pending, active, completed, rejected. + * + * @return DeviceAppManagementTaskStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceAppManagementTaskStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceAppManagementTaskStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status. Possible values are: unknown, pending, active, completed, rejected. + * + * @param DeviceAppManagementTaskStatus $val The status + * + * @return DeviceAppManagementTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTaskCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTaskCategory.php new file mode 100644 index 0000000..f6023b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTaskCategory.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional description for the device category. + * + * @param string $val The description + * + * @return DeviceCategory + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the device category. + * + * @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 + * Display name for the device category. + * + * @param string $val The displayName + * + * @return DeviceCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * Optional role scope tags for the device category. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * Optional role scope tags for the device category. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceCategory + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComanagementAuthorityConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComanagementAuthorityConfiguration.php new file mode 100644 index 0000000..424c528 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComanagementAuthorityConfiguration.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["configurationManagerAgentCommandLineArgument"]; + } else { + return null; + } + } + + /** + * Sets the configurationManagerAgentCommandLineArgument + * CoManagement Authority configuration ConfigurationManagerAgentCommandLineArgument + * + * @param string $val The configurationManagerAgentCommandLineArgument + * + * @return DeviceComanagementAuthorityConfiguration + */ + public function setConfigurationManagerAgentCommandLineArgument($val) + { + $this->_propDict["configurationManagerAgentCommandLineArgument"] = $val; + return $this; + } + + /** + * Gets the installConfigurationManagerAgent + * CoManagement Authority configuration InstallConfigurationManagerAgent + * + * @return bool|null The installConfigurationManagerAgent + */ + public function getInstallConfigurationManagerAgent() + { + if (array_key_exists("installConfigurationManagerAgent", $this->_propDict)) { + return $this->_propDict["installConfigurationManagerAgent"]; + } else { + return null; + } + } + + /** + * Sets the installConfigurationManagerAgent + * CoManagement Authority configuration InstallConfigurationManagerAgent + * + * @param bool $val The installConfigurationManagerAgent + * + * @return DeviceComanagementAuthorityConfiguration + */ + public function setInstallConfigurationManagerAgent($val) + { + $this->_propDict["installConfigurationManagerAgent"] = boolval($val); + return $this; + } + + /** + * Gets the managedDeviceAuthority + * CoManagement Authority configuration ManagedDeviceAuthority + * + * @return int|null The managedDeviceAuthority + */ + public function getManagedDeviceAuthority() + { + if (array_key_exists("managedDeviceAuthority", $this->_propDict)) { + return $this->_propDict["managedDeviceAuthority"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceAuthority + * CoManagement Authority configuration ManagedDeviceAuthority + * + * @param int $val The managedDeviceAuthority + * + * @return DeviceComanagementAuthorityConfiguration + */ + public function setManagedDeviceAuthority($val) + { + $this->_propDict["managedDeviceAuthority"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionItem.php new file mode 100644 index 0000000..3c9c068 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionItem.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\DeviceComplianceActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new DeviceComplianceActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification, remoteLock. + * + * @param DeviceComplianceActionType $val The actionType + * + * @return DeviceComplianceActionItem + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the gracePeriodHours + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + * + * @return int|null The gracePeriodHours + */ + public function getGracePeriodHours() + { + if (array_key_exists("gracePeriodHours", $this->_propDict)) { + return $this->_propDict["gracePeriodHours"]; + } else { + return null; + } + } + + /** + * Sets the gracePeriodHours + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + * + * @param int $val The gracePeriodHours + * + * @return DeviceComplianceActionItem + */ + public function setGracePeriodHours($val) + { + $this->_propDict["gracePeriodHours"] = intval($val); + return $this; + } + + /** + * Gets the notificationMessageCCList + * A list of group IDs to speicify who to CC this notification message to. + * + * @return string|null The notificationMessageCCList + */ + public function getNotificationMessageCCList() + { + if (array_key_exists("notificationMessageCCList", $this->_propDict)) { + return $this->_propDict["notificationMessageCCList"]; + } else { + return null; + } + } + + /** + * Sets the notificationMessageCCList + * A list of group IDs to speicify who to CC this notification message to. + * + * @param string $val The notificationMessageCCList + * + * @return DeviceComplianceActionItem + */ + public function setNotificationMessageCCList($val) + { + $this->_propDict["notificationMessageCCList"] = $val; + return $this; + } + + /** + * Gets the notificationTemplateId + * What notification Message template to use + * + * @return string|null The notificationTemplateId + */ + public function getNotificationTemplateId() + { + if (array_key_exists("notificationTemplateId", $this->_propDict)) { + return $this->_propDict["notificationTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the notificationTemplateId + * What notification Message template to use + * + * @param string $val The notificationTemplateId + * + * @return DeviceComplianceActionItem + */ + public function setNotificationTemplateId($val) + { + $this->_propDict["notificationTemplateId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionType.php new file mode 100644 index 0000000..dfe46a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceComplianceDeviceOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of devices in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of devices in conflict + * + * @param int $val The conflictCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceComplianceDeviceOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @return int|null The notApplicablePlatformCount + */ + public function getNotApplicablePlatformCount() + { + if (array_key_exists("notApplicablePlatformCount", $this->_propDict)) { + return $this->_propDict["notApplicablePlatformCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @param int $val The notApplicablePlatformCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setNotApplicablePlatformCount($val) + { + $this->_propDict["notApplicablePlatformCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending devices + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending devices + * + * @param int $val The pendingCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceDeviceStatus.php new file mode 100644 index 0000000..86a71ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceDeviceStatus.php @@ -0,0 +1,271 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return DeviceComplianceDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return DeviceComplianceDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return DeviceComplianceDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceComplianceDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the platform + * Platform of the device that is being reported + * + * @return int|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + return $this->_propDict["platform"]; + } else { + return null; + } + } + + /** + * Sets the platform + * Platform of the device that is being reported + * + * @param int $val The platform + * + * @return DeviceComplianceDeviceStatus + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = intval($val); + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceComplianceDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return DeviceComplianceDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceComplianceDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicy.php new file mode 100644 index 0000000..487b646 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicy.php @@ -0,0 +1,425 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceCompliancePolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return DeviceCompliancePolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return DeviceCompliancePolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceCompliancePolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceCompliancePolicy + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return DeviceCompliancePolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The collection of assignments for this compliance policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The collection of assignments for this compliance policy. + * + * @param DeviceCompliancePolicyAssignment[] $val The assignments + * + * @return DeviceCompliancePolicy + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceSettingStateSummaries + * Compliance Setting State Device Summary + * + * @return array|null The deviceSettingStateSummaries + */ + public function getDeviceSettingStateSummaries() + { + if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceSettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceSettingStateSummaries + * Compliance Setting State Device Summary + * + * @param SettingStateDeviceSummary[] $val The deviceSettingStateSummaries + * + * @return DeviceCompliancePolicy + */ + public function setDeviceSettingStateSummaries($val) + { + $this->_propDict["deviceSettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * List of DeviceComplianceDeviceStatus. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * List of DeviceComplianceDeviceStatus. + * + * @param DeviceComplianceDeviceStatus[] $val The deviceStatuses + * + * @return DeviceCompliancePolicy + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the deviceStatusOverview + * Device compliance devices status overview + * + * @return DeviceComplianceDeviceOverview|null The deviceStatusOverview + */ + public function getDeviceStatusOverview() + { + if (array_key_exists("deviceStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceComplianceDeviceOverview") || is_null($this->_propDict["deviceStatusOverview"])) { + return $this->_propDict["deviceStatusOverview"]; + } else { + $this->_propDict["deviceStatusOverview"] = new DeviceComplianceDeviceOverview($this->_propDict["deviceStatusOverview"]); + return $this->_propDict["deviceStatusOverview"]; + } + } + return null; + } + + /** + * Sets the deviceStatusOverview + * Device compliance devices status overview + * + * @param DeviceComplianceDeviceOverview $val The deviceStatusOverview + * + * @return DeviceCompliancePolicy + */ + public function setDeviceStatusOverview($val) + { + $this->_propDict["deviceStatusOverview"] = $val; + return $this; + } + + + /** + * Gets the scheduledActionsForRule + * The list of scheduled action for this rule + * + * @return array|null The scheduledActionsForRule + */ + public function getScheduledActionsForRule() + { + if (array_key_exists("scheduledActionsForRule", $this->_propDict)) { + return $this->_propDict["scheduledActionsForRule"]; + } else { + return null; + } + } + + /** + * Sets the scheduledActionsForRule + * The list of scheduled action for this rule + * + * @param DeviceComplianceScheduledActionForRule[] $val The scheduledActionsForRule + * + * @return DeviceCompliancePolicy + */ + public function setScheduledActionsForRule($val) + { + $this->_propDict["scheduledActionsForRule"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * List of DeviceComplianceUserStatus. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * List of DeviceComplianceUserStatus. + * + * @param DeviceComplianceUserStatus[] $val The userStatuses + * + * @return DeviceCompliancePolicy + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + + /** + * Gets the userStatusOverview + * Device compliance users status overview + * + * @return DeviceComplianceUserOverview|null The userStatusOverview + */ + public function getUserStatusOverview() + { + if (array_key_exists("userStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["userStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceComplianceUserOverview") || is_null($this->_propDict["userStatusOverview"])) { + return $this->_propDict["userStatusOverview"]; + } else { + $this->_propDict["userStatusOverview"] = new DeviceComplianceUserOverview($this->_propDict["userStatusOverview"]); + return $this->_propDict["userStatusOverview"]; + } + } + return null; + } + + /** + * Sets the userStatusOverview + * Device compliance users status overview + * + * @param DeviceComplianceUserOverview $val The userStatusOverview + * + * @return DeviceCompliancePolicy + */ + public function setUserStatusOverview($val) + { + $this->_propDict["userStatusOverview"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyAssignment.php new file mode 100644 index 0000000..2742fac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyAssignment.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * The assignment source for the device compliance policy, direct or parcel/policySet. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return DeviceCompliancePolicyAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * The identifier of the source of the assignment. + * + * @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 + * The identifier of the source of the assignment. + * + * @param string $val The sourceId + * + * @return DeviceCompliancePolicyAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * Target for the compliance policy assignment. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Target for the compliance policy assignment. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceCompliancePolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyDeviceStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyDeviceStateSummary.php new file mode 100644 index 0000000..c25cfcd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyDeviceStateSummary.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the configManagerCount + * Number of devices that have compliance managed by System Center Configuration Manager + * + * @return int|null The configManagerCount + */ + public function getConfigManagerCount() + { + if (array_key_exists("configManagerCount", $this->_propDict)) { + return $this->_propDict["configManagerCount"]; + } else { + return null; + } + } + + /** + * Sets the configManagerCount + * Number of devices that have compliance managed by System Center Configuration Manager + * + * @param int $val The configManagerCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setConfigManagerCount($val) + { + $this->_propDict["configManagerCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the inGracePeriodCount + * Number of devices that are in grace period + * + * @return int|null The inGracePeriodCount + */ + public function getInGracePeriodCount() + { + if (array_key_exists("inGracePeriodCount", $this->_propDict)) { + return $this->_propDict["inGracePeriodCount"]; + } else { + return null; + } + } + + /** + * Sets the inGracePeriodCount + * Number of devices that are in grace period + * + * @param int $val The inGracePeriodCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setInGracePeriodCount($val) + { + $this->_propDict["inGracePeriodCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyGroupAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyGroupAssignment.php new file mode 100644 index 0000000..16a1ad6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyGroupAssignment.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["excludeGroup"]; + } else { + return null; + } + } + + /** + * Sets the excludeGroup + * Indicates if this group is should be excluded. Defaults that the group should be included + * + * @param bool $val The excludeGroup + * + * @return DeviceCompliancePolicyGroupAssignment + */ + public function setExcludeGroup($val) + { + $this->_propDict["excludeGroup"] = boolval($val); + return $this; + } + + /** + * Gets the targetGroupId + * The Id of the AAD group we are targeting the device compliance policy to. + * + * @return string|null The targetGroupId + */ + public function getTargetGroupId() + { + if (array_key_exists("targetGroupId", $this->_propDict)) { + return $this->_propDict["targetGroupId"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupId + * The Id of the AAD group we are targeting the device compliance policy to. + * + * @param string $val The targetGroupId + * + * @return DeviceCompliancePolicyGroupAssignment + */ + public function setTargetGroupId($val) + { + $this->_propDict["targetGroupId"] = $val; + return $this; + } + + /** + * Gets the deviceCompliancePolicy + * The navigation link to the device compliance polic targeted. + * + * @return DeviceCompliancePolicy|null The deviceCompliancePolicy + */ + public function getDeviceCompliancePolicy() + { + if (array_key_exists("deviceCompliancePolicy", $this->_propDict)) { + if (is_a($this->_propDict["deviceCompliancePolicy"], "\Beta\Microsoft\Graph\Model\DeviceCompliancePolicy") || is_null($this->_propDict["deviceCompliancePolicy"])) { + return $this->_propDict["deviceCompliancePolicy"]; + } else { + $this->_propDict["deviceCompliancePolicy"] = new DeviceCompliancePolicy($this->_propDict["deviceCompliancePolicy"]); + return $this->_propDict["deviceCompliancePolicy"]; + } + } + return null; + } + + /** + * Sets the deviceCompliancePolicy + * The navigation link to the device compliance polic targeted. + * + * @param DeviceCompliancePolicy $val The deviceCompliancePolicy + * + * @return DeviceCompliancePolicyGroupAssignment + */ + public function setDeviceCompliancePolicy($val) + { + $this->_propDict["deviceCompliancePolicy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyPolicySetItem.php new file mode 100644 index 0000000..89f2d52 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["deviceComplianceScriptId"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceScriptId + * Device compliance script Id. + * + * @param string $val The value of the deviceComplianceScriptId + * + * @return DeviceCompliancePolicyScript + */ + public function setDeviceComplianceScriptId($val) + { + $this->_propDict["deviceComplianceScriptId"] = $val; + return $this; + } + + /** + * Gets the rulesContent + * Json of the rules. + * + * @return \GuzzleHttp\Psr7\Stream|null The rulesContent + */ + public function getRulesContent() + { + if (array_key_exists("rulesContent", $this->_propDict)) { + if (is_a($this->_propDict["rulesContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["rulesContent"])) { + return $this->_propDict["rulesContent"]; + } else { + $this->_propDict["rulesContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["rulesContent"]); + return $this->_propDict["rulesContent"]; + } + } + return null; + } + + /** + * Sets the rulesContent + * Json of the rules. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the rulesContent + * + * @return DeviceCompliancePolicyScript The DeviceCompliancePolicyScript + */ + public function setRulesContent($val) + { + $this->_propDict["rulesContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingState.php new file mode 100644 index 0000000..6c6b541 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingState.php @@ -0,0 +1,400 @@ +_propDict)) { + return $this->_propDict["currentValue"]; + } else { + return null; + } + } + + /** + * Sets the currentValue + * Current value of setting on device + * + * @param string $val The value of the currentValue + * + * @return DeviceCompliancePolicySettingState + */ + public function setCurrentValue($val) + { + $this->_propDict["currentValue"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code for the setting + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the setting + * + * @param int $val The value of the errorCode + * + * @return DeviceCompliancePolicySettingState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the errorDescription + * Error description + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * Error description + * + * @param string $val The value of the errorDescription + * + * @return DeviceCompliancePolicySettingState + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + /** + * Gets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @return string|null The instanceDisplayName + */ + public function getInstanceDisplayName() + { + if (array_key_exists("instanceDisplayName", $this->_propDict)) { + return $this->_propDict["instanceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @param string $val The value of the instanceDisplayName + * + * @return DeviceCompliancePolicySettingState + */ + public function setInstanceDisplayName($val) + { + $this->_propDict["instanceDisplayName"] = $val; + return $this; + } + /** + * Gets the setting + * The setting that is being reported + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting that is being reported + * + * @param string $val The value of the setting + * + * @return DeviceCompliancePolicySettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + /** + * Gets the settingInstanceId + * SettingInstanceId + * + * @return string|null The settingInstanceId + */ + public function getSettingInstanceId() + { + if (array_key_exists("settingInstanceId", $this->_propDict)) { + return $this->_propDict["settingInstanceId"]; + } else { + return null; + } + } + + /** + * Sets the settingInstanceId + * SettingInstanceId + * + * @param string $val The value of the settingInstanceId + * + * @return DeviceCompliancePolicySettingState + */ + public function setSettingInstanceId($val) + { + $this->_propDict["settingInstanceId"] = $val; + return $this; + } + /** + * Gets the settingName + * Localized/user friendly setting name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Localized/user friendly setting name that is being reported + * + * @param string $val The value of the settingName + * + * @return DeviceCompliancePolicySettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the sources + * Contributing policies + * + * @return SettingSource|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\SettingSource") || is_null($this->_propDict["sources"])) { + return $this->_propDict["sources"]; + } else { + $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]); + return $this->_propDict["sources"]; + } + } + return null; + } + + /** + * Sets the sources + * Contributing policies + * + * @param SettingSource $val The value to assign to the sources + * + * @return DeviceCompliancePolicySettingState The DeviceCompliancePolicySettingState + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The value to assign to the state + * + * @return DeviceCompliancePolicySettingState The DeviceCompliancePolicySettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the userEmail + * UserEmail + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * UserEmail + * + * @param string $val The value of the userEmail + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + /** + * Gets the userId + * 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 + * UserId + * + * @param string $val The value of the userId + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userName + * UserName + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * UserName + * + * @param string $val The value of the userName + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The value of the userPrincipalName + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingStateSummary.php new file mode 100644 index 0000000..0ab6bb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingStateSummary.php @@ -0,0 +1,351 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the platformType + * Setting platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Setting platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the setting + * The setting class name and property name. + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting class name and property name. + * + * @param string $val The setting + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + + /** + * Gets the settingName + * Name of the setting. + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Name of the setting. + * + * @param string $val The settingName + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + + + /** + * Gets the deviceComplianceSettingStates + * Not yet documented + * + * @return array|null The deviceComplianceSettingStates + */ + public function getDeviceComplianceSettingStates() + { + if (array_key_exists("deviceComplianceSettingStates", $this->_propDict)) { + return $this->_propDict["deviceComplianceSettingStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceSettingStates + * Not yet documented + * + * @param DeviceComplianceSettingState[] $val The deviceComplianceSettingStates + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setDeviceComplianceSettingStates($val) + { + $this->_propDict["deviceComplianceSettingStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyState.php new file mode 100644 index 0000000..21e3658 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyState.php @@ -0,0 +1,266 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the policy for this policyBase + * + * @param string $val The displayName + * + * @return DeviceCompliancePolicyState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type that the policy applies to + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type that the policy applies to + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceCompliancePolicyState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Count of how many setting a policy holds + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Count of how many setting a policy holds + * + * @param int $val The settingCount + * + * @return DeviceCompliancePolicyState + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + + /** + * Gets the settingStates + * + * @return array|null The settingStates + */ + public function getSettingStates() + { + if (array_key_exists("settingStates", $this->_propDict)) { + return $this->_propDict["settingStates"]; + } else { + return null; + } + } + + /** + * Sets the settingStates + * + * @param DeviceCompliancePolicySettingState[] $val The settingStates + * + * @return DeviceCompliancePolicyState + */ + public function setSettingStates($val) + { + $this->_propDict["settingStates"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the policy + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the policy + * + * @param ComplianceStatus $val The state + * + * @return DeviceCompliancePolicyState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userId + * User unique identifier, must be Guid + * + * @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 + * User unique identifier, must be Guid + * + * @param string $val The userId + * + * @return DeviceCompliancePolicyState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name + * + * @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 + * User Principal Name + * + * @param string $val The userPrincipalName + * + * @return DeviceCompliancePolicyState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the policy + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the policy + * + * @param int $val The version + * + * @return DeviceCompliancePolicyState + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScheduledActionForRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScheduledActionForRule.php new file mode 100644 index 0000000..963ad06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScheduledActionForRule.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["ruleName"]; + } else { + return null; + } + } + + /** + * Sets the ruleName + * Name of the rule which this scheduled action applies to. Currently scheduled actions are created per policy instead of per rule, thus RuleName is always set to default value PasswordRequired. + * + * @param string $val The ruleName + * + * @return DeviceComplianceScheduledActionForRule + */ + public function setRuleName($val) + { + $this->_propDict["ruleName"] = $val; + return $this; + } + + + /** + * Gets the scheduledActionConfigurations + * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * + * @return array|null The scheduledActionConfigurations + */ + public function getScheduledActionConfigurations() + { + if (array_key_exists("scheduledActionConfigurations", $this->_propDict)) { + return $this->_propDict["scheduledActionConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the scheduledActionConfigurations + * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * + * @param DeviceComplianceActionItem[] $val The scheduledActionConfigurations + * + * @return DeviceComplianceScheduledActionForRule + */ + public function setScheduledActionConfigurations($val) + { + $this->_propDict["scheduledActionConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScript.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScript.php new file mode 100644 index 0000000..2953e50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScript.php @@ -0,0 +1,455 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The timestamp of when the device compliance script was created. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceComplianceScript + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the device compliance script + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the device compliance script + * + * @param string $val The description + * + * @return DeviceComplianceScript + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the detectionScriptContent + * The entire content of the detection powershell script + * + * @return \GuzzleHttp\Psr7\Stream|null The detectionScriptContent + */ + public function getDetectionScriptContent() + { + if (array_key_exists("detectionScriptContent", $this->_propDict)) { + if (is_a($this->_propDict["detectionScriptContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["detectionScriptContent"])) { + return $this->_propDict["detectionScriptContent"]; + } else { + $this->_propDict["detectionScriptContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["detectionScriptContent"]); + return $this->_propDict["detectionScriptContent"]; + } + } + return null; + } + + /** + * Sets the detectionScriptContent + * The entire content of the detection powershell script + * + * @param \GuzzleHttp\Psr7\Stream $val The detectionScriptContent + * + * @return DeviceComplianceScript + */ + public function setDetectionScriptContent($val) + { + $this->_propDict["detectionScriptContent"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the device compliance script + * + * @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 + * Name of the device compliance script + * + * @param string $val The displayName + * + * @return DeviceComplianceScript + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enforceSignatureCheck + * Indicate whether the script signature needs be checked + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * Indicate whether the script signature needs be checked + * + * @param bool $val The enforceSignatureCheck + * + * @return DeviceComplianceScript + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The timestamp of when the device compliance script was modified. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The timestamp of when the device compliance script was modified. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceComplianceScript + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the publisher + * Name of the device compliance script publisher + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Name of the device compliance script publisher + * + * @param string $val The publisher + * + * @return DeviceComplianceScript + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tag IDs for the device compliance script + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tag IDs for the device compliance script + * + * @param string $val The roleScopeTagIds + * + * @return DeviceComplianceScript + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the runAs32Bit + * Indicate whether PowerShell script(s) should run as 32-bit + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * Indicate whether PowerShell script(s) should run as 32-bit + * + * @param bool $val The runAs32Bit + * + * @return DeviceComplianceScript + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = boolval($val); + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @param RunAsAccountType $val The runAsAccount + * + * @return DeviceComplianceScript + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device compliance script + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device compliance script + * + * @param string $val The version + * + * @return DeviceComplianceScript + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device compliance script + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device compliance script + * + * @param DeviceHealthScriptAssignment[] $val The assignments + * + * @return DeviceComplianceScript + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceRunStates + * List of run states for the device compliance script across all devices + * + * @return array|null The deviceRunStates + */ + public function getDeviceRunStates() + { + if (array_key_exists("deviceRunStates", $this->_propDict)) { + return $this->_propDict["deviceRunStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceRunStates + * List of run states for the device compliance script across all devices + * + * @param DeviceComplianceScriptDeviceState[] $val The deviceRunStates + * + * @return DeviceComplianceScript + */ + public function setDeviceRunStates($val) + { + $this->_propDict["deviceRunStates"] = $val; + return $this; + } + + /** + * Gets the runSummary + * High level run summary for device compliance script. + * + * @return DeviceComplianceScriptRunSummary|null The runSummary + */ + public function getRunSummary() + { + if (array_key_exists("runSummary", $this->_propDict)) { + if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRunSummary") || is_null($this->_propDict["runSummary"])) { + return $this->_propDict["runSummary"]; + } else { + $this->_propDict["runSummary"] = new DeviceComplianceScriptRunSummary($this->_propDict["runSummary"]); + return $this->_propDict["runSummary"]; + } + } + return null; + } + + /** + * Sets the runSummary + * High level run summary for device compliance script. + * + * @param DeviceComplianceScriptRunSummary $val The runSummary + * + * @return DeviceComplianceScript + */ + public function setRunSummary($val) + { + $this->_propDict["runSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptDeviceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptDeviceState.php new file mode 100644 index 0000000..0da76e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptDeviceState.php @@ -0,0 +1,250 @@ +_propDict)) { + if (is_a($this->_propDict["detectionState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["detectionState"])) { + return $this->_propDict["detectionState"]; + } else { + $this->_propDict["detectionState"] = new RunState($this->_propDict["detectionState"]); + return $this->_propDict["detectionState"]; + } + } + return null; + } + + /** + * Sets the detectionState + * Detection state from the lastest device compliance script execution. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The detectionState + * + * @return DeviceComplianceScriptDeviceState + */ + public function setDetectionState($val) + { + $this->_propDict["detectionState"] = $val; + return $this; + } + + /** + * Gets the expectedStateUpdateDateTime + * The next timestamp of when the device compliance script is expected to execute + * + * @return \DateTime|null The expectedStateUpdateDateTime + */ + public function getExpectedStateUpdateDateTime() + { + if (array_key_exists("expectedStateUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expectedStateUpdateDateTime"], "\DateTime") || is_null($this->_propDict["expectedStateUpdateDateTime"])) { + return $this->_propDict["expectedStateUpdateDateTime"]; + } else { + $this->_propDict["expectedStateUpdateDateTime"] = new \DateTime($this->_propDict["expectedStateUpdateDateTime"]); + return $this->_propDict["expectedStateUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the expectedStateUpdateDateTime + * The next timestamp of when the device compliance script is expected to execute + * + * @param \DateTime $val The expectedStateUpdateDateTime + * + * @return DeviceComplianceScriptDeviceState + */ + public function setExpectedStateUpdateDateTime($val) + { + $this->_propDict["expectedStateUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the lastStateUpdateDateTime + * The last timestamp of when the device compliance script executed + * + * @return \DateTime|null The lastStateUpdateDateTime + */ + public function getLastStateUpdateDateTime() + { + if (array_key_exists("lastStateUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastStateUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastStateUpdateDateTime"])) { + return $this->_propDict["lastStateUpdateDateTime"]; + } else { + $this->_propDict["lastStateUpdateDateTime"] = new \DateTime($this->_propDict["lastStateUpdateDateTime"]); + return $this->_propDict["lastStateUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastStateUpdateDateTime + * The last timestamp of when the device compliance script executed + * + * @param \DateTime $val The lastStateUpdateDateTime + * + * @return DeviceComplianceScriptDeviceState + */ + public function setLastStateUpdateDateTime($val) + { + $this->_propDict["lastStateUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The last time that Intune Managment Extension synced with Intune + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The last time that Intune Managment Extension synced with Intune + * + * @param \DateTime $val The lastSyncDateTime + * + * @return DeviceComplianceScriptDeviceState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the scriptError + * Error from the detection script + * + * @return string|null The scriptError + */ + public function getScriptError() + { + if (array_key_exists("scriptError", $this->_propDict)) { + return $this->_propDict["scriptError"]; + } else { + return null; + } + } + + /** + * Sets the scriptError + * Error from the detection script + * + * @param string $val The scriptError + * + * @return DeviceComplianceScriptDeviceState + */ + public function setScriptError($val) + { + $this->_propDict["scriptError"] = $val; + return $this; + } + + /** + * Gets the scriptOutput + * Output of the detection script + * + * @return string|null The scriptOutput + */ + public function getScriptOutput() + { + if (array_key_exists("scriptOutput", $this->_propDict)) { + return $this->_propDict["scriptOutput"]; + } else { + return null; + } + } + + /** + * Sets the scriptOutput + * Output of the detection script + * + * @param string $val The scriptOutput + * + * @return DeviceComplianceScriptDeviceState + */ + public function setScriptOutput($val) + { + $this->_propDict["scriptOutput"] = $val; + return $this; + } + + /** + * Gets the managedDevice + * The managed device on which the device compliance script executed + * + * @return ManagedDevice|null The managedDevice + */ + public function getManagedDevice() + { + if (array_key_exists("managedDevice", $this->_propDict)) { + if (is_a($this->_propDict["managedDevice"], "\Beta\Microsoft\Graph\Model\ManagedDevice") || is_null($this->_propDict["managedDevice"])) { + return $this->_propDict["managedDevice"]; + } else { + $this->_propDict["managedDevice"] = new ManagedDevice($this->_propDict["managedDevice"]); + return $this->_propDict["managedDevice"]; + } + } + return null; + } + + /** + * Sets the managedDevice + * The managed device on which the device compliance script executed + * + * @param ManagedDevice $val The managedDevice + * + * @return DeviceComplianceScriptDeviceState + */ + public function setManagedDevice($val) + { + $this->_propDict["managedDevice"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptError.php new file mode 100644 index 0000000..98ab855 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptError.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["code"], "\Beta\Microsoft\Graph\Model\Code") || is_null($this->_propDict["code"])) { + return $this->_propDict["code"]; + } else { + $this->_propDict["code"] = new Code($this->_propDict["code"]); + return $this->_propDict["code"]; + } + } + return null; + } + + /** + * Sets the code + * Error code. Possible values are: none, jsonFileInvalid, jsonFileMissing, jsonFileTooLarge, rulesMissing, duplicateRules, tooManyRulesSpecified, operatorMissing, operatorNotSupported, datatypeMissing, datatypeNotSupported, operatorDataTypeCombinationNotSupported, moreInfoUriMissing, moreInfoUriInvalid, moreInfoUriTooLarge, descriptionMissing, descriptionInvalid, descriptionTooLarge, titleMissing, titleInvalid, titleTooLarge, operandMissing, operandInvalid, operandTooLarge, settingNameMissing, settingNameInvalid, settingNameTooLarge, englishLocaleMissing, duplicateLocales, unrecognizedLocale, unknown, remediationStringsMissing. + * + * @param Code $val The value to assign to the code + * + * @return DeviceComplianceScriptError The DeviceComplianceScriptError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the deviceComplianceScriptRulesValidationError + * Error code. Possible values are: none, jsonFileInvalid, jsonFileMissing, jsonFileTooLarge, rulesMissing, duplicateRules, tooManyRulesSpecified, operatorMissing, operatorNotSupported, datatypeMissing, datatypeNotSupported, operatorDataTypeCombinationNotSupported, moreInfoUriMissing, moreInfoUriInvalid, moreInfoUriTooLarge, descriptionMissing, descriptionInvalid, descriptionTooLarge, titleMissing, titleInvalid, titleTooLarge, operandMissing, operandInvalid, operandTooLarge, settingNameMissing, settingNameInvalid, settingNameTooLarge, englishLocaleMissing, duplicateLocales, unrecognizedLocale, unknown, remediationStringsMissing. + * + * @return DeviceComplianceScriptRulesValidationError|null The deviceComplianceScriptRulesValidationError + */ + public function getDeviceComplianceScriptRulesValidationError() + { + if (array_key_exists("deviceComplianceScriptRulesValidationError", $this->_propDict)) { + if (is_a($this->_propDict["deviceComplianceScriptRulesValidationError"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRulesValidationError") || is_null($this->_propDict["deviceComplianceScriptRulesValidationError"])) { + return $this->_propDict["deviceComplianceScriptRulesValidationError"]; + } else { + $this->_propDict["deviceComplianceScriptRulesValidationError"] = new DeviceComplianceScriptRulesValidationError($this->_propDict["deviceComplianceScriptRulesValidationError"]); + return $this->_propDict["deviceComplianceScriptRulesValidationError"]; + } + } + return null; + } + + /** + * Sets the deviceComplianceScriptRulesValidationError + * Error code. Possible values are: none, jsonFileInvalid, jsonFileMissing, jsonFileTooLarge, rulesMissing, duplicateRules, tooManyRulesSpecified, operatorMissing, operatorNotSupported, datatypeMissing, datatypeNotSupported, operatorDataTypeCombinationNotSupported, moreInfoUriMissing, moreInfoUriInvalid, moreInfoUriTooLarge, descriptionMissing, descriptionInvalid, descriptionTooLarge, titleMissing, titleInvalid, titleTooLarge, operandMissing, operandInvalid, operandTooLarge, settingNameMissing, settingNameInvalid, settingNameTooLarge, englishLocaleMissing, duplicateLocales, unrecognizedLocale, unknown, remediationStringsMissing. + * + * @param DeviceComplianceScriptRulesValidationError $val The value to assign to the deviceComplianceScriptRulesValidationError + * + * @return DeviceComplianceScriptError The DeviceComplianceScriptError + */ + public function setDeviceComplianceScriptRulesValidationError($val) + { + $this->_propDict["deviceComplianceScriptRulesValidationError"] = $val; + return $this; + } + /** + * Gets the message + * Error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * Error message. + * + * @param string $val The value of the message + * + * @return DeviceComplianceScriptError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulOperator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulOperator.php new file mode 100644 index 0000000..9e994ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulOperator.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\DataType") || is_null($this->_propDict["dataType"])) { + return $this->_propDict["dataType"]; + } else { + $this->_propDict["dataType"] = new DataType($this->_propDict["dataType"]); + return $this->_propDict["dataType"]; + } + } + return null; + } + + /** + * Sets the dataType + * Data type specified in the rule. Possible values are: none, boolean, int64, double, string, dateTime, version, base64, xml, booleanArray, int64Array, doubleArray, stringArray, dateTimeArray, versionArray. + * + * @param DataType $val The value to assign to the dataType + * + * @return DeviceComplianceScriptRule The DeviceComplianceScriptRule + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + + /** + * Gets the deviceComplianceScriptRuleDataType + * Data type specified in the rule. Possible values are: none, boolean, int64, double, string, dateTime, version, base64, xml, booleanArray, int64Array, doubleArray, stringArray, dateTimeArray, versionArray. + * + * @return DeviceComplianceScriptRuleDataType|null The deviceComplianceScriptRuleDataType + */ + public function getDeviceComplianceScriptRuleDataType() + { + if (array_key_exists("deviceComplianceScriptRuleDataType", $this->_propDict)) { + if (is_a($this->_propDict["deviceComplianceScriptRuleDataType"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRuleDataType") || is_null($this->_propDict["deviceComplianceScriptRuleDataType"])) { + return $this->_propDict["deviceComplianceScriptRuleDataType"]; + } else { + $this->_propDict["deviceComplianceScriptRuleDataType"] = new DeviceComplianceScriptRuleDataType($this->_propDict["deviceComplianceScriptRuleDataType"]); + return $this->_propDict["deviceComplianceScriptRuleDataType"]; + } + } + return null; + } + + /** + * Sets the deviceComplianceScriptRuleDataType + * Data type specified in the rule. Possible values are: none, boolean, int64, double, string, dateTime, version, base64, xml, booleanArray, int64Array, doubleArray, stringArray, dateTimeArray, versionArray. + * + * @param DeviceComplianceScriptRuleDataType $val The value to assign to the deviceComplianceScriptRuleDataType + * + * @return DeviceComplianceScriptRule The DeviceComplianceScriptRule + */ + public function setDeviceComplianceScriptRuleDataType($val) + { + $this->_propDict["deviceComplianceScriptRuleDataType"] = $val; + return $this; + } + + /** + * Gets the deviceComplianceScriptRulOperator + * Operator specified in the rule. Possible values are: none, and, or, isEquals, notEquals, greaterThan, lessThan, between, notBetween, greaterEquals, lessEquals, dayTimeBetween, beginsWith, notBeginsWith, endsWith, notEndsWith, contains, notContains, allOf, oneOf, noneOf, setEquals, orderedSetEquals, subsetOf, excludesAll. + * + * @return DeviceComplianceScriptRulOperator|null The deviceComplianceScriptRulOperator + */ + public function getDeviceComplianceScriptRulOperator() + { + if (array_key_exists("deviceComplianceScriptRulOperator", $this->_propDict)) { + if (is_a($this->_propDict["deviceComplianceScriptRulOperator"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRulOperator") || is_null($this->_propDict["deviceComplianceScriptRulOperator"])) { + return $this->_propDict["deviceComplianceScriptRulOperator"]; + } else { + $this->_propDict["deviceComplianceScriptRulOperator"] = new DeviceComplianceScriptRulOperator($this->_propDict["deviceComplianceScriptRulOperator"]); + return $this->_propDict["deviceComplianceScriptRulOperator"]; + } + } + return null; + } + + /** + * Sets the deviceComplianceScriptRulOperator + * Operator specified in the rule. Possible values are: none, and, or, isEquals, notEquals, greaterThan, lessThan, between, notBetween, greaterEquals, lessEquals, dayTimeBetween, beginsWith, notBeginsWith, endsWith, notEndsWith, contains, notContains, allOf, oneOf, noneOf, setEquals, orderedSetEquals, subsetOf, excludesAll. + * + * @param DeviceComplianceScriptRulOperator $val The value to assign to the deviceComplianceScriptRulOperator + * + * @return DeviceComplianceScriptRule The DeviceComplianceScriptRule + */ + public function setDeviceComplianceScriptRulOperator($val) + { + $this->_propDict["deviceComplianceScriptRulOperator"] = $val; + return $this; + } + /** + * Gets the operand + * Operand specified in the rule. + * + * @return string|null The operand + */ + public function getOperand() + { + if (array_key_exists("operand", $this->_propDict)) { + return $this->_propDict["operand"]; + } else { + return null; + } + } + + /** + * Sets the operand + * Operand specified in the rule. + * + * @param string $val The value of the operand + * + * @return DeviceComplianceScriptRule + */ + public function setOperand($val) + { + $this->_propDict["operand"] = $val; + return $this; + } + + /** + * Gets the operator + * Operator specified in the rule. Possible values are: none, and, or, isEquals, notEquals, greaterThan, lessThan, between, notBetween, greaterEquals, lessEquals, dayTimeBetween, beginsWith, notBeginsWith, endsWith, notEndsWith, contains, notContains, allOf, oneOf, noneOf, setEquals, orderedSetEquals, subsetOf, excludesAll. + * + * @return Operator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Operator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Operator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * Operator specified in the rule. Possible values are: none, and, or, isEquals, notEquals, greaterThan, lessThan, between, notBetween, greaterEquals, lessEquals, dayTimeBetween, beginsWith, notBeginsWith, endsWith, notEndsWith, contains, notContains, allOf, oneOf, noneOf, setEquals, orderedSetEquals, subsetOf, excludesAll. + * + * @param Operator $val The value to assign to the operator + * + * @return DeviceComplianceScriptRule The DeviceComplianceScriptRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the settingName + * Setting name specified in the rule. + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Setting name specified in the rule. + * + * @param string $val The value of the settingName + * + * @return DeviceComplianceScriptRule + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRuleDataType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRuleDataType.php new file mode 100644 index 0000000..0548de6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRuleDataType.php @@ -0,0 +1,47 @@ +_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Setting name for the rule with error. + * + * @param string $val The value of the settingName + * + * @return DeviceComplianceScriptRuleError + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulesValidationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulesValidationError.php new file mode 100644 index 0000000..8e3fdb0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulesValidationError.php @@ -0,0 +1,64 @@ +_propDict)) { + return $this->_propDict["detectionScriptErrorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionScriptErrorDeviceCount + * Number of devices on which the detection script execution encountered an error and did not complete. Valid values -2147483648 to 2147483647 + * + * @param int $val The detectionScriptErrorDeviceCount + * + * @return DeviceComplianceScriptRunSummary + */ + public function setDetectionScriptErrorDeviceCount($val) + { + $this->_propDict["detectionScriptErrorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the detectionScriptPendingDeviceCount + * Number of devices which have not yet run the latest version of the device compliance script. Valid values -2147483648 to 2147483647 + * + * @return int|null The detectionScriptPendingDeviceCount + */ + public function getDetectionScriptPendingDeviceCount() + { + if (array_key_exists("detectionScriptPendingDeviceCount", $this->_propDict)) { + return $this->_propDict["detectionScriptPendingDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionScriptPendingDeviceCount + * Number of devices which have not yet run the latest version of the device compliance script. Valid values -2147483648 to 2147483647 + * + * @param int $val The detectionScriptPendingDeviceCount + * + * @return DeviceComplianceScriptRunSummary + */ + public function setDetectionScriptPendingDeviceCount($val) + { + $this->_propDict["detectionScriptPendingDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the issueDetectedDeviceCount + * Number of devices for which the detection script found an issue. Valid values -2147483648 to 2147483647 + * + * @return int|null The issueDetectedDeviceCount + */ + public function getIssueDetectedDeviceCount() + { + if (array_key_exists("issueDetectedDeviceCount", $this->_propDict)) { + return $this->_propDict["issueDetectedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the issueDetectedDeviceCount + * Number of devices for which the detection script found an issue. Valid values -2147483648 to 2147483647 + * + * @param int $val The issueDetectedDeviceCount + * + * @return DeviceComplianceScriptRunSummary + */ + public function setIssueDetectedDeviceCount($val) + { + $this->_propDict["issueDetectedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the lastScriptRunDateTime + * Last run time for the script across all devices + * + * @return \DateTime|null The lastScriptRunDateTime + */ + public function getLastScriptRunDateTime() + { + if (array_key_exists("lastScriptRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastScriptRunDateTime"], "\DateTime") || is_null($this->_propDict["lastScriptRunDateTime"])) { + return $this->_propDict["lastScriptRunDateTime"]; + } else { + $this->_propDict["lastScriptRunDateTime"] = new \DateTime($this->_propDict["lastScriptRunDateTime"]); + return $this->_propDict["lastScriptRunDateTime"]; + } + } + return null; + } + + /** + * Sets the lastScriptRunDateTime + * Last run time for the script across all devices + * + * @param \DateTime $val The lastScriptRunDateTime + * + * @return DeviceComplianceScriptRunSummary + */ + public function setLastScriptRunDateTime($val) + { + $this->_propDict["lastScriptRunDateTime"] = $val; + return $this; + } + + /** + * Gets the noIssueDetectedDeviceCount + * Number of devices for which the detection script did not find an issue and the device is healthy. Valid values -2147483648 to 2147483647 + * + * @return int|null The noIssueDetectedDeviceCount + */ + public function getNoIssueDetectedDeviceCount() + { + if (array_key_exists("noIssueDetectedDeviceCount", $this->_propDict)) { + return $this->_propDict["noIssueDetectedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the noIssueDetectedDeviceCount + * Number of devices for which the detection script did not find an issue and the device is healthy. Valid values -2147483648 to 2147483647 + * + * @param int $val The noIssueDetectedDeviceCount + * + * @return DeviceComplianceScriptRunSummary + */ + public function setNoIssueDetectedDeviceCount($val) + { + $this->_propDict["noIssueDetectedDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptValidationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptValidationResult.php new file mode 100644 index 0000000..ee35e58 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptValidationResult.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["ruleErrors"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRuleError") || is_null($this->_propDict["ruleErrors"])) { + return $this->_propDict["ruleErrors"]; + } else { + $this->_propDict["ruleErrors"] = new DeviceComplianceScriptRuleError($this->_propDict["ruleErrors"]); + return $this->_propDict["ruleErrors"]; + } + } + return null; + } + + /** + * Sets the ruleErrors + * Errors in json for the script for rules. + * + * @param DeviceComplianceScriptRuleError $val The value to assign to the ruleErrors + * + * @return DeviceComplianceScriptValidationResult The DeviceComplianceScriptValidationResult + */ + public function setRuleErrors($val) + { + $this->_propDict["ruleErrors"] = $val; + return $this; + } + + /** + * Gets the rules + * Parsed rules from json. + * + * @return DeviceComplianceScriptRule|null The rules + */ + public function getRules() + { + if (array_key_exists("rules", $this->_propDict)) { + if (is_a($this->_propDict["rules"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRule") || is_null($this->_propDict["rules"])) { + return $this->_propDict["rules"]; + } else { + $this->_propDict["rules"] = new DeviceComplianceScriptRule($this->_propDict["rules"]); + return $this->_propDict["rules"]; + } + } + return null; + } + + /** + * Sets the rules + * Parsed rules from json. + * + * @param DeviceComplianceScriptRule $val The value to assign to the rules + * + * @return DeviceComplianceScriptValidationResult The DeviceComplianceScriptValidationResult + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } + + /** + * Gets the scriptErrors + * Errors in json for the script. + * + * @return DeviceComplianceScriptError|null The scriptErrors + */ + public function getScriptErrors() + { + if (array_key_exists("scriptErrors", $this->_propDict)) { + if (is_a($this->_propDict["scriptErrors"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptError") || is_null($this->_propDict["scriptErrors"])) { + return $this->_propDict["scriptErrors"]; + } else { + $this->_propDict["scriptErrors"] = new DeviceComplianceScriptError($this->_propDict["scriptErrors"]); + return $this->_propDict["scriptErrors"]; + } + } + return null; + } + + /** + * Sets the scriptErrors + * Errors in json for the script. + * + * @param DeviceComplianceScriptError $val The value to assign to the scriptErrors + * + * @return DeviceComplianceScriptValidationResult The DeviceComplianceScriptValidationResult + */ + public function setScriptErrors($val) + { + $this->_propDict["scriptErrors"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceSettingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceSettingState.php new file mode 100644 index 0000000..777774c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceSettingState.php @@ -0,0 +1,387 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return DeviceComplianceSettingState + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The Device Id that is being reported + * + * @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 Device Id that is being reported + * + * @param string $val The deviceId + * + * @return DeviceComplianceSettingState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return DeviceComplianceSettingState + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The Device Name that is being reported + * + * @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 Device Name that is being reported + * + * @param string $val The deviceName + * + * @return DeviceComplianceSettingState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Device platform type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, cloudPC, blackberry, palm, unknown. + * + * @return DeviceType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\DeviceType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new DeviceType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Device platform type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, cloudPC, blackberry, palm, unknown. + * + * @param DeviceType $val The platformType + * + * @return DeviceComplianceSettingState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the setting + * The setting class name and property name. + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting class name and property name. + * + * @param string $val The setting + * + * @return DeviceComplianceSettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + + /** + * Gets the settingName + * The Setting Name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * The Setting Name that is being reported + * + * @param string $val The settingName + * + * @return DeviceComplianceSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The state + * + * @return DeviceComplianceSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userEmail + * The User email address that is being reported + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * The User email address that is being reported + * + * @param string $val The userEmail + * + * @return DeviceComplianceSettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + + /** + * Gets the userId + * The user Id that is being reported + * + * @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 + * The user Id that is being reported + * + * @param string $val The userId + * + * @return DeviceComplianceSettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return DeviceComplianceSettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The User PrincipalName that is being reported + * + * @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 + * The User PrincipalName that is being reported + * + * @param string $val The userPrincipalName + * + * @return DeviceComplianceSettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserOverview.php new file mode 100644 index 0000000..be93d2a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserOverview.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceComplianceUserOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of users in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of users in conflict + * + * @param int $val The conflictCount + * + * @return DeviceComplianceUserOverview + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error Users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error Users + * + * @param int $val The errorCount + * + * @return DeviceComplianceUserOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed Users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed Users + * + * @param int $val The failedCount + * + * @return DeviceComplianceUserOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceComplianceUserOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return DeviceComplianceUserOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending Users + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending Users + * + * @param int $val The pendingCount + * + * @return DeviceComplianceUserOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded Users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded Users + * + * @param int $val The successCount + * + * @return DeviceComplianceUserOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserStatus.php new file mode 100644 index 0000000..5be1933 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["devicesCount"]; + } else { + return null; + } + } + + /** + * Sets the devicesCount + * Devices count for that user. + * + * @param int $val The devicesCount + * + * @return DeviceComplianceUserStatus + */ + public function setDevicesCount($val) + { + $this->_propDict["devicesCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceComplianceUserStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceComplianceUserStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User name of the DevicePolicyStatus. + * + * @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 + * User name of the DevicePolicyStatus. + * + * @param string $val The userDisplayName + * + * @return DeviceComplianceUserStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceComplianceUserStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigAssignmentIntent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigAssignmentIntent.php new file mode 100644 index 0000000..f4e89fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigAssignmentIntent.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return DeviceConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceManagementApplicabilityRuleDeviceMode + * The device mode applicability rule for this Policy. + * + * @return DeviceManagementApplicabilityRuleDeviceMode|null The deviceManagementApplicabilityRuleDeviceMode + */ + public function getDeviceManagementApplicabilityRuleDeviceMode() + { + if (array_key_exists("deviceManagementApplicabilityRuleDeviceMode", $this->_propDict)) { + if (is_a($this->_propDict["deviceManagementApplicabilityRuleDeviceMode"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleDeviceMode") || is_null($this->_propDict["deviceManagementApplicabilityRuleDeviceMode"])) { + return $this->_propDict["deviceManagementApplicabilityRuleDeviceMode"]; + } else { + $this->_propDict["deviceManagementApplicabilityRuleDeviceMode"] = new DeviceManagementApplicabilityRuleDeviceMode($this->_propDict["deviceManagementApplicabilityRuleDeviceMode"]); + return $this->_propDict["deviceManagementApplicabilityRuleDeviceMode"]; + } + } + return null; + } + + /** + * Sets the deviceManagementApplicabilityRuleDeviceMode + * The device mode applicability rule for this Policy. + * + * @param DeviceManagementApplicabilityRuleDeviceMode $val The deviceManagementApplicabilityRuleDeviceMode + * + * @return DeviceConfiguration + */ + public function setDeviceManagementApplicabilityRuleDeviceMode($val) + { + $this->_propDict["deviceManagementApplicabilityRuleDeviceMode"] = $val; + return $this; + } + + /** + * Gets the deviceManagementApplicabilityRuleOsEdition + * The OS edition applicability for this Policy. + * + * @return DeviceManagementApplicabilityRuleOsEdition|null The deviceManagementApplicabilityRuleOsEdition + */ + public function getDeviceManagementApplicabilityRuleOsEdition() + { + if (array_key_exists("deviceManagementApplicabilityRuleOsEdition", $this->_propDict)) { + if (is_a($this->_propDict["deviceManagementApplicabilityRuleOsEdition"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleOsEdition") || is_null($this->_propDict["deviceManagementApplicabilityRuleOsEdition"])) { + return $this->_propDict["deviceManagementApplicabilityRuleOsEdition"]; + } else { + $this->_propDict["deviceManagementApplicabilityRuleOsEdition"] = new DeviceManagementApplicabilityRuleOsEdition($this->_propDict["deviceManagementApplicabilityRuleOsEdition"]); + return $this->_propDict["deviceManagementApplicabilityRuleOsEdition"]; + } + } + return null; + } + + /** + * Sets the deviceManagementApplicabilityRuleOsEdition + * The OS edition applicability for this Policy. + * + * @param DeviceManagementApplicabilityRuleOsEdition $val The deviceManagementApplicabilityRuleOsEdition + * + * @return DeviceConfiguration + */ + public function setDeviceManagementApplicabilityRuleOsEdition($val) + { + $this->_propDict["deviceManagementApplicabilityRuleOsEdition"] = $val; + return $this; + } + + /** + * Gets the deviceManagementApplicabilityRuleOsVersion + * The OS version applicability rule for this Policy. + * + * @return DeviceManagementApplicabilityRuleOsVersion|null The deviceManagementApplicabilityRuleOsVersion + */ + public function getDeviceManagementApplicabilityRuleOsVersion() + { + if (array_key_exists("deviceManagementApplicabilityRuleOsVersion", $this->_propDict)) { + if (is_a($this->_propDict["deviceManagementApplicabilityRuleOsVersion"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleOsVersion") || is_null($this->_propDict["deviceManagementApplicabilityRuleOsVersion"])) { + return $this->_propDict["deviceManagementApplicabilityRuleOsVersion"]; + } else { + $this->_propDict["deviceManagementApplicabilityRuleOsVersion"] = new DeviceManagementApplicabilityRuleOsVersion($this->_propDict["deviceManagementApplicabilityRuleOsVersion"]); + return $this->_propDict["deviceManagementApplicabilityRuleOsVersion"]; + } + } + return null; + } + + /** + * Sets the deviceManagementApplicabilityRuleOsVersion + * The OS version applicability rule for this Policy. + * + * @param DeviceManagementApplicabilityRuleOsVersion $val The deviceManagementApplicabilityRuleOsVersion + * + * @return DeviceConfiguration + */ + public function setDeviceManagementApplicabilityRuleOsVersion($val) + { + $this->_propDict["deviceManagementApplicabilityRuleOsVersion"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return DeviceConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceConfiguration + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the supportsScopeTags + * Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read-only. + * + * @return bool|null The supportsScopeTags + */ + public function getSupportsScopeTags() + { + if (array_key_exists("supportsScopeTags", $this->_propDict)) { + return $this->_propDict["supportsScopeTags"]; + } else { + return null; + } + } + + /** + * Sets the supportsScopeTags + * Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read-only. + * + * @param bool $val The supportsScopeTags + * + * @return DeviceConfiguration + */ + public function setSupportsScopeTags($val) + { + $this->_propDict["supportsScopeTags"] = boolval($val); + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return DeviceConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for the device configuration profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for the device configuration profile. + * + * @param DeviceConfigurationAssignment[] $val The assignments + * + * @return DeviceConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceSettingStateSummaries + * Device Configuration Setting State Device Summary + * + * @return array|null The deviceSettingStateSummaries + */ + public function getDeviceSettingStateSummaries() + { + if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceSettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceSettingStateSummaries + * Device Configuration Setting State Device Summary + * + * @param SettingStateDeviceSummary[] $val The deviceSettingStateSummaries + * + * @return DeviceConfiguration + */ + public function setDeviceSettingStateSummaries($val) + { + $this->_propDict["deviceSettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * Device configuration installation status by device. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * Device configuration installation status by device. + * + * @param DeviceConfigurationDeviceStatus[] $val The deviceStatuses + * + * @return DeviceConfiguration + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the deviceStatusOverview + * Device Configuration devices status overview + * + * @return DeviceConfigurationDeviceOverview|null The deviceStatusOverview + */ + public function getDeviceStatusOverview() + { + if (array_key_exists("deviceStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationDeviceOverview") || is_null($this->_propDict["deviceStatusOverview"])) { + return $this->_propDict["deviceStatusOverview"]; + } else { + $this->_propDict["deviceStatusOverview"] = new DeviceConfigurationDeviceOverview($this->_propDict["deviceStatusOverview"]); + return $this->_propDict["deviceStatusOverview"]; + } + } + return null; + } + + /** + * Sets the deviceStatusOverview + * Device Configuration devices status overview + * + * @param DeviceConfigurationDeviceOverview $val The deviceStatusOverview + * + * @return DeviceConfiguration + */ + public function setDeviceStatusOverview($val) + { + $this->_propDict["deviceStatusOverview"] = $val; + return $this; + } + + + /** + * Gets the groupAssignments + * The list of group assignments for the device configuration profile. + * + * @return array|null The groupAssignments + */ + public function getGroupAssignments() + { + if (array_key_exists("groupAssignments", $this->_propDict)) { + return $this->_propDict["groupAssignments"]; + } else { + return null; + } + } + + /** + * Sets the groupAssignments + * The list of group assignments for the device configuration profile. + * + * @param DeviceConfigurationGroupAssignment[] $val The groupAssignments + * + * @return DeviceConfiguration + */ + public function setGroupAssignments($val) + { + $this->_propDict["groupAssignments"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * Device configuration installation status by user. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * Device configuration installation status by user. + * + * @param DeviceConfigurationUserStatus[] $val The userStatuses + * + * @return DeviceConfiguration + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + + /** + * Gets the userStatusOverview + * Device Configuration users status overview + * + * @return DeviceConfigurationUserOverview|null The userStatusOverview + */ + public function getUserStatusOverview() + { + if (array_key_exists("userStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["userStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationUserOverview") || is_null($this->_propDict["userStatusOverview"])) { + return $this->_propDict["userStatusOverview"]; + } else { + $this->_propDict["userStatusOverview"] = new DeviceConfigurationUserOverview($this->_propDict["userStatusOverview"]); + return $this->_propDict["userStatusOverview"]; + } + } + return null; + } + + /** + * Sets the userStatusOverview + * Device Configuration users status overview + * + * @param DeviceConfigurationUserOverview $val The userStatusOverview + * + * @return DeviceConfiguration + */ + public function setUserStatusOverview($val) + { + $this->_propDict["userStatusOverview"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationAssignment.php new file mode 100644 index 0000000..74a96dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationAssignment.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\DeviceConfigAssignmentIntent") || is_null($this->_propDict["intent"])) { + return $this->_propDict["intent"]; + } else { + $this->_propDict["intent"] = new DeviceConfigAssignmentIntent($this->_propDict["intent"]); + return $this->_propDict["intent"]; + } + } + return null; + } + + /** + * Sets the intent + * The admin intent to apply or remove the profile. Possible values are: apply, remove. + * + * @param DeviceConfigAssignmentIntent $val The intent + * + * @return DeviceConfigurationAssignment + */ + public function setIntent($val) + { + $this->_propDict["intent"] = $val; + return $this; + } + + /** + * Gets the source + * The assignment source for the device configuration, direct or parcel/policySet. This property is read-only. Possible values are: direct, policySets. + * + * @return DeviceAndAppManagementAssignmentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * The assignment source for the device configuration, direct or parcel/policySet. This property is read-only. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return DeviceConfigurationAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * The identifier of the source of the assignment. This property is read-only. + * + * @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 + * The identifier of the source of the assignment. This property is read-only. + * + * @param string $val The sourceId + * + * @return DeviceConfigurationAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for the device configuration. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the device configuration. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationConflictSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationConflictSummary.php new file mode 100644 index 0000000..be9f7ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationConflictSummary.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["conflictingDeviceConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the conflictingDeviceConfigurations + * The set of policies in conflict with the given setting + * + * @param SettingSource[] $val The conflictingDeviceConfigurations + * + * @return DeviceConfigurationConflictSummary + */ + public function setConflictingDeviceConfigurations($val) + { + $this->_propDict["conflictingDeviceConfigurations"] = $val; + return $this; + } + + /** + * Gets the contributingSettings + * The set of settings in conflict with the given policies + * + * @return string|null The contributingSettings + */ + public function getContributingSettings() + { + if (array_key_exists("contributingSettings", $this->_propDict)) { + return $this->_propDict["contributingSettings"]; + } else { + return null; + } + } + + /** + * Sets the contributingSettings + * The set of settings in conflict with the given policies + * + * @param string $val The contributingSettings + * + * @return DeviceConfigurationConflictSummary + */ + public function setContributingSettings($val) + { + $this->_propDict["contributingSettings"] = $val; + return $this; + } + + /** + * Gets the deviceCheckinsImpacted + * The count of checkins impacted by the conflicting policies and settings + * + * @return int|null The deviceCheckinsImpacted + */ + public function getDeviceCheckinsImpacted() + { + if (array_key_exists("deviceCheckinsImpacted", $this->_propDict)) { + return $this->_propDict["deviceCheckinsImpacted"]; + } else { + return null; + } + } + + /** + * Sets the deviceCheckinsImpacted + * The count of checkins impacted by the conflicting policies and settings + * + * @param int $val The deviceCheckinsImpacted + * + * @return DeviceConfigurationConflictSummary + */ + public function setDeviceCheckinsImpacted($val) + { + $this->_propDict["deviceCheckinsImpacted"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceOverview.php new file mode 100644 index 0000000..3ee4a28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceOverview.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceConfigurationDeviceOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of devices in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of devices in conflict + * + * @param int $val The conflictCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceConfigurationDeviceOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @return int|null The notApplicablePlatformCount + */ + public function getNotApplicablePlatformCount() + { + if (array_key_exists("notApplicablePlatformCount", $this->_propDict)) { + return $this->_propDict["notApplicablePlatformCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @param int $val The notApplicablePlatformCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setNotApplicablePlatformCount($val) + { + $this->_propDict["notApplicablePlatformCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending devices + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending devices + * + * @param int $val The pendingCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStateSummary.php new file mode 100644 index 0000000..b1f7d26 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStateSummary.php @@ -0,0 +1,230 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStatus.php new file mode 100644 index 0000000..a3debd5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStatus.php @@ -0,0 +1,271 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return DeviceConfigurationDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return DeviceConfigurationDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return DeviceConfigurationDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceConfigurationDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the platform + * Platform of the device that is being reported + * + * @return int|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + return $this->_propDict["platform"]; + } else { + return null; + } + } + + /** + * Sets the platform + * Platform of the device that is being reported + * + * @param int $val The platform + * + * @return DeviceConfigurationDeviceStatus + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = intval($val); + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceConfigurationDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return DeviceConfigurationDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceConfigurationDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationGroupAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationGroupAssignment.php new file mode 100644 index 0000000..0d1b80d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationGroupAssignment.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["excludeGroup"]; + } else { + return null; + } + } + + /** + * Sets the excludeGroup + * Indicates if this group is should be excluded. Defaults that the group should be included + * + * @param bool $val The excludeGroup + * + * @return DeviceConfigurationGroupAssignment + */ + public function setExcludeGroup($val) + { + $this->_propDict["excludeGroup"] = boolval($val); + return $this; + } + + /** + * Gets the targetGroupId + * The Id of the AAD group we are targeting the device configuration to. + * + * @return string|null The targetGroupId + */ + public function getTargetGroupId() + { + if (array_key_exists("targetGroupId", $this->_propDict)) { + return $this->_propDict["targetGroupId"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupId + * The Id of the AAD group we are targeting the device configuration to. + * + * @param string $val The targetGroupId + * + * @return DeviceConfigurationGroupAssignment + */ + public function setTargetGroupId($val) + { + $this->_propDict["targetGroupId"] = $val; + return $this; + } + + /** + * Gets the deviceConfiguration + * The navigation link to the Device Configuration being targeted. + * + * @return DeviceConfiguration|null The deviceConfiguration + */ + public function getDeviceConfiguration() + { + if (array_key_exists("deviceConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["deviceConfiguration"], "\Beta\Microsoft\Graph\Model\DeviceConfiguration") || is_null($this->_propDict["deviceConfiguration"])) { + return $this->_propDict["deviceConfiguration"]; + } else { + $this->_propDict["deviceConfiguration"] = new DeviceConfiguration($this->_propDict["deviceConfiguration"]); + return $this->_propDict["deviceConfiguration"]; + } + } + return null; + } + + /** + * Sets the deviceConfiguration + * The navigation link to the Device Configuration being targeted. + * + * @param DeviceConfiguration $val The deviceConfiguration + * + * @return DeviceConfigurationGroupAssignment + */ + public function setDeviceConfiguration($val) + { + $this->_propDict["deviceConfiguration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationPolicySetItem.php new file mode 100644 index 0000000..e3b9a37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["currentValue"]; + } else { + return null; + } + } + + /** + * Sets the currentValue + * Current value of setting on device + * + * @param string $val The value of the currentValue + * + * @return DeviceConfigurationSettingState + */ + public function setCurrentValue($val) + { + $this->_propDict["currentValue"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code for the setting + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the setting + * + * @param int $val The value of the errorCode + * + * @return DeviceConfigurationSettingState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the errorDescription + * Error description + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * Error description + * + * @param string $val The value of the errorDescription + * + * @return DeviceConfigurationSettingState + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + /** + * Gets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @return string|null The instanceDisplayName + */ + public function getInstanceDisplayName() + { + if (array_key_exists("instanceDisplayName", $this->_propDict)) { + return $this->_propDict["instanceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @param string $val The value of the instanceDisplayName + * + * @return DeviceConfigurationSettingState + */ + public function setInstanceDisplayName($val) + { + $this->_propDict["instanceDisplayName"] = $val; + return $this; + } + /** + * Gets the setting + * The setting that is being reported + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting that is being reported + * + * @param string $val The value of the setting + * + * @return DeviceConfigurationSettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + /** + * Gets the settingInstanceId + * SettingInstanceId + * + * @return string|null The settingInstanceId + */ + public function getSettingInstanceId() + { + if (array_key_exists("settingInstanceId", $this->_propDict)) { + return $this->_propDict["settingInstanceId"]; + } else { + return null; + } + } + + /** + * Sets the settingInstanceId + * SettingInstanceId + * + * @param string $val The value of the settingInstanceId + * + * @return DeviceConfigurationSettingState + */ + public function setSettingInstanceId($val) + { + $this->_propDict["settingInstanceId"] = $val; + return $this; + } + /** + * Gets the settingName + * Localized/user friendly setting name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Localized/user friendly setting name that is being reported + * + * @param string $val The value of the settingName + * + * @return DeviceConfigurationSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the sources + * Contributing policies + * + * @return SettingSource|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\SettingSource") || is_null($this->_propDict["sources"])) { + return $this->_propDict["sources"]; + } else { + $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]); + return $this->_propDict["sources"]; + } + } + return null; + } + + /** + * Sets the sources + * Contributing policies + * + * @param SettingSource $val The value to assign to the sources + * + * @return DeviceConfigurationSettingState The DeviceConfigurationSettingState + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The value to assign to the state + * + * @return DeviceConfigurationSettingState The DeviceConfigurationSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the userEmail + * UserEmail + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * UserEmail + * + * @param string $val The value of the userEmail + * + * @return DeviceConfigurationSettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + /** + * Gets the userId + * 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 + * UserId + * + * @param string $val The value of the userId + * + * @return DeviceConfigurationSettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userName + * UserName + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * UserName + * + * @param string $val The value of the userName + * + * @return DeviceConfigurationSettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The value of the userPrincipalName + * + * @return DeviceConfigurationSettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationState.php new file mode 100644 index 0000000..2a6ad93 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationState.php @@ -0,0 +1,266 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the policy for this policyBase + * + * @param string $val The displayName + * + * @return DeviceConfigurationState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type that the policy applies to + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type that the policy applies to + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceConfigurationState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Count of how many setting a policy holds + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Count of how many setting a policy holds + * + * @param int $val The settingCount + * + * @return DeviceConfigurationState + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + + /** + * Gets the settingStates + * + * @return array|null The settingStates + */ + public function getSettingStates() + { + if (array_key_exists("settingStates", $this->_propDict)) { + return $this->_propDict["settingStates"]; + } else { + return null; + } + } + + /** + * Sets the settingStates + * + * @param DeviceConfigurationSettingState[] $val The settingStates + * + * @return DeviceConfigurationState + */ + public function setSettingStates($val) + { + $this->_propDict["settingStates"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the policy + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the policy + * + * @param ComplianceStatus $val The state + * + * @return DeviceConfigurationState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userId + * User unique identifier, must be Guid + * + * @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 + * User unique identifier, must be Guid + * + * @param string $val The userId + * + * @return DeviceConfigurationState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name + * + * @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 + * User Principal Name + * + * @param string $val The userPrincipalName + * + * @return DeviceConfigurationState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the policy + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the policy + * + * @param int $val The version + * + * @return DeviceConfigurationState + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationTargetedUserAndDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationTargetedUserAndDevice.php new file mode 100644 index 0000000..a317bb3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationTargetedUserAndDevice.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The id of the device in the checkin. + * + * @param string $val The value of the deviceId + * + * @return DeviceConfigurationTargetedUserAndDevice + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + /** + * Gets the deviceName + * The name of the device in the checkin. + * + * @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 of the device in the checkin. + * + * @param string $val The value of the deviceName + * + * @return DeviceConfigurationTargetedUserAndDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the lastCheckinDateTime + * Last checkin time for this user/device pair. + * + * @return \DateTime|null The lastCheckinDateTime + */ + public function getLastCheckinDateTime() + { + if (array_key_exists("lastCheckinDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCheckinDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckinDateTime"])) { + return $this->_propDict["lastCheckinDateTime"]; + } else { + $this->_propDict["lastCheckinDateTime"] = new \DateTime($this->_propDict["lastCheckinDateTime"]); + return $this->_propDict["lastCheckinDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckinDateTime + * Last checkin time for this user/device pair. + * + * @param \DateTime $val The value to assign to the lastCheckinDateTime + * + * @return DeviceConfigurationTargetedUserAndDevice The DeviceConfigurationTargetedUserAndDevice + */ + public function setLastCheckinDateTime($val) + { + $this->_propDict["lastCheckinDateTime"] = $val; + return $this; + } + /** + * Gets the userDisplayName + * The display name of the user in the checkin + * + * @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 + * The display name of the user in the checkin + * + * @param string $val The value of the userDisplayName + * + * @return DeviceConfigurationTargetedUserAndDevice + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + /** + * Gets the userId + * The id of the user in the checkin. + * + * @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 + * The id of the user in the checkin. + * + * @param string $val The value of the userId + * + * @return DeviceConfigurationTargetedUserAndDevice + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * The UPN of the user in the checkin. + * + * @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 + * The UPN of the user in the checkin. + * + * @param string $val The value of the userPrincipalName + * + * @return DeviceConfigurationTargetedUserAndDevice + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserOverview.php new file mode 100644 index 0000000..3f004ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserOverview.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceConfigurationUserOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of users in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of users in conflict + * + * @param int $val The conflictCount + * + * @return DeviceConfigurationUserOverview + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error Users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error Users + * + * @param int $val The errorCount + * + * @return DeviceConfigurationUserOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed Users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed Users + * + * @param int $val The failedCount + * + * @return DeviceConfigurationUserOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceConfigurationUserOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return DeviceConfigurationUserOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending Users + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending Users + * + * @param int $val The pendingCount + * + * @return DeviceConfigurationUserOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded Users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded Users + * + * @param int $val The successCount + * + * @return DeviceConfigurationUserOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStateSummary.php new file mode 100644 index 0000000..439a7dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStateSummary.php @@ -0,0 +1,230 @@ +_propDict)) { + return $this->_propDict["compliantUserCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantUserCount + * Number of compliant users + * + * @param int $val The compliantUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setCompliantUserCount($val) + { + $this->_propDict["compliantUserCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictUserCount + * Number of conflict users + * + * @return int|null The conflictUserCount + */ + public function getConflictUserCount() + { + if (array_key_exists("conflictUserCount", $this->_propDict)) { + return $this->_propDict["conflictUserCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictUserCount + * Number of conflict users + * + * @param int $val The conflictUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setConflictUserCount($val) + { + $this->_propDict["conflictUserCount"] = intval($val); + return $this; + } + + /** + * Gets the errorUserCount + * Number of error users + * + * @return int|null The errorUserCount + */ + public function getErrorUserCount() + { + if (array_key_exists("errorUserCount", $this->_propDict)) { + return $this->_propDict["errorUserCount"]; + } else { + return null; + } + } + + /** + * Sets the errorUserCount + * Number of error users + * + * @param int $val The errorUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setErrorUserCount($val) + { + $this->_propDict["errorUserCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantUserCount + * Number of NonCompliant users + * + * @return int|null The nonCompliantUserCount + */ + public function getNonCompliantUserCount() + { + if (array_key_exists("nonCompliantUserCount", $this->_propDict)) { + return $this->_propDict["nonCompliantUserCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantUserCount + * Number of NonCompliant users + * + * @param int $val The nonCompliantUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setNonCompliantUserCount($val) + { + $this->_propDict["nonCompliantUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableUserCount + * Number of not applicable users + * + * @return int|null The notApplicableUserCount + */ + public function getNotApplicableUserCount() + { + if (array_key_exists("notApplicableUserCount", $this->_propDict)) { + return $this->_propDict["notApplicableUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableUserCount + * Number of not applicable users + * + * @param int $val The notApplicableUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setNotApplicableUserCount($val) + { + $this->_propDict["notApplicableUserCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedUserCount + * Number of remediated users + * + * @return int|null The remediatedUserCount + */ + public function getRemediatedUserCount() + { + if (array_key_exists("remediatedUserCount", $this->_propDict)) { + return $this->_propDict["remediatedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedUserCount + * Number of remediated users + * + * @param int $val The remediatedUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setRemediatedUserCount($val) + { + $this->_propDict["remediatedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownUserCount + * Number of unknown users + * + * @return int|null The unknownUserCount + */ + public function getUnknownUserCount() + { + if (array_key_exists("unknownUserCount", $this->_propDict)) { + return $this->_propDict["unknownUserCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownUserCount + * Number of unknown users + * + * @param int $val The unknownUserCount + * + * @return DeviceConfigurationUserStateSummary + */ + public function setUnknownUserCount($val) + { + $this->_propDict["unknownUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStatus.php new file mode 100644 index 0000000..71a22f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["devicesCount"]; + } else { + return null; + } + } + + /** + * Sets the devicesCount + * Devices count for that user. + * + * @param int $val The devicesCount + * + * @return DeviceConfigurationUserStatus + */ + public function setDevicesCount($val) + { + $this->_propDict["devicesCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceConfigurationUserStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceConfigurationUserStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User name of the DevicePolicyStatus. + * + * @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 + * User name of the DevicePolicyStatus. + * + * @param string $val The userDisplayName + * + * @return DeviceConfigurationUserStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceConfigurationUserStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeShellScript.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeShellScript.php new file mode 100644 index 0000000..978285a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeShellScript.php @@ -0,0 +1,490 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the device management script was created. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceCustomAttributeShellScript + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the customAttributeName + * The name of the custom attribute. + * + * @return string|null The customAttributeName + */ + public function getCustomAttributeName() + { + if (array_key_exists("customAttributeName", $this->_propDict)) { + return $this->_propDict["customAttributeName"]; + } else { + return null; + } + } + + /** + * Sets the customAttributeName + * The name of the custom attribute. + * + * @param string $val The customAttributeName + * + * @return DeviceCustomAttributeShellScript + */ + public function setCustomAttributeName($val) + { + $this->_propDict["customAttributeName"] = $val; + return $this; + } + + /** + * Gets the customAttributeType + * The expected type of the custom attribute's value. Possible values are: integer, string, dateTime. + * + * @return DeviceCustomAttributeValueType|null The customAttributeType + */ + public function getCustomAttributeType() + { + if (array_key_exists("customAttributeType", $this->_propDict)) { + if (is_a($this->_propDict["customAttributeType"], "\Beta\Microsoft\Graph\Model\DeviceCustomAttributeValueType") || is_null($this->_propDict["customAttributeType"])) { + return $this->_propDict["customAttributeType"]; + } else { + $this->_propDict["customAttributeType"] = new DeviceCustomAttributeValueType($this->_propDict["customAttributeType"]); + return $this->_propDict["customAttributeType"]; + } + } + return null; + } + + /** + * Sets the customAttributeType + * The expected type of the custom attribute's value. Possible values are: integer, string, dateTime. + * + * @param DeviceCustomAttributeValueType $val The customAttributeType + * + * @return DeviceCustomAttributeShellScript + */ + public function setCustomAttributeType($val) + { + $this->_propDict["customAttributeType"] = $val; + return $this; + } + + /** + * Gets the description + * Optional description for the device management script. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional description for the device management script. + * + * @param string $val The description + * + * @return DeviceCustomAttributeShellScript + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the device management script. + * + * @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 + * Name of the device management script. + * + * @param string $val The displayName + * + * @return DeviceCustomAttributeShellScript + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fileName + * Script file name. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Script file name. + * + * @param string $val The fileName + * + * @return DeviceCustomAttributeShellScript + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the device management script was last modified. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the device management script was last modified. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceCustomAttributeShellScript + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tag IDs for this PowerShellScript instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tag IDs for this PowerShellScript instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceCustomAttributeShellScript + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @param RunAsAccountType $val The runAsAccount + * + * @return DeviceCustomAttributeShellScript + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + + /** + * Gets the scriptContent + * The script content. + * + * @return \GuzzleHttp\Psr7\Stream|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + if (is_a($this->_propDict["scriptContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["scriptContent"])) { + return $this->_propDict["scriptContent"]; + } else { + $this->_propDict["scriptContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["scriptContent"]); + return $this->_propDict["scriptContent"]; + } + } + return null; + } + + /** + * Sets the scriptContent + * The script content. + * + * @param \GuzzleHttp\Psr7\Stream $val The scriptContent + * + * @return DeviceCustomAttributeShellScript + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device management script. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device management script. + * + * @param DeviceManagementScriptAssignment[] $val The assignments + * + * @return DeviceCustomAttributeShellScript + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceRunStates + * List of run states for this script across all devices. + * + * @return array|null The deviceRunStates + */ + public function getDeviceRunStates() + { + if (array_key_exists("deviceRunStates", $this->_propDict)) { + return $this->_propDict["deviceRunStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceRunStates + * List of run states for this script across all devices. + * + * @param DeviceManagementScriptDeviceState[] $val The deviceRunStates + * + * @return DeviceCustomAttributeShellScript + */ + public function setDeviceRunStates($val) + { + $this->_propDict["deviceRunStates"] = $val; + return $this; + } + + + /** + * Gets the groupAssignments + * The list of group assignments for the device management script. + * + * @return array|null The groupAssignments + */ + public function getGroupAssignments() + { + if (array_key_exists("groupAssignments", $this->_propDict)) { + return $this->_propDict["groupAssignments"]; + } else { + return null; + } + } + + /** + * Sets the groupAssignments + * The list of group assignments for the device management script. + * + * @param DeviceManagementScriptGroupAssignment[] $val The groupAssignments + * + * @return DeviceCustomAttributeShellScript + */ + public function setGroupAssignments($val) + { + $this->_propDict["groupAssignments"] = $val; + return $this; + } + + /** + * Gets the runSummary + * Run summary for device management script. + * + * @return DeviceManagementScriptRunSummary|null The runSummary + */ + public function getRunSummary() + { + if (array_key_exists("runSummary", $this->_propDict)) { + if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementScriptRunSummary") || is_null($this->_propDict["runSummary"])) { + return $this->_propDict["runSummary"]; + } else { + $this->_propDict["runSummary"] = new DeviceManagementScriptRunSummary($this->_propDict["runSummary"]); + return $this->_propDict["runSummary"]; + } + } + return null; + } + + /** + * Sets the runSummary + * Run summary for device management script. + * + * @param DeviceManagementScriptRunSummary $val The runSummary + * + * @return DeviceCustomAttributeShellScript + */ + public function setRunSummary($val) + { + $this->_propDict["runSummary"] = $val; + return $this; + } + + + /** + * Gets the userRunStates + * List of run states for this script across all users. + * + * @return array|null The userRunStates + */ + public function getUserRunStates() + { + if (array_key_exists("userRunStates", $this->_propDict)) { + return $this->_propDict["userRunStates"]; + } else { + return null; + } + } + + /** + * Sets the userRunStates + * List of run states for this script across all users. + * + * @param DeviceManagementScriptUserState[] $val The userRunStates + * + * @return DeviceCustomAttributeShellScript + */ + public function setUserRunStates($val) + { + $this->_propDict["userRunStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeValueType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeValueType.php new file mode 100644 index 0000000..758a0b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeValueType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["browser"]; + } else { + return null; + } + } + + /** + * Sets the browser + * Indicates the browser information of the used for signing-in. + * + * @param string $val The value of the browser + * + * @return DeviceDetail + */ + public function setBrowser($val) + { + $this->_propDict["browser"] = $val; + return $this; + } + /** + * Gets the browserId + * + * @return string|null The browserId + */ + public function getBrowserId() + { + if (array_key_exists("browserId", $this->_propDict)) { + return $this->_propDict["browserId"]; + } else { + return null; + } + } + + /** + * Sets the browserId + * + * @param string $val The value of the browserId + * + * @return DeviceDetail + */ + public function setBrowserId($val) + { + $this->_propDict["browserId"] = $val; + return $this; + } + /** + * Gets the deviceId + * Refers to the UniqueID of the device used for signing-in. + * + * @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 + * Refers to the UniqueID of the device used for signing-in. + * + * @param string $val The value of the deviceId + * + * @return DeviceDetail + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + /** + * Gets the displayName + * Refers to the name of the device used for signing-in. + * + * @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 + * Refers to the name of the device used for signing-in. + * + * @param string $val The value of the displayName + * + * @return DeviceDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the isCompliant + * Indicates whether the device is compliant or not. + * + * @return bool|null The isCompliant + */ + public function getIsCompliant() + { + if (array_key_exists("isCompliant", $this->_propDict)) { + return $this->_propDict["isCompliant"]; + } else { + return null; + } + } + + /** + * Sets the isCompliant + * Indicates whether the device is compliant or not. + * + * @param bool $val The value of the isCompliant + * + * @return DeviceDetail + */ + public function setIsCompliant($val) + { + $this->_propDict["isCompliant"] = $val; + return $this; + } + /** + * Gets the isManaged + * Indicates if the device is managed or not. + * + * @return bool|null The isManaged + */ + public function getIsManaged() + { + if (array_key_exists("isManaged", $this->_propDict)) { + return $this->_propDict["isManaged"]; + } else { + return null; + } + } + + /** + * Sets the isManaged + * Indicates if the device is managed or not. + * + * @param bool $val The value of the isManaged + * + * @return DeviceDetail + */ + public function setIsManaged($val) + { + $this->_propDict["isManaged"] = $val; + return $this; + } + /** + * Gets the operatingSystem + * Indicates the OS name and version used for signing-in. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * Indicates the OS name and version used for signing-in. + * + * @param string $val The value of the operatingSystem + * + * @return DeviceDetail + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + /** + * Gets the trustType + * Indicates information on whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined. + * + * @return string|null The trustType + */ + public function getTrustType() + { + if (array_key_exists("trustType", $this->_propDict)) { + return $this->_propDict["trustType"]; + } else { + return null; + } + } + + /** + * Sets the trustType + * Indicates information on whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined. + * + * @param string $val The value of the trustType + * + * @return DeviceDetail + */ + public function setTrustType($val) + { + $this->_propDict["trustType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfiguration.php new file mode 100644 index 0000000..9a4843e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfiguration.php @@ -0,0 +1,301 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Created date time in UTC of the device enrollment configuration + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceEnrollmentConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the device enrollment configuration + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the device enrollment configuration + * + * @param string $val The description + * + * @return DeviceEnrollmentConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceEnrollmentConfigurationType + * Support for Enrollment Configuration Type + * + * @return DeviceEnrollmentConfigurationType|null The deviceEnrollmentConfigurationType + */ + public function getDeviceEnrollmentConfigurationType() + { + if (array_key_exists("deviceEnrollmentConfigurationType", $this->_propDict)) { + if (is_a($this->_propDict["deviceEnrollmentConfigurationType"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentConfigurationType") || is_null($this->_propDict["deviceEnrollmentConfigurationType"])) { + return $this->_propDict["deviceEnrollmentConfigurationType"]; + } else { + $this->_propDict["deviceEnrollmentConfigurationType"] = new DeviceEnrollmentConfigurationType($this->_propDict["deviceEnrollmentConfigurationType"]); + return $this->_propDict["deviceEnrollmentConfigurationType"]; + } + } + return null; + } + + /** + * Sets the deviceEnrollmentConfigurationType + * Support for Enrollment Configuration Type + * + * @param DeviceEnrollmentConfigurationType $val The deviceEnrollmentConfigurationType + * + * @return DeviceEnrollmentConfiguration + */ + public function setDeviceEnrollmentConfigurationType($val) + { + $this->_propDict["deviceEnrollmentConfigurationType"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the device enrollment configuration + * + * @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 + * The display name of the device enrollment configuration + * + * @param string $val The displayName + * + * @return DeviceEnrollmentConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified date time in UTC of the device enrollment configuration + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified date time in UTC of the device enrollment configuration + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceEnrollmentConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the priority + * Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. + * + * @param int $val The priority + * + * @return DeviceEnrollmentConfiguration + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the roleScopeTagIds + * Optional role scope tags for the enrollment restrictions. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * Optional role scope tags for the enrollment restrictions. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceEnrollmentConfiguration + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the device enrollment configuration + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the device enrollment configuration + * + * @param int $val The version + * + * @return DeviceEnrollmentConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device configuration profile + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device configuration profile + * + * @param EnrollmentConfigurationAssignment[] $val The assignments + * + * @return DeviceEnrollmentConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfigurationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfigurationType.php new file mode 100644 index 0000000..5611dc2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfigurationType.php @@ -0,0 +1,45 @@ +_propDict)) { + return $this->_propDict["limit"]; + } else { + return null; + } + } + + /** + * Sets the limit + * The maximum number of devices that a user can enroll + * + * @param int $val The limit + * + * @return DeviceEnrollmentLimitConfiguration + */ + public function setLimit($val) + { + $this->_propDict["limit"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentNotificationConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentNotificationConfiguration.php new file mode 100644 index 0000000..cbddf87 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentNotificationConfiguration.php @@ -0,0 +1,184 @@ +_propDict)) { + if (is_a($this->_propDict["brandingOptions"], "\Beta\Microsoft\Graph\Model\EnrollmentNotificationBrandingOptions") || is_null($this->_propDict["brandingOptions"])) { + return $this->_propDict["brandingOptions"]; + } else { + $this->_propDict["brandingOptions"] = new EnrollmentNotificationBrandingOptions($this->_propDict["brandingOptions"]); + return $this->_propDict["brandingOptions"]; + } + } + return null; + } + + /** + * Sets the brandingOptions + * Branding Options for the Enrollment Notification. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation, includeCompanyPortalLink, includeDeviceDetails. + * + * @param EnrollmentNotificationBrandingOptions $val The brandingOptions + * + * @return DeviceEnrollmentNotificationConfiguration + */ + public function setBrandingOptions($val) + { + $this->_propDict["brandingOptions"] = $val; + return $this; + } + + /** + * Gets the defaultLocale + * DefaultLocale for the Enrollment Notification + * + * @return string|null The defaultLocale + */ + public function getDefaultLocale() + { + if (array_key_exists("defaultLocale", $this->_propDict)) { + return $this->_propDict["defaultLocale"]; + } else { + return null; + } + } + + /** + * Sets the defaultLocale + * DefaultLocale for the Enrollment Notification + * + * @param string $val The defaultLocale + * + * @return DeviceEnrollmentNotificationConfiguration + */ + public function setDefaultLocale($val) + { + $this->_propDict["defaultLocale"] = $val; + return $this; + } + + /** + * Gets the notificationMessageTemplateId + * Notification Message Template Id + * + * @return string|null The notificationMessageTemplateId + */ + public function getNotificationMessageTemplateId() + { + if (array_key_exists("notificationMessageTemplateId", $this->_propDict)) { + return $this->_propDict["notificationMessageTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the notificationMessageTemplateId + * Notification Message Template Id + * + * @param string $val The notificationMessageTemplateId + * + * @return DeviceEnrollmentNotificationConfiguration + */ + public function setNotificationMessageTemplateId($val) + { + $this->_propDict["notificationMessageTemplateId"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type of the Enrollment Notification. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac. + * + * @return EnrollmentRestrictionPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\EnrollmentRestrictionPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new EnrollmentRestrictionPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type of the Enrollment Notification. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac. + * + * @param EnrollmentRestrictionPlatformType $val The platformType + * + * @return DeviceEnrollmentNotificationConfiguration + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the templateType + * Template type of the Enrollment Notification. Possible values are: email, push, unknownFutureValue. + * + * @return EnrollmentNotificationTemplateType|null The templateType + */ + public function getTemplateType() + { + if (array_key_exists("templateType", $this->_propDict)) { + if (is_a($this->_propDict["templateType"], "\Beta\Microsoft\Graph\Model\EnrollmentNotificationTemplateType") || is_null($this->_propDict["templateType"])) { + return $this->_propDict["templateType"]; + } else { + $this->_propDict["templateType"] = new EnrollmentNotificationTemplateType($this->_propDict["templateType"]); + return $this->_propDict["templateType"]; + } + } + return null; + } + + /** + * Sets the templateType + * Template type of the Enrollment Notification. Possible values are: email, push, unknownFutureValue. + * + * @param EnrollmentNotificationTemplateType $val The templateType + * + * @return DeviceEnrollmentNotificationConfiguration + */ + public function setTemplateType($val) + { + $this->_propDict["templateType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestriction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestriction.php new file mode 100644 index 0000000..adcb961 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestriction.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["blockedManufacturers"]; + } else { + return null; + } + } + + /** + * Sets the blockedManufacturers + * Collection of blocked Manufacturers. + * + * @param string $val The value of the blockedManufacturers + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setBlockedManufacturers($val) + { + $this->_propDict["blockedManufacturers"] = $val; + return $this; + } + /** + * Gets the blockedSkus + * Collection of blocked Skus. + * + * @return string|null The blockedSkus + */ + public function getBlockedSkus() + { + if (array_key_exists("blockedSkus", $this->_propDict)) { + return $this->_propDict["blockedSkus"]; + } else { + return null; + } + } + + /** + * Sets the blockedSkus + * Collection of blocked Skus. + * + * @param string $val The value of the blockedSkus + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setBlockedSkus($val) + { + $this->_propDict["blockedSkus"] = $val; + return $this; + } + /** + * Gets the osMaximumVersion + * Max OS version supported + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Max OS version supported + * + * @param string $val The value of the osMaximumVersion + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + /** + * Gets the osMinimumVersion + * Min OS version supported + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Min OS version supported + * + * @param string $val The value of the osMinimumVersion + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + /** + * Gets the personalDeviceEnrollmentBlocked + * Block personally owned devices from enrolling + * + * @return bool|null The personalDeviceEnrollmentBlocked + */ + public function getPersonalDeviceEnrollmentBlocked() + { + if (array_key_exists("personalDeviceEnrollmentBlocked", $this->_propDict)) { + return $this->_propDict["personalDeviceEnrollmentBlocked"]; + } else { + return null; + } + } + + /** + * Sets the personalDeviceEnrollmentBlocked + * Block personally owned devices from enrolling + * + * @param bool $val The value of the personalDeviceEnrollmentBlocked + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setPersonalDeviceEnrollmentBlocked($val) + { + $this->_propDict["personalDeviceEnrollmentBlocked"] = $val; + return $this; + } + /** + * Gets the platformBlocked + * Block the platform from enrolling + * + * @return bool|null The platformBlocked + */ + public function getPlatformBlocked() + { + if (array_key_exists("platformBlocked", $this->_propDict)) { + return $this->_propDict["platformBlocked"]; + } else { + return null; + } + } + + /** + * Sets the platformBlocked + * Block the platform from enrolling + * + * @param bool $val The value of the platformBlocked + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setPlatformBlocked($val) + { + $this->_propDict["platformBlocked"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionConfiguration.php new file mode 100644 index 0000000..1e40636 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionConfiguration.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["platformRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["platformRestriction"])) { + return $this->_propDict["platformRestriction"]; + } else { + $this->_propDict["platformRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["platformRestriction"]); + return $this->_propDict["platformRestriction"]; + } + } + return null; + } + + /** + * Sets the platformRestriction + * Restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The platformRestriction + * + * @return DeviceEnrollmentPlatformRestrictionConfiguration + */ + public function setPlatformRestriction($val) + { + $this->_propDict["platformRestriction"] = $val; + return $this; + } + + /** + * Gets the platformType + * Type of platform for which this restriction applies. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac. + * + * @return EnrollmentRestrictionPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\EnrollmentRestrictionPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new EnrollmentRestrictionPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Type of platform for which this restriction applies. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac. + * + * @param EnrollmentRestrictionPlatformType $val The platformType + * + * @return DeviceEnrollmentPlatformRestrictionConfiguration + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php new file mode 100644 index 0000000..e29f703 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php @@ -0,0 +1,291 @@ +_propDict)) { + if (is_a($this->_propDict["androidForWorkRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["androidForWorkRestriction"])) { + return $this->_propDict["androidForWorkRestriction"]; + } else { + $this->_propDict["androidForWorkRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["androidForWorkRestriction"]); + return $this->_propDict["androidForWorkRestriction"]; + } + } + return null; + } + + /** + * Sets the androidForWorkRestriction + * Android for work restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The androidForWorkRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setAndroidForWorkRestriction($val) + { + $this->_propDict["androidForWorkRestriction"] = $val; + return $this; + } + + /** + * Gets the androidRestriction + * Android restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The androidRestriction + */ + public function getAndroidRestriction() + { + if (array_key_exists("androidRestriction", $this->_propDict)) { + if (is_a($this->_propDict["androidRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["androidRestriction"])) { + return $this->_propDict["androidRestriction"]; + } else { + $this->_propDict["androidRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["androidRestriction"]); + return $this->_propDict["androidRestriction"]; + } + } + return null; + } + + /** + * Sets the androidRestriction + * Android restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The androidRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setAndroidRestriction($val) + { + $this->_propDict["androidRestriction"] = $val; + return $this; + } + + /** + * Gets the iosRestriction + * Ios restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The iosRestriction + */ + public function getIosRestriction() + { + if (array_key_exists("iosRestriction", $this->_propDict)) { + if (is_a($this->_propDict["iosRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["iosRestriction"])) { + return $this->_propDict["iosRestriction"]; + } else { + $this->_propDict["iosRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["iosRestriction"]); + return $this->_propDict["iosRestriction"]; + } + } + return null; + } + + /** + * Sets the iosRestriction + * Ios restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The iosRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setIosRestriction($val) + { + $this->_propDict["iosRestriction"] = $val; + return $this; + } + + /** + * Gets the macOSRestriction + * Mac restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The macOSRestriction + */ + public function getMacOSRestriction() + { + if (array_key_exists("macOSRestriction", $this->_propDict)) { + if (is_a($this->_propDict["macOSRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["macOSRestriction"])) { + return $this->_propDict["macOSRestriction"]; + } else { + $this->_propDict["macOSRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["macOSRestriction"]); + return $this->_propDict["macOSRestriction"]; + } + } + return null; + } + + /** + * Sets the macOSRestriction + * Mac restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The macOSRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setMacOSRestriction($val) + { + $this->_propDict["macOSRestriction"] = $val; + return $this; + } + + /** + * Gets the macRestriction + * Mac restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The macRestriction + */ + public function getMacRestriction() + { + if (array_key_exists("macRestriction", $this->_propDict)) { + if (is_a($this->_propDict["macRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["macRestriction"])) { + return $this->_propDict["macRestriction"]; + } else { + $this->_propDict["macRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["macRestriction"]); + return $this->_propDict["macRestriction"]; + } + } + return null; + } + + /** + * Sets the macRestriction + * Mac restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The macRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setMacRestriction($val) + { + $this->_propDict["macRestriction"] = $val; + return $this; + } + + /** + * Gets the windowsHomeSkuRestriction + * Windows Home Sku restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The windowsHomeSkuRestriction + */ + public function getWindowsHomeSkuRestriction() + { + if (array_key_exists("windowsHomeSkuRestriction", $this->_propDict)) { + if (is_a($this->_propDict["windowsHomeSkuRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["windowsHomeSkuRestriction"])) { + return $this->_propDict["windowsHomeSkuRestriction"]; + } else { + $this->_propDict["windowsHomeSkuRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsHomeSkuRestriction"]); + return $this->_propDict["windowsHomeSkuRestriction"]; + } + } + return null; + } + + /** + * Sets the windowsHomeSkuRestriction + * Windows Home Sku restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The windowsHomeSkuRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setWindowsHomeSkuRestriction($val) + { + $this->_propDict["windowsHomeSkuRestriction"] = $val; + return $this; + } + + /** + * Gets the windowsMobileRestriction + * Windows mobile restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The windowsMobileRestriction + */ + public function getWindowsMobileRestriction() + { + if (array_key_exists("windowsMobileRestriction", $this->_propDict)) { + if (is_a($this->_propDict["windowsMobileRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["windowsMobileRestriction"])) { + return $this->_propDict["windowsMobileRestriction"]; + } else { + $this->_propDict["windowsMobileRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsMobileRestriction"]); + return $this->_propDict["windowsMobileRestriction"]; + } + } + return null; + } + + /** + * Sets the windowsMobileRestriction + * Windows mobile restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The windowsMobileRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setWindowsMobileRestriction($val) + { + $this->_propDict["windowsMobileRestriction"] = $val; + return $this; + } + + /** + * Gets the windowsRestriction + * Windows restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The windowsRestriction + */ + public function getWindowsRestriction() + { + if (array_key_exists("windowsRestriction", $this->_propDict)) { + if (is_a($this->_propDict["windowsRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["windowsRestriction"])) { + return $this->_propDict["windowsRestriction"]; + } else { + $this->_propDict["windowsRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsRestriction"]); + return $this->_propDict["windowsRestriction"]; + } + } + return null; + } + + /** + * Sets the windowsRestriction + * Windows restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The windowsRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setWindowsRestriction($val) + { + $this->_propDict["windowsRestriction"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentType.php new file mode 100644 index 0000000..fa15aee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentType.php @@ -0,0 +1,49 @@ +_propDict)) { + if (is_a($this->_propDict["enhancedBiometricsState"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["enhancedBiometricsState"])) { + return $this->_propDict["enhancedBiometricsState"]; + } else { + $this->_propDict["enhancedBiometricsState"] = new Enablement($this->_propDict["enhancedBiometricsState"]); + return $this->_propDict["enhancedBiometricsState"]; + } + } + return null; + } + + /** + * Sets the enhancedBiometricsState + * Controls the ability to use the anti-spoofing features for facial recognition on devices which support it. If set to disabled, anti-spoofing features are not allowed. If set to Not Configured, the user can choose whether they want to use anti-spoofing. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The enhancedBiometricsState + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setEnhancedBiometricsState($val) + { + $this->_propDict["enhancedBiometricsState"] = $val; + return $this; + } + + /** + * Gets the pinExpirationInDays + * Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire + * + * @return int|null The pinExpirationInDays + */ + public function getPinExpirationInDays() + { + if (array_key_exists("pinExpirationInDays", $this->_propDict)) { + return $this->_propDict["pinExpirationInDays"]; + } else { + return null; + } + } + + /** + * Sets the pinExpirationInDays + * Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire + * + * @param int $val The pinExpirationInDays + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinExpirationInDays($val) + { + $this->_propDict["pinExpirationInDays"] = intval($val); + return $this; + } + + /** + * Gets the pinLowercaseCharactersUsage + * Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @return WindowsHelloForBusinessPinUsage|null The pinLowercaseCharactersUsage + */ + public function getPinLowercaseCharactersUsage() + { + if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage") || is_null($this->_propDict["pinLowercaseCharactersUsage"])) { + return $this->_propDict["pinLowercaseCharactersUsage"]; + } else { + $this->_propDict["pinLowercaseCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinLowercaseCharactersUsage"]); + return $this->_propDict["pinLowercaseCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinLowercaseCharactersUsage + * Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @param WindowsHelloForBusinessPinUsage $val The pinLowercaseCharactersUsage + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinLowercaseCharactersUsage($val) + { + $this->_propDict["pinLowercaseCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the pinMaximumLength + * Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN. + * + * @return int|null The pinMaximumLength + */ + public function getPinMaximumLength() + { + if (array_key_exists("pinMaximumLength", $this->_propDict)) { + return $this->_propDict["pinMaximumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMaximumLength + * Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN. + * + * @param int $val The pinMaximumLength + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinMaximumLength($val) + { + $this->_propDict["pinMaximumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinMinimumLength + * Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN. + * + * @return int|null The pinMinimumLength + */ + public function getPinMinimumLength() + { + if (array_key_exists("pinMinimumLength", $this->_propDict)) { + return $this->_propDict["pinMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMinimumLength + * Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN. + * + * @param int $val The pinMinimumLength + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinMinimumLength($val) + { + $this->_propDict["pinMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinPreviousBlockCount + * Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset. + * + * @return int|null The pinPreviousBlockCount + */ + public function getPinPreviousBlockCount() + { + if (array_key_exists("pinPreviousBlockCount", $this->_propDict)) { + return $this->_propDict["pinPreviousBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the pinPreviousBlockCount + * Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset. + * + * @param int $val The pinPreviousBlockCount + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinPreviousBlockCount($val) + { + $this->_propDict["pinPreviousBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the pinSpecialCharactersUsage + * Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted. Possible values are: allowed, required, disallowed. + * + * @return WindowsHelloForBusinessPinUsage|null The pinSpecialCharactersUsage + */ + public function getPinSpecialCharactersUsage() + { + if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinSpecialCharactersUsage"], "\Beta\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage") || is_null($this->_propDict["pinSpecialCharactersUsage"])) { + return $this->_propDict["pinSpecialCharactersUsage"]; + } else { + $this->_propDict["pinSpecialCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinSpecialCharactersUsage"]); + return $this->_propDict["pinSpecialCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinSpecialCharactersUsage + * Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted. Possible values are: allowed, required, disallowed. + * + * @param WindowsHelloForBusinessPinUsage $val The pinSpecialCharactersUsage + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinSpecialCharactersUsage($val) + { + $this->_propDict["pinSpecialCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the pinUppercaseCharactersUsage + * Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @return WindowsHelloForBusinessPinUsage|null The pinUppercaseCharactersUsage + */ + public function getPinUppercaseCharactersUsage() + { + if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage") || is_null($this->_propDict["pinUppercaseCharactersUsage"])) { + return $this->_propDict["pinUppercaseCharactersUsage"]; + } else { + $this->_propDict["pinUppercaseCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinUppercaseCharactersUsage"]); + return $this->_propDict["pinUppercaseCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinUppercaseCharactersUsage + * Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @param WindowsHelloForBusinessPinUsage $val The pinUppercaseCharactersUsage + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinUppercaseCharactersUsage($val) + { + $this->_propDict["pinUppercaseCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the remotePassportEnabled + * Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN. + * + * @return bool|null The remotePassportEnabled + */ + public function getRemotePassportEnabled() + { + if (array_key_exists("remotePassportEnabled", $this->_propDict)) { + return $this->_propDict["remotePassportEnabled"]; + } else { + return null; + } + } + + /** + * Sets the remotePassportEnabled + * Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN. + * + * @param bool $val The remotePassportEnabled + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setRemotePassportEnabled($val) + { + $this->_propDict["remotePassportEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the securityDeviceRequired + * Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM. + * + * @return bool|null The securityDeviceRequired + */ + public function getSecurityDeviceRequired() + { + if (array_key_exists("securityDeviceRequired", $this->_propDict)) { + return $this->_propDict["securityDeviceRequired"]; + } else { + return null; + } + } + + /** + * Sets the securityDeviceRequired + * Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM. + * + * @param bool $val The securityDeviceRequired + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setSecurityDeviceRequired($val) + { + $this->_propDict["securityDeviceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the securityKeyForSignIn + * Security key for Sign In provides the capacity for remotely turning ON/OFF Windows Hello Sercurity Keyl Not configured will honor configurations done on the clinet. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The securityKeyForSignIn + */ + public function getSecurityKeyForSignIn() + { + if (array_key_exists("securityKeyForSignIn", $this->_propDict)) { + if (is_a($this->_propDict["securityKeyForSignIn"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["securityKeyForSignIn"])) { + return $this->_propDict["securityKeyForSignIn"]; + } else { + $this->_propDict["securityKeyForSignIn"] = new Enablement($this->_propDict["securityKeyForSignIn"]); + return $this->_propDict["securityKeyForSignIn"]; + } + } + return null; + } + + /** + * Sets the securityKeyForSignIn + * Security key for Sign In provides the capacity for remotely turning ON/OFF Windows Hello Sercurity Keyl Not configured will honor configurations done on the clinet. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The securityKeyForSignIn + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setSecurityKeyForSignIn($val) + { + $this->_propDict["securityKeyForSignIn"] = $val; + return $this; + } + + /** + * Gets the state + * Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new Enablement($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The state + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the unlockWithBiometricsEnabled + * Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures. + * + * @return bool|null The unlockWithBiometricsEnabled + */ + public function getUnlockWithBiometricsEnabled() + { + if (array_key_exists("unlockWithBiometricsEnabled", $this->_propDict)) { + return $this->_propDict["unlockWithBiometricsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the unlockWithBiometricsEnabled + * Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures. + * + * @param bool $val The unlockWithBiometricsEnabled + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setUnlockWithBiometricsEnabled($val) + { + $this->_propDict["unlockWithBiometricsEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceExchangeAccessStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceExchangeAccessStateSummary.php new file mode 100644 index 0000000..c330aba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceExchangeAccessStateSummary.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allowedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the allowedDeviceCount + * Total count of devices with Exchange Access State: Allowed. + * + * @param int $val The value of the allowedDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setAllowedDeviceCount($val) + { + $this->_propDict["allowedDeviceCount"] = $val; + return $this; + } + /** + * Gets the blockedDeviceCount + * Total count of devices with Exchange Access State: Blocked. + * + * @return int|null The blockedDeviceCount + */ + public function getBlockedDeviceCount() + { + if (array_key_exists("blockedDeviceCount", $this->_propDict)) { + return $this->_propDict["blockedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the blockedDeviceCount + * Total count of devices with Exchange Access State: Blocked. + * + * @param int $val The value of the blockedDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setBlockedDeviceCount($val) + { + $this->_propDict["blockedDeviceCount"] = $val; + return $this; + } + /** + * Gets the quarantinedDeviceCount + * Total count of devices with Exchange Access State: Quarantined. + * + * @return int|null The quarantinedDeviceCount + */ + public function getQuarantinedDeviceCount() + { + if (array_key_exists("quarantinedDeviceCount", $this->_propDict)) { + return $this->_propDict["quarantinedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the quarantinedDeviceCount + * Total count of devices with Exchange Access State: Quarantined. + * + * @param int $val The value of the quarantinedDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setQuarantinedDeviceCount($val) + { + $this->_propDict["quarantinedDeviceCount"] = $val; + return $this; + } + /** + * Gets the unavailableDeviceCount + * Total count of devices for which no Exchange Access State could be found. + * + * @return int|null The unavailableDeviceCount + */ + public function getUnavailableDeviceCount() + { + if (array_key_exists("unavailableDeviceCount", $this->_propDict)) { + return $this->_propDict["unavailableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unavailableDeviceCount + * Total count of devices for which no Exchange Access State could be found. + * + * @param int $val The value of the unavailableDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setUnavailableDeviceCount($val) + { + $this->_propDict["unavailableDeviceCount"] = $val; + return $this; + } + /** + * Gets the unknownDeviceCount + * Total count of devices with Exchange Access State: Unknown. + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Total count of devices with Exchange Access State: Unknown. + * + * @param int $val The value of the unknownDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php new file mode 100644 index 0000000..a463e80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * Altitude, given in meters above sea level + * + * @param float $val The value of the altitude + * + * @return DeviceGeoLocation + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** + * Gets the heading + * Heading in degrees from true north + * + * @return float|null The heading + */ + public function getHeading() + { + if (array_key_exists("heading", $this->_propDict)) { + return $this->_propDict["heading"]; + } else { + return null; + } + } + + /** + * Sets the heading + * Heading in degrees from true north + * + * @param float $val The value of the heading + * + * @return DeviceGeoLocation + */ + public function setHeading($val) + { + $this->_propDict["heading"] = $val; + return $this; + } + /** + * Gets the horizontalAccuracy + * Accuracy of longitude and latitude in meters + * + * @return float|null The horizontalAccuracy + */ + public function getHorizontalAccuracy() + { + if (array_key_exists("horizontalAccuracy", $this->_propDict)) { + return $this->_propDict["horizontalAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the horizontalAccuracy + * Accuracy of longitude and latitude in meters + * + * @param float $val The value of the horizontalAccuracy + * + * @return DeviceGeoLocation + */ + public function setHorizontalAccuracy($val) + { + $this->_propDict["horizontalAccuracy"] = $val; + return $this; + } + + /** + * Gets the lastCollectedDateTime + * Time at which location was recorded, relative to UTC + * + * @return \DateTime|null The lastCollectedDateTime + */ + public function getLastCollectedDateTime() + { + if (array_key_exists("lastCollectedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCollectedDateTime"], "\DateTime") || is_null($this->_propDict["lastCollectedDateTime"])) { + return $this->_propDict["lastCollectedDateTime"]; + } else { + $this->_propDict["lastCollectedDateTime"] = new \DateTime($this->_propDict["lastCollectedDateTime"]); + return $this->_propDict["lastCollectedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCollectedDateTime + * Time at which location was recorded, relative to UTC + * + * @param \DateTime $val The value to assign to the lastCollectedDateTime + * + * @return DeviceGeoLocation The DeviceGeoLocation + */ + public function setLastCollectedDateTime($val) + { + $this->_propDict["lastCollectedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastCollectedDateTimeUtc + * Time at which location was recorded, relative to UTC + * + * @return \DateTime|null The lastCollectedDateTimeUtc + */ + public function getLastCollectedDateTimeUtc() + { + if (array_key_exists("lastCollectedDateTimeUtc", $this->_propDict)) { + if (is_a($this->_propDict["lastCollectedDateTimeUtc"], "\DateTime") || is_null($this->_propDict["lastCollectedDateTimeUtc"])) { + return $this->_propDict["lastCollectedDateTimeUtc"]; + } else { + $this->_propDict["lastCollectedDateTimeUtc"] = new \DateTime($this->_propDict["lastCollectedDateTimeUtc"]); + return $this->_propDict["lastCollectedDateTimeUtc"]; + } + } + return null; + } + + /** + * Sets the lastCollectedDateTimeUtc + * Time at which location was recorded, relative to UTC + * + * @param \DateTime $val The value to assign to the lastCollectedDateTimeUtc + * + * @return DeviceGeoLocation The DeviceGeoLocation + */ + public function setLastCollectedDateTimeUtc($val) + { + $this->_propDict["lastCollectedDateTimeUtc"] = $val; + return $this; + } + /** + * Gets the latitude + * Latitude coordinate of the device's location + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * Latitude coordinate of the device's location + * + * @param float $val The value of the latitude + * + * @return DeviceGeoLocation + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * Longitude coordinate of the device's location + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * Longitude coordinate of the device's location + * + * @param float $val The value of the longitude + * + * @return DeviceGeoLocation + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } + /** + * Gets the speed + * Speed the device is traveling in meters per second + * + * @return float|null The speed + */ + public function getSpeed() + { + if (array_key_exists("speed", $this->_propDict)) { + return $this->_propDict["speed"]; + } else { + return null; + } + } + + /** + * Sets the speed + * Speed the device is traveling in meters per second + * + * @param float $val The value of the speed + * + * @return DeviceGeoLocation + */ + public function setSpeed($val) + { + $this->_propDict["speed"] = $val; + return $this; + } + /** + * Gets the verticalAccuracy + * Accuracy of altitude in meters + * + * @return float|null The verticalAccuracy + */ + public function getVerticalAccuracy() + { + if (array_key_exists("verticalAccuracy", $this->_propDict)) { + return $this->_propDict["verticalAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the verticalAccuracy + * Accuracy of altitude in meters + * + * @param float $val The value of the verticalAccuracy + * + * @return DeviceGeoLocation + */ + public function setVerticalAccuracy($val) + { + $this->_propDict["verticalAccuracy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGuardLocalSystemAuthorityCredentialGuardState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGuardLocalSystemAuthorityCredentialGuardState.php new file mode 100644 index 0000000..916b690 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGuardLocalSystemAuthorityCredentialGuardState.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["lastConnectionTime"], "\DateTime") || is_null($this->_propDict["lastConnectionTime"])) { + return $this->_propDict["lastConnectionTime"]; + } else { + $this->_propDict["lastConnectionTime"] = new \DateTime($this->_propDict["lastConnectionTime"]); + return $this->_propDict["lastConnectionTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionTime + * The last time the device was connected. + * + * @param \DateTime $val The value to assign to the lastConnectionTime + * + * @return DeviceHealth The DeviceHealth + */ + public function setLastConnectionTime($val) + { + $this->_propDict["lastConnectionTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php new file mode 100644 index 0000000..cf2132b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php @@ -0,0 +1,927 @@ +_propDict)) { + return $this->_propDict["attestationIdentityKey"]; + } else { + return null; + } + } + + /** + * Sets the attestationIdentityKey + * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate. + * + * @param string $val The value of the attestationIdentityKey + * + * @return DeviceHealthAttestationState + */ + public function setAttestationIdentityKey($val) + { + $this->_propDict["attestationIdentityKey"] = $val; + return $this; + } + /** + * Gets the bitLockerStatus + * On or Off of BitLocker Drive Encryption + * + * @return string|null The bitLockerStatus + */ + public function getBitLockerStatus() + { + if (array_key_exists("bitLockerStatus", $this->_propDict)) { + return $this->_propDict["bitLockerStatus"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerStatus + * On or Off of BitLocker Drive Encryption + * + * @param string $val The value of the bitLockerStatus + * + * @return DeviceHealthAttestationState + */ + public function setBitLockerStatus($val) + { + $this->_propDict["bitLockerStatus"] = $val; + return $this; + } + /** + * Gets the bootAppSecurityVersion + * The security version number of the Boot Application + * + * @return string|null The bootAppSecurityVersion + */ + public function getBootAppSecurityVersion() + { + if (array_key_exists("bootAppSecurityVersion", $this->_propDict)) { + return $this->_propDict["bootAppSecurityVersion"]; + } else { + return null; + } + } + + /** + * Sets the bootAppSecurityVersion + * The security version number of the Boot Application + * + * @param string $val The value of the bootAppSecurityVersion + * + * @return DeviceHealthAttestationState + */ + public function setBootAppSecurityVersion($val) + { + $this->_propDict["bootAppSecurityVersion"] = $val; + return $this; + } + /** + * Gets the bootDebugging + * When bootDebugging is enabled, the device is used in development and testing + * + * @return string|null The bootDebugging + */ + public function getBootDebugging() + { + if (array_key_exists("bootDebugging", $this->_propDict)) { + return $this->_propDict["bootDebugging"]; + } else { + return null; + } + } + + /** + * Sets the bootDebugging + * When bootDebugging is enabled, the device is used in development and testing + * + * @param string $val The value of the bootDebugging + * + * @return DeviceHealthAttestationState + */ + public function setBootDebugging($val) + { + $this->_propDict["bootDebugging"] = $val; + return $this; + } + /** + * Gets the bootManagerSecurityVersion + * The security version number of the Boot Application + * + * @return string|null The bootManagerSecurityVersion + */ + public function getBootManagerSecurityVersion() + { + if (array_key_exists("bootManagerSecurityVersion", $this->_propDict)) { + return $this->_propDict["bootManagerSecurityVersion"]; + } else { + return null; + } + } + + /** + * Sets the bootManagerSecurityVersion + * The security version number of the Boot Application + * + * @param string $val The value of the bootManagerSecurityVersion + * + * @return DeviceHealthAttestationState + */ + public function setBootManagerSecurityVersion($val) + { + $this->_propDict["bootManagerSecurityVersion"] = $val; + return $this; + } + /** + * Gets the bootManagerVersion + * The version of the Boot Manager + * + * @return string|null The bootManagerVersion + */ + public function getBootManagerVersion() + { + if (array_key_exists("bootManagerVersion", $this->_propDict)) { + return $this->_propDict["bootManagerVersion"]; + } else { + return null; + } + } + + /** + * Sets the bootManagerVersion + * The version of the Boot Manager + * + * @param string $val The value of the bootManagerVersion + * + * @return DeviceHealthAttestationState + */ + public function setBootManagerVersion($val) + { + $this->_propDict["bootManagerVersion"] = $val; + return $this; + } + /** + * Gets the bootRevisionListInfo + * The Boot Revision List that was loaded during initial boot on the attested device + * + * @return string|null The bootRevisionListInfo + */ + public function getBootRevisionListInfo() + { + if (array_key_exists("bootRevisionListInfo", $this->_propDict)) { + return $this->_propDict["bootRevisionListInfo"]; + } else { + return null; + } + } + + /** + * Sets the bootRevisionListInfo + * The Boot Revision List that was loaded during initial boot on the attested device + * + * @param string $val The value of the bootRevisionListInfo + * + * @return DeviceHealthAttestationState + */ + public function setBootRevisionListInfo($val) + { + $this->_propDict["bootRevisionListInfo"] = $val; + return $this; + } + /** + * Gets the codeIntegrity + * When code integrity is enabled, code execution is restricted to integrity verified code + * + * @return string|null The codeIntegrity + */ + public function getCodeIntegrity() + { + if (array_key_exists("codeIntegrity", $this->_propDict)) { + return $this->_propDict["codeIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrity + * When code integrity is enabled, code execution is restricted to integrity verified code + * + * @param string $val The value of the codeIntegrity + * + * @return DeviceHealthAttestationState + */ + public function setCodeIntegrity($val) + { + $this->_propDict["codeIntegrity"] = $val; + return $this; + } + /** + * Gets the codeIntegrityCheckVersion + * The version of the Boot Manager + * + * @return string|null The codeIntegrityCheckVersion + */ + public function getCodeIntegrityCheckVersion() + { + if (array_key_exists("codeIntegrityCheckVersion", $this->_propDict)) { + return $this->_propDict["codeIntegrityCheckVersion"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityCheckVersion + * The version of the Boot Manager + * + * @param string $val The value of the codeIntegrityCheckVersion + * + * @return DeviceHealthAttestationState + */ + public function setCodeIntegrityCheckVersion($val) + { + $this->_propDict["codeIntegrityCheckVersion"] = $val; + return $this; + } + /** + * Gets the codeIntegrityPolicy + * The Code Integrity policy that is controlling the security of the boot environment + * + * @return string|null The codeIntegrityPolicy + */ + public function getCodeIntegrityPolicy() + { + if (array_key_exists("codeIntegrityPolicy", $this->_propDict)) { + return $this->_propDict["codeIntegrityPolicy"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityPolicy + * The Code Integrity policy that is controlling the security of the boot environment + * + * @param string $val The value of the codeIntegrityPolicy + * + * @return DeviceHealthAttestationState + */ + public function setCodeIntegrityPolicy($val) + { + $this->_propDict["codeIntegrityPolicy"] = $val; + return $this; + } + /** + * Gets the contentNamespaceUrl + * The DHA report version. (Namespace version) + * + * @return string|null The contentNamespaceUrl + */ + public function getContentNamespaceUrl() + { + if (array_key_exists("contentNamespaceUrl", $this->_propDict)) { + return $this->_propDict["contentNamespaceUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentNamespaceUrl + * The DHA report version. (Namespace version) + * + * @param string $val The value of the contentNamespaceUrl + * + * @return DeviceHealthAttestationState + */ + public function setContentNamespaceUrl($val) + { + $this->_propDict["contentNamespaceUrl"] = $val; + return $this; + } + /** + * Gets the contentVersion + * The HealthAttestation state schema version + * + * @return string|null The contentVersion + */ + public function getContentVersion() + { + if (array_key_exists("contentVersion", $this->_propDict)) { + return $this->_propDict["contentVersion"]; + } else { + return null; + } + } + + /** + * Sets the contentVersion + * The HealthAttestation state schema version + * + * @param string $val The value of the contentVersion + * + * @return DeviceHealthAttestationState + */ + public function setContentVersion($val) + { + $this->_propDict["contentVersion"] = $val; + return $this; + } + /** + * Gets the dataExcutionPolicy + * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory + * + * @return string|null The dataExcutionPolicy + */ + public function getDataExcutionPolicy() + { + if (array_key_exists("dataExcutionPolicy", $this->_propDict)) { + return $this->_propDict["dataExcutionPolicy"]; + } else { + return null; + } + } + + /** + * Sets the dataExcutionPolicy + * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory + * + * @param string $val The value of the dataExcutionPolicy + * + * @return DeviceHealthAttestationState + */ + public function setDataExcutionPolicy($val) + { + $this->_propDict["dataExcutionPolicy"] = $val; + return $this; + } + /** + * Gets the deviceHealthAttestationStatus + * The DHA report version. (Namespace version) + * + * @return string|null The deviceHealthAttestationStatus + */ + public function getDeviceHealthAttestationStatus() + { + if (array_key_exists("deviceHealthAttestationStatus", $this->_propDict)) { + return $this->_propDict["deviceHealthAttestationStatus"]; + } else { + return null; + } + } + + /** + * Sets the deviceHealthAttestationStatus + * The DHA report version. (Namespace version) + * + * @param string $val The value of the deviceHealthAttestationStatus + * + * @return DeviceHealthAttestationState + */ + public function setDeviceHealthAttestationStatus($val) + { + $this->_propDict["deviceHealthAttestationStatus"] = $val; + return $this; + } + /** + * Gets the earlyLaunchAntiMalwareDriverProtection + * ELAM provides protection for the computers in your network when they start up + * + * @return string|null The earlyLaunchAntiMalwareDriverProtection + */ + public function getEarlyLaunchAntiMalwareDriverProtection() + { + if (array_key_exists("earlyLaunchAntiMalwareDriverProtection", $this->_propDict)) { + return $this->_propDict["earlyLaunchAntiMalwareDriverProtection"]; + } else { + return null; + } + } + + /** + * Sets the earlyLaunchAntiMalwareDriverProtection + * ELAM provides protection for the computers in your network when they start up + * + * @param string $val The value of the earlyLaunchAntiMalwareDriverProtection + * + * @return DeviceHealthAttestationState + */ + public function setEarlyLaunchAntiMalwareDriverProtection($val) + { + $this->_propDict["earlyLaunchAntiMalwareDriverProtection"] = $val; + return $this; + } + /** + * Gets the healthAttestationSupportedStatus + * This attribute indicates if DHA is supported for the device + * + * @return string|null The healthAttestationSupportedStatus + */ + public function getHealthAttestationSupportedStatus() + { + if (array_key_exists("healthAttestationSupportedStatus", $this->_propDict)) { + return $this->_propDict["healthAttestationSupportedStatus"]; + } else { + return null; + } + } + + /** + * Sets the healthAttestationSupportedStatus + * This attribute indicates if DHA is supported for the device + * + * @param string $val The value of the healthAttestationSupportedStatus + * + * @return DeviceHealthAttestationState + */ + public function setHealthAttestationSupportedStatus($val) + { + $this->_propDict["healthAttestationSupportedStatus"] = $val; + return $this; + } + /** + * Gets the healthStatusMismatchInfo + * This attribute appears if DHA-Service detects an integrity issue + * + * @return string|null The healthStatusMismatchInfo + */ + public function getHealthStatusMismatchInfo() + { + if (array_key_exists("healthStatusMismatchInfo", $this->_propDict)) { + return $this->_propDict["healthStatusMismatchInfo"]; + } else { + return null; + } + } + + /** + * Sets the healthStatusMismatchInfo + * This attribute appears if DHA-Service detects an integrity issue + * + * @param string $val The value of the healthStatusMismatchInfo + * + * @return DeviceHealthAttestationState + */ + public function setHealthStatusMismatchInfo($val) + { + $this->_propDict["healthStatusMismatchInfo"] = $val; + return $this; + } + + /** + * Gets the issuedDateTime + * The DateTime when device was evaluated or issued to MDM + * + * @return \DateTime|null The issuedDateTime + */ + public function getIssuedDateTime() + { + if (array_key_exists("issuedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["issuedDateTime"], "\DateTime") || is_null($this->_propDict["issuedDateTime"])) { + return $this->_propDict["issuedDateTime"]; + } else { + $this->_propDict["issuedDateTime"] = new \DateTime($this->_propDict["issuedDateTime"]); + return $this->_propDict["issuedDateTime"]; + } + } + return null; + } + + /** + * Sets the issuedDateTime + * The DateTime when device was evaluated or issued to MDM + * + * @param \DateTime $val The value to assign to the issuedDateTime + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setIssuedDateTime($val) + { + $this->_propDict["issuedDateTime"] = $val; + return $this; + } + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update. + * + * @return string|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + return null; + } + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update. + * + * @param string $val The value of the lastUpdateDateTime + * + * @return DeviceHealthAttestationState + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + /** + * Gets the operatingSystemKernelDebugging + * When operatingSystemKernelDebugging is enabled, the device is used in development and testing + * + * @return string|null The operatingSystemKernelDebugging + */ + public function getOperatingSystemKernelDebugging() + { + if (array_key_exists("operatingSystemKernelDebugging", $this->_propDict)) { + return $this->_propDict["operatingSystemKernelDebugging"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemKernelDebugging + * When operatingSystemKernelDebugging is enabled, the device is used in development and testing + * + * @param string $val The value of the operatingSystemKernelDebugging + * + * @return DeviceHealthAttestationState + */ + public function setOperatingSystemKernelDebugging($val) + { + $this->_propDict["operatingSystemKernelDebugging"] = $val; + return $this; + } + /** + * Gets the operatingSystemRevListInfo + * The Operating System Revision List that was loaded during initial boot on the attested device + * + * @return string|null The operatingSystemRevListInfo + */ + public function getOperatingSystemRevListInfo() + { + if (array_key_exists("operatingSystemRevListInfo", $this->_propDict)) { + return $this->_propDict["operatingSystemRevListInfo"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemRevListInfo + * The Operating System Revision List that was loaded during initial boot on the attested device + * + * @param string $val The value of the operatingSystemRevListInfo + * + * @return DeviceHealthAttestationState + */ + public function setOperatingSystemRevListInfo($val) + { + $this->_propDict["operatingSystemRevListInfo"] = $val; + return $this; + } + /** + * Gets the pcr0 + * The measurement that is captured in PCR[0] + * + * @return string|null The pcr0 + */ + public function getPcr0() + { + if (array_key_exists("pcr0", $this->_propDict)) { + return $this->_propDict["pcr0"]; + } else { + return null; + } + } + + /** + * Sets the pcr0 + * The measurement that is captured in PCR[0] + * + * @param string $val The value of the pcr0 + * + * @return DeviceHealthAttestationState + */ + public function setPcr0($val) + { + $this->_propDict["pcr0"] = $val; + return $this; + } + /** + * Gets the pcrHashAlgorithm + * Informational attribute that identifies the HASH algorithm that was used by TPM + * + * @return string|null The pcrHashAlgorithm + */ + public function getPcrHashAlgorithm() + { + if (array_key_exists("pcrHashAlgorithm", $this->_propDict)) { + return $this->_propDict["pcrHashAlgorithm"]; + } else { + return null; + } + } + + /** + * Sets the pcrHashAlgorithm + * Informational attribute that identifies the HASH algorithm that was used by TPM + * + * @param string $val The value of the pcrHashAlgorithm + * + * @return DeviceHealthAttestationState + */ + public function setPcrHashAlgorithm($val) + { + $this->_propDict["pcrHashAlgorithm"] = $val; + return $this; + } + /** + * Gets the resetCount + * The number of times a PC device has hibernated or resumed + * + * @return int|null The resetCount + */ + public function getResetCount() + { + if (array_key_exists("resetCount", $this->_propDict)) { + return $this->_propDict["resetCount"]; + } else { + return null; + } + } + + /** + * Sets the resetCount + * The number of times a PC device has hibernated or resumed + * + * @param int $val The value of the resetCount + * + * @return DeviceHealthAttestationState + */ + public function setResetCount($val) + { + $this->_propDict["resetCount"] = $val; + return $this; + } + /** + * Gets the restartCount + * The number of times a PC device has rebooted + * + * @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 + * The number of times a PC device has rebooted + * + * @param int $val The value of the restartCount + * + * @return DeviceHealthAttestationState + */ + public function setRestartCount($val) + { + $this->_propDict["restartCount"] = $val; + return $this; + } + /** + * Gets the safeMode + * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state + * + * @return string|null The safeMode + */ + public function getSafeMode() + { + if (array_key_exists("safeMode", $this->_propDict)) { + return $this->_propDict["safeMode"]; + } else { + return null; + } + } + + /** + * Sets the safeMode + * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state + * + * @param string $val The value of the safeMode + * + * @return DeviceHealthAttestationState + */ + public function setSafeMode($val) + { + $this->_propDict["safeMode"] = $val; + return $this; + } + /** + * Gets the secureBoot + * When Secure Boot is enabled, the core components must have the correct cryptographic signatures + * + * @return string|null The secureBoot + */ + public function getSecureBoot() + { + if (array_key_exists("secureBoot", $this->_propDict)) { + return $this->_propDict["secureBoot"]; + } else { + return null; + } + } + + /** + * Sets the secureBoot + * When Secure Boot is enabled, the core components must have the correct cryptographic signatures + * + * @param string $val The value of the secureBoot + * + * @return DeviceHealthAttestationState + */ + public function setSecureBoot($val) + { + $this->_propDict["secureBoot"] = $val; + return $this; + } + /** + * Gets the secureBootConfigurationPolicyFingerPrint + * Fingerprint of the Custom Secure Boot Configuration Policy + * + * @return string|null The secureBootConfigurationPolicyFingerPrint + */ + public function getSecureBootConfigurationPolicyFingerPrint() + { + if (array_key_exists("secureBootConfigurationPolicyFingerPrint", $this->_propDict)) { + return $this->_propDict["secureBootConfigurationPolicyFingerPrint"]; + } else { + return null; + } + } + + /** + * Sets the secureBootConfigurationPolicyFingerPrint + * Fingerprint of the Custom Secure Boot Configuration Policy + * + * @param string $val The value of the secureBootConfigurationPolicyFingerPrint + * + * @return DeviceHealthAttestationState + */ + public function setSecureBootConfigurationPolicyFingerPrint($val) + { + $this->_propDict["secureBootConfigurationPolicyFingerPrint"] = $val; + return $this; + } + /** + * Gets the testSigning + * When test signing is allowed, the device does not enforce signature validation during boot + * + * @return string|null The testSigning + */ + public function getTestSigning() + { + if (array_key_exists("testSigning", $this->_propDict)) { + return $this->_propDict["testSigning"]; + } else { + return null; + } + } + + /** + * Sets the testSigning + * When test signing is allowed, the device does not enforce signature validation during boot + * + * @param string $val The value of the testSigning + * + * @return DeviceHealthAttestationState + */ + public function setTestSigning($val) + { + $this->_propDict["testSigning"] = $val; + return $this; + } + /** + * Gets the tpmVersion + * The security version number of the Boot Application + * + * @return string|null The tpmVersion + */ + public function getTpmVersion() + { + if (array_key_exists("tpmVersion", $this->_propDict)) { + return $this->_propDict["tpmVersion"]; + } else { + return null; + } + } + + /** + * Sets the tpmVersion + * The security version number of the Boot Application + * + * @param string $val The value of the tpmVersion + * + * @return DeviceHealthAttestationState + */ + public function setTpmVersion($val) + { + $this->_propDict["tpmVersion"] = $val; + return $this; + } + /** + * Gets the virtualSecureMode + * VSM is a container that protects high value assets from a compromised kernel + * + * @return string|null The virtualSecureMode + */ + public function getVirtualSecureMode() + { + if (array_key_exists("virtualSecureMode", $this->_propDict)) { + return $this->_propDict["virtualSecureMode"]; + } else { + return null; + } + } + + /** + * Sets the virtualSecureMode + * VSM is a container that protects high value assets from a compromised kernel + * + * @param string $val The value of the virtualSecureMode + * + * @return DeviceHealthAttestationState + */ + public function setVirtualSecureMode($val) + { + $this->_propDict["virtualSecureMode"] = $val; + return $this; + } + /** + * Gets the windowsPE + * Operating system running with limited services that is used to prepare a computer for Windows + * + * @return string|null The windowsPE + */ + public function getWindowsPE() + { + if (array_key_exists("windowsPE", $this->_propDict)) { + return $this->_propDict["windowsPE"]; + } else { + return null; + } + } + + /** + * Sets the windowsPE + * Operating system running with limited services that is used to prepare a computer for Windows + * + * @param string $val The value of the windowsPE + * + * @return DeviceHealthAttestationState + */ + public function setWindowsPE($val) + { + $this->_propDict["windowsPE"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php new file mode 100644 index 0000000..8293dbf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php @@ -0,0 +1,606 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The timestamp of when the device health script was created. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceHealthScript + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the device health script + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the device health script + * + * @param string $val The description + * + * @return DeviceHealthScript + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the detectionScriptContent + * The entire content of the detection powershell script + * + * @return \GuzzleHttp\Psr7\Stream|null The detectionScriptContent + */ + public function getDetectionScriptContent() + { + if (array_key_exists("detectionScriptContent", $this->_propDict)) { + if (is_a($this->_propDict["detectionScriptContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["detectionScriptContent"])) { + return $this->_propDict["detectionScriptContent"]; + } else { + $this->_propDict["detectionScriptContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["detectionScriptContent"]); + return $this->_propDict["detectionScriptContent"]; + } + } + return null; + } + + /** + * Sets the detectionScriptContent + * The entire content of the detection powershell script + * + * @param \GuzzleHttp\Psr7\Stream $val The detectionScriptContent + * + * @return DeviceHealthScript + */ + public function setDetectionScriptContent($val) + { + $this->_propDict["detectionScriptContent"] = $val; + return $this; + } + + + /** + * Gets the detectionScriptParameters + * List of ComplexType DetectionScriptParameters objects. + * + * @return array|null The detectionScriptParameters + */ + public function getDetectionScriptParameters() + { + if (array_key_exists("detectionScriptParameters", $this->_propDict)) { + return $this->_propDict["detectionScriptParameters"]; + } else { + return null; + } + } + + /** + * Sets the detectionScriptParameters + * List of ComplexType DetectionScriptParameters objects. + * + * @param DeviceHealthScriptParameter[] $val The detectionScriptParameters + * + * @return DeviceHealthScript + */ + public function setDetectionScriptParameters($val) + { + $this->_propDict["detectionScriptParameters"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the device health script + * + * @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 + * Name of the device health script + * + * @param string $val The displayName + * + * @return DeviceHealthScript + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enforceSignatureCheck + * Indicate whether the script signature needs be checked + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * Indicate whether the script signature needs be checked + * + * @param bool $val The enforceSignatureCheck + * + * @return DeviceHealthScript + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = boolval($val); + return $this; + } + + /** + * Gets the highestAvailableVersion + * Highest available version for a Microsoft Proprietary script + * + * @return string|null The highestAvailableVersion + */ + public function getHighestAvailableVersion() + { + if (array_key_exists("highestAvailableVersion", $this->_propDict)) { + return $this->_propDict["highestAvailableVersion"]; + } else { + return null; + } + } + + /** + * Sets the highestAvailableVersion + * Highest available version for a Microsoft Proprietary script + * + * @param string $val The highestAvailableVersion + * + * @return DeviceHealthScript + */ + public function setHighestAvailableVersion($val) + { + $this->_propDict["highestAvailableVersion"] = $val; + return $this; + } + + /** + * Gets the isGlobalScript + * Determines if this is Microsoft Proprietary Script. Proprietary scripts are read-only + * + * @return bool|null The isGlobalScript + */ + public function getIsGlobalScript() + { + if (array_key_exists("isGlobalScript", $this->_propDict)) { + return $this->_propDict["isGlobalScript"]; + } else { + return null; + } + } + + /** + * Sets the isGlobalScript + * Determines if this is Microsoft Proprietary Script. Proprietary scripts are read-only + * + * @param bool $val The isGlobalScript + * + * @return DeviceHealthScript + */ + public function setIsGlobalScript($val) + { + $this->_propDict["isGlobalScript"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The timestamp of when the device health script was modified. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The timestamp of when the device health script was modified. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceHealthScript + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the publisher + * Name of the device health script publisher + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Name of the device health script publisher + * + * @param string $val The publisher + * + * @return DeviceHealthScript + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the remediationScriptContent + * The entire content of the remediation powershell script + * + * @return \GuzzleHttp\Psr7\Stream|null The remediationScriptContent + */ + public function getRemediationScriptContent() + { + if (array_key_exists("remediationScriptContent", $this->_propDict)) { + if (is_a($this->_propDict["remediationScriptContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["remediationScriptContent"])) { + return $this->_propDict["remediationScriptContent"]; + } else { + $this->_propDict["remediationScriptContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["remediationScriptContent"]); + return $this->_propDict["remediationScriptContent"]; + } + } + return null; + } + + /** + * Sets the remediationScriptContent + * The entire content of the remediation powershell script + * + * @param \GuzzleHttp\Psr7\Stream $val The remediationScriptContent + * + * @return DeviceHealthScript + */ + public function setRemediationScriptContent($val) + { + $this->_propDict["remediationScriptContent"] = $val; + return $this; + } + + + /** + * Gets the remediationScriptParameters + * List of ComplexType RemediationScriptParameters objects. + * + * @return array|null The remediationScriptParameters + */ + public function getRemediationScriptParameters() + { + if (array_key_exists("remediationScriptParameters", $this->_propDict)) { + return $this->_propDict["remediationScriptParameters"]; + } else { + return null; + } + } + + /** + * Sets the remediationScriptParameters + * List of ComplexType RemediationScriptParameters objects. + * + * @param DeviceHealthScriptParameter[] $val The remediationScriptParameters + * + * @return DeviceHealthScript + */ + public function setRemediationScriptParameters($val) + { + $this->_propDict["remediationScriptParameters"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tag IDs for the device health script + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tag IDs for the device health script + * + * @param string $val The roleScopeTagIds + * + * @return DeviceHealthScript + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the runAs32Bit + * Indicate whether PowerShell script(s) should run as 32-bit + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * Indicate whether PowerShell script(s) should run as 32-bit + * + * @param bool $val The runAs32Bit + * + * @return DeviceHealthScript + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = boolval($val); + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @param RunAsAccountType $val The runAsAccount + * + * @return DeviceHealthScript + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device health script + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device health script + * + * @param string $val The version + * + * @return DeviceHealthScript + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device health script + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device health script + * + * @param DeviceHealthScriptAssignment[] $val The assignments + * + * @return DeviceHealthScript + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceRunStates + * List of run states for the device health script across all devices + * + * @return array|null The deviceRunStates + */ + public function getDeviceRunStates() + { + if (array_key_exists("deviceRunStates", $this->_propDict)) { + return $this->_propDict["deviceRunStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceRunStates + * List of run states for the device health script across all devices + * + * @param DeviceHealthScriptDeviceState[] $val The deviceRunStates + * + * @return DeviceHealthScript + */ + public function setDeviceRunStates($val) + { + $this->_propDict["deviceRunStates"] = $val; + return $this; + } + + /** + * Gets the runSummary + * High level run summary for device health script. + * + * @return DeviceHealthScriptRunSummary|null The runSummary + */ + public function getRunSummary() + { + if (array_key_exists("runSummary", $this->_propDict)) { + if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptRunSummary") || is_null($this->_propDict["runSummary"])) { + return $this->_propDict["runSummary"]; + } else { + $this->_propDict["runSummary"] = new DeviceHealthScriptRunSummary($this->_propDict["runSummary"]); + return $this->_propDict["runSummary"]; + } + } + return null; + } + + /** + * Sets the runSummary + * High level run summary for device health script. + * + * @param DeviceHealthScriptRunSummary $val The runSummary + * + * @return DeviceHealthScript + */ + public function setRunSummary($val) + { + $this->_propDict["runSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptAssignment.php new file mode 100644 index 0000000..eceb7ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptAssignment.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["runRemediationScript"]; + } else { + return null; + } + } + + /** + * Sets the runRemediationScript + * Determine whether we want to run detection script only or run both detection script and remediation script + * + * @param bool $val The runRemediationScript + * + * @return DeviceHealthScriptAssignment + */ + public function setRunRemediationScript($val) + { + $this->_propDict["runRemediationScript"] = boolval($val); + return $this; + } + + /** + * Gets the runSchedule + * Script run schedule for the target group + * + * @return DeviceHealthScriptRunSchedule|null The runSchedule + */ + public function getRunSchedule() + { + if (array_key_exists("runSchedule", $this->_propDict)) { + if (is_a($this->_propDict["runSchedule"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptRunSchedule") || is_null($this->_propDict["runSchedule"])) { + return $this->_propDict["runSchedule"]; + } else { + $this->_propDict["runSchedule"] = new DeviceHealthScriptRunSchedule($this->_propDict["runSchedule"]); + return $this->_propDict["runSchedule"]; + } + } + return null; + } + + /** + * Sets the runSchedule + * Script run schedule for the target group + * + * @param DeviceHealthScriptRunSchedule $val The runSchedule + * + * @return DeviceHealthScriptAssignment + */ + public function setRunSchedule($val) + { + $this->_propDict["runSchedule"] = $val; + return $this; + } + + /** + * Gets the target + * The Azure Active Directory group we are targeting the script to + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The Azure Active Directory group we are targeting the script to + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceHealthScriptAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptBooleanParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptBooleanParameter.php new file mode 100644 index 0000000..3a7fc5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptBooleanParameter.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceHealthScriptBooleanParameter"); + } + + /** + * Gets the defaultValue + * The default value of boolean param + * + * @return bool|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * The default value of boolean param + * + * @param bool $val The value of the defaultValue + * + * @return DeviceHealthScriptBooleanParameter + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptDailySchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptDailySchedule.php new file mode 100644 index 0000000..61e2a45 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptDailySchedule.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["assignmentFilterIds"]; + } else { + return null; + } + } + + /** + * Sets the assignmentFilterIds + * A list of the assignment filter ids used for health script applicability evaluation + * + * @param string $val The assignmentFilterIds + * + * @return DeviceHealthScriptDeviceState + */ + public function setAssignmentFilterIds($val) + { + $this->_propDict["assignmentFilterIds"] = $val; + return $this; + } + + /** + * Gets the detectionState + * Detection state from the lastest device health script execution. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @return RunState|null The detectionState + */ + public function getDetectionState() + { + if (array_key_exists("detectionState", $this->_propDict)) { + if (is_a($this->_propDict["detectionState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["detectionState"])) { + return $this->_propDict["detectionState"]; + } else { + $this->_propDict["detectionState"] = new RunState($this->_propDict["detectionState"]); + return $this->_propDict["detectionState"]; + } + } + return null; + } + + /** + * Sets the detectionState + * Detection state from the lastest device health script execution. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The detectionState + * + * @return DeviceHealthScriptDeviceState + */ + public function setDetectionState($val) + { + $this->_propDict["detectionState"] = $val; + return $this; + } + + /** + * Gets the expectedStateUpdateDateTime + * The next timestamp of when the device health script is expected to execute + * + * @return \DateTime|null The expectedStateUpdateDateTime + */ + public function getExpectedStateUpdateDateTime() + { + if (array_key_exists("expectedStateUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expectedStateUpdateDateTime"], "\DateTime") || is_null($this->_propDict["expectedStateUpdateDateTime"])) { + return $this->_propDict["expectedStateUpdateDateTime"]; + } else { + $this->_propDict["expectedStateUpdateDateTime"] = new \DateTime($this->_propDict["expectedStateUpdateDateTime"]); + return $this->_propDict["expectedStateUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the expectedStateUpdateDateTime + * The next timestamp of when the device health script is expected to execute + * + * @param \DateTime $val The expectedStateUpdateDateTime + * + * @return DeviceHealthScriptDeviceState + */ + public function setExpectedStateUpdateDateTime($val) + { + $this->_propDict["expectedStateUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the lastStateUpdateDateTime + * The last timestamp of when the device health script executed + * + * @return \DateTime|null The lastStateUpdateDateTime + */ + public function getLastStateUpdateDateTime() + { + if (array_key_exists("lastStateUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastStateUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastStateUpdateDateTime"])) { + return $this->_propDict["lastStateUpdateDateTime"]; + } else { + $this->_propDict["lastStateUpdateDateTime"] = new \DateTime($this->_propDict["lastStateUpdateDateTime"]); + return $this->_propDict["lastStateUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastStateUpdateDateTime + * The last timestamp of when the device health script executed + * + * @param \DateTime $val The lastStateUpdateDateTime + * + * @return DeviceHealthScriptDeviceState + */ + public function setLastStateUpdateDateTime($val) + { + $this->_propDict["lastStateUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The last time that Intune Managment Extension synced with Intune + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The last time that Intune Managment Extension synced with Intune + * + * @param \DateTime $val The lastSyncDateTime + * + * @return DeviceHealthScriptDeviceState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the postRemediationDetectionScriptError + * Error from the detection script after remediation + * + * @return string|null The postRemediationDetectionScriptError + */ + public function getPostRemediationDetectionScriptError() + { + if (array_key_exists("postRemediationDetectionScriptError", $this->_propDict)) { + return $this->_propDict["postRemediationDetectionScriptError"]; + } else { + return null; + } + } + + /** + * Sets the postRemediationDetectionScriptError + * Error from the detection script after remediation + * + * @param string $val The postRemediationDetectionScriptError + * + * @return DeviceHealthScriptDeviceState + */ + public function setPostRemediationDetectionScriptError($val) + { + $this->_propDict["postRemediationDetectionScriptError"] = $val; + return $this; + } + + /** + * Gets the postRemediationDetectionScriptOutput + * Detection script output after remediation + * + * @return string|null The postRemediationDetectionScriptOutput + */ + public function getPostRemediationDetectionScriptOutput() + { + if (array_key_exists("postRemediationDetectionScriptOutput", $this->_propDict)) { + return $this->_propDict["postRemediationDetectionScriptOutput"]; + } else { + return null; + } + } + + /** + * Sets the postRemediationDetectionScriptOutput + * Detection script output after remediation + * + * @param string $val The postRemediationDetectionScriptOutput + * + * @return DeviceHealthScriptDeviceState + */ + public function setPostRemediationDetectionScriptOutput($val) + { + $this->_propDict["postRemediationDetectionScriptOutput"] = $val; + return $this; + } + + /** + * Gets the preRemediationDetectionScriptError + * Error from the detection script before remediation + * + * @return string|null The preRemediationDetectionScriptError + */ + public function getPreRemediationDetectionScriptError() + { + if (array_key_exists("preRemediationDetectionScriptError", $this->_propDict)) { + return $this->_propDict["preRemediationDetectionScriptError"]; + } else { + return null; + } + } + + /** + * Sets the preRemediationDetectionScriptError + * Error from the detection script before remediation + * + * @param string $val The preRemediationDetectionScriptError + * + * @return DeviceHealthScriptDeviceState + */ + public function setPreRemediationDetectionScriptError($val) + { + $this->_propDict["preRemediationDetectionScriptError"] = $val; + return $this; + } + + /** + * Gets the preRemediationDetectionScriptOutput + * Output of the detection script before remediation + * + * @return string|null The preRemediationDetectionScriptOutput + */ + public function getPreRemediationDetectionScriptOutput() + { + if (array_key_exists("preRemediationDetectionScriptOutput", $this->_propDict)) { + return $this->_propDict["preRemediationDetectionScriptOutput"]; + } else { + return null; + } + } + + /** + * Sets the preRemediationDetectionScriptOutput + * Output of the detection script before remediation + * + * @param string $val The preRemediationDetectionScriptOutput + * + * @return DeviceHealthScriptDeviceState + */ + public function setPreRemediationDetectionScriptOutput($val) + { + $this->_propDict["preRemediationDetectionScriptOutput"] = $val; + return $this; + } + + /** + * Gets the remediationScriptError + * Error output of the remediation script + * + * @return string|null The remediationScriptError + */ + public function getRemediationScriptError() + { + if (array_key_exists("remediationScriptError", $this->_propDict)) { + return $this->_propDict["remediationScriptError"]; + } else { + return null; + } + } + + /** + * Sets the remediationScriptError + * Error output of the remediation script + * + * @param string $val The remediationScriptError + * + * @return DeviceHealthScriptDeviceState + */ + public function setRemediationScriptError($val) + { + $this->_propDict["remediationScriptError"] = $val; + return $this; + } + + /** + * Gets the remediationState + * Remediation state from the lastest device health script execution. Possible values are: unknown, skipped, success, remediationFailed, scriptError. + * + * @return RemediationState|null The remediationState + */ + public function getRemediationState() + { + if (array_key_exists("remediationState", $this->_propDict)) { + if (is_a($this->_propDict["remediationState"], "\Beta\Microsoft\Graph\Model\RemediationState") || is_null($this->_propDict["remediationState"])) { + return $this->_propDict["remediationState"]; + } else { + $this->_propDict["remediationState"] = new RemediationState($this->_propDict["remediationState"]); + return $this->_propDict["remediationState"]; + } + } + return null; + } + + /** + * Sets the remediationState + * Remediation state from the lastest device health script execution. Possible values are: unknown, skipped, success, remediationFailed, scriptError. + * + * @param RemediationState $val The remediationState + * + * @return DeviceHealthScriptDeviceState + */ + public function setRemediationState($val) + { + $this->_propDict["remediationState"] = $val; + return $this; + } + + /** + * Gets the managedDevice + * The managed device on which the device health script executed + * + * @return ManagedDevice|null The managedDevice + */ + public function getManagedDevice() + { + if (array_key_exists("managedDevice", $this->_propDict)) { + if (is_a($this->_propDict["managedDevice"], "\Beta\Microsoft\Graph\Model\ManagedDevice") || is_null($this->_propDict["managedDevice"])) { + return $this->_propDict["managedDevice"]; + } else { + $this->_propDict["managedDevice"] = new ManagedDevice($this->_propDict["managedDevice"]); + return $this->_propDict["managedDevice"]; + } + } + return null; + } + + /** + * Sets the managedDevice + * The managed device on which the device health script executed + * + * @param ManagedDevice $val The managedDevice + * + * @return DeviceHealthScriptDeviceState + */ + public function setManagedDevice($val) + { + $this->_propDict["managedDevice"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptHourlySchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptHourlySchedule.php new file mode 100644 index 0000000..322030d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptHourlySchedule.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deviceHealthScriptHourlySchedule"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptIntegerParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptIntegerParameter.php new file mode 100644 index 0000000..cece3c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptIntegerParameter.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceHealthScriptIntegerParameter"); + } + + /** + * Gets the defaultValue + * The default value of Integer param. Valid values -2147483648 to 2147483647 + * + * @return int|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * The default value of Integer param. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the defaultValue + * + * @return DeviceHealthScriptIntegerParameter + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptParameter.php new file mode 100644 index 0000000..f2d23ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptParameter.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["applyDefaultValueWhenNotAssigned"]; + } else { + return null; + } + } + + /** + * Sets the applyDefaultValueWhenNotAssigned + * Whether Apply DefaultValue When Not Assigned + * + * @param bool $val The value of the applyDefaultValueWhenNotAssigned + * + * @return DeviceHealthScriptParameter + */ + public function setApplyDefaultValueWhenNotAssigned($val) + { + $this->_propDict["applyDefaultValueWhenNotAssigned"] = $val; + return $this; + } + /** + * Gets the description + * The description of the param + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the param + * + * @param string $val The value of the description + * + * @return DeviceHealthScriptParameter + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the isRequired + * Whether the param is required + * + * @return bool|null The isRequired + */ + public function getIsRequired() + { + if (array_key_exists("isRequired", $this->_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Whether the param is required + * + * @param bool $val The value of the isRequired + * + * @return DeviceHealthScriptParameter + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the name + * The name of the param + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the param + * + * @param string $val The value of the name + * + * @return DeviceHealthScriptParameter + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistory.php new file mode 100644 index 0000000..1ea4379 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistory.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["historyData"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptRemediationHistoryData") || is_null($this->_propDict["historyData"])) { + return $this->_propDict["historyData"]; + } else { + $this->_propDict["historyData"] = new DeviceHealthScriptRemediationHistoryData($this->_propDict["historyData"]); + return $this->_propDict["historyData"]; + } + } + return null; + } + + /** + * Sets the historyData + * The number of devices remediated by the device health script on the given date. + * + * @param DeviceHealthScriptRemediationHistoryData $val The value to assign to the historyData + * + * @return DeviceHealthScriptRemediationHistory The DeviceHealthScriptRemediationHistory + */ + public function setHistoryData($val) + { + $this->_propDict["historyData"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date on which the results history is calculated for the healthscript. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date on which the results history is calculated for the healthscript. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return DeviceHealthScriptRemediationHistory The DeviceHealthScriptRemediationHistory + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php new file mode 100644 index 0000000..6db1eab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["date"], "\DateTime") || is_null($this->_propDict["date"])) { + return $this->_propDict["date"]; + } else { + $this->_propDict["date"] = new \DateTime($this->_propDict["date"]); + return $this->_propDict["date"]; + } + } + return null; + } + + /** + * Sets the date + * The date on which devices were remediated by the device health script. + * + * @param \DateTime $val The value to assign to the date + * + * @return DeviceHealthScriptRemediationHistoryData The DeviceHealthScriptRemediationHistoryData + */ + public function setDate($val) + { + $this->_propDict["date"] = $val; + return $this; + } + /** + * Gets the noIssueDeviceCount + * The number of devices that were found to have no issue by the device health script. + * + * @return int|null The noIssueDeviceCount + */ + public function getNoIssueDeviceCount() + { + if (array_key_exists("noIssueDeviceCount", $this->_propDict)) { + return $this->_propDict["noIssueDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the noIssueDeviceCount + * The number of devices that were found to have no issue by the device health script. + * + * @param int $val The value of the noIssueDeviceCount + * + * @return DeviceHealthScriptRemediationHistoryData + */ + public function setNoIssueDeviceCount($val) + { + $this->_propDict["noIssueDeviceCount"] = $val; + return $this; + } + /** + * Gets the remediatedDeviceCount + * The number of devices remediated by the device health script. + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * The number of devices remediated by the device health script. + * + * @param int $val The value of the remediatedDeviceCount + * + * @return DeviceHealthScriptRemediationHistoryData + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationSummary.php new file mode 100644 index 0000000..d33e778 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationSummary.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * The number of devices remediated by device health scripts. + * + * @param int $val The value of the remediatedDeviceCount + * + * @return DeviceHealthScriptRemediationSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = $val; + return $this; + } + /** + * Gets the scriptCount + * The number of device health scripts deployed. + * + * @return int|null The scriptCount + */ + public function getScriptCount() + { + if (array_key_exists("scriptCount", $this->_propDict)) { + return $this->_propDict["scriptCount"]; + } else { + return null; + } + } + + /** + * Sets the scriptCount + * The number of device health scripts deployed. + * + * @param int $val The value of the scriptCount + * + * @return DeviceHealthScriptRemediationSummary + */ + public function setScriptCount($val) + { + $this->_propDict["scriptCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunOnceSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunOnceSchedule.php new file mode 100644 index 0000000..a1fb7ec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunOnceSchedule.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["date"], "\DateTime") || is_null($this->_propDict["date"])) { + return $this->_propDict["date"]; + } else { + $this->_propDict["date"] = new \DateTime($this->_propDict["date"]); + return $this->_propDict["date"]; + } + } + return null; + } + + /** + * Sets the date + * The date the script is scheduled to run. This collection can contain a maximum of 20 elements. + * + * @param \DateTime $val The value to assign to the date + * + * @return DeviceHealthScriptRunOnceSchedule The DeviceHealthScriptRunOnceSchedule + */ + public function setDate($val) + { + $this->_propDict["date"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSchedule.php new file mode 100644 index 0000000..5cc8ff1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSchedule.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["interval"]; + } else { + return null; + } + } + + /** + * Sets the interval + * The x value of every x hours for hourly schedule, every x days for Daily Schedule, every x weeks for weekly schedule, every x months for Monthly Schedule. Valid values 1 to 23 + * + * @param int $val The value of the interval + * + * @return DeviceHealthScriptRunSchedule + */ + public function setInterval($val) + { + $this->_propDict["interval"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSummary.php new file mode 100644 index 0000000..a7b7ab9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSummary.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["detectionScriptErrorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionScriptErrorDeviceCount + * Number of devices on which the detection script execution encountered an error and did not complete + * + * @param int $val The detectionScriptErrorDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setDetectionScriptErrorDeviceCount($val) + { + $this->_propDict["detectionScriptErrorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the detectionScriptNotApplicableDeviceCount + * Number of devices for which the detection script was not applicable + * + * @return int|null The detectionScriptNotApplicableDeviceCount + */ + public function getDetectionScriptNotApplicableDeviceCount() + { + if (array_key_exists("detectionScriptNotApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["detectionScriptNotApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionScriptNotApplicableDeviceCount + * Number of devices for which the detection script was not applicable + * + * @param int $val The detectionScriptNotApplicableDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setDetectionScriptNotApplicableDeviceCount($val) + { + $this->_propDict["detectionScriptNotApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the detectionScriptPendingDeviceCount + * Number of devices which have not yet run the latest version of the device health script + * + * @return int|null The detectionScriptPendingDeviceCount + */ + public function getDetectionScriptPendingDeviceCount() + { + if (array_key_exists("detectionScriptPendingDeviceCount", $this->_propDict)) { + return $this->_propDict["detectionScriptPendingDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionScriptPendingDeviceCount + * Number of devices which have not yet run the latest version of the device health script + * + * @param int $val The detectionScriptPendingDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setDetectionScriptPendingDeviceCount($val) + { + $this->_propDict["detectionScriptPendingDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the issueDetectedDeviceCount + * Number of devices for which the detection script found an issue + * + * @return int|null The issueDetectedDeviceCount + */ + public function getIssueDetectedDeviceCount() + { + if (array_key_exists("issueDetectedDeviceCount", $this->_propDict)) { + return $this->_propDict["issueDetectedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the issueDetectedDeviceCount + * Number of devices for which the detection script found an issue + * + * @param int $val The issueDetectedDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setIssueDetectedDeviceCount($val) + { + $this->_propDict["issueDetectedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the issueRemediatedCumulativeDeviceCount + * Number of devices that were remediated over the last 30 days + * + * @return int|null The issueRemediatedCumulativeDeviceCount + */ + public function getIssueRemediatedCumulativeDeviceCount() + { + if (array_key_exists("issueRemediatedCumulativeDeviceCount", $this->_propDict)) { + return $this->_propDict["issueRemediatedCumulativeDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the issueRemediatedCumulativeDeviceCount + * Number of devices that were remediated over the last 30 days + * + * @param int $val The issueRemediatedCumulativeDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setIssueRemediatedCumulativeDeviceCount($val) + { + $this->_propDict["issueRemediatedCumulativeDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the issueRemediatedDeviceCount + * Number of devices for which the remediation script was able to resolve the detected issue + * + * @return int|null The issueRemediatedDeviceCount + */ + public function getIssueRemediatedDeviceCount() + { + if (array_key_exists("issueRemediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["issueRemediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the issueRemediatedDeviceCount + * Number of devices for which the remediation script was able to resolve the detected issue + * + * @param int $val The issueRemediatedDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setIssueRemediatedDeviceCount($val) + { + $this->_propDict["issueRemediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the issueReoccurredDeviceCount + * Number of devices for which the remediation script executed successfully but failed to resolve the detected issue + * + * @return int|null The issueReoccurredDeviceCount + */ + public function getIssueReoccurredDeviceCount() + { + if (array_key_exists("issueReoccurredDeviceCount", $this->_propDict)) { + return $this->_propDict["issueReoccurredDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the issueReoccurredDeviceCount + * Number of devices for which the remediation script executed successfully but failed to resolve the detected issue + * + * @param int $val The issueReoccurredDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setIssueReoccurredDeviceCount($val) + { + $this->_propDict["issueReoccurredDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the lastScriptRunDateTime + * Last run time for the script across all devices + * + * @return \DateTime|null The lastScriptRunDateTime + */ + public function getLastScriptRunDateTime() + { + if (array_key_exists("lastScriptRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastScriptRunDateTime"], "\DateTime") || is_null($this->_propDict["lastScriptRunDateTime"])) { + return $this->_propDict["lastScriptRunDateTime"]; + } else { + $this->_propDict["lastScriptRunDateTime"] = new \DateTime($this->_propDict["lastScriptRunDateTime"]); + return $this->_propDict["lastScriptRunDateTime"]; + } + } + return null; + } + + /** + * Sets the lastScriptRunDateTime + * Last run time for the script across all devices + * + * @param \DateTime $val The lastScriptRunDateTime + * + * @return DeviceHealthScriptRunSummary + */ + public function setLastScriptRunDateTime($val) + { + $this->_propDict["lastScriptRunDateTime"] = $val; + return $this; + } + + /** + * Gets the noIssueDetectedDeviceCount + * Number of devices for which the detection script did not find an issue and the device is healthy + * + * @return int|null The noIssueDetectedDeviceCount + */ + public function getNoIssueDetectedDeviceCount() + { + if (array_key_exists("noIssueDetectedDeviceCount", $this->_propDict)) { + return $this->_propDict["noIssueDetectedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the noIssueDetectedDeviceCount + * Number of devices for which the detection script did not find an issue and the device is healthy + * + * @param int $val The noIssueDetectedDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setNoIssueDetectedDeviceCount($val) + { + $this->_propDict["noIssueDetectedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediationScriptErrorDeviceCount + * Number of devices for which the remediation script execution encountered an error and did not complete + * + * @return int|null The remediationScriptErrorDeviceCount + */ + public function getRemediationScriptErrorDeviceCount() + { + if (array_key_exists("remediationScriptErrorDeviceCount", $this->_propDict)) { + return $this->_propDict["remediationScriptErrorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediationScriptErrorDeviceCount + * Number of devices for which the remediation script execution encountered an error and did not complete + * + * @param int $val The remediationScriptErrorDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setRemediationScriptErrorDeviceCount($val) + { + $this->_propDict["remediationScriptErrorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediationSkippedDeviceCount + * Number of devices for which remediation was skipped + * + * @return int|null The remediationSkippedDeviceCount + */ + public function getRemediationSkippedDeviceCount() + { + if (array_key_exists("remediationSkippedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediationSkippedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediationSkippedDeviceCount + * Number of devices for which remediation was skipped + * + * @param int $val The remediationSkippedDeviceCount + * + * @return DeviceHealthScriptRunSummary + */ + public function setRemediationSkippedDeviceCount($val) + { + $this->_propDict["remediationSkippedDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptStringParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptStringParameter.php new file mode 100644 index 0000000..1a196f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptStringParameter.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceHealthScriptStringParameter"); + } + + /** + * Gets the defaultValue + * The default value of string param + * + * @return string|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * The default value of string param + * + * @param string $val The value of the defaultValue + * + * @return DeviceHealthScriptStringParameter + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptTimeSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptTimeSchedule.php new file mode 100644 index 0000000..4db92e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptTimeSchedule.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["time"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["time"])) { + return $this->_propDict["time"]; + } else { + $this->_propDict["time"] = new TimeOfDay($this->_propDict["time"]); + return $this->_propDict["time"]; + } + } + return null; + } + + /** + * Sets the time + * At what time the script is scheduled to run. This collection can contain a maximum of 20 elements. + * + * @param TimeOfDay $val The value to assign to the time + * + * @return DeviceHealthScriptTimeSchedule The DeviceHealthScriptTimeSchedule + */ + public function setTime($val) + { + $this->_propDict["time"] = $val; + return $this; + } + /** + * Gets the useUtc + * Indicate if the time is Utc or client local time. + * + * @return bool|null The useUtc + */ + public function getUseUtc() + { + if (array_key_exists("useUtc", $this->_propDict)) { + return $this->_propDict["useUtc"]; + } else { + return null; + } + } + + /** + * Sets the useUtc + * Indicate if the time is Utc or client local time. + * + * @param bool $val The value of the useUtc + * + * @return DeviceHealthScriptTimeSchedule + */ + public function setUseUtc($val) + { + $this->_propDict["useUtc"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceInstallState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceInstallState.php new file mode 100644 index 0000000..62a032d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceInstallState.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * Device Id. + * + * @param string $val The deviceId + * + * @return DeviceInstallState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name. + * + * @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 + * Device name. + * + * @param string $val The deviceName + * + * @return DeviceInstallState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the errorCode + * The error code for install failures. + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code for install failures. + * + * @param string $val The errorCode + * + * @return DeviceInstallState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the installState + * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. + * + * @return InstallState|null The installState + */ + public function getInstallState() + { + if (array_key_exists("installState", $this->_propDict)) { + if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\InstallState") || is_null($this->_propDict["installState"])) { + return $this->_propDict["installState"]; + } else { + $this->_propDict["installState"] = new InstallState($this->_propDict["installState"]); + return $this->_propDict["installState"]; + } + } + return null; + } + + /** + * Sets the installState + * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. + * + * @param InstallState $val The installState + * + * @return DeviceInstallState + */ + public function setInstallState($val) + { + $this->_propDict["installState"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last sync date and time. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last sync date and time. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return DeviceInstallState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the osDescription + * OS Description. + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * OS Description. + * + * @param string $val The osDescription + * + * @return DeviceInstallState + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * OS Version. + * + * @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 + * OS Version. + * + * @param string $val The osVersion + * + * @return DeviceInstallState + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the userName + * Device User Name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * Device User Name. + * + * @param string $val The userName + * + * @return DeviceInstallState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceKey.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceKey.php new file mode 100644 index 0000000..eae8464 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceKey.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * + * @param string $val The value of the deviceId + * + * @return DeviceKey + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the keyMaterial + * + * @return \GuzzleHttp\Psr7\Stream|null The keyMaterial + */ + public function getKeyMaterial() + { + if (array_key_exists("keyMaterial", $this->_propDict)) { + if (is_a($this->_propDict["keyMaterial"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["keyMaterial"])) { + return $this->_propDict["keyMaterial"]; + } else { + $this->_propDict["keyMaterial"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["keyMaterial"]); + return $this->_propDict["keyMaterial"]; + } + } + return null; + } + + /** + * Sets the keyMaterial + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the keyMaterial + * + * @return DeviceKey The DeviceKey + */ + public function setKeyMaterial($val) + { + $this->_propDict["keyMaterial"] = $val; + return $this; + } + /** + * Gets the keyType + * + * @return string|null The keyType + */ + public function getKeyType() + { + if (array_key_exists("keyType", $this->_propDict)) { + return $this->_propDict["keyType"]; + } else { + return null; + } + } + + /** + * Sets the keyType + * + * @param string $val The value of the keyType + * + * @return DeviceKey + */ + public function setKeyType($val) + { + $this->_propDict["keyType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionRequest.php new file mode 100644 index 0000000..adfd4c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionRequest.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The unique identifier + * + * @param string $val The value of the id + * + * @return DeviceLogCollectionRequest + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the templateType + * The template type that is sent with the collection request. Possible values are: predefined. + * + * @return DeviceLogCollectionTemplateType|null The templateType + */ + public function getTemplateType() + { + if (array_key_exists("templateType", $this->_propDict)) { + if (is_a($this->_propDict["templateType"], "\Beta\Microsoft\Graph\Model\DeviceLogCollectionTemplateType") || is_null($this->_propDict["templateType"])) { + return $this->_propDict["templateType"]; + } else { + $this->_propDict["templateType"] = new DeviceLogCollectionTemplateType($this->_propDict["templateType"]); + return $this->_propDict["templateType"]; + } + } + return null; + } + + /** + * Sets the templateType + * The template type that is sent with the collection request. Possible values are: predefined. + * + * @param DeviceLogCollectionTemplateType $val The value to assign to the templateType + * + * @return DeviceLogCollectionRequest The DeviceLogCollectionRequest + */ + public function setTemplateType($val) + { + $this->_propDict["templateType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionResponse.php new file mode 100644 index 0000000..95e088c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionResponse.php @@ -0,0 +1,271 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code, if any. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 + * + * @param int $val The errorCode + * + * @return DeviceLogCollectionResponse + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = intval($val); + return $this; + } + + /** + * Gets the expirationDateTimeUTC + * The DateTime of the expiration of the logs + * + * @return \DateTime|null The expirationDateTimeUTC + */ + public function getExpirationDateTimeUTC() + { + if (array_key_exists("expirationDateTimeUTC", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTimeUTC"], "\DateTime") || is_null($this->_propDict["expirationDateTimeUTC"])) { + return $this->_propDict["expirationDateTimeUTC"]; + } else { + $this->_propDict["expirationDateTimeUTC"] = new \DateTime($this->_propDict["expirationDateTimeUTC"]); + return $this->_propDict["expirationDateTimeUTC"]; + } + } + return null; + } + + /** + * Sets the expirationDateTimeUTC + * The DateTime of the expiration of the logs + * + * @param \DateTime $val The expirationDateTimeUTC + * + * @return DeviceLogCollectionResponse + */ + public function setExpirationDateTimeUTC($val) + { + $this->_propDict["expirationDateTimeUTC"] = $val; + return $this; + } + + /** + * Gets the initiatedByUserPrincipalName + * The UPN for who initiated the request + * + * @return string|null The initiatedByUserPrincipalName + */ + public function getInitiatedByUserPrincipalName() + { + if (array_key_exists("initiatedByUserPrincipalName", $this->_propDict)) { + return $this->_propDict["initiatedByUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the initiatedByUserPrincipalName + * The UPN for who initiated the request + * + * @param string $val The initiatedByUserPrincipalName + * + * @return DeviceLogCollectionResponse + */ + public function setInitiatedByUserPrincipalName($val) + { + $this->_propDict["initiatedByUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The device Id + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The device Id + * + * @param string $val The managedDeviceId + * + * @return DeviceLogCollectionResponse + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the receivedDateTimeUTC + * The DateTime the request was received + * + * @return \DateTime|null The receivedDateTimeUTC + */ + public function getReceivedDateTimeUTC() + { + if (array_key_exists("receivedDateTimeUTC", $this->_propDict)) { + if (is_a($this->_propDict["receivedDateTimeUTC"], "\DateTime") || is_null($this->_propDict["receivedDateTimeUTC"])) { + return $this->_propDict["receivedDateTimeUTC"]; + } else { + $this->_propDict["receivedDateTimeUTC"] = new \DateTime($this->_propDict["receivedDateTimeUTC"]); + return $this->_propDict["receivedDateTimeUTC"]; + } + } + return null; + } + + /** + * Sets the receivedDateTimeUTC + * The DateTime the request was received + * + * @param \DateTime $val The receivedDateTimeUTC + * + * @return DeviceLogCollectionResponse + */ + public function setReceivedDateTimeUTC($val) + { + $this->_propDict["receivedDateTimeUTC"] = $val; + return $this; + } + + /** + * Gets the requestedDateTimeUTC + * The DateTime of the request + * + * @return \DateTime|null The requestedDateTimeUTC + */ + public function getRequestedDateTimeUTC() + { + if (array_key_exists("requestedDateTimeUTC", $this->_propDict)) { + if (is_a($this->_propDict["requestedDateTimeUTC"], "\DateTime") || is_null($this->_propDict["requestedDateTimeUTC"])) { + return $this->_propDict["requestedDateTimeUTC"]; + } else { + $this->_propDict["requestedDateTimeUTC"] = new \DateTime($this->_propDict["requestedDateTimeUTC"]); + return $this->_propDict["requestedDateTimeUTC"]; + } + } + return null; + } + + /** + * Sets the requestedDateTimeUTC + * The DateTime of the request + * + * @param \DateTime $val The requestedDateTimeUTC + * + * @return DeviceLogCollectionResponse + */ + public function setRequestedDateTimeUTC($val) + { + $this->_propDict["requestedDateTimeUTC"] = $val; + return $this; + } + + /** + * Gets the size + * The size of the logs. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The size of the logs. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The size + * + * @return DeviceLogCollectionResponse + */ + public function setSize($val) + { + $this->_propDict["size"] = floatval($val); + return $this; + } + + /** + * Gets the status + * The status of the log collection request + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of the log collection request + * + * @param string $val The status + * + * @return DeviceLogCollectionResponse + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionTemplateType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionTemplateType.php new file mode 100644 index 0000000..277610d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionTemplateType.php @@ -0,0 +1,33 @@ +_propDict)) { + if (is_a($this->_propDict["deviceComplianceReportSummarizationDateTime"], "\DateTime") || is_null($this->_propDict["deviceComplianceReportSummarizationDateTime"])) { + return $this->_propDict["deviceComplianceReportSummarizationDateTime"]; + } else { + $this->_propDict["deviceComplianceReportSummarizationDateTime"] = new \DateTime($this->_propDict["deviceComplianceReportSummarizationDateTime"]); + return $this->_propDict["deviceComplianceReportSummarizationDateTime"]; + } + } + return null; + } + + /** + * Sets the deviceComplianceReportSummarizationDateTime + * The last requested time of device compliance reporting for this account. This property is read-only. + * + * @param \DateTime $val The deviceComplianceReportSummarizationDateTime + * + * @return DeviceManagement + */ + public function setDeviceComplianceReportSummarizationDateTime($val) + { + $this->_propDict["deviceComplianceReportSummarizationDateTime"] = $val; + return $this; + } + + /** + * Gets the intuneAccountId + * Intune Account ID for given tenant + * + * @return string|null The intuneAccountId + */ + public function getIntuneAccountId() + { + if (array_key_exists("intuneAccountId", $this->_propDict)) { + return $this->_propDict["intuneAccountId"]; + } else { + return null; + } + } + + /** + * Sets the intuneAccountId + * Intune Account ID for given tenant + * + * @param string $val The intuneAccountId + * + * @return DeviceManagement + */ + public function setIntuneAccountId($val) + { + $this->_propDict["intuneAccountId"] = $val; + return $this; + } + + /** + * Gets the lastReportAggregationDateTime + * The last modified time of reporting for this account. This property is read-only. + * + * @return \DateTime|null The lastReportAggregationDateTime + */ + public function getLastReportAggregationDateTime() + { + if (array_key_exists("lastReportAggregationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportAggregationDateTime"], "\DateTime") || is_null($this->_propDict["lastReportAggregationDateTime"])) { + return $this->_propDict["lastReportAggregationDateTime"]; + } else { + $this->_propDict["lastReportAggregationDateTime"] = new \DateTime($this->_propDict["lastReportAggregationDateTime"]); + return $this->_propDict["lastReportAggregationDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportAggregationDateTime + * The last modified time of reporting for this account. This property is read-only. + * + * @param \DateTime $val The lastReportAggregationDateTime + * + * @return DeviceManagement + */ + public function setLastReportAggregationDateTime($val) + { + $this->_propDict["lastReportAggregationDateTime"] = $val; + return $this; + } + + /** + * Gets the legacyPcManangementEnabled + * The property to enable Non-MDM managed legacy PC management for this account. This property is read-only. + * + * @return bool|null The legacyPcManangementEnabled + */ + public function getLegacyPcManangementEnabled() + { + if (array_key_exists("legacyPcManangementEnabled", $this->_propDict)) { + return $this->_propDict["legacyPcManangementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the legacyPcManangementEnabled + * The property to enable Non-MDM managed legacy PC management for this account. This property is read-only. + * + * @param bool $val The legacyPcManangementEnabled + * + * @return DeviceManagement + */ + public function setLegacyPcManangementEnabled($val) + { + $this->_propDict["legacyPcManangementEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the maximumDepTokens + * Maximum number of DEP tokens allowed per-tenant. + * + * @return int|null The maximumDepTokens + */ + public function getMaximumDepTokens() + { + if (array_key_exists("maximumDepTokens", $this->_propDict)) { + return $this->_propDict["maximumDepTokens"]; + } else { + return null; + } + } + + /** + * Sets the maximumDepTokens + * Maximum number of DEP tokens allowed per-tenant. + * + * @param int $val The maximumDepTokens + * + * @return DeviceManagement + */ + public function setMaximumDepTokens($val) + { + $this->_propDict["maximumDepTokens"] = intval($val); + return $this; + } + + /** + * Gets the settings + * Account level settings. + * + * @return DeviceManagementSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\DeviceManagementSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new DeviceManagementSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Account level settings. + * + * @param DeviceManagementSettings $val The settings + * + * @return DeviceManagement + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the unlicensedAdminstratorsEnabled + * When enabled, users assigned as administrators via Role Assignment Memberships do not require an assigned Intune license. Prior to this, only Intune licensed users were granted permissions with an Intune role unless they were assigned a role via Azure Active Directory. You are limited to 350 unlicensed direct members for each AAD security group in a role assignment, but you can assign multiple AAD security groups to a role if you need to support more than 350 unlicensed administrators. Licensed administrators are unaffected, do not have to be direct members, nor does the 350 member limit apply. This property is read-only. + * + * @return bool|null The unlicensedAdminstratorsEnabled + */ + public function getUnlicensedAdminstratorsEnabled() + { + if (array_key_exists("unlicensedAdminstratorsEnabled", $this->_propDict)) { + return $this->_propDict["unlicensedAdminstratorsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the unlicensedAdminstratorsEnabled + * When enabled, users assigned as administrators via Role Assignment Memberships do not require an assigned Intune license. Prior to this, only Intune licensed users were granted permissions with an Intune role unless they were assigned a role via Azure Active Directory. You are limited to 350 unlicensed direct members for each AAD security group in a role assignment, but you can assign multiple AAD security groups to a role if you need to support more than 350 unlicensed administrators. Licensed administrators are unaffected, do not have to be direct members, nor does the 350 member limit apply. This property is read-only. + * + * @param bool $val The unlicensedAdminstratorsEnabled + * + * @return DeviceManagement + */ + public function setUnlicensedAdminstratorsEnabled($val) + { + $this->_propDict["unlicensedAdminstratorsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the intuneBrand + * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. + * + * @return IntuneBrand|null The intuneBrand + */ + public function getIntuneBrand() + { + if (array_key_exists("intuneBrand", $this->_propDict)) { + if (is_a($this->_propDict["intuneBrand"], "\Beta\Microsoft\Graph\Model\IntuneBrand") || is_null($this->_propDict["intuneBrand"])) { + return $this->_propDict["intuneBrand"]; + } else { + $this->_propDict["intuneBrand"] = new IntuneBrand($this->_propDict["intuneBrand"]); + return $this->_propDict["intuneBrand"]; + } + } + return null; + } + + /** + * Sets the intuneBrand + * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. + * + * @param IntuneBrand $val The intuneBrand + * + * @return DeviceManagement + */ + public function setIntuneBrand($val) + { + $this->_propDict["intuneBrand"] = $val; + return $this; + } + + /** + * Gets the accountMoveCompletionDateTime + * The date & time when tenant data moved between scaleunits. + * + * @return \DateTime|null The accountMoveCompletionDateTime + */ + public function getAccountMoveCompletionDateTime() + { + if (array_key_exists("accountMoveCompletionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["accountMoveCompletionDateTime"], "\DateTime") || is_null($this->_propDict["accountMoveCompletionDateTime"])) { + return $this->_propDict["accountMoveCompletionDateTime"]; + } else { + $this->_propDict["accountMoveCompletionDateTime"] = new \DateTime($this->_propDict["accountMoveCompletionDateTime"]); + return $this->_propDict["accountMoveCompletionDateTime"]; + } + } + return null; + } + + /** + * Sets the accountMoveCompletionDateTime + * The date & time when tenant data moved between scaleunits. + * + * @param \DateTime $val The accountMoveCompletionDateTime + * + * @return DeviceManagement + */ + public function setAccountMoveCompletionDateTime($val) + { + $this->_propDict["accountMoveCompletionDateTime"] = $val; + return $this; + } + + /** + * Gets the adminConsent + * Admin consent information. + * + * @return AdminConsent|null The adminConsent + */ + public function getAdminConsent() + { + if (array_key_exists("adminConsent", $this->_propDict)) { + if (is_a($this->_propDict["adminConsent"], "\Beta\Microsoft\Graph\Model\AdminConsent") || is_null($this->_propDict["adminConsent"])) { + return $this->_propDict["adminConsent"]; + } else { + $this->_propDict["adminConsent"] = new AdminConsent($this->_propDict["adminConsent"]); + return $this->_propDict["adminConsent"]; + } + } + return null; + } + + /** + * Sets the adminConsent + * Admin consent information. + * + * @param AdminConsent $val The adminConsent + * + * @return DeviceManagement + */ + public function setAdminConsent($val) + { + $this->_propDict["adminConsent"] = $val; + return $this; + } + + /** + * Gets the deviceProtectionOverview + * Device protection overview. + * + * @return DeviceProtectionOverview|null The deviceProtectionOverview + */ + public function getDeviceProtectionOverview() + { + if (array_key_exists("deviceProtectionOverview", $this->_propDict)) { + if (is_a($this->_propDict["deviceProtectionOverview"], "\Beta\Microsoft\Graph\Model\DeviceProtectionOverview") || is_null($this->_propDict["deviceProtectionOverview"])) { + return $this->_propDict["deviceProtectionOverview"]; + } else { + $this->_propDict["deviceProtectionOverview"] = new DeviceProtectionOverview($this->_propDict["deviceProtectionOverview"]); + return $this->_propDict["deviceProtectionOverview"]; + } + } + return null; + } + + /** + * Sets the deviceProtectionOverview + * Device protection overview. + * + * @param DeviceProtectionOverview $val The deviceProtectionOverview + * + * @return DeviceManagement + */ + public function setDeviceProtectionOverview($val) + { + $this->_propDict["deviceProtectionOverview"] = $val; + return $this; + } + + /** + * Gets the managedDeviceCleanupSettings + * Device cleanup rule + * + * @return ManagedDeviceCleanupSettings|null The managedDeviceCleanupSettings + */ + public function getManagedDeviceCleanupSettings() + { + if (array_key_exists("managedDeviceCleanupSettings", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceCleanupSettings"], "\Beta\Microsoft\Graph\Model\ManagedDeviceCleanupSettings") || is_null($this->_propDict["managedDeviceCleanupSettings"])) { + return $this->_propDict["managedDeviceCleanupSettings"]; + } else { + $this->_propDict["managedDeviceCleanupSettings"] = new ManagedDeviceCleanupSettings($this->_propDict["managedDeviceCleanupSettings"]); + return $this->_propDict["managedDeviceCleanupSettings"]; + } + } + return null; + } + + /** + * Sets the managedDeviceCleanupSettings + * Device cleanup rule + * + * @param ManagedDeviceCleanupSettings $val The managedDeviceCleanupSettings + * + * @return DeviceManagement + */ + public function setManagedDeviceCleanupSettings($val) + { + $this->_propDict["managedDeviceCleanupSettings"] = $val; + return $this; + } + + /** + * Gets the subscriptions + * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intune_EDU, intune_SMB. + * + * @return DeviceManagementSubscriptions|null The subscriptions + */ + public function getSubscriptions() + { + if (array_key_exists("subscriptions", $this->_propDict)) { + if (is_a($this->_propDict["subscriptions"], "\Beta\Microsoft\Graph\Model\DeviceManagementSubscriptions") || is_null($this->_propDict["subscriptions"])) { + return $this->_propDict["subscriptions"]; + } else { + $this->_propDict["subscriptions"] = new DeviceManagementSubscriptions($this->_propDict["subscriptions"]); + return $this->_propDict["subscriptions"]; + } + } + return null; + } + + /** + * Sets the subscriptions + * Tenant's Subscription. Possible values are: none, intune, office365, intunePremium, intune_EDU, intune_SMB. + * + * @param DeviceManagementSubscriptions $val The subscriptions + * + * @return DeviceManagement + */ + public function setSubscriptions($val) + { + $this->_propDict["subscriptions"] = $val; + return $this; + } + + /** + * Gets the subscriptionState + * Tenant mobile device management subscription state. Possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + * + * @return DeviceManagementSubscriptionState|null The subscriptionState + */ + public function getSubscriptionState() + { + if (array_key_exists("subscriptionState", $this->_propDict)) { + if (is_a($this->_propDict["subscriptionState"], "\Beta\Microsoft\Graph\Model\DeviceManagementSubscriptionState") || is_null($this->_propDict["subscriptionState"])) { + return $this->_propDict["subscriptionState"]; + } else { + $this->_propDict["subscriptionState"] = new DeviceManagementSubscriptionState($this->_propDict["subscriptionState"]); + return $this->_propDict["subscriptionState"]; + } + } + return null; + } + + /** + * Sets the subscriptionState + * Tenant mobile device management subscription state. Possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + * + * @param DeviceManagementSubscriptionState $val The subscriptionState + * + * @return DeviceManagement + */ + public function setSubscriptionState($val) + { + $this->_propDict["subscriptionState"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsSettings + * User experience analytics device settings + * + * @return UserExperienceAnalyticsSettings|null The userExperienceAnalyticsSettings + */ + public function getUserExperienceAnalyticsSettings() + { + if (array_key_exists("userExperienceAnalyticsSettings", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsSettings"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsSettings") || is_null($this->_propDict["userExperienceAnalyticsSettings"])) { + return $this->_propDict["userExperienceAnalyticsSettings"]; + } else { + $this->_propDict["userExperienceAnalyticsSettings"] = new UserExperienceAnalyticsSettings($this->_propDict["userExperienceAnalyticsSettings"]); + return $this->_propDict["userExperienceAnalyticsSettings"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsSettings + * User experience analytics device settings + * + * @param UserExperienceAnalyticsSettings $val The userExperienceAnalyticsSettings + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsSettings($val) + { + $this->_propDict["userExperienceAnalyticsSettings"] = $val; + return $this; + } + + /** + * Gets the windowsMalwareOverview + * Malware overview for windows devices. + * + * @return WindowsMalwareOverview|null The windowsMalwareOverview + */ + public function getWindowsMalwareOverview() + { + if (array_key_exists("windowsMalwareOverview", $this->_propDict)) { + if (is_a($this->_propDict["windowsMalwareOverview"], "\Beta\Microsoft\Graph\Model\WindowsMalwareOverview") || is_null($this->_propDict["windowsMalwareOverview"])) { + return $this->_propDict["windowsMalwareOverview"]; + } else { + $this->_propDict["windowsMalwareOverview"] = new WindowsMalwareOverview($this->_propDict["windowsMalwareOverview"]); + return $this->_propDict["windowsMalwareOverview"]; + } + } + return null; + } + + /** + * Sets the windowsMalwareOverview + * Malware overview for windows devices. + * + * @param WindowsMalwareOverview $val The windowsMalwareOverview + * + * @return DeviceManagement + */ + public function setWindowsMalwareOverview($val) + { + $this->_propDict["windowsMalwareOverview"] = $val; + return $this; + } + + + /** + * Gets the androidDeviceOwnerEnrollmentProfiles + * Android device owner enrollment profile entities. + * + * @return array|null The androidDeviceOwnerEnrollmentProfiles + */ + public function getAndroidDeviceOwnerEnrollmentProfiles() + { + if (array_key_exists("androidDeviceOwnerEnrollmentProfiles", $this->_propDict)) { + return $this->_propDict["androidDeviceOwnerEnrollmentProfiles"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceOwnerEnrollmentProfiles + * Android device owner enrollment profile entities. + * + * @param AndroidDeviceOwnerEnrollmentProfile[] $val The androidDeviceOwnerEnrollmentProfiles + * + * @return DeviceManagement + */ + public function setAndroidDeviceOwnerEnrollmentProfiles($val) + { + $this->_propDict["androidDeviceOwnerEnrollmentProfiles"] = $val; + return $this; + } + + /** + * Gets the virtualEndpoint + * + * @return VirtualEndpoint|null The virtualEndpoint + */ + public function getVirtualEndpoint() + { + if (array_key_exists("virtualEndpoint", $this->_propDict)) { + if (is_a($this->_propDict["virtualEndpoint"], "\Beta\Microsoft\Graph\Model\VirtualEndpoint") || is_null($this->_propDict["virtualEndpoint"])) { + return $this->_propDict["virtualEndpoint"]; + } else { + $this->_propDict["virtualEndpoint"] = new VirtualEndpoint($this->_propDict["virtualEndpoint"]); + return $this->_propDict["virtualEndpoint"]; + } + } + return null; + } + + /** + * Sets the virtualEndpoint + * + * @param VirtualEndpoint $val The virtualEndpoint + * + * @return DeviceManagement + */ + public function setVirtualEndpoint($val) + { + $this->_propDict["virtualEndpoint"] = $val; + return $this; + } + + + /** + * Gets the androidForWorkAppConfigurationSchemas + * Android for Work app configuration schema entities. + * + * @return array|null The androidForWorkAppConfigurationSchemas + */ + public function getAndroidForWorkAppConfigurationSchemas() + { + if (array_key_exists("androidForWorkAppConfigurationSchemas", $this->_propDict)) { + return $this->_propDict["androidForWorkAppConfigurationSchemas"]; + } else { + return null; + } + } + + /** + * Sets the androidForWorkAppConfigurationSchemas + * Android for Work app configuration schema entities. + * + * @param AndroidForWorkAppConfigurationSchema[] $val The androidForWorkAppConfigurationSchemas + * + * @return DeviceManagement + */ + public function setAndroidForWorkAppConfigurationSchemas($val) + { + $this->_propDict["androidForWorkAppConfigurationSchemas"] = $val; + return $this; + } + + + /** + * Gets the androidForWorkEnrollmentProfiles + * Android for Work enrollment profile entities. + * + * @return array|null The androidForWorkEnrollmentProfiles + */ + public function getAndroidForWorkEnrollmentProfiles() + { + if (array_key_exists("androidForWorkEnrollmentProfiles", $this->_propDict)) { + return $this->_propDict["androidForWorkEnrollmentProfiles"]; + } else { + return null; + } + } + + /** + * Sets the androidForWorkEnrollmentProfiles + * Android for Work enrollment profile entities. + * + * @param AndroidForWorkEnrollmentProfile[] $val The androidForWorkEnrollmentProfiles + * + * @return DeviceManagement + */ + public function setAndroidForWorkEnrollmentProfiles($val) + { + $this->_propDict["androidForWorkEnrollmentProfiles"] = $val; + return $this; + } + + /** + * Gets the androidForWorkSettings + * The singleton Android for Work settings entity. + * + * @return AndroidForWorkSettings|null The androidForWorkSettings + */ + public function getAndroidForWorkSettings() + { + if (array_key_exists("androidForWorkSettings", $this->_propDict)) { + if (is_a($this->_propDict["androidForWorkSettings"], "\Beta\Microsoft\Graph\Model\AndroidForWorkSettings") || is_null($this->_propDict["androidForWorkSettings"])) { + return $this->_propDict["androidForWorkSettings"]; + } else { + $this->_propDict["androidForWorkSettings"] = new AndroidForWorkSettings($this->_propDict["androidForWorkSettings"]); + return $this->_propDict["androidForWorkSettings"]; + } + } + return null; + } + + /** + * Sets the androidForWorkSettings + * The singleton Android for Work settings entity. + * + * @param AndroidForWorkSettings $val The androidForWorkSettings + * + * @return DeviceManagement + */ + public function setAndroidForWorkSettings($val) + { + $this->_propDict["androidForWorkSettings"] = $val; + return $this; + } + + /** + * Gets the androidManagedStoreAccountEnterpriseSettings + * The singleton Android managed store account enterprise settings entity. + * + * @return AndroidManagedStoreAccountEnterpriseSettings|null The androidManagedStoreAccountEnterpriseSettings + */ + public function getAndroidManagedStoreAccountEnterpriseSettings() + { + if (array_key_exists("androidManagedStoreAccountEnterpriseSettings", $this->_propDict)) { + if (is_a($this->_propDict["androidManagedStoreAccountEnterpriseSettings"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountEnterpriseSettings") || is_null($this->_propDict["androidManagedStoreAccountEnterpriseSettings"])) { + return $this->_propDict["androidManagedStoreAccountEnterpriseSettings"]; + } else { + $this->_propDict["androidManagedStoreAccountEnterpriseSettings"] = new AndroidManagedStoreAccountEnterpriseSettings($this->_propDict["androidManagedStoreAccountEnterpriseSettings"]); + return $this->_propDict["androidManagedStoreAccountEnterpriseSettings"]; + } + } + return null; + } + + /** + * Sets the androidManagedStoreAccountEnterpriseSettings + * The singleton Android managed store account enterprise settings entity. + * + * @param AndroidManagedStoreAccountEnterpriseSettings $val The androidManagedStoreAccountEnterpriseSettings + * + * @return DeviceManagement + */ + public function setAndroidManagedStoreAccountEnterpriseSettings($val) + { + $this->_propDict["androidManagedStoreAccountEnterpriseSettings"] = $val; + return $this; + } + + + /** + * Gets the androidManagedStoreAppConfigurationSchemas + * Android Enterprise app configuration schema entities. + * + * @return array|null The androidManagedStoreAppConfigurationSchemas + */ + public function getAndroidManagedStoreAppConfigurationSchemas() + { + if (array_key_exists("androidManagedStoreAppConfigurationSchemas", $this->_propDict)) { + return $this->_propDict["androidManagedStoreAppConfigurationSchemas"]; + } else { + return null; + } + } + + /** + * Sets the androidManagedStoreAppConfigurationSchemas + * Android Enterprise app configuration schema entities. + * + * @param AndroidManagedStoreAppConfigurationSchema[] $val The androidManagedStoreAppConfigurationSchemas + * + * @return DeviceManagement + */ + public function setAndroidManagedStoreAppConfigurationSchemas($val) + { + $this->_propDict["androidManagedStoreAppConfigurationSchemas"] = $val; + return $this; + } + + + /** + * Gets the auditEvents + * The Audit Events + * + * @return array|null The auditEvents + */ + public function getAuditEvents() + { + if (array_key_exists("auditEvents", $this->_propDict)) { + return $this->_propDict["auditEvents"]; + } else { + return null; + } + } + + /** + * Sets the auditEvents + * The Audit Events + * + * @param AuditEvent[] $val The auditEvents + * + * @return DeviceManagement + */ + public function setAuditEvents($val) + { + $this->_propDict["auditEvents"] = $val; + return $this; + } + + + /** + * Gets the assignmentFilters + * The list of assignment filters + * + * @return array|null The assignmentFilters + */ + public function getAssignmentFilters() + { + if (array_key_exists("assignmentFilters", $this->_propDict)) { + return $this->_propDict["assignmentFilters"]; + } else { + return null; + } + } + + /** + * Sets the assignmentFilters + * The list of assignment filters + * + * @param DeviceAndAppManagementAssignmentFilter[] $val The assignmentFilters + * + * @return DeviceManagement + */ + public function setAssignmentFilters($val) + { + $this->_propDict["assignmentFilters"] = $val; + return $this; + } + + + /** + * Gets the chromeOSOnboardingSettings + * Collection of ChromeOSOnboardingSettings settings associated with account. + * + * @return array|null The chromeOSOnboardingSettings + */ + public function getChromeOSOnboardingSettings() + { + if (array_key_exists("chromeOSOnboardingSettings", $this->_propDict)) { + return $this->_propDict["chromeOSOnboardingSettings"]; + } else { + return null; + } + } + + /** + * Sets the chromeOSOnboardingSettings + * Collection of ChromeOSOnboardingSettings settings associated with account. + * + * @param ChromeOSOnboardingSettings[] $val The chromeOSOnboardingSettings + * + * @return DeviceManagement + */ + public function setChromeOSOnboardingSettings($val) + { + $this->_propDict["chromeOSOnboardingSettings"] = $val; + return $this; + } + + + /** + * Gets the termsAndConditions + * The terms and conditions associated with device management of the company. + * + * @return array|null The termsAndConditions + */ + public function getTermsAndConditions() + { + if (array_key_exists("termsAndConditions", $this->_propDict)) { + return $this->_propDict["termsAndConditions"]; + } else { + return null; + } + } + + /** + * Sets the termsAndConditions + * The terms and conditions associated with device management of the company. + * + * @param TermsAndConditions[] $val The termsAndConditions + * + * @return DeviceManagement + */ + public function setTermsAndConditions($val) + { + $this->_propDict["termsAndConditions"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionOnboardingStateSummary + * The summary state of ATP onboarding state for this account. + * + * @return AdvancedThreatProtectionOnboardingStateSummary|null The advancedThreatProtectionOnboardingStateSummary + */ + public function getAdvancedThreatProtectionOnboardingStateSummary() + { + if (array_key_exists("advancedThreatProtectionOnboardingStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionOnboardingStateSummary"], "\Beta\Microsoft\Graph\Model\AdvancedThreatProtectionOnboardingStateSummary") || is_null($this->_propDict["advancedThreatProtectionOnboardingStateSummary"])) { + return $this->_propDict["advancedThreatProtectionOnboardingStateSummary"]; + } else { + $this->_propDict["advancedThreatProtectionOnboardingStateSummary"] = new AdvancedThreatProtectionOnboardingStateSummary($this->_propDict["advancedThreatProtectionOnboardingStateSummary"]); + return $this->_propDict["advancedThreatProtectionOnboardingStateSummary"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionOnboardingStateSummary + * The summary state of ATP onboarding state for this account. + * + * @param AdvancedThreatProtectionOnboardingStateSummary $val The advancedThreatProtectionOnboardingStateSummary + * + * @return DeviceManagement + */ + public function setAdvancedThreatProtectionOnboardingStateSummary($val) + { + $this->_propDict["advancedThreatProtectionOnboardingStateSummary"] = $val; + return $this; + } + + + /** + * Gets the cartToClassAssociations + * The Cart To Class Associations. + * + * @return array|null The cartToClassAssociations + */ + public function getCartToClassAssociations() + { + if (array_key_exists("cartToClassAssociations", $this->_propDict)) { + return $this->_propDict["cartToClassAssociations"]; + } else { + return null; + } + } + + /** + * Sets the cartToClassAssociations + * The Cart To Class Associations. + * + * @param CartToClassAssociation[] $val The cartToClassAssociations + * + * @return DeviceManagement + */ + public function setCartToClassAssociations($val) + { + $this->_propDict["cartToClassAssociations"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicies + * The device compliance policies. + * + * @return array|null The deviceCompliancePolicies + */ + public function getDeviceCompliancePolicies() + { + if (array_key_exists("deviceCompliancePolicies", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicies + * The device compliance policies. + * + * @param DeviceCompliancePolicy[] $val The deviceCompliancePolicies + * + * @return DeviceManagement + */ + public function setDeviceCompliancePolicies($val) + { + $this->_propDict["deviceCompliancePolicies"] = $val; + return $this; + } + + /** + * Gets the deviceCompliancePolicyDeviceStateSummary + * The device compliance state summary for this account. + * + * @return DeviceCompliancePolicyDeviceStateSummary|null The deviceCompliancePolicyDeviceStateSummary + */ + public function getDeviceCompliancePolicyDeviceStateSummary() + { + if (array_key_exists("deviceCompliancePolicyDeviceStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceCompliancePolicyDeviceStateSummary"], "\Beta\Microsoft\Graph\Model\DeviceCompliancePolicyDeviceStateSummary") || is_null($this->_propDict["deviceCompliancePolicyDeviceStateSummary"])) { + return $this->_propDict["deviceCompliancePolicyDeviceStateSummary"]; + } else { + $this->_propDict["deviceCompliancePolicyDeviceStateSummary"] = new DeviceCompliancePolicyDeviceStateSummary($this->_propDict["deviceCompliancePolicyDeviceStateSummary"]); + return $this->_propDict["deviceCompliancePolicyDeviceStateSummary"]; + } + } + return null; + } + + /** + * Sets the deviceCompliancePolicyDeviceStateSummary + * The device compliance state summary for this account. + * + * @param DeviceCompliancePolicyDeviceStateSummary $val The deviceCompliancePolicyDeviceStateSummary + * + * @return DeviceManagement + */ + public function setDeviceCompliancePolicyDeviceStateSummary($val) + { + $this->_propDict["deviceCompliancePolicyDeviceStateSummary"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicySettingStateSummaries + * The summary states of compliance policy settings for this account. + * + * @return array|null The deviceCompliancePolicySettingStateSummaries + */ + public function getDeviceCompliancePolicySettingStateSummaries() + { + if (array_key_exists("deviceCompliancePolicySettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicySettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicySettingStateSummaries + * The summary states of compliance policy settings for this account. + * + * @param DeviceCompliancePolicySettingStateSummary[] $val The deviceCompliancePolicySettingStateSummaries + * + * @return DeviceManagement + */ + public function setDeviceCompliancePolicySettingStateSummaries($val) + { + $this->_propDict["deviceCompliancePolicySettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurationConflictSummary + * Summary of policies in conflict state for this account. + * + * @return array|null The deviceConfigurationConflictSummary + */ + public function getDeviceConfigurationConflictSummary() + { + if (array_key_exists("deviceConfigurationConflictSummary", $this->_propDict)) { + return $this->_propDict["deviceConfigurationConflictSummary"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationConflictSummary + * Summary of policies in conflict state for this account. + * + * @param DeviceConfigurationConflictSummary[] $val The deviceConfigurationConflictSummary + * + * @return DeviceManagement + */ + public function setDeviceConfigurationConflictSummary($val) + { + $this->_propDict["deviceConfigurationConflictSummary"] = $val; + return $this; + } + + /** + * Gets the deviceConfigurationDeviceStateSummaries + * The device configuration device state summary for this account. + * + * @return DeviceConfigurationDeviceStateSummary|null The deviceConfigurationDeviceStateSummaries + */ + public function getDeviceConfigurationDeviceStateSummaries() + { + if (array_key_exists("deviceConfigurationDeviceStateSummaries", $this->_propDict)) { + if (is_a($this->_propDict["deviceConfigurationDeviceStateSummaries"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationDeviceStateSummary") || is_null($this->_propDict["deviceConfigurationDeviceStateSummaries"])) { + return $this->_propDict["deviceConfigurationDeviceStateSummaries"]; + } else { + $this->_propDict["deviceConfigurationDeviceStateSummaries"] = new DeviceConfigurationDeviceStateSummary($this->_propDict["deviceConfigurationDeviceStateSummaries"]); + return $this->_propDict["deviceConfigurationDeviceStateSummaries"]; + } + } + return null; + } + + /** + * Sets the deviceConfigurationDeviceStateSummaries + * The device configuration device state summary for this account. + * + * @param DeviceConfigurationDeviceStateSummary $val The deviceConfigurationDeviceStateSummaries + * + * @return DeviceManagement + */ + public function setDeviceConfigurationDeviceStateSummaries($val) + { + $this->_propDict["deviceConfigurationDeviceStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurationRestrictedAppsViolations + * Restricted apps violations for this account. + * + * @return array|null The deviceConfigurationRestrictedAppsViolations + */ + public function getDeviceConfigurationRestrictedAppsViolations() + { + if (array_key_exists("deviceConfigurationRestrictedAppsViolations", $this->_propDict)) { + return $this->_propDict["deviceConfigurationRestrictedAppsViolations"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationRestrictedAppsViolations + * Restricted apps violations for this account. + * + * @param RestrictedAppsViolation[] $val The deviceConfigurationRestrictedAppsViolations + * + * @return DeviceManagement + */ + public function setDeviceConfigurationRestrictedAppsViolations($val) + { + $this->_propDict["deviceConfigurationRestrictedAppsViolations"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurations + * The device configurations. + * + * @return array|null The deviceConfigurations + */ + public function getDeviceConfigurations() + { + if (array_key_exists("deviceConfigurations", $this->_propDict)) { + return $this->_propDict["deviceConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurations + * The device configurations. + * + * @param DeviceConfiguration[] $val The deviceConfigurations + * + * @return DeviceManagement + */ + public function setDeviceConfigurations($val) + { + $this->_propDict["deviceConfigurations"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurationsAllManagedDeviceCertificateStates + * Summary of all certificates for all devices. + * + * @return array|null The deviceConfigurationsAllManagedDeviceCertificateStates + */ + public function getDeviceConfigurationsAllManagedDeviceCertificateStates() + { + if (array_key_exists("deviceConfigurationsAllManagedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["deviceConfigurationsAllManagedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationsAllManagedDeviceCertificateStates + * Summary of all certificates for all devices. + * + * @param ManagedAllDeviceCertificateState[] $val The deviceConfigurationsAllManagedDeviceCertificateStates + * + * @return DeviceManagement + */ + public function setDeviceConfigurationsAllManagedDeviceCertificateStates($val) + { + $this->_propDict["deviceConfigurationsAllManagedDeviceCertificateStates"] = $val; + return $this; + } + + /** + * Gets the deviceConfigurationUserStateSummaries + * The device configuration user state summary for this account. + * + * @return DeviceConfigurationUserStateSummary|null The deviceConfigurationUserStateSummaries + */ + public function getDeviceConfigurationUserStateSummaries() + { + if (array_key_exists("deviceConfigurationUserStateSummaries", $this->_propDict)) { + if (is_a($this->_propDict["deviceConfigurationUserStateSummaries"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationUserStateSummary") || is_null($this->_propDict["deviceConfigurationUserStateSummaries"])) { + return $this->_propDict["deviceConfigurationUserStateSummaries"]; + } else { + $this->_propDict["deviceConfigurationUserStateSummaries"] = new DeviceConfigurationUserStateSummary($this->_propDict["deviceConfigurationUserStateSummaries"]); + return $this->_propDict["deviceConfigurationUserStateSummaries"]; + } + } + return null; + } + + /** + * Sets the deviceConfigurationUserStateSummaries + * The device configuration user state summary for this account. + * + * @param DeviceConfigurationUserStateSummary $val The deviceConfigurationUserStateSummaries + * + * @return DeviceManagement + */ + public function setDeviceConfigurationUserStateSummaries($val) + { + $this->_propDict["deviceConfigurationUserStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the iosUpdateStatuses + * The IOS software update installation statuses for this account. + * + * @return array|null The iosUpdateStatuses + */ + public function getIosUpdateStatuses() + { + if (array_key_exists("iosUpdateStatuses", $this->_propDict)) { + return $this->_propDict["iosUpdateStatuses"]; + } else { + return null; + } + } + + /** + * Sets the iosUpdateStatuses + * The IOS software update installation statuses for this account. + * + * @param IosUpdateDeviceStatus[] $val The iosUpdateStatuses + * + * @return DeviceManagement + */ + public function setIosUpdateStatuses($val) + { + $this->_propDict["iosUpdateStatuses"] = $val; + return $this; + } + + + /** + * Gets the macOSSoftwareUpdateAccountSummaries + * The MacOS software update account summaries for this account. + * + * @return array|null The macOSSoftwareUpdateAccountSummaries + */ + public function getMacOSSoftwareUpdateAccountSummaries() + { + if (array_key_exists("macOSSoftwareUpdateAccountSummaries", $this->_propDict)) { + return $this->_propDict["macOSSoftwareUpdateAccountSummaries"]; + } else { + return null; + } + } + + /** + * Sets the macOSSoftwareUpdateAccountSummaries + * The MacOS software update account summaries for this account. + * + * @param MacOSSoftwareUpdateAccountSummary[] $val The macOSSoftwareUpdateAccountSummaries + * + * @return DeviceManagement + */ + public function setMacOSSoftwareUpdateAccountSummaries($val) + { + $this->_propDict["macOSSoftwareUpdateAccountSummaries"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceEncryptionStates + * Encryption report for devices in this account + * + * @return array|null The managedDeviceEncryptionStates + */ + public function getManagedDeviceEncryptionStates() + { + if (array_key_exists("managedDeviceEncryptionStates", $this->_propDict)) { + return $this->_propDict["managedDeviceEncryptionStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceEncryptionStates + * Encryption report for devices in this account + * + * @param ManagedDeviceEncryptionState[] $val The managedDeviceEncryptionStates + * + * @return DeviceManagement + */ + public function setManagedDeviceEncryptionStates($val) + { + $this->_propDict["managedDeviceEncryptionStates"] = $val; + return $this; + } + + + /** + * Gets the ndesConnectors + * The collection of Ndes connectors for this account. + * + * @return array|null The ndesConnectors + */ + public function getNdesConnectors() + { + if (array_key_exists("ndesConnectors", $this->_propDict)) { + return $this->_propDict["ndesConnectors"]; + } else { + return null; + } + } + + /** + * Sets the ndesConnectors + * The collection of Ndes connectors for this account. + * + * @param NdesConnector[] $val The ndesConnectors + * + * @return DeviceManagement + */ + public function setNdesConnectors($val) + { + $this->_propDict["ndesConnectors"] = $val; + return $this; + } + + /** + * Gets the softwareUpdateStatusSummary + * The software update status summary. + * + * @return SoftwareUpdateStatusSummary|null The softwareUpdateStatusSummary + */ + public function getSoftwareUpdateStatusSummary() + { + if (array_key_exists("softwareUpdateStatusSummary", $this->_propDict)) { + if (is_a($this->_propDict["softwareUpdateStatusSummary"], "\Beta\Microsoft\Graph\Model\SoftwareUpdateStatusSummary") || is_null($this->_propDict["softwareUpdateStatusSummary"])) { + return $this->_propDict["softwareUpdateStatusSummary"]; + } else { + $this->_propDict["softwareUpdateStatusSummary"] = new SoftwareUpdateStatusSummary($this->_propDict["softwareUpdateStatusSummary"]); + return $this->_propDict["softwareUpdateStatusSummary"]; + } + } + return null; + } + + /** + * Sets the softwareUpdateStatusSummary + * The software update status summary. + * + * @param SoftwareUpdateStatusSummary $val The softwareUpdateStatusSummary + * + * @return DeviceManagement + */ + public function setSoftwareUpdateStatusSummary($val) + { + $this->_propDict["softwareUpdateStatusSummary"] = $val; + return $this; + } + + + /** + * Gets the complianceCategories + * List of all compliance categories + * + * @return array|null The complianceCategories + */ + public function getComplianceCategories() + { + if (array_key_exists("complianceCategories", $this->_propDict)) { + return $this->_propDict["complianceCategories"]; + } else { + return null; + } + } + + /** + * Sets the complianceCategories + * List of all compliance categories + * + * @param DeviceManagementConfigurationCategory[] $val The complianceCategories + * + * @return DeviceManagement + */ + public function setComplianceCategories($val) + { + $this->_propDict["complianceCategories"] = $val; + return $this; + } + + + /** + * Gets the compliancePolicies + * List of all compliance policies + * + * @return array|null The compliancePolicies + */ + public function getCompliancePolicies() + { + if (array_key_exists("compliancePolicies", $this->_propDict)) { + return $this->_propDict["compliancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicies + * List of all compliance policies + * + * @param DeviceManagementCompliancePolicy[] $val The compliancePolicies + * + * @return DeviceManagement + */ + public function setCompliancePolicies($val) + { + $this->_propDict["compliancePolicies"] = $val; + return $this; + } + + + /** + * Gets the complianceSettings + * List of all ComplianceSettings + * + * @return array|null The complianceSettings + */ + public function getComplianceSettings() + { + if (array_key_exists("complianceSettings", $this->_propDict)) { + return $this->_propDict["complianceSettings"]; + } else { + return null; + } + } + + /** + * Sets the complianceSettings + * List of all ComplianceSettings + * + * @param DeviceManagementConfigurationSettingDefinition[] $val The complianceSettings + * + * @return DeviceManagement + */ + public function setComplianceSettings($val) + { + $this->_propDict["complianceSettings"] = $val; + return $this; + } + + + /** + * Gets the configurationCategories + * List of all Configuration Categories + * + * @return array|null The configurationCategories + */ + public function getConfigurationCategories() + { + if (array_key_exists("configurationCategories", $this->_propDict)) { + return $this->_propDict["configurationCategories"]; + } else { + return null; + } + } + + /** + * Sets the configurationCategories + * List of all Configuration Categories + * + * @param DeviceManagementConfigurationCategory[] $val The configurationCategories + * + * @return DeviceManagement + */ + public function setConfigurationCategories($val) + { + $this->_propDict["configurationCategories"] = $val; + return $this; + } + + + /** + * Gets the configurationPolicies + * List of all Configuration policies + * + * @return array|null The configurationPolicies + */ + public function getConfigurationPolicies() + { + if (array_key_exists("configurationPolicies", $this->_propDict)) { + return $this->_propDict["configurationPolicies"]; + } else { + return null; + } + } + + /** + * Sets the configurationPolicies + * List of all Configuration policies + * + * @param DeviceManagementConfigurationPolicy[] $val The configurationPolicies + * + * @return DeviceManagement + */ + public function setConfigurationPolicies($val) + { + $this->_propDict["configurationPolicies"] = $val; + return $this; + } + + + /** + * Gets the configurationPolicyTemplates + * List of all templates + * + * @return array|null The configurationPolicyTemplates + */ + public function getConfigurationPolicyTemplates() + { + if (array_key_exists("configurationPolicyTemplates", $this->_propDict)) { + return $this->_propDict["configurationPolicyTemplates"]; + } else { + return null; + } + } + + /** + * Sets the configurationPolicyTemplates + * List of all templates + * + * @param DeviceManagementConfigurationPolicyTemplate[] $val The configurationPolicyTemplates + * + * @return DeviceManagement + */ + public function setConfigurationPolicyTemplates($val) + { + $this->_propDict["configurationPolicyTemplates"] = $val; + return $this; + } + + + /** + * Gets the configurationSettings + * List of all ConfigurationSettings + * + * @return array|null The configurationSettings + */ + public function getConfigurationSettings() + { + if (array_key_exists("configurationSettings", $this->_propDict)) { + return $this->_propDict["configurationSettings"]; + } else { + return null; + } + } + + /** + * Sets the configurationSettings + * List of all ConfigurationSettings + * + * @param DeviceManagementConfigurationSettingDefinition[] $val The configurationSettings + * + * @return DeviceManagement + */ + public function setConfigurationSettings($val) + { + $this->_propDict["configurationSettings"] = $val; + return $this; + } + + + /** + * Gets the reusablePolicySettings + * List of all reusable settings that can be referred in a policy + * + * @return array|null The reusablePolicySettings + */ + public function getReusablePolicySettings() + { + if (array_key_exists("reusablePolicySettings", $this->_propDict)) { + return $this->_propDict["reusablePolicySettings"]; + } else { + return null; + } + } + + /** + * Sets the reusablePolicySettings + * List of all reusable settings that can be referred in a policy + * + * @param DeviceManagementReusablePolicySetting[] $val The reusablePolicySettings + * + * @return DeviceManagement + */ + public function setReusablePolicySettings($val) + { + $this->_propDict["reusablePolicySettings"] = $val; + return $this; + } + + + /** + * Gets the reusableSettings + * List of all reusable settings + * + * @return array|null The reusableSettings + */ + public function getReusableSettings() + { + if (array_key_exists("reusableSettings", $this->_propDict)) { + return $this->_propDict["reusableSettings"]; + } else { + return null; + } + } + + /** + * Sets the reusableSettings + * List of all reusable settings + * + * @param DeviceManagementConfigurationSettingDefinition[] $val The reusableSettings + * + * @return DeviceManagement + */ + public function setReusableSettings($val) + { + $this->_propDict["reusableSettings"] = $val; + return $this; + } + + + /** + * Gets the templateSettings + * List of all TemplateSettings + * + * @return array|null The templateSettings + */ + public function getTemplateSettings() + { + if (array_key_exists("templateSettings", $this->_propDict)) { + return $this->_propDict["templateSettings"]; + } else { + return null; + } + } + + /** + * Sets the templateSettings + * List of all TemplateSettings + * + * @param DeviceManagementConfigurationSettingTemplate[] $val The templateSettings + * + * @return DeviceManagement + */ + public function setTemplateSettings($val) + { + $this->_propDict["templateSettings"] = $val; + return $this; + } + + + /** + * Gets the complianceManagementPartners + * The list of Compliance Management Partners configured by the tenant. + * + * @return array|null The complianceManagementPartners + */ + public function getComplianceManagementPartners() + { + if (array_key_exists("complianceManagementPartners", $this->_propDict)) { + return $this->_propDict["complianceManagementPartners"]; + } else { + return null; + } + } + + /** + * Sets the complianceManagementPartners + * The list of Compliance Management Partners configured by the tenant. + * + * @param ComplianceManagementPartner[] $val The complianceManagementPartners + * + * @return DeviceManagement + */ + public function setComplianceManagementPartners($val) + { + $this->_propDict["complianceManagementPartners"] = $val; + return $this; + } + + /** + * Gets the conditionalAccessSettings + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * + * @return OnPremisesConditionalAccessSettings|null The conditionalAccessSettings + */ + public function getConditionalAccessSettings() + { + if (array_key_exists("conditionalAccessSettings", $this->_propDict)) { + if (is_a($this->_propDict["conditionalAccessSettings"], "\Beta\Microsoft\Graph\Model\OnPremisesConditionalAccessSettings") || is_null($this->_propDict["conditionalAccessSettings"])) { + return $this->_propDict["conditionalAccessSettings"]; + } else { + $this->_propDict["conditionalAccessSettings"] = new OnPremisesConditionalAccessSettings($this->_propDict["conditionalAccessSettings"]); + return $this->_propDict["conditionalAccessSettings"]; + } + } + return null; + } + + /** + * Sets the conditionalAccessSettings + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * + * @param OnPremisesConditionalAccessSettings $val The conditionalAccessSettings + * + * @return DeviceManagement + */ + public function setConditionalAccessSettings($val) + { + $this->_propDict["conditionalAccessSettings"] = $val; + return $this; + } + + + /** + * Gets the deviceCategories + * The list of device categories with the tenant. + * + * @return array|null The deviceCategories + */ + public function getDeviceCategories() + { + if (array_key_exists("deviceCategories", $this->_propDict)) { + return $this->_propDict["deviceCategories"]; + } else { + return null; + } + } + + /** + * Sets the deviceCategories + * The list of device categories with the tenant. + * + * @param DeviceCategory[] $val The deviceCategories + * + * @return DeviceManagement + */ + public function setDeviceCategories($val) + { + $this->_propDict["deviceCategories"] = $val; + return $this; + } + + + /** + * Gets the deviceEnrollmentConfigurations + * The list of device enrollment configurations + * + * @return array|null The deviceEnrollmentConfigurations + */ + public function getDeviceEnrollmentConfigurations() + { + if (array_key_exists("deviceEnrollmentConfigurations", $this->_propDict)) { + return $this->_propDict["deviceEnrollmentConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the deviceEnrollmentConfigurations + * The list of device enrollment configurations + * + * @param DeviceEnrollmentConfiguration[] $val The deviceEnrollmentConfigurations + * + * @return DeviceManagement + */ + public function setDeviceEnrollmentConfigurations($val) + { + $this->_propDict["deviceEnrollmentConfigurations"] = $val; + return $this; + } + + + /** + * Gets the deviceManagementPartners + * The list of Device Management Partners configured by the tenant. + * + * @return array|null The deviceManagementPartners + */ + public function getDeviceManagementPartners() + { + if (array_key_exists("deviceManagementPartners", $this->_propDict)) { + return $this->_propDict["deviceManagementPartners"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementPartners + * The list of Device Management Partners configured by the tenant. + * + * @param DeviceManagementPartner[] $val The deviceManagementPartners + * + * @return DeviceManagement + */ + public function setDeviceManagementPartners($val) + { + $this->_propDict["deviceManagementPartners"] = $val; + return $this; + } + + + /** + * Gets the exchangeConnectors + * The list of Exchange Connectors configured by the tenant. + * + * @return array|null The exchangeConnectors + */ + public function getExchangeConnectors() + { + if (array_key_exists("exchangeConnectors", $this->_propDict)) { + return $this->_propDict["exchangeConnectors"]; + } else { + return null; + } + } + + /** + * Sets the exchangeConnectors + * The list of Exchange Connectors configured by the tenant. + * + * @param DeviceManagementExchangeConnector[] $val The exchangeConnectors + * + * @return DeviceManagement + */ + public function setExchangeConnectors($val) + { + $this->_propDict["exchangeConnectors"] = $val; + return $this; + } + + + /** + * Gets the exchangeOnPremisesPolicies + * The list of Exchange On Premisis policies configured by the tenant. + * + * @return array|null The exchangeOnPremisesPolicies + */ + public function getExchangeOnPremisesPolicies() + { + if (array_key_exists("exchangeOnPremisesPolicies", $this->_propDict)) { + return $this->_propDict["exchangeOnPremisesPolicies"]; + } else { + return null; + } + } + + /** + * Sets the exchangeOnPremisesPolicies + * The list of Exchange On Premisis policies configured by the tenant. + * + * @param DeviceManagementExchangeOnPremisesPolicy[] $val The exchangeOnPremisesPolicies + * + * @return DeviceManagement + */ + public function setExchangeOnPremisesPolicies($val) + { + $this->_propDict["exchangeOnPremisesPolicies"] = $val; + return $this; + } + + /** + * Gets the exchangeOnPremisesPolicy + * The policy which controls mobile device access to Exchange On Premises + * + * @return DeviceManagementExchangeOnPremisesPolicy|null The exchangeOnPremisesPolicy + */ + public function getExchangeOnPremisesPolicy() + { + if (array_key_exists("exchangeOnPremisesPolicy", $this->_propDict)) { + if (is_a($this->_propDict["exchangeOnPremisesPolicy"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeOnPremisesPolicy") || is_null($this->_propDict["exchangeOnPremisesPolicy"])) { + return $this->_propDict["exchangeOnPremisesPolicy"]; + } else { + $this->_propDict["exchangeOnPremisesPolicy"] = new DeviceManagementExchangeOnPremisesPolicy($this->_propDict["exchangeOnPremisesPolicy"]); + return $this->_propDict["exchangeOnPremisesPolicy"]; + } + } + return null; + } + + /** + * Sets the exchangeOnPremisesPolicy + * The policy which controls mobile device access to Exchange On Premises + * + * @param DeviceManagementExchangeOnPremisesPolicy $val The exchangeOnPremisesPolicy + * + * @return DeviceManagement + */ + public function setExchangeOnPremisesPolicy($val) + { + $this->_propDict["exchangeOnPremisesPolicy"] = $val; + return $this; + } + + + /** + * Gets the mobileThreatDefenseConnectors + * The list of Mobile threat Defense connectors configured by the tenant. + * + * @return array|null The mobileThreatDefenseConnectors + */ + public function getMobileThreatDefenseConnectors() + { + if (array_key_exists("mobileThreatDefenseConnectors", $this->_propDict)) { + return $this->_propDict["mobileThreatDefenseConnectors"]; + } else { + return null; + } + } + + /** + * Sets the mobileThreatDefenseConnectors + * The list of Mobile threat Defense connectors configured by the tenant. + * + * @param MobileThreatDefenseConnector[] $val The mobileThreatDefenseConnectors + * + * @return DeviceManagement + */ + public function setMobileThreatDefenseConnectors($val) + { + $this->_propDict["mobileThreatDefenseConnectors"] = $val; + return $this; + } + + + /** + * Gets the categories + * The available categories + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The available categories + * + * @param DeviceManagementSettingCategory[] $val The categories + * + * @return DeviceManagement + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the intents + * The device management intents + * + * @return array|null The intents + */ + public function getIntents() + { + if (array_key_exists("intents", $this->_propDict)) { + return $this->_propDict["intents"]; + } else { + return null; + } + } + + /** + * Sets the intents + * The device management intents + * + * @param DeviceManagementIntent[] $val The intents + * + * @return DeviceManagement + */ + public function setIntents($val) + { + $this->_propDict["intents"] = $val; + return $this; + } + + + /** + * Gets the settingDefinitions + * The device management intent setting definitions + * + * @return array|null The settingDefinitions + */ + public function getSettingDefinitions() + { + if (array_key_exists("settingDefinitions", $this->_propDict)) { + return $this->_propDict["settingDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitions + * The device management intent setting definitions + * + * @param DeviceManagementSettingDefinition[] $val The settingDefinitions + * + * @return DeviceManagement + */ + public function setSettingDefinitions($val) + { + $this->_propDict["settingDefinitions"] = $val; + return $this; + } + + + /** + * Gets the templates + * The available templates + * + * @return array|null The templates + */ + public function getTemplates() + { + if (array_key_exists("templates", $this->_propDict)) { + return $this->_propDict["templates"]; + } else { + return null; + } + } + + /** + * Sets the templates + * The available templates + * + * @param DeviceManagementTemplate[] $val The templates + * + * @return DeviceManagement + */ + public function setTemplates($val) + { + $this->_propDict["templates"] = $val; + return $this; + } + + /** + * Gets the applePushNotificationCertificate + * Apple push notification certificate. + * + * @return ApplePushNotificationCertificate|null The applePushNotificationCertificate + */ + public function getApplePushNotificationCertificate() + { + if (array_key_exists("applePushNotificationCertificate", $this->_propDict)) { + if (is_a($this->_propDict["applePushNotificationCertificate"], "\Beta\Microsoft\Graph\Model\ApplePushNotificationCertificate") || is_null($this->_propDict["applePushNotificationCertificate"])) { + return $this->_propDict["applePushNotificationCertificate"]; + } else { + $this->_propDict["applePushNotificationCertificate"] = new ApplePushNotificationCertificate($this->_propDict["applePushNotificationCertificate"]); + return $this->_propDict["applePushNotificationCertificate"]; + } + } + return null; + } + + /** + * Sets the applePushNotificationCertificate + * Apple push notification certificate. + * + * @param ApplePushNotificationCertificate $val The applePushNotificationCertificate + * + * @return DeviceManagement + */ + public function setApplePushNotificationCertificate($val) + { + $this->_propDict["applePushNotificationCertificate"] = $val; + return $this; + } + + + /** + * Gets the cloudPCConnectivityIssues + * The list of CloudPC Connectivity Issue. + * + * @return array|null The cloudPCConnectivityIssues + */ + public function getCloudPCConnectivityIssues() + { + if (array_key_exists("cloudPCConnectivityIssues", $this->_propDict)) { + return $this->_propDict["cloudPCConnectivityIssues"]; + } else { + return null; + } + } + + /** + * Sets the cloudPCConnectivityIssues + * The list of CloudPC Connectivity Issue. + * + * @param CloudPCConnectivityIssue[] $val The cloudPCConnectivityIssues + * + * @return DeviceManagement + */ + public function setCloudPCConnectivityIssues($val) + { + $this->_propDict["cloudPCConnectivityIssues"] = $val; + return $this; + } + + + /** + * Gets the comanagedDevices + * The list of co-managed devices report + * + * @return array|null The comanagedDevices + */ + public function getComanagedDevices() + { + if (array_key_exists("comanagedDevices", $this->_propDict)) { + return $this->_propDict["comanagedDevices"]; + } else { + return null; + } + } + + /** + * Sets the comanagedDevices + * The list of co-managed devices report + * + * @param ManagedDevice[] $val The comanagedDevices + * + * @return DeviceManagement + */ + public function setComanagedDevices($val) + { + $this->_propDict["comanagedDevices"] = $val; + return $this; + } + + + /** + * Gets the comanagementEligibleDevices + * The list of co-management eligible devices report + * + * @return array|null The comanagementEligibleDevices + */ + public function getComanagementEligibleDevices() + { + if (array_key_exists("comanagementEligibleDevices", $this->_propDict)) { + return $this->_propDict["comanagementEligibleDevices"]; + } else { + return null; + } + } + + /** + * Sets the comanagementEligibleDevices + * The list of co-management eligible devices report + * + * @param ComanagementEligibleDevice[] $val The comanagementEligibleDevices + * + * @return DeviceManagement + */ + public function setComanagementEligibleDevices($val) + { + $this->_propDict["comanagementEligibleDevices"] = $val; + return $this; + } + + + /** + * Gets the dataSharingConsents + * Data sharing consents. + * + * @return array|null The dataSharingConsents + */ + public function getDataSharingConsents() + { + if (array_key_exists("dataSharingConsents", $this->_propDict)) { + return $this->_propDict["dataSharingConsents"]; + } else { + return null; + } + } + + /** + * Sets the dataSharingConsents + * Data sharing consents. + * + * @param DataSharingConsent[] $val The dataSharingConsents + * + * @return DeviceManagement + */ + public function setDataSharingConsents($val) + { + $this->_propDict["dataSharingConsents"] = $val; + return $this; + } + + + /** + * Gets the detectedApps + * The list of detected apps associated with a device. + * + * @return array|null The detectedApps + */ + public function getDetectedApps() + { + if (array_key_exists("detectedApps", $this->_propDict)) { + return $this->_propDict["detectedApps"]; + } else { + return null; + } + } + + /** + * Sets the detectedApps + * The list of detected apps associated with a device. + * + * @param DetectedApp[] $val The detectedApps + * + * @return DeviceManagement + */ + public function setDetectedApps($val) + { + $this->_propDict["detectedApps"] = $val; + return $this; + } + + + /** + * Gets the deviceComplianceScripts + * The list of device compliance scripts associated with the tenant. + * + * @return array|null The deviceComplianceScripts + */ + public function getDeviceComplianceScripts() + { + if (array_key_exists("deviceComplianceScripts", $this->_propDict)) { + return $this->_propDict["deviceComplianceScripts"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceScripts + * The list of device compliance scripts associated with the tenant. + * + * @param DeviceComplianceScript[] $val The deviceComplianceScripts + * + * @return DeviceManagement + */ + public function setDeviceComplianceScripts($val) + { + $this->_propDict["deviceComplianceScripts"] = $val; + return $this; + } + + + /** + * Gets the deviceCustomAttributeShellScripts + * The list of device custom attribute shell scripts associated with the tenant. + * + * @return array|null The deviceCustomAttributeShellScripts + */ + public function getDeviceCustomAttributeShellScripts() + { + if (array_key_exists("deviceCustomAttributeShellScripts", $this->_propDict)) { + return $this->_propDict["deviceCustomAttributeShellScripts"]; + } else { + return null; + } + } + + /** + * Sets the deviceCustomAttributeShellScripts + * The list of device custom attribute shell scripts associated with the tenant. + * + * @param DeviceCustomAttributeShellScript[] $val The deviceCustomAttributeShellScripts + * + * @return DeviceManagement + */ + public function setDeviceCustomAttributeShellScripts($val) + { + $this->_propDict["deviceCustomAttributeShellScripts"] = $val; + return $this; + } + + + /** + * Gets the deviceHealthScripts + * The list of device health scripts associated with the tenant. + * + * @return array|null The deviceHealthScripts + */ + public function getDeviceHealthScripts() + { + if (array_key_exists("deviceHealthScripts", $this->_propDict)) { + return $this->_propDict["deviceHealthScripts"]; + } else { + return null; + } + } + + /** + * Sets the deviceHealthScripts + * The list of device health scripts associated with the tenant. + * + * @param DeviceHealthScript[] $val The deviceHealthScripts + * + * @return DeviceManagement + */ + public function setDeviceHealthScripts($val) + { + $this->_propDict["deviceHealthScripts"] = $val; + return $this; + } + + + /** + * Gets the deviceManagementScripts + * The list of device management scripts associated with the tenant. + * + * @return array|null The deviceManagementScripts + */ + public function getDeviceManagementScripts() + { + if (array_key_exists("deviceManagementScripts", $this->_propDict)) { + return $this->_propDict["deviceManagementScripts"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementScripts + * The list of device management scripts associated with the tenant. + * + * @param DeviceManagementScript[] $val The deviceManagementScripts + * + * @return DeviceManagement + */ + public function setDeviceManagementScripts($val) + { + $this->_propDict["deviceManagementScripts"] = $val; + return $this; + } + + + /** + * Gets the deviceShellScripts + * The list of device shell scripts associated with the tenant. + * + * @return array|null The deviceShellScripts + */ + public function getDeviceShellScripts() + { + if (array_key_exists("deviceShellScripts", $this->_propDict)) { + return $this->_propDict["deviceShellScripts"]; + } else { + return null; + } + } + + /** + * Sets the deviceShellScripts + * The list of device shell scripts associated with the tenant. + * + * @param DeviceShellScript[] $val The deviceShellScripts + * + * @return DeviceManagement + */ + public function setDeviceShellScripts($val) + { + $this->_propDict["deviceShellScripts"] = $val; + return $this; + } + + /** + * Gets the managedDeviceOverview + * Device overview + * + * @return ManagedDeviceOverview|null The managedDeviceOverview + */ + public function getManagedDeviceOverview() + { + if (array_key_exists("managedDeviceOverview", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceOverview"], "\Beta\Microsoft\Graph\Model\ManagedDeviceOverview") || is_null($this->_propDict["managedDeviceOverview"])) { + return $this->_propDict["managedDeviceOverview"]; + } else { + $this->_propDict["managedDeviceOverview"] = new ManagedDeviceOverview($this->_propDict["managedDeviceOverview"]); + return $this->_propDict["managedDeviceOverview"]; + } + } + return null; + } + + /** + * Sets the managedDeviceOverview + * Device overview + * + * @param ManagedDeviceOverview $val The managedDeviceOverview + * + * @return DeviceManagement + */ + public function setManagedDeviceOverview($val) + { + $this->_propDict["managedDeviceOverview"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The list of managed devices. + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The list of managed devices. + * + * @param ManagedDevice[] $val The managedDevices + * + * @return DeviceManagement + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + + + /** + * Gets the mobileAppTroubleshootingEvents + * The collection property of MobileAppTroubleshootingEvent. + * + * @return array|null The mobileAppTroubleshootingEvents + */ + public function getMobileAppTroubleshootingEvents() + { + if (array_key_exists("mobileAppTroubleshootingEvents", $this->_propDict)) { + return $this->_propDict["mobileAppTroubleshootingEvents"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppTroubleshootingEvents + * The collection property of MobileAppTroubleshootingEvent. + * + * @param MobileAppTroubleshootingEvent[] $val The mobileAppTroubleshootingEvents + * + * @return DeviceManagement + */ + public function setMobileAppTroubleshootingEvents($val) + { + $this->_propDict["mobileAppTroubleshootingEvents"] = $val; + return $this; + } + + + /** + * Gets the oemWarrantyInformationOnboarding + * List of OEM Warranty Statuses + * + * @return array|null The oemWarrantyInformationOnboarding + */ + public function getOemWarrantyInformationOnboarding() + { + if (array_key_exists("oemWarrantyInformationOnboarding", $this->_propDict)) { + return $this->_propDict["oemWarrantyInformationOnboarding"]; + } else { + return null; + } + } + + /** + * Sets the oemWarrantyInformationOnboarding + * List of OEM Warranty Statuses + * + * @param OemWarrantyInformationOnboarding[] $val The oemWarrantyInformationOnboarding + * + * @return DeviceManagement + */ + public function setOemWarrantyInformationOnboarding($val) + { + $this->_propDict["oemWarrantyInformationOnboarding"] = $val; + return $this; + } + + + /** + * Gets the remoteActionAudits + * The list of device remote action audits with the tenant. + * + * @return array|null The remoteActionAudits + */ + public function getRemoteActionAudits() + { + if (array_key_exists("remoteActionAudits", $this->_propDict)) { + return $this->_propDict["remoteActionAudits"]; + } else { + return null; + } + } + + /** + * Sets the remoteActionAudits + * The list of device remote action audits with the tenant. + * + * @param RemoteActionAudit[] $val The remoteActionAudits + * + * @return DeviceManagement + */ + public function setRemoteActionAudits($val) + { + $this->_propDict["remoteActionAudits"] = $val; + return $this; + } + + /** + * Gets the tenantAttachRBAC + * TenantAttach RBAC Enablement + * + * @return TenantAttachRBAC|null The tenantAttachRBAC + */ + public function getTenantAttachRBAC() + { + if (array_key_exists("tenantAttachRBAC", $this->_propDict)) { + if (is_a($this->_propDict["tenantAttachRBAC"], "\Beta\Microsoft\Graph\Model\TenantAttachRBAC") || is_null($this->_propDict["tenantAttachRBAC"])) { + return $this->_propDict["tenantAttachRBAC"]; + } else { + $this->_propDict["tenantAttachRBAC"] = new TenantAttachRBAC($this->_propDict["tenantAttachRBAC"]); + return $this->_propDict["tenantAttachRBAC"]; + } + } + return null; + } + + /** + * Sets the tenantAttachRBAC + * TenantAttach RBAC Enablement + * + * @param TenantAttachRBAC $val The tenantAttachRBAC + * + * @return DeviceManagement + */ + public function setTenantAttachRBAC($val) + { + $this->_propDict["tenantAttachRBAC"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthApplicationPerformance + * User experience analytics appHealth Application Performance + * + * @return array|null The userExperienceAnalyticsAppHealthApplicationPerformance + */ + public function getUserExperienceAnalyticsAppHealthApplicationPerformance() + { + if (array_key_exists("userExperienceAnalyticsAppHealthApplicationPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthApplicationPerformance + * User experience analytics appHealth Application Performance + * + * @param UserExperienceAnalyticsAppHealthApplicationPerformance[] $val The userExperienceAnalyticsAppHealthApplicationPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthApplicationPerformance($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion + * User experience analytics appHealth Application Performance by App Version + * + * @return array|null The userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion + */ + public function getUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion() + { + if (array_key_exists("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion + * User experience analytics appHealth Application Performance by App Version + * + * @param UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion[] $val The userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails + * User experience analytics appHealth Application Performance by App Version details + * + * @return array|null The userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails + */ + public function getUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails() + { + if (array_key_exists("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails + * User experience analytics appHealth Application Performance by App Version details + * + * @param UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails[] $val The userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId + * User experience analytics appHealth Application Performance by App Version Device Id + * + * @return array|null The userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId + */ + public function getUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId() + { + if (array_key_exists("userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId + * User experience analytics appHealth Application Performance by App Version Device Id + * + * @param UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId[] $val The userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion + * User experience analytics appHealth Application Performance by OS Version + * + * @return array|null The userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion + */ + public function getUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion() + { + if (array_key_exists("userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion + * User experience analytics appHealth Application Performance by OS Version + * + * @param UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion[] $val The userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthDeviceModelPerformance + * User experience analytics appHealth Model Performance + * + * @return array|null The userExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function getUserExperienceAnalyticsAppHealthDeviceModelPerformance() + { + if (array_key_exists("userExperienceAnalyticsAppHealthDeviceModelPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthDeviceModelPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthDeviceModelPerformance + * User experience analytics appHealth Model Performance + * + * @param UserExperienceAnalyticsAppHealthDeviceModelPerformance[] $val The userExperienceAnalyticsAppHealthDeviceModelPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthDeviceModelPerformance($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthDeviceModelPerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthDevicePerformance + * User experience analytics appHealth Device Performance + * + * @return array|null The userExperienceAnalyticsAppHealthDevicePerformance + */ + public function getUserExperienceAnalyticsAppHealthDevicePerformance() + { + if (array_key_exists("userExperienceAnalyticsAppHealthDevicePerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthDevicePerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthDevicePerformance + * User experience analytics appHealth Device Performance + * + * @param UserExperienceAnalyticsAppHealthDevicePerformance[] $val The userExperienceAnalyticsAppHealthDevicePerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthDevicePerformance($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthDevicePerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthDevicePerformanceDetails + * User experience analytics device performance details + * + * @return array|null The userExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function getUserExperienceAnalyticsAppHealthDevicePerformanceDetails() + { + if (array_key_exists("userExperienceAnalyticsAppHealthDevicePerformanceDetails", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthDevicePerformanceDetails"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthDevicePerformanceDetails + * User experience analytics device performance details + * + * @param UserExperienceAnalyticsAppHealthDevicePerformanceDetails[] $val The userExperienceAnalyticsAppHealthDevicePerformanceDetails + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthDevicePerformanceDetails($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthDevicePerformanceDetails"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsAppHealthOSVersionPerformance + * User experience analytics appHealth OS version Performance + * + * @return array|null The userExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function getUserExperienceAnalyticsAppHealthOSVersionPerformance() + { + if (array_key_exists("userExperienceAnalyticsAppHealthOSVersionPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsAppHealthOSVersionPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsAppHealthOSVersionPerformance + * User experience analytics appHealth OS version Performance + * + * @param UserExperienceAnalyticsAppHealthOSVersionPerformance[] $val The userExperienceAnalyticsAppHealthOSVersionPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthOSVersionPerformance($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthOSVersionPerformance"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsAppHealthOverview + * User experience analytics appHealth overview + * + * @return UserExperienceAnalyticsCategory|null The userExperienceAnalyticsAppHealthOverview + */ + public function getUserExperienceAnalyticsAppHealthOverview() + { + if (array_key_exists("userExperienceAnalyticsAppHealthOverview", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsAppHealthOverview"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["userExperienceAnalyticsAppHealthOverview"])) { + return $this->_propDict["userExperienceAnalyticsAppHealthOverview"]; + } else { + $this->_propDict["userExperienceAnalyticsAppHealthOverview"] = new UserExperienceAnalyticsCategory($this->_propDict["userExperienceAnalyticsAppHealthOverview"]); + return $this->_propDict["userExperienceAnalyticsAppHealthOverview"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsAppHealthOverview + * User experience analytics appHealth overview + * + * @param UserExperienceAnalyticsCategory $val The userExperienceAnalyticsAppHealthOverview + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsAppHealthOverview($val) + { + $this->_propDict["userExperienceAnalyticsAppHealthOverview"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBaselines + * User experience analytics baselines + * + * @return array|null The userExperienceAnalyticsBaselines + */ + public function getUserExperienceAnalyticsBaselines() + { + if (array_key_exists("userExperienceAnalyticsBaselines", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBaselines"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBaselines + * User experience analytics baselines + * + * @param UserExperienceAnalyticsBaseline[] $val The userExperienceAnalyticsBaselines + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBaselines($val) + { + $this->_propDict["userExperienceAnalyticsBaselines"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBatteryHealthAppImpact + * User Experience Analytics Battery Health App Impact + * + * @return array|null The userExperienceAnalyticsBatteryHealthAppImpact + */ + public function getUserExperienceAnalyticsBatteryHealthAppImpact() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthAppImpact", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthAppImpact"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthAppImpact + * User Experience Analytics Battery Health App Impact + * + * @param UserExperienceAnalyticsBatteryHealthAppImpact[] $val The userExperienceAnalyticsBatteryHealthAppImpact + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthAppImpact($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthAppImpact"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsBatteryHealthCapacityDetails + * User Experience Analytics Battery Health Capacity Details + * + * @return UserExperienceAnalyticsBatteryHealthCapacityDetails|null The userExperienceAnalyticsBatteryHealthCapacityDetails + */ + public function getUserExperienceAnalyticsBatteryHealthCapacityDetails() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthCapacityDetails", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsBatteryHealthCapacityDetails") || is_null($this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"])) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"]; + } else { + $this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"] = new UserExperienceAnalyticsBatteryHealthCapacityDetails($this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"]); + return $this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthCapacityDetails + * User Experience Analytics Battery Health Capacity Details + * + * @param UserExperienceAnalyticsBatteryHealthCapacityDetails $val The userExperienceAnalyticsBatteryHealthCapacityDetails + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthCapacityDetails($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthCapacityDetails"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBatteryHealthDeviceAppImpact + * User Experience Analytics Battery Health Device App Impact + * + * @return array|null The userExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function getUserExperienceAnalyticsBatteryHealthDeviceAppImpact() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthDeviceAppImpact", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthDeviceAppImpact"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthDeviceAppImpact + * User Experience Analytics Battery Health Device App Impact + * + * @param UserExperienceAnalyticsBatteryHealthDeviceAppImpact[] $val The userExperienceAnalyticsBatteryHealthDeviceAppImpact + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthDeviceAppImpact($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthDeviceAppImpact"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBatteryHealthDevicePerformance + * User Experience Analytics Battery Health Device Performance + * + * @return array|null The userExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function getUserExperienceAnalyticsBatteryHealthDevicePerformance() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthDevicePerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthDevicePerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthDevicePerformance + * User Experience Analytics Battery Health Device Performance + * + * @param UserExperienceAnalyticsBatteryHealthDevicePerformance[] $val The userExperienceAnalyticsBatteryHealthDevicePerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthDevicePerformance($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthDevicePerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + * User Experience Analytics Battery Health Device Runtime History + * + * @return array|null The userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + */ + public function getUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + * User Experience Analytics Battery Health Device Runtime History + * + * @param UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory[] $val The userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBatteryHealthModelPerformance + * User Experience Analytics Battery Health Model Performance + * + * @return array|null The userExperienceAnalyticsBatteryHealthModelPerformance + */ + public function getUserExperienceAnalyticsBatteryHealthModelPerformance() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthModelPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthModelPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthModelPerformance + * User Experience Analytics Battery Health Model Performance + * + * @param UserExperienceAnalyticsBatteryHealthModelPerformance[] $val The userExperienceAnalyticsBatteryHealthModelPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthModelPerformance($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthModelPerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsBatteryHealthOsPerformance + * User Experience Analytics Battery Health Os Performance + * + * @return array|null The userExperienceAnalyticsBatteryHealthOsPerformance + */ + public function getUserExperienceAnalyticsBatteryHealthOsPerformance() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthOsPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthOsPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthOsPerformance + * User Experience Analytics Battery Health Os Performance + * + * @param UserExperienceAnalyticsBatteryHealthOsPerformance[] $val The userExperienceAnalyticsBatteryHealthOsPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthOsPerformance($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthOsPerformance"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsBatteryHealthRuntimeDetails + * User Experience Analytics Battery Health Runtime Details + * + * @return UserExperienceAnalyticsBatteryHealthRuntimeDetails|null The userExperienceAnalyticsBatteryHealthRuntimeDetails + */ + public function getUserExperienceAnalyticsBatteryHealthRuntimeDetails() + { + if (array_key_exists("userExperienceAnalyticsBatteryHealthRuntimeDetails", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsBatteryHealthRuntimeDetails") || is_null($this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"])) { + return $this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"]; + } else { + $this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"] = new UserExperienceAnalyticsBatteryHealthRuntimeDetails($this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"]); + return $this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsBatteryHealthRuntimeDetails + * User Experience Analytics Battery Health Runtime Details + * + * @param UserExperienceAnalyticsBatteryHealthRuntimeDetails $val The userExperienceAnalyticsBatteryHealthRuntimeDetails + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsBatteryHealthRuntimeDetails($val) + { + $this->_propDict["userExperienceAnalyticsBatteryHealthRuntimeDetails"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsCategories + * User experience analytics categories + * + * @return array|null The userExperienceAnalyticsCategories + */ + public function getUserExperienceAnalyticsCategories() + { + if (array_key_exists("userExperienceAnalyticsCategories", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsCategories"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsCategories + * User experience analytics categories + * + * @param UserExperienceAnalyticsCategory[] $val The userExperienceAnalyticsCategories + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsCategories($val) + { + $this->_propDict["userExperienceAnalyticsCategories"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDeviceMetricHistory + * User experience analytics device metric history + * + * @return array|null The userExperienceAnalyticsDeviceMetricHistory + */ + public function getUserExperienceAnalyticsDeviceMetricHistory() + { + if (array_key_exists("userExperienceAnalyticsDeviceMetricHistory", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceMetricHistory"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceMetricHistory + * User experience analytics device metric history + * + * @param UserExperienceAnalyticsMetricHistory[] $val The userExperienceAnalyticsDeviceMetricHistory + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceMetricHistory($val) + { + $this->_propDict["userExperienceAnalyticsDeviceMetricHistory"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDevicePerformance + * User experience analytics device performance + * + * @return array|null The userExperienceAnalyticsDevicePerformance + */ + public function getUserExperienceAnalyticsDevicePerformance() + { + if (array_key_exists("userExperienceAnalyticsDevicePerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDevicePerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDevicePerformance + * User experience analytics device performance + * + * @param UserExperienceAnalyticsDevicePerformance[] $val The userExperienceAnalyticsDevicePerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDevicePerformance($val) + { + $this->_propDict["userExperienceAnalyticsDevicePerformance"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsDeviceScope + * The user experience analytics device scope entity endpoint to trigger on the service to either START or STOP computing metrics data based on a device scope configuration. + * + * @return UserExperienceAnalyticsDeviceScope|null The userExperienceAnalyticsDeviceScope + */ + public function getUserExperienceAnalyticsDeviceScope() + { + if (array_key_exists("userExperienceAnalyticsDeviceScope", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsDeviceScope"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsDeviceScope") || is_null($this->_propDict["userExperienceAnalyticsDeviceScope"])) { + return $this->_propDict["userExperienceAnalyticsDeviceScope"]; + } else { + $this->_propDict["userExperienceAnalyticsDeviceScope"] = new UserExperienceAnalyticsDeviceScope($this->_propDict["userExperienceAnalyticsDeviceScope"]); + return $this->_propDict["userExperienceAnalyticsDeviceScope"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsDeviceScope + * The user experience analytics device scope entity endpoint to trigger on the service to either START or STOP computing metrics data based on a device scope configuration. + * + * @param UserExperienceAnalyticsDeviceScope $val The userExperienceAnalyticsDeviceScope + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceScope($val) + { + $this->_propDict["userExperienceAnalyticsDeviceScope"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDeviceScopes + * The user experience analytics device scope entity contains device scope configuration use to apply filtering on the endpoint analytics reports. + * + * @return array|null The userExperienceAnalyticsDeviceScopes + */ + public function getUserExperienceAnalyticsDeviceScopes() + { + if (array_key_exists("userExperienceAnalyticsDeviceScopes", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceScopes"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceScopes + * The user experience analytics device scope entity contains device scope configuration use to apply filtering on the endpoint analytics reports. + * + * @param UserExperienceAnalyticsDeviceScope[] $val The userExperienceAnalyticsDeviceScopes + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceScopes($val) + { + $this->_propDict["userExperienceAnalyticsDeviceScopes"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDeviceScores + * User experience analytics device scores + * + * @return array|null The userExperienceAnalyticsDeviceScores + */ + public function getUserExperienceAnalyticsDeviceScores() + { + if (array_key_exists("userExperienceAnalyticsDeviceScores", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceScores"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceScores + * User experience analytics device scores + * + * @param UserExperienceAnalyticsDeviceScores[] $val The userExperienceAnalyticsDeviceScores + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceScores($val) + { + $this->_propDict["userExperienceAnalyticsDeviceScores"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDeviceStartupHistory + * User experience analytics device Startup History + * + * @return array|null The userExperienceAnalyticsDeviceStartupHistory + */ + public function getUserExperienceAnalyticsDeviceStartupHistory() + { + if (array_key_exists("userExperienceAnalyticsDeviceStartupHistory", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceStartupHistory"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceStartupHistory + * User experience analytics device Startup History + * + * @param UserExperienceAnalyticsDeviceStartupHistory[] $val The userExperienceAnalyticsDeviceStartupHistory + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceStartupHistory($val) + { + $this->_propDict["userExperienceAnalyticsDeviceStartupHistory"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDeviceStartupProcesses + * User experience analytics device Startup Processes + * + * @return array|null The userExperienceAnalyticsDeviceStartupProcesses + */ + public function getUserExperienceAnalyticsDeviceStartupProcesses() + { + if (array_key_exists("userExperienceAnalyticsDeviceStartupProcesses", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceStartupProcesses"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceStartupProcesses + * User experience analytics device Startup Processes + * + * @param UserExperienceAnalyticsDeviceStartupProcess[] $val The userExperienceAnalyticsDeviceStartupProcesses + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceStartupProcesses($val) + { + $this->_propDict["userExperienceAnalyticsDeviceStartupProcesses"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDeviceStartupProcessPerformance + * User experience analytics device Startup Process Performance + * + * @return array|null The userExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function getUserExperienceAnalyticsDeviceStartupProcessPerformance() + { + if (array_key_exists("userExperienceAnalyticsDeviceStartupProcessPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDeviceStartupProcessPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDeviceStartupProcessPerformance + * User experience analytics device Startup Process Performance + * + * @param UserExperienceAnalyticsDeviceStartupProcessPerformance[] $val The userExperienceAnalyticsDeviceStartupProcessPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDeviceStartupProcessPerformance($val) + { + $this->_propDict["userExperienceAnalyticsDeviceStartupProcessPerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsDevicesWithoutCloudIdentity + * User experience analytics devices without cloud identity. + * + * @return array|null The userExperienceAnalyticsDevicesWithoutCloudIdentity + */ + public function getUserExperienceAnalyticsDevicesWithoutCloudIdentity() + { + if (array_key_exists("userExperienceAnalyticsDevicesWithoutCloudIdentity", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsDevicesWithoutCloudIdentity"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsDevicesWithoutCloudIdentity + * User experience analytics devices without cloud identity. + * + * @param UserExperienceAnalyticsDeviceWithoutCloudIdentity[] $val The userExperienceAnalyticsDevicesWithoutCloudIdentity + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsDevicesWithoutCloudIdentity($val) + { + $this->_propDict["userExperienceAnalyticsDevicesWithoutCloudIdentity"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsImpactingProcess + * User experience analytics impacting process + * + * @return array|null The userExperienceAnalyticsImpactingProcess + */ + public function getUserExperienceAnalyticsImpactingProcess() + { + if (array_key_exists("userExperienceAnalyticsImpactingProcess", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsImpactingProcess"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsImpactingProcess + * User experience analytics impacting process + * + * @param UserExperienceAnalyticsImpactingProcess[] $val The userExperienceAnalyticsImpactingProcess + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsImpactingProcess($val) + { + $this->_propDict["userExperienceAnalyticsImpactingProcess"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsMetricHistory + * User experience analytics metric history + * + * @return array|null The userExperienceAnalyticsMetricHistory + */ + public function getUserExperienceAnalyticsMetricHistory() + { + if (array_key_exists("userExperienceAnalyticsMetricHistory", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsMetricHistory"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsMetricHistory + * User experience analytics metric history + * + * @param UserExperienceAnalyticsMetricHistory[] $val The userExperienceAnalyticsMetricHistory + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsMetricHistory($val) + { + $this->_propDict["userExperienceAnalyticsMetricHistory"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsModelScores + * User experience analytics model scores + * + * @return array|null The userExperienceAnalyticsModelScores + */ + public function getUserExperienceAnalyticsModelScores() + { + if (array_key_exists("userExperienceAnalyticsModelScores", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsModelScores"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsModelScores + * User experience analytics model scores + * + * @param UserExperienceAnalyticsModelScores[] $val The userExperienceAnalyticsModelScores + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsModelScores($val) + { + $this->_propDict["userExperienceAnalyticsModelScores"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsNotAutopilotReadyDevice + * User experience analytics devices not Windows Autopilot ready. + * + * @return array|null The userExperienceAnalyticsNotAutopilotReadyDevice + */ + public function getUserExperienceAnalyticsNotAutopilotReadyDevice() + { + if (array_key_exists("userExperienceAnalyticsNotAutopilotReadyDevice", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsNotAutopilotReadyDevice"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsNotAutopilotReadyDevice + * User experience analytics devices not Windows Autopilot ready. + * + * @param UserExperienceAnalyticsNotAutopilotReadyDevice[] $val The userExperienceAnalyticsNotAutopilotReadyDevice + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsNotAutopilotReadyDevice($val) + { + $this->_propDict["userExperienceAnalyticsNotAutopilotReadyDevice"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsOverview + * User experience analytics overview + * + * @return UserExperienceAnalyticsOverview|null The userExperienceAnalyticsOverview + */ + public function getUserExperienceAnalyticsOverview() + { + if (array_key_exists("userExperienceAnalyticsOverview", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsOverview"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsOverview") || is_null($this->_propDict["userExperienceAnalyticsOverview"])) { + return $this->_propDict["userExperienceAnalyticsOverview"]; + } else { + $this->_propDict["userExperienceAnalyticsOverview"] = new UserExperienceAnalyticsOverview($this->_propDict["userExperienceAnalyticsOverview"]); + return $this->_propDict["userExperienceAnalyticsOverview"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsOverview + * User experience analytics overview + * + * @param UserExperienceAnalyticsOverview $val The userExperienceAnalyticsOverview + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsOverview($val) + { + $this->_propDict["userExperienceAnalyticsOverview"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsRegressionSummary + * User experience analytics regression summary + * + * @return UserExperienceAnalyticsRegressionSummary|null The userExperienceAnalyticsRegressionSummary + */ + public function getUserExperienceAnalyticsRegressionSummary() + { + if (array_key_exists("userExperienceAnalyticsRegressionSummary", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsRegressionSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsRegressionSummary") || is_null($this->_propDict["userExperienceAnalyticsRegressionSummary"])) { + return $this->_propDict["userExperienceAnalyticsRegressionSummary"]; + } else { + $this->_propDict["userExperienceAnalyticsRegressionSummary"] = new UserExperienceAnalyticsRegressionSummary($this->_propDict["userExperienceAnalyticsRegressionSummary"]); + return $this->_propDict["userExperienceAnalyticsRegressionSummary"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsRegressionSummary + * User experience analytics regression summary + * + * @param UserExperienceAnalyticsRegressionSummary $val The userExperienceAnalyticsRegressionSummary + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsRegressionSummary($val) + { + $this->_propDict["userExperienceAnalyticsRegressionSummary"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsRemoteConnection + * User experience analytics remote connection + * + * @return array|null The userExperienceAnalyticsRemoteConnection + */ + public function getUserExperienceAnalyticsRemoteConnection() + { + if (array_key_exists("userExperienceAnalyticsRemoteConnection", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsRemoteConnection"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsRemoteConnection + * User experience analytics remote connection + * + * @param UserExperienceAnalyticsRemoteConnection[] $val The userExperienceAnalyticsRemoteConnection + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsRemoteConnection($val) + { + $this->_propDict["userExperienceAnalyticsRemoteConnection"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsResourcePerformance + * User experience analytics resource performance + * + * @return array|null The userExperienceAnalyticsResourcePerformance + */ + public function getUserExperienceAnalyticsResourcePerformance() + { + if (array_key_exists("userExperienceAnalyticsResourcePerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsResourcePerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsResourcePerformance + * User experience analytics resource performance + * + * @param UserExperienceAnalyticsResourcePerformance[] $val The userExperienceAnalyticsResourcePerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsResourcePerformance($val) + { + $this->_propDict["userExperienceAnalyticsResourcePerformance"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsScoreHistory + * User experience analytics device Startup Score History + * + * @return array|null The userExperienceAnalyticsScoreHistory + */ + public function getUserExperienceAnalyticsScoreHistory() + { + if (array_key_exists("userExperienceAnalyticsScoreHistory", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsScoreHistory"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsScoreHistory + * User experience analytics device Startup Score History + * + * @param UserExperienceAnalyticsScoreHistory[] $val The userExperienceAnalyticsScoreHistory + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsScoreHistory($val) + { + $this->_propDict["userExperienceAnalyticsScoreHistory"] = $val; + return $this; + } + + /** + * Gets the userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + * User experience analytics work from anywhere hardware readiness metrics. + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric|null The userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function getUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric() + { + if (array_key_exists("userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", $this->_propDict)) { + if (is_a($this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric") || is_null($this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"])) { + return $this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"]; + } else { + $this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"] = new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric($this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"]); + return $this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"]; + } + } + return null; + } + + /** + * Sets the userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + * User experience analytics work from anywhere hardware readiness metrics. + * + * @param UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric $val The userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric($val) + { + $this->_propDict["userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsWorkFromAnywhereMetrics + * User experience analytics work from anywhere metrics. + * + * @return array|null The userExperienceAnalyticsWorkFromAnywhereMetrics + */ + public function getUserExperienceAnalyticsWorkFromAnywhereMetrics() + { + if (array_key_exists("userExperienceAnalyticsWorkFromAnywhereMetrics", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsWorkFromAnywhereMetrics"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsWorkFromAnywhereMetrics + * User experience analytics work from anywhere metrics. + * + * @param UserExperienceAnalyticsWorkFromAnywhereMetric[] $val The userExperienceAnalyticsWorkFromAnywhereMetrics + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsWorkFromAnywhereMetrics($val) + { + $this->_propDict["userExperienceAnalyticsWorkFromAnywhereMetrics"] = $val; + return $this; + } + + + /** + * Gets the userExperienceAnalyticsWorkFromAnywhereModelPerformance + * The user experience analytics work from anywhere model performance + * + * @return array|null The userExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function getUserExperienceAnalyticsWorkFromAnywhereModelPerformance() + { + if (array_key_exists("userExperienceAnalyticsWorkFromAnywhereModelPerformance", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsWorkFromAnywhereModelPerformance"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsWorkFromAnywhereModelPerformance + * The user experience analytics work from anywhere model performance + * + * @param UserExperienceAnalyticsWorkFromAnywhereModelPerformance[] $val The userExperienceAnalyticsWorkFromAnywhereModelPerformance + * + * @return DeviceManagement + */ + public function setUserExperienceAnalyticsWorkFromAnywhereModelPerformance($val) + { + $this->_propDict["userExperienceAnalyticsWorkFromAnywhereModelPerformance"] = $val; + return $this; + } + + + /** + * Gets the windowsMalwareInformation + * The list of affected malware in the tenant. + * + * @return array|null The windowsMalwareInformation + */ + public function getWindowsMalwareInformation() + { + if (array_key_exists("windowsMalwareInformation", $this->_propDict)) { + return $this->_propDict["windowsMalwareInformation"]; + } else { + return null; + } + } + + /** + * Sets the windowsMalwareInformation + * The list of affected malware in the tenant. + * + * @param WindowsMalwareInformation[] $val The windowsMalwareInformation + * + * @return DeviceManagement + */ + public function setWindowsMalwareInformation($val) + { + $this->_propDict["windowsMalwareInformation"] = $val; + return $this; + } + + + /** + * Gets the derivedCredentials + * Collection of Derived credential settings associated with account. + * + * @return array|null The derivedCredentials + */ + public function getDerivedCredentials() + { + if (array_key_exists("derivedCredentials", $this->_propDict)) { + return $this->_propDict["derivedCredentials"]; + } else { + return null; + } + } + + /** + * Sets the derivedCredentials + * Collection of Derived credential settings associated with account. + * + * @param DeviceManagementDerivedCredentialSettings[] $val The derivedCredentials + * + * @return DeviceManagement + */ + public function setDerivedCredentials($val) + { + $this->_propDict["derivedCredentials"] = $val; + return $this; + } + + + /** + * Gets the resourceAccessProfiles + * Collection of resource access settings associated with account. + * + * @return array|null The resourceAccessProfiles + */ + public function getResourceAccessProfiles() + { + if (array_key_exists("resourceAccessProfiles", $this->_propDict)) { + return $this->_propDict["resourceAccessProfiles"]; + } else { + return null; + } + } + + /** + * Sets the resourceAccessProfiles + * Collection of resource access settings associated with account. + * + * @param DeviceManagementResourceAccessProfileBase[] $val The resourceAccessProfiles + * + * @return DeviceManagement + */ + public function setResourceAccessProfiles($val) + { + $this->_propDict["resourceAccessProfiles"] = $val; + return $this; + } + + + /** + * Gets the appleUserInitiatedEnrollmentProfiles + * Apple user initiated enrollment profiles + * + * @return array|null The appleUserInitiatedEnrollmentProfiles + */ + public function getAppleUserInitiatedEnrollmentProfiles() + { + if (array_key_exists("appleUserInitiatedEnrollmentProfiles", $this->_propDict)) { + return $this->_propDict["appleUserInitiatedEnrollmentProfiles"]; + } else { + return null; + } + } + + /** + * Sets the appleUserInitiatedEnrollmentProfiles + * Apple user initiated enrollment profiles + * + * @param AppleUserInitiatedEnrollmentProfile[] $val The appleUserInitiatedEnrollmentProfiles + * + * @return DeviceManagement + */ + public function setAppleUserInitiatedEnrollmentProfiles($val) + { + $this->_propDict["appleUserInitiatedEnrollmentProfiles"] = $val; + return $this; + } + + + /** + * Gets the depOnboardingSettings + * This collections of multiple DEP tokens per-tenant. + * + * @return array|null The depOnboardingSettings + */ + public function getDepOnboardingSettings() + { + if (array_key_exists("depOnboardingSettings", $this->_propDict)) { + return $this->_propDict["depOnboardingSettings"]; + } else { + return null; + } + } + + /** + * Sets the depOnboardingSettings + * This collections of multiple DEP tokens per-tenant. + * + * @param DepOnboardingSetting[] $val The depOnboardingSettings + * + * @return DeviceManagement + */ + public function setDepOnboardingSettings($val) + { + $this->_propDict["depOnboardingSettings"] = $val; + return $this; + } + + + /** + * Gets the importedDeviceIdentities + * The imported device identities. + * + * @return array|null The importedDeviceIdentities + */ + public function getImportedDeviceIdentities() + { + if (array_key_exists("importedDeviceIdentities", $this->_propDict)) { + return $this->_propDict["importedDeviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the importedDeviceIdentities + * The imported device identities. + * + * @param ImportedDeviceIdentity[] $val The importedDeviceIdentities + * + * @return DeviceManagement + */ + public function setImportedDeviceIdentities($val) + { + $this->_propDict["importedDeviceIdentities"] = $val; + return $this; + } + + + /** + * Gets the importedWindowsAutopilotDeviceIdentities + * Collection of imported Windows autopilot devices. + * + * @return array|null The importedWindowsAutopilotDeviceIdentities + */ + public function getImportedWindowsAutopilotDeviceIdentities() + { + if (array_key_exists("importedWindowsAutopilotDeviceIdentities", $this->_propDict)) { + return $this->_propDict["importedWindowsAutopilotDeviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the importedWindowsAutopilotDeviceIdentities + * Collection of imported Windows autopilot devices. + * + * @param ImportedWindowsAutopilotDeviceIdentity[] $val The importedWindowsAutopilotDeviceIdentities + * + * @return DeviceManagement + */ + public function setImportedWindowsAutopilotDeviceIdentities($val) + { + $this->_propDict["importedWindowsAutopilotDeviceIdentities"] = $val; + return $this; + } + + + /** + * Gets the windowsAutopilotDeploymentProfiles + * Windows auto pilot deployment profiles + * + * @return array|null The windowsAutopilotDeploymentProfiles + */ + public function getWindowsAutopilotDeploymentProfiles() + { + if (array_key_exists("windowsAutopilotDeploymentProfiles", $this->_propDict)) { + return $this->_propDict["windowsAutopilotDeploymentProfiles"]; + } else { + return null; + } + } + + /** + * Sets the windowsAutopilotDeploymentProfiles + * Windows auto pilot deployment profiles + * + * @param WindowsAutopilotDeploymentProfile[] $val The windowsAutopilotDeploymentProfiles + * + * @return DeviceManagement + */ + public function setWindowsAutopilotDeploymentProfiles($val) + { + $this->_propDict["windowsAutopilotDeploymentProfiles"] = $val; + return $this; + } + + + /** + * Gets the windowsAutopilotDeviceIdentities + * The Windows autopilot device identities contained collection. + * + * @return array|null The windowsAutopilotDeviceIdentities + */ + public function getWindowsAutopilotDeviceIdentities() + { + if (array_key_exists("windowsAutopilotDeviceIdentities", $this->_propDict)) { + return $this->_propDict["windowsAutopilotDeviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the windowsAutopilotDeviceIdentities + * The Windows autopilot device identities contained collection. + * + * @param WindowsAutopilotDeviceIdentity[] $val The windowsAutopilotDeviceIdentities + * + * @return DeviceManagement + */ + public function setWindowsAutopilotDeviceIdentities($val) + { + $this->_propDict["windowsAutopilotDeviceIdentities"] = $val; + return $this; + } + + /** + * Gets the windowsAutopilotSettings + * The Windows autopilot account settings. + * + * @return WindowsAutopilotSettings|null The windowsAutopilotSettings + */ + public function getWindowsAutopilotSettings() + { + if (array_key_exists("windowsAutopilotSettings", $this->_propDict)) { + if (is_a($this->_propDict["windowsAutopilotSettings"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotSettings") || is_null($this->_propDict["windowsAutopilotSettings"])) { + return $this->_propDict["windowsAutopilotSettings"]; + } else { + $this->_propDict["windowsAutopilotSettings"] = new WindowsAutopilotSettings($this->_propDict["windowsAutopilotSettings"]); + return $this->_propDict["windowsAutopilotSettings"]; + } + } + return null; + } + + /** + * Sets the windowsAutopilotSettings + * The Windows autopilot account settings. + * + * @param WindowsAutopilotSettings $val The windowsAutopilotSettings + * + * @return DeviceManagement + */ + public function setWindowsAutopilotSettings($val) + { + $this->_propDict["windowsAutopilotSettings"] = $val; + return $this; + } + + + /** + * Gets the zebraFotaArtifacts + * The Collection of ZebraFotaArtifacts. + * + * @return array|null The zebraFotaArtifacts + */ + public function getZebraFotaArtifacts() + { + if (array_key_exists("zebraFotaArtifacts", $this->_propDict)) { + return $this->_propDict["zebraFotaArtifacts"]; + } else { + return null; + } + } + + /** + * Sets the zebraFotaArtifacts + * The Collection of ZebraFotaArtifacts. + * + * @param ZebraFotaArtifact[] $val The zebraFotaArtifacts + * + * @return DeviceManagement + */ + public function setZebraFotaArtifacts($val) + { + $this->_propDict["zebraFotaArtifacts"] = $val; + return $this; + } + + /** + * Gets the zebraFotaConnector + * The singleton ZebraFotaConnector associated with account. + * + * @return ZebraFotaConnector|null The zebraFotaConnector + */ + public function getZebraFotaConnector() + { + if (array_key_exists("zebraFotaConnector", $this->_propDict)) { + if (is_a($this->_propDict["zebraFotaConnector"], "\Beta\Microsoft\Graph\Model\ZebraFotaConnector") || is_null($this->_propDict["zebraFotaConnector"])) { + return $this->_propDict["zebraFotaConnector"]; + } else { + $this->_propDict["zebraFotaConnector"] = new ZebraFotaConnector($this->_propDict["zebraFotaConnector"]); + return $this->_propDict["zebraFotaConnector"]; + } + } + return null; + } + + /** + * Sets the zebraFotaConnector + * The singleton ZebraFotaConnector associated with account. + * + * @param ZebraFotaConnector $val The zebraFotaConnector + * + * @return DeviceManagement + */ + public function setZebraFotaConnector($val) + { + $this->_propDict["zebraFotaConnector"] = $val; + return $this; + } + + + /** + * Gets the zebraFotaDeployments + * Collection of ZebraFotaDeployments associated with account. + * + * @return array|null The zebraFotaDeployments + */ + public function getZebraFotaDeployments() + { + if (array_key_exists("zebraFotaDeployments", $this->_propDict)) { + return $this->_propDict["zebraFotaDeployments"]; + } else { + return null; + } + } + + /** + * Sets the zebraFotaDeployments + * Collection of ZebraFotaDeployments associated with account. + * + * @param ZebraFotaDeployment[] $val The zebraFotaDeployments + * + * @return DeviceManagement + */ + public function setZebraFotaDeployments($val) + { + $this->_propDict["zebraFotaDeployments"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyMigrationReports + * A list of Group Policy migration reports. + * + * @return array|null The groupPolicyMigrationReports + */ + public function getGroupPolicyMigrationReports() + { + if (array_key_exists("groupPolicyMigrationReports", $this->_propDict)) { + return $this->_propDict["groupPolicyMigrationReports"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyMigrationReports + * A list of Group Policy migration reports. + * + * @param GroupPolicyMigrationReport[] $val The groupPolicyMigrationReports + * + * @return DeviceManagement + */ + public function setGroupPolicyMigrationReports($val) + { + $this->_propDict["groupPolicyMigrationReports"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyObjectFiles + * A list of Group Policy Object files uploaded. + * + * @return array|null The groupPolicyObjectFiles + */ + public function getGroupPolicyObjectFiles() + { + if (array_key_exists("groupPolicyObjectFiles", $this->_propDict)) { + return $this->_propDict["groupPolicyObjectFiles"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyObjectFiles + * A list of Group Policy Object files uploaded. + * + * @param GroupPolicyObjectFile[] $val The groupPolicyObjectFiles + * + * @return DeviceManagement + */ + public function setGroupPolicyObjectFiles($val) + { + $this->_propDict["groupPolicyObjectFiles"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyCategories + * The available group policy categories for this account. + * + * @return array|null The groupPolicyCategories + */ + public function getGroupPolicyCategories() + { + if (array_key_exists("groupPolicyCategories", $this->_propDict)) { + return $this->_propDict["groupPolicyCategories"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyCategories + * The available group policy categories for this account. + * + * @param GroupPolicyCategory[] $val The groupPolicyCategories + * + * @return DeviceManagement + */ + public function setGroupPolicyCategories($val) + { + $this->_propDict["groupPolicyCategories"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyConfigurations + * The group policy configurations created by this account. + * + * @return array|null The groupPolicyConfigurations + */ + public function getGroupPolicyConfigurations() + { + if (array_key_exists("groupPolicyConfigurations", $this->_propDict)) { + return $this->_propDict["groupPolicyConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyConfigurations + * The group policy configurations created by this account. + * + * @param GroupPolicyConfiguration[] $val The groupPolicyConfigurations + * + * @return DeviceManagement + */ + public function setGroupPolicyConfigurations($val) + { + $this->_propDict["groupPolicyConfigurations"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyDefinitionFiles + * The available group policy definition files for this account. + * + * @return array|null The groupPolicyDefinitionFiles + */ + public function getGroupPolicyDefinitionFiles() + { + if (array_key_exists("groupPolicyDefinitionFiles", $this->_propDict)) { + return $this->_propDict["groupPolicyDefinitionFiles"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyDefinitionFiles + * The available group policy definition files for this account. + * + * @param GroupPolicyDefinitionFile[] $val The groupPolicyDefinitionFiles + * + * @return DeviceManagement + */ + public function setGroupPolicyDefinitionFiles($val) + { + $this->_propDict["groupPolicyDefinitionFiles"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyDefinitions + * The available group policy definitions for this account. + * + * @return array|null The groupPolicyDefinitions + */ + public function getGroupPolicyDefinitions() + { + if (array_key_exists("groupPolicyDefinitions", $this->_propDict)) { + return $this->_propDict["groupPolicyDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyDefinitions + * The available group policy definitions for this account. + * + * @param GroupPolicyDefinition[] $val The groupPolicyDefinitions + * + * @return DeviceManagement + */ + public function setGroupPolicyDefinitions($val) + { + $this->_propDict["groupPolicyDefinitions"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyUploadedDefinitionFiles + * The available group policy uploaded definition files for this account. + * + * @return array|null The groupPolicyUploadedDefinitionFiles + */ + public function getGroupPolicyUploadedDefinitionFiles() + { + if (array_key_exists("groupPolicyUploadedDefinitionFiles", $this->_propDict)) { + return $this->_propDict["groupPolicyUploadedDefinitionFiles"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyUploadedDefinitionFiles + * The available group policy uploaded definition files for this account. + * + * @param GroupPolicyUploadedDefinitionFile[] $val The groupPolicyUploadedDefinitionFiles + * + * @return DeviceManagement + */ + public function setGroupPolicyUploadedDefinitionFiles($val) + { + $this->_propDict["groupPolicyUploadedDefinitionFiles"] = $val; + return $this; + } + + + /** + * Gets the microsoftTunnelConfigurations + * Collection of MicrosoftTunnelConfiguration settings associated with account. + * + * @return array|null The microsoftTunnelConfigurations + */ + public function getMicrosoftTunnelConfigurations() + { + if (array_key_exists("microsoftTunnelConfigurations", $this->_propDict)) { + return $this->_propDict["microsoftTunnelConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelConfigurations + * Collection of MicrosoftTunnelConfiguration settings associated with account. + * + * @param MicrosoftTunnelConfiguration[] $val The microsoftTunnelConfigurations + * + * @return DeviceManagement + */ + public function setMicrosoftTunnelConfigurations($val) + { + $this->_propDict["microsoftTunnelConfigurations"] = $val; + return $this; + } + + + /** + * Gets the microsoftTunnelHealthThresholds + * Collection of MicrosoftTunnelHealthThreshold settings associated with account. + * + * @return array|null The microsoftTunnelHealthThresholds + */ + public function getMicrosoftTunnelHealthThresholds() + { + if (array_key_exists("microsoftTunnelHealthThresholds", $this->_propDict)) { + return $this->_propDict["microsoftTunnelHealthThresholds"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelHealthThresholds + * Collection of MicrosoftTunnelHealthThreshold settings associated with account. + * + * @param MicrosoftTunnelHealthThreshold[] $val The microsoftTunnelHealthThresholds + * + * @return DeviceManagement + */ + public function setMicrosoftTunnelHealthThresholds($val) + { + $this->_propDict["microsoftTunnelHealthThresholds"] = $val; + return $this; + } + + + /** + * Gets the microsoftTunnelServerLogCollectionResponses + * Collection of MicrosoftTunnelServerLogCollectionResponse settings associated with account. + * + * @return array|null The microsoftTunnelServerLogCollectionResponses + */ + public function getMicrosoftTunnelServerLogCollectionResponses() + { + if (array_key_exists("microsoftTunnelServerLogCollectionResponses", $this->_propDict)) { + return $this->_propDict["microsoftTunnelServerLogCollectionResponses"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelServerLogCollectionResponses + * Collection of MicrosoftTunnelServerLogCollectionResponse settings associated with account. + * + * @param MicrosoftTunnelServerLogCollectionResponse[] $val The microsoftTunnelServerLogCollectionResponses + * + * @return DeviceManagement + */ + public function setMicrosoftTunnelServerLogCollectionResponses($val) + { + $this->_propDict["microsoftTunnelServerLogCollectionResponses"] = $val; + return $this; + } + + + /** + * Gets the microsoftTunnelSites + * Collection of MicrosoftTunnelSite settings associated with account. + * + * @return array|null The microsoftTunnelSites + */ + public function getMicrosoftTunnelSites() + { + if (array_key_exists("microsoftTunnelSites", $this->_propDict)) { + return $this->_propDict["microsoftTunnelSites"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelSites + * Collection of MicrosoftTunnelSite settings associated with account. + * + * @param MicrosoftTunnelSite[] $val The microsoftTunnelSites + * + * @return DeviceManagement + */ + public function setMicrosoftTunnelSites($val) + { + $this->_propDict["microsoftTunnelSites"] = $val; + return $this; + } + + + /** + * Gets the notificationMessageTemplates + * The Notification Message Templates. + * + * @return array|null The notificationMessageTemplates + */ + public function getNotificationMessageTemplates() + { + if (array_key_exists("notificationMessageTemplates", $this->_propDict)) { + return $this->_propDict["notificationMessageTemplates"]; + } else { + return null; + } + } + + /** + * Sets the notificationMessageTemplates + * The Notification Message Templates. + * + * @param NotificationMessageTemplate[] $val The notificationMessageTemplates + * + * @return DeviceManagement + */ + public function setNotificationMessageTemplates($val) + { + $this->_propDict["notificationMessageTemplates"] = $val; + return $this; + } + + + /** + * Gets the domainJoinConnectors + * A list of connector objects. + * + * @return array|null The domainJoinConnectors + */ + public function getDomainJoinConnectors() + { + if (array_key_exists("domainJoinConnectors", $this->_propDict)) { + return $this->_propDict["domainJoinConnectors"]; + } else { + return null; + } + } + + /** + * Sets the domainJoinConnectors + * A list of connector objects. + * + * @param DeviceManagementDomainJoinConnector[] $val The domainJoinConnectors + * + * @return DeviceManagement + */ + public function setDomainJoinConnectors($val) + { + $this->_propDict["domainJoinConnectors"] = $val; + return $this; + } + + + /** + * Gets the configManagerCollections + * A list of ConfigManagerCollection + * + * @return array|null The configManagerCollections + */ + public function getConfigManagerCollections() + { + if (array_key_exists("configManagerCollections", $this->_propDict)) { + return $this->_propDict["configManagerCollections"]; + } else { + return null; + } + } + + /** + * Sets the configManagerCollections + * A list of ConfigManagerCollection + * + * @param ConfigManagerCollection[] $val The configManagerCollections + * + * @return DeviceManagement + */ + public function setConfigManagerCollections($val) + { + $this->_propDict["configManagerCollections"] = $val; + return $this; + } + + + /** + * Gets the resourceOperations + * The Resource Operations. + * + * @return array|null The resourceOperations + */ + public function getResourceOperations() + { + if (array_key_exists("resourceOperations", $this->_propDict)) { + return $this->_propDict["resourceOperations"]; + } else { + return null; + } + } + + /** + * Sets the resourceOperations + * The Resource Operations. + * + * @param ResourceOperation[] $val The resourceOperations + * + * @return DeviceManagement + */ + public function setResourceOperations($val) + { + $this->_propDict["resourceOperations"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * The Role Assignments. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * The Role Assignments. + * + * @param DeviceAndAppManagementRoleAssignment[] $val The roleAssignments + * + * @return DeviceManagement + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * The Role Definitions. + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * The Role Definitions. + * + * @param RoleDefinition[] $val The roleDefinitions + * + * @return DeviceManagement + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the roleScopeTags + * The Role Scope Tags. + * + * @return array|null The roleScopeTags + */ + public function getRoleScopeTags() + { + if (array_key_exists("roleScopeTags", $this->_propDict)) { + return $this->_propDict["roleScopeTags"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTags + * The Role Scope Tags. + * + * @param RoleScopeTag[] $val The roleScopeTags + * + * @return DeviceManagement + */ + public function setRoleScopeTags($val) + { + $this->_propDict["roleScopeTags"] = $val; + return $this; + } + + + /** + * Gets the remoteAssistancePartners + * The remote assist partners. + * + * @return array|null The remoteAssistancePartners + */ + public function getRemoteAssistancePartners() + { + if (array_key_exists("remoteAssistancePartners", $this->_propDict)) { + return $this->_propDict["remoteAssistancePartners"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistancePartners + * The remote assist partners. + * + * @param RemoteAssistancePartner[] $val The remoteAssistancePartners + * + * @return DeviceManagement + */ + public function setRemoteAssistancePartners($val) + { + $this->_propDict["remoteAssistancePartners"] = $val; + return $this; + } + + /** + * Gets the remoteAssistanceSettings + * The remote assistance settings singleton + * + * @return RemoteAssistanceSettings|null The remoteAssistanceSettings + */ + public function getRemoteAssistanceSettings() + { + if (array_key_exists("remoteAssistanceSettings", $this->_propDict)) { + if (is_a($this->_propDict["remoteAssistanceSettings"], "\Beta\Microsoft\Graph\Model\RemoteAssistanceSettings") || is_null($this->_propDict["remoteAssistanceSettings"])) { + return $this->_propDict["remoteAssistanceSettings"]; + } else { + $this->_propDict["remoteAssistanceSettings"] = new RemoteAssistanceSettings($this->_propDict["remoteAssistanceSettings"]); + return $this->_propDict["remoteAssistanceSettings"]; + } + } + return null; + } + + /** + * Sets the remoteAssistanceSettings + * The remote assistance settings singleton + * + * @param RemoteAssistanceSettings $val The remoteAssistanceSettings + * + * @return DeviceManagement + */ + public function setRemoteAssistanceSettings($val) + { + $this->_propDict["remoteAssistanceSettings"] = $val; + return $this; + } + + /** + * Gets the reports + * Reports singleton + * + * @return DeviceManagementReports|null The reports + */ + public function getReports() + { + if (array_key_exists("reports", $this->_propDict)) { + if (is_a($this->_propDict["reports"], "\Beta\Microsoft\Graph\Model\DeviceManagementReports") || is_null($this->_propDict["reports"])) { + return $this->_propDict["reports"]; + } else { + $this->_propDict["reports"] = new DeviceManagementReports($this->_propDict["reports"]); + return $this->_propDict["reports"]; + } + } + return null; + } + + /** + * Sets the reports + * Reports singleton + * + * @param DeviceManagementReports $val The reports + * + * @return DeviceManagement + */ + public function setReports($val) + { + $this->_propDict["reports"] = $val; + return $this; + } + + + /** + * Gets the embeddedSIMActivationCodePools + * The embedded SIM activation code pools created by this account. + * + * @return array|null The embeddedSIMActivationCodePools + */ + public function getEmbeddedSIMActivationCodePools() + { + if (array_key_exists("embeddedSIMActivationCodePools", $this->_propDict)) { + return $this->_propDict["embeddedSIMActivationCodePools"]; + } else { + return null; + } + } + + /** + * Sets the embeddedSIMActivationCodePools + * The embedded SIM activation code pools created by this account. + * + * @param EmbeddedSIMActivationCodePool[] $val The embeddedSIMActivationCodePools + * + * @return DeviceManagement + */ + public function setEmbeddedSIMActivationCodePools($val) + { + $this->_propDict["embeddedSIMActivationCodePools"] = $val; + return $this; + } + + + /** + * Gets the telecomExpenseManagementPartners + * The telecom expense management partners. + * + * @return array|null The telecomExpenseManagementPartners + */ + public function getTelecomExpenseManagementPartners() + { + if (array_key_exists("telecomExpenseManagementPartners", $this->_propDict)) { + return $this->_propDict["telecomExpenseManagementPartners"]; + } else { + return null; + } + } + + /** + * Sets the telecomExpenseManagementPartners + * The telecom expense management partners. + * + * @param TelecomExpenseManagementPartner[] $val The telecomExpenseManagementPartners + * + * @return DeviceManagement + */ + public function setTelecomExpenseManagementPartners($val) + { + $this->_propDict["telecomExpenseManagementPartners"] = $val; + return $this; + } + + + /** + * Gets the autopilotEvents + * The list of autopilot events for the tenant. + * + * @return array|null The autopilotEvents + */ + public function getAutopilotEvents() + { + if (array_key_exists("autopilotEvents", $this->_propDict)) { + return $this->_propDict["autopilotEvents"]; + } else { + return null; + } + } + + /** + * Sets the autopilotEvents + * The list of autopilot events for the tenant. + * + * @param DeviceManagementAutopilotEvent[] $val The autopilotEvents + * + * @return DeviceManagement + */ + public function setAutopilotEvents($val) + { + $this->_propDict["autopilotEvents"] = $val; + return $this; + } + + + /** + * Gets the troubleshootingEvents + * The list of troubleshooting events for the tenant. + * + * @return array|null The troubleshootingEvents + */ + public function getTroubleshootingEvents() + { + if (array_key_exists("troubleshootingEvents", $this->_propDict)) { + return $this->_propDict["troubleshootingEvents"]; + } else { + return null; + } + } + + /** + * Sets the troubleshootingEvents + * The list of troubleshooting events for the tenant. + * + * @param DeviceManagementTroubleshootingEvent[] $val The troubleshootingEvents + * + * @return DeviceManagement + */ + public function setTroubleshootingEvents($val) + { + $this->_propDict["troubleshootingEvents"] = $val; + return $this; + } + + + /** + * Gets the windowsDriverUpdateProfiles + * A collection of windows driver update profiles + * + * @return array|null The windowsDriverUpdateProfiles + */ + public function getWindowsDriverUpdateProfiles() + { + if (array_key_exists("windowsDriverUpdateProfiles", $this->_propDict)) { + return $this->_propDict["windowsDriverUpdateProfiles"]; + } else { + return null; + } + } + + /** + * Sets the windowsDriverUpdateProfiles + * A collection of windows driver update profiles + * + * @param WindowsDriverUpdateProfile[] $val The windowsDriverUpdateProfiles + * + * @return DeviceManagement + */ + public function setWindowsDriverUpdateProfiles($val) + { + $this->_propDict["windowsDriverUpdateProfiles"] = $val; + return $this; + } + + + /** + * Gets the windowsFeatureUpdateProfiles + * A collection of windows feature update profiles + * + * @return array|null The windowsFeatureUpdateProfiles + */ + public function getWindowsFeatureUpdateProfiles() + { + if (array_key_exists("windowsFeatureUpdateProfiles", $this->_propDict)) { + return $this->_propDict["windowsFeatureUpdateProfiles"]; + } else { + return null; + } + } + + /** + * Sets the windowsFeatureUpdateProfiles + * A collection of windows feature update profiles + * + * @param WindowsFeatureUpdateProfile[] $val The windowsFeatureUpdateProfiles + * + * @return DeviceManagement + */ + public function setWindowsFeatureUpdateProfiles($val) + { + $this->_propDict["windowsFeatureUpdateProfiles"] = $val; + return $this; + } + + + /** + * Gets the windowsQualityUpdateProfiles + * A collection of windows quality update profiles + * + * @return array|null The windowsQualityUpdateProfiles + */ + public function getWindowsQualityUpdateProfiles() + { + if (array_key_exists("windowsQualityUpdateProfiles", $this->_propDict)) { + return $this->_propDict["windowsQualityUpdateProfiles"]; + } else { + return null; + } + } + + /** + * Sets the windowsQualityUpdateProfiles + * A collection of windows quality update profiles + * + * @param WindowsQualityUpdateProfile[] $val The windowsQualityUpdateProfiles + * + * @return DeviceManagement + */ + public function setWindowsQualityUpdateProfiles($val) + { + $this->_propDict["windowsQualityUpdateProfiles"] = $val; + return $this; + } + + + /** + * Gets the windowsUpdateCatalogItems + * A collection of windows update catalog items (fetaure updates item , quality updates item) + * + * @return array|null The windowsUpdateCatalogItems + */ + public function getWindowsUpdateCatalogItems() + { + if (array_key_exists("windowsUpdateCatalogItems", $this->_propDict)) { + return $this->_propDict["windowsUpdateCatalogItems"]; + } else { + return null; + } + } + + /** + * Sets the windowsUpdateCatalogItems + * A collection of windows update catalog items (fetaure updates item , quality updates item) + * + * @param WindowsUpdateCatalogItem[] $val The windowsUpdateCatalogItems + * + * @return DeviceManagement + */ + public function setWindowsUpdateCatalogItems($val) + { + $this->_propDict["windowsUpdateCatalogItems"] = $val; + return $this; + } + + + /** + * Gets the intuneBrandingProfiles + * Intune branding profiles targeted to AAD groups + * + * @return array|null The intuneBrandingProfiles + */ + public function getIntuneBrandingProfiles() + { + if (array_key_exists("intuneBrandingProfiles", $this->_propDict)) { + return $this->_propDict["intuneBrandingProfiles"]; + } else { + return null; + } + } + + /** + * Sets the intuneBrandingProfiles + * Intune branding profiles targeted to AAD groups + * + * @param IntuneBrandingProfile[] $val The intuneBrandingProfiles + * + * @return DeviceManagement + */ + public function setIntuneBrandingProfiles($val) + { + $this->_propDict["intuneBrandingProfiles"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionAppLearningSummaries + * The windows information protection app learning summaries. + * + * @return array|null The windowsInformationProtectionAppLearningSummaries + */ + public function getWindowsInformationProtectionAppLearningSummaries() + { + if (array_key_exists("windowsInformationProtectionAppLearningSummaries", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionAppLearningSummaries"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionAppLearningSummaries + * The windows information protection app learning summaries. + * + * @param WindowsInformationProtectionAppLearningSummary[] $val The windowsInformationProtectionAppLearningSummaries + * + * @return DeviceManagement + */ + public function setWindowsInformationProtectionAppLearningSummaries($val) + { + $this->_propDict["windowsInformationProtectionAppLearningSummaries"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionNetworkLearningSummaries + * The windows information protection network learning summaries. + * + * @return array|null The windowsInformationProtectionNetworkLearningSummaries + */ + public function getWindowsInformationProtectionNetworkLearningSummaries() + { + if (array_key_exists("windowsInformationProtectionNetworkLearningSummaries", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionNetworkLearningSummaries"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionNetworkLearningSummaries + * The windows information protection network learning summaries. + * + * @param WindowsInformationProtectionNetworkLearningSummary[] $val The windowsInformationProtectionNetworkLearningSummaries + * + * @return DeviceManagement + */ + public function setWindowsInformationProtectionNetworkLearningSummaries($val) + { + $this->_propDict["windowsInformationProtectionNetworkLearningSummaries"] = $val; + return $this; + } + + + /** + * Gets the certificateConnectorDetails + * Collection of certificate connector details, each associated with a corresponding Intune Certificate Connector. + * + * @return array|null The certificateConnectorDetails + */ + public function getCertificateConnectorDetails() + { + if (array_key_exists("certificateConnectorDetails", $this->_propDict)) { + return $this->_propDict["certificateConnectorDetails"]; + } else { + return null; + } + } + + /** + * Sets the certificateConnectorDetails + * Collection of certificate connector details, each associated with a corresponding Intune Certificate Connector. + * + * @param CertificateConnectorDetails[] $val The certificateConnectorDetails + * + * @return DeviceManagement + */ + public function setCertificateConnectorDetails($val) + { + $this->_propDict["certificateConnectorDetails"] = $val; + return $this; + } + + + /** + * Gets the userPfxCertificates + * Collection of PFX certificates associated with a user. + * + * @return array|null The userPfxCertificates + */ + public function getUserPfxCertificates() + { + if (array_key_exists("userPfxCertificates", $this->_propDict)) { + return $this->_propDict["userPfxCertificates"]; + } else { + return null; + } + } + + /** + * Sets the userPfxCertificates + * Collection of PFX certificates associated with a user. + * + * @param UserPFXCertificate[] $val The userPfxCertificates + * + * @return DeviceManagement + */ + public function setUserPfxCertificates($val) + { + $this->_propDict["userPfxCertificates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingDefinition.php new file mode 100644 index 0000000..766a90e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingDefinition.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["implementations"]; + } else { + return null; + } + } + + /** + * Sets the implementations + * List of definition IDs for all possible implementations of this abstract complex setting + * + * @param string $val The implementations + * + * @return DeviceManagementAbstractComplexSettingDefinition + */ + public function setImplementations($val) + { + $this->_propDict["implementations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingInstance.php new file mode 100644 index 0000000..54cd5e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingInstance.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["implementationId"]; + } else { + return null; + } + } + + /** + * Sets the implementationId + * The definition ID for the chosen implementation of this complex setting + * + * @param string $val The implementationId + * + * @return DeviceManagementAbstractComplexSettingInstance + */ + public function setImplementationId($val) + { + $this->_propDict["implementationId"] = $val; + return $this; + } + + + /** + * Gets the value + * The values that make up the complex setting + * + * @return array|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The values that make up the complex setting + * + * @param DeviceManagementSettingInstance[] $val The value + * + * @return DeviceManagementAbstractComplexSettingInstance + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleDeviceMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleDeviceMode.php new file mode 100644 index 0000000..add95ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleDeviceMode.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["deviceMode"], "\Beta\Microsoft\Graph\Model\Windows10DeviceModeType") || is_null($this->_propDict["deviceMode"])) { + return $this->_propDict["deviceMode"]; + } else { + $this->_propDict["deviceMode"] = new Windows10DeviceModeType($this->_propDict["deviceMode"]); + return $this->_propDict["deviceMode"]; + } + } + return null; + } + + /** + * Sets the deviceMode + * Applicability rule for device mode. Possible values are: standardConfiguration, sModeConfiguration. + * + * @param Windows10DeviceModeType $val The value to assign to the deviceMode + * + * @return DeviceManagementApplicabilityRuleDeviceMode The DeviceManagementApplicabilityRuleDeviceMode + */ + public function setDeviceMode($val) + { + $this->_propDict["deviceMode"] = $val; + return $this; + } + /** + * Gets the name + * Name for object. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for object. + * + * @param string $val The value of the name + * + * @return DeviceManagementApplicabilityRuleDeviceMode + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the ruleType + * Applicability Rule type. Possible values are: include, exclude. + * + * @return DeviceManagementApplicabilityRuleType|null The ruleType + */ + public function getRuleType() + { + if (array_key_exists("ruleType", $this->_propDict)) { + if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleType") || is_null($this->_propDict["ruleType"])) { + return $this->_propDict["ruleType"]; + } else { + $this->_propDict["ruleType"] = new DeviceManagementApplicabilityRuleType($this->_propDict["ruleType"]); + return $this->_propDict["ruleType"]; + } + } + return null; + } + + /** + * Sets the ruleType + * Applicability Rule type. Possible values are: include, exclude. + * + * @param DeviceManagementApplicabilityRuleType $val The value to assign to the ruleType + * + * @return DeviceManagementApplicabilityRuleDeviceMode The DeviceManagementApplicabilityRuleDeviceMode + */ + public function setRuleType($val) + { + $this->_propDict["ruleType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsEdition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsEdition.php new file mode 100644 index 0000000..1eb97e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsEdition.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for object. + * + * @param string $val The value of the name + * + * @return DeviceManagementApplicabilityRuleOsEdition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the osEditionTypes + * Applicability rule OS edition type. + * + * @return Windows10EditionType|null The osEditionTypes + */ + public function getOsEditionTypes() + { + if (array_key_exists("osEditionTypes", $this->_propDict)) { + if (is_a($this->_propDict["osEditionTypes"], "\Beta\Microsoft\Graph\Model\Windows10EditionType") || is_null($this->_propDict["osEditionTypes"])) { + return $this->_propDict["osEditionTypes"]; + } else { + $this->_propDict["osEditionTypes"] = new Windows10EditionType($this->_propDict["osEditionTypes"]); + return $this->_propDict["osEditionTypes"]; + } + } + return null; + } + + /** + * Sets the osEditionTypes + * Applicability rule OS edition type. + * + * @param Windows10EditionType $val The value to assign to the osEditionTypes + * + * @return DeviceManagementApplicabilityRuleOsEdition The DeviceManagementApplicabilityRuleOsEdition + */ + public function setOsEditionTypes($val) + { + $this->_propDict["osEditionTypes"] = $val; + return $this; + } + + /** + * Gets the ruleType + * Applicability Rule type. Possible values are: include, exclude. + * + * @return DeviceManagementApplicabilityRuleType|null The ruleType + */ + public function getRuleType() + { + if (array_key_exists("ruleType", $this->_propDict)) { + if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleType") || is_null($this->_propDict["ruleType"])) { + return $this->_propDict["ruleType"]; + } else { + $this->_propDict["ruleType"] = new DeviceManagementApplicabilityRuleType($this->_propDict["ruleType"]); + return $this->_propDict["ruleType"]; + } + } + return null; + } + + /** + * Sets the ruleType + * Applicability Rule type. Possible values are: include, exclude. + * + * @param DeviceManagementApplicabilityRuleType $val The value to assign to the ruleType + * + * @return DeviceManagementApplicabilityRuleOsEdition The DeviceManagementApplicabilityRuleOsEdition + */ + public function setRuleType($val) + { + $this->_propDict["ruleType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsVersion.php new file mode 100644 index 0000000..fd292e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsVersion.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["maxOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the maxOSVersion + * Max OS version for Applicability Rule. + * + * @param string $val The value of the maxOSVersion + * + * @return DeviceManagementApplicabilityRuleOsVersion + */ + public function setMaxOSVersion($val) + { + $this->_propDict["maxOSVersion"] = $val; + return $this; + } + /** + * Gets the minOSVersion + * Min OS version for Applicability Rule. + * + * @return string|null The minOSVersion + */ + public function getMinOSVersion() + { + if (array_key_exists("minOSVersion", $this->_propDict)) { + return $this->_propDict["minOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the minOSVersion + * Min OS version for Applicability Rule. + * + * @param string $val The value of the minOSVersion + * + * @return DeviceManagementApplicabilityRuleOsVersion + */ + public function setMinOSVersion($val) + { + $this->_propDict["minOSVersion"] = $val; + return $this; + } + /** + * Gets the name + * Name for object. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for object. + * + * @param string $val The value of the name + * + * @return DeviceManagementApplicabilityRuleOsVersion + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the ruleType + * Applicability Rule type. Possible values are: include, exclude. + * + * @return DeviceManagementApplicabilityRuleType|null The ruleType + */ + public function getRuleType() + { + if (array_key_exists("ruleType", $this->_propDict)) { + if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleType") || is_null($this->_propDict["ruleType"])) { + return $this->_propDict["ruleType"]; + } else { + $this->_propDict["ruleType"] = new DeviceManagementApplicabilityRuleType($this->_propDict["ruleType"]); + return $this->_propDict["ruleType"]; + } + } + return null; + } + + /** + * Sets the ruleType + * Applicability Rule type. Possible values are: include, exclude. + * + * @param DeviceManagementApplicabilityRuleType $val The value to assign to the ruleType + * + * @return DeviceManagementApplicabilityRuleOsVersion The DeviceManagementApplicabilityRuleOsVersion + */ + public function setRuleType($val) + { + $this->_propDict["ruleType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleType.php new file mode 100644 index 0000000..c87fb09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["accountSetupDuration"], "\DateInterval") || is_null($this->_propDict["accountSetupDuration"])) { + return $this->_propDict["accountSetupDuration"]; + } else { + $this->_propDict["accountSetupDuration"] = new \DateInterval($this->_propDict["accountSetupDuration"]); + return $this->_propDict["accountSetupDuration"]; + } + } + return null; + } + + /** + * Sets the accountSetupDuration + * Time spent in user ESP. + * + * @param \DateInterval $val The accountSetupDuration + * + * @return DeviceManagementAutopilotEvent + */ + public function setAccountSetupDuration($val) + { + $this->_propDict["accountSetupDuration"] = $val; + return $this; + } + + /** + * Gets the accountSetupStatus + * Deployment status for the enrollment status page account setup phase. Possible values are: unknown, success, inProgress, failure, successWithTimeout, notAttempted, disabled. + * + * @return WindowsAutopilotDeploymentState|null The accountSetupStatus + */ + public function getAccountSetupStatus() + { + if (array_key_exists("accountSetupStatus", $this->_propDict)) { + if (is_a($this->_propDict["accountSetupStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentState") || is_null($this->_propDict["accountSetupStatus"])) { + return $this->_propDict["accountSetupStatus"]; + } else { + $this->_propDict["accountSetupStatus"] = new WindowsAutopilotDeploymentState($this->_propDict["accountSetupStatus"]); + return $this->_propDict["accountSetupStatus"]; + } + } + return null; + } + + /** + * Sets the accountSetupStatus + * Deployment status for the enrollment status page account setup phase. Possible values are: unknown, success, inProgress, failure, successWithTimeout, notAttempted, disabled. + * + * @param WindowsAutopilotDeploymentState $val The accountSetupStatus + * + * @return DeviceManagementAutopilotEvent + */ + public function setAccountSetupStatus($val) + { + $this->_propDict["accountSetupStatus"] = $val; + return $this; + } + + /** + * Gets the deploymentDuration + * Autopilot deployment duration including enrollment. + * + * @return \DateInterval|null The deploymentDuration + */ + public function getDeploymentDuration() + { + if (array_key_exists("deploymentDuration", $this->_propDict)) { + if (is_a($this->_propDict["deploymentDuration"], "\DateInterval") || is_null($this->_propDict["deploymentDuration"])) { + return $this->_propDict["deploymentDuration"]; + } else { + $this->_propDict["deploymentDuration"] = new \DateInterval($this->_propDict["deploymentDuration"]); + return $this->_propDict["deploymentDuration"]; + } + } + return null; + } + + /** + * Sets the deploymentDuration + * Autopilot deployment duration including enrollment. + * + * @param \DateInterval $val The deploymentDuration + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeploymentDuration($val) + { + $this->_propDict["deploymentDuration"] = $val; + return $this; + } + + /** + * Gets the deploymentEndDateTime + * Deployment end time. + * + * @return \DateTime|null The deploymentEndDateTime + */ + public function getDeploymentEndDateTime() + { + if (array_key_exists("deploymentEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deploymentEndDateTime"], "\DateTime") || is_null($this->_propDict["deploymentEndDateTime"])) { + return $this->_propDict["deploymentEndDateTime"]; + } else { + $this->_propDict["deploymentEndDateTime"] = new \DateTime($this->_propDict["deploymentEndDateTime"]); + return $this->_propDict["deploymentEndDateTime"]; + } + } + return null; + } + + /** + * Sets the deploymentEndDateTime + * Deployment end time. + * + * @param \DateTime $val The deploymentEndDateTime + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeploymentEndDateTime($val) + { + $this->_propDict["deploymentEndDateTime"] = $val; + return $this; + } + + /** + * Gets the deploymentStartDateTime + * Deployment start time. + * + * @return \DateTime|null The deploymentStartDateTime + */ + public function getDeploymentStartDateTime() + { + if (array_key_exists("deploymentStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deploymentStartDateTime"], "\DateTime") || is_null($this->_propDict["deploymentStartDateTime"])) { + return $this->_propDict["deploymentStartDateTime"]; + } else { + $this->_propDict["deploymentStartDateTime"] = new \DateTime($this->_propDict["deploymentStartDateTime"]); + return $this->_propDict["deploymentStartDateTime"]; + } + } + return null; + } + + /** + * Sets the deploymentStartDateTime + * Deployment start time. + * + * @param \DateTime $val The deploymentStartDateTime + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeploymentStartDateTime($val) + { + $this->_propDict["deploymentStartDateTime"] = $val; + return $this; + } + + /** + * Gets the deploymentState + * Deployment state like Success, Failure, InProgress, SuccessWithTimeout. Possible values are: unknown, success, inProgress, failure, successWithTimeout, notAttempted, disabled. + * + * @return WindowsAutopilotDeploymentState|null The deploymentState + */ + public function getDeploymentState() + { + if (array_key_exists("deploymentState", $this->_propDict)) { + if (is_a($this->_propDict["deploymentState"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentState") || is_null($this->_propDict["deploymentState"])) { + return $this->_propDict["deploymentState"]; + } else { + $this->_propDict["deploymentState"] = new WindowsAutopilotDeploymentState($this->_propDict["deploymentState"]); + return $this->_propDict["deploymentState"]; + } + } + return null; + } + + /** + * Sets the deploymentState + * Deployment state like Success, Failure, InProgress, SuccessWithTimeout. Possible values are: unknown, success, inProgress, failure, successWithTimeout, notAttempted, disabled. + * + * @param WindowsAutopilotDeploymentState $val The deploymentState + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeploymentState($val) + { + $this->_propDict["deploymentState"] = $val; + return $this; + } + + /** + * Gets the deploymentTotalDuration + * Total deployment duration from enrollment to Desktop screen. + * + * @return \DateInterval|null The deploymentTotalDuration + */ + public function getDeploymentTotalDuration() + { + if (array_key_exists("deploymentTotalDuration", $this->_propDict)) { + if (is_a($this->_propDict["deploymentTotalDuration"], "\DateInterval") || is_null($this->_propDict["deploymentTotalDuration"])) { + return $this->_propDict["deploymentTotalDuration"]; + } else { + $this->_propDict["deploymentTotalDuration"] = new \DateInterval($this->_propDict["deploymentTotalDuration"]); + return $this->_propDict["deploymentTotalDuration"]; + } + } + return null; + } + + /** + * Sets the deploymentTotalDuration + * Total deployment duration from enrollment to Desktop screen. + * + * @param \DateInterval $val The deploymentTotalDuration + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeploymentTotalDuration($val) + { + $this->_propDict["deploymentTotalDuration"] = $val; + return $this; + } + + /** + * Gets the deviceId + * Device id associated with the object + * + * @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 + * Device id associated with the object + * + * @param string $val The deviceId + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the devicePreparationDuration + * Time spent in device enrollment. + * + * @return \DateInterval|null The devicePreparationDuration + */ + public function getDevicePreparationDuration() + { + if (array_key_exists("devicePreparationDuration", $this->_propDict)) { + if (is_a($this->_propDict["devicePreparationDuration"], "\DateInterval") || is_null($this->_propDict["devicePreparationDuration"])) { + return $this->_propDict["devicePreparationDuration"]; + } else { + $this->_propDict["devicePreparationDuration"] = new \DateInterval($this->_propDict["devicePreparationDuration"]); + return $this->_propDict["devicePreparationDuration"]; + } + } + return null; + } + + /** + * Sets the devicePreparationDuration + * Time spent in device enrollment. + * + * @param \DateInterval $val The devicePreparationDuration + * + * @return DeviceManagementAutopilotEvent + */ + public function setDevicePreparationDuration($val) + { + $this->_propDict["devicePreparationDuration"] = $val; + return $this; + } + + /** + * Gets the deviceRegisteredDateTime + * Device registration date. + * + * @return \DateTime|null The deviceRegisteredDateTime + */ + public function getDeviceRegisteredDateTime() + { + if (array_key_exists("deviceRegisteredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deviceRegisteredDateTime"], "\DateTime") || is_null($this->_propDict["deviceRegisteredDateTime"])) { + return $this->_propDict["deviceRegisteredDateTime"]; + } else { + $this->_propDict["deviceRegisteredDateTime"] = new \DateTime($this->_propDict["deviceRegisteredDateTime"]); + return $this->_propDict["deviceRegisteredDateTime"]; + } + } + return null; + } + + /** + * Sets the deviceRegisteredDateTime + * Device registration date. + * + * @param \DateTime $val The deviceRegisteredDateTime + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeviceRegisteredDateTime($val) + { + $this->_propDict["deviceRegisteredDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceSerialNumber + * Device serial number. + * + * @return string|null The deviceSerialNumber + */ + public function getDeviceSerialNumber() + { + if (array_key_exists("deviceSerialNumber", $this->_propDict)) { + return $this->_propDict["deviceSerialNumber"]; + } else { + return null; + } + } + + /** + * Sets the deviceSerialNumber + * Device serial number. + * + * @param string $val The deviceSerialNumber + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeviceSerialNumber($val) + { + $this->_propDict["deviceSerialNumber"] = $val; + return $this; + } + + /** + * Gets the deviceSetupDuration + * Time spent in device ESP. + * + * @return \DateInterval|null The deviceSetupDuration + */ + public function getDeviceSetupDuration() + { + if (array_key_exists("deviceSetupDuration", $this->_propDict)) { + if (is_a($this->_propDict["deviceSetupDuration"], "\DateInterval") || is_null($this->_propDict["deviceSetupDuration"])) { + return $this->_propDict["deviceSetupDuration"]; + } else { + $this->_propDict["deviceSetupDuration"] = new \DateInterval($this->_propDict["deviceSetupDuration"]); + return $this->_propDict["deviceSetupDuration"]; + } + } + return null; + } + + /** + * Sets the deviceSetupDuration + * Time spent in device ESP. + * + * @param \DateInterval $val The deviceSetupDuration + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeviceSetupDuration($val) + { + $this->_propDict["deviceSetupDuration"] = $val; + return $this; + } + + /** + * Gets the deviceSetupStatus + * Deployment status for the enrollment status page device setup phase. Possible values are: unknown, success, inProgress, failure, successWithTimeout, notAttempted, disabled. + * + * @return WindowsAutopilotDeploymentState|null The deviceSetupStatus + */ + public function getDeviceSetupStatus() + { + if (array_key_exists("deviceSetupStatus", $this->_propDict)) { + if (is_a($this->_propDict["deviceSetupStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentState") || is_null($this->_propDict["deviceSetupStatus"])) { + return $this->_propDict["deviceSetupStatus"]; + } else { + $this->_propDict["deviceSetupStatus"] = new WindowsAutopilotDeploymentState($this->_propDict["deviceSetupStatus"]); + return $this->_propDict["deviceSetupStatus"]; + } + } + return null; + } + + /** + * Sets the deviceSetupStatus + * Deployment status for the enrollment status page device setup phase. Possible values are: unknown, success, inProgress, failure, successWithTimeout, notAttempted, disabled. + * + * @param WindowsAutopilotDeploymentState $val The deviceSetupStatus + * + * @return DeviceManagementAutopilotEvent + */ + public function setDeviceSetupStatus($val) + { + $this->_propDict["deviceSetupStatus"] = $val; + return $this; + } + + /** + * Gets the enrollmentFailureDetails + * Enrollment failure details. + * + * @return string|null The enrollmentFailureDetails + */ + public function getEnrollmentFailureDetails() + { + if (array_key_exists("enrollmentFailureDetails", $this->_propDict)) { + return $this->_propDict["enrollmentFailureDetails"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentFailureDetails + * Enrollment failure details. + * + * @param string $val The enrollmentFailureDetails + * + * @return DeviceManagementAutopilotEvent + */ + public function setEnrollmentFailureDetails($val) + { + $this->_propDict["enrollmentFailureDetails"] = $val; + return $this; + } + + /** + * Gets the enrollmentStartDateTime + * Device enrollment start date. + * + * @return \DateTime|null The enrollmentStartDateTime + */ + public function getEnrollmentStartDateTime() + { + if (array_key_exists("enrollmentStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentStartDateTime"], "\DateTime") || is_null($this->_propDict["enrollmentStartDateTime"])) { + return $this->_propDict["enrollmentStartDateTime"]; + } else { + $this->_propDict["enrollmentStartDateTime"] = new \DateTime($this->_propDict["enrollmentStartDateTime"]); + return $this->_propDict["enrollmentStartDateTime"]; + } + } + return null; + } + + /** + * Sets the enrollmentStartDateTime + * Device enrollment start date. + * + * @param \DateTime $val The enrollmentStartDateTime + * + * @return DeviceManagementAutopilotEvent + */ + public function setEnrollmentStartDateTime($val) + { + $this->_propDict["enrollmentStartDateTime"] = $val; + return $this; + } + + /** + * Gets the enrollmentState + * Enrollment state like Enrolled, Failed. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @return EnrollmentState|null The enrollmentState + */ + public function getEnrollmentState() + { + if (array_key_exists("enrollmentState", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\EnrollmentState") || is_null($this->_propDict["enrollmentState"])) { + return $this->_propDict["enrollmentState"]; + } else { + $this->_propDict["enrollmentState"] = new EnrollmentState($this->_propDict["enrollmentState"]); + return $this->_propDict["enrollmentState"]; + } + } + return null; + } + + /** + * Sets the enrollmentState + * Enrollment state like Enrolled, Failed. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @param EnrollmentState $val The enrollmentState + * + * @return DeviceManagementAutopilotEvent + */ + public function setEnrollmentState($val) + { + $this->_propDict["enrollmentState"] = $val; + return $this; + } + + /** + * Gets the enrollmentType + * Enrollment type. Possible values are: unknown, azureADJoinedWithAutopilotProfile, offlineDomainJoined, azureADJoinedUsingDeviceAuthWithAutopilotProfile, azureADJoinedUsingDeviceAuthWithoutAutopilotProfile, azureADJoinedWithOfflineAutopilotProfile, azureADJoinedWithWhiteGlove, offlineDomainJoinedWithWhiteGlove, offlineDomainJoinedWithOfflineAutopilotProfile. + * + * @return WindowsAutopilotEnrollmentType|null The enrollmentType + */ + public function getEnrollmentType() + { + if (array_key_exists("enrollmentType", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentType"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotEnrollmentType") || is_null($this->_propDict["enrollmentType"])) { + return $this->_propDict["enrollmentType"]; + } else { + $this->_propDict["enrollmentType"] = new WindowsAutopilotEnrollmentType($this->_propDict["enrollmentType"]); + return $this->_propDict["enrollmentType"]; + } + } + return null; + } + + /** + * Sets the enrollmentType + * Enrollment type. Possible values are: unknown, azureADJoinedWithAutopilotProfile, offlineDomainJoined, azureADJoinedUsingDeviceAuthWithAutopilotProfile, azureADJoinedUsingDeviceAuthWithoutAutopilotProfile, azureADJoinedWithOfflineAutopilotProfile, azureADJoinedWithWhiteGlove, offlineDomainJoinedWithWhiteGlove, offlineDomainJoinedWithOfflineAutopilotProfile. + * + * @param WindowsAutopilotEnrollmentType $val The enrollmentType + * + * @return DeviceManagementAutopilotEvent + */ + public function setEnrollmentType($val) + { + $this->_propDict["enrollmentType"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Time when the event occurred . + * + * @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 + * Time when the event occurred . + * + * @param \DateTime $val The eventDateTime + * + * @return DeviceManagementAutopilotEvent + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * Managed device name. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * Managed device name. + * + * @param string $val The managedDeviceName + * + * @return DeviceManagementAutopilotEvent + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Device operating system version. + * + * @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 + * Device operating system version. + * + * @param string $val The osVersion + * + * @return DeviceManagementAutopilotEvent + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the targetedAppCount + * Count of applications targeted. + * + * @return int|null The targetedAppCount + */ + public function getTargetedAppCount() + { + if (array_key_exists("targetedAppCount", $this->_propDict)) { + return $this->_propDict["targetedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the targetedAppCount + * Count of applications targeted. + * + * @param int $val The targetedAppCount + * + * @return DeviceManagementAutopilotEvent + */ + public function setTargetedAppCount($val) + { + $this->_propDict["targetedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the targetedPolicyCount + * Count of policies targeted. + * + * @return int|null The targetedPolicyCount + */ + public function getTargetedPolicyCount() + { + if (array_key_exists("targetedPolicyCount", $this->_propDict)) { + return $this->_propDict["targetedPolicyCount"]; + } else { + return null; + } + } + + /** + * Sets the targetedPolicyCount + * Count of policies targeted. + * + * @param int $val The targetedPolicyCount + * + * @return DeviceManagementAutopilotEvent + */ + public function setTargetedPolicyCount($val) + { + $this->_propDict["targetedPolicyCount"] = intval($val); + return $this; + } + + /** + * Gets the userPrincipalName + * User principal name used to enroll the device. + * + * @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 + * User principal name used to enroll the device. + * + * @param string $val The userPrincipalName + * + * @return DeviceManagementAutopilotEvent + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the windows10EnrollmentCompletionPageConfigurationDisplayName + * Enrollment Status Page profile name + * + * @return string|null The windows10EnrollmentCompletionPageConfigurationDisplayName + */ + public function getWindows10EnrollmentCompletionPageConfigurationDisplayName() + { + if (array_key_exists("windows10EnrollmentCompletionPageConfigurationDisplayName", $this->_propDict)) { + return $this->_propDict["windows10EnrollmentCompletionPageConfigurationDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the windows10EnrollmentCompletionPageConfigurationDisplayName + * Enrollment Status Page profile name + * + * @param string $val The windows10EnrollmentCompletionPageConfigurationDisplayName + * + * @return DeviceManagementAutopilotEvent + */ + public function setWindows10EnrollmentCompletionPageConfigurationDisplayName($val) + { + $this->_propDict["windows10EnrollmentCompletionPageConfigurationDisplayName"] = $val; + return $this; + } + + /** + * Gets the windows10EnrollmentCompletionPageConfigurationId + * Enrollment Status Page profile ID + * + * @return string|null The windows10EnrollmentCompletionPageConfigurationId + */ + public function getWindows10EnrollmentCompletionPageConfigurationId() + { + if (array_key_exists("windows10EnrollmentCompletionPageConfigurationId", $this->_propDict)) { + return $this->_propDict["windows10EnrollmentCompletionPageConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the windows10EnrollmentCompletionPageConfigurationId + * Enrollment Status Page profile ID + * + * @param string $val The windows10EnrollmentCompletionPageConfigurationId + * + * @return DeviceManagementAutopilotEvent + */ + public function setWindows10EnrollmentCompletionPageConfigurationId($val) + { + $this->_propDict["windows10EnrollmentCompletionPageConfigurationId"] = $val; + return $this; + } + + /** + * Gets the windowsAutopilotDeploymentProfileDisplayName + * Autopilot profile name. + * + * @return string|null The windowsAutopilotDeploymentProfileDisplayName + */ + public function getWindowsAutopilotDeploymentProfileDisplayName() + { + if (array_key_exists("windowsAutopilotDeploymentProfileDisplayName", $this->_propDict)) { + return $this->_propDict["windowsAutopilotDeploymentProfileDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the windowsAutopilotDeploymentProfileDisplayName + * Autopilot profile name. + * + * @param string $val The windowsAutopilotDeploymentProfileDisplayName + * + * @return DeviceManagementAutopilotEvent + */ + public function setWindowsAutopilotDeploymentProfileDisplayName($val) + { + $this->_propDict["windowsAutopilotDeploymentProfileDisplayName"] = $val; + return $this; + } + + + /** + * Gets the policyStatusDetails + * Policy and application status details for this device. + * + * @return array|null The policyStatusDetails + */ + public function getPolicyStatusDetails() + { + if (array_key_exists("policyStatusDetails", $this->_propDict)) { + return $this->_propDict["policyStatusDetails"]; + } else { + return null; + } + } + + /** + * Sets the policyStatusDetails + * Policy and application status details for this device. + * + * @param DeviceManagementAutopilotPolicyStatusDetail[] $val The policyStatusDetails + * + * @return DeviceManagementAutopilotEvent + */ + public function setPolicyStatusDetails($val) + { + $this->_propDict["policyStatusDetails"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyComplianceStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyComplianceStatus.php new file mode 100644 index 0000000..c16fc1f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyComplianceStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["complianceStatus"], "\Beta\Microsoft\Graph\Model\DeviceManagementAutopilotPolicyComplianceStatus") || is_null($this->_propDict["complianceStatus"])) { + return $this->_propDict["complianceStatus"]; + } else { + $this->_propDict["complianceStatus"] = new DeviceManagementAutopilotPolicyComplianceStatus($this->_propDict["complianceStatus"]); + return $this->_propDict["complianceStatus"]; + } + } + return null; + } + + /** + * Sets the complianceStatus + * The policy compliance status. Possible values are: unknown, compliant, installed, notCompliant, notInstalled, error. + * + * @param DeviceManagementAutopilotPolicyComplianceStatus $val The complianceStatus + * + * @return DeviceManagementAutopilotPolicyStatusDetail + */ + public function setComplianceStatus($val) + { + $this->_propDict["complianceStatus"] = $val; + return $this; + } + + /** + * Gets the displayName + * The friendly name of the policy. + * + * @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 + * The friendly name of the policy. + * + * @param string $val The displayName + * + * @return DeviceManagementAutopilotPolicyStatusDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errorCode + * The errorode associated with the compliance or enforcement status of the policy. Error code for enforcement status takes precedence if it exists. + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The errorode associated with the compliance or enforcement status of the policy. Error code for enforcement status takes precedence if it exists. + * + * @param int $val The errorCode + * + * @return DeviceManagementAutopilotPolicyStatusDetail + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Timestamp of the reported policy status + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Timestamp of the reported policy status + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceManagementAutopilotPolicyStatusDetail + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the policyType + * The type of policy. Possible values are: unknown, application, appModel, configurationPolicy. + * + * @return DeviceManagementAutopilotPolicyType|null The policyType + */ + public function getPolicyType() + { + if (array_key_exists("policyType", $this->_propDict)) { + if (is_a($this->_propDict["policyType"], "\Beta\Microsoft\Graph\Model\DeviceManagementAutopilotPolicyType") || is_null($this->_propDict["policyType"])) { + return $this->_propDict["policyType"]; + } else { + $this->_propDict["policyType"] = new DeviceManagementAutopilotPolicyType($this->_propDict["policyType"]); + return $this->_propDict["policyType"]; + } + } + return null; + } + + /** + * Sets the policyType + * The type of policy. Possible values are: unknown, application, appModel, configurationPolicy. + * + * @param DeviceManagementAutopilotPolicyType $val The policyType + * + * @return DeviceManagementAutopilotPolicyStatusDetail + */ + public function setPolicyType($val) + { + $this->_propDict["policyType"] = $val; + return $this; + } + + /** + * Gets the trackedOnEnrollmentStatus + * Indicates if this prolicy was tracked as part of the autopilot bootstrap enrollment sync session + * + * @return bool|null The trackedOnEnrollmentStatus + */ + public function getTrackedOnEnrollmentStatus() + { + if (array_key_exists("trackedOnEnrollmentStatus", $this->_propDict)) { + return $this->_propDict["trackedOnEnrollmentStatus"]; + } else { + return null; + } + } + + /** + * Sets the trackedOnEnrollmentStatus + * Indicates if this prolicy was tracked as part of the autopilot bootstrap enrollment sync session + * + * @param bool $val The trackedOnEnrollmentStatus + * + * @return DeviceManagementAutopilotPolicyStatusDetail + */ + public function setTrackedOnEnrollmentStatus($val) + { + $this->_propDict["trackedOnEnrollmentStatus"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyType.php new file mode 100644 index 0000000..6cd0358 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The boolean value + * + * @param bool $val The value + * + * @return DeviceManagementBooleanSettingInstance + */ + public function setValue($val) + { + $this->_propDict["value"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCachedReportConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCachedReportConfiguration.php new file mode 100644 index 0000000..398f90a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCachedReportConfiguration.php @@ -0,0 +1,271 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Time that the cached report expires + * + * @param \DateTime $val The expirationDateTime + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the filter + * Filters applied on report creation. + * + * @return string|null The filter + */ + public function getFilter() + { + if (array_key_exists("filter", $this->_propDict)) { + return $this->_propDict["filter"]; + } else { + return null; + } + } + + /** + * Sets the filter + * Filters applied on report creation. + * + * @param string $val The filter + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setFilter($val) + { + $this->_propDict["filter"] = $val; + return $this; + } + + /** + * Gets the lastRefreshDateTime + * Time that the cached report was last refreshed + * + * @return \DateTime|null The lastRefreshDateTime + */ + public function getLastRefreshDateTime() + { + if (array_key_exists("lastRefreshDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshDateTime"])) { + return $this->_propDict["lastRefreshDateTime"]; + } else { + $this->_propDict["lastRefreshDateTime"] = new \DateTime($this->_propDict["lastRefreshDateTime"]); + return $this->_propDict["lastRefreshDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshDateTime + * Time that the cached report was last refreshed + * + * @param \DateTime $val The lastRefreshDateTime + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setLastRefreshDateTime($val) + { + $this->_propDict["lastRefreshDateTime"] = $val; + return $this; + } + + /** + * Gets the metadata + * Caller-managed metadata associated with the report + * + * @return string|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + return $this->_propDict["metadata"]; + } else { + return null; + } + } + + /** + * Sets the metadata + * Caller-managed metadata associated with the report + * + * @param string $val The metadata + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the orderBy + * Ordering of columns in the report + * + * @return string|null The orderBy + */ + public function getOrderBy() + { + if (array_key_exists("orderBy", $this->_propDict)) { + return $this->_propDict["orderBy"]; + } else { + return null; + } + } + + /** + * Sets the orderBy + * Ordering of columns in the report + * + * @param string $val The orderBy + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setOrderBy($val) + { + $this->_propDict["orderBy"] = $val; + return $this; + } + + /** + * Gets the reportName + * Name of the report + * + * @return string|null The reportName + */ + public function getReportName() + { + if (array_key_exists("reportName", $this->_propDict)) { + return $this->_propDict["reportName"]; + } else { + return null; + } + } + + /** + * Sets the reportName + * Name of the report + * + * @param string $val The reportName + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setReportName($val) + { + $this->_propDict["reportName"] = $val; + return $this; + } + + /** + * Gets the select + * Columns selected from the report + * + * @return string|null The select + */ + public function getSelect() + { + if (array_key_exists("select", $this->_propDict)) { + return $this->_propDict["select"]; + } else { + return null; + } + } + + /** + * Sets the select + * Columns selected from the report + * + * @param string $val The select + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setSelect($val) + { + $this->_propDict["select"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the cached report. Possible values are: unknown, notStarted, inProgress, completed, failed. + * + * @return DeviceManagementReportStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceManagementReportStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the cached report. Possible values are: unknown, notStarted, inProgress, completed, failed. + * + * @param DeviceManagementReportStatus $val The status + * + * @return DeviceManagementCachedReportConfiguration + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCertificationAuthority.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCertificationAuthority.php new file mode 100644 index 0000000..decd080 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCertificationAuthority.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["elementDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the elementDefinitionId + * The Setting Definition ID that describes what each element of the collection looks like + * + * @param string $val The elementDefinitionId + * + * @return DeviceManagementCollectionSettingDefinition + */ + public function setElementDefinitionId($val) + { + $this->_propDict["elementDefinitionId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCollectionSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCollectionSettingInstance.php new file mode 100644 index 0000000..62efb50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCollectionSettingInstance.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The collection of values + * + * @param DeviceManagementSettingInstance[] $val The value + * + * @return DeviceManagementCollectionSettingInstance + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComparisonResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComparisonResult.php new file mode 100644 index 0000000..6c45dd4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComparisonResult.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["propertyDefinitionIds"]; + } else { + return null; + } + } + + /** + * Sets the propertyDefinitionIds + * The definitions of each property of the complex setting + * + * @param string $val The propertyDefinitionIds + * + * @return DeviceManagementComplexSettingDefinition + */ + public function setPropertyDefinitionIds($val) + { + $this->_propDict["propertyDefinitionIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplexSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplexSettingInstance.php new file mode 100644 index 0000000..b04ded6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplexSettingInstance.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The values that make up the complex setting + * + * @param DeviceManagementSettingInstance[] $val The value + * + * @return DeviceManagementComplexSettingInstance + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceActionItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceActionItem.php new file mode 100644 index 0000000..c7550a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceActionItem.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\DeviceManagementComplianceActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new DeviceManagementComplianceActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification, remoteLock. + * + * @param DeviceManagementComplianceActionType $val The actionType + * + * @return DeviceManagementComplianceActionItem + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the gracePeriodHours + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + * + * @return int|null The gracePeriodHours + */ + public function getGracePeriodHours() + { + if (array_key_exists("gracePeriodHours", $this->_propDict)) { + return $this->_propDict["gracePeriodHours"]; + } else { + return null; + } + } + + /** + * Sets the gracePeriodHours + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + * + * @param int $val The gracePeriodHours + * + * @return DeviceManagementComplianceActionItem + */ + public function setGracePeriodHours($val) + { + $this->_propDict["gracePeriodHours"] = intval($val); + return $this; + } + + /** + * Gets the notificationMessageCCList + * A list of group IDs to speicify who to CC this notification message to. This collection can contain a maximum of 100 elements. + * + * @return string|null The notificationMessageCCList + */ + public function getNotificationMessageCCList() + { + if (array_key_exists("notificationMessageCCList", $this->_propDict)) { + return $this->_propDict["notificationMessageCCList"]; + } else { + return null; + } + } + + /** + * Sets the notificationMessageCCList + * A list of group IDs to speicify who to CC this notification message to. This collection can contain a maximum of 100 elements. + * + * @param string $val The notificationMessageCCList + * + * @return DeviceManagementComplianceActionItem + */ + public function setNotificationMessageCCList($val) + { + $this->_propDict["notificationMessageCCList"] = $val; + return $this; + } + + /** + * Gets the notificationTemplateId + * What notification Message template to use + * + * @return string|null The notificationTemplateId + */ + public function getNotificationTemplateId() + { + if (array_key_exists("notificationTemplateId", $this->_propDict)) { + return $this->_propDict["notificationTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the notificationTemplateId + * What notification Message template to use + * + * @param string $val The notificationTemplateId + * + * @return DeviceManagementComplianceActionItem + */ + public function setNotificationTemplateId($val) + { + $this->_propDict["notificationTemplateId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceActionType.php new file mode 100644 index 0000000..ca1202f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceActionType.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Policy creation date and time. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceManagementCompliancePolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationSource + * Policy creation source + * + * @return string|null The creationSource + */ + public function getCreationSource() + { + if (array_key_exists("creationSource", $this->_propDict)) { + return $this->_propDict["creationSource"]; + } else { + return null; + } + } + + /** + * Sets the creationSource + * Policy creation source + * + * @param string $val The creationSource + * + * @return DeviceManagementCompliancePolicy + */ + public function setCreationSource($val) + { + $this->_propDict["creationSource"] = $val; + return $this; + } + + /** + * Gets the description + * Policy description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Policy description + * + * @param string $val The description + * + * @return DeviceManagementCompliancePolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the isAssigned + * Policy assignment status. This property is read-only. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Policy assignment status. This property is read-only. + * + * @param bool $val The isAssigned + * + * @return DeviceManagementCompliancePolicy + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Policy last modification date and time. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Policy last modification date and time. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceManagementCompliancePolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * Policy name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Policy name + * + * @param string $val The name + * + * @return DeviceManagementCompliancePolicy + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the platforms + * Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @return DeviceManagementConfigurationPlatforms|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms") || is_null($this->_propDict["platforms"])) { + return $this->_propDict["platforms"]; + } else { + $this->_propDict["platforms"] = new DeviceManagementConfigurationPlatforms($this->_propDict["platforms"]); + return $this->_propDict["platforms"]; + } + } + return null; + } + + /** + * Sets the platforms + * Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @param DeviceManagementConfigurationPlatforms $val The platforms + * + * @return DeviceManagementCompliancePolicy + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceManagementCompliancePolicy + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Number of settings. This property is read-only. + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Number of settings. This property is read-only. + * + * @param int $val The settingCount + * + * @return DeviceManagementCompliancePolicy + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + /** + * Gets the technologies + * Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @return DeviceManagementConfigurationTechnologies|null The technologies + */ + public function getTechnologies() + { + if (array_key_exists("technologies", $this->_propDict)) { + if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies") || is_null($this->_propDict["technologies"])) { + return $this->_propDict["technologies"]; + } else { + $this->_propDict["technologies"] = new DeviceManagementConfigurationTechnologies($this->_propDict["technologies"]); + return $this->_propDict["technologies"]; + } + } + return null; + } + + /** + * Sets the technologies + * Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @param DeviceManagementConfigurationTechnologies $val The technologies + * + * @return DeviceManagementCompliancePolicy + */ + public function setTechnologies($val) + { + $this->_propDict["technologies"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Policy assignments + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Policy assignments + * + * @param DeviceManagementConfigurationPolicyAssignment[] $val The assignments + * + * @return DeviceManagementCompliancePolicy + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the scheduledActionsForRule + * The list of scheduled action for this rule + * + * @return array|null The scheduledActionsForRule + */ + public function getScheduledActionsForRule() + { + if (array_key_exists("scheduledActionsForRule", $this->_propDict)) { + return $this->_propDict["scheduledActionsForRule"]; + } else { + return null; + } + } + + /** + * Sets the scheduledActionsForRule + * The list of scheduled action for this rule + * + * @param DeviceManagementComplianceScheduledActionForRule[] $val The scheduledActionsForRule + * + * @return DeviceManagementCompliancePolicy + */ + public function setScheduledActionsForRule($val) + { + $this->_propDict["scheduledActionsForRule"] = $val; + return $this; + } + + + /** + * Gets the settings + * Policy settings + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * Policy settings + * + * @param DeviceManagementConfigurationSetting[] $val The settings + * + * @return DeviceManagementCompliancePolicy + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php new file mode 100644 index 0000000..0536ed2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplianceScheduledActionForRule.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["ruleName"]; + } else { + return null; + } + } + + /** + * Sets the ruleName + * Name of the rule which this scheduled action applies to. + * + * @param string $val The ruleName + * + * @return DeviceManagementComplianceScheduledActionForRule + */ + public function setRuleName($val) + { + $this->_propDict["ruleName"] = $val; + return $this; + } + + + /** + * Gets the scheduledActionConfigurations + * The list of scheduled action configurations for this compliance policy. This collection can contain a maximum of 100 elements. + * + * @return array|null The scheduledActionConfigurations + */ + public function getScheduledActionConfigurations() + { + if (array_key_exists("scheduledActionConfigurations", $this->_propDict)) { + return $this->_propDict["scheduledActionConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the scheduledActionConfigurations + * The list of scheduled action configurations for this compliance policy. This collection can contain a maximum of 100 elements. + * + * @param DeviceManagementComplianceActionItem[] $val The scheduledActionConfigurations + * + * @return DeviceManagementComplianceScheduledActionForRule + */ + public function setScheduledActionConfigurations($val) + { + $this->_propDict["scheduledActionConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationAzureAdTrustType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationAzureAdTrustType.php new file mode 100644 index 0000000..5483a70 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationAzureAdTrustType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["categoryDescription"]; + } else { + return null; + } + } + + /** + * Sets the categoryDescription + * Description of the category header + * + * @param string $val The categoryDescription + * + * @return DeviceManagementConfigurationCategory + */ + public function setCategoryDescription($val) + { + $this->_propDict["categoryDescription"] = $val; + return $this; + } + + /** + * Gets the childCategoryIds + * List of child ids of the category. + * + * @return string|null The childCategoryIds + */ + public function getChildCategoryIds() + { + if (array_key_exists("childCategoryIds", $this->_propDict)) { + return $this->_propDict["childCategoryIds"]; + } else { + return null; + } + } + + /** + * Sets the childCategoryIds + * List of child ids of the category. + * + * @param string $val The childCategoryIds + * + * @return DeviceManagementConfigurationCategory + */ + public function setChildCategoryIds($val) + { + $this->_propDict["childCategoryIds"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the item + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the item + * + * @param string $val The description + * + * @return DeviceManagementConfigurationCategory + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the item + * + * @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 + * Display name of the item + * + * @param string $val The displayName + * + * @return DeviceManagementConfigurationCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the helpText + * Help text of the item + * + * @return string|null The helpText + */ + public function getHelpText() + { + if (array_key_exists("helpText", $this->_propDict)) { + return $this->_propDict["helpText"]; + } else { + return null; + } + } + + /** + * Sets the helpText + * Help text of the item + * + * @param string $val The helpText + * + * @return DeviceManagementConfigurationCategory + */ + public function setHelpText($val) + { + $this->_propDict["helpText"] = $val; + return $this; + } + + /** + * Gets the name + * Name of the item + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the item + * + * @param string $val The name + * + * @return DeviceManagementConfigurationCategory + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parentCategoryId + * Parent id of the category. + * + * @return string|null The parentCategoryId + */ + public function getParentCategoryId() + { + if (array_key_exists("parentCategoryId", $this->_propDict)) { + return $this->_propDict["parentCategoryId"]; + } else { + return null; + } + } + + /** + * Sets the parentCategoryId + * Parent id of the category. + * + * @param string $val The parentCategoryId + * + * @return DeviceManagementConfigurationCategory + */ + public function setParentCategoryId($val) + { + $this->_propDict["parentCategoryId"] = $val; + return $this; + } + + /** + * Gets the platforms + * Platforms types, which settings in the category have. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @return DeviceManagementConfigurationPlatforms|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms") || is_null($this->_propDict["platforms"])) { + return $this->_propDict["platforms"]; + } else { + $this->_propDict["platforms"] = new DeviceManagementConfigurationPlatforms($this->_propDict["platforms"]); + return $this->_propDict["platforms"]; + } + } + return null; + } + + /** + * Sets the platforms + * Platforms types, which settings in the category have. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @param DeviceManagementConfigurationPlatforms $val The platforms + * + * @return DeviceManagementConfigurationCategory + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the rootCategoryId + * Root id of the category. + * + * @return string|null The rootCategoryId + */ + public function getRootCategoryId() + { + if (array_key_exists("rootCategoryId", $this->_propDict)) { + return $this->_propDict["rootCategoryId"]; + } else { + return null; + } + } + + /** + * Sets the rootCategoryId + * Root id of the category. + * + * @param string $val The rootCategoryId + * + * @return DeviceManagementConfigurationCategory + */ + public function setRootCategoryId($val) + { + $this->_propDict["rootCategoryId"] = $val; + return $this; + } + + /** + * Gets the settingUsage + * Indicates that the category contains settings that are used for Compliance or Configuration. Possible values are: none, configuration, compliance. + * + * @return DeviceManagementConfigurationSettingUsage|null The settingUsage + */ + public function getSettingUsage() + { + if (array_key_exists("settingUsage", $this->_propDict)) { + if (is_a($this->_propDict["settingUsage"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingUsage") || is_null($this->_propDict["settingUsage"])) { + return $this->_propDict["settingUsage"]; + } else { + $this->_propDict["settingUsage"] = new DeviceManagementConfigurationSettingUsage($this->_propDict["settingUsage"]); + return $this->_propDict["settingUsage"]; + } + } + return null; + } + + /** + * Sets the settingUsage + * Indicates that the category contains settings that are used for Compliance or Configuration. Possible values are: none, configuration, compliance. + * + * @param DeviceManagementConfigurationSettingUsage $val The settingUsage + * + * @return DeviceManagementConfigurationCategory + */ + public function setSettingUsage($val) + { + $this->_propDict["settingUsage"] = $val; + return $this; + } + + /** + * Gets the technologies + * Technologies types, which settings in the category have. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @return DeviceManagementConfigurationTechnologies|null The technologies + */ + public function getTechnologies() + { + if (array_key_exists("technologies", $this->_propDict)) { + if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies") || is_null($this->_propDict["technologies"])) { + return $this->_propDict["technologies"]; + } else { + $this->_propDict["technologies"] = new DeviceManagementConfigurationTechnologies($this->_propDict["technologies"]); + return $this->_propDict["technologies"]; + } + } + return null; + } + + /** + * Sets the technologies + * Technologies types, which settings in the category have. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @param DeviceManagementConfigurationTechnologies $val The technologies + * + * @return DeviceManagementConfigurationCategory + */ + public function setTechnologies($val) + { + $this->_propDict["technologies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php new file mode 100644 index 0000000..1dd8ea6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["maximumCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumCount + * Maximum number of choices in the collection. Valid values 1 to 100 + * + * @param int $val The maximumCount + * + * @return DeviceManagementConfigurationChoiceSettingCollectionDefinition + */ + public function setMaximumCount($val) + { + $this->_propDict["maximumCount"] = intval($val); + return $this; + } + + /** + * Gets the minimumCount + * Minimum number of choices in the collection. Valid values 1 to 100 + * + * @return int|null The minimumCount + */ + public function getMinimumCount() + { + if (array_key_exists("minimumCount", $this->_propDict)) { + return $this->_propDict["minimumCount"]; + } else { + return null; + } + } + + /** + * Sets the minimumCount + * Minimum number of choices in the collection. Valid values 1 to 100 + * + * @param int $val The minimumCount + * + * @return DeviceManagementConfigurationChoiceSettingCollectionDefinition + */ + public function setMinimumCount($val) + { + $this->_propDict["minimumCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstance.php new file mode 100644 index 0000000..ea16836 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstance.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionInstance"); + } + + + /** + * Gets the choiceSettingCollectionValue + * Choice setting collection value + * + * @return DeviceManagementConfigurationChoiceSettingValue|null The choiceSettingCollectionValue + */ + public function getChoiceSettingCollectionValue() + { + if (array_key_exists("choiceSettingCollectionValue", $this->_propDict)) { + if (is_a($this->_propDict["choiceSettingCollectionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValue") || is_null($this->_propDict["choiceSettingCollectionValue"])) { + return $this->_propDict["choiceSettingCollectionValue"]; + } else { + $this->_propDict["choiceSettingCollectionValue"] = new DeviceManagementConfigurationChoiceSettingValue($this->_propDict["choiceSettingCollectionValue"]); + return $this->_propDict["choiceSettingCollectionValue"]; + } + } + return null; + } + + /** + * Sets the choiceSettingCollectionValue + * Choice setting collection value + * + * @param DeviceManagementConfigurationChoiceSettingValue $val The value to assign to the choiceSettingCollectionValue + * + * @return DeviceManagementConfigurationChoiceSettingCollectionInstance The DeviceManagementConfigurationChoiceSettingCollectionInstance + */ + public function setChoiceSettingCollectionValue($val) + { + $this->_propDict["choiceSettingCollectionValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate.php new file mode 100644 index 0000000..b4f7079 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionInstanceTemplate"); + } + + /** + * Gets the allowUnmanagedValues + * Linked policy may append values which are not present in the template. + * + * @return bool|null The allowUnmanagedValues + */ + public function getAllowUnmanagedValues() + { + if (array_key_exists("allowUnmanagedValues", $this->_propDict)) { + return $this->_propDict["allowUnmanagedValues"]; + } else { + return null; + } + } + + /** + * Sets the allowUnmanagedValues + * Linked policy may append values which are not present in the template. + * + * @param bool $val The value of the allowUnmanagedValues + * + * @return DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate + */ + public function setAllowUnmanagedValues($val) + { + $this->_propDict["allowUnmanagedValues"] = $val; + return $this; + } + + /** + * Gets the choiceSettingCollectionValueTemplate + * Choice Setting Collection Value Template + * + * @return DeviceManagementConfigurationChoiceSettingValueTemplate|null The choiceSettingCollectionValueTemplate + */ + public function getChoiceSettingCollectionValueTemplate() + { + if (array_key_exists("choiceSettingCollectionValueTemplate", $this->_propDict)) { + if (is_a($this->_propDict["choiceSettingCollectionValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValueTemplate") || is_null($this->_propDict["choiceSettingCollectionValueTemplate"])) { + return $this->_propDict["choiceSettingCollectionValueTemplate"]; + } else { + $this->_propDict["choiceSettingCollectionValueTemplate"] = new DeviceManagementConfigurationChoiceSettingValueTemplate($this->_propDict["choiceSettingCollectionValueTemplate"]); + return $this->_propDict["choiceSettingCollectionValueTemplate"]; + } + } + return null; + } + + /** + * Sets the choiceSettingCollectionValueTemplate + * Choice Setting Collection Value Template + * + * @param DeviceManagementConfigurationChoiceSettingValueTemplate $val The value to assign to the choiceSettingCollectionValueTemplate + * + * @return DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate The DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate + */ + public function setChoiceSettingCollectionValueTemplate($val) + { + $this->_propDict["choiceSettingCollectionValueTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php new file mode 100644 index 0000000..7e0e869 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["defaultOptionId"]; + } else { + return null; + } + } + + /** + * Sets the defaultOptionId + * Default option for choice setting + * + * @param string $val The defaultOptionId + * + * @return DeviceManagementConfigurationChoiceSettingDefinition + */ + public function setDefaultOptionId($val) + { + $this->_propDict["defaultOptionId"] = $val; + return $this; + } + + + /** + * Gets the options + * Options for the setting that can be selected + * + * @return array|null The options + */ + public function getOptions() + { + if (array_key_exists("options", $this->_propDict)) { + return $this->_propDict["options"]; + } else { + return null; + } + } + + /** + * Sets the options + * Options for the setting that can be selected + * + * @param DeviceManagementConfigurationOptionDefinition[] $val The options + * + * @return DeviceManagementConfigurationChoiceSettingDefinition + */ + public function setOptions($val) + { + $this->_propDict["options"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstance.php new file mode 100644 index 0000000..5f88032 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstance.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance"); + } + + + /** + * Gets the choiceSettingValue + * Choice setting value + * + * @return DeviceManagementConfigurationChoiceSettingValue|null The choiceSettingValue + */ + public function getChoiceSettingValue() + { + if (array_key_exists("choiceSettingValue", $this->_propDict)) { + if (is_a($this->_propDict["choiceSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValue") || is_null($this->_propDict["choiceSettingValue"])) { + return $this->_propDict["choiceSettingValue"]; + } else { + $this->_propDict["choiceSettingValue"] = new DeviceManagementConfigurationChoiceSettingValue($this->_propDict["choiceSettingValue"]); + return $this->_propDict["choiceSettingValue"]; + } + } + return null; + } + + /** + * Sets the choiceSettingValue + * Choice setting value + * + * @param DeviceManagementConfigurationChoiceSettingValue $val The value to assign to the choiceSettingValue + * + * @return DeviceManagementConfigurationChoiceSettingInstance The DeviceManagementConfigurationChoiceSettingInstance + */ + public function setChoiceSettingValue($val) + { + $this->_propDict["choiceSettingValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstanceTemplate.php new file mode 100644 index 0000000..410c847 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstanceTemplate.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingInstanceTemplate"); + } + + + /** + * Gets the choiceSettingValueTemplate + * Choice Setting Value Template + * + * @return DeviceManagementConfigurationChoiceSettingValueTemplate|null The choiceSettingValueTemplate + */ + public function getChoiceSettingValueTemplate() + { + if (array_key_exists("choiceSettingValueTemplate", $this->_propDict)) { + if (is_a($this->_propDict["choiceSettingValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValueTemplate") || is_null($this->_propDict["choiceSettingValueTemplate"])) { + return $this->_propDict["choiceSettingValueTemplate"]; + } else { + $this->_propDict["choiceSettingValueTemplate"] = new DeviceManagementConfigurationChoiceSettingValueTemplate($this->_propDict["choiceSettingValueTemplate"]); + return $this->_propDict["choiceSettingValueTemplate"]; + } + } + return null; + } + + /** + * Sets the choiceSettingValueTemplate + * Choice Setting Value Template + * + * @param DeviceManagementConfigurationChoiceSettingValueTemplate $val The value to assign to the choiceSettingValueTemplate + * + * @return DeviceManagementConfigurationChoiceSettingInstanceTemplate The DeviceManagementConfigurationChoiceSettingInstanceTemplate + */ + public function setChoiceSettingValueTemplate($val) + { + $this->_propDict["choiceSettingValueTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValue.php new file mode 100644 index 0000000..b502ef6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValue.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingValue"); + } + + + /** + * Gets the children + * Child settings. + * + * @return DeviceManagementConfigurationSettingInstance|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance") || is_null($this->_propDict["children"])) { + return $this->_propDict["children"]; + } else { + $this->_propDict["children"] = new DeviceManagementConfigurationSettingInstance($this->_propDict["children"]); + return $this->_propDict["children"]; + } + } + return null; + } + + /** + * Sets the children + * Child settings. + * + * @param DeviceManagementConfigurationSettingInstance $val The value to assign to the children + * + * @return DeviceManagementConfigurationChoiceSettingValue The DeviceManagementConfigurationChoiceSettingValue + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + /** + * Gets the value + * Choice setting value: an OptionDefinition ItemId. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Choice setting value: an OptionDefinition ItemId. + * + * @param string $val The value of the value + * + * @return DeviceManagementConfigurationChoiceSettingValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate.php new file mode 100644 index 0000000..9b2e249 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstanceTemplate") || is_null($this->_propDict["children"])) { + return $this->_propDict["children"]; + } else { + $this->_propDict["children"] = new DeviceManagementConfigurationSettingInstanceTemplate($this->_propDict["children"]); + return $this->_propDict["children"]; + } + } + return null; + } + + /** + * Sets the children + * Option Children + * + * @param DeviceManagementConfigurationSettingInstanceTemplate $val The value to assign to the children + * + * @return DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate The DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + /** + * Gets the settingDefinitionOptionId + * Default Constant Value + * + * @return string|null The settingDefinitionOptionId + */ + public function getSettingDefinitionOptionId() + { + if (array_key_exists("settingDefinitionOptionId", $this->_propDict)) { + return $this->_propDict["settingDefinitionOptionId"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitionOptionId + * Default Constant Value + * + * @param string $val The value of the settingDefinitionOptionId + * + * @return DeviceManagementConfigurationChoiceSettingValueConstantDefaultTemplate + */ + public function setSettingDefinitionOptionId($val) + { + $this->_propDict["settingDefinitionOptionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueDefaultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueDefaultTemplate.php new file mode 100644 index 0000000..a230442 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueDefaultTemplate.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["allowedOptions"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationOptionDefinitionTemplate") || is_null($this->_propDict["allowedOptions"])) { + return $this->_propDict["allowedOptions"]; + } else { + $this->_propDict["allowedOptions"] = new DeviceManagementConfigurationOptionDefinitionTemplate($this->_propDict["allowedOptions"]); + return $this->_propDict["allowedOptions"]; + } + } + return null; + } + + /** + * Sets the allowedOptions + * Choice Setting Allowed Options + * + * @param DeviceManagementConfigurationOptionDefinitionTemplate $val The value to assign to the allowedOptions + * + * @return DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate The DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate + */ + public function setAllowedOptions($val) + { + $this->_propDict["allowedOptions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueTemplate.php new file mode 100644 index 0000000..5e08f37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValueTemplate.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValueDefaultTemplate") || is_null($this->_propDict["defaultValue"])) { + return $this->_propDict["defaultValue"]; + } else { + $this->_propDict["defaultValue"] = new DeviceManagementConfigurationChoiceSettingValueDefaultTemplate($this->_propDict["defaultValue"]); + return $this->_propDict["defaultValue"]; + } + } + return null; + } + + /** + * Sets the defaultValue + * Choice Setting Value Default Template. + * + * @param DeviceManagementConfigurationChoiceSettingValueDefaultTemplate $val The value to assign to the defaultValue + * + * @return DeviceManagementConfigurationChoiceSettingValueTemplate The DeviceManagementConfigurationChoiceSettingValueTemplate + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + /** + * Gets the recommendedValueDefinition + * Recommended definition override. + * + * @return DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate|null The recommendedValueDefinition + */ + public function getRecommendedValueDefinition() + { + if (array_key_exists("recommendedValueDefinition", $this->_propDict)) { + if (is_a($this->_propDict["recommendedValueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate") || is_null($this->_propDict["recommendedValueDefinition"])) { + return $this->_propDict["recommendedValueDefinition"]; + } else { + $this->_propDict["recommendedValueDefinition"] = new DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate($this->_propDict["recommendedValueDefinition"]); + return $this->_propDict["recommendedValueDefinition"]; + } + } + return null; + } + + /** + * Sets the recommendedValueDefinition + * Recommended definition override. + * + * @param DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate $val The value to assign to the recommendedValueDefinition + * + * @return DeviceManagementConfigurationChoiceSettingValueTemplate The DeviceManagementConfigurationChoiceSettingValueTemplate + */ + public function setRecommendedValueDefinition($val) + { + $this->_propDict["recommendedValueDefinition"] = $val; + return $this; + } + + /** + * Gets the requiredValueDefinition + * Required definition override. + * + * @return DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate|null The requiredValueDefinition + */ + public function getRequiredValueDefinition() + { + if (array_key_exists("requiredValueDefinition", $this->_propDict)) { + if (is_a($this->_propDict["requiredValueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate") || is_null($this->_propDict["requiredValueDefinition"])) { + return $this->_propDict["requiredValueDefinition"]; + } else { + $this->_propDict["requiredValueDefinition"] = new DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate($this->_propDict["requiredValueDefinition"]); + return $this->_propDict["requiredValueDefinition"]; + } + } + return null; + } + + /** + * Sets the requiredValueDefinition + * Required definition override. + * + * @param DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate $val The value to assign to the requiredValueDefinition + * + * @return DeviceManagementConfigurationChoiceSettingValueTemplate The DeviceManagementConfigurationChoiceSettingValueTemplate + */ + public function setRequiredValueDefinition($val) + { + $this->_propDict["requiredValueDefinition"] = $val; + return $this; + } + /** + * Gets the settingValueTemplateId + * Setting Value Template Id + * + * @return string|null The settingValueTemplateId + */ + public function getSettingValueTemplateId() + { + if (array_key_exists("settingValueTemplateId", $this->_propDict)) { + return $this->_propDict["settingValueTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the settingValueTemplateId + * Setting Value Template Id + * + * @param string $val The value of the settingValueTemplateId + * + * @return DeviceManagementConfigurationChoiceSettingValueTemplate + */ + public function setSettingValueTemplateId($val) + { + $this->_propDict["settingValueTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php new file mode 100644 index 0000000..e6dc348 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["dependentOn"]; + } else { + return null; + } + } + + /** + * Sets the dependentOn + * Identifier of parent setting/ parent setting option dependent on + * + * @param string $val The value of the dependentOn + * + * @return DeviceManagementConfigurationDependentOn + */ + public function setDependentOn($val) + { + $this->_propDict["dependentOn"] = $val; + return $this; + } + /** + * Gets the parentSettingId + * Identifier of parent setting/ parent setting id dependent on + * + * @return string|null The parentSettingId + */ + public function getParentSettingId() + { + if (array_key_exists("parentSettingId", $this->_propDict)) { + return $this->_propDict["parentSettingId"]; + } else { + return null; + } + } + + /** + * Sets the parentSettingId + * Identifier of parent setting/ parent setting id dependent on + * + * @param string $val The value of the parentSettingId + * + * @return DeviceManagementConfigurationDependentOn + */ + public function setParentSettingId($val) + { + $this->_propDict["parentSettingId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationDeviceMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationDeviceMode.php new file mode 100644 index 0000000..5428f1c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationDeviceMode.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingCollectionInstance"); + } + + + /** + * Gets the groupSettingCollectionValue + * A collection of GroupSetting values + * + * @return DeviceManagementConfigurationGroupSettingValue|null The groupSettingCollectionValue + */ + public function getGroupSettingCollectionValue() + { + if (array_key_exists("groupSettingCollectionValue", $this->_propDict)) { + if (is_a($this->_propDict["groupSettingCollectionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValue") || is_null($this->_propDict["groupSettingCollectionValue"])) { + return $this->_propDict["groupSettingCollectionValue"]; + } else { + $this->_propDict["groupSettingCollectionValue"] = new DeviceManagementConfigurationGroupSettingValue($this->_propDict["groupSettingCollectionValue"]); + return $this->_propDict["groupSettingCollectionValue"]; + } + } + return null; + } + + /** + * Sets the groupSettingCollectionValue + * A collection of GroupSetting values + * + * @param DeviceManagementConfigurationGroupSettingValue $val The value to assign to the groupSettingCollectionValue + * + * @return DeviceManagementConfigurationGroupSettingCollectionInstance The DeviceManagementConfigurationGroupSettingCollectionInstance + */ + public function setGroupSettingCollectionValue($val) + { + $this->_propDict["groupSettingCollectionValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate.php new file mode 100644 index 0000000..48e0c01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingCollectionInstanceTemplate"); + } + + /** + * Gets the allowUnmanagedValues + * Linked policy may append values which are not present in the template. + * + * @return bool|null The allowUnmanagedValues + */ + public function getAllowUnmanagedValues() + { + if (array_key_exists("allowUnmanagedValues", $this->_propDict)) { + return $this->_propDict["allowUnmanagedValues"]; + } else { + return null; + } + } + + /** + * Sets the allowUnmanagedValues + * Linked policy may append values which are not present in the template. + * + * @param bool $val The value of the allowUnmanagedValues + * + * @return DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate + */ + public function setAllowUnmanagedValues($val) + { + $this->_propDict["allowUnmanagedValues"] = $val; + return $this; + } + + /** + * Gets the groupSettingCollectionValueTemplate + * Group Setting Collection Value Template + * + * @return DeviceManagementConfigurationGroupSettingValueTemplate|null The groupSettingCollectionValueTemplate + */ + public function getGroupSettingCollectionValueTemplate() + { + if (array_key_exists("groupSettingCollectionValueTemplate", $this->_propDict)) { + if (is_a($this->_propDict["groupSettingCollectionValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValueTemplate") || is_null($this->_propDict["groupSettingCollectionValueTemplate"])) { + return $this->_propDict["groupSettingCollectionValueTemplate"]; + } else { + $this->_propDict["groupSettingCollectionValueTemplate"] = new DeviceManagementConfigurationGroupSettingValueTemplate($this->_propDict["groupSettingCollectionValueTemplate"]); + return $this->_propDict["groupSettingCollectionValueTemplate"]; + } + } + return null; + } + + /** + * Sets the groupSettingCollectionValueTemplate + * Group Setting Collection Value Template + * + * @param DeviceManagementConfigurationGroupSettingValueTemplate $val The value to assign to the groupSettingCollectionValueTemplate + * + * @return DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate The DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate + */ + public function setGroupSettingCollectionValueTemplate($val) + { + $this->_propDict["groupSettingCollectionValueTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstance.php new file mode 100644 index 0000000..89b26fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstance.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingInstance"); + } + + + /** + * Gets the groupSettingValue + * GroupSetting value + * + * @return DeviceManagementConfigurationGroupSettingValue|null The groupSettingValue + */ + public function getGroupSettingValue() + { + if (array_key_exists("groupSettingValue", $this->_propDict)) { + if (is_a($this->_propDict["groupSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValue") || is_null($this->_propDict["groupSettingValue"])) { + return $this->_propDict["groupSettingValue"]; + } else { + $this->_propDict["groupSettingValue"] = new DeviceManagementConfigurationGroupSettingValue($this->_propDict["groupSettingValue"]); + return $this->_propDict["groupSettingValue"]; + } + } + return null; + } + + /** + * Sets the groupSettingValue + * GroupSetting value + * + * @param DeviceManagementConfigurationGroupSettingValue $val The value to assign to the groupSettingValue + * + * @return DeviceManagementConfigurationGroupSettingInstance The DeviceManagementConfigurationGroupSettingInstance + */ + public function setGroupSettingValue($val) + { + $this->_propDict["groupSettingValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstanceTemplate.php new file mode 100644 index 0000000..87583f7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstanceTemplate.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingInstanceTemplate"); + } + + + /** + * Gets the groupSettingValueTemplate + * Group Setting Value Template + * + * @return DeviceManagementConfigurationGroupSettingValueTemplate|null The groupSettingValueTemplate + */ + public function getGroupSettingValueTemplate() + { + if (array_key_exists("groupSettingValueTemplate", $this->_propDict)) { + if (is_a($this->_propDict["groupSettingValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValueTemplate") || is_null($this->_propDict["groupSettingValueTemplate"])) { + return $this->_propDict["groupSettingValueTemplate"]; + } else { + $this->_propDict["groupSettingValueTemplate"] = new DeviceManagementConfigurationGroupSettingValueTemplate($this->_propDict["groupSettingValueTemplate"]); + return $this->_propDict["groupSettingValueTemplate"]; + } + } + return null; + } + + /** + * Sets the groupSettingValueTemplate + * Group Setting Value Template + * + * @param DeviceManagementConfigurationGroupSettingValueTemplate $val The value to assign to the groupSettingValueTemplate + * + * @return DeviceManagementConfigurationGroupSettingInstanceTemplate The DeviceManagementConfigurationGroupSettingInstanceTemplate + */ + public function setGroupSettingValueTemplate($val) + { + $this->_propDict["groupSettingValueTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValue.php new file mode 100644 index 0000000..81bfff7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValue.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingValue"); + } + + + /** + * Gets the children + * Collection of child setting instances contained within this GroupSetting + * + * @return DeviceManagementConfigurationSettingInstance|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance") || is_null($this->_propDict["children"])) { + return $this->_propDict["children"]; + } else { + $this->_propDict["children"] = new DeviceManagementConfigurationSettingInstance($this->_propDict["children"]); + return $this->_propDict["children"]; + } + } + return null; + } + + /** + * Sets the children + * Collection of child setting instances contained within this GroupSetting + * + * @param DeviceManagementConfigurationSettingInstance $val The value to assign to the children + * + * @return DeviceManagementConfigurationGroupSettingValue The DeviceManagementConfigurationGroupSettingValue + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValueTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValueTemplate.php new file mode 100644 index 0000000..2e4be09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValueTemplate.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstanceTemplate") || is_null($this->_propDict["children"])) { + return $this->_propDict["children"]; + } else { + $this->_propDict["children"] = new DeviceManagementConfigurationSettingInstanceTemplate($this->_propDict["children"]); + return $this->_propDict["children"]; + } + } + return null; + } + + /** + * Sets the children + * Group setting value children + * + * @param DeviceManagementConfigurationSettingInstanceTemplate $val The value to assign to the children + * + * @return DeviceManagementConfigurationGroupSettingValueTemplate The DeviceManagementConfigurationGroupSettingValueTemplate + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + /** + * Gets the settingValueTemplateId + * Setting Value Template Id + * + * @return string|null The settingValueTemplateId + */ + public function getSettingValueTemplateId() + { + if (array_key_exists("settingValueTemplateId", $this->_propDict)) { + return $this->_propDict["settingValueTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the settingValueTemplateId + * Setting Value Template Id + * + * @param string $val The value of the settingValueTemplateId + * + * @return DeviceManagementConfigurationGroupSettingValueTemplate + */ + public function setSettingValueTemplateId($val) + { + $this->_propDict["settingValueTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValue.php new file mode 100644 index 0000000..a0e5194 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValue.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the integer setting. + * + * @param int $val The value of the value + * + * @return DeviceManagementConfigurationIntegerSettingValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueConstantDefaultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueConstantDefaultTemplate.php new file mode 100644 index 0000000..87f9ef2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueConstantDefaultTemplate.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["constantValue"]; + } else { + return null; + } + } + + /** + * Sets the constantValue + * Default Constant Value. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the constantValue + * + * @return DeviceManagementConfigurationIntegerSettingValueConstantDefaultTemplate + */ + public function setConstantValue($val) + { + $this->_propDict["constantValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefaultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefaultTemplate.php new file mode 100644 index 0000000..44a7143 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefaultTemplate.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["maximumValue"]; + } else { + return null; + } + } + + /** + * Sets the maximumValue + * Maximum allowed value of the integer + * + * @param int $val The value of the maximumValue + * + * @return DeviceManagementConfigurationIntegerSettingValueDefinition + */ + public function setMaximumValue($val) + { + $this->_propDict["maximumValue"] = $val; + return $this; + } + /** + * Gets the minimumValue + * Minimum allowed value of the integer + * + * @return int|null The minimumValue + */ + public function getMinimumValue() + { + if (array_key_exists("minimumValue", $this->_propDict)) { + return $this->_propDict["minimumValue"]; + } else { + return null; + } + } + + /** + * Sets the minimumValue + * Minimum allowed value of the integer + * + * @param int $val The value of the minimumValue + * + * @return DeviceManagementConfigurationIntegerSettingValueDefinition + */ + public function setMinimumValue($val) + { + $this->_propDict["minimumValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate.php new file mode 100644 index 0000000..5250b8d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["maxValue"]; + } else { + return null; + } + } + + /** + * Sets the maxValue + * Integer Setting Maximum Value. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the maxValue + * + * @return DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate + */ + public function setMaxValue($val) + { + $this->_propDict["maxValue"] = $val; + return $this; + } + /** + * Gets the minValue + * Integer Setting Minimum Value. Valid values -2147483648 to 2147483647 + * + * @return int|null The minValue + */ + public function getMinValue() + { + if (array_key_exists("minValue", $this->_propDict)) { + return $this->_propDict["minValue"]; + } else { + return null; + } + } + + /** + * Sets the minValue + * Integer Setting Minimum Value. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the minValue + * + * @return DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate + */ + public function setMinValue($val) + { + $this->_propDict["minValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueTemplate.php new file mode 100644 index 0000000..0ec777b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueTemplate.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationIntegerSettingValueDefaultTemplate") || is_null($this->_propDict["defaultValue"])) { + return $this->_propDict["defaultValue"]; + } else { + $this->_propDict["defaultValue"] = new DeviceManagementConfigurationIntegerSettingValueDefaultTemplate($this->_propDict["defaultValue"]); + return $this->_propDict["defaultValue"]; + } + } + return null; + } + + /** + * Sets the defaultValue + * Integer Setting Value Default Template. + * + * @param DeviceManagementConfigurationIntegerSettingValueDefaultTemplate $val The value to assign to the defaultValue + * + * @return DeviceManagementConfigurationIntegerSettingValueTemplate The DeviceManagementConfigurationIntegerSettingValueTemplate + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + /** + * Gets the recommendedValueDefinition + * Recommended value definition. + * + * @return DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate|null The recommendedValueDefinition + */ + public function getRecommendedValueDefinition() + { + if (array_key_exists("recommendedValueDefinition", $this->_propDict)) { + if (is_a($this->_propDict["recommendedValueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate") || is_null($this->_propDict["recommendedValueDefinition"])) { + return $this->_propDict["recommendedValueDefinition"]; + } else { + $this->_propDict["recommendedValueDefinition"] = new DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate($this->_propDict["recommendedValueDefinition"]); + return $this->_propDict["recommendedValueDefinition"]; + } + } + return null; + } + + /** + * Sets the recommendedValueDefinition + * Recommended value definition. + * + * @param DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate $val The value to assign to the recommendedValueDefinition + * + * @return DeviceManagementConfigurationIntegerSettingValueTemplate The DeviceManagementConfigurationIntegerSettingValueTemplate + */ + public function setRecommendedValueDefinition($val) + { + $this->_propDict["recommendedValueDefinition"] = $val; + return $this; + } + + /** + * Gets the requiredValueDefinition + * Required value definition. + * + * @return DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate|null The requiredValueDefinition + */ + public function getRequiredValueDefinition() + { + if (array_key_exists("requiredValueDefinition", $this->_propDict)) { + if (is_a($this->_propDict["requiredValueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate") || is_null($this->_propDict["requiredValueDefinition"])) { + return $this->_propDict["requiredValueDefinition"]; + } else { + $this->_propDict["requiredValueDefinition"] = new DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate($this->_propDict["requiredValueDefinition"]); + return $this->_propDict["requiredValueDefinition"]; + } + } + return null; + } + + /** + * Sets the requiredValueDefinition + * Required value definition. + * + * @param DeviceManagementConfigurationIntegerSettingValueDefinitionTemplate $val The value to assign to the requiredValueDefinition + * + * @return DeviceManagementConfigurationIntegerSettingValueTemplate The DeviceManagementConfigurationIntegerSettingValueTemplate + */ + public function setRequiredValueDefinition($val) + { + $this->_propDict["requiredValueDefinition"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinition.php new file mode 100644 index 0000000..fb0026c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinition.php @@ -0,0 +1,265 @@ +_propDict)) { + if (is_a($this->_propDict["dependedOnBy"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingDependedOnBy") || is_null($this->_propDict["dependedOnBy"])) { + return $this->_propDict["dependedOnBy"]; + } else { + $this->_propDict["dependedOnBy"] = new DeviceManagementConfigurationSettingDependedOnBy($this->_propDict["dependedOnBy"]); + return $this->_propDict["dependedOnBy"]; + } + } + return null; + } + + /** + * Sets the dependedOnBy + * List of Settings that depends on this option + * + * @param DeviceManagementConfigurationSettingDependedOnBy $val The value to assign to the dependedOnBy + * + * @return DeviceManagementConfigurationOptionDefinition The DeviceManagementConfigurationOptionDefinition + */ + public function setDependedOnBy($val) + { + $this->_propDict["dependedOnBy"] = $val; + return $this; + } + + /** + * Gets the dependentOn + * List of dependent settings for this option + * + * @return DeviceManagementConfigurationDependentOn|null The dependentOn + */ + public function getDependentOn() + { + if (array_key_exists("dependentOn", $this->_propDict)) { + if (is_a($this->_propDict["dependentOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationDependentOn") || is_null($this->_propDict["dependentOn"])) { + return $this->_propDict["dependentOn"]; + } else { + $this->_propDict["dependentOn"] = new DeviceManagementConfigurationDependentOn($this->_propDict["dependentOn"]); + return $this->_propDict["dependentOn"]; + } + } + return null; + } + + /** + * Sets the dependentOn + * List of dependent settings for this option + * + * @param DeviceManagementConfigurationDependentOn $val The value to assign to the dependentOn + * + * @return DeviceManagementConfigurationOptionDefinition The DeviceManagementConfigurationOptionDefinition + */ + public function setDependentOn($val) + { + $this->_propDict["dependentOn"] = $val; + return $this; + } + /** + * Gets the description + * Description of the option + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the option + * + * @param string $val The value of the description + * + * @return DeviceManagementConfigurationOptionDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Friendly name of the option + * + * @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 + * Friendly name of the option + * + * @param string $val The value of the displayName + * + * @return DeviceManagementConfigurationOptionDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the helpText + * Help text of the option + * + * @return string|null The helpText + */ + public function getHelpText() + { + if (array_key_exists("helpText", $this->_propDict)) { + return $this->_propDict["helpText"]; + } else { + return null; + } + } + + /** + * Sets the helpText + * Help text of the option + * + * @param string $val The value of the helpText + * + * @return DeviceManagementConfigurationOptionDefinition + */ + public function setHelpText($val) + { + $this->_propDict["helpText"] = $val; + return $this; + } + /** + * Gets the itemId + * Identifier of option + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * Identifier of option + * + * @param string $val The value of the itemId + * + * @return DeviceManagementConfigurationOptionDefinition + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + /** + * Gets the name + * Name of the option + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the option + * + * @param string $val The value of the name + * + * @return DeviceManagementConfigurationOptionDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the optionValue + * Value of the option + * + * @return DeviceManagementConfigurationSettingValue|null The optionValue + */ + public function getOptionValue() + { + if (array_key_exists("optionValue", $this->_propDict)) { + if (is_a($this->_propDict["optionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValue") || is_null($this->_propDict["optionValue"])) { + return $this->_propDict["optionValue"]; + } else { + $this->_propDict["optionValue"] = new DeviceManagementConfigurationSettingValue($this->_propDict["optionValue"]); + return $this->_propDict["optionValue"]; + } + } + return null; + } + + /** + * Sets the optionValue + * Value of the option + * + * @param DeviceManagementConfigurationSettingValue $val The value to assign to the optionValue + * + * @return DeviceManagementConfigurationOptionDefinition The DeviceManagementConfigurationOptionDefinition + */ + public function setOptionValue($val) + { + $this->_propDict["optionValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinitionTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinitionTemplate.php new file mode 100644 index 0000000..cecf4e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinitionTemplate.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstanceTemplate") || is_null($this->_propDict["children"])) { + return $this->_propDict["children"]; + } else { + $this->_propDict["children"] = new DeviceManagementConfigurationSettingInstanceTemplate($this->_propDict["children"]); + return $this->_propDict["children"]; + } + } + return null; + } + + /** + * Sets the children + * Option Children + * + * @param DeviceManagementConfigurationSettingInstanceTemplate $val The value to assign to the children + * + * @return DeviceManagementConfigurationOptionDefinitionTemplate The DeviceManagementConfigurationOptionDefinitionTemplate + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + /** + * Gets the itemId + * Option ItemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * Option ItemId + * + * @param string $val The value of the itemId + * + * @return DeviceManagementConfigurationOptionDefinitionTemplate + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPlatforms.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPlatforms.php new file mode 100644 index 0000000..ce61af8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPlatforms.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Policy creation date and time + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceManagementConfigurationPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationSource + * Policy creation source + * + * @return string|null The creationSource + */ + public function getCreationSource() + { + if (array_key_exists("creationSource", $this->_propDict)) { + return $this->_propDict["creationSource"]; + } else { + return null; + } + } + + /** + * Sets the creationSource + * Policy creation source + * + * @param string $val The creationSource + * + * @return DeviceManagementConfigurationPolicy + */ + public function setCreationSource($val) + { + $this->_propDict["creationSource"] = $val; + return $this; + } + + /** + * Gets the description + * Policy description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Policy description + * + * @param string $val The description + * + * @return DeviceManagementConfigurationPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the isAssigned + * Policy assignment status. This property is read-only. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Policy assignment status. This property is read-only. + * + * @param bool $val The isAssigned + * + * @return DeviceManagementConfigurationPolicy + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Policy last modification date and time + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Policy last modification date and time + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceManagementConfigurationPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * Policy name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Policy name + * + * @param string $val The name + * + * @return DeviceManagementConfigurationPolicy + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the platforms + * Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @return DeviceManagementConfigurationPlatforms|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms") || is_null($this->_propDict["platforms"])) { + return $this->_propDict["platforms"]; + } else { + $this->_propDict["platforms"] = new DeviceManagementConfigurationPlatforms($this->_propDict["platforms"]); + return $this->_propDict["platforms"]; + } + } + return null; + } + + /** + * Sets the platforms + * Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @param DeviceManagementConfigurationPlatforms $val The platforms + * + * @return DeviceManagementConfigurationPolicy + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceManagementConfigurationPolicy + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Number of settings + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Number of settings + * + * @param int $val The settingCount + * + * @return DeviceManagementConfigurationPolicy + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + /** + * Gets the technologies + * Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @return DeviceManagementConfigurationTechnologies|null The technologies + */ + public function getTechnologies() + { + if (array_key_exists("technologies", $this->_propDict)) { + if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies") || is_null($this->_propDict["technologies"])) { + return $this->_propDict["technologies"]; + } else { + $this->_propDict["technologies"] = new DeviceManagementConfigurationTechnologies($this->_propDict["technologies"]); + return $this->_propDict["technologies"]; + } + } + return null; + } + + /** + * Sets the technologies + * Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @param DeviceManagementConfigurationTechnologies $val The technologies + * + * @return DeviceManagementConfigurationPolicy + */ + public function setTechnologies($val) + { + $this->_propDict["technologies"] = $val; + return $this; + } + + /** + * Gets the templateReference + * Template reference information + * + * @return DeviceManagementConfigurationPolicyTemplateReference|null The templateReference + */ + public function getTemplateReference() + { + if (array_key_exists("templateReference", $this->_propDict)) { + if (is_a($this->_propDict["templateReference"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPolicyTemplateReference") || is_null($this->_propDict["templateReference"])) { + return $this->_propDict["templateReference"]; + } else { + $this->_propDict["templateReference"] = new DeviceManagementConfigurationPolicyTemplateReference($this->_propDict["templateReference"]); + return $this->_propDict["templateReference"]; + } + } + return null; + } + + /** + * Sets the templateReference + * Template reference information + * + * @param DeviceManagementConfigurationPolicyTemplateReference $val The templateReference + * + * @return DeviceManagementConfigurationPolicy + */ + public function setTemplateReference($val) + { + $this->_propDict["templateReference"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Policy assignments + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Policy assignments + * + * @param DeviceManagementConfigurationPolicyAssignment[] $val The assignments + * + * @return DeviceManagementConfigurationPolicy + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the settings + * Policy settings + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * Policy settings + * + * @param DeviceManagementConfigurationSetting[] $val The settings + * + * @return DeviceManagementConfigurationPolicy + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyAssignment.php new file mode 100644 index 0000000..223136a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyAssignment.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * The assignment source for the device compliance policy, direct or parcel/policySet. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return DeviceManagementConfigurationPolicyAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * The identifier of the source of the assignment. + * + * @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 + * The identifier of the source of the assignment. + * + * @param string $val The sourceId + * + * @return DeviceManagementConfigurationPolicyAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for the DeviceManagementConfigurationPolicy. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the DeviceManagementConfigurationPolicy. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceManagementConfigurationPolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyPolicySetItem.php new file mode 100644 index 0000000..1abc521 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["allowUnmanagedSettings"]; + } else { + return null; + } + } + + /** + * Sets the allowUnmanagedSettings + * Allow unmanaged setting templates + * + * @param bool $val The allowUnmanagedSettings + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setAllowUnmanagedSettings($val) + { + $this->_propDict["allowUnmanagedSettings"] = boolval($val); + return $this; + } + + /** + * Gets the baseId + * Template base identifier + * + * @return string|null The baseId + */ + public function getBaseId() + { + if (array_key_exists("baseId", $this->_propDict)) { + return $this->_propDict["baseId"]; + } else { + return null; + } + } + + /** + * Sets the baseId + * Template base identifier + * + * @param string $val The baseId + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setBaseId($val) + { + $this->_propDict["baseId"] = $val; + return $this; + } + + /** + * Gets the description + * Template description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Template description + * + * @param string $val The description + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Template display name + * + * @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 + * Template display name + * + * @param string $val The displayName + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the displayVersion + * Description of template version + * + * @return string|null The displayVersion + */ + public function getDisplayVersion() + { + if (array_key_exists("displayVersion", $this->_propDict)) { + return $this->_propDict["displayVersion"]; + } else { + return null; + } + } + + /** + * Sets the displayVersion + * Description of template version + * + * @param string $val The displayVersion + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setDisplayVersion($val) + { + $this->_propDict["displayVersion"] = $val; + return $this; + } + + /** + * Gets the lifecycleState + * Indicate current lifecycle state of template. Possible values are: invalid, draft, active, superseded, deprecated, retired. + * + * @return DeviceManagementTemplateLifecycleState|null The lifecycleState + */ + public function getLifecycleState() + { + if (array_key_exists("lifecycleState", $this->_propDict)) { + if (is_a($this->_propDict["lifecycleState"], "\Beta\Microsoft\Graph\Model\DeviceManagementTemplateLifecycleState") || is_null($this->_propDict["lifecycleState"])) { + return $this->_propDict["lifecycleState"]; + } else { + $this->_propDict["lifecycleState"] = new DeviceManagementTemplateLifecycleState($this->_propDict["lifecycleState"]); + return $this->_propDict["lifecycleState"]; + } + } + return null; + } + + /** + * Sets the lifecycleState + * Indicate current lifecycle state of template. Possible values are: invalid, draft, active, superseded, deprecated, retired. + * + * @param DeviceManagementTemplateLifecycleState $val The lifecycleState + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setLifecycleState($val) + { + $this->_propDict["lifecycleState"] = $val; + return $this; + } + + /** + * Gets the platforms + * Platforms for this template. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @return DeviceManagementConfigurationPlatforms|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms") || is_null($this->_propDict["platforms"])) { + return $this->_propDict["platforms"]; + } else { + $this->_propDict["platforms"] = new DeviceManagementConfigurationPlatforms($this->_propDict["platforms"]); + return $this->_propDict["platforms"]; + } + } + return null; + } + + /** + * Sets the platforms + * Platforms for this template. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @param DeviceManagementConfigurationPlatforms $val The platforms + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the settingTemplateCount + * Number of setting templates. Valid values 0 to 2147483647. This property is read-only. + * + * @return int|null The settingTemplateCount + */ + public function getSettingTemplateCount() + { + if (array_key_exists("settingTemplateCount", $this->_propDict)) { + return $this->_propDict["settingTemplateCount"]; + } else { + return null; + } + } + + /** + * Sets the settingTemplateCount + * Number of setting templates. Valid values 0 to 2147483647. This property is read-only. + * + * @param int $val The settingTemplateCount + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setSettingTemplateCount($val) + { + $this->_propDict["settingTemplateCount"] = intval($val); + return $this; + } + + /** + * Gets the technologies + * Technologies for this template. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @return DeviceManagementConfigurationTechnologies|null The technologies + */ + public function getTechnologies() + { + if (array_key_exists("technologies", $this->_propDict)) { + if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies") || is_null($this->_propDict["technologies"])) { + return $this->_propDict["technologies"]; + } else { + $this->_propDict["technologies"] = new DeviceManagementConfigurationTechnologies($this->_propDict["technologies"]); + return $this->_propDict["technologies"]; + } + } + return null; + } + + /** + * Sets the technologies + * Technologies for this template. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @param DeviceManagementConfigurationTechnologies $val The technologies + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setTechnologies($val) + { + $this->_propDict["technologies"] = $val; + return $this; + } + + /** + * Gets the templateFamily + * TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, baseline. + * + * @return DeviceManagementConfigurationTemplateFamily|null The templateFamily + */ + public function getTemplateFamily() + { + if (array_key_exists("templateFamily", $this->_propDict)) { + if (is_a($this->_propDict["templateFamily"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTemplateFamily") || is_null($this->_propDict["templateFamily"])) { + return $this->_propDict["templateFamily"]; + } else { + $this->_propDict["templateFamily"] = new DeviceManagementConfigurationTemplateFamily($this->_propDict["templateFamily"]); + return $this->_propDict["templateFamily"]; + } + } + return null; + } + + /** + * Sets the templateFamily + * TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, baseline. + * + * @param DeviceManagementConfigurationTemplateFamily $val The templateFamily + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setTemplateFamily($val) + { + $this->_propDict["templateFamily"] = $val; + return $this; + } + + /** + * Gets the version + * Template version. Valid values 1 to 2147483647. This property is read-only. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Template version. Valid values 1 to 2147483647. This property is read-only. + * + * @param int $val The version + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the settingTemplates + * Setting templates + * + * @return array|null The settingTemplates + */ + public function getSettingTemplates() + { + if (array_key_exists("settingTemplates", $this->_propDict)) { + return $this->_propDict["settingTemplates"]; + } else { + return null; + } + } + + /** + * Sets the settingTemplates + * Setting templates + * + * @param DeviceManagementConfigurationSettingTemplate[] $val The settingTemplates + * + * @return DeviceManagementConfigurationPolicyTemplate + */ + public function setSettingTemplates($val) + { + $this->_propDict["settingTemplates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyTemplateReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyTemplateReference.php new file mode 100644 index 0000000..11f5cc4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyTemplateReference.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["templateDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the templateDisplayName + * Template Display Name of the referenced template. This property is read-only. + * + * @param string $val The value of the templateDisplayName + * + * @return DeviceManagementConfigurationPolicyTemplateReference + */ + public function setTemplateDisplayName($val) + { + $this->_propDict["templateDisplayName"] = $val; + return $this; + } + /** + * Gets the templateDisplayVersion + * Template Display Version of the referenced Template. This property is read-only. + * + * @return string|null The templateDisplayVersion + */ + public function getTemplateDisplayVersion() + { + if (array_key_exists("templateDisplayVersion", $this->_propDict)) { + return $this->_propDict["templateDisplayVersion"]; + } else { + return null; + } + } + + /** + * Sets the templateDisplayVersion + * Template Display Version of the referenced Template. This property is read-only. + * + * @param string $val The value of the templateDisplayVersion + * + * @return DeviceManagementConfigurationPolicyTemplateReference + */ + public function setTemplateDisplayVersion($val) + { + $this->_propDict["templateDisplayVersion"] = $val; + return $this; + } + + /** + * Gets the templateFamily + * Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, baseline. + * + * @return DeviceManagementConfigurationTemplateFamily|null The templateFamily + */ + public function getTemplateFamily() + { + if (array_key_exists("templateFamily", $this->_propDict)) { + if (is_a($this->_propDict["templateFamily"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTemplateFamily") || is_null($this->_propDict["templateFamily"])) { + return $this->_propDict["templateFamily"]; + } else { + $this->_propDict["templateFamily"] = new DeviceManagementConfigurationTemplateFamily($this->_propDict["templateFamily"]); + return $this->_propDict["templateFamily"]; + } + } + return null; + } + + /** + * Sets the templateFamily + * Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, baseline. + * + * @param DeviceManagementConfigurationTemplateFamily $val The value to assign to the templateFamily + * + * @return DeviceManagementConfigurationPolicyTemplateReference The DeviceManagementConfigurationPolicyTemplateReference + */ + public function setTemplateFamily($val) + { + $this->_propDict["templateFamily"] = $val; + return $this; + } + /** + * Gets the templateId + * Template id + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * Template id + * + * @param string $val The value of the templateId + * + * @return DeviceManagementConfigurationPolicyTemplateReference + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationRedirectSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationRedirectSettingDefinition.php new file mode 100644 index 0000000..ec96341 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationRedirectSettingDefinition.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["deepLink"]; + } else { + return null; + } + } + + /** + * Sets the deepLink + * A deep link that points to the specific location in the Intune console where feature support must be managed from. + * + * @param string $val The deepLink + * + * @return DeviceManagementConfigurationRedirectSettingDefinition + */ + public function setDeepLink($val) + { + $this->_propDict["deepLink"] = $val; + return $this; + } + + /** + * Gets the redirectMessage + * A message that explains that clicking the link will redirect the user to a supported page to manage the settings. + * + * @return string|null The redirectMessage + */ + public function getRedirectMessage() + { + if (array_key_exists("redirectMessage", $this->_propDict)) { + return $this->_propDict["redirectMessage"]; + } else { + return null; + } + } + + /** + * Sets the redirectMessage + * A message that explains that clicking the link will redirect the user to a supported page to manage the settings. + * + * @param string $val The redirectMessage + * + * @return DeviceManagementConfigurationRedirectSettingDefinition + */ + public function setRedirectMessage($val) + { + $this->_propDict["redirectMessage"] = $val; + return $this; + } + + /** + * Gets the redirectReason + * Indicates the reason for redirecting the user to an alternative location in the console. For example: WiFi profiles are not supported in the settings catalog and must be created with a template policy. + * + * @return string|null The redirectReason + */ + public function getRedirectReason() + { + if (array_key_exists("redirectReason", $this->_propDict)) { + return $this->_propDict["redirectReason"]; + } else { + return null; + } + } + + /** + * Sets the redirectReason + * Indicates the reason for redirecting the user to an alternative location in the console. For example: WiFi profiles are not supported in the settings catalog and must be created with a template policy. + * + * @param string $val The redirectReason + * + * @return DeviceManagementConfigurationRedirectSettingDefinition + */ + public function setRedirectReason($val) + { + $this->_propDict["redirectReason"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferenceSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferenceSettingValue.php new file mode 100644 index 0000000..d3e1ac5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferenceSettingValue.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["note"]; + } else { + return null; + } + } + + /** + * Sets the note + * A note that admin can use to put some contextual information + * + * @param string $val The value of the note + * + * @return DeviceManagementConfigurationReferenceSettingValue + */ + public function setNote($val) + { + $this->_propDict["note"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php new file mode 100644 index 0000000..62f8fe8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationReferredSettingInformation.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["settingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitionId + * Setting definition id that is being referred to a setting. Applicable for reusable setting + * + * @param string $val The value of the settingDefinitionId + * + * @return DeviceManagementConfigurationReferredSettingInformation + */ + public function setSettingDefinitionId($val) + { + $this->_propDict["settingDefinitionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSecretSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSecretSettingValue.php new file mode 100644 index 0000000..e29bad7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSecretSettingValue.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the secret setting. + * + * @param string $val The value of the value + * + * @return DeviceManagementConfigurationSecretSettingValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + + /** + * Gets the valueState + * Gets or sets a value indicating the encryption state of the Value property. Possible values are: invalid, notEncrypted, encryptedValueToken. + * + * @return DeviceManagementConfigurationSecretSettingValueState|null The valueState + */ + public function getValueState() + { + if (array_key_exists("valueState", $this->_propDict)) { + if (is_a($this->_propDict["valueState"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSecretSettingValueState") || is_null($this->_propDict["valueState"])) { + return $this->_propDict["valueState"]; + } else { + $this->_propDict["valueState"] = new DeviceManagementConfigurationSecretSettingValueState($this->_propDict["valueState"]); + return $this->_propDict["valueState"]; + } + } + return null; + } + + /** + * Sets the valueState + * Gets or sets a value indicating the encryption state of the Value property. Possible values are: invalid, notEncrypted, encryptedValueToken. + * + * @param DeviceManagementConfigurationSecretSettingValueState $val The value to assign to the valueState + * + * @return DeviceManagementConfigurationSecretSettingValue The DeviceManagementConfigurationSecretSettingValue + */ + public function setValueState($val) + { + $this->_propDict["valueState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSecretSettingValueState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSecretSettingValueState.php new file mode 100644 index 0000000..49014d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSecretSettingValueState.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["settingInstance"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance") || is_null($this->_propDict["settingInstance"])) { + return $this->_propDict["settingInstance"]; + } else { + $this->_propDict["settingInstance"] = new DeviceManagementConfigurationSettingInstance($this->_propDict["settingInstance"]); + return $this->_propDict["settingInstance"]; + } + } + return null; + } + + /** + * Sets the settingInstance + * Setting Instance + * + * @param DeviceManagementConfigurationSettingInstance $val The settingInstance + * + * @return DeviceManagementConfigurationSetting + */ + public function setSettingInstance($val) + { + $this->_propDict["settingInstance"] = $val; + return $this; + } + + + /** + * Gets the settingDefinitions + * List of related Setting Definitions. This property is read-only. + * + * @return array|null The settingDefinitions + */ + public function getSettingDefinitions() + { + if (array_key_exists("settingDefinitions", $this->_propDict)) { + return $this->_propDict["settingDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitions + * List of related Setting Definitions. This property is read-only. + * + * @param DeviceManagementConfigurationSettingDefinition[] $val The settingDefinitions + * + * @return DeviceManagementConfigurationSetting + */ + public function setSettingDefinitions($val) + { + $this->_propDict["settingDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingAccessTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingAccessTypes.php new file mode 100644 index 0000000..55f49f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingAccessTypes.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * description of the setting + * + * @param string $val The value of the description + * + * @return DeviceManagementConfigurationSettingApplicability + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceMode + * Device Mode that setting can be applied on. Possible values are: none, kiosk. + * + * @return DeviceManagementConfigurationDeviceMode|null The deviceMode + */ + public function getDeviceMode() + { + if (array_key_exists("deviceMode", $this->_propDict)) { + if (is_a($this->_propDict["deviceMode"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationDeviceMode") || is_null($this->_propDict["deviceMode"])) { + return $this->_propDict["deviceMode"]; + } else { + $this->_propDict["deviceMode"] = new DeviceManagementConfigurationDeviceMode($this->_propDict["deviceMode"]); + return $this->_propDict["deviceMode"]; + } + } + return null; + } + + /** + * Sets the deviceMode + * Device Mode that setting can be applied on. Possible values are: none, kiosk. + * + * @param DeviceManagementConfigurationDeviceMode $val The value to assign to the deviceMode + * + * @return DeviceManagementConfigurationSettingApplicability The DeviceManagementConfigurationSettingApplicability + */ + public function setDeviceMode($val) + { + $this->_propDict["deviceMode"] = $val; + return $this; + } + + /** + * Gets the platform + * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @return DeviceManagementConfigurationPlatforms|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new DeviceManagementConfigurationPlatforms($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue. + * + * @param DeviceManagementConfigurationPlatforms $val The value to assign to the platform + * + * @return DeviceManagementConfigurationSettingApplicability The DeviceManagementConfigurationSettingApplicability + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the technologies + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @return DeviceManagementConfigurationTechnologies|null The technologies + */ + public function getTechnologies() + { + if (array_key_exists("technologies", $this->_propDict)) { + if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies") || is_null($this->_propDict["technologies"])) { + return $this->_propDict["technologies"]; + } else { + $this->_propDict["technologies"] = new DeviceManagementConfigurationTechnologies($this->_propDict["technologies"]); + return $this->_propDict["technologies"]; + } + } + return null; + } + + /** + * Sets the technologies + * Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue. + * + * @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies + * + * @return DeviceManagementConfigurationSettingApplicability The DeviceManagementConfigurationSettingApplicability + */ + public function setTechnologies($val) + { + $this->_propDict["technologies"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php new file mode 100644 index 0000000..97a481e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php @@ -0,0 +1,574 @@ +_propDict)) { + if (is_a($this->_propDict["accessTypes"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingAccessTypes") || is_null($this->_propDict["accessTypes"])) { + return $this->_propDict["accessTypes"]; + } else { + $this->_propDict["accessTypes"] = new DeviceManagementConfigurationSettingAccessTypes($this->_propDict["accessTypes"]); + return $this->_propDict["accessTypes"]; + } + } + return null; + } + + /** + * Sets the accessTypes + * Read/write access mode of the setting. Possible values are: none, add, copy, delete, get, replace, execute. + * + * @param DeviceManagementConfigurationSettingAccessTypes $val The accessTypes + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setAccessTypes($val) + { + $this->_propDict["accessTypes"] = $val; + return $this; + } + + /** + * Gets the applicability + * Details which device setting is applicable on + * + * @return DeviceManagementConfigurationSettingApplicability|null The applicability + */ + public function getApplicability() + { + if (array_key_exists("applicability", $this->_propDict)) { + if (is_a($this->_propDict["applicability"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingApplicability") || is_null($this->_propDict["applicability"])) { + return $this->_propDict["applicability"]; + } else { + $this->_propDict["applicability"] = new DeviceManagementConfigurationSettingApplicability($this->_propDict["applicability"]); + return $this->_propDict["applicability"]; + } + } + return null; + } + + /** + * Sets the applicability + * Details which device setting is applicable on + * + * @param DeviceManagementConfigurationSettingApplicability $val The applicability + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setApplicability($val) + { + $this->_propDict["applicability"] = $val; + return $this; + } + + /** + * Gets the baseUri + * Base CSP Path + * + * @return string|null The baseUri + */ + public function getBaseUri() + { + if (array_key_exists("baseUri", $this->_propDict)) { + return $this->_propDict["baseUri"]; + } else { + return null; + } + } + + /** + * Sets the baseUri + * Base CSP Path + * + * @param string $val The baseUri + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setBaseUri($val) + { + $this->_propDict["baseUri"] = $val; + return $this; + } + + /** + * Gets the categoryId + * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + * + * @return string|null The categoryId + */ + public function getCategoryId() + { + if (array_key_exists("categoryId", $this->_propDict)) { + return $this->_propDict["categoryId"]; + } else { + return null; + } + } + + /** + * Sets the categoryId + * Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + * + * @param string $val The categoryId + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setCategoryId($val) + { + $this->_propDict["categoryId"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the item + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the item + * + * @param string $val The description + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the item + * + * @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 + * Display name of the item + * + * @param string $val The displayName + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the helpText + * Help text of the item + * + * @return string|null The helpText + */ + public function getHelpText() + { + if (array_key_exists("helpText", $this->_propDict)) { + return $this->_propDict["helpText"]; + } else { + return null; + } + } + + /** + * Sets the helpText + * Help text of the item + * + * @param string $val The helpText + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setHelpText($val) + { + $this->_propDict["helpText"] = $val; + return $this; + } + + /** + * Gets the infoUrls + * List of links more info for the setting can be found at + * + * @return string|null The infoUrls + */ + public function getInfoUrls() + { + if (array_key_exists("infoUrls", $this->_propDict)) { + return $this->_propDict["infoUrls"]; + } else { + return null; + } + } + + /** + * Sets the infoUrls + * List of links more info for the setting can be found at + * + * @param string $val The infoUrls + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setInfoUrls($val) + { + $this->_propDict["infoUrls"] = $val; + return $this; + } + + /** + * Gets the keywords + * Tokens which to search settings on + * + * @return string|null The keywords + */ + public function getKeywords() + { + if (array_key_exists("keywords", $this->_propDict)) { + return $this->_propDict["keywords"]; + } else { + return null; + } + } + + /** + * Sets the keywords + * Tokens which to search settings on + * + * @param string $val The keywords + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setKeywords($val) + { + $this->_propDict["keywords"] = $val; + return $this; + } + + /** + * Gets the name + * Name of the item + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the item + * + * @param string $val The name + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the occurrence + * Indicates whether the setting is required or not + * + * @return DeviceManagementConfigurationSettingOccurrence|null The occurrence + */ + public function getOccurrence() + { + if (array_key_exists("occurrence", $this->_propDict)) { + if (is_a($this->_propDict["occurrence"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingOccurrence") || is_null($this->_propDict["occurrence"])) { + return $this->_propDict["occurrence"]; + } else { + $this->_propDict["occurrence"] = new DeviceManagementConfigurationSettingOccurrence($this->_propDict["occurrence"]); + return $this->_propDict["occurrence"]; + } + } + return null; + } + + /** + * Sets the occurrence + * Indicates whether the setting is required or not + * + * @param DeviceManagementConfigurationSettingOccurrence $val The occurrence + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setOccurrence($val) + { + $this->_propDict["occurrence"] = $val; + return $this; + } + + /** + * Gets the offsetUri + * Offset CSP Path from Base + * + * @return string|null The offsetUri + */ + public function getOffsetUri() + { + if (array_key_exists("offsetUri", $this->_propDict)) { + return $this->_propDict["offsetUri"]; + } else { + return null; + } + } + + /** + * Sets the offsetUri + * Offset CSP Path from Base + * + * @param string $val The offsetUri + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setOffsetUri($val) + { + $this->_propDict["offsetUri"] = $val; + return $this; + } + + + /** + * Gets the referredSettingInformationList + * List of referred setting information. + * + * @return array|null The referredSettingInformationList + */ + public function getReferredSettingInformationList() + { + if (array_key_exists("referredSettingInformationList", $this->_propDict)) { + return $this->_propDict["referredSettingInformationList"]; + } else { + return null; + } + } + + /** + * Sets the referredSettingInformationList + * List of referred setting information. + * + * @param DeviceManagementConfigurationReferredSettingInformation[] $val The referredSettingInformationList + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setReferredSettingInformationList($val) + { + $this->_propDict["referredSettingInformationList"] = $val; + return $this; + } + + /** + * Gets the rootDefinitionId + * Root setting definition if the setting is a child setting. + * + * @return string|null The rootDefinitionId + */ + public function getRootDefinitionId() + { + if (array_key_exists("rootDefinitionId", $this->_propDict)) { + return $this->_propDict["rootDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the rootDefinitionId + * Root setting definition if the setting is a child setting. + * + * @param string $val The rootDefinitionId + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setRootDefinitionId($val) + { + $this->_propDict["rootDefinitionId"] = $val; + return $this; + } + + /** + * Gets the settingUsage + * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. + * + * @return DeviceManagementConfigurationSettingUsage|null The settingUsage + */ + public function getSettingUsage() + { + if (array_key_exists("settingUsage", $this->_propDict)) { + if (is_a($this->_propDict["settingUsage"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingUsage") || is_null($this->_propDict["settingUsage"])) { + return $this->_propDict["settingUsage"]; + } else { + $this->_propDict["settingUsage"] = new DeviceManagementConfigurationSettingUsage($this->_propDict["settingUsage"]); + return $this->_propDict["settingUsage"]; + } + } + return null; + } + + /** + * Sets the settingUsage + * Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance. + * + * @param DeviceManagementConfigurationSettingUsage $val The settingUsage + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setSettingUsage($val) + { + $this->_propDict["settingUsage"] = $val; + return $this; + } + + /** + * Gets the uxBehavior + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. + * + * @return DeviceManagementConfigurationControlType|null The uxBehavior + */ + public function getUxBehavior() + { + if (array_key_exists("uxBehavior", $this->_propDict)) { + if (is_a($this->_propDict["uxBehavior"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationControlType") || is_null($this->_propDict["uxBehavior"])) { + return $this->_propDict["uxBehavior"]; + } else { + $this->_propDict["uxBehavior"] = new DeviceManagementConfigurationControlType($this->_propDict["uxBehavior"]); + return $this->_propDict["uxBehavior"]; + } + } + return null; + } + + /** + * Sets the uxBehavior + * Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. + * + * @param DeviceManagementConfigurationControlType $val The uxBehavior + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setUxBehavior($val) + { + $this->_propDict["uxBehavior"] = $val; + return $this; + } + + /** + * Gets the version + * Item Version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Item Version + * + * @param string $val The version + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + /** + * Gets the visibility + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. + * + * @return DeviceManagementConfigurationSettingVisibility|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + if (is_a($this->_propDict["visibility"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingVisibility") || is_null($this->_propDict["visibility"])) { + return $this->_propDict["visibility"]; + } else { + $this->_propDict["visibility"] = new DeviceManagementConfigurationSettingVisibility($this->_propDict["visibility"]); + return $this->_propDict["visibility"]; + } + } + return null; + } + + /** + * Sets the visibility + * Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. + * + * @param DeviceManagementConfigurationSettingVisibility $val The visibility + * + * @return DeviceManagementConfigurationSettingDefinition + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDependedOnBy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDependedOnBy.php new file mode 100644 index 0000000..018d9ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDependedOnBy.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["dependedOnBy"]; + } else { + return null; + } + } + + /** + * Sets the dependedOnBy + * Identifier of child setting that is dependent on the current setting + * + * @param string $val The value of the dependedOnBy + * + * @return DeviceManagementConfigurationSettingDependedOnBy + */ + public function setDependedOnBy($val) + { + $this->_propDict["dependedOnBy"] = $val; + return $this; + } + /** + * Gets the required + * Value that determines if the child setting is required based on the parent setting's selection + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Value that determines if the child setting is required based on the parent setting's selection + * + * @param bool $val The value of the required + * + * @return DeviceManagementConfigurationSettingDependedOnBy + */ + public function setRequired($val) + { + $this->_propDict["required"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php new file mode 100644 index 0000000..84d921c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["maximumCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumCount + * Maximum number of setting group count in the collection. Valid values 1 to 100 + * + * @param int $val The maximumCount + * + * @return DeviceManagementConfigurationSettingGroupCollectionDefinition + */ + public function setMaximumCount($val) + { + $this->_propDict["maximumCount"] = intval($val); + return $this; + } + + /** + * Gets the minimumCount + * Minimum number of setting group count in the collection. Valid values 1 to 100 + * + * @return int|null The minimumCount + */ + public function getMinimumCount() + { + if (array_key_exists("minimumCount", $this->_propDict)) { + return $this->_propDict["minimumCount"]; + } else { + return null; + } + } + + /** + * Sets the minimumCount + * Minimum number of setting group count in the collection. Valid values 1 to 100 + * + * @param int $val The minimumCount + * + * @return DeviceManagementConfigurationSettingGroupCollectionDefinition + */ + public function setMinimumCount($val) + { + $this->_propDict["minimumCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionInstance.php new file mode 100644 index 0000000..aed3632 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionInstance.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationSettingGroupCollectionInstance"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php new file mode 100644 index 0000000..447463a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php @@ -0,0 +1,116 @@ +_propDict)) { + return $this->_propDict["childIds"]; + } else { + return null; + } + } + + /** + * Sets the childIds + * Dependent child settings to this group of settings + * + * @param string $val The childIds + * + * @return DeviceManagementConfigurationSettingGroupDefinition + */ + public function setChildIds($val) + { + $this->_propDict["childIds"] = $val; + return $this; + } + + + /** + * Gets the dependedOnBy + * List of child settings that depend on this setting + * + * @return array|null The dependedOnBy + */ + public function getDependedOnBy() + { + if (array_key_exists("dependedOnBy", $this->_propDict)) { + return $this->_propDict["dependedOnBy"]; + } else { + return null; + } + } + + /** + * Sets the dependedOnBy + * List of child settings that depend on this setting + * + * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy + * + * @return DeviceManagementConfigurationSettingGroupDefinition + */ + public function setDependedOnBy($val) + { + $this->_propDict["dependedOnBy"] = $val; + return $this; + } + + + /** + * Gets the dependentOn + * List of Dependencies for the setting group + * + * @return array|null The dependentOn + */ + public function getDependentOn() + { + if (array_key_exists("dependentOn", $this->_propDict)) { + return $this->_propDict["dependentOn"]; + } else { + return null; + } + } + + /** + * Sets the dependentOn + * List of Dependencies for the setting group + * + * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn + * + * @return DeviceManagementConfigurationSettingGroupDefinition + */ + public function setDependentOn($val) + { + $this->_propDict["dependentOn"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupInstance.php new file mode 100644 index 0000000..ec0303c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupInstance.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationSettingGroupInstance"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstance.php new file mode 100644 index 0000000..9ef4216 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstance.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["settingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitionId + * Setting Definition Id + * + * @param string $val The value of the settingDefinitionId + * + * @return DeviceManagementConfigurationSettingInstance + */ + public function setSettingDefinitionId($val) + { + $this->_propDict["settingDefinitionId"] = $val; + return $this; + } + + /** + * Gets the settingInstanceTemplateReference + * Setting Instance Template Reference + * + * @return DeviceManagementConfigurationSettingInstanceTemplateReference|null The settingInstanceTemplateReference + */ + public function getSettingInstanceTemplateReference() + { + if (array_key_exists("settingInstanceTemplateReference", $this->_propDict)) { + if (is_a($this->_propDict["settingInstanceTemplateReference"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstanceTemplateReference") || is_null($this->_propDict["settingInstanceTemplateReference"])) { + return $this->_propDict["settingInstanceTemplateReference"]; + } else { + $this->_propDict["settingInstanceTemplateReference"] = new DeviceManagementConfigurationSettingInstanceTemplateReference($this->_propDict["settingInstanceTemplateReference"]); + return $this->_propDict["settingInstanceTemplateReference"]; + } + } + return null; + } + + /** + * Sets the settingInstanceTemplateReference + * Setting Instance Template Reference + * + * @param DeviceManagementConfigurationSettingInstanceTemplateReference $val The value to assign to the settingInstanceTemplateReference + * + * @return DeviceManagementConfigurationSettingInstance The DeviceManagementConfigurationSettingInstance + */ + public function setSettingInstanceTemplateReference($val) + { + $this->_propDict["settingInstanceTemplateReference"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstanceTemplate.php new file mode 100644 index 0000000..0a0b277 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstanceTemplate.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates if a policy must specify this setting. + * + * @param bool $val The value of the isRequired + * + * @return DeviceManagementConfigurationSettingInstanceTemplate + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the settingDefinitionId + * Setting Definition Id + * + * @return string|null The settingDefinitionId + */ + public function getSettingDefinitionId() + { + if (array_key_exists("settingDefinitionId", $this->_propDict)) { + return $this->_propDict["settingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitionId + * Setting Definition Id + * + * @param string $val The value of the settingDefinitionId + * + * @return DeviceManagementConfigurationSettingInstanceTemplate + */ + public function setSettingDefinitionId($val) + { + $this->_propDict["settingDefinitionId"] = $val; + return $this; + } + /** + * Gets the settingInstanceTemplateId + * Setting Instance Template Id + * + * @return string|null The settingInstanceTemplateId + */ + public function getSettingInstanceTemplateId() + { + if (array_key_exists("settingInstanceTemplateId", $this->_propDict)) { + return $this->_propDict["settingInstanceTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the settingInstanceTemplateId + * Setting Instance Template Id + * + * @param string $val The value of the settingInstanceTemplateId + * + * @return DeviceManagementConfigurationSettingInstanceTemplate + */ + public function setSettingInstanceTemplateId($val) + { + $this->_propDict["settingInstanceTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstanceTemplateReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstanceTemplateReference.php new file mode 100644 index 0000000..ade0dd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstanceTemplateReference.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["settingInstanceTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the settingInstanceTemplateId + * Setting instance template id + * + * @param string $val The value of the settingInstanceTemplateId + * + * @return DeviceManagementConfigurationSettingInstanceTemplateReference + */ + public function setSettingInstanceTemplateId($val) + { + $this->_propDict["settingInstanceTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingOccurrence.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingOccurrence.php new file mode 100644 index 0000000..356ae57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingOccurrence.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["maxDeviceOccurrence"]; + } else { + return null; + } + } + + /** + * Sets the maxDeviceOccurrence + * Maximum times setting can be set on device. + * + * @param int $val The value of the maxDeviceOccurrence + * + * @return DeviceManagementConfigurationSettingOccurrence + */ + public function setMaxDeviceOccurrence($val) + { + $this->_propDict["maxDeviceOccurrence"] = $val; + return $this; + } + /** + * Gets the minDeviceOccurrence + * Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional + * + * @return int|null The minDeviceOccurrence + */ + public function getMinDeviceOccurrence() + { + if (array_key_exists("minDeviceOccurrence", $this->_propDict)) { + return $this->_propDict["minDeviceOccurrence"]; + } else { + return null; + } + } + + /** + * Sets the minDeviceOccurrence + * Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional + * + * @param int $val The value of the minDeviceOccurrence + * + * @return DeviceManagementConfigurationSettingOccurrence + */ + public function setMinDeviceOccurrence($val) + { + $this->_propDict["minDeviceOccurrence"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingTemplate.php new file mode 100644 index 0000000..48e66ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingTemplate.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["settingInstanceTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstanceTemplate") || is_null($this->_propDict["settingInstanceTemplate"])) { + return $this->_propDict["settingInstanceTemplate"]; + } else { + $this->_propDict["settingInstanceTemplate"] = new DeviceManagementConfigurationSettingInstanceTemplate($this->_propDict["settingInstanceTemplate"]); + return $this->_propDict["settingInstanceTemplate"]; + } + } + return null; + } + + /** + * Sets the settingInstanceTemplate + * Setting Instance Template + * + * @param DeviceManagementConfigurationSettingInstanceTemplate $val The settingInstanceTemplate + * + * @return DeviceManagementConfigurationSettingTemplate + */ + public function setSettingInstanceTemplate($val) + { + $this->_propDict["settingInstanceTemplate"] = $val; + return $this; + } + + + /** + * Gets the settingDefinitions + * List of related Setting Definitions + * + * @return array|null The settingDefinitions + */ + public function getSettingDefinitions() + { + if (array_key_exists("settingDefinitions", $this->_propDict)) { + return $this->_propDict["settingDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitions + * List of related Setting Definitions + * + * @param DeviceManagementConfigurationSettingDefinition[] $val The settingDefinitions + * + * @return DeviceManagementConfigurationSettingTemplate + */ + public function setSettingDefinitions($val) + { + $this->_propDict["settingDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php new file mode 100644 index 0000000..6e01679 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["settingValueTemplateReference"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValueTemplateReference") || is_null($this->_propDict["settingValueTemplateReference"])) { + return $this->_propDict["settingValueTemplateReference"]; + } else { + $this->_propDict["settingValueTemplateReference"] = new DeviceManagementConfigurationSettingValueTemplateReference($this->_propDict["settingValueTemplateReference"]); + return $this->_propDict["settingValueTemplateReference"]; + } + } + return null; + } + + /** + * Sets the settingValueTemplateReference + * Setting value template reference + * + * @param DeviceManagementConfigurationSettingValueTemplateReference $val The value to assign to the settingValueTemplateReference + * + * @return DeviceManagementConfigurationSettingValue The DeviceManagementConfigurationSettingValue + */ + public function setSettingValueTemplateReference($val) + { + $this->_propDict["settingValueTemplateReference"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingValueDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingValueDefinition.php new file mode 100644 index 0000000..ca1ef4e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingValueDefinition.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["settingValueTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the settingValueTemplateId + * Setting value template id + * + * @param string $val The value of the settingValueTemplateId + * + * @return DeviceManagementConfigurationSettingValueTemplateReference + */ + public function setSettingValueTemplateId($val) + { + $this->_propDict["settingValueTemplateId"] = $val; + return $this; + } + /** + * Gets the useTemplateDefault + * Indicates whether to update policy setting value to match template setting default value + * + * @return bool|null The useTemplateDefault + */ + public function getUseTemplateDefault() + { + if (array_key_exists("useTemplateDefault", $this->_propDict)) { + return $this->_propDict["useTemplateDefault"]; + } else { + return null; + } + } + + /** + * Sets the useTemplateDefault + * Indicates whether to update policy setting value to match template setting default value + * + * @param bool $val The value of the useTemplateDefault + * + * @return DeviceManagementConfigurationSettingValueTemplateReference + */ + public function setUseTemplateDefault($val) + { + $this->_propDict["useTemplateDefault"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php new file mode 100644 index 0000000..0c81abe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["maximumCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumCount + * Maximum number of simple settings in the collection. Valid values 1 to 100 + * + * @param int $val The maximumCount + * + * @return DeviceManagementConfigurationSimpleSettingCollectionDefinition + */ + public function setMaximumCount($val) + { + $this->_propDict["maximumCount"] = intval($val); + return $this; + } + + /** + * Gets the minimumCount + * Minimum number of simple settings in the collection. Valid values 1 to 100 + * + * @return int|null The minimumCount + */ + public function getMinimumCount() + { + if (array_key_exists("minimumCount", $this->_propDict)) { + return $this->_propDict["minimumCount"]; + } else { + return null; + } + } + + /** + * Sets the minimumCount + * Minimum number of simple settings in the collection. Valid values 1 to 100 + * + * @param int $val The minimumCount + * + * @return DeviceManagementConfigurationSimpleSettingCollectionDefinition + */ + public function setMinimumCount($val) + { + $this->_propDict["minimumCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstance.php new file mode 100644 index 0000000..f7f83e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstance.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationSimpleSettingCollectionInstance"); + } + + + /** + * Gets the simpleSettingCollectionValue + * Simple setting collection instance value + * + * @return DeviceManagementConfigurationSimpleSettingValue|null The simpleSettingCollectionValue + */ + public function getSimpleSettingCollectionValue() + { + if (array_key_exists("simpleSettingCollectionValue", $this->_propDict)) { + if (is_a($this->_propDict["simpleSettingCollectionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSimpleSettingValue") || is_null($this->_propDict["simpleSettingCollectionValue"])) { + return $this->_propDict["simpleSettingCollectionValue"]; + } else { + $this->_propDict["simpleSettingCollectionValue"] = new DeviceManagementConfigurationSimpleSettingValue($this->_propDict["simpleSettingCollectionValue"]); + return $this->_propDict["simpleSettingCollectionValue"]; + } + } + return null; + } + + /** + * Sets the simpleSettingCollectionValue + * Simple setting collection instance value + * + * @param DeviceManagementConfigurationSimpleSettingValue $val The value to assign to the simpleSettingCollectionValue + * + * @return DeviceManagementConfigurationSimpleSettingCollectionInstance The DeviceManagementConfigurationSimpleSettingCollectionInstance + */ + public function setSimpleSettingCollectionValue($val) + { + $this->_propDict["simpleSettingCollectionValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate.php new file mode 100644 index 0000000..4249673 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationSimpleSettingCollectionInstanceTemplate"); + } + + /** + * Gets the allowUnmanagedValues + * Linked policy may append values which are not present in the template. + * + * @return bool|null The allowUnmanagedValues + */ + public function getAllowUnmanagedValues() + { + if (array_key_exists("allowUnmanagedValues", $this->_propDict)) { + return $this->_propDict["allowUnmanagedValues"]; + } else { + return null; + } + } + + /** + * Sets the allowUnmanagedValues + * Linked policy may append values which are not present in the template. + * + * @param bool $val The value of the allowUnmanagedValues + * + * @return DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate + */ + public function setAllowUnmanagedValues($val) + { + $this->_propDict["allowUnmanagedValues"] = $val; + return $this; + } + + /** + * Gets the simpleSettingCollectionValueTemplate + * Simple Setting Collection Value Template + * + * @return DeviceManagementConfigurationSimpleSettingValueTemplate|null The simpleSettingCollectionValueTemplate + */ + public function getSimpleSettingCollectionValueTemplate() + { + if (array_key_exists("simpleSettingCollectionValueTemplate", $this->_propDict)) { + if (is_a($this->_propDict["simpleSettingCollectionValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSimpleSettingValueTemplate") || is_null($this->_propDict["simpleSettingCollectionValueTemplate"])) { + return $this->_propDict["simpleSettingCollectionValueTemplate"]; + } else { + $this->_propDict["simpleSettingCollectionValueTemplate"] = new DeviceManagementConfigurationSimpleSettingValueTemplate($this->_propDict["simpleSettingCollectionValueTemplate"]); + return $this->_propDict["simpleSettingCollectionValueTemplate"]; + } + } + return null; + } + + /** + * Sets the simpleSettingCollectionValueTemplate + * Simple Setting Collection Value Template + * + * @param DeviceManagementConfigurationSimpleSettingValueTemplate $val The value to assign to the simpleSettingCollectionValueTemplate + * + * @return DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate The DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate + */ + public function setSimpleSettingCollectionValueTemplate($val) + { + $this->_propDict["simpleSettingCollectionValueTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php new file mode 100644 index 0000000..245b38e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValue") || is_null($this->_propDict["defaultValue"])) { + return $this->_propDict["defaultValue"]; + } else { + $this->_propDict["defaultValue"] = new DeviceManagementConfigurationSettingValue($this->_propDict["defaultValue"]); + return $this->_propDict["defaultValue"]; + } + } + return null; + } + + /** + * Sets the defaultValue + * Default setting value for this setting + * + * @param DeviceManagementConfigurationSettingValue $val The defaultValue + * + * @return DeviceManagementConfigurationSimpleSettingDefinition + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + + /** + * Gets the dependedOnBy + * list of child settings that depend on this setting + * + * @return array|null The dependedOnBy + */ + public function getDependedOnBy() + { + if (array_key_exists("dependedOnBy", $this->_propDict)) { + return $this->_propDict["dependedOnBy"]; + } else { + return null; + } + } + + /** + * Sets the dependedOnBy + * list of child settings that depend on this setting + * + * @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy + * + * @return DeviceManagementConfigurationSimpleSettingDefinition + */ + public function setDependedOnBy($val) + { + $this->_propDict["dependedOnBy"] = $val; + return $this; + } + + + /** + * Gets the dependentOn + * list of parent settings this setting is dependent on + * + * @return array|null The dependentOn + */ + public function getDependentOn() + { + if (array_key_exists("dependentOn", $this->_propDict)) { + return $this->_propDict["dependentOn"]; + } else { + return null; + } + } + + /** + * Sets the dependentOn + * list of parent settings this setting is dependent on + * + * @param DeviceManagementConfigurationDependentOn[] $val The dependentOn + * + * @return DeviceManagementConfigurationSimpleSettingDefinition + */ + public function setDependentOn($val) + { + $this->_propDict["dependentOn"] = $val; + return $this; + } + + /** + * Gets the valueDefinition + * Definition of the value for this setting + * + * @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition + */ + public function getValueDefinition() + { + if (array_key_exists("valueDefinition", $this->_propDict)) { + if (is_a($this->_propDict["valueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValueDefinition") || is_null($this->_propDict["valueDefinition"])) { + return $this->_propDict["valueDefinition"]; + } else { + $this->_propDict["valueDefinition"] = new DeviceManagementConfigurationSettingValueDefinition($this->_propDict["valueDefinition"]); + return $this->_propDict["valueDefinition"]; + } + } + return null; + } + + /** + * Sets the valueDefinition + * Definition of the value for this setting + * + * @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition + * + * @return DeviceManagementConfigurationSimpleSettingDefinition + */ + public function setValueDefinition($val) + { + $this->_propDict["valueDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstance.php new file mode 100644 index 0000000..4a6a3e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstance.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance"); + } + + + /** + * Gets the simpleSettingValue + * Simple setting instance value + * + * @return DeviceManagementConfigurationSimpleSettingValue|null The simpleSettingValue + */ + public function getSimpleSettingValue() + { + if (array_key_exists("simpleSettingValue", $this->_propDict)) { + if (is_a($this->_propDict["simpleSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSimpleSettingValue") || is_null($this->_propDict["simpleSettingValue"])) { + return $this->_propDict["simpleSettingValue"]; + } else { + $this->_propDict["simpleSettingValue"] = new DeviceManagementConfigurationSimpleSettingValue($this->_propDict["simpleSettingValue"]); + return $this->_propDict["simpleSettingValue"]; + } + } + return null; + } + + /** + * Sets the simpleSettingValue + * Simple setting instance value + * + * @param DeviceManagementConfigurationSimpleSettingValue $val The value to assign to the simpleSettingValue + * + * @return DeviceManagementConfigurationSimpleSettingInstance The DeviceManagementConfigurationSimpleSettingInstance + */ + public function setSimpleSettingValue($val) + { + $this->_propDict["simpleSettingValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstanceTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstanceTemplate.php new file mode 100644 index 0000000..7b60cb6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstanceTemplate.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.deviceManagementConfigurationSimpleSettingInstanceTemplate"); + } + + + /** + * Gets the simpleSettingValueTemplate + * Simple Setting Value Template + * + * @return DeviceManagementConfigurationSimpleSettingValueTemplate|null The simpleSettingValueTemplate + */ + public function getSimpleSettingValueTemplate() + { + if (array_key_exists("simpleSettingValueTemplate", $this->_propDict)) { + if (is_a($this->_propDict["simpleSettingValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSimpleSettingValueTemplate") || is_null($this->_propDict["simpleSettingValueTemplate"])) { + return $this->_propDict["simpleSettingValueTemplate"]; + } else { + $this->_propDict["simpleSettingValueTemplate"] = new DeviceManagementConfigurationSimpleSettingValueTemplate($this->_propDict["simpleSettingValueTemplate"]); + return $this->_propDict["simpleSettingValueTemplate"]; + } + } + return null; + } + + /** + * Sets the simpleSettingValueTemplate + * Simple Setting Value Template + * + * @param DeviceManagementConfigurationSimpleSettingValueTemplate $val The value to assign to the simpleSettingValueTemplate + * + * @return DeviceManagementConfigurationSimpleSettingInstanceTemplate The DeviceManagementConfigurationSimpleSettingInstanceTemplate + */ + public function setSimpleSettingValueTemplate($val) + { + $this->_propDict["simpleSettingValueTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingValue.php new file mode 100644 index 0000000..64357f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingValue.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["settingValueTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the settingValueTemplateId + * Setting Value Template Id + * + * @param string $val The value of the settingValueTemplateId + * + * @return DeviceManagementConfigurationSimpleSettingValueTemplate + */ + public function setSettingValueTemplateId($val) + { + $this->_propDict["settingValueTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringFormat.php new file mode 100644 index 0000000..b0aa24b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringFormat.php @@ -0,0 +1,47 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the string setting. + * + * @param string $val The value of the value + * + * @return DeviceManagementConfigurationStringSettingValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueConstantDefaultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueConstantDefaultTemplate.php new file mode 100644 index 0000000..7b19027 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueConstantDefaultTemplate.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["constantValue"]; + } else { + return null; + } + } + + /** + * Sets the constantValue + * Default Constant Value + * + * @param string $val The value of the constantValue + * + * @return DeviceManagementConfigurationStringSettingValueConstantDefaultTemplate + */ + public function setConstantValue($val) + { + $this->_propDict["constantValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefaultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefaultTemplate.php new file mode 100644 index 0000000..02e7f2c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefaultTemplate.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationStringFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new DeviceManagementConfigurationStringFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * + * @param DeviceManagementConfigurationStringFormat $val The value to assign to the format + * + * @return DeviceManagementConfigurationStringSettingValueDefinition The DeviceManagementConfigurationStringSettingValueDefinition + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + /** + * Gets the inputValidationSchema + * Regular expression or any xml or json schema that the input string should match + * + * @return string|null The inputValidationSchema + */ + public function getInputValidationSchema() + { + if (array_key_exists("inputValidationSchema", $this->_propDict)) { + return $this->_propDict["inputValidationSchema"]; + } else { + return null; + } + } + + /** + * Sets the inputValidationSchema + * Regular expression or any xml or json schema that the input string should match + * + * @param string $val The value of the inputValidationSchema + * + * @return DeviceManagementConfigurationStringSettingValueDefinition + */ + public function setInputValidationSchema($val) + { + $this->_propDict["inputValidationSchema"] = $val; + return $this; + } + /** + * Gets the isSecret + * Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX. + * + * @return bool|null The isSecret + */ + public function getIsSecret() + { + if (array_key_exists("isSecret", $this->_propDict)) { + return $this->_propDict["isSecret"]; + } else { + return null; + } + } + + /** + * Sets the isSecret + * Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX. + * + * @param bool $val The value of the isSecret + * + * @return DeviceManagementConfigurationStringSettingValueDefinition + */ + public function setIsSecret($val) + { + $this->_propDict["isSecret"] = $val; + return $this; + } + /** + * Gets the maximumLength + * Maximum length of string. Valid values 0 to 87516 + * + * @return int|null The maximumLength + */ + public function getMaximumLength() + { + if (array_key_exists("maximumLength", $this->_propDict)) { + return $this->_propDict["maximumLength"]; + } else { + return null; + } + } + + /** + * Sets the maximumLength + * Maximum length of string. Valid values 0 to 87516 + * + * @param int $val The value of the maximumLength + * + * @return DeviceManagementConfigurationStringSettingValueDefinition + */ + public function setMaximumLength($val) + { + $this->_propDict["maximumLength"] = $val; + return $this; + } + /** + * Gets the minimumLength + * Minimum length of string. Valid values 0 to 87516 + * + * @return int|null The minimumLength + */ + public function getMinimumLength() + { + if (array_key_exists("minimumLength", $this->_propDict)) { + return $this->_propDict["minimumLength"]; + } else { + return null; + } + } + + /** + * Sets the minimumLength + * Minimum length of string. Valid values 0 to 87516 + * + * @param int $val The value of the minimumLength + * + * @return DeviceManagementConfigurationStringSettingValueDefinition + */ + public function setMinimumLength($val) + { + $this->_propDict["minimumLength"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueTemplate.php new file mode 100644 index 0000000..592f27a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueTemplate.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationStringSettingValueDefaultTemplate") || is_null($this->_propDict["defaultValue"])) { + return $this->_propDict["defaultValue"]; + } else { + $this->_propDict["defaultValue"] = new DeviceManagementConfigurationStringSettingValueDefaultTemplate($this->_propDict["defaultValue"]); + return $this->_propDict["defaultValue"]; + } + } + return null; + } + + /** + * Sets the defaultValue + * String Setting Value Default Template. + * + * @param DeviceManagementConfigurationStringSettingValueDefaultTemplate $val The value to assign to the defaultValue + * + * @return DeviceManagementConfigurationStringSettingValueTemplate The DeviceManagementConfigurationStringSettingValueTemplate + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTechnologies.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTechnologies.php new file mode 100644 index 0000000..709fdec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTechnologies.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["configurationServiceProviderVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationServiceProviderVersion + * Version of CSP setting is a part of + * + * @param string $val The value of the configurationServiceProviderVersion + * + * @return DeviceManagementConfigurationWindowsSettingApplicability + */ + public function setConfigurationServiceProviderVersion($val) + { + $this->_propDict["configurationServiceProviderVersion"] = $val; + return $this; + } + /** + * Gets the maximumSupportedVersion + * Maximum supported version of Windows + * + * @return string|null The maximumSupportedVersion + */ + public function getMaximumSupportedVersion() + { + if (array_key_exists("maximumSupportedVersion", $this->_propDict)) { + return $this->_propDict["maximumSupportedVersion"]; + } else { + return null; + } + } + + /** + * Sets the maximumSupportedVersion + * Maximum supported version of Windows + * + * @param string $val The value of the maximumSupportedVersion + * + * @return DeviceManagementConfigurationWindowsSettingApplicability + */ + public function setMaximumSupportedVersion($val) + { + $this->_propDict["maximumSupportedVersion"] = $val; + return $this; + } + /** + * Gets the minimumSupportedVersion + * Minimum supported version of Windows + * + * @return string|null The minimumSupportedVersion + */ + public function getMinimumSupportedVersion() + { + if (array_key_exists("minimumSupportedVersion", $this->_propDict)) { + return $this->_propDict["minimumSupportedVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumSupportedVersion + * Minimum supported version of Windows + * + * @param string $val The value of the minimumSupportedVersion + * + * @return DeviceManagementConfigurationWindowsSettingApplicability + */ + public function setMinimumSupportedVersion($val) + { + $this->_propDict["minimumSupportedVersion"] = $val; + return $this; + } + + /** + * Gets the requiredAzureAdTrustType + * Required AzureAD trust type. Possible values are: none, azureAdJoined, addWorkAccount, mdmOnly. + * + * @return DeviceManagementConfigurationAzureAdTrustType|null The requiredAzureAdTrustType + */ + public function getRequiredAzureAdTrustType() + { + if (array_key_exists("requiredAzureAdTrustType", $this->_propDict)) { + if (is_a($this->_propDict["requiredAzureAdTrustType"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationAzureAdTrustType") || is_null($this->_propDict["requiredAzureAdTrustType"])) { + return $this->_propDict["requiredAzureAdTrustType"]; + } else { + $this->_propDict["requiredAzureAdTrustType"] = new DeviceManagementConfigurationAzureAdTrustType($this->_propDict["requiredAzureAdTrustType"]); + return $this->_propDict["requiredAzureAdTrustType"]; + } + } + return null; + } + + /** + * Sets the requiredAzureAdTrustType + * Required AzureAD trust type. Possible values are: none, azureAdJoined, addWorkAccount, mdmOnly. + * + * @param DeviceManagementConfigurationAzureAdTrustType $val The value to assign to the requiredAzureAdTrustType + * + * @return DeviceManagementConfigurationWindowsSettingApplicability The DeviceManagementConfigurationWindowsSettingApplicability + */ + public function setRequiredAzureAdTrustType($val) + { + $this->_propDict["requiredAzureAdTrustType"] = $val; + return $this; + } + /** + * Gets the requiresAzureAd + * AzureAD setting requirement + * + * @return bool|null The requiresAzureAd + */ + public function getRequiresAzureAd() + { + if (array_key_exists("requiresAzureAd", $this->_propDict)) { + return $this->_propDict["requiresAzureAd"]; + } else { + return null; + } + } + + /** + * Sets the requiresAzureAd + * AzureAD setting requirement + * + * @param bool $val The value of the requiresAzureAd + * + * @return DeviceManagementConfigurationWindowsSettingApplicability + */ + public function setRequiresAzureAd($val) + { + $this->_propDict["requiresAzureAd"] = $val; + return $this; + } + + /** + * Gets the windowsSkus + * List of Windows SKUs that the setting is applicable for + * + * @return DeviceManagementConfigurationWindowsSkus|null The windowsSkus + */ + public function getWindowsSkus() + { + if (array_key_exists("windowsSkus", $this->_propDict)) { + if (is_a($this->_propDict["windowsSkus"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationWindowsSkus") || is_null($this->_propDict["windowsSkus"])) { + return $this->_propDict["windowsSkus"]; + } else { + $this->_propDict["windowsSkus"] = new DeviceManagementConfigurationWindowsSkus($this->_propDict["windowsSkus"]); + return $this->_propDict["windowsSkus"]; + } + } + return null; + } + + /** + * Sets the windowsSkus + * List of Windows SKUs that the setting is applicable for + * + * @param DeviceManagementConfigurationWindowsSkus $val The value to assign to the windowsSkus + * + * @return DeviceManagementConfigurationWindowsSettingApplicability The DeviceManagementConfigurationWindowsSettingApplicability + */ + public function setWindowsSkus($val) + { + $this->_propDict["windowsSkus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationWindowsSkus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationWindowsSkus.php new file mode 100644 index 0000000..90b59ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationWindowsSkus.php @@ -0,0 +1,47 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the profile. + * + * @param string $val The displayName + * + * @return DeviceManagementDerivedCredentialSettings + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the helpUrl + * The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal. + * + * @return string|null The helpUrl + */ + public function getHelpUrl() + { + if (array_key_exists("helpUrl", $this->_propDict)) { + return $this->_propDict["helpUrl"]; + } else { + return null; + } + } + + /** + * Sets the helpUrl + * The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal. + * + * @param string $val The helpUrl + * + * @return DeviceManagementDerivedCredentialSettings + */ + public function setHelpUrl($val) + { + $this->_propDict["helpUrl"] = $val; + return $this; + } + + /** + * Gets the issuer + * The derived credential provider to use. + * + * @return DeviceManagementDerivedCredentialIssuer|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + if (is_a($this->_propDict["issuer"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialIssuer") || is_null($this->_propDict["issuer"])) { + return $this->_propDict["issuer"]; + } else { + $this->_propDict["issuer"] = new DeviceManagementDerivedCredentialIssuer($this->_propDict["issuer"]); + return $this->_propDict["issuer"]; + } + } + return null; + } + + /** + * Sets the issuer + * The derived credential provider to use. + * + * @param DeviceManagementDerivedCredentialIssuer $val The issuer + * + * @return DeviceManagementDerivedCredentialSettings + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the notificationType + * The methods used to inform the end user to open Company Portal to deliver Wi-Fi, VPN, or email profiles that use certificates to the device. + * + * @return DeviceManagementDerivedCredentialNotificationType|null The notificationType + */ + public function getNotificationType() + { + if (array_key_exists("notificationType", $this->_propDict)) { + if (is_a($this->_propDict["notificationType"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialNotificationType") || is_null($this->_propDict["notificationType"])) { + return $this->_propDict["notificationType"]; + } else { + $this->_propDict["notificationType"] = new DeviceManagementDerivedCredentialNotificationType($this->_propDict["notificationType"]); + return $this->_propDict["notificationType"]; + } + } + return null; + } + + /** + * Sets the notificationType + * The methods used to inform the end user to open Company Portal to deliver Wi-Fi, VPN, or email profiles that use certificates to the device. + * + * @param DeviceManagementDerivedCredentialNotificationType $val The notificationType + * + * @return DeviceManagementDerivedCredentialSettings + */ + public function setNotificationType($val) + { + $this->_propDict["notificationType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnector.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnector.php new file mode 100644 index 0000000..79a2108 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnector.php @@ -0,0 +1,151 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The connector display name. + * + * @param string $val The displayName + * + * @return DeviceManagementDomainJoinConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastConnectionDateTime + * Last time connector contacted Intune. + * + * @return \DateTime|null The lastConnectionDateTime + */ + public function getLastConnectionDateTime() + { + if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime") || is_null($this->_propDict["lastConnectionDateTime"])) { + return $this->_propDict["lastConnectionDateTime"]; + } else { + $this->_propDict["lastConnectionDateTime"] = new \DateTime($this->_propDict["lastConnectionDateTime"]); + return $this->_propDict["lastConnectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionDateTime + * Last time connector contacted Intune. + * + * @param \DateTime $val The lastConnectionDateTime + * + * @return DeviceManagementDomainJoinConnector + */ + public function setLastConnectionDateTime($val) + { + $this->_propDict["lastConnectionDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The connector state. Possible values are: active, error, inactive. + * + * @return DeviceManagementDomainJoinConnectorState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\DeviceManagementDomainJoinConnectorState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new DeviceManagementDomainJoinConnectorState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The connector state. Possible values are: active, error, inactive. + * + * @param DeviceManagementDomainJoinConnectorState $val The state + * + * @return DeviceManagementDomainJoinConnector + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the connector. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the connector. + * + * @param string $val The version + * + * @return DeviceManagementDomainJoinConnector + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnectorState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnectorState.php new file mode 100644 index 0000000..6575c9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnectorState.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.deviceManagementEnumConstraint"); + } + + + /** + * Gets the values + * List of valid values for this string + * + * @return DeviceManagementEnumValue|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + if (is_a($this->_propDict["values"], "\Beta\Microsoft\Graph\Model\DeviceManagementEnumValue") || is_null($this->_propDict["values"])) { + return $this->_propDict["values"]; + } else { + $this->_propDict["values"] = new DeviceManagementEnumValue($this->_propDict["values"]); + return $this->_propDict["values"]; + } + } + return null; + } + + /** + * Sets the values + * List of valid values for this string + * + * @param DeviceManagementEnumValue $val The value to assign to the values + * + * @return DeviceManagementEnumConstraint The DeviceManagementEnumConstraint + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementEnumValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementEnumValue.php new file mode 100644 index 0000000..4cb5dde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementEnumValue.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name for this enum value + * + * @param string $val The value of the displayName + * + * @return DeviceManagementEnumValue + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the value + * The raw enum value text + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The raw enum value text + * + * @param string $val The value of the value + * + * @return DeviceManagementEnumValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessLevel.php new file mode 100644 index 0000000..138cfbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["accessLevel"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessLevel") || is_null($this->_propDict["accessLevel"])) { + return $this->_propDict["accessLevel"]; + } else { + $this->_propDict["accessLevel"] = new DeviceManagementExchangeAccessLevel($this->_propDict["accessLevel"]); + return $this->_propDict["accessLevel"]; + } + } + return null; + } + + /** + * Sets the accessLevel + * Access Level for Exchange granted by this rule. Possible values are: none, allow, block, quarantine. + * + * @param DeviceManagementExchangeAccessLevel $val The value to assign to the accessLevel + * + * @return DeviceManagementExchangeAccessRule The DeviceManagementExchangeAccessRule + */ + public function setAccessLevel($val) + { + $this->_propDict["accessLevel"] = $val; + return $this; + } + + /** + * Gets the deviceClass + * Device Class which will be impacted by this rule. + * + * @return DeviceManagementExchangeDeviceClass|null The deviceClass + */ + public function getDeviceClass() + { + if (array_key_exists("deviceClass", $this->_propDict)) { + if (is_a($this->_propDict["deviceClass"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeDeviceClass") || is_null($this->_propDict["deviceClass"])) { + return $this->_propDict["deviceClass"]; + } else { + $this->_propDict["deviceClass"] = new DeviceManagementExchangeDeviceClass($this->_propDict["deviceClass"]); + return $this->_propDict["deviceClass"]; + } + } + return null; + } + + /** + * Sets the deviceClass + * Device Class which will be impacted by this rule. + * + * @param DeviceManagementExchangeDeviceClass $val The value to assign to the deviceClass + * + * @return DeviceManagementExchangeAccessRule The DeviceManagementExchangeAccessRule + */ + public function setDeviceClass($val) + { + $this->_propDict["deviceClass"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessRuleType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessRuleType.php new file mode 100644 index 0000000..0d177c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessRuleType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["connectorServerName"]; + } else { + return null; + } + } + + /** + * Sets the connectorServerName + * The name of the server hosting the Exchange Connector. + * + * @param string $val The connectorServerName + * + * @return DeviceManagementExchangeConnector + */ + public function setConnectorServerName($val) + { + $this->_propDict["connectorServerName"] = $val; + return $this; + } + + /** + * Gets the exchangeAlias + * An alias assigned to the Exchange server + * + * @return string|null The exchangeAlias + */ + public function getExchangeAlias() + { + if (array_key_exists("exchangeAlias", $this->_propDict)) { + return $this->_propDict["exchangeAlias"]; + } else { + return null; + } + } + + /** + * Sets the exchangeAlias + * An alias assigned to the Exchange server + * + * @param string $val The exchangeAlias + * + * @return DeviceManagementExchangeConnector + */ + public function setExchangeAlias($val) + { + $this->_propDict["exchangeAlias"] = $val; + return $this; + } + + /** + * Gets the exchangeConnectorType + * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. + * + * @return DeviceManagementExchangeConnectorType|null The exchangeConnectorType + */ + public function getExchangeConnectorType() + { + if (array_key_exists("exchangeConnectorType", $this->_propDict)) { + if (is_a($this->_propDict["exchangeConnectorType"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeConnectorType") || is_null($this->_propDict["exchangeConnectorType"])) { + return $this->_propDict["exchangeConnectorType"]; + } else { + $this->_propDict["exchangeConnectorType"] = new DeviceManagementExchangeConnectorType($this->_propDict["exchangeConnectorType"]); + return $this->_propDict["exchangeConnectorType"]; + } + } + return null; + } + + /** + * Sets the exchangeConnectorType + * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. + * + * @param DeviceManagementExchangeConnectorType $val The exchangeConnectorType + * + * @return DeviceManagementExchangeConnector + */ + public function setExchangeConnectorType($val) + { + $this->_propDict["exchangeConnectorType"] = $val; + return $this; + } + + /** + * Gets the exchangeOrganization + * Exchange Organization to the Exchange server + * + * @return string|null The exchangeOrganization + */ + public function getExchangeOrganization() + { + if (array_key_exists("exchangeOrganization", $this->_propDict)) { + return $this->_propDict["exchangeOrganization"]; + } else { + return null; + } + } + + /** + * Sets the exchangeOrganization + * Exchange Organization to the Exchange server + * + * @param string $val The exchangeOrganization + * + * @return DeviceManagementExchangeConnector + */ + public function setExchangeOrganization($val) + { + $this->_propDict["exchangeOrganization"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last sync time for the Exchange Connector + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last sync time for the Exchange Connector + * + * @param \DateTime $val The lastSyncDateTime + * + * @return DeviceManagementExchangeConnector + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the primarySmtpAddress + * Email address used to configure the Service To Service Exchange Connector. + * + * @return string|null The primarySmtpAddress + */ + public function getPrimarySmtpAddress() + { + if (array_key_exists("primarySmtpAddress", $this->_propDict)) { + return $this->_propDict["primarySmtpAddress"]; + } else { + return null; + } + } + + /** + * Sets the primarySmtpAddress + * Email address used to configure the Service To Service Exchange Connector. + * + * @param string $val The primarySmtpAddress + * + * @return DeviceManagementExchangeConnector + */ + public function setPrimarySmtpAddress($val) + { + $this->_propDict["primarySmtpAddress"] = $val; + return $this; + } + + /** + * Gets the serverName + * The name of the Exchange server. + * + * @return string|null The serverName + */ + public function getServerName() + { + if (array_key_exists("serverName", $this->_propDict)) { + return $this->_propDict["serverName"]; + } else { + return null; + } + } + + /** + * Sets the serverName + * The name of the Exchange server. + * + * @param string $val The serverName + * + * @return DeviceManagementExchangeConnector + */ + public function setServerName($val) + { + $this->_propDict["serverName"] = $val; + return $this; + } + + /** + * Gets the status + * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. + * + * @return DeviceManagementExchangeConnectorStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeConnectorStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceManagementExchangeConnectorStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. + * + * @param DeviceManagementExchangeConnectorStatus $val The status + * + * @return DeviceManagementExchangeConnector + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the ExchangeConnectorAgent + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the ExchangeConnectorAgent + * + * @param string $val The version + * + * @return DeviceManagementExchangeConnector + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeConnectorStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeConnectorStatus.php new file mode 100644 index 0000000..dfeffee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeConnectorStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the device class which will be impacted by this rule. + * + * @param string $val The value of the name + * + * @return DeviceManagementExchangeDeviceClass + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the type + * Type of device which is impacted by this rule e.g. Model, Family. Possible values are: family, model. + * + * @return DeviceManagementExchangeAccessRuleType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessRuleType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new DeviceManagementExchangeAccessRuleType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Type of device which is impacted by this rule e.g. Model, Family. Possible values are: family, model. + * + * @param DeviceManagementExchangeAccessRuleType $val The value to assign to the type + * + * @return DeviceManagementExchangeDeviceClass The DeviceManagementExchangeDeviceClass + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeOnPremisesPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeOnPremisesPolicy.php new file mode 100644 index 0000000..6888877 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeOnPremisesPolicy.php @@ -0,0 +1,186 @@ +_propDict)) { + return $this->_propDict["accessRules"]; + } else { + return null; + } + } + + /** + * Sets the accessRules + * The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization + * + * @param DeviceManagementExchangeAccessRule[] $val The accessRules + * + * @return DeviceManagementExchangeOnPremisesPolicy + */ + public function setAccessRules($val) + { + $this->_propDict["accessRules"] = $val; + return $this; + } + + /** + * Gets the defaultAccessLevel + * Default access state in Exchange. This rule applies globally to the entire Exchange organization. Possible values are: none, allow, block, quarantine. + * + * @return DeviceManagementExchangeAccessLevel|null The defaultAccessLevel + */ + public function getDefaultAccessLevel() + { + if (array_key_exists("defaultAccessLevel", $this->_propDict)) { + if (is_a($this->_propDict["defaultAccessLevel"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessLevel") || is_null($this->_propDict["defaultAccessLevel"])) { + return $this->_propDict["defaultAccessLevel"]; + } else { + $this->_propDict["defaultAccessLevel"] = new DeviceManagementExchangeAccessLevel($this->_propDict["defaultAccessLevel"]); + return $this->_propDict["defaultAccessLevel"]; + } + } + return null; + } + + /** + * Sets the defaultAccessLevel + * Default access state in Exchange. This rule applies globally to the entire Exchange organization. Possible values are: none, allow, block, quarantine. + * + * @param DeviceManagementExchangeAccessLevel $val The defaultAccessLevel + * + * @return DeviceManagementExchangeOnPremisesPolicy + */ + public function setDefaultAccessLevel($val) + { + $this->_propDict["defaultAccessLevel"] = $val; + return $this; + } + + + /** + * Gets the knownDeviceClasses + * The list of device classes known to Exchange + * + * @return array|null The knownDeviceClasses + */ + public function getKnownDeviceClasses() + { + if (array_key_exists("knownDeviceClasses", $this->_propDict)) { + return $this->_propDict["knownDeviceClasses"]; + } else { + return null; + } + } + + /** + * Sets the knownDeviceClasses + * The list of device classes known to Exchange + * + * @param DeviceManagementExchangeDeviceClass[] $val The knownDeviceClasses + * + * @return DeviceManagementExchangeOnPremisesPolicy + */ + public function setKnownDeviceClasses($val) + { + $this->_propDict["knownDeviceClasses"] = $val; + return $this; + } + + /** + * Gets the notificationContent + * Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML. + * + * @return \GuzzleHttp\Psr7\Stream|null The notificationContent + */ + public function getNotificationContent() + { + if (array_key_exists("notificationContent", $this->_propDict)) { + if (is_a($this->_propDict["notificationContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["notificationContent"])) { + return $this->_propDict["notificationContent"]; + } else { + $this->_propDict["notificationContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["notificationContent"]); + return $this->_propDict["notificationContent"]; + } + } + return null; + } + + /** + * Sets the notificationContent + * Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML. + * + * @param \GuzzleHttp\Psr7\Stream $val The notificationContent + * + * @return DeviceManagementExchangeOnPremisesPolicy + */ + public function setNotificationContent($val) + { + $this->_propDict["notificationContent"] = $val; + return $this; + } + + /** + * Gets the conditionalAccessSettings + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * + * @return OnPremisesConditionalAccessSettings|null The conditionalAccessSettings + */ + public function getConditionalAccessSettings() + { + if (array_key_exists("conditionalAccessSettings", $this->_propDict)) { + if (is_a($this->_propDict["conditionalAccessSettings"], "\Beta\Microsoft\Graph\Model\OnPremisesConditionalAccessSettings") || is_null($this->_propDict["conditionalAccessSettings"])) { + return $this->_propDict["conditionalAccessSettings"]; + } else { + $this->_propDict["conditionalAccessSettings"] = new OnPremisesConditionalAccessSettings($this->_propDict["conditionalAccessSettings"]); + return $this->_propDict["conditionalAccessSettings"]; + } + } + return null; + } + + /** + * Sets the conditionalAccessSettings + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * + * @param OnPremisesConditionalAccessSettings $val The conditionalAccessSettings + * + * @return DeviceManagementExchangeOnPremisesPolicy + */ + public function setConditionalAccessSettings($val) + { + $this->_propDict["conditionalAccessSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJob.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJob.php new file mode 100644 index 0000000..ec066a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJob.php @@ -0,0 +1,337 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Time that the exported report expires + * + * @param \DateTime $val The expirationDateTime + * + * @return DeviceManagementExportJob + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the filter + * Filters applied on the report + * + * @return string|null The filter + */ + public function getFilter() + { + if (array_key_exists("filter", $this->_propDict)) { + return $this->_propDict["filter"]; + } else { + return null; + } + } + + /** + * Sets the filter + * Filters applied on the report + * + * @param string $val The filter + * + * @return DeviceManagementExportJob + */ + public function setFilter($val) + { + $this->_propDict["filter"] = $val; + return $this; + } + + /** + * Gets the format + * Format of the exported report. Possible values are: csv, pdf. + * + * @return DeviceManagementReportFileFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportFileFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new DeviceManagementReportFileFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Format of the exported report. Possible values are: csv, pdf. + * + * @param DeviceManagementReportFileFormat $val The format + * + * @return DeviceManagementExportJob + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the localizationType + * Configures how the requested export job is localized. Possible values are: localizedValuesAsAdditionalColumn, replaceLocalizableValues. + * + * @return DeviceManagementExportJobLocalizationType|null The localizationType + */ + public function getLocalizationType() + { + if (array_key_exists("localizationType", $this->_propDict)) { + if (is_a($this->_propDict["localizationType"], "\Beta\Microsoft\Graph\Model\DeviceManagementExportJobLocalizationType") || is_null($this->_propDict["localizationType"])) { + return $this->_propDict["localizationType"]; + } else { + $this->_propDict["localizationType"] = new DeviceManagementExportJobLocalizationType($this->_propDict["localizationType"]); + return $this->_propDict["localizationType"]; + } + } + return null; + } + + /** + * Sets the localizationType + * Configures how the requested export job is localized. Possible values are: localizedValuesAsAdditionalColumn, replaceLocalizableValues. + * + * @param DeviceManagementExportJobLocalizationType $val The localizationType + * + * @return DeviceManagementExportJob + */ + public function setLocalizationType($val) + { + $this->_propDict["localizationType"] = $val; + return $this; + } + + /** + * Gets the reportName + * Name of the report + * + * @return string|null The reportName + */ + public function getReportName() + { + if (array_key_exists("reportName", $this->_propDict)) { + return $this->_propDict["reportName"]; + } else { + return null; + } + } + + /** + * Sets the reportName + * Name of the report + * + * @param string $val The reportName + * + * @return DeviceManagementExportJob + */ + public function setReportName($val) + { + $this->_propDict["reportName"] = $val; + return $this; + } + + /** + * Gets the requestDateTime + * Time that the exported report was requested + * + * @return \DateTime|null The requestDateTime + */ + public function getRequestDateTime() + { + if (array_key_exists("requestDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestDateTime"], "\DateTime") || is_null($this->_propDict["requestDateTime"])) { + return $this->_propDict["requestDateTime"]; + } else { + $this->_propDict["requestDateTime"] = new \DateTime($this->_propDict["requestDateTime"]); + return $this->_propDict["requestDateTime"]; + } + } + return null; + } + + /** + * Sets the requestDateTime + * Time that the exported report was requested + * + * @param \DateTime $val The requestDateTime + * + * @return DeviceManagementExportJob + */ + public function setRequestDateTime($val) + { + $this->_propDict["requestDateTime"] = $val; + return $this; + } + + /** + * Gets the select + * Columns selected from the report + * + * @return string|null The select + */ + public function getSelect() + { + if (array_key_exists("select", $this->_propDict)) { + return $this->_propDict["select"]; + } else { + return null; + } + } + + /** + * Sets the select + * Columns selected from the report + * + * @param string $val The select + * + * @return DeviceManagementExportJob + */ + public function setSelect($val) + { + $this->_propDict["select"] = $val; + return $this; + } + + /** + * Gets the snapshotId + * A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. + * + * @return string|null The snapshotId + */ + public function getSnapshotId() + { + if (array_key_exists("snapshotId", $this->_propDict)) { + return $this->_propDict["snapshotId"]; + } else { + return null; + } + } + + /** + * Sets the snapshotId + * A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. + * + * @param string $val The snapshotId + * + * @return DeviceManagementExportJob + */ + public function setSnapshotId($val) + { + $this->_propDict["snapshotId"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the export job. Possible values are: unknown, notStarted, inProgress, completed, failed. + * + * @return DeviceManagementReportStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceManagementReportStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the export job. Possible values are: unknown, notStarted, inProgress, completed, failed. + * + * @param DeviceManagementReportStatus $val The status + * + * @return DeviceManagementExportJob + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the url + * Temporary location of the exported report + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * Temporary location of the exported report + * + * @param string $val The url + * + * @return DeviceManagementExportJob + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJobLocalizationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJobLocalizationType.php new file mode 100644 index 0000000..9a6e6a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJobLocalizationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The integer value + * + * @param int $val The value + * + * @return DeviceManagementIntegerSettingInstance + */ + public function setValue($val) + { + $this->_propDict["value"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntent.php new file mode 100644 index 0000000..e9934f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntent.php @@ -0,0 +1,451 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The user given description + * + * @param string $val The description + * + * @return DeviceManagementIntent + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The user given display name + * + * @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 + * The user given display name + * + * @param string $val The displayName + * + * @return DeviceManagementIntent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isAssigned + * Signifies whether or not the intent is assigned to users + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Signifies whether or not the intent is assigned to users + * + * @param bool $val The isAssigned + * + * @return DeviceManagementIntent + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * When the intent was last modified + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * When the intent was last modified + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceManagementIntent + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceManagementIntent + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the templateId + * The ID of the template this intent was created from (if any) + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * The ID of the template this intent was created from (if any) + * + * @param string $val The templateId + * + * @return DeviceManagementIntent + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Collection of assignments + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Collection of assignments + * + * @param DeviceManagementIntentAssignment[] $val The assignments + * + * @return DeviceManagementIntent + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the categories + * Collection of setting categories within the intent + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Collection of setting categories within the intent + * + * @param DeviceManagementIntentSettingCategory[] $val The categories + * + * @return DeviceManagementIntent + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the deviceSettingStateSummaries + * Collection of settings and their states and counts of devices that belong to corresponding state for all settings within the intent + * + * @return array|null The deviceSettingStateSummaries + */ + public function getDeviceSettingStateSummaries() + { + if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceSettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceSettingStateSummaries + * Collection of settings and their states and counts of devices that belong to corresponding state for all settings within the intent + * + * @param DeviceManagementIntentDeviceSettingStateSummary[] $val The deviceSettingStateSummaries + * + * @return DeviceManagementIntent + */ + public function setDeviceSettingStateSummaries($val) + { + $this->_propDict["deviceSettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * Collection of states of all devices that the intent is applied to + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * Collection of states of all devices that the intent is applied to + * + * @param DeviceManagementIntentDeviceState[] $val The deviceStates + * + * @return DeviceManagementIntent + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + + /** + * Gets the deviceStateSummary + * A summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to + * + * @return DeviceManagementIntentDeviceStateSummary|null The deviceStateSummary + */ + public function getDeviceStateSummary() + { + if (array_key_exists("deviceStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceStateSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementIntentDeviceStateSummary") || is_null($this->_propDict["deviceStateSummary"])) { + return $this->_propDict["deviceStateSummary"]; + } else { + $this->_propDict["deviceStateSummary"] = new DeviceManagementIntentDeviceStateSummary($this->_propDict["deviceStateSummary"]); + return $this->_propDict["deviceStateSummary"]; + } + } + return null; + } + + /** + * Sets the deviceStateSummary + * A summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to + * + * @param DeviceManagementIntentDeviceStateSummary $val The deviceStateSummary + * + * @return DeviceManagementIntent + */ + public function setDeviceStateSummary($val) + { + $this->_propDict["deviceStateSummary"] = $val; + return $this; + } + + + /** + * Gets the settings + * Collection of all settings to be applied + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * Collection of all settings to be applied + * + * @param DeviceManagementSettingInstance[] $val The settings + * + * @return DeviceManagementIntent + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the userStates + * Collection of states of all users that the intent is applied to + * + * @return array|null The userStates + */ + public function getUserStates() + { + if (array_key_exists("userStates", $this->_propDict)) { + return $this->_propDict["userStates"]; + } else { + return null; + } + } + + /** + * Sets the userStates + * Collection of states of all users that the intent is applied to + * + * @param DeviceManagementIntentUserState[] $val The userStates + * + * @return DeviceManagementIntent + */ + public function setUserStates($val) + { + $this->_propDict["userStates"] = $val; + return $this; + } + + /** + * Gets the userStateSummary + * A summary of user states and counts of users that belong to corresponding state for all users that the intent is applied to + * + * @return DeviceManagementIntentUserStateSummary|null The userStateSummary + */ + public function getUserStateSummary() + { + if (array_key_exists("userStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["userStateSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementIntentUserStateSummary") || is_null($this->_propDict["userStateSummary"])) { + return $this->_propDict["userStateSummary"]; + } else { + $this->_propDict["userStateSummary"] = new DeviceManagementIntentUserStateSummary($this->_propDict["userStateSummary"]); + return $this->_propDict["userStateSummary"]; + } + } + return null; + } + + /** + * Sets the userStateSummary + * A summary of user states and counts of users that belong to corresponding state for all users that the intent is applied to + * + * @param DeviceManagementIntentUserStateSummary $val The userStateSummary + * + * @return DeviceManagementIntent + */ + public function setUserStateSummary($val) + { + $this->_propDict["userStateSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentAssignment.php new file mode 100644 index 0000000..7ad5a03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceManagementIntentAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceSettingStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceSettingStateSummary.php new file mode 100644 index 0000000..16e58dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceSettingStateSummary.php @@ -0,0 +1,230 @@ +_propDict)) { + return $this->_propDict["compliantCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantCount + * Number of compliant devices + * + * @param int $val The compliantCount + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setCompliantCount($val) + { + $this->_propDict["compliantCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of devices in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of devices in conflict + * + * @param int $val The conflictCount + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantCount + * Number of non compliant devices + * + * @return int|null The nonCompliantCount + */ + public function getNonCompliantCount() + { + if (array_key_exists("nonCompliantCount", $this->_propDict)) { + return $this->_propDict["nonCompliantCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantCount + * Number of non compliant devices + * + * @param int $val The nonCompliantCount + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setNonCompliantCount($val) + { + $this->_propDict["nonCompliantCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedCount + * Number of remediated devices + * + * @return int|null The remediatedCount + */ + public function getRemediatedCount() + { + if (array_key_exists("remediatedCount", $this->_propDict)) { + return $this->_propDict["remediatedCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedCount + * Number of remediated devices + * + * @param int $val The remediatedCount + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setRemediatedCount($val) + { + $this->_propDict["remediatedCount"] = intval($val); + return $this; + } + + /** + * Gets the settingName + * Name of a setting + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Name of a setting + * + * @param string $val The settingName + * + * @return DeviceManagementIntentDeviceSettingStateSummary + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceState.php new file mode 100644 index 0000000..341ac7f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceState.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name that is being reported + * + * @param string $val The deviceDisplayName + * + * @return DeviceManagementIntentDeviceState + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * Device id that is being reported + * + * @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 + * Device id that is being reported + * + * @param string $val The deviceId + * + * @return DeviceManagementIntentDeviceState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of an intent report + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of an intent report + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceManagementIntentDeviceState + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Device state for an intent. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Device state for an intent. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The state + * + * @return DeviceManagementIntentDeviceState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userName + * The user name that is being reported on a device + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The user name that is being reported on a device + * + * @param string $val The userName + * + * @return DeviceManagementIntentDeviceState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name that is being reported on a device + * + * @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 + * The user principal name that is being reported on a device + * + * @param string $val The userPrincipalName + * + * @return DeviceManagementIntentDeviceState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceStateSummary.php new file mode 100644 index 0000000..9ea9060 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceStateSummary.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of devices in conflict + * + * @param int $val The conflictCount + * + * @return DeviceManagementIntentDeviceStateSummary + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return DeviceManagementIntentDeviceStateSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return DeviceManagementIntentDeviceStateSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return DeviceManagementIntentDeviceStateSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @return int|null The notApplicablePlatformCount + */ + public function getNotApplicablePlatformCount() + { + if (array_key_exists("notApplicablePlatformCount", $this->_propDict)) { + return $this->_propDict["notApplicablePlatformCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @param int $val The notApplicablePlatformCount + * + * @return DeviceManagementIntentDeviceStateSummary + */ + public function setNotApplicablePlatformCount($val) + { + $this->_propDict["notApplicablePlatformCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return DeviceManagementIntentDeviceStateSummary + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingCategory.php new file mode 100644 index 0000000..dcccd97 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingCategory.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * The settings this category contains + * + * @param DeviceManagementSettingInstance[] $val The settings + * + * @return DeviceManagementIntentSettingCategory + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingSecretConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingSecretConstraint.php new file mode 100644 index 0000000..d5f0ac3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingSecretConstraint.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deviceManagementIntentSettingSecretConstraint"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserState.php new file mode 100644 index 0000000..30f7437 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserState.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Count of Devices that belongs to a user for an intent + * + * @param int $val The deviceCount + * + * @return DeviceManagementIntentUserState + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of an intent report + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of an intent report + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceManagementIntentUserState + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * User state for an intent. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * User state for an intent. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The state + * + * @return DeviceManagementIntentUserState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userName + * The user name that is being reported on a device + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The user name that is being reported on a device + * + * @param string $val The userName + * + * @return DeviceManagementIntentUserState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name that is being reported on a device + * + * @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 + * The user principal name that is being reported on a device + * + * @param string $val The userPrincipalName + * + * @return DeviceManagementIntentUserState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserStateSummary.php new file mode 100644 index 0000000..9b4ca85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserStateSummary.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of users in conflict + * + * @param int $val The conflictCount + * + * @return DeviceManagementIntentUserStateSummary + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error users + * + * @param int $val The errorCount + * + * @return DeviceManagementIntentUserStateSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed users + * + * @param int $val The failedCount + * + * @return DeviceManagementIntentUserStateSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return DeviceManagementIntentUserStateSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded users + * + * @param int $val The successCount + * + * @return DeviceManagementIntentUserStateSummary + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartner.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartner.php new file mode 100644 index 0000000..439a276 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartner.php @@ -0,0 +1,375 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Partner display name + * + * @param string $val The displayName + * + * @return DeviceManagementPartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the groupsRequiringPartnerEnrollment + * User groups that specifies whether enrollment is through partner. + * + * @return array|null The groupsRequiringPartnerEnrollment + */ + public function getGroupsRequiringPartnerEnrollment() + { + if (array_key_exists("groupsRequiringPartnerEnrollment", $this->_propDict)) { + return $this->_propDict["groupsRequiringPartnerEnrollment"]; + } else { + return null; + } + } + + /** + * Sets the groupsRequiringPartnerEnrollment + * User groups that specifies whether enrollment is through partner. + * + * @param DeviceManagementPartnerAssignment[] $val The groupsRequiringPartnerEnrollment + * + * @return DeviceManagementPartner + */ + public function setGroupsRequiringPartnerEnrollment($val) + { + $this->_propDict["groupsRequiringPartnerEnrollment"] = $val; + return $this; + } + + /** + * Gets the isConfigured + * Whether device management partner is configured or not + * + * @return bool|null The isConfigured + */ + public function getIsConfigured() + { + if (array_key_exists("isConfigured", $this->_propDict)) { + return $this->_propDict["isConfigured"]; + } else { + return null; + } + } + + /** + * Sets the isConfigured + * Whether device management partner is configured or not + * + * @param bool $val The isConfigured + * + * @return DeviceManagementPartner + */ + public function setIsConfigured($val) + { + $this->_propDict["isConfigured"] = boolval($val); + return $this; + } + + /** + * Gets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner + * + * @return \DateTime|null The lastHeartbeatDateTime + */ + public function getLastHeartbeatDateTime() + { + if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) { + return $this->_propDict["lastHeartbeatDateTime"]; + } else { + $this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]); + return $this->_propDict["lastHeartbeatDateTime"]; + } + } + return null; + } + + /** + * Sets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner + * + * @param \DateTime $val The lastHeartbeatDateTime + * + * @return DeviceManagementPartner + */ + public function setLastHeartbeatDateTime($val) + { + $this->_propDict["lastHeartbeatDateTime"] = $val; + return $this; + } + + /** + * Gets the partnerAppType + * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. + * + * @return DeviceManagementPartnerAppType|null The partnerAppType + */ + public function getPartnerAppType() + { + if (array_key_exists("partnerAppType", $this->_propDict)) { + if (is_a($this->_propDict["partnerAppType"], "\Beta\Microsoft\Graph\Model\DeviceManagementPartnerAppType") || is_null($this->_propDict["partnerAppType"])) { + return $this->_propDict["partnerAppType"]; + } else { + $this->_propDict["partnerAppType"] = new DeviceManagementPartnerAppType($this->_propDict["partnerAppType"]); + return $this->_propDict["partnerAppType"]; + } + } + return null; + } + + /** + * Sets the partnerAppType + * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. + * + * @param DeviceManagementPartnerAppType $val The partnerAppType + * + * @return DeviceManagementPartner + */ + public function setPartnerAppType($val) + { + $this->_propDict["partnerAppType"] = $val; + return $this; + } + + /** + * Gets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @return DeviceManagementPartnerTenantState|null The partnerState + */ + public function getPartnerState() + { + if (array_key_exists("partnerState", $this->_propDict)) { + if (is_a($this->_propDict["partnerState"], "\Beta\Microsoft\Graph\Model\DeviceManagementPartnerTenantState") || is_null($this->_propDict["partnerState"])) { + return $this->_propDict["partnerState"]; + } else { + $this->_propDict["partnerState"] = new DeviceManagementPartnerTenantState($this->_propDict["partnerState"]); + return $this->_propDict["partnerState"]; + } + } + return null; + } + + /** + * Sets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @param DeviceManagementPartnerTenantState $val The partnerState + * + * @return DeviceManagementPartner + */ + public function setPartnerState($val) + { + $this->_propDict["partnerState"] = $val; + return $this; + } + + /** + * Gets the singleTenantAppId + * Partner Single tenant App id + * + * @return string|null The singleTenantAppId + */ + public function getSingleTenantAppId() + { + if (array_key_exists("singleTenantAppId", $this->_propDict)) { + return $this->_propDict["singleTenantAppId"]; + } else { + return null; + } + } + + /** + * Sets the singleTenantAppId + * Partner Single tenant App id + * + * @param string $val The singleTenantAppId + * + * @return DeviceManagementPartner + */ + public function setSingleTenantAppId($val) + { + $this->_propDict["singleTenantAppId"] = $val; + return $this; + } + + /** + * Gets the whenPartnerDevicesWillBeMarkedAsNonCompliant + * DateTime in UTC when PartnerDevices will be marked as NonCompliant. This will become obselete soon. + * + * @return \DateTime|null The whenPartnerDevicesWillBeMarkedAsNonCompliant + */ + public function getWhenPartnerDevicesWillBeMarkedAsNonCompliant() + { + if (array_key_exists("whenPartnerDevicesWillBeMarkedAsNonCompliant", $this->_propDict)) { + if (is_a($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"], "\DateTime") || is_null($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"])) { + return $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"]; + } else { + $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"] = new \DateTime($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"]); + return $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"]; + } + } + return null; + } + + /** + * Sets the whenPartnerDevicesWillBeMarkedAsNonCompliant + * DateTime in UTC when PartnerDevices will be marked as NonCompliant. This will become obselete soon. + * + * @param \DateTime $val The whenPartnerDevicesWillBeMarkedAsNonCompliant + * + * @return DeviceManagementPartner + */ + public function setWhenPartnerDevicesWillBeMarkedAsNonCompliant($val) + { + $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"] = $val; + return $this; + } + + /** + * Gets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + * DateTime in UTC when PartnerDevices will be marked as NonCompliant + * + * @return \DateTime|null The whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + */ + public function getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime() + { + if (array_key_exists("whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime", $this->_propDict)) { + if (is_a($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"], "\DateTime") || is_null($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"])) { + return $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"]; + } else { + $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"] = new \DateTime($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"]); + return $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"]; + } + } + return null; + } + + /** + * Sets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + * DateTime in UTC when PartnerDevices will be marked as NonCompliant + * + * @param \DateTime $val The whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + * + * @return DeviceManagementPartner + */ + public function setWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime($val) + { + $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"] = $val; + return $this; + } + + /** + * Gets the whenPartnerDevicesWillBeRemoved + * DateTime in UTC when PartnerDevices will be removed. This will become obselete soon. + * + * @return \DateTime|null The whenPartnerDevicesWillBeRemoved + */ + public function getWhenPartnerDevicesWillBeRemoved() + { + if (array_key_exists("whenPartnerDevicesWillBeRemoved", $this->_propDict)) { + if (is_a($this->_propDict["whenPartnerDevicesWillBeRemoved"], "\DateTime") || is_null($this->_propDict["whenPartnerDevicesWillBeRemoved"])) { + return $this->_propDict["whenPartnerDevicesWillBeRemoved"]; + } else { + $this->_propDict["whenPartnerDevicesWillBeRemoved"] = new \DateTime($this->_propDict["whenPartnerDevicesWillBeRemoved"]); + return $this->_propDict["whenPartnerDevicesWillBeRemoved"]; + } + } + return null; + } + + /** + * Sets the whenPartnerDevicesWillBeRemoved + * DateTime in UTC when PartnerDevices will be removed. This will become obselete soon. + * + * @param \DateTime $val The whenPartnerDevicesWillBeRemoved + * + * @return DeviceManagementPartner + */ + public function setWhenPartnerDevicesWillBeRemoved($val) + { + $this->_propDict["whenPartnerDevicesWillBeRemoved"] = $val; + return $this; + } + + /** + * Gets the whenPartnerDevicesWillBeRemovedDateTime + * DateTime in UTC when PartnerDevices will be removed + * + * @return \DateTime|null The whenPartnerDevicesWillBeRemovedDateTime + */ + public function getWhenPartnerDevicesWillBeRemovedDateTime() + { + if (array_key_exists("whenPartnerDevicesWillBeRemovedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"], "\DateTime") || is_null($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"])) { + return $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"]; + } else { + $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"] = new \DateTime($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"]); + return $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"]; + } + } + return null; + } + + /** + * Sets the whenPartnerDevicesWillBeRemovedDateTime + * DateTime in UTC when PartnerDevices will be removed + * + * @param \DateTime $val The whenPartnerDevicesWillBeRemovedDateTime + * + * @return DeviceManagementPartner + */ + public function setWhenPartnerDevicesWillBeRemovedDateTime($val) + { + $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerAppType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerAppType.php new file mode 100644 index 0000000..aa4df39 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerAppType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * User groups targeting for devices to be enrolled through partner. + * + * @param DeviceAndAppManagementAssignmentTarget $val The value to assign to the target + * + * @return DeviceManagementPartnerAssignment The DeviceManagementPartnerAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerTenantState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerTenantState.php new file mode 100644 index 0000000..d5ebacd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerTenantState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["cachedReportConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the cachedReportConfigurations + * Entity representing the configuration of a cached report + * + * @param DeviceManagementCachedReportConfiguration[] $val The cachedReportConfigurations + * + * @return DeviceManagementReports + */ + public function setCachedReportConfigurations($val) + { + $this->_propDict["cachedReportConfigurations"] = $val; + return $this; + } + + + /** + * Gets the exportJobs + * Entity representing a job to export a report + * + * @return array|null The exportJobs + */ + public function getExportJobs() + { + if (array_key_exists("exportJobs", $this->_propDict)) { + return $this->_propDict["exportJobs"]; + } else { + return null; + } + } + + /** + * Sets the exportJobs + * Entity representing a job to export a report + * + * @param DeviceManagementExportJob[] $val The exportJobs + * + * @return DeviceManagementReports + */ + public function setExportJobs($val) + { + $this->_propDict["exportJobs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileAssignment.php new file mode 100644 index 0000000..e0738dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileAssignment.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\DeviceManagementResourceAccessProfileIntent") || is_null($this->_propDict["intent"])) { + return $this->_propDict["intent"]; + } else { + $this->_propDict["intent"] = new DeviceManagementResourceAccessProfileIntent($this->_propDict["intent"]); + return $this->_propDict["intent"]; + } + } + return null; + } + + /** + * Sets the intent + * The assignment intent for the resource access profile. Possible values are: apply, remove. + * + * @param DeviceManagementResourceAccessProfileIntent $val The intent + * + * @return DeviceManagementResourceAccessProfileAssignment + */ + public function setIntent($val) + { + $this->_propDict["intent"] = $val; + return $this; + } + + /** + * Gets the sourceId + * The identifier of the source of the assignment. + * + * @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 + * The identifier of the source of the assignment. + * + * @param string $val The sourceId + * + * @return DeviceManagementResourceAccessProfileAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for the resource access profile. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the resource access profile. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceManagementResourceAccessProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileBase.php new file mode 100644 index 0000000..9318bc9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileBase.php @@ -0,0 +1,239 @@ +_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * DateTime profile was created + * + * @param \DateTime $val The creationDateTime + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Profile description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Profile description + * + * @param string $val The description + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Profile display name + * + * @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 + * Profile display name + * + * @param string $val The displayName + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime profile was last modified + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime profile was last modified + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * Scope Tags + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * Scope Tags + * + * @param string $val The roleScopeTagIds + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the profile + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the profile + * + * @param int $val The version + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for the device configuration profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for the device configuration profile. + * + * @param DeviceManagementResourceAccessProfileAssignment[] $val The assignments + * + * @return DeviceManagementResourceAccessProfileBase + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileIntent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileIntent.php new file mode 100644 index 0000000..4af0a8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileIntent.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * reusable setting creation date and time. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceManagementReusablePolicySetting + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * reusable setting description supplied by user. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * reusable setting description supplied by user. + * + * @param string $val The description + * + * @return DeviceManagementReusablePolicySetting + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * reusable setting display name supplied by user. + * + * @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 + * reusable setting display name supplied by user. + * + * @param string $val The displayName + * + * @return DeviceManagementReusablePolicySetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * date and time when reusable setting was last modified. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * date and time when reusable setting was last modified. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceManagementReusablePolicySetting + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the referencingConfigurationPolicyCount + * count of configuration policies referencing the current reusable setting. Valid values 0 to 2147483647. This property is read-only. + * + * @return int|null The referencingConfigurationPolicyCount + */ + public function getReferencingConfigurationPolicyCount() + { + if (array_key_exists("referencingConfigurationPolicyCount", $this->_propDict)) { + return $this->_propDict["referencingConfigurationPolicyCount"]; + } else { + return null; + } + } + + /** + * Sets the referencingConfigurationPolicyCount + * count of configuration policies referencing the current reusable setting. Valid values 0 to 2147483647. This property is read-only. + * + * @param int $val The referencingConfigurationPolicyCount + * + * @return DeviceManagementReusablePolicySetting + */ + public function setReferencingConfigurationPolicyCount($val) + { + $this->_propDict["referencingConfigurationPolicyCount"] = intval($val); + return $this; + } + + /** + * Gets the settingDefinitionId + * setting definition id associated with this reusable setting. + * + * @return string|null The settingDefinitionId + */ + public function getSettingDefinitionId() + { + if (array_key_exists("settingDefinitionId", $this->_propDict)) { + return $this->_propDict["settingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitionId + * setting definition id associated with this reusable setting. + * + * @param string $val The settingDefinitionId + * + * @return DeviceManagementReusablePolicySetting + */ + public function setSettingDefinitionId($val) + { + $this->_propDict["settingDefinitionId"] = $val; + return $this; + } + + /** + * Gets the settingInstance + * reusable setting configuration instance + * + * @return DeviceManagementConfigurationSettingInstance|null The settingInstance + */ + public function getSettingInstance() + { + if (array_key_exists("settingInstance", $this->_propDict)) { + if (is_a($this->_propDict["settingInstance"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance") || is_null($this->_propDict["settingInstance"])) { + return $this->_propDict["settingInstance"]; + } else { + $this->_propDict["settingInstance"] = new DeviceManagementConfigurationSettingInstance($this->_propDict["settingInstance"]); + return $this->_propDict["settingInstance"]; + } + } + return null; + } + + /** + * Sets the settingInstance + * reusable setting configuration instance + * + * @param DeviceManagementConfigurationSettingInstance $val The settingInstance + * + * @return DeviceManagementReusablePolicySetting + */ + public function setSettingInstance($val) + { + $this->_propDict["settingInstance"] = $val; + return $this; + } + + /** + * Gets the version + * version number for reusable setting. Valid values 0 to 2147483647. This property is read-only. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * version number for reusable setting. Valid values 0 to 2147483647. This property is read-only. + * + * @param int $val The version + * + * @return DeviceManagementReusablePolicySetting + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the referencingConfigurationPolicies + * configuration policies referencing the current reusable setting. This property is read-only. + * + * @return array|null The referencingConfigurationPolicies + */ + public function getReferencingConfigurationPolicies() + { + if (array_key_exists("referencingConfigurationPolicies", $this->_propDict)) { + return $this->_propDict["referencingConfigurationPolicies"]; + } else { + return null; + } + } + + /** + * Sets the referencingConfigurationPolicies + * configuration policies referencing the current reusable setting. This property is read-only. + * + * @param DeviceManagementConfigurationPolicy[] $val The referencingConfigurationPolicies + * + * @return DeviceManagementReusablePolicySetting + */ + public function setReferencingConfigurationPolicies($val) + { + $this->_propDict["referencingConfigurationPolicies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScript.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScript.php new file mode 100644 index 0000000..8036860 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScript.php @@ -0,0 +1,486 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the device management script was created. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceManagementScript + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Optional description for the device management script. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional description for the device management script. + * + * @param string $val The description + * + * @return DeviceManagementScript + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the device management script. + * + * @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 + * Name of the device management script. + * + * @param string $val The displayName + * + * @return DeviceManagementScript + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enforceSignatureCheck + * Indicate whether the script signature needs be checked. + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * Indicate whether the script signature needs be checked. + * + * @param bool $val The enforceSignatureCheck + * + * @return DeviceManagementScript + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = boolval($val); + return $this; + } + + /** + * Gets the fileName + * Script file name. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Script file name. + * + * @param string $val The fileName + * + * @return DeviceManagementScript + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the device management script was last modified. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the device management script was last modified. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceManagementScript + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tag IDs for this PowerShellScript instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tag IDs for this PowerShellScript instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceManagementScript + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the runAs32Bit + * A value indicating whether the PowerShell script should run as 32-bit + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * A value indicating whether the PowerShell script should run as 32-bit + * + * @param bool $val The runAs32Bit + * + * @return DeviceManagementScript + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = boolval($val); + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @param RunAsAccountType $val The runAsAccount + * + * @return DeviceManagementScript + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + + /** + * Gets the scriptContent + * The script content. + * + * @return \GuzzleHttp\Psr7\Stream|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + if (is_a($this->_propDict["scriptContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["scriptContent"])) { + return $this->_propDict["scriptContent"]; + } else { + $this->_propDict["scriptContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["scriptContent"]); + return $this->_propDict["scriptContent"]; + } + } + return null; + } + + /** + * Sets the scriptContent + * The script content. + * + * @param \GuzzleHttp\Psr7\Stream $val The scriptContent + * + * @return DeviceManagementScript + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device management script. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device management script. + * + * @param DeviceManagementScriptAssignment[] $val The assignments + * + * @return DeviceManagementScript + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceRunStates + * List of run states for this script across all devices. + * + * @return array|null The deviceRunStates + */ + public function getDeviceRunStates() + { + if (array_key_exists("deviceRunStates", $this->_propDict)) { + return $this->_propDict["deviceRunStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceRunStates + * List of run states for this script across all devices. + * + * @param DeviceManagementScriptDeviceState[] $val The deviceRunStates + * + * @return DeviceManagementScript + */ + public function setDeviceRunStates($val) + { + $this->_propDict["deviceRunStates"] = $val; + return $this; + } + + + /** + * Gets the groupAssignments + * The list of group assignments for the device management script. + * + * @return array|null The groupAssignments + */ + public function getGroupAssignments() + { + if (array_key_exists("groupAssignments", $this->_propDict)) { + return $this->_propDict["groupAssignments"]; + } else { + return null; + } + } + + /** + * Sets the groupAssignments + * The list of group assignments for the device management script. + * + * @param DeviceManagementScriptGroupAssignment[] $val The groupAssignments + * + * @return DeviceManagementScript + */ + public function setGroupAssignments($val) + { + $this->_propDict["groupAssignments"] = $val; + return $this; + } + + /** + * Gets the runSummary + * Run summary for device management script. + * + * @return DeviceManagementScriptRunSummary|null The runSummary + */ + public function getRunSummary() + { + if (array_key_exists("runSummary", $this->_propDict)) { + if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementScriptRunSummary") || is_null($this->_propDict["runSummary"])) { + return $this->_propDict["runSummary"]; + } else { + $this->_propDict["runSummary"] = new DeviceManagementScriptRunSummary($this->_propDict["runSummary"]); + return $this->_propDict["runSummary"]; + } + } + return null; + } + + /** + * Sets the runSummary + * Run summary for device management script. + * + * @param DeviceManagementScriptRunSummary $val The runSummary + * + * @return DeviceManagementScript + */ + public function setRunSummary($val) + { + $this->_propDict["runSummary"] = $val; + return $this; + } + + + /** + * Gets the userRunStates + * List of run states for this script across all users. + * + * @return array|null The userRunStates + */ + public function getUserRunStates() + { + if (array_key_exists("userRunStates", $this->_propDict)) { + return $this->_propDict["userRunStates"]; + } else { + return null; + } + } + + /** + * Sets the userRunStates + * List of run states for this script across all users. + * + * @param DeviceManagementScriptUserState[] $val The userRunStates + * + * @return DeviceManagementScript + */ + public function setUserRunStates($val) + { + $this->_propDict["userRunStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptAssignment.php new file mode 100644 index 0000000..b37cace --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The Id of the Azure Active Directory group we are targeting the script to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceManagementScriptAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptDeviceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptDeviceState.php new file mode 100644 index 0000000..4c91875 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptDeviceState.php @@ -0,0 +1,213 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code corresponding to erroneous execution of the device management script. + * + * @param int $val The errorCode + * + * @return DeviceManagementScriptDeviceState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = intval($val); + return $this; + } + + /** + * Gets the errorDescription + * Error description corresponding to erroneous execution of the device management script. + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * Error description corresponding to erroneous execution of the device management script. + * + * @param string $val The errorDescription + * + * @return DeviceManagementScriptDeviceState + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + + /** + * Gets the lastStateUpdateDateTime + * Latest time the device management script executes. + * + * @return \DateTime|null The lastStateUpdateDateTime + */ + public function getLastStateUpdateDateTime() + { + if (array_key_exists("lastStateUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastStateUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastStateUpdateDateTime"])) { + return $this->_propDict["lastStateUpdateDateTime"]; + } else { + $this->_propDict["lastStateUpdateDateTime"] = new \DateTime($this->_propDict["lastStateUpdateDateTime"]); + return $this->_propDict["lastStateUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastStateUpdateDateTime + * Latest time the device management script executes. + * + * @param \DateTime $val The lastStateUpdateDateTime + * + * @return DeviceManagementScriptDeviceState + */ + public function setLastStateUpdateDateTime($val) + { + $this->_propDict["lastStateUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the resultMessage + * Details of execution output. + * + * @return string|null The resultMessage + */ + public function getResultMessage() + { + if (array_key_exists("resultMessage", $this->_propDict)) { + return $this->_propDict["resultMessage"]; + } else { + return null; + } + } + + /** + * Sets the resultMessage + * Details of execution output. + * + * @param string $val The resultMessage + * + * @return DeviceManagementScriptDeviceState + */ + public function setResultMessage($val) + { + $this->_propDict["resultMessage"] = $val; + return $this; + } + + /** + * Gets the runState + * State of latest run of the device management script. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @return RunState|null The runState + */ + public function getRunState() + { + if (array_key_exists("runState", $this->_propDict)) { + if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["runState"])) { + return $this->_propDict["runState"]; + } else { + $this->_propDict["runState"] = new RunState($this->_propDict["runState"]); + return $this->_propDict["runState"]; + } + } + return null; + } + + /** + * Sets the runState + * State of latest run of the device management script. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The runState + * + * @return DeviceManagementScriptDeviceState + */ + public function setRunState($val) + { + $this->_propDict["runState"] = $val; + return $this; + } + + /** + * Gets the managedDevice + * The managed devices that executes the device management script. + * + * @return ManagedDevice|null The managedDevice + */ + public function getManagedDevice() + { + if (array_key_exists("managedDevice", $this->_propDict)) { + if (is_a($this->_propDict["managedDevice"], "\Beta\Microsoft\Graph\Model\ManagedDevice") || is_null($this->_propDict["managedDevice"])) { + return $this->_propDict["managedDevice"]; + } else { + $this->_propDict["managedDevice"] = new ManagedDevice($this->_propDict["managedDevice"]); + return $this->_propDict["managedDevice"]; + } + } + return null; + } + + /** + * Sets the managedDevice + * The managed devices that executes the device management script. + * + * @param ManagedDevice $val The managedDevice + * + * @return DeviceManagementScriptDeviceState + */ + public function setManagedDevice($val) + { + $this->_propDict["managedDevice"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptGroupAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptGroupAssignment.php new file mode 100644 index 0000000..ee820c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptGroupAssignment.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["targetGroupId"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupId + * The Id of the Azure Active Directory group we are targeting the script to. + * + * @param string $val The targetGroupId + * + * @return DeviceManagementScriptGroupAssignment + */ + public function setTargetGroupId($val) + { + $this->_propDict["targetGroupId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptPolicySetItem.php new file mode 100644 index 0000000..23e6bf9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Error device count. + * + * @param int $val The errorDeviceCount + * + * @return DeviceManagementScriptRunSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorUserCount + * Error user count. + * + * @return int|null The errorUserCount + */ + public function getErrorUserCount() + { + if (array_key_exists("errorUserCount", $this->_propDict)) { + return $this->_propDict["errorUserCount"]; + } else { + return null; + } + } + + /** + * Sets the errorUserCount + * Error user count. + * + * @param int $val The errorUserCount + * + * @return DeviceManagementScriptRunSummary + */ + public function setErrorUserCount($val) + { + $this->_propDict["errorUserCount"] = intval($val); + return $this; + } + + /** + * Gets the successDeviceCount + * Success device count. + * + * @return int|null The successDeviceCount + */ + public function getSuccessDeviceCount() + { + if (array_key_exists("successDeviceCount", $this->_propDict)) { + return $this->_propDict["successDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the successDeviceCount + * Success device count. + * + * @param int $val The successDeviceCount + * + * @return DeviceManagementScriptRunSummary + */ + public function setSuccessDeviceCount($val) + { + $this->_propDict["successDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the successUserCount + * Success user count. + * + * @return int|null The successUserCount + */ + public function getSuccessUserCount() + { + if (array_key_exists("successUserCount", $this->_propDict)) { + return $this->_propDict["successUserCount"]; + } else { + return null; + } + } + + /** + * Sets the successUserCount + * Success user count. + * + * @param int $val The successUserCount + * + * @return DeviceManagementScriptRunSummary + */ + public function setSuccessUserCount($val) + { + $this->_propDict["successUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptUserState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptUserState.php new file mode 100644 index 0000000..b3efd8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptUserState.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Error device count for specific user. + * + * @param int $val The errorDeviceCount + * + * @return DeviceManagementScriptUserState + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the successDeviceCount + * Success device count for specific user. + * + * @return int|null The successDeviceCount + */ + public function getSuccessDeviceCount() + { + if (array_key_exists("successDeviceCount", $this->_propDict)) { + return $this->_propDict["successDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the successDeviceCount + * Success device count for specific user. + * + * @param int $val The successDeviceCount + * + * @return DeviceManagementScriptUserState + */ + public function setSuccessDeviceCount($val) + { + $this->_propDict["successDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the userPrincipalName + * User principle name of specific user. + * + * @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 + * User principle name of specific user. + * + * @param string $val The userPrincipalName + * + * @return DeviceManagementScriptUserState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the deviceRunStates + * List of run states for this script across all devices of specific user. + * + * @return array|null The deviceRunStates + */ + public function getDeviceRunStates() + { + if (array_key_exists("deviceRunStates", $this->_propDict)) { + return $this->_propDict["deviceRunStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceRunStates + * List of run states for this script across all devices of specific user. + * + * @param DeviceManagementScriptDeviceState[] $val The deviceRunStates + * + * @return DeviceManagementScriptUserState + */ + public function setDeviceRunStates($val) + { + $this->_propDict["deviceRunStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAbstractImplementationConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAbstractImplementationConstraint.php new file mode 100644 index 0000000..9e68229 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAbstractImplementationConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingAbstractImplementationConstraint"); + } + + /** + * Gets the allowedAbstractImplementationDefinitionIds + * List of value which means not configured for the setting + * + * @return string|null The allowedAbstractImplementationDefinitionIds + */ + public function getAllowedAbstractImplementationDefinitionIds() + { + if (array_key_exists("allowedAbstractImplementationDefinitionIds", $this->_propDict)) { + return $this->_propDict["allowedAbstractImplementationDefinitionIds"]; + } else { + return null; + } + } + + /** + * Sets the allowedAbstractImplementationDefinitionIds + * List of value which means not configured for the setting + * + * @param string $val The value of the allowedAbstractImplementationDefinitionIds + * + * @return DeviceManagementSettingAbstractImplementationConstraint + */ + public function setAllowedAbstractImplementationDefinitionIds($val) + { + $this->_propDict["allowedAbstractImplementationDefinitionIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAppConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAppConstraint.php new file mode 100644 index 0000000..bb8c612 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAppConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingAppConstraint"); + } + + /** + * Gets the supportedTypes + * Acceptable app types to allow for this setting + * + * @return string|null The supportedTypes + */ + public function getSupportedTypes() + { + if (array_key_exists("supportedTypes", $this->_propDict)) { + return $this->_propDict["supportedTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedTypes + * Acceptable app types to allow for this setting + * + * @param string $val The value of the supportedTypes + * + * @return DeviceManagementSettingAppConstraint + */ + public function setSupportedTypes($val) + { + $this->_propDict["supportedTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingBooleanConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingBooleanConstraint.php new file mode 100644 index 0000000..909f8be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingBooleanConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingBooleanConstraint"); + } + + /** + * Gets the value + * The boolean value to compare against + * + * @return bool|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The boolean value to compare against + * + * @param bool $val The value of the value + * + * @return DeviceManagementSettingBooleanConstraint + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCategory.php new file mode 100644 index 0000000..c1c865e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCategory.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The category name + * + * @param string $val The displayName + * + * @return DeviceManagementSettingCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the hasRequiredSetting + * The category contains top level required setting + * + * @return bool|null The hasRequiredSetting + */ + public function getHasRequiredSetting() + { + if (array_key_exists("hasRequiredSetting", $this->_propDict)) { + return $this->_propDict["hasRequiredSetting"]; + } else { + return null; + } + } + + /** + * Sets the hasRequiredSetting + * The category contains top level required setting + * + * @param bool $val The hasRequiredSetting + * + * @return DeviceManagementSettingCategory + */ + public function setHasRequiredSetting($val) + { + $this->_propDict["hasRequiredSetting"] = boolval($val); + return $this; + } + + + /** + * Gets the settingDefinitions + * The setting definitions this category contains + * + * @return array|null The settingDefinitions + */ + public function getSettingDefinitions() + { + if (array_key_exists("settingDefinitions", $this->_propDict)) { + return $this->_propDict["settingDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitions + * The setting definitions this category contains + * + * @param DeviceManagementSettingDefinition[] $val The settingDefinitions + * + * @return DeviceManagementSettingCategory + */ + public function setSettingDefinitions($val) + { + $this->_propDict["settingDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCollectionConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCollectionConstraint.php new file mode 100644 index 0000000..56934b6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCollectionConstraint.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.deviceManagementSettingCollectionConstraint"); + } + + /** + * Gets the maximumLength + * The maximum number of elements in the collection + * + * @return int|null The maximumLength + */ + public function getMaximumLength() + { + if (array_key_exists("maximumLength", $this->_propDict)) { + return $this->_propDict["maximumLength"]; + } else { + return null; + } + } + + /** + * Sets the maximumLength + * The maximum number of elements in the collection + * + * @param int $val The value of the maximumLength + * + * @return DeviceManagementSettingCollectionConstraint + */ + public function setMaximumLength($val) + { + $this->_propDict["maximumLength"] = $val; + return $this; + } + /** + * Gets the minimumLength + * The minimum number of elements in the collection + * + * @return int|null The minimumLength + */ + public function getMinimumLength() + { + if (array_key_exists("minimumLength", $this->_propDict)) { + return $this->_propDict["minimumLength"]; + } else { + return null; + } + } + + /** + * Sets the minimumLength + * The minimum number of elements in the collection + * + * @param int $val The value of the minimumLength + * + * @return DeviceManagementSettingCollectionConstraint + */ + public function setMinimumLength($val) + { + $this->_propDict["minimumLength"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingComparison.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingComparison.php new file mode 100644 index 0000000..70607ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingComparison.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["comparisonResult"], "\Beta\Microsoft\Graph\Model\DeviceManagementComparisonResult") || is_null($this->_propDict["comparisonResult"])) { + return $this->_propDict["comparisonResult"]; + } else { + $this->_propDict["comparisonResult"] = new DeviceManagementComparisonResult($this->_propDict["comparisonResult"]); + return $this->_propDict["comparisonResult"]; + } + } + return null; + } + + /** + * Sets the comparisonResult + * Setting comparison result. Possible values are: unknown, equal, notEqual, added, removed. + * + * @param DeviceManagementComparisonResult $val The value to assign to the comparisonResult + * + * @return DeviceManagementSettingComparison The DeviceManagementSettingComparison + */ + public function setComparisonResult($val) + { + $this->_propDict["comparisonResult"] = $val; + return $this; + } + /** + * Gets the currentValueJson + * JSON representation of current intent (or) template setting's value + * + * @return string|null The currentValueJson + */ + public function getCurrentValueJson() + { + if (array_key_exists("currentValueJson", $this->_propDict)) { + return $this->_propDict["currentValueJson"]; + } else { + return null; + } + } + + /** + * Sets the currentValueJson + * JSON representation of current intent (or) template setting's value + * + * @param string $val The value of the currentValueJson + * + * @return DeviceManagementSettingComparison + */ + public function setCurrentValueJson($val) + { + $this->_propDict["currentValueJson"] = $val; + return $this; + } + /** + * Gets the definitionId + * The ID of the setting definition for this instance + * + * @return string|null The definitionId + */ + public function getDefinitionId() + { + if (array_key_exists("definitionId", $this->_propDict)) { + return $this->_propDict["definitionId"]; + } else { + return null; + } + } + + /** + * Sets the definitionId + * The ID of the setting definition for this instance + * + * @param string $val The value of the definitionId + * + * @return DeviceManagementSettingComparison + */ + public function setDefinitionId($val) + { + $this->_propDict["definitionId"] = $val; + return $this; + } + /** + * Gets the displayName + * The setting's display name + * + * @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 + * The setting's display name + * + * @param string $val The value of the displayName + * + * @return DeviceManagementSettingComparison + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * The setting 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 + * The setting ID + * + * @param string $val The value of the id + * + * @return DeviceManagementSettingComparison + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the newValueJson + * JSON representation of new template setting's value + * + * @return string|null The newValueJson + */ + public function getNewValueJson() + { + if (array_key_exists("newValueJson", $this->_propDict)) { + return $this->_propDict["newValueJson"]; + } else { + return null; + } + } + + /** + * Sets the newValueJson + * JSON representation of new template setting's value + * + * @param string $val The value of the newValueJson + * + * @return DeviceManagementSettingComparison + */ + public function setNewValueJson($val) + { + $this->_propDict["newValueJson"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDefinition.php new file mode 100644 index 0000000..c332f6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDefinition.php @@ -0,0 +1,352 @@ +_propDict)) { + return $this->_propDict["constraints"]; + } else { + return null; + } + } + + /** + * Sets the constraints + * Collection of constraints for the setting value + * + * @param DeviceManagementConstraint[] $val The constraints + * + * @return DeviceManagementSettingDefinition + */ + public function setConstraints($val) + { + $this->_propDict["constraints"] = $val; + return $this; + } + + + /** + * Gets the dependencies + * Collection of dependencies on other settings + * + * @return array|null The dependencies + */ + public function getDependencies() + { + if (array_key_exists("dependencies", $this->_propDict)) { + return $this->_propDict["dependencies"]; + } else { + return null; + } + } + + /** + * Sets the dependencies + * Collection of dependencies on other settings + * + * @param DeviceManagementSettingDependency[] $val The dependencies + * + * @return DeviceManagementSettingDefinition + */ + public function setDependencies($val) + { + $this->_propDict["dependencies"] = $val; + return $this; + } + + /** + * Gets the description + * The setting's description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The setting's description + * + * @param string $val The description + * + * @return DeviceManagementSettingDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The setting's display name + * + * @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 + * The setting's display name + * + * @param string $val The displayName + * + * @return DeviceManagementSettingDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the documentationUrl + * Url to setting documentation + * + * @return string|null The documentationUrl + */ + public function getDocumentationUrl() + { + if (array_key_exists("documentationUrl", $this->_propDict)) { + return $this->_propDict["documentationUrl"]; + } else { + return null; + } + } + + /** + * Sets the documentationUrl + * Url to setting documentation + * + * @param string $val The documentationUrl + * + * @return DeviceManagementSettingDefinition + */ + public function setDocumentationUrl($val) + { + $this->_propDict["documentationUrl"] = $val; + return $this; + } + + /** + * Gets the headerSubtitle + * subtitle of the setting header for more details about the category/section + * + * @return string|null The headerSubtitle + */ + public function getHeaderSubtitle() + { + if (array_key_exists("headerSubtitle", $this->_propDict)) { + return $this->_propDict["headerSubtitle"]; + } else { + return null; + } + } + + /** + * Sets the headerSubtitle + * subtitle of the setting header for more details about the category/section + * + * @param string $val The headerSubtitle + * + * @return DeviceManagementSettingDefinition + */ + public function setHeaderSubtitle($val) + { + $this->_propDict["headerSubtitle"] = $val; + return $this; + } + + /** + * Gets the headerTitle + * title of the setting header represents a category/section of a setting/settings + * + * @return string|null The headerTitle + */ + public function getHeaderTitle() + { + if (array_key_exists("headerTitle", $this->_propDict)) { + return $this->_propDict["headerTitle"]; + } else { + return null; + } + } + + /** + * Sets the headerTitle + * title of the setting header represents a category/section of a setting/settings + * + * @param string $val The headerTitle + * + * @return DeviceManagementSettingDefinition + */ + public function setHeaderTitle($val) + { + $this->_propDict["headerTitle"] = $val; + return $this; + } + + /** + * Gets the isTopLevel + * If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting + * + * @return bool|null The isTopLevel + */ + public function getIsTopLevel() + { + if (array_key_exists("isTopLevel", $this->_propDict)) { + return $this->_propDict["isTopLevel"]; + } else { + return null; + } + } + + /** + * Sets the isTopLevel + * If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting + * + * @param bool $val The isTopLevel + * + * @return DeviceManagementSettingDefinition + */ + public function setIsTopLevel($val) + { + $this->_propDict["isTopLevel"] = boolval($val); + return $this; + } + + /** + * Gets the keywords + * Keywords associated with the setting + * + * @return string|null The keywords + */ + public function getKeywords() + { + if (array_key_exists("keywords", $this->_propDict)) { + return $this->_propDict["keywords"]; + } else { + return null; + } + } + + /** + * Sets the keywords + * Keywords associated with the setting + * + * @param string $val The keywords + * + * @return DeviceManagementSettingDefinition + */ + public function setKeywords($val) + { + $this->_propDict["keywords"] = $val; + return $this; + } + + /** + * Gets the placeholderText + * Placeholder text as an example of valid input + * + * @return string|null The placeholderText + */ + public function getPlaceholderText() + { + if (array_key_exists("placeholderText", $this->_propDict)) { + return $this->_propDict["placeholderText"]; + } else { + return null; + } + } + + /** + * Sets the placeholderText + * Placeholder text as an example of valid input + * + * @param string $val The placeholderText + * + * @return DeviceManagementSettingDefinition + */ + public function setPlaceholderText($val) + { + $this->_propDict["placeholderText"] = $val; + return $this; + } + + /** + * Gets the valueType + * The data type of the value. Possible values are: integer, boolean, string, complex, collection, abstractComplex. + * + * @return DeviceManangementIntentValueType|null The valueType + */ + public function getValueType() + { + if (array_key_exists("valueType", $this->_propDict)) { + if (is_a($this->_propDict["valueType"], "\Beta\Microsoft\Graph\Model\DeviceManangementIntentValueType") || is_null($this->_propDict["valueType"])) { + return $this->_propDict["valueType"]; + } else { + $this->_propDict["valueType"] = new DeviceManangementIntentValueType($this->_propDict["valueType"]); + return $this->_propDict["valueType"]; + } + } + return null; + } + + /** + * Sets the valueType + * The data type of the value. Possible values are: integer, boolean, string, complex, collection, abstractComplex. + * + * @param DeviceManangementIntentValueType $val The valueType + * + * @return DeviceManagementSettingDefinition + */ + public function setValueType($val) + { + $this->_propDict["valueType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDependency.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDependency.php new file mode 100644 index 0000000..179bfb9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDependency.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["constraints"], "\Beta\Microsoft\Graph\Model\DeviceManagementConstraint") || is_null($this->_propDict["constraints"])) { + return $this->_propDict["constraints"]; + } else { + $this->_propDict["constraints"] = new DeviceManagementConstraint($this->_propDict["constraints"]); + return $this->_propDict["constraints"]; + } + } + return null; + } + + /** + * Sets the constraints + * Collection of constraints for the dependency setting value + * + * @param DeviceManagementConstraint $val The value to assign to the constraints + * + * @return DeviceManagementSettingDependency The DeviceManagementSettingDependency + */ + public function setConstraints($val) + { + $this->_propDict["constraints"] = $val; + return $this; + } + /** + * Gets the definitionId + * The setting definition ID of the setting depended on + * + * @return string|null The definitionId + */ + public function getDefinitionId() + { + if (array_key_exists("definitionId", $this->_propDict)) { + return $this->_propDict["definitionId"]; + } else { + return null; + } + } + + /** + * Sets the definitionId + * The setting definition ID of the setting depended on + * + * @param string $val The value of the definitionId + * + * @return DeviceManagementSettingDependency + */ + public function setDefinitionId($val) + { + $this->_propDict["definitionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingEnrollmentTypeConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingEnrollmentTypeConstraint.php new file mode 100644 index 0000000..30c27b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingEnrollmentTypeConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingEnrollmentTypeConstraint"); + } + + /** + * Gets the enrollmentTypes + * List of enrollment types + * + * @return string|null The enrollmentTypes + */ + public function getEnrollmentTypes() + { + if (array_key_exists("enrollmentTypes", $this->_propDict)) { + return $this->_propDict["enrollmentTypes"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentTypes + * List of enrollment types + * + * @param string $val The value of the enrollmentTypes + * + * @return DeviceManagementSettingEnrollmentTypeConstraint + */ + public function setEnrollmentTypes($val) + { + $this->_propDict["enrollmentTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingFileConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingFileConstraint.php new file mode 100644 index 0000000..ed78583 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingFileConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingFileConstraint"); + } + + /** + * Gets the supportedExtensions + * Acceptable file extensions to upload for this setting + * + * @return string|null The supportedExtensions + */ + public function getSupportedExtensions() + { + if (array_key_exists("supportedExtensions", $this->_propDict)) { + return $this->_propDict["supportedExtensions"]; + } else { + return null; + } + } + + /** + * Sets the supportedExtensions + * Acceptable file extensions to upload for this setting + * + * @param string $val The value of the supportedExtensions + * + * @return DeviceManagementSettingFileConstraint + */ + public function setSupportedExtensions($val) + { + $this->_propDict["supportedExtensions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInstance.php new file mode 100644 index 0000000..a1bf459 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInstance.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["definitionId"]; + } else { + return null; + } + } + + /** + * Sets the definitionId + * The ID of the setting definition for this instance + * + * @param string $val The definitionId + * + * @return DeviceManagementSettingInstance + */ + public function setDefinitionId($val) + { + $this->_propDict["definitionId"] = $val; + return $this; + } + + /** + * Gets the valueJson + * JSON representation of the value + * + * @return string|null The valueJson + */ + public function getValueJson() + { + if (array_key_exists("valueJson", $this->_propDict)) { + return $this->_propDict["valueJson"]; + } else { + return null; + } + } + + /** + * Sets the valueJson + * JSON representation of the value + * + * @param string $val The valueJson + * + * @return DeviceManagementSettingInstance + */ + public function setValueJson($val) + { + $this->_propDict["valueJson"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingIntegerConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingIntegerConstraint.php new file mode 100644 index 0000000..edc9e3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingIntegerConstraint.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.deviceManagementSettingIntegerConstraint"); + } + + /** + * Gets the maximumValue + * The maximum permitted value + * + * @return int|null The maximumValue + */ + public function getMaximumValue() + { + if (array_key_exists("maximumValue", $this->_propDict)) { + return $this->_propDict["maximumValue"]; + } else { + return null; + } + } + + /** + * Sets the maximumValue + * The maximum permitted value + * + * @param int $val The value of the maximumValue + * + * @return DeviceManagementSettingIntegerConstraint + */ + public function setMaximumValue($val) + { + $this->_propDict["maximumValue"] = $val; + return $this; + } + /** + * Gets the minimumValue + * The minimum permitted value + * + * @return int|null The minimumValue + */ + public function getMinimumValue() + { + if (array_key_exists("minimumValue", $this->_propDict)) { + return $this->_propDict["minimumValue"]; + } else { + return null; + } + } + + /** + * Sets the minimumValue + * The minimum permitted value + * + * @param int $val The value of the minimumValue + * + * @return DeviceManagementSettingIntegerConstraint + */ + public function setMinimumValue($val) + { + $this->_propDict["minimumValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingProfileConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingProfileConstraint.php new file mode 100644 index 0000000..eb7a86a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingProfileConstraint.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.deviceManagementSettingProfileConstraint"); + } + + /** + * Gets the source + * The source of the entity + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * The source of the entity + * + * @param string $val The value of the source + * + * @return DeviceManagementSettingProfileConstraint + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + /** + * Gets the types + * A collection of types this entity carries + * + * @return string|null The types + */ + public function getTypes() + { + if (array_key_exists("types", $this->_propDict)) { + return $this->_propDict["types"]; + } else { + return null; + } + } + + /** + * Sets the types + * A collection of types this entity carries + * + * @param string $val The value of the types + * + * @return DeviceManagementSettingProfileConstraint + */ + public function setTypes($val) + { + $this->_propDict["types"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRegexConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRegexConstraint.php new file mode 100644 index 0000000..66974a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRegexConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingRegexConstraint"); + } + + /** + * Gets the regex + * The RegEx pattern to match against + * + * @return string|null The regex + */ + public function getRegex() + { + if (array_key_exists("regex", $this->_propDict)) { + return $this->_propDict["regex"]; + } else { + return null; + } + } + + /** + * Sets the regex + * The RegEx pattern to match against + * + * @param string $val The value of the regex + * + * @return DeviceManagementSettingRegexConstraint + */ + public function setRegex($val) + { + $this->_propDict["regex"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php new file mode 100644 index 0000000..064f97e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.deviceManagementSettingRequiredConstraint"); + } + + /** + * Gets the notConfiguredValue + * List of value which means not configured for the setting + * + * @return string|null The notConfiguredValue + */ + public function getNotConfiguredValue() + { + if (array_key_exists("notConfiguredValue", $this->_propDict)) { + return $this->_propDict["notConfiguredValue"]; + } else { + return null; + } + } + + /** + * Sets the notConfiguredValue + * List of value which means not configured for the setting + * + * @param string $val The value of the notConfiguredValue + * + * @return DeviceManagementSettingRequiredConstraint + */ + public function setNotConfiguredValue($val) + { + $this->_propDict["notConfiguredValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingSddlConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingSddlConstraint.php new file mode 100644 index 0000000..16d9a94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingSddlConstraint.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deviceManagementSettingSddlConstraint"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingStringLengthConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingStringLengthConstraint.php new file mode 100644 index 0000000..8b57e14 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingStringLengthConstraint.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.deviceManagementSettingStringLengthConstraint"); + } + + /** + * Gets the maximumLength + * The maximum permitted string length + * + * @return int|null The maximumLength + */ + public function getMaximumLength() + { + if (array_key_exists("maximumLength", $this->_propDict)) { + return $this->_propDict["maximumLength"]; + } else { + return null; + } + } + + /** + * Sets the maximumLength + * The maximum permitted string length + * + * @param int $val The value of the maximumLength + * + * @return DeviceManagementSettingStringLengthConstraint + */ + public function setMaximumLength($val) + { + $this->_propDict["maximumLength"] = $val; + return $this; + } + /** + * Gets the minimumLength + * The minimum permitted string length + * + * @return int|null The minimumLength + */ + public function getMinimumLength() + { + if (array_key_exists("minimumLength", $this->_propDict)) { + return $this->_propDict["minimumLength"]; + } else { + return null; + } + } + + /** + * Sets the minimumLength + * The minimum permitted string length + * + * @param int $val The value of the minimumLength + * + * @return DeviceManagementSettingStringLengthConstraint + */ + public function setMinimumLength($val) + { + $this->_propDict["minimumLength"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingXmlConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingXmlConstraint.php new file mode 100644 index 0000000..118dfba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingXmlConstraint.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.deviceManagementSettingXmlConstraint"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettings.php new file mode 100644 index 0000000..a013e9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettings.php @@ -0,0 +1,395 @@ +_propDict)) { + return $this->_propDict["androidDeviceAdministratorEnrollmentEnabled"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceAdministratorEnrollmentEnabled + * The property to determine if Android device administrator enrollment is enabled for this account. + * + * @param bool $val The value of the androidDeviceAdministratorEnrollmentEnabled + * + * @return DeviceManagementSettings + */ + public function setAndroidDeviceAdministratorEnrollmentEnabled($val) + { + $this->_propDict["androidDeviceAdministratorEnrollmentEnabled"] = $val; + return $this; + } + + /** + * Gets the derivedCredentialProvider + * The Derived Credential Provider to use for this account. Possible values are: notConfigured, entrustDataCard, purebred, xTec, intercede. + * + * @return DerivedCredentialProviderType|null The derivedCredentialProvider + */ + public function getDerivedCredentialProvider() + { + if (array_key_exists("derivedCredentialProvider", $this->_propDict)) { + if (is_a($this->_propDict["derivedCredentialProvider"], "\Beta\Microsoft\Graph\Model\DerivedCredentialProviderType") || is_null($this->_propDict["derivedCredentialProvider"])) { + return $this->_propDict["derivedCredentialProvider"]; + } else { + $this->_propDict["derivedCredentialProvider"] = new DerivedCredentialProviderType($this->_propDict["derivedCredentialProvider"]); + return $this->_propDict["derivedCredentialProvider"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialProvider + * The Derived Credential Provider to use for this account. Possible values are: notConfigured, entrustDataCard, purebred, xTec, intercede. + * + * @param DerivedCredentialProviderType $val The value to assign to the derivedCredentialProvider + * + * @return DeviceManagementSettings The DeviceManagementSettings + */ + public function setDerivedCredentialProvider($val) + { + $this->_propDict["derivedCredentialProvider"] = $val; + return $this; + } + /** + * Gets the derivedCredentialUrl + * The Derived Credential Provider self-service URI. + * + * @return string|null The derivedCredentialUrl + */ + public function getDerivedCredentialUrl() + { + if (array_key_exists("derivedCredentialUrl", $this->_propDict)) { + return $this->_propDict["derivedCredentialUrl"]; + } else { + return null; + } + } + + /** + * Sets the derivedCredentialUrl + * The Derived Credential Provider self-service URI. + * + * @param string $val The value of the derivedCredentialUrl + * + * @return DeviceManagementSettings + */ + public function setDerivedCredentialUrl($val) + { + $this->_propDict["derivedCredentialUrl"] = $val; + return $this; + } + /** + * Gets the deviceComplianceCheckinThresholdDays + * The number of days a device is allowed to go without checking in to remain compliant. + * + * @return int|null The deviceComplianceCheckinThresholdDays + */ + public function getDeviceComplianceCheckinThresholdDays() + { + if (array_key_exists("deviceComplianceCheckinThresholdDays", $this->_propDict)) { + return $this->_propDict["deviceComplianceCheckinThresholdDays"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceCheckinThresholdDays + * The number of days a device is allowed to go without checking in to remain compliant. + * + * @param int $val The value of the deviceComplianceCheckinThresholdDays + * + * @return DeviceManagementSettings + */ + public function setDeviceComplianceCheckinThresholdDays($val) + { + $this->_propDict["deviceComplianceCheckinThresholdDays"] = $val; + return $this; + } + /** + * Gets the deviceInactivityBeforeRetirementInDay + * When the device does not check in for specified number of days, the company data might be removed and the device will not be under management. Valid values 30 to 270 + * + * @return int|null The deviceInactivityBeforeRetirementInDay + */ + public function getDeviceInactivityBeforeRetirementInDay() + { + if (array_key_exists("deviceInactivityBeforeRetirementInDay", $this->_propDict)) { + return $this->_propDict["deviceInactivityBeforeRetirementInDay"]; + } else { + return null; + } + } + + /** + * Sets the deviceInactivityBeforeRetirementInDay + * When the device does not check in for specified number of days, the company data might be removed and the device will not be under management. Valid values 30 to 270 + * + * @param int $val The value of the deviceInactivityBeforeRetirementInDay + * + * @return DeviceManagementSettings + */ + public function setDeviceInactivityBeforeRetirementInDay($val) + { + $this->_propDict["deviceInactivityBeforeRetirementInDay"] = $val; + return $this; + } + /** + * Gets the enableAutopilotDiagnostics + * Determines whether the autopilot diagnostic feature is enabled or not. + * + * @return bool|null The enableAutopilotDiagnostics + */ + public function getEnableAutopilotDiagnostics() + { + if (array_key_exists("enableAutopilotDiagnostics", $this->_propDict)) { + return $this->_propDict["enableAutopilotDiagnostics"]; + } else { + return null; + } + } + + /** + * Sets the enableAutopilotDiagnostics + * Determines whether the autopilot diagnostic feature is enabled or not. + * + * @param bool $val The value of the enableAutopilotDiagnostics + * + * @return DeviceManagementSettings + */ + public function setEnableAutopilotDiagnostics($val) + { + $this->_propDict["enableAutopilotDiagnostics"] = $val; + return $this; + } + /** + * Gets the enableDeviceGroupMembershipReport + * Determines whether the device group membership report feature is enabled or not. + * + * @return bool|null The enableDeviceGroupMembershipReport + */ + public function getEnableDeviceGroupMembershipReport() + { + if (array_key_exists("enableDeviceGroupMembershipReport", $this->_propDict)) { + return $this->_propDict["enableDeviceGroupMembershipReport"]; + } else { + return null; + } + } + + /** + * Sets the enableDeviceGroupMembershipReport + * Determines whether the device group membership report feature is enabled or not. + * + * @param bool $val The value of the enableDeviceGroupMembershipReport + * + * @return DeviceManagementSettings + */ + public function setEnableDeviceGroupMembershipReport($val) + { + $this->_propDict["enableDeviceGroupMembershipReport"] = $val; + return $this; + } + /** + * Gets the enableEnhancedTroubleshootingExperience + * Determines whether the enhanced troubleshooting UX is enabled or not. + * + * @return bool|null The enableEnhancedTroubleshootingExperience + */ + public function getEnableEnhancedTroubleshootingExperience() + { + if (array_key_exists("enableEnhancedTroubleshootingExperience", $this->_propDict)) { + return $this->_propDict["enableEnhancedTroubleshootingExperience"]; + } else { + return null; + } + } + + /** + * Sets the enableEnhancedTroubleshootingExperience + * Determines whether the enhanced troubleshooting UX is enabled or not. + * + * @param bool $val The value of the enableEnhancedTroubleshootingExperience + * + * @return DeviceManagementSettings + */ + public function setEnableEnhancedTroubleshootingExperience($val) + { + $this->_propDict["enableEnhancedTroubleshootingExperience"] = $val; + return $this; + } + /** + * Gets the enableLogCollection + * Determines whether the log collection feature should be available for use. + * + * @return bool|null The enableLogCollection + */ + public function getEnableLogCollection() + { + if (array_key_exists("enableLogCollection", $this->_propDict)) { + return $this->_propDict["enableLogCollection"]; + } else { + return null; + } + } + + /** + * Sets the enableLogCollection + * Determines whether the log collection feature should be available for use. + * + * @param bool $val The value of the enableLogCollection + * + * @return DeviceManagementSettings + */ + public function setEnableLogCollection($val) + { + $this->_propDict["enableLogCollection"] = $val; + return $this; + } + /** + * Gets the enhancedJailBreak + * Is feature enabled or not for enhanced jailbreak detection. + * + * @return bool|null The enhancedJailBreak + */ + public function getEnhancedJailBreak() + { + if (array_key_exists("enhancedJailBreak", $this->_propDict)) { + return $this->_propDict["enhancedJailBreak"]; + } else { + return null; + } + } + + /** + * Sets the enhancedJailBreak + * Is feature enabled or not for enhanced jailbreak detection. + * + * @param bool $val The value of the enhancedJailBreak + * + * @return DeviceManagementSettings + */ + public function setEnhancedJailBreak($val) + { + $this->_propDict["enhancedJailBreak"] = $val; + return $this; + } + /** + * Gets the ignoreDevicesForUnsupportedSettingsEnabled + * The property to determine whether to ignore unsupported compliance settings on certian models of devices. + * + * @return bool|null The ignoreDevicesForUnsupportedSettingsEnabled + */ + public function getIgnoreDevicesForUnsupportedSettingsEnabled() + { + if (array_key_exists("ignoreDevicesForUnsupportedSettingsEnabled", $this->_propDict)) { + return $this->_propDict["ignoreDevicesForUnsupportedSettingsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the ignoreDevicesForUnsupportedSettingsEnabled + * The property to determine whether to ignore unsupported compliance settings on certian models of devices. + * + * @param bool $val The value of the ignoreDevicesForUnsupportedSettingsEnabled + * + * @return DeviceManagementSettings + */ + public function setIgnoreDevicesForUnsupportedSettingsEnabled($val) + { + $this->_propDict["ignoreDevicesForUnsupportedSettingsEnabled"] = $val; + return $this; + } + /** + * Gets the isScheduledActionEnabled + * Is feature enabled or not for scheduled action for rule. + * + * @return bool|null The isScheduledActionEnabled + */ + public function getIsScheduledActionEnabled() + { + if (array_key_exists("isScheduledActionEnabled", $this->_propDict)) { + return $this->_propDict["isScheduledActionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isScheduledActionEnabled + * Is feature enabled or not for scheduled action for rule. + * + * @param bool $val The value of the isScheduledActionEnabled + * + * @return DeviceManagementSettings + */ + public function setIsScheduledActionEnabled($val) + { + $this->_propDict["isScheduledActionEnabled"] = $val; + return $this; + } + /** + * Gets the secureByDefault + * Device should be noncompliant when there is no compliance policy targeted when this is true + * + * @return bool|null The secureByDefault + */ + public function getSecureByDefault() + { + if (array_key_exists("secureByDefault", $this->_propDict)) { + return $this->_propDict["secureByDefault"]; + } else { + return null; + } + } + + /** + * Sets the secureByDefault + * Device should be noncompliant when there is no compliance policy targeted when this is true + * + * @param bool $val The value of the secureByDefault + * + * @return DeviceManagementSettings + */ + public function setSecureByDefault($val) + { + $this->_propDict["secureByDefault"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementStringSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementStringSettingInstance.php new file mode 100644 index 0000000..65ca012 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementStringSettingInstance.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The string value + * + * @param string $val The value + * + * @return DeviceManagementStringSettingInstance + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSubscriptionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSubscriptionState.php new file mode 100644 index 0000000..f85561e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSubscriptionState.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The template's description + * + * @param string $val The description + * + * @return DeviceManagementTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The template's display name + * + * @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 + * The template's display name + * + * @param string $val The displayName + * + * @return DeviceManagementTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the intentCount + * Number of Intents created from this template. + * + * @return int|null The intentCount + */ + public function getIntentCount() + { + if (array_key_exists("intentCount", $this->_propDict)) { + return $this->_propDict["intentCount"]; + } else { + return null; + } + } + + /** + * Sets the intentCount + * Number of Intents created from this template. + * + * @param int $val The intentCount + * + * @return DeviceManagementTemplate + */ + public function setIntentCount($val) + { + $this->_propDict["intentCount"] = intval($val); + return $this; + } + + /** + * Gets the isDeprecated + * The template is deprecated or not. Intents cannot be created from a deprecated template. + * + * @return bool|null The isDeprecated + */ + public function getIsDeprecated() + { + if (array_key_exists("isDeprecated", $this->_propDict)) { + return $this->_propDict["isDeprecated"]; + } else { + return null; + } + } + + /** + * Sets the isDeprecated + * The template is deprecated or not. Intents cannot be created from a deprecated template. + * + * @param bool $val The isDeprecated + * + * @return DeviceManagementTemplate + */ + public function setIsDeprecated($val) + { + $this->_propDict["isDeprecated"] = boolval($val); + return $this; + } + + /** + * Gets the platformType + * The template's platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, all. + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * The template's platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, all. + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceManagementTemplate + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the publishedDateTime + * When the template was published + * + * @return \DateTime|null The publishedDateTime + */ + public function getPublishedDateTime() + { + if (array_key_exists("publishedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) { + return $this->_propDict["publishedDateTime"]; + } else { + $this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]); + return $this->_propDict["publishedDateTime"]; + } + } + return null; + } + + /** + * Sets the publishedDateTime + * When the template was published + * + * @param \DateTime $val The publishedDateTime + * + * @return DeviceManagementTemplate + */ + public function setPublishedDateTime($val) + { + $this->_propDict["publishedDateTime"] = $val; + return $this; + } + + /** + * Gets the templateSubtype + * The template's subtype. Possible values are: none, firewall, diskEncryption, attackSurfaceReduction, endpointDetectionReponse, accountProtection, antivirus, firewallSharedAppList, firewallSharedIpList, firewallSharedPortlist. + * + * @return DeviceManagementTemplateSubtype|null The templateSubtype + */ + public function getTemplateSubtype() + { + if (array_key_exists("templateSubtype", $this->_propDict)) { + if (is_a($this->_propDict["templateSubtype"], "\Beta\Microsoft\Graph\Model\DeviceManagementTemplateSubtype") || is_null($this->_propDict["templateSubtype"])) { + return $this->_propDict["templateSubtype"]; + } else { + $this->_propDict["templateSubtype"] = new DeviceManagementTemplateSubtype($this->_propDict["templateSubtype"]); + return $this->_propDict["templateSubtype"]; + } + } + return null; + } + + /** + * Sets the templateSubtype + * The template's subtype. Possible values are: none, firewall, diskEncryption, attackSurfaceReduction, endpointDetectionReponse, accountProtection, antivirus, firewallSharedAppList, firewallSharedIpList, firewallSharedPortlist. + * + * @param DeviceManagementTemplateSubtype $val The templateSubtype + * + * @return DeviceManagementTemplate + */ + public function setTemplateSubtype($val) + { + $this->_propDict["templateSubtype"] = $val; + return $this; + } + + /** + * Gets the templateType + * The template's type. Possible values are: securityBaseline, specializedDevices, advancedThreatProtectionSecurityBaseline, deviceConfiguration, custom, securityTemplate, microsoftEdgeSecurityBaseline, microsoftOffice365ProPlusSecurityBaseline, deviceCompliance, deviceConfigurationForOffice365, cloudPC, firewallSharedSettings. + * + * @return DeviceManagementTemplateType|null The templateType + */ + public function getTemplateType() + { + if (array_key_exists("templateType", $this->_propDict)) { + if (is_a($this->_propDict["templateType"], "\Beta\Microsoft\Graph\Model\DeviceManagementTemplateType") || is_null($this->_propDict["templateType"])) { + return $this->_propDict["templateType"]; + } else { + $this->_propDict["templateType"] = new DeviceManagementTemplateType($this->_propDict["templateType"]); + return $this->_propDict["templateType"]; + } + } + return null; + } + + /** + * Sets the templateType + * The template's type. Possible values are: securityBaseline, specializedDevices, advancedThreatProtectionSecurityBaseline, deviceConfiguration, custom, securityTemplate, microsoftEdgeSecurityBaseline, microsoftOffice365ProPlusSecurityBaseline, deviceCompliance, deviceConfigurationForOffice365, cloudPC, firewallSharedSettings. + * + * @param DeviceManagementTemplateType $val The templateType + * + * @return DeviceManagementTemplate + */ + public function setTemplateType($val) + { + $this->_propDict["templateType"] = $val; + return $this; + } + + /** + * Gets the versionInfo + * The template's version information + * + * @return string|null The versionInfo + */ + public function getVersionInfo() + { + if (array_key_exists("versionInfo", $this->_propDict)) { + return $this->_propDict["versionInfo"]; + } else { + return null; + } + } + + /** + * Sets the versionInfo + * The template's version information + * + * @param string $val The versionInfo + * + * @return DeviceManagementTemplate + */ + public function setVersionInfo($val) + { + $this->_propDict["versionInfo"] = $val; + return $this; + } + + + /** + * Gets the categories + * Collection of setting categories within the template + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Collection of setting categories within the template + * + * @param DeviceManagementTemplateSettingCategory[] $val The categories + * + * @return DeviceManagementTemplate + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the migratableTo + * Collection of templates this template can migrate to + * + * @return array|null The migratableTo + */ + public function getMigratableTo() + { + if (array_key_exists("migratableTo", $this->_propDict)) { + return $this->_propDict["migratableTo"]; + } else { + return null; + } + } + + /** + * Sets the migratableTo + * Collection of templates this template can migrate to + * + * @param DeviceManagementTemplate[] $val The migratableTo + * + * @return DeviceManagementTemplate + */ + public function setMigratableTo($val) + { + $this->_propDict["migratableTo"] = $val; + return $this; + } + + + /** + * Gets the settings + * Collection of all settings this template has + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * Collection of all settings this template has + * + * @param DeviceManagementSettingInstance[] $val The settings + * + * @return DeviceManagementTemplate + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateLifecycleState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateLifecycleState.php new file mode 100644 index 0000000..4ec559b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateLifecycleState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["recommendedSettings"]; + } else { + return null; + } + } + + /** + * Sets the recommendedSettings + * The settings this category contains + * + * @param DeviceManagementSettingInstance[] $val The recommendedSettings + * + * @return DeviceManagementTemplateSettingCategory + */ + public function setRecommendedSettings($val) + { + $this->_propDict["recommendedSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateSubtype.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateSubtype.php new file mode 100644 index 0000000..f82439c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateSubtype.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["context"]; + } else { + return null; + } + } + + /** + * Sets the context + * Not yet documented + * + * @param string $val The value of the context + * + * @return DeviceManagementTroubleshootingErrorDetails + */ + public function setContext($val) + { + $this->_propDict["context"] = $val; + return $this; + } + /** + * Gets the failure + * Not yet documented + * + * @return string|null The failure + */ + public function getFailure() + { + if (array_key_exists("failure", $this->_propDict)) { + return $this->_propDict["failure"]; + } else { + return null; + } + } + + /** + * Sets the failure + * Not yet documented + * + * @param string $val The value of the failure + * + * @return DeviceManagementTroubleshootingErrorDetails + */ + public function setFailure($val) + { + $this->_propDict["failure"] = $val; + return $this; + } + /** + * Gets the failureDetails + * The detailed description of what went wrong. + * + * @return string|null The failureDetails + */ + public function getFailureDetails() + { + if (array_key_exists("failureDetails", $this->_propDict)) { + return $this->_propDict["failureDetails"]; + } else { + return null; + } + } + + /** + * Sets the failureDetails + * The detailed description of what went wrong. + * + * @param string $val The value of the failureDetails + * + * @return DeviceManagementTroubleshootingErrorDetails + */ + public function setFailureDetails($val) + { + $this->_propDict["failureDetails"] = $val; + return $this; + } + /** + * Gets the remediation + * The detailed description of how to remediate this issue. + * + * @return string|null The remediation + */ + public function getRemediation() + { + if (array_key_exists("remediation", $this->_propDict)) { + return $this->_propDict["remediation"]; + } else { + return null; + } + } + + /** + * Sets the remediation + * The detailed description of how to remediate this issue. + * + * @param string $val The value of the remediation + * + * @return DeviceManagementTroubleshootingErrorDetails + */ + public function setRemediation($val) + { + $this->_propDict["remediation"] = $val; + return $this; + } + + /** + * Gets the resources + * Links to helpful documentation about this failure. + * + * @return DeviceManagementTroubleshootingErrorResource|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + if (is_a($this->_propDict["resources"], "\Beta\Microsoft\Graph\Model\DeviceManagementTroubleshootingErrorResource") || is_null($this->_propDict["resources"])) { + return $this->_propDict["resources"]; + } else { + $this->_propDict["resources"] = new DeviceManagementTroubleshootingErrorResource($this->_propDict["resources"]); + return $this->_propDict["resources"]; + } + } + return null; + } + + /** + * Sets the resources + * Links to helpful documentation about this failure. + * + * @param DeviceManagementTroubleshootingErrorResource $val The value to assign to the resources + * + * @return DeviceManagementTroubleshootingErrorDetails The DeviceManagementTroubleshootingErrorDetails + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingErrorResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingErrorResource.php new file mode 100644 index 0000000..fc42f4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingErrorResource.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["link"]; + } else { + return null; + } + } + + /** + * Sets the link + * The link to the web resource. Can contain any of the following formatters: {{UPN}}, {{DeviceGUID}}, {{UserGUID}} + * + * @param string $val The value of the link + * + * @return DeviceManagementTroubleshootingErrorResource + */ + public function setLink($val) + { + $this->_propDict["link"] = $val; + return $this; + } + /** + * Gets the text + * Not yet documented + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Not yet documented + * + * @param string $val The value of the text + * + * @return DeviceManagementTroubleshootingErrorResource + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingEvent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingEvent.php new file mode 100644 index 0000000..7e41d83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingEvent.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * A set of string key and string value pairs which provides additional information on the Troubleshooting event + * + * @param KeyValuePair[] $val The additionalInformation + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + /** + * Gets the correlationId + * Id used for tracing the failure in the service. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Id used for tracing the failure in the service. + * + * @param string $val The correlationId + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Time when the event occurred . + * + * @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 + * Time when the event occurred . + * + * @param \DateTime $val The eventDateTime + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the eventName + * Event Name corresponding to the Troubleshooting Event. It is an Optional field + * + * @return string|null The eventName + */ + public function getEventName() + { + if (array_key_exists("eventName", $this->_propDict)) { + return $this->_propDict["eventName"]; + } else { + return null; + } + } + + /** + * Sets the eventName + * Event Name corresponding to the Troubleshooting Event. It is an Optional field + * + * @param string $val The eventName + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setEventName($val) + { + $this->_propDict["eventName"] = $val; + return $this; + } + + /** + * Gets the troubleshootingErrorDetails + * Object containing detailed information about the error and its remediation. + * + * @return DeviceManagementTroubleshootingErrorDetails|null The troubleshootingErrorDetails + */ + public function getTroubleshootingErrorDetails() + { + if (array_key_exists("troubleshootingErrorDetails", $this->_propDict)) { + if (is_a($this->_propDict["troubleshootingErrorDetails"], "\Beta\Microsoft\Graph\Model\DeviceManagementTroubleshootingErrorDetails") || is_null($this->_propDict["troubleshootingErrorDetails"])) { + return $this->_propDict["troubleshootingErrorDetails"]; + } else { + $this->_propDict["troubleshootingErrorDetails"] = new DeviceManagementTroubleshootingErrorDetails($this->_propDict["troubleshootingErrorDetails"]); + return $this->_propDict["troubleshootingErrorDetails"]; + } + } + return null; + } + + /** + * Sets the troubleshootingErrorDetails + * Object containing detailed information about the error and its remediation. + * + * @param DeviceManagementTroubleshootingErrorDetails $val The troubleshootingErrorDetails + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setTroubleshootingErrorDetails($val) + { + $this->_propDict["troubleshootingErrorDetails"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsLocalUserOrGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsLocalUserOrGroup.php new file mode 100644 index 0000000..561bb85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsLocalUserOrGroup.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin’s description of this local user or group. + * + * @param string $val The value of the description + * + * @return DeviceManagementUserRightsLocalUserOrGroup + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the name + * The name of this local user or group. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of this local user or group. + * + * @param string $val The value of the name + * + * @return DeviceManagementUserRightsLocalUserOrGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the securityIdentifier + * The security identifier of this local user or group (e.g. S-1-5-32-544). + * + * @return string|null The securityIdentifier + */ + public function getSecurityIdentifier() + { + if (array_key_exists("securityIdentifier", $this->_propDict)) { + return $this->_propDict["securityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the securityIdentifier + * The security identifier of this local user or group (e.g. S-1-5-32-544). + * + * @param string $val The value of the securityIdentifier + * + * @return DeviceManagementUserRightsLocalUserOrGroup + */ + public function setSecurityIdentifier($val) + { + $this->_propDict["securityIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsSetting.php new file mode 100644 index 0000000..0e255c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsSetting.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["localUsersOrGroups"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsLocalUserOrGroup") || is_null($this->_propDict["localUsersOrGroups"])) { + return $this->_propDict["localUsersOrGroups"]; + } else { + $this->_propDict["localUsersOrGroups"] = new DeviceManagementUserRightsLocalUserOrGroup($this->_propDict["localUsersOrGroups"]); + return $this->_propDict["localUsersOrGroups"]; + } + } + return null; + } + + /** + * Sets the localUsersOrGroups + * Representing a collection of local users or groups which will be set on device if the state of this setting is Allowed. This collection can contain a maximum of 500 elements. + * + * @param DeviceManagementUserRightsLocalUserOrGroup $val The value to assign to the localUsersOrGroups + * + * @return DeviceManagementUserRightsSetting The DeviceManagementUserRightsSetting + */ + public function setLocalUsersOrGroups($val) + { + $this->_propDict["localUsersOrGroups"] = $val; + return $this; + } + + /** + * Gets the state + * Representing the current state of this user rights setting. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new StateManagementSetting($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Representing the current state of this user rights setting. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The value to assign to the state + * + * @return DeviceManagementUserRightsSetting The DeviceManagementUserRightsSetting + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManangementIntentValueType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManangementIntentValueType.php new file mode 100644 index 0000000..f6d66ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManangementIntentValueType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["androidCorporateWorkProfileCount"]; + } else { + return null; + } + } + + /** + * Sets the androidCorporateWorkProfileCount + * The count of Corporate work profile Android devices. Also known as Corporate Owned Personally Enabled (COPE). Valid values -1 to 2147483647 + * + * @param int $val The value of the androidCorporateWorkProfileCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidCorporateWorkProfileCount($val) + { + $this->_propDict["androidCorporateWorkProfileCount"] = $val; + return $this; + } + /** + * Gets the androidCount + * Number of android device count. + * + * @return int|null The androidCount + */ + public function getAndroidCount() + { + if (array_key_exists("androidCount", $this->_propDict)) { + return $this->_propDict["androidCount"]; + } else { + return null; + } + } + + /** + * Sets the androidCount + * Number of android device count. + * + * @param int $val The value of the androidCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidCount($val) + { + $this->_propDict["androidCount"] = $val; + return $this; + } + /** + * Gets the androidDedicatedCount + * Number of dedicated Android devices. + * + * @return int|null The androidDedicatedCount + */ + public function getAndroidDedicatedCount() + { + if (array_key_exists("androidDedicatedCount", $this->_propDict)) { + return $this->_propDict["androidDedicatedCount"]; + } else { + return null; + } + } + + /** + * Sets the androidDedicatedCount + * Number of dedicated Android devices. + * + * @param int $val The value of the androidDedicatedCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidDedicatedCount($val) + { + $this->_propDict["androidDedicatedCount"] = $val; + return $this; + } + /** + * Gets the androidDeviceAdminCount + * Number of device admin Android devices. + * + * @return int|null The androidDeviceAdminCount + */ + public function getAndroidDeviceAdminCount() + { + if (array_key_exists("androidDeviceAdminCount", $this->_propDict)) { + return $this->_propDict["androidDeviceAdminCount"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceAdminCount + * Number of device admin Android devices. + * + * @param int $val The value of the androidDeviceAdminCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidDeviceAdminCount($val) + { + $this->_propDict["androidDeviceAdminCount"] = $val; + return $this; + } + /** + * Gets the androidFullyManagedCount + * Number of fully managed Android devices. + * + * @return int|null The androidFullyManagedCount + */ + public function getAndroidFullyManagedCount() + { + if (array_key_exists("androidFullyManagedCount", $this->_propDict)) { + return $this->_propDict["androidFullyManagedCount"]; + } else { + return null; + } + } + + /** + * Sets the androidFullyManagedCount + * Number of fully managed Android devices. + * + * @param int $val The value of the androidFullyManagedCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidFullyManagedCount($val) + { + $this->_propDict["androidFullyManagedCount"] = $val; + return $this; + } + /** + * Gets the androidWorkProfileCount + * Number of work profile Android devices. + * + * @return int|null The androidWorkProfileCount + */ + public function getAndroidWorkProfileCount() + { + if (array_key_exists("androidWorkProfileCount", $this->_propDict)) { + return $this->_propDict["androidWorkProfileCount"]; + } else { + return null; + } + } + + /** + * Sets the androidWorkProfileCount + * Number of work profile Android devices. + * + * @param int $val The value of the androidWorkProfileCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidWorkProfileCount($val) + { + $this->_propDict["androidWorkProfileCount"] = $val; + return $this; + } + /** + * Gets the aospUserAssociatedCount + * Number of AOSP user-associated Android devices. Valid values 0 to 2147483647 + * + * @return int|null The aospUserAssociatedCount + */ + public function getAospUserAssociatedCount() + { + if (array_key_exists("aospUserAssociatedCount", $this->_propDict)) { + return $this->_propDict["aospUserAssociatedCount"]; + } else { + return null; + } + } + + /** + * Sets the aospUserAssociatedCount + * Number of AOSP user-associated Android devices. Valid values 0 to 2147483647 + * + * @param int $val The value of the aospUserAssociatedCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAospUserAssociatedCount($val) + { + $this->_propDict["aospUserAssociatedCount"] = $val; + return $this; + } + /** + * Gets the aospUserlessCount + * Number of AOSP userless Android devices. Valid values 0 to 2147483647 + * + * @return int|null The aospUserlessCount + */ + public function getAospUserlessCount() + { + if (array_key_exists("aospUserlessCount", $this->_propDict)) { + return $this->_propDict["aospUserlessCount"]; + } else { + return null; + } + } + + /** + * Sets the aospUserlessCount + * Number of AOSP userless Android devices. Valid values 0 to 2147483647 + * + * @param int $val The value of the aospUserlessCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAospUserlessCount($val) + { + $this->_propDict["aospUserlessCount"] = $val; + return $this; + } + /** + * Gets the chromeOSCount + * Number of Chrome OS devices. Valid values 0 to 2147483647 + * + * @return int|null The chromeOSCount + */ + public function getChromeOSCount() + { + if (array_key_exists("chromeOSCount", $this->_propDict)) { + return $this->_propDict["chromeOSCount"]; + } else { + return null; + } + } + + /** + * Sets the chromeOSCount + * Number of Chrome OS devices. Valid values 0 to 2147483647 + * + * @param int $val The value of the chromeOSCount + * + * @return DeviceOperatingSystemSummary + */ + public function setChromeOSCount($val) + { + $this->_propDict["chromeOSCount"] = $val; + return $this; + } + /** + * Gets the configMgrDeviceCount + * Number of ConfigMgr managed devices. + * + * @return int|null The configMgrDeviceCount + */ + public function getConfigMgrDeviceCount() + { + if (array_key_exists("configMgrDeviceCount", $this->_propDict)) { + return $this->_propDict["configMgrDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the configMgrDeviceCount + * Number of ConfigMgr managed devices. + * + * @param int $val The value of the configMgrDeviceCount + * + * @return DeviceOperatingSystemSummary + */ + public function setConfigMgrDeviceCount($val) + { + $this->_propDict["configMgrDeviceCount"] = $val; + return $this; + } + /** + * Gets the iosCount + * Number of iOS device count. + * + * @return int|null The iosCount + */ + public function getIosCount() + { + if (array_key_exists("iosCount", $this->_propDict)) { + return $this->_propDict["iosCount"]; + } else { + return null; + } + } + + /** + * Sets the iosCount + * Number of iOS device count. + * + * @param int $val The value of the iosCount + * + * @return DeviceOperatingSystemSummary + */ + public function setIosCount($val) + { + $this->_propDict["iosCount"] = $val; + return $this; + } + /** + * Gets the linuxCount + * Number of Linux OS devices. Valid values 0 to 2147483647 + * + * @return int|null The linuxCount + */ + public function getLinuxCount() + { + if (array_key_exists("linuxCount", $this->_propDict)) { + return $this->_propDict["linuxCount"]; + } else { + return null; + } + } + + /** + * Sets the linuxCount + * Number of Linux OS devices. Valid values 0 to 2147483647 + * + * @param int $val The value of the linuxCount + * + * @return DeviceOperatingSystemSummary + */ + public function setLinuxCount($val) + { + $this->_propDict["linuxCount"] = $val; + return $this; + } + /** + * Gets the macOSCount + * Number of Mac OS X device count. + * + * @return int|null The macOSCount + */ + public function getMacOSCount() + { + if (array_key_exists("macOSCount", $this->_propDict)) { + return $this->_propDict["macOSCount"]; + } else { + return null; + } + } + + /** + * Sets the macOSCount + * Number of Mac OS X device count. + * + * @param int $val The value of the macOSCount + * + * @return DeviceOperatingSystemSummary + */ + public function setMacOSCount($val) + { + $this->_propDict["macOSCount"] = $val; + return $this; + } + /** + * Gets the unknownCount + * Number of unknown device count. + * + * @return int|null The unknownCount + */ + public function getUnknownCount() + { + if (array_key_exists("unknownCount", $this->_propDict)) { + return $this->_propDict["unknownCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownCount + * Number of unknown device count. + * + * @param int $val The value of the unknownCount + * + * @return DeviceOperatingSystemSummary + */ + public function setUnknownCount($val) + { + $this->_propDict["unknownCount"] = $val; + return $this; + } + /** + * Gets the windowsCount + * Number of Windows device count. + * + * @return int|null The windowsCount + */ + public function getWindowsCount() + { + if (array_key_exists("windowsCount", $this->_propDict)) { + return $this->_propDict["windowsCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsCount + * Number of Windows device count. + * + * @param int $val The value of the windowsCount + * + * @return DeviceOperatingSystemSummary + */ + public function setWindowsCount($val) + { + $this->_propDict["windowsCount"] = $val; + return $this; + } + /** + * Gets the windowsMobileCount + * Number of Windows mobile device count. + * + * @return int|null The windowsMobileCount + */ + public function getWindowsMobileCount() + { + if (array_key_exists("windowsMobileCount", $this->_propDict)) { + return $this->_propDict["windowsMobileCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsMobileCount + * Number of Windows mobile device count. + * + * @param int $val The value of the windowsMobileCount + * + * @return DeviceOperatingSystemSummary + */ + public function setWindowsMobileCount($val) + { + $this->_propDict["windowsMobileCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DevicePlatformType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DevicePlatformType.php new file mode 100644 index 0000000..bfa7189 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DevicePlatformType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["cleanDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the cleanDeviceCount + * Clean device count. + * + * @param int $val The value of the cleanDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setCleanDeviceCount($val) + { + $this->_propDict["cleanDeviceCount"] = $val; + return $this; + } + /** + * Gets the criticalFailuresDeviceCount + * Critical failures device count. + * + * @return int|null The criticalFailuresDeviceCount + */ + public function getCriticalFailuresDeviceCount() + { + if (array_key_exists("criticalFailuresDeviceCount", $this->_propDict)) { + return $this->_propDict["criticalFailuresDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the criticalFailuresDeviceCount + * Critical failures device count. + * + * @param int $val The value of the criticalFailuresDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setCriticalFailuresDeviceCount($val) + { + $this->_propDict["criticalFailuresDeviceCount"] = $val; + return $this; + } + /** + * Gets the inactiveThreatAgentDeviceCount + * Device with inactive threat agent count + * + * @return int|null The inactiveThreatAgentDeviceCount + */ + public function getInactiveThreatAgentDeviceCount() + { + if (array_key_exists("inactiveThreatAgentDeviceCount", $this->_propDict)) { + return $this->_propDict["inactiveThreatAgentDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the inactiveThreatAgentDeviceCount + * Device with inactive threat agent count + * + * @param int $val The value of the inactiveThreatAgentDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setInactiveThreatAgentDeviceCount($val) + { + $this->_propDict["inactiveThreatAgentDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingFullScanDeviceCount + * Pending full scan device count. + * + * @return int|null The pendingFullScanDeviceCount + */ + public function getPendingFullScanDeviceCount() + { + if (array_key_exists("pendingFullScanDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingFullScanDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingFullScanDeviceCount + * Pending full scan device count. + * + * @param int $val The value of the pendingFullScanDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setPendingFullScanDeviceCount($val) + { + $this->_propDict["pendingFullScanDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingManualStepsDeviceCount + * Pending manual steps device count. + * + * @return int|null The pendingManualStepsDeviceCount + */ + public function getPendingManualStepsDeviceCount() + { + if (array_key_exists("pendingManualStepsDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingManualStepsDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingManualStepsDeviceCount + * Pending manual steps device count. + * + * @param int $val The value of the pendingManualStepsDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setPendingManualStepsDeviceCount($val) + { + $this->_propDict["pendingManualStepsDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingOfflineScanDeviceCount + * Pending offline scan device count. + * + * @return int|null The pendingOfflineScanDeviceCount + */ + public function getPendingOfflineScanDeviceCount() + { + if (array_key_exists("pendingOfflineScanDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingOfflineScanDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingOfflineScanDeviceCount + * Pending offline scan device count. + * + * @param int $val The value of the pendingOfflineScanDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setPendingOfflineScanDeviceCount($val) + { + $this->_propDict["pendingOfflineScanDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingQuickScanDeviceCount + * Pending quick scan device count. Valid values -2147483648 to 2147483647 + * + * @return int|null The pendingQuickScanDeviceCount + */ + public function getPendingQuickScanDeviceCount() + { + if (array_key_exists("pendingQuickScanDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingQuickScanDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingQuickScanDeviceCount + * Pending quick scan device count. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the pendingQuickScanDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setPendingQuickScanDeviceCount($val) + { + $this->_propDict["pendingQuickScanDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingRestartDeviceCount + * Pending restart device count. + * + * @return int|null The pendingRestartDeviceCount + */ + public function getPendingRestartDeviceCount() + { + if (array_key_exists("pendingRestartDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingRestartDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingRestartDeviceCount + * Pending restart device count. + * + * @param int $val The value of the pendingRestartDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setPendingRestartDeviceCount($val) + { + $this->_propDict["pendingRestartDeviceCount"] = $val; + return $this; + } + /** + * Gets the pendingSignatureUpdateDeviceCount + * Device with old signature count. + * + * @return int|null The pendingSignatureUpdateDeviceCount + */ + public function getPendingSignatureUpdateDeviceCount() + { + if (array_key_exists("pendingSignatureUpdateDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingSignatureUpdateDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingSignatureUpdateDeviceCount + * Device with old signature count. + * + * @param int $val The value of the pendingSignatureUpdateDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setPendingSignatureUpdateDeviceCount($val) + { + $this->_propDict["pendingSignatureUpdateDeviceCount"] = $val; + return $this; + } + /** + * Gets the totalReportedDeviceCount + * Total device count. + * + * @return int|null The totalReportedDeviceCount + */ + public function getTotalReportedDeviceCount() + { + if (array_key_exists("totalReportedDeviceCount", $this->_propDict)) { + return $this->_propDict["totalReportedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the totalReportedDeviceCount + * Total device count. + * + * @param int $val The value of the totalReportedDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setTotalReportedDeviceCount($val) + { + $this->_propDict["totalReportedDeviceCount"] = $val; + return $this; + } + /** + * Gets the unknownStateThreatAgentDeviceCount + * Device with threat agent state as unknown count. + * + * @return int|null The unknownStateThreatAgentDeviceCount + */ + public function getUnknownStateThreatAgentDeviceCount() + { + if (array_key_exists("unknownStateThreatAgentDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownStateThreatAgentDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownStateThreatAgentDeviceCount + * Device with threat agent state as unknown count. + * + * @param int $val The value of the unknownStateThreatAgentDeviceCount + * + * @return DeviceProtectionOverview + */ + public function setUnknownStateThreatAgentDeviceCount($val) + { + $this->_propDict["unknownStateThreatAgentDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php new file mode 100644 index 0000000..66cf4b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["azureADJoin"], "\Beta\Microsoft\Graph\Model\AzureAdJoinPolicy") || is_null($this->_propDict["azureADJoin"])) { + return $this->_propDict["azureADJoin"]; + } else { + $this->_propDict["azureADJoin"] = new AzureAdJoinPolicy($this->_propDict["azureADJoin"]); + return $this->_propDict["azureADJoin"]; + } + } + return null; + } + + /** + * Sets the azureADJoin + * Specifies the authorization policy for controlling registration of new devices using Azure AD Join within your organization. Required. For more information, see What is a device identity?. + * + * @param AzureAdJoinPolicy $val The azureADJoin + * + * @return DeviceRegistrationPolicy + */ + public function setAzureADJoin($val) + { + $this->_propDict["azureADJoin"] = $val; + return $this; + } + + /** + * Gets the azureADRegistration + * Specifies the authorization policy for controlling registration of new devices using Azure AD registered within your organization. Required. For more information, see What is a device identity?. + * + * @return AzureADRegistrationPolicy|null The azureADRegistration + */ + public function getAzureADRegistration() + { + if (array_key_exists("azureADRegistration", $this->_propDict)) { + if (is_a($this->_propDict["azureADRegistration"], "\Beta\Microsoft\Graph\Model\AzureADRegistrationPolicy") || is_null($this->_propDict["azureADRegistration"])) { + return $this->_propDict["azureADRegistration"]; + } else { + $this->_propDict["azureADRegistration"] = new AzureADRegistrationPolicy($this->_propDict["azureADRegistration"]); + return $this->_propDict["azureADRegistration"]; + } + } + return null; + } + + /** + * Sets the azureADRegistration + * Specifies the authorization policy for controlling registration of new devices using Azure AD registered within your organization. Required. For more information, see What is a device identity?. + * + * @param AzureADRegistrationPolicy $val The azureADRegistration + * + * @return DeviceRegistrationPolicy + */ + public function setAzureADRegistration($val) + { + $this->_propDict["azureADRegistration"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the device registration policy. It is always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the device registration policy. It is always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. + * + * @param string $val The description + * + * @return DeviceRegistrationPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the device registration policy. It is always set to Device Registration Policy. Read-only. + * + * @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 + * The name of the device registration policy. It is always set to Device Registration Policy. Read-only. + * + * @param string $val The displayName + * + * @return DeviceRegistrationPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the multiFactorAuthConfiguration + * Specifies the authentication policy for a user to complete registration using Azure AD Join or Azure AD registered within your organization. The possible values are: 0 (meaning notRequired), 1 (meaning required), and 2 (meaning unknownFutureValue). The default value is 0. + * + * @return MultiFactorAuthConfiguration|null The multiFactorAuthConfiguration + */ + public function getMultiFactorAuthConfiguration() + { + if (array_key_exists("multiFactorAuthConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["multiFactorAuthConfiguration"], "\Beta\Microsoft\Graph\Model\MultiFactorAuthConfiguration") || is_null($this->_propDict["multiFactorAuthConfiguration"])) { + return $this->_propDict["multiFactorAuthConfiguration"]; + } else { + $this->_propDict["multiFactorAuthConfiguration"] = new MultiFactorAuthConfiguration($this->_propDict["multiFactorAuthConfiguration"]); + return $this->_propDict["multiFactorAuthConfiguration"]; + } + } + return null; + } + + /** + * Sets the multiFactorAuthConfiguration + * Specifies the authentication policy for a user to complete registration using Azure AD Join or Azure AD registered within your organization. The possible values are: 0 (meaning notRequired), 1 (meaning required), and 2 (meaning unknownFutureValue). The default value is 0. + * + * @param MultiFactorAuthConfiguration $val The multiFactorAuthConfiguration + * + * @return DeviceRegistrationPolicy + */ + public function setMultiFactorAuthConfiguration($val) + { + $this->_propDict["multiFactorAuthConfiguration"] = $val; + return $this; + } + + /** + * Gets the userDeviceQuota + * Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property is not specified during the policy update operation, it is automatically reset to 0 to indicate that users are not allowed to join any devices. + * + * @return int|null The userDeviceQuota + */ + public function getUserDeviceQuota() + { + if (array_key_exists("userDeviceQuota", $this->_propDict)) { + return $this->_propDict["userDeviceQuota"]; + } else { + return null; + } + } + + /** + * Sets the userDeviceQuota + * Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property is not specified during the policy update operation, it is automatically reset to 0 to indicate that users are not allowed to join any devices. + * + * @param int $val The userDeviceQuota + * + * @return DeviceRegistrationPolicy + */ + public function setUserDeviceQuota($val) + { + $this->_propDict["userDeviceQuota"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationState.php new file mode 100644 index 0000000..0824803 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationState.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * + * @param string $val The value of the message + * + * @return DeviceRestrictionAction + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the restrictionAction + * + * @return RestrictionAction|null The restrictionAction + */ + public function getRestrictionAction() + { + if (array_key_exists("restrictionAction", $this->_propDict)) { + if (is_a($this->_propDict["restrictionAction"], "\Beta\Microsoft\Graph\Model\RestrictionAction") || is_null($this->_propDict["restrictionAction"])) { + return $this->_propDict["restrictionAction"]; + } else { + $this->_propDict["restrictionAction"] = new RestrictionAction($this->_propDict["restrictionAction"]); + return $this->_propDict["restrictionAction"]; + } + } + return null; + } + + /** + * Sets the restrictionAction + * + * @param RestrictionAction $val The value to assign to the restrictionAction + * + * @return DeviceRestrictionAction The DeviceRestrictionAction + */ + public function setRestrictionAction($val) + { + $this->_propDict["restrictionAction"] = $val; + return $this; + } + + /** + * Gets the triggers + * + * @return RestrictionTrigger|null The triggers + */ + public function getTriggers() + { + if (array_key_exists("triggers", $this->_propDict)) { + if (is_a($this->_propDict["triggers"], "\Beta\Microsoft\Graph\Model\RestrictionTrigger") || is_null($this->_propDict["triggers"])) { + return $this->_propDict["triggers"]; + } else { + $this->_propDict["triggers"] = new RestrictionTrigger($this->_propDict["triggers"]); + return $this->_propDict["triggers"]; + } + } + return null; + } + + /** + * Sets the triggers + * + * @param RestrictionTrigger $val The value to assign to the triggers + * + * @return DeviceRestrictionAction The DeviceRestrictionAction + */ + public function setTriggers($val) + { + $this->_propDict["triggers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceScopeAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceScopeAction.php new file mode 100644 index 0000000..ec5111c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceScopeAction.php @@ -0,0 +1,32 @@ +_propDict)) { + if (is_a($this->_propDict["deviceScopeAction"], "\Beta\Microsoft\Graph\Model\DeviceScopeAction") || is_null($this->_propDict["deviceScopeAction"])) { + return $this->_propDict["deviceScopeAction"]; + } else { + $this->_propDict["deviceScopeAction"] = new DeviceScopeAction($this->_propDict["deviceScopeAction"]); + return $this->_propDict["deviceScopeAction"]; + } + } + return null; + } + + /** + * Sets the deviceScopeAction + * The triggered action name. + * + * @param DeviceScopeAction $val The value to assign to the deviceScopeAction + * + * @return DeviceScopeActionResult The DeviceScopeActionResult + */ + public function setDeviceScopeAction($val) + { + $this->_propDict["deviceScopeAction"] = $val; + return $this; + } + /** + * Gets the deviceScopeId + * The unique identifier of the device scope the action was triggered on. + * + * @return string|null The deviceScopeId + */ + public function getDeviceScopeId() + { + if (array_key_exists("deviceScopeId", $this->_propDict)) { + return $this->_propDict["deviceScopeId"]; + } else { + return null; + } + } + + /** + * Sets the deviceScopeId + * The unique identifier of the device scope the action was triggered on. + * + * @param string $val The value of the deviceScopeId + * + * @return DeviceScopeActionResult + */ + public function setDeviceScopeId($val) + { + $this->_propDict["deviceScopeId"] = $val; + return $this; + } + /** + * Gets the failedMessage + * The message indicates the reason the device scope action failed to trigger. + * + * @return string|null The failedMessage + */ + public function getFailedMessage() + { + if (array_key_exists("failedMessage", $this->_propDict)) { + return $this->_propDict["failedMessage"]; + } else { + return null; + } + } + + /** + * Sets the failedMessage + * The message indicates the reason the device scope action failed to trigger. + * + * @param string $val The value of the failedMessage + * + * @return DeviceScopeActionResult + */ + public function setFailedMessage($val) + { + $this->_propDict["failedMessage"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the status of the attempt device scope action. When succeeded, the action was succeessfully triggered, When failed, the action was failed to trigger. + * + * @return DeviceScopeActionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceScopeActionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceScopeActionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the status of the attempt device scope action. When succeeded, the action was succeessfully triggered, When failed, the action was failed to trigger. + * + * @param DeviceScopeActionStatus $val The value to assign to the status + * + * @return DeviceScopeActionResult The DeviceScopeActionResult + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceScopeActionStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceScopeActionStatus.php new file mode 100644 index 0000000..5f7c594 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceScopeActionStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceSetupConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return DeviceSetupConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return DeviceSetupConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceSetupConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return DeviceSetupConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceShellScript.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceShellScript.php new file mode 100644 index 0000000..ea6077b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceShellScript.php @@ -0,0 +1,519 @@ +_propDict)) { + return $this->_propDict["blockExecutionNotifications"]; + } else { + return null; + } + } + + /** + * Sets the blockExecutionNotifications + * Does not notify the user a script is being executed + * + * @param bool $val The blockExecutionNotifications + * + * @return DeviceShellScript + */ + public function setBlockExecutionNotifications($val) + { + $this->_propDict["blockExecutionNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the device management script was created. This property is read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the device management script was created. This property is read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceShellScript + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Optional description for the device management script. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional description for the device management script. + * + * @param string $val The description + * + * @return DeviceShellScript + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the device management script. + * + * @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 + * Name of the device management script. + * + * @param string $val The displayName + * + * @return DeviceShellScript + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the executionFrequency + * The interval for script to run. If not defined the script will run once + * + * @return \DateInterval|null The executionFrequency + */ + public function getExecutionFrequency() + { + if (array_key_exists("executionFrequency", $this->_propDict)) { + if (is_a($this->_propDict["executionFrequency"], "\DateInterval") || is_null($this->_propDict["executionFrequency"])) { + return $this->_propDict["executionFrequency"]; + } else { + $this->_propDict["executionFrequency"] = new \DateInterval($this->_propDict["executionFrequency"]); + return $this->_propDict["executionFrequency"]; + } + } + return null; + } + + /** + * Sets the executionFrequency + * The interval for script to run. If not defined the script will run once + * + * @param \DateInterval $val The executionFrequency + * + * @return DeviceShellScript + */ + public function setExecutionFrequency($val) + { + $this->_propDict["executionFrequency"] = $val; + return $this; + } + + /** + * Gets the fileName + * Script file name. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Script file name. + * + * @param string $val The fileName + * + * @return DeviceShellScript + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the device management script was last modified. This property is read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the device management script was last modified. This property is read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceShellScript + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the retryCount + * Number of times for the script to be retried if it fails + * + * @return int|null The retryCount + */ + public function getRetryCount() + { + if (array_key_exists("retryCount", $this->_propDict)) { + return $this->_propDict["retryCount"]; + } else { + return null; + } + } + + /** + * Sets the retryCount + * Number of times for the script to be retried if it fails + * + * @param int $val The retryCount + * + * @return DeviceShellScript + */ + public function setRetryCount($val) + { + $this->_propDict["retryCount"] = intval($val); + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tag IDs for this PowerShellScript instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tag IDs for this PowerShellScript instance. + * + * @param string $val The roleScopeTagIds + * + * @return DeviceShellScript + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context. Possible values are: system, user. + * + * @param RunAsAccountType $val The runAsAccount + * + * @return DeviceShellScript + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + + /** + * Gets the scriptContent + * The script content. + * + * @return \GuzzleHttp\Psr7\Stream|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + if (is_a($this->_propDict["scriptContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["scriptContent"])) { + return $this->_propDict["scriptContent"]; + } else { + $this->_propDict["scriptContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["scriptContent"]); + return $this->_propDict["scriptContent"]; + } + } + return null; + } + + /** + * Sets the scriptContent + * The script content. + * + * @param \GuzzleHttp\Psr7\Stream $val The scriptContent + * + * @return DeviceShellScript + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device management script. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device management script. + * + * @param DeviceManagementScriptAssignment[] $val The assignments + * + * @return DeviceShellScript + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceRunStates + * List of run states for this script across all devices. + * + * @return array|null The deviceRunStates + */ + public function getDeviceRunStates() + { + if (array_key_exists("deviceRunStates", $this->_propDict)) { + return $this->_propDict["deviceRunStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceRunStates + * List of run states for this script across all devices. + * + * @param DeviceManagementScriptDeviceState[] $val The deviceRunStates + * + * @return DeviceShellScript + */ + public function setDeviceRunStates($val) + { + $this->_propDict["deviceRunStates"] = $val; + return $this; + } + + + /** + * Gets the groupAssignments + * The list of group assignments for the device management script. + * + * @return array|null The groupAssignments + */ + public function getGroupAssignments() + { + if (array_key_exists("groupAssignments", $this->_propDict)) { + return $this->_propDict["groupAssignments"]; + } else { + return null; + } + } + + /** + * Sets the groupAssignments + * The list of group assignments for the device management script. + * + * @param DeviceManagementScriptGroupAssignment[] $val The groupAssignments + * + * @return DeviceShellScript + */ + public function setGroupAssignments($val) + { + $this->_propDict["groupAssignments"] = $val; + return $this; + } + + /** + * Gets the runSummary + * Run summary for device management script. + * + * @return DeviceManagementScriptRunSummary|null The runSummary + */ + public function getRunSummary() + { + if (array_key_exists("runSummary", $this->_propDict)) { + if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementScriptRunSummary") || is_null($this->_propDict["runSummary"])) { + return $this->_propDict["runSummary"]; + } else { + $this->_propDict["runSummary"] = new DeviceManagementScriptRunSummary($this->_propDict["runSummary"]); + return $this->_propDict["runSummary"]; + } + } + return null; + } + + /** + * Sets the runSummary + * Run summary for device management script. + * + * @param DeviceManagementScriptRunSummary $val The runSummary + * + * @return DeviceShellScript + */ + public function setRunSummary($val) + { + $this->_propDict["runSummary"] = $val; + return $this; + } + + + /** + * Gets the userRunStates + * List of run states for this script across all users. + * + * @return array|null The userRunStates + */ + public function getUserRunStates() + { + if (array_key_exists("userRunStates", $this->_propDict)) { + return $this->_propDict["userRunStates"]; + } else { + return null; + } + } + + /** + * Sets the userRunStates + * List of run states for this script across all users. + * + * @param DeviceManagementScriptUserState[] $val The userRunStates + * + * @return DeviceShellScript + */ + public function setUserRunStates($val) + { + $this->_propDict["userRunStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceThreatProtectionLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceThreatProtectionLevel.php new file mode 100644 index 0000000..71ef103 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceThreatProtectionLevel.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The message describing the condition that triggered the error or warning. + * + * @param string $val The value of the message + * + * @return Diagnostic + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the url + * The link to the documentation for this issue. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The link to the documentation for this issue. + * + * @param string $val The value of the url + * + * @return Diagnostic + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiagnosticDataSubmissionMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiagnosticDataSubmissionMode.php new file mode 100644 index 0000000..a1d2c3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiagnosticDataSubmissionMode.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return Dimension + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Dimension + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Dimension + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the dimensionValues + * + * @return array|null The dimensionValues + */ + public function getDimensionValues() + { + if (array_key_exists("dimensionValues", $this->_propDict)) { + return $this->_propDict["dimensionValues"]; + } else { + return null; + } + } + + /** + * Sets the dimensionValues + * + * @param DimensionValue[] $val The dimensionValues + * + * @return Dimension + */ + public function setDimensionValues($val) + { + $this->_propDict["dimensionValues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DimensionValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DimensionValue.php new file mode 100644 index 0000000..77ebe48 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DimensionValue.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return DimensionValue + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return DimensionValue + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DimensionValue + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Directory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Directory.php new file mode 100644 index 0000000..79f2cb4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Directory.php @@ -0,0 +1,347 @@ +_propDict)) { + return $this->_propDict["impactedResources"]; + } else { + return null; + } + } + + /** + * Sets the impactedResources + * + * @param RecommendationResource[] $val The impactedResources + * + * @return Directory + */ + public function setImpactedResources($val) + { + $this->_propDict["impactedResources"] = $val; + return $this; + } + + + /** + * Gets the recommendations + * + * @return array|null The recommendations + */ + public function getRecommendations() + { + if (array_key_exists("recommendations", $this->_propDict)) { + return $this->_propDict["recommendations"]; + } else { + return null; + } + } + + /** + * Sets the recommendations + * + * @param Recommendation[] $val The recommendations + * + * @return Directory + */ + public function setRecommendations($val) + { + $this->_propDict["recommendations"] = $val; + return $this; + } + + + /** + * Gets the administrativeUnits + * Conceptual container for user and group directory objects. + * + * @return array|null The administrativeUnits + */ + public function getAdministrativeUnits() + { + if (array_key_exists("administrativeUnits", $this->_propDict)) { + return $this->_propDict["administrativeUnits"]; + } else { + return null; + } + } + + /** + * Sets the administrativeUnits + * Conceptual container for user and group directory objects. + * + * @param AdministrativeUnit[] $val The administrativeUnits + * + * @return Directory + */ + public function setAdministrativeUnits($val) + { + $this->_propDict["administrativeUnits"] = $val; + return $this; + } + + + /** + * Gets the attributeSets + * Group of related custom security attribute definitions. + * + * @return array|null The attributeSets + */ + public function getAttributeSets() + { + if (array_key_exists("attributeSets", $this->_propDict)) { + return $this->_propDict["attributeSets"]; + } else { + return null; + } + } + + /** + * Sets the attributeSets + * Group of related custom security attribute definitions. + * + * @param AttributeSet[] $val The attributeSets + * + * @return Directory + */ + public function setAttributeSets($val) + { + $this->_propDict["attributeSets"] = $val; + return $this; + } + + + /** + * Gets the customSecurityAttributeDefinitions + * Schema of a custom security attributes (key-value pairs). + * + * @return array|null The customSecurityAttributeDefinitions + */ + public function getCustomSecurityAttributeDefinitions() + { + if (array_key_exists("customSecurityAttributeDefinitions", $this->_propDict)) { + return $this->_propDict["customSecurityAttributeDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the customSecurityAttributeDefinitions + * Schema of a custom security attributes (key-value pairs). + * + * @param CustomSecurityAttributeDefinition[] $val The customSecurityAttributeDefinitions + * + * @return Directory + */ + public function setCustomSecurityAttributeDefinitions($val) + { + $this->_propDict["customSecurityAttributeDefinitions"] = $val; + return $this; + } + + + /** + * Gets the deletedItems + * Recently deleted items. Read-only. Nullable. + * + * @return array|null The deletedItems + */ + public function getDeletedItems() + { + if (array_key_exists("deletedItems", $this->_propDict)) { + return $this->_propDict["deletedItems"]; + } else { + return null; + } + } + + /** + * Sets the deletedItems + * Recently deleted items. Read-only. Nullable. + * + * @param DirectoryObject[] $val The deletedItems + * + * @return Directory + */ + public function setDeletedItems($val) + { + $this->_propDict["deletedItems"] = $val; + return $this; + } + + + /** + * Gets the federationConfigurations + * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. + * + * @return array|null The federationConfigurations + */ + public function getFederationConfigurations() + { + if (array_key_exists("federationConfigurations", $this->_propDict)) { + return $this->_propDict["federationConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the federationConfigurations + * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. + * + * @param IdentityProviderBase[] $val The federationConfigurations + * + * @return Directory + */ + public function setFederationConfigurations($val) + { + $this->_propDict["federationConfigurations"] = $val; + return $this; + } + + + /** + * Gets the inboundSharedUserProfiles + * + * @return array|null The inboundSharedUserProfiles + */ + public function getInboundSharedUserProfiles() + { + if (array_key_exists("inboundSharedUserProfiles", $this->_propDict)) { + return $this->_propDict["inboundSharedUserProfiles"]; + } else { + return null; + } + } + + /** + * Sets the inboundSharedUserProfiles + * + * @param InboundSharedUserProfile[] $val The inboundSharedUserProfiles + * + * @return Directory + */ + public function setInboundSharedUserProfiles($val) + { + $this->_propDict["inboundSharedUserProfiles"] = $val; + return $this; + } + + + /** + * Gets the outboundSharedUserProfiles + * + * @return array|null The outboundSharedUserProfiles + */ + public function getOutboundSharedUserProfiles() + { + if (array_key_exists("outboundSharedUserProfiles", $this->_propDict)) { + return $this->_propDict["outboundSharedUserProfiles"]; + } else { + return null; + } + } + + /** + * Sets the outboundSharedUserProfiles + * + * @param OutboundSharedUserProfile[] $val The outboundSharedUserProfiles + * + * @return Directory + */ + public function setOutboundSharedUserProfiles($val) + { + $this->_propDict["outboundSharedUserProfiles"] = $val; + return $this; + } + + + /** + * Gets the sharedEmailDomains + * + * @return array|null The sharedEmailDomains + */ + public function getSharedEmailDomains() + { + if (array_key_exists("sharedEmailDomains", $this->_propDict)) { + return $this->_propDict["sharedEmailDomains"]; + } else { + return null; + } + } + + /** + * Sets the sharedEmailDomains + * + * @param SharedEmailDomain[] $val The sharedEmailDomains + * + * @return Directory + */ + public function setSharedEmailDomains($val) + { + $this->_propDict["sharedEmailDomains"] = $val; + return $this; + } + + + /** + * Gets the featureRolloutPolicies + * Nullable. + * + * @return array|null The featureRolloutPolicies + */ + public function getFeatureRolloutPolicies() + { + if (array_key_exists("featureRolloutPolicies", $this->_propDict)) { + return $this->_propDict["featureRolloutPolicies"]; + } else { + return null; + } + } + + /** + * Sets the featureRolloutPolicies + * Nullable. + * + * @param FeatureRolloutPolicy[] $val The featureRolloutPolicies + * + * @return Directory + */ + public function setFeatureRolloutPolicies($val) + { + $this->_propDict["featureRolloutPolicies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php new file mode 100644 index 0000000..98a218b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php @@ -0,0 +1,389 @@ +_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The activityDateTime + * + * @return DirectoryAudit + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the activityDisplayName + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure Ad activity list. + * + * @return string|null The activityDisplayName + */ + public function getActivityDisplayName() + { + if (array_key_exists("activityDisplayName", $this->_propDict)) { + return $this->_propDict["activityDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the activityDisplayName + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure Ad activity list. + * + * @param string $val The activityDisplayName + * + * @return DirectoryAudit + */ + public function setActivityDisplayName($val) + { + $this->_propDict["activityDisplayName"] = $val; + return $this; + } + + + /** + * Gets the additionalDetails + * Indicates additional details on the activity. + * + * @return array|null The additionalDetails + */ + public function getAdditionalDetails() + { + if (array_key_exists("additionalDetails", $this->_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Indicates additional details on the activity. + * + * @param KeyValue[] $val The additionalDetails + * + * @return DirectoryAudit + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + + /** + * Gets the category + * Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..) + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..) + * + * @param string $val The category + * + * @return DirectoryAudit + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the correlationId + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * + * @param string $val The correlationId + * + * @return DirectoryAudit + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the initiatedBy + * Indicates information about the user or app initiated the activity. + * + * @return AuditActivityInitiator|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\AuditActivityInitiator") || is_null($this->_propDict["initiatedBy"])) { + return $this->_propDict["initiatedBy"]; + } else { + $this->_propDict["initiatedBy"] = new AuditActivityInitiator($this->_propDict["initiatedBy"]); + return $this->_propDict["initiatedBy"]; + } + } + return null; + } + + /** + * Sets the initiatedBy + * Indicates information about the user or app initiated the activity. + * + * @param AuditActivityInitiator $val The initiatedBy + * + * @return DirectoryAudit + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the loggedByService + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * + * @return string|null The loggedByService + */ + public function getLoggedByService() + { + if (array_key_exists("loggedByService", $this->_propDict)) { + return $this->_propDict["loggedByService"]; + } else { + return null; + } + } + + /** + * Sets the loggedByService + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * + * @param string $val The loggedByService + * + * @return DirectoryAudit + */ + public function setLoggedByService($val) + { + $this->_propDict["loggedByService"] = $val; + return $this; + } + + /** + * Gets the operationType + * Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete. + * + * @return string|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + return $this->_propDict["operationType"]; + } else { + return null; + } + } + + /** + * Sets the operationType + * Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete. + * + * @param string $val The operationType + * + * @return DirectoryAudit + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the result + * Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. + * + * @return OperationResult|null The result + */ + public function getResult() + { + if (array_key_exists("result", $this->_propDict)) { + if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\OperationResult") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new OperationResult($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. + * + * @param OperationResult $val The result + * + * @return DirectoryAudit + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } + + /** + * Gets the resultReason + * Indicates the reason for failure if the result is failure or timeout. + * + * @return string|null The resultReason + */ + public function getResultReason() + { + if (array_key_exists("resultReason", $this->_propDict)) { + return $this->_propDict["resultReason"]; + } else { + return null; + } + } + + /** + * Sets the resultReason + * Indicates the reason for failure if the result is failure or timeout. + * + * @param string $val The resultReason + * + * @return DirectoryAudit + */ + public function setResultReason($val) + { + $this->_propDict["resultReason"] = $val; + return $this; + } + + + /** + * Gets the targetResources + * Information about the resource that changed due to the activity. + * + * @return array|null The targetResources + */ + public function getTargetResources() + { + if (array_key_exists("targetResources", $this->_propDict)) { + return $this->_propDict["targetResources"]; + } else { + return null; + } + } + + /** + * Sets the targetResources + * Information about the resource that changed due to the activity. + * + * @param TargetResource[] $val The targetResources + * + * @return DirectoryAudit + */ + public function setTargetResources($val) + { + $this->_propDict["targetResources"] = $val; + return $this; + } + + /** + * Gets the userAgent + * Type of user agent used by a user in the activity. + * + * @return string|null The userAgent + */ + public function getUserAgent() + { + if (array_key_exists("userAgent", $this->_propDict)) { + return $this->_propDict["userAgent"]; + } else { + return null; + } + } + + /** + * Sets the userAgent + * Type of user agent used by a user in the activity. + * + * @param string $val The userAgent + * + * @return DirectoryAudit + */ + public function setUserAgent($val) + { + $this->_propDict["userAgent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinition.php new file mode 100644 index 0000000..efc00ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinition.php @@ -0,0 +1,208 @@ +_propDict)) { + if (is_a($this->_propDict["discoverabilities"], "\Beta\Microsoft\Graph\Model\DirectoryDefinitionDiscoverabilities") || is_null($this->_propDict["discoverabilities"])) { + return $this->_propDict["discoverabilities"]; + } else { + $this->_propDict["discoverabilities"] = new DirectoryDefinitionDiscoverabilities($this->_propDict["discoverabilities"]); + return $this->_propDict["discoverabilities"]; + } + } + return null; + } + + /** + * Sets the discoverabilities + * Read only value indicating what type of discovery the app supports. Possible values are: AttributeDataTypes, AttributeNames, AttributeReadOnly, None, ReferenceAttributes, UnknownFutureValue. + * + * @param DirectoryDefinitionDiscoverabilities $val The discoverabilities + * + * @return DirectoryDefinition + */ + public function setDiscoverabilities($val) + { + $this->_propDict["discoverabilities"] = $val; + return $this; + } + + /** + * Gets the discoveryDateTime + * Represents the discovery date and time 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 discoveryDateTime + */ + public function getDiscoveryDateTime() + { + if (array_key_exists("discoveryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["discoveryDateTime"], "\DateTime") || is_null($this->_propDict["discoveryDateTime"])) { + return $this->_propDict["discoveryDateTime"]; + } else { + $this->_propDict["discoveryDateTime"] = new \DateTime($this->_propDict["discoveryDateTime"]); + return $this->_propDict["discoveryDateTime"]; + } + } + return null; + } + + /** + * Sets the discoveryDateTime + * Represents the discovery date and time 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 discoveryDateTime + * + * @return DirectoryDefinition + */ + public function setDiscoveryDateTime($val) + { + $this->_propDict["discoveryDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * Name of the directory. Must be unique within the synchronization schema. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the directory. Must be unique within the synchronization schema. Not nullable. + * + * @param string $val The name + * + * @return DirectoryDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the objects + * Collection of objects supported by the directory. + * + * @return array|null The objects + */ + public function getObjects() + { + if (array_key_exists("objects", $this->_propDict)) { + return $this->_propDict["objects"]; + } else { + return null; + } + } + + /** + * Sets the objects + * Collection of objects supported by the directory. + * + * @param ObjectDefinition[] $val The objects + * + * @return DirectoryDefinition + */ + public function setObjects($val) + { + $this->_propDict["objects"] = $val; + return $this; + } + + /** + * Gets the readOnly + * + * @return bool|null The readOnly + */ + public function getReadOnly() + { + if (array_key_exists("readOnly", $this->_propDict)) { + return $this->_propDict["readOnly"]; + } else { + return null; + } + } + + /** + * Sets the readOnly + * + * @param bool $val The readOnly + * + * @return DirectoryDefinition + */ + public function setReadOnly($val) + { + $this->_propDict["readOnly"] = boolval($val); + return $this; + } + + /** + * Gets the version + * Read only value that indicates version discovered. null if discovery has not yet occurred. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Read only value that indicates version discovered. null if discovery has not yet occurred. + * + * @param string $val The version + * + * @return DirectoryDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinitionDiscoverabilities.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinitionDiscoverabilities.php new file mode 100644 index 0000000..6396621 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinitionDiscoverabilities.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { + return $this->_propDict["deletedDateTime"]; + } else { + $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); + return $this->_propDict["deletedDateTime"]; + } + } + return null; + } + + /** + * Sets the deletedDateTime + * Date and time when this object was deleted. Always null when the object hasn't been deleted. + * + * @param \DateTime $val The deletedDateTime + * + * @return DirectoryObject + */ + public function setDeletedDateTime($val) + { + $this->_propDict["deletedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryObjectPartnerReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryObjectPartnerReference.php new file mode 100644 index 0000000..92a49e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryObjectPartnerReference.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the object returned. Read-only. + * + * @param string $val The description + * + * @return DirectoryObjectPartnerReference + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of directory object being returned, like group or application. Read-only. + * + * @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 + * Name of directory object being returned, like group or application. Read-only. + * + * @param string $val The displayName + * + * @return DirectoryObjectPartnerReference + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalPartnerTenantId + * The tenant identifier for the partner tenant. Read-only. + * + * @return string|null The externalPartnerTenantId + */ + public function getExternalPartnerTenantId() + { + if (array_key_exists("externalPartnerTenantId", $this->_propDict)) { + return $this->_propDict["externalPartnerTenantId"]; + } else { + return null; + } + } + + /** + * Sets the externalPartnerTenantId + * The tenant identifier for the partner tenant. Read-only. + * + * @param string $val The externalPartnerTenantId + * + * @return DirectoryObjectPartnerReference + */ + public function setExternalPartnerTenantId($val) + { + $this->_propDict["externalPartnerTenantId"] = $val; + return $this; + } + + /** + * Gets the objectType + * The type of the referenced object in the partner tenant. Read-only. + * + * @return string|null The objectType + */ + public function getObjectType() + { + if (array_key_exists("objectType", $this->_propDict)) { + return $this->_propDict["objectType"]; + } else { + return null; + } + } + + /** + * Sets the objectType + * The type of the referenced object in the partner tenant. Read-only. + * + * @param string $val The objectType + * + * @return DirectoryObjectPartnerReference + */ + public function setObjectType($val) + { + $this->_propDict["objectType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRole.php new file mode 100644 index 0000000..4022f6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRole.php @@ -0,0 +1,174 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the directory role. Read-only. Supports $filter (eq), $search, $select. + * + * @param string $val The description + * + * @return DirectoryRole + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the directory role. Read-only. Supports $filter (eq), $search, $select. + * + * @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 + * The display name for the directory role. Read-only. Supports $filter (eq), $search, $select. + * + * @param string $val The displayName + * + * @return DirectoryRole + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the roleTemplateId + * The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. + * + * @return string|null The roleTemplateId + */ + public function getRoleTemplateId() + { + if (array_key_exists("roleTemplateId", $this->_propDict)) { + return $this->_propDict["roleTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the roleTemplateId + * The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. + * + * @param string $val The roleTemplateId + * + * @return DirectoryRole + */ + public function setRoleTemplateId($val) + { + $this->_propDict["roleTemplateId"] = $val; + return $this; + } + + + /** + * Gets the members + * Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The members + * + * @return DirectoryRole + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the scopedMembers + * Members of this directory role that are scoped to administrative units. Read-only. Nullable. + * + * @return array|null The scopedMembers + */ + public function getScopedMembers() + { + if (array_key_exists("scopedMembers", $this->_propDict)) { + return $this->_propDict["scopedMembers"]; + } else { + return null; + } + } + + /** + * Sets the scopedMembers + * Members of this directory role that are scoped to administrative units. Read-only. Nullable. + * + * @param ScopedRoleMembership[] $val The scopedMembers + * + * @return DirectoryRole + */ + public function setScopedMembers($val) + { + $this->_propDict["scopedMembers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleAccessReviewPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleAccessReviewPolicy.php new file mode 100644 index 0000000..aadd121 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleAccessReviewPolicy.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AccessReviewScheduleSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new AccessReviewScheduleSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * + * @param AccessReviewScheduleSettings $val The settings + * + * @return DirectoryRoleAccessReviewPolicy + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleTemplate.php new file mode 100644 index 0000000..9335517 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleTemplate.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description to set for the directory role. Read-only. + * + * @param string $val The description + * + * @return DirectoryRoleTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name to set for the directory role. Read-only. + * + * @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 + * The display name to set for the directory role. Read-only. + * + * @param string $val The displayName + * + * @return DirectoryRoleTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySetting.php new file mode 100644 index 0000000..e84b2c1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySetting.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of this group of settings, which comes from the associated template. Read-only. + * + * @param string $val The displayName + * + * @return DirectorySetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the templateId + * Unique identifier for the template used to create this group of settings. Read-only. + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * Unique identifier for the template used to create this group of settings. Read-only. + * + * @param string $val The templateId + * + * @return DirectorySetting + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + + /** + * Gets the values + * Collection of name-value pairs corresponding to the name and defaultValue properties in the referenced directorySettingTemplates object. + * + * @return array|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Collection of name-value pairs corresponding to the name and defaultValue properties in the referenced directorySettingTemplates object. + * + * @param SettingValue[] $val The values + * + * @return DirectorySetting + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySettingTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySettingTemplate.php new file mode 100644 index 0000000..e846b53 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySettingTemplate.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the template. Read-only. + * + * @param string $val The description + * + * @return DirectorySettingTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the template. Read-only. + * + * @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 + * Display name of the template. Read-only. + * + * @param string $val The displayName + * + * @return DirectorySettingTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the values + * Collection of settingTemplateValues that list the set of available settings, defaults and types that make up this template. Read-only. + * + * @return array|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Collection of settingTemplateValues that list the set of available settings, defaults and types that make up this template. Read-only. + * + * @param SettingTemplateValue[] $val The values + * + * @return DirectorySettingTemplate + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySizeQuota.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySizeQuota.php new file mode 100644 index 0000000..c7a9bfb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySizeQuota.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * Total amount of the directory quota. + * + * @param int $val The value of the total + * + * @return DirectorySizeQuota + */ + public function setTotal($val) + { + $this->_propDict["total"] = $val; + return $this; + } + /** + * Gets the used + * Used amount of the directory quota. + * + * @return int|null The used + */ + public function getUsed() + { + if (array_key_exists("used", $this->_propDict)) { + return $this->_propDict["used"]; + } else { + return null; + } + } + + /** + * Sets the used + * Used amount of the directory quota. + * + * @param int $val The value of the used + * + * @return DirectorySizeQuota + */ + public function setUsed($val) + { + $this->_propDict["used"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DisableAndDeleteUserApplyAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DisableAndDeleteUserApplyAction.php new file mode 100644 index 0000000..a4aa124 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DisableAndDeleteUserApplyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["classificationAttributes"], "\Beta\Microsoft\Graph\Model\ClassificationAttribute") || is_null($this->_propDict["classificationAttributes"])) { + return $this->_propDict["classificationAttributes"]; + } else { + $this->_propDict["classificationAttributes"] = new ClassificationAttribute($this->_propDict["classificationAttributes"]); + return $this->_propDict["classificationAttributes"]; + } + } + return null; + } + + /** + * Sets the classificationAttributes + * + * @param ClassificationAttribute $val The value to assign to the classificationAttributes + * + * @return DiscoveredSensitiveType The DiscoveredSensitiveType + */ + public function setClassificationAttributes($val) + { + $this->_propDict["classificationAttributes"] = $val; + return $this; + } + /** + * Gets the confidence + * + * @return int|null The confidence + */ + public function getConfidence() + { + if (array_key_exists("confidence", $this->_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * + * @param int $val The value of the confidence + * + * @return DiscoveredSensitiveType + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + /** + * Gets the count + * + * @return int|null The count + */ + public function getCount() + { + if (array_key_exists("count", $this->_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * + * @param int $val The value of the count + * + * @return DiscoveredSensitiveType + */ + public function setCount($val) + { + $this->_propDict["count"] = $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 DiscoveredSensitiveType + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiscoverySource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiscoverySource.php new file mode 100644 index 0000000..322667d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiscoverySource.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * If present, the value of this field contains the displayName string that has been set for the language present in the languageTag field. + * + * @param string $val The value of the displayName + * + * @return DisplayNameLocalization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the languageTag + * Provides the language culture-code and friendly name of the language that the displayName field has been provided in. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * Provides the language culture-code and friendly name of the language that the displayName field has been provided in. + * + * @param string $val The value of the languageTag + * + * @return DisplayNameLocalization + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpAction.php new file mode 100644 index 0000000..33975af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpAction.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\DlpAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new DlpAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * + * @param DlpAction $val The value to assign to the action + * + * @return DlpActionInfo The DlpActionInfo + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesJobResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesJobResponse.php new file mode 100644 index 0000000..1428227 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesJobResponse.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\DlpPoliciesJobResult") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new DlpPoliciesJobResult($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * + * @param DlpPoliciesJobResult $val The result + * + * @return DlpEvaluatePoliciesJobResponse + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesRequest.php new file mode 100644 index 0000000..a8b1676 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesRequest.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["evaluationInput"], "\Beta\Microsoft\Graph\Model\DlpEvaluationInput") || is_null($this->_propDict["evaluationInput"])) { + return $this->_propDict["evaluationInput"]; + } else { + $this->_propDict["evaluationInput"] = new DlpEvaluationInput($this->_propDict["evaluationInput"]); + return $this->_propDict["evaluationInput"]; + } + } + return null; + } + + /** + * Sets the evaluationInput + * + * @param DlpEvaluationInput $val The value to assign to the evaluationInput + * + * @return DlpEvaluatePoliciesRequest The DlpEvaluatePoliciesRequest + */ + public function setEvaluationInput($val) + { + $this->_propDict["evaluationInput"] = $val; + return $this; + } + + /** + * Gets the notificationInfo + * + * @return DlpNotification|null The notificationInfo + */ + public function getNotificationInfo() + { + if (array_key_exists("notificationInfo", $this->_propDict)) { + if (is_a($this->_propDict["notificationInfo"], "\Beta\Microsoft\Graph\Model\DlpNotification") || is_null($this->_propDict["notificationInfo"])) { + return $this->_propDict["notificationInfo"]; + } else { + $this->_propDict["notificationInfo"] = new DlpNotification($this->_propDict["notificationInfo"]); + return $this->_propDict["notificationInfo"]; + } + } + return null; + } + + /** + * Sets the notificationInfo + * + * @param DlpNotification $val The value to assign to the notificationInfo + * + * @return DlpEvaluatePoliciesRequest The DlpEvaluatePoliciesRequest + */ + public function setNotificationInfo($val) + { + $this->_propDict["notificationInfo"] = $val; + return $this; + } + /** + * Gets the target + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * + * @param string $val The value of the target + * + * @return DlpEvaluatePoliciesRequest + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationInput.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationInput.php new file mode 100644 index 0000000..c971d40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationInput.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["accessScope"], "\Beta\Microsoft\Graph\Model\AccessScope") || is_null($this->_propDict["accessScope"])) { + return $this->_propDict["accessScope"]; + } else { + $this->_propDict["accessScope"] = new AccessScope($this->_propDict["accessScope"]); + return $this->_propDict["accessScope"]; + } + } + return null; + } + + /** + * Sets the accessScope + * + * @param AccessScope $val The value to assign to the accessScope + * + * @return DlpEvaluationInput The DlpEvaluationInput + */ + public function setAccessScope($val) + { + $this->_propDict["accessScope"] = $val; + return $this; + } + + /** + * Gets the currentLabel + * + * @return CurrentLabel|null The currentLabel + */ + public function getCurrentLabel() + { + if (array_key_exists("currentLabel", $this->_propDict)) { + if (is_a($this->_propDict["currentLabel"], "\Beta\Microsoft\Graph\Model\CurrentLabel") || is_null($this->_propDict["currentLabel"])) { + return $this->_propDict["currentLabel"]; + } else { + $this->_propDict["currentLabel"] = new CurrentLabel($this->_propDict["currentLabel"]); + return $this->_propDict["currentLabel"]; + } + } + return null; + } + + /** + * Sets the currentLabel + * + * @param CurrentLabel $val The value to assign to the currentLabel + * + * @return DlpEvaluationInput The DlpEvaluationInput + */ + public function setCurrentLabel($val) + { + $this->_propDict["currentLabel"] = $val; + return $this; + } + + /** + * Gets the discoveredSensitiveTypes + * + * @return DiscoveredSensitiveType|null The discoveredSensitiveTypes + */ + public function getDiscoveredSensitiveTypes() + { + if (array_key_exists("discoveredSensitiveTypes", $this->_propDict)) { + if (is_a($this->_propDict["discoveredSensitiveTypes"], "\Beta\Microsoft\Graph\Model\DiscoveredSensitiveType") || is_null($this->_propDict["discoveredSensitiveTypes"])) { + return $this->_propDict["discoveredSensitiveTypes"]; + } else { + $this->_propDict["discoveredSensitiveTypes"] = new DiscoveredSensitiveType($this->_propDict["discoveredSensitiveTypes"]); + return $this->_propDict["discoveredSensitiveTypes"]; + } + } + return null; + } + + /** + * Sets the discoveredSensitiveTypes + * + * @param DiscoveredSensitiveType $val The value to assign to the discoveredSensitiveTypes + * + * @return DlpEvaluationInput The DlpEvaluationInput + */ + public function setDiscoveredSensitiveTypes($val) + { + $this->_propDict["discoveredSensitiveTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationWindowsDevicesInput.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationWindowsDevicesInput.php new file mode 100644 index 0000000..8599195 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationWindowsDevicesInput.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["contentProperties"], "\Beta\Microsoft\Graph\Model\ContentProperties") || is_null($this->_propDict["contentProperties"])) { + return $this->_propDict["contentProperties"]; + } else { + $this->_propDict["contentProperties"] = new ContentProperties($this->_propDict["contentProperties"]); + return $this->_propDict["contentProperties"]; + } + } + return null; + } + + /** + * Sets the contentProperties + * + * @param ContentProperties $val The value to assign to the contentProperties + * + * @return DlpEvaluationWindowsDevicesInput The DlpEvaluationWindowsDevicesInput + */ + public function setContentProperties($val) + { + $this->_propDict["contentProperties"] = $val; + return $this; + } + /** + * Gets the sharedBy + * + * @return string|null The sharedBy + */ + public function getSharedBy() + { + if (array_key_exists("sharedBy", $this->_propDict)) { + return $this->_propDict["sharedBy"]; + } else { + return null; + } + } + + /** + * Sets the sharedBy + * + * @param string $val The value of the sharedBy + * + * @return DlpEvaluationWindowsDevicesInput + */ + public function setSharedBy($val) + { + $this->_propDict["sharedBy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpNotification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpNotification.php new file mode 100644 index 0000000..fde9683 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpNotification.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["author"]; + } else { + return null; + } + } + + /** + * Sets the author + * + * @param string $val The value of the author + * + * @return DlpNotification + */ + public function setAuthor($val) + { + $this->_propDict["author"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpPoliciesJobResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpPoliciesJobResult.php new file mode 100644 index 0000000..e66922e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpPoliciesJobResult.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["auditCorrelationId"]; + } else { + return null; + } + } + + /** + * Sets the auditCorrelationId + * + * @param string $val The value of the auditCorrelationId + * + * @return DlpPoliciesJobResult + */ + public function setAuditCorrelationId($val) + { + $this->_propDict["auditCorrelationId"] = $val; + return $this; + } + + /** + * Gets the evaluationDateTime + * + * @return \DateTime|null The evaluationDateTime + */ + public function getEvaluationDateTime() + { + if (array_key_exists("evaluationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["evaluationDateTime"], "\DateTime") || is_null($this->_propDict["evaluationDateTime"])) { + return $this->_propDict["evaluationDateTime"]; + } else { + $this->_propDict["evaluationDateTime"] = new \DateTime($this->_propDict["evaluationDateTime"]); + return $this->_propDict["evaluationDateTime"]; + } + } + return null; + } + + /** + * Sets the evaluationDateTime + * + * @param \DateTime $val The value to assign to the evaluationDateTime + * + * @return DlpPoliciesJobResult The DlpPoliciesJobResult + */ + public function setEvaluationDateTime($val) + { + $this->_propDict["evaluationDateTime"] = $val; + return $this; + } + + /** + * Gets the matchingRules + * + * @return MatchingDlpRule|null The matchingRules + */ + public function getMatchingRules() + { + if (array_key_exists("matchingRules", $this->_propDict)) { + if (is_a($this->_propDict["matchingRules"], "\Beta\Microsoft\Graph\Model\MatchingDlpRule") || is_null($this->_propDict["matchingRules"])) { + return $this->_propDict["matchingRules"]; + } else { + $this->_propDict["matchingRules"] = new MatchingDlpRule($this->_propDict["matchingRules"]); + return $this->_propDict["matchingRules"]; + } + } + return null; + } + + /** + * Sets the matchingRules + * + * @param MatchingDlpRule $val The value to assign to the matchingRules + * + * @return DlpPoliciesJobResult The DlpPoliciesJobResult + */ + public function setMatchingRules($val) + { + $this->_propDict["matchingRules"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpWindowsDevicesNotification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpWindowsDevicesNotification.php new file mode 100644 index 0000000..2407e3a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpWindowsDevicesNotification.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["contentName"]; + } else { + return null; + } + } + + /** + * Sets the contentName + * + * @param string $val The value of the contentName + * + * @return DlpWindowsDevicesNotification + */ + public function setContentName($val) + { + $this->_propDict["contentName"] = $val; + return $this; + } + /** + * Gets the lastModfiedBy + * + * @return string|null The lastModfiedBy + */ + public function getLastModfiedBy() + { + if (array_key_exists("lastModfiedBy", $this->_propDict)) { + return $this->_propDict["lastModfiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModfiedBy + * + * @param string $val The value of the lastModfiedBy + * + * @return DlpWindowsDevicesNotification + */ + public function setLastModfiedBy($val) + { + $this->_propDict["lastModfiedBy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DmaGuardDeviceEnumerationPolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DmaGuardDeviceEnumerationPolicyType.php new file mode 100644 index 0000000..4301b95 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DmaGuardDeviceEnumerationPolicyType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * + * @param DocumentComment[] $val The comments + * + * @return Document + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentComment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentComment.php new file mode 100644 index 0000000..71e2f06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentComment.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The content + * + * @return DocumentComment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + + /** + * Gets the replies + * + * @return array|null The replies + */ + public function getReplies() + { + if (array_key_exists("replies", $this->_propDict)) { + return $this->_propDict["replies"]; + } else { + return null; + } + } + + /** + * Sets the replies + * + * @param DocumentCommentReply[] $val The replies + * + * @return DocumentComment + */ + public function setReplies($val) + { + $this->_propDict["replies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentCommentReply.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentCommentReply.php new file mode 100644 index 0000000..56b3f0a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentCommentReply.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The content + * + * @return DocumentCommentReply + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the location + * + * @return string|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * + * @param string $val The location + * + * @return DocumentCommentReply + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php new file mode 100644 index 0000000..d339a70 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php @@ -0,0 +1,238 @@ +_propDict)) { + if (is_a($this->_propDict["allowedContentTypes"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["allowedContentTypes"])) { + return $this->_propDict["allowedContentTypes"]; + } else { + $this->_propDict["allowedContentTypes"] = new ContentTypeInfo($this->_propDict["allowedContentTypes"]); + return $this->_propDict["allowedContentTypes"]; + } + } + return null; + } + + /** + * Sets the allowedContentTypes + * Content types allowed in document set. + * + * @param ContentTypeInfo $val The value to assign to the allowedContentTypes + * + * @return DocumentSet The DocumentSet + */ + public function setAllowedContentTypes($val) + { + $this->_propDict["allowedContentTypes"] = $val; + return $this; + } + + /** + * Gets the defaultContents + * Default contents of document set. + * + * @return DocumentSetContent|null The defaultContents + */ + public function getDefaultContents() + { + if (array_key_exists("defaultContents", $this->_propDict)) { + if (is_a($this->_propDict["defaultContents"], "\Beta\Microsoft\Graph\Model\DocumentSetContent") || is_null($this->_propDict["defaultContents"])) { + return $this->_propDict["defaultContents"]; + } else { + $this->_propDict["defaultContents"] = new DocumentSetContent($this->_propDict["defaultContents"]); + return $this->_propDict["defaultContents"]; + } + } + return null; + } + + /** + * Sets the defaultContents + * Default contents of document set. + * + * @param DocumentSetContent $val The value to assign to the defaultContents + * + * @return DocumentSet The DocumentSet + */ + public function setDefaultContents($val) + { + $this->_propDict["defaultContents"] = $val; + return $this; + } + /** + * Gets the propagateWelcomePageChanges + * Indicates whether to add the name of the document set to each file name. + * + * @return bool|null The propagateWelcomePageChanges + */ + public function getPropagateWelcomePageChanges() + { + if (array_key_exists("propagateWelcomePageChanges", $this->_propDict)) { + return $this->_propDict["propagateWelcomePageChanges"]; + } else { + return null; + } + } + + /** + * Sets the propagateWelcomePageChanges + * Indicates whether to add the name of the document set to each file name. + * + * @param bool $val The value of the propagateWelcomePageChanges + * + * @return DocumentSet + */ + public function setPropagateWelcomePageChanges($val) + { + $this->_propDict["propagateWelcomePageChanges"] = $val; + return $this; + } + /** + * Gets the shouldPrefixNameToFile + * Add the name of the Document Set to each file name. + * + * @return bool|null The shouldPrefixNameToFile + */ + public function getShouldPrefixNameToFile() + { + if (array_key_exists("shouldPrefixNameToFile", $this->_propDict)) { + return $this->_propDict["shouldPrefixNameToFile"]; + } else { + return null; + } + } + + /** + * Sets the shouldPrefixNameToFile + * Add the name of the Document Set to each file name. + * + * @param bool $val The value of the shouldPrefixNameToFile + * + * @return DocumentSet + */ + public function setShouldPrefixNameToFile($val) + { + $this->_propDict["shouldPrefixNameToFile"] = $val; + return $this; + } + /** + * Gets the welcomePageUrl + * Welcome page absolute URL. + * + * @return string|null The welcomePageUrl + */ + public function getWelcomePageUrl() + { + if (array_key_exists("welcomePageUrl", $this->_propDict)) { + return $this->_propDict["welcomePageUrl"]; + } else { + return null; + } + } + + /** + * Sets the welcomePageUrl + * Welcome page absolute URL. + * + * @param string $val The value of the welcomePageUrl + * + * @return DocumentSet + */ + public function setWelcomePageUrl($val) + { + $this->_propDict["welcomePageUrl"] = $val; + return $this; + } + + /** + * Gets the sharedColumns + * + * @return ColumnDefinition|null The sharedColumns + */ + public function getSharedColumns() + { + if (array_key_exists("sharedColumns", $this->_propDict)) { + if (is_a($this->_propDict["sharedColumns"], "\Beta\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["sharedColumns"])) { + return $this->_propDict["sharedColumns"]; + } else { + $this->_propDict["sharedColumns"] = new ColumnDefinition($this->_propDict["sharedColumns"]); + return $this->_propDict["sharedColumns"]; + } + } + return null; + } + + /** + * Sets the sharedColumns + * + * @param ColumnDefinition $val The value to assign to the sharedColumns + * + * @return DocumentSet The DocumentSet + */ + public function setSharedColumns($val) + { + $this->_propDict["sharedColumns"] = $val; + return $this; + } + + /** + * Gets the welcomePageColumns + * + * @return ColumnDefinition|null The welcomePageColumns + */ + public function getWelcomePageColumns() + { + if (array_key_exists("welcomePageColumns", $this->_propDict)) { + if (is_a($this->_propDict["welcomePageColumns"], "\Beta\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["welcomePageColumns"])) { + return $this->_propDict["welcomePageColumns"]; + } else { + $this->_propDict["welcomePageColumns"] = new ColumnDefinition($this->_propDict["welcomePageColumns"]); + return $this->_propDict["welcomePageColumns"]; + } + } + return null; + } + + /** + * Sets the welcomePageColumns + * + * @param ColumnDefinition $val The value to assign to the welcomePageColumns + * + * @return DocumentSet The DocumentSet + */ + public function setWelcomePageColumns($val) + { + $this->_propDict["welcomePageColumns"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetContent.php new file mode 100644 index 0000000..632e5da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetContent.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * Content type information of the file. + * + * @param ContentTypeInfo $val The value to assign to the contentType + * + * @return DocumentSetContent The DocumentSetContent + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the fileName + * Name of the file in resource folder that should be added as a default content or a template in the document set + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Name of the file in resource folder that should be added as a default content or a template in the document set + * + * @param string $val The value of the fileName + * + * @return DocumentSetContent + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + /** + * Gets the folderName + * Folder name in which the file will be placed when a new document set is created in the library. + * + * @return string|null The folderName + */ + public function getFolderName() + { + if (array_key_exists("folderName", $this->_propDict)) { + return $this->_propDict["folderName"]; + } else { + return null; + } + } + + /** + * Sets the folderName + * Folder name in which the file will be placed when a new document set is created in the library. + * + * @param string $val The value of the folderName + * + * @return DocumentSetContent + */ + public function setFolderName($val) + { + $this->_propDict["folderName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetVersion.php new file mode 100644 index 0000000..4ccc5e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetVersion.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * Comment about the captured version. + * + * @param string $val The comment + * + * @return DocumentSetVersion + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + + /** + * Gets the createdBy + * User who captured the version. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * User who captured the version. + * + * @param IdentitySet $val The createdBy + * + * @return DocumentSetVersion + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time when this version was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time when this version was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DocumentSetVersion + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the items + * Items within the document set that are captured as part of this version. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Items within the document set that are captured as part of this version. + * + * @param DocumentSetVersionItem[] $val The items + * + * @return DocumentSetVersion + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + /** + * Gets the shouldCaptureMinorVersion + * If true, minor versions of items are also captured; otherwise, only major versions will be captured. Default value is false. + * + * @return bool|null The shouldCaptureMinorVersion + */ + public function getShouldCaptureMinorVersion() + { + if (array_key_exists("shouldCaptureMinorVersion", $this->_propDict)) { + return $this->_propDict["shouldCaptureMinorVersion"]; + } else { + return null; + } + } + + /** + * Sets the shouldCaptureMinorVersion + * If true, minor versions of items are also captured; otherwise, only major versions will be captured. Default value is false. + * + * @param bool $val The shouldCaptureMinorVersion + * + * @return DocumentSetVersion + */ + public function setShouldCaptureMinorVersion($val) + { + $this->_propDict["shouldCaptureMinorVersion"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetVersionItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetVersionItem.php new file mode 100644 index 0000000..4e86ba1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetVersionItem.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * The unique identifier for the item. + * + * @param string $val The value of the itemId + * + * @return DocumentSetVersionItem + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + /** + * Gets the title + * The title of the item. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the item. + * + * @param string $val The value of the title + * + * @return DocumentSetVersionItem + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + /** + * Gets the versionId + * The version ID of the item. + * + * @return string|null The versionId + */ + public function getVersionId() + { + if (array_key_exists("versionId", $this->_propDict)) { + return $this->_propDict["versionId"]; + } else { + return null; + } + } + + /** + * Sets the versionId + * The version ID of the item. + * + * @param string $val The value of the versionId + * + * @return DocumentSetVersionItem + */ + public function setVersionId($val) + { + $this->_propDict["versionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Domain.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Domain.php new file mode 100644 index 0000000..1afe9de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Domain.php @@ -0,0 +1,498 @@ +_propDict)) { + return $this->_propDict["authenticationType"]; + } else { + return null; + } + } + + /** + * Sets the authenticationType + * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable. + * + * @param string $val The authenticationType + * + * @return Domain + */ + public function setAuthenticationType($val) + { + $this->_propDict["authenticationType"] = $val; + return $this; + } + + /** + * Gets the availabilityStatus + * This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled. + * + * @return string|null The availabilityStatus + */ + public function getAvailabilityStatus() + { + if (array_key_exists("availabilityStatus", $this->_propDict)) { + return $this->_propDict["availabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the availabilityStatus + * This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled. + * + * @param string $val The availabilityStatus + * + * @return Domain + */ + public function setAvailabilityStatus($val) + { + $this->_propDict["availabilityStatus"] = $val; + return $this; + } + + /** + * Gets the isAdminManaged + * The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable + * + * @return bool|null The isAdminManaged + */ + public function getIsAdminManaged() + { + if (array_key_exists("isAdminManaged", $this->_propDict)) { + return $this->_propDict["isAdminManaged"]; + } else { + return null; + } + } + + /** + * Sets the isAdminManaged + * The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable + * + * @param bool $val The isAdminManaged + * + * @return Domain + */ + public function setIsAdminManaged($val) + { + $this->_propDict["isAdminManaged"] = boolval($val); + return $this; + } + + /** + * Gets the isDefault + * true if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * true if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable + * + * @param bool $val The isDefault + * + * @return Domain + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isInitial + * true if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable + * + * @return bool|null The isInitial + */ + public function getIsInitial() + { + if (array_key_exists("isInitial", $this->_propDict)) { + return $this->_propDict["isInitial"]; + } else { + return null; + } + } + + /** + * Sets the isInitial + * true if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable + * + * @param bool $val The isInitial + * + * @return Domain + */ + public function setIsInitial($val) + { + $this->_propDict["isInitial"] = boolval($val); + return $this; + } + + /** + * Gets the isRoot + * true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable + * + * @return bool|null The isRoot + */ + public function getIsRoot() + { + if (array_key_exists("isRoot", $this->_propDict)) { + return $this->_propDict["isRoot"]; + } else { + return null; + } + } + + /** + * Sets the isRoot + * true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable + * + * @param bool $val The isRoot + * + * @return Domain + */ + public function setIsRoot($val) + { + $this->_propDict["isRoot"] = boolval($val); + return $this; + } + + /** + * Gets the isVerified + * true if the domain has completed domain ownership verification. Not nullable + * + * @return bool|null The isVerified + */ + public function getIsVerified() + { + if (array_key_exists("isVerified", $this->_propDict)) { + return $this->_propDict["isVerified"]; + } else { + return null; + } + } + + /** + * Sets the isVerified + * true if the domain has completed domain ownership verification. Not nullable + * + * @param bool $val The isVerified + * + * @return Domain + */ + public function setIsVerified($val) + { + $this->_propDict["isVerified"] = boolval($val); + return $this; + } + + /** + * Gets the passwordNotificationWindowInDays + * Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used. + * + * @return int|null The passwordNotificationWindowInDays + */ + public function getPasswordNotificationWindowInDays() + { + if (array_key_exists("passwordNotificationWindowInDays", $this->_propDict)) { + return $this->_propDict["passwordNotificationWindowInDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordNotificationWindowInDays + * Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used. + * + * @param int $val The passwordNotificationWindowInDays + * + * @return Domain + */ + public function setPasswordNotificationWindowInDays($val) + { + $this->_propDict["passwordNotificationWindowInDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordValidityPeriodInDays + * Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used. + * + * @return int|null The passwordValidityPeriodInDays + */ + public function getPasswordValidityPeriodInDays() + { + if (array_key_exists("passwordValidityPeriodInDays", $this->_propDict)) { + return $this->_propDict["passwordValidityPeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordValidityPeriodInDays + * Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used. + * + * @param int $val The passwordValidityPeriodInDays + * + * @return Domain + */ + public function setPasswordValidityPeriodInDays($val) + { + $this->_propDict["passwordValidityPeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the state + * Status of asynchronous operations scheduled for the domain. + * + * @return DomainState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\DomainState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new DomainState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Status of asynchronous operations scheduled for the domain. + * + * @param DomainState $val The state + * + * @return Domain + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the supportedServices + * The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. + * + * @return string|null The supportedServices + */ + public function getSupportedServices() + { + if (array_key_exists("supportedServices", $this->_propDict)) { + return $this->_propDict["supportedServices"]; + } else { + return null; + } + } + + /** + * Sets the supportedServices + * The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. + * + * @param string $val The supportedServices + * + * @return Domain + */ + public function setSupportedServices($val) + { + $this->_propDict["supportedServices"] = $val; + return $this; + } + + + /** + * Gets the domainNameReferences + * The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + * + * @return array|null The domainNameReferences + */ + public function getDomainNameReferences() + { + if (array_key_exists("domainNameReferences", $this->_propDict)) { + return $this->_propDict["domainNameReferences"]; + } else { + return null; + } + } + + /** + * Sets the domainNameReferences + * The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + * + * @param DirectoryObject[] $val The domainNameReferences + * + * @return Domain + */ + public function setDomainNameReferences($val) + { + $this->_propDict["domainNameReferences"] = $val; + return $this; + } + + + /** + * Gets the federationConfiguration + * Domain settings configured by customer when federated with Azure AD. Supports $expand. + * + * @return array|null The federationConfiguration + */ + public function getFederationConfiguration() + { + if (array_key_exists("federationConfiguration", $this->_propDict)) { + return $this->_propDict["federationConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the federationConfiguration + * Domain settings configured by customer when federated with Azure AD. Supports $expand. + * + * @param InternalDomainFederation[] $val The federationConfiguration + * + * @return Domain + */ + public function setFederationConfiguration($val) + { + $this->_propDict["federationConfiguration"] = $val; + return $this; + } + + + /** + * Gets the serviceConfigurationRecords + * DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. + * + * @return array|null The serviceConfigurationRecords + */ + public function getServiceConfigurationRecords() + { + if (array_key_exists("serviceConfigurationRecords", $this->_propDict)) { + return $this->_propDict["serviceConfigurationRecords"]; + } else { + return null; + } + } + + /** + * Sets the serviceConfigurationRecords + * DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. + * + * @param DomainDnsRecord[] $val The serviceConfigurationRecords + * + * @return Domain + */ + public function setServiceConfigurationRecords($val) + { + $this->_propDict["serviceConfigurationRecords"] = $val; + return $this; + } + + + /** + * Gets the sharedEmailDomainInvitations + * + * @return array|null The sharedEmailDomainInvitations + */ + public function getSharedEmailDomainInvitations() + { + if (array_key_exists("sharedEmailDomainInvitations", $this->_propDict)) { + return $this->_propDict["sharedEmailDomainInvitations"]; + } else { + return null; + } + } + + /** + * Sets the sharedEmailDomainInvitations + * + * @param SharedEmailDomainInvitation[] $val The sharedEmailDomainInvitations + * + * @return Domain + */ + public function setSharedEmailDomainInvitations($val) + { + $this->_propDict["sharedEmailDomainInvitations"] = $val; + return $this; + } + + + /** + * Gets the verificationDnsRecords + * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand. + * + * @return array|null The verificationDnsRecords + */ + public function getVerificationDnsRecords() + { + if (array_key_exists("verificationDnsRecords", $this->_propDict)) { + return $this->_propDict["verificationDnsRecords"]; + } else { + return null; + } + } + + /** + * Sets the verificationDnsRecords + * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand. + * + * @param DomainDnsRecord[] $val The verificationDnsRecords + * + * @return Domain + */ + public function setVerificationDnsRecords($val) + { + $this->_propDict["verificationDnsRecords"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php new file mode 100644 index 0000000..48b6325 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["canonicalName"]; + } else { + return null; + } + } + + /** + * Sets the canonicalName + * The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host. + * + * @param string $val The canonicalName + * + * @return DomainDnsCnameRecord + */ + public function setCanonicalName($val) + { + $this->_propDict["canonicalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsMxRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsMxRecord.php new file mode 100644 index 0000000..5bb2c30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsMxRecord.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["mailExchange"]; + } else { + return null; + } + } + + /** + * Sets the mailExchange + * Value used when configuring the answer/destination/value of the MX record at the DNS host. + * + * @param string $val The mailExchange + * + * @return DomainDnsMxRecord + */ + public function setMailExchange($val) + { + $this->_propDict["mailExchange"] = $val; + return $this; + } + + /** + * Gets the preference + * Value used when configuring the Preference/Priority property of the MX record at the DNS host. + * + * @return int|null The preference + */ + public function getPreference() + { + if (array_key_exists("preference", $this->_propDict)) { + return $this->_propDict["preference"]; + } else { + return null; + } + } + + /** + * Sets the preference + * Value used when configuring the Preference/Priority property of the MX record at the DNS host. + * + * @param int $val The preference + * + * @return DomainDnsMxRecord + */ + public function setPreference($val) + { + $this->_propDict["preference"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsRecord.php new file mode 100644 index 0000000..eec780a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsRecord.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["isOptional"]; + } else { + return null; + } + } + + /** + * Sets the isOptional + * If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain. + * + * @param bool $val The isOptional + * + * @return DomainDnsRecord + */ + public function setIsOptional($val) + { + $this->_propDict["isOptional"] = boolval($val); + return $this; + } + + /** + * Gets the label + * Value used when configuring the name of the DNS record at the DNS host. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * Value used when configuring the name of the DNS record at the DNS host. + * + * @param string $val The label + * + * @return DomainDnsRecord + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the recordType + * Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. + * + * @return string|null The recordType + */ + public function getRecordType() + { + if (array_key_exists("recordType", $this->_propDict)) { + return $this->_propDict["recordType"]; + } else { + return null; + } + } + + /** + * Sets the recordType + * Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. + * + * @param string $val The recordType + * + * @return DomainDnsRecord + */ + public function setRecordType($val) + { + $this->_propDict["recordType"] = $val; + return $this; + } + + /** + * Gets the supportedService + * Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. + * + * @return string|null The supportedService + */ + public function getSupportedService() + { + if (array_key_exists("supportedService", $this->_propDict)) { + return $this->_propDict["supportedService"]; + } else { + return null; + } + } + + /** + * Sets the supportedService + * Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. + * + * @param string $val The supportedService + * + * @return DomainDnsRecord + */ + public function setSupportedService($val) + { + $this->_propDict["supportedService"] = $val; + return $this; + } + + /** + * Gets the ttl + * Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable. + * + * @return int|null The ttl + */ + public function getTtl() + { + if (array_key_exists("ttl", $this->_propDict)) { + return $this->_propDict["ttl"]; + } else { + return null; + } + } + + /** + * Sets the ttl + * Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable. + * + * @param int $val The ttl + * + * @return DomainDnsRecord + */ + public function setTtl($val) + { + $this->_propDict["ttl"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsSrvRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsSrvRecord.php new file mode 100644 index 0000000..6acb1c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsSrvRecord.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["nameTarget"]; + } else { + return null; + } + } + + /** + * Sets the nameTarget + * Value to use when configuring the Target property of the SRV record at the DNS host. + * + * @param string $val The nameTarget + * + * @return DomainDnsSrvRecord + */ + public function setNameTarget($val) + { + $this->_propDict["nameTarget"] = $val; + return $this; + } + + /** + * Gets the port + * Value to use when configuring the port property of the SRV record at the DNS host. + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * Value to use when configuring the port property of the SRV record at the DNS host. + * + * @param int $val The port + * + * @return DomainDnsSrvRecord + */ + public function setPort($val) + { + $this->_propDict["port"] = intval($val); + return $this; + } + + /** + * Gets the priority + * Value to use when configuring the priority property of the SRV record at the DNS host. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Value to use when configuring the priority property of the SRV record at the DNS host. + * + * @param int $val The priority + * + * @return DomainDnsSrvRecord + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the protocol + * Value to use when configuring the protocol property of the SRV record at the DNS host. + * + * @return string|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + return $this->_propDict["protocol"]; + } else { + return null; + } + } + + /** + * Sets the protocol + * Value to use when configuring the protocol property of the SRV record at the DNS host. + * + * @param string $val The protocol + * + * @return DomainDnsSrvRecord + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + + /** + * Gets the service + * Value to use when configuring the service property of the SRV record at the DNS host. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * Value to use when configuring the service property of the SRV record at the DNS host. + * + * @param string $val The service + * + * @return DomainDnsSrvRecord + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the weight + * Value to use when configuring the weight property of the SRV record at the DNS host. + * + * @return int|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * Value to use when configuring the weight property of the SRV record at the DNS host. + * + * @param int $val The weight + * + * @return DomainDnsSrvRecord + */ + public function setWeight($val) + { + $this->_propDict["weight"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsTxtRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsTxtRecord.php new file mode 100644 index 0000000..e6edd46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsTxtRecord.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Value used when configuring the text property at the DNS host. + * + * @param string $val The text + * + * @return DomainDnsTxtRecord + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsUnavailableRecord.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsUnavailableRecord.php new file mode 100644 index 0000000..ea898ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsUnavailableRecord.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Provides the reason why the DomainDnsUnavailableRecord entity is returned. + * + * @param string $val The description + * + * @return DomainDnsUnavailableRecord + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainIdentitySource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainIdentitySource.php new file mode 100644 index 0000000..28a664a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainIdentitySource.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.domainIdentitySource"); + } + + /** + * Gets the displayName + * The name of the identity source, typically also the domain name. Read only. + * + * @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 + * The name of the identity source, typically also the domain name. Read only. + * + * @param string $val The value of the displayName + * + * @return DomainIdentitySource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the domainName + * The domain name. Read only. + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * The domain name. Read only. + * + * @param string $val The value of the domainName + * + * @return DomainIdentitySource + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainNameSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainNameSource.php new file mode 100644 index 0000000..1fe9cee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainNameSource.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["countryOrRegionCode"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegionCode + * + * @param string $val The value of the countryOrRegionCode + * + * @return DomainRegistrant + */ + public function setCountryOrRegionCode($val) + { + $this->_propDict["countryOrRegionCode"] = $val; + return $this; + } + /** + * Gets the organization + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * + * @param string $val The value of the organization + * + * @return DomainRegistrant + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return DomainRegistrant + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + /** + * Gets the vendor + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * + * @param string $val The value of the vendor + * + * @return DomainRegistrant + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainSecurityProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainSecurityProfile.php new file mode 100644 index 0000000..bfafbb1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainSecurityProfile.php @@ -0,0 +1,426 @@ +_propDict)) { + return $this->_propDict["activityGroupNames"]; + } else { + return null; + } + } + + /** + * Sets the activityGroupNames + * + * @param string $val The activityGroupNames + * + * @return DomainSecurityProfile + */ + public function setActivityGroupNames($val) + { + $this->_propDict["activityGroupNames"] = $val; + return $this; + } + + /** + * Gets the azureSubscriptionId + * + * @return string|null The azureSubscriptionId + */ + public function getAzureSubscriptionId() + { + if (array_key_exists("azureSubscriptionId", $this->_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * + * @param string $val The azureSubscriptionId + * + * @return DomainSecurityProfile + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return DomainSecurityProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the countHits + * + * @return int|null The countHits + */ + public function getCountHits() + { + if (array_key_exists("countHits", $this->_propDict)) { + return $this->_propDict["countHits"]; + } else { + return null; + } + } + + /** + * Sets the countHits + * + * @param int $val The countHits + * + * @return DomainSecurityProfile + */ + public function setCountHits($val) + { + $this->_propDict["countHits"] = intval($val); + return $this; + } + + /** + * Gets the countInOrg + * + * @return int|null The countInOrg + */ + public function getCountInOrg() + { + if (array_key_exists("countInOrg", $this->_propDict)) { + return $this->_propDict["countInOrg"]; + } else { + return null; + } + } + + /** + * Sets the countInOrg + * + * @param int $val The countInOrg + * + * @return DomainSecurityProfile + */ + public function setCountInOrg($val) + { + $this->_propDict["countInOrg"] = intval($val); + return $this; + } + + + /** + * Gets the domainCategories + * + * @return array|null The domainCategories + */ + public function getDomainCategories() + { + if (array_key_exists("domainCategories", $this->_propDict)) { + return $this->_propDict["domainCategories"]; + } else { + return null; + } + } + + /** + * Sets the domainCategories + * + * @param ReputationCategory[] $val The domainCategories + * + * @return DomainSecurityProfile + */ + public function setDomainCategories($val) + { + $this->_propDict["domainCategories"] = $val; + return $this; + } + + /** + * Gets the domainRegisteredDateTime + * + * @return \DateTime|null The domainRegisteredDateTime + */ + public function getDomainRegisteredDateTime() + { + if (array_key_exists("domainRegisteredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["domainRegisteredDateTime"], "\DateTime") || is_null($this->_propDict["domainRegisteredDateTime"])) { + return $this->_propDict["domainRegisteredDateTime"]; + } else { + $this->_propDict["domainRegisteredDateTime"] = new \DateTime($this->_propDict["domainRegisteredDateTime"]); + return $this->_propDict["domainRegisteredDateTime"]; + } + } + return null; + } + + /** + * Sets the domainRegisteredDateTime + * + * @param \DateTime $val The domainRegisteredDateTime + * + * @return DomainSecurityProfile + */ + public function setDomainRegisteredDateTime($val) + { + $this->_propDict["domainRegisteredDateTime"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return DomainSecurityProfile + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return DomainSecurityProfile + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return DomainSecurityProfile + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the registrant + * + * @return DomainRegistrant|null The registrant + */ + public function getRegistrant() + { + if (array_key_exists("registrant", $this->_propDict)) { + if (is_a($this->_propDict["registrant"], "\Beta\Microsoft\Graph\Model\DomainRegistrant") || is_null($this->_propDict["registrant"])) { + return $this->_propDict["registrant"]; + } else { + $this->_propDict["registrant"] = new DomainRegistrant($this->_propDict["registrant"]); + return $this->_propDict["registrant"]; + } + } + return null; + } + + /** + * Sets the registrant + * + * @param DomainRegistrant $val The registrant + * + * @return DomainSecurityProfile + */ + public function setRegistrant($val) + { + $this->_propDict["registrant"] = $val; + return $this; + } + + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The riskScore + * + * @return DomainSecurityProfile + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the tags + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string $val The tags + * + * @return DomainSecurityProfile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return DomainSecurityProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainState.php new file mode 100644 index 0000000..4fda71f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainState.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes. + * + * @param \DateTime $val The value to assign to the lastActionDateTime + * + * @return DomainState The DomainState + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + /** + * Gets the operation + * Type of asynchronous operation. The values can be ForceDelete or Verification + * + * @return string|null The operation + */ + public function getOperation() + { + if (array_key_exists("operation", $this->_propDict)) { + return $this->_propDict["operation"]; + } else { + return null; + } + } + + /** + * Sets the operation + * Type of asynchronous operation. The values can be ForceDelete or Verification + * + * @param string $val The value of the operation + * + * @return DomainState + */ + public function setOperation($val) + { + $this->_propDict["operation"] = $val; + return $this; + } + /** + * Gets the status + * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + * + * @param string $val The value of the status + * + * @return DomainState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DowngradeJustification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DowngradeJustification.php new file mode 100644 index 0000000..309f78b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DowngradeJustification.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isDowngradeJustified"]; + } else { + return null; + } + } + + /** + * Sets the isDowngradeJustified + * Indicates whether the downgrade is or is not justified. + * + * @param bool $val The value of the isDowngradeJustified + * + * @return DowngradeJustification + */ + public function setIsDowngradeJustified($val) + { + $this->_propDict["isDowngradeJustified"] = $val; + return $this; + } + /** + * Gets the justificationMessage + * Message that indicates why a downgrade is justified. The message will appear in administrative logs. + * + * @return string|null The justificationMessage + */ + public function getJustificationMessage() + { + if (array_key_exists("justificationMessage", $this->_propDict)) { + return $this->_propDict["justificationMessage"]; + } else { + return null; + } + } + + /** + * Sets the justificationMessage + * Message that indicates why a downgrade is justified. The message will appear in administrative logs. + * + * @param string $val The value of the justificationMessage + * + * @return DowngradeJustification + */ + public function setJustificationMessage($val) + { + $this->_propDict["justificationMessage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Drive.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Drive.php new file mode 100644 index 0000000..d3de6e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Drive.php @@ -0,0 +1,402 @@ +_propDict)) { + return $this->_propDict["driveType"]; + } else { + return null; + } + } + + /** + * Sets the driveType + * Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only. + * + * @param string $val The driveType + * + * @return Drive + */ + public function setDriveType($val) + { + $this->_propDict["driveType"] = $val; + return $this; + } + + /** + * Gets the owner + * Optional. The user account that owns the drive. Read-only. + * + * @return IdentitySet|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new IdentitySet($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * Optional. The user account that owns the drive. Read-only. + * + * @param IdentitySet $val The owner + * + * @return Drive + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the quota + * Optional. Information about the drive's storage space quota. Read-only. + * + * @return Quota|null The quota + */ + public function getQuota() + { + if (array_key_exists("quota", $this->_propDict)) { + if (is_a($this->_propDict["quota"], "\Beta\Microsoft\Graph\Model\Quota") || is_null($this->_propDict["quota"])) { + return $this->_propDict["quota"]; + } else { + $this->_propDict["quota"] = new Quota($this->_propDict["quota"]); + return $this->_propDict["quota"]; + } + } + return null; + } + + /** + * Sets the quota + * Optional. Information about the drive's storage space quota. Read-only. + * + * @param Quota $val The quota + * + * @return Drive + */ + public function setQuota($val) + { + $this->_propDict["quota"] = $val; + return $this; + } + + /** + * Gets the sharePointIds + * + * @return SharepointIds|null The sharePointIds + */ + public function getSharePointIds() + { + if (array_key_exists("sharePointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharePointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharePointIds"])) { + return $this->_propDict["sharePointIds"]; + } else { + $this->_propDict["sharePointIds"] = new SharepointIds($this->_propDict["sharePointIds"]); + return $this->_propDict["sharePointIds"]; + } + } + return null; + } + + /** + * Sets the sharePointIds + * + * @param SharepointIds $val The sharePointIds + * + * @return Drive + */ + public function setSharePointIds($val) + { + $this->_propDict["sharePointIds"] = $val; + return $this; + } + + /** + * Gets the system + * If present, indicates that this is a system-managed drive. Read-only. + * + * @return SystemFacet|null The system + */ + public function getSystem() + { + if (array_key_exists("system", $this->_propDict)) { + if (is_a($this->_propDict["system"], "\Beta\Microsoft\Graph\Model\SystemFacet") || is_null($this->_propDict["system"])) { + return $this->_propDict["system"]; + } else { + $this->_propDict["system"] = new SystemFacet($this->_propDict["system"]); + return $this->_propDict["system"]; + } + } + return null; + } + + /** + * Sets the system + * If present, indicates that this is a system-managed drive. Read-only. + * + * @param SystemFacet $val The system + * + * @return Drive + */ + public function setSystem($val) + { + $this->_propDict["system"] = $val; + return $this; + } + + + /** + * Gets the activities + * The list of recent activities that took place under this drive. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The list of recent activities that took place under this drive. + * + * @param ItemActivityOLD[] $val The activities + * + * @return Drive + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + + + /** + * Gets the bundles + * Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + * + * @return array|null The bundles + */ + public function getBundles() + { + if (array_key_exists("bundles", $this->_propDict)) { + return $this->_propDict["bundles"]; + } else { + return null; + } + } + + /** + * Sets the bundles + * Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + * + * @param DriveItem[] $val The bundles + * + * @return Drive + */ + public function setBundles($val) + { + $this->_propDict["bundles"] = $val; + return $this; + } + + + /** + * Gets the following + * The list of items the user is following. Only in OneDrive for Business. + * + * @return array|null The following + */ + public function getFollowing() + { + if (array_key_exists("following", $this->_propDict)) { + return $this->_propDict["following"]; + } else { + return null; + } + } + + /** + * Sets the following + * The list of items the user is following. Only in OneDrive for Business. + * + * @param DriveItem[] $val The following + * + * @return Drive + */ + public function setFollowing($val) + { + $this->_propDict["following"] = $val; + return $this; + } + + + /** + * Gets the items + * All items contained in the drive. Read-only. Nullable. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * All items contained in the drive. Read-only. Nullable. + * + * @param DriveItem[] $val The items + * + * @return Drive + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + /** + * Gets the list + * For drives in SharePoint, the underlying document library list. Read-only. Nullable. + * + * @return GraphList|null The list + */ + public function getList() + { + if (array_key_exists("list", $this->_propDict)) { + if (is_a($this->_propDict["list"], "\Beta\Microsoft\Graph\Model\GraphList") || is_null($this->_propDict["list"])) { + return $this->_propDict["list"]; + } else { + $this->_propDict["list"] = new GraphList($this->_propDict["list"]); + return $this->_propDict["list"]; + } + } + return null; + } + + /** + * Sets the list + * For drives in SharePoint, the underlying document library list. Read-only. Nullable. + * + * @param GraphList $val The list + * + * @return Drive + */ + public function setList($val) + { + $this->_propDict["list"] = $val; + return $this; + } + + /** + * Gets the root + * The root folder of the drive. Read-only. + * + * @return DriveItem|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new DriveItem($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * The root folder of the drive. Read-only. + * + * @param DriveItem $val The root + * + * @return Drive + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + + /** + * Gets the special + * Collection of common folders available in OneDrive. Read-only. Nullable. + * + * @return array|null The special + */ + public function getSpecial() + { + if (array_key_exists("special", $this->_propDict)) { + return $this->_propDict["special"]; + } else { + return null; + } + } + + /** + * Sets the special + * Collection of common folders available in OneDrive. Read-only. Nullable. + * + * @param DriveItem[] $val The special + * + * @return Drive + */ + public function setSpecial($val) + { + $this->_propDict["special"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php new file mode 100644 index 0000000..52ce72e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php @@ -0,0 +1,1152 @@ +_propDict)) { + if (is_a($this->_propDict["audio"], "\Beta\Microsoft\Graph\Model\Audio") || is_null($this->_propDict["audio"])) { + return $this->_propDict["audio"]; + } else { + $this->_propDict["audio"] = new Audio($this->_propDict["audio"]); + return $this->_propDict["audio"]; + } + } + return null; + } + + /** + * Sets the audio + * Audio metadata, if the item is an audio file. Read-only. Only on OneDrive Personal. + * + * @param Audio $val The audio + * + * @return DriveItem + */ + public function setAudio($val) + { + $this->_propDict["audio"] = $val; + return $this; + } + + /** + * Gets the bundle + * Bundle metadata, if the item is a bundle. Read-only. + * + * @return Bundle|null The bundle + */ + public function getBundle() + { + if (array_key_exists("bundle", $this->_propDict)) { + if (is_a($this->_propDict["bundle"], "\Beta\Microsoft\Graph\Model\Bundle") || is_null($this->_propDict["bundle"])) { + return $this->_propDict["bundle"]; + } else { + $this->_propDict["bundle"] = new Bundle($this->_propDict["bundle"]); + return $this->_propDict["bundle"]; + } + } + return null; + } + + /** + * Sets the bundle + * Bundle metadata, if the item is a bundle. Read-only. + * + * @param Bundle $val The bundle + * + * @return DriveItem + */ + public function setBundle($val) + { + $this->_propDict["bundle"] = $val; + return $this; + } + + /** + * Gets the content + * The content stream, if the item represents a file. + * + * @return \GuzzleHttp\Psr7\Stream|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content stream, if the item represents a file. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return DriveItem + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the cTag + * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * + * @return string|null The cTag + */ + public function getCTag() + { + if (array_key_exists("cTag", $this->_propDict)) { + return $this->_propDict["cTag"]; + } else { + return null; + } + } + + /** + * Sets the cTag + * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * + * @param string $val The cTag + * + * @return DriveItem + */ + public function setCTag($val) + { + $this->_propDict["cTag"] = $val; + return $this; + } + + /** + * Gets the deleted + * Information about the deleted state of the item. Read-only. + * + * @return Deleted|null The deleted + */ + public function getDeleted() + { + if (array_key_exists("deleted", $this->_propDict)) { + if (is_a($this->_propDict["deleted"], "\Beta\Microsoft\Graph\Model\Deleted") || is_null($this->_propDict["deleted"])) { + return $this->_propDict["deleted"]; + } else { + $this->_propDict["deleted"] = new Deleted($this->_propDict["deleted"]); + return $this->_propDict["deleted"]; + } + } + return null; + } + + /** + * Sets the deleted + * Information about the deleted state of the item. Read-only. + * + * @param Deleted $val The deleted + * + * @return DriveItem + */ + public function setDeleted($val) + { + $this->_propDict["deleted"] = $val; + return $this; + } + + /** + * Gets the file + * File metadata, if the item is a file. Read-only. + * + * @return File|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\File") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = new File($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * File metadata, if the item is a file. Read-only. + * + * @param File $val The file + * + * @return DriveItem + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the fileSystemInfo + * File system information on client. Read-write. + * + * @return FileSystemInfo|null The fileSystemInfo + */ + public function getFileSystemInfo() + { + if (array_key_exists("fileSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) { + return $this->_propDict["fileSystemInfo"]; + } else { + $this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]); + return $this->_propDict["fileSystemInfo"]; + } + } + return null; + } + + /** + * Sets the fileSystemInfo + * File system information on client. Read-write. + * + * @param FileSystemInfo $val The fileSystemInfo + * + * @return DriveItem + */ + public function setFileSystemInfo($val) + { + $this->_propDict["fileSystemInfo"] = $val; + return $this; + } + + /** + * Gets the folder + * Folder metadata, if the item is a folder. Read-only. + * + * @return Folder|null The folder + */ + public function getFolder() + { + if (array_key_exists("folder", $this->_propDict)) { + if (is_a($this->_propDict["folder"], "\Beta\Microsoft\Graph\Model\Folder") || is_null($this->_propDict["folder"])) { + return $this->_propDict["folder"]; + } else { + $this->_propDict["folder"] = new Folder($this->_propDict["folder"]); + return $this->_propDict["folder"]; + } + } + return null; + } + + /** + * Sets the folder + * Folder metadata, if the item is a folder. Read-only. + * + * @param Folder $val The folder + * + * @return DriveItem + */ + public function setFolder($val) + { + $this->_propDict["folder"] = $val; + return $this; + } + + /** + * Gets the image + * Image metadata, if the item is an image. Read-only. + * + * @return Image|null The image + */ + public function getImage() + { + if (array_key_exists("image", $this->_propDict)) { + if (is_a($this->_propDict["image"], "\Beta\Microsoft\Graph\Model\Image") || is_null($this->_propDict["image"])) { + return $this->_propDict["image"]; + } else { + $this->_propDict["image"] = new Image($this->_propDict["image"]); + return $this->_propDict["image"]; + } + } + return null; + } + + /** + * Sets the image + * Image metadata, if the item is an image. Read-only. + * + * @param Image $val The image + * + * @return DriveItem + */ + public function setImage($val) + { + $this->_propDict["image"] = $val; + return $this; + } + + /** + * Gets the location + * Location metadata, if the item has location data. Read-only. + * + * @return GeoCoordinates|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new GeoCoordinates($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Location metadata, if the item has location data. Read-only. + * + * @param GeoCoordinates $val The location + * + * @return DriveItem + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the malware + * Malware metadata, if the item was detected to contain malware. Read-only. + * + * @return Malware|null The malware + */ + public function getMalware() + { + if (array_key_exists("malware", $this->_propDict)) { + if (is_a($this->_propDict["malware"], "\Beta\Microsoft\Graph\Model\Malware") || is_null($this->_propDict["malware"])) { + return $this->_propDict["malware"]; + } else { + $this->_propDict["malware"] = new Malware($this->_propDict["malware"]); + return $this->_propDict["malware"]; + } + } + return null; + } + + /** + * Sets the malware + * Malware metadata, if the item was detected to contain malware. Read-only. + * + * @param Malware $val The malware + * + * @return DriveItem + */ + public function setMalware($val) + { + $this->_propDict["malware"] = $val; + return $this; + } + + /** + * Gets the media + * Information about the media (audio or video) item. Read-write. Only on OneDrive for Business and SharePoint. + * + * @return Media|null The media + */ + public function getMedia() + { + if (array_key_exists("media", $this->_propDict)) { + if (is_a($this->_propDict["media"], "\Beta\Microsoft\Graph\Model\Media") || is_null($this->_propDict["media"])) { + return $this->_propDict["media"]; + } else { + $this->_propDict["media"] = new Media($this->_propDict["media"]); + return $this->_propDict["media"]; + } + } + return null; + } + + /** + * Sets the media + * Information about the media (audio or video) item. Read-write. Only on OneDrive for Business and SharePoint. + * + * @param Media $val The media + * + * @return DriveItem + */ + public function setMedia($val) + { + $this->_propDict["media"] = $val; + return $this; + } + + /** + * Gets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @return Package|null The package + */ + public function getPackage() + { + if (array_key_exists("package", $this->_propDict)) { + if (is_a($this->_propDict["package"], "\Beta\Microsoft\Graph\Model\Package") || is_null($this->_propDict["package"])) { + return $this->_propDict["package"]; + } else { + $this->_propDict["package"] = new Package($this->_propDict["package"]); + return $this->_propDict["package"]; + } + } + return null; + } + + /** + * Sets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @param Package $val The package + * + * @return DriveItem + */ + public function setPackage($val) + { + $this->_propDict["package"] = $val; + return $this; + } + + /** + * Gets the pendingOperations + * If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only. + * + * @return PendingOperations|null The pendingOperations + */ + public function getPendingOperations() + { + if (array_key_exists("pendingOperations", $this->_propDict)) { + if (is_a($this->_propDict["pendingOperations"], "\Beta\Microsoft\Graph\Model\PendingOperations") || is_null($this->_propDict["pendingOperations"])) { + return $this->_propDict["pendingOperations"]; + } else { + $this->_propDict["pendingOperations"] = new PendingOperations($this->_propDict["pendingOperations"]); + return $this->_propDict["pendingOperations"]; + } + } + return null; + } + + /** + * Sets the pendingOperations + * If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only. + * + * @param PendingOperations $val The pendingOperations + * + * @return DriveItem + */ + public function setPendingOperations($val) + { + $this->_propDict["pendingOperations"] = $val; + return $this; + } + + /** + * Gets the photo + * Photo metadata, if the item is a photo. Read-only. + * + * @return Photo|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\Photo") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new Photo($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * Photo metadata, if the item is a photo. Read-only. + * + * @param Photo $val The photo + * + * @return DriveItem + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + /** + * Gets the publication + * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * + * @return PublicationFacet|null The publication + */ + public function getPublication() + { + if (array_key_exists("publication", $this->_propDict)) { + if (is_a($this->_propDict["publication"], "\Beta\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publication"])) { + return $this->_propDict["publication"]; + } else { + $this->_propDict["publication"] = new PublicationFacet($this->_propDict["publication"]); + return $this->_propDict["publication"]; + } + } + return null; + } + + /** + * Sets the publication + * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * + * @param PublicationFacet $val The publication + * + * @return DriveItem + */ + public function setPublication($val) + { + $this->_propDict["publication"] = $val; + return $this; + } + + /** + * Gets the remoteItem + * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. + * + * @return RemoteItem|null The remoteItem + */ + public function getRemoteItem() + { + if (array_key_exists("remoteItem", $this->_propDict)) { + if (is_a($this->_propDict["remoteItem"], "\Beta\Microsoft\Graph\Model\RemoteItem") || is_null($this->_propDict["remoteItem"])) { + return $this->_propDict["remoteItem"]; + } else { + $this->_propDict["remoteItem"] = new RemoteItem($this->_propDict["remoteItem"]); + return $this->_propDict["remoteItem"]; + } + } + return null; + } + + /** + * Sets the remoteItem + * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. + * + * @param RemoteItem $val The remoteItem + * + * @return DriveItem + */ + public function setRemoteItem($val) + { + $this->_propDict["remoteItem"] = $val; + return $this; + } + + /** + * Gets the root + * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. + * + * @return Root|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new Root($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. + * + * @param Root $val The root + * + * @return DriveItem + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + /** + * Gets the searchResult + * Search metadata, if the item is from a search result. Read-only. + * + * @return SearchResult|null The searchResult + */ + public function getSearchResult() + { + if (array_key_exists("searchResult", $this->_propDict)) { + if (is_a($this->_propDict["searchResult"], "\Beta\Microsoft\Graph\Model\SearchResult") || is_null($this->_propDict["searchResult"])) { + return $this->_propDict["searchResult"]; + } else { + $this->_propDict["searchResult"] = new SearchResult($this->_propDict["searchResult"]); + return $this->_propDict["searchResult"]; + } + } + return null; + } + + /** + * Sets the searchResult + * Search metadata, if the item is from a search result. Read-only. + * + * @param SearchResult $val The searchResult + * + * @return DriveItem + */ + public function setSearchResult($val) + { + $this->_propDict["searchResult"] = $val; + return $this; + } + + /** + * Gets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @return Shared|null The shared + */ + public function getShared() + { + if (array_key_exists("shared", $this->_propDict)) { + if (is_a($this->_propDict["shared"], "\Beta\Microsoft\Graph\Model\Shared") || is_null($this->_propDict["shared"])) { + return $this->_propDict["shared"]; + } else { + $this->_propDict["shared"] = new Shared($this->_propDict["shared"]); + return $this->_propDict["shared"]; + } + } + return null; + } + + /** + * Sets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @param Shared $val The shared + * + * @return DriveItem + */ + public function setShared($val) + { + $this->_propDict["shared"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return DriveItem + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the size + * Size of the item in bytes. Read-only. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the item in bytes. Read-only. + * + * @param int $val The size + * + * @return DriveItem + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the source + * Information about the drive item source. Read-only. Only on OneDrive for Business and SharePoint. + * + * @return DriveItemSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DriveItemSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DriveItemSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Information about the drive item source. Read-only. Only on OneDrive for Business and SharePoint. + * + * @param DriveItemSource $val The source + * + * @return DriveItem + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @return SpecialFolder|null The specialFolder + */ + public function getSpecialFolder() + { + if (array_key_exists("specialFolder", $this->_propDict)) { + if (is_a($this->_propDict["specialFolder"], "\Beta\Microsoft\Graph\Model\SpecialFolder") || is_null($this->_propDict["specialFolder"])) { + return $this->_propDict["specialFolder"]; + } else { + $this->_propDict["specialFolder"] = new SpecialFolder($this->_propDict["specialFolder"]); + return $this->_propDict["specialFolder"]; + } + } + return null; + } + + /** + * Sets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @param SpecialFolder $val The specialFolder + * + * @return DriveItem + */ + public function setSpecialFolder($val) + { + $this->_propDict["specialFolder"] = $val; + return $this; + } + + /** + * Gets the video + * Video metadata, if the item is a video. Read-only. + * + * @return Video|null The video + */ + public function getVideo() + { + if (array_key_exists("video", $this->_propDict)) { + if (is_a($this->_propDict["video"], "\Beta\Microsoft\Graph\Model\Video") || is_null($this->_propDict["video"])) { + return $this->_propDict["video"]; + } else { + $this->_propDict["video"] = new Video($this->_propDict["video"]); + return $this->_propDict["video"]; + } + } + return null; + } + + /** + * Sets the video + * Video metadata, if the item is a video. Read-only. + * + * @param Video $val The video + * + * @return DriveItem + */ + public function setVideo($val) + { + $this->_propDict["video"] = $val; + return $this; + } + + /** + * Gets the webDavUrl + * WebDAV compatible URL for the item. + * + * @return string|null The webDavUrl + */ + public function getWebDavUrl() + { + if (array_key_exists("webDavUrl", $this->_propDict)) { + return $this->_propDict["webDavUrl"]; + } else { + return null; + } + } + + /** + * Sets the webDavUrl + * WebDAV compatible URL for the item. + * + * @param string $val The webDavUrl + * + * @return DriveItem + */ + public function setWebDavUrl($val) + { + $this->_propDict["webDavUrl"] = $val; + return $this; + } + + /** + * Gets the workbook + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * + * @return Workbook|null The workbook + */ + public function getWorkbook() + { + if (array_key_exists("workbook", $this->_propDict)) { + if (is_a($this->_propDict["workbook"], "\Beta\Microsoft\Graph\Model\Workbook") || is_null($this->_propDict["workbook"])) { + return $this->_propDict["workbook"]; + } else { + $this->_propDict["workbook"] = new Workbook($this->_propDict["workbook"]); + return $this->_propDict["workbook"]; + } + } + return null; + } + + /** + * Sets the workbook + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * + * @param Workbook $val The workbook + * + * @return DriveItem + */ + public function setWorkbook($val) + { + $this->_propDict["workbook"] = $val; + return $this; + } + + + /** + * Gets the activities + * The list of recent activities that took place on this item. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The list of recent activities that took place on this item. + * + * @param ItemActivityOLD[] $val The activities + * + * @return DriveItem + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + + /** + * Gets the analytics + * Analytics about the view activities that took place on this item. + * + * @return ItemAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * Analytics about the view activities that took place on this item. + * + * @param ItemAnalytics $val The analytics + * + * @return DriveItem + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + + /** + * Gets the children + * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. + * + * @param DriveItem[] $val The children + * + * @return DriveItem + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the listItem + * For drives in SharePoint, the associated document library list item. Read-only. Nullable. + * + * @return ListItem|null The listItem + */ + public function getListItem() + { + if (array_key_exists("listItem", $this->_propDict)) { + if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\ListItem") || is_null($this->_propDict["listItem"])) { + return $this->_propDict["listItem"]; + } else { + $this->_propDict["listItem"] = new ListItem($this->_propDict["listItem"]); + return $this->_propDict["listItem"]; + } + } + return null; + } + + /** + * Sets the listItem + * For drives in SharePoint, the associated document library list item. Read-only. Nullable. + * + * @param ListItem $val The listItem + * + * @return DriveItem + */ + public function setListItem($val) + { + $this->_propDict["listItem"] = $val; + return $this; + } + + + /** + * Gets the permissions + * The set of permissions for the item. Read-only. Nullable. + * + * @return array|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * The set of permissions for the item. Read-only. Nullable. + * + * @param Permission[] $val The permissions + * + * @return DriveItem + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + + /** + * Gets the subscriptions + * The set of subscriptions on the item. Only supported on the root of a drive. + * + * @return array|null The subscriptions + */ + public function getSubscriptions() + { + if (array_key_exists("subscriptions", $this->_propDict)) { + return $this->_propDict["subscriptions"]; + } else { + return null; + } + } + + /** + * Sets the subscriptions + * The set of subscriptions on the item. Only supported on the root of a drive. + * + * @param Subscription[] $val The subscriptions + * + * @return DriveItem + */ + public function setSubscriptions($val) + { + $this->_propDict["subscriptions"] = $val; + return $this; + } + + + /** + * Gets the thumbnails + * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * + * @return array|null The thumbnails + */ + public function getThumbnails() + { + if (array_key_exists("thumbnails", $this->_propDict)) { + return $this->_propDict["thumbnails"]; + } else { + return null; + } + } + + /** + * Sets the thumbnails + * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * + * @param ThumbnailSet[] $val The thumbnails + * + * @return DriveItem + */ + public function setThumbnails($val) + { + $this->_propDict["thumbnails"] = $val; + return $this; + } + + + /** + * Gets the versions + * The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. + * + * @return array|null The versions + */ + public function getVersions() + { + if (array_key_exists("versions", $this->_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. + * + * @param DriveItemVersion[] $val The versions + * + * @return DriveItem + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSource.php new file mode 100644 index 0000000..a22bbf9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSource.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\DriveItemSourceApplication") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new DriveItemSourceApplication($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * Enumeration value that indicates the source application where the file was created. + * + * @param DriveItemSourceApplication $val The value to assign to the application + * + * @return DriveItemSource The DriveItemSource + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + /** + * Gets the externalId + * The external identifier for the drive item from the source. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external identifier for the drive item from the source. + * + * @param string $val The value of the externalId + * + * @return DriveItemSource + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSourceApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSourceApplication.php new file mode 100644 index 0000000..ea0d1b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSourceApplication.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Provides a user-visible description of the item. Read-write. Only on OneDrive Personal. + * + * @param string $val The value of the description + * + * @return DriveItemUploadableProperties + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the fileSize + * Provides an expected file size to perform a quota check prior to upload. Only on OneDrive Personal. + * + * @return int|null The fileSize + */ + public function getFileSize() + { + if (array_key_exists("fileSize", $this->_propDict)) { + return $this->_propDict["fileSize"]; + } else { + return null; + } + } + + /** + * Sets the fileSize + * Provides an expected file size to perform a quota check prior to upload. Only on OneDrive Personal. + * + * @param int $val The value of the fileSize + * + * @return DriveItemUploadableProperties + */ + public function setFileSize($val) + { + $this->_propDict["fileSize"] = $val; + return $this; + } + + /** + * Gets the fileSystemInfo + * File system information on client. Read-write. + * + * @return FileSystemInfo|null The fileSystemInfo + */ + public function getFileSystemInfo() + { + if (array_key_exists("fileSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) { + return $this->_propDict["fileSystemInfo"]; + } else { + $this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]); + return $this->_propDict["fileSystemInfo"]; + } + } + return null; + } + + /** + * Sets the fileSystemInfo + * File system information on client. Read-write. + * + * @param FileSystemInfo $val The value to assign to the fileSystemInfo + * + * @return DriveItemUploadableProperties The DriveItemUploadableProperties + */ + public function setFileSystemInfo($val) + { + $this->_propDict["fileSystemInfo"] = $val; + return $this; + } + /** + * Gets the name + * The name of the item (filename and extension). Read-write. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item (filename and extension). Read-write. + * + * @param string $val The value of the name + * + * @return DriveItemUploadableProperties + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemVersion.php new file mode 100644 index 0000000..e32c6d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemVersion.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return DriveItemVersion + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the size + * Indicates the size of the content stream for this version of the item. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Indicates the size of the content stream for this version of the item. + * + * @param int $val The size + * + * @return DriveItemVersion + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveRecipient.php new file mode 100644 index 0000000..bd63749 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveRecipient.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["alias"]; + } else { + return null; + } + } + + /** + * Sets the alias + * The alias of the domain object, for cases where an email address is unavailable (e.g. security groups). + * + * @param string $val The value of the alias + * + * @return DriveRecipient + */ + public function setAlias($val) + { + $this->_propDict["alias"] = $val; + return $this; + } + /** + * Gets the email + * The email address for the recipient, if the recipient has an associated email address. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for the recipient, if the recipient has an associated email address. + * + * @param string $val The value of the email + * + * @return DriveRecipient + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the objectId + * The unique identifier for the recipient in the directory. + * + * @return string|null The objectId + */ + public function getObjectId() + { + if (array_key_exists("objectId", $this->_propDict)) { + return $this->_propDict["objectId"]; + } else { + return null; + } + } + + /** + * Sets the objectId + * The unique identifier for the recipient in the directory. + * + * @param string $val The value of the objectId + * + * @return DriveRecipient + */ + public function setObjectId($val) + { + $this->_propDict["objectId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriverApprovalAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriverApprovalAction.php new file mode 100644 index 0000000..b848bde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriverApprovalAction.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Number of Devices that have failed to install this book. + * + * @param int $val The failedDeviceCount + * + * @return EBookInstallSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the failedUserCount + * Number of Users that have 1 or more device that failed to install this book. + * + * @return int|null The failedUserCount + */ + public function getFailedUserCount() + { + if (array_key_exists("failedUserCount", $this->_propDict)) { + return $this->_propDict["failedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the failedUserCount + * Number of Users that have 1 or more device that failed to install this book. + * + * @param int $val The failedUserCount + * + * @return EBookInstallSummary + */ + public function setFailedUserCount($val) + { + $this->_propDict["failedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the installedDeviceCount + * Number of Devices that have successfully installed this book. + * + * @return int|null The installedDeviceCount + */ + public function getInstalledDeviceCount() + { + if (array_key_exists("installedDeviceCount", $this->_propDict)) { + return $this->_propDict["installedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the installedDeviceCount + * Number of Devices that have successfully installed this book. + * + * @param int $val The installedDeviceCount + * + * @return EBookInstallSummary + */ + public function setInstalledDeviceCount($val) + { + $this->_propDict["installedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the installedUserCount + * Number of Users whose devices have all succeeded to install this book. + * + * @return int|null The installedUserCount + */ + public function getInstalledUserCount() + { + if (array_key_exists("installedUserCount", $this->_propDict)) { + return $this->_propDict["installedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the installedUserCount + * Number of Users whose devices have all succeeded to install this book. + * + * @param int $val The installedUserCount + * + * @return EBookInstallSummary + */ + public function setInstalledUserCount($val) + { + $this->_propDict["installedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledDeviceCount + * Number of Devices that does not have this book installed. + * + * @return int|null The notInstalledDeviceCount + */ + public function getNotInstalledDeviceCount() + { + if (array_key_exists("notInstalledDeviceCount", $this->_propDict)) { + return $this->_propDict["notInstalledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledDeviceCount + * Number of Devices that does not have this book installed. + * + * @param int $val The notInstalledDeviceCount + * + * @return EBookInstallSummary + */ + public function setNotInstalledDeviceCount($val) + { + $this->_propDict["notInstalledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledUserCount + * Number of Users that did not install this book. + * + * @return int|null The notInstalledUserCount + */ + public function getNotInstalledUserCount() + { + if (array_key_exists("notInstalledUserCount", $this->_propDict)) { + return $this->_propDict["notInstalledUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledUserCount + * Number of Users that did not install this book. + * + * @param int $val The notInstalledUserCount + * + * @return EBookInstallSummary + */ + public function setNotInstalledUserCount($val) + { + $this->_propDict["notInstalledUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EapFastConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EapFastConfiguration.php new file mode 100644 index 0000000..8b0b39b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EapFastConfiguration.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["customDomainName"]; + } else { + return null; + } + } + + /** + * Sets the customDomainName + * Custom domain name value used while generating an email profile before installing on the device. + * + * @param string $val The customDomainName + * + * @return EasEmailProfileConfigurationBase + */ + public function setCustomDomainName($val) + { + $this->_propDict["customDomainName"] = $val; + return $this; + } + + /** + * Gets the userDomainNameSource + * UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: fullDomainName, netBiosDomainName. + * + * @return DomainNameSource|null The userDomainNameSource + */ + public function getUserDomainNameSource() + { + if (array_key_exists("userDomainNameSource", $this->_propDict)) { + if (is_a($this->_propDict["userDomainNameSource"], "\Beta\Microsoft\Graph\Model\DomainNameSource") || is_null($this->_propDict["userDomainNameSource"])) { + return $this->_propDict["userDomainNameSource"]; + } else { + $this->_propDict["userDomainNameSource"] = new DomainNameSource($this->_propDict["userDomainNameSource"]); + return $this->_propDict["userDomainNameSource"]; + } + } + return null; + } + + /** + * Sets the userDomainNameSource + * UserDomainname attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: fullDomainName, netBiosDomainName. + * + * @param DomainNameSource $val The userDomainNameSource + * + * @return EasEmailProfileConfigurationBase + */ + public function setUserDomainNameSource($val) + { + $this->_propDict["userDomainNameSource"] = $val; + return $this; + } + + /** + * Gets the usernameAADSource + * Name of the AAD field, that will be used to retrieve UserName for email profile. Possible values are: userPrincipalName, primarySmtpAddress, samAccountName. + * + * @return UsernameSource|null The usernameAADSource + */ + public function getUsernameAADSource() + { + if (array_key_exists("usernameAADSource", $this->_propDict)) { + if (is_a($this->_propDict["usernameAADSource"], "\Beta\Microsoft\Graph\Model\UsernameSource") || is_null($this->_propDict["usernameAADSource"])) { + return $this->_propDict["usernameAADSource"]; + } else { + $this->_propDict["usernameAADSource"] = new UsernameSource($this->_propDict["usernameAADSource"]); + return $this->_propDict["usernameAADSource"]; + } + } + return null; + } + + /** + * Sets the usernameAADSource + * Name of the AAD field, that will be used to retrieve UserName for email profile. Possible values are: userPrincipalName, primarySmtpAddress, samAccountName. + * + * @param UsernameSource $val The usernameAADSource + * + * @return EasEmailProfileConfigurationBase + */ + public function setUsernameAADSource($val) + { + $this->_propDict["usernameAADSource"] = $val; + return $this; + } + + /** + * Gets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The usernameSource + */ + public function getUsernameSource() + { + if (array_key_exists("usernameSource", $this->_propDict)) { + if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["usernameSource"])) { + return $this->_propDict["usernameSource"]; + } else { + $this->_propDict["usernameSource"] = new UserEmailSource($this->_propDict["usernameSource"]); + return $this->_propDict["usernameSource"]; + } + } + return null; + } + + /** + * Sets the usernameSource + * Username attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The usernameSource + * + * @return EasEmailProfileConfigurationBase + */ + public function setUsernameSource($val) + { + $this->_propDict["usernameSource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EasServices.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EasServices.php new file mode 100644 index 0000000..85eaa42 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EasServices.php @@ -0,0 +1,38 @@ +setODataType("#microsoft.graph.edgeHomeButtonHidden"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonLoadsStartPage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonLoadsStartPage.php new file mode 100644 index 0000000..2c38ebe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonLoadsStartPage.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.edgeHomeButtonLoadsStartPage"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensCustomURL.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensCustomURL.php new file mode 100644 index 0000000..8fdf6a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensCustomURL.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.edgeHomeButtonOpensCustomURL"); + } + + /** + * Gets the homeButtonCustomURL + * The specific URL to load. + * + * @return string|null The homeButtonCustomURL + */ + public function getHomeButtonCustomURL() + { + if (array_key_exists("homeButtonCustomURL", $this->_propDict)) { + return $this->_propDict["homeButtonCustomURL"]; + } else { + return null; + } + } + + /** + * Sets the homeButtonCustomURL + * The specific URL to load. + * + * @param string $val The value of the homeButtonCustomURL + * + * @return EdgeHomeButtonOpensCustomURL + */ + public function setHomeButtonCustomURL($val) + { + $this->_propDict["homeButtonCustomURL"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensNewTab.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensNewTab.php new file mode 100644 index 0000000..a38c2a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensNewTab.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.edgeHomeButtonOpensNewTab"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeKioskModeRestrictionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeKioskModeRestrictionType.php new file mode 100644 index 0000000..058e3cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeKioskModeRestrictionType.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.edgeSearchEngine"); + } + + + /** + * Gets the edgeSearchEngineType + * Allows IT admins to set a predefined default search engine for MDM-Controlled devices. Possible values are: default, bing. + * + * @return EdgeSearchEngineType|null The edgeSearchEngineType + */ + public function getEdgeSearchEngineType() + { + if (array_key_exists("edgeSearchEngineType", $this->_propDict)) { + if (is_a($this->_propDict["edgeSearchEngineType"], "\Beta\Microsoft\Graph\Model\EdgeSearchEngineType") || is_null($this->_propDict["edgeSearchEngineType"])) { + return $this->_propDict["edgeSearchEngineType"]; + } else { + $this->_propDict["edgeSearchEngineType"] = new EdgeSearchEngineType($this->_propDict["edgeSearchEngineType"]); + return $this->_propDict["edgeSearchEngineType"]; + } + } + return null; + } + + /** + * Sets the edgeSearchEngineType + * Allows IT admins to set a predefined default search engine for MDM-Controlled devices. Possible values are: default, bing. + * + * @param EdgeSearchEngineType $val The value to assign to the edgeSearchEngineType + * + * @return EdgeSearchEngine The EdgeSearchEngine + */ + public function setEdgeSearchEngineType($val) + { + $this->_propDict["edgeSearchEngineType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineBase.php new file mode 100644 index 0000000..ca5bb5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineBase.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.edgeSearchEngineCustom"); + } + + /** + * Gets the edgeSearchEngineOpenSearchXmlUrl + * Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. + * + * @return string|null The edgeSearchEngineOpenSearchXmlUrl + */ + public function getEdgeSearchEngineOpenSearchXmlUrl() + { + if (array_key_exists("edgeSearchEngineOpenSearchXmlUrl", $this->_propDict)) { + return $this->_propDict["edgeSearchEngineOpenSearchXmlUrl"]; + } else { + return null; + } + } + + /** + * Sets the edgeSearchEngineOpenSearchXmlUrl + * Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. + * + * @param string $val The value of the edgeSearchEngineOpenSearchXmlUrl + * + * @return EdgeSearchEngineCustom + */ + public function setEdgeSearchEngineOpenSearchXmlUrl($val) + { + $this->_propDict["edgeSearchEngineOpenSearchXmlUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineType.php new file mode 100644 index 0000000..38829f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["license"]; + } else { + return null; + } + } + + /** + * Sets the license + * Edition Upgrade License File Content. + * + * @param string $val The license + * + * @return EditionUpgradeConfiguration + */ + public function setLicense($val) + { + $this->_propDict["license"] = $val; + return $this; + } + + /** + * Gets the licenseType + * Edition Upgrade License Type. Possible values are: productKey, licenseFile, notConfigured. + * + * @return EditionUpgradeLicenseType|null The licenseType + */ + public function getLicenseType() + { + if (array_key_exists("licenseType", $this->_propDict)) { + if (is_a($this->_propDict["licenseType"], "\Beta\Microsoft\Graph\Model\EditionUpgradeLicenseType") || is_null($this->_propDict["licenseType"])) { + return $this->_propDict["licenseType"]; + } else { + $this->_propDict["licenseType"] = new EditionUpgradeLicenseType($this->_propDict["licenseType"]); + return $this->_propDict["licenseType"]; + } + } + return null; + } + + /** + * Sets the licenseType + * Edition Upgrade License Type. Possible values are: productKey, licenseFile, notConfigured. + * + * @param EditionUpgradeLicenseType $val The licenseType + * + * @return EditionUpgradeConfiguration + */ + public function setLicenseType($val) + { + $this->_propDict["licenseType"] = $val; + return $this; + } + + /** + * Gets the productKey + * Edition Upgrade Product Key. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Edition Upgrade Product Key. + * + * @param string $val The productKey + * + * @return EditionUpgradeConfiguration + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the targetEdition + * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN, notConfigured, windows10Home, windows10HomeChina, windows10HomeN, windows10HomeSingleLanguage, windows10Mobile, windows10IoTCore, windows10IoTCoreCommercial. + * + * @return Windows10EditionType|null The targetEdition + */ + public function getTargetEdition() + { + if (array_key_exists("targetEdition", $this->_propDict)) { + if (is_a($this->_propDict["targetEdition"], "\Beta\Microsoft\Graph\Model\Windows10EditionType") || is_null($this->_propDict["targetEdition"])) { + return $this->_propDict["targetEdition"]; + } else { + $this->_propDict["targetEdition"] = new Windows10EditionType($this->_propDict["targetEdition"]); + return $this->_propDict["targetEdition"]; + } + } + return null; + } + + /** + * Sets the targetEdition + * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN, notConfigured, windows10Home, windows10HomeChina, windows10HomeN, windows10HomeSingleLanguage, windows10Mobile, windows10IoTCore, windows10IoTCoreCommercial. + * + * @param Windows10EditionType $val The targetEdition + * + * @return EditionUpgradeConfiguration + */ + public function setTargetEdition($val) + { + $this->_propDict["targetEdition"] = $val; + return $this; + } + + /** + * Gets the windowsSMode + * S mode configuration. Possible values are: noRestriction, block, unlock. + * + * @return WindowsSModeConfiguration|null The windowsSMode + */ + public function getWindowsSMode() + { + if (array_key_exists("windowsSMode", $this->_propDict)) { + if (is_a($this->_propDict["windowsSMode"], "\Beta\Microsoft\Graph\Model\WindowsSModeConfiguration") || is_null($this->_propDict["windowsSMode"])) { + return $this->_propDict["windowsSMode"]; + } else { + $this->_propDict["windowsSMode"] = new WindowsSModeConfiguration($this->_propDict["windowsSMode"]); + return $this->_propDict["windowsSMode"]; + } + } + return null; + } + + /** + * Sets the windowsSMode + * S mode configuration. Possible values are: noRestriction, block, unlock. + * + * @param WindowsSModeConfiguration $val The windowsSMode + * + * @return EditionUpgradeConfiguration + */ + public function setWindowsSMode($val) + { + $this->_propDict["windowsSMode"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EditionUpgradeLicenseType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EditionUpgradeLicenseType.php new file mode 100644 index 0000000..9aa1b4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EditionUpgradeLicenseType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["addedStudentAction"], "\Beta\Microsoft\Graph\Model\EducationAddedStudentAction") || is_null($this->_propDict["addedStudentAction"])) { + return $this->_propDict["addedStudentAction"]; + } else { + $this->_propDict["addedStudentAction"] = new EducationAddedStudentAction($this->_propDict["addedStudentAction"]); + return $this->_propDict["addedStudentAction"]; + } + } + return null; + } + + /** + * Sets the addedStudentAction + * Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none value. Currently supports only two values: none or assignIfOpen. + * + * @param EducationAddedStudentAction $val The addedStudentAction + * + * @return EducationAssignment + */ + public function setAddedStudentAction($val) + { + $this->_propDict["addedStudentAction"] = $val; + return $this; + } + + /** + * Gets the addToCalendarAction + * Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @return EducationAddToCalendarOptions|null The addToCalendarAction + */ + public function getAddToCalendarAction() + { + if (array_key_exists("addToCalendarAction", $this->_propDict)) { + if (is_a($this->_propDict["addToCalendarAction"], "\Beta\Microsoft\Graph\Model\EducationAddToCalendarOptions") || is_null($this->_propDict["addToCalendarAction"])) { + return $this->_propDict["addToCalendarAction"]; + } else { + $this->_propDict["addToCalendarAction"] = new EducationAddToCalendarOptions($this->_propDict["addToCalendarAction"]); + return $this->_propDict["addToCalendarAction"]; + } + } + return null; + } + + /** + * Sets the addToCalendarAction + * Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @param EducationAddToCalendarOptions $val The addToCalendarAction + * + * @return EducationAssignment + */ + public function setAddToCalendarAction($val) + { + $this->_propDict["addToCalendarAction"] = $val; + return $this; + } + + /** + * Gets the allowLateSubmissions + * Identifies whether students can submit after the due date. If this property is not specified during create, it defaults to true. + * + * @return bool|null The allowLateSubmissions + */ + public function getAllowLateSubmissions() + { + if (array_key_exists("allowLateSubmissions", $this->_propDict)) { + return $this->_propDict["allowLateSubmissions"]; + } else { + return null; + } + } + + /** + * Sets the allowLateSubmissions + * Identifies whether students can submit after the due date. If this property is not specified during create, it defaults to true. + * + * @param bool $val The allowLateSubmissions + * + * @return EducationAssignment + */ + public function setAllowLateSubmissions($val) + { + $this->_propDict["allowLateSubmissions"] = boolval($val); + return $this; + } + + /** + * Gets the allowStudentsToAddResourcesToSubmission + * Identifies whether students can add their own resources to a submission or if they can only modify resources added by the teacher. + * + * @return bool|null The allowStudentsToAddResourcesToSubmission + */ + public function getAllowStudentsToAddResourcesToSubmission() + { + if (array_key_exists("allowStudentsToAddResourcesToSubmission", $this->_propDict)) { + return $this->_propDict["allowStudentsToAddResourcesToSubmission"]; + } else { + return null; + } + } + + /** + * Sets the allowStudentsToAddResourcesToSubmission + * Identifies whether students can add their own resources to a submission or if they can only modify resources added by the teacher. + * + * @param bool $val The allowStudentsToAddResourcesToSubmission + * + * @return EducationAssignment + */ + public function setAllowStudentsToAddResourcesToSubmission($val) + { + $this->_propDict["allowStudentsToAddResourcesToSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the assignDateTime + * The date when the assignment should become active. If in the future, the assignment is not shown to the student until this date. 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 assignDateTime + */ + public function getAssignDateTime() + { + if (array_key_exists("assignDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignDateTime"], "\DateTime") || is_null($this->_propDict["assignDateTime"])) { + return $this->_propDict["assignDateTime"]; + } else { + $this->_propDict["assignDateTime"] = new \DateTime($this->_propDict["assignDateTime"]); + return $this->_propDict["assignDateTime"]; + } + } + return null; + } + + /** + * Sets the assignDateTime + * The date when the assignment should become active. If in the future, the assignment is not shown to the student until this date. 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 assignDateTime + * + * @return EducationAssignment + */ + public function setAssignDateTime($val) + { + $this->_propDict["assignDateTime"] = $val; + return $this; + } + + /** + * Gets the assignedDateTime + * The moment that the assignment was published to students and the assignment shows up on the students timeline. 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 assignedDateTime + */ + public function getAssignedDateTime() + { + if (array_key_exists("assignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * The moment that the assignment was published to students and the assignment shows up on the students timeline. 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 assignedDateTime + * + * @return EducationAssignment + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + + /** + * Gets the assignTo + * Which users, or whole class should receive a submission object once the assignment is published. + * + * @return EducationAssignmentRecipient|null The assignTo + */ + public function getAssignTo() + { + if (array_key_exists("assignTo", $this->_propDict)) { + if (is_a($this->_propDict["assignTo"], "\Beta\Microsoft\Graph\Model\EducationAssignmentRecipient") || is_null($this->_propDict["assignTo"])) { + return $this->_propDict["assignTo"]; + } else { + $this->_propDict["assignTo"] = new EducationAssignmentRecipient($this->_propDict["assignTo"]); + return $this->_propDict["assignTo"]; + } + } + return null; + } + + /** + * Sets the assignTo + * Which users, or whole class should receive a submission object once the assignment is published. + * + * @param EducationAssignmentRecipient $val The assignTo + * + * @return EducationAssignment + */ + public function setAssignTo($val) + { + $this->_propDict["assignTo"] = $val; + return $this; + } + + /** + * Gets the classId + * Class which this assignment belongs. + * + * @return string|null The classId + */ + public function getClassId() + { + if (array_key_exists("classId", $this->_propDict)) { + return $this->_propDict["classId"]; + } else { + return null; + } + } + + /** + * Sets the classId + * Class which this assignment belongs. + * + * @param string $val The classId + * + * @return EducationAssignment + */ + public function setClassId($val) + { + $this->_propDict["classId"] = $val; + return $this; + } + + /** + * Gets the closeDateTime + * Date when the assignment will be closed for submissions. This is an optional field that can be null if the assignment does not allowLateSubmissions or when the closeDateTime is the same as the dueDateTime. But if specified, then the closeDateTime must be greater than or equal to the dueDateTime. 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 closeDateTime + */ + public function getCloseDateTime() + { + if (array_key_exists("closeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closeDateTime"], "\DateTime") || is_null($this->_propDict["closeDateTime"])) { + return $this->_propDict["closeDateTime"]; + } else { + $this->_propDict["closeDateTime"] = new \DateTime($this->_propDict["closeDateTime"]); + return $this->_propDict["closeDateTime"]; + } + } + return null; + } + + /** + * Sets the closeDateTime + * Date when the assignment will be closed for submissions. This is an optional field that can be null if the assignment does not allowLateSubmissions or when the closeDateTime is the same as the dueDateTime. But if specified, then the closeDateTime must be greater than or equal to the dueDateTime. 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 closeDateTime + * + * @return EducationAssignment + */ + public function setCloseDateTime($val) + { + $this->_propDict["closeDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Who created the assignment. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Who created the assignment. + * + * @param IdentitySet $val The createdBy + * + * @return EducationAssignment + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Moment when the assignment was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Moment when the assignment was created. 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 createdDateTime + * + * @return EducationAssignment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the assignment. + * + * @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 + * Name of the assignment. + * + * @param string $val The displayName + * + * @return EducationAssignment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * Date when the students assignment is due. 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 dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * Date when the students assignment is due. 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 dueDateTime + * + * @return EducationAssignment + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the grading + * How the assignment will be graded. + * + * @return EducationAssignmentGradeType|null The grading + */ + public function getGrading() + { + if (array_key_exists("grading", $this->_propDict)) { + if (is_a($this->_propDict["grading"], "\Beta\Microsoft\Graph\Model\EducationAssignmentGradeType") || is_null($this->_propDict["grading"])) { + return $this->_propDict["grading"]; + } else { + $this->_propDict["grading"] = new EducationAssignmentGradeType($this->_propDict["grading"]); + return $this->_propDict["grading"]; + } + } + return null; + } + + /** + * Sets the grading + * How the assignment will be graded. + * + * @param EducationAssignmentGradeType $val The grading + * + * @return EducationAssignment + */ + public function setGrading($val) + { + $this->_propDict["grading"] = $val; + return $this; + } + + /** + * Gets the instructions + * Instructions for the assignment. This along with the display name tell the student what to do. + * + * @return EducationItemBody|null The instructions + */ + public function getInstructions() + { + if (array_key_exists("instructions", $this->_propDict)) { + if (is_a($this->_propDict["instructions"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["instructions"])) { + return $this->_propDict["instructions"]; + } else { + $this->_propDict["instructions"] = new EducationItemBody($this->_propDict["instructions"]); + return $this->_propDict["instructions"]; + } + } + return null; + } + + /** + * Sets the instructions + * Instructions for the assignment. This along with the display name tell the student what to do. + * + * @param EducationItemBody $val The instructions + * + * @return EducationAssignment + */ + public function setInstructions($val) + { + $this->_propDict["instructions"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Who last modified the assignment. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Who last modified the assignment. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationAssignment + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment when the assignment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment when the assignment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationAssignment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the notificationChannelUrl + * Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl is not allowed after the assignment has been published. + * + * @return string|null The notificationChannelUrl + */ + public function getNotificationChannelUrl() + { + if (array_key_exists("notificationChannelUrl", $this->_propDict)) { + return $this->_propDict["notificationChannelUrl"]; + } else { + return null; + } + } + + /** + * Sets the notificationChannelUrl + * Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl is not allowed after the assignment has been published. + * + * @param string $val The notificationChannelUrl + * + * @return EducationAssignment + */ + public function setNotificationChannelUrl($val) + { + $this->_propDict["notificationChannelUrl"] = $val; + return $this; + } + + /** + * Gets the resourcesFolderUrl + * Folder URL where all the file resources for this assignment are stored. + * + * @return string|null The resourcesFolderUrl + */ + public function getResourcesFolderUrl() + { + if (array_key_exists("resourcesFolderUrl", $this->_propDict)) { + return $this->_propDict["resourcesFolderUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourcesFolderUrl + * Folder URL where all the file resources for this assignment are stored. + * + * @param string $val The resourcesFolderUrl + * + * @return EducationAssignment + */ + public function setResourcesFolderUrl($val) + { + $this->_propDict["resourcesFolderUrl"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned. + * + * @return EducationAssignmentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationAssignmentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationAssignmentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned. + * + * @param EducationAssignmentStatus $val The status + * + * @return EducationAssignment + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the webUrl + * The deep link URL for the given assignment. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The deep link URL for the given assignment. + * + * @param string $val The webUrl + * + * @return EducationAssignment + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the categories + * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * + * @param EducationCategory[] $val The categories + * + * @return EducationAssignment + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the resources + * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * + * @param EducationAssignmentResource[] $val The resources + * + * @return EducationAssignment + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + /** + * Gets the rubric + * When set, the grading rubric attached to this assignment. + * + * @return EducationRubric|null The rubric + */ + public function getRubric() + { + if (array_key_exists("rubric", $this->_propDict)) { + if (is_a($this->_propDict["rubric"], "\Beta\Microsoft\Graph\Model\EducationRubric") || is_null($this->_propDict["rubric"])) { + return $this->_propDict["rubric"]; + } else { + $this->_propDict["rubric"] = new EducationRubric($this->_propDict["rubric"]); + return $this->_propDict["rubric"]; + } + } + return null; + } + + /** + * Sets the rubric + * When set, the grading rubric attached to this assignment. + * + * @param EducationRubric $val The rubric + * + * @return EducationAssignment + */ + public function setRubric($val) + { + $this->_propDict["rubric"] = $val; + return $this; + } + + + /** + * Gets the submissions + * Once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. + * + * @return array|null The submissions + */ + public function getSubmissions() + { + if (array_key_exists("submissions", $this->_propDict)) { + return $this->_propDict["submissions"]; + } else { + return null; + } + } + + /** + * Sets the submissions + * Once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. + * + * @param EducationSubmission[] $val The submissions + * + * @return EducationAssignment + */ + public function setSubmissions($val) + { + $this->_propDict["submissions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentClassRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentClassRecipient.php new file mode 100644 index 0000000..d6fb70a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentClassRecipient.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.educationAssignmentClassRecipient"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php new file mode 100644 index 0000000..9897702 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["addedStudentAction"], "\Beta\Microsoft\Graph\Model\EducationAddedStudentAction") || is_null($this->_propDict["addedStudentAction"])) { + return $this->_propDict["addedStudentAction"]; + } else { + $this->_propDict["addedStudentAction"] = new EducationAddedStudentAction($this->_propDict["addedStudentAction"]); + return $this->_propDict["addedStudentAction"]; + } + } + return null; + } + + /** + * Sets the addedStudentAction + * Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. + * + * @param EducationAddedStudentAction $val The addedStudentAction + * + * @return EducationAssignmentDefaults + */ + public function setAddedStudentAction($val) + { + $this->_propDict["addedStudentAction"] = $val; + return $this; + } + + /** + * Gets the addToCalendarAction + * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @return EducationAddToCalendarOptions|null The addToCalendarAction + */ + public function getAddToCalendarAction() + { + if (array_key_exists("addToCalendarAction", $this->_propDict)) { + if (is_a($this->_propDict["addToCalendarAction"], "\Beta\Microsoft\Graph\Model\EducationAddToCalendarOptions") || is_null($this->_propDict["addToCalendarAction"])) { + return $this->_propDict["addToCalendarAction"]; + } else { + $this->_propDict["addToCalendarAction"] = new EducationAddToCalendarOptions($this->_propDict["addToCalendarAction"]); + return $this->_propDict["addToCalendarAction"]; + } + } + return null; + } + + /** + * Sets the addToCalendarAction + * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @param EducationAddToCalendarOptions $val The addToCalendarAction + * + * @return EducationAssignmentDefaults + */ + public function setAddToCalendarAction($val) + { + $this->_propDict["addToCalendarAction"] = $val; + return $this; + } + + /** + * Gets the dueTime + * Class-level default value for due time field. Default value is 23:59:00. + * + * @return TimeOfDay|null The dueTime + */ + public function getDueTime() + { + if (array_key_exists("dueTime", $this->_propDict)) { + if (is_a($this->_propDict["dueTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["dueTime"])) { + return $this->_propDict["dueTime"]; + } else { + $this->_propDict["dueTime"] = new TimeOfDay($this->_propDict["dueTime"]); + return $this->_propDict["dueTime"]; + } + } + return null; + } + + /** + * Sets the dueTime + * Class-level default value for due time field. Default value is 23:59:00. + * + * @param TimeOfDay $val The dueTime + * + * @return EducationAssignmentDefaults + */ + public function setDueTime($val) + { + $this->_propDict["dueTime"] = $val; + return $this; + } + + /** + * Gets the notificationChannelUrl + * Default Teams channel to which notifications will be sent. Default value is null. + * + * @return string|null The notificationChannelUrl + */ + public function getNotificationChannelUrl() + { + if (array_key_exists("notificationChannelUrl", $this->_propDict)) { + return $this->_propDict["notificationChannelUrl"]; + } else { + return null; + } + } + + /** + * Sets the notificationChannelUrl + * Default Teams channel to which notifications will be sent. Default value is null. + * + * @param string $val The notificationChannelUrl + * + * @return EducationAssignmentDefaults + */ + public function setNotificationChannelUrl($val) + { + $this->_propDict["notificationChannelUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGrade.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGrade.php new file mode 100644 index 0000000..235cf88 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGrade.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["gradedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["gradedBy"])) { + return $this->_propDict["gradedBy"]; + } else { + $this->_propDict["gradedBy"] = new IdentitySet($this->_propDict["gradedBy"]); + return $this->_propDict["gradedBy"]; + } + } + return null; + } + + /** + * Sets the gradedBy + * User who did the grading. + * + * @param IdentitySet $val The value to assign to the gradedBy + * + * @return EducationAssignmentGrade The EducationAssignmentGrade + */ + public function setGradedBy($val) + { + $this->_propDict["gradedBy"] = $val; + return $this; + } + + /** + * Gets the gradedDateTime + * Moment in time when the grade was applied to this submission object. 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 gradedDateTime + */ + public function getGradedDateTime() + { + if (array_key_exists("gradedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["gradedDateTime"], "\DateTime") || is_null($this->_propDict["gradedDateTime"])) { + return $this->_propDict["gradedDateTime"]; + } else { + $this->_propDict["gradedDateTime"] = new \DateTime($this->_propDict["gradedDateTime"]); + return $this->_propDict["gradedDateTime"]; + } + } + return null; + } + + /** + * Sets the gradedDateTime + * Moment in time when the grade was applied to this submission object. 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 gradedDateTime + * + * @return EducationAssignmentGrade The EducationAssignmentGrade + */ + public function setGradedDateTime($val) + { + $this->_propDict["gradedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGradeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGradeType.php new file mode 100644 index 0000000..3e00e69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGradeType.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.educationAssignmentGroupRecipient"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentIndividualRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentIndividualRecipient.php new file mode 100644 index 0000000..81fbc02 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentIndividualRecipient.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationAssignmentIndividualRecipient"); + } + + /** + * Gets the recipients + * A collection of ids of the recipients. + * + * @return string|null The recipients + */ + public function getRecipients() + { + if (array_key_exists("recipients", $this->_propDict)) { + return $this->_propDict["recipients"]; + } else { + return null; + } + } + + /** + * Sets the recipients + * A collection of ids of the recipients. + * + * @param string $val The value of the recipients + * + * @return EducationAssignmentIndividualRecipient + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGrade.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGrade.php new file mode 100644 index 0000000..0fd02b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGrade.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["points"]; + } else { + return null; + } + } + + /** + * Sets the points + * Number of points a teacher is giving this submission object. + * + * @param float $val The value of the points + * + * @return EducationAssignmentPointsGrade + */ + public function setPoints($val) + { + $this->_propDict["points"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGradeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGradeType.php new file mode 100644 index 0000000..bc9c0d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGradeType.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationAssignmentPointsGradeType"); + } + + /** + * Gets the maxPoints + * Max points possible for this assignment. + * + * @return float|null The maxPoints + */ + public function getMaxPoints() + { + if (array_key_exists("maxPoints", $this->_propDict)) { + return $this->_propDict["maxPoints"]; + } else { + return null; + } + } + + /** + * Sets the maxPoints + * Max points possible for this assignment. + * + * @param float $val The value of the maxPoints + * + * @return EducationAssignmentPointsGradeType + */ + public function setMaxPoints($val) + { + $this->_propDict["maxPoints"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentRecipient.php new file mode 100644 index 0000000..8338191 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentRecipient.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["distributeForStudentWork"]; + } else { + return null; + } + } + + /** + * Sets the distributeForStudentWork + * Indicates whether this resource should be copied to each student submission for modification and submission. Required + * + * @param bool $val The distributeForStudentWork + * + * @return EducationAssignmentResource + */ + public function setDistributeForStudentWork($val) + { + $this->_propDict["distributeForStudentWork"] = boolval($val); + return $this; + } + + /** + * Gets the resource + * Resource object that has been associated with this assignment. + * + * @return EducationResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Resource object that has been associated with this assignment. + * + * @param EducationResource $val The resource + * + * @return EducationAssignmentResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentSettings.php new file mode 100644 index 0000000..1905d1e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentSettings.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["submissionAnimationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the submissionAnimationDisabled + * Indicates whether turn-in celebration animation will be shown. A value of true indicates that the animation will not be shown. Default value is false. + * + * @param bool $val The submissionAnimationDisabled + * + * @return EducationAssignmentSettings + */ + public function setSubmissionAnimationDisabled($val) + { + $this->_propDict["submissionAnimationDisabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php new file mode 100644 index 0000000..c4c1a9e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Unique identifier for the category. + * + * @param string $val The displayName + * + * @return EducationCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationClass.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationClass.php new file mode 100644 index 0000000..3c10547 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationClass.php @@ -0,0 +1,640 @@ +_propDict)) { + return $this->_propDict["classCode"]; + } else { + return null; + } + } + + /** + * Sets the classCode + * Class code used by the school to identify the class. + * + * @param string $val The classCode + * + * @return EducationClass + */ + public function setClassCode($val) + { + $this->_propDict["classCode"] = $val; + return $this; + } + + /** + * Gets the course + * Course information for the class. + * + * @return EducationCourse|null The course + */ + public function getCourse() + { + if (array_key_exists("course", $this->_propDict)) { + if (is_a($this->_propDict["course"], "\Beta\Microsoft\Graph\Model\EducationCourse") || is_null($this->_propDict["course"])) { + return $this->_propDict["course"]; + } else { + $this->_propDict["course"] = new EducationCourse($this->_propDict["course"]); + return $this->_propDict["course"]; + } + } + return null; + } + + /** + * Sets the course + * Course information for the class. + * + * @param EducationCourse $val The course + * + * @return EducationClass + */ + public function setCourse($val) + { + $this->_propDict["course"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Entity who created the class. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Entity who created the class. + * + * @param IdentitySet $val The createdBy + * + * @return EducationClass + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the class. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the class. + * + * @param string $val The description + * + * @return EducationClass + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the class. + * + * @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 + * Name of the class. + * + * @param string $val The displayName + * + * @return EducationClass + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * ID of the class from the syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of the class from the syncing system. + * + * @param string $val The externalId + * + * @return EducationClass + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the externalName + * Name of the class in the syncing system. + * + * @return string|null The externalName + */ + public function getExternalName() + { + if (array_key_exists("externalName", $this->_propDict)) { + return $this->_propDict["externalName"]; + } else { + return null; + } + } + + /** + * Sets the externalName + * Name of the class in the syncing system. + * + * @param string $val The externalName + * + * @return EducationClass + */ + public function setExternalName($val) + { + $this->_propDict["externalName"] = $val; + return $this; + } + + /** + * Gets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @return EducationExternalSource|null The externalSource + */ + public function getExternalSource() + { + if (array_key_exists("externalSource", $this->_propDict)) { + if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) { + return $this->_propDict["externalSource"]; + } else { + $this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]); + return $this->_propDict["externalSource"]; + } + } + return null; + } + + /** + * Sets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @param EducationExternalSource $val The externalSource + * + * @return EducationClass + */ + public function setExternalSource($val) + { + $this->_propDict["externalSource"] = $val; + return $this; + } + + /** + * Gets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @return string|null The externalSourceDetail + */ + public function getExternalSourceDetail() + { + if (array_key_exists("externalSourceDetail", $this->_propDict)) { + return $this->_propDict["externalSourceDetail"]; + } else { + return null; + } + } + + /** + * Sets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @param string $val The externalSourceDetail + * + * @return EducationClass + */ + public function setExternalSourceDetail($val) + { + $this->_propDict["externalSourceDetail"] = $val; + return $this; + } + + /** + * Gets the grade + * Grade level of the class. + * + * @return string|null The grade + */ + public function getGrade() + { + if (array_key_exists("grade", $this->_propDict)) { + return $this->_propDict["grade"]; + } else { + return null; + } + } + + /** + * Sets the grade + * Grade level of the class. + * + * @param string $val The grade + * + * @return EducationClass + */ + public function setGrade($val) + { + $this->_propDict["grade"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * Mail name for sending email to all members, if this is enabled. + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * Mail name for sending email to all members, if this is enabled. + * + * @param string $val The mailNickname + * + * @return EducationClass + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the term + * Term for the class. + * + * @return EducationTerm|null The term + */ + public function getTerm() + { + if (array_key_exists("term", $this->_propDict)) { + if (is_a($this->_propDict["term"], "\Beta\Microsoft\Graph\Model\EducationTerm") || is_null($this->_propDict["term"])) { + return $this->_propDict["term"]; + } else { + $this->_propDict["term"] = new EducationTerm($this->_propDict["term"]); + return $this->_propDict["term"]; + } + } + return null; + } + + /** + * Sets the term + * Term for the class. + * + * @param EducationTerm $val The term + * + * @return EducationClass + */ + public function setTerm($val) + { + $this->_propDict["term"] = $val; + return $this; + } + + + /** + * Gets the assignmentCategories + * All categories associated with this class. Nullable. + * + * @return array|null The assignmentCategories + */ + public function getAssignmentCategories() + { + if (array_key_exists("assignmentCategories", $this->_propDict)) { + return $this->_propDict["assignmentCategories"]; + } else { + return null; + } + } + + /** + * Sets the assignmentCategories + * All categories associated with this class. Nullable. + * + * @param EducationCategory[] $val The assignmentCategories + * + * @return EducationClass + */ + public function setAssignmentCategories($val) + { + $this->_propDict["assignmentCategories"] = $val; + return $this; + } + + /** + * Gets the assignmentDefaults + * Specifies class-level defaults respected by new assignments created in the class. + * + * @return EducationAssignmentDefaults|null The assignmentDefaults + */ + public function getAssignmentDefaults() + { + if (array_key_exists("assignmentDefaults", $this->_propDict)) { + if (is_a($this->_propDict["assignmentDefaults"], "\Beta\Microsoft\Graph\Model\EducationAssignmentDefaults") || is_null($this->_propDict["assignmentDefaults"])) { + return $this->_propDict["assignmentDefaults"]; + } else { + $this->_propDict["assignmentDefaults"] = new EducationAssignmentDefaults($this->_propDict["assignmentDefaults"]); + return $this->_propDict["assignmentDefaults"]; + } + } + return null; + } + + /** + * Sets the assignmentDefaults + * Specifies class-level defaults respected by new assignments created in the class. + * + * @param EducationAssignmentDefaults $val The assignmentDefaults + * + * @return EducationClass + */ + public function setAssignmentDefaults($val) + { + $this->_propDict["assignmentDefaults"] = $val; + return $this; + } + + + /** + * Gets the assignments + * All assignments associated with this class. Nullable. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * All assignments associated with this class. Nullable. + * + * @param EducationAssignment[] $val The assignments + * + * @return EducationClass + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the assignmentSettings + * Specifies class-level assignments settings. + * + * @return EducationAssignmentSettings|null The assignmentSettings + */ + public function getAssignmentSettings() + { + if (array_key_exists("assignmentSettings", $this->_propDict)) { + if (is_a($this->_propDict["assignmentSettings"], "\Beta\Microsoft\Graph\Model\EducationAssignmentSettings") || is_null($this->_propDict["assignmentSettings"])) { + return $this->_propDict["assignmentSettings"]; + } else { + $this->_propDict["assignmentSettings"] = new EducationAssignmentSettings($this->_propDict["assignmentSettings"]); + return $this->_propDict["assignmentSettings"]; + } + } + return null; + } + + /** + * Sets the assignmentSettings + * Specifies class-level assignments settings. + * + * @param EducationAssignmentSettings $val The assignmentSettings + * + * @return EducationClass + */ + public function setAssignmentSettings($val) + { + $this->_propDict["assignmentSettings"] = $val; + return $this; + } + + /** + * Gets the group + * The underlying Microsoft 365 group object. + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * The underlying Microsoft 365 group object. + * + * @param Group $val The group + * + * @return EducationClass + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + + /** + * Gets the members + * All users in the class. Nullable. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * All users in the class. Nullable. + * + * @param EducationUser[] $val The members + * + * @return EducationClass + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the schools + * All schools that this class is associated with. Nullable. + * + * @return array|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * All schools that this class is associated with. Nullable. + * + * @param EducationSchool[] $val The schools + * + * @return EducationClass + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + + /** + * Gets the teachers + * All teachers in the class. Nullable. + * + * @return array|null The teachers + */ + public function getTeachers() + { + if (array_key_exists("teachers", $this->_propDict)) { + return $this->_propDict["teachers"]; + } else { + return null; + } + } + + /** + * Sets the teachers + * All teachers in the class. Nullable. + * + * @param EducationUser[] $val The teachers + * + * @return EducationClass + */ + public function setTeachers($val) + { + $this->_propDict["teachers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCourse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCourse.php new file mode 100644 index 0000000..f71bfd3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCourse.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["courseNumber"]; + } else { + return null; + } + } + + /** + * Sets the courseNumber + * Unique identifier for the course. + * + * @param string $val The value of the courseNumber + * + * @return EducationCourse + */ + public function setCourseNumber($val) + { + $this->_propDict["courseNumber"] = $val; + return $this; + } + /** + * Gets the description + * Description of the course. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the course. + * + * @param string $val The value of the description + * + * @return EducationCourse + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the course. + * + * @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 + * Name of the course. + * + * @param string $val The value of the displayName + * + * @return EducationCourse + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the externalId + * ID of the course from the syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of the course from the syncing system. + * + * @param string $val The value of the externalId + * + * @return EducationCourse + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + /** + * Gets the subject + * Subject of the course. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * Subject of the course. + * + * @param string $val The value of the subject + * + * @return EducationCourse + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCsvDataProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCsvDataProvider.php new file mode 100644 index 0000000..9ee8431 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCsvDataProvider.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.educationCsvDataProvider"); + } + + + /** + * Gets the customizations + * Optional customizations to be applied to the synchronization profile. + * + * @return EducationSynchronizationCustomizations|null The customizations + */ + public function getCustomizations() + { + if (array_key_exists("customizations", $this->_propDict)) { + if (is_a($this->_propDict["customizations"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomizations") || is_null($this->_propDict["customizations"])) { + return $this->_propDict["customizations"]; + } else { + $this->_propDict["customizations"] = new EducationSynchronizationCustomizations($this->_propDict["customizations"]); + return $this->_propDict["customizations"]; + } + } + return null; + } + + /** + * Sets the customizations + * Optional customizations to be applied to the synchronization profile. + * + * @param EducationSynchronizationCustomizations $val The value to assign to the customizations + * + * @return EducationCsvDataProvider The EducationCsvDataProvider + */ + public function setCustomizations($val) + { + $this->_propDict["customizations"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExcelResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExcelResource.php new file mode 100644 index 0000000..6adbd99 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExcelResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationExcelResource"); + } + + /** + * Gets the fileUrl + * Pointer to the Excel file object. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Pointer to the Excel file object. + * + * @param string $val The value of the fileUrl + * + * @return EducationExcelResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalResource.php new file mode 100644 index 0000000..3fbd48a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationExternalResource"); + } + + /** + * Gets the webUrl + * Location of the resource. Required. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Location of the resource. Required. + * + * @param string $val The value of the webUrl + * + * @return EducationExternalResource + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalSource.php new file mode 100644 index 0000000..4389764 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalSource.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["feedbackBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["feedbackBy"])) { + return $this->_propDict["feedbackBy"]; + } else { + $this->_propDict["feedbackBy"] = new IdentitySet($this->_propDict["feedbackBy"]); + return $this->_propDict["feedbackBy"]; + } + } + return null; + } + + /** + * Sets the feedbackBy + * User who created the feedback. + * + * @param IdentitySet $val The value to assign to the feedbackBy + * + * @return EducationFeedback The EducationFeedback + */ + public function setFeedbackBy($val) + { + $this->_propDict["feedbackBy"] = $val; + return $this; + } + + /** + * Gets the feedbackDateTime + * Moment in time when the feedback was given. 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 feedbackDateTime + */ + public function getFeedbackDateTime() + { + if (array_key_exists("feedbackDateTime", $this->_propDict)) { + if (is_a($this->_propDict["feedbackDateTime"], "\DateTime") || is_null($this->_propDict["feedbackDateTime"])) { + return $this->_propDict["feedbackDateTime"]; + } else { + $this->_propDict["feedbackDateTime"] = new \DateTime($this->_propDict["feedbackDateTime"]); + return $this->_propDict["feedbackDateTime"]; + } + } + return null; + } + + /** + * Sets the feedbackDateTime + * Moment in time when the feedback was given. 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 feedbackDateTime + * + * @return EducationFeedback The EducationFeedback + */ + public function setFeedbackDateTime($val) + { + $this->_propDict["feedbackDateTime"] = $val; + return $this; + } + + /** + * Gets the text + * Feedback. + * + * @return EducationItemBody|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + if (is_a($this->_propDict["text"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["text"])) { + return $this->_propDict["text"]; + } else { + $this->_propDict["text"] = new EducationItemBody($this->_propDict["text"]); + return $this->_propDict["text"]; + } + } + return null; + } + + /** + * Sets the text + * Feedback. + * + * @param EducationItemBody $val The value to assign to the text + * + * @return EducationFeedback The EducationFeedback + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFeedbackOutcome.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFeedbackOutcome.php new file mode 100644 index 0000000..6389f7a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFeedbackOutcome.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\EducationFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new EducationFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Teacher's written feedback to the student. + * + * @param EducationFeedback $val The feedback + * + * @return EducationFeedbackOutcome + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + /** + * Gets the publishedFeedback + * A copy of the feedback property that is made when the grade is released to the student. + * + * @return EducationFeedback|null The publishedFeedback + */ + public function getPublishedFeedback() + { + if (array_key_exists("publishedFeedback", $this->_propDict)) { + if (is_a($this->_propDict["publishedFeedback"], "\Beta\Microsoft\Graph\Model\EducationFeedback") || is_null($this->_propDict["publishedFeedback"])) { + return $this->_propDict["publishedFeedback"]; + } else { + $this->_propDict["publishedFeedback"] = new EducationFeedback($this->_propDict["publishedFeedback"]); + return $this->_propDict["publishedFeedback"]; + } + } + return null; + } + + /** + * Sets the publishedFeedback + * A copy of the feedback property that is made when the grade is released to the student. + * + * @param EducationFeedback $val The publishedFeedback + * + * @return EducationFeedbackOutcome + */ + public function setPublishedFeedback($val) + { + $this->_propDict["publishedFeedback"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileResource.php new file mode 100644 index 0000000..f92f486 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationFileResource"); + } + + /** + * Gets the fileUrl + * Location on disk of the file resource. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location on disk of the file resource. + * + * @param string $val The value of the fileUrl + * + * @return EducationFileResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileSynchronizationVerificationMessage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileSynchronizationVerificationMessage.php new file mode 100644 index 0000000..65740bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileSynchronizationVerificationMessage.php @@ -0,0 +1,108 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Detailed information about the message type. + * + * @param string $val The value of the description + * + * @return EducationFileSynchronizationVerificationMessage + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the fileName + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * + * @param string $val The value of the fileName + * + * @return EducationFileSynchronizationVerificationMessage + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + /** + * Gets the type + * Type of the message. Possible values are: error, warning, information. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the message. Possible values are: error, warning, information. + * + * @param string $val The value of the type + * + * @return EducationFileSynchronizationVerificationMessage + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationGender.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationGender.php new file mode 100644 index 0000000..81ade35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationGender.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.educationIdentityCreationConfiguration"); + } + + + /** + * Gets the userDomains + * + * @return EducationIdentityDomain|null The userDomains + */ + public function getUserDomains() + { + if (array_key_exists("userDomains", $this->_propDict)) { + if (is_a($this->_propDict["userDomains"], "\Beta\Microsoft\Graph\Model\EducationIdentityDomain") || is_null($this->_propDict["userDomains"])) { + return $this->_propDict["userDomains"]; + } else { + $this->_propDict["userDomains"] = new EducationIdentityDomain($this->_propDict["userDomains"]); + return $this->_propDict["userDomains"]; + } + } + return null; + } + + /** + * Sets the userDomains + * + * @param EducationIdentityDomain $val The value to assign to the userDomains + * + * @return EducationIdentityCreationConfiguration The EducationIdentityCreationConfiguration + */ + public function setUserDomains($val) + { + $this->_propDict["userDomains"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityDomain.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityDomain.php new file mode 100644 index 0000000..d63317e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityDomain.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["appliesTo"])) { + return $this->_propDict["appliesTo"]; + } else { + $this->_propDict["appliesTo"] = new EducationUserRole($this->_propDict["appliesTo"]); + return $this->_propDict["appliesTo"]; + } + } + return null; + } + + /** + * Sets the appliesTo + * The user role type to assign to the license. Possible values are: student, teacher, faculty. + * + * @param EducationUserRole $val The value to assign to the appliesTo + * + * @return EducationIdentityDomain The EducationIdentityDomain + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the name + * Represents the domain for the user account. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the domain for the user account. + * + * @param string $val The value of the name + * + * @return EducationIdentityDomain + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingConfiguration.php new file mode 100644 index 0000000..6c469fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingConfiguration.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.educationIdentityMatchingConfiguration"); + } + + + /** + * Gets the matchingOptions + * Mapping between the user account and the options to use to uniquely identify the user to update. + * + * @return EducationIdentityMatchingOptions|null The matchingOptions + */ + public function getMatchingOptions() + { + if (array_key_exists("matchingOptions", $this->_propDict)) { + if (is_a($this->_propDict["matchingOptions"], "\Beta\Microsoft\Graph\Model\EducationIdentityMatchingOptions") || is_null($this->_propDict["matchingOptions"])) { + return $this->_propDict["matchingOptions"]; + } else { + $this->_propDict["matchingOptions"] = new EducationIdentityMatchingOptions($this->_propDict["matchingOptions"]); + return $this->_propDict["matchingOptions"]; + } + } + return null; + } + + /** + * Sets the matchingOptions + * Mapping between the user account and the options to use to uniquely identify the user to update. + * + * @param EducationIdentityMatchingOptions $val The value to assign to the matchingOptions + * + * @return EducationIdentityMatchingConfiguration The EducationIdentityMatchingConfiguration + */ + public function setMatchingOptions($val) + { + $this->_propDict["matchingOptions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingOptions.php new file mode 100644 index 0000000..e0b9139 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingOptions.php @@ -0,0 +1,143 @@ +_propDict)) { + if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["appliesTo"])) { + return $this->_propDict["appliesTo"]; + } else { + $this->_propDict["appliesTo"] = new EducationUserRole($this->_propDict["appliesTo"]); + return $this->_propDict["appliesTo"]; + } + } + return null; + } + + /** + * Sets the appliesTo + * The user role type to assign to the license. Possible values are: student, teacher, faculty. + * + * @param EducationUserRole $val The value to assign to the appliesTo + * + * @return EducationIdentityMatchingOptions The EducationIdentityMatchingOptions + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the sourcePropertyName + * The name of the source property, which should be a field name in the source data. This property is case-sensitive. + * + * @return string|null The sourcePropertyName + */ + public function getSourcePropertyName() + { + if (array_key_exists("sourcePropertyName", $this->_propDict)) { + return $this->_propDict["sourcePropertyName"]; + } else { + return null; + } + } + + /** + * Sets the sourcePropertyName + * The name of the source property, which should be a field name in the source data. This property is case-sensitive. + * + * @param string $val The value of the sourcePropertyName + * + * @return EducationIdentityMatchingOptions + */ + public function setSourcePropertyName($val) + { + $this->_propDict["sourcePropertyName"] = $val; + return $this; + } + /** + * Gets the targetDomain + * The domain to suffix with the source property to match on the target. If provided as null, the source property will be used to match with the target property. + * + * @return string|null The targetDomain + */ + public function getTargetDomain() + { + if (array_key_exists("targetDomain", $this->_propDict)) { + return $this->_propDict["targetDomain"]; + } else { + return null; + } + } + + /** + * Sets the targetDomain + * The domain to suffix with the source property to match on the target. If provided as null, the source property will be used to match with the target property. + * + * @param string $val The value of the targetDomain + * + * @return EducationIdentityMatchingOptions + */ + public function setTargetDomain($val) + { + $this->_propDict["targetDomain"] = $val; + return $this; + } + /** + * Gets the targetPropertyName + * The name of the target property, which should be a valid property in Azure AD. This property is case-sensitive. + * + * @return string|null The targetPropertyName + */ + public function getTargetPropertyName() + { + if (array_key_exists("targetPropertyName", $this->_propDict)) { + return $this->_propDict["targetPropertyName"]; + } else { + return null; + } + } + + /** + * Sets the targetPropertyName + * The name of the target property, which should be a valid property in Azure AD. This property is case-sensitive. + * + * @param string $val The value of the targetPropertyName + * + * @return EducationIdentityMatchingOptions + */ + public function setTargetPropertyName($val) + { + $this->_propDict["targetPropertyName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentitySynchronizationConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentitySynchronizationConfiguration.php new file mode 100644 index 0000000..9c79c6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentitySynchronizationConfiguration.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The value of the content + * + * @return EducationItemBody + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * + * @return BodyType|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\BodyType") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new BodyType($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * + * @param BodyType $val The value to assign to the contentType + * + * @return EducationItemBody The EducationItemBody + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationLinkResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationLinkResource.php new file mode 100644 index 0000000..b4d69b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationLinkResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationLinkResource"); + } + + /** + * Gets the link + * URL to the resource. + * + * @return string|null The link + */ + public function getLink() + { + if (array_key_exists("link", $this->_propDict)) { + return $this->_propDict["link"]; + } else { + return null; + } + } + + /** + * Sets the link + * URL to the resource. + * + * @param string $val The value of the link + * + * @return EducationLinkResource + */ + public function setLink($val) + { + $this->_propDict["link"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationMediaResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationMediaResource.php new file mode 100644 index 0000000..05c997c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationMediaResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationMediaResource"); + } + + /** + * Gets the fileUrl + * Location of the file on shared point folder. Required + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location of the file on shared point folder. Required + * + * @param string $val The value of the fileUrl + * + * @return EducationMediaResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOnPremisesInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOnPremisesInfo.php new file mode 100644 index 0000000..c16605c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOnPremisesInfo.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["immutableId"]; + } else { + return null; + } + } + + /** + * Sets the immutableId + * Unique identifier for the user object in Active Directory. + * + * @param string $val The value of the immutableId + * + * @return EducationOnPremisesInfo + */ + public function setImmutableId($val) + { + $this->_propDict["immutableId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOneRosterApiDataProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOneRosterApiDataProvider.php new file mode 100644 index 0000000..089d69c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOneRosterApiDataProvider.php @@ -0,0 +1,203 @@ +setODataType("#microsoft.graph.educationOneRosterApiDataProvider"); + } + + + /** + * Gets the connectionSettings + * + * @return EducationSynchronizationConnectionSettings|null The connectionSettings + */ + public function getConnectionSettings() + { + if (array_key_exists("connectionSettings", $this->_propDict)) { + if (is_a($this->_propDict["connectionSettings"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationConnectionSettings") || is_null($this->_propDict["connectionSettings"])) { + return $this->_propDict["connectionSettings"]; + } else { + $this->_propDict["connectionSettings"] = new EducationSynchronizationConnectionSettings($this->_propDict["connectionSettings"]); + return $this->_propDict["connectionSettings"]; + } + } + return null; + } + + /** + * Sets the connectionSettings + * + * @param EducationSynchronizationConnectionSettings $val The value to assign to the connectionSettings + * + * @return EducationOneRosterApiDataProvider The EducationOneRosterApiDataProvider + */ + public function setConnectionSettings($val) + { + $this->_propDict["connectionSettings"] = $val; + return $this; + } + /** + * Gets the connectionUrl + * + * @return string|null The connectionUrl + */ + public function getConnectionUrl() + { + if (array_key_exists("connectionUrl", $this->_propDict)) { + return $this->_propDict["connectionUrl"]; + } else { + return null; + } + } + + /** + * Sets the connectionUrl + * + * @param string $val The value of the connectionUrl + * + * @return EducationOneRosterApiDataProvider + */ + public function setConnectionUrl($val) + { + $this->_propDict["connectionUrl"] = $val; + return $this; + } + + /** + * Gets the customizations + * + * @return EducationSynchronizationCustomizations|null The customizations + */ + public function getCustomizations() + { + if (array_key_exists("customizations", $this->_propDict)) { + if (is_a($this->_propDict["customizations"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomizations") || is_null($this->_propDict["customizations"])) { + return $this->_propDict["customizations"]; + } else { + $this->_propDict["customizations"] = new EducationSynchronizationCustomizations($this->_propDict["customizations"]); + return $this->_propDict["customizations"]; + } + } + return null; + } + + /** + * Sets the customizations + * + * @param EducationSynchronizationCustomizations $val The value to assign to the customizations + * + * @return EducationOneRosterApiDataProvider The EducationOneRosterApiDataProvider + */ + public function setCustomizations($val) + { + $this->_propDict["customizations"] = $val; + return $this; + } + /** + * Gets the providerName + * + * @return string|null The providerName + */ + public function getProviderName() + { + if (array_key_exists("providerName", $this->_propDict)) { + return $this->_propDict["providerName"]; + } else { + return null; + } + } + + /** + * Sets the providerName + * + * @param string $val The value of the providerName + * + * @return EducationOneRosterApiDataProvider + */ + public function setProviderName($val) + { + $this->_propDict["providerName"] = $val; + return $this; + } + /** + * Gets the schoolsIds + * + * @return string|null The schoolsIds + */ + public function getSchoolsIds() + { + if (array_key_exists("schoolsIds", $this->_propDict)) { + return $this->_propDict["schoolsIds"]; + } else { + return null; + } + } + + /** + * Sets the schoolsIds + * + * @param string $val The value of the schoolsIds + * + * @return EducationOneRosterApiDataProvider + */ + public function setSchoolsIds($val) + { + $this->_propDict["schoolsIds"] = $val; + return $this; + } + /** + * Gets the termIds + * + * @return string|null The termIds + */ + public function getTermIds() + { + if (array_key_exists("termIds", $this->_propDict)) { + return $this->_propDict["termIds"]; + } else { + return null; + } + } + + /** + * Sets the termIds + * + * @param string $val The value of the termIds + * + * @return EducationOneRosterApiDataProvider + */ + public function setTermIds($val) + { + $this->_propDict["termIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOrganization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOrganization.php new file mode 100644 index 0000000..4256adb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOrganization.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Organization description. + * + * @param string $val The description + * + * @return EducationOrganization + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Organization display name. + * + * @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 + * Organization display name. + * + * @param string $val The displayName + * + * @return EducationOrganization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalSource + * Where this user was created from. Possible values are: sis, lms, or manual. + * + * @return EducationExternalSource|null The externalSource + */ + public function getExternalSource() + { + if (array_key_exists("externalSource", $this->_propDict)) { + if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) { + return $this->_propDict["externalSource"]; + } else { + $this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]); + return $this->_propDict["externalSource"]; + } + } + return null; + } + + /** + * Sets the externalSource + * Where this user was created from. Possible values are: sis, lms, or manual. + * + * @param EducationExternalSource $val The externalSource + * + * @return EducationOrganization + */ + public function setExternalSource($val) + { + $this->_propDict["externalSource"] = $val; + return $this; + } + + /** + * Gets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @return string|null The externalSourceDetail + */ + public function getExternalSourceDetail() + { + if (array_key_exists("externalSourceDetail", $this->_propDict)) { + return $this->_propDict["externalSourceDetail"]; + } else { + return null; + } + } + + /** + * Sets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @param string $val The externalSourceDetail + * + * @return EducationOrganization + */ + public function setExternalSourceDetail($val) + { + $this->_propDict["externalSourceDetail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOutcome.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOutcome.php new file mode 100644 index 0000000..014f3e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOutcome.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The individual who updated the resource. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationOutcome + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationOutcome + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPointsOutcome.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPointsOutcome.php new file mode 100644 index 0000000..7328df2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPointsOutcome.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["points"], "\Beta\Microsoft\Graph\Model\EducationAssignmentPointsGrade") || is_null($this->_propDict["points"])) { + return $this->_propDict["points"]; + } else { + $this->_propDict["points"] = new EducationAssignmentPointsGrade($this->_propDict["points"]); + return $this->_propDict["points"]; + } + } + return null; + } + + /** + * Sets the points + * The numeric grade the teacher has given the student for this assignment. + * + * @param EducationAssignmentPointsGrade $val The points + * + * @return EducationPointsOutcome + */ + public function setPoints($val) + { + $this->_propDict["points"] = $val; + return $this; + } + + /** + * Gets the publishedPoints + * A copy of the points property that is made when the grade is released to the student. + * + * @return EducationAssignmentPointsGrade|null The publishedPoints + */ + public function getPublishedPoints() + { + if (array_key_exists("publishedPoints", $this->_propDict)) { + if (is_a($this->_propDict["publishedPoints"], "\Beta\Microsoft\Graph\Model\EducationAssignmentPointsGrade") || is_null($this->_propDict["publishedPoints"])) { + return $this->_propDict["publishedPoints"]; + } else { + $this->_propDict["publishedPoints"] = new EducationAssignmentPointsGrade($this->_propDict["publishedPoints"]); + return $this->_propDict["publishedPoints"]; + } + } + return null; + } + + /** + * Sets the publishedPoints + * A copy of the points property that is made when the grade is released to the student. + * + * @param EducationAssignmentPointsGrade $val The publishedPoints + * + * @return EducationPointsOutcome + */ + public function setPublishedPoints($val) + { + $this->_propDict["publishedPoints"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerPointResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerPointResource.php new file mode 100644 index 0000000..0fa333a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerPointResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationPowerPointResource"); + } + + /** + * Gets the fileUrl + * Location of the file on disk. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location of the file on disk. + * + * @param string $val The value of the fileUrl + * + * @return EducationPowerPointResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerSchoolDataProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerSchoolDataProvider.php new file mode 100644 index 0000000..5d5ed96 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerSchoolDataProvider.php @@ -0,0 +1,238 @@ +setODataType("#microsoft.graph.educationPowerSchoolDataProvider"); + } + + /** + * Gets the allowTeachersInMultipleSchools + * Indicates whether the source has multiple identifiers for a single student or teacher. + * + * @return bool|null The allowTeachersInMultipleSchools + */ + public function getAllowTeachersInMultipleSchools() + { + if (array_key_exists("allowTeachersInMultipleSchools", $this->_propDict)) { + return $this->_propDict["allowTeachersInMultipleSchools"]; + } else { + return null; + } + } + + /** + * Sets the allowTeachersInMultipleSchools + * Indicates whether the source has multiple identifiers for a single student or teacher. + * + * @param bool $val The value of the allowTeachersInMultipleSchools + * + * @return EducationPowerSchoolDataProvider + */ + public function setAllowTeachersInMultipleSchools($val) + { + $this->_propDict["allowTeachersInMultipleSchools"] = $val; + return $this; + } + /** + * Gets the clientId + * The client ID used to connect to PowerSchool. + * + * @return string|null The clientId + */ + public function getClientId() + { + if (array_key_exists("clientId", $this->_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The client ID used to connect to PowerSchool. + * + * @param string $val The value of the clientId + * + * @return EducationPowerSchoolDataProvider + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + /** + * Gets the clientSecret + * The client secret to authenticate the connection to the PowerSchool instance. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * The client secret to authenticate the connection to the PowerSchool instance. + * + * @param string $val The value of the clientSecret + * + * @return EducationPowerSchoolDataProvider + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } + /** + * Gets the connectionUrl + * The connection URL to the PowerSchool instance. + * + * @return string|null The connectionUrl + */ + public function getConnectionUrl() + { + if (array_key_exists("connectionUrl", $this->_propDict)) { + return $this->_propDict["connectionUrl"]; + } else { + return null; + } + } + + /** + * Sets the connectionUrl + * The connection URL to the PowerSchool instance. + * + * @param string $val The value of the connectionUrl + * + * @return EducationPowerSchoolDataProvider + */ + public function setConnectionUrl($val) + { + $this->_propDict["connectionUrl"] = $val; + return $this; + } + + /** + * Gets the customizations + * Optional customization to be applied to the synchronization profile. + * + * @return EducationSynchronizationCustomizations|null The customizations + */ + public function getCustomizations() + { + if (array_key_exists("customizations", $this->_propDict)) { + if (is_a($this->_propDict["customizations"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomizations") || is_null($this->_propDict["customizations"])) { + return $this->_propDict["customizations"]; + } else { + $this->_propDict["customizations"] = new EducationSynchronizationCustomizations($this->_propDict["customizations"]); + return $this->_propDict["customizations"]; + } + } + return null; + } + + /** + * Sets the customizations + * Optional customization to be applied to the synchronization profile. + * + * @param EducationSynchronizationCustomizations $val The value to assign to the customizations + * + * @return EducationPowerSchoolDataProvider The EducationPowerSchoolDataProvider + */ + public function setCustomizations($val) + { + $this->_propDict["customizations"] = $val; + return $this; + } + /** + * Gets the schoolsIds + * The list of schools to sync. + * + * @return string|null The schoolsIds + */ + public function getSchoolsIds() + { + if (array_key_exists("schoolsIds", $this->_propDict)) { + return $this->_propDict["schoolsIds"]; + } else { + return null; + } + } + + /** + * Sets the schoolsIds + * The list of schools to sync. + * + * @param string $val The value of the schoolsIds + * + * @return EducationPowerSchoolDataProvider + */ + public function setSchoolsIds($val) + { + $this->_propDict["schoolsIds"] = $val; + return $this; + } + /** + * Gets the schoolYear + * The school year to sync. + * + * @return string|null The schoolYear + */ + public function getSchoolYear() + { + if (array_key_exists("schoolYear", $this->_propDict)) { + return $this->_propDict["schoolYear"]; + } else { + return null; + } + } + + /** + * Sets the schoolYear + * The school year to sync. + * + * @param string $val The value of the schoolYear + * + * @return EducationPowerSchoolDataProvider + */ + public function setSchoolYear($val) + { + $this->_propDict["schoolYear"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationResource.php new file mode 100644 index 0000000..d10ff3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationResource.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Who created the resource. + * + * @param IdentitySet $val The value to assign to the createdBy + * + * @return EducationResource The EducationResource + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return EducationResource The EducationResource + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name of resource. + * + * @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 + * Display name of resource. + * + * @param string $val The value of the displayName + * + * @return EducationResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Who was the last user to modify the resource. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Who was the last user to modify the resource. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return EducationResource The EducationResource + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return EducationResource The EducationResource + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRoot.php new file mode 100644 index 0000000..fc04642 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRoot.php @@ -0,0 +1,247 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the EducationRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the synchronizationProfiles + * + * @return array|null The synchronizationProfiles + */ + public function getSynchronizationProfiles() + { + if (array_key_exists("synchronizationProfiles", $this->_propDict)) { + return $this->_propDict["synchronizationProfiles"]; + } else { + return null; + } + } + + /** + * Sets the synchronizationProfiles + * + * @param EducationSynchronizationProfile[] $val The synchronizationProfiles + * + * @return EducationRoot + */ + public function setSynchronizationProfiles($val) + { + $this->_propDict["synchronizationProfiles"] = $val; + return $this; + } + + + /** + * Gets the classes + * + * @return array|null The classes + */ + public function getClasses() + { + if (array_key_exists("classes", $this->_propDict)) { + return $this->_propDict["classes"]; + } else { + return null; + } + } + + /** + * Sets the classes + * + * @param EducationClass[] $val The classes + * + * @return EducationRoot + */ + public function setClasses($val) + { + $this->_propDict["classes"] = $val; + return $this; + } + + /** + * Gets the me + * + * @return EducationUser|null The me + */ + public function getMe() + { + if (array_key_exists("me", $this->_propDict)) { + if (is_a($this->_propDict["me"], "\Beta\Microsoft\Graph\Model\EducationUser") || is_null($this->_propDict["me"])) { + return $this->_propDict["me"]; + } else { + $this->_propDict["me"] = new EducationUser($this->_propDict["me"]); + return $this->_propDict["me"]; + } + } + return null; + } + + /** + * Sets the me + * + * @param EducationUser $val The me + * + * @return EducationRoot + */ + public function setMe($val) + { + $this->_propDict["me"] = $val; + return $this; + } + + + /** + * Gets the schools + * + * @return array|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * + * @param EducationSchool[] $val The schools + * + * @return EducationRoot + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + + /** + * Gets the users + * + * @return array|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + return $this->_propDict["users"]; + } else { + return null; + } + } + + /** + * Sets the users + * + * @param EducationUser[] $val The users + * + * @return EducationRoot + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + 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 EducationRoot + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubric.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubric.php new file mode 100644 index 0000000..2bcb3cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubric.php @@ -0,0 +1,314 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created this resource. + * + * @param IdentitySet $val The createdBy + * + * @return EducationRubric + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return EducationRubric + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of this rubric. + * + * @return EducationItemBody|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this rubric. + * + * @param EducationItemBody $val The description + * + * @return EducationRubric + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of this rubric. + * + * @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 + * The name of this rubric. + * + * @param string $val The displayName + * + * @return EducationRubric + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the grading + * The grading type of this rubric -- null for a no-points rubric, or educationAssignmentPointsGradeType for a points rubric. + * + * @return EducationAssignmentGradeType|null The grading + */ + public function getGrading() + { + if (array_key_exists("grading", $this->_propDict)) { + if (is_a($this->_propDict["grading"], "\Beta\Microsoft\Graph\Model\EducationAssignmentGradeType") || is_null($this->_propDict["grading"])) { + return $this->_propDict["grading"]; + } else { + $this->_propDict["grading"] = new EducationAssignmentGradeType($this->_propDict["grading"]); + return $this->_propDict["grading"]; + } + } + return null; + } + + /** + * Sets the grading + * The grading type of this rubric -- null for a no-points rubric, or educationAssignmentPointsGradeType for a points rubric. + * + * @param EducationAssignmentGradeType $val The grading + * + * @return EducationRubric + */ + public function setGrading($val) + { + $this->_propDict["grading"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The last user to modify the resource. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The last user to modify the resource. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationRubric + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationRubric + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the levels + * The collection of levels making up this rubric. + * + * @return array|null The levels + */ + public function getLevels() + { + if (array_key_exists("levels", $this->_propDict)) { + return $this->_propDict["levels"]; + } else { + return null; + } + } + + /** + * Sets the levels + * The collection of levels making up this rubric. + * + * @param RubricLevel[] $val The levels + * + * @return EducationRubric + */ + public function setLevels($val) + { + $this->_propDict["levels"] = $val; + return $this; + } + + + /** + * Gets the qualities + * The collection of qualities making up this rubric. + * + * @return array|null The qualities + */ + public function getQualities() + { + if (array_key_exists("qualities", $this->_propDict)) { + return $this->_propDict["qualities"]; + } else { + return null; + } + } + + /** + * Sets the qualities + * The collection of qualities making up this rubric. + * + * @param RubricQuality[] $val The qualities + * + * @return EducationRubric + */ + public function setQualities($val) + { + $this->_propDict["qualities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubricOutcome.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubricOutcome.php new file mode 100644 index 0000000..fa203b7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubricOutcome.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["publishedRubricQualityFeedback"]; + } else { + return null; + } + } + + /** + * Sets the publishedRubricQualityFeedback + * A copy of the rubricQualityFeedback property that is made when the grade is released to the student. + * + * @param RubricQualityFeedbackModel[] $val The publishedRubricQualityFeedback + * + * @return EducationRubricOutcome + */ + public function setPublishedRubricQualityFeedback($val) + { + $this->_propDict["publishedRubricQualityFeedback"] = $val; + return $this; + } + + + /** + * Gets the publishedRubricQualitySelectedLevels + * A copy of the rubricQualitySelectedLevels property that is made when the grade is released to the student. + * + * @return array|null The publishedRubricQualitySelectedLevels + */ + public function getPublishedRubricQualitySelectedLevels() + { + if (array_key_exists("publishedRubricQualitySelectedLevels", $this->_propDict)) { + return $this->_propDict["publishedRubricQualitySelectedLevels"]; + } else { + return null; + } + } + + /** + * Sets the publishedRubricQualitySelectedLevels + * A copy of the rubricQualitySelectedLevels property that is made when the grade is released to the student. + * + * @param RubricQualitySelectedColumnModel[] $val The publishedRubricQualitySelectedLevels + * + * @return EducationRubricOutcome + */ + public function setPublishedRubricQualitySelectedLevels($val) + { + $this->_propDict["publishedRubricQualitySelectedLevels"] = $val; + return $this; + } + + + /** + * Gets the rubricQualityFeedback + * A collection of specific feedback for each quality of this rubric. + * + * @return array|null The rubricQualityFeedback + */ + public function getRubricQualityFeedback() + { + if (array_key_exists("rubricQualityFeedback", $this->_propDict)) { + return $this->_propDict["rubricQualityFeedback"]; + } else { + return null; + } + } + + /** + * Sets the rubricQualityFeedback + * A collection of specific feedback for each quality of this rubric. + * + * @param RubricQualityFeedbackModel[] $val The rubricQualityFeedback + * + * @return EducationRubricOutcome + */ + public function setRubricQualityFeedback($val) + { + $this->_propDict["rubricQualityFeedback"] = $val; + return $this; + } + + + /** + * Gets the rubricQualitySelectedLevels + * The level that the teacher has selected for each quality while grading this assignment. + * + * @return array|null The rubricQualitySelectedLevels + */ + public function getRubricQualitySelectedLevels() + { + if (array_key_exists("rubricQualitySelectedLevels", $this->_propDict)) { + return $this->_propDict["rubricQualitySelectedLevels"]; + } else { + return null; + } + } + + /** + * Sets the rubricQualitySelectedLevels + * The level that the teacher has selected for each quality while grading this assignment. + * + * @param RubricQualitySelectedColumnModel[] $val The rubricQualitySelectedLevels + * + * @return EducationRubricOutcome + */ + public function setRubricQualitySelectedLevels($val) + { + $this->_propDict["rubricQualitySelectedLevels"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSchool.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSchool.php new file mode 100644 index 0000000..cf0a222 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSchool.php @@ -0,0 +1,445 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * Address of the school. + * + * @param PhysicalAddress $val The address + * + * @return EducationSchool + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Entity who created the school. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Entity who created the school. + * + * @param IdentitySet $val The createdBy + * + * @return EducationSchool + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the externalId + * ID of school in syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of school in syncing system. + * + * @param string $val The externalId + * + * @return EducationSchool + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the externalPrincipalId + * ID of principal in syncing system. + * + * @return string|null The externalPrincipalId + */ + public function getExternalPrincipalId() + { + if (array_key_exists("externalPrincipalId", $this->_propDict)) { + return $this->_propDict["externalPrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the externalPrincipalId + * ID of principal in syncing system. + * + * @param string $val The externalPrincipalId + * + * @return EducationSchool + */ + public function setExternalPrincipalId($val) + { + $this->_propDict["externalPrincipalId"] = $val; + return $this; + } + + /** + * Gets the fax + * + * @return string|null The fax + */ + public function getFax() + { + if (array_key_exists("fax", $this->_propDict)) { + return $this->_propDict["fax"]; + } else { + return null; + } + } + + /** + * Sets the fax + * + * @param string $val The fax + * + * @return EducationSchool + */ + public function setFax($val) + { + $this->_propDict["fax"] = $val; + return $this; + } + + /** + * Gets the highestGrade + * Highest grade taught. + * + * @return string|null The highestGrade + */ + public function getHighestGrade() + { + if (array_key_exists("highestGrade", $this->_propDict)) { + return $this->_propDict["highestGrade"]; + } else { + return null; + } + } + + /** + * Sets the highestGrade + * Highest grade taught. + * + * @param string $val The highestGrade + * + * @return EducationSchool + */ + public function setHighestGrade($val) + { + $this->_propDict["highestGrade"] = $val; + return $this; + } + + /** + * Gets the lowestGrade + * Lowest grade taught. + * + * @return string|null The lowestGrade + */ + public function getLowestGrade() + { + if (array_key_exists("lowestGrade", $this->_propDict)) { + return $this->_propDict["lowestGrade"]; + } else { + return null; + } + } + + /** + * Sets the lowestGrade + * Lowest grade taught. + * + * @param string $val The lowestGrade + * + * @return EducationSchool + */ + public function setLowestGrade($val) + { + $this->_propDict["lowestGrade"] = $val; + return $this; + } + + /** + * Gets the phone + * Phone number of school. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * Phone number of school. + * + * @param string $val The phone + * + * @return EducationSchool + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + + /** + * Gets the principalEmail + * Email address of the principal. + * + * @return string|null The principalEmail + */ + public function getPrincipalEmail() + { + if (array_key_exists("principalEmail", $this->_propDict)) { + return $this->_propDict["principalEmail"]; + } else { + return null; + } + } + + /** + * Sets the principalEmail + * Email address of the principal. + * + * @param string $val The principalEmail + * + * @return EducationSchool + */ + public function setPrincipalEmail($val) + { + $this->_propDict["principalEmail"] = $val; + return $this; + } + + /** + * Gets the principalName + * Name of the principal. + * + * @return string|null The principalName + */ + public function getPrincipalName() + { + if (array_key_exists("principalName", $this->_propDict)) { + return $this->_propDict["principalName"]; + } else { + return null; + } + } + + /** + * Sets the principalName + * Name of the principal. + * + * @param string $val The principalName + * + * @return EducationSchool + */ + public function setPrincipalName($val) + { + $this->_propDict["principalName"] = $val; + return $this; + } + + /** + * Gets the schoolNumber + * School Number. + * + * @return string|null The schoolNumber + */ + public function getSchoolNumber() + { + if (array_key_exists("schoolNumber", $this->_propDict)) { + return $this->_propDict["schoolNumber"]; + } else { + return null; + } + } + + /** + * Sets the schoolNumber + * School Number. + * + * @param string $val The schoolNumber + * + * @return EducationSchool + */ + public function setSchoolNumber($val) + { + $this->_propDict["schoolNumber"] = $val; + return $this; + } + + /** + * Gets the administrativeUnit + * The underlying administrativeUnit for this school. + * + * @return AdministrativeUnit|null The administrativeUnit + */ + public function getAdministrativeUnit() + { + if (array_key_exists("administrativeUnit", $this->_propDict)) { + if (is_a($this->_propDict["administrativeUnit"], "\Beta\Microsoft\Graph\Model\AdministrativeUnit") || is_null($this->_propDict["administrativeUnit"])) { + return $this->_propDict["administrativeUnit"]; + } else { + $this->_propDict["administrativeUnit"] = new AdministrativeUnit($this->_propDict["administrativeUnit"]); + return $this->_propDict["administrativeUnit"]; + } + } + return null; + } + + /** + * Sets the administrativeUnit + * The underlying administrativeUnit for this school. + * + * @param AdministrativeUnit $val The administrativeUnit + * + * @return EducationSchool + */ + public function setAdministrativeUnit($val) + { + $this->_propDict["administrativeUnit"] = $val; + return $this; + } + + + /** + * Gets the classes + * Classes taught at the school. Nullable. + * + * @return array|null The classes + */ + public function getClasses() + { + if (array_key_exists("classes", $this->_propDict)) { + return $this->_propDict["classes"]; + } else { + return null; + } + } + + /** + * Sets the classes + * Classes taught at the school. Nullable. + * + * @param EducationClass[] $val The classes + * + * @return EducationSchool + */ + public function setClasses($val) + { + $this->_propDict["classes"] = $val; + return $this; + } + + + /** + * Gets the users + * Users in the school. Nullable. + * + * @return array|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + return $this->_propDict["users"]; + } else { + return null; + } + } + + /** + * Sets the users + * Users in the school. Nullable. + * + * @param EducationUser[] $val The users + * + * @return EducationSchool + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationStudent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationStudent.php new file mode 100644 index 0000000..e58a179 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationStudent.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["birthDate"], "\DateTime") || is_null($this->_propDict["birthDate"])) { + return $this->_propDict["birthDate"]; + } else { + $this->_propDict["birthDate"] = new \DateTime($this->_propDict["birthDate"]); + return $this->_propDict["birthDate"]; + } + } + return null; + } + + /** + * Sets the birthDate + * Birth date of the student. + * + * @param \DateTime $val The value to assign to the birthDate + * + * @return EducationStudent The EducationStudent + */ + public function setBirthDate($val) + { + $this->_propDict["birthDate"] = $val; + return $this; + } + /** + * Gets the externalId + * ID of the student in the source system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of the student in the source system. + * + * @param string $val The value of the externalId + * + * @return EducationStudent + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the gender + * Possible values are: female, male, other. + * + * @return EducationGender|null The gender + */ + public function getGender() + { + if (array_key_exists("gender", $this->_propDict)) { + if (is_a($this->_propDict["gender"], "\Beta\Microsoft\Graph\Model\EducationGender") || is_null($this->_propDict["gender"])) { + return $this->_propDict["gender"]; + } else { + $this->_propDict["gender"] = new EducationGender($this->_propDict["gender"]); + return $this->_propDict["gender"]; + } + } + return null; + } + + /** + * Sets the gender + * Possible values are: female, male, other. + * + * @param EducationGender $val The value to assign to the gender + * + * @return EducationStudent The EducationStudent + */ + public function setGender($val) + { + $this->_propDict["gender"] = $val; + return $this; + } + /** + * Gets the grade + * Current grade level of the student. + * + * @return string|null The grade + */ + public function getGrade() + { + if (array_key_exists("grade", $this->_propDict)) { + return $this->_propDict["grade"]; + } else { + return null; + } + } + + /** + * Sets the grade + * Current grade level of the student. + * + * @param string $val The value of the grade + * + * @return EducationStudent + */ + public function setGrade($val) + { + $this->_propDict["grade"] = $val; + return $this; + } + /** + * Gets the graduationYear + * Year the student is graduating from the school. + * + * @return string|null The graduationYear + */ + public function getGraduationYear() + { + if (array_key_exists("graduationYear", $this->_propDict)) { + return $this->_propDict["graduationYear"]; + } else { + return null; + } + } + + /** + * Sets the graduationYear + * Year the student is graduating from the school. + * + * @param string $val The value of the graduationYear + * + * @return EducationStudent + */ + public function setGraduationYear($val) + { + $this->_propDict["graduationYear"] = $val; + return $this; + } + /** + * Gets the studentNumber + * Student Number. + * + * @return string|null The studentNumber + */ + public function getStudentNumber() + { + if (array_key_exists("studentNumber", $this->_propDict)) { + return $this->_propDict["studentNumber"]; + } else { + return null; + } + } + + /** + * Sets the studentNumber + * Student Number. + * + * @param string $val The value of the studentNumber + * + * @return EducationStudent + */ + public function setStudentNumber($val) + { + $this->_propDict["studentNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmission.php new file mode 100644 index 0000000..499a58e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmission.php @@ -0,0 +1,476 @@ +_propDict)) { + if (is_a($this->_propDict["reassignedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["reassignedBy"])) { + return $this->_propDict["reassignedBy"]; + } else { + $this->_propDict["reassignedBy"] = new IdentitySet($this->_propDict["reassignedBy"]); + return $this->_propDict["reassignedBy"]; + } + } + return null; + } + + /** + * Sets the reassignedBy + * User who moved the status of this submission to reassigned. + * + * @param IdentitySet $val The reassignedBy + * + * @return EducationSubmission + */ + public function setReassignedBy($val) + { + $this->_propDict["reassignedBy"] = $val; + return $this; + } + + /** + * Gets the reassignedDateTime + * Moment in time when the submission was reassigned. 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 reassignedDateTime + */ + public function getReassignedDateTime() + { + if (array_key_exists("reassignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reassignedDateTime"], "\DateTime") || is_null($this->_propDict["reassignedDateTime"])) { + return $this->_propDict["reassignedDateTime"]; + } else { + $this->_propDict["reassignedDateTime"] = new \DateTime($this->_propDict["reassignedDateTime"]); + return $this->_propDict["reassignedDateTime"]; + } + } + return null; + } + + /** + * Sets the reassignedDateTime + * Moment in time when the submission was reassigned. 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 reassignedDateTime + * + * @return EducationSubmission + */ + public function setReassignedDateTime($val) + { + $this->_propDict["reassignedDateTime"] = $val; + return $this; + } + + /** + * Gets the recipient + * Who this submission is assigned to. + * + * @return EducationSubmissionRecipient|null The recipient + */ + public function getRecipient() + { + if (array_key_exists("recipient", $this->_propDict)) { + if (is_a($this->_propDict["recipient"], "\Beta\Microsoft\Graph\Model\EducationSubmissionRecipient") || is_null($this->_propDict["recipient"])) { + return $this->_propDict["recipient"]; + } else { + $this->_propDict["recipient"] = new EducationSubmissionRecipient($this->_propDict["recipient"]); + return $this->_propDict["recipient"]; + } + } + return null; + } + + /** + * Sets the recipient + * Who this submission is assigned to. + * + * @param EducationSubmissionRecipient $val The recipient + * + * @return EducationSubmission + */ + public function setRecipient($val) + { + $this->_propDict["recipient"] = $val; + return $this; + } + + /** + * Gets the resourcesFolderUrl + * Folder where all file resources for this submission need to be stored. + * + * @return string|null The resourcesFolderUrl + */ + public function getResourcesFolderUrl() + { + if (array_key_exists("resourcesFolderUrl", $this->_propDict)) { + return $this->_propDict["resourcesFolderUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourcesFolderUrl + * Folder where all file resources for this submission need to be stored. + * + * @param string $val The resourcesFolderUrl + * + * @return EducationSubmission + */ + public function setResourcesFolderUrl($val) + { + $this->_propDict["resourcesFolderUrl"] = $val; + return $this; + } + + /** + * Gets the returnedBy + * User who moved the status of this submission to returned. + * + * @return IdentitySet|null The returnedBy + */ + public function getReturnedBy() + { + if (array_key_exists("returnedBy", $this->_propDict)) { + if (is_a($this->_propDict["returnedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["returnedBy"])) { + return $this->_propDict["returnedBy"]; + } else { + $this->_propDict["returnedBy"] = new IdentitySet($this->_propDict["returnedBy"]); + return $this->_propDict["returnedBy"]; + } + } + return null; + } + + /** + * Sets the returnedBy + * User who moved the status of this submission to returned. + * + * @param IdentitySet $val The returnedBy + * + * @return EducationSubmission + */ + public function setReturnedBy($val) + { + $this->_propDict["returnedBy"] = $val; + return $this; + } + + /** + * Gets the returnedDateTime + * Moment in time when the submission was returned. 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 returnedDateTime + */ + public function getReturnedDateTime() + { + if (array_key_exists("returnedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["returnedDateTime"], "\DateTime") || is_null($this->_propDict["returnedDateTime"])) { + return $this->_propDict["returnedDateTime"]; + } else { + $this->_propDict["returnedDateTime"] = new \DateTime($this->_propDict["returnedDateTime"]); + return $this->_propDict["returnedDateTime"]; + } + } + return null; + } + + /** + * Sets the returnedDateTime + * Moment in time when the submission was returned. 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 returnedDateTime + * + * @return EducationSubmission + */ + public function setReturnedDateTime($val) + { + $this->_propDict["returnedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Read-only. Possible values are: working, submitted, released, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + * + * @return EducationSubmissionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationSubmissionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationSubmissionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Read-only. Possible values are: working, submitted, released, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + * + * @param EducationSubmissionStatus $val The status + * + * @return EducationSubmission + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the submittedBy + * User who moved the resource into the submitted state. + * + * @return IdentitySet|null The submittedBy + */ + public function getSubmittedBy() + { + if (array_key_exists("submittedBy", $this->_propDict)) { + if (is_a($this->_propDict["submittedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["submittedBy"])) { + return $this->_propDict["submittedBy"]; + } else { + $this->_propDict["submittedBy"] = new IdentitySet($this->_propDict["submittedBy"]); + return $this->_propDict["submittedBy"]; + } + } + return null; + } + + /** + * Sets the submittedBy + * User who moved the resource into the submitted state. + * + * @param IdentitySet $val The submittedBy + * + * @return EducationSubmission + */ + public function setSubmittedBy($val) + { + $this->_propDict["submittedBy"] = $val; + return $this; + } + + /** + * Gets the submittedDateTime + * Moment in time when the submission was moved into the submitted state. 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 submittedDateTime + */ + public function getSubmittedDateTime() + { + if (array_key_exists("submittedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["submittedDateTime"], "\DateTime") || is_null($this->_propDict["submittedDateTime"])) { + return $this->_propDict["submittedDateTime"]; + } else { + $this->_propDict["submittedDateTime"] = new \DateTime($this->_propDict["submittedDateTime"]); + return $this->_propDict["submittedDateTime"]; + } + } + return null; + } + + /** + * Sets the submittedDateTime + * Moment in time when the submission was moved into the submitted state. 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 submittedDateTime + * + * @return EducationSubmission + */ + public function setSubmittedDateTime($val) + { + $this->_propDict["submittedDateTime"] = $val; + return $this; + } + + /** + * Gets the unsubmittedBy + * User who moved the resource from submitted into the working state. + * + * @return IdentitySet|null The unsubmittedBy + */ + public function getUnsubmittedBy() + { + if (array_key_exists("unsubmittedBy", $this->_propDict)) { + if (is_a($this->_propDict["unsubmittedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["unsubmittedBy"])) { + return $this->_propDict["unsubmittedBy"]; + } else { + $this->_propDict["unsubmittedBy"] = new IdentitySet($this->_propDict["unsubmittedBy"]); + return $this->_propDict["unsubmittedBy"]; + } + } + return null; + } + + /** + * Sets the unsubmittedBy + * User who moved the resource from submitted into the working state. + * + * @param IdentitySet $val The unsubmittedBy + * + * @return EducationSubmission + */ + public function setUnsubmittedBy($val) + { + $this->_propDict["unsubmittedBy"] = $val; + return $this; + } + + /** + * Gets the unsubmittedDateTime + * Moment in time when the submission was moved from submitted into the working state. 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 unsubmittedDateTime + */ + public function getUnsubmittedDateTime() + { + if (array_key_exists("unsubmittedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["unsubmittedDateTime"], "\DateTime") || is_null($this->_propDict["unsubmittedDateTime"])) { + return $this->_propDict["unsubmittedDateTime"]; + } else { + $this->_propDict["unsubmittedDateTime"] = new \DateTime($this->_propDict["unsubmittedDateTime"]); + return $this->_propDict["unsubmittedDateTime"]; + } + } + return null; + } + + /** + * Sets the unsubmittedDateTime + * Moment in time when the submission was moved from submitted into the working state. 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 unsubmittedDateTime + * + * @return EducationSubmission + */ + public function setUnsubmittedDateTime($val) + { + $this->_propDict["unsubmittedDateTime"] = $val; + return $this; + } + + + /** + * Gets the outcomes + * Read-Write. Nullable. + * + * @return array|null The outcomes + */ + public function getOutcomes() + { + if (array_key_exists("outcomes", $this->_propDict)) { + return $this->_propDict["outcomes"]; + } else { + return null; + } + } + + /** + * Sets the outcomes + * Read-Write. Nullable. + * + * @param EducationOutcome[] $val The outcomes + * + * @return EducationSubmission + */ + public function setOutcomes($val) + { + $this->_propDict["outcomes"] = $val; + return $this; + } + + + /** + * Gets the resources + * Nullable. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Nullable. + * + * @param EducationSubmissionResource[] $val The resources + * + * @return EducationSubmission + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the submittedResources + * Read-only. Nullable. + * + * @return array|null The submittedResources + */ + public function getSubmittedResources() + { + if (array_key_exists("submittedResources", $this->_propDict)) { + return $this->_propDict["submittedResources"]; + } else { + return null; + } + } + + /** + * Sets the submittedResources + * Read-only. Nullable. + * + * @param EducationSubmissionResource[] $val The submittedResources + * + * @return EducationSubmission + */ + public function setSubmittedResources($val) + { + $this->_propDict["submittedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionIndividualRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionIndividualRecipient.php new file mode 100644 index 0000000..f9f81d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionIndividualRecipient.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationSubmissionIndividualRecipient"); + } + + /** + * Gets the userId + * User ID of the user to whom the submission is assigned. + * + * @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 + * User ID of the user to whom the submission is assigned. + * + * @param string $val The value of the userId + * + * @return EducationSubmissionIndividualRecipient + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionRecipient.php new file mode 100644 index 0000000..355ce3b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionRecipient.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["assignmentResourceUrl"]; + } else { + return null; + } + } + + /** + * Sets the assignmentResourceUrl + * Pointer to the assignment from which this resource was copied. If this is null, the student uploaded the resource. + * + * @param string $val The assignmentResourceUrl + * + * @return EducationSubmissionResource + */ + public function setAssignmentResourceUrl($val) + { + $this->_propDict["assignmentResourceUrl"] = $val; + return $this; + } + + /** + * Gets the resource + * Resource object. + * + * @return EducationResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Resource object. + * + * @param EducationResource $val The resource + * + * @return EducationSubmissionResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionStatus.php new file mode 100644 index 0000000..ee655b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * Client ID used to connect to the provider. + * + * @param string $val The value of the clientId + * + * @return EducationSynchronizationConnectionSettings + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + /** + * Gets the clientSecret + * Client secret to authenticate the connection to the provider. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * Client secret to authenticate the connection to the provider. + * + * @param string $val The value of the clientSecret + * + * @return EducationSynchronizationConnectionSettings + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomization.php new file mode 100644 index 0000000..9db63c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomization.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowDisplayNameUpdate"]; + } else { + return null; + } + } + + /** + * Sets the allowDisplayNameUpdate + * Indicates whether the display name of the resource can be overwritten by the sync. + * + * @param bool $val The value of the allowDisplayNameUpdate + * + * @return EducationSynchronizationCustomization + */ + public function setAllowDisplayNameUpdate($val) + { + $this->_propDict["allowDisplayNameUpdate"] = $val; + return $this; + } + /** + * Gets the isSyncDeferred + * Indicates whether synchronization of the parent entity is deferred to a later date. + * + * @return bool|null The isSyncDeferred + */ + public function getIsSyncDeferred() + { + if (array_key_exists("isSyncDeferred", $this->_propDict)) { + return $this->_propDict["isSyncDeferred"]; + } else { + return null; + } + } + + /** + * Sets the isSyncDeferred + * Indicates whether synchronization of the parent entity is deferred to a later date. + * + * @param bool $val The value of the isSyncDeferred + * + * @return EducationSynchronizationCustomization + */ + public function setIsSyncDeferred($val) + { + $this->_propDict["isSyncDeferred"] = $val; + return $this; + } + /** + * Gets the optionalPropertiesToSync + * The collection of property names to sync. If set to null, all properties will be synchronized. Does not apply to Student Enrollments or Teacher Rosters + * + * @return string|null The optionalPropertiesToSync + */ + public function getOptionalPropertiesToSync() + { + if (array_key_exists("optionalPropertiesToSync", $this->_propDict)) { + return $this->_propDict["optionalPropertiesToSync"]; + } else { + return null; + } + } + + /** + * Sets the optionalPropertiesToSync + * The collection of property names to sync. If set to null, all properties will be synchronized. Does not apply to Student Enrollments or Teacher Rosters + * + * @param string $val The value of the optionalPropertiesToSync + * + * @return EducationSynchronizationCustomization + */ + public function setOptionalPropertiesToSync($val) + { + $this->_propDict["optionalPropertiesToSync"] = $val; + return $this; + } + + /** + * Gets the synchronizationStartDate + * The date that the synchronization should start. This value should be set to a future date. If set to null, the resource will be synchronized when the profile setup completes. Only applies to Student Enrollments + * + * @return \DateTime|null The synchronizationStartDate + */ + public function getSynchronizationStartDate() + { + if (array_key_exists("synchronizationStartDate", $this->_propDict)) { + if (is_a($this->_propDict["synchronizationStartDate"], "\DateTime") || is_null($this->_propDict["synchronizationStartDate"])) { + return $this->_propDict["synchronizationStartDate"]; + } else { + $this->_propDict["synchronizationStartDate"] = new \DateTime($this->_propDict["synchronizationStartDate"]); + return $this->_propDict["synchronizationStartDate"]; + } + } + return null; + } + + /** + * Sets the synchronizationStartDate + * The date that the synchronization should start. This value should be set to a future date. If set to null, the resource will be synchronized when the profile setup completes. Only applies to Student Enrollments + * + * @param \DateTime $val The value to assign to the synchronizationStartDate + * + * @return EducationSynchronizationCustomization The EducationSynchronizationCustomization + */ + public function setSynchronizationStartDate($val) + { + $this->_propDict["synchronizationStartDate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizations.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizations.php new file mode 100644 index 0000000..33291cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizations.php @@ -0,0 +1,224 @@ +_propDict)) { + if (is_a($this->_propDict["school"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization") || is_null($this->_propDict["school"])) { + return $this->_propDict["school"]; + } else { + $this->_propDict["school"] = new EducationSynchronizationCustomization($this->_propDict["school"]); + return $this->_propDict["school"]; + } + } + return null; + } + + /** + * Sets the school + * Customizations for School entities. + * + * @param EducationSynchronizationCustomization $val The value to assign to the school + * + * @return EducationSynchronizationCustomizations The EducationSynchronizationCustomizations + */ + public function setSchool($val) + { + $this->_propDict["school"] = $val; + return $this; + } + + /** + * Gets the section + * Customizations for Section entities. + * + * @return EducationSynchronizationCustomization|null The section + */ + public function getSection() + { + if (array_key_exists("section", $this->_propDict)) { + if (is_a($this->_propDict["section"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization") || is_null($this->_propDict["section"])) { + return $this->_propDict["section"]; + } else { + $this->_propDict["section"] = new EducationSynchronizationCustomization($this->_propDict["section"]); + return $this->_propDict["section"]; + } + } + return null; + } + + /** + * Sets the section + * Customizations for Section entities. + * + * @param EducationSynchronizationCustomization $val The value to assign to the section + * + * @return EducationSynchronizationCustomizations The EducationSynchronizationCustomizations + */ + public function setSection($val) + { + $this->_propDict["section"] = $val; + return $this; + } + + /** + * Gets the student + * Customizations for Student entities. + * + * @return EducationSynchronizationCustomization|null The student + */ + public function getStudent() + { + if (array_key_exists("student", $this->_propDict)) { + if (is_a($this->_propDict["student"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization") || is_null($this->_propDict["student"])) { + return $this->_propDict["student"]; + } else { + $this->_propDict["student"] = new EducationSynchronizationCustomization($this->_propDict["student"]); + return $this->_propDict["student"]; + } + } + return null; + } + + /** + * Sets the student + * Customizations for Student entities. + * + * @param EducationSynchronizationCustomization $val The value to assign to the student + * + * @return EducationSynchronizationCustomizations The EducationSynchronizationCustomizations + */ + public function setStudent($val) + { + $this->_propDict["student"] = $val; + return $this; + } + + /** + * Gets the studentEnrollment + * Customizations for Student Enrollments. + * + * @return EducationSynchronizationCustomization|null The studentEnrollment + */ + public function getStudentEnrollment() + { + if (array_key_exists("studentEnrollment", $this->_propDict)) { + if (is_a($this->_propDict["studentEnrollment"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization") || is_null($this->_propDict["studentEnrollment"])) { + return $this->_propDict["studentEnrollment"]; + } else { + $this->_propDict["studentEnrollment"] = new EducationSynchronizationCustomization($this->_propDict["studentEnrollment"]); + return $this->_propDict["studentEnrollment"]; + } + } + return null; + } + + /** + * Sets the studentEnrollment + * Customizations for Student Enrollments. + * + * @param EducationSynchronizationCustomization $val The value to assign to the studentEnrollment + * + * @return EducationSynchronizationCustomizations The EducationSynchronizationCustomizations + */ + public function setStudentEnrollment($val) + { + $this->_propDict["studentEnrollment"] = $val; + return $this; + } + + /** + * Gets the teacher + * Customizations for Teacher entities. + * + * @return EducationSynchronizationCustomization|null The teacher + */ + public function getTeacher() + { + if (array_key_exists("teacher", $this->_propDict)) { + if (is_a($this->_propDict["teacher"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization") || is_null($this->_propDict["teacher"])) { + return $this->_propDict["teacher"]; + } else { + $this->_propDict["teacher"] = new EducationSynchronizationCustomization($this->_propDict["teacher"]); + return $this->_propDict["teacher"]; + } + } + return null; + } + + /** + * Sets the teacher + * Customizations for Teacher entities. + * + * @param EducationSynchronizationCustomization $val The value to assign to the teacher + * + * @return EducationSynchronizationCustomizations The EducationSynchronizationCustomizations + */ + public function setTeacher($val) + { + $this->_propDict["teacher"] = $val; + return $this; + } + + /** + * Gets the teacherRoster + * Customizations for Teacher Rosters. + * + * @return EducationSynchronizationCustomization|null The teacherRoster + */ + public function getTeacherRoster() + { + if (array_key_exists("teacherRoster", $this->_propDict)) { + if (is_a($this->_propDict["teacherRoster"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization") || is_null($this->_propDict["teacherRoster"])) { + return $this->_propDict["teacherRoster"]; + } else { + $this->_propDict["teacherRoster"] = new EducationSynchronizationCustomization($this->_propDict["teacherRoster"]); + return $this->_propDict["teacherRoster"]; + } + } + return null; + } + + /** + * Sets the teacherRoster + * Customizations for Teacher Rosters. + * + * @param EducationSynchronizationCustomization $val The value to assign to the teacherRoster + * + * @return EducationSynchronizationCustomizations The EducationSynchronizationCustomizations + */ + public function setTeacherRoster($val) + { + $this->_propDict["teacherRoster"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizationsBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizationsBase.php new file mode 100644 index 0000000..89d9929 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizationsBase.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["entryType"]; + } else { + return null; + } + } + + /** + * Sets the entryType + * Represents the sync entity (school, section, student, teacher). + * + * @param string $val The entryType + * + * @return EducationSynchronizationError + */ + public function setEntryType($val) + { + $this->_propDict["entryType"] = $val; + return $this; + } + + /** + * Gets the errorCode + * Represents the error code for this error. + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Represents the error code for this error. + * + * @param string $val The errorCode + * + * @return EducationSynchronizationError + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the errorMessage + * Contains a description of the error. + * + * @return string|null The errorMessage + */ + public function getErrorMessage() + { + if (array_key_exists("errorMessage", $this->_propDict)) { + return $this->_propDict["errorMessage"]; + } else { + return null; + } + } + + /** + * Sets the errorMessage + * Contains a description of the error. + * + * @param string $val The errorMessage + * + * @return EducationSynchronizationError + */ + public function setErrorMessage($val) + { + $this->_propDict["errorMessage"] = $val; + return $this; + } + + /** + * Gets the joiningValue + * The unique identifier for the entry. + * + * @return string|null The joiningValue + */ + public function getJoiningValue() + { + if (array_key_exists("joiningValue", $this->_propDict)) { + return $this->_propDict["joiningValue"]; + } else { + return null; + } + } + + /** + * Sets the joiningValue + * The unique identifier for the entry. + * + * @param string $val The joiningValue + * + * @return EducationSynchronizationError + */ + public function setJoiningValue($val) + { + $this->_propDict["joiningValue"] = $val; + return $this; + } + + /** + * Gets the recordedDateTime + * The time of occurrence of this error. + * + * @return \DateTime|null The recordedDateTime + */ + public function getRecordedDateTime() + { + if (array_key_exists("recordedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["recordedDateTime"], "\DateTime") || is_null($this->_propDict["recordedDateTime"])) { + return $this->_propDict["recordedDateTime"]; + } else { + $this->_propDict["recordedDateTime"] = new \DateTime($this->_propDict["recordedDateTime"]); + return $this->_propDict["recordedDateTime"]; + } + } + return null; + } + + /** + * Sets the recordedDateTime + * The time of occurrence of this error. + * + * @param \DateTime $val The recordedDateTime + * + * @return EducationSynchronizationError + */ + public function setRecordedDateTime($val) + { + $this->_propDict["recordedDateTime"] = $val; + return $this; + } + + /** + * Gets the reportableIdentifier + * The identifier of this error entry. + * + * @return string|null The reportableIdentifier + */ + public function getReportableIdentifier() + { + if (array_key_exists("reportableIdentifier", $this->_propDict)) { + return $this->_propDict["reportableIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the reportableIdentifier + * The identifier of this error entry. + * + * @param string $val The reportableIdentifier + * + * @return EducationSynchronizationError + */ + public function setReportableIdentifier($val) + { + $this->_propDict["reportableIdentifier"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationLicenseAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationLicenseAssignment.php new file mode 100644 index 0000000..64acaef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationLicenseAssignment.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["appliesTo"])) { + return $this->_propDict["appliesTo"]; + } else { + $this->_propDict["appliesTo"] = new EducationUserRole($this->_propDict["appliesTo"]); + return $this->_propDict["appliesTo"]; + } + } + return null; + } + + /** + * Sets the appliesTo + * The user role type to assign to license. Possible values are: student, teacher, faculty. + * + * @param EducationUserRole $val The value to assign to the appliesTo + * + * @return EducationSynchronizationLicenseAssignment The EducationSynchronizationLicenseAssignment + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the skuIds + * Represents the SKU identifiers of the licenses to assign. + * + * @return string|null The skuIds + */ + public function getSkuIds() + { + if (array_key_exists("skuIds", $this->_propDict)) { + return $this->_propDict["skuIds"]; + } else { + return null; + } + } + + /** + * Sets the skuIds + * Represents the SKU identifiers of the licenses to assign. + * + * @param string $val The value of the skuIds + * + * @return EducationSynchronizationLicenseAssignment + */ + public function setSkuIds($val) + { + $this->_propDict["skuIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationOAuth1ConnectionSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationOAuth1ConnectionSettings.php new file mode 100644 index 0000000..b2d4cab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationOAuth1ConnectionSettings.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * The scope of the access request (see RFC6749). + * + * @param string $val The value of the scope + * + * @return EducationSynchronizationOAuth2ClientCredentialsConnectionSettings + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + /** + * Gets the tokenUrl + * The URL to get access tokens for the data provider. + * + * @return string|null The tokenUrl + */ + public function getTokenUrl() + { + if (array_key_exists("tokenUrl", $this->_propDict)) { + return $this->_propDict["tokenUrl"]; + } else { + return null; + } + } + + /** + * Sets the tokenUrl + * The URL to get access tokens for the data provider. + * + * @param string $val The value of the tokenUrl + * + * @return EducationSynchronizationOAuth2ClientCredentialsConnectionSettings + */ + public function setTokenUrl($val) + { + $this->_propDict["tokenUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfile.php new file mode 100644 index 0000000..883770b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfile.php @@ -0,0 +1,310 @@ +_propDict)) { + if (is_a($this->_propDict["dataProvider"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationDataProvider") || is_null($this->_propDict["dataProvider"])) { + return $this->_propDict["dataProvider"]; + } else { + $this->_propDict["dataProvider"] = new EducationSynchronizationDataProvider($this->_propDict["dataProvider"]); + return $this->_propDict["dataProvider"]; + } + } + return null; + } + + /** + * Sets the dataProvider + * The data provider used for the profile. + * + * @param EducationSynchronizationDataProvider $val The dataProvider + * + * @return EducationSynchronizationProfile + */ + public function setDataProvider($val) + { + $this->_propDict["dataProvider"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the configuration profile for syncing identities. + * + * @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 + * Name of the configuration profile for syncing identities. + * + * @param string $val The displayName + * + * @return EducationSynchronizationProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expirationDate + * The date the profile should be considered expired and cease syncing. Provide the date in YYYY-MM-DD format, following ISO 8601. Maximum value is 18 months from profile creation. (optional) + * + * @return \DateTime|null The expirationDate + */ + public function getExpirationDate() + { + if (array_key_exists("expirationDate", $this->_propDict)) { + if (is_a($this->_propDict["expirationDate"], "\DateTime") || is_null($this->_propDict["expirationDate"])) { + return $this->_propDict["expirationDate"]; + } else { + $this->_propDict["expirationDate"] = new \DateTime($this->_propDict["expirationDate"]); + return $this->_propDict["expirationDate"]; + } + } + return null; + } + + /** + * Sets the expirationDate + * The date the profile should be considered expired and cease syncing. Provide the date in YYYY-MM-DD format, following ISO 8601. Maximum value is 18 months from profile creation. (optional) + * + * @param \DateTime $val The expirationDate + * + * @return EducationSynchronizationProfile + */ + public function setExpirationDate($val) + { + $this->_propDict["expirationDate"] = $val; + return $this; + } + + /** + * Gets the handleSpecialCharacterConstraint + * Determines if School Data Sync should automatically replace unsupported special characters while syncing from source. + * + * @return bool|null The handleSpecialCharacterConstraint + */ + public function getHandleSpecialCharacterConstraint() + { + if (array_key_exists("handleSpecialCharacterConstraint", $this->_propDict)) { + return $this->_propDict["handleSpecialCharacterConstraint"]; + } else { + return null; + } + } + + /** + * Sets the handleSpecialCharacterConstraint + * Determines if School Data Sync should automatically replace unsupported special characters while syncing from source. + * + * @param bool $val The handleSpecialCharacterConstraint + * + * @return EducationSynchronizationProfile + */ + public function setHandleSpecialCharacterConstraint($val) + { + $this->_propDict["handleSpecialCharacterConstraint"] = boolval($val); + return $this; + } + + /** + * Gets the identitySynchronizationConfiguration + * Determines how the Profile should [create new][fullsync] or [match existing][dirsync] AAD Users. + * + * @return EducationIdentitySynchronizationConfiguration|null The identitySynchronizationConfiguration + */ + public function getIdentitySynchronizationConfiguration() + { + if (array_key_exists("identitySynchronizationConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["identitySynchronizationConfiguration"], "\Beta\Microsoft\Graph\Model\EducationIdentitySynchronizationConfiguration") || is_null($this->_propDict["identitySynchronizationConfiguration"])) { + return $this->_propDict["identitySynchronizationConfiguration"]; + } else { + $this->_propDict["identitySynchronizationConfiguration"] = new EducationIdentitySynchronizationConfiguration($this->_propDict["identitySynchronizationConfiguration"]); + return $this->_propDict["identitySynchronizationConfiguration"]; + } + } + return null; + } + + /** + * Sets the identitySynchronizationConfiguration + * Determines how the Profile should [create new][fullsync] or [match existing][dirsync] AAD Users. + * + * @param EducationIdentitySynchronizationConfiguration $val The identitySynchronizationConfiguration + * + * @return EducationSynchronizationProfile + */ + public function setIdentitySynchronizationConfiguration($val) + { + $this->_propDict["identitySynchronizationConfiguration"] = $val; + return $this; + } + + + /** + * Gets the licensesToAssign + * License setup configuration. + * + * @return array|null The licensesToAssign + */ + public function getLicensesToAssign() + { + if (array_key_exists("licensesToAssign", $this->_propDict)) { + return $this->_propDict["licensesToAssign"]; + } else { + return null; + } + } + + /** + * Sets the licensesToAssign + * License setup configuration. + * + * @param EducationSynchronizationLicenseAssignment[] $val The licensesToAssign + * + * @return EducationSynchronizationProfile + */ + public function setLicensesToAssign($val) + { + $this->_propDict["licensesToAssign"] = $val; + return $this; + } + + /** + * Gets the state + * The state of the profile. Possible values are: provisioning, provisioned, provisioningFailed, deleting, deletionFailed. + * + * @return EducationSynchronizationProfileState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationProfileState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new EducationSynchronizationProfileState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the profile. Possible values are: provisioning, provisioned, provisioningFailed, deleting, deletionFailed. + * + * @param EducationSynchronizationProfileState $val The state + * + * @return EducationSynchronizationProfile + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the errors + * All errors associated with this synchronization profile. + * + * @return array|null The errors + */ + public function getErrors() + { + if (array_key_exists("errors", $this->_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * All errors associated with this synchronization profile. + * + * @param EducationSynchronizationError[] $val The errors + * + * @return EducationSynchronizationProfile + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + + /** + * Gets the profileStatus + * The synchronization status. + * + * @return EducationSynchronizationProfileStatus|null The profileStatus + */ + public function getProfileStatus() + { + if (array_key_exists("profileStatus", $this->_propDict)) { + if (is_a($this->_propDict["profileStatus"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationProfileStatus") || is_null($this->_propDict["profileStatus"])) { + return $this->_propDict["profileStatus"]; + } else { + $this->_propDict["profileStatus"] = new EducationSynchronizationProfileStatus($this->_propDict["profileStatus"]); + return $this->_propDict["profileStatus"]; + } + } + return null; + } + + /** + * Sets the profileStatus + * The synchronization status. + * + * @param EducationSynchronizationProfileStatus $val The profileStatus + * + * @return EducationSynchronizationProfile + */ + public function setProfileStatus($val) + { + $this->_propDict["profileStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfileState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfileState.php new file mode 100644 index 0000000..671257a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfileState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of errors during synchronization. + * + * @param int $val The errorCount + * + * @return EducationSynchronizationProfileStatus + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the lastActivityDateTime + * Represents the time when most recent changes were observed in profile. + * + * @return \DateTime|null The lastActivityDateTime + */ + public function getLastActivityDateTime() + { + if (array_key_exists("lastActivityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActivityDateTime"], "\DateTime") || is_null($this->_propDict["lastActivityDateTime"])) { + return $this->_propDict["lastActivityDateTime"]; + } else { + $this->_propDict["lastActivityDateTime"] = new \DateTime($this->_propDict["lastActivityDateTime"]); + return $this->_propDict["lastActivityDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActivityDateTime + * Represents the time when most recent changes were observed in profile. + * + * @param \DateTime $val The lastActivityDateTime + * + * @return EducationSynchronizationProfileStatus + */ + public function setLastActivityDateTime($val) + { + $this->_propDict["lastActivityDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSynchronizationDateTime + * Represents the time of the most recent successful synchronization. + * + * @return \DateTime|null The lastSynchronizationDateTime + */ + public function getLastSynchronizationDateTime() + { + if (array_key_exists("lastSynchronizationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSynchronizationDateTime"], "\DateTime") || is_null($this->_propDict["lastSynchronizationDateTime"])) { + return $this->_propDict["lastSynchronizationDateTime"]; + } else { + $this->_propDict["lastSynchronizationDateTime"] = new \DateTime($this->_propDict["lastSynchronizationDateTime"]); + return $this->_propDict["lastSynchronizationDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSynchronizationDateTime + * Represents the time of the most recent successful synchronization. + * + * @param \DateTime $val The lastSynchronizationDateTime + * + * @return EducationSynchronizationProfileStatus + */ + public function setLastSynchronizationDateTime($val) + { + $this->_propDict["lastSynchronizationDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of a sync. The possible values are: paused, inProgress, success, error, validationError, quarantined, unknownFutureValue, extracting, validating. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: extracting, validating. + * + * @return EducationSynchronizationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationSynchronizationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of a sync. The possible values are: paused, inProgress, success, error, validationError, quarantined, unknownFutureValue, extracting, validating. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: extracting, validating. + * + * @param EducationSynchronizationStatus $val The status + * + * @return EducationSynchronizationProfileStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the statusMessage + * Status message for the current profile's synchronization stage. + * + * @return string|null The statusMessage + */ + public function getStatusMessage() + { + if (array_key_exists("statusMessage", $this->_propDict)) { + return $this->_propDict["statusMessage"]; + } else { + return null; + } + } + + /** + * Sets the statusMessage + * Status message for the current profile's synchronization stage. + * + * @param string $val The statusMessage + * + * @return EducationSynchronizationProfileStatus + */ + public function setStatusMessage($val) + { + $this->_propDict["statusMessage"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationStatus.php new file mode 100644 index 0000000..4c437c5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationStatus.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * Id of the Teacher in external source system. + * + * @param string $val The value of the externalId + * + * @return EducationTeacher + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + /** + * Gets the teacherNumber + * Teacher number. + * + * @return string|null The teacherNumber + */ + public function getTeacherNumber() + { + if (array_key_exists("teacherNumber", $this->_propDict)) { + return $this->_propDict["teacherNumber"]; + } else { + return null; + } + } + + /** + * Sets the teacherNumber + * Teacher number. + * + * @param string $val The value of the teacherNumber + * + * @return EducationTeacher + */ + public function setTeacherNumber($val) + { + $this->_propDict["teacherNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTeamsAppResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTeamsAppResource.php new file mode 100644 index 0000000..ec4a285 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTeamsAppResource.php @@ -0,0 +1,149 @@ +setODataType("#microsoft.graph.educationTeamsAppResource"); + } + + /** + * Gets the appIconWebUrl + * URL that points to the app's icon. + * + * @return string|null The appIconWebUrl + */ + public function getAppIconWebUrl() + { + if (array_key_exists("appIconWebUrl", $this->_propDict)) { + return $this->_propDict["appIconWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the appIconWebUrl + * URL that points to the app's icon. + * + * @param string $val The value of the appIconWebUrl + * + * @return EducationTeamsAppResource + */ + public function setAppIconWebUrl($val) + { + $this->_propDict["appIconWebUrl"] = $val; + return $this; + } + /** + * Gets the appId + * Teams App ID of the application. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * Teams App ID of the application. + * + * @param string $val The value of the appId + * + * @return EducationTeamsAppResource + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the teamsEmbeddedContentUrl + * URL for the app resource that will be opened by Teams. + * + * @return string|null The teamsEmbeddedContentUrl + */ + public function getTeamsEmbeddedContentUrl() + { + if (array_key_exists("teamsEmbeddedContentUrl", $this->_propDict)) { + return $this->_propDict["teamsEmbeddedContentUrl"]; + } else { + return null; + } + } + + /** + * Sets the teamsEmbeddedContentUrl + * URL for the app resource that will be opened by Teams. + * + * @param string $val The value of the teamsEmbeddedContentUrl + * + * @return EducationTeamsAppResource + */ + public function setTeamsEmbeddedContentUrl($val) + { + $this->_propDict["teamsEmbeddedContentUrl"] = $val; + return $this; + } + /** + * Gets the webUrl + * URL for the app resource that can be opened in the browser. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL for the app resource that can be opened in the browser. + * + * @param string $val The value of the webUrl + * + * @return EducationTeamsAppResource + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTerm.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTerm.php new file mode 100644 index 0000000..adcbf12 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTerm.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the term. + * + * @param string $val The value of the displayName + * + * @return EducationTerm + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDate + * End of the term. + * + * @return \DateTime|null The endDate + */ + public function getEndDate() + { + if (array_key_exists("endDate", $this->_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * End of the term. + * + * @param \DateTime $val The value to assign to the endDate + * + * @return EducationTerm The EducationTerm + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + /** + * Gets the externalId + * ID of term in the syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of term in the syncing system. + * + * @param string $val The value of the externalId + * + * @return EducationTerm + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the startDate + * Start of the term. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * Start of the term. + * + * @param \DateTime $val The value to assign to the startDate + * + * @return EducationTerm The EducationTerm + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php new file mode 100644 index 0000000..7d4de4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php @@ -0,0 +1,1178 @@ +_propDict)) { + return $this->_propDict["relatedContacts"]; + } else { + return null; + } + } + + /** + * Sets the relatedContacts + * Related records related to the user. Possible relationships are parent, relative, aide, doctor, guardian, child, other, unknownFutureValue + * + * @param RelatedContact[] $val The relatedContacts + * + * @return EducationUser + */ + public function setRelatedContacts($val) + { + $this->_propDict["relatedContacts"] = $val; + return $this; + } + + /** + * Gets the accountEnabled + * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports /$filter. + * + * @return bool|null The accountEnabled + */ + public function getAccountEnabled() + { + if (array_key_exists("accountEnabled", $this->_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports /$filter. + * + * @param bool $val The accountEnabled + * + * @return EducationUser + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses that are assigned to the user. Not nullable. + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses that are assigned to the user. Not nullable. + * + * @param AssignedLicense[] $val The assignedLicenses + * + * @return EducationUser + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + + + /** + * Gets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable. + * + * @return array|null The assignedPlans + */ + public function getAssignedPlans() + { + if (array_key_exists("assignedPlans", $this->_propDict)) { + return $this->_propDict["assignedPlans"]; + } else { + return null; + } + } + + /** + * Sets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable. + * + * @param AssignedPlan[] $val The assignedPlans + * + * @return EducationUser + */ + public function setAssignedPlans($val) + { + $this->_propDict["assignedPlans"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property. + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property. + * + * @param string $val The businessPhones + * + * @return EducationUser + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Entity who created the user. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Entity who created the user. + * + * @param IdentitySet $val The createdBy + * + * @return EducationUser + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the department + * The name for the department in which the user works. Supports /$filter. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The name for the department in which the user works. Supports /$filter. + * + * @param string $val The department + * + * @return EducationUser + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name displayed in the address book for the user. Supports $filter and $orderby. + * + * @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 + * The name displayed in the address book for the user. Supports $filter and $orderby. + * + * @param string $val The displayName + * + * @return EducationUser + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @return EducationExternalSource|null The externalSource + */ + public function getExternalSource() + { + if (array_key_exists("externalSource", $this->_propDict)) { + if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) { + return $this->_propDict["externalSource"]; + } else { + $this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]); + return $this->_propDict["externalSource"]; + } + } + return null; + } + + /** + * Sets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @param EducationExternalSource $val The externalSource + * + * @return EducationUser + */ + public function setExternalSource($val) + { + $this->_propDict["externalSource"] = $val; + return $this; + } + + /** + * Gets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @return string|null The externalSourceDetail + */ + public function getExternalSourceDetail() + { + if (array_key_exists("externalSourceDetail", $this->_propDict)) { + return $this->_propDict["externalSourceDetail"]; + } else { + return null; + } + } + + /** + * Sets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @param string $val The externalSourceDetail + * + * @return EducationUser + */ + public function setExternalSourceDetail($val) + { + $this->_propDict["externalSourceDetail"] = $val; + return $this; + } + + /** + * Gets the givenName + * The given name (first name) of the user. Supports /$filter. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The given name (first name) of the user. Supports /$filter. + * + * @param string $val The givenName + * + * @return EducationUser + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports /$filter. + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports /$filter. + * + * @param string $val The mail + * + * @return EducationUser + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailingAddress + * Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @return PhysicalAddress|null The mailingAddress + */ + public function getMailingAddress() + { + if (array_key_exists("mailingAddress", $this->_propDict)) { + if (is_a($this->_propDict["mailingAddress"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["mailingAddress"])) { + return $this->_propDict["mailingAddress"]; + } else { + $this->_propDict["mailingAddress"] = new PhysicalAddress($this->_propDict["mailingAddress"]); + return $this->_propDict["mailingAddress"]; + } + } + return null; + } + + /** + * Sets the mailingAddress + * Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @param PhysicalAddress $val The mailingAddress + * + * @return EducationUser + */ + public function setMailingAddress($val) + { + $this->_propDict["mailingAddress"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Supports /$filter. + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Supports /$filter. + * + * @param string $val The mailNickname + * + * @return EducationUser + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the middleName + * The middle name of user. + * + * @return string|null The middleName + */ + public function getMiddleName() + { + if (array_key_exists("middleName", $this->_propDict)) { + return $this->_propDict["middleName"]; + } else { + return null; + } + } + + /** + * Sets the middleName + * The middle name of user. + * + * @param string $val The middleName + * + * @return EducationUser + */ + public function setMiddleName($val) + { + $this->_propDict["middleName"] = $val; + return $this; + } + + /** + * Gets the mobilePhone + * The primary cellular telephone number for the user. + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * The primary cellular telephone number for the user. + * + * @param string $val The mobilePhone + * + * @return EducationUser + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * + * @param string $val The officeLocation + * + * @return EducationUser + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the onPremisesInfo + * Additional information used to associate the AAD user with it's Active Directory counterpart. + * + * @return EducationOnPremisesInfo|null The onPremisesInfo + */ + public function getOnPremisesInfo() + { + if (array_key_exists("onPremisesInfo", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesInfo"], "\Beta\Microsoft\Graph\Model\EducationOnPremisesInfo") || is_null($this->_propDict["onPremisesInfo"])) { + return $this->_propDict["onPremisesInfo"]; + } else { + $this->_propDict["onPremisesInfo"] = new EducationOnPremisesInfo($this->_propDict["onPremisesInfo"]); + return $this->_propDict["onPremisesInfo"]; + } + } + return null; + } + + /** + * Sets the onPremisesInfo + * Additional information used to associate the AAD user with it's Active Directory counterpart. + * + * @param EducationOnPremisesInfo $val The onPremisesInfo + * + * @return EducationUser + */ + public function setOnPremisesInfo($val) + { + $this->_propDict["onPremisesInfo"] = $val; + return $this; + } + + /** + * Gets the passwordPolicies + * Specifies password policies for the user. See standard [user] resource for additional details. + * + * @return string|null The passwordPolicies + */ + public function getPasswordPolicies() + { + if (array_key_exists("passwordPolicies", $this->_propDict)) { + return $this->_propDict["passwordPolicies"]; + } else { + return null; + } + } + + /** + * Sets the passwordPolicies + * Specifies password policies for the user. See standard [user] resource for additional details. + * + * @param string $val The passwordPolicies + * + * @return EducationUser + */ + public function setPasswordPolicies($val) + { + $this->_propDict["passwordPolicies"] = $val; + return $this; + } + + /** + * Gets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details. + * + * @return PasswordProfile|null The passwordProfile + */ + public function getPasswordProfile() + { + if (array_key_exists("passwordProfile", $this->_propDict)) { + if (is_a($this->_propDict["passwordProfile"], "\Beta\Microsoft\Graph\Model\PasswordProfile") || is_null($this->_propDict["passwordProfile"])) { + return $this->_propDict["passwordProfile"]; + } else { + $this->_propDict["passwordProfile"] = new PasswordProfile($this->_propDict["passwordProfile"]); + return $this->_propDict["passwordProfile"]; + } + } + return null; + } + + /** + * Sets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details. + * + * @param PasswordProfile $val The passwordProfile + * + * @return EducationUser + */ + public function setPasswordProfile($val) + { + $this->_propDict["passwordProfile"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. + * + * @param string $val The preferredLanguage + * + * @return EducationUser + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + /** + * Gets the primaryRole + * Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, faculty. Supports /$filter. + * + * @return EducationUserRole|null The primaryRole + */ + public function getPrimaryRole() + { + if (array_key_exists("primaryRole", $this->_propDict)) { + if (is_a($this->_propDict["primaryRole"], "\Beta\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["primaryRole"])) { + return $this->_propDict["primaryRole"]; + } else { + $this->_propDict["primaryRole"] = new EducationUserRole($this->_propDict["primaryRole"]); + return $this->_propDict["primaryRole"]; + } + } + return null; + } + + /** + * Sets the primaryRole + * Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, faculty. Supports /$filter. + * + * @param EducationUserRole $val The primaryRole + * + * @return EducationUser + */ + public function setPrimaryRole($val) + { + $this->_propDict["primaryRole"] = $val; + return $this; + } + + + /** + * Gets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. + * + * @return array|null The provisionedPlans + */ + public function getProvisionedPlans() + { + if (array_key_exists("provisionedPlans", $this->_propDict)) { + return $this->_propDict["provisionedPlans"]; + } else { + return null; + } + } + + /** + * Sets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. + * + * @param ProvisionedPlan[] $val The provisionedPlans + * + * @return EducationUser + */ + public function setProvisionedPlans($val) + { + $this->_propDict["provisionedPlans"] = $val; + return $this; + } + + /** + * Gets the refreshTokensValidFromDateTime + * + * @return \DateTime|null The refreshTokensValidFromDateTime + */ + public function getRefreshTokensValidFromDateTime() + { + if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) { + if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime") || is_null($this->_propDict["refreshTokensValidFromDateTime"])) { + return $this->_propDict["refreshTokensValidFromDateTime"]; + } else { + $this->_propDict["refreshTokensValidFromDateTime"] = new \DateTime($this->_propDict["refreshTokensValidFromDateTime"]); + return $this->_propDict["refreshTokensValidFromDateTime"]; + } + } + return null; + } + + /** + * Sets the refreshTokensValidFromDateTime + * + * @param \DateTime $val The refreshTokensValidFromDateTime + * + * @return EducationUser + */ + public function setRefreshTokensValidFromDateTime($val) + { + $this->_propDict["refreshTokensValidFromDateTime"] = $val; + return $this; + } + + /** + * Gets the residenceAddress + * Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @return PhysicalAddress|null The residenceAddress + */ + public function getResidenceAddress() + { + if (array_key_exists("residenceAddress", $this->_propDict)) { + if (is_a($this->_propDict["residenceAddress"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["residenceAddress"])) { + return $this->_propDict["residenceAddress"]; + } else { + $this->_propDict["residenceAddress"] = new PhysicalAddress($this->_propDict["residenceAddress"]); + return $this->_propDict["residenceAddress"]; + } + } + return null; + } + + /** + * Sets the residenceAddress + * Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @param PhysicalAddress $val The residenceAddress + * + * @return EducationUser + */ + public function setResidenceAddress($val) + { + $this->_propDict["residenceAddress"] = $val; + return $this; + } + + /** + * Gets the showInAddressList + * True if the Outlook Global Address List should contain this user; otherwise, false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false. + * + * @return bool|null The showInAddressList + */ + public function getShowInAddressList() + { + if (array_key_exists("showInAddressList", $this->_propDict)) { + return $this->_propDict["showInAddressList"]; + } else { + return null; + } + } + + /** + * Sets the showInAddressList + * True if the Outlook Global Address List should contain this user; otherwise, false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false. + * + * @param bool $val The showInAddressList + * + * @return EducationUser + */ + public function setShowInAddressList($val) + { + $this->_propDict["showInAddressList"] = boolval($val); + return $this; + } + + /** + * Gets the student + * If the primary role is student, this block will contain student specific data. + * + * @return EducationStudent|null The student + */ + public function getStudent() + { + if (array_key_exists("student", $this->_propDict)) { + if (is_a($this->_propDict["student"], "\Beta\Microsoft\Graph\Model\EducationStudent") || is_null($this->_propDict["student"])) { + return $this->_propDict["student"]; + } else { + $this->_propDict["student"] = new EducationStudent($this->_propDict["student"]); + return $this->_propDict["student"]; + } + } + return null; + } + + /** + * Sets the student + * If the primary role is student, this block will contain student specific data. + * + * @param EducationStudent $val The student + * + * @return EducationUser + */ + public function setStudent($val) + { + $this->_propDict["student"] = $val; + return $this; + } + + /** + * Gets the surname + * The user's surname (family name or last name). Supports /$filter. + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The user's surname (family name or last name). Supports /$filter. + * + * @param string $val The surname + * + * @return EducationUser + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the teacher + * If the primary role is teacher, this block will contain teacher specific data. + * + * @return EducationTeacher|null The teacher + */ + public function getTeacher() + { + if (array_key_exists("teacher", $this->_propDict)) { + if (is_a($this->_propDict["teacher"], "\Beta\Microsoft\Graph\Model\EducationTeacher") || is_null($this->_propDict["teacher"])) { + return $this->_propDict["teacher"]; + } else { + $this->_propDict["teacher"] = new EducationTeacher($this->_propDict["teacher"]); + return $this->_propDict["teacher"]; + } + } + return null; + } + + /** + * Sets the teacher + * If the primary role is teacher, this block will contain teacher specific data. + * + * @param EducationTeacher $val The teacher + * + * @return EducationUser + */ + public function setTeacher($val) + { + $this->_propDict["teacher"] = $val; + return $this; + } + + /** + * Gets the usageLocation + * A two-letter country code ([ISO 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter. + * + * @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 + * A two-letter country code ([ISO 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter. + * + * @param string $val The usageLocation + * + * @return EducationUser + */ + public function setUsageLocation($val) + { + $this->_propDict["usageLocation"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details. + * + * @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 + * The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details. + * + * @param string $val The userPrincipalName + * + * @return EducationUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userType + * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports /$filter. + * + * @return string|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + return $this->_propDict["userType"]; + } else { + return null; + } + } + + /** + * Sets the userType + * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports /$filter. + * + * @param string $val The userType + * + * @return EducationUser + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } + + + /** + * Gets the assignments + * List of assignments for the user. Nullable. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * List of assignments for the user. Nullable. + * + * @param EducationAssignment[] $val The assignments + * + * @return EducationUser + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the rubrics + * When set, the grading rubric attached to the assignment. + * + * @return array|null The rubrics + */ + public function getRubrics() + { + if (array_key_exists("rubrics", $this->_propDict)) { + return $this->_propDict["rubrics"]; + } else { + return null; + } + } + + /** + * Sets the rubrics + * When set, the grading rubric attached to the assignment. + * + * @param EducationRubric[] $val The rubrics + * + * @return EducationUser + */ + public function setRubrics($val) + { + $this->_propDict["rubrics"] = $val; + return $this; + } + + + /** + * Gets the classes + * Classes to which the user belongs. Nullable. + * + * @return array|null The classes + */ + public function getClasses() + { + if (array_key_exists("classes", $this->_propDict)) { + return $this->_propDict["classes"]; + } else { + return null; + } + } + + /** + * Sets the classes + * Classes to which the user belongs. Nullable. + * + * @param EducationClass[] $val The classes + * + * @return EducationUser + */ + public function setClasses($val) + { + $this->_propDict["classes"] = $val; + return $this; + } + + + /** + * Gets the schools + * Schools to which the user belongs. Nullable. + * + * @return array|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * Schools to which the user belongs. Nullable. + * + * @param EducationSchool[] $val The schools + * + * @return EducationUser + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + + /** + * Gets the taughtClasses + * Classes for which the user is a teacher. + * + * @return array|null The taughtClasses + */ + public function getTaughtClasses() + { + if (array_key_exists("taughtClasses", $this->_propDict)) { + return $this->_propDict["taughtClasses"]; + } else { + return null; + } + } + + /** + * Sets the taughtClasses + * Classes for which the user is a teacher. + * + * @param EducationClass[] $val The taughtClasses + * + * @return EducationUser + */ + public function setTaughtClasses($val) + { + $this->_propDict["taughtClasses"] = $val; + return $this; + } + + /** + * Gets the user + * The directory user that corresponds to this user. + * + * @return User|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\User") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new User($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * The directory user that corresponds to this user. + * + * @param User $val The user + * + * @return EducationUser + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUserRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUserRole.php new file mode 100644 index 0000000..962f581 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUserRole.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.educationWordResource"); + } + + /** + * Gets the fileUrl + * Location of the file on disk. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location of the file on disk. + * + * @param string $val The value of the fileUrl + * + * @return EducationWordResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivity.php new file mode 100644 index 0000000..1dddc69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivity.php @@ -0,0 +1,192 @@ +_propDict)) { + if (is_a($this->_propDict["completionMonthYear"], "\DateTime") || is_null($this->_propDict["completionMonthYear"])) { + return $this->_propDict["completionMonthYear"]; + } else { + $this->_propDict["completionMonthYear"] = new \DateTime($this->_propDict["completionMonthYear"]); + return $this->_propDict["completionMonthYear"]; + } + } + return null; + } + + /** + * Sets the completionMonthYear + * The month and year the user graduated or completed the activity. + * + * @param \DateTime $val The completionMonthYear + * + * @return EducationalActivity + */ + public function setCompletionMonthYear($val) + { + $this->_propDict["completionMonthYear"] = $val; + return $this; + } + + /** + * Gets the endMonthYear + * The month and year the user completed the educational activity referenced. + * + * @return \DateTime|null The endMonthYear + */ + public function getEndMonthYear() + { + if (array_key_exists("endMonthYear", $this->_propDict)) { + if (is_a($this->_propDict["endMonthYear"], "\DateTime") || is_null($this->_propDict["endMonthYear"])) { + return $this->_propDict["endMonthYear"]; + } else { + $this->_propDict["endMonthYear"] = new \DateTime($this->_propDict["endMonthYear"]); + return $this->_propDict["endMonthYear"]; + } + } + return null; + } + + /** + * Sets the endMonthYear + * The month and year the user completed the educational activity referenced. + * + * @param \DateTime $val The endMonthYear + * + * @return EducationalActivity + */ + public function setEndMonthYear($val) + { + $this->_propDict["endMonthYear"] = $val; + return $this; + } + + /** + * Gets the institution + * Contains details of the institution studied at. + * + * @return InstitutionData|null The institution + */ + public function getInstitution() + { + if (array_key_exists("institution", $this->_propDict)) { + if (is_a($this->_propDict["institution"], "\Beta\Microsoft\Graph\Model\InstitutionData") || is_null($this->_propDict["institution"])) { + return $this->_propDict["institution"]; + } else { + $this->_propDict["institution"] = new InstitutionData($this->_propDict["institution"]); + return $this->_propDict["institution"]; + } + } + return null; + } + + /** + * Sets the institution + * Contains details of the institution studied at. + * + * @param InstitutionData $val The institution + * + * @return EducationalActivity + */ + public function setInstitution($val) + { + $this->_propDict["institution"] = $val; + return $this; + } + + /** + * Gets the program + * Contains extended information about the program or course. + * + * @return EducationalActivityDetail|null The program + */ + public function getProgram() + { + if (array_key_exists("program", $this->_propDict)) { + if (is_a($this->_propDict["program"], "\Beta\Microsoft\Graph\Model\EducationalActivityDetail") || is_null($this->_propDict["program"])) { + return $this->_propDict["program"]; + } else { + $this->_propDict["program"] = new EducationalActivityDetail($this->_propDict["program"]); + return $this->_propDict["program"]; + } + } + return null; + } + + /** + * Sets the program + * Contains extended information about the program or course. + * + * @param EducationalActivityDetail $val The program + * + * @return EducationalActivity + */ + public function setProgram($val) + { + $this->_propDict["program"] = $val; + return $this; + } + + /** + * Gets the startMonthYear + * The month and year the user commenced the activity referenced. + * + * @return \DateTime|null The startMonthYear + */ + public function getStartMonthYear() + { + if (array_key_exists("startMonthYear", $this->_propDict)) { + if (is_a($this->_propDict["startMonthYear"], "\DateTime") || is_null($this->_propDict["startMonthYear"])) { + return $this->_propDict["startMonthYear"]; + } else { + $this->_propDict["startMonthYear"] = new \DateTime($this->_propDict["startMonthYear"]); + return $this->_propDict["startMonthYear"]; + } + } + return null; + } + + /** + * Sets the startMonthYear + * The month and year the user commenced the activity referenced. + * + * @param \DateTime $val The startMonthYear + * + * @return EducationalActivity + */ + public function setStartMonthYear($val) + { + $this->_propDict["startMonthYear"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivityDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivityDetail.php new file mode 100644 index 0000000..bdae7bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivityDetail.php @@ -0,0 +1,278 @@ +_propDict)) { + return $this->_propDict["abbreviation"]; + } else { + return null; + } + } + + /** + * Sets the abbreviation + * Shortened name of the degree or program (example: PhD, MBA) + * + * @param string $val The value of the abbreviation + * + * @return EducationalActivityDetail + */ + public function setAbbreviation($val) + { + $this->_propDict["abbreviation"] = $val; + return $this; + } + /** + * Gets the activities + * Extracurricular activities undertaken alongside the program. + * + * @return string|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * Extracurricular activities undertaken alongside the program. + * + * @param string $val The value of the activities + * + * @return EducationalActivityDetail + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + /** + * Gets the awards + * Any awards or honors associated with the program. + * + * @return string|null The awards + */ + public function getAwards() + { + if (array_key_exists("awards", $this->_propDict)) { + return $this->_propDict["awards"]; + } else { + return null; + } + } + + /** + * Sets the awards + * Any awards or honors associated with the program. + * + * @param string $val The value of the awards + * + * @return EducationalActivityDetail + */ + public function setAwards($val) + { + $this->_propDict["awards"] = $val; + return $this; + } + /** + * Gets the description + * Short description of the program provided by the user. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Short description of the program provided by the user. + * + * @param string $val The value of the description + * + * @return EducationalActivityDetail + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Long-form name of the program that the user has provided. + * + * @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 + * Long-form name of the program that the user has provided. + * + * @param string $val The value of the displayName + * + * @return EducationalActivityDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the fieldsOfStudy + * Majors and minors associated with the program. (if applicable) + * + * @return string|null The fieldsOfStudy + */ + public function getFieldsOfStudy() + { + if (array_key_exists("fieldsOfStudy", $this->_propDict)) { + return $this->_propDict["fieldsOfStudy"]; + } else { + return null; + } + } + + /** + * Sets the fieldsOfStudy + * Majors and minors associated with the program. (if applicable) + * + * @param string $val The value of the fieldsOfStudy + * + * @return EducationalActivityDetail + */ + public function setFieldsOfStudy($val) + { + $this->_propDict["fieldsOfStudy"] = $val; + return $this; + } + /** + * Gets the grade + * The final grade, class, GPA or score. + * + * @return string|null The grade + */ + public function getGrade() + { + if (array_key_exists("grade", $this->_propDict)) { + return $this->_propDict["grade"]; + } else { + return null; + } + } + + /** + * Sets the grade + * The final grade, class, GPA or score. + * + * @param string $val The value of the grade + * + * @return EducationalActivityDetail + */ + public function setGrade($val) + { + $this->_propDict["grade"] = $val; + return $this; + } + /** + * Gets the notes + * Additional notes the user has provided. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Additional notes the user has provided. + * + * @param string $val The value of the notes + * + * @return EducationalActivityDetail + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + /** + * Gets the webUrl + * Link to the degree or program page. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Link to the degree or program page. + * + * @param string $val The value of the webUrl + * + * @return EducationalActivityDetail + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EligibilityFilteringEnabledEntities.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EligibilityFilteringEnabledEntities.php new file mode 100644 index 0000000..12e52b5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EligibilityFilteringEnabledEntities.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["afterHours"], "\DateInterval") || is_null($this->_propDict["afterHours"])) { + return $this->_propDict["afterHours"]; + } else { + $this->_propDict["afterHours"] = new \DateInterval($this->_propDict["afterHours"]); + return $this->_propDict["afterHours"]; + } + } + return null; + } + + /** + * Sets the afterHours + * Total hours spent on email outside of working hours, which is based on the user's Outlook calendar setting for work hours. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The afterHours + * + * @return EmailActivityStatistics + */ + public function setAfterHours($val) + { + $this->_propDict["afterHours"] = $val; + return $this; + } + + /** + * Gets the readEmail + * Total hours spent reading email. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The readEmail + */ + public function getReadEmail() + { + if (array_key_exists("readEmail", $this->_propDict)) { + if (is_a($this->_propDict["readEmail"], "\DateInterval") || is_null($this->_propDict["readEmail"])) { + return $this->_propDict["readEmail"]; + } else { + $this->_propDict["readEmail"] = new \DateInterval($this->_propDict["readEmail"]); + return $this->_propDict["readEmail"]; + } + } + return null; + } + + /** + * Sets the readEmail + * Total hours spent reading email. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The readEmail + * + * @return EmailActivityStatistics + */ + public function setReadEmail($val) + { + $this->_propDict["readEmail"] = $val; + return $this; + } + + /** + * Gets the sentEmail + * Total hours spent writing and sending email. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The sentEmail + */ + public function getSentEmail() + { + if (array_key_exists("sentEmail", $this->_propDict)) { + if (is_a($this->_propDict["sentEmail"], "\DateInterval") || is_null($this->_propDict["sentEmail"])) { + return $this->_propDict["sentEmail"]; + } else { + $this->_propDict["sentEmail"] = new \DateInterval($this->_propDict["sentEmail"]); + return $this->_propDict["sentEmail"]; + } + } + return null; + } + + /** + * Sets the sentEmail + * Total hours spent writing and sending email. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The sentEmail + * + * @return EmailActivityStatistics + */ + public function setSentEmail($val) + { + $this->_propDict["sentEmail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAddress.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAddress.php new file mode 100644 index 0000000..6c1129c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAddress.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address of an entity instance. + * + * @param string $val The value of the address + * + * @return EmailAddress + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the name + * The display name of an entity instance. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of an entity instance. + * + * @param string $val The value of the name + * + * @return EmailAddress + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethod.php new file mode 100644 index 0000000..c33c3b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethod.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The email address registered to this user. + * + * @param string $val The emailAddress + * + * @return EmailAuthenticationMethod + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..cbe4b8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethodConfiguration.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["allowExternalIdToUseEmailOtp"], "\Beta\Microsoft\Graph\Model\ExternalEmailOtpState") || is_null($this->_propDict["allowExternalIdToUseEmailOtp"])) { + return $this->_propDict["allowExternalIdToUseEmailOtp"]; + } else { + $this->_propDict["allowExternalIdToUseEmailOtp"] = new ExternalEmailOtpState($this->_propDict["allowExternalIdToUseEmailOtp"]); + return $this->_propDict["allowExternalIdToUseEmailOtp"]; + } + } + return null; + } + + /** + * Sets the allowExternalIdToUseEmailOtp + * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who did not use public preview will automatically have email OTP enabled beginning in October 2021. + * + * @param ExternalEmailOtpState $val The allowExternalIdToUseEmailOtp + * + * @return EmailAuthenticationMethodConfiguration + */ + public function setAllowExternalIdToUseEmailOtp($val) + { + $this->_propDict["allowExternalIdToUseEmailOtp"] = $val; + return $this; + } + + + /** + * Gets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @return array|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return EmailAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailCertificateType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailCertificateType.php new file mode 100644 index 0000000..5029f8b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailCertificateType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["contentData"]; + } else { + return null; + } + } + + /** + * Sets the contentData + * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * + * @param string $val The contentData + * + * @return EmailFileAssessmentRequest + */ + public function setContentData($val) + { + $this->_propDict["contentData"] = $val; + return $this; + } + + /** + * Gets the destinationRoutingReason + * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. + * + * @return MailDestinationRoutingReason|null The destinationRoutingReason + */ + public function getDestinationRoutingReason() + { + if (array_key_exists("destinationRoutingReason", $this->_propDict)) { + if (is_a($this->_propDict["destinationRoutingReason"], "\Beta\Microsoft\Graph\Model\MailDestinationRoutingReason") || is_null($this->_propDict["destinationRoutingReason"])) { + return $this->_propDict["destinationRoutingReason"]; + } else { + $this->_propDict["destinationRoutingReason"] = new MailDestinationRoutingReason($this->_propDict["destinationRoutingReason"]); + return $this->_propDict["destinationRoutingReason"]; + } + } + return null; + } + + /** + * Sets the destinationRoutingReason + * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. + * + * @param MailDestinationRoutingReason $val The destinationRoutingReason + * + * @return EmailFileAssessmentRequest + */ + public function setDestinationRoutingReason($val) + { + $this->_propDict["destinationRoutingReason"] = $val; + return $this; + } + + /** + * Gets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @return string|null The recipientEmail + */ + public function getRecipientEmail() + { + if (array_key_exists("recipientEmail", $this->_propDict)) { + return $this->_propDict["recipientEmail"]; + } else { + return null; + } + } + + /** + * Sets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @param string $val The recipientEmail + * + * @return EmailFileAssessmentRequest + */ + public function setRecipientEmail($val) + { + $this->_propDict["recipientEmail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailIdentity.php new file mode 100644 index 0000000..672b2ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailIdentity.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email address of the user. + * + * @param string $val The value of the email + * + * @return EmailIdentity + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailRole.php new file mode 100644 index 0000000..5dfb84b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailRole.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["integratedCircuitCardIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the integratedCircuitCardIdentifier + * The input must match the following regular expression: '^[0-9]{19}[0-9]?$'. + * + * @param string $val The value of the integratedCircuitCardIdentifier + * + * @return EmbeddedSIMActivationCode + */ + public function setIntegratedCircuitCardIdentifier($val) + { + $this->_propDict["integratedCircuitCardIdentifier"] = $val; + return $this; + } + /** + * Gets the matchingIdentifier + * The input must match the following regular expression: '^[a-zA-Z0-9\-]*$'. + * + * @return string|null The matchingIdentifier + */ + public function getMatchingIdentifier() + { + if (array_key_exists("matchingIdentifier", $this->_propDict)) { + return $this->_propDict["matchingIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the matchingIdentifier + * The input must match the following regular expression: '^[a-zA-Z0-9\-]*$'. + * + * @param string $val The value of the matchingIdentifier + * + * @return EmbeddedSIMActivationCode + */ + public function setMatchingIdentifier($val) + { + $this->_propDict["matchingIdentifier"] = $val; + return $this; + } + /** + * Gets the smdpPlusServerAddress + * The input must match the following regular expression: '^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-zA-Z]{2,}$'. + * + * @return string|null The smdpPlusServerAddress + */ + public function getSmdpPlusServerAddress() + { + if (array_key_exists("smdpPlusServerAddress", $this->_propDict)) { + return $this->_propDict["smdpPlusServerAddress"]; + } else { + return null; + } + } + + /** + * Sets the smdpPlusServerAddress + * The input must match the following regular expression: '^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-zA-Z]{2,}$'. + * + * @param string $val The value of the smdpPlusServerAddress + * + * @return EmbeddedSIMActivationCode + */ + public function setSmdpPlusServerAddress($val) + { + $this->_propDict["smdpPlusServerAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePool.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePool.php new file mode 100644 index 0000000..6c146f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePool.php @@ -0,0 +1,241 @@ +_propDict)) { + return $this->_propDict["activationCodeCount"]; + } else { + return null; + } + } + + /** + * Sets the activationCodeCount + * The total count of activation codes which belong to this pool. + * + * @param int $val The activationCodeCount + * + * @return EmbeddedSIMActivationCodePool + */ + public function setActivationCodeCount($val) + { + $this->_propDict["activationCodeCount"] = intval($val); + return $this; + } + + + /** + * Gets the activationCodes + * The activation codes which belong to this pool. This navigation property is used to post activation codes to Intune but cannot be used to read activation codes from Intune. + * + * @return array|null The activationCodes + */ + public function getActivationCodes() + { + if (array_key_exists("activationCodes", $this->_propDict)) { + return $this->_propDict["activationCodes"]; + } else { + return null; + } + } + + /** + * Sets the activationCodes + * The activation codes which belong to this pool. This navigation property is used to post activation codes to Intune but cannot be used to read activation codes from Intune. + * + * @param EmbeddedSIMActivationCode[] $val The activationCodes + * + * @return EmbeddedSIMActivationCodePool + */ + public function setActivationCodes($val) + { + $this->_propDict["activationCodes"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The time the embedded SIM activation code pool was created. Generated service side. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time the embedded SIM activation code pool was created. Generated service side. + * + * @param \DateTime $val The createdDateTime + * + * @return EmbeddedSIMActivationCodePool + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The admin defined name of the embedded SIM activation code pool. + * + * @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 + * The admin defined name of the embedded SIM activation code pool. + * + * @param string $val The displayName + * + * @return EmbeddedSIMActivationCodePool + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The time the embedded SIM activation code pool was last modified. Updated service side. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The time the embedded SIM activation code pool was last modified. Updated service side. + * + * @param \DateTime $val The modifiedDateTime + * + * @return EmbeddedSIMActivationCodePool + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Navigational property to a list of targets to which this pool is assigned. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigational property to a list of targets to which this pool is assigned. + * + * @param EmbeddedSIMActivationCodePoolAssignment[] $val The assignments + * + * @return EmbeddedSIMActivationCodePool + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * Navigational property to a list of device states for this pool. + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * Navigational property to a list of device states for this pool. + * + * @param EmbeddedSIMDeviceState[] $val The deviceStates + * + * @return EmbeddedSIMActivationCodePool + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePoolAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePoolAssignment.php new file mode 100644 index 0000000..81095fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePoolAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The type of groups targeted by the embedded SIM activation code pool. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return EmbeddedSIMActivationCodePoolAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceState.php new file mode 100644 index 0000000..293e40e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceState.php @@ -0,0 +1,275 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time the embedded SIM device status was created. Generated service side. + * + * @param \DateTime $val The createdDateTime + * + * @return EmbeddedSIMDeviceState + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name to which the subscription was provisioned e.g. DESKTOP-JOE + * + * @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 + * Device name to which the subscription was provisioned e.g. DESKTOP-JOE + * + * @param string $val The deviceName + * + * @return EmbeddedSIMDeviceState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The time the embedded SIM device last checked in. Updated service side. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The time the embedded SIM device last checked in. Updated service side. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return EmbeddedSIMDeviceState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The time the embedded SIM device status was last modified. Updated service side. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The time the embedded SIM device status was last modified. Updated service side. + * + * @param \DateTime $val The modifiedDateTime + * + * @return EmbeddedSIMDeviceState + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The state of the profile operation applied to the device. Possible values are: notEvaluated, failed, installing, installed, deleting, error, deleted, removedByUser. + * + * @return EmbeddedSIMDeviceStateValue|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\EmbeddedSIMDeviceStateValue") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new EmbeddedSIMDeviceStateValue($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the profile operation applied to the device. Possible values are: notEvaluated, failed, installing, installed, deleting, error, deleted, removedByUser. + * + * @param EmbeddedSIMDeviceStateValue $val The state + * + * @return EmbeddedSIMDeviceState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the stateDetails + * String description of the provisioning state. + * + * @return string|null The stateDetails + */ + public function getStateDetails() + { + if (array_key_exists("stateDetails", $this->_propDict)) { + return $this->_propDict["stateDetails"]; + } else { + return null; + } + } + + /** + * Sets the stateDetails + * String description of the provisioning state. + * + * @param string $val The stateDetails + * + * @return EmbeddedSIMDeviceState + */ + public function setStateDetails($val) + { + $this->_propDict["stateDetails"] = $val; + return $this; + } + + /** + * Gets the universalIntegratedCircuitCardIdentifier + * The Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed. + * + * @return string|null The universalIntegratedCircuitCardIdentifier + */ + public function getUniversalIntegratedCircuitCardIdentifier() + { + if (array_key_exists("universalIntegratedCircuitCardIdentifier", $this->_propDict)) { + return $this->_propDict["universalIntegratedCircuitCardIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the universalIntegratedCircuitCardIdentifier + * The Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed. + * + * @param string $val The universalIntegratedCircuitCardIdentifier + * + * @return EmbeddedSIMDeviceState + */ + public function setUniversalIntegratedCircuitCardIdentifier($val) + { + $this->_propDict["universalIntegratedCircuitCardIdentifier"] = $val; + return $this; + } + + /** + * Gets the userName + * Username which the subscription was provisioned to e.g. joe@contoso.com + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * Username which the subscription was provisioned to e.g. joe@contoso.com + * + * @param string $val The userName + * + * @return EmbeddedSIMDeviceState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceStateValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceStateValue.php new file mode 100644 index 0000000..f49a337 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceStateValue.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PostalAddressType($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param PostalAddressType $val The address + * + * @return Employee + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the birthDate + * + * @return \DateTime|null The birthDate + */ + public function getBirthDate() + { + if (array_key_exists("birthDate", $this->_propDict)) { + if (is_a($this->_propDict["birthDate"], "\DateTime") || is_null($this->_propDict["birthDate"])) { + return $this->_propDict["birthDate"]; + } else { + $this->_propDict["birthDate"] = new \DateTime($this->_propDict["birthDate"]); + return $this->_propDict["birthDate"]; + } + } + return null; + } + + /** + * Sets the birthDate + * + * @param \DateTime $val The birthDate + * + * @return Employee + */ + public function setBirthDate($val) + { + $this->_propDict["birthDate"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Employee + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return Employee + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the employmentDate + * + * @return \DateTime|null The employmentDate + */ + public function getEmploymentDate() + { + if (array_key_exists("employmentDate", $this->_propDict)) { + if (is_a($this->_propDict["employmentDate"], "\DateTime") || is_null($this->_propDict["employmentDate"])) { + return $this->_propDict["employmentDate"]; + } else { + $this->_propDict["employmentDate"] = new \DateTime($this->_propDict["employmentDate"]); + return $this->_propDict["employmentDate"]; + } + } + return null; + } + + /** + * Sets the employmentDate + * + * @param \DateTime $val The employmentDate + * + * @return Employee + */ + public function setEmploymentDate($val) + { + $this->_propDict["employmentDate"] = $val; + return $this; + } + + /** + * Gets the givenName + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * + * @param string $val The givenName + * + * @return Employee + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the jobTitle + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * + * @param string $val The jobTitle + * + * @return Employee + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Employee + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the middleName + * + * @return string|null The middleName + */ + public function getMiddleName() + { + if (array_key_exists("middleName", $this->_propDict)) { + return $this->_propDict["middleName"]; + } else { + return null; + } + } + + /** + * Sets the middleName + * + * @param string $val The middleName + * + * @return Employee + */ + public function setMiddleName($val) + { + $this->_propDict["middleName"] = $val; + return $this; + } + + /** + * Gets the mobilePhone + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * + * @param string $val The mobilePhone + * + * @return Employee + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return Employee + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the personalEmail + * + * @return string|null The personalEmail + */ + public function getPersonalEmail() + { + if (array_key_exists("personalEmail", $this->_propDict)) { + return $this->_propDict["personalEmail"]; + } else { + return null; + } + } + + /** + * Sets the personalEmail + * + * @param string $val The personalEmail + * + * @return Employee + */ + public function setPersonalEmail($val) + { + $this->_propDict["personalEmail"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return Employee + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the statisticsGroupCode + * + * @return string|null The statisticsGroupCode + */ + public function getStatisticsGroupCode() + { + if (array_key_exists("statisticsGroupCode", $this->_propDict)) { + return $this->_propDict["statisticsGroupCode"]; + } else { + return null; + } + } + + /** + * Sets the statisticsGroupCode + * + * @param string $val The statisticsGroupCode + * + * @return Employee + */ + public function setStatisticsGroupCode($val) + { + $this->_propDict["statisticsGroupCode"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return Employee + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the surname + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * + * @param string $val The surname + * + * @return Employee + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the terminationDate + * + * @return \DateTime|null The terminationDate + */ + public function getTerminationDate() + { + if (array_key_exists("terminationDate", $this->_propDict)) { + if (is_a($this->_propDict["terminationDate"], "\DateTime") || is_null($this->_propDict["terminationDate"])) { + return $this->_propDict["terminationDate"]; + } else { + $this->_propDict["terminationDate"] = new \DateTime($this->_propDict["terminationDate"]); + return $this->_propDict["terminationDate"]; + } + } + return null; + } + + /** + * Sets the terminationDate + * + * @param \DateTime $val The terminationDate + * + * @return Employee + */ + public function setTerminationDate($val) + { + $this->_propDict["terminationDate"] = $val; + return $this; + } + + + /** + * Gets the picture + * + * @return array|null The picture + */ + public function getPicture() + { + if (array_key_exists("picture", $this->_propDict)) { + return $this->_propDict["picture"]; + } else { + return null; + } + } + + /** + * Sets the picture + * + * @param Picture[] $val The picture + * + * @return Employee + */ + public function setPicture($val) + { + $this->_propDict["picture"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmployeeOrgData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmployeeOrgData.php new file mode 100644 index 0000000..a711c37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmployeeOrgData.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["costCenter"]; + } else { + return null; + } + } + + /** + * Sets the costCenter + * The cost center associated with the user. Returned only on $select. Supports $filter. + * + * @param string $val The value of the costCenter + * + * @return EmployeeOrgData + */ + public function setCostCenter($val) + { + $this->_propDict["costCenter"] = $val; + return $this; + } + /** + * Gets the division + * The name of the division in which the user works. Returned only on $select. Supports $filter. + * + * @return string|null The division + */ + public function getDivision() + { + if (array_key_exists("division", $this->_propDict)) { + return $this->_propDict["division"]; + } else { + return null; + } + } + + /** + * Sets the division + * The name of the division in which the user works. Returned only on $select. Supports $filter. + * + * @param string $val The value of the division + * + * @return EmployeeOrgData + */ + public function setDivision($val) + { + $this->_propDict["division"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Enablement.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Enablement.php new file mode 100644 index 0000000..e0c9a60 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Enablement.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["encryptWith"], "\Beta\Microsoft\Graph\Model\EncryptWith") || is_null($this->_propDict["encryptWith"])) { + return $this->_propDict["encryptWith"]; + } else { + $this->_propDict["encryptWith"] = new EncryptWith($this->_propDict["encryptWith"]); + return $this->_propDict["encryptWith"]; + } + } + return null; + } + + /** + * Sets the encryptWith + * + * @param EncryptWith $val The value to assign to the encryptWith + * + * @return EncryptContent The EncryptContent + */ + public function setEncryptWith($val) + { + $this->_propDict["encryptWith"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWith.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWith.php new file mode 100644 index 0000000..9636ad4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWith.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["availableForEncryption"]; + } else { + return null; + } + } + + /** + * Sets the availableForEncryption + * + * @param bool $val The value of the availableForEncryption + * + * @return EncryptWithTemplate + */ + public function setAvailableForEncryption($val) + { + $this->_propDict["availableForEncryption"] = $val; + return $this; + } + /** + * Gets the templateId + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * + * @param string $val The value of the templateId + * + * @return EncryptWithTemplate + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWithUserDefinedRights.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWithUserDefinedRights.php new file mode 100644 index 0000000..868e560 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWithUserDefinedRights.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["allowAdHocPermissions"]; + } else { + return null; + } + } + + /** + * Sets the allowAdHocPermissions + * + * @param bool $val The value of the allowAdHocPermissions + * + * @return EncryptWithUserDefinedRights + */ + public function setAllowAdHocPermissions($val) + { + $this->_propDict["allowAdHocPermissions"] = $val; + return $this; + } + /** + * Gets the allowMailForwarding + * + * @return bool|null The allowMailForwarding + */ + public function getAllowMailForwarding() + { + if (array_key_exists("allowMailForwarding", $this->_propDict)) { + return $this->_propDict["allowMailForwarding"]; + } else { + return null; + } + } + + /** + * Sets the allowMailForwarding + * + * @param bool $val The value of the allowMailForwarding + * + * @return EncryptWithUserDefinedRights + */ + public function setAllowMailForwarding($val) + { + $this->_propDict["allowMailForwarding"] = $val; + return $this; + } + /** + * Gets the decryptionRightsManagementTemplateId + * + * @return string|null The decryptionRightsManagementTemplateId + */ + public function getDecryptionRightsManagementTemplateId() + { + if (array_key_exists("decryptionRightsManagementTemplateId", $this->_propDict)) { + return $this->_propDict["decryptionRightsManagementTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the decryptionRightsManagementTemplateId + * + * @param string $val The value of the decryptionRightsManagementTemplateId + * + * @return EncryptWithUserDefinedRights + */ + public function setDecryptionRightsManagementTemplateId($val) + { + $this->_propDict["decryptionRightsManagementTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionReadinessState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionReadinessState.php new file mode 100644 index 0000000..eba29ec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionReadinessState.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * Policy Id for Encryption Report + * + * @param string $val The value of the policyId + * + * @return EncryptionReportPolicyDetails + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + /** + * Gets the policyName + * Policy Name for Encryption Report + * + * @return string|null The policyName + */ + public function getPolicyName() + { + if (array_key_exists("policyName", $this->_propDict)) { + return $this->_propDict["policyName"]; + } else { + return null; + } + } + + /** + * Sets the policyName + * Policy Name for Encryption Report + * + * @param string $val The value of the policyName + * + * @return EncryptionReportPolicyDetails + */ + public function setPolicyName($val) + { + $this->_propDict["policyName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionState.php new file mode 100644 index 0000000..cd872ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionState.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["capability"]; + } else { + return null; + } + } + + /** + * Sets the capability + * Describes the capability that is associated with this resource. (e.g. Messages, Conversations, etc.) Not nullable. Read-only. + * + * @param string $val The capability + * + * @return Endpoint + */ + public function setCapability($val) + { + $this->_propDict["capability"] = $val; + return $this; + } + + /** + * Gets the providerId + * Application id of the publishing underlying service. Not nullable. Read-only. + * + * @return string|null The providerId + */ + public function getProviderId() + { + if (array_key_exists("providerId", $this->_propDict)) { + return $this->_propDict["providerId"]; + } else { + return null; + } + } + + /** + * Sets the providerId + * Application id of the publishing underlying service. Not nullable. Read-only. + * + * @param string $val The providerId + * + * @return Endpoint + */ + public function setProviderId($val) + { + $this->_propDict["providerId"] = $val; + return $this; + } + + /** + * Gets the providerName + * Name of the publishing underlying service. Read-only. + * + * @return string|null The providerName + */ + public function getProviderName() + { + if (array_key_exists("providerName", $this->_propDict)) { + return $this->_propDict["providerName"]; + } else { + return null; + } + } + + /** + * Sets the providerName + * Name of the publishing underlying service. Read-only. + * + * @param string $val The providerName + * + * @return Endpoint + */ + public function setProviderName($val) + { + $this->_propDict["providerName"] = $val; + return $this; + } + + /** + * Gets the providerResourceId + * For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only. + * + * @return string|null The providerResourceId + */ + public function getProviderResourceId() + { + if (array_key_exists("providerResourceId", $this->_propDict)) { + return $this->_propDict["providerResourceId"]; + } else { + return null; + } + } + + /** + * Sets the providerResourceId + * For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only. + * + * @param string $val The providerResourceId + * + * @return Endpoint + */ + public function setProviderResourceId($val) + { + $this->_propDict["providerResourceId"] = $val; + return $this; + } + + /** + * Gets the uri + * URL of the published resource. Not nullable. Read-only. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * URL of the published resource. Not nullable. Read-only. + * + * @param string $val The uri + * + * @return Endpoint + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EndpointSecurityConfigurationApplicablePlatform.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EndpointSecurityConfigurationApplicablePlatform.php new file mode 100644 index 0000000..bc4cfac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EndpointSecurityConfigurationApplicablePlatform.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Type of resource used for deployment to a group, direct or policySet. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return EnrollmentConfigurationAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * Identifier for resource used for deployment to a group + * + * @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 + * Identifier for resource used for deployment to a group + * + * @param string $val The sourceId + * + * @return EnrollmentConfigurationAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * Represents an assignment to managed devices in the tenant + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Represents an assignment to managed devices in the tenant + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return EnrollmentConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentNotificationBrandingOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentNotificationBrandingOptions.php new file mode 100644 index 0000000..dc0943d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentNotificationBrandingOptions.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["configurationEndpointUrl"]; + } else { + return null; + } + } + + /** + * Sets the configurationEndpointUrl + * Configuration endpoint url to use for Enrollment + * + * @param string $val The configurationEndpointUrl + * + * @return EnrollmentProfile + */ + public function setConfigurationEndpointUrl($val) + { + $this->_propDict["configurationEndpointUrl"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the profile + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the profile + * + * @param string $val The description + * + * @return EnrollmentProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the profile + * + * @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 + * Name of the profile + * + * @param string $val The displayName + * + * @return EnrollmentProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enableAuthenticationViaCompanyPortal + * Indicates to authenticate with Apple Setup Assistant instead of Company Portal. + * + * @return bool|null The enableAuthenticationViaCompanyPortal + */ + public function getEnableAuthenticationViaCompanyPortal() + { + if (array_key_exists("enableAuthenticationViaCompanyPortal", $this->_propDict)) { + return $this->_propDict["enableAuthenticationViaCompanyPortal"]; + } else { + return null; + } + } + + /** + * Sets the enableAuthenticationViaCompanyPortal + * Indicates to authenticate with Apple Setup Assistant instead of Company Portal. + * + * @param bool $val The enableAuthenticationViaCompanyPortal + * + * @return EnrollmentProfile + */ + public function setEnableAuthenticationViaCompanyPortal($val) + { + $this->_propDict["enableAuthenticationViaCompanyPortal"] = boolval($val); + return $this; + } + + /** + * Gets the requireCompanyPortalOnSetupAssistantEnrolledDevices + * Indicates that Company Portal is required on setup assistant enrolled devices + * + * @return bool|null The requireCompanyPortalOnSetupAssistantEnrolledDevices + */ + public function getRequireCompanyPortalOnSetupAssistantEnrolledDevices() + { + if (array_key_exists("requireCompanyPortalOnSetupAssistantEnrolledDevices", $this->_propDict)) { + return $this->_propDict["requireCompanyPortalOnSetupAssistantEnrolledDevices"]; + } else { + return null; + } + } + + /** + * Sets the requireCompanyPortalOnSetupAssistantEnrolledDevices + * Indicates that Company Portal is required on setup assistant enrolled devices + * + * @param bool $val The requireCompanyPortalOnSetupAssistantEnrolledDevices + * + * @return EnrollmentProfile + */ + public function setRequireCompanyPortalOnSetupAssistantEnrolledDevices($val) + { + $this->_propDict["requireCompanyPortalOnSetupAssistantEnrolledDevices"] = boolval($val); + return $this; + } + + /** + * Gets the requiresUserAuthentication + * Indicates if the profile requires user authentication + * + * @return bool|null The requiresUserAuthentication + */ + public function getRequiresUserAuthentication() + { + if (array_key_exists("requiresUserAuthentication", $this->_propDict)) { + return $this->_propDict["requiresUserAuthentication"]; + } else { + return null; + } + } + + /** + * Sets the requiresUserAuthentication + * Indicates if the profile requires user authentication + * + * @param bool $val The requiresUserAuthentication + * + * @return EnrollmentProfile + */ + public function setRequiresUserAuthentication($val) + { + $this->_propDict["requiresUserAuthentication"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentRestrictionPlatformType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentRestrictionPlatformType.php new file mode 100644 index 0000000..f636b06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentRestrictionPlatformType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["limit"]; + } else { + return null; + } + } + + /** + * Sets the limit + * Limit of the EnrollmentRestrictionsConfigurationPolicySetItem. + * + * @param int $val The limit + * + * @return EnrollmentRestrictionsConfigurationPolicySetItem + */ + public function setLimit($val) + { + $this->_propDict["limit"] = intval($val); + return $this; + } + + /** + * Gets the priority + * Priority of the EnrollmentRestrictionsConfigurationPolicySetItem. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority of the EnrollmentRestrictionsConfigurationPolicySetItem. + * + * @param int $val The priority + * + * @return EnrollmentRestrictionsConfigurationPolicySetItem + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentState.php new file mode 100644 index 0000000..b7ad0f3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * Azure AD device identifier. + * + * @param string $val The deviceId + * + * @return EnrollmentTroubleshootingEvent + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the enrollmentType + * Type of the enrollment. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @return DeviceEnrollmentType|null The enrollmentType + */ + public function getEnrollmentType() + { + if (array_key_exists("enrollmentType", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentType"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentType") || is_null($this->_propDict["enrollmentType"])) { + return $this->_propDict["enrollmentType"]; + } else { + $this->_propDict["enrollmentType"] = new DeviceEnrollmentType($this->_propDict["enrollmentType"]); + return $this->_propDict["enrollmentType"]; + } + } + return null; + } + + /** + * Sets the enrollmentType + * Type of the enrollment. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @param DeviceEnrollmentType $val The enrollmentType + * + * @return EnrollmentTroubleshootingEvent + */ + public function setEnrollmentType($val) + { + $this->_propDict["enrollmentType"] = $val; + return $this; + } + + /** + * Gets the failureCategory + * Highlevel failure category. Possible values are: unknown, authentication, authorization, accountValidation, userValidation, deviceNotSupported, inMaintenance, badRequest, featureNotSupported, enrollmentRestrictionsEnforced, clientDisconnected, userAbandonment. + * + * @return DeviceEnrollmentFailureReason|null The failureCategory + */ + public function getFailureCategory() + { + if (array_key_exists("failureCategory", $this->_propDict)) { + if (is_a($this->_propDict["failureCategory"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentFailureReason") || is_null($this->_propDict["failureCategory"])) { + return $this->_propDict["failureCategory"]; + } else { + $this->_propDict["failureCategory"] = new DeviceEnrollmentFailureReason($this->_propDict["failureCategory"]); + return $this->_propDict["failureCategory"]; + } + } + return null; + } + + /** + * Sets the failureCategory + * Highlevel failure category. Possible values are: unknown, authentication, authorization, accountValidation, userValidation, deviceNotSupported, inMaintenance, badRequest, featureNotSupported, enrollmentRestrictionsEnforced, clientDisconnected, userAbandonment. + * + * @param DeviceEnrollmentFailureReason $val The failureCategory + * + * @return EnrollmentTroubleshootingEvent + */ + public function setFailureCategory($val) + { + $this->_propDict["failureCategory"] = $val; + return $this; + } + + /** + * Gets the failureReason + * Detailed failure reason. + * + * @return string|null The failureReason + */ + public function getFailureReason() + { + if (array_key_exists("failureReason", $this->_propDict)) { + return $this->_propDict["failureReason"]; + } else { + return null; + } + } + + /** + * Sets the failureReason + * Detailed failure reason. + * + * @param string $val The failureReason + * + * @return EnrollmentTroubleshootingEvent + */ + public function setFailureReason($val) + { + $this->_propDict["failureReason"] = $val; + return $this; + } + + /** + * Gets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @return string|null The managedDeviceIdentifier + */ + public function getManagedDeviceIdentifier() + { + if (array_key_exists("managedDeviceIdentifier", $this->_propDict)) { + return $this->_propDict["managedDeviceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @param string $val The managedDeviceIdentifier + * + * @return EnrollmentTroubleshootingEvent + */ + public function setManagedDeviceIdentifier($val) + { + $this->_propDict["managedDeviceIdentifier"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * Operating System. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * Operating System. + * + * @param string $val The operatingSystem + * + * @return EnrollmentTroubleshootingEvent + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the osVersion + * OS Version. + * + * @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 + * OS Version. + * + * @param string $val The osVersion + * + * @return EnrollmentTroubleshootingEvent + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the userId + * Identifier for the user that tried to enroll the device. + * + * @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 + * Identifier for the user that tried to enroll the device. + * + * @param string $val The userId + * + * @return EnrollmentTroubleshootingEvent + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnterpriseCodeSigningCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnterpriseCodeSigningCertificate.php new file mode 100644 index 0000000..9ac65e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnterpriseCodeSigningCertificate.php @@ -0,0 +1,275 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The Windows Enterprise Code-Signing Certificate in the raw data format. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return EnterpriseCodeSigningCertificate + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The Cert Expiration Date. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The Cert Expiration Date. + * + * @param \DateTime $val The expirationDateTime + * + * @return EnterpriseCodeSigningCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the issuer + * The Issuer value for the cert. + * + * @return string|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * The Issuer value for the cert. + * + * @param string $val The issuer + * + * @return EnterpriseCodeSigningCertificate + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the issuerName + * The Issuer Name for the cert. + * + * @return string|null The issuerName + */ + public function getIssuerName() + { + if (array_key_exists("issuerName", $this->_propDict)) { + return $this->_propDict["issuerName"]; + } else { + return null; + } + } + + /** + * Sets the issuerName + * The Issuer Name for the cert. + * + * @param string $val The issuerName + * + * @return EnterpriseCodeSigningCertificate + */ + public function setIssuerName($val) + { + $this->_propDict["issuerName"] = $val; + return $this; + } + + /** + * Gets the status + * The Certificate Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned. + * + * @return CertificateStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CertificateStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CertificateStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The Certificate Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned. + * + * @param CertificateStatus $val The status + * + * @return EnterpriseCodeSigningCertificate + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the subject + * The Subject Value for the cert. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The Subject Value for the cert. + * + * @param string $val The subject + * + * @return EnterpriseCodeSigningCertificate + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the subjectName + * The Subject Name for the cert. + * + * @return string|null The subjectName + */ + public function getSubjectName() + { + if (array_key_exists("subjectName", $this->_propDict)) { + return $this->_propDict["subjectName"]; + } else { + return null; + } + } + + /** + * Sets the subjectName + * The Subject Name for the cert. + * + * @param string $val The subjectName + * + * @return EnterpriseCodeSigningCertificate + */ + public function setSubjectName($val) + { + $this->_propDict["subjectName"] = $val; + return $this; + } + + /** + * Gets the uploadDateTime + * The date time of CodeSigning Cert when it is uploaded. + * + * @return \DateTime|null The uploadDateTime + */ + public function getUploadDateTime() + { + if (array_key_exists("uploadDateTime", $this->_propDict)) { + if (is_a($this->_propDict["uploadDateTime"], "\DateTime") || is_null($this->_propDict["uploadDateTime"])) { + return $this->_propDict["uploadDateTime"]; + } else { + $this->_propDict["uploadDateTime"] = new \DateTime($this->_propDict["uploadDateTime"]); + return $this->_propDict["uploadDateTime"]; + } + } + return null; + } + + /** + * Sets the uploadDateTime + * The date time of CodeSigning Cert when it is uploaded. + * + * @param \DateTime $val The uploadDateTime + * + * @return EnterpriseCodeSigningCertificate + */ + public function setUploadDateTime($val) + { + $this->_propDict["uploadDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagement.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagement.php new file mode 100644 index 0000000..def5bbd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagement.php @@ -0,0 +1,420 @@ +_propDict)) { + return $this->_propDict["accessPackageAssignmentApprovals"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentApprovals + * Approval stages for assignment requests. + * + * @param Approval[] $val The accessPackageAssignmentApprovals + * + * @return EntitlementManagement + */ + public function setAccessPackageAssignmentApprovals($val) + { + $this->_propDict["accessPackageAssignmentApprovals"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignmentPolicies + * Represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. + * + * @return array|null The accessPackageAssignmentPolicies + */ + public function getAccessPackageAssignmentPolicies() + { + if (array_key_exists("accessPackageAssignmentPolicies", $this->_propDict)) { + return $this->_propDict["accessPackageAssignmentPolicies"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentPolicies + * Represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. + * + * @param AccessPackageAssignmentPolicy[] $val The accessPackageAssignmentPolicies + * + * @return EntitlementManagement + */ + public function setAccessPackageAssignmentPolicies($val) + { + $this->_propDict["accessPackageAssignmentPolicies"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignmentRequests + * Represents access package assignment requests created by or on behalf of a user. + * + * @return array|null The accessPackageAssignmentRequests + */ + public function getAccessPackageAssignmentRequests() + { + if (array_key_exists("accessPackageAssignmentRequests", $this->_propDict)) { + return $this->_propDict["accessPackageAssignmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentRequests + * Represents access package assignment requests created by or on behalf of a user. + * + * @param AccessPackageAssignmentRequest[] $val The accessPackageAssignmentRequests + * + * @return EntitlementManagement + */ + public function setAccessPackageAssignmentRequests($val) + { + $this->_propDict["accessPackageAssignmentRequests"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignmentResourceRoles + * Represents the resource-specific role which a subject has been assigned through an access package assignment. + * + * @return array|null The accessPackageAssignmentResourceRoles + */ + public function getAccessPackageAssignmentResourceRoles() + { + if (array_key_exists("accessPackageAssignmentResourceRoles", $this->_propDict)) { + return $this->_propDict["accessPackageAssignmentResourceRoles"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentResourceRoles + * Represents the resource-specific role which a subject has been assigned through an access package assignment. + * + * @param AccessPackageAssignmentResourceRole[] $val The accessPackageAssignmentResourceRoles + * + * @return EntitlementManagement + */ + public function setAccessPackageAssignmentResourceRoles($val) + { + $this->_propDict["accessPackageAssignmentResourceRoles"] = $val; + return $this; + } + + + /** + * Gets the accessPackageAssignments + * Represents the grant of an access package to a subject (user or group). + * + * @return array|null The accessPackageAssignments + */ + public function getAccessPackageAssignments() + { + if (array_key_exists("accessPackageAssignments", $this->_propDict)) { + return $this->_propDict["accessPackageAssignments"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignments + * Represents the grant of an access package to a subject (user or group). + * + * @param AccessPackageAssignment[] $val The accessPackageAssignments + * + * @return EntitlementManagement + */ + public function setAccessPackageAssignments($val) + { + $this->_propDict["accessPackageAssignments"] = $val; + return $this; + } + + + /** + * Gets the accessPackageCatalogs + * Represents a group of access packages. + * + * @return array|null The accessPackageCatalogs + */ + public function getAccessPackageCatalogs() + { + if (array_key_exists("accessPackageCatalogs", $this->_propDict)) { + return $this->_propDict["accessPackageCatalogs"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageCatalogs + * Represents a group of access packages. + * + * @param AccessPackageCatalog[] $val The accessPackageCatalogs + * + * @return EntitlementManagement + */ + public function setAccessPackageCatalogs($val) + { + $this->_propDict["accessPackageCatalogs"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceEnvironments + * A reference to the geolocation environment in which a resource is located. + * + * @return array|null The accessPackageResourceEnvironments + */ + public function getAccessPackageResourceEnvironments() + { + if (array_key_exists("accessPackageResourceEnvironments", $this->_propDict)) { + return $this->_propDict["accessPackageResourceEnvironments"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceEnvironments + * A reference to the geolocation environment in which a resource is located. + * + * @param AccessPackageResourceEnvironment[] $val The accessPackageResourceEnvironments + * + * @return EntitlementManagement + */ + public function setAccessPackageResourceEnvironments($val) + { + $this->_propDict["accessPackageResourceEnvironments"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceRequests + * Represents a request to add or remove a resource to or from a catalog respectively. + * + * @return array|null The accessPackageResourceRequests + */ + public function getAccessPackageResourceRequests() + { + if (array_key_exists("accessPackageResourceRequests", $this->_propDict)) { + return $this->_propDict["accessPackageResourceRequests"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceRequests + * Represents a request to add or remove a resource to or from a catalog respectively. + * + * @param AccessPackageResourceRequest[] $val The accessPackageResourceRequests + * + * @return EntitlementManagement + */ + public function setAccessPackageResourceRequests($val) + { + $this->_propDict["accessPackageResourceRequests"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResourceRoleScopes + * A reference to both a scope within a resource, and a role in that resource for that scope. + * + * @return array|null The accessPackageResourceRoleScopes + */ + public function getAccessPackageResourceRoleScopes() + { + if (array_key_exists("accessPackageResourceRoleScopes", $this->_propDict)) { + return $this->_propDict["accessPackageResourceRoleScopes"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResourceRoleScopes + * A reference to both a scope within a resource, and a role in that resource for that scope. + * + * @param AccessPackageResourceRoleScope[] $val The accessPackageResourceRoleScopes + * + * @return EntitlementManagement + */ + public function setAccessPackageResourceRoleScopes($val) + { + $this->_propDict["accessPackageResourceRoleScopes"] = $val; + return $this; + } + + + /** + * Gets the accessPackageResources + * A reference to a resource associated with an access package catalog. + * + * @return array|null The accessPackageResources + */ + public function getAccessPackageResources() + { + if (array_key_exists("accessPackageResources", $this->_propDict)) { + return $this->_propDict["accessPackageResources"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageResources + * A reference to a resource associated with an access package catalog. + * + * @param AccessPackageResource[] $val The accessPackageResources + * + * @return EntitlementManagement + */ + public function setAccessPackageResources($val) + { + $this->_propDict["accessPackageResources"] = $val; + return $this; + } + + + /** + * Gets the accessPackages + * Represents access package objects. + * + * @return array|null The accessPackages + */ + public function getAccessPackages() + { + if (array_key_exists("accessPackages", $this->_propDict)) { + return $this->_propDict["accessPackages"]; + } else { + return null; + } + } + + /** + * Sets the accessPackages + * Represents access package objects. + * + * @param AccessPackage[] $val The accessPackages + * + * @return EntitlementManagement + */ + public function setAccessPackages($val) + { + $this->_propDict["accessPackages"] = $val; + return $this; + } + + + /** + * Gets the connectedOrganizations + * Represents references to a directory or domain of another organization whose users can request access. + * + * @return array|null The connectedOrganizations + */ + public function getConnectedOrganizations() + { + if (array_key_exists("connectedOrganizations", $this->_propDict)) { + return $this->_propDict["connectedOrganizations"]; + } else { + return null; + } + } + + /** + * Sets the connectedOrganizations + * Represents references to a directory or domain of another organization whose users can request access. + * + * @param ConnectedOrganization[] $val The connectedOrganizations + * + * @return EntitlementManagement + */ + public function setConnectedOrganizations($val) + { + $this->_propDict["connectedOrganizations"] = $val; + return $this; + } + + /** + * Gets the settings + * Represents the settings that control the behavior of Azure AD entitlement management. + * + * @return EntitlementManagementSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\EntitlementManagementSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new EntitlementManagementSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Represents the settings that control the behavior of Azure AD entitlement management. + * + * @param EntitlementManagementSettings $val The settings + * + * @return EntitlementManagement + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagementSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagementSettings.php new file mode 100644 index 0000000..73e101a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagementSettings.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["daysUntilExternalUserDeletedAfterBlocked"]; + } else { + return null; + } + } + + /** + * Sets the daysUntilExternalUserDeletedAfterBlocked + * If externalUserLifecycleAction is BlockSignInAndDelete, the number of days after an external user is blocked from sign in before their account is deleted. + * + * @param int $val The daysUntilExternalUserDeletedAfterBlocked + * + * @return EntitlementManagementSettings + */ + public function setDaysUntilExternalUserDeletedAfterBlocked($val) + { + $this->_propDict["daysUntilExternalUserDeletedAfterBlocked"] = intval($val); + return $this; + } + + /** + * Gets the externalUserLifecycleAction + * One of None, BlockSignIn, or BlockSignInAndDelete. + * + * @return string|null The externalUserLifecycleAction + */ + public function getExternalUserLifecycleAction() + { + if (array_key_exists("externalUserLifecycleAction", $this->_propDict)) { + return $this->_propDict["externalUserLifecycleAction"]; + } else { + return null; + } + } + + /** + * Sets the externalUserLifecycleAction + * One of None, BlockSignIn, or BlockSignInAndDelete. + * + * @param string $val The externalUserLifecycleAction + * + * @return EntitlementManagementSettings + */ + public function setExternalUserLifecycleAction($val) + { + $this->_propDict["externalUserLifecycleAction"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Entity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Entity.php new file mode 100644 index 0000000..2edf304 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Entity.php @@ -0,0 +1,133 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Entity + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the id + * Read-only. + * + * @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 + * Read-only. + * + * @param string $val The id + * + * @return Entity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + 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 Entity + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitySetNames.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitySetNames.php new file mode 100644 index 0000000..25531b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitySetNames.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["membershipRule"]; + } else { + return null; + } + } + + /** + * Sets the membershipRule + * If a group ID is provided, the value is the membership rule for the group. If a group ID is not provided, the value is the membership rule that was provided as a parameter. For more information, see Dynamic membership rules for groups in Azure Active Directory. + * + * @param string $val The value of the membershipRule + * + * @return EvaluateDynamicMembershipResult + */ + public function setMembershipRule($val) + { + $this->_propDict["membershipRule"] = $val; + return $this; + } + + /** + * Gets the membershipRuleEvaluationDetails + * Provides a detailed anaylsis of the membership evaluation result. + * + * @return ExpressionEvaluationDetails|null The membershipRuleEvaluationDetails + */ + public function getMembershipRuleEvaluationDetails() + { + if (array_key_exists("membershipRuleEvaluationDetails", $this->_propDict)) { + if (is_a($this->_propDict["membershipRuleEvaluationDetails"], "\Beta\Microsoft\Graph\Model\ExpressionEvaluationDetails") || is_null($this->_propDict["membershipRuleEvaluationDetails"])) { + return $this->_propDict["membershipRuleEvaluationDetails"]; + } else { + $this->_propDict["membershipRuleEvaluationDetails"] = new ExpressionEvaluationDetails($this->_propDict["membershipRuleEvaluationDetails"]); + return $this->_propDict["membershipRuleEvaluationDetails"]; + } + } + return null; + } + + /** + * Sets the membershipRuleEvaluationDetails + * Provides a detailed anaylsis of the membership evaluation result. + * + * @param ExpressionEvaluationDetails $val The value to assign to the membershipRuleEvaluationDetails + * + * @return EvaluateDynamicMembershipResult The EvaluateDynamicMembershipResult + */ + public function setMembershipRuleEvaluationDetails($val) + { + $this->_propDict["membershipRuleEvaluationDetails"] = $val; + return $this; + } + /** + * Gets the membershipRuleEvaluationResult + * The value is true if the user or device is a member of the group. The value can also be true if a membership rule was provided and the user or device passes the rule evaluation; otherwise false. + * + * @return bool|null The membershipRuleEvaluationResult + */ + public function getMembershipRuleEvaluationResult() + { + if (array_key_exists("membershipRuleEvaluationResult", $this->_propDict)) { + return $this->_propDict["membershipRuleEvaluationResult"]; + } else { + return null; + } + } + + /** + * Sets the membershipRuleEvaluationResult + * The value is true if the user or device is a member of the group. The value can also be true if a membership rule was provided and the user or device passes the rule evaluation; otherwise false. + * + * @param bool $val The value of the membershipRuleEvaluationResult + * + * @return EvaluateDynamicMembershipResult + */ + public function setMembershipRuleEvaluationResult($val) + { + $this->_propDict["membershipRuleEvaluationResult"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResponse.php new file mode 100644 index 0000000..b09a1ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResponse.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\EvaluateLabelJobResultGroup") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new EvaluateLabelJobResultGroup($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * + * @param EvaluateLabelJobResultGroup $val The result + * + * @return EvaluateLabelJobResponse + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResult.php new file mode 100644 index 0000000..9a974b7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResult.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["responsiblePolicy"], "\Beta\Microsoft\Graph\Model\ResponsiblePolicy") || is_null($this->_propDict["responsiblePolicy"])) { + return $this->_propDict["responsiblePolicy"]; + } else { + $this->_propDict["responsiblePolicy"] = new ResponsiblePolicy($this->_propDict["responsiblePolicy"]); + return $this->_propDict["responsiblePolicy"]; + } + } + return null; + } + + /** + * Sets the responsiblePolicy + * + * @param ResponsiblePolicy $val The value to assign to the responsiblePolicy + * + * @return EvaluateLabelJobResult The EvaluateLabelJobResult + */ + public function setResponsiblePolicy($val) + { + $this->_propDict["responsiblePolicy"] = $val; + return $this; + } + + /** + * Gets the responsibleSensitiveTypes + * + * @return ResponsibleSensitiveType|null The responsibleSensitiveTypes + */ + public function getResponsibleSensitiveTypes() + { + if (array_key_exists("responsibleSensitiveTypes", $this->_propDict)) { + if (is_a($this->_propDict["responsibleSensitiveTypes"], "\Beta\Microsoft\Graph\Model\ResponsibleSensitiveType") || is_null($this->_propDict["responsibleSensitiveTypes"])) { + return $this->_propDict["responsibleSensitiveTypes"]; + } else { + $this->_propDict["responsibleSensitiveTypes"] = new ResponsibleSensitiveType($this->_propDict["responsibleSensitiveTypes"]); + return $this->_propDict["responsibleSensitiveTypes"]; + } + } + return null; + } + + /** + * Sets the responsibleSensitiveTypes + * + * @param ResponsibleSensitiveType $val The value to assign to the responsibleSensitiveTypes + * + * @return EvaluateLabelJobResult The EvaluateLabelJobResult + */ + public function setResponsibleSensitiveTypes($val) + { + $this->_propDict["responsibleSensitiveTypes"] = $val; + return $this; + } + + /** + * Gets the sensitivityLabel + * + * @return MatchingLabel|null The sensitivityLabel + */ + public function getSensitivityLabel() + { + if (array_key_exists("sensitivityLabel", $this->_propDict)) { + if (is_a($this->_propDict["sensitivityLabel"], "\Beta\Microsoft\Graph\Model\MatchingLabel") || is_null($this->_propDict["sensitivityLabel"])) { + return $this->_propDict["sensitivityLabel"]; + } else { + $this->_propDict["sensitivityLabel"] = new MatchingLabel($this->_propDict["sensitivityLabel"]); + return $this->_propDict["sensitivityLabel"]; + } + } + return null; + } + + /** + * Sets the sensitivityLabel + * + * @param MatchingLabel $val The value to assign to the sensitivityLabel + * + * @return EvaluateLabelJobResult The EvaluateLabelJobResult + */ + public function setSensitivityLabel($val) + { + $this->_propDict["sensitivityLabel"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResultGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResultGroup.php new file mode 100644 index 0000000..e608b74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResultGroup.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["automatic"], "\Beta\Microsoft\Graph\Model\EvaluateLabelJobResult") || is_null($this->_propDict["automatic"])) { + return $this->_propDict["automatic"]; + } else { + $this->_propDict["automatic"] = new EvaluateLabelJobResult($this->_propDict["automatic"]); + return $this->_propDict["automatic"]; + } + } + return null; + } + + /** + * Sets the automatic + * + * @param EvaluateLabelJobResult $val The value to assign to the automatic + * + * @return EvaluateLabelJobResultGroup The EvaluateLabelJobResultGroup + */ + public function setAutomatic($val) + { + $this->_propDict["automatic"] = $val; + return $this; + } + + /** + * Gets the recommended + * + * @return EvaluateLabelJobResult|null The recommended + */ + public function getRecommended() + { + if (array_key_exists("recommended", $this->_propDict)) { + if (is_a($this->_propDict["recommended"], "\Beta\Microsoft\Graph\Model\EvaluateLabelJobResult") || is_null($this->_propDict["recommended"])) { + return $this->_propDict["recommended"]; + } else { + $this->_propDict["recommended"] = new EvaluateLabelJobResult($this->_propDict["recommended"]); + return $this->_propDict["recommended"]; + } + } + return null; + } + + /** + * Sets the recommended + * + * @param EvaluateLabelJobResult $val The value to assign to the recommended + * + * @return EvaluateLabelJobResultGroup The EvaluateLabelJobResultGroup + */ + public function setRecommended($val) + { + $this->_propDict["recommended"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateSensitivityLabelsRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateSensitivityLabelsRequest.php new file mode 100644 index 0000000..a81c49e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateSensitivityLabelsRequest.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["currentLabel"], "\Beta\Microsoft\Graph\Model\CurrentLabel") || is_null($this->_propDict["currentLabel"])) { + return $this->_propDict["currentLabel"]; + } else { + $this->_propDict["currentLabel"] = new CurrentLabel($this->_propDict["currentLabel"]); + return $this->_propDict["currentLabel"]; + } + } + return null; + } + + /** + * Sets the currentLabel + * + * @param CurrentLabel $val The value to assign to the currentLabel + * + * @return EvaluateSensitivityLabelsRequest The EvaluateSensitivityLabelsRequest + */ + public function setCurrentLabel($val) + { + $this->_propDict["currentLabel"] = $val; + return $this; + } + + /** + * Gets the discoveredSensitiveTypes + * + * @return DiscoveredSensitiveType|null The discoveredSensitiveTypes + */ + public function getDiscoveredSensitiveTypes() + { + if (array_key_exists("discoveredSensitiveTypes", $this->_propDict)) { + if (is_a($this->_propDict["discoveredSensitiveTypes"], "\Beta\Microsoft\Graph\Model\DiscoveredSensitiveType") || is_null($this->_propDict["discoveredSensitiveTypes"])) { + return $this->_propDict["discoveredSensitiveTypes"]; + } else { + $this->_propDict["discoveredSensitiveTypes"] = new DiscoveredSensitiveType($this->_propDict["discoveredSensitiveTypes"]); + return $this->_propDict["discoveredSensitiveTypes"]; + } + } + return null; + } + + /** + * Sets the discoveredSensitiveTypes + * + * @param DiscoveredSensitiveType $val The value to assign to the discoveredSensitiveTypes + * + * @return EvaluateSensitivityLabelsRequest The EvaluateSensitivityLabelsRequest + */ + public function setDiscoveredSensitiveTypes($val) + { + $this->_propDict["discoveredSensitiveTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Event.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Event.php new file mode 100644 index 0000000..ad396d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Event.php @@ -0,0 +1,1338 @@ +_propDict)) { + return $this->_propDict["allowNewTimeProposals"]; + } else { + return null; + } + } + + /** + * Sets the allowNewTimeProposals + * true if the meeting organizer allows invitees to propose a new time when responding; otherwise false. Optional. Default is true. + * + * @param bool $val The allowNewTimeProposals + * + * @return Event + */ + public function setAllowNewTimeProposals($val) + { + $this->_propDict["allowNewTimeProposals"] = boolval($val); + return $this; + } + + + /** + * Gets the attendees + * The collection of attendees for the event. + * + * @return array|null The attendees + */ + public function getAttendees() + { + if (array_key_exists("attendees", $this->_propDict)) { + return $this->_propDict["attendees"]; + } else { + return null; + } + } + + /** + * Sets the attendees + * The collection of attendees for the event. + * + * @param Attendee[] $val The attendees + * + * @return Event + */ + public function setAttendees($val) + { + $this->_propDict["attendees"] = $val; + return $this; + } + + /** + * Gets the body + * The body of the message associated with the event. It can be in HTML or text format. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The body of the message associated with the event. It can be in HTML or text format. + * + * @param ItemBody $val The body + * + * @return Event + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the bodyPreview + * The preview of the message associated with the event. It is in text format. + * + * @return string|null The bodyPreview + */ + public function getBodyPreview() + { + if (array_key_exists("bodyPreview", $this->_propDict)) { + return $this->_propDict["bodyPreview"]; + } else { + return null; + } + } + + /** + * Sets the bodyPreview + * The preview of the message associated with the event. It is in text format. + * + * @param string $val The bodyPreview + * + * @return Event + */ + public function setBodyPreview($val) + { + $this->_propDict["bodyPreview"] = $val; + return $this; + } + + /** + * Gets the cancelledOccurrences + * Contains occurrenceId property values of cancelled instances in a recurring series, if the event is the series master. Instances in a recurring series that are cancelled are called cancelledOccurences.Returned only on $select in a Get operation which specifies the id of a series master event (that is, the seriesMasterId property value). + * + * @return string|null The cancelledOccurrences + */ + public function getCancelledOccurrences() + { + if (array_key_exists("cancelledOccurrences", $this->_propDict)) { + return $this->_propDict["cancelledOccurrences"]; + } else { + return null; + } + } + + /** + * Sets the cancelledOccurrences + * Contains occurrenceId property values of cancelled instances in a recurring series, if the event is the series master. Instances in a recurring series that are cancelled are called cancelledOccurences.Returned only on $select in a Get operation which specifies the id of a series master event (that is, the seriesMasterId property value). + * + * @param string $val The cancelledOccurrences + * + * @return Event + */ + public function setCancelledOccurrences($val) + { + $this->_propDict["cancelledOccurrences"] = $val; + return $this; + } + + /** + * Gets the end + * The date, time, and time zone that the event ends. By default, the end time is in UTC. + * + * @return DateTimeTimeZone|null The end + */ + public function getEnd() + { + if (array_key_exists("end", $this->_propDict)) { + if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that the event ends. By default, the end time is in UTC. + * + * @param DateTimeTimeZone $val The end + * + * @return Event + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Set to true if the event has attachments. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Set to true if the event has attachments. + * + * @param bool $val The hasAttachments + * + * @return Event + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the hideAttendees + * When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false. + * + * @return bool|null The hideAttendees + */ + public function getHideAttendees() + { + if (array_key_exists("hideAttendees", $this->_propDict)) { + return $this->_propDict["hideAttendees"]; + } else { + return null; + } + } + + /** + * Sets the hideAttendees + * When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false. + * + * @param bool $val The hideAttendees + * + * @return Event + */ + public function setHideAttendees($val) + { + $this->_propDict["hideAttendees"] = boolval($val); + return $this; + } + + /** + * Gets the importance + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param Importance $val The importance + * + * @return Event + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the isAllDay + * + * @return bool|null The isAllDay + */ + public function getIsAllDay() + { + if (array_key_exists("isAllDay", $this->_propDict)) { + return $this->_propDict["isAllDay"]; + } else { + return null; + } + } + + /** + * Sets the isAllDay + * + * @param bool $val The isAllDay + * + * @return Event + */ + public function setIsAllDay($val) + { + $this->_propDict["isAllDay"] = boolval($val); + return $this; + } + + /** + * Gets the isCancelled + * + * @return bool|null The isCancelled + */ + public function getIsCancelled() + { + if (array_key_exists("isCancelled", $this->_propDict)) { + return $this->_propDict["isCancelled"]; + } else { + return null; + } + } + + /** + * Sets the isCancelled + * + * @param bool $val The isCancelled + * + * @return Event + */ + public function setIsCancelled($val) + { + $this->_propDict["isCancelled"] = boolval($val); + return $this; + } + + /** + * Gets the isDraft + * + * @return bool|null The isDraft + */ + public function getIsDraft() + { + if (array_key_exists("isDraft", $this->_propDict)) { + return $this->_propDict["isDraft"]; + } else { + return null; + } + } + + /** + * Sets the isDraft + * + * @param bool $val The isDraft + * + * @return Event + */ + public function setIsDraft($val) + { + $this->_propDict["isDraft"] = boolval($val); + return $this; + } + + /** + * Gets the isOnlineMeeting + * + * @return bool|null The isOnlineMeeting + */ + public function getIsOnlineMeeting() + { + if (array_key_exists("isOnlineMeeting", $this->_propDict)) { + return $this->_propDict["isOnlineMeeting"]; + } else { + return null; + } + } + + /** + * Sets the isOnlineMeeting + * + * @param bool $val The isOnlineMeeting + * + * @return Event + */ + public function setIsOnlineMeeting($val) + { + $this->_propDict["isOnlineMeeting"] = boolval($val); + return $this; + } + + /** + * Gets the isOrganizer + * + * @return bool|null The isOrganizer + */ + public function getIsOrganizer() + { + if (array_key_exists("isOrganizer", $this->_propDict)) { + return $this->_propDict["isOrganizer"]; + } else { + return null; + } + } + + /** + * Sets the isOrganizer + * + * @param bool $val The isOrganizer + * + * @return Event + */ + public function setIsOrganizer($val) + { + $this->_propDict["isOrganizer"] = boolval($val); + return $this; + } + + /** + * Gets the isReminderOn + * + * @return bool|null The isReminderOn + */ + public function getIsReminderOn() + { + if (array_key_exists("isReminderOn", $this->_propDict)) { + return $this->_propDict["isReminderOn"]; + } else { + return null; + } + } + + /** + * Sets the isReminderOn + * + * @param bool $val The isReminderOn + * + * @return Event + */ + public function setIsReminderOn($val) + { + $this->_propDict["isReminderOn"] = boolval($val); + return $this; + } + + /** + * Gets the location + * + * @return Location|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new Location($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * + * @param Location $val The location + * + * @return Event + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + + /** + * Gets the locations + * + * @return array|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + return $this->_propDict["locations"]; + } else { + return null; + } + } + + /** + * Sets the locations + * + * @param Location[] $val The locations + * + * @return Event + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + + /** + * Gets the occurrenceId + * + * @return string|null The occurrenceId + */ + public function getOccurrenceId() + { + if (array_key_exists("occurrenceId", $this->_propDict)) { + return $this->_propDict["occurrenceId"]; + } else { + return null; + } + } + + /** + * Sets the occurrenceId + * + * @param string $val The occurrenceId + * + * @return Event + */ + public function setOccurrenceId($val) + { + $this->_propDict["occurrenceId"] = $val; + return $this; + } + + /** + * Gets the onlineMeeting + * + * @return OnlineMeetingInfo|null The onlineMeeting + */ + public function getOnlineMeeting() + { + if (array_key_exists("onlineMeeting", $this->_propDict)) { + if (is_a($this->_propDict["onlineMeeting"], "\Beta\Microsoft\Graph\Model\OnlineMeetingInfo") || is_null($this->_propDict["onlineMeeting"])) { + return $this->_propDict["onlineMeeting"]; + } else { + $this->_propDict["onlineMeeting"] = new OnlineMeetingInfo($this->_propDict["onlineMeeting"]); + return $this->_propDict["onlineMeeting"]; + } + } + return null; + } + + /** + * Sets the onlineMeeting + * + * @param OnlineMeetingInfo $val The onlineMeeting + * + * @return Event + */ + public function setOnlineMeeting($val) + { + $this->_propDict["onlineMeeting"] = $val; + return $this; + } + + /** + * Gets the onlineMeetingProvider + * + * @return OnlineMeetingProviderType|null The onlineMeetingProvider + */ + public function getOnlineMeetingProvider() + { + if (array_key_exists("onlineMeetingProvider", $this->_propDict)) { + if (is_a($this->_propDict["onlineMeetingProvider"], "\Beta\Microsoft\Graph\Model\OnlineMeetingProviderType") || is_null($this->_propDict["onlineMeetingProvider"])) { + return $this->_propDict["onlineMeetingProvider"]; + } else { + $this->_propDict["onlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["onlineMeetingProvider"]); + return $this->_propDict["onlineMeetingProvider"]; + } + } + return null; + } + + /** + * Sets the onlineMeetingProvider + * + * @param OnlineMeetingProviderType $val The onlineMeetingProvider + * + * @return Event + */ + public function setOnlineMeetingProvider($val) + { + $this->_propDict["onlineMeetingProvider"] = $val; + return $this; + } + + /** + * Gets the onlineMeetingUrl + * + * @return string|null The onlineMeetingUrl + */ + public function getOnlineMeetingUrl() + { + if (array_key_exists("onlineMeetingUrl", $this->_propDict)) { + return $this->_propDict["onlineMeetingUrl"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetingUrl + * + * @param string $val The onlineMeetingUrl + * + * @return Event + */ + public function setOnlineMeetingUrl($val) + { + $this->_propDict["onlineMeetingUrl"] = $val; + return $this; + } + + /** + * Gets the organizer + * + * @return Recipient|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new Recipient($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * + * @param Recipient $val The organizer + * + * @return Event + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } + + /** + * Gets the originalEndTimeZone + * + * @return string|null The originalEndTimeZone + */ + public function getOriginalEndTimeZone() + { + if (array_key_exists("originalEndTimeZone", $this->_propDict)) { + return $this->_propDict["originalEndTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the originalEndTimeZone + * + * @param string $val The originalEndTimeZone + * + * @return Event + */ + public function setOriginalEndTimeZone($val) + { + $this->_propDict["originalEndTimeZone"] = $val; + return $this; + } + + /** + * Gets the originalStart + * + * @return \DateTime|null The originalStart + */ + public function getOriginalStart() + { + if (array_key_exists("originalStart", $this->_propDict)) { + if (is_a($this->_propDict["originalStart"], "\DateTime") || is_null($this->_propDict["originalStart"])) { + return $this->_propDict["originalStart"]; + } else { + $this->_propDict["originalStart"] = new \DateTime($this->_propDict["originalStart"]); + return $this->_propDict["originalStart"]; + } + } + return null; + } + + /** + * Sets the originalStart + * + * @param \DateTime $val The originalStart + * + * @return Event + */ + public function setOriginalStart($val) + { + $this->_propDict["originalStart"] = $val; + return $this; + } + + /** + * Gets the originalStartTimeZone + * + * @return string|null The originalStartTimeZone + */ + public function getOriginalStartTimeZone() + { + if (array_key_exists("originalStartTimeZone", $this->_propDict)) { + return $this->_propDict["originalStartTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the originalStartTimeZone + * + * @param string $val The originalStartTimeZone + * + * @return Event + */ + public function setOriginalStartTimeZone($val) + { + $this->_propDict["originalStartTimeZone"] = $val; + return $this; + } + + /** + * Gets the recurrence + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * + * @param PatternedRecurrence $val The recurrence + * + * @return Event + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the reminderMinutesBeforeStart + * + * @return int|null The reminderMinutesBeforeStart + */ + public function getReminderMinutesBeforeStart() + { + if (array_key_exists("reminderMinutesBeforeStart", $this->_propDict)) { + return $this->_propDict["reminderMinutesBeforeStart"]; + } else { + return null; + } + } + + /** + * Sets the reminderMinutesBeforeStart + * + * @param int $val The reminderMinutesBeforeStart + * + * @return Event + */ + public function setReminderMinutesBeforeStart($val) + { + $this->_propDict["reminderMinutesBeforeStart"] = intval($val); + return $this; + } + + /** + * Gets the responseRequested + * + * @return bool|null The responseRequested + */ + public function getResponseRequested() + { + if (array_key_exists("responseRequested", $this->_propDict)) { + return $this->_propDict["responseRequested"]; + } else { + return null; + } + } + + /** + * Sets the responseRequested + * + * @param bool $val The responseRequested + * + * @return Event + */ + public function setResponseRequested($val) + { + $this->_propDict["responseRequested"] = boolval($val); + return $this; + } + + /** + * Gets the responseStatus + * + * @return ResponseStatus|null The responseStatus + */ + public function getResponseStatus() + { + if (array_key_exists("responseStatus", $this->_propDict)) { + if (is_a($this->_propDict["responseStatus"], "\Beta\Microsoft\Graph\Model\ResponseStatus") || is_null($this->_propDict["responseStatus"])) { + return $this->_propDict["responseStatus"]; + } else { + $this->_propDict["responseStatus"] = new ResponseStatus($this->_propDict["responseStatus"]); + return $this->_propDict["responseStatus"]; + } + } + return null; + } + + /** + * Sets the responseStatus + * + * @param ResponseStatus $val The responseStatus + * + * @return Event + */ + public function setResponseStatus($val) + { + $this->_propDict["responseStatus"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * + * @return Sensitivity|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + if (is_a($this->_propDict["sensitivity"], "\Beta\Microsoft\Graph\Model\Sensitivity") || is_null($this->_propDict["sensitivity"])) { + return $this->_propDict["sensitivity"]; + } else { + $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); + return $this->_propDict["sensitivity"]; + } + } + return null; + } + + /** + * Sets the sensitivity + * + * @param Sensitivity $val The sensitivity + * + * @return Event + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = $val; + return $this; + } + + /** + * Gets the seriesMasterId + * + * @return string|null The seriesMasterId + */ + public function getSeriesMasterId() + { + if (array_key_exists("seriesMasterId", $this->_propDict)) { + return $this->_propDict["seriesMasterId"]; + } else { + return null; + } + } + + /** + * Sets the seriesMasterId + * + * @param string $val The seriesMasterId + * + * @return Event + */ + public function setSeriesMasterId($val) + { + $this->_propDict["seriesMasterId"] = $val; + return $this; + } + + /** + * Gets the showAs + * + * @return FreeBusyStatus|null The showAs + */ + public function getShowAs() + { + if (array_key_exists("showAs", $this->_propDict)) { + if (is_a($this->_propDict["showAs"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["showAs"])) { + return $this->_propDict["showAs"]; + } else { + $this->_propDict["showAs"] = new FreeBusyStatus($this->_propDict["showAs"]); + return $this->_propDict["showAs"]; + } + } + return null; + } + + /** + * Sets the showAs + * + * @param FreeBusyStatus $val The showAs + * + * @return Event + */ + public function setShowAs($val) + { + $this->_propDict["showAs"] = $val; + return $this; + } + + /** + * Gets the start + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * + * @param DateTimeTimeZone $val The start + * + * @return Event + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Event + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the transactionId + * + * @return string|null The transactionId + */ + public function getTransactionId() + { + if (array_key_exists("transactionId", $this->_propDict)) { + return $this->_propDict["transactionId"]; + } else { + return null; + } + } + + /** + * Sets the transactionId + * + * @param string $val The transactionId + * + * @return Event + */ + public function setTransactionId($val) + { + $this->_propDict["transactionId"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return EventType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EventType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new EventType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param EventType $val The type + * + * @return Event + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the uid + * + * @return string|null The uid + */ + public function getUid() + { + if (array_key_exists("uid", $this->_propDict)) { + return $this->_propDict["uid"]; + } else { + return null; + } + } + + /** + * Sets the uid + * + * @param string $val The uid + * + * @return Event + */ + public function setUid($val) + { + $this->_propDict["uid"] = $val; + return $this; + } + + /** + * Gets the webLink + * + * @return string|null The webLink + */ + public function getWebLink() + { + if (array_key_exists("webLink", $this->_propDict)) { + return $this->_propDict["webLink"]; + } else { + return null; + } + } + + /** + * Sets the webLink + * + * @param string $val The webLink + * + * @return Event + */ + public function setWebLink($val) + { + $this->_propDict["webLink"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. + * + * @param Attachment[] $val The attachments + * + * @return Event + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + /** + * Gets the calendar + * The calendar that contains the event. Navigation property. Read-only. + * + * @return Calendar|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\Calendar") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * The calendar that contains the event. Navigation property. Read-only. + * + * @param Calendar $val The calendar + * + * @return Event + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + + + /** + * Gets the exceptionOccurrences + * + * @return array|null The exceptionOccurrences + */ + public function getExceptionOccurrences() + { + if (array_key_exists("exceptionOccurrences", $this->_propDict)) { + return $this->_propDict["exceptionOccurrences"]; + } else { + return null; + } + } + + /** + * Sets the exceptionOccurrences + * + * @param Event[] $val The exceptionOccurrences + * + * @return Event + */ + public function setExceptionOccurrences($val) + { + $this->_propDict["exceptionOccurrences"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the event. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the event. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Event + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the instances + * The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. + * + * @param Event[] $val The instances + * + * @return Event + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Event + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Event + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessage.php new file mode 100644 index 0000000..bc1bce6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessage.php @@ -0,0 +1,329 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new DateTimeTimeZone($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the requested meeting. + * + * @param DateTimeTimeZone $val The endDateTime + * + * @return EventMessage + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the isAllDay + * + * @return bool|null The isAllDay + */ + public function getIsAllDay() + { + if (array_key_exists("isAllDay", $this->_propDict)) { + return $this->_propDict["isAllDay"]; + } else { + return null; + } + } + + /** + * Sets the isAllDay + * + * @param bool $val The isAllDay + * + * @return EventMessage + */ + public function setIsAllDay($val) + { + $this->_propDict["isAllDay"] = boolval($val); + return $this; + } + + /** + * Gets the isDelegated + * + * @return bool|null The isDelegated + */ + public function getIsDelegated() + { + if (array_key_exists("isDelegated", $this->_propDict)) { + return $this->_propDict["isDelegated"]; + } else { + return null; + } + } + + /** + * Sets the isDelegated + * + * @param bool $val The isDelegated + * + * @return EventMessage + */ + public function setIsDelegated($val) + { + $this->_propDict["isDelegated"] = boolval($val); + return $this; + } + + /** + * Gets the isOutOfDate + * + * @return bool|null The isOutOfDate + */ + public function getIsOutOfDate() + { + if (array_key_exists("isOutOfDate", $this->_propDict)) { + return $this->_propDict["isOutOfDate"]; + } else { + return null; + } + } + + /** + * Sets the isOutOfDate + * + * @param bool $val The isOutOfDate + * + * @return EventMessage + */ + public function setIsOutOfDate($val) + { + $this->_propDict["isOutOfDate"] = boolval($val); + return $this; + } + + /** + * Gets the location + * + * @return Location|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new Location($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * + * @param Location $val The location + * + * @return EventMessage + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the meetingMessageType + * + * @return MeetingMessageType|null The meetingMessageType + */ + public function getMeetingMessageType() + { + if (array_key_exists("meetingMessageType", $this->_propDict)) { + if (is_a($this->_propDict["meetingMessageType"], "\Beta\Microsoft\Graph\Model\MeetingMessageType") || is_null($this->_propDict["meetingMessageType"])) { + return $this->_propDict["meetingMessageType"]; + } else { + $this->_propDict["meetingMessageType"] = new MeetingMessageType($this->_propDict["meetingMessageType"]); + return $this->_propDict["meetingMessageType"]; + } + } + return null; + } + + /** + * Sets the meetingMessageType + * + * @param MeetingMessageType $val The meetingMessageType + * + * @return EventMessage + */ + public function setMeetingMessageType($val) + { + $this->_propDict["meetingMessageType"] = $val; + return $this; + } + + /** + * Gets the recurrence + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * + * @param PatternedRecurrence $val The recurrence + * + * @return EventMessage + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param DateTimeTimeZone $val The startDateTime + * + * @return EventMessage + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return EventType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EventType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new EventType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param EventType $val The type + * + * @return EventMessage + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the event + * The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. + * + * @return Event|null The event + */ + public function getEvent() + { + if (array_key_exists("event", $this->_propDict)) { + if (is_a($this->_propDict["event"], "\Beta\Microsoft\Graph\Model\Event") || is_null($this->_propDict["event"])) { + return $this->_propDict["event"]; + } else { + $this->_propDict["event"] = new Event($this->_propDict["event"]); + return $this->_propDict["event"]; + } + } + return null; + } + + /** + * Sets the event + * The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. + * + * @param Event $val The event + * + * @return EventMessage + */ + public function setEvent($val) + { + $this->_propDict["event"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageDetail.php new file mode 100644 index 0000000..feb483c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageDetail.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["allowNewTimeProposals"]; + } else { + return null; + } + } + + /** + * Sets the allowNewTimeProposals + * True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. + * + * @param bool $val The allowNewTimeProposals + * + * @return EventMessageRequest + */ + public function setAllowNewTimeProposals($val) + { + $this->_propDict["allowNewTimeProposals"] = boolval($val); + return $this; + } + + /** + * Gets the previousEndDateTime + * If the meeting update changes the meeting end time, this property specifies the previous meeting end time. + * + * @return DateTimeTimeZone|null The previousEndDateTime + */ + public function getPreviousEndDateTime() + { + if (array_key_exists("previousEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["previousEndDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["previousEndDateTime"])) { + return $this->_propDict["previousEndDateTime"]; + } else { + $this->_propDict["previousEndDateTime"] = new DateTimeTimeZone($this->_propDict["previousEndDateTime"]); + return $this->_propDict["previousEndDateTime"]; + } + } + return null; + } + + /** + * Sets the previousEndDateTime + * If the meeting update changes the meeting end time, this property specifies the previous meeting end time. + * + * @param DateTimeTimeZone $val The previousEndDateTime + * + * @return EventMessageRequest + */ + public function setPreviousEndDateTime($val) + { + $this->_propDict["previousEndDateTime"] = $val; + return $this; + } + + /** + * Gets the previousLocation + * If the meeting update changes the meeting location, this property specifies the previous meeting location. + * + * @return Location|null The previousLocation + */ + public function getPreviousLocation() + { + if (array_key_exists("previousLocation", $this->_propDict)) { + if (is_a($this->_propDict["previousLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["previousLocation"])) { + return $this->_propDict["previousLocation"]; + } else { + $this->_propDict["previousLocation"] = new Location($this->_propDict["previousLocation"]); + return $this->_propDict["previousLocation"]; + } + } + return null; + } + + /** + * Sets the previousLocation + * If the meeting update changes the meeting location, this property specifies the previous meeting location. + * + * @param Location $val The previousLocation + * + * @return EventMessageRequest + */ + public function setPreviousLocation($val) + { + $this->_propDict["previousLocation"] = $val; + return $this; + } + + /** + * Gets the previousStartDateTime + * If the meeting update changes the meeting start time, this property specifies the previous meeting start time. + * + * @return DateTimeTimeZone|null The previousStartDateTime + */ + public function getPreviousStartDateTime() + { + if (array_key_exists("previousStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["previousStartDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["previousStartDateTime"])) { + return $this->_propDict["previousStartDateTime"]; + } else { + $this->_propDict["previousStartDateTime"] = new DateTimeTimeZone($this->_propDict["previousStartDateTime"]); + return $this->_propDict["previousStartDateTime"]; + } + } + return null; + } + + /** + * Sets the previousStartDateTime + * If the meeting update changes the meeting start time, this property specifies the previous meeting start time. + * + * @param DateTimeTimeZone $val The previousStartDateTime + * + * @return EventMessageRequest + */ + public function setPreviousStartDateTime($val) + { + $this->_propDict["previousStartDateTime"] = $val; + return $this; + } + + /** + * Gets the responseRequested + * Set to true if the sender would like the invitee to send a response to the requested meeting. + * + * @return bool|null The responseRequested + */ + public function getResponseRequested() + { + if (array_key_exists("responseRequested", $this->_propDict)) { + return $this->_propDict["responseRequested"]; + } else { + return null; + } + } + + /** + * Sets the responseRequested + * Set to true if the sender would like the invitee to send a response to the requested meeting. + * + * @param bool $val The responseRequested + * + * @return EventMessageRequest + */ + public function setResponseRequested($val) + { + $this->_propDict["responseRequested"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageResponse.php new file mode 100644 index 0000000..559b438 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageResponse.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["proposedNewTime"], "\Beta\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["proposedNewTime"])) { + return $this->_propDict["proposedNewTime"]; + } else { + $this->_propDict["proposedNewTime"] = new TimeSlot($this->_propDict["proposedNewTime"]); + return $this->_propDict["proposedNewTime"]; + } + } + return null; + } + + /** + * Sets the proposedNewTime + * + * @param TimeSlot $val The proposedNewTime + * + * @return EventMessageResponse + */ + public function setProposedNewTime($val) + { + $this->_propDict["proposedNewTime"] = $val; + return $this; + } + + /** + * Gets the responseType + * + * @return ResponseType|null The responseType + */ + public function getResponseType() + { + if (array_key_exists("responseType", $this->_propDict)) { + if (is_a($this->_propDict["responseType"], "\Beta\Microsoft\Graph\Model\ResponseType") || is_null($this->_propDict["responseType"])) { + return $this->_propDict["responseType"]; + } else { + $this->_propDict["responseType"] = new ResponseType($this->_propDict["responseType"]); + return $this->_propDict["responseType"]; + } + } + return null; + } + + /** + * Sets the responseType + * + * @param ResponseType $val The responseType + * + * @return EventMessageResponse + */ + public function setResponseType($val) + { + $this->_propDict["responseType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventType.php new file mode 100644 index 0000000..53bcf64 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["ignoredDelimiters"]; + } else { + return null; + } + } + + /** + * Sets the ignoredDelimiters + * + * @param string $val The value of the ignoredDelimiters + * + * @return ExactDataMatchStoreColumn + */ + public function setIgnoredDelimiters($val) + { + $this->_propDict["ignoredDelimiters"] = $val; + return $this; + } + /** + * Gets the isCaseInsensitive + * + * @return bool|null The isCaseInsensitive + */ + public function getIsCaseInsensitive() + { + if (array_key_exists("isCaseInsensitive", $this->_propDict)) { + return $this->_propDict["isCaseInsensitive"]; + } else { + return null; + } + } + + /** + * Sets the isCaseInsensitive + * + * @param bool $val The value of the isCaseInsensitive + * + * @return ExactDataMatchStoreColumn + */ + public function setIsCaseInsensitive($val) + { + $this->_propDict["isCaseInsensitive"] = $val; + return $this; + } + /** + * Gets the isSearchable + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * + * @param bool $val The value of the isSearchable + * + * @return ExactDataMatchStoreColumn + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ExactDataMatchStoreColumn + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationRequest.php new file mode 100644 index 0000000..fd35f3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationRequest.php @@ -0,0 +1,135 @@ +_propDict)) { + if (is_a($this->_propDict["contentClassifications"], "\Beta\Microsoft\Graph\Model\ContentClassification") || is_null($this->_propDict["contentClassifications"])) { + return $this->_propDict["contentClassifications"]; + } else { + $this->_propDict["contentClassifications"] = new ContentClassification($this->_propDict["contentClassifications"]); + return $this->_propDict["contentClassifications"]; + } + } + return null; + } + + /** + * Sets the contentClassifications + * + * @param ContentClassification $val The value to assign to the contentClassifications + * + * @return ExactMatchClassificationRequest The ExactMatchClassificationRequest + */ + public function setContentClassifications($val) + { + $this->_propDict["contentClassifications"] = $val; + return $this; + } + /** + * Gets the sensitiveTypeIds + * + * @return string|null The sensitiveTypeIds + */ + public function getSensitiveTypeIds() + { + if (array_key_exists("sensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["sensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeIds + * + * @param string $val The value of the sensitiveTypeIds + * + * @return ExactMatchClassificationRequest + */ + public function setSensitiveTypeIds($val) + { + $this->_propDict["sensitiveTypeIds"] = $val; + return $this; + } + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The value of the text + * + * @return ExactMatchClassificationRequest + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the timeoutInMs + * + * @return int|null The timeoutInMs + */ + public function getTimeoutInMs() + { + if (array_key_exists("timeoutInMs", $this->_propDict)) { + return $this->_propDict["timeoutInMs"]; + } else { + return null; + } + } + + /** + * Sets the timeoutInMs + * + * @param int $val The value of the timeoutInMs + * + * @return ExactMatchClassificationRequest + */ + public function setTimeoutInMs($val) + { + $this->_propDict["timeoutInMs"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationResult.php new file mode 100644 index 0000000..f93733a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationResult.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\ExactMatchDetectedSensitiveContent") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new ExactMatchDetectedSensitiveContent($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * + * @param ExactMatchDetectedSensitiveContent $val The value to assign to the classification + * + * @return ExactMatchClassificationResult The ExactMatchClassificationResult + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the errors + * + * @return ClassificationError|null The errors + */ + public function getErrors() + { + if (array_key_exists("errors", $this->_propDict)) { + if (is_a($this->_propDict["errors"], "\Beta\Microsoft\Graph\Model\ClassificationError") || is_null($this->_propDict["errors"])) { + return $this->_propDict["errors"]; + } else { + $this->_propDict["errors"] = new ClassificationError($this->_propDict["errors"]); + return $this->_propDict["errors"]; + } + } + return null; + } + + /** + * Sets the errors + * + * @param ClassificationError $val The value to assign to the errors + * + * @return ExactMatchClassificationResult The ExactMatchClassificationResult + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStore.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStore.php new file mode 100644 index 0000000..4593692 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStore.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["sessions"]; + } else { + return null; + } + } + + /** + * Sets the sessions + * + * @param ExactMatchSession[] $val The sessions + * + * @return ExactMatchDataStore + */ + public function setSessions($val) + { + $this->_propDict["sessions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStoreBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStoreBase.php new file mode 100644 index 0000000..867f2b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStoreBase.php @@ -0,0 +1,140 @@ +_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * + * @param ExactDataMatchStoreColumn[] $val The columns + * + * @return ExactMatchDataStoreBase + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + /** + * Gets the dataLastUpdatedDateTime + * + * @return \DateTime|null The dataLastUpdatedDateTime + */ + public function getDataLastUpdatedDateTime() + { + if (array_key_exists("dataLastUpdatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dataLastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["dataLastUpdatedDateTime"])) { + return $this->_propDict["dataLastUpdatedDateTime"]; + } else { + $this->_propDict["dataLastUpdatedDateTime"] = new \DateTime($this->_propDict["dataLastUpdatedDateTime"]); + return $this->_propDict["dataLastUpdatedDateTime"]; + } + } + return null; + } + + /** + * Sets the dataLastUpdatedDateTime + * + * @param \DateTime $val The dataLastUpdatedDateTime + * + * @return ExactMatchDataStoreBase + */ + public function setDataLastUpdatedDateTime($val) + { + $this->_propDict["dataLastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return ExactMatchDataStoreBase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return ExactMatchDataStoreBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDetectedSensitiveContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDetectedSensitiveContent.php new file mode 100644 index 0000000..bd7e5d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDetectedSensitiveContent.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["matches"], "\Beta\Microsoft\Graph\Model\SensitiveContentLocation") || is_null($this->_propDict["matches"])) { + return $this->_propDict["matches"]; + } else { + $this->_propDict["matches"] = new SensitiveContentLocation($this->_propDict["matches"]); + return $this->_propDict["matches"]; + } + } + return null; + } + + /** + * Sets the matches + * + * @param SensitiveContentLocation $val The value to assign to the matches + * + * @return ExactMatchDetectedSensitiveContent The ExactMatchDetectedSensitiveContent + */ + public function setMatches($val) + { + $this->_propDict["matches"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchJobBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchJobBase.php new file mode 100644 index 0000000..8ef1237 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchJobBase.php @@ -0,0 +1,182 @@ +_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * + * @param \DateTime $val The completionDateTime + * + * @return ExactMatchJobBase + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * + * @param \DateTime $val The creationDateTime + * + * @return ExactMatchJobBase + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return ClassificationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\ClassificationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new ClassificationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param ClassificationError $val The error + * + * @return ExactMatchJobBase + */ + public function setError($val) + { + $this->_propDict["error"] = $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 ExactMatchJobBase + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The startDateTime + * + * @return ExactMatchJobBase + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchLookupJob.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchLookupJob.php new file mode 100644 index 0000000..4cdfab7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchLookupJob.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The state + * + * @return ExactMatchLookupJob + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the matchingRows + * + * @return array|null The matchingRows + */ + public function getMatchingRows() + { + if (array_key_exists("matchingRows", $this->_propDict)) { + return $this->_propDict["matchingRows"]; + } else { + return null; + } + } + + /** + * Sets the matchingRows + * + * @param LookupResultRow[] $val The matchingRows + * + * @return ExactMatchLookupJob + */ + public function setMatchingRows($val) + { + $this->_propDict["matchingRows"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSession.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSession.php new file mode 100644 index 0000000..c99ad61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSession.php @@ -0,0 +1,247 @@ +_propDict)) { + return $this->_propDict["checksum"]; + } else { + return null; + } + } + + /** + * Sets the checksum + * + * @param string $val The checksum + * + * @return ExactMatchSession + */ + public function setChecksum($val) + { + $this->_propDict["checksum"] = $val; + return $this; + } + + /** + * Gets the dataUploadURI + * + * @return string|null The dataUploadURI + */ + public function getDataUploadURI() + { + if (array_key_exists("dataUploadURI", $this->_propDict)) { + return $this->_propDict["dataUploadURI"]; + } else { + return null; + } + } + + /** + * Sets the dataUploadURI + * + * @param string $val The dataUploadURI + * + * @return ExactMatchSession + */ + public function setDataUploadURI($val) + { + $this->_propDict["dataUploadURI"] = $val; + return $this; + } + + /** + * Gets the fields + * + * @return string|null The fields + */ + public function getFields() + { + if (array_key_exists("fields", $this->_propDict)) { + return $this->_propDict["fields"]; + } else { + return null; + } + } + + /** + * Sets the fields + * + * @param string $val The fields + * + * @return ExactMatchSession + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + + /** + * Gets the fileName + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * + * @param string $val The fileName + * + * @return ExactMatchSession + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the rowsPerBlock + * + * @return int|null The rowsPerBlock + */ + public function getRowsPerBlock() + { + if (array_key_exists("rowsPerBlock", $this->_propDict)) { + return $this->_propDict["rowsPerBlock"]; + } else { + return null; + } + } + + /** + * Sets the rowsPerBlock + * + * @param int $val The rowsPerBlock + * + * @return ExactMatchSession + */ + public function setRowsPerBlock($val) + { + $this->_propDict["rowsPerBlock"] = intval($val); + return $this; + } + + /** + * Gets the salt + * + * @return string|null The salt + */ + public function getSalt() + { + if (array_key_exists("salt", $this->_propDict)) { + return $this->_propDict["salt"]; + } else { + return null; + } + } + + /** + * Sets the salt + * + * @param string $val The salt + * + * @return ExactMatchSession + */ + public function setSalt($val) + { + $this->_propDict["salt"] = $val; + return $this; + } + + /** + * Gets the uploadAgentId + * + * @return string|null The uploadAgentId + */ + public function getUploadAgentId() + { + if (array_key_exists("uploadAgentId", $this->_propDict)) { + return $this->_propDict["uploadAgentId"]; + } else { + return null; + } + } + + /** + * Sets the uploadAgentId + * + * @param string $val The uploadAgentId + * + * @return ExactMatchSession + */ + public function setUploadAgentId($val) + { + $this->_propDict["uploadAgentId"] = $val; + return $this; + } + + /** + * Gets the uploadAgent + * + * @return ExactMatchUploadAgent|null The uploadAgent + */ + public function getUploadAgent() + { + if (array_key_exists("uploadAgent", $this->_propDict)) { + if (is_a($this->_propDict["uploadAgent"], "\Beta\Microsoft\Graph\Model\ExactMatchUploadAgent") || is_null($this->_propDict["uploadAgent"])) { + return $this->_propDict["uploadAgent"]; + } else { + $this->_propDict["uploadAgent"] = new ExactMatchUploadAgent($this->_propDict["uploadAgent"]); + return $this->_propDict["uploadAgent"]; + } + } + return null; + } + + /** + * Sets the uploadAgent + * + * @param ExactMatchUploadAgent $val The uploadAgent + * + * @return ExactMatchSession + */ + public function setUploadAgent($val) + { + $this->_propDict["uploadAgent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSessionBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSessionBase.php new file mode 100644 index 0000000..0d3ecee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSessionBase.php @@ -0,0 +1,251 @@ +_propDict)) { + return $this->_propDict["dataStoreId"]; + } else { + return null; + } + } + + /** + * Sets the dataStoreId + * + * @param string $val The dataStoreId + * + * @return ExactMatchSessionBase + */ + public function setDataStoreId($val) + { + $this->_propDict["dataStoreId"] = $val; + return $this; + } + + /** + * Gets the processingCompletionDateTime + * + * @return \DateTime|null The processingCompletionDateTime + */ + public function getProcessingCompletionDateTime() + { + if (array_key_exists("processingCompletionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["processingCompletionDateTime"], "\DateTime") || is_null($this->_propDict["processingCompletionDateTime"])) { + return $this->_propDict["processingCompletionDateTime"]; + } else { + $this->_propDict["processingCompletionDateTime"] = new \DateTime($this->_propDict["processingCompletionDateTime"]); + return $this->_propDict["processingCompletionDateTime"]; + } + } + return null; + } + + /** + * Sets the processingCompletionDateTime + * + * @param \DateTime $val The processingCompletionDateTime + * + * @return ExactMatchSessionBase + */ + public function setProcessingCompletionDateTime($val) + { + $this->_propDict["processingCompletionDateTime"] = $val; + return $this; + } + + /** + * Gets the remainingBlockCount + * + * @return int|null The remainingBlockCount + */ + public function getRemainingBlockCount() + { + if (array_key_exists("remainingBlockCount", $this->_propDict)) { + return $this->_propDict["remainingBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the remainingBlockCount + * + * @param int $val The remainingBlockCount + * + * @return ExactMatchSessionBase + */ + public function setRemainingBlockCount($val) + { + $this->_propDict["remainingBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the remainingJobCount + * + * @return int|null The remainingJobCount + */ + public function getRemainingJobCount() + { + if (array_key_exists("remainingJobCount", $this->_propDict)) { + return $this->_propDict["remainingJobCount"]; + } else { + return null; + } + } + + /** + * Sets the remainingJobCount + * + * @param int $val The remainingJobCount + * + * @return ExactMatchSessionBase + */ + public function setRemainingJobCount($val) + { + $this->_propDict["remainingJobCount"] = intval($val); + return $this; + } + + /** + * Gets the state + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The state + * + * @return ExactMatchSessionBase + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the totalBlockCount + * + * @return int|null The totalBlockCount + */ + public function getTotalBlockCount() + { + if (array_key_exists("totalBlockCount", $this->_propDict)) { + return $this->_propDict["totalBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the totalBlockCount + * + * @param int $val The totalBlockCount + * + * @return ExactMatchSessionBase + */ + public function setTotalBlockCount($val) + { + $this->_propDict["totalBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the totalJobCount + * + * @return int|null The totalJobCount + */ + public function getTotalJobCount() + { + if (array_key_exists("totalJobCount", $this->_propDict)) { + return $this->_propDict["totalJobCount"]; + } else { + return null; + } + } + + /** + * Sets the totalJobCount + * + * @param int $val The totalJobCount + * + * @return ExactMatchSessionBase + */ + public function setTotalJobCount($val) + { + $this->_propDict["totalJobCount"] = intval($val); + return $this; + } + + /** + * Gets the uploadCompletionDateTime + * + * @return \DateTime|null The uploadCompletionDateTime + */ + public function getUploadCompletionDateTime() + { + if (array_key_exists("uploadCompletionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["uploadCompletionDateTime"], "\DateTime") || is_null($this->_propDict["uploadCompletionDateTime"])) { + return $this->_propDict["uploadCompletionDateTime"]; + } else { + $this->_propDict["uploadCompletionDateTime"] = new \DateTime($this->_propDict["uploadCompletionDateTime"]); + return $this->_propDict["uploadCompletionDateTime"]; + } + } + return null; + } + + /** + * Sets the uploadCompletionDateTime + * + * @param \DateTime $val The uploadCompletionDateTime + * + * @return ExactMatchSessionBase + */ + public function setUploadCompletionDateTime($val) + { + $this->_propDict["uploadCompletionDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchUploadAgent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchUploadAgent.php new file mode 100644 index 0000000..ce58f28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchUploadAgent.php @@ -0,0 +1,85 @@ +_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * + * @param \DateTime $val The creationDateTime + * + * @return ExactMatchUploadAgent + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return ExactMatchUploadAgent + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExchangeIdFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExchangeIdFormat.php new file mode 100644 index 0000000..c9b36e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExchangeIdFormat.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The object identifier of an Azure AD user or group. + * + * @param string $val The value of the id + * + * @return ExcludeTarget + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @return AuthenticationMethodTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @param AuthenticationMethodTargetType $val The value to assign to the targetType + * + * @return ExcludeTarget The ExcludeTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExcludedApps.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExcludedApps.php new file mode 100644 index 0000000..17e02f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExcludedApps.php @@ -0,0 +1,446 @@ +_propDict)) { + return $this->_propDict["access"]; + } else { + return null; + } + } + + /** + * Sets the access + * The value for if MS Office Access should be excluded or not. + * + * @param bool $val The value of the access + * + * @return ExcludedApps + */ + public function setAccess($val) + { + $this->_propDict["access"] = $val; + return $this; + } + /** + * Gets the bing + * The value for if Microsoft Search as default should be excluded or not. + * + * @return bool|null The bing + */ + public function getBing() + { + if (array_key_exists("bing", $this->_propDict)) { + return $this->_propDict["bing"]; + } else { + return null; + } + } + + /** + * Sets the bing + * The value for if Microsoft Search as default should be excluded or not. + * + * @param bool $val The value of the bing + * + * @return ExcludedApps + */ + public function setBing($val) + { + $this->_propDict["bing"] = $val; + return $this; + } + /** + * Gets the excel + * The value for if MS Office Excel should be excluded or not. + * + * @return bool|null The excel + */ + public function getExcel() + { + if (array_key_exists("excel", $this->_propDict)) { + return $this->_propDict["excel"]; + } else { + return null; + } + } + + /** + * Sets the excel + * The value for if MS Office Excel should be excluded or not. + * + * @param bool $val The value of the excel + * + * @return ExcludedApps + */ + public function setExcel($val) + { + $this->_propDict["excel"] = $val; + return $this; + } + /** + * Gets the groove + * The value for if MS Office OneDrive for Business - Groove should be excluded or not. + * + * @return bool|null The groove + */ + public function getGroove() + { + if (array_key_exists("groove", $this->_propDict)) { + return $this->_propDict["groove"]; + } else { + return null; + } + } + + /** + * Sets the groove + * The value for if MS Office OneDrive for Business - Groove should be excluded or not. + * + * @param bool $val The value of the groove + * + * @return ExcludedApps + */ + public function setGroove($val) + { + $this->_propDict["groove"] = $val; + return $this; + } + /** + * Gets the infoPath + * The value for if MS Office InfoPath should be excluded or not. + * + * @return bool|null The infoPath + */ + public function getInfoPath() + { + if (array_key_exists("infoPath", $this->_propDict)) { + return $this->_propDict["infoPath"]; + } else { + return null; + } + } + + /** + * Sets the infoPath + * The value for if MS Office InfoPath should be excluded or not. + * + * @param bool $val The value of the infoPath + * + * @return ExcludedApps + */ + public function setInfoPath($val) + { + $this->_propDict["infoPath"] = $val; + return $this; + } + /** + * Gets the lync + * The value for if MS Office Skype for Business - Lync should be excluded or not. + * + * @return bool|null The lync + */ + public function getLync() + { + if (array_key_exists("lync", $this->_propDict)) { + return $this->_propDict["lync"]; + } else { + return null; + } + } + + /** + * Sets the lync + * The value for if MS Office Skype for Business - Lync should be excluded or not. + * + * @param bool $val The value of the lync + * + * @return ExcludedApps + */ + public function setLync($val) + { + $this->_propDict["lync"] = $val; + return $this; + } + /** + * Gets the oneDrive + * The value for if MS Office OneDrive should be excluded or not. + * + * @return bool|null The oneDrive + */ + public function getOneDrive() + { + if (array_key_exists("oneDrive", $this->_propDict)) { + return $this->_propDict["oneDrive"]; + } else { + return null; + } + } + + /** + * Sets the oneDrive + * The value for if MS Office OneDrive should be excluded or not. + * + * @param bool $val The value of the oneDrive + * + * @return ExcludedApps + */ + public function setOneDrive($val) + { + $this->_propDict["oneDrive"] = $val; + return $this; + } + /** + * Gets the oneNote + * The value for if MS Office OneNote should be excluded or not. + * + * @return bool|null The oneNote + */ + public function getOneNote() + { + if (array_key_exists("oneNote", $this->_propDict)) { + return $this->_propDict["oneNote"]; + } else { + return null; + } + } + + /** + * Sets the oneNote + * The value for if MS Office OneNote should be excluded or not. + * + * @param bool $val The value of the oneNote + * + * @return ExcludedApps + */ + public function setOneNote($val) + { + $this->_propDict["oneNote"] = $val; + return $this; + } + /** + * Gets the outlook + * The value for if MS Office Outlook should be excluded or not. + * + * @return bool|null The outlook + */ + public function getOutlook() + { + if (array_key_exists("outlook", $this->_propDict)) { + return $this->_propDict["outlook"]; + } else { + return null; + } + } + + /** + * Sets the outlook + * The value for if MS Office Outlook should be excluded or not. + * + * @param bool $val The value of the outlook + * + * @return ExcludedApps + */ + public function setOutlook($val) + { + $this->_propDict["outlook"] = $val; + return $this; + } + /** + * Gets the powerPoint + * The value for if MS Office PowerPoint should be excluded or not. + * + * @return bool|null The powerPoint + */ + public function getPowerPoint() + { + if (array_key_exists("powerPoint", $this->_propDict)) { + return $this->_propDict["powerPoint"]; + } else { + return null; + } + } + + /** + * Sets the powerPoint + * The value for if MS Office PowerPoint should be excluded or not. + * + * @param bool $val The value of the powerPoint + * + * @return ExcludedApps + */ + public function setPowerPoint($val) + { + $this->_propDict["powerPoint"] = $val; + return $this; + } + /** + * Gets the publisher + * The value for if MS Office Publisher should be excluded or not. + * + * @return bool|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The value for if MS Office Publisher should be excluded or not. + * + * @param bool $val The value of the publisher + * + * @return ExcludedApps + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + /** + * Gets the sharePointDesigner + * The value for if MS Office SharePointDesigner should be excluded or not. + * + * @return bool|null The sharePointDesigner + */ + public function getSharePointDesigner() + { + if (array_key_exists("sharePointDesigner", $this->_propDict)) { + return $this->_propDict["sharePointDesigner"]; + } else { + return null; + } + } + + /** + * Sets the sharePointDesigner + * The value for if MS Office SharePointDesigner should be excluded or not. + * + * @param bool $val The value of the sharePointDesigner + * + * @return ExcludedApps + */ + public function setSharePointDesigner($val) + { + $this->_propDict["sharePointDesigner"] = $val; + return $this; + } + /** + * Gets the teams + * The value for if MS Office Teams should be excluded or not. + * + * @return bool|null The teams + */ + public function getTeams() + { + if (array_key_exists("teams", $this->_propDict)) { + return $this->_propDict["teams"]; + } else { + return null; + } + } + + /** + * Sets the teams + * The value for if MS Office Teams should be excluded or not. + * + * @param bool $val The value of the teams + * + * @return ExcludedApps + */ + public function setTeams($val) + { + $this->_propDict["teams"] = $val; + return $this; + } + /** + * Gets the visio + * The value for if MS Office Visio should be excluded or not. + * + * @return bool|null The visio + */ + public function getVisio() + { + if (array_key_exists("visio", $this->_propDict)) { + return $this->_propDict["visio"]; + } else { + return null; + } + } + + /** + * Sets the visio + * The value for if MS Office Visio should be excluded or not. + * + * @param bool $val The value of the visio + * + * @return ExcludedApps + */ + public function setVisio($val) + { + $this->_propDict["visio"] = $val; + return $this; + } + /** + * Gets the word + * The value for if MS Office Word should be excluded or not. + * + * @return bool|null The word + */ + public function getWord() + { + if (array_key_exists("word", $this->_propDict)) { + return $this->_propDict["word"]; + } else { + return null; + } + } + + /** + * Sets the word + * The value for if MS Office Word should be excluded or not. + * + * @param bool $val The value of the word + * + * @return ExcludedApps + */ + public function setWord($val) + { + $this->_propDict["word"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExclusionGroupAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExclusionGroupAssignmentTarget.php new file mode 100644 index 0000000..7f7b40a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExclusionGroupAssignmentTarget.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["daysUntilForcedReboot"]; + } else { + return null; + } + } + + /** + * Sets the daysUntilForcedReboot + * The number of days after installation that forced reboot will happen. + * + * @param int $val The value of the daysUntilForcedReboot + * + * @return ExpeditedWindowsQualityUpdateSettings + */ + public function setDaysUntilForcedReboot($val) + { + $this->_propDict["daysUntilForcedReboot"] = $val; + return $this; + } + /** + * Gets the qualityUpdateRelease + * The release date to identify a quality update. + * + * @return string|null The qualityUpdateRelease + */ + public function getQualityUpdateRelease() + { + if (array_key_exists("qualityUpdateRelease", $this->_propDict)) { + return $this->_propDict["qualityUpdateRelease"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdateRelease + * The release date to identify a quality update. + * + * @param string $val The value of the qualityUpdateRelease + * + * @return ExpeditedWindowsQualityUpdateSettings + */ + public function setQualityUpdateRelease($val) + { + $this->_propDict["qualityUpdateRelease"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPattern.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPattern.php new file mode 100644 index 0000000..7b2f961 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPattern.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime should not be present and the type property should be set to afterDuration. + * + * @param \DateInterval $val The value to assign to the duration + * + * @return ExpirationPattern The ExpirationPattern + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Timestamp of 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Timestamp of 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 endDateTime + * + * @return ExpirationPattern The ExpirationPattern + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * The requestor's desired expiration pattern type. + * + * @return ExpirationPatternType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ExpirationPatternType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ExpirationPatternType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The requestor's desired expiration pattern type. + * + * @param ExpirationPatternType $val The value to assign to the type + * + * @return ExpirationPattern The ExpirationPattern + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPatternType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPatternType.php new file mode 100644 index 0000000..6a06356 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPatternType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["expression"]; + } else { + return null; + } + } + + /** + * Sets the expression + * Represents expression which has been evaluated. + * + * @param string $val The value of the expression + * + * @return ExpressionEvaluationDetails + */ + public function setExpression($val) + { + $this->_propDict["expression"] = $val; + return $this; + } + + /** + * Gets the expressionEvaluationDetails + * Represents the details of the evaluation of the expression. + * + * @return ExpressionEvaluationDetails|null The expressionEvaluationDetails + */ + public function getExpressionEvaluationDetails() + { + if (array_key_exists("expressionEvaluationDetails", $this->_propDict)) { + if (is_a($this->_propDict["expressionEvaluationDetails"], "\Beta\Microsoft\Graph\Model\ExpressionEvaluationDetails") || is_null($this->_propDict["expressionEvaluationDetails"])) { + return $this->_propDict["expressionEvaluationDetails"]; + } else { + $this->_propDict["expressionEvaluationDetails"] = new ExpressionEvaluationDetails($this->_propDict["expressionEvaluationDetails"]); + return $this->_propDict["expressionEvaluationDetails"]; + } + } + return null; + } + + /** + * Sets the expressionEvaluationDetails + * Represents the details of the evaluation of the expression. + * + * @param ExpressionEvaluationDetails $val The value to assign to the expressionEvaluationDetails + * + * @return ExpressionEvaluationDetails The ExpressionEvaluationDetails + */ + public function setExpressionEvaluationDetails($val) + { + $this->_propDict["expressionEvaluationDetails"] = $val; + return $this; + } + /** + * Gets the expressionResult + * Represents the value of the result of the current expression. + * + * @return bool|null The expressionResult + */ + public function getExpressionResult() + { + if (array_key_exists("expressionResult", $this->_propDict)) { + return $this->_propDict["expressionResult"]; + } else { + return null; + } + } + + /** + * Sets the expressionResult + * Represents the value of the result of the current expression. + * + * @param bool $val The value of the expressionResult + * + * @return ExpressionEvaluationDetails + */ + public function setExpressionResult($val) + { + $this->_propDict["expressionResult"] = $val; + return $this; + } + + /** + * Gets the propertyToEvaluate + * Defines the name of the property and the value of that property. + * + * @return PropertyToEvaluate|null The propertyToEvaluate + */ + public function getPropertyToEvaluate() + { + if (array_key_exists("propertyToEvaluate", $this->_propDict)) { + if (is_a($this->_propDict["propertyToEvaluate"], "\Beta\Microsoft\Graph\Model\PropertyToEvaluate") || is_null($this->_propDict["propertyToEvaluate"])) { + return $this->_propDict["propertyToEvaluate"]; + } else { + $this->_propDict["propertyToEvaluate"] = new PropertyToEvaluate($this->_propDict["propertyToEvaluate"]); + return $this->_propDict["propertyToEvaluate"]; + } + } + return null; + } + + /** + * Sets the propertyToEvaluate + * Defines the name of the property and the value of that property. + * + * @param PropertyToEvaluate $val The value to assign to the propertyToEvaluate + * + * @return ExpressionEvaluationDetails The ExpressionEvaluationDetails + */ + public function setPropertyToEvaluate($val) + { + $this->_propDict["propertyToEvaluate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpressionInputObject.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpressionInputObject.php new file mode 100644 index 0000000..231f6a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpressionInputObject.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\ObjectDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new ObjectDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * Definition of the test object. + * + * @param ObjectDefinition $val The value to assign to the definition + * + * @return ExpressionInputObject The ExpressionInputObject + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + /** + * Gets the expressionInputObjectProperties + * Property values of the test object. + * + * @return StringKeyObjectValuePair|null The expressionInputObjectProperties + */ + public function getExpressionInputObjectProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\StringKeyObjectValuePair") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new StringKeyObjectValuePair($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the expressionInputObjectProperties + * Property values of the test object. + * + * @param StringKeyObjectValuePair $val The value to assign to the properties + * + * @return ExpressionInputObject The ExpressionInputObject + */ + public function setExpressionInputObjectProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtendedKeyUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtendedKeyUsage.php new file mode 100644 index 0000000..073e6bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtendedKeyUsage.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Extended Key Usage Name + * + * @param string $val The value of the name + * + * @return ExtendedKeyUsage + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the objectIdentifier + * Extended Key Usage Object Identifier + * + * @return string|null The objectIdentifier + */ + public function getObjectIdentifier() + { + if (array_key_exists("objectIdentifier", $this->_propDict)) { + return $this->_propDict["objectIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the objectIdentifier + * Extended Key Usage Object Identifier + * + * @param string $val The value of the objectIdentifier + * + * @return ExtendedKeyUsage + */ + public function setObjectIdentifier($val) + { + $this->_propDict["objectIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Extension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Extension.php new file mode 100644 index 0000000..4b56462 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Extension.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * Display name of the application object on which this extension property is defined. Read-only. + * + * @param string $val The appDisplayName + * + * @return ExtensionProperty + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the dataType + * Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum + * + * @return string|null The dataType + */ + public function getDataType() + { + if (array_key_exists("dataType", $this->_propDict)) { + return $this->_propDict["dataType"]; + } else { + return null; + } + } + + /** + * Sets the dataType + * Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum + * + * @param string $val The dataType + * + * @return ExtensionProperty + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + + /** + * Gets the isSyncedFromOnPremises + * Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only. + * + * @return bool|null The isSyncedFromOnPremises + */ + public function getIsSyncedFromOnPremises() + { + if (array_key_exists("isSyncedFromOnPremises", $this->_propDict)) { + return $this->_propDict["isSyncedFromOnPremises"]; + } else { + return null; + } + } + + /** + * Sets the isSyncedFromOnPremises + * Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only. + * + * @param bool $val The isSyncedFromOnPremises + * + * @return ExtensionProperty + */ + public function setIsSyncedFromOnPremises($val) + { + $this->_propDict["isSyncedFromOnPremises"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Name of the extension property. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the extension property. Not nullable. + * + * @param string $val The name + * + * @return ExtensionProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the targetObjects + * Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication + * + * @return string|null The targetObjects + */ + public function getTargetObjects() + { + if (array_key_exists("targetObjects", $this->_propDict)) { + return $this->_propDict["targetObjects"]; + } else { + return null; + } + } + + /** + * Sets the targetObjects + * Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication + * + * @param string $val The targetObjects + * + * @return ExtensionProperty + */ + public function setTargetObjects($val) + { + $this->_propDict["targetObjects"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtensionSchemaProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtensionSchemaProperty.php new file mode 100644 index 0000000..25fa1c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtensionSchemaProperty.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the strongly typed property defined as part of a schema extension. + * + * @param string $val The value of the name + * + * @return ExtensionSchemaProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + * + * @param string $val The value of the type + * + * @return ExtensionSchemaProperty + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/External.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/External.php new file mode 100644 index 0000000..6fe4f42 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/External.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["connections"]; + } else { + return null; + } + } + + /** + * Sets the connections + * + * @param ExternalConnection[] $val The connections + * + * @return External + */ + public function setConnections($val) + { + $this->_propDict["connections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalAudienceScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalAudienceScope.php new file mode 100644 index 0000000..70e04b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalAudienceScope.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\Configuration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new Configuration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * + * @param Configuration $val The configuration + * + * @return ExternalConnection + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return ExternalConnection + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return ExternalConnection + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return ConnectionState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConnectionState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConnectionState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param ConnectionState $val The state + * + * @return ExternalConnection + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the groups + * + * @return array|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * + * @param ExternalGroup[] $val The groups + * + * @return ExternalConnection + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + + /** + * Gets the items + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * + * @param ExternalItem[] $val The items + * + * @return ExternalConnection + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the operations + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * + * @param ConnectionOperation[] $val The operations + * + * @return ExternalConnection + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + /** + * Gets the schema + * + * @return Schema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\Schema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new Schema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * + * @param Schema $val The schema + * + * @return ExternalConnection + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainFederation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainFederation.php new file mode 100644 index 0000000..bc08779 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainFederation.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.externalDomainFederation"); + } + + /** + * Gets the displayName + * The name of the identity source, typically also the domain name. Read only. + * + * @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 + * The name of the identity source, typically also the domain name. Read only. + * + * @param string $val The value of the displayName + * + * @return ExternalDomainFederation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the domainName + * The domain name. Read only. + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * The domain name. Read only. + * + * @param string $val The value of the domainName + * + * @return ExternalDomainFederation + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + /** + * Gets the issuerUri + * The issuerURI of the incoming federation. Read only. + * + * @return string|null The issuerUri + */ + public function getIssuerUri() + { + if (array_key_exists("issuerUri", $this->_propDict)) { + return $this->_propDict["issuerUri"]; + } else { + return null; + } + } + + /** + * Sets the issuerUri + * The issuerURI of the incoming federation. Read only. + * + * @param string $val The value of the issuerUri + * + * @return ExternalDomainFederation + */ + public function setIssuerUri($val) + { + $this->_propDict["issuerUri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainName.php new file mode 100644 index 0000000..62b8d31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainName.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return ExternalGroup + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return ExternalGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalIdentitiesPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalIdentitiesPolicy.php new file mode 100644 index 0000000..a8aed23 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalIdentitiesPolicy.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["allowDeletedIdentitiesDataRemoval"]; + } else { + return null; + } + } + + /** + * Sets the allowDeletedIdentitiesDataRemoval + * + * @param bool $val The allowDeletedIdentitiesDataRemoval + * + * @return ExternalIdentitiesPolicy + */ + public function setAllowDeletedIdentitiesDataRemoval($val) + { + $this->_propDict["allowDeletedIdentitiesDataRemoval"] = boolval($val); + return $this; + } + + /** + * Gets the allowExternalIdentitiesToLeave + * + * @return bool|null The allowExternalIdentitiesToLeave + */ + public function getAllowExternalIdentitiesToLeave() + { + if (array_key_exists("allowExternalIdentitiesToLeave", $this->_propDict)) { + return $this->_propDict["allowExternalIdentitiesToLeave"]; + } else { + return null; + } + } + + /** + * Sets the allowExternalIdentitiesToLeave + * + * @param bool $val The allowExternalIdentitiesToLeave + * + * @return ExternalIdentitiesPolicy + */ + public function setAllowExternalIdentitiesToLeave($val) + { + $this->_propDict["allowExternalIdentitiesToLeave"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItem.php new file mode 100644 index 0000000..52d6bc9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItem.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["acl"]; + } else { + return null; + } + } + + /** + * Sets the acl + * + * @param Acl[] $val The acl + * + * @return ExternalItem + */ + public function setAcl($val) + { + $this->_propDict["acl"] = $val; + return $this; + } + + /** + * Gets the content + * + * @return ExternalItemContent|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\Model\ExternalItemContent") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = new ExternalItemContent($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * + * @param ExternalItemContent $val The content + * + * @return ExternalItem + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the externalItemProperties + * + * @return Properties|null The externalItemProperties + */ + public function getExternalItemProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\Properties") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new Properties($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the externalItemProperties + * + * @param Properties $val The externalItemProperties + * + * @return ExternalItem + */ + public function setExternalItemProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContent.php new file mode 100644 index 0000000..4fa95e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContent.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ExternalItemContentType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ExternalItemContentType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param ExternalItemContentType $val The value to assign to the type + * + * @return ExternalItemContent The ExternalItemContent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return ExternalItemContent + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContentType.php new file mode 100644 index 0000000..33ead96 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContentType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["href"]; + } else { + return null; + } + } + + /** + * Sets the href + * The url of the link. + * + * @param string $val The value of the href + * + * @return ExternalLink + */ + public function setHref($val) + { + $this->_propDict["href"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalMeetingRegistrant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalMeetingRegistrant.php new file mode 100644 index 0000000..aee4a4f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalMeetingRegistrant.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * The tenant ID of this registrant if in Azure Active Directory. + * + * @param string $val The tenantId + * + * @return ExternalMeetingRegistrant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userId + * The user ID of this registrant if in Azure Active Directory. + * + * @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 + * The user ID of this registrant if in Azure Active Directory. + * + * @param string $val The userId + * + * @return ExternalMeetingRegistrant + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalMeetingRegistration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalMeetingRegistration.php new file mode 100644 index 0000000..e40dd1e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalMeetingRegistration.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\Model\SensitivityLabelAssignment") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new SensitivityLabelAssignment($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * List of sensitivity labels assigned to a file. + * + * @param SensitivityLabelAssignment $val The value to assign to the labels + * + * @return ExtractSensitivityLabelsResult The ExtractSensitivityLabelsResult + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureRolloutPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureRolloutPolicy.php new file mode 100644 index 0000000..3b45d28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureRolloutPolicy.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description for this feature rollout policy. + * + * @param string $val The description + * + * @return FeatureRolloutPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for this feature rollout policy. + * + * @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 + * The display name for this feature rollout policy. + * + * @param string $val The displayName + * + * @return FeatureRolloutPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the feature + * Possible values are: passthroughAuthentication, seamlessSso, passwordHashSync, emailAsAlternateId, unknownFutureValue. + * + * @return StagedFeatureName|null The feature + */ + public function getFeature() + { + if (array_key_exists("feature", $this->_propDict)) { + if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\StagedFeatureName") || is_null($this->_propDict["feature"])) { + return $this->_propDict["feature"]; + } else { + $this->_propDict["feature"] = new StagedFeatureName($this->_propDict["feature"]); + return $this->_propDict["feature"]; + } + } + return null; + } + + /** + * Sets the feature + * Possible values are: passthroughAuthentication, seamlessSso, passwordHashSync, emailAsAlternateId, unknownFutureValue. + * + * @param StagedFeatureName $val The feature + * + * @return FeatureRolloutPolicy + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + + /** + * Gets the isAppliedToOrganization + * Indicates whether this feature rollout policy should be applied to the entire organization. + * + * @return bool|null The isAppliedToOrganization + */ + public function getIsAppliedToOrganization() + { + if (array_key_exists("isAppliedToOrganization", $this->_propDict)) { + return $this->_propDict["isAppliedToOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isAppliedToOrganization + * Indicates whether this feature rollout policy should be applied to the entire organization. + * + * @param bool $val The isAppliedToOrganization + * + * @return FeatureRolloutPolicy + */ + public function setIsAppliedToOrganization($val) + { + $this->_propDict["isAppliedToOrganization"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the feature rollout is enabled. + * + * @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 + * Indicates whether the feature rollout is enabled. + * + * @param bool $val The isEnabled + * + * @return FeatureRolloutPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the appliesTo + * Nullable. Specifies a list of directoryObjects that feature is enabled for. + * + * @return array|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * Nullable. Specifies a list of directoryObjects that feature is enabled for. + * + * @param DirectoryObject[] $val The appliesTo + * + * @return FeatureRolloutPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureType.php new file mode 100644 index 0000000..4fb8cd7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["featureName"]; + } else { + return null; + } + } + + /** + * Sets the featureName + * + * @param string $val The value of the featureName + * + * @return FeatureUsageDetail + */ + public function setFeatureName($val) + { + $this->_propDict["featureName"] = $val; + return $this; + } + + /** + * Gets the lastConfiguredDateTime + * + * @return \DateTime|null The lastConfiguredDateTime + */ + public function getLastConfiguredDateTime() + { + if (array_key_exists("lastConfiguredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConfiguredDateTime"], "\DateTime") || is_null($this->_propDict["lastConfiguredDateTime"])) { + return $this->_propDict["lastConfiguredDateTime"]; + } else { + $this->_propDict["lastConfiguredDateTime"] = new \DateTime($this->_propDict["lastConfiguredDateTime"]); + return $this->_propDict["lastConfiguredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConfiguredDateTime + * + * @param \DateTime $val The value to assign to the lastConfiguredDateTime + * + * @return FeatureUsageDetail The FeatureUsageDetail + */ + public function setLastConfiguredDateTime($val) + { + $this->_propDict["lastConfiguredDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUsedDateTime + * + * @return \DateTime|null The lastUsedDateTime + */ + public function getLastUsedDateTime() + { + if (array_key_exists("lastUsedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUsedDateTime"], "\DateTime") || is_null($this->_propDict["lastUsedDateTime"])) { + return $this->_propDict["lastUsedDateTime"]; + } else { + $this->_propDict["lastUsedDateTime"] = new \DateTime($this->_propDict["lastUsedDateTime"]); + return $this->_propDict["lastUsedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUsedDateTime + * + * @param \DateTime $val The value to assign to the lastUsedDateTime + * + * @return FeatureUsageDetail The FeatureUsageDetail + */ + public function setLastUsedDateTime($val) + { + $this->_propDict["lastUsedDateTime"] = $val; + return $this; + } + + /** + * Gets the licenseAssigned + * + * @return AzureADLicenseType|null The licenseAssigned + */ + public function getLicenseAssigned() + { + if (array_key_exists("licenseAssigned", $this->_propDict)) { + if (is_a($this->_propDict["licenseAssigned"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType") || is_null($this->_propDict["licenseAssigned"])) { + return $this->_propDict["licenseAssigned"]; + } else { + $this->_propDict["licenseAssigned"] = new AzureADLicenseType($this->_propDict["licenseAssigned"]); + return $this->_propDict["licenseAssigned"]; + } + } + return null; + } + + /** + * Sets the licenseAssigned + * + * @param AzureADLicenseType $val The value to assign to the licenseAssigned + * + * @return FeatureUsageDetail The FeatureUsageDetail + */ + public function setLicenseAssigned($val) + { + $this->_propDict["licenseAssigned"] = $val; + return $this; + } + + /** + * Gets the licenseRequired + * + * @return AzureADLicenseType|null The licenseRequired + */ + public function getLicenseRequired() + { + if (array_key_exists("licenseRequired", $this->_propDict)) { + if (is_a($this->_propDict["licenseRequired"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType") || is_null($this->_propDict["licenseRequired"])) { + return $this->_propDict["licenseRequired"]; + } else { + $this->_propDict["licenseRequired"] = new AzureADLicenseType($this->_propDict["licenseRequired"]); + return $this->_propDict["licenseRequired"]; + } + } + return null; + } + + /** + * Sets the licenseRequired + * + * @param AzureADLicenseType $val The value to assign to the licenseRequired + * + * @return FeatureUsageDetail The FeatureUsageDetail + */ + public function setLicenseRequired($val) + { + $this->_propDict["licenseRequired"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FederatedIdentityCredential.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FederatedIdentityCredential.php new file mode 100644 index 0000000..805bd84 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FederatedIdentityCredential.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["audiences"]; + } else { + return null; + } + } + + /** + * Sets the audiences + * Lists the audiences that can appear in the external token. This field is mandatory, and defaults to 'api://AzureADTokenExchange'. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Azure AD in your external identity provider and has no fixed value across identity providers - you may need to create a new application registration in your identity provider to serve as the audience of this token. Required. + * + * @param string $val The audiences + * + * @return FederatedIdentityCredential + */ + public function setAudiences($val) + { + $this->_propDict["audiences"] = $val; + return $this; + } + + /** + * Gets the description + * The un-validated, user-provided description of the federated identity credential. Optional. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The un-validated, user-provided description of the federated identity credential. Optional. + * + * @param string $val The description + * + * @return FederatedIdentityCredential + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the issuer + * The URL of the external identity provider and must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app. Required. + * + * @return string|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * The URL of the external identity provider and must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app. Required. + * + * @param string $val The issuer + * + * @return FederatedIdentityCredential + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the name + * is the unique identifier for the federated identity credential, which has a character limit of 120 characters and must be URL friendly. It is immutable once created. Required. Not nullable. Supports $filter (eq). + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * is the unique identifier for the federated identity credential, which has a character limit of 120 characters and must be URL friendly. It is immutable once created. Required. Not nullable. Supports $filter (eq). + * + * @param string $val The name + * + * @return FederatedIdentityCredential + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the subject + * Required. The identifier of the external software workload within the external identity provider. Like the audience value, it has no fixed format, as each identity provider uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. The value here must match the sub claim within the token presented to Azure AD. The combination of issuer and subject must be unique on the app. Supports $filter (eq). + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * Required. The identifier of the external software workload within the external identity provider. Like the audience value, it has no fixed format, as each identity provider uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. The value here must match the sub claim within the token presented to Azure AD. The combination of issuer and subject must be unique on the app. Supports $filter (eq). + * + * @param string $val The subject + * + * @return FederatedIdentityCredential + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FederatedIdpMfaBehavior.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FederatedIdpMfaBehavior.php new file mode 100644 index 0000000..0d34bbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FederatedIdpMfaBehavior.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["aaGuid"]; + } else { + return null; + } + } + + /** + * Sets the aaGuid + * Authenticator Attestation GUID, an identifier that indicates the type (e.g. make and model) of the authenticator. + * + * @param string $val The aaGuid + * + * @return Fido2AuthenticationMethod + */ + public function setAaGuid($val) + { + $this->_propDict["aaGuid"] = $val; + return $this; + } + + /** + * Gets the attestationCertificates + * The attestation certificate(s) attached to this security key. + * + * @return string|null The attestationCertificates + */ + public function getAttestationCertificates() + { + if (array_key_exists("attestationCertificates", $this->_propDict)) { + return $this->_propDict["attestationCertificates"]; + } else { + return null; + } + } + + /** + * Sets the attestationCertificates + * The attestation certificate(s) attached to this security key. + * + * @param string $val The attestationCertificates + * + * @return Fido2AuthenticationMethod + */ + public function setAttestationCertificates($val) + { + $this->_propDict["attestationCertificates"] = $val; + return $this; + } + + /** + * Gets the attestationLevel + * The attestation level of this FIDO2 security key. Possible values are: attested, notAttested, unknownFutureValue. + * + * @return AttestationLevel|null The attestationLevel + */ + public function getAttestationLevel() + { + if (array_key_exists("attestationLevel", $this->_propDict)) { + if (is_a($this->_propDict["attestationLevel"], "\Beta\Microsoft\Graph\Model\AttestationLevel") || is_null($this->_propDict["attestationLevel"])) { + return $this->_propDict["attestationLevel"]; + } else { + $this->_propDict["attestationLevel"] = new AttestationLevel($this->_propDict["attestationLevel"]); + return $this->_propDict["attestationLevel"]; + } + } + return null; + } + + /** + * Sets the attestationLevel + * The attestation level of this FIDO2 security key. Possible values are: attested, notAttested, unknownFutureValue. + * + * @param AttestationLevel $val The attestationLevel + * + * @return Fido2AuthenticationMethod + */ + public function setAttestationLevel($val) + { + $this->_propDict["attestationLevel"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The timestamp when this key was registered to the user. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The timestamp when this key was registered to the user. + * + * @param \DateTime $val The createdDateTime + * + * @return Fido2AuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * + * @param \DateTime $val The creationDateTime + * + * @return Fido2AuthenticationMethod + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the key as given by the user. + * + * @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 + * The display name of the key as given by the user. + * + * @param string $val The displayName + * + * @return Fido2AuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the model + * The manufacturer-assigned model of the FIDO2 security key. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The manufacturer-assigned model of the FIDO2 security key. + * + * @param string $val The model + * + * @return Fido2AuthenticationMethod + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2AuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2AuthenticationMethodConfiguration.php new file mode 100644 index 0000000..326fb59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2AuthenticationMethodConfiguration.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["isAttestationEnforced"]; + } else { + return null; + } + } + + /** + * Sets the isAttestationEnforced + * Determines whether attestation must be enforced for FIDO2 security key registration. + * + * @param bool $val The isAttestationEnforced + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setIsAttestationEnforced($val) + { + $this->_propDict["isAttestationEnforced"] = boolval($val); + return $this; + } + + /** + * Gets the isSelfServiceRegistrationAllowed + * Determines if users can register new FIDO2 security keys. + * + * @return bool|null The isSelfServiceRegistrationAllowed + */ + public function getIsSelfServiceRegistrationAllowed() + { + if (array_key_exists("isSelfServiceRegistrationAllowed", $this->_propDict)) { + return $this->_propDict["isSelfServiceRegistrationAllowed"]; + } else { + return null; + } + } + + /** + * Sets the isSelfServiceRegistrationAllowed + * Determines if users can register new FIDO2 security keys. + * + * @param bool $val The isSelfServiceRegistrationAllowed + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setIsSelfServiceRegistrationAllowed($val) + { + $this->_propDict["isSelfServiceRegistrationAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the keyRestrictions + * Controls whether key restrictions are enforced on FIDO2 security keys, either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (e.g. make and model) of the authenticator. + * + * @return Fido2KeyRestrictions|null The keyRestrictions + */ + public function getKeyRestrictions() + { + if (array_key_exists("keyRestrictions", $this->_propDict)) { + if (is_a($this->_propDict["keyRestrictions"], "\Beta\Microsoft\Graph\Model\Fido2KeyRestrictions") || is_null($this->_propDict["keyRestrictions"])) { + return $this->_propDict["keyRestrictions"]; + } else { + $this->_propDict["keyRestrictions"] = new Fido2KeyRestrictions($this->_propDict["keyRestrictions"]); + return $this->_propDict["keyRestrictions"]; + } + } + return null; + } + + /** + * Sets the keyRestrictions + * Controls whether key restrictions are enforced on FIDO2 security keys, either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (e.g. make and model) of the authenticator. + * + * @param Fido2KeyRestrictions $val The keyRestrictions + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setKeyRestrictions($val) + { + $this->_propDict["keyRestrictions"] = $val; + return $this; + } + + + /** + * Gets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @return array|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2KeyRestrictions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2KeyRestrictions.php new file mode 100644 index 0000000..d1cd163 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2KeyRestrictions.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["aaGuids"]; + } else { + return null; + } + } + + /** + * Sets the aaGuids + * A collection of Authenticator Attestation GUIDs. AADGUIDs define key types and manufacturers. + * + * @param string $val The value of the aaGuids + * + * @return Fido2KeyRestrictions + */ + public function setAaGuids($val) + { + $this->_propDict["aaGuids"] = $val; + return $this; + } + + /** + * Gets the enforcementType + * Enforcement type. Possible values are: allow, block. + * + * @return Fido2RestrictionEnforcementType|null The enforcementType + */ + public function getEnforcementType() + { + if (array_key_exists("enforcementType", $this->_propDict)) { + if (is_a($this->_propDict["enforcementType"], "\Beta\Microsoft\Graph\Model\Fido2RestrictionEnforcementType") || is_null($this->_propDict["enforcementType"])) { + return $this->_propDict["enforcementType"]; + } else { + $this->_propDict["enforcementType"] = new Fido2RestrictionEnforcementType($this->_propDict["enforcementType"]); + return $this->_propDict["enforcementType"]; + } + } + return null; + } + + /** + * Sets the enforcementType + * Enforcement type. Possible values are: allow, block. + * + * @param Fido2RestrictionEnforcementType $val The value to assign to the enforcementType + * + * @return Fido2KeyRestrictions The Fido2KeyRestrictions + */ + public function setEnforcementType($val) + { + $this->_propDict["enforcementType"] = $val; + return $this; + } + /** + * Gets the isEnforced + * Determines if the configured key enforcement is enabled. + * + * @return bool|null The isEnforced + */ + public function getIsEnforced() + { + if (array_key_exists("isEnforced", $this->_propDict)) { + return $this->_propDict["isEnforced"]; + } else { + return null; + } + } + + /** + * Sets the isEnforced + * Determines if the configured key enforcement is enabled. + * + * @param bool $val The value of the isEnforced + * + * @return Fido2KeyRestrictions + */ + public function setIsEnforced($val) + { + $this->_propDict["isEnforced"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2RestrictionEnforcementType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2RestrictionEnforcementType.php new file mode 100644 index 0000000..81237d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2RestrictionEnforcementType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["hashes"], "\Beta\Microsoft\Graph\Model\Hashes") || is_null($this->_propDict["hashes"])) { + return $this->_propDict["hashes"]; + } else { + $this->_propDict["hashes"] = new Hashes($this->_propDict["hashes"]); + return $this->_propDict["hashes"]; + } + } + return null; + } + + /** + * Sets the hashes + * Hashes of the file's binary content, if available. Read-only. + * + * @param Hashes $val The value to assign to the hashes + * + * @return File The File + */ + public function setHashes($val) + { + $this->_propDict["hashes"] = $val; + return $this; + } + /** + * Gets the mimeType + * The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. + * + * @return string|null The mimeType + */ + public function getMimeType() + { + if (array_key_exists("mimeType", $this->_propDict)) { + return $this->_propDict["mimeType"]; + } else { + return null; + } + } + + /** + * Sets the mimeType + * The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. + * + * @param string $val The value of the mimeType + * + * @return File + */ + public function setMimeType($val) + { + $this->_propDict["mimeType"] = $val; + return $this; + } + /** + * Gets the processingMetadata + * + * @return bool|null The processingMetadata + */ + public function getProcessingMetadata() + { + if (array_key_exists("processingMetadata", $this->_propDict)) { + return $this->_propDict["processingMetadata"]; + } else { + return null; + } + } + + /** + * Sets the processingMetadata + * + * @param bool $val The value of the processingMetadata + * + * @return File + */ + public function setProcessingMetadata($val) + { + $this->_propDict["processingMetadata"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php new file mode 100644 index 0000000..3c8a92e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["contentData"]; + } else { + return null; + } + } + + /** + * Sets the contentData + * Base64 encoded file content. The file content cannot fetch back because it isn't stored. + * + * @param string $val The contentData + * + * @return FileAssessmentRequest + */ + public function setContentData($val) + { + $this->_propDict["contentData"] = $val; + return $this; + } + + /** + * Gets the fileName + * The file name. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The file name. + * + * @param string $val The fileName + * + * @return FileAssessmentRequest + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAttachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAttachment.php new file mode 100644 index 0000000..6e8efa5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAttachment.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["contentBytes"])) { + return $this->_propDict["contentBytes"]; + } else { + $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["contentBytes"]); + return $this->_propDict["contentBytes"]; + } + } + return null; + } + + /** + * Sets the contentBytes + * The base64-encoded contents of the file. + * + * @param \GuzzleHttp\Psr7\Stream $val The contentBytes + * + * @return FileAttachment + */ + public function setContentBytes($val) + { + $this->_propDict["contentBytes"] = $val; + return $this; + } + + /** + * Gets the contentId + * The ID of the attachment in the Exchange store. + * + * @return string|null The contentId + */ + public function getContentId() + { + if (array_key_exists("contentId", $this->_propDict)) { + return $this->_propDict["contentId"]; + } else { + return null; + } + } + + /** + * Sets the contentId + * The ID of the attachment in the Exchange store. + * + * @param string $val The contentId + * + * @return FileAttachment + */ + public function setContentId($val) + { + $this->_propDict["contentId"] = $val; + return $this; + } + + /** + * Gets the contentLocation + * Do not use this property as it is not supported. + * + * @return string|null The contentLocation + */ + public function getContentLocation() + { + if (array_key_exists("contentLocation", $this->_propDict)) { + return $this->_propDict["contentLocation"]; + } else { + return null; + } + } + + /** + * Sets the contentLocation + * Do not use this property as it is not supported. + * + * @param string $val The contentLocation + * + * @return FileAttachment + */ + public function setContentLocation($val) + { + $this->_propDict["contentLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileClassificationRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileClassificationRequest.php new file mode 100644 index 0000000..d1b16be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileClassificationRequest.php @@ -0,0 +1,85 @@ +_propDict)) { + if (is_a($this->_propDict["file"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * + * @param \GuzzleHttp\Psr7\Stream $val The file + * + * @return FileClassificationRequest + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the sensitiveTypeIds + * + * @return string|null The sensitiveTypeIds + */ + public function getSensitiveTypeIds() + { + if (array_key_exists("sensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["sensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeIds + * + * @param string $val The sensitiveTypeIds + * + * @return FileClassificationRequest + */ + public function setSensitiveTypeIds($val) + { + $this->_propDict["sensitiveTypeIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileEncryptionInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileEncryptionInfo.php new file mode 100644 index 0000000..8a172e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileEncryptionInfo.php @@ -0,0 +1,247 @@ +_propDict)) { + if (is_a($this->_propDict["encryptionKey"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptionKey"])) { + return $this->_propDict["encryptionKey"]; + } else { + $this->_propDict["encryptionKey"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptionKey"]); + return $this->_propDict["encryptionKey"]; + } + } + return null; + } + + /** + * Sets the encryptionKey + * The key used to encrypt the file content. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the encryptionKey + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setEncryptionKey($val) + { + $this->_propDict["encryptionKey"] = $val; + return $this; + } + + /** + * Gets the fileDigest + * The file digest prior to encryption. + * + * @return \GuzzleHttp\Psr7\Stream|null The fileDigest + */ + public function getFileDigest() + { + if (array_key_exists("fileDigest", $this->_propDict)) { + if (is_a($this->_propDict["fileDigest"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["fileDigest"])) { + return $this->_propDict["fileDigest"]; + } else { + $this->_propDict["fileDigest"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["fileDigest"]); + return $this->_propDict["fileDigest"]; + } + } + return null; + } + + /** + * Sets the fileDigest + * The file digest prior to encryption. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the fileDigest + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setFileDigest($val) + { + $this->_propDict["fileDigest"] = $val; + return $this; + } + /** + * Gets the fileDigestAlgorithm + * The file digest algorithm. + * + * @return string|null The fileDigestAlgorithm + */ + public function getFileDigestAlgorithm() + { + if (array_key_exists("fileDigestAlgorithm", $this->_propDict)) { + return $this->_propDict["fileDigestAlgorithm"]; + } else { + return null; + } + } + + /** + * Sets the fileDigestAlgorithm + * The file digest algorithm. + * + * @param string $val The value of the fileDigestAlgorithm + * + * @return FileEncryptionInfo + */ + public function setFileDigestAlgorithm($val) + { + $this->_propDict["fileDigestAlgorithm"] = $val; + return $this; + } + + /** + * Gets the initializationVector + * The initialization vector used for the encryption algorithm. + * + * @return \GuzzleHttp\Psr7\Stream|null The initializationVector + */ + public function getInitializationVector() + { + if (array_key_exists("initializationVector", $this->_propDict)) { + if (is_a($this->_propDict["initializationVector"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["initializationVector"])) { + return $this->_propDict["initializationVector"]; + } else { + $this->_propDict["initializationVector"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["initializationVector"]); + return $this->_propDict["initializationVector"]; + } + } + return null; + } + + /** + * Sets the initializationVector + * The initialization vector used for the encryption algorithm. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the initializationVector + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setInitializationVector($val) + { + $this->_propDict["initializationVector"] = $val; + return $this; + } + + /** + * Gets the mac + * The hash of the encrypted file content + IV (content hash). + * + * @return \GuzzleHttp\Psr7\Stream|null The mac + */ + public function getMac() + { + if (array_key_exists("mac", $this->_propDict)) { + if (is_a($this->_propDict["mac"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["mac"])) { + return $this->_propDict["mac"]; + } else { + $this->_propDict["mac"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["mac"]); + return $this->_propDict["mac"]; + } + } + return null; + } + + /** + * Sets the mac + * The hash of the encrypted file content + IV (content hash). + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the mac + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setMac($val) + { + $this->_propDict["mac"] = $val; + return $this; + } + + /** + * Gets the macKey + * The key used to get mac. + * + * @return \GuzzleHttp\Psr7\Stream|null The macKey + */ + public function getMacKey() + { + if (array_key_exists("macKey", $this->_propDict)) { + if (is_a($this->_propDict["macKey"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["macKey"])) { + return $this->_propDict["macKey"]; + } else { + $this->_propDict["macKey"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["macKey"]); + return $this->_propDict["macKey"]; + } + } + return null; + } + + /** + * Sets the macKey + * The key used to get mac. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the macKey + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setMacKey($val) + { + $this->_propDict["macKey"] = $val; + return $this; + } + /** + * Gets the profileIdentifier + * The the profile identifier. + * + * @return string|null The profileIdentifier + */ + public function getProfileIdentifier() + { + if (array_key_exists("profileIdentifier", $this->_propDict)) { + return $this->_propDict["profileIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the profileIdentifier + * The the profile identifier. + * + * @param string $val The value of the profileIdentifier + * + * @return FileEncryptionInfo + */ + public function setProfileIdentifier($val) + { + $this->_propDict["profileIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHash.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHash.php new file mode 100644 index 0000000..dedc4e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHash.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["hashType"], "\Beta\Microsoft\Graph\Model\FileHashType") || is_null($this->_propDict["hashType"])) { + return $this->_propDict["hashType"]; + } else { + $this->_propDict["hashType"] = new FileHashType($this->_propDict["hashType"]); + return $this->_propDict["hashType"]; + } + } + return null; + } + + /** + * Sets the hashType + * File hash type. Possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. + * + * @param FileHashType $val The value to assign to the hashType + * + * @return FileHash The FileHash + */ + public function setHashType($val) + { + $this->_propDict["hashType"] = $val; + return $this; + } + /** + * Gets the hashValue + * Value of the file hash. + * + * @return string|null The hashValue + */ + public function getHashValue() + { + if (array_key_exists("hashValue", $this->_propDict)) { + return $this->_propDict["hashValue"]; + } else { + return null; + } + } + + /** + * Sets the hashValue + * Value of the file hash. + * + * @param string $val The value of the hashValue + * + * @return FileHash + */ + public function setHashValue($val) + { + $this->_propDict["hashValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHashType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHashType.php new file mode 100644 index 0000000..571263e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHashType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["activityGroupNames"]; + } else { + return null; + } + } + + /** + * Sets the activityGroupNames + * + * @param string $val The activityGroupNames + * + * @return FileSecurityProfile + */ + public function setActivityGroupNames($val) + { + $this->_propDict["activityGroupNames"] = $val; + return $this; + } + + /** + * Gets the azureSubscriptionId + * + * @return string|null The azureSubscriptionId + */ + public function getAzureSubscriptionId() + { + if (array_key_exists("azureSubscriptionId", $this->_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * + * @param string $val The azureSubscriptionId + * + * @return FileSecurityProfile + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return FileSecurityProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the certificateThumbprint + * + * @return string|null The certificateThumbprint + */ + public function getCertificateThumbprint() + { + if (array_key_exists("certificateThumbprint", $this->_propDict)) { + return $this->_propDict["certificateThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the certificateThumbprint + * + * @param string $val The certificateThumbprint + * + * @return FileSecurityProfile + */ + public function setCertificateThumbprint($val) + { + $this->_propDict["certificateThumbprint"] = $val; + return $this; + } + + /** + * Gets the extensions + * + * @return string|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * + * @param string $val The extensions + * + * @return FileSecurityProfile + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + /** + * Gets the fileType + * + * @return string|null The fileType + */ + public function getFileType() + { + if (array_key_exists("fileType", $this->_propDict)) { + return $this->_propDict["fileType"]; + } else { + return null; + } + } + + /** + * Sets the fileType + * + * @param string $val The fileType + * + * @return FileSecurityProfile + */ + public function setFileType($val) + { + $this->_propDict["fileType"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return FileSecurityProfile + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the hashes + * + * @return array|null The hashes + */ + public function getHashes() + { + if (array_key_exists("hashes", $this->_propDict)) { + return $this->_propDict["hashes"]; + } else { + return null; + } + } + + /** + * Sets the hashes + * + * @param FileHash[] $val The hashes + * + * @return FileSecurityProfile + */ + public function setHashes($val) + { + $this->_propDict["hashes"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return FileSecurityProfile + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the malwareStates + * + * @return array|null The malwareStates + */ + public function getMalwareStates() + { + if (array_key_exists("malwareStates", $this->_propDict)) { + return $this->_propDict["malwareStates"]; + } else { + return null; + } + } + + /** + * Sets the malwareStates + * + * @param MalwareState[] $val The malwareStates + * + * @return FileSecurityProfile + */ + public function setMalwareStates($val) + { + $this->_propDict["malwareStates"] = $val; + return $this; + } + + /** + * Gets the names + * + * @return string|null The names + */ + public function getNames() + { + if (array_key_exists("names", $this->_propDict)) { + return $this->_propDict["names"]; + } else { + return null; + } + } + + /** + * Sets the names + * + * @param string $val The names + * + * @return FileSecurityProfile + */ + public function setNames($val) + { + $this->_propDict["names"] = $val; + return $this; + } + + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The riskScore + * + * @return FileSecurityProfile + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the size + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * + * @param int $val The size + * + * @return FileSecurityProfile + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the tags + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string $val The tags + * + * @return FileSecurityProfile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return FileSecurityProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + + + /** + * Gets the vulnerabilityStates + * + * @return array|null The vulnerabilityStates + */ + public function getVulnerabilityStates() + { + if (array_key_exists("vulnerabilityStates", $this->_propDict)) { + return $this->_propDict["vulnerabilityStates"]; + } else { + return null; + } + } + + /** + * Sets the vulnerabilityStates + * + * @param VulnerabilityState[] $val The vulnerabilityStates + * + * @return FileSecurityProfile + */ + public function setVulnerabilityStates($val) + { + $this->_propDict["vulnerabilityStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSecurityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSecurityState.php new file mode 100644 index 0000000..fb2698c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSecurityState.php @@ -0,0 +1,143 @@ +_propDict)) { + if (is_a($this->_propDict["fileHash"], "\Beta\Microsoft\Graph\Model\FileHash") || is_null($this->_propDict["fileHash"])) { + return $this->_propDict["fileHash"]; + } else { + $this->_propDict["fileHash"] = new FileHash($this->_propDict["fileHash"]); + return $this->_propDict["fileHash"]; + } + } + return null; + } + + /** + * Sets the fileHash + * Complex type containing file hashes (cryptographic and location-sensitive). + * + * @param FileHash $val The value to assign to the fileHash + * + * @return FileSecurityState The FileSecurityState + */ + public function setFileHash($val) + { + $this->_propDict["fileHash"] = $val; + return $this; + } + /** + * Gets the name + * File name (without path). + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * File name (without path). + * + * @param string $val The value of the name + * + * @return FileSecurityState + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the path + * Full file path of the file/imageFile. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Full file path of the file/imageFile. + * + * @param string $val The value of the path + * + * @return FileSecurityState + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return FileSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSystemInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSystemInfo.php new file mode 100644 index 0000000..a243f79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSystemInfo.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time the file was created on a client. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return FileSystemInfo The FileSystemInfo + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastAccessedDateTime + * The UTC date and time the file was last accessed. Available for the recent file list only. + * + * @return \DateTime|null The lastAccessedDateTime + */ + public function getLastAccessedDateTime() + { + if (array_key_exists("lastAccessedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessedDateTime"])) { + return $this->_propDict["lastAccessedDateTime"]; + } else { + $this->_propDict["lastAccessedDateTime"] = new \DateTime($this->_propDict["lastAccessedDateTime"]); + return $this->_propDict["lastAccessedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedDateTime + * The UTC date and time the file was last accessed. Available for the recent file list only. + * + * @param \DateTime $val The value to assign to the lastAccessedDateTime + * + * @return FileSystemInfo The FileSystemInfo + */ + public function setLastAccessedDateTime($val) + { + $this->_propDict["lastAccessedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The UTC date and time the file was last modified on a client. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The UTC date and time the file was last modified on a client. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return FileSystemInfo The FileSystemInfo + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileVaultState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileVaultState.php new file mode 100644 index 0000000..84a81e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileVaultState.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["categoryFilterGroups"], "\Beta\Microsoft\Graph\Model\FilterGroup") || is_null($this->_propDict["categoryFilterGroups"])) { + return $this->_propDict["categoryFilterGroups"]; + } else { + $this->_propDict["categoryFilterGroups"] = new FilterGroup($this->_propDict["categoryFilterGroups"]); + return $this->_propDict["categoryFilterGroups"]; + } + } + return null; + } + + /** + * Sets the categoryFilterGroups + * *Experimental* Filter group set used to decide whether given object belongs and should be processed as part of this object mapping. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * + * @param FilterGroup $val The value to assign to the categoryFilterGroups + * + * @return Filter The Filter + */ + public function setCategoryFilterGroups($val) + { + $this->_propDict["categoryFilterGroups"] = $val; + return $this; + } + + /** + * Gets the groups + * Filter group set used to decide whether given object is in scope for provisioning. This is the filter which should be used in most cases. If an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is not satisfied any longer, such object will get de-provisioned'. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * + * @return FilterGroup|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + if (is_a($this->_propDict["groups"], "\Beta\Microsoft\Graph\Model\FilterGroup") || is_null($this->_propDict["groups"])) { + return $this->_propDict["groups"]; + } else { + $this->_propDict["groups"] = new FilterGroup($this->_propDict["groups"]); + return $this->_propDict["groups"]; + } + } + return null; + } + + /** + * Sets the groups + * Filter group set used to decide whether given object is in scope for provisioning. This is the filter which should be used in most cases. If an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is not satisfied any longer, such object will get de-provisioned'. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * + * @param FilterGroup $val The value to assign to the groups + * + * @return Filter The Filter + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + /** + * Gets the inputFilterGroups + * *Experimental* Filter group set used to filter out objects at the early stage of reading them from the directory. If an object doesn't satisfy this filter it will not be processed further. Important to understand is that if an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is no longer satisfied, such object will NOT get de-provisioned. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * + * @return FilterGroup|null The inputFilterGroups + */ + public function getInputFilterGroups() + { + if (array_key_exists("inputFilterGroups", $this->_propDict)) { + if (is_a($this->_propDict["inputFilterGroups"], "\Beta\Microsoft\Graph\Model\FilterGroup") || is_null($this->_propDict["inputFilterGroups"])) { + return $this->_propDict["inputFilterGroups"]; + } else { + $this->_propDict["inputFilterGroups"] = new FilterGroup($this->_propDict["inputFilterGroups"]); + return $this->_propDict["inputFilterGroups"]; + } + } + return null; + } + + /** + * Sets the inputFilterGroups + * *Experimental* Filter group set used to filter out objects at the early stage of reading them from the directory. If an object doesn't satisfy this filter it will not be processed further. Important to understand is that if an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is no longer satisfied, such object will NOT get de-provisioned. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * + * @param FilterGroup $val The value to assign to the inputFilterGroups + * + * @return Filter The Filter + */ + public function setInputFilterGroups($val) + { + $this->_propDict["inputFilterGroups"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterClause.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterClause.php new file mode 100644 index 0000000..0f90708 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterClause.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["operatorName"]; + } else { + return null; + } + } + + /** + * Sets the operatorName + * Name of the operator to be applied to the source and target operands. Must be one of the supported operators. Supported operators can be discovered. + * + * @param string $val The value of the operatorName + * + * @return FilterClause + */ + public function setOperatorName($val) + { + $this->_propDict["operatorName"] = $val; + return $this; + } + /** + * Gets the sourceOperandName + * Name of source operand (the operand being tested). The source operand name must match one of the attribute names on the source object. + * + * @return string|null The sourceOperandName + */ + public function getSourceOperandName() + { + if (array_key_exists("sourceOperandName", $this->_propDict)) { + return $this->_propDict["sourceOperandName"]; + } else { + return null; + } + } + + /** + * Sets the sourceOperandName + * Name of source operand (the operand being tested). The source operand name must match one of the attribute names on the source object. + * + * @param string $val The value of the sourceOperandName + * + * @return FilterClause + */ + public function setSourceOperandName($val) + { + $this->_propDict["sourceOperandName"] = $val; + return $this; + } + + /** + * Gets the targetOperand + * Values that the source operand will be tested against. + * + * @return FilterOperand|null The targetOperand + */ + public function getTargetOperand() + { + if (array_key_exists("targetOperand", $this->_propDict)) { + if (is_a($this->_propDict["targetOperand"], "\Beta\Microsoft\Graph\Model\FilterOperand") || is_null($this->_propDict["targetOperand"])) { + return $this->_propDict["targetOperand"]; + } else { + $this->_propDict["targetOperand"] = new FilterOperand($this->_propDict["targetOperand"]); + return $this->_propDict["targetOperand"]; + } + } + return null; + } + + /** + * Sets the targetOperand + * Values that the source operand will be tested against. + * + * @param FilterOperand $val The value to assign to the targetOperand + * + * @return FilterClause The FilterClause + */ + public function setTargetOperand($val) + { + $this->_propDict["targetOperand"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterGroup.php new file mode 100644 index 0000000..9adca69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterGroup.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["clauses"], "\Beta\Microsoft\Graph\Model\FilterClause") || is_null($this->_propDict["clauses"])) { + return $this->_propDict["clauses"]; + } else { + $this->_propDict["clauses"] = new FilterClause($this->_propDict["clauses"]); + return $this->_propDict["clauses"]; + } + } + return null; + } + + /** + * Sets the clauses + * Filter clauses (conditions) of this group. All clauses in a group must be satisfied in order for the filter group to evaluate to true. + * + * @param FilterClause $val The value to assign to the clauses + * + * @return FilterGroup The FilterGroup + */ + public function setClauses($val) + { + $this->_propDict["clauses"] = $val; + return $this; + } + /** + * Gets the name + * Human-readable name of the filter group. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Human-readable name of the filter group. + * + * @param string $val The value of the name + * + * @return FilterGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterMode.php new file mode 100644 index 0000000..fdd7e96 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterMode.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Collection of values. + * + * @param string $val The value of the values + * + * @return FilterOperand + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterOperatorSchema.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterOperatorSchema.php new file mode 100644 index 0000000..edd1d47 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterOperatorSchema.php @@ -0,0 +1,123 @@ +_propDict)) { + if (is_a($this->_propDict["arity"], "\Beta\Microsoft\Graph\Model\ScopeOperatorType") || is_null($this->_propDict["arity"])) { + return $this->_propDict["arity"]; + } else { + $this->_propDict["arity"] = new ScopeOperatorType($this->_propDict["arity"]); + return $this->_propDict["arity"]; + } + } + return null; + } + + /** + * Sets the arity + * Arity of the operator. Possible values are: Binary, Unary. The default is Binary. + * + * @param ScopeOperatorType $val The arity + * + * @return FilterOperatorSchema + */ + public function setArity($val) + { + $this->_propDict["arity"] = $val; + return $this; + } + + /** + * Gets the multivaluedComparisonType + * Possible values are: All, Any. Applies only to multivalued attributes. All means that all values must satisfy the condition. Any means that at least one value has to satisfy the condition. The default is All. + * + * @return ScopeOperatorMultiValuedComparisonType|null The multivaluedComparisonType + */ + public function getMultivaluedComparisonType() + { + if (array_key_exists("multivaluedComparisonType", $this->_propDict)) { + if (is_a($this->_propDict["multivaluedComparisonType"], "\Beta\Microsoft\Graph\Model\ScopeOperatorMultiValuedComparisonType") || is_null($this->_propDict["multivaluedComparisonType"])) { + return $this->_propDict["multivaluedComparisonType"]; + } else { + $this->_propDict["multivaluedComparisonType"] = new ScopeOperatorMultiValuedComparisonType($this->_propDict["multivaluedComparisonType"]); + return $this->_propDict["multivaluedComparisonType"]; + } + } + return null; + } + + /** + * Sets the multivaluedComparisonType + * Possible values are: All, Any. Applies only to multivalued attributes. All means that all values must satisfy the condition. Any means that at least one value has to satisfy the condition. The default is All. + * + * @param ScopeOperatorMultiValuedComparisonType $val The multivaluedComparisonType + * + * @return FilterOperatorSchema + */ + public function setMultivaluedComparisonType($val) + { + $this->_propDict["multivaluedComparisonType"] = $val; + return $this; + } + + + /** + * Gets the supportedAttributeTypes + * Attribute types supported by the operator. Possible values are: Boolean, Binary, Reference, Integer, String. + * + * @return array|null The supportedAttributeTypes + */ + public function getSupportedAttributeTypes() + { + if (array_key_exists("supportedAttributeTypes", $this->_propDict)) { + return $this->_propDict["supportedAttributeTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedAttributeTypes + * Attribute types supported by the operator. Possible values are: Boolean, Binary, Reference, Integer, String. + * + * @param AttributeType[] $val The supportedAttributeTypes + * + * @return FilterOperatorSchema + */ + public function setSupportedAttributeTypes($val) + { + $this->_propDict["supportedAttributeTypes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Financials.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Financials.php new file mode 100644 index 0000000..3335bd7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Financials.php @@ -0,0 +1,132 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Financials + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the companies + * + * @return array|null The companies + */ + public function getCompanies() + { + if (array_key_exists("companies", $this->_propDict)) { + return $this->_propDict["companies"]; + } else { + return null; + } + } + + /** + * Sets the companies + * + * @param Company[] $val The companies + * + * @return Financials + */ + public function setCompanies($val) + { + $this->_propDict["companies"] = $val; + 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 Financials + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FirewallCertificateRevocationListCheckMethodType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FirewallCertificateRevocationListCheckMethodType.php new file mode 100644 index 0000000..9ec4404 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FirewallCertificateRevocationListCheckMethodType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["childCount"]; + } else { + return null; + } + } + + /** + * Sets the childCount + * Number of children contained immediately within this container. + * + * @param int $val The value of the childCount + * + * @return Folder + */ + public function setChildCount($val) + { + $this->_propDict["childCount"] = $val; + return $this; + } + + /** + * Gets the view + * A collection of properties defining the recommended view for the folder. + * + * @return FolderView|null The view + */ + public function getView() + { + if (array_key_exists("view", $this->_propDict)) { + if (is_a($this->_propDict["view"], "\Beta\Microsoft\Graph\Model\FolderView") || is_null($this->_propDict["view"])) { + return $this->_propDict["view"]; + } else { + $this->_propDict["view"] = new FolderView($this->_propDict["view"]); + return $this->_propDict["view"]; + } + } + return null; + } + + /** + * Sets the view + * A collection of properties defining the recommended view for the folder. + * + * @param FolderView $val The value to assign to the view + * + * @return Folder The Folder + */ + public function setView($val) + { + $this->_propDict["view"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FolderProtectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FolderProtectionType.php new file mode 100644 index 0000000..62ca665 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FolderProtectionType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["sortBy"]; + } else { + return null; + } + } + + /** + * Sets the sortBy + * The method by which the folder should be sorted. + * + * @param string $val The value of the sortBy + * + * @return FolderView + */ + public function setSortBy($val) + { + $this->_propDict["sortBy"] = $val; + return $this; + } + /** + * Gets the sortOrder + * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. + * + * @return string|null The sortOrder + */ + public function getSortOrder() + { + if (array_key_exists("sortOrder", $this->_propDict)) { + return $this->_propDict["sortOrder"]; + } else { + return null; + } + } + + /** + * Sets the sortOrder + * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. + * + * @param string $val The value of the sortOrder + * + * @return FolderView + */ + public function setSortOrder($val) + { + $this->_propDict["sortOrder"] = $val; + return $this; + } + /** + * Gets the viewType + * The type of view that should be used to represent the folder. + * + * @return string|null The viewType + */ + public function getViewType() + { + if (array_key_exists("viewType", $this->_propDict)) { + return $this->_propDict["viewType"]; + } else { + return null; + } + } + + /** + * Sets the viewType + * The type of view that should be used to represent the folder. + * + * @param string $val The value of the viewType + * + * @return FolderView + */ + public function setViewType($val) + { + $this->_propDict["viewType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlag.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlag.php new file mode 100644 index 0000000..ede3824 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlag.php @@ -0,0 +1,158 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new DateTimeTimeZone($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date and time that the follow-up was finished. + * + * @param DateTimeTimeZone $val The value to assign to the completedDateTime + * + * @return FollowupFlag The FollowupFlag + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. + * + * @param DateTimeTimeZone $val The value to assign to the dueDateTime + * + * @return FollowupFlag The FollowupFlag + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the flagStatus + * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. + * + * @return FollowupFlagStatus|null The flagStatus + */ + public function getFlagStatus() + { + if (array_key_exists("flagStatus", $this->_propDict)) { + if (is_a($this->_propDict["flagStatus"], "\Beta\Microsoft\Graph\Model\FollowupFlagStatus") || is_null($this->_propDict["flagStatus"])) { + return $this->_propDict["flagStatus"]; + } else { + $this->_propDict["flagStatus"] = new FollowupFlagStatus($this->_propDict["flagStatus"]); + return $this->_propDict["flagStatus"]; + } + } + return null; + } + + /** + * Sets the flagStatus + * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. + * + * @param FollowupFlagStatus $val The value to assign to the flagStatus + * + * @return FollowupFlag The FollowupFlag + */ + public function setFlagStatus($val) + { + $this->_propDict["flagStatus"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time that the follow-up is to begin. + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time that the follow-up is to begin. + * + * @param DateTimeTimeZone $val The value to assign to the startDateTime + * + * @return FollowupFlag The FollowupFlag + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlagStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlagStatus.php new file mode 100644 index 0000000..b122533 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlagStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * Describes the error. + * + * @param string $val The value of the message + * + * @return FreeBusyError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the responseCode + * The response code from querying for the availability of the user, distribution list, or resource. + * + * @return string|null The responseCode + */ + public function getResponseCode() + { + if (array_key_exists("responseCode", $this->_propDict)) { + return $this->_propDict["responseCode"]; + } else { + return null; + } + } + + /** + * Sets the responseCode + * The response code from querying for the availability of the user, distribution list, or resource. + * + * @param string $val The value of the responseCode + * + * @return FreeBusyError + */ + public function setResponseCode($val) + { + $this->_propDict["responseCode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FreeBusyStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FreeBusyStatus.php new file mode 100644 index 0000000..58aa082 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FreeBusyStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return GeneralLedgerEntry + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the accountNumber + * + * @return string|null The accountNumber + */ + public function getAccountNumber() + { + if (array_key_exists("accountNumber", $this->_propDict)) { + return $this->_propDict["accountNumber"]; + } else { + return null; + } + } + + /** + * Sets the accountNumber + * + * @param string $val The accountNumber + * + * @return GeneralLedgerEntry + */ + public function setAccountNumber($val) + { + $this->_propDict["accountNumber"] = $val; + return $this; + } + + /** + * Gets the creditAmount + * + * @return Decimal|null The creditAmount + */ + public function getCreditAmount() + { + if (array_key_exists("creditAmount", $this->_propDict)) { + if (is_a($this->_propDict["creditAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["creditAmount"])) { + return $this->_propDict["creditAmount"]; + } else { + $this->_propDict["creditAmount"] = new Decimal($this->_propDict["creditAmount"]); + return $this->_propDict["creditAmount"]; + } + } + return null; + } + + /** + * Sets the creditAmount + * + * @param Decimal $val The creditAmount + * + * @return GeneralLedgerEntry + */ + public function setCreditAmount($val) + { + $this->_propDict["creditAmount"] = $val; + return $this; + } + + /** + * Gets the debitAmount + * + * @return Decimal|null The debitAmount + */ + public function getDebitAmount() + { + if (array_key_exists("debitAmount", $this->_propDict)) { + if (is_a($this->_propDict["debitAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["debitAmount"])) { + return $this->_propDict["debitAmount"]; + } else { + $this->_propDict["debitAmount"] = new Decimal($this->_propDict["debitAmount"]); + return $this->_propDict["debitAmount"]; + } + } + return null; + } + + /** + * Sets the debitAmount + * + * @param Decimal $val The debitAmount + * + * @return GeneralLedgerEntry + */ + public function setDebitAmount($val) + { + $this->_propDict["debitAmount"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return GeneralLedgerEntry + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the documentNumber + * + * @return string|null The documentNumber + */ + public function getDocumentNumber() + { + if (array_key_exists("documentNumber", $this->_propDict)) { + return $this->_propDict["documentNumber"]; + } else { + return null; + } + } + + /** + * Sets the documentNumber + * + * @param string $val The documentNumber + * + * @return GeneralLedgerEntry + */ + public function setDocumentNumber($val) + { + $this->_propDict["documentNumber"] = $val; + return $this; + } + + /** + * Gets the documentType + * + * @return string|null The documentType + */ + public function getDocumentType() + { + if (array_key_exists("documentType", $this->_propDict)) { + return $this->_propDict["documentType"]; + } else { + return null; + } + } + + /** + * Sets the documentType + * + * @param string $val The documentType + * + * @return GeneralLedgerEntry + */ + public function setDocumentType($val) + { + $this->_propDict["documentType"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GeneralLedgerEntry + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the postingDate + * + * @return \DateTime|null The postingDate + */ + public function getPostingDate() + { + if (array_key_exists("postingDate", $this->_propDict)) { + if (is_a($this->_propDict["postingDate"], "\DateTime") || is_null($this->_propDict["postingDate"])) { + return $this->_propDict["postingDate"]; + } else { + $this->_propDict["postingDate"] = new \DateTime($this->_propDict["postingDate"]); + return $this->_propDict["postingDate"]; + } + } + return null; + } + + /** + * Sets the postingDate + * + * @param \DateTime $val The postingDate + * + * @return GeneralLedgerEntry + */ + public function setPostingDate($val) + { + $this->_propDict["postingDate"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return GeneralLedgerEntry + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GenericError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GenericError.php new file mode 100644 index 0000000..3393a32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GenericError.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return GenericError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return GenericError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeoCoordinates.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeoCoordinates.php new file mode 100644 index 0000000..74e7ffc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeoCoordinates.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * Optional. The altitude (height), in feet, above sea level for the item. Read-only. + * + * @param float $val The value of the altitude + * + * @return GeoCoordinates + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** + * Gets the latitude + * Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @param float $val The value of the latitude + * + * @return GeoCoordinates + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @param float $val The value of the longitude + * + * @return GeoCoordinates + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeolocationColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeolocationColumn.php new file mode 100644 index 0000000..8cb3695 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeolocationColumn.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["insightCreatedDateTime"], "\DateTime") || is_null($this->_propDict["insightCreatedDateTime"])) { + return $this->_propDict["insightCreatedDateTime"]; + } else { + $this->_propDict["insightCreatedDateTime"] = new \DateTime($this->_propDict["insightCreatedDateTime"]); + return $this->_propDict["insightCreatedDateTime"]; + } + } + return null; + } + + /** + * Sets the insightCreatedDateTime + * Indicates when the insight was created. + * + * @param \DateTime $val The insightCreatedDateTime + * + * @return GovernanceInsight + */ + public function setInsightCreatedDateTime($val) + { + $this->_propDict["insightCreatedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationPolicy.php new file mode 100644 index 0000000..551b6cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationPolicy.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["enabledTemplateTypes"]; + } else { + return null; + } + } + + /** + * Sets the enabledTemplateTypes + * + * @param string $val The value of the enabledTemplateTypes + * + * @return GovernanceNotificationPolicy + */ + public function setEnabledTemplateTypes($val) + { + $this->_propDict["enabledTemplateTypes"] = $val; + return $this; + } + + /** + * Gets the notificationTemplates + * + * @return GovernanceNotificationTemplate|null The notificationTemplates + */ + public function getNotificationTemplates() + { + if (array_key_exists("notificationTemplates", $this->_propDict)) { + if (is_a($this->_propDict["notificationTemplates"], "\Beta\Microsoft\Graph\Model\GovernanceNotificationTemplate") || is_null($this->_propDict["notificationTemplates"])) { + return $this->_propDict["notificationTemplates"]; + } else { + $this->_propDict["notificationTemplates"] = new GovernanceNotificationTemplate($this->_propDict["notificationTemplates"]); + return $this->_propDict["notificationTemplates"]; + } + } + return null; + } + + /** + * Sets the notificationTemplates + * + * @param GovernanceNotificationTemplate $val The value to assign to the notificationTemplates + * + * @return GovernanceNotificationPolicy The GovernanceNotificationPolicy + */ + public function setNotificationTemplates($val) + { + $this->_propDict["notificationTemplates"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationTemplate.php new file mode 100644 index 0000000..5fbf2fe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationTemplate.php @@ -0,0 +1,156 @@ +_propDict)) { + return $this->_propDict["culture"]; + } else { + return null; + } + } + + /** + * Sets the culture + * + * @param string $val The value of the culture + * + * @return GovernanceNotificationTemplate + */ + public function setCulture($val) + { + $this->_propDict["culture"] = $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 GovernanceNotificationTemplate + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the source + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * + * @param string $val The value of the source + * + * @return GovernanceNotificationTemplate + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return GovernanceNotificationTemplate + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * + * @param string $val The value of the version + * + * @return GovernanceNotificationTemplate + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePermission.php new file mode 100644 index 0000000..c4b456b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePermission.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["accessLevel"]; + } else { + return null; + } + } + + /** + * Sets the accessLevel + * The access level. Valid values: None, UserRead, AdminRead, and AdminReadWrite. + * + * @param string $val The value of the accessLevel + * + * @return GovernancePermission + */ + public function setAccessLevel($val) + { + $this->_propDict["accessLevel"] = $val; + return $this; + } + /** + * Gets the isActive + * Indicate if the requestor has any active role assignment for the access level. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicate if the requestor has any active role assignment for the access level. + * + * @param bool $val The value of the isActive + * + * @return GovernancePermission + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = $val; + return $this; + } + /** + * Gets the isEligible + * Indicate if the requestor has any eligible role assignment for the access level. + * + * @return bool|null The isEligible + */ + public function getIsEligible() + { + if (array_key_exists("isEligible", $this->_propDict)) { + return $this->_propDict["isEligible"]; + } else { + return null; + } + } + + /** + * Sets the isEligible + * Indicate if the requestor has any eligible role assignment for the access level. + * + * @param bool $val The value of the isEligible + * + * @return GovernancePermission + */ + public function setIsEligible($val) + { + $this->_propDict["isEligible"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicy.php new file mode 100644 index 0000000..b7c06c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicy.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["decisionMakerCriteria"], "\Beta\Microsoft\Graph\Model\GovernanceCriteria") || is_null($this->_propDict["decisionMakerCriteria"])) { + return $this->_propDict["decisionMakerCriteria"]; + } else { + $this->_propDict["decisionMakerCriteria"] = new GovernanceCriteria($this->_propDict["decisionMakerCriteria"]); + return $this->_propDict["decisionMakerCriteria"]; + } + } + return null; + } + + /** + * Sets the decisionMakerCriteria + * + * @param GovernanceCriteria $val The value to assign to the decisionMakerCriteria + * + * @return GovernancePolicy The GovernancePolicy + */ + public function setDecisionMakerCriteria($val) + { + $this->_propDict["decisionMakerCriteria"] = $val; + return $this; + } + + /** + * Gets the notificationPolicy + * + * @return GovernanceNotificationPolicy|null The notificationPolicy + */ + public function getNotificationPolicy() + { + if (array_key_exists("notificationPolicy", $this->_propDict)) { + if (is_a($this->_propDict["notificationPolicy"], "\Beta\Microsoft\Graph\Model\GovernanceNotificationPolicy") || is_null($this->_propDict["notificationPolicy"])) { + return $this->_propDict["notificationPolicy"]; + } else { + $this->_propDict["notificationPolicy"] = new GovernanceNotificationPolicy($this->_propDict["notificationPolicy"]); + return $this->_propDict["notificationPolicy"]; + } + } + return null; + } + + /** + * Sets the notificationPolicy + * + * @param GovernanceNotificationPolicy $val The value to assign to the notificationPolicy + * + * @return GovernancePolicy The GovernancePolicy + */ + public function setNotificationPolicy($val) + { + $this->_propDict["notificationPolicy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicyTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicyTemplate.php new file mode 100644 index 0000000..a42ccb0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicyTemplate.php @@ -0,0 +1,116 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return GovernancePolicyTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the policy + * + * @return GovernancePolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\GovernancePolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new GovernancePolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * + * @param GovernancePolicy $val The policy + * + * @return GovernancePolicyTemplate + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + + /** + * Gets the settings + * + * @return BusinessFlowSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\BusinessFlowSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new BusinessFlowSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * + * @param BusinessFlowSettings $val The settings + * + * @return GovernancePolicyTemplate + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php new file mode 100644 index 0000000..95d3c15 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php @@ -0,0 +1,358 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the resource. + * + * @param string $val The displayName + * + * @return GovernanceResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external id of the resource, representing its original id in the external system. For example, a subscription resource's external id can be '/subscriptions/c14ae696-5e0c-4e5d-88cc-bef6637737ac'. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external id of the resource, representing its original id in the external system. For example, a subscription resource's external id can be '/subscriptions/c14ae696-5e0c-4e5d-88cc-bef6637737ac'. + * + * @param string $val The externalId + * + * @return GovernanceResource + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the registeredDateTime + * Represents the date time when the resource is registered in PIM. + * + * @return \DateTime|null The registeredDateTime + */ + public function getRegisteredDateTime() + { + if (array_key_exists("registeredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registeredDateTime"], "\DateTime") || is_null($this->_propDict["registeredDateTime"])) { + return $this->_propDict["registeredDateTime"]; + } else { + $this->_propDict["registeredDateTime"] = new \DateTime($this->_propDict["registeredDateTime"]); + return $this->_propDict["registeredDateTime"]; + } + } + return null; + } + + /** + * Sets the registeredDateTime + * Represents the date time when the resource is registered in PIM. + * + * @param \DateTime $val The registeredDateTime + * + * @return GovernanceResource + */ + public function setRegisteredDateTime($val) + { + $this->_propDict["registeredDateTime"] = $val; + return $this; + } + + /** + * Gets the registeredRoot + * The externalId of the resource's root scope that is registered in PIM. The root scope can be the parent, grandparent, or higher ancestor resources. + * + * @return string|null The registeredRoot + */ + public function getRegisteredRoot() + { + if (array_key_exists("registeredRoot", $this->_propDict)) { + return $this->_propDict["registeredRoot"]; + } else { + return null; + } + } + + /** + * Sets the registeredRoot + * The externalId of the resource's root scope that is registered in PIM. The root scope can be the parent, grandparent, or higher ancestor resources. + * + * @param string $val The registeredRoot + * + * @return GovernanceResource + */ + public function setRegisteredRoot($val) + { + $this->_propDict["registeredRoot"] = $val; + return $this; + } + + /** + * Gets the status + * The status of a given resource. For example, it could represent whether the resource is locked or not (values: Active/Locked). Note: This property may be extended in the future to support more scenarios. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of a given resource. For example, it could represent whether the resource is locked or not (values: Active/Locked). Note: This property may be extended in the future to support more scenarios. + * + * @param string $val The status + * + * @return GovernanceResource + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the type + * Required. Resource type. For example, for Azure resources, the type could be 'Subscription', 'ResourceGroup', 'Microsoft.Sql/server', etc. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Required. Resource type. For example, for Azure resources, the type could be 'Subscription', 'ResourceGroup', 'Microsoft.Sql/server', etc. + * + * @param string $val The type + * + * @return GovernanceResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the parent + * Read-only. The parent resource. for pimforazurerbac scenario, it can represent the subscription the resource belongs to. + * + * @return GovernanceResource|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\GovernanceResource") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new GovernanceResource($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * Read-only. The parent resource. for pimforazurerbac scenario, it can represent the subscription the resource belongs to. + * + * @param GovernanceResource $val The parent + * + * @return GovernanceResource + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentRequests + * The collection of role assignment requests for the resource. + * + * @return array|null The roleAssignmentRequests + */ + public function getRoleAssignmentRequests() + { + if (array_key_exists("roleAssignmentRequests", $this->_propDict)) { + return $this->_propDict["roleAssignmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentRequests + * The collection of role assignment requests for the resource. + * + * @param GovernanceRoleAssignmentRequest[] $val The roleAssignmentRequests + * + * @return GovernanceResource + */ + public function setRoleAssignmentRequests($val) + { + $this->_propDict["roleAssignmentRequests"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * The collection of role assignments for the resource. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * The collection of role assignments for the resource. + * + * @param GovernanceRoleAssignment[] $val The roleAssignments + * + * @return GovernanceResource + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * The collection of role defintions for the resource. + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * The collection of role defintions for the resource. + * + * @param GovernanceRoleDefinition[] $val The roleDefinitions + * + * @return GovernanceResource + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the roleSettings + * The collection of role settings for the resource. + * + * @return array|null The roleSettings + */ + public function getRoleSettings() + { + if (array_key_exists("roleSettings", $this->_propDict)) { + return $this->_propDict["roleSettings"]; + } else { + return null; + } + } + + /** + * Sets the roleSettings + * The collection of role settings for the resource. + * + * @param GovernanceRoleSetting[] $val The roleSettings + * + * @return GovernanceResource + */ + public function setRoleSettings($val) + { + $this->_propDict["roleSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignment.php new file mode 100644 index 0000000..8391558 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignment.php @@ -0,0 +1,455 @@ +_propDict)) { + return $this->_propDict["assignmentState"]; + } else { + return null; + } + } + + /** + * Sets the assignmentState + * The state of the assignment. The value can be Eligible for eligible assignment or Active if it is directly assigned Active by administrators, or activated on an eligible assignment by the users. + * + * @param string $val The assignmentState + * + * @return GovernanceRoleAssignment + */ + public function setAssignmentState($val) + { + $this->_propDict["assignmentState"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * For a non-permanent role assignment, this is the time when the role assignment will be expired. 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * For a non-permanent role assignment, this is the time when the role assignment will be expired. 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 endDateTime + * + * @return GovernanceRoleAssignment + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external ID the resource that is used to identify the role assignment in the provider. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external ID the resource that is used to identify the role assignment in the provider. + * + * @param string $val The externalId + * + * @return GovernanceRoleAssignment + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the linkedEligibleRoleAssignmentId + * If this is an active assignment and created due to activation on an eligible assignment, it represents the ID of that eligible assignment; Otherwise, the value is null. + * + * @return string|null The linkedEligibleRoleAssignmentId + */ + public function getLinkedEligibleRoleAssignmentId() + { + if (array_key_exists("linkedEligibleRoleAssignmentId", $this->_propDict)) { + return $this->_propDict["linkedEligibleRoleAssignmentId"]; + } else { + return null; + } + } + + /** + * Sets the linkedEligibleRoleAssignmentId + * If this is an active assignment and created due to activation on an eligible assignment, it represents the ID of that eligible assignment; Otherwise, the value is null. + * + * @param string $val The linkedEligibleRoleAssignmentId + * + * @return GovernanceRoleAssignment + */ + public function setLinkedEligibleRoleAssignmentId($val) + { + $this->_propDict["linkedEligibleRoleAssignmentId"] = $val; + return $this; + } + + /** + * Gets the memberType + * The type of member. The value can be: Inherited (if the role assignment is inherited from a parent resource scope), Group (if the role assignment is not inherited, but comes from the membership of a group assignment), or User (if the role assignment is neither inherited nor from a group assignment). + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * The type of member. The value can be: Inherited (if the role assignment is inherited from a parent resource scope), Group (if the role assignment is not inherited, but comes from the membership of a group assignment), or User (if the role assignment is neither inherited nor from a group assignment). + * + * @param string $val The memberType + * + * @return GovernanceRoleAssignment + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the resourceId + * Required. The ID of the resource which the role assignment is associated with. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Required. The ID of the resource which the role assignment is associated with. + * + * @param string $val The resourceId + * + * @return GovernanceRoleAssignment + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Required. The ID of the role definition which the role assignment is associated with. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Required. The ID of the role definition which the role assignment is associated with. + * + * @param string $val The roleDefinitionId + * + * @return GovernanceRoleAssignment + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the role assignment. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the role assignment. 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 startDateTime + * + * @return GovernanceRoleAssignment + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return GovernanceRoleAssignment + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the subjectId + * Required. The ID of the subject which the role assignment is associated with. + * + * @return string|null The subjectId + */ + public function getSubjectId() + { + if (array_key_exists("subjectId", $this->_propDict)) { + return $this->_propDict["subjectId"]; + } else { + return null; + } + } + + /** + * Sets the subjectId + * Required. The ID of the subject which the role assignment is associated with. + * + * @param string $val The subjectId + * + * @return GovernanceRoleAssignment + */ + public function setSubjectId($val) + { + $this->_propDict["subjectId"] = $val; + return $this; + } + + /** + * Gets the linkedEligibleRoleAssignment + * Read-only. If this is an active assignment and created due to activation on an eligible assignment, it represents the object of that eligible assignment; Otherwise, the value is null. + * + * @return GovernanceRoleAssignment|null The linkedEligibleRoleAssignment + */ + public function getLinkedEligibleRoleAssignment() + { + if (array_key_exists("linkedEligibleRoleAssignment", $this->_propDict)) { + if (is_a($this->_propDict["linkedEligibleRoleAssignment"], "\Beta\Microsoft\Graph\Model\GovernanceRoleAssignment") || is_null($this->_propDict["linkedEligibleRoleAssignment"])) { + return $this->_propDict["linkedEligibleRoleAssignment"]; + } else { + $this->_propDict["linkedEligibleRoleAssignment"] = new GovernanceRoleAssignment($this->_propDict["linkedEligibleRoleAssignment"]); + return $this->_propDict["linkedEligibleRoleAssignment"]; + } + } + return null; + } + + /** + * Sets the linkedEligibleRoleAssignment + * Read-only. If this is an active assignment and created due to activation on an eligible assignment, it represents the object of that eligible assignment; Otherwise, the value is null. + * + * @param GovernanceRoleAssignment $val The linkedEligibleRoleAssignment + * + * @return GovernanceRoleAssignment + */ + public function setLinkedEligibleRoleAssignment($val) + { + $this->_propDict["linkedEligibleRoleAssignment"] = $val; + return $this; + } + + /** + * Gets the resource + * Read-only. The resource associated with the role assignment. + * + * @return GovernanceResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new GovernanceResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Read-only. The resource associated with the role assignment. + * + * @param GovernanceResource $val The resource + * + * @return GovernanceRoleAssignment + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Read-only. The role definition associated with the role assignment. + * + * @return GovernanceRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\GovernanceRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new GovernanceRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Read-only. The role definition associated with the role assignment. + * + * @param GovernanceRoleDefinition $val The roleDefinition + * + * @return GovernanceRoleAssignment + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + + /** + * Gets the subject + * Read-only. The subject associated with the role assignment. + * + * @return GovernanceSubject|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + if (is_a($this->_propDict["subject"], "\Beta\Microsoft\Graph\Model\GovernanceSubject") || is_null($this->_propDict["subject"])) { + return $this->_propDict["subject"]; + } else { + $this->_propDict["subject"] = new GovernanceSubject($this->_propDict["subject"]); + return $this->_propDict["subject"]; + } + } + return null; + } + + /** + * Sets the subject + * Read-only. The subject associated with the role assignment. + * + * @param GovernanceSubject $val The subject + * + * @return GovernanceRoleAssignment + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequest.php new file mode 100644 index 0000000..0799a33 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequest.php @@ -0,0 +1,428 @@ +_propDict)) { + return $this->_propDict["assignmentState"]; + } else { + return null; + } + } + + /** + * Sets the assignmentState + * Required. The state of the assignment. The possible values are: Eligible (for eligible assignment), Active (if it is directly assigned), Active (by administrators, or activated on an eligible assignment by the users). + * + * @param string $val The assignmentState + * + * @return GovernanceRoleAssignmentRequest + */ + public function setAssignmentState($val) + { + $this->_propDict["assignmentState"] = $val; + return $this; + } + + /** + * Gets the linkedEligibleRoleAssignmentId + * If this is a request for role activation, it represents the id of the eligible assignment being referred; Otherwise, the value is null. + * + * @return string|null The linkedEligibleRoleAssignmentId + */ + public function getLinkedEligibleRoleAssignmentId() + { + if (array_key_exists("linkedEligibleRoleAssignmentId", $this->_propDict)) { + return $this->_propDict["linkedEligibleRoleAssignmentId"]; + } else { + return null; + } + } + + /** + * Sets the linkedEligibleRoleAssignmentId + * If this is a request for role activation, it represents the id of the eligible assignment being referred; Otherwise, the value is null. + * + * @param string $val The linkedEligibleRoleAssignmentId + * + * @return GovernanceRoleAssignmentRequest + */ + public function setLinkedEligibleRoleAssignmentId($val) + { + $this->_propDict["linkedEligibleRoleAssignmentId"] = $val; + return $this; + } + + /** + * Gets the reason + * A message provided by users and administrators when create the request about why it is needed. + * + * @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 + * A message provided by users and administrators when create the request about why it is needed. + * + * @param string $val The reason + * + * @return GovernanceRoleAssignmentRequest + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the requestedDateTime + * Read-only. The request create time. 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 requestedDateTime + */ + public function getRequestedDateTime() + { + if (array_key_exists("requestedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestedDateTime"], "\DateTime") || is_null($this->_propDict["requestedDateTime"])) { + return $this->_propDict["requestedDateTime"]; + } else { + $this->_propDict["requestedDateTime"] = new \DateTime($this->_propDict["requestedDateTime"]); + return $this->_propDict["requestedDateTime"]; + } + } + return null; + } + + /** + * Sets the requestedDateTime + * Read-only. The request create time. 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 requestedDateTime + * + * @return GovernanceRoleAssignmentRequest + */ + public function setRequestedDateTime($val) + { + $this->_propDict["requestedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceId + * Required. The unique identifier of the Azure resource that is associated with the role assignment request. Azure resources can include subscriptions, resource groups, virtual machines, and SQL databases. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Required. The unique identifier of the Azure resource that is associated with the role assignment request. Azure resources can include subscriptions, resource groups, virtual machines, and SQL databases. + * + * @param string $val The resourceId + * + * @return GovernanceRoleAssignmentRequest + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Required. The identifier of the Azure role definition that the role assignment request is associated with. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Required. The identifier of the Azure role definition that the role assignment request is associated with. + * + * @param string $val The roleDefinitionId + * + * @return GovernanceRoleAssignmentRequest + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the schedule + * The schedule object of the role assignment request. + * + * @return GovernanceSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\GovernanceSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new GovernanceSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * The schedule object of the role assignment request. + * + * @param GovernanceSchedule $val The schedule + * + * @return GovernanceRoleAssignmentRequest + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the role assignment request. + * + * @return GovernanceRoleAssignmentRequestStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\GovernanceRoleAssignmentRequestStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new GovernanceRoleAssignmentRequestStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the role assignment request. + * + * @param GovernanceRoleAssignmentRequestStatus $val The status + * + * @return GovernanceRoleAssignmentRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the subjectId + * Required. The unique identifier of the principal or subject that the role assignment request is associated with. Principals can be users, groups, or service principals. + * + * @return string|null The subjectId + */ + public function getSubjectId() + { + if (array_key_exists("subjectId", $this->_propDict)) { + return $this->_propDict["subjectId"]; + } else { + return null; + } + } + + /** + * Sets the subjectId + * Required. The unique identifier of the principal or subject that the role assignment request is associated with. Principals can be users, groups, or service principals. + * + * @param string $val The subjectId + * + * @return GovernanceRoleAssignmentRequest + */ + public function setSubjectId($val) + { + $this->_propDict["subjectId"] = $val; + return $this; + } + + /** + * Gets the type + * Required. Representing the type of the operation on the role assignment. The possible values are: AdminAdd , UserAdd , AdminUpdate , AdminRemove , UserRemove , UserExtend , AdminExtend , UserRenew , AdminRenew. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Required. Representing the type of the operation on the role assignment. The possible values are: AdminAdd , UserAdd , AdminUpdate , AdminRemove , UserRemove , UserExtend , AdminExtend , UserRenew , AdminRenew. + * + * @param string $val The type + * + * @return GovernanceRoleAssignmentRequest + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the resource + * Read-only. The resource that the request aims to. + * + * @return GovernanceResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new GovernanceResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Read-only. The resource that the request aims to. + * + * @param GovernanceResource $val The resource + * + * @return GovernanceRoleAssignmentRequest + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Read-only. The role definition that the request aims to. + * + * @return GovernanceRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\GovernanceRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new GovernanceRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Read-only. The role definition that the request aims to. + * + * @param GovernanceRoleDefinition $val The roleDefinition + * + * @return GovernanceRoleAssignmentRequest + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + + /** + * Gets the subject + * Read-only. The user/group principal. + * + * @return GovernanceSubject|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + if (is_a($this->_propDict["subject"], "\Beta\Microsoft\Graph\Model\GovernanceSubject") || is_null($this->_propDict["subject"])) { + return $this->_propDict["subject"]; + } else { + $this->_propDict["subject"] = new GovernanceSubject($this->_propDict["subject"]); + return $this->_propDict["subject"]; + } + } + return null; + } + + /** + * Sets the subject + * Read-only. The user/group principal. + * + * @param GovernanceSubject $val The subject + * + * @return GovernanceRoleAssignmentRequest + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequestStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequestStatus.php new file mode 100644 index 0000000..869fe76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequestStatus.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of the role assignment request. The value can be InProgress or Closed. + * + * @param string $val The value of the status + * + * @return GovernanceRoleAssignmentRequestStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the statusDetails + * The details of the status of the role assignment request. It represents the evaluation results of different rules. + * + * @return KeyValue|null The statusDetails + */ + public function getStatusDetails() + { + if (array_key_exists("statusDetails", $this->_propDict)) { + if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["statusDetails"])) { + return $this->_propDict["statusDetails"]; + } else { + $this->_propDict["statusDetails"] = new KeyValue($this->_propDict["statusDetails"]); + return $this->_propDict["statusDetails"]; + } + } + return null; + } + + /** + * Sets the statusDetails + * The details of the status of the role assignment request. It represents the evaluation results of different rules. + * + * @param KeyValue $val The value to assign to the statusDetails + * + * @return GovernanceRoleAssignmentRequestStatus The GovernanceRoleAssignmentRequestStatus + */ + public function setStatusDetails($val) + { + $this->_propDict["statusDetails"] = $val; + return $this; + } + /** + * Gets the subStatus + * The sub status of the role assignment request. The values can be Accepted, PendingEvaluation, Granted, Denied, PendingProvisioning, Provisioned, PendingRevocation, Revoked, Canceled, Failed, PendingApprovalProvisioning, PendingApproval, FailedAsResourceIsLocked, PendingAdminDecision, AdminApproved, AdminDenied, TimedOut, and ProvisioningStarted. + * + * @return string|null The subStatus + */ + public function getSubStatus() + { + if (array_key_exists("subStatus", $this->_propDict)) { + return $this->_propDict["subStatus"]; + } else { + return null; + } + } + + /** + * Sets the subStatus + * The sub status of the role assignment request. The values can be Accepted, PendingEvaluation, Granted, Denied, PendingProvisioning, Provisioned, PendingRevocation, Revoked, Canceled, Failed, PendingApprovalProvisioning, PendingApproval, FailedAsResourceIsLocked, PendingAdminDecision, AdminApproved, AdminDenied, TimedOut, and ProvisioningStarted. + * + * @param string $val The value of the subStatus + * + * @return GovernanceRoleAssignmentRequestStatus + */ + public function setSubStatus($val) + { + $this->_propDict["subStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleDefinition.php new file mode 100644 index 0000000..dfc16cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleDefinition.php @@ -0,0 +1,207 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the role definition. + * + * @param string $val The displayName + * + * @return GovernanceRoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external id of the role definition. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external id of the role definition. + * + * @param string $val The externalId + * + * @return GovernanceRoleDefinition + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the resourceId + * Required. The id of the resource associated with the role definition. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Required. The id of the resource associated with the role definition. + * + * @param string $val The resourceId + * + * @return GovernanceRoleDefinition + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the templateId + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * + * @param string $val The templateId + * + * @return GovernanceRoleDefinition + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + /** + * Gets the resource + * Read-only. The associated resource for the role definition. + * + * @return GovernanceResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new GovernanceResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Read-only. The associated resource for the role definition. + * + * @param GovernanceResource $val The resource + * + * @return GovernanceRoleDefinition + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the roleSetting + * The associated role setting for the role definition. + * + * @return GovernanceRoleSetting|null The roleSetting + */ + public function getRoleSetting() + { + if (array_key_exists("roleSetting", $this->_propDict)) { + if (is_a($this->_propDict["roleSetting"], "\Beta\Microsoft\Graph\Model\GovernanceRoleSetting") || is_null($this->_propDict["roleSetting"])) { + return $this->_propDict["roleSetting"]; + } else { + $this->_propDict["roleSetting"] = new GovernanceRoleSetting($this->_propDict["roleSetting"]); + return $this->_propDict["roleSetting"]; + } + } + return null; + } + + /** + * Sets the roleSetting + * The associated role setting for the role definition. + * + * @param GovernanceRoleSetting $val The roleSetting + * + * @return GovernanceRoleDefinition + */ + public function setRoleSetting($val) + { + $this->_propDict["roleSetting"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleSetting.php new file mode 100644 index 0000000..0aab832 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleSetting.php @@ -0,0 +1,362 @@ +_propDict)) { + return $this->_propDict["adminEligibleSettings"]; + } else { + return null; + } + } + + /** + * Sets the adminEligibleSettings + * The rule settings that are evaluated when an administrator tries to add an eligible role assignment. + * + * @param GovernanceRuleSetting[] $val The adminEligibleSettings + * + * @return GovernanceRoleSetting + */ + public function setAdminEligibleSettings($val) + { + $this->_propDict["adminEligibleSettings"] = $val; + return $this; + } + + + /** + * Gets the adminMemberSettings + * The rule settings that are evaluated when an administrator tries to add a direct member role assignment. + * + * @return array|null The adminMemberSettings + */ + public function getAdminMemberSettings() + { + if (array_key_exists("adminMemberSettings", $this->_propDict)) { + return $this->_propDict["adminMemberSettings"]; + } else { + return null; + } + } + + /** + * Sets the adminMemberSettings + * The rule settings that are evaluated when an administrator tries to add a direct member role assignment. + * + * @param GovernanceRuleSetting[] $val The adminMemberSettings + * + * @return GovernanceRoleSetting + */ + public function setAdminMemberSettings($val) + { + $this->_propDict["adminMemberSettings"] = $val; + return $this; + } + + /** + * Gets the isDefault + * Read-only. Indicate if the roleSetting is a default roleSetting + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Read-only. Indicate if the roleSetting is a default roleSetting + * + * @param bool $val The isDefault + * + * @return GovernanceRoleSetting + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the lastUpdatedBy + * Read-only. The display name of the administrator who last updated the roleSetting. + * + * @return string|null The lastUpdatedBy + */ + public function getLastUpdatedBy() + { + if (array_key_exists("lastUpdatedBy", $this->_propDict)) { + return $this->_propDict["lastUpdatedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastUpdatedBy + * Read-only. The display name of the administrator who last updated the roleSetting. + * + * @param string $val The lastUpdatedBy + * + * @return GovernanceRoleSetting + */ + public function setLastUpdatedBy($val) + { + $this->_propDict["lastUpdatedBy"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Read-only. The time when the role setting was last updated. 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 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 + * Read-only. The time when the role setting was last updated. 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 lastUpdatedDateTime + * + * @return GovernanceRoleSetting + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceId + * Required. The id of the resource that the role setting is associated with. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Required. The id of the resource that the role setting is associated with. + * + * @param string $val The resourceId + * + * @return GovernanceRoleSetting + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Required. The id of the role definition that the role setting is associated with. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Required. The id of the role definition that the role setting is associated with. + * + * @param string $val The roleDefinitionId + * + * @return GovernanceRoleSetting + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + + /** + * Gets the userEligibleSettings + * The rule settings that are evaluated when a user tries to add an eligible role assignment. The setting is not supported for now. + * + * @return array|null The userEligibleSettings + */ + public function getUserEligibleSettings() + { + if (array_key_exists("userEligibleSettings", $this->_propDict)) { + return $this->_propDict["userEligibleSettings"]; + } else { + return null; + } + } + + /** + * Sets the userEligibleSettings + * The rule settings that are evaluated when a user tries to add an eligible role assignment. The setting is not supported for now. + * + * @param GovernanceRuleSetting[] $val The userEligibleSettings + * + * @return GovernanceRoleSetting + */ + public function setUserEligibleSettings($val) + { + $this->_propDict["userEligibleSettings"] = $val; + return $this; + } + + + /** + * Gets the userMemberSettings + * The rule settings that are evaluated when a user tries to activate his role assignment. + * + * @return array|null The userMemberSettings + */ + public function getUserMemberSettings() + { + if (array_key_exists("userMemberSettings", $this->_propDict)) { + return $this->_propDict["userMemberSettings"]; + } else { + return null; + } + } + + /** + * Sets the userMemberSettings + * The rule settings that are evaluated when a user tries to activate his role assignment. + * + * @param GovernanceRuleSetting[] $val The userMemberSettings + * + * @return GovernanceRoleSetting + */ + public function setUserMemberSettings($val) + { + $this->_propDict["userMemberSettings"] = $val; + return $this; + } + + /** + * Gets the resource + * Read-only. The associated resource for this role setting. + * + * @return GovernanceResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new GovernanceResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Read-only. The associated resource for this role setting. + * + * @param GovernanceResource $val The resource + * + * @return GovernanceRoleSetting + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Read-only. The role definition that is enforced with this role setting. + * + * @return GovernanceRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\GovernanceRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new GovernanceRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Read-only. The role definition that is enforced with this role setting. + * + * @param GovernanceRoleDefinition $val The roleDefinition + * + * @return GovernanceRoleSetting + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php new file mode 100644 index 0000000..09b1465 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["ruleIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the ruleIdentifier + * The id of the rule. For example, ExpirationRule and MfaRule. + * + * @param string $val The value of the ruleIdentifier + * + * @return GovernanceRuleSetting + */ + public function setRuleIdentifier($val) + { + $this->_propDict["ruleIdentifier"] = $val; + return $this; + } + /** + * Gets the setting + * The settings of the rule. The value is a JSON string with a list of pairs in the format of Parameter_Name:Parameter_Value. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The settings of the rule. The value is a JSON string with a list of pairs in the format of Parameter_Name:Parameter_Value. For example, {'permanentAssignment':false,'maximumGrantPeriodInMinutes':129600} + * + * @param string $val The value of the setting + * + * @return GovernanceRuleSetting + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSchedule.php new file mode 100644 index 0000000..cbcd18c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSchedule.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * The duration of a role assignment. It is in format of a TimeSpan. + * + * @param \DateInterval $val The value to assign to the duration + * + * @return GovernanceSchedule The GovernanceSchedule + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The end time of the role assignment. 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. Note: if the value is null, it indicates a permanent assignment. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the role assignment. 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. Note: if the value is null, it indicates a permanent assignment. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return GovernanceSchedule The GovernanceSchedule + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the role assignment. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the role assignment. 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 startDateTime + * + * @return GovernanceSchedule The GovernanceSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the type + * The role assignment schedule type. Only Once is supported for now. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The role assignment schedule type. Only Once is supported for now. + * + * @param string $val The value of the type + * + * @return GovernanceSchedule + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSubject.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSubject.php new file mode 100644 index 0000000..90ed54e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSubject.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the subject. + * + * @param string $val The displayName + * + * @return GovernanceSubject + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * The email address of the user subject. If the subject is in other types, it is empty. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address of the user subject. If the subject is in other types, it is empty. + * + * @param string $val The email + * + * @return GovernanceSubject + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the principalName + * The principal name of the user subject. If the subject is in other types, it is empty. + * + * @return string|null The principalName + */ + public function getPrincipalName() + { + if (array_key_exists("principalName", $this->_propDict)) { + return $this->_propDict["principalName"]; + } else { + return null; + } + } + + /** + * Sets the principalName + * The principal name of the user subject. If the subject is in other types, it is empty. + * + * @param string $val The principalName + * + * @return GovernanceSubject + */ + public function setPrincipalName($val) + { + $this->_propDict["principalName"] = $val; + return $this; + } + + /** + * Gets the type + * The type of the subject. The value can be User, Group, and ServicePrincipal. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of the subject. The value can be User, Group, and ServicePrincipal. + * + * @param string $val The type + * + * @return GovernanceSubject + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphList.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphList.php new file mode 100644 index 0000000..df0e165 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphList.php @@ -0,0 +1,368 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The displayable title of the list. + * + * @param string $val The displayName + * + * @return GraphList + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the list + * Provides additional details about the list. + * + * @return ListInfo|null The list + */ + public function getList() + { + if (array_key_exists("list", $this->_propDict)) { + if (is_a($this->_propDict["list"], "\Beta\Microsoft\Graph\Model\ListInfo") || is_null($this->_propDict["list"])) { + return $this->_propDict["list"]; + } else { + $this->_propDict["list"] = new ListInfo($this->_propDict["list"]); + return $this->_propDict["list"]; + } + } + return null; + } + + /** + * Sets the list + * Provides additional details about the list. + * + * @param ListInfo $val The list + * + * @return GraphList + */ + public function setList($val) + { + $this->_propDict["list"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return GraphList + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the system + * If present, indicates that this is a system-managed list. Read-only. + * + * @return SystemFacet|null The system + */ + public function getSystem() + { + if (array_key_exists("system", $this->_propDict)) { + if (is_a($this->_propDict["system"], "\Beta\Microsoft\Graph\Model\SystemFacet") || is_null($this->_propDict["system"])) { + return $this->_propDict["system"]; + } else { + $this->_propDict["system"] = new SystemFacet($this->_propDict["system"]); + return $this->_propDict["system"]; + } + } + return null; + } + + /** + * Sets the system + * If present, indicates that this is a system-managed list. Read-only. + * + * @param SystemFacet $val The system + * + * @return GraphList + */ + public function setSystem($val) + { + $this->_propDict["system"] = $val; + return $this; + } + + + /** + * Gets the activities + * The recent activities that took place within this list. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The recent activities that took place within this list. + * + * @param ItemActivityOLD[] $val The activities + * + * @return GraphList + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + + + /** + * Gets the columns + * The collection of field definitions for this list. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * The collection of field definitions for this list. + * + * @param ColumnDefinition[] $val The columns + * + * @return GraphList + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + + /** + * Gets the contentTypes + * The collection of content types present in this list. + * + * @return array|null The contentTypes + */ + public function getContentTypes() + { + if (array_key_exists("contentTypes", $this->_propDict)) { + return $this->_propDict["contentTypes"]; + } else { + return null; + } + } + + /** + * Sets the contentTypes + * The collection of content types present in this list. + * + * @param ContentType[] $val The contentTypes + * + * @return GraphList + */ + public function setContentTypes($val) + { + $this->_propDict["contentTypes"] = $val; + return $this; + } + + /** + * Gets the drive + * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. + * + * @param Drive $val The drive + * + * @return GraphList + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the items + * All items contained in the list. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * All items contained in the list. + * + * @param ListItem[] $val The items + * + * @return GraphList + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the operations + * The collection of long running operations for the list. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The collection of long running operations for the list. + * + * @param RichLongRunningOperation[] $val The operations + * + * @return GraphList + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the subscriptions + * The set of subscriptions on the list. + * + * @return array|null The subscriptions + */ + public function getSubscriptions() + { + if (array_key_exists("subscriptions", $this->_propDict)) { + return $this->_propDict["subscriptions"]; + } else { + return null; + } + } + + /** + * Sets the subscriptions + * The set of subscriptions on the list. + * + * @param Subscription[] $val The subscriptions + * + * @return GraphList + */ + public function setSubscriptions($val) + { + $this->_propDict["subscriptions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphPrint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphPrint.php new file mode 100644 index 0000000..dcd0b2b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphPrint.php @@ -0,0 +1,376 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Print + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the settings + * Tenant-wide settings for the Universal Print service. + * + * @return PrintSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\PrintSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new PrintSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Tenant-wide settings for the Universal Print service. + * + * @param PrintSettings $val The settings + * + * @return GraphPrint + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the connectors + * The list of available print connectors. + * + * @return array|null The connectors + */ + public function getConnectors() + { + if (array_key_exists("connectors", $this->_propDict)) { + return $this->_propDict["connectors"]; + } else { + return null; + } + } + + /** + * Sets the connectors + * The list of available print connectors. + * + * @param PrintConnector[] $val The connectors + * + * @return GraphPrint + */ + public function setConnectors($val) + { + $this->_propDict["connectors"] = $val; + return $this; + } + + + /** + * Gets the operations + * The list of print long running operations. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The list of print long running operations. + * + * @param PrintOperation[] $val The operations + * + * @return GraphPrint + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the printers + * The list of printers registered in the tenant. + * + * @return array|null The printers + */ + public function getPrinters() + { + if (array_key_exists("printers", $this->_propDict)) { + return $this->_propDict["printers"]; + } else { + return null; + } + } + + /** + * Sets the printers + * The list of printers registered in the tenant. + * + * @param Printer[] $val The printers + * + * @return GraphPrint + */ + public function setPrinters($val) + { + $this->_propDict["printers"] = $val; + return $this; + } + + + /** + * Gets the printerShares + * + * @return array|null The printerShares + */ + public function getPrinterShares() + { + if (array_key_exists("printerShares", $this->_propDict)) { + return $this->_propDict["printerShares"]; + } else { + return null; + } + } + + /** + * Sets the printerShares + * + * @param PrinterShare[] $val The printerShares + * + * @return GraphPrint + */ + public function setPrinterShares($val) + { + $this->_propDict["printerShares"] = $val; + return $this; + } + + /** + * Gets the reports + * + * @return ReportRoot|null The reports + */ + public function getReports() + { + if (array_key_exists("reports", $this->_propDict)) { + if (is_a($this->_propDict["reports"], "\Beta\Microsoft\Graph\Model\ReportRoot") || is_null($this->_propDict["reports"])) { + return $this->_propDict["reports"]; + } else { + $this->_propDict["reports"] = new ReportRoot($this->_propDict["reports"]); + return $this->_propDict["reports"]; + } + } + return null; + } + + /** + * Sets the reports + * + * @param ReportRoot $val The reports + * + * @return GraphPrint + */ + public function setReports($val) + { + $this->_propDict["reports"] = $val; + return $this; + } + + + /** + * Gets the services + * The list of available Universal Print service endpoints. + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * The list of available Universal Print service endpoints. + * + * @param PrintService[] $val The services + * + * @return GraphPrint + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + + + /** + * Gets the shares + * The list of printer shares registered in the tenant. + * + * @return array|null The shares + */ + public function getShares() + { + if (array_key_exists("shares", $this->_propDict)) { + return $this->_propDict["shares"]; + } else { + return null; + } + } + + /** + * Sets the shares + * The list of printer shares registered in the tenant. + * + * @param PrinterShare[] $val The shares + * + * @return GraphPrint + */ + public function setShares($val) + { + $this->_propDict["shares"] = $val; + return $this; + } + + + /** + * Gets the taskDefinitions + * List of abstract definition for a task that can be triggered when various events occur within Universal Print. + * + * @return array|null The taskDefinitions + */ + public function getTaskDefinitions() + { + if (array_key_exists("taskDefinitions", $this->_propDict)) { + return $this->_propDict["taskDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the taskDefinitions + * List of abstract definition for a task that can be triggered when various events occur within Universal Print. + * + * @param PrintTaskDefinition[] $val The taskDefinitions + * + * @return GraphPrint + */ + public function setTaskDefinitions($val) + { + $this->_propDict["taskDefinitions"] = $val; + 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 GraphPrint + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Group.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Group.php new file mode 100644 index 0000000..9a97dd5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Group.php @@ -0,0 +1,2355 @@ +_propDict)) { + return $this->_propDict["assignedLabels"]; + } else { + return null; + } + } + + /** + * Sets the assignedLabels + * The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Returned only on $select. + * + * @param AssignedLabel[] $val The assignedLabels + * + * @return Group + */ + public function setAssignedLabels($val) + { + $this->_propDict["assignedLabels"] = $val; + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses that are assigned to the group. Returned only on $select. Supports $filter (eq). Read-only. + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses that are assigned to the group. Returned only on $select. Supports $filter (eq). Read-only. + * + * @param AssignedLicense[] $val The assignedLicenses + * + * @return Group + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + + /** + * Gets the classification + * Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @return string|null The classification + */ + public function getClassification() + { + if (array_key_exists("classification", $this->_propDict)) { + return $this->_propDict["classification"]; + } else { + return null; + } + } + + /** + * Sets the classification + * Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @param string $val The classification + * + * @return Group + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the createdByAppId + * App ID of the app used to create the group. Can be null for some groups. Returned by default. Read-only. Supports $filter (eq, ne, not, in, startsWith). + * + * @return string|null The createdByAppId + */ + public function getCreatedByAppId() + { + if (array_key_exists("createdByAppId", $this->_propDict)) { + return $this->_propDict["createdByAppId"]; + } else { + return null; + } + } + + /** + * Sets the createdByAppId + * App ID of the app used to create the group. Can be null for some groups. Returned by default. Read-only. Supports $filter (eq, ne, not, in, startsWith). + * + * @param string $val The createdByAppId + * + * @return Group + */ + public function setCreatedByAppId($val) + { + $this->_propDict["createdByAppId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Group + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @param string $val The description + * + * @return Group + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the group. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the group. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return Group + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @param \DateTime $val The expirationDateTime + * + * @return Group + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the groupTypes + * Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + * + * @return string|null The groupTypes + */ + public function getGroupTypes() + { + if (array_key_exists("groupTypes", $this->_propDict)) { + return $this->_propDict["groupTypes"]; + } else { + return null; + } + } + + /** + * Sets the groupTypes + * Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + * + * @param string $val The groupTypes + * + * @return Group + */ + public function setGroupTypes($val) + { + $this->_propDict["groupTypes"] = $val; + return $this; + } + + /** + * Gets the hasMembersWithLicenseErrors + * Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). Supports $filter (eq). + * + * @return bool|null The hasMembersWithLicenseErrors + */ + public function getHasMembersWithLicenseErrors() + { + if (array_key_exists("hasMembersWithLicenseErrors", $this->_propDict)) { + return $this->_propDict["hasMembersWithLicenseErrors"]; + } else { + return null; + } + } + + /** + * Sets the hasMembersWithLicenseErrors + * Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). Supports $filter (eq). + * + * @param bool $val The hasMembersWithLicenseErrors + * + * @return Group + */ + public function setHasMembersWithLicenseErrors($val) + { + $this->_propDict["hasMembersWithLicenseErrors"] = boolval($val); + return $this; + } + + /** + * Gets the infoCatalogs + * Identifies the info segments assigned to the group. Returned by default. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The infoCatalogs + */ + public function getInfoCatalogs() + { + if (array_key_exists("infoCatalogs", $this->_propDict)) { + return $this->_propDict["infoCatalogs"]; + } else { + return null; + } + } + + /** + * Sets the infoCatalogs + * Identifies the info segments assigned to the group. Returned by default. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The infoCatalogs + * + * @return Group + */ + public function setInfoCatalogs($val) + { + $this->_propDict["infoCatalogs"] = $val; + return $this; + } + + /** + * Gets the isAssignableToRole + * Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not). + * + * @return bool|null The isAssignableToRole + */ + public function getIsAssignableToRole() + { + if (array_key_exists("isAssignableToRole", $this->_propDict)) { + return $this->_propDict["isAssignableToRole"]; + } else { + return null; + } + } + + /** + * Sets the isAssignableToRole + * Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not). + * + * @param bool $val The isAssignableToRole + * + * @return Group + */ + public function setIsAssignableToRole($val) + { + $this->_propDict["isAssignableToRole"] = boolval($val); + return $this; + } + + /** + * Gets the isManagementRestricted + * + * @return bool|null The isManagementRestricted + */ + public function getIsManagementRestricted() + { + if (array_key_exists("isManagementRestricted", $this->_propDict)) { + return $this->_propDict["isManagementRestricted"]; + } else { + return null; + } + } + + /** + * Sets the isManagementRestricted + * + * @param bool $val The isManagementRestricted + * + * @return Group + */ + public function setIsManagementRestricted($val) + { + $this->_propDict["isManagementRestricted"] = boolval($val); + return $this; + } + + /** + * Gets the licenseProcessingState + * Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. + * + * @return LicenseProcessingState|null The licenseProcessingState + */ + public function getLicenseProcessingState() + { + if (array_key_exists("licenseProcessingState", $this->_propDict)) { + if (is_a($this->_propDict["licenseProcessingState"], "\Beta\Microsoft\Graph\Model\LicenseProcessingState") || is_null($this->_propDict["licenseProcessingState"])) { + return $this->_propDict["licenseProcessingState"]; + } else { + $this->_propDict["licenseProcessingState"] = new LicenseProcessingState($this->_propDict["licenseProcessingState"]); + return $this->_propDict["licenseProcessingState"]; + } + } + return null; + } + + /** + * Sets the licenseProcessingState + * Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. + * + * @param LicenseProcessingState $val The licenseProcessingState + * + * @return Group + */ + public function setLicenseProcessingState($val) + { + $this->_propDict["licenseProcessingState"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mail + * + * @return Group + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailEnabled + * Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not, and eq on null values). + * + * @return bool|null The mailEnabled + */ + public function getMailEnabled() + { + if (array_key_exists("mailEnabled", $this->_propDict)) { + return $this->_propDict["mailEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mailEnabled + * Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not, and eq on null values). + * + * @param bool $val The mailEnabled + * + * @return Group + */ + public function setMailEnabled($val) + { + $this->_propDict["mailEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the mailNickname + * The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . &lt;&gt; , SPACE. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . &lt;&gt; , SPACE. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @param string $val The mailNickname + * + * @return Group + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the mdmAppId + * + * @return string|null The mdmAppId + */ + public function getMdmAppId() + { + if (array_key_exists("mdmAppId", $this->_propDict)) { + return $this->_propDict["mdmAppId"]; + } else { + return null; + } + } + + /** + * Sets the mdmAppId + * + * @param string $val The mdmAppId + * + * @return Group + */ + public function setMdmAppId($val) + { + $this->_propDict["mdmAppId"] = $val; + return $this; + } + + /** + * Gets the membershipRule + * The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @return string|null The membershipRule + */ + public function getMembershipRule() + { + if (array_key_exists("membershipRule", $this->_propDict)) { + return $this->_propDict["membershipRule"]; + } else { + return null; + } + } + + /** + * Sets the membershipRule + * The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @param string $val The membershipRule + * + * @return Group + */ + public function setMembershipRule($val) + { + $this->_propDict["membershipRule"] = $val; + return $this; + } + + /** + * Gets the membershipRuleProcessingState + * Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in). + * + * @return string|null The membershipRuleProcessingState + */ + public function getMembershipRuleProcessingState() + { + if (array_key_exists("membershipRuleProcessingState", $this->_propDict)) { + return $this->_propDict["membershipRuleProcessingState"]; + } else { + return null; + } + } + + /** + * Sets the membershipRuleProcessingState + * Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in). + * + * @param string $val The membershipRuleProcessingState + * + * @return Group + */ + public function setMembershipRuleProcessingState($val) + { + $this->_propDict["membershipRuleProcessingState"] = $val; + return $this; + } + + /** + * Gets the onPremisesDomainName + * Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @return string|null The onPremisesDomainName + */ + public function getOnPremisesDomainName() + { + if (array_key_exists("onPremisesDomainName", $this->_propDict)) { + return $this->_propDict["onPremisesDomainName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesDomainName + * Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @param string $val The onPremisesDomainName + * + * @return Group + */ + public function setOnPremisesDomainName($val) + { + $this->_propDict["onPremisesDomainName"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * Indicates the last time at which the group was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * Indicates the last time at which the group was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return Group + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the onPremisesNetBiosName + * Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @return string|null The onPremisesNetBiosName + */ + public function getOnPremisesNetBiosName() + { + if (array_key_exists("onPremisesNetBiosName", $this->_propDict)) { + return $this->_propDict["onPremisesNetBiosName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesNetBiosName + * Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @param string $val The onPremisesNetBiosName + * + * @return Group + */ + public function setOnPremisesNetBiosName($val) + { + $this->_propDict["onPremisesNetBiosName"] = $val; + return $this; + } + + + /** + * Gets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Returned by default. Supports $filter (eq, not). + * + * @return array|null The onPremisesProvisioningErrors + */ + public function getOnPremisesProvisioningErrors() + { + if (array_key_exists("onPremisesProvisioningErrors", $this->_propDict)) { + return $this->_propDict["onPremisesProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Returned by default. Supports $filter (eq, not). + * + * @param OnPremisesProvisioningError[] $val The onPremisesProvisioningErrors + * + * @return Group + */ + public function setOnPremisesProvisioningErrors($val) + { + $this->_propDict["onPremisesProvisioningErrors"] = $val; + return $this; + } + + /** + * Gets the onPremisesSamAccountName + * Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + * + * @return string|null The onPremisesSamAccountName + */ + public function getOnPremisesSamAccountName() + { + if (array_key_exists("onPremisesSamAccountName", $this->_propDict)) { + return $this->_propDict["onPremisesSamAccountName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSamAccountName + * Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + * + * @param string $val The onPremisesSamAccountName + * + * @return Group + */ + public function setOnPremisesSamAccountName($val) + { + $this->_propDict["onPremisesSamAccountName"] = $val; + return $this; + } + + /** + * Gets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + * + * @param string $val The onPremisesSecurityIdentifier + * + * @return Group + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return Group + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the organizationId + * + * @return string|null The organizationId + */ + public function getOrganizationId() + { + if (array_key_exists("organizationId", $this->_propDict)) { + return $this->_propDict["organizationId"]; + } else { + return null; + } + } + + /** + * Sets the organizationId + * + * @param string $val The organizationId + * + * @return Group + */ + public function setOrganizationId($val) + { + $this->_propDict["organizationId"] = $val; + return $this; + } + + /** + * Gets the preferredDataLocation + * The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling user must be assigned one of the following Azure AD roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default. + * + * @return string|null The preferredDataLocation + */ + public function getPreferredDataLocation() + { + if (array_key_exists("preferredDataLocation", $this->_propDict)) { + return $this->_propDict["preferredDataLocation"]; + } else { + return null; + } + } + + /** + * Sets the preferredDataLocation + * The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling user must be assigned one of the following Azure AD roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default. + * + * @param string $val The preferredDataLocation + * + * @return Group + */ + public function setPreferredDataLocation($val) + { + $this->_propDict["preferredDataLocation"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The preferredLanguage + * + * @return Group + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + /** + * Gets the proxyAddresses + * Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @return string|null The proxyAddresses + */ + public function getProxyAddresses() + { + if (array_key_exists("proxyAddresses", $this->_propDict)) { + return $this->_propDict["proxyAddresses"]; + } else { + return null; + } + } + + /** + * Sets the proxyAddresses + * Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @param string $val The proxyAddresses + * + * @return Group + */ + public function setProxyAddresses($val) + { + $this->_propDict["proxyAddresses"] = $val; + return $this; + } + + /** + * Gets the renewedDateTime + * Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @return \DateTime|null The renewedDateTime + */ + public function getRenewedDateTime() + { + if (array_key_exists("renewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["renewedDateTime"], "\DateTime") || is_null($this->_propDict["renewedDateTime"])) { + return $this->_propDict["renewedDateTime"]; + } else { + $this->_propDict["renewedDateTime"] = new \DateTime($this->_propDict["renewedDateTime"]); + return $this->_propDict["renewedDateTime"]; + } + } + return null; + } + + /** + * Sets the renewedDateTime + * Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @param \DateTime $val The renewedDateTime + * + * @return Group + */ + public function setRenewedDateTime($val) + { + $this->_propDict["renewedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceBehaviorOptions + * Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This can be set only as part of creation (POST). Possible values are AllowOnlyMembersToPost, HideGroupInOutlook, SubscribeNewGroupMembers, WelcomeEmailDisabled. For more information, see Set Microsoft 365 group behaviors and provisioning options. + * + * @return string|null The resourceBehaviorOptions + */ + public function getResourceBehaviorOptions() + { + if (array_key_exists("resourceBehaviorOptions", $this->_propDict)) { + return $this->_propDict["resourceBehaviorOptions"]; + } else { + return null; + } + } + + /** + * Sets the resourceBehaviorOptions + * Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This can be set only as part of creation (POST). Possible values are AllowOnlyMembersToPost, HideGroupInOutlook, SubscribeNewGroupMembers, WelcomeEmailDisabled. For more information, see Set Microsoft 365 group behaviors and provisioning options. + * + * @param string $val The resourceBehaviorOptions + * + * @return Group + */ + public function setResourceBehaviorOptions($val) + { + $this->_propDict["resourceBehaviorOptions"] = $val; + return $this; + } + + /** + * Gets the resourceProvisioningOptions + * Specifies the group resources that are provisioned as part of Microsoft 365 group creation, that are not normally part of default group creation. Possible value is Team. For more information, see Set Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith. + * + * @return string|null The resourceProvisioningOptions + */ + public function getResourceProvisioningOptions() + { + if (array_key_exists("resourceProvisioningOptions", $this->_propDict)) { + return $this->_propDict["resourceProvisioningOptions"]; + } else { + return null; + } + } + + /** + * Sets the resourceProvisioningOptions + * Specifies the group resources that are provisioned as part of Microsoft 365 group creation, that are not normally part of default group creation. Possible value is Team. For more information, see Set Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith. + * + * @param string $val The resourceProvisioningOptions + * + * @return Group + */ + public function setResourceProvisioningOptions($val) + { + $this->_propDict["resourceProvisioningOptions"] = $val; + return $this; + } + + /** + * Gets the securityEnabled + * Specifies whether the group is a security group. Required.Returned by default. Supports $filter (eq, ne, not, in). + * + * @return bool|null The securityEnabled + */ + public function getSecurityEnabled() + { + if (array_key_exists("securityEnabled", $this->_propDict)) { + return $this->_propDict["securityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the securityEnabled + * Specifies whether the group is a security group. Required.Returned by default. Supports $filter (eq, ne, not, in). + * + * @param bool $val The securityEnabled + * + * @return Group + */ + public function setSecurityEnabled($val) + { + $this->_propDict["securityEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the securityIdentifier + * Security identifier of the group, used in Windows scenarios. Returned by default. + * + * @return string|null The securityIdentifier + */ + public function getSecurityIdentifier() + { + if (array_key_exists("securityIdentifier", $this->_propDict)) { + return $this->_propDict["securityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the securityIdentifier + * Security identifier of the group, used in Windows scenarios. Returned by default. + * + * @param string $val The securityIdentifier + * + * @return Group + */ + public function setSecurityIdentifier($val) + { + $this->_propDict["securityIdentifier"] = $val; + return $this; + } + + /** + * Gets the theme + * Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default. + * + * @return string|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + return $this->_propDict["theme"]; + } else { + return null; + } + } + + /** + * Sets the theme + * Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default. + * + * @param string $val The theme + * + * @return Group + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } + + /** + * Gets the visibility + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or Hiddenmembership. Hiddenmembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * + * @return string|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + return $this->_propDict["visibility"]; + } else { + return null; + } + } + + /** + * Sets the visibility + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or Hiddenmembership. Hiddenmembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * + * @param string $val The visibility + * + * @return Group + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + /** + * Gets the accessType + * + * @return GroupAccessType|null The accessType + */ + public function getAccessType() + { + if (array_key_exists("accessType", $this->_propDict)) { + if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\GroupAccessType") || is_null($this->_propDict["accessType"])) { + return $this->_propDict["accessType"]; + } else { + $this->_propDict["accessType"] = new GroupAccessType($this->_propDict["accessType"]); + return $this->_propDict["accessType"]; + } + } + return null; + } + + /** + * Sets the accessType + * + * @param GroupAccessType $val The accessType + * + * @return Group + */ + public function setAccessType($val) + { + $this->_propDict["accessType"] = $val; + return $this; + } + + /** + * Gets the allowExternalSenders + * Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The allowExternalSenders + */ + public function getAllowExternalSenders() + { + if (array_key_exists("allowExternalSenders", $this->_propDict)) { + return $this->_propDict["allowExternalSenders"]; + } else { + return null; + } + } + + /** + * Sets the allowExternalSenders + * Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The allowExternalSenders + * + * @return Group + */ + public function setAllowExternalSenders($val) + { + $this->_propDict["allowExternalSenders"] = boolval($val); + return $this; + } + + /** + * Gets the autoSubscribeNewMembers + * Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The autoSubscribeNewMembers + */ + public function getAutoSubscribeNewMembers() + { + if (array_key_exists("autoSubscribeNewMembers", $this->_propDict)) { + return $this->_propDict["autoSubscribeNewMembers"]; + } else { + return null; + } + } + + /** + * Sets the autoSubscribeNewMembers + * Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The autoSubscribeNewMembers + * + * @return Group + */ + public function setAutoSubscribeNewMembers($val) + { + $this->_propDict["autoSubscribeNewMembers"] = boolval($val); + return $this; + } + + /** + * Gets the hideFromAddressLists + * true if the group is not displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The hideFromAddressLists + */ + public function getHideFromAddressLists() + { + if (array_key_exists("hideFromAddressLists", $this->_propDict)) { + return $this->_propDict["hideFromAddressLists"]; + } else { + return null; + } + } + + /** + * Sets the hideFromAddressLists + * true if the group is not displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The hideFromAddressLists + * + * @return Group + */ + public function setHideFromAddressLists($val) + { + $this->_propDict["hideFromAddressLists"] = boolval($val); + return $this; + } + + /** + * Gets the hideFromOutlookClients + * true if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The hideFromOutlookClients + */ + public function getHideFromOutlookClients() + { + if (array_key_exists("hideFromOutlookClients", $this->_propDict)) { + return $this->_propDict["hideFromOutlookClients"]; + } else { + return null; + } + } + + /** + * Sets the hideFromOutlookClients + * true if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The hideFromOutlookClients + * + * @return Group + */ + public function setHideFromOutlookClients($val) + { + $this->_propDict["hideFromOutlookClients"] = boolval($val); + return $this; + } + + /** + * Gets the isFavorite + * + * @return bool|null The isFavorite + */ + public function getIsFavorite() + { + if (array_key_exists("isFavorite", $this->_propDict)) { + return $this->_propDict["isFavorite"]; + } else { + return null; + } + } + + /** + * Sets the isFavorite + * + * @param bool $val The isFavorite + * + * @return Group + */ + public function setIsFavorite($val) + { + $this->_propDict["isFavorite"] = boolval($val); + return $this; + } + + /** + * Gets the isSubscribedByMail + * Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The isSubscribedByMail + */ + public function getIsSubscribedByMail() + { + if (array_key_exists("isSubscribedByMail", $this->_propDict)) { + return $this->_propDict["isSubscribedByMail"]; + } else { + return null; + } + } + + /** + * Sets the isSubscribedByMail + * Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The isSubscribedByMail + * + * @return Group + */ + public function setIsSubscribedByMail($val) + { + $this->_propDict["isSubscribedByMail"] = boolval($val); + return $this; + } + + /** + * Gets the unseenConversationsCount + * Count of conversations that have been delivered one or more new posts since the signed-in user's last visit to the group. This property is the same as unseenCount. Returned only on $select. + * + * @return int|null The unseenConversationsCount + */ + public function getUnseenConversationsCount() + { + if (array_key_exists("unseenConversationsCount", $this->_propDict)) { + return $this->_propDict["unseenConversationsCount"]; + } else { + return null; + } + } + + /** + * Sets the unseenConversationsCount + * Count of conversations that have been delivered one or more new posts since the signed-in user's last visit to the group. This property is the same as unseenCount. Returned only on $select. + * + * @param int $val The unseenConversationsCount + * + * @return Group + */ + public function setUnseenConversationsCount($val) + { + $this->_propDict["unseenConversationsCount"] = intval($val); + return $this; + } + + /** + * Gets the unseenCount + * Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return int|null The unseenCount + */ + public function getUnseenCount() + { + if (array_key_exists("unseenCount", $this->_propDict)) { + return $this->_propDict["unseenCount"]; + } else { + return null; + } + } + + /** + * Sets the unseenCount + * Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param int $val The unseenCount + * + * @return Group + */ + public function setUnseenCount($val) + { + $this->_propDict["unseenCount"] = intval($val); + return $this; + } + + /** + * Gets the unseenMessagesCount + * Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Returned only on $select. + * + * @return int|null The unseenMessagesCount + */ + public function getUnseenMessagesCount() + { + if (array_key_exists("unseenMessagesCount", $this->_propDict)) { + return $this->_propDict["unseenMessagesCount"]; + } else { + return null; + } + } + + /** + * Sets the unseenMessagesCount + * Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Returned only on $select. + * + * @param int $val The unseenMessagesCount + * + * @return Group + */ + public function setUnseenMessagesCount($val) + { + $this->_propDict["unseenMessagesCount"] = intval($val); + return $this; + } + + /** + * Gets the membershipRuleProcessingStatus + * Describes the processing status for rules-based dynamic groups. The property is null for non-rule based dynamic groups or if the dynamic group processing has been paused. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). Read-only. + * + * @return MembershipRuleProcessingStatus|null The membershipRuleProcessingStatus + */ + public function getMembershipRuleProcessingStatus() + { + if (array_key_exists("membershipRuleProcessingStatus", $this->_propDict)) { + if (is_a($this->_propDict["membershipRuleProcessingStatus"], "\Beta\Microsoft\Graph\Model\MembershipRuleProcessingStatus") || is_null($this->_propDict["membershipRuleProcessingStatus"])) { + return $this->_propDict["membershipRuleProcessingStatus"]; + } else { + $this->_propDict["membershipRuleProcessingStatus"] = new MembershipRuleProcessingStatus($this->_propDict["membershipRuleProcessingStatus"]); + return $this->_propDict["membershipRuleProcessingStatus"]; + } + } + return null; + } + + /** + * Sets the membershipRuleProcessingStatus + * Describes the processing status for rules-based dynamic groups. The property is null for non-rule based dynamic groups or if the dynamic group processing has been paused. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). Read-only. + * + * @param MembershipRuleProcessingStatus $val The membershipRuleProcessingStatus + * + * @return Group + */ + public function setMembershipRuleProcessingStatus($val) + { + $this->_propDict["membershipRuleProcessingStatus"] = $val; + return $this; + } + + /** + * Gets the isArchived + * When a group is associated with a team, this property determines whether the team is in read-only mode. + * + * @return bool|null The isArchived + */ + public function getIsArchived() + { + if (array_key_exists("isArchived", $this->_propDict)) { + return $this->_propDict["isArchived"]; + } else { + return null; + } + } + + /** + * Sets the isArchived + * When a group is associated with a team, this property determines whether the team is in read-only mode. + * + * @param bool $val The isArchived + * + * @return Group + */ + public function setIsArchived($val) + { + $this->_propDict["isArchived"] = boolval($val); + return $this; + } + + + /** + * Gets the appRoleAssignments + * Represents the app roles a group has been granted for an application. Supports $expand. + * + * @return array|null The appRoleAssignments + */ + public function getAppRoleAssignments() + { + if (array_key_exists("appRoleAssignments", $this->_propDict)) { + return $this->_propDict["appRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignments + * Represents the app roles a group has been granted for an application. Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignments + * + * @return Group + */ + public function setAppRoleAssignments($val) + { + $this->_propDict["appRoleAssignments"] = $val; + return $this; + } + + /** + * Gets the createdOnBehalfOf + * The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + * + * @return DirectoryObject|null The createdOnBehalfOf + */ + public function getCreatedOnBehalfOf() + { + if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["createdOnBehalfOf"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["createdOnBehalfOf"])) { + return $this->_propDict["createdOnBehalfOf"]; + } else { + $this->_propDict["createdOnBehalfOf"] = new DirectoryObject($this->_propDict["createdOnBehalfOf"]); + return $this->_propDict["createdOnBehalfOf"]; + } + } + return null; + } + + /** + * Sets the createdOnBehalfOf + * The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + * + * @param DirectoryObject $val The createdOnBehalfOf + * + * @return Group + */ + public function setCreatedOnBehalfOf($val) + { + $this->_propDict["createdOnBehalfOf"] = $val; + return $this; + } + + + /** + * Gets the endpoints + * Endpoints for the group. Read-only. Nullable. + * + * @return array|null The endpoints + */ + public function getEndpoints() + { + if (array_key_exists("endpoints", $this->_propDict)) { + return $this->_propDict["endpoints"]; + } else { + return null; + } + } + + /** + * Sets the endpoints + * Endpoints for the group. Read-only. Nullable. + * + * @param Endpoint[] $val The endpoints + * + * @return Group + */ + public function setEndpoints($val) + { + $this->_propDict["endpoints"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return Group + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the members + * Members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + * + * @param DirectoryObject[] $val The members + * + * @return Group + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the membersWithLicenseErrors + * A list of group members with license errors from this group-based license assignment. Read-only. + * + * @return array|null The membersWithLicenseErrors + */ + public function getMembersWithLicenseErrors() + { + if (array_key_exists("membersWithLicenseErrors", $this->_propDict)) { + return $this->_propDict["membersWithLicenseErrors"]; + } else { + return null; + } + } + + /** + * Sets the membersWithLicenseErrors + * A list of group members with license errors from this group-based license assignment. Read-only. + * + * @param DirectoryObject[] $val The membersWithLicenseErrors + * + * @return Group + */ + public function setMembersWithLicenseErrors($val) + { + $this->_propDict["membersWithLicenseErrors"] = $val; + return $this; + } + + + /** + * Gets the owners + * The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + * + * @param DirectoryObject[] $val The owners + * + * @return Group + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the permissionGrants + * The permissions that have been granted for a group to a specific application. Supports $expand. + * + * @return array|null The permissionGrants + */ + public function getPermissionGrants() + { + if (array_key_exists("permissionGrants", $this->_propDict)) { + return $this->_propDict["permissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrants + * The permissions that have been granted for a group to a specific application. Supports $expand. + * + * @param ResourceSpecificPermissionGrant[] $val The permissionGrants + * + * @return Group + */ + public function setPermissionGrants($val) + { + $this->_propDict["permissionGrants"] = $val; + return $this; + } + + + /** + * Gets the settings + * Settings that can govern this group's behavior, like whether members can invite guest users to the group. Nullable. + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * Settings that can govern this group's behavior, like whether members can invite guest users to the group. Nullable. + * + * @param DirectorySetting[] $val The settings + * + * @return Group + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return Group + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveMembers + * + * @return array|null The transitiveMembers + */ + public function getTransitiveMembers() + { + if (array_key_exists("transitiveMembers", $this->_propDict)) { + return $this->_propDict["transitiveMembers"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMembers + * + * @param DirectoryObject[] $val The transitiveMembers + * + * @return Group + */ + public function setTransitiveMembers($val) + { + $this->_propDict["transitiveMembers"] = $val; + return $this; + } + + + /** + * Gets the acceptedSenders + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * + * @return array|null The acceptedSenders + */ + public function getAcceptedSenders() + { + if (array_key_exists("acceptedSenders", $this->_propDict)) { + return $this->_propDict["acceptedSenders"]; + } else { + return null; + } + } + + /** + * Sets the acceptedSenders + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * + * @param DirectoryObject[] $val The acceptedSenders + * + * @return Group + */ + public function setAcceptedSenders($val) + { + $this->_propDict["acceptedSenders"] = $val; + return $this; + } + + /** + * Gets the calendar + * The group's calendar. Read-only. + * + * @return Calendar|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\Calendar") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * The group's calendar. Read-only. + * + * @param Calendar $val The calendar + * + * @return Group + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The calendar view for the calendar. Read-only. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The calendar view for the calendar. Read-only. + * + * @param Event[] $val The calendarView + * + * @return Group + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the conversations + * The group's conversations. + * + * @return array|null The conversations + */ + public function getConversations() + { + if (array_key_exists("conversations", $this->_propDict)) { + return $this->_propDict["conversations"]; + } else { + return null; + } + } + + /** + * Sets the conversations + * The group's conversations. + * + * @param Conversation[] $val The conversations + * + * @return Group + */ + public function setConversations($val) + { + $this->_propDict["conversations"] = $val; + return $this; + } + + + /** + * Gets the events + * The group's events. + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * The group's events. + * + * @param Event[] $val The events + * + * @return Group + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + + /** + * Gets the rejectedSenders + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * + * @return array|null The rejectedSenders + */ + public function getRejectedSenders() + { + if (array_key_exists("rejectedSenders", $this->_propDict)) { + return $this->_propDict["rejectedSenders"]; + } else { + return null; + } + } + + /** + * Sets the rejectedSenders + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * + * @param DirectoryObject[] $val The rejectedSenders + * + * @return Group + */ + public function setRejectedSenders($val) + { + $this->_propDict["rejectedSenders"] = $val; + return $this; + } + + + /** + * Gets the threads + * The group's conversation threads. Nullable. + * + * @return array|null The threads + */ + public function getThreads() + { + if (array_key_exists("threads", $this->_propDict)) { + return $this->_propDict["threads"]; + } else { + return null; + } + } + + /** + * Sets the threads + * The group's conversation threads. Nullable. + * + * @param ConversationThread[] $val The threads + * + * @return Group + */ + public function setThreads($val) + { + $this->_propDict["threads"] = $val; + return $this; + } + + /** + * Gets the drive + * The group's default drive. Read-only. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * The group's default drive. Read-only. + * + * @param Drive $val The drive + * + * @return Group + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the drives + * The group's drives. Read-only. + * + * @return array|null The drives + */ + public function getDrives() + { + if (array_key_exists("drives", $this->_propDict)) { + return $this->_propDict["drives"]; + } else { + return null; + } + } + + /** + * Sets the drives + * The group's drives. Read-only. + * + * @param Drive[] $val The drives + * + * @return Group + */ + public function setDrives($val) + { + $this->_propDict["drives"] = $val; + return $this; + } + + + /** + * Gets the sites + * The list of SharePoint sites in this group. Access the default site with /sites/root. + * + * @return array|null The sites + */ + public function getSites() + { + if (array_key_exists("sites", $this->_propDict)) { + return $this->_propDict["sites"]; + } else { + return null; + } + } + + /** + * Sets the sites + * The list of SharePoint sites in this group. Access the default site with /sites/root. + * + * @param Site[] $val The sites + * + * @return Group + */ + public function setSites($val) + { + $this->_propDict["sites"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the group. Read-only. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the group. Read-only. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Group + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the groupLifecyclePolicies + * The collection of lifecycle policies for this group. Read-only. Nullable. + * + * @return array|null The groupLifecyclePolicies + */ + public function getGroupLifecyclePolicies() + { + if (array_key_exists("groupLifecyclePolicies", $this->_propDict)) { + return $this->_propDict["groupLifecyclePolicies"]; + } else { + return null; + } + } + + /** + * Sets the groupLifecyclePolicies + * The collection of lifecycle policies for this group. Read-only. Nullable. + * + * @param GroupLifecyclePolicy[] $val The groupLifecyclePolicies + * + * @return Group + */ + public function setGroupLifecyclePolicies($val) + { + $this->_propDict["groupLifecyclePolicies"] = $val; + return $this; + } + + /** + * Gets the planner + * Selective Planner services available to the group. Read-only. Nullable. + * + * @return PlannerGroup|null The planner + */ + public function getPlanner() + { + if (array_key_exists("planner", $this->_propDict)) { + if (is_a($this->_propDict["planner"], "\Beta\Microsoft\Graph\Model\PlannerGroup") || is_null($this->_propDict["planner"])) { + return $this->_propDict["planner"]; + } else { + $this->_propDict["planner"] = new PlannerGroup($this->_propDict["planner"]); + return $this->_propDict["planner"]; + } + } + return null; + } + + /** + * Sets the planner + * Selective Planner services available to the group. Read-only. Nullable. + * + * @param PlannerGroup $val The planner + * + * @return Group + */ + public function setPlanner($val) + { + $this->_propDict["planner"] = $val; + return $this; + } + + /** + * Gets the onenote + * Read-only. + * + * @return Onenote|null The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "\Beta\Microsoft\Graph\Model\Onenote") || is_null($this->_propDict["onenote"])) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Read-only. + * + * @param Onenote $val The onenote + * + * @return Group + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + + /** + * Gets the photo + * The group's profile photo. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * The group's profile photo. + * + * @param ProfilePhoto $val The photo + * + * @return Group + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + + /** + * Gets the photos + * The profile photos owned by the group. Read-only. Nullable. + * + * @return array|null The photos + */ + public function getPhotos() + { + if (array_key_exists("photos", $this->_propDict)) { + return $this->_propDict["photos"]; + } else { + return null; + } + } + + /** + * Sets the photos + * The profile photos owned by the group. Read-only. Nullable. + * + * @param ProfilePhoto[] $val The photos + * + * @return Group + */ + public function setPhotos($val) + { + $this->_propDict["photos"] = $val; + return $this; + } + + /** + * Gets the team + * The team associated with this group. + * + * @return Team|null The team + */ + public function getTeam() + { + if (array_key_exists("team", $this->_propDict)) { + if (is_a($this->_propDict["team"], "\Beta\Microsoft\Graph\Model\Team") || is_null($this->_propDict["team"])) { + return $this->_propDict["team"]; + } else { + $this->_propDict["team"] = new Team($this->_propDict["team"]); + return $this->_propDict["team"]; + } + } + return null; + } + + /** + * Sets the team + * The team associated with this group. + * + * @param Team $val The team + * + * @return Group + */ + public function setTeam($val) + { + $this->_propDict["team"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupAccessType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupAccessType.php new file mode 100644 index 0000000..aada804 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupAccessType.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.groupAssignmentTarget"); + } + + /** + * Gets the groupId + * The group Id that is the target of the assignment. + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The group Id that is the target of the assignment. + * + * @param string $val The value of the groupId + * + * @return GroupAssignmentTarget + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupLifecyclePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupLifecyclePolicy.php new file mode 100644 index 0000000..5187853 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupLifecyclePolicy.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["alternateNotificationEmails"]; + } else { + return null; + } + } + + /** + * Sets the alternateNotificationEmails + * List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. + * + * @param string $val The alternateNotificationEmails + * + * @return GroupLifecyclePolicy + */ + public function setAlternateNotificationEmails($val) + { + $this->_propDict["alternateNotificationEmails"] = $val; + return $this; + } + + /** + * Gets the groupLifetimeInDays + * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. + * + * @return int|null The groupLifetimeInDays + */ + public function getGroupLifetimeInDays() + { + if (array_key_exists("groupLifetimeInDays", $this->_propDict)) { + return $this->_propDict["groupLifetimeInDays"]; + } else { + return null; + } + } + + /** + * Sets the groupLifetimeInDays + * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. + * + * @param int $val The groupLifetimeInDays + * + * @return GroupLifecyclePolicy + */ + public function setGroupLifetimeInDays($val) + { + $this->_propDict["groupLifetimeInDays"] = intval($val); + return $this; + } + + /** + * Gets the managedGroupTypes + * The group type for which the expiration policy applies. Possible values are All, Selected or None. + * + * @return string|null The managedGroupTypes + */ + public function getManagedGroupTypes() + { + if (array_key_exists("managedGroupTypes", $this->_propDict)) { + return $this->_propDict["managedGroupTypes"]; + } else { + return null; + } + } + + /** + * Sets the managedGroupTypes + * The group type for which the expiration policy applies. Possible values are All, Selected or None. + * + * @param string $val The managedGroupTypes + * + * @return GroupLifecyclePolicy + */ + public function setManagedGroupTypes($val) + { + $this->_propDict["managedGroupTypes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembers.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembers.php new file mode 100644 index 0000000..c8c20ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembers.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The name of the group in Azure AD. Read only. + * + * @param string $val The value of the description + * + * @return GroupMembers + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the id + * The ID of the group in Azure AD. + * + * @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 + * The ID of the group in Azure AD. + * + * @param string $val The value of the id + * + * @return GroupMembers + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembershipGovernanceCriteria.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembershipGovernanceCriteria.php new file mode 100644 index 0000000..ec65a85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembershipGovernanceCriteria.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * + * @param string $val The value of the groupId + * + * @return GroupMembershipGovernanceCriteria + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyCategory.php new file mode 100644 index 0000000..bcf65e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyCategory.php @@ -0,0 +1,244 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The string id of the category's display name + * + * @param string $val The displayName + * + * @return GroupPolicyCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isRoot + * Defines if the category is a root category + * + * @return bool|null The isRoot + */ + public function getIsRoot() + { + if (array_key_exists("isRoot", $this->_propDict)) { + return $this->_propDict["isRoot"]; + } else { + return null; + } + } + + /** + * Sets the isRoot + * Defines if the category is a root category + * + * @param bool $val The isRoot + * + * @return GroupPolicyCategory + */ + public function setIsRoot($val) + { + $this->_propDict["isRoot"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyCategory + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the children + * The children categories + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * The children categories + * + * @param GroupPolicyCategory[] $val The children + * + * @return GroupPolicyCategory + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the definitionFile + * The id of the definition file the category came from + * + * @return GroupPolicyDefinitionFile|null The definitionFile + */ + public function getDefinitionFile() + { + if (array_key_exists("definitionFile", $this->_propDict)) { + if (is_a($this->_propDict["definitionFile"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionFile") || is_null($this->_propDict["definitionFile"])) { + return $this->_propDict["definitionFile"]; + } else { + $this->_propDict["definitionFile"] = new GroupPolicyDefinitionFile($this->_propDict["definitionFile"]); + return $this->_propDict["definitionFile"]; + } + } + return null; + } + + /** + * Sets the definitionFile + * The id of the definition file the category came from + * + * @param GroupPolicyDefinitionFile $val The definitionFile + * + * @return GroupPolicyCategory + */ + public function setDefinitionFile($val) + { + $this->_propDict["definitionFile"] = $val; + return $this; + } + + + /** + * Gets the definitions + * The immediate GroupPolicyDefinition children of the category + * + * @return array|null The definitions + */ + public function getDefinitions() + { + if (array_key_exists("definitions", $this->_propDict)) { + return $this->_propDict["definitions"]; + } else { + return null; + } + } + + /** + * Sets the definitions + * The immediate GroupPolicyDefinition children of the category + * + * @param GroupPolicyDefinition[] $val The definitions + * + * @return GroupPolicyCategory + */ + public function setDefinitions($val) + { + $this->_propDict["definitions"] = $val; + return $this; + } + + /** + * Gets the parent + * The parent category + * + * @return GroupPolicyCategory|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\GroupPolicyCategory") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new GroupPolicyCategory($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * The parent category + * + * @param GroupPolicyCategory $val The parent + * + * @return GroupPolicyCategory + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfiguration.php new file mode 100644 index 0000000..6111c11 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfiguration.php @@ -0,0 +1,240 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return GroupPolicyConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * User provided description for the resource object. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * User provided description for the resource object. + * + * @param string $val The description + * + * @return GroupPolicyConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * User provided name for the resource object. + * + * @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 + * User provided name for the resource object. + * + * @param string $val The displayName + * + * @return GroupPolicyConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * The list of scope tags for the configuration. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * The list of scope tags for the configuration. + * + * @param string $val The roleScopeTagIds + * + * @return GroupPolicyConfiguration + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the configuration. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the configuration. + * + * @param GroupPolicyConfigurationAssignment[] $val The assignments + * + * @return GroupPolicyConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the definitionValues + * The list of enabled or disabled group policy definition values for the configuration. + * + * @return array|null The definitionValues + */ + public function getDefinitionValues() + { + if (array_key_exists("definitionValues", $this->_propDict)) { + return $this->_propDict["definitionValues"]; + } else { + return null; + } + } + + /** + * Sets the definitionValues + * The list of enabled or disabled group policy definition values for the configuration. + * + * @param GroupPolicyDefinitionValue[] $val The definitionValues + * + * @return GroupPolicyConfiguration + */ + public function setDefinitionValues($val) + { + $this->_propDict["definitionValues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationAssignment.php new file mode 100644 index 0000000..07ffd4e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationAssignment.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyConfigurationAssignment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the target + * The type of groups targeted the group policy configuration. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The type of groups targeted the group policy configuration. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return GroupPolicyConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationType.php new file mode 100644 index 0000000..6430474 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["categoryPath"]; + } else { + return null; + } + } + + /** + * Sets the categoryPath + * The localized full category path for the policy. + * + * @param string $val The categoryPath + * + * @return GroupPolicyDefinition + */ + public function setCategoryPath($val) + { + $this->_propDict["categoryPath"] = $val; + return $this; + } + + /** + * Gets the classType + * Identifies the type of groups the policy can be applied to. Possible values are: user, machine. + * + * @return GroupPolicyDefinitionClassType|null The classType + */ + public function getClassType() + { + if (array_key_exists("classType", $this->_propDict)) { + if (is_a($this->_propDict["classType"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionClassType") || is_null($this->_propDict["classType"])) { + return $this->_propDict["classType"]; + } else { + $this->_propDict["classType"] = new GroupPolicyDefinitionClassType($this->_propDict["classType"]); + return $this->_propDict["classType"]; + } + } + return null; + } + + /** + * Sets the classType + * Identifies the type of groups the policy can be applied to. Possible values are: user, machine. + * + * @param GroupPolicyDefinitionClassType $val The classType + * + * @return GroupPolicyDefinition + */ + public function setClassType($val) + { + $this->_propDict["classType"] = $val; + return $this; + } + + /** + * Gets the displayName + * The localized policy name. + * + * @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 + * The localized policy name. + * + * @param string $val The displayName + * + * @return GroupPolicyDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the explainText + * The localized explanation or help text associated with the policy. The default value is empty. + * + * @return string|null The explainText + */ + public function getExplainText() + { + if (array_key_exists("explainText", $this->_propDict)) { + return $this->_propDict["explainText"]; + } else { + return null; + } + } + + /** + * Sets the explainText + * The localized explanation or help text associated with the policy. The default value is empty. + * + * @param string $val The explainText + * + * @return GroupPolicyDefinition + */ + public function setExplainText($val) + { + $this->_propDict["explainText"] = $val; + return $this; + } + + /** + * Gets the groupPolicyCategoryId + * The category id of the parent category + * + * @return string|null The groupPolicyCategoryId + */ + public function getGroupPolicyCategoryId() + { + if (array_key_exists("groupPolicyCategoryId", $this->_propDict)) { + return $this->_propDict["groupPolicyCategoryId"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyCategoryId + * The category id of the parent category + * + * @param string $val The groupPolicyCategoryId + * + * @return GroupPolicyDefinition + */ + public function setGroupPolicyCategoryId($val) + { + $this->_propDict["groupPolicyCategoryId"] = $val; + return $this; + } + + /** + * Gets the hasRelatedDefinitions + * Signifies whether or not there are related definitions to this definition + * + * @return bool|null The hasRelatedDefinitions + */ + public function getHasRelatedDefinitions() + { + if (array_key_exists("hasRelatedDefinitions", $this->_propDict)) { + return $this->_propDict["hasRelatedDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the hasRelatedDefinitions + * Signifies whether or not there are related definitions to this definition + * + * @param bool $val The hasRelatedDefinitions + * + * @return GroupPolicyDefinition + */ + public function setHasRelatedDefinitions($val) + { + $this->_propDict["hasRelatedDefinitions"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyDefinition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the minDeviceCspVersion + * Minimum required CSP version for device configuration in this definition + * + * @return string|null The minDeviceCspVersion + */ + public function getMinDeviceCspVersion() + { + if (array_key_exists("minDeviceCspVersion", $this->_propDict)) { + return $this->_propDict["minDeviceCspVersion"]; + } else { + return null; + } + } + + /** + * Sets the minDeviceCspVersion + * Minimum required CSP version for device configuration in this definition + * + * @param string $val The minDeviceCspVersion + * + * @return GroupPolicyDefinition + */ + public function setMinDeviceCspVersion($val) + { + $this->_propDict["minDeviceCspVersion"] = $val; + return $this; + } + + /** + * Gets the minUserCspVersion + * Minimum required CSP version for user configuration in this definition + * + * @return string|null The minUserCspVersion + */ + public function getMinUserCspVersion() + { + if (array_key_exists("minUserCspVersion", $this->_propDict)) { + return $this->_propDict["minUserCspVersion"]; + } else { + return null; + } + } + + /** + * Sets the minUserCspVersion + * Minimum required CSP version for user configuration in this definition + * + * @param string $val The minUserCspVersion + * + * @return GroupPolicyDefinition + */ + public function setMinUserCspVersion($val) + { + $this->_propDict["minUserCspVersion"] = $val; + return $this; + } + + /** + * Gets the policyType + * Specifies the type of group policy. Possible values are: admxBacked, admxIngested. + * + * @return GroupPolicyType|null The policyType + */ + public function getPolicyType() + { + if (array_key_exists("policyType", $this->_propDict)) { + if (is_a($this->_propDict["policyType"], "\Beta\Microsoft\Graph\Model\GroupPolicyType") || is_null($this->_propDict["policyType"])) { + return $this->_propDict["policyType"]; + } else { + $this->_propDict["policyType"] = new GroupPolicyType($this->_propDict["policyType"]); + return $this->_propDict["policyType"]; + } + } + return null; + } + + /** + * Sets the policyType + * Specifies the type of group policy. Possible values are: admxBacked, admxIngested. + * + * @param GroupPolicyType $val The policyType + * + * @return GroupPolicyDefinition + */ + public function setPolicyType($val) + { + $this->_propDict["policyType"] = $val; + return $this; + } + + /** + * Gets the supportedOn + * Localized string used to specify what operating system or application version is affected by the policy. + * + * @return string|null The supportedOn + */ + public function getSupportedOn() + { + if (array_key_exists("supportedOn", $this->_propDict)) { + return $this->_propDict["supportedOn"]; + } else { + return null; + } + } + + /** + * Sets the supportedOn + * Localized string used to specify what operating system or application version is affected by the policy. + * + * @param string $val The supportedOn + * + * @return GroupPolicyDefinition + */ + public function setSupportedOn($val) + { + $this->_propDict["supportedOn"] = $val; + return $this; + } + + /** + * Gets the version + * Setting definition version + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Setting definition version + * + * @param string $val The version + * + * @return GroupPolicyDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + /** + * Gets the category + * The group policy category associated with the definition. + * + * @return GroupPolicyCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\GroupPolicyCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new GroupPolicyCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The group policy category associated with the definition. + * + * @param GroupPolicyCategory $val The category + * + * @return GroupPolicyDefinition + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the definitionFile + * The group policy file associated with the definition. + * + * @return GroupPolicyDefinitionFile|null The definitionFile + */ + public function getDefinitionFile() + { + if (array_key_exists("definitionFile", $this->_propDict)) { + if (is_a($this->_propDict["definitionFile"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionFile") || is_null($this->_propDict["definitionFile"])) { + return $this->_propDict["definitionFile"]; + } else { + $this->_propDict["definitionFile"] = new GroupPolicyDefinitionFile($this->_propDict["definitionFile"]); + return $this->_propDict["definitionFile"]; + } + } + return null; + } + + /** + * Sets the definitionFile + * The group policy file associated with the definition. + * + * @param GroupPolicyDefinitionFile $val The definitionFile + * + * @return GroupPolicyDefinition + */ + public function setDefinitionFile($val) + { + $this->_propDict["definitionFile"] = $val; + return $this; + } + + /** + * Gets the nextVersionDefinition + * Definition of the next version of this definition + * + * @return GroupPolicyDefinition|null The nextVersionDefinition + */ + public function getNextVersionDefinition() + { + if (array_key_exists("nextVersionDefinition", $this->_propDict)) { + if (is_a($this->_propDict["nextVersionDefinition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition") || is_null($this->_propDict["nextVersionDefinition"])) { + return $this->_propDict["nextVersionDefinition"]; + } else { + $this->_propDict["nextVersionDefinition"] = new GroupPolicyDefinition($this->_propDict["nextVersionDefinition"]); + return $this->_propDict["nextVersionDefinition"]; + } + } + return null; + } + + /** + * Sets the nextVersionDefinition + * Definition of the next version of this definition + * + * @param GroupPolicyDefinition $val The nextVersionDefinition + * + * @return GroupPolicyDefinition + */ + public function setNextVersionDefinition($val) + { + $this->_propDict["nextVersionDefinition"] = $val; + return $this; + } + + + /** + * Gets the presentations + * The group policy presentations associated with the definition. + * + * @return array|null The presentations + */ + public function getPresentations() + { + if (array_key_exists("presentations", $this->_propDict)) { + return $this->_propDict["presentations"]; + } else { + return null; + } + } + + /** + * Sets the presentations + * The group policy presentations associated with the definition. + * + * @param GroupPolicyPresentation[] $val The presentations + * + * @return GroupPolicyDefinition + */ + public function setPresentations($val) + { + $this->_propDict["presentations"] = $val; + return $this; + } + + /** + * Gets the previousVersionDefinition + * Definition of the previous version of this definition + * + * @return GroupPolicyDefinition|null The previousVersionDefinition + */ + public function getPreviousVersionDefinition() + { + if (array_key_exists("previousVersionDefinition", $this->_propDict)) { + if (is_a($this->_propDict["previousVersionDefinition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition") || is_null($this->_propDict["previousVersionDefinition"])) { + return $this->_propDict["previousVersionDefinition"]; + } else { + $this->_propDict["previousVersionDefinition"] = new GroupPolicyDefinition($this->_propDict["previousVersionDefinition"]); + return $this->_propDict["previousVersionDefinition"]; + } + } + return null; + } + + /** + * Sets the previousVersionDefinition + * Definition of the previous version of this definition + * + * @param GroupPolicyDefinition $val The previousVersionDefinition + * + * @return GroupPolicyDefinition + */ + public function setPreviousVersionDefinition($val) + { + $this->_propDict["previousVersionDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionClassType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionClassType.php new file mode 100644 index 0000000..48b2f7c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionClassType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The localized description of the policy settings in the ADMX file. The default value is empty. + * + * @param string $val The description + * + * @return GroupPolicyDefinitionFile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The localized friendly name of the ADMX file. + * + * @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 + * The localized friendly name of the ADMX file. + * + * @param string $val The displayName + * + * @return GroupPolicyDefinitionFile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fileName + * The file name of the ADMX file without the path. For example: edge.admx + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The file name of the ADMX file without the path. For example: edge.admx + * + * @param string $val The fileName + * + * @return GroupPolicyDefinitionFile + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the languageCodes + * The supported language codes for the ADMX file. + * + * @return string|null The languageCodes + */ + public function getLanguageCodes() + { + if (array_key_exists("languageCodes", $this->_propDict)) { + return $this->_propDict["languageCodes"]; + } else { + return null; + } + } + + /** + * Sets the languageCodes + * The supported language codes for the ADMX file. + * + * @param string $val The languageCodes + * + * @return GroupPolicyDefinitionFile + */ + public function setLanguageCodes($val) + { + $this->_propDict["languageCodes"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyDefinitionFile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the policyType + * Specifies the type of group policy. Possible values are: admxBacked, admxIngested. + * + * @return GroupPolicyType|null The policyType + */ + public function getPolicyType() + { + if (array_key_exists("policyType", $this->_propDict)) { + if (is_a($this->_propDict["policyType"], "\Beta\Microsoft\Graph\Model\GroupPolicyType") || is_null($this->_propDict["policyType"])) { + return $this->_propDict["policyType"]; + } else { + $this->_propDict["policyType"] = new GroupPolicyType($this->_propDict["policyType"]); + return $this->_propDict["policyType"]; + } + } + return null; + } + + /** + * Sets the policyType + * Specifies the type of group policy. Possible values are: admxBacked, admxIngested. + * + * @param GroupPolicyType $val The policyType + * + * @return GroupPolicyDefinitionFile + */ + public function setPolicyType($val) + { + $this->_propDict["policyType"] = $val; + return $this; + } + + /** + * Gets the revision + * The revision version associated with the file. + * + * @return string|null The revision + */ + public function getRevision() + { + if (array_key_exists("revision", $this->_propDict)) { + return $this->_propDict["revision"]; + } else { + return null; + } + } + + /** + * Sets the revision + * The revision version associated with the file. + * + * @param string $val The revision + * + * @return GroupPolicyDefinitionFile + */ + public function setRevision($val) + { + $this->_propDict["revision"] = $val; + return $this; + } + + /** + * Gets the targetNamespace + * Specifies the URI used to identify the namespace within the ADMX file. + * + * @return string|null The targetNamespace + */ + public function getTargetNamespace() + { + if (array_key_exists("targetNamespace", $this->_propDict)) { + return $this->_propDict["targetNamespace"]; + } else { + return null; + } + } + + /** + * Sets the targetNamespace + * Specifies the URI used to identify the namespace within the ADMX file. + * + * @param string $val The targetNamespace + * + * @return GroupPolicyDefinitionFile + */ + public function setTargetNamespace($val) + { + $this->_propDict["targetNamespace"] = $val; + return $this; + } + + /** + * Gets the targetPrefix + * Specifies the logical name that refers to the namespace within the ADMX file. + * + * @return string|null The targetPrefix + */ + public function getTargetPrefix() + { + if (array_key_exists("targetPrefix", $this->_propDict)) { + return $this->_propDict["targetPrefix"]; + } else { + return null; + } + } + + /** + * Sets the targetPrefix + * Specifies the logical name that refers to the namespace within the ADMX file. + * + * @param string $val The targetPrefix + * + * @return GroupPolicyDefinitionFile + */ + public function setTargetPrefix($val) + { + $this->_propDict["targetPrefix"] = $val; + return $this; + } + + + /** + * Gets the definitions + * The group policy definitions associated with the file. + * + * @return array|null The definitions + */ + public function getDefinitions() + { + if (array_key_exists("definitions", $this->_propDict)) { + return $this->_propDict["definitions"]; + } else { + return null; + } + } + + /** + * Sets the definitions + * The group policy definitions associated with the file. + * + * @param GroupPolicyDefinition[] $val The definitions + * + * @return GroupPolicyDefinitionFile + */ + public function setDefinitions($val) + { + $this->_propDict["definitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionValue.php new file mode 100644 index 0000000..53c89d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionValue.php @@ -0,0 +1,218 @@ +_propDict)) { + if (is_a($this->_propDict["configurationType"], "\Beta\Microsoft\Graph\Model\GroupPolicyConfigurationType") || is_null($this->_propDict["configurationType"])) { + return $this->_propDict["configurationType"]; + } else { + $this->_propDict["configurationType"] = new GroupPolicyConfigurationType($this->_propDict["configurationType"]); + return $this->_propDict["configurationType"]; + } + } + return null; + } + + /** + * Sets the configurationType + * Specifies how the value should be configured. This can be either as a Policy or as a Preference. Possible values are: policy, preference. + * + * @param GroupPolicyConfigurationType $val The configurationType + * + * @return GroupPolicyDefinitionValue + */ + public function setConfigurationType($val) + { + $this->_propDict["configurationType"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the object was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return GroupPolicyDefinitionValue + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the enabled + * Enables or disables the associated group policy definition. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Enables or disables the associated group policy definition. + * + * @param bool $val The enabled + * + * @return GroupPolicyDefinitionValue + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyDefinitionValue + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the definition + * The associated group policy definition with the value. + * + * @return GroupPolicyDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new GroupPolicyDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * The associated group policy definition with the value. + * + * @param GroupPolicyDefinition $val The definition + * + * @return GroupPolicyDefinitionValue + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + + /** + * Gets the presentationValues + * The associated group policy presentation values with the definition value. + * + * @return array|null The presentationValues + */ + public function getPresentationValues() + { + if (array_key_exists("presentationValues", $this->_propDict)) { + return $this->_propDict["presentationValues"]; + } else { + return null; + } + } + + /** + * Sets the presentationValues + * The associated group policy presentation values with the definition value. + * + * @param GroupPolicyPresentationValue[] $val The presentationValues + * + * @return GroupPolicyDefinitionValue + */ + public function setPresentationValues($val) + { + $this->_propDict["presentationValues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyMigrationReadiness.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyMigrationReadiness.php new file mode 100644 index 0000000..0d3ecde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyMigrationReadiness.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time at which the GroupPolicyMigrationReport was created. + * + * @param \DateTime $val The createdDateTime + * + * @return GroupPolicyMigrationReport + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of Group Policy Object from the GPO Xml Content + * + * @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 + * The name of Group Policy Object from the GPO Xml Content + * + * @param string $val The displayName + * + * @return GroupPolicyMigrationReport + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the groupPolicyCreatedDateTime + * The date and time at which the GroupPolicyMigrationReport was created. + * + * @return \DateTime|null The groupPolicyCreatedDateTime + */ + public function getGroupPolicyCreatedDateTime() + { + if (array_key_exists("groupPolicyCreatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["groupPolicyCreatedDateTime"], "\DateTime") || is_null($this->_propDict["groupPolicyCreatedDateTime"])) { + return $this->_propDict["groupPolicyCreatedDateTime"]; + } else { + $this->_propDict["groupPolicyCreatedDateTime"] = new \DateTime($this->_propDict["groupPolicyCreatedDateTime"]); + return $this->_propDict["groupPolicyCreatedDateTime"]; + } + } + return null; + } + + /** + * Sets the groupPolicyCreatedDateTime + * The date and time at which the GroupPolicyMigrationReport was created. + * + * @param \DateTime $val The groupPolicyCreatedDateTime + * + * @return GroupPolicyMigrationReport + */ + public function setGroupPolicyCreatedDateTime($val) + { + $this->_propDict["groupPolicyCreatedDateTime"] = $val; + return $this; + } + + /** + * Gets the groupPolicyLastModifiedDateTime + * The date and time at which the GroupPolicyMigrationReport was last modified. + * + * @return \DateTime|null The groupPolicyLastModifiedDateTime + */ + public function getGroupPolicyLastModifiedDateTime() + { + if (array_key_exists("groupPolicyLastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["groupPolicyLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["groupPolicyLastModifiedDateTime"])) { + return $this->_propDict["groupPolicyLastModifiedDateTime"]; + } else { + $this->_propDict["groupPolicyLastModifiedDateTime"] = new \DateTime($this->_propDict["groupPolicyLastModifiedDateTime"]); + return $this->_propDict["groupPolicyLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the groupPolicyLastModifiedDateTime + * The date and time at which the GroupPolicyMigrationReport was last modified. + * + * @param \DateTime $val The groupPolicyLastModifiedDateTime + * + * @return GroupPolicyMigrationReport + */ + public function setGroupPolicyLastModifiedDateTime($val) + { + $this->_propDict["groupPolicyLastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the groupPolicyObjectId + * The Group Policy Object GUID from GPO Xml content + * + * @return string|null The groupPolicyObjectId + */ + public function getGroupPolicyObjectId() + { + if (array_key_exists("groupPolicyObjectId", $this->_propDict)) { + return $this->_propDict["groupPolicyObjectId"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyObjectId + * The Group Policy Object GUID from GPO Xml content + * + * @param string $val The groupPolicyObjectId + * + * @return GroupPolicyMigrationReport + */ + public function setGroupPolicyObjectId($val) + { + $this->_propDict["groupPolicyObjectId"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time at which the GroupPolicyMigrationReport was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time at which the GroupPolicyMigrationReport was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyMigrationReport + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the migrationReadiness + * The Intune coverage for the associated Group Policy Object file. Possible values are: none, partial, complete, error, notApplicable. + * + * @return GroupPolicyMigrationReadiness|null The migrationReadiness + */ + public function getMigrationReadiness() + { + if (array_key_exists("migrationReadiness", $this->_propDict)) { + if (is_a($this->_propDict["migrationReadiness"], "\Beta\Microsoft\Graph\Model\GroupPolicyMigrationReadiness") || is_null($this->_propDict["migrationReadiness"])) { + return $this->_propDict["migrationReadiness"]; + } else { + $this->_propDict["migrationReadiness"] = new GroupPolicyMigrationReadiness($this->_propDict["migrationReadiness"]); + return $this->_propDict["migrationReadiness"]; + } + } + return null; + } + + /** + * Sets the migrationReadiness + * The Intune coverage for the associated Group Policy Object file. Possible values are: none, partial, complete, error, notApplicable. + * + * @param GroupPolicyMigrationReadiness $val The migrationReadiness + * + * @return GroupPolicyMigrationReport + */ + public function setMigrationReadiness($val) + { + $this->_propDict["migrationReadiness"] = $val; + return $this; + } + + /** + * Gets the ouDistinguishedName + * The distinguished name of the OU. + * + * @return string|null The ouDistinguishedName + */ + public function getOuDistinguishedName() + { + if (array_key_exists("ouDistinguishedName", $this->_propDict)) { + return $this->_propDict["ouDistinguishedName"]; + } else { + return null; + } + } + + /** + * Sets the ouDistinguishedName + * The distinguished name of the OU. + * + * @param string $val The ouDistinguishedName + * + * @return GroupPolicyMigrationReport + */ + public function setOuDistinguishedName($val) + { + $this->_propDict["ouDistinguishedName"] = $val; + return $this; + } + + /** + * Gets the supportedSettingsCount + * The number of Group Policy Settings supported by Intune. + * + * @return int|null The supportedSettingsCount + */ + public function getSupportedSettingsCount() + { + if (array_key_exists("supportedSettingsCount", $this->_propDict)) { + return $this->_propDict["supportedSettingsCount"]; + } else { + return null; + } + } + + /** + * Sets the supportedSettingsCount + * The number of Group Policy Settings supported by Intune. + * + * @param int $val The supportedSettingsCount + * + * @return GroupPolicyMigrationReport + */ + public function setSupportedSettingsCount($val) + { + $this->_propDict["supportedSettingsCount"] = intval($val); + return $this; + } + + /** + * Gets the supportedSettingsPercent + * The Percentage of Group Policy Settings supported by Intune. + * + * @return int|null The supportedSettingsPercent + */ + public function getSupportedSettingsPercent() + { + if (array_key_exists("supportedSettingsPercent", $this->_propDict)) { + return $this->_propDict["supportedSettingsPercent"]; + } else { + return null; + } + } + + /** + * Sets the supportedSettingsPercent + * The Percentage of Group Policy Settings supported by Intune. + * + * @param int $val The supportedSettingsPercent + * + * @return GroupPolicyMigrationReport + */ + public function setSupportedSettingsPercent($val) + { + $this->_propDict["supportedSettingsPercent"] = intval($val); + return $this; + } + + /** + * Gets the targetedInActiveDirectory + * The Targeted in AD property from GPO Xml Content + * + * @return bool|null The targetedInActiveDirectory + */ + public function getTargetedInActiveDirectory() + { + if (array_key_exists("targetedInActiveDirectory", $this->_propDict)) { + return $this->_propDict["targetedInActiveDirectory"]; + } else { + return null; + } + } + + /** + * Sets the targetedInActiveDirectory + * The Targeted in AD property from GPO Xml Content + * + * @param bool $val The targetedInActiveDirectory + * + * @return GroupPolicyMigrationReport + */ + public function setTargetedInActiveDirectory($val) + { + $this->_propDict["targetedInActiveDirectory"] = boolval($val); + return $this; + } + + /** + * Gets the totalSettingsCount + * The total number of Group Policy Settings from GPO file. + * + * @return int|null The totalSettingsCount + */ + public function getTotalSettingsCount() + { + if (array_key_exists("totalSettingsCount", $this->_propDict)) { + return $this->_propDict["totalSettingsCount"]; + } else { + return null; + } + } + + /** + * Sets the totalSettingsCount + * The total number of Group Policy Settings from GPO file. + * + * @param int $val The totalSettingsCount + * + * @return GroupPolicyMigrationReport + */ + public function setTotalSettingsCount($val) + { + $this->_propDict["totalSettingsCount"] = intval($val); + return $this; + } + + + /** + * Gets the groupPolicySettingMappings + * A list of group policy settings to MDM/Intune mappings. + * + * @return array|null The groupPolicySettingMappings + */ + public function getGroupPolicySettingMappings() + { + if (array_key_exists("groupPolicySettingMappings", $this->_propDict)) { + return $this->_propDict["groupPolicySettingMappings"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicySettingMappings + * A list of group policy settings to MDM/Intune mappings. + * + * @param GroupPolicySettingMapping[] $val The groupPolicySettingMappings + * + * @return GroupPolicyMigrationReport + */ + public function setGroupPolicySettingMappings($val) + { + $this->_propDict["groupPolicySettingMappings"] = $val; + return $this; + } + + + /** + * Gets the unsupportedGroupPolicyExtensions + * A list of unsupported group policy extensions inside the Group Policy Object. + * + * @return array|null The unsupportedGroupPolicyExtensions + */ + public function getUnsupportedGroupPolicyExtensions() + { + if (array_key_exists("unsupportedGroupPolicyExtensions", $this->_propDict)) { + return $this->_propDict["unsupportedGroupPolicyExtensions"]; + } else { + return null; + } + } + + /** + * Sets the unsupportedGroupPolicyExtensions + * A list of unsupported group policy extensions inside the Group Policy Object. + * + * @param UnsupportedGroupPolicyExtension[] $val The unsupportedGroupPolicyExtensions + * + * @return GroupPolicyMigrationReport + */ + public function setUnsupportedGroupPolicyExtensions($val) + { + $this->_propDict["unsupportedGroupPolicyExtensions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyObjectFile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyObjectFile.php new file mode 100644 index 0000000..54afb07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyObjectFile.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The Group Policy Object file content. + * + * @param string $val The content + * + * @return GroupPolicyObjectFile + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time at which the GroupPolicy was first uploaded. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time at which the GroupPolicy was first uploaded. + * + * @param \DateTime $val The createdDateTime + * + * @return GroupPolicyObjectFile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the groupPolicyObjectId + * The Group Policy Object GUID from GPO Xml content + * + * @return string|null The groupPolicyObjectId + */ + public function getGroupPolicyObjectId() + { + if (array_key_exists("groupPolicyObjectId", $this->_propDict)) { + return $this->_propDict["groupPolicyObjectId"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyObjectId + * The Group Policy Object GUID from GPO Xml content + * + * @param string $val The groupPolicyObjectId + * + * @return GroupPolicyObjectFile + */ + public function setGroupPolicyObjectId($val) + { + $this->_propDict["groupPolicyObjectId"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time at which the GroupPolicyObjectFile was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time at which the GroupPolicyObjectFile was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyObjectFile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the ouDistinguishedName + * The distinguished name of the OU. + * + * @return string|null The ouDistinguishedName + */ + public function getOuDistinguishedName() + { + if (array_key_exists("ouDistinguishedName", $this->_propDict)) { + return $this->_propDict["ouDistinguishedName"]; + } else { + return null; + } + } + + /** + * Sets the ouDistinguishedName + * The distinguished name of the OU. + * + * @param string $val The ouDistinguishedName + * + * @return GroupPolicyObjectFile + */ + public function setOuDistinguishedName($val) + { + $this->_propDict["ouDistinguishedName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperation.php new file mode 100644 index 0000000..9e0fb35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperation.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyOperation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the operationStatus + * The group policy operation status. Possible values are: unknown, inProgress, success, failed. + * + * @return GroupPolicyOperationStatus|null The operationStatus + */ + public function getOperationStatus() + { + if (array_key_exists("operationStatus", $this->_propDict)) { + if (is_a($this->_propDict["operationStatus"], "\Beta\Microsoft\Graph\Model\GroupPolicyOperationStatus") || is_null($this->_propDict["operationStatus"])) { + return $this->_propDict["operationStatus"]; + } else { + $this->_propDict["operationStatus"] = new GroupPolicyOperationStatus($this->_propDict["operationStatus"]); + return $this->_propDict["operationStatus"]; + } + } + return null; + } + + /** + * Sets the operationStatus + * The group policy operation status. Possible values are: unknown, inProgress, success, failed. + * + * @param GroupPolicyOperationStatus $val The operationStatus + * + * @return GroupPolicyOperation + */ + public function setOperationStatus($val) + { + $this->_propDict["operationStatus"] = $val; + return $this; + } + + /** + * Gets the operationType + * The type of group policy operation. Possible values are: none, upload, uploadNewVersion, addLanguageFiles, removeLanguageFiles, updateLanguageFiles, remove. + * + * @return GroupPolicyOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\GroupPolicyOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new GroupPolicyOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The type of group policy operation. Possible values are: none, upload, uploadNewVersion, addLanguageFiles, removeLanguageFiles, updateLanguageFiles, remove. + * + * @param GroupPolicyOperationType $val The operationType + * + * @return GroupPolicyOperation + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the statusDetails + * The group policy operation status detail. + * + * @return string|null The statusDetails + */ + public function getStatusDetails() + { + if (array_key_exists("statusDetails", $this->_propDict)) { + return $this->_propDict["statusDetails"]; + } else { + return null; + } + } + + /** + * Sets the statusDetails + * The group policy operation status detail. + * + * @param string $val The statusDetails + * + * @return GroupPolicyOperation + */ + public function setStatusDetails($val) + { + $this->_propDict["statusDetails"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperationStatus.php new file mode 100644 index 0000000..07162aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperationStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * Localized text label for any presentation entity. The default value is empty. + * + * @param string $val The label + * + * @return GroupPolicyPresentation + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyPresentation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the definition + * The group policy definition associated with the presentation. + * + * @return GroupPolicyDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new GroupPolicyDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * The group policy definition associated with the presentation. + * + * @param GroupPolicyDefinition $val The definition + * + * @return GroupPolicyPresentation + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationCheckBox.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationCheckBox.php new file mode 100644 index 0000000..a4173a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationCheckBox.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["defaultChecked"]; + } else { + return null; + } + } + + /** + * Sets the defaultChecked + * Default value for the check box. The default value is false. + * + * @param bool $val The defaultChecked + * + * @return GroupPolicyPresentationCheckBox + */ + public function setDefaultChecked($val) + { + $this->_propDict["defaultChecked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationComboBox.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationComboBox.php new file mode 100644 index 0000000..ed20fe8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationComboBox.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * Localized default string displayed in the combo box. The default value is empty. + * + * @param string $val The defaultValue + * + * @return GroupPolicyPresentationComboBox + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + /** + * Gets the maxLength + * An unsigned integer that specifies the maximum number of text characters for the parameter. The default value is 1023. + * + * @return int|null The maxLength + */ + public function getMaxLength() + { + if (array_key_exists("maxLength", $this->_propDict)) { + return $this->_propDict["maxLength"]; + } else { + return null; + } + } + + /** + * Sets the maxLength + * An unsigned integer that specifies the maximum number of text characters for the parameter. The default value is 1023. + * + * @param int $val The maxLength + * + * @return GroupPolicyPresentationComboBox + */ + public function setMaxLength($val) + { + $this->_propDict["maxLength"] = intval($val); + return $this; + } + + /** + * Gets the required + * Specifies whether a value must be specified for the parameter. The default value is false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Specifies whether a value must be specified for the parameter. The default value is false. + * + * @param bool $val The required + * + * @return GroupPolicyPresentationComboBox + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + + /** + * Gets the suggestions + * Localized strings listed in the drop-down list of the combo box. The default value is empty. + * + * @return string|null The suggestions + */ + public function getSuggestions() + { + if (array_key_exists("suggestions", $this->_propDict)) { + return $this->_propDict["suggestions"]; + } else { + return null; + } + } + + /** + * Sets the suggestions + * Localized strings listed in the drop-down list of the combo box. The default value is empty. + * + * @param string $val The suggestions + * + * @return GroupPolicyPresentationComboBox + */ + public function setSuggestions($val) + { + $this->_propDict["suggestions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDecimalTextBox.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDecimalTextBox.php new file mode 100644 index 0000000..3d7a362 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDecimalTextBox.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * An unsigned integer that specifies the initial value for the decimal text box. The default value is 1. + * + * @param int $val The defaultValue + * + * @return GroupPolicyPresentationDecimalTextBox + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = intval($val); + return $this; + } + + /** + * Gets the maxValue + * An unsigned integer that specifies the maximum allowed value. The default value is 9999. + * + * @return int|null The maxValue + */ + public function getMaxValue() + { + if (array_key_exists("maxValue", $this->_propDict)) { + return $this->_propDict["maxValue"]; + } else { + return null; + } + } + + /** + * Sets the maxValue + * An unsigned integer that specifies the maximum allowed value. The default value is 9999. + * + * @param int $val The maxValue + * + * @return GroupPolicyPresentationDecimalTextBox + */ + public function setMaxValue($val) + { + $this->_propDict["maxValue"] = intval($val); + return $this; + } + + /** + * Gets the minValue + * An unsigned integer that specifies the minimum allowed value. The default value is 0. + * + * @return int|null The minValue + */ + public function getMinValue() + { + if (array_key_exists("minValue", $this->_propDict)) { + return $this->_propDict["minValue"]; + } else { + return null; + } + } + + /** + * Sets the minValue + * An unsigned integer that specifies the minimum allowed value. The default value is 0. + * + * @param int $val The minValue + * + * @return GroupPolicyPresentationDecimalTextBox + */ + public function setMinValue($val) + { + $this->_propDict["minValue"] = intval($val); + return $this; + } + + /** + * Gets the required + * Requirement to enter a value in the parameter box. The default value is false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Requirement to enter a value in the parameter box. The default value is false. + * + * @param bool $val The required + * + * @return GroupPolicyPresentationDecimalTextBox + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + + /** + * Gets the spin + * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. + * + * @return bool|null The spin + */ + public function getSpin() + { + if (array_key_exists("spin", $this->_propDict)) { + return $this->_propDict["spin"]; + } else { + return null; + } + } + + /** + * Sets the spin + * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. + * + * @param bool $val The spin + * + * @return GroupPolicyPresentationDecimalTextBox + */ + public function setSpin($val) + { + $this->_propDict["spin"] = boolval($val); + return $this; + } + + /** + * Gets the spinStep + * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. + * + * @return int|null The spinStep + */ + public function getSpinStep() + { + if (array_key_exists("spinStep", $this->_propDict)) { + return $this->_propDict["spinStep"]; + } else { + return null; + } + } + + /** + * Sets the spinStep + * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. + * + * @param int $val The spinStep + * + * @return GroupPolicyPresentationDecimalTextBox + */ + public function setSpinStep($val) + { + $this->_propDict["spinStep"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownList.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownList.php new file mode 100644 index 0000000..f82ceaa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownList.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["defaultItem"], "\Beta\Microsoft\Graph\Model\GroupPolicyPresentationDropdownListItem") || is_null($this->_propDict["defaultItem"])) { + return $this->_propDict["defaultItem"]; + } else { + $this->_propDict["defaultItem"] = new GroupPolicyPresentationDropdownListItem($this->_propDict["defaultItem"]); + return $this->_propDict["defaultItem"]; + } + } + return null; + } + + /** + * Sets the defaultItem + * Localized string value identifying the default choice of the list of items. + * + * @param GroupPolicyPresentationDropdownListItem $val The defaultItem + * + * @return GroupPolicyPresentationDropdownList + */ + public function setDefaultItem($val) + { + $this->_propDict["defaultItem"] = $val; + return $this; + } + + + /** + * Gets the items + * Represents a set of localized display names and their associated values. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Represents a set of localized display names and their associated values. + * + * @param GroupPolicyPresentationDropdownListItem[] $val The items + * + * @return GroupPolicyPresentationDropdownList + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + /** + * Gets the required + * Requirement to enter a value in the parameter box. The default value is false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Requirement to enter a value in the parameter box. The default value is false. + * + * @param bool $val The required + * + * @return GroupPolicyPresentationDropdownList + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownListItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownListItem.php new file mode 100644 index 0000000..a5bab5a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownListItem.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Localized display name for the drop-down list item. + * + * @param string $val The value of the displayName + * + * @return GroupPolicyPresentationDropdownListItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the value + * Associated value for the drop-down list item + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Associated value for the drop-down list item + * + * @param string $val The value of the value + * + * @return GroupPolicyPresentationDropdownListItem + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationListBox.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationListBox.php new file mode 100644 index 0000000..6726c03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationListBox.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["explicitValue"]; + } else { + return null; + } + } + + /** + * Sets the explicitValue + * If this option is specified true the user must specify the registry subkey value and the registry subkey name. The list box shows two columns, one for the name and one for the data. The default value is false. + * + * @param bool $val The explicitValue + * + * @return GroupPolicyPresentationListBox + */ + public function setExplicitValue($val) + { + $this->_propDict["explicitValue"] = boolval($val); + return $this; + } + + /** + * Gets the valuePrefix + * Not yet documented + * + * @return string|null The valuePrefix + */ + public function getValuePrefix() + { + if (array_key_exists("valuePrefix", $this->_propDict)) { + return $this->_propDict["valuePrefix"]; + } else { + return null; + } + } + + /** + * Sets the valuePrefix + * Not yet documented + * + * @param string $val The valuePrefix + * + * @return GroupPolicyPresentationListBox + */ + public function setValuePrefix($val) + { + $this->_propDict["valuePrefix"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationLongDecimalTextBox.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationLongDecimalTextBox.php new file mode 100644 index 0000000..dc8af65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationLongDecimalTextBox.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * An unsigned integer that specifies the initial value for the decimal text box. The default value is 1. + * + * @param int $val The defaultValue + * + * @return GroupPolicyPresentationLongDecimalTextBox + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = intval($val); + return $this; + } + + /** + * Gets the maxValue + * An unsigned long that specifies the maximum allowed value. The default value is 9999. + * + * @return int|null The maxValue + */ + public function getMaxValue() + { + if (array_key_exists("maxValue", $this->_propDict)) { + return $this->_propDict["maxValue"]; + } else { + return null; + } + } + + /** + * Sets the maxValue + * An unsigned long that specifies the maximum allowed value. The default value is 9999. + * + * @param int $val The maxValue + * + * @return GroupPolicyPresentationLongDecimalTextBox + */ + public function setMaxValue($val) + { + $this->_propDict["maxValue"] = intval($val); + return $this; + } + + /** + * Gets the minValue + * An unsigned long that specifies the minimum allowed value. The default value is 0. + * + * @return int|null The minValue + */ + public function getMinValue() + { + if (array_key_exists("minValue", $this->_propDict)) { + return $this->_propDict["minValue"]; + } else { + return null; + } + } + + /** + * Sets the minValue + * An unsigned long that specifies the minimum allowed value. The default value is 0. + * + * @param int $val The minValue + * + * @return GroupPolicyPresentationLongDecimalTextBox + */ + public function setMinValue($val) + { + $this->_propDict["minValue"] = intval($val); + return $this; + } + + /** + * Gets the required + * Requirement to enter a value in the parameter box. The default value is false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Requirement to enter a value in the parameter box. The default value is false. + * + * @param bool $val The required + * + * @return GroupPolicyPresentationLongDecimalTextBox + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + + /** + * Gets the spin + * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. + * + * @return bool|null The spin + */ + public function getSpin() + { + if (array_key_exists("spin", $this->_propDict)) { + return $this->_propDict["spin"]; + } else { + return null; + } + } + + /** + * Sets the spin + * If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true. + * + * @param bool $val The spin + * + * @return GroupPolicyPresentationLongDecimalTextBox + */ + public function setSpin($val) + { + $this->_propDict["spin"] = boolval($val); + return $this; + } + + /** + * Gets the spinStep + * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. + * + * @return int|null The spinStep + */ + public function getSpinStep() + { + if (array_key_exists("spinStep", $this->_propDict)) { + return $this->_propDict["spinStep"]; + } else { + return null; + } + } + + /** + * Sets the spinStep + * An unsigned integer that specifies the increment of change for the spin control. The default value is 1. + * + * @param int $val The spinStep + * + * @return GroupPolicyPresentationLongDecimalTextBox + */ + public function setSpinStep($val) + { + $this->_propDict["spinStep"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationMultiTextBox.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationMultiTextBox.php new file mode 100644 index 0000000..e5ad34a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationMultiTextBox.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["maxLength"]; + } else { + return null; + } + } + + /** + * Sets the maxLength + * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. + * + * @param int $val The maxLength + * + * @return GroupPolicyPresentationMultiTextBox + */ + public function setMaxLength($val) + { + $this->_propDict["maxLength"] = intval($val); + return $this; + } + + /** + * Gets the maxStrings + * An unsigned integer that specifies the maximum number of strings. Default value is 0. + * + * @return int|null The maxStrings + */ + public function getMaxStrings() + { + if (array_key_exists("maxStrings", $this->_propDict)) { + return $this->_propDict["maxStrings"]; + } else { + return null; + } + } + + /** + * Sets the maxStrings + * An unsigned integer that specifies the maximum number of strings. Default value is 0. + * + * @param int $val The maxStrings + * + * @return GroupPolicyPresentationMultiTextBox + */ + public function setMaxStrings($val) + { + $this->_propDict["maxStrings"] = intval($val); + return $this; + } + + /** + * Gets the required + * Requirement to enter a value in the text box. Default value is false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Requirement to enter a value in the text box. Default value is false. + * + * @param bool $val The required + * + * @return GroupPolicyPresentationMultiTextBox + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationText.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationText.php new file mode 100644 index 0000000..d7a3ed5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationText.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * Localized default string displayed in the text box. The default value is empty. + * + * @param string $val The defaultValue + * + * @return GroupPolicyPresentationTextBox + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + /** + * Gets the maxLength + * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. + * + * @return int|null The maxLength + */ + public function getMaxLength() + { + if (array_key_exists("maxLength", $this->_propDict)) { + return $this->_propDict["maxLength"]; + } else { + return null; + } + } + + /** + * Sets the maxLength + * An unsigned integer that specifies the maximum number of text characters. Default value is 1023. + * + * @param int $val The maxLength + * + * @return GroupPolicyPresentationTextBox + */ + public function setMaxLength($val) + { + $this->_propDict["maxLength"] = intval($val); + return $this; + } + + /** + * Gets the required + * Requirement to enter a value in the text box. Default value is false. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Requirement to enter a value in the text box. Default value is false. + * + * @param bool $val The required + * + * @return GroupPolicyPresentationTextBox + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValue.php new file mode 100644 index 0000000..f2ac790 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValue.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return GroupPolicyPresentationValue + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GroupPolicyPresentationValue + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the definitionValue + * The group policy definition value associated with the presentation value. + * + * @return GroupPolicyDefinitionValue|null The definitionValue + */ + public function getDefinitionValue() + { + if (array_key_exists("definitionValue", $this->_propDict)) { + if (is_a($this->_propDict["definitionValue"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionValue") || is_null($this->_propDict["definitionValue"])) { + return $this->_propDict["definitionValue"]; + } else { + $this->_propDict["definitionValue"] = new GroupPolicyDefinitionValue($this->_propDict["definitionValue"]); + return $this->_propDict["definitionValue"]; + } + } + return null; + } + + /** + * Sets the definitionValue + * The group policy definition value associated with the presentation value. + * + * @param GroupPolicyDefinitionValue $val The definitionValue + * + * @return GroupPolicyPresentationValue + */ + public function setDefinitionValue($val) + { + $this->_propDict["definitionValue"] = $val; + return $this; + } + + /** + * Gets the presentation + * The group policy presentation associated with the presentation value. + * + * @return GroupPolicyPresentation|null The presentation + */ + public function getPresentation() + { + if (array_key_exists("presentation", $this->_propDict)) { + if (is_a($this->_propDict["presentation"], "\Beta\Microsoft\Graph\Model\GroupPolicyPresentation") || is_null($this->_propDict["presentation"])) { + return $this->_propDict["presentation"]; + } else { + $this->_propDict["presentation"] = new GroupPolicyPresentation($this->_propDict["presentation"]); + return $this->_propDict["presentation"]; + } + } + return null; + } + + /** + * Sets the presentation + * The group policy presentation associated with the presentation value. + * + * @param GroupPolicyPresentation $val The presentation + * + * @return GroupPolicyPresentationValue + */ + public function setPresentation($val) + { + $this->_propDict["presentation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueBoolean.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueBoolean.php new file mode 100644 index 0000000..756701f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueBoolean.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * An boolean value for the associated presentation. + * + * @param bool $val The value + * + * @return GroupPolicyPresentationValueBoolean + */ + public function setValue($val) + { + $this->_propDict["value"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueDecimal.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueDecimal.php new file mode 100644 index 0000000..daef270 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueDecimal.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * An unsigned integer value for the associated presentation. + * + * @param int $val The value + * + * @return GroupPolicyPresentationValueDecimal + */ + public function setValue($val) + { + $this->_propDict["value"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueList.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueList.php new file mode 100644 index 0000000..d832b3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueList.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * A list of pairs for the associated presentation. + * + * @param KeyValuePair[] $val The values + * + * @return GroupPolicyPresentationValueList + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueLongDecimal.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueLongDecimal.php new file mode 100644 index 0000000..42607d6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueLongDecimal.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * An unsigned long value for the associated presentation. + * + * @param int $val The value + * + * @return GroupPolicyPresentationValueLongDecimal + */ + public function setValue($val) + { + $this->_propDict["value"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueMultiText.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueMultiText.php new file mode 100644 index 0000000..9f8a970 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueMultiText.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * A collection of non-empty strings for the associated presentation. + * + * @param string $val The values + * + * @return GroupPolicyPresentationValueMultiText + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueText.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueText.php new file mode 100644 index 0000000..9ef97df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueText.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * A string value for the associated presentation. + * + * @param string $val The value + * + * @return GroupPolicyPresentationValueText + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingMapping.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingMapping.php new file mode 100644 index 0000000..b9ae4c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingMapping.php @@ -0,0 +1,619 @@ +_propDict)) { + return $this->_propDict["admxSettingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the admxSettingDefinitionId + * Admx Group Policy Id + * + * @param string $val The admxSettingDefinitionId + * + * @return GroupPolicySettingMapping + */ + public function setAdmxSettingDefinitionId($val) + { + $this->_propDict["admxSettingDefinitionId"] = $val; + return $this; + } + + /** + * Gets the childIdList + * List of Child Ids of the group policy setting. + * + * @return string|null The childIdList + */ + public function getChildIdList() + { + if (array_key_exists("childIdList", $this->_propDict)) { + return $this->_propDict["childIdList"]; + } else { + return null; + } + } + + /** + * Sets the childIdList + * List of Child Ids of the group policy setting. + * + * @param string $val The childIdList + * + * @return GroupPolicySettingMapping + */ + public function setChildIdList($val) + { + $this->_propDict["childIdList"] = $val; + return $this; + } + + /** + * Gets the intuneSettingDefinitionId + * The Intune Setting Definition Id + * + * @return string|null The intuneSettingDefinitionId + */ + public function getIntuneSettingDefinitionId() + { + if (array_key_exists("intuneSettingDefinitionId", $this->_propDict)) { + return $this->_propDict["intuneSettingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the intuneSettingDefinitionId + * The Intune Setting Definition Id + * + * @param string $val The intuneSettingDefinitionId + * + * @return GroupPolicySettingMapping + */ + public function setIntuneSettingDefinitionId($val) + { + $this->_propDict["intuneSettingDefinitionId"] = $val; + return $this; + } + + /** + * Gets the intuneSettingUriList + * The list of Intune Setting URIs this group policy setting maps to + * + * @return string|null The intuneSettingUriList + */ + public function getIntuneSettingUriList() + { + if (array_key_exists("intuneSettingUriList", $this->_propDict)) { + return $this->_propDict["intuneSettingUriList"]; + } else { + return null; + } + } + + /** + * Sets the intuneSettingUriList + * The list of Intune Setting URIs this group policy setting maps to + * + * @param string $val The intuneSettingUriList + * + * @return GroupPolicySettingMapping + */ + public function setIntuneSettingUriList($val) + { + $this->_propDict["intuneSettingUriList"] = $val; + return $this; + } + + /** + * Gets the isMdmSupported + * Indicates if the setting is supported by Intune or not + * + * @return bool|null The isMdmSupported + */ + public function getIsMdmSupported() + { + if (array_key_exists("isMdmSupported", $this->_propDict)) { + return $this->_propDict["isMdmSupported"]; + } else { + return null; + } + } + + /** + * Sets the isMdmSupported + * Indicates if the setting is supported by Intune or not + * + * @param bool $val The isMdmSupported + * + * @return GroupPolicySettingMapping + */ + public function setIsMdmSupported($val) + { + $this->_propDict["isMdmSupported"] = boolval($val); + return $this; + } + + /** + * Gets the mdmCspName + * The CSP name this group policy setting maps to. + * + * @return string|null The mdmCspName + */ + public function getMdmCspName() + { + if (array_key_exists("mdmCspName", $this->_propDict)) { + return $this->_propDict["mdmCspName"]; + } else { + return null; + } + } + + /** + * Sets the mdmCspName + * The CSP name this group policy setting maps to. + * + * @param string $val The mdmCspName + * + * @return GroupPolicySettingMapping + */ + public function setMdmCspName($val) + { + $this->_propDict["mdmCspName"] = $val; + return $this; + } + + /** + * Gets the mdmMinimumOSVersion + * The minimum OS version this mdm setting supports. + * + * @return int|null The mdmMinimumOSVersion + */ + public function getMdmMinimumOSVersion() + { + if (array_key_exists("mdmMinimumOSVersion", $this->_propDict)) { + return $this->_propDict["mdmMinimumOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the mdmMinimumOSVersion + * The minimum OS version this mdm setting supports. + * + * @param int $val The mdmMinimumOSVersion + * + * @return GroupPolicySettingMapping + */ + public function setMdmMinimumOSVersion($val) + { + $this->_propDict["mdmMinimumOSVersion"] = intval($val); + return $this; + } + + /** + * Gets the mdmSettingUri + * The MDM CSP URI this group policy setting maps to. + * + * @return string|null The mdmSettingUri + */ + public function getMdmSettingUri() + { + if (array_key_exists("mdmSettingUri", $this->_propDict)) { + return $this->_propDict["mdmSettingUri"]; + } else { + return null; + } + } + + /** + * Sets the mdmSettingUri + * The MDM CSP URI this group policy setting maps to. + * + * @param string $val The mdmSettingUri + * + * @return GroupPolicySettingMapping + */ + public function setMdmSettingUri($val) + { + $this->_propDict["mdmSettingUri"] = $val; + return $this; + } + + /** + * Gets the mdmSupportedState + * Indicates if the setting is supported in Mdm or not. Possible values are: unknown, supported, unsupported, deprecated. + * + * @return MdmSupportedState|null The mdmSupportedState + */ + public function getMdmSupportedState() + { + if (array_key_exists("mdmSupportedState", $this->_propDict)) { + if (is_a($this->_propDict["mdmSupportedState"], "\Beta\Microsoft\Graph\Model\MdmSupportedState") || is_null($this->_propDict["mdmSupportedState"])) { + return $this->_propDict["mdmSupportedState"]; + } else { + $this->_propDict["mdmSupportedState"] = new MdmSupportedState($this->_propDict["mdmSupportedState"]); + return $this->_propDict["mdmSupportedState"]; + } + } + return null; + } + + /** + * Sets the mdmSupportedState + * Indicates if the setting is supported in Mdm or not. Possible values are: unknown, supported, unsupported, deprecated. + * + * @param MdmSupportedState $val The mdmSupportedState + * + * @return GroupPolicySettingMapping + */ + public function setMdmSupportedState($val) + { + $this->_propDict["mdmSupportedState"] = $val; + return $this; + } + + /** + * Gets the parentId + * Parent Id of the group policy setting. + * + * @return string|null The parentId + */ + public function getParentId() + { + if (array_key_exists("parentId", $this->_propDict)) { + return $this->_propDict["parentId"]; + } else { + return null; + } + } + + /** + * Sets the parentId + * Parent Id of the group policy setting. + * + * @param string $val The parentId + * + * @return GroupPolicySettingMapping + */ + public function setParentId($val) + { + $this->_propDict["parentId"] = $val; + return $this; + } + + /** + * Gets the settingCategory + * The category the group policy setting is in. + * + * @return string|null The settingCategory + */ + public function getSettingCategory() + { + if (array_key_exists("settingCategory", $this->_propDict)) { + return $this->_propDict["settingCategory"]; + } else { + return null; + } + } + + /** + * Sets the settingCategory + * The category the group policy setting is in. + * + * @param string $val The settingCategory + * + * @return GroupPolicySettingMapping + */ + public function setSettingCategory($val) + { + $this->_propDict["settingCategory"] = $val; + return $this; + } + + /** + * Gets the settingDisplayName + * The display name of this group policy setting. + * + * @return string|null The settingDisplayName + */ + public function getSettingDisplayName() + { + if (array_key_exists("settingDisplayName", $this->_propDict)) { + return $this->_propDict["settingDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the settingDisplayName + * The display name of this group policy setting. + * + * @param string $val The settingDisplayName + * + * @return GroupPolicySettingMapping + */ + public function setSettingDisplayName($val) + { + $this->_propDict["settingDisplayName"] = $val; + return $this; + } + + /** + * Gets the settingDisplayValue + * The display value of this group policy setting. + * + * @return string|null The settingDisplayValue + */ + public function getSettingDisplayValue() + { + if (array_key_exists("settingDisplayValue", $this->_propDict)) { + return $this->_propDict["settingDisplayValue"]; + } else { + return null; + } + } + + /** + * Sets the settingDisplayValue + * The display value of this group policy setting. + * + * @param string $val The settingDisplayValue + * + * @return GroupPolicySettingMapping + */ + public function setSettingDisplayValue($val) + { + $this->_propDict["settingDisplayValue"] = $val; + return $this; + } + + /** + * Gets the settingDisplayValueType + * The display value type of this group policy setting. + * + * @return string|null The settingDisplayValueType + */ + public function getSettingDisplayValueType() + { + if (array_key_exists("settingDisplayValueType", $this->_propDict)) { + return $this->_propDict["settingDisplayValueType"]; + } else { + return null; + } + } + + /** + * Sets the settingDisplayValueType + * The display value type of this group policy setting. + * + * @param string $val The settingDisplayValueType + * + * @return GroupPolicySettingMapping + */ + public function setSettingDisplayValueType($val) + { + $this->_propDict["settingDisplayValueType"] = $val; + return $this; + } + + /** + * Gets the settingName + * The name of this group policy setting. + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * The name of this group policy setting. + * + * @param string $val The settingName + * + * @return GroupPolicySettingMapping + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the settingScope + * The scope of the setting. Possible values are: unknown, device, user. + * + * @return GroupPolicySettingScope|null The settingScope + */ + public function getSettingScope() + { + if (array_key_exists("settingScope", $this->_propDict)) { + if (is_a($this->_propDict["settingScope"], "\Beta\Microsoft\Graph\Model\GroupPolicySettingScope") || is_null($this->_propDict["settingScope"])) { + return $this->_propDict["settingScope"]; + } else { + $this->_propDict["settingScope"] = new GroupPolicySettingScope($this->_propDict["settingScope"]); + return $this->_propDict["settingScope"]; + } + } + return null; + } + + /** + * Sets the settingScope + * The scope of the setting. Possible values are: unknown, device, user. + * + * @param GroupPolicySettingScope $val The settingScope + * + * @return GroupPolicySettingMapping + */ + public function setSettingScope($val) + { + $this->_propDict["settingScope"] = $val; + return $this; + } + + /** + * Gets the settingType + * The setting type (security or admx) of the Group Policy. Possible values are: unknown, policy, account, securityOptions, userRightsAssignment, auditSetting, windowsFirewallSettings, appLockerRuleCollection, dataSourcesSettings, devicesSettings, driveMapSettings, environmentVariables, filesSettings, folderOptions, folders, iniFiles, internetOptions, localUsersAndGroups, networkOptions, networkShares, ntServices, powerOptions, printers, regionalOptionsSettings, registrySettings, scheduledTasks, shortcutSettings, startMenuSettings. + * + * @return GroupPolicySettingType|null The settingType + */ + public function getSettingType() + { + if (array_key_exists("settingType", $this->_propDict)) { + if (is_a($this->_propDict["settingType"], "\Beta\Microsoft\Graph\Model\GroupPolicySettingType") || is_null($this->_propDict["settingType"])) { + return $this->_propDict["settingType"]; + } else { + $this->_propDict["settingType"] = new GroupPolicySettingType($this->_propDict["settingType"]); + return $this->_propDict["settingType"]; + } + } + return null; + } + + /** + * Sets the settingType + * The setting type (security or admx) of the Group Policy. Possible values are: unknown, policy, account, securityOptions, userRightsAssignment, auditSetting, windowsFirewallSettings, appLockerRuleCollection, dataSourcesSettings, devicesSettings, driveMapSettings, environmentVariables, filesSettings, folderOptions, folders, iniFiles, internetOptions, localUsersAndGroups, networkOptions, networkShares, ntServices, powerOptions, printers, regionalOptionsSettings, registrySettings, scheduledTasks, shortcutSettings, startMenuSettings. + * + * @param GroupPolicySettingType $val The settingType + * + * @return GroupPolicySettingMapping + */ + public function setSettingType($val) + { + $this->_propDict["settingType"] = $val; + return $this; + } + + /** + * Gets the settingValue + * The value of this group policy setting. + * + * @return string|null The settingValue + */ + public function getSettingValue() + { + if (array_key_exists("settingValue", $this->_propDict)) { + return $this->_propDict["settingValue"]; + } else { + return null; + } + } + + /** + * Sets the settingValue + * The value of this group policy setting. + * + * @param string $val The settingValue + * + * @return GroupPolicySettingMapping + */ + public function setSettingValue($val) + { + $this->_propDict["settingValue"] = $val; + return $this; + } + + /** + * Gets the settingValueDisplayUnits + * The display units of this group policy setting value + * + * @return string|null The settingValueDisplayUnits + */ + public function getSettingValueDisplayUnits() + { + if (array_key_exists("settingValueDisplayUnits", $this->_propDict)) { + return $this->_propDict["settingValueDisplayUnits"]; + } else { + return null; + } + } + + /** + * Sets the settingValueDisplayUnits + * The display units of this group policy setting value + * + * @param string $val The settingValueDisplayUnits + * + * @return GroupPolicySettingMapping + */ + public function setSettingValueDisplayUnits($val) + { + $this->_propDict["settingValueDisplayUnits"] = $val; + return $this; + } + + /** + * Gets the settingValueType + * The value type of this group policy setting. + * + * @return string|null The settingValueType + */ + public function getSettingValueType() + { + if (array_key_exists("settingValueType", $this->_propDict)) { + return $this->_propDict["settingValueType"]; + } else { + return null; + } + } + + /** + * Sets the settingValueType + * The value type of this group policy setting. + * + * @param string $val The settingValueType + * + * @return GroupPolicySettingMapping + */ + public function setSettingValueType($val) + { + $this->_propDict["settingValueType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingScope.php new file mode 100644 index 0000000..c2ffd45 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingScope.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The contents of the uploaded ADMX file. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return GroupPolicyUploadedDefinitionFile + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the defaultLanguageCode + * The default language of the uploaded ADMX file. + * + * @return string|null The defaultLanguageCode + */ + public function getDefaultLanguageCode() + { + if (array_key_exists("defaultLanguageCode", $this->_propDict)) { + return $this->_propDict["defaultLanguageCode"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguageCode + * The default language of the uploaded ADMX file. + * + * @param string $val The defaultLanguageCode + * + * @return GroupPolicyUploadedDefinitionFile + */ + public function setDefaultLanguageCode($val) + { + $this->_propDict["defaultLanguageCode"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyUploadedLanguageFiles + * The list of ADML files associated with the uploaded ADMX file. + * + * @return array|null The groupPolicyUploadedLanguageFiles + */ + public function getGroupPolicyUploadedLanguageFiles() + { + if (array_key_exists("groupPolicyUploadedLanguageFiles", $this->_propDict)) { + return $this->_propDict["groupPolicyUploadedLanguageFiles"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyUploadedLanguageFiles + * The list of ADML files associated with the uploaded ADMX file. + * + * @param GroupPolicyUploadedLanguageFile[] $val The groupPolicyUploadedLanguageFiles + * + * @return GroupPolicyUploadedDefinitionFile + */ + public function setGroupPolicyUploadedLanguageFiles($val) + { + $this->_propDict["groupPolicyUploadedLanguageFiles"] = $val; + return $this; + } + + /** + * Gets the status + * The upload status of the uploaded ADMX file. Possible values are: none, uploadInProgress, available, assigned, removalInProgress, uploadFailed, removalFailed. + * + * @return GroupPolicyUploadedDefinitionFileStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\GroupPolicyUploadedDefinitionFileStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new GroupPolicyUploadedDefinitionFileStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The upload status of the uploaded ADMX file. Possible values are: none, uploadInProgress, available, assigned, removalInProgress, uploadFailed, removalFailed. + * + * @param GroupPolicyUploadedDefinitionFileStatus $val The status + * + * @return GroupPolicyUploadedDefinitionFile + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the uploadDateTime + * The uploaded time of the uploaded ADMX file. + * + * @return \DateTime|null The uploadDateTime + */ + public function getUploadDateTime() + { + if (array_key_exists("uploadDateTime", $this->_propDict)) { + if (is_a($this->_propDict["uploadDateTime"], "\DateTime") || is_null($this->_propDict["uploadDateTime"])) { + return $this->_propDict["uploadDateTime"]; + } else { + $this->_propDict["uploadDateTime"] = new \DateTime($this->_propDict["uploadDateTime"]); + return $this->_propDict["uploadDateTime"]; + } + } + return null; + } + + /** + * Sets the uploadDateTime + * The uploaded time of the uploaded ADMX file. + * + * @param \DateTime $val The uploadDateTime + * + * @return GroupPolicyUploadedDefinitionFile + */ + public function setUploadDateTime($val) + { + $this->_propDict["uploadDateTime"] = $val; + return $this; + } + + + /** + * Gets the groupPolicyOperations + * The list of operations on the uploaded ADMX file. + * + * @return array|null The groupPolicyOperations + */ + public function getGroupPolicyOperations() + { + if (array_key_exists("groupPolicyOperations", $this->_propDict)) { + return $this->_propDict["groupPolicyOperations"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyOperations + * The list of operations on the uploaded ADMX file. + * + * @param GroupPolicyOperation[] $val The groupPolicyOperations + * + * @return GroupPolicyUploadedDefinitionFile + */ + public function setGroupPolicyOperations($val) + { + $this->_propDict["groupPolicyOperations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyUploadedDefinitionFileStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyUploadedDefinitionFileStatus.php new file mode 100644 index 0000000..8a9eda5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyUploadedDefinitionFileStatus.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The contents of the uploaded ADML file. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the content + * + * @return GroupPolicyUploadedLanguageFile The GroupPolicyUploadedLanguageFile + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the fileName + * The file name of the uploaded ADML file. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The file name of the uploaded ADML file. + * + * @param string $val The value of the fileName + * + * @return GroupPolicyUploadedLanguageFile + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + /** + * Gets the id + * Key of the entity. + * + * @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 + * Key of the entity. + * + * @param string $val The value of the id + * + * @return GroupPolicyUploadedLanguageFile + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the languageCode + * The language code of the uploaded ADML file. + * + * @return string|null The languageCode + */ + public function getLanguageCode() + { + if (array_key_exists("languageCode", $this->_propDict)) { + return $this->_propDict["languageCode"]; + } else { + return null; + } + } + + /** + * Sets the languageCode + * The language code of the uploaded ADML file. + * + * @param string $val The value of the languageCode + * + * @return GroupPolicyUploadedLanguageFile + */ + public function setLanguageCode($val) + { + $this->_propDict["languageCode"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the entity was last modified. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return GroupPolicyUploadedLanguageFile The GroupPolicyUploadedLanguageFile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrintUsageSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrintUsageSummary.php new file mode 100644 index 0000000..f639347 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrintUsageSummary.php @@ -0,0 +1,161 @@ +_propDict)) { + return $this->_propDict["completedJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedJobCount + * + * @param int $val The value of the completedJobCount + * + * @return GroupPrintUsageSummary + */ + public function setCompletedJobCount($val) + { + $this->_propDict["completedJobCount"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Identity|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Identity($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Identity $val The value to assign to the group + * + * @return GroupPrintUsageSummary The GroupPrintUsageSummary + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + /** + * Gets the groupDisplayName + * + * @return string|null The groupDisplayName + */ + public function getGroupDisplayName() + { + if (array_key_exists("groupDisplayName", $this->_propDict)) { + return $this->_propDict["groupDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the groupDisplayName + * + * @param string $val The value of the groupDisplayName + * + * @return GroupPrintUsageSummary + */ + public function setGroupDisplayName($val) + { + $this->_propDict["groupDisplayName"] = $val; + return $this; + } + /** + * Gets the groupMail + * + * @return string|null The groupMail + */ + public function getGroupMail() + { + if (array_key_exists("groupMail", $this->_propDict)) { + return $this->_propDict["groupMail"]; + } else { + return null; + } + } + + /** + * Sets the groupMail + * + * @param string $val The value of the groupMail + * + * @return GroupPrintUsageSummary + */ + public function setGroupMail($val) + { + $this->_propDict["groupMail"] = $val; + return $this; + } + /** + * Gets the incompleteJobCount + * + * @return int|null The incompleteJobCount + */ + public function getIncompleteJobCount() + { + if (array_key_exists("incompleteJobCount", $this->_propDict)) { + return $this->_propDict["incompleteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the incompleteJobCount + * + * @param int $val The value of the incompleteJobCount + * + * @return GroupPrintUsageSummary + */ + public function setIncompleteJobCount($val) + { + $this->_propDict["incompleteJobCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrivacy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrivacy.php new file mode 100644 index 0000000..fcaed0e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrivacy.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["batteryChargeCycles"]; + } else { + return null; + } + } + + /** + * Sets the batteryChargeCycles + * The number of charge cycles the device’s current battery has gone through. Valid values 0 to 2147483647 + * + * @param int $val The value of the batteryChargeCycles + * + * @return HardwareInformation + */ + public function setBatteryChargeCycles($val) + { + $this->_propDict["batteryChargeCycles"] = $val; + return $this; + } + /** + * Gets the batteryHealthPercentage + * The device’s current battery’s health percentage. Valid values 0 to 100 + * + * @return int|null The batteryHealthPercentage + */ + public function getBatteryHealthPercentage() + { + if (array_key_exists("batteryHealthPercentage", $this->_propDict)) { + return $this->_propDict["batteryHealthPercentage"]; + } else { + return null; + } + } + + /** + * Sets the batteryHealthPercentage + * The device’s current battery’s health percentage. Valid values 0 to 100 + * + * @param int $val The value of the batteryHealthPercentage + * + * @return HardwareInformation + */ + public function setBatteryHealthPercentage($val) + { + $this->_propDict["batteryHealthPercentage"] = $val; + return $this; + } + /** + * Gets the batterySerialNumber + * The serial number of the device’s current battery + * + * @return string|null The batterySerialNumber + */ + public function getBatterySerialNumber() + { + if (array_key_exists("batterySerialNumber", $this->_propDict)) { + return $this->_propDict["batterySerialNumber"]; + } else { + return null; + } + } + + /** + * Sets the batterySerialNumber + * The serial number of the device’s current battery + * + * @param string $val The value of the batterySerialNumber + * + * @return HardwareInformation + */ + public function setBatterySerialNumber($val) + { + $this->_propDict["batterySerialNumber"] = $val; + return $this; + } + /** + * Gets the cellularTechnology + * Cellular technology of the device + * + * @return string|null The cellularTechnology + */ + public function getCellularTechnology() + { + if (array_key_exists("cellularTechnology", $this->_propDict)) { + return $this->_propDict["cellularTechnology"]; + } else { + return null; + } + } + + /** + * Sets the cellularTechnology + * Cellular technology of the device + * + * @param string $val The value of the cellularTechnology + * + * @return HardwareInformation + */ + public function setCellularTechnology($val) + { + $this->_propDict["cellularTechnology"] = $val; + return $this; + } + /** + * Gets the deviceFullQualifiedDomainName + * Returns the fully qualified domain name of the device (if any). If the device is not domain-joined, it returns an empty string. + * + * @return string|null The deviceFullQualifiedDomainName + */ + public function getDeviceFullQualifiedDomainName() + { + if (array_key_exists("deviceFullQualifiedDomainName", $this->_propDict)) { + return $this->_propDict["deviceFullQualifiedDomainName"]; + } else { + return null; + } + } + + /** + * Sets the deviceFullQualifiedDomainName + * Returns the fully qualified domain name of the device (if any). If the device is not domain-joined, it returns an empty string. + * + * @param string $val The value of the deviceFullQualifiedDomainName + * + * @return HardwareInformation + */ + public function setDeviceFullQualifiedDomainName($val) + { + $this->_propDict["deviceFullQualifiedDomainName"] = $val; + return $this; + } + + /** + * Gets the deviceGuardLocalSystemAuthorityCredentialGuardState + * Local System Authority (LSA) credential guard status. . Possible values are: running, rebootRequired, notLicensed, notConfigured, virtualizationBasedSecurityNotRunning. + * + * @return DeviceGuardLocalSystemAuthorityCredentialGuardState|null The deviceGuardLocalSystemAuthorityCredentialGuardState + */ + public function getDeviceGuardLocalSystemAuthorityCredentialGuardState() + { + if (array_key_exists("deviceGuardLocalSystemAuthorityCredentialGuardState", $this->_propDict)) { + if (is_a($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"], "\Beta\Microsoft\Graph\Model\DeviceGuardLocalSystemAuthorityCredentialGuardState") || is_null($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"])) { + return $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"]; + } else { + $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"] = new DeviceGuardLocalSystemAuthorityCredentialGuardState($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"]); + return $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"]; + } + } + return null; + } + + /** + * Sets the deviceGuardLocalSystemAuthorityCredentialGuardState + * Local System Authority (LSA) credential guard status. . Possible values are: running, rebootRequired, notLicensed, notConfigured, virtualizationBasedSecurityNotRunning. + * + * @param DeviceGuardLocalSystemAuthorityCredentialGuardState $val The value to assign to the deviceGuardLocalSystemAuthorityCredentialGuardState + * + * @return HardwareInformation The HardwareInformation + */ + public function setDeviceGuardLocalSystemAuthorityCredentialGuardState($val) + { + $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"] = $val; + return $this; + } + + /** + * Gets the deviceGuardVirtualizationBasedSecurityHardwareRequirementState + * Virtualization-based security hardware requirement status. Possible values are: meetHardwareRequirements, secureBootRequired, dmaProtectionRequired, hyperVNotSupportedForGuestVM, hyperVNotAvailable. + * + * @return DeviceGuardVirtualizationBasedSecurityHardwareRequirementState|null The deviceGuardVirtualizationBasedSecurityHardwareRequirementState + */ + public function getDeviceGuardVirtualizationBasedSecurityHardwareRequirementState() + { + if (array_key_exists("deviceGuardVirtualizationBasedSecurityHardwareRequirementState", $this->_propDict)) { + if (is_a($this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"], "\Beta\Microsoft\Graph\Model\DeviceGuardVirtualizationBasedSecurityHardwareRequirementState") || is_null($this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"])) { + return $this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"]; + } else { + $this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"] = new DeviceGuardVirtualizationBasedSecurityHardwareRequirementState($this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"]); + return $this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"]; + } + } + return null; + } + + /** + * Sets the deviceGuardVirtualizationBasedSecurityHardwareRequirementState + * Virtualization-based security hardware requirement status. Possible values are: meetHardwareRequirements, secureBootRequired, dmaProtectionRequired, hyperVNotSupportedForGuestVM, hyperVNotAvailable. + * + * @param DeviceGuardVirtualizationBasedSecurityHardwareRequirementState $val The value to assign to the deviceGuardVirtualizationBasedSecurityHardwareRequirementState + * + * @return HardwareInformation The HardwareInformation + */ + public function setDeviceGuardVirtualizationBasedSecurityHardwareRequirementState($val) + { + $this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"] = $val; + return $this; + } + + /** + * Gets the deviceGuardVirtualizationBasedSecurityState + * Virtualization-based security status. . Possible values are: running, rebootRequired, require64BitArchitecture, notLicensed, notConfigured, doesNotMeetHardwareRequirements, other. + * + * @return DeviceGuardVirtualizationBasedSecurityState|null The deviceGuardVirtualizationBasedSecurityState + */ + public function getDeviceGuardVirtualizationBasedSecurityState() + { + if (array_key_exists("deviceGuardVirtualizationBasedSecurityState", $this->_propDict)) { + if (is_a($this->_propDict["deviceGuardVirtualizationBasedSecurityState"], "\Beta\Microsoft\Graph\Model\DeviceGuardVirtualizationBasedSecurityState") || is_null($this->_propDict["deviceGuardVirtualizationBasedSecurityState"])) { + return $this->_propDict["deviceGuardVirtualizationBasedSecurityState"]; + } else { + $this->_propDict["deviceGuardVirtualizationBasedSecurityState"] = new DeviceGuardVirtualizationBasedSecurityState($this->_propDict["deviceGuardVirtualizationBasedSecurityState"]); + return $this->_propDict["deviceGuardVirtualizationBasedSecurityState"]; + } + } + return null; + } + + /** + * Sets the deviceGuardVirtualizationBasedSecurityState + * Virtualization-based security status. . Possible values are: running, rebootRequired, require64BitArchitecture, notLicensed, notConfigured, doesNotMeetHardwareRequirements, other. + * + * @param DeviceGuardVirtualizationBasedSecurityState $val The value to assign to the deviceGuardVirtualizationBasedSecurityState + * + * @return HardwareInformation The HardwareInformation + */ + public function setDeviceGuardVirtualizationBasedSecurityState($val) + { + $this->_propDict["deviceGuardVirtualizationBasedSecurityState"] = $val; + return $this; + } + /** + * Gets the esimIdentifier + * eSIM identifier + * + * @return string|null The esimIdentifier + */ + public function getEsimIdentifier() + { + if (array_key_exists("esimIdentifier", $this->_propDict)) { + return $this->_propDict["esimIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the esimIdentifier + * eSIM identifier + * + * @param string $val The value of the esimIdentifier + * + * @return HardwareInformation + */ + public function setEsimIdentifier($val) + { + $this->_propDict["esimIdentifier"] = $val; + return $this; + } + /** + * Gets the freeStorageSpace + * Free storage space of the device. + * + * @return int|null The freeStorageSpace + */ + public function getFreeStorageSpace() + { + if (array_key_exists("freeStorageSpace", $this->_propDict)) { + return $this->_propDict["freeStorageSpace"]; + } else { + return null; + } + } + + /** + * Sets the freeStorageSpace + * Free storage space of the device. + * + * @param int $val The value of the freeStorageSpace + * + * @return HardwareInformation + */ + public function setFreeStorageSpace($val) + { + $this->_propDict["freeStorageSpace"] = $val; + return $this; + } + /** + * Gets the imei + * IMEI + * + * @return string|null The imei + */ + public function getImei() + { + if (array_key_exists("imei", $this->_propDict)) { + return $this->_propDict["imei"]; + } else { + return null; + } + } + + /** + * Sets the imei + * IMEI + * + * @param string $val The value of the imei + * + * @return HardwareInformation + */ + public function setImei($val) + { + $this->_propDict["imei"] = $val; + return $this; + } + /** + * Gets the ipAddressV4 + * IPAddressV4 + * + * @return string|null The ipAddressV4 + */ + public function getIpAddressV4() + { + if (array_key_exists("ipAddressV4", $this->_propDict)) { + return $this->_propDict["ipAddressV4"]; + } else { + return null; + } + } + + /** + * Sets the ipAddressV4 + * IPAddressV4 + * + * @param string $val The value of the ipAddressV4 + * + * @return HardwareInformation + */ + public function setIpAddressV4($val) + { + $this->_propDict["ipAddressV4"] = $val; + return $this; + } + /** + * Gets the isEncrypted + * Encryption status of the device + * + * @return bool|null The isEncrypted + */ + public function getIsEncrypted() + { + if (array_key_exists("isEncrypted", $this->_propDict)) { + return $this->_propDict["isEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the isEncrypted + * Encryption status of the device + * + * @param bool $val The value of the isEncrypted + * + * @return HardwareInformation + */ + public function setIsEncrypted($val) + { + $this->_propDict["isEncrypted"] = $val; + return $this; + } + /** + * Gets the isSharedDevice + * Shared iPad + * + * @return bool|null The isSharedDevice + */ + public function getIsSharedDevice() + { + if (array_key_exists("isSharedDevice", $this->_propDict)) { + return $this->_propDict["isSharedDevice"]; + } else { + return null; + } + } + + /** + * Sets the isSharedDevice + * Shared iPad + * + * @param bool $val The value of the isSharedDevice + * + * @return HardwareInformation + */ + public function setIsSharedDevice($val) + { + $this->_propDict["isSharedDevice"] = $val; + return $this; + } + /** + * Gets the isSupervised + * Supervised mode of the device + * + * @return bool|null The isSupervised + */ + public function getIsSupervised() + { + if (array_key_exists("isSupervised", $this->_propDict)) { + return $this->_propDict["isSupervised"]; + } else { + return null; + } + } + + /** + * Sets the isSupervised + * Supervised mode of the device + * + * @param bool $val The value of the isSupervised + * + * @return HardwareInformation + */ + public function setIsSupervised($val) + { + $this->_propDict["isSupervised"] = $val; + return $this; + } + /** + * Gets the manufacturer + * Manufacturer of the device + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Manufacturer of the device + * + * @param string $val The value of the manufacturer + * + * @return HardwareInformation + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + /** + * Gets the meid + * MEID + * + * @return string|null The meid + */ + public function getMeid() + { + if (array_key_exists("meid", $this->_propDict)) { + return $this->_propDict["meid"]; + } else { + return null; + } + } + + /** + * Sets the meid + * MEID + * + * @param string $val The value of the meid + * + * @return HardwareInformation + */ + public function setMeid($val) + { + $this->_propDict["meid"] = $val; + return $this; + } + /** + * Gets the model + * Model of the device + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model of the device + * + * @param string $val The value of the model + * + * @return HardwareInformation + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + /** + * Gets the operatingSystemEdition + * String that specifies the OS edition. + * + * @return string|null The operatingSystemEdition + */ + public function getOperatingSystemEdition() + { + if (array_key_exists("operatingSystemEdition", $this->_propDict)) { + return $this->_propDict["operatingSystemEdition"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemEdition + * String that specifies the OS edition. + * + * @param string $val The value of the operatingSystemEdition + * + * @return HardwareInformation + */ + public function setOperatingSystemEdition($val) + { + $this->_propDict["operatingSystemEdition"] = $val; + return $this; + } + /** + * Gets the operatingSystemLanguage + * Operating system language of the device + * + * @return string|null The operatingSystemLanguage + */ + public function getOperatingSystemLanguage() + { + if (array_key_exists("operatingSystemLanguage", $this->_propDict)) { + return $this->_propDict["operatingSystemLanguage"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemLanguage + * Operating system language of the device + * + * @param string $val The value of the operatingSystemLanguage + * + * @return HardwareInformation + */ + public function setOperatingSystemLanguage($val) + { + $this->_propDict["operatingSystemLanguage"] = $val; + return $this; + } + /** + * Gets the operatingSystemProductType + * Int that specifies the Windows Operating System ProductType. More details here https://go.microsoft.com/fwlink/?linkid=2126950. Valid values 0 to 2147483647 + * + * @return int|null The operatingSystemProductType + */ + public function getOperatingSystemProductType() + { + if (array_key_exists("operatingSystemProductType", $this->_propDict)) { + return $this->_propDict["operatingSystemProductType"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemProductType + * Int that specifies the Windows Operating System ProductType. More details here https://go.microsoft.com/fwlink/?linkid=2126950. Valid values 0 to 2147483647 + * + * @param int $val The value of the operatingSystemProductType + * + * @return HardwareInformation + */ + public function setOperatingSystemProductType($val) + { + $this->_propDict["operatingSystemProductType"] = $val; + return $this; + } + /** + * Gets the osBuildNumber + * Operating System Build Number on Android device + * + * @return string|null The osBuildNumber + */ + public function getOsBuildNumber() + { + if (array_key_exists("osBuildNumber", $this->_propDict)) { + return $this->_propDict["osBuildNumber"]; + } else { + return null; + } + } + + /** + * Sets the osBuildNumber + * Operating System Build Number on Android device + * + * @param string $val The value of the osBuildNumber + * + * @return HardwareInformation + */ + public function setOsBuildNumber($val) + { + $this->_propDict["osBuildNumber"] = $val; + return $this; + } + /** + * Gets the phoneNumber + * Phone number of the device + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * Phone number of the device + * + * @param string $val The value of the phoneNumber + * + * @return HardwareInformation + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + /** + * Gets the serialNumber + * Serial number. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Serial number. + * + * @param string $val The value of the serialNumber + * + * @return HardwareInformation + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the sharedDeviceCachedUsers + * All users on the shared Apple device + * + * @return SharedAppleDeviceUser|null The sharedDeviceCachedUsers + */ + public function getSharedDeviceCachedUsers() + { + if (array_key_exists("sharedDeviceCachedUsers", $this->_propDict)) { + if (is_a($this->_propDict["sharedDeviceCachedUsers"], "\Beta\Microsoft\Graph\Model\SharedAppleDeviceUser") || is_null($this->_propDict["sharedDeviceCachedUsers"])) { + return $this->_propDict["sharedDeviceCachedUsers"]; + } else { + $this->_propDict["sharedDeviceCachedUsers"] = new SharedAppleDeviceUser($this->_propDict["sharedDeviceCachedUsers"]); + return $this->_propDict["sharedDeviceCachedUsers"]; + } + } + return null; + } + + /** + * Sets the sharedDeviceCachedUsers + * All users on the shared Apple device + * + * @param SharedAppleDeviceUser $val The value to assign to the sharedDeviceCachedUsers + * + * @return HardwareInformation The HardwareInformation + */ + public function setSharedDeviceCachedUsers($val) + { + $this->_propDict["sharedDeviceCachedUsers"] = $val; + return $this; + } + /** + * Gets the subnetAddress + * SubnetAddress + * + * @return string|null The subnetAddress + */ + public function getSubnetAddress() + { + if (array_key_exists("subnetAddress", $this->_propDict)) { + return $this->_propDict["subnetAddress"]; + } else { + return null; + } + } + + /** + * Sets the subnetAddress + * SubnetAddress + * + * @param string $val The value of the subnetAddress + * + * @return HardwareInformation + */ + public function setSubnetAddress($val) + { + $this->_propDict["subnetAddress"] = $val; + return $this; + } + /** + * Gets the subscriberCarrier + * Subscriber carrier of the device + * + * @return string|null The subscriberCarrier + */ + public function getSubscriberCarrier() + { + if (array_key_exists("subscriberCarrier", $this->_propDict)) { + return $this->_propDict["subscriberCarrier"]; + } else { + return null; + } + } + + /** + * Sets the subscriberCarrier + * Subscriber carrier of the device + * + * @param string $val The value of the subscriberCarrier + * + * @return HardwareInformation + */ + public function setSubscriberCarrier($val) + { + $this->_propDict["subscriberCarrier"] = $val; + return $this; + } + /** + * Gets the systemManagementBIOSVersion + * BIOS version as reported by SMBIOS + * + * @return string|null The systemManagementBIOSVersion + */ + public function getSystemManagementBIOSVersion() + { + if (array_key_exists("systemManagementBIOSVersion", $this->_propDict)) { + return $this->_propDict["systemManagementBIOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the systemManagementBIOSVersion + * BIOS version as reported by SMBIOS + * + * @param string $val The value of the systemManagementBIOSVersion + * + * @return HardwareInformation + */ + public function setSystemManagementBIOSVersion($val) + { + $this->_propDict["systemManagementBIOSVersion"] = $val; + return $this; + } + /** + * Gets the totalStorageSpace + * Total storage space of the device. + * + * @return int|null The totalStorageSpace + */ + public function getTotalStorageSpace() + { + if (array_key_exists("totalStorageSpace", $this->_propDict)) { + return $this->_propDict["totalStorageSpace"]; + } else { + return null; + } + } + + /** + * Sets the totalStorageSpace + * Total storage space of the device. + * + * @param int $val The value of the totalStorageSpace + * + * @return HardwareInformation + */ + public function setTotalStorageSpace($val) + { + $this->_propDict["totalStorageSpace"] = $val; + return $this; + } + /** + * Gets the tpmManufacturer + * The identifying information that uniquely names the TPM manufacturer + * + * @return string|null The tpmManufacturer + */ + public function getTpmManufacturer() + { + if (array_key_exists("tpmManufacturer", $this->_propDict)) { + return $this->_propDict["tpmManufacturer"]; + } else { + return null; + } + } + + /** + * Sets the tpmManufacturer + * The identifying information that uniquely names the TPM manufacturer + * + * @param string $val The value of the tpmManufacturer + * + * @return HardwareInformation + */ + public function setTpmManufacturer($val) + { + $this->_propDict["tpmManufacturer"] = $val; + return $this; + } + /** + * Gets the tpmSpecificationVersion + * String that specifies the specification version. + * + * @return string|null The tpmSpecificationVersion + */ + public function getTpmSpecificationVersion() + { + if (array_key_exists("tpmSpecificationVersion", $this->_propDict)) { + return $this->_propDict["tpmSpecificationVersion"]; + } else { + return null; + } + } + + /** + * Sets the tpmSpecificationVersion + * String that specifies the specification version. + * + * @param string $val The value of the tpmSpecificationVersion + * + * @return HardwareInformation + */ + public function setTpmSpecificationVersion($val) + { + $this->_propDict["tpmSpecificationVersion"] = $val; + return $this; + } + /** + * Gets the tpmVersion + * The version of the TPM, as specified by the manufacturer + * + * @return string|null The tpmVersion + */ + public function getTpmVersion() + { + if (array_key_exists("tpmVersion", $this->_propDict)) { + return $this->_propDict["tpmVersion"]; + } else { + return null; + } + } + + /** + * Sets the tpmVersion + * The version of the TPM, as specified by the manufacturer + * + * @param string $val The value of the tpmVersion + * + * @return HardwareInformation + */ + public function setTpmVersion($val) + { + $this->_propDict["tpmVersion"] = $val; + return $this; + } + /** + * Gets the wifiMac + * WiFi MAC address of the device + * + * @return string|null The wifiMac + */ + public function getWifiMac() + { + if (array_key_exists("wifiMac", $this->_propDict)) { + return $this->_propDict["wifiMac"]; + } else { + return null; + } + } + + /** + * Sets the wifiMac + * WiFi MAC address of the device + * + * @param string $val The value of the wifiMac + * + * @return HardwareInformation + */ + public function setWifiMac($val) + { + $this->_propDict["wifiMac"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HasPayloadLinkResultItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HasPayloadLinkResultItem.php new file mode 100644 index 0000000..4a7075f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HasPayloadLinkResultItem.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * Exception information indicates if check for this item was successful or not.Empty string for no error. + * + * @param string $val The value of the error + * + * @return HasPayloadLinkResultItem + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the hasLink + * Indicate whether a payload has any link or not. + * + * @return bool|null The hasLink + */ + public function getHasLink() + { + if (array_key_exists("hasLink", $this->_propDict)) { + return $this->_propDict["hasLink"]; + } else { + return null; + } + } + + /** + * Sets the hasLink + * Indicate whether a payload has any link or not. + * + * @param bool $val The value of the hasLink + * + * @return HasPayloadLinkResultItem + */ + public function setHasLink($val) + { + $this->_propDict["hasLink"] = $val; + return $this; + } + /** + * Gets the payloadId + * Key of the Payload, In the format of Guid. + * + * @return string|null The payloadId + */ + public function getPayloadId() + { + if (array_key_exists("payloadId", $this->_propDict)) { + return $this->_propDict["payloadId"]; + } else { + return null; + } + } + + /** + * Sets the payloadId + * Key of the Payload, In the format of Guid. + * + * @param string $val The value of the payloadId + * + * @return HasPayloadLinkResultItem + */ + public function setPayloadId($val) + { + $this->_propDict["payloadId"] = $val; + return $this; + } + + /** + * Gets the sources + * The reason where the link comes from. + * + * @return DeviceAndAppManagementAssignmentSource|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["sources"])) { + return $this->_propDict["sources"]; + } else { + $this->_propDict["sources"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["sources"]); + return $this->_propDict["sources"]; + } + } + return null; + } + + /** + * Sets the sources + * The reason where the link comes from. + * + * @param DeviceAndAppManagementAssignmentSource $val The value to assign to the sources + * + * @return HasPayloadLinkResultItem The HasPayloadLinkResultItem + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HashAlgorithms.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HashAlgorithms.php new file mode 100644 index 0000000..9684ba6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HashAlgorithms.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["crc32Hash"]; + } else { + return null; + } + } + + /** + * Sets the crc32Hash + * The CRC32 value of the file (if available). Read-only. + * + * @param string $val The value of the crc32Hash + * + * @return Hashes + */ + public function setCrc32Hash($val) + { + $this->_propDict["crc32Hash"] = $val; + return $this; + } + /** + * Gets the quickXorHash + * A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only. + * + * @return string|null The quickXorHash + */ + public function getQuickXorHash() + { + if (array_key_exists("quickXorHash", $this->_propDict)) { + return $this->_propDict["quickXorHash"]; + } else { + return null; + } + } + + /** + * Sets the quickXorHash + * A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only. + * + * @param string $val The value of the quickXorHash + * + * @return Hashes + */ + public function setQuickXorHash($val) + { + $this->_propDict["quickXorHash"] = $val; + return $this; + } + /** + * Gets the sha1Hash + * SHA1 hash for the contents of the file (if available). Read-only. + * + * @return string|null The sha1Hash + */ + public function getSha1Hash() + { + if (array_key_exists("sha1Hash", $this->_propDict)) { + return $this->_propDict["sha1Hash"]; + } else { + return null; + } + } + + /** + * Sets the sha1Hash + * SHA1 hash for the contents of the file (if available). Read-only. + * + * @param string $val The value of the sha1Hash + * + * @return Hashes + */ + public function setSha1Hash($val) + { + $this->_propDict["sha1Hash"] = $val; + return $this; + } + /** + * Gets the sha256Hash + * SHA256 hash for the contents of the file (if available). Read-only. + * + * @return string|null The sha256Hash + */ + public function getSha256Hash() + { + if (array_key_exists("sha256Hash", $this->_propDict)) { + return $this->_propDict["sha256Hash"]; + } else { + return null; + } + } + + /** + * Sets the sha256Hash + * SHA256 hash for the contents of the file (if available). Read-only. + * + * @param string $val The value of the sha256Hash + * + * @return Hashes + */ + public function setSha256Hash($val) + { + $this->_propDict["sha256Hash"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HealthState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HealthState.php new file mode 100644 index 0000000..a5d4903 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HealthState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * + * @param string $val The azureSubscriptionId + * + * @return HostSecurityProfile + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return HostSecurityProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return HostSecurityProfile + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the fqdn + * + * @return string|null The fqdn + */ + public function getFqdn() + { + if (array_key_exists("fqdn", $this->_propDict)) { + return $this->_propDict["fqdn"]; + } else { + return null; + } + } + + /** + * Sets the fqdn + * + * @param string $val The fqdn + * + * @return HostSecurityProfile + */ + public function setFqdn($val) + { + $this->_propDict["fqdn"] = $val; + return $this; + } + + /** + * Gets the isAzureAdJoined + * + * @return bool|null The isAzureAdJoined + */ + public function getIsAzureAdJoined() + { + if (array_key_exists("isAzureAdJoined", $this->_propDict)) { + return $this->_propDict["isAzureAdJoined"]; + } else { + return null; + } + } + + /** + * Sets the isAzureAdJoined + * + * @param bool $val The isAzureAdJoined + * + * @return HostSecurityProfile + */ + public function setIsAzureAdJoined($val) + { + $this->_propDict["isAzureAdJoined"] = boolval($val); + return $this; + } + + /** + * Gets the isAzureAdRegistered + * + * @return bool|null The isAzureAdRegistered + */ + public function getIsAzureAdRegistered() + { + if (array_key_exists("isAzureAdRegistered", $this->_propDict)) { + return $this->_propDict["isAzureAdRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isAzureAdRegistered + * + * @param bool $val The isAzureAdRegistered + * + * @return HostSecurityProfile + */ + public function setIsAzureAdRegistered($val) + { + $this->_propDict["isAzureAdRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the isHybridAzureDomainJoined + * + * @return bool|null The isHybridAzureDomainJoined + */ + public function getIsHybridAzureDomainJoined() + { + if (array_key_exists("isHybridAzureDomainJoined", $this->_propDict)) { + return $this->_propDict["isHybridAzureDomainJoined"]; + } else { + return null; + } + } + + /** + * Sets the isHybridAzureDomainJoined + * + * @param bool $val The isHybridAzureDomainJoined + * + * @return HostSecurityProfile + */ + public function setIsHybridAzureDomainJoined($val) + { + $this->_propDict["isHybridAzureDomainJoined"] = boolval($val); + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return HostSecurityProfile + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the logonUsers + * + * @return array|null The logonUsers + */ + public function getLogonUsers() + { + if (array_key_exists("logonUsers", $this->_propDict)) { + return $this->_propDict["logonUsers"]; + } else { + return null; + } + } + + /** + * Sets the logonUsers + * + * @param LogonUser[] $val The logonUsers + * + * @return HostSecurityProfile + */ + public function setLogonUsers($val) + { + $this->_propDict["logonUsers"] = $val; + return $this; + } + + /** + * Gets the netBiosName + * + * @return string|null The netBiosName + */ + public function getNetBiosName() + { + if (array_key_exists("netBiosName", $this->_propDict)) { + return $this->_propDict["netBiosName"]; + } else { + return null; + } + } + + /** + * Sets the netBiosName + * + * @param string $val The netBiosName + * + * @return HostSecurityProfile + */ + public function setNetBiosName($val) + { + $this->_propDict["netBiosName"] = $val; + return $this; + } + + + /** + * Gets the networkInterfaces + * + * @return array|null The networkInterfaces + */ + public function getNetworkInterfaces() + { + if (array_key_exists("networkInterfaces", $this->_propDict)) { + return $this->_propDict["networkInterfaces"]; + } else { + return null; + } + } + + /** + * Sets the networkInterfaces + * + * @param NetworkInterface[] $val The networkInterfaces + * + * @return HostSecurityProfile + */ + public function setNetworkInterfaces($val) + { + $this->_propDict["networkInterfaces"] = $val; + return $this; + } + + /** + * Gets the os + * + * @return string|null The os + */ + public function getOs() + { + if (array_key_exists("os", $this->_propDict)) { + return $this->_propDict["os"]; + } else { + return null; + } + } + + /** + * Sets the os + * + * @param string $val The os + * + * @return HostSecurityProfile + */ + public function setOs($val) + { + $this->_propDict["os"] = $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 HostSecurityProfile + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the parentHost + * + * @return string|null The parentHost + */ + public function getParentHost() + { + if (array_key_exists("parentHost", $this->_propDict)) { + return $this->_propDict["parentHost"]; + } else { + return null; + } + } + + /** + * Sets the parentHost + * + * @param string $val The parentHost + * + * @return HostSecurityProfile + */ + public function setParentHost($val) + { + $this->_propDict["parentHost"] = $val; + return $this; + } + + /** + * Gets the relatedHostIds + * + * @return string|null The relatedHostIds + */ + public function getRelatedHostIds() + { + if (array_key_exists("relatedHostIds", $this->_propDict)) { + return $this->_propDict["relatedHostIds"]; + } else { + return null; + } + } + + /** + * Sets the relatedHostIds + * + * @param string $val The relatedHostIds + * + * @return HostSecurityProfile + */ + public function setRelatedHostIds($val) + { + $this->_propDict["relatedHostIds"] = $val; + return $this; + } + + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The riskScore + * + * @return HostSecurityProfile + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the tags + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string $val The tags + * + * @return HostSecurityProfile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return HostSecurityProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HostSecurityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HostSecurityState.php new file mode 100644 index 0000000..a67047c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HostSecurityState.php @@ -0,0 +1,274 @@ +_propDict)) { + return $this->_propDict["fqdn"]; + } else { + return null; + } + } + + /** + * Sets the fqdn + * Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com). + * + * @param string $val The value of the fqdn + * + * @return HostSecurityState + */ + public function setFqdn($val) + { + $this->_propDict["fqdn"] = $val; + return $this; + } + /** + * Gets the isAzureAdJoined + * + * @return bool|null The isAzureAdJoined + */ + public function getIsAzureAdJoined() + { + if (array_key_exists("isAzureAdJoined", $this->_propDict)) { + return $this->_propDict["isAzureAdJoined"]; + } else { + return null; + } + } + + /** + * Sets the isAzureAdJoined + * + * @param bool $val The value of the isAzureAdJoined + * + * @return HostSecurityState + */ + public function setIsAzureAdJoined($val) + { + $this->_propDict["isAzureAdJoined"] = $val; + return $this; + } + /** + * Gets the isAzureAdRegistered + * + * @return bool|null The isAzureAdRegistered + */ + public function getIsAzureAdRegistered() + { + if (array_key_exists("isAzureAdRegistered", $this->_propDict)) { + return $this->_propDict["isAzureAdRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isAzureAdRegistered + * + * @param bool $val The value of the isAzureAdRegistered + * + * @return HostSecurityState + */ + public function setIsAzureAdRegistered($val) + { + $this->_propDict["isAzureAdRegistered"] = $val; + return $this; + } + /** + * Gets the isHybridAzureDomainJoined + * True if the host is domain joined to an on-premises Active Directory domain. + * + * @return bool|null The isHybridAzureDomainJoined + */ + public function getIsHybridAzureDomainJoined() + { + if (array_key_exists("isHybridAzureDomainJoined", $this->_propDict)) { + return $this->_propDict["isHybridAzureDomainJoined"]; + } else { + return null; + } + } + + /** + * Sets the isHybridAzureDomainJoined + * True if the host is domain joined to an on-premises Active Directory domain. + * + * @param bool $val The value of the isHybridAzureDomainJoined + * + * @return HostSecurityState + */ + public function setIsHybridAzureDomainJoined($val) + { + $this->_propDict["isHybridAzureDomainJoined"] = $val; + return $this; + } + /** + * Gets the netBiosName + * The local host name, without the DNS domain name. + * + * @return string|null The netBiosName + */ + public function getNetBiosName() + { + if (array_key_exists("netBiosName", $this->_propDict)) { + return $this->_propDict["netBiosName"]; + } else { + return null; + } + } + + /** + * Sets the netBiosName + * The local host name, without the DNS domain name. + * + * @param string $val The value of the netBiosName + * + * @return HostSecurityState + */ + public function setNetBiosName($val) + { + $this->_propDict["netBiosName"] = $val; + return $this; + } + /** + * Gets the os + * Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). + * + * @return string|null The os + */ + public function getOs() + { + if (array_key_exists("os", $this->_propDict)) { + return $this->_propDict["os"]; + } else { + return null; + } + } + + /** + * Sets the os + * Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). + * + * @param string $val The value of the os + * + * @return HostSecurityState + */ + public function setOs($val) + { + $this->_propDict["os"] = $val; + return $this; + } + /** + * Gets the privateIpAddress + * Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert. + * + * @return string|null The privateIpAddress + */ + public function getPrivateIpAddress() + { + if (array_key_exists("privateIpAddress", $this->_propDict)) { + return $this->_propDict["privateIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the privateIpAddress + * Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert. + * + * @param string $val The value of the privateIpAddress + * + * @return HostSecurityState + */ + public function setPrivateIpAddress($val) + { + $this->_propDict["privateIpAddress"] = $val; + return $this; + } + /** + * Gets the publicIpAddress + * Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert. + * + * @return string|null The publicIpAddress + */ + public function getPublicIpAddress() + { + if (array_key_exists("publicIpAddress", $this->_propDict)) { + return $this->_propDict["publicIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the publicIpAddress + * Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert. + * + * @param string $val The value of the publicIpAddress + * + * @return HostSecurityState + */ + public function setPublicIpAddress($val) + { + $this->_propDict["publicIpAddress"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return HostSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HybridAgentUpdaterConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HybridAgentUpdaterConfiguration.php new file mode 100644 index 0000000..b6aa28b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HybridAgentUpdaterConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["allowUpdateConfigurationOverride"]; + } else { + return null; + } + } + + /** + * Sets the allowUpdateConfigurationOverride + * Indicates if updater configuration will be skipped and the agent will receive an update when the next version of the agent is available. + * + * @param bool $val The value of the allowUpdateConfigurationOverride + * + * @return HybridAgentUpdaterConfiguration + */ + public function setAllowUpdateConfigurationOverride($val) + { + $this->_propDict["allowUpdateConfigurationOverride"] = $val; + return $this; + } + + /** + * Gets the deferUpdateDateTime + * 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 deferUpdateDateTime + */ + public function getDeferUpdateDateTime() + { + if (array_key_exists("deferUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deferUpdateDateTime"], "\DateTime") || is_null($this->_propDict["deferUpdateDateTime"])) { + return $this->_propDict["deferUpdateDateTime"]; + } else { + $this->_propDict["deferUpdateDateTime"] = new \DateTime($this->_propDict["deferUpdateDateTime"]); + return $this->_propDict["deferUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the deferUpdateDateTime + * 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 deferUpdateDateTime + * + * @return HybridAgentUpdaterConfiguration The HybridAgentUpdaterConfiguration + */ + public function setDeferUpdateDateTime($val) + { + $this->_propDict["deferUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the updateWindow + * + * @return UpdateWindow|null The updateWindow + */ + public function getUpdateWindow() + { + if (array_key_exists("updateWindow", $this->_propDict)) { + if (is_a($this->_propDict["updateWindow"], "\Beta\Microsoft\Graph\Model\UpdateWindow") || is_null($this->_propDict["updateWindow"])) { + return $this->_propDict["updateWindow"]; + } else { + $this->_propDict["updateWindow"] = new UpdateWindow($this->_propDict["updateWindow"]); + return $this->_propDict["updateWindow"]; + } + } + return null; + } + + /** + * Sets the updateWindow + * + * @param UpdateWindow $val The value to assign to the updateWindow + * + * @return HybridAgentUpdaterConfiguration The HybridAgentUpdaterConfiguration + */ + public function setUpdateWindow($val) + { + $this->_propDict["updateWindow"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HyperlinkOrPictureColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HyperlinkOrPictureColumn.php new file mode 100644 index 0000000..e66dd38 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HyperlinkOrPictureColumn.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isPicture"]; + } else { + return null; + } + } + + /** + * Sets the isPicture + * Specifies whether the display format used for URL columns is an image or a hyperlink. + * + * @param bool $val The value of the isPicture + * + * @return HyperlinkOrPictureColumn + */ + public function setIsPicture($val) + { + $this->_propDict["isPicture"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4CidrRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4CidrRange.php new file mode 100644 index 0000000..3933a06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4CidrRange.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iPv4CidrRange"); + } + + /** + * Gets the cidrAddress + * IPv4 address in CIDR notation. Not nullable. + * + * @return string|null The cidrAddress + */ + public function getCidrAddress() + { + if (array_key_exists("cidrAddress", $this->_propDict)) { + return $this->_propDict["cidrAddress"]; + } else { + return null; + } + } + + /** + * Sets the cidrAddress + * IPv4 address in CIDR notation. Not nullable. + * + * @param string $val The value of the cidrAddress + * + * @return IPv4CidrRange + */ + public function setCidrAddress($val) + { + $this->_propDict["cidrAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4Range.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4Range.php new file mode 100644 index 0000000..e1feb4e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4Range.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.iPv4Range"); + } + + /** + * Gets the lowerAddress + * Lower address. + * + * @return string|null The lowerAddress + */ + public function getLowerAddress() + { + if (array_key_exists("lowerAddress", $this->_propDict)) { + return $this->_propDict["lowerAddress"]; + } else { + return null; + } + } + + /** + * Sets the lowerAddress + * Lower address. + * + * @param string $val The value of the lowerAddress + * + * @return IPv4Range + */ + public function setLowerAddress($val) + { + $this->_propDict["lowerAddress"] = $val; + return $this; + } + /** + * Gets the upperAddress + * Upper address. + * + * @return string|null The upperAddress + */ + public function getUpperAddress() + { + if (array_key_exists("upperAddress", $this->_propDict)) { + return $this->_propDict["upperAddress"]; + } else { + return null; + } + } + + /** + * Sets the upperAddress + * Upper address. + * + * @param string $val The value of the upperAddress + * + * @return IPv4Range + */ + public function setUpperAddress($val) + { + $this->_propDict["upperAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6CidrRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6CidrRange.php new file mode 100644 index 0000000..7db45aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6CidrRange.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iPv6CidrRange"); + } + + /** + * Gets the cidrAddress + * IPv6 address in CIDR notation. Not nullable. + * + * @return string|null The cidrAddress + */ + public function getCidrAddress() + { + if (array_key_exists("cidrAddress", $this->_propDict)) { + return $this->_propDict["cidrAddress"]; + } else { + return null; + } + } + + /** + * Sets the cidrAddress + * IPv6 address in CIDR notation. Not nullable. + * + * @param string $val The value of the cidrAddress + * + * @return IPv6CidrRange + */ + public function setCidrAddress($val) + { + $this->_propDict["cidrAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6Range.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6Range.php new file mode 100644 index 0000000..c6e94ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6Range.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.iPv6Range"); + } + + /** + * Gets the lowerAddress + * Lower address. + * + * @return string|null The lowerAddress + */ + public function getLowerAddress() + { + if (array_key_exists("lowerAddress", $this->_propDict)) { + return $this->_propDict["lowerAddress"]; + } else { + return null; + } + } + + /** + * Sets the lowerAddress + * Lower address. + * + * @param string $val The value of the lowerAddress + * + * @return IPv6Range + */ + public function setLowerAddress($val) + { + $this->_propDict["lowerAddress"] = $val; + return $this; + } + /** + * Gets the upperAddress + * Upper address. + * + * @return string|null The upperAddress + */ + public function getUpperAddress() + { + if (array_key_exists("upperAddress", $this->_propDict)) { + return $this->_propDict["upperAddress"]; + } else { + return null; + } + } + + /** + * Sets the upperAddress + * Upper address. + * + * @param string $val The value of the upperAddress + * + * @return IPv6Range + */ + public function setUpperAddress($val) + { + $this->_propDict["upperAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ITunesPairingMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ITunesPairingMode.php new file mode 100644 index 0000000..d95443c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ITunesPairingMode.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * + * @param string $val The value of the displayName + * + * @return Identity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier for the identity. + * + * @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 + * Unique identifier for the identity. + * + * @param string $val The value of the id + * + * @return Identity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityApiConnector.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityApiConnector.php new file mode 100644 index 0000000..a03ca5e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityApiConnector.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationConfiguration"], "\Beta\Microsoft\Graph\Model\ApiAuthenticationConfigurationBase") || is_null($this->_propDict["authenticationConfiguration"])) { + return $this->_propDict["authenticationConfiguration"]; + } else { + $this->_propDict["authenticationConfiguration"] = new ApiAuthenticationConfigurationBase($this->_propDict["authenticationConfiguration"]); + return $this->_propDict["authenticationConfiguration"]; + } + } + return null; + } + + /** + * Sets the authenticationConfiguration + * The object which describes the authentication configuration details for calling the API. Basic and PKCS 12 client certificate are supported. + * + * @param ApiAuthenticationConfigurationBase $val The authenticationConfiguration + * + * @return IdentityApiConnector + */ + public function setAuthenticationConfiguration($val) + { + $this->_propDict["authenticationConfiguration"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the API connector. + * + * @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 + * The name of the API connector. + * + * @param string $val The displayName + * + * @return IdentityApiConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the targetUrl + * The URL of the API endpoint to call. + * + * @return string|null The targetUrl + */ + public function getTargetUrl() + { + if (array_key_exists("targetUrl", $this->_propDict)) { + return $this->_propDict["targetUrl"]; + } else { + return null; + } + } + + /** + * Sets the targetUrl + * The URL of the API endpoint to call. + * + * @param string $val The targetUrl + * + * @return IdentityApiConnector + */ + public function setTargetUrl($val) + { + $this->_propDict["targetUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityBuiltInUserFlowAttribute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityBuiltInUserFlowAttribute.php new file mode 100644 index 0000000..4102f90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityBuiltInUserFlowAttribute.php @@ -0,0 +1,27 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the IdentityContainer + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the conditionalAccess + * the entry point for the Conditional Access (CA) object model. + * + * @return ConditionalAccessRoot|null The conditionalAccess + */ + public function getConditionalAccess() + { + if (array_key_exists("conditionalAccess", $this->_propDict)) { + if (is_a($this->_propDict["conditionalAccess"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRoot") || is_null($this->_propDict["conditionalAccess"])) { + return $this->_propDict["conditionalAccess"]; + } else { + $this->_propDict["conditionalAccess"] = new ConditionalAccessRoot($this->_propDict["conditionalAccess"]); + return $this->_propDict["conditionalAccess"]; + } + } + return null; + } + + /** + * Sets the conditionalAccess + * the entry point for the Conditional Access (CA) object model. + * + * @param ConditionalAccessRoot $val The conditionalAccess + * + * @return IdentityContainer + */ + public function setConditionalAccess($val) + { + $this->_propDict["conditionalAccess"] = $val; + return $this; + } + + + /** + * Gets the apiConnectors + * Represents entry point for API connectors. + * + * @return array|null The apiConnectors + */ + public function getApiConnectors() + { + if (array_key_exists("apiConnectors", $this->_propDict)) { + return $this->_propDict["apiConnectors"]; + } else { + return null; + } + } + + /** + * Sets the apiConnectors + * Represents entry point for API connectors. + * + * @param IdentityApiConnector[] $val The apiConnectors + * + * @return IdentityContainer + */ + public function setApiConnectors($val) + { + $this->_propDict["apiConnectors"] = $val; + return $this; + } + + + /** + * Gets the b2cUserFlows + * Represents entry point for B2C identity userflows. + * + * @return array|null The b2cUserFlows + */ + public function getB2cUserFlows() + { + if (array_key_exists("b2cUserFlows", $this->_propDict)) { + return $this->_propDict["b2cUserFlows"]; + } else { + return null; + } + } + + /** + * Sets the b2cUserFlows + * Represents entry point for B2C identity userflows. + * + * @param B2cIdentityUserFlow[] $val The b2cUserFlows + * + * @return IdentityContainer + */ + public function setB2cUserFlows($val) + { + $this->_propDict["b2cUserFlows"] = $val; + return $this; + } + + + /** + * Gets the b2xUserFlows + * Represents entry point for B2X and self-service sign-up identity userflows. + * + * @return array|null The b2xUserFlows + */ + public function getB2xUserFlows() + { + if (array_key_exists("b2xUserFlows", $this->_propDict)) { + return $this->_propDict["b2xUserFlows"]; + } else { + return null; + } + } + + /** + * Sets the b2xUserFlows + * Represents entry point for B2X and self-service sign-up identity userflows. + * + * @param B2xIdentityUserFlow[] $val The b2xUserFlows + * + * @return IdentityContainer + */ + public function setB2xUserFlows($val) + { + $this->_propDict["b2xUserFlows"] = $val; + return $this; + } + + + /** + * Gets the identityProviders + * Represents entry point for identity provider base. + * + * @return array|null The identityProviders + */ + public function getIdentityProviders() + { + if (array_key_exists("identityProviders", $this->_propDict)) { + return $this->_propDict["identityProviders"]; + } else { + return null; + } + } + + /** + * Sets the identityProviders + * Represents entry point for identity provider base. + * + * @param IdentityProviderBase[] $val The identityProviders + * + * @return IdentityContainer + */ + public function setIdentityProviders($val) + { + $this->_propDict["identityProviders"] = $val; + return $this; + } + + + /** + * Gets the userFlowAttributes + * Represents entry point for identity userflow attributes. + * + * @return array|null The userFlowAttributes + */ + public function getUserFlowAttributes() + { + if (array_key_exists("userFlowAttributes", $this->_propDict)) { + return $this->_propDict["userFlowAttributes"]; + } else { + return null; + } + } + + /** + * Sets the userFlowAttributes + * Represents entry point for identity userflow attributes. + * + * @param IdentityUserFlowAttribute[] $val The userFlowAttributes + * + * @return IdentityContainer + */ + public function setUserFlowAttributes($val) + { + $this->_propDict["userFlowAttributes"] = $val; + return $this; + } + + + /** + * Gets the userFlows + * + * @return array|null The userFlows + */ + public function getUserFlows() + { + if (array_key_exists("userFlows", $this->_propDict)) { + return $this->_propDict["userFlows"]; + } else { + return null; + } + } + + /** + * Sets the userFlows + * + * @param IdentityUserFlow[] $val The userFlows + * + * @return IdentityContainer + */ + public function setUserFlows($val) + { + $this->_propDict["userFlows"] = $val; + return $this; + } + + /** + * Gets the continuousAccessEvaluationPolicy + * Represents entry point for continuous access evaluation policy. + * + * @return ContinuousAccessEvaluationPolicy|null The continuousAccessEvaluationPolicy + */ + public function getContinuousAccessEvaluationPolicy() + { + if (array_key_exists("continuousAccessEvaluationPolicy", $this->_propDict)) { + if (is_a($this->_propDict["continuousAccessEvaluationPolicy"], "\Beta\Microsoft\Graph\Model\ContinuousAccessEvaluationPolicy") || is_null($this->_propDict["continuousAccessEvaluationPolicy"])) { + return $this->_propDict["continuousAccessEvaluationPolicy"]; + } else { + $this->_propDict["continuousAccessEvaluationPolicy"] = new ContinuousAccessEvaluationPolicy($this->_propDict["continuousAccessEvaluationPolicy"]); + return $this->_propDict["continuousAccessEvaluationPolicy"]; + } + } + return null; + } + + /** + * Sets the continuousAccessEvaluationPolicy + * Represents entry point for continuous access evaluation policy. + * + * @param ContinuousAccessEvaluationPolicy $val The continuousAccessEvaluationPolicy + * + * @return IdentityContainer + */ + public function setContinuousAccessEvaluationPolicy($val) + { + $this->_propDict["continuousAccessEvaluationPolicy"] = $val; + 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 IdentityContainer + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityCustomUserFlowAttribute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityCustomUserFlowAttribute.php new file mode 100644 index 0000000..4d1fdfa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityCustomUserFlowAttribute.php @@ -0,0 +1,27 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the IdentityGovernance + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the accessReviews + * + * @return AccessReviewSet|null The accessReviews + */ + public function getAccessReviews() + { + if (array_key_exists("accessReviews", $this->_propDict)) { + if (is_a($this->_propDict["accessReviews"], "\Beta\Microsoft\Graph\Model\AccessReviewSet") || is_null($this->_propDict["accessReviews"])) { + return $this->_propDict["accessReviews"]; + } else { + $this->_propDict["accessReviews"] = new AccessReviewSet($this->_propDict["accessReviews"]); + return $this->_propDict["accessReviews"]; + } + } + return null; + } + + /** + * Sets the accessReviews + * + * @param AccessReviewSet $val The accessReviews + * + * @return IdentityGovernance + */ + public function setAccessReviews($val) + { + $this->_propDict["accessReviews"] = $val; + return $this; + } + + /** + * Gets the appConsent + * + * @return AppConsentApprovalRoute|null The appConsent + */ + public function getAppConsent() + { + if (array_key_exists("appConsent", $this->_propDict)) { + if (is_a($this->_propDict["appConsent"], "\Beta\Microsoft\Graph\Model\AppConsentApprovalRoute") || is_null($this->_propDict["appConsent"])) { + return $this->_propDict["appConsent"]; + } else { + $this->_propDict["appConsent"] = new AppConsentApprovalRoute($this->_propDict["appConsent"]); + return $this->_propDict["appConsent"]; + } + } + return null; + } + + /** + * Sets the appConsent + * + * @param AppConsentApprovalRoute $val The appConsent + * + * @return IdentityGovernance + */ + public function setAppConsent($val) + { + $this->_propDict["appConsent"] = $val; + return $this; + } + + /** + * Gets the termsOfUse + * + * @return TermsOfUseContainer|null The termsOfUse + */ + public function getTermsOfUse() + { + if (array_key_exists("termsOfUse", $this->_propDict)) { + if (is_a($this->_propDict["termsOfUse"], "\Beta\Microsoft\Graph\Model\TermsOfUseContainer") || is_null($this->_propDict["termsOfUse"])) { + return $this->_propDict["termsOfUse"]; + } else { + $this->_propDict["termsOfUse"] = new TermsOfUseContainer($this->_propDict["termsOfUse"]); + return $this->_propDict["termsOfUse"]; + } + } + return null; + } + + /** + * Sets the termsOfUse + * + * @param TermsOfUseContainer $val The termsOfUse + * + * @return IdentityGovernance + */ + public function setTermsOfUse($val) + { + $this->_propDict["termsOfUse"] = $val; + return $this; + } + + /** + * Gets the entitlementManagement + * + * @return EntitlementManagement|null The entitlementManagement + */ + public function getEntitlementManagement() + { + if (array_key_exists("entitlementManagement", $this->_propDict)) { + if (is_a($this->_propDict["entitlementManagement"], "\Beta\Microsoft\Graph\Model\EntitlementManagement") || is_null($this->_propDict["entitlementManagement"])) { + return $this->_propDict["entitlementManagement"]; + } else { + $this->_propDict["entitlementManagement"] = new EntitlementManagement($this->_propDict["entitlementManagement"]); + return $this->_propDict["entitlementManagement"]; + } + } + return null; + } + + /** + * Sets the entitlementManagement + * + * @param EntitlementManagement $val The entitlementManagement + * + * @return IdentityGovernance + */ + public function setEntitlementManagement($val) + { + $this->_propDict["entitlementManagement"] = $val; + 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 IdentityGovernance + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProtectionRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProtectionRoot.php new file mode 100644 index 0000000..a44df05 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProtectionRoot.php @@ -0,0 +1,224 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the IdentityProtectionRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the riskDetections + * Risk detection in Azure AD Identity Protection and the associated information about the detection. + * + * @return array|null The riskDetections + */ + public function getRiskDetections() + { + if (array_key_exists("riskDetections", $this->_propDict)) { + return $this->_propDict["riskDetections"]; + } else { + return null; + } + } + + /** + * Sets the riskDetections + * Risk detection in Azure AD Identity Protection and the associated information about the detection. + * + * @param RiskDetection[] $val The riskDetections + * + * @return IdentityProtectionRoot + */ + public function setRiskDetections($val) + { + $this->_propDict["riskDetections"] = $val; + return $this; + } + + + /** + * Gets the riskyServicePrincipals + * Azure AD service principals that are at risk. + * + * @return array|null The riskyServicePrincipals + */ + public function getRiskyServicePrincipals() + { + if (array_key_exists("riskyServicePrincipals", $this->_propDict)) { + return $this->_propDict["riskyServicePrincipals"]; + } else { + return null; + } + } + + /** + * Sets the riskyServicePrincipals + * Azure AD service principals that are at risk. + * + * @param RiskyServicePrincipal[] $val The riskyServicePrincipals + * + * @return IdentityProtectionRoot + */ + public function setRiskyServicePrincipals($val) + { + $this->_propDict["riskyServicePrincipals"] = $val; + return $this; + } + + + /** + * Gets the riskyUsers + * Users that are flagged as at-risk by Azure AD Identity Protection. + * + * @return array|null The riskyUsers + */ + public function getRiskyUsers() + { + if (array_key_exists("riskyUsers", $this->_propDict)) { + return $this->_propDict["riskyUsers"]; + } else { + return null; + } + } + + /** + * Sets the riskyUsers + * Users that are flagged as at-risk by Azure AD Identity Protection. + * + * @param RiskyUser[] $val The riskyUsers + * + * @return IdentityProtectionRoot + */ + public function setRiskyUsers($val) + { + $this->_propDict["riskyUsers"] = $val; + return $this; + } + + + /** + * Gets the servicePrincipalRiskDetections + * Represents information about detected at-risk service principals in an Azure AD tenant. + * + * @return array|null The servicePrincipalRiskDetections + */ + public function getServicePrincipalRiskDetections() + { + if (array_key_exists("servicePrincipalRiskDetections", $this->_propDict)) { + return $this->_propDict["servicePrincipalRiskDetections"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalRiskDetections + * Represents information about detected at-risk service principals in an Azure AD tenant. + * + * @param ServicePrincipalRiskDetection[] $val The servicePrincipalRiskDetections + * + * @return IdentityProtectionRoot + */ + public function setServicePrincipalRiskDetections($val) + { + $this->_propDict["servicePrincipalRiskDetections"] = $val; + 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 IdentityProtectionRoot + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProvider.php new file mode 100644 index 0000000..a5507dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProvider.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The client ID for the application obtained when registering the application with the identity provider. This is a required field. Required. Not nullable. + * + * @param string $val The clientId + * + * @return IdentityProvider + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the clientSecret + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * + * @param string $val The clientSecret + * + * @return IdentityProvider + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } + + /** + * Gets the name + * The display name of the identity provider. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the identity provider. Not nullable. + * + * @param string $val The name + * + * @return IdentityProvider + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the type + * The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo,QQ, WeChat, OpenIDConnect. Not nullable. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo,QQ, WeChat, OpenIDConnect. Not nullable. + * + * @param string $val The type + * + * @return IdentityProvider + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProviderBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProviderBase.php new file mode 100644 index 0000000..0453493 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProviderBase.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the identity provider. + * + * @param string $val The displayName + * + * @return IdentityProviderBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php new file mode 100644 index 0000000..5ff2f82 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * If set to true, Azure Active Directory security defaults is enabled for the tenant. + * + * @param bool $val The isEnabled + * + * @return IdentitySecurityDefaultsEnforcementPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySet.php new file mode 100644 index 0000000..2046ffd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySet.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Identity($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * The Identity of the Application. This property is read-only. + * + * @param Identity $val The value to assign to the application + * + * @return IdentitySet The IdentitySet + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + /** + * Gets the device + * The Identity of the Device. This property is read-only. + * + * @return Identity|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Identity($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * The Identity of the Device. This property is read-only. + * + * @param Identity $val The value to assign to the device + * + * @return IdentitySet The IdentitySet + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + + /** + * Gets the user + * The Identity of the User. This property is read-only. + * + * @return Identity|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new Identity($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * The Identity of the User. This property is read-only. + * + * @param Identity $val The value to assign to the user + * + * @return IdentitySet The IdentitySet + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySource.php new file mode 100644 index 0000000..362ad71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySource.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["userFlowType"], "\Beta\Microsoft\Graph\Model\UserFlowType") || is_null($this->_propDict["userFlowType"])) { + return $this->_propDict["userFlowType"]; + } else { + $this->_propDict["userFlowType"] = new UserFlowType($this->_propDict["userFlowType"]); + return $this->_propDict["userFlowType"]; + } + } + return null; + } + + /** + * Sets the userFlowType + * + * @param UserFlowType $val The userFlowType + * + * @return IdentityUserFlow + */ + public function setUserFlowType($val) + { + $this->_propDict["userFlowType"] = $val; + return $this; + } + + /** + * Gets the userFlowTypeVersion + * + * @return float|null The userFlowTypeVersion + */ + public function getUserFlowTypeVersion() + { + if (array_key_exists("userFlowTypeVersion", $this->_propDict)) { + return $this->_propDict["userFlowTypeVersion"]; + } else { + return null; + } + } + + /** + * Sets the userFlowTypeVersion + * + * @param float $val The userFlowTypeVersion + * + * @return IdentityUserFlow + */ + public function setUserFlowTypeVersion($val) + { + $this->_propDict["userFlowTypeVersion"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php new file mode 100644 index 0000000..06c6a37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttributeDataType") || is_null($this->_propDict["dataType"])) { + return $this->_propDict["dataType"]; + } else { + $this->_propDict["dataType"] = new IdentityUserFlowAttributeDataType($this->_propDict["dataType"]); + return $this->_propDict["dataType"]; + } + } + return null; + } + + /** + * Sets the dataType + * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime. + * + * @param IdentityUserFlowAttributeDataType $val The dataType + * + * @return IdentityUserFlowAttribute + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the user flow attribute that's shown to the user at the time of sign-up. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the user flow attribute that's shown to the user at the time of sign-up. + * + * @param string $val The description + * + * @return IdentityUserFlowAttribute + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the user flow attribute. + * + * @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 + * The display name of the user flow attribute. + * + * @param string $val The displayName + * + * @return IdentityUserFlowAttribute + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the userFlowAttributeType + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, or required. + * + * @return IdentityUserFlowAttributeType|null The userFlowAttributeType + */ + public function getUserFlowAttributeType() + { + if (array_key_exists("userFlowAttributeType", $this->_propDict)) { + if (is_a($this->_propDict["userFlowAttributeType"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttributeType") || is_null($this->_propDict["userFlowAttributeType"])) { + return $this->_propDict["userFlowAttributeType"]; + } else { + $this->_propDict["userFlowAttributeType"] = new IdentityUserFlowAttributeType($this->_propDict["userFlowAttributeType"]); + return $this->_propDict["userFlowAttributeType"]; + } + } + return null; + } + + /** + * Sets the userFlowAttributeType + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, or required. + * + * @param IdentityUserFlowAttributeType $val The userFlowAttributeType + * + * @return IdentityUserFlowAttribute + */ + public function setUserFlowAttributeType($val) + { + $this->_propDict["userFlowAttributeType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php new file mode 100644 index 0000000..60d953b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php @@ -0,0 +1,210 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the identityUserFlowAttribute within a user flow. + * + * @param string $val The displayName + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isOptional + * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user cannot complete sign-up without providing a value. + * + * @return bool|null The isOptional + */ + public function getIsOptional() + { + if (array_key_exists("isOptional", $this->_propDict)) { + return $this->_propDict["isOptional"]; + } else { + return null; + } + } + + /** + * Sets the isOptional + * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user cannot complete sign-up without providing a value. + * + * @param bool $val The isOptional + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setIsOptional($val) + { + $this->_propDict["isOptional"] = boolval($val); + return $this; + } + + /** + * Gets the requiresVerification + * Determines whether the identityUserFlowAttribute requires verification. This is only used for verifying the user's phone number or email address. + * + * @return bool|null The requiresVerification + */ + public function getRequiresVerification() + { + if (array_key_exists("requiresVerification", $this->_propDict)) { + return $this->_propDict["requiresVerification"]; + } else { + return null; + } + } + + /** + * Sets the requiresVerification + * Determines whether the identityUserFlowAttribute requires verification. This is only used for verifying the user's phone number or email address. + * + * @param bool $val The requiresVerification + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setRequiresVerification($val) + { + $this->_propDict["requiresVerification"] = boolval($val); + return $this; + } + + + /** + * Gets the userAttributeValues + * The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect. + * + * @return array|null The userAttributeValues + */ + public function getUserAttributeValues() + { + if (array_key_exists("userAttributeValues", $this->_propDict)) { + return $this->_propDict["userAttributeValues"]; + } else { + return null; + } + } + + /** + * Sets the userAttributeValues + * The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect. + * + * @param UserAttributeValuesItem[] $val The userAttributeValues + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setUserAttributeValues($val) + { + $this->_propDict["userAttributeValues"] = $val; + return $this; + } + + /** + * Gets the userInputType + * The input type of the user flow attribute. Possible values are: textBox, dateTimeDropdown, radioSingleSelect, dropdownSingleSelect, emailBox, checkboxMultiSelect. + * + * @return IdentityUserFlowAttributeInputType|null The userInputType + */ + public function getUserInputType() + { + if (array_key_exists("userInputType", $this->_propDict)) { + if (is_a($this->_propDict["userInputType"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttributeInputType") || is_null($this->_propDict["userInputType"])) { + return $this->_propDict["userInputType"]; + } else { + $this->_propDict["userInputType"] = new IdentityUserFlowAttributeInputType($this->_propDict["userInputType"]); + return $this->_propDict["userInputType"]; + } + } + return null; + } + + /** + * Sets the userInputType + * The input type of the user flow attribute. Possible values are: textBox, dateTimeDropdown, radioSingleSelect, dropdownSingleSelect, emailBox, checkboxMultiSelect. + * + * @param IdentityUserFlowAttributeInputType $val The userInputType + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setUserInputType($val) + { + $this->_propDict["userInputType"] = $val; + return $this; + } + + /** + * Gets the userAttribute + * The user attribute that you want to add to your user flow. + * + * @return IdentityUserFlowAttribute|null The userAttribute + */ + public function getUserAttribute() + { + if (array_key_exists("userAttribute", $this->_propDict)) { + if (is_a($this->_propDict["userAttribute"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttribute") || is_null($this->_propDict["userAttribute"])) { + return $this->_propDict["userAttribute"]; + } else { + $this->_propDict["userAttribute"] = new IdentityUserFlowAttribute($this->_propDict["userAttribute"]); + return $this->_propDict["userAttribute"]; + } + } + return null; + } + + /** + * Sets the userAttribute + * The user attribute that you want to add to your user flow. + * + * @param IdentityUserFlowAttribute $val The userAttribute + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setUserAttribute($val) + { + $this->_propDict["userAttribute"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeDataType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeDataType.php new file mode 100644 index 0000000..135b544 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeDataType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * Optional. Height of the image, in pixels. Read-only. + * + * @param int $val The value of the height + * + * @return Image + */ + public function setHeight($val) + { + $this->_propDict["height"] = $val; + return $this; + } + /** + * Gets the width + * Optional. Width of the image, in pixels. Read-only. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * Optional. Width of the image, in pixels. Read-only. + * + * @param int $val The value of the width + * + * @return Image + */ + public function setWidth($val) + { + $this->_propDict["width"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImageInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImageInfo.php new file mode 100644 index 0000000..5ad7066 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImageInfo.php @@ -0,0 +1,136 @@ +_propDict)) { + return $this->_propDict["addImageQuery"]; + } else { + return null; + } + } + + /** + * Sets the addImageQuery + * Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image + * + * @param bool $val The value of the addImageQuery + * + * @return ImageInfo + */ + public function setAddImageQuery($val) + { + $this->_propDict["addImageQuery"] = $val; + return $this; + } + /** + * Gets the alternateText + * Optional; alt-text accessible content for the image + * + * @return string|null The alternateText + */ + public function getAlternateText() + { + if (array_key_exists("alternateText", $this->_propDict)) { + return $this->_propDict["alternateText"]; + } else { + return null; + } + } + + /** + * Sets the alternateText + * Optional; alt-text accessible content for the image + * + * @param string $val The value of the alternateText + * + * @return ImageInfo + */ + public function setAlternateText($val) + { + $this->_propDict["alternateText"] = $val; + return $this; + } + /** + * Gets the alternativeText + * + * @return string|null The alternativeText + */ + public function getAlternativeText() + { + if (array_key_exists("alternativeText", $this->_propDict)) { + return $this->_propDict["alternativeText"]; + } else { + return null; + } + } + + /** + * Sets the alternativeText + * + * @param string $val The value of the alternativeText + * + * @return ImageInfo + */ + public function setAlternativeText($val) + { + $this->_propDict["alternativeText"] = $val; + return $this; + } + /** + * Gets the iconUrl + * Optional; URI that points to an icon which represents the application used to generate the activity + * + * @return string|null The iconUrl + */ + public function getIconUrl() + { + if (array_key_exists("iconUrl", $this->_propDict)) { + return $this->_propDict["iconUrl"]; + } else { + return null; + } + } + + /** + * Sets the iconUrl + * Optional; URI that points to an icon which represents the application used to generate the activity + * + * @param string $val The value of the iconUrl + * + * @return ImageInfo + */ + public function setIconUrl($val) + { + $this->_propDict["iconUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImplicitGrantSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImplicitGrantSettings.php new file mode 100644 index 0000000..29a7a24 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImplicitGrantSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["enableAccessTokenIssuance"]; + } else { + return null; + } + } + + /** + * Sets the enableAccessTokenIssuance + * Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow. + * + * @param bool $val The value of the enableAccessTokenIssuance + * + * @return ImplicitGrantSettings + */ + public function setEnableAccessTokenIssuance($val) + { + $this->_propDict["enableAccessTokenIssuance"] = $val; + return $this; + } + /** + * Gets the enableIdTokenIssuance + * Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow. + * + * @return bool|null The enableIdTokenIssuance + */ + public function getEnableIdTokenIssuance() + { + if (array_key_exists("enableIdTokenIssuance", $this->_propDict)) { + return $this->_propDict["enableIdTokenIssuance"]; + } else { + return null; + } + } + + /** + * Sets the enableIdTokenIssuance + * Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow. + * + * @param bool $val The value of the enableIdTokenIssuance + * + * @return ImplicitGrantSettings + */ + public function setEnableIdTokenIssuance($val) + { + $this->_propDict["enableIdTokenIssuance"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Importance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Importance.php new file mode 100644 index 0000000..b6e1638 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Importance.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Created Date Time of the device + * + * @param \DateTime $val The createdDateTime + * + * @return ImportedAppleDeviceIdentity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the device + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the device + * + * @param string $val The description + * + * @return ImportedAppleDeviceIdentity + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discoverySource + * Apple device discovery source. Possible values are: unknown, adminImport, deviceEnrollmentProgram. + * + * @return DiscoverySource|null The discoverySource + */ + public function getDiscoverySource() + { + if (array_key_exists("discoverySource", $this->_propDict)) { + if (is_a($this->_propDict["discoverySource"], "\Beta\Microsoft\Graph\Model\DiscoverySource") || is_null($this->_propDict["discoverySource"])) { + return $this->_propDict["discoverySource"]; + } else { + $this->_propDict["discoverySource"] = new DiscoverySource($this->_propDict["discoverySource"]); + return $this->_propDict["discoverySource"]; + } + } + return null; + } + + /** + * Sets the discoverySource + * Apple device discovery source. Possible values are: unknown, adminImport, deviceEnrollmentProgram. + * + * @param DiscoverySource $val The discoverySource + * + * @return ImportedAppleDeviceIdentity + */ + public function setDiscoverySource($val) + { + $this->_propDict["discoverySource"] = $val; + return $this; + } + + /** + * Gets the enrollmentState + * The state of the device in Intune. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @return EnrollmentState|null The enrollmentState + */ + public function getEnrollmentState() + { + if (array_key_exists("enrollmentState", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\EnrollmentState") || is_null($this->_propDict["enrollmentState"])) { + return $this->_propDict["enrollmentState"]; + } else { + $this->_propDict["enrollmentState"] = new EnrollmentState($this->_propDict["enrollmentState"]); + return $this->_propDict["enrollmentState"]; + } + } + return null; + } + + /** + * Sets the enrollmentState + * The state of the device in Intune. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @param EnrollmentState $val The enrollmentState + * + * @return ImportedAppleDeviceIdentity + */ + public function setEnrollmentState($val) + { + $this->_propDict["enrollmentState"] = $val; + return $this; + } + + /** + * Gets the isDeleted + * Indicates if the device is deleted from Apple Business Manager + * + * @return bool|null The isDeleted + */ + public function getIsDeleted() + { + if (array_key_exists("isDeleted", $this->_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * Indicates if the device is deleted from Apple Business Manager + * + * @param bool $val The isDeleted + * + * @return ImportedAppleDeviceIdentity + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the isSupervised + * Indicates if the Apple device is supervised. More information is at: https://support.apple.com/en-us/HT202837 + * + * @return bool|null The isSupervised + */ + public function getIsSupervised() + { + if (array_key_exists("isSupervised", $this->_propDict)) { + return $this->_propDict["isSupervised"]; + } else { + return null; + } + } + + /** + * Sets the isSupervised + * Indicates if the Apple device is supervised. More information is at: https://support.apple.com/en-us/HT202837 + * + * @param bool $val The isSupervised + * + * @return ImportedAppleDeviceIdentity + */ + public function setIsSupervised($val) + { + $this->_propDict["isSupervised"] = boolval($val); + return $this; + } + + /** + * Gets the lastContactedDateTime + * Last Contacted Date Time of the device + * + * @return \DateTime|null The lastContactedDateTime + */ + public function getLastContactedDateTime() + { + if (array_key_exists("lastContactedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime") || is_null($this->_propDict["lastContactedDateTime"])) { + return $this->_propDict["lastContactedDateTime"]; + } else { + $this->_propDict["lastContactedDateTime"] = new \DateTime($this->_propDict["lastContactedDateTime"]); + return $this->_propDict["lastContactedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastContactedDateTime + * Last Contacted Date Time of the device + * + * @param \DateTime $val The lastContactedDateTime + * + * @return ImportedAppleDeviceIdentity + */ + public function setLastContactedDateTime($val) + { + $this->_propDict["lastContactedDateTime"] = $val; + return $this; + } + + /** + * Gets the platform + * The platform of the Device. Possible values are: unknown, ios, android, windows, windowsMobile, macOS. + * + * @return Platform|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\Platform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new Platform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * The platform of the Device. Possible values are: unknown, ios, android, windows, windowsMobile, macOS. + * + * @param Platform $val The platform + * + * @return ImportedAppleDeviceIdentity + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the requestedEnrollmentProfileAssignmentDateTime + * The time enrollment profile was assigned to the device + * + * @return \DateTime|null The requestedEnrollmentProfileAssignmentDateTime + */ + public function getRequestedEnrollmentProfileAssignmentDateTime() + { + if (array_key_exists("requestedEnrollmentProfileAssignmentDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestedEnrollmentProfileAssignmentDateTime"], "\DateTime") || is_null($this->_propDict["requestedEnrollmentProfileAssignmentDateTime"])) { + return $this->_propDict["requestedEnrollmentProfileAssignmentDateTime"]; + } else { + $this->_propDict["requestedEnrollmentProfileAssignmentDateTime"] = new \DateTime($this->_propDict["requestedEnrollmentProfileAssignmentDateTime"]); + return $this->_propDict["requestedEnrollmentProfileAssignmentDateTime"]; + } + } + return null; + } + + /** + * Sets the requestedEnrollmentProfileAssignmentDateTime + * The time enrollment profile was assigned to the device + * + * @param \DateTime $val The requestedEnrollmentProfileAssignmentDateTime + * + * @return ImportedAppleDeviceIdentity + */ + public function setRequestedEnrollmentProfileAssignmentDateTime($val) + { + $this->_propDict["requestedEnrollmentProfileAssignmentDateTime"] = $val; + return $this; + } + + /** + * Gets the requestedEnrollmentProfileId + * Enrollment profile Id admin intends to apply to the device during next enrollment + * + * @return string|null The requestedEnrollmentProfileId + */ + public function getRequestedEnrollmentProfileId() + { + if (array_key_exists("requestedEnrollmentProfileId", $this->_propDict)) { + return $this->_propDict["requestedEnrollmentProfileId"]; + } else { + return null; + } + } + + /** + * Sets the requestedEnrollmentProfileId + * Enrollment profile Id admin intends to apply to the device during next enrollment + * + * @param string $val The requestedEnrollmentProfileId + * + * @return ImportedAppleDeviceIdentity + */ + public function setRequestedEnrollmentProfileId($val) + { + $this->_propDict["requestedEnrollmentProfileId"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * Device serial number + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Device serial number + * + * @param string $val The serialNumber + * + * @return ImportedAppleDeviceIdentity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php new file mode 100644 index 0000000..30919f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Status of imported device identity + * + * @param bool $val The status + * + * @return ImportedAppleDeviceIdentityResult + */ + public function setStatus($val) + { + $this->_propDict["status"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentity.php new file mode 100644 index 0000000..f79ba95 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentity.php @@ -0,0 +1,283 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Created Date Time of the device + * + * @param \DateTime $val The createdDateTime + * + * @return ImportedDeviceIdentity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the device + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the device + * + * @param string $val The description + * + * @return ImportedDeviceIdentity + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the enrollmentState + * The state of the device in Intune. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @return EnrollmentState|null The enrollmentState + */ + public function getEnrollmentState() + { + if (array_key_exists("enrollmentState", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\EnrollmentState") || is_null($this->_propDict["enrollmentState"])) { + return $this->_propDict["enrollmentState"]; + } else { + $this->_propDict["enrollmentState"] = new EnrollmentState($this->_propDict["enrollmentState"]); + return $this->_propDict["enrollmentState"]; + } + } + return null; + } + + /** + * Sets the enrollmentState + * The state of the device in Intune. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @param EnrollmentState $val The enrollmentState + * + * @return ImportedDeviceIdentity + */ + public function setEnrollmentState($val) + { + $this->_propDict["enrollmentState"] = $val; + return $this; + } + + /** + * Gets the importedDeviceIdentifier + * Imported Device Identifier + * + * @return string|null The importedDeviceIdentifier + */ + public function getImportedDeviceIdentifier() + { + if (array_key_exists("importedDeviceIdentifier", $this->_propDict)) { + return $this->_propDict["importedDeviceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the importedDeviceIdentifier + * Imported Device Identifier + * + * @param string $val The importedDeviceIdentifier + * + * @return ImportedDeviceIdentity + */ + public function setImportedDeviceIdentifier($val) + { + $this->_propDict["importedDeviceIdentifier"] = $val; + return $this; + } + + /** + * Gets the importedDeviceIdentityType + * Type of Imported Device Identity. Possible values are: unknown, imei, serialNumber. + * + * @return ImportedDeviceIdentityType|null The importedDeviceIdentityType + */ + public function getImportedDeviceIdentityType() + { + if (array_key_exists("importedDeviceIdentityType", $this->_propDict)) { + if (is_a($this->_propDict["importedDeviceIdentityType"], "\Beta\Microsoft\Graph\Model\ImportedDeviceIdentityType") || is_null($this->_propDict["importedDeviceIdentityType"])) { + return $this->_propDict["importedDeviceIdentityType"]; + } else { + $this->_propDict["importedDeviceIdentityType"] = new ImportedDeviceIdentityType($this->_propDict["importedDeviceIdentityType"]); + return $this->_propDict["importedDeviceIdentityType"]; + } + } + return null; + } + + /** + * Sets the importedDeviceIdentityType + * Type of Imported Device Identity. Possible values are: unknown, imei, serialNumber. + * + * @param ImportedDeviceIdentityType $val The importedDeviceIdentityType + * + * @return ImportedDeviceIdentity + */ + public function setImportedDeviceIdentityType($val) + { + $this->_propDict["importedDeviceIdentityType"] = $val; + return $this; + } + + /** + * Gets the lastContactedDateTime + * Last Contacted Date Time of the device + * + * @return \DateTime|null The lastContactedDateTime + */ + public function getLastContactedDateTime() + { + if (array_key_exists("lastContactedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime") || is_null($this->_propDict["lastContactedDateTime"])) { + return $this->_propDict["lastContactedDateTime"]; + } else { + $this->_propDict["lastContactedDateTime"] = new \DateTime($this->_propDict["lastContactedDateTime"]); + return $this->_propDict["lastContactedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastContactedDateTime + * Last Contacted Date Time of the device + * + * @param \DateTime $val The lastContactedDateTime + * + * @return ImportedDeviceIdentity + */ + public function setLastContactedDateTime($val) + { + $this->_propDict["lastContactedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last Modified DateTime of the description + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last Modified DateTime of the description + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ImportedDeviceIdentity + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the platform + * The platform of the Device. Possible values are: unknown, ios, android, windows, windowsMobile, macOS. + * + * @return Platform|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\Platform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new Platform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * The platform of the Device. Possible values are: unknown, ios, android, windows, windowsMobile, macOS. + * + * @param Platform $val The platform + * + * @return ImportedDeviceIdentity + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityResult.php new file mode 100644 index 0000000..002e2ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityResult.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Status of imported device identity + * + * @param bool $val The status + * + * @return ImportedDeviceIdentityResult + */ + public function setStatus($val) + { + $this->_propDict["status"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityType.php new file mode 100644 index 0000000..19a058a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["assignedUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the assignedUserPrincipalName + * UPN of the user the device will be assigned + * + * @param string $val The assignedUserPrincipalName + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setAssignedUserPrincipalName($val) + { + $this->_propDict["assignedUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the groupTag + * Group Tag of the Windows autopilot device. + * + * @return string|null The groupTag + */ + public function getGroupTag() + { + if (array_key_exists("groupTag", $this->_propDict)) { + return $this->_propDict["groupTag"]; + } else { + return null; + } + } + + /** + * Sets the groupTag + * Group Tag of the Windows autopilot device. + * + * @param string $val The groupTag + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setGroupTag($val) + { + $this->_propDict["groupTag"] = $val; + return $this; + } + + /** + * Gets the hardwareIdentifier + * Hardware Blob of the Windows autopilot device. + * + * @return \GuzzleHttp\Psr7\Stream|null The hardwareIdentifier + */ + public function getHardwareIdentifier() + { + if (array_key_exists("hardwareIdentifier", $this->_propDict)) { + if (is_a($this->_propDict["hardwareIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["hardwareIdentifier"])) { + return $this->_propDict["hardwareIdentifier"]; + } else { + $this->_propDict["hardwareIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["hardwareIdentifier"]); + return $this->_propDict["hardwareIdentifier"]; + } + } + return null; + } + + /** + * Sets the hardwareIdentifier + * Hardware Blob of the Windows autopilot device. + * + * @param \GuzzleHttp\Psr7\Stream $val The hardwareIdentifier + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setHardwareIdentifier($val) + { + $this->_propDict["hardwareIdentifier"] = $val; + return $this; + } + + /** + * Gets the importId + * The Import Id of the Windows autopilot device. + * + * @return string|null The importId + */ + public function getImportId() + { + if (array_key_exists("importId", $this->_propDict)) { + return $this->_propDict["importId"]; + } else { + return null; + } + } + + /** + * Sets the importId + * The Import Id of the Windows autopilot device. + * + * @param string $val The importId + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setImportId($val) + { + $this->_propDict["importId"] = $val; + return $this; + } + + /** + * Gets the productKey + * Product Key of the Windows autopilot device. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Product Key of the Windows autopilot device. + * + * @param string $val The productKey + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * Serial number of the Windows autopilot device. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Serial number of the Windows autopilot device. + * + * @param string $val The serialNumber + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the state + * Current state of the imported device. + * + * @return ImportedWindowsAutopilotDeviceIdentityState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ImportedWindowsAutopilotDeviceIdentityState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Current state of the imported device. + * + * @param ImportedWindowsAutopilotDeviceIdentityState $val The state + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php new file mode 100644 index 0000000..fb1bf35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["deviceErrorCode"]; + } else { + return null; + } + } + + /** + * Sets the deviceErrorCode + * Device error code reported by Device Directory Service(DDS). + * + * @param int $val The value of the deviceErrorCode + * + * @return ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceErrorCode($val) + { + $this->_propDict["deviceErrorCode"] = $val; + return $this; + } + /** + * Gets the deviceErrorName + * Device error name reported by Device Directory Service(DDS). + * + * @return string|null The deviceErrorName + */ + public function getDeviceErrorName() + { + if (array_key_exists("deviceErrorName", $this->_propDict)) { + return $this->_propDict["deviceErrorName"]; + } else { + return null; + } + } + + /** + * Sets the deviceErrorName + * Device error name reported by Device Directory Service(DDS). + * + * @param string $val The value of the deviceErrorName + * + * @return ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceErrorName($val) + { + $this->_propDict["deviceErrorName"] = $val; + return $this; + } + + /** + * Gets the deviceImportStatus + * Device status reported by Device Directory Service(DDS). Possible values are: unknown, pending, partial, complete, error. + * + * @return ImportedWindowsAutopilotDeviceIdentityImportStatus|null The deviceImportStatus + */ + public function getDeviceImportStatus() + { + if (array_key_exists("deviceImportStatus", $this->_propDict)) { + if (is_a($this->_propDict["deviceImportStatus"], "\Beta\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityImportStatus") || is_null($this->_propDict["deviceImportStatus"])) { + return $this->_propDict["deviceImportStatus"]; + } else { + $this->_propDict["deviceImportStatus"] = new ImportedWindowsAutopilotDeviceIdentityImportStatus($this->_propDict["deviceImportStatus"]); + return $this->_propDict["deviceImportStatus"]; + } + } + return null; + } + + /** + * Sets the deviceImportStatus + * Device status reported by Device Directory Service(DDS). Possible values are: unknown, pending, partial, complete, error. + * + * @param ImportedWindowsAutopilotDeviceIdentityImportStatus $val The value to assign to the deviceImportStatus + * + * @return ImportedWindowsAutopilotDeviceIdentityState The ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceImportStatus($val) + { + $this->_propDict["deviceImportStatus"] = $val; + return $this; + } + /** + * Gets the deviceRegistrationId + * Device Registration ID for successfully added device reported by Device Directory Service(DDS). + * + * @return string|null The deviceRegistrationId + */ + public function getDeviceRegistrationId() + { + if (array_key_exists("deviceRegistrationId", $this->_propDict)) { + return $this->_propDict["deviceRegistrationId"]; + } else { + return null; + } + } + + /** + * Sets the deviceRegistrationId + * Device Registration ID for successfully added device reported by Device Directory Service(DDS). + * + * @param string $val The value of the deviceRegistrationId + * + * @return ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceRegistrationId($val) + { + $this->_propDict["deviceRegistrationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php new file mode 100644 index 0000000..a40d967 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php @@ -0,0 +1,123 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTimeUtc"], "\DateTime") || is_null($this->_propDict["createdDateTimeUtc"])) { + return $this->_propDict["createdDateTimeUtc"]; + } else { + $this->_propDict["createdDateTimeUtc"] = new \DateTime($this->_propDict["createdDateTimeUtc"]); + return $this->_propDict["createdDateTimeUtc"]; + } + } + return null; + } + + /** + * Sets the createdDateTimeUtc + * DateTime when the entity is created. + * + * @param \DateTime $val The createdDateTimeUtc + * + * @return ImportedWindowsAutopilotDeviceIdentityUpload + */ + public function setCreatedDateTimeUtc($val) + { + $this->_propDict["createdDateTimeUtc"] = $val; + return $this; + } + + /** + * Gets the status + * Upload status. + * + * @return ImportedWindowsAutopilotDeviceIdentityUploadStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityUploadStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ImportedWindowsAutopilotDeviceIdentityUploadStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Upload status. + * + * @param ImportedWindowsAutopilotDeviceIdentityUploadStatus $val The status + * + * @return ImportedWindowsAutopilotDeviceIdentityUpload + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the deviceIdentities + * Collection of all Autopilot devices as a part of this upload. + * + * @return array|null The deviceIdentities + */ + public function getDeviceIdentities() + { + if (array_key_exists("deviceIdentities", $this->_propDict)) { + return $this->_propDict["deviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the deviceIdentities + * Collection of all Autopilot devices as a part of this upload. + * + * @param ImportedWindowsAutopilotDeviceIdentity[] $val The deviceIdentities + * + * @return ImportedWindowsAutopilotDeviceIdentityUpload + */ + public function setDeviceIdentities($val) + { + $this->_propDict["deviceIdentities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php new file mode 100644 index 0000000..f6a4725 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php @@ -0,0 +1,36 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the InboundSharedUserProfile + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * 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 displayName + * + * @return InboundSharedUserProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the homeTenantId + * + * @return string|null The homeTenantId + */ + public function getHomeTenantId() + { + if (array_key_exists("homeTenantId", $this->_propDict)) { + return $this->_propDict["homeTenantId"]; + } else { + return null; + } + } + + /** + * Sets the homeTenantId + * + * @param string $val The homeTenantId + * + * @return InboundSharedUserProfile + */ + public function setHomeTenantId($val) + { + $this->_propDict["homeTenantId"] = $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 userId + * + * @return InboundSharedUserProfile + */ + 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 userPrincipalName + * + * @return InboundSharedUserProfile + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + 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 InboundSharedUserProfile + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncludedUserRoles.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncludedUserRoles.php new file mode 100644 index 0000000..57ba62f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncludedUserRoles.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.incomingCallOptions"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncomingContext.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncomingContext.php new file mode 100644 index 0000000..a5ee981 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncomingContext.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["observedParticipantId"]; + } else { + return null; + } + } + + /** + * Sets the observedParticipantId + * The id of the participant that is under observation. Read-only. + * + * @param string $val The value of the observedParticipantId + * + * @return IncomingContext + */ + public function setObservedParticipantId($val) + { + $this->_propDict["observedParticipantId"] = $val; + return $this; + } + + /** + * Gets the onBehalfOf + * The identity that the call is happening on behalf of. + * + * @return IdentitySet|null The onBehalfOf + */ + public function getOnBehalfOf() + { + if (array_key_exists("onBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["onBehalfOf"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["onBehalfOf"])) { + return $this->_propDict["onBehalfOf"]; + } else { + $this->_propDict["onBehalfOf"] = new IdentitySet($this->_propDict["onBehalfOf"]); + return $this->_propDict["onBehalfOf"]; + } + } + return null; + } + + /** + * Sets the onBehalfOf + * The identity that the call is happening on behalf of. + * + * @param IdentitySet $val The value to assign to the onBehalfOf + * + * @return IncomingContext The IncomingContext + */ + public function setOnBehalfOf($val) + { + $this->_propDict["onBehalfOf"] = $val; + return $this; + } + /** + * Gets the sourceParticipantId + * The id of the participant that triggered the incoming call. Read-only. + * + * @return string|null The sourceParticipantId + */ + public function getSourceParticipantId() + { + if (array_key_exists("sourceParticipantId", $this->_propDict)) { + return $this->_propDict["sourceParticipantId"]; + } else { + return null; + } + } + + /** + * Sets the sourceParticipantId + * The id of the participant that triggered the incoming call. Read-only. + * + * @param string $val The value of the sourceParticipantId + * + * @return IncomingContext + */ + public function setSourceParticipantId($val) + { + $this->_propDict["sourceParticipantId"] = $val; + return $this; + } + + /** + * Gets the transferor + * The identity that transferred the call. + * + * @return IdentitySet|null The transferor + */ + public function getTransferor() + { + if (array_key_exists("transferor", $this->_propDict)) { + if (is_a($this->_propDict["transferor"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["transferor"])) { + return $this->_propDict["transferor"]; + } else { + $this->_propDict["transferor"] = new IdentitySet($this->_propDict["transferor"]); + return $this->_propDict["transferor"]; + } + } + return null; + } + + /** + * Sets the transferor + * The identity that transferred the call. + * + * @param IdentitySet $val The value to assign to the transferor + * + * @return IncomingContext The IncomingContext + */ + public function setTransferor($val) + { + $this->_propDict["transferor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncomingTokenType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncomingTokenType.php new file mode 100644 index 0000000..3a35cd9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncomingTokenType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["missingDataBeforeDateTime"], "\DateTime") || is_null($this->_propDict["missingDataBeforeDateTime"])) { + return $this->_propDict["missingDataBeforeDateTime"]; + } else { + $this->_propDict["missingDataBeforeDateTime"] = new \DateTime($this->_propDict["missingDataBeforeDateTime"]); + return $this->_propDict["missingDataBeforeDateTime"]; + } + } + return null; + } + + /** + * Sets the missingDataBeforeDateTime + * The service does not have source data before the specified time. + * + * @param \DateTime $val The value to assign to the missingDataBeforeDateTime + * + * @return IncompleteData The IncompleteData + */ + public function setMissingDataBeforeDateTime($val) + { + $this->_propDict["missingDataBeforeDateTime"] = $val; + return $this; + } + /** + * Gets the wasThrottled + * Some data was not recorded due to excessive activity. + * + * @return bool|null The wasThrottled + */ + public function getWasThrottled() + { + if (array_key_exists("wasThrottled", $this->_propDict)) { + return $this->_propDict["wasThrottled"]; + } else { + return null; + } + } + + /** + * Sets the wasThrottled + * Some data was not recorded due to excessive activity. + * + * @param bool $val The value of the wasThrottled + * + * @return IncompleteData + */ + public function setWasThrottled($val) + { + $this->_propDict["wasThrottled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassification.php new file mode 100644 index 0000000..a5d5e32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassification.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["overrides"]; + } else { + return null; + } + } + + /** + * Sets the overrides + * A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. + * + * @param InferenceClassificationOverride[] $val The overrides + * + * @return InferenceClassification + */ + public function setOverrides($val) + { + $this->_propDict["overrides"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationOverride.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationOverride.php new file mode 100644 index 0000000..c9c8f58 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationOverride.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["classifyAs"], "\Beta\Microsoft\Graph\Model\InferenceClassificationType") || is_null($this->_propDict["classifyAs"])) { + return $this->_propDict["classifyAs"]; + } else { + $this->_propDict["classifyAs"] = new InferenceClassificationType($this->_propDict["classifyAs"]); + return $this->_propDict["classifyAs"]; + } + } + return null; + } + + /** + * Sets the classifyAs + * Specifies how incoming messages from a specific sender should always be classified as. Possible values are: focused, other. + * + * @param InferenceClassificationType $val The classifyAs + * + * @return InferenceClassificationOverride + */ + public function setClassifyAs($val) + { + $this->_propDict["classifyAs"] = $val; + return $this; + } + + /** + * Gets the senderEmailAddress + * The email address information of the sender for whom the override is created. + * + * @return EmailAddress|null The senderEmailAddress + */ + public function getSenderEmailAddress() + { + if (array_key_exists("senderEmailAddress", $this->_propDict)) { + if (is_a($this->_propDict["senderEmailAddress"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["senderEmailAddress"])) { + return $this->_propDict["senderEmailAddress"]; + } else { + $this->_propDict["senderEmailAddress"] = new EmailAddress($this->_propDict["senderEmailAddress"]); + return $this->_propDict["senderEmailAddress"]; + } + } + return null; + } + + /** + * Sets the senderEmailAddress + * The email address information of the sender for whom the override is created. + * + * @param EmailAddress $val The senderEmailAddress + * + * @return InferenceClassificationOverride + */ + public function setSenderEmailAddress($val) + { + $this->_propDict["senderEmailAddress"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationType.php new file mode 100644 index 0000000..ceeb5af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["confidenceScore"]; + } else { + return null; + } + } + + /** + * Sets the confidenceScore + * Confidence score reflecting the accuracy of the data inferred about the user. + * + * @param float $val The value of the confidenceScore + * + * @return InferenceData + */ + public function setConfidenceScore($val) + { + $this->_propDict["confidenceScore"] = $val; + return $this; + } + /** + * Gets the userHasVerifiedAccuracy + * Records if the user has confirmed this inference as being True or False. + * + * @return bool|null The userHasVerifiedAccuracy + */ + public function getUserHasVerifiedAccuracy() + { + if (array_key_exists("userHasVerifiedAccuracy", $this->_propDict)) { + return $this->_propDict["userHasVerifiedAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the userHasVerifiedAccuracy + * Records if the user has confirmed this inference as being True or False. + * + * @param bool $val The value of the userHasVerifiedAccuracy + * + * @return InferenceData + */ + public function setUserHasVerifiedAccuracy($val) + { + $this->_propDict["userHasVerifiedAccuracy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtection.php new file mode 100644 index 0000000..d544138 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtection.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["bitlocker"], "\Beta\Microsoft\Graph\Model\Bitlocker") || is_null($this->_propDict["bitlocker"])) { + return $this->_propDict["bitlocker"]; + } else { + $this->_propDict["bitlocker"] = new Bitlocker($this->_propDict["bitlocker"]); + return $this->_propDict["bitlocker"]; + } + } + return null; + } + + /** + * Sets the bitlocker + * + * @param Bitlocker $val The bitlocker + * + * @return InformationProtection + */ + public function setBitlocker($val) + { + $this->_propDict["bitlocker"] = $val; + return $this; + } + + + /** + * Gets the dataLossPreventionPolicies + * + * @return array|null The dataLossPreventionPolicies + */ + public function getDataLossPreventionPolicies() + { + if (array_key_exists("dataLossPreventionPolicies", $this->_propDict)) { + return $this->_propDict["dataLossPreventionPolicies"]; + } else { + return null; + } + } + + /** + * Sets the dataLossPreventionPolicies + * + * @param DataLossPreventionPolicy[] $val The dataLossPreventionPolicies + * + * @return InformationProtection + */ + public function setDataLossPreventionPolicies($val) + { + $this->_propDict["dataLossPreventionPolicies"] = $val; + return $this; + } + + + /** + * Gets the sensitivityLabels + * + * @return array|null The sensitivityLabels + */ + public function getSensitivityLabels() + { + if (array_key_exists("sensitivityLabels", $this->_propDict)) { + return $this->_propDict["sensitivityLabels"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabels + * + * @param SensitivityLabel[] $val The sensitivityLabels + * + * @return InformationProtection + */ + public function setSensitivityLabels($val) + { + $this->_propDict["sensitivityLabels"] = $val; + return $this; + } + + /** + * Gets the sensitivityPolicySettings + * + * @return SensitivityPolicySettings|null The sensitivityPolicySettings + */ + public function getSensitivityPolicySettings() + { + if (array_key_exists("sensitivityPolicySettings", $this->_propDict)) { + if (is_a($this->_propDict["sensitivityPolicySettings"], "\Beta\Microsoft\Graph\Model\SensitivityPolicySettings") || is_null($this->_propDict["sensitivityPolicySettings"])) { + return $this->_propDict["sensitivityPolicySettings"]; + } else { + $this->_propDict["sensitivityPolicySettings"] = new SensitivityPolicySettings($this->_propDict["sensitivityPolicySettings"]); + return $this->_propDict["sensitivityPolicySettings"]; + } + } + return null; + } + + /** + * Sets the sensitivityPolicySettings + * + * @param SensitivityPolicySettings $val The sensitivityPolicySettings + * + * @return InformationProtection + */ + public function setSensitivityPolicySettings($val) + { + $this->_propDict["sensitivityPolicySettings"] = $val; + return $this; + } + + /** + * Gets the policy + * + * @return InformationProtectionPolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\InformationProtectionPolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new InformationProtectionPolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * + * @param InformationProtectionPolicy $val The policy + * + * @return InformationProtection + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + + + /** + * Gets the threatAssessmentRequests + * + * @return array|null The threatAssessmentRequests + */ + public function getThreatAssessmentRequests() + { + if (array_key_exists("threatAssessmentRequests", $this->_propDict)) { + return $this->_propDict["threatAssessmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the threatAssessmentRequests + * + * @param ThreatAssessmentRequest[] $val The threatAssessmentRequests + * + * @return InformationProtection + */ + public function setThreatAssessmentRequests($val) + { + $this->_propDict["threatAssessmentRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionAction.php new file mode 100644 index 0000000..5f14b1a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\Model\AssignmentMethod") || is_null($this->_propDict["assignmentMethod"])) { + return $this->_propDict["assignmentMethod"]; + } else { + $this->_propDict["assignmentMethod"] = new AssignmentMethod($this->_propDict["assignmentMethod"]); + return $this->_propDict["assignmentMethod"]; + } + } + return null; + } + + /** + * Sets the assignmentMethod + * Possible values are: standard, privileged, auto. + * + * @param AssignmentMethod $val The value to assign to the assignmentMethod + * + * @return InformationProtectionContentLabel The InformationProtectionContentLabel + */ + public function setAssignmentMethod($val) + { + $this->_propDict["assignmentMethod"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * 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 creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * 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 creationDateTime + * + * @return InformationProtectionContentLabel The InformationProtectionContentLabel + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the label + * Details on the label that is currently applied to the file. + * + * @return LabelDetails|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + if (is_a($this->_propDict["label"], "\Beta\Microsoft\Graph\Model\LabelDetails") || is_null($this->_propDict["label"])) { + return $this->_propDict["label"]; + } else { + $this->_propDict["label"] = new LabelDetails($this->_propDict["label"]); + return $this->_propDict["label"]; + } + } + return null; + } + + /** + * Sets the label + * Details on the label that is currently applied to the file. + * + * @param LabelDetails $val The value to assign to the label + * + * @return InformationProtectionContentLabel The InformationProtectionContentLabel + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionLabel.php new file mode 100644 index 0000000..9fb053b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionLabel.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * The color that the UI should display for the label, if configured. + * + * @param string $val The color + * + * @return InformationProtectionLabel + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the description + * The admin-defined description for the label. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The admin-defined description for the label. + * + * @param string $val The description + * + * @return InformationProtectionLabel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether the label is active or not. Active labels should be hidden or disabled in UI. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the label is active or not. Active labels should be hidden or disabled in UI. + * + * @param bool $val The isActive + * + * @return InformationProtectionLabel + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The plaintext name of the label. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The plaintext name of the label. + * + * @param string $val The name + * + * @return InformationProtectionLabel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parent + * The parent label associated with a child label. Null if label has no parent. + * + * @return ParentLabelDetails|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\ParentLabelDetails") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new ParentLabelDetails($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * The parent label associated with a child label. Null if label has no parent. + * + * @param ParentLabelDetails $val The parent + * + * @return InformationProtectionLabel + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * The sensitivity value of the label, where lower is less sensitive. + * + * @return int|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + return $this->_propDict["sensitivity"]; + } else { + return null; + } + } + + /** + * Sets the sensitivity + * The sensitivity value of the label, where lower is less sensitive. + * + * @param int $val The sensitivity + * + * @return InformationProtectionLabel + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = intval($val); + return $this; + } + + /** + * Gets the tooltip + * The tooltip that should be displayed for the label in a UI. + * + * @return string|null The tooltip + */ + public function getTooltip() + { + if (array_key_exists("tooltip", $this->_propDict)) { + return $this->_propDict["tooltip"]; + } else { + return null; + } + } + + /** + * Sets the tooltip + * The tooltip that should be displayed for the label in a UI. + * + * @param string $val The tooltip + * + * @return InformationProtectionLabel + */ + public function setTooltip($val) + { + $this->_propDict["tooltip"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionPolicy.php new file mode 100644 index 0000000..6664eac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionPolicy.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["labels"]; + } else { + return null; + } + } + + /** + * Sets the labels + * + * @param InformationProtectionLabel[] $val The labels + * + * @return InformationProtectionPolicy + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrl.php new file mode 100644 index 0000000..170d702 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrl.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["logoUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoUrl + * CDN URL to the application's logo, Read-only. + * + * @param string $val The value of the logoUrl + * + * @return InformationalUrl + */ + public function setLogoUrl($val) + { + $this->_propDict["logoUrl"] = $val; + return $this; + } + /** + * Gets the marketingUrl + * Link to the application's marketing page. For example, https://www.contoso.com/app/marketing + * + * @return string|null The marketingUrl + */ + public function getMarketingUrl() + { + if (array_key_exists("marketingUrl", $this->_propDict)) { + return $this->_propDict["marketingUrl"]; + } else { + return null; + } + } + + /** + * Sets the marketingUrl + * Link to the application's marketing page. For example, https://www.contoso.com/app/marketing + * + * @param string $val The value of the marketingUrl + * + * @return InformationalUrl + */ + public function setMarketingUrl($val) + { + $this->_propDict["marketingUrl"] = $val; + return $this; + } + /** + * Gets the privacyStatementUrl + * Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy + * + * @return string|null The privacyStatementUrl + */ + public function getPrivacyStatementUrl() + { + if (array_key_exists("privacyStatementUrl", $this->_propDict)) { + return $this->_propDict["privacyStatementUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyStatementUrl + * Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy + * + * @param string $val The value of the privacyStatementUrl + * + * @return InformationalUrl + */ + public function setPrivacyStatementUrl($val) + { + $this->_propDict["privacyStatementUrl"] = $val; + return $this; + } + /** + * Gets the supportUrl + * Link to the application's support page. For example, https://www.contoso.com/app/support + * + * @return string|null The supportUrl + */ + public function getSupportUrl() + { + if (array_key_exists("supportUrl", $this->_propDict)) { + return $this->_propDict["supportUrl"]; + } else { + return null; + } + } + + /** + * Sets the supportUrl + * Link to the application's support page. For example, https://www.contoso.com/app/support + * + * @param string $val The value of the supportUrl + * + * @return InformationalUrl + */ + public function setSupportUrl($val) + { + $this->_propDict["supportUrl"] = $val; + return $this; + } + /** + * Gets the termsOfServiceUrl + * Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice + * + * @return string|null The termsOfServiceUrl + */ + public function getTermsOfServiceUrl() + { + if (array_key_exists("termsOfServiceUrl", $this->_propDict)) { + return $this->_propDict["termsOfServiceUrl"]; + } else { + return null; + } + } + + /** + * Sets the termsOfServiceUrl + * Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice + * + * @param string $val The value of the termsOfServiceUrl + * + * @return InformationalUrl + */ + public function setTermsOfServiceUrl($val) + { + $this->_propDict["termsOfServiceUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrls.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrls.php new file mode 100644 index 0000000..91acfdf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrls.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["appSignUpUrl"]; + } else { + return null; + } + } + + /** + * Sets the appSignUpUrl + * + * @param string $val The value of the appSignUpUrl + * + * @return InformationalUrls + */ + public function setAppSignUpUrl($val) + { + $this->_propDict["appSignUpUrl"] = $val; + return $this; + } + /** + * Gets the singleSignOnDocumentationUrl + * + * @return string|null The singleSignOnDocumentationUrl + */ + public function getSingleSignOnDocumentationUrl() + { + if (array_key_exists("singleSignOnDocumentationUrl", $this->_propDict)) { + return $this->_propDict["singleSignOnDocumentationUrl"]; + } else { + return null; + } + } + + /** + * Sets the singleSignOnDocumentationUrl + * + * @param string $val The value of the singleSignOnDocumentationUrl + * + * @return InformationalUrls + */ + public function setSingleSignOnDocumentationUrl($val) + { + $this->_propDict["singleSignOnDocumentationUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Initiator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Initiator.php new file mode 100644 index 0000000..0d45ea2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Initiator.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["initiatorType"], "\Beta\Microsoft\Graph\Model\InitiatorType") || is_null($this->_propDict["initiatorType"])) { + return $this->_propDict["initiatorType"]; + } else { + $this->_propDict["initiatorType"] = new InitiatorType($this->_propDict["initiatorType"]); + return $this->_propDict["initiatorType"]; + } + } + return null; + } + + /** + * Sets the initiatorType + * Type of initiator. Possible values are: user, application, system, unknownFutureValue. + * + * @param InitiatorType $val The value to assign to the initiatorType + * + * @return Initiator The Initiator + */ + public function setInitiatorType($val) + { + $this->_propDict["initiatorType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InitiatorType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InitiatorType.php new file mode 100644 index 0000000..65c4746 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InitiatorType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address of the user who shared the item. + * + * @param string $val The value of the address + * + * @return InsightIdentity + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the user who shared the item. + * + * @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 + * The display name of the user who shared the item. + * + * @param string $val The value of the displayName + * + * @return InsightIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * The id of the user who shared the item. + * + * @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 + * The id of the user who shared the item. + * + * @param string $val The value of the id + * + * @return InsightIdentity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueDouble.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueDouble.php new file mode 100644 index 0000000..4210bd8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueDouble.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Not yet documented + * + * @param float $val The value of the value + * + * @return InsightValueDouble + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueInt.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueInt.php new file mode 100644 index 0000000..ce91a7d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueInt.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Not yet documented + * + * @param int $val The value of the value + * + * @return InsightValueInt + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightsSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightsSettings.php new file mode 100644 index 0000000..8938dbd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightsSettings.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["disabledForGroup"]; + } else { + return null; + } + } + + /** + * Sets the disabledForGroup + * The ID of an Azure Active Directory group, of which the specified type of insights are disabled for its members. Default is empty. Optional. + * + * @param string $val The disabledForGroup + * + * @return InsightsSettings + */ + public function setDisabledForGroup($val) + { + $this->_propDict["disabledForGroup"] = $val; + return $this; + } + + /** + * Gets the isEnabledInOrganization + * true if the specified type of insights are enabled for the organization; false if the specified type of insights are disabled for all users without exceptions. Default is true. Optional. + * + * @return bool|null The isEnabledInOrganization + */ + public function getIsEnabledInOrganization() + { + if (array_key_exists("isEnabledInOrganization", $this->_propDict)) { + return $this->_propDict["isEnabledInOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isEnabledInOrganization + * true if the specified type of insights are enabled for the organization; false if the specified type of insights are disabled for all users without exceptions. Default is true. Optional. + * + * @param bool $val The isEnabledInOrganization + * + * @return InsightsSettings + */ + public function setIsEnabledInOrganization($val) + { + $this->_propDict["isEnabledInOrganization"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstallIntent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstallIntent.php new file mode 100644 index 0000000..dbf80ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstallIntent.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["permissions"], "\Beta\Microsoft\Graph\Model\ResourcePermission") || is_null($this->_propDict["permissions"])) { + return $this->_propDict["permissions"]; + } else { + $this->_propDict["permissions"] = new ResourcePermission($this->_propDict["permissions"]); + return $this->_propDict["permissions"]; + } + } + return null; + } + + /** + * Sets the permissions + * + * @param ResourcePermission $val The value to assign to the permissions + * + * @return InstanceResourceAccess The InstanceResourceAccess + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + /** + * Gets the resourceAppId + * + * @return string|null The resourceAppId + */ + public function getResourceAppId() + { + if (array_key_exists("resourceAppId", $this->_propDict)) { + return $this->_propDict["resourceAppId"]; + } else { + return null; + } + } + + /** + * Sets the resourceAppId + * + * @param string $val The value of the resourceAppId + * + * @return InstanceResourceAccess + */ + public function setResourceAppId($val) + { + $this->_propDict["resourceAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstitutionData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstitutionData.php new file mode 100644 index 0000000..0354117 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstitutionData.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Short description of the institution the user studied at. + * + * @param string $val The value of the description + * + * @return InstitutionData + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the institution the user studied at. + * + * @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 + * Name of the institution the user studied at. + * + * @param string $val The value of the displayName + * + * @return InstitutionData + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the location + * Address or location of the institute. + * + * @return PhysicalAddress|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new PhysicalAddress($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Address or location of the institute. + * + * @param PhysicalAddress $val The value to assign to the location + * + * @return InstitutionData The InstitutionData + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + /** + * Gets the webUrl + * Link to the institution or department homepage. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Link to the institution or department homepage. + * + * @param string $val The value of the webUrl + * + * @return InstitutionData + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntegerRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntegerRange.php new file mode 100644 index 0000000..c44c438 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntegerRange.php @@ -0,0 +1,134 @@ +_propDict)) { + return $this->_propDict["end"]; + } else { + return null; + } + } + + /** + * Sets the end + * The inclusive upper bound of the integer range. + * + * @param int $val The value of the end + * + * @return IntegerRange + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + /** + * Gets the maximum + * + * @return int|null The maximum + */ + public function getMaximum() + { + if (array_key_exists("maximum", $this->_propDict)) { + return $this->_propDict["maximum"]; + } else { + return null; + } + } + + /** + * Sets the maximum + * + * @param int $val The value of the maximum + * + * @return IntegerRange + */ + public function setMaximum($val) + { + $this->_propDict["maximum"] = $val; + return $this; + } + /** + * Gets the minimum + * + * @return int|null The minimum + */ + public function getMinimum() + { + if (array_key_exists("minimum", $this->_propDict)) { + return $this->_propDict["minimum"]; + } else { + return null; + } + } + + /** + * Sets the minimum + * + * @param int $val The value of the minimum + * + * @return IntegerRange + */ + public function setMinimum($val) + { + $this->_propDict["minimum"] = $val; + return $this; + } + /** + * Gets the start + * The inclusive lower bound of the integer range. + * + * @return int|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + return $this->_propDict["start"]; + } else { + return null; + } + } + + /** + * Sets the start + * The inclusive lower bound of the integer range. + * + * @param int $val The value of the start + * + * @return IntegerRange + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntendedPurpose.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntendedPurpose.php new file mode 100644 index 0000000..68a3b40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntendedPurpose.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["activeSignInUri"]; + } else { + return null; + } + } + + /** + * Sets the activeSignInUri + * URL of the endpoint used by active clients when authenticating with federated domains set up for single sign-on in Azure Active Directory (Azure AD). Corresponds to the ActiveLogOnUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. + * + * @param string $val The activeSignInUri + * + * @return InternalDomainFederation + */ + public function setActiveSignInUri($val) + { + $this->_propDict["activeSignInUri"] = $val; + return $this; + } + + /** + * Gets the federatedIdpMfaBehavior + * Determines whether Azure AD accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values. + * + * @return FederatedIdpMfaBehavior|null The federatedIdpMfaBehavior + */ + public function getFederatedIdpMfaBehavior() + { + if (array_key_exists("federatedIdpMfaBehavior", $this->_propDict)) { + if (is_a($this->_propDict["federatedIdpMfaBehavior"], "\Beta\Microsoft\Graph\Model\FederatedIdpMfaBehavior") || is_null($this->_propDict["federatedIdpMfaBehavior"])) { + return $this->_propDict["federatedIdpMfaBehavior"]; + } else { + $this->_propDict["federatedIdpMfaBehavior"] = new FederatedIdpMfaBehavior($this->_propDict["federatedIdpMfaBehavior"]); + return $this->_propDict["federatedIdpMfaBehavior"]; + } + } + return null; + } + + /** + * Sets the federatedIdpMfaBehavior + * Determines whether Azure AD accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values. + * + * @param FederatedIdpMfaBehavior $val The federatedIdpMfaBehavior + * + * @return InternalDomainFederation + */ + public function setFederatedIdpMfaBehavior($val) + { + $this->_propDict["federatedIdpMfaBehavior"] = $val; + return $this; + } + + /** + * Gets the isSignedAuthenticationRequestRequired + * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * + * @return bool|null The isSignedAuthenticationRequestRequired + */ + public function getIsSignedAuthenticationRequestRequired() + { + if (array_key_exists("isSignedAuthenticationRequestRequired", $this->_propDict)) { + return $this->_propDict["isSignedAuthenticationRequestRequired"]; + } else { + return null; + } + } + + /** + * Sets the isSignedAuthenticationRequestRequired + * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * + * @param bool $val The isSignedAuthenticationRequestRequired + * + * @return InternalDomainFederation + */ + public function setIsSignedAuthenticationRequestRequired($val) + { + $this->_propDict["isSignedAuthenticationRequestRequired"] = boolval($val); + return $this; + } + + /** + * Gets the nextSigningCertificate + * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * + * @return string|null The nextSigningCertificate + */ + public function getNextSigningCertificate() + { + if (array_key_exists("nextSigningCertificate", $this->_propDict)) { + return $this->_propDict["nextSigningCertificate"]; + } else { + return null; + } + } + + /** + * Sets the nextSigningCertificate + * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * + * @param string $val The nextSigningCertificate + * + * @return InternalDomainFederation + */ + public function setNextSigningCertificate($val) + { + $this->_propDict["nextSigningCertificate"] = $val; + return $this; + } + + /** + * Gets the promptLoginBehavior + * Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. + * + * @return PromptLoginBehavior|null The promptLoginBehavior + */ + public function getPromptLoginBehavior() + { + if (array_key_exists("promptLoginBehavior", $this->_propDict)) { + if (is_a($this->_propDict["promptLoginBehavior"], "\Beta\Microsoft\Graph\Model\PromptLoginBehavior") || is_null($this->_propDict["promptLoginBehavior"])) { + return $this->_propDict["promptLoginBehavior"]; + } else { + $this->_propDict["promptLoginBehavior"] = new PromptLoginBehavior($this->_propDict["promptLoginBehavior"]); + return $this->_propDict["promptLoginBehavior"]; + } + } + return null; + } + + /** + * Sets the promptLoginBehavior + * Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. + * + * @param PromptLoginBehavior $val The promptLoginBehavior + * + * @return InternalDomainFederation + */ + public function setPromptLoginBehavior($val) + { + $this->_propDict["promptLoginBehavior"] = $val; + return $this; + } + + /** + * Gets the signingCertificateUpdateStatus + * Provides status and timestamp of the last update of the signing certificate. + * + * @return SigningCertificateUpdateStatus|null The signingCertificateUpdateStatus + */ + public function getSigningCertificateUpdateStatus() + { + if (array_key_exists("signingCertificateUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["signingCertificateUpdateStatus"], "\Beta\Microsoft\Graph\Model\SigningCertificateUpdateStatus") || is_null($this->_propDict["signingCertificateUpdateStatus"])) { + return $this->_propDict["signingCertificateUpdateStatus"]; + } else { + $this->_propDict["signingCertificateUpdateStatus"] = new SigningCertificateUpdateStatus($this->_propDict["signingCertificateUpdateStatus"]); + return $this->_propDict["signingCertificateUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the signingCertificateUpdateStatus + * Provides status and timestamp of the last update of the signing certificate. + * + * @param SigningCertificateUpdateStatus $val The signingCertificateUpdateStatus + * + * @return InternalDomainFederation + */ + public function setSigningCertificateUpdateStatus($val) + { + $this->_propDict["signingCertificateUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the signOutUri + * URI that clients are redirected to when they sign out of Azure AD services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. + * + * @return string|null The signOutUri + */ + public function getSignOutUri() + { + if (array_key_exists("signOutUri", $this->_propDict)) { + return $this->_propDict["signOutUri"]; + } else { + return null; + } + } + + /** + * Sets the signOutUri + * URI that clients are redirected to when they sign out of Azure AD services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. + * + * @param string $val The signOutUri + * + * @return InternalDomainFederation + */ + public function setSignOutUri($val) + { + $this->_propDict["signOutUri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternalSponsors.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternalSponsors.php new file mode 100644 index 0000000..cdd8bb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternalSponsors.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the key in a key-value pair. + * + * @param string $val The value of the name + * + * @return InternetMessageHeader + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * The value in a key-value pair. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value in a key-value pair. + * + * @param string $val The value of the value + * + * @return InternetMessageHeader + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternetSiteSecurityLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternetSiteSecurityLevel.php new file mode 100644 index 0000000..4ac945b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternetSiteSecurityLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["companyPortalBlockedActions"], "\Beta\Microsoft\Graph\Model\CompanyPortalBlockedAction") || is_null($this->_propDict["companyPortalBlockedActions"])) { + return $this->_propDict["companyPortalBlockedActions"]; + } else { + $this->_propDict["companyPortalBlockedActions"] = new CompanyPortalBlockedAction($this->_propDict["companyPortalBlockedActions"]); + return $this->_propDict["companyPortalBlockedActions"]; + } + } + return null; + } + + /** + * Sets the companyPortalBlockedActions + * Collection of blocked actions on the company portal as per platform and device ownership types. + * + * @param CompanyPortalBlockedAction $val The value to assign to the companyPortalBlockedActions + * + * @return IntuneBrand The IntuneBrand + */ + public function setCompanyPortalBlockedActions($val) + { + $this->_propDict["companyPortalBlockedActions"] = $val; + return $this; + } + /** + * Gets the contactITEmailAddress + * Email address of the person/organization responsible for IT support. + * + * @return string|null The contactITEmailAddress + */ + public function getContactITEmailAddress() + { + if (array_key_exists("contactITEmailAddress", $this->_propDict)) { + return $this->_propDict["contactITEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the contactITEmailAddress + * Email address of the person/organization responsible for IT support. + * + * @param string $val The value of the contactITEmailAddress + * + * @return IntuneBrand + */ + public function setContactITEmailAddress($val) + { + $this->_propDict["contactITEmailAddress"] = $val; + return $this; + } + /** + * Gets the contactITName + * Name of the person/organization responsible for IT support. + * + * @return string|null The contactITName + */ + public function getContactITName() + { + if (array_key_exists("contactITName", $this->_propDict)) { + return $this->_propDict["contactITName"]; + } else { + return null; + } + } + + /** + * Sets the contactITName + * Name of the person/organization responsible for IT support. + * + * @param string $val The value of the contactITName + * + * @return IntuneBrand + */ + public function setContactITName($val) + { + $this->_propDict["contactITName"] = $val; + return $this; + } + /** + * Gets the contactITNotes + * Text comments regarding the person/organization responsible for IT support. + * + * @return string|null The contactITNotes + */ + public function getContactITNotes() + { + if (array_key_exists("contactITNotes", $this->_propDict)) { + return $this->_propDict["contactITNotes"]; + } else { + return null; + } + } + + /** + * Sets the contactITNotes + * Text comments regarding the person/organization responsible for IT support. + * + * @param string $val The value of the contactITNotes + * + * @return IntuneBrand + */ + public function setContactITNotes($val) + { + $this->_propDict["contactITNotes"] = $val; + return $this; + } + /** + * Gets the contactITPhoneNumber + * Phone number of the person/organization responsible for IT support. + * + * @return string|null The contactITPhoneNumber + */ + public function getContactITPhoneNumber() + { + if (array_key_exists("contactITPhoneNumber", $this->_propDict)) { + return $this->_propDict["contactITPhoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the contactITPhoneNumber + * Phone number of the person/organization responsible for IT support. + * + * @param string $val The value of the contactITPhoneNumber + * + * @return IntuneBrand + */ + public function setContactITPhoneNumber($val) + { + $this->_propDict["contactITPhoneNumber"] = $val; + return $this; + } + /** + * Gets the customCanSeePrivacyMessage + * The custom privacy message used to explain what the organization can see and do on managed devices. + * + * @return string|null The customCanSeePrivacyMessage + */ + public function getCustomCanSeePrivacyMessage() + { + if (array_key_exists("customCanSeePrivacyMessage", $this->_propDict)) { + return $this->_propDict["customCanSeePrivacyMessage"]; + } else { + return null; + } + } + + /** + * Sets the customCanSeePrivacyMessage + * The custom privacy message used to explain what the organization can see and do on managed devices. + * + * @param string $val The value of the customCanSeePrivacyMessage + * + * @return IntuneBrand + */ + public function setCustomCanSeePrivacyMessage($val) + { + $this->_propDict["customCanSeePrivacyMessage"] = $val; + return $this; + } + /** + * Gets the customCantSeePrivacyMessage + * The custom privacy message used to explain what the organization can’t see or do on managed devices. + * + * @return string|null The customCantSeePrivacyMessage + */ + public function getCustomCantSeePrivacyMessage() + { + if (array_key_exists("customCantSeePrivacyMessage", $this->_propDict)) { + return $this->_propDict["customCantSeePrivacyMessage"]; + } else { + return null; + } + } + + /** + * Sets the customCantSeePrivacyMessage + * The custom privacy message used to explain what the organization can’t see or do on managed devices. + * + * @param string $val The value of the customCantSeePrivacyMessage + * + * @return IntuneBrand + */ + public function setCustomCantSeePrivacyMessage($val) + { + $this->_propDict["customCantSeePrivacyMessage"] = $val; + return $this; + } + /** + * Gets the customPrivacyMessage + * The custom privacy message used to explain what the organization can’t see or do on managed devices. + * + * @return string|null The customPrivacyMessage + */ + public function getCustomPrivacyMessage() + { + if (array_key_exists("customPrivacyMessage", $this->_propDict)) { + return $this->_propDict["customPrivacyMessage"]; + } else { + return null; + } + } + + /** + * Sets the customPrivacyMessage + * The custom privacy message used to explain what the organization can’t see or do on managed devices. + * + * @param string $val The value of the customPrivacyMessage + * + * @return IntuneBrand + */ + public function setCustomPrivacyMessage($val) + { + $this->_propDict["customPrivacyMessage"] = $val; + return $this; + } + + /** + * Gets the darkBackgroundLogo + * Logo image displayed in Company Portal apps which have a dark background behind the logo. + * + * @return MimeContent|null The darkBackgroundLogo + */ + public function getDarkBackgroundLogo() + { + if (array_key_exists("darkBackgroundLogo", $this->_propDict)) { + if (is_a($this->_propDict["darkBackgroundLogo"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["darkBackgroundLogo"])) { + return $this->_propDict["darkBackgroundLogo"]; + } else { + $this->_propDict["darkBackgroundLogo"] = new MimeContent($this->_propDict["darkBackgroundLogo"]); + return $this->_propDict["darkBackgroundLogo"]; + } + } + return null; + } + + /** + * Sets the darkBackgroundLogo + * Logo image displayed in Company Portal apps which have a dark background behind the logo. + * + * @param MimeContent $val The value to assign to the darkBackgroundLogo + * + * @return IntuneBrand The IntuneBrand + */ + public function setDarkBackgroundLogo($val) + { + $this->_propDict["darkBackgroundLogo"] = $val; + return $this; + } + /** + * Gets the disableClientTelemetry + * Applies to telemetry sent from all clients to the Intune service. When disabled, all proactive troubleshooting and issue warnings within the client are turned off, and telemetry settings appear inactive or hidden to the device user. + * + * @return bool|null The disableClientTelemetry + */ + public function getDisableClientTelemetry() + { + if (array_key_exists("disableClientTelemetry", $this->_propDict)) { + return $this->_propDict["disableClientTelemetry"]; + } else { + return null; + } + } + + /** + * Sets the disableClientTelemetry + * Applies to telemetry sent from all clients to the Intune service. When disabled, all proactive troubleshooting and issue warnings within the client are turned off, and telemetry settings appear inactive or hidden to the device user. + * + * @param bool $val The value of the disableClientTelemetry + * + * @return IntuneBrand + */ + public function setDisableClientTelemetry($val) + { + $this->_propDict["disableClientTelemetry"] = $val; + return $this; + } + /** + * Gets the displayName + * Company/organization name that is displayed to end users. + * + * @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 + * Company/organization name that is displayed to end users. + * + * @param string $val The value of the displayName + * + * @return IntuneBrand + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enrollmentAvailability + * Customized device enrollment flow displayed to the end user . Possible values are: availableWithPrompts, availableWithoutPrompts, unavailable. + * + * @return EnrollmentAvailabilityOptions|null The enrollmentAvailability + */ + public function getEnrollmentAvailability() + { + if (array_key_exists("enrollmentAvailability", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentAvailability"], "\Beta\Microsoft\Graph\Model\EnrollmentAvailabilityOptions") || is_null($this->_propDict["enrollmentAvailability"])) { + return $this->_propDict["enrollmentAvailability"]; + } else { + $this->_propDict["enrollmentAvailability"] = new EnrollmentAvailabilityOptions($this->_propDict["enrollmentAvailability"]); + return $this->_propDict["enrollmentAvailability"]; + } + } + return null; + } + + /** + * Sets the enrollmentAvailability + * Customized device enrollment flow displayed to the end user . Possible values are: availableWithPrompts, availableWithoutPrompts, unavailable. + * + * @param EnrollmentAvailabilityOptions $val The value to assign to the enrollmentAvailability + * + * @return IntuneBrand The IntuneBrand + */ + public function setEnrollmentAvailability($val) + { + $this->_propDict["enrollmentAvailability"] = $val; + return $this; + } + /** + * Gets the isFactoryResetDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. + * + * @return bool|null The isFactoryResetDisabled + */ + public function getIsFactoryResetDisabled() + { + if (array_key_exists("isFactoryResetDisabled", $this->_propDict)) { + return $this->_propDict["isFactoryResetDisabled"]; + } else { + return null; + } + } + + /** + * Sets the isFactoryResetDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. + * + * @param bool $val The value of the isFactoryResetDisabled + * + * @return IntuneBrand + */ + public function setIsFactoryResetDisabled($val) + { + $this->_propDict["isFactoryResetDisabled"] = $val; + return $this; + } + /** + * Gets the isRemoveDeviceDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. + * + * @return bool|null The isRemoveDeviceDisabled + */ + public function getIsRemoveDeviceDisabled() + { + if (array_key_exists("isRemoveDeviceDisabled", $this->_propDict)) { + return $this->_propDict["isRemoveDeviceDisabled"]; + } else { + return null; + } + } + + /** + * Sets the isRemoveDeviceDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. + * + * @param bool $val The value of the isRemoveDeviceDisabled + * + * @return IntuneBrand + */ + public function setIsRemoveDeviceDisabled($val) + { + $this->_propDict["isRemoveDeviceDisabled"] = $val; + return $this; + } + + /** + * Gets the landingPageCustomizedImage + * Customized image displayed in Company Portal app landing page + * + * @return MimeContent|null The landingPageCustomizedImage + */ + public function getLandingPageCustomizedImage() + { + if (array_key_exists("landingPageCustomizedImage", $this->_propDict)) { + if (is_a($this->_propDict["landingPageCustomizedImage"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["landingPageCustomizedImage"])) { + return $this->_propDict["landingPageCustomizedImage"]; + } else { + $this->_propDict["landingPageCustomizedImage"] = new MimeContent($this->_propDict["landingPageCustomizedImage"]); + return $this->_propDict["landingPageCustomizedImage"]; + } + } + return null; + } + + /** + * Sets the landingPageCustomizedImage + * Customized image displayed in Company Portal app landing page + * + * @param MimeContent $val The value to assign to the landingPageCustomizedImage + * + * @return IntuneBrand The IntuneBrand + */ + public function setLandingPageCustomizedImage($val) + { + $this->_propDict["landingPageCustomizedImage"] = $val; + return $this; + } + + /** + * Gets the lightBackgroundLogo + * Logo image displayed in Company Portal apps which have a light background behind the logo. + * + * @return MimeContent|null The lightBackgroundLogo + */ + public function getLightBackgroundLogo() + { + if (array_key_exists("lightBackgroundLogo", $this->_propDict)) { + if (is_a($this->_propDict["lightBackgroundLogo"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["lightBackgroundLogo"])) { + return $this->_propDict["lightBackgroundLogo"]; + } else { + $this->_propDict["lightBackgroundLogo"] = new MimeContent($this->_propDict["lightBackgroundLogo"]); + return $this->_propDict["lightBackgroundLogo"]; + } + } + return null; + } + + /** + * Sets the lightBackgroundLogo + * Logo image displayed in Company Portal apps which have a light background behind the logo. + * + * @param MimeContent $val The value to assign to the lightBackgroundLogo + * + * @return IntuneBrand The IntuneBrand + */ + public function setLightBackgroundLogo($val) + { + $this->_propDict["lightBackgroundLogo"] = $val; + return $this; + } + /** + * Gets the onlineSupportSiteName + * Display name of the company/organization’s IT helpdesk site. + * + * @return string|null The onlineSupportSiteName + */ + public function getOnlineSupportSiteName() + { + if (array_key_exists("onlineSupportSiteName", $this->_propDict)) { + return $this->_propDict["onlineSupportSiteName"]; + } else { + return null; + } + } + + /** + * Sets the onlineSupportSiteName + * Display name of the company/organization’s IT helpdesk site. + * + * @param string $val The value of the onlineSupportSiteName + * + * @return IntuneBrand + */ + public function setOnlineSupportSiteName($val) + { + $this->_propDict["onlineSupportSiteName"] = $val; + return $this; + } + /** + * Gets the onlineSupportSiteUrl + * URL to the company/organization’s IT helpdesk site. + * + * @return string|null The onlineSupportSiteUrl + */ + public function getOnlineSupportSiteUrl() + { + if (array_key_exists("onlineSupportSiteUrl", $this->_propDict)) { + return $this->_propDict["onlineSupportSiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the onlineSupportSiteUrl + * URL to the company/organization’s IT helpdesk site. + * + * @param string $val The value of the onlineSupportSiteUrl + * + * @return IntuneBrand + */ + public function setOnlineSupportSiteUrl($val) + { + $this->_propDict["onlineSupportSiteUrl"] = $val; + return $this; + } + /** + * Gets the privacyUrl + * URL to the company/organization’s privacy policy. + * + * @return string|null The privacyUrl + */ + public function getPrivacyUrl() + { + if (array_key_exists("privacyUrl", $this->_propDict)) { + return $this->_propDict["privacyUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyUrl + * URL to the company/organization’s privacy policy. + * + * @param string $val The value of the privacyUrl + * + * @return IntuneBrand + */ + public function setPrivacyUrl($val) + { + $this->_propDict["privacyUrl"] = $val; + return $this; + } + /** + * Gets the roleScopeTagIds + * List of scope tags assigned to the default branding profile + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of scope tags assigned to the default branding profile + * + * @param string $val The value of the roleScopeTagIds + * + * @return IntuneBrand + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + /** + * Gets the sendDeviceOwnershipChangePushNotification + * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate + * + * @return bool|null The sendDeviceOwnershipChangePushNotification + */ + public function getSendDeviceOwnershipChangePushNotification() + { + if (array_key_exists("sendDeviceOwnershipChangePushNotification", $this->_propDict)) { + return $this->_propDict["sendDeviceOwnershipChangePushNotification"]; + } else { + return null; + } + } + + /** + * Sets the sendDeviceOwnershipChangePushNotification + * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate + * + * @param bool $val The value of the sendDeviceOwnershipChangePushNotification + * + * @return IntuneBrand + */ + public function setSendDeviceOwnershipChangePushNotification($val) + { + $this->_propDict["sendDeviceOwnershipChangePushNotification"] = $val; + return $this; + } + /** + * Gets the showAzureADEnterpriseApps + * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal + * + * @return bool|null The showAzureADEnterpriseApps + */ + public function getShowAzureADEnterpriseApps() + { + if (array_key_exists("showAzureADEnterpriseApps", $this->_propDict)) { + return $this->_propDict["showAzureADEnterpriseApps"]; + } else { + return null; + } + } + + /** + * Sets the showAzureADEnterpriseApps + * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal + * + * @param bool $val The value of the showAzureADEnterpriseApps + * + * @return IntuneBrand + */ + public function setShowAzureADEnterpriseApps($val) + { + $this->_propDict["showAzureADEnterpriseApps"] = $val; + return $this; + } + /** + * Gets the showDisplayNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @return bool|null The showDisplayNameNextToLogo + */ + public function getShowDisplayNameNextToLogo() + { + if (array_key_exists("showDisplayNameNextToLogo", $this->_propDict)) { + return $this->_propDict["showDisplayNameNextToLogo"]; + } else { + return null; + } + } + + /** + * Sets the showDisplayNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @param bool $val The value of the showDisplayNameNextToLogo + * + * @return IntuneBrand + */ + public function setShowDisplayNameNextToLogo($val) + { + $this->_propDict["showDisplayNameNextToLogo"] = $val; + return $this; + } + /** + * Gets the showLogo + * Boolean that represents whether the administrator-supplied logo images are shown or not shown. + * + * @return bool|null The showLogo + */ + public function getShowLogo() + { + if (array_key_exists("showLogo", $this->_propDict)) { + return $this->_propDict["showLogo"]; + } else { + return null; + } + } + + /** + * Sets the showLogo + * Boolean that represents whether the administrator-supplied logo images are shown or not shown. + * + * @param bool $val The value of the showLogo + * + * @return IntuneBrand + */ + public function setShowLogo($val) + { + $this->_propDict["showLogo"] = $val; + return $this; + } + /** + * Gets the showNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @return bool|null The showNameNextToLogo + */ + public function getShowNameNextToLogo() + { + if (array_key_exists("showNameNextToLogo", $this->_propDict)) { + return $this->_propDict["showNameNextToLogo"]; + } else { + return null; + } + } + + /** + * Sets the showNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @param bool $val The value of the showNameNextToLogo + * + * @return IntuneBrand + */ + public function setShowNameNextToLogo($val) + { + $this->_propDict["showNameNextToLogo"] = $val; + return $this; + } + /** + * Gets the showOfficeWebApps + * Boolean that indicates if Office WebApps will be shown in Company Portal + * + * @return bool|null The showOfficeWebApps + */ + public function getShowOfficeWebApps() + { + if (array_key_exists("showOfficeWebApps", $this->_propDict)) { + return $this->_propDict["showOfficeWebApps"]; + } else { + return null; + } + } + + /** + * Sets the showOfficeWebApps + * Boolean that indicates if Office WebApps will be shown in Company Portal + * + * @param bool $val The value of the showOfficeWebApps + * + * @return IntuneBrand + */ + public function setShowOfficeWebApps($val) + { + $this->_propDict["showOfficeWebApps"] = $val; + return $this; + } + + /** + * Gets the themeColor + * Primary theme color used in the Company Portal applications and web portal. + * + * @return RgbColor|null The themeColor + */ + public function getThemeColor() + { + if (array_key_exists("themeColor", $this->_propDict)) { + if (is_a($this->_propDict["themeColor"], "\Beta\Microsoft\Graph\Model\RgbColor") || is_null($this->_propDict["themeColor"])) { + return $this->_propDict["themeColor"]; + } else { + $this->_propDict["themeColor"] = new RgbColor($this->_propDict["themeColor"]); + return $this->_propDict["themeColor"]; + } + } + return null; + } + + /** + * Sets the themeColor + * Primary theme color used in the Company Portal applications and web portal. + * + * @param RgbColor $val The value to assign to the themeColor + * + * @return IntuneBrand The IntuneBrand + */ + public function setThemeColor($val) + { + $this->_propDict["themeColor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfile.php new file mode 100644 index 0000000..b083093 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfile.php @@ -0,0 +1,985 @@ +_propDict)) { + return $this->_propDict["companyPortalBlockedActions"]; + } else { + return null; + } + } + + /** + * Sets the companyPortalBlockedActions + * Collection of blocked actions on the company portal as per platform and device ownership types. + * + * @param CompanyPortalBlockedAction[] $val The companyPortalBlockedActions + * + * @return IntuneBrandingProfile + */ + public function setCompanyPortalBlockedActions($val) + { + $this->_propDict["companyPortalBlockedActions"] = $val; + return $this; + } + + /** + * Gets the contactITEmailAddress + * E-mail address of the person/organization responsible for IT support + * + * @return string|null The contactITEmailAddress + */ + public function getContactITEmailAddress() + { + if (array_key_exists("contactITEmailAddress", $this->_propDict)) { + return $this->_propDict["contactITEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the contactITEmailAddress + * E-mail address of the person/organization responsible for IT support + * + * @param string $val The contactITEmailAddress + * + * @return IntuneBrandingProfile + */ + public function setContactITEmailAddress($val) + { + $this->_propDict["contactITEmailAddress"] = $val; + return $this; + } + + /** + * Gets the contactITName + * Name of the person/organization responsible for IT support + * + * @return string|null The contactITName + */ + public function getContactITName() + { + if (array_key_exists("contactITName", $this->_propDict)) { + return $this->_propDict["contactITName"]; + } else { + return null; + } + } + + /** + * Sets the contactITName + * Name of the person/organization responsible for IT support + * + * @param string $val The contactITName + * + * @return IntuneBrandingProfile + */ + public function setContactITName($val) + { + $this->_propDict["contactITName"] = $val; + return $this; + } + + /** + * Gets the contactITNotes + * Text comments regarding the person/organization responsible for IT support + * + * @return string|null The contactITNotes + */ + public function getContactITNotes() + { + if (array_key_exists("contactITNotes", $this->_propDict)) { + return $this->_propDict["contactITNotes"]; + } else { + return null; + } + } + + /** + * Sets the contactITNotes + * Text comments regarding the person/organization responsible for IT support + * + * @param string $val The contactITNotes + * + * @return IntuneBrandingProfile + */ + public function setContactITNotes($val) + { + $this->_propDict["contactITNotes"] = $val; + return $this; + } + + /** + * Gets the contactITPhoneNumber + * Phone number of the person/organization responsible for IT support + * + * @return string|null The contactITPhoneNumber + */ + public function getContactITPhoneNumber() + { + if (array_key_exists("contactITPhoneNumber", $this->_propDict)) { + return $this->_propDict["contactITPhoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the contactITPhoneNumber + * Phone number of the person/organization responsible for IT support + * + * @param string $val The contactITPhoneNumber + * + * @return IntuneBrandingProfile + */ + public function setContactITPhoneNumber($val) + { + $this->_propDict["contactITPhoneNumber"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Time when the BrandingProfile was created + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time when the BrandingProfile was created + * + * @param \DateTime $val The createdDateTime + * + * @return IntuneBrandingProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the customCanSeePrivacyMessage + * Text comments regarding what the admin has access to on the device + * + * @return string|null The customCanSeePrivacyMessage + */ + public function getCustomCanSeePrivacyMessage() + { + if (array_key_exists("customCanSeePrivacyMessage", $this->_propDict)) { + return $this->_propDict["customCanSeePrivacyMessage"]; + } else { + return null; + } + } + + /** + * Sets the customCanSeePrivacyMessage + * Text comments regarding what the admin has access to on the device + * + * @param string $val The customCanSeePrivacyMessage + * + * @return IntuneBrandingProfile + */ + public function setCustomCanSeePrivacyMessage($val) + { + $this->_propDict["customCanSeePrivacyMessage"] = $val; + return $this; + } + + /** + * Gets the customCantSeePrivacyMessage + * Text comments regarding what the admin doesn't have access to on the device + * + * @return string|null The customCantSeePrivacyMessage + */ + public function getCustomCantSeePrivacyMessage() + { + if (array_key_exists("customCantSeePrivacyMessage", $this->_propDict)) { + return $this->_propDict["customCantSeePrivacyMessage"]; + } else { + return null; + } + } + + /** + * Sets the customCantSeePrivacyMessage + * Text comments regarding what the admin doesn't have access to on the device + * + * @param string $val The customCantSeePrivacyMessage + * + * @return IntuneBrandingProfile + */ + public function setCustomCantSeePrivacyMessage($val) + { + $this->_propDict["customCantSeePrivacyMessage"] = $val; + return $this; + } + + /** + * Gets the customPrivacyMessage + * Text comments regarding what the admin doesn't have access to on the device + * + * @return string|null The customPrivacyMessage + */ + public function getCustomPrivacyMessage() + { + if (array_key_exists("customPrivacyMessage", $this->_propDict)) { + return $this->_propDict["customPrivacyMessage"]; + } else { + return null; + } + } + + /** + * Sets the customPrivacyMessage + * Text comments regarding what the admin doesn't have access to on the device + * + * @param string $val The customPrivacyMessage + * + * @return IntuneBrandingProfile + */ + public function setCustomPrivacyMessage($val) + { + $this->_propDict["customPrivacyMessage"] = $val; + return $this; + } + + /** + * Gets the disableClientTelemetry + * Applies to telemetry sent from all clients to the Intune service. When disabled, all proactive troubleshooting and issue warnings within the client are turned off, and telemetry settings appear inactive or hidden to the device user. + * + * @return bool|null The disableClientTelemetry + */ + public function getDisableClientTelemetry() + { + if (array_key_exists("disableClientTelemetry", $this->_propDict)) { + return $this->_propDict["disableClientTelemetry"]; + } else { + return null; + } + } + + /** + * Sets the disableClientTelemetry + * Applies to telemetry sent from all clients to the Intune service. When disabled, all proactive troubleshooting and issue warnings within the client are turned off, and telemetry settings appear inactive or hidden to the device user. + * + * @param bool $val The disableClientTelemetry + * + * @return IntuneBrandingProfile + */ + public function setDisableClientTelemetry($val) + { + $this->_propDict["disableClientTelemetry"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * Company/organization name that is displayed to end users + * + * @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 + * Company/organization name that is displayed to end users + * + * @param string $val The displayName + * + * @return IntuneBrandingProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enrollmentAvailability + * Customized device enrollment flow displayed to the end user . Possible values are: availableWithPrompts, availableWithoutPrompts, unavailable. + * + * @return EnrollmentAvailabilityOptions|null The enrollmentAvailability + */ + public function getEnrollmentAvailability() + { + if (array_key_exists("enrollmentAvailability", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentAvailability"], "\Beta\Microsoft\Graph\Model\EnrollmentAvailabilityOptions") || is_null($this->_propDict["enrollmentAvailability"])) { + return $this->_propDict["enrollmentAvailability"]; + } else { + $this->_propDict["enrollmentAvailability"] = new EnrollmentAvailabilityOptions($this->_propDict["enrollmentAvailability"]); + return $this->_propDict["enrollmentAvailability"]; + } + } + return null; + } + + /** + * Sets the enrollmentAvailability + * Customized device enrollment flow displayed to the end user . Possible values are: availableWithPrompts, availableWithoutPrompts, unavailable. + * + * @param EnrollmentAvailabilityOptions $val The enrollmentAvailability + * + * @return IntuneBrandingProfile + */ + public function setEnrollmentAvailability($val) + { + $this->_propDict["enrollmentAvailability"] = $val; + return $this; + } + + /** + * Gets the isDefaultProfile + * Boolean that represents whether the profile is used as default or not + * + * @return bool|null The isDefaultProfile + */ + public function getIsDefaultProfile() + { + if (array_key_exists("isDefaultProfile", $this->_propDict)) { + return $this->_propDict["isDefaultProfile"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultProfile + * Boolean that represents whether the profile is used as default or not + * + * @param bool $val The isDefaultProfile + * + * @return IntuneBrandingProfile + */ + public function setIsDefaultProfile($val) + { + $this->_propDict["isDefaultProfile"] = boolval($val); + return $this; + } + + /** + * Gets the isFactoryResetDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. + * + * @return bool|null The isFactoryResetDisabled + */ + public function getIsFactoryResetDisabled() + { + if (array_key_exists("isFactoryResetDisabled", $this->_propDict)) { + return $this->_propDict["isFactoryResetDisabled"]; + } else { + return null; + } + } + + /** + * Sets the isFactoryResetDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Factory Reset' action on corporate owned devices. + * + * @param bool $val The isFactoryResetDisabled + * + * @return IntuneBrandingProfile + */ + public function setIsFactoryResetDisabled($val) + { + $this->_propDict["isFactoryResetDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the isRemoveDeviceDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. + * + * @return bool|null The isRemoveDeviceDisabled + */ + public function getIsRemoveDeviceDisabled() + { + if (array_key_exists("isRemoveDeviceDisabled", $this->_propDict)) { + return $this->_propDict["isRemoveDeviceDisabled"]; + } else { + return null; + } + } + + /** + * Sets the isRemoveDeviceDisabled + * Boolean that represents whether the adminsistrator has disabled the 'Remove Device' action on corporate owned devices. + * + * @param bool $val The isRemoveDeviceDisabled + * + * @return IntuneBrandingProfile + */ + public function setIsRemoveDeviceDisabled($val) + { + $this->_propDict["isRemoveDeviceDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the landingPageCustomizedImage + * Customized image displayed in Company Portal apps landing page + * + * @return MimeContent|null The landingPageCustomizedImage + */ + public function getLandingPageCustomizedImage() + { + if (array_key_exists("landingPageCustomizedImage", $this->_propDict)) { + if (is_a($this->_propDict["landingPageCustomizedImage"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["landingPageCustomizedImage"])) { + return $this->_propDict["landingPageCustomizedImage"]; + } else { + $this->_propDict["landingPageCustomizedImage"] = new MimeContent($this->_propDict["landingPageCustomizedImage"]); + return $this->_propDict["landingPageCustomizedImage"]; + } + } + return null; + } + + /** + * Sets the landingPageCustomizedImage + * Customized image displayed in Company Portal apps landing page + * + * @param MimeContent $val The landingPageCustomizedImage + * + * @return IntuneBrandingProfile + */ + public function setLandingPageCustomizedImage($val) + { + $this->_propDict["landingPageCustomizedImage"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Time when the BrandingProfile was last modified + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Time when the BrandingProfile was last modified + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return IntuneBrandingProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lightBackgroundLogo + * Logo image displayed in Company Portal apps which have a light background behind the logo + * + * @return MimeContent|null The lightBackgroundLogo + */ + public function getLightBackgroundLogo() + { + if (array_key_exists("lightBackgroundLogo", $this->_propDict)) { + if (is_a($this->_propDict["lightBackgroundLogo"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["lightBackgroundLogo"])) { + return $this->_propDict["lightBackgroundLogo"]; + } else { + $this->_propDict["lightBackgroundLogo"] = new MimeContent($this->_propDict["lightBackgroundLogo"]); + return $this->_propDict["lightBackgroundLogo"]; + } + } + return null; + } + + /** + * Sets the lightBackgroundLogo + * Logo image displayed in Company Portal apps which have a light background behind the logo + * + * @param MimeContent $val The lightBackgroundLogo + * + * @return IntuneBrandingProfile + */ + public function setLightBackgroundLogo($val) + { + $this->_propDict["lightBackgroundLogo"] = $val; + return $this; + } + + /** + * Gets the onlineSupportSiteName + * Display name of the company/organization’s IT helpdesk site + * + * @return string|null The onlineSupportSiteName + */ + public function getOnlineSupportSiteName() + { + if (array_key_exists("onlineSupportSiteName", $this->_propDict)) { + return $this->_propDict["onlineSupportSiteName"]; + } else { + return null; + } + } + + /** + * Sets the onlineSupportSiteName + * Display name of the company/organization’s IT helpdesk site + * + * @param string $val The onlineSupportSiteName + * + * @return IntuneBrandingProfile + */ + public function setOnlineSupportSiteName($val) + { + $this->_propDict["onlineSupportSiteName"] = $val; + return $this; + } + + /** + * Gets the onlineSupportSiteUrl + * URL to the company/organization’s IT helpdesk site + * + * @return string|null The onlineSupportSiteUrl + */ + public function getOnlineSupportSiteUrl() + { + if (array_key_exists("onlineSupportSiteUrl", $this->_propDict)) { + return $this->_propDict["onlineSupportSiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the onlineSupportSiteUrl + * URL to the company/organization’s IT helpdesk site + * + * @param string $val The onlineSupportSiteUrl + * + * @return IntuneBrandingProfile + */ + public function setOnlineSupportSiteUrl($val) + { + $this->_propDict["onlineSupportSiteUrl"] = $val; + return $this; + } + + /** + * Gets the privacyUrl + * URL to the company/organization’s privacy policy + * + * @return string|null The privacyUrl + */ + public function getPrivacyUrl() + { + if (array_key_exists("privacyUrl", $this->_propDict)) { + return $this->_propDict["privacyUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyUrl + * URL to the company/organization’s privacy policy + * + * @param string $val The privacyUrl + * + * @return IntuneBrandingProfile + */ + public function setPrivacyUrl($val) + { + $this->_propDict["privacyUrl"] = $val; + return $this; + } + + /** + * Gets the profileDescription + * Description of the profile + * + * @return string|null The profileDescription + */ + public function getProfileDescription() + { + if (array_key_exists("profileDescription", $this->_propDict)) { + return $this->_propDict["profileDescription"]; + } else { + return null; + } + } + + /** + * Sets the profileDescription + * Description of the profile + * + * @param string $val The profileDescription + * + * @return IntuneBrandingProfile + */ + public function setProfileDescription($val) + { + $this->_propDict["profileDescription"] = $val; + return $this; + } + + /** + * Gets the profileName + * Name of the profile + * + * @return string|null The profileName + */ + public function getProfileName() + { + if (array_key_exists("profileName", $this->_propDict)) { + return $this->_propDict["profileName"]; + } else { + return null; + } + } + + /** + * Sets the profileName + * Name of the profile + * + * @param string $val The profileName + * + * @return IntuneBrandingProfile + */ + public function setProfileName($val) + { + $this->_propDict["profileName"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of scope tags assigned to the branding profile + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of scope tags assigned to the branding profile + * + * @param string $val The roleScopeTagIds + * + * @return IntuneBrandingProfile + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the sendDeviceOwnershipChangePushNotification + * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate + * + * @return bool|null The sendDeviceOwnershipChangePushNotification + */ + public function getSendDeviceOwnershipChangePushNotification() + { + if (array_key_exists("sendDeviceOwnershipChangePushNotification", $this->_propDict)) { + return $this->_propDict["sendDeviceOwnershipChangePushNotification"]; + } else { + return null; + } + } + + /** + * Sets the sendDeviceOwnershipChangePushNotification + * Boolean that indicates if a push notification is sent to users when their device ownership type changes from personal to corporate + * + * @param bool $val The sendDeviceOwnershipChangePushNotification + * + * @return IntuneBrandingProfile + */ + public function setSendDeviceOwnershipChangePushNotification($val) + { + $this->_propDict["sendDeviceOwnershipChangePushNotification"] = boolval($val); + return $this; + } + + /** + * Gets the showAzureADEnterpriseApps + * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal + * + * @return bool|null The showAzureADEnterpriseApps + */ + public function getShowAzureADEnterpriseApps() + { + if (array_key_exists("showAzureADEnterpriseApps", $this->_propDict)) { + return $this->_propDict["showAzureADEnterpriseApps"]; + } else { + return null; + } + } + + /** + * Sets the showAzureADEnterpriseApps + * Boolean that indicates if AzureAD Enterprise Apps will be shown in Company Portal + * + * @param bool $val The showAzureADEnterpriseApps + * + * @return IntuneBrandingProfile + */ + public function setShowAzureADEnterpriseApps($val) + { + $this->_propDict["showAzureADEnterpriseApps"] = boolval($val); + return $this; + } + + /** + * Gets the showDisplayNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image or not + * + * @return bool|null The showDisplayNameNextToLogo + */ + public function getShowDisplayNameNextToLogo() + { + if (array_key_exists("showDisplayNameNextToLogo", $this->_propDict)) { + return $this->_propDict["showDisplayNameNextToLogo"]; + } else { + return null; + } + } + + /** + * Sets the showDisplayNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image or not + * + * @param bool $val The showDisplayNameNextToLogo + * + * @return IntuneBrandingProfile + */ + public function setShowDisplayNameNextToLogo($val) + { + $this->_propDict["showDisplayNameNextToLogo"] = boolval($val); + return $this; + } + + /** + * Gets the showLogo + * Boolean that represents whether the administrator-supplied logo images are shown or not + * + * @return bool|null The showLogo + */ + public function getShowLogo() + { + if (array_key_exists("showLogo", $this->_propDict)) { + return $this->_propDict["showLogo"]; + } else { + return null; + } + } + + /** + * Sets the showLogo + * Boolean that represents whether the administrator-supplied logo images are shown or not + * + * @param bool $val The showLogo + * + * @return IntuneBrandingProfile + */ + public function setShowLogo($val) + { + $this->_propDict["showLogo"] = boolval($val); + return $this; + } + + /** + * Gets the showOfficeWebApps + * Boolean that indicates if Office WebApps will be shown in Company Portal + * + * @return bool|null The showOfficeWebApps + */ + public function getShowOfficeWebApps() + { + if (array_key_exists("showOfficeWebApps", $this->_propDict)) { + return $this->_propDict["showOfficeWebApps"]; + } else { + return null; + } + } + + /** + * Sets the showOfficeWebApps + * Boolean that indicates if Office WebApps will be shown in Company Portal + * + * @param bool $val The showOfficeWebApps + * + * @return IntuneBrandingProfile + */ + public function setShowOfficeWebApps($val) + { + $this->_propDict["showOfficeWebApps"] = boolval($val); + return $this; + } + + /** + * Gets the themeColor + * Primary theme color used in the Company Portal applications and web portal + * + * @return RgbColor|null The themeColor + */ + public function getThemeColor() + { + if (array_key_exists("themeColor", $this->_propDict)) { + if (is_a($this->_propDict["themeColor"], "\Beta\Microsoft\Graph\Model\RgbColor") || is_null($this->_propDict["themeColor"])) { + return $this->_propDict["themeColor"]; + } else { + $this->_propDict["themeColor"] = new RgbColor($this->_propDict["themeColor"]); + return $this->_propDict["themeColor"]; + } + } + return null; + } + + /** + * Sets the themeColor + * Primary theme color used in the Company Portal applications and web portal + * + * @param RgbColor $val The themeColor + * + * @return IntuneBrandingProfile + */ + public function setThemeColor($val) + { + $this->_propDict["themeColor"] = $val; + return $this; + } + + /** + * Gets the themeColorLogo + * Logo image displayed in Company Portal apps which have a theme color background behind the logo + * + * @return MimeContent|null The themeColorLogo + */ + public function getThemeColorLogo() + { + if (array_key_exists("themeColorLogo", $this->_propDict)) { + if (is_a($this->_propDict["themeColorLogo"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["themeColorLogo"])) { + return $this->_propDict["themeColorLogo"]; + } else { + $this->_propDict["themeColorLogo"] = new MimeContent($this->_propDict["themeColorLogo"]); + return $this->_propDict["themeColorLogo"]; + } + } + return null; + } + + /** + * Sets the themeColorLogo + * Logo image displayed in Company Portal apps which have a theme color background behind the logo + * + * @param MimeContent $val The themeColorLogo + * + * @return IntuneBrandingProfile + */ + public function setThemeColorLogo($val) + { + $this->_propDict["themeColorLogo"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the branding profile + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the branding profile + * + * @param IntuneBrandingProfileAssignment[] $val The assignments + * + * @return IntuneBrandingProfile + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfileAssignment.php new file mode 100644 index 0000000..3301e50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfileAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Assignment target that the branding profile is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return IntuneBrandingProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvestigationSecurityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvestigationSecurityState.php new file mode 100644 index 0000000..57c72ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvestigationSecurityState.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return InvestigationSecurityState + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The value of the status + * + * @return InvestigationSecurityState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Invitation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Invitation.php new file mode 100644 index 0000000..e14070c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Invitation.php @@ -0,0 +1,325 @@ +_propDict)) { + return $this->_propDict["invitedUserDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserDisplayName + * The display name of the user being invited. + * + * @param string $val The invitedUserDisplayName + * + * @return Invitation + */ + public function setInvitedUserDisplayName($val) + { + $this->_propDict["invitedUserDisplayName"] = $val; + return $this; + } + + /** + * Gets the invitedUserEmailAddress + * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` + * + * @return string|null The invitedUserEmailAddress + */ + public function getInvitedUserEmailAddress() + { + if (array_key_exists("invitedUserEmailAddress", $this->_propDict)) { + return $this->_propDict["invitedUserEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserEmailAddress + * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` + * + * @param string $val The invitedUserEmailAddress + * + * @return Invitation + */ + public function setInvitedUserEmailAddress($val) + { + $this->_propDict["invitedUserEmailAddress"] = $val; + return $this; + } + + /** + * Gets the invitedUserMessageInfo + * Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. + * + * @return InvitedUserMessageInfo|null The invitedUserMessageInfo + */ + public function getInvitedUserMessageInfo() + { + if (array_key_exists("invitedUserMessageInfo", $this->_propDict)) { + if (is_a($this->_propDict["invitedUserMessageInfo"], "\Beta\Microsoft\Graph\Model\InvitedUserMessageInfo") || is_null($this->_propDict["invitedUserMessageInfo"])) { + return $this->_propDict["invitedUserMessageInfo"]; + } else { + $this->_propDict["invitedUserMessageInfo"] = new InvitedUserMessageInfo($this->_propDict["invitedUserMessageInfo"]); + return $this->_propDict["invitedUserMessageInfo"]; + } + } + return null; + } + + /** + * Sets the invitedUserMessageInfo + * Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. + * + * @param InvitedUserMessageInfo $val The invitedUserMessageInfo + * + * @return Invitation + */ + public function setInvitedUserMessageInfo($val) + { + $this->_propDict["invitedUserMessageInfo"] = $val; + return $this; + } + + /** + * Gets the invitedUserType + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false. + * + * @return string|null The invitedUserType + */ + public function getInvitedUserType() + { + if (array_key_exists("invitedUserType", $this->_propDict)) { + return $this->_propDict["invitedUserType"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserType + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false. + * + * @param string $val The invitedUserType + * + * @return Invitation + */ + public function setInvitedUserType($val) + { + $this->_propDict["invitedUserType"] = $val; + return $this; + } + + /** + * Gets the inviteRedeemUrl + * The URL the user can use to redeem their invitation. Read-only. + * + * @return string|null The inviteRedeemUrl + */ + public function getInviteRedeemUrl() + { + if (array_key_exists("inviteRedeemUrl", $this->_propDict)) { + return $this->_propDict["inviteRedeemUrl"]; + } else { + return null; + } + } + + /** + * Sets the inviteRedeemUrl + * The URL the user can use to redeem their invitation. Read-only. + * + * @param string $val The inviteRedeemUrl + * + * @return Invitation + */ + public function setInviteRedeemUrl($val) + { + $this->_propDict["inviteRedeemUrl"] = $val; + return $this; + } + + /** + * Gets the inviteRedirectUrl + * The URL user should be redirected to once the invitation is redeemed. Required. + * + * @return string|null The inviteRedirectUrl + */ + public function getInviteRedirectUrl() + { + if (array_key_exists("inviteRedirectUrl", $this->_propDict)) { + return $this->_propDict["inviteRedirectUrl"]; + } else { + return null; + } + } + + /** + * Sets the inviteRedirectUrl + * The URL user should be redirected to once the invitation is redeemed. Required. + * + * @param string $val The inviteRedirectUrl + * + * @return Invitation + */ + public function setInviteRedirectUrl($val) + { + $this->_propDict["inviteRedirectUrl"] = $val; + return $this; + } + + /** + * Gets the resetRedemption + * Reset the user's redemption status and reinvite a user while retaining their user identifier, group memberships, and app assignments. This property allows you to enable a user to sign-in using a different email address from the one in the previous invitation. For more information about using this property, see Reset redemption status for a guest user (Preview). + * + * @return bool|null The resetRedemption + */ + public function getResetRedemption() + { + if (array_key_exists("resetRedemption", $this->_propDict)) { + return $this->_propDict["resetRedemption"]; + } else { + return null; + } + } + + /** + * Sets the resetRedemption + * Reset the user's redemption status and reinvite a user while retaining their user identifier, group memberships, and app assignments. This property allows you to enable a user to sign-in using a different email address from the one in the previous invitation. For more information about using this property, see Reset redemption status for a guest user (Preview). + * + * @param bool $val The resetRedemption + * + * @return Invitation + */ + public function setResetRedemption($val) + { + $this->_propDict["resetRedemption"] = boolval($val); + return $this; + } + + /** + * Gets the sendInvitationMessage + * Indicates whether an email should be sent to the user being invited. The default is false. + * + * @return bool|null The sendInvitationMessage + */ + public function getSendInvitationMessage() + { + if (array_key_exists("sendInvitationMessage", $this->_propDict)) { + return $this->_propDict["sendInvitationMessage"]; + } else { + return null; + } + } + + /** + * Sets the sendInvitationMessage + * Indicates whether an email should be sent to the user being invited. The default is false. + * + * @param bool $val The sendInvitationMessage + * + * @return Invitation + */ + public function setSendInvitationMessage($val) + { + $this->_propDict["sendInvitationMessage"] = boolval($val); + return $this; + } + + /** + * Gets the status + * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + * + * @param string $val The status + * + * @return Invitation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the invitedUser + * The user created as part of the invitation creation. Read-Only + * + * @return User|null The invitedUser + */ + public function getInvitedUser() + { + if (array_key_exists("invitedUser", $this->_propDict)) { + if (is_a($this->_propDict["invitedUser"], "\Beta\Microsoft\Graph\Model\User") || is_null($this->_propDict["invitedUser"])) { + return $this->_propDict["invitedUser"]; + } else { + $this->_propDict["invitedUser"] = new User($this->_propDict["invitedUser"]); + return $this->_propDict["invitedUser"]; + } + } + return null; + } + + /** + * Sets the invitedUser + * The user created as part of the invitation creation. Read-Only + * + * @param User $val The invitedUser + * + * @return Invitation + */ + public function setInvitedUser($val) + { + $this->_propDict["invitedUser"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitationParticipantInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitationParticipantInfo.php new file mode 100644 index 0000000..e5f7e42 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitationParticipantInfo.php @@ -0,0 +1,200 @@ +_propDict)) { + if (is_a($this->_propDict["endpointType"], "\Beta\Microsoft\Graph\Model\EndpointType") || is_null($this->_propDict["endpointType"])) { + return $this->_propDict["endpointType"]; + } else { + $this->_propDict["endpointType"] = new EndpointType($this->_propDict["endpointType"]); + return $this->_propDict["endpointType"]; + } + } + return null; + } + + /** + * Sets the endpointType + * The type of the endpoint. Possible values are: default, voicemail. + * + * @param EndpointType $val The value to assign to the endpointType + * + * @return InvitationParticipantInfo The InvitationParticipantInfo + */ + public function setEndpointType($val) + { + $this->_propDict["endpointType"] = $val; + return $this; + } + /** + * Gets the hidden + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * + * @param bool $val The value of the hidden + * + * @return InvitationParticipantInfo + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = $val; + return $this; + } + + /** + * Gets the identity + * The identitySet associated with this invitation. + * + * @return IdentitySet|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * The identitySet associated with this invitation. + * + * @param IdentitySet $val The value to assign to the identity + * + * @return InvitationParticipantInfo The InvitationParticipantInfo + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + /** + * Gets the participantId + * Optional. The ID of the target participant. + * + * @return string|null The participantId + */ + public function getParticipantId() + { + if (array_key_exists("participantId", $this->_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * Optional. The ID of the target participant. + * + * @param string $val The value of the participantId + * + * @return InvitationParticipantInfo + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } + /** + * Gets the removeFromDefaultAudioRoutingGroup + * + * @return bool|null The removeFromDefaultAudioRoutingGroup + */ + public function getRemoveFromDefaultAudioRoutingGroup() + { + if (array_key_exists("removeFromDefaultAudioRoutingGroup", $this->_propDict)) { + return $this->_propDict["removeFromDefaultAudioRoutingGroup"]; + } else { + return null; + } + } + + /** + * Sets the removeFromDefaultAudioRoutingGroup + * + * @param bool $val The value of the removeFromDefaultAudioRoutingGroup + * + * @return InvitationParticipantInfo + */ + public function setRemoveFromDefaultAudioRoutingGroup($val) + { + $this->_propDict["removeFromDefaultAudioRoutingGroup"] = $val; + return $this; + } + /** + * Gets the replacesCallId + * Optional. The call which the target identity is currently a part of. For peer-to-peer case, the call will be dropped once the participant is added successfully. + * + * @return string|null The replacesCallId + */ + public function getReplacesCallId() + { + if (array_key_exists("replacesCallId", $this->_propDict)) { + return $this->_propDict["replacesCallId"]; + } else { + return null; + } + } + + /** + * Sets the replacesCallId + * Optional. The call which the target identity is currently a part of. For peer-to-peer case, the call will be dropped once the participant is added successfully. + * + * @param string $val The value of the replacesCallId + * + * @return InvitationParticipantInfo + */ + public function setReplacesCallId($val) + { + $this->_propDict["replacesCallId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteNewBotResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteNewBotResponse.php new file mode 100644 index 0000000..9a41fbd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteNewBotResponse.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["inviteUri"]; + } else { + return null; + } + } + + /** + * Sets the inviteUri + * URI to receive new incoming call notification. + * + * @param string $val The value of the inviteUri + * + * @return InviteNewBotResponse + */ + public function setInviteUri($val) + { + $this->_propDict["inviteUri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteParticipantsOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteParticipantsOperation.php new file mode 100644 index 0000000..f048a6e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteParticipantsOperation.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["participants"]; + } else { + return null; + } + } + + /** + * Sets the participants + * The participants to invite. + * + * @param InvitationParticipantInfo[] $val The participants + * + * @return InviteParticipantsOperation + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitedUserMessageInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitedUserMessageInfo.php new file mode 100644 index 0000000..b5b5a6c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitedUserMessageInfo.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["ccRecipients"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["ccRecipients"])) { + return $this->_propDict["ccRecipients"]; + } else { + $this->_propDict["ccRecipients"] = new Recipient($this->_propDict["ccRecipients"]); + return $this->_propDict["ccRecipients"]; + } + } + return null; + } + + /** + * Sets the ccRecipients + * Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. + * + * @param Recipient $val The value to assign to the ccRecipients + * + * @return InvitedUserMessageInfo The InvitedUserMessageInfo + */ + public function setCcRecipients($val) + { + $this->_propDict["ccRecipients"] = $val; + return $this; + } + /** + * Gets the customizedMessageBody + * Customized message body you want to send if you don't want the default message. + * + * @return string|null The customizedMessageBody + */ + public function getCustomizedMessageBody() + { + if (array_key_exists("customizedMessageBody", $this->_propDict)) { + return $this->_propDict["customizedMessageBody"]; + } else { + return null; + } + } + + /** + * Sets the customizedMessageBody + * Customized message body you want to send if you don't want the default message. + * + * @param string $val The value of the customizedMessageBody + * + * @return InvitedUserMessageInfo + */ + public function setCustomizedMessageBody($val) + { + $this->_propDict["customizedMessageBody"] = $val; + return $this; + } + /** + * Gets the messageLanguage + * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. + * + * @return string|null The messageLanguage + */ + public function getMessageLanguage() + { + if (array_key_exists("messageLanguage", $this->_propDict)) { + return $this->_propDict["messageLanguage"]; + } else { + return null; + } + } + + /** + * Sets the messageLanguage + * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. + * + * @param string $val The value of the messageLanguage + * + * @return InvitedUserMessageInfo + */ + public function setMessageLanguage($val) + { + $this->_propDict["messageLanguage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvokeUserFlowListener.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvokeUserFlowListener.php new file mode 100644 index 0000000..3d71555 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvokeUserFlowListener.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["userFlow"], "\Beta\Microsoft\Graph\Model\B2xIdentityUserFlow") || is_null($this->_propDict["userFlow"])) { + return $this->_propDict["userFlow"]; + } else { + $this->_propDict["userFlow"] = new B2xIdentityUserFlow($this->_propDict["userFlow"]); + return $this->_propDict["userFlow"]; + } + } + return null; + } + + /** + * Sets the userFlow + * The user flow that is invoked when this action executes. + * + * @param B2xIdentityUserFlow $val The userFlow + * + * @return InvokeUserFlowListener + */ + public function setUserFlow($val) + { + $this->_propDict["userFlow"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAvailableUpdateVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAvailableUpdateVersion.php new file mode 100644 index 0000000..3c3e0c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAvailableUpdateVersion.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date of the update. + * + * @param \DateTime $val The value to assign to the expirationDateTime + * + * @return IosAvailableUpdateVersion The IosAvailableUpdateVersion + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the postingDateTime + * The posting date of the update. + * + * @return \DateTime|null The postingDateTime + */ + public function getPostingDateTime() + { + if (array_key_exists("postingDateTime", $this->_propDict)) { + if (is_a($this->_propDict["postingDateTime"], "\DateTime") || is_null($this->_propDict["postingDateTime"])) { + return $this->_propDict["postingDateTime"]; + } else { + $this->_propDict["postingDateTime"] = new \DateTime($this->_propDict["postingDateTime"]); + return $this->_propDict["postingDateTime"]; + } + } + return null; + } + + /** + * Sets the postingDateTime + * The posting date of the update. + * + * @param \DateTime $val The value to assign to the postingDateTime + * + * @return IosAvailableUpdateVersion The IosAvailableUpdateVersion + */ + public function setPostingDateTime($val) + { + $this->_propDict["postingDateTime"] = $val; + return $this; + } + /** + * Gets the productVersion + * The version of the update. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The version of the update. + * + * @param string $val The value of the productVersion + * + * @return IosAvailableUpdateVersion + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + /** + * Gets the supportedDevices + * List of supported devices for the update. + * + * @return string|null The supportedDevices + */ + public function getSupportedDevices() + { + if (array_key_exists("supportedDevices", $this->_propDict)) { + return $this->_propDict["supportedDevices"]; + } else { + return null; + } + } + + /** + * Sets the supportedDevices + * List of supported devices for the update. + * + * @param string $val The value of the supportedDevices + * + * @return IosAvailableUpdateVersion + */ + public function setSupportedDevices($val) + { + $this->_propDict["supportedDevices"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAzureAdSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAzureAdSingleSignOnExtension.php new file mode 100644 index 0000000..2384169 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAzureAdSingleSignOnExtension.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.iosAzureAdSingleSignOnExtension"); + } + + /** + * Gets the bundleIdAccessControlList + * An optional list of additional bundle IDs allowed to use the AAD extension for single sign-on. + * + * @return string|null The bundleIdAccessControlList + */ + public function getBundleIdAccessControlList() + { + if (array_key_exists("bundleIdAccessControlList", $this->_propDict)) { + return $this->_propDict["bundleIdAccessControlList"]; + } else { + return null; + } + } + + /** + * Sets the bundleIdAccessControlList + * An optional list of additional bundle IDs allowed to use the AAD extension for single sign-on. + * + * @param string $val The value of the bundleIdAccessControlList + * + * @return IosAzureAdSingleSignOnExtension + */ + public function setBundleIdAccessControlList($val) + { + $this->_propDict["bundleIdAccessControlList"] = $val; + return $this; + } + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return IosAzureAdSingleSignOnExtension The IosAzureAdSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the enableSharedDeviceMode + * Enables or disables shared device mode. + * + * @return bool|null The enableSharedDeviceMode + */ + public function getEnableSharedDeviceMode() + { + if (array_key_exists("enableSharedDeviceMode", $this->_propDict)) { + return $this->_propDict["enableSharedDeviceMode"]; + } else { + return null; + } + } + + /** + * Sets the enableSharedDeviceMode + * Enables or disables shared device mode. + * + * @param bool $val The value of the enableSharedDeviceMode + * + * @return IosAzureAdSingleSignOnExtension + */ + public function setEnableSharedDeviceMode($val) + { + $this->_propDict["enableSharedDeviceMode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosBookmark.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosBookmark.php new file mode 100644 index 0000000..91c69f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosBookmark.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["bookmarkFolder"]; + } else { + return null; + } + } + + /** + * Sets the bookmarkFolder + * The folder into which the bookmark should be added in Safari + * + * @param string $val The value of the bookmarkFolder + * + * @return IosBookmark + */ + public function setBookmarkFolder($val) + { + $this->_propDict["bookmarkFolder"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the bookmark + * + * @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 + * The display name of the bookmark + * + * @param string $val The value of the displayName + * + * @return IosBookmark + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the url + * URL allowed to access + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * URL allowed to access + * + * @param string $val The value of the url + * + * @return IosBookmark + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCertificateProfile.php new file mode 100644 index 0000000..28b9259 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCertificateProfile.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return IosCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return IosCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return IosCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return IosCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameAsEmail, custom, commonNameIncludingEmail, commonNameAsIMEI, commonNameAsSerialNumber. + * + * @return AppleSubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\AppleSubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new AppleSubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameAsEmail, custom, commonNameIncludingEmail, commonNameAsIMEI, commonNameAsSerialNumber. + * + * @param AppleSubjectNameFormat $val The subjectNameFormat + * + * @return IosCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCompliancePolicy.php new file mode 100644 index 0000000..44f64c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCompliancePolicy.php @@ -0,0 +1,591 @@ +_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionRequiredSecurityLevel + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The advancedThreatProtectionRequiredSecurityLevel + * + * @return IosCompliancePolicy + */ + public function setAdvancedThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection . + * + * @return bool|null The deviceThreatProtectionEnabled + */ + public function getDeviceThreatProtectionEnabled() + { + if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection . + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return IosCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return IosCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the managedEmailProfileRequired + * Indicates whether or not to require a managed email profile. + * + * @return bool|null The managedEmailProfileRequired + */ + public function getManagedEmailProfileRequired() + { + if (array_key_exists("managedEmailProfileRequired", $this->_propDict)) { + return $this->_propDict["managedEmailProfileRequired"]; + } else { + return null; + } + } + + /** + * Sets the managedEmailProfileRequired + * Indicates whether or not to require a managed email profile. + * + * @param bool $val The managedEmailProfileRequired + * + * @return IosCompliancePolicy + */ + public function setManagedEmailProfileRequired($val) + { + $this->_propDict["managedEmailProfileRequired"] = boolval($val); + return $this; + } + + /** + * Gets the osMaximumBuildVersion + * Maximum IOS build version. + * + * @return string|null The osMaximumBuildVersion + */ + public function getOsMaximumBuildVersion() + { + if (array_key_exists("osMaximumBuildVersion", $this->_propDict)) { + return $this->_propDict["osMaximumBuildVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumBuildVersion + * Maximum IOS build version. + * + * @param string $val The osMaximumBuildVersion + * + * @return IosCompliancePolicy + */ + public function setOsMaximumBuildVersion($val) + { + $this->_propDict["osMaximumBuildVersion"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum IOS version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum IOS version. + * + * @param string $val The osMaximumVersion + * + * @return IosCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumBuildVersion + * Minimum IOS build version. + * + * @return string|null The osMinimumBuildVersion + */ + public function getOsMinimumBuildVersion() + { + if (array_key_exists("osMinimumBuildVersion", $this->_propDict)) { + return $this->_propDict["osMinimumBuildVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumBuildVersion + * Minimum IOS build version. + * + * @param string $val The osMinimumBuildVersion + * + * @return IosCompliancePolicy + */ + public function setOsMinimumBuildVersion($val) + { + $this->_propDict["osMinimumBuildVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum IOS version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum IOS version. + * + * @param string $val The osMinimumVersion + * + * @return IosCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @return bool|null The passcodeBlockSimple + */ + public function getPasscodeBlockSimple() + { + if (array_key_exists("passcodeBlockSimple", $this->_propDict)) { + return $this->_propDict["passcodeBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @param bool $val The passcodeBlockSimple + * + * @return IosCompliancePolicy + */ + public function setPasscodeBlockSimple($val) + { + $this->_propDict["passcodeBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @return int|null The passcodeExpirationDays + */ + public function getPasscodeExpirationDays() + { + if (array_key_exists("passcodeExpirationDays", $this->_propDict)) { + return $this->_propDict["passcodeExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @param int $val The passcodeExpirationDays + * + * @return IosCompliancePolicy + */ + public function setPasscodeExpirationDays($val) + { + $this->_propDict["passcodeExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passcodeMinimumCharacterSetCount + */ + public function getPasscodeMinimumCharacterSetCount() + { + if (array_key_exists("passcodeMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passcodeMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passcodeMinimumCharacterSetCount + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinimumCharacterSetCount($val) + { + $this->_propDict["passcodeMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @return int|null The passcodeMinimumLength + */ + public function getPasscodeMinimumLength() + { + if (array_key_exists("passcodeMinimumLength", $this->_propDict)) { + return $this->_propDict["passcodeMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @param int $val The passcodeMinimumLength + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinimumLength($val) + { + $this->_propDict["passcodeMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @return int|null The passcodeMinutesOfInactivityBeforeLock + */ + public function getPasscodeMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @param int $val The passcodeMinutesOfInactivityBeforeLock + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passcodeMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasscodeMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passcodeMinutesOfInactivityBeforeScreenTimeout + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @return int|null The passcodePreviousPasscodeBlockCount + */ + public function getPasscodePreviousPasscodeBlockCount() + { + if (array_key_exists("passcodePreviousPasscodeBlockCount", $this->_propDict)) { + return $this->_propDict["passcodePreviousPasscodeBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @param int $val The passcodePreviousPasscodeBlockCount + * + * @return IosCompliancePolicy + */ + public function setPasscodePreviousPasscodeBlockCount($val) + { + $this->_propDict["passcodePreviousPasscodeBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @return bool|null The passcodeRequired + */ + public function getPasscodeRequired() + { + if (array_key_exists("passcodeRequired", $this->_propDict)) { + return $this->_propDict["passcodeRequired"]; + } else { + return null; + } + } + + /** + * Sets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @param bool $val The passcodeRequired + * + * @return IosCompliancePolicy + */ + public function setPasscodeRequired($val) + { + $this->_propDict["passcodeRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeRequiredType + * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passcodeRequiredType + */ + public function getPasscodeRequiredType() + { + if (array_key_exists("passcodeRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passcodeRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passcodeRequiredType"])) { + return $this->_propDict["passcodeRequiredType"]; + } else { + $this->_propDict["passcodeRequiredType"] = new RequiredPasswordType($this->_propDict["passcodeRequiredType"]); + return $this->_propDict["passcodeRequiredType"]; + } + } + return null; + } + + /** + * Sets the passcodeRequiredType + * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passcodeRequiredType + * + * @return IosCompliancePolicy + */ + public function setPasscodeRequiredType($val) + { + $this->_propDict["passcodeRequiredType"] = $val; + return $this; + } + + + /** + * Gets the restrictedApps + * Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. + * + * @return array|null The restrictedApps + */ + public function getRestrictedApps() + { + if (array_key_exists("restrictedApps", $this->_propDict)) { + return $this->_propDict["restrictedApps"]; + } else { + return null; + } + } + + /** + * Sets the restrictedApps + * Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. + * + * @param AppListItem[] $val The restrictedApps + * + * @return IosCompliancePolicy + */ + public function setRestrictedApps($val) + { + $this->_propDict["restrictedApps"] = $val; + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return IosCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCredentialSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCredentialSingleSignOnExtension.php new file mode 100644 index 0000000..60084fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCredentialSingleSignOnExtension.php @@ -0,0 +1,182 @@ +setODataType("#microsoft.graph.iosCredentialSingleSignOnExtension"); + } + + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return IosCredentialSingleSignOnExtension The IosCredentialSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @param string $val The value of the domains + * + * @return IosCredentialSingleSignOnExtension + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The extensionIdentifier + */ + public function getExtensionIdentifier() + { + if (array_key_exists("extensionIdentifier", $this->_propDict)) { + return $this->_propDict["extensionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the extensionIdentifier + * + * @return IosCredentialSingleSignOnExtension + */ + public function setExtensionIdentifier($val) + { + $this->_propDict["extensionIdentifier"] = $val; + return $this; + } + /** + * Gets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @param string $val The value of the realm + * + * @return IosCredentialSingleSignOnExtension + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the teamIdentifier + * + * @return IosCredentialSingleSignOnExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCustomConfiguration.php new file mode 100644 index 0000000..3183c59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCustomConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * Payload. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The payload + * + * @return IosCustomConfiguration + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the payloadFileName + * Payload file name (.mobileconfig + * + * @return string|null The payloadFileName + */ + public function getPayloadFileName() + { + if (array_key_exists("payloadFileName", $this->_propDict)) { + return $this->_propDict["payloadFileName"]; + } else { + return null; + } + } + + /** + * Sets the payloadFileName + * Payload file name (.mobileconfig + * + * @param string $val The payloadFileName + * + * @return IosCustomConfiguration + */ + public function setPayloadFileName($val) + { + $this->_propDict["payloadFileName"] = $val; + return $this; + } + + /** + * Gets the payloadName + * Name that is displayed to the user. + * + * @return string|null The payloadName + */ + public function getPayloadName() + { + if (array_key_exists("payloadName", $this->_propDict)) { + return $this->_propDict["payloadName"]; + } else { + return null; + } + } + + /** + * Sets the payloadName + * Name that is displayed to the user. + * + * @param string $val The payloadName + * + * @return IosCustomConfiguration + */ + public function setPayloadName($val) + { + $this->_propDict["payloadName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDerivedCredentialAuthenticationConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDerivedCredentialAuthenticationConfiguration.php new file mode 100644 index 0000000..85c9b69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDerivedCredentialAuthenticationConfiguration.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return IosDerivedCredentialAuthenticationConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceFeaturesConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceFeaturesConfiguration.php new file mode 100644 index 0000000..afdac74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceFeaturesConfiguration.php @@ -0,0 +1,497 @@ +_propDict)) { + return $this->_propDict["assetTagTemplate"]; + } else { + return null; + } + } + + /** + * Sets the assetTagTemplate + * Asset tag information for the device, displayed on the login window and lock screen. + * + * @param string $val The assetTagTemplate + * + * @return IosDeviceFeaturesConfiguration + */ + public function setAssetTagTemplate($val) + { + $this->_propDict["assetTagTemplate"] = $val; + return $this; + } + + /** + * Gets the contentFilterSettings + * Gets or sets iOS Web Content Filter settings, supervised mode only + * + * @return IosWebContentFilterBase|null The contentFilterSettings + */ + public function getContentFilterSettings() + { + if (array_key_exists("contentFilterSettings", $this->_propDict)) { + if (is_a($this->_propDict["contentFilterSettings"], "\Beta\Microsoft\Graph\Model\IosWebContentFilterBase") || is_null($this->_propDict["contentFilterSettings"])) { + return $this->_propDict["contentFilterSettings"]; + } else { + $this->_propDict["contentFilterSettings"] = new IosWebContentFilterBase($this->_propDict["contentFilterSettings"]); + return $this->_propDict["contentFilterSettings"]; + } + } + return null; + } + + /** + * Sets the contentFilterSettings + * Gets or sets iOS Web Content Filter settings, supervised mode only + * + * @param IosWebContentFilterBase $val The contentFilterSettings + * + * @return IosDeviceFeaturesConfiguration + */ + public function setContentFilterSettings($val) + { + $this->_propDict["contentFilterSettings"] = $val; + return $this; + } + + + /** + * Gets the homeScreenDockIcons + * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. + * + * @return array|null The homeScreenDockIcons + */ + public function getHomeScreenDockIcons() + { + if (array_key_exists("homeScreenDockIcons", $this->_propDict)) { + return $this->_propDict["homeScreenDockIcons"]; + } else { + return null; + } + } + + /** + * Sets the homeScreenDockIcons + * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenItem[] $val The homeScreenDockIcons + * + * @return IosDeviceFeaturesConfiguration + */ + public function setHomeScreenDockIcons($val) + { + $this->_propDict["homeScreenDockIcons"] = $val; + return $this; + } + + /** + * Gets the homeScreenGridHeight + * Gets or sets the number of rows to render when configuring iOS home screen layout settings. If this value is configured, homeScreenGridWidth must be configured as well. + * + * @return int|null The homeScreenGridHeight + */ + public function getHomeScreenGridHeight() + { + if (array_key_exists("homeScreenGridHeight", $this->_propDict)) { + return $this->_propDict["homeScreenGridHeight"]; + } else { + return null; + } + } + + /** + * Sets the homeScreenGridHeight + * Gets or sets the number of rows to render when configuring iOS home screen layout settings. If this value is configured, homeScreenGridWidth must be configured as well. + * + * @param int $val The homeScreenGridHeight + * + * @return IosDeviceFeaturesConfiguration + */ + public function setHomeScreenGridHeight($val) + { + $this->_propDict["homeScreenGridHeight"] = intval($val); + return $this; + } + + /** + * Gets the homeScreenGridWidth + * Gets or sets the number of columns to render when configuring iOS home screen layout settings. If this value is configured, homeScreenGridHeight must be configured as well. + * + * @return int|null The homeScreenGridWidth + */ + public function getHomeScreenGridWidth() + { + if (array_key_exists("homeScreenGridWidth", $this->_propDict)) { + return $this->_propDict["homeScreenGridWidth"]; + } else { + return null; + } + } + + /** + * Sets the homeScreenGridWidth + * Gets or sets the number of columns to render when configuring iOS home screen layout settings. If this value is configured, homeScreenGridHeight must be configured as well. + * + * @param int $val The homeScreenGridWidth + * + * @return IosDeviceFeaturesConfiguration + */ + public function setHomeScreenGridWidth($val) + { + $this->_propDict["homeScreenGridWidth"] = intval($val); + return $this; + } + + + /** + * Gets the homeScreenPages + * A list of pages on the Home Screen. This collection can contain a maximum of 500 elements. + * + * @return array|null The homeScreenPages + */ + public function getHomeScreenPages() + { + if (array_key_exists("homeScreenPages", $this->_propDict)) { + return $this->_propDict["homeScreenPages"]; + } else { + return null; + } + } + + /** + * Sets the homeScreenPages + * A list of pages on the Home Screen. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenPage[] $val The homeScreenPages + * + * @return IosDeviceFeaturesConfiguration + */ + public function setHomeScreenPages($val) + { + $this->_propDict["homeScreenPages"] = $val; + return $this; + } + + /** + * Gets the iosSingleSignOnExtension + * Gets or sets a single sign-on extension profile. + * + * @return IosSingleSignOnExtension|null The iosSingleSignOnExtension + */ + public function getIosSingleSignOnExtension() + { + if (array_key_exists("iosSingleSignOnExtension", $this->_propDict)) { + if (is_a($this->_propDict["iosSingleSignOnExtension"], "\Beta\Microsoft\Graph\Model\IosSingleSignOnExtension") || is_null($this->_propDict["iosSingleSignOnExtension"])) { + return $this->_propDict["iosSingleSignOnExtension"]; + } else { + $this->_propDict["iosSingleSignOnExtension"] = new IosSingleSignOnExtension($this->_propDict["iosSingleSignOnExtension"]); + return $this->_propDict["iosSingleSignOnExtension"]; + } + } + return null; + } + + /** + * Sets the iosSingleSignOnExtension + * Gets or sets a single sign-on extension profile. + * + * @param IosSingleSignOnExtension $val The iosSingleSignOnExtension + * + * @return IosDeviceFeaturesConfiguration + */ + public function setIosSingleSignOnExtension($val) + { + $this->_propDict["iosSingleSignOnExtension"] = $val; + return $this; + } + + /** + * Gets the lockScreenFootnote + * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. + * + * @return string|null The lockScreenFootnote + */ + public function getLockScreenFootnote() + { + if (array_key_exists("lockScreenFootnote", $this->_propDict)) { + return $this->_propDict["lockScreenFootnote"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenFootnote + * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. + * + * @param string $val The lockScreenFootnote + * + * @return IosDeviceFeaturesConfiguration + */ + public function setLockScreenFootnote($val) + { + $this->_propDict["lockScreenFootnote"] = $val; + return $this; + } + + + /** + * Gets the notificationSettings + * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. + * + * @return array|null The notificationSettings + */ + public function getNotificationSettings() + { + if (array_key_exists("notificationSettings", $this->_propDict)) { + return $this->_propDict["notificationSettings"]; + } else { + return null; + } + } + + /** + * Sets the notificationSettings + * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. + * + * @param IosNotificationSettings[] $val The notificationSettings + * + * @return IosDeviceFeaturesConfiguration + */ + public function setNotificationSettings($val) + { + $this->_propDict["notificationSettings"] = $val; + return $this; + } + + /** + * Gets the singleSignOnExtension + * Gets or sets a single sign-on extension profile. Deprecated: use IOSSingleSignOnExtension instead. + * + * @return SingleSignOnExtension|null The singleSignOnExtension + */ + public function getSingleSignOnExtension() + { + if (array_key_exists("singleSignOnExtension", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnExtension"], "\Beta\Microsoft\Graph\Model\SingleSignOnExtension") || is_null($this->_propDict["singleSignOnExtension"])) { + return $this->_propDict["singleSignOnExtension"]; + } else { + $this->_propDict["singleSignOnExtension"] = new SingleSignOnExtension($this->_propDict["singleSignOnExtension"]); + return $this->_propDict["singleSignOnExtension"]; + } + } + return null; + } + + /** + * Sets the singleSignOnExtension + * Gets or sets a single sign-on extension profile. Deprecated: use IOSSingleSignOnExtension instead. + * + * @param SingleSignOnExtension $val The singleSignOnExtension + * + * @return IosDeviceFeaturesConfiguration + */ + public function setSingleSignOnExtension($val) + { + $this->_propDict["singleSignOnExtension"] = $val; + return $this; + } + + /** + * Gets the singleSignOnSettings + * The Kerberos login settings that enable apps on receiving devices to authenticate smoothly. + * + * @return IosSingleSignOnSettings|null The singleSignOnSettings + */ + public function getSingleSignOnSettings() + { + if (array_key_exists("singleSignOnSettings", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnSettings"], "\Beta\Microsoft\Graph\Model\IosSingleSignOnSettings") || is_null($this->_propDict["singleSignOnSettings"])) { + return $this->_propDict["singleSignOnSettings"]; + } else { + $this->_propDict["singleSignOnSettings"] = new IosSingleSignOnSettings($this->_propDict["singleSignOnSettings"]); + return $this->_propDict["singleSignOnSettings"]; + } + } + return null; + } + + /** + * Sets the singleSignOnSettings + * The Kerberos login settings that enable apps on receiving devices to authenticate smoothly. + * + * @param IosSingleSignOnSettings $val The singleSignOnSettings + * + * @return IosDeviceFeaturesConfiguration + */ + public function setSingleSignOnSettings($val) + { + $this->_propDict["singleSignOnSettings"] = $val; + return $this; + } + + /** + * Gets the wallpaperDisplayLocation + * A wallpaper display location specifier. Possible values are: notConfigured, lockScreen, homeScreen, lockAndHomeScreens. + * + * @return IosWallpaperDisplayLocation|null The wallpaperDisplayLocation + */ + public function getWallpaperDisplayLocation() + { + if (array_key_exists("wallpaperDisplayLocation", $this->_propDict)) { + if (is_a($this->_propDict["wallpaperDisplayLocation"], "\Beta\Microsoft\Graph\Model\IosWallpaperDisplayLocation") || is_null($this->_propDict["wallpaperDisplayLocation"])) { + return $this->_propDict["wallpaperDisplayLocation"]; + } else { + $this->_propDict["wallpaperDisplayLocation"] = new IosWallpaperDisplayLocation($this->_propDict["wallpaperDisplayLocation"]); + return $this->_propDict["wallpaperDisplayLocation"]; + } + } + return null; + } + + /** + * Sets the wallpaperDisplayLocation + * A wallpaper display location specifier. Possible values are: notConfigured, lockScreen, homeScreen, lockAndHomeScreens. + * + * @param IosWallpaperDisplayLocation $val The wallpaperDisplayLocation + * + * @return IosDeviceFeaturesConfiguration + */ + public function setWallpaperDisplayLocation($val) + { + $this->_propDict["wallpaperDisplayLocation"] = $val; + return $this; + } + + /** + * Gets the wallpaperImage + * A wallpaper image must be in either PNG or JPEG format. It requires a supervised device with iOS 8 or later version. + * + * @return MimeContent|null The wallpaperImage + */ + public function getWallpaperImage() + { + if (array_key_exists("wallpaperImage", $this->_propDict)) { + if (is_a($this->_propDict["wallpaperImage"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["wallpaperImage"])) { + return $this->_propDict["wallpaperImage"]; + } else { + $this->_propDict["wallpaperImage"] = new MimeContent($this->_propDict["wallpaperImage"]); + return $this->_propDict["wallpaperImage"]; + } + } + return null; + } + + /** + * Sets the wallpaperImage + * A wallpaper image must be in either PNG or JPEG format. It requires a supervised device with iOS 8 or later version. + * + * @param MimeContent $val The wallpaperImage + * + * @return IosDeviceFeaturesConfiguration + */ + public function setWallpaperImage($val) + { + $this->_propDict["wallpaperImage"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for the renewal of Kerberos ticket used in single sign-on settings. + * + * @return IosCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new IosCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for the renewal of Kerberos ticket used in single sign-on settings. + * + * @param IosCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return IosDeviceFeaturesConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the singleSignOnExtensionPkinitCertificate + * PKINIT Certificate for the authentication with single sign-on extension settings. + * + * @return IosCertificateProfileBase|null The singleSignOnExtensionPkinitCertificate + */ + public function getSingleSignOnExtensionPkinitCertificate() + { + if (array_key_exists("singleSignOnExtensionPkinitCertificate", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnExtensionPkinitCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase") || is_null($this->_propDict["singleSignOnExtensionPkinitCertificate"])) { + return $this->_propDict["singleSignOnExtensionPkinitCertificate"]; + } else { + $this->_propDict["singleSignOnExtensionPkinitCertificate"] = new IosCertificateProfileBase($this->_propDict["singleSignOnExtensionPkinitCertificate"]); + return $this->_propDict["singleSignOnExtensionPkinitCertificate"]; + } + } + return null; + } + + /** + * Sets the singleSignOnExtensionPkinitCertificate + * PKINIT Certificate for the authentication with single sign-on extension settings. + * + * @param IosCertificateProfileBase $val The singleSignOnExtensionPkinitCertificate + * + * @return IosDeviceFeaturesConfiguration + */ + public function setSingleSignOnExtensionPkinitCertificate($val) + { + $this->_propDict["singleSignOnExtensionPkinitCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceType.php new file mode 100644 index 0000000..81bb3fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceType.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["iPad"]; + } else { + return null; + } + } + + /** + * Sets the iPad + * Whether the app should run on iPads. + * + * @param bool $val The value of the iPad + * + * @return IosDeviceType + */ + public function setIPad($val) + { + $this->_propDict["iPad"] = $val; + return $this; + } + /** + * Gets the iPhoneAndIPod + * Whether the app should run on iPhones and iPods. + * + * @return bool|null The iPhoneAndIPod + */ + public function getIPhoneAndIPod() + { + if (array_key_exists("iPhoneAndIPod", $this->_propDict)) { + return $this->_propDict["iPhoneAndIPod"]; + } else { + return null; + } + } + + /** + * Sets the iPhoneAndIPod + * Whether the app should run on iPhones and iPods. + * + * @param bool $val The value of the iPhoneAndIPod + * + * @return IosDeviceType + */ + public function setIPhoneAndIPod($val) + { + $this->_propDict["iPhoneAndIPod"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEasEmailProfileConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEasEmailProfileConfiguration.php new file mode 100644 index 0000000..d61484d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEasEmailProfileConfiguration.php @@ -0,0 +1,850 @@ +_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Account name. + * + * @param string $val The accountName + * + * @return IosEasEmailProfileConfiguration + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + + /** + * Gets the authenticationMethod + * Authentication method for this Email profile. Possible values are: usernameAndPassword, certificate, derivedCredential. + * + * @return EasAuthenticationMethod|null The authenticationMethod + */ + public function getAuthenticationMethod() + { + if (array_key_exists("authenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new EasAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method for this Email profile. Possible values are: usernameAndPassword, certificate, derivedCredential. + * + * @param EasAuthenticationMethod $val The authenticationMethod + * + * @return IosEasEmailProfileConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the blockMovingMessagesToOtherEmailAccounts + * Indicates whether or not to block moving messages to other email accounts. + * + * @return bool|null The blockMovingMessagesToOtherEmailAccounts + */ + public function getBlockMovingMessagesToOtherEmailAccounts() + { + if (array_key_exists("blockMovingMessagesToOtherEmailAccounts", $this->_propDict)) { + return $this->_propDict["blockMovingMessagesToOtherEmailAccounts"]; + } else { + return null; + } + } + + /** + * Sets the blockMovingMessagesToOtherEmailAccounts + * Indicates whether or not to block moving messages to other email accounts. + * + * @param bool $val The blockMovingMessagesToOtherEmailAccounts + * + * @return IosEasEmailProfileConfiguration + */ + public function setBlockMovingMessagesToOtherEmailAccounts($val) + { + $this->_propDict["blockMovingMessagesToOtherEmailAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the blockSendingEmailFromThirdPartyApps + * Indicates whether or not to block sending email from third party apps. + * + * @return bool|null The blockSendingEmailFromThirdPartyApps + */ + public function getBlockSendingEmailFromThirdPartyApps() + { + if (array_key_exists("blockSendingEmailFromThirdPartyApps", $this->_propDict)) { + return $this->_propDict["blockSendingEmailFromThirdPartyApps"]; + } else { + return null; + } + } + + /** + * Sets the blockSendingEmailFromThirdPartyApps + * Indicates whether or not to block sending email from third party apps. + * + * @param bool $val The blockSendingEmailFromThirdPartyApps + * + * @return IosEasEmailProfileConfiguration + */ + public function setBlockSendingEmailFromThirdPartyApps($val) + { + $this->_propDict["blockSendingEmailFromThirdPartyApps"] = boolval($val); + return $this; + } + + /** + * Gets the blockSyncingRecentlyUsedEmailAddresses + * Indicates whether or not to block syncing recently used email addresses, for instance - when composing new email. + * + * @return bool|null The blockSyncingRecentlyUsedEmailAddresses + */ + public function getBlockSyncingRecentlyUsedEmailAddresses() + { + if (array_key_exists("blockSyncingRecentlyUsedEmailAddresses", $this->_propDict)) { + return $this->_propDict["blockSyncingRecentlyUsedEmailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the blockSyncingRecentlyUsedEmailAddresses + * Indicates whether or not to block syncing recently used email addresses, for instance - when composing new email. + * + * @param bool $val The blockSyncingRecentlyUsedEmailAddresses + * + * @return IosEasEmailProfileConfiguration + */ + public function setBlockSyncingRecentlyUsedEmailAddresses($val) + { + $this->_propDict["blockSyncingRecentlyUsedEmailAddresses"] = boolval($val); + return $this; + } + + /** + * Gets the durationOfEmailToSync + * Duration of time email should be synced back to. . Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @return EmailSyncDuration|null The durationOfEmailToSync + */ + public function getDurationOfEmailToSync() + { + if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { + if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration") || is_null($this->_propDict["durationOfEmailToSync"])) { + return $this->_propDict["durationOfEmailToSync"]; + } else { + $this->_propDict["durationOfEmailToSync"] = new EmailSyncDuration($this->_propDict["durationOfEmailToSync"]); + return $this->_propDict["durationOfEmailToSync"]; + } + } + return null; + } + + /** + * Sets the durationOfEmailToSync + * Duration of time email should be synced back to. . Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @param EmailSyncDuration $val The durationOfEmailToSync + * + * @return IosEasEmailProfileConfiguration + */ + public function setDurationOfEmailToSync($val) + { + $this->_propDict["durationOfEmailToSync"] = $val; + return $this; + } + + /** + * Gets the easServices + * Exchange data to sync. Possible values are: none, calendars, contacts, email, notes, reminders. + * + * @return EasServices|null The easServices + */ + public function getEasServices() + { + if (array_key_exists("easServices", $this->_propDict)) { + if (is_a($this->_propDict["easServices"], "\Beta\Microsoft\Graph\Model\EasServices") || is_null($this->_propDict["easServices"])) { + return $this->_propDict["easServices"]; + } else { + $this->_propDict["easServices"] = new EasServices($this->_propDict["easServices"]); + return $this->_propDict["easServices"]; + } + } + return null; + } + + /** + * Sets the easServices + * Exchange data to sync. Possible values are: none, calendars, contacts, email, notes, reminders. + * + * @param EasServices $val The easServices + * + * @return IosEasEmailProfileConfiguration + */ + public function setEasServices($val) + { + $this->_propDict["easServices"] = $val; + return $this; + } + + /** + * Gets the easServicesUserOverrideEnabled + * Allow users to change sync settings. + * + * @return bool|null The easServicesUserOverrideEnabled + */ + public function getEasServicesUserOverrideEnabled() + { + if (array_key_exists("easServicesUserOverrideEnabled", $this->_propDict)) { + return $this->_propDict["easServicesUserOverrideEnabled"]; + } else { + return null; + } + } + + /** + * Sets the easServicesUserOverrideEnabled + * Allow users to change sync settings. + * + * @param bool $val The easServicesUserOverrideEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setEasServicesUserOverrideEnabled($val) + { + $this->_propDict["easServicesUserOverrideEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The emailAddressSource + */ + public function getEmailAddressSource() + { + if (array_key_exists("emailAddressSource", $this->_propDict)) { + if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["emailAddressSource"])) { + return $this->_propDict["emailAddressSource"]; + } else { + $this->_propDict["emailAddressSource"] = new UserEmailSource($this->_propDict["emailAddressSource"]); + return $this->_propDict["emailAddressSource"]; + } + } + return null; + } + + /** + * Sets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The emailAddressSource + * + * @return IosEasEmailProfileConfiguration + */ + public function setEmailAddressSource($val) + { + $this->_propDict["emailAddressSource"] = $val; + return $this; + } + + /** + * Gets the encryptionCertificateType + * Encryption Certificate type for this Email profile. Possible values are: none, certificate, derivedCredential. + * + * @return EmailCertificateType|null The encryptionCertificateType + */ + public function getEncryptionCertificateType() + { + if (array_key_exists("encryptionCertificateType", $this->_propDict)) { + if (is_a($this->_propDict["encryptionCertificateType"], "\Beta\Microsoft\Graph\Model\EmailCertificateType") || is_null($this->_propDict["encryptionCertificateType"])) { + return $this->_propDict["encryptionCertificateType"]; + } else { + $this->_propDict["encryptionCertificateType"] = new EmailCertificateType($this->_propDict["encryptionCertificateType"]); + return $this->_propDict["encryptionCertificateType"]; + } + } + return null; + } + + /** + * Sets the encryptionCertificateType + * Encryption Certificate type for this Email profile. Possible values are: none, certificate, derivedCredential. + * + * @param EmailCertificateType $val The encryptionCertificateType + * + * @return IosEasEmailProfileConfiguration + */ + public function setEncryptionCertificateType($val) + { + $this->_propDict["encryptionCertificateType"] = $val; + return $this; + } + + /** + * Gets the hostName + * Exchange location that (URL) that the native mail app connects to. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * Exchange location that (URL) that the native mail app connects to. + * + * @param string $val The hostName + * + * @return IosEasEmailProfileConfiguration + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + + /** + * Gets the perAppVPNProfileId + * Profile ID of the Per-App VPN policy to be used to access emails from the native Mail client + * + * @return string|null The perAppVPNProfileId + */ + public function getPerAppVPNProfileId() + { + if (array_key_exists("perAppVPNProfileId", $this->_propDict)) { + return $this->_propDict["perAppVPNProfileId"]; + } else { + return null; + } + } + + /** + * Sets the perAppVPNProfileId + * Profile ID of the Per-App VPN policy to be used to access emails from the native Mail client + * + * @param string $val The perAppVPNProfileId + * + * @return IosEasEmailProfileConfiguration + */ + public function setPerAppVPNProfileId($val) + { + $this->_propDict["perAppVPNProfileId"] = $val; + return $this; + } + + /** + * Gets the requireSmime + * Indicates whether or not to use S/MIME certificate. + * + * @return bool|null The requireSmime + */ + public function getRequireSmime() + { + if (array_key_exists("requireSmime", $this->_propDict)) { + return $this->_propDict["requireSmime"]; + } else { + return null; + } + } + + /** + * Sets the requireSmime + * Indicates whether or not to use S/MIME certificate. + * + * @param bool $val The requireSmime + * + * @return IosEasEmailProfileConfiguration + */ + public function setRequireSmime($val) + { + $this->_propDict["requireSmime"] = boolval($val); + return $this; + } + + /** + * Gets the requireSsl + * Indicates whether or not to use SSL. + * + * @return bool|null The requireSsl + */ + public function getRequireSsl() + { + if (array_key_exists("requireSsl", $this->_propDict)) { + return $this->_propDict["requireSsl"]; + } else { + return null; + } + } + + /** + * Sets the requireSsl + * Indicates whether or not to use SSL. + * + * @param bool $val The requireSsl + * + * @return IosEasEmailProfileConfiguration + */ + public function setRequireSsl($val) + { + $this->_propDict["requireSsl"] = boolval($val); + return $this; + } + + /** + * Gets the signingCertificateType + * Signing Certificate type for this Email profile. Possible values are: none, certificate, derivedCredential. + * + * @return EmailCertificateType|null The signingCertificateType + */ + public function getSigningCertificateType() + { + if (array_key_exists("signingCertificateType", $this->_propDict)) { + if (is_a($this->_propDict["signingCertificateType"], "\Beta\Microsoft\Graph\Model\EmailCertificateType") || is_null($this->_propDict["signingCertificateType"])) { + return $this->_propDict["signingCertificateType"]; + } else { + $this->_propDict["signingCertificateType"] = new EmailCertificateType($this->_propDict["signingCertificateType"]); + return $this->_propDict["signingCertificateType"]; + } + } + return null; + } + + /** + * Sets the signingCertificateType + * Signing Certificate type for this Email profile. Possible values are: none, certificate, derivedCredential. + * + * @param EmailCertificateType $val The signingCertificateType + * + * @return IosEasEmailProfileConfiguration + */ + public function setSigningCertificateType($val) + { + $this->_propDict["signingCertificateType"] = $val; + return $this; + } + + /** + * Gets the smimeEnablePerMessageSwitch + * Indicates whether or not to allow unencrypted emails. + * + * @return bool|null The smimeEnablePerMessageSwitch + */ + public function getSmimeEnablePerMessageSwitch() + { + if (array_key_exists("smimeEnablePerMessageSwitch", $this->_propDict)) { + return $this->_propDict["smimeEnablePerMessageSwitch"]; + } else { + return null; + } + } + + /** + * Sets the smimeEnablePerMessageSwitch + * Indicates whether or not to allow unencrypted emails. + * + * @param bool $val The smimeEnablePerMessageSwitch + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeEnablePerMessageSwitch($val) + { + $this->_propDict["smimeEnablePerMessageSwitch"] = boolval($val); + return $this; + } + + /** + * Gets the smimeEncryptByDefaultEnabled + * If set to true S/MIME encryption is enabled by default. + * + * @return bool|null The smimeEncryptByDefaultEnabled + */ + public function getSmimeEncryptByDefaultEnabled() + { + if (array_key_exists("smimeEncryptByDefaultEnabled", $this->_propDict)) { + return $this->_propDict["smimeEncryptByDefaultEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smimeEncryptByDefaultEnabled + * If set to true S/MIME encryption is enabled by default. + * + * @param bool $val The smimeEncryptByDefaultEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeEncryptByDefaultEnabled($val) + { + $this->_propDict["smimeEncryptByDefaultEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the smimeEncryptByDefaultUserOverrideEnabled + * If set to true, the user can toggle the encryption by default setting. + * + * @return bool|null The smimeEncryptByDefaultUserOverrideEnabled + */ + public function getSmimeEncryptByDefaultUserOverrideEnabled() + { + if (array_key_exists("smimeEncryptByDefaultUserOverrideEnabled", $this->_propDict)) { + return $this->_propDict["smimeEncryptByDefaultUserOverrideEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smimeEncryptByDefaultUserOverrideEnabled + * If set to true, the user can toggle the encryption by default setting. + * + * @param bool $val The smimeEncryptByDefaultUserOverrideEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeEncryptByDefaultUserOverrideEnabled($val) + { + $this->_propDict["smimeEncryptByDefaultUserOverrideEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the smimeEncryptionCertificateUserOverrideEnabled + * If set to true the user can select the S/MIME encryption identity. + * + * @return bool|null The smimeEncryptionCertificateUserOverrideEnabled + */ + public function getSmimeEncryptionCertificateUserOverrideEnabled() + { + if (array_key_exists("smimeEncryptionCertificateUserOverrideEnabled", $this->_propDict)) { + return $this->_propDict["smimeEncryptionCertificateUserOverrideEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smimeEncryptionCertificateUserOverrideEnabled + * If set to true the user can select the S/MIME encryption identity. + * + * @param bool $val The smimeEncryptionCertificateUserOverrideEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeEncryptionCertificateUserOverrideEnabled($val) + { + $this->_propDict["smimeEncryptionCertificateUserOverrideEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the smimeSigningCertificateUserOverrideEnabled + * If set to true, the user can select the signing identity. + * + * @return bool|null The smimeSigningCertificateUserOverrideEnabled + */ + public function getSmimeSigningCertificateUserOverrideEnabled() + { + if (array_key_exists("smimeSigningCertificateUserOverrideEnabled", $this->_propDict)) { + return $this->_propDict["smimeSigningCertificateUserOverrideEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smimeSigningCertificateUserOverrideEnabled + * If set to true, the user can select the signing identity. + * + * @param bool $val The smimeSigningCertificateUserOverrideEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeSigningCertificateUserOverrideEnabled($val) + { + $this->_propDict["smimeSigningCertificateUserOverrideEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the smimeSigningEnabled + * If set to true S/MIME signing is enabled for this account + * + * @return bool|null The smimeSigningEnabled + */ + public function getSmimeSigningEnabled() + { + if (array_key_exists("smimeSigningEnabled", $this->_propDict)) { + return $this->_propDict["smimeSigningEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smimeSigningEnabled + * If set to true S/MIME signing is enabled for this account + * + * @param bool $val The smimeSigningEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeSigningEnabled($val) + { + $this->_propDict["smimeSigningEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the smimeSigningUserOverrideEnabled + * If set to true, the user can toggle S/MIME signing on or off. + * + * @return bool|null The smimeSigningUserOverrideEnabled + */ + public function getSmimeSigningUserOverrideEnabled() + { + if (array_key_exists("smimeSigningUserOverrideEnabled", $this->_propDict)) { + return $this->_propDict["smimeSigningUserOverrideEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smimeSigningUserOverrideEnabled + * If set to true, the user can toggle S/MIME signing on or off. + * + * @param bool $val The smimeSigningUserOverrideEnabled + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeSigningUserOverrideEnabled($val) + { + $this->_propDict["smimeSigningUserOverrideEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the useOAuth + * Specifies whether the connection should use OAuth for authentication. + * + * @return bool|null The useOAuth + */ + public function getUseOAuth() + { + if (array_key_exists("useOAuth", $this->_propDict)) { + return $this->_propDict["useOAuth"]; + } else { + return null; + } + } + + /** + * Sets the useOAuth + * Specifies whether the connection should use OAuth for authentication. + * + * @param bool $val The useOAuth + * + * @return IosEasEmailProfileConfiguration + */ + public function setUseOAuth($val) + { + $this->_propDict["useOAuth"] = boolval($val); + return $this; + } + + /** + * Gets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @return DeviceManagementDerivedCredentialSettings|null The derivedCredentialSettings + */ + public function getDerivedCredentialSettings() + { + if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return IosEasEmailProfileConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate. + * + * @return IosCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new IosCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate. + * + * @param IosCertificateProfileBase $val The identityCertificate + * + * @return IosEasEmailProfileConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + + /** + * Gets the smimeEncryptionCertificate + * S/MIME encryption certificate. + * + * @return IosCertificateProfile|null The smimeEncryptionCertificate + */ + public function getSmimeEncryptionCertificate() + { + if (array_key_exists("smimeEncryptionCertificate", $this->_propDict)) { + if (is_a($this->_propDict["smimeEncryptionCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfile") || is_null($this->_propDict["smimeEncryptionCertificate"])) { + return $this->_propDict["smimeEncryptionCertificate"]; + } else { + $this->_propDict["smimeEncryptionCertificate"] = new IosCertificateProfile($this->_propDict["smimeEncryptionCertificate"]); + return $this->_propDict["smimeEncryptionCertificate"]; + } + } + return null; + } + + /** + * Sets the smimeEncryptionCertificate + * S/MIME encryption certificate. + * + * @param IosCertificateProfile $val The smimeEncryptionCertificate + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeEncryptionCertificate($val) + { + $this->_propDict["smimeEncryptionCertificate"] = $val; + return $this; + } + + /** + * Gets the smimeSigningCertificate + * S/MIME signing certificate. + * + * @return IosCertificateProfile|null The smimeSigningCertificate + */ + public function getSmimeSigningCertificate() + { + if (array_key_exists("smimeSigningCertificate", $this->_propDict)) { + if (is_a($this->_propDict["smimeSigningCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfile") || is_null($this->_propDict["smimeSigningCertificate"])) { + return $this->_propDict["smimeSigningCertificate"]; + } else { + $this->_propDict["smimeSigningCertificate"] = new IosCertificateProfile($this->_propDict["smimeSigningCertificate"]); + return $this->_propDict["smimeSigningCertificate"]; + } + } + return null; + } + + /** + * Sets the smimeSigningCertificate + * S/MIME signing certificate. + * + * @param IosCertificateProfile $val The smimeSigningCertificate + * + * @return IosEasEmailProfileConfiguration + */ + public function setSmimeSigningCertificate($val) + { + $this->_propDict["smimeSigningCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduCertificateSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduCertificateSettings.php new file mode 100644 index 0000000..57eeec4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduCertificateSettings.php @@ -0,0 +1,260 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The value of the certFileName + * + * @return IosEduCertificateSettings + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + /** + * Gets the certificateTemplateName + * PKCS Certificate Template Name. + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name. + * + * @param string $val The value of the certificateTemplateName + * + * @return IosEduCertificateSettings + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @return CertificateValidityPeriodScale|null The certificateValidityPeriodScale + */ + public function getCertificateValidityPeriodScale() + { + if (array_key_exists("certificateValidityPeriodScale", $this->_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The value to assign to the certificateValidityPeriodScale + * + * @return IosEduCertificateSettings The IosEduCertificateSettings + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The value of the certificateValidityPeriodValue + * + * @return IosEduCertificateSettings + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = $val; + return $this; + } + /** + * Gets the certificationAuthority + * PKCS Certification Authority. + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority. + * + * @param string $val The value of the certificationAuthority + * + * @return IosEduCertificateSettings + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name. + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name. + * + * @param string $val The value of the certificationAuthorityName + * + * @return IosEduCertificateSettings + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The value of the renewalThresholdPercentage + * + * @return IosEduCertificateSettings + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate. + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the trustedRootCertificate + * + * @return IosEduCertificateSettings The IosEduCertificateSettings + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduDeviceConfiguration.php new file mode 100644 index 0000000..f61f6e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduDeviceConfiguration.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["deviceCertificateSettings"], "\Beta\Microsoft\Graph\Model\IosEduCertificateSettings") || is_null($this->_propDict["deviceCertificateSettings"])) { + return $this->_propDict["deviceCertificateSettings"]; + } else { + $this->_propDict["deviceCertificateSettings"] = new IosEduCertificateSettings($this->_propDict["deviceCertificateSettings"]); + return $this->_propDict["deviceCertificateSettings"]; + } + } + return null; + } + + /** + * Sets the deviceCertificateSettings + * The Trusted Root and PFX certificates for Device + * + * @param IosEduCertificateSettings $val The deviceCertificateSettings + * + * @return IosEduDeviceConfiguration + */ + public function setDeviceCertificateSettings($val) + { + $this->_propDict["deviceCertificateSettings"] = $val; + return $this; + } + + /** + * Gets the studentCertificateSettings + * The Trusted Root and PFX certificates for Student + * + * @return IosEduCertificateSettings|null The studentCertificateSettings + */ + public function getStudentCertificateSettings() + { + if (array_key_exists("studentCertificateSettings", $this->_propDict)) { + if (is_a($this->_propDict["studentCertificateSettings"], "\Beta\Microsoft\Graph\Model\IosEduCertificateSettings") || is_null($this->_propDict["studentCertificateSettings"])) { + return $this->_propDict["studentCertificateSettings"]; + } else { + $this->_propDict["studentCertificateSettings"] = new IosEduCertificateSettings($this->_propDict["studentCertificateSettings"]); + return $this->_propDict["studentCertificateSettings"]; + } + } + return null; + } + + /** + * Sets the studentCertificateSettings + * The Trusted Root and PFX certificates for Student + * + * @param IosEduCertificateSettings $val The studentCertificateSettings + * + * @return IosEduDeviceConfiguration + */ + public function setStudentCertificateSettings($val) + { + $this->_propDict["studentCertificateSettings"] = $val; + return $this; + } + + /** + * Gets the teacherCertificateSettings + * The Trusted Root and PFX certificates for Teacher + * + * @return IosEduCertificateSettings|null The teacherCertificateSettings + */ + public function getTeacherCertificateSettings() + { + if (array_key_exists("teacherCertificateSettings", $this->_propDict)) { + if (is_a($this->_propDict["teacherCertificateSettings"], "\Beta\Microsoft\Graph\Model\IosEduCertificateSettings") || is_null($this->_propDict["teacherCertificateSettings"])) { + return $this->_propDict["teacherCertificateSettings"]; + } else { + $this->_propDict["teacherCertificateSettings"] = new IosEduCertificateSettings($this->_propDict["teacherCertificateSettings"]); + return $this->_propDict["teacherCertificateSettings"]; + } + } + return null; + } + + /** + * Sets the teacherCertificateSettings + * The Trusted Root and PFX certificates for Teacher + * + * @param IosEduCertificateSettings $val The teacherCertificateSettings + * + * @return IosEduDeviceConfiguration + */ + public function setTeacherCertificateSettings($val) + { + $this->_propDict["teacherCertificateSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEducationDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEducationDeviceConfiguration.php new file mode 100644 index 0000000..de6cabb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEducationDeviceConfiguration.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapFastConfiguration + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. Possible values are: noProtectedAccessCredential, useProtectedAccessCredential, useProtectedAccessCredentialAndProvision, useProtectedAccessCredentialAndProvisionAnonymously. + * + * @return EapFastConfiguration|null The eapFastConfiguration + */ + public function getEapFastConfiguration() + { + if (array_key_exists("eapFastConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["eapFastConfiguration"], "\Beta\Microsoft\Graph\Model\EapFastConfiguration") || is_null($this->_propDict["eapFastConfiguration"])) { + return $this->_propDict["eapFastConfiguration"]; + } else { + $this->_propDict["eapFastConfiguration"] = new EapFastConfiguration($this->_propDict["eapFastConfiguration"]); + return $this->_propDict["eapFastConfiguration"]; + } + } + return null; + } + + /** + * Sets the eapFastConfiguration + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. Possible values are: noProtectedAccessCredential, useProtectedAccessCredential, useProtectedAccessCredentialAndProvision, useProtectedAccessCredentialAndProvisionAnonymously. + * + * @param EapFastConfiguration $val The eapFastConfiguration + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setEapFastConfiguration($val) + { + $this->_propDict["eapFastConfiguration"] = $val; + return $this; + } + + /** + * Gets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @return EapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\EapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new EapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @param EapType $val The eapType + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP - TTLS, EAP - FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this Wi-Fi connection using their real username is displayed as 'anonymous'. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP - TTLS, EAP - FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this Wi-Fi connection using their real username is displayed as 'anonymous'. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the passwordFormatString + * Password format string used to build the password to connect to wifi + * + * @return string|null The passwordFormatString + */ + public function getPasswordFormatString() + { + if (array_key_exists("passwordFormatString", $this->_propDict)) { + return $this->_propDict["passwordFormatString"]; + } else { + return null; + } + } + + /** + * Sets the passwordFormatString + * Password format string used to build the password to connect to wifi + * + * @param string $val The passwordFormatString + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setPasswordFormatString($val) + { + $this->_propDict["passwordFormatString"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the usernameFormatString + * Username format string used to build the username to connect to wifi + * + * @return string|null The usernameFormatString + */ + public function getUsernameFormatString() + { + if (array_key_exists("usernameFormatString", $this->_propDict)) { + return $this->_propDict["usernameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the usernameFormatString + * Username format string used to build the username to connect to wifi + * + * @param string $val The usernameFormatString + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setUsernameFormatString($val) + { + $this->_propDict["usernameFormatString"] = $val; + return $this; + } + + /** + * Gets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @return DeviceManagementDerivedCredentialSettings|null The derivedCredentialSettings + */ + public function getDerivedCredentialSettings() + { + if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * + * @return IosCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new IosCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * + * @param IosCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + + /** + * Gets the rootCertificatesForServerValidation + * Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. If you provide this value you do not need to provide trustedServerCertificateNames, and vice versa. This collection can contain a maximum of 500 elements. + * + * @return array|null The rootCertificatesForServerValidation + */ + public function getRootCertificatesForServerValidation() + { + if (array_key_exists("rootCertificatesForServerValidation", $this->_propDict)) { + return $this->_propDict["rootCertificatesForServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the rootCertificatesForServerValidation + * Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. If you provide this value you do not need to provide trustedServerCertificateNames, and vice versa. This collection can contain a maximum of 500 elements. + * + * @param IosTrustedRootCertificate[] $val The rootCertificatesForServerValidation + * + * @return IosEnterpriseWiFiConfiguration + */ + public function setRootCertificatesForServerValidation($val) + { + $this->_propDict["rootCertificatesForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosExpeditedCheckinConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosExpeditedCheckinConfiguration.php new file mode 100644 index 0000000..7631f77 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosExpeditedCheckinConfiguration.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["accountBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the accountBlockModification + * Indicates whether or not to allow account modification when the device is in supervised mode. + * + * @param bool $val The accountBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setAccountBlockModification($val) + { + $this->_propDict["accountBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the activationLockAllowWhenSupervised + * Indicates whether or not to allow activation lock when the device is in the supervised mode. + * + * @return bool|null The activationLockAllowWhenSupervised + */ + public function getActivationLockAllowWhenSupervised() + { + if (array_key_exists("activationLockAllowWhenSupervised", $this->_propDict)) { + return $this->_propDict["activationLockAllowWhenSupervised"]; + } else { + return null; + } + } + + /** + * Sets the activationLockAllowWhenSupervised + * Indicates whether or not to allow activation lock when the device is in the supervised mode. + * + * @param bool $val The activationLockAllowWhenSupervised + * + * @return IosGeneralDeviceConfiguration + */ + public function setActivationLockAllowWhenSupervised($val) + { + $this->_propDict["activationLockAllowWhenSupervised"] = boolval($val); + return $this; + } + + /** + * Gets the airDropBlocked + * Indicates whether or not to allow AirDrop when the device is in supervised mode. + * + * @return bool|null The airDropBlocked + */ + public function getAirDropBlocked() + { + if (array_key_exists("airDropBlocked", $this->_propDict)) { + return $this->_propDict["airDropBlocked"]; + } else { + return null; + } + } + + /** + * Sets the airDropBlocked + * Indicates whether or not to allow AirDrop when the device is in supervised mode. + * + * @param bool $val The airDropBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirDropBlocked($val) + { + $this->_propDict["airDropBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the airDropForceUnmanagedDropTarget + * Indicates whether or not to cause AirDrop to be considered an unmanaged drop target (iOS 9.0 and later). + * + * @return bool|null The airDropForceUnmanagedDropTarget + */ + public function getAirDropForceUnmanagedDropTarget() + { + if (array_key_exists("airDropForceUnmanagedDropTarget", $this->_propDict)) { + return $this->_propDict["airDropForceUnmanagedDropTarget"]; + } else { + return null; + } + } + + /** + * Sets the airDropForceUnmanagedDropTarget + * Indicates whether or not to cause AirDrop to be considered an unmanaged drop target (iOS 9.0 and later). + * + * @param bool $val The airDropForceUnmanagedDropTarget + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirDropForceUnmanagedDropTarget($val) + { + $this->_propDict["airDropForceUnmanagedDropTarget"] = boolval($val); + return $this; + } + + /** + * Gets the airPlayForcePairingPasswordForOutgoingRequests + * Indicates whether or not to enforce all devices receiving AirPlay requests from this device to use a pairing password. + * + * @return bool|null The airPlayForcePairingPasswordForOutgoingRequests + */ + public function getAirPlayForcePairingPasswordForOutgoingRequests() + { + if (array_key_exists("airPlayForcePairingPasswordForOutgoingRequests", $this->_propDict)) { + return $this->_propDict["airPlayForcePairingPasswordForOutgoingRequests"]; + } else { + return null; + } + } + + /** + * Sets the airPlayForcePairingPasswordForOutgoingRequests + * Indicates whether or not to enforce all devices receiving AirPlay requests from this device to use a pairing password. + * + * @param bool $val The airPlayForcePairingPasswordForOutgoingRequests + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirPlayForcePairingPasswordForOutgoingRequests($val) + { + $this->_propDict["airPlayForcePairingPasswordForOutgoingRequests"] = boolval($val); + return $this; + } + + /** + * Gets the airPrintBlockCredentialsStorage + * Indicates whether or not keychain storage of username and password for Airprint is blocked (iOS 11.0 and later). + * + * @return bool|null The airPrintBlockCredentialsStorage + */ + public function getAirPrintBlockCredentialsStorage() + { + if (array_key_exists("airPrintBlockCredentialsStorage", $this->_propDict)) { + return $this->_propDict["airPrintBlockCredentialsStorage"]; + } else { + return null; + } + } + + /** + * Sets the airPrintBlockCredentialsStorage + * Indicates whether or not keychain storage of username and password for Airprint is blocked (iOS 11.0 and later). + * + * @param bool $val The airPrintBlockCredentialsStorage + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirPrintBlockCredentialsStorage($val) + { + $this->_propDict["airPrintBlockCredentialsStorage"] = boolval($val); + return $this; + } + + /** + * Gets the airPrintBlocked + * Indicates whether or not AirPrint is blocked (iOS 11.0 and later). + * + * @return bool|null The airPrintBlocked + */ + public function getAirPrintBlocked() + { + if (array_key_exists("airPrintBlocked", $this->_propDict)) { + return $this->_propDict["airPrintBlocked"]; + } else { + return null; + } + } + + /** + * Sets the airPrintBlocked + * Indicates whether or not AirPrint is blocked (iOS 11.0 and later). + * + * @param bool $val The airPrintBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirPrintBlocked($val) + { + $this->_propDict["airPrintBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the airPrintBlockiBeaconDiscovery + * Indicates whether or not iBeacon discovery of AirPrint printers is blocked. This prevents spurious AirPrint Bluetooth beacons from phishing for network traffic (iOS 11.0 and later). + * + * @return bool|null The airPrintBlockiBeaconDiscovery + */ + public function getAirPrintBlockiBeaconDiscovery() + { + if (array_key_exists("airPrintBlockiBeaconDiscovery", $this->_propDict)) { + return $this->_propDict["airPrintBlockiBeaconDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the airPrintBlockiBeaconDiscovery + * Indicates whether or not iBeacon discovery of AirPrint printers is blocked. This prevents spurious AirPrint Bluetooth beacons from phishing for network traffic (iOS 11.0 and later). + * + * @param bool $val The airPrintBlockiBeaconDiscovery + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirPrintBlockiBeaconDiscovery($val) + { + $this->_propDict["airPrintBlockiBeaconDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the airPrintForceTrustedTLS + * Indicates if trusted certificates are required for TLS printing communication (iOS 11.0 and later). + * + * @return bool|null The airPrintForceTrustedTLS + */ + public function getAirPrintForceTrustedTLS() + { + if (array_key_exists("airPrintForceTrustedTLS", $this->_propDict)) { + return $this->_propDict["airPrintForceTrustedTLS"]; + } else { + return null; + } + } + + /** + * Sets the airPrintForceTrustedTLS + * Indicates if trusted certificates are required for TLS printing communication (iOS 11.0 and later). + * + * @param bool $val The airPrintForceTrustedTLS + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirPrintForceTrustedTLS($val) + { + $this->_propDict["airPrintForceTrustedTLS"] = boolval($val); + return $this; + } + + /** + * Gets the appClipsBlocked + * Prevents a user from adding any App Clips and removes any existing App Clips on the device. + * + * @return bool|null The appClipsBlocked + */ + public function getAppClipsBlocked() + { + if (array_key_exists("appClipsBlocked", $this->_propDict)) { + return $this->_propDict["appClipsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the appClipsBlocked + * Prevents a user from adding any App Clips and removes any existing App Clips on the device. + * + * @param bool $val The appClipsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppClipsBlocked($val) + { + $this->_propDict["appClipsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appleNewsBlocked + * Indicates whether or not to block the user from using News when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The appleNewsBlocked + */ + public function getAppleNewsBlocked() + { + if (array_key_exists("appleNewsBlocked", $this->_propDict)) { + return $this->_propDict["appleNewsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the appleNewsBlocked + * Indicates whether or not to block the user from using News when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The appleNewsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppleNewsBlocked($val) + { + $this->_propDict["appleNewsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the applePersonalizedAdsBlocked + * Limits Apple personalized advertising when true. Available in iOS 14 and later. + * + * @return bool|null The applePersonalizedAdsBlocked + */ + public function getApplePersonalizedAdsBlocked() + { + if (array_key_exists("applePersonalizedAdsBlocked", $this->_propDict)) { + return $this->_propDict["applePersonalizedAdsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the applePersonalizedAdsBlocked + * Limits Apple personalized advertising when true. Available in iOS 14 and later. + * + * @param bool $val The applePersonalizedAdsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setApplePersonalizedAdsBlocked($val) + { + $this->_propDict["applePersonalizedAdsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appleWatchBlockPairing + * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The appleWatchBlockPairing + */ + public function getAppleWatchBlockPairing() + { + if (array_key_exists("appleWatchBlockPairing", $this->_propDict)) { + return $this->_propDict["appleWatchBlockPairing"]; + } else { + return null; + } + } + + /** + * Sets the appleWatchBlockPairing + * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The appleWatchBlockPairing + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppleWatchBlockPairing($val) + { + $this->_propDict["appleWatchBlockPairing"] = boolval($val); + return $this; + } + + /** + * Gets the appleWatchForceWristDetection + * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). + * + * @return bool|null The appleWatchForceWristDetection + */ + public function getAppleWatchForceWristDetection() + { + if (array_key_exists("appleWatchForceWristDetection", $this->_propDict)) { + return $this->_propDict["appleWatchForceWristDetection"]; + } else { + return null; + } + } + + /** + * Sets the appleWatchForceWristDetection + * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). + * + * @param bool $val The appleWatchForceWristDetection + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppleWatchForceWristDetection($val) + { + $this->_propDict["appleWatchForceWristDetection"] = boolval($val); + return $this; + } + + /** + * Gets the appRemovalBlocked + * Indicates if the removal of apps is allowed. + * + * @return bool|null The appRemovalBlocked + */ + public function getAppRemovalBlocked() + { + if (array_key_exists("appRemovalBlocked", $this->_propDict)) { + return $this->_propDict["appRemovalBlocked"]; + } else { + return null; + } + } + + /** + * Sets the appRemovalBlocked + * Indicates if the removal of apps is allowed. + * + * @param bool $val The appRemovalBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppRemovalBlocked($val) + { + $this->_propDict["appRemovalBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the appsSingleAppModeList + * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsSingleAppModeList + */ + public function getAppsSingleAppModeList() + { + if (array_key_exists("appsSingleAppModeList", $this->_propDict)) { + return $this->_propDict["appsSingleAppModeList"]; + } else { + return null; + } + } + + /** + * Sets the appsSingleAppModeList + * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsSingleAppModeList + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppsSingleAppModeList($val) + { + $this->_propDict["appsSingleAppModeList"] = $val; + return $this; + } + + /** + * Gets the appStoreBlockAutomaticDownloads + * Indicates whether or not to block the automatic downloading of apps purchased on other devices when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The appStoreBlockAutomaticDownloads + */ + public function getAppStoreBlockAutomaticDownloads() + { + if (array_key_exists("appStoreBlockAutomaticDownloads", $this->_propDict)) { + return $this->_propDict["appStoreBlockAutomaticDownloads"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlockAutomaticDownloads + * Indicates whether or not to block the automatic downloading of apps purchased on other devices when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The appStoreBlockAutomaticDownloads + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlockAutomaticDownloads($val) + { + $this->_propDict["appStoreBlockAutomaticDownloads"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreBlocked + * Indicates whether or not to block the user from using the App Store. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The appStoreBlocked + */ + public function getAppStoreBlocked() + { + if (array_key_exists("appStoreBlocked", $this->_propDict)) { + return $this->_propDict["appStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlocked + * Indicates whether or not to block the user from using the App Store. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The appStoreBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlocked($val) + { + $this->_propDict["appStoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreBlockInAppPurchases + * Indicates whether or not to block the user from making in app purchases. + * + * @return bool|null The appStoreBlockInAppPurchases + */ + public function getAppStoreBlockInAppPurchases() + { + if (array_key_exists("appStoreBlockInAppPurchases", $this->_propDict)) { + return $this->_propDict["appStoreBlockInAppPurchases"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlockInAppPurchases + * Indicates whether or not to block the user from making in app purchases. + * + * @param bool $val The appStoreBlockInAppPurchases + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlockInAppPurchases($val) + { + $this->_propDict["appStoreBlockInAppPurchases"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreBlockUIAppInstallation + * Indicates whether or not to block the App Store app, not restricting installation through Host apps. Applies to supervised mode only (iOS 9.0 and later). + * + * @return bool|null The appStoreBlockUIAppInstallation + */ + public function getAppStoreBlockUIAppInstallation() + { + if (array_key_exists("appStoreBlockUIAppInstallation", $this->_propDict)) { + return $this->_propDict["appStoreBlockUIAppInstallation"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlockUIAppInstallation + * Indicates whether or not to block the App Store app, not restricting installation through Host apps. Applies to supervised mode only (iOS 9.0 and later). + * + * @param bool $val The appStoreBlockUIAppInstallation + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlockUIAppInstallation($val) + { + $this->_propDict["appStoreBlockUIAppInstallation"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreRequirePassword + * Indicates whether or not to require a password when using the app store. + * + * @return bool|null The appStoreRequirePassword + */ + public function getAppStoreRequirePassword() + { + if (array_key_exists("appStoreRequirePassword", $this->_propDict)) { + return $this->_propDict["appStoreRequirePassword"]; + } else { + return null; + } + } + + /** + * Sets the appStoreRequirePassword + * Indicates whether or not to require a password when using the app store. + * + * @param bool $val The appStoreRequirePassword + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreRequirePassword($val) + { + $this->_propDict["appStoreRequirePassword"] = boolval($val); + return $this; + } + + + /** + * Gets the appsVisibilityList + * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + * + * @return array|null The appsVisibilityList + */ + public function getAppsVisibilityList() + { + if (array_key_exists("appsVisibilityList", $this->_propDict)) { + return $this->_propDict["appsVisibilityList"]; + } else { + return null; + } + } + + /** + * Sets the appsVisibilityList + * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The appsVisibilityList + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppsVisibilityList($val) + { + $this->_propDict["appsVisibilityList"] = $val; + return $this; + } + + /** + * Gets the appsVisibilityListType + * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The appsVisibilityListType + */ + public function getAppsVisibilityListType() + { + if (array_key_exists("appsVisibilityListType", $this->_propDict)) { + if (is_a($this->_propDict["appsVisibilityListType"], "\Beta\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["appsVisibilityListType"])) { + return $this->_propDict["appsVisibilityListType"]; + } else { + $this->_propDict["appsVisibilityListType"] = new AppListType($this->_propDict["appsVisibilityListType"]); + return $this->_propDict["appsVisibilityListType"]; + } + } + return null; + } + + /** + * Sets the appsVisibilityListType + * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The appsVisibilityListType + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppsVisibilityListType($val) + { + $this->_propDict["appsVisibilityListType"] = $val; + return $this; + } + + /** + * Gets the autoFillForceAuthentication + * Indicates whether or not to force user authentication before autofilling passwords and credit card information in Safari and other apps on supervised devices. + * + * @return bool|null The autoFillForceAuthentication + */ + public function getAutoFillForceAuthentication() + { + if (array_key_exists("autoFillForceAuthentication", $this->_propDict)) { + return $this->_propDict["autoFillForceAuthentication"]; + } else { + return null; + } + } + + /** + * Sets the autoFillForceAuthentication + * Indicates whether or not to force user authentication before autofilling passwords and credit card information in Safari and other apps on supervised devices. + * + * @param bool $val The autoFillForceAuthentication + * + * @return IosGeneralDeviceConfiguration + */ + public function setAutoFillForceAuthentication($val) + { + $this->_propDict["autoFillForceAuthentication"] = boolval($val); + return $this; + } + + /** + * Gets the autoUnlockBlocked + * Blocks users from unlocking their device with Apple Watch. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @return bool|null The autoUnlockBlocked + */ + public function getAutoUnlockBlocked() + { + if (array_key_exists("autoUnlockBlocked", $this->_propDict)) { + return $this->_propDict["autoUnlockBlocked"]; + } else { + return null; + } + } + + /** + * Sets the autoUnlockBlocked + * Blocks users from unlocking their device with Apple Watch. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @param bool $val The autoUnlockBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAutoUnlockBlocked($val) + { + $this->_propDict["autoUnlockBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the blockSystemAppRemoval + * Indicates whether or not the removal of system apps from the device is blocked on a supervised device (iOS 11.0 and later). + * + * @return bool|null The blockSystemAppRemoval + */ + public function getBlockSystemAppRemoval() + { + if (array_key_exists("blockSystemAppRemoval", $this->_propDict)) { + return $this->_propDict["blockSystemAppRemoval"]; + } else { + return null; + } + } + + /** + * Sets the blockSystemAppRemoval + * Indicates whether or not the removal of system apps from the device is blocked on a supervised device (iOS 11.0 and later). + * + * @param bool $val The blockSystemAppRemoval + * + * @return IosGeneralDeviceConfiguration + */ + public function setBlockSystemAppRemoval($val) + { + $this->_propDict["blockSystemAppRemoval"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockModification + * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). + * + * @return bool|null The bluetoothBlockModification + */ + public function getBluetoothBlockModification() + { + if (array_key_exists("bluetoothBlockModification", $this->_propDict)) { + return $this->_propDict["bluetoothBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockModification + * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). + * + * @param bool $val The bluetoothBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setBluetoothBlockModification($val) + { + $this->_propDict["bluetoothBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block the user from accessing the camera of the device. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block the user from accessing the camera of the device. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The cameraBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @return bool|null The cellularBlockDataRoaming + */ + public function getCellularBlockDataRoaming() + { + if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @param bool $val The cellularBlockDataRoaming + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockDataRoaming($val) + { + $this->_propDict["cellularBlockDataRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockGlobalBackgroundFetchWhileRoaming + * Indicates whether or not to block global background fetch while roaming. + * + * @return bool|null The cellularBlockGlobalBackgroundFetchWhileRoaming + */ + public function getCellularBlockGlobalBackgroundFetchWhileRoaming() + { + if (array_key_exists("cellularBlockGlobalBackgroundFetchWhileRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockGlobalBackgroundFetchWhileRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockGlobalBackgroundFetchWhileRoaming + * Indicates whether or not to block global background fetch while roaming. + * + * @param bool $val The cellularBlockGlobalBackgroundFetchWhileRoaming + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockGlobalBackgroundFetchWhileRoaming($val) + { + $this->_propDict["cellularBlockGlobalBackgroundFetchWhileRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockPerAppDataModification + * Indicates whether or not to allow changes to cellular app data usage settings when the device is in supervised mode. + * + * @return bool|null The cellularBlockPerAppDataModification + */ + public function getCellularBlockPerAppDataModification() + { + if (array_key_exists("cellularBlockPerAppDataModification", $this->_propDict)) { + return $this->_propDict["cellularBlockPerAppDataModification"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockPerAppDataModification + * Indicates whether or not to allow changes to cellular app data usage settings when the device is in supervised mode. + * + * @param bool $val The cellularBlockPerAppDataModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockPerAppDataModification($val) + { + $this->_propDict["cellularBlockPerAppDataModification"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockPersonalHotspot + * Indicates whether or not to block Personal Hotspot. + * + * @return bool|null The cellularBlockPersonalHotspot + */ + public function getCellularBlockPersonalHotspot() + { + if (array_key_exists("cellularBlockPersonalHotspot", $this->_propDict)) { + return $this->_propDict["cellularBlockPersonalHotspot"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockPersonalHotspot + * Indicates whether or not to block Personal Hotspot. + * + * @param bool $val The cellularBlockPersonalHotspot + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockPersonalHotspot($val) + { + $this->_propDict["cellularBlockPersonalHotspot"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockPersonalHotspotModification + * Indicates whether or not to block the user from modifying the personal hotspot setting (iOS 12.2 or later). + * + * @return bool|null The cellularBlockPersonalHotspotModification + */ + public function getCellularBlockPersonalHotspotModification() + { + if (array_key_exists("cellularBlockPersonalHotspotModification", $this->_propDict)) { + return $this->_propDict["cellularBlockPersonalHotspotModification"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockPersonalHotspotModification + * Indicates whether or not to block the user from modifying the personal hotspot setting (iOS 12.2 or later). + * + * @param bool $val The cellularBlockPersonalHotspotModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockPersonalHotspotModification($val) + { + $this->_propDict["cellularBlockPersonalHotspotModification"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockPlanModification + * Indicates whether or not to allow users to change the settings of the cellular plan on a supervised device. + * + * @return bool|null The cellularBlockPlanModification + */ + public function getCellularBlockPlanModification() + { + if (array_key_exists("cellularBlockPlanModification", $this->_propDict)) { + return $this->_propDict["cellularBlockPlanModification"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockPlanModification + * Indicates whether or not to allow users to change the settings of the cellular plan on a supervised device. + * + * @param bool $val The cellularBlockPlanModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockPlanModification($val) + { + $this->_propDict["cellularBlockPlanModification"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @return bool|null The cellularBlockVoiceRoaming + */ + public function getCellularBlockVoiceRoaming() + { + if (array_key_exists("cellularBlockVoiceRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockVoiceRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @param bool $val The cellularBlockVoiceRoaming + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockVoiceRoaming($val) + { + $this->_propDict["cellularBlockVoiceRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the certificatesBlockUntrustedTlsCertificates + * Indicates whether or not to block untrusted TLS certificates. + * + * @return bool|null The certificatesBlockUntrustedTlsCertificates + */ + public function getCertificatesBlockUntrustedTlsCertificates() + { + if (array_key_exists("certificatesBlockUntrustedTlsCertificates", $this->_propDict)) { + return $this->_propDict["certificatesBlockUntrustedTlsCertificates"]; + } else { + return null; + } + } + + /** + * Sets the certificatesBlockUntrustedTlsCertificates + * Indicates whether or not to block untrusted TLS certificates. + * + * @param bool $val The certificatesBlockUntrustedTlsCertificates + * + * @return IosGeneralDeviceConfiguration + */ + public function setCertificatesBlockUntrustedTlsCertificates($val) + { + $this->_propDict["certificatesBlockUntrustedTlsCertificates"] = boolval($val); + return $this; + } + + /** + * Gets the classroomAppBlockRemoteScreenObservation + * Indicates whether or not to allow remote screen observation by Classroom app when the device is in supervised mode (iOS 9.3 and later). + * + * @return bool|null The classroomAppBlockRemoteScreenObservation + */ + public function getClassroomAppBlockRemoteScreenObservation() + { + if (array_key_exists("classroomAppBlockRemoteScreenObservation", $this->_propDict)) { + return $this->_propDict["classroomAppBlockRemoteScreenObservation"]; + } else { + return null; + } + } + + /** + * Sets the classroomAppBlockRemoteScreenObservation + * Indicates whether or not to allow remote screen observation by Classroom app when the device is in supervised mode (iOS 9.3 and later). + * + * @param bool $val The classroomAppBlockRemoteScreenObservation + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomAppBlockRemoteScreenObservation($val) + { + $this->_propDict["classroomAppBlockRemoteScreenObservation"] = boolval($val); + return $this; + } + + /** + * Gets the classroomAppForceUnpromptedScreenObservation + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting when the device is in supervised mode. + * + * @return bool|null The classroomAppForceUnpromptedScreenObservation + */ + public function getClassroomAppForceUnpromptedScreenObservation() + { + if (array_key_exists("classroomAppForceUnpromptedScreenObservation", $this->_propDict)) { + return $this->_propDict["classroomAppForceUnpromptedScreenObservation"]; + } else { + return null; + } + } + + /** + * Sets the classroomAppForceUnpromptedScreenObservation + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting when the device is in supervised mode. + * + * @param bool $val The classroomAppForceUnpromptedScreenObservation + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomAppForceUnpromptedScreenObservation($val) + { + $this->_propDict["classroomAppForceUnpromptedScreenObservation"] = boolval($val); + return $this; + } + + /** + * Gets the classroomForceAutomaticallyJoinClasses + * Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student, when the device is in supervised mode. + * + * @return bool|null The classroomForceAutomaticallyJoinClasses + */ + public function getClassroomForceAutomaticallyJoinClasses() + { + if (array_key_exists("classroomForceAutomaticallyJoinClasses", $this->_propDict)) { + return $this->_propDict["classroomForceAutomaticallyJoinClasses"]; + } else { + return null; + } + } + + /** + * Sets the classroomForceAutomaticallyJoinClasses + * Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student, when the device is in supervised mode. + * + * @param bool $val The classroomForceAutomaticallyJoinClasses + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomForceAutomaticallyJoinClasses($val) + { + $this->_propDict["classroomForceAutomaticallyJoinClasses"] = boolval($val); + return $this; + } + + /** + * Gets the classroomForceRequestPermissionToLeaveClasses + * Indicates whether a student enrolled in an unmanaged course via Classroom will request permission from the teacher when attempting to leave the course (iOS 11.3 and later). + * + * @return bool|null The classroomForceRequestPermissionToLeaveClasses + */ + public function getClassroomForceRequestPermissionToLeaveClasses() + { + if (array_key_exists("classroomForceRequestPermissionToLeaveClasses", $this->_propDict)) { + return $this->_propDict["classroomForceRequestPermissionToLeaveClasses"]; + } else { + return null; + } + } + + /** + * Sets the classroomForceRequestPermissionToLeaveClasses + * Indicates whether a student enrolled in an unmanaged course via Classroom will request permission from the teacher when attempting to leave the course (iOS 11.3 and later). + * + * @param bool $val The classroomForceRequestPermissionToLeaveClasses + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomForceRequestPermissionToLeaveClasses($val) + { + $this->_propDict["classroomForceRequestPermissionToLeaveClasses"] = boolval($val); + return $this; + } + + /** + * Gets the classroomForceUnpromptedAppAndDeviceLock + * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Supervised only. + * + * @return bool|null The classroomForceUnpromptedAppAndDeviceLock + */ + public function getClassroomForceUnpromptedAppAndDeviceLock() + { + if (array_key_exists("classroomForceUnpromptedAppAndDeviceLock", $this->_propDict)) { + return $this->_propDict["classroomForceUnpromptedAppAndDeviceLock"]; + } else { + return null; + } + } + + /** + * Sets the classroomForceUnpromptedAppAndDeviceLock + * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Supervised only. + * + * @param bool $val The classroomForceUnpromptedAppAndDeviceLock + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomForceUnpromptedAppAndDeviceLock($val) + { + $this->_propDict["classroomForceUnpromptedAppAndDeviceLock"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return IosGeneralDeviceConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return IosGeneralDeviceConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the configurationProfileBlockChanges + * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. + * + * @return bool|null The configurationProfileBlockChanges + */ + public function getConfigurationProfileBlockChanges() + { + if (array_key_exists("configurationProfileBlockChanges", $this->_propDict)) { + return $this->_propDict["configurationProfileBlockChanges"]; + } else { + return null; + } + } + + /** + * Sets the configurationProfileBlockChanges + * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. + * + * @param bool $val The configurationProfileBlockChanges + * + * @return IosGeneralDeviceConfiguration + */ + public function setConfigurationProfileBlockChanges($val) + { + $this->_propDict["configurationProfileBlockChanges"] = boolval($val); + return $this; + } + + /** + * Gets the contactsAllowManagedToUnmanagedWrite + * Indicates whether or not managed apps can write contacts to unmanaged contacts accounts (iOS 12.0 and later). + * + * @return bool|null The contactsAllowManagedToUnmanagedWrite + */ + public function getContactsAllowManagedToUnmanagedWrite() + { + if (array_key_exists("contactsAllowManagedToUnmanagedWrite", $this->_propDict)) { + return $this->_propDict["contactsAllowManagedToUnmanagedWrite"]; + } else { + return null; + } + } + + /** + * Sets the contactsAllowManagedToUnmanagedWrite + * Indicates whether or not managed apps can write contacts to unmanaged contacts accounts (iOS 12.0 and later). + * + * @param bool $val The contactsAllowManagedToUnmanagedWrite + * + * @return IosGeneralDeviceConfiguration + */ + public function setContactsAllowManagedToUnmanagedWrite($val) + { + $this->_propDict["contactsAllowManagedToUnmanagedWrite"] = boolval($val); + return $this; + } + + /** + * Gets the contactsAllowUnmanagedToManagedRead + * Indicates whether or not unmanaged apps can read from managed contacts accounts (iOS 12.0 or later). + * + * @return bool|null The contactsAllowUnmanagedToManagedRead + */ + public function getContactsAllowUnmanagedToManagedRead() + { + if (array_key_exists("contactsAllowUnmanagedToManagedRead", $this->_propDict)) { + return $this->_propDict["contactsAllowUnmanagedToManagedRead"]; + } else { + return null; + } + } + + /** + * Sets the contactsAllowUnmanagedToManagedRead + * Indicates whether or not unmanaged apps can read from managed contacts accounts (iOS 12.0 or later). + * + * @param bool $val The contactsAllowUnmanagedToManagedRead + * + * @return IosGeneralDeviceConfiguration + */ + public function setContactsAllowUnmanagedToManagedRead($val) + { + $this->_propDict["contactsAllowUnmanagedToManagedRead"] = boolval($val); + return $this; + } + + /** + * Gets the continuousPathKeyboardBlocked + * Indicates whether or not to block the continuous path keyboard when the device is supervised (iOS 13 or later). + * + * @return bool|null The continuousPathKeyboardBlocked + */ + public function getContinuousPathKeyboardBlocked() + { + if (array_key_exists("continuousPathKeyboardBlocked", $this->_propDict)) { + return $this->_propDict["continuousPathKeyboardBlocked"]; + } else { + return null; + } + } + + /** + * Sets the continuousPathKeyboardBlocked + * Indicates whether or not to block the continuous path keyboard when the device is supervised (iOS 13 or later). + * + * @param bool $val The continuousPathKeyboardBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setContinuousPathKeyboardBlocked($val) + { + $this->_propDict["continuousPathKeyboardBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the dateAndTimeForceSetAutomatically + * Indicates whether or not the Date and Time 'Set Automatically' feature is enabled and cannot be turned off by the user (iOS 12.0 and later). + * + * @return bool|null The dateAndTimeForceSetAutomatically + */ + public function getDateAndTimeForceSetAutomatically() + { + if (array_key_exists("dateAndTimeForceSetAutomatically", $this->_propDict)) { + return $this->_propDict["dateAndTimeForceSetAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the dateAndTimeForceSetAutomatically + * Indicates whether or not the Date and Time 'Set Automatically' feature is enabled and cannot be turned off by the user (iOS 12.0 and later). + * + * @param bool $val The dateAndTimeForceSetAutomatically + * + * @return IosGeneralDeviceConfiguration + */ + public function setDateAndTimeForceSetAutomatically($val) + { + $this->_propDict["dateAndTimeForceSetAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the definitionLookupBlocked + * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). + * + * @return bool|null The definitionLookupBlocked + */ + public function getDefinitionLookupBlocked() + { + if (array_key_exists("definitionLookupBlocked", $this->_propDict)) { + return $this->_propDict["definitionLookupBlocked"]; + } else { + return null; + } + } + + /** + * Sets the definitionLookupBlocked + * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). + * + * @param bool $val The definitionLookupBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setDefinitionLookupBlocked($val) + { + $this->_propDict["definitionLookupBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the deviceBlockEnableRestrictions + * Indicates whether or not to allow the user to enables restrictions in the device settings when the device is in supervised mode. + * + * @return bool|null The deviceBlockEnableRestrictions + */ + public function getDeviceBlockEnableRestrictions() + { + if (array_key_exists("deviceBlockEnableRestrictions", $this->_propDict)) { + return $this->_propDict["deviceBlockEnableRestrictions"]; + } else { + return null; + } + } + + /** + * Sets the deviceBlockEnableRestrictions + * Indicates whether or not to allow the user to enables restrictions in the device settings when the device is in supervised mode. + * + * @param bool $val The deviceBlockEnableRestrictions + * + * @return IosGeneralDeviceConfiguration + */ + public function setDeviceBlockEnableRestrictions($val) + { + $this->_propDict["deviceBlockEnableRestrictions"] = boolval($val); + return $this; + } + + /** + * Gets the deviceBlockEraseContentAndSettings + * Indicates whether or not to allow the use of the 'Erase all content and settings' option on the device when the device is in supervised mode. + * + * @return bool|null The deviceBlockEraseContentAndSettings + */ + public function getDeviceBlockEraseContentAndSettings() + { + if (array_key_exists("deviceBlockEraseContentAndSettings", $this->_propDict)) { + return $this->_propDict["deviceBlockEraseContentAndSettings"]; + } else { + return null; + } + } + + /** + * Sets the deviceBlockEraseContentAndSettings + * Indicates whether or not to allow the use of the 'Erase all content and settings' option on the device when the device is in supervised mode. + * + * @param bool $val The deviceBlockEraseContentAndSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setDeviceBlockEraseContentAndSettings($val) + { + $this->_propDict["deviceBlockEraseContentAndSettings"] = boolval($val); + return $this; + } + + /** + * Gets the deviceBlockNameModification + * Indicates whether or not to allow device name modification when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The deviceBlockNameModification + */ + public function getDeviceBlockNameModification() + { + if (array_key_exists("deviceBlockNameModification", $this->_propDict)) { + return $this->_propDict["deviceBlockNameModification"]; + } else { + return null; + } + } + + /** + * Sets the deviceBlockNameModification + * Indicates whether or not to allow device name modification when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The deviceBlockNameModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setDeviceBlockNameModification($val) + { + $this->_propDict["deviceBlockNameModification"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticDataBlockSubmission + */ + public function getDiagnosticDataBlockSubmission() + { + if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticDataBlockSubmission + * + * @return IosGeneralDeviceConfiguration + */ + public function setDiagnosticDataBlockSubmission($val) + { + $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmissionModification + * Indicates whether or not to allow diagnostics submission settings modification when the device is in supervised mode (iOS 9.3.2 and later). + * + * @return bool|null The diagnosticDataBlockSubmissionModification + */ + public function getDiagnosticDataBlockSubmissionModification() + { + if (array_key_exists("diagnosticDataBlockSubmissionModification", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmissionModification"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmissionModification + * Indicates whether or not to allow diagnostics submission settings modification when the device is in supervised mode (iOS 9.3.2 and later). + * + * @param bool $val The diagnosticDataBlockSubmissionModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setDiagnosticDataBlockSubmissionModification($val) + { + $this->_propDict["diagnosticDataBlockSubmissionModification"] = boolval($val); + return $this; + } + + /** + * Gets the documentsBlockManagedDocumentsInUnmanagedApps + * Indicates whether or not to block the user from viewing managed documents in unmanaged apps. + * + * @return bool|null The documentsBlockManagedDocumentsInUnmanagedApps + */ + public function getDocumentsBlockManagedDocumentsInUnmanagedApps() + { + if (array_key_exists("documentsBlockManagedDocumentsInUnmanagedApps", $this->_propDict)) { + return $this->_propDict["documentsBlockManagedDocumentsInUnmanagedApps"]; + } else { + return null; + } + } + + /** + * Sets the documentsBlockManagedDocumentsInUnmanagedApps + * Indicates whether or not to block the user from viewing managed documents in unmanaged apps. + * + * @param bool $val The documentsBlockManagedDocumentsInUnmanagedApps + * + * @return IosGeneralDeviceConfiguration + */ + public function setDocumentsBlockManagedDocumentsInUnmanagedApps($val) + { + $this->_propDict["documentsBlockManagedDocumentsInUnmanagedApps"] = boolval($val); + return $this; + } + + /** + * Gets the documentsBlockUnmanagedDocumentsInManagedApps + * Indicates whether or not to block the user from viewing unmanaged documents in managed apps. + * + * @return bool|null The documentsBlockUnmanagedDocumentsInManagedApps + */ + public function getDocumentsBlockUnmanagedDocumentsInManagedApps() + { + if (array_key_exists("documentsBlockUnmanagedDocumentsInManagedApps", $this->_propDict)) { + return $this->_propDict["documentsBlockUnmanagedDocumentsInManagedApps"]; + } else { + return null; + } + } + + /** + * Sets the documentsBlockUnmanagedDocumentsInManagedApps + * Indicates whether or not to block the user from viewing unmanaged documents in managed apps. + * + * @param bool $val The documentsBlockUnmanagedDocumentsInManagedApps + * + * @return IosGeneralDeviceConfiguration + */ + public function setDocumentsBlockUnmanagedDocumentsInManagedApps($val) + { + $this->_propDict["documentsBlockUnmanagedDocumentsInManagedApps"] = boolval($val); + return $this; + } + + /** + * Gets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @return string|null The emailInDomainSuffixes + */ + public function getEmailInDomainSuffixes() + { + if (array_key_exists("emailInDomainSuffixes", $this->_propDict)) { + return $this->_propDict["emailInDomainSuffixes"]; + } else { + return null; + } + } + + /** + * Sets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @param string $val The emailInDomainSuffixes + * + * @return IosGeneralDeviceConfiguration + */ + public function setEmailInDomainSuffixes($val) + { + $this->_propDict["emailInDomainSuffixes"] = $val; + return $this; + } + + /** + * Gets the enterpriseAppBlockTrust + * Indicates whether or not to block the user from trusting an enterprise app. + * + * @return bool|null The enterpriseAppBlockTrust + */ + public function getEnterpriseAppBlockTrust() + { + if (array_key_exists("enterpriseAppBlockTrust", $this->_propDict)) { + return $this->_propDict["enterpriseAppBlockTrust"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseAppBlockTrust + * Indicates whether or not to block the user from trusting an enterprise app. + * + * @param bool $val The enterpriseAppBlockTrust + * + * @return IosGeneralDeviceConfiguration + */ + public function setEnterpriseAppBlockTrust($val) + { + $this->_propDict["enterpriseAppBlockTrust"] = boolval($val); + return $this; + } + + /** + * Gets the enterpriseAppBlockTrustModification + * [Deprecated] Configuring this setting and setting the value to 'true' has no effect on the device. + * + * @return bool|null The enterpriseAppBlockTrustModification + */ + public function getEnterpriseAppBlockTrustModification() + { + if (array_key_exists("enterpriseAppBlockTrustModification", $this->_propDict)) { + return $this->_propDict["enterpriseAppBlockTrustModification"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseAppBlockTrustModification + * [Deprecated] Configuring this setting and setting the value to 'true' has no effect on the device. + * + * @param bool $val The enterpriseAppBlockTrustModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setEnterpriseAppBlockTrustModification($val) + { + $this->_propDict["enterpriseAppBlockTrustModification"] = boolval($val); + return $this; + } + + /** + * Gets the enterpriseBookBlockBackup + * Indicates whether or not Enterprise book back up is blocked. + * + * @return bool|null The enterpriseBookBlockBackup + */ + public function getEnterpriseBookBlockBackup() + { + if (array_key_exists("enterpriseBookBlockBackup", $this->_propDict)) { + return $this->_propDict["enterpriseBookBlockBackup"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseBookBlockBackup + * Indicates whether or not Enterprise book back up is blocked. + * + * @param bool $val The enterpriseBookBlockBackup + * + * @return IosGeneralDeviceConfiguration + */ + public function setEnterpriseBookBlockBackup($val) + { + $this->_propDict["enterpriseBookBlockBackup"] = boolval($val); + return $this; + } + + /** + * Gets the enterpriseBookBlockMetadataSync + * Indicates whether or not Enterprise book notes and highlights sync is blocked. + * + * @return bool|null The enterpriseBookBlockMetadataSync + */ + public function getEnterpriseBookBlockMetadataSync() + { + if (array_key_exists("enterpriseBookBlockMetadataSync", $this->_propDict)) { + return $this->_propDict["enterpriseBookBlockMetadataSync"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseBookBlockMetadataSync + * Indicates whether or not Enterprise book notes and highlights sync is blocked. + * + * @param bool $val The enterpriseBookBlockMetadataSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setEnterpriseBookBlockMetadataSync($val) + { + $this->_propDict["enterpriseBookBlockMetadataSync"] = boolval($val); + return $this; + } + + /** + * Gets the esimBlockModification + * Indicates whether or not to allow the addition or removal of cellular plans on the eSIM of a supervised device. + * + * @return bool|null The esimBlockModification + */ + public function getEsimBlockModification() + { + if (array_key_exists("esimBlockModification", $this->_propDict)) { + return $this->_propDict["esimBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the esimBlockModification + * Indicates whether or not to allow the addition or removal of cellular plans on the eSIM of a supervised device. + * + * @param bool $val The esimBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setEsimBlockModification($val) + { + $this->_propDict["esimBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the faceTimeBlocked + * Indicates whether or not to block the user from using FaceTime. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The faceTimeBlocked + */ + public function getFaceTimeBlocked() + { + if (array_key_exists("faceTimeBlocked", $this->_propDict)) { + return $this->_propDict["faceTimeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the faceTimeBlocked + * Indicates whether or not to block the user from using FaceTime. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The faceTimeBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFaceTimeBlocked($val) + { + $this->_propDict["faceTimeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the filesNetworkDriveAccessBlocked + * Indicates if devices can access files or other resources on a network server using the Server Message Block (SMB) protocol. Available for devices running iOS and iPadOS, versions 13.0 and later. + * + * @return bool|null The filesNetworkDriveAccessBlocked + */ + public function getFilesNetworkDriveAccessBlocked() + { + if (array_key_exists("filesNetworkDriveAccessBlocked", $this->_propDict)) { + return $this->_propDict["filesNetworkDriveAccessBlocked"]; + } else { + return null; + } + } + + /** + * Sets the filesNetworkDriveAccessBlocked + * Indicates if devices can access files or other resources on a network server using the Server Message Block (SMB) protocol. Available for devices running iOS and iPadOS, versions 13.0 and later. + * + * @param bool $val The filesNetworkDriveAccessBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFilesNetworkDriveAccessBlocked($val) + { + $this->_propDict["filesNetworkDriveAccessBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the filesUsbDriveAccessBlocked + * Indicates if sevices with access can connect to and open files on a USB drive. Available for devices running iOS and iPadOS, versions 13.0 and later. + * + * @return bool|null The filesUsbDriveAccessBlocked + */ + public function getFilesUsbDriveAccessBlocked() + { + if (array_key_exists("filesUsbDriveAccessBlocked", $this->_propDict)) { + return $this->_propDict["filesUsbDriveAccessBlocked"]; + } else { + return null; + } + } + + /** + * Sets the filesUsbDriveAccessBlocked + * Indicates if sevices with access can connect to and open files on a USB drive. Available for devices running iOS and iPadOS, versions 13.0 and later. + * + * @param bool $val The filesUsbDriveAccessBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFilesUsbDriveAccessBlocked($val) + { + $this->_propDict["filesUsbDriveAccessBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the findMyDeviceInFindMyAppBlocked + * Indicates whether or not to block Find My Device when the device is supervised (iOS 13 or later). + * + * @return bool|null The findMyDeviceInFindMyAppBlocked + */ + public function getFindMyDeviceInFindMyAppBlocked() + { + if (array_key_exists("findMyDeviceInFindMyAppBlocked", $this->_propDict)) { + return $this->_propDict["findMyDeviceInFindMyAppBlocked"]; + } else { + return null; + } + } + + /** + * Sets the findMyDeviceInFindMyAppBlocked + * Indicates whether or not to block Find My Device when the device is supervised (iOS 13 or later). + * + * @param bool $val The findMyDeviceInFindMyAppBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFindMyDeviceInFindMyAppBlocked($val) + { + $this->_propDict["findMyDeviceInFindMyAppBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the findMyFriendsBlocked + * Indicates whether or not to block changes to Find My Friends when the device is in supervised mode. + * + * @return bool|null The findMyFriendsBlocked + */ + public function getFindMyFriendsBlocked() + { + if (array_key_exists("findMyFriendsBlocked", $this->_propDict)) { + return $this->_propDict["findMyFriendsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the findMyFriendsBlocked + * Indicates whether or not to block changes to Find My Friends when the device is in supervised mode. + * + * @param bool $val The findMyFriendsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFindMyFriendsBlocked($val) + { + $this->_propDict["findMyFriendsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the findMyFriendsInFindMyAppBlocked + * Indicates whether or not to block Find My Friends when the device is supervised (iOS 13 or later). + * + * @return bool|null The findMyFriendsInFindMyAppBlocked + */ + public function getFindMyFriendsInFindMyAppBlocked() + { + if (array_key_exists("findMyFriendsInFindMyAppBlocked", $this->_propDict)) { + return $this->_propDict["findMyFriendsInFindMyAppBlocked"]; + } else { + return null; + } + } + + /** + * Sets the findMyFriendsInFindMyAppBlocked + * Indicates whether or not to block Find My Friends when the device is supervised (iOS 13 or later). + * + * @param bool $val The findMyFriendsInFindMyAppBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFindMyFriendsInFindMyAppBlocked($val) + { + $this->_propDict["findMyFriendsInFindMyAppBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the gameCenterBlocked + * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. + * + * @return bool|null The gameCenterBlocked + */ + public function getGameCenterBlocked() + { + if (array_key_exists("gameCenterBlocked", $this->_propDict)) { + return $this->_propDict["gameCenterBlocked"]; + } else { + return null; + } + } + + /** + * Sets the gameCenterBlocked + * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. + * + * @param bool $val The gameCenterBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setGameCenterBlocked($val) + { + $this->_propDict["gameCenterBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the gamingBlockGameCenterFriends + * Indicates whether or not to block the user from having friends in Game Center. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The gamingBlockGameCenterFriends + */ + public function getGamingBlockGameCenterFriends() + { + if (array_key_exists("gamingBlockGameCenterFriends", $this->_propDict)) { + return $this->_propDict["gamingBlockGameCenterFriends"]; + } else { + return null; + } + } + + /** + * Sets the gamingBlockGameCenterFriends + * Indicates whether or not to block the user from having friends in Game Center. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The gamingBlockGameCenterFriends + * + * @return IosGeneralDeviceConfiguration + */ + public function setGamingBlockGameCenterFriends($val) + { + $this->_propDict["gamingBlockGameCenterFriends"] = boolval($val); + return $this; + } + + /** + * Gets the gamingBlockMultiplayer + * Indicates whether or not to block the user from using multiplayer gaming. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The gamingBlockMultiplayer + */ + public function getGamingBlockMultiplayer() + { + if (array_key_exists("gamingBlockMultiplayer", $this->_propDict)) { + return $this->_propDict["gamingBlockMultiplayer"]; + } else { + return null; + } + } + + /** + * Sets the gamingBlockMultiplayer + * Indicates whether or not to block the user from using multiplayer gaming. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The gamingBlockMultiplayer + * + * @return IosGeneralDeviceConfiguration + */ + public function setGamingBlockMultiplayer($val) + { + $this->_propDict["gamingBlockMultiplayer"] = boolval($val); + return $this; + } + + /** + * Gets the hostPairingBlocked + * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. + * + * @return bool|null The hostPairingBlocked + */ + public function getHostPairingBlocked() + { + if (array_key_exists("hostPairingBlocked", $this->_propDict)) { + return $this->_propDict["hostPairingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the hostPairingBlocked + * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. + * + * @param bool $val The hostPairingBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setHostPairingBlocked($val) + { + $this->_propDict["hostPairingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iBooksStoreBlocked + * Indicates whether or not to block the user from using the iBooks Store when the device is in supervised mode. + * + * @return bool|null The iBooksStoreBlocked + */ + public function getIBooksStoreBlocked() + { + if (array_key_exists("iBooksStoreBlocked", $this->_propDict)) { + return $this->_propDict["iBooksStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the iBooksStoreBlocked + * Indicates whether or not to block the user from using the iBooks Store when the device is in supervised mode. + * + * @param bool $val The iBooksStoreBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setIBooksStoreBlocked($val) + { + $this->_propDict["iBooksStoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iBooksStoreBlockErotica + * Indicates whether or not to block the user from downloading media from the iBookstore that has been tagged as erotica. + * + * @return bool|null The iBooksStoreBlockErotica + */ + public function getIBooksStoreBlockErotica() + { + if (array_key_exists("iBooksStoreBlockErotica", $this->_propDict)) { + return $this->_propDict["iBooksStoreBlockErotica"]; + } else { + return null; + } + } + + /** + * Sets the iBooksStoreBlockErotica + * Indicates whether or not to block the user from downloading media from the iBookstore that has been tagged as erotica. + * + * @param bool $val The iBooksStoreBlockErotica + * + * @return IosGeneralDeviceConfiguration + */ + public function setIBooksStoreBlockErotica($val) + { + $this->_propDict["iBooksStoreBlockErotica"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockActivityContinuation + * Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device. + * + * @return bool|null The iCloudBlockActivityContinuation + */ + public function getICloudBlockActivityContinuation() + { + if (array_key_exists("iCloudBlockActivityContinuation", $this->_propDict)) { + return $this->_propDict["iCloudBlockActivityContinuation"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockActivityContinuation + * Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device. + * + * @param bool $val The iCloudBlockActivityContinuation + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockActivityContinuation($val) + { + $this->_propDict["iCloudBlockActivityContinuation"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockBackup + * Indicates whether or not to block iCloud backup. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iCloudBlockBackup + */ + public function getICloudBlockBackup() + { + if (array_key_exists("iCloudBlockBackup", $this->_propDict)) { + return $this->_propDict["iCloudBlockBackup"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockBackup + * Indicates whether or not to block iCloud backup. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iCloudBlockBackup + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockBackup($val) + { + $this->_propDict["iCloudBlockBackup"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockDocumentSync + * Indicates whether or not to block iCloud document sync. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iCloudBlockDocumentSync + */ + public function getICloudBlockDocumentSync() + { + if (array_key_exists("iCloudBlockDocumentSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockDocumentSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockDocumentSync + * Indicates whether or not to block iCloud document sync. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iCloudBlockDocumentSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockDocumentSync($val) + { + $this->_propDict["iCloudBlockDocumentSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockManagedAppsSync + * Indicates whether or not to block Managed Apps Cloud Sync. + * + * @return bool|null The iCloudBlockManagedAppsSync + */ + public function getICloudBlockManagedAppsSync() + { + if (array_key_exists("iCloudBlockManagedAppsSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockManagedAppsSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockManagedAppsSync + * Indicates whether or not to block Managed Apps Cloud Sync. + * + * @param bool $val The iCloudBlockManagedAppsSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockManagedAppsSync($val) + { + $this->_propDict["iCloudBlockManagedAppsSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockPhotoLibrary + * Indicates whether or not to block iCloud Photo Library. + * + * @return bool|null The iCloudBlockPhotoLibrary + */ + public function getICloudBlockPhotoLibrary() + { + if (array_key_exists("iCloudBlockPhotoLibrary", $this->_propDict)) { + return $this->_propDict["iCloudBlockPhotoLibrary"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockPhotoLibrary + * Indicates whether or not to block iCloud Photo Library. + * + * @param bool $val The iCloudBlockPhotoLibrary + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockPhotoLibrary($val) + { + $this->_propDict["iCloudBlockPhotoLibrary"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockPhotoStreamSync + * Indicates whether or not to block iCloud Photo Stream Sync. + * + * @return bool|null The iCloudBlockPhotoStreamSync + */ + public function getICloudBlockPhotoStreamSync() + { + if (array_key_exists("iCloudBlockPhotoStreamSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockPhotoStreamSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockPhotoStreamSync + * Indicates whether or not to block iCloud Photo Stream Sync. + * + * @param bool $val The iCloudBlockPhotoStreamSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockPhotoStreamSync($val) + { + $this->_propDict["iCloudBlockPhotoStreamSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockSharedPhotoStream + * Indicates whether or not to block Shared Photo Stream. + * + * @return bool|null The iCloudBlockSharedPhotoStream + */ + public function getICloudBlockSharedPhotoStream() + { + if (array_key_exists("iCloudBlockSharedPhotoStream", $this->_propDict)) { + return $this->_propDict["iCloudBlockSharedPhotoStream"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockSharedPhotoStream + * Indicates whether or not to block Shared Photo Stream. + * + * @param bool $val The iCloudBlockSharedPhotoStream + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockSharedPhotoStream($val) + { + $this->_propDict["iCloudBlockSharedPhotoStream"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudPrivateRelayBlocked + * iCloud private relay is an iCloud+ service that prevents networks and servers from monitoring a person's activity across the internet. By blocking iCloud private relay, Apple will not encrypt the traffic leaving the device. Available for devices running iOS 15 and later. + * + * @return bool|null The iCloudPrivateRelayBlocked + */ + public function getICloudPrivateRelayBlocked() + { + if (array_key_exists("iCloudPrivateRelayBlocked", $this->_propDict)) { + return $this->_propDict["iCloudPrivateRelayBlocked"]; + } else { + return null; + } + } + + /** + * Sets the iCloudPrivateRelayBlocked + * iCloud private relay is an iCloud+ service that prevents networks and servers from monitoring a person's activity across the internet. By blocking iCloud private relay, Apple will not encrypt the traffic leaving the device. Available for devices running iOS 15 and later. + * + * @param bool $val The iCloudPrivateRelayBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudPrivateRelayBlocked($val) + { + $this->_propDict["iCloudPrivateRelayBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudRequireEncryptedBackup + * Indicates whether or not to require backups to iCloud be encrypted. + * + * @return bool|null The iCloudRequireEncryptedBackup + */ + public function getICloudRequireEncryptedBackup() + { + if (array_key_exists("iCloudRequireEncryptedBackup", $this->_propDict)) { + return $this->_propDict["iCloudRequireEncryptedBackup"]; + } else { + return null; + } + } + + /** + * Sets the iCloudRequireEncryptedBackup + * Indicates whether or not to require backups to iCloud be encrypted. + * + * @param bool $val The iCloudRequireEncryptedBackup + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudRequireEncryptedBackup($val) + { + $this->_propDict["iCloudRequireEncryptedBackup"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlocked + * Indicates whether or not to block the iTunes app. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iTunesBlocked + */ + public function getITunesBlocked() + { + if (array_key_exists("iTunesBlocked", $this->_propDict)) { + return $this->_propDict["iTunesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlocked + * Indicates whether or not to block the iTunes app. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iTunesBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlocked($val) + { + $this->_propDict["iTunesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockExplicitContent + * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iTunesBlockExplicitContent + */ + public function getITunesBlockExplicitContent() + { + if (array_key_exists("iTunesBlockExplicitContent", $this->_propDict)) { + return $this->_propDict["iTunesBlockExplicitContent"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockExplicitContent + * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iTunesBlockExplicitContent + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlockExplicitContent($val) + { + $this->_propDict["iTunesBlockExplicitContent"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockMusicService + * Indicates whether or not to block Music service and revert Music app to classic mode when the device is in supervised mode (iOS 9.3 and later and macOS 10.12 and later). + * + * @return bool|null The iTunesBlockMusicService + */ + public function getITunesBlockMusicService() + { + if (array_key_exists("iTunesBlockMusicService", $this->_propDict)) { + return $this->_propDict["iTunesBlockMusicService"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockMusicService + * Indicates whether or not to block Music service and revert Music app to classic mode when the device is in supervised mode (iOS 9.3 and later and macOS 10.12 and later). + * + * @param bool $val The iTunesBlockMusicService + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlockMusicService($val) + { + $this->_propDict["iTunesBlockMusicService"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockRadio + * Indicates whether or not to block the user from using iTunes Radio when the device is in supervised mode (iOS 9.3 and later). + * + * @return bool|null The iTunesBlockRadio + */ + public function getITunesBlockRadio() + { + if (array_key_exists("iTunesBlockRadio", $this->_propDict)) { + return $this->_propDict["iTunesBlockRadio"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockRadio + * Indicates whether or not to block the user from using iTunes Radio when the device is in supervised mode (iOS 9.3 and later). + * + * @param bool $val The iTunesBlockRadio + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlockRadio($val) + { + $this->_propDict["iTunesBlockRadio"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockAutoCorrect + * Indicates whether or not to block keyboard auto-correction when the device is in supervised mode (iOS 8.1.3 and later). + * + * @return bool|null The keyboardBlockAutoCorrect + */ + public function getKeyboardBlockAutoCorrect() + { + if (array_key_exists("keyboardBlockAutoCorrect", $this->_propDict)) { + return $this->_propDict["keyboardBlockAutoCorrect"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockAutoCorrect + * Indicates whether or not to block keyboard auto-correction when the device is in supervised mode (iOS 8.1.3 and later). + * + * @param bool $val The keyboardBlockAutoCorrect + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockAutoCorrect($val) + { + $this->_propDict["keyboardBlockAutoCorrect"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockDictation + * Indicates whether or not to block the user from using dictation input when the device is in supervised mode. + * + * @return bool|null The keyboardBlockDictation + */ + public function getKeyboardBlockDictation() + { + if (array_key_exists("keyboardBlockDictation", $this->_propDict)) { + return $this->_propDict["keyboardBlockDictation"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockDictation + * Indicates whether or not to block the user from using dictation input when the device is in supervised mode. + * + * @param bool $val The keyboardBlockDictation + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockDictation($val) + { + $this->_propDict["keyboardBlockDictation"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockPredictive + * Indicates whether or not to block predictive keyboards when device is in supervised mode (iOS 8.1.3 and later). + * + * @return bool|null The keyboardBlockPredictive + */ + public function getKeyboardBlockPredictive() + { + if (array_key_exists("keyboardBlockPredictive", $this->_propDict)) { + return $this->_propDict["keyboardBlockPredictive"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockPredictive + * Indicates whether or not to block predictive keyboards when device is in supervised mode (iOS 8.1.3 and later). + * + * @param bool $val The keyboardBlockPredictive + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockPredictive($val) + { + $this->_propDict["keyboardBlockPredictive"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockShortcuts + * Indicates whether or not to block keyboard shortcuts when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The keyboardBlockShortcuts + */ + public function getKeyboardBlockShortcuts() + { + if (array_key_exists("keyboardBlockShortcuts", $this->_propDict)) { + return $this->_propDict["keyboardBlockShortcuts"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockShortcuts + * Indicates whether or not to block keyboard shortcuts when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The keyboardBlockShortcuts + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockShortcuts($val) + { + $this->_propDict["keyboardBlockShortcuts"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockSpellCheck + * Indicates whether or not to block keyboard spell-checking when the device is in supervised mode (iOS 8.1.3 and later). + * + * @return bool|null The keyboardBlockSpellCheck + */ + public function getKeyboardBlockSpellCheck() + { + if (array_key_exists("keyboardBlockSpellCheck", $this->_propDict)) { + return $this->_propDict["keyboardBlockSpellCheck"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockSpellCheck + * Indicates whether or not to block keyboard spell-checking when the device is in supervised mode (iOS 8.1.3 and later). + * + * @param bool $val The keyboardBlockSpellCheck + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockSpellCheck($val) + { + $this->_propDict["keyboardBlockSpellCheck"] = boolval($val); + return $this; + } + + /** + * Gets the keychainBlockCloudSync + * Indicates whether or not iCloud keychain synchronization is blocked. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The keychainBlockCloudSync + */ + public function getKeychainBlockCloudSync() + { + if (array_key_exists("keychainBlockCloudSync", $this->_propDict)) { + return $this->_propDict["keychainBlockCloudSync"]; + } else { + return null; + } + } + + /** + * Sets the keychainBlockCloudSync + * Indicates whether or not iCloud keychain synchronization is blocked. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The keychainBlockCloudSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeychainBlockCloudSync($val) + { + $this->_propDict["keychainBlockCloudSync"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowAssistiveSpeak + * Indicates whether or not to allow assistive speak while in kiosk mode. + * + * @return bool|null The kioskModeAllowAssistiveSpeak + */ + public function getKioskModeAllowAssistiveSpeak() + { + if (array_key_exists("kioskModeAllowAssistiveSpeak", $this->_propDict)) { + return $this->_propDict["kioskModeAllowAssistiveSpeak"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowAssistiveSpeak + * Indicates whether or not to allow assistive speak while in kiosk mode. + * + * @param bool $val The kioskModeAllowAssistiveSpeak + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowAssistiveSpeak($val) + { + $this->_propDict["kioskModeAllowAssistiveSpeak"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowAssistiveTouchSettings + * Indicates whether or not to allow access to the Assistive Touch Settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowAssistiveTouchSettings + */ + public function getKioskModeAllowAssistiveTouchSettings() + { + if (array_key_exists("kioskModeAllowAssistiveTouchSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowAssistiveTouchSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowAssistiveTouchSettings + * Indicates whether or not to allow access to the Assistive Touch Settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowAssistiveTouchSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowAssistiveTouchSettings($val) + { + $this->_propDict["kioskModeAllowAssistiveTouchSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowAutoLock + * Indicates whether or not to allow device auto lock while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockAutoLock instead. + * + * @return bool|null The kioskModeAllowAutoLock + */ + public function getKioskModeAllowAutoLock() + { + if (array_key_exists("kioskModeAllowAutoLock", $this->_propDict)) { + return $this->_propDict["kioskModeAllowAutoLock"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowAutoLock + * Indicates whether or not to allow device auto lock while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockAutoLock instead. + * + * @param bool $val The kioskModeAllowAutoLock + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowAutoLock($val) + { + $this->_propDict["kioskModeAllowAutoLock"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowColorInversionSettings + * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowColorInversionSettings + */ + public function getKioskModeAllowColorInversionSettings() + { + if (array_key_exists("kioskModeAllowColorInversionSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowColorInversionSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowColorInversionSettings + * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowColorInversionSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowColorInversionSettings($val) + { + $this->_propDict["kioskModeAllowColorInversionSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowRingerSwitch + * Indicates whether or not to allow use of the ringer switch while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockRingerSwitch instead. + * + * @return bool|null The kioskModeAllowRingerSwitch + */ + public function getKioskModeAllowRingerSwitch() + { + if (array_key_exists("kioskModeAllowRingerSwitch", $this->_propDict)) { + return $this->_propDict["kioskModeAllowRingerSwitch"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowRingerSwitch + * Indicates whether or not to allow use of the ringer switch while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockRingerSwitch instead. + * + * @param bool $val The kioskModeAllowRingerSwitch + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowRingerSwitch($val) + { + $this->_propDict["kioskModeAllowRingerSwitch"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowScreenRotation + * Indicates whether or not to allow screen rotation while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockScreenRotation instead. + * + * @return bool|null The kioskModeAllowScreenRotation + */ + public function getKioskModeAllowScreenRotation() + { + if (array_key_exists("kioskModeAllowScreenRotation", $this->_propDict)) { + return $this->_propDict["kioskModeAllowScreenRotation"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowScreenRotation + * Indicates whether or not to allow screen rotation while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockScreenRotation instead. + * + * @param bool $val The kioskModeAllowScreenRotation + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowScreenRotation($val) + { + $this->_propDict["kioskModeAllowScreenRotation"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowSleepButton + * Indicates whether or not to allow use of the sleep button while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockSleepButton instead. + * + * @return bool|null The kioskModeAllowSleepButton + */ + public function getKioskModeAllowSleepButton() + { + if (array_key_exists("kioskModeAllowSleepButton", $this->_propDict)) { + return $this->_propDict["kioskModeAllowSleepButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowSleepButton + * Indicates whether or not to allow use of the sleep button while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockSleepButton instead. + * + * @param bool $val The kioskModeAllowSleepButton + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowSleepButton($val) + { + $this->_propDict["kioskModeAllowSleepButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowTouchscreen + * Indicates whether or not to allow use of the touchscreen while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockTouchscreen instead. + * + * @return bool|null The kioskModeAllowTouchscreen + */ + public function getKioskModeAllowTouchscreen() + { + if (array_key_exists("kioskModeAllowTouchscreen", $this->_propDict)) { + return $this->_propDict["kioskModeAllowTouchscreen"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowTouchscreen + * Indicates whether or not to allow use of the touchscreen while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockTouchscreen instead. + * + * @param bool $val The kioskModeAllowTouchscreen + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowTouchscreen($val) + { + $this->_propDict["kioskModeAllowTouchscreen"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowVoiceControlModification + * Indicates whether or not to allow the user to toggle voice control in kiosk mode. + * + * @return bool|null The kioskModeAllowVoiceControlModification + */ + public function getKioskModeAllowVoiceControlModification() + { + if (array_key_exists("kioskModeAllowVoiceControlModification", $this->_propDict)) { + return $this->_propDict["kioskModeAllowVoiceControlModification"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowVoiceControlModification + * Indicates whether or not to allow the user to toggle voice control in kiosk mode. + * + * @param bool $val The kioskModeAllowVoiceControlModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowVoiceControlModification($val) + { + $this->_propDict["kioskModeAllowVoiceControlModification"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowVoiceOverSettings + * Indicates whether or not to allow access to the voice over settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowVoiceOverSettings + */ + public function getKioskModeAllowVoiceOverSettings() + { + if (array_key_exists("kioskModeAllowVoiceOverSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowVoiceOverSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowVoiceOverSettings + * Indicates whether or not to allow access to the voice over settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowVoiceOverSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowVoiceOverSettings($val) + { + $this->_propDict["kioskModeAllowVoiceOverSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowVolumeButtons + * Indicates whether or not to allow use of the volume buttons while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockVolumeButtons instead. + * + * @return bool|null The kioskModeAllowVolumeButtons + */ + public function getKioskModeAllowVolumeButtons() + { + if (array_key_exists("kioskModeAllowVolumeButtons", $this->_propDict)) { + return $this->_propDict["kioskModeAllowVolumeButtons"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowVolumeButtons + * Indicates whether or not to allow use of the volume buttons while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockVolumeButtons instead. + * + * @param bool $val The kioskModeAllowVolumeButtons + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowVolumeButtons($val) + { + $this->_propDict["kioskModeAllowVolumeButtons"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowZoomSettings + * Indicates whether or not to allow access to the zoom settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowZoomSettings + */ + public function getKioskModeAllowZoomSettings() + { + if (array_key_exists("kioskModeAllowZoomSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowZoomSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowZoomSettings + * Indicates whether or not to allow access to the zoom settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowZoomSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowZoomSettings($val) + { + $this->_propDict["kioskModeAllowZoomSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAppStoreUrl + * URL in the app store to the app to use for kiosk mode. Use if KioskModeManagedAppId is not known. + * + * @return string|null The kioskModeAppStoreUrl + */ + public function getKioskModeAppStoreUrl() + { + if (array_key_exists("kioskModeAppStoreUrl", $this->_propDict)) { + return $this->_propDict["kioskModeAppStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAppStoreUrl + * URL in the app store to the app to use for kiosk mode. Use if KioskModeManagedAppId is not known. + * + * @param string $val The kioskModeAppStoreUrl + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAppStoreUrl($val) + { + $this->_propDict["kioskModeAppStoreUrl"] = $val; + return $this; + } + + /** + * Gets the kioskModeAppType + * Type of app to run in kiosk mode. Possible values are: notConfigured, appStoreApp, managedApp, builtInApp. + * + * @return IosKioskModeAppType|null The kioskModeAppType + */ + public function getKioskModeAppType() + { + if (array_key_exists("kioskModeAppType", $this->_propDict)) { + if (is_a($this->_propDict["kioskModeAppType"], "\Beta\Microsoft\Graph\Model\IosKioskModeAppType") || is_null($this->_propDict["kioskModeAppType"])) { + return $this->_propDict["kioskModeAppType"]; + } else { + $this->_propDict["kioskModeAppType"] = new IosKioskModeAppType($this->_propDict["kioskModeAppType"]); + return $this->_propDict["kioskModeAppType"]; + } + } + return null; + } + + /** + * Sets the kioskModeAppType + * Type of app to run in kiosk mode. Possible values are: notConfigured, appStoreApp, managedApp, builtInApp. + * + * @param IosKioskModeAppType $val The kioskModeAppType + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAppType($val) + { + $this->_propDict["kioskModeAppType"] = $val; + return $this; + } + + /** + * Gets the kioskModeBlockAutoLock + * Indicates whether or not to block device auto lock while in kiosk mode. + * + * @return bool|null The kioskModeBlockAutoLock + */ + public function getKioskModeBlockAutoLock() + { + if (array_key_exists("kioskModeBlockAutoLock", $this->_propDict)) { + return $this->_propDict["kioskModeBlockAutoLock"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockAutoLock + * Indicates whether or not to block device auto lock while in kiosk mode. + * + * @param bool $val The kioskModeBlockAutoLock + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBlockAutoLock($val) + { + $this->_propDict["kioskModeBlockAutoLock"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockRingerSwitch + * Indicates whether or not to block use of the ringer switch while in kiosk mode. + * + * @return bool|null The kioskModeBlockRingerSwitch + */ + public function getKioskModeBlockRingerSwitch() + { + if (array_key_exists("kioskModeBlockRingerSwitch", $this->_propDict)) { + return $this->_propDict["kioskModeBlockRingerSwitch"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockRingerSwitch + * Indicates whether or not to block use of the ringer switch while in kiosk mode. + * + * @param bool $val The kioskModeBlockRingerSwitch + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBlockRingerSwitch($val) + { + $this->_propDict["kioskModeBlockRingerSwitch"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockScreenRotation + * Indicates whether or not to block screen rotation while in kiosk mode. + * + * @return bool|null The kioskModeBlockScreenRotation + */ + public function getKioskModeBlockScreenRotation() + { + if (array_key_exists("kioskModeBlockScreenRotation", $this->_propDict)) { + return $this->_propDict["kioskModeBlockScreenRotation"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockScreenRotation + * Indicates whether or not to block screen rotation while in kiosk mode. + * + * @param bool $val The kioskModeBlockScreenRotation + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBlockScreenRotation($val) + { + $this->_propDict["kioskModeBlockScreenRotation"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockSleepButton + * Indicates whether or not to block use of the sleep button while in kiosk mode. + * + * @return bool|null The kioskModeBlockSleepButton + */ + public function getKioskModeBlockSleepButton() + { + if (array_key_exists("kioskModeBlockSleepButton", $this->_propDict)) { + return $this->_propDict["kioskModeBlockSleepButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockSleepButton + * Indicates whether or not to block use of the sleep button while in kiosk mode. + * + * @param bool $val The kioskModeBlockSleepButton + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBlockSleepButton($val) + { + $this->_propDict["kioskModeBlockSleepButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockTouchscreen + * Indicates whether or not to block use of the touchscreen while in kiosk mode. + * + * @return bool|null The kioskModeBlockTouchscreen + */ + public function getKioskModeBlockTouchscreen() + { + if (array_key_exists("kioskModeBlockTouchscreen", $this->_propDict)) { + return $this->_propDict["kioskModeBlockTouchscreen"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockTouchscreen + * Indicates whether or not to block use of the touchscreen while in kiosk mode. + * + * @param bool $val The kioskModeBlockTouchscreen + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBlockTouchscreen($val) + { + $this->_propDict["kioskModeBlockTouchscreen"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockVolumeButtons + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + * + * @return bool|null The kioskModeBlockVolumeButtons + */ + public function getKioskModeBlockVolumeButtons() + { + if (array_key_exists("kioskModeBlockVolumeButtons", $this->_propDict)) { + return $this->_propDict["kioskModeBlockVolumeButtons"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockVolumeButtons + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + * + * @param bool $val The kioskModeBlockVolumeButtons + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBlockVolumeButtons($val) + { + $this->_propDict["kioskModeBlockVolumeButtons"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBuiltInAppId + * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. + * + * @return string|null The kioskModeBuiltInAppId + */ + public function getKioskModeBuiltInAppId() + { + if (array_key_exists("kioskModeBuiltInAppId", $this->_propDict)) { + return $this->_propDict["kioskModeBuiltInAppId"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBuiltInAppId + * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. + * + * @param string $val The kioskModeBuiltInAppId + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBuiltInAppId($val) + { + $this->_propDict["kioskModeBuiltInAppId"] = $val; + return $this; + } + + /** + * Gets the kioskModeEnableVoiceControl + * Indicates whether or not to enable voice control in kiosk mode. + * + * @return bool|null The kioskModeEnableVoiceControl + */ + public function getKioskModeEnableVoiceControl() + { + if (array_key_exists("kioskModeEnableVoiceControl", $this->_propDict)) { + return $this->_propDict["kioskModeEnableVoiceControl"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeEnableVoiceControl + * Indicates whether or not to enable voice control in kiosk mode. + * + * @param bool $val The kioskModeEnableVoiceControl + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeEnableVoiceControl($val) + { + $this->_propDict["kioskModeEnableVoiceControl"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeManagedAppId + * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. + * + * @return string|null The kioskModeManagedAppId + */ + public function getKioskModeManagedAppId() + { + if (array_key_exists("kioskModeManagedAppId", $this->_propDict)) { + return $this->_propDict["kioskModeManagedAppId"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedAppId + * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. + * + * @param string $val The kioskModeManagedAppId + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeManagedAppId($val) + { + $this->_propDict["kioskModeManagedAppId"] = $val; + return $this; + } + + /** + * Gets the kioskModeRequireAssistiveTouch + * Indicates whether or not to require assistive touch while in kiosk mode. + * + * @return bool|null The kioskModeRequireAssistiveTouch + */ + public function getKioskModeRequireAssistiveTouch() + { + if (array_key_exists("kioskModeRequireAssistiveTouch", $this->_propDict)) { + return $this->_propDict["kioskModeRequireAssistiveTouch"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireAssistiveTouch + * Indicates whether or not to require assistive touch while in kiosk mode. + * + * @param bool $val The kioskModeRequireAssistiveTouch + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireAssistiveTouch($val) + { + $this->_propDict["kioskModeRequireAssistiveTouch"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireColorInversion + * Indicates whether or not to require color inversion while in kiosk mode. + * + * @return bool|null The kioskModeRequireColorInversion + */ + public function getKioskModeRequireColorInversion() + { + if (array_key_exists("kioskModeRequireColorInversion", $this->_propDict)) { + return $this->_propDict["kioskModeRequireColorInversion"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireColorInversion + * Indicates whether or not to require color inversion while in kiosk mode. + * + * @param bool $val The kioskModeRequireColorInversion + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireColorInversion($val) + { + $this->_propDict["kioskModeRequireColorInversion"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireMonoAudio + * Indicates whether or not to require mono audio while in kiosk mode. + * + * @return bool|null The kioskModeRequireMonoAudio + */ + public function getKioskModeRequireMonoAudio() + { + if (array_key_exists("kioskModeRequireMonoAudio", $this->_propDict)) { + return $this->_propDict["kioskModeRequireMonoAudio"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireMonoAudio + * Indicates whether or not to require mono audio while in kiosk mode. + * + * @param bool $val The kioskModeRequireMonoAudio + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireMonoAudio($val) + { + $this->_propDict["kioskModeRequireMonoAudio"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireVoiceOver + * Indicates whether or not to require voice over while in kiosk mode. + * + * @return bool|null The kioskModeRequireVoiceOver + */ + public function getKioskModeRequireVoiceOver() + { + if (array_key_exists("kioskModeRequireVoiceOver", $this->_propDict)) { + return $this->_propDict["kioskModeRequireVoiceOver"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireVoiceOver + * Indicates whether or not to require voice over while in kiosk mode. + * + * @param bool $val The kioskModeRequireVoiceOver + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireVoiceOver($val) + { + $this->_propDict["kioskModeRequireVoiceOver"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireZoom + * Indicates whether or not to require zoom while in kiosk mode. + * + * @return bool|null The kioskModeRequireZoom + */ + public function getKioskModeRequireZoom() + { + if (array_key_exists("kioskModeRequireZoom", $this->_propDict)) { + return $this->_propDict["kioskModeRequireZoom"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireZoom + * Indicates whether or not to require zoom while in kiosk mode. + * + * @param bool $val The kioskModeRequireZoom + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireZoom($val) + { + $this->_propDict["kioskModeRequireZoom"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockControlCenter + * Indicates whether or not to block the user from using control center on the lock screen. + * + * @return bool|null The lockScreenBlockControlCenter + */ + public function getLockScreenBlockControlCenter() + { + if (array_key_exists("lockScreenBlockControlCenter", $this->_propDict)) { + return $this->_propDict["lockScreenBlockControlCenter"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockControlCenter + * Indicates whether or not to block the user from using control center on the lock screen. + * + * @param bool $val The lockScreenBlockControlCenter + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockControlCenter($val) + { + $this->_propDict["lockScreenBlockControlCenter"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockNotificationView + * Indicates whether or not to block the user from using the notification view on the lock screen. + * + * @return bool|null The lockScreenBlockNotificationView + */ + public function getLockScreenBlockNotificationView() + { + if (array_key_exists("lockScreenBlockNotificationView", $this->_propDict)) { + return $this->_propDict["lockScreenBlockNotificationView"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockNotificationView + * Indicates whether or not to block the user from using the notification view on the lock screen. + * + * @param bool $val The lockScreenBlockNotificationView + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockNotificationView($val) + { + $this->_propDict["lockScreenBlockNotificationView"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockPassbook + * Indicates whether or not to block the user from using passbook when the device is locked. + * + * @return bool|null The lockScreenBlockPassbook + */ + public function getLockScreenBlockPassbook() + { + if (array_key_exists("lockScreenBlockPassbook", $this->_propDict)) { + return $this->_propDict["lockScreenBlockPassbook"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockPassbook + * Indicates whether or not to block the user from using passbook when the device is locked. + * + * @param bool $val The lockScreenBlockPassbook + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockPassbook($val) + { + $this->_propDict["lockScreenBlockPassbook"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockTodayView + * Indicates whether or not to block the user from using the Today View on the lock screen. + * + * @return bool|null The lockScreenBlockTodayView + */ + public function getLockScreenBlockTodayView() + { + if (array_key_exists("lockScreenBlockTodayView", $this->_propDict)) { + return $this->_propDict["lockScreenBlockTodayView"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockTodayView + * Indicates whether or not to block the user from using the Today View on the lock screen. + * + * @param bool $val The lockScreenBlockTodayView + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockTodayView($val) + { + $this->_propDict["lockScreenBlockTodayView"] = boolval($val); + return $this; + } + + /** + * Gets the managedPasteboardRequired + * Open-in management controls how people share data between unmanaged and managed apps. Setting this to true enforces copy/paste restrictions based on how you configured Block viewing corporate documents in unmanaged apps and Block viewing non-corporate documents in corporate apps. + * + * @return bool|null The managedPasteboardRequired + */ + public function getManagedPasteboardRequired() + { + if (array_key_exists("managedPasteboardRequired", $this->_propDict)) { + return $this->_propDict["managedPasteboardRequired"]; + } else { + return null; + } + } + + /** + * Sets the managedPasteboardRequired + * Open-in management controls how people share data between unmanaged and managed apps. Setting this to true enforces copy/paste restrictions based on how you configured Block viewing corporate documents in unmanaged apps and Block viewing non-corporate documents in corporate apps. + * + * @param bool $val The managedPasteboardRequired + * + * @return IosGeneralDeviceConfiguration + */ + public function setManagedPasteboardRequired($val) + { + $this->_propDict["managedPasteboardRequired"] = boolval($val); + return $this; + } + + /** + * Gets the mediaContentRatingApps + * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. + * + * @return RatingAppsType|null The mediaContentRatingApps + */ + public function getMediaContentRatingApps() + { + if (array_key_exists("mediaContentRatingApps", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingApps"], "\Beta\Microsoft\Graph\Model\RatingAppsType") || is_null($this->_propDict["mediaContentRatingApps"])) { + return $this->_propDict["mediaContentRatingApps"]; + } else { + $this->_propDict["mediaContentRatingApps"] = new RatingAppsType($this->_propDict["mediaContentRatingApps"]); + return $this->_propDict["mediaContentRatingApps"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingApps + * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. + * + * @param RatingAppsType $val The mediaContentRatingApps + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingApps($val) + { + $this->_propDict["mediaContentRatingApps"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingAustralia + * Media content rating settings for Australia + * + * @return MediaContentRatingAustralia|null The mediaContentRatingAustralia + */ + public function getMediaContentRatingAustralia() + { + if (array_key_exists("mediaContentRatingAustralia", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingAustralia"], "\Beta\Microsoft\Graph\Model\MediaContentRatingAustralia") || is_null($this->_propDict["mediaContentRatingAustralia"])) { + return $this->_propDict["mediaContentRatingAustralia"]; + } else { + $this->_propDict["mediaContentRatingAustralia"] = new MediaContentRatingAustralia($this->_propDict["mediaContentRatingAustralia"]); + return $this->_propDict["mediaContentRatingAustralia"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingAustralia + * Media content rating settings for Australia + * + * @param MediaContentRatingAustralia $val The mediaContentRatingAustralia + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingAustralia($val) + { + $this->_propDict["mediaContentRatingAustralia"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingCanada + * Media content rating settings for Canada + * + * @return MediaContentRatingCanada|null The mediaContentRatingCanada + */ + public function getMediaContentRatingCanada() + { + if (array_key_exists("mediaContentRatingCanada", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingCanada"], "\Beta\Microsoft\Graph\Model\MediaContentRatingCanada") || is_null($this->_propDict["mediaContentRatingCanada"])) { + return $this->_propDict["mediaContentRatingCanada"]; + } else { + $this->_propDict["mediaContentRatingCanada"] = new MediaContentRatingCanada($this->_propDict["mediaContentRatingCanada"]); + return $this->_propDict["mediaContentRatingCanada"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingCanada + * Media content rating settings for Canada + * + * @param MediaContentRatingCanada $val The mediaContentRatingCanada + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingCanada($val) + { + $this->_propDict["mediaContentRatingCanada"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingFrance + * Media content rating settings for France + * + * @return MediaContentRatingFrance|null The mediaContentRatingFrance + */ + public function getMediaContentRatingFrance() + { + if (array_key_exists("mediaContentRatingFrance", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingFrance"], "\Beta\Microsoft\Graph\Model\MediaContentRatingFrance") || is_null($this->_propDict["mediaContentRatingFrance"])) { + return $this->_propDict["mediaContentRatingFrance"]; + } else { + $this->_propDict["mediaContentRatingFrance"] = new MediaContentRatingFrance($this->_propDict["mediaContentRatingFrance"]); + return $this->_propDict["mediaContentRatingFrance"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingFrance + * Media content rating settings for France + * + * @param MediaContentRatingFrance $val The mediaContentRatingFrance + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingFrance($val) + { + $this->_propDict["mediaContentRatingFrance"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingGermany + * Media content rating settings for Germany + * + * @return MediaContentRatingGermany|null The mediaContentRatingGermany + */ + public function getMediaContentRatingGermany() + { + if (array_key_exists("mediaContentRatingGermany", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingGermany"], "\Beta\Microsoft\Graph\Model\MediaContentRatingGermany") || is_null($this->_propDict["mediaContentRatingGermany"])) { + return $this->_propDict["mediaContentRatingGermany"]; + } else { + $this->_propDict["mediaContentRatingGermany"] = new MediaContentRatingGermany($this->_propDict["mediaContentRatingGermany"]); + return $this->_propDict["mediaContentRatingGermany"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingGermany + * Media content rating settings for Germany + * + * @param MediaContentRatingGermany $val The mediaContentRatingGermany + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingGermany($val) + { + $this->_propDict["mediaContentRatingGermany"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingIreland + * Media content rating settings for Ireland + * + * @return MediaContentRatingIreland|null The mediaContentRatingIreland + */ + public function getMediaContentRatingIreland() + { + if (array_key_exists("mediaContentRatingIreland", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingIreland"], "\Beta\Microsoft\Graph\Model\MediaContentRatingIreland") || is_null($this->_propDict["mediaContentRatingIreland"])) { + return $this->_propDict["mediaContentRatingIreland"]; + } else { + $this->_propDict["mediaContentRatingIreland"] = new MediaContentRatingIreland($this->_propDict["mediaContentRatingIreland"]); + return $this->_propDict["mediaContentRatingIreland"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingIreland + * Media content rating settings for Ireland + * + * @param MediaContentRatingIreland $val The mediaContentRatingIreland + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingIreland($val) + { + $this->_propDict["mediaContentRatingIreland"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingJapan + * Media content rating settings for Japan + * + * @return MediaContentRatingJapan|null The mediaContentRatingJapan + */ + public function getMediaContentRatingJapan() + { + if (array_key_exists("mediaContentRatingJapan", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingJapan"], "\Beta\Microsoft\Graph\Model\MediaContentRatingJapan") || is_null($this->_propDict["mediaContentRatingJapan"])) { + return $this->_propDict["mediaContentRatingJapan"]; + } else { + $this->_propDict["mediaContentRatingJapan"] = new MediaContentRatingJapan($this->_propDict["mediaContentRatingJapan"]); + return $this->_propDict["mediaContentRatingJapan"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingJapan + * Media content rating settings for Japan + * + * @param MediaContentRatingJapan $val The mediaContentRatingJapan + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingJapan($val) + { + $this->_propDict["mediaContentRatingJapan"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingNewZealand + * Media content rating settings for New Zealand + * + * @return MediaContentRatingNewZealand|null The mediaContentRatingNewZealand + */ + public function getMediaContentRatingNewZealand() + { + if (array_key_exists("mediaContentRatingNewZealand", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingNewZealand"], "\Beta\Microsoft\Graph\Model\MediaContentRatingNewZealand") || is_null($this->_propDict["mediaContentRatingNewZealand"])) { + return $this->_propDict["mediaContentRatingNewZealand"]; + } else { + $this->_propDict["mediaContentRatingNewZealand"] = new MediaContentRatingNewZealand($this->_propDict["mediaContentRatingNewZealand"]); + return $this->_propDict["mediaContentRatingNewZealand"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingNewZealand + * Media content rating settings for New Zealand + * + * @param MediaContentRatingNewZealand $val The mediaContentRatingNewZealand + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingNewZealand($val) + { + $this->_propDict["mediaContentRatingNewZealand"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingUnitedKingdom + * Media content rating settings for United Kingdom + * + * @return MediaContentRatingUnitedKingdom|null The mediaContentRatingUnitedKingdom + */ + public function getMediaContentRatingUnitedKingdom() + { + if (array_key_exists("mediaContentRatingUnitedKingdom", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingUnitedKingdom"], "\Beta\Microsoft\Graph\Model\MediaContentRatingUnitedKingdom") || is_null($this->_propDict["mediaContentRatingUnitedKingdom"])) { + return $this->_propDict["mediaContentRatingUnitedKingdom"]; + } else { + $this->_propDict["mediaContentRatingUnitedKingdom"] = new MediaContentRatingUnitedKingdom($this->_propDict["mediaContentRatingUnitedKingdom"]); + return $this->_propDict["mediaContentRatingUnitedKingdom"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingUnitedKingdom + * Media content rating settings for United Kingdom + * + * @param MediaContentRatingUnitedKingdom $val The mediaContentRatingUnitedKingdom + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingUnitedKingdom($val) + { + $this->_propDict["mediaContentRatingUnitedKingdom"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingUnitedStates + * Media content rating settings for United States + * + * @return MediaContentRatingUnitedStates|null The mediaContentRatingUnitedStates + */ + public function getMediaContentRatingUnitedStates() + { + if (array_key_exists("mediaContentRatingUnitedStates", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingUnitedStates"], "\Beta\Microsoft\Graph\Model\MediaContentRatingUnitedStates") || is_null($this->_propDict["mediaContentRatingUnitedStates"])) { + return $this->_propDict["mediaContentRatingUnitedStates"]; + } else { + $this->_propDict["mediaContentRatingUnitedStates"] = new MediaContentRatingUnitedStates($this->_propDict["mediaContentRatingUnitedStates"]); + return $this->_propDict["mediaContentRatingUnitedStates"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingUnitedStates + * Media content rating settings for United States + * + * @param MediaContentRatingUnitedStates $val The mediaContentRatingUnitedStates + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingUnitedStates($val) + { + $this->_propDict["mediaContentRatingUnitedStates"] = $val; + return $this; + } + + /** + * Gets the messagesBlocked + * Indicates whether or not to block the user from using the Messages app on the supervised device. + * + * @return bool|null The messagesBlocked + */ + public function getMessagesBlocked() + { + if (array_key_exists("messagesBlocked", $this->_propDict)) { + return $this->_propDict["messagesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the messagesBlocked + * Indicates whether or not to block the user from using the Messages app on the supervised device. + * + * @param bool $val The messagesBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setMessagesBlocked($val) + { + $this->_propDict["messagesBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the networkUsageRules + * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. + * + * @return array|null The networkUsageRules + */ + public function getNetworkUsageRules() + { + if (array_key_exists("networkUsageRules", $this->_propDict)) { + return $this->_propDict["networkUsageRules"]; + } else { + return null; + } + } + + /** + * Sets the networkUsageRules + * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. + * + * @param IosNetworkUsageRule[] $val The networkUsageRules + * + * @return IosGeneralDeviceConfiguration + */ + public function setNetworkUsageRules($val) + { + $this->_propDict["networkUsageRules"] = $val; + return $this; + } + + /** + * Gets the nfcBlocked + * Disable NFC to prevent devices from pairing with other NFC-enabled devices. Available for iOS/iPadOS devices running 14.2 and later. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Disable NFC to prevent devices from pairing with other NFC-enabled devices. Available for iOS/iPadOS devices running 14.2 and later. + * + * @param bool $val The nfcBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the notificationsBlockSettingsModification + * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). + * + * @return bool|null The notificationsBlockSettingsModification + */ + public function getNotificationsBlockSettingsModification() + { + if (array_key_exists("notificationsBlockSettingsModification", $this->_propDict)) { + return $this->_propDict["notificationsBlockSettingsModification"]; + } else { + return null; + } + } + + /** + * Sets the notificationsBlockSettingsModification + * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). + * + * @param bool $val The notificationsBlockSettingsModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setNotificationsBlockSettingsModification($val) + { + $this->_propDict["notificationsBlockSettingsModification"] = boolval($val); + return $this; + } + + /** + * Gets the onDeviceOnlyDictationForced + * Disables connections to Siri servers so that users can’t use Siri to dictate text. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @return bool|null The onDeviceOnlyDictationForced + */ + public function getOnDeviceOnlyDictationForced() + { + if (array_key_exists("onDeviceOnlyDictationForced", $this->_propDict)) { + return $this->_propDict["onDeviceOnlyDictationForced"]; + } else { + return null; + } + } + + /** + * Sets the onDeviceOnlyDictationForced + * Disables connections to Siri servers so that users can’t use Siri to dictate text. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @param bool $val The onDeviceOnlyDictationForced + * + * @return IosGeneralDeviceConfiguration + */ + public function setOnDeviceOnlyDictationForced($val) + { + $this->_propDict["onDeviceOnlyDictationForced"] = boolval($val); + return $this; + } + + /** + * Gets the onDeviceOnlyTranslationForced + * When set to TRUE, the setting disables connections to Siri servers so that users can’t use Siri to translate text. When set to FALSE, the setting allows connections to to Siri servers to users can use Siri to translate text. Available for devices running iOS and iPadOS versions 15.0 and later. + * + * @return bool|null The onDeviceOnlyTranslationForced + */ + public function getOnDeviceOnlyTranslationForced() + { + if (array_key_exists("onDeviceOnlyTranslationForced", $this->_propDict)) { + return $this->_propDict["onDeviceOnlyTranslationForced"]; + } else { + return null; + } + } + + /** + * Sets the onDeviceOnlyTranslationForced + * When set to TRUE, the setting disables connections to Siri servers so that users can’t use Siri to translate text. When set to FALSE, the setting allows connections to to Siri servers to users can use Siri to translate text. Available for devices running iOS and iPadOS versions 15.0 and later. + * + * @param bool $val The onDeviceOnlyTranslationForced + * + * @return IosGeneralDeviceConfiguration + */ + public function setOnDeviceOnlyTranslationForced($val) + { + $this->_propDict["onDeviceOnlyTranslationForced"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockFingerprintModification + * Block modification of registered Touch ID fingerprints when in supervised mode. + * + * @return bool|null The passcodeBlockFingerprintModification + */ + public function getPasscodeBlockFingerprintModification() + { + if (array_key_exists("passcodeBlockFingerprintModification", $this->_propDict)) { + return $this->_propDict["passcodeBlockFingerprintModification"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockFingerprintModification + * Block modification of registered Touch ID fingerprints when in supervised mode. + * + * @param bool $val The passcodeBlockFingerprintModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockFingerprintModification($val) + { + $this->_propDict["passcodeBlockFingerprintModification"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passcodeBlockFingerprintUnlock + */ + public function getPasscodeBlockFingerprintUnlock() + { + if (array_key_exists("passcodeBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passcodeBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passcodeBlockFingerprintUnlock + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockFingerprintUnlock($val) + { + $this->_propDict["passcodeBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockModification + * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). + * + * @return bool|null The passcodeBlockModification + */ + public function getPasscodeBlockModification() + { + if (array_key_exists("passcodeBlockModification", $this->_propDict)) { + return $this->_propDict["passcodeBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockModification + * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). + * + * @param bool $val The passcodeBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockModification($val) + { + $this->_propDict["passcodeBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @return bool|null The passcodeBlockSimple + */ + public function getPasscodeBlockSimple() + { + if (array_key_exists("passcodeBlockSimple", $this->_propDict)) { + return $this->_propDict["passcodeBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @param bool $val The passcodeBlockSimple + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockSimple($val) + { + $this->_propDict["passcodeBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @return int|null The passcodeExpirationDays + */ + public function getPasscodeExpirationDays() + { + if (array_key_exists("passcodeExpirationDays", $this->_propDict)) { + return $this->_propDict["passcodeExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @param int $val The passcodeExpirationDays + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeExpirationDays($val) + { + $this->_propDict["passcodeExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumCharacterSetCount + * Number of character sets a passcode must contain. Valid values 0 to 4 + * + * @return int|null The passcodeMinimumCharacterSetCount + */ + public function getPasscodeMinimumCharacterSetCount() + { + if (array_key_exists("passcodeMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passcodeMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumCharacterSetCount + * Number of character sets a passcode must contain. Valid values 0 to 4 + * + * @param int $val The passcodeMinimumCharacterSetCount + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinimumCharacterSetCount($val) + { + $this->_propDict["passcodeMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @return int|null The passcodeMinimumLength + */ + public function getPasscodeMinimumLength() + { + if (array_key_exists("passcodeMinimumLength", $this->_propDict)) { + return $this->_propDict["passcodeMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @param int $val The passcodeMinimumLength + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinimumLength($val) + { + $this->_propDict["passcodeMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @return int|null The passcodeMinutesOfInactivityBeforeLock + */ + public function getPasscodeMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @param int $val The passcodeMinutesOfInactivityBeforeLock + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passcodeMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasscodeMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passcodeMinutesOfInactivityBeforeScreenTimeout + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @return int|null The passcodePreviousPasscodeBlockCount + */ + public function getPasscodePreviousPasscodeBlockCount() + { + if (array_key_exists("passcodePreviousPasscodeBlockCount", $this->_propDict)) { + return $this->_propDict["passcodePreviousPasscodeBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @param int $val The passcodePreviousPasscodeBlockCount + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodePreviousPasscodeBlockCount($val) + { + $this->_propDict["passcodePreviousPasscodeBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @return bool|null The passcodeRequired + */ + public function getPasscodeRequired() + { + if (array_key_exists("passcodeRequired", $this->_propDict)) { + return $this->_propDict["passcodeRequired"]; + } else { + return null; + } + } + + /** + * Sets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @param bool $val The passcodeRequired + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeRequired($val) + { + $this->_propDict["passcodeRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeRequiredType + * Type of passcode that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passcodeRequiredType + */ + public function getPasscodeRequiredType() + { + if (array_key_exists("passcodeRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passcodeRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passcodeRequiredType"])) { + return $this->_propDict["passcodeRequiredType"]; + } else { + $this->_propDict["passcodeRequiredType"] = new RequiredPasswordType($this->_propDict["passcodeRequiredType"]); + return $this->_propDict["passcodeRequiredType"]; + } + } + return null; + } + + /** + * Sets the passcodeRequiredType + * Type of passcode that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passcodeRequiredType + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeRequiredType($val) + { + $this->_propDict["passcodeRequiredType"] = $val; + return $this; + } + + /** + * Gets the passcodeSignInFailureCountBeforeWipe + * Number of sign in failures allowed before wiping the device. Valid values 2 to 11 + * + * @return int|null The passcodeSignInFailureCountBeforeWipe + */ + public function getPasscodeSignInFailureCountBeforeWipe() + { + if (array_key_exists("passcodeSignInFailureCountBeforeWipe", $this->_propDict)) { + return $this->_propDict["passcodeSignInFailureCountBeforeWipe"]; + } else { + return null; + } + } + + /** + * Sets the passcodeSignInFailureCountBeforeWipe + * Number of sign in failures allowed before wiping the device. Valid values 2 to 11 + * + * @param int $val The passcodeSignInFailureCountBeforeWipe + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeSignInFailureCountBeforeWipe($val) + { + $this->_propDict["passcodeSignInFailureCountBeforeWipe"] = intval($val); + return $this; + } + + /** + * Gets the passwordBlockAirDropSharing + * Indicates whether or not to block sharing passwords with the AirDrop passwords feature iOS 12.0 and later). + * + * @return bool|null The passwordBlockAirDropSharing + */ + public function getPasswordBlockAirDropSharing() + { + if (array_key_exists("passwordBlockAirDropSharing", $this->_propDict)) { + return $this->_propDict["passwordBlockAirDropSharing"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockAirDropSharing + * Indicates whether or not to block sharing passwords with the AirDrop passwords feature iOS 12.0 and later). + * + * @param bool $val The passwordBlockAirDropSharing + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasswordBlockAirDropSharing($val) + { + $this->_propDict["passwordBlockAirDropSharing"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockAutoFill + * Indicates if the AutoFill passwords feature is allowed (iOS 12.0 and later). + * + * @return bool|null The passwordBlockAutoFill + */ + public function getPasswordBlockAutoFill() + { + if (array_key_exists("passwordBlockAutoFill", $this->_propDict)) { + return $this->_propDict["passwordBlockAutoFill"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockAutoFill + * Indicates if the AutoFill passwords feature is allowed (iOS 12.0 and later). + * + * @param bool $val The passwordBlockAutoFill + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasswordBlockAutoFill($val) + { + $this->_propDict["passwordBlockAutoFill"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockProximityRequests + * Indicates whether or not to block requesting passwords from nearby devices (iOS 12.0 and later). + * + * @return bool|null The passwordBlockProximityRequests + */ + public function getPasswordBlockProximityRequests() + { + if (array_key_exists("passwordBlockProximityRequests", $this->_propDict)) { + return $this->_propDict["passwordBlockProximityRequests"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockProximityRequests + * Indicates whether or not to block requesting passwords from nearby devices (iOS 12.0 and later). + * + * @param bool $val The passwordBlockProximityRequests + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasswordBlockProximityRequests($val) + { + $this->_propDict["passwordBlockProximityRequests"] = boolval($val); + return $this; + } + + /** + * Gets the pkiBlockOTAUpdates + * Indicates whether or not over-the-air PKI updates are blocked. Setting this restriction to false does not disable CRL and OCSP checks (iOS 7.0 and later). + * + * @return bool|null The pkiBlockOTAUpdates + */ + public function getPkiBlockOTAUpdates() + { + if (array_key_exists("pkiBlockOTAUpdates", $this->_propDict)) { + return $this->_propDict["pkiBlockOTAUpdates"]; + } else { + return null; + } + } + + /** + * Sets the pkiBlockOTAUpdates + * Indicates whether or not over-the-air PKI updates are blocked. Setting this restriction to false does not disable CRL and OCSP checks (iOS 7.0 and later). + * + * @param bool $val The pkiBlockOTAUpdates + * + * @return IosGeneralDeviceConfiguration + */ + public function setPkiBlockOTAUpdates($val) + { + $this->_propDict["pkiBlockOTAUpdates"] = boolval($val); + return $this; + } + + /** + * Gets the podcastsBlocked + * Indicates whether or not to block the user from using podcasts on the supervised device (iOS 8.0 and later). + * + * @return bool|null The podcastsBlocked + */ + public function getPodcastsBlocked() + { + if (array_key_exists("podcastsBlocked", $this->_propDict)) { + return $this->_propDict["podcastsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the podcastsBlocked + * Indicates whether or not to block the user from using podcasts on the supervised device (iOS 8.0 and later). + * + * @param bool $val The podcastsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setPodcastsBlocked($val) + { + $this->_propDict["podcastsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the privacyForceLimitAdTracking + * Indicates if ad tracking is limited.(iOS 7.0 and later). + * + * @return bool|null The privacyForceLimitAdTracking + */ + public function getPrivacyForceLimitAdTracking() + { + if (array_key_exists("privacyForceLimitAdTracking", $this->_propDict)) { + return $this->_propDict["privacyForceLimitAdTracking"]; + } else { + return null; + } + } + + /** + * Sets the privacyForceLimitAdTracking + * Indicates if ad tracking is limited.(iOS 7.0 and later). + * + * @param bool $val The privacyForceLimitAdTracking + * + * @return IosGeneralDeviceConfiguration + */ + public function setPrivacyForceLimitAdTracking($val) + { + $this->_propDict["privacyForceLimitAdTracking"] = boolval($val); + return $this; + } + + /** + * Gets the proximityBlockSetupToNewDevice + * Indicates whether or not to enable the prompt to setup nearby devices with a supervised device. + * + * @return bool|null The proximityBlockSetupToNewDevice + */ + public function getProximityBlockSetupToNewDevice() + { + if (array_key_exists("proximityBlockSetupToNewDevice", $this->_propDict)) { + return $this->_propDict["proximityBlockSetupToNewDevice"]; + } else { + return null; + } + } + + /** + * Sets the proximityBlockSetupToNewDevice + * Indicates whether or not to enable the prompt to setup nearby devices with a supervised device. + * + * @param bool $val The proximityBlockSetupToNewDevice + * + * @return IosGeneralDeviceConfiguration + */ + public function setProximityBlockSetupToNewDevice($val) + { + $this->_propDict["proximityBlockSetupToNewDevice"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlockAutofill + * Indicates whether or not to block the user from using Auto fill in Safari. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The safariBlockAutofill + */ + public function getSafariBlockAutofill() + { + if (array_key_exists("safariBlockAutofill", $this->_propDict)) { + return $this->_propDict["safariBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockAutofill + * Indicates whether or not to block the user from using Auto fill in Safari. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The safariBlockAutofill + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlockAutofill($val) + { + $this->_propDict["safariBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlocked + * Indicates whether or not to block the user from using Safari. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The safariBlocked + */ + public function getSafariBlocked() + { + if (array_key_exists("safariBlocked", $this->_propDict)) { + return $this->_propDict["safariBlocked"]; + } else { + return null; + } + } + + /** + * Sets the safariBlocked + * Indicates whether or not to block the user from using Safari. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The safariBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlocked($val) + { + $this->_propDict["safariBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlockJavaScript + * Indicates whether or not to block JavaScript in Safari. + * + * @return bool|null The safariBlockJavaScript + */ + public function getSafariBlockJavaScript() + { + if (array_key_exists("safariBlockJavaScript", $this->_propDict)) { + return $this->_propDict["safariBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockJavaScript + * Indicates whether or not to block JavaScript in Safari. + * + * @param bool $val The safariBlockJavaScript + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlockJavaScript($val) + { + $this->_propDict["safariBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlockPopups + * Indicates whether or not to block popups in Safari. + * + * @return bool|null The safariBlockPopups + */ + public function getSafariBlockPopups() + { + if (array_key_exists("safariBlockPopups", $this->_propDict)) { + return $this->_propDict["safariBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockPopups + * Indicates whether or not to block popups in Safari. + * + * @param bool $val The safariBlockPopups + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlockPopups($val) + { + $this->_propDict["safariBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the safariCookieSettings + * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @return WebBrowserCookieSettings|null The safariCookieSettings + */ + public function getSafariCookieSettings() + { + if (array_key_exists("safariCookieSettings", $this->_propDict)) { + if (is_a($this->_propDict["safariCookieSettings"], "\Beta\Microsoft\Graph\Model\WebBrowserCookieSettings") || is_null($this->_propDict["safariCookieSettings"])) { + return $this->_propDict["safariCookieSettings"]; + } else { + $this->_propDict["safariCookieSettings"] = new WebBrowserCookieSettings($this->_propDict["safariCookieSettings"]); + return $this->_propDict["safariCookieSettings"]; + } + } + return null; + } + + /** + * Sets the safariCookieSettings + * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @param WebBrowserCookieSettings $val The safariCookieSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariCookieSettings($val) + { + $this->_propDict["safariCookieSettings"] = $val; + return $this; + } + + /** + * Gets the safariManagedDomains + * URLs matching the patterns listed here will be considered managed. + * + * @return string|null The safariManagedDomains + */ + public function getSafariManagedDomains() + { + if (array_key_exists("safariManagedDomains", $this->_propDict)) { + return $this->_propDict["safariManagedDomains"]; + } else { + return null; + } + } + + /** + * Sets the safariManagedDomains + * URLs matching the patterns listed here will be considered managed. + * + * @param string $val The safariManagedDomains + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariManagedDomains($val) + { + $this->_propDict["safariManagedDomains"] = $val; + return $this; + } + + /** + * Gets the safariPasswordAutoFillDomains + * Users can save passwords in Safari only from URLs matching the patterns listed here. Applies to devices in supervised mode (iOS 9.3 and later). + * + * @return string|null The safariPasswordAutoFillDomains + */ + public function getSafariPasswordAutoFillDomains() + { + if (array_key_exists("safariPasswordAutoFillDomains", $this->_propDict)) { + return $this->_propDict["safariPasswordAutoFillDomains"]; + } else { + return null; + } + } + + /** + * Sets the safariPasswordAutoFillDomains + * Users can save passwords in Safari only from URLs matching the patterns listed here. Applies to devices in supervised mode (iOS 9.3 and later). + * + * @param string $val The safariPasswordAutoFillDomains + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariPasswordAutoFillDomains($val) + { + $this->_propDict["safariPasswordAutoFillDomains"] = $val; + return $this; + } + + /** + * Gets the safariRequireFraudWarning + * Indicates whether or not to require fraud warning in Safari. + * + * @return bool|null The safariRequireFraudWarning + */ + public function getSafariRequireFraudWarning() + { + if (array_key_exists("safariRequireFraudWarning", $this->_propDict)) { + return $this->_propDict["safariRequireFraudWarning"]; + } else { + return null; + } + } + + /** + * Sets the safariRequireFraudWarning + * Indicates whether or not to require fraud warning in Safari. + * + * @param bool $val The safariRequireFraudWarning + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariRequireFraudWarning($val) + { + $this->_propDict["safariRequireFraudWarning"] = boolval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block the user from taking Screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block the user from taking Screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the sharedDeviceBlockTemporarySessions + * Indicates whether or not to block temporary sessions on Shared iPads (iOS 13.4 or later). + * + * @return bool|null The sharedDeviceBlockTemporarySessions + */ + public function getSharedDeviceBlockTemporarySessions() + { + if (array_key_exists("sharedDeviceBlockTemporarySessions", $this->_propDict)) { + return $this->_propDict["sharedDeviceBlockTemporarySessions"]; + } else { + return null; + } + } + + /** + * Sets the sharedDeviceBlockTemporarySessions + * Indicates whether or not to block temporary sessions on Shared iPads (iOS 13.4 or later). + * + * @param bool $val The sharedDeviceBlockTemporarySessions + * + * @return IosGeneralDeviceConfiguration + */ + public function setSharedDeviceBlockTemporarySessions($val) + { + $this->_propDict["sharedDeviceBlockTemporarySessions"] = boolval($val); + return $this; + } + + /** + * Gets the siriBlocked + * Indicates whether or not to block the user from using Siri. + * + * @return bool|null The siriBlocked + */ + public function getSiriBlocked() + { + if (array_key_exists("siriBlocked", $this->_propDict)) { + return $this->_propDict["siriBlocked"]; + } else { + return null; + } + } + + /** + * Sets the siriBlocked + * Indicates whether or not to block the user from using Siri. + * + * @param bool $val The siriBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriBlocked($val) + { + $this->_propDict["siriBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the siriBlockedWhenLocked + * Indicates whether or not to block the user from using Siri when locked. + * + * @return bool|null The siriBlockedWhenLocked + */ + public function getSiriBlockedWhenLocked() + { + if (array_key_exists("siriBlockedWhenLocked", $this->_propDict)) { + return $this->_propDict["siriBlockedWhenLocked"]; + } else { + return null; + } + } + + /** + * Sets the siriBlockedWhenLocked + * Indicates whether or not to block the user from using Siri when locked. + * + * @param bool $val The siriBlockedWhenLocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriBlockedWhenLocked($val) + { + $this->_propDict["siriBlockedWhenLocked"] = boolval($val); + return $this; + } + + /** + * Gets the siriBlockUserGeneratedContent + * Indicates whether or not to block Siri from querying user-generated content when used on a supervised device. + * + * @return bool|null The siriBlockUserGeneratedContent + */ + public function getSiriBlockUserGeneratedContent() + { + if (array_key_exists("siriBlockUserGeneratedContent", $this->_propDict)) { + return $this->_propDict["siriBlockUserGeneratedContent"]; + } else { + return null; + } + } + + /** + * Sets the siriBlockUserGeneratedContent + * Indicates whether or not to block Siri from querying user-generated content when used on a supervised device. + * + * @param bool $val The siriBlockUserGeneratedContent + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriBlockUserGeneratedContent($val) + { + $this->_propDict["siriBlockUserGeneratedContent"] = boolval($val); + return $this; + } + + /** + * Gets the siriRequireProfanityFilter + * Indicates whether or not to prevent Siri from dictating, or speaking profane language on supervised device. + * + * @return bool|null The siriRequireProfanityFilter + */ + public function getSiriRequireProfanityFilter() + { + if (array_key_exists("siriRequireProfanityFilter", $this->_propDict)) { + return $this->_propDict["siriRequireProfanityFilter"]; + } else { + return null; + } + } + + /** + * Sets the siriRequireProfanityFilter + * Indicates whether or not to prevent Siri from dictating, or speaking profane language on supervised device. + * + * @param bool $val The siriRequireProfanityFilter + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriRequireProfanityFilter($val) + { + $this->_propDict["siriRequireProfanityFilter"] = boolval($val); + return $this; + } + + /** + * Gets the softwareUpdatesEnforcedDelayInDays + * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 + * + * @return int|null The softwareUpdatesEnforcedDelayInDays + */ + public function getSoftwareUpdatesEnforcedDelayInDays() + { + if (array_key_exists("softwareUpdatesEnforcedDelayInDays", $this->_propDict)) { + return $this->_propDict["softwareUpdatesEnforcedDelayInDays"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdatesEnforcedDelayInDays + * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 + * + * @param int $val The softwareUpdatesEnforcedDelayInDays + * + * @return IosGeneralDeviceConfiguration + */ + public function setSoftwareUpdatesEnforcedDelayInDays($val) + { + $this->_propDict["softwareUpdatesEnforcedDelayInDays"] = intval($val); + return $this; + } + + /** + * Gets the softwareUpdatesForceDelayed + * Indicates whether or not to delay user visibility of software updates when the device is in supervised mode. + * + * @return bool|null The softwareUpdatesForceDelayed + */ + public function getSoftwareUpdatesForceDelayed() + { + if (array_key_exists("softwareUpdatesForceDelayed", $this->_propDict)) { + return $this->_propDict["softwareUpdatesForceDelayed"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdatesForceDelayed + * Indicates whether or not to delay user visibility of software updates when the device is in supervised mode. + * + * @param bool $val The softwareUpdatesForceDelayed + * + * @return IosGeneralDeviceConfiguration + */ + public function setSoftwareUpdatesForceDelayed($val) + { + $this->_propDict["softwareUpdatesForceDelayed"] = boolval($val); + return $this; + } + + /** + * Gets the spotlightBlockInternetResults + * Indicates whether or not to block Spotlight search from returning internet results on supervised device. + * + * @return bool|null The spotlightBlockInternetResults + */ + public function getSpotlightBlockInternetResults() + { + if (array_key_exists("spotlightBlockInternetResults", $this->_propDict)) { + return $this->_propDict["spotlightBlockInternetResults"]; + } else { + return null; + } + } + + /** + * Sets the spotlightBlockInternetResults + * Indicates whether or not to block Spotlight search from returning internet results on supervised device. + * + * @param bool $val The spotlightBlockInternetResults + * + * @return IosGeneralDeviceConfiguration + */ + public function setSpotlightBlockInternetResults($val) + { + $this->_propDict["spotlightBlockInternetResults"] = boolval($val); + return $this; + } + + /** + * Gets the unpairedExternalBootToRecoveryAllowed + * Allow users to boot devices into recovery mode with unpaired devices. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @return bool|null The unpairedExternalBootToRecoveryAllowed + */ + public function getUnpairedExternalBootToRecoveryAllowed() + { + if (array_key_exists("unpairedExternalBootToRecoveryAllowed", $this->_propDict)) { + return $this->_propDict["unpairedExternalBootToRecoveryAllowed"]; + } else { + return null; + } + } + + /** + * Sets the unpairedExternalBootToRecoveryAllowed + * Allow users to boot devices into recovery mode with unpaired devices. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @param bool $val The unpairedExternalBootToRecoveryAllowed + * + * @return IosGeneralDeviceConfiguration + */ + public function setUnpairedExternalBootToRecoveryAllowed($val) + { + $this->_propDict["unpairedExternalBootToRecoveryAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the usbRestrictedModeBlocked + * Indicates if connecting to USB accessories while the device is locked is allowed (iOS 11.4.1 and later). + * + * @return bool|null The usbRestrictedModeBlocked + */ + public function getUsbRestrictedModeBlocked() + { + if (array_key_exists("usbRestrictedModeBlocked", $this->_propDict)) { + return $this->_propDict["usbRestrictedModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the usbRestrictedModeBlocked + * Indicates if connecting to USB accessories while the device is locked is allowed (iOS 11.4.1 and later). + * + * @param bool $val The usbRestrictedModeBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setUsbRestrictedModeBlocked($val) + { + $this->_propDict["usbRestrictedModeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @return bool|null The voiceDialingBlocked + */ + public function getVoiceDialingBlocked() + { + if (array_key_exists("voiceDialingBlocked", $this->_propDict)) { + return $this->_propDict["voiceDialingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @param bool $val The voiceDialingBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setVoiceDialingBlocked($val) + { + $this->_propDict["voiceDialingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the vpnBlockCreation + * Indicates whether or not the creation of VPN configurations is blocked (iOS 11.0 and later). + * + * @return bool|null The vpnBlockCreation + */ + public function getVpnBlockCreation() + { + if (array_key_exists("vpnBlockCreation", $this->_propDict)) { + return $this->_propDict["vpnBlockCreation"]; + } else { + return null; + } + } + + /** + * Sets the vpnBlockCreation + * Indicates whether or not the creation of VPN configurations is blocked (iOS 11.0 and later). + * + * @param bool $val The vpnBlockCreation + * + * @return IosGeneralDeviceConfiguration + */ + public function setVpnBlockCreation($val) + { + $this->_propDict["vpnBlockCreation"] = boolval($val); + return $this; + } + + /** + * Gets the wallpaperBlockModification + * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . + * + * @return bool|null The wallpaperBlockModification + */ + public function getWallpaperBlockModification() + { + if (array_key_exists("wallpaperBlockModification", $this->_propDict)) { + return $this->_propDict["wallpaperBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the wallpaperBlockModification + * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . + * + * @param bool $val The wallpaperBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setWallpaperBlockModification($val) + { + $this->_propDict["wallpaperBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiConnectOnlyToConfiguredNetworks + * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. Available for devices running iOS and iPadOS versions 14.4 and earlier. Devices running 14.5+ should use the setting, 'WiFiConnectToAllowedNetworksOnlyForced. + * + * @return bool|null The wiFiConnectOnlyToConfiguredNetworks + */ + public function getWiFiConnectOnlyToConfiguredNetworks() + { + if (array_key_exists("wiFiConnectOnlyToConfiguredNetworks", $this->_propDict)) { + return $this->_propDict["wiFiConnectOnlyToConfiguredNetworks"]; + } else { + return null; + } + } + + /** + * Sets the wiFiConnectOnlyToConfiguredNetworks + * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. Available for devices running iOS and iPadOS versions 14.4 and earlier. Devices running 14.5+ should use the setting, 'WiFiConnectToAllowedNetworksOnlyForced. + * + * @param bool $val The wiFiConnectOnlyToConfiguredNetworks + * + * @return IosGeneralDeviceConfiguration + */ + public function setWiFiConnectOnlyToConfiguredNetworks($val) + { + $this->_propDict["wiFiConnectOnlyToConfiguredNetworks"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiConnectToAllowedNetworksOnlyForced + * Require devices to use Wi-Fi networks set up via configuration profiles. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @return bool|null The wiFiConnectToAllowedNetworksOnlyForced + */ + public function getWiFiConnectToAllowedNetworksOnlyForced() + { + if (array_key_exists("wiFiConnectToAllowedNetworksOnlyForced", $this->_propDict)) { + return $this->_propDict["wiFiConnectToAllowedNetworksOnlyForced"]; + } else { + return null; + } + } + + /** + * Sets the wiFiConnectToAllowedNetworksOnlyForced + * Require devices to use Wi-Fi networks set up via configuration profiles. Available for devices running iOS and iPadOS versions 14.5 and later. + * + * @param bool $val The wiFiConnectToAllowedNetworksOnlyForced + * + * @return IosGeneralDeviceConfiguration + */ + public function setWiFiConnectToAllowedNetworksOnlyForced($val) + { + $this->_propDict["wiFiConnectToAllowedNetworksOnlyForced"] = boolval($val); + return $this; + } + + /** + * Gets the wifiPowerOnForced + * Indicates whether or not Wi-Fi remains on, even when device is in airplane mode. Available for devices running iOS and iPadOS, versions 13.0 and later. + * + * @return bool|null The wifiPowerOnForced + */ + public function getWifiPowerOnForced() + { + if (array_key_exists("wifiPowerOnForced", $this->_propDict)) { + return $this->_propDict["wifiPowerOnForced"]; + } else { + return null; + } + } + + /** + * Sets the wifiPowerOnForced + * Indicates whether or not Wi-Fi remains on, even when device is in airplane mode. Available for devices running iOS and iPadOS, versions 13.0 and later. + * + * @param bool $val The wifiPowerOnForced + * + * @return IosGeneralDeviceConfiguration + */ + public function setWifiPowerOnForced($val) + { + $this->_propDict["wifiPowerOnForced"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenApp.php new file mode 100644 index 0000000..6df0696 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenApp.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.iosHomeScreenApp"); + } + + /** + * Gets the bundleID + * BundleID of the app if isWebClip is false or the URL of a web clip if isWebClip is true. + * + * @return string|null The bundleID + */ + public function getBundleID() + { + if (array_key_exists("bundleID", $this->_propDict)) { + return $this->_propDict["bundleID"]; + } else { + return null; + } + } + + /** + * Sets the bundleID + * BundleID of the app if isWebClip is false or the URL of a web clip if isWebClip is true. + * + * @param string $val The value of the bundleID + * + * @return IosHomeScreenApp + */ + public function setBundleID($val) + { + $this->_propDict["bundleID"] = $val; + return $this; + } + /** + * Gets the isWebClip + * When true, the bundle ID will be handled as a URL for a web clip. + * + * @return bool|null The isWebClip + */ + public function getIsWebClip() + { + if (array_key_exists("isWebClip", $this->_propDict)) { + return $this->_propDict["isWebClip"]; + } else { + return null; + } + } + + /** + * Sets the isWebClip + * When true, the bundle ID will be handled as a URL for a web clip. + * + * @param bool $val The value of the isWebClip + * + * @return IosHomeScreenApp + */ + public function setIsWebClip($val) + { + $this->_propDict["isWebClip"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolder.php new file mode 100644 index 0000000..6b321bb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolder.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.iosHomeScreenFolder"); + } + + + /** + * Gets the pages + * Pages of Home Screen Layout Icons which must be applications or web clips. This collection can contain a maximum of 500 elements. + * + * @return IosHomeScreenFolderPage|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + if (is_a($this->_propDict["pages"], "\Beta\Microsoft\Graph\Model\IosHomeScreenFolderPage") || is_null($this->_propDict["pages"])) { + return $this->_propDict["pages"]; + } else { + $this->_propDict["pages"] = new IosHomeScreenFolderPage($this->_propDict["pages"]); + return $this->_propDict["pages"]; + } + } + return null; + } + + /** + * Sets the pages + * Pages of Home Screen Layout Icons which must be applications or web clips. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenFolderPage $val The value to assign to the pages + * + * @return IosHomeScreenFolder The IosHomeScreenFolder + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolderPage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolderPage.php new file mode 100644 index 0000000..b64ceb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolderPage.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["apps"], "\Beta\Microsoft\Graph\Model\IosHomeScreenApp") || is_null($this->_propDict["apps"])) { + return $this->_propDict["apps"]; + } else { + $this->_propDict["apps"] = new IosHomeScreenApp($this->_propDict["apps"]); + return $this->_propDict["apps"]; + } + } + return null; + } + + /** + * Sets the apps + * A list of apps and web clips to appear on a page within a folder. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenApp $val The value to assign to the apps + * + * @return IosHomeScreenFolderPage The IosHomeScreenFolderPage + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the folder page + * + * @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 + * Name of the folder page + * + * @param string $val The value of the displayName + * + * @return IosHomeScreenFolderPage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenItem.php new file mode 100644 index 0000000..dbb3e27 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the app + * + * @param string $val The value of the displayName + * + * @return IosHomeScreenItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenPage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenPage.php new file mode 100644 index 0000000..ab8847c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenPage.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the page + * + * @param string $val The value of the displayName + * + * @return IosHomeScreenPage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the icons + * A list of apps, folders, and web clips to appear on a page. This collection can contain a maximum of 500 elements. + * + * @return IosHomeScreenItem|null The icons + */ + public function getIcons() + { + if (array_key_exists("icons", $this->_propDict)) { + if (is_a($this->_propDict["icons"], "\Beta\Microsoft\Graph\Model\IosHomeScreenItem") || is_null($this->_propDict["icons"])) { + return $this->_propDict["icons"]; + } else { + $this->_propDict["icons"] = new IosHomeScreenItem($this->_propDict["icons"]); + return $this->_propDict["icons"]; + } + } + return null; + } + + /** + * Sets the icons + * A list of apps, folders, and web clips to appear on a page. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenItem $val The value to assign to the icons + * + * @return IosHomeScreenPage The IosHomeScreenPage + */ + public function setIcons($val) + { + $this->_propDict["icons"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosImportedPFXCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosImportedPFXCertificateProfile.php new file mode 100644 index 0000000..a1acf7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosImportedPFXCertificateProfile.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return IosImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return IosImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKerberosSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKerberosSingleSignOnExtension.php new file mode 100644 index 0000000..a426770 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKerberosSingleSignOnExtension.php @@ -0,0 +1,681 @@ +setODataType("#microsoft.graph.iosKerberosSingleSignOnExtension"); + } + + /** + * Gets the activeDirectorySiteCode + * Gets or sets the Active Directory site. + * + * @return string|null The activeDirectorySiteCode + */ + public function getActiveDirectorySiteCode() + { + if (array_key_exists("activeDirectorySiteCode", $this->_propDict)) { + return $this->_propDict["activeDirectorySiteCode"]; + } else { + return null; + } + } + + /** + * Sets the activeDirectorySiteCode + * Gets or sets the Active Directory site. + * + * @param string $val The value of the activeDirectorySiteCode + * + * @return IosKerberosSingleSignOnExtension + */ + public function setActiveDirectorySiteCode($val) + { + $this->_propDict["activeDirectorySiteCode"] = $val; + return $this; + } + /** + * Gets the blockActiveDirectorySiteAutoDiscovery + * Enables or disables whether the Kerberos extension can automatically determine its site name. + * + * @return bool|null The blockActiveDirectorySiteAutoDiscovery + */ + public function getBlockActiveDirectorySiteAutoDiscovery() + { + if (array_key_exists("blockActiveDirectorySiteAutoDiscovery", $this->_propDict)) { + return $this->_propDict["blockActiveDirectorySiteAutoDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the blockActiveDirectorySiteAutoDiscovery + * Enables or disables whether the Kerberos extension can automatically determine its site name. + * + * @param bool $val The value of the blockActiveDirectorySiteAutoDiscovery + * + * @return IosKerberosSingleSignOnExtension + */ + public function setBlockActiveDirectorySiteAutoDiscovery($val) + { + $this->_propDict["blockActiveDirectorySiteAutoDiscovery"] = $val; + return $this; + } + /** + * Gets the blockAutomaticLogin + * Enables or disables Keychain usage. + * + * @return bool|null The blockAutomaticLogin + */ + public function getBlockAutomaticLogin() + { + if (array_key_exists("blockAutomaticLogin", $this->_propDict)) { + return $this->_propDict["blockAutomaticLogin"]; + } else { + return null; + } + } + + /** + * Sets the blockAutomaticLogin + * Enables or disables Keychain usage. + * + * @param bool $val The value of the blockAutomaticLogin + * + * @return IosKerberosSingleSignOnExtension + */ + public function setBlockAutomaticLogin($val) + { + $this->_propDict["blockAutomaticLogin"] = $val; + return $this; + } + /** + * Gets the cacheName + * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile. + * + * @return string|null The cacheName + */ + public function getCacheName() + { + if (array_key_exists("cacheName", $this->_propDict)) { + return $this->_propDict["cacheName"]; + } else { + return null; + } + } + + /** + * Sets the cacheName + * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile. + * + * @param string $val The value of the cacheName + * + * @return IosKerberosSingleSignOnExtension + */ + public function setCacheName($val) + { + $this->_propDict["cacheName"] = $val; + return $this; + } + /** + * Gets the credentialBundleIdAccessControlList + * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket. + * + * @return string|null The credentialBundleIdAccessControlList + */ + public function getCredentialBundleIdAccessControlList() + { + if (array_key_exists("credentialBundleIdAccessControlList", $this->_propDict)) { + return $this->_propDict["credentialBundleIdAccessControlList"]; + } else { + return null; + } + } + + /** + * Sets the credentialBundleIdAccessControlList + * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket. + * + * @param string $val The value of the credentialBundleIdAccessControlList + * + * @return IosKerberosSingleSignOnExtension + */ + public function setCredentialBundleIdAccessControlList($val) + { + $this->_propDict["credentialBundleIdAccessControlList"] = $val; + return $this; + } + /** + * Gets the domainRealms + * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. + * + * @return string|null The domainRealms + */ + public function getDomainRealms() + { + if (array_key_exists("domainRealms", $this->_propDict)) { + return $this->_propDict["domainRealms"]; + } else { + return null; + } + } + + /** + * Sets the domainRealms + * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. + * + * @param string $val The value of the domainRealms + * + * @return IosKerberosSingleSignOnExtension + */ + public function setDomainRealms($val) + { + $this->_propDict["domainRealms"] = $val; + return $this; + } + /** + * Gets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @param string $val The value of the domains + * + * @return IosKerberosSingleSignOnExtension + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the isDefaultRealm + * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. + * + * @return bool|null The isDefaultRealm + */ + public function getIsDefaultRealm() + { + if (array_key_exists("isDefaultRealm", $this->_propDict)) { + return $this->_propDict["isDefaultRealm"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultRealm + * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. + * + * @param bool $val The value of the isDefaultRealm + * + * @return IosKerberosSingleSignOnExtension + */ + public function setIsDefaultRealm($val) + { + $this->_propDict["isDefaultRealm"] = $val; + return $this; + } + /** + * Gets the managedAppsInBundleIdACLIncluded + * When set to True, the Kerberos extension allows managed apps, and any apps entered with the app bundle ID to access the credential. When set to False, the Kerberos extension allows all apps to access the credential. Available for devices running iOS and iPadOS versions 14 and later. + * + * @return bool|null The managedAppsInBundleIdACLIncluded + */ + public function getManagedAppsInBundleIdACLIncluded() + { + if (array_key_exists("managedAppsInBundleIdACLIncluded", $this->_propDict)) { + return $this->_propDict["managedAppsInBundleIdACLIncluded"]; + } else { + return null; + } + } + + /** + * Sets the managedAppsInBundleIdACLIncluded + * When set to True, the Kerberos extension allows managed apps, and any apps entered with the app bundle ID to access the credential. When set to False, the Kerberos extension allows all apps to access the credential. Available for devices running iOS and iPadOS versions 14 and later. + * + * @param bool $val The value of the managedAppsInBundleIdACLIncluded + * + * @return IosKerberosSingleSignOnExtension + */ + public function setManagedAppsInBundleIdACLIncluded($val) + { + $this->_propDict["managedAppsInBundleIdACLIncluded"] = $val; + return $this; + } + /** + * Gets the passwordBlockModification + * Enables or disables password changes. + * + * @return bool|null The passwordBlockModification + */ + public function getPasswordBlockModification() + { + if (array_key_exists("passwordBlockModification", $this->_propDict)) { + return $this->_propDict["passwordBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockModification + * Enables or disables password changes. + * + * @param bool $val The value of the passwordBlockModification + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordBlockModification($val) + { + $this->_propDict["passwordBlockModification"] = $val; + return $this; + } + /** + * Gets the passwordChangeUrl + * Gets or sets the URL that the user will be sent to when they initiate a password change. + * + * @return string|null The passwordChangeUrl + */ + public function getPasswordChangeUrl() + { + if (array_key_exists("passwordChangeUrl", $this->_propDict)) { + return $this->_propDict["passwordChangeUrl"]; + } else { + return null; + } + } + + /** + * Sets the passwordChangeUrl + * Gets or sets the URL that the user will be sent to when they initiate a password change. + * + * @param string $val The value of the passwordChangeUrl + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordChangeUrl($val) + { + $this->_propDict["passwordChangeUrl"] = $val; + return $this; + } + /** + * Gets the passwordEnableLocalSync + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * + * @return bool|null The passwordEnableLocalSync + */ + public function getPasswordEnableLocalSync() + { + if (array_key_exists("passwordEnableLocalSync", $this->_propDict)) { + return $this->_propDict["passwordEnableLocalSync"]; + } else { + return null; + } + } + + /** + * Sets the passwordEnableLocalSync + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * + * @param bool $val The value of the passwordEnableLocalSync + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordEnableLocalSync($val) + { + $this->_propDict["passwordEnableLocalSync"] = $val; + return $this; + } + /** + * Gets the passwordExpirationDays + * Overrides the default password expiration in days. For most domains, this value is calculated automatically. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Overrides the default password expiration in days. For most domains, this value is calculated automatically. + * + * @param int $val The value of the passwordExpirationDays + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = $val; + return $this; + } + /** + * Gets the passwordExpirationNotificationDays + * Gets or sets the number of days until the user is notified that their password will expire (default is 15). + * + * @return int|null The passwordExpirationNotificationDays + */ + public function getPasswordExpirationNotificationDays() + { + if (array_key_exists("passwordExpirationNotificationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationNotificationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationNotificationDays + * Gets or sets the number of days until the user is notified that their password will expire (default is 15). + * + * @param int $val The value of the passwordExpirationNotificationDays + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordExpirationNotificationDays($val) + { + $this->_propDict["passwordExpirationNotificationDays"] = $val; + return $this; + } + /** + * Gets the passwordMinimumAgeDays + * Gets or sets the minimum number of days until a user can change their password again. + * + * @return int|null The passwordMinimumAgeDays + */ + public function getPasswordMinimumAgeDays() + { + if (array_key_exists("passwordMinimumAgeDays", $this->_propDict)) { + return $this->_propDict["passwordMinimumAgeDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumAgeDays + * Gets or sets the minimum number of days until a user can change their password again. + * + * @param int $val The value of the passwordMinimumAgeDays + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordMinimumAgeDays($val) + { + $this->_propDict["passwordMinimumAgeDays"] = $val; + return $this; + } + /** + * Gets the passwordMinimumLength + * Gets or sets the minimum length of a password. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Gets or sets the minimum length of a password. + * + * @param int $val The value of the passwordMinimumLength + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = $val; + return $this; + } + /** + * Gets the passwordPreviousPasswordBlockCount + * Gets or sets the number of previous passwords to block. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Gets or sets the number of previous passwords to block. + * + * @param int $val The value of the passwordPreviousPasswordBlockCount + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = $val; + return $this; + } + /** + * Gets the passwordRequireActiveDirectoryComplexity + * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * + * @return bool|null The passwordRequireActiveDirectoryComplexity + */ + public function getPasswordRequireActiveDirectoryComplexity() + { + if (array_key_exists("passwordRequireActiveDirectoryComplexity", $this->_propDict)) { + return $this->_propDict["passwordRequireActiveDirectoryComplexity"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireActiveDirectoryComplexity + * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * + * @param bool $val The value of the passwordRequireActiveDirectoryComplexity + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordRequireActiveDirectoryComplexity($val) + { + $this->_propDict["passwordRequireActiveDirectoryComplexity"] = $val; + return $this; + } + /** + * Gets the passwordRequirementsDescription + * Gets or sets a description of the password complexity requirements. + * + * @return string|null The passwordRequirementsDescription + */ + public function getPasswordRequirementsDescription() + { + if (array_key_exists("passwordRequirementsDescription", $this->_propDict)) { + return $this->_propDict["passwordRequirementsDescription"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequirementsDescription + * Gets or sets a description of the password complexity requirements. + * + * @param string $val The value of the passwordRequirementsDescription + * + * @return IosKerberosSingleSignOnExtension + */ + public function setPasswordRequirementsDescription($val) + { + $this->_propDict["passwordRequirementsDescription"] = $val; + return $this; + } + /** + * Gets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @param string $val The value of the realm + * + * @return IosKerberosSingleSignOnExtension + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + /** + * Gets the requireUserPresence + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. + * + * @return bool|null The requireUserPresence + */ + public function getRequireUserPresence() + { + if (array_key_exists("requireUserPresence", $this->_propDict)) { + return $this->_propDict["requireUserPresence"]; + } else { + return null; + } + } + + /** + * Sets the requireUserPresence + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. + * + * @param bool $val The value of the requireUserPresence + * + * @return IosKerberosSingleSignOnExtension + */ + public function setRequireUserPresence($val) + { + $this->_propDict["requireUserPresence"] = $val; + return $this; + } + /** + * Gets the signInHelpText + * Text displayed to the user at the Kerberos sign in window. Available for devices running iOS and iPadOS versions 14 and later. + * + * @return string|null The signInHelpText + */ + public function getSignInHelpText() + { + if (array_key_exists("signInHelpText", $this->_propDict)) { + return $this->_propDict["signInHelpText"]; + } else { + return null; + } + } + + /** + * Sets the signInHelpText + * Text displayed to the user at the Kerberos sign in window. Available for devices running iOS and iPadOS versions 14 and later. + * + * @param string $val The value of the signInHelpText + * + * @return IosKerberosSingleSignOnExtension + */ + public function setSignInHelpText($val) + { + $this->_propDict["signInHelpText"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * + * @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 + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * + * @param string $val The value of the userPrincipalName + * + * @return IosKerberosSingleSignOnExtension + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKioskModeAppType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKioskModeAppType.php new file mode 100644 index 0000000..0b249de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKioskModeAppType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return IosLobApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the buildNumber + * The build number of iOS Line of Business (LoB) app. + * + * @return string|null The buildNumber + */ + public function getBuildNumber() + { + if (array_key_exists("buildNumber", $this->_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * The build number of iOS Line of Business (LoB) app. + * + * @param string $val The buildNumber + * + * @return IosLobApp + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return IosLobApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration time. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration time. + * + * @param \DateTime $val The expirationDateTime + * + * @return IosLobApp + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return IosLobApp + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return IosLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the versionNumber + * The version number of iOS Line of Business (LoB) app. + * + * @return string|null The versionNumber + */ + public function getVersionNumber() + { + if (array_key_exists("versionNumber", $this->_propDict)) { + return $this->_propDict["versionNumber"]; + } else { + return null; + } + } + + /** + * Sets the versionNumber + * The version number of iOS Line of Business (LoB) app. + * + * @param string $val The versionNumber + * + * @return IosLobApp + */ + public function setVersionNumber($val) + { + $this->_propDict["versionNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppAssignmentSettings.php new file mode 100644 index 0000000..c18c64a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppAssignmentSettings.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.iosLobAppAssignmentSettings"); + } + + /** + * Gets the isRemovable + * Whether or not the app can be removed by the user. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * Whether or not the app can be removed by the user. + * + * @param bool $val The value of the isRemovable + * + * @return IosLobAppAssignmentSettings + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = $val; + return $this; + } + /** + * Gets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @return bool|null The uninstallOnDeviceRemoval + */ + public function getUninstallOnDeviceRemoval() + { + if (array_key_exists("uninstallOnDeviceRemoval", $this->_propDict)) { + return $this->_propDict["uninstallOnDeviceRemoval"]; + } else { + return null; + } + } + + /** + * Sets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @param bool $val The value of the uninstallOnDeviceRemoval + * + * @return IosLobAppAssignmentSettings + */ + public function setUninstallOnDeviceRemoval($val) + { + $this->_propDict["uninstallOnDeviceRemoval"] = $val; + return $this; + } + /** + * Gets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @return string|null The vpnConfigurationId + */ + public function getVpnConfigurationId() + { + if (array_key_exists("vpnConfigurationId", $this->_propDict)) { + return $this->_propDict["vpnConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @param string $val The value of the vpnConfigurationId + * + * @return IosLobAppAssignmentSettings + */ + public function setVpnConfigurationId($val) + { + $this->_propDict["vpnConfigurationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfiguration.php new file mode 100644 index 0000000..3ac91ec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfiguration.php @@ -0,0 +1,424 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return IosLobAppProvisioningConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return IosLobAppProvisioningConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return IosLobAppProvisioningConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Optional profile expiration date and time. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Optional profile expiration date and time. + * + * @param \DateTime $val The expirationDateTime + * + * @return IosLobAppProvisioningConfiguration + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return IosLobAppProvisioningConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the payload + * Payload. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The payload + */ + public function getPayload() + { + if (array_key_exists("payload", $this->_propDict)) { + if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * Payload. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The payload + * + * @return IosLobAppProvisioningConfiguration + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the payloadFileName + * Payload file name (.mobileprovision + * + * @return string|null The payloadFileName + */ + public function getPayloadFileName() + { + if (array_key_exists("payloadFileName", $this->_propDict)) { + return $this->_propDict["payloadFileName"]; + } else { + return null; + } + } + + /** + * Sets the payloadFileName + * Payload file name (.mobileprovision + * + * @param string $val The payloadFileName + * + * @return IosLobAppProvisioningConfiguration + */ + public function setPayloadFileName($val) + { + $this->_propDict["payloadFileName"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this iOS LOB app provisioning configuration entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this iOS LOB app provisioning configuration entity. + * + * @param string $val The roleScopeTagIds + * + * @return IosLobAppProvisioningConfiguration + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return IosLobAppProvisioningConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The associated group assignments for IosLobAppProvisioningConfiguration. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The associated group assignments for IosLobAppProvisioningConfiguration. + * + * @param IosLobAppProvisioningConfigurationAssignment[] $val The assignments + * + * @return IosLobAppProvisioningConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * The list of device installation states for this mobile app configuration. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * The list of device installation states for this mobile app configuration. + * + * @param ManagedDeviceMobileAppConfigurationDeviceStatus[] $val The deviceStatuses + * + * @return IosLobAppProvisioningConfiguration + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + + /** + * Gets the groupAssignments + * The associated group assignments. + * + * @return array|null The groupAssignments + */ + public function getGroupAssignments() + { + if (array_key_exists("groupAssignments", $this->_propDict)) { + return $this->_propDict["groupAssignments"]; + } else { + return null; + } + } + + /** + * Sets the groupAssignments + * The associated group assignments. + * + * @param MobileAppProvisioningConfigGroupAssignment[] $val The groupAssignments + * + * @return IosLobAppProvisioningConfiguration + */ + public function setGroupAssignments($val) + { + $this->_propDict["groupAssignments"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * The list of user installation states for this mobile app configuration. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * The list of user installation states for this mobile app configuration. + * + * @param ManagedDeviceMobileAppConfigurationUserStatus[] $val The userStatuses + * + * @return IosLobAppProvisioningConfiguration + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationAssignment.php new file mode 100644 index 0000000..074c9a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target group assignment defined by the admin. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return IosLobAppProvisioningConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationPolicySetItem.php new file mode 100644 index 0000000..7c2dafc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["allowedIosDeviceModels"]; + } else { + return null; + } + } + + /** + * Sets the allowedIosDeviceModels + * Semicolon seperated list of device models allowed, as a string, for the managed app to work. + * + * @param string $val The allowedIosDeviceModels + * + * @return IosManagedAppProtection + */ + public function setAllowedIosDeviceModels($val) + { + $this->_propDict["allowedIosDeviceModels"] = $val; + return $this; + } + + /** + * Gets the appActionIfIosDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfIosDeviceModelNotAllowed + */ + public function getAppActionIfIosDeviceModelNotAllowed() + { + if (array_key_exists("appActionIfIosDeviceModelNotAllowed", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfIosDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfIosDeviceModelNotAllowed"])) { + return $this->_propDict["appActionIfIosDeviceModelNotAllowed"]; + } else { + $this->_propDict["appActionIfIosDeviceModelNotAllowed"] = new ManagedAppRemediationAction($this->_propDict["appActionIfIosDeviceModelNotAllowed"]); + return $this->_propDict["appActionIfIosDeviceModelNotAllowed"]; + } + } + return null; + } + + /** + * Sets the appActionIfIosDeviceModelNotAllowed + * Defines a managed app behavior, either block or wipe, if the specified device model is not allowed. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfIosDeviceModelNotAllowed + * + * @return IosManagedAppProtection + */ + public function setAppActionIfIosDeviceModelNotAllowed($val) + { + $this->_propDict["appActionIfIosDeviceModelNotAllowed"] = $val; + return $this; + } + + /** + * Gets the appDataEncryptionType + * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * + * @return ManagedAppDataEncryptionType|null The appDataEncryptionType + */ + public function getAppDataEncryptionType() + { + if (array_key_exists("appDataEncryptionType", $this->_propDict)) { + if (is_a($this->_propDict["appDataEncryptionType"], "\Beta\Microsoft\Graph\Model\ManagedAppDataEncryptionType") || is_null($this->_propDict["appDataEncryptionType"])) { + return $this->_propDict["appDataEncryptionType"]; + } else { + $this->_propDict["appDataEncryptionType"] = new ManagedAppDataEncryptionType($this->_propDict["appDataEncryptionType"]); + return $this->_propDict["appDataEncryptionType"]; + } + } + return null; + } + + /** + * Sets the appDataEncryptionType + * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * + * @param ManagedAppDataEncryptionType $val The appDataEncryptionType + * + * @return IosManagedAppProtection + */ + public function setAppDataEncryptionType($val) + { + $this->_propDict["appDataEncryptionType"] = $val; + return $this; + } + + /** + * Gets the customBrowserProtocol + * A custom browser protocol to open weblink on iOS. + * + * @return string|null The customBrowserProtocol + */ + public function getCustomBrowserProtocol() + { + if (array_key_exists("customBrowserProtocol", $this->_propDict)) { + return $this->_propDict["customBrowserProtocol"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserProtocol + * A custom browser protocol to open weblink on iOS. + * + * @param string $val The customBrowserProtocol + * + * @return IosManagedAppProtection + */ + public function setCustomBrowserProtocol($val) + { + $this->_propDict["customBrowserProtocol"] = $val; + return $this; + } + + /** + * Gets the customDialerAppProtocol + * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. + * + * @return string|null The customDialerAppProtocol + */ + public function getCustomDialerAppProtocol() + { + if (array_key_exists("customDialerAppProtocol", $this->_propDict)) { + return $this->_propDict["customDialerAppProtocol"]; + } else { + return null; + } + } + + /** + * Sets the customDialerAppProtocol + * Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. + * + * @param string $val The customDialerAppProtocol + * + * @return IosManagedAppProtection + */ + public function setCustomDialerAppProtocol($val) + { + $this->_propDict["customDialerAppProtocol"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return IosManagedAppProtection + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the disableProtectionOfManagedOutboundOpenInData + * Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. + * + * @return bool|null The disableProtectionOfManagedOutboundOpenInData + */ + public function getDisableProtectionOfManagedOutboundOpenInData() + { + if (array_key_exists("disableProtectionOfManagedOutboundOpenInData", $this->_propDict)) { + return $this->_propDict["disableProtectionOfManagedOutboundOpenInData"]; + } else { + return null; + } + } + + /** + * Sets the disableProtectionOfManagedOutboundOpenInData + * Disable protection of data transferred to other apps through IOS OpenIn option. This setting is only allowed to be True when AllowedOutboundDataTransferDestinations is set to ManagedApps. + * + * @param bool $val The disableProtectionOfManagedOutboundOpenInData + * + * @return IosManagedAppProtection + */ + public function setDisableProtectionOfManagedOutboundOpenInData($val) + { + $this->_propDict["disableProtectionOfManagedOutboundOpenInData"] = boolval($val); + return $this; + } + + + /** + * Gets the exemptedAppProtocols + * Apps in this list will be exempt from the policy and will be able to receive data from managed apps. + * + * @return array|null The exemptedAppProtocols + */ + public function getExemptedAppProtocols() + { + if (array_key_exists("exemptedAppProtocols", $this->_propDict)) { + return $this->_propDict["exemptedAppProtocols"]; + } else { + return null; + } + } + + /** + * Sets the exemptedAppProtocols + * Apps in this list will be exempt from the policy and will be able to receive data from managed apps. + * + * @param KeyValuePair[] $val The exemptedAppProtocols + * + * @return IosManagedAppProtection + */ + public function setExemptedAppProtocols($val) + { + $this->_propDict["exemptedAppProtocols"] = $val; + return $this; + } + + /** + * Gets the exemptedUniversalLinks + * A list of custom urls that are allowed to invocate an unmanaged app + * + * @return string|null The exemptedUniversalLinks + */ + public function getExemptedUniversalLinks() + { + if (array_key_exists("exemptedUniversalLinks", $this->_propDict)) { + return $this->_propDict["exemptedUniversalLinks"]; + } else { + return null; + } + } + + /** + * Sets the exemptedUniversalLinks + * A list of custom urls that are allowed to invocate an unmanaged app + * + * @param string $val The exemptedUniversalLinks + * + * @return IosManagedAppProtection + */ + public function setExemptedUniversalLinks($val) + { + $this->_propDict["exemptedUniversalLinks"] = $val; + return $this; + } + + /** + * Gets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. + * + * @return bool|null The faceIdBlocked + */ + public function getFaceIdBlocked() + { + if (array_key_exists("faceIdBlocked", $this->_propDict)) { + return $this->_propDict["faceIdBlocked"]; + } else { + return null; + } + } + + /** + * Sets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. + * + * @param bool $val The faceIdBlocked + * + * @return IosManagedAppProtection + */ + public function setFaceIdBlocked($val) + { + $this->_propDict["faceIdBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the filterOpenInToOnlyManagedApps + * Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. + * + * @return bool|null The filterOpenInToOnlyManagedApps + */ + public function getFilterOpenInToOnlyManagedApps() + { + if (array_key_exists("filterOpenInToOnlyManagedApps", $this->_propDict)) { + return $this->_propDict["filterOpenInToOnlyManagedApps"]; + } else { + return null; + } + } + + /** + * Sets the filterOpenInToOnlyManagedApps + * Defines if open-in operation is supported from the managed app to the filesharing locations selected. This setting only applies when AllowedOutboundDataTransferDestinations is set to ManagedApps and DisableProtectionOfManagedOutboundOpenInData is set to False. + * + * @param bool $val The filterOpenInToOnlyManagedApps + * + * @return IosManagedAppProtection + */ + public function setFilterOpenInToOnlyManagedApps($val) + { + $this->_propDict["filterOpenInToOnlyManagedApps"] = boolval($val); + return $this; + } + + /** + * Gets the managedUniversalLinks + * A list of custom urls that are allowed to invocate a managed app + * + * @return string|null The managedUniversalLinks + */ + public function getManagedUniversalLinks() + { + if (array_key_exists("managedUniversalLinks", $this->_propDict)) { + return $this->_propDict["managedUniversalLinks"]; + } else { + return null; + } + } + + /** + * Sets the managedUniversalLinks + * A list of custom urls that are allowed to invocate a managed app + * + * @param string $val The managedUniversalLinks + * + * @return IosManagedAppProtection + */ + public function setManagedUniversalLinks($val) + { + $this->_propDict["managedUniversalLinks"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumRequiredSdkVersion + */ + public function getMinimumRequiredSdkVersion() + { + if (array_key_exists("minimumRequiredSdkVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumRequiredSdkVersion + * + * @return IosManagedAppProtection + */ + public function setMinimumRequiredSdkVersion($val) + { + $this->_propDict["minimumRequiredSdkVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipeSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumWipeSdkVersion + */ + public function getMinimumWipeSdkVersion() + { + if (array_key_exists("minimumWipeSdkVersion", $this->_propDict)) { + return $this->_propDict["minimumWipeSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipeSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumWipeSdkVersion + * + * @return IosManagedAppProtection + */ + public function setMinimumWipeSdkVersion($val) + { + $this->_propDict["minimumWipeSdkVersion"] = $val; + return $this; + } + + /** + * Gets the protectInboundDataFromUnknownSources + * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. + * + * @return bool|null The protectInboundDataFromUnknownSources + */ + public function getProtectInboundDataFromUnknownSources() + { + if (array_key_exists("protectInboundDataFromUnknownSources", $this->_propDict)) { + return $this->_propDict["protectInboundDataFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the protectInboundDataFromUnknownSources + * Protect incoming data from unknown source. This setting is only allowed to be True when AllowedInboundDataTransferSources is set to AllApps. + * + * @param bool $val The protectInboundDataFromUnknownSources + * + * @return IosManagedAppProtection + */ + public function setProtectInboundDataFromUnknownSources($val) + { + $this->_propDict["protectInboundDataFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the thirdPartyKeyboardsBlocked + * Defines if third party keyboards are allowed while accessing a managed app + * + * @return bool|null The thirdPartyKeyboardsBlocked + */ + public function getThirdPartyKeyboardsBlocked() + { + if (array_key_exists("thirdPartyKeyboardsBlocked", $this->_propDict)) { + return $this->_propDict["thirdPartyKeyboardsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the thirdPartyKeyboardsBlocked + * Defines if third party keyboards are allowed while accessing a managed app + * + * @param bool $val The thirdPartyKeyboardsBlocked + * + * @return IosManagedAppProtection + */ + public function setThirdPartyKeyboardsBlocked($val) + { + $this->_propDict["thirdPartyKeyboardsBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return IosManagedAppProtection + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return IosManagedAppProtection + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosManagedAppRegistration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosManagedAppRegistration.php new file mode 100644 index 0000000..335d6b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosManagedAppRegistration.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["v100"]; + } else { + return null; + } + } + + /** + * Sets the v10_0 + * Version 10.0 or later. + * + * @param bool $val The value of the v10_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV10_0($val) + { + $this->_propDict["v100"] = $val; + return $this; + } + /** + * Gets the v11_0 + * Version 11.0 or later. + * + * @return bool|null The v11_0 + */ + public function getV11_0() + { + if (array_key_exists("v110", $this->_propDict)) { + return $this->_propDict["v110"]; + } else { + return null; + } + } + + /** + * Sets the v11_0 + * Version 11.0 or later. + * + * @param bool $val The value of the v11_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV11_0($val) + { + $this->_propDict["v110"] = $val; + return $this; + } + /** + * Gets the v12_0 + * Version 12.0 or later. + * + * @return bool|null The v12_0 + */ + public function getV12_0() + { + if (array_key_exists("v120", $this->_propDict)) { + return $this->_propDict["v120"]; + } else { + return null; + } + } + + /** + * Sets the v12_0 + * Version 12.0 or later. + * + * @param bool $val The value of the v12_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV12_0($val) + { + $this->_propDict["v120"] = $val; + return $this; + } + /** + * Gets the v13_0 + * Version 13.0 or later. + * + * @return bool|null The v13_0 + */ + public function getV13_0() + { + if (array_key_exists("v130", $this->_propDict)) { + return $this->_propDict["v130"]; + } else { + return null; + } + } + + /** + * Sets the v13_0 + * Version 13.0 or later. + * + * @param bool $val The value of the v13_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV13_0($val) + { + $this->_propDict["v130"] = $val; + return $this; + } + /** + * Gets the v14_0 + * Version 14.0 or later. + * + * @return bool|null The v14_0 + */ + public function getV14_0() + { + if (array_key_exists("v140", $this->_propDict)) { + return $this->_propDict["v140"]; + } else { + return null; + } + } + + /** + * Sets the v14_0 + * Version 14.0 or later. + * + * @param bool $val The value of the v14_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV14_0($val) + { + $this->_propDict["v140"] = $val; + return $this; + } + /** + * Gets the v15_0 + * Version 15.0 or later. + * + * @return bool|null The v15_0 + */ + public function getV15_0() + { + if (array_key_exists("v150", $this->_propDict)) { + return $this->_propDict["v150"]; + } else { + return null; + } + } + + /** + * Sets the v15_0 + * Version 15.0 or later. + * + * @param bool $val The value of the v15_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV15_0($val) + { + $this->_propDict["v150"] = $val; + return $this; + } + /** + * Gets the v8_0 + * Version 8.0 or later. + * + * @return bool|null The v8_0 + */ + public function getV8_0() + { + if (array_key_exists("v80", $this->_propDict)) { + return $this->_propDict["v80"]; + } else { + return null; + } + } + + /** + * Sets the v8_0 + * Version 8.0 or later. + * + * @param bool $val The value of the v8_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV8_0($val) + { + $this->_propDict["v80"] = $val; + return $this; + } + /** + * Gets the v9_0 + * Version 9.0 or later. + * + * @return bool|null The v9_0 + */ + public function getV9_0() + { + if (array_key_exists("v90", $this->_propDict)) { + return $this->_propDict["v90"]; + } else { + return null; + } + } + + /** + * Sets the v9_0 + * Version 9.0 or later. + * + * @param bool $val The value of the v9_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV9_0($val) + { + $this->_propDict["v90"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppConfiguration.php new file mode 100644 index 0000000..f477d99 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppConfiguration.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["encodedSettingXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encodedSettingXml"])) { + return $this->_propDict["encodedSettingXml"]; + } else { + $this->_propDict["encodedSettingXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encodedSettingXml"]); + return $this->_propDict["encodedSettingXml"]; + } + } + return null; + } + + /** + * Sets the encodedSettingXml + * mdm app configuration Base64 binary. + * + * @param \GuzzleHttp\Psr7\Stream $val The encodedSettingXml + * + * @return IosMobileAppConfiguration + */ + public function setEncodedSettingXml($val) + { + $this->_propDict["encodedSettingXml"] = $val; + return $this; + } + + + /** + * Gets the settings + * app configuration setting items. + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * app configuration setting items. + * + * @param AppConfigurationSettingItem[] $val The settings + * + * @return IosMobileAppConfiguration + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppIdentifier.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppIdentifier.php new file mode 100644 index 0000000..c1898dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppIdentifier.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iosMobileAppIdentifier"); + } + + /** + * Gets the bundleId + * The identifier for an app, as specified in the app store. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The identifier for an app, as specified in the app store. + * + * @param string $val The value of the bundleId + * + * @return IosMobileAppIdentifier + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNetworkUsageRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNetworkUsageRule.php new file mode 100644 index 0000000..a02a320 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNetworkUsageRule.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["cellularDataBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cellularDataBlocked + * If set to true, corresponding managed apps will not be allowed to use cellular data at any time. + * + * @param bool $val The value of the cellularDataBlocked + * + * @return IosNetworkUsageRule + */ + public function setCellularDataBlocked($val) + { + $this->_propDict["cellularDataBlocked"] = $val; + return $this; + } + /** + * Gets the cellularDataBlockWhenRoaming + * If set to true, corresponding managed apps will not be allowed to use cellular data when roaming. + * + * @return bool|null The cellularDataBlockWhenRoaming + */ + public function getCellularDataBlockWhenRoaming() + { + if (array_key_exists("cellularDataBlockWhenRoaming", $this->_propDict)) { + return $this->_propDict["cellularDataBlockWhenRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularDataBlockWhenRoaming + * If set to true, corresponding managed apps will not be allowed to use cellular data when roaming. + * + * @param bool $val The value of the cellularDataBlockWhenRoaming + * + * @return IosNetworkUsageRule + */ + public function setCellularDataBlockWhenRoaming($val) + { + $this->_propDict["cellularDataBlockWhenRoaming"] = $val; + return $this; + } + + /** + * Gets the managedApps + * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. + * + * @return AppListItem|null The managedApps + */ + public function getManagedApps() + { + if (array_key_exists("managedApps", $this->_propDict)) { + if (is_a($this->_propDict["managedApps"], "\Beta\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["managedApps"])) { + return $this->_propDict["managedApps"]; + } else { + $this->_propDict["managedApps"] = new AppListItem($this->_propDict["managedApps"]); + return $this->_propDict["managedApps"]; + } + } + return null; + } + + /** + * Sets the managedApps + * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. + * + * @param AppListItem $val The value to assign to the managedApps + * + * @return IosNetworkUsageRule The IosNetworkUsageRule + */ + public function setManagedApps($val) + { + $this->_propDict["managedApps"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNotificationAlertType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNotificationAlertType.php new file mode 100644 index 0000000..3ee7e20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNotificationAlertType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["alertType"], "\Beta\Microsoft\Graph\Model\IosNotificationAlertType") || is_null($this->_propDict["alertType"])) { + return $this->_propDict["alertType"]; + } else { + $this->_propDict["alertType"] = new IosNotificationAlertType($this->_propDict["alertType"]); + return $this->_propDict["alertType"]; + } + } + return null; + } + + /** + * Sets the alertType + * Indicates the type of alert for notifications for this app. Possible values are: deviceDefault, banner, modal, none. + * + * @param IosNotificationAlertType $val The value to assign to the alertType + * + * @return IosNotificationSettings The IosNotificationSettings + */ + public function setAlertType($val) + { + $this->_propDict["alertType"] = $val; + return $this; + } + /** + * Gets the appName + * Application name to be associated with the bundleID. + * + * @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 + * Application name to be associated with the bundleID. + * + * @param string $val The value of the appName + * + * @return IosNotificationSettings + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + /** + * Gets the badgesEnabled + * Indicates whether badges are allowed for this app. + * + * @return bool|null The badgesEnabled + */ + public function getBadgesEnabled() + { + if (array_key_exists("badgesEnabled", $this->_propDict)) { + return $this->_propDict["badgesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the badgesEnabled + * Indicates whether badges are allowed for this app. + * + * @param bool $val The value of the badgesEnabled + * + * @return IosNotificationSettings + */ + public function setBadgesEnabled($val) + { + $this->_propDict["badgesEnabled"] = $val; + return $this; + } + /** + * Gets the bundleID + * Bundle id of app to which to apply these notification settings. + * + * @return string|null The bundleID + */ + public function getBundleID() + { + if (array_key_exists("bundleID", $this->_propDict)) { + return $this->_propDict["bundleID"]; + } else { + return null; + } + } + + /** + * Sets the bundleID + * Bundle id of app to which to apply these notification settings. + * + * @param string $val The value of the bundleID + * + * @return IosNotificationSettings + */ + public function setBundleID($val) + { + $this->_propDict["bundleID"] = $val; + return $this; + } + /** + * Gets the enabled + * Indicates whether notifications are allowed for this app. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates whether notifications are allowed for this app. + * + * @param bool $val The value of the enabled + * + * @return IosNotificationSettings + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + + /** + * Gets the previewVisibility + * Overrides the notification preview policy set by the user on an iOS device. Possible values are: notConfigured, alwaysShow, hideWhenLocked, neverShow. + * + * @return IosNotificationPreviewVisibility|null The previewVisibility + */ + public function getPreviewVisibility() + { + if (array_key_exists("previewVisibility", $this->_propDict)) { + if (is_a($this->_propDict["previewVisibility"], "\Beta\Microsoft\Graph\Model\IosNotificationPreviewVisibility") || is_null($this->_propDict["previewVisibility"])) { + return $this->_propDict["previewVisibility"]; + } else { + $this->_propDict["previewVisibility"] = new IosNotificationPreviewVisibility($this->_propDict["previewVisibility"]); + return $this->_propDict["previewVisibility"]; + } + } + return null; + } + + /** + * Sets the previewVisibility + * Overrides the notification preview policy set by the user on an iOS device. Possible values are: notConfigured, alwaysShow, hideWhenLocked, neverShow. + * + * @param IosNotificationPreviewVisibility $val The value to assign to the previewVisibility + * + * @return IosNotificationSettings The IosNotificationSettings + */ + public function setPreviewVisibility($val) + { + $this->_propDict["previewVisibility"] = $val; + return $this; + } + /** + * Gets the publisher + * Publisher to be associated with the bundleID. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Publisher to be associated with the bundleID. + * + * @param string $val The value of the publisher + * + * @return IosNotificationSettings + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + /** + * Gets the showInNotificationCenter + * Indicates whether notifications can be shown in notification center. + * + * @return bool|null The showInNotificationCenter + */ + public function getShowInNotificationCenter() + { + if (array_key_exists("showInNotificationCenter", $this->_propDict)) { + return $this->_propDict["showInNotificationCenter"]; + } else { + return null; + } + } + + /** + * Sets the showInNotificationCenter + * Indicates whether notifications can be shown in notification center. + * + * @param bool $val The value of the showInNotificationCenter + * + * @return IosNotificationSettings + */ + public function setShowInNotificationCenter($val) + { + $this->_propDict["showInNotificationCenter"] = $val; + return $this; + } + /** + * Gets the showOnLockScreen + * Indicates whether notifications can be shown on the lock screen. + * + * @return bool|null The showOnLockScreen + */ + public function getShowOnLockScreen() + { + if (array_key_exists("showOnLockScreen", $this->_propDict)) { + return $this->_propDict["showOnLockScreen"]; + } else { + return null; + } + } + + /** + * Sets the showOnLockScreen + * Indicates whether notifications can be shown on the lock screen. + * + * @param bool $val The value of the showOnLockScreen + * + * @return IosNotificationSettings + */ + public function setShowOnLockScreen($val) + { + $this->_propDict["showOnLockScreen"] = $val; + return $this; + } + /** + * Gets the soundsEnabled + * Indicates whether sounds are allowed for this app. + * + * @return bool|null The soundsEnabled + */ + public function getSoundsEnabled() + { + if (array_key_exists("soundsEnabled", $this->_propDict)) { + return $this->_propDict["soundsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the soundsEnabled + * Indicates whether sounds are allowed for this app. + * + * @param bool $val The value of the soundsEnabled + * + * @return IosNotificationSettings + */ + public function setSoundsEnabled($val) + { + $this->_propDict["soundsEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosPkcsCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosPkcsCertificateProfile.php new file mode 100644 index 0000000..73584d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosPkcsCertificateProfile.php @@ -0,0 +1,265 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return IosPkcsCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateTemplateName + * PKCS Certificate Template Name. + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name. + * + * @param string $val The certificateTemplateName + * + * @return IosPkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority. + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority. + * + * @param string $val The certificationAuthority + * + * @return IosPkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name. + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name. + * + * @param string $val The certificationAuthorityName + * + * @return IosPkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return IosPkcsCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return IosPkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return IosPkcsCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return IosPkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosRedirectSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosRedirectSingleSignOnExtension.php new file mode 100644 index 0000000..93305cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosRedirectSingleSignOnExtension.php @@ -0,0 +1,154 @@ +setODataType("#microsoft.graph.iosRedirectSingleSignOnExtension"); + } + + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return IosRedirectSingleSignOnExtension The IosRedirectSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The extensionIdentifier + */ + public function getExtensionIdentifier() + { + if (array_key_exists("extensionIdentifier", $this->_propDict)) { + return $this->_propDict["extensionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the extensionIdentifier + * + * @return IosRedirectSingleSignOnExtension + */ + public function setExtensionIdentifier($val) + { + $this->_propDict["extensionIdentifier"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the teamIdentifier + * + * @return IosRedirectSingleSignOnExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } + /** + * Gets the urlPrefixes + * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. + * + * @return string|null The urlPrefixes + */ + public function getUrlPrefixes() + { + if (array_key_exists("urlPrefixes", $this->_propDict)) { + return $this->_propDict["urlPrefixes"]; + } else { + return null; + } + } + + /** + * Sets the urlPrefixes + * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. + * + * @param string $val The value of the urlPrefixes + * + * @return IosRedirectSingleSignOnExtension + */ + public function setUrlPrefixes($val) + { + $this->_propDict["urlPrefixes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosScepCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosScepCertificateProfile.php new file mode 100644 index 0000000..5482b1a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosScepCertificateProfile.php @@ -0,0 +1,336 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return IosScepCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. The OnPremisesUserPrincipalName variable is support as well as others documented here: https://go.microsoft.com/fwlink/?LinkId=2027630. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. The OnPremisesUserPrincipalName variable is support as well as others documented here: https://go.microsoft.com/fwlink/?LinkId=2027630. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return IosScepCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return IosScepCertificateProfile + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return IosScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return IosScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s). + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s). + * + * @param string $val The scepServerUrls + * + * @return IosScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return IosScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return IosScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return IosScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return IosTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\IosTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new IosTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param IosTrustedRootCertificate $val The rootCertificate + * + * @return IosScepCertificateProfile + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSingleSignOnExtension.php new file mode 100644 index 0000000..90d752a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSingleSignOnExtension.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["allowedAppsList"], "\Beta\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["allowedAppsList"])) { + return $this->_propDict["allowedAppsList"]; + } else { + $this->_propDict["allowedAppsList"] = new AppListItem($this->_propDict["allowedAppsList"]); + return $this->_propDict["allowedAppsList"]; + } + } + return null; + } + + /** + * Sets the allowedAppsList + * List of app identifiers that are allowed to use this login. If this field is omitted, the login applies to all applications on the device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem $val The value to assign to the allowedAppsList + * + * @return IosSingleSignOnSettings The IosSingleSignOnSettings + */ + public function setAllowedAppsList($val) + { + $this->_propDict["allowedAppsList"] = $val; + return $this; + } + /** + * Gets the allowedUrls + * List of HTTP URLs that must be matched in order to use this login. With iOS 9.0 or later, a wildcard characters may be used. + * + * @return string|null The allowedUrls + */ + public function getAllowedUrls() + { + if (array_key_exists("allowedUrls", $this->_propDict)) { + return $this->_propDict["allowedUrls"]; + } else { + return null; + } + } + + /** + * Sets the allowedUrls + * List of HTTP URLs that must be matched in order to use this login. With iOS 9.0 or later, a wildcard characters may be used. + * + * @param string $val The value of the allowedUrls + * + * @return IosSingleSignOnSettings + */ + public function setAllowedUrls($val) + { + $this->_propDict["allowedUrls"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of login settings shown on the receiving device. + * + * @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 + * The display name of login settings shown on the receiving device. + * + * @param string $val The value of the displayName + * + * @return IosSingleSignOnSettings + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the kerberosPrincipalName + * A Kerberos principal name. If not provided, the user is prompted for one during profile installation. + * + * @return string|null The kerberosPrincipalName + */ + public function getKerberosPrincipalName() + { + if (array_key_exists("kerberosPrincipalName", $this->_propDict)) { + return $this->_propDict["kerberosPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the kerberosPrincipalName + * A Kerberos principal name. If not provided, the user is prompted for one during profile installation. + * + * @param string $val The value of the kerberosPrincipalName + * + * @return IosSingleSignOnSettings + */ + public function setKerberosPrincipalName($val) + { + $this->_propDict["kerberosPrincipalName"] = $val; + return $this; + } + /** + * Gets the kerberosRealm + * A Kerberos realm name. Case sensitive. + * + * @return string|null The kerberosRealm + */ + public function getKerberosRealm() + { + if (array_key_exists("kerberosRealm", $this->_propDict)) { + return $this->_propDict["kerberosRealm"]; + } else { + return null; + } + } + + /** + * Sets the kerberosRealm + * A Kerberos realm name. Case sensitive. + * + * @param string $val The value of the kerberosRealm + * + * @return IosSingleSignOnSettings + */ + public function setKerberosRealm($val) + { + $this->_propDict["kerberosRealm"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSoftwareUpdateScheduleType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSoftwareUpdateScheduleType.php new file mode 100644 index 0000000..df79612 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSoftwareUpdateScheduleType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return IosStoreApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Apple App Store URL + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Apple App Store URL + * + * @param string $val The appStoreUrl + * + * @return IosStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return IosStoreApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return IosStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php new file mode 100644 index 0000000..932c426 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.iosStoreAppAssignmentSettings"); + } + + /** + * Gets the isRemovable + * Whether or not the app can be removed by the user. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * Whether or not the app can be removed by the user. + * + * @param bool $val The value of the isRemovable + * + * @return IosStoreAppAssignmentSettings + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = $val; + return $this; + } + /** + * Gets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @return bool|null The uninstallOnDeviceRemoval + */ + public function getUninstallOnDeviceRemoval() + { + if (array_key_exists("uninstallOnDeviceRemoval", $this->_propDict)) { + return $this->_propDict["uninstallOnDeviceRemoval"]; + } else { + return null; + } + } + + /** + * Sets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @param bool $val The value of the uninstallOnDeviceRemoval + * + * @return IosStoreAppAssignmentSettings + */ + public function setUninstallOnDeviceRemoval($val) + { + $this->_propDict["uninstallOnDeviceRemoval"] = $val; + return $this; + } + /** + * Gets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @return string|null The vpnConfigurationId + */ + public function getVpnConfigurationId() + { + if (array_key_exists("vpnConfigurationId", $this->_propDict)) { + return $this->_propDict["vpnConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @param string $val The value of the vpnConfigurationId + * + * @return IosStoreAppAssignmentSettings + */ + public function setVpnConfigurationId($val) + { + $this->_propDict["vpnConfigurationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosTrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosTrustedRootCertificate.php new file mode 100644 index 0000000..1291195 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosTrustedRootCertificate.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return IosTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate. + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate. + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return IosTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateConfiguration.php new file mode 100644 index 0000000..99524f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateConfiguration.php @@ -0,0 +1,302 @@ +_propDict)) { + if (is_a($this->_propDict["activeHoursEnd"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursEnd"])) { + return $this->_propDict["activeHoursEnd"]; + } else { + $this->_propDict["activeHoursEnd"] = new TimeOfDay($this->_propDict["activeHoursEnd"]); + return $this->_propDict["activeHoursEnd"]; + } + } + return null; + } + + /** + * Sets the activeHoursEnd + * Active Hours End (active hours mean the time window when updates install should not happen) + * + * @param TimeOfDay $val The activeHoursEnd + * + * @return IosUpdateConfiguration + */ + public function setActiveHoursEnd($val) + { + $this->_propDict["activeHoursEnd"] = $val; + return $this; + } + + /** + * Gets the activeHoursStart + * Active Hours Start (active hours mean the time window when updates install should not happen) + * + * @return TimeOfDay|null The activeHoursStart + */ + public function getActiveHoursStart() + { + if (array_key_exists("activeHoursStart", $this->_propDict)) { + if (is_a($this->_propDict["activeHoursStart"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursStart"])) { + return $this->_propDict["activeHoursStart"]; + } else { + $this->_propDict["activeHoursStart"] = new TimeOfDay($this->_propDict["activeHoursStart"]); + return $this->_propDict["activeHoursStart"]; + } + } + return null; + } + + /** + * Sets the activeHoursStart + * Active Hours Start (active hours mean the time window when updates install should not happen) + * + * @param TimeOfDay $val The activeHoursStart + * + * @return IosUpdateConfiguration + */ + public function setActiveHoursStart($val) + { + $this->_propDict["activeHoursStart"] = $val; + return $this; + } + + + /** + * Gets the customUpdateTimeWindows + * If update schedule type is set to use time window scheduling, custom time windows when updates will be scheduled. This collection can contain a maximum of 20 elements. + * + * @return array|null The customUpdateTimeWindows + */ + public function getCustomUpdateTimeWindows() + { + if (array_key_exists("customUpdateTimeWindows", $this->_propDict)) { + return $this->_propDict["customUpdateTimeWindows"]; + } else { + return null; + } + } + + /** + * Sets the customUpdateTimeWindows + * If update schedule type is set to use time window scheduling, custom time windows when updates will be scheduled. This collection can contain a maximum of 20 elements. + * + * @param CustomUpdateTimeWindow[] $val The customUpdateTimeWindows + * + * @return IosUpdateConfiguration + */ + public function setCustomUpdateTimeWindows($val) + { + $this->_propDict["customUpdateTimeWindows"] = $val; + return $this; + } + + /** + * Gets the desiredOsVersion + * If left unspecified, devices will update to the latest version of the OS. + * + * @return string|null The desiredOsVersion + */ + public function getDesiredOsVersion() + { + if (array_key_exists("desiredOsVersion", $this->_propDict)) { + return $this->_propDict["desiredOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the desiredOsVersion + * If left unspecified, devices will update to the latest version of the OS. + * + * @param string $val The desiredOsVersion + * + * @return IosUpdateConfiguration + */ + public function setDesiredOsVersion($val) + { + $this->_propDict["desiredOsVersion"] = $val; + return $this; + } + + /** + * Gets the enforcedSoftwareUpdateDelayInDays + * Days before software updates are visible to iOS devices ranging from 0 to 90 inclusive + * + * @return int|null The enforcedSoftwareUpdateDelayInDays + */ + public function getEnforcedSoftwareUpdateDelayInDays() + { + if (array_key_exists("enforcedSoftwareUpdateDelayInDays", $this->_propDict)) { + return $this->_propDict["enforcedSoftwareUpdateDelayInDays"]; + } else { + return null; + } + } + + /** + * Sets the enforcedSoftwareUpdateDelayInDays + * Days before software updates are visible to iOS devices ranging from 0 to 90 inclusive + * + * @param int $val The enforcedSoftwareUpdateDelayInDays + * + * @return IosUpdateConfiguration + */ + public function setEnforcedSoftwareUpdateDelayInDays($val) + { + $this->_propDict["enforcedSoftwareUpdateDelayInDays"] = intval($val); + return $this; + } + + /** + * Gets the isEnabled + * Is setting enabled in UI + * + * @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 + * Is setting enabled in UI + * + * @param bool $val The isEnabled + * + * @return IosUpdateConfiguration + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the scheduledInstallDays + * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. + * + * @return array|null The scheduledInstallDays + */ + public function getScheduledInstallDays() + { + if (array_key_exists("scheduledInstallDays", $this->_propDict)) { + return $this->_propDict["scheduledInstallDays"]; + } else { + return null; + } + } + + /** + * Sets the scheduledInstallDays + * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. + * + * @param DayOfWeek[] $val The scheduledInstallDays + * + * @return IosUpdateConfiguration + */ + public function setScheduledInstallDays($val) + { + $this->_propDict["scheduledInstallDays"] = $val; + return $this; + } + + /** + * Gets the updateScheduleType + * Update schedule type. Possible values are: updateOutsideOfActiveHours, alwaysUpdate, updateDuringTimeWindows, updateOutsideOfTimeWindows. + * + * @return IosSoftwareUpdateScheduleType|null The updateScheduleType + */ + public function getUpdateScheduleType() + { + if (array_key_exists("updateScheduleType", $this->_propDict)) { + if (is_a($this->_propDict["updateScheduleType"], "\Beta\Microsoft\Graph\Model\IosSoftwareUpdateScheduleType") || is_null($this->_propDict["updateScheduleType"])) { + return $this->_propDict["updateScheduleType"]; + } else { + $this->_propDict["updateScheduleType"] = new IosSoftwareUpdateScheduleType($this->_propDict["updateScheduleType"]); + return $this->_propDict["updateScheduleType"]; + } + } + return null; + } + + /** + * Sets the updateScheduleType + * Update schedule type. Possible values are: updateOutsideOfActiveHours, alwaysUpdate, updateDuringTimeWindows, updateOutsideOfTimeWindows. + * + * @param IosSoftwareUpdateScheduleType $val The updateScheduleType + * + * @return IosUpdateConfiguration + */ + public function setUpdateScheduleType($val) + { + $this->_propDict["updateScheduleType"] = $val; + return $this; + } + + /** + * Gets the utcTimeOffsetInMinutes + * UTC Time Offset indicated in minutes + * + * @return int|null The utcTimeOffsetInMinutes + */ + public function getUtcTimeOffsetInMinutes() + { + if (array_key_exists("utcTimeOffsetInMinutes", $this->_propDict)) { + return $this->_propDict["utcTimeOffsetInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the utcTimeOffsetInMinutes + * UTC Time Offset indicated in minutes + * + * @param int $val The utcTimeOffsetInMinutes + * + * @return IosUpdateConfiguration + */ + public function setUtcTimeOffsetInMinutes($val) + { + $this->_propDict["utcTimeOffsetInMinutes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateDeviceStatus.php new file mode 100644 index 0000000..105333f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateDeviceStatus.php @@ -0,0 +1,391 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return IosUpdateDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return IosUpdateDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The device id that is being reported. + * + * @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 device id that is being reported. + * + * @param string $val The deviceId + * + * @return IosUpdateDeviceStatus + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return IosUpdateDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the installStatus + * The installation status of the policy report. Possible values are: success, available, idle, unknown, mdmClientCrashed, timeout, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError, updateError, deviceOsHigherThanDesiredOsVersion, updateScanFailed. + * + * @return IosUpdatesInstallStatus|null The installStatus + */ + public function getInstallStatus() + { + if (array_key_exists("installStatus", $this->_propDict)) { + if (is_a($this->_propDict["installStatus"], "\Beta\Microsoft\Graph\Model\IosUpdatesInstallStatus") || is_null($this->_propDict["installStatus"])) { + return $this->_propDict["installStatus"]; + } else { + $this->_propDict["installStatus"] = new IosUpdatesInstallStatus($this->_propDict["installStatus"]); + return $this->_propDict["installStatus"]; + } + } + return null; + } + + /** + * Sets the installStatus + * The installation status of the policy report. Possible values are: success, available, idle, unknown, mdmClientCrashed, timeout, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError, updateError, deviceOsHigherThanDesiredOsVersion, updateScanFailed. + * + * @param IosUpdatesInstallStatus $val The installStatus + * + * @return IosUpdateDeviceStatus + */ + public function setInstallStatus($val) + { + $this->_propDict["installStatus"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return IosUpdateDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The device version that is being reported. + * + * @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 + * The device version that is being reported. + * + * @param string $val The osVersion + * + * @return IosUpdateDeviceStatus + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the platform + * Platform of the device that is being reported + * + * @return int|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + return $this->_propDict["platform"]; + } else { + return null; + } + } + + /** + * Sets the platform + * Platform of the device that is being reported + * + * @param int $val The platform + * + * @return IosUpdateDeviceStatus + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = intval($val); + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return IosUpdateDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userId + * The User id that is being reported. + * + * @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 + * The User id that is being reported. + * + * @param string $val The userId + * + * @return IosUpdateDeviceStatus + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return IosUpdateDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return IosUpdateDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdatesInstallStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdatesInstallStatus.php new file mode 100644 index 0000000..c1dfb81 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdatesInstallStatus.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["cloudName"]; + } else { + return null; + } + } + + /** + * Sets the cloudName + * Zscaler only. Zscaler cloud which the user is assigned to. + * + * @param string $val The cloudName + * + * @return IosVpnConfiguration + */ + public function setCloudName($val) + { + $this->_propDict["cloudName"] = $val; + return $this; + } + + /** + * Gets the excludeList + * Zscaler only. List of network addresses which are not sent through the Zscaler cloud. + * + * @return string|null The excludeList + */ + public function getExcludeList() + { + if (array_key_exists("excludeList", $this->_propDict)) { + return $this->_propDict["excludeList"]; + } else { + return null; + } + } + + /** + * Sets the excludeList + * Zscaler only. List of network addresses which are not sent through the Zscaler cloud. + * + * @param string $val The excludeList + * + * @return IosVpnConfiguration + */ + public function setExcludeList($val) + { + $this->_propDict["excludeList"] = $val; + return $this; + } + + /** + * Gets the microsoftTunnelSiteId + * Microsoft Tunnel site ID. + * + * @return string|null The microsoftTunnelSiteId + */ + public function getMicrosoftTunnelSiteId() + { + if (array_key_exists("microsoftTunnelSiteId", $this->_propDict)) { + return $this->_propDict["microsoftTunnelSiteId"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelSiteId + * Microsoft Tunnel site ID. + * + * @param string $val The microsoftTunnelSiteId + * + * @return IosVpnConfiguration + */ + public function setMicrosoftTunnelSiteId($val) + { + $this->_propDict["microsoftTunnelSiteId"] = $val; + return $this; + } + + /** + * Gets the strictEnforcement + * Zscaler only. Blocks network traffic until the user signs into Zscaler app. 'True' means traffic is blocked. + * + * @return bool|null The strictEnforcement + */ + public function getStrictEnforcement() + { + if (array_key_exists("strictEnforcement", $this->_propDict)) { + return $this->_propDict["strictEnforcement"]; + } else { + return null; + } + } + + /** + * Sets the strictEnforcement + * Zscaler only. Blocks network traffic until the user signs into Zscaler app. 'True' means traffic is blocked. + * + * @param bool $val The strictEnforcement + * + * @return IosVpnConfiguration + */ + public function setStrictEnforcement($val) + { + $this->_propDict["strictEnforcement"] = boolval($val); + return $this; + } + + + /** + * Gets the targetedMobileApps + * Targeted mobile apps. This collection can contain a maximum of 500 elements. + * + * @return array|null The targetedMobileApps + */ + public function getTargetedMobileApps() + { + if (array_key_exists("targetedMobileApps", $this->_propDict)) { + return $this->_propDict["targetedMobileApps"]; + } else { + return null; + } + } + + /** + * Sets the targetedMobileApps + * Targeted mobile apps. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The targetedMobileApps + * + * @return IosVpnConfiguration + */ + public function setTargetedMobileApps($val) + { + $this->_propDict["targetedMobileApps"] = $val; + return $this; + } + + /** + * Gets the userDomain + * Zscaler only. Enter a static domain to pre-populate the login field with in the Zscaler app. If this is left empty, the user's Azure Active Directory domain will be used instead. + * + * @return string|null The userDomain + */ + public function getUserDomain() + { + if (array_key_exists("userDomain", $this->_propDict)) { + return $this->_propDict["userDomain"]; + } else { + return null; + } + } + + /** + * Sets the userDomain + * Zscaler only. Enter a static domain to pre-populate the login field with in the Zscaler app. If this is left empty, the user's Azure Active Directory domain will be used instead. + * + * @param string $val The userDomain + * + * @return IosVpnConfiguration + */ + public function setUserDomain($val) + { + $this->_propDict["userDomain"] = $val; + return $this; + } + + /** + * Gets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @return DeviceManagementDerivedCredentialSettings|null The derivedCredentialSettings + */ + public function getDerivedCredentialSettings() + { + if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { + if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings") || is_null($this->_propDict["derivedCredentialSettings"])) { + return $this->_propDict["derivedCredentialSettings"]; + } else { + $this->_propDict["derivedCredentialSettings"] = new DeviceManagementDerivedCredentialSettings($this->_propDict["derivedCredentialSettings"]); + return $this->_propDict["derivedCredentialSettings"]; + } + } + return null; + } + + /** + * Sets the derivedCredentialSettings + * Tenant level settings for the Derived Credentials to be used for authentication. + * + * @param DeviceManagementDerivedCredentialSettings $val The derivedCredentialSettings + * + * @return IosVpnConfiguration + */ + public function setDerivedCredentialSettings($val) + { + $this->_propDict["derivedCredentialSettings"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return IosCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new IosCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param IosCertificateProfileBase $val The identityCertificate + * + * @return IosVpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php new file mode 100644 index 0000000..6839ac3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["lifetimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the lifetimeInMinutes + * Lifetime (minutes) + * + * @param int $val The value of the lifetimeInMinutes + * + * @return IosVpnSecurityAssociationParameters + */ + public function setLifetimeInMinutes($val) + { + $this->_propDict["lifetimeInMinutes"] = $val; + return $this; + } + /** + * Gets the securityDiffieHellmanGroup + * Diffie-Hellman Group + * + * @return int|null The securityDiffieHellmanGroup + */ + public function getSecurityDiffieHellmanGroup() + { + if (array_key_exists("securityDiffieHellmanGroup", $this->_propDict)) { + return $this->_propDict["securityDiffieHellmanGroup"]; + } else { + return null; + } + } + + /** + * Sets the securityDiffieHellmanGroup + * Diffie-Hellman Group + * + * @param int $val The value of the securityDiffieHellmanGroup + * + * @return IosVpnSecurityAssociationParameters + */ + public function setSecurityDiffieHellmanGroup($val) + { + $this->_propDict["securityDiffieHellmanGroup"] = $val; + return $this; + } + + /** + * Gets the securityEncryptionAlgorithm + * Encryption algorithm. Possible values are: aes256, des, tripleDes, aes128, aes128Gcm, aes256Gcm, aes192, aes192Gcm, chaCha20Poly1305. + * + * @return VpnEncryptionAlgorithmType|null The securityEncryptionAlgorithm + */ + public function getSecurityEncryptionAlgorithm() + { + if (array_key_exists("securityEncryptionAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["securityEncryptionAlgorithm"], "\Beta\Microsoft\Graph\Model\VpnEncryptionAlgorithmType") || is_null($this->_propDict["securityEncryptionAlgorithm"])) { + return $this->_propDict["securityEncryptionAlgorithm"]; + } else { + $this->_propDict["securityEncryptionAlgorithm"] = new VpnEncryptionAlgorithmType($this->_propDict["securityEncryptionAlgorithm"]); + return $this->_propDict["securityEncryptionAlgorithm"]; + } + } + return null; + } + + /** + * Sets the securityEncryptionAlgorithm + * Encryption algorithm. Possible values are: aes256, des, tripleDes, aes128, aes128Gcm, aes256Gcm, aes192, aes192Gcm, chaCha20Poly1305. + * + * @param VpnEncryptionAlgorithmType $val The value to assign to the securityEncryptionAlgorithm + * + * @return IosVpnSecurityAssociationParameters The IosVpnSecurityAssociationParameters + */ + public function setSecurityEncryptionAlgorithm($val) + { + $this->_propDict["securityEncryptionAlgorithm"] = $val; + return $this; + } + + /** + * Gets the securityIntegrityAlgorithm + * Integrity algorithm. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * + * @return VpnIntegrityAlgorithmType|null The securityIntegrityAlgorithm + */ + public function getSecurityIntegrityAlgorithm() + { + if (array_key_exists("securityIntegrityAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["securityIntegrityAlgorithm"], "\Beta\Microsoft\Graph\Model\VpnIntegrityAlgorithmType") || is_null($this->_propDict["securityIntegrityAlgorithm"])) { + return $this->_propDict["securityIntegrityAlgorithm"]; + } else { + $this->_propDict["securityIntegrityAlgorithm"] = new VpnIntegrityAlgorithmType($this->_propDict["securityIntegrityAlgorithm"]); + return $this->_propDict["securityIntegrityAlgorithm"]; + } + } + return null; + } + + /** + * Sets the securityIntegrityAlgorithm + * Integrity algorithm. Possible values are: sha2_256, sha1_96, sha1_160, sha2_384, sha2_512, md5. + * + * @param VpnIntegrityAlgorithmType $val The value to assign to the securityIntegrityAlgorithm + * + * @return IosVpnSecurityAssociationParameters The IosVpnSecurityAssociationParameters + */ + public function setSecurityIntegrityAlgorithm($val) + { + $this->_propDict["securityIntegrityAlgorithm"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppApp.php new file mode 100644 index 0000000..2ef3c09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppApp.php @@ -0,0 +1,422 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The applicable iOS Device Type. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return IosVppApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The store URL. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The store URL. + * + * @param string $val The appStoreUrl + * + * @return IosVppApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return IosVppApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the licensingType + * The supported License Type. + * + * @return VppLicensingType|null The licensingType + */ + public function getLicensingType() + { + if (array_key_exists("licensingType", $this->_propDict)) { + if (is_a($this->_propDict["licensingType"], "\Beta\Microsoft\Graph\Model\VppLicensingType") || is_null($this->_propDict["licensingType"])) { + return $this->_propDict["licensingType"]; + } else { + $this->_propDict["licensingType"] = new VppLicensingType($this->_propDict["licensingType"]); + return $this->_propDict["licensingType"]; + } + } + return null; + } + + /** + * Sets the licensingType + * The supported License Type. + * + * @param VppLicensingType $val The licensingType + * + * @return IosVppApp + */ + public function setLicensingType($val) + { + $this->_propDict["licensingType"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * The VPP application release date and time. + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * The VPP application release date and time. + * + * @param \DateTime $val The releaseDateTime + * + * @return IosVppApp + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + + + /** + * Gets the revokeLicenseActionResults + * Results of revoke license actions on this app. + * + * @return array|null The revokeLicenseActionResults + */ + public function getRevokeLicenseActionResults() + { + if (array_key_exists("revokeLicenseActionResults", $this->_propDict)) { + return $this->_propDict["revokeLicenseActionResults"]; + } else { + return null; + } + } + + /** + * Sets the revokeLicenseActionResults + * Results of revoke license actions on this app. + * + * @param IosVppAppRevokeLicensesActionResult[] $val The revokeLicenseActionResults + * + * @return IosVppApp + */ + public function setRevokeLicenseActionResults($val) + { + $this->_propDict["revokeLicenseActionResults"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of VPP licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of VPP licenses. + * + * @param int $val The totalLicenseCount + * + * @return IosVppApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of VPP licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of VPP licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return IosVppApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @return VppTokenAccountType|null The vppTokenAccountType + */ + public function getVppTokenAccountType() + { + if (array_key_exists("vppTokenAccountType", $this->_propDict)) { + if (is_a($this->_propDict["vppTokenAccountType"], "\Beta\Microsoft\Graph\Model\VppTokenAccountType") || is_null($this->_propDict["vppTokenAccountType"])) { + return $this->_propDict["vppTokenAccountType"]; + } else { + $this->_propDict["vppTokenAccountType"] = new VppTokenAccountType($this->_propDict["vppTokenAccountType"]); + return $this->_propDict["vppTokenAccountType"]; + } + } + return null; + } + + /** + * Sets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @param VppTokenAccountType $val The vppTokenAccountType + * + * @return IosVppApp + */ + public function setVppTokenAccountType($val) + { + $this->_propDict["vppTokenAccountType"] = $val; + return $this; + } + + /** + * Gets the vppTokenAppleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @return string|null The vppTokenAppleId + */ + public function getVppTokenAppleId() + { + if (array_key_exists("vppTokenAppleId", $this->_propDict)) { + return $this->_propDict["vppTokenAppleId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenAppleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @param string $val The vppTokenAppleId + * + * @return IosVppApp + */ + public function setVppTokenAppleId($val) + { + $this->_propDict["vppTokenAppleId"] = $val; + return $this; + } + + /** + * Gets the vppTokenId + * Identifier of the VPP token associated with this app. + * + * @return string|null The vppTokenId + */ + public function getVppTokenId() + { + if (array_key_exists("vppTokenId", $this->_propDict)) { + return $this->_propDict["vppTokenId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenId + * Identifier of the VPP token associated with this app. + * + * @param string $val The vppTokenId + * + * @return IosVppApp + */ + public function setVppTokenId($val) + { + $this->_propDict["vppTokenId"] = $val; + return $this; + } + + /** + * Gets the vppTokenOrganizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @return string|null The vppTokenOrganizationName + */ + public function getVppTokenOrganizationName() + { + if (array_key_exists("vppTokenOrganizationName", $this->_propDict)) { + return $this->_propDict["vppTokenOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenOrganizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @param string $val The vppTokenOrganizationName + * + * @return IosVppApp + */ + public function setVppTokenOrganizationName($val) + { + $this->_propDict["vppTokenOrganizationName"] = $val; + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses assigned to this app. + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses assigned to this app. + * + * @param IosVppAppAssignedLicense[] $val The assignedLicenses + * + * @return IosVppApp + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedDeviceLicense.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedDeviceLicense.php new file mode 100644 index 0000000..e951dcb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedDeviceLicense.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["deviceName"]; + } else { + return null; + } + } + + /** + * Sets the deviceName + * The device name. + * + * @param string $val The deviceName + * + * @return IosVppAppAssignedDeviceLicense + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The managed device ID. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The managed device ID. + * + * @param string $val The managedDeviceId + * + * @return IosVppAppAssignedDeviceLicense + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedLicense.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedLicense.php new file mode 100644 index 0000000..4219092 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedLicense.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["userEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the userEmailAddress + * The user email address. + * + * @param string $val The userEmailAddress + * + * @return IosVppAppAssignedLicense + */ + public function setUserEmailAddress($val) + { + $this->_propDict["userEmailAddress"] = $val; + return $this; + } + + /** + * Gets the userId + * The user ID. + * + * @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 + * The user ID. + * + * @param string $val The userId + * + * @return IosVppAppAssignedLicense + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The user name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The user name. + * + * @param string $val The userName + * + * @return IosVppAppAssignedLicense + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name. + * + * @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 + * The user principal name. + * + * @param string $val The userPrincipalName + * + * @return IosVppAppAssignedLicense + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedUserLicense.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedUserLicense.php new file mode 100644 index 0000000..2a3a030 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedUserLicense.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.iosVppAppAssignmentSettings"); + } + + /** + * Gets the isRemovable + * Whether or not the app can be removed by the user. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * Whether or not the app can be removed by the user. + * + * @param bool $val The value of the isRemovable + * + * @return IosVppAppAssignmentSettings + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = $val; + return $this; + } + /** + * Gets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @return bool|null The uninstallOnDeviceRemoval + */ + public function getUninstallOnDeviceRemoval() + { + if (array_key_exists("uninstallOnDeviceRemoval", $this->_propDict)) { + return $this->_propDict["uninstallOnDeviceRemoval"]; + } else { + return null; + } + } + + /** + * Sets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @param bool $val The value of the uninstallOnDeviceRemoval + * + * @return IosVppAppAssignmentSettings + */ + public function setUninstallOnDeviceRemoval($val) + { + $this->_propDict["uninstallOnDeviceRemoval"] = $val; + return $this; + } + /** + * Gets the useDeviceLicensing + * Whether or not to use device licensing. + * + * @return bool|null The useDeviceLicensing + */ + public function getUseDeviceLicensing() + { + if (array_key_exists("useDeviceLicensing", $this->_propDict)) { + return $this->_propDict["useDeviceLicensing"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceLicensing + * Whether or not to use device licensing. + * + * @param bool $val The value of the useDeviceLicensing + * + * @return IosVppAppAssignmentSettings + */ + public function setUseDeviceLicensing($val) + { + $this->_propDict["useDeviceLicensing"] = $val; + return $this; + } + /** + * Gets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @return string|null The vpnConfigurationId + */ + public function getVpnConfigurationId() + { + if (array_key_exists("vpnConfigurationId", $this->_propDict)) { + return $this->_propDict["vpnConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @param string $val The value of the vpnConfigurationId + * + * @return IosVppAppAssignmentSettings + */ + public function setVpnConfigurationId($val) + { + $this->_propDict["vpnConfigurationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppRevokeLicensesActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppRevokeLicensesActionResult.php new file mode 100644 index 0000000..197709e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppRevokeLicensesActionResult.php @@ -0,0 +1,298 @@ +_propDict)) { + if (is_a($this->_propDict["actionFailureReason"], "\Beta\Microsoft\Graph\Model\VppTokenActionFailureReason") || is_null($this->_propDict["actionFailureReason"])) { + return $this->_propDict["actionFailureReason"]; + } else { + $this->_propDict["actionFailureReason"] = new VppTokenActionFailureReason($this->_propDict["actionFailureReason"]); + return $this->_propDict["actionFailureReason"]; + } + } + return null; + } + + /** + * Sets the actionFailureReason + * The reason for the revoke licenses action failure. Possible values are: none, appleFailure, internalError, expiredVppToken, expiredApplePushNotificationCertificate. + * + * @param VppTokenActionFailureReason $val The value to assign to the actionFailureReason + * + * @return IosVppAppRevokeLicensesActionResult The IosVppAppRevokeLicensesActionResult + */ + public function setActionFailureReason($val) + { + $this->_propDict["actionFailureReason"] = $val; + return $this; + } + /** + * Gets the actionName + * Action name + * + * @return string|null The actionName + */ + public function getActionName() + { + if (array_key_exists("actionName", $this->_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Action name + * + * @param string $val The value of the actionName + * + * @return IosVppAppRevokeLicensesActionResult + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The value to assign to the actionState + * + * @return IosVppAppRevokeLicensesActionResult The IosVppAppRevokeLicensesActionResult + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + /** + * Gets the failedLicensesCount + * A count of the number of licenses for which revoke failed. + * + * @return int|null The failedLicensesCount + */ + public function getFailedLicensesCount() + { + if (array_key_exists("failedLicensesCount", $this->_propDict)) { + return $this->_propDict["failedLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the failedLicensesCount + * A count of the number of licenses for which revoke failed. + * + * @param int $val The value of the failedLicensesCount + * + * @return IosVppAppRevokeLicensesActionResult + */ + public function setFailedLicensesCount($val) + { + $this->_propDict["failedLicensesCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Time the action state was last updated + * + * @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 + * Time the action state was last updated + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return IosVppAppRevokeLicensesActionResult The IosVppAppRevokeLicensesActionResult + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + /** + * Gets the managedDeviceId + * DeviceId associated with the action. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * DeviceId associated with the action. + * + * @param string $val The value of the managedDeviceId + * + * @return IosVppAppRevokeLicensesActionResult + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time the action was initiated + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time the action was initiated + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return IosVppAppRevokeLicensesActionResult The IosVppAppRevokeLicensesActionResult + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the totalLicensesCount + * A count of the number of licenses for which revoke was attempted. + * + * @return int|null The totalLicensesCount + */ + public function getTotalLicensesCount() + { + if (array_key_exists("totalLicensesCount", $this->_propDict)) { + return $this->_propDict["totalLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicensesCount + * A count of the number of licenses for which revoke was attempted. + * + * @param int $val The value of the totalLicensesCount + * + * @return IosVppAppRevokeLicensesActionResult + */ + public function setTotalLicensesCount($val) + { + $this->_propDict["totalLicensesCount"] = $val; + return $this; + } + /** + * Gets the userId + * UserId associated with the action. + * + * @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 + * UserId associated with the action. + * + * @param string $val The value of the userId + * + * @return IosVppAppRevokeLicensesActionResult + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBook.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBook.php new file mode 100644 index 0000000..dab7dae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBook.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["appleId"]; + } else { + return null; + } + } + + /** + * Sets the appleId + * The Apple ID associated with Vpp token. + * + * @param string $val The appleId + * + * @return IosVppEBook + */ + public function setAppleId($val) + { + $this->_propDict["appleId"] = $val; + return $this; + } + + /** + * Gets the genres + * Genres. + * + * @return string|null The genres + */ + public function getGenres() + { + if (array_key_exists("genres", $this->_propDict)) { + return $this->_propDict["genres"]; + } else { + return null; + } + } + + /** + * Sets the genres + * Genres. + * + * @param string $val The genres + * + * @return IosVppEBook + */ + public function setGenres($val) + { + $this->_propDict["genres"] = $val; + return $this; + } + + /** + * Gets the language + * Language. + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * Language. + * + * @param string $val The language + * + * @return IosVppEBook + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return IosVppEBook + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the seller + * Seller. + * + * @return string|null The seller + */ + public function getSeller() + { + if (array_key_exists("seller", $this->_propDict)) { + return $this->_propDict["seller"]; + } else { + return null; + } + } + + /** + * Sets the seller + * Seller. + * + * @param string $val The seller + * + * @return IosVppEBook + */ + public function setSeller($val) + { + $this->_propDict["seller"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * Total license count. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * Total license count. + * + * @param int $val The totalLicenseCount + * + * @return IosVppEBook + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * Used license count. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * Used license count. + * + * @param int $val The usedLicenseCount + * + * @return IosVppEBook + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the vppOrganizationName + * The Vpp token's organization name. + * + * @return string|null The vppOrganizationName + */ + public function getVppOrganizationName() + { + if (array_key_exists("vppOrganizationName", $this->_propDict)) { + return $this->_propDict["vppOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the vppOrganizationName + * The Vpp token's organization name. + * + * @param string $val The vppOrganizationName + * + * @return IosVppEBook + */ + public function setVppOrganizationName($val) + { + $this->_propDict["vppOrganizationName"] = $val; + return $this; + } + + /** + * Gets the vppTokenId + * The Vpp token ID. + * + * @return string|null The vppTokenId + */ + public function getVppTokenId() + { + if (array_key_exists("vppTokenId", $this->_propDict)) { + return $this->_propDict["vppTokenId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenId + * The Vpp token ID. + * + * @param string $val The vppTokenId + * + * @return IosVppEBook + */ + public function setVppTokenId($val) + { + $this->_propDict["vppTokenId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBookAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBookAssignment.php new file mode 100644 index 0000000..35620bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBookAssignment.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.iosWebContentFilterAutoFilter"); + } + + /** + * Gets the allowedUrls + * Additional URLs allowed for access + * + * @return string|null The allowedUrls + */ + public function getAllowedUrls() + { + if (array_key_exists("allowedUrls", $this->_propDict)) { + return $this->_propDict["allowedUrls"]; + } else { + return null; + } + } + + /** + * Sets the allowedUrls + * Additional URLs allowed for access + * + * @param string $val The value of the allowedUrls + * + * @return IosWebContentFilterAutoFilter + */ + public function setAllowedUrls($val) + { + $this->_propDict["allowedUrls"] = $val; + return $this; + } + /** + * Gets the blockedUrls + * Additional URLs blocked for access + * + * @return string|null The blockedUrls + */ + public function getBlockedUrls() + { + if (array_key_exists("blockedUrls", $this->_propDict)) { + return $this->_propDict["blockedUrls"]; + } else { + return null; + } + } + + /** + * Sets the blockedUrls + * Additional URLs blocked for access + * + * @param string $val The value of the blockedUrls + * + * @return IosWebContentFilterAutoFilter + */ + public function setBlockedUrls($val) + { + $this->_propDict["blockedUrls"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWebContentFilterBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWebContentFilterBase.php new file mode 100644 index 0000000..fdb4885 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWebContentFilterBase.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.iosWebContentFilterSpecificWebsitesAccess"); + } + + + /** + * Gets the specificWebsitesOnly + * URL bookmarks which will be installed into built-in browser and user is only allowed to access websites through bookmarks. This collection can contain a maximum of 500 elements. + * + * @return IosBookmark|null The specificWebsitesOnly + */ + public function getSpecificWebsitesOnly() + { + if (array_key_exists("specificWebsitesOnly", $this->_propDict)) { + if (is_a($this->_propDict["specificWebsitesOnly"], "\Beta\Microsoft\Graph\Model\IosBookmark") || is_null($this->_propDict["specificWebsitesOnly"])) { + return $this->_propDict["specificWebsitesOnly"]; + } else { + $this->_propDict["specificWebsitesOnly"] = new IosBookmark($this->_propDict["specificWebsitesOnly"]); + return $this->_propDict["specificWebsitesOnly"]; + } + } + return null; + } + + /** + * Sets the specificWebsitesOnly + * URL bookmarks which will be installed into built-in browser and user is only allowed to access websites through bookmarks. This collection can contain a maximum of 500 elements. + * + * @param IosBookmark $val The value to assign to the specificWebsitesOnly + * + * @return IosWebContentFilterSpecificWebsitesAccess The IosWebContentFilterSpecificWebsitesAccess + */ + public function setSpecificWebsitesOnly($val) + { + $this->_propDict["specificWebsitesOnly"] = $val; + return $this; + } + + /** + * Gets the websiteList + * URL bookmarks which will be installed into built-in browser and user is only allowed to access websites through bookmarks. This collection can contain a maximum of 500 elements. + * + * @return IosBookmark|null The websiteList + */ + public function getWebsiteList() + { + if (array_key_exists("websiteList", $this->_propDict)) { + if (is_a($this->_propDict["websiteList"], "\Beta\Microsoft\Graph\Model\IosBookmark") || is_null($this->_propDict["websiteList"])) { + return $this->_propDict["websiteList"]; + } else { + $this->_propDict["websiteList"] = new IosBookmark($this->_propDict["websiteList"]); + return $this->_propDict["websiteList"]; + } + } + return null; + } + + /** + * Sets the websiteList + * URL bookmarks which will be installed into built-in browser and user is only allowed to access websites through bookmarks. This collection can contain a maximum of 500 elements. + * + * @param IosBookmark $val The value to assign to the websiteList + * + * @return IosWebContentFilterSpecificWebsitesAccess The IosWebContentFilterSpecificWebsitesAccess + */ + public function setWebsiteList($val) + { + $this->_propDict["websiteList"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWiFiConfiguration.php new file mode 100644 index 0000000..eb2ca30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWiFiConfiguration.php @@ -0,0 +1,354 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return IosWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * Connect when the network is not broadcasting its name (SSID). When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * Connect when the network is not broadcasting its name (SSID). When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return IosWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the disableMacAddressRandomization + * If set to true, forces devices connecting using this Wi-Fi profile to present their actual Wi-Fi MAC address instead of a random MAC address. Applies to iOS 14 and later. + * + * @return bool|null The disableMacAddressRandomization + */ + public function getDisableMacAddressRandomization() + { + if (array_key_exists("disableMacAddressRandomization", $this->_propDict)) { + return $this->_propDict["disableMacAddressRandomization"]; + } else { + return null; + } + } + + /** + * Sets the disableMacAddressRandomization + * If set to true, forces devices connecting using this Wi-Fi profile to present their actual Wi-Fi MAC address instead of a random MAC address. Applies to iOS 14 and later. + * + * @param bool $val The disableMacAddressRandomization + * + * @return IosWiFiConfiguration + */ + public function setDisableMacAddressRandomization($val) + { + $this->_propDict["disableMacAddressRandomization"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return IosWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return string|null The preSharedKey + */ + public function getPreSharedKey() + { + if (array_key_exists("preSharedKey", $this->_propDict)) { + return $this->_propDict["preSharedKey"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param string $val The preSharedKey + * + * @return IosWiFiConfiguration + */ + public function setPreSharedKey($val) + { + $this->_propDict["preSharedKey"] = $val; + return $this; + } + + /** + * Gets the proxyAutomaticConfigurationUrl + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * + * @return string|null The proxyAutomaticConfigurationUrl + */ + public function getProxyAutomaticConfigurationUrl() + { + if (array_key_exists("proxyAutomaticConfigurationUrl", $this->_propDict)) { + return $this->_propDict["proxyAutomaticConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the proxyAutomaticConfigurationUrl + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * + * @param string $val The proxyAutomaticConfigurationUrl + * + * @return IosWiFiConfiguration + */ + public function setProxyAutomaticConfigurationUrl($val) + { + $this->_propDict["proxyAutomaticConfigurationUrl"] = $val; + return $this; + } + + /** + * Gets the proxyManualAddress + * IP Address or DNS hostname of the proxy server when manual configuration is selected. + * + * @return string|null The proxyManualAddress + */ + public function getProxyManualAddress() + { + if (array_key_exists("proxyManualAddress", $this->_propDict)) { + return $this->_propDict["proxyManualAddress"]; + } else { + return null; + } + } + + /** + * Sets the proxyManualAddress + * IP Address or DNS hostname of the proxy server when manual configuration is selected. + * + * @param string $val The proxyManualAddress + * + * @return IosWiFiConfiguration + */ + public function setProxyManualAddress($val) + { + $this->_propDict["proxyManualAddress"] = $val; + return $this; + } + + /** + * Gets the proxyManualPort + * Port of the proxy server when manual configuration is selected. + * + * @return int|null The proxyManualPort + */ + public function getProxyManualPort() + { + if (array_key_exists("proxyManualPort", $this->_propDict)) { + return $this->_propDict["proxyManualPort"]; + } else { + return null; + } + } + + /** + * Sets the proxyManualPort + * Port of the proxy server when manual configuration is selected. + * + * @param int $val The proxyManualPort + * + * @return IosWiFiConfiguration + */ + public function setProxyManualPort($val) + { + $this->_propDict["proxyManualPort"] = intval($val); + return $this; + } + + /** + * Gets the proxySettings + * Proxy Type for this Wi-Fi connection. Possible values are: none, manual, automatic. + * + * @return WiFiProxySetting|null The proxySettings + */ + public function getProxySettings() + { + if (array_key_exists("proxySettings", $this->_propDict)) { + if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting") || is_null($this->_propDict["proxySettings"])) { + return $this->_propDict["proxySettings"]; + } else { + $this->_propDict["proxySettings"] = new WiFiProxySetting($this->_propDict["proxySettings"]); + return $this->_propDict["proxySettings"]; + } + } + return null; + } + + /** + * Sets the proxySettings + * Proxy Type for this Wi-Fi connection. Possible values are: none, manual, automatic. + * + * @param WiFiProxySetting $val The proxySettings + * + * @return IosWiFiConfiguration + */ + public function setProxySettings($val) + { + $this->_propDict["proxySettings"] = $val; + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return IosWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + * + * @return WiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\WiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new WiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + * + * @param WiFiSecurityType $val The wiFiSecurityType + * + * @return IosWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosikEv2VpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosikEv2VpnConfiguration.php new file mode 100644 index 0000000..58b884d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosikEv2VpnConfiguration.php @@ -0,0 +1,722 @@ +_propDict)) { + return $this->_propDict["allowDefaultChildSecurityAssociationParameters"]; + } else { + return null; + } + } + + /** + * Sets the allowDefaultChildSecurityAssociationParameters + * Allows the use of child security association parameters by setting all parameters to the device's default unless explicitly specified. + * + * @param bool $val The allowDefaultChildSecurityAssociationParameters + * + * @return IosikEv2VpnConfiguration + */ + public function setAllowDefaultChildSecurityAssociationParameters($val) + { + $this->_propDict["allowDefaultChildSecurityAssociationParameters"] = boolval($val); + return $this; + } + + /** + * Gets the allowDefaultSecurityAssociationParameters + * Allows the use of security association parameters by setting all parameters to the device's default unless explicitly specified. + * + * @return bool|null The allowDefaultSecurityAssociationParameters + */ + public function getAllowDefaultSecurityAssociationParameters() + { + if (array_key_exists("allowDefaultSecurityAssociationParameters", $this->_propDict)) { + return $this->_propDict["allowDefaultSecurityAssociationParameters"]; + } else { + return null; + } + } + + /** + * Sets the allowDefaultSecurityAssociationParameters + * Allows the use of security association parameters by setting all parameters to the device's default unless explicitly specified. + * + * @param bool $val The allowDefaultSecurityAssociationParameters + * + * @return IosikEv2VpnConfiguration + */ + public function setAllowDefaultSecurityAssociationParameters($val) + { + $this->_propDict["allowDefaultSecurityAssociationParameters"] = boolval($val); + return $this; + } + + /** + * Gets the alwaysOnConfiguration + * AlwaysOn Configuration + * + * @return AppleVpnAlwaysOnConfiguration|null The alwaysOnConfiguration + */ + public function getAlwaysOnConfiguration() + { + if (array_key_exists("alwaysOnConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["alwaysOnConfiguration"], "\Beta\Microsoft\Graph\Model\AppleVpnAlwaysOnConfiguration") || is_null($this->_propDict["alwaysOnConfiguration"])) { + return $this->_propDict["alwaysOnConfiguration"]; + } else { + $this->_propDict["alwaysOnConfiguration"] = new AppleVpnAlwaysOnConfiguration($this->_propDict["alwaysOnConfiguration"]); + return $this->_propDict["alwaysOnConfiguration"]; + } + } + return null; + } + + /** + * Sets the alwaysOnConfiguration + * AlwaysOn Configuration + * + * @param AppleVpnAlwaysOnConfiguration $val The alwaysOnConfiguration + * + * @return IosikEv2VpnConfiguration + */ + public function setAlwaysOnConfiguration($val) + { + $this->_propDict["alwaysOnConfiguration"] = $val; + return $this; + } + + /** + * Gets the childSecurityAssociationParameters + * Child Security Association Parameters + * + * @return IosVpnSecurityAssociationParameters|null The childSecurityAssociationParameters + */ + public function getChildSecurityAssociationParameters() + { + if (array_key_exists("childSecurityAssociationParameters", $this->_propDict)) { + if (is_a($this->_propDict["childSecurityAssociationParameters"], "\Beta\Microsoft\Graph\Model\IosVpnSecurityAssociationParameters") || is_null($this->_propDict["childSecurityAssociationParameters"])) { + return $this->_propDict["childSecurityAssociationParameters"]; + } else { + $this->_propDict["childSecurityAssociationParameters"] = new IosVpnSecurityAssociationParameters($this->_propDict["childSecurityAssociationParameters"]); + return $this->_propDict["childSecurityAssociationParameters"]; + } + } + return null; + } + + /** + * Sets the childSecurityAssociationParameters + * Child Security Association Parameters + * + * @param IosVpnSecurityAssociationParameters $val The childSecurityAssociationParameters + * + * @return IosikEv2VpnConfiguration + */ + public function setChildSecurityAssociationParameters($val) + { + $this->_propDict["childSecurityAssociationParameters"] = $val; + return $this; + } + + /** + * Gets the clientAuthenticationType + * Type of Client Authentication the VPN client will use. Possible values are: userAuthentication, deviceAuthentication. + * + * @return VpnClientAuthenticationType|null The clientAuthenticationType + */ + public function getClientAuthenticationType() + { + if (array_key_exists("clientAuthenticationType", $this->_propDict)) { + if (is_a($this->_propDict["clientAuthenticationType"], "\Beta\Microsoft\Graph\Model\VpnClientAuthenticationType") || is_null($this->_propDict["clientAuthenticationType"])) { + return $this->_propDict["clientAuthenticationType"]; + } else { + $this->_propDict["clientAuthenticationType"] = new VpnClientAuthenticationType($this->_propDict["clientAuthenticationType"]); + return $this->_propDict["clientAuthenticationType"]; + } + } + return null; + } + + /** + * Sets the clientAuthenticationType + * Type of Client Authentication the VPN client will use. Possible values are: userAuthentication, deviceAuthentication. + * + * @param VpnClientAuthenticationType $val The clientAuthenticationType + * + * @return IosikEv2VpnConfiguration + */ + public function setClientAuthenticationType($val) + { + $this->_propDict["clientAuthenticationType"] = $val; + return $this; + } + + /** + * Gets the deadPeerDetectionRate + * Determine how often to check if a peer connection is still active. . Possible values are: medium, none, low, high. + * + * @return VpnDeadPeerDetectionRate|null The deadPeerDetectionRate + */ + public function getDeadPeerDetectionRate() + { + if (array_key_exists("deadPeerDetectionRate", $this->_propDict)) { + if (is_a($this->_propDict["deadPeerDetectionRate"], "\Beta\Microsoft\Graph\Model\VpnDeadPeerDetectionRate") || is_null($this->_propDict["deadPeerDetectionRate"])) { + return $this->_propDict["deadPeerDetectionRate"]; + } else { + $this->_propDict["deadPeerDetectionRate"] = new VpnDeadPeerDetectionRate($this->_propDict["deadPeerDetectionRate"]); + return $this->_propDict["deadPeerDetectionRate"]; + } + } + return null; + } + + /** + * Sets the deadPeerDetectionRate + * Determine how often to check if a peer connection is still active. . Possible values are: medium, none, low, high. + * + * @param VpnDeadPeerDetectionRate $val The deadPeerDetectionRate + * + * @return IosikEv2VpnConfiguration + */ + public function setDeadPeerDetectionRate($val) + { + $this->_propDict["deadPeerDetectionRate"] = $val; + return $this; + } + + /** + * Gets the disableMobilityAndMultihoming + * Disable MOBIKE + * + * @return bool|null The disableMobilityAndMultihoming + */ + public function getDisableMobilityAndMultihoming() + { + if (array_key_exists("disableMobilityAndMultihoming", $this->_propDict)) { + return $this->_propDict["disableMobilityAndMultihoming"]; + } else { + return null; + } + } + + /** + * Sets the disableMobilityAndMultihoming + * Disable MOBIKE + * + * @param bool $val The disableMobilityAndMultihoming + * + * @return IosikEv2VpnConfiguration + */ + public function setDisableMobilityAndMultihoming($val) + { + $this->_propDict["disableMobilityAndMultihoming"] = boolval($val); + return $this; + } + + /** + * Gets the disableRedirect + * Disable Redirect + * + * @return bool|null The disableRedirect + */ + public function getDisableRedirect() + { + if (array_key_exists("disableRedirect", $this->_propDict)) { + return $this->_propDict["disableRedirect"]; + } else { + return null; + } + } + + /** + * Sets the disableRedirect + * Disable Redirect + * + * @param bool $val The disableRedirect + * + * @return IosikEv2VpnConfiguration + */ + public function setDisableRedirect($val) + { + $this->_propDict["disableRedirect"] = boolval($val); + return $this; + } + + /** + * Gets the enableAlwaysOnConfiguration + * Determines if Always on VPN is enabled + * + * @return bool|null The enableAlwaysOnConfiguration + */ + public function getEnableAlwaysOnConfiguration() + { + if (array_key_exists("enableAlwaysOnConfiguration", $this->_propDict)) { + return $this->_propDict["enableAlwaysOnConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the enableAlwaysOnConfiguration + * Determines if Always on VPN is enabled + * + * @param bool $val The enableAlwaysOnConfiguration + * + * @return IosikEv2VpnConfiguration + */ + public function setEnableAlwaysOnConfiguration($val) + { + $this->_propDict["enableAlwaysOnConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the enableCertificateRevocationCheck + * Enables a best-effort revocation check; server response timeouts will not cause it to fail + * + * @return bool|null The enableCertificateRevocationCheck + */ + public function getEnableCertificateRevocationCheck() + { + if (array_key_exists("enableCertificateRevocationCheck", $this->_propDict)) { + return $this->_propDict["enableCertificateRevocationCheck"]; + } else { + return null; + } + } + + /** + * Sets the enableCertificateRevocationCheck + * Enables a best-effort revocation check; server response timeouts will not cause it to fail + * + * @param bool $val The enableCertificateRevocationCheck + * + * @return IosikEv2VpnConfiguration + */ + public function setEnableCertificateRevocationCheck($val) + { + $this->_propDict["enableCertificateRevocationCheck"] = boolval($val); + return $this; + } + + /** + * Gets the enableEAP + * Enables EAP only authentication + * + * @return bool|null The enableEAP + */ + public function getEnableEAP() + { + if (array_key_exists("enableEAP", $this->_propDict)) { + return $this->_propDict["enableEAP"]; + } else { + return null; + } + } + + /** + * Sets the enableEAP + * Enables EAP only authentication + * + * @param bool $val The enableEAP + * + * @return IosikEv2VpnConfiguration + */ + public function setEnableEAP($val) + { + $this->_propDict["enableEAP"] = boolval($val); + return $this; + } + + /** + * Gets the enablePerfectForwardSecrecy + * Enable Perfect Forward Secrecy (PFS). + * + * @return bool|null The enablePerfectForwardSecrecy + */ + public function getEnablePerfectForwardSecrecy() + { + if (array_key_exists("enablePerfectForwardSecrecy", $this->_propDict)) { + return $this->_propDict["enablePerfectForwardSecrecy"]; + } else { + return null; + } + } + + /** + * Sets the enablePerfectForwardSecrecy + * Enable Perfect Forward Secrecy (PFS). + * + * @param bool $val The enablePerfectForwardSecrecy + * + * @return IosikEv2VpnConfiguration + */ + public function setEnablePerfectForwardSecrecy($val) + { + $this->_propDict["enablePerfectForwardSecrecy"] = boolval($val); + return $this; + } + + /** + * Gets the enableUseInternalSubnetAttributes + * Enable Use Internal Subnet Attributes. + * + * @return bool|null The enableUseInternalSubnetAttributes + */ + public function getEnableUseInternalSubnetAttributes() + { + if (array_key_exists("enableUseInternalSubnetAttributes", $this->_propDict)) { + return $this->_propDict["enableUseInternalSubnetAttributes"]; + } else { + return null; + } + } + + /** + * Sets the enableUseInternalSubnetAttributes + * Enable Use Internal Subnet Attributes. + * + * @param bool $val The enableUseInternalSubnetAttributes + * + * @return IosikEv2VpnConfiguration + */ + public function setEnableUseInternalSubnetAttributes($val) + { + $this->_propDict["enableUseInternalSubnetAttributes"] = boolval($val); + return $this; + } + + /** + * Gets the localIdentifier + * Method of identifying the client that is trying to connect via VPN. . Possible values are: deviceFQDN, empty, clientCertificateSubjectName. + * + * @return VpnLocalIdentifier|null The localIdentifier + */ + public function getLocalIdentifier() + { + if (array_key_exists("localIdentifier", $this->_propDict)) { + if (is_a($this->_propDict["localIdentifier"], "\Beta\Microsoft\Graph\Model\VpnLocalIdentifier") || is_null($this->_propDict["localIdentifier"])) { + return $this->_propDict["localIdentifier"]; + } else { + $this->_propDict["localIdentifier"] = new VpnLocalIdentifier($this->_propDict["localIdentifier"]); + return $this->_propDict["localIdentifier"]; + } + } + return null; + } + + /** + * Sets the localIdentifier + * Method of identifying the client that is trying to connect via VPN. . Possible values are: deviceFQDN, empty, clientCertificateSubjectName. + * + * @param VpnLocalIdentifier $val The localIdentifier + * + * @return IosikEv2VpnConfiguration + */ + public function setLocalIdentifier($val) + { + $this->_propDict["localIdentifier"] = $val; + return $this; + } + + /** + * Gets the mtuSizeInBytes + * Maximum transmission unit. Valid values 1280 to 1400 + * + * @return int|null The mtuSizeInBytes + */ + public function getMtuSizeInBytes() + { + if (array_key_exists("mtuSizeInBytes", $this->_propDict)) { + return $this->_propDict["mtuSizeInBytes"]; + } else { + return null; + } + } + + /** + * Sets the mtuSizeInBytes + * Maximum transmission unit. Valid values 1280 to 1400 + * + * @param int $val The mtuSizeInBytes + * + * @return IosikEv2VpnConfiguration + */ + public function setMtuSizeInBytes($val) + { + $this->_propDict["mtuSizeInBytes"] = intval($val); + return $this; + } + + /** + * Gets the remoteIdentifier + * Address of the IKEv2 server. Must be a FQDN, UserFQDN, network address, or ASN1DN + * + * @return string|null The remoteIdentifier + */ + public function getRemoteIdentifier() + { + if (array_key_exists("remoteIdentifier", $this->_propDict)) { + return $this->_propDict["remoteIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the remoteIdentifier + * Address of the IKEv2 server. Must be a FQDN, UserFQDN, network address, or ASN1DN + * + * @param string $val The remoteIdentifier + * + * @return IosikEv2VpnConfiguration + */ + public function setRemoteIdentifier($val) + { + $this->_propDict["remoteIdentifier"] = $val; + return $this; + } + + /** + * Gets the securityAssociationParameters + * Security Association Parameters + * + * @return IosVpnSecurityAssociationParameters|null The securityAssociationParameters + */ + public function getSecurityAssociationParameters() + { + if (array_key_exists("securityAssociationParameters", $this->_propDict)) { + if (is_a($this->_propDict["securityAssociationParameters"], "\Beta\Microsoft\Graph\Model\IosVpnSecurityAssociationParameters") || is_null($this->_propDict["securityAssociationParameters"])) { + return $this->_propDict["securityAssociationParameters"]; + } else { + $this->_propDict["securityAssociationParameters"] = new IosVpnSecurityAssociationParameters($this->_propDict["securityAssociationParameters"]); + return $this->_propDict["securityAssociationParameters"]; + } + } + return null; + } + + /** + * Sets the securityAssociationParameters + * Security Association Parameters + * + * @param IosVpnSecurityAssociationParameters $val The securityAssociationParameters + * + * @return IosikEv2VpnConfiguration + */ + public function setSecurityAssociationParameters($val) + { + $this->_propDict["securityAssociationParameters"] = $val; + return $this; + } + + /** + * Gets the serverCertificateCommonName + * Common name of the IKEv2 Server Certificate used in Server Authentication + * + * @return string|null The serverCertificateCommonName + */ + public function getServerCertificateCommonName() + { + if (array_key_exists("serverCertificateCommonName", $this->_propDict)) { + return $this->_propDict["serverCertificateCommonName"]; + } else { + return null; + } + } + + /** + * Sets the serverCertificateCommonName + * Common name of the IKEv2 Server Certificate used in Server Authentication + * + * @param string $val The serverCertificateCommonName + * + * @return IosikEv2VpnConfiguration + */ + public function setServerCertificateCommonName($val) + { + $this->_propDict["serverCertificateCommonName"] = $val; + return $this; + } + + /** + * Gets the serverCertificateIssuerCommonName + * Issuer Common name of the IKEv2 Server Certificate issuer used in Authentication + * + * @return string|null The serverCertificateIssuerCommonName + */ + public function getServerCertificateIssuerCommonName() + { + if (array_key_exists("serverCertificateIssuerCommonName", $this->_propDict)) { + return $this->_propDict["serverCertificateIssuerCommonName"]; + } else { + return null; + } + } + + /** + * Sets the serverCertificateIssuerCommonName + * Issuer Common name of the IKEv2 Server Certificate issuer used in Authentication + * + * @param string $val The serverCertificateIssuerCommonName + * + * @return IosikEv2VpnConfiguration + */ + public function setServerCertificateIssuerCommonName($val) + { + $this->_propDict["serverCertificateIssuerCommonName"] = $val; + return $this; + } + + /** + * Gets the serverCertificateType + * The type of certificate the VPN server will present to the VPN client for authentication. Possible values are: rsa, ecdsa256, ecdsa384, ecdsa521. + * + * @return VpnServerCertificateType|null The serverCertificateType + */ + public function getServerCertificateType() + { + if (array_key_exists("serverCertificateType", $this->_propDict)) { + if (is_a($this->_propDict["serverCertificateType"], "\Beta\Microsoft\Graph\Model\VpnServerCertificateType") || is_null($this->_propDict["serverCertificateType"])) { + return $this->_propDict["serverCertificateType"]; + } else { + $this->_propDict["serverCertificateType"] = new VpnServerCertificateType($this->_propDict["serverCertificateType"]); + return $this->_propDict["serverCertificateType"]; + } + } + return null; + } + + /** + * Sets the serverCertificateType + * The type of certificate the VPN server will present to the VPN client for authentication. Possible values are: rsa, ecdsa256, ecdsa384, ecdsa521. + * + * @param VpnServerCertificateType $val The serverCertificateType + * + * @return IosikEv2VpnConfiguration + */ + public function setServerCertificateType($val) + { + $this->_propDict["serverCertificateType"] = $val; + return $this; + } + + /** + * Gets the sharedSecret + * Used when Shared Secret Authentication is selected + * + * @return string|null The sharedSecret + */ + public function getSharedSecret() + { + if (array_key_exists("sharedSecret", $this->_propDict)) { + return $this->_propDict["sharedSecret"]; + } else { + return null; + } + } + + /** + * Sets the sharedSecret + * Used when Shared Secret Authentication is selected + * + * @param string $val The sharedSecret + * + * @return IosikEv2VpnConfiguration + */ + public function setSharedSecret($val) + { + $this->_propDict["sharedSecret"] = $val; + return $this; + } + + /** + * Gets the tlsMaximumVersion + * The maximum TLS version to be used with EAP-TLS authentication + * + * @return string|null The tlsMaximumVersion + */ + public function getTlsMaximumVersion() + { + if (array_key_exists("tlsMaximumVersion", $this->_propDict)) { + return $this->_propDict["tlsMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the tlsMaximumVersion + * The maximum TLS version to be used with EAP-TLS authentication + * + * @param string $val The tlsMaximumVersion + * + * @return IosikEv2VpnConfiguration + */ + public function setTlsMaximumVersion($val) + { + $this->_propDict["tlsMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the tlsMinimumVersion + * The minimum TLS version to be used with EAP-TLS authentication + * + * @return string|null The tlsMinimumVersion + */ + public function getTlsMinimumVersion() + { + if (array_key_exists("tlsMinimumVersion", $this->_propDict)) { + return $this->_propDict["tlsMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the tlsMinimumVersion + * The minimum TLS version to be used with EAP-TLS authentication + * + * @param string $val The tlsMinimumVersion + * + * @return IosikEv2VpnConfiguration + */ + public function setTlsMinimumVersion($val) + { + $this->_propDict["tlsMinimumVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpCategory.php new file mode 100644 index 0000000..80b0373 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpCategory.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return IpCategory + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return IpCategory + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the vendor + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * + * @param string $val The value of the vendor + * + * @return IpCategory + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php new file mode 100644 index 0000000..bab6d3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["ipRanges"]; + } else { + return null; + } + } + + /** + * Sets the ipRanges + * List of IP address ranges in IPv4 CIDR format (e.g. 1.2.3.4/32) or any allowable IPv6 format from IETF RFC596. Required. + * + * @param IpRange[] $val The ipRanges + * + * @return IpNamedLocation + */ + public function setIpRanges($val) + { + $this->_propDict["ipRanges"] = $val; + return $this; + } + + /** + * Gets the isTrusted + * true if this location is explicitly trusted. Optional. Default value is false. + * + * @return bool|null The isTrusted + */ + public function getIsTrusted() + { + if (array_key_exists("isTrusted", $this->_propDict)) { + return $this->_propDict["isTrusted"]; + } else { + return null; + } + } + + /** + * Sets the isTrusted + * true if this location is explicitly trusted. Optional. Default value is false. + * + * @param bool $val The isTrusted + * + * @return IpNamedLocation + */ + public function setIsTrusted($val) + { + $this->_propDict["isTrusted"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpRange.php new file mode 100644 index 0000000..c634411 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpRange.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["asn"]; + } else { + return null; + } + } + + /** + * Sets the asn + * + * @param int $val The value of the asn + * + * @return IpReferenceData + */ + public function setAsn($val) + { + $this->_propDict["asn"] = $val; + return $this; + } + /** + * Gets the city + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * + * @param string $val The value of the city + * + * @return IpReferenceData + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegionCode + * + * @return string|null The countryOrRegionCode + */ + public function getCountryOrRegionCode() + { + if (array_key_exists("countryOrRegionCode", $this->_propDict)) { + return $this->_propDict["countryOrRegionCode"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegionCode + * + * @param string $val The value of the countryOrRegionCode + * + * @return IpReferenceData + */ + public function setCountryOrRegionCode($val) + { + $this->_propDict["countryOrRegionCode"] = $val; + return $this; + } + /** + * Gets the organization + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * + * @param string $val The value of the organization + * + * @return IpReferenceData + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the state + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The value of the state + * + * @return IpReferenceData + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the vendor + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * + * @param string $val The value of the vendor + * + * @return IpReferenceData + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpSecurityProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpSecurityProfile.php new file mode 100644 index 0000000..c5bf4e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpSecurityProfile.php @@ -0,0 +1,392 @@ +_propDict)) { + return $this->_propDict["activityGroupNames"]; + } else { + return null; + } + } + + /** + * Sets the activityGroupNames + * + * @param string $val The activityGroupNames + * + * @return IpSecurityProfile + */ + public function setActivityGroupNames($val) + { + $this->_propDict["activityGroupNames"] = $val; + return $this; + } + + /** + * Gets the address + * + * @return string|null The address + */ + public function getAddress() + { + if (array_key_exists("address", $this->_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * + * @param string $val The address + * + * @return IpSecurityProfile + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the azureSubscriptionId + * + * @return string|null The azureSubscriptionId + */ + public function getAzureSubscriptionId() + { + if (array_key_exists("azureSubscriptionId", $this->_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * + * @param string $val The azureSubscriptionId + * + * @return IpSecurityProfile + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return IpSecurityProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the countHits + * + * @return int|null The countHits + */ + public function getCountHits() + { + if (array_key_exists("countHits", $this->_propDict)) { + return $this->_propDict["countHits"]; + } else { + return null; + } + } + + /** + * Sets the countHits + * + * @param int $val The countHits + * + * @return IpSecurityProfile + */ + public function setCountHits($val) + { + $this->_propDict["countHits"] = intval($val); + return $this; + } + + /** + * Gets the countHosts + * + * @return int|null The countHosts + */ + public function getCountHosts() + { + if (array_key_exists("countHosts", $this->_propDict)) { + return $this->_propDict["countHosts"]; + } else { + return null; + } + } + + /** + * Sets the countHosts + * + * @param int $val The countHosts + * + * @return IpSecurityProfile + */ + public function setCountHosts($val) + { + $this->_propDict["countHosts"] = intval($val); + return $this; + } + + /** + * Gets the firstSeenDateTime + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * + * @param \DateTime $val The firstSeenDateTime + * + * @return IpSecurityProfile + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the ipCategories + * + * @return array|null The ipCategories + */ + public function getIpCategories() + { + if (array_key_exists("ipCategories", $this->_propDict)) { + return $this->_propDict["ipCategories"]; + } else { + return null; + } + } + + /** + * Sets the ipCategories + * + * @param IpCategory[] $val The ipCategories + * + * @return IpSecurityProfile + */ + public function setIpCategories($val) + { + $this->_propDict["ipCategories"] = $val; + return $this; + } + + + /** + * Gets the ipReferenceData + * + * @return array|null The ipReferenceData + */ + public function getIpReferenceData() + { + if (array_key_exists("ipReferenceData", $this->_propDict)) { + return $this->_propDict["ipReferenceData"]; + } else { + return null; + } + } + + /** + * Sets the ipReferenceData + * + * @param IpReferenceData[] $val The ipReferenceData + * + * @return IpSecurityProfile + */ + public function setIpReferenceData($val) + { + $this->_propDict["ipReferenceData"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The lastSeenDateTime + * + * @return IpSecurityProfile + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The riskScore + * + * @return IpSecurityProfile + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the tags + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string $val The tags + * + * @return IpSecurityProfile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return IpSecurityProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Item.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Item.php new file mode 100644 index 0000000..f02af2d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Item.php @@ -0,0 +1,507 @@ +_propDict)) { + return $this->_propDict["baseUnitOfMeasureId"]; + } else { + return null; + } + } + + /** + * Sets the baseUnitOfMeasureId + * + * @param string $val The baseUnitOfMeasureId + * + * @return Item + */ + public function setBaseUnitOfMeasureId($val) + { + $this->_propDict["baseUnitOfMeasureId"] = $val; + return $this; + } + + /** + * Gets the blocked + * + * @return bool|null The blocked + */ + public function getBlocked() + { + if (array_key_exists("blocked", $this->_propDict)) { + return $this->_propDict["blocked"]; + } else { + return null; + } + } + + /** + * Sets the blocked + * + * @param bool $val The blocked + * + * @return Item + */ + public function setBlocked($val) + { + $this->_propDict["blocked"] = boolval($val); + return $this; + } + + /** + * 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 displayName + * + * @return Item + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the gtin + * + * @return string|null The gtin + */ + public function getGtin() + { + if (array_key_exists("gtin", $this->_propDict)) { + return $this->_propDict["gtin"]; + } else { + return null; + } + } + + /** + * Sets the gtin + * + * @param string $val The gtin + * + * @return Item + */ + public function setGtin($val) + { + $this->_propDict["gtin"] = $val; + return $this; + } + + /** + * Gets the inventory + * + * @return Decimal|null The inventory + */ + public function getInventory() + { + if (array_key_exists("inventory", $this->_propDict)) { + if (is_a($this->_propDict["inventory"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["inventory"])) { + return $this->_propDict["inventory"]; + } else { + $this->_propDict["inventory"] = new Decimal($this->_propDict["inventory"]); + return $this->_propDict["inventory"]; + } + } + return null; + } + + /** + * Sets the inventory + * + * @param Decimal $val The inventory + * + * @return Item + */ + public function setInventory($val) + { + $this->_propDict["inventory"] = $val; + return $this; + } + + /** + * Gets the itemCategoryCode + * + * @return string|null The itemCategoryCode + */ + public function getItemCategoryCode() + { + if (array_key_exists("itemCategoryCode", $this->_propDict)) { + return $this->_propDict["itemCategoryCode"]; + } else { + return null; + } + } + + /** + * Sets the itemCategoryCode + * + * @param string $val The itemCategoryCode + * + * @return Item + */ + public function setItemCategoryCode($val) + { + $this->_propDict["itemCategoryCode"] = $val; + return $this; + } + + /** + * Gets the itemCategoryId + * + * @return string|null The itemCategoryId + */ + public function getItemCategoryId() + { + if (array_key_exists("itemCategoryId", $this->_propDict)) { + return $this->_propDict["itemCategoryId"]; + } else { + return null; + } + } + + /** + * Sets the itemCategoryId + * + * @param string $val The itemCategoryId + * + * @return Item + */ + public function setItemCategoryId($val) + { + $this->_propDict["itemCategoryId"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Item + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return Item + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the priceIncludesTax + * + * @return bool|null The priceIncludesTax + */ + public function getPriceIncludesTax() + { + if (array_key_exists("priceIncludesTax", $this->_propDict)) { + return $this->_propDict["priceIncludesTax"]; + } else { + return null; + } + } + + /** + * Sets the priceIncludesTax + * + * @param bool $val The priceIncludesTax + * + * @return Item + */ + public function setPriceIncludesTax($val) + { + $this->_propDict["priceIncludesTax"] = boolval($val); + return $this; + } + + /** + * Gets the taxGroupCode + * + * @return string|null The taxGroupCode + */ + public function getTaxGroupCode() + { + if (array_key_exists("taxGroupCode", $this->_propDict)) { + return $this->_propDict["taxGroupCode"]; + } else { + return null; + } + } + + /** + * Sets the taxGroupCode + * + * @param string $val The taxGroupCode + * + * @return Item + */ + public function setTaxGroupCode($val) + { + $this->_propDict["taxGroupCode"] = $val; + return $this; + } + + /** + * Gets the taxGroupId + * + * @return string|null The taxGroupId + */ + public function getTaxGroupId() + { + if (array_key_exists("taxGroupId", $this->_propDict)) { + return $this->_propDict["taxGroupId"]; + } else { + return null; + } + } + + /** + * Sets the taxGroupId + * + * @param string $val The taxGroupId + * + * @return Item + */ + public function setTaxGroupId($val) + { + $this->_propDict["taxGroupId"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return Item + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the unitCost + * + * @return Decimal|null The unitCost + */ + public function getUnitCost() + { + if (array_key_exists("unitCost", $this->_propDict)) { + if (is_a($this->_propDict["unitCost"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitCost"])) { + return $this->_propDict["unitCost"]; + } else { + $this->_propDict["unitCost"] = new Decimal($this->_propDict["unitCost"]); + return $this->_propDict["unitCost"]; + } + } + return null; + } + + /** + * Sets the unitCost + * + * @param Decimal $val The unitCost + * + * @return Item + */ + public function setUnitCost($val) + { + $this->_propDict["unitCost"] = $val; + return $this; + } + + /** + * Gets the unitPrice + * + * @return Decimal|null The unitPrice + */ + public function getUnitPrice() + { + if (array_key_exists("unitPrice", $this->_propDict)) { + if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitPrice"])) { + return $this->_propDict["unitPrice"]; + } else { + $this->_propDict["unitPrice"] = new Decimal($this->_propDict["unitPrice"]); + return $this->_propDict["unitPrice"]; + } + } + return null; + } + + /** + * Sets the unitPrice + * + * @param Decimal $val The unitPrice + * + * @return Item + */ + public function setUnitPrice($val) + { + $this->_propDict["unitPrice"] = $val; + return $this; + } + + /** + * Gets the itemCategory + * + * @return ItemCategory|null The itemCategory + */ + public function getItemCategory() + { + if (array_key_exists("itemCategory", $this->_propDict)) { + if (is_a($this->_propDict["itemCategory"], "\Beta\Microsoft\Graph\Model\ItemCategory") || is_null($this->_propDict["itemCategory"])) { + return $this->_propDict["itemCategory"]; + } else { + $this->_propDict["itemCategory"] = new ItemCategory($this->_propDict["itemCategory"]); + return $this->_propDict["itemCategory"]; + } + } + return null; + } + + /** + * Sets the itemCategory + * + * @param ItemCategory $val The itemCategory + * + * @return Item + */ + public function setItemCategory($val) + { + $this->_propDict["itemCategory"] = $val; + return $this; + } + + + /** + * Gets the picture + * + * @return array|null The picture + */ + public function getPicture() + { + if (array_key_exists("picture", $this->_propDict)) { + return $this->_propDict["picture"]; + } else { + return null; + } + } + + /** + * Sets the picture + * + * @param Picture[] $val The picture + * + * @return Item + */ + public function setPicture($val) + { + $this->_propDict["picture"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionSet.php new file mode 100644 index 0000000..9515a73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionSet.php @@ -0,0 +1,356 @@ +_propDict)) { + if (is_a($this->_propDict["comment"], "\Beta\Microsoft\Graph\Model\CommentAction") || is_null($this->_propDict["comment"])) { + return $this->_propDict["comment"]; + } else { + $this->_propDict["comment"] = new CommentAction($this->_propDict["comment"]); + return $this->_propDict["comment"]; + } + } + return null; + } + + /** + * Sets the comment + * A comment was added to the item. + * + * @param CommentAction $val The value to assign to the comment + * + * @return ItemActionSet The ItemActionSet + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + + /** + * Gets the create + * An item was created. + * + * @return CreateAction|null The create + */ + public function getCreate() + { + if (array_key_exists("create", $this->_propDict)) { + if (is_a($this->_propDict["create"], "\Beta\Microsoft\Graph\Model\CreateAction") || is_null($this->_propDict["create"])) { + return $this->_propDict["create"]; + } else { + $this->_propDict["create"] = new CreateAction($this->_propDict["create"]); + return $this->_propDict["create"]; + } + } + return null; + } + + /** + * Sets the create + * An item was created. + * + * @param CreateAction $val The value to assign to the create + * + * @return ItemActionSet The ItemActionSet + */ + public function setCreate($val) + { + $this->_propDict["create"] = $val; + return $this; + } + + /** + * Gets the delete + * An item was deleted. + * + * @return DeleteAction|null The delete + */ + public function getDelete() + { + if (array_key_exists("delete", $this->_propDict)) { + if (is_a($this->_propDict["delete"], "\Beta\Microsoft\Graph\Model\DeleteAction") || is_null($this->_propDict["delete"])) { + return $this->_propDict["delete"]; + } else { + $this->_propDict["delete"] = new DeleteAction($this->_propDict["delete"]); + return $this->_propDict["delete"]; + } + } + return null; + } + + /** + * Sets the delete + * An item was deleted. + * + * @param DeleteAction $val The value to assign to the delete + * + * @return ItemActionSet The ItemActionSet + */ + public function setDelete($val) + { + $this->_propDict["delete"] = $val; + return $this; + } + + /** + * Gets the edit + * An item was edited. + * + * @return EditAction|null The edit + */ + public function getEdit() + { + if (array_key_exists("edit", $this->_propDict)) { + if (is_a($this->_propDict["edit"], "\Beta\Microsoft\Graph\Model\EditAction") || is_null($this->_propDict["edit"])) { + return $this->_propDict["edit"]; + } else { + $this->_propDict["edit"] = new EditAction($this->_propDict["edit"]); + return $this->_propDict["edit"]; + } + } + return null; + } + + /** + * Sets the edit + * An item was edited. + * + * @param EditAction $val The value to assign to the edit + * + * @return ItemActionSet The ItemActionSet + */ + public function setEdit($val) + { + $this->_propDict["edit"] = $val; + return $this; + } + + /** + * Gets the mention + * A user was mentioned in the item. + * + * @return MentionAction|null The mention + */ + public function getMention() + { + if (array_key_exists("mention", $this->_propDict)) { + if (is_a($this->_propDict["mention"], "\Beta\Microsoft\Graph\Model\MentionAction") || is_null($this->_propDict["mention"])) { + return $this->_propDict["mention"]; + } else { + $this->_propDict["mention"] = new MentionAction($this->_propDict["mention"]); + return $this->_propDict["mention"]; + } + } + return null; + } + + /** + * Sets the mention + * A user was mentioned in the item. + * + * @param MentionAction $val The value to assign to the mention + * + * @return ItemActionSet The ItemActionSet + */ + public function setMention($val) + { + $this->_propDict["mention"] = $val; + return $this; + } + + /** + * Gets the move + * An item was moved. + * + * @return MoveAction|null The move + */ + public function getMove() + { + if (array_key_exists("move", $this->_propDict)) { + if (is_a($this->_propDict["move"], "\Beta\Microsoft\Graph\Model\MoveAction") || is_null($this->_propDict["move"])) { + return $this->_propDict["move"]; + } else { + $this->_propDict["move"] = new MoveAction($this->_propDict["move"]); + return $this->_propDict["move"]; + } + } + return null; + } + + /** + * Sets the move + * An item was moved. + * + * @param MoveAction $val The value to assign to the move + * + * @return ItemActionSet The ItemActionSet + */ + public function setMove($val) + { + $this->_propDict["move"] = $val; + return $this; + } + + /** + * Gets the rename + * An item was renamed. + * + * @return RenameAction|null The rename + */ + public function getRename() + { + if (array_key_exists("rename", $this->_propDict)) { + if (is_a($this->_propDict["rename"], "\Beta\Microsoft\Graph\Model\RenameAction") || is_null($this->_propDict["rename"])) { + return $this->_propDict["rename"]; + } else { + $this->_propDict["rename"] = new RenameAction($this->_propDict["rename"]); + return $this->_propDict["rename"]; + } + } + return null; + } + + /** + * Sets the rename + * An item was renamed. + * + * @param RenameAction $val The value to assign to the rename + * + * @return ItemActionSet The ItemActionSet + */ + public function setRename($val) + { + $this->_propDict["rename"] = $val; + return $this; + } + + /** + * Gets the restore + * An item was restored. + * + * @return RestoreAction|null The restore + */ + public function getRestore() + { + if (array_key_exists("restore", $this->_propDict)) { + if (is_a($this->_propDict["restore"], "\Beta\Microsoft\Graph\Model\RestoreAction") || is_null($this->_propDict["restore"])) { + return $this->_propDict["restore"]; + } else { + $this->_propDict["restore"] = new RestoreAction($this->_propDict["restore"]); + return $this->_propDict["restore"]; + } + } + return null; + } + + /** + * Sets the restore + * An item was restored. + * + * @param RestoreAction $val The value to assign to the restore + * + * @return ItemActionSet The ItemActionSet + */ + public function setRestore($val) + { + $this->_propDict["restore"] = $val; + return $this; + } + + /** + * Gets the share + * An item was shared. + * + * @return ShareAction|null The share + */ + public function getShare() + { + if (array_key_exists("share", $this->_propDict)) { + if (is_a($this->_propDict["share"], "\Beta\Microsoft\Graph\Model\ShareAction") || is_null($this->_propDict["share"])) { + return $this->_propDict["share"]; + } else { + $this->_propDict["share"] = new ShareAction($this->_propDict["share"]); + return $this->_propDict["share"]; + } + } + return null; + } + + /** + * Sets the share + * An item was shared. + * + * @param ShareAction $val The value to assign to the share + * + * @return ItemActionSet The ItemActionSet + */ + public function setShare($val) + { + $this->_propDict["share"] = $val; + return $this; + } + + /** + * Gets the version + * An item was versioned. + * + * @return VersionAction|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + if (is_a($this->_propDict["version"], "\Beta\Microsoft\Graph\Model\VersionAction") || is_null($this->_propDict["version"])) { + return $this->_propDict["version"]; + } else { + $this->_propDict["version"] = new VersionAction($this->_propDict["version"]); + return $this->_propDict["version"]; + } + } + return null; + } + + /** + * Sets the version + * An item was versioned. + * + * @param VersionAction $val The value to assign to the version + * + * @return ItemActionSet The ItemActionSet + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionStat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionStat.php new file mode 100644 index 0000000..f7dadd3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionStat.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["actionCount"]; + } else { + return null; + } + } + + /** + * Sets the actionCount + * The number of times the action took place. Read-only. + * + * @param int $val The value of the actionCount + * + * @return ItemActionStat + */ + public function setActionCount($val) + { + $this->_propDict["actionCount"] = $val; + return $this; + } + /** + * Gets the actorCount + * The number of distinct actors that performed the action. Read-only. + * + * @return int|null The actorCount + */ + public function getActorCount() + { + if (array_key_exists("actorCount", $this->_propDict)) { + return $this->_propDict["actorCount"]; + } else { + return null; + } + } + + /** + * Sets the actorCount + * The number of distinct actors that performed the action. Read-only. + * + * @param int $val The value of the actorCount + * + * @return ItemActionStat + */ + public function setActorCount($val) + { + $this->_propDict["actorCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivity.php new file mode 100644 index 0000000..6dafbbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivity.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["access"], "\Beta\Microsoft\Graph\Model\AccessAction") || is_null($this->_propDict["access"])) { + return $this->_propDict["access"]; + } else { + $this->_propDict["access"] = new AccessAction($this->_propDict["access"]); + return $this->_propDict["access"]; + } + } + return null; + } + + /** + * Sets the access + * An item was accessed. + * + * @param AccessAction $val The access + * + * @return ItemActivity + */ + public function setAccess($val) + { + $this->_propDict["access"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * Details about when the activity took place. Read-only. + * + * @return \DateTime|null The activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Details about when the activity took place. Read-only. + * + * @param \DateTime $val The activityDateTime + * + * @return ItemActivity + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the actor + * Identity of who performed the action. Read-only. + * + * @return IdentitySet|null The actor + */ + public function getActor() + { + if (array_key_exists("actor", $this->_propDict)) { + if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["actor"])) { + return $this->_propDict["actor"]; + } else { + $this->_propDict["actor"] = new IdentitySet($this->_propDict["actor"]); + return $this->_propDict["actor"]; + } + } + return null; + } + + /** + * Sets the actor + * Identity of who performed the action. Read-only. + * + * @param IdentitySet $val The actor + * + * @return ItemActivity + */ + public function setActor($val) + { + $this->_propDict["actor"] = $val; + return $this; + } + + /** + * Gets the driveItem + * Exposes the driveItem that was the target of this activity. + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * Exposes the driveItem that was the target of this activity. + * + * @param DriveItem $val The driveItem + * + * @return ItemActivity + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityOLD.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityOLD.php new file mode 100644 index 0000000..09e36be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityOLD.php @@ -0,0 +1,182 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\ItemActionSet") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new ItemActionSet($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * + * @param ItemActionSet $val The action + * + * @return ItemActivityOLD + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the actor + * + * @return IdentitySet|null The actor + */ + public function getActor() + { + if (array_key_exists("actor", $this->_propDict)) { + if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["actor"])) { + return $this->_propDict["actor"]; + } else { + $this->_propDict["actor"] = new IdentitySet($this->_propDict["actor"]); + return $this->_propDict["actor"]; + } + } + return null; + } + + /** + * Sets the actor + * + * @param IdentitySet $val The actor + * + * @return ItemActivityOLD + */ + public function setActor($val) + { + $this->_propDict["actor"] = $val; + return $this; + } + + /** + * Gets the times + * + * @return ItemActivityTimeSet|null The times + */ + public function getTimes() + { + if (array_key_exists("times", $this->_propDict)) { + if (is_a($this->_propDict["times"], "\Beta\Microsoft\Graph\Model\ItemActivityTimeSet") || is_null($this->_propDict["times"])) { + return $this->_propDict["times"]; + } else { + $this->_propDict["times"] = new ItemActivityTimeSet($this->_propDict["times"]); + return $this->_propDict["times"]; + } + } + return null; + } + + /** + * Sets the times + * + * @param ItemActivityTimeSet $val The times + * + * @return ItemActivityOLD + */ + public function setTimes($val) + { + $this->_propDict["times"] = $val; + return $this; + } + + /** + * Gets the driveItem + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * + * @param DriveItem $val The driveItem + * + * @return ItemActivityOLD + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + + /** + * Gets the listItem + * + * @return ListItem|null The listItem + */ + public function getListItem() + { + if (array_key_exists("listItem", $this->_propDict)) { + if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\ListItem") || is_null($this->_propDict["listItem"])) { + return $this->_propDict["listItem"]; + } else { + $this->_propDict["listItem"] = new ListItem($this->_propDict["listItem"]); + return $this->_propDict["listItem"]; + } + } + return null; + } + + /** + * Sets the listItem + * + * @param ListItem $val The listItem + * + * @return ItemActivityOLD + */ + public function setListItem($val) + { + $this->_propDict["listItem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityStat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityStat.php new file mode 100644 index 0000000..dcded03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityStat.php @@ -0,0 +1,350 @@ +_propDict)) { + if (is_a($this->_propDict["access"], "\Beta\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["access"])) { + return $this->_propDict["access"]; + } else { + $this->_propDict["access"] = new ItemActionStat($this->_propDict["access"]); + return $this->_propDict["access"]; + } + } + return null; + } + + /** + * Sets the access + * Statistics about the access actions in this interval. Read-only. + * + * @param ItemActionStat $val The access + * + * @return ItemActivityStat + */ + public function setAccess($val) + { + $this->_propDict["access"] = $val; + return $this; + } + + /** + * Gets the create + * Statistics about the create actions in this interval. Read-only. + * + * @return ItemActionStat|null The create + */ + public function getCreate() + { + if (array_key_exists("create", $this->_propDict)) { + if (is_a($this->_propDict["create"], "\Beta\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["create"])) { + return $this->_propDict["create"]; + } else { + $this->_propDict["create"] = new ItemActionStat($this->_propDict["create"]); + return $this->_propDict["create"]; + } + } + return null; + } + + /** + * Sets the create + * Statistics about the create actions in this interval. Read-only. + * + * @param ItemActionStat $val The create + * + * @return ItemActivityStat + */ + public function setCreate($val) + { + $this->_propDict["create"] = $val; + return $this; + } + + /** + * Gets the delete + * Statistics about the delete actions in this interval. Read-only. + * + * @return ItemActionStat|null The delete + */ + public function getDelete() + { + if (array_key_exists("delete", $this->_propDict)) { + if (is_a($this->_propDict["delete"], "\Beta\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["delete"])) { + return $this->_propDict["delete"]; + } else { + $this->_propDict["delete"] = new ItemActionStat($this->_propDict["delete"]); + return $this->_propDict["delete"]; + } + } + return null; + } + + /** + * Sets the delete + * Statistics about the delete actions in this interval. Read-only. + * + * @param ItemActionStat $val The delete + * + * @return ItemActivityStat + */ + public function setDelete($val) + { + $this->_propDict["delete"] = $val; + return $this; + } + + /** + * Gets the edit + * Statistics about the edit actions in this interval. Read-only. + * + * @return ItemActionStat|null The edit + */ + public function getEdit() + { + if (array_key_exists("edit", $this->_propDict)) { + if (is_a($this->_propDict["edit"], "\Beta\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["edit"])) { + return $this->_propDict["edit"]; + } else { + $this->_propDict["edit"] = new ItemActionStat($this->_propDict["edit"]); + return $this->_propDict["edit"]; + } + } + return null; + } + + /** + * Sets the edit + * Statistics about the edit actions in this interval. Read-only. + * + * @param ItemActionStat $val The edit + * + * @return ItemActivityStat + */ + public function setEdit($val) + { + $this->_propDict["edit"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * When the interval ends. Read-only. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * When the interval ends. Read-only. + * + * @param \DateTime $val The endDateTime + * + * @return ItemActivityStat + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the incompleteData + * Indicates that the statistics in this interval are based on incomplete data. Read-only. + * + * @return IncompleteData|null The incompleteData + */ + public function getIncompleteData() + { + if (array_key_exists("incompleteData", $this->_propDict)) { + if (is_a($this->_propDict["incompleteData"], "\Beta\Microsoft\Graph\Model\IncompleteData") || is_null($this->_propDict["incompleteData"])) { + return $this->_propDict["incompleteData"]; + } else { + $this->_propDict["incompleteData"] = new IncompleteData($this->_propDict["incompleteData"]); + return $this->_propDict["incompleteData"]; + } + } + return null; + } + + /** + * Sets the incompleteData + * Indicates that the statistics in this interval are based on incomplete data. Read-only. + * + * @param IncompleteData $val The incompleteData + * + * @return ItemActivityStat + */ + public function setIncompleteData($val) + { + $this->_propDict["incompleteData"] = $val; + return $this; + } + + /** + * Gets the isTrending + * Indicates whether the item is 'trending.' Read-only. + * + * @return bool|null The isTrending + */ + public function getIsTrending() + { + if (array_key_exists("isTrending", $this->_propDict)) { + return $this->_propDict["isTrending"]; + } else { + return null; + } + } + + /** + * Sets the isTrending + * Indicates whether the item is 'trending.' Read-only. + * + * @param bool $val The isTrending + * + * @return ItemActivityStat + */ + public function setIsTrending($val) + { + $this->_propDict["isTrending"] = boolval($val); + return $this; + } + + /** + * Gets the move + * Statistics about the move actions in this interval. Read-only. + * + * @return ItemActionStat|null The move + */ + public function getMove() + { + if (array_key_exists("move", $this->_propDict)) { + if (is_a($this->_propDict["move"], "\Beta\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["move"])) { + return $this->_propDict["move"]; + } else { + $this->_propDict["move"] = new ItemActionStat($this->_propDict["move"]); + return $this->_propDict["move"]; + } + } + return null; + } + + /** + * Sets the move + * Statistics about the move actions in this interval. Read-only. + * + * @param ItemActionStat $val The move + * + * @return ItemActivityStat + */ + public function setMove($val) + { + $this->_propDict["move"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * When the interval starts. Read-only. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * When the interval starts. Read-only. + * + * @param \DateTime $val The startDateTime + * + * @return ItemActivityStat + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + + /** + * Gets the activities + * Exposes the itemActivities represented in this itemActivityStat resource. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * Exposes the itemActivities represented in this itemActivityStat resource. + * + * @param ItemActivity[] $val The activities + * + * @return ItemActivityStat + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityTimeSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityTimeSet.php new file mode 100644 index 0000000..cd17b75 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityTimeSet.php @@ -0,0 +1,123 @@ +_propDict)) { + if (is_a($this->_propDict["lastRecordedDateTime"], "\DateTime") || is_null($this->_propDict["lastRecordedDateTime"])) { + return $this->_propDict["lastRecordedDateTime"]; + } else { + $this->_propDict["lastRecordedDateTime"] = new \DateTime($this->_propDict["lastRecordedDateTime"]); + return $this->_propDict["lastRecordedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRecordedDateTime + * + * @param \DateTime $val The value to assign to the lastRecordedDateTime + * + * @return ItemActivityTimeSet The ItemActivityTimeSet + */ + public function setLastRecordedDateTime($val) + { + $this->_propDict["lastRecordedDateTime"] = $val; + return $this; + } + + /** + * Gets the observedDateTime + * When the activity was observed to take place. + * + * @return \DateTime|null The observedDateTime + */ + public function getObservedDateTime() + { + if (array_key_exists("observedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["observedDateTime"], "\DateTime") || is_null($this->_propDict["observedDateTime"])) { + return $this->_propDict["observedDateTime"]; + } else { + $this->_propDict["observedDateTime"] = new \DateTime($this->_propDict["observedDateTime"]); + return $this->_propDict["observedDateTime"]; + } + } + return null; + } + + /** + * Sets the observedDateTime + * When the activity was observed to take place. + * + * @param \DateTime $val The value to assign to the observedDateTime + * + * @return ItemActivityTimeSet The ItemActivityTimeSet + */ + public function setObservedDateTime($val) + { + $this->_propDict["observedDateTime"] = $val; + return $this; + } + + /** + * Gets the recordedDateTime + * When the observation was recorded on the service. + * + * @return \DateTime|null The recordedDateTime + */ + public function getRecordedDateTime() + { + if (array_key_exists("recordedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["recordedDateTime"], "\DateTime") || is_null($this->_propDict["recordedDateTime"])) { + return $this->_propDict["recordedDateTime"]; + } else { + $this->_propDict["recordedDateTime"] = new \DateTime($this->_propDict["recordedDateTime"]); + return $this->_propDict["recordedDateTime"]; + } + } + return null; + } + + /** + * Sets the recordedDateTime + * When the observation was recorded on the service. + * + * @param \DateTime $val The value to assign to the recordedDateTime + * + * @return ItemActivityTimeSet The ItemActivityTimeSet + */ + public function setRecordedDateTime($val) + { + $this->_propDict["recordedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAddress.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAddress.php new file mode 100644 index 0000000..134cc49 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAddress.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new PhysicalAddress($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * Details about the address itself. + * + * @param PhysicalAddress $val The detail + * + * @return ItemAddress + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the displayName + * Friendly name the user has assigned to this address. + * + * @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 + * Friendly name the user has assigned to this address. + * + * @param string $val The displayName + * + * @return ItemAddress + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the geoCoordinates + * The geocoordinates of the address. + * + * @return GeoCoordinates|null The geoCoordinates + */ + public function getGeoCoordinates() + { + if (array_key_exists("geoCoordinates", $this->_propDict)) { + if (is_a($this->_propDict["geoCoordinates"], "\Beta\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["geoCoordinates"])) { + return $this->_propDict["geoCoordinates"]; + } else { + $this->_propDict["geoCoordinates"] = new GeoCoordinates($this->_propDict["geoCoordinates"]); + return $this->_propDict["geoCoordinates"]; + } + } + return null; + } + + /** + * Sets the geoCoordinates + * The geocoordinates of the address. + * + * @param GeoCoordinates $val The geoCoordinates + * + * @return ItemAddress + */ + public function setGeoCoordinates($val) + { + $this->_propDict["geoCoordinates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAnalytics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAnalytics.php new file mode 100644 index 0000000..b5431fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAnalytics.php @@ -0,0 +1,117 @@ +_propDict)) { + if (is_a($this->_propDict["allTime"], "\Beta\Microsoft\Graph\Model\ItemActivityStat") || is_null($this->_propDict["allTime"])) { + return $this->_propDict["allTime"]; + } else { + $this->_propDict["allTime"] = new ItemActivityStat($this->_propDict["allTime"]); + return $this->_propDict["allTime"]; + } + } + return null; + } + + /** + * Sets the allTime + * + * @param ItemActivityStat $val The allTime + * + * @return ItemAnalytics + */ + public function setAllTime($val) + { + $this->_propDict["allTime"] = $val; + return $this; + } + + + /** + * Gets the itemActivityStats + * + * @return array|null The itemActivityStats + */ + public function getItemActivityStats() + { + if (array_key_exists("itemActivityStats", $this->_propDict)) { + return $this->_propDict["itemActivityStats"]; + } else { + return null; + } + } + + /** + * Sets the itemActivityStats + * + * @param ItemActivityStat[] $val The itemActivityStats + * + * @return ItemAnalytics + */ + public function setItemActivityStats($val) + { + $this->_propDict["itemActivityStats"] = $val; + return $this; + } + + /** + * Gets the lastSevenDays + * + * @return ItemActivityStat|null The lastSevenDays + */ + public function getLastSevenDays() + { + if (array_key_exists("lastSevenDays", $this->_propDict)) { + if (is_a($this->_propDict["lastSevenDays"], "\Beta\Microsoft\Graph\Model\ItemActivityStat") || is_null($this->_propDict["lastSevenDays"])) { + return $this->_propDict["lastSevenDays"]; + } else { + $this->_propDict["lastSevenDays"] = new ItemActivityStat($this->_propDict["lastSevenDays"]); + return $this->_propDict["lastSevenDays"]; + } + } + return null; + } + + /** + * Sets the lastSevenDays + * + * @param ItemActivityStat $val The lastSevenDays + * + * @return ItemAnalytics + */ + public function setLastSevenDays($val) + { + $this->_propDict["lastSevenDays"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAttachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAttachment.php new file mode 100644 index 0000000..6bb8f9c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAttachment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\OutlookItem") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new OutlookItem($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * The attached contact, message or event. Navigation property. + * + * @param OutlookItem $val The item + * + * @return ItemAttachment + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemBody.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemBody.php new file mode 100644 index 0000000..325471e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemBody.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of the item. + * + * @param string $val The value of the content + * + * @return ItemBody + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * The type of the content. Possible values are text and html. + * + * @return BodyType|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\BodyType") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new BodyType($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The type of the content. Possible values are text and html. + * + * @param BodyType $val The value to assign to the contentType + * + * @return ItemBody The ItemBody + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemCategory.php new file mode 100644 index 0000000..44f8006 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemCategory.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return ItemCategory + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return ItemCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ItemCategory + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemEmail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemEmail.php new file mode 100644 index 0000000..27b4f7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemEmail.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address itself. + * + * @param string $val The address + * + * @return ItemEmail + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name or label a user has associated with a particular email address. + * + * @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 + * The name or label a user has associated with a particular email address. + * + * @param string $val The displayName + * + * @return ItemEmail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the type + * The type of email address. Possible values are: unknown, work, personal, main, other. + * + * @return EmailType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EmailType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new EmailType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of email address. Possible values are: unknown, work, personal, main, other. + * + * @param EmailType $val The type + * + * @return ItemEmail + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemFacet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemFacet.php new file mode 100644 index 0000000..f0b8ef0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemFacet.php @@ -0,0 +1,285 @@ +_propDict)) { + if (is_a($this->_propDict["allowedAudiences"], "\Beta\Microsoft\Graph\Model\AllowedAudiences") || is_null($this->_propDict["allowedAudiences"])) { + return $this->_propDict["allowedAudiences"]; + } else { + $this->_propDict["allowedAudiences"] = new AllowedAudiences($this->_propDict["allowedAudiences"]); + return $this->_propDict["allowedAudiences"]; + } + } + return null; + } + + /** + * Sets the allowedAudiences + * The audiences that are able to see the values contained within the associated entity. Possible values are: me, family, contacts, groupMembers, organization, federatedOrganizations, everyone, unknownFutureValue. + * + * @param AllowedAudiences $val The allowedAudiences + * + * @return ItemFacet + */ + public function setAllowedAudiences($val) + { + $this->_propDict["allowedAudiences"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Provides the identifier of the user and/or application that created the entity. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Provides the identifier of the user and/or application that created the entity. + * + * @param IdentitySet $val The createdBy + * + * @return ItemFacet + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Provides the dateTimeOffset for when the entity was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Provides the dateTimeOffset for when the entity was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ItemFacet + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the inference + * Contains inference detail if the entity is inferred by the creating or modifying application. + * + * @return InferenceData|null The inference + */ + public function getInference() + { + if (array_key_exists("inference", $this->_propDict)) { + if (is_a($this->_propDict["inference"], "\Beta\Microsoft\Graph\Model\InferenceData") || is_null($this->_propDict["inference"])) { + return $this->_propDict["inference"]; + } else { + $this->_propDict["inference"] = new InferenceData($this->_propDict["inference"]); + return $this->_propDict["inference"]; + } + } + return null; + } + + /** + * Sets the inference + * Contains inference detail if the entity is inferred by the creating or modifying application. + * + * @param InferenceData $val The inference + * + * @return ItemFacet + */ + public function setInference($val) + { + $this->_propDict["inference"] = $val; + return $this; + } + + /** + * Gets the isSearchable + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * + * @param bool $val The isSearchable + * + * @return ItemFacet + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * Provides the identifier of the user and/or application that last modified the entity. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Provides the identifier of the user and/or application that last modified the entity. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return ItemFacet + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Provides the dateTimeOffset for when the entity was created. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Provides the dateTimeOffset for when the entity was created. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ItemFacet + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the source + * Where the values within an entity originated if synced from another service. + * + * @return PersonDataSources|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\PersonDataSources") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new PersonDataSources($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Where the values within an entity originated if synced from another service. + * + * @param PersonDataSources $val The source + * + * @return ItemFacet + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemInsights.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemInsights.php new file mode 100644 index 0000000..37f46e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemInsights.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Descpription of the patent or filing. + * + * @param string $val The description + * + * @return ItemPatent + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Title of the patent or filing. + * + * @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 + * Title of the patent or filing. + * + * @param string $val The displayName + * + * @return ItemPatent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isPending + * Indicates the patent is pending. + * + * @return bool|null The isPending + */ + public function getIsPending() + { + if (array_key_exists("isPending", $this->_propDict)) { + return $this->_propDict["isPending"]; + } else { + return null; + } + } + + /** + * Sets the isPending + * Indicates the patent is pending. + * + * @param bool $val The isPending + * + * @return ItemPatent + */ + public function setIsPending($val) + { + $this->_propDict["isPending"] = boolval($val); + return $this; + } + + /** + * Gets the issuedDate + * The date that the patent was granted. + * + * @return \DateTime|null The issuedDate + */ + public function getIssuedDate() + { + if (array_key_exists("issuedDate", $this->_propDict)) { + if (is_a($this->_propDict["issuedDate"], "\DateTime") || is_null($this->_propDict["issuedDate"])) { + return $this->_propDict["issuedDate"]; + } else { + $this->_propDict["issuedDate"] = new \DateTime($this->_propDict["issuedDate"]); + return $this->_propDict["issuedDate"]; + } + } + return null; + } + + /** + * Sets the issuedDate + * The date that the patent was granted. + * + * @param \DateTime $val The issuedDate + * + * @return ItemPatent + */ + public function setIssuedDate($val) + { + $this->_propDict["issuedDate"] = $val; + return $this; + } + + /** + * Gets the issuingAuthority + * Authority which granted the patent. + * + * @return string|null The issuingAuthority + */ + public function getIssuingAuthority() + { + if (array_key_exists("issuingAuthority", $this->_propDict)) { + return $this->_propDict["issuingAuthority"]; + } else { + return null; + } + } + + /** + * Sets the issuingAuthority + * Authority which granted the patent. + * + * @param string $val The issuingAuthority + * + * @return ItemPatent + */ + public function setIssuingAuthority($val) + { + $this->_propDict["issuingAuthority"] = $val; + return $this; + } + + /** + * Gets the number + * The patent number. + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * The patent number. + * + * @param string $val The number + * + * @return ItemPatent + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the webUrl + * URL referencing the patent or filing. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL referencing the patent or filing. + * + * @param string $val The webUrl + * + * @return ItemPatent + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPhone.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPhone.php new file mode 100644 index 0000000..d191698 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPhone.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Friendly name the user has assigned this phone number. + * + * @param string $val The displayName + * + * @return ItemPhone + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the number + * Phone number provided by the user. + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * Phone number provided by the user. + * + * @param string $val The number + * + * @return ItemPhone + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the type + * The type of phone number within the object. Possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + * + * @return PhoneType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PhoneType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PhoneType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of phone number within the object. Possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + * + * @param PhoneType $val The type + * + * @return ItemPhone + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPreviewInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPreviewInfo.php new file mode 100644 index 0000000..f3c338d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPreviewInfo.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["getUrl"]; + } else { + return null; + } + } + + /** + * Sets the getUrl + * + * @param string $val The value of the getUrl + * + * @return ItemPreviewInfo + */ + public function setGetUrl($val) + { + $this->_propDict["getUrl"] = $val; + return $this; + } + /** + * Gets the postParameters + * + * @return string|null The postParameters + */ + public function getPostParameters() + { + if (array_key_exists("postParameters", $this->_propDict)) { + return $this->_propDict["postParameters"]; + } else { + return null; + } + } + + /** + * Sets the postParameters + * + * @param string $val The value of the postParameters + * + * @return ItemPreviewInfo + */ + public function setPostParameters($val) + { + $this->_propDict["postParameters"] = $val; + return $this; + } + /** + * Gets the postUrl + * + * @return string|null The postUrl + */ + public function getPostUrl() + { + if (array_key_exists("postUrl", $this->_propDict)) { + return $this->_propDict["postUrl"]; + } else { + return null; + } + } + + /** + * Sets the postUrl + * + * @param string $val The value of the postUrl + * + * @return ItemPreviewInfo + */ + public function setPostUrl($val) + { + $this->_propDict["postUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPublication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPublication.php new file mode 100644 index 0000000..d7b0bc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPublication.php @@ -0,0 +1,205 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the publication. + * + * @param string $val The description + * + * @return ItemPublication + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Title of the publication. + * + * @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 + * Title of the publication. + * + * @param string $val The displayName + * + * @return ItemPublication + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the publishedDate + * The date that the publication was published. + * + * @return \DateTime|null The publishedDate + */ + public function getPublishedDate() + { + if (array_key_exists("publishedDate", $this->_propDict)) { + if (is_a($this->_propDict["publishedDate"], "\DateTime") || is_null($this->_propDict["publishedDate"])) { + return $this->_propDict["publishedDate"]; + } else { + $this->_propDict["publishedDate"] = new \DateTime($this->_propDict["publishedDate"]); + return $this->_propDict["publishedDate"]; + } + } + return null; + } + + /** + * Sets the publishedDate + * The date that the publication was published. + * + * @param \DateTime $val The publishedDate + * + * @return ItemPublication + */ + public function setPublishedDate($val) + { + $this->_propDict["publishedDate"] = $val; + return $this; + } + + /** + * Gets the publisher + * Publication or publisher for the publication. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Publication or publisher for the publication. + * + * @param string $val The publisher + * + * @return ItemPublication + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * URL referencing a thumbnail of the publication. + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * URL referencing a thumbnail of the publication. + * + * @param string $val The thumbnailUrl + * + * @return ItemPublication + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * URL referencing the publication. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL referencing the publication. + * + * @param string $val The webUrl + * + * @return ItemPublication + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemReference.php new file mode 100644 index 0000000..8300f3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemReference.php @@ -0,0 +1,255 @@ +_propDict)) { + return $this->_propDict["driveId"]; + } else { + return null; + } + } + + /** + * Sets the driveId + * Unique identifier of the drive instance that contains the item. Read-only. + * + * @param string $val The value of the driveId + * + * @return ItemReference + */ + public function setDriveId($val) + { + $this->_propDict["driveId"] = $val; + return $this; + } + /** + * Gets the driveType + * Identifies the type of drive. See [drive][] resource for values. + * + * @return string|null The driveType + */ + public function getDriveType() + { + if (array_key_exists("driveType", $this->_propDict)) { + return $this->_propDict["driveType"]; + } else { + return null; + } + } + + /** + * Sets the driveType + * Identifies the type of drive. See [drive][] resource for values. + * + * @param string $val The value of the driveType + * + * @return ItemReference + */ + public function setDriveType($val) + { + $this->_propDict["driveType"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier of the item in the drive. Read-only. + * + * @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 + * Unique identifier of the item in the drive. Read-only. + * + * @param string $val The value of the id + * + * @return ItemReference + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * The name of the item being referenced. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item being referenced. Read-only. + * + * @param string $val The value of the name + * + * @return ItemReference + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the path + * Path that can be used to navigate to the item. Read-only. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Path that can be used to navigate to the item. Read-only. + * + * @param string $val The value of the path + * + * @return ItemReference + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } + /** + * Gets the shareId + * A unique identifier for a shared resource that can be accessed via the [Shares][] API. + * + * @return string|null The shareId + */ + public function getShareId() + { + if (array_key_exists("shareId", $this->_propDict)) { + return $this->_propDict["shareId"]; + } else { + return null; + } + } + + /** + * Sets the shareId + * A unique identifier for a shared resource that can be accessed via the [Shares][] API. + * + * @param string $val The value of the shareId + * + * @return ItemReference + */ + public function setShareId($val) + { + $this->_propDict["shareId"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The value to assign to the sharepointIds + * + * @return ItemReference The ItemReference + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + /** + * Gets the siteId + * For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. + * + * @return string|null The siteId + */ + public function getSiteId() + { + if (array_key_exists("siteId", $this->_propDict)) { + return $this->_propDict["siteId"]; + } else { + return null; + } + } + + /** + * Sets the siteId + * For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. + * + * @param string $val The value of the siteId + * + * @return ItemReference + */ + public function setSiteId($val) + { + $this->_propDict["siteId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JobHistorySummaryType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JobHistorySummaryType.php new file mode 100644 index 0000000..1949af7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JobHistorySummaryType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * + * @param \DateTime $val The creationDateTime + * + * @return JobResponseBase + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * + * @param \DateTime $val The endDateTime + * + * @return JobResponseBase + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return ClassificationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\ClassificationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new ClassificationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param ClassificationError $val The error + * + * @return JobResponseBase + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The startDateTime + * + * @return JobResponseBase + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return JobResponseBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $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 JobResponseBase + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return JobResponseBase + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinMeetingIdMeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinMeetingIdMeetingInfo.php new file mode 100644 index 0000000..434d92d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinMeetingIdMeetingInfo.php @@ -0,0 +1,89 @@ +setODataType("#microsoft.graph.joinMeetingIdMeetingInfo"); + } + + /** + * Gets the joinMeetingId + * + * @return string|null The joinMeetingId + */ + public function getJoinMeetingId() + { + if (array_key_exists("joinMeetingId", $this->_propDict)) { + return $this->_propDict["joinMeetingId"]; + } else { + return null; + } + } + + /** + * Sets the joinMeetingId + * + * @param string $val The value of the joinMeetingId + * + * @return JoinMeetingIdMeetingInfo + */ + public function setJoinMeetingId($val) + { + $this->_propDict["joinMeetingId"] = $val; + return $this; + } + /** + * Gets the passcode + * + * @return string|null The passcode + */ + public function getPasscode() + { + if (array_key_exists("passcode", $this->_propDict)) { + return $this->_propDict["passcode"]; + } else { + return null; + } + } + + /** + * Sets the passcode + * + * @param string $val The value of the passcode + * + * @return JoinMeetingIdMeetingInfo + */ + public function setPasscode($val) + { + $this->_propDict["passcode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinMeetingIdSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinMeetingIdSettings.php new file mode 100644 index 0000000..7b2d0c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinMeetingIdSettings.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["isPasscodeRequired"]; + } else { + return null; + } + } + + /** + * Sets the isPasscodeRequired + * + * @param bool $val The value of the isPasscodeRequired + * + * @return JoinMeetingIdSettings + */ + public function setIsPasscodeRequired($val) + { + $this->_propDict["isPasscodeRequired"] = $val; + return $this; + } + /** + * Gets the joinMeetingId + * + * @return string|null The joinMeetingId + */ + public function getJoinMeetingId() + { + if (array_key_exists("joinMeetingId", $this->_propDict)) { + return $this->_propDict["joinMeetingId"]; + } else { + return null; + } + } + + /** + * Sets the joinMeetingId + * + * @param string $val The value of the joinMeetingId + * + * @return JoinMeetingIdSettings + */ + public function setJoinMeetingId($val) + { + $this->_propDict["joinMeetingId"] = $val; + return $this; + } + /** + * Gets the passcode + * + * @return string|null The passcode + */ + public function getPasscode() + { + if (array_key_exists("passcode", $this->_propDict)) { + return $this->_propDict["passcode"]; + } else { + return null; + } + } + + /** + * Sets the passcode + * + * @param string $val The value of the passcode + * + * @return JoinMeetingIdSettings + */ + public function setPasscode($val) + { + $this->_propDict["passcode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinType.php new file mode 100644 index 0000000..5741fac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["balancingAccountId"]; + } else { + return null; + } + } + + /** + * Sets the balancingAccountId + * + * @param string $val The balancingAccountId + * + * @return Journal + */ + public function setBalancingAccountId($val) + { + $this->_propDict["balancingAccountId"] = $val; + return $this; + } + + /** + * Gets the balancingAccountNumber + * + * @return string|null The balancingAccountNumber + */ + public function getBalancingAccountNumber() + { + if (array_key_exists("balancingAccountNumber", $this->_propDict)) { + return $this->_propDict["balancingAccountNumber"]; + } else { + return null; + } + } + + /** + * Sets the balancingAccountNumber + * + * @param string $val The balancingAccountNumber + * + * @return Journal + */ + public function setBalancingAccountNumber($val) + { + $this->_propDict["balancingAccountNumber"] = $val; + return $this; + } + + /** + * Gets the code + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return Journal + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Journal + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Journal + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return Journal + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + + /** + * Gets the journalLines + * + * @return array|null The journalLines + */ + public function getJournalLines() + { + if (array_key_exists("journalLines", $this->_propDict)) { + return $this->_propDict["journalLines"]; + } else { + return null; + } + } + + /** + * Sets the journalLines + * + * @param JournalLine[] $val The journalLines + * + * @return Journal + */ + public function setJournalLines($val) + { + $this->_propDict["journalLines"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JournalLine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JournalLine.php new file mode 100644 index 0000000..0eaa958 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JournalLine.php @@ -0,0 +1,367 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return JournalLine + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the accountNumber + * + * @return string|null The accountNumber + */ + public function getAccountNumber() + { + if (array_key_exists("accountNumber", $this->_propDict)) { + return $this->_propDict["accountNumber"]; + } else { + return null; + } + } + + /** + * Sets the accountNumber + * + * @param string $val The accountNumber + * + * @return JournalLine + */ + public function setAccountNumber($val) + { + $this->_propDict["accountNumber"] = $val; + return $this; + } + + /** + * Gets the amount + * + * @return Decimal|null The amount + */ + public function getAmount() + { + if (array_key_exists("amount", $this->_propDict)) { + if (is_a($this->_propDict["amount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amount"])) { + return $this->_propDict["amount"]; + } else { + $this->_propDict["amount"] = new Decimal($this->_propDict["amount"]); + return $this->_propDict["amount"]; + } + } + return null; + } + + /** + * Sets the amount + * + * @param Decimal $val The amount + * + * @return JournalLine + */ + public function setAmount($val) + { + $this->_propDict["amount"] = $val; + return $this; + } + + /** + * Gets the comment + * + * @return string|null The comment + */ + public function getComment() + { + if (array_key_exists("comment", $this->_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * + * @param string $val The comment + * + * @return JournalLine + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return JournalLine + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the documentNumber + * + * @return string|null The documentNumber + */ + public function getDocumentNumber() + { + if (array_key_exists("documentNumber", $this->_propDict)) { + return $this->_propDict["documentNumber"]; + } else { + return null; + } + } + + /** + * Sets the documentNumber + * + * @param string $val The documentNumber + * + * @return JournalLine + */ + public function setDocumentNumber($val) + { + $this->_propDict["documentNumber"] = $val; + return $this; + } + + /** + * Gets the externalDocumentNumber + * + * @return string|null The externalDocumentNumber + */ + public function getExternalDocumentNumber() + { + if (array_key_exists("externalDocumentNumber", $this->_propDict)) { + return $this->_propDict["externalDocumentNumber"]; + } else { + return null; + } + } + + /** + * Sets the externalDocumentNumber + * + * @param string $val The externalDocumentNumber + * + * @return JournalLine + */ + public function setExternalDocumentNumber($val) + { + $this->_propDict["externalDocumentNumber"] = $val; + return $this; + } + + /** + * Gets the journalDisplayName + * + * @return string|null The journalDisplayName + */ + public function getJournalDisplayName() + { + if (array_key_exists("journalDisplayName", $this->_propDict)) { + return $this->_propDict["journalDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the journalDisplayName + * + * @param string $val The journalDisplayName + * + * @return JournalLine + */ + public function setJournalDisplayName($val) + { + $this->_propDict["journalDisplayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return JournalLine + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lineNumber + * + * @return int|null The lineNumber + */ + public function getLineNumber() + { + if (array_key_exists("lineNumber", $this->_propDict)) { + return $this->_propDict["lineNumber"]; + } else { + return null; + } + } + + /** + * Sets the lineNumber + * + * @param int $val The lineNumber + * + * @return JournalLine + */ + public function setLineNumber($val) + { + $this->_propDict["lineNumber"] = intval($val); + return $this; + } + + /** + * Gets the postingDate + * + * @return \DateTime|null The postingDate + */ + public function getPostingDate() + { + if (array_key_exists("postingDate", $this->_propDict)) { + if (is_a($this->_propDict["postingDate"], "\DateTime") || is_null($this->_propDict["postingDate"])) { + return $this->_propDict["postingDate"]; + } else { + $this->_propDict["postingDate"] = new \DateTime($this->_propDict["postingDate"]); + return $this->_propDict["postingDate"]; + } + } + return null; + } + + /** + * Sets the postingDate + * + * @param \DateTime $val The postingDate + * + * @return JournalLine + */ + public function setPostingDate($val) + { + $this->_propDict["postingDate"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return JournalLine + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JustifyAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JustifyAction.php new file mode 100644 index 0000000..a8da7fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JustifyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["kerberosServicePrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the kerberosServicePrincipalName + * The Internal Application SPN of the application server. This SPN needs to be in the list of services to which the connector can present delegated credentials. + * + * @param string $val The value of the kerberosServicePrincipalName + * + * @return KerberosSignOnSettings + */ + public function setKerberosServicePrincipalName($val) + { + $this->_propDict["kerberosServicePrincipalName"] = $val; + return $this; + } + + /** + * Gets the kerberosSignOnMappingAttributeType + * The Delegated Login Identity for the connector to use on behalf of your users. For more information, see Working with different on-premises and cloud identities . Possible values are: userPrincipalName, onPremisesUserPrincipalName, userPrincipalUsername, onPremisesUserPrincipalUsername, onPremisesSAMAccountName. + * + * @return KerberosSignOnMappingAttributeType|null The kerberosSignOnMappingAttributeType + */ + public function getKerberosSignOnMappingAttributeType() + { + if (array_key_exists("kerberosSignOnMappingAttributeType", $this->_propDict)) { + if (is_a($this->_propDict["kerberosSignOnMappingAttributeType"], "\Beta\Microsoft\Graph\Model\KerberosSignOnMappingAttributeType") || is_null($this->_propDict["kerberosSignOnMappingAttributeType"])) { + return $this->_propDict["kerberosSignOnMappingAttributeType"]; + } else { + $this->_propDict["kerberosSignOnMappingAttributeType"] = new KerberosSignOnMappingAttributeType($this->_propDict["kerberosSignOnMappingAttributeType"]); + return $this->_propDict["kerberosSignOnMappingAttributeType"]; + } + } + return null; + } + + /** + * Sets the kerberosSignOnMappingAttributeType + * The Delegated Login Identity for the connector to use on behalf of your users. For more information, see Working with different on-premises and cloud identities . Possible values are: userPrincipalName, onPremisesUserPrincipalName, userPrincipalUsername, onPremisesUserPrincipalUsername, onPremisesSAMAccountName. + * + * @param KerberosSignOnMappingAttributeType $val The value to assign to the kerberosSignOnMappingAttributeType + * + * @return KerberosSignOnSettings The KerberosSignOnSettings + */ + public function setKerberosSignOnMappingAttributeType($val) + { + $this->_propDict["kerberosSignOnMappingAttributeType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KerberosSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KerberosSingleSignOnExtension.php new file mode 100644 index 0000000..3348239 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KerberosSingleSignOnExtension.php @@ -0,0 +1,614 @@ +_propDict)) { + return $this->_propDict["activeDirectorySiteCode"]; + } else { + return null; + } + } + + /** + * Sets the activeDirectorySiteCode + * Gets or sets the Active Directory site. + * + * @param string $val The value of the activeDirectorySiteCode + * + * @return KerberosSingleSignOnExtension + */ + public function setActiveDirectorySiteCode($val) + { + $this->_propDict["activeDirectorySiteCode"] = $val; + return $this; + } + /** + * Gets the blockActiveDirectorySiteAutoDiscovery + * Enables or disables whether the Kerberos extension can automatically determine its site name. + * + * @return bool|null The blockActiveDirectorySiteAutoDiscovery + */ + public function getBlockActiveDirectorySiteAutoDiscovery() + { + if (array_key_exists("blockActiveDirectorySiteAutoDiscovery", $this->_propDict)) { + return $this->_propDict["blockActiveDirectorySiteAutoDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the blockActiveDirectorySiteAutoDiscovery + * Enables or disables whether the Kerberos extension can automatically determine its site name. + * + * @param bool $val The value of the blockActiveDirectorySiteAutoDiscovery + * + * @return KerberosSingleSignOnExtension + */ + public function setBlockActiveDirectorySiteAutoDiscovery($val) + { + $this->_propDict["blockActiveDirectorySiteAutoDiscovery"] = $val; + return $this; + } + /** + * Gets the blockAutomaticLogin + * Enables or disables Keychain usage. + * + * @return bool|null The blockAutomaticLogin + */ + public function getBlockAutomaticLogin() + { + if (array_key_exists("blockAutomaticLogin", $this->_propDict)) { + return $this->_propDict["blockAutomaticLogin"]; + } else { + return null; + } + } + + /** + * Sets the blockAutomaticLogin + * Enables or disables Keychain usage. + * + * @param bool $val The value of the blockAutomaticLogin + * + * @return KerberosSingleSignOnExtension + */ + public function setBlockAutomaticLogin($val) + { + $this->_propDict["blockAutomaticLogin"] = $val; + return $this; + } + /** + * Gets the cacheName + * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile. + * + * @return string|null The cacheName + */ + public function getCacheName() + { + if (array_key_exists("cacheName", $this->_propDict)) { + return $this->_propDict["cacheName"]; + } else { + return null; + } + } + + /** + * Sets the cacheName + * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile. + * + * @param string $val The value of the cacheName + * + * @return KerberosSingleSignOnExtension + */ + public function setCacheName($val) + { + $this->_propDict["cacheName"] = $val; + return $this; + } + /** + * Gets the credentialBundleIdAccessControlList + * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket. + * + * @return string|null The credentialBundleIdAccessControlList + */ + public function getCredentialBundleIdAccessControlList() + { + if (array_key_exists("credentialBundleIdAccessControlList", $this->_propDict)) { + return $this->_propDict["credentialBundleIdAccessControlList"]; + } else { + return null; + } + } + + /** + * Sets the credentialBundleIdAccessControlList + * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket. + * + * @param string $val The value of the credentialBundleIdAccessControlList + * + * @return KerberosSingleSignOnExtension + */ + public function setCredentialBundleIdAccessControlList($val) + { + $this->_propDict["credentialBundleIdAccessControlList"] = $val; + return $this; + } + /** + * Gets the domainRealms + * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. + * + * @return string|null The domainRealms + */ + public function getDomainRealms() + { + if (array_key_exists("domainRealms", $this->_propDict)) { + return $this->_propDict["domainRealms"]; + } else { + return null; + } + } + + /** + * Sets the domainRealms + * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. + * + * @param string $val The value of the domainRealms + * + * @return KerberosSingleSignOnExtension + */ + public function setDomainRealms($val) + { + $this->_propDict["domainRealms"] = $val; + return $this; + } + /** + * Gets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @param string $val The value of the domains + * + * @return KerberosSingleSignOnExtension + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the isDefaultRealm + * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. + * + * @return bool|null The isDefaultRealm + */ + public function getIsDefaultRealm() + { + if (array_key_exists("isDefaultRealm", $this->_propDict)) { + return $this->_propDict["isDefaultRealm"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultRealm + * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. + * + * @param bool $val The value of the isDefaultRealm + * + * @return KerberosSingleSignOnExtension + */ + public function setIsDefaultRealm($val) + { + $this->_propDict["isDefaultRealm"] = $val; + return $this; + } + /** + * Gets the passwordBlockModification + * Enables or disables password changes. + * + * @return bool|null The passwordBlockModification + */ + public function getPasswordBlockModification() + { + if (array_key_exists("passwordBlockModification", $this->_propDict)) { + return $this->_propDict["passwordBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockModification + * Enables or disables password changes. + * + * @param bool $val The value of the passwordBlockModification + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordBlockModification($val) + { + $this->_propDict["passwordBlockModification"] = $val; + return $this; + } + /** + * Gets the passwordChangeUrl + * Gets or sets the URL that the user will be sent to when they initiate a password change. + * + * @return string|null The passwordChangeUrl + */ + public function getPasswordChangeUrl() + { + if (array_key_exists("passwordChangeUrl", $this->_propDict)) { + return $this->_propDict["passwordChangeUrl"]; + } else { + return null; + } + } + + /** + * Sets the passwordChangeUrl + * Gets or sets the URL that the user will be sent to when they initiate a password change. + * + * @param string $val The value of the passwordChangeUrl + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordChangeUrl($val) + { + $this->_propDict["passwordChangeUrl"] = $val; + return $this; + } + /** + * Gets the passwordEnableLocalSync + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * + * @return bool|null The passwordEnableLocalSync + */ + public function getPasswordEnableLocalSync() + { + if (array_key_exists("passwordEnableLocalSync", $this->_propDict)) { + return $this->_propDict["passwordEnableLocalSync"]; + } else { + return null; + } + } + + /** + * Sets the passwordEnableLocalSync + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * + * @param bool $val The value of the passwordEnableLocalSync + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordEnableLocalSync($val) + { + $this->_propDict["passwordEnableLocalSync"] = $val; + return $this; + } + /** + * Gets the passwordExpirationDays + * Overrides the default password expiration in days. For most domains, this value is calculated automatically. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Overrides the default password expiration in days. For most domains, this value is calculated automatically. + * + * @param int $val The value of the passwordExpirationDays + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = $val; + return $this; + } + /** + * Gets the passwordExpirationNotificationDays + * Gets or sets the number of days until the user is notified that their password will expire (default is 15). + * + * @return int|null The passwordExpirationNotificationDays + */ + public function getPasswordExpirationNotificationDays() + { + if (array_key_exists("passwordExpirationNotificationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationNotificationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationNotificationDays + * Gets or sets the number of days until the user is notified that their password will expire (default is 15). + * + * @param int $val The value of the passwordExpirationNotificationDays + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordExpirationNotificationDays($val) + { + $this->_propDict["passwordExpirationNotificationDays"] = $val; + return $this; + } + /** + * Gets the passwordMinimumAgeDays + * Gets or sets the minimum number of days until a user can change their password again. + * + * @return int|null The passwordMinimumAgeDays + */ + public function getPasswordMinimumAgeDays() + { + if (array_key_exists("passwordMinimumAgeDays", $this->_propDict)) { + return $this->_propDict["passwordMinimumAgeDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumAgeDays + * Gets or sets the minimum number of days until a user can change their password again. + * + * @param int $val The value of the passwordMinimumAgeDays + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordMinimumAgeDays($val) + { + $this->_propDict["passwordMinimumAgeDays"] = $val; + return $this; + } + /** + * Gets the passwordMinimumLength + * Gets or sets the minimum length of a password. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Gets or sets the minimum length of a password. + * + * @param int $val The value of the passwordMinimumLength + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = $val; + return $this; + } + /** + * Gets the passwordPreviousPasswordBlockCount + * Gets or sets the number of previous passwords to block. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Gets or sets the number of previous passwords to block. + * + * @param int $val The value of the passwordPreviousPasswordBlockCount + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = $val; + return $this; + } + /** + * Gets the passwordRequireActiveDirectoryComplexity + * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * + * @return bool|null The passwordRequireActiveDirectoryComplexity + */ + public function getPasswordRequireActiveDirectoryComplexity() + { + if (array_key_exists("passwordRequireActiveDirectoryComplexity", $this->_propDict)) { + return $this->_propDict["passwordRequireActiveDirectoryComplexity"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireActiveDirectoryComplexity + * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * + * @param bool $val The value of the passwordRequireActiveDirectoryComplexity + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordRequireActiveDirectoryComplexity($val) + { + $this->_propDict["passwordRequireActiveDirectoryComplexity"] = $val; + return $this; + } + /** + * Gets the passwordRequirementsDescription + * Gets or sets a description of the password complexity requirements. + * + * @return string|null The passwordRequirementsDescription + */ + public function getPasswordRequirementsDescription() + { + if (array_key_exists("passwordRequirementsDescription", $this->_propDict)) { + return $this->_propDict["passwordRequirementsDescription"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequirementsDescription + * Gets or sets a description of the password complexity requirements. + * + * @param string $val The value of the passwordRequirementsDescription + * + * @return KerberosSingleSignOnExtension + */ + public function setPasswordRequirementsDescription($val) + { + $this->_propDict["passwordRequirementsDescription"] = $val; + return $this; + } + /** + * Gets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @param string $val The value of the realm + * + * @return KerberosSingleSignOnExtension + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + /** + * Gets the requireUserPresence + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. + * + * @return bool|null The requireUserPresence + */ + public function getRequireUserPresence() + { + if (array_key_exists("requireUserPresence", $this->_propDict)) { + return $this->_propDict["requireUserPresence"]; + } else { + return null; + } + } + + /** + * Sets the requireUserPresence + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. + * + * @param bool $val The value of the requireUserPresence + * + * @return KerberosSingleSignOnExtension + */ + public function setRequireUserPresence($val) + { + $this->_propDict["requireUserPresence"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * + * @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 + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * + * @param string $val The value of the userPrincipalName + * + * @return KerberosSingleSignOnExtension + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyBooleanValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyBooleanValuePair.php new file mode 100644 index 0000000..c521ff8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyBooleanValuePair.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The Boolean value of the key-value pair. + * + * @param bool $val The value of the value + * + * @return KeyBooleanValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredential.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredential.php new file mode 100644 index 0000000..0e041d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredential.php @@ -0,0 +1,270 @@ +_propDict)) { + if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customKeyIdentifier"])) { + return $this->_propDict["customKeyIdentifier"]; + } else { + $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customKeyIdentifier"]); + return $this->_propDict["customKeyIdentifier"]; + } + } + return null; + } + + /** + * Sets the customKeyIdentifier + * Custom key identifier + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier + * + * @return KeyCredential The KeyCredential + */ + public function setCustomKeyIdentifier($val) + { + $this->_propDict["customKeyIdentifier"] = $val; + return $this; + } + /** + * Gets the displayName + * Friendly name for the key. Optional. + * + * @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 + * Friendly name for the key. Optional. + * + * @param string $val The value of the displayName + * + * @return KeyCredential + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time at which the credential expires. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time at which the credential expires. The DateTimeOffset 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 endDateTime + * + * @return KeyCredential The KeyCredential + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the key + * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * + * @return \GuzzleHttp\Psr7\Stream|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key + * + * @return KeyCredential The KeyCredential + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the keyId + * The unique identifier for the key. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The unique identifier for the key. + * + * @param string $val The value of the keyId + * + * @return KeyCredential + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time at which the credential becomes valid.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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time at which the credential becomes valid.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 startDateTime + * + * @return KeyCredential The KeyCredential + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the type + * The type of key credential; for example, Symmetric, AsymmetricX509Cert. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of key credential; for example, Symmetric, AsymmetricX509Cert. + * + * @param string $val The value of the type + * + * @return KeyCredential + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the usage + * A string that describes the purpose for which the key can be used; for example, Verify. + * + * @return string|null The usage + */ + public function getUsage() + { + if (array_key_exists("usage", $this->_propDict)) { + return $this->_propDict["usage"]; + } else { + return null; + } + } + + /** + * Sets the usage + * A string that describes the purpose for which the key can be used; for example, Verify. + * + * @param string $val The value of the usage + * + * @return KeyCredential + */ + public function setUsage($val) + { + $this->_propDict["usage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php new file mode 100644 index 0000000..81f0bba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php @@ -0,0 +1,123 @@ +_propDict)) { + if (is_a($this->_propDict["maxLifetime"], "\DateInterval") || is_null($this->_propDict["maxLifetime"])) { + return $this->_propDict["maxLifetime"]; + } else { + $this->_propDict["maxLifetime"] = new \DateInterval($this->_propDict["maxLifetime"]); + return $this->_propDict["maxLifetime"]; + } + } + return null; + } + + /** + * Sets the maxLifetime + * + * @param \DateInterval $val The value to assign to the maxLifetime + * + * @return KeyCredentialConfiguration The KeyCredentialConfiguration + */ + public function setMaxLifetime($val) + { + $this->_propDict["maxLifetime"] = $val; + return $this; + } + + /** + * Gets the restrictForAppsCreatedAfterDateTime + * Timestamp when the policy is enforced for all apps created on or after the specified date. For existing applications, the enforcement date would be back dated. To apply to all applications regardless of their creation date, this property would be null. Nullable. + * + * @return \DateTime|null The restrictForAppsCreatedAfterDateTime + */ + public function getRestrictForAppsCreatedAfterDateTime() + { + if (array_key_exists("restrictForAppsCreatedAfterDateTime", $this->_propDict)) { + if (is_a($this->_propDict["restrictForAppsCreatedAfterDateTime"], "\DateTime") || is_null($this->_propDict["restrictForAppsCreatedAfterDateTime"])) { + return $this->_propDict["restrictForAppsCreatedAfterDateTime"]; + } else { + $this->_propDict["restrictForAppsCreatedAfterDateTime"] = new \DateTime($this->_propDict["restrictForAppsCreatedAfterDateTime"]); + return $this->_propDict["restrictForAppsCreatedAfterDateTime"]; + } + } + return null; + } + + /** + * Sets the restrictForAppsCreatedAfterDateTime + * Timestamp when the policy is enforced for all apps created on or after the specified date. For existing applications, the enforcement date would be back dated. To apply to all applications regardless of their creation date, this property would be null. Nullable. + * + * @param \DateTime $val The value to assign to the restrictForAppsCreatedAfterDateTime + * + * @return KeyCredentialConfiguration The KeyCredentialConfiguration + */ + public function setRestrictForAppsCreatedAfterDateTime($val) + { + $this->_propDict["restrictForAppsCreatedAfterDateTime"] = $val; + return $this; + } + + /** + * Gets the restrictionType + * The type of restriction being applied. Possible values are asymmetricKeyLifetime, unknownFutureValue. Each value of restrictionType can be used only once per policy. + * + * @return AppKeyCredentialRestrictionType|null The restrictionType + */ + public function getRestrictionType() + { + if (array_key_exists("restrictionType", $this->_propDict)) { + if (is_a($this->_propDict["restrictionType"], "\Beta\Microsoft\Graph\Model\AppKeyCredentialRestrictionType") || is_null($this->_propDict["restrictionType"])) { + return $this->_propDict["restrictionType"]; + } else { + $this->_propDict["restrictionType"] = new AppKeyCredentialRestrictionType($this->_propDict["restrictionType"]); + return $this->_propDict["restrictionType"]; + } + } + return null; + } + + /** + * Sets the restrictionType + * The type of restriction being applied. Possible values are asymmetricKeyLifetime, unknownFutureValue. Each value of restrictionType can be used only once per policy. + * + * @param AppKeyCredentialRestrictionType $val The value to assign to the restrictionType + * + * @return KeyCredentialConfiguration The KeyCredentialConfiguration + */ + public function setRestrictionType($val) + { + $this->_propDict["restrictionType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyIntegerValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyIntegerValuePair.php new file mode 100644 index 0000000..0c672da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyIntegerValuePair.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The integer value of the key-value pair. + * + * @param int $val The value of the value + * + * @return KeyIntegerValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyLongValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyLongValuePair.php new file mode 100644 index 0000000..47ab52c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyLongValuePair.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for this key long value pair + * + * @param string $val The value of the name + * + * @return KeyLongValuePair + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * Value for this key long value pair + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value for this key long value pair + * + * @param int $val The value of the value + * + * @return KeyLongValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyRealValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyRealValuePair.php new file mode 100644 index 0000000..b93806a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyRealValuePair.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The real (floating-point) value of the key-value pair. + * + * @param float $val The value of the value + * + * @return KeyRealValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeySize.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeySize.php new file mode 100644 index 0000000..7f94e62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeySize.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The string value of the key-value pair. + * + * @param string $val The value of the value + * + * @return KeyStringValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyTypedValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyTypedValuePair.php new file mode 100644 index 0000000..5768be5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyTypedValuePair.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * The string key of the key-value pair. + * + * @param string $val The value of the key + * + * @return KeyTypedValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyUsages.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyUsages.php new file mode 100644 index 0000000..425126c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyUsages.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. + * + * @param string $val The value of the key + * + * @return KeyValue + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * + * @param string $val The value of the value + * + * @return KeyValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyValuePair.php new file mode 100644 index 0000000..e821572 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyValuePair.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for this key-value pair + * + * @param string $val The value of the name + * + * @return KeyValuePair + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * Value for this key-value pair + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value for this key-value pair + * + * @param string $val The value of the value + * + * @return KeyValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KioskModeManagedHomeScreenPinComplexity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KioskModeManagedHomeScreenPinComplexity.php new file mode 100644 index 0000000..aae520d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KioskModeManagedHomeScreenPinComplexity.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return LabelActionBase + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelDetails.php new file mode 100644 index 0000000..5d2a0b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelDetails.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return LabelPolicy + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return LabelPolicy + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelingOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelingOptions.php new file mode 100644 index 0000000..36591db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelingOptions.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\Model\AssignmentMethod") || is_null($this->_propDict["assignmentMethod"])) { + return $this->_propDict["assignmentMethod"]; + } else { + $this->_propDict["assignmentMethod"] = new AssignmentMethod($this->_propDict["assignmentMethod"]); + return $this->_propDict["assignmentMethod"]; + } + } + return null; + } + + /** + * Sets the assignmentMethod + * Possible values are: standard, privileged, auto. + * + * @param AssignmentMethod $val The value to assign to the assignmentMethod + * + * @return LabelingOptions The LabelingOptions + */ + public function setAssignmentMethod($val) + { + $this->_propDict["assignmentMethod"] = $val; + return $this; + } + + /** + * Gets the downgradeJustification + * The downgrade justification object that indicates if downgrade was justified and, if so, the reason. + * + * @return DowngradeJustification|null The downgradeJustification + */ + public function getDowngradeJustification() + { + if (array_key_exists("downgradeJustification", $this->_propDict)) { + if (is_a($this->_propDict["downgradeJustification"], "\Beta\Microsoft\Graph\Model\DowngradeJustification") || is_null($this->_propDict["downgradeJustification"])) { + return $this->_propDict["downgradeJustification"]; + } else { + $this->_propDict["downgradeJustification"] = new DowngradeJustification($this->_propDict["downgradeJustification"]); + return $this->_propDict["downgradeJustification"]; + } + } + return null; + } + + /** + * Sets the downgradeJustification + * The downgrade justification object that indicates if downgrade was justified and, if so, the reason. + * + * @param DowngradeJustification $val The value to assign to the downgradeJustification + * + * @return LabelingOptions The LabelingOptions + */ + public function setDowngradeJustification($val) + { + $this->_propDict["downgradeJustification"] = $val; + return $this; + } + + /** + * Gets the extendedProperties + * Extended properties will be parsed and returned in the standard MIP labeled metadata format as part of the label information. + * + * @return KeyValuePair|null The extendedProperties + */ + public function getExtendedProperties() + { + if (array_key_exists("extendedProperties", $this->_propDict)) { + if (is_a($this->_propDict["extendedProperties"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["extendedProperties"])) { + return $this->_propDict["extendedProperties"]; + } else { + $this->_propDict["extendedProperties"] = new KeyValuePair($this->_propDict["extendedProperties"]); + return $this->_propDict["extendedProperties"]; + } + } + return null; + } + + /** + * Sets the extendedProperties + * Extended properties will be parsed and returned in the standard MIP labeled metadata format as part of the label information. + * + * @param KeyValuePair $val The value to assign to the extendedProperties + * + * @return LabelingOptions The LabelingOptions + */ + public function setExtendedProperties($val) + { + $this->_propDict["extendedProperties"] = $val; + return $this; + } + /** + * Gets the labelId + * The GUID of the label that should be applied to the information. + * + * @return string|null The labelId + */ + public function getLabelId() + { + if (array_key_exists("labelId", $this->_propDict)) { + return $this->_propDict["labelId"]; + } else { + return null; + } + } + + /** + * Sets the labelId + * The GUID of the label that should be applied to the information. + * + * @param string $val The value of the labelId + * + * @return LabelingOptions + */ + public function setLabelId($val) + { + $this->_propDict["labelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanManagerAuthenticationLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanManagerAuthenticationLevel.php new file mode 100644 index 0000000..7a859cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanManagerAuthenticationLevel.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Contains the long-form name for the language. + * + * @param string $val The displayName + * + * @return LanguageProficiency + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the proficiency + * + * @return LanguageProficiencyLevel|null The proficiency + */ + public function getProficiency() + { + if (array_key_exists("proficiency", $this->_propDict)) { + if (is_a($this->_propDict["proficiency"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel") || is_null($this->_propDict["proficiency"])) { + return $this->_propDict["proficiency"]; + } else { + $this->_propDict["proficiency"] = new LanguageProficiencyLevel($this->_propDict["proficiency"]); + return $this->_propDict["proficiency"]; + } + } + return null; + } + + /** + * Sets the proficiency + * + * @param LanguageProficiencyLevel $val The proficiency + * + * @return LanguageProficiency + */ + public function setProficiency($val) + { + $this->_propDict["proficiency"] = $val; + return $this; + } + + /** + * Gets the reading + * Represents the users reading comprehension for the language represented by the object. Possible values are: elementary, conversational, limitedWorking, professionalWorking, fullProfessional, nativeOrBilingual, unknownFutureValue. + * + * @return LanguageProficiencyLevel|null The reading + */ + public function getReading() + { + if (array_key_exists("reading", $this->_propDict)) { + if (is_a($this->_propDict["reading"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel") || is_null($this->_propDict["reading"])) { + return $this->_propDict["reading"]; + } else { + $this->_propDict["reading"] = new LanguageProficiencyLevel($this->_propDict["reading"]); + return $this->_propDict["reading"]; + } + } + return null; + } + + /** + * Sets the reading + * Represents the users reading comprehension for the language represented by the object. Possible values are: elementary, conversational, limitedWorking, professionalWorking, fullProfessional, nativeOrBilingual, unknownFutureValue. + * + * @param LanguageProficiencyLevel $val The reading + * + * @return LanguageProficiency + */ + public function setReading($val) + { + $this->_propDict["reading"] = $val; + return $this; + } + + /** + * Gets the spoken + * Represents the users spoken proficiency for the language represented by the object. Possible values are: elementary, conversational, limitedWorking, professionalWorking, fullProfessional, nativeOrBilingual, unknownFutureValue. + * + * @return LanguageProficiencyLevel|null The spoken + */ + public function getSpoken() + { + if (array_key_exists("spoken", $this->_propDict)) { + if (is_a($this->_propDict["spoken"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel") || is_null($this->_propDict["spoken"])) { + return $this->_propDict["spoken"]; + } else { + $this->_propDict["spoken"] = new LanguageProficiencyLevel($this->_propDict["spoken"]); + return $this->_propDict["spoken"]; + } + } + return null; + } + + /** + * Sets the spoken + * Represents the users spoken proficiency for the language represented by the object. Possible values are: elementary, conversational, limitedWorking, professionalWorking, fullProfessional, nativeOrBilingual, unknownFutureValue. + * + * @param LanguageProficiencyLevel $val The spoken + * + * @return LanguageProficiency + */ + public function setSpoken($val) + { + $this->_propDict["spoken"] = $val; + return $this; + } + + /** + * Gets the tag + * Contains the four-character BCP47 name for the language (en-US, no-NB, en-AU). + * + * @return string|null The tag + */ + public function getTag() + { + if (array_key_exists("tag", $this->_propDict)) { + return $this->_propDict["tag"]; + } else { + return null; + } + } + + /** + * Sets the tag + * Contains the four-character BCP47 name for the language (en-US, no-NB, en-AU). + * + * @param string $val The tag + * + * @return LanguageProficiency + */ + public function setTag($val) + { + $this->_propDict["tag"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return LanguageProficiency + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the written + * Represents the users written proficiency for the language represented by the object. Possible values are: elementary, conversational, limitedWorking, professionalWorking, fullProfessional, nativeOrBilingual, unknownFutureValue. + * + * @return LanguageProficiencyLevel|null The written + */ + public function getWritten() + { + if (array_key_exists("written", $this->_propDict)) { + if (is_a($this->_propDict["written"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel") || is_null($this->_propDict["written"])) { + return $this->_propDict["written"]; + } else { + $this->_propDict["written"] = new LanguageProficiencyLevel($this->_propDict["written"]); + return $this->_propDict["written"]; + } + } + return null; + } + + /** + * Sets the written + * Represents the users written proficiency for the language represented by the object. Possible values are: elementary, conversational, limitedWorking, professionalWorking, fullProfessional, nativeOrBilingual, unknownFutureValue. + * + * @param LanguageProficiencyLevel $val The written + * + * @return LanguageProficiency + */ + public function setWritten($val) + { + $this->_propDict["written"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanguageProficiencyLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanguageProficiencyLevel.php new file mode 100644 index 0000000..59f8f8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanguageProficiencyLevel.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["assignedByGroup"]; + } else { + return null; + } + } + + /** + * Sets the assignedByGroup + * The id of the group that assigns this license. If the assignment is a direct-assigned license, this field will be Null. Read-Only. + * + * @param string $val The value of the assignedByGroup + * + * @return LicenseAssignmentState + */ + public function setAssignedByGroup($val) + { + $this->_propDict["assignedByGroup"] = $val; + return $this; + } + /** + * Gets the disabledPlans + * The service plans that are disabled in this assignment. Read-Only. + * + * @return string|null The disabledPlans + */ + public function getDisabledPlans() + { + if (array_key_exists("disabledPlans", $this->_propDict)) { + return $this->_propDict["disabledPlans"]; + } else { + return null; + } + } + + /** + * Sets the disabledPlans + * The service plans that are disabled in this assignment. Read-Only. + * + * @param string $val The value of the disabledPlans + * + * @return LicenseAssignmentState + */ + public function setDisabledPlans($val) + { + $this->_propDict["disabledPlans"] = $val; + return $this; + } + /** + * Gets the error + * License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors see here. + * + * @return string|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors see here. + * + * @param string $val The value of the error + * + * @return LicenseAssignmentState + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * The timestamp when the state of the license assignment was last updated. + * + * @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 + * The timestamp when the state of the license assignment was last updated. + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return LicenseAssignmentState The LicenseAssignmentState + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + /** + * Gets the skuId + * The unique identifier for the SKU. Read-Only. + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * The unique identifier for the SKU. Read-Only. + * + * @param string $val The value of the skuId + * + * @return LicenseAssignmentState + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } + /** + * Gets the state + * Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. + * + * @param string $val The value of the state + * + * @return LicenseAssignmentState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseDetails.php new file mode 100644 index 0000000..9426ef0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseDetails.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["servicePlans"]; + } else { + return null; + } + } + + /** + * Sets the servicePlans + * Information about the service plans assigned with the license. Read-only, Not nullable + * + * @param ServicePlanInfo[] $val The servicePlans + * + * @return LicenseDetails + */ + public function setServicePlans($val) + { + $this->_propDict["servicePlans"] = $val; + return $this; + } + + /** + * Gets the skuId + * Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only + * + * @param string $val The skuId + * + * @return LicenseDetails + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } + + /** + * Gets the skuPartNumber + * Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only + * + * @return string|null The skuPartNumber + */ + public function getSkuPartNumber() + { + if (array_key_exists("skuPartNumber", $this->_propDict)) { + return $this->_propDict["skuPartNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuPartNumber + * Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only + * + * @param string $val The skuPartNumber + * + * @return LicenseDetails + */ + public function setSkuPartNumber($val) + { + $this->_propDict["skuPartNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseInfoDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseInfoDetail.php new file mode 100644 index 0000000..c2b44a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseInfoDetail.php @@ -0,0 +1,135 @@ +_propDict)) { + if (is_a($this->_propDict["licenseType"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType") || is_null($this->_propDict["licenseType"])) { + return $this->_propDict["licenseType"]; + } else { + $this->_propDict["licenseType"] = new AzureADLicenseType($this->_propDict["licenseType"]); + return $this->_propDict["licenseType"]; + } + } + return null; + } + + /** + * Sets the licenseType + * + * @param AzureADLicenseType $val The value to assign to the licenseType + * + * @return LicenseInfoDetail The LicenseInfoDetail + */ + public function setLicenseType($val) + { + $this->_propDict["licenseType"] = $val; + return $this; + } + /** + * Gets the totalAssignedCount + * + * @return int|null The totalAssignedCount + */ + public function getTotalAssignedCount() + { + if (array_key_exists("totalAssignedCount", $this->_propDict)) { + return $this->_propDict["totalAssignedCount"]; + } else { + return null; + } + } + + /** + * Sets the totalAssignedCount + * + * @param int $val The value of the totalAssignedCount + * + * @return LicenseInfoDetail + */ + public function setTotalAssignedCount($val) + { + $this->_propDict["totalAssignedCount"] = $val; + return $this; + } + /** + * Gets the totalLicenseCount + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * + * @param int $val The value of the totalLicenseCount + * + * @return LicenseInfoDetail + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = $val; + return $this; + } + /** + * Gets the totalUsageCount + * + * @return int|null The totalUsageCount + */ + public function getTotalUsageCount() + { + if (array_key_exists("totalUsageCount", $this->_propDict)) { + return $this->_propDict["totalUsageCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUsageCount + * + * @param int $val The value of the totalUsageCount + * + * @return LicenseInfoDetail + */ + public function setTotalUsageCount($val) + { + $this->_propDict["totalUsageCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseProcessingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseProcessingState.php new file mode 100644 index 0000000..d438635 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseProcessingState.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The value of the state + * + * @return LicenseProcessingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php new file mode 100644 index 0000000..5242cda --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * The number of units that are enabled for the active subscription of the service SKU. + * + * @param int $val The value of the enabled + * + * @return LicenseUnitsDetail + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + /** + * Gets the suspended + * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. + * + * @return int|null The suspended + */ + public function getSuspended() + { + if (array_key_exists("suspended", $this->_propDict)) { + return $this->_propDict["suspended"]; + } else { + return null; + } + } + + /** + * Sets the suspended + * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. + * + * @param int $val The value of the suspended + * + * @return LicenseUnitsDetail + */ + public function setSuspended($val) + { + $this->_propDict["suspended"] = $val; + return $this; + } + /** + * Gets the warning + * The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). + * + * @return int|null The warning + */ + public function getWarning() + { + if (array_key_exists("warning", $this->_propDict)) { + return $this->_propDict["warning"]; + } else { + return null; + } + } + + /** + * Sets the warning + * The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). + * + * @param int $val The value of the warning + * + * @return LicenseUnitsDetail + */ + public function setWarning($val) + { + $this->_propDict["warning"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LifecycleEventType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LifecycleEventType.php new file mode 100644 index 0000000..2394980 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LifecycleEventType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Field indicating the app name of the source that is sending the linkedResource. + * + * @param string $val The applicationName + * + * @return LinkedResource + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + + /** + * Gets the displayName + * Field indicating the title of the linkedResource. + * + * @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 + * Field indicating the title of the linkedResource. + * + * @param string $val The displayName + * + * @return LinkedResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * Id of the object that is associated with this task on the third-party/partner system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * Id of the object that is associated with this task on the third-party/partner system. + * + * @param string $val The externalId + * + * @return LinkedResource + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Deep link to the linkedResource. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Deep link to the linkedResource. + * + * @param string $val The webUrl + * + * @return LinkedResource + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LinkedResource_v2.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LinkedResource_v2.php new file mode 100644 index 0000000..dc5a3cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LinkedResource_v2.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Field indicating the app name of the source that is sending the linkedResource. + * + * @param string $val The applicationName + * + * @return LinkedResource_v2 + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + + /** + * Gets the displayName + * Field indicating the title of the linkedResource. + * + * @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 + * Field indicating the title of the linkedResource. + * + * @param string $val The displayName + * + * @return LinkedResource_v2 + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * Id of the object that is associated with this task on the third-party/partner system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * Id of the object that is associated with this task on the third-party/partner system. + * + * @param string $val The externalId + * + * @return LinkedResource_v2 + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Deep link to the linkedResource. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Deep link to the linkedResource. + * + * @param string $val The webUrl + * + * @return LinkedResource_v2 + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListInfo.php new file mode 100644 index 0000000..1da42e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListInfo.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["contentTypesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the contentTypesEnabled + * If true, indicates that content types are enabled for this list. + * + * @param bool $val The value of the contentTypesEnabled + * + * @return ListInfo + */ + public function setContentTypesEnabled($val) + { + $this->_propDict["contentTypesEnabled"] = $val; + return $this; + } + /** + * Gets the hidden + * If true, indicates that the list is not normally visible in the SharePoint user experience. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * If true, indicates that the list is not normally visible in the SharePoint user experience. + * + * @param bool $val The value of the hidden + * + * @return ListInfo + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = $val; + return $this; + } + /** + * Gets the template + * An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more. + * + * @return string|null The template + */ + public function getTemplate() + { + if (array_key_exists("template", $this->_propDict)) { + return $this->_propDict["template"]; + } else { + return null; + } + } + + /** + * Sets the template + * An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more. + * + * @param string $val The value of the template + * + * @return ListInfo + */ + public function setTemplate($val) + { + $this->_propDict["template"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItem.php new file mode 100644 index 0000000..b851aaa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItem.php @@ -0,0 +1,313 @@ +_propDict)) { + if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The content type of this list item + * + * @param ContentTypeInfo $val The contentType + * + * @return ListItem + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the deleted + * + * @return Deleted|null The deleted + */ + public function getDeleted() + { + if (array_key_exists("deleted", $this->_propDict)) { + if (is_a($this->_propDict["deleted"], "\Beta\Microsoft\Graph\Model\Deleted") || is_null($this->_propDict["deleted"])) { + return $this->_propDict["deleted"]; + } else { + $this->_propDict["deleted"] = new Deleted($this->_propDict["deleted"]); + return $this->_propDict["deleted"]; + } + } + return null; + } + + /** + * Sets the deleted + * + * @param Deleted $val The deleted + * + * @return ListItem + */ + public function setDeleted($val) + { + $this->_propDict["deleted"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return ListItem + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + + /** + * Gets the activities + * The list of recent activities that took place on this item. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The list of recent activities that took place on this item. + * + * @param ItemActivityOLD[] $val The activities + * + * @return ListItem + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + + /** + * Gets the analytics + * Analytics about the view activities that took place on this item. + * + * @return ItemAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * Analytics about the view activities that took place on this item. + * + * @param ItemAnalytics $val The analytics + * + * @return ListItem + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + + /** + * Gets the documentSetVersions + * Version information for a document set version created by a user. + * + * @return array|null The documentSetVersions + */ + public function getDocumentSetVersions() + { + if (array_key_exists("documentSetVersions", $this->_propDict)) { + return $this->_propDict["documentSetVersions"]; + } else { + return null; + } + } + + /** + * Sets the documentSetVersions + * Version information for a document set version created by a user. + * + * @param DocumentSetVersion[] $val The documentSetVersions + * + * @return ListItem + */ + public function setDocumentSetVersions($val) + { + $this->_propDict["documentSetVersions"] = $val; + return $this; + } + + /** + * Gets the driveItem + * For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + * + * @param DriveItem $val The driveItem + * + * @return ListItem + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + + /** + * Gets the fields + * The values of the columns set on this list item. + * + * @return FieldValueSet|null The fields + */ + public function getFields() + { + if (array_key_exists("fields", $this->_propDict)) { + if (is_a($this->_propDict["fields"], "\Beta\Microsoft\Graph\Model\FieldValueSet") || is_null($this->_propDict["fields"])) { + return $this->_propDict["fields"]; + } else { + $this->_propDict["fields"] = new FieldValueSet($this->_propDict["fields"]); + return $this->_propDict["fields"]; + } + } + return null; + } + + /** + * Sets the fields + * The values of the columns set on this list item. + * + * @param FieldValueSet $val The fields + * + * @return ListItem + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + + + /** + * Gets the versions + * The list of previous versions of the list item. + * + * @return array|null The versions + */ + public function getVersions() + { + if (array_key_exists("versions", $this->_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * The list of previous versions of the list item. + * + * @param ListItemVersion[] $val The versions + * + * @return ListItem + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItemVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItemVersion.php new file mode 100644 index 0000000..ab8e3f3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItemVersion.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["fields"], "\Beta\Microsoft\Graph\Model\FieldValueSet") || is_null($this->_propDict["fields"])) { + return $this->_propDict["fields"]; + } else { + $this->_propDict["fields"] = new FieldValueSet($this->_propDict["fields"]); + return $this->_propDict["fields"]; + } + } + return null; + } + + /** + * Sets the fields + * A collection of the fields and values for this version of the list item. + * + * @param FieldValueSet $val The fields + * + * @return ListItemVersion + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassScope.php new file mode 100644 index 0000000..ccea2d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassScope.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["isDialInBypassEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDialInBypassEnabled + * Specifies whether or not to always let dial-in callers bypass the lobby. Optional. + * + * @param bool $val The value of the isDialInBypassEnabled + * + * @return LobbyBypassSettings + */ + public function setIsDialInBypassEnabled($val) + { + $this->_propDict["isDialInBypassEnabled"] = $val; + return $this; + } + + /** + * Gets the scope + * Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Optional. + * + * @return LobbyBypassScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\LobbyBypassScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new LobbyBypassScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Optional. + * + * @param LobbyBypassScope $val The value to assign to the scope + * + * @return LobbyBypassSettings The LobbyBypassSettings + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalSecurityOptionsAdministratorElevationPromptBehaviorType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalSecurityOptionsAdministratorElevationPromptBehaviorType.php new file mode 100644 index 0000000..ded720d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalSecurityOptionsAdministratorElevationPromptBehaviorType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * A name representing the user's locale in natural language, for example, 'English (United States)'. + * + * @param string $val The value of the displayName + * + * @return LocaleInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the locale + * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. + * + * @param string $val The value of the locale + * + * @return LocaleInfo + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalizedNotificationMessage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalizedNotificationMessage.php new file mode 100644 index 0000000..86cc8ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalizedNotificationMessage.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. + * + * @param bool $val The isDefault + * + * @return LocalizedNotificationMessage + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return LocalizedNotificationMessage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the locale + * The Locale for which this message is destined. + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * The Locale for which this message is destined. + * + * @param string $val The locale + * + * @return LocalizedNotificationMessage + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + + /** + * Gets the messageTemplate + * The Message Template content. + * + * @return string|null The messageTemplate + */ + public function getMessageTemplate() + { + if (array_key_exists("messageTemplate", $this->_propDict)) { + return $this->_propDict["messageTemplate"]; + } else { + return null; + } + } + + /** + * Sets the messageTemplate + * The Message Template content. + * + * @param string $val The messageTemplate + * + * @return LocalizedNotificationMessage + */ + public function setMessageTemplate($val) + { + $this->_propDict["messageTemplate"] = $val; + return $this; + } + + /** + * Gets the subject + * The Message Template Subject. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The Message Template Subject. + * + * @param string $val The subject + * + * @return LocalizedNotificationMessage + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocateDeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocateDeviceActionResult.php new file mode 100644 index 0000000..6794400 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocateDeviceActionResult.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["deviceLocation"], "\Beta\Microsoft\Graph\Model\DeviceGeoLocation") || is_null($this->_propDict["deviceLocation"])) { + return $this->_propDict["deviceLocation"]; + } else { + $this->_propDict["deviceLocation"] = new DeviceGeoLocation($this->_propDict["deviceLocation"]); + return $this->_propDict["deviceLocation"]; + } + } + return null; + } + + /** + * Sets the deviceLocation + * device location + * + * @param DeviceGeoLocation $val The value to assign to the deviceLocation + * + * @return LocateDeviceActionResult The LocateDeviceActionResult + */ + public function setDeviceLocation($val) + { + $this->_propDict["deviceLocation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Location.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Location.php new file mode 100644 index 0000000..b9a6481 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Location.php @@ -0,0 +1,270 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The street address of the location. + * + * @param PhysicalAddress $val The value to assign to the address + * + * @return Location The Location + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the coordinates + * The geographic coordinates and elevation of the location. + * + * @return OutlookGeoCoordinates|null The coordinates + */ + public function getCoordinates() + { + if (array_key_exists("coordinates", $this->_propDict)) { + if (is_a($this->_propDict["coordinates"], "\Beta\Microsoft\Graph\Model\OutlookGeoCoordinates") || is_null($this->_propDict["coordinates"])) { + return $this->_propDict["coordinates"]; + } else { + $this->_propDict["coordinates"] = new OutlookGeoCoordinates($this->_propDict["coordinates"]); + return $this->_propDict["coordinates"]; + } + } + return null; + } + + /** + * Sets the coordinates + * The geographic coordinates and elevation of the location. + * + * @param OutlookGeoCoordinates $val The value to assign to the coordinates + * + * @return Location The Location + */ + public function setCoordinates($val) + { + $this->_propDict["coordinates"] = $val; + return $this; + } + /** + * Gets the displayName + * The name associated with the location. + * + * @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 + * The name associated with the location. + * + * @param string $val The value of the displayName + * + * @return Location + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the locationEmailAddress + * Optional email address of the location. + * + * @return string|null The locationEmailAddress + */ + public function getLocationEmailAddress() + { + if (array_key_exists("locationEmailAddress", $this->_propDict)) { + return $this->_propDict["locationEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the locationEmailAddress + * Optional email address of the location. + * + * @param string $val The value of the locationEmailAddress + * + * @return Location + */ + public function setLocationEmailAddress($val) + { + $this->_propDict["locationEmailAddress"] = $val; + return $this; + } + + /** + * Gets the locationType + * The type of location. Possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only. + * + * @return LocationType|null The locationType + */ + public function getLocationType() + { + if (array_key_exists("locationType", $this->_propDict)) { + if (is_a($this->_propDict["locationType"], "\Beta\Microsoft\Graph\Model\LocationType") || is_null($this->_propDict["locationType"])) { + return $this->_propDict["locationType"]; + } else { + $this->_propDict["locationType"] = new LocationType($this->_propDict["locationType"]); + return $this->_propDict["locationType"]; + } + } + return null; + } + + /** + * Sets the locationType + * The type of location. Possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only. + * + * @param LocationType $val The value to assign to the locationType + * + * @return Location The Location + */ + public function setLocationType($val) + { + $this->_propDict["locationType"] = $val; + return $this; + } + /** + * Gets the locationUri + * Optional URI representing the location. + * + * @return string|null The locationUri + */ + public function getLocationUri() + { + if (array_key_exists("locationUri", $this->_propDict)) { + return $this->_propDict["locationUri"]; + } else { + return null; + } + } + + /** + * Sets the locationUri + * Optional URI representing the location. + * + * @param string $val The value of the locationUri + * + * @return Location + */ + public function setLocationUri($val) + { + $this->_propDict["locationUri"] = $val; + return $this; + } + /** + * Gets the uniqueId + * For internal use only. + * + * @return string|null The uniqueId + */ + public function getUniqueId() + { + if (array_key_exists("uniqueId", $this->_propDict)) { + return $this->_propDict["uniqueId"]; + } else { + return null; + } + } + + /** + * Sets the uniqueId + * For internal use only. + * + * @param string $val The value of the uniqueId + * + * @return Location + */ + public function setUniqueId($val) + { + $this->_propDict["uniqueId"] = $val; + return $this; + } + + /** + * Gets the uniqueIdType + * For internal use only. + * + * @return LocationUniqueIdType|null The uniqueIdType + */ + public function getUniqueIdType() + { + if (array_key_exists("uniqueIdType", $this->_propDict)) { + if (is_a($this->_propDict["uniqueIdType"], "\Beta\Microsoft\Graph\Model\LocationUniqueIdType") || is_null($this->_propDict["uniqueIdType"])) { + return $this->_propDict["uniqueIdType"]; + } else { + $this->_propDict["uniqueIdType"] = new LocationUniqueIdType($this->_propDict["uniqueIdType"]); + return $this->_propDict["uniqueIdType"]; + } + } + return null; + } + + /** + * Sets the uniqueIdType + * For internal use only. + * + * @param LocationUniqueIdType $val The value to assign to the uniqueIdType + * + * @return Location The Location + */ + public function setUniqueIdType($val) + { + $this->_propDict["uniqueIdType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraint.php new file mode 100644 index 0000000..d77f743 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraint.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + * + * @param bool $val The value of the isRequired + * + * @return LocationConstraint + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + + /** + * Gets the locations + * Constraint information for one or more locations that the client requests for the meeting. + * + * @return LocationConstraintItem|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\LocationConstraintItem") || is_null($this->_propDict["locations"])) { + return $this->_propDict["locations"]; + } else { + $this->_propDict["locations"] = new LocationConstraintItem($this->_propDict["locations"]); + return $this->_propDict["locations"]; + } + } + return null; + } + + /** + * Sets the locations + * Constraint information for one or more locations that the client requests for the meeting. + * + * @param LocationConstraintItem $val The value to assign to the locations + * + * @return LocationConstraint The LocationConstraint + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + /** + * Gets the suggestLocation + * The client requests the service to suggest one or more meeting locations. + * + * @return bool|null The suggestLocation + */ + public function getSuggestLocation() + { + if (array_key_exists("suggestLocation", $this->_propDict)) { + return $this->_propDict["suggestLocation"]; + } else { + return null; + } + } + + /** + * Sets the suggestLocation + * The client requests the service to suggest one or more meeting locations. + * + * @param bool $val The value of the suggestLocation + * + * @return LocationConstraint + */ + public function setSuggestLocation($val) + { + $this->_propDict["suggestLocation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraintItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraintItem.php new file mode 100644 index 0000000..eb40a34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraintItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["resolveAvailability"]; + } else { + return null; + } + } + + /** + * Sets the resolveAvailability + * If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true. + * + * @param bool $val The value of the resolveAvailability + * + * @return LocationConstraintItem + */ + public function setResolveAvailability($val) + { + $this->_propDict["resolveAvailability"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationType.php new file mode 100644 index 0000000..fd4ba10 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationType.php @@ -0,0 +1,42 @@ +_propDict)) { + if (is_a($this->_propDict["lastLogOnDateTime"], "\DateTime") || is_null($this->_propDict["lastLogOnDateTime"])) { + return $this->_propDict["lastLogOnDateTime"]; + } else { + $this->_propDict["lastLogOnDateTime"] = new \DateTime($this->_propDict["lastLogOnDateTime"]); + return $this->_propDict["lastLogOnDateTime"]; + } + } + return null; + } + + /** + * Sets the lastLogOnDateTime + * Date time when user logs on + * + * @param \DateTime $val The value to assign to the lastLogOnDateTime + * + * @return LoggedOnUser The LoggedOnUser + */ + public function setLastLogOnDateTime($val) + { + $this->_propDict["lastLogOnDateTime"] = $val; + return $this; + } + /** + * Gets the userId + * User id + * + * @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 + * User id + * + * @param string $val The value of the userId + * + * @return LoggedOnUser + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php new file mode 100644 index 0000000..f6ae201 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogicAppTriggerEndpointConfiguration.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.logicAppTriggerEndpointConfiguration"); + } + + /** + * Gets the logicAppWorkflowName + * The name of the logic app. + * + * @return string|null The logicAppWorkflowName + */ + public function getLogicAppWorkflowName() + { + if (array_key_exists("logicAppWorkflowName", $this->_propDict)) { + return $this->_propDict["logicAppWorkflowName"]; + } else { + return null; + } + } + + /** + * Sets the logicAppWorkflowName + * The name of the logic app. + * + * @param string $val The value of the logicAppWorkflowName + * + * @return LogicAppTriggerEndpointConfiguration + */ + public function setLogicAppWorkflowName($val) + { + $this->_propDict["logicAppWorkflowName"] = $val; + return $this; + } + /** + * Gets the resourceGroupName + * The Azure resource group name for the logic app. + * + * @return string|null The resourceGroupName + */ + public function getResourceGroupName() + { + if (array_key_exists("resourceGroupName", $this->_propDict)) { + return $this->_propDict["resourceGroupName"]; + } else { + return null; + } + } + + /** + * Sets the resourceGroupName + * The Azure resource group name for the logic app. + * + * @param string $val The value of the resourceGroupName + * + * @return LogicAppTriggerEndpointConfiguration + */ + public function setResourceGroupName($val) + { + $this->_propDict["resourceGroupName"] = $val; + return $this; + } + /** + * Gets the subscriptionId + * Identifier of the Azure subscription for the logic app. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * Identifier of the Azure subscription for the logic app. + * + * @param string $val The value of the subscriptionId + * + * @return LogicAppTriggerEndpointConfiguration + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LoginPageTextVisibilitySettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LoginPageTextVisibilitySettings.php new file mode 100644 index 0000000..ed2480b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LoginPageTextVisibilitySettings.php @@ -0,0 +1,192 @@ +_propDict)) { + return $this->_propDict["hideAccountResetCredentials"]; + } else { + return null; + } + } + + /** + * Sets the hideAccountResetCredentials + * + * @param bool $val The value of the hideAccountResetCredentials + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideAccountResetCredentials($val) + { + $this->_propDict["hideAccountResetCredentials"] = $val; + return $this; + } + /** + * Gets the hideCannotAccessYourAccount + * Option to hide the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in form. + * + * @return bool|null The hideCannotAccessYourAccount + */ + public function getHideCannotAccessYourAccount() + { + if (array_key_exists("hideCannotAccessYourAccount", $this->_propDict)) { + return $this->_propDict["hideCannotAccessYourAccount"]; + } else { + return null; + } + } + + /** + * Sets the hideCannotAccessYourAccount + * Option to hide the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in form. + * + * @param bool $val The value of the hideCannotAccessYourAccount + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideCannotAccessYourAccount($val) + { + $this->_propDict["hideCannotAccessYourAccount"] = $val; + return $this; + } + /** + * Gets the hideForgotMyPassword + * Option to hide the self-service password reset (SSPR) 'Forgot my password' hyperlink on the sign-in form. + * + * @return bool|null The hideForgotMyPassword + */ + public function getHideForgotMyPassword() + { + if (array_key_exists("hideForgotMyPassword", $this->_propDict)) { + return $this->_propDict["hideForgotMyPassword"]; + } else { + return null; + } + } + + /** + * Sets the hideForgotMyPassword + * Option to hide the self-service password reset (SSPR) 'Forgot my password' hyperlink on the sign-in form. + * + * @param bool $val The value of the hideForgotMyPassword + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideForgotMyPassword($val) + { + $this->_propDict["hideForgotMyPassword"] = $val; + return $this; + } + /** + * Gets the hidePrivacyAndCookies + * Option to hide the 'Privacy & Cookies' hyperlink in the footer. + * + * @return bool|null The hidePrivacyAndCookies + */ + public function getHidePrivacyAndCookies() + { + if (array_key_exists("hidePrivacyAndCookies", $this->_propDict)) { + return $this->_propDict["hidePrivacyAndCookies"]; + } else { + return null; + } + } + + /** + * Sets the hidePrivacyAndCookies + * Option to hide the 'Privacy & Cookies' hyperlink in the footer. + * + * @param bool $val The value of the hidePrivacyAndCookies + * + * @return LoginPageTextVisibilitySettings + */ + public function setHidePrivacyAndCookies($val) + { + $this->_propDict["hidePrivacyAndCookies"] = $val; + return $this; + } + /** + * Gets the hideResetItNow + * Option to hide the self-service password reset (SSPR) 'reset it now' hyperlink on the sign-in form. + * + * @return bool|null The hideResetItNow + */ + public function getHideResetItNow() + { + if (array_key_exists("hideResetItNow", $this->_propDict)) { + return $this->_propDict["hideResetItNow"]; + } else { + return null; + } + } + + /** + * Sets the hideResetItNow + * Option to hide the self-service password reset (SSPR) 'reset it now' hyperlink on the sign-in form. + * + * @param bool $val The value of the hideResetItNow + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideResetItNow($val) + { + $this->_propDict["hideResetItNow"] = $val; + return $this; + } + /** + * Gets the hideTermsOfUse + * Option to hide the 'Terms of Use' hyperlink in the footer. + * + * @return bool|null The hideTermsOfUse + */ + public function getHideTermsOfUse() + { + if (array_key_exists("hideTermsOfUse", $this->_propDict)) { + return $this->_propDict["hideTermsOfUse"]; + } else { + return null; + } + } + + /** + * Sets the hideTermsOfUse + * Option to hide the 'Terms of Use' hyperlink in the footer. + * + * @param bool $val The value of the hideTermsOfUse + * + * @return LoginPageTextVisibilitySettings + */ + public function setHideTermsOfUse($val) + { + $this->_propDict["hideTermsOfUse"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogonType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogonType.php new file mode 100644 index 0000000..8a3ec71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogonType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["accountDomain"]; + } else { + return null; + } + } + + /** + * Sets the accountDomain + * Domain of user account used to logon. + * + * @param string $val The value of the accountDomain + * + * @return LogonUser + */ + public function setAccountDomain($val) + { + $this->_propDict["accountDomain"] = $val; + return $this; + } + /** + * Gets the accountName + * Account name of user account used to logon. + * + * @return string|null The accountName + */ + public function getAccountName() + { + if (array_key_exists("accountName", $this->_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Account name of user account used to logon. + * + * @param string $val The value of the accountName + * + * @return LogonUser + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + + /** + * Gets the accountType + * User Account type, per Windows definition. Possible values are: unknown, standard, power, administrator. + * + * @return UserAccountSecurityType|null The accountType + */ + public function getAccountType() + { + if (array_key_exists("accountType", $this->_propDict)) { + if (is_a($this->_propDict["accountType"], "\Beta\Microsoft\Graph\Model\UserAccountSecurityType") || is_null($this->_propDict["accountType"])) { + return $this->_propDict["accountType"]; + } else { + $this->_propDict["accountType"] = new UserAccountSecurityType($this->_propDict["accountType"]); + return $this->_propDict["accountType"]; + } + } + return null; + } + + /** + * Sets the accountType + * User Account type, per Windows definition. Possible values are: unknown, standard, power, administrator. + * + * @param UserAccountSecurityType $val The value to assign to the accountType + * + * @return LogonUser The LogonUser + */ + public function setAccountType($val) + { + $this->_propDict["accountType"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * DateTime at which the earliest logon by this user account occurred (provider-determined period). 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 firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * DateTime at which the earliest logon by this user account occurred (provider-determined period). 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 firstSeenDateTime + * + * @return LogonUser The LogonUser + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * DateTime at which the latest logon by this user account occurred. 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 lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * DateTime at which the latest logon by this user account occurred. 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 lastSeenDateTime + * + * @return LogonUser The LogonUser + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + /** + * Gets the logonId + * User logon ID. + * + * @return string|null The logonId + */ + public function getLogonId() + { + if (array_key_exists("logonId", $this->_propDict)) { + return $this->_propDict["logonId"]; + } else { + return null; + } + } + + /** + * Sets the logonId + * User logon ID. + * + * @param string $val The value of the logonId + * + * @return LogonUser + */ + public function setLogonId($val) + { + $this->_propDict["logonId"] = $val; + return $this; + } + + /** + * Gets the logonTypes + * Collection of the logon types observed for the logged on user from when first to last seen. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + * + * @return LogonType|null The logonTypes + */ + public function getLogonTypes() + { + if (array_key_exists("logonTypes", $this->_propDict)) { + if (is_a($this->_propDict["logonTypes"], "\Beta\Microsoft\Graph\Model\LogonType") || is_null($this->_propDict["logonTypes"])) { + return $this->_propDict["logonTypes"]; + } else { + $this->_propDict["logonTypes"] = new LogonType($this->_propDict["logonTypes"]); + return $this->_propDict["logonTypes"]; + } + } + return null; + } + + /** + * Sets the logonTypes + * Collection of the logon types observed for the logged on user from when first to last seen. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + * + * @param LogonType $val The value to assign to the logonTypes + * + * @return LogonUser The LogonUser + */ + public function setLogonTypes($val) + { + $this->_propDict["logonTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperation.php new file mode 100644 index 0000000..203dc68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperation.php @@ -0,0 +1,174 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return LongRunningOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return LongRunningOperation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceLocation + * + * @return string|null The resourceLocation + */ + public function getResourceLocation() + { + if (array_key_exists("resourceLocation", $this->_propDict)) { + return $this->_propDict["resourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the resourceLocation + * + * @param string $val The resourceLocation + * + * @return LongRunningOperation + */ + public function setResourceLocation($val) + { + $this->_propDict["resourceLocation"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return LongRunningOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\LongRunningOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new LongRunningOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param LongRunningOperationStatus $val The status + * + * @return LongRunningOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the statusDetail + * + * @return string|null The statusDetail + */ + public function getStatusDetail() + { + if (array_key_exists("statusDetail", $this->_propDict)) { + return $this->_propDict["statusDetail"]; + } else { + return null; + } + } + + /** + * Sets the statusDetail + * + * @param string $val The statusDetail + * + * @return LongRunningOperation + */ + public function setStatusDetail($val) + { + $this->_propDict["statusDetail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperationStatus.php new file mode 100644 index 0000000..51924a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperationStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["allowMultipleValues"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleValues + * Indicates whether multiple values can be selected from the source. + * + * @param bool $val The value of the allowMultipleValues + * + * @return LookupColumn + */ + public function setAllowMultipleValues($val) + { + $this->_propDict["allowMultipleValues"] = $val; + return $this; + } + /** + * Gets the allowUnlimitedLength + * Indicates whether values in the column should be able to exceed the standard limit of 255 characters. + * + * @return bool|null The allowUnlimitedLength + */ + public function getAllowUnlimitedLength() + { + if (array_key_exists("allowUnlimitedLength", $this->_propDict)) { + return $this->_propDict["allowUnlimitedLength"]; + } else { + return null; + } + } + + /** + * Sets the allowUnlimitedLength + * Indicates whether values in the column should be able to exceed the standard limit of 255 characters. + * + * @param bool $val The value of the allowUnlimitedLength + * + * @return LookupColumn + */ + public function setAllowUnlimitedLength($val) + { + $this->_propDict["allowUnlimitedLength"] = $val; + return $this; + } + /** + * Gets the columnName + * The name of the lookup source column. + * + * @return string|null The columnName + */ + public function getColumnName() + { + if (array_key_exists("columnName", $this->_propDict)) { + return $this->_propDict["columnName"]; + } else { + return null; + } + } + + /** + * Sets the columnName + * The name of the lookup source column. + * + * @param string $val The value of the columnName + * + * @return LookupColumn + */ + public function setColumnName($val) + { + $this->_propDict["columnName"] = $val; + return $this; + } + /** + * Gets the listId + * The unique identifier of the lookup source list. + * + * @return string|null The listId + */ + public function getListId() + { + if (array_key_exists("listId", $this->_propDict)) { + return $this->_propDict["listId"]; + } else { + return null; + } + } + + /** + * Sets the listId + * The unique identifier of the lookup source list. + * + * @param string $val The value of the listId + * + * @return LookupColumn + */ + public function setListId($val) + { + $this->_propDict["listId"] = $val; + return $this; + } + /** + * Gets the primaryLookupColumnId + * If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here. + * + * @return string|null The primaryLookupColumnId + */ + public function getPrimaryLookupColumnId() + { + if (array_key_exists("primaryLookupColumnId", $this->_propDict)) { + return $this->_propDict["primaryLookupColumnId"]; + } else { + return null; + } + } + + /** + * Sets the primaryLookupColumnId + * If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here. + * + * @param string $val The value of the primaryLookupColumnId + * + * @return LookupColumn + */ + public function setPrimaryLookupColumnId($val) + { + $this->_propDict["primaryLookupColumnId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LookupResultRow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LookupResultRow.php new file mode 100644 index 0000000..25137a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LookupResultRow.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["row"]; + } else { + return null; + } + } + + /** + * Sets the row + * + * @param string $val The row + * + * @return LookupResultRow + */ + public function setRow($val) + { + $this->_propDict["row"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LostModeState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LostModeState.php new file mode 100644 index 0000000..e169e1a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LostModeState.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.macAppIdentifier"); + } + + /** + * Gets the bundleId + * The identifier for an app, as specified in the app store. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The identifier for an app, as specified in the app store. + * + * @param string $val The value of the bundleId + * + * @return MacAppIdentifier + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAppleEventReceiver.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAppleEventReceiver.php new file mode 100644 index 0000000..522e1d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAppleEventReceiver.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowed"]; + } else { + return null; + } + } + + /** + * Sets the allowed + * Allow or block this app from receiving Apple events. + * + * @param bool $val The value of the allowed + * + * @return MacOSAppleEventReceiver + */ + public function setAllowed($val) + { + $this->_propDict["allowed"] = $val; + return $this; + } + /** + * Gets the codeRequirement + * Code requirement for the app or binary that receives the Apple Event. + * + * @return string|null The codeRequirement + */ + public function getCodeRequirement() + { + if (array_key_exists("codeRequirement", $this->_propDict)) { + return $this->_propDict["codeRequirement"]; + } else { + return null; + } + } + + /** + * Sets the codeRequirement + * Code requirement for the app or binary that receives the Apple Event. + * + * @param string $val The value of the codeRequirement + * + * @return MacOSAppleEventReceiver + */ + public function setCodeRequirement($val) + { + $this->_propDict["codeRequirement"] = $val; + return $this; + } + /** + * Gets the identifier + * Bundle ID of the app or file path of the process or executable that receives the Apple Event. + * + * @return string|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * Bundle ID of the app or file path of the process or executable that receives the Apple Event. + * + * @param string $val The value of the identifier + * + * @return MacOSAppleEventReceiver + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the identifierType + * Use bundle ID for an app or path for a process or executable that receives the Apple Event. Possible values are: bundleID, path. + * + * @return MacOSProcessIdentifierType|null The identifierType + */ + public function getIdentifierType() + { + if (array_key_exists("identifierType", $this->_propDict)) { + if (is_a($this->_propDict["identifierType"], "\Beta\Microsoft\Graph\Model\MacOSProcessIdentifierType") || is_null($this->_propDict["identifierType"])) { + return $this->_propDict["identifierType"]; + } else { + $this->_propDict["identifierType"] = new MacOSProcessIdentifierType($this->_propDict["identifierType"]); + return $this->_propDict["identifierType"]; + } + } + return null; + } + + /** + * Sets the identifierType + * Use bundle ID for an app or path for a process or executable that receives the Apple Event. Possible values are: bundleID, path. + * + * @param MacOSProcessIdentifierType $val The value to assign to the identifierType + * + * @return MacOSAppleEventReceiver The MacOSAppleEventReceiver + */ + public function setIdentifierType($val) + { + $this->_propDict["identifierType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAssociatedDomainsItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAssociatedDomainsItem.php new file mode 100644 index 0000000..37347aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAssociatedDomainsItem.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["applicationIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the applicationIdentifier + * The application identifier of the app to associate domains with. + * + * @param string $val The value of the applicationIdentifier + * + * @return MacOSAssociatedDomainsItem + */ + public function setApplicationIdentifier($val) + { + $this->_propDict["applicationIdentifier"] = $val; + return $this; + } + /** + * Gets the directDownloadsEnabled + * Determines whether data should be downloaded directly or via a CDN. + * + * @return bool|null The directDownloadsEnabled + */ + public function getDirectDownloadsEnabled() + { + if (array_key_exists("directDownloadsEnabled", $this->_propDict)) { + return $this->_propDict["directDownloadsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the directDownloadsEnabled + * Determines whether data should be downloaded directly or via a CDN. + * + * @param bool $val The value of the directDownloadsEnabled + * + * @return MacOSAssociatedDomainsItem + */ + public function setDirectDownloadsEnabled($val) + { + $this->_propDict["directDownloadsEnabled"] = $val; + return $this; + } + /** + * Gets the domains + * The list of domains to associate. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * The list of domains to associate. + * + * @param string $val The value of the domains + * + * @return MacOSAssociatedDomainsItem + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAzureAdSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAzureAdSingleSignOnExtension.php new file mode 100644 index 0000000..a48b1c8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAzureAdSingleSignOnExtension.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.macOSAzureAdSingleSignOnExtension"); + } + + /** + * Gets the bundleIdAccessControlList + * An optional list of additional bundle IDs allowed to use the AAD extension for single sign-on. + * + * @return string|null The bundleIdAccessControlList + */ + public function getBundleIdAccessControlList() + { + if (array_key_exists("bundleIdAccessControlList", $this->_propDict)) { + return $this->_propDict["bundleIdAccessControlList"]; + } else { + return null; + } + } + + /** + * Sets the bundleIdAccessControlList + * An optional list of additional bundle IDs allowed to use the AAD extension for single sign-on. + * + * @param string $val The value of the bundleIdAccessControlList + * + * @return MacOSAzureAdSingleSignOnExtension + */ + public function setBundleIdAccessControlList($val) + { + $this->_propDict["bundleIdAccessControlList"] = $val; + return $this; + } + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return MacOSAzureAdSingleSignOnExtension The MacOSAzureAdSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the enableSharedDeviceMode + * Enables or disables shared device mode. + * + * @return bool|null The enableSharedDeviceMode + */ + public function getEnableSharedDeviceMode() + { + if (array_key_exists("enableSharedDeviceMode", $this->_propDict)) { + return $this->_propDict["enableSharedDeviceMode"]; + } else { + return null; + } + } + + /** + * Sets the enableSharedDeviceMode + * Enables or disables shared device mode. + * + * @param bool $val The value of the enableSharedDeviceMode + * + * @return MacOSAzureAdSingleSignOnExtension + */ + public function setEnableSharedDeviceMode($val) + { + $this->_propDict["enableSharedDeviceMode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCertificateProfileBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCertificateProfileBase.php new file mode 100644 index 0000000..341cf4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCertificateProfileBase.php @@ -0,0 +1,184 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return MacOSCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return MacOSCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. + * + * @param int $val The renewalThresholdPercentage + * + * @return MacOSCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return MacOSCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameAsEmail, custom, commonNameIncludingEmail, commonNameAsIMEI, commonNameAsSerialNumber. + * + * @return AppleSubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\AppleSubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new AppleSubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameAsEmail, custom, commonNameIncludingEmail, commonNameAsIMEI, commonNameAsSerialNumber. + * + * @param AppleSubjectNameFormat $val The subjectNameFormat + * + * @return MacOSCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCompliancePolicy.php new file mode 100644 index 0000000..d0e45fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCompliancePolicy.php @@ -0,0 +1,652 @@ +_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionRequiredSecurityLevel + * MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The advancedThreatProtectionRequiredSecurityLevel + * + * @return MacOSCompliancePolicy + */ + public function setAdvancedThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["advancedThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @return bool|null The deviceThreatProtectionEnabled + */ + public function getDeviceThreatProtectionEnabled() + { + if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return MacOSCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return MacOSCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the firewallBlockAllIncoming + * Corresponds to the 'Block all incoming connections' option. + * + * @return bool|null The firewallBlockAllIncoming + */ + public function getFirewallBlockAllIncoming() + { + if (array_key_exists("firewallBlockAllIncoming", $this->_propDict)) { + return $this->_propDict["firewallBlockAllIncoming"]; + } else { + return null; + } + } + + /** + * Sets the firewallBlockAllIncoming + * Corresponds to the 'Block all incoming connections' option. + * + * @param bool $val The firewallBlockAllIncoming + * + * @return MacOSCompliancePolicy + */ + public function setFirewallBlockAllIncoming($val) + { + $this->_propDict["firewallBlockAllIncoming"] = boolval($val); + return $this; + } + + /** + * Gets the firewallEnabled + * Whether the firewall should be enabled or not. + * + * @return bool|null The firewallEnabled + */ + public function getFirewallEnabled() + { + if (array_key_exists("firewallEnabled", $this->_propDict)) { + return $this->_propDict["firewallEnabled"]; + } else { + return null; + } + } + + /** + * Sets the firewallEnabled + * Whether the firewall should be enabled or not. + * + * @param bool $val The firewallEnabled + * + * @return MacOSCompliancePolicy + */ + public function setFirewallEnabled($val) + { + $this->_propDict["firewallEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the firewallEnableStealthMode + * Corresponds to 'Enable stealth mode.' + * + * @return bool|null The firewallEnableStealthMode + */ + public function getFirewallEnableStealthMode() + { + if (array_key_exists("firewallEnableStealthMode", $this->_propDict)) { + return $this->_propDict["firewallEnableStealthMode"]; + } else { + return null; + } + } + + /** + * Sets the firewallEnableStealthMode + * Corresponds to 'Enable stealth mode.' + * + * @param bool $val The firewallEnableStealthMode + * + * @return MacOSCompliancePolicy + */ + public function setFirewallEnableStealthMode($val) + { + $this->_propDict["firewallEnableStealthMode"] = boolval($val); + return $this; + } + + /** + * Gets the gatekeeperAllowedAppSource + * System and Privacy setting that determines which download locations apps can be run from on a macOS device. Possible values are: notConfigured, macAppStore, macAppStoreAndIdentifiedDevelopers, anywhere. + * + * @return MacOSGatekeeperAppSources|null The gatekeeperAllowedAppSource + */ + public function getGatekeeperAllowedAppSource() + { + if (array_key_exists("gatekeeperAllowedAppSource", $this->_propDict)) { + if (is_a($this->_propDict["gatekeeperAllowedAppSource"], "\Beta\Microsoft\Graph\Model\MacOSGatekeeperAppSources") || is_null($this->_propDict["gatekeeperAllowedAppSource"])) { + return $this->_propDict["gatekeeperAllowedAppSource"]; + } else { + $this->_propDict["gatekeeperAllowedAppSource"] = new MacOSGatekeeperAppSources($this->_propDict["gatekeeperAllowedAppSource"]); + return $this->_propDict["gatekeeperAllowedAppSource"]; + } + } + return null; + } + + /** + * Sets the gatekeeperAllowedAppSource + * System and Privacy setting that determines which download locations apps can be run from on a macOS device. Possible values are: notConfigured, macAppStore, macAppStoreAndIdentifiedDevelopers, anywhere. + * + * @param MacOSGatekeeperAppSources $val The gatekeeperAllowedAppSource + * + * @return MacOSCompliancePolicy + */ + public function setGatekeeperAllowedAppSource($val) + { + $this->_propDict["gatekeeperAllowedAppSource"] = $val; + return $this; + } + + /** + * Gets the osMaximumBuildVersion + * Maximum MacOS build version. + * + * @return string|null The osMaximumBuildVersion + */ + public function getOsMaximumBuildVersion() + { + if (array_key_exists("osMaximumBuildVersion", $this->_propDict)) { + return $this->_propDict["osMaximumBuildVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumBuildVersion + * Maximum MacOS build version. + * + * @param string $val The osMaximumBuildVersion + * + * @return MacOSCompliancePolicy + */ + public function setOsMaximumBuildVersion($val) + { + $this->_propDict["osMaximumBuildVersion"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum MacOS version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum MacOS version. + * + * @param string $val The osMaximumVersion + * + * @return MacOSCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumBuildVersion + * Minimum MacOS build version. + * + * @return string|null The osMinimumBuildVersion + */ + public function getOsMinimumBuildVersion() + { + if (array_key_exists("osMinimumBuildVersion", $this->_propDict)) { + return $this->_propDict["osMinimumBuildVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumBuildVersion + * Minimum MacOS build version. + * + * @param string $val The osMinimumBuildVersion + * + * @return MacOSCompliancePolicy + */ + public function setOsMinimumBuildVersion($val) + { + $this->_propDict["osMinimumBuildVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum MacOS version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum MacOS version. + * + * @param string $val The osMinimumVersion + * + * @return MacOSCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block simple passwords. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block simple passwords. + * + * @param bool $val The passwordBlockSimple + * + * @return MacOSCompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 65535 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 65535 + * + * @param int $val The passwordExpirationDays + * + * @return MacOSCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return MacOSCompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of password. Valid values 4 to 14 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of password. Valid values 4 to 14 + * + * @param int $val The passwordMinimumLength + * + * @return MacOSCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return MacOSCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return MacOSCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return MacOSCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return MacOSCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Mac OS devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Mac OS devices. + * + * @param bool $val The storageRequireEncryption + * + * @return MacOSCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the systemIntegrityProtectionEnabled + * Require that devices have enabled system integrity protection. + * + * @return bool|null The systemIntegrityProtectionEnabled + */ + public function getSystemIntegrityProtectionEnabled() + { + if (array_key_exists("systemIntegrityProtectionEnabled", $this->_propDict)) { + return $this->_propDict["systemIntegrityProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the systemIntegrityProtectionEnabled + * Require that devices have enabled system integrity protection. + * + * @param bool $val The systemIntegrityProtectionEnabled + * + * @return MacOSCompliancePolicy + */ + public function setSystemIntegrityProtectionEnabled($val) + { + $this->_propDict["systemIntegrityProtectionEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSContentCachingClientPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSContentCachingClientPolicy.php new file mode 100644 index 0000000..954181c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSContentCachingClientPolicy.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.macOSCredentialSingleSignOnExtension"); + } + + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return MacOSCredentialSingleSignOnExtension The MacOSCredentialSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @param string $val The value of the domains + * + * @return MacOSCredentialSingleSignOnExtension + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The extensionIdentifier + */ + public function getExtensionIdentifier() + { + if (array_key_exists("extensionIdentifier", $this->_propDict)) { + return $this->_propDict["extensionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the extensionIdentifier + * + * @return MacOSCredentialSingleSignOnExtension + */ + public function setExtensionIdentifier($val) + { + $this->_propDict["extensionIdentifier"] = $val; + return $this; + } + /** + * Gets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @param string $val The value of the realm + * + * @return MacOSCredentialSingleSignOnExtension + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the teamIdentifier + * + * @return MacOSCredentialSingleSignOnExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomAppConfiguration.php new file mode 100644 index 0000000..2906ba0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomAppConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * Bundle id for targeting. + * + * @param string $val The bundleId + * + * @return MacOSCustomAppConfiguration + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the configurationXml + * Configuration xml. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The configurationXml + */ + public function getConfigurationXml() + { + if (array_key_exists("configurationXml", $this->_propDict)) { + if (is_a($this->_propDict["configurationXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["configurationXml"])) { + return $this->_propDict["configurationXml"]; + } else { + $this->_propDict["configurationXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["configurationXml"]); + return $this->_propDict["configurationXml"]; + } + } + return null; + } + + /** + * Sets the configurationXml + * Configuration xml. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The configurationXml + * + * @return MacOSCustomAppConfiguration + */ + public function setConfigurationXml($val) + { + $this->_propDict["configurationXml"] = $val; + return $this; + } + + /** + * Gets the fileName + * Configuration file name (.plist + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Configuration file name (.plist + * + * @param string $val The fileName + * + * @return MacOSCustomAppConfiguration + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomConfiguration.php new file mode 100644 index 0000000..eed7d44 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomConfiguration.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["deploymentChannel"], "\Beta\Microsoft\Graph\Model\AppleDeploymentChannel") || is_null($this->_propDict["deploymentChannel"])) { + return $this->_propDict["deploymentChannel"]; + } else { + $this->_propDict["deploymentChannel"] = new AppleDeploymentChannel($this->_propDict["deploymentChannel"]); + return $this->_propDict["deploymentChannel"]; + } + } + return null; + } + + /** + * Sets the deploymentChannel + * Indicates the channel used to deploy the configuration profile. Available choices are DeviceChannel, UserChannel. Possible values are: deviceChannel, userChannel. + * + * @param AppleDeploymentChannel $val The deploymentChannel + * + * @return MacOSCustomConfiguration + */ + public function setDeploymentChannel($val) + { + $this->_propDict["deploymentChannel"] = $val; + return $this; + } + + /** + * Gets the payload + * Payload. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The payload + */ + public function getPayload() + { + if (array_key_exists("payload", $this->_propDict)) { + if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * Payload. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The payload + * + * @return MacOSCustomConfiguration + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the payloadFileName + * Payload file name (.mobileconfig + * + * @return string|null The payloadFileName + */ + public function getPayloadFileName() + { + if (array_key_exists("payloadFileName", $this->_propDict)) { + return $this->_propDict["payloadFileName"]; + } else { + return null; + } + } + + /** + * Sets the payloadFileName + * Payload file name (.mobileconfig + * + * @param string $val The payloadFileName + * + * @return MacOSCustomConfiguration + */ + public function setPayloadFileName($val) + { + $this->_propDict["payloadFileName"] = $val; + return $this; + } + + /** + * Gets the payloadName + * Name that is displayed to the user. + * + * @return string|null The payloadName + */ + public function getPayloadName() + { + if (array_key_exists("payloadName", $this->_propDict)) { + return $this->_propDict["payloadName"]; + } else { + return null; + } + } + + /** + * Sets the payloadName + * Name that is displayed to the user. + * + * @param string $val The payloadName + * + * @return MacOSCustomConfiguration + */ + public function setPayloadName($val) + { + $this->_propDict["payloadName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDeviceFeaturesConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDeviceFeaturesConfiguration.php new file mode 100644 index 0000000..74d6566 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDeviceFeaturesConfiguration.php @@ -0,0 +1,1280 @@ +_propDict)) { + return $this->_propDict["adminShowHostInfo"]; + } else { + return null; + } + } + + /** + * Sets the adminShowHostInfo + * Whether to show admin host information on the login window. + * + * @param bool $val The adminShowHostInfo + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAdminShowHostInfo($val) + { + $this->_propDict["adminShowHostInfo"] = boolval($val); + return $this; + } + + + /** + * Gets the appAssociatedDomains + * Gets or sets a list that maps apps to their associated domains. Application identifiers must be unique. This collection can contain a maximum of 500 elements. + * + * @return array|null The appAssociatedDomains + */ + public function getAppAssociatedDomains() + { + if (array_key_exists("appAssociatedDomains", $this->_propDict)) { + return $this->_propDict["appAssociatedDomains"]; + } else { + return null; + } + } + + /** + * Sets the appAssociatedDomains + * Gets or sets a list that maps apps to their associated domains. Application identifiers must be unique. This collection can contain a maximum of 500 elements. + * + * @param MacOSAssociatedDomainsItem[] $val The appAssociatedDomains + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAppAssociatedDomains($val) + { + $this->_propDict["appAssociatedDomains"] = $val; + return $this; + } + + + /** + * Gets the associatedDomains + * DEPRECATED: use appAssociatedDomains instead. Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of 'service:domain' where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements. + * + * @return array|null The associatedDomains + */ + public function getAssociatedDomains() + { + if (array_key_exists("associatedDomains", $this->_propDict)) { + return $this->_propDict["associatedDomains"]; + } else { + return null; + } + } + + /** + * Sets the associatedDomains + * DEPRECATED: use appAssociatedDomains instead. Gets or sets a list that maps apps to their associated domains. The key should match the app's ID, and the value should be a string in the form of 'service:domain' where domain is a fully qualified hostname (e.g. webcredentials:example.com). This collection can contain a maximum of 500 elements. + * + * @param KeyValuePair[] $val The associatedDomains + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAssociatedDomains($val) + { + $this->_propDict["associatedDomains"] = $val; + return $this; + } + + /** + * Gets the authorizedUsersListHidden + * Whether to show the name and password dialog or a list of users on the login window. + * + * @return bool|null The authorizedUsersListHidden + */ + public function getAuthorizedUsersListHidden() + { + if (array_key_exists("authorizedUsersListHidden", $this->_propDict)) { + return $this->_propDict["authorizedUsersListHidden"]; + } else { + return null; + } + } + + /** + * Sets the authorizedUsersListHidden + * Whether to show the name and password dialog or a list of users on the login window. + * + * @param bool $val The authorizedUsersListHidden + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAuthorizedUsersListHidden($val) + { + $this->_propDict["authorizedUsersListHidden"] = boolval($val); + return $this; + } + + /** + * Gets the authorizedUsersListHideAdminUsers + * Whether to hide admin users in the authorized users list on the login window. + * + * @return bool|null The authorizedUsersListHideAdminUsers + */ + public function getAuthorizedUsersListHideAdminUsers() + { + if (array_key_exists("authorizedUsersListHideAdminUsers", $this->_propDict)) { + return $this->_propDict["authorizedUsersListHideAdminUsers"]; + } else { + return null; + } + } + + /** + * Sets the authorizedUsersListHideAdminUsers + * Whether to hide admin users in the authorized users list on the login window. + * + * @param bool $val The authorizedUsersListHideAdminUsers + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAuthorizedUsersListHideAdminUsers($val) + { + $this->_propDict["authorizedUsersListHideAdminUsers"] = boolval($val); + return $this; + } + + /** + * Gets the authorizedUsersListHideLocalUsers + * Whether to show only network and system users in the authorized users list on the login window. + * + * @return bool|null The authorizedUsersListHideLocalUsers + */ + public function getAuthorizedUsersListHideLocalUsers() + { + if (array_key_exists("authorizedUsersListHideLocalUsers", $this->_propDict)) { + return $this->_propDict["authorizedUsersListHideLocalUsers"]; + } else { + return null; + } + } + + /** + * Sets the authorizedUsersListHideLocalUsers + * Whether to show only network and system users in the authorized users list on the login window. + * + * @param bool $val The authorizedUsersListHideLocalUsers + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAuthorizedUsersListHideLocalUsers($val) + { + $this->_propDict["authorizedUsersListHideLocalUsers"] = boolval($val); + return $this; + } + + /** + * Gets the authorizedUsersListHideMobileAccounts + * Whether to hide mobile users in the authorized users list on the login window. + * + * @return bool|null The authorizedUsersListHideMobileAccounts + */ + public function getAuthorizedUsersListHideMobileAccounts() + { + if (array_key_exists("authorizedUsersListHideMobileAccounts", $this->_propDict)) { + return $this->_propDict["authorizedUsersListHideMobileAccounts"]; + } else { + return null; + } + } + + /** + * Sets the authorizedUsersListHideMobileAccounts + * Whether to hide mobile users in the authorized users list on the login window. + * + * @param bool $val The authorizedUsersListHideMobileAccounts + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAuthorizedUsersListHideMobileAccounts($val) + { + $this->_propDict["authorizedUsersListHideMobileAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the authorizedUsersListIncludeNetworkUsers + * Whether to show network users in the authorized users list on the login window. + * + * @return bool|null The authorizedUsersListIncludeNetworkUsers + */ + public function getAuthorizedUsersListIncludeNetworkUsers() + { + if (array_key_exists("authorizedUsersListIncludeNetworkUsers", $this->_propDict)) { + return $this->_propDict["authorizedUsersListIncludeNetworkUsers"]; + } else { + return null; + } + } + + /** + * Sets the authorizedUsersListIncludeNetworkUsers + * Whether to show network users in the authorized users list on the login window. + * + * @param bool $val The authorizedUsersListIncludeNetworkUsers + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAuthorizedUsersListIncludeNetworkUsers($val) + { + $this->_propDict["authorizedUsersListIncludeNetworkUsers"] = boolval($val); + return $this; + } + + /** + * Gets the authorizedUsersListShowOtherManagedUsers + * Whether to show other users in the authorized users list on the login window. + * + * @return bool|null The authorizedUsersListShowOtherManagedUsers + */ + public function getAuthorizedUsersListShowOtherManagedUsers() + { + if (array_key_exists("authorizedUsersListShowOtherManagedUsers", $this->_propDict)) { + return $this->_propDict["authorizedUsersListShowOtherManagedUsers"]; + } else { + return null; + } + } + + /** + * Sets the authorizedUsersListShowOtherManagedUsers + * Whether to show other users in the authorized users list on the login window. + * + * @param bool $val The authorizedUsersListShowOtherManagedUsers + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAuthorizedUsersListShowOtherManagedUsers($val) + { + $this->_propDict["authorizedUsersListShowOtherManagedUsers"] = boolval($val); + return $this; + } + + + /** + * Gets the autoLaunchItems + * List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements. + * + * @return array|null The autoLaunchItems + */ + public function getAutoLaunchItems() + { + if (array_key_exists("autoLaunchItems", $this->_propDict)) { + return $this->_propDict["autoLaunchItems"]; + } else { + return null; + } + } + + /** + * Sets the autoLaunchItems + * List of applications, files, folders, and other items to launch when the user logs in. This collection can contain a maximum of 500 elements. + * + * @param MacOSLaunchItem[] $val The autoLaunchItems + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setAutoLaunchItems($val) + { + $this->_propDict["autoLaunchItems"] = $val; + return $this; + } + + /** + * Gets the consoleAccessDisabled + * Whether the Other user will disregard use of the console special user name. + * + * @return bool|null The consoleAccessDisabled + */ + public function getConsoleAccessDisabled() + { + if (array_key_exists("consoleAccessDisabled", $this->_propDict)) { + return $this->_propDict["consoleAccessDisabled"]; + } else { + return null; + } + } + + /** + * Sets the consoleAccessDisabled + * Whether the Other user will disregard use of the console special user name. + * + * @param bool $val The consoleAccessDisabled + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setConsoleAccessDisabled($val) + { + $this->_propDict["consoleAccessDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingBlockDeletion + * Prevents content caches from purging content to free up disk space for other apps. + * + * @return bool|null The contentCachingBlockDeletion + */ + public function getContentCachingBlockDeletion() + { + if (array_key_exists("contentCachingBlockDeletion", $this->_propDict)) { + return $this->_propDict["contentCachingBlockDeletion"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingBlockDeletion + * Prevents content caches from purging content to free up disk space for other apps. + * + * @param bool $val The contentCachingBlockDeletion + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingBlockDeletion($val) + { + $this->_propDict["contentCachingBlockDeletion"] = boolval($val); + return $this; + } + + + /** + * Gets the contentCachingClientListenRanges + * A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements. + * + * @return array|null The contentCachingClientListenRanges + */ + public function getContentCachingClientListenRanges() + { + if (array_key_exists("contentCachingClientListenRanges", $this->_propDict)) { + return $this->_propDict["contentCachingClientListenRanges"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingClientListenRanges + * A list of custom IP ranges content caches will use to listen for clients. This collection can contain a maximum of 500 elements. + * + * @param IpRange[] $val The contentCachingClientListenRanges + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingClientListenRanges($val) + { + $this->_propDict["contentCachingClientListenRanges"] = $val; + return $this; + } + + /** + * Gets the contentCachingClientPolicy + * Determines the method in which content caching servers will listen for clients. Possible values are: notConfigured, clientsInLocalNetwork, clientsWithSamePublicIpAddress, clientsInCustomLocalNetworks, clientsInCustomLocalNetworksWithFallback. + * + * @return MacOSContentCachingClientPolicy|null The contentCachingClientPolicy + */ + public function getContentCachingClientPolicy() + { + if (array_key_exists("contentCachingClientPolicy", $this->_propDict)) { + if (is_a($this->_propDict["contentCachingClientPolicy"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingClientPolicy") || is_null($this->_propDict["contentCachingClientPolicy"])) { + return $this->_propDict["contentCachingClientPolicy"]; + } else { + $this->_propDict["contentCachingClientPolicy"] = new MacOSContentCachingClientPolicy($this->_propDict["contentCachingClientPolicy"]); + return $this->_propDict["contentCachingClientPolicy"]; + } + } + return null; + } + + /** + * Sets the contentCachingClientPolicy + * Determines the method in which content caching servers will listen for clients. Possible values are: notConfigured, clientsInLocalNetwork, clientsWithSamePublicIpAddress, clientsInCustomLocalNetworks, clientsInCustomLocalNetworksWithFallback. + * + * @param MacOSContentCachingClientPolicy $val The contentCachingClientPolicy + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingClientPolicy($val) + { + $this->_propDict["contentCachingClientPolicy"] = $val; + return $this; + } + + /** + * Gets the contentCachingDataPath + * The path to the directory used to store cached content. The value must be (or end with) /Library/Application Support/Apple/AssetCache/Data + * + * @return string|null The contentCachingDataPath + */ + public function getContentCachingDataPath() + { + if (array_key_exists("contentCachingDataPath", $this->_propDict)) { + return $this->_propDict["contentCachingDataPath"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingDataPath + * The path to the directory used to store cached content. The value must be (or end with) /Library/Application Support/Apple/AssetCache/Data + * + * @param string $val The contentCachingDataPath + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingDataPath($val) + { + $this->_propDict["contentCachingDataPath"] = $val; + return $this; + } + + /** + * Gets the contentCachingDisableConnectionSharing + * Disables internet connection sharing. + * + * @return bool|null The contentCachingDisableConnectionSharing + */ + public function getContentCachingDisableConnectionSharing() + { + if (array_key_exists("contentCachingDisableConnectionSharing", $this->_propDict)) { + return $this->_propDict["contentCachingDisableConnectionSharing"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingDisableConnectionSharing + * Disables internet connection sharing. + * + * @param bool $val The contentCachingDisableConnectionSharing + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingDisableConnectionSharing($val) + { + $this->_propDict["contentCachingDisableConnectionSharing"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingEnabled + * Enables content caching and prevents it from being disabled by the user. + * + * @return bool|null The contentCachingEnabled + */ + public function getContentCachingEnabled() + { + if (array_key_exists("contentCachingEnabled", $this->_propDict)) { + return $this->_propDict["contentCachingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingEnabled + * Enables content caching and prevents it from being disabled by the user. + * + * @param bool $val The contentCachingEnabled + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingEnabled($val) + { + $this->_propDict["contentCachingEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingForceConnectionSharing + * Forces internet connection sharing. contentCachingDisableConnectionSharing overrides this setting. + * + * @return bool|null The contentCachingForceConnectionSharing + */ + public function getContentCachingForceConnectionSharing() + { + if (array_key_exists("contentCachingForceConnectionSharing", $this->_propDict)) { + return $this->_propDict["contentCachingForceConnectionSharing"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingForceConnectionSharing + * Forces internet connection sharing. contentCachingDisableConnectionSharing overrides this setting. + * + * @param bool $val The contentCachingForceConnectionSharing + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingForceConnectionSharing($val) + { + $this->_propDict["contentCachingForceConnectionSharing"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingKeepAwake + * Prevent the device from sleeping if content caching is enabled. + * + * @return bool|null The contentCachingKeepAwake + */ + public function getContentCachingKeepAwake() + { + if (array_key_exists("contentCachingKeepAwake", $this->_propDict)) { + return $this->_propDict["contentCachingKeepAwake"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingKeepAwake + * Prevent the device from sleeping if content caching is enabled. + * + * @param bool $val The contentCachingKeepAwake + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingKeepAwake($val) + { + $this->_propDict["contentCachingKeepAwake"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingLogClientIdentities + * Enables logging of IP addresses and ports of clients that request cached content. + * + * @return bool|null The contentCachingLogClientIdentities + */ + public function getContentCachingLogClientIdentities() + { + if (array_key_exists("contentCachingLogClientIdentities", $this->_propDict)) { + return $this->_propDict["contentCachingLogClientIdentities"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingLogClientIdentities + * Enables logging of IP addresses and ports of clients that request cached content. + * + * @param bool $val The contentCachingLogClientIdentities + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingLogClientIdentities($val) + { + $this->_propDict["contentCachingLogClientIdentities"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingMaxSizeBytes + * The maximum number of bytes of disk space that will be used for the content cache. A value of 0 (default) indicates unlimited disk space. + * + * @return int|null The contentCachingMaxSizeBytes + */ + public function getContentCachingMaxSizeBytes() + { + if (array_key_exists("contentCachingMaxSizeBytes", $this->_propDict)) { + return $this->_propDict["contentCachingMaxSizeBytes"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingMaxSizeBytes + * The maximum number of bytes of disk space that will be used for the content cache. A value of 0 (default) indicates unlimited disk space. + * + * @param int $val The contentCachingMaxSizeBytes + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingMaxSizeBytes($val) + { + $this->_propDict["contentCachingMaxSizeBytes"] = intval($val); + return $this; + } + + /** + * Gets the contentCachingParents + * A list of IP addresses representing parent content caches. + * + * @return string|null The contentCachingParents + */ + public function getContentCachingParents() + { + if (array_key_exists("contentCachingParents", $this->_propDict)) { + return $this->_propDict["contentCachingParents"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingParents + * A list of IP addresses representing parent content caches. + * + * @param string $val The contentCachingParents + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingParents($val) + { + $this->_propDict["contentCachingParents"] = $val; + return $this; + } + + /** + * Gets the contentCachingParentSelectionPolicy + * Determines the method in which content caching servers will select parents if multiple are present. Possible values are: notConfigured, roundRobin, firstAvailable, urlPathHash, random, stickyAvailable. + * + * @return MacOSContentCachingParentSelectionPolicy|null The contentCachingParentSelectionPolicy + */ + public function getContentCachingParentSelectionPolicy() + { + if (array_key_exists("contentCachingParentSelectionPolicy", $this->_propDict)) { + if (is_a($this->_propDict["contentCachingParentSelectionPolicy"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingParentSelectionPolicy") || is_null($this->_propDict["contentCachingParentSelectionPolicy"])) { + return $this->_propDict["contentCachingParentSelectionPolicy"]; + } else { + $this->_propDict["contentCachingParentSelectionPolicy"] = new MacOSContentCachingParentSelectionPolicy($this->_propDict["contentCachingParentSelectionPolicy"]); + return $this->_propDict["contentCachingParentSelectionPolicy"]; + } + } + return null; + } + + /** + * Sets the contentCachingParentSelectionPolicy + * Determines the method in which content caching servers will select parents if multiple are present. Possible values are: notConfigured, roundRobin, firstAvailable, urlPathHash, random, stickyAvailable. + * + * @param MacOSContentCachingParentSelectionPolicy $val The contentCachingParentSelectionPolicy + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingParentSelectionPolicy($val) + { + $this->_propDict["contentCachingParentSelectionPolicy"] = $val; + return $this; + } + + + /** + * Gets the contentCachingPeerFilterRanges + * A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements. + * + * @return array|null The contentCachingPeerFilterRanges + */ + public function getContentCachingPeerFilterRanges() + { + if (array_key_exists("contentCachingPeerFilterRanges", $this->_propDict)) { + return $this->_propDict["contentCachingPeerFilterRanges"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingPeerFilterRanges + * A list of custom IP ranges content caches will use to query for content from peers caches. This collection can contain a maximum of 500 elements. + * + * @param IpRange[] $val The contentCachingPeerFilterRanges + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingPeerFilterRanges($val) + { + $this->_propDict["contentCachingPeerFilterRanges"] = $val; + return $this; + } + + + /** + * Gets the contentCachingPeerListenRanges + * A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements. + * + * @return array|null The contentCachingPeerListenRanges + */ + public function getContentCachingPeerListenRanges() + { + if (array_key_exists("contentCachingPeerListenRanges", $this->_propDict)) { + return $this->_propDict["contentCachingPeerListenRanges"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingPeerListenRanges + * A list of custom IP ranges content caches will use to listen for peer caches. This collection can contain a maximum of 500 elements. + * + * @param IpRange[] $val The contentCachingPeerListenRanges + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingPeerListenRanges($val) + { + $this->_propDict["contentCachingPeerListenRanges"] = $val; + return $this; + } + + /** + * Gets the contentCachingPeerPolicy + * Determines the method in which content caches peer with other caches. Possible values are: notConfigured, peersInLocalNetwork, peersWithSamePublicIpAddress, peersInCustomLocalNetworks. + * + * @return MacOSContentCachingPeerPolicy|null The contentCachingPeerPolicy + */ + public function getContentCachingPeerPolicy() + { + if (array_key_exists("contentCachingPeerPolicy", $this->_propDict)) { + if (is_a($this->_propDict["contentCachingPeerPolicy"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingPeerPolicy") || is_null($this->_propDict["contentCachingPeerPolicy"])) { + return $this->_propDict["contentCachingPeerPolicy"]; + } else { + $this->_propDict["contentCachingPeerPolicy"] = new MacOSContentCachingPeerPolicy($this->_propDict["contentCachingPeerPolicy"]); + return $this->_propDict["contentCachingPeerPolicy"]; + } + } + return null; + } + + /** + * Sets the contentCachingPeerPolicy + * Determines the method in which content caches peer with other caches. Possible values are: notConfigured, peersInLocalNetwork, peersWithSamePublicIpAddress, peersInCustomLocalNetworks. + * + * @param MacOSContentCachingPeerPolicy $val The contentCachingPeerPolicy + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingPeerPolicy($val) + { + $this->_propDict["contentCachingPeerPolicy"] = $val; + return $this; + } + + /** + * Gets the contentCachingPort + * Sets the port used for content caching. If the value is 0, a random available port will be selected. Valid values 0 to 65535 + * + * @return int|null The contentCachingPort + */ + public function getContentCachingPort() + { + if (array_key_exists("contentCachingPort", $this->_propDict)) { + return $this->_propDict["contentCachingPort"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingPort + * Sets the port used for content caching. If the value is 0, a random available port will be selected. Valid values 0 to 65535 + * + * @param int $val The contentCachingPort + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingPort($val) + { + $this->_propDict["contentCachingPort"] = intval($val); + return $this; + } + + + /** + * Gets the contentCachingPublicRanges + * A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements. + * + * @return array|null The contentCachingPublicRanges + */ + public function getContentCachingPublicRanges() + { + if (array_key_exists("contentCachingPublicRanges", $this->_propDict)) { + return $this->_propDict["contentCachingPublicRanges"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingPublicRanges + * A list of custom IP ranges that Apple's content caching service should use to match clients to content caches. This collection can contain a maximum of 500 elements. + * + * @param IpRange[] $val The contentCachingPublicRanges + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingPublicRanges($val) + { + $this->_propDict["contentCachingPublicRanges"] = $val; + return $this; + } + + /** + * Gets the contentCachingShowAlerts + * Display content caching alerts as system notifications. + * + * @return bool|null The contentCachingShowAlerts + */ + public function getContentCachingShowAlerts() + { + if (array_key_exists("contentCachingShowAlerts", $this->_propDict)) { + return $this->_propDict["contentCachingShowAlerts"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingShowAlerts + * Display content caching alerts as system notifications. + * + * @param bool $val The contentCachingShowAlerts + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingShowAlerts($val) + { + $this->_propDict["contentCachingShowAlerts"] = boolval($val); + return $this; + } + + /** + * Gets the contentCachingType + * Determines what type of content is allowed to be cached by Apple's content caching service. Possible values are: notConfigured, userContentOnly, sharedContentOnly. + * + * @return MacOSContentCachingType|null The contentCachingType + */ + public function getContentCachingType() + { + if (array_key_exists("contentCachingType", $this->_propDict)) { + if (is_a($this->_propDict["contentCachingType"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingType") || is_null($this->_propDict["contentCachingType"])) { + return $this->_propDict["contentCachingType"]; + } else { + $this->_propDict["contentCachingType"] = new MacOSContentCachingType($this->_propDict["contentCachingType"]); + return $this->_propDict["contentCachingType"]; + } + } + return null; + } + + /** + * Sets the contentCachingType + * Determines what type of content is allowed to be cached by Apple's content caching service. Possible values are: notConfigured, userContentOnly, sharedContentOnly. + * + * @param MacOSContentCachingType $val The contentCachingType + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setContentCachingType($val) + { + $this->_propDict["contentCachingType"] = $val; + return $this; + } + + /** + * Gets the loginWindowText + * Custom text to be displayed on the login window. + * + * @return string|null The loginWindowText + */ + public function getLoginWindowText() + { + if (array_key_exists("loginWindowText", $this->_propDict)) { + return $this->_propDict["loginWindowText"]; + } else { + return null; + } + } + + /** + * Sets the loginWindowText + * Custom text to be displayed on the login window. + * + * @param string $val The loginWindowText + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setLoginWindowText($val) + { + $this->_propDict["loginWindowText"] = $val; + return $this; + } + + /** + * Gets the logOutDisabledWhileLoggedIn + * Whether the Log Out menu item on the login window will be disabled while the user is logged in. + * + * @return bool|null The logOutDisabledWhileLoggedIn + */ + public function getLogOutDisabledWhileLoggedIn() + { + if (array_key_exists("logOutDisabledWhileLoggedIn", $this->_propDict)) { + return $this->_propDict["logOutDisabledWhileLoggedIn"]; + } else { + return null; + } + } + + /** + * Sets the logOutDisabledWhileLoggedIn + * Whether the Log Out menu item on the login window will be disabled while the user is logged in. + * + * @param bool $val The logOutDisabledWhileLoggedIn + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setLogOutDisabledWhileLoggedIn($val) + { + $this->_propDict["logOutDisabledWhileLoggedIn"] = boolval($val); + return $this; + } + + /** + * Gets the macOSSingleSignOnExtension + * Gets or sets a single sign-on extension profile. + * + * @return MacOSSingleSignOnExtension|null The macOSSingleSignOnExtension + */ + public function getMacOSSingleSignOnExtension() + { + if (array_key_exists("macOSSingleSignOnExtension", $this->_propDict)) { + if (is_a($this->_propDict["macOSSingleSignOnExtension"], "\Beta\Microsoft\Graph\Model\MacOSSingleSignOnExtension") || is_null($this->_propDict["macOSSingleSignOnExtension"])) { + return $this->_propDict["macOSSingleSignOnExtension"]; + } else { + $this->_propDict["macOSSingleSignOnExtension"] = new MacOSSingleSignOnExtension($this->_propDict["macOSSingleSignOnExtension"]); + return $this->_propDict["macOSSingleSignOnExtension"]; + } + } + return null; + } + + /** + * Sets the macOSSingleSignOnExtension + * Gets or sets a single sign-on extension profile. + * + * @param MacOSSingleSignOnExtension $val The macOSSingleSignOnExtension + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setMacOSSingleSignOnExtension($val) + { + $this->_propDict["macOSSingleSignOnExtension"] = $val; + return $this; + } + + /** + * Gets the powerOffDisabledWhileLoggedIn + * Whether the Power Off menu item on the login window will be disabled while the user is logged in. + * + * @return bool|null The powerOffDisabledWhileLoggedIn + */ + public function getPowerOffDisabledWhileLoggedIn() + { + if (array_key_exists("powerOffDisabledWhileLoggedIn", $this->_propDict)) { + return $this->_propDict["powerOffDisabledWhileLoggedIn"]; + } else { + return null; + } + } + + /** + * Sets the powerOffDisabledWhileLoggedIn + * Whether the Power Off menu item on the login window will be disabled while the user is logged in. + * + * @param bool $val The powerOffDisabledWhileLoggedIn + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setPowerOffDisabledWhileLoggedIn($val) + { + $this->_propDict["powerOffDisabledWhileLoggedIn"] = boolval($val); + return $this; + } + + /** + * Gets the restartDisabled + * Whether to hide the Restart button item on the login window. + * + * @return bool|null The restartDisabled + */ + public function getRestartDisabled() + { + if (array_key_exists("restartDisabled", $this->_propDict)) { + return $this->_propDict["restartDisabled"]; + } else { + return null; + } + } + + /** + * Sets the restartDisabled + * Whether to hide the Restart button item on the login window. + * + * @param bool $val The restartDisabled + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setRestartDisabled($val) + { + $this->_propDict["restartDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the restartDisabledWhileLoggedIn + * Whether the Restart menu item on the login window will be disabled while the user is logged in. + * + * @return bool|null The restartDisabledWhileLoggedIn + */ + public function getRestartDisabledWhileLoggedIn() + { + if (array_key_exists("restartDisabledWhileLoggedIn", $this->_propDict)) { + return $this->_propDict["restartDisabledWhileLoggedIn"]; + } else { + return null; + } + } + + /** + * Sets the restartDisabledWhileLoggedIn + * Whether the Restart menu item on the login window will be disabled while the user is logged in. + * + * @param bool $val The restartDisabledWhileLoggedIn + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setRestartDisabledWhileLoggedIn($val) + { + $this->_propDict["restartDisabledWhileLoggedIn"] = boolval($val); + return $this; + } + + /** + * Gets the screenLockDisableImmediate + * Whether to disable the immediate screen lock functions. + * + * @return bool|null The screenLockDisableImmediate + */ + public function getScreenLockDisableImmediate() + { + if (array_key_exists("screenLockDisableImmediate", $this->_propDict)) { + return $this->_propDict["screenLockDisableImmediate"]; + } else { + return null; + } + } + + /** + * Sets the screenLockDisableImmediate + * Whether to disable the immediate screen lock functions. + * + * @param bool $val The screenLockDisableImmediate + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setScreenLockDisableImmediate($val) + { + $this->_propDict["screenLockDisableImmediate"] = boolval($val); + return $this; + } + + /** + * Gets the shutDownDisabled + * Whether to hide the Shut Down button item on the login window. + * + * @return bool|null The shutDownDisabled + */ + public function getShutDownDisabled() + { + if (array_key_exists("shutDownDisabled", $this->_propDict)) { + return $this->_propDict["shutDownDisabled"]; + } else { + return null; + } + } + + /** + * Sets the shutDownDisabled + * Whether to hide the Shut Down button item on the login window. + * + * @param bool $val The shutDownDisabled + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setShutDownDisabled($val) + { + $this->_propDict["shutDownDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the shutDownDisabledWhileLoggedIn + * Whether the Shut Down menu item on the login window will be disabled while the user is logged in. + * + * @return bool|null The shutDownDisabledWhileLoggedIn + */ + public function getShutDownDisabledWhileLoggedIn() + { + if (array_key_exists("shutDownDisabledWhileLoggedIn", $this->_propDict)) { + return $this->_propDict["shutDownDisabledWhileLoggedIn"]; + } else { + return null; + } + } + + /** + * Sets the shutDownDisabledWhileLoggedIn + * Whether the Shut Down menu item on the login window will be disabled while the user is logged in. + * + * @param bool $val The shutDownDisabledWhileLoggedIn + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setShutDownDisabledWhileLoggedIn($val) + { + $this->_propDict["shutDownDisabledWhileLoggedIn"] = boolval($val); + return $this; + } + + /** + * Gets the singleSignOnExtension + * Gets or sets a single sign-on extension profile. Deprecated: use MacOSSingleSignOnExtension instead. + * + * @return SingleSignOnExtension|null The singleSignOnExtension + */ + public function getSingleSignOnExtension() + { + if (array_key_exists("singleSignOnExtension", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnExtension"], "\Beta\Microsoft\Graph\Model\SingleSignOnExtension") || is_null($this->_propDict["singleSignOnExtension"])) { + return $this->_propDict["singleSignOnExtension"]; + } else { + $this->_propDict["singleSignOnExtension"] = new SingleSignOnExtension($this->_propDict["singleSignOnExtension"]); + return $this->_propDict["singleSignOnExtension"]; + } + } + return null; + } + + /** + * Sets the singleSignOnExtension + * Gets or sets a single sign-on extension profile. Deprecated: use MacOSSingleSignOnExtension instead. + * + * @param SingleSignOnExtension $val The singleSignOnExtension + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setSingleSignOnExtension($val) + { + $this->_propDict["singleSignOnExtension"] = $val; + return $this; + } + + /** + * Gets the sleepDisabled + * Whether to hide the Sleep menu item on the login window. + * + * @return bool|null The sleepDisabled + */ + public function getSleepDisabled() + { + if (array_key_exists("sleepDisabled", $this->_propDict)) { + return $this->_propDict["sleepDisabled"]; + } else { + return null; + } + } + + /** + * Sets the sleepDisabled + * Whether to hide the Sleep menu item on the login window. + * + * @param bool $val The sleepDisabled + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setSleepDisabled($val) + { + $this->_propDict["sleepDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the singleSignOnExtensionPkinitCertificate + * PKINIT Certificate for the authentication with single sign-on extensions. + * + * @return MacOSCertificateProfileBase|null The singleSignOnExtensionPkinitCertificate + */ + public function getSingleSignOnExtensionPkinitCertificate() + { + if (array_key_exists("singleSignOnExtensionPkinitCertificate", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnExtensionPkinitCertificate"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase") || is_null($this->_propDict["singleSignOnExtensionPkinitCertificate"])) { + return $this->_propDict["singleSignOnExtensionPkinitCertificate"]; + } else { + $this->_propDict["singleSignOnExtensionPkinitCertificate"] = new MacOSCertificateProfileBase($this->_propDict["singleSignOnExtensionPkinitCertificate"]); + return $this->_propDict["singleSignOnExtensionPkinitCertificate"]; + } + } + return null; + } + + /** + * Sets the singleSignOnExtensionPkinitCertificate + * PKINIT Certificate for the authentication with single sign-on extensions. + * + * @param MacOSCertificateProfileBase $val The singleSignOnExtensionPkinitCertificate + * + * @return MacOSDeviceFeaturesConfiguration + */ + public function setSingleSignOnExtensionPkinitCertificate($val) + { + $this->_propDict["singleSignOnExtensionPkinitCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php new file mode 100644 index 0000000..367ec62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDmgApp.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["ignoreVersionDetection"]; + } else { + return null; + } + } + + /** + * Sets the ignoreVersionDetection + * A value indicating whether the app's version will be used to detect the app after it is installed on a device. Set this to true for apps that use a self-update feature. Set this to false to install the app when it is not already installed on the device, or if the deploying app's version number does not match the version that's already installed on the device. + * + * @param bool $val The ignoreVersionDetection + * + * @return MacOSDmgApp + */ + public function setIgnoreVersionDetection($val) + { + $this->_propDict["ignoreVersionDetection"] = boolval($val); + return $this; + } + + + /** + * Gets the includedApps + * The list of apps expected to be installed by the DMG. + * + * @return array|null The includedApps + */ + public function getIncludedApps() + { + if (array_key_exists("includedApps", $this->_propDict)) { + return $this->_propDict["includedApps"]; + } else { + return null; + } + } + + /** + * Sets the includedApps + * The list of apps expected to be installed by the DMG. + * + * @param MacOSIncludedApp[] $val The includedApps + * + * @return MacOSDmgApp + */ + public function setIncludedApps($val) + { + $this->_propDict["includedApps"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return MacOSMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\MacOSMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new MacOSMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param MacOSMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return MacOSDmgApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the primaryBundleId + * The primary CFBundleIdentifier of the DMG. + * + * @return string|null The primaryBundleId + */ + public function getPrimaryBundleId() + { + if (array_key_exists("primaryBundleId", $this->_propDict)) { + return $this->_propDict["primaryBundleId"]; + } else { + return null; + } + } + + /** + * Sets the primaryBundleId + * The primary CFBundleIdentifier of the DMG. + * + * @param string $val The primaryBundleId + * + * @return MacOSDmgApp + */ + public function setPrimaryBundleId($val) + { + $this->_propDict["primaryBundleId"] = $val; + return $this; + } + + /** + * Gets the primaryBundleVersion + * The primary CFBundleVersion of the DMG. + * + * @return string|null The primaryBundleVersion + */ + public function getPrimaryBundleVersion() + { + if (array_key_exists("primaryBundleVersion", $this->_propDict)) { + return $this->_propDict["primaryBundleVersion"]; + } else { + return null; + } + } + + /** + * Sets the primaryBundleVersion + * The primary CFBundleVersion of the DMG. + * + * @param string $val The primaryBundleVersion + * + * @return MacOSDmgApp + */ + public function setPrimaryBundleVersion($val) + { + $this->_propDict["primaryBundleVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEndpointProtectionConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEndpointProtectionConfiguration.php new file mode 100644 index 0000000..3fa7bbf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEndpointProtectionConfiguration.php @@ -0,0 +1,752 @@ +_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"])) { + return $this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"]; + } else { + $this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"] = new Enablement($this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"]); + return $this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionAutomaticSampleSubmission + * Determines whether or not to enable automatic file sample submission for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The advancedThreatProtectionAutomaticSampleSubmission + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionAutomaticSampleSubmission($val) + { + $this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionCloudDelivered + * Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The advancedThreatProtectionCloudDelivered + */ + public function getAdvancedThreatProtectionCloudDelivered() + { + if (array_key_exists("advancedThreatProtectionCloudDelivered", $this->_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionCloudDelivered"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["advancedThreatProtectionCloudDelivered"])) { + return $this->_propDict["advancedThreatProtectionCloudDelivered"]; + } else { + $this->_propDict["advancedThreatProtectionCloudDelivered"] = new Enablement($this->_propDict["advancedThreatProtectionCloudDelivered"]); + return $this->_propDict["advancedThreatProtectionCloudDelivered"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionCloudDelivered + * Determines whether or not to enable cloud-delivered protection for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The advancedThreatProtectionCloudDelivered + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionCloudDelivered($val) + { + $this->_propDict["advancedThreatProtectionCloudDelivered"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionDiagnosticDataCollection + * Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The advancedThreatProtectionDiagnosticDataCollection + */ + public function getAdvancedThreatProtectionDiagnosticDataCollection() + { + if (array_key_exists("advancedThreatProtectionDiagnosticDataCollection", $this->_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionDiagnosticDataCollection"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["advancedThreatProtectionDiagnosticDataCollection"])) { + return $this->_propDict["advancedThreatProtectionDiagnosticDataCollection"]; + } else { + $this->_propDict["advancedThreatProtectionDiagnosticDataCollection"] = new Enablement($this->_propDict["advancedThreatProtectionDiagnosticDataCollection"]); + return $this->_propDict["advancedThreatProtectionDiagnosticDataCollection"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionDiagnosticDataCollection + * Determines whether or not to enable diagnostic and usage data collection for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The advancedThreatProtectionDiagnosticDataCollection + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionDiagnosticDataCollection($val) + { + $this->_propDict["advancedThreatProtectionDiagnosticDataCollection"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionExcludedExtensions + * A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @return string|null The advancedThreatProtectionExcludedExtensions + */ + public function getAdvancedThreatProtectionExcludedExtensions() + { + if (array_key_exists("advancedThreatProtectionExcludedExtensions", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionExcludedExtensions"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionExcludedExtensions + * A list of file extensions to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @param string $val The advancedThreatProtectionExcludedExtensions + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionExcludedExtensions($val) + { + $this->_propDict["advancedThreatProtectionExcludedExtensions"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionExcludedFiles + * A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @return string|null The advancedThreatProtectionExcludedFiles + */ + public function getAdvancedThreatProtectionExcludedFiles() + { + if (array_key_exists("advancedThreatProtectionExcludedFiles", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionExcludedFiles"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionExcludedFiles + * A list of paths to files to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @param string $val The advancedThreatProtectionExcludedFiles + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionExcludedFiles($val) + { + $this->_propDict["advancedThreatProtectionExcludedFiles"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionExcludedFolders + * A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @return string|null The advancedThreatProtectionExcludedFolders + */ + public function getAdvancedThreatProtectionExcludedFolders() + { + if (array_key_exists("advancedThreatProtectionExcludedFolders", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionExcludedFolders"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionExcludedFolders + * A list of paths to folders to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @param string $val The advancedThreatProtectionExcludedFolders + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionExcludedFolders($val) + { + $this->_propDict["advancedThreatProtectionExcludedFolders"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionExcludedProcesses + * A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @return string|null The advancedThreatProtectionExcludedProcesses + */ + public function getAdvancedThreatProtectionExcludedProcesses() + { + if (array_key_exists("advancedThreatProtectionExcludedProcesses", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionExcludedProcesses"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionExcludedProcesses + * A list of process names to exclude from antivirus scanning for Microsoft Defender Advanced Threat Protection on macOS. + * + * @param string $val The advancedThreatProtectionExcludedProcesses + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionExcludedProcesses($val) + { + $this->_propDict["advancedThreatProtectionExcludedProcesses"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionRealTime + * Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The advancedThreatProtectionRealTime + */ + public function getAdvancedThreatProtectionRealTime() + { + if (array_key_exists("advancedThreatProtectionRealTime", $this->_propDict)) { + if (is_a($this->_propDict["advancedThreatProtectionRealTime"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["advancedThreatProtectionRealTime"])) { + return $this->_propDict["advancedThreatProtectionRealTime"]; + } else { + $this->_propDict["advancedThreatProtectionRealTime"] = new Enablement($this->_propDict["advancedThreatProtectionRealTime"]); + return $this->_propDict["advancedThreatProtectionRealTime"]; + } + } + return null; + } + + /** + * Sets the advancedThreatProtectionRealTime + * Determines whether or not to enable real-time protection for Microsoft Defender Advanced Threat Protection on macOS. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The advancedThreatProtectionRealTime + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setAdvancedThreatProtectionRealTime($val) + { + $this->_propDict["advancedThreatProtectionRealTime"] = $val; + return $this; + } + + /** + * Gets the fileVaultAllowDeferralUntilSignOut + * Optional. If set to true, the user can defer the enabling of FileVault until they sign out. + * + * @return bool|null The fileVaultAllowDeferralUntilSignOut + */ + public function getFileVaultAllowDeferralUntilSignOut() + { + if (array_key_exists("fileVaultAllowDeferralUntilSignOut", $this->_propDict)) { + return $this->_propDict["fileVaultAllowDeferralUntilSignOut"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultAllowDeferralUntilSignOut + * Optional. If set to true, the user can defer the enabling of FileVault until they sign out. + * + * @param bool $val The fileVaultAllowDeferralUntilSignOut + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultAllowDeferralUntilSignOut($val) + { + $this->_propDict["fileVaultAllowDeferralUntilSignOut"] = boolval($val); + return $this; + } + + /** + * Gets the fileVaultDisablePromptAtSignOut + * Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out. + * + * @return bool|null The fileVaultDisablePromptAtSignOut + */ + public function getFileVaultDisablePromptAtSignOut() + { + if (array_key_exists("fileVaultDisablePromptAtSignOut", $this->_propDict)) { + return $this->_propDict["fileVaultDisablePromptAtSignOut"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultDisablePromptAtSignOut + * Optional. When using the Defer option, if set to true, the user is not prompted to enable FileVault at sign-out. + * + * @param bool $val The fileVaultDisablePromptAtSignOut + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultDisablePromptAtSignOut($val) + { + $this->_propDict["fileVaultDisablePromptAtSignOut"] = boolval($val); + return $this; + } + + /** + * Gets the fileVaultEnabled + * Whether FileVault should be enabled or not. + * + * @return bool|null The fileVaultEnabled + */ + public function getFileVaultEnabled() + { + if (array_key_exists("fileVaultEnabled", $this->_propDict)) { + return $this->_propDict["fileVaultEnabled"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultEnabled + * Whether FileVault should be enabled or not. + * + * @param bool $val The fileVaultEnabled + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultEnabled($val) + { + $this->_propDict["fileVaultEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the fileVaultHidePersonalRecoveryKey + * Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands. + * + * @return bool|null The fileVaultHidePersonalRecoveryKey + */ + public function getFileVaultHidePersonalRecoveryKey() + { + if (array_key_exists("fileVaultHidePersonalRecoveryKey", $this->_propDict)) { + return $this->_propDict["fileVaultHidePersonalRecoveryKey"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultHidePersonalRecoveryKey + * Optional. A hidden personal recovery key does not appear on the user's screen during FileVault encryption, reducing the risk of it ending up in the wrong hands. + * + * @param bool $val The fileVaultHidePersonalRecoveryKey + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultHidePersonalRecoveryKey($val) + { + $this->_propDict["fileVaultHidePersonalRecoveryKey"] = boolval($val); + return $this; + } + + /** + * Gets the fileVaultInstitutionalRecoveryKeyCertificate + * Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key. + * + * @return \GuzzleHttp\Psr7\Stream|null The fileVaultInstitutionalRecoveryKeyCertificate + */ + public function getFileVaultInstitutionalRecoveryKeyCertificate() + { + if (array_key_exists("fileVaultInstitutionalRecoveryKeyCertificate", $this->_propDict)) { + if (is_a($this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"])) { + return $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"]; + } else { + $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"]); + return $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"]; + } + } + return null; + } + + /** + * Sets the fileVaultInstitutionalRecoveryKeyCertificate + * Required if selected recovery key type(s) include InstitutionalRecoveryKey. The DER Encoded certificate file used to set an institutional recovery key. + * + * @param \GuzzleHttp\Psr7\Stream $val The fileVaultInstitutionalRecoveryKeyCertificate + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultInstitutionalRecoveryKeyCertificate($val) + { + $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"] = $val; + return $this; + } + + /** + * Gets the fileVaultInstitutionalRecoveryKeyCertificateFileName + * File name of the institutional recovery key certificate to display in UI. (.der). + * + * @return string|null The fileVaultInstitutionalRecoveryKeyCertificateFileName + */ + public function getFileVaultInstitutionalRecoveryKeyCertificateFileName() + { + if (array_key_exists("fileVaultInstitutionalRecoveryKeyCertificateFileName", $this->_propDict)) { + return $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificateFileName"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultInstitutionalRecoveryKeyCertificateFileName + * File name of the institutional recovery key certificate to display in UI. (.der). + * + * @param string $val The fileVaultInstitutionalRecoveryKeyCertificateFileName + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultInstitutionalRecoveryKeyCertificateFileName($val) + { + $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificateFileName"] = $val; + return $this; + } + + /** + * Gets the fileVaultNumberOfTimesUserCanIgnore + * Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature. + * + * @return int|null The fileVaultNumberOfTimesUserCanIgnore + */ + public function getFileVaultNumberOfTimesUserCanIgnore() + { + if (array_key_exists("fileVaultNumberOfTimesUserCanIgnore", $this->_propDict)) { + return $this->_propDict["fileVaultNumberOfTimesUserCanIgnore"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultNumberOfTimesUserCanIgnore + * Optional. When using the Defer option, this is the maximum number of times the user can ignore prompts to enable FileVault before FileVault will be required for the user to sign in. If set to -1, it will always prompt to enable FileVault until FileVault is enabled, though it will allow the user to bypass enabling FileVault. Setting this to 0 will disable the feature. + * + * @param int $val The fileVaultNumberOfTimesUserCanIgnore + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultNumberOfTimesUserCanIgnore($val) + { + $this->_propDict["fileVaultNumberOfTimesUserCanIgnore"] = intval($val); + return $this; + } + + /** + * Gets the fileVaultPersonalRecoveryKeyHelpMessage + * Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key. + * + * @return string|null The fileVaultPersonalRecoveryKeyHelpMessage + */ + public function getFileVaultPersonalRecoveryKeyHelpMessage() + { + if (array_key_exists("fileVaultPersonalRecoveryKeyHelpMessage", $this->_propDict)) { + return $this->_propDict["fileVaultPersonalRecoveryKeyHelpMessage"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultPersonalRecoveryKeyHelpMessage + * Required if selected recovery key type(s) include PersonalRecoveryKey. A short message displayed to the user that explains how they can retrieve their personal recovery key. + * + * @param string $val The fileVaultPersonalRecoveryKeyHelpMessage + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultPersonalRecoveryKeyHelpMessage($val) + { + $this->_propDict["fileVaultPersonalRecoveryKeyHelpMessage"] = $val; + return $this; + } + + /** + * Gets the fileVaultPersonalRecoveryKeyRotationInMonths + * Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months. + * + * @return int|null The fileVaultPersonalRecoveryKeyRotationInMonths + */ + public function getFileVaultPersonalRecoveryKeyRotationInMonths() + { + if (array_key_exists("fileVaultPersonalRecoveryKeyRotationInMonths", $this->_propDict)) { + return $this->_propDict["fileVaultPersonalRecoveryKeyRotationInMonths"]; + } else { + return null; + } + } + + /** + * Sets the fileVaultPersonalRecoveryKeyRotationInMonths + * Optional. If selected recovery key type(s) include PersonalRecoveryKey, the frequency to rotate that key, in months. + * + * @param int $val The fileVaultPersonalRecoveryKeyRotationInMonths + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultPersonalRecoveryKeyRotationInMonths($val) + { + $this->_propDict["fileVaultPersonalRecoveryKeyRotationInMonths"] = intval($val); + return $this; + } + + /** + * Gets the fileVaultSelectedRecoveryKeyTypes + * Required if FileVault is enabled, determines the type(s) of recovery key to use. . Possible values are: notConfigured, institutionalRecoveryKey, personalRecoveryKey. + * + * @return MacOSFileVaultRecoveryKeyTypes|null The fileVaultSelectedRecoveryKeyTypes + */ + public function getFileVaultSelectedRecoveryKeyTypes() + { + if (array_key_exists("fileVaultSelectedRecoveryKeyTypes", $this->_propDict)) { + if (is_a($this->_propDict["fileVaultSelectedRecoveryKeyTypes"], "\Beta\Microsoft\Graph\Model\MacOSFileVaultRecoveryKeyTypes") || is_null($this->_propDict["fileVaultSelectedRecoveryKeyTypes"])) { + return $this->_propDict["fileVaultSelectedRecoveryKeyTypes"]; + } else { + $this->_propDict["fileVaultSelectedRecoveryKeyTypes"] = new MacOSFileVaultRecoveryKeyTypes($this->_propDict["fileVaultSelectedRecoveryKeyTypes"]); + return $this->_propDict["fileVaultSelectedRecoveryKeyTypes"]; + } + } + return null; + } + + /** + * Sets the fileVaultSelectedRecoveryKeyTypes + * Required if FileVault is enabled, determines the type(s) of recovery key to use. . Possible values are: notConfigured, institutionalRecoveryKey, personalRecoveryKey. + * + * @param MacOSFileVaultRecoveryKeyTypes $val The fileVaultSelectedRecoveryKeyTypes + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFileVaultSelectedRecoveryKeyTypes($val) + { + $this->_propDict["fileVaultSelectedRecoveryKeyTypes"] = $val; + return $this; + } + + + /** + * Gets the firewallApplications + * List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements. + * + * @return array|null The firewallApplications + */ + public function getFirewallApplications() + { + if (array_key_exists("firewallApplications", $this->_propDict)) { + return $this->_propDict["firewallApplications"]; + } else { + return null; + } + } + + /** + * Sets the firewallApplications + * List of applications with firewall settings. Firewall settings for applications not on this list are determined by the user. This collection can contain a maximum of 500 elements. + * + * @param MacOSFirewallApplication[] $val The firewallApplications + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFirewallApplications($val) + { + $this->_propDict["firewallApplications"] = $val; + return $this; + } + + /** + * Gets the firewallBlockAllIncoming + * Corresponds to the 'Block all incoming connections' option. + * + * @return bool|null The firewallBlockAllIncoming + */ + public function getFirewallBlockAllIncoming() + { + if (array_key_exists("firewallBlockAllIncoming", $this->_propDict)) { + return $this->_propDict["firewallBlockAllIncoming"]; + } else { + return null; + } + } + + /** + * Sets the firewallBlockAllIncoming + * Corresponds to the 'Block all incoming connections' option. + * + * @param bool $val The firewallBlockAllIncoming + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFirewallBlockAllIncoming($val) + { + $this->_propDict["firewallBlockAllIncoming"] = boolval($val); + return $this; + } + + /** + * Gets the firewallEnabled + * Whether the firewall should be enabled or not. + * + * @return bool|null The firewallEnabled + */ + public function getFirewallEnabled() + { + if (array_key_exists("firewallEnabled", $this->_propDict)) { + return $this->_propDict["firewallEnabled"]; + } else { + return null; + } + } + + /** + * Sets the firewallEnabled + * Whether the firewall should be enabled or not. + * + * @param bool $val The firewallEnabled + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFirewallEnabled($val) + { + $this->_propDict["firewallEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the firewallEnableStealthMode + * Corresponds to 'Enable stealth mode.' + * + * @return bool|null The firewallEnableStealthMode + */ + public function getFirewallEnableStealthMode() + { + if (array_key_exists("firewallEnableStealthMode", $this->_propDict)) { + return $this->_propDict["firewallEnableStealthMode"]; + } else { + return null; + } + } + + /** + * Sets the firewallEnableStealthMode + * Corresponds to 'Enable stealth mode.' + * + * @param bool $val The firewallEnableStealthMode + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setFirewallEnableStealthMode($val) + { + $this->_propDict["firewallEnableStealthMode"] = boolval($val); + return $this; + } + + /** + * Gets the gatekeeperAllowedAppSource + * System and Privacy setting that determines which download locations apps can be run from on a macOS device. Possible values are: notConfigured, macAppStore, macAppStoreAndIdentifiedDevelopers, anywhere. + * + * @return MacOSGatekeeperAppSources|null The gatekeeperAllowedAppSource + */ + public function getGatekeeperAllowedAppSource() + { + if (array_key_exists("gatekeeperAllowedAppSource", $this->_propDict)) { + if (is_a($this->_propDict["gatekeeperAllowedAppSource"], "\Beta\Microsoft\Graph\Model\MacOSGatekeeperAppSources") || is_null($this->_propDict["gatekeeperAllowedAppSource"])) { + return $this->_propDict["gatekeeperAllowedAppSource"]; + } else { + $this->_propDict["gatekeeperAllowedAppSource"] = new MacOSGatekeeperAppSources($this->_propDict["gatekeeperAllowedAppSource"]); + return $this->_propDict["gatekeeperAllowedAppSource"]; + } + } + return null; + } + + /** + * Sets the gatekeeperAllowedAppSource + * System and Privacy setting that determines which download locations apps can be run from on a macOS device. Possible values are: notConfigured, macAppStore, macAppStoreAndIdentifiedDevelopers, anywhere. + * + * @param MacOSGatekeeperAppSources $val The gatekeeperAllowedAppSource + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setGatekeeperAllowedAppSource($val) + { + $this->_propDict["gatekeeperAllowedAppSource"] = $val; + return $this; + } + + /** + * Gets the gatekeeperBlockOverride + * If set to true, the user override for Gatekeeper will be disabled. + * + * @return bool|null The gatekeeperBlockOverride + */ + public function getGatekeeperBlockOverride() + { + if (array_key_exists("gatekeeperBlockOverride", $this->_propDict)) { + return $this->_propDict["gatekeeperBlockOverride"]; + } else { + return null; + } + } + + /** + * Sets the gatekeeperBlockOverride + * If set to true, the user override for Gatekeeper will be disabled. + * + * @param bool $val The gatekeeperBlockOverride + * + * @return MacOSEndpointProtectionConfiguration + */ + public function setGatekeeperBlockOverride($val) + { + $this->_propDict["gatekeeperBlockOverride"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEnterpriseWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEnterpriseWiFiConfiguration.php new file mode 100644 index 0000000..70f09f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEnterpriseWiFiConfiguration.php @@ -0,0 +1,313 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapFastConfiguration + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. Possible values are: noProtectedAccessCredential, useProtectedAccessCredential, useProtectedAccessCredentialAndProvision, useProtectedAccessCredentialAndProvisionAnonymously. + * + * @return EapFastConfiguration|null The eapFastConfiguration + */ + public function getEapFastConfiguration() + { + if (array_key_exists("eapFastConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["eapFastConfiguration"], "\Beta\Microsoft\Graph\Model\EapFastConfiguration") || is_null($this->_propDict["eapFastConfiguration"])) { + return $this->_propDict["eapFastConfiguration"]; + } else { + $this->_propDict["eapFastConfiguration"] = new EapFastConfiguration($this->_propDict["eapFastConfiguration"]); + return $this->_propDict["eapFastConfiguration"]; + } + } + return null; + } + + /** + * Sets the eapFastConfiguration + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. Possible values are: noProtectedAccessCredential, useProtectedAccessCredential, useProtectedAccessCredentialAndProvision, useProtectedAccessCredentialAndProvisionAnonymously. + * + * @param EapFastConfiguration $val The eapFastConfiguration + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setEapFastConfiguration($val) + { + $this->_propDict["eapFastConfiguration"] = $val; + return $this; + } + + /** + * Gets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @return EapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\EapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new EapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @param EapType $val The eapType + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEapTtls + */ + public function getInnerAuthenticationProtocolForEapTtls() + { + if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEapTtls"])) { + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEapTtls"]); + return $this->_propDict["innerAuthenticationProtocolForEapTtls"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEapTtls + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setInnerAuthenticationProtocolForEapTtls($val) + { + $this->_propDict["innerAuthenticationProtocolForEapTtls"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS, EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this Wi-Fi connection using their real username is displayed as 'anonymous'. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS, EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this Wi-Fi connection using their real username is displayed as 'anonymous'. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this Wi-Fi network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this Wi-Fi network. + * + * @param string $val The trustedServerCertificateNames + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * + * @return MacOSCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new MacOSCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * + * @param MacOSCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. + * + * @return MacOSTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\MacOSTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new MacOSTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. + * + * @param MacOSTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + + + /** + * Gets the rootCertificatesForServerValidation + * Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. If you provide this value you do not need to provide trustedServerCertificateNames, and vice versa. This collection can contain a maximum of 500 elements. + * + * @return array|null The rootCertificatesForServerValidation + */ + public function getRootCertificatesForServerValidation() + { + if (array_key_exists("rootCertificatesForServerValidation", $this->_propDict)) { + return $this->_propDict["rootCertificatesForServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the rootCertificatesForServerValidation + * Trusted Root Certificates for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. If you provide this value you do not need to provide trustedServerCertificateNames, and vice versa. This collection can contain a maximum of 500 elements. + * + * @param MacOSTrustedRootCertificate[] $val The rootCertificatesForServerValidation + * + * @return MacOSEnterpriseWiFiConfiguration + */ + public function setRootCertificatesForServerValidation($val) + { + $this->_propDict["rootCertificatesForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSExtensionsConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSExtensionsConfiguration.php new file mode 100644 index 0000000..05f6ba1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSExtensionsConfiguration.php @@ -0,0 +1,233 @@ +_propDict)) { + return $this->_propDict["kernelExtensionAllowedTeamIdentifiers"]; + } else { + return null; + } + } + + /** + * Sets the kernelExtensionAllowedTeamIdentifiers + * All kernel extensions validly signed by the team identifiers in this list will be allowed to load. + * + * @param string $val The kernelExtensionAllowedTeamIdentifiers + * + * @return MacOSExtensionsConfiguration + */ + public function setKernelExtensionAllowedTeamIdentifiers($val) + { + $this->_propDict["kernelExtensionAllowedTeamIdentifiers"] = $val; + return $this; + } + + /** + * Gets the kernelExtensionOverridesAllowed + * If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles. + * + * @return bool|null The kernelExtensionOverridesAllowed + */ + public function getKernelExtensionOverridesAllowed() + { + if (array_key_exists("kernelExtensionOverridesAllowed", $this->_propDict)) { + return $this->_propDict["kernelExtensionOverridesAllowed"]; + } else { + return null; + } + } + + /** + * Sets the kernelExtensionOverridesAllowed + * If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles. + * + * @param bool $val The kernelExtensionOverridesAllowed + * + * @return MacOSExtensionsConfiguration + */ + public function setKernelExtensionOverridesAllowed($val) + { + $this->_propDict["kernelExtensionOverridesAllowed"] = boolval($val); + return $this; + } + + + /** + * Gets the kernelExtensionsAllowed + * A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements. + * + * @return array|null The kernelExtensionsAllowed + */ + public function getKernelExtensionsAllowed() + { + if (array_key_exists("kernelExtensionsAllowed", $this->_propDict)) { + return $this->_propDict["kernelExtensionsAllowed"]; + } else { + return null; + } + } + + /** + * Sets the kernelExtensionsAllowed + * A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements. + * + * @param MacOSKernelExtension[] $val The kernelExtensionsAllowed + * + * @return MacOSExtensionsConfiguration + */ + public function setKernelExtensionsAllowed($val) + { + $this->_propDict["kernelExtensionsAllowed"] = $val; + return $this; + } + + + /** + * Gets the systemExtensionsAllowed + * Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements. + * + * @return array|null The systemExtensionsAllowed + */ + public function getSystemExtensionsAllowed() + { + if (array_key_exists("systemExtensionsAllowed", $this->_propDict)) { + return $this->_propDict["systemExtensionsAllowed"]; + } else { + return null; + } + } + + /** + * Sets the systemExtensionsAllowed + * Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements. + * + * @param MacOSSystemExtension[] $val The systemExtensionsAllowed + * + * @return MacOSExtensionsConfiguration + */ + public function setSystemExtensionsAllowed($val) + { + $this->_propDict["systemExtensionsAllowed"] = $val; + return $this; + } + + /** + * Gets the systemExtensionsAllowedTeamIdentifiers + * Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved. + * + * @return string|null The systemExtensionsAllowedTeamIdentifiers + */ + public function getSystemExtensionsAllowedTeamIdentifiers() + { + if (array_key_exists("systemExtensionsAllowedTeamIdentifiers", $this->_propDict)) { + return $this->_propDict["systemExtensionsAllowedTeamIdentifiers"]; + } else { + return null; + } + } + + /** + * Sets the systemExtensionsAllowedTeamIdentifiers + * Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved. + * + * @param string $val The systemExtensionsAllowedTeamIdentifiers + * + * @return MacOSExtensionsConfiguration + */ + public function setSystemExtensionsAllowedTeamIdentifiers($val) + { + $this->_propDict["systemExtensionsAllowedTeamIdentifiers"] = $val; + return $this; + } + + + /** + * Gets the systemExtensionsAllowedTypes + * Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements. + * + * @return array|null The systemExtensionsAllowedTypes + */ + public function getSystemExtensionsAllowedTypes() + { + if (array_key_exists("systemExtensionsAllowedTypes", $this->_propDict)) { + return $this->_propDict["systemExtensionsAllowedTypes"]; + } else { + return null; + } + } + + /** + * Sets the systemExtensionsAllowedTypes + * Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements. + * + * @param MacOSSystemExtensionTypeMapping[] $val The systemExtensionsAllowedTypes + * + * @return MacOSExtensionsConfiguration + */ + public function setSystemExtensionsAllowedTypes($val) + { + $this->_propDict["systemExtensionsAllowedTypes"] = $val; + return $this; + } + + /** + * Gets the systemExtensionsBlockOverride + * Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles. + * + * @return bool|null The systemExtensionsBlockOverride + */ + public function getSystemExtensionsBlockOverride() + { + if (array_key_exists("systemExtensionsBlockOverride", $this->_propDict)) { + return $this->_propDict["systemExtensionsBlockOverride"]; + } else { + return null; + } + } + + /** + * Sets the systemExtensionsBlockOverride + * Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles. + * + * @param bool $val The systemExtensionsBlockOverride + * + * @return MacOSExtensionsConfiguration + */ + public function setSystemExtensionsBlockOverride($val) + { + $this->_propDict["systemExtensionsBlockOverride"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSFileVaultRecoveryKeyTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSFileVaultRecoveryKeyTypes.php new file mode 100644 index 0000000..ded5fac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSFileVaultRecoveryKeyTypes.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["allowsIncomingConnections"]; + } else { + return null; + } + } + + /** + * Sets the allowsIncomingConnections + * Whether or not incoming connections are allowed. + * + * @param bool $val The value of the allowsIncomingConnections + * + * @return MacOSFirewallApplication + */ + public function setAllowsIncomingConnections($val) + { + $this->_propDict["allowsIncomingConnections"] = $val; + return $this; + } + /** + * Gets the bundleId + * BundleId of the application. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * BundleId of the application. + * + * @param string $val The value of the bundleId + * + * @return MacOSFirewallApplication + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSGatekeeperAppSources.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSGatekeeperAppSources.php new file mode 100644 index 0000000..d00ebdb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSGatekeeperAppSources.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["addingGameCenterFriendsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the addingGameCenterFriendsBlocked + * Yes prevents users from adding friends to Game Center. Available for devices running macOS versions 10.13 and later. + * + * @param bool $val The addingGameCenterFriendsBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setAddingGameCenterFriendsBlocked($val) + { + $this->_propDict["addingGameCenterFriendsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the airDropBlocked + * Indicates whether or not to allow AirDrop. + * + * @return bool|null The airDropBlocked + */ + public function getAirDropBlocked() + { + if (array_key_exists("airDropBlocked", $this->_propDict)) { + return $this->_propDict["airDropBlocked"]; + } else { + return null; + } + } + + /** + * Sets the airDropBlocked + * Indicates whether or not to allow AirDrop. + * + * @param bool $val The airDropBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setAirDropBlocked($val) + { + $this->_propDict["airDropBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appleWatchBlockAutoUnlock + * Indicates whether or to block users from unlocking their Mac with Apple Watch. + * + * @return bool|null The appleWatchBlockAutoUnlock + */ + public function getAppleWatchBlockAutoUnlock() + { + if (array_key_exists("appleWatchBlockAutoUnlock", $this->_propDict)) { + return $this->_propDict["appleWatchBlockAutoUnlock"]; + } else { + return null; + } + } + + /** + * Sets the appleWatchBlockAutoUnlock + * Indicates whether or to block users from unlocking their Mac with Apple Watch. + * + * @param bool $val The appleWatchBlockAutoUnlock + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setAppleWatchBlockAutoUnlock($val) + { + $this->_propDict["appleWatchBlockAutoUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block the user from accessing the camera of the device. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block the user from accessing the camera of the device. + * + * @param bool $val The cameraBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the classroomAppBlockRemoteScreenObservation + * Indicates whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @return bool|null The classroomAppBlockRemoteScreenObservation + */ + public function getClassroomAppBlockRemoteScreenObservation() + { + if (array_key_exists("classroomAppBlockRemoteScreenObservation", $this->_propDict)) { + return $this->_propDict["classroomAppBlockRemoteScreenObservation"]; + } else { + return null; + } + } + + /** + * Sets the classroomAppBlockRemoteScreenObservation + * Indicates whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @param bool $val The classroomAppBlockRemoteScreenObservation + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setClassroomAppBlockRemoteScreenObservation($val) + { + $this->_propDict["classroomAppBlockRemoteScreenObservation"] = boolval($val); + return $this; + } + + /** + * Gets the classroomAppForceUnpromptedScreenObservation + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @return bool|null The classroomAppForceUnpromptedScreenObservation + */ + public function getClassroomAppForceUnpromptedScreenObservation() + { + if (array_key_exists("classroomAppForceUnpromptedScreenObservation", $this->_propDict)) { + return $this->_propDict["classroomAppForceUnpromptedScreenObservation"]; + } else { + return null; + } + } + + /** + * Sets the classroomAppForceUnpromptedScreenObservation + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @param bool $val The classroomAppForceUnpromptedScreenObservation + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setClassroomAppForceUnpromptedScreenObservation($val) + { + $this->_propDict["classroomAppForceUnpromptedScreenObservation"] = boolval($val); + return $this; + } + + /** + * Gets the classroomForceAutomaticallyJoinClasses + * Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @return bool|null The classroomForceAutomaticallyJoinClasses + */ + public function getClassroomForceAutomaticallyJoinClasses() + { + if (array_key_exists("classroomForceAutomaticallyJoinClasses", $this->_propDict)) { + return $this->_propDict["classroomForceAutomaticallyJoinClasses"]; + } else { + return null; + } + } + + /** + * Sets the classroomForceAutomaticallyJoinClasses + * Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @param bool $val The classroomForceAutomaticallyJoinClasses + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setClassroomForceAutomaticallyJoinClasses($val) + { + $this->_propDict["classroomForceAutomaticallyJoinClasses"] = boolval($val); + return $this; + } + + /** + * Gets the classroomForceRequestPermissionToLeaveClasses + * Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @return bool|null The classroomForceRequestPermissionToLeaveClasses + */ + public function getClassroomForceRequestPermissionToLeaveClasses() + { + if (array_key_exists("classroomForceRequestPermissionToLeaveClasses", $this->_propDict)) { + return $this->_propDict["classroomForceRequestPermissionToLeaveClasses"]; + } else { + return null; + } + } + + /** + * Sets the classroomForceRequestPermissionToLeaveClasses + * Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @param bool $val The classroomForceRequestPermissionToLeaveClasses + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setClassroomForceRequestPermissionToLeaveClasses($val) + { + $this->_propDict["classroomForceRequestPermissionToLeaveClasses"] = boolval($val); + return $this; + } + + /** + * Gets the classroomForceUnpromptedAppAndDeviceLock + * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @return bool|null The classroomForceUnpromptedAppAndDeviceLock + */ + public function getClassroomForceUnpromptedAppAndDeviceLock() + { + if (array_key_exists("classroomForceUnpromptedAppAndDeviceLock", $this->_propDict)) { + return $this->_propDict["classroomForceUnpromptedAppAndDeviceLock"]; + } else { + return null; + } + } + + /** + * Sets the classroomForceUnpromptedAppAndDeviceLock + * Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager. + * + * @param bool $val The classroomForceUnpromptedAppAndDeviceLock + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setClassroomForceUnpromptedAppAndDeviceLock($val) + { + $this->_propDict["classroomForceUnpromptedAppAndDeviceLock"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the contentCachingBlocked + * Indicates whether or not to allow content caching. + * + * @return bool|null The contentCachingBlocked + */ + public function getContentCachingBlocked() + { + if (array_key_exists("contentCachingBlocked", $this->_propDict)) { + return $this->_propDict["contentCachingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the contentCachingBlocked + * Indicates whether or not to allow content caching. + * + * @param bool $val The contentCachingBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setContentCachingBlocked($val) + { + $this->_propDict["contentCachingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the definitionLookupBlocked + * Indicates whether or not to block definition lookup. + * + * @return bool|null The definitionLookupBlocked + */ + public function getDefinitionLookupBlocked() + { + if (array_key_exists("definitionLookupBlocked", $this->_propDict)) { + return $this->_propDict["definitionLookupBlocked"]; + } else { + return null; + } + } + + /** + * Sets the definitionLookupBlocked + * Indicates whether or not to block definition lookup. + * + * @param bool $val The definitionLookupBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setDefinitionLookupBlocked($val) + { + $this->_propDict["definitionLookupBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @return string|null The emailInDomainSuffixes + */ + public function getEmailInDomainSuffixes() + { + if (array_key_exists("emailInDomainSuffixes", $this->_propDict)) { + return $this->_propDict["emailInDomainSuffixes"]; + } else { + return null; + } + } + + /** + * Sets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @param string $val The emailInDomainSuffixes + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setEmailInDomainSuffixes($val) + { + $this->_propDict["emailInDomainSuffixes"] = $val; + return $this; + } + + /** + * Gets the eraseContentAndSettingsBlocked + * TRUE disables the reset option on supervised devices. FALSE enables the reset option on supervised devices. Available for devices running macOS versions 12.0 and later. + * + * @return bool|null The eraseContentAndSettingsBlocked + */ + public function getEraseContentAndSettingsBlocked() + { + if (array_key_exists("eraseContentAndSettingsBlocked", $this->_propDict)) { + return $this->_propDict["eraseContentAndSettingsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the eraseContentAndSettingsBlocked + * TRUE disables the reset option on supervised devices. FALSE enables the reset option on supervised devices. Available for devices running macOS versions 12.0 and later. + * + * @param bool $val The eraseContentAndSettingsBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setEraseContentAndSettingsBlocked($val) + { + $this->_propDict["eraseContentAndSettingsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the gameCenterBlocked + * Yes disables Game Center, and the Game Center icon is removed from the Home screen. Available for devices running macOS versions 10.13 and later. + * + * @return bool|null The gameCenterBlocked + */ + public function getGameCenterBlocked() + { + if (array_key_exists("gameCenterBlocked", $this->_propDict)) { + return $this->_propDict["gameCenterBlocked"]; + } else { + return null; + } + } + + /** + * Sets the gameCenterBlocked + * Yes disables Game Center, and the Game Center icon is removed from the Home screen. Available for devices running macOS versions 10.13 and later. + * + * @param bool $val The gameCenterBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setGameCenterBlocked($val) + { + $this->_propDict["gameCenterBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockActivityContinuation + * Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later). + * + * @return bool|null The iCloudBlockActivityContinuation + */ + public function getICloudBlockActivityContinuation() + { + if (array_key_exists("iCloudBlockActivityContinuation", $this->_propDict)) { + return $this->_propDict["iCloudBlockActivityContinuation"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockActivityContinuation + * Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later). + * + * @param bool $val The iCloudBlockActivityContinuation + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockActivityContinuation($val) + { + $this->_propDict["iCloudBlockActivityContinuation"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockAddressBook + * Indicates whether or not to block iCloud from syncing contacts. + * + * @return bool|null The iCloudBlockAddressBook + */ + public function getICloudBlockAddressBook() + { + if (array_key_exists("iCloudBlockAddressBook", $this->_propDict)) { + return $this->_propDict["iCloudBlockAddressBook"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockAddressBook + * Indicates whether or not to block iCloud from syncing contacts. + * + * @param bool $val The iCloudBlockAddressBook + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockAddressBook($val) + { + $this->_propDict["iCloudBlockAddressBook"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockBookmarks + * Indicates whether or not to block iCloud from syncing bookmarks. + * + * @return bool|null The iCloudBlockBookmarks + */ + public function getICloudBlockBookmarks() + { + if (array_key_exists("iCloudBlockBookmarks", $this->_propDict)) { + return $this->_propDict["iCloudBlockBookmarks"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockBookmarks + * Indicates whether or not to block iCloud from syncing bookmarks. + * + * @param bool $val The iCloudBlockBookmarks + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockBookmarks($val) + { + $this->_propDict["iCloudBlockBookmarks"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockCalendar + * Indicates whether or not to block iCloud from syncing calendars. + * + * @return bool|null The iCloudBlockCalendar + */ + public function getICloudBlockCalendar() + { + if (array_key_exists("iCloudBlockCalendar", $this->_propDict)) { + return $this->_propDict["iCloudBlockCalendar"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockCalendar + * Indicates whether or not to block iCloud from syncing calendars. + * + * @param bool $val The iCloudBlockCalendar + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockCalendar($val) + { + $this->_propDict["iCloudBlockCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockDocumentSync + * Indicates whether or not to block iCloud document sync. + * + * @return bool|null The iCloudBlockDocumentSync + */ + public function getICloudBlockDocumentSync() + { + if (array_key_exists("iCloudBlockDocumentSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockDocumentSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockDocumentSync + * Indicates whether or not to block iCloud document sync. + * + * @param bool $val The iCloudBlockDocumentSync + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockDocumentSync($val) + { + $this->_propDict["iCloudBlockDocumentSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockMail + * Indicates whether or not to block iCloud from syncing mail. + * + * @return bool|null The iCloudBlockMail + */ + public function getICloudBlockMail() + { + if (array_key_exists("iCloudBlockMail", $this->_propDict)) { + return $this->_propDict["iCloudBlockMail"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockMail + * Indicates whether or not to block iCloud from syncing mail. + * + * @param bool $val The iCloudBlockMail + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockMail($val) + { + $this->_propDict["iCloudBlockMail"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockNotes + * Indicates whether or not to block iCloud from syncing notes. + * + * @return bool|null The iCloudBlockNotes + */ + public function getICloudBlockNotes() + { + if (array_key_exists("iCloudBlockNotes", $this->_propDict)) { + return $this->_propDict["iCloudBlockNotes"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockNotes + * Indicates whether or not to block iCloud from syncing notes. + * + * @param bool $val The iCloudBlockNotes + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockNotes($val) + { + $this->_propDict["iCloudBlockNotes"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockPhotoLibrary + * Indicates whether or not to block iCloud Photo Library. + * + * @return bool|null The iCloudBlockPhotoLibrary + */ + public function getICloudBlockPhotoLibrary() + { + if (array_key_exists("iCloudBlockPhotoLibrary", $this->_propDict)) { + return $this->_propDict["iCloudBlockPhotoLibrary"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockPhotoLibrary + * Indicates whether or not to block iCloud Photo Library. + * + * @param bool $val The iCloudBlockPhotoLibrary + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockPhotoLibrary($val) + { + $this->_propDict["iCloudBlockPhotoLibrary"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockReminders + * Indicates whether or not to block iCloud from syncing reminders. + * + * @return bool|null The iCloudBlockReminders + */ + public function getICloudBlockReminders() + { + if (array_key_exists("iCloudBlockReminders", $this->_propDict)) { + return $this->_propDict["iCloudBlockReminders"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockReminders + * Indicates whether or not to block iCloud from syncing reminders. + * + * @param bool $val The iCloudBlockReminders + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudBlockReminders($val) + { + $this->_propDict["iCloudBlockReminders"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudDesktopAndDocumentsBlocked + * When TRUE the synchronization of cloud desktop and documents is blocked. When FALSE, synchronization of the cloud desktop and documents are allowed. Available for devices running macOS 10.12.4 and later. + * + * @return bool|null The iCloudDesktopAndDocumentsBlocked + */ + public function getICloudDesktopAndDocumentsBlocked() + { + if (array_key_exists("iCloudDesktopAndDocumentsBlocked", $this->_propDict)) { + return $this->_propDict["iCloudDesktopAndDocumentsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the iCloudDesktopAndDocumentsBlocked + * When TRUE the synchronization of cloud desktop and documents is blocked. When FALSE, synchronization of the cloud desktop and documents are allowed. Available for devices running macOS 10.12.4 and later. + * + * @param bool $val The iCloudDesktopAndDocumentsBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudDesktopAndDocumentsBlocked($val) + { + $this->_propDict["iCloudDesktopAndDocumentsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudPrivateRelayBlocked + * iCloud private relay is an iCloud+ service that prevents networks and servers from monitoring a person's activity across the internet. By blocking iCloud private relay, Apple will not encrypt the traffic leaving the device. Available for devices running macOS 12 and later. + * + * @return bool|null The iCloudPrivateRelayBlocked + */ + public function getICloudPrivateRelayBlocked() + { + if (array_key_exists("iCloudPrivateRelayBlocked", $this->_propDict)) { + return $this->_propDict["iCloudPrivateRelayBlocked"]; + } else { + return null; + } + } + + /** + * Sets the iCloudPrivateRelayBlocked + * iCloud private relay is an iCloud+ service that prevents networks and servers from monitoring a person's activity across the internet. By blocking iCloud private relay, Apple will not encrypt the traffic leaving the device. Available for devices running macOS 12 and later. + * + * @param bool $val The iCloudPrivateRelayBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setICloudPrivateRelayBlocked($val) + { + $this->_propDict["iCloudPrivateRelayBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockFileSharing + * Indicates whether or not to block files from being transferred using iTunes. + * + * @return bool|null The iTunesBlockFileSharing + */ + public function getITunesBlockFileSharing() + { + if (array_key_exists("iTunesBlockFileSharing", $this->_propDict)) { + return $this->_propDict["iTunesBlockFileSharing"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockFileSharing + * Indicates whether or not to block files from being transferred using iTunes. + * + * @param bool $val The iTunesBlockFileSharing + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setITunesBlockFileSharing($val) + { + $this->_propDict["iTunesBlockFileSharing"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockMusicService + * Indicates whether or not to block Music service and revert Music app to classic mode. + * + * @return bool|null The iTunesBlockMusicService + */ + public function getITunesBlockMusicService() + { + if (array_key_exists("iTunesBlockMusicService", $this->_propDict)) { + return $this->_propDict["iTunesBlockMusicService"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockMusicService + * Indicates whether or not to block Music service and revert Music app to classic mode. + * + * @param bool $val The iTunesBlockMusicService + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setITunesBlockMusicService($val) + { + $this->_propDict["iTunesBlockMusicService"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockDictation + * Indicates whether or not to block the user from using dictation input. + * + * @return bool|null The keyboardBlockDictation + */ + public function getKeyboardBlockDictation() + { + if (array_key_exists("keyboardBlockDictation", $this->_propDict)) { + return $this->_propDict["keyboardBlockDictation"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockDictation + * Indicates whether or not to block the user from using dictation input. + * + * @param bool $val The keyboardBlockDictation + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setKeyboardBlockDictation($val) + { + $this->_propDict["keyboardBlockDictation"] = boolval($val); + return $this; + } + + /** + * Gets the keychainBlockCloudSync + * Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later). + * + * @return bool|null The keychainBlockCloudSync + */ + public function getKeychainBlockCloudSync() + { + if (array_key_exists("keychainBlockCloudSync", $this->_propDict)) { + return $this->_propDict["keychainBlockCloudSync"]; + } else { + return null; + } + } + + /** + * Sets the keychainBlockCloudSync + * Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later). + * + * @param bool $val The keychainBlockCloudSync + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setKeychainBlockCloudSync($val) + { + $this->_propDict["keychainBlockCloudSync"] = boolval($val); + return $this; + } + + /** + * Gets the multiplayerGamingBlocked + * TRUE prevents multiplayer gaming when using Game Center. FALSE allows multiplayer gaming when using Game Center. Available for devices running macOS versions 10.13 and later. + * + * @return bool|null The multiplayerGamingBlocked + */ + public function getMultiplayerGamingBlocked() + { + if (array_key_exists("multiplayerGamingBlocked", $this->_propDict)) { + return $this->_propDict["multiplayerGamingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the multiplayerGamingBlocked + * TRUE prevents multiplayer gaming when using Game Center. FALSE allows multiplayer gaming when using Game Center. Available for devices running macOS versions 10.13 and later. + * + * @param bool $val The multiplayerGamingBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setMultiplayerGamingBlocked($val) + { + $this->_propDict["multiplayerGamingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockAirDropSharing + * Indicates whether or not to block sharing passwords with the AirDrop passwords feature. + * + * @return bool|null The passwordBlockAirDropSharing + */ + public function getPasswordBlockAirDropSharing() + { + if (array_key_exists("passwordBlockAirDropSharing", $this->_propDict)) { + return $this->_propDict["passwordBlockAirDropSharing"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockAirDropSharing + * Indicates whether or not to block sharing passwords with the AirDrop passwords feature. + * + * @param bool $val The passwordBlockAirDropSharing + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockAirDropSharing($val) + { + $this->_propDict["passwordBlockAirDropSharing"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockAutoFill + * Indicates whether or not to block the AutoFill Passwords feature. + * + * @return bool|null The passwordBlockAutoFill + */ + public function getPasswordBlockAutoFill() + { + if (array_key_exists("passwordBlockAutoFill", $this->_propDict)) { + return $this->_propDict["passwordBlockAutoFill"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockAutoFill + * Indicates whether or not to block the AutoFill Passwords feature. + * + * @param bool $val The passwordBlockAutoFill + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockAutoFill($val) + { + $this->_propDict["passwordBlockAutoFill"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passwordBlockFingerprintUnlock + */ + public function getPasswordBlockFingerprintUnlock() + { + if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passwordBlockFingerprintUnlock + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockFingerprintUnlock($val) + { + $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockModification + * Indicates whether or not to allow passcode modification. + * + * @return bool|null The passwordBlockModification + */ + public function getPasswordBlockModification() + { + if (array_key_exists("passwordBlockModification", $this->_propDict)) { + return $this->_propDict["passwordBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockModification + * Indicates whether or not to allow passcode modification. + * + * @param bool $val The passwordBlockModification + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockModification($val) + { + $this->_propDict["passwordBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockProximityRequests + * Indicates whether or not to block requesting passwords from nearby devices. + * + * @return bool|null The passwordBlockProximityRequests + */ + public function getPasswordBlockProximityRequests() + { + if (array_key_exists("passwordBlockProximityRequests", $this->_propDict)) { + return $this->_propDict["passwordBlockProximityRequests"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockProximityRequests + * Indicates whether or not to block requesting passwords from nearby devices. + * + * @param bool $val The passwordBlockProximityRequests + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockProximityRequests($val) + { + $this->_propDict["passwordBlockProximityRequests"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockSimple + * Block simple passwords. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Block simple passwords. + * + * @param bool $val The passwordBlockSimple + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. + * + * @param int $val The passwordExpirationDays + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMaximumAttemptCount + * The number of allowed failed attempts to enter the passcode at the device's lock screen. Valid values 2 to 11 + * + * @return int|null The passwordMaximumAttemptCount + */ + public function getPasswordMaximumAttemptCount() + { + if (array_key_exists("passwordMaximumAttemptCount", $this->_propDict)) { + return $this->_propDict["passwordMaximumAttemptCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMaximumAttemptCount + * The number of allowed failed attempts to enter the passcode at the device's lock screen. Valid values 2 to 11 + * + * @param int $val The passwordMaximumAttemptCount + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMaximumAttemptCount($val) + { + $this->_propDict["passwordMaximumAttemptCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. Valid values 0 to 4 + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. Valid values 0 to 4 + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. + * + * @param int $val The passwordMinimumLength + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity required before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity required before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity required before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity required before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesUntilFailedLoginReset + * The number of minutes before the login is reset after the maximum number of unsuccessful login attempts is reached. + * + * @return int|null The passwordMinutesUntilFailedLoginReset + */ + public function getPasswordMinutesUntilFailedLoginReset() + { + if (array_key_exists("passwordMinutesUntilFailedLoginReset", $this->_propDict)) { + return $this->_propDict["passwordMinutesUntilFailedLoginReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesUntilFailedLoginReset + * The number of minutes before the login is reset after the maximum number of unsuccessful login attempts is reached. + * + * @param int $val The passwordMinutesUntilFailedLoginReset + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinutesUntilFailedLoginReset($val) + { + $this->_propDict["passwordMinutesUntilFailedLoginReset"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + + /** + * Gets the privacyAccessControls + * List of privacy preference policy controls. This collection can contain a maximum of 10000 elements. + * + * @return array|null The privacyAccessControls + */ + public function getPrivacyAccessControls() + { + if (array_key_exists("privacyAccessControls", $this->_propDict)) { + return $this->_propDict["privacyAccessControls"]; + } else { + return null; + } + } + + /** + * Sets the privacyAccessControls + * List of privacy preference policy controls. This collection can contain a maximum of 10000 elements. + * + * @param MacOSPrivacyAccessControlItem[] $val The privacyAccessControls + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPrivacyAccessControls($val) + { + $this->_propDict["privacyAccessControls"] = $val; + return $this; + } + + /** + * Gets the safariBlockAutofill + * Indicates whether or not to block the user from using Auto fill in Safari. + * + * @return bool|null The safariBlockAutofill + */ + public function getSafariBlockAutofill() + { + if (array_key_exists("safariBlockAutofill", $this->_propDict)) { + return $this->_propDict["safariBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockAutofill + * Indicates whether or not to block the user from using Auto fill in Safari. + * + * @param bool $val The safariBlockAutofill + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setSafariBlockAutofill($val) + { + $this->_propDict["safariBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block the user from taking Screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block the user from taking Screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the softwareUpdateMajorOSDeferredInstallDelayInDays + * Specify the number of days (1-90) to delay visibility of major OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90 + * + * @return int|null The softwareUpdateMajorOSDeferredInstallDelayInDays + */ + public function getSoftwareUpdateMajorOSDeferredInstallDelayInDays() + { + if (array_key_exists("softwareUpdateMajorOSDeferredInstallDelayInDays", $this->_propDict)) { + return $this->_propDict["softwareUpdateMajorOSDeferredInstallDelayInDays"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdateMajorOSDeferredInstallDelayInDays + * Specify the number of days (1-90) to delay visibility of major OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90 + * + * @param int $val The softwareUpdateMajorOSDeferredInstallDelayInDays + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setSoftwareUpdateMajorOSDeferredInstallDelayInDays($val) + { + $this->_propDict["softwareUpdateMajorOSDeferredInstallDelayInDays"] = intval($val); + return $this; + } + + /** + * Gets the softwareUpdateMinorOSDeferredInstallDelayInDays + * Specify the number of days (1-90) to delay visibility of minor OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90 + * + * @return int|null The softwareUpdateMinorOSDeferredInstallDelayInDays + */ + public function getSoftwareUpdateMinorOSDeferredInstallDelayInDays() + { + if (array_key_exists("softwareUpdateMinorOSDeferredInstallDelayInDays", $this->_propDict)) { + return $this->_propDict["softwareUpdateMinorOSDeferredInstallDelayInDays"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdateMinorOSDeferredInstallDelayInDays + * Specify the number of days (1-90) to delay visibility of minor OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90 + * + * @param int $val The softwareUpdateMinorOSDeferredInstallDelayInDays + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setSoftwareUpdateMinorOSDeferredInstallDelayInDays($val) + { + $this->_propDict["softwareUpdateMinorOSDeferredInstallDelayInDays"] = intval($val); + return $this; + } + + /** + * Gets the softwareUpdateNonOSDeferredInstallDelayInDays + * Specify the number of days (1-90) to delay visibility of non-OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90 + * + * @return int|null The softwareUpdateNonOSDeferredInstallDelayInDays + */ + public function getSoftwareUpdateNonOSDeferredInstallDelayInDays() + { + if (array_key_exists("softwareUpdateNonOSDeferredInstallDelayInDays", $this->_propDict)) { + return $this->_propDict["softwareUpdateNonOSDeferredInstallDelayInDays"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdateNonOSDeferredInstallDelayInDays + * Specify the number of days (1-90) to delay visibility of non-OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90 + * + * @param int $val The softwareUpdateNonOSDeferredInstallDelayInDays + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setSoftwareUpdateNonOSDeferredInstallDelayInDays($val) + { + $this->_propDict["softwareUpdateNonOSDeferredInstallDelayInDays"] = intval($val); + return $this; + } + + /** + * Gets the softwareUpdatesEnforcedDelayInDays + * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 + * + * @return int|null The softwareUpdatesEnforcedDelayInDays + */ + public function getSoftwareUpdatesEnforcedDelayInDays() + { + if (array_key_exists("softwareUpdatesEnforcedDelayInDays", $this->_propDict)) { + return $this->_propDict["softwareUpdatesEnforcedDelayInDays"]; + } else { + return null; + } + } + + /** + * Sets the softwareUpdatesEnforcedDelayInDays + * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 + * + * @param int $val The softwareUpdatesEnforcedDelayInDays + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setSoftwareUpdatesEnforcedDelayInDays($val) + { + $this->_propDict["softwareUpdatesEnforcedDelayInDays"] = intval($val); + return $this; + } + + /** + * Gets the spotlightBlockInternetResults + * Indicates whether or not to block Spotlight from returning any results from an Internet search. + * + * @return bool|null The spotlightBlockInternetResults + */ + public function getSpotlightBlockInternetResults() + { + if (array_key_exists("spotlightBlockInternetResults", $this->_propDict)) { + return $this->_propDict["spotlightBlockInternetResults"]; + } else { + return null; + } + } + + /** + * Sets the spotlightBlockInternetResults + * Indicates whether or not to block Spotlight from returning any results from an Internet search. + * + * @param bool $val The spotlightBlockInternetResults + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setSpotlightBlockInternetResults($val) + { + $this->_propDict["spotlightBlockInternetResults"] = boolval($val); + return $this; + } + + /** + * Gets the touchIdTimeoutInHours + * Maximum hours after which the user must enter their password to unlock the device instead of using Touch ID. Available for devices running macOS 12 and later. Valid values 0 to 2147483647 + * + * @return int|null The touchIdTimeoutInHours + */ + public function getTouchIdTimeoutInHours() + { + if (array_key_exists("touchIdTimeoutInHours", $this->_propDict)) { + return $this->_propDict["touchIdTimeoutInHours"]; + } else { + return null; + } + } + + /** + * Sets the touchIdTimeoutInHours + * Maximum hours after which the user must enter their password to unlock the device instead of using Touch ID. Available for devices running macOS 12 and later. Valid values 0 to 2147483647 + * + * @param int $val The touchIdTimeoutInHours + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setTouchIdTimeoutInHours($val) + { + $this->_propDict["touchIdTimeoutInHours"] = intval($val); + return $this; + } + + /** + * Gets the updateDelayPolicy + * Determines whether to delay OS and/or app updates for macOS. Possible values are: none, delayOSUpdateVisibility, delayAppUpdateVisibility, unknownFutureValue, delayMajorOsUpdateVisibility. + * + * @return MacOSSoftwareUpdateDelayPolicy|null The updateDelayPolicy + */ + public function getUpdateDelayPolicy() + { + if (array_key_exists("updateDelayPolicy", $this->_propDict)) { + if (is_a($this->_propDict["updateDelayPolicy"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateDelayPolicy") || is_null($this->_propDict["updateDelayPolicy"])) { + return $this->_propDict["updateDelayPolicy"]; + } else { + $this->_propDict["updateDelayPolicy"] = new MacOSSoftwareUpdateDelayPolicy($this->_propDict["updateDelayPolicy"]); + return $this->_propDict["updateDelayPolicy"]; + } + } + return null; + } + + /** + * Sets the updateDelayPolicy + * Determines whether to delay OS and/or app updates for macOS. Possible values are: none, delayOSUpdateVisibility, delayAppUpdateVisibility, unknownFutureValue, delayMajorOsUpdateVisibility. + * + * @param MacOSSoftwareUpdateDelayPolicy $val The updateDelayPolicy + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setUpdateDelayPolicy($val) + { + $this->_propDict["updateDelayPolicy"] = $val; + return $this; + } + + /** + * Gets the wallpaperModificationBlocked + * TRUE prevents the wallpaper from being changed. FALSE allows the wallpaper to be changed. Available for devices running macOS versions 10.13 and later. + * + * @return bool|null The wallpaperModificationBlocked + */ + public function getWallpaperModificationBlocked() + { + if (array_key_exists("wallpaperModificationBlocked", $this->_propDict)) { + return $this->_propDict["wallpaperModificationBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wallpaperModificationBlocked + * TRUE prevents the wallpaper from being changed. FALSE allows the wallpaper to be changed. Available for devices running macOS versions 10.13 and later. + * + * @param bool $val The wallpaperModificationBlocked + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setWallpaperModificationBlocked($val) + { + $this->_propDict["wallpaperModificationBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSImportedPFXCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSImportedPFXCertificateProfile.php new file mode 100644 index 0000000..c24e908 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSImportedPFXCertificateProfile.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return MacOSImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return MacOSImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php new file mode 100644 index 0000000..c7caa12 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSIncludedApp.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The CFBundleIdentifier. + * + * @param string $val The value of the bundleId + * + * @return MacOSIncludedApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + /** + * Gets the bundleVersion + * The CFBundleVersion. + * + * @return string|null The bundleVersion + */ + public function getBundleVersion() + { + if (array_key_exists("bundleVersion", $this->_propDict)) { + return $this->_propDict["bundleVersion"]; + } else { + return null; + } + } + + /** + * Sets the bundleVersion + * The CFBundleVersion. + * + * @param string $val The value of the bundleVersion + * + * @return MacOSIncludedApp + */ + public function setBundleVersion($val) + { + $this->_propDict["bundleVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKerberosSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKerberosSingleSignOnExtension.php new file mode 100644 index 0000000..8842535 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKerberosSingleSignOnExtension.php @@ -0,0 +1,877 @@ +setODataType("#microsoft.graph.macOSKerberosSingleSignOnExtension"); + } + + /** + * Gets the activeDirectorySiteCode + * Gets or sets the Active Directory site. + * + * @return string|null The activeDirectorySiteCode + */ + public function getActiveDirectorySiteCode() + { + if (array_key_exists("activeDirectorySiteCode", $this->_propDict)) { + return $this->_propDict["activeDirectorySiteCode"]; + } else { + return null; + } + } + + /** + * Sets the activeDirectorySiteCode + * Gets or sets the Active Directory site. + * + * @param string $val The value of the activeDirectorySiteCode + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setActiveDirectorySiteCode($val) + { + $this->_propDict["activeDirectorySiteCode"] = $val; + return $this; + } + /** + * Gets the blockActiveDirectorySiteAutoDiscovery + * Enables or disables whether the Kerberos extension can automatically determine its site name. + * + * @return bool|null The blockActiveDirectorySiteAutoDiscovery + */ + public function getBlockActiveDirectorySiteAutoDiscovery() + { + if (array_key_exists("blockActiveDirectorySiteAutoDiscovery", $this->_propDict)) { + return $this->_propDict["blockActiveDirectorySiteAutoDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the blockActiveDirectorySiteAutoDiscovery + * Enables or disables whether the Kerberos extension can automatically determine its site name. + * + * @param bool $val The value of the blockActiveDirectorySiteAutoDiscovery + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setBlockActiveDirectorySiteAutoDiscovery($val) + { + $this->_propDict["blockActiveDirectorySiteAutoDiscovery"] = $val; + return $this; + } + /** + * Gets the blockAutomaticLogin + * Enables or disables Keychain usage. + * + * @return bool|null The blockAutomaticLogin + */ + public function getBlockAutomaticLogin() + { + if (array_key_exists("blockAutomaticLogin", $this->_propDict)) { + return $this->_propDict["blockAutomaticLogin"]; + } else { + return null; + } + } + + /** + * Sets the blockAutomaticLogin + * Enables or disables Keychain usage. + * + * @param bool $val The value of the blockAutomaticLogin + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setBlockAutomaticLogin($val) + { + $this->_propDict["blockAutomaticLogin"] = $val; + return $this; + } + /** + * Gets the cacheName + * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile. + * + * @return string|null The cacheName + */ + public function getCacheName() + { + if (array_key_exists("cacheName", $this->_propDict)) { + return $this->_propDict["cacheName"]; + } else { + return null; + } + } + + /** + * Sets the cacheName + * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile. + * + * @param string $val The value of the cacheName + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setCacheName($val) + { + $this->_propDict["cacheName"] = $val; + return $this; + } + /** + * Gets the credentialBundleIdAccessControlList + * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket. + * + * @return string|null The credentialBundleIdAccessControlList + */ + public function getCredentialBundleIdAccessControlList() + { + if (array_key_exists("credentialBundleIdAccessControlList", $this->_propDict)) { + return $this->_propDict["credentialBundleIdAccessControlList"]; + } else { + return null; + } + } + + /** + * Sets the credentialBundleIdAccessControlList + * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket. + * + * @param string $val The value of the credentialBundleIdAccessControlList + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setCredentialBundleIdAccessControlList($val) + { + $this->_propDict["credentialBundleIdAccessControlList"] = $val; + return $this; + } + /** + * Gets the credentialsCacheMonitored + * When set to True, the credential is requested on the next matching Kerberos challenge or network state change. When the credential is expired or missing, a new credential is created. Available for devices running macOS versions 12 and later. + * + * @return bool|null The credentialsCacheMonitored + */ + public function getCredentialsCacheMonitored() + { + if (array_key_exists("credentialsCacheMonitored", $this->_propDict)) { + return $this->_propDict["credentialsCacheMonitored"]; + } else { + return null; + } + } + + /** + * Sets the credentialsCacheMonitored + * When set to True, the credential is requested on the next matching Kerberos challenge or network state change. When the credential is expired or missing, a new credential is created. Available for devices running macOS versions 12 and later. + * + * @param bool $val The value of the credentialsCacheMonitored + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setCredentialsCacheMonitored($val) + { + $this->_propDict["credentialsCacheMonitored"] = $val; + return $this; + } + /** + * Gets the domainRealms + * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. + * + * @return string|null The domainRealms + */ + public function getDomainRealms() + { + if (array_key_exists("domainRealms", $this->_propDict)) { + return $this->_propDict["domainRealms"]; + } else { + return null; + } + } + + /** + * Sets the domainRealms + * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. + * + * @param string $val The value of the domainRealms + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setDomainRealms($val) + { + $this->_propDict["domainRealms"] = $val; + return $this; + } + /** + * Gets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Gets or sets a list of hosts or domain names for which the app extension performs SSO. + * + * @param string $val The value of the domains + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the isDefaultRealm + * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. + * + * @return bool|null The isDefaultRealm + */ + public function getIsDefaultRealm() + { + if (array_key_exists("isDefaultRealm", $this->_propDict)) { + return $this->_propDict["isDefaultRealm"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultRealm + * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured. + * + * @param bool $val The value of the isDefaultRealm + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setIsDefaultRealm($val) + { + $this->_propDict["isDefaultRealm"] = $val; + return $this; + } + /** + * Gets the kerberosAppsInBundleIdACLIncluded + * When set to True, the Kerberos extension allows any apps entered with the app bundle ID, managed apps, and standard Kerberos utilities, such as TicketViewer and klist, to access and use the credential. Available for devices running macOS versions 12 and later. + * + * @return bool|null The kerberosAppsInBundleIdACLIncluded + */ + public function getKerberosAppsInBundleIdACLIncluded() + { + if (array_key_exists("kerberosAppsInBundleIdACLIncluded", $this->_propDict)) { + return $this->_propDict["kerberosAppsInBundleIdACLIncluded"]; + } else { + return null; + } + } + + /** + * Sets the kerberosAppsInBundleIdACLIncluded + * When set to True, the Kerberos extension allows any apps entered with the app bundle ID, managed apps, and standard Kerberos utilities, such as TicketViewer and klist, to access and use the credential. Available for devices running macOS versions 12 and later. + * + * @param bool $val The value of the kerberosAppsInBundleIdACLIncluded + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setKerberosAppsInBundleIdACLIncluded($val) + { + $this->_propDict["kerberosAppsInBundleIdACLIncluded"] = $val; + return $this; + } + /** + * Gets the managedAppsInBundleIdACLIncluded + * When set to True, the Kerberos extension allows managed apps, and any apps entered with the app bundle ID to access the credential. When set to False, the Kerberos extension allows all apps to access the credential. Available for devices running iOS and iPadOS versions 14 and later. + * + * @return bool|null The managedAppsInBundleIdACLIncluded + */ + public function getManagedAppsInBundleIdACLIncluded() + { + if (array_key_exists("managedAppsInBundleIdACLIncluded", $this->_propDict)) { + return $this->_propDict["managedAppsInBundleIdACLIncluded"]; + } else { + return null; + } + } + + /** + * Sets the managedAppsInBundleIdACLIncluded + * When set to True, the Kerberos extension allows managed apps, and any apps entered with the app bundle ID to access the credential. When set to False, the Kerberos extension allows all apps to access the credential. Available for devices running iOS and iPadOS versions 14 and later. + * + * @param bool $val The value of the managedAppsInBundleIdACLIncluded + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setManagedAppsInBundleIdACLIncluded($val) + { + $this->_propDict["managedAppsInBundleIdACLIncluded"] = $val; + return $this; + } + /** + * Gets the modeCredentialUsed + * Select how other processes use the Kerberos Extension credential. + * + * @return string|null The modeCredentialUsed + */ + public function getModeCredentialUsed() + { + if (array_key_exists("modeCredentialUsed", $this->_propDict)) { + return $this->_propDict["modeCredentialUsed"]; + } else { + return null; + } + } + + /** + * Sets the modeCredentialUsed + * Select how other processes use the Kerberos Extension credential. + * + * @param string $val The value of the modeCredentialUsed + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setModeCredentialUsed($val) + { + $this->_propDict["modeCredentialUsed"] = $val; + return $this; + } + /** + * Gets the passwordBlockModification + * Enables or disables password changes. + * + * @return bool|null The passwordBlockModification + */ + public function getPasswordBlockModification() + { + if (array_key_exists("passwordBlockModification", $this->_propDict)) { + return $this->_propDict["passwordBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockModification + * Enables or disables password changes. + * + * @param bool $val The value of the passwordBlockModification + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordBlockModification($val) + { + $this->_propDict["passwordBlockModification"] = $val; + return $this; + } + /** + * Gets the passwordChangeUrl + * Gets or sets the URL that the user will be sent to when they initiate a password change. + * + * @return string|null The passwordChangeUrl + */ + public function getPasswordChangeUrl() + { + if (array_key_exists("passwordChangeUrl", $this->_propDict)) { + return $this->_propDict["passwordChangeUrl"]; + } else { + return null; + } + } + + /** + * Sets the passwordChangeUrl + * Gets or sets the URL that the user will be sent to when they initiate a password change. + * + * @param string $val The value of the passwordChangeUrl + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordChangeUrl($val) + { + $this->_propDict["passwordChangeUrl"] = $val; + return $this; + } + /** + * Gets the passwordEnableLocalSync + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * + * @return bool|null The passwordEnableLocalSync + */ + public function getPasswordEnableLocalSync() + { + if (array_key_exists("passwordEnableLocalSync", $this->_propDict)) { + return $this->_propDict["passwordEnableLocalSync"]; + } else { + return null; + } + } + + /** + * Sets the passwordEnableLocalSync + * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS. + * + * @param bool $val The value of the passwordEnableLocalSync + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordEnableLocalSync($val) + { + $this->_propDict["passwordEnableLocalSync"] = $val; + return $this; + } + /** + * Gets the passwordExpirationDays + * Overrides the default password expiration in days. For most domains, this value is calculated automatically. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Overrides the default password expiration in days. For most domains, this value is calculated automatically. + * + * @param int $val The value of the passwordExpirationDays + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = $val; + return $this; + } + /** + * Gets the passwordExpirationNotificationDays + * Gets or sets the number of days until the user is notified that their password will expire (default is 15). + * + * @return int|null The passwordExpirationNotificationDays + */ + public function getPasswordExpirationNotificationDays() + { + if (array_key_exists("passwordExpirationNotificationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationNotificationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationNotificationDays + * Gets or sets the number of days until the user is notified that their password will expire (default is 15). + * + * @param int $val The value of the passwordExpirationNotificationDays + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordExpirationNotificationDays($val) + { + $this->_propDict["passwordExpirationNotificationDays"] = $val; + return $this; + } + /** + * Gets the passwordMinimumAgeDays + * Gets or sets the minimum number of days until a user can change their password again. + * + * @return int|null The passwordMinimumAgeDays + */ + public function getPasswordMinimumAgeDays() + { + if (array_key_exists("passwordMinimumAgeDays", $this->_propDict)) { + return $this->_propDict["passwordMinimumAgeDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumAgeDays + * Gets or sets the minimum number of days until a user can change their password again. + * + * @param int $val The value of the passwordMinimumAgeDays + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordMinimumAgeDays($val) + { + $this->_propDict["passwordMinimumAgeDays"] = $val; + return $this; + } + /** + * Gets the passwordMinimumLength + * Gets or sets the minimum length of a password. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Gets or sets the minimum length of a password. + * + * @param int $val The value of the passwordMinimumLength + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = $val; + return $this; + } + /** + * Gets the passwordPreviousPasswordBlockCount + * Gets or sets the number of previous passwords to block. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Gets or sets the number of previous passwords to block. + * + * @param int $val The value of the passwordPreviousPasswordBlockCount + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = $val; + return $this; + } + /** + * Gets the passwordRequireActiveDirectoryComplexity + * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * + * @return bool|null The passwordRequireActiveDirectoryComplexity + */ + public function getPasswordRequireActiveDirectoryComplexity() + { + if (array_key_exists("passwordRequireActiveDirectoryComplexity", $this->_propDict)) { + return $this->_propDict["passwordRequireActiveDirectoryComplexity"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireActiveDirectoryComplexity + * Enables or disables whether passwords must meet Active Directory's complexity requirements. + * + * @param bool $val The value of the passwordRequireActiveDirectoryComplexity + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordRequireActiveDirectoryComplexity($val) + { + $this->_propDict["passwordRequireActiveDirectoryComplexity"] = $val; + return $this; + } + /** + * Gets the passwordRequirementsDescription + * Gets or sets a description of the password complexity requirements. + * + * @return string|null The passwordRequirementsDescription + */ + public function getPasswordRequirementsDescription() + { + if (array_key_exists("passwordRequirementsDescription", $this->_propDict)) { + return $this->_propDict["passwordRequirementsDescription"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequirementsDescription + * Gets or sets a description of the password complexity requirements. + * + * @param string $val The value of the passwordRequirementsDescription + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPasswordRequirementsDescription($val) + { + $this->_propDict["passwordRequirementsDescription"] = $val; + return $this; + } + /** + * Gets the preferredKDCs + * Add creates an ordered list of preferred Key Distribution Centers (KDCs) to use for Kerberos traffic. This list is used when the servers are not discoverable using DNS. When the servers are discoverable, the list is used for both connectivity checks, and used first for Kerberos traffic. If the servers don’t respond, then the device uses DNS discovery. Delete removes an existing list, and devices use DNS discovery. Available for devices running macOS versions 12 and later. + * + * @return string|null The preferredKDCs + */ + public function getPreferredKDCs() + { + if (array_key_exists("preferredKDCs", $this->_propDict)) { + return $this->_propDict["preferredKDCs"]; + } else { + return null; + } + } + + /** + * Sets the preferredKDCs + * Add creates an ordered list of preferred Key Distribution Centers (KDCs) to use for Kerberos traffic. This list is used when the servers are not discoverable using DNS. When the servers are discoverable, the list is used for both connectivity checks, and used first for Kerberos traffic. If the servers don’t respond, then the device uses DNS discovery. Delete removes an existing list, and devices use DNS discovery. Available for devices running macOS versions 12 and later. + * + * @param string $val The value of the preferredKDCs + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setPreferredKDCs($val) + { + $this->_propDict["preferredKDCs"] = $val; + return $this; + } + /** + * Gets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Gets or sets the case-sensitive realm name for this profile. + * + * @param string $val The value of the realm + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + /** + * Gets the requireUserPresence + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. + * + * @return bool|null The requireUserPresence + */ + public function getRequireUserPresence() + { + if (array_key_exists("requireUserPresence", $this->_propDict)) { + return $this->_propDict["requireUserPresence"]; + } else { + return null; + } + } + + /** + * Sets the requireUserPresence + * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry. + * + * @param bool $val The value of the requireUserPresence + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setRequireUserPresence($val) + { + $this->_propDict["requireUserPresence"] = $val; + return $this; + } + /** + * Gets the signInHelpText + * Text displayed to the user at the Kerberos sign in window. Available for devices running iOS and iPadOS versions 14 and later. + * + * @return string|null The signInHelpText + */ + public function getSignInHelpText() + { + if (array_key_exists("signInHelpText", $this->_propDict)) { + return $this->_propDict["signInHelpText"]; + } else { + return null; + } + } + + /** + * Sets the signInHelpText + * Text displayed to the user at the Kerberos sign in window. Available for devices running iOS and iPadOS versions 14 and later. + * + * @param string $val The value of the signInHelpText + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setSignInHelpText($val) + { + $this->_propDict["signInHelpText"] = $val; + return $this; + } + /** + * Gets the tlsForLDAPRequired + * When set to True, LDAP connections are required to use Transport Layer Security (TLS). Available for devices running macOS versions 11 and later. + * + * @return bool|null The tlsForLDAPRequired + */ + public function getTlsForLDAPRequired() + { + if (array_key_exists("tlsForLDAPRequired", $this->_propDict)) { + return $this->_propDict["tlsForLDAPRequired"]; + } else { + return null; + } + } + + /** + * Sets the tlsForLDAPRequired + * When set to True, LDAP connections are required to use Transport Layer Security (TLS). Available for devices running macOS versions 11 and later. + * + * @param bool $val The value of the tlsForLDAPRequired + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setTlsForLDAPRequired($val) + { + $this->_propDict["tlsForLDAPRequired"] = $val; + return $this; + } + /** + * Gets the usernameLabelCustom + * This label replaces the user name shown in the Kerberos extension. You can enter a name to match the name of your company or organization. Available for devices running macOS versions 11 and later. + * + * @return string|null The usernameLabelCustom + */ + public function getUsernameLabelCustom() + { + if (array_key_exists("usernameLabelCustom", $this->_propDict)) { + return $this->_propDict["usernameLabelCustom"]; + } else { + return null; + } + } + + /** + * Sets the usernameLabelCustom + * This label replaces the user name shown in the Kerberos extension. You can enter a name to match the name of your company or organization. Available for devices running macOS versions 11 and later. + * + * @param string $val The value of the usernameLabelCustom + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setUsernameLabelCustom($val) + { + $this->_propDict["usernameLabelCustom"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * + * @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 + * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. + * + * @param string $val The value of the userPrincipalName + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + /** + * Gets the userSetupDelayed + * When set to True, the user isn’t prompted to set up the Kerberos extension until the extension is enabled by the admin, or a Kerberos challenge is received. Available for devices running macOS versions 11 and later. + * + * @return bool|null The userSetupDelayed + */ + public function getUserSetupDelayed() + { + if (array_key_exists("userSetupDelayed", $this->_propDict)) { + return $this->_propDict["userSetupDelayed"]; + } else { + return null; + } + } + + /** + * Sets the userSetupDelayed + * When set to True, the user isn’t prompted to set up the Kerberos extension until the extension is enabled by the admin, or a Kerberos challenge is received. Available for devices running macOS versions 11 and later. + * + * @param bool $val The value of the userSetupDelayed + * + * @return MacOSKerberosSingleSignOnExtension + */ + public function setUserSetupDelayed($val) + { + $this->_propDict["userSetupDelayed"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKernelExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKernelExtension.php new file mode 100644 index 0000000..7fe6246 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKernelExtension.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * Bundle ID of the kernel extension. + * + * @param string $val The value of the bundleId + * + * @return MacOSKernelExtension + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * The team identifier that was used to sign the kernel extension. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * The team identifier that was used to sign the kernel extension. + * + * @param string $val The value of the teamIdentifier + * + * @return MacOSKernelExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLaunchItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLaunchItem.php new file mode 100644 index 0000000..dadef14 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLaunchItem.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["hide"]; + } else { + return null; + } + } + + /** + * Sets the hide + * Whether or not to hide the item from the Users and Groups List. + * + * @param bool $val The value of the hide + * + * @return MacOSLaunchItem + */ + public function setHide($val) + { + $this->_propDict["hide"] = $val; + return $this; + } + /** + * Gets the path + * Path to the launch item. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Path to the launch item. + * + * @param string $val The value of the path + * + * @return MacOSLaunchItem + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php new file mode 100644 index 0000000..0a99a73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php @@ -0,0 +1,322 @@ +_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * The build number of MacOS Line of Business (LoB) app. + * + * @param string $val The buildNumber + * + * @return MacOSLobApp + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The bundle id. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The bundle id. + * + * @param string $val The bundleId + * + * @return MacOSLobApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + + /** + * Gets the childApps + * The app list in this bundle package + * + * @return array|null The childApps + */ + public function getChildApps() + { + if (array_key_exists("childApps", $this->_propDict)) { + return $this->_propDict["childApps"]; + } else { + return null; + } + } + + /** + * Sets the childApps + * The app list in this bundle package + * + * @param MacOSLobChildApp[] $val The childApps + * + * @return MacOSLobApp + */ + public function setChildApps($val) + { + $this->_propDict["childApps"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return MacOSLobApp + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the ignoreVersionDetection + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for macOS Line of Business (LoB) apps that use a self update feature. + * + * @return bool|null The ignoreVersionDetection + */ + public function getIgnoreVersionDetection() + { + if (array_key_exists("ignoreVersionDetection", $this->_propDict)) { + return $this->_propDict["ignoreVersionDetection"]; + } else { + return null; + } + } + + /** + * Sets the ignoreVersionDetection + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for macOS Line of Business (LoB) apps that use a self update feature. + * + * @param bool $val The ignoreVersionDetection + * + * @return MacOSLobApp + */ + public function setIgnoreVersionDetection($val) + { + $this->_propDict["ignoreVersionDetection"] = boolval($val); + return $this; + } + + /** + * Gets the installAsManaged + * A boolean to control whether the app will be installed as managed (requires macOS 11.0 and other PKG restrictions). + * + * @return bool|null The installAsManaged + */ + public function getInstallAsManaged() + { + if (array_key_exists("installAsManaged", $this->_propDict)) { + return $this->_propDict["installAsManaged"]; + } else { + return null; + } + } + + /** + * Sets the installAsManaged + * A boolean to control whether the app will be installed as managed (requires macOS 11.0 and other PKG restrictions). + * + * @param bool $val The installAsManaged + * + * @return MacOSLobApp + */ + public function setInstallAsManaged($val) + { + $this->_propDict["installAsManaged"] = boolval($val); + return $this; + } + + /** + * Gets the md5Hash + * The MD5 hash codes + * + * @return string|null The md5Hash + */ + public function getMd5Hash() + { + if (array_key_exists("md5Hash", $this->_propDict)) { + return $this->_propDict["md5Hash"]; + } else { + return null; + } + } + + /** + * Sets the md5Hash + * The MD5 hash codes + * + * @param string $val The md5Hash + * + * @return MacOSLobApp + */ + public function setMd5Hash($val) + { + $this->_propDict["md5Hash"] = $val; + return $this; + } + + /** + * Gets the md5HashChunkSize + * The chunk size for MD5 hash + * + * @return int|null The md5HashChunkSize + */ + public function getMd5HashChunkSize() + { + if (array_key_exists("md5HashChunkSize", $this->_propDict)) { + return $this->_propDict["md5HashChunkSize"]; + } else { + return null; + } + } + + /** + * Sets the md5HashChunkSize + * The chunk size for MD5 hash + * + * @param int $val The md5HashChunkSize + * + * @return MacOSLobApp + */ + public function setMd5HashChunkSize($val) + { + $this->_propDict["md5HashChunkSize"] = intval($val); + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return MacOSMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\MacOSMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new MacOSMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param MacOSMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return MacOSLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the versionNumber + * The version number of MacOS Line of Business (LoB) app. + * + * @return string|null The versionNumber + */ + public function getVersionNumber() + { + if (array_key_exists("versionNumber", $this->_propDict)) { + return $this->_propDict["versionNumber"]; + } else { + return null; + } + } + + /** + * Sets the versionNumber + * The version number of MacOS Line of Business (LoB) app. + * + * @param string $val The versionNumber + * + * @return MacOSLobApp + */ + public function setVersionNumber($val) + { + $this->_propDict["versionNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobChildApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobChildApp.php new file mode 100644 index 0000000..0487e39 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobChildApp.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * The build number of MacOS Line of Business (LoB) app. + * + * @param string $val The value of the buildNumber + * + * @return MacOSLobChildApp + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The value of the bundleId + * + * @return MacOSLobChildApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + /** + * Gets the versionNumber + * The version number of MacOS Line of Business (LoB) app. + * + * @return string|null The versionNumber + */ + public function getVersionNumber() + { + if (array_key_exists("versionNumber", $this->_propDict)) { + return $this->_propDict["versionNumber"]; + } else { + return null; + } + } + + /** + * Sets the versionNumber + * The version number of MacOS Line of Business (LoB) app. + * + * @param string $val The value of the versionNumber + * + * @return MacOSLobChildApp + */ + public function setVersionNumber($val) + { + $this->_propDict["versionNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php new file mode 100644 index 0000000..96bf3e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["channel"], "\Beta\Microsoft\Graph\Model\MicrosoftEdgeChannel") || is_null($this->_propDict["channel"])) { + return $this->_propDict["channel"]; + } else { + $this->_propDict["channel"] = new MicrosoftEdgeChannel($this->_propDict["channel"]); + return $this->_propDict["channel"]; + } + } + return null; + } + + /** + * Sets the channel + * The channel to install on target devices. Possible values are: dev, beta, stable. + * + * @param MicrosoftEdgeChannel $val The channel + * + * @return MacOSMicrosoftEdgeApp + */ + public function setChannel($val) + { + $this->_propDict["channel"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php new file mode 100644 index 0000000..3f57f6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php @@ -0,0 +1,334 @@ +_propDict)) { + return $this->_propDict["v1010"]; + } else { + return null; + } + } + + /** + * Sets the v10_10 + * Mac OS 10.10 or later. + * + * @param bool $val The value of the v10_10 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_10($val) + { + $this->_propDict["v1010"] = $val; + return $this; + } + /** + * Gets the v10_11 + * Mac OS 10.11 or later. + * + * @return bool|null The v10_11 + */ + public function getV10_11() + { + if (array_key_exists("v1011", $this->_propDict)) { + return $this->_propDict["v1011"]; + } else { + return null; + } + } + + /** + * Sets the v10_11 + * Mac OS 10.11 or later. + * + * @param bool $val The value of the v10_11 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_11($val) + { + $this->_propDict["v1011"] = $val; + return $this; + } + /** + * Gets the v10_12 + * Mac OS 10.12 or later. + * + * @return bool|null The v10_12 + */ + public function getV10_12() + { + if (array_key_exists("v1012", $this->_propDict)) { + return $this->_propDict["v1012"]; + } else { + return null; + } + } + + /** + * Sets the v10_12 + * Mac OS 10.12 or later. + * + * @param bool $val The value of the v10_12 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_12($val) + { + $this->_propDict["v1012"] = $val; + return $this; + } + /** + * Gets the v10_13 + * Mac OS 10.13 or later. + * + * @return bool|null The v10_13 + */ + public function getV10_13() + { + if (array_key_exists("v1013", $this->_propDict)) { + return $this->_propDict["v1013"]; + } else { + return null; + } + } + + /** + * Sets the v10_13 + * Mac OS 10.13 or later. + * + * @param bool $val The value of the v10_13 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_13($val) + { + $this->_propDict["v1013"] = $val; + return $this; + } + /** + * Gets the v10_14 + * Mac OS 10.14 or later. + * + * @return bool|null The v10_14 + */ + public function getV10_14() + { + if (array_key_exists("v1014", $this->_propDict)) { + return $this->_propDict["v1014"]; + } else { + return null; + } + } + + /** + * Sets the v10_14 + * Mac OS 10.14 or later. + * + * @param bool $val The value of the v10_14 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_14($val) + { + $this->_propDict["v1014"] = $val; + return $this; + } + /** + * Gets the v10_15 + * Mac OS 10.15 or later. + * + * @return bool|null The v10_15 + */ + public function getV10_15() + { + if (array_key_exists("v1015", $this->_propDict)) { + return $this->_propDict["v1015"]; + } else { + return null; + } + } + + /** + * Sets the v10_15 + * Mac OS 10.15 or later. + * + * @param bool $val The value of the v10_15 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_15($val) + { + $this->_propDict["v1015"] = $val; + return $this; + } + /** + * Gets the v10_7 + * Mac OS 10.7 or later. + * + * @return bool|null The v10_7 + */ + public function getV10_7() + { + if (array_key_exists("v107", $this->_propDict)) { + return $this->_propDict["v107"]; + } else { + return null; + } + } + + /** + * Sets the v10_7 + * Mac OS 10.7 or later. + * + * @param bool $val The value of the v10_7 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_7($val) + { + $this->_propDict["v107"] = $val; + return $this; + } + /** + * Gets the v10_8 + * Mac OS 10.8 or later. + * + * @return bool|null The v10_8 + */ + public function getV10_8() + { + if (array_key_exists("v108", $this->_propDict)) { + return $this->_propDict["v108"]; + } else { + return null; + } + } + + /** + * Sets the v10_8 + * Mac OS 10.8 or later. + * + * @param bool $val The value of the v10_8 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_8($val) + { + $this->_propDict["v108"] = $val; + return $this; + } + /** + * Gets the v10_9 + * Mac OS 10.9 or later. + * + * @return bool|null The v10_9 + */ + public function getV10_9() + { + if (array_key_exists("v109", $this->_propDict)) { + return $this->_propDict["v109"]; + } else { + return null; + } + } + + /** + * Sets the v10_9 + * Mac OS 10.9 or later. + * + * @param bool $val The value of the v10_9 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV10_9($val) + { + $this->_propDict["v109"] = $val; + return $this; + } + /** + * Gets the v11_0 + * Mac OS 11.0 or later. + * + * @return bool|null The v11_0 + */ + public function getV11_0() + { + if (array_key_exists("v110", $this->_propDict)) { + return $this->_propDict["v110"]; + } else { + return null; + } + } + + /** + * Sets the v11_0 + * Mac OS 11.0 or later. + * + * @param bool $val The value of the v11_0 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV11_0($val) + { + $this->_propDict["v110"] = $val; + return $this; + } + /** + * Gets the v12_0 + * Mac OS 12.0 or later. + * + * @return bool|null The v12_0 + */ + public function getV12_0() + { + if (array_key_exists("v120", $this->_propDict)) { + return $this->_propDict["v120"]; + } else { + return null; + } + } + + /** + * Sets the v12_0 + * Mac OS 12.0 or later. + * + * @param bool $val The value of the v12_0 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV12_0($val) + { + $this->_propDict["v120"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSOfficeSuiteApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSOfficeSuiteApp.php new file mode 100644 index 0000000..4e6bfde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSOfficeSuiteApp.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["allowAllAppsAccess"]; + } else { + return null; + } + } + + /** + * Sets the allowAllAppsAccess + * AllowAllAppsAccess setting + * + * @param bool $val The allowAllAppsAccess + * + * @return MacOSPkcsCertificateProfile + */ + public function setAllowAllAppsAccess($val) + { + $this->_propDict["allowAllAppsAccess"] = boolval($val); + return $this; + } + + /** + * Gets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @return CertificateStore|null The certificateStore + */ + public function getCertificateStore() + { + if (array_key_exists("certificateStore", $this->_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return MacOSPkcsCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateTemplateName + * PKCS certificate template name. + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS certificate template name. + * + * @param string $val The certificateTemplateName + * + * @return MacOSPkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS certification authority FQDN. + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS certification authority FQDN. + * + * @param string $val The certificationAuthority + * + * @return MacOSPkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS certification authority Name. + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS certification authority Name. + * + * @param string $val The certificationAuthorityName + * + * @return MacOSPkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return MacOSPkcsCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Format string that defines the subject alternative name. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Format string that defines the subject alternative name. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return MacOSPkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Format string that defines the subject name. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Format string that defines the subject name. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return MacOSPkcsCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return MacOSPkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSPrivacyAccessControlItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSPrivacyAccessControlItem.php new file mode 100644 index 0000000..1673d36 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSPrivacyAccessControlItem.php @@ -0,0 +1,844 @@ +_propDict)) { + if (is_a($this->_propDict["accessibility"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["accessibility"])) { + return $this->_propDict["accessibility"]; + } else { + $this->_propDict["accessibility"] = new Enablement($this->_propDict["accessibility"]); + return $this->_propDict["accessibility"]; + } + } + return null; + } + + /** + * Sets the accessibility + * Allow the app or process to control the Mac via the Accessibility subsystem. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the accessibility + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setAccessibility($val) + { + $this->_propDict["accessibility"] = $val; + return $this; + } + + /** + * Gets the addressBook + * Allow or block access to contact information managed by Contacts. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The addressBook + */ + public function getAddressBook() + { + if (array_key_exists("addressBook", $this->_propDict)) { + if (is_a($this->_propDict["addressBook"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["addressBook"])) { + return $this->_propDict["addressBook"]; + } else { + $this->_propDict["addressBook"] = new Enablement($this->_propDict["addressBook"]); + return $this->_propDict["addressBook"]; + } + } + return null; + } + + /** + * Sets the addressBook + * Allow or block access to contact information managed by Contacts. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the addressBook + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setAddressBook($val) + { + $this->_propDict["addressBook"] = $val; + return $this; + } + + /** + * Gets the appleEventsAllowedReceivers + * Allow or deny the app or process to send a restricted Apple event to another app or process. You will need to know the identifier, identifier type, and code requirement of the receiving app or process. This collection can contain a maximum of 500 elements. + * + * @return MacOSAppleEventReceiver|null The appleEventsAllowedReceivers + */ + public function getAppleEventsAllowedReceivers() + { + if (array_key_exists("appleEventsAllowedReceivers", $this->_propDict)) { + if (is_a($this->_propDict["appleEventsAllowedReceivers"], "\Beta\Microsoft\Graph\Model\MacOSAppleEventReceiver") || is_null($this->_propDict["appleEventsAllowedReceivers"])) { + return $this->_propDict["appleEventsAllowedReceivers"]; + } else { + $this->_propDict["appleEventsAllowedReceivers"] = new MacOSAppleEventReceiver($this->_propDict["appleEventsAllowedReceivers"]); + return $this->_propDict["appleEventsAllowedReceivers"]; + } + } + return null; + } + + /** + * Sets the appleEventsAllowedReceivers + * Allow or deny the app or process to send a restricted Apple event to another app or process. You will need to know the identifier, identifier type, and code requirement of the receiving app or process. This collection can contain a maximum of 500 elements. + * + * @param MacOSAppleEventReceiver $val The value to assign to the appleEventsAllowedReceivers + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setAppleEventsAllowedReceivers($val) + { + $this->_propDict["appleEventsAllowedReceivers"] = $val; + return $this; + } + /** + * Gets the blockCamera + * Block access to camera app. + * + * @return bool|null The blockCamera + */ + public function getBlockCamera() + { + if (array_key_exists("blockCamera", $this->_propDict)) { + return $this->_propDict["blockCamera"]; + } else { + return null; + } + } + + /** + * Sets the blockCamera + * Block access to camera app. + * + * @param bool $val The value of the blockCamera + * + * @return MacOSPrivacyAccessControlItem + */ + public function setBlockCamera($val) + { + $this->_propDict["blockCamera"] = $val; + return $this; + } + /** + * Gets the blockListenEvent + * Block the app or process from listening to events from input devices such as mouse, keyboard, and trackpad.Requires macOS 10.15 or later. + * + * @return bool|null The blockListenEvent + */ + public function getBlockListenEvent() + { + if (array_key_exists("blockListenEvent", $this->_propDict)) { + return $this->_propDict["blockListenEvent"]; + } else { + return null; + } + } + + /** + * Sets the blockListenEvent + * Block the app or process from listening to events from input devices such as mouse, keyboard, and trackpad.Requires macOS 10.15 or later. + * + * @param bool $val The value of the blockListenEvent + * + * @return MacOSPrivacyAccessControlItem + */ + public function setBlockListenEvent($val) + { + $this->_propDict["blockListenEvent"] = $val; + return $this; + } + /** + * Gets the blockMicrophone + * Block access to microphone. + * + * @return bool|null The blockMicrophone + */ + public function getBlockMicrophone() + { + if (array_key_exists("blockMicrophone", $this->_propDict)) { + return $this->_propDict["blockMicrophone"]; + } else { + return null; + } + } + + /** + * Sets the blockMicrophone + * Block access to microphone. + * + * @param bool $val The value of the blockMicrophone + * + * @return MacOSPrivacyAccessControlItem + */ + public function setBlockMicrophone($val) + { + $this->_propDict["blockMicrophone"] = $val; + return $this; + } + /** + * Gets the blockScreenCapture + * Block app from capturing contents of system display. Requires macOS 10.15 or later. + * + * @return bool|null The blockScreenCapture + */ + public function getBlockScreenCapture() + { + if (array_key_exists("blockScreenCapture", $this->_propDict)) { + return $this->_propDict["blockScreenCapture"]; + } else { + return null; + } + } + + /** + * Sets the blockScreenCapture + * Block app from capturing contents of system display. Requires macOS 10.15 or later. + * + * @param bool $val The value of the blockScreenCapture + * + * @return MacOSPrivacyAccessControlItem + */ + public function setBlockScreenCapture($val) + { + $this->_propDict["blockScreenCapture"] = $val; + return $this; + } + + /** + * Gets the calendar + * Allow or block access to event information managed by Calendar. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Enablement($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * Allow or block access to event information managed by Calendar. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the calendar + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + /** + * Gets the codeRequirement + * Enter the code requirement, which can be obtained with the command 'codesign –display -r –' in the Terminal app. Include everything after '=&gt;'. + * + * @return string|null The codeRequirement + */ + public function getCodeRequirement() + { + if (array_key_exists("codeRequirement", $this->_propDict)) { + return $this->_propDict["codeRequirement"]; + } else { + return null; + } + } + + /** + * Sets the codeRequirement + * Enter the code requirement, which can be obtained with the command 'codesign –display -r –' in the Terminal app. Include everything after '=&gt;'. + * + * @param string $val The value of the codeRequirement + * + * @return MacOSPrivacyAccessControlItem + */ + public function setCodeRequirement($val) + { + $this->_propDict["codeRequirement"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the app, process, or executable. + * + * @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 + * The display name of the app, process, or executable. + * + * @param string $val The value of the displayName + * + * @return MacOSPrivacyAccessControlItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fileProviderPresence + * Allow the app or process to access files managed by another app’s file provider extension. Requires macOS 10.15 or later. . Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The fileProviderPresence + */ + public function getFileProviderPresence() + { + if (array_key_exists("fileProviderPresence", $this->_propDict)) { + if (is_a($this->_propDict["fileProviderPresence"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["fileProviderPresence"])) { + return $this->_propDict["fileProviderPresence"]; + } else { + $this->_propDict["fileProviderPresence"] = new Enablement($this->_propDict["fileProviderPresence"]); + return $this->_propDict["fileProviderPresence"]; + } + } + return null; + } + + /** + * Sets the fileProviderPresence + * Allow the app or process to access files managed by another app’s file provider extension. Requires macOS 10.15 or later. . Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the fileProviderPresence + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setFileProviderPresence($val) + { + $this->_propDict["fileProviderPresence"] = $val; + return $this; + } + /** + * Gets the identifier + * The bundle ID or path of the app, process, or executable. + * + * @return string|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * The bundle ID or path of the app, process, or executable. + * + * @param string $val The value of the identifier + * + * @return MacOSPrivacyAccessControlItem + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the identifierType + * A bundle ID is used to identify an app. A path is used to identify a process or executable. Possible values are: bundleID, path. + * + * @return MacOSProcessIdentifierType|null The identifierType + */ + public function getIdentifierType() + { + if (array_key_exists("identifierType", $this->_propDict)) { + if (is_a($this->_propDict["identifierType"], "\Beta\Microsoft\Graph\Model\MacOSProcessIdentifierType") || is_null($this->_propDict["identifierType"])) { + return $this->_propDict["identifierType"]; + } else { + $this->_propDict["identifierType"] = new MacOSProcessIdentifierType($this->_propDict["identifierType"]); + return $this->_propDict["identifierType"]; + } + } + return null; + } + + /** + * Sets the identifierType + * A bundle ID is used to identify an app. A path is used to identify a process or executable. Possible values are: bundleID, path. + * + * @param MacOSProcessIdentifierType $val The value to assign to the identifierType + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setIdentifierType($val) + { + $this->_propDict["identifierType"] = $val; + return $this; + } + + /** + * Gets the mediaLibrary + * Allow or block access to music and the media library. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The mediaLibrary + */ + public function getMediaLibrary() + { + if (array_key_exists("mediaLibrary", $this->_propDict)) { + if (is_a($this->_propDict["mediaLibrary"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["mediaLibrary"])) { + return $this->_propDict["mediaLibrary"]; + } else { + $this->_propDict["mediaLibrary"] = new Enablement($this->_propDict["mediaLibrary"]); + return $this->_propDict["mediaLibrary"]; + } + } + return null; + } + + /** + * Sets the mediaLibrary + * Allow or block access to music and the media library. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the mediaLibrary + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setMediaLibrary($val) + { + $this->_propDict["mediaLibrary"] = $val; + return $this; + } + + /** + * Gets the photos + * Allow or block access to images managed by Photos. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The photos + */ + public function getPhotos() + { + if (array_key_exists("photos", $this->_propDict)) { + if (is_a($this->_propDict["photos"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["photos"])) { + return $this->_propDict["photos"]; + } else { + $this->_propDict["photos"] = new Enablement($this->_propDict["photos"]); + return $this->_propDict["photos"]; + } + } + return null; + } + + /** + * Sets the photos + * Allow or block access to images managed by Photos. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the photos + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setPhotos($val) + { + $this->_propDict["photos"] = $val; + return $this; + } + + /** + * Gets the postEvent + * Control access to CoreGraphics APIs, which are used to send CGEvents to the system event stream. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The postEvent + */ + public function getPostEvent() + { + if (array_key_exists("postEvent", $this->_propDict)) { + if (is_a($this->_propDict["postEvent"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["postEvent"])) { + return $this->_propDict["postEvent"]; + } else { + $this->_propDict["postEvent"] = new Enablement($this->_propDict["postEvent"]); + return $this->_propDict["postEvent"]; + } + } + return null; + } + + /** + * Sets the postEvent + * Control access to CoreGraphics APIs, which are used to send CGEvents to the system event stream. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the postEvent + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setPostEvent($val) + { + $this->_propDict["postEvent"] = $val; + return $this; + } + + /** + * Gets the reminders + * Allow or block access to information managed by Reminders. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The reminders + */ + public function getReminders() + { + if (array_key_exists("reminders", $this->_propDict)) { + if (is_a($this->_propDict["reminders"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["reminders"])) { + return $this->_propDict["reminders"]; + } else { + $this->_propDict["reminders"] = new Enablement($this->_propDict["reminders"]); + return $this->_propDict["reminders"]; + } + } + return null; + } + + /** + * Sets the reminders + * Allow or block access to information managed by Reminders. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the reminders + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setReminders($val) + { + $this->_propDict["reminders"] = $val; + return $this; + } + + /** + * Gets the speechRecognition + * Allow or block access to system speech recognition facility. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The speechRecognition + */ + public function getSpeechRecognition() + { + if (array_key_exists("speechRecognition", $this->_propDict)) { + if (is_a($this->_propDict["speechRecognition"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["speechRecognition"])) { + return $this->_propDict["speechRecognition"]; + } else { + $this->_propDict["speechRecognition"] = new Enablement($this->_propDict["speechRecognition"]); + return $this->_propDict["speechRecognition"]; + } + } + return null; + } + + /** + * Sets the speechRecognition + * Allow or block access to system speech recognition facility. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the speechRecognition + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSpeechRecognition($val) + { + $this->_propDict["speechRecognition"] = $val; + return $this; + } + /** + * Gets the staticCodeValidation + * Statically validates the code requirement. Use this setting if the process invalidates its dynamic code signature. + * + * @return bool|null The staticCodeValidation + */ + public function getStaticCodeValidation() + { + if (array_key_exists("staticCodeValidation", $this->_propDict)) { + return $this->_propDict["staticCodeValidation"]; + } else { + return null; + } + } + + /** + * Sets the staticCodeValidation + * Statically validates the code requirement. Use this setting if the process invalidates its dynamic code signature. + * + * @param bool $val The value of the staticCodeValidation + * + * @return MacOSPrivacyAccessControlItem + */ + public function setStaticCodeValidation($val) + { + $this->_propDict["staticCodeValidation"] = $val; + return $this; + } + + /** + * Gets the systemPolicyAllFiles + * Control access to all protected files on a device. Files might be in locations such as emails, messages, apps, and administrative settings. Apply this setting with caution. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicyAllFiles + */ + public function getSystemPolicyAllFiles() + { + if (array_key_exists("systemPolicyAllFiles", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicyAllFiles"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicyAllFiles"])) { + return $this->_propDict["systemPolicyAllFiles"]; + } else { + $this->_propDict["systemPolicyAllFiles"] = new Enablement($this->_propDict["systemPolicyAllFiles"]); + return $this->_propDict["systemPolicyAllFiles"]; + } + } + return null; + } + + /** + * Sets the systemPolicyAllFiles + * Control access to all protected files on a device. Files might be in locations such as emails, messages, apps, and administrative settings. Apply this setting with caution. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicyAllFiles + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicyAllFiles($val) + { + $this->_propDict["systemPolicyAllFiles"] = $val; + return $this; + } + + /** + * Gets the systemPolicyDesktopFolder + * Allow or block access to Desktop folder. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicyDesktopFolder + */ + public function getSystemPolicyDesktopFolder() + { + if (array_key_exists("systemPolicyDesktopFolder", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicyDesktopFolder"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicyDesktopFolder"])) { + return $this->_propDict["systemPolicyDesktopFolder"]; + } else { + $this->_propDict["systemPolicyDesktopFolder"] = new Enablement($this->_propDict["systemPolicyDesktopFolder"]); + return $this->_propDict["systemPolicyDesktopFolder"]; + } + } + return null; + } + + /** + * Sets the systemPolicyDesktopFolder + * Allow or block access to Desktop folder. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicyDesktopFolder + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicyDesktopFolder($val) + { + $this->_propDict["systemPolicyDesktopFolder"] = $val; + return $this; + } + + /** + * Gets the systemPolicyDocumentsFolder + * Allow or block access to Documents folder. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicyDocumentsFolder + */ + public function getSystemPolicyDocumentsFolder() + { + if (array_key_exists("systemPolicyDocumentsFolder", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicyDocumentsFolder"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicyDocumentsFolder"])) { + return $this->_propDict["systemPolicyDocumentsFolder"]; + } else { + $this->_propDict["systemPolicyDocumentsFolder"] = new Enablement($this->_propDict["systemPolicyDocumentsFolder"]); + return $this->_propDict["systemPolicyDocumentsFolder"]; + } + } + return null; + } + + /** + * Sets the systemPolicyDocumentsFolder + * Allow or block access to Documents folder. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicyDocumentsFolder + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicyDocumentsFolder($val) + { + $this->_propDict["systemPolicyDocumentsFolder"] = $val; + return $this; + } + + /** + * Gets the systemPolicyDownloadsFolder + * Allow or block access to Downloads folder. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicyDownloadsFolder + */ + public function getSystemPolicyDownloadsFolder() + { + if (array_key_exists("systemPolicyDownloadsFolder", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicyDownloadsFolder"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicyDownloadsFolder"])) { + return $this->_propDict["systemPolicyDownloadsFolder"]; + } else { + $this->_propDict["systemPolicyDownloadsFolder"] = new Enablement($this->_propDict["systemPolicyDownloadsFolder"]); + return $this->_propDict["systemPolicyDownloadsFolder"]; + } + } + return null; + } + + /** + * Sets the systemPolicyDownloadsFolder + * Allow or block access to Downloads folder. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicyDownloadsFolder + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicyDownloadsFolder($val) + { + $this->_propDict["systemPolicyDownloadsFolder"] = $val; + return $this; + } + + /** + * Gets the systemPolicyNetworkVolumes + * Allow or block access to network volumes. Requires macOS 10.15 or later. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicyNetworkVolumes + */ + public function getSystemPolicyNetworkVolumes() + { + if (array_key_exists("systemPolicyNetworkVolumes", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicyNetworkVolumes"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicyNetworkVolumes"])) { + return $this->_propDict["systemPolicyNetworkVolumes"]; + } else { + $this->_propDict["systemPolicyNetworkVolumes"] = new Enablement($this->_propDict["systemPolicyNetworkVolumes"]); + return $this->_propDict["systemPolicyNetworkVolumes"]; + } + } + return null; + } + + /** + * Sets the systemPolicyNetworkVolumes + * Allow or block access to network volumes. Requires macOS 10.15 or later. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicyNetworkVolumes + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicyNetworkVolumes($val) + { + $this->_propDict["systemPolicyNetworkVolumes"] = $val; + return $this; + } + + /** + * Gets the systemPolicyRemovableVolumes + * Control access to removable volumes on the device, such as an external hard drive. Requires macOS 10.15 or later. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicyRemovableVolumes + */ + public function getSystemPolicyRemovableVolumes() + { + if (array_key_exists("systemPolicyRemovableVolumes", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicyRemovableVolumes"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicyRemovableVolumes"])) { + return $this->_propDict["systemPolicyRemovableVolumes"]; + } else { + $this->_propDict["systemPolicyRemovableVolumes"] = new Enablement($this->_propDict["systemPolicyRemovableVolumes"]); + return $this->_propDict["systemPolicyRemovableVolumes"]; + } + } + return null; + } + + /** + * Sets the systemPolicyRemovableVolumes + * Control access to removable volumes on the device, such as an external hard drive. Requires macOS 10.15 or later. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicyRemovableVolumes + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicyRemovableVolumes($val) + { + $this->_propDict["systemPolicyRemovableVolumes"] = $val; + return $this; + } + + /** + * Gets the systemPolicySystemAdminFiles + * Allow app or process to access files used in system administration. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The systemPolicySystemAdminFiles + */ + public function getSystemPolicySystemAdminFiles() + { + if (array_key_exists("systemPolicySystemAdminFiles", $this->_propDict)) { + if (is_a($this->_propDict["systemPolicySystemAdminFiles"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["systemPolicySystemAdminFiles"])) { + return $this->_propDict["systemPolicySystemAdminFiles"]; + } else { + $this->_propDict["systemPolicySystemAdminFiles"] = new Enablement($this->_propDict["systemPolicySystemAdminFiles"]); + return $this->_propDict["systemPolicySystemAdminFiles"]; + } + } + return null; + } + + /** + * Sets the systemPolicySystemAdminFiles + * Allow app or process to access files used in system administration. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The value to assign to the systemPolicySystemAdminFiles + * + * @return MacOSPrivacyAccessControlItem The MacOSPrivacyAccessControlItem + */ + public function setSystemPolicySystemAdminFiles($val) + { + $this->_propDict["systemPolicySystemAdminFiles"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSProcessIdentifierType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSProcessIdentifierType.php new file mode 100644 index 0000000..c457cd9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSProcessIdentifierType.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.macOSRedirectSingleSignOnExtension"); + } + + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return MacOSRedirectSingleSignOnExtension The MacOSRedirectSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The extensionIdentifier + */ + public function getExtensionIdentifier() + { + if (array_key_exists("extensionIdentifier", $this->_propDict)) { + return $this->_propDict["extensionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the extensionIdentifier + * + * @return MacOSRedirectSingleSignOnExtension + */ + public function setExtensionIdentifier($val) + { + $this->_propDict["extensionIdentifier"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the teamIdentifier + * + * @return MacOSRedirectSingleSignOnExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } + /** + * Gets the urlPrefixes + * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. + * + * @return string|null The urlPrefixes + */ + public function getUrlPrefixes() + { + if (array_key_exists("urlPrefixes", $this->_propDict)) { + return $this->_propDict["urlPrefixes"]; + } else { + return null; + } + } + + /** + * Sets the urlPrefixes + * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. + * + * @param string $val The value of the urlPrefixes + * + * @return MacOSRedirectSingleSignOnExtension + */ + public function setUrlPrefixes($val) + { + $this->_propDict["urlPrefixes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSScepCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSScepCertificateProfile.php new file mode 100644 index 0000000..2170e14 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSScepCertificateProfile.php @@ -0,0 +1,398 @@ +_propDict)) { + return $this->_propDict["allowAllAppsAccess"]; + } else { + return null; + } + } + + /** + * Sets the allowAllAppsAccess + * AllowAllAppsAccess setting + * + * @param bool $val The allowAllAppsAccess + * + * @return MacOSScepCertificateProfile + */ + public function setAllowAllAppsAccess($val) + { + $this->_propDict["allowAllAppsAccess"] = boolval($val); + return $this; + } + + /** + * Gets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @return CertificateStore|null The certificateStore + */ + public function getCertificateStore() + { + if (array_key_exists("certificateStore", $this->_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return MacOSScepCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return MacOSScepCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return MacOSScepCertificateProfile + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @return HashAlgorithms|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return MacOSScepCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return MacOSScepCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return MacOSScepCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s). + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s). + * + * @param string $val The scepServerUrls + * + * @return MacOSScepCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return MacOSScepCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return MacOSScepCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return MacOSScepCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return MacOSTrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\MacOSTrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new MacOSTrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param MacOSTrustedRootCertificate $val The rootCertificate + * + * @return MacOSScepCertificateProfile + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSingleSignOnExtension.php new file mode 100644 index 0000000..0629011 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSingleSignOnExtension.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The device ID. + * + * @param string $val The deviceId + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The device name. + * + * @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 device name. + * + * @param string $val The deviceName + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the report + * + * @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 + * The name of the report + * + * @param string $val The displayName + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the failedUpdateCount + * Number of failed updates on the device. + * + * @return int|null The failedUpdateCount + */ + public function getFailedUpdateCount() + { + if (array_key_exists("failedUpdateCount", $this->_propDict)) { + return $this->_propDict["failedUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the failedUpdateCount + * Number of failed updates on the device. + * + * @param int $val The failedUpdateCount + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setFailedUpdateCount($val) + { + $this->_propDict["failedUpdateCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Last date time the report for this device was updated. + * + * @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 + * Last date time the report for this device was updated. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The OS version. + * + * @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 + * The OS version. + * + * @param string $val The osVersion + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the successfulUpdateCount + * Number of successful updates on the device. + * + * @return int|null The successfulUpdateCount + */ + public function getSuccessfulUpdateCount() + { + if (array_key_exists("successfulUpdateCount", $this->_propDict)) { + return $this->_propDict["successfulUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the successfulUpdateCount + * Number of successful updates on the device. + * + * @param int $val The successfulUpdateCount + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setSuccessfulUpdateCount($val) + { + $this->_propDict["successfulUpdateCount"] = intval($val); + return $this; + } + + /** + * Gets the totalUpdateCount + * Number of total updates on the device. + * + * @return int|null The totalUpdateCount + */ + public function getTotalUpdateCount() + { + if (array_key_exists("totalUpdateCount", $this->_propDict)) { + return $this->_propDict["totalUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUpdateCount + * Number of total updates on the device. + * + * @param int $val The totalUpdateCount + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setTotalUpdateCount($val) + { + $this->_propDict["totalUpdateCount"] = intval($val); + return $this; + } + + /** + * Gets the userId + * The user ID. + * + * @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 + * The user ID. + * + * @param string $val The userId + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name + * + * @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 + * The user principal name + * + * @param string $val The userPrincipalName + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the categorySummaries + * Summary of the updates by category. + * + * @return array|null The categorySummaries + */ + public function getCategorySummaries() + { + if (array_key_exists("categorySummaries", $this->_propDict)) { + return $this->_propDict["categorySummaries"]; + } else { + return null; + } + } + + /** + * Sets the categorySummaries + * Summary of the updates by category. + * + * @param MacOSSoftwareUpdateCategorySummary[] $val The categorySummaries + * + * @return MacOSSoftwareUpdateAccountSummary + */ + public function setCategorySummaries($val) + { + $this->_propDict["categorySummaries"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateBehavior.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateBehavior.php new file mode 100644 index 0000000..1442df7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateBehavior.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The device ID. + * + * @param string $val The deviceId + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the report + * + * @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 + * The name of the report + * + * @param string $val The displayName + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the failedUpdateCount + * Number of failed updates on the device + * + * @return int|null The failedUpdateCount + */ + public function getFailedUpdateCount() + { + if (array_key_exists("failedUpdateCount", $this->_propDict)) { + return $this->_propDict["failedUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the failedUpdateCount + * Number of failed updates on the device + * + * @param int $val The failedUpdateCount + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setFailedUpdateCount($val) + { + $this->_propDict["failedUpdateCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Last date time the report for this device was updated. + * + * @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 + * Last date time the report for this device was updated. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the successfulUpdateCount + * Number of successful updates on the device + * + * @return int|null The successfulUpdateCount + */ + public function getSuccessfulUpdateCount() + { + if (array_key_exists("successfulUpdateCount", $this->_propDict)) { + return $this->_propDict["successfulUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the successfulUpdateCount + * Number of successful updates on the device + * + * @param int $val The successfulUpdateCount + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setSuccessfulUpdateCount($val) + { + $this->_propDict["successfulUpdateCount"] = intval($val); + return $this; + } + + /** + * Gets the totalUpdateCount + * Number of total updates on the device + * + * @return int|null The totalUpdateCount + */ + public function getTotalUpdateCount() + { + if (array_key_exists("totalUpdateCount", $this->_propDict)) { + return $this->_propDict["totalUpdateCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUpdateCount + * Number of total updates on the device + * + * @param int $val The totalUpdateCount + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setTotalUpdateCount($val) + { + $this->_propDict["totalUpdateCount"] = intval($val); + return $this; + } + + /** + * Gets the updateCategory + * Software update type. Possible values are: critical, configurationDataFile, firmware, other. + * + * @return MacOSSoftwareUpdateCategory|null The updateCategory + */ + public function getUpdateCategory() + { + if (array_key_exists("updateCategory", $this->_propDict)) { + if (is_a($this->_propDict["updateCategory"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateCategory") || is_null($this->_propDict["updateCategory"])) { + return $this->_propDict["updateCategory"]; + } else { + $this->_propDict["updateCategory"] = new MacOSSoftwareUpdateCategory($this->_propDict["updateCategory"]); + return $this->_propDict["updateCategory"]; + } + } + return null; + } + + /** + * Sets the updateCategory + * Software update type. Possible values are: critical, configurationDataFile, firmware, other. + * + * @param MacOSSoftwareUpdateCategory $val The updateCategory + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setUpdateCategory($val) + { + $this->_propDict["updateCategory"] = $val; + return $this; + } + + /** + * Gets the userId + * The user ID. + * + * @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 + * The user ID. + * + * @param string $val The userId + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + + /** + * Gets the updateStateSummaries + * Summary of the update states. + * + * @return array|null The updateStateSummaries + */ + public function getUpdateStateSummaries() + { + if (array_key_exists("updateStateSummaries", $this->_propDict)) { + return $this->_propDict["updateStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the updateStateSummaries + * Summary of the update states. + * + * @param MacOSSoftwareUpdateStateSummary[] $val The updateStateSummaries + * + * @return MacOSSoftwareUpdateCategorySummary + */ + public function setUpdateStateSummaries($val) + { + $this->_propDict["updateStateSummaries"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateConfiguration.php new file mode 100644 index 0000000..324539f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateConfiguration.php @@ -0,0 +1,251 @@ +_propDict)) { + if (is_a($this->_propDict["allOtherUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior") || is_null($this->_propDict["allOtherUpdateBehavior"])) { + return $this->_propDict["allOtherUpdateBehavior"]; + } else { + $this->_propDict["allOtherUpdateBehavior"] = new MacOSSoftwareUpdateBehavior($this->_propDict["allOtherUpdateBehavior"]); + return $this->_propDict["allOtherUpdateBehavior"]; + } + } + return null; + } + + /** + * Sets the allOtherUpdateBehavior + * Update behavior for all other updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @param MacOSSoftwareUpdateBehavior $val The allOtherUpdateBehavior + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setAllOtherUpdateBehavior($val) + { + $this->_propDict["allOtherUpdateBehavior"] = $val; + return $this; + } + + /** + * Gets the configDataUpdateBehavior + * Update behavior for configuration data file updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @return MacOSSoftwareUpdateBehavior|null The configDataUpdateBehavior + */ + public function getConfigDataUpdateBehavior() + { + if (array_key_exists("configDataUpdateBehavior", $this->_propDict)) { + if (is_a($this->_propDict["configDataUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior") || is_null($this->_propDict["configDataUpdateBehavior"])) { + return $this->_propDict["configDataUpdateBehavior"]; + } else { + $this->_propDict["configDataUpdateBehavior"] = new MacOSSoftwareUpdateBehavior($this->_propDict["configDataUpdateBehavior"]); + return $this->_propDict["configDataUpdateBehavior"]; + } + } + return null; + } + + /** + * Sets the configDataUpdateBehavior + * Update behavior for configuration data file updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @param MacOSSoftwareUpdateBehavior $val The configDataUpdateBehavior + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setConfigDataUpdateBehavior($val) + { + $this->_propDict["configDataUpdateBehavior"] = $val; + return $this; + } + + /** + * Gets the criticalUpdateBehavior + * Update behavior for critical updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @return MacOSSoftwareUpdateBehavior|null The criticalUpdateBehavior + */ + public function getCriticalUpdateBehavior() + { + if (array_key_exists("criticalUpdateBehavior", $this->_propDict)) { + if (is_a($this->_propDict["criticalUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior") || is_null($this->_propDict["criticalUpdateBehavior"])) { + return $this->_propDict["criticalUpdateBehavior"]; + } else { + $this->_propDict["criticalUpdateBehavior"] = new MacOSSoftwareUpdateBehavior($this->_propDict["criticalUpdateBehavior"]); + return $this->_propDict["criticalUpdateBehavior"]; + } + } + return null; + } + + /** + * Sets the criticalUpdateBehavior + * Update behavior for critical updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @param MacOSSoftwareUpdateBehavior $val The criticalUpdateBehavior + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setCriticalUpdateBehavior($val) + { + $this->_propDict["criticalUpdateBehavior"] = $val; + return $this; + } + + + /** + * Gets the customUpdateTimeWindows + * Custom Time windows when updates will be allowed or blocked. This collection can contain a maximum of 20 elements. + * + * @return array|null The customUpdateTimeWindows + */ + public function getCustomUpdateTimeWindows() + { + if (array_key_exists("customUpdateTimeWindows", $this->_propDict)) { + return $this->_propDict["customUpdateTimeWindows"]; + } else { + return null; + } + } + + /** + * Sets the customUpdateTimeWindows + * Custom Time windows when updates will be allowed or blocked. This collection can contain a maximum of 20 elements. + * + * @param CustomUpdateTimeWindow[] $val The customUpdateTimeWindows + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setCustomUpdateTimeWindows($val) + { + $this->_propDict["customUpdateTimeWindows"] = $val; + return $this; + } + + /** + * Gets the firmwareUpdateBehavior + * Update behavior for firmware updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @return MacOSSoftwareUpdateBehavior|null The firmwareUpdateBehavior + */ + public function getFirmwareUpdateBehavior() + { + if (array_key_exists("firmwareUpdateBehavior", $this->_propDict)) { + if (is_a($this->_propDict["firmwareUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior") || is_null($this->_propDict["firmwareUpdateBehavior"])) { + return $this->_propDict["firmwareUpdateBehavior"]; + } else { + $this->_propDict["firmwareUpdateBehavior"] = new MacOSSoftwareUpdateBehavior($this->_propDict["firmwareUpdateBehavior"]); + return $this->_propDict["firmwareUpdateBehavior"]; + } + } + return null; + } + + /** + * Sets the firmwareUpdateBehavior + * Update behavior for firmware updates. Possible values are: notConfigured, default, downloadOnly, installASAP, notifyOnly, installLater. + * + * @param MacOSSoftwareUpdateBehavior $val The firmwareUpdateBehavior + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setFirmwareUpdateBehavior($val) + { + $this->_propDict["firmwareUpdateBehavior"] = $val; + return $this; + } + + /** + * Gets the updateScheduleType + * Update schedule type. Possible values are: alwaysUpdate, updateDuringTimeWindows, updateOutsideOfTimeWindows. + * + * @return MacOSSoftwareUpdateScheduleType|null The updateScheduleType + */ + public function getUpdateScheduleType() + { + if (array_key_exists("updateScheduleType", $this->_propDict)) { + if (is_a($this->_propDict["updateScheduleType"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateScheduleType") || is_null($this->_propDict["updateScheduleType"])) { + return $this->_propDict["updateScheduleType"]; + } else { + $this->_propDict["updateScheduleType"] = new MacOSSoftwareUpdateScheduleType($this->_propDict["updateScheduleType"]); + return $this->_propDict["updateScheduleType"]; + } + } + return null; + } + + /** + * Sets the updateScheduleType + * Update schedule type. Possible values are: alwaysUpdate, updateDuringTimeWindows, updateOutsideOfTimeWindows. + * + * @param MacOSSoftwareUpdateScheduleType $val The updateScheduleType + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setUpdateScheduleType($val) + { + $this->_propDict["updateScheduleType"] = $val; + return $this; + } + + /** + * Gets the updateTimeWindowUtcOffsetInMinutes + * Minutes indicating UTC offset for each update time window + * + * @return int|null The updateTimeWindowUtcOffsetInMinutes + */ + public function getUpdateTimeWindowUtcOffsetInMinutes() + { + if (array_key_exists("updateTimeWindowUtcOffsetInMinutes", $this->_propDict)) { + return $this->_propDict["updateTimeWindowUtcOffsetInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the updateTimeWindowUtcOffsetInMinutes + * Minutes indicating UTC offset for each update time window + * + * @param int $val The updateTimeWindowUtcOffsetInMinutes + * + * @return MacOSSoftwareUpdateConfiguration + */ + public function setUpdateTimeWindowUtcOffsetInMinutes($val) + { + $this->_propDict["updateTimeWindowUtcOffsetInMinutes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateDelayPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateDelayPolicy.php new file mode 100644 index 0000000..216902b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateDelayPolicy.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Human readable name of the software update + * + * @param string $val The displayName + * + * @return MacOSSoftwareUpdateStateSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Last date time the report for this device and product key was updated. + * + * @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 + * Last date time the report for this device and product key was updated. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return MacOSSoftwareUpdateStateSummary + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the productKey + * Product key of the software update. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Product key of the software update. + * + * @param string $val The productKey + * + * @return MacOSSoftwareUpdateStateSummary + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the state + * State of the software update. Possible values are: success, downloading, downloaded, installing, idle, available, scheduled, downloadFailed, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installInsufficientSpace, installInsufficientPower, installFailed, commandFailed. + * + * @return MacOSSoftwareUpdateState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new MacOSSoftwareUpdateState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * State of the software update. Possible values are: success, downloading, downloaded, installing, idle, available, scheduled, downloadFailed, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installInsufficientSpace, installInsufficientPower, installFailed, commandFailed. + * + * @param MacOSSoftwareUpdateState $val The state + * + * @return MacOSSoftwareUpdateStateSummary + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the updateCategory + * Software update category. Possible values are: critical, configurationDataFile, firmware, other. + * + * @return MacOSSoftwareUpdateCategory|null The updateCategory + */ + public function getUpdateCategory() + { + if (array_key_exists("updateCategory", $this->_propDict)) { + if (is_a($this->_propDict["updateCategory"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateCategory") || is_null($this->_propDict["updateCategory"])) { + return $this->_propDict["updateCategory"]; + } else { + $this->_propDict["updateCategory"] = new MacOSSoftwareUpdateCategory($this->_propDict["updateCategory"]); + return $this->_propDict["updateCategory"]; + } + } + return null; + } + + /** + * Sets the updateCategory + * Software update category. Possible values are: critical, configurationDataFile, firmware, other. + * + * @param MacOSSoftwareUpdateCategory $val The updateCategory + * + * @return MacOSSoftwareUpdateStateSummary + */ + public function setUpdateCategory($val) + { + $this->_propDict["updateCategory"] = $val; + return $this; + } + + /** + * Gets the updateVersion + * Version of the software update + * + * @return string|null The updateVersion + */ + public function getUpdateVersion() + { + if (array_key_exists("updateVersion", $this->_propDict)) { + return $this->_propDict["updateVersion"]; + } else { + return null; + } + } + + /** + * Sets the updateVersion + * Version of the software update + * + * @param string $val The updateVersion + * + * @return MacOSSoftwareUpdateStateSummary + */ + public function setUpdateVersion($val) + { + $this->_propDict["updateVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtension.php new file mode 100644 index 0000000..96fc088 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtension.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * Gets or sets the bundle identifier of the system extension. + * + * @param string $val The value of the bundleId + * + * @return MacOSSystemExtension + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team identifier that was used to sign the system extension. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team identifier that was used to sign the system extension. + * + * @param string $val The value of the teamIdentifier + * + * @return MacOSSystemExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtensionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtensionType.php new file mode 100644 index 0000000..d6410ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtensionType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["allowedTypes"], "\Beta\Microsoft\Graph\Model\MacOSSystemExtensionType") || is_null($this->_propDict["allowedTypes"])) { + return $this->_propDict["allowedTypes"]; + } else { + $this->_propDict["allowedTypes"] = new MacOSSystemExtensionType($this->_propDict["allowedTypes"]); + return $this->_propDict["allowedTypes"]; + } + } + return null; + } + + /** + * Sets the allowedTypes + * Gets or sets the allowed macOS system extension types. Possible values are: driverExtensionsAllowed, networkExtensionsAllowed, endpointSecurityExtensionsAllowed. + * + * @param MacOSSystemExtensionType $val The value to assign to the allowedTypes + * + * @return MacOSSystemExtensionTypeMapping The MacOSSystemExtensionTypeMapping + */ + public function setAllowedTypes($val) + { + $this->_propDict["allowedTypes"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team identifier used to sign the system extension. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team identifier used to sign the system extension. + * + * @param string $val The value of the teamIdentifier + * + * @return MacOSSystemExtensionTypeMapping + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSTrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSTrustedRootCertificate.php new file mode 100644 index 0000000..73b6696 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSTrustedRootCertificate.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return MacOSTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate. + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate. + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return MacOSTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSVpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSVpnConfiguration.php new file mode 100644 index 0000000..c80f52f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSVpnConfiguration.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new MacOSCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param MacOSCertificateProfileBase $val The identityCertificate + * + * @return MacOSVpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiFiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiFiConfiguration.php new file mode 100644 index 0000000..a0775a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiFiConfiguration.php @@ -0,0 +1,325 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Connect automatically when this network is in range. Setting this to true will skip the user prompt and automatically connect the device to Wi-Fi network. + * + * @param bool $val The connectAutomatically + * + * @return MacOSWiFiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * Connect when the network is not broadcasting its name (SSID). When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * Connect when the network is not broadcasting its name (SSID). When set to true, this profile forces the device to connect to a network that doesn't broadcast its SSID to all devices. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return MacOSWiFiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return MacOSWiFiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return string|null The preSharedKey + */ + public function getPreSharedKey() + { + if (array_key_exists("preSharedKey", $this->_propDict)) { + return $this->_propDict["preSharedKey"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param string $val The preSharedKey + * + * @return MacOSWiFiConfiguration + */ + public function setPreSharedKey($val) + { + $this->_propDict["preSharedKey"] = $val; + return $this; + } + + /** + * Gets the proxyAutomaticConfigurationUrl + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * + * @return string|null The proxyAutomaticConfigurationUrl + */ + public function getProxyAutomaticConfigurationUrl() + { + if (array_key_exists("proxyAutomaticConfigurationUrl", $this->_propDict)) { + return $this->_propDict["proxyAutomaticConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the proxyAutomaticConfigurationUrl + * URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file. + * + * @param string $val The proxyAutomaticConfigurationUrl + * + * @return MacOSWiFiConfiguration + */ + public function setProxyAutomaticConfigurationUrl($val) + { + $this->_propDict["proxyAutomaticConfigurationUrl"] = $val; + return $this; + } + + /** + * Gets the proxyManualAddress + * IP Address or DNS hostname of the proxy server when manual configuration is selected. + * + * @return string|null The proxyManualAddress + */ + public function getProxyManualAddress() + { + if (array_key_exists("proxyManualAddress", $this->_propDict)) { + return $this->_propDict["proxyManualAddress"]; + } else { + return null; + } + } + + /** + * Sets the proxyManualAddress + * IP Address or DNS hostname of the proxy server when manual configuration is selected. + * + * @param string $val The proxyManualAddress + * + * @return MacOSWiFiConfiguration + */ + public function setProxyManualAddress($val) + { + $this->_propDict["proxyManualAddress"] = $val; + return $this; + } + + /** + * Gets the proxyManualPort + * Port of the proxy server when manual configuration is selected. + * + * @return int|null The proxyManualPort + */ + public function getProxyManualPort() + { + if (array_key_exists("proxyManualPort", $this->_propDict)) { + return $this->_propDict["proxyManualPort"]; + } else { + return null; + } + } + + /** + * Sets the proxyManualPort + * Port of the proxy server when manual configuration is selected. + * + * @param int $val The proxyManualPort + * + * @return MacOSWiFiConfiguration + */ + public function setProxyManualPort($val) + { + $this->_propDict["proxyManualPort"] = intval($val); + return $this; + } + + /** + * Gets the proxySettings + * Proxy Type for this Wi-Fi connection. Possible values are: none, manual, automatic. + * + * @return WiFiProxySetting|null The proxySettings + */ + public function getProxySettings() + { + if (array_key_exists("proxySettings", $this->_propDict)) { + if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting") || is_null($this->_propDict["proxySettings"])) { + return $this->_propDict["proxySettings"]; + } else { + $this->_propDict["proxySettings"] = new WiFiProxySetting($this->_propDict["proxySettings"]); + return $this->_propDict["proxySettings"]; + } + } + return null; + } + + /** + * Sets the proxySettings + * Proxy Type for this Wi-Fi connection. Possible values are: none, manual, automatic. + * + * @param WiFiProxySetting $val The proxySettings + * + * @return MacOSWiFiConfiguration + */ + public function setProxySettings($val) + { + $this->_propDict["proxySettings"] = $val; + return $this; + } + + /** + * Gets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * This is the name of the Wi-Fi network that is broadcast to all devices. + * + * @param string $val The ssid + * + * @return MacOSWiFiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + * + * @return WiFiSecurityType|null The wiFiSecurityType + */ + public function getWiFiSecurityType() + { + if (array_key_exists("wiFiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\WiFiSecurityType") || is_null($this->_propDict["wiFiSecurityType"])) { + return $this->_propDict["wiFiSecurityType"]; + } else { + $this->_propDict["wiFiSecurityType"] = new WiFiSecurityType($this->_propDict["wiFiSecurityType"]); + return $this->_propDict["wiFiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wiFiSecurityType + * Indicates whether Wi-Fi endpoint uses an EAP based security type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + * + * @param WiFiSecurityType $val The wiFiSecurityType + * + * @return MacOSWiFiConfiguration + */ + public function setWiFiSecurityType($val) + { + $this->_propDict["wiFiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiredNetworkConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiredNetworkConfiguration.php new file mode 100644 index 0000000..7ce3b8c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiredNetworkConfiguration.php @@ -0,0 +1,345 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication Method when EAP Type is configured to PEAP or EAP-TTLS. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return MacOSWiredNetworkConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the eapFastConfiguration + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. Possible values are: noProtectedAccessCredential, useProtectedAccessCredential, useProtectedAccessCredentialAndProvision, useProtectedAccessCredentialAndProvisionAnonymously. + * + * @return EapFastConfiguration|null The eapFastConfiguration + */ + public function getEapFastConfiguration() + { + if (array_key_exists("eapFastConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["eapFastConfiguration"], "\Beta\Microsoft\Graph\Model\EapFastConfiguration") || is_null($this->_propDict["eapFastConfiguration"])) { + return $this->_propDict["eapFastConfiguration"]; + } else { + $this->_propDict["eapFastConfiguration"] = new EapFastConfiguration($this->_propDict["eapFastConfiguration"]); + return $this->_propDict["eapFastConfiguration"]; + } + } + return null; + } + + /** + * Sets the eapFastConfiguration + * EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type. Possible values are: noProtectedAccessCredential, useProtectedAccessCredential, useProtectedAccessCredentialAndProvision, useProtectedAccessCredentialAndProvisionAnonymously. + * + * @param EapFastConfiguration $val The eapFastConfiguration + * + * @return MacOSWiredNetworkConfiguration + */ + public function setEapFastConfiguration($val) + { + $this->_propDict["eapFastConfiguration"] = $val; + return $this; + } + + /** + * Gets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the wired network. Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @return EapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\EapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new EapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the wired network. Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @param EapType $val The eapType + * + * @return MacOSWiredNetworkConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the enableOuterIdentityPrivacy + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS, EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this wired network using their real username is displayed as 'anonymous'. + * + * @return string|null The enableOuterIdentityPrivacy + */ + public function getEnableOuterIdentityPrivacy() + { + if (array_key_exists("enableOuterIdentityPrivacy", $this->_propDict)) { + return $this->_propDict["enableOuterIdentityPrivacy"]; + } else { + return null; + } + } + + /** + * Sets the enableOuterIdentityPrivacy + * Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS, EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this wired network using their real username is displayed as 'anonymous'. + * + * @param string $val The enableOuterIdentityPrivacy + * + * @return MacOSWiredNetworkConfiguration + */ + public function setEnableOuterIdentityPrivacy($val) + { + $this->_propDict["enableOuterIdentityPrivacy"] = $val; + return $this; + } + + /** + * Gets the networkInterface + * Network interface. Possible values are: anyEthernet, firstActiveEthernet, secondActiveEthernet, thirdActiveEthernet, firstEthernet, secondEthernet, thirdEthernet. + * + * @return WiredNetworkInterface|null The networkInterface + */ + public function getNetworkInterface() + { + if (array_key_exists("networkInterface", $this->_propDict)) { + if (is_a($this->_propDict["networkInterface"], "\Beta\Microsoft\Graph\Model\WiredNetworkInterface") || is_null($this->_propDict["networkInterface"])) { + return $this->_propDict["networkInterface"]; + } else { + $this->_propDict["networkInterface"] = new WiredNetworkInterface($this->_propDict["networkInterface"]); + return $this->_propDict["networkInterface"]; + } + } + return null; + } + + /** + * Sets the networkInterface + * Network interface. Possible values are: anyEthernet, firstActiveEthernet, secondActiveEthernet, thirdActiveEthernet, firstEthernet, secondEthernet, thirdEthernet. + * + * @param WiredNetworkInterface $val The networkInterface + * + * @return MacOSWiredNetworkConfiguration + */ + public function setNetworkInterface($val) + { + $this->_propDict["networkInterface"] = $val; + return $this; + } + + /** + * Gets the networkName + * Network Name + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Network Name + * + * @param string $val The networkName + * + * @return MacOSWiredNetworkConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the nonEapAuthenticationMethodForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The nonEapAuthenticationMethodForEapTtls + */ + public function getNonEapAuthenticationMethodForEapTtls() + { + if (array_key_exists("nonEapAuthenticationMethodForEapTtls", $this->_propDict)) { + if (is_a($this->_propDict["nonEapAuthenticationMethodForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["nonEapAuthenticationMethodForEapTtls"])) { + return $this->_propDict["nonEapAuthenticationMethodForEapTtls"]; + } else { + $this->_propDict["nonEapAuthenticationMethodForEapTtls"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["nonEapAuthenticationMethodForEapTtls"]); + return $this->_propDict["nonEapAuthenticationMethodForEapTtls"]; + } + } + return null; + } + + /** + * Sets the nonEapAuthenticationMethodForEapTtls + * Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The nonEapAuthenticationMethodForEapTtls + * + * @return MacOSWiredNetworkConfiguration + */ + public function setNonEapAuthenticationMethodForEapTtls($val) + { + $this->_propDict["nonEapAuthenticationMethodForEapTtls"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this wired network. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users devices when they connect to this wired network. + * + * @param string $val The trustedServerCertificateNames + * + * @return MacOSWiredNetworkConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * + * @return MacOSCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new MacOSCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). + * + * @param MacOSCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return MacOSWiredNetworkConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. + * + * @return MacOSTrustedRootCertificate|null The rootCertificateForServerValidation + */ + public function getRootCertificateForServerValidation() + { + if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\MacOSTrustedRootCertificate") || is_null($this->_propDict["rootCertificateForServerValidation"])) { + return $this->_propDict["rootCertificateForServerValidation"]; + } else { + $this->_propDict["rootCertificateForServerValidation"] = new MacOSTrustedRootCertificate($this->_propDict["rootCertificateForServerValidation"]); + return $this->_propDict["rootCertificateForServerValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForServerValidation + * Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. + * + * @param MacOSTrustedRootCertificate $val The rootCertificateForServerValidation + * + * @return MacOSWiredNetworkConfiguration + */ + public function setRootCertificateForServerValidation($val) + { + $this->_propDict["rootCertificateForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php new file mode 100644 index 0000000..a8b5c62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.macOsLobAppAssignmentSettings"); + } + + /** + * Gets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @return bool|null The uninstallOnDeviceRemoval + */ + public function getUninstallOnDeviceRemoval() + { + if (array_key_exists("uninstallOnDeviceRemoval", $this->_propDict)) { + return $this->_propDict["uninstallOnDeviceRemoval"]; + } else { + return null; + } + } + + /** + * Sets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @param bool $val The value of the uninstallOnDeviceRemoval + * + * @return MacOsLobAppAssignmentSettings + */ + public function setUninstallOnDeviceRemoval($val) + { + $this->_propDict["uninstallOnDeviceRemoval"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppApp.php new file mode 100644 index 0000000..aabc9f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppApp.php @@ -0,0 +1,389 @@ +_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The store URL. + * + * @param string $val The appStoreUrl + * + * @return MacOsVppApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return MacOsVppApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the licensingType + * The supported License Type. + * + * @return VppLicensingType|null The licensingType + */ + public function getLicensingType() + { + if (array_key_exists("licensingType", $this->_propDict)) { + if (is_a($this->_propDict["licensingType"], "\Beta\Microsoft\Graph\Model\VppLicensingType") || is_null($this->_propDict["licensingType"])) { + return $this->_propDict["licensingType"]; + } else { + $this->_propDict["licensingType"] = new VppLicensingType($this->_propDict["licensingType"]); + return $this->_propDict["licensingType"]; + } + } + return null; + } + + /** + * Sets the licensingType + * The supported License Type. + * + * @param VppLicensingType $val The licensingType + * + * @return MacOsVppApp + */ + public function setLicensingType($val) + { + $this->_propDict["licensingType"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * The VPP application release date and time. + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * The VPP application release date and time. + * + * @param \DateTime $val The releaseDateTime + * + * @return MacOsVppApp + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + + + /** + * Gets the revokeLicenseActionResults + * Results of revoke license actions on this app. + * + * @return array|null The revokeLicenseActionResults + */ + public function getRevokeLicenseActionResults() + { + if (array_key_exists("revokeLicenseActionResults", $this->_propDict)) { + return $this->_propDict["revokeLicenseActionResults"]; + } else { + return null; + } + } + + /** + * Sets the revokeLicenseActionResults + * Results of revoke license actions on this app. + * + * @param MacOsVppAppRevokeLicensesActionResult[] $val The revokeLicenseActionResults + * + * @return MacOsVppApp + */ + public function setRevokeLicenseActionResults($val) + { + $this->_propDict["revokeLicenseActionResults"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of VPP licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of VPP licenses. + * + * @param int $val The totalLicenseCount + * + * @return MacOsVppApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of VPP licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of VPP licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return MacOsVppApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @return VppTokenAccountType|null The vppTokenAccountType + */ + public function getVppTokenAccountType() + { + if (array_key_exists("vppTokenAccountType", $this->_propDict)) { + if (is_a($this->_propDict["vppTokenAccountType"], "\Beta\Microsoft\Graph\Model\VppTokenAccountType") || is_null($this->_propDict["vppTokenAccountType"])) { + return $this->_propDict["vppTokenAccountType"]; + } else { + $this->_propDict["vppTokenAccountType"] = new VppTokenAccountType($this->_propDict["vppTokenAccountType"]); + return $this->_propDict["vppTokenAccountType"]; + } + } + return null; + } + + /** + * Sets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @param VppTokenAccountType $val The vppTokenAccountType + * + * @return MacOsVppApp + */ + public function setVppTokenAccountType($val) + { + $this->_propDict["vppTokenAccountType"] = $val; + return $this; + } + + /** + * Gets the vppTokenAppleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @return string|null The vppTokenAppleId + */ + public function getVppTokenAppleId() + { + if (array_key_exists("vppTokenAppleId", $this->_propDict)) { + return $this->_propDict["vppTokenAppleId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenAppleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @param string $val The vppTokenAppleId + * + * @return MacOsVppApp + */ + public function setVppTokenAppleId($val) + { + $this->_propDict["vppTokenAppleId"] = $val; + return $this; + } + + /** + * Gets the vppTokenId + * Identifier of the VPP token associated with this app. + * + * @return string|null The vppTokenId + */ + public function getVppTokenId() + { + if (array_key_exists("vppTokenId", $this->_propDict)) { + return $this->_propDict["vppTokenId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenId + * Identifier of the VPP token associated with this app. + * + * @param string $val The vppTokenId + * + * @return MacOsVppApp + */ + public function setVppTokenId($val) + { + $this->_propDict["vppTokenId"] = $val; + return $this; + } + + /** + * Gets the vppTokenOrganizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @return string|null The vppTokenOrganizationName + */ + public function getVppTokenOrganizationName() + { + if (array_key_exists("vppTokenOrganizationName", $this->_propDict)) { + return $this->_propDict["vppTokenOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenOrganizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @param string $val The vppTokenOrganizationName + * + * @return MacOsVppApp + */ + public function setVppTokenOrganizationName($val) + { + $this->_propDict["vppTokenOrganizationName"] = $val; + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses assigned to this app. + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses assigned to this app. + * + * @param MacOsVppAppAssignedLicense[] $val The assignedLicenses + * + * @return MacOsVppApp + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignedLicense.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignedLicense.php new file mode 100644 index 0000000..a06845c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignedLicense.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["userEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the userEmailAddress + * The user email address. + * + * @param string $val The userEmailAddress + * + * @return MacOsVppAppAssignedLicense + */ + public function setUserEmailAddress($val) + { + $this->_propDict["userEmailAddress"] = $val; + return $this; + } + + /** + * Gets the userId + * The user ID. + * + * @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 + * The user ID. + * + * @param string $val The userId + * + * @return MacOsVppAppAssignedLicense + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The user name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The user name. + * + * @param string $val The userName + * + * @return MacOsVppAppAssignedLicense + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name. + * + * @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 + * The user principal name. + * + * @param string $val The userPrincipalName + * + * @return MacOsVppAppAssignedLicense + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignmentSettings.php new file mode 100644 index 0000000..cf7eb5e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignmentSettings.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.macOsVppAppAssignmentSettings"); + } + + /** + * Gets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @return bool|null The uninstallOnDeviceRemoval + */ + public function getUninstallOnDeviceRemoval() + { + if (array_key_exists("uninstallOnDeviceRemoval", $this->_propDict)) { + return $this->_propDict["uninstallOnDeviceRemoval"]; + } else { + return null; + } + } + + /** + * Sets the uninstallOnDeviceRemoval + * Whether or not to uninstall the app when device is removed from Intune. + * + * @param bool $val The value of the uninstallOnDeviceRemoval + * + * @return MacOsVppAppAssignmentSettings + */ + public function setUninstallOnDeviceRemoval($val) + { + $this->_propDict["uninstallOnDeviceRemoval"] = $val; + return $this; + } + /** + * Gets the useDeviceLicensing + * Whether or not to use device licensing. + * + * @return bool|null The useDeviceLicensing + */ + public function getUseDeviceLicensing() + { + if (array_key_exists("useDeviceLicensing", $this->_propDict)) { + return $this->_propDict["useDeviceLicensing"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceLicensing + * Whether or not to use device licensing. + * + * @param bool $val The value of the useDeviceLicensing + * + * @return MacOsVppAppAssignmentSettings + */ + public function setUseDeviceLicensing($val) + { + $this->_propDict["useDeviceLicensing"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppRevokeLicensesActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppRevokeLicensesActionResult.php new file mode 100644 index 0000000..7655cc8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppRevokeLicensesActionResult.php @@ -0,0 +1,298 @@ +_propDict)) { + if (is_a($this->_propDict["actionFailureReason"], "\Beta\Microsoft\Graph\Model\VppTokenActionFailureReason") || is_null($this->_propDict["actionFailureReason"])) { + return $this->_propDict["actionFailureReason"]; + } else { + $this->_propDict["actionFailureReason"] = new VppTokenActionFailureReason($this->_propDict["actionFailureReason"]); + return $this->_propDict["actionFailureReason"]; + } + } + return null; + } + + /** + * Sets the actionFailureReason + * The reason for the revoke licenses action failure. Possible values are: none, appleFailure, internalError, expiredVppToken, expiredApplePushNotificationCertificate. + * + * @param VppTokenActionFailureReason $val The value to assign to the actionFailureReason + * + * @return MacOsVppAppRevokeLicensesActionResult The MacOsVppAppRevokeLicensesActionResult + */ + public function setActionFailureReason($val) + { + $this->_propDict["actionFailureReason"] = $val; + return $this; + } + /** + * Gets the actionName + * Action name + * + * @return string|null The actionName + */ + public function getActionName() + { + if (array_key_exists("actionName", $this->_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Action name + * + * @param string $val The value of the actionName + * + * @return MacOsVppAppRevokeLicensesActionResult + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The value to assign to the actionState + * + * @return MacOsVppAppRevokeLicensesActionResult The MacOsVppAppRevokeLicensesActionResult + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + /** + * Gets the failedLicensesCount + * A count of the number of licenses for which revoke failed. + * + * @return int|null The failedLicensesCount + */ + public function getFailedLicensesCount() + { + if (array_key_exists("failedLicensesCount", $this->_propDict)) { + return $this->_propDict["failedLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the failedLicensesCount + * A count of the number of licenses for which revoke failed. + * + * @param int $val The value of the failedLicensesCount + * + * @return MacOsVppAppRevokeLicensesActionResult + */ + public function setFailedLicensesCount($val) + { + $this->_propDict["failedLicensesCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Time the action state was last updated + * + * @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 + * Time the action state was last updated + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return MacOsVppAppRevokeLicensesActionResult The MacOsVppAppRevokeLicensesActionResult + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + /** + * Gets the managedDeviceId + * DeviceId associated with the action. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * DeviceId associated with the action. + * + * @param string $val The value of the managedDeviceId + * + * @return MacOsVppAppRevokeLicensesActionResult + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time the action was initiated + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time the action was initiated + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return MacOsVppAppRevokeLicensesActionResult The MacOsVppAppRevokeLicensesActionResult + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the totalLicensesCount + * A count of the number of licenses for which revoke was attempted. + * + * @return int|null The totalLicensesCount + */ + public function getTotalLicensesCount() + { + if (array_key_exists("totalLicensesCount", $this->_propDict)) { + return $this->_propDict["totalLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicensesCount + * A count of the number of licenses for which revoke was attempted. + * + * @param int $val The value of the totalLicensesCount + * + * @return MacOsVppAppRevokeLicensesActionResult + */ + public function setTotalLicensesCount($val) + { + $this->_propDict["totalLicensesCount"] = $val; + return $this; + } + /** + * Gets the userId + * UserId associated with the action. + * + * @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 + * UserId associated with the action. + * + * @param string $val The value of the userId + * + * @return MacOsVppAppRevokeLicensesActionResult + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MachineLearningDetectedSensitiveContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MachineLearningDetectedSensitiveContent.php new file mode 100644 index 0000000..f8c6339 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MachineLearningDetectedSensitiveContent.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["matchTolerance"], "\Beta\Microsoft\Graph\Model\MlClassificationMatchTolerance") || is_null($this->_propDict["matchTolerance"])) { + return $this->_propDict["matchTolerance"]; + } else { + $this->_propDict["matchTolerance"] = new MlClassificationMatchTolerance($this->_propDict["matchTolerance"]); + return $this->_propDict["matchTolerance"]; + } + } + return null; + } + + /** + * Sets the matchTolerance + * + * @param MlClassificationMatchTolerance $val The value to assign to the matchTolerance + * + * @return MachineLearningDetectedSensitiveContent The MachineLearningDetectedSensitiveContent + */ + public function setMatchTolerance($val) + { + $this->_propDict["matchTolerance"] = $val; + return $this; + } + /** + * Gets the modelVersion + * + * @return string|null The modelVersion + */ + public function getModelVersion() + { + if (array_key_exists("modelVersion", $this->_propDict)) { + return $this->_propDict["modelVersion"]; + } else { + return null; + } + } + + /** + * Sets the modelVersion + * + * @param string $val The value of the modelVersion + * + * @return MachineLearningDetectedSensitiveContent + */ + public function setModelVersion($val) + { + $this->_propDict["modelVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailAssessmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailAssessmentRequest.php new file mode 100644 index 0000000..162e41c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailAssessmentRequest.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["destinationRoutingReason"], "\Beta\Microsoft\Graph\Model\MailDestinationRoutingReason") || is_null($this->_propDict["destinationRoutingReason"])) { + return $this->_propDict["destinationRoutingReason"]; + } else { + $this->_propDict["destinationRoutingReason"] = new MailDestinationRoutingReason($this->_propDict["destinationRoutingReason"]); + return $this->_propDict["destinationRoutingReason"]; + } + } + return null; + } + + /** + * Sets the destinationRoutingReason + * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. + * + * @param MailDestinationRoutingReason $val The destinationRoutingReason + * + * @return MailAssessmentRequest + */ + public function setDestinationRoutingReason($val) + { + $this->_propDict["destinationRoutingReason"] = $val; + return $this; + } + + /** + * Gets the messageUri + * The resource URI of the mail message for assessment. + * + * @return string|null The messageUri + */ + public function getMessageUri() + { + if (array_key_exists("messageUri", $this->_propDict)) { + return $this->_propDict["messageUri"]; + } else { + return null; + } + } + + /** + * Sets the messageUri + * The resource URI of the mail message for assessment. + * + * @param string $val The messageUri + * + * @return MailAssessmentRequest + */ + public function setMessageUri($val) + { + $this->_propDict["messageUri"] = $val; + return $this; + } + + /** + * Gets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @return string|null The recipientEmail + */ + public function getRecipientEmail() + { + if (array_key_exists("recipientEmail", $this->_propDict)) { + return $this->_propDict["recipientEmail"]; + } else { + return null; + } + } + + /** + * Sets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @param string $val The recipientEmail + * + * @return MailAssessmentRequest + */ + public function setRecipientEmail($val) + { + $this->_propDict["recipientEmail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailDestinationRoutingReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailDestinationRoutingReason.php new file mode 100644 index 0000000..e7c58df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailDestinationRoutingReason.php @@ -0,0 +1,48 @@ +_propDict)) { + return $this->_propDict["childFolderCount"]; + } else { + return null; + } + } + + /** + * Sets the childFolderCount + * The number of immediate child mailFolders in the current mailFolder. + * + * @param int $val The childFolderCount + * + * @return MailFolder + */ + public function setChildFolderCount($val) + { + $this->_propDict["childFolderCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The mailFolder's display name. + * + * @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 + * The mailFolder's display name. + * + * @param string $val The displayName + * + * @return MailFolder + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isHidden + * Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders. + * + * @return bool|null The isHidden + */ + public function getIsHidden() + { + if (array_key_exists("isHidden", $this->_propDict)) { + return $this->_propDict["isHidden"]; + } else { + return null; + } + } + + /** + * Sets the isHidden + * Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders. + * + * @param bool $val The isHidden + * + * @return MailFolder + */ + public function setIsHidden($val) + { + $this->_propDict["isHidden"] = boolval($val); + return $this; + } + + /** + * Gets the parentFolderId + * The unique identifier for the mailFolder's parent mailFolder. + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * The unique identifier for the mailFolder's parent mailFolder. + * + * @param string $val The parentFolderId + * + * @return MailFolder + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the totalItemCount + * The number of items in the mailFolder. + * + * @return int|null The totalItemCount + */ + public function getTotalItemCount() + { + if (array_key_exists("totalItemCount", $this->_propDict)) { + return $this->_propDict["totalItemCount"]; + } else { + return null; + } + } + + /** + * Sets the totalItemCount + * The number of items in the mailFolder. + * + * @param int $val The totalItemCount + * + * @return MailFolder + */ + public function setTotalItemCount($val) + { + $this->_propDict["totalItemCount"] = intval($val); + return $this; + } + + /** + * Gets the unreadItemCount + * The number of items in the mailFolder marked as unread. + * + * @return int|null The unreadItemCount + */ + public function getUnreadItemCount() + { + if (array_key_exists("unreadItemCount", $this->_propDict)) { + return $this->_propDict["unreadItemCount"]; + } else { + return null; + } + } + + /** + * Sets the unreadItemCount + * The number of items in the mailFolder marked as unread. + * + * @param int $val The unreadItemCount + * + * @return MailFolder + */ + public function setUnreadItemCount($val) + { + $this->_propDict["unreadItemCount"] = intval($val); + return $this; + } + + /** + * Gets the wellKnownName + * The well-known folder name for the folder. The possible values are listed above. This property is only set for default folders created by Outlook. For other folders, this property is null. + * + * @return string|null The wellKnownName + */ + public function getWellKnownName() + { + if (array_key_exists("wellKnownName", $this->_propDict)) { + return $this->_propDict["wellKnownName"]; + } else { + return null; + } + } + + /** + * Sets the wellKnownName + * The well-known folder name for the folder. The possible values are listed above. This property is only set for default folders created by Outlook. For other folders, this property is null. + * + * @param string $val The wellKnownName + * + * @return MailFolder + */ + public function setWellKnownName($val) + { + $this->_propDict["wellKnownName"] = $val; + return $this; + } + + + /** + * Gets the childFolders + * The collection of child folders in the mailFolder. + * + * @return array|null The childFolders + */ + public function getChildFolders() + { + if (array_key_exists("childFolders", $this->_propDict)) { + return $this->_propDict["childFolders"]; + } else { + return null; + } + } + + /** + * Sets the childFolders + * The collection of child folders in the mailFolder. + * + * @param MailFolder[] $val The childFolders + * + * @return MailFolder + */ + public function setChildFolders($val) + { + $this->_propDict["childFolders"] = $val; + return $this; + } + + + /** + * Gets the messageRules + * The collection of rules that apply to the user's Inbox folder. + * + * @return array|null The messageRules + */ + public function getMessageRules() + { + if (array_key_exists("messageRules", $this->_propDict)) { + return $this->_propDict["messageRules"]; + } else { + return null; + } + } + + /** + * Sets the messageRules + * The collection of rules that apply to the user's Inbox folder. + * + * @param MessageRule[] $val The messageRules + * + * @return MailFolder + */ + public function setMessageRules($val) + { + $this->_propDict["messageRules"] = $val; + return $this; + } + + + /** + * Gets the messages + * The collection of messages in the mailFolder. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * The collection of messages in the mailFolder. + * + * @param Message[] $val The messages + * + * @return MailFolder + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return MailFolder + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return MailFolder + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the userConfigurations + * + * @return array|null The userConfigurations + */ + public function getUserConfigurations() + { + if (array_key_exists("userConfigurations", $this->_propDict)) { + return $this->_propDict["userConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the userConfigurations + * + * @param UserConfiguration[] $val The userConfigurations + * + * @return MailFolder + */ + public function setUserConfigurations($val) + { + $this->_propDict["userConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailSearchFolder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailSearchFolder.php new file mode 100644 index 0000000..f47be8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailSearchFolder.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["filterQuery"]; + } else { + return null; + } + } + + /** + * Sets the filterQuery + * The OData query to filter the messages. + * + * @param string $val The filterQuery + * + * @return MailSearchFolder + */ + public function setFilterQuery($val) + { + $this->_propDict["filterQuery"] = $val; + return $this; + } + + /** + * Gets the includeNestedFolders + * Indicates how the mailbox folder hierarchy should be traversed in the search. true means that a deep search should be done to include child folders in the hierarchy of each folder explicitly specified in sourceFolderIds. false means a shallow search of only each of the folders explicitly specified in sourceFolderIds. + * + * @return bool|null The includeNestedFolders + */ + public function getIncludeNestedFolders() + { + if (array_key_exists("includeNestedFolders", $this->_propDict)) { + return $this->_propDict["includeNestedFolders"]; + } else { + return null; + } + } + + /** + * Sets the includeNestedFolders + * Indicates how the mailbox folder hierarchy should be traversed in the search. true means that a deep search should be done to include child folders in the hierarchy of each folder explicitly specified in sourceFolderIds. false means a shallow search of only each of the folders explicitly specified in sourceFolderIds. + * + * @param bool $val The includeNestedFolders + * + * @return MailSearchFolder + */ + public function setIncludeNestedFolders($val) + { + $this->_propDict["includeNestedFolders"] = boolval($val); + return $this; + } + + /** + * Gets the isSupported + * Indicates whether a search folder is editable using REST APIs. + * + * @return bool|null The isSupported + */ + public function getIsSupported() + { + if (array_key_exists("isSupported", $this->_propDict)) { + return $this->_propDict["isSupported"]; + } else { + return null; + } + } + + /** + * Sets the isSupported + * Indicates whether a search folder is editable using REST APIs. + * + * @param bool $val The isSupported + * + * @return MailSearchFolder + */ + public function setIsSupported($val) + { + $this->_propDict["isSupported"] = boolval($val); + return $this; + } + + /** + * Gets the sourceFolderIds + * The mailbox folders that should be mined. + * + * @return string|null The sourceFolderIds + */ + public function getSourceFolderIds() + { + if (array_key_exists("sourceFolderIds", $this->_propDict)) { + return $this->_propDict["sourceFolderIds"]; + } else { + return null; + } + } + + /** + * Sets the sourceFolderIds + * The mailbox folders that should be mined. + * + * @param string $val The sourceFolderIds + * + * @return MailSearchFolder + */ + public function setSourceFolderIds($val) + { + $this->_propDict["sourceFolderIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTips.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTips.php new file mode 100644 index 0000000..7870883 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTips.php @@ -0,0 +1,387 @@ +_propDict)) { + if (is_a($this->_propDict["automaticReplies"], "\Beta\Microsoft\Graph\Model\AutomaticRepliesMailTips") || is_null($this->_propDict["automaticReplies"])) { + return $this->_propDict["automaticReplies"]; + } else { + $this->_propDict["automaticReplies"] = new AutomaticRepliesMailTips($this->_propDict["automaticReplies"]); + return $this->_propDict["automaticReplies"]; + } + } + return null; + } + + /** + * Sets the automaticReplies + * Mail tips for automatic reply if it has been set up by the recipient. + * + * @param AutomaticRepliesMailTips $val The value to assign to the automaticReplies + * + * @return MailTips The MailTips + */ + public function setAutomaticReplies($val) + { + $this->_propDict["automaticReplies"] = $val; + return $this; + } + /** + * Gets the customMailTip + * A custom mail tip that can be set on the recipient's mailbox. + * + * @return string|null The customMailTip + */ + public function getCustomMailTip() + { + if (array_key_exists("customMailTip", $this->_propDict)) { + return $this->_propDict["customMailTip"]; + } else { + return null; + } + } + + /** + * Sets the customMailTip + * A custom mail tip that can be set on the recipient's mailbox. + * + * @param string $val The value of the customMailTip + * + * @return MailTips + */ + public function setCustomMailTip($val) + { + $this->_propDict["customMailTip"] = $val; + return $this; + } + /** + * Gets the deliveryRestricted + * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. + * + * @return bool|null The deliveryRestricted + */ + public function getDeliveryRestricted() + { + if (array_key_exists("deliveryRestricted", $this->_propDict)) { + return $this->_propDict["deliveryRestricted"]; + } else { + return null; + } + } + + /** + * Sets the deliveryRestricted + * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. + * + * @param bool $val The value of the deliveryRestricted + * + * @return MailTips + */ + public function setDeliveryRestricted($val) + { + $this->_propDict["deliveryRestricted"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * The email address of the recipient to get mailtips for. + * + * @return EmailAddress|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + if (is_a($this->_propDict["emailAddress"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) { + return $this->_propDict["emailAddress"]; + } else { + $this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]); + return $this->_propDict["emailAddress"]; + } + } + return null; + } + + /** + * Sets the emailAddress + * The email address of the recipient to get mailtips for. + * + * @param EmailAddress $val The value to assign to the emailAddress + * + * @return MailTips The MailTips + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the error + * Errors that occur during the getMailTips action. + * + * @return MailTipsError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\MailTipsError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new MailTipsError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Errors that occur during the getMailTips action. + * + * @param MailTipsError $val The value to assign to the error + * + * @return MailTips The MailTips + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the externalMemberCount + * The number of external members if the recipient is a distribution list. + * + * @return int|null The externalMemberCount + */ + public function getExternalMemberCount() + { + if (array_key_exists("externalMemberCount", $this->_propDict)) { + return $this->_propDict["externalMemberCount"]; + } else { + return null; + } + } + + /** + * Sets the externalMemberCount + * The number of external members if the recipient is a distribution list. + * + * @param int $val The value of the externalMemberCount + * + * @return MailTips + */ + public function setExternalMemberCount($val) + { + $this->_propDict["externalMemberCount"] = $val; + return $this; + } + /** + * Gets the isModerated + * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. + * + * @return bool|null The isModerated + */ + public function getIsModerated() + { + if (array_key_exists("isModerated", $this->_propDict)) { + return $this->_propDict["isModerated"]; + } else { + return null; + } + } + + /** + * Sets the isModerated + * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. + * + * @param bool $val The value of the isModerated + * + * @return MailTips + */ + public function setIsModerated($val) + { + $this->_propDict["isModerated"] = $val; + return $this; + } + /** + * Gets the mailboxFull + * The mailbox full status of the recipient. + * + * @return bool|null The mailboxFull + */ + public function getMailboxFull() + { + if (array_key_exists("mailboxFull", $this->_propDict)) { + return $this->_propDict["mailboxFull"]; + } else { + return null; + } + } + + /** + * Sets the mailboxFull + * The mailbox full status of the recipient. + * + * @param bool $val The value of the mailboxFull + * + * @return MailTips + */ + public function setMailboxFull($val) + { + $this->_propDict["mailboxFull"] = $val; + return $this; + } + /** + * Gets the maxMessageSize + * The maximum message size that has been configured for the recipient's organization or mailbox. + * + * @return int|null The maxMessageSize + */ + public function getMaxMessageSize() + { + if (array_key_exists("maxMessageSize", $this->_propDict)) { + return $this->_propDict["maxMessageSize"]; + } else { + return null; + } + } + + /** + * Sets the maxMessageSize + * The maximum message size that has been configured for the recipient's organization or mailbox. + * + * @param int $val The value of the maxMessageSize + * + * @return MailTips + */ + public function setMaxMessageSize($val) + { + $this->_propDict["maxMessageSize"] = $val; + return $this; + } + + /** + * Gets the recipientScope + * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. + * + * @return RecipientScopeType|null The recipientScope + */ + public function getRecipientScope() + { + if (array_key_exists("recipientScope", $this->_propDict)) { + if (is_a($this->_propDict["recipientScope"], "\Beta\Microsoft\Graph\Model\RecipientScopeType") || is_null($this->_propDict["recipientScope"])) { + return $this->_propDict["recipientScope"]; + } else { + $this->_propDict["recipientScope"] = new RecipientScopeType($this->_propDict["recipientScope"]); + return $this->_propDict["recipientScope"]; + } + } + return null; + } + + /** + * Sets the recipientScope + * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. + * + * @param RecipientScopeType $val The value to assign to the recipientScope + * + * @return MailTips The MailTips + */ + public function setRecipientScope($val) + { + $this->_propDict["recipientScope"] = $val; + return $this; + } + + /** + * Gets the recipientSuggestions + * Recipients suggested based on previous contexts where they appear in the same message. + * + * @return Recipient|null The recipientSuggestions + */ + public function getRecipientSuggestions() + { + if (array_key_exists("recipientSuggestions", $this->_propDict)) { + if (is_a($this->_propDict["recipientSuggestions"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["recipientSuggestions"])) { + return $this->_propDict["recipientSuggestions"]; + } else { + $this->_propDict["recipientSuggestions"] = new Recipient($this->_propDict["recipientSuggestions"]); + return $this->_propDict["recipientSuggestions"]; + } + } + return null; + } + + /** + * Sets the recipientSuggestions + * Recipients suggested based on previous contexts where they appear in the same message. + * + * @param Recipient $val The value to assign to the recipientSuggestions + * + * @return MailTips The MailTips + */ + public function setRecipientSuggestions($val) + { + $this->_propDict["recipientSuggestions"] = $val; + return $this; + } + /** + * Gets the totalMemberCount + * The number of members if the recipient is a distribution list. + * + * @return int|null The totalMemberCount + */ + public function getTotalMemberCount() + { + if (array_key_exists("totalMemberCount", $this->_propDict)) { + return $this->_propDict["totalMemberCount"]; + } else { + return null; + } + } + + /** + * Sets the totalMemberCount + * The number of members if the recipient is a distribution list. + * + * @param int $val The value of the totalMemberCount + * + * @return MailTips + */ + public function setTotalMemberCount($val) + { + $this->_propDict["totalMemberCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsError.php new file mode 100644 index 0000000..021d033 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsError.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return MailTipsError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return MailTipsError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsType.php new file mode 100644 index 0000000..61f1297 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["archiveFolder"]; + } else { + return null; + } + } + + /** + * Sets the archiveFolder + * Folder ID of an archive folder for the user. Read only. + * + * @param string $val The value of the archiveFolder + * + * @return MailboxSettings + */ + public function setArchiveFolder($val) + { + $this->_propDict["archiveFolder"] = $val; + return $this; + } + + /** + * Gets the automaticRepliesSetting + * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. + * + * @return AutomaticRepliesSetting|null The automaticRepliesSetting + */ + public function getAutomaticRepliesSetting() + { + if (array_key_exists("automaticRepliesSetting", $this->_propDict)) { + if (is_a($this->_propDict["automaticRepliesSetting"], "\Beta\Microsoft\Graph\Model\AutomaticRepliesSetting") || is_null($this->_propDict["automaticRepliesSetting"])) { + return $this->_propDict["automaticRepliesSetting"]; + } else { + $this->_propDict["automaticRepliesSetting"] = new AutomaticRepliesSetting($this->_propDict["automaticRepliesSetting"]); + return $this->_propDict["automaticRepliesSetting"]; + } + } + return null; + } + + /** + * Sets the automaticRepliesSetting + * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. + * + * @param AutomaticRepliesSetting $val The value to assign to the automaticRepliesSetting + * + * @return MailboxSettings The MailboxSettings + */ + public function setAutomaticRepliesSetting($val) + { + $this->_propDict["automaticRepliesSetting"] = $val; + return $this; + } + /** + * Gets the dateFormat + * The date format for the user's mailbox. + * + * @return string|null The dateFormat + */ + public function getDateFormat() + { + if (array_key_exists("dateFormat", $this->_propDict)) { + return $this->_propDict["dateFormat"]; + } else { + return null; + } + } + + /** + * Sets the dateFormat + * The date format for the user's mailbox. + * + * @param string $val The value of the dateFormat + * + * @return MailboxSettings + */ + public function setDateFormat($val) + { + $this->_propDict["dateFormat"] = $val; + return $this; + } + + /** + * Gets the delegateMeetingMessageDeliveryOptions + * If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. The default is sendToDelegateOnly. + * + * @return DelegateMeetingMessageDeliveryOptions|null The delegateMeetingMessageDeliveryOptions + */ + public function getDelegateMeetingMessageDeliveryOptions() + { + if (array_key_exists("delegateMeetingMessageDeliveryOptions", $this->_propDict)) { + if (is_a($this->_propDict["delegateMeetingMessageDeliveryOptions"], "\Beta\Microsoft\Graph\Model\DelegateMeetingMessageDeliveryOptions") || is_null($this->_propDict["delegateMeetingMessageDeliveryOptions"])) { + return $this->_propDict["delegateMeetingMessageDeliveryOptions"]; + } else { + $this->_propDict["delegateMeetingMessageDeliveryOptions"] = new DelegateMeetingMessageDeliveryOptions($this->_propDict["delegateMeetingMessageDeliveryOptions"]); + return $this->_propDict["delegateMeetingMessageDeliveryOptions"]; + } + } + return null; + } + + /** + * Sets the delegateMeetingMessageDeliveryOptions + * If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. The default is sendToDelegateOnly. + * + * @param DelegateMeetingMessageDeliveryOptions $val The value to assign to the delegateMeetingMessageDeliveryOptions + * + * @return MailboxSettings The MailboxSettings + */ + public function setDelegateMeetingMessageDeliveryOptions($val) + { + $this->_propDict["delegateMeetingMessageDeliveryOptions"] = $val; + return $this; + } + + /** + * Gets the language + * The locale information for the user, including the preferred language and country/region. + * + * @return LocaleInfo|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + if (is_a($this->_propDict["language"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["language"])) { + return $this->_propDict["language"]; + } else { + $this->_propDict["language"] = new LocaleInfo($this->_propDict["language"]); + return $this->_propDict["language"]; + } + } + return null; + } + + /** + * Sets the language + * The locale information for the user, including the preferred language and country/region. + * + * @param LocaleInfo $val The value to assign to the language + * + * @return MailboxSettings The MailboxSettings + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + /** + * Gets the timeFormat + * The time format for the user's mailbox. + * + * @return string|null The timeFormat + */ + public function getTimeFormat() + { + if (array_key_exists("timeFormat", $this->_propDict)) { + return $this->_propDict["timeFormat"]; + } else { + return null; + } + } + + /** + * Sets the timeFormat + * The time format for the user's mailbox. + * + * @param string $val The value of the timeFormat + * + * @return MailboxSettings + */ + public function setTimeFormat($val) + { + $this->_propDict["timeFormat"] = $val; + return $this; + } + /** + * Gets the timeZone + * The default time zone for the user's mailbox. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The default time zone for the user's mailbox. + * + * @param string $val The value of the timeZone + * + * @return MailboxSettings + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } + + /** + * Gets the userPurpose + * The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only. + * + * @return UserPurpose|null The userPurpose + */ + public function getUserPurpose() + { + if (array_key_exists("userPurpose", $this->_propDict)) { + if (is_a($this->_propDict["userPurpose"], "\Beta\Microsoft\Graph\Model\UserPurpose") || is_null($this->_propDict["userPurpose"])) { + return $this->_propDict["userPurpose"]; + } else { + $this->_propDict["userPurpose"] = new UserPurpose($this->_propDict["userPurpose"]); + return $this->_propDict["userPurpose"]; + } + } + return null; + } + + /** + * Sets the userPurpose + * The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only. + * + * @param UserPurpose $val The value to assign to the userPurpose + * + * @return MailboxSettings The MailboxSettings + */ + public function setUserPurpose($val) + { + $this->_propDict["userPurpose"] = $val; + return $this; + } + + /** + * Gets the userPurposeV2 + * + * @return MailboxRecipientType|null The userPurposeV2 + */ + public function getUserPurposeV2() + { + if (array_key_exists("userPurposeV2", $this->_propDict)) { + if (is_a($this->_propDict["userPurposeV2"], "\Beta\Microsoft\Graph\Model\MailboxRecipientType") || is_null($this->_propDict["userPurposeV2"])) { + return $this->_propDict["userPurposeV2"]; + } else { + $this->_propDict["userPurposeV2"] = new MailboxRecipientType($this->_propDict["userPurposeV2"]); + return $this->_propDict["userPurposeV2"]; + } + } + return null; + } + + /** + * Sets the userPurposeV2 + * + * @param MailboxRecipientType $val The value to assign to the userPurposeV2 + * + * @return MailboxSettings The MailboxSettings + */ + public function setUserPurposeV2($val) + { + $this->_propDict["userPurposeV2"] = $val; + return $this; + } + + /** + * Gets the workingHours + * The days of the week and hours in a specific time zone that the user works. + * + * @return WorkingHours|null The workingHours + */ + public function getWorkingHours() + { + if (array_key_exists("workingHours", $this->_propDict)) { + if (is_a($this->_propDict["workingHours"], "\Beta\Microsoft\Graph\Model\WorkingHours") || is_null($this->_propDict["workingHours"])) { + return $this->_propDict["workingHours"]; + } else { + $this->_propDict["workingHours"] = new WorkingHours($this->_propDict["workingHours"]); + return $this->_propDict["workingHours"]; + } + } + return null; + } + + /** + * Sets the workingHours + * The days of the week and hours in a specific time zone that the user works. + * + * @param WorkingHours $val The value to assign to the workingHours + * + * @return MailboxSettings The MailboxSettings + */ + public function setWorkingHours($val) + { + $this->_propDict["workingHours"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Malware.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Malware.php new file mode 100644 index 0000000..343b437 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Malware.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Contains the virus details for the malware facet. + * + * @param string $val The value of the description + * + * @return Malware + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareState.php new file mode 100644 index 0000000..e031c17 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareState.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Provider-generated malware category (for example, trojan, ransomware, etc.). + * + * @param string $val The value of the category + * + * @return MalwareState + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + /** + * Gets the family + * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * + * @return string|null The family + */ + public function getFamily() + { + if (array_key_exists("family", $this->_propDict)) { + return $this->_propDict["family"]; + } else { + return null; + } + } + + /** + * Sets the family + * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * + * @param string $val The value of the family + * + * @return MalwareState + */ + public function setFamily($val) + { + $this->_propDict["family"] = $val; + return $this; + } + /** + * Gets the name + * Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H). + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H). + * + * @param string $val The value of the name + * + * @return MalwareState + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the severity + * Provider-determined severity of this malware. + * + * @return string|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + return $this->_propDict["severity"]; + } else { + return null; + } + } + + /** + * Sets the severity + * Provider-determined severity of this malware. + * + * @param string $val The value of the severity + * + * @return MalwareState + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + /** + * Gets the wasRunning + * Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk. + * + * @return bool|null The wasRunning + */ + public function getWasRunning() + { + if (array_key_exists("wasRunning", $this->_propDict)) { + return $this->_propDict["wasRunning"]; + } else { + return null; + } + } + + /** + * Sets the wasRunning + * Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk. + * + * @param bool $val The value of the wasRunning + * + * @return MalwareState + */ + public function setWasRunning($val) + { + $this->_propDict["wasRunning"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareStateForWindowsDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareStateForWindowsDevice.php new file mode 100644 index 0000000..d59d737 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareStateForWindowsDevice.php @@ -0,0 +1,217 @@ +_propDict)) { + return $this->_propDict["detectionCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionCount + * Number of times the malware is detected + * + * @param int $val The detectionCount + * + * @return MalwareStateForWindowsDevice + */ + public function setDetectionCount($val) + { + $this->_propDict["detectionCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceName + * Device name + * + * @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 + * Device name + * + * @param string $val The deviceName + * + * @return MalwareStateForWindowsDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the executionState + * Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning. + * + * @return WindowsMalwareExecutionState|null The executionState + */ + public function getExecutionState() + { + if (array_key_exists("executionState", $this->_propDict)) { + if (is_a($this->_propDict["executionState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionState") || is_null($this->_propDict["executionState"])) { + return $this->_propDict["executionState"]; + } else { + $this->_propDict["executionState"] = new WindowsMalwareExecutionState($this->_propDict["executionState"]); + return $this->_propDict["executionState"]; + } + } + return null; + } + + /** + * Sets the executionState + * Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning. + * + * @param WindowsMalwareExecutionState $val The executionState + * + * @return MalwareStateForWindowsDevice + */ + public function setExecutionState($val) + { + $this->_propDict["executionState"] = $val; + return $this; + } + + /** + * Gets the initialDetectionDateTime + * Initial detection datetime of the malware + * + * @return \DateTime|null The initialDetectionDateTime + */ + public function getInitialDetectionDateTime() + { + if (array_key_exists("initialDetectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["initialDetectionDateTime"], "\DateTime") || is_null($this->_propDict["initialDetectionDateTime"])) { + return $this->_propDict["initialDetectionDateTime"]; + } else { + $this->_propDict["initialDetectionDateTime"] = new \DateTime($this->_propDict["initialDetectionDateTime"]); + return $this->_propDict["initialDetectionDateTime"]; + } + } + return null; + } + + /** + * Sets the initialDetectionDateTime + * Initial detection datetime of the malware + * + * @param \DateTime $val The initialDetectionDateTime + * + * @return MalwareStateForWindowsDevice + */ + public function setInitialDetectionDateTime($val) + { + $this->_propDict["initialDetectionDateTime"] = $val; + return $this; + } + + /** + * Gets the lastStateChangeDateTime + * The last time this particular threat was changed + * + * @return \DateTime|null The lastStateChangeDateTime + */ + public function getLastStateChangeDateTime() + { + if (array_key_exists("lastStateChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastStateChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastStateChangeDateTime"])) { + return $this->_propDict["lastStateChangeDateTime"]; + } else { + $this->_propDict["lastStateChangeDateTime"] = new \DateTime($this->_propDict["lastStateChangeDateTime"]); + return $this->_propDict["lastStateChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the lastStateChangeDateTime + * The last time this particular threat was changed + * + * @param \DateTime $val The lastStateChangeDateTime + * + * @return MalwareStateForWindowsDevice + */ + public function setLastStateChangeDateTime($val) + { + $this->_propDict["lastStateChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the threatState + * Threat status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. + * + * @return WindowsMalwareThreatState|null The threatState + */ + public function getThreatState() + { + if (array_key_exists("threatState", $this->_propDict)) { + if (is_a($this->_propDict["threatState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareThreatState") || is_null($this->_propDict["threatState"])) { + return $this->_propDict["threatState"]; + } else { + $this->_propDict["threatState"] = new WindowsMalwareThreatState($this->_propDict["threatState"]); + return $this->_propDict["threatState"]; + } + } + return null; + } + + /** + * Sets the threatState + * Threat status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. + * + * @param WindowsMalwareThreatState $val The threatState + * + * @return MalwareStateForWindowsDevice + */ + public function setThreatState($val) + { + $this->_propDict["threatState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAllDeviceCertificateState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAllDeviceCertificateState.php new file mode 100644 index 0000000..daa48dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAllDeviceCertificateState.php @@ -0,0 +1,391 @@ +_propDict)) { + if (is_a($this->_propDict["certificateExpirationDateTime"], "\DateTime") || is_null($this->_propDict["certificateExpirationDateTime"])) { + return $this->_propDict["certificateExpirationDateTime"]; + } else { + $this->_propDict["certificateExpirationDateTime"] = new \DateTime($this->_propDict["certificateExpirationDateTime"]); + return $this->_propDict["certificateExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the certificateExpirationDateTime + * Certificate expiry date + * + * @param \DateTime $val The certificateExpirationDateTime + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateExpirationDateTime($val) + { + $this->_propDict["certificateExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the certificateExtendedKeyUsages + * Enhanced Key Usage + * + * @return string|null The certificateExtendedKeyUsages + */ + public function getCertificateExtendedKeyUsages() + { + if (array_key_exists("certificateExtendedKeyUsages", $this->_propDict)) { + return $this->_propDict["certificateExtendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the certificateExtendedKeyUsages + * Enhanced Key Usage + * + * @param string $val The certificateExtendedKeyUsages + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateExtendedKeyUsages($val) + { + $this->_propDict["certificateExtendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the certificateIssuanceDateTime + * Issuance date + * + * @return \DateTime|null The certificateIssuanceDateTime + */ + public function getCertificateIssuanceDateTime() + { + if (array_key_exists("certificateIssuanceDateTime", $this->_propDict)) { + if (is_a($this->_propDict["certificateIssuanceDateTime"], "\DateTime") || is_null($this->_propDict["certificateIssuanceDateTime"])) { + return $this->_propDict["certificateIssuanceDateTime"]; + } else { + $this->_propDict["certificateIssuanceDateTime"] = new \DateTime($this->_propDict["certificateIssuanceDateTime"]); + return $this->_propDict["certificateIssuanceDateTime"]; + } + } + return null; + } + + /** + * Sets the certificateIssuanceDateTime + * Issuance date + * + * @param \DateTime $val The certificateIssuanceDateTime + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateIssuanceDateTime($val) + { + $this->_propDict["certificateIssuanceDateTime"] = $val; + return $this; + } + + /** + * Gets the certificateIssuerName + * Issuer + * + * @return string|null The certificateIssuerName + */ + public function getCertificateIssuerName() + { + if (array_key_exists("certificateIssuerName", $this->_propDict)) { + return $this->_propDict["certificateIssuerName"]; + } else { + return null; + } + } + + /** + * Sets the certificateIssuerName + * Issuer + * + * @param string $val The certificateIssuerName + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateIssuerName($val) + { + $this->_propDict["certificateIssuerName"] = $val; + return $this; + } + + /** + * Gets the certificateKeyUsages + * Key Usage + * + * @return int|null The certificateKeyUsages + */ + public function getCertificateKeyUsages() + { + if (array_key_exists("certificateKeyUsages", $this->_propDict)) { + return $this->_propDict["certificateKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the certificateKeyUsages + * Key Usage + * + * @param int $val The certificateKeyUsages + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateKeyUsages($val) + { + $this->_propDict["certificateKeyUsages"] = intval($val); + return $this; + } + + /** + * Gets the certificateRevokeStatus + * Revoke status. Possible values are: none, pending, issued, failed, revoked. + * + * @return CertificateRevocationStatus|null The certificateRevokeStatus + */ + public function getCertificateRevokeStatus() + { + if (array_key_exists("certificateRevokeStatus", $this->_propDict)) { + if (is_a($this->_propDict["certificateRevokeStatus"], "\Beta\Microsoft\Graph\Model\CertificateRevocationStatus") || is_null($this->_propDict["certificateRevokeStatus"])) { + return $this->_propDict["certificateRevokeStatus"]; + } else { + $this->_propDict["certificateRevokeStatus"] = new CertificateRevocationStatus($this->_propDict["certificateRevokeStatus"]); + return $this->_propDict["certificateRevokeStatus"]; + } + } + return null; + } + + /** + * Sets the certificateRevokeStatus + * Revoke status. Possible values are: none, pending, issued, failed, revoked. + * + * @param CertificateRevocationStatus $val The certificateRevokeStatus + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateRevokeStatus($val) + { + $this->_propDict["certificateRevokeStatus"] = $val; + return $this; + } + + /** + * Gets the certificateRevokeStatusLastChangeDateTime + * The time the revoke status was last changed + * + * @return \DateTime|null The certificateRevokeStatusLastChangeDateTime + */ + public function getCertificateRevokeStatusLastChangeDateTime() + { + if (array_key_exists("certificateRevokeStatusLastChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["certificateRevokeStatusLastChangeDateTime"], "\DateTime") || is_null($this->_propDict["certificateRevokeStatusLastChangeDateTime"])) { + return $this->_propDict["certificateRevokeStatusLastChangeDateTime"]; + } else { + $this->_propDict["certificateRevokeStatusLastChangeDateTime"] = new \DateTime($this->_propDict["certificateRevokeStatusLastChangeDateTime"]); + return $this->_propDict["certificateRevokeStatusLastChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the certificateRevokeStatusLastChangeDateTime + * The time the revoke status was last changed + * + * @param \DateTime $val The certificateRevokeStatusLastChangeDateTime + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateRevokeStatusLastChangeDateTime($val) + { + $this->_propDict["certificateRevokeStatusLastChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the certificateSerialNumber + * Serial number + * + * @return string|null The certificateSerialNumber + */ + public function getCertificateSerialNumber() + { + if (array_key_exists("certificateSerialNumber", $this->_propDict)) { + return $this->_propDict["certificateSerialNumber"]; + } else { + return null; + } + } + + /** + * Sets the certificateSerialNumber + * Serial number + * + * @param string $val The certificateSerialNumber + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateSerialNumber($val) + { + $this->_propDict["certificateSerialNumber"] = $val; + return $this; + } + + /** + * Gets the certificateSubjectName + * Certificate subject name + * + * @return string|null The certificateSubjectName + */ + public function getCertificateSubjectName() + { + if (array_key_exists("certificateSubjectName", $this->_propDict)) { + return $this->_propDict["certificateSubjectName"]; + } else { + return null; + } + } + + /** + * Sets the certificateSubjectName + * Certificate subject name + * + * @param string $val The certificateSubjectName + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateSubjectName($val) + { + $this->_propDict["certificateSubjectName"] = $val; + return $this; + } + + /** + * Gets the certificateThumbprint + * Thumbprint + * + * @return string|null The certificateThumbprint + */ + public function getCertificateThumbprint() + { + if (array_key_exists("certificateThumbprint", $this->_propDict)) { + return $this->_propDict["certificateThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the certificateThumbprint + * Thumbprint + * + * @param string $val The certificateThumbprint + * + * @return ManagedAllDeviceCertificateState + */ + public function setCertificateThumbprint($val) + { + $this->_propDict["certificateThumbprint"] = $val; + return $this; + } + + /** + * Gets the managedDeviceDisplayName + * Device display name + * + * @return string|null The managedDeviceDisplayName + */ + public function getManagedDeviceDisplayName() + { + if (array_key_exists("managedDeviceDisplayName", $this->_propDict)) { + return $this->_propDict["managedDeviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceDisplayName + * Device display name + * + * @param string $val The managedDeviceDisplayName + * + * @return ManagedAllDeviceCertificateState + */ + public function setManagedDeviceDisplayName($val) + { + $this->_propDict["managedDeviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User principal name + * + * @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 + * User principal name + * + * @param string $val The userPrincipalName + * + * @return ManagedAllDeviceCertificateState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php new file mode 100644 index 0000000..70284a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php @@ -0,0 +1,205 @@ +_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The identityName + * + * @return ManagedAndroidLobApp + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return ManagedAndroidLobApp + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedAndroidLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return ManagedAndroidLobApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the versionCode + * The version code of managed Android Line of Business (LoB) app. + * + * @return string|null The versionCode + */ + public function getVersionCode() + { + if (array_key_exists("versionCode", $this->_propDict)) { + return $this->_propDict["versionCode"]; + } else { + return null; + } + } + + /** + * Sets the versionCode + * The version code of managed Android Line of Business (LoB) app. + * + * @param string $val The versionCode + * + * @return ManagedAndroidLobApp + */ + public function setVersionCode($val) + { + $this->_propDict["versionCode"] = $val; + return $this; + } + + /** + * Gets the versionName + * The version name of managed Android Line of Business (LoB) app. + * + * @return string|null The versionName + */ + public function getVersionName() + { + if (array_key_exists("versionName", $this->_propDict)) { + return $this->_propDict["versionName"]; + } else { + return null; + } + } + + /** + * Sets the versionName + * The version name of managed Android Line of Business (LoB) app. + * + * @param string $val The versionName + * + * @return ManagedAndroidLobApp + */ + public function setVersionName($val) + { + $this->_propDict["versionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidStoreApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidStoreApp.php new file mode 100644 index 0000000..0a4c0f8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidStoreApp.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Android AppStoreUrl. + * + * @param string $val The appStoreUrl + * + * @return ManagedAndroidStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedAndroidStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The app's package ID. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The app's package ID. + * + * @param string $val The packageId + * + * @return ManagedAndroidStoreApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedApp.php new file mode 100644 index 0000000..89f204d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedApp.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["appAvailability"], "\Beta\Microsoft\Graph\Model\ManagedAppAvailability") || is_null($this->_propDict["appAvailability"])) { + return $this->_propDict["appAvailability"]; + } else { + $this->_propDict["appAvailability"] = new ManagedAppAvailability($this->_propDict["appAvailability"]); + return $this->_propDict["appAvailability"]; + } + } + return null; + } + + /** + * Sets the appAvailability + * The Application's availability. Possible values are: global, lineOfBusiness. + * + * @param ManagedAppAvailability $val The appAvailability + * + * @return ManagedApp + */ + public function setAppAvailability($val) + { + $this->_propDict["appAvailability"] = $val; + return $this; + } + + /** + * Gets the version + * The Application's version. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The Application's version. + * + * @param string $val The version + * + * @return ManagedApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppAvailability.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppAvailability.php new file mode 100644 index 0000000..5c789ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppAvailability.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["customSettings"]; + } else { + return null; + } + } + + /** + * Sets the customSettings + * A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service + * + * @param KeyValuePair[] $val The customSettings + * + * @return ManagedAppConfiguration + */ + public function setCustomSettings($val) + { + $this->_propDict["customSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppDataEncryptionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppDataEncryptionType.php new file mode 100644 index 0000000..380f0f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppDataEncryptionType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["mitigationInstruction"]; + } else { + return null; + } + } + + /** + * Sets the mitigationInstruction + * Instruction on how to mitigate a failed validation + * + * @param string $val The value of the mitigationInstruction + * + * @return ManagedAppDiagnosticStatus + */ + public function setMitigationInstruction($val) + { + $this->_propDict["mitigationInstruction"] = $val; + return $this; + } + /** + * Gets the state + * The state of the operation + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state of the operation + * + * @param string $val The value of the state + * + * @return ManagedAppDiagnosticStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the validationName + * The validation friendly name + * + * @return string|null The validationName + */ + public function getValidationName() + { + if (array_key_exists("validationName", $this->_propDict)) { + return $this->_propDict["validationName"]; + } else { + return null; + } + } + + /** + * Sets the validationName + * The validation friendly name + * + * @param string $val The value of the validationName + * + * @return ManagedAppDiagnosticStatus + */ + public function setValidationName($val) + { + $this->_propDict["validationName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppFlaggedReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppFlaggedReason.php new file mode 100644 index 0000000..022e760 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppFlaggedReason.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The operation name. + * + * @param string $val The displayName + * + * @return ManagedAppOperation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last time the app operation was modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last time the app operation was modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedAppOperation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The current state of the operation + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The current state of the operation + * + * @param string $val The state + * + * @return ManagedAppOperation + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppOperation + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPhoneNumberRedirectLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPhoneNumberRedirectLevel.php new file mode 100644 index 0000000..d636dde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPhoneNumberRedirectLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the policy was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedAppPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The policy's description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The policy's description. + * + * @param string $val The description + * + * @return ManagedAppPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Policy display name. + * + * @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 + * Policy display name. + * + * @param string $val The displayName + * + * @return ManagedAppPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last time the policy was modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last time the policy was modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedAppPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return ManagedAppPolicy + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppPolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummary.php new file mode 100644 index 0000000..653794a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummary.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["configurationDeployedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the configurationDeployedUserCount + * Not yet documented + * + * @param int $val The configurationDeployedUserCount + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setConfigurationDeployedUserCount($val) + { + $this->_propDict["configurationDeployedUserCount"] = intval($val); + return $this; + } + + + /** + * Gets the configurationDeploymentSummaryPerApp + * Not yet documented + * + * @return array|null The configurationDeploymentSummaryPerApp + */ + public function getConfigurationDeploymentSummaryPerApp() + { + if (array_key_exists("configurationDeploymentSummaryPerApp", $this->_propDict)) { + return $this->_propDict["configurationDeploymentSummaryPerApp"]; + } else { + return null; + } + } + + /** + * Sets the configurationDeploymentSummaryPerApp + * Not yet documented + * + * @param ManagedAppPolicyDeploymentSummaryPerApp[] $val The configurationDeploymentSummaryPerApp + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setConfigurationDeploymentSummaryPerApp($val) + { + $this->_propDict["configurationDeploymentSummaryPerApp"] = $val; + return $this; + } + + /** + * Gets the displayName + * Not yet documented + * + * @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 + * Not yet documented + * + * @param string $val The displayName + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastRefreshTime + * Not yet documented + * + * @return \DateTime|null The lastRefreshTime + */ + public function getLastRefreshTime() + { + if (array_key_exists("lastRefreshTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshTime"], "\DateTime") || is_null($this->_propDict["lastRefreshTime"])) { + return $this->_propDict["lastRefreshTime"]; + } else { + $this->_propDict["lastRefreshTime"] = new \DateTime($this->_propDict["lastRefreshTime"]); + return $this->_propDict["lastRefreshTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshTime + * Not yet documented + * + * @param \DateTime $val The lastRefreshTime + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setLastRefreshTime($val) + { + $this->_propDict["lastRefreshTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummaryPerApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummaryPerApp.php new file mode 100644 index 0000000..08cb27a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummaryPerApp.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["configurationAppliedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the configurationAppliedUserCount + * Number of users the policy is applied. + * + * @param int $val The value of the configurationAppliedUserCount + * + * @return ManagedAppPolicyDeploymentSummaryPerApp + */ + public function setConfigurationAppliedUserCount($val) + { + $this->_propDict["configurationAppliedUserCount"] = $val; + return $this; + } + + /** + * Gets the mobileAppIdentifier + * Deployment of an app. + * + * @return MobileAppIdentifier|null The mobileAppIdentifier + */ + public function getMobileAppIdentifier() + { + if (array_key_exists("mobileAppIdentifier", $this->_propDict)) { + if (is_a($this->_propDict["mobileAppIdentifier"], "\Beta\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["mobileAppIdentifier"])) { + return $this->_propDict["mobileAppIdentifier"]; + } else { + $this->_propDict["mobileAppIdentifier"] = new MobileAppIdentifier($this->_propDict["mobileAppIdentifier"]); + return $this->_propDict["mobileAppIdentifier"]; + } + } + return null; + } + + /** + * Sets the mobileAppIdentifier + * Deployment of an app. + * + * @param MobileAppIdentifier $val The value to assign to the mobileAppIdentifier + * + * @return ManagedAppPolicyDeploymentSummaryPerApp The ManagedAppPolicyDeploymentSummaryPerApp + */ + public function setMobileAppIdentifier($val) + { + $this->_propDict["mobileAppIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtection.php new file mode 100644 index 0000000..b30fa9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtection.php @@ -0,0 +1,1406 @@ +_propDict)) { + return $this->_propDict["allowedDataIngestionLocations"]; + } else { + return null; + } + } + + /** + * Sets the allowedDataIngestionLocations + * Data storage locations where a user may store managed data. + * + * @param ManagedAppDataIngestionLocation[] $val The allowedDataIngestionLocations + * + * @return ManagedAppProtection + */ + public function setAllowedDataIngestionLocations($val) + { + $this->_propDict["allowedDataIngestionLocations"] = $val; + return $this; + } + + + /** + * Gets the allowedDataStorageLocations + * Data storage locations where a user may store managed data. + * + * @return array|null The allowedDataStorageLocations + */ + public function getAllowedDataStorageLocations() + { + if (array_key_exists("allowedDataStorageLocations", $this->_propDict)) { + return $this->_propDict["allowedDataStorageLocations"]; + } else { + return null; + } + } + + /** + * Sets the allowedDataStorageLocations + * Data storage locations where a user may store managed data. + * + * @param ManagedAppDataStorageLocation[] $val The allowedDataStorageLocations + * + * @return ManagedAppProtection + */ + public function setAllowedDataStorageLocations($val) + { + $this->_propDict["allowedDataStorageLocations"] = $val; + return $this; + } + + /** + * Gets the allowedInboundDataTransferSources + * Sources from which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @return ManagedAppDataTransferLevel|null The allowedInboundDataTransferSources + */ + public function getAllowedInboundDataTransferSources() + { + if (array_key_exists("allowedInboundDataTransferSources", $this->_propDict)) { + if (is_a($this->_propDict["allowedInboundDataTransferSources"], "\Beta\Microsoft\Graph\Model\ManagedAppDataTransferLevel") || is_null($this->_propDict["allowedInboundDataTransferSources"])) { + return $this->_propDict["allowedInboundDataTransferSources"]; + } else { + $this->_propDict["allowedInboundDataTransferSources"] = new ManagedAppDataTransferLevel($this->_propDict["allowedInboundDataTransferSources"]); + return $this->_propDict["allowedInboundDataTransferSources"]; + } + } + return null; + } + + /** + * Sets the allowedInboundDataTransferSources + * Sources from which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @param ManagedAppDataTransferLevel $val The allowedInboundDataTransferSources + * + * @return ManagedAppProtection + */ + public function setAllowedInboundDataTransferSources($val) + { + $this->_propDict["allowedInboundDataTransferSources"] = $val; + return $this; + } + + /** + * Gets the allowedOutboundClipboardSharingExceptionLength + * Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed. + * + * @return int|null The allowedOutboundClipboardSharingExceptionLength + */ + public function getAllowedOutboundClipboardSharingExceptionLength() + { + if (array_key_exists("allowedOutboundClipboardSharingExceptionLength", $this->_propDict)) { + return $this->_propDict["allowedOutboundClipboardSharingExceptionLength"]; + } else { + return null; + } + } + + /** + * Sets the allowedOutboundClipboardSharingExceptionLength + * Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed. + * + * @param int $val The allowedOutboundClipboardSharingExceptionLength + * + * @return ManagedAppProtection + */ + public function setAllowedOutboundClipboardSharingExceptionLength($val) + { + $this->_propDict["allowedOutboundClipboardSharingExceptionLength"] = intval($val); + return $this; + } + + /** + * Gets the allowedOutboundClipboardSharingLevel + * The level to which the clipboard may be shared between apps on the managed device. Possible values are: allApps, managedAppsWithPasteIn, managedApps, blocked. + * + * @return ManagedAppClipboardSharingLevel|null The allowedOutboundClipboardSharingLevel + */ + public function getAllowedOutboundClipboardSharingLevel() + { + if (array_key_exists("allowedOutboundClipboardSharingLevel", $this->_propDict)) { + if (is_a($this->_propDict["allowedOutboundClipboardSharingLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppClipboardSharingLevel") || is_null($this->_propDict["allowedOutboundClipboardSharingLevel"])) { + return $this->_propDict["allowedOutboundClipboardSharingLevel"]; + } else { + $this->_propDict["allowedOutboundClipboardSharingLevel"] = new ManagedAppClipboardSharingLevel($this->_propDict["allowedOutboundClipboardSharingLevel"]); + return $this->_propDict["allowedOutboundClipboardSharingLevel"]; + } + } + return null; + } + + /** + * Sets the allowedOutboundClipboardSharingLevel + * The level to which the clipboard may be shared between apps on the managed device. Possible values are: allApps, managedAppsWithPasteIn, managedApps, blocked. + * + * @param ManagedAppClipboardSharingLevel $val The allowedOutboundClipboardSharingLevel + * + * @return ManagedAppProtection + */ + public function setAllowedOutboundClipboardSharingLevel($val) + { + $this->_propDict["allowedOutboundClipboardSharingLevel"] = $val; + return $this; + } + + /** + * Gets the allowedOutboundDataTransferDestinations + * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @return ManagedAppDataTransferLevel|null The allowedOutboundDataTransferDestinations + */ + public function getAllowedOutboundDataTransferDestinations() + { + if (array_key_exists("allowedOutboundDataTransferDestinations", $this->_propDict)) { + if (is_a($this->_propDict["allowedOutboundDataTransferDestinations"], "\Beta\Microsoft\Graph\Model\ManagedAppDataTransferLevel") || is_null($this->_propDict["allowedOutboundDataTransferDestinations"])) { + return $this->_propDict["allowedOutboundDataTransferDestinations"]; + } else { + $this->_propDict["allowedOutboundDataTransferDestinations"] = new ManagedAppDataTransferLevel($this->_propDict["allowedOutboundDataTransferDestinations"]); + return $this->_propDict["allowedOutboundDataTransferDestinations"]; + } + } + return null; + } + + /** + * Sets the allowedOutboundDataTransferDestinations + * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @param ManagedAppDataTransferLevel $val The allowedOutboundDataTransferDestinations + * + * @return ManagedAppProtection + */ + public function setAllowedOutboundDataTransferDestinations($val) + { + $this->_propDict["allowedOutboundDataTransferDestinations"] = $val; + return $this; + } + + /** + * Gets the appActionIfDeviceComplianceRequired + * Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfDeviceComplianceRequired + */ + public function getAppActionIfDeviceComplianceRequired() + { + if (array_key_exists("appActionIfDeviceComplianceRequired", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfDeviceComplianceRequired"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfDeviceComplianceRequired"])) { + return $this->_propDict["appActionIfDeviceComplianceRequired"]; + } else { + $this->_propDict["appActionIfDeviceComplianceRequired"] = new ManagedAppRemediationAction($this->_propDict["appActionIfDeviceComplianceRequired"]); + return $this->_propDict["appActionIfDeviceComplianceRequired"]; + } + } + return null; + } + + /** + * Sets the appActionIfDeviceComplianceRequired + * Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfDeviceComplianceRequired + * + * @return ManagedAppProtection + */ + public function setAppActionIfDeviceComplianceRequired($val) + { + $this->_propDict["appActionIfDeviceComplianceRequired"] = $val; + return $this; + } + + /** + * Gets the appActionIfMaximumPinRetriesExceeded + * Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfMaximumPinRetriesExceeded + */ + public function getAppActionIfMaximumPinRetriesExceeded() + { + if (array_key_exists("appActionIfMaximumPinRetriesExceeded", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfMaximumPinRetriesExceeded"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfMaximumPinRetriesExceeded"])) { + return $this->_propDict["appActionIfMaximumPinRetriesExceeded"]; + } else { + $this->_propDict["appActionIfMaximumPinRetriesExceeded"] = new ManagedAppRemediationAction($this->_propDict["appActionIfMaximumPinRetriesExceeded"]); + return $this->_propDict["appActionIfMaximumPinRetriesExceeded"]; + } + } + return null; + } + + /** + * Sets the appActionIfMaximumPinRetriesExceeded + * Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfMaximumPinRetriesExceeded + * + * @return ManagedAppProtection + */ + public function setAppActionIfMaximumPinRetriesExceeded($val) + { + $this->_propDict["appActionIfMaximumPinRetriesExceeded"] = $val; + return $this; + } + + /** + * Gets the appActionIfUnableToAuthenticateUser + * If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The appActionIfUnableToAuthenticateUser + */ + public function getAppActionIfUnableToAuthenticateUser() + { + if (array_key_exists("appActionIfUnableToAuthenticateUser", $this->_propDict)) { + if (is_a($this->_propDict["appActionIfUnableToAuthenticateUser"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfUnableToAuthenticateUser"])) { + return $this->_propDict["appActionIfUnableToAuthenticateUser"]; + } else { + $this->_propDict["appActionIfUnableToAuthenticateUser"] = new ManagedAppRemediationAction($this->_propDict["appActionIfUnableToAuthenticateUser"]); + return $this->_propDict["appActionIfUnableToAuthenticateUser"]; + } + } + return null; + } + + /** + * Sets the appActionIfUnableToAuthenticateUser + * If set, it will specify what action to take in the case where the user is unable to checkin because their authentication token is invalid. This happens when the user is deleted or disabled in AAD. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The appActionIfUnableToAuthenticateUser + * + * @return ManagedAppProtection + */ + public function setAppActionIfUnableToAuthenticateUser($val) + { + $this->_propDict["appActionIfUnableToAuthenticateUser"] = $val; + return $this; + } + + /** + * Gets the blockDataIngestionIntoOrganizationDocuments + * Indicates whether a user can bring data into org documents. + * + * @return bool|null The blockDataIngestionIntoOrganizationDocuments + */ + public function getBlockDataIngestionIntoOrganizationDocuments() + { + if (array_key_exists("blockDataIngestionIntoOrganizationDocuments", $this->_propDict)) { + return $this->_propDict["blockDataIngestionIntoOrganizationDocuments"]; + } else { + return null; + } + } + + /** + * Sets the blockDataIngestionIntoOrganizationDocuments + * Indicates whether a user can bring data into org documents. + * + * @param bool $val The blockDataIngestionIntoOrganizationDocuments + * + * @return ManagedAppProtection + */ + public function setBlockDataIngestionIntoOrganizationDocuments($val) + { + $this->_propDict["blockDataIngestionIntoOrganizationDocuments"] = boolval($val); + return $this; + } + + /** + * Gets the contactSyncBlocked + * Indicates whether contacts can be synced to the user's device. + * + * @return bool|null The contactSyncBlocked + */ + public function getContactSyncBlocked() + { + if (array_key_exists("contactSyncBlocked", $this->_propDict)) { + return $this->_propDict["contactSyncBlocked"]; + } else { + return null; + } + } + + /** + * Sets the contactSyncBlocked + * Indicates whether contacts can be synced to the user's device. + * + * @param bool $val The contactSyncBlocked + * + * @return ManagedAppProtection + */ + public function setContactSyncBlocked($val) + { + $this->_propDict["contactSyncBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the dataBackupBlocked + * Indicates whether the backup of a managed app's data is blocked. + * + * @return bool|null The dataBackupBlocked + */ + public function getDataBackupBlocked() + { + if (array_key_exists("dataBackupBlocked", $this->_propDict)) { + return $this->_propDict["dataBackupBlocked"]; + } else { + return null; + } + } + + /** + * Sets the dataBackupBlocked + * Indicates whether the backup of a managed app's data is blocked. + * + * @param bool $val The dataBackupBlocked + * + * @return ManagedAppProtection + */ + public function setDataBackupBlocked($val) + { + $this->_propDict["dataBackupBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the deviceComplianceRequired + * Indicates whether device compliance is required. + * + * @return bool|null The deviceComplianceRequired + */ + public function getDeviceComplianceRequired() + { + if (array_key_exists("deviceComplianceRequired", $this->_propDict)) { + return $this->_propDict["deviceComplianceRequired"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceRequired + * Indicates whether device compliance is required. + * + * @param bool $val The deviceComplianceRequired + * + * @return ManagedAppProtection + */ + public function setDeviceComplianceRequired($val) + { + $this->_propDict["deviceComplianceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the dialerRestrictionLevel + * The classes of dialer apps that are allowed to click-to-open a phone number. Possible values are: allApps, managedApps, customApp, blocked. + * + * @return ManagedAppPhoneNumberRedirectLevel|null The dialerRestrictionLevel + */ + public function getDialerRestrictionLevel() + { + if (array_key_exists("dialerRestrictionLevel", $this->_propDict)) { + if (is_a($this->_propDict["dialerRestrictionLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppPhoneNumberRedirectLevel") || is_null($this->_propDict["dialerRestrictionLevel"])) { + return $this->_propDict["dialerRestrictionLevel"]; + } else { + $this->_propDict["dialerRestrictionLevel"] = new ManagedAppPhoneNumberRedirectLevel($this->_propDict["dialerRestrictionLevel"]); + return $this->_propDict["dialerRestrictionLevel"]; + } + } + return null; + } + + /** + * Sets the dialerRestrictionLevel + * The classes of dialer apps that are allowed to click-to-open a phone number. Possible values are: allApps, managedApps, customApp, blocked. + * + * @param ManagedAppPhoneNumberRedirectLevel $val The dialerRestrictionLevel + * + * @return ManagedAppProtection + */ + public function setDialerRestrictionLevel($val) + { + $this->_propDict["dialerRestrictionLevel"] = $val; + return $this; + } + + /** + * Gets the disableAppPinIfDevicePinIsSet + * Indicates whether use of the app pin is required if the device pin is set. + * + * @return bool|null The disableAppPinIfDevicePinIsSet + */ + public function getDisableAppPinIfDevicePinIsSet() + { + if (array_key_exists("disableAppPinIfDevicePinIsSet", $this->_propDict)) { + return $this->_propDict["disableAppPinIfDevicePinIsSet"]; + } else { + return null; + } + } + + /** + * Sets the disableAppPinIfDevicePinIsSet + * Indicates whether use of the app pin is required if the device pin is set. + * + * @param bool $val The disableAppPinIfDevicePinIsSet + * + * @return ManagedAppProtection + */ + public function setDisableAppPinIfDevicePinIsSet($val) + { + $this->_propDict["disableAppPinIfDevicePinIsSet"] = boolval($val); + return $this; + } + + /** + * Gets the fingerprintBlocked + * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. + * + * @return bool|null The fingerprintBlocked + */ + public function getFingerprintBlocked() + { + if (array_key_exists("fingerprintBlocked", $this->_propDict)) { + return $this->_propDict["fingerprintBlocked"]; + } else { + return null; + } + } + + /** + * Sets the fingerprintBlocked + * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. + * + * @param bool $val The fingerprintBlocked + * + * @return ManagedAppProtection + */ + public function setFingerprintBlocked($val) + { + $this->_propDict["fingerprintBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the gracePeriodToBlockAppsDuringOffClockHours + * A grace period before blocking app access during off clock hours. + * + * @return \DateInterval|null The gracePeriodToBlockAppsDuringOffClockHours + */ + public function getGracePeriodToBlockAppsDuringOffClockHours() + { + if (array_key_exists("gracePeriodToBlockAppsDuringOffClockHours", $this->_propDict)) { + if (is_a($this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"], "\DateInterval") || is_null($this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"])) { + return $this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"]; + } else { + $this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"] = new \DateInterval($this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"]); + return $this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"]; + } + } + return null; + } + + /** + * Sets the gracePeriodToBlockAppsDuringOffClockHours + * A grace period before blocking app access during off clock hours. + * + * @param \DateInterval $val The gracePeriodToBlockAppsDuringOffClockHours + * + * @return ManagedAppProtection + */ + public function setGracePeriodToBlockAppsDuringOffClockHours($val) + { + $this->_propDict["gracePeriodToBlockAppsDuringOffClockHours"] = $val; + return $this; + } + + /** + * Gets the managedBrowser + * Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. Possible values are: notConfigured, microsoftEdge. + * + * @return ManagedBrowserType|null The managedBrowser + */ + public function getManagedBrowser() + { + if (array_key_exists("managedBrowser", $this->_propDict)) { + if (is_a($this->_propDict["managedBrowser"], "\Beta\Microsoft\Graph\Model\ManagedBrowserType") || is_null($this->_propDict["managedBrowser"])) { + return $this->_propDict["managedBrowser"]; + } else { + $this->_propDict["managedBrowser"] = new ManagedBrowserType($this->_propDict["managedBrowser"]); + return $this->_propDict["managedBrowser"]; + } + } + return null; + } + + /** + * Sets the managedBrowser + * Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. Possible values are: notConfigured, microsoftEdge. + * + * @param ManagedBrowserType $val The managedBrowser + * + * @return ManagedAppProtection + */ + public function setManagedBrowser($val) + { + $this->_propDict["managedBrowser"] = $val; + return $this; + } + + /** + * Gets the managedBrowserToOpenLinksRequired + * Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android) + * + * @return bool|null The managedBrowserToOpenLinksRequired + */ + public function getManagedBrowserToOpenLinksRequired() + { + if (array_key_exists("managedBrowserToOpenLinksRequired", $this->_propDict)) { + return $this->_propDict["managedBrowserToOpenLinksRequired"]; + } else { + return null; + } + } + + /** + * Sets the managedBrowserToOpenLinksRequired + * Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android) + * + * @param bool $val The managedBrowserToOpenLinksRequired + * + * @return ManagedAppProtection + */ + public function setManagedBrowserToOpenLinksRequired($val) + { + $this->_propDict["managedBrowserToOpenLinksRequired"] = boolval($val); + return $this; + } + + /** + * Gets the maximumAllowedDeviceThreatLevel + * Maximum allowed device threat level, as reported by the MTD app. Possible values are: notConfigured, secured, low, medium, high. + * + * @return ManagedAppDeviceThreatLevel|null The maximumAllowedDeviceThreatLevel + */ + public function getMaximumAllowedDeviceThreatLevel() + { + if (array_key_exists("maximumAllowedDeviceThreatLevel", $this->_propDict)) { + if (is_a($this->_propDict["maximumAllowedDeviceThreatLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppDeviceThreatLevel") || is_null($this->_propDict["maximumAllowedDeviceThreatLevel"])) { + return $this->_propDict["maximumAllowedDeviceThreatLevel"]; + } else { + $this->_propDict["maximumAllowedDeviceThreatLevel"] = new ManagedAppDeviceThreatLevel($this->_propDict["maximumAllowedDeviceThreatLevel"]); + return $this->_propDict["maximumAllowedDeviceThreatLevel"]; + } + } + return null; + } + + /** + * Sets the maximumAllowedDeviceThreatLevel + * Maximum allowed device threat level, as reported by the MTD app. Possible values are: notConfigured, secured, low, medium, high. + * + * @param ManagedAppDeviceThreatLevel $val The maximumAllowedDeviceThreatLevel + * + * @return ManagedAppProtection + */ + public function setMaximumAllowedDeviceThreatLevel($val) + { + $this->_propDict["maximumAllowedDeviceThreatLevel"] = $val; + return $this; + } + + /** + * Gets the maximumPinRetries + * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. + * + * @return int|null The maximumPinRetries + */ + public function getMaximumPinRetries() + { + if (array_key_exists("maximumPinRetries", $this->_propDict)) { + return $this->_propDict["maximumPinRetries"]; + } else { + return null; + } + } + + /** + * Sets the maximumPinRetries + * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. + * + * @param int $val The maximumPinRetries + * + * @return ManagedAppProtection + */ + public function setMaximumPinRetries($val) + { + $this->_propDict["maximumPinRetries"] = intval($val); + return $this; + } + + /** + * Gets the maximumRequiredOsVersion + * Versions bigger than the specified version will block the managed app from accessing company data. + * + * @return string|null The maximumRequiredOsVersion + */ + public function getMaximumRequiredOsVersion() + { + if (array_key_exists("maximumRequiredOsVersion", $this->_propDict)) { + return $this->_propDict["maximumRequiredOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the maximumRequiredOsVersion + * Versions bigger than the specified version will block the managed app from accessing company data. + * + * @param string $val The maximumRequiredOsVersion + * + * @return ManagedAppProtection + */ + public function setMaximumRequiredOsVersion($val) + { + $this->_propDict["maximumRequiredOsVersion"] = $val; + return $this; + } + + /** + * Gets the maximumWarningOsVersion + * Versions bigger than the specified version will block the managed app from accessing company data. + * + * @return string|null The maximumWarningOsVersion + */ + public function getMaximumWarningOsVersion() + { + if (array_key_exists("maximumWarningOsVersion", $this->_propDict)) { + return $this->_propDict["maximumWarningOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the maximumWarningOsVersion + * Versions bigger than the specified version will block the managed app from accessing company data. + * + * @param string $val The maximumWarningOsVersion + * + * @return ManagedAppProtection + */ + public function setMaximumWarningOsVersion($val) + { + $this->_propDict["maximumWarningOsVersion"] = $val; + return $this; + } + + /** + * Gets the maximumWipeOsVersion + * Versions bigger than the specified version will block the managed app from accessing company data. + * + * @return string|null The maximumWipeOsVersion + */ + public function getMaximumWipeOsVersion() + { + if (array_key_exists("maximumWipeOsVersion", $this->_propDict)) { + return $this->_propDict["maximumWipeOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the maximumWipeOsVersion + * Versions bigger than the specified version will block the managed app from accessing company data. + * + * @param string $val The maximumWipeOsVersion + * + * @return ManagedAppProtection + */ + public function setMaximumWipeOsVersion($val) + { + $this->_propDict["maximumWipeOsVersion"] = $val; + return $this; + } + + /** + * Gets the minimumPinLength + * Minimum pin length required for an app-level pin if PinRequired is set to True + * + * @return int|null The minimumPinLength + */ + public function getMinimumPinLength() + { + if (array_key_exists("minimumPinLength", $this->_propDict)) { + return $this->_propDict["minimumPinLength"]; + } else { + return null; + } + } + + /** + * Sets the minimumPinLength + * Minimum pin length required for an app-level pin if PinRequired is set to True + * + * @param int $val The minimumPinLength + * + * @return ManagedAppProtection + */ + public function setMinimumPinLength($val) + { + $this->_propDict["minimumPinLength"] = intval($val); + return $this; + } + + /** + * Gets the minimumRequiredAppVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumRequiredAppVersion + */ + public function getMinimumRequiredAppVersion() + { + if (array_key_exists("minimumRequiredAppVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredAppVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumRequiredAppVersion + * + * @return ManagedAppProtection + */ + public function setMinimumRequiredAppVersion($val) + { + $this->_propDict["minimumRequiredAppVersion"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredOsVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumRequiredOsVersion + */ + public function getMinimumRequiredOsVersion() + { + if (array_key_exists("minimumRequiredOsVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredOsVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumRequiredOsVersion + * + * @return ManagedAppProtection + */ + public function setMinimumRequiredOsVersion($val) + { + $this->_propDict["minimumRequiredOsVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningAppVersion + * Versions less than the specified version will result in warning message on the managed app. + * + * @return string|null The minimumWarningAppVersion + */ + public function getMinimumWarningAppVersion() + { + if (array_key_exists("minimumWarningAppVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningAppVersion + * Versions less than the specified version will result in warning message on the managed app. + * + * @param string $val The minimumWarningAppVersion + * + * @return ManagedAppProtection + */ + public function setMinimumWarningAppVersion($val) + { + $this->_propDict["minimumWarningAppVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningOsVersion + * Versions less than the specified version will result in warning message on the managed app from accessing company data. + * + * @return string|null The minimumWarningOsVersion + */ + public function getMinimumWarningOsVersion() + { + if (array_key_exists("minimumWarningOsVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningOsVersion + * Versions less than the specified version will result in warning message on the managed app from accessing company data. + * + * @param string $val The minimumWarningOsVersion + * + * @return ManagedAppProtection + */ + public function setMinimumWarningOsVersion($val) + { + $this->_propDict["minimumWarningOsVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipeAppVersion + * Versions less than or equal to the specified version will wipe the managed app and the associated company data. + * + * @return string|null The minimumWipeAppVersion + */ + public function getMinimumWipeAppVersion() + { + if (array_key_exists("minimumWipeAppVersion", $this->_propDict)) { + return $this->_propDict["minimumWipeAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipeAppVersion + * Versions less than or equal to the specified version will wipe the managed app and the associated company data. + * + * @param string $val The minimumWipeAppVersion + * + * @return ManagedAppProtection + */ + public function setMinimumWipeAppVersion($val) + { + $this->_propDict["minimumWipeAppVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWipeOsVersion + * Versions less than or equal to the specified version will wipe the managed app and the associated company data. + * + * @return string|null The minimumWipeOsVersion + */ + public function getMinimumWipeOsVersion() + { + if (array_key_exists("minimumWipeOsVersion", $this->_propDict)) { + return $this->_propDict["minimumWipeOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWipeOsVersion + * Versions less than or equal to the specified version will wipe the managed app and the associated company data. + * + * @param string $val The minimumWipeOsVersion + * + * @return ManagedAppProtection + */ + public function setMinimumWipeOsVersion($val) + { + $this->_propDict["minimumWipeOsVersion"] = $val; + return $this; + } + + /** + * Gets the mobileThreatDefenseRemediationAction + * Determines what action to take if the mobile threat defense threat threshold isn't met. Warn isn't a supported value for this property. Possible values are: block, wipe, warn. + * + * @return ManagedAppRemediationAction|null The mobileThreatDefenseRemediationAction + */ + public function getMobileThreatDefenseRemediationAction() + { + if (array_key_exists("mobileThreatDefenseRemediationAction", $this->_propDict)) { + if (is_a($this->_propDict["mobileThreatDefenseRemediationAction"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["mobileThreatDefenseRemediationAction"])) { + return $this->_propDict["mobileThreatDefenseRemediationAction"]; + } else { + $this->_propDict["mobileThreatDefenseRemediationAction"] = new ManagedAppRemediationAction($this->_propDict["mobileThreatDefenseRemediationAction"]); + return $this->_propDict["mobileThreatDefenseRemediationAction"]; + } + } + return null; + } + + /** + * Sets the mobileThreatDefenseRemediationAction + * Determines what action to take if the mobile threat defense threat threshold isn't met. Warn isn't a supported value for this property. Possible values are: block, wipe, warn. + * + * @param ManagedAppRemediationAction $val The mobileThreatDefenseRemediationAction + * + * @return ManagedAppProtection + */ + public function setMobileThreatDefenseRemediationAction($val) + { + $this->_propDict["mobileThreatDefenseRemediationAction"] = $val; + return $this; + } + + /** + * Gets the notificationRestriction + * Specify app notification restriction. Possible values are: allow, blockOrganizationalData, block. + * + * @return ManagedAppNotificationRestriction|null The notificationRestriction + */ + public function getNotificationRestriction() + { + if (array_key_exists("notificationRestriction", $this->_propDict)) { + if (is_a($this->_propDict["notificationRestriction"], "\Beta\Microsoft\Graph\Model\ManagedAppNotificationRestriction") || is_null($this->_propDict["notificationRestriction"])) { + return $this->_propDict["notificationRestriction"]; + } else { + $this->_propDict["notificationRestriction"] = new ManagedAppNotificationRestriction($this->_propDict["notificationRestriction"]); + return $this->_propDict["notificationRestriction"]; + } + } + return null; + } + + /** + * Sets the notificationRestriction + * Specify app notification restriction. Possible values are: allow, blockOrganizationalData, block. + * + * @param ManagedAppNotificationRestriction $val The notificationRestriction + * + * @return ManagedAppProtection + */ + public function setNotificationRestriction($val) + { + $this->_propDict["notificationRestriction"] = $val; + return $this; + } + + /** + * Gets the organizationalCredentialsRequired + * Indicates whether organizational credentials are required for app use. + * + * @return bool|null The organizationalCredentialsRequired + */ + public function getOrganizationalCredentialsRequired() + { + if (array_key_exists("organizationalCredentialsRequired", $this->_propDict)) { + return $this->_propDict["organizationalCredentialsRequired"]; + } else { + return null; + } + } + + /** + * Sets the organizationalCredentialsRequired + * Indicates whether organizational credentials are required for app use. + * + * @param bool $val The organizationalCredentialsRequired + * + * @return ManagedAppProtection + */ + public function setOrganizationalCredentialsRequired($val) + { + $this->_propDict["organizationalCredentialsRequired"] = boolval($val); + return $this; + } + + /** + * Gets the periodBeforePinReset + * TimePeriod before the all-level pin must be reset if PinRequired is set to True. + * + * @return \DateInterval|null The periodBeforePinReset + */ + public function getPeriodBeforePinReset() + { + if (array_key_exists("periodBeforePinReset", $this->_propDict)) { + if (is_a($this->_propDict["periodBeforePinReset"], "\DateInterval") || is_null($this->_propDict["periodBeforePinReset"])) { + return $this->_propDict["periodBeforePinReset"]; + } else { + $this->_propDict["periodBeforePinReset"] = new \DateInterval($this->_propDict["periodBeforePinReset"]); + return $this->_propDict["periodBeforePinReset"]; + } + } + return null; + } + + /** + * Sets the periodBeforePinReset + * TimePeriod before the all-level pin must be reset if PinRequired is set to True. + * + * @param \DateInterval $val The periodBeforePinReset + * + * @return ManagedAppProtection + */ + public function setPeriodBeforePinReset($val) + { + $this->_propDict["periodBeforePinReset"] = $val; + return $this; + } + + /** + * Gets the periodOfflineBeforeAccessCheck + * The period after which access is checked when the device is not connected to the internet. + * + * @return \DateInterval|null The periodOfflineBeforeAccessCheck + */ + public function getPeriodOfflineBeforeAccessCheck() + { + if (array_key_exists("periodOfflineBeforeAccessCheck", $this->_propDict)) { + if (is_a($this->_propDict["periodOfflineBeforeAccessCheck"], "\DateInterval") || is_null($this->_propDict["periodOfflineBeforeAccessCheck"])) { + return $this->_propDict["periodOfflineBeforeAccessCheck"]; + } else { + $this->_propDict["periodOfflineBeforeAccessCheck"] = new \DateInterval($this->_propDict["periodOfflineBeforeAccessCheck"]); + return $this->_propDict["periodOfflineBeforeAccessCheck"]; + } + } + return null; + } + + /** + * Sets the periodOfflineBeforeAccessCheck + * The period after which access is checked when the device is not connected to the internet. + * + * @param \DateInterval $val The periodOfflineBeforeAccessCheck + * + * @return ManagedAppProtection + */ + public function setPeriodOfflineBeforeAccessCheck($val) + { + $this->_propDict["periodOfflineBeforeAccessCheck"] = $val; + return $this; + } + + /** + * Gets the periodOfflineBeforeWipeIsEnforced + * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. + * + * @return \DateInterval|null The periodOfflineBeforeWipeIsEnforced + */ + public function getPeriodOfflineBeforeWipeIsEnforced() + { + if (array_key_exists("periodOfflineBeforeWipeIsEnforced", $this->_propDict)) { + if (is_a($this->_propDict["periodOfflineBeforeWipeIsEnforced"], "\DateInterval") || is_null($this->_propDict["periodOfflineBeforeWipeIsEnforced"])) { + return $this->_propDict["periodOfflineBeforeWipeIsEnforced"]; + } else { + $this->_propDict["periodOfflineBeforeWipeIsEnforced"] = new \DateInterval($this->_propDict["periodOfflineBeforeWipeIsEnforced"]); + return $this->_propDict["periodOfflineBeforeWipeIsEnforced"]; + } + } + return null; + } + + /** + * Sets the periodOfflineBeforeWipeIsEnforced + * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. + * + * @param \DateInterval $val The periodOfflineBeforeWipeIsEnforced + * + * @return ManagedAppProtection + */ + public function setPeriodOfflineBeforeWipeIsEnforced($val) + { + $this->_propDict["periodOfflineBeforeWipeIsEnforced"] = $val; + return $this; + } + + /** + * Gets the periodOnlineBeforeAccessCheck + * The period after which access is checked when the device is connected to the internet. + * + * @return \DateInterval|null The periodOnlineBeforeAccessCheck + */ + public function getPeriodOnlineBeforeAccessCheck() + { + if (array_key_exists("periodOnlineBeforeAccessCheck", $this->_propDict)) { + if (is_a($this->_propDict["periodOnlineBeforeAccessCheck"], "\DateInterval") || is_null($this->_propDict["periodOnlineBeforeAccessCheck"])) { + return $this->_propDict["periodOnlineBeforeAccessCheck"]; + } else { + $this->_propDict["periodOnlineBeforeAccessCheck"] = new \DateInterval($this->_propDict["periodOnlineBeforeAccessCheck"]); + return $this->_propDict["periodOnlineBeforeAccessCheck"]; + } + } + return null; + } + + /** + * Sets the periodOnlineBeforeAccessCheck + * The period after which access is checked when the device is connected to the internet. + * + * @param \DateInterval $val The periodOnlineBeforeAccessCheck + * + * @return ManagedAppProtection + */ + public function setPeriodOnlineBeforeAccessCheck($val) + { + $this->_propDict["periodOnlineBeforeAccessCheck"] = $val; + return $this; + } + + /** + * Gets the pinCharacterSet + * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. + * + * @return ManagedAppPinCharacterSet|null The pinCharacterSet + */ + public function getPinCharacterSet() + { + if (array_key_exists("pinCharacterSet", $this->_propDict)) { + if (is_a($this->_propDict["pinCharacterSet"], "\Beta\Microsoft\Graph\Model\ManagedAppPinCharacterSet") || is_null($this->_propDict["pinCharacterSet"])) { + return $this->_propDict["pinCharacterSet"]; + } else { + $this->_propDict["pinCharacterSet"] = new ManagedAppPinCharacterSet($this->_propDict["pinCharacterSet"]); + return $this->_propDict["pinCharacterSet"]; + } + } + return null; + } + + /** + * Sets the pinCharacterSet + * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. + * + * @param ManagedAppPinCharacterSet $val The pinCharacterSet + * + * @return ManagedAppProtection + */ + public function setPinCharacterSet($val) + { + $this->_propDict["pinCharacterSet"] = $val; + return $this; + } + + /** + * Gets the pinRequired + * Indicates whether an app-level pin is required. + * + * @return bool|null The pinRequired + */ + public function getPinRequired() + { + if (array_key_exists("pinRequired", $this->_propDict)) { + return $this->_propDict["pinRequired"]; + } else { + return null; + } + } + + /** + * Sets the pinRequired + * Indicates whether an app-level pin is required. + * + * @param bool $val The pinRequired + * + * @return ManagedAppProtection + */ + public function setPinRequired($val) + { + $this->_propDict["pinRequired"] = boolval($val); + return $this; + } + + /** + * Gets the pinRequiredInsteadOfBiometricTimeout + * Timeout in minutes for an app pin instead of non biometrics passcode + * + * @return \DateInterval|null The pinRequiredInsteadOfBiometricTimeout + */ + public function getPinRequiredInsteadOfBiometricTimeout() + { + if (array_key_exists("pinRequiredInsteadOfBiometricTimeout", $this->_propDict)) { + if (is_a($this->_propDict["pinRequiredInsteadOfBiometricTimeout"], "\DateInterval") || is_null($this->_propDict["pinRequiredInsteadOfBiometricTimeout"])) { + return $this->_propDict["pinRequiredInsteadOfBiometricTimeout"]; + } else { + $this->_propDict["pinRequiredInsteadOfBiometricTimeout"] = new \DateInterval($this->_propDict["pinRequiredInsteadOfBiometricTimeout"]); + return $this->_propDict["pinRequiredInsteadOfBiometricTimeout"]; + } + } + return null; + } + + /** + * Sets the pinRequiredInsteadOfBiometricTimeout + * Timeout in minutes for an app pin instead of non biometrics passcode + * + * @param \DateInterval $val The pinRequiredInsteadOfBiometricTimeout + * + * @return ManagedAppProtection + */ + public function setPinRequiredInsteadOfBiometricTimeout($val) + { + $this->_propDict["pinRequiredInsteadOfBiometricTimeout"] = $val; + return $this; + } + + /** + * Gets the previousPinBlockCount + * Requires a pin to be unique from the number specified in this property. + * + * @return int|null The previousPinBlockCount + */ + public function getPreviousPinBlockCount() + { + if (array_key_exists("previousPinBlockCount", $this->_propDict)) { + return $this->_propDict["previousPinBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the previousPinBlockCount + * Requires a pin to be unique from the number specified in this property. + * + * @param int $val The previousPinBlockCount + * + * @return ManagedAppProtection + */ + public function setPreviousPinBlockCount($val) + { + $this->_propDict["previousPinBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the printBlocked + * Indicates whether printing is allowed from managed apps. + * + * @return bool|null The printBlocked + */ + public function getPrintBlocked() + { + if (array_key_exists("printBlocked", $this->_propDict)) { + return $this->_propDict["printBlocked"]; + } else { + return null; + } + } + + /** + * Sets the printBlocked + * Indicates whether printing is allowed from managed apps. + * + * @param bool $val The printBlocked + * + * @return ManagedAppProtection + */ + public function setPrintBlocked($val) + { + $this->_propDict["printBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the saveAsBlocked + * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. + * + * @return bool|null The saveAsBlocked + */ + public function getSaveAsBlocked() + { + if (array_key_exists("saveAsBlocked", $this->_propDict)) { + return $this->_propDict["saveAsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the saveAsBlocked + * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. + * + * @param bool $val The saveAsBlocked + * + * @return ManagedAppProtection + */ + public function setSaveAsBlocked($val) + { + $this->_propDict["saveAsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the simplePinBlocked + * Indicates whether simplePin is blocked. + * + * @return bool|null The simplePinBlocked + */ + public function getSimplePinBlocked() + { + if (array_key_exists("simplePinBlocked", $this->_propDict)) { + return $this->_propDict["simplePinBlocked"]; + } else { + return null; + } + } + + /** + * Sets the simplePinBlocked + * Indicates whether simplePin is blocked. + * + * @param bool $val The simplePinBlocked + * + * @return ManagedAppProtection + */ + public function setSimplePinBlocked($val) + { + $this->_propDict["simplePinBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtectionPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtectionPolicySetItem.php new file mode 100644 index 0000000..6d081dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtectionPolicySetItem.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["targetedAppManagementLevels"]; + } else { + return null; + } + } + + /** + * Sets the targetedAppManagementLevels + * TargetedAppManagementLevels of the ManagedAppPolicySetItem. + * + * @param string $val The targetedAppManagementLevels + * + * @return ManagedAppProtectionPolicySetItem + */ + public function setTargetedAppManagementLevels($val) + { + $this->_propDict["targetedAppManagementLevels"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRegistration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRegistration.php new file mode 100644 index 0000000..8c74107 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRegistration.php @@ -0,0 +1,594 @@ +_propDict)) { + if (is_a($this->_propDict["appIdentifier"], "\Beta\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["appIdentifier"])) { + return $this->_propDict["appIdentifier"]; + } else { + $this->_propDict["appIdentifier"] = new MobileAppIdentifier($this->_propDict["appIdentifier"]); + return $this->_propDict["appIdentifier"]; + } + } + return null; + } + + /** + * Sets the appIdentifier + * The app package Identifier + * + * @param MobileAppIdentifier $val The appIdentifier + * + * @return ManagedAppRegistration + */ + public function setAppIdentifier($val) + { + $this->_propDict["appIdentifier"] = $val; + return $this; + } + + /** + * Gets the applicationVersion + * App version + * + * @return string|null The applicationVersion + */ + public function getApplicationVersion() + { + if (array_key_exists("applicationVersion", $this->_propDict)) { + return $this->_propDict["applicationVersion"]; + } else { + return null; + } + } + + /** + * Sets the applicationVersion + * App version + * + * @param string $val The applicationVersion + * + * @return ManagedAppRegistration + */ + public function setApplicationVersion($val) + { + $this->_propDict["applicationVersion"] = $val; + return $this; + } + + /** + * Gets the azureADDeviceId + * The Azure Active Directory Device identifier of the host device. Value could be empty even when the host device is Azure Active Directory registered. + * + * @return string|null The azureADDeviceId + */ + public function getAzureADDeviceId() + { + if (array_key_exists("azureADDeviceId", $this->_propDict)) { + return $this->_propDict["azureADDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureADDeviceId + * The Azure Active Directory Device identifier of the host device. Value could be empty even when the host device is Azure Active Directory registered. + * + * @param string $val The azureADDeviceId + * + * @return ManagedAppRegistration + */ + public function setAzureADDeviceId($val) + { + $this->_propDict["azureADDeviceId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of creation + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of creation + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedAppRegistration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceManufacturer + * The device manufacturer for the current app registration + * + * @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 + * The device manufacturer for the current app registration + * + * @param string $val The deviceManufacturer + * + * @return ManagedAppRegistration + */ + public function setDeviceManufacturer($val) + { + $this->_propDict["deviceManufacturer"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model for the current app registration + * + * @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 + * The device model for the current app registration + * + * @param string $val The deviceModel + * + * @return ManagedAppRegistration + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Host device name + * + * @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 + * Host device name + * + * @param string $val The deviceName + * + * @return ManagedAppRegistration + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceTag + * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. + * + * @return string|null The deviceTag + */ + public function getDeviceTag() + { + if (array_key_exists("deviceTag", $this->_propDict)) { + return $this->_propDict["deviceTag"]; + } else { + return null; + } + } + + /** + * Sets the deviceTag + * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. + * + * @param string $val The deviceTag + * + * @return ManagedAppRegistration + */ + public function setDeviceTag($val) + { + $this->_propDict["deviceTag"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Host device type + * + * @return string|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + return $this->_propDict["deviceType"]; + } else { + return null; + } + } + + /** + * Sets the deviceType + * Host device type + * + * @param string $val The deviceType + * + * @return ManagedAppRegistration + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + + /** + * Gets the flaggedReasons + * Zero or more reasons an app registration is flagged. E.g. app running on rooted device + * + * @return array|null The flaggedReasons + */ + public function getFlaggedReasons() + { + if (array_key_exists("flaggedReasons", $this->_propDict)) { + return $this->_propDict["flaggedReasons"]; + } else { + return null; + } + } + + /** + * Sets the flaggedReasons + * Zero or more reasons an app registration is flagged. E.g. app running on rooted device + * + * @param ManagedAppFlaggedReason[] $val The flaggedReasons + * + * @return ManagedAppRegistration + */ + public function setFlaggedReasons($val) + { + $this->_propDict["flaggedReasons"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Date and time of last the app synced with management service. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Date and time of last the app synced with management service. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return ManagedAppRegistration + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The Managed Device identifier of the host device. Value could be empty even when the host device is managed. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The Managed Device identifier of the host device. Value could be empty even when the host device is managed. + * + * @param string $val The managedDeviceId + * + * @return ManagedAppRegistration + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the managementSdkVersion + * App management SDK version + * + * @return string|null The managementSdkVersion + */ + public function getManagementSdkVersion() + { + if (array_key_exists("managementSdkVersion", $this->_propDict)) { + return $this->_propDict["managementSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the managementSdkVersion + * App management SDK version + * + * @param string $val The managementSdkVersion + * + * @return ManagedAppRegistration + */ + public function setManagementSdkVersion($val) + { + $this->_propDict["managementSdkVersion"] = $val; + return $this; + } + + /** + * Gets the platformVersion + * Operating System version + * + * @return string|null The platformVersion + */ + public function getPlatformVersion() + { + if (array_key_exists("platformVersion", $this->_propDict)) { + return $this->_propDict["platformVersion"]; + } else { + return null; + } + } + + /** + * Sets the platformVersion + * Operating System version + * + * @param string $val The platformVersion + * + * @return ManagedAppRegistration + */ + public function setPlatformVersion($val) + { + $this->_propDict["platformVersion"] = $val; + return $this; + } + + /** + * Gets the userId + * The user Id to who this app registration belongs. + * + * @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 + * The user Id to who this app registration belongs. + * + * @param string $val The userId + * + * @return ManagedAppRegistration + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppRegistration + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the appliedPolicies + * Zero or more policys already applied on the registered app when it last synchronized with managment service. + * + * @return array|null The appliedPolicies + */ + public function getAppliedPolicies() + { + if (array_key_exists("appliedPolicies", $this->_propDict)) { + return $this->_propDict["appliedPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appliedPolicies + * Zero or more policys already applied on the registered app when it last synchronized with managment service. + * + * @param ManagedAppPolicy[] $val The appliedPolicies + * + * @return ManagedAppRegistration + */ + public function setAppliedPolicies($val) + { + $this->_propDict["appliedPolicies"] = $val; + return $this; + } + + + /** + * Gets the intendedPolicies + * Zero or more policies admin intended for the app as of now. + * + * @return array|null The intendedPolicies + */ + public function getIntendedPolicies() + { + if (array_key_exists("intendedPolicies", $this->_propDict)) { + return $this->_propDict["intendedPolicies"]; + } else { + return null; + } + } + + /** + * Sets the intendedPolicies + * Zero or more policies admin intended for the app as of now. + * + * @param ManagedAppPolicy[] $val The intendedPolicies + * + * @return ManagedAppRegistration + */ + public function setIntendedPolicies($val) + { + $this->_propDict["intendedPolicies"] = $val; + return $this; + } + + + /** + * Gets the operations + * Zero or more long running operations triggered on the app registration. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Zero or more long running operations triggered on the app registration. + * + * @param ManagedAppOperation[] $val The operations + * + * @return ManagedAppRegistration + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRemediationAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRemediationAction.php new file mode 100644 index 0000000..ea4e5dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRemediationAction.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Friendly name of the status report. + * + * @param string $val The displayName + * + * @return ManagedAppStatus + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppStatus + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppStatusRaw.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppStatusRaw.php new file mode 100644 index 0000000..6e70b22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppStatusRaw.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * Status report content. + * + * @param string $val The content + * + * @return ManagedAppStatusRaw + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedBrowserType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedBrowserType.php new file mode 100644 index 0000000..f3fdea6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedBrowserType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["cloudPcRemoteActionResults"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcRemoteActionResults + * + * @param CloudPcRemoteActionResult[] $val The cloudPcRemoteActionResults + * + * @return ManagedDevice + */ + public function setCloudPcRemoteActionResults($val) + { + $this->_propDict["cloudPcRemoteActionResults"] = $val; + return $this; + } + + /** + * Gets the aadRegistered + * Whether the device is Azure Active Directory registered. This property is read-only. + * + * @return bool|null The aadRegistered + */ + public function getAadRegistered() + { + if (array_key_exists("aadRegistered", $this->_propDict)) { + return $this->_propDict["aadRegistered"]; + } else { + return null; + } + } + + /** + * Sets the aadRegistered + * Whether the device is Azure Active Directory registered. This property is read-only. + * + * @param bool $val The aadRegistered + * + * @return ManagedDevice + */ + public function setAadRegistered($val) + { + $this->_propDict["aadRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the activationLockBypassCode + * Code that allows the Activation Lock on a device to be bypassed. This property is read-only. + * + * @return string|null The activationLockBypassCode + */ + public function getActivationLockBypassCode() + { + if (array_key_exists("activationLockBypassCode", $this->_propDict)) { + return $this->_propDict["activationLockBypassCode"]; + } else { + return null; + } + } + + /** + * Sets the activationLockBypassCode + * Code that allows the Activation Lock on a device to be bypassed. This property is read-only. + * + * @param string $val The activationLockBypassCode + * + * @return ManagedDevice + */ + public function setActivationLockBypassCode($val) + { + $this->_propDict["activationLockBypassCode"] = $val; + return $this; + } + + /** + * Gets the androidSecurityPatchLevel + * Android security patch level. This property is read-only. + * + * @return string|null The androidSecurityPatchLevel + */ + public function getAndroidSecurityPatchLevel() + { + if (array_key_exists("androidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["androidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the androidSecurityPatchLevel + * Android security patch level. This property is read-only. + * + * @param string $val The androidSecurityPatchLevel + * + * @return ManagedDevice + */ + public function setAndroidSecurityPatchLevel($val) + { + $this->_propDict["androidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the autopilotEnrolled + * Reports if the managed device is enrolled via auto-pilot. This property is read-only. + * + * @return bool|null The autopilotEnrolled + */ + public function getAutopilotEnrolled() + { + if (array_key_exists("autopilotEnrolled", $this->_propDict)) { + return $this->_propDict["autopilotEnrolled"]; + } else { + return null; + } + } + + /** + * Sets the autopilotEnrolled + * Reports if the managed device is enrolled via auto-pilot. This property is read-only. + * + * @param bool $val The autopilotEnrolled + * + * @return ManagedDevice + */ + public function setAutopilotEnrolled($val) + { + $this->_propDict["autopilotEnrolled"] = boolval($val); + return $this; + } + + /** + * Gets the azureActiveDirectoryDeviceId + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * + * @return string|null The azureActiveDirectoryDeviceId + */ + public function getAzureActiveDirectoryDeviceId() + { + if (array_key_exists("azureActiveDirectoryDeviceId", $this->_propDict)) { + return $this->_propDict["azureActiveDirectoryDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureActiveDirectoryDeviceId + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * + * @param string $val The azureActiveDirectoryDeviceId + * + * @return ManagedDevice + */ + public function setAzureActiveDirectoryDeviceId($val) + { + $this->_propDict["azureActiveDirectoryDeviceId"] = $val; + return $this; + } + + /** + * Gets the azureADDeviceId + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * + * @return string|null The azureADDeviceId + */ + public function getAzureADDeviceId() + { + if (array_key_exists("azureADDeviceId", $this->_propDict)) { + return $this->_propDict["azureADDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureADDeviceId + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * + * @param string $val The azureADDeviceId + * + * @return ManagedDevice + */ + public function setAzureADDeviceId($val) + { + $this->_propDict["azureADDeviceId"] = $val; + return $this; + } + + /** + * Gets the azureADRegistered + * Whether the device is Azure Active Directory registered. This property is read-only. + * + * @return bool|null The azureADRegistered + */ + public function getAzureADRegistered() + { + if (array_key_exists("azureADRegistered", $this->_propDict)) { + return $this->_propDict["azureADRegistered"]; + } else { + return null; + } + } + + /** + * Sets the azureADRegistered + * Whether the device is Azure Active Directory registered. This property is read-only. + * + * @param bool $val The azureADRegistered + * + * @return ManagedDevice + */ + public function setAzureADRegistered($val) + { + $this->_propDict["azureADRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the chassisType + * Chassis type of the device. This property is read-only. Possible values are: unknown, desktop, laptop, worksWorkstation, enterpriseServer, phone, tablet, mobileOther, mobileUnknown. + * + * @return ChassisType|null The chassisType + */ + public function getChassisType() + { + if (array_key_exists("chassisType", $this->_propDict)) { + if (is_a($this->_propDict["chassisType"], "\Beta\Microsoft\Graph\Model\ChassisType") || is_null($this->_propDict["chassisType"])) { + return $this->_propDict["chassisType"]; + } else { + $this->_propDict["chassisType"] = new ChassisType($this->_propDict["chassisType"]); + return $this->_propDict["chassisType"]; + } + } + return null; + } + + /** + * Sets the chassisType + * Chassis type of the device. This property is read-only. Possible values are: unknown, desktop, laptop, worksWorkstation, enterpriseServer, phone, tablet, mobileOther, mobileUnknown. + * + * @param ChassisType $val The chassisType + * + * @return ManagedDevice + */ + public function setChassisType($val) + { + $this->_propDict["chassisType"] = $val; + return $this; + } + + + /** + * Gets the chromeOSDeviceInfo + * List of properties of the ChromeOS Device. + * + * @return array|null The chromeOSDeviceInfo + */ + public function getChromeOSDeviceInfo() + { + if (array_key_exists("chromeOSDeviceInfo", $this->_propDict)) { + return $this->_propDict["chromeOSDeviceInfo"]; + } else { + return null; + } + } + + /** + * Sets the chromeOSDeviceInfo + * List of properties of the ChromeOS Device. + * + * @param ChromeOSDeviceProperty[] $val The chromeOSDeviceInfo + * + * @return ManagedDevice + */ + public function setChromeOSDeviceInfo($val) + { + $this->_propDict["chromeOSDeviceInfo"] = $val; + return $this; + } + + /** + * Gets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires. This property is read-only. + * + * @return \DateTime|null The complianceGracePeriodExpirationDateTime + */ + public function getComplianceGracePeriodExpirationDateTime() + { + if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires. This property is read-only. + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return ManagedDevice + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the complianceState + * Compliance state of the device. This property is read-only. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. + * + * @return ComplianceState|null The complianceState + */ + public function getComplianceState() + { + if (array_key_exists("complianceState", $this->_propDict)) { + if (is_a($this->_propDict["complianceState"], "\Beta\Microsoft\Graph\Model\ComplianceState") || is_null($this->_propDict["complianceState"])) { + return $this->_propDict["complianceState"]; + } else { + $this->_propDict["complianceState"] = new ComplianceState($this->_propDict["complianceState"]); + return $this->_propDict["complianceState"]; + } + } + return null; + } + + /** + * Sets the complianceState + * Compliance state of the device. This property is read-only. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. + * + * @param ComplianceState $val The complianceState + * + * @return ManagedDevice + */ + public function setComplianceState($val) + { + $this->_propDict["complianceState"] = $val; + return $this; + } + + /** + * Gets the configurationManagerClientEnabledFeatures + * ConfigrMgr client enabled features. This property is read-only. + * + * @return ConfigurationManagerClientEnabledFeatures|null The configurationManagerClientEnabledFeatures + */ + public function getConfigurationManagerClientEnabledFeatures() + { + if (array_key_exists("configurationManagerClientEnabledFeatures", $this->_propDict)) { + if (is_a($this->_propDict["configurationManagerClientEnabledFeatures"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerClientEnabledFeatures") || is_null($this->_propDict["configurationManagerClientEnabledFeatures"])) { + return $this->_propDict["configurationManagerClientEnabledFeatures"]; + } else { + $this->_propDict["configurationManagerClientEnabledFeatures"] = new ConfigurationManagerClientEnabledFeatures($this->_propDict["configurationManagerClientEnabledFeatures"]); + return $this->_propDict["configurationManagerClientEnabledFeatures"]; + } + } + return null; + } + + /** + * Sets the configurationManagerClientEnabledFeatures + * ConfigrMgr client enabled features. This property is read-only. + * + * @param ConfigurationManagerClientEnabledFeatures $val The configurationManagerClientEnabledFeatures + * + * @return ManagedDevice + */ + public function setConfigurationManagerClientEnabledFeatures($val) + { + $this->_propDict["configurationManagerClientEnabledFeatures"] = $val; + return $this; + } + + /** + * Gets the configurationManagerClientHealthState + * Configuration manager client health state, valid only for devices managed by MDM/ConfigMgr Agent + * + * @return ConfigurationManagerClientHealthState|null The configurationManagerClientHealthState + */ + public function getConfigurationManagerClientHealthState() + { + if (array_key_exists("configurationManagerClientHealthState", $this->_propDict)) { + if (is_a($this->_propDict["configurationManagerClientHealthState"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerClientHealthState") || is_null($this->_propDict["configurationManagerClientHealthState"])) { + return $this->_propDict["configurationManagerClientHealthState"]; + } else { + $this->_propDict["configurationManagerClientHealthState"] = new ConfigurationManagerClientHealthState($this->_propDict["configurationManagerClientHealthState"]); + return $this->_propDict["configurationManagerClientHealthState"]; + } + } + return null; + } + + /** + * Sets the configurationManagerClientHealthState + * Configuration manager client health state, valid only for devices managed by MDM/ConfigMgr Agent + * + * @param ConfigurationManagerClientHealthState $val The configurationManagerClientHealthState + * + * @return ManagedDevice + */ + public function setConfigurationManagerClientHealthState($val) + { + $this->_propDict["configurationManagerClientHealthState"] = $val; + return $this; + } + + /** + * Gets the configurationManagerClientInformation + * Configuration manager client information, valid only for devices managed, duel-managed or tri-managed by ConfigMgr Agent + * + * @return ConfigurationManagerClientInformation|null The configurationManagerClientInformation + */ + public function getConfigurationManagerClientInformation() + { + if (array_key_exists("configurationManagerClientInformation", $this->_propDict)) { + if (is_a($this->_propDict["configurationManagerClientInformation"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerClientInformation") || is_null($this->_propDict["configurationManagerClientInformation"])) { + return $this->_propDict["configurationManagerClientInformation"]; + } else { + $this->_propDict["configurationManagerClientInformation"] = new ConfigurationManagerClientInformation($this->_propDict["configurationManagerClientInformation"]); + return $this->_propDict["configurationManagerClientInformation"]; + } + } + return null; + } + + /** + * Sets the configurationManagerClientInformation + * Configuration manager client information, valid only for devices managed, duel-managed or tri-managed by ConfigMgr Agent + * + * @param ConfigurationManagerClientInformation $val The configurationManagerClientInformation + * + * @return ManagedDevice + */ + public function setConfigurationManagerClientInformation($val) + { + $this->_propDict["configurationManagerClientInformation"] = $val; + return $this; + } + + + /** + * Gets the deviceActionResults + * List of ComplexType deviceActionResult objects. This property is read-only. + * + * @return array|null The deviceActionResults + */ + public function getDeviceActionResults() + { + if (array_key_exists("deviceActionResults", $this->_propDict)) { + return $this->_propDict["deviceActionResults"]; + } else { + return null; + } + } + + /** + * Sets the deviceActionResults + * List of ComplexType deviceActionResult objects. This property is read-only. + * + * @param DeviceActionResult[] $val The deviceActionResults + * + * @return ManagedDevice + */ + public function setDeviceActionResults($val) + { + $this->_propDict["deviceActionResults"] = $val; + return $this; + } + + /** + * Gets the deviceCategoryDisplayName + * Device category display name. This property is read-only. + * + * @return string|null The deviceCategoryDisplayName + */ + public function getDeviceCategoryDisplayName() + { + if (array_key_exists("deviceCategoryDisplayName", $this->_propDict)) { + return $this->_propDict["deviceCategoryDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceCategoryDisplayName + * Device category display name. This property is read-only. + * + * @param string $val The deviceCategoryDisplayName + * + * @return ManagedDevice + */ + public function setDeviceCategoryDisplayName($val) + { + $this->_propDict["deviceCategoryDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceEnrollmentType + * Enrollment type of the device. This property is read-only. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @return DeviceEnrollmentType|null The deviceEnrollmentType + */ + public function getDeviceEnrollmentType() + { + if (array_key_exists("deviceEnrollmentType", $this->_propDict)) { + if (is_a($this->_propDict["deviceEnrollmentType"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentType") || is_null($this->_propDict["deviceEnrollmentType"])) { + return $this->_propDict["deviceEnrollmentType"]; + } else { + $this->_propDict["deviceEnrollmentType"] = new DeviceEnrollmentType($this->_propDict["deviceEnrollmentType"]); + return $this->_propDict["deviceEnrollmentType"]; + } + } + return null; + } + + /** + * Sets the deviceEnrollmentType + * Enrollment type of the device. This property is read-only. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @param DeviceEnrollmentType $val The deviceEnrollmentType + * + * @return ManagedDevice + */ + public function setDeviceEnrollmentType($val) + { + $this->_propDict["deviceEnrollmentType"] = $val; + return $this; + } + + /** + * Gets the deviceHealthAttestationState + * The device health attestation state. This property is read-only. + * + * @return DeviceHealthAttestationState|null The deviceHealthAttestationState + */ + public function getDeviceHealthAttestationState() + { + if (array_key_exists("deviceHealthAttestationState", $this->_propDict)) { + if (is_a($this->_propDict["deviceHealthAttestationState"], "\Beta\Microsoft\Graph\Model\DeviceHealthAttestationState") || is_null($this->_propDict["deviceHealthAttestationState"])) { + return $this->_propDict["deviceHealthAttestationState"]; + } else { + $this->_propDict["deviceHealthAttestationState"] = new DeviceHealthAttestationState($this->_propDict["deviceHealthAttestationState"]); + return $this->_propDict["deviceHealthAttestationState"]; + } + } + return null; + } + + /** + * Sets the deviceHealthAttestationState + * The device health attestation state. This property is read-only. + * + * @param DeviceHealthAttestationState $val The deviceHealthAttestationState + * + * @return ManagedDevice + */ + public function setDeviceHealthAttestationState($val) + { + $this->_propDict["deviceHealthAttestationState"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Name of the device. This property is read-only. + * + * @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 + * Name of the device. This property is read-only. + * + * @param string $val The deviceName + * + * @return ManagedDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceRegistrationState + * Device registration state. This property is read-only. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + * + * @return DeviceRegistrationState|null The deviceRegistrationState + */ + public function getDeviceRegistrationState() + { + if (array_key_exists("deviceRegistrationState", $this->_propDict)) { + if (is_a($this->_propDict["deviceRegistrationState"], "\Beta\Microsoft\Graph\Model\DeviceRegistrationState") || is_null($this->_propDict["deviceRegistrationState"])) { + return $this->_propDict["deviceRegistrationState"]; + } else { + $this->_propDict["deviceRegistrationState"] = new DeviceRegistrationState($this->_propDict["deviceRegistrationState"]); + return $this->_propDict["deviceRegistrationState"]; + } + } + return null; + } + + /** + * Sets the deviceRegistrationState + * Device registration state. This property is read-only. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + * + * @param DeviceRegistrationState $val The deviceRegistrationState + * + * @return ManagedDevice + */ + public function setDeviceRegistrationState($val) + { + $this->_propDict["deviceRegistrationState"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Platform of the device. This property is read-only. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. + * + * @return DeviceType|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\DeviceType") || is_null($this->_propDict["deviceType"])) { + return $this->_propDict["deviceType"]; + } else { + $this->_propDict["deviceType"] = new DeviceType($this->_propDict["deviceType"]); + return $this->_propDict["deviceType"]; + } + } + return null; + } + + /** + * Sets the deviceType + * Platform of the device. This property is read-only. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. + * + * @param DeviceType $val The deviceType + * + * @return ManagedDevice + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the easActivated + * Whether the device is Exchange ActiveSync activated. This property is read-only. + * + * @return bool|null The easActivated + */ + public function getEasActivated() + { + if (array_key_exists("easActivated", $this->_propDict)) { + return $this->_propDict["easActivated"]; + } else { + return null; + } + } + + /** + * Sets the easActivated + * Whether the device is Exchange ActiveSync activated. This property is read-only. + * + * @param bool $val The easActivated + * + * @return ManagedDevice + */ + public function setEasActivated($val) + { + $this->_propDict["easActivated"] = boolval($val); + return $this; + } + + /** + * Gets the easActivationDateTime + * Exchange ActivationSync activation time of the device. This property is read-only. + * + * @return \DateTime|null The easActivationDateTime + */ + public function getEasActivationDateTime() + { + if (array_key_exists("easActivationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["easActivationDateTime"], "\DateTime") || is_null($this->_propDict["easActivationDateTime"])) { + return $this->_propDict["easActivationDateTime"]; + } else { + $this->_propDict["easActivationDateTime"] = new \DateTime($this->_propDict["easActivationDateTime"]); + return $this->_propDict["easActivationDateTime"]; + } + } + return null; + } + + /** + * Sets the easActivationDateTime + * Exchange ActivationSync activation time of the device. This property is read-only. + * + * @param \DateTime $val The easActivationDateTime + * + * @return ManagedDevice + */ + public function setEasActivationDateTime($val) + { + $this->_propDict["easActivationDateTime"] = $val; + return $this; + } + + /** + * Gets the easDeviceId + * Exchange ActiveSync Id of the device. This property is read-only. + * + * @return string|null The easDeviceId + */ + public function getEasDeviceId() + { + if (array_key_exists("easDeviceId", $this->_propDict)) { + return $this->_propDict["easDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the easDeviceId + * Exchange ActiveSync Id of the device. This property is read-only. + * + * @param string $val The easDeviceId + * + * @return ManagedDevice + */ + public function setEasDeviceId($val) + { + $this->_propDict["easDeviceId"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Email(s) for the user associated with the device. This property is read-only. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email(s) for the user associated with the device. This property is read-only. + * + * @param string $val The emailAddress + * + * @return ManagedDevice + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the enrolledDateTime + * Enrollment time of the device. This property is read-only. + * + * @return \DateTime|null The enrolledDateTime + */ + public function getEnrolledDateTime() + { + if (array_key_exists("enrolledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["enrolledDateTime"], "\DateTime") || is_null($this->_propDict["enrolledDateTime"])) { + return $this->_propDict["enrolledDateTime"]; + } else { + $this->_propDict["enrolledDateTime"] = new \DateTime($this->_propDict["enrolledDateTime"]); + return $this->_propDict["enrolledDateTime"]; + } + } + return null; + } + + /** + * Sets the enrolledDateTime + * Enrollment time of the device. This property is read-only. + * + * @param \DateTime $val The enrolledDateTime + * + * @return ManagedDevice + */ + public function setEnrolledDateTime($val) + { + $this->_propDict["enrolledDateTime"] = $val; + return $this; + } + + /** + * Gets the enrollmentProfileName + * Name of the enrollment profile assigned to the device. Default value is empty string, indicating no enrollment profile was assgined. This property is read-only. + * + * @return string|null The enrollmentProfileName + */ + public function getEnrollmentProfileName() + { + if (array_key_exists("enrollmentProfileName", $this->_propDict)) { + return $this->_propDict["enrollmentProfileName"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentProfileName + * Name of the enrollment profile assigned to the device. Default value is empty string, indicating no enrollment profile was assgined. This property is read-only. + * + * @param string $val The enrollmentProfileName + * + * @return ManagedDevice + */ + public function setEnrollmentProfileName($val) + { + $this->_propDict["enrollmentProfileName"] = $val; + return $this; + } + + /** + * Gets the ethernetMacAddress + * Ethernet MAC. This property is read-only. + * + * @return string|null The ethernetMacAddress + */ + public function getEthernetMacAddress() + { + if (array_key_exists("ethernetMacAddress", $this->_propDict)) { + return $this->_propDict["ethernetMacAddress"]; + } else { + return null; + } + } + + /** + * Sets the ethernetMacAddress + * Ethernet MAC. This property is read-only. + * + * @param string $val The ethernetMacAddress + * + * @return ManagedDevice + */ + public function setEthernetMacAddress($val) + { + $this->_propDict["ethernetMacAddress"] = $val; + return $this; + } + + /** + * Gets the exchangeAccessState + * The Access State of the device in Exchange. This property is read-only. Possible values are: none, unknown, allowed, blocked, quarantined. + * + * @return DeviceManagementExchangeAccessState|null The exchangeAccessState + */ + public function getExchangeAccessState() + { + if (array_key_exists("exchangeAccessState", $this->_propDict)) { + if (is_a($this->_propDict["exchangeAccessState"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessState") || is_null($this->_propDict["exchangeAccessState"])) { + return $this->_propDict["exchangeAccessState"]; + } else { + $this->_propDict["exchangeAccessState"] = new DeviceManagementExchangeAccessState($this->_propDict["exchangeAccessState"]); + return $this->_propDict["exchangeAccessState"]; + } + } + return null; + } + + /** + * Sets the exchangeAccessState + * The Access State of the device in Exchange. This property is read-only. Possible values are: none, unknown, allowed, blocked, quarantined. + * + * @param DeviceManagementExchangeAccessState $val The exchangeAccessState + * + * @return ManagedDevice + */ + public function setExchangeAccessState($val) + { + $this->_propDict["exchangeAccessState"] = $val; + return $this; + } + + /** + * Gets the exchangeAccessStateReason + * The reason for the device's access state in Exchange. This property is read-only. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + * + * @return DeviceManagementExchangeAccessStateReason|null The exchangeAccessStateReason + */ + public function getExchangeAccessStateReason() + { + if (array_key_exists("exchangeAccessStateReason", $this->_propDict)) { + if (is_a($this->_propDict["exchangeAccessStateReason"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessStateReason") || is_null($this->_propDict["exchangeAccessStateReason"])) { + return $this->_propDict["exchangeAccessStateReason"]; + } else { + $this->_propDict["exchangeAccessStateReason"] = new DeviceManagementExchangeAccessStateReason($this->_propDict["exchangeAccessStateReason"]); + return $this->_propDict["exchangeAccessStateReason"]; + } + } + return null; + } + + /** + * Sets the exchangeAccessStateReason + * The reason for the device's access state in Exchange. This property is read-only. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + * + * @param DeviceManagementExchangeAccessStateReason $val The exchangeAccessStateReason + * + * @return ManagedDevice + */ + public function setExchangeAccessStateReason($val) + { + $this->_propDict["exchangeAccessStateReason"] = $val; + return $this; + } + + /** + * Gets the exchangeLastSuccessfulSyncDateTime + * Last time the device contacted Exchange. This property is read-only. + * + * @return \DateTime|null The exchangeLastSuccessfulSyncDateTime + */ + public function getExchangeLastSuccessfulSyncDateTime() + { + if (array_key_exists("exchangeLastSuccessfulSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["exchangeLastSuccessfulSyncDateTime"], "\DateTime") || is_null($this->_propDict["exchangeLastSuccessfulSyncDateTime"])) { + return $this->_propDict["exchangeLastSuccessfulSyncDateTime"]; + } else { + $this->_propDict["exchangeLastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["exchangeLastSuccessfulSyncDateTime"]); + return $this->_propDict["exchangeLastSuccessfulSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the exchangeLastSuccessfulSyncDateTime + * Last time the device contacted Exchange. This property is read-only. + * + * @param \DateTime $val The exchangeLastSuccessfulSyncDateTime + * + * @return ManagedDevice + */ + public function setExchangeLastSuccessfulSyncDateTime($val) + { + $this->_propDict["exchangeLastSuccessfulSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the freeStorageSpaceInBytes + * Free Storage in Bytes. This property is read-only. + * + * @return int|null The freeStorageSpaceInBytes + */ + public function getFreeStorageSpaceInBytes() + { + if (array_key_exists("freeStorageSpaceInBytes", $this->_propDict)) { + return $this->_propDict["freeStorageSpaceInBytes"]; + } else { + return null; + } + } + + /** + * Sets the freeStorageSpaceInBytes + * Free Storage in Bytes. This property is read-only. + * + * @param int $val The freeStorageSpaceInBytes + * + * @return ManagedDevice + */ + public function setFreeStorageSpaceInBytes($val) + { + $this->_propDict["freeStorageSpaceInBytes"] = intval($val); + return $this; + } + + /** + * Gets the hardwareInformation + * The hardward details for the device. Includes information such as storage space, manufacturer, serial number, etc. This property is read-only. + * + * @return HardwareInformation|null The hardwareInformation + */ + public function getHardwareInformation() + { + if (array_key_exists("hardwareInformation", $this->_propDict)) { + if (is_a($this->_propDict["hardwareInformation"], "\Beta\Microsoft\Graph\Model\HardwareInformation") || is_null($this->_propDict["hardwareInformation"])) { + return $this->_propDict["hardwareInformation"]; + } else { + $this->_propDict["hardwareInformation"] = new HardwareInformation($this->_propDict["hardwareInformation"]); + return $this->_propDict["hardwareInformation"]; + } + } + return null; + } + + /** + * Sets the hardwareInformation + * The hardward details for the device. Includes information such as storage space, manufacturer, serial number, etc. This property is read-only. + * + * @param HardwareInformation $val The hardwareInformation + * + * @return ManagedDevice + */ + public function setHardwareInformation($val) + { + $this->_propDict["hardwareInformation"] = $val; + return $this; + } + + /** + * Gets the iccid + * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + * + * @return string|null The iccid + */ + public function getIccid() + { + if (array_key_exists("iccid", $this->_propDict)) { + return $this->_propDict["iccid"]; + } else { + return null; + } + } + + /** + * Sets the iccid + * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + * + * @param string $val The iccid + * + * @return ManagedDevice + */ + public function setIccid($val) + { + $this->_propDict["iccid"] = $val; + return $this; + } + + /** + * Gets the imei + * IMEI. This property is read-only. + * + * @return string|null The imei + */ + public function getImei() + { + if (array_key_exists("imei", $this->_propDict)) { + return $this->_propDict["imei"]; + } else { + return null; + } + } + + /** + * Sets the imei + * IMEI. This property is read-only. + * + * @param string $val The imei + * + * @return ManagedDevice + */ + public function setImei($val) + { + $this->_propDict["imei"] = $val; + return $this; + } + + /** + * Gets the isEncrypted + * Device encryption status. This property is read-only. + * + * @return bool|null The isEncrypted + */ + public function getIsEncrypted() + { + if (array_key_exists("isEncrypted", $this->_propDict)) { + return $this->_propDict["isEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the isEncrypted + * Device encryption status. This property is read-only. + * + * @param bool $val The isEncrypted + * + * @return ManagedDevice + */ + public function setIsEncrypted($val) + { + $this->_propDict["isEncrypted"] = boolval($val); + return $this; + } + + /** + * Gets the isSupervised + * Device supervised status. This property is read-only. + * + * @return bool|null The isSupervised + */ + public function getIsSupervised() + { + if (array_key_exists("isSupervised", $this->_propDict)) { + return $this->_propDict["isSupervised"]; + } else { + return null; + } + } + + /** + * Sets the isSupervised + * Device supervised status. This property is read-only. + * + * @param bool $val The isSupervised + * + * @return ManagedDevice + */ + public function setIsSupervised($val) + { + $this->_propDict["isSupervised"] = boolval($val); + return $this; + } + + /** + * Gets the jailBroken + * whether the device is jail broken or rooted. This property is read-only. + * + * @return string|null The jailBroken + */ + public function getJailBroken() + { + if (array_key_exists("jailBroken", $this->_propDict)) { + return $this->_propDict["jailBroken"]; + } else { + return null; + } + } + + /** + * Sets the jailBroken + * whether the device is jail broken or rooted. This property is read-only. + * + * @param string $val The jailBroken + * + * @return ManagedDevice + */ + public function setJailBroken($val) + { + $this->_propDict["jailBroken"] = $val; + return $this; + } + + /** + * Gets the joinType + * Device join type. Possible values are: unknown, azureADJoined, azureADRegistered, hybridAzureADJoined. + * + * @return JoinType|null The joinType + */ + public function getJoinType() + { + if (array_key_exists("joinType", $this->_propDict)) { + if (is_a($this->_propDict["joinType"], "\Beta\Microsoft\Graph\Model\JoinType") || is_null($this->_propDict["joinType"])) { + return $this->_propDict["joinType"]; + } else { + $this->_propDict["joinType"] = new JoinType($this->_propDict["joinType"]); + return $this->_propDict["joinType"]; + } + } + return null; + } + + /** + * Sets the joinType + * Device join type. Possible values are: unknown, azureADJoined, azureADRegistered, hybridAzureADJoined. + * + * @param JoinType $val The joinType + * + * @return ManagedDevice + */ + public function setJoinType($val) + { + $this->_propDict["joinType"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The date and time that the device last completed a successful sync with Intune. This property is read-only. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The date and time that the device last completed a successful sync with Intune. This property is read-only. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return ManagedDevice + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lostModeState + * Indicates if Lost mode is enabled or disabled. This property is read-only. Possible values are: disabled, enabled. + * + * @return LostModeState|null The lostModeState + */ + public function getLostModeState() + { + if (array_key_exists("lostModeState", $this->_propDict)) { + if (is_a($this->_propDict["lostModeState"], "\Beta\Microsoft\Graph\Model\LostModeState") || is_null($this->_propDict["lostModeState"])) { + return $this->_propDict["lostModeState"]; + } else { + $this->_propDict["lostModeState"] = new LostModeState($this->_propDict["lostModeState"]); + return $this->_propDict["lostModeState"]; + } + } + return null; + } + + /** + * Sets the lostModeState + * Indicates if Lost mode is enabled or disabled. This property is read-only. Possible values are: disabled, enabled. + * + * @param LostModeState $val The lostModeState + * + * @return ManagedDevice + */ + public function setLostModeState($val) + { + $this->_propDict["lostModeState"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * Automatically generated name to identify a device. Can be overwritten to a user friendly name. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * Automatically generated name to identify a device. Can be overwritten to a user friendly name. + * + * @param string $val The managedDeviceName + * + * @return ManagedDevice + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the managedDeviceOwnerType + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * + * @return ManagedDeviceOwnerType|null The managedDeviceOwnerType + */ + public function getManagedDeviceOwnerType() + { + if (array_key_exists("managedDeviceOwnerType", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceOwnerType"], "\Beta\Microsoft\Graph\Model\ManagedDeviceOwnerType") || is_null($this->_propDict["managedDeviceOwnerType"])) { + return $this->_propDict["managedDeviceOwnerType"]; + } else { + $this->_propDict["managedDeviceOwnerType"] = new ManagedDeviceOwnerType($this->_propDict["managedDeviceOwnerType"]); + return $this->_propDict["managedDeviceOwnerType"]; + } + } + return null; + } + + /** + * Sets the managedDeviceOwnerType + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * + * @param ManagedDeviceOwnerType $val The managedDeviceOwnerType + * + * @return ManagedDevice + */ + public function setManagedDeviceOwnerType($val) + { + $this->_propDict["managedDeviceOwnerType"] = $val; + return $this; + } + + /** + * Gets the managementAgent + * Management channel of the device. Intune, EAS, etc. This property is read-only. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. + * + * @return ManagementAgentType|null The managementAgent + */ + public function getManagementAgent() + { + if (array_key_exists("managementAgent", $this->_propDict)) { + if (is_a($this->_propDict["managementAgent"], "\Beta\Microsoft\Graph\Model\ManagementAgentType") || is_null($this->_propDict["managementAgent"])) { + return $this->_propDict["managementAgent"]; + } else { + $this->_propDict["managementAgent"] = new ManagementAgentType($this->_propDict["managementAgent"]); + return $this->_propDict["managementAgent"]; + } + } + return null; + } + + /** + * Sets the managementAgent + * Management channel of the device. Intune, EAS, etc. This property is read-only. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. + * + * @param ManagementAgentType $val The managementAgent + * + * @return ManagedDevice + */ + public function setManagementAgent($val) + { + $this->_propDict["managementAgent"] = $val; + return $this; + } + + /** + * Gets the managementCertificateExpirationDate + * Reports device management certificate expiration date. This property is read-only. + * + * @return \DateTime|null The managementCertificateExpirationDate + */ + public function getManagementCertificateExpirationDate() + { + if (array_key_exists("managementCertificateExpirationDate", $this->_propDict)) { + if (is_a($this->_propDict["managementCertificateExpirationDate"], "\DateTime") || is_null($this->_propDict["managementCertificateExpirationDate"])) { + return $this->_propDict["managementCertificateExpirationDate"]; + } else { + $this->_propDict["managementCertificateExpirationDate"] = new \DateTime($this->_propDict["managementCertificateExpirationDate"]); + return $this->_propDict["managementCertificateExpirationDate"]; + } + } + return null; + } + + /** + * Sets the managementCertificateExpirationDate + * Reports device management certificate expiration date. This property is read-only. + * + * @param \DateTime $val The managementCertificateExpirationDate + * + * @return ManagedDevice + */ + public function setManagementCertificateExpirationDate($val) + { + $this->_propDict["managementCertificateExpirationDate"] = $val; + return $this; + } + + /** + * Gets the managementFeatures + * Device management features. Possible values are: none, microsoftManagedDesktop. + * + * @return ManagedDeviceManagementFeatures|null The managementFeatures + */ + public function getManagementFeatures() + { + if (array_key_exists("managementFeatures", $this->_propDict)) { + if (is_a($this->_propDict["managementFeatures"], "\Beta\Microsoft\Graph\Model\ManagedDeviceManagementFeatures") || is_null($this->_propDict["managementFeatures"])) { + return $this->_propDict["managementFeatures"]; + } else { + $this->_propDict["managementFeatures"] = new ManagedDeviceManagementFeatures($this->_propDict["managementFeatures"]); + return $this->_propDict["managementFeatures"]; + } + } + return null; + } + + /** + * Sets the managementFeatures + * Device management features. Possible values are: none, microsoftManagedDesktop. + * + * @param ManagedDeviceManagementFeatures $val The managementFeatures + * + * @return ManagedDevice + */ + public function setManagementFeatures($val) + { + $this->_propDict["managementFeatures"] = $val; + return $this; + } + + /** + * Gets the managementState + * Management state of the device. This property is read-only. Possible values are: managed, retirePending, retireFailed, wipePending, wipeFailed, unhealthy, deletePending, retireIssued, wipeIssued, wipeCanceled, retireCanceled, discovered. + * + * @return ManagementState|null The managementState + */ + public function getManagementState() + { + if (array_key_exists("managementState", $this->_propDict)) { + if (is_a($this->_propDict["managementState"], "\Beta\Microsoft\Graph\Model\ManagementState") || is_null($this->_propDict["managementState"])) { + return $this->_propDict["managementState"]; + } else { + $this->_propDict["managementState"] = new ManagementState($this->_propDict["managementState"]); + return $this->_propDict["managementState"]; + } + } + return null; + } + + /** + * Sets the managementState + * Management state of the device. This property is read-only. Possible values are: managed, retirePending, retireFailed, wipePending, wipeFailed, unhealthy, deletePending, retireIssued, wipeIssued, wipeCanceled, retireCanceled, discovered. + * + * @param ManagementState $val The managementState + * + * @return ManagedDevice + */ + public function setManagementState($val) + { + $this->_propDict["managementState"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * Manufacturer of the device. This property is read-only. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Manufacturer of the device. This property is read-only. + * + * @param string $val The manufacturer + * + * @return ManagedDevice + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the meid + * MEID. This property is read-only. + * + * @return string|null The meid + */ + public function getMeid() + { + if (array_key_exists("meid", $this->_propDict)) { + return $this->_propDict["meid"]; + } else { + return null; + } + } + + /** + * Sets the meid + * MEID. This property is read-only. + * + * @param string $val The meid + * + * @return ManagedDevice + */ + public function setMeid($val) + { + $this->_propDict["meid"] = $val; + return $this; + } + + /** + * Gets the model + * Model of the device. This property is read-only. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model of the device. This property is read-only. + * + * @param string $val The model + * + * @return ManagedDevice + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes on the device created by IT Admin + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes on the device created by IT Admin + * + * @param string $val The notes + * + * @return ManagedDevice + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * Operating system of the device. Windows, iOS, etc. This property is read-only. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * Operating system of the device. Windows, iOS, etc. This property is read-only. + * + * @param string $val The operatingSystem + * + * @return ManagedDevice + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Operating system version of the device. This property is read-only. + * + * @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 + * Operating system version of the device. This property is read-only. + * + * @param string $val The osVersion + * + * @return ManagedDevice + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the ownerType + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * + * @return OwnerType|null The ownerType + */ + public function getOwnerType() + { + if (array_key_exists("ownerType", $this->_propDict)) { + if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\OwnerType") || is_null($this->_propDict["ownerType"])) { + return $this->_propDict["ownerType"]; + } else { + $this->_propDict["ownerType"] = new OwnerType($this->_propDict["ownerType"]); + return $this->_propDict["ownerType"]; + } + } + return null; + } + + /** + * Sets the ownerType + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * + * @param OwnerType $val The ownerType + * + * @return ManagedDevice + */ + public function setOwnerType($val) + { + $this->_propDict["ownerType"] = $val; + return $this; + } + + /** + * Gets the partnerReportedThreatState + * Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only. Possible values are: unknown, activated, deactivated, secured, lowSeverity, mediumSeverity, highSeverity, unresponsive, compromised, misconfigured. + * + * @return ManagedDevicePartnerReportedHealthState|null The partnerReportedThreatState + */ + public function getPartnerReportedThreatState() + { + if (array_key_exists("partnerReportedThreatState", $this->_propDict)) { + if (is_a($this->_propDict["partnerReportedThreatState"], "\Beta\Microsoft\Graph\Model\ManagedDevicePartnerReportedHealthState") || is_null($this->_propDict["partnerReportedThreatState"])) { + return $this->_propDict["partnerReportedThreatState"]; + } else { + $this->_propDict["partnerReportedThreatState"] = new ManagedDevicePartnerReportedHealthState($this->_propDict["partnerReportedThreatState"]); + return $this->_propDict["partnerReportedThreatState"]; + } + } + return null; + } + + /** + * Sets the partnerReportedThreatState + * Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only. Possible values are: unknown, activated, deactivated, secured, lowSeverity, mediumSeverity, highSeverity, unresponsive, compromised, misconfigured. + * + * @param ManagedDevicePartnerReportedHealthState $val The partnerReportedThreatState + * + * @return ManagedDevice + */ + public function setPartnerReportedThreatState($val) + { + $this->_propDict["partnerReportedThreatState"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * Phone number of the device. This property is read-only. + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * Phone number of the device. This property is read-only. + * + * @param string $val The phoneNumber + * + * @return ManagedDevice + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the physicalMemoryInBytes + * Total Memory in Bytes. This property is read-only. + * + * @return int|null The physicalMemoryInBytes + */ + public function getPhysicalMemoryInBytes() + { + if (array_key_exists("physicalMemoryInBytes", $this->_propDict)) { + return $this->_propDict["physicalMemoryInBytes"]; + } else { + return null; + } + } + + /** + * Sets the physicalMemoryInBytes + * Total Memory in Bytes. This property is read-only. + * + * @param int $val The physicalMemoryInBytes + * + * @return ManagedDevice + */ + public function setPhysicalMemoryInBytes($val) + { + $this->_propDict["physicalMemoryInBytes"] = intval($val); + return $this; + } + + /** + * Gets the preferMdmOverGroupPolicyAppliedDateTime + * Reports the DateTime the preferMdmOverGroupPolicy setting was set. When set, the Intune MDM settings will override Group Policy settings if there is a conflict. Read Only. This property is read-only. + * + * @return \DateTime|null The preferMdmOverGroupPolicyAppliedDateTime + */ + public function getPreferMdmOverGroupPolicyAppliedDateTime() + { + if (array_key_exists("preferMdmOverGroupPolicyAppliedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"], "\DateTime") || is_null($this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"])) { + return $this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"]; + } else { + $this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"] = new \DateTime($this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"]); + return $this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"]; + } + } + return null; + } + + /** + * Sets the preferMdmOverGroupPolicyAppliedDateTime + * Reports the DateTime the preferMdmOverGroupPolicy setting was set. When set, the Intune MDM settings will override Group Policy settings if there is a conflict. Read Only. This property is read-only. + * + * @param \DateTime $val The preferMdmOverGroupPolicyAppliedDateTime + * + * @return ManagedDevice + */ + public function setPreferMdmOverGroupPolicyAppliedDateTime($val) + { + $this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"] = $val; + return $this; + } + + /** + * Gets the processorArchitecture + * Processor architecture. This property is read-only. Possible values are: unknown, x86, x64, arm, arM64. + * + * @return ManagedDeviceArchitecture|null The processorArchitecture + */ + public function getProcessorArchitecture() + { + if (array_key_exists("processorArchitecture", $this->_propDict)) { + if (is_a($this->_propDict["processorArchitecture"], "\Beta\Microsoft\Graph\Model\ManagedDeviceArchitecture") || is_null($this->_propDict["processorArchitecture"])) { + return $this->_propDict["processorArchitecture"]; + } else { + $this->_propDict["processorArchitecture"] = new ManagedDeviceArchitecture($this->_propDict["processorArchitecture"]); + return $this->_propDict["processorArchitecture"]; + } + } + return null; + } + + /** + * Sets the processorArchitecture + * Processor architecture. This property is read-only. Possible values are: unknown, x86, x64, arm, arM64. + * + * @param ManagedDeviceArchitecture $val The processorArchitecture + * + * @return ManagedDevice + */ + public function setProcessorArchitecture($val) + { + $this->_propDict["processorArchitecture"] = $val; + return $this; + } + + /** + * Gets the remoteAssistanceSessionErrorDetails + * An error string that identifies issues when creating Remote Assistance session objects. This property is read-only. + * + * @return string|null The remoteAssistanceSessionErrorDetails + */ + public function getRemoteAssistanceSessionErrorDetails() + { + if (array_key_exists("remoteAssistanceSessionErrorDetails", $this->_propDict)) { + return $this->_propDict["remoteAssistanceSessionErrorDetails"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistanceSessionErrorDetails + * An error string that identifies issues when creating Remote Assistance session objects. This property is read-only. + * + * @param string $val The remoteAssistanceSessionErrorDetails + * + * @return ManagedDevice + */ + public function setRemoteAssistanceSessionErrorDetails($val) + { + $this->_propDict["remoteAssistanceSessionErrorDetails"] = $val; + return $this; + } + + /** + * Gets the remoteAssistanceSessionUrl + * Url that allows a Remote Assistance session to be established with the device. This property is read-only. + * + * @return string|null The remoteAssistanceSessionUrl + */ + public function getRemoteAssistanceSessionUrl() + { + if (array_key_exists("remoteAssistanceSessionUrl", $this->_propDict)) { + return $this->_propDict["remoteAssistanceSessionUrl"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistanceSessionUrl + * Url that allows a Remote Assistance session to be established with the device. This property is read-only. + * + * @param string $val The remoteAssistanceSessionUrl + * + * @return ManagedDevice + */ + public function setRemoteAssistanceSessionUrl($val) + { + $this->_propDict["remoteAssistanceSessionUrl"] = $val; + return $this; + } + + /** + * Gets the requireUserEnrollmentApproval + * Reports if the managed iOS device is user approval enrollment. This property is read-only. + * + * @return bool|null The requireUserEnrollmentApproval + */ + public function getRequireUserEnrollmentApproval() + { + if (array_key_exists("requireUserEnrollmentApproval", $this->_propDict)) { + return $this->_propDict["requireUserEnrollmentApproval"]; + } else { + return null; + } + } + + /** + * Sets the requireUserEnrollmentApproval + * Reports if the managed iOS device is user approval enrollment. This property is read-only. + * + * @param bool $val The requireUserEnrollmentApproval + * + * @return ManagedDevice + */ + public function setRequireUserEnrollmentApproval($val) + { + $this->_propDict["requireUserEnrollmentApproval"] = boolval($val); + return $this; + } + + /** + * Gets the retireAfterDateTime + * Indicates the time after when a device will be auto retired because of scheduled action. This property is read-only. + * + * @return \DateTime|null The retireAfterDateTime + */ + public function getRetireAfterDateTime() + { + if (array_key_exists("retireAfterDateTime", $this->_propDict)) { + if (is_a($this->_propDict["retireAfterDateTime"], "\DateTime") || is_null($this->_propDict["retireAfterDateTime"])) { + return $this->_propDict["retireAfterDateTime"]; + } else { + $this->_propDict["retireAfterDateTime"] = new \DateTime($this->_propDict["retireAfterDateTime"]); + return $this->_propDict["retireAfterDateTime"]; + } + } + return null; + } + + /** + * Sets the retireAfterDateTime + * Indicates the time after when a device will be auto retired because of scheduled action. This property is read-only. + * + * @param \DateTime $val The retireAfterDateTime + * + * @return ManagedDevice + */ + public function setRetireAfterDateTime($val) + { + $this->_propDict["retireAfterDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tag IDs for this Device instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tag IDs for this Device instance. + * + * @param string $val The roleScopeTagIds + * + * @return ManagedDevice + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * SerialNumber. This property is read-only. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * SerialNumber. This property is read-only. + * + * @param string $val The serialNumber + * + * @return ManagedDevice + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the skuFamily + * Device sku family + * + * @return string|null The skuFamily + */ + public function getSkuFamily() + { + if (array_key_exists("skuFamily", $this->_propDict)) { + return $this->_propDict["skuFamily"]; + } else { + return null; + } + } + + /** + * Sets the skuFamily + * Device sku family + * + * @param string $val The skuFamily + * + * @return ManagedDevice + */ + public function setSkuFamily($val) + { + $this->_propDict["skuFamily"] = $val; + return $this; + } + + /** + * Gets the skuNumber + * Device sku number, see also: https://docs.microsoft.com/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only. + * + * @return int|null The skuNumber + */ + public function getSkuNumber() + { + if (array_key_exists("skuNumber", $this->_propDict)) { + return $this->_propDict["skuNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuNumber + * Device sku number, see also: https://docs.microsoft.com/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only. + * + * @param int $val The skuNumber + * + * @return ManagedDevice + */ + public function setSkuNumber($val) + { + $this->_propDict["skuNumber"] = intval($val); + return $this; + } + + /** + * Gets the specificationVersion + * Specification version. This property is read-only. + * + * @return string|null The specificationVersion + */ + public function getSpecificationVersion() + { + if (array_key_exists("specificationVersion", $this->_propDict)) { + return $this->_propDict["specificationVersion"]; + } else { + return null; + } + } + + /** + * Sets the specificationVersion + * Specification version. This property is read-only. + * + * @param string $val The specificationVersion + * + * @return ManagedDevice + */ + public function setSpecificationVersion($val) + { + $this->_propDict["specificationVersion"] = $val; + return $this; + } + + /** + * Gets the subscriberCarrier + * Subscriber Carrier. This property is read-only. + * + * @return string|null The subscriberCarrier + */ + public function getSubscriberCarrier() + { + if (array_key_exists("subscriberCarrier", $this->_propDict)) { + return $this->_propDict["subscriberCarrier"]; + } else { + return null; + } + } + + /** + * Sets the subscriberCarrier + * Subscriber Carrier. This property is read-only. + * + * @param string $val The subscriberCarrier + * + * @return ManagedDevice + */ + public function setSubscriberCarrier($val) + { + $this->_propDict["subscriberCarrier"] = $val; + return $this; + } + + /** + * Gets the totalStorageSpaceInBytes + * Total Storage in Bytes. This property is read-only. + * + * @return int|null The totalStorageSpaceInBytes + */ + public function getTotalStorageSpaceInBytes() + { + if (array_key_exists("totalStorageSpaceInBytes", $this->_propDict)) { + return $this->_propDict["totalStorageSpaceInBytes"]; + } else { + return null; + } + } + + /** + * Sets the totalStorageSpaceInBytes + * Total Storage in Bytes. This property is read-only. + * + * @param int $val The totalStorageSpaceInBytes + * + * @return ManagedDevice + */ + public function setTotalStorageSpaceInBytes($val) + { + $this->_propDict["totalStorageSpaceInBytes"] = intval($val); + return $this; + } + + /** + * Gets the udid + * Unique Device Identifier for iOS and macOS devices. This property is read-only. + * + * @return string|null The udid + */ + public function getUdid() + { + if (array_key_exists("udid", $this->_propDict)) { + return $this->_propDict["udid"]; + } else { + return null; + } + } + + /** + * Sets the udid + * Unique Device Identifier for iOS and macOS devices. This property is read-only. + * + * @param string $val The udid + * + * @return ManagedDevice + */ + public function setUdid($val) + { + $this->_propDict["udid"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User display name. This property is read-only. + * + * @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 + * User display name. This property is read-only. + * + * @param string $val The userDisplayName + * + * @return ManagedDevice + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userId + * Unique Identifier for the user associated with the device. This property is read-only. + * + * @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 + * Unique Identifier for the user associated with the device. This property is read-only. + * + * @param string $val The userId + * + * @return ManagedDevice + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * Device user principal name. This property is read-only. + * + * @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 + * Device user principal name. This property is read-only. + * + * @param string $val The userPrincipalName + * + * @return ManagedDevice + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the usersLoggedOn + * Indicates the last logged on users of a device. This property is read-only. + * + * @return array|null The usersLoggedOn + */ + public function getUsersLoggedOn() + { + if (array_key_exists("usersLoggedOn", $this->_propDict)) { + return $this->_propDict["usersLoggedOn"]; + } else { + return null; + } + } + + /** + * Sets the usersLoggedOn + * Indicates the last logged on users of a device. This property is read-only. + * + * @param LoggedOnUser[] $val The usersLoggedOn + * + * @return ManagedDevice + */ + public function setUsersLoggedOn($val) + { + $this->_propDict["usersLoggedOn"] = $val; + return $this; + } + + /** + * Gets the wiFiMacAddress + * Wi-Fi MAC. This property is read-only. + * + * @return string|null The wiFiMacAddress + */ + public function getWiFiMacAddress() + { + if (array_key_exists("wiFiMacAddress", $this->_propDict)) { + return $this->_propDict["wiFiMacAddress"]; + } else { + return null; + } + } + + /** + * Sets the wiFiMacAddress + * Wi-Fi MAC. This property is read-only. + * + * @param string $val The wiFiMacAddress + * + * @return ManagedDevice + */ + public function setWiFiMacAddress($val) + { + $this->_propDict["wiFiMacAddress"] = $val; + return $this; + } + + /** + * Gets the windowsActiveMalwareCount + * Count of active malware for this windows device. This property is read-only. + * + * @return int|null The windowsActiveMalwareCount + */ + public function getWindowsActiveMalwareCount() + { + if (array_key_exists("windowsActiveMalwareCount", $this->_propDict)) { + return $this->_propDict["windowsActiveMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsActiveMalwareCount + * Count of active malware for this windows device. This property is read-only. + * + * @param int $val The windowsActiveMalwareCount + * + * @return ManagedDevice + */ + public function setWindowsActiveMalwareCount($val) + { + $this->_propDict["windowsActiveMalwareCount"] = intval($val); + return $this; + } + + /** + * Gets the windowsRemediatedMalwareCount + * Count of remediated malware for this windows device. This property is read-only. + * + * @return int|null The windowsRemediatedMalwareCount + */ + public function getWindowsRemediatedMalwareCount() + { + if (array_key_exists("windowsRemediatedMalwareCount", $this->_propDict)) { + return $this->_propDict["windowsRemediatedMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsRemediatedMalwareCount + * Count of remediated malware for this windows device. This property is read-only. + * + * @param int $val The windowsRemediatedMalwareCount + * + * @return ManagedDevice + */ + public function setWindowsRemediatedMalwareCount($val) + { + $this->_propDict["windowsRemediatedMalwareCount"] = intval($val); + return $this; + } + + + /** + * Gets the assignmentFilterEvaluationStatusDetails + * Managed device mobile app configuration states for this device. + * + * @return array|null The assignmentFilterEvaluationStatusDetails + */ + public function getAssignmentFilterEvaluationStatusDetails() + { + if (array_key_exists("assignmentFilterEvaluationStatusDetails", $this->_propDict)) { + return $this->_propDict["assignmentFilterEvaluationStatusDetails"]; + } else { + return null; + } + } + + /** + * Sets the assignmentFilterEvaluationStatusDetails + * Managed device mobile app configuration states for this device. + * + * @param AssignmentFilterEvaluationStatusDetails[] $val The assignmentFilterEvaluationStatusDetails + * + * @return ManagedDevice + */ + public function setAssignmentFilterEvaluationStatusDetails($val) + { + $this->_propDict["assignmentFilterEvaluationStatusDetails"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicyStates + * Device compliance policy states for this device. + * + * @return array|null The deviceCompliancePolicyStates + */ + public function getDeviceCompliancePolicyStates() + { + if (array_key_exists("deviceCompliancePolicyStates", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicyStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicyStates + * Device compliance policy states for this device. + * + * @param DeviceCompliancePolicyState[] $val The deviceCompliancePolicyStates + * + * @return ManagedDevice + */ + public function setDeviceCompliancePolicyStates($val) + { + $this->_propDict["deviceCompliancePolicyStates"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurationStates + * Device configuration states for this device. + * + * @return array|null The deviceConfigurationStates + */ + public function getDeviceConfigurationStates() + { + if (array_key_exists("deviceConfigurationStates", $this->_propDict)) { + return $this->_propDict["deviceConfigurationStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationStates + * Device configuration states for this device. + * + * @param DeviceConfigurationState[] $val The deviceConfigurationStates + * + * @return ManagedDevice + */ + public function setDeviceConfigurationStates($val) + { + $this->_propDict["deviceConfigurationStates"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceMobileAppConfigurationStates + * Managed device mobile app configuration states for this device. + * + * @return array|null The managedDeviceMobileAppConfigurationStates + */ + public function getManagedDeviceMobileAppConfigurationStates() + { + if (array_key_exists("managedDeviceMobileAppConfigurationStates", $this->_propDict)) { + return $this->_propDict["managedDeviceMobileAppConfigurationStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceMobileAppConfigurationStates + * Managed device mobile app configuration states for this device. + * + * @param ManagedDeviceMobileAppConfigurationState[] $val The managedDeviceMobileAppConfigurationStates + * + * @return ManagedDevice + */ + public function setManagedDeviceMobileAppConfigurationStates($val) + { + $this->_propDict["managedDeviceMobileAppConfigurationStates"] = $val; + return $this; + } + + + /** + * Gets the securityBaselineStates + * Security baseline states for this device. + * + * @return array|null The securityBaselineStates + */ + public function getSecurityBaselineStates() + { + if (array_key_exists("securityBaselineStates", $this->_propDict)) { + return $this->_propDict["securityBaselineStates"]; + } else { + return null; + } + } + + /** + * Sets the securityBaselineStates + * Security baseline states for this device. + * + * @param SecurityBaselineState[] $val The securityBaselineStates + * + * @return ManagedDevice + */ + public function setSecurityBaselineStates($val) + { + $this->_propDict["securityBaselineStates"] = $val; + return $this; + } + + + /** + * Gets the detectedApps + * All applications currently installed on the device + * + * @return array|null The detectedApps + */ + public function getDetectedApps() + { + if (array_key_exists("detectedApps", $this->_propDict)) { + return $this->_propDict["detectedApps"]; + } else { + return null; + } + } + + /** + * Sets the detectedApps + * All applications currently installed on the device + * + * @param DetectedApp[] $val The detectedApps + * + * @return ManagedDevice + */ + public function setDetectedApps($val) + { + $this->_propDict["detectedApps"] = $val; + return $this; + } + + /** + * Gets the deviceCategory + * Device category + * + * @return DeviceCategory|null The deviceCategory + */ + public function getDeviceCategory() + { + if (array_key_exists("deviceCategory", $this->_propDict)) { + if (is_a($this->_propDict["deviceCategory"], "\Beta\Microsoft\Graph\Model\DeviceCategory") || is_null($this->_propDict["deviceCategory"])) { + return $this->_propDict["deviceCategory"]; + } else { + $this->_propDict["deviceCategory"] = new DeviceCategory($this->_propDict["deviceCategory"]); + return $this->_propDict["deviceCategory"]; + } + } + return null; + } + + /** + * Sets the deviceCategory + * Device category + * + * @param DeviceCategory $val The deviceCategory + * + * @return ManagedDevice + */ + public function setDeviceCategory($val) + { + $this->_propDict["deviceCategory"] = $val; + return $this; + } + + + /** + * Gets the logCollectionRequests + * List of log collection requests + * + * @return array|null The logCollectionRequests + */ + public function getLogCollectionRequests() + { + if (array_key_exists("logCollectionRequests", $this->_propDict)) { + return $this->_propDict["logCollectionRequests"]; + } else { + return null; + } + } + + /** + * Sets the logCollectionRequests + * List of log collection requests + * + * @param DeviceLogCollectionResponse[] $val The logCollectionRequests + * + * @return ManagedDevice + */ + public function setLogCollectionRequests($val) + { + $this->_propDict["logCollectionRequests"] = $val; + return $this; + } + + + /** + * Gets the users + * The primary users associated with the managed device. + * + * @return array|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + return $this->_propDict["users"]; + } else { + return null; + } + } + + /** + * Sets the users + * The primary users associated with the managed device. + * + * @param User[] $val The users + * + * @return ManagedDevice + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } + + /** + * Gets the windowsProtectionState + * The device protection status. This property is read-only. + * + * @return WindowsProtectionState|null The windowsProtectionState + */ + public function getWindowsProtectionState() + { + if (array_key_exists("windowsProtectionState", $this->_propDict)) { + if (is_a($this->_propDict["windowsProtectionState"], "\Beta\Microsoft\Graph\Model\WindowsProtectionState") || is_null($this->_propDict["windowsProtectionState"])) { + return $this->_propDict["windowsProtectionState"]; + } else { + $this->_propDict["windowsProtectionState"] = new WindowsProtectionState($this->_propDict["windowsProtectionState"]); + return $this->_propDict["windowsProtectionState"]; + } + } + return null; + } + + /** + * Sets the windowsProtectionState + * The device protection status. This property is read-only. + * + * @param WindowsProtectionState $val The windowsProtectionState + * + * @return ManagedDevice + */ + public function setWindowsProtectionState($val) + { + $this->_propDict["windowsProtectionState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceArchitecture.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceArchitecture.php new file mode 100644 index 0000000..bb21b59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceArchitecture.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["certificateEnhancedKeyUsage"]; + } else { + return null; + } + } + + /** + * Sets the certificateEnhancedKeyUsage + * Extended key usage + * + * @param string $val The certificateEnhancedKeyUsage + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateEnhancedKeyUsage($val) + { + $this->_propDict["certificateEnhancedKeyUsage"] = $val; + return $this; + } + + /** + * Gets the certificateErrorCode + * Error code + * + * @return int|null The certificateErrorCode + */ + public function getCertificateErrorCode() + { + if (array_key_exists("certificateErrorCode", $this->_propDict)) { + return $this->_propDict["certificateErrorCode"]; + } else { + return null; + } + } + + /** + * Sets the certificateErrorCode + * Error code + * + * @param int $val The certificateErrorCode + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateErrorCode($val) + { + $this->_propDict["certificateErrorCode"] = intval($val); + return $this; + } + + /** + * Gets the certificateExpirationDateTime + * Certificate expiry date + * + * @return \DateTime|null The certificateExpirationDateTime + */ + public function getCertificateExpirationDateTime() + { + if (array_key_exists("certificateExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["certificateExpirationDateTime"], "\DateTime") || is_null($this->_propDict["certificateExpirationDateTime"])) { + return $this->_propDict["certificateExpirationDateTime"]; + } else { + $this->_propDict["certificateExpirationDateTime"] = new \DateTime($this->_propDict["certificateExpirationDateTime"]); + return $this->_propDict["certificateExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the certificateExpirationDateTime + * Certificate expiry date + * + * @param \DateTime $val The certificateExpirationDateTime + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateExpirationDateTime($val) + { + $this->_propDict["certificateExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the certificateIssuanceDateTime + * Issuance date + * + * @return \DateTime|null The certificateIssuanceDateTime + */ + public function getCertificateIssuanceDateTime() + { + if (array_key_exists("certificateIssuanceDateTime", $this->_propDict)) { + if (is_a($this->_propDict["certificateIssuanceDateTime"], "\DateTime") || is_null($this->_propDict["certificateIssuanceDateTime"])) { + return $this->_propDict["certificateIssuanceDateTime"]; + } else { + $this->_propDict["certificateIssuanceDateTime"] = new \DateTime($this->_propDict["certificateIssuanceDateTime"]); + return $this->_propDict["certificateIssuanceDateTime"]; + } + } + return null; + } + + /** + * Sets the certificateIssuanceDateTime + * Issuance date + * + * @param \DateTime $val The certificateIssuanceDateTime + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateIssuanceDateTime($val) + { + $this->_propDict["certificateIssuanceDateTime"] = $val; + return $this; + } + + /** + * Gets the certificateIssuanceState + * Issuance State. Possible values are: unknown, challengeIssued, challengeIssueFailed, requestCreationFailed, requestSubmitFailed, challengeValidationSucceeded, challengeValidationFailed, issueFailed, issuePending, issued, responseProcessingFailed, responsePending, enrollmentSucceeded, enrollmentNotNeeded, revoked, removedFromCollection, renewVerified, installFailed, installed, deleteFailed, deleted, renewalRequested, requested. + * + * @return CertificateIssuanceStates|null The certificateIssuanceState + */ + public function getCertificateIssuanceState() + { + if (array_key_exists("certificateIssuanceState", $this->_propDict)) { + if (is_a($this->_propDict["certificateIssuanceState"], "\Beta\Microsoft\Graph\Model\CertificateIssuanceStates") || is_null($this->_propDict["certificateIssuanceState"])) { + return $this->_propDict["certificateIssuanceState"]; + } else { + $this->_propDict["certificateIssuanceState"] = new CertificateIssuanceStates($this->_propDict["certificateIssuanceState"]); + return $this->_propDict["certificateIssuanceState"]; + } + } + return null; + } + + /** + * Sets the certificateIssuanceState + * Issuance State. Possible values are: unknown, challengeIssued, challengeIssueFailed, requestCreationFailed, requestSubmitFailed, challengeValidationSucceeded, challengeValidationFailed, issueFailed, issuePending, issued, responseProcessingFailed, responsePending, enrollmentSucceeded, enrollmentNotNeeded, revoked, removedFromCollection, renewVerified, installFailed, installed, deleteFailed, deleted, renewalRequested, requested. + * + * @param CertificateIssuanceStates $val The certificateIssuanceState + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateIssuanceState($val) + { + $this->_propDict["certificateIssuanceState"] = $val; + return $this; + } + + /** + * Gets the certificateIssuer + * Issuer + * + * @return string|null The certificateIssuer + */ + public function getCertificateIssuer() + { + if (array_key_exists("certificateIssuer", $this->_propDict)) { + return $this->_propDict["certificateIssuer"]; + } else { + return null; + } + } + + /** + * Sets the certificateIssuer + * Issuer + * + * @param string $val The certificateIssuer + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateIssuer($val) + { + $this->_propDict["certificateIssuer"] = $val; + return $this; + } + + /** + * Gets the certificateKeyLength + * Key length + * + * @return int|null The certificateKeyLength + */ + public function getCertificateKeyLength() + { + if (array_key_exists("certificateKeyLength", $this->_propDict)) { + return $this->_propDict["certificateKeyLength"]; + } else { + return null; + } + } + + /** + * Sets the certificateKeyLength + * Key length + * + * @param int $val The certificateKeyLength + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateKeyLength($val) + { + $this->_propDict["certificateKeyLength"] = intval($val); + return $this; + } + + /** + * Gets the certificateKeyStorageProvider + * Key Storage Provider. Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @return KeyStorageProviderOption|null The certificateKeyStorageProvider + */ + public function getCertificateKeyStorageProvider() + { + if (array_key_exists("certificateKeyStorageProvider", $this->_propDict)) { + if (is_a($this->_propDict["certificateKeyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption") || is_null($this->_propDict["certificateKeyStorageProvider"])) { + return $this->_propDict["certificateKeyStorageProvider"]; + } else { + $this->_propDict["certificateKeyStorageProvider"] = new KeyStorageProviderOption($this->_propDict["certificateKeyStorageProvider"]); + return $this->_propDict["certificateKeyStorageProvider"]; + } + } + return null; + } + + /** + * Sets the certificateKeyStorageProvider + * Key Storage Provider. Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @param KeyStorageProviderOption $val The certificateKeyStorageProvider + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateKeyStorageProvider($val) + { + $this->_propDict["certificateKeyStorageProvider"] = $val; + return $this; + } + + /** + * Gets the certificateKeyUsage + * Key usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The certificateKeyUsage + */ + public function getCertificateKeyUsage() + { + if (array_key_exists("certificateKeyUsage", $this->_propDict)) { + if (is_a($this->_propDict["certificateKeyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["certificateKeyUsage"])) { + return $this->_propDict["certificateKeyUsage"]; + } else { + $this->_propDict["certificateKeyUsage"] = new KeyUsages($this->_propDict["certificateKeyUsage"]); + return $this->_propDict["certificateKeyUsage"]; + } + } + return null; + } + + /** + * Sets the certificateKeyUsage + * Key usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The certificateKeyUsage + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateKeyUsage($val) + { + $this->_propDict["certificateKeyUsage"] = $val; + return $this; + } + + /** + * Gets the certificateLastIssuanceStateChangedDateTime + * Last certificate issuance state change + * + * @return \DateTime|null The certificateLastIssuanceStateChangedDateTime + */ + public function getCertificateLastIssuanceStateChangedDateTime() + { + if (array_key_exists("certificateLastIssuanceStateChangedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["certificateLastIssuanceStateChangedDateTime"], "\DateTime") || is_null($this->_propDict["certificateLastIssuanceStateChangedDateTime"])) { + return $this->_propDict["certificateLastIssuanceStateChangedDateTime"]; + } else { + $this->_propDict["certificateLastIssuanceStateChangedDateTime"] = new \DateTime($this->_propDict["certificateLastIssuanceStateChangedDateTime"]); + return $this->_propDict["certificateLastIssuanceStateChangedDateTime"]; + } + } + return null; + } + + /** + * Sets the certificateLastIssuanceStateChangedDateTime + * Last certificate issuance state change + * + * @param \DateTime $val The certificateLastIssuanceStateChangedDateTime + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateLastIssuanceStateChangedDateTime($val) + { + $this->_propDict["certificateLastIssuanceStateChangedDateTime"] = $val; + return $this; + } + + /** + * Gets the certificateProfileDisplayName + * Certificate profile display name + * + * @return string|null The certificateProfileDisplayName + */ + public function getCertificateProfileDisplayName() + { + if (array_key_exists("certificateProfileDisplayName", $this->_propDict)) { + return $this->_propDict["certificateProfileDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the certificateProfileDisplayName + * Certificate profile display name + * + * @param string $val The certificateProfileDisplayName + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateProfileDisplayName($val) + { + $this->_propDict["certificateProfileDisplayName"] = $val; + return $this; + } + + /** + * Gets the certificateRevokeStatus + * Revoke status. Possible values are: none, pending, issued, failed, revoked. + * + * @return CertificateRevocationStatus|null The certificateRevokeStatus + */ + public function getCertificateRevokeStatus() + { + if (array_key_exists("certificateRevokeStatus", $this->_propDict)) { + if (is_a($this->_propDict["certificateRevokeStatus"], "\Beta\Microsoft\Graph\Model\CertificateRevocationStatus") || is_null($this->_propDict["certificateRevokeStatus"])) { + return $this->_propDict["certificateRevokeStatus"]; + } else { + $this->_propDict["certificateRevokeStatus"] = new CertificateRevocationStatus($this->_propDict["certificateRevokeStatus"]); + return $this->_propDict["certificateRevokeStatus"]; + } + } + return null; + } + + /** + * Sets the certificateRevokeStatus + * Revoke status. Possible values are: none, pending, issued, failed, revoked. + * + * @param CertificateRevocationStatus $val The certificateRevokeStatus + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateRevokeStatus($val) + { + $this->_propDict["certificateRevokeStatus"] = $val; + return $this; + } + + /** + * Gets the certificateSerialNumber + * Serial number + * + * @return string|null The certificateSerialNumber + */ + public function getCertificateSerialNumber() + { + if (array_key_exists("certificateSerialNumber", $this->_propDict)) { + return $this->_propDict["certificateSerialNumber"]; + } else { + return null; + } + } + + /** + * Sets the certificateSerialNumber + * Serial number + * + * @param string $val The certificateSerialNumber + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateSerialNumber($val) + { + $this->_propDict["certificateSerialNumber"] = $val; + return $this; + } + + /** + * Gets the certificateSubjectAlternativeNameFormat + * Subject alternative name format. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The certificateSubjectAlternativeNameFormat + */ + public function getCertificateSubjectAlternativeNameFormat() + { + if (array_key_exists("certificateSubjectAlternativeNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["certificateSubjectAlternativeNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["certificateSubjectAlternativeNameFormat"])) { + return $this->_propDict["certificateSubjectAlternativeNameFormat"]; + } else { + $this->_propDict["certificateSubjectAlternativeNameFormat"] = new SubjectAlternativeNameType($this->_propDict["certificateSubjectAlternativeNameFormat"]); + return $this->_propDict["certificateSubjectAlternativeNameFormat"]; + } + } + return null; + } + + /** + * Sets the certificateSubjectAlternativeNameFormat + * Subject alternative name format. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The certificateSubjectAlternativeNameFormat + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateSubjectAlternativeNameFormat($val) + { + $this->_propDict["certificateSubjectAlternativeNameFormat"] = $val; + return $this; + } + + /** + * Gets the certificateSubjectAlternativeNameFormatString + * Subject alternative name format string for custom formats + * + * @return string|null The certificateSubjectAlternativeNameFormatString + */ + public function getCertificateSubjectAlternativeNameFormatString() + { + if (array_key_exists("certificateSubjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["certificateSubjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the certificateSubjectAlternativeNameFormatString + * Subject alternative name format string for custom formats + * + * @param string $val The certificateSubjectAlternativeNameFormatString + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateSubjectAlternativeNameFormatString($val) + { + $this->_propDict["certificateSubjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the certificateSubjectNameFormat + * Subject name format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The certificateSubjectNameFormat + */ + public function getCertificateSubjectNameFormat() + { + if (array_key_exists("certificateSubjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["certificateSubjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["certificateSubjectNameFormat"])) { + return $this->_propDict["certificateSubjectNameFormat"]; + } else { + $this->_propDict["certificateSubjectNameFormat"] = new SubjectNameFormat($this->_propDict["certificateSubjectNameFormat"]); + return $this->_propDict["certificateSubjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the certificateSubjectNameFormat + * Subject name format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The certificateSubjectNameFormat + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateSubjectNameFormat($val) + { + $this->_propDict["certificateSubjectNameFormat"] = $val; + return $this; + } + + /** + * Gets the certificateSubjectNameFormatString + * Subject name format string for custom subject name formats + * + * @return string|null The certificateSubjectNameFormatString + */ + public function getCertificateSubjectNameFormatString() + { + if (array_key_exists("certificateSubjectNameFormatString", $this->_propDict)) { + return $this->_propDict["certificateSubjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the certificateSubjectNameFormatString + * Subject name format string for custom subject name formats + * + * @param string $val The certificateSubjectNameFormatString + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateSubjectNameFormatString($val) + { + $this->_propDict["certificateSubjectNameFormatString"] = $val; + return $this; + } + + /** + * Gets the certificateThumbprint + * Thumbprint + * + * @return string|null The certificateThumbprint + */ + public function getCertificateThumbprint() + { + if (array_key_exists("certificateThumbprint", $this->_propDict)) { + return $this->_propDict["certificateThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the certificateThumbprint + * Thumbprint + * + * @param string $val The certificateThumbprint + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateThumbprint($val) + { + $this->_propDict["certificateThumbprint"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriod + * Validity period + * + * @return int|null The certificateValidityPeriod + */ + public function getCertificateValidityPeriod() + { + if (array_key_exists("certificateValidityPeriod", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriod"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriod + * Validity period + * + * @param int $val The certificateValidityPeriod + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateValidityPeriod($val) + { + $this->_propDict["certificateValidityPeriod"] = intval($val); + return $this; + } + + /** + * Gets the certificateValidityPeriodUnits + * Validity period units. Possible values are: days, months, years. + * + * @return CertificateValidityPeriodScale|null The certificateValidityPeriodUnits + */ + public function getCertificateValidityPeriodUnits() + { + if (array_key_exists("certificateValidityPeriodUnits", $this->_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodUnits"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodUnits"])) { + return $this->_propDict["certificateValidityPeriodUnits"]; + } else { + $this->_propDict["certificateValidityPeriodUnits"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodUnits"]); + return $this->_propDict["certificateValidityPeriodUnits"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodUnits + * Validity period units. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodUnits + * + * @return ManagedDeviceCertificateState + */ + public function setCertificateValidityPeriodUnits($val) + { + $this->_propDict["certificateValidityPeriodUnits"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device display name + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device display name + * + * @param string $val The deviceDisplayName + * + * @return ManagedDeviceCertificateState + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the devicePlatform + * Device platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP. + * + * @return DevicePlatformType|null The devicePlatform + */ + public function getDevicePlatform() + { + if (array_key_exists("devicePlatform", $this->_propDict)) { + if (is_a($this->_propDict["devicePlatform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["devicePlatform"])) { + return $this->_propDict["devicePlatform"]; + } else { + $this->_propDict["devicePlatform"] = new DevicePlatformType($this->_propDict["devicePlatform"]); + return $this->_propDict["devicePlatform"]; + } + } + return null; + } + + /** + * Sets the devicePlatform + * Device platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP. + * + * @param DevicePlatformType $val The devicePlatform + * + * @return ManagedDeviceCertificateState + */ + public function setDevicePlatform($val) + { + $this->_propDict["devicePlatform"] = $val; + return $this; + } + + /** + * Gets the lastCertificateStateChangeDateTime + * Last certificate issuance state change + * + * @return \DateTime|null The lastCertificateStateChangeDateTime + */ + public function getLastCertificateStateChangeDateTime() + { + if (array_key_exists("lastCertificateStateChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCertificateStateChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastCertificateStateChangeDateTime"])) { + return $this->_propDict["lastCertificateStateChangeDateTime"]; + } else { + $this->_propDict["lastCertificateStateChangeDateTime"] = new \DateTime($this->_propDict["lastCertificateStateChangeDateTime"]); + return $this->_propDict["lastCertificateStateChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCertificateStateChangeDateTime + * Last certificate issuance state change + * + * @param \DateTime $val The lastCertificateStateChangeDateTime + * + * @return ManagedDeviceCertificateState + */ + public function setLastCertificateStateChangeDateTime($val) + { + $this->_propDict["lastCertificateStateChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User display name + * + * @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 + * User display name + * + * @param string $val The userDisplayName + * + * @return ManagedDeviceCertificateState + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCleanupSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCleanupSettings.php new file mode 100644 index 0000000..37758fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCleanupSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["deviceInactivityBeforeRetirementInDays"]; + } else { + return null; + } + } + + /** + * Sets the deviceInactivityBeforeRetirementInDays + * Number of days when the device has not contacted Intune. + * + * @param string $val The value of the deviceInactivityBeforeRetirementInDays + * + * @return ManagedDeviceCleanupSettings + */ + public function setDeviceInactivityBeforeRetirementInDays($val) + { + $this->_propDict["deviceInactivityBeforeRetirementInDays"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceEncryptionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceEncryptionState.php new file mode 100644 index 0000000..ff356f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceEncryptionState.php @@ -0,0 +1,371 @@ +_propDict)) { + if (is_a($this->_propDict["advancedBitLockerStates"], "\Beta\Microsoft\Graph\Model\AdvancedBitLockerState") || is_null($this->_propDict["advancedBitLockerStates"])) { + return $this->_propDict["advancedBitLockerStates"]; + } else { + $this->_propDict["advancedBitLockerStates"] = new AdvancedBitLockerState($this->_propDict["advancedBitLockerStates"]); + return $this->_propDict["advancedBitLockerStates"]; + } + } + return null; + } + + /** + * Sets the advancedBitLockerStates + * Advanced BitLocker State. Possible values are: success, noUserConsent, osVolumeUnprotected, osVolumeTpmRequired, osVolumeTpmOnlyRequired, osVolumeTpmPinRequired, osVolumeTpmStartupKeyRequired, osVolumeTpmPinStartupKeyRequired, osVolumeEncryptionMethodMismatch, recoveryKeyBackupFailed, fixedDriveNotEncrypted, fixedDriveEncryptionMethodMismatch, loggedOnUserNonAdmin, windowsRecoveryEnvironmentNotConfigured, tpmNotAvailable, tpmNotReady, networkError. + * + * @param AdvancedBitLockerState $val The advancedBitLockerStates + * + * @return ManagedDeviceEncryptionState + */ + public function setAdvancedBitLockerStates($val) + { + $this->_propDict["advancedBitLockerStates"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name + * + * @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 + * Device name + * + * @param string $val The deviceName + * + * @return ManagedDeviceEncryptionState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Platform of the device. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, blackberry, palm, unknown. + * + * @return DeviceTypes|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\DeviceTypes") || is_null($this->_propDict["deviceType"])) { + return $this->_propDict["deviceType"]; + } else { + $this->_propDict["deviceType"] = new DeviceTypes($this->_propDict["deviceType"]); + return $this->_propDict["deviceType"]; + } + } + return null; + } + + /** + * Sets the deviceType + * Platform of the device. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, blackberry, palm, unknown. + * + * @param DeviceTypes $val The deviceType + * + * @return ManagedDeviceEncryptionState + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the encryptionPolicySettingState + * Encryption policy setting state. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The encryptionPolicySettingState + */ + public function getEncryptionPolicySettingState() + { + if (array_key_exists("encryptionPolicySettingState", $this->_propDict)) { + if (is_a($this->_propDict["encryptionPolicySettingState"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["encryptionPolicySettingState"])) { + return $this->_propDict["encryptionPolicySettingState"]; + } else { + $this->_propDict["encryptionPolicySettingState"] = new ComplianceStatus($this->_propDict["encryptionPolicySettingState"]); + return $this->_propDict["encryptionPolicySettingState"]; + } + } + return null; + } + + /** + * Sets the encryptionPolicySettingState + * Encryption policy setting state. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The encryptionPolicySettingState + * + * @return ManagedDeviceEncryptionState + */ + public function setEncryptionPolicySettingState($val) + { + $this->_propDict["encryptionPolicySettingState"] = $val; + return $this; + } + + /** + * Gets the encryptionReadinessState + * Encryption readiness state. Possible values are: notReady, ready. + * + * @return EncryptionReadinessState|null The encryptionReadinessState + */ + public function getEncryptionReadinessState() + { + if (array_key_exists("encryptionReadinessState", $this->_propDict)) { + if (is_a($this->_propDict["encryptionReadinessState"], "\Beta\Microsoft\Graph\Model\EncryptionReadinessState") || is_null($this->_propDict["encryptionReadinessState"])) { + return $this->_propDict["encryptionReadinessState"]; + } else { + $this->_propDict["encryptionReadinessState"] = new EncryptionReadinessState($this->_propDict["encryptionReadinessState"]); + return $this->_propDict["encryptionReadinessState"]; + } + } + return null; + } + + /** + * Sets the encryptionReadinessState + * Encryption readiness state. Possible values are: notReady, ready. + * + * @param EncryptionReadinessState $val The encryptionReadinessState + * + * @return ManagedDeviceEncryptionState + */ + public function setEncryptionReadinessState($val) + { + $this->_propDict["encryptionReadinessState"] = $val; + return $this; + } + + /** + * Gets the encryptionState + * Device encryption state. Possible values are: notEncrypted, encrypted. + * + * @return EncryptionState|null The encryptionState + */ + public function getEncryptionState() + { + if (array_key_exists("encryptionState", $this->_propDict)) { + if (is_a($this->_propDict["encryptionState"], "\Beta\Microsoft\Graph\Model\EncryptionState") || is_null($this->_propDict["encryptionState"])) { + return $this->_propDict["encryptionState"]; + } else { + $this->_propDict["encryptionState"] = new EncryptionState($this->_propDict["encryptionState"]); + return $this->_propDict["encryptionState"]; + } + } + return null; + } + + /** + * Sets the encryptionState + * Device encryption state. Possible values are: notEncrypted, encrypted. + * + * @param EncryptionState $val The encryptionState + * + * @return ManagedDeviceEncryptionState + */ + public function setEncryptionState($val) + { + $this->_propDict["encryptionState"] = $val; + return $this; + } + + /** + * Gets the fileVaultStates + * FileVault State. Possible values are: success, driveEncryptedByUser, userDeferredEncryption, escrowNotEnabled. + * + * @return FileVaultState|null The fileVaultStates + */ + public function getFileVaultStates() + { + if (array_key_exists("fileVaultStates", $this->_propDict)) { + if (is_a($this->_propDict["fileVaultStates"], "\Beta\Microsoft\Graph\Model\FileVaultState") || is_null($this->_propDict["fileVaultStates"])) { + return $this->_propDict["fileVaultStates"]; + } else { + $this->_propDict["fileVaultStates"] = new FileVaultState($this->_propDict["fileVaultStates"]); + return $this->_propDict["fileVaultStates"]; + } + } + return null; + } + + /** + * Sets the fileVaultStates + * FileVault State. Possible values are: success, driveEncryptedByUser, userDeferredEncryption, escrowNotEnabled. + * + * @param FileVaultState $val The fileVaultStates + * + * @return ManagedDeviceEncryptionState + */ + public function setFileVaultStates($val) + { + $this->_propDict["fileVaultStates"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Operating system version of the device + * + * @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 + * Operating system version of the device + * + * @param string $val The osVersion + * + * @return ManagedDeviceEncryptionState + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + + /** + * Gets the policyDetails + * Policy Details + * + * @return array|null The policyDetails + */ + public function getPolicyDetails() + { + if (array_key_exists("policyDetails", $this->_propDict)) { + return $this->_propDict["policyDetails"]; + } else { + return null; + } + } + + /** + * Sets the policyDetails + * Policy Details + * + * @param EncryptionReportPolicyDetails[] $val The policyDetails + * + * @return ManagedDeviceEncryptionState + */ + public function setPolicyDetails($val) + { + $this->_propDict["policyDetails"] = $val; + return $this; + } + + /** + * Gets the tpmSpecificationVersion + * Device TPM Version + * + * @return string|null The tpmSpecificationVersion + */ + public function getTpmSpecificationVersion() + { + if (array_key_exists("tpmSpecificationVersion", $this->_propDict)) { + return $this->_propDict["tpmSpecificationVersion"]; + } else { + return null; + } + } + + /** + * Sets the tpmSpecificationVersion + * Device TPM Version + * + * @param string $val The tpmSpecificationVersion + * + * @return ManagedDeviceEncryptionState + */ + public function setTpmSpecificationVersion($val) + { + $this->_propDict["tpmSpecificationVersion"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User name + * + * @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 + * User name + * + * @param string $val The userPrincipalName + * + * @return ManagedDeviceEncryptionState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceManagementFeatures.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceManagementFeatures.php new file mode 100644 index 0000000..a32b9db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceManagementFeatures.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this App configuration entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this App configuration entity. + * + * @param string $val The roleScopeTagIds + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the targetedMobileApps + * the associated app. + * + * @return string|null The targetedMobileApps + */ + public function getTargetedMobileApps() + { + if (array_key_exists("targetedMobileApps", $this->_propDict)) { + return $this->_propDict["targetedMobileApps"]; + } else { + return null; + } + } + + /** + * Sets the targetedMobileApps + * the associated app. + * + * @param string $val The targetedMobileApps + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setTargetedMobileApps($val) + { + $this->_propDict["targetedMobileApps"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of group assignemenets for app configration. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignemenets for app configration. + * + * @param ManagedDeviceMobileAppConfigurationAssignment[] $val The assignments + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * List of ManagedDeviceMobileAppConfigurationDeviceStatus. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * List of ManagedDeviceMobileAppConfigurationDeviceStatus. + * + * @param ManagedDeviceMobileAppConfigurationDeviceStatus[] $val The deviceStatuses + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the deviceStatusSummary + * App configuration device status summary. + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary|null The deviceStatusSummary + */ + public function getDeviceStatusSummary() + { + if (array_key_exists("deviceStatusSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatusSummary"], "\Beta\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationDeviceSummary") || is_null($this->_propDict["deviceStatusSummary"])) { + return $this->_propDict["deviceStatusSummary"]; + } else { + $this->_propDict["deviceStatusSummary"] = new ManagedDeviceMobileAppConfigurationDeviceSummary($this->_propDict["deviceStatusSummary"]); + return $this->_propDict["deviceStatusSummary"]; + } + } + return null; + } + + /** + * Sets the deviceStatusSummary + * App configuration device status summary. + * + * @param ManagedDeviceMobileAppConfigurationDeviceSummary $val The deviceStatusSummary + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDeviceStatusSummary($val) + { + $this->_propDict["deviceStatusSummary"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * List of ManagedDeviceMobileAppConfigurationUserStatus. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * List of ManagedDeviceMobileAppConfigurationUserStatus. + * + * @param ManagedDeviceMobileAppConfigurationUserStatus[] $val The userStatuses + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + + /** + * Gets the userStatusSummary + * App configuration user status summary. + * + * @return ManagedDeviceMobileAppConfigurationUserSummary|null The userStatusSummary + */ + public function getUserStatusSummary() + { + if (array_key_exists("userStatusSummary", $this->_propDict)) { + if (is_a($this->_propDict["userStatusSummary"], "\Beta\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationUserSummary") || is_null($this->_propDict["userStatusSummary"])) { + return $this->_propDict["userStatusSummary"]; + } else { + $this->_propDict["userStatusSummary"] = new ManagedDeviceMobileAppConfigurationUserSummary($this->_propDict["userStatusSummary"]); + return $this->_propDict["userStatusSummary"]; + } + } + return null; + } + + /** + * Sets the userStatusSummary + * App configuration user status summary. + * + * @param ManagedDeviceMobileAppConfigurationUserSummary $val The userStatusSummary + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setUserStatusSummary($val) + { + $this->_propDict["userStatusSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationAssignment.php new file mode 100644 index 0000000..1942701 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Assignment target that the T&C policy is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return ManagedDeviceMobileAppConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php new file mode 100644 index 0000000..0315c13 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php @@ -0,0 +1,271 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the platform + * Platform of the device that is being reported + * + * @return int|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + return $this->_propDict["platform"]; + } else { + return null; + } + } + + /** + * Sets the platform + * Platform of the device that is being reported + * + * @param int $val The platform + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = intval($val); + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php new file mode 100644 index 0000000..7dbda0f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of devices in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of devices in conflict + * + * @param int $val The conflictCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @return int|null The notApplicablePlatformCount + */ + public function getNotApplicablePlatformCount() + { + if (array_key_exists("notApplicablePlatformCount", $this->_propDict)) { + return $this->_propDict["notApplicablePlatformCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicablePlatformCount + * Number of not applicable devices due to mismatch platform and policy + * + * @param int $val The notApplicablePlatformCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setNotApplicablePlatformCount($val) + { + $this->_propDict["notApplicablePlatformCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending devices + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending devices + * + * @param int $val The pendingCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationPolicySetItem.php new file mode 100644 index 0000000..c284a84 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["currentValue"]; + } else { + return null; + } + } + + /** + * Sets the currentValue + * Current value of setting on device + * + * @param string $val The value of the currentValue + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setCurrentValue($val) + { + $this->_propDict["currentValue"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code for the setting + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the setting + * + * @param int $val The value of the errorCode + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the errorDescription + * Error description + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * Error description + * + * @param string $val The value of the errorDescription + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + /** + * Gets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @return string|null The instanceDisplayName + */ + public function getInstanceDisplayName() + { + if (array_key_exists("instanceDisplayName", $this->_propDict)) { + return $this->_propDict["instanceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @param string $val The value of the instanceDisplayName + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setInstanceDisplayName($val) + { + $this->_propDict["instanceDisplayName"] = $val; + return $this; + } + /** + * Gets the setting + * The setting that is being reported + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting that is being reported + * + * @param string $val The value of the setting + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + /** + * Gets the settingInstanceId + * SettingInstanceId + * + * @return string|null The settingInstanceId + */ + public function getSettingInstanceId() + { + if (array_key_exists("settingInstanceId", $this->_propDict)) { + return $this->_propDict["settingInstanceId"]; + } else { + return null; + } + } + + /** + * Sets the settingInstanceId + * SettingInstanceId + * + * @param string $val The value of the settingInstanceId + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setSettingInstanceId($val) + { + $this->_propDict["settingInstanceId"] = $val; + return $this; + } + /** + * Gets the settingName + * Localized/user friendly setting name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Localized/user friendly setting name that is being reported + * + * @param string $val The value of the settingName + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the sources + * Contributing policies + * + * @return SettingSource|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\SettingSource") || is_null($this->_propDict["sources"])) { + return $this->_propDict["sources"]; + } else { + $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]); + return $this->_propDict["sources"]; + } + } + return null; + } + + /** + * Sets the sources + * Contributing policies + * + * @param SettingSource $val The value to assign to the sources + * + * @return ManagedDeviceMobileAppConfigurationSettingState The ManagedDeviceMobileAppConfigurationSettingState + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The value to assign to the state + * + * @return ManagedDeviceMobileAppConfigurationSettingState The ManagedDeviceMobileAppConfigurationSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the userEmail + * UserEmail + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * UserEmail + * + * @param string $val The value of the userEmail + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + /** + * Gets the userId + * 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 + * UserId + * + * @param string $val The value of the userId + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userName + * UserName + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * UserName + * + * @param string $val The value of the userName + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The value of the userPrincipalName + * + * @return ManagedDeviceMobileAppConfigurationSettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationState.php new file mode 100644 index 0000000..7f19ee3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationState.php @@ -0,0 +1,266 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the policy for this policyBase + * + * @param string $val The displayName + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type that the policy applies to + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type that the policy applies to + * + * @param PolicyPlatformType $val The platformType + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Count of how many setting a policy holds + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Count of how many setting a policy holds + * + * @param int $val The settingCount + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + + /** + * Gets the settingStates + * + * @return array|null The settingStates + */ + public function getSettingStates() + { + if (array_key_exists("settingStates", $this->_propDict)) { + return $this->_propDict["settingStates"]; + } else { + return null; + } + } + + /** + * Sets the settingStates + * + * @param ManagedDeviceMobileAppConfigurationSettingState[] $val The settingStates + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setSettingStates($val) + { + $this->_propDict["settingStates"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the policy + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the policy + * + * @param ComplianceStatus $val The state + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userId + * User unique identifier, must be Guid + * + * @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 + * User unique identifier, must be Guid + * + * @param string $val The userId + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name + * + * @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 + * User Principal Name + * + * @param string $val The userPrincipalName + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the policy + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the policy + * + * @param int $val The version + * + * @return ManagedDeviceMobileAppConfigurationState + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserStatus.php new file mode 100644 index 0000000..7c5f579 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["devicesCount"]; + } else { + return null; + } + } + + /** + * Sets the devicesCount + * Devices count for that user. + * + * @param int $val The devicesCount + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setDevicesCount($val) + { + $this->_propDict["devicesCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User name of the DevicePolicyStatus. + * + * @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 + * User name of the DevicePolicyStatus. + * + * @param string $val The userDisplayName + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserSummary.php new file mode 100644 index 0000000..ba4cd11 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserSummary.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the conflictCount + * Number of users in conflict + * + * @return int|null The conflictCount + */ + public function getConflictCount() + { + if (array_key_exists("conflictCount", $this->_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of users in conflict + * + * @param int $val The conflictCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error Users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error Users + * + * @param int $val The errorCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed Users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed Users + * + * @param int $val The failedCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending Users + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending Users + * + * @param int $val The pendingCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded Users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded Users + * + * @param int $val The successCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceModelsAndManufacturers.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceModelsAndManufacturers.php new file mode 100644 index 0000000..9fc470a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceModelsAndManufacturers.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["deviceManufacturers"]; + } else { + return null; + } + } + + /** + * Sets the deviceManufacturers + * List of Manufactures for managed devices in the account + * + * @param string $val The value of the deviceManufacturers + * + * @return ManagedDeviceModelsAndManufacturers + */ + public function setDeviceManufacturers($val) + { + $this->_propDict["deviceManufacturers"] = $val; + return $this; + } + /** + * Gets the deviceModels + * List of Models for managed devices in the account + * + * @return string|null The deviceModels + */ + public function getDeviceModels() + { + if (array_key_exists("deviceModels", $this->_propDict)) { + return $this->_propDict["deviceModels"]; + } else { + return null; + } + } + + /** + * Sets the deviceModels + * List of Models for managed devices in the account + * + * @param string $val The value of the deviceModels + * + * @return ManagedDeviceModelsAndManufacturers + */ + public function setDeviceModels($val) + { + $this->_propDict["deviceModels"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOverview.php new file mode 100644 index 0000000..2a192e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOverview.php @@ -0,0 +1,246 @@ +_propDict)) { + if (is_a($this->_propDict["deviceExchangeAccessStateSummary"], "\Beta\Microsoft\Graph\Model\DeviceExchangeAccessStateSummary") || is_null($this->_propDict["deviceExchangeAccessStateSummary"])) { + return $this->_propDict["deviceExchangeAccessStateSummary"]; + } else { + $this->_propDict["deviceExchangeAccessStateSummary"] = new DeviceExchangeAccessStateSummary($this->_propDict["deviceExchangeAccessStateSummary"]); + return $this->_propDict["deviceExchangeAccessStateSummary"]; + } + } + return null; + } + + /** + * Sets the deviceExchangeAccessStateSummary + * Distribution of Exchange Access State in Intune + * + * @param DeviceExchangeAccessStateSummary $val The deviceExchangeAccessStateSummary + * + * @return ManagedDeviceOverview + */ + public function setDeviceExchangeAccessStateSummary($val) + { + $this->_propDict["deviceExchangeAccessStateSummary"] = $val; + return $this; + } + + /** + * Gets the deviceOperatingSystemSummary + * Device operating system summary. + * + * @return DeviceOperatingSystemSummary|null The deviceOperatingSystemSummary + */ + public function getDeviceOperatingSystemSummary() + { + if (array_key_exists("deviceOperatingSystemSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceOperatingSystemSummary"], "\Beta\Microsoft\Graph\Model\DeviceOperatingSystemSummary") || is_null($this->_propDict["deviceOperatingSystemSummary"])) { + return $this->_propDict["deviceOperatingSystemSummary"]; + } else { + $this->_propDict["deviceOperatingSystemSummary"] = new DeviceOperatingSystemSummary($this->_propDict["deviceOperatingSystemSummary"]); + return $this->_propDict["deviceOperatingSystemSummary"]; + } + } + return null; + } + + /** + * Sets the deviceOperatingSystemSummary + * Device operating system summary. + * + * @param DeviceOperatingSystemSummary $val The deviceOperatingSystemSummary + * + * @return ManagedDeviceOverview + */ + public function setDeviceOperatingSystemSummary($val) + { + $this->_propDict["deviceOperatingSystemSummary"] = $val; + return $this; + } + + /** + * Gets the dualEnrolledDeviceCount + * The number of devices enrolled in both MDM and EAS + * + * @return int|null The dualEnrolledDeviceCount + */ + public function getDualEnrolledDeviceCount() + { + if (array_key_exists("dualEnrolledDeviceCount", $this->_propDict)) { + return $this->_propDict["dualEnrolledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the dualEnrolledDeviceCount + * The number of devices enrolled in both MDM and EAS + * + * @param int $val The dualEnrolledDeviceCount + * + * @return ManagedDeviceOverview + */ + public function setDualEnrolledDeviceCount($val) + { + $this->_propDict["dualEnrolledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the enrolledDeviceCount + * Total enrolled device count. Does not include PC devices managed via Intune PC Agent + * + * @return int|null The enrolledDeviceCount + */ + public function getEnrolledDeviceCount() + { + if (array_key_exists("enrolledDeviceCount", $this->_propDict)) { + return $this->_propDict["enrolledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the enrolledDeviceCount + * Total enrolled device count. Does not include PC devices managed via Intune PC Agent + * + * @param int $val The enrolledDeviceCount + * + * @return ManagedDeviceOverview + */ + public function setEnrolledDeviceCount($val) + { + $this->_propDict["enrolledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified date time of device overview + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified date time of device overview + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedDeviceOverview + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceModelsAndManufacturers + * Models and Manufactures meatadata for managed devices in the account + * + * @return ManagedDeviceModelsAndManufacturers|null The managedDeviceModelsAndManufacturers + */ + public function getManagedDeviceModelsAndManufacturers() + { + if (array_key_exists("managedDeviceModelsAndManufacturers", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceModelsAndManufacturers"], "\Beta\Microsoft\Graph\Model\ManagedDeviceModelsAndManufacturers") || is_null($this->_propDict["managedDeviceModelsAndManufacturers"])) { + return $this->_propDict["managedDeviceModelsAndManufacturers"]; + } else { + $this->_propDict["managedDeviceModelsAndManufacturers"] = new ManagedDeviceModelsAndManufacturers($this->_propDict["managedDeviceModelsAndManufacturers"]); + return $this->_propDict["managedDeviceModelsAndManufacturers"]; + } + } + return null; + } + + /** + * Sets the managedDeviceModelsAndManufacturers + * Models and Manufactures meatadata for managed devices in the account + * + * @param ManagedDeviceModelsAndManufacturers $val The managedDeviceModelsAndManufacturers + * + * @return ManagedDeviceOverview + */ + public function setManagedDeviceModelsAndManufacturers($val) + { + $this->_propDict["managedDeviceModelsAndManufacturers"] = $val; + return $this; + } + + /** + * Gets the mdmEnrolledCount + * The number of devices enrolled in MDM + * + * @return int|null The mdmEnrolledCount + */ + public function getMdmEnrolledCount() + { + if (array_key_exists("mdmEnrolledCount", $this->_propDict)) { + return $this->_propDict["mdmEnrolledCount"]; + } else { + return null; + } + } + + /** + * Sets the mdmEnrolledCount + * The number of devices enrolled in MDM + * + * @param int $val The mdmEnrolledCount + * + * @return ManagedDeviceOverview + */ + public function setMdmEnrolledCount($val) + { + $this->_propDict["mdmEnrolledCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOwnerType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOwnerType.php new file mode 100644 index 0000000..a341a53 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOwnerType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application or bundle identifier of the application + * + * @param string $val The value of the appId + * + * @return ManagedDeviceReportedApp + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceSummarizedAppState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceSummarizedAppState.php new file mode 100644 index 0000000..088b095 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceSummarizedAppState.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * DeviceId of device represented by this object + * + * @param string $val The value of the deviceId + * + * @return ManagedDeviceSummarizedAppState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the summarizedAppState + * runState for the object. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @return RunState|null The summarizedAppState + */ + public function getSummarizedAppState() + { + if (array_key_exists("summarizedAppState", $this->_propDict)) { + if (is_a($this->_propDict["summarizedAppState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["summarizedAppState"])) { + return $this->_propDict["summarizedAppState"]; + } else { + $this->_propDict["summarizedAppState"] = new RunState($this->_propDict["summarizedAppState"]); + return $this->_propDict["summarizedAppState"]; + } + } + return null; + } + + /** + * Sets the summarizedAppState + * runState for the object. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The value to assign to the summarizedAppState + * + * @return ManagedDeviceSummarizedAppState The ManagedDeviceSummarizedAppState + */ + public function setSummarizedAppState($val) + { + $this->_propDict["summarizedAppState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBook.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBook.php new file mode 100644 index 0000000..dbb7b5c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBook.php @@ -0,0 +1,457 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the eBook file was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedEBook + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description. + * + * @param string $val The description + * + * @return ManagedEBook + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the eBook. + * + * @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 + * Name of the eBook. + * + * @param string $val The displayName + * + * @return ManagedEBook + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the informationUrl + * The more information Url. + * + * @return string|null The informationUrl + */ + public function getInformationUrl() + { + if (array_key_exists("informationUrl", $this->_propDict)) { + return $this->_propDict["informationUrl"]; + } else { + return null; + } + } + + /** + * Sets the informationUrl + * The more information Url. + * + * @param string $val The informationUrl + * + * @return ManagedEBook + */ + public function setInformationUrl($val) + { + $this->_propDict["informationUrl"] = $val; + return $this; + } + + /** + * Gets the largeCover + * Book cover. + * + * @return MimeContent|null The largeCover + */ + public function getLargeCover() + { + if (array_key_exists("largeCover", $this->_propDict)) { + if (is_a($this->_propDict["largeCover"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["largeCover"])) { + return $this->_propDict["largeCover"]; + } else { + $this->_propDict["largeCover"] = new MimeContent($this->_propDict["largeCover"]); + return $this->_propDict["largeCover"]; + } + } + return null; + } + + /** + * Sets the largeCover + * Book cover. + * + * @param MimeContent $val The largeCover + * + * @return ManagedEBook + */ + public function setLargeCover($val) + { + $this->_propDict["largeCover"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the eBook was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the eBook was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedEBook + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the privacyInformationUrl + * The privacy statement Url. + * + * @return string|null The privacyInformationUrl + */ + public function getPrivacyInformationUrl() + { + if (array_key_exists("privacyInformationUrl", $this->_propDict)) { + return $this->_propDict["privacyInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyInformationUrl + * The privacy statement Url. + * + * @param string $val The privacyInformationUrl + * + * @return ManagedEBook + */ + public function setPrivacyInformationUrl($val) + { + $this->_propDict["privacyInformationUrl"] = $val; + return $this; + } + + /** + * Gets the publishedDateTime + * The date and time when the eBook was published. + * + * @return \DateTime|null The publishedDateTime + */ + public function getPublishedDateTime() + { + if (array_key_exists("publishedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) { + return $this->_propDict["publishedDateTime"]; + } else { + $this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]); + return $this->_propDict["publishedDateTime"]; + } + } + return null; + } + + /** + * Sets the publishedDateTime + * The date and time when the eBook was published. + * + * @param \DateTime $val The publishedDateTime + * + * @return ManagedEBook + */ + public function setPublishedDateTime($val) + { + $this->_propDict["publishedDateTime"] = $val; + return $this; + } + + /** + * Gets the publisher + * Publisher. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Publisher. + * + * @param string $val The publisher + * + * @return ManagedEBook + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for this eBook. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for this eBook. + * + * @param ManagedEBookAssignment[] $val The assignments + * + * @return ManagedEBook + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the categories + * The list of categories for this eBook. + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The list of categories for this eBook. + * + * @param ManagedEBookCategory[] $val The categories + * + * @return ManagedEBook + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * The list of installation states for this eBook. + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * The list of installation states for this eBook. + * + * @param DeviceInstallState[] $val The deviceStates + * + * @return ManagedEBook + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + + /** + * Gets the installSummary + * Mobile App Install Summary. + * + * @return EBookInstallSummary|null The installSummary + */ + public function getInstallSummary() + { + if (array_key_exists("installSummary", $this->_propDict)) { + if (is_a($this->_propDict["installSummary"], "\Beta\Microsoft\Graph\Model\EBookInstallSummary") || is_null($this->_propDict["installSummary"])) { + return $this->_propDict["installSummary"]; + } else { + $this->_propDict["installSummary"] = new EBookInstallSummary($this->_propDict["installSummary"]); + return $this->_propDict["installSummary"]; + } + } + return null; + } + + /** + * Sets the installSummary + * Mobile App Install Summary. + * + * @param EBookInstallSummary $val The installSummary + * + * @return ManagedEBook + */ + public function setInstallSummary($val) + { + $this->_propDict["installSummary"] = $val; + return $this; + } + + + /** + * Gets the userStateSummary + * The list of installation states for this eBook. + * + * @return array|null The userStateSummary + */ + public function getUserStateSummary() + { + if (array_key_exists("userStateSummary", $this->_propDict)) { + return $this->_propDict["userStateSummary"]; + } else { + return null; + } + } + + /** + * Sets the userStateSummary + * The list of installation states for this eBook. + * + * @param UserInstallStateSummary[] $val The userStateSummary + * + * @return ManagedEBook + */ + public function setUserStateSummary($val) + { + $this->_propDict["userStateSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookAssignment.php new file mode 100644 index 0000000..0a7d29d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookAssignment.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["installIntent"], "\Beta\Microsoft\Graph\Model\InstallIntent") || is_null($this->_propDict["installIntent"])) { + return $this->_propDict["installIntent"]; + } else { + $this->_propDict["installIntent"] = new InstallIntent($this->_propDict["installIntent"]); + return $this->_propDict["installIntent"]; + } + } + return null; + } + + /** + * Sets the installIntent + * The install intent for eBook. Possible values are: available, required, uninstall, availableWithoutEnrollment. + * + * @param InstallIntent $val The installIntent + * + * @return ManagedEBookAssignment + */ + public function setInstallIntent($val) + { + $this->_propDict["installIntent"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for eBook. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for eBook. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return ManagedEBookAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookCategory.php new file mode 100644 index 0000000..5109b71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookCategory.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the eBook category. + * + * @param string $val The displayName + * + * @return ManagedEBookCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the ManagedEBookCategory was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the ManagedEBookCategory was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedEBookCategory + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSLobApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSLobApp.php new file mode 100644 index 0000000..48d752f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSLobApp.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return ManagedIOSLobApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the buildNumber + * The build number of managed iOS Line of Business (LoB) app. + * + * @return string|null The buildNumber + */ + public function getBuildNumber() + { + if (array_key_exists("buildNumber", $this->_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * The build number of managed iOS Line of Business (LoB) app. + * + * @param string $val The buildNumber + * + * @return ManagedIOSLobApp + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return ManagedIOSLobApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration time. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration time. + * + * @param \DateTime $val The expirationDateTime + * + * @return ManagedIOSLobApp + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return ManagedIOSLobApp + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedIOSLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the versionNumber + * The version number of managed iOS Line of Business (LoB) app. + * + * @return string|null The versionNumber + */ + public function getVersionNumber() + { + if (array_key_exists("versionNumber", $this->_propDict)) { + return $this->_propDict["versionNumber"]; + } else { + return null; + } + } + + /** + * Sets the versionNumber + * The version number of managed iOS Line of Business (LoB) app. + * + * @param string $val The versionNumber + * + * @return ManagedIOSLobApp + */ + public function setVersionNumber($val) + { + $this->_propDict["versionNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSStoreApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSStoreApp.php new file mode 100644 index 0000000..9a3bb1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSStoreApp.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return ManagedIOSStoreApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Apple AppStoreUrl. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Apple AppStoreUrl. + * + * @param string $val The appStoreUrl + * + * @return ManagedIOSStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The app's Bundle ID. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The app's Bundle ID. + * + * @param string $val The bundleId + * + * @return ManagedIOSStoreApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedIOSStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedInstallerStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedInstallerStatus.php new file mode 100644 index 0000000..ebed023 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedInstallerStatus.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["mobileAppIdentifier"], "\Beta\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["mobileAppIdentifier"])) { + return $this->_propDict["mobileAppIdentifier"]; + } else { + $this->_propDict["mobileAppIdentifier"] = new MobileAppIdentifier($this->_propDict["mobileAppIdentifier"]); + return $this->_propDict["mobileAppIdentifier"]; + } + } + return null; + } + + /** + * Sets the mobileAppIdentifier + * The identifier for an app with it's operating system type. + * + * @param MobileAppIdentifier $val The mobileAppIdentifier + * + * @return ManagedMobileApp + */ + public function setMobileAppIdentifier($val) + { + $this->_propDict["mobileAppIdentifier"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedMobileApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedMobileLobApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedMobileLobApp.php new file mode 100644 index 0000000..6954b35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedMobileLobApp.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["committedContentVersion"]; + } else { + return null; + } + } + + /** + * Sets the committedContentVersion + * The internal committed content version. + * + * @param string $val The committedContentVersion + * + * @return ManagedMobileLobApp + */ + public function setCommittedContentVersion($val) + { + $this->_propDict["committedContentVersion"] = $val; + return $this; + } + + /** + * Gets the fileName + * The name of the main Lob application file. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The name of the main Lob application file. + * + * @param string $val The fileName + * + * @return ManagedMobileLobApp + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the size + * The total size, including all uploaded files. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The total size, including all uploaded files. + * + * @param int $val The size + * + * @return ManagedMobileLobApp + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + + /** + * Gets the contentVersions + * The list of content versions for this app. + * + * @return array|null The contentVersions + */ + public function getContentVersions() + { + if (array_key_exists("contentVersions", $this->_propDict)) { + return $this->_propDict["contentVersions"]; + } else { + return null; + } + } + + /** + * Sets the contentVersions + * The list of content versions for this app. + * + * @param MobileAppContent[] $val The contentVersions + * + * @return ManagedMobileLobApp + */ + public function setContentVersions($val) + { + $this->_propDict["contentVersions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementAgentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementAgentType.php new file mode 100644 index 0000000..6effae2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementAgentType.php @@ -0,0 +1,46 @@ +_propDict)) { + return $this->_propDict["certificate"]; + } else { + return null; + } + } + + /** + * Sets the certificate + * The Base 64 encoded management certificate + * + * @param string $val The value of the certificate + * + * @return ManagementCertificateWithThumbprint + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + /** + * Gets the thumbprint + * The thumbprint of the management certificate + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * The thumbprint of the management certificate + * + * @param string $val The value of the thumbprint + * + * @return ManagementCertificateWithThumbprint + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementState.php new file mode 100644 index 0000000..906a91e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementState.php @@ -0,0 +1,44 @@ +_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * + * @param string $val The value of the fontColor + * + * @return MarkContent + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontSize + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * + * @param int $val The value of the fontSize + * + * @return MarkContent + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The value of the text + * + * @return MarkContent + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchLocation.php new file mode 100644 index 0000000..11a0a53 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchLocation.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["length"]; + } else { + return null; + } + } + + /** + * Sets the length + * + * @param int $val The value of the length + * + * @return MatchLocation + */ + public function setLength($val) + { + $this->_propDict["length"] = $val; + return $this; + } + /** + * Gets the offset + * + * @return int|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + return $this->_propDict["offset"]; + } else { + return null; + } + } + + /** + * Sets the offset + * + * @param int $val The value of the offset + * + * @return MatchLocation + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingDlpRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingDlpRule.php new file mode 100644 index 0000000..2bca746 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingDlpRule.php @@ -0,0 +1,244 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\DlpActionInfo") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new DlpActionInfo($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * + * @param DlpActionInfo $val The value to assign to the actions + * + * @return MatchingDlpRule The MatchingDlpRule + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + /** + * Gets the isMostRestrictive + * + * @return bool|null The isMostRestrictive + */ + public function getIsMostRestrictive() + { + if (array_key_exists("isMostRestrictive", $this->_propDict)) { + return $this->_propDict["isMostRestrictive"]; + } else { + return null; + } + } + + /** + * Sets the isMostRestrictive + * + * @param bool $val The value of the isMostRestrictive + * + * @return MatchingDlpRule + */ + public function setIsMostRestrictive($val) + { + $this->_propDict["isMostRestrictive"] = $val; + return $this; + } + /** + * Gets the policyId + * + * @return string|null The policyId + */ + public function getPolicyId() + { + if (array_key_exists("policyId", $this->_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * + * @param string $val The value of the policyId + * + * @return MatchingDlpRule + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + /** + * Gets the policyName + * + * @return string|null The policyName + */ + public function getPolicyName() + { + if (array_key_exists("policyName", $this->_propDict)) { + return $this->_propDict["policyName"]; + } else { + return null; + } + } + + /** + * Sets the policyName + * + * @param string $val The value of the policyName + * + * @return MatchingDlpRule + */ + public function setPolicyName($val) + { + $this->_propDict["policyName"] = $val; + return $this; + } + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The value of the priority + * + * @return MatchingDlpRule + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + /** + * Gets the ruleId + * + * @return string|null The ruleId + */ + public function getRuleId() + { + if (array_key_exists("ruleId", $this->_propDict)) { + return $this->_propDict["ruleId"]; + } else { + return null; + } + } + + /** + * Sets the ruleId + * + * @param string $val The value of the ruleId + * + * @return MatchingDlpRule + */ + public function setRuleId($val) + { + $this->_propDict["ruleId"] = $val; + return $this; + } + + /** + * Gets the ruleMode + * + * @return RuleMode|null The ruleMode + */ + public function getRuleMode() + { + if (array_key_exists("ruleMode", $this->_propDict)) { + if (is_a($this->_propDict["ruleMode"], "\Beta\Microsoft\Graph\Model\RuleMode") || is_null($this->_propDict["ruleMode"])) { + return $this->_propDict["ruleMode"]; + } else { + $this->_propDict["ruleMode"] = new RuleMode($this->_propDict["ruleMode"]); + return $this->_propDict["ruleMode"]; + } + } + return null; + } + + /** + * Sets the ruleMode + * + * @param RuleMode $val The value to assign to the ruleMode + * + * @return MatchingDlpRule The MatchingDlpRule + */ + public function setRuleMode($val) + { + $this->_propDict["ruleMode"] = $val; + return $this; + } + /** + * Gets the ruleName + * + * @return string|null The ruleName + */ + public function getRuleName() + { + if (array_key_exists("ruleName", $this->_propDict)) { + return $this->_propDict["ruleName"]; + } else { + return null; + } + } + + /** + * Sets the ruleName + * + * @param string $val The value of the ruleName + * + * @return MatchingDlpRule + */ + public function setRuleName($val) + { + $this->_propDict["ruleName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingLabel.php new file mode 100644 index 0000000..24f2a01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingLabel.php @@ -0,0 +1,296 @@ +_propDict)) { + if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\ApplicationMode") || is_null($this->_propDict["applicationMode"])) { + return $this->_propDict["applicationMode"]; + } else { + $this->_propDict["applicationMode"] = new ApplicationMode($this->_propDict["applicationMode"]); + return $this->_propDict["applicationMode"]; + } + } + return null; + } + + /** + * Sets the applicationMode + * + * @param ApplicationMode $val The value to assign to the applicationMode + * + * @return MatchingLabel The MatchingLabel + */ + public function setApplicationMode($val) + { + $this->_propDict["applicationMode"] = $val; + return $this; + } + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return MatchingLabel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * 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 MatchingLabel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $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 MatchingLabel + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEndpointProtectionEnabled + * + * @return bool|null The isEndpointProtectionEnabled + */ + public function getIsEndpointProtectionEnabled() + { + if (array_key_exists("isEndpointProtectionEnabled", $this->_propDict)) { + return $this->_propDict["isEndpointProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEndpointProtectionEnabled + * + * @param bool $val The value of the isEndpointProtectionEnabled + * + * @return MatchingLabel + */ + public function setIsEndpointProtectionEnabled($val) + { + $this->_propDict["isEndpointProtectionEnabled"] = $val; + return $this; + } + + /** + * Gets the labelActions + * + * @return LabelActionBase|null The labelActions + */ + public function getLabelActions() + { + if (array_key_exists("labelActions", $this->_propDict)) { + if (is_a($this->_propDict["labelActions"], "\Beta\Microsoft\Graph\Model\LabelActionBase") || is_null($this->_propDict["labelActions"])) { + return $this->_propDict["labelActions"]; + } else { + $this->_propDict["labelActions"] = new LabelActionBase($this->_propDict["labelActions"]); + return $this->_propDict["labelActions"]; + } + } + return null; + } + + /** + * Sets the labelActions + * + * @param LabelActionBase $val The value to assign to the labelActions + * + * @return MatchingLabel The MatchingLabel + */ + public function setLabelActions($val) + { + $this->_propDict["labelActions"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return MatchingLabel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the policyTip + * + * @return string|null The policyTip + */ + public function getPolicyTip() + { + if (array_key_exists("policyTip", $this->_propDict)) { + return $this->_propDict["policyTip"]; + } else { + return null; + } + } + + /** + * Sets the policyTip + * + * @param string $val The value of the policyTip + * + * @return MatchingLabel + */ + public function setPolicyTip($val) + { + $this->_propDict["policyTip"] = $val; + return $this; + } + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The value of the priority + * + * @return MatchingLabel + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + /** + * Gets the toolTip + * + * @return string|null The toolTip + */ + public function getToolTip() + { + if (array_key_exists("toolTip", $this->_propDict)) { + return $this->_propDict["toolTip"]; + } else { + return null; + } + } + + /** + * Sets the toolTip + * + * @param string $val The value of the toolTip + * + * @return MatchingLabel + */ + public function setToolTip($val) + { + $this->_propDict["toolTip"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MdmAppConfigKeyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MdmAppConfigKeyType.php new file mode 100644 index 0000000..b375e1f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MdmAppConfigKeyType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["isTranscriptionShown"]; + } else { + return null; + } + } + + /** + * Sets the isTranscriptionShown + * If a file has a transcript, this setting controls if the closed captions / transcription for the media file should be shown to people during viewing. Read-Write. + * + * @param bool $val The value of the isTranscriptionShown + * + * @return Media + */ + public function setIsTranscriptionShown($val) + { + $this->_propDict["isTranscriptionShown"] = $val; + return $this; + } + + /** + * Gets the mediaSource + * Information about the source of media. Read-only. + * + * @return MediaSource|null The mediaSource + */ + public function getMediaSource() + { + if (array_key_exists("mediaSource", $this->_propDict)) { + if (is_a($this->_propDict["mediaSource"], "\Beta\Microsoft\Graph\Model\MediaSource") || is_null($this->_propDict["mediaSource"])) { + return $this->_propDict["mediaSource"]; + } else { + $this->_propDict["mediaSource"] = new MediaSource($this->_propDict["mediaSource"]); + return $this->_propDict["mediaSource"]; + } + } + return null; + } + + /** + * Sets the mediaSource + * Information about the source of media. Read-only. + * + * @param MediaSource $val The value to assign to the mediaSource + * + * @return Media The Media + */ + public function setMediaSource($val) + { + $this->_propDict["mediaSource"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaConfig.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaConfig.php new file mode 100644 index 0000000..8299c89 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaConfig.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["removeFromDefaultAudioGroup"]; + } else { + return null; + } + } + + /** + * Sets the removeFromDefaultAudioGroup + * + * @param bool $val The value of the removeFromDefaultAudioGroup + * + * @return MediaConfig + */ + public function setRemoveFromDefaultAudioGroup($val) + { + $this->_propDict["removeFromDefaultAudioGroup"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingAustralia.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingAustralia.php new file mode 100644 index 0000000..c9aa41d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingAustralia.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingAustraliaMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingAustraliaMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Australia. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove15, agesAbove18. + * + * @param RatingAustraliaMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingAustralia The MediaContentRatingAustralia + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Australia. Possible values are: allAllowed, allBlocked, preschoolers, children, general, parentalGuidance, mature, agesAbove15, agesAbove15AdultViolence. + * + * @return RatingAustraliaTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingAustraliaTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingAustraliaTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Australia. Possible values are: allAllowed, allBlocked, preschoolers, children, general, parentalGuidance, mature, agesAbove15, agesAbove15AdultViolence. + * + * @param RatingAustraliaTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingAustralia The MediaContentRatingAustralia + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingCanada.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingCanada.php new file mode 100644 index 0000000..684e89b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingCanada.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingCanadaMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingCanadaMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Canada. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove14, agesAbove18, restricted. + * + * @param RatingCanadaMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingCanada The MediaContentRatingCanada + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Canada. Possible values are: allAllowed, allBlocked, children, childrenAbove8, general, parentalGuidance, agesAbove14, agesAbove18. + * + * @return RatingCanadaTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingCanadaTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingCanadaTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Canada. Possible values are: allAllowed, allBlocked, children, childrenAbove8, general, parentalGuidance, agesAbove14, agesAbove18. + * + * @param RatingCanadaTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingCanada The MediaContentRatingCanada + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingFrance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingFrance.php new file mode 100644 index 0000000..071aab1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingFrance.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingFranceMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingFranceMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + * + * @param RatingFranceMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingFrance The MediaContentRatingFrance + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + * + * @return RatingFranceTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingFranceTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingFranceTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + * + * @param RatingFranceTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingFrance The MediaContentRatingFrance + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingGermany.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingGermany.php new file mode 100644 index 0000000..08d012e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingGermany.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingGermanyMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingGermanyMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + * + * @param RatingGermanyMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingGermany The MediaContentRatingGermany + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + * + * @return RatingGermanyTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingGermanyTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingGermanyTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + * + * @param RatingGermanyTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingGermany The MediaContentRatingGermany + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingIreland.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingIreland.php new file mode 100644 index 0000000..60122dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingIreland.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingIrelandMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingIrelandMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove12, agesAbove15, agesAbove16, adults. + * + * @param RatingIrelandMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingIreland The MediaContentRatingIreland + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, children, youngAdults, parentalSupervision, mature. + * + * @return RatingIrelandTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingIrelandTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingIrelandTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, children, youngAdults, parentalSupervision, mature. + * + * @param RatingIrelandTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingIreland The MediaContentRatingIreland + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingJapan.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingJapan.php new file mode 100644 index 0000000..1c7525a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingJapan.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingJapanMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingJapanMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Japan. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove15, agesAbove18. + * + * @param RatingJapanMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingJapan The MediaContentRatingJapan + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Japan. Possible values are: allAllowed, allBlocked, explicitAllowed. + * + * @return RatingJapanTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingJapanTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingJapanTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Japan. Possible values are: allAllowed, allBlocked, explicitAllowed. + * + * @param RatingJapanTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingJapan The MediaContentRatingJapan + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingNewZealand.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingNewZealand.php new file mode 100644 index 0000000..9ee8886 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingNewZealand.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingNewZealandMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingNewZealandMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove13, agesAbove15, agesAbove16, agesAbove18, restricted, agesAbove16Restricted. + * + * @param RatingNewZealandMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingNewZealand The MediaContentRatingNewZealand + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, adults. + * + * @return RatingNewZealandTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingNewZealandTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingNewZealandTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, adults. + * + * @param RatingNewZealandTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingNewZealand The MediaContentRatingNewZealand + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedKingdom.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedKingdom.php new file mode 100644 index 0000000..b75f8a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedKingdom.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedKingdomMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingUnitedKingdomMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, general, universalChildren, parentalGuidance, agesAbove12Video, agesAbove12Cinema, agesAbove15, adults. + * + * @param RatingUnitedKingdomMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingUnitedKingdom The MediaContentRatingUnitedKingdom + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, caution. + * + * @return RatingUnitedKingdomTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedKingdomTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingUnitedKingdomTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, caution. + * + * @param RatingUnitedKingdomTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingUnitedKingdom The MediaContentRatingUnitedKingdom + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedStates.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedStates.php new file mode 100644 index 0000000..feb5b6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedStates.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedStatesMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingUnitedStatesMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for United States. Possible values are: allAllowed, allBlocked, general, parentalGuidance, parentalGuidance13, restricted, adults. + * + * @param RatingUnitedStatesMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingUnitedStates The MediaContentRatingUnitedStates + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for United States. Possible values are: allAllowed, allBlocked, childrenAll, childrenAbove7, general, parentalGuidance, childrenAbove14, adults. + * + * @return RatingUnitedStatesTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedStatesTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingUnitedStatesTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for United States. Possible values are: allAllowed, allBlocked, childrenAll, childrenAbove7, general, parentalGuidance, childrenAbove14, adults. + * + * @param RatingUnitedStatesTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingUnitedStates The MediaContentRatingUnitedStates + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaDirection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaDirection.php new file mode 100644 index 0000000..416d9fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaDirection.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Optional, used to uniquely identity the resource. If passed the prompt uri will be cached against this resourceId as key. + * + * @param string $val The value of the resourceId + * + * @return MediaInfo + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + /** + * Gets the uri + * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate is only supported. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate is only supported. + * + * @param string $val The value of the uri + * + * @return MediaInfo + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaPrompt.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaPrompt.php new file mode 100644 index 0000000..380dd9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaPrompt.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["loop"]; + } else { + return null; + } + } + + /** + * Sets the loop + * + * @param int $val The value of the loop + * + * @return MediaPrompt + */ + public function setLoop($val) + { + $this->_propDict["loop"] = $val; + return $this; + } + + /** + * Gets the mediaInfo + * The media information. + * + * @return MediaInfo|null The mediaInfo + */ + public function getMediaInfo() + { + if (array_key_exists("mediaInfo", $this->_propDict)) { + if (is_a($this->_propDict["mediaInfo"], "\Beta\Microsoft\Graph\Model\MediaInfo") || is_null($this->_propDict["mediaInfo"])) { + return $this->_propDict["mediaInfo"]; + } else { + $this->_propDict["mediaInfo"] = new MediaInfo($this->_propDict["mediaInfo"]); + return $this->_propDict["mediaInfo"]; + } + } + return null; + } + + /** + * Sets the mediaInfo + * The media information. + * + * @param MediaInfo $val The value to assign to the mediaInfo + * + * @return MediaPrompt The MediaPrompt + */ + public function setMediaInfo($val) + { + $this->_propDict["mediaInfo"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSource.php new file mode 100644 index 0000000..579af61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSource.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["contentCategory"], "\Beta\Microsoft\Graph\Model\MediaSourceContentCategory") || is_null($this->_propDict["contentCategory"])) { + return $this->_propDict["contentCategory"]; + } else { + $this->_propDict["contentCategory"] = new MediaSourceContentCategory($this->_propDict["contentCategory"]); + return $this->_propDict["contentCategory"]; + } + } + return null; + } + + /** + * Sets the contentCategory + * Enumeration value that indicates the media content category. + * + * @param MediaSourceContentCategory $val The value to assign to the contentCategory + * + * @return MediaSource The MediaSource + */ + public function setContentCategory($val) + { + $this->_propDict["contentCategory"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSourceContentCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSourceContentCategory.php new file mode 100644 index 0000000..cc7d9df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSourceContentCategory.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["direction"], "\Beta\Microsoft\Graph\Model\MediaDirection") || is_null($this->_propDict["direction"])) { + return $this->_propDict["direction"]; + } else { + $this->_propDict["direction"] = new MediaDirection($this->_propDict["direction"]); + return $this->_propDict["direction"]; + } + } + return null; + } + + /** + * Sets the direction + * The direction. The possible values are inactive, sendOnly, receiveOnly, sendReceive. + * + * @param MediaDirection $val The value to assign to the direction + * + * @return MediaStream The MediaStream + */ + public function setDirection($val) + { + $this->_propDict["direction"] = $val; + return $this; + } + /** + * Gets the label + * The media stream label. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * The media stream label. + * + * @param string $val The value of the label + * + * @return MediaStream + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the mediaType + * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * + * @return Modality|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + if (is_a($this->_propDict["mediaType"], "\Beta\Microsoft\Graph\Model\Modality") || is_null($this->_propDict["mediaType"])) { + return $this->_propDict["mediaType"]; + } else { + $this->_propDict["mediaType"] = new Modality($this->_propDict["mediaType"]); + return $this->_propDict["mediaType"]; + } + } + return null; + } + + /** + * Sets the mediaType + * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * + * @param Modality $val The value to assign to the mediaType + * + * @return MediaStream The MediaStream + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + /** + * Gets the serverMuted + * Indicates whether the media is muted by the server. + * + * @return bool|null The serverMuted + */ + public function getServerMuted() + { + if (array_key_exists("serverMuted", $this->_propDict)) { + return $this->_propDict["serverMuted"]; + } else { + return null; + } + } + + /** + * Sets the serverMuted + * Indicates whether the media is muted by the server. + * + * @param bool $val The value of the serverMuted + * + * @return MediaStream + */ + public function setServerMuted($val) + { + $this->_propDict["serverMuted"] = $val; + return $this; + } + /** + * Gets the sourceId + * The source ID. + * + * @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 + * The source ID. + * + * @param string $val The value of the sourceId + * + * @return MediaStream + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingActivityStatistics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingActivityStatistics.php new file mode 100644 index 0000000..3188d56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingActivityStatistics.php @@ -0,0 +1,225 @@ +_propDict)) { + if (is_a($this->_propDict["afterHours"], "\DateInterval") || is_null($this->_propDict["afterHours"])) { + return $this->_propDict["afterHours"]; + } else { + $this->_propDict["afterHours"] = new \DateInterval($this->_propDict["afterHours"]); + return $this->_propDict["afterHours"]; + } + } + return null; + } + + /** + * Sets the afterHours + * Time spent on meetings outside of working hours, which is based on the user's Outlook calendar setting for work hours. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The afterHours + * + * @return MeetingActivityStatistics + */ + public function setAfterHours($val) + { + $this->_propDict["afterHours"] = $val; + return $this; + } + + /** + * Gets the conflicting + * Time spent in conflicting meetings (meetings that overlap with other meetings that the person accepted and where the person’s status is set to Busy). The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The conflicting + */ + public function getConflicting() + { + if (array_key_exists("conflicting", $this->_propDict)) { + if (is_a($this->_propDict["conflicting"], "\DateInterval") || is_null($this->_propDict["conflicting"])) { + return $this->_propDict["conflicting"]; + } else { + $this->_propDict["conflicting"] = new \DateInterval($this->_propDict["conflicting"]); + return $this->_propDict["conflicting"]; + } + } + return null; + } + + /** + * Sets the conflicting + * Time spent in conflicting meetings (meetings that overlap with other meetings that the person accepted and where the person’s status is set to Busy). The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The conflicting + * + * @return MeetingActivityStatistics + */ + public function setConflicting($val) + { + $this->_propDict["conflicting"] = $val; + return $this; + } + + /** + * Gets the long + * Time spent in long meetings (more than an hour in duration). The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The long + */ + public function getLong() + { + if (array_key_exists("long", $this->_propDict)) { + if (is_a($this->_propDict["long"], "\DateInterval") || is_null($this->_propDict["long"])) { + return $this->_propDict["long"]; + } else { + $this->_propDict["long"] = new \DateInterval($this->_propDict["long"]); + return $this->_propDict["long"]; + } + } + return null; + } + + /** + * Sets the long + * Time spent in long meetings (more than an hour in duration). The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The long + * + * @return MeetingActivityStatistics + */ + public function setLong($val) + { + $this->_propDict["long"] = $val; + return $this; + } + + /** + * Gets the multitasking + * Time spent in meetings where the person was multitasking (read/sent more than a minimum number of emails and/or sent more than a minimum number of messages in Teams or in Skype for Business). The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The multitasking + */ + public function getMultitasking() + { + if (array_key_exists("multitasking", $this->_propDict)) { + if (is_a($this->_propDict["multitasking"], "\DateInterval") || is_null($this->_propDict["multitasking"])) { + return $this->_propDict["multitasking"]; + } else { + $this->_propDict["multitasking"] = new \DateInterval($this->_propDict["multitasking"]); + return $this->_propDict["multitasking"]; + } + } + return null; + } + + /** + * Sets the multitasking + * Time spent in meetings where the person was multitasking (read/sent more than a minimum number of emails and/or sent more than a minimum number of messages in Teams or in Skype for Business). The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The multitasking + * + * @return MeetingActivityStatistics + */ + public function setMultitasking($val) + { + $this->_propDict["multitasking"] = $val; + return $this; + } + + /** + * Gets the organized + * Time spent in meetings organized by the user. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The organized + */ + public function getOrganized() + { + if (array_key_exists("organized", $this->_propDict)) { + if (is_a($this->_propDict["organized"], "\DateInterval") || is_null($this->_propDict["organized"])) { + return $this->_propDict["organized"]; + } else { + $this->_propDict["organized"] = new \DateInterval($this->_propDict["organized"]); + return $this->_propDict["organized"]; + } + } + return null; + } + + /** + * Sets the organized + * Time spent in meetings organized by the user. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The organized + * + * @return MeetingActivityStatistics + */ + public function setOrganized($val) + { + $this->_propDict["organized"] = $val; + return $this; + } + + /** + * Gets the recurring + * Time spent on recurring meetings. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The recurring + */ + public function getRecurring() + { + if (array_key_exists("recurring", $this->_propDict)) { + if (is_a($this->_propDict["recurring"], "\DateInterval") || is_null($this->_propDict["recurring"])) { + return $this->_propDict["recurring"]; + } else { + $this->_propDict["recurring"] = new \DateInterval($this->_propDict["recurring"]); + return $this->_propDict["recurring"]; + } + } + return null; + } + + /** + * Sets the recurring + * Time spent on recurring meetings. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The recurring + * + * @return MeetingActivityStatistics + */ + public function setRecurring($val) + { + $this->_propDict["recurring"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAttendanceReport.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAttendanceReport.php new file mode 100644 index 0000000..4904fdd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAttendanceReport.php @@ -0,0 +1,152 @@ +_propDict)) { + if (is_a($this->_propDict["meetingEndDateTime"], "\DateTime") || is_null($this->_propDict["meetingEndDateTime"])) { + return $this->_propDict["meetingEndDateTime"]; + } else { + $this->_propDict["meetingEndDateTime"] = new \DateTime($this->_propDict["meetingEndDateTime"]); + return $this->_propDict["meetingEndDateTime"]; + } + } + return null; + } + + /** + * Sets the meetingEndDateTime + * UTC time when the meeting ended. Read-only. + * + * @param \DateTime $val The meetingEndDateTime + * + * @return MeetingAttendanceReport + */ + public function setMeetingEndDateTime($val) + { + $this->_propDict["meetingEndDateTime"] = $val; + return $this; + } + + /** + * Gets the meetingStartDateTime + * UTC time when the meeting started. Read-only. + * + * @return \DateTime|null The meetingStartDateTime + */ + public function getMeetingStartDateTime() + { + if (array_key_exists("meetingStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["meetingStartDateTime"], "\DateTime") || is_null($this->_propDict["meetingStartDateTime"])) { + return $this->_propDict["meetingStartDateTime"]; + } else { + $this->_propDict["meetingStartDateTime"] = new \DateTime($this->_propDict["meetingStartDateTime"]); + return $this->_propDict["meetingStartDateTime"]; + } + } + return null; + } + + /** + * Sets the meetingStartDateTime + * UTC time when the meeting started. Read-only. + * + * @param \DateTime $val The meetingStartDateTime + * + * @return MeetingAttendanceReport + */ + public function setMeetingStartDateTime($val) + { + $this->_propDict["meetingStartDateTime"] = $val; + return $this; + } + + /** + * Gets the totalParticipantCount + * Total number of participants. Read-only. + * + * @return int|null The totalParticipantCount + */ + public function getTotalParticipantCount() + { + if (array_key_exists("totalParticipantCount", $this->_propDict)) { + return $this->_propDict["totalParticipantCount"]; + } else { + return null; + } + } + + /** + * Sets the totalParticipantCount + * Total number of participants. Read-only. + * + * @param int $val The totalParticipantCount + * + * @return MeetingAttendanceReport + */ + public function setTotalParticipantCount($val) + { + $this->_propDict["totalParticipantCount"] = intval($val); + return $this; + } + + + /** + * Gets the attendanceRecords + * List of attendance records of an attendance report. Read-only. + * + * @return array|null The attendanceRecords + */ + public function getAttendanceRecords() + { + if (array_key_exists("attendanceRecords", $this->_propDict)) { + return $this->_propDict["attendanceRecords"]; + } else { + return null; + } + } + + /** + * Sets the attendanceRecords + * List of attendance records of an attendance report. Read-only. + * + * @param AttendanceRecord[] $val The attendanceRecords + * + * @return MeetingAttendanceReport + */ + public function setAttendanceRecords($val) + { + $this->_propDict["attendanceRecords"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAudience.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAudience.php new file mode 100644 index 0000000..b105f11 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAudience.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["allowAnonymousUsersToDialOut"]; + } else { + return null; + } + } + + /** + * Sets the allowAnonymousUsersToDialOut + * Indicates whether anonymous users dialout is allowed in a meeting. + * + * @param bool $val The value of the allowAnonymousUsersToDialOut + * + * @return MeetingCapability + */ + public function setAllowAnonymousUsersToDialOut($val) + { + $this->_propDict["allowAnonymousUsersToDialOut"] = $val; + return $this; + } + /** + * Gets the allowAnonymousUsersToStartMeeting + * Indicates whether anonymous users are allowed to start a meeting. + * + * @return bool|null The allowAnonymousUsersToStartMeeting + */ + public function getAllowAnonymousUsersToStartMeeting() + { + if (array_key_exists("allowAnonymousUsersToStartMeeting", $this->_propDict)) { + return $this->_propDict["allowAnonymousUsersToStartMeeting"]; + } else { + return null; + } + } + + /** + * Sets the allowAnonymousUsersToStartMeeting + * Indicates whether anonymous users are allowed to start a meeting. + * + * @param bool $val The value of the allowAnonymousUsersToStartMeeting + * + * @return MeetingCapability + */ + public function setAllowAnonymousUsersToStartMeeting($val) + { + $this->_propDict["allowAnonymousUsersToStartMeeting"] = $val; + return $this; + } + + /** + * Gets the autoAdmittedUsers + * Possible values are: everyoneInCompany, everyone. + * + * @return AutoAdmittedUsersType|null The autoAdmittedUsers + */ + public function getAutoAdmittedUsers() + { + if (array_key_exists("autoAdmittedUsers", $this->_propDict)) { + if (is_a($this->_propDict["autoAdmittedUsers"], "\Beta\Microsoft\Graph\Model\AutoAdmittedUsersType") || is_null($this->_propDict["autoAdmittedUsers"])) { + return $this->_propDict["autoAdmittedUsers"]; + } else { + $this->_propDict["autoAdmittedUsers"] = new AutoAdmittedUsersType($this->_propDict["autoAdmittedUsers"]); + return $this->_propDict["autoAdmittedUsers"]; + } + } + return null; + } + + /** + * Sets the autoAdmittedUsers + * Possible values are: everyoneInCompany, everyone. + * + * @param AutoAdmittedUsersType $val The value to assign to the autoAdmittedUsers + * + * @return MeetingCapability The MeetingCapability + */ + public function setAutoAdmittedUsers($val) + { + $this->_propDict["autoAdmittedUsers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingChatMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingChatMode.php new file mode 100644 index 0000000..8bbe3c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingChatMode.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["allowConversationWithoutHost"]; + } else { + return null; + } + } + + /** + * Sets the allowConversationWithoutHost + * + * @param bool $val The value of the allowConversationWithoutHost + * + * @return MeetingInfo + */ + public function setAllowConversationWithoutHost($val) + { + $this->_propDict["allowConversationWithoutHost"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingMessageType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingMessageType.php new file mode 100644 index 0000000..cd4df44 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingMessageType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity information of the participant. + * + * @param IdentitySet $val The value to assign to the identity + * + * @return MeetingParticipantInfo The MeetingParticipantInfo + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + + /** + * Gets the role + * Specifies the participant's role in the meeting. + * + * @return OnlineMeetingRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\OnlineMeetingRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new OnlineMeetingRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * Specifies the participant's role in the meeting. + * + * @param OnlineMeetingRole $val The value to assign to the role + * + * @return MeetingParticipantInfo The MeetingParticipantInfo + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + /** + * Gets the upn + * User principal name of the participant. + * + * @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 + * User principal name of the participant. + * + * @param string $val The value of the upn + * + * @return MeetingParticipantInfo + */ + public function setUpn($val) + { + $this->_propDict["upn"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingParticipants.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingParticipants.php new file mode 100644 index 0000000..cb76166 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingParticipants.php @@ -0,0 +1,154 @@ +_propDict)) { + if (is_a($this->_propDict["attendees"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo") || is_null($this->_propDict["attendees"])) { + return $this->_propDict["attendees"]; + } else { + $this->_propDict["attendees"] = new MeetingParticipantInfo($this->_propDict["attendees"]); + return $this->_propDict["attendees"]; + } + } + return null; + } + + /** + * Sets the attendees + * Information of the meeting attendees. + * + * @param MeetingParticipantInfo $val The value to assign to the attendees + * + * @return MeetingParticipants The MeetingParticipants + */ + public function setAttendees($val) + { + $this->_propDict["attendees"] = $val; + return $this; + } + + /** + * Gets the contributors + * + * @return MeetingParticipantInfo|null The contributors + */ + public function getContributors() + { + if (array_key_exists("contributors", $this->_propDict)) { + if (is_a($this->_propDict["contributors"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo") || is_null($this->_propDict["contributors"])) { + return $this->_propDict["contributors"]; + } else { + $this->_propDict["contributors"] = new MeetingParticipantInfo($this->_propDict["contributors"]); + return $this->_propDict["contributors"]; + } + } + return null; + } + + /** + * Sets the contributors + * + * @param MeetingParticipantInfo $val The value to assign to the contributors + * + * @return MeetingParticipants The MeetingParticipants + */ + public function setContributors($val) + { + $this->_propDict["contributors"] = $val; + return $this; + } + + /** + * Gets the organizer + * Information of the meeting organizer. + * + * @return MeetingParticipantInfo|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new MeetingParticipantInfo($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * Information of the meeting organizer. + * + * @param MeetingParticipantInfo $val The value to assign to the organizer + * + * @return MeetingParticipants The MeetingParticipants + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } + + /** + * Gets the producers + * + * @return MeetingParticipantInfo|null The producers + */ + public function getProducers() + { + if (array_key_exists("producers", $this->_propDict)) { + if (is_a($this->_propDict["producers"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo") || is_null($this->_propDict["producers"])) { + return $this->_propDict["producers"]; + } else { + $this->_propDict["producers"] = new MeetingParticipantInfo($this->_propDict["producers"]); + return $this->_propDict["producers"]; + } + } + return null; + } + + /** + * Sets the producers + * + * @param MeetingParticipantInfo $val The value to assign to the producers + * + * @return MeetingParticipants The MeetingParticipants + */ + public function setProducers($val) + { + $this->_propDict["producers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingPolicyUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingPolicyUpdatedEventMessageDetail.php new file mode 100644 index 0000000..f62c741 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingPolicyUpdatedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.meetingPolicyUpdatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MeetingPolicyUpdatedEventMessageDetail The MeetingPolicyUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the meetingChatEnabled + * Represents whether the meeting chat is enabled or not. + * + * @return bool|null The meetingChatEnabled + */ + public function getMeetingChatEnabled() + { + if (array_key_exists("meetingChatEnabled", $this->_propDict)) { + return $this->_propDict["meetingChatEnabled"]; + } else { + return null; + } + } + + /** + * Sets the meetingChatEnabled + * Represents whether the meeting chat is enabled or not. + * + * @param bool $val The value of the meetingChatEnabled + * + * @return MeetingPolicyUpdatedEventMessageDetail + */ + public function setMeetingChatEnabled($val) + { + $this->_propDict["meetingChatEnabled"] = $val; + return $this; + } + /** + * Gets the meetingChatId + * Unique identifier of the meeting chat. + * + * @return string|null The meetingChatId + */ + public function getMeetingChatId() + { + if (array_key_exists("meetingChatId", $this->_propDict)) { + return $this->_propDict["meetingChatId"]; + } else { + return null; + } + } + + /** + * Sets the meetingChatId + * Unique identifier of the meeting chat. + * + * @param string $val The value of the meetingChatId + * + * @return MeetingPolicyUpdatedEventMessageDetail + */ + public function setMeetingChatId($val) + { + $this->_propDict["meetingChatId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrant.php new file mode 100644 index 0000000..af7accc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrant.php @@ -0,0 +1,210 @@ +_propDict)) { + return $this->_propDict["customQuestionAnswers"]; + } else { + return null; + } + } + + /** + * Sets the customQuestionAnswers + * The registrant's answer to custom questions. + * + * @param CustomQuestionAnswer[] $val The customQuestionAnswers + * + * @return MeetingRegistrant + */ + public function setCustomQuestionAnswers($val) + { + $this->_propDict["customQuestionAnswers"] = $val; + return $this; + } + + /** + * Gets the email + * The email address of the registrant. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address of the registrant. + * + * @param string $val The email + * + * @return MeetingRegistrant + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the firstName + * The first name of the registrant. + * + * @return string|null The firstName + */ + public function getFirstName() + { + if (array_key_exists("firstName", $this->_propDict)) { + return $this->_propDict["firstName"]; + } else { + return null; + } + } + + /** + * Sets the firstName + * The first name of the registrant. + * + * @param string $val The firstName + * + * @return MeetingRegistrant + */ + public function setFirstName($val) + { + $this->_propDict["firstName"] = $val; + return $this; + } + + /** + * Gets the lastName + * The last name of the registrant. + * + * @return string|null The lastName + */ + public function getLastName() + { + if (array_key_exists("lastName", $this->_propDict)) { + return $this->_propDict["lastName"]; + } else { + return null; + } + } + + /** + * Sets the lastName + * The last name of the registrant. + * + * @param string $val The lastName + * + * @return MeetingRegistrant + */ + public function setLastName($val) + { + $this->_propDict["lastName"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * Time in UTC when the registrant registers for the meeting. Read-only. + * + * @return \DateTime|null The registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime + * Time in UTC when the registrant registers for the meeting. Read-only. + * + * @param \DateTime $val The registrationDateTime + * + * @return MeetingRegistrant + */ + public function setRegistrationDateTime($val) + { + $this->_propDict["registrationDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The registration status of the registrant. Read-only. + * + * @return MeetingRegistrantStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MeetingRegistrantStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MeetingRegistrantStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The registration status of the registrant. Read-only. + * + * @param MeetingRegistrantStatus $val The status + * + * @return MeetingRegistrant + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrantBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrantBase.php new file mode 100644 index 0000000..0d44c77 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrantBase.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * A unique web URL for the registrant to join the meeting. Read-only. + * + * @param string $val The joinWebUrl + * + * @return MeetingRegistrantBase + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrantStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrantStatus.php new file mode 100644 index 0000000..f29d6b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrantStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the meeting. + * + * @param string $val The description + * + * @return MeetingRegistration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The meeting end time in UTC. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The meeting end time in UTC. + * + * @param \DateTime $val The endDateTime + * + * @return MeetingRegistration + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the registrationPageViewCount + * The number of times the registration page has been visited. Read-only. + * + * @return int|null The registrationPageViewCount + */ + public function getRegistrationPageViewCount() + { + if (array_key_exists("registrationPageViewCount", $this->_propDict)) { + return $this->_propDict["registrationPageViewCount"]; + } else { + return null; + } + } + + /** + * Sets the registrationPageViewCount + * The number of times the registration page has been visited. Read-only. + * + * @param int $val The registrationPageViewCount + * + * @return MeetingRegistration + */ + public function setRegistrationPageViewCount($val) + { + $this->_propDict["registrationPageViewCount"] = intval($val); + return $this; + } + + /** + * Gets the registrationPageWebUrl + * The URL of the registration page. Read-only. + * + * @return string|null The registrationPageWebUrl + */ + public function getRegistrationPageWebUrl() + { + if (array_key_exists("registrationPageWebUrl", $this->_propDict)) { + return $this->_propDict["registrationPageWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the registrationPageWebUrl + * The URL of the registration page. Read-only. + * + * @param string $val The registrationPageWebUrl + * + * @return MeetingRegistration + */ + public function setRegistrationPageWebUrl($val) + { + $this->_propDict["registrationPageWebUrl"] = $val; + return $this; + } + + + /** + * Gets the speakers + * The meeting speaker's information. + * + * @return array|null The speakers + */ + public function getSpeakers() + { + if (array_key_exists("speakers", $this->_propDict)) { + return $this->_propDict["speakers"]; + } else { + return null; + } + } + + /** + * Sets the speakers + * The meeting speaker's information. + * + * @param MeetingSpeaker[] $val The speakers + * + * @return MeetingRegistration + */ + public function setSpeakers($val) + { + $this->_propDict["speakers"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The meeting start time in UTC. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The meeting start time in UTC. + * + * @param \DateTime $val The startDateTime + * + * @return MeetingRegistration + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the subject + * The subject of the meeting. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The subject of the meeting. + * + * @param string $val The subject + * + * @return MeetingRegistration + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the customQuestions + * Custom registration questions. + * + * @return array|null The customQuestions + */ + public function getCustomQuestions() + { + if (array_key_exists("customQuestions", $this->_propDict)) { + return $this->_propDict["customQuestions"]; + } else { + return null; + } + } + + /** + * Sets the customQuestions + * Custom registration questions. + * + * @param MeetingRegistrationQuestion[] $val The customQuestions + * + * @return MeetingRegistration + */ + public function setCustomQuestions($val) + { + $this->_propDict["customQuestions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrationBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrationBase.php new file mode 100644 index 0000000..bece873 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrationBase.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["allowedRegistrant"], "\Beta\Microsoft\Graph\Model\MeetingAudience") || is_null($this->_propDict["allowedRegistrant"])) { + return $this->_propDict["allowedRegistrant"]; + } else { + $this->_propDict["allowedRegistrant"] = new MeetingAudience($this->_propDict["allowedRegistrant"]); + return $this->_propDict["allowedRegistrant"]; + } + } + return null; + } + + /** + * Sets the allowedRegistrant + * Specifies who can register for the meeting. + * + * @param MeetingAudience $val The allowedRegistrant + * + * @return MeetingRegistrationBase + */ + public function setAllowedRegistrant($val) + { + $this->_propDict["allowedRegistrant"] = $val; + return $this; + } + + + /** + * Gets the registrants + * Registrants of the online meeting. + * + * @return array|null The registrants + */ + public function getRegistrants() + { + if (array_key_exists("registrants", $this->_propDict)) { + return $this->_propDict["registrants"]; + } else { + return null; + } + } + + /** + * Sets the registrants + * Registrants of the online meeting. + * + * @param MeetingRegistrantBase[] $val The registrants + * + * @return MeetingRegistrationBase + */ + public function setRegistrants($val) + { + $this->_propDict["registrants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrationQuestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrationQuestion.php new file mode 100644 index 0000000..f821cd9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingRegistrationQuestion.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["answerInputType"], "\Beta\Microsoft\Graph\Model\AnswerInputType") || is_null($this->_propDict["answerInputType"])) { + return $this->_propDict["answerInputType"]; + } else { + $this->_propDict["answerInputType"] = new AnswerInputType($this->_propDict["answerInputType"]); + return $this->_propDict["answerInputType"]; + } + } + return null; + } + + /** + * Sets the answerInputType + * Answer input type of the custom registration question. + * + * @param AnswerInputType $val The answerInputType + * + * @return MeetingRegistrationQuestion + */ + public function setAnswerInputType($val) + { + $this->_propDict["answerInputType"] = $val; + return $this; + } + + /** + * Gets the answerOptions + * Answer options when answerInputType is radioButton. + * + * @return string|null The answerOptions + */ + public function getAnswerOptions() + { + if (array_key_exists("answerOptions", $this->_propDict)) { + return $this->_propDict["answerOptions"]; + } else { + return null; + } + } + + /** + * Sets the answerOptions + * Answer options when answerInputType is radioButton. + * + * @param string $val The answerOptions + * + * @return MeetingRegistrationQuestion + */ + public function setAnswerOptions($val) + { + $this->_propDict["answerOptions"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the custom registration question. + * + * @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 + * Display name of the custom registration question. + * + * @param string $val The displayName + * + * @return MeetingRegistrationQuestion + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isRequired + * Indicates whether the question is required. Default value is false. + * + * @return bool|null The isRequired + */ + public function getIsRequired() + { + if (array_key_exists("isRequired", $this->_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates whether the question is required. Default value is false. + * + * @param bool $val The isRequired + * + * @return MeetingRegistrationQuestion + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingSpeaker.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingSpeaker.php new file mode 100644 index 0000000..561143f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingSpeaker.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["bio"]; + } else { + return null; + } + } + + /** + * Sets the bio + * Bio of the speaker. + * + * @param string $val The value of the bio + * + * @return MeetingSpeaker + */ + public function setBio($val) + { + $this->_propDict["bio"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name of the speaker. + * + * @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 + * Display name of the speaker. + * + * @param string $val The value of the displayName + * + * @return MeetingSpeaker + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestion.php new file mode 100644 index 0000000..dc62b68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestion.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["attendeeAvailability"], "\Beta\Microsoft\Graph\Model\AttendeeAvailability") || is_null($this->_propDict["attendeeAvailability"])) { + return $this->_propDict["attendeeAvailability"]; + } else { + $this->_propDict["attendeeAvailability"] = new AttendeeAvailability($this->_propDict["attendeeAvailability"]); + return $this->_propDict["attendeeAvailability"]; + } + } + return null; + } + + /** + * Sets the attendeeAvailability + * An array that shows the availability status of each attendee for this meeting suggestion. + * + * @param AttendeeAvailability $val The value to assign to the attendeeAvailability + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setAttendeeAvailability($val) + { + $this->_propDict["attendeeAvailability"] = $val; + return $this; + } + /** + * Gets the confidence + * A percentage that represents the likelhood of all the attendees attending. + * + * @return float|null The confidence + */ + public function getConfidence() + { + if (array_key_exists("confidence", $this->_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * A percentage that represents the likelhood of all the attendees attending. + * + * @param float $val The value of the confidence + * + * @return MeetingTimeSuggestion + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + + /** + * Gets the locations + * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. + * + * @return Location|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["locations"])) { + return $this->_propDict["locations"]; + } else { + $this->_propDict["locations"] = new Location($this->_propDict["locations"]); + return $this->_propDict["locations"]; + } + } + return null; + } + + /** + * Sets the locations + * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. + * + * @param Location $val The value to assign to the locations + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + + /** + * Gets the meetingTimeSlot + * A time period suggested for the meeting. + * + * @return TimeSlot|null The meetingTimeSlot + */ + public function getMeetingTimeSlot() + { + if (array_key_exists("meetingTimeSlot", $this->_propDict)) { + if (is_a($this->_propDict["meetingTimeSlot"], "\Beta\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["meetingTimeSlot"])) { + return $this->_propDict["meetingTimeSlot"]; + } else { + $this->_propDict["meetingTimeSlot"] = new TimeSlot($this->_propDict["meetingTimeSlot"]); + return $this->_propDict["meetingTimeSlot"]; + } + } + return null; + } + + /** + * Sets the meetingTimeSlot + * A time period suggested for the meeting. + * + * @param TimeSlot $val The value to assign to the meetingTimeSlot + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setMeetingTimeSlot($val) + { + $this->_propDict["meetingTimeSlot"] = $val; + return $this; + } + /** + * Gets the order + * Order of meeting time suggestions sorted by their computed confidence value from high to low, then by chronology if there are suggestions with the same confidence. + * + * @return int|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * Order of meeting time suggestions sorted by their computed confidence value from high to low, then by chronology if there are suggestions with the same confidence. + * + * @param int $val The value of the order + * + * @return MeetingTimeSuggestion + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } + + /** + * Gets the organizerAvailability + * Availability of the meeting organizer for this meeting suggestion. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @return FreeBusyStatus|null The organizerAvailability + */ + public function getOrganizerAvailability() + { + if (array_key_exists("organizerAvailability", $this->_propDict)) { + if (is_a($this->_propDict["organizerAvailability"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["organizerAvailability"])) { + return $this->_propDict["organizerAvailability"]; + } else { + $this->_propDict["organizerAvailability"] = new FreeBusyStatus($this->_propDict["organizerAvailability"]); + return $this->_propDict["organizerAvailability"]; + } + } + return null; + } + + /** + * Sets the organizerAvailability + * Availability of the meeting organizer for this meeting suggestion. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @param FreeBusyStatus $val The value to assign to the organizerAvailability + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setOrganizerAvailability($val) + { + $this->_propDict["organizerAvailability"] = $val; + return $this; + } + /** + * Gets the suggestionReason + * Reason for suggesting the meeting time. + * + * @return string|null The suggestionReason + */ + public function getSuggestionReason() + { + if (array_key_exists("suggestionReason", $this->_propDict)) { + return $this->_propDict["suggestionReason"]; + } else { + return null; + } + } + + /** + * Sets the suggestionReason + * Reason for suggesting the meeting time. + * + * @param string $val The value of the suggestionReason + * + * @return MeetingTimeSuggestion + */ + public function setSuggestionReason($val) + { + $this->_propDict["suggestionReason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestionsResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestionsResult.php new file mode 100644 index 0000000..9e6d2b5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestionsResult.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["emptySuggestionsReason"]; + } else { + return null; + } + } + + /** + * Sets the emptySuggestionsReason + * A reason for not returning any meeting suggestions. Possible values are: attendeesUnavailable, attendeesUnavailableOrUnknown, locationsUnavailable, organizerUnavailable, or unknown. This property is an empty string if the meetingTimeSuggestions property does include any meeting suggestions. + * + * @param string $val The value of the emptySuggestionsReason + * + * @return MeetingTimeSuggestionsResult + */ + public function setEmptySuggestionsReason($val) + { + $this->_propDict["emptySuggestionsReason"] = $val; + return $this; + } + + /** + * Gets the meetingTimeSuggestions + * An array of meeting suggestions. + * + * @return MeetingTimeSuggestion|null The meetingTimeSuggestions + */ + public function getMeetingTimeSuggestions() + { + if (array_key_exists("meetingTimeSuggestions", $this->_propDict)) { + if (is_a($this->_propDict["meetingTimeSuggestions"], "\Beta\Microsoft\Graph\Model\MeetingTimeSuggestion") || is_null($this->_propDict["meetingTimeSuggestions"])) { + return $this->_propDict["meetingTimeSuggestions"]; + } else { + $this->_propDict["meetingTimeSuggestions"] = new MeetingTimeSuggestion($this->_propDict["meetingTimeSuggestions"]); + return $this->_propDict["meetingTimeSuggestions"]; + } + } + return null; + } + + /** + * Sets the meetingTimeSuggestions + * An array of meeting suggestions. + * + * @param MeetingTimeSuggestion $val The value to assign to the meetingTimeSuggestions + * + * @return MeetingTimeSuggestionsResult The MeetingTimeSuggestionsResult + */ + public function setMeetingTimeSuggestions($val) + { + $this->_propDict["meetingTimeSuggestions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersAddedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersAddedEventMessageDetail.php new file mode 100644 index 0000000..adf86f8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersAddedEventMessageDetail.php @@ -0,0 +1,136 @@ +setODataType("#microsoft.graph.membersAddedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersAddedEventMessageDetail The MembersAddedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members added. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members added. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersAddedEventMessageDetail The MembersAddedEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + /** + * Gets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation members. + * + * @return \DateTime|null The visibleHistoryStartDateTime + */ + public function getVisibleHistoryStartDateTime() + { + if (array_key_exists("visibleHistoryStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["visibleHistoryStartDateTime"], "\DateTime") || is_null($this->_propDict["visibleHistoryStartDateTime"])) { + return $this->_propDict["visibleHistoryStartDateTime"]; + } else { + $this->_propDict["visibleHistoryStartDateTime"] = new \DateTime($this->_propDict["visibleHistoryStartDateTime"]); + return $this->_propDict["visibleHistoryStartDateTime"]; + } + } + return null; + } + + /** + * Sets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation members. + * + * @param \DateTime $val The value to assign to the visibleHistoryStartDateTime + * + * @return MembersAddedEventMessageDetail The MembersAddedEventMessageDetail + */ + public function setVisibleHistoryStartDateTime($val) + { + $this->_propDict["visibleHistoryStartDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersDeletedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersDeletedEventMessageDetail.php new file mode 100644 index 0000000..31a80e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersDeletedEventMessageDetail.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.membersDeletedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersDeletedEventMessageDetail The MembersDeletedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members deleted. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members deleted. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersDeletedEventMessageDetail The MembersDeletedEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersJoinedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersJoinedEventMessageDetail.php new file mode 100644 index 0000000..9157e68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersJoinedEventMessageDetail.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.membersJoinedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersJoinedEventMessageDetail The MembersJoinedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members who joined the chat. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members who joined the chat. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersJoinedEventMessageDetail The MembersJoinedEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersLeftEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersLeftEventMessageDetail.php new file mode 100644 index 0000000..38531b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembersLeftEventMessageDetail.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.membersLeftEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersLeftEventMessageDetail The MembersLeftEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members who left the chat. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members who left the chat. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersLeftEventMessageDetail The MembersLeftEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleEvaluationDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleEvaluationDetails.php new file mode 100644 index 0000000..a96ec02 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleEvaluationDetails.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["membershipRuleEvaluationDetails"], "\Beta\Microsoft\Graph\Model\ExpressionEvaluationDetails") || is_null($this->_propDict["membershipRuleEvaluationDetails"])) { + return $this->_propDict["membershipRuleEvaluationDetails"]; + } else { + $this->_propDict["membershipRuleEvaluationDetails"] = new ExpressionEvaluationDetails($this->_propDict["membershipRuleEvaluationDetails"]); + return $this->_propDict["membershipRuleEvaluationDetails"]; + } + } + return null; + } + + /** + * Sets the membershipRuleEvaluationDetails + * + * @param ExpressionEvaluationDetails $val The value to assign to the membershipRuleEvaluationDetails + * + * @return MembershipRuleEvaluationDetails The MembershipRuleEvaluationDetails + */ + public function setMembershipRuleEvaluationDetails($val) + { + $this->_propDict["membershipRuleEvaluationDetails"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatus.php new file mode 100644 index 0000000..bece5de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatus.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["errorMessage"]; + } else { + return null; + } + } + + /** + * Sets the errorMessage + * Detailed error message if dynamic group processing ran into an error. Optional. Read-only. + * + * @param string $val The value of the errorMessage + * + * @return MembershipRuleProcessingStatus + */ + public function setErrorMessage($val) + { + $this->_propDict["errorMessage"] = $val; + return $this; + } + + /** + * Gets the lastMembershipUpdated + * Most recent date and time when membership of a dynamic group was updated. Optional. Read-only. + * + * @return \DateTime|null The lastMembershipUpdated + */ + public function getLastMembershipUpdated() + { + if (array_key_exists("lastMembershipUpdated", $this->_propDict)) { + if (is_a($this->_propDict["lastMembershipUpdated"], "\DateTime") || is_null($this->_propDict["lastMembershipUpdated"])) { + return $this->_propDict["lastMembershipUpdated"]; + } else { + $this->_propDict["lastMembershipUpdated"] = new \DateTime($this->_propDict["lastMembershipUpdated"]); + return $this->_propDict["lastMembershipUpdated"]; + } + } + return null; + } + + /** + * Sets the lastMembershipUpdated + * Most recent date and time when membership of a dynamic group was updated. Optional. Read-only. + * + * @param \DateTime $val The value to assign to the lastMembershipUpdated + * + * @return MembershipRuleProcessingStatus The MembershipRuleProcessingStatus + */ + public function setLastMembershipUpdated($val) + { + $this->_propDict["lastMembershipUpdated"] = $val; + return $this; + } + + /** + * Gets the status + * Current status of a dynamic group processing. Possible values are: NotStarted, Running, Succeeded, Failed, and UnknownFutureValue. Required. Read-only. + * + * @return MembershipRuleProcessingStatusDetails|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MembershipRuleProcessingStatusDetails") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MembershipRuleProcessingStatusDetails($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Current status of a dynamic group processing. Possible values are: NotStarted, Running, Succeeded, Failed, and UnknownFutureValue. Required. Read-only. + * + * @param MembershipRuleProcessingStatusDetails $val The value to assign to the status + * + * @return MembershipRuleProcessingStatus The MembershipRuleProcessingStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatusDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatusDetails.php new file mode 100644 index 0000000..c16571a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatusDetails.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["application"]; + } else { + return null; + } + } + + /** + * Sets the application + * The name of the application where the mention is created. Optional. Not used and defaulted as null for message. + * + * @param string $val The application + * + * @return Mention + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + /** + * Gets the clientReference + * A unique identifier that represents a parent of the resource instance. Optional. Not used and defaulted as null for message. + * + * @return string|null The clientReference + */ + public function getClientReference() + { + if (array_key_exists("clientReference", $this->_propDict)) { + return $this->_propDict["clientReference"]; + } else { + return null; + } + } + + /** + * Sets the clientReference + * A unique identifier that represents a parent of the resource instance. Optional. Not used and defaulted as null for message. + * + * @param string $val The clientReference + * + * @return Mention + */ + public function setClientReference($val) + { + $this->_propDict["clientReference"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The email information of the user who made the mention. + * + * @return EmailAddress|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailAddress($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The email information of the user who made the mention. + * + * @param EmailAddress $val The createdBy + * + * @return Mention + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time that the mention is created on the client. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time that the mention is created on the client. + * + * @param \DateTime $val The createdDateTime + * + * @return Mention + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deepLink + * A deep web link to the context of the mention in the resource instance. Optional. Not used and defaulted as null for message. + * + * @return string|null The deepLink + */ + public function getDeepLink() + { + if (array_key_exists("deepLink", $this->_propDict)) { + return $this->_propDict["deepLink"]; + } else { + return null; + } + } + + /** + * Sets the deepLink + * A deep web link to the context of the mention in the resource instance. Optional. Not used and defaulted as null for message. + * + * @param string $val The deepLink + * + * @return Mention + */ + public function setDeepLink($val) + { + $this->_propDict["deepLink"] = $val; + return $this; + } + + /** + * Gets the mentioned + * The email information of the mentioned person. Required. + * + * @return EmailAddress|null The mentioned + */ + public function getMentioned() + { + if (array_key_exists("mentioned", $this->_propDict)) { + if (is_a($this->_propDict["mentioned"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["mentioned"])) { + return $this->_propDict["mentioned"]; + } else { + $this->_propDict["mentioned"] = new EmailAddress($this->_propDict["mentioned"]); + return $this->_propDict["mentioned"]; + } + } + return null; + } + + /** + * Sets the mentioned + * The email information of the mentioned person. Required. + * + * @param EmailAddress $val The mentioned + * + * @return Mention + */ + public function setMentioned($val) + { + $this->_propDict["mentioned"] = $val; + return $this; + } + + /** + * Gets the mentionText + * Optional. Not used and defaulted as null for message. To get the mentions in a message, see the bodyPreview property of the message instead. + * + * @return string|null The mentionText + */ + public function getMentionText() + { + if (array_key_exists("mentionText", $this->_propDict)) { + return $this->_propDict["mentionText"]; + } else { + return null; + } + } + + /** + * Sets the mentionText + * Optional. Not used and defaulted as null for message. To get the mentions in a message, see the bodyPreview property of the message instead. + * + * @param string $val The mentionText + * + * @return Mention + */ + public function setMentionText($val) + { + $this->_propDict["mentionText"] = $val; + return $this; + } + + /** + * Gets the serverCreatedDateTime + * The date and time that the mention is created on the server. Optional. Not used and defaulted as null for message. + * + * @return \DateTime|null The serverCreatedDateTime + */ + public function getServerCreatedDateTime() + { + if (array_key_exists("serverCreatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["serverCreatedDateTime"], "\DateTime") || is_null($this->_propDict["serverCreatedDateTime"])) { + return $this->_propDict["serverCreatedDateTime"]; + } else { + $this->_propDict["serverCreatedDateTime"] = new \DateTime($this->_propDict["serverCreatedDateTime"]); + return $this->_propDict["serverCreatedDateTime"]; + } + } + return null; + } + + /** + * Sets the serverCreatedDateTime + * The date and time that the mention is created on the server. Optional. Not used and defaulted as null for message. + * + * @param \DateTime $val The serverCreatedDateTime + * + * @return Mention + */ + public function setServerCreatedDateTime($val) + { + $this->_propDict["serverCreatedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionAction.php new file mode 100644 index 0000000..a47a0b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionAction.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["mentionees"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["mentionees"])) { + return $this->_propDict["mentionees"]; + } else { + $this->_propDict["mentionees"] = new IdentitySet($this->_propDict["mentionees"]); + return $this->_propDict["mentionees"]; + } + } + return null; + } + + /** + * Sets the mentionees + * The identities of the users mentioned in this action. + * + * @param IdentitySet $val The value to assign to the mentionees + * + * @return MentionAction The MentionAction + */ + public function setMentionees($val) + { + $this->_propDict["mentionees"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionsPreview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionsPreview.php new file mode 100644 index 0000000..8129f08 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionsPreview.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isMentioned"]; + } else { + return null; + } + } + + /** + * Sets the isMentioned + * True if the signed-in user is mentioned in the parent resource instance. Read-only. Supports filter. + * + * @param bool $val The value of the isMentioned + * + * @return MentionsPreview + */ + public function setIsMentioned($val) + { + $this->_propDict["isMentioned"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Message.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Message.php new file mode 100644 index 0000000..5d9ed9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Message.php @@ -0,0 +1,1027 @@ +_propDict)) { + return $this->_propDict["bccRecipients"]; + } else { + return null; + } + } + + /** + * Sets the bccRecipients + * The Bcc: recipients for the message. + * + * @param Recipient[] $val The bccRecipients + * + * @return Message + */ + public function setBccRecipients($val) + { + $this->_propDict["bccRecipients"] = $val; + return $this; + } + + /** + * Gets the body + * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. + * + * @param ItemBody $val The body + * + * @return Message + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the bodyPreview + * The first 255 characters of the message body. It is in text format. If the message contains instances of mention, this property would contain a concatenation of these mentions as well. + * + * @return string|null The bodyPreview + */ + public function getBodyPreview() + { + if (array_key_exists("bodyPreview", $this->_propDict)) { + return $this->_propDict["bodyPreview"]; + } else { + return null; + } + } + + /** + * Sets the bodyPreview + * The first 255 characters of the message body. It is in text format. If the message contains instances of mention, this property would contain a concatenation of these mentions as well. + * + * @param string $val The bodyPreview + * + * @return Message + */ + public function setBodyPreview($val) + { + $this->_propDict["bodyPreview"] = $val; + return $this; + } + + + /** + * Gets the ccRecipients + * The Cc: recipients for the message. + * + * @return array|null The ccRecipients + */ + public function getCcRecipients() + { + if (array_key_exists("ccRecipients", $this->_propDict)) { + return $this->_propDict["ccRecipients"]; + } else { + return null; + } + } + + /** + * Sets the ccRecipients + * The Cc: recipients for the message. + * + * @param Recipient[] $val The ccRecipients + * + * @return Message + */ + public function setCcRecipients($val) + { + $this->_propDict["ccRecipients"] = $val; + return $this; + } + + /** + * Gets the conversationId + * The ID of the conversation the email belongs to. + * + * @return string|null The conversationId + */ + public function getConversationId() + { + if (array_key_exists("conversationId", $this->_propDict)) { + return $this->_propDict["conversationId"]; + } else { + return null; + } + } + + /** + * Sets the conversationId + * The ID of the conversation the email belongs to. + * + * @param string $val The conversationId + * + * @return Message + */ + public function setConversationId($val) + { + $this->_propDict["conversationId"] = $val; + return $this; + } + + /** + * Gets the conversationIndex + * Indicates the position of the message within the conversation. + * + * @return \GuzzleHttp\Psr7\Stream|null The conversationIndex + */ + public function getConversationIndex() + { + if (array_key_exists("conversationIndex", $this->_propDict)) { + if (is_a($this->_propDict["conversationIndex"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["conversationIndex"])) { + return $this->_propDict["conversationIndex"]; + } else { + $this->_propDict["conversationIndex"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["conversationIndex"]); + return $this->_propDict["conversationIndex"]; + } + } + return null; + } + + /** + * Sets the conversationIndex + * Indicates the position of the message within the conversation. + * + * @param \GuzzleHttp\Psr7\Stream $val The conversationIndex + * + * @return Message + */ + public function setConversationIndex($val) + { + $this->_propDict["conversationIndex"] = $val; + return $this; + } + + /** + * Gets the flag + * The flag value that indicates the status, start date, due date, or completion date for the message. + * + * @return FollowupFlag|null The flag + */ + public function getFlag() + { + if (array_key_exists("flag", $this->_propDict)) { + if (is_a($this->_propDict["flag"], "\Beta\Microsoft\Graph\Model\FollowupFlag") || is_null($this->_propDict["flag"])) { + return $this->_propDict["flag"]; + } else { + $this->_propDict["flag"] = new FollowupFlag($this->_propDict["flag"]); + return $this->_propDict["flag"]; + } + } + return null; + } + + /** + * Sets the flag + * The flag value that indicates the status, start date, due date, or completion date for the message. + * + * @param FollowupFlag $val The flag + * + * @return Message + */ + public function setFlag($val) + { + $this->_propDict["flag"] = $val; + return $this; + } + + /** + * Gets the from + * The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + * + * @return Recipient|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new Recipient($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + * + * @param Recipient $val The from + * + * @return Message + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. + * + * @param bool $val The hasAttachments + * + * @return Message + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the importance + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param Importance $val The importance + * + * @return Message + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the inferenceClassification + * + * @return InferenceClassificationType|null The inferenceClassification + */ + public function getInferenceClassification() + { + if (array_key_exists("inferenceClassification", $this->_propDict)) { + if (is_a($this->_propDict["inferenceClassification"], "\Beta\Microsoft\Graph\Model\InferenceClassificationType") || is_null($this->_propDict["inferenceClassification"])) { + return $this->_propDict["inferenceClassification"]; + } else { + $this->_propDict["inferenceClassification"] = new InferenceClassificationType($this->_propDict["inferenceClassification"]); + return $this->_propDict["inferenceClassification"]; + } + } + return null; + } + + /** + * Sets the inferenceClassification + * + * @param InferenceClassificationType $val The inferenceClassification + * + * @return Message + */ + public function setInferenceClassification($val) + { + $this->_propDict["inferenceClassification"] = $val; + return $this; + } + + + /** + * Gets the internetMessageHeaders + * + * @return array|null The internetMessageHeaders + */ + public function getInternetMessageHeaders() + { + if (array_key_exists("internetMessageHeaders", $this->_propDict)) { + return $this->_propDict["internetMessageHeaders"]; + } else { + return null; + } + } + + /** + * Sets the internetMessageHeaders + * + * @param InternetMessageHeader[] $val The internetMessageHeaders + * + * @return Message + */ + public function setInternetMessageHeaders($val) + { + $this->_propDict["internetMessageHeaders"] = $val; + return $this; + } + + /** + * Gets the internetMessageId + * + * @return string|null The internetMessageId + */ + public function getInternetMessageId() + { + if (array_key_exists("internetMessageId", $this->_propDict)) { + return $this->_propDict["internetMessageId"]; + } else { + return null; + } + } + + /** + * Sets the internetMessageId + * + * @param string $val The internetMessageId + * + * @return Message + */ + public function setInternetMessageId($val) + { + $this->_propDict["internetMessageId"] = $val; + return $this; + } + + /** + * Gets the isDeliveryReceiptRequested + * + * @return bool|null The isDeliveryReceiptRequested + */ + public function getIsDeliveryReceiptRequested() + { + if (array_key_exists("isDeliveryReceiptRequested", $this->_propDict)) { + return $this->_propDict["isDeliveryReceiptRequested"]; + } else { + return null; + } + } + + /** + * Sets the isDeliveryReceiptRequested + * + * @param bool $val The isDeliveryReceiptRequested + * + * @return Message + */ + public function setIsDeliveryReceiptRequested($val) + { + $this->_propDict["isDeliveryReceiptRequested"] = boolval($val); + return $this; + } + + /** + * Gets the isDraft + * + * @return bool|null The isDraft + */ + public function getIsDraft() + { + if (array_key_exists("isDraft", $this->_propDict)) { + return $this->_propDict["isDraft"]; + } else { + return null; + } + } + + /** + * Sets the isDraft + * + * @param bool $val The isDraft + * + * @return Message + */ + public function setIsDraft($val) + { + $this->_propDict["isDraft"] = boolval($val); + return $this; + } + + /** + * Gets the isRead + * + * @return bool|null The isRead + */ + public function getIsRead() + { + if (array_key_exists("isRead", $this->_propDict)) { + return $this->_propDict["isRead"]; + } else { + return null; + } + } + + /** + * Sets the isRead + * + * @param bool $val The isRead + * + * @return Message + */ + public function setIsRead($val) + { + $this->_propDict["isRead"] = boolval($val); + return $this; + } + + /** + * Gets the isReadReceiptRequested + * + * @return bool|null The isReadReceiptRequested + */ + public function getIsReadReceiptRequested() + { + if (array_key_exists("isReadReceiptRequested", $this->_propDict)) { + return $this->_propDict["isReadReceiptRequested"]; + } else { + return null; + } + } + + /** + * Sets the isReadReceiptRequested + * + * @param bool $val The isReadReceiptRequested + * + * @return Message + */ + public function setIsReadReceiptRequested($val) + { + $this->_propDict["isReadReceiptRequested"] = boolval($val); + return $this; + } + + /** + * Gets the mentionsPreview + * + * @return MentionsPreview|null The mentionsPreview + */ + public function getMentionsPreview() + { + if (array_key_exists("mentionsPreview", $this->_propDict)) { + if (is_a($this->_propDict["mentionsPreview"], "\Beta\Microsoft\Graph\Model\MentionsPreview") || is_null($this->_propDict["mentionsPreview"])) { + return $this->_propDict["mentionsPreview"]; + } else { + $this->_propDict["mentionsPreview"] = new MentionsPreview($this->_propDict["mentionsPreview"]); + return $this->_propDict["mentionsPreview"]; + } + } + return null; + } + + /** + * Sets the mentionsPreview + * + * @param MentionsPreview $val The mentionsPreview + * + * @return Message + */ + public function setMentionsPreview($val) + { + $this->_propDict["mentionsPreview"] = $val; + return $this; + } + + /** + * Gets the parentFolderId + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * + * @param string $val The parentFolderId + * + * @return Message + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the receivedDateTime + * + * @return \DateTime|null The receivedDateTime + */ + public function getReceivedDateTime() + { + if (array_key_exists("receivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["receivedDateTime"], "\DateTime") || is_null($this->_propDict["receivedDateTime"])) { + return $this->_propDict["receivedDateTime"]; + } else { + $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); + return $this->_propDict["receivedDateTime"]; + } + } + return null; + } + + /** + * Sets the receivedDateTime + * + * @param \DateTime $val The receivedDateTime + * + * @return Message + */ + public function setReceivedDateTime($val) + { + $this->_propDict["receivedDateTime"] = $val; + return $this; + } + + + /** + * Gets the replyTo + * + * @return array|null The replyTo + */ + public function getReplyTo() + { + if (array_key_exists("replyTo", $this->_propDict)) { + return $this->_propDict["replyTo"]; + } else { + return null; + } + } + + /** + * Sets the replyTo + * + * @param Recipient[] $val The replyTo + * + * @return Message + */ + public function setReplyTo($val) + { + $this->_propDict["replyTo"] = $val; + return $this; + } + + /** + * Gets the sender + * + * @return Recipient|null The sender + */ + public function getSender() + { + if (array_key_exists("sender", $this->_propDict)) { + if (is_a($this->_propDict["sender"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["sender"])) { + return $this->_propDict["sender"]; + } else { + $this->_propDict["sender"] = new Recipient($this->_propDict["sender"]); + return $this->_propDict["sender"]; + } + } + return null; + } + + /** + * Sets the sender + * + * @param Recipient $val The sender + * + * @return Message + */ + public function setSender($val) + { + $this->_propDict["sender"] = $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 sentDateTime + * + * @return Message + */ + public function setSentDateTime($val) + { + $this->_propDict["sentDateTime"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Message + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the toRecipients + * + * @return array|null The toRecipients + */ + public function getToRecipients() + { + if (array_key_exists("toRecipients", $this->_propDict)) { + return $this->_propDict["toRecipients"]; + } else { + return null; + } + } + + /** + * Sets the toRecipients + * + * @param Recipient[] $val The toRecipients + * + * @return Message + */ + public function setToRecipients($val) + { + $this->_propDict["toRecipients"] = $val; + return $this; + } + + /** + * Gets the uniqueBody + * + * @return ItemBody|null The uniqueBody + */ + public function getUniqueBody() + { + if (array_key_exists("uniqueBody", $this->_propDict)) { + if (is_a($this->_propDict["uniqueBody"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["uniqueBody"])) { + return $this->_propDict["uniqueBody"]; + } else { + $this->_propDict["uniqueBody"] = new ItemBody($this->_propDict["uniqueBody"]); + return $this->_propDict["uniqueBody"]; + } + } + return null; + } + + /** + * Sets the uniqueBody + * + * @param ItemBody $val The uniqueBody + * + * @return Message + */ + public function setUniqueBody($val) + { + $this->_propDict["uniqueBody"] = $val; + return $this; + } + + /** + * Gets the unsubscribeData + * + * @return string|null The unsubscribeData + */ + public function getUnsubscribeData() + { + if (array_key_exists("unsubscribeData", $this->_propDict)) { + return $this->_propDict["unsubscribeData"]; + } else { + return null; + } + } + + /** + * Sets the unsubscribeData + * + * @param string $val The unsubscribeData + * + * @return Message + */ + public function setUnsubscribeData($val) + { + $this->_propDict["unsubscribeData"] = $val; + return $this; + } + + /** + * Gets the unsubscribeEnabled + * + * @return bool|null The unsubscribeEnabled + */ + public function getUnsubscribeEnabled() + { + if (array_key_exists("unsubscribeEnabled", $this->_propDict)) { + return $this->_propDict["unsubscribeEnabled"]; + } else { + return null; + } + } + + /** + * Sets the unsubscribeEnabled + * + * @param bool $val The unsubscribeEnabled + * + * @return Message + */ + public function setUnsubscribeEnabled($val) + { + $this->_propDict["unsubscribeEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the webLink + * + * @return string|null The webLink + */ + public function getWebLink() + { + if (array_key_exists("webLink", $this->_propDict)) { + return $this->_propDict["webLink"]; + } else { + return null; + } + } + + /** + * Sets the webLink + * + * @param string $val The webLink + * + * @return Message + */ + public function setWebLink($val) + { + $this->_propDict["webLink"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The fileAttachment and itemAttachment attachments for the message. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The fileAttachment and itemAttachment attachments for the message. + * + * @param Attachment[] $val The attachments + * + * @return Message + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the message. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the message. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Message + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the mentions + * A collection of mentions in the message, ordered by the createdDateTime from the newest to the oldest. By default, a GET /messages does not return this property unless you apply $expand on the property. + * + * @return array|null The mentions + */ + public function getMentions() + { + if (array_key_exists("mentions", $this->_propDict)) { + return $this->_propDict["mentions"]; + } else { + return null; + } + } + + /** + * Sets the mentions + * A collection of mentions in the message, ordered by the createdDateTime from the newest to the oldest. By default, a GET /messages does not return this property unless you apply $expand on the property. + * + * @param Mention[] $val The mentions + * + * @return Message + */ + public function setMentions($val) + { + $this->_propDict["mentions"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the message. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the message. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Message + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the message. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the message. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Message + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageActionFlag.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageActionFlag.php new file mode 100644 index 0000000..3b42f59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageActionFlag.php @@ -0,0 +1,43 @@ +_propDict)) { + if (is_a($this->_propDict["dateTime"], "\DateTime") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new \DateTime($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * + * @param \DateTime $val The dateTime + * + * @return MessageEvent + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return MessageEvent + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the eventType + * + * @return MessageEventType|null The eventType + */ + public function getEventType() + { + if (array_key_exists("eventType", $this->_propDict)) { + if (is_a($this->_propDict["eventType"], "\Beta\Microsoft\Graph\Model\MessageEventType") || is_null($this->_propDict["eventType"])) { + return $this->_propDict["eventType"]; + } else { + $this->_propDict["eventType"] = new MessageEventType($this->_propDict["eventType"]); + return $this->_propDict["eventType"]; + } + } + return null; + } + + /** + * Sets the eventType + * + * @param MessageEventType $val The eventType + * + * @return MessageEvent + */ + public function setEventType($val) + { + $this->_propDict["eventType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageEventType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageEventType.php new file mode 100644 index 0000000..3e894dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageEventType.php @@ -0,0 +1,54 @@ +_propDict)) { + if (is_a($this->_propDict["deliveryStatus"], "\Beta\Microsoft\Graph\Model\MessageStatus") || is_null($this->_propDict["deliveryStatus"])) { + return $this->_propDict["deliveryStatus"]; + } else { + $this->_propDict["deliveryStatus"] = new MessageStatus($this->_propDict["deliveryStatus"]); + return $this->_propDict["deliveryStatus"]; + } + } + return null; + } + + /** + * Sets the deliveryStatus + * + * @param MessageStatus $val The deliveryStatus + * + * @return MessageRecipient + */ + public function setDeliveryStatus($val) + { + $this->_propDict["deliveryStatus"] = $val; + return $this; + } + + /** + * Gets the recipientEmail + * + * @return string|null The recipientEmail + */ + public function getRecipientEmail() + { + if (array_key_exists("recipientEmail", $this->_propDict)) { + return $this->_propDict["recipientEmail"]; + } else { + return null; + } + } + + /** + * Sets the recipientEmail + * + * @param string $val The recipientEmail + * + * @return MessageRecipient + */ + public function setRecipientEmail($val) + { + $this->_propDict["recipientEmail"] = $val; + return $this; + } + + + /** + * Gets the events + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * + * @param MessageEvent[] $val The events + * + * @return MessageRecipient + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRule.php new file mode 100644 index 0000000..183463f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRule.php @@ -0,0 +1,271 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\MessageRuleActions") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new MessageRuleActions($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * Actions to be taken on a message when the corresponding conditions are fulfilled. + * + * @param MessageRuleActions $val The actions + * + * @return MessageRule + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the conditions + * Conditions that when fulfilled, will trigger the corresponding actions for that rule. + * + * @return MessageRulePredicates|null The conditions + */ + public function getConditions() + { + if (array_key_exists("conditions", $this->_propDict)) { + if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\MessageRulePredicates") || is_null($this->_propDict["conditions"])) { + return $this->_propDict["conditions"]; + } else { + $this->_propDict["conditions"] = new MessageRulePredicates($this->_propDict["conditions"]); + return $this->_propDict["conditions"]; + } + } + return null; + } + + /** + * Sets the conditions + * Conditions that when fulfilled, will trigger the corresponding actions for that rule. + * + * @param MessageRulePredicates $val The conditions + * + * @return MessageRule + */ + public function setConditions($val) + { + $this->_propDict["conditions"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the rule. + * + * @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 + * The display name of the rule. + * + * @param string $val The displayName + * + * @return MessageRule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the exceptions + * Exception conditions for the rule. + * + * @return MessageRulePredicates|null The exceptions + */ + public function getExceptions() + { + if (array_key_exists("exceptions", $this->_propDict)) { + if (is_a($this->_propDict["exceptions"], "\Beta\Microsoft\Graph\Model\MessageRulePredicates") || is_null($this->_propDict["exceptions"])) { + return $this->_propDict["exceptions"]; + } else { + $this->_propDict["exceptions"] = new MessageRulePredicates($this->_propDict["exceptions"]); + return $this->_propDict["exceptions"]; + } + } + return null; + } + + /** + * Sets the exceptions + * Exception conditions for the rule. + * + * @param MessageRulePredicates $val The exceptions + * + * @return MessageRule + */ + public function setExceptions($val) + { + $this->_propDict["exceptions"] = $val; + return $this; + } + + /** + * Gets the hasError + * Indicates whether the rule is in an error condition. Read-only. + * + * @return bool|null The hasError + */ + public function getHasError() + { + if (array_key_exists("hasError", $this->_propDict)) { + return $this->_propDict["hasError"]; + } else { + return null; + } + } + + /** + * Sets the hasError + * Indicates whether the rule is in an error condition. Read-only. + * + * @param bool $val The hasError + * + * @return MessageRule + */ + public function setHasError($val) + { + $this->_propDict["hasError"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the rule is enabled to be applied to messages. + * + * @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 + * Indicates whether the rule is enabled to be applied to messages. + * + * @param bool $val The isEnabled + * + * @return MessageRule + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isReadOnly + * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. + * + * @return bool|null The isReadOnly + */ + public function getIsReadOnly() + { + if (array_key_exists("isReadOnly", $this->_propDict)) { + return $this->_propDict["isReadOnly"]; + } else { + return null; + } + } + + /** + * Sets the isReadOnly + * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. + * + * @param bool $val The isReadOnly + * + * @return MessageRule + */ + public function setIsReadOnly($val) + { + $this->_propDict["isReadOnly"] = boolval($val); + return $this; + } + + /** + * Gets the sequence + * Indicates the order in which the rule is executed, among other rules. + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * Indicates the order in which the rule is executed, among other rules. + * + * @param int $val The sequence + * + * @return MessageRule + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRuleActions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRuleActions.php new file mode 100644 index 0000000..011aebf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRuleActions.php @@ -0,0 +1,354 @@ +_propDict)) { + return $this->_propDict["assignCategories"]; + } else { + return null; + } + } + + /** + * Sets the assignCategories + * A list of categories to be assigned to a message. + * + * @param string $val The value of the assignCategories + * + * @return MessageRuleActions + */ + public function setAssignCategories($val) + { + $this->_propDict["assignCategories"] = $val; + return $this; + } + /** + * Gets the copyToFolder + * The ID of a folder that a message is to be copied to. + * + * @return string|null The copyToFolder + */ + public function getCopyToFolder() + { + if (array_key_exists("copyToFolder", $this->_propDict)) { + return $this->_propDict["copyToFolder"]; + } else { + return null; + } + } + + /** + * Sets the copyToFolder + * The ID of a folder that a message is to be copied to. + * + * @param string $val The value of the copyToFolder + * + * @return MessageRuleActions + */ + public function setCopyToFolder($val) + { + $this->_propDict["copyToFolder"] = $val; + return $this; + } + /** + * Gets the delete + * Indicates whether a message should be moved to the Deleted Items folder. + * + * @return bool|null The delete + */ + public function getDelete() + { + if (array_key_exists("delete", $this->_propDict)) { + return $this->_propDict["delete"]; + } else { + return null; + } + } + + /** + * Sets the delete + * Indicates whether a message should be moved to the Deleted Items folder. + * + * @param bool $val The value of the delete + * + * @return MessageRuleActions + */ + public function setDelete($val) + { + $this->_propDict["delete"] = $val; + return $this; + } + + /** + * Gets the forwardAsAttachmentTo + * The email addresses of the recipients to which a message should be forwarded as an attachment. + * + * @return Recipient|null The forwardAsAttachmentTo + */ + public function getForwardAsAttachmentTo() + { + if (array_key_exists("forwardAsAttachmentTo", $this->_propDict)) { + if (is_a($this->_propDict["forwardAsAttachmentTo"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["forwardAsAttachmentTo"])) { + return $this->_propDict["forwardAsAttachmentTo"]; + } else { + $this->_propDict["forwardAsAttachmentTo"] = new Recipient($this->_propDict["forwardAsAttachmentTo"]); + return $this->_propDict["forwardAsAttachmentTo"]; + } + } + return null; + } + + /** + * Sets the forwardAsAttachmentTo + * The email addresses of the recipients to which a message should be forwarded as an attachment. + * + * @param Recipient $val The value to assign to the forwardAsAttachmentTo + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setForwardAsAttachmentTo($val) + { + $this->_propDict["forwardAsAttachmentTo"] = $val; + return $this; + } + + /** + * Gets the forwardTo + * The email addresses of the recipients to which a message should be forwarded. + * + * @return Recipient|null The forwardTo + */ + public function getForwardTo() + { + if (array_key_exists("forwardTo", $this->_propDict)) { + if (is_a($this->_propDict["forwardTo"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["forwardTo"])) { + return $this->_propDict["forwardTo"]; + } else { + $this->_propDict["forwardTo"] = new Recipient($this->_propDict["forwardTo"]); + return $this->_propDict["forwardTo"]; + } + } + return null; + } + + /** + * Sets the forwardTo + * The email addresses of the recipients to which a message should be forwarded. + * + * @param Recipient $val The value to assign to the forwardTo + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setForwardTo($val) + { + $this->_propDict["forwardTo"] = $val; + return $this; + } + /** + * Gets the markAsRead + * Indicates whether a message should be marked as read. + * + * @return bool|null The markAsRead + */ + public function getMarkAsRead() + { + if (array_key_exists("markAsRead", $this->_propDict)) { + return $this->_propDict["markAsRead"]; + } else { + return null; + } + } + + /** + * Sets the markAsRead + * Indicates whether a message should be marked as read. + * + * @param bool $val The value of the markAsRead + * + * @return MessageRuleActions + */ + public function setMarkAsRead($val) + { + $this->_propDict["markAsRead"] = $val; + return $this; + } + + /** + * Gets the markImportance + * Sets the importance of the message, which can be: low, normal, high. + * + * @return Importance|null The markImportance + */ + public function getMarkImportance() + { + if (array_key_exists("markImportance", $this->_propDict)) { + if (is_a($this->_propDict["markImportance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["markImportance"])) { + return $this->_propDict["markImportance"]; + } else { + $this->_propDict["markImportance"] = new Importance($this->_propDict["markImportance"]); + return $this->_propDict["markImportance"]; + } + } + return null; + } + + /** + * Sets the markImportance + * Sets the importance of the message, which can be: low, normal, high. + * + * @param Importance $val The value to assign to the markImportance + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setMarkImportance($val) + { + $this->_propDict["markImportance"] = $val; + return $this; + } + /** + * Gets the moveToFolder + * The ID of the folder that a message will be moved to. + * + * @return string|null The moveToFolder + */ + public function getMoveToFolder() + { + if (array_key_exists("moveToFolder", $this->_propDict)) { + return $this->_propDict["moveToFolder"]; + } else { + return null; + } + } + + /** + * Sets the moveToFolder + * The ID of the folder that a message will be moved to. + * + * @param string $val The value of the moveToFolder + * + * @return MessageRuleActions + */ + public function setMoveToFolder($val) + { + $this->_propDict["moveToFolder"] = $val; + return $this; + } + /** + * Gets the permanentDelete + * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. + * + * @return bool|null The permanentDelete + */ + public function getPermanentDelete() + { + if (array_key_exists("permanentDelete", $this->_propDict)) { + return $this->_propDict["permanentDelete"]; + } else { + return null; + } + } + + /** + * Sets the permanentDelete + * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. + * + * @param bool $val The value of the permanentDelete + * + * @return MessageRuleActions + */ + public function setPermanentDelete($val) + { + $this->_propDict["permanentDelete"] = $val; + return $this; + } + + /** + * Gets the redirectTo + * The email address to which a message should be redirected. + * + * @return Recipient|null The redirectTo + */ + public function getRedirectTo() + { + if (array_key_exists("redirectTo", $this->_propDict)) { + if (is_a($this->_propDict["redirectTo"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["redirectTo"])) { + return $this->_propDict["redirectTo"]; + } else { + $this->_propDict["redirectTo"] = new Recipient($this->_propDict["redirectTo"]); + return $this->_propDict["redirectTo"]; + } + } + return null; + } + + /** + * Sets the redirectTo + * The email address to which a message should be redirected. + * + * @param Recipient $val The value to assign to the redirectTo + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setRedirectTo($val) + { + $this->_propDict["redirectTo"] = $val; + return $this; + } + /** + * Gets the stopProcessingRules + * Indicates whether subsequent rules should be evaluated. + * + * @return bool|null The stopProcessingRules + */ + public function getStopProcessingRules() + { + if (array_key_exists("stopProcessingRules", $this->_propDict)) { + return $this->_propDict["stopProcessingRules"]; + } else { + return null; + } + } + + /** + * Sets the stopProcessingRules + * Indicates whether subsequent rules should be evaluated. + * + * @param bool $val The value of the stopProcessingRules + * + * @return MessageRuleActions + */ + public function setStopProcessingRules($val) + { + $this->_propDict["stopProcessingRules"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRulePredicates.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRulePredicates.php new file mode 100644 index 0000000..130378d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRulePredicates.php @@ -0,0 +1,896 @@ +_propDict)) { + return $this->_propDict["bodyContains"]; + } else { + return null; + } + } + + /** + * Sets the bodyContains + * Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the bodyContains + * + * @return MessageRulePredicates + */ + public function setBodyContains($val) + { + $this->_propDict["bodyContains"] = $val; + return $this; + } + /** + * Gets the bodyOrSubjectContains + * Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply. + * + * @return string|null The bodyOrSubjectContains + */ + public function getBodyOrSubjectContains() + { + if (array_key_exists("bodyOrSubjectContains", $this->_propDict)) { + return $this->_propDict["bodyOrSubjectContains"]; + } else { + return null; + } + } + + /** + * Sets the bodyOrSubjectContains + * Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the bodyOrSubjectContains + * + * @return MessageRulePredicates + */ + public function setBodyOrSubjectContains($val) + { + $this->_propDict["bodyOrSubjectContains"] = $val; + return $this; + } + /** + * Gets the categories + * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. + * + * @return string|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. + * + * @param string $val The value of the categories + * + * @return MessageRulePredicates + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the fromAddresses + * Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply. + * + * @return Recipient|null The fromAddresses + */ + public function getFromAddresses() + { + if (array_key_exists("fromAddresses", $this->_propDict)) { + if (is_a($this->_propDict["fromAddresses"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["fromAddresses"])) { + return $this->_propDict["fromAddresses"]; + } else { + $this->_propDict["fromAddresses"] = new Recipient($this->_propDict["fromAddresses"]); + return $this->_propDict["fromAddresses"]; + } + } + return null; + } + + /** + * Sets the fromAddresses + * Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply. + * + * @param Recipient $val The value to assign to the fromAddresses + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setFromAddresses($val) + { + $this->_propDict["fromAddresses"] = $val; + return $this; + } + /** + * Gets the hasAttachments + * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. + * + * @param bool $val The value of the hasAttachments + * + * @return MessageRulePredicates + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = $val; + return $this; + } + /** + * Gets the headerContains + * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. + * + * @return string|null The headerContains + */ + public function getHeaderContains() + { + if (array_key_exists("headerContains", $this->_propDict)) { + return $this->_propDict["headerContains"]; + } else { + return null; + } + } + + /** + * Sets the headerContains + * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the headerContains + * + * @return MessageRulePredicates + */ + public function setHeaderContains($val) + { + $this->_propDict["headerContains"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. + * + * @param Importance $val The value to assign to the importance + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + /** + * Gets the isApprovalRequest + * Indicates whether an incoming message must be an approval request in order for the condition or exception to apply. + * + * @return bool|null The isApprovalRequest + */ + public function getIsApprovalRequest() + { + if (array_key_exists("isApprovalRequest", $this->_propDict)) { + return $this->_propDict["isApprovalRequest"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequest + * Indicates whether an incoming message must be an approval request in order for the condition or exception to apply. + * + * @param bool $val The value of the isApprovalRequest + * + * @return MessageRulePredicates + */ + public function setIsApprovalRequest($val) + { + $this->_propDict["isApprovalRequest"] = $val; + return $this; + } + /** + * Gets the isAutomaticForward + * Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply. + * + * @return bool|null The isAutomaticForward + */ + public function getIsAutomaticForward() + { + if (array_key_exists("isAutomaticForward", $this->_propDict)) { + return $this->_propDict["isAutomaticForward"]; + } else { + return null; + } + } + + /** + * Sets the isAutomaticForward + * Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply. + * + * @param bool $val The value of the isAutomaticForward + * + * @return MessageRulePredicates + */ + public function setIsAutomaticForward($val) + { + $this->_propDict["isAutomaticForward"] = $val; + return $this; + } + /** + * Gets the isAutomaticReply + * Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply. + * + * @return bool|null The isAutomaticReply + */ + public function getIsAutomaticReply() + { + if (array_key_exists("isAutomaticReply", $this->_propDict)) { + return $this->_propDict["isAutomaticReply"]; + } else { + return null; + } + } + + /** + * Sets the isAutomaticReply + * Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply. + * + * @param bool $val The value of the isAutomaticReply + * + * @return MessageRulePredicates + */ + public function setIsAutomaticReply($val) + { + $this->_propDict["isAutomaticReply"] = $val; + return $this; + } + /** + * Gets the isEncrypted + * Indicates whether an incoming message must be encrypted in order for the condition or exception to apply. + * + * @return bool|null The isEncrypted + */ + public function getIsEncrypted() + { + if (array_key_exists("isEncrypted", $this->_propDict)) { + return $this->_propDict["isEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the isEncrypted + * Indicates whether an incoming message must be encrypted in order for the condition or exception to apply. + * + * @param bool $val The value of the isEncrypted + * + * @return MessageRulePredicates + */ + public function setIsEncrypted($val) + { + $this->_propDict["isEncrypted"] = $val; + return $this; + } + /** + * Gets the isMeetingRequest + * Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply. + * + * @return bool|null The isMeetingRequest + */ + public function getIsMeetingRequest() + { + if (array_key_exists("isMeetingRequest", $this->_propDict)) { + return $this->_propDict["isMeetingRequest"]; + } else { + return null; + } + } + + /** + * Sets the isMeetingRequest + * Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply. + * + * @param bool $val The value of the isMeetingRequest + * + * @return MessageRulePredicates + */ + public function setIsMeetingRequest($val) + { + $this->_propDict["isMeetingRequest"] = $val; + return $this; + } + /** + * Gets the isMeetingResponse + * Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply. + * + * @return bool|null The isMeetingResponse + */ + public function getIsMeetingResponse() + { + if (array_key_exists("isMeetingResponse", $this->_propDict)) { + return $this->_propDict["isMeetingResponse"]; + } else { + return null; + } + } + + /** + * Sets the isMeetingResponse + * Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply. + * + * @param bool $val The value of the isMeetingResponse + * + * @return MessageRulePredicates + */ + public function setIsMeetingResponse($val) + { + $this->_propDict["isMeetingResponse"] = $val; + return $this; + } + /** + * Gets the isNonDeliveryReport + * Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply. + * + * @return bool|null The isNonDeliveryReport + */ + public function getIsNonDeliveryReport() + { + if (array_key_exists("isNonDeliveryReport", $this->_propDict)) { + return $this->_propDict["isNonDeliveryReport"]; + } else { + return null; + } + } + + /** + * Sets the isNonDeliveryReport + * Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply. + * + * @param bool $val The value of the isNonDeliveryReport + * + * @return MessageRulePredicates + */ + public function setIsNonDeliveryReport($val) + { + $this->_propDict["isNonDeliveryReport"] = $val; + return $this; + } + /** + * Gets the isPermissionControlled + * Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply. + * + * @return bool|null The isPermissionControlled + */ + public function getIsPermissionControlled() + { + if (array_key_exists("isPermissionControlled", $this->_propDict)) { + return $this->_propDict["isPermissionControlled"]; + } else { + return null; + } + } + + /** + * Sets the isPermissionControlled + * Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply. + * + * @param bool $val The value of the isPermissionControlled + * + * @return MessageRulePredicates + */ + public function setIsPermissionControlled($val) + { + $this->_propDict["isPermissionControlled"] = $val; + return $this; + } + /** + * Gets the isReadReceipt + * Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply. + * + * @return bool|null The isReadReceipt + */ + public function getIsReadReceipt() + { + if (array_key_exists("isReadReceipt", $this->_propDict)) { + return $this->_propDict["isReadReceipt"]; + } else { + return null; + } + } + + /** + * Sets the isReadReceipt + * Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply. + * + * @param bool $val The value of the isReadReceipt + * + * @return MessageRulePredicates + */ + public function setIsReadReceipt($val) + { + $this->_propDict["isReadReceipt"] = $val; + return $this; + } + /** + * Gets the isSigned + * Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply. + * + * @return bool|null The isSigned + */ + public function getIsSigned() + { + if (array_key_exists("isSigned", $this->_propDict)) { + return $this->_propDict["isSigned"]; + } else { + return null; + } + } + + /** + * Sets the isSigned + * Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply. + * + * @param bool $val The value of the isSigned + * + * @return MessageRulePredicates + */ + public function setIsSigned($val) + { + $this->_propDict["isSigned"] = $val; + return $this; + } + /** + * Gets the isVoicemail + * Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply. + * + * @return bool|null The isVoicemail + */ + public function getIsVoicemail() + { + if (array_key_exists("isVoicemail", $this->_propDict)) { + return $this->_propDict["isVoicemail"]; + } else { + return null; + } + } + + /** + * Sets the isVoicemail + * Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply. + * + * @param bool $val The value of the isVoicemail + * + * @return MessageRulePredicates + */ + public function setIsVoicemail($val) + { + $this->_propDict["isVoicemail"] = $val; + return $this; + } + + /** + * Gets the messageActionFlag + * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. + * + * @return MessageActionFlag|null The messageActionFlag + */ + public function getMessageActionFlag() + { + if (array_key_exists("messageActionFlag", $this->_propDict)) { + if (is_a($this->_propDict["messageActionFlag"], "\Beta\Microsoft\Graph\Model\MessageActionFlag") || is_null($this->_propDict["messageActionFlag"])) { + return $this->_propDict["messageActionFlag"]; + } else { + $this->_propDict["messageActionFlag"] = new MessageActionFlag($this->_propDict["messageActionFlag"]); + return $this->_propDict["messageActionFlag"]; + } + } + return null; + } + + /** + * Sets the messageActionFlag + * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. + * + * @param MessageActionFlag $val The value to assign to the messageActionFlag + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setMessageActionFlag($val) + { + $this->_propDict["messageActionFlag"] = $val; + return $this; + } + /** + * Gets the notSentToMe + * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The notSentToMe + */ + public function getNotSentToMe() + { + if (array_key_exists("notSentToMe", $this->_propDict)) { + return $this->_propDict["notSentToMe"]; + } else { + return null; + } + } + + /** + * Sets the notSentToMe + * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the notSentToMe + * + * @return MessageRulePredicates + */ + public function setNotSentToMe($val) + { + $this->_propDict["notSentToMe"] = $val; + return $this; + } + /** + * Gets the recipientContains + * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. + * + * @return string|null The recipientContains + */ + public function getRecipientContains() + { + if (array_key_exists("recipientContains", $this->_propDict)) { + return $this->_propDict["recipientContains"]; + } else { + return null; + } + } + + /** + * Sets the recipientContains + * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the recipientContains + * + * @return MessageRulePredicates + */ + public function setRecipientContains($val) + { + $this->_propDict["recipientContains"] = $val; + return $this; + } + /** + * Gets the senderContains + * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. + * + * @return string|null The senderContains + */ + public function getSenderContains() + { + if (array_key_exists("senderContains", $this->_propDict)) { + return $this->_propDict["senderContains"]; + } else { + return null; + } + } + + /** + * Sets the senderContains + * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the senderContains + * + * @return MessageRulePredicates + */ + public function setSenderContains($val) + { + $this->_propDict["senderContains"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + * + * @return Sensitivity|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + if (is_a($this->_propDict["sensitivity"], "\Beta\Microsoft\Graph\Model\Sensitivity") || is_null($this->_propDict["sensitivity"])) { + return $this->_propDict["sensitivity"]; + } else { + $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); + return $this->_propDict["sensitivity"]; + } + } + return null; + } + + /** + * Sets the sensitivity + * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + * + * @param Sensitivity $val The value to assign to the sensitivity + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = $val; + return $this; + } + /** + * Gets the sentCcMe + * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentCcMe + */ + public function getSentCcMe() + { + if (array_key_exists("sentCcMe", $this->_propDict)) { + return $this->_propDict["sentCcMe"]; + } else { + return null; + } + } + + /** + * Sets the sentCcMe + * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentCcMe + * + * @return MessageRulePredicates + */ + public function setSentCcMe($val) + { + $this->_propDict["sentCcMe"] = $val; + return $this; + } + /** + * Gets the sentOnlyToMe + * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentOnlyToMe + */ + public function getSentOnlyToMe() + { + if (array_key_exists("sentOnlyToMe", $this->_propDict)) { + return $this->_propDict["sentOnlyToMe"]; + } else { + return null; + } + } + + /** + * Sets the sentOnlyToMe + * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentOnlyToMe + * + * @return MessageRulePredicates + */ + public function setSentOnlyToMe($val) + { + $this->_propDict["sentOnlyToMe"] = $val; + return $this; + } + + /** + * Gets the sentToAddresses + * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. + * + * @return Recipient|null The sentToAddresses + */ + public function getSentToAddresses() + { + if (array_key_exists("sentToAddresses", $this->_propDict)) { + if (is_a($this->_propDict["sentToAddresses"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["sentToAddresses"])) { + return $this->_propDict["sentToAddresses"]; + } else { + $this->_propDict["sentToAddresses"] = new Recipient($this->_propDict["sentToAddresses"]); + return $this->_propDict["sentToAddresses"]; + } + } + return null; + } + + /** + * Sets the sentToAddresses + * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. + * + * @param Recipient $val The value to assign to the sentToAddresses + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setSentToAddresses($val) + { + $this->_propDict["sentToAddresses"] = $val; + return $this; + } + /** + * Gets the sentToMe + * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentToMe + */ + public function getSentToMe() + { + if (array_key_exists("sentToMe", $this->_propDict)) { + return $this->_propDict["sentToMe"]; + } else { + return null; + } + } + + /** + * Sets the sentToMe + * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentToMe + * + * @return MessageRulePredicates + */ + public function setSentToMe($val) + { + $this->_propDict["sentToMe"] = $val; + return $this; + } + /** + * Gets the sentToOrCcMe + * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentToOrCcMe + */ + public function getSentToOrCcMe() + { + if (array_key_exists("sentToOrCcMe", $this->_propDict)) { + return $this->_propDict["sentToOrCcMe"]; + } else { + return null; + } + } + + /** + * Sets the sentToOrCcMe + * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentToOrCcMe + * + * @return MessageRulePredicates + */ + public function setSentToOrCcMe($val) + { + $this->_propDict["sentToOrCcMe"] = $val; + return $this; + } + /** + * Gets the subjectContains + * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. + * + * @return string|null The subjectContains + */ + public function getSubjectContains() + { + if (array_key_exists("subjectContains", $this->_propDict)) { + return $this->_propDict["subjectContains"]; + } else { + return null; + } + } + + /** + * Sets the subjectContains + * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the subjectContains + * + * @return MessageRulePredicates + */ + public function setSubjectContains($val) + { + $this->_propDict["subjectContains"] = $val; + return $this; + } + + /** + * Gets the withinSizeRange + * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. + * + * @return SizeRange|null The withinSizeRange + */ + public function getWithinSizeRange() + { + if (array_key_exists("withinSizeRange", $this->_propDict)) { + if (is_a($this->_propDict["withinSizeRange"], "\Beta\Microsoft\Graph\Model\SizeRange") || is_null($this->_propDict["withinSizeRange"])) { + return $this->_propDict["withinSizeRange"]; + } else { + $this->_propDict["withinSizeRange"] = new SizeRange($this->_propDict["withinSizeRange"]); + return $this->_propDict["withinSizeRange"]; + } + } + return null; + } + + /** + * Sets the withinSizeRange + * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. + * + * @param SizeRange $val The value to assign to the withinSizeRange + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setWithinSizeRange($val) + { + $this->_propDict["withinSizeRange"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageSecurityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageSecurityState.php new file mode 100644 index 0000000..d7acd44 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageSecurityState.php @@ -0,0 +1,265 @@ +_propDict)) { + return $this->_propDict["connectingIP"]; + } else { + return null; + } + } + + /** + * Sets the connectingIP + * + * @param string $val The value of the connectingIP + * + * @return MessageSecurityState + */ + public function setConnectingIP($val) + { + $this->_propDict["connectingIP"] = $val; + return $this; + } + /** + * Gets the deliveryAction + * + * @return string|null The deliveryAction + */ + public function getDeliveryAction() + { + if (array_key_exists("deliveryAction", $this->_propDict)) { + return $this->_propDict["deliveryAction"]; + } else { + return null; + } + } + + /** + * Sets the deliveryAction + * + * @param string $val The value of the deliveryAction + * + * @return MessageSecurityState + */ + public function setDeliveryAction($val) + { + $this->_propDict["deliveryAction"] = $val; + return $this; + } + /** + * Gets the deliveryLocation + * + * @return string|null The deliveryLocation + */ + public function getDeliveryLocation() + { + if (array_key_exists("deliveryLocation", $this->_propDict)) { + return $this->_propDict["deliveryLocation"]; + } else { + return null; + } + } + + /** + * Sets the deliveryLocation + * + * @param string $val The value of the deliveryLocation + * + * @return MessageSecurityState + */ + public function setDeliveryLocation($val) + { + $this->_propDict["deliveryLocation"] = $val; + return $this; + } + /** + * Gets the directionality + * + * @return string|null The directionality + */ + public function getDirectionality() + { + if (array_key_exists("directionality", $this->_propDict)) { + return $this->_propDict["directionality"]; + } else { + return null; + } + } + + /** + * Sets the directionality + * + * @param string $val The value of the directionality + * + * @return MessageSecurityState + */ + public function setDirectionality($val) + { + $this->_propDict["directionality"] = $val; + return $this; + } + /** + * Gets the internetMessageId + * + * @return string|null The internetMessageId + */ + public function getInternetMessageId() + { + if (array_key_exists("internetMessageId", $this->_propDict)) { + return $this->_propDict["internetMessageId"]; + } else { + return null; + } + } + + /** + * Sets the internetMessageId + * + * @param string $val The value of the internetMessageId + * + * @return MessageSecurityState + */ + public function setInternetMessageId($val) + { + $this->_propDict["internetMessageId"] = $val; + return $this; + } + /** + * Gets the messageFingerprint + * + * @return string|null The messageFingerprint + */ + public function getMessageFingerprint() + { + if (array_key_exists("messageFingerprint", $this->_propDict)) { + return $this->_propDict["messageFingerprint"]; + } else { + return null; + } + } + + /** + * Sets the messageFingerprint + * + * @param string $val The value of the messageFingerprint + * + * @return MessageSecurityState + */ + public function setMessageFingerprint($val) + { + $this->_propDict["messageFingerprint"] = $val; + return $this; + } + + /** + * Gets the messageReceivedDateTime + * + * @return \DateTime|null The messageReceivedDateTime + */ + public function getMessageReceivedDateTime() + { + if (array_key_exists("messageReceivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["messageReceivedDateTime"], "\DateTime") || is_null($this->_propDict["messageReceivedDateTime"])) { + return $this->_propDict["messageReceivedDateTime"]; + } else { + $this->_propDict["messageReceivedDateTime"] = new \DateTime($this->_propDict["messageReceivedDateTime"]); + return $this->_propDict["messageReceivedDateTime"]; + } + } + return null; + } + + /** + * Sets the messageReceivedDateTime + * + * @param \DateTime $val The value to assign to the messageReceivedDateTime + * + * @return MessageSecurityState The MessageSecurityState + */ + public function setMessageReceivedDateTime($val) + { + $this->_propDict["messageReceivedDateTime"] = $val; + return $this; + } + /** + * Gets the messageSubject + * + * @return string|null The messageSubject + */ + public function getMessageSubject() + { + if (array_key_exists("messageSubject", $this->_propDict)) { + return $this->_propDict["messageSubject"]; + } else { + return null; + } + } + + /** + * Sets the messageSubject + * + * @param string $val The value of the messageSubject + * + * @return MessageSecurityState + */ + public function setMessageSubject($val) + { + $this->_propDict["messageSubject"] = $val; + return $this; + } + /** + * Gets the networkMessageId + * + * @return string|null The networkMessageId + */ + public function getNetworkMessageId() + { + if (array_key_exists("networkMessageId", $this->_propDict)) { + return $this->_propDict["networkMessageId"]; + } else { + return null; + } + } + + /** + * Sets the networkMessageId + * + * @param string $val The value of the networkMessageId + * + * @return MessageSecurityState + */ + public function setNetworkMessageId($val) + { + $this->_propDict["networkMessageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageStatus.php new file mode 100644 index 0000000..054c814 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageStatus.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["destinationIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the destinationIPAddress + * + * @param string $val The destinationIPAddress + * + * @return MessageTrace + */ + public function setDestinationIPAddress($val) + { + $this->_propDict["destinationIPAddress"] = $val; + return $this; + } + + /** + * Gets the messageId + * + * @return string|null The messageId + */ + public function getMessageId() + { + if (array_key_exists("messageId", $this->_propDict)) { + return $this->_propDict["messageId"]; + } else { + return null; + } + } + + /** + * Sets the messageId + * + * @param string $val The messageId + * + * @return MessageTrace + */ + public function setMessageId($val) + { + $this->_propDict["messageId"] = $val; + return $this; + } + + /** + * Gets the receivedDateTime + * + * @return \DateTime|null The receivedDateTime + */ + public function getReceivedDateTime() + { + if (array_key_exists("receivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["receivedDateTime"], "\DateTime") || is_null($this->_propDict["receivedDateTime"])) { + return $this->_propDict["receivedDateTime"]; + } else { + $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); + return $this->_propDict["receivedDateTime"]; + } + } + return null; + } + + /** + * Sets the receivedDateTime + * + * @param \DateTime $val The receivedDateTime + * + * @return MessageTrace + */ + public function setReceivedDateTime($val) + { + $this->_propDict["receivedDateTime"] = $val; + return $this; + } + + /** + * Gets the senderEmail + * + * @return string|null The senderEmail + */ + public function getSenderEmail() + { + if (array_key_exists("senderEmail", $this->_propDict)) { + return $this->_propDict["senderEmail"]; + } else { + return null; + } + } + + /** + * Sets the senderEmail + * + * @param string $val The senderEmail + * + * @return MessageTrace + */ + public function setSenderEmail($val) + { + $this->_propDict["senderEmail"] = $val; + return $this; + } + + /** + * Gets the size + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * + * @param int $val The size + * + * @return MessageTrace + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the sourceIPAddress + * + * @return string|null The sourceIPAddress + */ + public function getSourceIPAddress() + { + if (array_key_exists("sourceIPAddress", $this->_propDict)) { + return $this->_propDict["sourceIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the sourceIPAddress + * + * @param string $val The sourceIPAddress + * + * @return MessageTrace + */ + public function setSourceIPAddress($val) + { + $this->_propDict["sourceIPAddress"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return MessageTrace + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the recipients + * + * @return array|null The recipients + */ + public function getRecipients() + { + if (array_key_exists("recipients", $this->_propDict)) { + return $this->_propDict["recipients"]; + } else { + return null; + } + } + + /** + * Sets the recipients + * + * @param MessageRecipient[] $val The recipients + * + * @return MessageTrace + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataAction.php new file mode 100644 index 0000000..b7912dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataAction.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["metadataToAdd"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["metadataToAdd"])) { + return $this->_propDict["metadataToAdd"]; + } else { + $this->_propDict["metadataToAdd"] = new KeyValuePair($this->_propDict["metadataToAdd"]); + return $this->_propDict["metadataToAdd"]; + } + } + return null; + } + + /** + * Sets the metadataToAdd + * A collection of key value pairs that should be added to the file. + * + * @param KeyValuePair $val The value to assign to the metadataToAdd + * + * @return MetadataAction The MetadataAction + */ + public function setMetadataToAdd($val) + { + $this->_propDict["metadataToAdd"] = $val; + return $this; + } + /** + * Gets the metadataToRemove + * A collection of strings that indicate which keys to remove from the file metadata. + * + * @return string|null The metadataToRemove + */ + public function getMetadataToRemove() + { + if (array_key_exists("metadataToRemove", $this->_propDict)) { + return $this->_propDict["metadataToRemove"]; + } else { + return null; + } + } + + /** + * Sets the metadataToRemove + * A collection of strings that indicate which keys to remove from the file metadata. + * + * @param string $val The value of the metadataToRemove + * + * @return MetadataAction + */ + public function setMetadataToRemove($val) + { + $this->_propDict["metadataToRemove"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataEntry.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataEntry.php new file mode 100644 index 0000000..bed1383 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataEntry.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Name of the metadata property. + * + * @param string $val The value of the key + * + * @return MetadataEntry + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value of the metadata property. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the metadata property. + * + * @param string $val The value of the value + * + * @return MetadataEntry + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeteredConnectionLimitType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeteredConnectionLimitType.php new file mode 100644 index 0000000..13e4830 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeteredConnectionLimitType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["dateTime"], "\DateTime") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new \DateTime($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * Time of the metric time series data point + * + * @param \DateTime $val The value to assign to the dateTime + * + * @return MetricTimeSeriesDataPoint The MetricTimeSeriesDataPoint + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + /** + * Gets the value + * Value of the metric time series data point + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the metric time series data point + * + * @param int $val The value of the value + * + * @return MetricTimeSeriesDataPoint + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MfaDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MfaDetail.php new file mode 100644 index 0000000..0e576b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MfaDetail.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["authDetail"]; + } else { + return null; + } + } + + /** + * Sets the authDetail + * Indicates the MFA auth detail for the corresponding Sign-in activity when the MFA Required is 'Yes'. + * + * @param string $val The value of the authDetail + * + * @return MfaDetail + */ + public function setAuthDetail($val) + { + $this->_propDict["authDetail"] = $val; + return $this; + } + /** + * Gets the authMethod + * Indicates the MFA Auth methods (SMS, Phone, Authenticator App are some of the value) for the corresponding sign-in activity when the MFA Required field is 'Yes'. + * + * @return string|null The authMethod + */ + public function getAuthMethod() + { + if (array_key_exists("authMethod", $this->_propDict)) { + return $this->_propDict["authMethod"]; + } else { + return null; + } + } + + /** + * Sets the authMethod + * Indicates the MFA Auth methods (SMS, Phone, Authenticator App are some of the value) for the corresponding sign-in activity when the MFA Required field is 'Yes'. + * + * @param string $val The value of the authMethod + * + * @return MfaDetail + */ + public function setAuthMethod($val) + { + $this->_propDict["authMethod"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAccountUserConversationMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAccountUserConversationMember.php new file mode 100644 index 0000000..5d185e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAccountUserConversationMember.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * ID of the user. + * + * @param string $val The userId + * + * @return MicrosoftAccountUserConversationMember + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftApplicationDataAccessSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftApplicationDataAccessSettings.php new file mode 100644 index 0000000..c17a1f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftApplicationDataAccessSettings.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["disabledForGroup"]; + } else { + return null; + } + } + + /** + * Sets the disabledForGroup + * The ID of an Azure Active Directory (Azure AD) security group for which the members are allowed to access Microsoft 365 data using only Microsoft 365 apps, but not other Microsoft apps such as Edge. This is only applicable if isEnabledForAllMicrosoftApplications is set to true. + * + * @param string $val The disabledForGroup + * + * @return MicrosoftApplicationDataAccessSettings + */ + public function setDisabledForGroup($val) + { + $this->_propDict["disabledForGroup"] = $val; + return $this; + } + + /** + * Gets the isEnabledForAllMicrosoftApplications + * When set to true, all users in the organization can access in a Microsoft app any Microsoft 365 data that the user has been authorized to access. The Microsoft app can be a Microsoft 365 app (for example, Excel, Outlook) or non-Microsoft 365 app (for example, Edge). The default is true. It is possible to disable this access for a subset of users in an Azure AD security group, by specifying the group in the disabledForGroup property. When set to false, all users can access authorized Microsoft 365 data only in a Microsoft 365 app. + * + * @return bool|null The isEnabledForAllMicrosoftApplications + */ + public function getIsEnabledForAllMicrosoftApplications() + { + if (array_key_exists("isEnabledForAllMicrosoftApplications", $this->_propDict)) { + return $this->_propDict["isEnabledForAllMicrosoftApplications"]; + } else { + return null; + } + } + + /** + * Sets the isEnabledForAllMicrosoftApplications + * When set to true, all users in the organization can access in a Microsoft app any Microsoft 365 data that the user has been authorized to access. The Microsoft app can be a Microsoft 365 app (for example, Excel, Outlook) or non-Microsoft 365 app (for example, Edge). The default is true. It is possible to disable this access for a subset of users in an Azure AD security group, by specifying the group in the disabledForGroup property. When set to false, all users can access authorized Microsoft 365 data only in a Microsoft 365 app. + * + * @param bool $val The isEnabledForAllMicrosoftApplications + * + * @return MicrosoftApplicationDataAccessSettings + */ + public function setIsEnabledForAllMicrosoftApplications($val) + { + $this->_propDict["isEnabledForAllMicrosoftApplications"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethod.php new file mode 100644 index 0000000..5586078 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethod.php @@ -0,0 +1,180 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time that this app was registered. This property is null if the device is not registered for passwordless Phone Sign-In. + * + * @param \DateTime $val The createdDateTime + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceTag + * Tags containing app metadata. + * + * @return string|null The deviceTag + */ + public function getDeviceTag() + { + if (array_key_exists("deviceTag", $this->_propDict)) { + return $this->_propDict["deviceTag"]; + } else { + return null; + } + } + + /** + * Sets the deviceTag + * Tags containing app metadata. + * + * @param string $val The deviceTag + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setDeviceTag($val) + { + $this->_propDict["deviceTag"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the device on which this app is registered. + * + * @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 + * The name of the device on which this app is registered. + * + * @param string $val The displayName + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the phoneAppVersion + * Numerical version of this instance of the Authenticator app. + * + * @return string|null The phoneAppVersion + */ + public function getPhoneAppVersion() + { + if (array_key_exists("phoneAppVersion", $this->_propDict)) { + return $this->_propDict["phoneAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the phoneAppVersion + * Numerical version of this instance of the Authenticator app. + * + * @param string $val The phoneAppVersion + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setPhoneAppVersion($val) + { + $this->_propDict["phoneAppVersion"] = $val; + return $this; + } + + /** + * Gets the device + * The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. + * + * @return Device|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\Device") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Device($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. + * + * @param Device $val The device + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..f8ed32f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param MicrosoftAuthenticatorAuthenticationMethodTarget[] $val The includeTargets + * + * @return MicrosoftAuthenticatorAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php new file mode 100644 index 0000000..929f3cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMode"], "\Beta\Microsoft\Graph\Model\MicrosoftAuthenticatorAuthenticationMode") || is_null($this->_propDict["authenticationMode"])) { + return $this->_propDict["authenticationMode"]; + } else { + $this->_propDict["authenticationMode"] = new MicrosoftAuthenticatorAuthenticationMode($this->_propDict["authenticationMode"]); + return $this->_propDict["authenticationMode"]; + } + } + return null; + } + + /** + * Sets the authenticationMode + * Determines which types of notifications can be used for sign-in. The possible values are: deviceBasedPush (passwordless only), push, and any. + * + * @param MicrosoftAuthenticatorAuthenticationMode $val The authenticationMode + * + * @return MicrosoftAuthenticatorAuthenticationMethodTarget + */ + public function setAuthenticationMode($val) + { + $this->_propDict["authenticationMode"] = $val; + return $this; + } + + /** + * Gets the displayAppInformationRequiredState + * Determines whether the user is shown additional context in their Authenticator app notification. In the body of the Authenticator notification, the user will be shown the app they are signing into along with the location that the authentication request originated from. Possible values are: enabled, disabled, default. + * + * @return AdvancedConfigState|null The displayAppInformationRequiredState + */ + public function getDisplayAppInformationRequiredState() + { + if (array_key_exists("displayAppInformationRequiredState", $this->_propDict)) { + if (is_a($this->_propDict["displayAppInformationRequiredState"], "\Beta\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["displayAppInformationRequiredState"])) { + return $this->_propDict["displayAppInformationRequiredState"]; + } else { + $this->_propDict["displayAppInformationRequiredState"] = new AdvancedConfigState($this->_propDict["displayAppInformationRequiredState"]); + return $this->_propDict["displayAppInformationRequiredState"]; + } + } + return null; + } + + /** + * Sets the displayAppInformationRequiredState + * Determines whether the user is shown additional context in their Authenticator app notification. In the body of the Authenticator notification, the user will be shown the app they are signing into along with the location that the authentication request originated from. Possible values are: enabled, disabled, default. + * + * @param AdvancedConfigState $val The displayAppInformationRequiredState + * + * @return MicrosoftAuthenticatorAuthenticationMethodTarget + */ + public function setDisplayAppInformationRequiredState($val) + { + $this->_propDict["displayAppInformationRequiredState"] = $val; + return $this; + } + + /** + * Gets the numberMatchingRequiredState + * Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications. Possible values are: enabled, disabled, default. + * + * @return AdvancedConfigState|null The numberMatchingRequiredState + */ + public function getNumberMatchingRequiredState() + { + if (array_key_exists("numberMatchingRequiredState", $this->_propDict)) { + if (is_a($this->_propDict["numberMatchingRequiredState"], "\Beta\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["numberMatchingRequiredState"])) { + return $this->_propDict["numberMatchingRequiredState"]; + } else { + $this->_propDict["numberMatchingRequiredState"] = new AdvancedConfigState($this->_propDict["numberMatchingRequiredState"]); + return $this->_propDict["numberMatchingRequiredState"]; + } + } + return null; + } + + /** + * Sets the numberMatchingRequiredState + * Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications. Possible values are: enabled, disabled, default. + * + * @param AdvancedConfigState $val The numberMatchingRequiredState + * + * @return MicrosoftAuthenticatorAuthenticationMethodTarget + */ + public function setNumberMatchingRequiredState($val) + { + $this->_propDict["numberMatchingRequiredState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMode.php new file mode 100644 index 0000000..d10e1be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMode.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["profile"]; + } else { + return null; + } + } + + /** + * Sets the profile + * The name of the Microsoft Managed Desktop profile that the Windows 365 Cloud PC is associated with. + * + * @param string $val The value of the profile + * + * @return MicrosoftManagedDesktop + */ + public function setProfile($val) + { + $this->_propDict["profile"] = $val; + return $this; + } + + /** + * Gets the type + * Indicates whether the provisioning policy enables Microsoft Managed Desktop. It indicates the type of plan under which the device is managed if the provisioning policy is enabled. Possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. + * + * @return MicrosoftManagedDesktopType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\MicrosoftManagedDesktopType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new MicrosoftManagedDesktopType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Indicates whether the provisioning policy enables Microsoft Managed Desktop. It indicates the type of plan under which the device is managed if the provisioning policy is enabled. Possible values are: notManaged, premiumManaged, standardManaged, starterManaged, unknownFutureValue. + * + * @param MicrosoftManagedDesktopType $val The value to assign to the type + * + * @return MicrosoftManagedDesktop The MicrosoftManagedDesktop + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftManagedDesktopType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftManagedDesktopType.php new file mode 100644 index 0000000..7e82534 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftManagedDesktopType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["licenseType"], "\Beta\Microsoft\Graph\Model\MicrosoftStoreForBusinessLicenseType") || is_null($this->_propDict["licenseType"])) { + return $this->_propDict["licenseType"]; + } else { + $this->_propDict["licenseType"] = new MicrosoftStoreForBusinessLicenseType($this->_propDict["licenseType"]); + return $this->_propDict["licenseType"]; + } + } + return null; + } + + /** + * Sets the licenseType + * The app license type. Possible values are: offline, online. + * + * @param MicrosoftStoreForBusinessLicenseType $val The licenseType + * + * @return MicrosoftStoreForBusinessApp + */ + public function setLicenseType($val) + { + $this->_propDict["licenseType"] = $val; + return $this; + } + + /** + * Gets the licensingType + * The supported License Type. + * + * @return VppLicensingType|null The licensingType + */ + public function getLicensingType() + { + if (array_key_exists("licensingType", $this->_propDict)) { + if (is_a($this->_propDict["licensingType"], "\Beta\Microsoft\Graph\Model\VppLicensingType") || is_null($this->_propDict["licensingType"])) { + return $this->_propDict["licensingType"]; + } else { + $this->_propDict["licensingType"] = new VppLicensingType($this->_propDict["licensingType"]); + return $this->_propDict["licensingType"]; + } + } + return null; + } + + /** + * Sets the licensingType + * The supported License Type. + * + * @param VppLicensingType $val The licensingType + * + * @return MicrosoftStoreForBusinessApp + */ + public function setLicensingType($val) + { + $this->_propDict["licensingType"] = $val; + return $this; + } + + /** + * Gets the packageIdentityName + * The app package identifier + * + * @return string|null The packageIdentityName + */ + public function getPackageIdentityName() + { + if (array_key_exists("packageIdentityName", $this->_propDict)) { + return $this->_propDict["packageIdentityName"]; + } else { + return null; + } + } + + /** + * Sets the packageIdentityName + * The app package identifier + * + * @param string $val The packageIdentityName + * + * @return MicrosoftStoreForBusinessApp + */ + public function setPackageIdentityName($val) + { + $this->_propDict["packageIdentityName"] = $val; + return $this; + } + + /** + * Gets the productKey + * The app product key + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * The app product key + * + * @param string $val The productKey + * + * @return MicrosoftStoreForBusinessApp + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of Microsoft Store for Business licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of Microsoft Store for Business licenses. + * + * @param int $val The totalLicenseCount + * + * @return MicrosoftStoreForBusinessApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of Microsoft Store for Business licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of Microsoft Store for Business licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return MicrosoftStoreForBusinessApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + + + /** + * Gets the containedApps + * The collection of contained apps in a mobileApp acting as a package. + * + * @return array|null The containedApps + */ + public function getContainedApps() + { + if (array_key_exists("containedApps", $this->_propDict)) { + return $this->_propDict["containedApps"]; + } else { + return null; + } + } + + /** + * Sets the containedApps + * The collection of contained apps in a mobileApp acting as a package. + * + * @param MobileContainedApp[] $val The containedApps + * + * @return MicrosoftStoreForBusinessApp + */ + public function setContainedApps($val) + { + $this->_propDict["containedApps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php new file mode 100644 index 0000000..b449515 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.microsoftStoreForBusinessAppAssignmentSettings"); + } + + /** + * Gets the useDeviceContext + * Whether or not to use device execution context for Microsoft Store for Business mobile app. + * + * @return bool|null The useDeviceContext + */ + public function getUseDeviceContext() + { + if (array_key_exists("useDeviceContext", $this->_propDict)) { + return $this->_propDict["useDeviceContext"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceContext + * Whether or not to use device execution context for Microsoft Store for Business mobile app. + * + * @param bool $val The value of the useDeviceContext + * + * @return MicrosoftStoreForBusinessAppAssignmentSettings + */ + public function setUseDeviceContext($val) + { + $this->_propDict["useDeviceContext"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessContainedApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessContainedApp.php new file mode 100644 index 0000000..cb0524a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessContainedApp.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["appUserModelId"]; + } else { + return null; + } + } + + /** + * Sets the appUserModelId + * The app user model ID of the contained app of a MicrosoftStoreForBusinessApp. + * + * @param string $val The appUserModelId + * + * @return MicrosoftStoreForBusinessContainedApp + */ + public function setAppUserModelId($val) + { + $this->_propDict["appUserModelId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessLicenseType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessLicenseType.php new file mode 100644 index 0000000..4516d22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessLicenseType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["advancedSettings"]; + } else { + return null; + } + } + + /** + * Sets the advancedSettings + * Additional settings that may be applied to the server + * + * @param KeyValuePair[] $val The advancedSettings + * + * @return MicrosoftTunnelConfiguration + */ + public function setAdvancedSettings($val) + { + $this->_propDict["advancedSettings"] = $val; + return $this; + } + + /** + * Gets the defaultDomainSuffix + * The Default Domain appendix that will be used by the clients + * + * @return string|null The defaultDomainSuffix + */ + public function getDefaultDomainSuffix() + { + if (array_key_exists("defaultDomainSuffix", $this->_propDict)) { + return $this->_propDict["defaultDomainSuffix"]; + } else { + return null; + } + } + + /** + * Sets the defaultDomainSuffix + * The Default Domain appendix that will be used by the clients + * + * @param string $val The defaultDomainSuffix + * + * @return MicrosoftTunnelConfiguration + */ + public function setDefaultDomainSuffix($val) + { + $this->_propDict["defaultDomainSuffix"] = $val; + return $this; + } + + /** + * Gets the description + * The MicrosoftTunnelConfiguration's description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The MicrosoftTunnelConfiguration's description + * + * @param string $val The description + * + * @return MicrosoftTunnelConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the disableUdpConnections + * When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data. + * + * @return bool|null The disableUdpConnections + */ + public function getDisableUdpConnections() + { + if (array_key_exists("disableUdpConnections", $this->_propDict)) { + return $this->_propDict["disableUdpConnections"]; + } else { + return null; + } + } + + /** + * Sets the disableUdpConnections + * When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data. + * + * @param bool $val The disableUdpConnections + * + * @return MicrosoftTunnelConfiguration + */ + public function setDisableUdpConnections($val) + { + $this->_propDict["disableUdpConnections"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * The MicrosoftTunnelConfiguration's display name + * + * @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 + * The MicrosoftTunnelConfiguration's display name + * + * @param string $val The displayName + * + * @return MicrosoftTunnelConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the dnsServers + * The DNS servers that will be used by the clients + * + * @return string|null The dnsServers + */ + public function getDnsServers() + { + if (array_key_exists("dnsServers", $this->_propDict)) { + return $this->_propDict["dnsServers"]; + } else { + return null; + } + } + + /** + * Sets the dnsServers + * The DNS servers that will be used by the clients + * + * @param string $val The dnsServers + * + * @return MicrosoftTunnelConfiguration + */ + public function setDnsServers($val) + { + $this->_propDict["dnsServers"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * When the MicrosoftTunnelConfiguration was last updated + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * When the MicrosoftTunnelConfiguration was last updated + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return MicrosoftTunnelConfiguration + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the listenPort + * The port that both TCP and UPD will listen over on the server + * + * @return int|null The listenPort + */ + public function getListenPort() + { + if (array_key_exists("listenPort", $this->_propDict)) { + return $this->_propDict["listenPort"]; + } else { + return null; + } + } + + /** + * Sets the listenPort + * The port that both TCP and UPD will listen over on the server + * + * @param int $val The listenPort + * + * @return MicrosoftTunnelConfiguration + */ + public function setListenPort($val) + { + $this->_propDict["listenPort"] = intval($val); + return $this; + } + + /** + * Gets the network + * The subnet that will be used to allocate virtual address for the clients + * + * @return string|null The network + */ + public function getNetwork() + { + if (array_key_exists("network", $this->_propDict)) { + return $this->_propDict["network"]; + } else { + return null; + } + } + + /** + * Sets the network + * The subnet that will be used to allocate virtual address for the clients + * + * @param string $val The network + * + * @return MicrosoftTunnelConfiguration + */ + public function setNetwork($val) + { + $this->_propDict["network"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return MicrosoftTunnelConfiguration + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the routesExclude + * Subsets of the routes that will not be routed by the server + * + * @return string|null The routesExclude + */ + public function getRoutesExclude() + { + if (array_key_exists("routesExclude", $this->_propDict)) { + return $this->_propDict["routesExclude"]; + } else { + return null; + } + } + + /** + * Sets the routesExclude + * Subsets of the routes that will not be routed by the server + * + * @param string $val The routesExclude + * + * @return MicrosoftTunnelConfiguration + */ + public function setRoutesExclude($val) + { + $this->_propDict["routesExclude"] = $val; + return $this; + } + + /** + * Gets the routesInclude + * The routs that will be routed by the server + * + * @return string|null The routesInclude + */ + public function getRoutesInclude() + { + if (array_key_exists("routesInclude", $this->_propDict)) { + return $this->_propDict["routesInclude"]; + } else { + return null; + } + } + + /** + * Sets the routesInclude + * The routs that will be routed by the server + * + * @param string $val The routesInclude + * + * @return MicrosoftTunnelConfiguration + */ + public function setRoutesInclude($val) + { + $this->_propDict["routesInclude"] = $val; + return $this; + } + + /** + * Gets the splitDNS + * The domains that will be resolved using the provided dns servers + * + * @return string|null The splitDNS + */ + public function getSplitDNS() + { + if (array_key_exists("splitDNS", $this->_propDict)) { + return $this->_propDict["splitDNS"]; + } else { + return null; + } + } + + /** + * Sets the splitDNS + * The domains that will be resolved using the provided dns servers + * + * @param string $val The splitDNS + * + * @return MicrosoftTunnelConfiguration + */ + public function setSplitDNS($val) + { + $this->_propDict["splitDNS"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelHealthThreshold.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelHealthThreshold.php new file mode 100644 index 0000000..f453522 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelHealthThreshold.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["defaultHealthyThreshold"]; + } else { + return null; + } + } + + /** + * Sets the defaultHealthyThreshold + * The default threshold for being healthy + * + * @param int $val The defaultHealthyThreshold + * + * @return MicrosoftTunnelHealthThreshold + */ + public function setDefaultHealthyThreshold($val) + { + $this->_propDict["defaultHealthyThreshold"] = intval($val); + return $this; + } + + /** + * Gets the defaultUnhealthyThreshold + * The default threshold for being unhealthy + * + * @return int|null The defaultUnhealthyThreshold + */ + public function getDefaultUnhealthyThreshold() + { + if (array_key_exists("defaultUnhealthyThreshold", $this->_propDict)) { + return $this->_propDict["defaultUnhealthyThreshold"]; + } else { + return null; + } + } + + /** + * Sets the defaultUnhealthyThreshold + * The default threshold for being unhealthy + * + * @param int $val The defaultUnhealthyThreshold + * + * @return MicrosoftTunnelHealthThreshold + */ + public function setDefaultUnhealthyThreshold($val) + { + $this->_propDict["defaultUnhealthyThreshold"] = intval($val); + return $this; + } + + /** + * Gets the healthyThreshold + * The threshold for being healthy + * + * @return int|null The healthyThreshold + */ + public function getHealthyThreshold() + { + if (array_key_exists("healthyThreshold", $this->_propDict)) { + return $this->_propDict["healthyThreshold"]; + } else { + return null; + } + } + + /** + * Sets the healthyThreshold + * The threshold for being healthy + * + * @param int $val The healthyThreshold + * + * @return MicrosoftTunnelHealthThreshold + */ + public function setHealthyThreshold($val) + { + $this->_propDict["healthyThreshold"] = intval($val); + return $this; + } + + /** + * Gets the unhealthyThreshold + * The threshold for being unhealthy + * + * @return int|null The unhealthyThreshold + */ + public function getUnhealthyThreshold() + { + if (array_key_exists("unhealthyThreshold", $this->_propDict)) { + return $this->_propDict["unhealthyThreshold"]; + } else { + return null; + } + } + + /** + * Sets the unhealthyThreshold + * The threshold for being unhealthy + * + * @param int $val The unhealthyThreshold + * + * @return MicrosoftTunnelHealthThreshold + */ + public function setUnhealthyThreshold($val) + { + $this->_propDict["unhealthyThreshold"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelLogCollectionStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelLogCollectionStatus.php new file mode 100644 index 0000000..fe50d98 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelLogCollectionStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["agentImageDigest"]; + } else { + return null; + } + } + + /** + * Sets the agentImageDigest + * The digest of the current agent image running on this server + * + * @param string $val The agentImageDigest + * + * @return MicrosoftTunnelServer + */ + public function setAgentImageDigest($val) + { + $this->_propDict["agentImageDigest"] = $val; + return $this; + } + + /** + * Gets the displayName + * The MicrosoftTunnelServer's display name + * + * @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 + * The MicrosoftTunnelServer's display name + * + * @param string $val The displayName + * + * @return MicrosoftTunnelServer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastCheckinDateTime + * When the MicrosoftTunnelServer last checked in + * + * @return \DateTime|null The lastCheckinDateTime + */ + public function getLastCheckinDateTime() + { + if (array_key_exists("lastCheckinDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCheckinDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckinDateTime"])) { + return $this->_propDict["lastCheckinDateTime"]; + } else { + $this->_propDict["lastCheckinDateTime"] = new \DateTime($this->_propDict["lastCheckinDateTime"]); + return $this->_propDict["lastCheckinDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckinDateTime + * When the MicrosoftTunnelServer last checked in + * + * @param \DateTime $val The lastCheckinDateTime + * + * @return MicrosoftTunnelServer + */ + public function setLastCheckinDateTime($val) + { + $this->_propDict["lastCheckinDateTime"] = $val; + return $this; + } + + /** + * Gets the serverImageDigest + * The digest of the current server image running on this server + * + * @return string|null The serverImageDigest + */ + public function getServerImageDigest() + { + if (array_key_exists("serverImageDigest", $this->_propDict)) { + return $this->_propDict["serverImageDigest"]; + } else { + return null; + } + } + + /** + * Sets the serverImageDigest + * The digest of the current server image running on this server + * + * @param string $val The serverImageDigest + * + * @return MicrosoftTunnelServer + */ + public function setServerImageDigest($val) + { + $this->_propDict["serverImageDigest"] = $val; + return $this; + } + + /** + * Gets the tunnelServerHealthStatus + * The MicrosoftTunnelServer's health status. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed. + * + * @return MicrosoftTunnelServerHealthStatus|null The tunnelServerHealthStatus + */ + public function getTunnelServerHealthStatus() + { + if (array_key_exists("tunnelServerHealthStatus", $this->_propDict)) { + if (is_a($this->_propDict["tunnelServerHealthStatus"], "\Beta\Microsoft\Graph\Model\MicrosoftTunnelServerHealthStatus") || is_null($this->_propDict["tunnelServerHealthStatus"])) { + return $this->_propDict["tunnelServerHealthStatus"]; + } else { + $this->_propDict["tunnelServerHealthStatus"] = new MicrosoftTunnelServerHealthStatus($this->_propDict["tunnelServerHealthStatus"]); + return $this->_propDict["tunnelServerHealthStatus"]; + } + } + return null; + } + + /** + * Sets the tunnelServerHealthStatus + * The MicrosoftTunnelServer's health status. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed. + * + * @param MicrosoftTunnelServerHealthStatus $val The tunnelServerHealthStatus + * + * @return MicrosoftTunnelServer + */ + public function setTunnelServerHealthStatus($val) + { + $this->_propDict["tunnelServerHealthStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelServerHealthStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelServerHealthStatus.php new file mode 100644 index 0000000..3fe4aaa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelServerHealthStatus.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the logs collected + * + * @param \DateTime $val The endDateTime + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the expiryDateTime + * The time when the log collection is expired + * + * @return \DateTime|null The expiryDateTime + */ + public function getExpiryDateTime() + { + if (array_key_exists("expiryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expiryDateTime"], "\DateTime") || is_null($this->_propDict["expiryDateTime"])) { + return $this->_propDict["expiryDateTime"]; + } else { + $this->_propDict["expiryDateTime"] = new \DateTime($this->_propDict["expiryDateTime"]); + return $this->_propDict["expiryDateTime"]; + } + } + return null; + } + + /** + * Sets the expiryDateTime + * The time when the log collection is expired + * + * @param \DateTime $val The expiryDateTime + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setExpiryDateTime($val) + { + $this->_propDict["expiryDateTime"] = $val; + return $this; + } + + /** + * Gets the requestDateTime + * The time when the log collection was requested + * + * @return \DateTime|null The requestDateTime + */ + public function getRequestDateTime() + { + if (array_key_exists("requestDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestDateTime"], "\DateTime") || is_null($this->_propDict["requestDateTime"])) { + return $this->_propDict["requestDateTime"]; + } else { + $this->_propDict["requestDateTime"] = new \DateTime($this->_propDict["requestDateTime"]); + return $this->_propDict["requestDateTime"]; + } + } + return null; + } + + /** + * Sets the requestDateTime + * The time when the log collection was requested + * + * @param \DateTime $val The requestDateTime + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setRequestDateTime($val) + { + $this->_propDict["requestDateTime"] = $val; + return $this; + } + + /** + * Gets the serverId + * ID of the server the log collection is requested upon + * + * @return string|null The serverId + */ + public function getServerId() + { + if (array_key_exists("serverId", $this->_propDict)) { + return $this->_propDict["serverId"]; + } else { + return null; + } + } + + /** + * Sets the serverId + * ID of the server the log collection is requested upon + * + * @param string $val The serverId + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setServerId($val) + { + $this->_propDict["serverId"] = $val; + return $this; + } + + /** + * Gets the sizeInBytes + * The size of the logs in bytes + * + * @return int|null The sizeInBytes + */ + public function getSizeInBytes() + { + if (array_key_exists("sizeInBytes", $this->_propDict)) { + return $this->_propDict["sizeInBytes"]; + } else { + return null; + } + } + + /** + * Sets the sizeInBytes + * The size of the logs in bytes + * + * @param int $val The sizeInBytes + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setSizeInBytes($val) + { + $this->_propDict["sizeInBytes"] = intval($val); + return $this; + } + + /** + * Gets the startDateTime + * The start time of the logs collected + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the logs collected + * + * @param \DateTime $val The startDateTime + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of log collection. Possible values are: pending, completed, failed. + * + * @return MicrosoftTunnelLogCollectionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MicrosoftTunnelLogCollectionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new MicrosoftTunnelLogCollectionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of log collection. Possible values are: pending, completed, failed. + * + * @param MicrosoftTunnelLogCollectionStatus $val The status + * + * @return MicrosoftTunnelServerLogCollectionResponse + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelSite.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelSite.php new file mode 100644 index 0000000..5298425 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelSite.php @@ -0,0 +1,388 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The MicrosoftTunnelSite's description + * + * @param string $val The description + * + * @return MicrosoftTunnelSite + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The MicrosoftTunnelSite's display name + * + * @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 + * The MicrosoftTunnelSite's display name + * + * @param string $val The displayName + * + * @return MicrosoftTunnelSite + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the internalNetworkProbeUrl + * The MicrosoftTunnelSite's Internal Network Access Probe URL + * + * @return string|null The internalNetworkProbeUrl + */ + public function getInternalNetworkProbeUrl() + { + if (array_key_exists("internalNetworkProbeUrl", $this->_propDict)) { + return $this->_propDict["internalNetworkProbeUrl"]; + } else { + return null; + } + } + + /** + * Sets the internalNetworkProbeUrl + * The MicrosoftTunnelSite's Internal Network Access Probe URL + * + * @param string $val The internalNetworkProbeUrl + * + * @return MicrosoftTunnelSite + */ + public function setInternalNetworkProbeUrl($val) + { + $this->_propDict["internalNetworkProbeUrl"] = $val; + return $this; + } + + /** + * Gets the publicAddress + * The MicrosoftTunnelSite's public domain name or IP address + * + * @return string|null The publicAddress + */ + public function getPublicAddress() + { + if (array_key_exists("publicAddress", $this->_propDict)) { + return $this->_propDict["publicAddress"]; + } else { + return null; + } + } + + /** + * Sets the publicAddress + * The MicrosoftTunnelSite's public domain name or IP address + * + * @param string $val The publicAddress + * + * @return MicrosoftTunnelSite + */ + public function setPublicAddress($val) + { + $this->_propDict["publicAddress"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return MicrosoftTunnelSite + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the upgradeAutomatically + * The site's automatic upgrade setting. True for automatic upgrades, false for manual control + * + * @return bool|null The upgradeAutomatically + */ + public function getUpgradeAutomatically() + { + if (array_key_exists("upgradeAutomatically", $this->_propDict)) { + return $this->_propDict["upgradeAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the upgradeAutomatically + * The site's automatic upgrade setting. True for automatic upgrades, false for manual control + * + * @param bool $val The upgradeAutomatically + * + * @return MicrosoftTunnelSite + */ + public function setUpgradeAutomatically($val) + { + $this->_propDict["upgradeAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the upgradeAvailable + * True if an upgrade is available + * + * @return bool|null The upgradeAvailable + */ + public function getUpgradeAvailable() + { + if (array_key_exists("upgradeAvailable", $this->_propDict)) { + return $this->_propDict["upgradeAvailable"]; + } else { + return null; + } + } + + /** + * Sets the upgradeAvailable + * True if an upgrade is available + * + * @param bool $val The upgradeAvailable + * + * @return MicrosoftTunnelSite + */ + public function setUpgradeAvailable($val) + { + $this->_propDict["upgradeAvailable"] = boolval($val); + return $this; + } + + /** + * Gets the upgradeWindowEndTime + * The site's upgrade window end time of day + * + * @return TimeOfDay|null The upgradeWindowEndTime + */ + public function getUpgradeWindowEndTime() + { + if (array_key_exists("upgradeWindowEndTime", $this->_propDict)) { + if (is_a($this->_propDict["upgradeWindowEndTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["upgradeWindowEndTime"])) { + return $this->_propDict["upgradeWindowEndTime"]; + } else { + $this->_propDict["upgradeWindowEndTime"] = new TimeOfDay($this->_propDict["upgradeWindowEndTime"]); + return $this->_propDict["upgradeWindowEndTime"]; + } + } + return null; + } + + /** + * Sets the upgradeWindowEndTime + * The site's upgrade window end time of day + * + * @param TimeOfDay $val The upgradeWindowEndTime + * + * @return MicrosoftTunnelSite + */ + public function setUpgradeWindowEndTime($val) + { + $this->_propDict["upgradeWindowEndTime"] = $val; + return $this; + } + + /** + * Gets the upgradeWindowStartTime + * The site's upgrade window start time of day + * + * @return TimeOfDay|null The upgradeWindowStartTime + */ + public function getUpgradeWindowStartTime() + { + if (array_key_exists("upgradeWindowStartTime", $this->_propDict)) { + if (is_a($this->_propDict["upgradeWindowStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["upgradeWindowStartTime"])) { + return $this->_propDict["upgradeWindowStartTime"]; + } else { + $this->_propDict["upgradeWindowStartTime"] = new TimeOfDay($this->_propDict["upgradeWindowStartTime"]); + return $this->_propDict["upgradeWindowStartTime"]; + } + } + return null; + } + + /** + * Sets the upgradeWindowStartTime + * The site's upgrade window start time of day + * + * @param TimeOfDay $val The upgradeWindowStartTime + * + * @return MicrosoftTunnelSite + */ + public function setUpgradeWindowStartTime($val) + { + $this->_propDict["upgradeWindowStartTime"] = $val; + return $this; + } + + /** + * Gets the upgradeWindowUtcOffsetInMinutes + * The site's timezone represented as a minute offset from UTC + * + * @return int|null The upgradeWindowUtcOffsetInMinutes + */ + public function getUpgradeWindowUtcOffsetInMinutes() + { + if (array_key_exists("upgradeWindowUtcOffsetInMinutes", $this->_propDict)) { + return $this->_propDict["upgradeWindowUtcOffsetInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the upgradeWindowUtcOffsetInMinutes + * The site's timezone represented as a minute offset from UTC + * + * @param int $val The upgradeWindowUtcOffsetInMinutes + * + * @return MicrosoftTunnelSite + */ + public function setUpgradeWindowUtcOffsetInMinutes($val) + { + $this->_propDict["upgradeWindowUtcOffsetInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the microsoftTunnelConfiguration + * The MicrosoftTunnelConfiguration that has been applied to this MicrosoftTunnelSite + * + * @return MicrosoftTunnelConfiguration|null The microsoftTunnelConfiguration + */ + public function getMicrosoftTunnelConfiguration() + { + if (array_key_exists("microsoftTunnelConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["microsoftTunnelConfiguration"], "\Beta\Microsoft\Graph\Model\MicrosoftTunnelConfiguration") || is_null($this->_propDict["microsoftTunnelConfiguration"])) { + return $this->_propDict["microsoftTunnelConfiguration"]; + } else { + $this->_propDict["microsoftTunnelConfiguration"] = new MicrosoftTunnelConfiguration($this->_propDict["microsoftTunnelConfiguration"]); + return $this->_propDict["microsoftTunnelConfiguration"]; + } + } + return null; + } + + /** + * Sets the microsoftTunnelConfiguration + * The MicrosoftTunnelConfiguration that has been applied to this MicrosoftTunnelSite + * + * @param MicrosoftTunnelConfiguration $val The microsoftTunnelConfiguration + * + * @return MicrosoftTunnelSite + */ + public function setMicrosoftTunnelConfiguration($val) + { + $this->_propDict["microsoftTunnelConfiguration"] = $val; + return $this; + } + + + /** + * Gets the microsoftTunnelServers + * A list of MicrosoftTunnelServers that are registered to this MicrosoftTunnelSite + * + * @return array|null The microsoftTunnelServers + */ + public function getMicrosoftTunnelServers() + { + if (array_key_exists("microsoftTunnelServers", $this->_propDict)) { + return $this->_propDict["microsoftTunnelServers"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelServers + * A list of MicrosoftTunnelServers that are registered to this MicrosoftTunnelSite + * + * @param MicrosoftTunnelServer[] $val The microsoftTunnelServers + * + * @return MicrosoftTunnelSite + */ + public function setMicrosoftTunnelServers($val) + { + $this->_propDict["microsoftTunnelServers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MigrationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MigrationStatus.php new file mode 100644 index 0000000..fa8a3e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MigrationStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Indicates the content mime type. + * + * @param string $val The value of the type + * + * @return MimeContent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the value + * The byte array that contains the actual content. + * + * @return \GuzzleHttp\Psr7\Stream|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The byte array that contains the actual content. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the value + * + * @return MimeContent The MimeContent + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MiracastChannel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MiracastChannel.php new file mode 100644 index 0000000..83c12d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MiracastChannel.php @@ -0,0 +1,53 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the app was created. + * + * @param \DateTime $val The createdDateTime + * + * @return MobileApp + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dependentAppCount + * The total number of dependencies the child app has. + * + * @return int|null The dependentAppCount + */ + public function getDependentAppCount() + { + if (array_key_exists("dependentAppCount", $this->_propDict)) { + return $this->_propDict["dependentAppCount"]; + } else { + return null; + } + } + + /** + * Sets the dependentAppCount + * The total number of dependencies the child app has. + * + * @param int $val The dependentAppCount + * + * @return MobileApp + */ + public function setDependentAppCount($val) + { + $this->_propDict["dependentAppCount"] = intval($val); + return $this; + } + + /** + * Gets the description + * The description of the app. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the app. + * + * @param string $val The description + * + * @return MobileApp + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the developer + * The developer of the app. + * + * @return string|null The developer + */ + public function getDeveloper() + { + if (array_key_exists("developer", $this->_propDict)) { + return $this->_propDict["developer"]; + } else { + return null; + } + } + + /** + * Sets the developer + * The developer of the app. + * + * @param string $val The developer + * + * @return MobileApp + */ + public function setDeveloper($val) + { + $this->_propDict["developer"] = $val; + return $this; + } + + /** + * Gets the displayName + * The admin provided or imported title of the app. + * + * @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 + * The admin provided or imported title of the app. + * + * @param string $val The displayName + * + * @return MobileApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the informationUrl + * The more information Url. + * + * @return string|null The informationUrl + */ + public function getInformationUrl() + { + if (array_key_exists("informationUrl", $this->_propDict)) { + return $this->_propDict["informationUrl"]; + } else { + return null; + } + } + + /** + * Sets the informationUrl + * The more information Url. + * + * @param string $val The informationUrl + * + * @return MobileApp + */ + public function setInformationUrl($val) + { + $this->_propDict["informationUrl"] = $val; + return $this; + } + + /** + * Gets the isAssigned + * The value indicating whether the app is assigned to at least one group. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * The value indicating whether the app is assigned to at least one group. + * + * @param bool $val The isAssigned + * + * @return MobileApp + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the isFeatured + * The value indicating whether the app is marked as featured by the admin. + * + * @return bool|null The isFeatured + */ + public function getIsFeatured() + { + if (array_key_exists("isFeatured", $this->_propDict)) { + return $this->_propDict["isFeatured"]; + } else { + return null; + } + } + + /** + * Sets the isFeatured + * The value indicating whether the app is marked as featured by the admin. + * + * @param bool $val The isFeatured + * + * @return MobileApp + */ + public function setIsFeatured($val) + { + $this->_propDict["isFeatured"] = boolval($val); + return $this; + } + + /** + * Gets the largeIcon + * The large icon, to be displayed in the app details and used for upload of the icon. + * + * @return MimeContent|null The largeIcon + */ + public function getLargeIcon() + { + if (array_key_exists("largeIcon", $this->_propDict)) { + if (is_a($this->_propDict["largeIcon"], "\Beta\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["largeIcon"])) { + return $this->_propDict["largeIcon"]; + } else { + $this->_propDict["largeIcon"] = new MimeContent($this->_propDict["largeIcon"]); + return $this->_propDict["largeIcon"]; + } + } + return null; + } + + /** + * Sets the largeIcon + * The large icon, to be displayed in the app details and used for upload of the icon. + * + * @param MimeContent $val The largeIcon + * + * @return MobileApp + */ + public function setLargeIcon($val) + { + $this->_propDict["largeIcon"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the app was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the app was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return MobileApp + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes for the app. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes for the app. + * + * @param string $val The notes + * + * @return MobileApp + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the owner + * The owner of the app. + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * The owner of the app. + * + * @param string $val The owner + * + * @return MobileApp + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the privacyInformationUrl + * The privacy statement Url. + * + * @return string|null The privacyInformationUrl + */ + public function getPrivacyInformationUrl() + { + if (array_key_exists("privacyInformationUrl", $this->_propDict)) { + return $this->_propDict["privacyInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyInformationUrl + * The privacy statement Url. + * + * @param string $val The privacyInformationUrl + * + * @return MobileApp + */ + public function setPrivacyInformationUrl($val) + { + $this->_propDict["privacyInformationUrl"] = $val; + return $this; + } + + /** + * Gets the publisher + * The publisher of the app. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher of the app. + * + * @param string $val The publisher + * + * @return MobileApp + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the publishingState + * The publishing state for the app. The app cannot be assigned unless the app is published. Possible values are: notPublished, processing, published. + * + * @return MobileAppPublishingState|null The publishingState + */ + public function getPublishingState() + { + if (array_key_exists("publishingState", $this->_propDict)) { + if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\MobileAppPublishingState") || is_null($this->_propDict["publishingState"])) { + return $this->_propDict["publishingState"]; + } else { + $this->_propDict["publishingState"] = new MobileAppPublishingState($this->_propDict["publishingState"]); + return $this->_propDict["publishingState"]; + } + } + return null; + } + + /** + * Sets the publishingState + * The publishing state for the app. The app cannot be assigned unless the app is published. Possible values are: notPublished, processing, published. + * + * @param MobileAppPublishingState $val The publishingState + * + * @return MobileApp + */ + public function setPublishingState($val) + { + $this->_propDict["publishingState"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of scope tag ids for this mobile app. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of scope tag ids for this mobile app. + * + * @param string $val The roleScopeTagIds + * + * @return MobileApp + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the supersededAppCount + * The total number of apps this app is directly or indirectly superseded by. + * + * @return int|null The supersededAppCount + */ + public function getSupersededAppCount() + { + if (array_key_exists("supersededAppCount", $this->_propDict)) { + return $this->_propDict["supersededAppCount"]; + } else { + return null; + } + } + + /** + * Sets the supersededAppCount + * The total number of apps this app is directly or indirectly superseded by. + * + * @param int $val The supersededAppCount + * + * @return MobileApp + */ + public function setSupersededAppCount($val) + { + $this->_propDict["supersededAppCount"] = intval($val); + return $this; + } + + /** + * Gets the supersedingAppCount + * The total number of apps this app directly or indirectly supersedes. + * + * @return int|null The supersedingAppCount + */ + public function getSupersedingAppCount() + { + if (array_key_exists("supersedingAppCount", $this->_propDict)) { + return $this->_propDict["supersedingAppCount"]; + } else { + return null; + } + } + + /** + * Sets the supersedingAppCount + * The total number of apps this app directly or indirectly supersedes. + * + * @param int $val The supersedingAppCount + * + * @return MobileApp + */ + public function setSupersedingAppCount($val) + { + $this->_propDict["supersedingAppCount"] = intval($val); + return $this; + } + + /** + * Gets the uploadState + * The upload state. + * + * @return int|null The uploadState + */ + public function getUploadState() + { + if (array_key_exists("uploadState", $this->_propDict)) { + return $this->_propDict["uploadState"]; + } else { + return null; + } + } + + /** + * Sets the uploadState + * The upload state. + * + * @param int $val The uploadState + * + * @return MobileApp + */ + public function setUploadState($val) + { + $this->_propDict["uploadState"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for this mobile app. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for this mobile app. + * + * @param MobileAppAssignment[] $val The assignments + * + * @return MobileApp + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the categories + * The list of categories for this app. + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The list of categories for this app. + * + * @param MobileAppCategory[] $val The categories + * + * @return MobileApp + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * The list of installation states for this mobile app. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * The list of installation states for this mobile app. + * + * @param MobileAppInstallStatus[] $val The deviceStatuses + * + * @return MobileApp + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the installSummary + * Mobile App Install Summary. + * + * @return MobileAppInstallSummary|null The installSummary + */ + public function getInstallSummary() + { + if (array_key_exists("installSummary", $this->_propDict)) { + if (is_a($this->_propDict["installSummary"], "\Beta\Microsoft\Graph\Model\MobileAppInstallSummary") || is_null($this->_propDict["installSummary"])) { + return $this->_propDict["installSummary"]; + } else { + $this->_propDict["installSummary"] = new MobileAppInstallSummary($this->_propDict["installSummary"]); + return $this->_propDict["installSummary"]; + } + } + return null; + } + + /** + * Sets the installSummary + * Mobile App Install Summary. + * + * @param MobileAppInstallSummary $val The installSummary + * + * @return MobileApp + */ + public function setInstallSummary($val) + { + $this->_propDict["installSummary"] = $val; + return $this; + } + + + /** + * Gets the relationships + * List of relationships for this mobile app. + * + * @return array|null The relationships + */ + public function getRelationships() + { + if (array_key_exists("relationships", $this->_propDict)) { + return $this->_propDict["relationships"]; + } else { + return null; + } + } + + /** + * Sets the relationships + * List of relationships for this mobile app. + * + * @param MobileAppRelationship[] $val The relationships + * + * @return MobileApp + */ + public function setRelationships($val) + { + $this->_propDict["relationships"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * The list of installation states for this mobile app. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * The list of installation states for this mobile app. + * + * @param UserAppInstallStatus[] $val The userStatuses + * + * @return MobileApp + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppActionType.php new file mode 100644 index 0000000..e59a1b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppActionType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\InstallIntent") || is_null($this->_propDict["intent"])) { + return $this->_propDict["intent"]; + } else { + $this->_propDict["intent"] = new InstallIntent($this->_propDict["intent"]); + return $this->_propDict["intent"]; + } + } + return null; + } + + /** + * Sets the intent + * The install intent defined by the admin. Possible values are: available, required, uninstall, availableWithoutEnrollment. + * + * @param InstallIntent $val The intent + * + * @return MobileAppAssignment + */ + public function setIntent($val) + { + $this->_propDict["intent"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings for target assignment defined by the admin. + * + * @return MobileAppAssignmentSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\MobileAppAssignmentSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new MobileAppAssignmentSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings for target assignment defined by the admin. + * + * @param MobileAppAssignmentSettings $val The settings + * + * @return MobileAppAssignment + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the source + * The resource type which is the source for the assignment. Possible values are: direct, policySets. + * + * @return DeviceAndAppManagementAssignmentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * The resource type which is the source for the assignment. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return MobileAppAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * The identifier of the source of the assignment. + * + * @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 + * The identifier of the source of the assignment. + * + * @param string $val The sourceId + * + * @return MobileAppAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * The target group assignment defined by the admin. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target group assignment defined by the admin. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return MobileAppAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppAssignmentSettings.php new file mode 100644 index 0000000..1eb47ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppAssignmentSettings.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the app category. + * + * @param string $val The displayName + * + * @return MobileAppCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the mobileAppCategory was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the mobileAppCategory was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return MobileAppCategory + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContent.php new file mode 100644 index 0000000..49c0935 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContent.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["containedApps"]; + } else { + return null; + } + } + + /** + * Sets the containedApps + * The collection of contained apps in a MobileLobApp acting as a package. + * + * @param MobileContainedApp[] $val The containedApps + * + * @return MobileAppContent + */ + public function setContainedApps($val) + { + $this->_propDict["containedApps"] = $val; + return $this; + } + + + /** + * Gets the files + * The list of files for this app content version. + * + * @return array|null The files + */ + public function getFiles() + { + if (array_key_exists("files", $this->_propDict)) { + return $this->_propDict["files"]; + } else { + return null; + } + } + + /** + * Sets the files + * The list of files for this app content version. + * + * @param MobileAppContentFile[] $val The files + * + * @return MobileAppContent + */ + public function setFiles($val) + { + $this->_propDict["files"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFile.php new file mode 100644 index 0000000..1828586 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFile.php @@ -0,0 +1,362 @@ +_propDict)) { + return $this->_propDict["azureStorageUri"]; + } else { + return null; + } + } + + /** + * Sets the azureStorageUri + * The Azure Storage URI. + * + * @param string $val The azureStorageUri + * + * @return MobileAppContentFile + */ + public function setAzureStorageUri($val) + { + $this->_propDict["azureStorageUri"] = $val; + return $this; + } + + /** + * Gets the azureStorageUriExpirationDateTime + * The time the Azure storage Uri expires. + * + * @return \DateTime|null The azureStorageUriExpirationDateTime + */ + public function getAzureStorageUriExpirationDateTime() + { + if (array_key_exists("azureStorageUriExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["azureStorageUriExpirationDateTime"], "\DateTime") || is_null($this->_propDict["azureStorageUriExpirationDateTime"])) { + return $this->_propDict["azureStorageUriExpirationDateTime"]; + } else { + $this->_propDict["azureStorageUriExpirationDateTime"] = new \DateTime($this->_propDict["azureStorageUriExpirationDateTime"]); + return $this->_propDict["azureStorageUriExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the azureStorageUriExpirationDateTime + * The time the Azure storage Uri expires. + * + * @param \DateTime $val The azureStorageUriExpirationDateTime + * + * @return MobileAppContentFile + */ + public function setAzureStorageUriExpirationDateTime($val) + { + $this->_propDict["azureStorageUriExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The time the file was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time the file was created. + * + * @param \DateTime $val The createdDateTime + * + * @return MobileAppContentFile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the isCommitted + * A value indicating whether the file is committed. + * + * @return bool|null The isCommitted + */ + public function getIsCommitted() + { + if (array_key_exists("isCommitted", $this->_propDict)) { + return $this->_propDict["isCommitted"]; + } else { + return null; + } + } + + /** + * Sets the isCommitted + * A value indicating whether the file is committed. + * + * @param bool $val The isCommitted + * + * @return MobileAppContentFile + */ + public function setIsCommitted($val) + { + $this->_propDict["isCommitted"] = boolval($val); + return $this; + } + + /** + * Gets the isDependency + * Whether the content file is a dependency for the main content file. + * + * @return bool|null The isDependency + */ + public function getIsDependency() + { + if (array_key_exists("isDependency", $this->_propDict)) { + return $this->_propDict["isDependency"]; + } else { + return null; + } + } + + /** + * Sets the isDependency + * Whether the content file is a dependency for the main content file. + * + * @param bool $val The isDependency + * + * @return MobileAppContentFile + */ + public function setIsDependency($val) + { + $this->_propDict["isDependency"] = boolval($val); + return $this; + } + + /** + * Gets the isFrameworkFile + * A value indicating whether the file is a framework file. + * + * @return bool|null The isFrameworkFile + */ + public function getIsFrameworkFile() + { + if (array_key_exists("isFrameworkFile", $this->_propDict)) { + return $this->_propDict["isFrameworkFile"]; + } else { + return null; + } + } + + /** + * Sets the isFrameworkFile + * A value indicating whether the file is a framework file. + * + * @param bool $val The isFrameworkFile + * + * @return MobileAppContentFile + */ + public function setIsFrameworkFile($val) + { + $this->_propDict["isFrameworkFile"] = boolval($val); + return $this; + } + + /** + * Gets the manifest + * The manifest information. + * + * @return \GuzzleHttp\Psr7\Stream|null The manifest + */ + public function getManifest() + { + if (array_key_exists("manifest", $this->_propDict)) { + if (is_a($this->_propDict["manifest"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["manifest"])) { + return $this->_propDict["manifest"]; + } else { + $this->_propDict["manifest"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["manifest"]); + return $this->_propDict["manifest"]; + } + } + return null; + } + + /** + * Sets the manifest + * The manifest information. + * + * @param \GuzzleHttp\Psr7\Stream $val The manifest + * + * @return MobileAppContentFile + */ + public function setManifest($val) + { + $this->_propDict["manifest"] = $val; + return $this; + } + + /** + * Gets the name + * the file name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * the file name. + * + * @param string $val The name + * + * @return MobileAppContentFile + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * The size of the file prior to encryption. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The size of the file prior to encryption. + * + * @param int $val The size + * + * @return MobileAppContentFile + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the sizeEncrypted + * The size of the file after encryption. + * + * @return int|null The sizeEncrypted + */ + public function getSizeEncrypted() + { + if (array_key_exists("sizeEncrypted", $this->_propDict)) { + return $this->_propDict["sizeEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the sizeEncrypted + * The size of the file after encryption. + * + * @param int $val The sizeEncrypted + * + * @return MobileAppContentFile + */ + public function setSizeEncrypted($val) + { + $this->_propDict["sizeEncrypted"] = intval($val); + return $this; + } + + /** + * Gets the uploadState + * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + * + * @return MobileAppContentFileUploadState|null The uploadState + */ + public function getUploadState() + { + if (array_key_exists("uploadState", $this->_propDict)) { + if (is_a($this->_propDict["uploadState"], "\Beta\Microsoft\Graph\Model\MobileAppContentFileUploadState") || is_null($this->_propDict["uploadState"])) { + return $this->_propDict["uploadState"]; + } else { + $this->_propDict["uploadState"] = new MobileAppContentFileUploadState($this->_propDict["uploadState"]); + return $this->_propDict["uploadState"]; + } + } + return null; + } + + /** + * Sets the uploadState + * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + * + * @param MobileAppContentFileUploadState $val The uploadState + * + * @return MobileAppContentFile + */ + public function setUploadState($val) + { + $this->_propDict["uploadState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFileUploadState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFileUploadState.php new file mode 100644 index 0000000..e3f7347 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFileUploadState.php @@ -0,0 +1,48 @@ +_propDict)) { + if (is_a($this->_propDict["dependencyType"], "\Beta\Microsoft\Graph\Model\MobileAppDependencyType") || is_null($this->_propDict["dependencyType"])) { + return $this->_propDict["dependencyType"]; + } else { + $this->_propDict["dependencyType"] = new MobileAppDependencyType($this->_propDict["dependencyType"]); + return $this->_propDict["dependencyType"]; + } + } + return null; + } + + /** + * Sets the dependencyType + * The type of dependency relationship between the parent and child apps. Possible values are: detect, autoInstall. + * + * @param MobileAppDependencyType $val The dependencyType + * + * @return MobileAppDependency + */ + public function setDependencyType($val) + { + $this->_propDict["dependencyType"] = $val; + return $this; + } + + /** + * Gets the dependentAppCount + * The total number of apps that directly or indirectly depend on the parent app. + * + * @return int|null The dependentAppCount + */ + public function getDependentAppCount() + { + if (array_key_exists("dependentAppCount", $this->_propDict)) { + return $this->_propDict["dependentAppCount"]; + } else { + return null; + } + } + + /** + * Sets the dependentAppCount + * The total number of apps that directly or indirectly depend on the parent app. + * + * @param int $val The dependentAppCount + * + * @return MobileAppDependency + */ + public function setDependentAppCount($val) + { + $this->_propDict["dependentAppCount"] = intval($val); + return $this; + } + + /** + * Gets the dependsOnAppCount + * The total number of apps the child app directly or indirectly depends on. + * + * @return int|null The dependsOnAppCount + */ + public function getDependsOnAppCount() + { + if (array_key_exists("dependsOnAppCount", $this->_propDict)) { + return $this->_propDict["dependsOnAppCount"]; + } else { + return null; + } + } + + /** + * Sets the dependsOnAppCount + * The total number of apps the child app directly or indirectly depends on. + * + * @param int $val The dependsOnAppCount + * + * @return MobileAppDependency + */ + public function setDependsOnAppCount($val) + { + $this->_propDict["dependsOnAppCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppDependencyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppDependencyType.php new file mode 100644 index 0000000..b6f724c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppDependencyType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * Device ID + * + * @param string $val The deviceId + * + * @return MobileAppInstallStatus + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name + * + * @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 + * Device name + * + * @param string $val The deviceName + * + * @return MobileAppInstallStatus + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the displayVersion + * Human readable version of the application + * + * @return string|null The displayVersion + */ + public function getDisplayVersion() + { + if (array_key_exists("displayVersion", $this->_propDict)) { + return $this->_propDict["displayVersion"]; + } else { + return null; + } + } + + /** + * Sets the displayVersion + * Human readable version of the application + * + * @param string $val The displayVersion + * + * @return MobileAppInstallStatus + */ + public function setDisplayVersion($val) + { + $this->_propDict["displayVersion"] = $val; + return $this; + } + + /** + * Gets the errorCode + * The error code for install or uninstall failures. + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code for install or uninstall failures. + * + * @param int $val The errorCode + * + * @return MobileAppInstallStatus + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = intval($val); + return $this; + } + + /** + * Gets the installState + * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @return ResultantAppState|null The installState + */ + public function getInstallState() + { + if (array_key_exists("installState", $this->_propDict)) { + if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["installState"])) { + return $this->_propDict["installState"]; + } else { + $this->_propDict["installState"] = new ResultantAppState($this->_propDict["installState"]); + return $this->_propDict["installState"]; + } + } + return null; + } + + /** + * Sets the installState + * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @param ResultantAppState $val The installState + * + * @return MobileAppInstallStatus + */ + public function setInstallState($val) + { + $this->_propDict["installState"] = $val; + return $this; + } + + /** + * Gets the installStateDetail + * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. + * + * @return ResultantAppStateDetail|null The installStateDetail + */ + public function getInstallStateDetail() + { + if (array_key_exists("installStateDetail", $this->_propDict)) { + if (is_a($this->_propDict["installStateDetail"], "\Beta\Microsoft\Graph\Model\ResultantAppStateDetail") || is_null($this->_propDict["installStateDetail"])) { + return $this->_propDict["installStateDetail"]; + } else { + $this->_propDict["installStateDetail"] = new ResultantAppStateDetail($this->_propDict["installStateDetail"]); + return $this->_propDict["installStateDetail"]; + } + } + return null; + } + + /** + * Sets the installStateDetail + * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. + * + * @param ResultantAppStateDetail $val The installStateDetail + * + * @return MobileAppInstallStatus + */ + public function setInstallStateDetail($val) + { + $this->_propDict["installStateDetail"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last sync date time + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last sync date time + * + * @param \DateTime $val The lastSyncDateTime + * + * @return MobileAppInstallStatus + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the mobileAppInstallStatusValue + * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @return ResultantAppState|null The mobileAppInstallStatusValue + */ + public function getMobileAppInstallStatusValue() + { + if (array_key_exists("mobileAppInstallStatusValue", $this->_propDict)) { + if (is_a($this->_propDict["mobileAppInstallStatusValue"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["mobileAppInstallStatusValue"])) { + return $this->_propDict["mobileAppInstallStatusValue"]; + } else { + $this->_propDict["mobileAppInstallStatusValue"] = new ResultantAppState($this->_propDict["mobileAppInstallStatusValue"]); + return $this->_propDict["mobileAppInstallStatusValue"]; + } + } + return null; + } + + /** + * Sets the mobileAppInstallStatusValue + * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @param ResultantAppState $val The mobileAppInstallStatusValue + * + * @return MobileAppInstallStatus + */ + public function setMobileAppInstallStatusValue($val) + { + $this->_propDict["mobileAppInstallStatusValue"] = $val; + return $this; + } + + /** + * Gets the osDescription + * OS Description + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * OS Description + * + * @param string $val The osDescription + * + * @return MobileAppInstallStatus + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * OS Version + * + * @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 + * OS Version + * + * @param string $val The osVersion + * + * @return MobileAppInstallStatus + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the userName + * Device User Name + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * Device User Name + * + * @param string $val The userName + * + * @return MobileAppInstallStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name + * + * @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 + * User Principal Name + * + * @param string $val The userPrincipalName + * + * @return MobileAppInstallStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the app + * The navigation link to the mobile app. + * + * @return MobileApp|null The app + */ + public function getApp() + { + if (array_key_exists("app", $this->_propDict)) { + if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\MobileApp") || is_null($this->_propDict["app"])) { + return $this->_propDict["app"]; + } else { + $this->_propDict["app"] = new MobileApp($this->_propDict["app"]); + return $this->_propDict["app"]; + } + } + return null; + } + + /** + * Sets the app + * The navigation link to the mobile app. + * + * @param MobileApp $val The app + * + * @return MobileAppInstallStatus + */ + public function setApp($val) + { + $this->_propDict["app"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallSummary.php new file mode 100644 index 0000000..f0530da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallSummary.php @@ -0,0 +1,317 @@ +_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Number of Devices that have failed to install this app. + * + * @param int $val The failedDeviceCount + * + * @return MobileAppInstallSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the failedUserCount + * Number of Users that have 1 or more device that failed to install this app. + * + * @return int|null The failedUserCount + */ + public function getFailedUserCount() + { + if (array_key_exists("failedUserCount", $this->_propDict)) { + return $this->_propDict["failedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the failedUserCount + * Number of Users that have 1 or more device that failed to install this app. + * + * @param int $val The failedUserCount + * + * @return MobileAppInstallSummary + */ + public function setFailedUserCount($val) + { + $this->_propDict["failedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the installedDeviceCount + * Number of Devices that have successfully installed this app. + * + * @return int|null The installedDeviceCount + */ + public function getInstalledDeviceCount() + { + if (array_key_exists("installedDeviceCount", $this->_propDict)) { + return $this->_propDict["installedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the installedDeviceCount + * Number of Devices that have successfully installed this app. + * + * @param int $val The installedDeviceCount + * + * @return MobileAppInstallSummary + */ + public function setInstalledDeviceCount($val) + { + $this->_propDict["installedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the installedUserCount + * Number of Users whose devices have all succeeded to install this app. + * + * @return int|null The installedUserCount + */ + public function getInstalledUserCount() + { + if (array_key_exists("installedUserCount", $this->_propDict)) { + return $this->_propDict["installedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the installedUserCount + * Number of Users whose devices have all succeeded to install this app. + * + * @param int $val The installedUserCount + * + * @return MobileAppInstallSummary + */ + public function setInstalledUserCount($val) + { + $this->_propDict["installedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of Devices that are not applicable for this app. + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of Devices that are not applicable for this app. + * + * @param int $val The notApplicableDeviceCount + * + * @return MobileAppInstallSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableUserCount + * Number of Users whose devices were all not applicable for this app. + * + * @return int|null The notApplicableUserCount + */ + public function getNotApplicableUserCount() + { + if (array_key_exists("notApplicableUserCount", $this->_propDict)) { + return $this->_propDict["notApplicableUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableUserCount + * Number of Users whose devices were all not applicable for this app. + * + * @param int $val The notApplicableUserCount + * + * @return MobileAppInstallSummary + */ + public function setNotApplicableUserCount($val) + { + $this->_propDict["notApplicableUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledDeviceCount + * Number of Devices that does not have this app installed. + * + * @return int|null The notInstalledDeviceCount + */ + public function getNotInstalledDeviceCount() + { + if (array_key_exists("notInstalledDeviceCount", $this->_propDict)) { + return $this->_propDict["notInstalledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledDeviceCount + * Number of Devices that does not have this app installed. + * + * @param int $val The notInstalledDeviceCount + * + * @return MobileAppInstallSummary + */ + public function setNotInstalledDeviceCount($val) + { + $this->_propDict["notInstalledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledUserCount + * Number of Users that have 1 or more devices that did not install this app. + * + * @return int|null The notInstalledUserCount + */ + public function getNotInstalledUserCount() + { + if (array_key_exists("notInstalledUserCount", $this->_propDict)) { + return $this->_propDict["notInstalledUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledUserCount + * Number of Users that have 1 or more devices that did not install this app. + * + * @param int $val The notInstalledUserCount + * + * @return MobileAppInstallSummary + */ + public function setNotInstalledUserCount($val) + { + $this->_propDict["notInstalledUserCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingInstallDeviceCount + * Number of Devices that have been notified to install this app. + * + * @return int|null The pendingInstallDeviceCount + */ + public function getPendingInstallDeviceCount() + { + if (array_key_exists("pendingInstallDeviceCount", $this->_propDict)) { + return $this->_propDict["pendingInstallDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingInstallDeviceCount + * Number of Devices that have been notified to install this app. + * + * @param int $val The pendingInstallDeviceCount + * + * @return MobileAppInstallSummary + */ + public function setPendingInstallDeviceCount($val) + { + $this->_propDict["pendingInstallDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingInstallUserCount + * Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures. + * + * @return int|null The pendingInstallUserCount + */ + public function getPendingInstallUserCount() + { + if (array_key_exists("pendingInstallUserCount", $this->_propDict)) { + return $this->_propDict["pendingInstallUserCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingInstallUserCount + * Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures. + * + * @param int $val The pendingInstallUserCount + * + * @return MobileAppInstallSummary + */ + public function setPendingInstallUserCount($val) + { + $this->_propDict["pendingInstallUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallTimeSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallTimeSettings.php new file mode 100644 index 0000000..b6644e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallTimeSettings.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["deadlineDateTime"], "\DateTime") || is_null($this->_propDict["deadlineDateTime"])) { + return $this->_propDict["deadlineDateTime"]; + } else { + $this->_propDict["deadlineDateTime"] = new \DateTime($this->_propDict["deadlineDateTime"]); + return $this->_propDict["deadlineDateTime"]; + } + } + return null; + } + + /** + * Sets the deadlineDateTime + * The time at which the app should be installed. + * + * @param \DateTime $val The value to assign to the deadlineDateTime + * + * @return MobileAppInstallTimeSettings The MobileAppInstallTimeSettings + */ + public function setDeadlineDateTime($val) + { + $this->_propDict["deadlineDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The time at which the app should be available for installation. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The time at which the app should be available for installation. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return MobileAppInstallTimeSettings The MobileAppInstallTimeSettings + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the useLocalTime + * Whether the local device time or UTC time should be used when determining the available and deadline times. + * + * @return bool|null The useLocalTime + */ + public function getUseLocalTime() + { + if (array_key_exists("useLocalTime", $this->_propDict)) { + return $this->_propDict["useLocalTime"]; + } else { + return null; + } + } + + /** + * Sets the useLocalTime + * Whether the local device time or UTC time should be used when determining the available and deadline times. + * + * @param bool $val The value of the useLocalTime + * + * @return MobileAppInstallTimeSettings + */ + public function setUseLocalTime($val) + { + $this->_propDict["useLocalTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntent.php new file mode 100644 index 0000000..5f3fa13 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntent.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["managedDeviceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @param string $val The managedDeviceIdentifier + * + * @return MobileAppIntentAndState + */ + public function setManagedDeviceIdentifier($val) + { + $this->_propDict["managedDeviceIdentifier"] = $val; + return $this; + } + + + /** + * Gets the mobileAppList + * The list of payload intents and states for the tenant. + * + * @return array|null The mobileAppList + */ + public function getMobileAppList() + { + if (array_key_exists("mobileAppList", $this->_propDict)) { + return $this->_propDict["mobileAppList"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppList + * The list of payload intents and states for the tenant. + * + * @param MobileAppIntentAndStateDetail[] $val The mobileAppList + * + * @return MobileAppIntentAndState + */ + public function setMobileAppList($val) + { + $this->_propDict["mobileAppList"] = $val; + return $this; + } + + /** + * Gets the userId + * Identifier for the user that tried to enroll the device. + * + * @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 + * Identifier for the user that tried to enroll the device. + * + * @param string $val The userId + * + * @return MobileAppIntentAndState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntentAndStateDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntentAndStateDetail.php new file mode 100644 index 0000000..3b5e98f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntentAndStateDetail.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * MobieApp identifier. + * + * @param string $val The value of the applicationId + * + * @return MobileAppIntentAndStateDetail + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + /** + * Gets the displayName + * The admin provided or imported title of the app. + * + * @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 + * The admin provided or imported title of the app. + * + * @param string $val The value of the displayName + * + * @return MobileAppIntentAndStateDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the displayVersion + * Human readable version of the application + * + * @return string|null The displayVersion + */ + public function getDisplayVersion() + { + if (array_key_exists("displayVersion", $this->_propDict)) { + return $this->_propDict["displayVersion"]; + } else { + return null; + } + } + + /** + * Sets the displayVersion + * Human readable version of the application + * + * @param string $val The value of the displayVersion + * + * @return MobileAppIntentAndStateDetail + */ + public function setDisplayVersion($val) + { + $this->_propDict["displayVersion"] = $val; + return $this; + } + + /** + * Gets the installState + * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @return ResultantAppState|null The installState + */ + public function getInstallState() + { + if (array_key_exists("installState", $this->_propDict)) { + if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["installState"])) { + return $this->_propDict["installState"]; + } else { + $this->_propDict["installState"] = new ResultantAppState($this->_propDict["installState"]); + return $this->_propDict["installState"]; + } + } + return null; + } + + /** + * Sets the installState + * The install state of the app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @param ResultantAppState $val The value to assign to the installState + * + * @return MobileAppIntentAndStateDetail The MobileAppIntentAndStateDetail + */ + public function setInstallState($val) + { + $this->_propDict["installState"] = $val; + return $this; + } + + /** + * Gets the mobileAppIntent + * Mobile App Intent. Possible values are: available, notAvailable, requiredInstall, requiredUninstall, requiredAndAvailableInstall, availableInstallWithoutEnrollment, exclude. + * + * @return MobileAppIntent|null The mobileAppIntent + */ + public function getMobileAppIntent() + { + if (array_key_exists("mobileAppIntent", $this->_propDict)) { + if (is_a($this->_propDict["mobileAppIntent"], "\Beta\Microsoft\Graph\Model\MobileAppIntent") || is_null($this->_propDict["mobileAppIntent"])) { + return $this->_propDict["mobileAppIntent"]; + } else { + $this->_propDict["mobileAppIntent"] = new MobileAppIntent($this->_propDict["mobileAppIntent"]); + return $this->_propDict["mobileAppIntent"]; + } + } + return null; + } + + /** + * Sets the mobileAppIntent + * Mobile App Intent. Possible values are: available, notAvailable, requiredInstall, requiredUninstall, requiredAndAvailableInstall, availableInstallWithoutEnrollment, exclude. + * + * @param MobileAppIntent $val The value to assign to the mobileAppIntent + * + * @return MobileAppIntentAndStateDetail The MobileAppIntentAndStateDetail + */ + public function setMobileAppIntent($val) + { + $this->_propDict["mobileAppIntent"] = $val; + return $this; + } + + /** + * Gets the supportedDeviceTypes + * The supported platforms for the app. + * + * @return MobileAppSupportedDeviceType|null The supportedDeviceTypes + */ + public function getSupportedDeviceTypes() + { + if (array_key_exists("supportedDeviceTypes", $this->_propDict)) { + if (is_a($this->_propDict["supportedDeviceTypes"], "\Beta\Microsoft\Graph\Model\MobileAppSupportedDeviceType") || is_null($this->_propDict["supportedDeviceTypes"])) { + return $this->_propDict["supportedDeviceTypes"]; + } else { + $this->_propDict["supportedDeviceTypes"] = new MobileAppSupportedDeviceType($this->_propDict["supportedDeviceTypes"]); + return $this->_propDict["supportedDeviceTypes"]; + } + } + return null; + } + + /** + * Sets the supportedDeviceTypes + * The supported platforms for the app. + * + * @param MobileAppSupportedDeviceType $val The value to assign to the supportedDeviceTypes + * + * @return MobileAppIntentAndStateDetail The MobileAppIntentAndStateDetail + */ + public function setSupportedDeviceTypes($val) + { + $this->_propDict["supportedDeviceTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPolicySetItem.php new file mode 100644 index 0000000..e815ed5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPolicySetItem.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\InstallIntent") || is_null($this->_propDict["intent"])) { + return $this->_propDict["intent"]; + } else { + $this->_propDict["intent"] = new InstallIntent($this->_propDict["intent"]); + return $this->_propDict["intent"]; + } + } + return null; + } + + /** + * Sets the intent + * Install intent of the MobileAppPolicySetItem. Possible values are: available, required, uninstall, availableWithoutEnrollment. + * + * @param InstallIntent $val The intent + * + * @return MobileAppPolicySetItem + */ + public function setIntent($val) + { + $this->_propDict["intent"] = $val; + return $this; + } + + /** + * Gets the settings + * Settings of the MobileAppPolicySetItem. + * + * @return MobileAppAssignmentSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\MobileAppAssignmentSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new MobileAppAssignmentSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Settings of the MobileAppPolicySetItem. + * + * @param MobileAppAssignmentSettings $val The settings + * + * @return MobileAppPolicySetItem + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppProvisioningConfigGroupAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppProvisioningConfigGroupAssignment.php new file mode 100644 index 0000000..48bbdee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppProvisioningConfigGroupAssignment.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["targetGroupId"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupId + * The ID of the AAD group in which the app provisioning configuration is being targeted. + * + * @param string $val The targetGroupId + * + * @return MobileAppProvisioningConfigGroupAssignment + */ + public function setTargetGroupId($val) + { + $this->_propDict["targetGroupId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPublishingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPublishingState.php new file mode 100644 index 0000000..664ca81 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPublishingState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["targetDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the targetDisplayName + * The target mobile app's display name. + * + * @param string $val The targetDisplayName + * + * @return MobileAppRelationship + */ + public function setTargetDisplayName($val) + { + $this->_propDict["targetDisplayName"] = $val; + return $this; + } + + /** + * Gets the targetDisplayVersion + * The target mobile app's display version. + * + * @return string|null The targetDisplayVersion + */ + public function getTargetDisplayVersion() + { + if (array_key_exists("targetDisplayVersion", $this->_propDict)) { + return $this->_propDict["targetDisplayVersion"]; + } else { + return null; + } + } + + /** + * Sets the targetDisplayVersion + * The target mobile app's display version. + * + * @param string $val The targetDisplayVersion + * + * @return MobileAppRelationship + */ + public function setTargetDisplayVersion($val) + { + $this->_propDict["targetDisplayVersion"] = $val; + return $this; + } + + /** + * Gets the targetId + * The target mobile app's app id. + * + * @return string|null The targetId + */ + public function getTargetId() + { + if (array_key_exists("targetId", $this->_propDict)) { + return $this->_propDict["targetId"]; + } else { + return null; + } + } + + /** + * Sets the targetId + * The target mobile app's app id. + * + * @param string $val The targetId + * + * @return MobileAppRelationship + */ + public function setTargetId($val) + { + $this->_propDict["targetId"] = $val; + return $this; + } + + /** + * Gets the targetPublisher + * The target mobile app's publisher. + * + * @return string|null The targetPublisher + */ + public function getTargetPublisher() + { + if (array_key_exists("targetPublisher", $this->_propDict)) { + return $this->_propDict["targetPublisher"]; + } else { + return null; + } + } + + /** + * Sets the targetPublisher + * The target mobile app's publisher. + * + * @param string $val The targetPublisher + * + * @return MobileAppRelationship + */ + public function setTargetPublisher($val) + { + $this->_propDict["targetPublisher"] = $val; + return $this; + } + + /** + * Gets the targetType + * The type of relationship indicating whether the target is a parent or child. Possible values are: child, parent. + * + * @return MobileAppRelationshipType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\MobileAppRelationshipType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new MobileAppRelationshipType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * The type of relationship indicating whether the target is a parent or child. Possible values are: child, parent. + * + * @param MobileAppRelationshipType $val The targetType + * + * @return MobileAppRelationship + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php new file mode 100644 index 0000000..726bab3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php @@ -0,0 +1,265 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The corresponding device id. + * + * @param string $val The value of the deviceId + * + * @return MobileAppRelationshipState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + /** + * Gets the errorCode + * The error code for install or uninstall failures of target app. + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code for install or uninstall failures of target app. + * + * @param int $val The value of the errorCode + * + * @return MobileAppRelationshipState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the installState + * The install state of the app of target app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @return ResultantAppState|null The installState + */ + public function getInstallState() + { + if (array_key_exists("installState", $this->_propDict)) { + if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState") || is_null($this->_propDict["installState"])) { + return $this->_propDict["installState"]; + } else { + $this->_propDict["installState"] = new ResultantAppState($this->_propDict["installState"]); + return $this->_propDict["installState"]; + } + } + return null; + } + + /** + * Sets the installState + * The install state of the app of target app. Possible values are: installed, failed, notInstalled, uninstallFailed, pendingInstall, unknown, notApplicable. + * + * @param ResultantAppState $val The value to assign to the installState + * + * @return MobileAppRelationshipState The MobileAppRelationshipState + */ + public function setInstallState($val) + { + $this->_propDict["installState"] = $val; + return $this; + } + + /** + * Gets the installStateDetail + * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. + * + * @return ResultantAppStateDetail|null The installStateDetail + */ + public function getInstallStateDetail() + { + if (array_key_exists("installStateDetail", $this->_propDict)) { + if (is_a($this->_propDict["installStateDetail"], "\Beta\Microsoft\Graph\Model\ResultantAppStateDetail") || is_null($this->_propDict["installStateDetail"])) { + return $this->_propDict["installStateDetail"]; + } else { + $this->_propDict["installStateDetail"] = new ResultantAppStateDetail($this->_propDict["installStateDetail"]); + return $this->_propDict["installStateDetail"]; + } + } + return null; + } + + /** + * Sets the installStateDetail + * The install state detail of the app. Possible values are: noAdditionalDetails, dependencyFailedToInstall, dependencyWithRequirementsNotMet, dependencyPendingReboot, dependencyWithAutoInstallDisabled, supersededAppUninstallFailed, supersededAppUninstallPendingReboot, removingSupersededApps, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, uninstallPendingReboot, supersedingAppsDetected, supersededAppsDetected, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, untargetedSupersedingAppsDetected, appRemovedBySupersedence, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, supersedingAppsNotApplicable, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. + * + * @param ResultantAppStateDetail $val The value to assign to the installStateDetail + * + * @return MobileAppRelationshipState The MobileAppRelationshipState + */ + public function setInstallStateDetail($val) + { + $this->_propDict["installStateDetail"] = $val; + return $this; + } + /** + * Gets the sourceIds + * The collection of source mobile app's ids. + * + * @return string|null The sourceIds + */ + public function getSourceIds() + { + if (array_key_exists("sourceIds", $this->_propDict)) { + return $this->_propDict["sourceIds"]; + } else { + return null; + } + } + + /** + * Sets the sourceIds + * The collection of source mobile app's ids. + * + * @param string $val The value of the sourceIds + * + * @return MobileAppRelationshipState + */ + public function setSourceIds($val) + { + $this->_propDict["sourceIds"] = $val; + return $this; + } + /** + * Gets the targetDisplayName + * The related target app's display name. + * + * @return string|null The targetDisplayName + */ + public function getTargetDisplayName() + { + if (array_key_exists("targetDisplayName", $this->_propDict)) { + return $this->_propDict["targetDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the targetDisplayName + * The related target app's display name. + * + * @param string $val The value of the targetDisplayName + * + * @return MobileAppRelationshipState + */ + public function setTargetDisplayName($val) + { + $this->_propDict["targetDisplayName"] = $val; + return $this; + } + /** + * Gets the targetId + * The related target app's id. + * + * @return string|null The targetId + */ + public function getTargetId() + { + if (array_key_exists("targetId", $this->_propDict)) { + return $this->_propDict["targetId"]; + } else { + return null; + } + } + + /** + * Sets the targetId + * The related target app's id. + * + * @param string $val The value of the targetId + * + * @return MobileAppRelationshipState + */ + public function setTargetId($val) + { + $this->_propDict["targetId"] = $val; + return $this; + } + + /** + * Gets the targetLastSyncDateTime + * The last sync time of the target app. + * + * @return \DateTime|null The targetLastSyncDateTime + */ + public function getTargetLastSyncDateTime() + { + if (array_key_exists("targetLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["targetLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["targetLastSyncDateTime"])) { + return $this->_propDict["targetLastSyncDateTime"]; + } else { + $this->_propDict["targetLastSyncDateTime"] = new \DateTime($this->_propDict["targetLastSyncDateTime"]); + return $this->_propDict["targetLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the targetLastSyncDateTime + * The last sync time of the target app. + * + * @param \DateTime $val The value to assign to the targetLastSyncDateTime + * + * @return MobileAppRelationshipState The MobileAppRelationshipState + */ + public function setTargetLastSyncDateTime($val) + { + $this->_propDict["targetLastSyncDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipType.php new file mode 100644 index 0000000..8d616e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["supersededAppCount"]; + } else { + return null; + } + } + + /** + * Sets the supersededAppCount + * The total number of apps directly or indirectly superseded by the child app. + * + * @param int $val The supersededAppCount + * + * @return MobileAppSupersedence + */ + public function setSupersededAppCount($val) + { + $this->_propDict["supersededAppCount"] = intval($val); + return $this; + } + + /** + * Gets the supersedenceType + * The supersedence relationship type between the parent and child apps. Possible values are: update, replace. + * + * @return MobileAppSupersedenceType|null The supersedenceType + */ + public function getSupersedenceType() + { + if (array_key_exists("supersedenceType", $this->_propDict)) { + if (is_a($this->_propDict["supersedenceType"], "\Beta\Microsoft\Graph\Model\MobileAppSupersedenceType") || is_null($this->_propDict["supersedenceType"])) { + return $this->_propDict["supersedenceType"]; + } else { + $this->_propDict["supersedenceType"] = new MobileAppSupersedenceType($this->_propDict["supersedenceType"]); + return $this->_propDict["supersedenceType"]; + } + } + return null; + } + + /** + * Sets the supersedenceType + * The supersedence relationship type between the parent and child apps. Possible values are: update, replace. + * + * @param MobileAppSupersedenceType $val The supersedenceType + * + * @return MobileAppSupersedence + */ + public function setSupersedenceType($val) + { + $this->_propDict["supersedenceType"] = $val; + return $this; + } + + /** + * Gets the supersedingAppCount + * The total number of apps directly or indirectly superseding the parent app. + * + * @return int|null The supersedingAppCount + */ + public function getSupersedingAppCount() + { + if (array_key_exists("supersedingAppCount", $this->_propDict)) { + return $this->_propDict["supersedingAppCount"]; + } else { + return null; + } + } + + /** + * Sets the supersedingAppCount + * The total number of apps directly or indirectly superseding the parent app. + * + * @param int $val The supersedingAppCount + * + * @return MobileAppSupersedence + */ + public function setSupersedingAppCount($val) + { + $this->_propDict["supersedingAppCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppSupersedenceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppSupersedenceType.php new file mode 100644 index 0000000..af370c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppSupersedenceType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["maximumOperatingSystemVersion"]; + } else { + return null; + } + } + + /** + * Sets the maximumOperatingSystemVersion + * Maximum OS version + * + * @param string $val The value of the maximumOperatingSystemVersion + * + * @return MobileAppSupportedDeviceType + */ + public function setMaximumOperatingSystemVersion($val) + { + $this->_propDict["maximumOperatingSystemVersion"] = $val; + return $this; + } + /** + * Gets the minimumOperatingSystemVersion + * Minimum OS version + * + * @return string|null The minimumOperatingSystemVersion + */ + public function getMinimumOperatingSystemVersion() + { + if (array_key_exists("minimumOperatingSystemVersion", $this->_propDict)) { + return $this->_propDict["minimumOperatingSystemVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumOperatingSystemVersion + * Minimum OS version + * + * @param string $val The value of the minimumOperatingSystemVersion + * + * @return MobileAppSupportedDeviceType + */ + public function setMinimumOperatingSystemVersion($val) + { + $this->_propDict["minimumOperatingSystemVersion"] = $val; + return $this; + } + + /** + * Gets the type + * Device type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. + * + * @return DeviceType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\DeviceType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new DeviceType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Device type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, chromeOS, linux, blackberry, palm, unknown, cloudPC. + * + * @param DeviceType $val The value to assign to the type + * + * @return MobileAppSupportedDeviceType The MobileAppSupportedDeviceType + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppPolicyCreationHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppPolicyCreationHistory.php new file mode 100644 index 0000000..179001e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppPolicyCreationHistory.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the failure, empty if no failure. + * + * @param string $val The value of the errorCode + * + * @return MobileAppTroubleshootingAppPolicyCreationHistory + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the runState + * Status of the item. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @return RunState|null The runState + */ + public function getRunState() + { + if (array_key_exists("runState", $this->_propDict)) { + if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["runState"])) { + return $this->_propDict["runState"]; + } else { + $this->_propDict["runState"] = new RunState($this->_propDict["runState"]); + return $this->_propDict["runState"]; + } + } + return null; + } + + /** + * Sets the runState + * Status of the item. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The value to assign to the runState + * + * @return MobileAppTroubleshootingAppPolicyCreationHistory The MobileAppTroubleshootingAppPolicyCreationHistory + */ + public function setRunState($val) + { + $this->_propDict["runState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppStateHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppStateHistory.php new file mode 100644 index 0000000..7071d62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppStateHistory.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\MobileAppActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new MobileAppActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * Action type for Intune Application. Possible values are: unknown, installCommandSent, installed, uninstalled, userRequestedInstall. + * + * @param MobileAppActionType $val The value to assign to the actionType + * + * @return MobileAppTroubleshootingAppStateHistory The MobileAppTroubleshootingAppStateHistory + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code for the failure, empty if no failure. + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the failure, empty if no failure. + * + * @param string $val The value of the errorCode + * + * @return MobileAppTroubleshootingAppStateHistory + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the runState + * Status of the item. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @return RunState|null The runState + */ + public function getRunState() + { + if (array_key_exists("runState", $this->_propDict)) { + if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["runState"])) { + return $this->_propDict["runState"]; + } else { + $this->_propDict["runState"] = new RunState($this->_propDict["runState"]); + return $this->_propDict["runState"]; + } + } + return null; + } + + /** + * Sets the runState + * Status of the item. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The value to assign to the runState + * + * @return MobileAppTroubleshootingAppStateHistory The MobileAppTroubleshootingAppStateHistory + */ + public function setRunState($val) + { + $this->_propDict["runState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppTargetHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppTargetHistory.php new file mode 100644 index 0000000..404a3b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppTargetHistory.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the failure, empty if no failure. + * + * @param string $val The value of the errorCode + * + * @return MobileAppTroubleshootingAppTargetHistory + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the runState + * Status of the item. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @return RunState|null The runState + */ + public function getRunState() + { + if (array_key_exists("runState", $this->_propDict)) { + if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\RunState") || is_null($this->_propDict["runState"])) { + return $this->_propDict["runState"]; + } else { + $this->_propDict["runState"] = new RunState($this->_propDict["runState"]); + return $this->_propDict["runState"]; + } + } + return null; + } + + /** + * Sets the runState + * Status of the item. Possible values are: unknown, success, fail, scriptError, pending, notApplicable. + * + * @param RunState $val The value to assign to the runState + * + * @return MobileAppTroubleshootingAppTargetHistory The MobileAppTroubleshootingAppTargetHistory + */ + public function setRunState($val) + { + $this->_propDict["runState"] = $val; + return $this; + } + /** + * Gets the securityGroupId + * AAD security group id to which it was targeted. + * + * @return string|null The securityGroupId + */ + public function getSecurityGroupId() + { + if (array_key_exists("securityGroupId", $this->_propDict)) { + return $this->_propDict["securityGroupId"]; + } else { + return null; + } + } + + /** + * Sets the securityGroupId + * AAD security group id to which it was targeted. + * + * @param string $val The value of the securityGroupId + * + * @return MobileAppTroubleshootingAppTargetHistory + */ + public function setSecurityGroupId($val) + { + $this->_propDict["securityGroupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppUpdateHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppUpdateHistory.php new file mode 100644 index 0000000..489e022 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppUpdateHistory.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * Intune application identifier. + * + * @param string $val The applicationId + * + * @return MobileAppTroubleshootingEvent + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + + + /** + * Gets the history + * Intune Mobile Application Troubleshooting History Item + * + * @return array|null The history + */ + public function getHistory() + { + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * Intune Mobile Application Troubleshooting History Item + * + * @param MobileAppTroubleshootingHistoryItem[] $val The history + * + * @return MobileAppTroubleshootingEvent + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + + /** + * Gets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @return string|null The managedDeviceIdentifier + */ + public function getManagedDeviceIdentifier() + { + if (array_key_exists("managedDeviceIdentifier", $this->_propDict)) { + return $this->_propDict["managedDeviceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @param string $val The managedDeviceIdentifier + * + * @return MobileAppTroubleshootingEvent + */ + public function setManagedDeviceIdentifier($val) + { + $this->_propDict["managedDeviceIdentifier"] = $val; + return $this; + } + + /** + * Gets the userId + * Identifier for the user that tried to enroll the device. + * + * @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 + * Identifier for the user that tried to enroll the device. + * + * @param string $val The userId + * + * @return MobileAppTroubleshootingEvent + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + + /** + * Gets the appLogCollectionRequests + * The collection property of AppLogUploadRequest. + * + * @return array|null The appLogCollectionRequests + */ + public function getAppLogCollectionRequests() + { + if (array_key_exists("appLogCollectionRequests", $this->_propDict)) { + return $this->_propDict["appLogCollectionRequests"]; + } else { + return null; + } + } + + /** + * Sets the appLogCollectionRequests + * The collection property of AppLogUploadRequest. + * + * @param AppLogCollectionRequest[] $val The appLogCollectionRequests + * + * @return MobileAppTroubleshootingEvent + */ + public function setAppLogCollectionRequests($val) + { + $this->_propDict["appLogCollectionRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingHistoryItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingHistoryItem.php new file mode 100644 index 0000000..d29b9d2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingHistoryItem.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["occurrenceDateTime"], "\DateTime") || is_null($this->_propDict["occurrenceDateTime"])) { + return $this->_propDict["occurrenceDateTime"]; + } else { + $this->_propDict["occurrenceDateTime"] = new \DateTime($this->_propDict["occurrenceDateTime"]); + return $this->_propDict["occurrenceDateTime"]; + } + } + return null; + } + + /** + * Sets the occurrenceDateTime + * Time when the history item occurred. + * + * @param \DateTime $val The value to assign to the occurrenceDateTime + * + * @return MobileAppTroubleshootingHistoryItem The MobileAppTroubleshootingHistoryItem + */ + public function setOccurrenceDateTime($val) + { + $this->_propDict["occurrenceDateTime"] = $val; + return $this; + } + + /** + * Gets the troubleshootingErrorDetails + * Object containing detailed information about the error and its remediation. + * + * @return DeviceManagementTroubleshootingErrorDetails|null The troubleshootingErrorDetails + */ + public function getTroubleshootingErrorDetails() + { + if (array_key_exists("troubleshootingErrorDetails", $this->_propDict)) { + if (is_a($this->_propDict["troubleshootingErrorDetails"], "\Beta\Microsoft\Graph\Model\DeviceManagementTroubleshootingErrorDetails") || is_null($this->_propDict["troubleshootingErrorDetails"])) { + return $this->_propDict["troubleshootingErrorDetails"]; + } else { + $this->_propDict["troubleshootingErrorDetails"] = new DeviceManagementTroubleshootingErrorDetails($this->_propDict["troubleshootingErrorDetails"]); + return $this->_propDict["troubleshootingErrorDetails"]; + } + } + return null; + } + + /** + * Sets the troubleshootingErrorDetails + * Object containing detailed information about the error and its remediation. + * + * @param DeviceManagementTroubleshootingErrorDetails $val The value to assign to the troubleshootingErrorDetails + * + * @return MobileAppTroubleshootingHistoryItem The MobileAppTroubleshootingHistoryItem + */ + public function setTroubleshootingErrorDetails($val) + { + $this->_propDict["troubleshootingErrorDetails"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileContainedApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileContainedApp.php new file mode 100644 index 0000000..8187db1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileContainedApp.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["committedContentVersion"]; + } else { + return null; + } + } + + /** + * Sets the committedContentVersion + * The internal committed content version. + * + * @param string $val The committedContentVersion + * + * @return MobileLobApp + */ + public function setCommittedContentVersion($val) + { + $this->_propDict["committedContentVersion"] = $val; + return $this; + } + + /** + * Gets the fileName + * The name of the main Lob application file. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The name of the main Lob application file. + * + * @param string $val The fileName + * + * @return MobileLobApp + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the size + * The total size, including all uploaded files. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The total size, including all uploaded files. + * + * @param int $val The size + * + * @return MobileLobApp + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + + /** + * Gets the contentVersions + * The list of content versions for this app. + * + * @return array|null The contentVersions + */ + public function getContentVersions() + { + if (array_key_exists("contentVersions", $this->_propDict)) { + return $this->_propDict["contentVersions"]; + } else { + return null; + } + } + + /** + * Sets the contentVersions + * The list of content versions for this app. + * + * @param MobileAppContent[] $val The contentVersions + * + * @return MobileLobApp + */ + public function setContentVersions($val) + { + $this->_propDict["contentVersions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php new file mode 100644 index 0000000..384b6e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php @@ -0,0 +1,528 @@ +_propDict)) { + return $this->_propDict["allowPartnerToCollectIOSApplicationMetadata"]; + } else { + return null; + } + } + + /** + * Sets the allowPartnerToCollectIOSApplicationMetadata + * For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about installed applications from Intune + * + * @param bool $val The allowPartnerToCollectIOSApplicationMetadata + * + * @return MobileThreatDefenseConnector + */ + public function setAllowPartnerToCollectIOSApplicationMetadata($val) + { + $this->_propDict["allowPartnerToCollectIOSApplicationMetadata"] = boolval($val); + return $this; + } + + /** + * Gets the allowPartnerToCollectIOSPersonalApplicationMetadata + * For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about personally installed applications from Intune + * + * @return bool|null The allowPartnerToCollectIOSPersonalApplicationMetadata + */ + public function getAllowPartnerToCollectIOSPersonalApplicationMetadata() + { + if (array_key_exists("allowPartnerToCollectIOSPersonalApplicationMetadata", $this->_propDict)) { + return $this->_propDict["allowPartnerToCollectIOSPersonalApplicationMetadata"]; + } else { + return null; + } + } + + /** + * Sets the allowPartnerToCollectIOSPersonalApplicationMetadata + * For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about personally installed applications from Intune + * + * @param bool $val The allowPartnerToCollectIOSPersonalApplicationMetadata + * + * @return MobileThreatDefenseConnector + */ + public function setAllowPartnerToCollectIOSPersonalApplicationMetadata($val) + { + $this->_propDict["allowPartnerToCollectIOSPersonalApplicationMetadata"] = boolval($val); + return $this; + } + + /** + * Gets the androidDeviceBlockedOnMissingPartnerData + * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @return bool|null The androidDeviceBlockedOnMissingPartnerData + */ + public function getAndroidDeviceBlockedOnMissingPartnerData() + { + if (array_key_exists("androidDeviceBlockedOnMissingPartnerData", $this->_propDict)) { + return $this->_propDict["androidDeviceBlockedOnMissingPartnerData"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceBlockedOnMissingPartnerData + * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @param bool $val The androidDeviceBlockedOnMissingPartnerData + * + * @return MobileThreatDefenseConnector + */ + public function setAndroidDeviceBlockedOnMissingPartnerData($val) + { + $this->_propDict["androidDeviceBlockedOnMissingPartnerData"] = boolval($val); + return $this; + } + + /** + * Gets the androidEnabled + * For Android, set whether data from the data sync partner should be used during compliance evaluations + * + * @return bool|null The androidEnabled + */ + public function getAndroidEnabled() + { + if (array_key_exists("androidEnabled", $this->_propDict)) { + return $this->_propDict["androidEnabled"]; + } else { + return null; + } + } + + /** + * Sets the androidEnabled + * For Android, set whether data from the data sync partner should be used during compliance evaluations + * + * @param bool $val The androidEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setAndroidEnabled($val) + { + $this->_propDict["androidEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the androidMobileApplicationManagementEnabled + * For Android, set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. + * + * @return bool|null The androidMobileApplicationManagementEnabled + */ + public function getAndroidMobileApplicationManagementEnabled() + { + if (array_key_exists("androidMobileApplicationManagementEnabled", $this->_propDict)) { + return $this->_propDict["androidMobileApplicationManagementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the androidMobileApplicationManagementEnabled + * For Android, set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. + * + * @param bool $val The androidMobileApplicationManagementEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setAndroidMobileApplicationManagementEnabled($val) + { + $this->_propDict["androidMobileApplicationManagementEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the iosDeviceBlockedOnMissingPartnerData + * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @return bool|null The iosDeviceBlockedOnMissingPartnerData + */ + public function getIosDeviceBlockedOnMissingPartnerData() + { + if (array_key_exists("iosDeviceBlockedOnMissingPartnerData", $this->_propDict)) { + return $this->_propDict["iosDeviceBlockedOnMissingPartnerData"]; + } else { + return null; + } + } + + /** + * Sets the iosDeviceBlockedOnMissingPartnerData + * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @param bool $val The iosDeviceBlockedOnMissingPartnerData + * + * @return MobileThreatDefenseConnector + */ + public function setIosDeviceBlockedOnMissingPartnerData($val) + { + $this->_propDict["iosDeviceBlockedOnMissingPartnerData"] = boolval($val); + return $this; + } + + /** + * Gets the iosEnabled + * For IOS, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @return bool|null The iosEnabled + */ + public function getIosEnabled() + { + if (array_key_exists("iosEnabled", $this->_propDict)) { + return $this->_propDict["iosEnabled"]; + } else { + return null; + } + } + + /** + * Sets the iosEnabled + * For IOS, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @param bool $val The iosEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setIosEnabled($val) + { + $this->_propDict["iosEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the iosMobileApplicationManagementEnabled + * For IOS, get or set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. + * + * @return bool|null The iosMobileApplicationManagementEnabled + */ + public function getIosMobileApplicationManagementEnabled() + { + if (array_key_exists("iosMobileApplicationManagementEnabled", $this->_propDict)) { + return $this->_propDict["iosMobileApplicationManagementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the iosMobileApplicationManagementEnabled + * For IOS, get or set whether data from the data sync partner should be used during Mobile Application Management (MAM) evaluations. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. + * + * @param bool $val The iosMobileApplicationManagementEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setIosMobileApplicationManagementEnabled($val) + { + $this->_propDict["iosMobileApplicationManagementEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastHeartbeatDateTime + * DateTime of last Heartbeat recieved from the Data Sync Partner + * + * @return \DateTime|null The lastHeartbeatDateTime + */ + public function getLastHeartbeatDateTime() + { + if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) { + return $this->_propDict["lastHeartbeatDateTime"]; + } else { + $this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]); + return $this->_propDict["lastHeartbeatDateTime"]; + } + } + return null; + } + + /** + * Sets the lastHeartbeatDateTime + * DateTime of last Heartbeat recieved from the Data Sync Partner + * + * @param \DateTime $val The lastHeartbeatDateTime + * + * @return MobileThreatDefenseConnector + */ + public function setLastHeartbeatDateTime($val) + { + $this->_propDict["lastHeartbeatDateTime"] = $val; + return $this; + } + + /** + * Gets the macDeviceBlockedOnMissingPartnerData + * For Mac, get or set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @return bool|null The macDeviceBlockedOnMissingPartnerData + */ + public function getMacDeviceBlockedOnMissingPartnerData() + { + if (array_key_exists("macDeviceBlockedOnMissingPartnerData", $this->_propDict)) { + return $this->_propDict["macDeviceBlockedOnMissingPartnerData"]; + } else { + return null; + } + } + + /** + * Sets the macDeviceBlockedOnMissingPartnerData + * For Mac, get or set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @param bool $val The macDeviceBlockedOnMissingPartnerData + * + * @return MobileThreatDefenseConnector + */ + public function setMacDeviceBlockedOnMissingPartnerData($val) + { + $this->_propDict["macDeviceBlockedOnMissingPartnerData"] = boolval($val); + return $this; + } + + /** + * Gets the macEnabled + * For Mac, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @return bool|null The macEnabled + */ + public function getMacEnabled() + { + if (array_key_exists("macEnabled", $this->_propDict)) { + return $this->_propDict["macEnabled"]; + } else { + return null; + } + } + + /** + * Sets the macEnabled + * For Mac, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @param bool $val The macEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setMacEnabled($val) + { + $this->_propDict["macEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftDefenderForEndpointAttachEnabled + * When TRUE, configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, configuration profile management via Microsoft Defender for Endpoint is disabled. + * + * @return bool|null The microsoftDefenderForEndpointAttachEnabled + */ + public function getMicrosoftDefenderForEndpointAttachEnabled() + { + if (array_key_exists("microsoftDefenderForEndpointAttachEnabled", $this->_propDict)) { + return $this->_propDict["microsoftDefenderForEndpointAttachEnabled"]; + } else { + return null; + } + } + + /** + * Sets the microsoftDefenderForEndpointAttachEnabled + * When TRUE, configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, configuration profile management via Microsoft Defender for Endpoint is disabled. + * + * @param bool $val The microsoftDefenderForEndpointAttachEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setMicrosoftDefenderForEndpointAttachEnabled($val) + { + $this->_propDict["microsoftDefenderForEndpointAttachEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the partnerState + * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * + * @return MobileThreatPartnerTenantState|null The partnerState + */ + public function getPartnerState() + { + if (array_key_exists("partnerState", $this->_propDict)) { + if (is_a($this->_propDict["partnerState"], "\Beta\Microsoft\Graph\Model\MobileThreatPartnerTenantState") || is_null($this->_propDict["partnerState"])) { + return $this->_propDict["partnerState"]; + } else { + $this->_propDict["partnerState"] = new MobileThreatPartnerTenantState($this->_propDict["partnerState"]); + return $this->_propDict["partnerState"]; + } + } + return null; + } + + /** + * Sets the partnerState + * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * + * @param MobileThreatPartnerTenantState $val The partnerState + * + * @return MobileThreatDefenseConnector + */ + public function setPartnerState($val) + { + $this->_propDict["partnerState"] = $val; + return $this; + } + + /** + * Gets the partnerUnresponsivenessThresholdInDays + * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + * + * @return int|null The partnerUnresponsivenessThresholdInDays + */ + public function getPartnerUnresponsivenessThresholdInDays() + { + if (array_key_exists("partnerUnresponsivenessThresholdInDays", $this->_propDict)) { + return $this->_propDict["partnerUnresponsivenessThresholdInDays"]; + } else { + return null; + } + } + + /** + * Sets the partnerUnresponsivenessThresholdInDays + * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + * + * @param int $val The partnerUnresponsivenessThresholdInDays + * + * @return MobileThreatDefenseConnector + */ + public function setPartnerUnresponsivenessThresholdInDays($val) + { + $this->_propDict["partnerUnresponsivenessThresholdInDays"] = intval($val); + return $this; + } + + /** + * Gets the partnerUnsupportedOsVersionBlocked + * Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner + * + * @return bool|null The partnerUnsupportedOsVersionBlocked + */ + public function getPartnerUnsupportedOsVersionBlocked() + { + if (array_key_exists("partnerUnsupportedOsVersionBlocked", $this->_propDict)) { + return $this->_propDict["partnerUnsupportedOsVersionBlocked"]; + } else { + return null; + } + } + + /** + * Sets the partnerUnsupportedOsVersionBlocked + * Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner + * + * @param bool $val The partnerUnsupportedOsVersionBlocked + * + * @return MobileThreatDefenseConnector + */ + public function setPartnerUnsupportedOsVersionBlocked($val) + { + $this->_propDict["partnerUnsupportedOsVersionBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the windowsDeviceBlockedOnMissingPartnerData + * For Windows, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @return bool|null The windowsDeviceBlockedOnMissingPartnerData + */ + public function getWindowsDeviceBlockedOnMissingPartnerData() + { + if (array_key_exists("windowsDeviceBlockedOnMissingPartnerData", $this->_propDict)) { + return $this->_propDict["windowsDeviceBlockedOnMissingPartnerData"]; + } else { + return null; + } + } + + /** + * Sets the windowsDeviceBlockedOnMissingPartnerData + * For Windows, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @param bool $val The windowsDeviceBlockedOnMissingPartnerData + * + * @return MobileThreatDefenseConnector + */ + public function setWindowsDeviceBlockedOnMissingPartnerData($val) + { + $this->_propDict["windowsDeviceBlockedOnMissingPartnerData"] = boolval($val); + return $this; + } + + /** + * Gets the windowsEnabled + * For Windows, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @return bool|null The windowsEnabled + */ + public function getWindowsEnabled() + { + if (array_key_exists("windowsEnabled", $this->_propDict)) { + return $this->_propDict["windowsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the windowsEnabled + * For Windows, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @param bool $val The windowsEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setWindowsEnabled($val) + { + $this->_propDict["windowsEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php new file mode 100644 index 0000000..af75158 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\PolicyScope") || is_null($this->_propDict["appliesTo"])) { + return $this->_propDict["appliesTo"]; + } else { + $this->_propDict["appliesTo"] = new PolicyScope($this->_propDict["appliesTo"]); + return $this->_propDict["appliesTo"]; + } + } + return null; + } + + /** + * Sets the appliesTo + * Indicates the user scope of the mobility management policy. Possible values are: none, all, selected. + * + * @param PolicyScope $val The appliesTo + * + * @return MobilityManagementPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + + /** + * Gets the complianceUrl + * Compliance URL of the mobility management application. + * + * @return string|null The complianceUrl + */ + public function getComplianceUrl() + { + if (array_key_exists("complianceUrl", $this->_propDict)) { + return $this->_propDict["complianceUrl"]; + } else { + return null; + } + } + + /** + * Sets the complianceUrl + * Compliance URL of the mobility management application. + * + * @param string $val The complianceUrl + * + * @return MobilityManagementPolicy + */ + public function setComplianceUrl($val) + { + $this->_propDict["complianceUrl"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the mobility management application. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the mobility management application. + * + * @param string $val The description + * + * @return MobilityManagementPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discoveryUrl + * Discovery URL of the mobility management application. + * + * @return string|null The discoveryUrl + */ + public function getDiscoveryUrl() + { + if (array_key_exists("discoveryUrl", $this->_propDict)) { + return $this->_propDict["discoveryUrl"]; + } else { + return null; + } + } + + /** + * Sets the discoveryUrl + * Discovery URL of the mobility management application. + * + * @param string $val The discoveryUrl + * + * @return MobilityManagementPolicy + */ + public function setDiscoveryUrl($val) + { + $this->_propDict["discoveryUrl"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the mobility management application. + * + * @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 + * Display name of the mobility management application. + * + * @param string $val The displayName + * + * @return MobilityManagementPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isValid + * Whether policy is valid. Invalid policies may not be updated and should be deleted. + * + * @return bool|null The isValid + */ + public function getIsValid() + { + if (array_key_exists("isValid", $this->_propDict)) { + return $this->_propDict["isValid"]; + } else { + return null; + } + } + + /** + * Sets the isValid + * Whether policy is valid. Invalid policies may not be updated and should be deleted. + * + * @param bool $val The isValid + * + * @return MobilityManagementPolicy + */ + public function setIsValid($val) + { + $this->_propDict["isValid"] = boolval($val); + return $this; + } + + /** + * Gets the termsOfUseUrl + * Terms of Use URL of the mobility management application. + * + * @return string|null The termsOfUseUrl + */ + public function getTermsOfUseUrl() + { + if (array_key_exists("termsOfUseUrl", $this->_propDict)) { + return $this->_propDict["termsOfUseUrl"]; + } else { + return null; + } + } + + /** + * Sets the termsOfUseUrl + * Terms of Use URL of the mobility management application. + * + * @param string $val The termsOfUseUrl + * + * @return MobilityManagementPolicy + */ + public function setTermsOfUseUrl($val) + { + $this->_propDict["termsOfUseUrl"] = $val; + return $this; + } + + + /** + * Gets the includedGroups + * Azure AD groups under the scope of the mobility management application if appliesTo is selected + * + * @return array|null The includedGroups + */ + public function getIncludedGroups() + { + if (array_key_exists("includedGroups", $this->_propDict)) { + return $this->_propDict["includedGroups"]; + } else { + return null; + } + } + + /** + * Sets the includedGroups + * Azure AD groups under the scope of the mobility management application if appliesTo is selected + * + * @param Group[] $val The includedGroups + * + * @return MobilityManagementPolicy + */ + public function setIncludedGroups($val) + { + $this->_propDict["includedGroups"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Modality.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Modality.php new file mode 100644 index 0000000..957c0ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Modality.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of property that was modified. + * + * @param string $val The value of the displayName + * + * @return ModifiedProperty + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the newValue + * New property value. + * + * @return string|null The newValue + */ + public function getNewValue() + { + if (array_key_exists("newValue", $this->_propDict)) { + return $this->_propDict["newValue"]; + } else { + return null; + } + } + + /** + * Sets the newValue + * New property value. + * + * @param string $val The value of the newValue + * + * @return ModifiedProperty + */ + public function setNewValue($val) + { + $this->_propDict["newValue"] = $val; + return $this; + } + /** + * Gets the oldValue + * Old property value. + * + * @return string|null The oldValue + */ + public function getOldValue() + { + if (array_key_exists("oldValue", $this->_propDict)) { + return $this->_propDict["oldValue"]; + } else { + return null; + } + } + + /** + * Sets the oldValue + * Old property value. + * + * @param string $val The value of the oldValue + * + * @return ModifiedProperty + */ + public function setOldValue($val) + { + $this->_propDict["oldValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MoveAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MoveAction.php new file mode 100644 index 0000000..b19e29d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MoveAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["from"]; + } else { + return null; + } + } + + /** + * Sets the from + * The name of the location the item was moved from. + * + * @param string $val The value of the from + * + * @return MoveAction + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + /** + * Gets the to + * The name of the location the item was moved to. + * + * @return string|null The to + */ + public function getTo() + { + if (array_key_exists("to", $this->_propDict)) { + return $this->_propDict["to"]; + } else { + return null; + } + } + + /** + * Sets the to + * The name of the location the item was moved to. + * + * @param string $val The value of the to + * + * @return MoveAction + */ + public function setTo($val) + { + $this->_propDict["to"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MultiFactorAuthConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MultiFactorAuthConfiguration.php new file mode 100644 index 0000000..445ca31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MultiFactorAuthConfiguration.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * A collection of property values. + * + * @param string $val The value + * + * @return MultiValueLegacyExtendedProperty + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Mutability.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Mutability.php new file mode 100644 index 0000000..d67fa47 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Mutability.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["participants"]; + } else { + return null; + } + } + + /** + * Sets the participants + * + * @param string $val The participants + * + * @return MuteParticipantsOperation + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NamedLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NamedLocation.php new file mode 100644 index 0000000..d1728e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NamedLocation.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The Timestamp type represents creation date and time of the location 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 createdDateTime + * + * @return NamedLocation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Human-readable name of the location. + * + * @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 + * Human-readable name of the location. + * + * @param string $val The displayName + * + * @return NamedLocation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The Timestamp type represents last modified date and time of the location 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The Timestamp type represents last modified date and time of the location 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 modifiedDateTime + * + * @return NamedLocation + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnector.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnector.php new file mode 100644 index 0000000..f89262e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnector.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The friendly name of the Ndes Connector. + * + * @param string $val The displayName + * + * @return NdesConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastConnectionDateTime + * Last connection time for the Ndes Connector + * + * @return \DateTime|null The lastConnectionDateTime + */ + public function getLastConnectionDateTime() + { + if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime") || is_null($this->_propDict["lastConnectionDateTime"])) { + return $this->_propDict["lastConnectionDateTime"]; + } else { + $this->_propDict["lastConnectionDateTime"] = new \DateTime($this->_propDict["lastConnectionDateTime"]); + return $this->_propDict["lastConnectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionDateTime + * Last connection time for the Ndes Connector + * + * @param \DateTime $val The lastConnectionDateTime + * + * @return NdesConnector + */ + public function setLastConnectionDateTime($val) + { + $this->_propDict["lastConnectionDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Ndes Connector Status. Possible values are: none, active, inactive. + * + * @return NdesConnectorState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\NdesConnectorState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new NdesConnectorState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Ndes Connector Status. Possible values are: none, active, inactive. + * + * @param NdesConnectorState $val The state + * + * @return NdesConnector + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnectorState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnectorState.php new file mode 100644 index 0000000..0bd2ced --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnectorState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Name of the application managing the network connection (for example, Facebook, SMTP, etc.). + * + * @param string $val The value of the applicationName + * + * @return NetworkConnection + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + /** + * Gets the destinationAddress + * Destination IP address (of the network connection). + * + * @return string|null The destinationAddress + */ + public function getDestinationAddress() + { + if (array_key_exists("destinationAddress", $this->_propDict)) { + return $this->_propDict["destinationAddress"]; + } else { + return null; + } + } + + /** + * Sets the destinationAddress + * Destination IP address (of the network connection). + * + * @param string $val The value of the destinationAddress + * + * @return NetworkConnection + */ + public function setDestinationAddress($val) + { + $this->_propDict["destinationAddress"] = $val; + return $this; + } + /** + * Gets the destinationDomain + * Destination domain portion of the destination URL. (for example 'www.contoso.com'). + * + * @return string|null The destinationDomain + */ + public function getDestinationDomain() + { + if (array_key_exists("destinationDomain", $this->_propDict)) { + return $this->_propDict["destinationDomain"]; + } else { + return null; + } + } + + /** + * Sets the destinationDomain + * Destination domain portion of the destination URL. (for example 'www.contoso.com'). + * + * @param string $val The value of the destinationDomain + * + * @return NetworkConnection + */ + public function setDestinationDomain($val) + { + $this->_propDict["destinationDomain"] = $val; + return $this; + } + /** + * Gets the destinationLocation + * Location (by IP address mapping) associated with the destination of a network connection. + * + * @return string|null The destinationLocation + */ + public function getDestinationLocation() + { + if (array_key_exists("destinationLocation", $this->_propDict)) { + return $this->_propDict["destinationLocation"]; + } else { + return null; + } + } + + /** + * Sets the destinationLocation + * Location (by IP address mapping) associated with the destination of a network connection. + * + * @param string $val The value of the destinationLocation + * + * @return NetworkConnection + */ + public function setDestinationLocation($val) + { + $this->_propDict["destinationLocation"] = $val; + return $this; + } + /** + * Gets the destinationPort + * Destination port (of the network connection). + * + * @return string|null The destinationPort + */ + public function getDestinationPort() + { + if (array_key_exists("destinationPort", $this->_propDict)) { + return $this->_propDict["destinationPort"]; + } else { + return null; + } + } + + /** + * Sets the destinationPort + * Destination port (of the network connection). + * + * @param string $val The value of the destinationPort + * + * @return NetworkConnection + */ + public function setDestinationPort($val) + { + $this->_propDict["destinationPort"] = $val; + return $this; + } + /** + * Gets the destinationUrl + * Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html') + * + * @return string|null The destinationUrl + */ + public function getDestinationUrl() + { + if (array_key_exists("destinationUrl", $this->_propDict)) { + return $this->_propDict["destinationUrl"]; + } else { + return null; + } + } + + /** + * Sets the destinationUrl + * Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html') + * + * @param string $val The value of the destinationUrl + * + * @return NetworkConnection + */ + public function setDestinationUrl($val) + { + $this->_propDict["destinationUrl"] = $val; + return $this; + } + + /** + * Gets the direction + * Network connection direction. Possible values are: unknown, inbound, outbound. + * + * @return ConnectionDirection|null The direction + */ + public function getDirection() + { + if (array_key_exists("direction", $this->_propDict)) { + if (is_a($this->_propDict["direction"], "\Beta\Microsoft\Graph\Model\ConnectionDirection") || is_null($this->_propDict["direction"])) { + return $this->_propDict["direction"]; + } else { + $this->_propDict["direction"] = new ConnectionDirection($this->_propDict["direction"]); + return $this->_propDict["direction"]; + } + } + return null; + } + + /** + * Sets the direction + * Network connection direction. Possible values are: unknown, inbound, outbound. + * + * @param ConnectionDirection $val The value to assign to the direction + * + * @return NetworkConnection The NetworkConnection + */ + public function setDirection($val) + { + $this->_propDict["direction"] = $val; + return $this; + } + + /** + * Gets the domainRegisteredDateTime + * Date when the destination domain was registered. 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 domainRegisteredDateTime + */ + public function getDomainRegisteredDateTime() + { + if (array_key_exists("domainRegisteredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["domainRegisteredDateTime"], "\DateTime") || is_null($this->_propDict["domainRegisteredDateTime"])) { + return $this->_propDict["domainRegisteredDateTime"]; + } else { + $this->_propDict["domainRegisteredDateTime"] = new \DateTime($this->_propDict["domainRegisteredDateTime"]); + return $this->_propDict["domainRegisteredDateTime"]; + } + } + return null; + } + + /** + * Sets the domainRegisteredDateTime + * Date when the destination domain was registered. 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 domainRegisteredDateTime + * + * @return NetworkConnection The NetworkConnection + */ + public function setDomainRegisteredDateTime($val) + { + $this->_propDict["domainRegisteredDateTime"] = $val; + return $this; + } + /** + * Gets the localDnsName + * The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with). + * + * @return string|null The localDnsName + */ + public function getLocalDnsName() + { + if (array_key_exists("localDnsName", $this->_propDict)) { + return $this->_propDict["localDnsName"]; + } else { + return null; + } + } + + /** + * Sets the localDnsName + * The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with). + * + * @param string $val The value of the localDnsName + * + * @return NetworkConnection + */ + public function setLocalDnsName($val) + { + $this->_propDict["localDnsName"] = $val; + return $this; + } + /** + * Gets the natDestinationAddress + * Network Address Translation destination IP address. + * + * @return string|null The natDestinationAddress + */ + public function getNatDestinationAddress() + { + if (array_key_exists("natDestinationAddress", $this->_propDict)) { + return $this->_propDict["natDestinationAddress"]; + } else { + return null; + } + } + + /** + * Sets the natDestinationAddress + * Network Address Translation destination IP address. + * + * @param string $val The value of the natDestinationAddress + * + * @return NetworkConnection + */ + public function setNatDestinationAddress($val) + { + $this->_propDict["natDestinationAddress"] = $val; + return $this; + } + /** + * Gets the natDestinationPort + * Network Address Translation destination port. + * + * @return string|null The natDestinationPort + */ + public function getNatDestinationPort() + { + if (array_key_exists("natDestinationPort", $this->_propDict)) { + return $this->_propDict["natDestinationPort"]; + } else { + return null; + } + } + + /** + * Sets the natDestinationPort + * Network Address Translation destination port. + * + * @param string $val The value of the natDestinationPort + * + * @return NetworkConnection + */ + public function setNatDestinationPort($val) + { + $this->_propDict["natDestinationPort"] = $val; + return $this; + } + /** + * Gets the natSourceAddress + * Network Address Translation source IP address. + * + * @return string|null The natSourceAddress + */ + public function getNatSourceAddress() + { + if (array_key_exists("natSourceAddress", $this->_propDict)) { + return $this->_propDict["natSourceAddress"]; + } else { + return null; + } + } + + /** + * Sets the natSourceAddress + * Network Address Translation source IP address. + * + * @param string $val The value of the natSourceAddress + * + * @return NetworkConnection + */ + public function setNatSourceAddress($val) + { + $this->_propDict["natSourceAddress"] = $val; + return $this; + } + /** + * Gets the natSourcePort + * Network Address Translation source port. + * + * @return string|null The natSourcePort + */ + public function getNatSourcePort() + { + if (array_key_exists("natSourcePort", $this->_propDict)) { + return $this->_propDict["natSourcePort"]; + } else { + return null; + } + } + + /** + * Sets the natSourcePort + * Network Address Translation source port. + * + * @param string $val The value of the natSourcePort + * + * @return NetworkConnection + */ + public function setNatSourcePort($val) + { + $this->_propDict["natSourcePort"] = $val; + return $this; + } + + /** + * Gets the protocol + * Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. + * + * @return SecurityNetworkProtocol|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + if (is_a($this->_propDict["protocol"], "\Beta\Microsoft\Graph\Model\SecurityNetworkProtocol") || is_null($this->_propDict["protocol"])) { + return $this->_propDict["protocol"]; + } else { + $this->_propDict["protocol"] = new SecurityNetworkProtocol($this->_propDict["protocol"]); + return $this->_propDict["protocol"]; + } + } + return null; + } + + /** + * Sets the protocol + * Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. + * + * @param SecurityNetworkProtocol $val The value to assign to the protocol + * + * @return NetworkConnection The NetworkConnection + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return NetworkConnection + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + /** + * Gets the sourceAddress + * Source (i.e. origin) IP address (of the network connection). + * + * @return string|null The sourceAddress + */ + public function getSourceAddress() + { + if (array_key_exists("sourceAddress", $this->_propDict)) { + return $this->_propDict["sourceAddress"]; + } else { + return null; + } + } + + /** + * Sets the sourceAddress + * Source (i.e. origin) IP address (of the network connection). + * + * @param string $val The value of the sourceAddress + * + * @return NetworkConnection + */ + public function setSourceAddress($val) + { + $this->_propDict["sourceAddress"] = $val; + return $this; + } + /** + * Gets the sourceLocation + * Location (by IP address mapping) associated with the source of a network connection. + * + * @return string|null The sourceLocation + */ + public function getSourceLocation() + { + if (array_key_exists("sourceLocation", $this->_propDict)) { + return $this->_propDict["sourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the sourceLocation + * Location (by IP address mapping) associated with the source of a network connection. + * + * @param string $val The value of the sourceLocation + * + * @return NetworkConnection + */ + public function setSourceLocation($val) + { + $this->_propDict["sourceLocation"] = $val; + return $this; + } + /** + * Gets the sourcePort + * Source (i.e. origin) IP port (of the network connection). + * + * @return string|null The sourcePort + */ + public function getSourcePort() + { + if (array_key_exists("sourcePort", $this->_propDict)) { + return $this->_propDict["sourcePort"]; + } else { + return null; + } + } + + /** + * Sets the sourcePort + * Source (i.e. origin) IP port (of the network connection). + * + * @param string $val The value of the sourcePort + * + * @return NetworkConnection + */ + public function setSourcePort($val) + { + $this->_propDict["sourcePort"] = $val; + return $this; + } + + /** + * Gets the status + * Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. + * + * @return ConnectionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ConnectionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ConnectionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. + * + * @param ConnectionStatus $val The value to assign to the status + * + * @return NetworkConnection The NetworkConnection + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + /** + * Gets the urlParameters + * Parameters (suffix) of the destination URL. + * + * @return string|null The urlParameters + */ + public function getUrlParameters() + { + if (array_key_exists("urlParameters", $this->_propDict)) { + return $this->_propDict["urlParameters"]; + } else { + return null; + } + } + + /** + * Sets the urlParameters + * Parameters (suffix) of the destination URL. + * + * @param string $val The value of the urlParameters + * + * @return NetworkConnection + */ + public function setUrlParameters($val) + { + $this->_propDict["urlParameters"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkInterface.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkInterface.php new file mode 100644 index 0000000..08e2080 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkInterface.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the NIC (e.g. Ethernet adapter, Wireless LAN adapter Local Area Connection &lt;#&gt;, etc.). + * + * @param string $val The value of the description + * + * @return NetworkInterface + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the ipV4Address + * Last IPv4 address associated with this NIC. + * + * @return string|null The ipV4Address + */ + public function getIpV4Address() + { + if (array_key_exists("ipV4Address", $this->_propDict)) { + return $this->_propDict["ipV4Address"]; + } else { + return null; + } + } + + /** + * Sets the ipV4Address + * Last IPv4 address associated with this NIC. + * + * @param string $val The value of the ipV4Address + * + * @return NetworkInterface + */ + public function setIpV4Address($val) + { + $this->_propDict["ipV4Address"] = $val; + return $this; + } + /** + * Gets the ipV6Address + * Last Public (aka global) IPv6 address associated with this NIC. + * + * @return string|null The ipV6Address + */ + public function getIpV6Address() + { + if (array_key_exists("ipV6Address", $this->_propDict)) { + return $this->_propDict["ipV6Address"]; + } else { + return null; + } + } + + /** + * Sets the ipV6Address + * Last Public (aka global) IPv6 address associated with this NIC. + * + * @param string $val The value of the ipV6Address + * + * @return NetworkInterface + */ + public function setIpV6Address($val) + { + $this->_propDict["ipV6Address"] = $val; + return $this; + } + /** + * Gets the localIpV6Address + * Last local (link-local or site-local) IPv6 address associated with this NIC. + * + * @return string|null The localIpV6Address + */ + public function getLocalIpV6Address() + { + if (array_key_exists("localIpV6Address", $this->_propDict)) { + return $this->_propDict["localIpV6Address"]; + } else { + return null; + } + } + + /** + * Sets the localIpV6Address + * Last local (link-local or site-local) IPv6 address associated with this NIC. + * + * @param string $val The value of the localIpV6Address + * + * @return NetworkInterface + */ + public function setLocalIpV6Address($val) + { + $this->_propDict["localIpV6Address"] = $val; + return $this; + } + /** + * Gets the macAddress + * MAC address of the NIC on this host. + * + * @return string|null The macAddress + */ + public function getMacAddress() + { + if (array_key_exists("macAddress", $this->_propDict)) { + return $this->_propDict["macAddress"]; + } else { + return null; + } + } + + /** + * Sets the macAddress + * MAC address of the NIC on this host. + * + * @param string $val The value of the macAddress + * + * @return NetworkInterface + */ + public function setMacAddress($val) + { + $this->_propDict["macAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkLocationDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkLocationDetail.php new file mode 100644 index 0000000..1efcd8c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkLocationDetail.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["networkNames"]; + } else { + return null; + } + } + + /** + * Sets the networkNames + * Provides the name of the network used when signing in. + * + * @param string $val The value of the networkNames + * + * @return NetworkLocationDetail + */ + public function setNetworkNames($val) + { + $this->_propDict["networkNames"] = $val; + return $this; + } + + /** + * Gets the networkType + * Provides the type of network used when signing in. Possible values are: intranet, extranet, namedNetwork, trusted, unknownFutureValue. + * + * @return NetworkType|null The networkType + */ + public function getNetworkType() + { + if (array_key_exists("networkType", $this->_propDict)) { + if (is_a($this->_propDict["networkType"], "\Beta\Microsoft\Graph\Model\NetworkType") || is_null($this->_propDict["networkType"])) { + return $this->_propDict["networkType"]; + } else { + $this->_propDict["networkType"] = new NetworkType($this->_propDict["networkType"]); + return $this->_propDict["networkType"]; + } + } + return null; + } + + /** + * Sets the networkType + * Provides the type of network used when signing in. Possible values are: intranet, extranet, namedNetwork, trusted, unknownFutureValue. + * + * @param NetworkType $val The value to assign to the networkType + * + * @return NetworkLocationDetail The NetworkLocationDetail + */ + public function setNetworkType($val) + { + $this->_propDict["networkType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkSingleSignOnType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkSingleSignOnType.php new file mode 100644 index 0000000..37580ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkSingleSignOnType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * + * @param ItemBody $val The body + * + * @return Note + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * + * @param bool $val The hasAttachments + * + * @return Note + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the isDeleted + * + * @return bool|null The isDeleted + */ + public function getIsDeleted() + { + if (array_key_exists("isDeleted", $this->_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * + * @param bool $val The isDeleted + * + * @return Note + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Note + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the attachments + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * + * @param Attachment[] $val The attachments + * + * @return Note + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + + /** + * Gets the extensions + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * + * @param Extension[] $val The extensions + * + * @return Note + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Note + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Note + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notebook.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notebook.php new file mode 100644 index 0000000..7c840a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notebook.php @@ -0,0 +1,269 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates whether this is the user's default notebook. Read-only. + * + * @param bool $val The isDefault + * + * @return Notebook + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. + * + * @param bool $val The isShared + * + * @return Notebook + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @return NotebookLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\NotebookLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new NotebookLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @param NotebookLinks $val The links + * + * @return Notebook + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the sectionGroupsUrl + * The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. + * + * @return string|null The sectionGroupsUrl + */ + public function getSectionGroupsUrl() + { + if (array_key_exists("sectionGroupsUrl", $this->_propDict)) { + return $this->_propDict["sectionGroupsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroupsUrl + * The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. + * + * @param string $val The sectionGroupsUrl + * + * @return Notebook + */ + public function setSectionGroupsUrl($val) + { + $this->_propDict["sectionGroupsUrl"] = $val; + return $this; + } + + /** + * Gets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. + * + * @return string|null The sectionsUrl + */ + public function getSectionsUrl() + { + if (array_key_exists("sectionsUrl", $this->_propDict)) { + return $this->_propDict["sectionsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. + * + * @param string $val The sectionsUrl + * + * @return Notebook + */ + public function setSectionsUrl($val) + { + $this->_propDict["sectionsUrl"] = $val; + return $this; + } + + /** + * Gets the userRole + * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. + * + * @return OnenoteUserRole|null The userRole + */ + public function getUserRole() + { + if (array_key_exists("userRole", $this->_propDict)) { + if (is_a($this->_propDict["userRole"], "\Beta\Microsoft\Graph\Model\OnenoteUserRole") || is_null($this->_propDict["userRole"])) { + return $this->_propDict["userRole"]; + } else { + $this->_propDict["userRole"] = new OnenoteUserRole($this->_propDict["userRole"]); + return $this->_propDict["userRole"]; + } + } + return null; + } + + /** + * Sets the userRole + * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. + * + * @param OnenoteUserRole $val The userRole + * + * @return Notebook + */ + public function setUserRole($val) + { + $this->_propDict["userRole"] = $val; + return $this; + } + + + /** + * Gets the sectionGroups + * The section groups in the notebook. Read-only. Nullable. + * + * @return array|null The sectionGroups + */ + public function getSectionGroups() + { + if (array_key_exists("sectionGroups", $this->_propDict)) { + return $this->_propDict["sectionGroups"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroups + * The section groups in the notebook. Read-only. Nullable. + * + * @param SectionGroup[] $val The sectionGroups + * + * @return Notebook + */ + public function setSectionGroups($val) + { + $this->_propDict["sectionGroups"] = $val; + return $this; + } + + + /** + * Gets the sections + * The sections in the notebook. Read-only. Nullable. + * + * @return array|null The sections + */ + public function getSections() + { + if (array_key_exists("sections", $this->_propDict)) { + return $this->_propDict["sections"]; + } else { + return null; + } + } + + /** + * Sets the sections + * The sections in the notebook. Read-only. Nullable. + * + * @param OnenoteSection[] $val The sections + * + * @return Notebook + */ + public function setSections($val) + { + $this->_propDict["sections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotebookLinks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotebookLinks.php new file mode 100644 index 0000000..a401fea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotebookLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the notebook in the OneNote native client if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return NotebookLinks The NotebookLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return NotebookLinks The NotebookLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notification.php new file mode 100644 index 0000000..0360554 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notification.php @@ -0,0 +1,246 @@ +_propDict)) { + return $this->_propDict["displayTimeToLive"]; + } else { + return null; + } + } + + /** + * Sets the displayTimeToLive + * Sets how long (in seconds) this notification content will stay in each platform's notification viewer. For example, when the notification is delivered to a Windows device, the value of this property is passed on to ToastNotification.ExpirationTime, which determines how long the toast notification will stay in the user's Windows Action Center. + * + * @param int $val The displayTimeToLive + * + * @return Notification + */ + public function setDisplayTimeToLive($val) + { + $this->_propDict["displayTimeToLive"] = intval($val); + return $this; + } + + /** + * Gets the expirationDateTime + * Sets a UTC expiration date and time on a user notification using ISO 8601 format (for example, midnight UTC on Jan 1, 2019 would look like this: '2019-01-01T00:00:00Z'). When time is up, the notification is removed from the Microsoft Graph notification feed store completely and is no longer part of notification history. Max value is 30 days. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Sets a UTC expiration date and time on a user notification using ISO 8601 format (for example, midnight UTC on Jan 1, 2019 would look like this: '2019-01-01T00:00:00Z'). When time is up, the notification is removed from the Microsoft Graph notification feed store completely and is no longer part of notification history. Max value is 30 days. + * + * @param \DateTime $val The expirationDateTime + * + * @return Notification + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the groupName + * The name of the group that this notification belongs to. It is set by the developer for the purpose of grouping notifications together. + * + * @return string|null The groupName + */ + public function getGroupName() + { + if (array_key_exists("groupName", $this->_propDict)) { + return $this->_propDict["groupName"]; + } else { + return null; + } + } + + /** + * Sets the groupName + * The name of the group that this notification belongs to. It is set by the developer for the purpose of grouping notifications together. + * + * @param string $val The groupName + * + * @return Notification + */ + public function setGroupName($val) + { + $this->_propDict["groupName"] = $val; + return $this; + } + + /** + * Gets the payload + * This is the data content of a raw or visual user notification that will be delivered to and consumed by the app client receiving this notification. + * + * @return PayloadTypes|null The payload + */ + public function getPayload() + { + if (array_key_exists("payload", $this->_propDict)) { + if (is_a($this->_propDict["payload"], "\Beta\Microsoft\Graph\Model\PayloadTypes") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = new PayloadTypes($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * This is the data content of a raw or visual user notification that will be delivered to and consumed by the app client receiving this notification. + * + * @param PayloadTypes $val The payload + * + * @return Notification + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the priority + * Indicates the priority of a raw user notification. Visual notifications are sent with high priority by default. Valid values are None, High and Low. + * + * @return Priority|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + if (is_a($this->_propDict["priority"], "\Beta\Microsoft\Graph\Model\Priority") || is_null($this->_propDict["priority"])) { + return $this->_propDict["priority"]; + } else { + $this->_propDict["priority"] = new Priority($this->_propDict["priority"]); + return $this->_propDict["priority"]; + } + } + return null; + } + + /** + * Sets the priority + * Indicates the priority of a raw user notification. Visual notifications are sent with high priority by default. Valid values are None, High and Low. + * + * @param Priority $val The priority + * + * @return Notification + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + + /** + * Gets the targetHostName + * Represents the host name of the app to which the calling service wants to post the notification, for the given user. If targeting web endpoints (see targetPolicy.platformTypes), ensure that targetHostName is the same as the name used when creating a subscription on the client side within the application JSON property. + * + * @return string|null The targetHostName + */ + public function getTargetHostName() + { + if (array_key_exists("targetHostName", $this->_propDict)) { + return $this->_propDict["targetHostName"]; + } else { + return null; + } + } + + /** + * Sets the targetHostName + * Represents the host name of the app to which the calling service wants to post the notification, for the given user. If targeting web endpoints (see targetPolicy.platformTypes), ensure that targetHostName is the same as the name used when creating a subscription on the client side within the application JSON property. + * + * @param string $val The targetHostName + * + * @return Notification + */ + public function setTargetHostName($val) + { + $this->_propDict["targetHostName"] = $val; + return $this; + } + + /** + * Gets the targetPolicy + * Target policy object handles notification delivery policy for endpoint types that should be targeted (Windows, iOS, Android and WebPush) for the given user. + * + * @return TargetPolicyEndpoints|null The targetPolicy + */ + public function getTargetPolicy() + { + if (array_key_exists("targetPolicy", $this->_propDict)) { + if (is_a($this->_propDict["targetPolicy"], "\Beta\Microsoft\Graph\Model\TargetPolicyEndpoints") || is_null($this->_propDict["targetPolicy"])) { + return $this->_propDict["targetPolicy"]; + } else { + $this->_propDict["targetPolicy"] = new TargetPolicyEndpoints($this->_propDict["targetPolicy"]); + return $this->_propDict["targetPolicy"]; + } + } + return null; + } + + /** + * Sets the targetPolicy + * Target policy object handles notification delivery policy for endpoint types that should be targeted (Windows, iOS, Android and WebPush) for the given user. + * + * @param TargetPolicyEndpoints $val The targetPolicy + * + * @return Notification + */ + public function setTargetPolicy($val) + { + $this->_propDict["targetPolicy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationMessageTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationMessageTemplate.php new file mode 100644 index 0000000..5ae5dfb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationMessageTemplate.php @@ -0,0 +1,210 @@ +_propDict)) { + if (is_a($this->_propDict["brandingOptions"], "\Beta\Microsoft\Graph\Model\NotificationTemplateBrandingOptions") || is_null($this->_propDict["brandingOptions"])) { + return $this->_propDict["brandingOptions"]; + } else { + $this->_propDict["brandingOptions"] = new NotificationTemplateBrandingOptions($this->_propDict["brandingOptions"]); + return $this->_propDict["brandingOptions"]; + } + } + return null; + } + + /** + * Sets the brandingOptions + * The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation, includeCompanyPortalLink. + * + * @param NotificationTemplateBrandingOptions $val The brandingOptions + * + * @return NotificationMessageTemplate + */ + public function setBrandingOptions($val) + { + $this->_propDict["brandingOptions"] = $val; + return $this; + } + + /** + * Gets the defaultLocale + * The default locale to fallback onto when the requested locale is not available. + * + * @return string|null The defaultLocale + */ + public function getDefaultLocale() + { + if (array_key_exists("defaultLocale", $this->_propDict)) { + return $this->_propDict["defaultLocale"]; + } else { + return null; + } + } + + /** + * Sets the defaultLocale + * The default locale to fallback onto when the requested locale is not available. + * + * @param string $val The defaultLocale + * + * @return NotificationMessageTemplate + */ + public function setDefaultLocale($val) + { + $this->_propDict["defaultLocale"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the Notification Message Template. + * + * @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 + * Display name for the Notification Message Template. + * + * @param string $val The displayName + * + * @return NotificationMessageTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return NotificationMessageTemplate + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return NotificationMessageTemplate + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + + /** + * Gets the localizedNotificationMessages + * The list of localized messages for this Notification Message Template. + * + * @return array|null The localizedNotificationMessages + */ + public function getLocalizedNotificationMessages() + { + if (array_key_exists("localizedNotificationMessages", $this->_propDict)) { + return $this->_propDict["localizedNotificationMessages"]; + } else { + return null; + } + } + + /** + * Sets the localizedNotificationMessages + * The list of localized messages for this Notification Message Template. + * + * @param LocalizedNotificationMessage[] $val The localizedNotificationMessages + * + * @return NotificationMessageTemplate + */ + public function setLocalizedNotificationMessages($val) + { + $this->_propDict["localizedNotificationMessages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationTemplateBrandingOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationTemplateBrandingOptions.php new file mode 100644 index 0000000..98d0478 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationTemplateBrandingOptions.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["actionLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["actionLastModifiedDateTime"])) { + return $this->_propDict["actionLastModifiedDateTime"]; + } else { + $this->_propDict["actionLastModifiedDateTime"] = new \DateTime($this->_propDict["actionLastModifiedDateTime"]); + return $this->_propDict["actionLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the actionLastModifiedDateTime + * + * @param \DateTime $val The value to assign to the actionLastModifiedDateTime + * + * @return NotifyUserAction The NotifyUserAction + */ + public function setActionLastModifiedDateTime($val) + { + $this->_propDict["actionLastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the emailText + * + * @return string|null The emailText + */ + public function getEmailText() + { + if (array_key_exists("emailText", $this->_propDict)) { + return $this->_propDict["emailText"]; + } else { + return null; + } + } + + /** + * Sets the emailText + * + * @param string $val The value of the emailText + * + * @return NotifyUserAction + */ + public function setEmailText($val) + { + $this->_propDict["emailText"] = $val; + return $this; + } + + /** + * Gets the overrideOption + * + * @return OverrideOption|null The overrideOption + */ + public function getOverrideOption() + { + if (array_key_exists("overrideOption", $this->_propDict)) { + if (is_a($this->_propDict["overrideOption"], "\Beta\Microsoft\Graph\Model\OverrideOption") || is_null($this->_propDict["overrideOption"])) { + return $this->_propDict["overrideOption"]; + } else { + $this->_propDict["overrideOption"] = new OverrideOption($this->_propDict["overrideOption"]); + return $this->_propDict["overrideOption"]; + } + } + return null; + } + + /** + * Sets the overrideOption + * + * @param OverrideOption $val The value to assign to the overrideOption + * + * @return NotifyUserAction The NotifyUserAction + */ + public function setOverrideOption($val) + { + $this->_propDict["overrideOption"] = $val; + return $this; + } + /** + * Gets the policyTip + * + * @return string|null The policyTip + */ + public function getPolicyTip() + { + if (array_key_exists("policyTip", $this->_propDict)) { + return $this->_propDict["policyTip"]; + } else { + return null; + } + } + + /** + * Sets the policyTip + * + * @param string $val The value of the policyTip + * + * @return NotifyUserAction + */ + public function setPolicyTip($val) + { + $this->_propDict["policyTip"] = $val; + return $this; + } + /** + * Gets the recipients + * + * @return string|null The recipients + */ + public function getRecipients() + { + if (array_key_exists("recipients", $this->_propDict)) { + return $this->_propDict["recipients"]; + } else { + return null; + } + } + + /** + * Sets the recipients + * + * @param string $val The value of the recipients + * + * @return NotifyUserAction + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberColumn.php new file mode 100644 index 0000000..edb3a68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberColumn.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["decimalPlaces"]; + } else { + return null; + } + } + + /** + * Sets the decimalPlaces + * How many decimal places to display. See below for information about the possible values. + * + * @param string $val The value of the decimalPlaces + * + * @return NumberColumn + */ + public function setDecimalPlaces($val) + { + $this->_propDict["decimalPlaces"] = $val; + return $this; + } + /** + * Gets the displayAs + * How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. + * + * @return string|null The displayAs + */ + public function getDisplayAs() + { + if (array_key_exists("displayAs", $this->_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. + * + * @param string $val The value of the displayAs + * + * @return NumberColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } + /** + * Gets the maximum + * The maximum permitted value. + * + * @return float|null The maximum + */ + public function getMaximum() + { + if (array_key_exists("maximum", $this->_propDict)) { + return $this->_propDict["maximum"]; + } else { + return null; + } + } + + /** + * Sets the maximum + * The maximum permitted value. + * + * @param float $val The value of the maximum + * + * @return NumberColumn + */ + public function setMaximum($val) + { + $this->_propDict["maximum"] = $val; + return $this; + } + /** + * Gets the minimum + * The minimum permitted value. + * + * @return float|null The minimum + */ + public function getMinimum() + { + if (array_key_exists("minimum", $this->_propDict)) { + return $this->_propDict["minimum"]; + } else { + return null; + } + } + + /** + * Sets the minimum + * The minimum permitted value. + * + * @param float $val The value of the minimum + * + * @return NumberColumn + */ + public function setMinimum($val) + { + $this->_propDict["minimum"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberRange.php new file mode 100644 index 0000000..79a008d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberRange.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["lowerNumber"]; + } else { + return null; + } + } + + /** + * Sets the lowerNumber + * Lower number. + * + * @param int $val The value of the lowerNumber + * + * @return NumberRange + */ + public function setLowerNumber($val) + { + $this->_propDict["lowerNumber"] = $val; + return $this; + } + /** + * Gets the upperNumber + * Upper number. + * + * @return int|null The upperNumber + */ + public function getUpperNumber() + { + if (array_key_exists("upperNumber", $this->_propDict)) { + return $this->_propDict["upperNumber"]; + } else { + return null; + } + } + + /** + * Sets the upperNumber + * Upper number. + * + * @param int $val The value of the upperNumber + * + * @return NumberRange + */ + public function setUpperNumber($val) + { + $this->_propDict["upperNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php new file mode 100644 index 0000000..497dcac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php @@ -0,0 +1,238 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only). + * + * @param string $val The clientId + * + * @return OAuth2PermissionGrant + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the consentType + * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). + * + * @return string|null The consentType + */ + public function getConsentType() + { + if (array_key_exists("consentType", $this->_propDict)) { + return $this->_propDict["consentType"]; + } else { + return null; + } + } + + /** + * Sets the consentType + * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). + * + * @param string $val The consentType + * + * @return OAuth2PermissionGrant + */ + public function setConsentType($val) + { + $this->_propDict["consentType"] = $val; + return $this; + } + + /** + * Gets the expiryTime + * Currently, the end time value is ignored, but a value is required when creating an oAuth2PermissionGrant. Required. + * + * @return \DateTime|null The expiryTime + */ + public function getExpiryTime() + { + if (array_key_exists("expiryTime", $this->_propDict)) { + if (is_a($this->_propDict["expiryTime"], "\DateTime") || is_null($this->_propDict["expiryTime"])) { + return $this->_propDict["expiryTime"]; + } else { + $this->_propDict["expiryTime"] = new \DateTime($this->_propDict["expiryTime"]); + return $this->_propDict["expiryTime"]; + } + } + return null; + } + + /** + * Sets the expiryTime + * Currently, the end time value is ignored, but a value is required when creating an oAuth2PermissionGrant. Required. + * + * @param \DateTime $val The expiryTime + * + * @return OAuth2PermissionGrant + */ + public function setExpiryTime($val) + { + $this->_propDict["expiryTime"] = $val; + return $this; + } + + /** + * Gets the principalId + * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. + * + * @param string $val The principalId + * + * @return OAuth2PermissionGrant + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. + * + * @param string $val The resourceId + * + * @return OAuth2PermissionGrant + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the scope + * A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. + * + * @param string $val The scope + * + * @return OAuth2PermissionGrant + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the startTime + * Currently, the start time value is ignored, but a value is required when creating an oAuth2PermissionGrant. Required. + * + * @return \DateTime|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\DateTime") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new \DateTime($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * Currently, the start time value is ignored, but a value is required when creating an oAuth2PermissionGrant. Required. + * + * @param \DateTime $val The startTime + * + * @return OAuth2PermissionGrant + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OathTokenMetadata.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OathTokenMetadata.php new file mode 100644 index 0000000..7ee4f34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OathTokenMetadata.php @@ -0,0 +1,161 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * + * @param bool $val The value of the enabled + * + * @return OathTokenMetadata + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + /** + * Gets the manufacturer + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * + * @param string $val The value of the manufacturer + * + * @return OathTokenMetadata + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the manufacturerProperties + * + * @return KeyValue|null The manufacturerProperties + */ + public function getManufacturerProperties() + { + if (array_key_exists("manufacturerProperties", $this->_propDict)) { + if (is_a($this->_propDict["manufacturerProperties"], "\Beta\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["manufacturerProperties"])) { + return $this->_propDict["manufacturerProperties"]; + } else { + $this->_propDict["manufacturerProperties"] = new KeyValue($this->_propDict["manufacturerProperties"]); + return $this->_propDict["manufacturerProperties"]; + } + } + return null; + } + + /** + * Sets the manufacturerProperties + * + * @param KeyValue $val The value to assign to the manufacturerProperties + * + * @return OathTokenMetadata The OathTokenMetadata + */ + public function setManufacturerProperties($val) + { + $this->_propDict["manufacturerProperties"] = $val; + return $this; + } + /** + * Gets the serialNumber + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * + * @param string $val The value of the serialNumber + * + * @return OathTokenMetadata + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + /** + * Gets the tokenType + * + * @return string|null The tokenType + */ + public function getTokenType() + { + if (array_key_exists("tokenType", $this->_propDict)) { + return $this->_propDict["tokenType"]; + } else { + return null; + } + } + + /** + * Sets the tokenType + * + * @param string $val The value of the tokenType + * + * @return OathTokenMetadata + */ + public function setTokenType($val) + { + $this->_propDict["tokenType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php new file mode 100644 index 0000000..7365e0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php @@ -0,0 +1,140 @@ +_propDict)) { + if (is_a($this->_propDict["attributes"], "\Beta\Microsoft\Graph\Model\AttributeDefinition") || is_null($this->_propDict["attributes"])) { + return $this->_propDict["attributes"]; + } else { + $this->_propDict["attributes"] = new AttributeDefinition($this->_propDict["attributes"]); + return $this->_propDict["attributes"]; + } + } + return null; + } + + /** + * Sets the attributes + * + * @param AttributeDefinition $val The value to assign to the attributes + * + * @return ObjectDefinition The ObjectDefinition + */ + public function setAttributes($val) + { + $this->_propDict["attributes"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return MetadataEntry|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new MetadataEntry($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param MetadataEntry $val The value to assign to the metadata + * + * @return ObjectDefinition The ObjectDefinition + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ObjectDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the supportedApis + * + * @return string|null The supportedApis + */ + public function getSupportedApis() + { + if (array_key_exists("supportedApis", $this->_propDict)) { + return $this->_propDict["supportedApis"]; + } else { + return null; + } + } + + /** + * Sets the supportedApis + * + * @param string $val The value of the supportedApis + * + * @return ObjectDefinition + */ + public function setSupportedApis($val) + { + $this->_propDict["supportedApis"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectFlowTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectFlowTypes.php new file mode 100644 index 0000000..e3c106c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectFlowTypes.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * + * @param string $val The value of the issuer + * + * @return ObjectIdentity + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + /** + * Gets the issuerAssignedId + * Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit. + * + * @return string|null The issuerAssignedId + */ + public function getIssuerAssignedId() + { + if (array_key_exists("issuerAssignedId", $this->_propDict)) { + return $this->_propDict["issuerAssignedId"]; + } else { + return null; + } + } + + /** + * Sets the issuerAssignedId + * Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit. + * + * @param string $val The value of the issuerAssignedId + * + * @return ObjectIdentity + */ + public function setIssuerAssignedId($val) + { + $this->_propDict["issuerAssignedId"] = $val; + return $this; + } + /** + * Gets the signInType + * Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + * + * @return string|null The signInType + */ + public function getSignInType() + { + if (array_key_exists("signInType", $this->_propDict)) { + return $this->_propDict["signInType"]; + } else { + return null; + } + } + + /** + * Sets the signInType + * Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + * + * @param string $val The value of the signInType + * + * @return ObjectIdentity + */ + public function setSignInType($val) + { + $this->_propDict["signInType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectMapping.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectMapping.php new file mode 100644 index 0000000..1a56649 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectMapping.php @@ -0,0 +1,270 @@ +_propDict)) { + if (is_a($this->_propDict["attributeMappings"], "\Beta\Microsoft\Graph\Model\AttributeMapping") || is_null($this->_propDict["attributeMappings"])) { + return $this->_propDict["attributeMappings"]; + } else { + $this->_propDict["attributeMappings"] = new AttributeMapping($this->_propDict["attributeMappings"]); + return $this->_propDict["attributeMappings"]; + } + } + return null; + } + + /** + * Sets the attributeMappings + * Attribute mappings define which attributes to map from the source object into the target object and how they should flow. A number of functions are available to support the transformation of the original source values. + * + * @param AttributeMapping $val The value to assign to the attributeMappings + * + * @return ObjectMapping The ObjectMapping + */ + public function setAttributeMappings($val) + { + $this->_propDict["attributeMappings"] = $val; + return $this; + } + /** + * Gets the enabled + * When true, this object mapping will be processed during synchronization. When false, this object mapping will be skipped. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * When true, this object mapping will be processed during synchronization. When false, this object mapping will be skipped. + * + * @param bool $val The value of the enabled + * + * @return ObjectMapping + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + + /** + * Gets the flowTypes + * Which flow types are enabled for this object mapping. Add creates new objects in the target directory, Update modifies existing objects, and Delete deprovisions existing users. The default is Add, Update, Delete. + * + * @return ObjectFlowTypes|null The flowTypes + */ + public function getFlowTypes() + { + if (array_key_exists("flowTypes", $this->_propDict)) { + if (is_a($this->_propDict["flowTypes"], "\Beta\Microsoft\Graph\Model\ObjectFlowTypes") || is_null($this->_propDict["flowTypes"])) { + return $this->_propDict["flowTypes"]; + } else { + $this->_propDict["flowTypes"] = new ObjectFlowTypes($this->_propDict["flowTypes"]); + return $this->_propDict["flowTypes"]; + } + } + return null; + } + + /** + * Sets the flowTypes + * Which flow types are enabled for this object mapping. Add creates new objects in the target directory, Update modifies existing objects, and Delete deprovisions existing users. The default is Add, Update, Delete. + * + * @param ObjectFlowTypes $val The value to assign to the flowTypes + * + * @return ObjectMapping The ObjectMapping + */ + public function setFlowTypes($val) + { + $this->_propDict["flowTypes"] = $val; + return $this; + } + + /** + * Gets the metadata + * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * + * @return MetadataEntry|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new MetadataEntry($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * + * @param MetadataEntry $val The value to assign to the metadata + * + * @return ObjectMapping The ObjectMapping + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + /** + * Gets the name + * Human-friendly name of the object mapping. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Human-friendly name of the object mapping. + * + * @param string $val The value of the name + * + * @return ObjectMapping + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the scope + * Defines a filter to be used when deciding whether a given object should be provisioned. For example, you might want to only provision users that are located in the US. + * + * @return Filter|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\Filter") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new Filter($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Defines a filter to be used when deciding whether a given object should be provisioned. For example, you might want to only provision users that are located in the US. + * + * @param Filter $val The value to assign to the scope + * + * @return ObjectMapping The ObjectMapping + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + /** + * Gets the sourceObjectName + * Name of the object in the source directory. Must match the object name from the source directory definition. + * + * @return string|null The sourceObjectName + */ + public function getSourceObjectName() + { + if (array_key_exists("sourceObjectName", $this->_propDict)) { + return $this->_propDict["sourceObjectName"]; + } else { + return null; + } + } + + /** + * Sets the sourceObjectName + * Name of the object in the source directory. Must match the object name from the source directory definition. + * + * @param string $val The value of the sourceObjectName + * + * @return ObjectMapping + */ + public function setSourceObjectName($val) + { + $this->_propDict["sourceObjectName"] = $val; + return $this; + } + /** + * Gets the targetObjectName + * Name of the object in target directory. Must match the object name from the target directory definition. + * + * @return string|null The targetObjectName + */ + public function getTargetObjectName() + { + if (array_key_exists("targetObjectName", $this->_propDict)) { + return $this->_propDict["targetObjectName"]; + } else { + return null; + } + } + + /** + * Sets the targetObjectName + * Name of the object in target directory. Must match the object name from the target directory definition. + * + * @param string $val The value of the targetObjectName + * + * @return ObjectMapping + */ + public function setTargetObjectName($val) + { + $this->_propDict["targetObjectName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OemWarranty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OemWarranty.php new file mode 100644 index 0000000..d0e94c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OemWarranty.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["additionalWarranties"], "\Beta\Microsoft\Graph\Model\WarrantyOffer") || is_null($this->_propDict["additionalWarranties"])) { + return $this->_propDict["additionalWarranties"]; + } else { + $this->_propDict["additionalWarranties"] = new WarrantyOffer($this->_propDict["additionalWarranties"]); + return $this->_propDict["additionalWarranties"]; + } + } + return null; + } + + /** + * Sets the additionalWarranties + * List of additional warranty offers. This collection can contain a maximum of 100 elements. + * + * @param WarrantyOffer $val The value to assign to the additionalWarranties + * + * @return OemWarranty The OemWarranty + */ + public function setAdditionalWarranties($val) + { + $this->_propDict["additionalWarranties"] = $val; + return $this; + } + + /** + * Gets the baseWarranties + * List of base warranty offers. This collection can contain a maximum of 100 elements. + * + * @return WarrantyOffer|null The baseWarranties + */ + public function getBaseWarranties() + { + if (array_key_exists("baseWarranties", $this->_propDict)) { + if (is_a($this->_propDict["baseWarranties"], "\Beta\Microsoft\Graph\Model\WarrantyOffer") || is_null($this->_propDict["baseWarranties"])) { + return $this->_propDict["baseWarranties"]; + } else { + $this->_propDict["baseWarranties"] = new WarrantyOffer($this->_propDict["baseWarranties"]); + return $this->_propDict["baseWarranties"]; + } + } + return null; + } + + /** + * Sets the baseWarranties + * List of base warranty offers. This collection can contain a maximum of 100 elements. + * + * @param WarrantyOffer $val The value to assign to the baseWarranties + * + * @return OemWarranty The OemWarranty + */ + public function setBaseWarranties($val) + { + $this->_propDict["baseWarranties"] = $val; + return $this; + } + /** + * Gets the deviceConfigurationUrl + * Device configuration page URL + * + * @return string|null The deviceConfigurationUrl + */ + public function getDeviceConfigurationUrl() + { + if (array_key_exists("deviceConfigurationUrl", $this->_propDict)) { + return $this->_propDict["deviceConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationUrl + * Device configuration page URL + * + * @param string $val The value of the deviceConfigurationUrl + * + * @return OemWarranty + */ + public function setDeviceConfigurationUrl($val) + { + $this->_propDict["deviceConfigurationUrl"] = $val; + return $this; + } + /** + * Gets the deviceWarrantyUrl + * Device warranty page URL + * + * @return string|null The deviceWarrantyUrl + */ + public function getDeviceWarrantyUrl() + { + if (array_key_exists("deviceWarrantyUrl", $this->_propDict)) { + return $this->_propDict["deviceWarrantyUrl"]; + } else { + return null; + } + } + + /** + * Sets the deviceWarrantyUrl + * Device warranty page URL + * + * @param string $val The value of the deviceWarrantyUrl + * + * @return OemWarranty + */ + public function setDeviceWarrantyUrl($val) + { + $this->_propDict["deviceWarrantyUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OemWarrantyInformationOnboarding.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OemWarrantyInformationOnboarding.php new file mode 100644 index 0000000..7cd5861 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OemWarrantyInformationOnboarding.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["available"]; + } else { + return null; + } + } + + /** + * Sets the available + * Specifies whether warranty API is available. This property is read-only. + * + * @param bool $val The available + * + * @return OemWarrantyInformationOnboarding + */ + public function setAvailable($val) + { + $this->_propDict["available"] = boolval($val); + return $this; + } + + /** + * Gets the enabled + * Specifies whether warranty query is enabled for given OEM. This property is read-only. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Specifies whether warranty query is enabled for given OEM. This property is read-only. + * + * @param bool $val The enabled + * + * @return OemWarrantyInformationOnboarding + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the oemName + * OEM name. This property is read-only. + * + * @return string|null The oemName + */ + public function getOemName() + { + if (array_key_exists("oemName", $this->_propDict)) { + return $this->_propDict["oemName"]; + } else { + return null; + } + } + + /** + * Sets the oemName + * OEM name. This property is read-only. + * + * @param string $val The oemName + * + * @return OemWarrantyInformationOnboarding + */ + public function setOemName($val) + { + $this->_propDict["oemName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfferShiftRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfferShiftRequest.php new file mode 100644 index 0000000..83e5d15 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfferShiftRequest.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["recipientActionDateTime"], "\DateTime") || is_null($this->_propDict["recipientActionDateTime"])) { + return $this->_propDict["recipientActionDateTime"]; + } else { + $this->_propDict["recipientActionDateTime"] = new \DateTime($this->_propDict["recipientActionDateTime"]); + return $this->_propDict["recipientActionDateTime"]; + } + } + return null; + } + + /** + * Sets the recipientActionDateTime + * 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 recipientActionDateTime + * + * @return OfferShiftRequest + */ + public function setRecipientActionDateTime($val) + { + $this->_propDict["recipientActionDateTime"] = $val; + return $this; + } + + /** + * Gets the recipientActionMessage + * Custom message sent by recipient of the offer shift request. + * + * @return string|null The recipientActionMessage + */ + public function getRecipientActionMessage() + { + if (array_key_exists("recipientActionMessage", $this->_propDict)) { + return $this->_propDict["recipientActionMessage"]; + } else { + return null; + } + } + + /** + * Sets the recipientActionMessage + * Custom message sent by recipient of the offer shift request. + * + * @param string $val The recipientActionMessage + * + * @return OfferShiftRequest + */ + public function setRecipientActionMessage($val) + { + $this->_propDict["recipientActionMessage"] = $val; + return $this; + } + + /** + * Gets the recipientUserId + * User id of the recipient of the offer shift request. + * + * @return string|null The recipientUserId + */ + public function getRecipientUserId() + { + if (array_key_exists("recipientUserId", $this->_propDict)) { + return $this->_propDict["recipientUserId"]; + } else { + return null; + } + } + + /** + * Sets the recipientUserId + * User id of the recipient of the offer shift request. + * + * @param string $val The recipientUserId + * + * @return OfferShiftRequest + */ + public function setRecipientUserId($val) + { + $this->_propDict["recipientUserId"] = $val; + return $this; + } + + /** + * Gets the senderShiftId + * User id of the sender of the offer shift request. + * + * @return string|null The senderShiftId + */ + public function getSenderShiftId() + { + if (array_key_exists("senderShiftId", $this->_propDict)) { + return $this->_propDict["senderShiftId"]; + } else { + return null; + } + } + + /** + * Sets the senderShiftId + * User id of the sender of the offer shift request. + * + * @param string $val The senderShiftId + * + * @return OfferShiftRequest + */ + public function setSenderShiftId($val) + { + $this->_propDict["senderShiftId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserCounts.php new file mode 100644 index 0000000..2f0a518 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserCounts.php @@ -0,0 +1,325 @@ +_propDict)) { + return $this->_propDict["exchange"]; + } else { + return null; + } + } + + /** + * Sets the exchange + * The number of active users in Exchange. Any user who can read and send email is considered an active user. + * + * @param int $val The exchange + * + * @return Office365ActiveUserCounts + */ + public function setExchange($val) + { + $this->_propDict["exchange"] = intval($val); + return $this; + } + + /** + * Gets the office365 + * The number of active users in Microsoft 365. This number includes all the active users in Exchange, OneDrive, SharePoint, Skype For Business, Yammer, and Microsoft Teams. You can find the definition of active user for each product in the respective property description. + * + * @return int|null The office365 + */ + public function getOffice365() + { + if (array_key_exists("office365", $this->_propDict)) { + return $this->_propDict["office365"]; + } else { + return null; + } + } + + /** + * Sets the office365 + * The number of active users in Microsoft 365. This number includes all the active users in Exchange, OneDrive, SharePoint, Skype For Business, Yammer, and Microsoft Teams. You can find the definition of active user for each product in the respective property description. + * + * @param int $val The office365 + * + * @return Office365ActiveUserCounts + */ + public function setOffice365($val) + { + $this->_propDict["office365"] = intval($val); + return $this; + } + + /** + * Gets the oneDrive + * The number of active users in OneDrive. Any user who viewed or edited files, shared files internally or externally, or synced files is considered an active user. + * + * @return int|null The oneDrive + */ + public function getOneDrive() + { + if (array_key_exists("oneDrive", $this->_propDict)) { + return $this->_propDict["oneDrive"]; + } else { + return null; + } + } + + /** + * Sets the oneDrive + * The number of active users in OneDrive. Any user who viewed or edited files, shared files internally or externally, or synced files is considered an active user. + * + * @param int $val The oneDrive + * + * @return Office365ActiveUserCounts + */ + public function setOneDrive($val) + { + $this->_propDict["oneDrive"] = intval($val); + return $this; + } + + /** + * Gets the reportDate + * The date on which a number of users were active. + * + * @return \DateTime|null The reportDate + */ + public function getReportDate() + { + if (array_key_exists("reportDate", $this->_propDict)) { + if (is_a($this->_propDict["reportDate"], "\DateTime") || is_null($this->_propDict["reportDate"])) { + return $this->_propDict["reportDate"]; + } else { + $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); + return $this->_propDict["reportDate"]; + } + } + return null; + } + + /** + * Sets the reportDate + * The date on which a number of users were active. + * + * @param \DateTime $val The reportDate + * + * @return Office365ActiveUserCounts + */ + public function setReportDate($val) + { + $this->_propDict["reportDate"] = $val; + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365ActiveUserCounts + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365ActiveUserCounts + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the sharePoint + * The number of active users in SharePoint. Any user who viewed or edited files, shared files internally or externally, synced files, or viewed SharePoint pages is considered an active user. + * + * @return int|null The sharePoint + */ + public function getSharePoint() + { + if (array_key_exists("sharePoint", $this->_propDict)) { + return $this->_propDict["sharePoint"]; + } else { + return null; + } + } + + /** + * Sets the sharePoint + * The number of active users in SharePoint. Any user who viewed or edited files, shared files internally or externally, synced files, or viewed SharePoint pages is considered an active user. + * + * @param int $val The sharePoint + * + * @return Office365ActiveUserCounts + */ + public function setSharePoint($val) + { + $this->_propDict["sharePoint"] = intval($val); + return $this; + } + + /** + * Gets the skypeForBusiness + * The number of active users in Skype For Business. Any user who organized or participated in conferences, or joined peer-to-peer sessions is considered an active user. + * + * @return int|null The skypeForBusiness + */ + public function getSkypeForBusiness() + { + if (array_key_exists("skypeForBusiness", $this->_propDict)) { + return $this->_propDict["skypeForBusiness"]; + } else { + return null; + } + } + + /** + * Sets the skypeForBusiness + * The number of active users in Skype For Business. Any user who organized or participated in conferences, or joined peer-to-peer sessions is considered an active user. + * + * @param int $val The skypeForBusiness + * + * @return Office365ActiveUserCounts + */ + public function setSkypeForBusiness($val) + { + $this->_propDict["skypeForBusiness"] = intval($val); + return $this; + } + + /** + * Gets the teams + * The number of active users in Microsoft Teams. Any user who posted messages in team channels, sent messages in private chat sessions, or participated in meetings or calls is considered an active user. + * + * @return int|null The teams + */ + public function getTeams() + { + if (array_key_exists("teams", $this->_propDict)) { + return $this->_propDict["teams"]; + } else { + return null; + } + } + + /** + * Sets the teams + * The number of active users in Microsoft Teams. Any user who posted messages in team channels, sent messages in private chat sessions, or participated in meetings or calls is considered an active user. + * + * @param int $val The teams + * + * @return Office365ActiveUserCounts + */ + public function setTeams($val) + { + $this->_propDict["teams"] = intval($val); + return $this; + } + + /** + * Gets the yammer + * The number of active users in Yammer. Any user who can post, read, or like messages is considered an active user. + * + * @return int|null The yammer + */ + public function getYammer() + { + if (array_key_exists("yammer", $this->_propDict)) { + return $this->_propDict["yammer"]; + } else { + return null; + } + } + + /** + * Sets the yammer + * The number of active users in Yammer. Any user who can post, read, or like messages is considered an active user. + * + * @param int $val The yammer + * + * @return Office365ActiveUserCounts + */ + public function setYammer($val) + { + $this->_propDict["yammer"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php new file mode 100644 index 0000000..f526b30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php @@ -0,0 +1,779 @@ +_propDict)) { + return $this->_propDict["assignedProducts"]; + } else { + return null; + } + } + + /** + * Sets the assignedProducts + * All the products assigned for the user. + * + * @param string $val The assignedProducts + * + * @return Office365ActiveUserDetail + */ + public function setAssignedProducts($val) + { + $this->_propDict["assignedProducts"] = $val; + return $this; + } + + /** + * Gets the deletedDate + * The date when the delete operation happened. Default value is 'null' when the user has not been deleted. + * + * @return \DateTime|null The deletedDate + */ + public function getDeletedDate() + { + if (array_key_exists("deletedDate", $this->_propDict)) { + if (is_a($this->_propDict["deletedDate"], "\DateTime") || is_null($this->_propDict["deletedDate"])) { + return $this->_propDict["deletedDate"]; + } else { + $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); + return $this->_propDict["deletedDate"]; + } + } + return null; + } + + /** + * Sets the deletedDate + * The date when the delete operation happened. Default value is 'null' when the user has not been deleted. + * + * @param \DateTime $val The deletedDate + * + * @return Office365ActiveUserDetail + */ + public function setDeletedDate($val) + { + $this->_propDict["deletedDate"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. + * + * @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 + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. + * + * @param string $val The displayName + * + * @return Office365ActiveUserDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the exchangeLastActivityDate + * The date when user last read or sent email. + * + * @return \DateTime|null The exchangeLastActivityDate + */ + public function getExchangeLastActivityDate() + { + if (array_key_exists("exchangeLastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["exchangeLastActivityDate"], "\DateTime") || is_null($this->_propDict["exchangeLastActivityDate"])) { + return $this->_propDict["exchangeLastActivityDate"]; + } else { + $this->_propDict["exchangeLastActivityDate"] = new \DateTime($this->_propDict["exchangeLastActivityDate"]); + return $this->_propDict["exchangeLastActivityDate"]; + } + } + return null; + } + + /** + * Sets the exchangeLastActivityDate + * The date when user last read or sent email. + * + * @param \DateTime $val The exchangeLastActivityDate + * + * @return Office365ActiveUserDetail + */ + public function setExchangeLastActivityDate($val) + { + $this->_propDict["exchangeLastActivityDate"] = $val; + return $this; + } + + /** + * Gets the exchangeLicenseAssignDate + * The last date when the user was assigned an Exchange license. + * + * @return \DateTime|null The exchangeLicenseAssignDate + */ + public function getExchangeLicenseAssignDate() + { + if (array_key_exists("exchangeLicenseAssignDate", $this->_propDict)) { + if (is_a($this->_propDict["exchangeLicenseAssignDate"], "\DateTime") || is_null($this->_propDict["exchangeLicenseAssignDate"])) { + return $this->_propDict["exchangeLicenseAssignDate"]; + } else { + $this->_propDict["exchangeLicenseAssignDate"] = new \DateTime($this->_propDict["exchangeLicenseAssignDate"]); + return $this->_propDict["exchangeLicenseAssignDate"]; + } + } + return null; + } + + /** + * Sets the exchangeLicenseAssignDate + * The last date when the user was assigned an Exchange license. + * + * @param \DateTime $val The exchangeLicenseAssignDate + * + * @return Office365ActiveUserDetail + */ + public function setExchangeLicenseAssignDate($val) + { + $this->_propDict["exchangeLicenseAssignDate"] = $val; + return $this; + } + + /** + * Gets the hasExchangeLicense + * Whether the user has been assigned an Exchange license. + * + * @return bool|null The hasExchangeLicense + */ + public function getHasExchangeLicense() + { + if (array_key_exists("hasExchangeLicense", $this->_propDict)) { + return $this->_propDict["hasExchangeLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasExchangeLicense + * Whether the user has been assigned an Exchange license. + * + * @param bool $val The hasExchangeLicense + * + * @return Office365ActiveUserDetail + */ + public function setHasExchangeLicense($val) + { + $this->_propDict["hasExchangeLicense"] = boolval($val); + return $this; + } + + /** + * Gets the hasOneDriveLicense + * Whether the user has been assigned a OneDrive license. + * + * @return bool|null The hasOneDriveLicense + */ + public function getHasOneDriveLicense() + { + if (array_key_exists("hasOneDriveLicense", $this->_propDict)) { + return $this->_propDict["hasOneDriveLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasOneDriveLicense + * Whether the user has been assigned a OneDrive license. + * + * @param bool $val The hasOneDriveLicense + * + * @return Office365ActiveUserDetail + */ + public function setHasOneDriveLicense($val) + { + $this->_propDict["hasOneDriveLicense"] = boolval($val); + return $this; + } + + /** + * Gets the hasSharePointLicense + * Whether the user has been assigned a SharePoint license. + * + * @return bool|null The hasSharePointLicense + */ + public function getHasSharePointLicense() + { + if (array_key_exists("hasSharePointLicense", $this->_propDict)) { + return $this->_propDict["hasSharePointLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasSharePointLicense + * Whether the user has been assigned a SharePoint license. + * + * @param bool $val The hasSharePointLicense + * + * @return Office365ActiveUserDetail + */ + public function setHasSharePointLicense($val) + { + $this->_propDict["hasSharePointLicense"] = boolval($val); + return $this; + } + + /** + * Gets the hasSkypeForBusinessLicense + * Whether the user has been assigned a Skype For Business license. + * + * @return bool|null The hasSkypeForBusinessLicense + */ + public function getHasSkypeForBusinessLicense() + { + if (array_key_exists("hasSkypeForBusinessLicense", $this->_propDict)) { + return $this->_propDict["hasSkypeForBusinessLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasSkypeForBusinessLicense + * Whether the user has been assigned a Skype For Business license. + * + * @param bool $val The hasSkypeForBusinessLicense + * + * @return Office365ActiveUserDetail + */ + public function setHasSkypeForBusinessLicense($val) + { + $this->_propDict["hasSkypeForBusinessLicense"] = boolval($val); + return $this; + } + + /** + * Gets the hasTeamsLicense + * Whether the user has been assigned a Teams license. + * + * @return bool|null The hasTeamsLicense + */ + public function getHasTeamsLicense() + { + if (array_key_exists("hasTeamsLicense", $this->_propDict)) { + return $this->_propDict["hasTeamsLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasTeamsLicense + * Whether the user has been assigned a Teams license. + * + * @param bool $val The hasTeamsLicense + * + * @return Office365ActiveUserDetail + */ + public function setHasTeamsLicense($val) + { + $this->_propDict["hasTeamsLicense"] = boolval($val); + return $this; + } + + /** + * Gets the hasYammerLicense + * Whether the user has been assigned a Yammer license. + * + * @return bool|null The hasYammerLicense + */ + public function getHasYammerLicense() + { + if (array_key_exists("hasYammerLicense", $this->_propDict)) { + return $this->_propDict["hasYammerLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasYammerLicense + * Whether the user has been assigned a Yammer license. + * + * @param bool $val The hasYammerLicense + * + * @return Office365ActiveUserDetail + */ + public function setHasYammerLicense($val) + { + $this->_propDict["hasYammerLicense"] = boolval($val); + return $this; + } + + /** + * Gets the isDeleted + * Whether this user has been deleted or soft deleted. + * + * @return bool|null The isDeleted + */ + public function getIsDeleted() + { + if (array_key_exists("isDeleted", $this->_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * Whether this user has been deleted or soft deleted. + * + * @param bool $val The isDeleted + * + * @return Office365ActiveUserDetail + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the oneDriveLastActivityDate + * The date when user last viewed or edited files, shared files internally or externally, or synced files. + * + * @return \DateTime|null The oneDriveLastActivityDate + */ + public function getOneDriveLastActivityDate() + { + if (array_key_exists("oneDriveLastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["oneDriveLastActivityDate"], "\DateTime") || is_null($this->_propDict["oneDriveLastActivityDate"])) { + return $this->_propDict["oneDriveLastActivityDate"]; + } else { + $this->_propDict["oneDriveLastActivityDate"] = new \DateTime($this->_propDict["oneDriveLastActivityDate"]); + return $this->_propDict["oneDriveLastActivityDate"]; + } + } + return null; + } + + /** + * Sets the oneDriveLastActivityDate + * The date when user last viewed or edited files, shared files internally or externally, or synced files. + * + * @param \DateTime $val The oneDriveLastActivityDate + * + * @return Office365ActiveUserDetail + */ + public function setOneDriveLastActivityDate($val) + { + $this->_propDict["oneDriveLastActivityDate"] = $val; + return $this; + } + + /** + * Gets the oneDriveLicenseAssignDate + * The last date when the user was assigned a OneDrive license. + * + * @return \DateTime|null The oneDriveLicenseAssignDate + */ + public function getOneDriveLicenseAssignDate() + { + if (array_key_exists("oneDriveLicenseAssignDate", $this->_propDict)) { + if (is_a($this->_propDict["oneDriveLicenseAssignDate"], "\DateTime") || is_null($this->_propDict["oneDriveLicenseAssignDate"])) { + return $this->_propDict["oneDriveLicenseAssignDate"]; + } else { + $this->_propDict["oneDriveLicenseAssignDate"] = new \DateTime($this->_propDict["oneDriveLicenseAssignDate"]); + return $this->_propDict["oneDriveLicenseAssignDate"]; + } + } + return null; + } + + /** + * Sets the oneDriveLicenseAssignDate + * The last date when the user was assigned a OneDrive license. + * + * @param \DateTime $val The oneDriveLicenseAssignDate + * + * @return Office365ActiveUserDetail + */ + public function setOneDriveLicenseAssignDate($val) + { + $this->_propDict["oneDriveLicenseAssignDate"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365ActiveUserDetail + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the sharePointLastActivityDate + * The date when user last viewed or edited files, shared files internally or externally, synced files, or viewed SharePoint pages. + * + * @return \DateTime|null The sharePointLastActivityDate + */ + public function getSharePointLastActivityDate() + { + if (array_key_exists("sharePointLastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["sharePointLastActivityDate"], "\DateTime") || is_null($this->_propDict["sharePointLastActivityDate"])) { + return $this->_propDict["sharePointLastActivityDate"]; + } else { + $this->_propDict["sharePointLastActivityDate"] = new \DateTime($this->_propDict["sharePointLastActivityDate"]); + return $this->_propDict["sharePointLastActivityDate"]; + } + } + return null; + } + + /** + * Sets the sharePointLastActivityDate + * The date when user last viewed or edited files, shared files internally or externally, synced files, or viewed SharePoint pages. + * + * @param \DateTime $val The sharePointLastActivityDate + * + * @return Office365ActiveUserDetail + */ + public function setSharePointLastActivityDate($val) + { + $this->_propDict["sharePointLastActivityDate"] = $val; + return $this; + } + + /** + * Gets the sharePointLicenseAssignDate + * The last date when the user was assigned a SharePoint license. + * + * @return \DateTime|null The sharePointLicenseAssignDate + */ + public function getSharePointLicenseAssignDate() + { + if (array_key_exists("sharePointLicenseAssignDate", $this->_propDict)) { + if (is_a($this->_propDict["sharePointLicenseAssignDate"], "\DateTime") || is_null($this->_propDict["sharePointLicenseAssignDate"])) { + return $this->_propDict["sharePointLicenseAssignDate"]; + } else { + $this->_propDict["sharePointLicenseAssignDate"] = new \DateTime($this->_propDict["sharePointLicenseAssignDate"]); + return $this->_propDict["sharePointLicenseAssignDate"]; + } + } + return null; + } + + /** + * Sets the sharePointLicenseAssignDate + * The last date when the user was assigned a SharePoint license. + * + * @param \DateTime $val The sharePointLicenseAssignDate + * + * @return Office365ActiveUserDetail + */ + public function setSharePointLicenseAssignDate($val) + { + $this->_propDict["sharePointLicenseAssignDate"] = $val; + return $this; + } + + /** + * Gets the skypeForBusinessLastActivityDate + * The date when user last organized or participated in conferences, or joined peer-to-peer sessions. + * + * @return \DateTime|null The skypeForBusinessLastActivityDate + */ + public function getSkypeForBusinessLastActivityDate() + { + if (array_key_exists("skypeForBusinessLastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["skypeForBusinessLastActivityDate"], "\DateTime") || is_null($this->_propDict["skypeForBusinessLastActivityDate"])) { + return $this->_propDict["skypeForBusinessLastActivityDate"]; + } else { + $this->_propDict["skypeForBusinessLastActivityDate"] = new \DateTime($this->_propDict["skypeForBusinessLastActivityDate"]); + return $this->_propDict["skypeForBusinessLastActivityDate"]; + } + } + return null; + } + + /** + * Sets the skypeForBusinessLastActivityDate + * The date when user last organized or participated in conferences, or joined peer-to-peer sessions. + * + * @param \DateTime $val The skypeForBusinessLastActivityDate + * + * @return Office365ActiveUserDetail + */ + public function setSkypeForBusinessLastActivityDate($val) + { + $this->_propDict["skypeForBusinessLastActivityDate"] = $val; + return $this; + } + + /** + * Gets the skypeForBusinessLicenseAssignDate + * The last date when the user was assigned a Skype For Business license. + * + * @return \DateTime|null The skypeForBusinessLicenseAssignDate + */ + public function getSkypeForBusinessLicenseAssignDate() + { + if (array_key_exists("skypeForBusinessLicenseAssignDate", $this->_propDict)) { + if (is_a($this->_propDict["skypeForBusinessLicenseAssignDate"], "\DateTime") || is_null($this->_propDict["skypeForBusinessLicenseAssignDate"])) { + return $this->_propDict["skypeForBusinessLicenseAssignDate"]; + } else { + $this->_propDict["skypeForBusinessLicenseAssignDate"] = new \DateTime($this->_propDict["skypeForBusinessLicenseAssignDate"]); + return $this->_propDict["skypeForBusinessLicenseAssignDate"]; + } + } + return null; + } + + /** + * Sets the skypeForBusinessLicenseAssignDate + * The last date when the user was assigned a Skype For Business license. + * + * @param \DateTime $val The skypeForBusinessLicenseAssignDate + * + * @return Office365ActiveUserDetail + */ + public function setSkypeForBusinessLicenseAssignDate($val) + { + $this->_propDict["skypeForBusinessLicenseAssignDate"] = $val; + return $this; + } + + /** + * Gets the teamsLastActivityDate + * The date when user last posted messages in team channels, sent messages in private chat sessions, or participated in meetings or calls. + * + * @return \DateTime|null The teamsLastActivityDate + */ + public function getTeamsLastActivityDate() + { + if (array_key_exists("teamsLastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["teamsLastActivityDate"], "\DateTime") || is_null($this->_propDict["teamsLastActivityDate"])) { + return $this->_propDict["teamsLastActivityDate"]; + } else { + $this->_propDict["teamsLastActivityDate"] = new \DateTime($this->_propDict["teamsLastActivityDate"]); + return $this->_propDict["teamsLastActivityDate"]; + } + } + return null; + } + + /** + * Sets the teamsLastActivityDate + * The date when user last posted messages in team channels, sent messages in private chat sessions, or participated in meetings or calls. + * + * @param \DateTime $val The teamsLastActivityDate + * + * @return Office365ActiveUserDetail + */ + public function setTeamsLastActivityDate($val) + { + $this->_propDict["teamsLastActivityDate"] = $val; + return $this; + } + + /** + * Gets the teamsLicenseAssignDate + * The last date when the user was assigned a Teams license. + * + * @return \DateTime|null The teamsLicenseAssignDate + */ + public function getTeamsLicenseAssignDate() + { + if (array_key_exists("teamsLicenseAssignDate", $this->_propDict)) { + if (is_a($this->_propDict["teamsLicenseAssignDate"], "\DateTime") || is_null($this->_propDict["teamsLicenseAssignDate"])) { + return $this->_propDict["teamsLicenseAssignDate"]; + } else { + $this->_propDict["teamsLicenseAssignDate"] = new \DateTime($this->_propDict["teamsLicenseAssignDate"]); + return $this->_propDict["teamsLicenseAssignDate"]; + } + } + return null; + } + + /** + * Sets the teamsLicenseAssignDate + * The last date when the user was assigned a Teams license. + * + * @param \DateTime $val The teamsLicenseAssignDate + * + * @return Office365ActiveUserDetail + */ + public function setTeamsLicenseAssignDate($val) + { + $this->_propDict["teamsLicenseAssignDate"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains. This property is required when a user is created. + * + * @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 + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant’s collection of verified domains. This property is required when a user is created. + * + * @param string $val The userPrincipalName + * + * @return Office365ActiveUserDetail + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the yammerLastActivityDate + * The date when user last posted, read, or liked message. + * + * @return \DateTime|null The yammerLastActivityDate + */ + public function getYammerLastActivityDate() + { + if (array_key_exists("yammerLastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["yammerLastActivityDate"], "\DateTime") || is_null($this->_propDict["yammerLastActivityDate"])) { + return $this->_propDict["yammerLastActivityDate"]; + } else { + $this->_propDict["yammerLastActivityDate"] = new \DateTime($this->_propDict["yammerLastActivityDate"]); + return $this->_propDict["yammerLastActivityDate"]; + } + } + return null; + } + + /** + * Sets the yammerLastActivityDate + * The date when user last posted, read, or liked message. + * + * @param \DateTime $val The yammerLastActivityDate + * + * @return Office365ActiveUserDetail + */ + public function setYammerLastActivityDate($val) + { + $this->_propDict["yammerLastActivityDate"] = $val; + return $this; + } + + /** + * Gets the yammerLicenseAssignDate + * The last date when the user was assigned a Yammer license. + * + * @return \DateTime|null The yammerLicenseAssignDate + */ + public function getYammerLicenseAssignDate() + { + if (array_key_exists("yammerLicenseAssignDate", $this->_propDict)) { + if (is_a($this->_propDict["yammerLicenseAssignDate"], "\DateTime") || is_null($this->_propDict["yammerLicenseAssignDate"])) { + return $this->_propDict["yammerLicenseAssignDate"]; + } else { + $this->_propDict["yammerLicenseAssignDate"] = new \DateTime($this->_propDict["yammerLicenseAssignDate"]); + return $this->_propDict["yammerLicenseAssignDate"]; + } + } + return null; + } + + /** + * Sets the yammerLicenseAssignDate + * The last date when the user was assigned a Yammer license. + * + * @param \DateTime $val The yammerLicenseAssignDate + * + * @return Office365ActiveUserDetail + */ + public function setYammerLicenseAssignDate($val) + { + $this->_propDict["yammerLicenseAssignDate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityCounts.php new file mode 100644 index 0000000..e2120aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityCounts.php @@ -0,0 +1,238 @@ +_propDict)) { + return $this->_propDict["exchangeEmailsReceived"]; + } else { + return null; + } + } + + /** + * Sets the exchangeEmailsReceived + * The number of emails received by Group mailboxes. + * + * @param int $val The exchangeEmailsReceived + * + * @return Office365GroupsActivityCounts + */ + public function setExchangeEmailsReceived($val) + { + $this->_propDict["exchangeEmailsReceived"] = intval($val); + return $this; + } + + /** + * Gets the reportDate + * The date on which a number of emails were sent to a group mailbox or a number of messages were posted, read, or liked in a Yammer group + * + * @return \DateTime|null The reportDate + */ + public function getReportDate() + { + if (array_key_exists("reportDate", $this->_propDict)) { + if (is_a($this->_propDict["reportDate"], "\DateTime") || is_null($this->_propDict["reportDate"])) { + return $this->_propDict["reportDate"]; + } else { + $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); + return $this->_propDict["reportDate"]; + } + } + return null; + } + + /** + * Sets the reportDate + * The date on which a number of emails were sent to a group mailbox or a number of messages were posted, read, or liked in a Yammer group + * + * @param \DateTime $val The reportDate + * + * @return Office365GroupsActivityCounts + */ + public function setReportDate($val) + { + $this->_propDict["reportDate"] = $val; + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365GroupsActivityCounts + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365GroupsActivityCounts + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the yammerMessagesLiked + * The number of messages liked in Yammer groups. + * + * @return int|null The yammerMessagesLiked + */ + public function getYammerMessagesLiked() + { + if (array_key_exists("yammerMessagesLiked", $this->_propDict)) { + return $this->_propDict["yammerMessagesLiked"]; + } else { + return null; + } + } + + /** + * Sets the yammerMessagesLiked + * The number of messages liked in Yammer groups. + * + * @param int $val The yammerMessagesLiked + * + * @return Office365GroupsActivityCounts + */ + public function setYammerMessagesLiked($val) + { + $this->_propDict["yammerMessagesLiked"] = intval($val); + return $this; + } + + /** + * Gets the yammerMessagesPosted + * The number of messages posted to Yammer groups. + * + * @return int|null The yammerMessagesPosted + */ + public function getYammerMessagesPosted() + { + if (array_key_exists("yammerMessagesPosted", $this->_propDict)) { + return $this->_propDict["yammerMessagesPosted"]; + } else { + return null; + } + } + + /** + * Sets the yammerMessagesPosted + * The number of messages posted to Yammer groups. + * + * @param int $val The yammerMessagesPosted + * + * @return Office365GroupsActivityCounts + */ + public function setYammerMessagesPosted($val) + { + $this->_propDict["yammerMessagesPosted"] = intval($val); + return $this; + } + + /** + * Gets the yammerMessagesRead + * The number of messages read in Yammer groups. + * + * @return int|null The yammerMessagesRead + */ + public function getYammerMessagesRead() + { + if (array_key_exists("yammerMessagesRead", $this->_propDict)) { + return $this->_propDict["yammerMessagesRead"]; + } else { + return null; + } + } + + /** + * Sets the yammerMessagesRead + * The number of messages read in Yammer groups. + * + * @param int $val The yammerMessagesRead + * + * @return Office365GroupsActivityCounts + */ + public function setYammerMessagesRead($val) + { + $this->_propDict["yammerMessagesRead"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php new file mode 100644 index 0000000..b8bb30f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php @@ -0,0 +1,586 @@ +_propDict)) { + return $this->_propDict["exchangeMailboxStorageUsedInBytes"]; + } else { + return null; + } + } + + /** + * Sets the exchangeMailboxStorageUsedInBytes + * The storage used of the group mailbox. + * + * @param int $val The exchangeMailboxStorageUsedInBytes + * + * @return Office365GroupsActivityDetail + */ + public function setExchangeMailboxStorageUsedInBytes($val) + { + $this->_propDict["exchangeMailboxStorageUsedInBytes"] = intval($val); + return $this; + } + + /** + * Gets the exchangeMailboxTotalItemCount + * The number of items in the group mailbox. + * + * @return int|null The exchangeMailboxTotalItemCount + */ + public function getExchangeMailboxTotalItemCount() + { + if (array_key_exists("exchangeMailboxTotalItemCount", $this->_propDict)) { + return $this->_propDict["exchangeMailboxTotalItemCount"]; + } else { + return null; + } + } + + /** + * Sets the exchangeMailboxTotalItemCount + * The number of items in the group mailbox. + * + * @param int $val The exchangeMailboxTotalItemCount + * + * @return Office365GroupsActivityDetail + */ + public function setExchangeMailboxTotalItemCount($val) + { + $this->_propDict["exchangeMailboxTotalItemCount"] = intval($val); + return $this; + } + + /** + * Gets the exchangeReceivedEmailCount + * The number of email that the group mailbox received. + * + * @return int|null The exchangeReceivedEmailCount + */ + public function getExchangeReceivedEmailCount() + { + if (array_key_exists("exchangeReceivedEmailCount", $this->_propDict)) { + return $this->_propDict["exchangeReceivedEmailCount"]; + } else { + return null; + } + } + + /** + * Sets the exchangeReceivedEmailCount + * The number of email that the group mailbox received. + * + * @param int $val The exchangeReceivedEmailCount + * + * @return Office365GroupsActivityDetail + */ + public function setExchangeReceivedEmailCount($val) + { + $this->_propDict["exchangeReceivedEmailCount"] = intval($val); + return $this; + } + + /** + * Gets the externalMemberCount + * The group external member count. + * + * @return int|null The externalMemberCount + */ + public function getExternalMemberCount() + { + if (array_key_exists("externalMemberCount", $this->_propDict)) { + return $this->_propDict["externalMemberCount"]; + } else { + return null; + } + } + + /** + * Sets the externalMemberCount + * The group external member count. + * + * @param int $val The externalMemberCount + * + * @return Office365GroupsActivityDetail + */ + public function setExternalMemberCount($val) + { + $this->_propDict["externalMemberCount"] = intval($val); + return $this; + } + + /** + * Gets the groupDisplayName + * The display name of the group. + * + * @return string|null The groupDisplayName + */ + public function getGroupDisplayName() + { + if (array_key_exists("groupDisplayName", $this->_propDict)) { + return $this->_propDict["groupDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the groupDisplayName + * The display name of the group. + * + * @param string $val The groupDisplayName + * + * @return Office365GroupsActivityDetail + */ + public function setGroupDisplayName($val) + { + $this->_propDict["groupDisplayName"] = $val; + return $this; + } + + /** + * Gets the groupId + * The group id. + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The group id. + * + * @param string $val The groupId + * + * @return Office365GroupsActivityDetail + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } + + /** + * Gets the groupType + * The group type. Possible values are: Public or Private. + * + * @return string|null The groupType + */ + public function getGroupType() + { + if (array_key_exists("groupType", $this->_propDict)) { + return $this->_propDict["groupType"]; + } else { + return null; + } + } + + /** + * Sets the groupType + * The group type. Possible values are: Public or Private. + * + * @param string $val The groupType + * + * @return Office365GroupsActivityDetail + */ + public function setGroupType($val) + { + $this->_propDict["groupType"] = $val; + return $this; + } + + /** + * Gets the isDeleted + * Whether this user has been deleted or soft deleted. + * + * @return bool|null The isDeleted + */ + public function getIsDeleted() + { + if (array_key_exists("isDeleted", $this->_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * Whether this user has been deleted or soft deleted. + * + * @param bool $val The isDeleted + * + * @return Office365GroupsActivityDetail + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the lastActivityDate + * The last activity date for the following scenarios: group mailbox received email; user viewed, edited, shared, or synced files in SharePoint document library; user viewed SharePoint pages; user posted, read, or liked messages in Yammer groups. + * + * @return \DateTime|null The lastActivityDate + */ + public function getLastActivityDate() + { + if (array_key_exists("lastActivityDate", $this->_propDict)) { + if (is_a($this->_propDict["lastActivityDate"], "\DateTime") || is_null($this->_propDict["lastActivityDate"])) { + return $this->_propDict["lastActivityDate"]; + } else { + $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); + return $this->_propDict["lastActivityDate"]; + } + } + return null; + } + + /** + * Sets the lastActivityDate + * The last activity date for the following scenarios: group mailbox received email; user viewed, edited, shared, or synced files in SharePoint document library; user viewed SharePoint pages; user posted, read, or liked messages in Yammer groups. + * + * @param \DateTime $val The lastActivityDate + * + * @return Office365GroupsActivityDetail + */ + public function setLastActivityDate($val) + { + $this->_propDict["lastActivityDate"] = $val; + return $this; + } + + /** + * Gets the memberCount + * The group member count. + * + * @return int|null The memberCount + */ + public function getMemberCount() + { + if (array_key_exists("memberCount", $this->_propDict)) { + return $this->_propDict["memberCount"]; + } else { + return null; + } + } + + /** + * Sets the memberCount + * The group member count. + * + * @param int $val The memberCount + * + * @return Office365GroupsActivityDetail + */ + public function setMemberCount($val) + { + $this->_propDict["memberCount"] = intval($val); + return $this; + } + + /** + * Gets the ownerPrincipalName + * The group owner principal name. + * + * @return string|null The ownerPrincipalName + */ + public function getOwnerPrincipalName() + { + if (array_key_exists("ownerPrincipalName", $this->_propDict)) { + return $this->_propDict["ownerPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the ownerPrincipalName + * The group owner principal name. + * + * @param string $val The ownerPrincipalName + * + * @return Office365GroupsActivityDetail + */ + public function setOwnerPrincipalName($val) + { + $this->_propDict["ownerPrincipalName"] = $val; + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365GroupsActivityDetail + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365GroupsActivityDetail + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the sharePointActiveFileCount + * The number of active files in SharePoint Group site. + * + * @return int|null The sharePointActiveFileCount + */ + public function getSharePointActiveFileCount() + { + if (array_key_exists("sharePointActiveFileCount", $this->_propDict)) { + return $this->_propDict["sharePointActiveFileCount"]; + } else { + return null; + } + } + + /** + * Sets the sharePointActiveFileCount + * The number of active files in SharePoint Group site. + * + * @param int $val The sharePointActiveFileCount + * + * @return Office365GroupsActivityDetail + */ + public function setSharePointActiveFileCount($val) + { + $this->_propDict["sharePointActiveFileCount"] = intval($val); + return $this; + } + + /** + * Gets the sharePointSiteStorageUsedInBytes + * The storage used by SharePoint Group site. + * + * @return int|null The sharePointSiteStorageUsedInBytes + */ + public function getSharePointSiteStorageUsedInBytes() + { + if (array_key_exists("sharePointSiteStorageUsedInBytes", $this->_propDict)) { + return $this->_propDict["sharePointSiteStorageUsedInBytes"]; + } else { + return null; + } + } + + /** + * Sets the sharePointSiteStorageUsedInBytes + * The storage used by SharePoint Group site. + * + * @param int $val The sharePointSiteStorageUsedInBytes + * + * @return Office365GroupsActivityDetail + */ + public function setSharePointSiteStorageUsedInBytes($val) + { + $this->_propDict["sharePointSiteStorageUsedInBytes"] = intval($val); + return $this; + } + + /** + * Gets the sharePointTotalFileCount + * The total number of files in SharePoint Group site. + * + * @return int|null The sharePointTotalFileCount + */ + public function getSharePointTotalFileCount() + { + if (array_key_exists("sharePointTotalFileCount", $this->_propDict)) { + return $this->_propDict["sharePointTotalFileCount"]; + } else { + return null; + } + } + + /** + * Sets the sharePointTotalFileCount + * The total number of files in SharePoint Group site. + * + * @param int $val The sharePointTotalFileCount + * + * @return Office365GroupsActivityDetail + */ + public function setSharePointTotalFileCount($val) + { + $this->_propDict["sharePointTotalFileCount"] = intval($val); + return $this; + } + + /** + * Gets the yammerLikedMessageCount + * The number of messages liked in Yammer groups. + * + * @return int|null The yammerLikedMessageCount + */ + public function getYammerLikedMessageCount() + { + if (array_key_exists("yammerLikedMessageCount", $this->_propDict)) { + return $this->_propDict["yammerLikedMessageCount"]; + } else { + return null; + } + } + + /** + * Sets the yammerLikedMessageCount + * The number of messages liked in Yammer groups. + * + * @param int $val The yammerLikedMessageCount + * + * @return Office365GroupsActivityDetail + */ + public function setYammerLikedMessageCount($val) + { + $this->_propDict["yammerLikedMessageCount"] = intval($val); + return $this; + } + + /** + * Gets the yammerPostedMessageCount + * The number of messages posted to Yammer groups. + * + * @return int|null The yammerPostedMessageCount + */ + public function getYammerPostedMessageCount() + { + if (array_key_exists("yammerPostedMessageCount", $this->_propDict)) { + return $this->_propDict["yammerPostedMessageCount"]; + } else { + return null; + } + } + + /** + * Sets the yammerPostedMessageCount + * The number of messages posted to Yammer groups. + * + * @param int $val The yammerPostedMessageCount + * + * @return Office365GroupsActivityDetail + */ + public function setYammerPostedMessageCount($val) + { + $this->_propDict["yammerPostedMessageCount"] = intval($val); + return $this; + } + + /** + * Gets the yammerReadMessageCount + * The number of messages read in Yammer groups. + * + * @return int|null The yammerReadMessageCount + */ + public function getYammerReadMessageCount() + { + if (array_key_exists("yammerReadMessageCount", $this->_propDict)) { + return $this->_propDict["yammerReadMessageCount"]; + } else { + return null; + } + } + + /** + * Sets the yammerReadMessageCount + * The number of messages read in Yammer groups. + * + * @param int $val The yammerReadMessageCount + * + * @return Office365GroupsActivityDetail + */ + public function setYammerReadMessageCount($val) + { + $this->_propDict["yammerReadMessageCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityFileCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityFileCounts.php new file mode 100644 index 0000000..20f2947 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityFileCounts.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["active"]; + } else { + return null; + } + } + + /** + * Sets the active + * The number of files that were viewed, edited, shared, or synced in the group's SharePoint document library. + * + * @param int $val The active + * + * @return Office365GroupsActivityFileCounts + */ + public function setActive($val) + { + $this->_propDict["active"] = intval($val); + return $this; + } + + /** + * Gets the reportDate + * The date on which a number of files were active in the group's SharePoint site. + * + * @return \DateTime|null The reportDate + */ + public function getReportDate() + { + if (array_key_exists("reportDate", $this->_propDict)) { + if (is_a($this->_propDict["reportDate"], "\DateTime") || is_null($this->_propDict["reportDate"])) { + return $this->_propDict["reportDate"]; + } else { + $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); + return $this->_propDict["reportDate"]; + } + } + return null; + } + + /** + * Sets the reportDate + * The date on which a number of files were active in the group's SharePoint site. + * + * @param \DateTime $val The reportDate + * + * @return Office365GroupsActivityFileCounts + */ + public function setReportDate($val) + { + $this->_propDict["reportDate"] = $val; + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365GroupsActivityFileCounts + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365GroupsActivityFileCounts + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the total + * The total number of files in the group's SharePoint document library. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * The total number of files in the group's SharePoint document library. + * + * @param int $val The total + * + * @return Office365GroupsActivityFileCounts + */ + public function setTotal($val) + { + $this->_propDict["total"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php new file mode 100644 index 0000000..34b07bb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["active"]; + } else { + return null; + } + } + + /** + * Sets the active + * The number of active groups. A group is considered active if any of the following occurred: group mailbox received email; user viewed, edited, shared, or synced files in SharePoint document library; user viewed SharePoint pages; user posted, read, or liked messages in Yammer groups. + * + * @param int $val The active + * + * @return Office365GroupsActivityGroupCounts + */ + public function setActive($val) + { + $this->_propDict["active"] = intval($val); + return $this; + } + + /** + * Gets the reportDate + * The date on which a number of groups were active. + * + * @return \DateTime|null The reportDate + */ + public function getReportDate() + { + if (array_key_exists("reportDate", $this->_propDict)) { + if (is_a($this->_propDict["reportDate"], "\DateTime") || is_null($this->_propDict["reportDate"])) { + return $this->_propDict["reportDate"]; + } else { + $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); + return $this->_propDict["reportDate"]; + } + } + return null; + } + + /** + * Sets the reportDate + * The date on which a number of groups were active. + * + * @param \DateTime $val The reportDate + * + * @return Office365GroupsActivityGroupCounts + */ + public function setReportDate($val) + { + $this->_propDict["reportDate"] = $val; + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365GroupsActivityGroupCounts + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365GroupsActivityGroupCounts + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the total + * The total number of groups. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * The total number of groups. + * + * @param int $val The total + * + * @return Office365GroupsActivityGroupCounts + */ + public function setTotal($val) + { + $this->_propDict["total"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityStorage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityStorage.php new file mode 100644 index 0000000..aa21a6c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityStorage.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["mailboxStorageUsedInBytes"]; + } else { + return null; + } + } + + /** + * Sets the mailboxStorageUsedInBytes + * The storage used in group mailbox. + * + * @param int $val The mailboxStorageUsedInBytes + * + * @return Office365GroupsActivityStorage + */ + public function setMailboxStorageUsedInBytes($val) + { + $this->_propDict["mailboxStorageUsedInBytes"] = intval($val); + return $this; + } + + /** + * Gets the reportDate + * The snapshot date for Exchange and SharePoint used storage. + * + * @return \DateTime|null The reportDate + */ + public function getReportDate() + { + if (array_key_exists("reportDate", $this->_propDict)) { + if (is_a($this->_propDict["reportDate"], "\DateTime") || is_null($this->_propDict["reportDate"])) { + return $this->_propDict["reportDate"]; + } else { + $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); + return $this->_propDict["reportDate"]; + } + } + return null; + } + + /** + * Sets the reportDate + * The snapshot date for Exchange and SharePoint used storage. + * + * @param \DateTime $val The reportDate + * + * @return Office365GroupsActivityStorage + */ + public function setReportDate($val) + { + $this->_propDict["reportDate"] = $val; + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365GroupsActivityStorage + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365GroupsActivityStorage + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the siteStorageUsedInBytes + * The storage used in SharePoint document library. + * + * @return int|null The siteStorageUsedInBytes + */ + public function getSiteStorageUsedInBytes() + { + if (array_key_exists("siteStorageUsedInBytes", $this->_propDict)) { + return $this->_propDict["siteStorageUsedInBytes"]; + } else { + return null; + } + } + + /** + * Sets the siteStorageUsedInBytes + * The storage used in SharePoint document library. + * + * @param int $val The siteStorageUsedInBytes + * + * @return Office365GroupsActivityStorage + */ + public function setSiteStorageUsedInBytes($val) + { + $this->_propDict["siteStorageUsedInBytes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ServicesUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ServicesUserCounts.php new file mode 100644 index 0000000..1e013b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ServicesUserCounts.php @@ -0,0 +1,495 @@ +_propDict)) { + return $this->_propDict["exchangeActive"]; + } else { + return null; + } + } + + /** + * Sets the exchangeActive + * The number of active users on Exchange. Any user who can read and send email is considered an active user. + * + * @param int $val The exchangeActive + * + * @return Office365ServicesUserCounts + */ + public function setExchangeActive($val) + { + $this->_propDict["exchangeActive"] = intval($val); + return $this; + } + + /** + * Gets the exchangeInactive + * The number of inactive users on Exchange. + * + * @return int|null The exchangeInactive + */ + public function getExchangeInactive() + { + if (array_key_exists("exchangeInactive", $this->_propDict)) { + return $this->_propDict["exchangeInactive"]; + } else { + return null; + } + } + + /** + * Sets the exchangeInactive + * The number of inactive users on Exchange. + * + * @param int $val The exchangeInactive + * + * @return Office365ServicesUserCounts + */ + public function setExchangeInactive($val) + { + $this->_propDict["exchangeInactive"] = intval($val); + return $this; + } + + /** + * Gets the office365Active + * The number of active users on Microsoft 365. + * + * @return int|null The office365Active + */ + public function getOffice365Active() + { + if (array_key_exists("office365Active", $this->_propDict)) { + return $this->_propDict["office365Active"]; + } else { + return null; + } + } + + /** + * Sets the office365Active + * The number of active users on Microsoft 365. + * + * @param int $val The office365Active + * + * @return Office365ServicesUserCounts + */ + public function setOffice365Active($val) + { + $this->_propDict["office365Active"] = intval($val); + return $this; + } + + /** + * Gets the office365Inactive + * The number of inactive users on Microsoft 365. + * + * @return int|null The office365Inactive + */ + public function getOffice365Inactive() + { + if (array_key_exists("office365Inactive", $this->_propDict)) { + return $this->_propDict["office365Inactive"]; + } else { + return null; + } + } + + /** + * Sets the office365Inactive + * The number of inactive users on Microsoft 365. + * + * @param int $val The office365Inactive + * + * @return Office365ServicesUserCounts + */ + public function setOffice365Inactive($val) + { + $this->_propDict["office365Inactive"] = intval($val); + return $this; + } + + /** + * Gets the oneDriveActive + * The number of active users on OneDrive. Any user who viewed or edited files, shared files internally or externally, or synced files is considered an active user. + * + * @return int|null The oneDriveActive + */ + public function getOneDriveActive() + { + if (array_key_exists("oneDriveActive", $this->_propDict)) { + return $this->_propDict["oneDriveActive"]; + } else { + return null; + } + } + + /** + * Sets the oneDriveActive + * The number of active users on OneDrive. Any user who viewed or edited files, shared files internally or externally, or synced files is considered an active user. + * + * @param int $val The oneDriveActive + * + * @return Office365ServicesUserCounts + */ + public function setOneDriveActive($val) + { + $this->_propDict["oneDriveActive"] = intval($val); + return $this; + } + + /** + * Gets the oneDriveInactive + * The number of inactive users on OneDrive. + * + * @return int|null The oneDriveInactive + */ + public function getOneDriveInactive() + { + if (array_key_exists("oneDriveInactive", $this->_propDict)) { + return $this->_propDict["oneDriveInactive"]; + } else { + return null; + } + } + + /** + * Sets the oneDriveInactive + * The number of inactive users on OneDrive. + * + * @param int $val The oneDriveInactive + * + * @return Office365ServicesUserCounts + */ + public function setOneDriveInactive($val) + { + $this->_propDict["oneDriveInactive"] = intval($val); + return $this; + } + + /** + * Gets the reportPeriod + * The number of days the report covers. + * + * @return string|null The reportPeriod + */ + public function getReportPeriod() + { + if (array_key_exists("reportPeriod", $this->_propDict)) { + return $this->_propDict["reportPeriod"]; + } else { + return null; + } + } + + /** + * Sets the reportPeriod + * The number of days the report covers. + * + * @param string $val The reportPeriod + * + * @return Office365ServicesUserCounts + */ + public function setReportPeriod($val) + { + $this->_propDict["reportPeriod"] = $val; + return $this; + } + + /** + * Gets the reportRefreshDate + * The latest date of the content. + * + * @return \DateTime|null The reportRefreshDate + */ + public function getReportRefreshDate() + { + if (array_key_exists("reportRefreshDate", $this->_propDict)) { + if (is_a($this->_propDict["reportRefreshDate"], "\DateTime") || is_null($this->_propDict["reportRefreshDate"])) { + return $this->_propDict["reportRefreshDate"]; + } else { + $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); + return $this->_propDict["reportRefreshDate"]; + } + } + return null; + } + + /** + * Sets the reportRefreshDate + * The latest date of the content. + * + * @param \DateTime $val The reportRefreshDate + * + * @return Office365ServicesUserCounts + */ + public function setReportRefreshDate($val) + { + $this->_propDict["reportRefreshDate"] = $val; + return $this; + } + + /** + * Gets the sharePointActive + * The number of active users on SharePoint. Any user who viewed or edited files, shared files internally or externally, synced files, or viewed SharePoint pages is considered an active user. + * + * @return int|null The sharePointActive + */ + public function getSharePointActive() + { + if (array_key_exists("sharePointActive", $this->_propDict)) { + return $this->_propDict["sharePointActive"]; + } else { + return null; + } + } + + /** + * Sets the sharePointActive + * The number of active users on SharePoint. Any user who viewed or edited files, shared files internally or externally, synced files, or viewed SharePoint pages is considered an active user. + * + * @param int $val The sharePointActive + * + * @return Office365ServicesUserCounts + */ + public function setSharePointActive($val) + { + $this->_propDict["sharePointActive"] = intval($val); + return $this; + } + + /** + * Gets the sharePointInactive + * The number of inactive users on SharePoint. + * + * @return int|null The sharePointInactive + */ + public function getSharePointInactive() + { + if (array_key_exists("sharePointInactive", $this->_propDict)) { + return $this->_propDict["sharePointInactive"]; + } else { + return null; + } + } + + /** + * Sets the sharePointInactive + * The number of inactive users on SharePoint. + * + * @param int $val The sharePointInactive + * + * @return Office365ServicesUserCounts + */ + public function setSharePointInactive($val) + { + $this->_propDict["sharePointInactive"] = intval($val); + return $this; + } + + /** + * Gets the skypeForBusinessActive + * The number of active users on Skype For Business. Any user who organized or participated in conferences, or joined peer-to-peer sessions is considered an active user. + * + * @return int|null The skypeForBusinessActive + */ + public function getSkypeForBusinessActive() + { + if (array_key_exists("skypeForBusinessActive", $this->_propDict)) { + return $this->_propDict["skypeForBusinessActive"]; + } else { + return null; + } + } + + /** + * Sets the skypeForBusinessActive + * The number of active users on Skype For Business. Any user who organized or participated in conferences, or joined peer-to-peer sessions is considered an active user. + * + * @param int $val The skypeForBusinessActive + * + * @return Office365ServicesUserCounts + */ + public function setSkypeForBusinessActive($val) + { + $this->_propDict["skypeForBusinessActive"] = intval($val); + return $this; + } + + /** + * Gets the skypeForBusinessInactive + * The number of inactive users on Skype For Business. + * + * @return int|null The skypeForBusinessInactive + */ + public function getSkypeForBusinessInactive() + { + if (array_key_exists("skypeForBusinessInactive", $this->_propDict)) { + return $this->_propDict["skypeForBusinessInactive"]; + } else { + return null; + } + } + + /** + * Sets the skypeForBusinessInactive + * The number of inactive users on Skype For Business. + * + * @param int $val The skypeForBusinessInactive + * + * @return Office365ServicesUserCounts + */ + public function setSkypeForBusinessInactive($val) + { + $this->_propDict["skypeForBusinessInactive"] = intval($val); + return $this; + } + + /** + * Gets the teamsActive + * The number of active users on Microsoft Teams. Any user who posted messages in team channels, sent messages in private chat sessions, or participated in meetings or calls is considered an active user. + * + * @return int|null The teamsActive + */ + public function getTeamsActive() + { + if (array_key_exists("teamsActive", $this->_propDict)) { + return $this->_propDict["teamsActive"]; + } else { + return null; + } + } + + /** + * Sets the teamsActive + * The number of active users on Microsoft Teams. Any user who posted messages in team channels, sent messages in private chat sessions, or participated in meetings or calls is considered an active user. + * + * @param int $val The teamsActive + * + * @return Office365ServicesUserCounts + */ + public function setTeamsActive($val) + { + $this->_propDict["teamsActive"] = intval($val); + return $this; + } + + /** + * Gets the teamsInactive + * The number of inactive users on Microsoft Teams. + * + * @return int|null The teamsInactive + */ + public function getTeamsInactive() + { + if (array_key_exists("teamsInactive", $this->_propDict)) { + return $this->_propDict["teamsInactive"]; + } else { + return null; + } + } + + /** + * Sets the teamsInactive + * The number of inactive users on Microsoft Teams. + * + * @param int $val The teamsInactive + * + * @return Office365ServicesUserCounts + */ + public function setTeamsInactive($val) + { + $this->_propDict["teamsInactive"] = intval($val); + return $this; + } + + /** + * Gets the yammerActive + * The number of active users on Yammer. Any user who can post, read, or like messages is considered an active user. + * + * @return int|null The yammerActive + */ + public function getYammerActive() + { + if (array_key_exists("yammerActive", $this->_propDict)) { + return $this->_propDict["yammerActive"]; + } else { + return null; + } + } + + /** + * Sets the yammerActive + * The number of active users on Yammer. Any user who can post, read, or like messages is considered an active user. + * + * @param int $val The yammerActive + * + * @return Office365ServicesUserCounts + */ + public function setYammerActive($val) + { + $this->_propDict["yammerActive"] = intval($val); + return $this; + } + + /** + * Gets the yammerInactive + * The number of inactive users on Yammer. + * + * @return int|null The yammerInactive + */ + public function getYammerInactive() + { + if (array_key_exists("yammerInactive", $this->_propDict)) { + return $this->_propDict["yammerInactive"]; + } else { + return null; + } + } + + /** + * Sets the yammerInactive + * The number of inactive users on Yammer. + * + * @param int $val The yammerInactive + * + * @return Office365ServicesUserCounts + */ + public function setYammerInactive($val) + { + $this->_propDict["yammerInactive"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php new file mode 100644 index 0000000..9e4e734 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php @@ -0,0 +1,283 @@ +_propDict)) { + return $this->_propDict["appliedPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appliedPolicies + * List of policies delivered to the device as last checkin. + * + * @param string $val The value of the appliedPolicies + * + * @return OfficeClientCheckinStatus + */ + public function setAppliedPolicies($val) + { + $this->_propDict["appliedPolicies"] = $val; + return $this; + } + + /** + * Gets the checkinDateTime + * Last device check-in time in UTC. + * + * @return \DateTime|null The checkinDateTime + */ + public function getCheckinDateTime() + { + if (array_key_exists("checkinDateTime", $this->_propDict)) { + if (is_a($this->_propDict["checkinDateTime"], "\DateTime") || is_null($this->_propDict["checkinDateTime"])) { + return $this->_propDict["checkinDateTime"]; + } else { + $this->_propDict["checkinDateTime"] = new \DateTime($this->_propDict["checkinDateTime"]); + return $this->_propDict["checkinDateTime"]; + } + } + return null; + } + + /** + * Sets the checkinDateTime + * Last device check-in time in UTC. + * + * @param \DateTime $val The value to assign to the checkinDateTime + * + * @return OfficeClientCheckinStatus The OfficeClientCheckinStatus + */ + public function setCheckinDateTime($val) + { + $this->_propDict["checkinDateTime"] = $val; + return $this; + } + /** + * Gets the deviceName + * Device name trying to check-in. + * + * @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 + * Device name trying to check-in. + * + * @param string $val The value of the deviceName + * + * @return OfficeClientCheckinStatus + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + /** + * Gets the devicePlatform + * Device platform trying to check-in. + * + * @return string|null The devicePlatform + */ + public function getDevicePlatform() + { + if (array_key_exists("devicePlatform", $this->_propDict)) { + return $this->_propDict["devicePlatform"]; + } else { + return null; + } + } + + /** + * Sets the devicePlatform + * Device platform trying to check-in. + * + * @param string $val The value of the devicePlatform + * + * @return OfficeClientCheckinStatus + */ + public function setDevicePlatform($val) + { + $this->_propDict["devicePlatform"] = $val; + return $this; + } + /** + * Gets the devicePlatformVersion + * Device platform version trying to check-in. + * + * @return string|null The devicePlatformVersion + */ + public function getDevicePlatformVersion() + { + if (array_key_exists("devicePlatformVersion", $this->_propDict)) { + return $this->_propDict["devicePlatformVersion"]; + } else { + return null; + } + } + + /** + * Sets the devicePlatformVersion + * Device platform version trying to check-in. + * + * @param string $val The value of the devicePlatformVersion + * + * @return OfficeClientCheckinStatus + */ + public function setDevicePlatformVersion($val) + { + $this->_propDict["devicePlatformVersion"] = $val; + return $this; + } + /** + * Gets the errorMessage + * Error message if any associated for the last checkin. + * + * @return string|null The errorMessage + */ + public function getErrorMessage() + { + if (array_key_exists("errorMessage", $this->_propDict)) { + return $this->_propDict["errorMessage"]; + } else { + return null; + } + } + + /** + * Sets the errorMessage + * Error message if any associated for the last checkin. + * + * @param string $val The value of the errorMessage + * + * @return OfficeClientCheckinStatus + */ + public function setErrorMessage($val) + { + $this->_propDict["errorMessage"] = $val; + return $this; + } + /** + * Gets the userId + * User identifier using the device. + * + * @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 + * User identifier using the device. + * + * @param string $val The value of the userId + * + * @return OfficeClientCheckinStatus + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * User principal name using the device. + * + * @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 + * User principal name using the device. + * + * @param string $val The value of the userPrincipalName + * + * @return OfficeClientCheckinStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + /** + * Gets the wasSuccessful + * If the last checkin was successful. + * + * @return bool|null The wasSuccessful + */ + public function getWasSuccessful() + { + if (array_key_exists("wasSuccessful", $this->_propDict)) { + return $this->_propDict["wasSuccessful"]; + } else { + return null; + } + } + + /** + * Sets the wasSuccessful + * If the last checkin was successful. + * + * @param bool $val The value of the wasSuccessful + * + * @return OfficeClientCheckinStatus + */ + public function setWasSuccessful($val) + { + $this->_propDict["wasSuccessful"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php new file mode 100644 index 0000000..a8e9e4a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php @@ -0,0 +1,273 @@ +_propDict)) { + return $this->_propDict["checkinStatuses"]; + } else { + return null; + } + } + + /** + * Sets the checkinStatuses + * List of office Client check-in status. + * + * @param OfficeClientCheckinStatus[] $val The checkinStatuses + * + * @return OfficeClientConfiguration + */ + public function setCheckinStatuses($val) + { + $this->_propDict["checkinStatuses"] = $val; + return $this; + } + + /** + * Gets the description + * Not yet documented + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Not yet documented + * + * @param string $val The description + * + * @return OfficeClientConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided description of the office client configuration policy. + * + * @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 + * Admin provided description of the office client configuration policy. + * + * @param string $val The displayName + * + * @return OfficeClientConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the policyPayload + * Policy settings JSON string in binary format, these values cannot be changed by the user. + * + * @return \GuzzleHttp\Psr7\Stream|null The policyPayload + */ + public function getPolicyPayload() + { + if (array_key_exists("policyPayload", $this->_propDict)) { + if (is_a($this->_propDict["policyPayload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["policyPayload"])) { + return $this->_propDict["policyPayload"]; + } else { + $this->_propDict["policyPayload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["policyPayload"]); + return $this->_propDict["policyPayload"]; + } + } + return null; + } + + /** + * Sets the policyPayload + * Policy settings JSON string in binary format, these values cannot be changed by the user. + * + * @param \GuzzleHttp\Psr7\Stream $val The policyPayload + * + * @return OfficeClientConfiguration + */ + public function setPolicyPayload($val) + { + $this->_propDict["policyPayload"] = $val; + return $this; + } + + /** + * Gets the priority + * Priority value should be unique value for each policy under a tenant and will be used for conflict resolution, lower values mean priority is high. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority value should be unique value for each policy under a tenant and will be used for conflict resolution, lower values mean priority is high. + * + * @param int $val The priority + * + * @return OfficeClientConfiguration + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the userCheckinSummary + * User check-in summary for the policy. + * + * @return OfficeUserCheckinSummary|null The userCheckinSummary + */ + public function getUserCheckinSummary() + { + if (array_key_exists("userCheckinSummary", $this->_propDict)) { + if (is_a($this->_propDict["userCheckinSummary"], "\Beta\Microsoft\Graph\Model\OfficeUserCheckinSummary") || is_null($this->_propDict["userCheckinSummary"])) { + return $this->_propDict["userCheckinSummary"]; + } else { + $this->_propDict["userCheckinSummary"] = new OfficeUserCheckinSummary($this->_propDict["userCheckinSummary"]); + return $this->_propDict["userCheckinSummary"]; + } + } + return null; + } + + /** + * Sets the userCheckinSummary + * User check-in summary for the policy. + * + * @param OfficeUserCheckinSummary $val The userCheckinSummary + * + * @return OfficeClientConfiguration + */ + public function setUserCheckinSummary($val) + { + $this->_propDict["userCheckinSummary"] = $val; + return $this; + } + + /** + * Gets the userPreferencePayload + * Preference settings JSON string in binary format, these values can be overridden by the user. + * + * @return \GuzzleHttp\Psr7\Stream|null The userPreferencePayload + */ + public function getUserPreferencePayload() + { + if (array_key_exists("userPreferencePayload", $this->_propDict)) { + if (is_a($this->_propDict["userPreferencePayload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["userPreferencePayload"])) { + return $this->_propDict["userPreferencePayload"]; + } else { + $this->_propDict["userPreferencePayload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["userPreferencePayload"]); + return $this->_propDict["userPreferencePayload"]; + } + } + return null; + } + + /** + * Sets the userPreferencePayload + * Preference settings JSON string in binary format, these values can be overridden by the user. + * + * @param \GuzzleHttp\Psr7\Stream $val The userPreferencePayload + * + * @return OfficeClientConfiguration + */ + public function setUserPreferencePayload($val) + { + $this->_propDict["userPreferencePayload"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the policy. + * + * @param OfficeClientConfigurationAssignment[] $val The assignments + * + * @return OfficeClientConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php new file mode 100644 index 0000000..778b2a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\OfficeConfigurationAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new OfficeConfigurationAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target assignment defined by the admin. + * + * @param OfficeConfigurationAssignmentTarget $val The target + * + * @return OfficeClientConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php new file mode 100644 index 0000000..ae46dc8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php @@ -0,0 +1,197 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the OfficeConfiguration + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the tenantCheckinStatuses + * List of office Client check-in status. + * + * @return array|null The tenantCheckinStatuses + */ + public function getTenantCheckinStatuses() + { + if (array_key_exists("tenantCheckinStatuses", $this->_propDict)) { + return $this->_propDict["tenantCheckinStatuses"]; + } else { + return null; + } + } + + /** + * Sets the tenantCheckinStatuses + * List of office Client check-in status. + * + * @param OfficeClientCheckinStatus[] $val The tenantCheckinStatuses + * + * @return OfficeConfiguration + */ + public function setTenantCheckinStatuses($val) + { + $this->_propDict["tenantCheckinStatuses"] = $val; + return $this; + } + + /** + * Gets the tenantUserCheckinSummary + * Entity that describes tenant check-in statues + * + * @return OfficeUserCheckinSummary|null The tenantUserCheckinSummary + */ + public function getTenantUserCheckinSummary() + { + if (array_key_exists("tenantUserCheckinSummary", $this->_propDict)) { + if (is_a($this->_propDict["tenantUserCheckinSummary"], "\Beta\Microsoft\Graph\Model\OfficeUserCheckinSummary") || is_null($this->_propDict["tenantUserCheckinSummary"])) { + return $this->_propDict["tenantUserCheckinSummary"]; + } else { + $this->_propDict["tenantUserCheckinSummary"] = new OfficeUserCheckinSummary($this->_propDict["tenantUserCheckinSummary"]); + return $this->_propDict["tenantUserCheckinSummary"]; + } + } + return null; + } + + /** + * Sets the tenantUserCheckinSummary + * Entity that describes tenant check-in statues + * + * @param OfficeUserCheckinSummary $val The tenantUserCheckinSummary + * + * @return OfficeConfiguration + */ + public function setTenantUserCheckinSummary($val) + { + $this->_propDict["tenantUserCheckinSummary"] = $val; + return $this; + } + + + /** + * Gets the clientConfigurations + * List of office Client configuration. + * + * @return array|null The clientConfigurations + */ + public function getClientConfigurations() + { + if (array_key_exists("clientConfigurations", $this->_propDict)) { + return $this->_propDict["clientConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the clientConfigurations + * List of office Client configuration. + * + * @param OfficeClientConfiguration[] $val The clientConfigurations + * + * @return OfficeConfiguration + */ + public function setClientConfigurations($val) + { + $this->_propDict["clientConfigurations"] = $val; + 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 OfficeConfiguration + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php new file mode 100644 index 0000000..15ec068 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.officeConfigurationGroupAssignmentTarget"); + } + + /** + * Gets the groupId + * The Id of the AAD group we are targeting the device configuration to. + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The Id of the AAD group we are targeting the device configuration to. + * + * @param string $val The value of the groupId + * + * @return OfficeConfigurationGroupAssignmentTarget + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeGraphInsights.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeGraphInsights.php new file mode 100644 index 0000000..dde3619 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeGraphInsights.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["shared"]; + } else { + return null; + } + } + + /** + * Sets the shared + * Access this property from the derived type itemInsights. + * + * @param SharedInsight[] $val The shared + * + * @return OfficeGraphInsights + */ + public function setShared($val) + { + $this->_propDict["shared"] = $val; + return $this; + } + + + /** + * Gets the trending + * Access this property from the derived type itemInsights. + * + * @return array|null The trending + */ + public function getTrending() + { + if (array_key_exists("trending", $this->_propDict)) { + return $this->_propDict["trending"]; + } else { + return null; + } + } + + /** + * Sets the trending + * Access this property from the derived type itemInsights. + * + * @param Trending[] $val The trending + * + * @return OfficeGraphInsights + */ + public function setTrending($val) + { + $this->_propDict["trending"] = $val; + return $this; + } + + + /** + * Gets the used + * Access this property from the derived type itemInsights. + * + * @return array|null The used + */ + public function getUsed() + { + if (array_key_exists("used", $this->_propDict)) { + return $this->_propDict["used"]; + } else { + return null; + } + } + + /** + * Sets the used + * Access this property from the derived type itemInsights. + * + * @param UsedInsight[] $val The used + * + * @return OfficeGraphInsights + */ + public function setUsed($val) + { + $this->_propDict["used"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeProductId.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeProductId.php new file mode 100644 index 0000000..a364113 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeProductId.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["autoAcceptEula"]; + } else { + return null; + } + } + + /** + * Sets the autoAcceptEula + * The value to accept the EULA automatically on the enduser's device. + * + * @param bool $val The autoAcceptEula + * + * @return OfficeSuiteApp + */ + public function setAutoAcceptEula($val) + { + $this->_propDict["autoAcceptEula"] = boolval($val); + return $this; + } + + /** + * Gets the excludedApps + * The property to represent the apps which are excluded from the selected Office365 Product Id. + * + * @return ExcludedApps|null The excludedApps + */ + public function getExcludedApps() + { + if (array_key_exists("excludedApps", $this->_propDict)) { + if (is_a($this->_propDict["excludedApps"], "\Beta\Microsoft\Graph\Model\ExcludedApps") || is_null($this->_propDict["excludedApps"])) { + return $this->_propDict["excludedApps"]; + } else { + $this->_propDict["excludedApps"] = new ExcludedApps($this->_propDict["excludedApps"]); + return $this->_propDict["excludedApps"]; + } + } + return null; + } + + /** + * Sets the excludedApps + * The property to represent the apps which are excluded from the selected Office365 Product Id. + * + * @param ExcludedApps $val The excludedApps + * + * @return OfficeSuiteApp + */ + public function setExcludedApps($val) + { + $this->_propDict["excludedApps"] = $val; + return $this; + } + + /** + * Gets the installProgressDisplayLevel + * To specify the level of display for the Installation Progress Setup UI on the Device. Possible values are: none, full. + * + * @return OfficeSuiteInstallProgressDisplayLevel|null The installProgressDisplayLevel + */ + public function getInstallProgressDisplayLevel() + { + if (array_key_exists("installProgressDisplayLevel", $this->_propDict)) { + if (is_a($this->_propDict["installProgressDisplayLevel"], "\Beta\Microsoft\Graph\Model\OfficeSuiteInstallProgressDisplayLevel") || is_null($this->_propDict["installProgressDisplayLevel"])) { + return $this->_propDict["installProgressDisplayLevel"]; + } else { + $this->_propDict["installProgressDisplayLevel"] = new OfficeSuiteInstallProgressDisplayLevel($this->_propDict["installProgressDisplayLevel"]); + return $this->_propDict["installProgressDisplayLevel"]; + } + } + return null; + } + + /** + * Sets the installProgressDisplayLevel + * To specify the level of display for the Installation Progress Setup UI on the Device. Possible values are: none, full. + * + * @param OfficeSuiteInstallProgressDisplayLevel $val The installProgressDisplayLevel + * + * @return OfficeSuiteApp + */ + public function setInstallProgressDisplayLevel($val) + { + $this->_propDict["installProgressDisplayLevel"] = $val; + return $this; + } + + /** + * Gets the localesToInstall + * The property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet.microsoft.com/library/cc179219(v=office.16).aspx + * + * @return string|null The localesToInstall + */ + public function getLocalesToInstall() + { + if (array_key_exists("localesToInstall", $this->_propDict)) { + return $this->_propDict["localesToInstall"]; + } else { + return null; + } + } + + /** + * Sets the localesToInstall + * The property to represent the locales which are installed when the apps from Office365 is installed. It uses standard RFC 6033. Ref: https://technet.microsoft.com/library/cc179219(v=office.16).aspx + * + * @param string $val The localesToInstall + * + * @return OfficeSuiteApp + */ + public function setLocalesToInstall($val) + { + $this->_propDict["localesToInstall"] = $val; + return $this; + } + + /** + * Gets the officeConfigurationXml + * The property to represent the XML configuration file that can be specified for Office ProPlus Apps. Takes precedence over all other properties. When present, the XML configuration file will be used to create the app. + * + * @return \GuzzleHttp\Psr7\Stream|null The officeConfigurationXml + */ + public function getOfficeConfigurationXml() + { + if (array_key_exists("officeConfigurationXml", $this->_propDict)) { + if (is_a($this->_propDict["officeConfigurationXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["officeConfigurationXml"])) { + return $this->_propDict["officeConfigurationXml"]; + } else { + $this->_propDict["officeConfigurationXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["officeConfigurationXml"]); + return $this->_propDict["officeConfigurationXml"]; + } + } + return null; + } + + /** + * Sets the officeConfigurationXml + * The property to represent the XML configuration file that can be specified for Office ProPlus Apps. Takes precedence over all other properties. When present, the XML configuration file will be used to create the app. + * + * @param \GuzzleHttp\Psr7\Stream $val The officeConfigurationXml + * + * @return OfficeSuiteApp + */ + public function setOfficeConfigurationXml($val) + { + $this->_propDict["officeConfigurationXml"] = $val; + return $this; + } + + /** + * Gets the officePlatformArchitecture + * The property to represent the Office365 app suite version. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @return WindowsArchitecture|null The officePlatformArchitecture + */ + public function getOfficePlatformArchitecture() + { + if (array_key_exists("officePlatformArchitecture", $this->_propDict)) { + if (is_a($this->_propDict["officePlatformArchitecture"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["officePlatformArchitecture"])) { + return $this->_propDict["officePlatformArchitecture"]; + } else { + $this->_propDict["officePlatformArchitecture"] = new WindowsArchitecture($this->_propDict["officePlatformArchitecture"]); + return $this->_propDict["officePlatformArchitecture"]; + } + } + return null; + } + + /** + * Sets the officePlatformArchitecture + * The property to represent the Office365 app suite version. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The officePlatformArchitecture + * + * @return OfficeSuiteApp + */ + public function setOfficePlatformArchitecture($val) + { + $this->_propDict["officePlatformArchitecture"] = $val; + return $this; + } + + + /** + * Gets the productIds + * The Product Ids that represent the Office365 Suite SKU. + * + * @return array|null The productIds + */ + public function getProductIds() + { + if (array_key_exists("productIds", $this->_propDict)) { + return $this->_propDict["productIds"]; + } else { + return null; + } + } + + /** + * Sets the productIds + * The Product Ids that represent the Office365 Suite SKU. + * + * @param OfficeProductId[] $val The productIds + * + * @return OfficeSuiteApp + */ + public function setProductIds($val) + { + $this->_propDict["productIds"] = $val; + return $this; + } + + /** + * Gets the shouldUninstallOlderVersionsOfOffice + * The property to determine whether to uninstall existing Office MSI if an Office365 app suite is deployed to the device or not. + * + * @return bool|null The shouldUninstallOlderVersionsOfOffice + */ + public function getShouldUninstallOlderVersionsOfOffice() + { + if (array_key_exists("shouldUninstallOlderVersionsOfOffice", $this->_propDict)) { + return $this->_propDict["shouldUninstallOlderVersionsOfOffice"]; + } else { + return null; + } + } + + /** + * Sets the shouldUninstallOlderVersionsOfOffice + * The property to determine whether to uninstall existing Office MSI if an Office365 app suite is deployed to the device or not. + * + * @param bool $val The shouldUninstallOlderVersionsOfOffice + * + * @return OfficeSuiteApp + */ + public function setShouldUninstallOlderVersionsOfOffice($val) + { + $this->_propDict["shouldUninstallOlderVersionsOfOffice"] = boolval($val); + return $this; + } + + /** + * Gets the targetVersion + * The property to represent the specific target version for the Office365 app suite that should be remained deployed on the devices. + * + * @return string|null The targetVersion + */ + public function getTargetVersion() + { + if (array_key_exists("targetVersion", $this->_propDict)) { + return $this->_propDict["targetVersion"]; + } else { + return null; + } + } + + /** + * Sets the targetVersion + * The property to represent the specific target version for the Office365 app suite that should be remained deployed on the devices. + * + * @param string $val The targetVersion + * + * @return OfficeSuiteApp + */ + public function setTargetVersion($val) + { + $this->_propDict["targetVersion"] = $val; + return $this; + } + + /** + * Gets the updateChannel + * The property to represent the Office365 Update Channel. Possible values are: none, current, deferred, firstReleaseCurrent, firstReleaseDeferred, monthlyEnterprise. + * + * @return OfficeUpdateChannel|null The updateChannel + */ + public function getUpdateChannel() + { + if (array_key_exists("updateChannel", $this->_propDict)) { + if (is_a($this->_propDict["updateChannel"], "\Beta\Microsoft\Graph\Model\OfficeUpdateChannel") || is_null($this->_propDict["updateChannel"])) { + return $this->_propDict["updateChannel"]; + } else { + $this->_propDict["updateChannel"] = new OfficeUpdateChannel($this->_propDict["updateChannel"]); + return $this->_propDict["updateChannel"]; + } + } + return null; + } + + /** + * Sets the updateChannel + * The property to represent the Office365 Update Channel. Possible values are: none, current, deferred, firstReleaseCurrent, firstReleaseDeferred, monthlyEnterprise. + * + * @param OfficeUpdateChannel $val The updateChannel + * + * @return OfficeSuiteApp + */ + public function setUpdateChannel($val) + { + $this->_propDict["updateChannel"] = $val; + return $this; + } + + /** + * Gets the updateVersion + * The property to represent the update version in which the specific target version is available for the Office365 app suite. + * + * @return string|null The updateVersion + */ + public function getUpdateVersion() + { + if (array_key_exists("updateVersion", $this->_propDict)) { + return $this->_propDict["updateVersion"]; + } else { + return null; + } + } + + /** + * Sets the updateVersion + * The property to represent the update version in which the specific target version is available for the Office365 app suite. + * + * @param string $val The updateVersion + * + * @return OfficeSuiteApp + */ + public function setUpdateVersion($val) + { + $this->_propDict["updateVersion"] = $val; + return $this; + } + + /** + * Gets the useSharedComputerActivation + * The property to represent that whether the shared computer activation is used not for Office365 app suite. + * + * @return bool|null The useSharedComputerActivation + */ + public function getUseSharedComputerActivation() + { + if (array_key_exists("useSharedComputerActivation", $this->_propDict)) { + return $this->_propDict["useSharedComputerActivation"]; + } else { + return null; + } + } + + /** + * Sets the useSharedComputerActivation + * The property to represent that whether the shared computer activation is used not for Office365 app suite. + * + * @param bool $val The useSharedComputerActivation + * + * @return OfficeSuiteApp + */ + public function setUseSharedComputerActivation($val) + { + $this->_propDict["useSharedComputerActivation"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeSuiteInstallProgressDisplayLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeSuiteInstallProgressDisplayLevel.php new file mode 100644 index 0000000..8cac395 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeSuiteInstallProgressDisplayLevel.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["failedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the failedUserCount + * Total failed user check ins for the last 3 months. + * + * @param int $val The value of the failedUserCount + * + * @return OfficeUserCheckinSummary + */ + public function setFailedUserCount($val) + { + $this->_propDict["failedUserCount"] = $val; + return $this; + } + /** + * Gets the succeededUserCount + * Total successful user check ins for the last 3 months. + * + * @return int|null The succeededUserCount + */ + public function getSucceededUserCount() + { + if (array_key_exists("succeededUserCount", $this->_propDict)) { + return $this->_propDict["succeededUserCount"]; + } else { + return null; + } + } + + /** + * Sets the succeededUserCount + * Total successful user check ins for the last 3 months. + * + * @param int $val The value of the succeededUserCount + * + * @return OfficeUserCheckinSummary + */ + public function setSucceededUserCount($val) + { + $this->_propDict["succeededUserCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSetting.php new file mode 100644 index 0000000..62d094b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSetting.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description. + * + * @param string $val The value of the description + * + * @return OmaSetting + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Display Name. + * + * @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 + * Display Name. + * + * @param string $val The value of the displayName + * + * @return OmaSetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the isEncrypted + * Indicates whether the value field is encrypted. This property is read-only. + * + * @return bool|null The isEncrypted + */ + public function getIsEncrypted() + { + if (array_key_exists("isEncrypted", $this->_propDict)) { + return $this->_propDict["isEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the isEncrypted + * Indicates whether the value field is encrypted. This property is read-only. + * + * @param bool $val The value of the isEncrypted + * + * @return OmaSetting + */ + public function setIsEncrypted($val) + { + $this->_propDict["isEncrypted"] = $val; + return $this; + } + /** + * Gets the omaUri + * OMA. + * + * @return string|null The omaUri + */ + public function getOmaUri() + { + if (array_key_exists("omaUri", $this->_propDict)) { + return $this->_propDict["omaUri"]; + } else { + return null; + } + } + + /** + * Sets the omaUri + * OMA. + * + * @param string $val The value of the omaUri + * + * @return OmaSetting + */ + public function setOmaUri($val) + { + $this->_propDict["omaUri"] = $val; + return $this; + } + /** + * Gets the secretReferenceValueId + * ReferenceId for looking up secret for decryption. This property is read-only. + * + * @return string|null The secretReferenceValueId + */ + public function getSecretReferenceValueId() + { + if (array_key_exists("secretReferenceValueId", $this->_propDict)) { + return $this->_propDict["secretReferenceValueId"]; + } else { + return null; + } + } + + /** + * Sets the secretReferenceValueId + * ReferenceId for looking up secret for decryption. This property is read-only. + * + * @param string $val The value of the secretReferenceValueId + * + * @return OmaSetting + */ + public function setSecretReferenceValueId($val) + { + $this->_propDict["secretReferenceValueId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBase64.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBase64.php new file mode 100644 index 0000000..8785cf7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBase64.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.omaSettingBase64"); + } + + /** + * Gets the fileName + * File name associated with the Value property (.cer + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * File name associated with the Value property (.cer + * + * @param string $val The value of the fileName + * + * @return OmaSettingBase64 + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + /** + * Gets the value + * Value. (Base64 encoded string) + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. (Base64 encoded string) + * + * @param string $val The value of the value + * + * @return OmaSettingBase64 + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBoolean.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBoolean.php new file mode 100644 index 0000000..c9dcd78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBoolean.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingBoolean"); + } + + /** + * Gets the value + * Value. + * + * @return bool|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param bool $val The value of the value + * + * @return OmaSettingBoolean + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingDateTime.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingDateTime.php new file mode 100644 index 0000000..2e46885 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingDateTime.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.omaSettingDateTime"); + } + + + /** + * Gets the value + * Value. + * + * @return \DateTime|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\DateTime") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new \DateTime($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * Value. + * + * @param \DateTime $val The value to assign to the value + * + * @return OmaSettingDateTime The OmaSettingDateTime + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingFloatingPoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingFloatingPoint.php new file mode 100644 index 0000000..51806c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingFloatingPoint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingFloatingPoint"); + } + + /** + * Gets the value + * Value. + * + * @return float|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param float $val The value of the value + * + * @return OmaSettingFloatingPoint + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingInteger.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingInteger.php new file mode 100644 index 0000000..db0636d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingInteger.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.omaSettingInteger"); + } + + /** + * Gets the isReadOnly + * By setting to true, the CSP (configuration service provider) specified in the OMA-URI will perform a get, instead of set + * + * @return bool|null The isReadOnly + */ + public function getIsReadOnly() + { + if (array_key_exists("isReadOnly", $this->_propDict)) { + return $this->_propDict["isReadOnly"]; + } else { + return null; + } + } + + /** + * Sets the isReadOnly + * By setting to true, the CSP (configuration service provider) specified in the OMA-URI will perform a get, instead of set + * + * @param bool $val The value of the isReadOnly + * + * @return OmaSettingInteger + */ + public function setIsReadOnly($val) + { + $this->_propDict["isReadOnly"] = $val; + return $this; + } + /** + * Gets the value + * Value. + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param int $val The value of the value + * + * @return OmaSettingInteger + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingString.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingString.php new file mode 100644 index 0000000..3f3f11a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingString.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingString"); + } + + /** + * Gets the value + * Value. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param string $val The value of the value + * + * @return OmaSettingString + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingStringXml.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingStringXml.php new file mode 100644 index 0000000..762c3b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingStringXml.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.omaSettingStringXml"); + } + + /** + * Gets the fileName + * File name associated with the Value property (.xml). + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * File name associated with the Value property (.xml). + * + * @param string $val The value of the fileName + * + * @return OmaSettingStringXml + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the value + * Value. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * Value. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the value + * + * @return OmaSettingStringXml The OmaSettingStringXml + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php new file mode 100644 index 0000000..5eb9c3a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["externalIp"]; + } else { + return null; + } + } + + /** + * Sets the externalIp + * The external IP address as detected by the service for the agent machine. Read-only + * + * @param string $val The externalIp + * + * @return OnPremisesAgent + */ + public function setExternalIp($val) + { + $this->_propDict["externalIp"] = $val; + return $this; + } + + /** + * Gets the machineName + * The name of the machine that the aggent is running on. Read-only + * + * @return string|null The machineName + */ + public function getMachineName() + { + if (array_key_exists("machineName", $this->_propDict)) { + return $this->_propDict["machineName"]; + } else { + return null; + } + } + + /** + * Sets the machineName + * The name of the machine that the aggent is running on. Read-only + * + * @param string $val The machineName + * + * @return OnPremisesAgent + */ + public function setMachineName($val) + { + $this->_propDict["machineName"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: active, inactive. + * + * @return AgentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AgentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AgentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: active, inactive. + * + * @param AgentStatus $val The status + * + * @return OnPremisesAgent + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the supportedPublishingTypes + * + * @return array|null The supportedPublishingTypes + */ + public function getSupportedPublishingTypes() + { + if (array_key_exists("supportedPublishingTypes", $this->_propDict)) { + return $this->_propDict["supportedPublishingTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedPublishingTypes + * + * @param OnPremisesPublishingType[] $val The supportedPublishingTypes + * + * @return OnPremisesAgent + */ + public function setSupportedPublishingTypes($val) + { + $this->_propDict["supportedPublishingTypes"] = $val; + return $this; + } + + + /** + * Gets the agentGroups + * List of onPremisesAgentGroups that an onPremisesAgent is assigned to. Read-only. Nullable. + * + * @return array|null The agentGroups + */ + public function getAgentGroups() + { + if (array_key_exists("agentGroups", $this->_propDict)) { + return $this->_propDict["agentGroups"]; + } else { + return null; + } + } + + /** + * Sets the agentGroups + * List of onPremisesAgentGroups that an onPremisesAgent is assigned to. Read-only. Nullable. + * + * @param OnPremisesAgentGroup[] $val The agentGroups + * + * @return OnPremisesAgent + */ + public function setAgentGroups($val) + { + $this->_propDict["agentGroups"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgentGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgentGroup.php new file mode 100644 index 0000000..ed307b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgentGroup.php @@ -0,0 +1,178 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the onPremisesAgentGroup. + * + * @param string $val The displayName + * + * @return OnPremisesAgentGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isDefault + * Indicates if the onPremisesAgentGroup is the default agent group. Only a single agent group can be the default onPremisesAgentGroup and is set by the system. + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates if the onPremisesAgentGroup is the default agent group. Only a single agent group can be the default onPremisesAgentGroup and is set by the system. + * + * @param bool $val The isDefault + * + * @return OnPremisesAgentGroup + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the publishingType + * Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. + * + * @return OnPremisesPublishingType|null The publishingType + */ + public function getPublishingType() + { + if (array_key_exists("publishingType", $this->_propDict)) { + if (is_a($this->_propDict["publishingType"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingType") || is_null($this->_propDict["publishingType"])) { + return $this->_propDict["publishingType"]; + } else { + $this->_propDict["publishingType"] = new OnPremisesPublishingType($this->_propDict["publishingType"]); + return $this->_propDict["publishingType"]; + } + } + return null; + } + + /** + * Sets the publishingType + * Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. + * + * @param OnPremisesPublishingType $val The publishingType + * + * @return OnPremisesAgentGroup + */ + public function setPublishingType($val) + { + $this->_propDict["publishingType"] = $val; + return $this; + } + + + /** + * Gets the agents + * List of onPremisesAgent that are assigned to an onPremisesAgentGroup. Read-only. Nullable. + * + * @return array|null The agents + */ + public function getAgents() + { + if (array_key_exists("agents", $this->_propDict)) { + return $this->_propDict["agents"]; + } else { + return null; + } + } + + /** + * Sets the agents + * List of onPremisesAgent that are assigned to an onPremisesAgentGroup. Read-only. Nullable. + * + * @param OnPremisesAgent[] $val The agents + * + * @return OnPremisesAgentGroup + */ + public function setAgents($val) + { + $this->_propDict["agents"] = $val; + return $this; + } + + + /** + * Gets the publishedResources + * List of publishedResource that are assigned to an onPremisesAgentGroup. Read-only. Nullable. + * + * @return array|null The publishedResources + */ + public function getPublishedResources() + { + if (array_key_exists("publishedResources", $this->_propDict)) { + return $this->_propDict["publishedResources"]; + } else { + return null; + } + } + + /** + * Sets the publishedResources + * List of publishedResource that are assigned to an onPremisesAgentGroup. Read-only. Nullable. + * + * @param PublishedResource[] $val The publishedResources + * + * @return OnPremisesAgentGroup + */ + public function setPublishedResources($val) + { + $this->_propDict["publishedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesApplicationSegment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesApplicationSegment.php new file mode 100644 index 0000000..154b5ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesApplicationSegment.php @@ -0,0 +1,135 @@ +_propDict)) { + return $this->_propDict["alternateUrl"]; + } else { + return null; + } + } + + /** + * Sets the alternateUrl + * + * @param string $val The value of the alternateUrl + * + * @return OnPremisesApplicationSegment + */ + public function setAlternateUrl($val) + { + $this->_propDict["alternateUrl"] = $val; + return $this; + } + + /** + * Gets the corsConfigurations + * + * @return CorsConfiguration|null The corsConfigurations + */ + public function getCorsConfigurations() + { + if (array_key_exists("corsConfigurations", $this->_propDict)) { + if (is_a($this->_propDict["corsConfigurations"], "\Beta\Microsoft\Graph\Model\CorsConfiguration") || is_null($this->_propDict["corsConfigurations"])) { + return $this->_propDict["corsConfigurations"]; + } else { + $this->_propDict["corsConfigurations"] = new CorsConfiguration($this->_propDict["corsConfigurations"]); + return $this->_propDict["corsConfigurations"]; + } + } + return null; + } + + /** + * Sets the corsConfigurations + * + * @param CorsConfiguration $val The value to assign to the corsConfigurations + * + * @return OnPremisesApplicationSegment The OnPremisesApplicationSegment + */ + public function setCorsConfigurations($val) + { + $this->_propDict["corsConfigurations"] = $val; + return $this; + } + /** + * Gets the externalUrl + * + * @return string|null The externalUrl + */ + public function getExternalUrl() + { + if (array_key_exists("externalUrl", $this->_propDict)) { + return $this->_propDict["externalUrl"]; + } else { + return null; + } + } + + /** + * Sets the externalUrl + * + * @param string $val The value of the externalUrl + * + * @return OnPremisesApplicationSegment + */ + public function setExternalUrl($val) + { + $this->_propDict["externalUrl"] = $val; + return $this; + } + /** + * Gets the internalUrl + * + * @return string|null The internalUrl + */ + public function getInternalUrl() + { + if (array_key_exists("internalUrl", $this->_propDict)) { + return $this->_propDict["internalUrl"]; + } else { + return null; + } + } + + /** + * Sets the internalUrl + * + * @param string $val The value of the internalUrl + * + * @return OnPremisesApplicationSegment + */ + public function setInternalUrl($val) + { + $this->_propDict["internalUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesConditionalAccessSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesConditionalAccessSettings.php new file mode 100644 index 0000000..c150b0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesConditionalAccessSettings.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates if on premises conditional access is enabled for this organization + * + * @param bool $val The enabled + * + * @return OnPremisesConditionalAccessSettings + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the excludedGroups + * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. + * + * @return string|null The excludedGroups + */ + public function getExcludedGroups() + { + if (array_key_exists("excludedGroups", $this->_propDict)) { + return $this->_propDict["excludedGroups"]; + } else { + return null; + } + } + + /** + * Sets the excludedGroups + * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. + * + * @param string $val The excludedGroups + * + * @return OnPremisesConditionalAccessSettings + */ + public function setExcludedGroups($val) + { + $this->_propDict["excludedGroups"] = $val; + return $this; + } + + /** + * Gets the includedGroups + * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. + * + * @return string|null The includedGroups + */ + public function getIncludedGroups() + { + if (array_key_exists("includedGroups", $this->_propDict)) { + return $this->_propDict["includedGroups"]; + } else { + return null; + } + } + + /** + * Sets the includedGroups + * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. + * + * @param string $val The includedGroups + * + * @return OnPremisesConditionalAccessSettings + */ + public function setIncludedGroups($val) + { + $this->_propDict["includedGroups"] = $val; + return $this; + } + + /** + * Gets the overrideDefaultRule + * Override the default access rule when allowing a device to ensure access is granted. + * + * @return bool|null The overrideDefaultRule + */ + public function getOverrideDefaultRule() + { + if (array_key_exists("overrideDefaultRule", $this->_propDict)) { + return $this->_propDict["overrideDefaultRule"]; + } else { + return null; + } + } + + /** + * Sets the overrideDefaultRule + * Override the default access rule when allowing a device to ensure access is granted. + * + * @param bool $val The overrideDefaultRule + * + * @return OnPremisesConditionalAccessSettings + */ + public function setOverrideDefaultRule($val) + { + $this->_propDict["overrideDefaultRule"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesExtensionAttributes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesExtensionAttributes.php new file mode 100644 index 0000000..74a564f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesExtensionAttributes.php @@ -0,0 +1,446 @@ +_propDict)) { + return $this->_propDict["extensionAttribute1"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute1 + * First customizable extension attribute. + * + * @param string $val The value of the extensionAttribute1 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute1($val) + { + $this->_propDict["extensionAttribute1"] = $val; + return $this; + } + /** + * Gets the extensionAttribute10 + * Tenth customizable extension attribute. + * + * @return string|null The extensionAttribute10 + */ + public function getExtensionAttribute10() + { + if (array_key_exists("extensionAttribute10", $this->_propDict)) { + return $this->_propDict["extensionAttribute10"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute10 + * Tenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute10 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute10($val) + { + $this->_propDict["extensionAttribute10"] = $val; + return $this; + } + /** + * Gets the extensionAttribute11 + * Eleventh customizable extension attribute. + * + * @return string|null The extensionAttribute11 + */ + public function getExtensionAttribute11() + { + if (array_key_exists("extensionAttribute11", $this->_propDict)) { + return $this->_propDict["extensionAttribute11"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute11 + * Eleventh customizable extension attribute. + * + * @param string $val The value of the extensionAttribute11 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute11($val) + { + $this->_propDict["extensionAttribute11"] = $val; + return $this; + } + /** + * Gets the extensionAttribute12 + * Twelfth customizable extension attribute. + * + * @return string|null The extensionAttribute12 + */ + public function getExtensionAttribute12() + { + if (array_key_exists("extensionAttribute12", $this->_propDict)) { + return $this->_propDict["extensionAttribute12"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute12 + * Twelfth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute12 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute12($val) + { + $this->_propDict["extensionAttribute12"] = $val; + return $this; + } + /** + * Gets the extensionAttribute13 + * Thirteenth customizable extension attribute. + * + * @return string|null The extensionAttribute13 + */ + public function getExtensionAttribute13() + { + if (array_key_exists("extensionAttribute13", $this->_propDict)) { + return $this->_propDict["extensionAttribute13"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute13 + * Thirteenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute13 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute13($val) + { + $this->_propDict["extensionAttribute13"] = $val; + return $this; + } + /** + * Gets the extensionAttribute14 + * Fourteenth customizable extension attribute. + * + * @return string|null The extensionAttribute14 + */ + public function getExtensionAttribute14() + { + if (array_key_exists("extensionAttribute14", $this->_propDict)) { + return $this->_propDict["extensionAttribute14"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute14 + * Fourteenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute14 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute14($val) + { + $this->_propDict["extensionAttribute14"] = $val; + return $this; + } + /** + * Gets the extensionAttribute15 + * Fifteenth customizable extension attribute. + * + * @return string|null The extensionAttribute15 + */ + public function getExtensionAttribute15() + { + if (array_key_exists("extensionAttribute15", $this->_propDict)) { + return $this->_propDict["extensionAttribute15"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute15 + * Fifteenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute15 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute15($val) + { + $this->_propDict["extensionAttribute15"] = $val; + return $this; + } + /** + * Gets the extensionAttribute2 + * Second customizable extension attribute. + * + * @return string|null The extensionAttribute2 + */ + public function getExtensionAttribute2() + { + if (array_key_exists("extensionAttribute2", $this->_propDict)) { + return $this->_propDict["extensionAttribute2"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute2 + * Second customizable extension attribute. + * + * @param string $val The value of the extensionAttribute2 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute2($val) + { + $this->_propDict["extensionAttribute2"] = $val; + return $this; + } + /** + * Gets the extensionAttribute3 + * Third customizable extension attribute. + * + * @return string|null The extensionAttribute3 + */ + public function getExtensionAttribute3() + { + if (array_key_exists("extensionAttribute3", $this->_propDict)) { + return $this->_propDict["extensionAttribute3"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute3 + * Third customizable extension attribute. + * + * @param string $val The value of the extensionAttribute3 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute3($val) + { + $this->_propDict["extensionAttribute3"] = $val; + return $this; + } + /** + * Gets the extensionAttribute4 + * Fourth customizable extension attribute. + * + * @return string|null The extensionAttribute4 + */ + public function getExtensionAttribute4() + { + if (array_key_exists("extensionAttribute4", $this->_propDict)) { + return $this->_propDict["extensionAttribute4"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute4 + * Fourth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute4 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute4($val) + { + $this->_propDict["extensionAttribute4"] = $val; + return $this; + } + /** + * Gets the extensionAttribute5 + * Fifth customizable extension attribute. + * + * @return string|null The extensionAttribute5 + */ + public function getExtensionAttribute5() + { + if (array_key_exists("extensionAttribute5", $this->_propDict)) { + return $this->_propDict["extensionAttribute5"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute5 + * Fifth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute5 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute5($val) + { + $this->_propDict["extensionAttribute5"] = $val; + return $this; + } + /** + * Gets the extensionAttribute6 + * Sixth customizable extension attribute. + * + * @return string|null The extensionAttribute6 + */ + public function getExtensionAttribute6() + { + if (array_key_exists("extensionAttribute6", $this->_propDict)) { + return $this->_propDict["extensionAttribute6"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute6 + * Sixth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute6 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute6($val) + { + $this->_propDict["extensionAttribute6"] = $val; + return $this; + } + /** + * Gets the extensionAttribute7 + * Seventh customizable extension attribute. + * + * @return string|null The extensionAttribute7 + */ + public function getExtensionAttribute7() + { + if (array_key_exists("extensionAttribute7", $this->_propDict)) { + return $this->_propDict["extensionAttribute7"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute7 + * Seventh customizable extension attribute. + * + * @param string $val The value of the extensionAttribute7 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute7($val) + { + $this->_propDict["extensionAttribute7"] = $val; + return $this; + } + /** + * Gets the extensionAttribute8 + * Eighth customizable extension attribute. + * + * @return string|null The extensionAttribute8 + */ + public function getExtensionAttribute8() + { + if (array_key_exists("extensionAttribute8", $this->_propDict)) { + return $this->_propDict["extensionAttribute8"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute8 + * Eighth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute8 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute8($val) + { + $this->_propDict["extensionAttribute8"] = $val; + return $this; + } + /** + * Gets the extensionAttribute9 + * Ninth customizable extension attribute. + * + * @return string|null The extensionAttribute9 + */ + public function getExtensionAttribute9() + { + if (array_key_exists("extensionAttribute9", $this->_propDict)) { + return $this->_propDict["extensionAttribute9"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute9 + * Ninth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute9 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute9($val) + { + $this->_propDict["extensionAttribute9"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesProvisioningError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesProvisioningError.php new file mode 100644 index 0000000..7c3ab09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesProvisioningError.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property. + * + * @param string $val The value of the category + * + * @return OnPremisesProvisioningError + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the occurredDateTime + * The date and time at which the error occurred. + * + * @return \DateTime|null The occurredDateTime + */ + public function getOccurredDateTime() + { + if (array_key_exists("occurredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["occurredDateTime"], "\DateTime") || is_null($this->_propDict["occurredDateTime"])) { + return $this->_propDict["occurredDateTime"]; + } else { + $this->_propDict["occurredDateTime"] = new \DateTime($this->_propDict["occurredDateTime"]); + return $this->_propDict["occurredDateTime"]; + } + } + return null; + } + + /** + * Sets the occurredDateTime + * The date and time at which the error occurred. + * + * @param \DateTime $val The value to assign to the occurredDateTime + * + * @return OnPremisesProvisioningError The OnPremisesProvisioningError + */ + public function setOccurredDateTime($val) + { + $this->_propDict["occurredDateTime"] = $val; + return $this; + } + /** + * Gets the propertyCausingError + * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress + * + * @return string|null The propertyCausingError + */ + public function getPropertyCausingError() + { + if (array_key_exists("propertyCausingError", $this->_propDict)) { + return $this->_propDict["propertyCausingError"]; + } else { + return null; + } + } + + /** + * Sets the propertyCausingError + * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress + * + * @param string $val The value of the propertyCausingError + * + * @return OnPremisesProvisioningError + */ + public function setPropertyCausingError($val) + { + $this->_propDict["propertyCausingError"] = $val; + return $this; + } + /** + * Gets the value + * Value of the property causing the error. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the property causing the error. + * + * @param string $val The value of the value + * + * @return OnPremisesProvisioningError + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php new file mode 100644 index 0000000..2dbbbe8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php @@ -0,0 +1,612 @@ +_propDict)) { + return $this->_propDict["alternateUrl"]; + } else { + return null; + } + } + + /** + * Sets the alternateUrl + * If you are configuring a traffic manager in front of multiple App Proxy applications, the alternateUrl is the user-friendly URL that will point to the traffic manager. + * + * @param string $val The value of the alternateUrl + * + * @return OnPremisesPublishing + */ + public function setAlternateUrl($val) + { + $this->_propDict["alternateUrl"] = $val; + return $this; + } + /** + * Gets the applicationServerTimeout + * The duration the connector will wait for a response from the backend application before closing the connection. Possible values are default, long. When set to default, the backend application timeout has a length of 85 seconds. When set to long, the backend timeout is increased to 180 seconds. Use long if your server takes more than 85 seconds to respond to requests or if you are unable to access the application and the error status is 'Backend Timeout'. Default value is default. + * + * @return string|null The applicationServerTimeout + */ + public function getApplicationServerTimeout() + { + if (array_key_exists("applicationServerTimeout", $this->_propDict)) { + return $this->_propDict["applicationServerTimeout"]; + } else { + return null; + } + } + + /** + * Sets the applicationServerTimeout + * The duration the connector will wait for a response from the backend application before closing the connection. Possible values are default, long. When set to default, the backend application timeout has a length of 85 seconds. When set to long, the backend timeout is increased to 180 seconds. Use long if your server takes more than 85 seconds to respond to requests or if you are unable to access the application and the error status is 'Backend Timeout'. Default value is default. + * + * @param string $val The value of the applicationServerTimeout + * + * @return OnPremisesPublishing + */ + public function setApplicationServerTimeout($val) + { + $this->_propDict["applicationServerTimeout"] = $val; + return $this; + } + /** + * Gets the applicationType + * Indicates if this application is an Application Proxy configured application. This is pre-set by the system. Read-only. + * + * @return string|null The applicationType + */ + public function getApplicationType() + { + if (array_key_exists("applicationType", $this->_propDict)) { + return $this->_propDict["applicationType"]; + } else { + return null; + } + } + + /** + * Sets the applicationType + * Indicates if this application is an Application Proxy configured application. This is pre-set by the system. Read-only. + * + * @param string $val The value of the applicationType + * + * @return OnPremisesPublishing + */ + public function setApplicationType($val) + { + $this->_propDict["applicationType"] = $val; + return $this; + } + + /** + * Gets the externalAuthenticationType + * Details the pre-authentication setting for the application. Pre-authentication enforces that users must authenticate before accessing the app. Passthru does not require authentication. Possible values are: passthru, aadPreAuthentication. + * + * @return ExternalAuthenticationType|null The externalAuthenticationType + */ + public function getExternalAuthenticationType() + { + if (array_key_exists("externalAuthenticationType", $this->_propDict)) { + if (is_a($this->_propDict["externalAuthenticationType"], "\Beta\Microsoft\Graph\Model\ExternalAuthenticationType") || is_null($this->_propDict["externalAuthenticationType"])) { + return $this->_propDict["externalAuthenticationType"]; + } else { + $this->_propDict["externalAuthenticationType"] = new ExternalAuthenticationType($this->_propDict["externalAuthenticationType"]); + return $this->_propDict["externalAuthenticationType"]; + } + } + return null; + } + + /** + * Sets the externalAuthenticationType + * Details the pre-authentication setting for the application. Pre-authentication enforces that users must authenticate before accessing the app. Passthru does not require authentication. Possible values are: passthru, aadPreAuthentication. + * + * @param ExternalAuthenticationType $val The value to assign to the externalAuthenticationType + * + * @return OnPremisesPublishing The OnPremisesPublishing + */ + public function setExternalAuthenticationType($val) + { + $this->_propDict["externalAuthenticationType"] = $val; + return $this; + } + /** + * Gets the externalUrl + * The published external url for the application. For example, https://intranet-contoso.msappproxy.net/. + * + * @return string|null The externalUrl + */ + public function getExternalUrl() + { + if (array_key_exists("externalUrl", $this->_propDict)) { + return $this->_propDict["externalUrl"]; + } else { + return null; + } + } + + /** + * Sets the externalUrl + * The published external url for the application. For example, https://intranet-contoso.msappproxy.net/. + * + * @param string $val The value of the externalUrl + * + * @return OnPremisesPublishing + */ + public function setExternalUrl($val) + { + $this->_propDict["externalUrl"] = $val; + return $this; + } + /** + * Gets the internalUrl + * The internal url of the application. For example, https://intranet/. + * + * @return string|null The internalUrl + */ + public function getInternalUrl() + { + if (array_key_exists("internalUrl", $this->_propDict)) { + return $this->_propDict["internalUrl"]; + } else { + return null; + } + } + + /** + * Sets the internalUrl + * The internal url of the application. For example, https://intranet/. + * + * @param string $val The value of the internalUrl + * + * @return OnPremisesPublishing + */ + public function setInternalUrl($val) + { + $this->_propDict["internalUrl"] = $val; + return $this; + } + /** + * Gets the isBackendCertificateValidationEnabled + * Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property will be set to true by default. For all existing apps, the property will be set to false. + * + * @return bool|null The isBackendCertificateValidationEnabled + */ + public function getIsBackendCertificateValidationEnabled() + { + if (array_key_exists("isBackendCertificateValidationEnabled", $this->_propDict)) { + return $this->_propDict["isBackendCertificateValidationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isBackendCertificateValidationEnabled + * Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property will be set to true by default. For all existing apps, the property will be set to false. + * + * @param bool $val The value of the isBackendCertificateValidationEnabled + * + * @return OnPremisesPublishing + */ + public function setIsBackendCertificateValidationEnabled($val) + { + $this->_propDict["isBackendCertificateValidationEnabled"] = $val; + return $this; + } + /** + * Gets the isHttpOnlyCookieEnabled + * Indicates if the HTTPOnly cookie flag should be set in the HTTP response headers. Set this value to true to have Application Proxy cookies include the HTTPOnly flag in the HTTP response headers. If using Remote Desktop Services, set this value to False. Default value is false. + * + * @return bool|null The isHttpOnlyCookieEnabled + */ + public function getIsHttpOnlyCookieEnabled() + { + if (array_key_exists("isHttpOnlyCookieEnabled", $this->_propDict)) { + return $this->_propDict["isHttpOnlyCookieEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isHttpOnlyCookieEnabled + * Indicates if the HTTPOnly cookie flag should be set in the HTTP response headers. Set this value to true to have Application Proxy cookies include the HTTPOnly flag in the HTTP response headers. If using Remote Desktop Services, set this value to False. Default value is false. + * + * @param bool $val The value of the isHttpOnlyCookieEnabled + * + * @return OnPremisesPublishing + */ + public function setIsHttpOnlyCookieEnabled($val) + { + $this->_propDict["isHttpOnlyCookieEnabled"] = $val; + return $this; + } + /** + * Gets the isOnPremPublishingEnabled + * Indicates if the application is currently being published via Application Proxy or not. This is pre-set by the system. Read-only. + * + * @return bool|null The isOnPremPublishingEnabled + */ + public function getIsOnPremPublishingEnabled() + { + if (array_key_exists("isOnPremPublishingEnabled", $this->_propDict)) { + return $this->_propDict["isOnPremPublishingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isOnPremPublishingEnabled + * Indicates if the application is currently being published via Application Proxy or not. This is pre-set by the system. Read-only. + * + * @param bool $val The value of the isOnPremPublishingEnabled + * + * @return OnPremisesPublishing + */ + public function setIsOnPremPublishingEnabled($val) + { + $this->_propDict["isOnPremPublishingEnabled"] = $val; + return $this; + } + /** + * Gets the isPersistentCookieEnabled + * Indicates if the Persistent cookie flag should be set in the HTTP response headers. Keep this value set to false. Only use this setting for applications that can't share cookies between processes. For more information about cookie settings, see Cookie settings for accessing on-premises applications in Azure Active Directory. Default value is false. + * + * @return bool|null The isPersistentCookieEnabled + */ + public function getIsPersistentCookieEnabled() + { + if (array_key_exists("isPersistentCookieEnabled", $this->_propDict)) { + return $this->_propDict["isPersistentCookieEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isPersistentCookieEnabled + * Indicates if the Persistent cookie flag should be set in the HTTP response headers. Keep this value set to false. Only use this setting for applications that can't share cookies between processes. For more information about cookie settings, see Cookie settings for accessing on-premises applications in Azure Active Directory. Default value is false. + * + * @param bool $val The value of the isPersistentCookieEnabled + * + * @return OnPremisesPublishing + */ + public function setIsPersistentCookieEnabled($val) + { + $this->_propDict["isPersistentCookieEnabled"] = $val; + return $this; + } + /** + * Gets the isSecureCookieEnabled + * Indicates if the Secure cookie flag should be set in the HTTP response headers. Set this value to true to transmit cookies over a secure channel such as an encrypted HTTPS request. Default value is true. + * + * @return bool|null The isSecureCookieEnabled + */ + public function getIsSecureCookieEnabled() + { + if (array_key_exists("isSecureCookieEnabled", $this->_propDict)) { + return $this->_propDict["isSecureCookieEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSecureCookieEnabled + * Indicates if the Secure cookie flag should be set in the HTTP response headers. Set this value to true to transmit cookies over a secure channel such as an encrypted HTTPS request. Default value is true. + * + * @param bool $val The value of the isSecureCookieEnabled + * + * @return OnPremisesPublishing + */ + public function setIsSecureCookieEnabled($val) + { + $this->_propDict["isSecureCookieEnabled"] = $val; + return $this; + } + /** + * Gets the isStateSessionEnabled + * Indicates whether validation of the state parameter when the client uses the OAuth 2.0 authorization code grant flow is enabled. This setting allows admins to specify whether they want to enable CSRF protection for their apps. + * + * @return bool|null The isStateSessionEnabled + */ + public function getIsStateSessionEnabled() + { + if (array_key_exists("isStateSessionEnabled", $this->_propDict)) { + return $this->_propDict["isStateSessionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isStateSessionEnabled + * Indicates whether validation of the state parameter when the client uses the OAuth 2.0 authorization code grant flow is enabled. This setting allows admins to specify whether they want to enable CSRF protection for their apps. + * + * @param bool $val The value of the isStateSessionEnabled + * + * @return OnPremisesPublishing + */ + public function setIsStateSessionEnabled($val) + { + $this->_propDict["isStateSessionEnabled"] = $val; + return $this; + } + /** + * Gets the isTranslateHostHeaderEnabled + * Indicates if the application should translate urls in the reponse headers. Keep this value as true unless your application required the original host header in the authentication request. Default value is true. + * + * @return bool|null The isTranslateHostHeaderEnabled + */ + public function getIsTranslateHostHeaderEnabled() + { + if (array_key_exists("isTranslateHostHeaderEnabled", $this->_propDict)) { + return $this->_propDict["isTranslateHostHeaderEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isTranslateHostHeaderEnabled + * Indicates if the application should translate urls in the reponse headers. Keep this value as true unless your application required the original host header in the authentication request. Default value is true. + * + * @param bool $val The value of the isTranslateHostHeaderEnabled + * + * @return OnPremisesPublishing + */ + public function setIsTranslateHostHeaderEnabled($val) + { + $this->_propDict["isTranslateHostHeaderEnabled"] = $val; + return $this; + } + /** + * Gets the isTranslateLinksInBodyEnabled + * Indicates if the application should translate urls in the application body. Keep this value as false unless you have hardcoded HTML links to other on-premises applications and don't use custom domains. For more information, see Link translation with Application Proxy. Default value is false. + * + * @return bool|null The isTranslateLinksInBodyEnabled + */ + public function getIsTranslateLinksInBodyEnabled() + { + if (array_key_exists("isTranslateLinksInBodyEnabled", $this->_propDict)) { + return $this->_propDict["isTranslateLinksInBodyEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isTranslateLinksInBodyEnabled + * Indicates if the application should translate urls in the application body. Keep this value as false unless you have hardcoded HTML links to other on-premises applications and don't use custom domains. For more information, see Link translation with Application Proxy. Default value is false. + * + * @param bool $val The value of the isTranslateLinksInBodyEnabled + * + * @return OnPremisesPublishing + */ + public function setIsTranslateLinksInBodyEnabled($val) + { + $this->_propDict["isTranslateLinksInBodyEnabled"] = $val; + return $this; + } + + /** + * Gets the onPremisesApplicationSegments + * + * @return OnPremisesApplicationSegment|null The onPremisesApplicationSegments + */ + public function getOnPremisesApplicationSegments() + { + if (array_key_exists("onPremisesApplicationSegments", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesApplicationSegments"], "\Beta\Microsoft\Graph\Model\OnPremisesApplicationSegment") || is_null($this->_propDict["onPremisesApplicationSegments"])) { + return $this->_propDict["onPremisesApplicationSegments"]; + } else { + $this->_propDict["onPremisesApplicationSegments"] = new OnPremisesApplicationSegment($this->_propDict["onPremisesApplicationSegments"]); + return $this->_propDict["onPremisesApplicationSegments"]; + } + } + return null; + } + + /** + * Sets the onPremisesApplicationSegments + * + * @param OnPremisesApplicationSegment $val The value to assign to the onPremisesApplicationSegments + * + * @return OnPremisesPublishing The OnPremisesPublishing + */ + public function setOnPremisesApplicationSegments($val) + { + $this->_propDict["onPremisesApplicationSegments"] = $val; + return $this; + } + + /** + * Gets the singleSignOnSettings + * Represents the single sign-on configuration for the on-premises application. + * + * @return OnPremisesPublishingSingleSignOn|null The singleSignOnSettings + */ + public function getSingleSignOnSettings() + { + if (array_key_exists("singleSignOnSettings", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnSettings"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingSingleSignOn") || is_null($this->_propDict["singleSignOnSettings"])) { + return $this->_propDict["singleSignOnSettings"]; + } else { + $this->_propDict["singleSignOnSettings"] = new OnPremisesPublishingSingleSignOn($this->_propDict["singleSignOnSettings"]); + return $this->_propDict["singleSignOnSettings"]; + } + } + return null; + } + + /** + * Sets the singleSignOnSettings + * Represents the single sign-on configuration for the on-premises application. + * + * @param OnPremisesPublishingSingleSignOn $val The value to assign to the singleSignOnSettings + * + * @return OnPremisesPublishing The OnPremisesPublishing + */ + public function setSingleSignOnSettings($val) + { + $this->_propDict["singleSignOnSettings"] = $val; + return $this; + } + /** + * Gets the useAlternateUrlForTranslationAndRedirect + * + * @return bool|null The useAlternateUrlForTranslationAndRedirect + */ + public function getUseAlternateUrlForTranslationAndRedirect() + { + if (array_key_exists("useAlternateUrlForTranslationAndRedirect", $this->_propDict)) { + return $this->_propDict["useAlternateUrlForTranslationAndRedirect"]; + } else { + return null; + } + } + + /** + * Sets the useAlternateUrlForTranslationAndRedirect + * + * @param bool $val The value of the useAlternateUrlForTranslationAndRedirect + * + * @return OnPremisesPublishing + */ + public function setUseAlternateUrlForTranslationAndRedirect($val) + { + $this->_propDict["useAlternateUrlForTranslationAndRedirect"] = $val; + return $this; + } + + /** + * Gets the verifiedCustomDomainCertificatesMetadata + * Details of the certificate associated with the application when a custom domain is in use. null when using the default domain. Read-only. + * + * @return VerifiedCustomDomainCertificatesMetadata|null The verifiedCustomDomainCertificatesMetadata + */ + public function getVerifiedCustomDomainCertificatesMetadata() + { + if (array_key_exists("verifiedCustomDomainCertificatesMetadata", $this->_propDict)) { + if (is_a($this->_propDict["verifiedCustomDomainCertificatesMetadata"], "\Beta\Microsoft\Graph\Model\VerifiedCustomDomainCertificatesMetadata") || is_null($this->_propDict["verifiedCustomDomainCertificatesMetadata"])) { + return $this->_propDict["verifiedCustomDomainCertificatesMetadata"]; + } else { + $this->_propDict["verifiedCustomDomainCertificatesMetadata"] = new VerifiedCustomDomainCertificatesMetadata($this->_propDict["verifiedCustomDomainCertificatesMetadata"]); + return $this->_propDict["verifiedCustomDomainCertificatesMetadata"]; + } + } + return null; + } + + /** + * Sets the verifiedCustomDomainCertificatesMetadata + * Details of the certificate associated with the application when a custom domain is in use. null when using the default domain. Read-only. + * + * @param VerifiedCustomDomainCertificatesMetadata $val The value to assign to the verifiedCustomDomainCertificatesMetadata + * + * @return OnPremisesPublishing The OnPremisesPublishing + */ + public function setVerifiedCustomDomainCertificatesMetadata($val) + { + $this->_propDict["verifiedCustomDomainCertificatesMetadata"] = $val; + return $this; + } + + /** + * Gets the verifiedCustomDomainKeyCredential + * The associated key credential for the custom domain used. + * + * @return KeyCredential|null The verifiedCustomDomainKeyCredential + */ + public function getVerifiedCustomDomainKeyCredential() + { + if (array_key_exists("verifiedCustomDomainKeyCredential", $this->_propDict)) { + if (is_a($this->_propDict["verifiedCustomDomainKeyCredential"], "\Beta\Microsoft\Graph\Model\KeyCredential") || is_null($this->_propDict["verifiedCustomDomainKeyCredential"])) { + return $this->_propDict["verifiedCustomDomainKeyCredential"]; + } else { + $this->_propDict["verifiedCustomDomainKeyCredential"] = new KeyCredential($this->_propDict["verifiedCustomDomainKeyCredential"]); + return $this->_propDict["verifiedCustomDomainKeyCredential"]; + } + } + return null; + } + + /** + * Sets the verifiedCustomDomainKeyCredential + * The associated key credential for the custom domain used. + * + * @param KeyCredential $val The value to assign to the verifiedCustomDomainKeyCredential + * + * @return OnPremisesPublishing The OnPremisesPublishing + */ + public function setVerifiedCustomDomainKeyCredential($val) + { + $this->_propDict["verifiedCustomDomainKeyCredential"] = $val; + return $this; + } + + /** + * Gets the verifiedCustomDomainPasswordCredential + * The associated password credential for the custom domain used. + * + * @return PasswordCredential|null The verifiedCustomDomainPasswordCredential + */ + public function getVerifiedCustomDomainPasswordCredential() + { + if (array_key_exists("verifiedCustomDomainPasswordCredential", $this->_propDict)) { + if (is_a($this->_propDict["verifiedCustomDomainPasswordCredential"], "\Beta\Microsoft\Graph\Model\PasswordCredential") || is_null($this->_propDict["verifiedCustomDomainPasswordCredential"])) { + return $this->_propDict["verifiedCustomDomainPasswordCredential"]; + } else { + $this->_propDict["verifiedCustomDomainPasswordCredential"] = new PasswordCredential($this->_propDict["verifiedCustomDomainPasswordCredential"]); + return $this->_propDict["verifiedCustomDomainPasswordCredential"]; + } + } + return null; + } + + /** + * Sets the verifiedCustomDomainPasswordCredential + * The associated password credential for the custom domain used. + * + * @param PasswordCredential $val The value to assign to the verifiedCustomDomainPasswordCredential + * + * @return OnPremisesPublishing The OnPremisesPublishing + */ + public function setVerifiedCustomDomainPasswordCredential($val) + { + $this->_propDict["verifiedCustomDomainPasswordCredential"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingProfile.php new file mode 100644 index 0000000..bb38614 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingProfile.php @@ -0,0 +1,239 @@ +_propDict)) { + if (is_a($this->_propDict["hybridAgentUpdaterConfiguration"], "\Beta\Microsoft\Graph\Model\HybridAgentUpdaterConfiguration") || is_null($this->_propDict["hybridAgentUpdaterConfiguration"])) { + return $this->_propDict["hybridAgentUpdaterConfiguration"]; + } else { + $this->_propDict["hybridAgentUpdaterConfiguration"] = new HybridAgentUpdaterConfiguration($this->_propDict["hybridAgentUpdaterConfiguration"]); + return $this->_propDict["hybridAgentUpdaterConfiguration"]; + } + } + return null; + } + + /** + * Sets the hybridAgentUpdaterConfiguration + * Represents a hybridAgentUpdaterConfiguration object. + * + * @param HybridAgentUpdaterConfiguration $val The hybridAgentUpdaterConfiguration + * + * @return OnPremisesPublishingProfile + */ + public function setHybridAgentUpdaterConfiguration($val) + { + $this->_propDict["hybridAgentUpdaterConfiguration"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Represents if Azure AD Application Proxy is enabled for the tenant. + * + * @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 + * Represents if Azure AD Application Proxy is enabled for the tenant. + * + * @param bool $val The isEnabled + * + * @return OnPremisesPublishingProfile + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the agentGroups + * List of existing onPremisesAgentGroup objects. Read-only. Nullable. + * + * @return array|null The agentGroups + */ + public function getAgentGroups() + { + if (array_key_exists("agentGroups", $this->_propDict)) { + return $this->_propDict["agentGroups"]; + } else { + return null; + } + } + + /** + * Sets the agentGroups + * List of existing onPremisesAgentGroup objects. Read-only. Nullable. + * + * @param OnPremisesAgentGroup[] $val The agentGroups + * + * @return OnPremisesPublishingProfile + */ + public function setAgentGroups($val) + { + $this->_propDict["agentGroups"] = $val; + return $this; + } + + + /** + * Gets the agents + * List of existing onPremisesAgent objects. Read-only. Nullable. + * + * @return array|null The agents + */ + public function getAgents() + { + if (array_key_exists("agents", $this->_propDict)) { + return $this->_propDict["agents"]; + } else { + return null; + } + } + + /** + * Sets the agents + * List of existing onPremisesAgent objects. Read-only. Nullable. + * + * @param OnPremisesAgent[] $val The agents + * + * @return OnPremisesPublishingProfile + */ + public function setAgents($val) + { + $this->_propDict["agents"] = $val; + return $this; + } + + + /** + * Gets the connectorGroups + * List of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. + * + * @return array|null The connectorGroups + */ + public function getConnectorGroups() + { + if (array_key_exists("connectorGroups", $this->_propDict)) { + return $this->_propDict["connectorGroups"]; + } else { + return null; + } + } + + /** + * Sets the connectorGroups + * List of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. + * + * @param ConnectorGroup[] $val The connectorGroups + * + * @return OnPremisesPublishingProfile + */ + public function setConnectorGroups($val) + { + $this->_propDict["connectorGroups"] = $val; + return $this; + } + + + /** + * Gets the connectors + * List of existing connector objects for applications published through Application Proxy. Read-only. Nullable. + * + * @return array|null The connectors + */ + public function getConnectors() + { + if (array_key_exists("connectors", $this->_propDict)) { + return $this->_propDict["connectors"]; + } else { + return null; + } + } + + /** + * Sets the connectors + * List of existing connector objects for applications published through Application Proxy. Read-only. Nullable. + * + * @param Connector[] $val The connectors + * + * @return OnPremisesPublishingProfile + */ + public function setConnectors($val) + { + $this->_propDict["connectors"] = $val; + return $this; + } + + + /** + * Gets the publishedResources + * List of existing publishedResource objects. Read-only. Nullable. + * + * @return array|null The publishedResources + */ + public function getPublishedResources() + { + if (array_key_exists("publishedResources", $this->_propDict)) { + return $this->_propDict["publishedResources"]; + } else { + return null; + } + } + + /** + * Sets the publishedResources + * List of existing publishedResource objects. Read-only. Nullable. + * + * @param PublishedResource[] $val The publishedResources + * + * @return OnPremisesPublishingProfile + */ + public function setPublishedResources($val) + { + $this->_propDict["publishedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingSingleSignOn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingSingleSignOn.php new file mode 100644 index 0000000..6bad2d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingSingleSignOn.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["kerberosSignOnSettings"], "\Beta\Microsoft\Graph\Model\KerberosSignOnSettings") || is_null($this->_propDict["kerberosSignOnSettings"])) { + return $this->_propDict["kerberosSignOnSettings"]; + } else { + $this->_propDict["kerberosSignOnSettings"] = new KerberosSignOnSettings($this->_propDict["kerberosSignOnSettings"]); + return $this->_propDict["kerberosSignOnSettings"]; + } + } + return null; + } + + /** + * Sets the kerberosSignOnSettings + * The Kerberos Constrained Delegation settings for applications that use Integrated Window Authentication. + * + * @param KerberosSignOnSettings $val The value to assign to the kerberosSignOnSettings + * + * @return OnPremisesPublishingSingleSignOn The OnPremisesPublishingSingleSignOn + */ + public function setKerberosSignOnSettings($val) + { + $this->_propDict["kerberosSignOnSettings"] = $val; + return $this; + } + + /** + * Gets the singleSignOnMode + * The preferred single-sign on mode for the application. Possible values are: none, onPremisesKerberos, aadHeaderBased,pingHeaderBased. + * + * @return SingleSignOnMode|null The singleSignOnMode + */ + public function getSingleSignOnMode() + { + if (array_key_exists("singleSignOnMode", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnMode"], "\Beta\Microsoft\Graph\Model\SingleSignOnMode") || is_null($this->_propDict["singleSignOnMode"])) { + return $this->_propDict["singleSignOnMode"]; + } else { + $this->_propDict["singleSignOnMode"] = new SingleSignOnMode($this->_propDict["singleSignOnMode"]); + return $this->_propDict["singleSignOnMode"]; + } + } + return null; + } + + /** + * Sets the singleSignOnMode + * The preferred single-sign on mode for the application. Possible values are: none, onPremisesKerberos, aadHeaderBased,pingHeaderBased. + * + * @param SingleSignOnMode $val The value to assign to the singleSignOnMode + * + * @return OnPremisesPublishingSingleSignOn The OnPremisesPublishingSingleSignOn + */ + public function setSingleSignOnMode($val) + { + $this->_propDict["singleSignOnMode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingType.php new file mode 100644 index 0000000..eb72963 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["notebooks"]; + } else { + return null; + } + } + + /** + * Sets the notebooks + * The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param Notebook[] $val The notebooks + * + * @return Onenote + */ + public function setNotebooks($val) + { + $this->_propDict["notebooks"] = $val; + return $this; + } + + + /** + * Gets the operations + * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * + * @param OnenoteOperation[] $val The operations + * + * @return Onenote + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the pages + * The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @return array|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + return $this->_propDict["pages"]; + } else { + return null; + } + } + + /** + * Sets the pages + * The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param OnenotePage[] $val The pages + * + * @return Onenote + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } + + + /** + * Gets the resources + * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * + * @param OnenoteResource[] $val The resources + * + * @return Onenote + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the sectionGroups + * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @return array|null The sectionGroups + */ + public function getSectionGroups() + { + if (array_key_exists("sectionGroups", $this->_propDict)) { + return $this->_propDict["sectionGroups"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroups + * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param SectionGroup[] $val The sectionGroups + * + * @return Onenote + */ + public function setSectionGroups($val) + { + $this->_propDict["sectionGroups"] = $val; + return $this; + } + + + /** + * Gets the sections + * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @return array|null The sections + */ + public function getSections() + { + if (array_key_exists("sections", $this->_propDict)) { + return $this->_propDict["sections"]; + } else { + return null; + } + } + + /** + * Sets the sections + * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param OnenoteSection[] $val The sections + * + * @return Onenote + */ + public function setSections($val) + { + $this->_propDict["sections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityBaseModel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityBaseModel.php new file mode 100644 index 0000000..726ff2d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityBaseModel.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["self"]; + } else { + return null; + } + } + + /** + * Sets the self + * The endpoint where you can get details about the page. Read-only. + * + * @param string $val The self + * + * @return OnenoteEntityBaseModel + */ + public function setSelf($val) + { + $this->_propDict["self"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityHierarchyModel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityHierarchyModel.php new file mode 100644 index 0000000..2bb36af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityHierarchyModel.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @param IdentitySet $val The createdBy + * + * @return OnenoteEntityHierarchyModel + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the notebook. + * + * @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 + * The name of the notebook. + * + * @param string $val The displayName + * + * @return OnenoteEntityHierarchyModel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return OnenoteEntityHierarchyModel + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the notebook was last modified. The timestamp 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the notebook was last modified. The timestamp 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 lastModifiedDateTime + * + * @return OnenoteEntityHierarchyModel + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntitySchemaObjectModel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntitySchemaObjectModel.php new file mode 100644 index 0000000..27dab5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntitySchemaObjectModel.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the page was created. The timestamp 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 createdDateTime + * + * @return OnenoteEntitySchemaObjectModel + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperation.php new file mode 100644 index 0000000..94fc862 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperation.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\OnenoteOperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new OnenoteOperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The error returned by the operation. + * + * @param OnenoteOperationError $val The error + * + * @return OnenoteOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * The operation percent complete if the operation is still in running status. + * + * @return string|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * The operation percent complete if the operation is still in running status. + * + * @param string $val The percentComplete + * + * @return OnenoteOperation + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The resource id. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The resource id. + * + * @param string $val The resourceId + * + * @return OnenoteOperation + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the resourceLocation + * The resource URI for the object. For example, the resource URI for a copied page or section. + * + * @return string|null The resourceLocation + */ + public function getResourceLocation() + { + if (array_key_exists("resourceLocation", $this->_propDict)) { + return $this->_propDict["resourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the resourceLocation + * The resource URI for the object. For example, the resource URI for a copied page or section. + * + * @param string $val The resourceLocation + * + * @return OnenoteOperation + */ + public function setResourceLocation($val) + { + $this->_propDict["resourceLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperationError.php new file mode 100644 index 0000000..0d9da12 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperationError.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return OnenoteOperationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return OnenoteOperationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePage.php new file mode 100644 index 0000000..b6832bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePage.php @@ -0,0 +1,364 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The page's HTML content. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return OnenotePage + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentUrl + * The URL for the page's HTML content. Read-only. + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * The URL for the page's HTML content. Read-only. + * + * @param string $val The contentUrl + * + * @return OnenotePage + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + + /** + * Gets the createdByAppId + * The unique identifier of the application that created the page. Read-only. + * + * @return string|null The createdByAppId + */ + public function getCreatedByAppId() + { + if (array_key_exists("createdByAppId", $this->_propDict)) { + return $this->_propDict["createdByAppId"]; + } else { + return null; + } + } + + /** + * Sets the createdByAppId + * The unique identifier of the application that created the page. Read-only. + * + * @param string $val The createdByAppId + * + * @return OnenotePage + */ + public function setCreatedByAppId($val) + { + $this->_propDict["createdByAppId"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the page was last modified. The timestamp 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the page was last modified. The timestamp 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 lastModifiedDateTime + * + * @return OnenotePage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the level + * The indentation level of the page. Read-only. + * + * @return int|null The level + */ + public function getLevel() + { + if (array_key_exists("level", $this->_propDict)) { + return $this->_propDict["level"]; + } else { + return null; + } + } + + /** + * Sets the level + * The indentation level of the page. Read-only. + * + * @param int $val The level + * + * @return OnenotePage + */ + public function setLevel($val) + { + $this->_propDict["level"] = intval($val); + return $this; + } + + /** + * Gets the links + * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only. + * + * @return PageLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\PageLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new PageLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only. + * + * @param PageLinks $val The links + * + * @return OnenotePage + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the order + * The order of the page within its parent section. Read-only. + * + * @return int|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * The order of the page within its parent section. Read-only. + * + * @param int $val The order + * + * @return OnenotePage + */ + public function setOrder($val) + { + $this->_propDict["order"] = intval($val); + return $this; + } + + /** + * Gets the title + * The title of the page. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the page. + * + * @param string $val The title + * + * @return OnenotePage + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the userTags + * + * @return string|null The userTags + */ + public function getUserTags() + { + if (array_key_exists("userTags", $this->_propDict)) { + return $this->_propDict["userTags"]; + } else { + return null; + } + } + + /** + * Sets the userTags + * + * @param string $val The userTags + * + * @return OnenotePage + */ + public function setUserTags($val) + { + $this->_propDict["userTags"] = $val; + return $this; + } + + /** + * Gets the parentNotebook + * The notebook that contains the page. Read-only. + * + * @return Notebook|null The parentNotebook + */ + public function getParentNotebook() + { + if (array_key_exists("parentNotebook", $this->_propDict)) { + if (is_a($this->_propDict["parentNotebook"], "\Beta\Microsoft\Graph\Model\Notebook") || is_null($this->_propDict["parentNotebook"])) { + return $this->_propDict["parentNotebook"]; + } else { + $this->_propDict["parentNotebook"] = new Notebook($this->_propDict["parentNotebook"]); + return $this->_propDict["parentNotebook"]; + } + } + return null; + } + + /** + * Sets the parentNotebook + * The notebook that contains the page. Read-only. + * + * @param Notebook $val The parentNotebook + * + * @return OnenotePage + */ + public function setParentNotebook($val) + { + $this->_propDict["parentNotebook"] = $val; + return $this; + } + + /** + * Gets the parentSection + * The section that contains the page. Read-only. + * + * @return OnenoteSection|null The parentSection + */ + public function getParentSection() + { + if (array_key_exists("parentSection", $this->_propDict)) { + if (is_a($this->_propDict["parentSection"], "\Beta\Microsoft\Graph\Model\OnenoteSection") || is_null($this->_propDict["parentSection"])) { + return $this->_propDict["parentSection"]; + } else { + $this->_propDict["parentSection"] = new OnenoteSection($this->_propDict["parentSection"]); + return $this->_propDict["parentSection"]; + } + } + return null; + } + + /** + * Sets the parentSection + * The section that contains the page. Read-only. + * + * @param OnenoteSection $val The parentSection + * + * @return OnenotePage + */ + public function setParentSection($val) + { + $this->_propDict["parentSection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreview.php new file mode 100644 index 0000000..e70f0b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreview.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\OnenotePagePreviewLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new OnenotePagePreviewLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * + * @param OnenotePagePreviewLinks $val The value to assign to the links + * + * @return OnenotePagePreview The OnenotePagePreview + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + /** + * Gets the previewText + * + * @return string|null The previewText + */ + public function getPreviewText() + { + if (array_key_exists("previewText", $this->_propDict)) { + return $this->_propDict["previewText"]; + } else { + return null; + } + } + + /** + * Sets the previewText + * + * @param string $val The value of the previewText + * + * @return OnenotePagePreview + */ + public function setPreviewText($val) + { + $this->_propDict["previewText"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreviewLinks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreviewLinks.php new file mode 100644 index 0000000..5467965 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreviewLinks.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["previewImageUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["previewImageUrl"])) { + return $this->_propDict["previewImageUrl"]; + } else { + $this->_propDict["previewImageUrl"] = new ExternalLink($this->_propDict["previewImageUrl"]); + return $this->_propDict["previewImageUrl"]; + } + } + return null; + } + + /** + * Sets the previewImageUrl + * + * @param ExternalLink $val The value to assign to the previewImageUrl + * + * @return OnenotePagePreviewLinks The OnenotePagePreviewLinks + */ + public function setPreviewImageUrl($val) + { + $this->_propDict["previewImageUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchActionType.php new file mode 100644 index 0000000..7c9fe6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchActionType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\OnenotePatchActionType") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new OnenotePatchActionType($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action to perform on the target element. Possible values are: replace, append, delete, insert, or prepend. + * + * @param OnenotePatchActionType $val The value to assign to the action + * + * @return OnenotePatchContentCommand The OnenotePatchContentCommand + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + /** + * Gets the content + * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. + * + * @return string|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. + * + * @param string $val The value of the content + * + * @return OnenotePatchContentCommand + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the position + * The location to add the supplied content, relative to the target element. Possible values are: after (default) or before. + * + * @return OnenotePatchInsertPosition|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + if (is_a($this->_propDict["position"], "\Beta\Microsoft\Graph\Model\OnenotePatchInsertPosition") || is_null($this->_propDict["position"])) { + return $this->_propDict["position"]; + } else { + $this->_propDict["position"] = new OnenotePatchInsertPosition($this->_propDict["position"]); + return $this->_propDict["position"]; + } + } + return null; + } + + /** + * Sets the position + * The location to add the supplied content, relative to the target element. Possible values are: after (default) or before. + * + * @param OnenotePatchInsertPosition $val The value to assign to the position + * + * @return OnenotePatchContentCommand The OnenotePatchContentCommand + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } + /** + * Gets the target + * The element to update. Must be the #&lt;data-id&gt; or the generated {id} of the element, or the body or title keyword. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The element to update. Must be the #&lt;data-id&gt; or the generated {id} of the element, or the body or title keyword. + * + * @param string $val The value of the target + * + * @return OnenotePatchContentCommand + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchInsertPosition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchInsertPosition.php new file mode 100644 index 0000000..7caec6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchInsertPosition.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content stream + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return OnenoteResource + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentUrl + * The URL for downloading the content + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * The URL for downloading the content + * + * @param string $val The contentUrl + * + * @return OnenoteResource + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSection.php new file mode 100644 index 0000000..2c9baf3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSection.php @@ -0,0 +1,214 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates whether this is the user's default section. Read-only. + * + * @param bool $val The isDefault + * + * @return OnenoteSection + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the links + * Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. + * + * @return SectionLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\SectionLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new SectionLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. + * + * @param SectionLinks $val The links + * + * @return OnenoteSection + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the pagesUrl + * The pages endpoint where you can get details for all the pages in the section. Read-only. + * + * @return string|null The pagesUrl + */ + public function getPagesUrl() + { + if (array_key_exists("pagesUrl", $this->_propDict)) { + return $this->_propDict["pagesUrl"]; + } else { + return null; + } + } + + /** + * Sets the pagesUrl + * The pages endpoint where you can get details for all the pages in the section. Read-only. + * + * @param string $val The pagesUrl + * + * @return OnenoteSection + */ + public function setPagesUrl($val) + { + $this->_propDict["pagesUrl"] = $val; + return $this; + } + + + /** + * Gets the pages + * The collection of pages in the section. Read-only. Nullable. + * + * @return array|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + return $this->_propDict["pages"]; + } else { + return null; + } + } + + /** + * Sets the pages + * The collection of pages in the section. Read-only. Nullable. + * + * @param OnenotePage[] $val The pages + * + * @return OnenoteSection + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } + + /** + * Gets the parentNotebook + * The notebook that contains the section. Read-only. + * + * @return Notebook|null The parentNotebook + */ + public function getParentNotebook() + { + if (array_key_exists("parentNotebook", $this->_propDict)) { + if (is_a($this->_propDict["parentNotebook"], "\Beta\Microsoft\Graph\Model\Notebook") || is_null($this->_propDict["parentNotebook"])) { + return $this->_propDict["parentNotebook"]; + } else { + $this->_propDict["parentNotebook"] = new Notebook($this->_propDict["parentNotebook"]); + return $this->_propDict["parentNotebook"]; + } + } + return null; + } + + /** + * Sets the parentNotebook + * The notebook that contains the section. Read-only. + * + * @param Notebook $val The parentNotebook + * + * @return OnenoteSection + */ + public function setParentNotebook($val) + { + $this->_propDict["parentNotebook"] = $val; + return $this; + } + + /** + * Gets the parentSectionGroup + * The section group that contains the section. Read-only. + * + * @return SectionGroup|null The parentSectionGroup + */ + public function getParentSectionGroup() + { + if (array_key_exists("parentSectionGroup", $this->_propDict)) { + if (is_a($this->_propDict["parentSectionGroup"], "\Beta\Microsoft\Graph\Model\SectionGroup") || is_null($this->_propDict["parentSectionGroup"])) { + return $this->_propDict["parentSectionGroup"]; + } else { + $this->_propDict["parentSectionGroup"] = new SectionGroup($this->_propDict["parentSectionGroup"]); + return $this->_propDict["parentSectionGroup"]; + } + } + return null; + } + + /** + * Sets the parentSectionGroup + * The section group that contains the section. Read-only. + * + * @param SectionGroup $val The parentSectionGroup + * + * @return OnenoteSection + */ + public function setParentSectionGroup($val) + { + $this->_propDict["parentSectionGroup"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSourceService.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSourceService.php new file mode 100644 index 0000000..2fbcdc1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSourceService.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["allowAttendeeToEnableCamera"]; + } else { + return null; + } + } + + /** + * Sets the allowAttendeeToEnableCamera + * Indicates whether attendees can turn on their camera. + * + * @param bool $val The allowAttendeeToEnableCamera + * + * @return OnlineMeeting + */ + public function setAllowAttendeeToEnableCamera($val) + { + $this->_propDict["allowAttendeeToEnableCamera"] = boolval($val); + return $this; + } + + /** + * Gets the allowAttendeeToEnableMic + * Indicates whether attendees can turn on their microphone. + * + * @return bool|null The allowAttendeeToEnableMic + */ + public function getAllowAttendeeToEnableMic() + { + if (array_key_exists("allowAttendeeToEnableMic", $this->_propDict)) { + return $this->_propDict["allowAttendeeToEnableMic"]; + } else { + return null; + } + } + + /** + * Sets the allowAttendeeToEnableMic + * Indicates whether attendees can turn on their microphone. + * + * @param bool $val The allowAttendeeToEnableMic + * + * @return OnlineMeeting + */ + public function setAllowAttendeeToEnableMic($val) + { + $this->_propDict["allowAttendeeToEnableMic"] = boolval($val); + return $this; + } + + /** + * Gets the allowedPresenters + * Specifies who can be a presenter in a meeting. + * + * @return OnlineMeetingPresenters|null The allowedPresenters + */ + public function getAllowedPresenters() + { + if (array_key_exists("allowedPresenters", $this->_propDict)) { + if (is_a($this->_propDict["allowedPresenters"], "\Beta\Microsoft\Graph\Model\OnlineMeetingPresenters") || is_null($this->_propDict["allowedPresenters"])) { + return $this->_propDict["allowedPresenters"]; + } else { + $this->_propDict["allowedPresenters"] = new OnlineMeetingPresenters($this->_propDict["allowedPresenters"]); + return $this->_propDict["allowedPresenters"]; + } + } + return null; + } + + /** + * Sets the allowedPresenters + * Specifies who can be a presenter in a meeting. + * + * @param OnlineMeetingPresenters $val The allowedPresenters + * + * @return OnlineMeeting + */ + public function setAllowedPresenters($val) + { + $this->_propDict["allowedPresenters"] = $val; + return $this; + } + + /** + * Gets the allowMeetingChat + * Specifies the mode of meeting chat. + * + * @return MeetingChatMode|null The allowMeetingChat + */ + public function getAllowMeetingChat() + { + if (array_key_exists("allowMeetingChat", $this->_propDict)) { + if (is_a($this->_propDict["allowMeetingChat"], "\Beta\Microsoft\Graph\Model\MeetingChatMode") || is_null($this->_propDict["allowMeetingChat"])) { + return $this->_propDict["allowMeetingChat"]; + } else { + $this->_propDict["allowMeetingChat"] = new MeetingChatMode($this->_propDict["allowMeetingChat"]); + return $this->_propDict["allowMeetingChat"]; + } + } + return null; + } + + /** + * Sets the allowMeetingChat + * Specifies the mode of meeting chat. + * + * @param MeetingChatMode $val The allowMeetingChat + * + * @return OnlineMeeting + */ + public function setAllowMeetingChat($val) + { + $this->_propDict["allowMeetingChat"] = $val; + return $this; + } + + /** + * Gets the allowTeamworkReactions + * Indicates if Teams reactions are enabled for the meeting. + * + * @return bool|null The allowTeamworkReactions + */ + public function getAllowTeamworkReactions() + { + if (array_key_exists("allowTeamworkReactions", $this->_propDict)) { + return $this->_propDict["allowTeamworkReactions"]; + } else { + return null; + } + } + + /** + * Sets the allowTeamworkReactions + * Indicates if Teams reactions are enabled for the meeting. + * + * @param bool $val The allowTeamworkReactions + * + * @return OnlineMeeting + */ + public function setAllowTeamworkReactions($val) + { + $this->_propDict["allowTeamworkReactions"] = boolval($val); + return $this; + } + + /** + * Gets the alternativeRecording + * The content stream of the alternative recording of a Microsoft Teams live event. Read-only. + * + * @return \GuzzleHttp\Psr7\Stream|null The alternativeRecording + */ + public function getAlternativeRecording() + { + if (array_key_exists("alternativeRecording", $this->_propDict)) { + if (is_a($this->_propDict["alternativeRecording"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["alternativeRecording"])) { + return $this->_propDict["alternativeRecording"]; + } else { + $this->_propDict["alternativeRecording"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["alternativeRecording"]); + return $this->_propDict["alternativeRecording"]; + } + } + return null; + } + + /** + * Sets the alternativeRecording + * The content stream of the alternative recording of a Microsoft Teams live event. Read-only. + * + * @param \GuzzleHttp\Psr7\Stream $val The alternativeRecording + * + * @return OnlineMeeting + */ + public function setAlternativeRecording($val) + { + $this->_propDict["alternativeRecording"] = $val; + return $this; + } + + /** + * Gets the attendeeReport + * The content stream of the attendee report of a Teams live event. Read-only. + * + * @return \GuzzleHttp\Psr7\Stream|null The attendeeReport + */ + public function getAttendeeReport() + { + if (array_key_exists("attendeeReport", $this->_propDict)) { + if (is_a($this->_propDict["attendeeReport"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["attendeeReport"])) { + return $this->_propDict["attendeeReport"]; + } else { + $this->_propDict["attendeeReport"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["attendeeReport"]); + return $this->_propDict["attendeeReport"]; + } + } + return null; + } + + /** + * Sets the attendeeReport + * The content stream of the attendee report of a Teams live event. Read-only. + * + * @param \GuzzleHttp\Psr7\Stream $val The attendeeReport + * + * @return OnlineMeeting + */ + public function setAttendeeReport($val) + { + $this->_propDict["attendeeReport"] = $val; + return $this; + } + + /** + * Gets the audioConferencing + * The phone access (dial-in) information for an online meeting. Read-only. + * + * @return AudioConferencing|null The audioConferencing + */ + public function getAudioConferencing() + { + if (array_key_exists("audioConferencing", $this->_propDict)) { + if (is_a($this->_propDict["audioConferencing"], "\Beta\Microsoft\Graph\Model\AudioConferencing") || is_null($this->_propDict["audioConferencing"])) { + return $this->_propDict["audioConferencing"]; + } else { + $this->_propDict["audioConferencing"] = new AudioConferencing($this->_propDict["audioConferencing"]); + return $this->_propDict["audioConferencing"]; + } + } + return null; + } + + /** + * Sets the audioConferencing + * The phone access (dial-in) information for an online meeting. Read-only. + * + * @param AudioConferencing $val The audioConferencing + * + * @return OnlineMeeting + */ + public function setAudioConferencing($val) + { + $this->_propDict["audioConferencing"] = $val; + return $this; + } + + /** + * Gets the broadcastSettings + * Settings related to a live event. + * + * @return BroadcastMeetingSettings|null The broadcastSettings + */ + public function getBroadcastSettings() + { + if (array_key_exists("broadcastSettings", $this->_propDict)) { + if (is_a($this->_propDict["broadcastSettings"], "\Beta\Microsoft\Graph\Model\BroadcastMeetingSettings") || is_null($this->_propDict["broadcastSettings"])) { + return $this->_propDict["broadcastSettings"]; + } else { + $this->_propDict["broadcastSettings"] = new BroadcastMeetingSettings($this->_propDict["broadcastSettings"]); + return $this->_propDict["broadcastSettings"]; + } + } + return null; + } + + /** + * Sets the broadcastSettings + * Settings related to a live event. + * + * @param BroadcastMeetingSettings $val The broadcastSettings + * + * @return OnlineMeeting + */ + public function setBroadcastSettings($val) + { + $this->_propDict["broadcastSettings"] = $val; + return $this; + } + + + /** + * Gets the capabilities + * + * @return array|null The capabilities + */ + public function getCapabilities() + { + if (array_key_exists("capabilities", $this->_propDict)) { + return $this->_propDict["capabilities"]; + } else { + return null; + } + } + + /** + * Sets the capabilities + * + * @param MeetingCapabilities[] $val The capabilities + * + * @return OnlineMeeting + */ + public function setCapabilities($val) + { + $this->_propDict["capabilities"] = $val; + return $this; + } + + /** + * Gets the chatInfo + * The chat information associated with this online meeting. + * + * @return ChatInfo|null The chatInfo + */ + public function getChatInfo() + { + if (array_key_exists("chatInfo", $this->_propDict)) { + if (is_a($this->_propDict["chatInfo"], "\Beta\Microsoft\Graph\Model\ChatInfo") || is_null($this->_propDict["chatInfo"])) { + return $this->_propDict["chatInfo"]; + } else { + $this->_propDict["chatInfo"] = new ChatInfo($this->_propDict["chatInfo"]); + return $this->_propDict["chatInfo"]; + } + } + return null; + } + + /** + * Sets the chatInfo + * The chat information associated with this online meeting. + * + * @param ChatInfo $val The chatInfo + * + * @return OnlineMeeting + */ + public function setChatInfo($val) + { + $this->_propDict["chatInfo"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * The meeting creation time in UTC. Read-only. + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * The meeting creation time in UTC. Read-only. + * + * @param \DateTime $val The creationDateTime + * + * @return OnlineMeeting + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The meeting end time in UTC. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The meeting end time in UTC. + * + * @param \DateTime $val The endDateTime + * + * @return OnlineMeeting + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external ID. A custom ID. Optional. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external ID. A custom ID. Optional. + * + * @param string $val The externalId + * + * @return OnlineMeeting + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the isBroadcast + * Indicates whether this is a Teams live event. + * + * @return bool|null The isBroadcast + */ + public function getIsBroadcast() + { + if (array_key_exists("isBroadcast", $this->_propDict)) { + return $this->_propDict["isBroadcast"]; + } else { + return null; + } + } + + /** + * Sets the isBroadcast + * Indicates whether this is a Teams live event. + * + * @param bool $val The isBroadcast + * + * @return OnlineMeeting + */ + public function setIsBroadcast($val) + { + $this->_propDict["isBroadcast"] = boolval($val); + return $this; + } + + /** + * Gets the isEntryExitAnnounced + * Indicates whether to announce when callers join or leave. + * + * @return bool|null The isEntryExitAnnounced + */ + public function getIsEntryExitAnnounced() + { + if (array_key_exists("isEntryExitAnnounced", $this->_propDict)) { + return $this->_propDict["isEntryExitAnnounced"]; + } else { + return null; + } + } + + /** + * Sets the isEntryExitAnnounced + * Indicates whether to announce when callers join or leave. + * + * @param bool $val The isEntryExitAnnounced + * + * @return OnlineMeeting + */ + public function setIsEntryExitAnnounced($val) + { + $this->_propDict["isEntryExitAnnounced"] = boolval($val); + return $this; + } + + /** + * Gets the joinInformation + * The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. + * + * @return ItemBody|null The joinInformation + */ + public function getJoinInformation() + { + if (array_key_exists("joinInformation", $this->_propDict)) { + if (is_a($this->_propDict["joinInformation"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["joinInformation"])) { + return $this->_propDict["joinInformation"]; + } else { + $this->_propDict["joinInformation"] = new ItemBody($this->_propDict["joinInformation"]); + return $this->_propDict["joinInformation"]; + } + } + return null; + } + + /** + * Sets the joinInformation + * The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. + * + * @param ItemBody $val The joinInformation + * + * @return OnlineMeeting + */ + public function setJoinInformation($val) + { + $this->_propDict["joinInformation"] = $val; + return $this; + } + + /** + * Gets the joinMeetingIdSettings + * + * @return JoinMeetingIdSettings|null The joinMeetingIdSettings + */ + public function getJoinMeetingIdSettings() + { + if (array_key_exists("joinMeetingIdSettings", $this->_propDict)) { + if (is_a($this->_propDict["joinMeetingIdSettings"], "\Beta\Microsoft\Graph\Model\JoinMeetingIdSettings") || is_null($this->_propDict["joinMeetingIdSettings"])) { + return $this->_propDict["joinMeetingIdSettings"]; + } else { + $this->_propDict["joinMeetingIdSettings"] = new JoinMeetingIdSettings($this->_propDict["joinMeetingIdSettings"]); + return $this->_propDict["joinMeetingIdSettings"]; + } + } + return null; + } + + /** + * Sets the joinMeetingIdSettings + * + * @param JoinMeetingIdSettings $val The joinMeetingIdSettings + * + * @return OnlineMeeting + */ + public function setJoinMeetingIdSettings($val) + { + $this->_propDict["joinMeetingIdSettings"] = $val; + return $this; + } + + /** + * Gets the joinUrl + * + * @return string|null The joinUrl + */ + public function getJoinUrl() + { + if (array_key_exists("joinUrl", $this->_propDict)) { + return $this->_propDict["joinUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinUrl + * + * @param string $val The joinUrl + * + * @return OnlineMeeting + */ + public function setJoinUrl($val) + { + $this->_propDict["joinUrl"] = $val; + return $this; + } + + /** + * Gets the joinWebUrl + * The join URL of the online meeting. Read-only. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * The join URL of the online meeting. Read-only. + * + * @param string $val The joinWebUrl + * + * @return OnlineMeeting + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the lobbyBypassSettings + * Specifies which participants can bypass the meeting lobby. + * + * @return LobbyBypassSettings|null The lobbyBypassSettings + */ + public function getLobbyBypassSettings() + { + if (array_key_exists("lobbyBypassSettings", $this->_propDict)) { + if (is_a($this->_propDict["lobbyBypassSettings"], "\Beta\Microsoft\Graph\Model\LobbyBypassSettings") || is_null($this->_propDict["lobbyBypassSettings"])) { + return $this->_propDict["lobbyBypassSettings"]; + } else { + $this->_propDict["lobbyBypassSettings"] = new LobbyBypassSettings($this->_propDict["lobbyBypassSettings"]); + return $this->_propDict["lobbyBypassSettings"]; + } + } + return null; + } + + /** + * Sets the lobbyBypassSettings + * Specifies which participants can bypass the meeting lobby. + * + * @param LobbyBypassSettings $val The lobbyBypassSettings + * + * @return OnlineMeeting + */ + public function setLobbyBypassSettings($val) + { + $this->_propDict["lobbyBypassSettings"] = $val; + return $this; + } + + /** + * Gets the participants + * The participants associated with the online meeting. This includes the organizer and the attendees. + * + * @return MeetingParticipants|null The participants + */ + public function getParticipants() + { + if (array_key_exists("participants", $this->_propDict)) { + if (is_a($this->_propDict["participants"], "\Beta\Microsoft\Graph\Model\MeetingParticipants") || is_null($this->_propDict["participants"])) { + return $this->_propDict["participants"]; + } else { + $this->_propDict["participants"] = new MeetingParticipants($this->_propDict["participants"]); + return $this->_propDict["participants"]; + } + } + return null; + } + + /** + * Sets the participants + * The participants associated with the online meeting. This includes the organizer and the attendees. + * + * @param MeetingParticipants $val The participants + * + * @return OnlineMeeting + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + + /** + * Gets the recordAutomatically + * Indicates whether to record the meeting automatically. + * + * @return bool|null The recordAutomatically + */ + public function getRecordAutomatically() + { + if (array_key_exists("recordAutomatically", $this->_propDict)) { + return $this->_propDict["recordAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the recordAutomatically + * Indicates whether to record the meeting automatically. + * + * @param bool $val The recordAutomatically + * + * @return OnlineMeeting + */ + public function setRecordAutomatically($val) + { + $this->_propDict["recordAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the recording + * The content stream of the recording of a Teams live event. Read-only. + * + * @return \GuzzleHttp\Psr7\Stream|null The recording + */ + public function getRecording() + { + if (array_key_exists("recording", $this->_propDict)) { + if (is_a($this->_propDict["recording"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["recording"])) { + return $this->_propDict["recording"]; + } else { + $this->_propDict["recording"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["recording"]); + return $this->_propDict["recording"]; + } + } + return null; + } + + /** + * Sets the recording + * The content stream of the recording of a Teams live event. Read-only. + * + * @param \GuzzleHttp\Psr7\Stream $val The recording + * + * @return OnlineMeeting + */ + public function setRecording($val) + { + $this->_propDict["recording"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The meeting start time in UTC. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The meeting start time in UTC. + * + * @param \DateTime $val The startDateTime + * + * @return OnlineMeeting + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the subject + * The subject of the online meeting. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The subject of the online meeting. + * + * @param string $val The subject + * + * @return OnlineMeeting + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the videoTeleconferenceId + * The video teleconferencing ID. Read-only. + * + * @return string|null The videoTeleconferenceId + */ + public function getVideoTeleconferenceId() + { + if (array_key_exists("videoTeleconferenceId", $this->_propDict)) { + return $this->_propDict["videoTeleconferenceId"]; + } else { + return null; + } + } + + /** + * Sets the videoTeleconferenceId + * The video teleconferencing ID. Read-only. + * + * @param string $val The videoTeleconferenceId + * + * @return OnlineMeeting + */ + public function setVideoTeleconferenceId($val) + { + $this->_propDict["videoTeleconferenceId"] = $val; + return $this; + } + + + /** + * Gets the attendanceReports + * The attendance reports of an online meeting. Read-only. + * + * @return array|null The attendanceReports + */ + public function getAttendanceReports() + { + if (array_key_exists("attendanceReports", $this->_propDict)) { + return $this->_propDict["attendanceReports"]; + } else { + return null; + } + } + + /** + * Sets the attendanceReports + * The attendance reports of an online meeting. Read-only. + * + * @param MeetingAttendanceReport[] $val The attendanceReports + * + * @return OnlineMeeting + */ + public function setAttendanceReports($val) + { + $this->_propDict["attendanceReports"] = $val; + return $this; + } + + /** + * Gets the meetingAttendanceReport + * + * @return MeetingAttendanceReport|null The meetingAttendanceReport + */ + public function getMeetingAttendanceReport() + { + if (array_key_exists("meetingAttendanceReport", $this->_propDict)) { + if (is_a($this->_propDict["meetingAttendanceReport"], "\Beta\Microsoft\Graph\Model\MeetingAttendanceReport") || is_null($this->_propDict["meetingAttendanceReport"])) { + return $this->_propDict["meetingAttendanceReport"]; + } else { + $this->_propDict["meetingAttendanceReport"] = new MeetingAttendanceReport($this->_propDict["meetingAttendanceReport"]); + return $this->_propDict["meetingAttendanceReport"]; + } + } + return null; + } + + /** + * Sets the meetingAttendanceReport + * + * @param MeetingAttendanceReport $val The meetingAttendanceReport + * + * @return OnlineMeeting + */ + public function setMeetingAttendanceReport($val) + { + $this->_propDict["meetingAttendanceReport"] = $val; + return $this; + } + + /** + * Gets the registration + * The registration that has been enabled for an online meeting. One online meeting can only have one registration enabled. + * + * @return MeetingRegistration|null The registration + */ + public function getRegistration() + { + if (array_key_exists("registration", $this->_propDict)) { + if (is_a($this->_propDict["registration"], "\Beta\Microsoft\Graph\Model\MeetingRegistration") || is_null($this->_propDict["registration"])) { + return $this->_propDict["registration"]; + } else { + $this->_propDict["registration"] = new MeetingRegistration($this->_propDict["registration"]); + return $this->_propDict["registration"]; + } + } + return null; + } + + /** + * Sets the registration + * The registration that has been enabled for an online meeting. One online meeting can only have one registration enabled. + * + * @param MeetingRegistration $val The registration + * + * @return OnlineMeeting + */ + public function setRegistration($val) + { + $this->_propDict["registration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingForwarders.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingForwarders.php new file mode 100644 index 0000000..5f8ea2e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingForwarders.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["conferenceId"]; + } else { + return null; + } + } + + /** + * Sets the conferenceId + * The ID of the conference. + * + * @param string $val The value of the conferenceId + * + * @return OnlineMeetingInfo + */ + public function setConferenceId($val) + { + $this->_propDict["conferenceId"] = $val; + return $this; + } + /** + * Gets the joinUrl + * The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. + * + * @return string|null The joinUrl + */ + public function getJoinUrl() + { + if (array_key_exists("joinUrl", $this->_propDict)) { + return $this->_propDict["joinUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinUrl + * The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. + * + * @param string $val The value of the joinUrl + * + * @return OnlineMeetingInfo + */ + public function setJoinUrl($val) + { + $this->_propDict["joinUrl"] = $val; + return $this; + } + + /** + * Gets the phones + * All of the phone numbers associated with this conference. + * + * @return Phone|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + if (is_a($this->_propDict["phones"], "\Beta\Microsoft\Graph\Model\Phone") || is_null($this->_propDict["phones"])) { + return $this->_propDict["phones"]; + } else { + $this->_propDict["phones"] = new Phone($this->_propDict["phones"]); + return $this->_propDict["phones"]; + } + } + return null; + } + + /** + * Sets the phones + * All of the phone numbers associated with this conference. + * + * @param Phone $val The value to assign to the phones + * + * @return OnlineMeetingInfo The OnlineMeetingInfo + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + /** + * Gets the quickDial + * The pre-formatted quickdial for this call. + * + * @return string|null The quickDial + */ + public function getQuickDial() + { + if (array_key_exists("quickDial", $this->_propDict)) { + return $this->_propDict["quickDial"]; + } else { + return null; + } + } + + /** + * Sets the quickDial + * The pre-formatted quickdial for this call. + * + * @param string $val The value of the quickDial + * + * @return OnlineMeetingInfo + */ + public function setQuickDial($val) + { + $this->_propDict["quickDial"] = $val; + return $this; + } + /** + * Gets the tollFreeNumbers + * The toll free numbers that can be used to join the conference. + * + * @return string|null The tollFreeNumbers + */ + public function getTollFreeNumbers() + { + if (array_key_exists("tollFreeNumbers", $this->_propDict)) { + return $this->_propDict["tollFreeNumbers"]; + } else { + return null; + } + } + + /** + * Sets the tollFreeNumbers + * The toll free numbers that can be used to join the conference. + * + * @param string $val The value of the tollFreeNumbers + * + * @return OnlineMeetingInfo + */ + public function setTollFreeNumbers($val) + { + $this->_propDict["tollFreeNumbers"] = $val; + return $this; + } + /** + * Gets the tollNumber + * The toll number that can be used to join the conference. + * + * @return string|null The tollNumber + */ + public function getTollNumber() + { + if (array_key_exists("tollNumber", $this->_propDict)) { + return $this->_propDict["tollNumber"]; + } else { + return null; + } + } + + /** + * Sets the tollNumber + * The toll number that can be used to join the conference. + * + * @param string $val The value of the tollNumber + * + * @return OnlineMeetingInfo + */ + public function setTollNumber($val) + { + $this->_propDict["tollNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingPresenters.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingPresenters.php new file mode 100644 index 0000000..abd7ba0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingPresenters.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["claimsMapping"], "\Beta\Microsoft\Graph\Model\ClaimsMapping") || is_null($this->_propDict["claimsMapping"])) { + return $this->_propDict["claimsMapping"]; + } else { + $this->_propDict["claimsMapping"] = new ClaimsMapping($this->_propDict["claimsMapping"]); + return $this->_propDict["claimsMapping"]; + } + } + return null; + } + + /** + * Sets the claimsMapping + * After the OIDC provider sends an ID token back to Azure AD, Azure AD needs to be able to map the claims from the received token to the claims that Azure AD recognizes and uses. This complex type captures that mapping. Required. + * + * @param ClaimsMapping $val The claimsMapping + * + * @return OpenIdConnectIdentityProvider + */ + public function setClaimsMapping($val) + { + $this->_propDict["claimsMapping"] = $val; + return $this; + } + + /** + * Gets the clientId + * The client identifier for the application obtained when registering the application with the identity provider. Required. + * + * @return string|null The clientId + */ + public function getClientId() + { + if (array_key_exists("clientId", $this->_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The client identifier for the application obtained when registering the application with the identity provider. Required. + * + * @param string $val The clientId + * + * @return OpenIdConnectIdentityProvider + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the clientSecret + * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is id_token the secret is not required because there is no code exchange. The id_token is returned directly from the authorization response. This is write-only. A read operation returns ****. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * The client secret for the application obtained when registering the application with the identity provider. The clientSecret has a dependency on responseType. When responseType is code, a secret is required for the auth code exchange.When responseType is id_token the secret is not required because there is no code exchange. The id_token is returned directly from the authorization response. This is write-only. A read operation returns ****. + * + * @param string $val The clientSecret + * + * @return OpenIdConnectIdentityProvider + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } + + /** + * Gets the domainHint + * The domain hint can be used to skip directly to the sign-in page of the specified identity provider, instead of having the user make a selection among the list of available identity providers. + * + * @return string|null The domainHint + */ + public function getDomainHint() + { + if (array_key_exists("domainHint", $this->_propDict)) { + return $this->_propDict["domainHint"]; + } else { + return null; + } + } + + /** + * Sets the domainHint + * The domain hint can be used to skip directly to the sign-in page of the specified identity provider, instead of having the user make a selection among the list of available identity providers. + * + * @param string $val The domainHint + * + * @return OpenIdConnectIdentityProvider + */ + public function setDomainHint($val) + { + $this->_propDict["domainHint"] = $val; + return $this; + } + + /** + * Gets the metadataUrl + * The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration. Provide the metadata URL for the OpenID Connect identity provider you add. Read-only. Required. + * + * @return string|null The metadataUrl + */ + public function getMetadataUrl() + { + if (array_key_exists("metadataUrl", $this->_propDict)) { + return $this->_propDict["metadataUrl"]; + } else { + return null; + } + } + + /** + * Sets the metadataUrl + * The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration. Provide the metadata URL for the OpenID Connect identity provider you add. Read-only. Required. + * + * @param string $val The metadataUrl + * + * @return OpenIdConnectIdentityProvider + */ + public function setMetadataUrl($val) + { + $this->_propDict["metadataUrl"] = $val; + return $this; + } + + /** + * Gets the responseMode + * The response mode defines the method used to send data back from the custom identity provider to Azure AD B2C. Possible values: form_post, query. Required. + * + * @return OpenIdConnectResponseMode|null The responseMode + */ + public function getResponseMode() + { + if (array_key_exists("responseMode", $this->_propDict)) { + if (is_a($this->_propDict["responseMode"], "\Beta\Microsoft\Graph\Model\OpenIdConnectResponseMode") || is_null($this->_propDict["responseMode"])) { + return $this->_propDict["responseMode"]; + } else { + $this->_propDict["responseMode"] = new OpenIdConnectResponseMode($this->_propDict["responseMode"]); + return $this->_propDict["responseMode"]; + } + } + return null; + } + + /** + * Sets the responseMode + * The response mode defines the method used to send data back from the custom identity provider to Azure AD B2C. Possible values: form_post, query. Required. + * + * @param OpenIdConnectResponseMode $val The responseMode + * + * @return OpenIdConnectIdentityProvider + */ + public function setResponseMode($val) + { + $this->_propDict["responseMode"] = $val; + return $this; + } + + /** + * Gets the responseType + * The response type describes the type of information sent back in the initial call to the authorization_endpoint of the custom identity provider. Possible values: code , id_token , token. Required. + * + * @return OpenIdConnectResponseTypes|null The responseType + */ + public function getResponseType() + { + if (array_key_exists("responseType", $this->_propDict)) { + if (is_a($this->_propDict["responseType"], "\Beta\Microsoft\Graph\Model\OpenIdConnectResponseTypes") || is_null($this->_propDict["responseType"])) { + return $this->_propDict["responseType"]; + } else { + $this->_propDict["responseType"] = new OpenIdConnectResponseTypes($this->_propDict["responseType"]); + return $this->_propDict["responseType"]; + } + } + return null; + } + + /** + * Sets the responseType + * The response type describes the type of information sent back in the initial call to the authorization_endpoint of the custom identity provider. Possible values: code , id_token , token. Required. + * + * @param OpenIdConnectResponseTypes $val The responseType + * + * @return OpenIdConnectIdentityProvider + */ + public function setResponseType($val) + { + $this->_propDict["responseType"] = $val; + return $this; + } + + /** + * Gets the scope + * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended, separated by a space. For more details about the scope limitations see RFC6749 Section 3.3. Required. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended, separated by a space. For more details about the scope limitations see RFC6749 Section 3.3. Required. + * + * @param string $val The scope + * + * @return OpenIdConnectIdentityProvider + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php new file mode 100644 index 0000000..4fb3c88 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectProvider.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["claimsMapping"], "\Beta\Microsoft\Graph\Model\ClaimsMapping") || is_null($this->_propDict["claimsMapping"])) { + return $this->_propDict["claimsMapping"]; + } else { + $this->_propDict["claimsMapping"] = new ClaimsMapping($this->_propDict["claimsMapping"]); + return $this->_propDict["claimsMapping"]; + } + } + return null; + } + + /** + * Sets the claimsMapping + * After the OIDC provider sends an ID token back to Azure AD, Azure AD needs to be able to map the claims from the received token to the claims that Azure AD recognizes and uses. This complex type captures that mapping. It is a required property. + * + * @param ClaimsMapping $val The claimsMapping + * + * @return OpenIdConnectProvider + */ + public function setClaimsMapping($val) + { + $this->_propDict["claimsMapping"] = $val; + return $this; + } + + /** + * Gets the domainHint + * The domain hint can be used to skip directly to the sign-in page of the specified identity provider, instead of having the user make a selection among the list of available identity providers. + * + * @return string|null The domainHint + */ + public function getDomainHint() + { + if (array_key_exists("domainHint", $this->_propDict)) { + return $this->_propDict["domainHint"]; + } else { + return null; + } + } + + /** + * Sets the domainHint + * The domain hint can be used to skip directly to the sign-in page of the specified identity provider, instead of having the user make a selection among the list of available identity providers. + * + * @param string $val The domainHint + * + * @return OpenIdConnectProvider + */ + public function setDomainHint($val) + { + $this->_propDict["domainHint"] = $val; + return $this; + } + + /** + * Gets the metadataUrl + * The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration . For the OpenID Connect identity provider you are looking to add, you will need to provide the metadata URL. It is a required property and is read only after creation. + * + * @return string|null The metadataUrl + */ + public function getMetadataUrl() + { + if (array_key_exists("metadataUrl", $this->_propDict)) { + return $this->_propDict["metadataUrl"]; + } else { + return null; + } + } + + /** + * Sets the metadataUrl + * The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration . For the OpenID Connect identity provider you are looking to add, you will need to provide the metadata URL. It is a required property and is read only after creation. + * + * @param string $val The metadataUrl + * + * @return OpenIdConnectProvider + */ + public function setMetadataUrl($val) + { + $this->_propDict["metadataUrl"] = $val; + return $this; + } + + /** + * Gets the responseMode + * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: form_post, query. query response mode means the code or token is returned as a query parameter. form_post response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. + * + * @return OpenIdConnectResponseMode|null The responseMode + */ + public function getResponseMode() + { + if (array_key_exists("responseMode", $this->_propDict)) { + if (is_a($this->_propDict["responseMode"], "\Beta\Microsoft\Graph\Model\OpenIdConnectResponseMode") || is_null($this->_propDict["responseMode"])) { + return $this->_propDict["responseMode"]; + } else { + $this->_propDict["responseMode"] = new OpenIdConnectResponseMode($this->_propDict["responseMode"]); + return $this->_propDict["responseMode"]; + } + } + return null; + } + + /** + * Sets the responseMode + * The response mode defines the method that should be used to send the data back from the custom identity provider to Azure AD B2C. The following response modes can be used: form_post, query. query response mode means the code or token is returned as a query parameter. form_post response mode is recommended for the best security. The response is transmitted via the HTTP POST method, with the code or token being encoded in the body using the application/x-www-form-urlencoded format. It is a required property. + * + * @param OpenIdConnectResponseMode $val The responseMode + * + * @return OpenIdConnectProvider + */ + public function setResponseMode($val) + { + $this->_propDict["responseMode"] = $val; + return $this; + } + + /** + * Gets the responseType + * response type describes what kind of information is sent back in the initial call to the authorization_endpoint of the custom identity provider. The following response types can be used: code , id_token , token. It is a required property. + * + * @return OpenIdConnectResponseTypes|null The responseType + */ + public function getResponseType() + { + if (array_key_exists("responseType", $this->_propDict)) { + if (is_a($this->_propDict["responseType"], "\Beta\Microsoft\Graph\Model\OpenIdConnectResponseTypes") || is_null($this->_propDict["responseType"])) { + return $this->_propDict["responseType"]; + } else { + $this->_propDict["responseType"] = new OpenIdConnectResponseTypes($this->_propDict["responseType"]); + return $this->_propDict["responseType"]; + } + } + return null; + } + + /** + * Sets the responseType + * response type describes what kind of information is sent back in the initial call to the authorization_endpoint of the custom identity provider. The following response types can be used: code , id_token , token. It is a required property. + * + * @param OpenIdConnectResponseTypes $val The responseType + * + * @return OpenIdConnectProvider + */ + public function setResponseType($val) + { + $this->_propDict["responseType"] = $val; + return $this; + } + + /** + * Gets the scope + * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended separated by space. For more details about the scope limitations see RFC6749 Section 3.3. It is a required property. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended separated by space. For more details about the scope limitations see RFC6749 Section 3.3. It is a required property. + * + * @param string $val The scope + * + * @return OpenIdConnectProvider + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectResponseMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectResponseMode.php new file mode 100644 index 0000000..ca31ce6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectResponseMode.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["draftOpenShift"], "\Beta\Microsoft\Graph\Model\OpenShiftItem") || is_null($this->_propDict["draftOpenShift"])) { + return $this->_propDict["draftOpenShift"]; + } else { + $this->_propDict["draftOpenShift"] = new OpenShiftItem($this->_propDict["draftOpenShift"]); + return $this->_propDict["draftOpenShift"]; + } + } + return null; + } + + /** + * Sets the draftOpenShift + * An unpublished open shift. + * + * @param OpenShiftItem $val The draftOpenShift + * + * @return OpenShift + */ + public function setDraftOpenShift($val) + { + $this->_propDict["draftOpenShift"] = $val; + return $this; + } + + /** + * Gets the isStagedForDeletion + * + * @return bool|null The isStagedForDeletion + */ + public function getIsStagedForDeletion() + { + if (array_key_exists("isStagedForDeletion", $this->_propDict)) { + return $this->_propDict["isStagedForDeletion"]; + } else { + return null; + } + } + + /** + * Sets the isStagedForDeletion + * + * @param bool $val The isStagedForDeletion + * + * @return OpenShift + */ + public function setIsStagedForDeletion($val) + { + $this->_propDict["isStagedForDeletion"] = boolval($val); + return $this; + } + + /** + * Gets the schedulingGroupId + * ID for the scheduling group that the open shift belongs to. + * + * @return string|null The schedulingGroupId + */ + public function getSchedulingGroupId() + { + if (array_key_exists("schedulingGroupId", $this->_propDict)) { + return $this->_propDict["schedulingGroupId"]; + } else { + return null; + } + } + + /** + * Sets the schedulingGroupId + * ID for the scheduling group that the open shift belongs to. + * + * @param string $val The schedulingGroupId + * + * @return OpenShift + */ + public function setSchedulingGroupId($val) + { + $this->_propDict["schedulingGroupId"] = $val; + return $this; + } + + /** + * Gets the sharedOpenShift + * A published open shift. + * + * @return OpenShiftItem|null The sharedOpenShift + */ + public function getSharedOpenShift() + { + if (array_key_exists("sharedOpenShift", $this->_propDict)) { + if (is_a($this->_propDict["sharedOpenShift"], "\Beta\Microsoft\Graph\Model\OpenShiftItem") || is_null($this->_propDict["sharedOpenShift"])) { + return $this->_propDict["sharedOpenShift"]; + } else { + $this->_propDict["sharedOpenShift"] = new OpenShiftItem($this->_propDict["sharedOpenShift"]); + return $this->_propDict["sharedOpenShift"]; + } + } + return null; + } + + /** + * Sets the sharedOpenShift + * A published open shift. + * + * @param OpenShiftItem $val The sharedOpenShift + * + * @return OpenShift + */ + public function setSharedOpenShift($val) + { + $this->_propDict["sharedOpenShift"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftChangeRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftChangeRequest.php new file mode 100644 index 0000000..03b81b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftChangeRequest.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["openShiftId"]; + } else { + return null; + } + } + + /** + * Sets the openShiftId + * ID for the open shift. + * + * @param string $val The openShiftId + * + * @return OpenShiftChangeRequest + */ + public function setOpenShiftId($val) + { + $this->_propDict["openShiftId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftItem.php new file mode 100644 index 0000000..8831f6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["openSlotCount"]; + } else { + return null; + } + } + + /** + * Sets the openSlotCount + * Count of the number of slots for the given open shift. + * + * @param int $val The value of the openSlotCount + * + * @return OpenShiftItem + */ + public function setOpenSlotCount($val) + { + $this->_propDict["openSlotCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenTypeExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenTypeExtension.php new file mode 100644 index 0000000..3854a46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenTypeExtension.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["extensionName"]; + } else { + return null; + } + } + + /** + * Sets the extensionName + * A unique text identifier for an open type data extension. Required. + * + * @param string $val The extensionName + * + * @return OpenTypeExtension + */ + public function setExtensionName($val) + { + $this->_propDict["extensionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php new file mode 100644 index 0000000..b47ba0b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperatingSystemUpgradeEligibility.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of this range (e.g. Valid 1702 builds) + * + * @param string $val The value of the description + * + * @return OperatingSystemVersionRange + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the highestVersion + * The highest inclusive version that this range contains. + * + * @return string|null The highestVersion + */ + public function getHighestVersion() + { + if (array_key_exists("highestVersion", $this->_propDict)) { + return $this->_propDict["highestVersion"]; + } else { + return null; + } + } + + /** + * Sets the highestVersion + * The highest inclusive version that this range contains. + * + * @param string $val The value of the highestVersion + * + * @return OperatingSystemVersionRange + */ + public function setHighestVersion($val) + { + $this->_propDict["highestVersion"] = $val; + return $this; + } + /** + * Gets the lowestVersion + * The lowest inclusive version that this range contains. + * + * @return string|null The lowestVersion + */ + public function getLowestVersion() + { + if (array_key_exists("lowestVersion", $this->_propDict)) { + return $this->_propDict["lowestVersion"]; + } else { + return null; + } + } + + /** + * Sets the lowestVersion + * The lowest inclusive version that this range contains. + * + * @param string $val The value of the lowestVersion + * + * @return OperatingSystemVersionRange + */ + public function setLowestVersion($val) + { + $this->_propDict["lowestVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Operation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Operation.php new file mode 100644 index 0000000..ff7c640 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Operation.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The start time of the operation. + * + * @param \DateTime $val The createdDateTime + * + * @return Operation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * The time of the last action of the operation. + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * The time of the last action of the operation. + * + * @param \DateTime $val The lastActionDateTime + * + * @return Operation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @return OperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @param OperationStatus $val The status + * + * @return Operation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationApprovalPolicySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationApprovalPolicySet.php new file mode 100644 index 0000000..56504a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationApprovalPolicySet.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * Operation error code. + * + * @param string $val The value of the code + * + * @return OperationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * Operation error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * Operation error message. + * + * @param string $val The value of the message + * + * @return OperationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationResult.php new file mode 100644 index 0000000..f1187a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationResult.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["additionalProperties"]; + } else { + return null; + } + } + + /** + * Sets the additionalProperties + * Additional properties of the claim. If a property exists in this collection, it modifies the behavior of the optional claim specified in the name property. + * + * @param string $val The value of the additionalProperties + * + * @return OptionalClaim + */ + public function setAdditionalProperties($val) + { + $this->_propDict["additionalProperties"] = $val; + return $this; + } + /** + * Gets the essential + * If the value is true, the claim specified by the client is necessary to ensure a smooth authorization experience for the specific task requested by the end user. The default value is false. + * + * @return bool|null The essential + */ + public function getEssential() + { + if (array_key_exists("essential", $this->_propDict)) { + return $this->_propDict["essential"]; + } else { + return null; + } + } + + /** + * Sets the essential + * If the value is true, the claim specified by the client is necessary to ensure a smooth authorization experience for the specific task requested by the end user. The default value is false. + * + * @param bool $val The value of the essential + * + * @return OptionalClaim + */ + public function setEssential($val) + { + $this->_propDict["essential"] = $val; + return $this; + } + /** + * Gets the name + * The name of the optional claim. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the optional claim. + * + * @param string $val The value of the name + * + * @return OptionalClaim + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the source + * The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object. + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object. + * + * @param string $val The value of the source + * + * @return OptionalClaim + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OptionalClaims.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OptionalClaims.php new file mode 100644 index 0000000..c620ed2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OptionalClaims.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["accessToken"], "\Beta\Microsoft\Graph\Model\OptionalClaim") || is_null($this->_propDict["accessToken"])) { + return $this->_propDict["accessToken"]; + } else { + $this->_propDict["accessToken"] = new OptionalClaim($this->_propDict["accessToken"]); + return $this->_propDict["accessToken"]; + } + } + return null; + } + + /** + * Sets the accessToken + * The optional claims returned in the JWT access token. + * + * @param OptionalClaim $val The value to assign to the accessToken + * + * @return OptionalClaims The OptionalClaims + */ + public function setAccessToken($val) + { + $this->_propDict["accessToken"] = $val; + return $this; + } + + /** + * Gets the idToken + * The optional claims returned in the JWT ID token. + * + * @return OptionalClaim|null The idToken + */ + public function getIdToken() + { + if (array_key_exists("idToken", $this->_propDict)) { + if (is_a($this->_propDict["idToken"], "\Beta\Microsoft\Graph\Model\OptionalClaim") || is_null($this->_propDict["idToken"])) { + return $this->_propDict["idToken"]; + } else { + $this->_propDict["idToken"] = new OptionalClaim($this->_propDict["idToken"]); + return $this->_propDict["idToken"]; + } + } + return null; + } + + /** + * Sets the idToken + * The optional claims returned in the JWT ID token. + * + * @param OptionalClaim $val The value to assign to the idToken + * + * @return OptionalClaims The OptionalClaims + */ + public function setIdToken($val) + { + $this->_propDict["idToken"] = $val; + return $this; + } + + /** + * Gets the saml2Token + * The optional claims returned in the SAML token. + * + * @return OptionalClaim|null The saml2Token + */ + public function getSaml2Token() + { + if (array_key_exists("saml2Token", $this->_propDict)) { + if (is_a($this->_propDict["saml2Token"], "\Beta\Microsoft\Graph\Model\OptionalClaim") || is_null($this->_propDict["saml2Token"])) { + return $this->_propDict["saml2Token"]; + } else { + $this->_propDict["saml2Token"] = new OptionalClaim($this->_propDict["saml2Token"]); + return $this->_propDict["saml2Token"]; + } + } + return null; + } + + /** + * Sets the saml2Token + * The optional claims returned in the SAML token. + * + * @param OptionalClaim $val The value to assign to the saml2Token + * + * @return OptionalClaims The OptionalClaims + */ + public function setSaml2Token($val) + { + $this->_propDict["saml2Token"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrgContact.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrgContact.php new file mode 100644 index 0000000..0bbb66d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrgContact.php @@ -0,0 +1,591 @@ +_propDict)) { + return $this->_propDict["addresses"]; + } else { + return null; + } + } + + /** + * Sets the addresses + * Postal addresses for this organizational contact. For now a contact can only have one physical address. + * + * @param PhysicalOfficeAddress[] $val The addresses + * + * @return OrgContact + */ + public function setAddresses($val) + { + $this->_propDict["addresses"] = $val; + return $this; + } + + /** + * Gets the companyName + * Name of the company that this organizational contact belong to. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @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 + * Name of the company that this organizational contact belong to. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The companyName + * + * @return OrgContact + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the department + * The name for the department in which the contact works. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The name for the department in which the contact works. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The department + * + * @return OrgContact + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return OrgContact + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the givenName + * First name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * First name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The givenName + * + * @return OrgContact + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the jobTitle + * Job title for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * Job title for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The jobTitle + * + * @return OrgContact + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the contact, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the contact, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mail + * + * @return OrgContact + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * Email alias (portion of email address pre-pending the @ symbol) for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * Email alias (portion of email address pre-pending the @ symbol) for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mailNickname + * + * @return OrgContact + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * Date and time when this organizational contact was last synchronized from on-premises AD. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * Date and time when this organizational contact was last synchronized from on-premises AD. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return OrgContact + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + + /** + * Gets the onPremisesProvisioningErrors + * List of any synchronization provisioning errors for this organizational contact. Supports $filter (eq, not). + * + * @return array|null The onPremisesProvisioningErrors + */ + public function getOnPremisesProvisioningErrors() + { + if (array_key_exists("onPremisesProvisioningErrors", $this->_propDict)) { + return $this->_propDict["onPremisesProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesProvisioningErrors + * List of any synchronization provisioning errors for this organizational contact. Supports $filter (eq, not). + * + * @param OnPremisesProvisioningError[] $val The onPremisesProvisioningErrors + * + * @return OrgContact + */ + public function setOnPremisesProvisioningErrors($val) + { + $this->_propDict["onPremisesProvisioningErrors"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return OrgContact + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the phones + * List of phones for this organizational contact. Phone types can be mobile, business, and businessFax. Only one of each type can ever be present in the collection. Supports $filter (eq, ne, not, in). + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * List of phones for this organizational contact. Phone types can be mobile, business, and businessFax. Only one of each type can ever be present in the collection. Supports $filter (eq, ne, not, in). + * + * @param Phone[] $val The phones + * + * @return OrgContact + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + + /** + * Gets the proxyAddresses + * For example: 'SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'. The any operator is required for filter expressions on multi-valued properties. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @return string|null The proxyAddresses + */ + public function getProxyAddresses() + { + if (array_key_exists("proxyAddresses", $this->_propDict)) { + return $this->_propDict["proxyAddresses"]; + } else { + return null; + } + } + + /** + * Sets the proxyAddresses + * For example: 'SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'. The any operator is required for filter expressions on multi-valued properties. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @param string $val The proxyAddresses + * + * @return OrgContact + */ + public function setProxyAddresses($val) + { + $this->_propDict["proxyAddresses"] = $val; + return $this; + } + + /** + * Gets the surname + * Last name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * Last name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * + * @param string $val The surname + * + * @return OrgContact + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + + /** + * Gets the directReports + * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + * + * @return array|null The directReports + */ + public function getDirectReports() + { + if (array_key_exists("directReports", $this->_propDict)) { + return $this->_propDict["directReports"]; + } else { + return null; + } + } + + /** + * Sets the directReports + * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The directReports + * + * @return OrgContact + */ + public function setDirectReports($val) + { + $this->_propDict["directReports"] = $val; + return $this; + } + + /** + * Gets the manager + * The user or contact that is this contact's manager. Read-only. Supports $expand. + * + * @return DirectoryObject|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new DirectoryObject($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * The user or contact that is this contact's manager. Read-only. Supports $expand. + * + * @param DirectoryObject $val The manager + * + * @return OrgContact + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return OrgContact + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return OrgContact + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveReports + * The transitive reports for a contact. Read-only. + * + * @return array|null The transitiveReports + */ + public function getTransitiveReports() + { + if (array_key_exists("transitiveReports", $this->_propDict)) { + return $this->_propDict["transitiveReports"]; + } else { + return null; + } + } + + /** + * Sets the transitiveReports + * The transitive reports for a contact. Read-only. + * + * @param DirectoryObject[] $val The transitiveReports + * + * @return OrgContact + */ + public function setTransitiveReports($val) + { + $this->_propDict["transitiveReports"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Organization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Organization.php new file mode 100644 index 0000000..2b6952e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Organization.php @@ -0,0 +1,872 @@ +_propDict)) { + return $this->_propDict["assignedPlans"]; + } else { + return null; + } + } + + /** + * Sets the assignedPlans + * The collection of service plans associated with the tenant. Not nullable. + * + * @param AssignedPlan[] $val The assignedPlans + * + * @return Organization + */ + public function setAssignedPlans($val) + { + $this->_propDict["assignedPlans"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * Telephone number for the organization. Although this is a string collection, only one number can be set for this property. + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * Telephone number for the organization. Although this is a string collection, only one number can be set for this property. + * + * @param string $val The businessPhones + * + * @return Organization + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the city + * City name of the address for the organization. + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * City name of the address for the organization. + * + * @param string $val The city + * + * @return Organization + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + + /** + * Gets the country + * Country/region name of the address for the organization. + * + * @return string|null The country + */ + public function getCountry() + { + if (array_key_exists("country", $this->_propDict)) { + return $this->_propDict["country"]; + } else { + return null; + } + } + + /** + * Sets the country + * Country/region name of the address for the organization. + * + * @param string $val The country + * + * @return Organization + */ + public function setCountry($val) + { + $this->_propDict["country"] = $val; + return $this; + } + + /** + * Gets the countryLetterCode + * Country or region abbreviation for the organization in ISO 3166-2 format. + * + * @return string|null The countryLetterCode + */ + public function getCountryLetterCode() + { + if (array_key_exists("countryLetterCode", $this->_propDict)) { + return $this->_propDict["countryLetterCode"]; + } else { + return null; + } + } + + /** + * Sets the countryLetterCode + * Country or region abbreviation for the organization in ISO 3166-2 format. + * + * @param string $val The countryLetterCode + * + * @return Organization + */ + public function setCountryLetterCode($val) + { + $this->_propDict["countryLetterCode"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. 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 createdDateTime + * + * @return Organization + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the directorySizeQuota + * The directory size quota information of an organization. + * + * @return DirectorySizeQuota|null The directorySizeQuota + */ + public function getDirectorySizeQuota() + { + if (array_key_exists("directorySizeQuota", $this->_propDict)) { + if (is_a($this->_propDict["directorySizeQuota"], "\Beta\Microsoft\Graph\Model\DirectorySizeQuota") || is_null($this->_propDict["directorySizeQuota"])) { + return $this->_propDict["directorySizeQuota"]; + } else { + $this->_propDict["directorySizeQuota"] = new DirectorySizeQuota($this->_propDict["directorySizeQuota"]); + return $this->_propDict["directorySizeQuota"]; + } + } + return null; + } + + /** + * Sets the directorySizeQuota + * The directory size quota information of an organization. + * + * @param DirectorySizeQuota $val The directorySizeQuota + * + * @return Organization + */ + public function setDirectorySizeQuota($val) + { + $this->_propDict["directorySizeQuota"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the tenant. + * + * @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 + * The display name for the tenant. + * + * @param string $val The displayName + * + * @return Organization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isMultipleDataLocationsForServicesEnabled + * true if organization is Multi-Geo enabled; false if organization is not Multi-Geo enabled; null (default). Read-only. For more information, see OneDrive Online Multi-Geo. + * + * @return bool|null The isMultipleDataLocationsForServicesEnabled + */ + public function getIsMultipleDataLocationsForServicesEnabled() + { + if (array_key_exists("isMultipleDataLocationsForServicesEnabled", $this->_propDict)) { + return $this->_propDict["isMultipleDataLocationsForServicesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isMultipleDataLocationsForServicesEnabled + * true if organization is Multi-Geo enabled; false if organization is not Multi-Geo enabled; null (default). Read-only. For more information, see OneDrive Online Multi-Geo. + * + * @param bool $val The isMultipleDataLocationsForServicesEnabled + * + * @return Organization + */ + public function setIsMultipleDataLocationsForServicesEnabled($val) + { + $this->_propDict["isMultipleDataLocationsForServicesEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the marketingNotificationEmails + * Not nullable. + * + * @return string|null The marketingNotificationEmails + */ + public function getMarketingNotificationEmails() + { + if (array_key_exists("marketingNotificationEmails", $this->_propDict)) { + return $this->_propDict["marketingNotificationEmails"]; + } else { + return null; + } + } + + /** + * Sets the marketingNotificationEmails + * Not nullable. + * + * @param string $val The marketingNotificationEmails + * + * @return Organization + */ + public function setMarketingNotificationEmails($val) + { + $this->_propDict["marketingNotificationEmails"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * The time and date at which the tenant was last synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * The time and date at which the tenant was last synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return Organization + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; Nullable. null if this object has never been synced from an on-premises directory (default). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; Nullable. null if this object has never been synced from an on-premises directory (default). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return Organization + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the postalCode + * Postal code of the address for the organization. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * Postal code of the address for the organization. + * + * @param string $val The postalCode + * + * @return Organization + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for the organization. Should follow ISO 639-1 Code; for example en. + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for the organization. Should follow ISO 639-1 Code; for example en. + * + * @param string $val The preferredLanguage + * + * @return Organization + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + /** + * Gets the privacyProfile + * The privacy profile of an organization. + * + * @return PrivacyProfile|null The privacyProfile + */ + public function getPrivacyProfile() + { + if (array_key_exists("privacyProfile", $this->_propDict)) { + if (is_a($this->_propDict["privacyProfile"], "\Beta\Microsoft\Graph\Model\PrivacyProfile") || is_null($this->_propDict["privacyProfile"])) { + return $this->_propDict["privacyProfile"]; + } else { + $this->_propDict["privacyProfile"] = new PrivacyProfile($this->_propDict["privacyProfile"]); + return $this->_propDict["privacyProfile"]; + } + } + return null; + } + + /** + * Sets the privacyProfile + * The privacy profile of an organization. + * + * @param PrivacyProfile $val The privacyProfile + * + * @return Organization + */ + public function setPrivacyProfile($val) + { + $this->_propDict["privacyProfile"] = $val; + return $this; + } + + + /** + * Gets the provisionedPlans + * Not nullable. + * + * @return array|null The provisionedPlans + */ + public function getProvisionedPlans() + { + if (array_key_exists("provisionedPlans", $this->_propDict)) { + return $this->_propDict["provisionedPlans"]; + } else { + return null; + } + } + + /** + * Sets the provisionedPlans + * Not nullable. + * + * @param ProvisionedPlan[] $val The provisionedPlans + * + * @return Organization + */ + public function setProvisionedPlans($val) + { + $this->_propDict["provisionedPlans"] = $val; + return $this; + } + + /** + * Gets the securityComplianceNotificationMails + * + * @return string|null The securityComplianceNotificationMails + */ + public function getSecurityComplianceNotificationMails() + { + if (array_key_exists("securityComplianceNotificationMails", $this->_propDict)) { + return $this->_propDict["securityComplianceNotificationMails"]; + } else { + return null; + } + } + + /** + * Sets the securityComplianceNotificationMails + * + * @param string $val The securityComplianceNotificationMails + * + * @return Organization + */ + public function setSecurityComplianceNotificationMails($val) + { + $this->_propDict["securityComplianceNotificationMails"] = $val; + return $this; + } + + /** + * Gets the securityComplianceNotificationPhones + * + * @return string|null The securityComplianceNotificationPhones + */ + public function getSecurityComplianceNotificationPhones() + { + if (array_key_exists("securityComplianceNotificationPhones", $this->_propDict)) { + return $this->_propDict["securityComplianceNotificationPhones"]; + } else { + return null; + } + } + + /** + * Sets the securityComplianceNotificationPhones + * + * @param string $val The securityComplianceNotificationPhones + * + * @return Organization + */ + public function setSecurityComplianceNotificationPhones($val) + { + $this->_propDict["securityComplianceNotificationPhones"] = $val; + return $this; + } + + /** + * Gets the state + * State name of the address for the organization. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * State name of the address for the organization. + * + * @param string $val The state + * + * @return Organization + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the street + * Street name of the address for organization. + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * Street name of the address for organization. + * + * @param string $val The street + * + * @return Organization + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } + + /** + * Gets the technicalNotificationMails + * Not nullable. + * + * @return string|null The technicalNotificationMails + */ + public function getTechnicalNotificationMails() + { + if (array_key_exists("technicalNotificationMails", $this->_propDict)) { + return $this->_propDict["technicalNotificationMails"]; + } else { + return null; + } + } + + /** + * Sets the technicalNotificationMails + * Not nullable. + * + * @param string $val The technicalNotificationMails + * + * @return Organization + */ + public function setTechnicalNotificationMails($val) + { + $this->_propDict["technicalNotificationMails"] = $val; + return $this; + } + + + /** + * Gets the verifiedDomains + * The collection of domains associated with this tenant. Not nullable. + * + * @return array|null The verifiedDomains + */ + public function getVerifiedDomains() + { + if (array_key_exists("verifiedDomains", $this->_propDict)) { + return $this->_propDict["verifiedDomains"]; + } else { + return null; + } + } + + /** + * Sets the verifiedDomains + * The collection of domains associated with this tenant. Not nullable. + * + * @param VerifiedDomain[] $val The verifiedDomains + * + * @return Organization + */ + public function setVerifiedDomains($val) + { + $this->_propDict["verifiedDomains"] = $val; + return $this; + } + + /** + * Gets the certificateConnectorSetting + * Certificate connector setting. + * + * @return CertificateConnectorSetting|null The certificateConnectorSetting + */ + public function getCertificateConnectorSetting() + { + if (array_key_exists("certificateConnectorSetting", $this->_propDict)) { + if (is_a($this->_propDict["certificateConnectorSetting"], "\Beta\Microsoft\Graph\Model\CertificateConnectorSetting") || is_null($this->_propDict["certificateConnectorSetting"])) { + return $this->_propDict["certificateConnectorSetting"]; + } else { + $this->_propDict["certificateConnectorSetting"] = new CertificateConnectorSetting($this->_propDict["certificateConnectorSetting"]); + return $this->_propDict["certificateConnectorSetting"]; + } + } + return null; + } + + /** + * Sets the certificateConnectorSetting + * Certificate connector setting. + * + * @param CertificateConnectorSetting $val The certificateConnectorSetting + * + * @return Organization + */ + public function setCertificateConnectorSetting($val) + { + $this->_propDict["certificateConnectorSetting"] = $val; + return $this; + } + + /** + * Gets the mobileDeviceManagementAuthority + * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. + * + * @return MdmAuthority|null The mobileDeviceManagementAuthority + */ + public function getMobileDeviceManagementAuthority() + { + if (array_key_exists("mobileDeviceManagementAuthority", $this->_propDict)) { + if (is_a($this->_propDict["mobileDeviceManagementAuthority"], "\Beta\Microsoft\Graph\Model\MdmAuthority") || is_null($this->_propDict["mobileDeviceManagementAuthority"])) { + return $this->_propDict["mobileDeviceManagementAuthority"]; + } else { + $this->_propDict["mobileDeviceManagementAuthority"] = new MdmAuthority($this->_propDict["mobileDeviceManagementAuthority"]); + return $this->_propDict["mobileDeviceManagementAuthority"]; + } + } + return null; + } + + /** + * Sets the mobileDeviceManagementAuthority + * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. + * + * @param MdmAuthority $val The mobileDeviceManagementAuthority + * + * @return Organization + */ + public function setMobileDeviceManagementAuthority($val) + { + $this->_propDict["mobileDeviceManagementAuthority"] = $val; + return $this; + } + + /** + * Gets the branding + * Resource to manage the default branding for the organization. Nullable. + * + * @return OrganizationalBranding|null The branding + */ + public function getBranding() + { + if (array_key_exists("branding", $this->_propDict)) { + if (is_a($this->_propDict["branding"], "\Beta\Microsoft\Graph\Model\OrganizationalBranding") || is_null($this->_propDict["branding"])) { + return $this->_propDict["branding"]; + } else { + $this->_propDict["branding"] = new OrganizationalBranding($this->_propDict["branding"]); + return $this->_propDict["branding"]; + } + } + return null; + } + + /** + * Sets the branding + * Resource to manage the default branding for the organization. Nullable. + * + * @param OrganizationalBranding $val The branding + * + * @return Organization + */ + public function setBranding($val) + { + $this->_propDict["branding"] = $val; + return $this; + } + + + /** + * Gets the certificateBasedAuthConfiguration + * Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. + * + * @return array|null The certificateBasedAuthConfiguration + */ + public function getCertificateBasedAuthConfiguration() + { + if (array_key_exists("certificateBasedAuthConfiguration", $this->_propDict)) { + return $this->_propDict["certificateBasedAuthConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the certificateBasedAuthConfiguration + * Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. + * + * @param CertificateBasedAuthConfiguration[] $val The certificateBasedAuthConfiguration + * + * @return Organization + */ + public function setCertificateBasedAuthConfiguration($val) + { + $this->_propDict["certificateBasedAuthConfiguration"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the organization resource. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the organization resource. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Organization + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + /** + * Gets the settings + * Retrieve the properties and relationships of organizationSettings object. Nullable. + * + * @return OrganizationSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\OrganizationSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new OrganizationSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Retrieve the properties and relationships of organizationSettings object. Nullable. + * + * @param OrganizationSettings $val The settings + * + * @return Organization + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php new file mode 100644 index 0000000..96e7a3b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php @@ -0,0 +1,154 @@ +_propDict)) { + if (is_a($this->_propDict["microsoftApplicationDataAccess"], "\Beta\Microsoft\Graph\Model\MicrosoftApplicationDataAccessSettings") || is_null($this->_propDict["microsoftApplicationDataAccess"])) { + return $this->_propDict["microsoftApplicationDataAccess"]; + } else { + $this->_propDict["microsoftApplicationDataAccess"] = new MicrosoftApplicationDataAccessSettings($this->_propDict["microsoftApplicationDataAccess"]); + return $this->_propDict["microsoftApplicationDataAccess"]; + } + } + return null; + } + + /** + * Sets the microsoftApplicationDataAccess + * + * @param MicrosoftApplicationDataAccessSettings $val The microsoftApplicationDataAccess + * + * @return OrganizationSettings + */ + public function setMicrosoftApplicationDataAccess($val) + { + $this->_propDict["microsoftApplicationDataAccess"] = $val; + return $this; + } + + /** + * Gets the itemInsights + * Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. + * + * @return InsightsSettings|null The itemInsights + */ + public function getItemInsights() + { + if (array_key_exists("itemInsights", $this->_propDict)) { + if (is_a($this->_propDict["itemInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["itemInsights"])) { + return $this->_propDict["itemInsights"]; + } else { + $this->_propDict["itemInsights"] = new InsightsSettings($this->_propDict["itemInsights"]); + return $this->_propDict["itemInsights"]; + } + } + return null; + } + + /** + * Sets the itemInsights + * Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. + * + * @param InsightsSettings $val The itemInsights + * + * @return OrganizationSettings + */ + public function setItemInsights($val) + { + $this->_propDict["itemInsights"] = $val; + return $this; + } + + /** + * Gets the peopleInsights + * Contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. + * + * @return InsightsSettings|null The peopleInsights + */ + public function getPeopleInsights() + { + if (array_key_exists("peopleInsights", $this->_propDict)) { + if (is_a($this->_propDict["peopleInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["peopleInsights"])) { + return $this->_propDict["peopleInsights"]; + } else { + $this->_propDict["peopleInsights"] = new InsightsSettings($this->_propDict["peopleInsights"]); + return $this->_propDict["peopleInsights"]; + } + } + return null; + } + + /** + * Sets the peopleInsights + * Contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. + * + * @param InsightsSettings $val The peopleInsights + * + * @return OrganizationSettings + */ + public function setPeopleInsights($val) + { + $this->_propDict["peopleInsights"] = $val; + return $this; + } + + + /** + * Gets the profileCardProperties + * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. + * + * @return array|null The profileCardProperties + */ + public function getProfileCardProperties() + { + if (array_key_exists("profileCardProperties", $this->_propDict)) { + return $this->_propDict["profileCardProperties"]; + } else { + return null; + } + } + + /** + * Sets the profileCardProperties + * Contains a collection of the properties an administrator has defined as visible on the Microsoft 365 profile card. Get organization settings returns the properties configured for profile cards for the organization. + * + * @param ProfileCardProperty[] $val The profileCardProperties + * + * @return OrganizationSettings + */ + public function setProfileCardProperties($val) + { + $this->_propDict["profileCardProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBranding.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBranding.php new file mode 100644 index 0000000..300c30d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBranding.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["localizations"]; + } else { + return null; + } + } + + /** + * Sets the localizations + * Add different branding based on a locale. + * + * @param OrganizationalBrandingLocalization[] $val The localizations + * + * @return OrganizationalBranding + */ + public function setLocalizations($val) + { + $this->_propDict["localizations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingLocalization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingLocalization.php new file mode 100644 index 0000000..d32ac20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingLocalization.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["backgroundColor"]; + } else { + return null; + } + } + + /** + * Sets the backgroundColor + * Color that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF. + * + * @param string $val The backgroundColor + * + * @return OrganizationalBrandingProperties + */ + public function setBackgroundColor($val) + { + $this->_propDict["backgroundColor"] = $val; + return $this; + } + + /** + * Gets the backgroundImage + * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + * + * @return \GuzzleHttp\Psr7\Stream|null The backgroundImage + */ + public function getBackgroundImage() + { + if (array_key_exists("backgroundImage", $this->_propDict)) { + if (is_a($this->_propDict["backgroundImage"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["backgroundImage"])) { + return $this->_propDict["backgroundImage"]; + } else { + $this->_propDict["backgroundImage"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["backgroundImage"]); + return $this->_propDict["backgroundImage"]; + } + } + return null; + } + + /** + * Sets the backgroundImage + * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + * + * @param \GuzzleHttp\Psr7\Stream $val The backgroundImage + * + * @return OrganizationalBrandingProperties + */ + public function setBackgroundImage($val) + { + $this->_propDict["backgroundImage"] = $val; + return $this; + } + + /** + * Gets the backgroundImageRelativeUrl + * A relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @return string|null The backgroundImageRelativeUrl + */ + public function getBackgroundImageRelativeUrl() + { + if (array_key_exists("backgroundImageRelativeUrl", $this->_propDict)) { + return $this->_propDict["backgroundImageRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the backgroundImageRelativeUrl + * A relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @param string $val The backgroundImageRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setBackgroundImageRelativeUrl($val) + { + $this->_propDict["backgroundImageRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the bannerLogo + * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + * + * @return \GuzzleHttp\Psr7\Stream|null The bannerLogo + */ + public function getBannerLogo() + { + if (array_key_exists("bannerLogo", $this->_propDict)) { + if (is_a($this->_propDict["bannerLogo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["bannerLogo"])) { + return $this->_propDict["bannerLogo"]; + } else { + $this->_propDict["bannerLogo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["bannerLogo"]); + return $this->_propDict["bannerLogo"]; + } + } + return null; + } + + /** + * Sets the bannerLogo + * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + * + * @param \GuzzleHttp\Psr7\Stream $val The bannerLogo + * + * @return OrganizationalBrandingProperties + */ + public function setBannerLogo($val) + { + $this->_propDict["bannerLogo"] = $val; + return $this; + } + + /** + * Gets the bannerLogoRelativeUrl + * A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. + * + * @return string|null The bannerLogoRelativeUrl + */ + public function getBannerLogoRelativeUrl() + { + if (array_key_exists("bannerLogoRelativeUrl", $this->_propDict)) { + return $this->_propDict["bannerLogoRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the bannerLogoRelativeUrl + * A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. + * + * @param string $val The bannerLogoRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setBannerLogoRelativeUrl($val) + { + $this->_propDict["bannerLogoRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the cdnList + * A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only. + * + * @return string|null The cdnList + */ + public function getCdnList() + { + if (array_key_exists("cdnList", $this->_propDict)) { + return $this->_propDict["cdnList"]; + } else { + return null; + } + } + + /** + * Sets the cdnList + * A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only. + * + * @param string $val The cdnList + * + * @return OrganizationalBrandingProperties + */ + public function setCdnList($val) + { + $this->_propDict["cdnList"] = $val; + return $this; + } + + /** + * Gets the customAccountResetCredentialsUrl + * A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. + * + * @return string|null The customAccountResetCredentialsUrl + */ + public function getCustomAccountResetCredentialsUrl() + { + if (array_key_exists("customAccountResetCredentialsUrl", $this->_propDict)) { + return $this->_propDict["customAccountResetCredentialsUrl"]; + } else { + return null; + } + } + + /** + * Sets the customAccountResetCredentialsUrl + * A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. + * + * @param string $val The customAccountResetCredentialsUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomAccountResetCredentialsUrl($val) + { + $this->_propDict["customAccountResetCredentialsUrl"] = $val; + return $this; + } + + /** + * Gets the customCannotAccessYourAccountText + * A string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters. + * + * @return string|null The customCannotAccessYourAccountText + */ + public function getCustomCannotAccessYourAccountText() + { + if (array_key_exists("customCannotAccessYourAccountText", $this->_propDict)) { + return $this->_propDict["customCannotAccessYourAccountText"]; + } else { + return null; + } + } + + /** + * Sets the customCannotAccessYourAccountText + * A string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters. + * + * @param string $val The customCannotAccessYourAccountText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomCannotAccessYourAccountText($val) + { + $this->_propDict["customCannotAccessYourAccountText"] = $val; + return $this; + } + + /** + * Gets the customCannotAccessYourAccountUrl + * A custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead. + * + * @return string|null The customCannotAccessYourAccountUrl + */ + public function getCustomCannotAccessYourAccountUrl() + { + if (array_key_exists("customCannotAccessYourAccountUrl", $this->_propDict)) { + return $this->_propDict["customCannotAccessYourAccountUrl"]; + } else { + return null; + } + } + + /** + * Sets the customCannotAccessYourAccountUrl + * A custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead. + * + * @param string $val The customCannotAccessYourAccountUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomCannotAccessYourAccountUrl($val) + { + $this->_propDict["customCannotAccessYourAccountUrl"] = $val; + return $this; + } + + /** + * Gets the customForgotMyPasswordText + * A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. + * + * @return string|null The customForgotMyPasswordText + */ + public function getCustomForgotMyPasswordText() + { + if (array_key_exists("customForgotMyPasswordText", $this->_propDict)) { + return $this->_propDict["customForgotMyPasswordText"]; + } else { + return null; + } + } + + /** + * Sets the customForgotMyPasswordText + * A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. + * + * @param string $val The customForgotMyPasswordText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomForgotMyPasswordText($val) + { + $this->_propDict["customForgotMyPasswordText"] = $val; + return $this; + } + + /** + * Gets the customPrivacyAndCookiesText + * A string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. + * + * @return string|null The customPrivacyAndCookiesText + */ + public function getCustomPrivacyAndCookiesText() + { + if (array_key_exists("customPrivacyAndCookiesText", $this->_propDict)) { + return $this->_propDict["customPrivacyAndCookiesText"]; + } else { + return null; + } + } + + /** + * Sets the customPrivacyAndCookiesText + * A string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. + * + * @param string $val The customPrivacyAndCookiesText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomPrivacyAndCookiesText($val) + { + $this->_propDict["customPrivacyAndCookiesText"] = $val; + return $this; + } + + /** + * Gets the customPrivacyAndCookiesUrl + * A custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. + * + * @return string|null The customPrivacyAndCookiesUrl + */ + public function getCustomPrivacyAndCookiesUrl() + { + if (array_key_exists("customPrivacyAndCookiesUrl", $this->_propDict)) { + return $this->_propDict["customPrivacyAndCookiesUrl"]; + } else { + return null; + } + } + + /** + * Sets the customPrivacyAndCookiesUrl + * A custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. + * + * @param string $val The customPrivacyAndCookiesUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomPrivacyAndCookiesUrl($val) + { + $this->_propDict["customPrivacyAndCookiesUrl"] = $val; + return $this; + } + + /** + * Gets the customResetItNowText + * A string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported. + * + * @return string|null The customResetItNowText + */ + public function getCustomResetItNowText() + { + if (array_key_exists("customResetItNowText", $this->_propDict)) { + return $this->_propDict["customResetItNowText"]; + } else { + return null; + } + } + + /** + * Sets the customResetItNowText + * A string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported. + * + * @param string $val The customResetItNowText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomResetItNowText($val) + { + $this->_propDict["customResetItNowText"] = $val; + return $this; + } + + /** + * Gets the customTermsOfUseText + * A string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. + * + * @return string|null The customTermsOfUseText + */ + public function getCustomTermsOfUseText() + { + if (array_key_exists("customTermsOfUseText", $this->_propDict)) { + return $this->_propDict["customTermsOfUseText"]; + } else { + return null; + } + } + + /** + * Sets the customTermsOfUseText + * A string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters. + * + * @param string $val The customTermsOfUseText + * + * @return OrganizationalBrandingProperties + */ + public function setCustomTermsOfUseText($val) + { + $this->_propDict["customTermsOfUseText"] = $val; + return $this; + } + + /** + * Gets the customTermsOfUseUrl + * A custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters. + * + * @return string|null The customTermsOfUseUrl + */ + public function getCustomTermsOfUseUrl() + { + if (array_key_exists("customTermsOfUseUrl", $this->_propDict)) { + return $this->_propDict["customTermsOfUseUrl"]; + } else { + return null; + } + } + + /** + * Sets the customTermsOfUseUrl + * A custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters. + * + * @param string $val The customTermsOfUseUrl + * + * @return OrganizationalBrandingProperties + */ + public function setCustomTermsOfUseUrl($val) + { + $this->_propDict["customTermsOfUseUrl"] = $val; + return $this; + } + + /** + * Gets the favicon + * A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. + * + * @return \GuzzleHttp\Psr7\Stream|null The favicon + */ + public function getFavicon() + { + if (array_key_exists("favicon", $this->_propDict)) { + if (is_a($this->_propDict["favicon"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["favicon"])) { + return $this->_propDict["favicon"]; + } else { + $this->_propDict["favicon"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["favicon"]); + return $this->_propDict["favicon"]; + } + } + return null; + } + + /** + * Sets the favicon + * A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. + * + * @param \GuzzleHttp\Psr7\Stream $val The favicon + * + * @return OrganizationalBrandingProperties + */ + public function setFavicon($val) + { + $this->_propDict["favicon"] = $val; + return $this; + } + + /** + * Gets the faviconRelativeUrl + * A relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @return string|null The faviconRelativeUrl + */ + public function getFaviconRelativeUrl() + { + if (array_key_exists("faviconRelativeUrl", $this->_propDict)) { + return $this->_propDict["faviconRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the faviconRelativeUrl + * A relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @param string $val The faviconRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setFaviconRelativeUrl($val) + { + $this->_propDict["faviconRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the headerBackgroundColor + * The RGB color to apply to customize the color of the header. + * + * @return string|null The headerBackgroundColor + */ + public function getHeaderBackgroundColor() + { + if (array_key_exists("headerBackgroundColor", $this->_propDict)) { + return $this->_propDict["headerBackgroundColor"]; + } else { + return null; + } + } + + /** + * Sets the headerBackgroundColor + * The RGB color to apply to customize the color of the header. + * + * @param string $val The headerBackgroundColor + * + * @return OrganizationalBrandingProperties + */ + public function setHeaderBackgroundColor($val) + { + $this->_propDict["headerBackgroundColor"] = $val; + return $this; + } + + /** + * Gets the loginPageTextVisibilitySettings + * Represents the various texts that can be hidden on the login page for a tenant. + * + * @return LoginPageTextVisibilitySettings|null The loginPageTextVisibilitySettings + */ + public function getLoginPageTextVisibilitySettings() + { + if (array_key_exists("loginPageTextVisibilitySettings", $this->_propDict)) { + if (is_a($this->_propDict["loginPageTextVisibilitySettings"], "\Beta\Microsoft\Graph\Model\LoginPageTextVisibilitySettings") || is_null($this->_propDict["loginPageTextVisibilitySettings"])) { + return $this->_propDict["loginPageTextVisibilitySettings"]; + } else { + $this->_propDict["loginPageTextVisibilitySettings"] = new LoginPageTextVisibilitySettings($this->_propDict["loginPageTextVisibilitySettings"]); + return $this->_propDict["loginPageTextVisibilitySettings"]; + } + } + return null; + } + + /** + * Sets the loginPageTextVisibilitySettings + * Represents the various texts that can be hidden on the login page for a tenant. + * + * @param LoginPageTextVisibilitySettings $val The loginPageTextVisibilitySettings + * + * @return OrganizationalBrandingProperties + */ + public function setLoginPageTextVisibilitySettings($val) + { + $this->_propDict["loginPageTextVisibilitySettings"] = $val; + return $this; + } + + /** + * Gets the signInPageText + * Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters. + * + * @return string|null The signInPageText + */ + public function getSignInPageText() + { + if (array_key_exists("signInPageText", $this->_propDict)) { + return $this->_propDict["signInPageText"]; + } else { + return null; + } + } + + /** + * Sets the signInPageText + * Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters. + * + * @param string $val The signInPageText + * + * @return OrganizationalBrandingProperties + */ + public function setSignInPageText($val) + { + $this->_propDict["signInPageText"] = $val; + return $this; + } + + /** + * Gets the squareLogo + * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + * + * @return \GuzzleHttp\Psr7\Stream|null The squareLogo + */ + public function getSquareLogo() + { + if (array_key_exists("squareLogo", $this->_propDict)) { + if (is_a($this->_propDict["squareLogo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["squareLogo"])) { + return $this->_propDict["squareLogo"]; + } else { + $this->_propDict["squareLogo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["squareLogo"]); + return $this->_propDict["squareLogo"]; + } + } + return null; + } + + /** + * Sets the squareLogo + * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + * + * @param \GuzzleHttp\Psr7\Stream $val The squareLogo + * + * @return OrganizationalBrandingProperties + */ + public function setSquareLogo($val) + { + $this->_propDict["squareLogo"] = $val; + return $this; + } + + /** + * Gets the squareLogoRelativeUrl + * A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @return string|null The squareLogoRelativeUrl + */ + public function getSquareLogoRelativeUrl() + { + if (array_key_exists("squareLogoRelativeUrl", $this->_propDict)) { + return $this->_propDict["squareLogoRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the squareLogoRelativeUrl + * A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @param string $val The squareLogoRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setSquareLogoRelativeUrl($val) + { + $this->_propDict["squareLogoRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the usernameHintText + * A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. + * + * @return string|null The usernameHintText + */ + public function getUsernameHintText() + { + if (array_key_exists("usernameHintText", $this->_propDict)) { + return $this->_propDict["usernameHintText"]; + } else { + return null; + } + } + + /** + * Sets the usernameHintText + * A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. + * + * @param string $val The usernameHintText + * + * @return OrganizationalBrandingProperties + */ + public function setUsernameHintText($val) + { + $this->_propDict["usernameHintText"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizerMeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizerMeetingInfo.php new file mode 100644 index 0000000..ff7723e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizerMeetingInfo.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.organizerMeetingInfo"); + } + + + /** + * Gets the organizer + * The organizer Azure Active Directory identity. + * + * @return IdentitySet|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new IdentitySet($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * The organizer Azure Active Directory identity. + * + * @param IdentitySet $val The value to assign to the organizer + * + * @return OrganizerMeetingInfo The OrganizerMeetingInfo + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OsVersionCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OsVersionCount.php new file mode 100644 index 0000000..922ea20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OsVersionCount.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Count of devices with malware for the OS version + * + * @param int $val The value of the deviceCount + * + * @return OsVersionCount + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @param \DateTime $val The value to assign to the lastUpdateDateTime + * + * @return OsVersionCount The OsVersionCount + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + /** + * Gets the osVersion + * OS version + * + * @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 + * OS version + * + * @param string $val The value of the osVersion + * + * @return OsVersionCount + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfBoxExperienceSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfBoxExperienceSettings.php new file mode 100644 index 0000000..81c7b17 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfBoxExperienceSettings.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["deviceUsageType"], "\Beta\Microsoft\Graph\Model\WindowsDeviceUsageType") || is_null($this->_propDict["deviceUsageType"])) { + return $this->_propDict["deviceUsageType"]; + } else { + $this->_propDict["deviceUsageType"] = new WindowsDeviceUsageType($this->_propDict["deviceUsageType"]); + return $this->_propDict["deviceUsageType"]; + } + } + return null; + } + + /** + * Sets the deviceUsageType + * AAD join authentication type. Possible values are: singleUser, shared. + * + * @param WindowsDeviceUsageType $val The value to assign to the deviceUsageType + * + * @return OutOfBoxExperienceSettings The OutOfBoxExperienceSettings + */ + public function setDeviceUsageType($val) + { + $this->_propDict["deviceUsageType"] = $val; + return $this; + } + /** + * Gets the hideEscapeLink + * If set to true, then the user can't start over with different account, on company sign-in + * + * @return bool|null The hideEscapeLink + */ + public function getHideEscapeLink() + { + if (array_key_exists("hideEscapeLink", $this->_propDict)) { + return $this->_propDict["hideEscapeLink"]; + } else { + return null; + } + } + + /** + * Sets the hideEscapeLink + * If set to true, then the user can't start over with different account, on company sign-in + * + * @param bool $val The value of the hideEscapeLink + * + * @return OutOfBoxExperienceSettings + */ + public function setHideEscapeLink($val) + { + $this->_propDict["hideEscapeLink"] = $val; + return $this; + } + /** + * Gets the hideEULA + * Show or hide EULA to user + * + * @return bool|null The hideEULA + */ + public function getHideEULA() + { + if (array_key_exists("hideEULA", $this->_propDict)) { + return $this->_propDict["hideEULA"]; + } else { + return null; + } + } + + /** + * Sets the hideEULA + * Show or hide EULA to user + * + * @param bool $val The value of the hideEULA + * + * @return OutOfBoxExperienceSettings + */ + public function setHideEULA($val) + { + $this->_propDict["hideEULA"] = $val; + return $this; + } + /** + * Gets the hidePrivacySettings + * Show or hide privacy settings to user + * + * @return bool|null The hidePrivacySettings + */ + public function getHidePrivacySettings() + { + if (array_key_exists("hidePrivacySettings", $this->_propDict)) { + return $this->_propDict["hidePrivacySettings"]; + } else { + return null; + } + } + + /** + * Sets the hidePrivacySettings + * Show or hide privacy settings to user + * + * @param bool $val The value of the hidePrivacySettings + * + * @return OutOfBoxExperienceSettings + */ + public function setHidePrivacySettings($val) + { + $this->_propDict["hidePrivacySettings"] = $val; + return $this; + } + /** + * Gets the skipKeyboardSelectionPage + * If set, then skip the keyboard selection page if Language and Region are set + * + * @return bool|null The skipKeyboardSelectionPage + */ + public function getSkipKeyboardSelectionPage() + { + if (array_key_exists("skipKeyboardSelectionPage", $this->_propDict)) { + return $this->_propDict["skipKeyboardSelectionPage"]; + } else { + return null; + } + } + + /** + * Sets the skipKeyboardSelectionPage + * If set, then skip the keyboard selection page if Language and Region are set + * + * @param bool $val The value of the skipKeyboardSelectionPage + * + * @return OutOfBoxExperienceSettings + */ + public function setSkipKeyboardSelectionPage($val) + { + $this->_propDict["skipKeyboardSelectionPage"] = $val; + return $this; + } + + /** + * Gets the userType + * Type of user. Possible values are: administrator, standard. + * + * @return WindowsUserType|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\WindowsUserType") || is_null($this->_propDict["userType"])) { + return $this->_propDict["userType"]; + } else { + $this->_propDict["userType"] = new WindowsUserType($this->_propDict["userType"]); + return $this->_propDict["userType"]; + } + } + return null; + } + + /** + * Sets the userType + * Type of user. Possible values are: administrator, standard. + * + * @param WindowsUserType $val The value to assign to the userType + * + * @return OutOfBoxExperienceSettings The OutOfBoxExperienceSettings + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfOfficeSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfOfficeSettings.php new file mode 100644 index 0000000..af0b9dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfOfficeSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isOutOfOffice"]; + } else { + return null; + } + } + + /** + * Sets the isOutOfOffice + * True if either:It is currently in the out of office time window configured on the Outlook or Teams client.There is currently an event on the user's calendar that's marked as Show as Out of OfficeOtherwise, false. + * + * @param bool $val The value of the isOutOfOffice + * + * @return OutOfOfficeSettings + */ + public function setIsOutOfOffice($val) + { + $this->_propDict["isOutOfOffice"] = $val; + return $this; + } + /** + * Gets the message + * The out of office message that the user configured on Outlook client (Automatic Replies (Out of Office)) or the Teams client (Schedule out of office). + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The out of office message that the user configured on Outlook client (Automatic Replies (Out of Office)) or the Teams client (Schedule out of office). + * + * @param string $val The value of the message + * + * @return OutOfOfficeSettings + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutboundSharedUserProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutboundSharedUserProfile.php new file mode 100644 index 0000000..3948b28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutboundSharedUserProfile.php @@ -0,0 +1,159 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the OutboundSharedUserProfile + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * 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 userId + * + * @return OutboundSharedUserProfile + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + + /** + * Gets the tenants + * + * @return array|null The tenants + */ + public function getTenants() + { + if (array_key_exists("tenants", $this->_propDict)) { + return $this->_propDict["tenants"]; + } else { + return null; + } + } + + /** + * Sets the tenants + * + * @param TenantReference[] $val The tenants + * + * @return OutboundSharedUserProfile + */ + public function setTenants($val) + { + $this->_propDict["tenants"] = $val; + 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 OutboundSharedUserProfile + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutgoingCallOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutgoingCallOptions.php new file mode 100644 index 0000000..77a1681 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutgoingCallOptions.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.outgoingCallOptions"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookCategory.php new file mode 100644 index 0000000..f67ad1d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookCategory.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["color"], "\Beta\Microsoft\Graph\Model\CategoryColor") || is_null($this->_propDict["color"])) { + return $this->_propDict["color"]; + } else { + $this->_propDict["color"] = new CategoryColor($this->_propDict["color"]); + return $this->_propDict["color"]; + } + } + return null; + } + + /** + * Sets the color + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + * + * @param CategoryColor $val The color + * + * @return OutlookCategory + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the displayName + * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. + * + * @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 + * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. + * + * @param string $val The displayName + * + * @return OutlookCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookGeoCoordinates.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookGeoCoordinates.php new file mode 100644 index 0000000..5887093 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookGeoCoordinates.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["accuracy"]; + } else { + return null; + } + } + + /** + * Sets the accuracy + * The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. + * + * @param float $val The value of the accuracy + * + * @return OutlookGeoCoordinates + */ + public function setAccuracy($val) + { + $this->_propDict["accuracy"] = $val; + return $this; + } + /** + * Gets the altitude + * The altitude of the location. + * + * @return float|null The altitude + */ + public function getAltitude() + { + if (array_key_exists("altitude", $this->_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * The altitude of the location. + * + * @param float $val The value of the altitude + * + * @return OutlookGeoCoordinates + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** + * Gets the altitudeAccuracy + * The accuracy of the altitude. + * + * @return float|null The altitudeAccuracy + */ + public function getAltitudeAccuracy() + { + if (array_key_exists("altitudeAccuracy", $this->_propDict)) { + return $this->_propDict["altitudeAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the altitudeAccuracy + * The accuracy of the altitude. + * + * @param float $val The value of the altitudeAccuracy + * + * @return OutlookGeoCoordinates + */ + public function setAltitudeAccuracy($val) + { + $this->_propDict["altitudeAccuracy"] = $val; + return $this; + } + /** + * Gets the latitude + * The latitude of the location. + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * The latitude of the location. + * + * @param float $val The value of the latitude + * + * @return OutlookGeoCoordinates + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * The longitude of the location. + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * The longitude of the location. + * + * @param float $val The value of the longitude + * + * @return OutlookGeoCoordinates + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookItem.php new file mode 100644 index 0000000..b7b7458 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookItem.php @@ -0,0 +1,151 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The categories associated with the item + * + * @param string $val The categories + * + * @return OutlookItem + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the changeKey + * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @return string|null The changeKey + */ + public function getChangeKey() + { + if (array_key_exists("changeKey", $this->_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @param string $val The changeKey + * + * @return OutlookItem + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return OutlookItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return OutlookItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTask.php new file mode 100644 index 0000000..f9e55f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTask.php @@ -0,0 +1,568 @@ +_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * The name of the person who has been assigned the task in Outlook. Read-only. + * + * @param string $val The assignedTo + * + * @return OutlookTask + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the body + * The task body that typically contains information about the task. Note that only HTML type is supported. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The task body that typically contains information about the task. Note that only HTML type is supported. + * + * @param ItemBody $val The body + * + * @return OutlookTask + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The date in the specified time zone that the task was finished. + * + * @return DateTimeTimeZone|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new DateTimeTimeZone($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date in the specified time zone that the task was finished. + * + * @param DateTimeTimeZone $val The completedDateTime + * + * @return OutlookTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @param DateTimeTimeZone $val The dueDateTime + * + * @return OutlookTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Set to true if the task has attachments. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Set to true if the task has attachments. + * + * @param bool $val The hasAttachments + * + * @return OutlookTask + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the importance + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param Importance $val The importance + * + * @return OutlookTask + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the isReminderOn + * + * @return bool|null The isReminderOn + */ + public function getIsReminderOn() + { + if (array_key_exists("isReminderOn", $this->_propDict)) { + return $this->_propDict["isReminderOn"]; + } else { + return null; + } + } + + /** + * Sets the isReminderOn + * + * @param bool $val The isReminderOn + * + * @return OutlookTask + */ + public function setIsReminderOn($val) + { + $this->_propDict["isReminderOn"] = boolval($val); + return $this; + } + + /** + * Gets the owner + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * + * @param string $val The owner + * + * @return OutlookTask + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the parentFolderId + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * + * @param string $val The parentFolderId + * + * @return OutlookTask + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the recurrence + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * + * @param PatternedRecurrence $val The recurrence + * + * @return OutlookTask + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the reminderDateTime + * + * @return DateTimeTimeZone|null The reminderDateTime + */ + public function getReminderDateTime() + { + if (array_key_exists("reminderDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reminderDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderDateTime"])) { + return $this->_propDict["reminderDateTime"]; + } else { + $this->_propDict["reminderDateTime"] = new DateTimeTimeZone($this->_propDict["reminderDateTime"]); + return $this->_propDict["reminderDateTime"]; + } + } + return null; + } + + /** + * Sets the reminderDateTime + * + * @param DateTimeTimeZone $val The reminderDateTime + * + * @return OutlookTask + */ + public function setReminderDateTime($val) + { + $this->_propDict["reminderDateTime"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * + * @return Sensitivity|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + if (is_a($this->_propDict["sensitivity"], "\Beta\Microsoft\Graph\Model\Sensitivity") || is_null($this->_propDict["sensitivity"])) { + return $this->_propDict["sensitivity"]; + } else { + $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); + return $this->_propDict["sensitivity"]; + } + } + return null; + } + + /** + * Sets the sensitivity + * + * @param Sensitivity $val The sensitivity + * + * @return OutlookTask + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param DateTimeTimeZone $val The startDateTime + * + * @return OutlookTask + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return TaskStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TaskStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new TaskStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param TaskStatus $val The status + * + * @return OutlookTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return OutlookTask + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. + * + * @param Attachment[] $val The attachments + * + * @return OutlookTask + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the task. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the task. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return OutlookTask + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the task. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the task. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return OutlookTask + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskFolder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskFolder.php new file mode 100644 index 0000000..c8789d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskFolder.php @@ -0,0 +1,233 @@ +_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * The version of the task folder. + * + * @param string $val The changeKey + * + * @return OutlookTaskFolder + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the isDefaultFolder + * True if the folder is the default task folder. + * + * @return bool|null The isDefaultFolder + */ + public function getIsDefaultFolder() + { + if (array_key_exists("isDefaultFolder", $this->_propDict)) { + return $this->_propDict["isDefaultFolder"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultFolder + * True if the folder is the default task folder. + * + * @param bool $val The isDefaultFolder + * + * @return OutlookTaskFolder + */ + public function setIsDefaultFolder($val) + { + $this->_propDict["isDefaultFolder"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The name of the task folder. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the task folder. + * + * @param string $val The name + * + * @return OutlookTaskFolder + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parentGroupKey + * The unique GUID identifier for the task folder's parent group. + * + * @return string|null The parentGroupKey + */ + public function getParentGroupKey() + { + if (array_key_exists("parentGroupKey", $this->_propDict)) { + return $this->_propDict["parentGroupKey"]; + } else { + return null; + } + } + + /** + * Sets the parentGroupKey + * The unique GUID identifier for the task folder's parent group. + * + * @param string $val The parentGroupKey + * + * @return OutlookTaskFolder + */ + public function setParentGroupKey($val) + { + $this->_propDict["parentGroupKey"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the task folder. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the task folder. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return OutlookTaskFolder + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the task folder. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the task folder. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return OutlookTaskFolder + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the tasks + * The tasks in this task folder. Read-only. Nullable. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * The tasks in this task folder. Read-only. Nullable. + * + * @param OutlookTask[] $val The tasks + * + * @return OutlookTaskFolder + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskGroup.php new file mode 100644 index 0000000..cb50adc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskGroup.php @@ -0,0 +1,173 @@ +_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * The version of the task group. + * + * @param string $val The changeKey + * + * @return OutlookTaskGroup + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the groupKey + * The unique GUID identifier for the task group. + * + * @return string|null The groupKey + */ + public function getGroupKey() + { + if (array_key_exists("groupKey", $this->_propDict)) { + return $this->_propDict["groupKey"]; + } else { + return null; + } + } + + /** + * Sets the groupKey + * The unique GUID identifier for the task group. + * + * @param string $val The groupKey + * + * @return OutlookTaskGroup + */ + public function setGroupKey($val) + { + $this->_propDict["groupKey"] = $val; + return $this; + } + + /** + * Gets the isDefaultGroup + * True if the task group is the default task group. + * + * @return bool|null The isDefaultGroup + */ + public function getIsDefaultGroup() + { + if (array_key_exists("isDefaultGroup", $this->_propDict)) { + return $this->_propDict["isDefaultGroup"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultGroup + * True if the task group is the default task group. + * + * @param bool $val The isDefaultGroup + * + * @return OutlookTaskGroup + */ + public function setIsDefaultGroup($val) + { + $this->_propDict["isDefaultGroup"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The name of the task group. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the task group. + * + * @param string $val The name + * + * @return OutlookTaskGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the taskFolders + * The collection of task folders in the task group. Read-only. Nullable. + * + * @return array|null The taskFolders + */ + public function getTaskFolders() + { + if (array_key_exists("taskFolders", $this->_propDict)) { + return $this->_propDict["taskFolders"]; + } else { + return null; + } + } + + /** + * Sets the taskFolders + * The collection of task folders in the task group. Read-only. Nullable. + * + * @param OutlookTaskFolder[] $val The taskFolders + * + * @return OutlookTaskGroup + */ + public function setTaskFolders($val) + { + $this->_propDict["taskFolders"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookUser.php new file mode 100644 index 0000000..9f39b80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookUser.php @@ -0,0 +1,141 @@ +_propDict)) { + return $this->_propDict["masterCategories"]; + } else { + return null; + } + } + + /** + * Sets the masterCategories + * A list of categories defined for the user. + * + * @param OutlookCategory[] $val The masterCategories + * + * @return OutlookUser + */ + public function setMasterCategories($val) + { + $this->_propDict["masterCategories"] = $val; + return $this; + } + + + /** + * Gets the taskFolders + * + * @return array|null The taskFolders + */ + public function getTaskFolders() + { + if (array_key_exists("taskFolders", $this->_propDict)) { + return $this->_propDict["taskFolders"]; + } else { + return null; + } + } + + /** + * Sets the taskFolders + * + * @param OutlookTaskFolder[] $val The taskFolders + * + * @return OutlookUser + */ + public function setTaskFolders($val) + { + $this->_propDict["taskFolders"] = $val; + return $this; + } + + + /** + * Gets the taskGroups + * + * @return array|null The taskGroups + */ + public function getTaskGroups() + { + if (array_key_exists("taskGroups", $this->_propDict)) { + return $this->_propDict["taskGroups"]; + } else { + return null; + } + } + + /** + * Sets the taskGroups + * + * @param OutlookTaskGroup[] $val The taskGroups + * + * @return OutlookUser + */ + public function setTaskGroups($val) + { + $this->_propDict["taskGroups"] = $val; + return $this; + } + + + /** + * Gets the tasks + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * + * @param OutlookTask[] $val The tasks + * + * @return OutlookUser + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverallPrintUsageSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverallPrintUsageSummary.php new file mode 100644 index 0000000..d332d40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverallPrintUsageSummary.php @@ -0,0 +1,218 @@ +_propDict)) { + return $this->_propDict["activePrintersCount"]; + } else { + return null; + } + } + + /** + * Sets the activePrintersCount + * + * @param int $val The value of the activePrintersCount + * + * @return OverallPrintUsageSummary + */ + public function setActivePrintersCount($val) + { + $this->_propDict["activePrintersCount"] = $val; + return $this; + } + /** + * Gets the activeUsersCount + * + * @return int|null The activeUsersCount + */ + public function getActiveUsersCount() + { + if (array_key_exists("activeUsersCount", $this->_propDict)) { + return $this->_propDict["activeUsersCount"]; + } else { + return null; + } + } + + /** + * Sets the activeUsersCount + * + * @param int $val The value of the activeUsersCount + * + * @return OverallPrintUsageSummary + */ + public function setActiveUsersCount($val) + { + $this->_propDict["activeUsersCount"] = $val; + return $this; + } + /** + * Gets the daysInPeriod + * + * @return int|null The daysInPeriod + */ + public function getDaysInPeriod() + { + if (array_key_exists("daysInPeriod", $this->_propDict)) { + return $this->_propDict["daysInPeriod"]; + } else { + return null; + } + } + + /** + * Sets the daysInPeriod + * + * @param int $val The value of the daysInPeriod + * + * @return OverallPrintUsageSummary + */ + public function setDaysInPeriod($val) + { + $this->_propDict["daysInPeriod"] = $val; + return $this; + } + + /** + * Gets the topPrinters + * + * @return PrinterUsageSummary|null The topPrinters + */ + public function getTopPrinters() + { + if (array_key_exists("topPrinters", $this->_propDict)) { + if (is_a($this->_propDict["topPrinters"], "\Beta\Microsoft\Graph\Model\PrinterUsageSummary") || is_null($this->_propDict["topPrinters"])) { + return $this->_propDict["topPrinters"]; + } else { + $this->_propDict["topPrinters"] = new PrinterUsageSummary($this->_propDict["topPrinters"]); + return $this->_propDict["topPrinters"]; + } + } + return null; + } + + /** + * Sets the topPrinters + * + * @param PrinterUsageSummary $val The value to assign to the topPrinters + * + * @return OverallPrintUsageSummary The OverallPrintUsageSummary + */ + public function setTopPrinters($val) + { + $this->_propDict["topPrinters"] = $val; + return $this; + } + + /** + * Gets the topUsers + * + * @return UserPrintUsageSummary|null The topUsers + */ + public function getTopUsers() + { + if (array_key_exists("topUsers", $this->_propDict)) { + if (is_a($this->_propDict["topUsers"], "\Beta\Microsoft\Graph\Model\UserPrintUsageSummary") || is_null($this->_propDict["topUsers"])) { + return $this->_propDict["topUsers"]; + } else { + $this->_propDict["topUsers"] = new UserPrintUsageSummary($this->_propDict["topUsers"]); + return $this->_propDict["topUsers"]; + } + } + return null; + } + + /** + * Sets the topUsers + * + * @param UserPrintUsageSummary $val The value to assign to the topUsers + * + * @return OverallPrintUsageSummary The OverallPrintUsageSummary + */ + public function setTopUsers($val) + { + $this->_propDict["topUsers"] = $val; + return $this; + } + /** + * Gets the totalIncompleteJobs + * + * @return int|null The totalIncompleteJobs + */ + public function getTotalIncompleteJobs() + { + if (array_key_exists("totalIncompleteJobs", $this->_propDict)) { + return $this->_propDict["totalIncompleteJobs"]; + } else { + return null; + } + } + + /** + * Sets the totalIncompleteJobs + * + * @param int $val The value of the totalIncompleteJobs + * + * @return OverallPrintUsageSummary + */ + public function setTotalIncompleteJobs($val) + { + $this->_propDict["totalIncompleteJobs"] = $val; + return $this; + } + /** + * Gets the totalJobsProcessed + * + * @return int|null The totalJobsProcessed + */ + public function getTotalJobsProcessed() + { + if (array_key_exists("totalJobsProcessed", $this->_propDict)) { + return $this->_propDict["totalJobsProcessed"]; + } else { + return null; + } + } + + /** + * Sets the totalJobsProcessed + * + * @param int $val The value of the totalJobsProcessed + * + * @return OverallPrintUsageSummary + */ + public function setTotalJobsProcessed($val) + { + $this->_propDict["totalJobsProcessed"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverrideOption.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverrideOption.php new file mode 100644 index 0000000..507447b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverrideOption.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. + * + * @param string $val The value of the type + * + * @return Package + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageLinks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageLinks.php new file mode 100644 index 0000000..c825600 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the page in the OneNote native client if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return PageLinks The PageLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the page in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the page in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return PageLinks The PageLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageOrientation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageOrientation.php new file mode 100644 index 0000000..cf1cd5f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageOrientation.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * The color that the user interface should display for the label, if configured. + * + * @param string $val The value of the color + * + * @return ParentLabelDetails + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + /** + * Gets the description + * The admin-defined description for the label. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The admin-defined description for the label. + * + * @param string $val The value of the description + * + * @return ParentLabelDetails + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the id + * The label ID is a globally unique identifier (GUID). + * + * @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 + * The label ID is a globally unique identifier (GUID). + * + * @param string $val The value of the id + * + * @return ParentLabelDetails + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isActive + * Indicates whether the label is active or not. Active labels should be hidden or disabled in user interfaces. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the label is active or not. Active labels should be hidden or disabled in user interfaces. + * + * @param bool $val The value of the isActive + * + * @return ParentLabelDetails + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = $val; + return $this; + } + /** + * Gets the name + * The plaintext name of the label. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The plaintext name of the label. + * + * @param string $val The value of the name + * + * @return ParentLabelDetails + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parent + * + * @return ParentLabelDetails|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\ParentLabelDetails") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new ParentLabelDetails($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * + * @param ParentLabelDetails $val The value to assign to the parent + * + * @return ParentLabelDetails The ParentLabelDetails + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + /** + * Gets the sensitivity + * The sensitivity value of the label, where lower is less sensitive. + * + * @return int|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + return $this->_propDict["sensitivity"]; + } else { + return null; + } + } + + /** + * Sets the sensitivity + * The sensitivity value of the label, where lower is less sensitive. + * + * @param int $val The value of the sensitivity + * + * @return ParentLabelDetails + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = $val; + return $this; + } + /** + * Gets the tooltip + * The tooltip that should be displayed for the label in a user interface. + * + * @return string|null The tooltip + */ + public function getTooltip() + { + if (array_key_exists("tooltip", $this->_propDict)) { + return $this->_propDict["tooltip"]; + } else { + return null; + } + } + + /** + * Sets the tooltip + * The tooltip that should be displayed for the label in a user interface. + * + * @param string $val The value of the tooltip + * + * @return ParentLabelDetails + */ + public function setTooltip($val) + { + $this->_propDict["tooltip"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParentalControlSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParentalControlSettings.php new file mode 100644 index 0000000..bf2a6ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParentalControlSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["countriesBlockedForMinors"]; + } else { + return null; + } + } + + /** + * Sets the countriesBlockedForMinors + * Specifies the two-letter ISO country codes. Access to the application will be blocked for minors from the countries specified in this list. + * + * @param string $val The value of the countriesBlockedForMinors + * + * @return ParentalControlSettings + */ + public function setCountriesBlockedForMinors($val) + { + $this->_propDict["countriesBlockedForMinors"] = $val; + return $this; + } + /** + * Gets the legalAgeGroupRule + * Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country minor rules.BlockMinorsBlocks minors from using the app. + * + * @return string|null The legalAgeGroupRule + */ + public function getLegalAgeGroupRule() + { + if (array_key_exists("legalAgeGroupRule", $this->_propDict)) { + return $this->_propDict["legalAgeGroupRule"]; + } else { + return null; + } + } + + /** + * Sets the legalAgeGroupRule + * Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country minor rules.BlockMinorsBlocks minors from using the app. + * + * @param string $val The value of the legalAgeGroupRule + * + * @return ParentalControlSettings + */ + public function setLegalAgeGroupRule($val) + { + $this->_propDict["legalAgeGroupRule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParseExpressionResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParseExpressionResponse.php new file mode 100644 index 0000000..ea9adbd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParseExpressionResponse.php @@ -0,0 +1,176 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Error details, if expression evaluation resulted in an error. + * + * @param PublicError $val The value to assign to the error + * + * @return ParseExpressionResponse The ParseExpressionResponse + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the evaluationResult + * A collection of values produced by the evaluation of the expression. + * + * @return string|null The evaluationResult + */ + public function getEvaluationResult() + { + if (array_key_exists("evaluationResult", $this->_propDict)) { + return $this->_propDict["evaluationResult"]; + } else { + return null; + } + } + + /** + * Sets the evaluationResult + * A collection of values produced by the evaluation of the expression. + * + * @param string $val The value of the evaluationResult + * + * @return ParseExpressionResponse + */ + public function setEvaluationResult($val) + { + $this->_propDict["evaluationResult"] = $val; + return $this; + } + /** + * Gets the evaluationSucceeded + * true if the evaluation was successful. + * + * @return bool|null The evaluationSucceeded + */ + public function getEvaluationSucceeded() + { + if (array_key_exists("evaluationSucceeded", $this->_propDict)) { + return $this->_propDict["evaluationSucceeded"]; + } else { + return null; + } + } + + /** + * Sets the evaluationSucceeded + * true if the evaluation was successful. + * + * @param bool $val The value of the evaluationSucceeded + * + * @return ParseExpressionResponse + */ + public function setEvaluationSucceeded($val) + { + $this->_propDict["evaluationSucceeded"] = $val; + return $this; + } + + /** + * Gets the parsedExpression + * An attributeMappingSource object representing the parsed expression. + * + * @return AttributeMappingSource|null The parsedExpression + */ + public function getParsedExpression() + { + if (array_key_exists("parsedExpression", $this->_propDict)) { + if (is_a($this->_propDict["parsedExpression"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["parsedExpression"])) { + return $this->_propDict["parsedExpression"]; + } else { + $this->_propDict["parsedExpression"] = new AttributeMappingSource($this->_propDict["parsedExpression"]); + return $this->_propDict["parsedExpression"]; + } + } + return null; + } + + /** + * Sets the parsedExpression + * An attributeMappingSource object representing the parsed expression. + * + * @param AttributeMappingSource $val The value to assign to the parsedExpression + * + * @return ParseExpressionResponse The ParseExpressionResponse + */ + public function setParsedExpression($val) + { + $this->_propDict["parsedExpression"] = $val; + return $this; + } + /** + * Gets the parsingSucceeded + * true if the expression was parsed successfully. + * + * @return bool|null The parsingSucceeded + */ + public function getParsingSucceeded() + { + if (array_key_exists("parsingSucceeded", $this->_propDict)) { + return $this->_propDict["parsingSucceeded"]; + } else { + return null; + } + } + + /** + * Sets the parsingSucceeded + * true if the expression was parsed successfully. + * + * @param bool $val The value of the parsingSucceeded + * + * @return ParseExpressionResponse + */ + public function setParsingSucceeded($val) + { + $this->_propDict["parsingSucceeded"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Participant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Participant.php new file mode 100644 index 0000000..d849758 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Participant.php @@ -0,0 +1,210 @@ +_propDict)) { + if (is_a($this->_propDict["info"], "\Beta\Microsoft\Graph\Model\ParticipantInfo") || is_null($this->_propDict["info"])) { + return $this->_propDict["info"]; + } else { + $this->_propDict["info"] = new ParticipantInfo($this->_propDict["info"]); + return $this->_propDict["info"]; + } + } + return null; + } + + /** + * Sets the info + * Information about the participant. + * + * @param ParticipantInfo $val The info + * + * @return Participant + */ + public function setInfo($val) + { + $this->_propDict["info"] = $val; + return $this; + } + + /** + * Gets the isInLobby + * true if the participant is in lobby. + * + * @return bool|null The isInLobby + */ + public function getIsInLobby() + { + if (array_key_exists("isInLobby", $this->_propDict)) { + return $this->_propDict["isInLobby"]; + } else { + return null; + } + } + + /** + * Sets the isInLobby + * true if the participant is in lobby. + * + * @param bool $val The isInLobby + * + * @return Participant + */ + public function setIsInLobby($val) + { + $this->_propDict["isInLobby"] = boolval($val); + return $this; + } + + /** + * Gets the isMuted + * true if the participant is muted (client or server muted). + * + * @return bool|null The isMuted + */ + public function getIsMuted() + { + if (array_key_exists("isMuted", $this->_propDict)) { + return $this->_propDict["isMuted"]; + } else { + return null; + } + } + + /** + * Sets the isMuted + * true if the participant is muted (client or server muted). + * + * @param bool $val The isMuted + * + * @return Participant + */ + public function setIsMuted($val) + { + $this->_propDict["isMuted"] = boolval($val); + return $this; + } + + + /** + * Gets the mediaStreams + * The list of media streams. + * + * @return array|null The mediaStreams + */ + public function getMediaStreams() + { + if (array_key_exists("mediaStreams", $this->_propDict)) { + return $this->_propDict["mediaStreams"]; + } else { + return null; + } + } + + /** + * Sets the mediaStreams + * The list of media streams. + * + * @param MediaStream[] $val The mediaStreams + * + * @return Participant + */ + public function setMediaStreams($val) + { + $this->_propDict["mediaStreams"] = $val; + return $this; + } + + /** + * Gets the metadata + * A blob of data provided by the participant in the roster. + * + * @return string|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + return $this->_propDict["metadata"]; + } else { + return null; + } + } + + /** + * Sets the metadata + * A blob of data provided by the participant in the roster. + * + * @param string $val The metadata + * + * @return Participant + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the recordingInfo + * Information on whether the participant has recording capability. + * + * @return RecordingInfo|null The recordingInfo + */ + public function getRecordingInfo() + { + if (array_key_exists("recordingInfo", $this->_propDict)) { + if (is_a($this->_propDict["recordingInfo"], "\Beta\Microsoft\Graph\Model\RecordingInfo") || is_null($this->_propDict["recordingInfo"])) { + return $this->_propDict["recordingInfo"]; + } else { + $this->_propDict["recordingInfo"] = new RecordingInfo($this->_propDict["recordingInfo"]); + return $this->_propDict["recordingInfo"]; + } + } + return null; + } + + /** + * Sets the recordingInfo + * Information on whether the participant has recording capability. + * + * @param RecordingInfo $val The recordingInfo + * + * @return Participant + */ + public function setRecordingInfo($val) + { + $this->_propDict["recordingInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php new file mode 100644 index 0000000..7a55b18 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php @@ -0,0 +1,232 @@ +_propDict)) { + return $this->_propDict["countryCode"]; + } else { + return null; + } + } + + /** + * Sets the countryCode + * The ISO 3166-1 Alpha-2 country code of the participant's best estimated physical location at the start of the call. Read-only. + * + * @param string $val The value of the countryCode + * + * @return ParticipantInfo + */ + public function setCountryCode($val) + { + $this->_propDict["countryCode"] = $val; + return $this; + } + + /** + * Gets the endpointType + * The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. + * + * @return EndpointType|null The endpointType + */ + public function getEndpointType() + { + if (array_key_exists("endpointType", $this->_propDict)) { + if (is_a($this->_propDict["endpointType"], "\Beta\Microsoft\Graph\Model\EndpointType") || is_null($this->_propDict["endpointType"])) { + return $this->_propDict["endpointType"]; + } else { + $this->_propDict["endpointType"] = new EndpointType($this->_propDict["endpointType"]); + return $this->_propDict["endpointType"]; + } + } + return null; + } + + /** + * Sets the endpointType + * The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. + * + * @param EndpointType $val The value to assign to the endpointType + * + * @return ParticipantInfo The ParticipantInfo + */ + public function setEndpointType($val) + { + $this->_propDict["endpointType"] = $val; + return $this; + } + + /** + * Gets the identity + * The identitySet associated with this participant. Read-only. + * + * @return IdentitySet|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * The identitySet associated with this participant. Read-only. + * + * @param IdentitySet $val The value to assign to the identity + * + * @return ParticipantInfo The ParticipantInfo + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + /** + * Gets the languageId + * The language culture string. Read-only. + * + * @return string|null The languageId + */ + public function getLanguageId() + { + if (array_key_exists("languageId", $this->_propDict)) { + return $this->_propDict["languageId"]; + } else { + return null; + } + } + + /** + * Sets the languageId + * The language culture string. Read-only. + * + * @param string $val The value of the languageId + * + * @return ParticipantInfo + */ + public function setLanguageId($val) + { + $this->_propDict["languageId"] = $val; + return $this; + } + /** + * Gets the participantId + * The participant ID of the participant. Read-only. + * + * @return string|null The participantId + */ + public function getParticipantId() + { + if (array_key_exists("participantId", $this->_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * The participant ID of the participant. Read-only. + * + * @param string $val The value of the participantId + * + * @return ParticipantInfo + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } + /** + * Gets the platformId + * The client platform ID of the participant. Read-only. + * + * @return string|null The platformId + */ + public function getPlatformId() + { + if (array_key_exists("platformId", $this->_propDict)) { + return $this->_propDict["platformId"]; + } else { + return null; + } + } + + /** + * Sets the platformId + * The client platform ID of the participant. Read-only. + * + * @param string $val The value of the platformId + * + * @return ParticipantInfo + */ + public function setPlatformId($val) + { + $this->_propDict["platformId"] = $val; + return $this; + } + /** + * Gets the region + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location, unlike countryCode. Read-only. + * + * @return string|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + return $this->_propDict["region"]; + } else { + return null; + } + } + + /** + * Sets the region + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location, unlike countryCode. Read-only. + * + * @param string $val The value of the region + * + * @return ParticipantInfo + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningNotification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningNotification.php new file mode 100644 index 0000000..a578f07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningNotification.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["call"], "\Beta\Microsoft\Graph\Model\Call") || is_null($this->_propDict["call"])) { + return $this->_propDict["call"]; + } else { + $this->_propDict["call"] = new Call($this->_propDict["call"]); + return $this->_propDict["call"]; + } + } + return null; + } + + /** + * Sets the call + * + * @param Call $val The call + * + * @return ParticipantJoiningNotification + */ + public function setCall($val) + { + $this->_propDict["call"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningResponse.php new file mode 100644 index 0000000..a18eaca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningResponse.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * ID of the participant under the policy who has left the meeting. + * + * @param string $val The participantId + * + * @return ParticipantLeftNotification + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } + + /** + * Gets the call + * + * @return Call|null The call + */ + public function getCall() + { + if (array_key_exists("call", $this->_propDict)) { + if (is_a($this->_propDict["call"], "\Beta\Microsoft\Graph\Model\Call") || is_null($this->_propDict["call"])) { + return $this->_propDict["call"]; + } else { + $this->_propDict["call"] = new Call($this->_propDict["call"]); + return $this->_propDict["call"]; + } + } + return null; + } + + /** + * Sets the call + * + * @param Call $val The call + * + * @return ParticipantLeftNotification + */ + public function setCall($val) + { + $this->_propDict["call"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordAuthenticationMethod.php new file mode 100644 index 0000000..8014d28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordAuthenticationMethod.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return PasswordAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * The date and time when this password was last updated. This property is currently not populated. Read-only. 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 creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * The date and time when this password was last updated. This property is currently not populated. Read-only. 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 creationDateTime + * + * @return PasswordAuthenticationMethod + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the password + * For security, the password is always returned as null from a LIST or GET operation. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * For security, the password is always returned as null from a LIST or GET operation. + * + * @param string $val The password + * + * @return PasswordAuthenticationMethod + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredential.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredential.php new file mode 100644 index 0000000..cb3563f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredential.php @@ -0,0 +1,237 @@ +_propDict)) { + if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customKeyIdentifier"])) { + return $this->_propDict["customKeyIdentifier"]; + } else { + $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customKeyIdentifier"]); + return $this->_propDict["customKeyIdentifier"]; + } + } + return null; + } + + /** + * Sets the customKeyIdentifier + * Do not use. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier + * + * @return PasswordCredential The PasswordCredential + */ + public function setCustomKeyIdentifier($val) + { + $this->_propDict["customKeyIdentifier"] = $val; + return $this; + } + /** + * Gets the displayName + * Friendly name for the password. Optional. + * + * @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 + * Friendly name for the password. Optional. + * + * @param string $val The value of the displayName + * + * @return PasswordCredential + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return PasswordCredential The PasswordCredential + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the hint + * Contains the first three characters of the password. Read-only. + * + * @return string|null The hint + */ + public function getHint() + { + if (array_key_exists("hint", $this->_propDict)) { + return $this->_propDict["hint"]; + } else { + return null; + } + } + + /** + * Sets the hint + * Contains the first three characters of the password. Read-only. + * + * @param string $val The value of the hint + * + * @return PasswordCredential + */ + public function setHint($val) + { + $this->_propDict["hint"] = $val; + return $this; + } + /** + * Gets the keyId + * The unique identifier for the password. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The unique identifier for the password. + * + * @param string $val The value of the keyId + * + * @return PasswordCredential + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + /** + * Gets the secretText + * Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. + * + * @return string|null The secretText + */ + public function getSecretText() + { + if (array_key_exists("secretText", $this->_propDict)) { + return $this->_propDict["secretText"]; + } else { + return null; + } + } + + /** + * Sets the secretText + * Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. + * + * @param string $val The value of the secretText + * + * @return PasswordCredential + */ + public function setSecretText($val) + { + $this->_propDict["secretText"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time at which the password becomes valid. 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. Optional. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time at which the password becomes valid. 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. Optional. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return PasswordCredential The PasswordCredential + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredentialConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredentialConfiguration.php new file mode 100644 index 0000000..29471eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredentialConfiguration.php @@ -0,0 +1,123 @@ +_propDict)) { + if (is_a($this->_propDict["maxLifetime"], "\DateInterval") || is_null($this->_propDict["maxLifetime"])) { + return $this->_propDict["maxLifetime"]; + } else { + $this->_propDict["maxLifetime"] = new \DateInterval($this->_propDict["maxLifetime"]); + return $this->_propDict["maxLifetime"]; + } + } + return null; + } + + /** + * Sets the maxLifetime + * + * @param \DateInterval $val The value to assign to the maxLifetime + * + * @return PasswordCredentialConfiguration The PasswordCredentialConfiguration + */ + public function setMaxLifetime($val) + { + $this->_propDict["maxLifetime"] = $val; + return $this; + } + + /** + * Gets the restrictForAppsCreatedAfterDateTime + * Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be backdated. To apply to all applications, this date would be null. + * + * @return \DateTime|null The restrictForAppsCreatedAfterDateTime + */ + public function getRestrictForAppsCreatedAfterDateTime() + { + if (array_key_exists("restrictForAppsCreatedAfterDateTime", $this->_propDict)) { + if (is_a($this->_propDict["restrictForAppsCreatedAfterDateTime"], "\DateTime") || is_null($this->_propDict["restrictForAppsCreatedAfterDateTime"])) { + return $this->_propDict["restrictForAppsCreatedAfterDateTime"]; + } else { + $this->_propDict["restrictForAppsCreatedAfterDateTime"] = new \DateTime($this->_propDict["restrictForAppsCreatedAfterDateTime"]); + return $this->_propDict["restrictForAppsCreatedAfterDateTime"]; + } + } + return null; + } + + /** + * Sets the restrictForAppsCreatedAfterDateTime + * Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be backdated. To apply to all applications, this date would be null. + * + * @param \DateTime $val The value to assign to the restrictForAppsCreatedAfterDateTime + * + * @return PasswordCredentialConfiguration The PasswordCredentialConfiguration + */ + public function setRestrictForAppsCreatedAfterDateTime($val) + { + $this->_propDict["restrictForAppsCreatedAfterDateTime"] = $val; + return $this; + } + + /** + * Gets the restrictionType + * The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime,customPasswordAddition, unknownFutureValue. Each value of restrictionType can be used only once per policy. + * + * @return AppCredentialRestrictionType|null The restrictionType + */ + public function getRestrictionType() + { + if (array_key_exists("restrictionType", $this->_propDict)) { + if (is_a($this->_propDict["restrictionType"], "\Beta\Microsoft\Graph\Model\AppCredentialRestrictionType") || is_null($this->_propDict["restrictionType"])) { + return $this->_propDict["restrictionType"]; + } else { + $this->_propDict["restrictionType"] = new AppCredentialRestrictionType($this->_propDict["restrictionType"]); + return $this->_propDict["restrictionType"]; + } + } + return null; + } + + /** + * Sets the restrictionType + * The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime,customPasswordAddition, unknownFutureValue. Each value of restrictionType can be used only once per policy. + * + * @param AppCredentialRestrictionType $val The value to assign to the restrictionType + * + * @return PasswordCredentialConfiguration The PasswordCredentialConfiguration + */ + public function setRestrictionType($val) + { + $this->_propDict["restrictionType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordProfile.php new file mode 100644 index 0000000..2a5616d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordProfile.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["forceChangePasswordNextSignIn"]; + } else { + return null; + } + } + + /** + * Sets the forceChangePasswordNextSignIn + * true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon. + * + * @param bool $val The value of the forceChangePasswordNextSignIn + * + * @return PasswordProfile + */ + public function setForceChangePasswordNextSignIn($val) + { + $this->_propDict["forceChangePasswordNextSignIn"] = $val; + return $this; + } + /** + * Gets the forceChangePasswordNextSignInWithMfa + * If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. + * + * @return bool|null The forceChangePasswordNextSignInWithMfa + */ + public function getForceChangePasswordNextSignInWithMfa() + { + if (array_key_exists("forceChangePasswordNextSignInWithMfa", $this->_propDict)) { + return $this->_propDict["forceChangePasswordNextSignInWithMfa"]; + } else { + return null; + } + } + + /** + * Sets the forceChangePasswordNextSignInWithMfa + * If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. + * + * @param bool $val The value of the forceChangePasswordNextSignInWithMfa + * + * @return PasswordProfile + */ + public function setForceChangePasswordNextSignInWithMfa($val) + { + $this->_propDict["forceChangePasswordNextSignInWithMfa"] = $val; + return $this; + } + /** + * Gets the password + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * + * @param string $val The value of the password + * + * @return PasswordProfile + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordResetResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordResetResponse.php new file mode 100644 index 0000000..1728266 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordResetResponse.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["newPassword"]; + } else { + return null; + } + } + + /** + * Sets the newPassword + * + * @param string $val The value of the newPassword + * + * @return PasswordResetResponse + */ + public function setNewPassword($val) + { + $this->_propDict["newPassword"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnCredentialSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnCredentialSet.php new file mode 100644 index 0000000..2ae3d40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnCredentialSet.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["credentials"], "\Beta\Microsoft\Graph\Model\Credential") || is_null($this->_propDict["credentials"])) { + return $this->_propDict["credentials"]; + } else { + $this->_propDict["credentials"] = new Credential($this->_propDict["credentials"]); + return $this->_propDict["credentials"]; + } + } + return null; + } + + /** + * Sets the credentials + * A list of credential objects that define the complete sign in flow. + * + * @param Credential $val The value to assign to the credentials + * + * @return PasswordSingleSignOnCredentialSet The PasswordSingleSignOnCredentialSet + */ + public function setCredentials($val) + { + $this->_propDict["credentials"] = $val; + return $this; + } + /** + * Gets the id + * The ID of the user or group this credential set belongs to. + * + * @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 + * The ID of the user or group this credential set belongs to. + * + * @param string $val The value of the id + * + * @return PasswordSingleSignOnCredentialSet + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php new file mode 100644 index 0000000..ff7f1f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["customizedLabel"]; + } else { + return null; + } + } + + /** + * Sets the customizedLabel + * Title/label override for customization. + * + * @param string $val The value of the customizedLabel + * + * @return PasswordSingleSignOnField + */ + public function setCustomizedLabel($val) + { + $this->_propDict["customizedLabel"] = $val; + return $this; + } + /** + * Gets the defaultLabel + * Label that would be used if no customizedLabel is provided. Read only. + * + * @return string|null The defaultLabel + */ + public function getDefaultLabel() + { + if (array_key_exists("defaultLabel", $this->_propDict)) { + return $this->_propDict["defaultLabel"]; + } else { + return null; + } + } + + /** + * Sets the defaultLabel + * Label that would be used if no customizedLabel is provided. Read only. + * + * @param string $val The value of the defaultLabel + * + * @return PasswordSingleSignOnField + */ + public function setDefaultLabel($val) + { + $this->_propDict["defaultLabel"] = $val; + return $this; + } + /** + * Gets the fieldId + * Id used to identity the field type. This is an internal id and possible values are param_1, param_2, param_userName, param_password. + * + * @return string|null The fieldId + */ + public function getFieldId() + { + if (array_key_exists("fieldId", $this->_propDict)) { + return $this->_propDict["fieldId"]; + } else { + return null; + } + } + + /** + * Sets the fieldId + * Id used to identity the field type. This is an internal id and possible values are param_1, param_2, param_userName, param_password. + * + * @param string $val The value of the fieldId + * + * @return PasswordSingleSignOnField + */ + public function setFieldId($val) + { + $this->_propDict["fieldId"] = $val; + return $this; + } + /** + * Gets the type + * Type of the credential. The values can be text, password. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the credential. The values can be text, password. + * + * @param string $val The value of the type + * + * @return PasswordSingleSignOnField + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnSettings.php new file mode 100644 index 0000000..758bc90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnSettings.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["fields"], "\Beta\Microsoft\Graph\Model\PasswordSingleSignOnField") || is_null($this->_propDict["fields"])) { + return $this->_propDict["fields"]; + } else { + $this->_propDict["fields"] = new PasswordSingleSignOnField($this->_propDict["fields"]); + return $this->_propDict["fields"]; + } + } + return null; + } + + /** + * Sets the fields + * + * @param PasswordSingleSignOnField $val The value to assign to the fields + * + * @return PasswordSingleSignOnSettings The PasswordSingleSignOnSettings + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php new file mode 100644 index 0000000..091e492 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordValidationInformation.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["isValid"]; + } else { + return null; + } + } + + /** + * Sets the isValid + * Specifies whether the password is valid based on the calculation of the results in the validationResults property. Not nullable. Read-only. + * + * @param bool $val The value of the isValid + * + * @return PasswordValidationInformation + */ + public function setIsValid($val) + { + $this->_propDict["isValid"] = $val; + return $this; + } + + /** + * Gets the validationResults + * The list of password validation rules and whether the password passed those rules. Not nullable. Read-only. + * + * @return ValidationResult|null The validationResults + */ + public function getValidationResults() + { + if (array_key_exists("validationResults", $this->_propDict)) { + if (is_a($this->_propDict["validationResults"], "\Beta\Microsoft\Graph\Model\ValidationResult") || is_null($this->_propDict["validationResults"])) { + return $this->_propDict["validationResults"]; + } else { + $this->_propDict["validationResults"] = new ValidationResult($this->_propDict["validationResults"]); + return $this->_propDict["validationResults"]; + } + } + return null; + } + + /** + * Sets the validationResults + * The list of password validation rules and whether the password passed those rules. Not nullable. Read-only. + * + * @param ValidationResult $val The value to assign to the validationResults + * + * @return PasswordValidationInformation The PasswordValidationInformation + */ + public function setValidationResults($val) + { + $this->_propDict["validationResults"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordlessMicrosoftAuthenticatorAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordlessMicrosoftAuthenticatorAuthenticationMethod.php new file mode 100644 index 0000000..050f68c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordlessMicrosoftAuthenticatorAuthenticationMethod.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return PasswordlessMicrosoftAuthenticatorAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * The timestamp when this method was registered to the user. + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * The timestamp when this method was registered to the user. + * + * @param \DateTime $val The creationDateTime + * + * @return PasswordlessMicrosoftAuthenticatorAuthenticationMethod + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the mobile device as given by the user. + * + * @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 + * The display name of the mobile device as given by the user. + * + * @param string $val The displayName + * + * @return PasswordlessMicrosoftAuthenticatorAuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the device + * + * @return Device|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\Device") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Device($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * + * @param Device $val The device + * + * @return PasswordlessMicrosoftAuthenticatorAuthenticationMethod + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PatternedRecurrence.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PatternedRecurrence.php new file mode 100644 index 0000000..14b3d45 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PatternedRecurrence.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["pattern"], "\Beta\Microsoft\Graph\Model\RecurrencePattern") || is_null($this->_propDict["pattern"])) { + return $this->_propDict["pattern"]; + } else { + $this->_propDict["pattern"] = new RecurrencePattern($this->_propDict["pattern"]); + return $this->_propDict["pattern"]; + } + } + return null; + } + + /** + * Sets the pattern + * The frequency of an event. Do not specify for a one-time access review. For access reviews: Do not specify this property for a one-time access review. Only interval, dayOfMonth, and type (weekly, absoluteMonthly) properties of recurrencePattern are supported. + * + * @param RecurrencePattern $val The value to assign to the pattern + * + * @return PatternedRecurrence The PatternedRecurrence + */ + public function setPattern($val) + { + $this->_propDict["pattern"] = $val; + return $this; + } + + /** + * Gets the range + * The duration of an event. + * + * @return RecurrenceRange|null The range + */ + public function getRange() + { + if (array_key_exists("range", $this->_propDict)) { + if (is_a($this->_propDict["range"], "\Beta\Microsoft\Graph\Model\RecurrenceRange") || is_null($this->_propDict["range"])) { + return $this->_propDict["range"]; + } else { + $this->_propDict["range"] = new RecurrenceRange($this->_propDict["range"]); + return $this->_propDict["range"]; + } + } + return null; + } + + /** + * Sets the range + * The duration of an event. + * + * @param RecurrenceRange $val The value to assign to the range + * + * @return PatternedRecurrence The PatternedRecurrence + */ + public function setRange($val) + { + $this->_propDict["range"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadCompatibleAssignmentFilter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadCompatibleAssignmentFilter.php new file mode 100644 index 0000000..5c36bf4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadCompatibleAssignmentFilter.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["payloadType"], "\Beta\Microsoft\Graph\Model\AssignmentFilterPayloadType") || is_null($this->_propDict["payloadType"])) { + return $this->_propDict["payloadType"]; + } else { + $this->_propDict["payloadType"] = new AssignmentFilterPayloadType($this->_propDict["payloadType"]); + return $this->_propDict["payloadType"]; + } + } + return null; + } + + /** + * Sets the payloadType + * PayloadType of the Assignment Filter. Possible values are: notSet, enrollmentRestrictions. + * + * @param AssignmentFilterPayloadType $val The payloadType + * + * @return PayloadCompatibleAssignmentFilter + */ + public function setPayloadType($val) + { + $this->_propDict["payloadType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadDeliveryPlatform.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadDeliveryPlatform.php new file mode 100644 index 0000000..4af6ef3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadDeliveryPlatform.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["rawContent"]; + } else { + return null; + } + } + + /** + * Sets the rawContent + * The notification content of a raw user notification that will be delivered to and consumed by the app client on all supported platforms (Windows, iOS, Android or WebPush) receiving this notification. At least one of Payload.RawContent or Payload.VisualContent needs to be valid for a POST Notification request. + * + * @param string $val The value of the rawContent + * + * @return PayloadTypes + */ + public function setRawContent($val) + { + $this->_propDict["rawContent"] = $val; + return $this; + } + + /** + * Gets the visualContent + * The visual content of a visual user notification, which will be consumed by the notification platform on each supported platform (Windows, iOS and Android only) and rendered for the user. At least one of Payload.RawContent or Payload.VisualContent needs to be valid for a POST Notification request. + * + * @return VisualProperties|null The visualContent + */ + public function getVisualContent() + { + if (array_key_exists("visualContent", $this->_propDict)) { + if (is_a($this->_propDict["visualContent"], "\Beta\Microsoft\Graph\Model\VisualProperties") || is_null($this->_propDict["visualContent"])) { + return $this->_propDict["visualContent"]; + } else { + $this->_propDict["visualContent"] = new VisualProperties($this->_propDict["visualContent"]); + return $this->_propDict["visualContent"]; + } + } + return null; + } + + /** + * Sets the visualContent + * The visual content of a visual user notification, which will be consumed by the notification platform on each supported platform (Windows, iOS and Android only) and rendered for the user. At least one of Payload.RawContent or Payload.VisualContent needs to be valid for a POST Notification request. + * + * @param VisualProperties $val The value to assign to the visualContent + * + * @return PayloadTypes The PayloadTypes + */ + public function setVisualContent($val) + { + $this->_propDict["visualContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentMethod.php new file mode 100644 index 0000000..79f9d2e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentMethod.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return PaymentMethod + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return PaymentMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PaymentMethod + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentTerm.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentTerm.php new file mode 100644 index 0000000..7eb2fc0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentTerm.php @@ -0,0 +1,224 @@ +_propDict)) { + return $this->_propDict["calculateDiscountOnCreditMemos"]; + } else { + return null; + } + } + + /** + * Sets the calculateDiscountOnCreditMemos + * + * @param bool $val The calculateDiscountOnCreditMemos + * + * @return PaymentTerm + */ + public function setCalculateDiscountOnCreditMemos($val) + { + $this->_propDict["calculateDiscountOnCreditMemos"] = boolval($val); + return $this; + } + + /** + * Gets the code + * + * @return string|null The code + */ + public function getCode() + { + if (array_key_exists("code", $this->_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return PaymentTerm + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the discountDateCalculation + * + * @return string|null The discountDateCalculation + */ + public function getDiscountDateCalculation() + { + if (array_key_exists("discountDateCalculation", $this->_propDict)) { + return $this->_propDict["discountDateCalculation"]; + } else { + return null; + } + } + + /** + * Sets the discountDateCalculation + * + * @param string $val The discountDateCalculation + * + * @return PaymentTerm + */ + public function setDiscountDateCalculation($val) + { + $this->_propDict["discountDateCalculation"] = $val; + return $this; + } + + /** + * Gets the discountPercent + * + * @return Decimal|null The discountPercent + */ + public function getDiscountPercent() + { + if (array_key_exists("discountPercent", $this->_propDict)) { + if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountPercent"])) { + return $this->_propDict["discountPercent"]; + } else { + $this->_propDict["discountPercent"] = new Decimal($this->_propDict["discountPercent"]); + return $this->_propDict["discountPercent"]; + } + } + return null; + } + + /** + * Sets the discountPercent + * + * @param Decimal $val The discountPercent + * + * @return PaymentTerm + */ + public function setDiscountPercent($val) + { + $this->_propDict["discountPercent"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return PaymentTerm + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the dueDateCalculation + * + * @return string|null The dueDateCalculation + */ + public function getDueDateCalculation() + { + if (array_key_exists("dueDateCalculation", $this->_propDict)) { + return $this->_propDict["dueDateCalculation"]; + } else { + return null; + } + } + + /** + * Sets the dueDateCalculation + * + * @param string $val The dueDateCalculation + * + * @return PaymentTerm + */ + public function setDueDateCalculation($val) + { + $this->_propDict["dueDateCalculation"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PaymentTerm + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingContentUpdate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingContentUpdate.php new file mode 100644 index 0000000..d65c45c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingContentUpdate.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["queuedDateTime"], "\DateTime") || is_null($this->_propDict["queuedDateTime"])) { + return $this->_propDict["queuedDateTime"]; + } else { + $this->_propDict["queuedDateTime"] = new \DateTime($this->_propDict["queuedDateTime"]); + return $this->_propDict["queuedDateTime"]; + } + } + return null; + } + + /** + * Sets the queuedDateTime + * Date and time the pending binary operation was queued in UTC time. Read-only. + * + * @param \DateTime $val The value to assign to the queuedDateTime + * + * @return PendingContentUpdate The PendingContentUpdate + */ + public function setQueuedDateTime($val) + { + $this->_propDict["queuedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingOperations.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingOperations.php new file mode 100644 index 0000000..5257b8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingOperations.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["pendingContentUpdate"], "\Beta\Microsoft\Graph\Model\PendingContentUpdate") || is_null($this->_propDict["pendingContentUpdate"])) { + return $this->_propDict["pendingContentUpdate"]; + } else { + $this->_propDict["pendingContentUpdate"] = new PendingContentUpdate($this->_propDict["pendingContentUpdate"]); + return $this->_propDict["pendingContentUpdate"]; + } + } + return null; + } + + /** + * Sets the pendingContentUpdate + * A property that indicates that an operation that might update the binary content of a file is pending completion. + * + * @param PendingContentUpdate $val The value to assign to the pendingContentUpdate + * + * @return PendingOperations The PendingOperations + */ + public function setPendingContentUpdate($val) + { + $this->_propDict["pendingContentUpdate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PerfectForwardSecrecyGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PerfectForwardSecrecyGroup.php new file mode 100644 index 0000000..bbca9ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PerfectForwardSecrecyGroup.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. + * + * @param \DateTime $val The expirationDateTime + * + * @return Permission + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the grantedTo + * + * @return IdentitySet|null The grantedTo + */ + public function getGrantedTo() + { + if (array_key_exists("grantedTo", $this->_propDict)) { + if (is_a($this->_propDict["grantedTo"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["grantedTo"])) { + return $this->_propDict["grantedTo"]; + } else { + $this->_propDict["grantedTo"] = new IdentitySet($this->_propDict["grantedTo"]); + return $this->_propDict["grantedTo"]; + } + } + return null; + } + + /** + * Sets the grantedTo + * + * @param IdentitySet $val The grantedTo + * + * @return Permission + */ + public function setGrantedTo($val) + { + $this->_propDict["grantedTo"] = $val; + return $this; + } + + + /** + * Gets the grantedToIdentities + * + * @return array|null The grantedToIdentities + */ + public function getGrantedToIdentities() + { + if (array_key_exists("grantedToIdentities", $this->_propDict)) { + return $this->_propDict["grantedToIdentities"]; + } else { + return null; + } + } + + /** + * Sets the grantedToIdentities + * + * @param IdentitySet[] $val The grantedToIdentities + * + * @return Permission + */ + public function setGrantedToIdentities($val) + { + $this->_propDict["grantedToIdentities"] = $val; + return $this; + } + + + /** + * Gets the grantedToIdentitiesV2 + * For link type permissions, the details of the users to whom permission was granted. Read-only. + * + * @return array|null The grantedToIdentitiesV2 + */ + public function getGrantedToIdentitiesV2() + { + if (array_key_exists("grantedToIdentitiesV2", $this->_propDict)) { + return $this->_propDict["grantedToIdentitiesV2"]; + } else { + return null; + } + } + + /** + * Sets the grantedToIdentitiesV2 + * For link type permissions, the details of the users to whom permission was granted. Read-only. + * + * @param SharePointIdentitySet[] $val The grantedToIdentitiesV2 + * + * @return Permission + */ + public function setGrantedToIdentitiesV2($val) + { + $this->_propDict["grantedToIdentitiesV2"] = $val; + return $this; + } + + /** + * Gets the grantedToV2 + * For user type permissions, the details of the users and applications for this permission. Read-only. + * + * @return SharePointIdentitySet|null The grantedToV2 + */ + public function getGrantedToV2() + { + if (array_key_exists("grantedToV2", $this->_propDict)) { + if (is_a($this->_propDict["grantedToV2"], "\Beta\Microsoft\Graph\Model\SharePointIdentitySet") || is_null($this->_propDict["grantedToV2"])) { + return $this->_propDict["grantedToV2"]; + } else { + $this->_propDict["grantedToV2"] = new SharePointIdentitySet($this->_propDict["grantedToV2"]); + return $this->_propDict["grantedToV2"]; + } + } + return null; + } + + /** + * Sets the grantedToV2 + * For user type permissions, the details of the users and applications for this permission. Read-only. + * + * @param SharePointIdentitySet $val The grantedToV2 + * + * @return Permission + */ + public function setGrantedToV2($val) + { + $this->_propDict["grantedToV2"] = $val; + return $this; + } + + /** + * Gets the hasPassword + * Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only. + * + * @return bool|null The hasPassword + */ + public function getHasPassword() + { + if (array_key_exists("hasPassword", $this->_propDict)) { + return $this->_propDict["hasPassword"]; + } else { + return null; + } + } + + /** + * Sets the hasPassword + * Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only. + * + * @param bool $val The hasPassword + * + * @return Permission + */ + public function setHasPassword($val) + { + $this->_propDict["hasPassword"] = boolval($val); + return $this; + } + + /** + * Gets the inheritedFrom + * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * + * @return ItemReference|null The inheritedFrom + */ + public function getInheritedFrom() + { + if (array_key_exists("inheritedFrom", $this->_propDict)) { + if (is_a($this->_propDict["inheritedFrom"], "\Beta\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["inheritedFrom"])) { + return $this->_propDict["inheritedFrom"]; + } else { + $this->_propDict["inheritedFrom"] = new ItemReference($this->_propDict["inheritedFrom"]); + return $this->_propDict["inheritedFrom"]; + } + } + return null; + } + + /** + * Sets the inheritedFrom + * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * + * @param ItemReference $val The inheritedFrom + * + * @return Permission + */ + public function setInheritedFrom($val) + { + $this->_propDict["inheritedFrom"] = $val; + return $this; + } + + /** + * Gets the invitation + * Details of any associated sharing invitation for this permission. Read-only. + * + * @return SharingInvitation|null The invitation + */ + public function getInvitation() + { + if (array_key_exists("invitation", $this->_propDict)) { + if (is_a($this->_propDict["invitation"], "\Beta\Microsoft\Graph\Model\SharingInvitation") || is_null($this->_propDict["invitation"])) { + return $this->_propDict["invitation"]; + } else { + $this->_propDict["invitation"] = new SharingInvitation($this->_propDict["invitation"]); + return $this->_propDict["invitation"]; + } + } + return null; + } + + /** + * Sets the invitation + * Details of any associated sharing invitation for this permission. Read-only. + * + * @param SharingInvitation $val The invitation + * + * @return Permission + */ + public function setInvitation($val) + { + $this->_propDict["invitation"] = $val; + return $this; + } + + /** + * Gets the link + * Provides the link details of the current permission, if it is a link type permissions. Read-only. + * + * @return SharingLink|null The link + */ + public function getLink() + { + if (array_key_exists("link", $this->_propDict)) { + if (is_a($this->_propDict["link"], "\Beta\Microsoft\Graph\Model\SharingLink") || is_null($this->_propDict["link"])) { + return $this->_propDict["link"]; + } else { + $this->_propDict["link"] = new SharingLink($this->_propDict["link"]); + return $this->_propDict["link"]; + } + } + return null; + } + + /** + * Sets the link + * Provides the link details of the current permission, if it is a link type permissions. Read-only. + * + * @param SharingLink $val The link + * + * @return Permission + */ + public function setLink($val) + { + $this->_propDict["link"] = $val; + return $this; + } + + /** + * Gets the roles + * The type of permission, for example, read. See below for the full list of roles. Read-only. + * + * @return string|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * The type of permission, for example, read. See below for the full list of roles. Read-only. + * + * @param string $val The roles + * + * @return Permission + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + /** + * Gets the shareId + * A unique token that can be used to access this shared item via the [shares API][]. Read-only. + * + * @return string|null The shareId + */ + public function getShareId() + { + if (array_key_exists("shareId", $this->_propDict)) { + return $this->_propDict["shareId"]; + } else { + return null; + } + } + + /** + * Sets the shareId + * A unique token that can be used to access this shared item via the [shares API][]. Read-only. + * + * @param string $val The shareId + * + * @return Permission + */ + public function setShareId($val) + { + $this->_propDict["shareId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionClassificationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionClassificationType.php new file mode 100644 index 0000000..5201876 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionClassificationType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["certifiedClientApplicationsOnly"]; + } else { + return null; + } + } + + /** + * Sets the certifiedClientApplicationsOnly + * Set to true to only match on client applications that are Microsoft 365 certified. Set to false to match on any other client app. Default is false. + * + * @param bool $val The certifiedClientApplicationsOnly + * + * @return PermissionGrantConditionSet + */ + public function setCertifiedClientApplicationsOnly($val) + { + $this->_propDict["certifiedClientApplicationsOnly"] = boolval($val); + return $this; + } + + /** + * Gets the clientApplicationIds + * A list of appId values for the client applications to match with, or a list with the single value all to match any client application. Default is the single value all. + * + * @return string|null The clientApplicationIds + */ + public function getClientApplicationIds() + { + if (array_key_exists("clientApplicationIds", $this->_propDict)) { + return $this->_propDict["clientApplicationIds"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationIds + * A list of appId values for the client applications to match with, or a list with the single value all to match any client application. Default is the single value all. + * + * @param string $val The clientApplicationIds + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationIds($val) + { + $this->_propDict["clientApplicationIds"] = $val; + return $this; + } + + /** + * Gets the clientApplicationPublisherIds + * A list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher. Default is the single value all. + * + * @return string|null The clientApplicationPublisherIds + */ + public function getClientApplicationPublisherIds() + { + if (array_key_exists("clientApplicationPublisherIds", $this->_propDict)) { + return $this->_propDict["clientApplicationPublisherIds"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationPublisherIds + * A list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher. Default is the single value all. + * + * @param string $val The clientApplicationPublisherIds + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationPublisherIds($val) + { + $this->_propDict["clientApplicationPublisherIds"] = $val; + return $this; + } + + /** + * Gets the clientApplicationsFromVerifiedPublisherOnly + * Set to true to only match on client applications with a verified publisher. Set to false to match on any client app, even if it does not have a verified publisher. Default is false. + * + * @return bool|null The clientApplicationsFromVerifiedPublisherOnly + */ + public function getClientApplicationsFromVerifiedPublisherOnly() + { + if (array_key_exists("clientApplicationsFromVerifiedPublisherOnly", $this->_propDict)) { + return $this->_propDict["clientApplicationsFromVerifiedPublisherOnly"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationsFromVerifiedPublisherOnly + * Set to true to only match on client applications with a verified publisher. Set to false to match on any client app, even if it does not have a verified publisher. Default is false. + * + * @param bool $val The clientApplicationsFromVerifiedPublisherOnly + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationsFromVerifiedPublisherOnly($val) + { + $this->_propDict["clientApplicationsFromVerifiedPublisherOnly"] = boolval($val); + return $this; + } + + /** + * Gets the clientApplicationTenantIds + * A list of Azure Active Directory tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant. Default is the single value all. + * + * @return string|null The clientApplicationTenantIds + */ + public function getClientApplicationTenantIds() + { + if (array_key_exists("clientApplicationTenantIds", $this->_propDict)) { + return $this->_propDict["clientApplicationTenantIds"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationTenantIds + * A list of Azure Active Directory tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant. Default is the single value all. + * + * @param string $val The clientApplicationTenantIds + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationTenantIds($val) + { + $this->_propDict["clientApplicationTenantIds"] = $val; + return $this; + } + + /** + * Gets the permissionClassification + * The permission classification for the permission being granted, or all to match with any permission classification (including permissions which are not classified). Default is all. + * + * @return string|null The permissionClassification + */ + public function getPermissionClassification() + { + if (array_key_exists("permissionClassification", $this->_propDict)) { + return $this->_propDict["permissionClassification"]; + } else { + return null; + } + } + + /** + * Sets the permissionClassification + * The permission classification for the permission being granted, or all to match with any permission classification (including permissions which are not classified). Default is all. + * + * @param string $val The permissionClassification + * + * @return PermissionGrantConditionSet + */ + public function setPermissionClassification($val) + { + $this->_propDict["permissionClassification"] = $val; + return $this; + } + + /** + * Gets the permissions + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * + * @return string|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * + * @param string $val The permissions + * + * @return PermissionGrantConditionSet + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + /** + * Gets the permissionType + * The permission type of the permission being granted. Possible values: application for application permissions (e.g. app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions which have not been configured by the API publisher to require admin consent—this value may be used in built-in permission grant policies, but cannot be used in custom permission grant policies. Required. + * + * @return PermissionType|null The permissionType + */ + public function getPermissionType() + { + if (array_key_exists("permissionType", $this->_propDict)) { + if (is_a($this->_propDict["permissionType"], "\Beta\Microsoft\Graph\Model\PermissionType") || is_null($this->_propDict["permissionType"])) { + return $this->_propDict["permissionType"]; + } else { + $this->_propDict["permissionType"] = new PermissionType($this->_propDict["permissionType"]); + return $this->_propDict["permissionType"]; + } + } + return null; + } + + /** + * Sets the permissionType + * The permission type of the permission being granted. Possible values: application for application permissions (e.g. app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions which have not been configured by the API publisher to require admin consent—this value may be used in built-in permission grant policies, but cannot be used in custom permission grant policies. Required. + * + * @param PermissionType $val The permissionType + * + * @return PermissionGrantConditionSet + */ + public function setPermissionType($val) + { + $this->_propDict["permissionType"] = $val; + return $this; + } + + /** + * Gets the resourceApplication + * The appId of the resource application (e.g. the API) for which a permission is being granted, or any to match with any resource application or API. Default is any. + * + * @return string|null The resourceApplication + */ + public function getResourceApplication() + { + if (array_key_exists("resourceApplication", $this->_propDict)) { + return $this->_propDict["resourceApplication"]; + } else { + return null; + } + } + + /** + * Sets the resourceApplication + * The appId of the resource application (e.g. the API) for which a permission is being granted, or any to match with any resource application or API. Default is any. + * + * @param string $val The resourceApplication + * + * @return PermissionGrantConditionSet + */ + public function setResourceApplication($val) + { + $this->_propDict["resourceApplication"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php new file mode 100644 index 0000000..e6da442 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["excludes"]; + } else { + return null; + } + } + + /** + * Sets the excludes + * Condition sets which are excluded in this permission grant policy. Automatically expanded on GET. + * + * @param PermissionGrantConditionSet[] $val The excludes + * + * @return PermissionGrantPolicy + */ + public function setExcludes($val) + { + $this->_propDict["excludes"] = $val; + return $this; + } + + + /** + * Gets the includes + * Condition sets which are included in this permission grant policy. Automatically expanded on GET. + * + * @return array|null The includes + */ + public function getIncludes() + { + if (array_key_exists("includes", $this->_propDict)) { + return $this->_propDict["includes"]; + } else { + return null; + } + } + + /** + * Sets the includes + * Condition sets which are included in this permission grant policy. Automatically expanded on GET. + * + * @param PermissionGrantConditionSet[] $val The includes + * + * @return PermissionGrantPolicy + */ + public function setIncludes($val) + { + $this->_propDict["includes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionScope.php new file mode 100644 index 0000000..d93d052 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionScope.php @@ -0,0 +1,276 @@ +_propDict)) { + return $this->_propDict["adminConsentDescription"]; + } else { + return null; + } + } + + /** + * Sets the adminConsentDescription + * A description of the delegated permissions, intended to be read by an administrator granting the permission on behalf of all users. This text appears in tenant-wide admin consent experiences. + * + * @param string $val The value of the adminConsentDescription + * + * @return PermissionScope + */ + public function setAdminConsentDescription($val) + { + $this->_propDict["adminConsentDescription"] = $val; + return $this; + } + /** + * Gets the adminConsentDisplayName + * The permission's title, intended to be read by an administrator granting the permission on behalf of all users. + * + * @return string|null The adminConsentDisplayName + */ + public function getAdminConsentDisplayName() + { + if (array_key_exists("adminConsentDisplayName", $this->_propDict)) { + return $this->_propDict["adminConsentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the adminConsentDisplayName + * The permission's title, intended to be read by an administrator granting the permission on behalf of all users. + * + * @param string $val The value of the adminConsentDisplayName + * + * @return PermissionScope + */ + public function setAdminConsentDisplayName($val) + { + $this->_propDict["adminConsentDisplayName"] = $val; + return $this; + } + /** + * Gets the id + * Unique delegated permission identifier inside the collection of delegated permissions defined for a resource application. + * + * @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 + * Unique delegated permission identifier inside the collection of delegated permissions defined for a resource application. + * + * @param string $val The value of the id + * + * @return PermissionScope + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEnabled + * When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. + * + * @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 + * When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. + * + * @param bool $val The value of the isEnabled + * + * @return PermissionScope + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the origin + * + * @return string|null The origin + */ + public function getOrigin() + { + if (array_key_exists("origin", $this->_propDict)) { + return $this->_propDict["origin"]; + } else { + return null; + } + } + + /** + * Sets the origin + * + * @param string $val The value of the origin + * + * @return PermissionScope + */ + public function setOrigin($val) + { + $this->_propDict["origin"] = $val; + return $this; + } + /** + * Gets the type + * The possible values are: User and Admin. Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator consent should always be required. While Microsoft Graph defines the default consent requirement for each permission, the tenant administrator may override the behavior in their organization (by allowing, restricting, or limiting user consent to this delegated permission). For more information, see Configure how users consent to applications. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The possible values are: User and Admin. Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator consent should always be required. While Microsoft Graph defines the default consent requirement for each permission, the tenant administrator may override the behavior in their organization (by allowing, restricting, or limiting user consent to this delegated permission). For more information, see Configure how users consent to applications. + * + * @param string $val The value of the type + * + * @return PermissionScope + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the userConsentDescription + * A description of the delegated permissions, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @return string|null The userConsentDescription + */ + public function getUserConsentDescription() + { + if (array_key_exists("userConsentDescription", $this->_propDict)) { + return $this->_propDict["userConsentDescription"]; + } else { + return null; + } + } + + /** + * Sets the userConsentDescription + * A description of the delegated permissions, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @param string $val The value of the userConsentDescription + * + * @return PermissionScope + */ + public function setUserConsentDescription($val) + { + $this->_propDict["userConsentDescription"] = $val; + return $this; + } + /** + * Gets the userConsentDisplayName + * A title for the permission, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @return string|null The userConsentDisplayName + */ + public function getUserConsentDisplayName() + { + if (array_key_exists("userConsentDisplayName", $this->_propDict)) { + return $this->_propDict["userConsentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the userConsentDisplayName + * A title for the permission, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @param string $val The value of the userConsentDisplayName + * + * @return PermissionScope + */ + public function setUserConsentDisplayName($val) + { + $this->_propDict["userConsentDisplayName"] = $val; + return $this; + } + /** + * Gets the value + * Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @param string $val The value of the value + * + * @return PermissionScope + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionType.php new file mode 100644 index 0000000..b03958e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["mode"], "\Beta\Microsoft\Graph\Model\PersistentBrowserSessionMode") || is_null($this->_propDict["mode"])) { + return $this->_propDict["mode"]; + } else { + $this->_propDict["mode"] = new PersistentBrowserSessionMode($this->_propDict["mode"]); + return $this->_propDict["mode"]; + } + } + return null; + } + + /** + * Sets the mode + * Possible values are: always, never. + * + * @param PersistentBrowserSessionMode $val The value to assign to the mode + * + * @return PersistentBrowserSessionControl The PersistentBrowserSessionControl + */ + public function setMode($val) + { + $this->_propDict["mode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersistentBrowserSessionMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersistentBrowserSessionMode.php new file mode 100644 index 0000000..87db9fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersistentBrowserSessionMode.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["birthday"]; + } else { + return null; + } + } + + /** + * Sets the birthday + * The person's birthday. + * + * @param string $val The birthday + * + * @return Person + */ + public function setBirthday($val) + { + $this->_propDict["birthday"] = $val; + return $this; + } + + /** + * Gets the companyName + * The name of the person's company. + * + * @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 name of the person's company. + * + * @param string $val The companyName + * + * @return Person + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the department + * The person's department. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The person's department. + * + * @param string $val The department + * + * @return Person + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The person's display name. + * + * @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 + * The person's display name. + * + * @param string $val The displayName + * + * @return Person + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the emailAddresses + * The person's email addresses. + * + * @return array|null The emailAddresses + */ + public function getEmailAddresses() + { + if (array_key_exists("emailAddresses", $this->_propDict)) { + return $this->_propDict["emailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the emailAddresses + * The person's email addresses. + * + * @param RankedEmailAddress[] $val The emailAddresses + * + * @return Person + */ + public function setEmailAddresses($val) + { + $this->_propDict["emailAddresses"] = $val; + return $this; + } + + /** + * Gets the givenName + * The person's given name. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The person's given name. + * + * @param string $val The givenName + * + * @return Person + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the isFavorite + * true if the user has flagged this person as a favorite. + * + * @return bool|null The isFavorite + */ + public function getIsFavorite() + { + if (array_key_exists("isFavorite", $this->_propDict)) { + return $this->_propDict["isFavorite"]; + } else { + return null; + } + } + + /** + * Sets the isFavorite + * true if the user has flagged this person as a favorite. + * + * @param bool $val The isFavorite + * + * @return Person + */ + public function setIsFavorite($val) + { + $this->_propDict["isFavorite"] = boolval($val); + return $this; + } + + /** + * Gets the mailboxType + * The type of mailbox that is represented by the person's email address. + * + * @return string|null The mailboxType + */ + public function getMailboxType() + { + if (array_key_exists("mailboxType", $this->_propDict)) { + return $this->_propDict["mailboxType"]; + } else { + return null; + } + } + + /** + * Sets the mailboxType + * The type of mailbox that is represented by the person's email address. + * + * @param string $val The mailboxType + * + * @return Person + */ + public function setMailboxType($val) + { + $this->_propDict["mailboxType"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * The location of the person's office. + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * The location of the person's office. + * + * @param string $val The officeLocation + * + * @return Person + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the personNotes + * Free-form notes that the user has taken about this person. + * + * @return string|null The personNotes + */ + public function getPersonNotes() + { + if (array_key_exists("personNotes", $this->_propDict)) { + return $this->_propDict["personNotes"]; + } else { + return null; + } + } + + /** + * Sets the personNotes + * Free-form notes that the user has taken about this person. + * + * @param string $val The personNotes + * + * @return Person + */ + public function setPersonNotes($val) + { + $this->_propDict["personNotes"] = $val; + return $this; + } + + /** + * Gets the personType + * The type of person, for example distribution list. + * + * @return string|null The personType + */ + public function getPersonType() + { + if (array_key_exists("personType", $this->_propDict)) { + return $this->_propDict["personType"]; + } else { + return null; + } + } + + /** + * Sets the personType + * The type of person, for example distribution list. + * + * @param string $val The personType + * + * @return Person + */ + public function setPersonType($val) + { + $this->_propDict["personType"] = $val; + return $this; + } + + + /** + * Gets the phones + * The person's phone numbers. + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * The person's phone numbers. + * + * @param Phone[] $val The phones + * + * @return Person + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + + + /** + * Gets the postalAddresses + * The person's addresses. + * + * @return array|null The postalAddresses + */ + public function getPostalAddresses() + { + if (array_key_exists("postalAddresses", $this->_propDict)) { + return $this->_propDict["postalAddresses"]; + } else { + return null; + } + } + + /** + * Sets the postalAddresses + * The person's addresses. + * + * @param Location[] $val The postalAddresses + * + * @return Person + */ + public function setPostalAddresses($val) + { + $this->_propDict["postalAddresses"] = $val; + return $this; + } + + /** + * Gets the profession + * The person's profession. + * + * @return string|null The profession + */ + public function getProfession() + { + if (array_key_exists("profession", $this->_propDict)) { + return $this->_propDict["profession"]; + } else { + return null; + } + } + + /** + * Sets the profession + * The person's profession. + * + * @param string $val The profession + * + * @return Person + */ + public function setProfession($val) + { + $this->_propDict["profession"] = $val; + return $this; + } + + + /** + * Gets the sources + * The sources the user data comes from, for example Directory or Outlook Contacts. + * + * @return array|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + return $this->_propDict["sources"]; + } else { + return null; + } + } + + /** + * Sets the sources + * The sources the user data comes from, for example Directory or Outlook Contacts. + * + * @param PersonDataSource[] $val The sources + * + * @return Person + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + + /** + * Gets the surname + * The person's surname. + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The person's surname. + * + * @param string $val The surname + * + * @return Person + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the title + * The person's title. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The person's title. + * + * @param string $val The title + * + * @return Person + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain. + * + * @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 + * The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain. + * + * @param string $val The userPrincipalName + * + * @return Person + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the websites + * The person's websites. + * + * @return array|null The websites + */ + public function getWebsites() + { + if (array_key_exists("websites", $this->_propDict)) { + return $this->_propDict["websites"]; + } else { + return null; + } + } + + /** + * Sets the websites + * The person's websites. + * + * @param Website[] $val The websites + * + * @return Person + */ + public function setWebsites($val) + { + $this->_propDict["websites"] = $val; + return $this; + } + + /** + * Gets the yomiCompany + * The phonetic Japanese name of the person's company. + * + * @return string|null The yomiCompany + */ + public function getYomiCompany() + { + if (array_key_exists("yomiCompany", $this->_propDict)) { + return $this->_propDict["yomiCompany"]; + } else { + return null; + } + } + + /** + * Sets the yomiCompany + * The phonetic Japanese name of the person's company. + * + * @param string $val The yomiCompany + * + * @return Person + */ + public function setYomiCompany($val) + { + $this->_propDict["yomiCompany"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnotation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnotation.php new file mode 100644 index 0000000..522b7d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnotation.php @@ -0,0 +1,116 @@ +_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new ItemBody($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * Contains the detail of the note itself. + * + * @param ItemBody $val The detail + * + * @return PersonAnnotation + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the displayName + * Contains a friendly name for the note. + * + * @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 + * Contains a friendly name for the note. + * + * @param string $val The displayName + * + * @return PersonAnnotation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return PersonAnnotation + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEvent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEvent.php new file mode 100644 index 0000000..5fa8d0d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEvent.php @@ -0,0 +1,116 @@ +_propDict)) { + if (is_a($this->_propDict["date"], "\DateTime") || is_null($this->_propDict["date"])) { + return $this->_propDict["date"]; + } else { + $this->_propDict["date"] = new \DateTime($this->_propDict["date"]); + return $this->_propDict["date"]; + } + } + return null; + } + + /** + * Sets the date + * + * @param \DateTime $val The date + * + * @return PersonAnnualEvent + */ + public function setDate($val) + { + $this->_propDict["date"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return PersonAnnualEvent + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return PersonAnnualEventType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PersonAnnualEventType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PersonAnnualEventType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param PersonAnnualEventType $val The type + * + * @return PersonAnnualEvent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEventType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEventType.php new file mode 100644 index 0000000..2d1ee10 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEventType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Descpription of the award or honor. + * + * @param string $val The description + * + * @return PersonAward + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the award or honor. + * + * @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 + * Name of the award or honor. + * + * @param string $val The displayName + * + * @return PersonAward + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the issuedDate + * The date that the award or honor was granted. + * + * @return \DateTime|null The issuedDate + */ + public function getIssuedDate() + { + if (array_key_exists("issuedDate", $this->_propDict)) { + if (is_a($this->_propDict["issuedDate"], "\DateTime") || is_null($this->_propDict["issuedDate"])) { + return $this->_propDict["issuedDate"]; + } else { + $this->_propDict["issuedDate"] = new \DateTime($this->_propDict["issuedDate"]); + return $this->_propDict["issuedDate"]; + } + } + return null; + } + + /** + * Sets the issuedDate + * The date that the award or honor was granted. + * + * @param \DateTime $val The issuedDate + * + * @return PersonAward + */ + public function setIssuedDate($val) + { + $this->_propDict["issuedDate"] = $val; + return $this; + } + + /** + * Gets the issuingAuthority + * Authority which granted the award or honor. + * + * @return string|null The issuingAuthority + */ + public function getIssuingAuthority() + { + if (array_key_exists("issuingAuthority", $this->_propDict)) { + return $this->_propDict["issuingAuthority"]; + } else { + return null; + } + } + + /** + * Sets the issuingAuthority + * Authority which granted the award or honor. + * + * @param string $val The issuingAuthority + * + * @return PersonAward + */ + public function setIssuingAuthority($val) + { + $this->_propDict["issuingAuthority"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * URL referencing a thumbnail of the award or honor. + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * URL referencing a thumbnail of the award or honor. + * + * @param string $val The thumbnailUrl + * + * @return PersonAward + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * URL referencing the award or honor. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL referencing the award or honor. + * + * @param string $val The webUrl + * + * @return PersonAward + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonCertification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonCertification.php new file mode 100644 index 0000000..5252d7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonCertification.php @@ -0,0 +1,329 @@ +_propDict)) { + return $this->_propDict["certificationId"]; + } else { + return null; + } + } + + /** + * Sets the certificationId + * The referenceable identifier for the certification. + * + * @param string $val The certificationId + * + * @return PersonCertification + */ + public function setCertificationId($val) + { + $this->_propDict["certificationId"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the certification. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the certification. + * + * @param string $val The description + * + * @return PersonCertification + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Title of the certification. + * + * @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 + * Title of the certification. + * + * @param string $val The displayName + * + * @return PersonCertification + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDate + * The date that the certification expires. + * + * @return \DateTime|null The endDate + */ + public function getEndDate() + { + if (array_key_exists("endDate", $this->_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * The date that the certification expires. + * + * @param \DateTime $val The endDate + * + * @return PersonCertification + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + + /** + * Gets the issuedDate + * The date that the certification was issued. + * + * @return \DateTime|null The issuedDate + */ + public function getIssuedDate() + { + if (array_key_exists("issuedDate", $this->_propDict)) { + if (is_a($this->_propDict["issuedDate"], "\DateTime") || is_null($this->_propDict["issuedDate"])) { + return $this->_propDict["issuedDate"]; + } else { + $this->_propDict["issuedDate"] = new \DateTime($this->_propDict["issuedDate"]); + return $this->_propDict["issuedDate"]; + } + } + return null; + } + + /** + * Sets the issuedDate + * The date that the certification was issued. + * + * @param \DateTime $val The issuedDate + * + * @return PersonCertification + */ + public function setIssuedDate($val) + { + $this->_propDict["issuedDate"] = $val; + return $this; + } + + /** + * Gets the issuingAuthority + * Authority which granted the certification. + * + * @return string|null The issuingAuthority + */ + public function getIssuingAuthority() + { + if (array_key_exists("issuingAuthority", $this->_propDict)) { + return $this->_propDict["issuingAuthority"]; + } else { + return null; + } + } + + /** + * Sets the issuingAuthority + * Authority which granted the certification. + * + * @param string $val The issuingAuthority + * + * @return PersonCertification + */ + public function setIssuingAuthority($val) + { + $this->_propDict["issuingAuthority"] = $val; + return $this; + } + + /** + * Gets the issuingCompany + * Company which granted the certification. + * + * @return string|null The issuingCompany + */ + public function getIssuingCompany() + { + if (array_key_exists("issuingCompany", $this->_propDict)) { + return $this->_propDict["issuingCompany"]; + } else { + return null; + } + } + + /** + * Sets the issuingCompany + * Company which granted the certification. + * + * @param string $val The issuingCompany + * + * @return PersonCertification + */ + public function setIssuingCompany($val) + { + $this->_propDict["issuingCompany"] = $val; + return $this; + } + + /** + * Gets the startDate + * The date that the certification became valid. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * The date that the certification became valid. + * + * @param \DateTime $val The startDate + * + * @return PersonCertification + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * URL referencing a thumbnail of the certification. + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * URL referencing a thumbnail of the certification. + * + * @param string $val The thumbnailUrl + * + * @return PersonCertification + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * URL referencing the certification. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL referencing the certification. + * + * @param string $val The webUrl + * + * @return PersonCertification + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSource.php new file mode 100644 index 0000000..ed4c195 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSource.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of data source. + * + * @param string $val The value of the type + * + * @return PersonDataSource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSources.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSources.php new file mode 100644 index 0000000..d5e8b83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSources.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return PersonDataSources + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonExtension.php new file mode 100644 index 0000000..1ac8c95 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonExtension.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Contains categories a user has associated with the interest (for example, personal, recipies). + * + * @param string $val The categories + * + * @return PersonInterest + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @return string|null The collaborationTags + */ + public function getCollaborationTags() + { + if (array_key_exists("collaborationTags", $this->_propDict)) { + return $this->_propDict["collaborationTags"]; + } else { + return null; + } + } + + /** + * Sets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @param string $val The collaborationTags + * + * @return PersonInterest + */ + public function setCollaborationTags($val) + { + $this->_propDict["collaborationTags"] = $val; + return $this; + } + + /** + * Gets the description + * Contains a description of the interest. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Contains a description of the interest. + * + * @param string $val The description + * + * @return PersonInterest + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Contains a friendly name for the interest. + * + * @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 + * Contains a friendly name for the interest. + * + * @param string $val The displayName + * + * @return PersonInterest + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return PersonInterest + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Contains a link to a web page or resource about the interest. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Contains a link to a web page or resource about the interest. + * + * @param string $val The webUrl + * + * @return PersonInterest + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonName.php new file mode 100644 index 0000000..25eb318 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonName.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Provides an ordered rendering of firstName and lastName depending on the locale of the user or their device. + * + * @param string $val The displayName + * + * @return PersonName + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the first + * First name of the user. + * + * @return string|null The first + */ + public function getFirst() + { + if (array_key_exists("first", $this->_propDict)) { + return $this->_propDict["first"]; + } else { + return null; + } + } + + /** + * Sets the first + * First name of the user. + * + * @param string $val The first + * + * @return PersonName + */ + public function setFirst($val) + { + $this->_propDict["first"] = $val; + return $this; + } + + /** + * Gets the initials + * Initials of the user. + * + * @return string|null The initials + */ + public function getInitials() + { + if (array_key_exists("initials", $this->_propDict)) { + return $this->_propDict["initials"]; + } else { + return null; + } + } + + /** + * Sets the initials + * Initials of the user. + * + * @param string $val The initials + * + * @return PersonName + */ + public function setInitials($val) + { + $this->_propDict["initials"] = $val; + return $this; + } + + /** + * Gets the languageTag + * Contains the name for the language (en-US, no-NB, en-AU) following IETF BCP47 format. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * Contains the name for the language (en-US, no-NB, en-AU) following IETF BCP47 format. + * + * @param string $val The languageTag + * + * @return PersonName + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + + /** + * Gets the last + * Last name of the user. + * + * @return string|null The last + */ + public function getLast() + { + if (array_key_exists("last", $this->_propDict)) { + return $this->_propDict["last"]; + } else { + return null; + } + } + + /** + * Sets the last + * Last name of the user. + * + * @param string $val The last + * + * @return PersonName + */ + public function setLast($val) + { + $this->_propDict["last"] = $val; + return $this; + } + + /** + * Gets the maiden + * Maiden name of the user. + * + * @return string|null The maiden + */ + public function getMaiden() + { + if (array_key_exists("maiden", $this->_propDict)) { + return $this->_propDict["maiden"]; + } else { + return null; + } + } + + /** + * Sets the maiden + * Maiden name of the user. + * + * @param string $val The maiden + * + * @return PersonName + */ + public function setMaiden($val) + { + $this->_propDict["maiden"] = $val; + return $this; + } + + /** + * Gets the middle + * Middle name of the user. + * + * @return string|null The middle + */ + public function getMiddle() + { + if (array_key_exists("middle", $this->_propDict)) { + return $this->_propDict["middle"]; + } else { + return null; + } + } + + /** + * Sets the middle + * Middle name of the user. + * + * @param string $val The middle + * + * @return PersonName + */ + public function setMiddle($val) + { + $this->_propDict["middle"] = $val; + return $this; + } + + /** + * Gets the nickname + * Nickname of the user. + * + * @return string|null The nickname + */ + public function getNickname() + { + if (array_key_exists("nickname", $this->_propDict)) { + return $this->_propDict["nickname"]; + } else { + return null; + } + } + + /** + * Sets the nickname + * Nickname of the user. + * + * @param string $val The nickname + * + * @return PersonName + */ + public function setNickname($val) + { + $this->_propDict["nickname"] = $val; + return $this; + } + + /** + * Gets the pronunciation + * Guidance on how to pronounce the users name. + * + * @return PersonNamePronounciation|null The pronunciation + */ + public function getPronunciation() + { + if (array_key_exists("pronunciation", $this->_propDict)) { + if (is_a($this->_propDict["pronunciation"], "\Beta\Microsoft\Graph\Model\PersonNamePronounciation") || is_null($this->_propDict["pronunciation"])) { + return $this->_propDict["pronunciation"]; + } else { + $this->_propDict["pronunciation"] = new PersonNamePronounciation($this->_propDict["pronunciation"]); + return $this->_propDict["pronunciation"]; + } + } + return null; + } + + /** + * Sets the pronunciation + * Guidance on how to pronounce the users name. + * + * @param PersonNamePronounciation $val The pronunciation + * + * @return PersonName + */ + public function setPronunciation($val) + { + $this->_propDict["pronunciation"] = $val; + return $this; + } + + /** + * Gets the suffix + * Designators used after the users name (eg: PhD.) + * + * @return string|null The suffix + */ + public function getSuffix() + { + if (array_key_exists("suffix", $this->_propDict)) { + return $this->_propDict["suffix"]; + } else { + return null; + } + } + + /** + * Sets the suffix + * Designators used after the users name (eg: PhD.) + * + * @param string $val The suffix + * + * @return PersonName + */ + public function setSuffix($val) + { + $this->_propDict["suffix"] = $val; + return $this; + } + + /** + * Gets the title + * Honorifics used to prefix a users name (eg: Dr, Sir, Madam, Mrs.) + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Honorifics used to prefix a users name (eg: Dr, Sir, Madam, Mrs.) + * + * @param string $val The title + * + * @return PersonName + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonNamePronounciation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonNamePronounciation.php new file mode 100644 index 0000000..390d05d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonNamePronounciation.php @@ -0,0 +1,156 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return PersonNamePronounciation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the first + * + * @return string|null The first + */ + public function getFirst() + { + if (array_key_exists("first", $this->_propDict)) { + return $this->_propDict["first"]; + } else { + return null; + } + } + + /** + * Sets the first + * + * @param string $val The value of the first + * + * @return PersonNamePronounciation + */ + public function setFirst($val) + { + $this->_propDict["first"] = $val; + return $this; + } + /** + * Gets the last + * + * @return string|null The last + */ + public function getLast() + { + if (array_key_exists("last", $this->_propDict)) { + return $this->_propDict["last"]; + } else { + return null; + } + } + + /** + * Sets the last + * + * @param string $val The value of the last + * + * @return PersonNamePronounciation + */ + public function setLast($val) + { + $this->_propDict["last"] = $val; + return $this; + } + /** + * Gets the maiden + * + * @return string|null The maiden + */ + public function getMaiden() + { + if (array_key_exists("maiden", $this->_propDict)) { + return $this->_propDict["maiden"]; + } else { + return null; + } + } + + /** + * Sets the maiden + * + * @param string $val The value of the maiden + * + * @return PersonNamePronounciation + */ + public function setMaiden($val) + { + $this->_propDict["maiden"] = $val; + return $this; + } + /** + * Gets the middle + * + * @return string|null The middle + */ + public function getMiddle() + { + if (array_key_exists("middle", $this->_propDict)) { + return $this->_propDict["middle"]; + } else { + return null; + } + } + + /** + * Sets the middle + * + * @param string $val The value of the middle + * + * @return PersonNamePronounciation + */ + public function setMiddle($val) + { + $this->_propDict["middle"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonOrGroupColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonOrGroupColumn.php new file mode 100644 index 0000000..6a4bae6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonOrGroupColumn.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["allowMultipleSelection"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleSelection + * Indicates whether multiple values can be selected from the source. + * + * @param bool $val The value of the allowMultipleSelection + * + * @return PersonOrGroupColumn + */ + public function setAllowMultipleSelection($val) + { + $this->_propDict["allowMultipleSelection"] = $val; + return $this; + } + /** + * Gets the chooseFromType + * Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly. + * + * @return string|null The chooseFromType + */ + public function getChooseFromType() + { + if (array_key_exists("chooseFromType", $this->_propDict)) { + return $this->_propDict["chooseFromType"]; + } else { + return null; + } + } + + /** + * Sets the chooseFromType + * Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly. + * + * @param string $val The value of the chooseFromType + * + * @return PersonOrGroupColumn + */ + public function setChooseFromType($val) + { + $this->_propDict["chooseFromType"] = $val; + return $this; + } + /** + * Gets the displayAs + * How to display the information about the person or group chosen. See below. + * + * @return string|null The displayAs + */ + public function getDisplayAs() + { + if (array_key_exists("displayAs", $this->_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How to display the information about the person or group chosen. See below. + * + * @param string $val The value of the displayAs + * + * @return PersonOrGroupColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonRelationship.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonRelationship.php new file mode 100644 index 0000000..751ed04 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonRelationship.php @@ -0,0 +1,48 @@ +_propDict)) { + return $this->_propDict["collaborationTags"]; + } else { + return null; + } + } + + /** + * Sets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @param string $val The collaborationTags + * + * @return PersonResponsibility + */ + public function setCollaborationTags($val) + { + $this->_propDict["collaborationTags"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the responsibility. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the responsibility. + * + * @param string $val The description + * + * @return PersonResponsibility + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Contains a friendly name for the responsibility. + * + * @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 + * Contains a friendly name for the responsibility. + * + * @param string $val The displayName + * + * @return PersonResponsibility + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return PersonResponsibility + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Contains a link to a web page or resource about the responsibility. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Contains a link to a web page or resource about the responsibility. + * + * @param string $val The webUrl + * + * @return PersonResponsibility + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonWebsite.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonWebsite.php new file mode 100644 index 0000000..647de07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonWebsite.php @@ -0,0 +1,170 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Contains categories a user has associated with the website (for example, personal, recipes). + * + * @param string $val The categories + * + * @return PersonWebsite + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the description + * Contains a description of the website. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Contains a description of the website. + * + * @param string $val The description + * + * @return PersonWebsite + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Contains a friendly name for the website. + * + * @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 + * Contains a friendly name for the website. + * + * @param string $val The displayName + * + * @return PersonWebsite + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return PersonWebsite + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Contains a link to the website itself. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Contains a link to the website itself. + * + * @param string $val The webUrl + * + * @return PersonWebsite + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonalProfilePersonalPlayStoreMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonalProfilePersonalPlayStoreMode.php new file mode 100644 index 0000000..0fed747 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonalProfilePersonalPlayStoreMode.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * The phone number. + * + * @param string $val The value of the number + * + * @return Phone + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the type + * The type of phone number. Possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + * + * @return PhoneType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PhoneType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PhoneType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of phone number. Possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + * + * @param PhoneType $val The value to assign to the type + * + * @return Phone The Phone + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneAuthenticationMethod.php new file mode 100644 index 0000000..70e01a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneAuthenticationMethod.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * The phone number to text or call for authentication. Phone numbers use the format '+&lt;country code&gt; &lt;number&gt;x&lt;extension&gt;', with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating/updating if they do not match the required format. + * + * @param string $val The phoneNumber + * + * @return PhoneAuthenticationMethod + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the phoneType + * The type of this phone. Possible values are: mobile, alternateMobile, or office. + * + * @return AuthenticationPhoneType|null The phoneType + */ + public function getPhoneType() + { + if (array_key_exists("phoneType", $this->_propDict)) { + if (is_a($this->_propDict["phoneType"], "\Beta\Microsoft\Graph\Model\AuthenticationPhoneType") || is_null($this->_propDict["phoneType"])) { + return $this->_propDict["phoneType"]; + } else { + $this->_propDict["phoneType"] = new AuthenticationPhoneType($this->_propDict["phoneType"]); + return $this->_propDict["phoneType"]; + } + } + return null; + } + + /** + * Sets the phoneType + * The type of this phone. Possible values are: mobile, alternateMobile, or office. + * + * @param AuthenticationPhoneType $val The phoneType + * + * @return PhoneAuthenticationMethod + */ + public function setPhoneType($val) + { + $this->_propDict["phoneType"] = $val; + return $this; + } + + /** + * Gets the smsSignInState + * Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue. + * + * @return AuthenticationMethodSignInState|null The smsSignInState + */ + public function getSmsSignInState() + { + if (array_key_exists("smsSignInState", $this->_propDict)) { + if (is_a($this->_propDict["smsSignInState"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodSignInState") || is_null($this->_propDict["smsSignInState"])) { + return $this->_propDict["smsSignInState"]; + } else { + $this->_propDict["smsSignInState"] = new AuthenticationMethodSignInState($this->_propDict["smsSignInState"]); + return $this->_propDict["smsSignInState"]; + } + } + return null; + } + + /** + * Sets the smsSignInState + * Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue. + * + * @param AuthenticationMethodSignInState $val The smsSignInState + * + * @return PhoneAuthenticationMethod + */ + public function setSmsSignInState($val) + { + $this->_propDict["smsSignInState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneType.php new file mode 100644 index 0000000..fd65b05 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["cameraMake"]; + } else { + return null; + } + } + + /** + * Sets the cameraMake + * Camera manufacturer. Read-only. + * + * @param string $val The value of the cameraMake + * + * @return Photo + */ + public function setCameraMake($val) + { + $this->_propDict["cameraMake"] = $val; + return $this; + } + /** + * Gets the cameraModel + * Camera model. Read-only. + * + * @return string|null The cameraModel + */ + public function getCameraModel() + { + if (array_key_exists("cameraModel", $this->_propDict)) { + return $this->_propDict["cameraModel"]; + } else { + return null; + } + } + + /** + * Sets the cameraModel + * Camera model. Read-only. + * + * @param string $val The value of the cameraModel + * + * @return Photo + */ + public function setCameraModel($val) + { + $this->_propDict["cameraModel"] = $val; + return $this; + } + /** + * Gets the exposureDenominator + * The denominator for the exposure time fraction from the camera. Read-only. + * + * @return float|null The exposureDenominator + */ + public function getExposureDenominator() + { + if (array_key_exists("exposureDenominator", $this->_propDict)) { + return $this->_propDict["exposureDenominator"]; + } else { + return null; + } + } + + /** + * Sets the exposureDenominator + * The denominator for the exposure time fraction from the camera. Read-only. + * + * @param float $val The value of the exposureDenominator + * + * @return Photo + */ + public function setExposureDenominator($val) + { + $this->_propDict["exposureDenominator"] = $val; + return $this; + } + /** + * Gets the exposureNumerator + * The numerator for the exposure time fraction from the camera. Read-only. + * + * @return float|null The exposureNumerator + */ + public function getExposureNumerator() + { + if (array_key_exists("exposureNumerator", $this->_propDict)) { + return $this->_propDict["exposureNumerator"]; + } else { + return null; + } + } + + /** + * Sets the exposureNumerator + * The numerator for the exposure time fraction from the camera. Read-only. + * + * @param float $val The value of the exposureNumerator + * + * @return Photo + */ + public function setExposureNumerator($val) + { + $this->_propDict["exposureNumerator"] = $val; + return $this; + } + /** + * Gets the fNumber + * The F-stop value from the camera. Read-only. + * + * @return float|null The fNumber + */ + public function getFNumber() + { + if (array_key_exists("fNumber", $this->_propDict)) { + return $this->_propDict["fNumber"]; + } else { + return null; + } + } + + /** + * Sets the fNumber + * The F-stop value from the camera. Read-only. + * + * @param float $val The value of the fNumber + * + * @return Photo + */ + public function setFNumber($val) + { + $this->_propDict["fNumber"] = $val; + return $this; + } + /** + * Gets the focalLength + * The focal length from the camera. Read-only. + * + * @return float|null The focalLength + */ + public function getFocalLength() + { + if (array_key_exists("focalLength", $this->_propDict)) { + return $this->_propDict["focalLength"]; + } else { + return null; + } + } + + /** + * Sets the focalLength + * The focal length from the camera. Read-only. + * + * @param float $val The value of the focalLength + * + * @return Photo + */ + public function setFocalLength($val) + { + $this->_propDict["focalLength"] = $val; + return $this; + } + /** + * Gets the iso + * The ISO value from the camera. Read-only. + * + * @return int|null The iso + */ + public function getIso() + { + if (array_key_exists("iso", $this->_propDict)) { + return $this->_propDict["iso"]; + } else { + return null; + } + } + + /** + * Sets the iso + * The ISO value from the camera. Read-only. + * + * @param int $val The value of the iso + * + * @return Photo + */ + public function setIso($val) + { + $this->_propDict["iso"] = $val; + return $this; + } + /** + * Gets the orientation + * The orientation value from the camera. Writable on OneDrive Personal. + * + * @return int|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + return $this->_propDict["orientation"]; + } else { + return null; + } + } + + /** + * Sets the orientation + * The orientation value from the camera. Writable on OneDrive Personal. + * + * @param int $val The value of the orientation + * + * @return Photo + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + + /** + * Gets the takenDateTime + * The date and time the photo was taken in UTC time. Read-only. + * + * @return \DateTime|null The takenDateTime + */ + public function getTakenDateTime() + { + if (array_key_exists("takenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["takenDateTime"], "\DateTime") || is_null($this->_propDict["takenDateTime"])) { + return $this->_propDict["takenDateTime"]; + } else { + $this->_propDict["takenDateTime"] = new \DateTime($this->_propDict["takenDateTime"]); + return $this->_propDict["takenDateTime"]; + } + } + return null; + } + + /** + * Sets the takenDateTime + * The date and time the photo was taken in UTC time. Read-only. + * + * @param \DateTime $val The value to assign to the takenDateTime + * + * @return Photo The Photo + */ + public function setTakenDateTime($val) + { + $this->_propDict["takenDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddress.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddress.php new file mode 100644 index 0000000..86578b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddress.php @@ -0,0 +1,227 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city. + * + * @param string $val The value of the city + * + * @return PhysicalAddress + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @param string $val The value of the countryOrRegion + * + * @return PhysicalAddress + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + /** + * Gets the postalCode + * The postal code. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code. + * + * @param string $val The value of the postalCode + * + * @return PhysicalAddress + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the postOfficeBox + * The post office box number. + * + * @return string|null The postOfficeBox + */ + public function getPostOfficeBox() + { + if (array_key_exists("postOfficeBox", $this->_propDict)) { + return $this->_propDict["postOfficeBox"]; + } else { + return null; + } + } + + /** + * Sets the postOfficeBox + * The post office box number. + * + * @param string $val The value of the postOfficeBox + * + * @return PhysicalAddress + */ + public function setPostOfficeBox($val) + { + $this->_propDict["postOfficeBox"] = $val; + return $this; + } + /** + * Gets the state + * The state. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state. + * + * @param string $val The value of the state + * + * @return PhysicalAddress + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the street + * The street. + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * The street. + * + * @param string $val The value of the street + * + * @return PhysicalAddress + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } + + /** + * Gets the type + * The type of address. Possible values are: unknown, home, business, other. + * + * @return PhysicalAddressType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PhysicalAddressType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PhysicalAddressType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of address. Possible values are: unknown, home, business, other. + * + * @param PhysicalAddressType $val The value to assign to the type + * + * @return PhysicalAddress The PhysicalAddress + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddressType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddressType.php new file mode 100644 index 0000000..73b7b79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddressType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city. + * + * @param string $val The value of the city + * + * @return PhysicalOfficeAddress + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @param string $val The value of the countryOrRegion + * + * @return PhysicalOfficeAddress + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + /** + * Gets the officeLocation + * Office location such as building and office number for an organizational contact. + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * Office location such as building and office number for an organizational contact. + * + * @param string $val The value of the officeLocation + * + * @return PhysicalOfficeAddress + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + /** + * Gets the postalCode + * The postal code. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code. + * + * @param string $val The value of the postalCode + * + * @return PhysicalOfficeAddress + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the state + * The state. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state. + * + * @param string $val The value of the state + * + * @return PhysicalOfficeAddress + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the street + * The street. + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * The street. + * + * @param string $val The value of the street + * + * @return PhysicalOfficeAddress + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Picture.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Picture.php new file mode 100644 index 0000000..6a9bf23 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Picture.php @@ -0,0 +1,139 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return Picture + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * + * @param string $val The contentType + * + * @return Picture + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the height + * + * @return int|null The height + */ + public function getHeight() + { + if (array_key_exists("height", $this->_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * + * @param int $val The height + * + * @return Picture + */ + public function setHeight($val) + { + $this->_propDict["height"] = intval($val); + return $this; + } + + /** + * Gets the width + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * + * @param int $val The width + * + * @return Picture + */ + public function setWidth($val) + { + $this->_propDict["width"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PinnedChatMessageInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PinnedChatMessageInfo.php new file mode 100644 index 0000000..d34493a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PinnedChatMessageInfo.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["message"], "\Beta\Microsoft\Graph\Model\ChatMessage") || is_null($this->_propDict["message"])) { + return $this->_propDict["message"]; + } else { + $this->_propDict["message"] = new ChatMessage($this->_propDict["message"]); + return $this->_propDict["message"]; + } + } + return null; + } + + /** + * Sets the message + * Represents details about the chat message that is pinned. + * + * @param ChatMessage $val The message + * + * @return PinnedChatMessageInfo + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Pkcs12Certificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Pkcs12Certificate.php new file mode 100644 index 0000000..c02cade --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Pkcs12Certificate.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.pkcs12Certificate"); + } + + /** + * Gets the password + * This is the password for the pfx file. Required. If no password is used, must still provide a value of ''. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * This is the password for the pfx file. Required. If no password is used, must still provide a value of ''. + * + * @param string $val The value of the password + * + * @return Pkcs12Certificate + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } + /** + * Gets the pkcs12Value + * This is the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. + * + * @return string|null The pkcs12Value + */ + public function getPkcs12Value() + { + if (array_key_exists("pkcs12Value", $this->_propDict)) { + return $this->_propDict["pkcs12Value"]; + } else { + return null; + } + } + + /** + * Sets the pkcs12Value + * This is the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. + * + * @param string $val The value of the pkcs12Value + * + * @return Pkcs12Certificate + */ + public function setPkcs12Value($val) + { + $this->_propDict["pkcs12Value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Pkcs12CertificateInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Pkcs12CertificateInformation.php new file mode 100644 index 0000000..be1be9b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Pkcs12CertificateInformation.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Represents whether the certificate is the active certificate to be used for calling the API connector. The active certificate is the most recently uploaded certificate which is not yet expired but whose notBefore time is in the past. + * + * @param bool $val The value of the isActive + * + * @return Pkcs12CertificateInformation + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = $val; + return $this; + } + /** + * Gets the notAfter + * The certificate's expiry. This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @return int|null The notAfter + */ + public function getNotAfter() + { + if (array_key_exists("notAfter", $this->_propDict)) { + return $this->_propDict["notAfter"]; + } else { + return null; + } + } + + /** + * Sets the notAfter + * The certificate's expiry. This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @param int $val The value of the notAfter + * + * @return Pkcs12CertificateInformation + */ + public function setNotAfter($val) + { + $this->_propDict["notAfter"] = $val; + return $this; + } + /** + * Gets the notBefore + * The certificate's issue time (not before). This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @return int|null The notBefore + */ + public function getNotBefore() + { + if (array_key_exists("notBefore", $this->_propDict)) { + return $this->_propDict["notBefore"]; + } else { + return null; + } + } + + /** + * Sets the notBefore + * The certificate's issue time (not before). This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @param int $val The value of the notBefore + * + * @return Pkcs12CertificateInformation + */ + public function setNotBefore($val) + { + $this->_propDict["notBefore"] = $val; + return $this; + } + /** + * Gets the thumbprint + * The certificate thumbprint. + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * The certificate thumbprint. + * + * @param string $val The value of the thumbprint + * + * @return Pkcs12CertificateInformation + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Place.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Place.php new file mode 100644 index 0000000..93f2828 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Place.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The street address of the place. + * + * @param PhysicalAddress $val The address + * + * @return Place + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name associated with the place. + * + * @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 + * The name associated with the place. + * + * @param string $val The displayName + * + * @return Place + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the geoCoordinates + * Specifies the place location in latitude, longitude and (optionally) altitude coordinates. + * + * @return OutlookGeoCoordinates|null The geoCoordinates + */ + public function getGeoCoordinates() + { + if (array_key_exists("geoCoordinates", $this->_propDict)) { + if (is_a($this->_propDict["geoCoordinates"], "\Beta\Microsoft\Graph\Model\OutlookGeoCoordinates") || is_null($this->_propDict["geoCoordinates"])) { + return $this->_propDict["geoCoordinates"]; + } else { + $this->_propDict["geoCoordinates"] = new OutlookGeoCoordinates($this->_propDict["geoCoordinates"]); + return $this->_propDict["geoCoordinates"]; + } + } + return null; + } + + /** + * Sets the geoCoordinates + * Specifies the place location in latitude, longitude and (optionally) altitude coordinates. + * + * @param OutlookGeoCoordinates $val The geoCoordinates + * + * @return Place + */ + public function setGeoCoordinates($val) + { + $this->_propDict["geoCoordinates"] = $val; + return $this; + } + + /** + * Gets the phone + * The phone number of the place. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The phone number of the place. + * + * @param string $val The phone + * + * @return Place + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Planner.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Planner.php new file mode 100644 index 0000000..3307da4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Planner.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["buckets"]; + } else { + return null; + } + } + + /** + * Sets the buckets + * Read-only. Nullable. Returns a collection of the specified buckets + * + * @param PlannerBucket[] $val The buckets + * + * @return Planner + */ + public function setBuckets($val) + { + $this->_propDict["buckets"] = $val; + return $this; + } + + + /** + * Gets the plans + * Read-only. Nullable. Returns a collection of the specified plans + * + * @return array|null The plans + */ + public function getPlans() + { + if (array_key_exists("plans", $this->_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Read-only. Nullable. Returns a collection of the specified plans + * + * @param PlannerPlan[] $val The plans + * + * @return Planner + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + + + /** + * Gets the rosters + * Read-only. Nullable. Returns a collection of the specified rosters + * + * @return array|null The rosters + */ + public function getRosters() + { + if (array_key_exists("rosters", $this->_propDict)) { + return $this->_propDict["rosters"]; + } else { + return null; + } + } + + /** + * Sets the rosters + * Read-only. Nullable. Returns a collection of the specified rosters + * + * @param PlannerRoster[] $val The rosters + * + * @return Planner + */ + public function setRosters($val) + { + $this->_propDict["rosters"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Read-only. Nullable. Returns a collection of the specified tasks + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Read-only. Nullable. Returns a collection of the specified tasks + * + * @param PlannerTask[] $val The tasks + * + * @return Planner + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAppliedCategories.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAppliedCategories.php new file mode 100644 index 0000000..994bebb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAppliedCategories.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["orderHintsByAssignee"], "\Beta\Microsoft\Graph\Model\PlannerOrderHintsByAssignee") || is_null($this->_propDict["orderHintsByAssignee"])) { + return $this->_propDict["orderHintsByAssignee"]; + } else { + $this->_propDict["orderHintsByAssignee"] = new PlannerOrderHintsByAssignee($this->_propDict["orderHintsByAssignee"]); + return $this->_propDict["orderHintsByAssignee"]; + } + } + return null; + } + + /** + * Sets the orderHintsByAssignee + * Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here. + * + * @param PlannerOrderHintsByAssignee $val The orderHintsByAssignee + * + * @return PlannerAssignedToTaskBoardTaskFormat + */ + public function setOrderHintsByAssignee($val) + { + $this->_propDict["orderHintsByAssignee"] = $val; + return $this; + } + + /** + * Gets the unassignedOrderHint + * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + * + * @return string|null The unassignedOrderHint + */ + public function getUnassignedOrderHint() + { + if (array_key_exists("unassignedOrderHint", $this->_propDict)) { + return $this->_propDict["unassignedOrderHint"]; + } else { + return null; + } + } + + /** + * Sets the unassignedOrderHint + * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + * + * @param string $val The unassignedOrderHint + * + * @return PlannerAssignedToTaskBoardTaskFormat + */ + public function setUnassignedOrderHint($val) + { + $this->_propDict["unassignedOrderHint"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignment.php new file mode 100644 index 0000000..a9302f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignment.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["assignedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["assignedBy"])) { + return $this->_propDict["assignedBy"]; + } else { + $this->_propDict["assignedBy"] = new IdentitySet($this->_propDict["assignedBy"]); + return $this->_propDict["assignedBy"]; + } + } + return null; + } + + /** + * Sets the assignedBy + * The identity of the user that performed the assignment of the task, i.e. the assignor. + * + * @param IdentitySet $val The value to assign to the assignedBy + * + * @return PlannerAssignment The PlannerAssignment + */ + public function setAssignedBy($val) + { + $this->_propDict["assignedBy"] = $val; + return $this; + } + + /** + * Gets the assignedDateTime + * The time at which the task was assigned. 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 assignedDateTime + */ + public function getAssignedDateTime() + { + if (array_key_exists("assignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * The time at which the task was assigned. 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 assignedDateTime + * + * @return PlannerAssignment The PlannerAssignment + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + /** + * Gets the orderHint + * Hint used to order assignees in a task. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order assignees in a task. The format is defined as outlined here. + * + * @param string $val The value of the orderHint + * + * @return PlannerAssignment + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignments.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignments.php new file mode 100644 index 0000000..92bcf72 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignments.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the bucket. + * + * @param string $val The name + * + * @return PlannerBucket + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerBucket + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + + /** + * Gets the planId + * Plan ID to which the bucket belongs. + * + * @return string|null The planId + */ + public function getPlanId() + { + if (array_key_exists("planId", $this->_propDict)) { + return $this->_propDict["planId"]; + } else { + return null; + } + } + + /** + * Sets the planId + * Plan ID to which the bucket belongs. + * + * @param string $val The planId + * + * @return PlannerBucket + */ + public function setPlanId($val) + { + $this->_propDict["planId"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Read-only. Nullable. The collection of tasks in the bucket. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Read-only. Nullable. The collection of tasks in the bucket. + * + * @param PlannerTask[] $val The tasks + * + * @return PlannerBucket + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerBucketTaskBoardTaskFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerBucketTaskBoardTaskFormat.php new file mode 100644 index 0000000..972dc7d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerBucketTaskBoardTaskFormat.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order tasks in the Bucket view of the Task Board. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerBucketTaskBoardTaskFormat + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerCategoryDescriptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerCategoryDescriptions.php new file mode 100644 index 0000000..ff249ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerCategoryDescriptions.php @@ -0,0 +1,726 @@ +_propDict)) { + return $this->_propDict["category1"]; + } else { + return null; + } + } + + /** + * Sets the category1 + * The label associated with Category 1 + * + * @param string $val The value of the category1 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory1($val) + { + $this->_propDict["category1"] = $val; + return $this; + } + /** + * Gets the category10 + * The label associated with Category 10 + * + * @return string|null The category10 + */ + public function getCategory10() + { + if (array_key_exists("category10", $this->_propDict)) { + return $this->_propDict["category10"]; + } else { + return null; + } + } + + /** + * Sets the category10 + * The label associated with Category 10 + * + * @param string $val The value of the category10 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory10($val) + { + $this->_propDict["category10"] = $val; + return $this; + } + /** + * Gets the category11 + * The label associated with Category 11 + * + * @return string|null The category11 + */ + public function getCategory11() + { + if (array_key_exists("category11", $this->_propDict)) { + return $this->_propDict["category11"]; + } else { + return null; + } + } + + /** + * Sets the category11 + * The label associated with Category 11 + * + * @param string $val The value of the category11 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory11($val) + { + $this->_propDict["category11"] = $val; + return $this; + } + /** + * Gets the category12 + * The label associated with Category 12 + * + * @return string|null The category12 + */ + public function getCategory12() + { + if (array_key_exists("category12", $this->_propDict)) { + return $this->_propDict["category12"]; + } else { + return null; + } + } + + /** + * Sets the category12 + * The label associated with Category 12 + * + * @param string $val The value of the category12 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory12($val) + { + $this->_propDict["category12"] = $val; + return $this; + } + /** + * Gets the category13 + * The label associated with Category 13 + * + * @return string|null The category13 + */ + public function getCategory13() + { + if (array_key_exists("category13", $this->_propDict)) { + return $this->_propDict["category13"]; + } else { + return null; + } + } + + /** + * Sets the category13 + * The label associated with Category 13 + * + * @param string $val The value of the category13 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory13($val) + { + $this->_propDict["category13"] = $val; + return $this; + } + /** + * Gets the category14 + * The label associated with Category 14 + * + * @return string|null The category14 + */ + public function getCategory14() + { + if (array_key_exists("category14", $this->_propDict)) { + return $this->_propDict["category14"]; + } else { + return null; + } + } + + /** + * Sets the category14 + * The label associated with Category 14 + * + * @param string $val The value of the category14 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory14($val) + { + $this->_propDict["category14"] = $val; + return $this; + } + /** + * Gets the category15 + * The label associated with Category 15 + * + * @return string|null The category15 + */ + public function getCategory15() + { + if (array_key_exists("category15", $this->_propDict)) { + return $this->_propDict["category15"]; + } else { + return null; + } + } + + /** + * Sets the category15 + * The label associated with Category 15 + * + * @param string $val The value of the category15 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory15($val) + { + $this->_propDict["category15"] = $val; + return $this; + } + /** + * Gets the category16 + * The label associated with Category 16 + * + * @return string|null The category16 + */ + public function getCategory16() + { + if (array_key_exists("category16", $this->_propDict)) { + return $this->_propDict["category16"]; + } else { + return null; + } + } + + /** + * Sets the category16 + * The label associated with Category 16 + * + * @param string $val The value of the category16 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory16($val) + { + $this->_propDict["category16"] = $val; + return $this; + } + /** + * Gets the category17 + * The label associated with Category 17 + * + * @return string|null The category17 + */ + public function getCategory17() + { + if (array_key_exists("category17", $this->_propDict)) { + return $this->_propDict["category17"]; + } else { + return null; + } + } + + /** + * Sets the category17 + * The label associated with Category 17 + * + * @param string $val The value of the category17 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory17($val) + { + $this->_propDict["category17"] = $val; + return $this; + } + /** + * Gets the category18 + * The label associated with Category 18 + * + * @return string|null The category18 + */ + public function getCategory18() + { + if (array_key_exists("category18", $this->_propDict)) { + return $this->_propDict["category18"]; + } else { + return null; + } + } + + /** + * Sets the category18 + * The label associated with Category 18 + * + * @param string $val The value of the category18 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory18($val) + { + $this->_propDict["category18"] = $val; + return $this; + } + /** + * Gets the category19 + * The label associated with Category 19 + * + * @return string|null The category19 + */ + public function getCategory19() + { + if (array_key_exists("category19", $this->_propDict)) { + return $this->_propDict["category19"]; + } else { + return null; + } + } + + /** + * Sets the category19 + * The label associated with Category 19 + * + * @param string $val The value of the category19 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory19($val) + { + $this->_propDict["category19"] = $val; + return $this; + } + /** + * Gets the category2 + * The label associated with Category 2 + * + * @return string|null The category2 + */ + public function getCategory2() + { + if (array_key_exists("category2", $this->_propDict)) { + return $this->_propDict["category2"]; + } else { + return null; + } + } + + /** + * Sets the category2 + * The label associated with Category 2 + * + * @param string $val The value of the category2 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory2($val) + { + $this->_propDict["category2"] = $val; + return $this; + } + /** + * Gets the category20 + * The label associated with Category 20 + * + * @return string|null The category20 + */ + public function getCategory20() + { + if (array_key_exists("category20", $this->_propDict)) { + return $this->_propDict["category20"]; + } else { + return null; + } + } + + /** + * Sets the category20 + * The label associated with Category 20 + * + * @param string $val The value of the category20 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory20($val) + { + $this->_propDict["category20"] = $val; + return $this; + } + /** + * Gets the category21 + * The label associated with Category 21 + * + * @return string|null The category21 + */ + public function getCategory21() + { + if (array_key_exists("category21", $this->_propDict)) { + return $this->_propDict["category21"]; + } else { + return null; + } + } + + /** + * Sets the category21 + * The label associated with Category 21 + * + * @param string $val The value of the category21 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory21($val) + { + $this->_propDict["category21"] = $val; + return $this; + } + /** + * Gets the category22 + * The label associated with Category 22 + * + * @return string|null The category22 + */ + public function getCategory22() + { + if (array_key_exists("category22", $this->_propDict)) { + return $this->_propDict["category22"]; + } else { + return null; + } + } + + /** + * Sets the category22 + * The label associated with Category 22 + * + * @param string $val The value of the category22 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory22($val) + { + $this->_propDict["category22"] = $val; + return $this; + } + /** + * Gets the category23 + * The label associated with Category 23 + * + * @return string|null The category23 + */ + public function getCategory23() + { + if (array_key_exists("category23", $this->_propDict)) { + return $this->_propDict["category23"]; + } else { + return null; + } + } + + /** + * Sets the category23 + * The label associated with Category 23 + * + * @param string $val The value of the category23 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory23($val) + { + $this->_propDict["category23"] = $val; + return $this; + } + /** + * Gets the category24 + * The label associated with Category 24 + * + * @return string|null The category24 + */ + public function getCategory24() + { + if (array_key_exists("category24", $this->_propDict)) { + return $this->_propDict["category24"]; + } else { + return null; + } + } + + /** + * Sets the category24 + * The label associated with Category 24 + * + * @param string $val The value of the category24 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory24($val) + { + $this->_propDict["category24"] = $val; + return $this; + } + /** + * Gets the category25 + * The label associated with Category 25 + * + * @return string|null The category25 + */ + public function getCategory25() + { + if (array_key_exists("category25", $this->_propDict)) { + return $this->_propDict["category25"]; + } else { + return null; + } + } + + /** + * Sets the category25 + * The label associated with Category 25 + * + * @param string $val The value of the category25 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory25($val) + { + $this->_propDict["category25"] = $val; + return $this; + } + /** + * Gets the category3 + * The label associated with Category 3 + * + * @return string|null The category3 + */ + public function getCategory3() + { + if (array_key_exists("category3", $this->_propDict)) { + return $this->_propDict["category3"]; + } else { + return null; + } + } + + /** + * Sets the category3 + * The label associated with Category 3 + * + * @param string $val The value of the category3 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory3($val) + { + $this->_propDict["category3"] = $val; + return $this; + } + /** + * Gets the category4 + * The label associated with Category 4 + * + * @return string|null The category4 + */ + public function getCategory4() + { + if (array_key_exists("category4", $this->_propDict)) { + return $this->_propDict["category4"]; + } else { + return null; + } + } + + /** + * Sets the category4 + * The label associated with Category 4 + * + * @param string $val The value of the category4 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory4($val) + { + $this->_propDict["category4"] = $val; + return $this; + } + /** + * Gets the category5 + * The label associated with Category 5 + * + * @return string|null The category5 + */ + public function getCategory5() + { + if (array_key_exists("category5", $this->_propDict)) { + return $this->_propDict["category5"]; + } else { + return null; + } + } + + /** + * Sets the category5 + * The label associated with Category 5 + * + * @param string $val The value of the category5 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory5($val) + { + $this->_propDict["category5"] = $val; + return $this; + } + /** + * Gets the category6 + * The label associated with Category 6 + * + * @return string|null The category6 + */ + public function getCategory6() + { + if (array_key_exists("category6", $this->_propDict)) { + return $this->_propDict["category6"]; + } else { + return null; + } + } + + /** + * Sets the category6 + * The label associated with Category 6 + * + * @param string $val The value of the category6 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory6($val) + { + $this->_propDict["category6"] = $val; + return $this; + } + /** + * Gets the category7 + * The label associated with Category 7 + * + * @return string|null The category7 + */ + public function getCategory7() + { + if (array_key_exists("category7", $this->_propDict)) { + return $this->_propDict["category7"]; + } else { + return null; + } + } + + /** + * Sets the category7 + * The label associated with Category 7 + * + * @param string $val The value of the category7 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory7($val) + { + $this->_propDict["category7"] = $val; + return $this; + } + /** + * Gets the category8 + * The label associated with Category 8 + * + * @return string|null The category8 + */ + public function getCategory8() + { + if (array_key_exists("category8", $this->_propDict)) { + return $this->_propDict["category8"]; + } else { + return null; + } + } + + /** + * Sets the category8 + * The label associated with Category 8 + * + * @param string $val The value of the category8 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory8($val) + { + $this->_propDict["category8"] = $val; + return $this; + } + /** + * Gets the category9 + * The label associated with Category 9 + * + * @return string|null The category9 + */ + public function getCategory9() + { + if (array_key_exists("category9", $this->_propDict)) { + return $this->_propDict["category9"]; + } else { + return null; + } + } + + /** + * Sets the category9 + * The label associated with Category 9 + * + * @param string $val The value of the category9 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory9($val) + { + $this->_propDict["category9"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItem.php new file mode 100644 index 0000000..06fc940 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItem.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["isChecked"]; + } else { + return null; + } + } + + /** + * Sets the isChecked + * Value is true if the item is checked and false otherwise. + * + * @param bool $val The value of the isChecked + * + * @return PlannerChecklistItem + */ + public function setIsChecked($val) + { + $this->_propDict["isChecked"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return PlannerChecklistItem The PlannerChecklistItem + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return PlannerChecklistItem The PlannerChecklistItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the orderHint + * Used to set the relative order of items in the checklist. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Used to set the relative order of items in the checklist. The format is defined as outlined here. + * + * @param string $val The value of the orderHint + * + * @return PlannerChecklistItem + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + /** + * Gets the title + * Title of the checklist item + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the checklist item + * + * @param string $val The value of the title + * + * @return PlannerChecklistItem + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItems.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItems.php new file mode 100644 index 0000000..ef9c006 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItems.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["alias"]; + } else { + return null; + } + } + + /** + * Sets the alias + * A name alias to describe the reference. + * + * @param string $val The value of the alias + * + * @return PlannerExternalReference + */ + public function setAlias($val) + { + $this->_propDict["alias"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return PlannerExternalReference The PlannerExternalReference + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return PlannerExternalReference The PlannerExternalReference + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the previewPriority + * Used to set the relative priority order in which the reference will be shown as a preview on the task. + * + * @return string|null The previewPriority + */ + public function getPreviewPriority() + { + if (array_key_exists("previewPriority", $this->_propDict)) { + return $this->_propDict["previewPriority"]; + } else { + return null; + } + } + + /** + * Sets the previewPriority + * Used to set the relative priority order in which the reference will be shown as a preview on the task. + * + * @param string $val The value of the previewPriority + * + * @return PlannerExternalReference + */ + public function setPreviewPriority($val) + { + $this->_propDict["previewPriority"] = $val; + return $this; + } + /** + * Gets the type + * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. + * + * @param string $val The value of the type + * + * @return PlannerExternalReference + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalReferences.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalReferences.php new file mode 100644 index 0000000..af6e72b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalReferences.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order items of this type in a list view. The format is defined in Using order hints in Planner. + * + * @param string $val The value of the orderHint + * + * @return PlannerFavoritePlanReference + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + /** + * Gets the planTitle + * Title of the plan at the time the user marked it as a favorite. + * + * @return string|null The planTitle + */ + public function getPlanTitle() + { + if (array_key_exists("planTitle", $this->_propDict)) { + return $this->_propDict["planTitle"]; + } else { + return null; + } + } + + /** + * Sets the planTitle + * Title of the plan at the time the user marked it as a favorite. + * + * @param string $val The value of the planTitle + * + * @return PlannerFavoritePlanReference + */ + public function setPlanTitle($val) + { + $this->_propDict["planTitle"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerFavoritePlanReferenceCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerFavoritePlanReferenceCollection.php new file mode 100644 index 0000000..3aa87a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerFavoritePlanReferenceCollection.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Read-only. Nullable. Returns the plannerPlans owned by the group. + * + * @param PlannerPlan[] $val The plans + * + * @return PlannerGroup + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerOrderHintsByAssignee.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerOrderHintsByAssignee.php new file mode 100644 index 0000000..bf06e56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerOrderHintsByAssignee.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["container"], "\Beta\Microsoft\Graph\Model\PlannerPlanContainer") || is_null($this->_propDict["container"])) { + return $this->_propDict["container"]; + } else { + $this->_propDict["container"] = new PlannerPlanContainer($this->_propDict["container"]); + return $this->_propDict["container"]; + } + } + return null; + } + + /** + * Sets the container + * Identifies the container of the plan. After it is set, this property can’t be updated. Required. + * + * @param PlannerPlanContainer $val The container + * + * @return PlannerPlan + */ + public function setContainer($val) + { + $this->_propDict["container"] = $val; + return $this; + } + + /** + * Gets the contexts + * Read-only. Additional user experiences in which this plan is used, represented as plannerPlanContext entries. + * + * @return PlannerPlanContextCollection|null The contexts + */ + public function getContexts() + { + if (array_key_exists("contexts", $this->_propDict)) { + if (is_a($this->_propDict["contexts"], "\Beta\Microsoft\Graph\Model\PlannerPlanContextCollection") || is_null($this->_propDict["contexts"])) { + return $this->_propDict["contexts"]; + } else { + $this->_propDict["contexts"] = new PlannerPlanContextCollection($this->_propDict["contexts"]); + return $this->_propDict["contexts"]; + } + } + return null; + } + + /** + * Sets the contexts + * Read-only. Additional user experiences in which this plan is used, represented as plannerPlanContext entries. + * + * @param PlannerPlanContextCollection $val The contexts + * + * @return PlannerPlan + */ + public function setContexts($val) + { + $this->_propDict["contexts"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Read-only. The user who created the plan. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Read-only. The user who created the plan. + * + * @param IdentitySet $val The createdBy + * + * @return PlannerPlan + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Read-only. Date and time at which the plan is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read-only. Date and time at which the plan is created. 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 createdDateTime + * + * @return PlannerPlan + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the owner + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * + * @param string $val The owner + * + * @return PlannerPlan + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the title + * Required. Title of the plan. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Required. Title of the plan. + * + * @param string $val The title + * + * @return PlannerPlan + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the buckets + * Collection of buckets in the plan. Read-only. Nullable. + * + * @return array|null The buckets + */ + public function getBuckets() + { + if (array_key_exists("buckets", $this->_propDict)) { + return $this->_propDict["buckets"]; + } else { + return null; + } + } + + /** + * Sets the buckets + * Collection of buckets in the plan. Read-only. Nullable. + * + * @param PlannerBucket[] $val The buckets + * + * @return PlannerPlan + */ + public function setBuckets($val) + { + $this->_propDict["buckets"] = $val; + return $this; + } + + /** + * Gets the details + * Additional details about the plan. Read-only. Nullable. + * + * @return PlannerPlanDetails|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PlannerPlanDetails") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PlannerPlanDetails($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Additional details about the plan. Read-only. Nullable. + * + * @param PlannerPlanDetails $val The details + * + * @return PlannerPlan + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Collection of tasks in the plan. Read-only. Nullable. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Collection of tasks in the plan. Read-only. Nullable. + * + * @param PlannerTask[] $val The tasks + * + * @return PlannerPlan + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php new file mode 100644 index 0000000..f940fca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["containerId"]; + } else { + return null; + } + } + + /** + * Sets the containerId + * The identifier of the resource that contains the plan. + * + * @param string $val The value of the containerId + * + * @return PlannerPlanContainer + */ + public function setContainerId($val) + { + $this->_propDict["containerId"] = $val; + return $this; + } + + /** + * Gets the type + * The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. + * + * @return PlannerContainerType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PlannerContainerType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PlannerContainerType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. + * + * @param PlannerContainerType $val The value to assign to the type + * + * @return PlannerPlanContainer The PlannerPlanContainer + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the url + * The full canonical URL of the container. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The full canonical URL of the container. + * + * @param string $val The value of the url + * + * @return PlannerPlanContainer + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContext.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContext.php new file mode 100644 index 0000000..b2b539b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContext.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["associationType"]; + } else { + return null; + } + } + + /** + * Sets the associationType + * Nullable. An app-defined type of association between the plannerPlan and the app. The app can use this information to track different kinds of relationships to the same plannerPlan. + * + * @param string $val The value of the associationType + * + * @return PlannerPlanContext + */ + public function setAssociationType($val) + { + $this->_propDict["associationType"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Read-only. The date and time when the plannerPlanContext was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read-only. The date and time when the plannerPlanContext was created. 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 createdDateTime + * + * @return PlannerPlanContext The PlannerPlanContext + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the displayNameSegments + * The segments of the name of the external experience. Segments represent a hierarchical structure that allows other apps to display the relationship. + * + * @return string|null The displayNameSegments + */ + public function getDisplayNameSegments() + { + if (array_key_exists("displayNameSegments", $this->_propDict)) { + return $this->_propDict["displayNameSegments"]; + } else { + return null; + } + } + + /** + * Sets the displayNameSegments + * The segments of the name of the external experience. Segments represent a hierarchical structure that allows other apps to display the relationship. + * + * @param string $val The value of the displayNameSegments + * + * @return PlannerPlanContext + */ + public function setDisplayNameSegments($val) + { + $this->_propDict["displayNameSegments"] = $val; + return $this; + } + /** + * Gets the isCreationContext + * Read-only. Indicates whether the plan is created from the specified context. Auto-generated based on whether the context is specified as part of plan creation. + * + * @return bool|null The isCreationContext + */ + public function getIsCreationContext() + { + if (array_key_exists("isCreationContext", $this->_propDict)) { + return $this->_propDict["isCreationContext"]; + } else { + return null; + } + } + + /** + * Sets the isCreationContext + * Read-only. Indicates whether the plan is created from the specified context. Auto-generated based on whether the context is specified as part of plan creation. + * + * @param bool $val The value of the isCreationContext + * + * @return PlannerPlanContext + */ + public function setIsCreationContext($val) + { + $this->_propDict["isCreationContext"] = $val; + return $this; + } + /** + * Gets the ownerAppId + * Read-only. ID of the app that created the plannerPlanContext. + * + * @return string|null The ownerAppId + */ + public function getOwnerAppId() + { + if (array_key_exists("ownerAppId", $this->_propDict)) { + return $this->_propDict["ownerAppId"]; + } else { + return null; + } + } + + /** + * Sets the ownerAppId + * Read-only. ID of the app that created the plannerPlanContext. + * + * @param string $val The value of the ownerAppId + * + * @return PlannerPlanContext + */ + public function setOwnerAppId($val) + { + $this->_propDict["ownerAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextCollection.php new file mode 100644 index 0000000..d600032 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextCollection.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["customLinkText"]; + } else { + return null; + } + } + + /** + * Sets the customLinkText + * Nullable. Specifies the text to use in a user experience to display a link the the associated plannerPlanContext. If null, applications should display the link with a custom text based on the displayLinkType property. + * + * @param string $val The value of the customLinkText + * + * @return PlannerPlanContextDetails + */ + public function setCustomLinkText($val) + { + $this->_propDict["customLinkText"] = $val; + return $this; + } + + /** + * Gets the displayLinkType + * Specifies how an application should display the link to the associated plannerPlanContext. Applications may choose to provide customized text, description, icons, or other experiences based on the type of the link. Possible values are: teamsTab, sharePointPage, meetingNotes, other, unknownFutureValue. + * + * @return PlannerPlanContextType|null The displayLinkType + */ + public function getDisplayLinkType() + { + if (array_key_exists("displayLinkType", $this->_propDict)) { + if (is_a($this->_propDict["displayLinkType"], "\Beta\Microsoft\Graph\Model\PlannerPlanContextType") || is_null($this->_propDict["displayLinkType"])) { + return $this->_propDict["displayLinkType"]; + } else { + $this->_propDict["displayLinkType"] = new PlannerPlanContextType($this->_propDict["displayLinkType"]); + return $this->_propDict["displayLinkType"]; + } + } + return null; + } + + /** + * Sets the displayLinkType + * Specifies how an application should display the link to the associated plannerPlanContext. Applications may choose to provide customized text, description, icons, or other experiences based on the type of the link. Possible values are: teamsTab, sharePointPage, meetingNotes, other, unknownFutureValue. + * + * @param PlannerPlanContextType $val The value to assign to the displayLinkType + * + * @return PlannerPlanContextDetails The PlannerPlanContextDetails + */ + public function setDisplayLinkType($val) + { + $this->_propDict["displayLinkType"] = $val; + return $this; + } + + /** + * Gets the state + * Indicates the state of the associated plannerPlanContext. + * + * @return PlannerContextState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PlannerContextState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PlannerContextState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Indicates the state of the associated plannerPlanContext. + * + * @param PlannerContextState $val The value to assign to the state + * + * @return PlannerPlanContextDetails The PlannerPlanContextDetails + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the url + * URL of the user experience represented by the associated plannerPlanContext. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * URL of the user experience represented by the associated plannerPlanContext. + * + * @param string $val The value of the url + * + * @return PlannerPlanContextDetails + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetailsCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetailsCollection.php new file mode 100644 index 0000000..4ed5463 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetailsCollection.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["categoryDescriptions"], "\Beta\Microsoft\Graph\Model\PlannerCategoryDescriptions") || is_null($this->_propDict["categoryDescriptions"])) { + return $this->_propDict["categoryDescriptions"]; + } else { + $this->_propDict["categoryDescriptions"] = new PlannerCategoryDescriptions($this->_propDict["categoryDescriptions"]); + return $this->_propDict["categoryDescriptions"]; + } + } + return null; + } + + /** + * Sets the categoryDescriptions + * An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan + * + * @param PlannerCategoryDescriptions $val The categoryDescriptions + * + * @return PlannerPlanDetails + */ + public function setCategoryDescriptions($val) + { + $this->_propDict["categoryDescriptions"] = $val; + return $this; + } + + /** + * Gets the contextDetails + * Read-only. A collection of additional information associated with plannerPlanContext entries that are defined for the plannerPlan container. + * + * @return PlannerPlanContextDetailsCollection|null The contextDetails + */ + public function getContextDetails() + { + if (array_key_exists("contextDetails", $this->_propDict)) { + if (is_a($this->_propDict["contextDetails"], "\Beta\Microsoft\Graph\Model\PlannerPlanContextDetailsCollection") || is_null($this->_propDict["contextDetails"])) { + return $this->_propDict["contextDetails"]; + } else { + $this->_propDict["contextDetails"] = new PlannerPlanContextDetailsCollection($this->_propDict["contextDetails"]); + return $this->_propDict["contextDetails"]; + } + } + return null; + } + + /** + * Sets the contextDetails + * Read-only. A collection of additional information associated with plannerPlanContext entries that are defined for the plannerPlan container. + * + * @param PlannerPlanContextDetailsCollection $val The contextDetails + * + * @return PlannerPlanDetails + */ + public function setContextDetails($val) + { + $this->_propDict["contextDetails"] = $val; + return $this; + } + + /** + * Gets the sharedWith + * The set of user IDs that this plan is shared with. If you are using Microsoft 365 groups, use the groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it is not required in order for them to access the plan owned by the group. + * + * @return PlannerUserIds|null The sharedWith + */ + public function getSharedWith() + { + if (array_key_exists("sharedWith", $this->_propDict)) { + if (is_a($this->_propDict["sharedWith"], "\Beta\Microsoft\Graph\Model\PlannerUserIds") || is_null($this->_propDict["sharedWith"])) { + return $this->_propDict["sharedWith"]; + } else { + $this->_propDict["sharedWith"] = new PlannerUserIds($this->_propDict["sharedWith"]); + return $this->_propDict["sharedWith"]; + } + } + return null; + } + + /** + * Sets the sharedWith + * The set of user IDs that this plan is shared with. If you are using Microsoft 365 groups, use the groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it is not required in order for them to access the plan owned by the group. + * + * @param PlannerUserIds $val The sharedWith + * + * @return PlannerPlanDetails + */ + public function setSharedWith($val) + { + $this->_propDict["sharedWith"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPreviewType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPreviewType.php new file mode 100644 index 0000000..6180039 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPreviewType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint value used to order the task on the Progress view of the Task Board. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerProgressTaskBoardTaskFormat + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReference.php new file mode 100644 index 0000000..9d340e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReference.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessedDateTime"])) { + return $this->_propDict["lastAccessedDateTime"]; + } else { + $this->_propDict["lastAccessedDateTime"] = new \DateTime($this->_propDict["lastAccessedDateTime"]); + return $this->_propDict["lastAccessedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedDateTime + * The date and time the plan was last viewed by the user. 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 lastAccessedDateTime + * + * @return PlannerRecentPlanReference The PlannerRecentPlanReference + */ + public function setLastAccessedDateTime($val) + { + $this->_propDict["lastAccessedDateTime"] = $val; + return $this; + } + /** + * Gets the planTitle + * The title of the plan at the time the user viewed it. + * + * @return string|null The planTitle + */ + public function getPlanTitle() + { + if (array_key_exists("planTitle", $this->_propDict)) { + return $this->_propDict["planTitle"]; + } else { + return null; + } + } + + /** + * Sets the planTitle + * The title of the plan at the time the user viewed it. + * + * @param string $val The value of the planTitle + * + * @return PlannerRecentPlanReference + */ + public function setPlanTitle($val) + { + $this->_propDict["planTitle"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReferenceCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReferenceCollection.php new file mode 100644 index 0000000..f0e8bcb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReferenceCollection.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Retrieves the members of the plannerRoster. + * + * @param PlannerRosterMember[] $val The members + * + * @return PlannerRoster + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the plans + * Retrieves the plans contained by the plannerRoster. + * + * @return array|null The plans + */ + public function getPlans() + { + if (array_key_exists("plans", $this->_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Retrieves the plans contained by the plannerRoster. + * + * @param PlannerPlan[] $val The plans + * + * @return PlannerRoster + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRosterMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRosterMember.php new file mode 100644 index 0000000..75c921a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRosterMember.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * Additional roles associated with the PlannerRosterMember, which determines permissions of the member in the plannerRoster. Currently there are no available roles to assign, and every member has full control over the contents of the plannerRoster. + * + * @param string $val The roles + * + * @return PlannerRosterMember + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + /** + * Gets the tenantId + * Identifier of the tenant the user belongs to. Currently only the users from the same tenant can be added to a plannerRoster. + * + * @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 + * Identifier of the tenant the user belongs to. Currently only the users from the same tenant can be added to a plannerRoster. + * + * @param string $val The tenantId + * + * @return PlannerRosterMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userId + * Identifier of the user. + * + * @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 + * Identifier of the user. + * + * @param string $val The userId + * + * @return PlannerRosterMember + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTask.php new file mode 100644 index 0000000..662147e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTask.php @@ -0,0 +1,837 @@ +_propDict)) { + return $this->_propDict["activeChecklistItemCount"]; + } else { + return null; + } + } + + /** + * Sets the activeChecklistItemCount + * Number of checklist items with value set to false, representing incomplete items. + * + * @param int $val The activeChecklistItemCount + * + * @return PlannerTask + */ + public function setActiveChecklistItemCount($val) + { + $this->_propDict["activeChecklistItemCount"] = intval($val); + return $this; + } + + /** + * Gets the appliedCategories + * The categories to which the task has been applied. See applied Categories for possible values. + * + * @return PlannerAppliedCategories|null The appliedCategories + */ + public function getAppliedCategories() + { + if (array_key_exists("appliedCategories", $this->_propDict)) { + if (is_a($this->_propDict["appliedCategories"], "\Beta\Microsoft\Graph\Model\PlannerAppliedCategories") || is_null($this->_propDict["appliedCategories"])) { + return $this->_propDict["appliedCategories"]; + } else { + $this->_propDict["appliedCategories"] = new PlannerAppliedCategories($this->_propDict["appliedCategories"]); + return $this->_propDict["appliedCategories"]; + } + } + return null; + } + + /** + * Sets the appliedCategories + * The categories to which the task has been applied. See applied Categories for possible values. + * + * @param PlannerAppliedCategories $val The appliedCategories + * + * @return PlannerTask + */ + public function setAppliedCategories($val) + { + $this->_propDict["appliedCategories"] = $val; + return $this; + } + + /** + * Gets the assigneePriority + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @return string|null The assigneePriority + */ + public function getAssigneePriority() + { + if (array_key_exists("assigneePriority", $this->_propDict)) { + return $this->_propDict["assigneePriority"]; + } else { + return null; + } + } + + /** + * Sets the assigneePriority + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @param string $val The assigneePriority + * + * @return PlannerTask + */ + public function setAssigneePriority($val) + { + $this->_propDict["assigneePriority"] = $val; + return $this; + } + + /** + * Gets the assignments + * The set of assignees the task is assigned to. + * + * @return PlannerAssignments|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + if (is_a($this->_propDict["assignments"], "\Beta\Microsoft\Graph\Model\PlannerAssignments") || is_null($this->_propDict["assignments"])) { + return $this->_propDict["assignments"]; + } else { + $this->_propDict["assignments"] = new PlannerAssignments($this->_propDict["assignments"]); + return $this->_propDict["assignments"]; + } + } + return null; + } + + /** + * Sets the assignments + * The set of assignees the task is assigned to. + * + * @param PlannerAssignments $val The assignments + * + * @return PlannerTask + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the bucketId + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + * + * @return string|null The bucketId + */ + public function getBucketId() + { + if (array_key_exists("bucketId", $this->_propDict)) { + return $this->_propDict["bucketId"]; + } else { + return null; + } + } + + /** + * Sets the bucketId + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + * + * @param string $val The bucketId + * + * @return PlannerTask + */ + public function setBucketId($val) + { + $this->_propDict["bucketId"] = $val; + return $this; + } + + /** + * Gets the checklistItemCount + * Number of checklist items that are present on the task. + * + * @return int|null The checklistItemCount + */ + public function getChecklistItemCount() + { + if (array_key_exists("checklistItemCount", $this->_propDict)) { + return $this->_propDict["checklistItemCount"]; + } else { + return null; + } + } + + /** + * Sets the checklistItemCount + * Number of checklist items that are present on the task. + * + * @param int $val The checklistItemCount + * + * @return PlannerTask + */ + public function setChecklistItemCount($val) + { + $this->_propDict["checklistItemCount"] = intval($val); + return $this; + } + + /** + * Gets the completedBy + * Identity of the user that completed the task. + * + * @return IdentitySet|null The completedBy + */ + public function getCompletedBy() + { + if (array_key_exists("completedBy", $this->_propDict)) { + if (is_a($this->_propDict["completedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["completedBy"])) { + return $this->_propDict["completedBy"]; + } else { + $this->_propDict["completedBy"] = new IdentitySet($this->_propDict["completedBy"]); + return $this->_propDict["completedBy"]; + } + } + return null; + } + + /** + * Sets the completedBy + * Identity of the user that completed the task. + * + * @param IdentitySet $val The completedBy + * + * @return PlannerTask + */ + public function setCompletedBy($val) + { + $this->_propDict["completedBy"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 completedDateTime + * + * @return PlannerTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the conversationThreadId + * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. + * + * @return string|null The conversationThreadId + */ + public function getConversationThreadId() + { + if (array_key_exists("conversationThreadId", $this->_propDict)) { + return $this->_propDict["conversationThreadId"]; + } else { + return null; + } + } + + /** + * Sets the conversationThreadId + * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. + * + * @param string $val The conversationThreadId + * + * @return PlannerTask + */ + public function setConversationThreadId($val) + { + $this->_propDict["conversationThreadId"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user that created the task. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user that created the task. + * + * @param IdentitySet $val The createdBy + * + * @return PlannerTask + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Read-only. Date and time at which the task is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read-only. Date and time at which the task is created. 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 createdDateTime + * + * @return PlannerTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationSource + * Contains information about the origin of the task. + * + * @return PlannerTaskCreation|null The creationSource + */ + public function getCreationSource() + { + if (array_key_exists("creationSource", $this->_propDict)) { + if (is_a($this->_propDict["creationSource"], "\Beta\Microsoft\Graph\Model\PlannerTaskCreation") || is_null($this->_propDict["creationSource"])) { + return $this->_propDict["creationSource"]; + } else { + $this->_propDict["creationSource"] = new PlannerTaskCreation($this->_propDict["creationSource"]); + return $this->_propDict["creationSource"]; + } + } + return null; + } + + /** + * Sets the creationSource + * Contains information about the origin of the task. + * + * @param PlannerTaskCreation $val The creationSource + * + * @return PlannerTask + */ + public function setCreationSource($val) + { + $this->_propDict["creationSource"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * Date and time at which the task is due. 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 dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * Date and time at which the task is due. 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 dueDateTime + * + * @return PlannerTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the hasDescription + * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. + * + * @return bool|null The hasDescription + */ + public function getHasDescription() + { + if (array_key_exists("hasDescription", $this->_propDict)) { + return $this->_propDict["hasDescription"]; + } else { + return null; + } + } + + /** + * Sets the hasDescription + * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. + * + * @param bool $val The hasDescription + * + * @return PlannerTask + */ + public function setHasDescription($val) + { + $this->_propDict["hasDescription"] = boolval($val); + return $this; + } + + /** + * Gets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerTask + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * Percentage of task completion. When set to 100, the task is considered completed. + * + * @return int|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * Percentage of task completion. When set to 100, the task is considered completed. + * + * @param int $val The percentComplete + * + * @return PlannerTask + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = intval($val); + return $this; + } + + /** + * Gets the planId + * Plan ID to which the task belongs. + * + * @return string|null The planId + */ + public function getPlanId() + { + if (array_key_exists("planId", $this->_propDict)) { + return $this->_propDict["planId"]; + } else { + return null; + } + } + + /** + * Sets the planId + * Plan ID to which the task belongs. + * + * @param string $val The planId + * + * @return PlannerTask + */ + public function setPlanId($val) + { + $this->_propDict["planId"] = $val; + return $this; + } + + /** + * Gets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. + * + * @return PlannerPreviewType|null The previewType + */ + public function getPreviewType() + { + if (array_key_exists("previewType", $this->_propDict)) { + if (is_a($this->_propDict["previewType"], "\Beta\Microsoft\Graph\Model\PlannerPreviewType") || is_null($this->_propDict["previewType"])) { + return $this->_propDict["previewType"]; + } else { + $this->_propDict["previewType"] = new PlannerPreviewType($this->_propDict["previewType"]); + return $this->_propDict["previewType"]; + } + } + return null; + } + + /** + * Sets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. + * + * @param PlannerPreviewType $val The previewType + * + * @return PlannerTask + */ + public function setPreviewType($val) + { + $this->_propDict["previewType"] = $val; + return $this; + } + + /** + * Gets the priority + * Priority of the task. Valid range of values is between 0 and 10 (inclusive), with increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2 and 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Currently, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority of the task. Valid range of values is between 0 and 10 (inclusive), with increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2 and 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Currently, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'. + * + * @param int $val The priority + * + * @return PlannerTask + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the referenceCount + * Number of external references that exist on the task. + * + * @return int|null The referenceCount + */ + public function getReferenceCount() + { + if (array_key_exists("referenceCount", $this->_propDict)) { + return $this->_propDict["referenceCount"]; + } else { + return null; + } + } + + /** + * Sets the referenceCount + * Number of external references that exist on the task. + * + * @param int $val The referenceCount + * + * @return PlannerTask + */ + public function setReferenceCount($val) + { + $this->_propDict["referenceCount"] = intval($val); + return $this; + } + + /** + * Gets the startDateTime + * Date and time at which the task starts. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Date and time at which the task starts. 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 startDateTime + * + * @return PlannerTask + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * Title of the task. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the task. + * + * @param string $val The title + * + * @return PlannerTask + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the assignedToTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. + * + * @return PlannerAssignedToTaskBoardTaskFormat|null The assignedToTaskBoardFormat + */ + public function getAssignedToTaskBoardFormat() + { + if (array_key_exists("assignedToTaskBoardFormat", $this->_propDict)) { + if (is_a($this->_propDict["assignedToTaskBoardFormat"], "\Beta\Microsoft\Graph\Model\PlannerAssignedToTaskBoardTaskFormat") || is_null($this->_propDict["assignedToTaskBoardFormat"])) { + return $this->_propDict["assignedToTaskBoardFormat"]; + } else { + $this->_propDict["assignedToTaskBoardFormat"] = new PlannerAssignedToTaskBoardTaskFormat($this->_propDict["assignedToTaskBoardFormat"]); + return $this->_propDict["assignedToTaskBoardFormat"]; + } + } + return null; + } + + /** + * Sets the assignedToTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. + * + * @param PlannerAssignedToTaskBoardTaskFormat $val The assignedToTaskBoardFormat + * + * @return PlannerTask + */ + public function setAssignedToTaskBoardFormat($val) + { + $this->_propDict["assignedToTaskBoardFormat"] = $val; + return $this; + } + + /** + * Gets the bucketTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. + * + * @return PlannerBucketTaskBoardTaskFormat|null The bucketTaskBoardFormat + */ + public function getBucketTaskBoardFormat() + { + if (array_key_exists("bucketTaskBoardFormat", $this->_propDict)) { + if (is_a($this->_propDict["bucketTaskBoardFormat"], "\Beta\Microsoft\Graph\Model\PlannerBucketTaskBoardTaskFormat") || is_null($this->_propDict["bucketTaskBoardFormat"])) { + return $this->_propDict["bucketTaskBoardFormat"]; + } else { + $this->_propDict["bucketTaskBoardFormat"] = new PlannerBucketTaskBoardTaskFormat($this->_propDict["bucketTaskBoardFormat"]); + return $this->_propDict["bucketTaskBoardFormat"]; + } + } + return null; + } + + /** + * Sets the bucketTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. + * + * @param PlannerBucketTaskBoardTaskFormat $val The bucketTaskBoardFormat + * + * @return PlannerTask + */ + public function setBucketTaskBoardFormat($val) + { + $this->_propDict["bucketTaskBoardFormat"] = $val; + return $this; + } + + /** + * Gets the details + * Read-only. Nullable. Additional details about the task. + * + * @return PlannerTaskDetails|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PlannerTaskDetails") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PlannerTaskDetails($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Read-only. Nullable. Additional details about the task. + * + * @param PlannerTaskDetails $val The details + * + * @return PlannerTask + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the progressTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. + * + * @return PlannerProgressTaskBoardTaskFormat|null The progressTaskBoardFormat + */ + public function getProgressTaskBoardFormat() + { + if (array_key_exists("progressTaskBoardFormat", $this->_propDict)) { + if (is_a($this->_propDict["progressTaskBoardFormat"], "\Beta\Microsoft\Graph\Model\PlannerProgressTaskBoardTaskFormat") || is_null($this->_propDict["progressTaskBoardFormat"])) { + return $this->_propDict["progressTaskBoardFormat"]; + } else { + $this->_propDict["progressTaskBoardFormat"] = new PlannerProgressTaskBoardTaskFormat($this->_propDict["progressTaskBoardFormat"]); + return $this->_propDict["progressTaskBoardFormat"]; + } + } + return null; + } + + /** + * Sets the progressTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. + * + * @param PlannerProgressTaskBoardTaskFormat $val The progressTaskBoardFormat + * + * @return PlannerTask + */ + public function setProgressTaskBoardFormat($val) + { + $this->_propDict["progressTaskBoardFormat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskCreation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskCreation.php new file mode 100644 index 0000000..6e4f9c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskCreation.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["teamsPublicationInfo"], "\Beta\Microsoft\Graph\Model\PlannerTeamsPublicationInfo") || is_null($this->_propDict["teamsPublicationInfo"])) { + return $this->_propDict["teamsPublicationInfo"]; + } else { + $this->_propDict["teamsPublicationInfo"] = new PlannerTeamsPublicationInfo($this->_propDict["teamsPublicationInfo"]); + return $this->_propDict["teamsPublicationInfo"]; + } + } + return null; + } + + /** + * Sets the teamsPublicationInfo + * Information about the publication process that created this task. null value indicates that the task was not created by a publication process. + * + * @param PlannerTeamsPublicationInfo $val The value to assign to the teamsPublicationInfo + * + * @return PlannerTaskCreation The PlannerTaskCreation + */ + public function setTeamsPublicationInfo($val) + { + $this->_propDict["teamsPublicationInfo"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php new file mode 100644 index 0000000..916caa8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["checklist"], "\Beta\Microsoft\Graph\Model\PlannerChecklistItems") || is_null($this->_propDict["checklist"])) { + return $this->_propDict["checklist"]; + } else { + $this->_propDict["checklist"] = new PlannerChecklistItems($this->_propDict["checklist"]); + return $this->_propDict["checklist"]; + } + } + return null; + } + + /** + * Sets the checklist + * The collection of checklist items on the task. + * + * @param PlannerChecklistItems $val The checklist + * + * @return PlannerTaskDetails + */ + public function setChecklist($val) + { + $this->_propDict["checklist"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the task. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the task. + * + * @param string $val The description + * + * @return PlannerTaskDetails + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task. + * + * @return PlannerPreviewType|null The previewType + */ + public function getPreviewType() + { + if (array_key_exists("previewType", $this->_propDict)) { + if (is_a($this->_propDict["previewType"], "\Beta\Microsoft\Graph\Model\PlannerPreviewType") || is_null($this->_propDict["previewType"])) { + return $this->_propDict["previewType"]; + } else { + $this->_propDict["previewType"] = new PlannerPreviewType($this->_propDict["previewType"]); + return $this->_propDict["previewType"]; + } + } + return null; + } + + /** + * Sets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task. + * + * @param PlannerPreviewType $val The previewType + * + * @return PlannerTaskDetails + */ + public function setPreviewType($val) + { + $this->_propDict["previewType"] = $val; + return $this; + } + + /** + * Gets the references + * The collection of references on the task. + * + * @return PlannerExternalReferences|null The references + */ + public function getReferences() + { + if (array_key_exists("references", $this->_propDict)) { + if (is_a($this->_propDict["references"], "\Beta\Microsoft\Graph\Model\PlannerExternalReferences") || is_null($this->_propDict["references"])) { + return $this->_propDict["references"]; + } else { + $this->_propDict["references"] = new PlannerExternalReferences($this->_propDict["references"]); + return $this->_propDict["references"]; + } + } + return null; + } + + /** + * Sets the references + * The collection of references on the task. + * + * @param PlannerExternalReferences $val The references + * + * @return PlannerTaskDetails + */ + public function setReferences($val) + { + $this->_propDict["references"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTeamsPublicationInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTeamsPublicationInfo.php new file mode 100644 index 0000000..87f099f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTeamsPublicationInfo.php @@ -0,0 +1,171 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when this task was last modified by the publication process. Read-only. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return PlannerTeamsPublicationInfo The PlannerTeamsPublicationInfo + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the publicationId + * The identifier of the publication. Read-only. + * + * @return string|null The publicationId + */ + public function getPublicationId() + { + if (array_key_exists("publicationId", $this->_propDict)) { + return $this->_propDict["publicationId"]; + } else { + return null; + } + } + + /** + * Sets the publicationId + * The identifier of the publication. Read-only. + * + * @param string $val The value of the publicationId + * + * @return PlannerTeamsPublicationInfo + */ + public function setPublicationId($val) + { + $this->_propDict["publicationId"] = $val; + return $this; + } + /** + * Gets the publishedToPlanId + * The identifier of the plannerPlan this task was originally placed in. Read-only. + * + * @return string|null The publishedToPlanId + */ + public function getPublishedToPlanId() + { + if (array_key_exists("publishedToPlanId", $this->_propDict)) { + return $this->_propDict["publishedToPlanId"]; + } else { + return null; + } + } + + /** + * Sets the publishedToPlanId + * The identifier of the plannerPlan this task was originally placed in. Read-only. + * + * @param string $val The value of the publishedToPlanId + * + * @return PlannerTeamsPublicationInfo + */ + public function setPublishedToPlanId($val) + { + $this->_propDict["publishedToPlanId"] = $val; + return $this; + } + /** + * Gets the publishingTeamId + * The identifier of the team that initiated the publication process. Read-only. + * + * @return string|null The publishingTeamId + */ + public function getPublishingTeamId() + { + if (array_key_exists("publishingTeamId", $this->_propDict)) { + return $this->_propDict["publishingTeamId"]; + } else { + return null; + } + } + + /** + * Sets the publishingTeamId + * The identifier of the team that initiated the publication process. Read-only. + * + * @param string $val The value of the publishingTeamId + * + * @return PlannerTeamsPublicationInfo + */ + public function setPublishingTeamId($val) + { + $this->_propDict["publishingTeamId"] = $val; + return $this; + } + /** + * Gets the publishingTeamName + * The display name of the team that initiated the publication process. This display name is for reference only, and might not represent the most up-to-date name of the team. Read-only. + * + * @return string|null The publishingTeamName + */ + public function getPublishingTeamName() + { + if (array_key_exists("publishingTeamName", $this->_propDict)) { + return $this->_propDict["publishingTeamName"]; + } else { + return null; + } + } + + /** + * Sets the publishingTeamName + * The display name of the team that initiated the publication process. This display name is for reference only, and might not represent the most up-to-date name of the team. Read-only. + * + * @param string $val The value of the publishingTeamName + * + * @return PlannerTeamsPublicationInfo + */ + public function setPublishingTeamName($val) + { + $this->_propDict["publishingTeamName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUser.php new file mode 100644 index 0000000..8be6844 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUser.php @@ -0,0 +1,271 @@ +_propDict)) { + if (is_a($this->_propDict["favoritePlanReferences"], "\Beta\Microsoft\Graph\Model\PlannerFavoritePlanReferenceCollection") || is_null($this->_propDict["favoritePlanReferences"])) { + return $this->_propDict["favoritePlanReferences"]; + } else { + $this->_propDict["favoritePlanReferences"] = new PlannerFavoritePlanReferenceCollection($this->_propDict["favoritePlanReferences"]); + return $this->_propDict["favoritePlanReferences"]; + } + } + return null; + } + + /** + * Sets the favoritePlanReferences + * A collection containing the references to the plans that the user has marked as favorites. + * + * @param PlannerFavoritePlanReferenceCollection $val The favoritePlanReferences + * + * @return PlannerUser + */ + public function setFavoritePlanReferences($val) + { + $this->_propDict["favoritePlanReferences"] = $val; + return $this; + } + + /** + * Gets the recentPlanReferences + * A collection containing references to the plans that were viewed recently by the user in apps that support recent plans. + * + * @return PlannerRecentPlanReferenceCollection|null The recentPlanReferences + */ + public function getRecentPlanReferences() + { + if (array_key_exists("recentPlanReferences", $this->_propDict)) { + if (is_a($this->_propDict["recentPlanReferences"], "\Beta\Microsoft\Graph\Model\PlannerRecentPlanReferenceCollection") || is_null($this->_propDict["recentPlanReferences"])) { + return $this->_propDict["recentPlanReferences"]; + } else { + $this->_propDict["recentPlanReferences"] = new PlannerRecentPlanReferenceCollection($this->_propDict["recentPlanReferences"]); + return $this->_propDict["recentPlanReferences"]; + } + } + return null; + } + + /** + * Sets the recentPlanReferences + * A collection containing references to the plans that were viewed recently by the user in apps that support recent plans. + * + * @param PlannerRecentPlanReferenceCollection $val The recentPlanReferences + * + * @return PlannerUser + */ + public function setRecentPlanReferences($val) + { + $this->_propDict["recentPlanReferences"] = $val; + return $this; + } + + + /** + * Gets the all + * + * @return array|null The all + */ + public function getAll() + { + if (array_key_exists("all", $this->_propDict)) { + return $this->_propDict["all"]; + } else { + return null; + } + } + + /** + * Sets the all + * + * @param PlannerDelta[] $val The all + * + * @return PlannerUser + */ + public function setAll($val) + { + $this->_propDict["all"] = $val; + return $this; + } + + + /** + * Gets the favoritePlans + * Read-only. Nullable. Returns the plannerPlans that the user marked as favorites. + * + * @return array|null The favoritePlans + */ + public function getFavoritePlans() + { + if (array_key_exists("favoritePlans", $this->_propDict)) { + return $this->_propDict["favoritePlans"]; + } else { + return null; + } + } + + /** + * Sets the favoritePlans + * Read-only. Nullable. Returns the plannerPlans that the user marked as favorites. + * + * @param PlannerPlan[] $val The favoritePlans + * + * @return PlannerUser + */ + public function setFavoritePlans($val) + { + $this->_propDict["favoritePlans"] = $val; + return $this; + } + + + /** + * Gets the plans + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @return array|null The plans + */ + public function getPlans() + { + if (array_key_exists("plans", $this->_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @param PlannerPlan[] $val The plans + * + * @return PlannerUser + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + + + /** + * Gets the recentPlans + * Read-only. Nullable. Returns the plannerPlans that have been recently viewed by the user in apps that support recent plans. + * + * @return array|null The recentPlans + */ + public function getRecentPlans() + { + if (array_key_exists("recentPlans", $this->_propDict)) { + return $this->_propDict["recentPlans"]; + } else { + return null; + } + } + + /** + * Sets the recentPlans + * Read-only. Nullable. Returns the plannerPlans that have been recently viewed by the user in apps that support recent plans. + * + * @param PlannerPlan[] $val The recentPlans + * + * @return PlannerUser + */ + public function setRecentPlans($val) + { + $this->_propDict["recentPlans"] = $val; + return $this; + } + + + /** + * Gets the rosterPlans + * Read-only. Nullable. Returns the plannerPlans contained by the plannerRosters the user is a member. + * + * @return array|null The rosterPlans + */ + public function getRosterPlans() + { + if (array_key_exists("rosterPlans", $this->_propDict)) { + return $this->_propDict["rosterPlans"]; + } else { + return null; + } + } + + /** + * Sets the rosterPlans + * Read-only. Nullable. Returns the plannerPlans contained by the plannerRosters the user is a member. + * + * @param PlannerPlan[] $val The rosterPlans + * + * @return PlannerUser + */ + public function setRosterPlans($val) + { + $this->_propDict["rosterPlans"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @param PlannerTask[] $val The tasks + * + * @return PlannerUser + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUserIds.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUserIds.php new file mode 100644 index 0000000..c36d5fe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUserIds.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["completionReason"], "\Beta\Microsoft\Graph\Model\PlayPromptCompletionReason") || is_null($this->_propDict["completionReason"])) { + return $this->_propDict["completionReason"]; + } else { + $this->_propDict["completionReason"] = new PlayPromptCompletionReason($this->_propDict["completionReason"]); + return $this->_propDict["completionReason"]; + } + } + return null; + } + + /** + * Sets the completionReason + * Possible values are: unknown, completedSuccessfully, mediaOperationCanceled. + * + * @param PlayPromptCompletionReason $val The completionReason + * + * @return PlayPromptOperation + */ + public function setCompletionReason($val) + { + $this->_propDict["completionReason"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyBase.php new file mode 100644 index 0000000..8aaa894 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyBase.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for this policy. Required. + * + * @param string $val The description + * + * @return PolicyBase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for this policy. Required. + * + * @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 + * Display name for this policy. Required. + * + * @param string $val The displayName + * + * @return PolicyBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyPlatformType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyPlatformType.php new file mode 100644 index 0000000..fd2f249 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyPlatformType.php @@ -0,0 +1,43 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the PolicyRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the authenticationMethodsPolicy + * The authentication methods and the users that are allowed to use them to sign in and perform multi-factor authentication (MFA) in Azure Active Directory (Azure AD). + * + * @return AuthenticationMethodsPolicy|null The authenticationMethodsPolicy + */ + public function getAuthenticationMethodsPolicy() + { + if (array_key_exists("authenticationMethodsPolicy", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethodsPolicy"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodsPolicy") || is_null($this->_propDict["authenticationMethodsPolicy"])) { + return $this->_propDict["authenticationMethodsPolicy"]; + } else { + $this->_propDict["authenticationMethodsPolicy"] = new AuthenticationMethodsPolicy($this->_propDict["authenticationMethodsPolicy"]); + return $this->_propDict["authenticationMethodsPolicy"]; + } + } + return null; + } + + /** + * Sets the authenticationMethodsPolicy + * The authentication methods and the users that are allowed to use them to sign in and perform multi-factor authentication (MFA) in Azure Active Directory (Azure AD). + * + * @param AuthenticationMethodsPolicy $val The authenticationMethodsPolicy + * + * @return PolicyRoot + */ + public function setAuthenticationMethodsPolicy($val) + { + $this->_propDict["authenticationMethodsPolicy"] = $val; + return $this; + } + + /** + * Gets the authenticationFlowsPolicy + * The policy configuration of the self-service sign-up experience of external users. + * + * @return AuthenticationFlowsPolicy|null The authenticationFlowsPolicy + */ + public function getAuthenticationFlowsPolicy() + { + if (array_key_exists("authenticationFlowsPolicy", $this->_propDict)) { + if (is_a($this->_propDict["authenticationFlowsPolicy"], "\Beta\Microsoft\Graph\Model\AuthenticationFlowsPolicy") || is_null($this->_propDict["authenticationFlowsPolicy"])) { + return $this->_propDict["authenticationFlowsPolicy"]; + } else { + $this->_propDict["authenticationFlowsPolicy"] = new AuthenticationFlowsPolicy($this->_propDict["authenticationFlowsPolicy"]); + return $this->_propDict["authenticationFlowsPolicy"]; + } + } + return null; + } + + /** + * Sets the authenticationFlowsPolicy + * The policy configuration of the self-service sign-up experience of external users. + * + * @param AuthenticationFlowsPolicy $val The authenticationFlowsPolicy + * + * @return PolicyRoot + */ + public function setAuthenticationFlowsPolicy($val) + { + $this->_propDict["authenticationFlowsPolicy"] = $val; + return $this; + } + + /** + * Gets the b2cAuthenticationMethodsPolicy + * The Azure AD B2C policies that define how end users register via local accounts. + * + * @return B2cAuthenticationMethodsPolicy|null The b2cAuthenticationMethodsPolicy + */ + public function getB2cAuthenticationMethodsPolicy() + { + if (array_key_exists("b2cAuthenticationMethodsPolicy", $this->_propDict)) { + if (is_a($this->_propDict["b2cAuthenticationMethodsPolicy"], "\Beta\Microsoft\Graph\Model\B2cAuthenticationMethodsPolicy") || is_null($this->_propDict["b2cAuthenticationMethodsPolicy"])) { + return $this->_propDict["b2cAuthenticationMethodsPolicy"]; + } else { + $this->_propDict["b2cAuthenticationMethodsPolicy"] = new B2cAuthenticationMethodsPolicy($this->_propDict["b2cAuthenticationMethodsPolicy"]); + return $this->_propDict["b2cAuthenticationMethodsPolicy"]; + } + } + return null; + } + + /** + * Sets the b2cAuthenticationMethodsPolicy + * The Azure AD B2C policies that define how end users register via local accounts. + * + * @param B2cAuthenticationMethodsPolicy $val The b2cAuthenticationMethodsPolicy + * + * @return PolicyRoot + */ + public function setB2cAuthenticationMethodsPolicy($val) + { + $this->_propDict["b2cAuthenticationMethodsPolicy"] = $val; + return $this; + } + + /** + * Gets the deviceRegistrationPolicy + * + * @return DeviceRegistrationPolicy|null The deviceRegistrationPolicy + */ + public function getDeviceRegistrationPolicy() + { + if (array_key_exists("deviceRegistrationPolicy", $this->_propDict)) { + if (is_a($this->_propDict["deviceRegistrationPolicy"], "\Beta\Microsoft\Graph\Model\DeviceRegistrationPolicy") || is_null($this->_propDict["deviceRegistrationPolicy"])) { + return $this->_propDict["deviceRegistrationPolicy"]; + } else { + $this->_propDict["deviceRegistrationPolicy"] = new DeviceRegistrationPolicy($this->_propDict["deviceRegistrationPolicy"]); + return $this->_propDict["deviceRegistrationPolicy"]; + } + } + return null; + } + + /** + * Sets the deviceRegistrationPolicy + * + * @param DeviceRegistrationPolicy $val The deviceRegistrationPolicy + * + * @return PolicyRoot + */ + public function setDeviceRegistrationPolicy($val) + { + $this->_propDict["deviceRegistrationPolicy"] = $val; + return $this; + } + + + /** + * Gets the activityBasedTimeoutPolicies + * The policy that controls the idle time out for web sessions for applications. + * + * @return array|null The activityBasedTimeoutPolicies + */ + public function getActivityBasedTimeoutPolicies() + { + if (array_key_exists("activityBasedTimeoutPolicies", $this->_propDict)) { + return $this->_propDict["activityBasedTimeoutPolicies"]; + } else { + return null; + } + } + + /** + * Sets the activityBasedTimeoutPolicies + * The policy that controls the idle time out for web sessions for applications. + * + * @param ActivityBasedTimeoutPolicy[] $val The activityBasedTimeoutPolicies + * + * @return PolicyRoot + */ + public function setActivityBasedTimeoutPolicies($val) + { + $this->_propDict["activityBasedTimeoutPolicies"] = $val; + return $this; + } + + + /** + * Gets the appManagementPolicies + * The policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. + * + * @return array|null The appManagementPolicies + */ + public function getAppManagementPolicies() + { + if (array_key_exists("appManagementPolicies", $this->_propDict)) { + return $this->_propDict["appManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appManagementPolicies + * The policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. + * + * @param AppManagementPolicy[] $val The appManagementPolicies + * + * @return PolicyRoot + */ + public function setAppManagementPolicies($val) + { + $this->_propDict["appManagementPolicies"] = $val; + return $this; + } + + + /** + * Gets the authorizationPolicy + * The policy that controls Azure AD authorization settings. + * + * @return array|null The authorizationPolicy + */ + public function getAuthorizationPolicy() + { + if (array_key_exists("authorizationPolicy", $this->_propDict)) { + return $this->_propDict["authorizationPolicy"]; + } else { + return null; + } + } + + /** + * Sets the authorizationPolicy + * The policy that controls Azure AD authorization settings. + * + * @param AuthorizationPolicy[] $val The authorizationPolicy + * + * @return PolicyRoot + */ + public function setAuthorizationPolicy($val) + { + $this->_propDict["authorizationPolicy"] = $val; + return $this; + } + + + /** + * Gets the claimsMappingPolicies + * The claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. + * + * @return array|null The claimsMappingPolicies + */ + public function getClaimsMappingPolicies() + { + if (array_key_exists("claimsMappingPolicies", $this->_propDict)) { + return $this->_propDict["claimsMappingPolicies"]; + } else { + return null; + } + } + + /** + * Sets the claimsMappingPolicies + * The claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. + * + * @param ClaimsMappingPolicy[] $val The claimsMappingPolicies + * + * @return PolicyRoot + */ + public function setClaimsMappingPolicies($val) + { + $this->_propDict["claimsMappingPolicies"] = $val; + return $this; + } + + /** + * Gets the crossTenantAccessPolicy + * The custom rules that define an access scenario when interacting with external Azure AD tenants. + * + * @return CrossTenantAccessPolicy|null The crossTenantAccessPolicy + */ + public function getCrossTenantAccessPolicy() + { + if (array_key_exists("crossTenantAccessPolicy", $this->_propDict)) { + if (is_a($this->_propDict["crossTenantAccessPolicy"], "\Beta\Microsoft\Graph\Model\CrossTenantAccessPolicy") || is_null($this->_propDict["crossTenantAccessPolicy"])) { + return $this->_propDict["crossTenantAccessPolicy"]; + } else { + $this->_propDict["crossTenantAccessPolicy"] = new CrossTenantAccessPolicy($this->_propDict["crossTenantAccessPolicy"]); + return $this->_propDict["crossTenantAccessPolicy"]; + } + } + return null; + } + + /** + * Sets the crossTenantAccessPolicy + * The custom rules that define an access scenario when interacting with external Azure AD tenants. + * + * @param CrossTenantAccessPolicy $val The crossTenantAccessPolicy + * + * @return PolicyRoot + */ + public function setCrossTenantAccessPolicy($val) + { + $this->_propDict["crossTenantAccessPolicy"] = $val; + return $this; + } + + /** + * Gets the defaultAppManagementPolicy + * The tenant-wide policy that enforces app management restrictions for all applications and service principals. + * + * @return TenantAppManagementPolicy|null The defaultAppManagementPolicy + */ + public function getDefaultAppManagementPolicy() + { + if (array_key_exists("defaultAppManagementPolicy", $this->_propDict)) { + if (is_a($this->_propDict["defaultAppManagementPolicy"], "\Beta\Microsoft\Graph\Model\TenantAppManagementPolicy") || is_null($this->_propDict["defaultAppManagementPolicy"])) { + return $this->_propDict["defaultAppManagementPolicy"]; + } else { + $this->_propDict["defaultAppManagementPolicy"] = new TenantAppManagementPolicy($this->_propDict["defaultAppManagementPolicy"]); + return $this->_propDict["defaultAppManagementPolicy"]; + } + } + return null; + } + + /** + * Sets the defaultAppManagementPolicy + * The tenant-wide policy that enforces app management restrictions for all applications and service principals. + * + * @param TenantAppManagementPolicy $val The defaultAppManagementPolicy + * + * @return PolicyRoot + */ + public function setDefaultAppManagementPolicy($val) + { + $this->_propDict["defaultAppManagementPolicy"] = $val; + return $this; + } + + /** + * Gets the externalIdentitiesPolicy + * + * @return ExternalIdentitiesPolicy|null The externalIdentitiesPolicy + */ + public function getExternalIdentitiesPolicy() + { + if (array_key_exists("externalIdentitiesPolicy", $this->_propDict)) { + if (is_a($this->_propDict["externalIdentitiesPolicy"], "\Beta\Microsoft\Graph\Model\ExternalIdentitiesPolicy") || is_null($this->_propDict["externalIdentitiesPolicy"])) { + return $this->_propDict["externalIdentitiesPolicy"]; + } else { + $this->_propDict["externalIdentitiesPolicy"] = new ExternalIdentitiesPolicy($this->_propDict["externalIdentitiesPolicy"]); + return $this->_propDict["externalIdentitiesPolicy"]; + } + } + return null; + } + + /** + * Sets the externalIdentitiesPolicy + * + * @param ExternalIdentitiesPolicy $val The externalIdentitiesPolicy + * + * @return PolicyRoot + */ + public function setExternalIdentitiesPolicy($val) + { + $this->_propDict["externalIdentitiesPolicy"] = $val; + return $this; + } + + + /** + * Gets the homeRealmDiscoveryPolicies + * The policy to control Azure AD authentication behavior for federated users. + * + * @return array|null The homeRealmDiscoveryPolicies + */ + public function getHomeRealmDiscoveryPolicies() + { + if (array_key_exists("homeRealmDiscoveryPolicies", $this->_propDict)) { + return $this->_propDict["homeRealmDiscoveryPolicies"]; + } else { + return null; + } + } + + /** + * Sets the homeRealmDiscoveryPolicies + * The policy to control Azure AD authentication behavior for federated users. + * + * @param HomeRealmDiscoveryPolicy[] $val The homeRealmDiscoveryPolicies + * + * @return PolicyRoot + */ + public function setHomeRealmDiscoveryPolicies($val) + { + $this->_propDict["homeRealmDiscoveryPolicies"] = $val; + return $this; + } + + + /** + * Gets the permissionGrantPolicies + * The policy that specifies the conditions under which consent can be granted. + * + * @return array|null The permissionGrantPolicies + */ + public function getPermissionGrantPolicies() + { + if (array_key_exists("permissionGrantPolicies", $this->_propDict)) { + return $this->_propDict["permissionGrantPolicies"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrantPolicies + * The policy that specifies the conditions under which consent can be granted. + * + * @param PermissionGrantPolicy[] $val The permissionGrantPolicies + * + * @return PolicyRoot + */ + public function setPermissionGrantPolicies($val) + { + $this->_propDict["permissionGrantPolicies"] = $val; + return $this; + } + + + /** + * Gets the servicePrincipalCreationPolicies + * + * @return array|null The servicePrincipalCreationPolicies + */ + public function getServicePrincipalCreationPolicies() + { + if (array_key_exists("servicePrincipalCreationPolicies", $this->_propDict)) { + return $this->_propDict["servicePrincipalCreationPolicies"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalCreationPolicies + * + * @param ServicePrincipalCreationPolicy[] $val The servicePrincipalCreationPolicies + * + * @return PolicyRoot + */ + public function setServicePrincipalCreationPolicies($val) + { + $this->_propDict["servicePrincipalCreationPolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenIssuancePolicies + * The policy that specifies the characteristics of SAML tokens issued by Azure AD. + * + * @return array|null The tokenIssuancePolicies + */ + public function getTokenIssuancePolicies() + { + if (array_key_exists("tokenIssuancePolicies", $this->_propDict)) { + return $this->_propDict["tokenIssuancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuancePolicies + * The policy that specifies the characteristics of SAML tokens issued by Azure AD. + * + * @param TokenIssuancePolicy[] $val The tokenIssuancePolicies + * + * @return PolicyRoot + */ + public function setTokenIssuancePolicies($val) + { + $this->_propDict["tokenIssuancePolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenLifetimePolicies + * The policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Azure AD. + * + * @return array|null The tokenLifetimePolicies + */ + public function getTokenLifetimePolicies() + { + if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { + return $this->_propDict["tokenLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenLifetimePolicies + * The policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Azure AD. + * + * @param TokenLifetimePolicy[] $val The tokenLifetimePolicies + * + * @return PolicyRoot + */ + public function setTokenLifetimePolicies($val) + { + $this->_propDict["tokenLifetimePolicies"] = $val; + return $this; + } + + + /** + * Gets the featureRolloutPolicies + * The feature rollout policy associated with a directory object. + * + * @return array|null The featureRolloutPolicies + */ + public function getFeatureRolloutPolicies() + { + if (array_key_exists("featureRolloutPolicies", $this->_propDict)) { + return $this->_propDict["featureRolloutPolicies"]; + } else { + return null; + } + } + + /** + * Sets the featureRolloutPolicies + * The feature rollout policy associated with a directory object. + * + * @param FeatureRolloutPolicy[] $val The featureRolloutPolicies + * + * @return PolicyRoot + */ + public function setFeatureRolloutPolicies($val) + { + $this->_propDict["featureRolloutPolicies"] = $val; + return $this; + } + + /** + * Gets the accessReviewPolicy + * The policy that contains directory-level access review settings. + * + * @return AccessReviewPolicy|null The accessReviewPolicy + */ + public function getAccessReviewPolicy() + { + if (array_key_exists("accessReviewPolicy", $this->_propDict)) { + if (is_a($this->_propDict["accessReviewPolicy"], "\Beta\Microsoft\Graph\Model\AccessReviewPolicy") || is_null($this->_propDict["accessReviewPolicy"])) { + return $this->_propDict["accessReviewPolicy"]; + } else { + $this->_propDict["accessReviewPolicy"] = new AccessReviewPolicy($this->_propDict["accessReviewPolicy"]); + return $this->_propDict["accessReviewPolicy"]; + } + } + return null; + } + + /** + * Sets the accessReviewPolicy + * The policy that contains directory-level access review settings. + * + * @param AccessReviewPolicy $val The accessReviewPolicy + * + * @return PolicyRoot + */ + public function setAccessReviewPolicy($val) + { + $this->_propDict["accessReviewPolicy"] = $val; + return $this; + } + + /** + * Gets the adminConsentRequestPolicy + * The policy by which consent requests are created and managed for the entire tenant. + * + * @return AdminConsentRequestPolicy|null The adminConsentRequestPolicy + */ + public function getAdminConsentRequestPolicy() + { + if (array_key_exists("adminConsentRequestPolicy", $this->_propDict)) { + if (is_a($this->_propDict["adminConsentRequestPolicy"], "\Beta\Microsoft\Graph\Model\AdminConsentRequestPolicy") || is_null($this->_propDict["adminConsentRequestPolicy"])) { + return $this->_propDict["adminConsentRequestPolicy"]; + } else { + $this->_propDict["adminConsentRequestPolicy"] = new AdminConsentRequestPolicy($this->_propDict["adminConsentRequestPolicy"]); + return $this->_propDict["adminConsentRequestPolicy"]; + } + } + return null; + } + + /** + * Sets the adminConsentRequestPolicy + * The policy by which consent requests are created and managed for the entire tenant. + * + * @param AdminConsentRequestPolicy $val The adminConsentRequestPolicy + * + * @return PolicyRoot + */ + public function setAdminConsentRequestPolicy($val) + { + $this->_propDict["adminConsentRequestPolicy"] = $val; + return $this; + } + + /** + * Gets the directoryRoleAccessReviewPolicy + * + * @return DirectoryRoleAccessReviewPolicy|null The directoryRoleAccessReviewPolicy + */ + public function getDirectoryRoleAccessReviewPolicy() + { + if (array_key_exists("directoryRoleAccessReviewPolicy", $this->_propDict)) { + if (is_a($this->_propDict["directoryRoleAccessReviewPolicy"], "\Beta\Microsoft\Graph\Model\DirectoryRoleAccessReviewPolicy") || is_null($this->_propDict["directoryRoleAccessReviewPolicy"])) { + return $this->_propDict["directoryRoleAccessReviewPolicy"]; + } else { + $this->_propDict["directoryRoleAccessReviewPolicy"] = new DirectoryRoleAccessReviewPolicy($this->_propDict["directoryRoleAccessReviewPolicy"]); + return $this->_propDict["directoryRoleAccessReviewPolicy"]; + } + } + return null; + } + + /** + * Sets the directoryRoleAccessReviewPolicy + * + * @param DirectoryRoleAccessReviewPolicy $val The directoryRoleAccessReviewPolicy + * + * @return PolicyRoot + */ + public function setDirectoryRoleAccessReviewPolicy($val) + { + $this->_propDict["directoryRoleAccessReviewPolicy"] = $val; + return $this; + } + + + /** + * Gets the conditionalAccessPolicies + * The custom rules that define an access scenario. + * + * @return array|null The conditionalAccessPolicies + */ + public function getConditionalAccessPolicies() + { + if (array_key_exists("conditionalAccessPolicies", $this->_propDict)) { + return $this->_propDict["conditionalAccessPolicies"]; + } else { + return null; + } + } + + /** + * Sets the conditionalAccessPolicies + * The custom rules that define an access scenario. + * + * @param ConditionalAccessPolicy[] $val The conditionalAccessPolicies + * + * @return PolicyRoot + */ + public function setConditionalAccessPolicies($val) + { + $this->_propDict["conditionalAccessPolicies"] = $val; + return $this; + } + + /** + * Gets the identitySecurityDefaultsEnforcementPolicy + * The policy that represents the security defaults that protect against common attacks. + * + * @return IdentitySecurityDefaultsEnforcementPolicy|null The identitySecurityDefaultsEnforcementPolicy + */ + public function getIdentitySecurityDefaultsEnforcementPolicy() + { + if (array_key_exists("identitySecurityDefaultsEnforcementPolicy", $this->_propDict)) { + if (is_a($this->_propDict["identitySecurityDefaultsEnforcementPolicy"], "\Beta\Microsoft\Graph\Model\IdentitySecurityDefaultsEnforcementPolicy") || is_null($this->_propDict["identitySecurityDefaultsEnforcementPolicy"])) { + return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; + } else { + $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = new IdentitySecurityDefaultsEnforcementPolicy($this->_propDict["identitySecurityDefaultsEnforcementPolicy"]); + return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; + } + } + return null; + } + + /** + * Sets the identitySecurityDefaultsEnforcementPolicy + * The policy that represents the security defaults that protect against common attacks. + * + * @param IdentitySecurityDefaultsEnforcementPolicy $val The identitySecurityDefaultsEnforcementPolicy + * + * @return PolicyRoot + */ + public function setIdentitySecurityDefaultsEnforcementPolicy($val) + { + $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = $val; + return $this; + } + + + /** + * Gets the mobileAppManagementPolicies + * The policy that defines auto-enrollment configuration for a mobility management (MDM or MAM) application. + * + * @return array|null The mobileAppManagementPolicies + */ + public function getMobileAppManagementPolicies() + { + if (array_key_exists("mobileAppManagementPolicies", $this->_propDict)) { + return $this->_propDict["mobileAppManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppManagementPolicies + * The policy that defines auto-enrollment configuration for a mobility management (MDM or MAM) application. + * + * @param MobilityManagementPolicy[] $val The mobileAppManagementPolicies + * + * @return PolicyRoot + */ + public function setMobileAppManagementPolicies($val) + { + $this->_propDict["mobileAppManagementPolicies"] = $val; + return $this; + } + + + /** + * Gets the mobileDeviceManagementPolicies + * + * @return array|null The mobileDeviceManagementPolicies + */ + public function getMobileDeviceManagementPolicies() + { + if (array_key_exists("mobileDeviceManagementPolicies", $this->_propDict)) { + return $this->_propDict["mobileDeviceManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the mobileDeviceManagementPolicies + * + * @param MobilityManagementPolicy[] $val The mobileDeviceManagementPolicies + * + * @return PolicyRoot + */ + public function setMobileDeviceManagementPolicies($val) + { + $this->_propDict["mobileDeviceManagementPolicies"] = $val; + return $this; + } + + + /** + * Gets the roleManagementPolicies + * Represents the role management policies. + * + * @return array|null The roleManagementPolicies + */ + public function getRoleManagementPolicies() + { + if (array_key_exists("roleManagementPolicies", $this->_propDict)) { + return $this->_propDict["roleManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the roleManagementPolicies + * Represents the role management policies. + * + * @param UnifiedRoleManagementPolicy[] $val The roleManagementPolicies + * + * @return PolicyRoot + */ + public function setRoleManagementPolicies($val) + { + $this->_propDict["roleManagementPolicies"] = $val; + return $this; + } + + + /** + * Gets the roleManagementPolicyAssignments + * Represents the role management policy assignments. + * + * @return array|null The roleManagementPolicyAssignments + */ + public function getRoleManagementPolicyAssignments() + { + if (array_key_exists("roleManagementPolicyAssignments", $this->_propDict)) { + return $this->_propDict["roleManagementPolicyAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleManagementPolicyAssignments + * Represents the role management policy assignments. + * + * @param UnifiedRoleManagementPolicyAssignment[] $val The roleManagementPolicyAssignments + * + * @return PolicyRoot + */ + public function setRoleManagementPolicyAssignments($val) + { + $this->_propDict["roleManagementPolicyAssignments"] = $val; + 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 PolicyRoot + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyScope.php new file mode 100644 index 0000000..50e3f18 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyScope.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Creation time of the PolicySet. + * + * @param \DateTime $val The createdDateTime + * + * @return PolicySet + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the PolicySet. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the PolicySet. + * + * @param string $val The description + * + * @return PolicySet + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * DisplayName of the PolicySet. + * + * @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 + * DisplayName of the PolicySet. + * + * @param string $val The displayName + * + * @return PolicySet + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errorCode + * Error code if any occured. Possible values are: noError, unauthorized, notFound, deleted. + * + * @return ErrorCode|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + if (is_a($this->_propDict["errorCode"], "\Beta\Microsoft\Graph\Model\ErrorCode") || is_null($this->_propDict["errorCode"])) { + return $this->_propDict["errorCode"]; + } else { + $this->_propDict["errorCode"] = new ErrorCode($this->_propDict["errorCode"]); + return $this->_propDict["errorCode"]; + } + } + return null; + } + + /** + * Sets the errorCode + * Error code if any occured. Possible values are: noError, unauthorized, notFound, deleted. + * + * @param ErrorCode $val The errorCode + * + * @return PolicySet + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the guidedDeploymentTags + * Tags of the guided deployment + * + * @return string|null The guidedDeploymentTags + */ + public function getGuidedDeploymentTags() + { + if (array_key_exists("guidedDeploymentTags", $this->_propDict)) { + return $this->_propDict["guidedDeploymentTags"]; + } else { + return null; + } + } + + /** + * Sets the guidedDeploymentTags + * Tags of the guided deployment + * + * @param string $val The guidedDeploymentTags + * + * @return PolicySet + */ + public function setGuidedDeploymentTags($val) + { + $this->_propDict["guidedDeploymentTags"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified time of the PolicySet. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified time of the PolicySet. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PolicySet + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTags + * RoleScopeTags of the PolicySet + * + * @return string|null The roleScopeTags + */ + public function getRoleScopeTags() + { + if (array_key_exists("roleScopeTags", $this->_propDict)) { + return $this->_propDict["roleScopeTags"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTags + * RoleScopeTags of the PolicySet + * + * @param string $val The roleScopeTags + * + * @return PolicySet + */ + public function setRoleScopeTags($val) + { + $this->_propDict["roleScopeTags"] = $val; + return $this; + } + + /** + * Gets the status + * Validation/assignment status of the PolicySet. Possible values are: unknown, validating, partialSuccess, success, error, notAssigned. + * + * @return PolicySetStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PolicySetStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PolicySetStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Validation/assignment status of the PolicySet. Possible values are: unknown, validating, partialSuccess, success, error, notAssigned. + * + * @param PolicySetStatus $val The status + * + * @return PolicySet + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Assignments of the PolicySet. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Assignments of the PolicySet. + * + * @param PolicySetAssignment[] $val The assignments + * + * @return PolicySet + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the items + * Items of the PolicySet with maximum count 100. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Items of the PolicySet with maximum count 100. + * + * @param PolicySetItem[] $val The items + * + * @return PolicySet + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetAssignment.php new file mode 100644 index 0000000..e9a0782 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetAssignment.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified time of the PolicySetAssignment. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PolicySetAssignment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the target + * The target group of PolicySetAssignment + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target group of PolicySetAssignment + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return PolicySetAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetItem.php new file mode 100644 index 0000000..473b6cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetItem.php @@ -0,0 +1,275 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Creation time of the PolicySetItem. + * + * @param \DateTime $val The createdDateTime + * + * @return PolicySetItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * DisplayName of the PolicySetItem. + * + * @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 + * DisplayName of the PolicySetItem. + * + * @param string $val The displayName + * + * @return PolicySetItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errorCode + * Error code if any occured. Possible values are: noError, unauthorized, notFound, deleted. + * + * @return ErrorCode|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + if (is_a($this->_propDict["errorCode"], "\Beta\Microsoft\Graph\Model\ErrorCode") || is_null($this->_propDict["errorCode"])) { + return $this->_propDict["errorCode"]; + } else { + $this->_propDict["errorCode"] = new ErrorCode($this->_propDict["errorCode"]); + return $this->_propDict["errorCode"]; + } + } + return null; + } + + /** + * Sets the errorCode + * Error code if any occured. Possible values are: noError, unauthorized, notFound, deleted. + * + * @param ErrorCode $val The errorCode + * + * @return PolicySetItem + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the guidedDeploymentTags + * Tags of the guided deployment + * + * @return string|null The guidedDeploymentTags + */ + public function getGuidedDeploymentTags() + { + if (array_key_exists("guidedDeploymentTags", $this->_propDict)) { + return $this->_propDict["guidedDeploymentTags"]; + } else { + return null; + } + } + + /** + * Sets the guidedDeploymentTags + * Tags of the guided deployment + * + * @param string $val The guidedDeploymentTags + * + * @return PolicySetItem + */ + public function setGuidedDeploymentTags($val) + { + $this->_propDict["guidedDeploymentTags"] = $val; + return $this; + } + + /** + * Gets the itemType + * policySetType of the PolicySetItem. + * + * @return string|null The itemType + */ + public function getItemType() + { + if (array_key_exists("itemType", $this->_propDict)) { + return $this->_propDict["itemType"]; + } else { + return null; + } + } + + /** + * Sets the itemType + * policySetType of the PolicySetItem. + * + * @param string $val The itemType + * + * @return PolicySetItem + */ + public function setItemType($val) + { + $this->_propDict["itemType"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified time of the PolicySetItem. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified time of the PolicySetItem. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PolicySetItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the payloadId + * PayloadId of the PolicySetItem. + * + * @return string|null The payloadId + */ + public function getPayloadId() + { + if (array_key_exists("payloadId", $this->_propDict)) { + return $this->_propDict["payloadId"]; + } else { + return null; + } + } + + /** + * Sets the payloadId + * PayloadId of the PolicySetItem. + * + * @param string $val The payloadId + * + * @return PolicySetItem + */ + public function setPayloadId($val) + { + $this->_propDict["payloadId"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the PolicySetItem. Possible values are: unknown, validating, partialSuccess, success, error, notAssigned. + * + * @return PolicySetStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PolicySetStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PolicySetStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the PolicySetItem. Possible values are: unknown, validating, partialSuccess, success, error, notAssigned. + * + * @param PolicySetStatus $val The status + * + * @return PolicySetItem + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetStatus.php new file mode 100644 index 0000000..4e07ed9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["company"], "\Beta\Microsoft\Graph\Model\CompanyDetail") || is_null($this->_propDict["company"])) { + return $this->_propDict["company"]; + } else { + $this->_propDict["company"] = new CompanyDetail($this->_propDict["company"]); + return $this->_propDict["company"]; + } + } + return null; + } + + /** + * Sets the company + * Detail about the company or employer. + * + * @param CompanyDetail $val The value to assign to the company + * + * @return PositionDetail The PositionDetail + */ + public function setCompany($val) + { + $this->_propDict["company"] = $val; + return $this; + } + /** + * Gets the description + * Description of the position in question. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the position in question. + * + * @param string $val The value of the description + * + * @return PositionDetail + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the endMonthYear + * When the position ended. + * + * @return \DateTime|null The endMonthYear + */ + public function getEndMonthYear() + { + if (array_key_exists("endMonthYear", $this->_propDict)) { + if (is_a($this->_propDict["endMonthYear"], "\DateTime") || is_null($this->_propDict["endMonthYear"])) { + return $this->_propDict["endMonthYear"]; + } else { + $this->_propDict["endMonthYear"] = new \DateTime($this->_propDict["endMonthYear"]); + return $this->_propDict["endMonthYear"]; + } + } + return null; + } + + /** + * Sets the endMonthYear + * When the position ended. + * + * @param \DateTime $val The value to assign to the endMonthYear + * + * @return PositionDetail The PositionDetail + */ + public function setEndMonthYear($val) + { + $this->_propDict["endMonthYear"] = $val; + return $this; + } + /** + * Gets the jobTitle + * The title held when in that position. + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * The title held when in that position. + * + * @param string $val The value of the jobTitle + * + * @return PositionDetail + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + /** + * Gets the role + * The role the position entailed. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * The role the position entailed. + * + * @param string $val The value of the role + * + * @return PositionDetail + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the startMonthYear + * The start month and year of the position. + * + * @return \DateTime|null The startMonthYear + */ + public function getStartMonthYear() + { + if (array_key_exists("startMonthYear", $this->_propDict)) { + if (is_a($this->_propDict["startMonthYear"], "\DateTime") || is_null($this->_propDict["startMonthYear"])) { + return $this->_propDict["startMonthYear"]; + } else { + $this->_propDict["startMonthYear"] = new \DateTime($this->_propDict["startMonthYear"]); + return $this->_propDict["startMonthYear"]; + } + } + return null; + } + + /** + * Sets the startMonthYear + * The start month and year of the position. + * + * @param \DateTime $val The value to assign to the startMonthYear + * + * @return PositionDetail The PositionDetail + */ + public function setStartMonthYear($val) + { + $this->_propDict["startMonthYear"] = $val; + return $this; + } + /** + * Gets the summary + * Short summary of the position. + * + * @return string|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + return $this->_propDict["summary"]; + } else { + return null; + } + } + + /** + * Sets the summary + * Short summary of the position. + * + * @param string $val The value of the summary + * + * @return PositionDetail + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Post.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Post.php new file mode 100644 index 0000000..1b4eed9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Post.php @@ -0,0 +1,490 @@ +_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The contents of the post. This is a default property. This property can be null. + * + * @param ItemBody $val The body + * + * @return Post + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the conversationId + * Unique ID of the conversation. Read-only. + * + * @return string|null The conversationId + */ + public function getConversationId() + { + if (array_key_exists("conversationId", $this->_propDict)) { + return $this->_propDict["conversationId"]; + } else { + return null; + } + } + + /** + * Sets the conversationId + * Unique ID of the conversation. Read-only. + * + * @param string $val The conversationId + * + * @return Post + */ + public function setConversationId($val) + { + $this->_propDict["conversationId"] = $val; + return $this; + } + + /** + * Gets the conversationThreadId + * Unique ID of the conversation thread. Read-only. + * + * @return string|null The conversationThreadId + */ + public function getConversationThreadId() + { + if (array_key_exists("conversationThreadId", $this->_propDict)) { + return $this->_propDict["conversationThreadId"]; + } else { + return null; + } + } + + /** + * Sets the conversationThreadId + * Unique ID of the conversation thread. Read-only. + * + * @param string $val The conversationThreadId + * + * @return Post + */ + public function setConversationThreadId($val) + { + $this->_propDict["conversationThreadId"] = $val; + return $this; + } + + /** + * Gets the from + * Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. + * + * @return Recipient|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new Recipient($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. + * + * @param Recipient $val The from + * + * @return Post + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether the post has at least one attachment. This is a default property. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether the post has at least one attachment. This is a default property. + * + * @param bool $val The hasAttachments + * + * @return Post + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the importance + * The importance of a group post: low, normal, high. + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance of a group post: low, normal, high. + * + * @param Importance $val The importance + * + * @return Post + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + + /** + * Gets the newParticipants + * Conversation participants that were added to the thread as part of this post. + * + * @return array|null The newParticipants + */ + public function getNewParticipants() + { + if (array_key_exists("newParticipants", $this->_propDict)) { + return $this->_propDict["newParticipants"]; + } else { + return null; + } + } + + /** + * Sets the newParticipants + * Conversation participants that were added to the thread as part of this post. + * + * @param Recipient[] $val The newParticipants + * + * @return Post + */ + public function setNewParticipants($val) + { + $this->_propDict["newParticipants"] = $val; + return $this; + } + + /** + * Gets the receivedDateTime + * Specifies when the post was received. The DateTimeOffset 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 receivedDateTime + */ + public function getReceivedDateTime() + { + if (array_key_exists("receivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["receivedDateTime"], "\DateTime") || is_null($this->_propDict["receivedDateTime"])) { + return $this->_propDict["receivedDateTime"]; + } else { + $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); + return $this->_propDict["receivedDateTime"]; + } + } + return null; + } + + /** + * Sets the receivedDateTime + * Specifies when the post was received. The DateTimeOffset 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 receivedDateTime + * + * @return Post + */ + public function setReceivedDateTime($val) + { + $this->_propDict["receivedDateTime"] = $val; + return $this; + } + + /** + * Gets the sender + * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. + * + * @return Recipient|null The sender + */ + public function getSender() + { + if (array_key_exists("sender", $this->_propDict)) { + if (is_a($this->_propDict["sender"], "\Beta\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["sender"])) { + return $this->_propDict["sender"]; + } else { + $this->_propDict["sender"] = new Recipient($this->_propDict["sender"]); + return $this->_propDict["sender"]; + } + } + return null; + } + + /** + * Sets the sender + * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. + * + * @param Recipient $val The sender + * + * @return Post + */ + public function setSender($val) + { + $this->_propDict["sender"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. + * + * @param Attachment[] $val The attachments + * + * @return Post + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * + * @param Extension[] $val The extensions + * + * @return Post + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + /** + * Gets the inReplyTo + * The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand. + * + * @return Post|null The inReplyTo + */ + public function getInReplyTo() + { + if (array_key_exists("inReplyTo", $this->_propDict)) { + if (is_a($this->_propDict["inReplyTo"], "\Beta\Microsoft\Graph\Model\Post") || is_null($this->_propDict["inReplyTo"])) { + return $this->_propDict["inReplyTo"]; + } else { + $this->_propDict["inReplyTo"] = new Post($this->_propDict["inReplyTo"]); + return $this->_propDict["inReplyTo"]; + } + } + return null; + } + + /** + * Sets the inReplyTo + * The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand. + * + * @param Post $val The inReplyTo + * + * @return Post + */ + public function setInReplyTo($val) + { + $this->_propDict["inReplyTo"] = $val; + return $this; + } + + + /** + * Gets the mentions + * + * @return array|null The mentions + */ + public function getMentions() + { + if (array_key_exists("mentions", $this->_propDict)) { + return $this->_propDict["mentions"]; + } else { + return null; + } + } + + /** + * Sets the mentions + * + * @param Mention[] $val The mentions + * + * @return Post + */ + public function setMentions($val) + { + $this->_propDict["mentions"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the post. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the post. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Post + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the post. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the post. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Post + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PostType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PostType.php new file mode 100644 index 0000000..cac0225 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PostType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * + * @param string $val The value of the city + * + * @return PostalAddressType + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryLetterCode + * + * @return string|null The countryLetterCode + */ + public function getCountryLetterCode() + { + if (array_key_exists("countryLetterCode", $this->_propDict)) { + return $this->_propDict["countryLetterCode"]; + } else { + return null; + } + } + + /** + * Sets the countryLetterCode + * + * @param string $val The value of the countryLetterCode + * + * @return PostalAddressType + */ + public function setCountryLetterCode($val) + { + $this->_propDict["countryLetterCode"] = $val; + return $this; + } + /** + * Gets the postalCode + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * + * @param string $val The value of the postalCode + * + * @return PostalAddressType + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the state + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The value of the state + * + * @return PostalAddressType + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the street + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * + * @param string $val The value of the street + * + * @return PostalAddressType + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PowerActionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PowerActionType.php new file mode 100644 index 0000000..4b07ae3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PowerActionType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the application. + * + * @param string $val The value of the appId + * + * @return PreAuthorizedApplication + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the permissionIds + * The unique identifier for the oauth2PermissionScopes the application requires. + * + * @return string|null The permissionIds + */ + public function getPermissionIds() + { + if (array_key_exists("permissionIds", $this->_propDict)) { + return $this->_propDict["permissionIds"]; + } else { + return null; + } + } + + /** + * Sets the permissionIds + * The unique identifier for the oauth2PermissionScopes the application requires. + * + * @param string $val The value of the permissionIds + * + * @return PreAuthorizedApplication + */ + public function setPermissionIds($val) + { + $this->_propDict["permissionIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrereleaseFeatures.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrereleaseFeatures.php new file mode 100644 index 0000000..a395668 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrereleaseFeatures.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["activity"]; + } else { + return null; + } + } + + /** + * Sets the activity + * The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive,InAMeeting, Offline, OffWork,OutOfOffice, PresenceUnknown,Presenting, UrgentInterruptionsOnly. + * + * @param string $val The activity + * + * @return Presence + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the availability + * The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown + * + * @return string|null The availability + */ + public function getAvailability() + { + if (array_key_exists("availability", $this->_propDict)) { + return $this->_propDict["availability"]; + } else { + return null; + } + } + + /** + * Sets the availability + * The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown + * + * @param string $val The availability + * + * @return Presence + */ + public function setAvailability($val) + { + $this->_propDict["availability"] = $val; + return $this; + } + + /** + * Gets the outOfOfficeSettings + * The out of office settings for a user. + * + * @return OutOfOfficeSettings|null The outOfOfficeSettings + */ + public function getOutOfOfficeSettings() + { + if (array_key_exists("outOfOfficeSettings", $this->_propDict)) { + if (is_a($this->_propDict["outOfOfficeSettings"], "\Beta\Microsoft\Graph\Model\OutOfOfficeSettings") || is_null($this->_propDict["outOfOfficeSettings"])) { + return $this->_propDict["outOfOfficeSettings"]; + } else { + $this->_propDict["outOfOfficeSettings"] = new OutOfOfficeSettings($this->_propDict["outOfOfficeSettings"]); + return $this->_propDict["outOfOfficeSettings"]; + } + } + return null; + } + + /** + * Sets the outOfOfficeSettings + * The out of office settings for a user. + * + * @param OutOfOfficeSettings $val The outOfOfficeSettings + * + * @return Presence + */ + public function setOutOfOfficeSettings($val) + { + $this->_propDict["outOfOfficeSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Presentation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Presentation.php new file mode 100644 index 0000000..711f218 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Presentation.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * + * @param DocumentComment[] $val The comments + * + * @return Presentation + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrincipalResourceMembershipsScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrincipalResourceMembershipsScope.php new file mode 100644 index 0000000..274ac32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrincipalResourceMembershipsScope.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["principalScopes"], "\Beta\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["principalScopes"])) { + return $this->_propDict["principalScopes"]; + } else { + $this->_propDict["principalScopes"] = new AccessReviewScope($this->_propDict["principalScopes"]); + return $this->_propDict["principalScopes"]; + } + } + return null; + } + + /** + * Sets the principalScopes + * Defines the scopes of the principals whose access to resources are reviewed in the access review. + * + * @param AccessReviewScope $val The value to assign to the principalScopes + * + * @return PrincipalResourceMembershipsScope The PrincipalResourceMembershipsScope + */ + public function setPrincipalScopes($val) + { + $this->_propDict["principalScopes"] = $val; + return $this; + } + + /** + * Gets the resourceScopes + * Defines the scopes of the resources for which access is reviewed. + * + * @return AccessReviewScope|null The resourceScopes + */ + public function getResourceScopes() + { + if (array_key_exists("resourceScopes", $this->_propDict)) { + if (is_a($this->_propDict["resourceScopes"], "\Beta\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["resourceScopes"])) { + return $this->_propDict["resourceScopes"]; + } else { + $this->_propDict["resourceScopes"] = new AccessReviewScope($this->_propDict["resourceScopes"]); + return $this->_propDict["resourceScopes"]; + } + } + return null; + } + + /** + * Sets the resourceScopes + * Defines the scopes of the resources for which access is reviewed. + * + * @param AccessReviewScope $val The value to assign to the resourceScopes + * + * @return PrincipalResourceMembershipsScope The PrincipalResourceMembershipsScope + */ + public function setResourceScopes($val) + { + $this->_propDict["resourceScopes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintCertificateSigningRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintCertificateSigningRequest.php new file mode 100644 index 0000000..ad584db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintCertificateSigningRequest.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * A base64-encoded pkcs10 certificate request. Read-only. + * + * @param string $val The value of the content + * + * @return PrintCertificateSigningRequest + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the transportKey + * The base64-encoded public portion of an asymmetric key that is generated by the client. Read-only. + * + * @return string|null The transportKey + */ + public function getTransportKey() + { + if (array_key_exists("transportKey", $this->_propDict)) { + return $this->_propDict["transportKey"]; + } else { + return null; + } + } + + /** + * Sets the transportKey + * The base64-encoded public portion of an asymmetric key that is generated by the client. Read-only. + * + * @param string $val The value of the transportKey + * + * @return PrintCertificateSigningRequest + */ + public function setTransportKey($val) + { + $this->_propDict["transportKey"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintColorConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintColorConfiguration.php new file mode 100644 index 0000000..81b7686 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintColorConfiguration.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["appVersion"]; + } else { + return null; + } + } + + /** + * Sets the appVersion + * The connector's version. + * + * @param string $val The appVersion + * + * @return PrintConnector + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the deviceHealth + * The connector's device health. + * + * @return DeviceHealth|null The deviceHealth + */ + public function getDeviceHealth() + { + if (array_key_exists("deviceHealth", $this->_propDict)) { + if (is_a($this->_propDict["deviceHealth"], "\Beta\Microsoft\Graph\Model\DeviceHealth") || is_null($this->_propDict["deviceHealth"])) { + return $this->_propDict["deviceHealth"]; + } else { + $this->_propDict["deviceHealth"] = new DeviceHealth($this->_propDict["deviceHealth"]); + return $this->_propDict["deviceHealth"]; + } + } + return null; + } + + /** + * Sets the deviceHealth + * The connector's device health. + * + * @param DeviceHealth $val The deviceHealth + * + * @return PrintConnector + */ + public function setDeviceHealth($val) + { + $this->_propDict["deviceHealth"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the connector. + * + * @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 + * The name of the connector. + * + * @param string $val The displayName + * + * @return PrintConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fullyQualifiedDomainName + * The connector machine's hostname. + * + * @return string|null The fullyQualifiedDomainName + */ + public function getFullyQualifiedDomainName() + { + if (array_key_exists("fullyQualifiedDomainName", $this->_propDict)) { + return $this->_propDict["fullyQualifiedDomainName"]; + } else { + return null; + } + } + + /** + * Sets the fullyQualifiedDomainName + * The connector machine's hostname. + * + * @param string $val The fullyQualifiedDomainName + * + * @return PrintConnector + */ + public function setFullyQualifiedDomainName($val) + { + $this->_propDict["fullyQualifiedDomainName"] = $val; + return $this; + } + + /** + * Gets the location + * The physical and/or organizational location of the connector. + * + * @return PrinterLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\PrinterLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new PrinterLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * The physical and/or organizational location of the connector. + * + * @param PrinterLocation $val The location + * + * @return PrintConnector + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return PrintConnector + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * The connector machine's operating system version. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * The connector machine's operating system version. + * + * @param string $val The operatingSystem + * + * @return PrintConnector + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the registeredDateTime + * The DateTimeOffset when the connector was registered. + * + * @return \DateTime|null The registeredDateTime + */ + public function getRegisteredDateTime() + { + if (array_key_exists("registeredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registeredDateTime"], "\DateTime") || is_null($this->_propDict["registeredDateTime"])) { + return $this->_propDict["registeredDateTime"]; + } else { + $this->_propDict["registeredDateTime"] = new \DateTime($this->_propDict["registeredDateTime"]); + return $this->_propDict["registeredDateTime"]; + } + } + return null; + } + + /** + * Sets the registeredDateTime + * The DateTimeOffset when the connector was registered. + * + * @param \DateTime $val The registeredDateTime + * + * @return PrintConnector + */ + public function setRegisteredDateTime($val) + { + $this->_propDict["registeredDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocument.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocument.php new file mode 100644 index 0000000..59f8398 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocument.php @@ -0,0 +1,145 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\PrinterDocumentConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new PrinterDocumentConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * + * @param PrinterDocumentConfiguration $val The configuration + * + * @return PrintDocument + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the contentType + * The document's content (MIME) type. Read-only. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The document's content (MIME) type. Read-only. + * + * @param string $val The contentType + * + * @return PrintDocument + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the displayName + * The document's name. Read-only. + * + * @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 + * The document's name. Read-only. + * + * @param string $val The displayName + * + * @return PrintDocument + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the size + * The document's size in bytes. Read-only. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The document's size in bytes. Read-only. + * + * @param int $val The size + * + * @return PrintDocument + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocumentUploadProperties.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocumentUploadProperties.php new file mode 100644 index 0000000..0649482 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocumentUploadProperties.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The document's content (MIME) type. + * + * @param string $val The value of the contentType + * + * @return PrintDocumentUploadProperties + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the documentName + * The document's name. + * + * @return string|null The documentName + */ + public function getDocumentName() + { + if (array_key_exists("documentName", $this->_propDict)) { + return $this->_propDict["documentName"]; + } else { + return null; + } + } + + /** + * Sets the documentName + * The document's name. + * + * @param string $val The value of the documentName + * + * @return PrintDocumentUploadProperties + */ + public function setDocumentName($val) + { + $this->_propDict["documentName"] = $val; + return $this; + } + /** + * Gets the size + * The document's size in bytes. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The document's size in bytes. + * + * @param int $val The value of the size + * + * @return PrintDocumentUploadProperties + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDuplexConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDuplexConfiguration.php new file mode 100644 index 0000000..3676e3a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDuplexConfiguration.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\PrintJobConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new PrintJobConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * A group of settings that a printer should use to print a job. + * + * @param PrintJobConfiguration $val The configuration + * + * @return PrintJob + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Read-only. Nullable. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Read-only. Nullable. + * + * @param UserIdentity $val The createdBy + * + * @return PrintJob + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The DateTimeOffset when the job was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The DateTimeOffset when the job was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return PrintJob + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the isFetchable + * If true, document can be fetched by printer. + * + * @return bool|null The isFetchable + */ + public function getIsFetchable() + { + if (array_key_exists("isFetchable", $this->_propDict)) { + return $this->_propDict["isFetchable"]; + } else { + return null; + } + } + + /** + * Sets the isFetchable + * If true, document can be fetched by printer. + * + * @param bool $val The isFetchable + * + * @return PrintJob + */ + public function setIsFetchable($val) + { + $this->_propDict["isFetchable"] = boolval($val); + return $this; + } + + /** + * Gets the redirectedFrom + * Contains the source job URL, if the job has been redirected from another printer. + * + * @return string|null The redirectedFrom + */ + public function getRedirectedFrom() + { + if (array_key_exists("redirectedFrom", $this->_propDict)) { + return $this->_propDict["redirectedFrom"]; + } else { + return null; + } + } + + /** + * Sets the redirectedFrom + * Contains the source job URL, if the job has been redirected from another printer. + * + * @param string $val The redirectedFrom + * + * @return PrintJob + */ + public function setRedirectedFrom($val) + { + $this->_propDict["redirectedFrom"] = $val; + return $this; + } + + /** + * Gets the redirectedTo + * Contains the destination job URL, if the job has been redirected to another printer. + * + * @return string|null The redirectedTo + */ + public function getRedirectedTo() + { + if (array_key_exists("redirectedTo", $this->_propDict)) { + return $this->_propDict["redirectedTo"]; + } else { + return null; + } + } + + /** + * Sets the redirectedTo + * Contains the destination job URL, if the job has been redirected to another printer. + * + * @param string $val The redirectedTo + * + * @return PrintJob + */ + public function setRedirectedTo($val) + { + $this->_propDict["redirectedTo"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the print job. Read-only. + * + * @return PrintJobStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrintJobStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrintJobStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the print job. Read-only. + * + * @param PrintJobStatus $val The status + * + * @return PrintJob + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the documents + * Read-only. + * + * @return array|null The documents + */ + public function getDocuments() + { + if (array_key_exists("documents", $this->_propDict)) { + return $this->_propDict["documents"]; + } else { + return null; + } + } + + /** + * Sets the documents + * Read-only. + * + * @param PrintDocument[] $val The documents + * + * @return PrintJob + */ + public function setDocuments($val) + { + $this->_propDict["documents"] = $val; + return $this; + } + + + /** + * Gets the tasks + * A list of printTasks that were triggered by this print job. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * A list of printTasks that were triggered by this print job. + * + * @param PrintTask[] $val The tasks + * + * @return PrintJob + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobConfiguration.php new file mode 100644 index 0000000..78fd30e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobConfiguration.php @@ -0,0 +1,606 @@ +_propDict)) { + return $this->_propDict["collate"]; + } else { + return null; + } + } + + /** + * Sets the collate + * Whether the printer should collate pages wehen printing multiple copies of a multi-page document. + * + * @param bool $val The value of the collate + * + * @return PrintJobConfiguration + */ + public function setCollate($val) + { + $this->_propDict["collate"] = $val; + return $this; + } + + /** + * Gets the colorMode + * The color mode the printer should use to print the job. Valid values are described in the table below. Read-only. + * + * @return PrintColorMode|null The colorMode + */ + public function getColorMode() + { + if (array_key_exists("colorMode", $this->_propDict)) { + if (is_a($this->_propDict["colorMode"], "\Beta\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorMode"])) { + return $this->_propDict["colorMode"]; + } else { + $this->_propDict["colorMode"] = new PrintColorMode($this->_propDict["colorMode"]); + return $this->_propDict["colorMode"]; + } + } + return null; + } + + /** + * Sets the colorMode + * The color mode the printer should use to print the job. Valid values are described in the table below. Read-only. + * + * @param PrintColorMode $val The value to assign to the colorMode + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setColorMode($val) + { + $this->_propDict["colorMode"] = $val; + return $this; + } + /** + * Gets the copies + * The number of copies that should be printed. Read-only. + * + * @return int|null The copies + */ + public function getCopies() + { + if (array_key_exists("copies", $this->_propDict)) { + return $this->_propDict["copies"]; + } else { + return null; + } + } + + /** + * Sets the copies + * The number of copies that should be printed. Read-only. + * + * @param int $val The value of the copies + * + * @return PrintJobConfiguration + */ + public function setCopies($val) + { + $this->_propDict["copies"] = $val; + return $this; + } + /** + * Gets the dpi + * The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only. + * + * @return int|null The dpi + */ + public function getDpi() + { + if (array_key_exists("dpi", $this->_propDict)) { + return $this->_propDict["dpi"]; + } else { + return null; + } + } + + /** + * Sets the dpi + * The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only. + * + * @param int $val The value of the dpi + * + * @return PrintJobConfiguration + */ + public function setDpi($val) + { + $this->_propDict["dpi"] = $val; + return $this; + } + + /** + * Gets the duplexMode + * The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only. + * + * @return PrintDuplexMode|null The duplexMode + */ + public function getDuplexMode() + { + if (array_key_exists("duplexMode", $this->_propDict)) { + if (is_a($this->_propDict["duplexMode"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexMode"])) { + return $this->_propDict["duplexMode"]; + } else { + $this->_propDict["duplexMode"] = new PrintDuplexMode($this->_propDict["duplexMode"]); + return $this->_propDict["duplexMode"]; + } + } + return null; + } + + /** + * Sets the duplexMode + * The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only. + * + * @param PrintDuplexMode $val The value to assign to the duplexMode + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setDuplexMode($val) + { + $this->_propDict["duplexMode"] = $val; + return $this; + } + + /** + * Gets the feedOrientation + * The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only. + * + * @return PrinterFeedOrientation|null The feedOrientation + */ + public function getFeedOrientation() + { + if (array_key_exists("feedOrientation", $this->_propDict)) { + if (is_a($this->_propDict["feedOrientation"], "\Beta\Microsoft\Graph\Model\PrinterFeedOrientation") || is_null($this->_propDict["feedOrientation"])) { + return $this->_propDict["feedOrientation"]; + } else { + $this->_propDict["feedOrientation"] = new PrinterFeedOrientation($this->_propDict["feedOrientation"]); + return $this->_propDict["feedOrientation"]; + } + } + return null; + } + + /** + * Sets the feedOrientation + * The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only. + * + * @param PrinterFeedOrientation $val The value to assign to the feedOrientation + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setFeedOrientation($val) + { + $this->_propDict["feedOrientation"] = $val; + return $this; + } + + /** + * Gets the finishings + * Finishing processes to use when printing. + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * Finishing processes to use when printing. + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the fitPdfToPage + * + * @return bool|null The fitPdfToPage + */ + public function getFitPdfToPage() + { + if (array_key_exists("fitPdfToPage", $this->_propDict)) { + return $this->_propDict["fitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the fitPdfToPage + * + * @param bool $val The value of the fitPdfToPage + * + * @return PrintJobConfiguration + */ + public function setFitPdfToPage($val) + { + $this->_propDict["fitPdfToPage"] = $val; + return $this; + } + /** + * Gets the inputBin + * The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins. + * + * @return string|null The inputBin + */ + public function getInputBin() + { + if (array_key_exists("inputBin", $this->_propDict)) { + return $this->_propDict["inputBin"]; + } else { + return null; + } + } + + /** + * Sets the inputBin + * The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins. + * + * @param string $val The value of the inputBin + * + * @return PrintJobConfiguration + */ + public function setInputBin($val) + { + $this->_propDict["inputBin"] = $val; + return $this; + } + + /** + * Gets the margin + * The margin settings to use when printing. + * + * @return PrintMargin|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + if (is_a($this->_propDict["margin"], "\Beta\Microsoft\Graph\Model\PrintMargin") || is_null($this->_propDict["margin"])) { + return $this->_propDict["margin"]; + } else { + $this->_propDict["margin"] = new PrintMargin($this->_propDict["margin"]); + return $this->_propDict["margin"]; + } + } + return null; + } + + /** + * Sets the margin + * The margin settings to use when printing. + * + * @param PrintMargin $val The value to assign to the margin + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the mediaSize + * The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @return string|null The mediaSize + */ + public function getMediaSize() + { + if (array_key_exists("mediaSize", $this->_propDict)) { + return $this->_propDict["mediaSize"]; + } else { + return null; + } + } + + /** + * Sets the mediaSize + * The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @param string $val The value of the mediaSize + * + * @return PrintJobConfiguration + */ + public function setMediaSize($val) + { + $this->_propDict["mediaSize"] = $val; + return $this; + } + /** + * Gets the mediaType + * The default media (such as paper) type to print the document on. + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * The default media (such as paper) type to print the document on. + * + * @param string $val The value of the mediaType + * + * @return PrintJobConfiguration + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + + /** + * Gets the multipageLayout + * The direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @return PrintMultipageLayout|null The multipageLayout + */ + public function getMultipageLayout() + { + if (array_key_exists("multipageLayout", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayout"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayout"])) { + return $this->_propDict["multipageLayout"]; + } else { + $this->_propDict["multipageLayout"] = new PrintMultipageLayout($this->_propDict["multipageLayout"]); + return $this->_propDict["multipageLayout"]; + } + } + return null; + } + + /** + * Sets the multipageLayout + * The direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayout + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setMultipageLayout($val) + { + $this->_propDict["multipageLayout"] = $val; + return $this; + } + + /** + * Gets the orientation + * The orientation setting the printer should use when printing the job. Valid values are described in the following table. + * + * @return PrintOrientation|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientation"])) { + return $this->_propDict["orientation"]; + } else { + $this->_propDict["orientation"] = new PrintOrientation($this->_propDict["orientation"]); + return $this->_propDict["orientation"]; + } + } + return null; + } + + /** + * Sets the orientation + * The orientation setting the printer should use when printing the job. Valid values are described in the following table. + * + * @param PrintOrientation $val The value to assign to the orientation + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + /** + * Gets the outputBin + * The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @return string|null The outputBin + */ + public function getOutputBin() + { + if (array_key_exists("outputBin", $this->_propDict)) { + return $this->_propDict["outputBin"]; + } else { + return null; + } + } + + /** + * Sets the outputBin + * The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @param string $val The value of the outputBin + * + * @return PrintJobConfiguration + */ + public function setOutputBin($val) + { + $this->_propDict["outputBin"] = $val; + return $this; + } + + /** + * Gets the pageRanges + * The page ranges to print. Read-only. + * + * @return IntegerRange|null The pageRanges + */ + public function getPageRanges() + { + if (array_key_exists("pageRanges", $this->_propDict)) { + if (is_a($this->_propDict["pageRanges"], "\Beta\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["pageRanges"])) { + return $this->_propDict["pageRanges"]; + } else { + $this->_propDict["pageRanges"] = new IntegerRange($this->_propDict["pageRanges"]); + return $this->_propDict["pageRanges"]; + } + } + return null; + } + + /** + * Sets the pageRanges + * The page ranges to print. Read-only. + * + * @param IntegerRange $val The value to assign to the pageRanges + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setPageRanges($val) + { + $this->_propDict["pageRanges"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * The number of document pages to print on each sheet. + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * The number of document pages to print on each sheet. + * + * @param int $val The value of the pagesPerSheet + * + * @return PrintJobConfiguration + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the quality + * The print quality to use when printing the job. Valid values are described in the table below. Read-only. + * + * @return PrintQuality|null The quality + */ + public function getQuality() + { + if (array_key_exists("quality", $this->_propDict)) { + if (is_a($this->_propDict["quality"], "\Beta\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["quality"])) { + return $this->_propDict["quality"]; + } else { + $this->_propDict["quality"] = new PrintQuality($this->_propDict["quality"]); + return $this->_propDict["quality"]; + } + } + return null; + } + + /** + * Sets the quality + * The print quality to use when printing the job. Valid values are described in the table below. Read-only. + * + * @param PrintQuality $val The value to assign to the quality + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setQuality($val) + { + $this->_propDict["quality"] = $val; + return $this; + } + + /** + * Gets the scaling + * Specifies how the printer should scale the document data to fit the requested media. Valid values are described in the following table. + * + * @return PrintScaling|null The scaling + */ + public function getScaling() + { + if (array_key_exists("scaling", $this->_propDict)) { + if (is_a($this->_propDict["scaling"], "\Beta\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scaling"])) { + return $this->_propDict["scaling"]; + } else { + $this->_propDict["scaling"] = new PrintScaling($this->_propDict["scaling"]); + return $this->_propDict["scaling"]; + } + } + return null; + } + + /** + * Sets the scaling + * Specifies how the printer should scale the document data to fit the requested media. Valid values are described in the following table. + * + * @param PrintScaling $val The value to assign to the scaling + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setScaling($val) + { + $this->_propDict["scaling"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobProcessingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobProcessingState.php new file mode 100644 index 0000000..cf4beee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobProcessingState.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["acquiredByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the acquiredByPrinter + * + * @param bool $val The value of the acquiredByPrinter + * + * @return PrintJobStatus + */ + public function setAcquiredByPrinter($val) + { + $this->_propDict["acquiredByPrinter"] = $val; + return $this; + } + /** + * Gets the description + * A human-readable description of the print job's current processing state. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the print job's current processing state. Read-only. + * + * @param string $val The value of the description + * + * @return PrintJobStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the details + * Additional details for print job state. Valid values are described in the following table. Read-only. + * + * @return PrintJobStateDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PrintJobStateDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PrintJobStateDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Additional details for print job state. Valid values are described in the following table. Read-only. + * + * @param PrintJobStateDetail $val The value to assign to the details + * + * @return PrintJobStatus The PrintJobStatus + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the isAcquiredByPrinter + * True if the job was acknowledged by a printer; false otherwise. Read-only. + * + * @return bool|null The isAcquiredByPrinter + */ + public function getIsAcquiredByPrinter() + { + if (array_key_exists("isAcquiredByPrinter", $this->_propDict)) { + return $this->_propDict["isAcquiredByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the isAcquiredByPrinter + * True if the job was acknowledged by a printer; false otherwise. Read-only. + * + * @param bool $val The value of the isAcquiredByPrinter + * + * @return PrintJobStatus + */ + public function setIsAcquiredByPrinter($val) + { + $this->_propDict["isAcquiredByPrinter"] = $val; + return $this; + } + + /** + * Gets the processingState + * + * @return PrintJobProcessingState|null The processingState + */ + public function getProcessingState() + { + if (array_key_exists("processingState", $this->_propDict)) { + if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["processingState"])) { + return $this->_propDict["processingState"]; + } else { + $this->_propDict["processingState"] = new PrintJobProcessingState($this->_propDict["processingState"]); + return $this->_propDict["processingState"]; + } + } + return null; + } + + /** + * Sets the processingState + * + * @param PrintJobProcessingState $val The value to assign to the processingState + * + * @return PrintJobStatus The PrintJobStatus + */ + public function setProcessingState($val) + { + $this->_propDict["processingState"] = $val; + return $this; + } + /** + * Gets the processingStateDescription + * + * @return string|null The processingStateDescription + */ + public function getProcessingStateDescription() + { + if (array_key_exists("processingStateDescription", $this->_propDict)) { + return $this->_propDict["processingStateDescription"]; + } else { + return null; + } + } + + /** + * Sets the processingStateDescription + * + * @param string $val The value of the processingStateDescription + * + * @return PrintJobStatus + */ + public function setProcessingStateDescription($val) + { + $this->_propDict["processingStateDescription"] = $val; + return $this; + } + + /** + * Gets the state + * The print job's current processing state. Valid values are described in the following table. Read-only. + * + * @return PrintJobProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrintJobProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The print job's current processing state. Valid values are described in the following table. Read-only. + * + * @param PrintJobProcessingState $val The value to assign to the state + * + * @return PrintJobStatus The PrintJobStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMargin.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMargin.php new file mode 100644 index 0000000..92d9169 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMargin.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["bottom"]; + } else { + return null; + } + } + + /** + * Sets the bottom + * The margin in microns from the bottom edge. + * + * @param int $val The value of the bottom + * + * @return PrintMargin + */ + public function setBottom($val) + { + $this->_propDict["bottom"] = $val; + return $this; + } + /** + * Gets the left + * The margin in microns from the left edge. + * + * @return int|null The left + */ + public function getLeft() + { + if (array_key_exists("left", $this->_propDict)) { + return $this->_propDict["left"]; + } else { + return null; + } + } + + /** + * Sets the left + * The margin in microns from the left edge. + * + * @param int $val The value of the left + * + * @return PrintMargin + */ + public function setLeft($val) + { + $this->_propDict["left"] = $val; + return $this; + } + /** + * Gets the right + * The margin in microns from the right edge. + * + * @return int|null The right + */ + public function getRight() + { + if (array_key_exists("right", $this->_propDict)) { + return $this->_propDict["right"]; + } else { + return null; + } + } + + /** + * Sets the right + * The margin in microns from the right edge. + * + * @param int $val The value of the right + * + * @return PrintMargin + */ + public function setRight($val) + { + $this->_propDict["right"] = $val; + return $this; + } + /** + * Gets the top + * The margin in microns from the top edge. + * + * @return int|null The top + */ + public function getTop() + { + if (array_key_exists("top", $this->_propDict)) { + return $this->_propDict["top"]; + } else { + return null; + } + } + + /** + * Sets the top + * The margin in microns from the top edge. + * + * @param int $val The value of the top + * + * @return PrintMargin + */ + public function setTop($val) + { + $this->_propDict["top"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMediaType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMediaType.php new file mode 100644 index 0000000..dbbf180 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMediaType.php @@ -0,0 +1,45 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The DateTimeOffset when the operation was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return PrintOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the operation. Read-only. + * + * @return PrintOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrintOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrintOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the operation. Read-only. + * + * @param PrintOperationStatus $val The status + * + * @return PrintOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOperationProcessingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOperationProcessingState.php new file mode 100644 index 0000000..7abe516 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOperationProcessingState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the printOperation's current processing state. Read-only. + * + * @param string $val The value of the description + * + * @return PrintOperationStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the state + * The printOperation's current processing state. Valid values are described in the following table. Read-only. + * + * @return PrintOperationProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintOperationProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrintOperationProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The printOperation's current processing state. Valid values are described in the following table. Read-only. + * + * @param PrintOperationProcessingState $val The value to assign to the state + * + * @return PrintOperationStatus The PrintOperationStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOrientation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOrientation.php new file mode 100644 index 0000000..a1c4352 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOrientation.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["endpoints"]; + } else { + return null; + } + } + + /** + * Sets the endpoints + * Endpoints that can be used to access the service. Read-only. Nullable. + * + * @param PrintServiceEndpoint[] $val The endpoints + * + * @return PrintService + */ + public function setEndpoints($val) + { + $this->_propDict["endpoints"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintServiceEndpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintServiceEndpoint.php new file mode 100644 index 0000000..2da63e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintServiceEndpoint.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * A human-readable display name for the endpoint. + * + * @param string $val The displayName + * + * @return PrintServiceEndpoint + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the uri + * The URI that can be used to access the service. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * The URI that can be used to access the service. + * + * @param string $val The uri + * + * @return PrintServiceEndpoint + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintSettings.php new file mode 100644 index 0000000..fa1c6da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["documentConversionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the documentConversionEnabled + * Specifies whether document conversion is enabled for the tenant. If document conversion is enabled, Universal Print service will automatically convert documents into a format compatible with the printer (xps to pdf) when needed. + * + * @param bool $val The value of the documentConversionEnabled + * + * @return PrintSettings + */ + public function setDocumentConversionEnabled($val) + { + $this->_propDict["documentConversionEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTask.php new file mode 100644 index 0000000..557aef4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTask.php @@ -0,0 +1,155 @@ +_propDict)) { + return $this->_propDict["parentUrl"]; + } else { + return null; + } + } + + /** + * Sets the parentUrl + * The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/beta/print/printers/{printerId}/jobs/{jobId}. Read-only. + * + * @param string $val The parentUrl + * + * @return PrintTask + */ + public function setParentUrl($val) + { + $this->_propDict["parentUrl"] = $val; + return $this; + } + + /** + * Gets the status + * The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted. + * + * @return PrintTaskStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrintTaskStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrintTaskStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted. + * + * @param PrintTaskStatus $val The status + * + * @return PrintTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the definition + * The printTaskDefinition that was used to create this task. Read-only. + * + * @return PrintTaskDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\PrintTaskDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new PrintTaskDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * The printTaskDefinition that was used to create this task. Read-only. + * + * @param PrintTaskDefinition $val The definition + * + * @return PrintTask + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + /** + * Gets the trigger + * The printTaskTrigger that triggered this task's execution. Read-only. + * + * @return PrintTaskTrigger|null The trigger + */ + public function getTrigger() + { + if (array_key_exists("trigger", $this->_propDict)) { + if (is_a($this->_propDict["trigger"], "\Beta\Microsoft\Graph\Model\PrintTaskTrigger") || is_null($this->_propDict["trigger"])) { + return $this->_propDict["trigger"]; + } else { + $this->_propDict["trigger"] = new PrintTaskTrigger($this->_propDict["trigger"]); + return $this->_propDict["trigger"]; + } + } + return null; + } + + /** + * Sets the trigger + * The printTaskTrigger that triggered this task's execution. Read-only. + * + * @param PrintTaskTrigger $val The trigger + * + * @return PrintTask + */ + public function setTrigger($val) + { + $this->_propDict["trigger"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskDefinition.php new file mode 100644 index 0000000..2df23f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskDefinition.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\AppIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new AppIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The application that created the printTaskDefinition. Read-only. + * + * @param AppIdentity $val The createdBy + * + * @return PrintTaskDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the printTaskDefinition. + * + * @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 + * The name of the printTaskDefinition. + * + * @param string $val The displayName + * + * @return PrintTaskDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the tasks + * A list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * A list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. + * + * @param PrintTask[] $val The tasks + * + * @return PrintTaskDefinition + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskProcessingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskProcessingState.php new file mode 100644 index 0000000..e324e61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskProcessingState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the current processing state of the printTask. + * + * @param string $val The value of the description + * + * @return PrintTaskStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the state + * The current processing state of the printTask. Valid values are described in the following table. + * + * @return PrintTaskProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintTaskProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrintTaskProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The current processing state of the printTask. Valid values are described in the following table. + * + * @param PrintTaskProcessingState $val The value to assign to the state + * + * @return PrintTaskStatus The PrintTaskStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskTrigger.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskTrigger.php new file mode 100644 index 0000000..acf1eea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskTrigger.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["event"], "\Beta\Microsoft\Graph\Model\PrintEvent") || is_null($this->_propDict["event"])) { + return $this->_propDict["event"]; + } else { + $this->_propDict["event"] = new PrintEvent($this->_propDict["event"]); + return $this->_propDict["event"]; + } + } + return null; + } + + /** + * Sets the event + * The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following table. + * + * @param PrintEvent $val The event + * + * @return PrintTaskTrigger + */ + public function setEvent($val) + { + $this->_propDict["event"] = $val; + return $this; + } + + /** + * Gets the definition + * An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + * + * @return PrintTaskDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\PrintTaskDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new PrintTaskDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + * + * @param PrintTaskDefinition $val The definition + * + * @return PrintTaskTrigger + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsage.php new file mode 100644 index 0000000..c3a266e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsage.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["completedBlackAndWhiteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedBlackAndWhiteJobCount + * + * @param int $val The completedBlackAndWhiteJobCount + * + * @return PrintUsage + */ + public function setCompletedBlackAndWhiteJobCount($val) + { + $this->_propDict["completedBlackAndWhiteJobCount"] = intval($val); + return $this; + } + + /** + * Gets the completedColorJobCount + * + * @return int|null The completedColorJobCount + */ + public function getCompletedColorJobCount() + { + if (array_key_exists("completedColorJobCount", $this->_propDict)) { + return $this->_propDict["completedColorJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedColorJobCount + * + * @param int $val The completedColorJobCount + * + * @return PrintUsage + */ + public function setCompletedColorJobCount($val) + { + $this->_propDict["completedColorJobCount"] = intval($val); + return $this; + } + + /** + * Gets the incompleteJobCount + * + * @return int|null The incompleteJobCount + */ + public function getIncompleteJobCount() + { + if (array_key_exists("incompleteJobCount", $this->_propDict)) { + return $this->_propDict["incompleteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the incompleteJobCount + * + * @param int $val The incompleteJobCount + * + * @return PrintUsage + */ + public function setIncompleteJobCount($val) + { + $this->_propDict["incompleteJobCount"] = intval($val); + return $this; + } + + /** + * Gets the usageDate + * + * @return \DateTime|null The usageDate + */ + public function getUsageDate() + { + if (array_key_exists("usageDate", $this->_propDict)) { + if (is_a($this->_propDict["usageDate"], "\DateTime") || is_null($this->_propDict["usageDate"])) { + return $this->_propDict["usageDate"]; + } else { + $this->_propDict["usageDate"] = new \DateTime($this->_propDict["usageDate"]); + return $this->_propDict["usageDate"]; + } + } + return null; + } + + /** + * Sets the usageDate + * + * @param \DateTime $val The usageDate + * + * @return PrintUsage + */ + public function setUsageDate($val) + { + $this->_propDict["usageDate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByPrinter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByPrinter.php new file mode 100644 index 0000000..10c3bb4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByPrinter.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["printerId"]; + } else { + return null; + } + } + + /** + * Sets the printerId + * + * @param string $val The printerId + * + * @return PrintUsageByPrinter + */ + public function setPrinterId($val) + { + $this->_propDict["printerId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByUser.php new file mode 100644 index 0000000..f37e408 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByUser.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * The UPN of the user represented by these statistics. + * + * @param string $val The userPrincipalName + * + * @return PrintUsageByUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageSummary.php new file mode 100644 index 0000000..7536b1c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageSummary.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["completedJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedJobCount + * + * @param int $val The value of the completedJobCount + * + * @return PrintUsageSummary + */ + public function setCompletedJobCount($val) + { + $this->_propDict["completedJobCount"] = $val; + return $this; + } + /** + * Gets the incompleteJobCount + * + * @return int|null The incompleteJobCount + */ + public function getIncompleteJobCount() + { + if (array_key_exists("incompleteJobCount", $this->_propDict)) { + return $this->_propDict["incompleteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the incompleteJobCount + * + * @param int $val The value of the incompleteJobCount + * + * @return PrintUsageSummary + */ + public function setIncompleteJobCount($val) + { + $this->_propDict["incompleteJobCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Printer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Printer.php new file mode 100644 index 0000000..b31d65e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Printer.php @@ -0,0 +1,299 @@ +_propDict)) { + return $this->_propDict["acceptingJobs"]; + } else { + return null; + } + } + + /** + * Sets the acceptingJobs + * + * @param bool $val The acceptingJobs + * + * @return Printer + */ + public function setAcceptingJobs($val) + { + $this->_propDict["acceptingJobs"] = boolval($val); + return $this; + } + + /** + * Gets the hasPhysicalDevice + * True if the printer has a physical device for printing. Read-only. + * + * @return bool|null The hasPhysicalDevice + */ + public function getHasPhysicalDevice() + { + if (array_key_exists("hasPhysicalDevice", $this->_propDict)) { + return $this->_propDict["hasPhysicalDevice"]; + } else { + return null; + } + } + + /** + * Sets the hasPhysicalDevice + * True if the printer has a physical device for printing. Read-only. + * + * @param bool $val The hasPhysicalDevice + * + * @return Printer + */ + public function setHasPhysicalDevice($val) + { + $this->_propDict["hasPhysicalDevice"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * True if the printer is shared; false otherwise. Read-only. + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * True if the printer is shared; false otherwise. Read-only. + * + * @param bool $val The isShared + * + * @return Printer + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the lastSeenDateTime + * The most recent dateTimeOffset when a printer interacted with Universal Print. Read-only. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The most recent dateTimeOffset when a printer interacted with Universal Print. Read-only. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return Printer + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the registeredDateTime + * The DateTimeOffset when the printer was registered. Read-only. + * + * @return \DateTime|null The registeredDateTime + */ + public function getRegisteredDateTime() + { + if (array_key_exists("registeredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registeredDateTime"], "\DateTime") || is_null($this->_propDict["registeredDateTime"])) { + return $this->_propDict["registeredDateTime"]; + } else { + $this->_propDict["registeredDateTime"] = new \DateTime($this->_propDict["registeredDateTime"]); + return $this->_propDict["registeredDateTime"]; + } + } + return null; + } + + /** + * Sets the registeredDateTime + * The DateTimeOffset when the printer was registered. Read-only. + * + * @param \DateTime $val The registeredDateTime + * + * @return Printer + */ + public function setRegisteredDateTime($val) + { + $this->_propDict["registeredDateTime"] = $val; + return $this; + } + + + /** + * Gets the connectors + * The connectors that are associated with the printer. + * + * @return array|null The connectors + */ + public function getConnectors() + { + if (array_key_exists("connectors", $this->_propDict)) { + return $this->_propDict["connectors"]; + } else { + return null; + } + } + + /** + * Sets the connectors + * The connectors that are associated with the printer. + * + * @param PrintConnector[] $val The connectors + * + * @return Printer + */ + public function setConnectors($val) + { + $this->_propDict["connectors"] = $val; + return $this; + } + + /** + * Gets the share + * + * @return PrinterShare|null The share + */ + public function getShare() + { + if (array_key_exists("share", $this->_propDict)) { + if (is_a($this->_propDict["share"], "\Beta\Microsoft\Graph\Model\PrinterShare") || is_null($this->_propDict["share"])) { + return $this->_propDict["share"]; + } else { + $this->_propDict["share"] = new PrinterShare($this->_propDict["share"]); + return $this->_propDict["share"]; + } + } + return null; + } + + /** + * Sets the share + * + * @param PrinterShare $val The share + * + * @return Printer + */ + public function setShare($val) + { + $this->_propDict["share"] = $val; + return $this; + } + + + /** + * Gets the shares + * The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with the printer. Read-only. Nullable. + * + * @return array|null The shares + */ + public function getShares() + { + if (array_key_exists("shares", $this->_propDict)) { + return $this->_propDict["shares"]; + } else { + return null; + } + } + + /** + * Sets the shares + * The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with the printer. Read-only. Nullable. + * + * @param PrinterShare[] $val The shares + * + * @return Printer + */ + public function setShares($val) + { + $this->_propDict["shares"] = $val; + return $this; + } + + + /** + * Gets the taskTriggers + * A list of task triggers that are associated with the printer. + * + * @return array|null The taskTriggers + */ + public function getTaskTriggers() + { + if (array_key_exists("taskTriggers", $this->_propDict)) { + return $this->_propDict["taskTriggers"]; + } else { + return null; + } + } + + /** + * Sets the taskTriggers + * A list of task triggers that are associated with the printer. + * + * @param PrintTaskTrigger[] $val The taskTriggers + * + * @return Printer + */ + public function setTaskTriggers($val) + { + $this->_propDict["taskTriggers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterBase.php new file mode 100644 index 0000000..5fe1a99 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterBase.php @@ -0,0 +1,332 @@ +_propDict)) { + if (is_a($this->_propDict["capabilities"], "\Beta\Microsoft\Graph\Model\PrinterCapabilities") || is_null($this->_propDict["capabilities"])) { + return $this->_propDict["capabilities"]; + } else { + $this->_propDict["capabilities"] = new PrinterCapabilities($this->_propDict["capabilities"]); + return $this->_propDict["capabilities"]; + } + } + return null; + } + + /** + * Sets the capabilities + * The capabilities of the printer/printerShare. + * + * @param PrinterCapabilities $val The capabilities + * + * @return PrinterBase + */ + public function setCapabilities($val) + { + $this->_propDict["capabilities"] = $val; + return $this; + } + + /** + * Gets the defaults + * The default print settings of printer/printerShare. + * + * @return PrinterDefaults|null The defaults + */ + public function getDefaults() + { + if (array_key_exists("defaults", $this->_propDict)) { + if (is_a($this->_propDict["defaults"], "\Beta\Microsoft\Graph\Model\PrinterDefaults") || is_null($this->_propDict["defaults"])) { + return $this->_propDict["defaults"]; + } else { + $this->_propDict["defaults"] = new PrinterDefaults($this->_propDict["defaults"]); + return $this->_propDict["defaults"]; + } + } + return null; + } + + /** + * Sets the defaults + * The default print settings of printer/printerShare. + * + * @param PrinterDefaults $val The defaults + * + * @return PrinterBase + */ + public function setDefaults($val) + { + $this->_propDict["defaults"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the printer/printerShare. + * + * @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 + * The name of the printer/printerShare. + * + * @param string $val The displayName + * + * @return PrinterBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isAcceptingJobs + * Whether the printer/printerShare is currently accepting new print jobs. + * + * @return bool|null The isAcceptingJobs + */ + public function getIsAcceptingJobs() + { + if (array_key_exists("isAcceptingJobs", $this->_propDict)) { + return $this->_propDict["isAcceptingJobs"]; + } else { + return null; + } + } + + /** + * Sets the isAcceptingJobs + * Whether the printer/printerShare is currently accepting new print jobs. + * + * @param bool $val The isAcceptingJobs + * + * @return PrinterBase + */ + public function setIsAcceptingJobs($val) + { + $this->_propDict["isAcceptingJobs"] = boolval($val); + return $this; + } + + /** + * Gets the location + * The physical and/or organizational location of the printer/printerShare. + * + * @return PrinterLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\PrinterLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new PrinterLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * The physical and/or organizational location of the printer/printerShare. + * + * @param PrinterLocation $val The location + * + * @return PrinterBase + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The manufacturer of the printer/printerShare. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The manufacturer of the printer/printerShare. + * + * @param string $val The manufacturer + * + * @return PrinterBase + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The model name of the printer/printerShare. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The model name of the printer/printerShare. + * + * @param string $val The model + * + * @return PrinterBase + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return PrinterBase + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the status + * The processing status of the printer/printerShare, including any errors. + * + * @return PrinterStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrinterStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrinterStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The processing status of the printer/printerShare, including any errors. + * + * @param PrinterStatus $val The status + * + * @return PrinterBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the jobs + * The list of jobs that are queued for printing by the printer/printerShare. + * + * @return array|null The jobs + */ + public function getJobs() + { + if (array_key_exists("jobs", $this->_propDict)) { + return $this->_propDict["jobs"]; + } else { + return null; + } + } + + /** + * Sets the jobs + * The list of jobs that are queued for printing by the printer/printerShare. + * + * @param PrintJob[] $val The jobs + * + * @return PrinterBase + */ + public function setJobs($val) + { + $this->_propDict["jobs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCapabilities.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCapabilities.php new file mode 100644 index 0000000..f420866 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCapabilities.php @@ -0,0 +1,1185 @@ +_propDict)) { + return $this->_propDict["bottomMargins"]; + } else { + return null; + } + } + + /** + * Sets the bottomMargins + * A list of supported bottom margins(in microns) for the printer. + * + * @param int $val The value of the bottomMargins + * + * @return PrinterCapabilities + */ + public function setBottomMargins($val) + { + $this->_propDict["bottomMargins"] = $val; + return $this; + } + /** + * Gets the collation + * True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise. + * + * @return bool|null The collation + */ + public function getCollation() + { + if (array_key_exists("collation", $this->_propDict)) { + return $this->_propDict["collation"]; + } else { + return null; + } + } + + /** + * Sets the collation + * True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise. + * + * @param bool $val The value of the collation + * + * @return PrinterCapabilities + */ + public function setCollation($val) + { + $this->_propDict["collation"] = $val; + return $this; + } + + /** + * Gets the colorModes + * The color modes supported by the printer. Valid values are described in the following table. + * + * @return PrintColorMode|null The colorModes + */ + public function getColorModes() + { + if (array_key_exists("colorModes", $this->_propDict)) { + if (is_a($this->_propDict["colorModes"], "\Beta\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorModes"])) { + return $this->_propDict["colorModes"]; + } else { + $this->_propDict["colorModes"] = new PrintColorMode($this->_propDict["colorModes"]); + return $this->_propDict["colorModes"]; + } + } + return null; + } + + /** + * Sets the colorModes + * The color modes supported by the printer. Valid values are described in the following table. + * + * @param PrintColorMode $val The value to assign to the colorModes + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setColorModes($val) + { + $this->_propDict["colorModes"] = $val; + return $this; + } + /** + * Gets the contentTypes + * A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print service supports printing all of these MIME types. + * + * @return string|null The contentTypes + */ + public function getContentTypes() + { + if (array_key_exists("contentTypes", $this->_propDict)) { + return $this->_propDict["contentTypes"]; + } else { + return null; + } + } + + /** + * Sets the contentTypes + * A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print service supports printing all of these MIME types. + * + * @param string $val The value of the contentTypes + * + * @return PrinterCapabilities + */ + public function setContentTypes($val) + { + $this->_propDict["contentTypes"] = $val; + return $this; + } + + /** + * Gets the copiesPerJob + * The range of copies per job supported by the printer. + * + * @return IntegerRange|null The copiesPerJob + */ + public function getCopiesPerJob() + { + if (array_key_exists("copiesPerJob", $this->_propDict)) { + if (is_a($this->_propDict["copiesPerJob"], "\Beta\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["copiesPerJob"])) { + return $this->_propDict["copiesPerJob"]; + } else { + $this->_propDict["copiesPerJob"] = new IntegerRange($this->_propDict["copiesPerJob"]); + return $this->_propDict["copiesPerJob"]; + } + } + return null; + } + + /** + * Sets the copiesPerJob + * The range of copies per job supported by the printer. + * + * @param IntegerRange $val The value to assign to the copiesPerJob + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setCopiesPerJob($val) + { + $this->_propDict["copiesPerJob"] = $val; + return $this; + } + /** + * Gets the dpis + * The list of print resolutions in DPI that are supported by the printer. + * + * @return int|null The dpis + */ + public function getDpis() + { + if (array_key_exists("dpis", $this->_propDict)) { + return $this->_propDict["dpis"]; + } else { + return null; + } + } + + /** + * Sets the dpis + * The list of print resolutions in DPI that are supported by the printer. + * + * @param int $val The value of the dpis + * + * @return PrinterCapabilities + */ + public function setDpis($val) + { + $this->_propDict["dpis"] = $val; + return $this; + } + + /** + * Gets the duplexModes + * The list of duplex modes that are supported by the printer. Valid values are described in the following table. + * + * @return PrintDuplexMode|null The duplexModes + */ + public function getDuplexModes() + { + if (array_key_exists("duplexModes", $this->_propDict)) { + if (is_a($this->_propDict["duplexModes"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexModes"])) { + return $this->_propDict["duplexModes"]; + } else { + $this->_propDict["duplexModes"] = new PrintDuplexMode($this->_propDict["duplexModes"]); + return $this->_propDict["duplexModes"]; + } + } + return null; + } + + /** + * Sets the duplexModes + * The list of duplex modes that are supported by the printer. Valid values are described in the following table. + * + * @param PrintDuplexMode $val The value to assign to the duplexModes + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setDuplexModes($val) + { + $this->_propDict["duplexModes"] = $val; + return $this; + } + + /** + * Gets the feedDirections + * + * @return PrinterFeedDirection|null The feedDirections + */ + public function getFeedDirections() + { + if (array_key_exists("feedDirections", $this->_propDict)) { + if (is_a($this->_propDict["feedDirections"], "\Beta\Microsoft\Graph\Model\PrinterFeedDirection") || is_null($this->_propDict["feedDirections"])) { + return $this->_propDict["feedDirections"]; + } else { + $this->_propDict["feedDirections"] = new PrinterFeedDirection($this->_propDict["feedDirections"]); + return $this->_propDict["feedDirections"]; + } + } + return null; + } + + /** + * Sets the feedDirections + * + * @param PrinterFeedDirection $val The value to assign to the feedDirections + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setFeedDirections($val) + { + $this->_propDict["feedDirections"] = $val; + return $this; + } + + /** + * Gets the feedOrientations + * The list of feed orientations that are supported by the printer. + * + * @return PrinterFeedOrientation|null The feedOrientations + */ + public function getFeedOrientations() + { + if (array_key_exists("feedOrientations", $this->_propDict)) { + if (is_a($this->_propDict["feedOrientations"], "\Beta\Microsoft\Graph\Model\PrinterFeedOrientation") || is_null($this->_propDict["feedOrientations"])) { + return $this->_propDict["feedOrientations"]; + } else { + $this->_propDict["feedOrientations"] = new PrinterFeedOrientation($this->_propDict["feedOrientations"]); + return $this->_propDict["feedOrientations"]; + } + } + return null; + } + + /** + * Sets the feedOrientations + * The list of feed orientations that are supported by the printer. + * + * @param PrinterFeedOrientation $val The value to assign to the feedOrientations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setFeedOrientations($val) + { + $this->_propDict["feedOrientations"] = $val; + return $this; + } + + /** + * Gets the finishings + * Finishing processes the printer supports for a printed document. + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * Finishing processes the printer supports for a printed document. + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the inputBins + * Supported input bins for the printer. + * + * @return string|null The inputBins + */ + public function getInputBins() + { + if (array_key_exists("inputBins", $this->_propDict)) { + return $this->_propDict["inputBins"]; + } else { + return null; + } + } + + /** + * Sets the inputBins + * Supported input bins for the printer. + * + * @param string $val The value of the inputBins + * + * @return PrinterCapabilities + */ + public function setInputBins($val) + { + $this->_propDict["inputBins"] = $val; + return $this; + } + /** + * Gets the isColorPrintingSupported + * True if color printing is supported by the printer; false otherwise. Read-only. + * + * @return bool|null The isColorPrintingSupported + */ + public function getIsColorPrintingSupported() + { + if (array_key_exists("isColorPrintingSupported", $this->_propDict)) { + return $this->_propDict["isColorPrintingSupported"]; + } else { + return null; + } + } + + /** + * Sets the isColorPrintingSupported + * True if color printing is supported by the printer; false otherwise. Read-only. + * + * @param bool $val The value of the isColorPrintingSupported + * + * @return PrinterCapabilities + */ + public function setIsColorPrintingSupported($val) + { + $this->_propDict["isColorPrintingSupported"] = $val; + return $this; + } + /** + * Gets the isPageRangeSupported + * True if the printer supports printing by page ranges; false otherwise. + * + * @return bool|null The isPageRangeSupported + */ + public function getIsPageRangeSupported() + { + if (array_key_exists("isPageRangeSupported", $this->_propDict)) { + return $this->_propDict["isPageRangeSupported"]; + } else { + return null; + } + } + + /** + * Sets the isPageRangeSupported + * True if the printer supports printing by page ranges; false otherwise. + * + * @param bool $val The value of the isPageRangeSupported + * + * @return PrinterCapabilities + */ + public function setIsPageRangeSupported($val) + { + $this->_propDict["isPageRangeSupported"] = $val; + return $this; + } + /** + * Gets the leftMargins + * A list of supported left margins(in microns) for the printer. + * + * @return int|null The leftMargins + */ + public function getLeftMargins() + { + if (array_key_exists("leftMargins", $this->_propDict)) { + return $this->_propDict["leftMargins"]; + } else { + return null; + } + } + + /** + * Sets the leftMargins + * A list of supported left margins(in microns) for the printer. + * + * @param int $val The value of the leftMargins + * + * @return PrinterCapabilities + */ + public function setLeftMargins($val) + { + $this->_propDict["leftMargins"] = $val; + return $this; + } + /** + * Gets the mediaColors + * The media (i.e., paper) colors supported by the printer. + * + * @return string|null The mediaColors + */ + public function getMediaColors() + { + if (array_key_exists("mediaColors", $this->_propDict)) { + return $this->_propDict["mediaColors"]; + } else { + return null; + } + } + + /** + * Sets the mediaColors + * The media (i.e., paper) colors supported by the printer. + * + * @param string $val The value of the mediaColors + * + * @return PrinterCapabilities + */ + public function setMediaColors($val) + { + $this->_propDict["mediaColors"] = $val; + return $this; + } + /** + * Gets the mediaSizes + * The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table. + * + * @return string|null The mediaSizes + */ + public function getMediaSizes() + { + if (array_key_exists("mediaSizes", $this->_propDict)) { + return $this->_propDict["mediaSizes"]; + } else { + return null; + } + } + + /** + * Sets the mediaSizes + * The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table. + * + * @param string $val The value of the mediaSizes + * + * @return PrinterCapabilities + */ + public function setMediaSizes($val) + { + $this->_propDict["mediaSizes"] = $val; + return $this; + } + /** + * Gets the mediaTypes + * The media types supported by the printer. + * + * @return string|null The mediaTypes + */ + public function getMediaTypes() + { + if (array_key_exists("mediaTypes", $this->_propDict)) { + return $this->_propDict["mediaTypes"]; + } else { + return null; + } + } + + /** + * Sets the mediaTypes + * The media types supported by the printer. + * + * @param string $val The value of the mediaTypes + * + * @return PrinterCapabilities + */ + public function setMediaTypes($val) + { + $this->_propDict["mediaTypes"] = $val; + return $this; + } + + /** + * Gets the multipageLayouts + * The presentation directions supported by the printer. Supported values are described in the following table. + * + * @return PrintMultipageLayout|null The multipageLayouts + */ + public function getMultipageLayouts() + { + if (array_key_exists("multipageLayouts", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayouts"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayouts"])) { + return $this->_propDict["multipageLayouts"]; + } else { + $this->_propDict["multipageLayouts"] = new PrintMultipageLayout($this->_propDict["multipageLayouts"]); + return $this->_propDict["multipageLayouts"]; + } + } + return null; + } + + /** + * Sets the multipageLayouts + * The presentation directions supported by the printer. Supported values are described in the following table. + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayouts + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setMultipageLayouts($val) + { + $this->_propDict["multipageLayouts"] = $val; + return $this; + } + + /** + * Gets the orientations + * The print orientations supported by the printer. Valid values are described in the following table. + * + * @return PrintOrientation|null The orientations + */ + public function getOrientations() + { + if (array_key_exists("orientations", $this->_propDict)) { + if (is_a($this->_propDict["orientations"], "\Beta\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientations"])) { + return $this->_propDict["orientations"]; + } else { + $this->_propDict["orientations"] = new PrintOrientation($this->_propDict["orientations"]); + return $this->_propDict["orientations"]; + } + } + return null; + } + + /** + * Sets the orientations + * The print orientations supported by the printer. Valid values are described in the following table. + * + * @param PrintOrientation $val The value to assign to the orientations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setOrientations($val) + { + $this->_propDict["orientations"] = $val; + return $this; + } + /** + * Gets the outputBins + * The printer's supported output bins (trays). + * + * @return string|null The outputBins + */ + public function getOutputBins() + { + if (array_key_exists("outputBins", $this->_propDict)) { + return $this->_propDict["outputBins"]; + } else { + return null; + } + } + + /** + * Sets the outputBins + * The printer's supported output bins (trays). + * + * @param string $val The value of the outputBins + * + * @return PrinterCapabilities + */ + public function setOutputBins($val) + { + $this->_propDict["outputBins"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * Supported number of Input Pages to impose upon a single Impression. + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * Supported number of Input Pages to impose upon a single Impression. + * + * @param int $val The value of the pagesPerSheet + * + * @return PrinterCapabilities + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the qualities + * The print qualities supported by the printer. + * + * @return PrintQuality|null The qualities + */ + public function getQualities() + { + if (array_key_exists("qualities", $this->_propDict)) { + if (is_a($this->_propDict["qualities"], "\Beta\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["qualities"])) { + return $this->_propDict["qualities"]; + } else { + $this->_propDict["qualities"] = new PrintQuality($this->_propDict["qualities"]); + return $this->_propDict["qualities"]; + } + } + return null; + } + + /** + * Sets the qualities + * The print qualities supported by the printer. + * + * @param PrintQuality $val The value to assign to the qualities + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setQualities($val) + { + $this->_propDict["qualities"] = $val; + return $this; + } + /** + * Gets the rightMargins + * A list of supported right margins(in microns) for the printer. + * + * @return int|null The rightMargins + */ + public function getRightMargins() + { + if (array_key_exists("rightMargins", $this->_propDict)) { + return $this->_propDict["rightMargins"]; + } else { + return null; + } + } + + /** + * Sets the rightMargins + * A list of supported right margins(in microns) for the printer. + * + * @param int $val The value of the rightMargins + * + * @return PrinterCapabilities + */ + public function setRightMargins($val) + { + $this->_propDict["rightMargins"] = $val; + return $this; + } + + /** + * Gets the scalings + * Supported print scalings. + * + * @return PrintScaling|null The scalings + */ + public function getScalings() + { + if (array_key_exists("scalings", $this->_propDict)) { + if (is_a($this->_propDict["scalings"], "\Beta\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scalings"])) { + return $this->_propDict["scalings"]; + } else { + $this->_propDict["scalings"] = new PrintScaling($this->_propDict["scalings"]); + return $this->_propDict["scalings"]; + } + } + return null; + } + + /** + * Sets the scalings + * Supported print scalings. + * + * @param PrintScaling $val The value to assign to the scalings + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setScalings($val) + { + $this->_propDict["scalings"] = $val; + return $this; + } + + /** + * Gets the supportedColorConfigurations + * + * @return PrintColorConfiguration|null The supportedColorConfigurations + */ + public function getSupportedColorConfigurations() + { + if (array_key_exists("supportedColorConfigurations", $this->_propDict)) { + if (is_a($this->_propDict["supportedColorConfigurations"], "\Beta\Microsoft\Graph\Model\PrintColorConfiguration") || is_null($this->_propDict["supportedColorConfigurations"])) { + return $this->_propDict["supportedColorConfigurations"]; + } else { + $this->_propDict["supportedColorConfigurations"] = new PrintColorConfiguration($this->_propDict["supportedColorConfigurations"]); + return $this->_propDict["supportedColorConfigurations"]; + } + } + return null; + } + + /** + * Sets the supportedColorConfigurations + * + * @param PrintColorConfiguration $val The value to assign to the supportedColorConfigurations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedColorConfigurations($val) + { + $this->_propDict["supportedColorConfigurations"] = $val; + return $this; + } + + /** + * Gets the supportedCopiesPerJob + * + * @return IntegerRange|null The supportedCopiesPerJob + */ + public function getSupportedCopiesPerJob() + { + if (array_key_exists("supportedCopiesPerJob", $this->_propDict)) { + if (is_a($this->_propDict["supportedCopiesPerJob"], "\Beta\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["supportedCopiesPerJob"])) { + return $this->_propDict["supportedCopiesPerJob"]; + } else { + $this->_propDict["supportedCopiesPerJob"] = new IntegerRange($this->_propDict["supportedCopiesPerJob"]); + return $this->_propDict["supportedCopiesPerJob"]; + } + } + return null; + } + + /** + * Sets the supportedCopiesPerJob + * + * @param IntegerRange $val The value to assign to the supportedCopiesPerJob + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedCopiesPerJob($val) + { + $this->_propDict["supportedCopiesPerJob"] = $val; + return $this; + } + /** + * Gets the supportedDocumentMimeTypes + * + * @return string|null The supportedDocumentMimeTypes + */ + public function getSupportedDocumentMimeTypes() + { + if (array_key_exists("supportedDocumentMimeTypes", $this->_propDict)) { + return $this->_propDict["supportedDocumentMimeTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedDocumentMimeTypes + * + * @param string $val The value of the supportedDocumentMimeTypes + * + * @return PrinterCapabilities + */ + public function setSupportedDocumentMimeTypes($val) + { + $this->_propDict["supportedDocumentMimeTypes"] = $val; + return $this; + } + + /** + * Gets the supportedDuplexConfigurations + * + * @return PrintDuplexConfiguration|null The supportedDuplexConfigurations + */ + public function getSupportedDuplexConfigurations() + { + if (array_key_exists("supportedDuplexConfigurations", $this->_propDict)) { + if (is_a($this->_propDict["supportedDuplexConfigurations"], "\Beta\Microsoft\Graph\Model\PrintDuplexConfiguration") || is_null($this->_propDict["supportedDuplexConfigurations"])) { + return $this->_propDict["supportedDuplexConfigurations"]; + } else { + $this->_propDict["supportedDuplexConfigurations"] = new PrintDuplexConfiguration($this->_propDict["supportedDuplexConfigurations"]); + return $this->_propDict["supportedDuplexConfigurations"]; + } + } + return null; + } + + /** + * Sets the supportedDuplexConfigurations + * + * @param PrintDuplexConfiguration $val The value to assign to the supportedDuplexConfigurations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedDuplexConfigurations($val) + { + $this->_propDict["supportedDuplexConfigurations"] = $val; + return $this; + } + + /** + * Gets the supportedFinishings + * + * @return PrintFinishing|null The supportedFinishings + */ + public function getSupportedFinishings() + { + if (array_key_exists("supportedFinishings", $this->_propDict)) { + if (is_a($this->_propDict["supportedFinishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["supportedFinishings"])) { + return $this->_propDict["supportedFinishings"]; + } else { + $this->_propDict["supportedFinishings"] = new PrintFinishing($this->_propDict["supportedFinishings"]); + return $this->_propDict["supportedFinishings"]; + } + } + return null; + } + + /** + * Sets the supportedFinishings + * + * @param PrintFinishing $val The value to assign to the supportedFinishings + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedFinishings($val) + { + $this->_propDict["supportedFinishings"] = $val; + return $this; + } + /** + * Gets the supportedMediaColors + * + * @return string|null The supportedMediaColors + */ + public function getSupportedMediaColors() + { + if (array_key_exists("supportedMediaColors", $this->_propDict)) { + return $this->_propDict["supportedMediaColors"]; + } else { + return null; + } + } + + /** + * Sets the supportedMediaColors + * + * @param string $val The value of the supportedMediaColors + * + * @return PrinterCapabilities + */ + public function setSupportedMediaColors($val) + { + $this->_propDict["supportedMediaColors"] = $val; + return $this; + } + /** + * Gets the supportedMediaSizes + * + * @return string|null The supportedMediaSizes + */ + public function getSupportedMediaSizes() + { + if (array_key_exists("supportedMediaSizes", $this->_propDict)) { + return $this->_propDict["supportedMediaSizes"]; + } else { + return null; + } + } + + /** + * Sets the supportedMediaSizes + * + * @param string $val The value of the supportedMediaSizes + * + * @return PrinterCapabilities + */ + public function setSupportedMediaSizes($val) + { + $this->_propDict["supportedMediaSizes"] = $val; + return $this; + } + + /** + * Gets the supportedMediaTypes + * + * @return PrintMediaType|null The supportedMediaTypes + */ + public function getSupportedMediaTypes() + { + if (array_key_exists("supportedMediaTypes", $this->_propDict)) { + if (is_a($this->_propDict["supportedMediaTypes"], "\Beta\Microsoft\Graph\Model\PrintMediaType") || is_null($this->_propDict["supportedMediaTypes"])) { + return $this->_propDict["supportedMediaTypes"]; + } else { + $this->_propDict["supportedMediaTypes"] = new PrintMediaType($this->_propDict["supportedMediaTypes"]); + return $this->_propDict["supportedMediaTypes"]; + } + } + return null; + } + + /** + * Sets the supportedMediaTypes + * + * @param PrintMediaType $val The value to assign to the supportedMediaTypes + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedMediaTypes($val) + { + $this->_propDict["supportedMediaTypes"] = $val; + return $this; + } + + /** + * Gets the supportedOrientations + * + * @return PrintOrientation|null The supportedOrientations + */ + public function getSupportedOrientations() + { + if (array_key_exists("supportedOrientations", $this->_propDict)) { + if (is_a($this->_propDict["supportedOrientations"], "\Beta\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["supportedOrientations"])) { + return $this->_propDict["supportedOrientations"]; + } else { + $this->_propDict["supportedOrientations"] = new PrintOrientation($this->_propDict["supportedOrientations"]); + return $this->_propDict["supportedOrientations"]; + } + } + return null; + } + + /** + * Sets the supportedOrientations + * + * @param PrintOrientation $val The value to assign to the supportedOrientations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedOrientations($val) + { + $this->_propDict["supportedOrientations"] = $val; + return $this; + } + /** + * Gets the supportedOutputBins + * + * @return string|null The supportedOutputBins + */ + public function getSupportedOutputBins() + { + if (array_key_exists("supportedOutputBins", $this->_propDict)) { + return $this->_propDict["supportedOutputBins"]; + } else { + return null; + } + } + + /** + * Sets the supportedOutputBins + * + * @param string $val The value of the supportedOutputBins + * + * @return PrinterCapabilities + */ + public function setSupportedOutputBins($val) + { + $this->_propDict["supportedOutputBins"] = $val; + return $this; + } + + /** + * Gets the supportedPagesPerSheet + * + * @return IntegerRange|null The supportedPagesPerSheet + */ + public function getSupportedPagesPerSheet() + { + if (array_key_exists("supportedPagesPerSheet", $this->_propDict)) { + if (is_a($this->_propDict["supportedPagesPerSheet"], "\Beta\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["supportedPagesPerSheet"])) { + return $this->_propDict["supportedPagesPerSheet"]; + } else { + $this->_propDict["supportedPagesPerSheet"] = new IntegerRange($this->_propDict["supportedPagesPerSheet"]); + return $this->_propDict["supportedPagesPerSheet"]; + } + } + return null; + } + + /** + * Sets the supportedPagesPerSheet + * + * @param IntegerRange $val The value to assign to the supportedPagesPerSheet + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedPagesPerSheet($val) + { + $this->_propDict["supportedPagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the supportedPresentationDirections + * + * @return PrintPresentationDirection|null The supportedPresentationDirections + */ + public function getSupportedPresentationDirections() + { + if (array_key_exists("supportedPresentationDirections", $this->_propDict)) { + if (is_a($this->_propDict["supportedPresentationDirections"], "\Beta\Microsoft\Graph\Model\PrintPresentationDirection") || is_null($this->_propDict["supportedPresentationDirections"])) { + return $this->_propDict["supportedPresentationDirections"]; + } else { + $this->_propDict["supportedPresentationDirections"] = new PrintPresentationDirection($this->_propDict["supportedPresentationDirections"]); + return $this->_propDict["supportedPresentationDirections"]; + } + } + return null; + } + + /** + * Sets the supportedPresentationDirections + * + * @param PrintPresentationDirection $val The value to assign to the supportedPresentationDirections + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedPresentationDirections($val) + { + $this->_propDict["supportedPresentationDirections"] = $val; + return $this; + } + + /** + * Gets the supportedPrintQualities + * + * @return PrintQuality|null The supportedPrintQualities + */ + public function getSupportedPrintQualities() + { + if (array_key_exists("supportedPrintQualities", $this->_propDict)) { + if (is_a($this->_propDict["supportedPrintQualities"], "\Beta\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["supportedPrintQualities"])) { + return $this->_propDict["supportedPrintQualities"]; + } else { + $this->_propDict["supportedPrintQualities"] = new PrintQuality($this->_propDict["supportedPrintQualities"]); + return $this->_propDict["supportedPrintQualities"]; + } + } + return null; + } + + /** + * Sets the supportedPrintQualities + * + * @param PrintQuality $val The value to assign to the supportedPrintQualities + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setSupportedPrintQualities($val) + { + $this->_propDict["supportedPrintQualities"] = $val; + return $this; + } + /** + * Gets the supportsFitPdfToPage + * True if the printer supports scaling PDF pages to match the print media size; false otherwise. + * + * @return bool|null The supportsFitPdfToPage + */ + public function getSupportsFitPdfToPage() + { + if (array_key_exists("supportsFitPdfToPage", $this->_propDict)) { + return $this->_propDict["supportsFitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the supportsFitPdfToPage + * True if the printer supports scaling PDF pages to match the print media size; false otherwise. + * + * @param bool $val The value of the supportsFitPdfToPage + * + * @return PrinterCapabilities + */ + public function setSupportsFitPdfToPage($val) + { + $this->_propDict["supportsFitPdfToPage"] = $val; + return $this; + } + /** + * Gets the topMargins + * A list of supported top margins(in microns) for the printer. + * + * @return int|null The topMargins + */ + public function getTopMargins() + { + if (array_key_exists("topMargins", $this->_propDict)) { + return $this->_propDict["topMargins"]; + } else { + return null; + } + } + + /** + * Sets the topMargins + * A list of supported top margins(in microns) for the printer. + * + * @param int $val The value of the topMargins + * + * @return PrinterCapabilities + */ + public function setTopMargins($val) + { + $this->_propDict["topMargins"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCreateOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCreateOperation.php new file mode 100644 index 0000000..274edfe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCreateOperation.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certificate"]; + } else { + return null; + } + } + + /** + * Sets the certificate + * The signed certificate created during the registration process. Read-only. + * + * @param string $val The certificate + * + * @return PrinterCreateOperation + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + + /** + * Gets the printer + * The created printer entity. Read-only. + * + * @return Printer|null The printer + */ + public function getPrinter() + { + if (array_key_exists("printer", $this->_propDict)) { + if (is_a($this->_propDict["printer"], "\Beta\Microsoft\Graph\Model\Printer") || is_null($this->_propDict["printer"])) { + return $this->_propDict["printer"]; + } else { + $this->_propDict["printer"] = new Printer($this->_propDict["printer"]); + return $this->_propDict["printer"]; + } + } + return null; + } + + /** + * Sets the printer + * The created printer entity. Read-only. + * + * @param Printer $val The printer + * + * @return PrinterCreateOperation + */ + public function setPrinter($val) + { + $this->_propDict["printer"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDefaults.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDefaults.php new file mode 100644 index 0000000..a216a61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDefaults.php @@ -0,0 +1,713 @@ +_propDict)) { + if (is_a($this->_propDict["colorMode"], "\Beta\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorMode"])) { + return $this->_propDict["colorMode"]; + } else { + $this->_propDict["colorMode"] = new PrintColorMode($this->_propDict["colorMode"]); + return $this->_propDict["colorMode"]; + } + } + return null; + } + + /** + * Sets the colorMode + * The default color mode to use when printing the document. Valid values are described in the following table. + * + * @param PrintColorMode $val The value to assign to the colorMode + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setColorMode($val) + { + $this->_propDict["colorMode"] = $val; + return $this; + } + /** + * Gets the contentType + * The default content (MIME) type to use when processing documents. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The default content (MIME) type to use when processing documents. + * + * @param string $val The value of the contentType + * + * @return PrinterDefaults + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the copiesPerJob + * The default number of copies printed per job. + * + * @return int|null The copiesPerJob + */ + public function getCopiesPerJob() + { + if (array_key_exists("copiesPerJob", $this->_propDict)) { + return $this->_propDict["copiesPerJob"]; + } else { + return null; + } + } + + /** + * Sets the copiesPerJob + * The default number of copies printed per job. + * + * @param int $val The value of the copiesPerJob + * + * @return PrinterDefaults + */ + public function setCopiesPerJob($val) + { + $this->_propDict["copiesPerJob"] = $val; + return $this; + } + /** + * Gets the documentMimeType + * + * @return string|null The documentMimeType + */ + public function getDocumentMimeType() + { + if (array_key_exists("documentMimeType", $this->_propDict)) { + return $this->_propDict["documentMimeType"]; + } else { + return null; + } + } + + /** + * Sets the documentMimeType + * + * @param string $val The value of the documentMimeType + * + * @return PrinterDefaults + */ + public function setDocumentMimeType($val) + { + $this->_propDict["documentMimeType"] = $val; + return $this; + } + /** + * Gets the dpi + * The default resolution in DPI to use when printing the job. + * + * @return int|null The dpi + */ + public function getDpi() + { + if (array_key_exists("dpi", $this->_propDict)) { + return $this->_propDict["dpi"]; + } else { + return null; + } + } + + /** + * Sets the dpi + * The default resolution in DPI to use when printing the job. + * + * @param int $val The value of the dpi + * + * @return PrinterDefaults + */ + public function setDpi($val) + { + $this->_propDict["dpi"] = $val; + return $this; + } + + /** + * Gets the duplexConfiguration + * + * @return PrintDuplexConfiguration|null The duplexConfiguration + */ + public function getDuplexConfiguration() + { + if (array_key_exists("duplexConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["duplexConfiguration"], "\Beta\Microsoft\Graph\Model\PrintDuplexConfiguration") || is_null($this->_propDict["duplexConfiguration"])) { + return $this->_propDict["duplexConfiguration"]; + } else { + $this->_propDict["duplexConfiguration"] = new PrintDuplexConfiguration($this->_propDict["duplexConfiguration"]); + return $this->_propDict["duplexConfiguration"]; + } + } + return null; + } + + /** + * Sets the duplexConfiguration + * + * @param PrintDuplexConfiguration $val The value to assign to the duplexConfiguration + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setDuplexConfiguration($val) + { + $this->_propDict["duplexConfiguration"] = $val; + return $this; + } + + /** + * Gets the duplexMode + * The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table. + * + * @return PrintDuplexMode|null The duplexMode + */ + public function getDuplexMode() + { + if (array_key_exists("duplexMode", $this->_propDict)) { + if (is_a($this->_propDict["duplexMode"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexMode"])) { + return $this->_propDict["duplexMode"]; + } else { + $this->_propDict["duplexMode"] = new PrintDuplexMode($this->_propDict["duplexMode"]); + return $this->_propDict["duplexMode"]; + } + } + return null; + } + + /** + * Sets the duplexMode + * The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table. + * + * @param PrintDuplexMode $val The value to assign to the duplexMode + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setDuplexMode($val) + { + $this->_propDict["duplexMode"] = $val; + return $this; + } + + /** + * Gets the finishings + * The default set of finishings to apply to print jobs. Valid values are described in the following table. + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * The default set of finishings to apply to print jobs. Valid values are described in the following table. + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the fitPdfToPage + * The default fitPdfToPage setting. True to fit each page of a PDF document to a physical sheet of media; false to let the printer decide how to lay out impressions. + * + * @return bool|null The fitPdfToPage + */ + public function getFitPdfToPage() + { + if (array_key_exists("fitPdfToPage", $this->_propDict)) { + return $this->_propDict["fitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the fitPdfToPage + * The default fitPdfToPage setting. True to fit each page of a PDF document to a physical sheet of media; false to let the printer decide how to lay out impressions. + * + * @param bool $val The value of the fitPdfToPage + * + * @return PrinterDefaults + */ + public function setFitPdfToPage($val) + { + $this->_propDict["fitPdfToPage"] = $val; + return $this; + } + /** + * Gets the inputBin + * The default input bin that serves as the paper source. + * + * @return string|null The inputBin + */ + public function getInputBin() + { + if (array_key_exists("inputBin", $this->_propDict)) { + return $this->_propDict["inputBin"]; + } else { + return null; + } + } + + /** + * Sets the inputBin + * The default input bin that serves as the paper source. + * + * @param string $val The value of the inputBin + * + * @return PrinterDefaults + */ + public function setInputBin($val) + { + $this->_propDict["inputBin"] = $val; + return $this; + } + /** + * Gets the mediaColor + * The default media (such as paper) color to print the document on. + * + * @return string|null The mediaColor + */ + public function getMediaColor() + { + if (array_key_exists("mediaColor", $this->_propDict)) { + return $this->_propDict["mediaColor"]; + } else { + return null; + } + } + + /** + * Sets the mediaColor + * The default media (such as paper) color to print the document on. + * + * @param string $val The value of the mediaColor + * + * @return PrinterDefaults + */ + public function setMediaColor($val) + { + $this->_propDict["mediaColor"] = $val; + return $this; + } + /** + * Gets the mediaSize + * The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @return string|null The mediaSize + */ + public function getMediaSize() + { + if (array_key_exists("mediaSize", $this->_propDict)) { + return $this->_propDict["mediaSize"]; + } else { + return null; + } + } + + /** + * Sets the mediaSize + * The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @param string $val The value of the mediaSize + * + * @return PrinterDefaults + */ + public function setMediaSize($val) + { + $this->_propDict["mediaSize"] = $val; + return $this; + } + /** + * Gets the mediaType + * The default media (such as paper) type to print the document on. + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * The default media (such as paper) type to print the document on. + * + * @param string $val The value of the mediaType + * + * @return PrinterDefaults + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + + /** + * Gets the multipageLayout + * The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @return PrintMultipageLayout|null The multipageLayout + */ + public function getMultipageLayout() + { + if (array_key_exists("multipageLayout", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayout"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayout"])) { + return $this->_propDict["multipageLayout"]; + } else { + $this->_propDict["multipageLayout"] = new PrintMultipageLayout($this->_propDict["multipageLayout"]); + return $this->_propDict["multipageLayout"]; + } + } + return null; + } + + /** + * Sets the multipageLayout + * The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayout + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setMultipageLayout($val) + { + $this->_propDict["multipageLayout"] = $val; + return $this; + } + + /** + * Gets the orientation + * The default orientation to use when printing the document. Valid values are described in the following table. + * + * @return PrintOrientation|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientation"])) { + return $this->_propDict["orientation"]; + } else { + $this->_propDict["orientation"] = new PrintOrientation($this->_propDict["orientation"]); + return $this->_propDict["orientation"]; + } + } + return null; + } + + /** + * Sets the orientation + * The default orientation to use when printing the document. Valid values are described in the following table. + * + * @param PrintOrientation $val The value to assign to the orientation + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + /** + * Gets the outputBin + * The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @return string|null The outputBin + */ + public function getOutputBin() + { + if (array_key_exists("outputBin", $this->_propDict)) { + return $this->_propDict["outputBin"]; + } else { + return null; + } + } + + /** + * Sets the outputBin + * The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @param string $val The value of the outputBin + * + * @return PrinterDefaults + */ + public function setOutputBin($val) + { + $this->_propDict["outputBin"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * The default number of document pages to print on each sheet. + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * The default number of document pages to print on each sheet. + * + * @param int $val The value of the pagesPerSheet + * + * @return PrinterDefaults + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + /** + * Gets the pdfFitToPage + * + * @return bool|null The pdfFitToPage + */ + public function getPdfFitToPage() + { + if (array_key_exists("pdfFitToPage", $this->_propDict)) { + return $this->_propDict["pdfFitToPage"]; + } else { + return null; + } + } + + /** + * Sets the pdfFitToPage + * + * @param bool $val The value of the pdfFitToPage + * + * @return PrinterDefaults + */ + public function setPdfFitToPage($val) + { + $this->_propDict["pdfFitToPage"] = $val; + return $this; + } + + /** + * Gets the presentationDirection + * + * @return PrintPresentationDirection|null The presentationDirection + */ + public function getPresentationDirection() + { + if (array_key_exists("presentationDirection", $this->_propDict)) { + if (is_a($this->_propDict["presentationDirection"], "\Beta\Microsoft\Graph\Model\PrintPresentationDirection") || is_null($this->_propDict["presentationDirection"])) { + return $this->_propDict["presentationDirection"]; + } else { + $this->_propDict["presentationDirection"] = new PrintPresentationDirection($this->_propDict["presentationDirection"]); + return $this->_propDict["presentationDirection"]; + } + } + return null; + } + + /** + * Sets the presentationDirection + * + * @param PrintPresentationDirection $val The value to assign to the presentationDirection + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setPresentationDirection($val) + { + $this->_propDict["presentationDirection"] = $val; + return $this; + } + + /** + * Gets the printColorConfiguration + * + * @return PrintColorConfiguration|null The printColorConfiguration + */ + public function getPrintColorConfiguration() + { + if (array_key_exists("printColorConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["printColorConfiguration"], "\Beta\Microsoft\Graph\Model\PrintColorConfiguration") || is_null($this->_propDict["printColorConfiguration"])) { + return $this->_propDict["printColorConfiguration"]; + } else { + $this->_propDict["printColorConfiguration"] = new PrintColorConfiguration($this->_propDict["printColorConfiguration"]); + return $this->_propDict["printColorConfiguration"]; + } + } + return null; + } + + /** + * Sets the printColorConfiguration + * + * @param PrintColorConfiguration $val The value to assign to the printColorConfiguration + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setPrintColorConfiguration($val) + { + $this->_propDict["printColorConfiguration"] = $val; + return $this; + } + + /** + * Gets the printQuality + * + * @return PrintQuality|null The printQuality + */ + public function getPrintQuality() + { + if (array_key_exists("printQuality", $this->_propDict)) { + if (is_a($this->_propDict["printQuality"], "\Beta\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["printQuality"])) { + return $this->_propDict["printQuality"]; + } else { + $this->_propDict["printQuality"] = new PrintQuality($this->_propDict["printQuality"]); + return $this->_propDict["printQuality"]; + } + } + return null; + } + + /** + * Sets the printQuality + * + * @param PrintQuality $val The value to assign to the printQuality + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setPrintQuality($val) + { + $this->_propDict["printQuality"] = $val; + return $this; + } + + /** + * Gets the quality + * The default quality to use when printing the document. Valid values are described in the following table. + * + * @return PrintQuality|null The quality + */ + public function getQuality() + { + if (array_key_exists("quality", $this->_propDict)) { + if (is_a($this->_propDict["quality"], "\Beta\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["quality"])) { + return $this->_propDict["quality"]; + } else { + $this->_propDict["quality"] = new PrintQuality($this->_propDict["quality"]); + return $this->_propDict["quality"]; + } + } + return null; + } + + /** + * Sets the quality + * The default quality to use when printing the document. Valid values are described in the following table. + * + * @param PrintQuality $val The value to assign to the quality + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setQuality($val) + { + $this->_propDict["quality"] = $val; + return $this; + } + + /** + * Gets the scaling + * Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table. + * + * @return PrintScaling|null The scaling + */ + public function getScaling() + { + if (array_key_exists("scaling", $this->_propDict)) { + if (is_a($this->_propDict["scaling"], "\Beta\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scaling"])) { + return $this->_propDict["scaling"]; + } else { + $this->_propDict["scaling"] = new PrintScaling($this->_propDict["scaling"]); + return $this->_propDict["scaling"]; + } + } + return null; + } + + /** + * Sets the scaling + * Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table. + * + * @param PrintScaling $val The value to assign to the scaling + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setScaling($val) + { + $this->_propDict["scaling"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDocumentConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDocumentConfiguration.php new file mode 100644 index 0000000..0e9379d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDocumentConfiguration.php @@ -0,0 +1,601 @@ +_propDict)) { + return $this->_propDict["collate"]; + } else { + return null; + } + } + + /** + * Sets the collate + * + * @param bool $val The value of the collate + * + * @return PrinterDocumentConfiguration + */ + public function setCollate($val) + { + $this->_propDict["collate"] = $val; + return $this; + } + + /** + * Gets the colorMode + * + * @return PrintColorMode|null The colorMode + */ + public function getColorMode() + { + if (array_key_exists("colorMode", $this->_propDict)) { + if (is_a($this->_propDict["colorMode"], "\Beta\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorMode"])) { + return $this->_propDict["colorMode"]; + } else { + $this->_propDict["colorMode"] = new PrintColorMode($this->_propDict["colorMode"]); + return $this->_propDict["colorMode"]; + } + } + return null; + } + + /** + * Sets the colorMode + * + * @param PrintColorMode $val The value to assign to the colorMode + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setColorMode($val) + { + $this->_propDict["colorMode"] = $val; + return $this; + } + /** + * Gets the copies + * + * @return int|null The copies + */ + public function getCopies() + { + if (array_key_exists("copies", $this->_propDict)) { + return $this->_propDict["copies"]; + } else { + return null; + } + } + + /** + * Sets the copies + * + * @param int $val The value of the copies + * + * @return PrinterDocumentConfiguration + */ + public function setCopies($val) + { + $this->_propDict["copies"] = $val; + return $this; + } + /** + * Gets the dpi + * + * @return int|null The dpi + */ + public function getDpi() + { + if (array_key_exists("dpi", $this->_propDict)) { + return $this->_propDict["dpi"]; + } else { + return null; + } + } + + /** + * Sets the dpi + * + * @param int $val The value of the dpi + * + * @return PrinterDocumentConfiguration + */ + public function setDpi($val) + { + $this->_propDict["dpi"] = $val; + return $this; + } + + /** + * Gets the duplexMode + * + * @return PrintDuplexMode|null The duplexMode + */ + public function getDuplexMode() + { + if (array_key_exists("duplexMode", $this->_propDict)) { + if (is_a($this->_propDict["duplexMode"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexMode"])) { + return $this->_propDict["duplexMode"]; + } else { + $this->_propDict["duplexMode"] = new PrintDuplexMode($this->_propDict["duplexMode"]); + return $this->_propDict["duplexMode"]; + } + } + return null; + } + + /** + * Sets the duplexMode + * + * @param PrintDuplexMode $val The value to assign to the duplexMode + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setDuplexMode($val) + { + $this->_propDict["duplexMode"] = $val; + return $this; + } + + /** + * Gets the feedDirection + * + * @return PrinterFeedDirection|null The feedDirection + */ + public function getFeedDirection() + { + if (array_key_exists("feedDirection", $this->_propDict)) { + if (is_a($this->_propDict["feedDirection"], "\Beta\Microsoft\Graph\Model\PrinterFeedDirection") || is_null($this->_propDict["feedDirection"])) { + return $this->_propDict["feedDirection"]; + } else { + $this->_propDict["feedDirection"] = new PrinterFeedDirection($this->_propDict["feedDirection"]); + return $this->_propDict["feedDirection"]; + } + } + return null; + } + + /** + * Sets the feedDirection + * + * @param PrinterFeedDirection $val The value to assign to the feedDirection + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setFeedDirection($val) + { + $this->_propDict["feedDirection"] = $val; + return $this; + } + + /** + * Gets the feedOrientation + * + * @return PrinterFeedOrientation|null The feedOrientation + */ + public function getFeedOrientation() + { + if (array_key_exists("feedOrientation", $this->_propDict)) { + if (is_a($this->_propDict["feedOrientation"], "\Beta\Microsoft\Graph\Model\PrinterFeedOrientation") || is_null($this->_propDict["feedOrientation"])) { + return $this->_propDict["feedOrientation"]; + } else { + $this->_propDict["feedOrientation"] = new PrinterFeedOrientation($this->_propDict["feedOrientation"]); + return $this->_propDict["feedOrientation"]; + } + } + return null; + } + + /** + * Sets the feedOrientation + * + * @param PrinterFeedOrientation $val The value to assign to the feedOrientation + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setFeedOrientation($val) + { + $this->_propDict["feedOrientation"] = $val; + return $this; + } + + /** + * Gets the finishings + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the fitPdfToPage + * + * @return bool|null The fitPdfToPage + */ + public function getFitPdfToPage() + { + if (array_key_exists("fitPdfToPage", $this->_propDict)) { + return $this->_propDict["fitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the fitPdfToPage + * + * @param bool $val The value of the fitPdfToPage + * + * @return PrinterDocumentConfiguration + */ + public function setFitPdfToPage($val) + { + $this->_propDict["fitPdfToPage"] = $val; + return $this; + } + /** + * Gets the inputBin + * + * @return string|null The inputBin + */ + public function getInputBin() + { + if (array_key_exists("inputBin", $this->_propDict)) { + return $this->_propDict["inputBin"]; + } else { + return null; + } + } + + /** + * Sets the inputBin + * + * @param string $val The value of the inputBin + * + * @return PrinterDocumentConfiguration + */ + public function setInputBin($val) + { + $this->_propDict["inputBin"] = $val; + return $this; + } + + /** + * Gets the margin + * + * @return PrintMargin|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + if (is_a($this->_propDict["margin"], "\Beta\Microsoft\Graph\Model\PrintMargin") || is_null($this->_propDict["margin"])) { + return $this->_propDict["margin"]; + } else { + $this->_propDict["margin"] = new PrintMargin($this->_propDict["margin"]); + return $this->_propDict["margin"]; + } + } + return null; + } + + /** + * Sets the margin + * + * @param PrintMargin $val The value to assign to the margin + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the mediaSize + * + * @return string|null The mediaSize + */ + public function getMediaSize() + { + if (array_key_exists("mediaSize", $this->_propDict)) { + return $this->_propDict["mediaSize"]; + } else { + return null; + } + } + + /** + * Sets the mediaSize + * + * @param string $val The value of the mediaSize + * + * @return PrinterDocumentConfiguration + */ + public function setMediaSize($val) + { + $this->_propDict["mediaSize"] = $val; + return $this; + } + /** + * Gets the mediaType + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * + * @param string $val The value of the mediaType + * + * @return PrinterDocumentConfiguration + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + + /** + * Gets the multipageLayout + * + * @return PrintMultipageLayout|null The multipageLayout + */ + public function getMultipageLayout() + { + if (array_key_exists("multipageLayout", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayout"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayout"])) { + return $this->_propDict["multipageLayout"]; + } else { + $this->_propDict["multipageLayout"] = new PrintMultipageLayout($this->_propDict["multipageLayout"]); + return $this->_propDict["multipageLayout"]; + } + } + return null; + } + + /** + * Sets the multipageLayout + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayout + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setMultipageLayout($val) + { + $this->_propDict["multipageLayout"] = $val; + return $this; + } + + /** + * Gets the orientation + * + * @return PrintOrientation|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientation"])) { + return $this->_propDict["orientation"]; + } else { + $this->_propDict["orientation"] = new PrintOrientation($this->_propDict["orientation"]); + return $this->_propDict["orientation"]; + } + } + return null; + } + + /** + * Sets the orientation + * + * @param PrintOrientation $val The value to assign to the orientation + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + /** + * Gets the outputBin + * + * @return string|null The outputBin + */ + public function getOutputBin() + { + if (array_key_exists("outputBin", $this->_propDict)) { + return $this->_propDict["outputBin"]; + } else { + return null; + } + } + + /** + * Sets the outputBin + * + * @param string $val The value of the outputBin + * + * @return PrinterDocumentConfiguration + */ + public function setOutputBin($val) + { + $this->_propDict["outputBin"] = $val; + return $this; + } + + /** + * Gets the pageRanges + * + * @return IntegerRange|null The pageRanges + */ + public function getPageRanges() + { + if (array_key_exists("pageRanges", $this->_propDict)) { + if (is_a($this->_propDict["pageRanges"], "\Beta\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["pageRanges"])) { + return $this->_propDict["pageRanges"]; + } else { + $this->_propDict["pageRanges"] = new IntegerRange($this->_propDict["pageRanges"]); + return $this->_propDict["pageRanges"]; + } + } + return null; + } + + /** + * Sets the pageRanges + * + * @param IntegerRange $val The value to assign to the pageRanges + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setPageRanges($val) + { + $this->_propDict["pageRanges"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * + * @param int $val The value of the pagesPerSheet + * + * @return PrinterDocumentConfiguration + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the quality + * + * @return PrintQuality|null The quality + */ + public function getQuality() + { + if (array_key_exists("quality", $this->_propDict)) { + if (is_a($this->_propDict["quality"], "\Beta\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["quality"])) { + return $this->_propDict["quality"]; + } else { + $this->_propDict["quality"] = new PrintQuality($this->_propDict["quality"]); + return $this->_propDict["quality"]; + } + } + return null; + } + + /** + * Sets the quality + * + * @param PrintQuality $val The value to assign to the quality + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setQuality($val) + { + $this->_propDict["quality"] = $val; + return $this; + } + + /** + * Gets the scaling + * + * @return PrintScaling|null The scaling + */ + public function getScaling() + { + if (array_key_exists("scaling", $this->_propDict)) { + if (is_a($this->_propDict["scaling"], "\Beta\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scaling"])) { + return $this->_propDict["scaling"]; + } else { + $this->_propDict["scaling"] = new PrintScaling($this->_propDict["scaling"]); + return $this->_propDict["scaling"]; + } + } + return null; + } + + /** + * Sets the scaling + * + * @param PrintScaling $val The value to assign to the scaling + * + * @return PrinterDocumentConfiguration The PrinterDocumentConfiguration + */ + public function setScaling($val) + { + $this->_propDict["scaling"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterFeedDirection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterFeedDirection.php new file mode 100644 index 0000000..3fcfb34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterFeedDirection.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["altitudeInMeters"]; + } else { + return null; + } + } + + /** + * Sets the altitudeInMeters + * The altitude, in meters, that the printer is located at. + * + * @param int $val The value of the altitudeInMeters + * + * @return PrinterLocation + */ + public function setAltitudeInMeters($val) + { + $this->_propDict["altitudeInMeters"] = $val; + return $this; + } + /** + * Gets the building + * The building that the printer is located in. + * + * @return string|null The building + */ + public function getBuilding() + { + if (array_key_exists("building", $this->_propDict)) { + return $this->_propDict["building"]; + } else { + return null; + } + } + + /** + * Sets the building + * The building that the printer is located in. + * + * @param string $val The value of the building + * + * @return PrinterLocation + */ + public function setBuilding($val) + { + $this->_propDict["building"] = $val; + return $this; + } + /** + * Gets the city + * The city that the printer is located in. + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city that the printer is located in. + * + * @param string $val The value of the city + * + * @return PrinterLocation + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * The country or region that the printer is located in. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * The country or region that the printer is located in. + * + * @param string $val The value of the countryOrRegion + * + * @return PrinterLocation + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + /** + * Gets the floor + * The floor that the printer is located on. Only numerical values are supported right now. + * + * @return string|null The floor + */ + public function getFloor() + { + if (array_key_exists("floor", $this->_propDict)) { + return $this->_propDict["floor"]; + } else { + return null; + } + } + + /** + * Sets the floor + * The floor that the printer is located on. Only numerical values are supported right now. + * + * @param string $val The value of the floor + * + * @return PrinterLocation + */ + public function setFloor($val) + { + $this->_propDict["floor"] = $val; + return $this; + } + /** + * Gets the floorDescription + * The description of the floor that the printer is located on. + * + * @return string|null The floorDescription + */ + public function getFloorDescription() + { + if (array_key_exists("floorDescription", $this->_propDict)) { + return $this->_propDict["floorDescription"]; + } else { + return null; + } + } + + /** + * Sets the floorDescription + * The description of the floor that the printer is located on. + * + * @param string $val The value of the floorDescription + * + * @return PrinterLocation + */ + public function setFloorDescription($val) + { + $this->_propDict["floorDescription"] = $val; + return $this; + } + /** + * Gets the floorNumber + * + * @return int|null The floorNumber + */ + public function getFloorNumber() + { + if (array_key_exists("floorNumber", $this->_propDict)) { + return $this->_propDict["floorNumber"]; + } else { + return null; + } + } + + /** + * Sets the floorNumber + * + * @param int $val The value of the floorNumber + * + * @return PrinterLocation + */ + public function setFloorNumber($val) + { + $this->_propDict["floorNumber"] = $val; + return $this; + } + /** + * Gets the latitude + * The latitude that the printer is located at. + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * The latitude that the printer is located at. + * + * @param float $val The value of the latitude + * + * @return PrinterLocation + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * The longitude that the printer is located at. + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * The longitude that the printer is located at. + * + * @param float $val The value of the longitude + * + * @return PrinterLocation + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } + /** + * Gets the organization + * The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. + * + * @param string $val The value of the organization + * + * @return PrinterLocation + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the postalCode + * The postal code that the printer is located in. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code that the printer is located in. + * + * @param string $val The value of the postalCode + * + * @return PrinterLocation + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the roomDescription + * The description of the room that the printer is located in. + * + * @return string|null The roomDescription + */ + public function getRoomDescription() + { + if (array_key_exists("roomDescription", $this->_propDict)) { + return $this->_propDict["roomDescription"]; + } else { + return null; + } + } + + /** + * Sets the roomDescription + * The description of the room that the printer is located in. + * + * @param string $val The value of the roomDescription + * + * @return PrinterLocation + */ + public function setRoomDescription($val) + { + $this->_propDict["roomDescription"] = $val; + return $this; + } + /** + * Gets the roomName + * The room that the printer is located in. Only numerical values are supported right now. + * + * @return string|null The roomName + */ + public function getRoomName() + { + if (array_key_exists("roomName", $this->_propDict)) { + return $this->_propDict["roomName"]; + } else { + return null; + } + } + + /** + * Sets the roomName + * The room that the printer is located in. Only numerical values are supported right now. + * + * @param string $val The value of the roomName + * + * @return PrinterLocation + */ + public function setRoomName($val) + { + $this->_propDict["roomName"] = $val; + return $this; + } + /** + * Gets the roomNumber + * + * @return int|null The roomNumber + */ + public function getRoomNumber() + { + if (array_key_exists("roomNumber", $this->_propDict)) { + return $this->_propDict["roomNumber"]; + } else { + return null; + } + } + + /** + * Sets the roomNumber + * + * @param int $val The value of the roomNumber + * + * @return PrinterLocation + */ + public function setRoomNumber($val) + { + $this->_propDict["roomNumber"] = $val; + return $this; + } + /** + * Gets the site + * The site that the printer is located in. + * + * @return string|null The site + */ + public function getSite() + { + if (array_key_exists("site", $this->_propDict)) { + return $this->_propDict["site"]; + } else { + return null; + } + } + + /** + * Sets the site + * The site that the printer is located in. + * + * @param string $val The value of the site + * + * @return PrinterLocation + */ + public function setSite($val) + { + $this->_propDict["site"] = $val; + return $this; + } + /** + * Gets the stateOrProvince + * The state or province that the printer is located in. + * + * @return string|null The stateOrProvince + */ + public function getStateOrProvince() + { + if (array_key_exists("stateOrProvince", $this->_propDict)) { + return $this->_propDict["stateOrProvince"]; + } else { + return null; + } + } + + /** + * Sets the stateOrProvince + * The state or province that the printer is located in. + * + * @param string $val The value of the stateOrProvince + * + * @return PrinterLocation + */ + public function setStateOrProvince($val) + { + $this->_propDict["stateOrProvince"] = $val; + return $this; + } + /** + * Gets the streetAddress + * The street address where the printer is located. + * + * @return string|null The streetAddress + */ + public function getStreetAddress() + { + if (array_key_exists("streetAddress", $this->_propDict)) { + return $this->_propDict["streetAddress"]; + } else { + return null; + } + } + + /** + * Sets the streetAddress + * The street address where the printer is located. + * + * @param string $val The value of the streetAddress + * + * @return PrinterLocation + */ + public function setStreetAddress($val) + { + $this->_propDict["streetAddress"] = $val; + return $this; + } + /** + * Gets the subdivision + * The subdivision that the printer is located in. The elements should be in hierarchical order. + * + * @return string|null The subdivision + */ + public function getSubdivision() + { + if (array_key_exists("subdivision", $this->_propDict)) { + return $this->_propDict["subdivision"]; + } else { + return null; + } + } + + /** + * Sets the subdivision + * The subdivision that the printer is located in. The elements should be in hierarchical order. + * + * @param string $val The value of the subdivision + * + * @return PrinterLocation + */ + public function setSubdivision($val) + { + $this->_propDict["subdivision"] = $val; + return $this; + } + /** + * Gets the subunit + * + * @return string|null The subunit + */ + public function getSubunit() + { + if (array_key_exists("subunit", $this->_propDict)) { + return $this->_propDict["subunit"]; + } else { + return null; + } + } + + /** + * Sets the subunit + * + * @param string $val The value of the subunit + * + * @return PrinterLocation + */ + public function setSubunit($val) + { + $this->_propDict["subunit"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterProcessingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterProcessingState.php new file mode 100644 index 0000000..f9e9631 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterProcessingState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["allowAllUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowAllUsers + * If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. + * + * @param bool $val The allowAllUsers + * + * @return PrinterShare + */ + public function setAllowAllUsers($val) + { + $this->_propDict["allowAllUsers"] = boolval($val); + return $this; + } + + /** + * Gets the createdDateTime + * The DateTimeOffset when the printer share was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The DateTimeOffset when the printer share was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return PrinterShare + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the viewPoint + * + * @return PrinterShareViewpoint|null The viewPoint + */ + public function getViewPoint() + { + if (array_key_exists("viewPoint", $this->_propDict)) { + if (is_a($this->_propDict["viewPoint"], "\Beta\Microsoft\Graph\Model\PrinterShareViewpoint") || is_null($this->_propDict["viewPoint"])) { + return $this->_propDict["viewPoint"]; + } else { + $this->_propDict["viewPoint"] = new PrinterShareViewpoint($this->_propDict["viewPoint"]); + return $this->_propDict["viewPoint"]; + } + } + return null; + } + + /** + * Sets the viewPoint + * + * @param PrinterShareViewpoint $val The viewPoint + * + * @return PrinterShare + */ + public function setViewPoint($val) + { + $this->_propDict["viewPoint"] = $val; + return $this; + } + + + /** + * Gets the allowedGroups + * The groups whose users have access to print using the printer. + * + * @return array|null The allowedGroups + */ + public function getAllowedGroups() + { + if (array_key_exists("allowedGroups", $this->_propDict)) { + return $this->_propDict["allowedGroups"]; + } else { + return null; + } + } + + /** + * Sets the allowedGroups + * The groups whose users have access to print using the printer. + * + * @param Group[] $val The allowedGroups + * + * @return PrinterShare + */ + public function setAllowedGroups($val) + { + $this->_propDict["allowedGroups"] = $val; + return $this; + } + + + /** + * Gets the allowedUsers + * The users who have access to print using the printer. + * + * @return array|null The allowedUsers + */ + public function getAllowedUsers() + { + if (array_key_exists("allowedUsers", $this->_propDict)) { + return $this->_propDict["allowedUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowedUsers + * The users who have access to print using the printer. + * + * @param User[] $val The allowedUsers + * + * @return PrinterShare + */ + public function setAllowedUsers($val) + { + $this->_propDict["allowedUsers"] = $val; + return $this; + } + + /** + * Gets the printer + * The printer that this printer share is related to. + * + * @return Printer|null The printer + */ + public function getPrinter() + { + if (array_key_exists("printer", $this->_propDict)) { + if (is_a($this->_propDict["printer"], "\Beta\Microsoft\Graph\Model\Printer") || is_null($this->_propDict["printer"])) { + return $this->_propDict["printer"]; + } else { + $this->_propDict["printer"] = new Printer($this->_propDict["printer"]); + return $this->_propDict["printer"]; + } + } + return null; + } + + /** + * Sets the printer + * The printer that this printer share is related to. + * + * @param Printer $val The printer + * + * @return PrinterShare + */ + public function setPrinter($val) + { + $this->_propDict["printer"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterShareViewpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterShareViewpoint.php new file mode 100644 index 0000000..b1e05e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterShareViewpoint.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["lastUsedDateTime"], "\DateTime") || is_null($this->_propDict["lastUsedDateTime"])) { + return $this->_propDict["lastUsedDateTime"]; + } else { + $this->_propDict["lastUsedDateTime"] = new \DateTime($this->_propDict["lastUsedDateTime"]); + return $this->_propDict["lastUsedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUsedDateTime + * + * @param \DateTime $val The value to assign to the lastUsedDateTime + * + * @return PrinterShareViewpoint The PrinterShareViewpoint + */ + public function setLastUsedDateTime($val) + { + $this->_propDict["lastUsedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterStatus.php new file mode 100644 index 0000000..fc5b6ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterStatus.php @@ -0,0 +1,208 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the printer's current processing state. Read-only. + * + * @param string $val The value of the description + * + * @return PrinterStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the details + * The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only. + * + * @return PrinterProcessingStateDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PrinterProcessingStateDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PrinterProcessingStateDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only. + * + * @param PrinterProcessingStateDetail $val The value to assign to the details + * + * @return PrinterStatus The PrinterStatus + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the processingState + * + * @return PrinterProcessingState|null The processingState + */ + public function getProcessingState() + { + if (array_key_exists("processingState", $this->_propDict)) { + if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrinterProcessingState") || is_null($this->_propDict["processingState"])) { + return $this->_propDict["processingState"]; + } else { + $this->_propDict["processingState"] = new PrinterProcessingState($this->_propDict["processingState"]); + return $this->_propDict["processingState"]; + } + } + return null; + } + + /** + * Sets the processingState + * + * @param PrinterProcessingState $val The value to assign to the processingState + * + * @return PrinterStatus The PrinterStatus + */ + public function setProcessingState($val) + { + $this->_propDict["processingState"] = $val; + return $this; + } + /** + * Gets the processingStateDescription + * + * @return string|null The processingStateDescription + */ + public function getProcessingStateDescription() + { + if (array_key_exists("processingStateDescription", $this->_propDict)) { + return $this->_propDict["processingStateDescription"]; + } else { + return null; + } + } + + /** + * Sets the processingStateDescription + * + * @param string $val The value of the processingStateDescription + * + * @return PrinterStatus + */ + public function setProcessingStateDescription($val) + { + $this->_propDict["processingStateDescription"] = $val; + return $this; + } + + /** + * Gets the processingStateReasons + * + * @return PrinterProcessingStateReason|null The processingStateReasons + */ + public function getProcessingStateReasons() + { + if (array_key_exists("processingStateReasons", $this->_propDict)) { + if (is_a($this->_propDict["processingStateReasons"], "\Beta\Microsoft\Graph\Model\PrinterProcessingStateReason") || is_null($this->_propDict["processingStateReasons"])) { + return $this->_propDict["processingStateReasons"]; + } else { + $this->_propDict["processingStateReasons"] = new PrinterProcessingStateReason($this->_propDict["processingStateReasons"]); + return $this->_propDict["processingStateReasons"]; + } + } + return null; + } + + /** + * Sets the processingStateReasons + * + * @param PrinterProcessingStateReason $val The value to assign to the processingStateReasons + * + * @return PrinterStatus The PrinterStatus + */ + public function setProcessingStateReasons($val) + { + $this->_propDict["processingStateReasons"] = $val; + return $this; + } + + /** + * Gets the state + * The current processing state. Valid values are described in the following table. Read-only. + * + * @return PrinterProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrinterProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrinterProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The current processing state. Valid values are described in the following table. Read-only. + * + * @param PrinterProcessingState $val The value to assign to the state + * + * @return PrinterStatus The PrinterStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterUsageSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterUsageSummary.php new file mode 100644 index 0000000..b30dda5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterUsageSummary.php @@ -0,0 +1,213 @@ +_propDict)) { + return $this->_propDict["completedJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedJobCount + * + * @param int $val The value of the completedJobCount + * + * @return PrinterUsageSummary + */ + public function setCompletedJobCount($val) + { + $this->_propDict["completedJobCount"] = $val; + return $this; + } + /** + * Gets the incompleteJobCount + * + * @return int|null The incompleteJobCount + */ + public function getIncompleteJobCount() + { + if (array_key_exists("incompleteJobCount", $this->_propDict)) { + return $this->_propDict["incompleteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the incompleteJobCount + * + * @param int $val The value of the incompleteJobCount + * + * @return PrinterUsageSummary + */ + public function setIncompleteJobCount($val) + { + $this->_propDict["incompleteJobCount"] = $val; + return $this; + } + /** + * Gets the printerDisplayName + * + * @return string|null The printerDisplayName + */ + public function getPrinterDisplayName() + { + if (array_key_exists("printerDisplayName", $this->_propDict)) { + return $this->_propDict["printerDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the printerDisplayName + * + * @param string $val The value of the printerDisplayName + * + * @return PrinterUsageSummary + */ + public function setPrinterDisplayName($val) + { + $this->_propDict["printerDisplayName"] = $val; + return $this; + } + /** + * Gets the printerId + * + * @return string|null The printerId + */ + public function getPrinterId() + { + if (array_key_exists("printerId", $this->_propDict)) { + return $this->_propDict["printerId"]; + } else { + return null; + } + } + + /** + * Sets the printerId + * + * @param string $val The value of the printerId + * + * @return PrinterUsageSummary + */ + public function setPrinterId($val) + { + $this->_propDict["printerId"] = $val; + return $this; + } + /** + * Gets the printerManufacturer + * + * @return string|null The printerManufacturer + */ + public function getPrinterManufacturer() + { + if (array_key_exists("printerManufacturer", $this->_propDict)) { + return $this->_propDict["printerManufacturer"]; + } else { + return null; + } + } + + /** + * Sets the printerManufacturer + * + * @param string $val The value of the printerManufacturer + * + * @return PrinterUsageSummary + */ + public function setPrinterManufacturer($val) + { + $this->_propDict["printerManufacturer"] = $val; + return $this; + } + /** + * Gets the printerModel + * + * @return string|null The printerModel + */ + public function getPrinterModel() + { + if (array_key_exists("printerModel", $this->_propDict)) { + return $this->_propDict["printerModel"]; + } else { + return null; + } + } + + /** + * Sets the printerModel + * + * @param string $val The value of the printerModel + * + * @return PrinterUsageSummary + */ + public function setPrinterModel($val) + { + $this->_propDict["printerModel"] = $val; + return $this; + } + + /** + * Gets the printer + * + * @return DirectoryObject|null The printer + */ + public function getPrinter() + { + if (array_key_exists("printer", $this->_propDict)) { + if (is_a($this->_propDict["printer"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["printer"])) { + return $this->_propDict["printer"]; + } else { + $this->_propDict["printer"] = new DirectoryObject($this->_propDict["printer"]); + return $this->_propDict["printer"]; + } + } + return null; + } + + /** + * Sets the printer + * + * @param DirectoryObject $val The value to assign to the printer + * + * @return PrinterUsageSummary The PrinterUsageSummary + */ + public function setPrinter($val) + { + $this->_propDict["printer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Priority.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Priority.php new file mode 100644 index 0000000..1a6fb60 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Priority.php @@ -0,0 +1,35 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Privacy + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the subjectRightsRequests + * + * @return array|null The subjectRightsRequests + */ + public function getSubjectRightsRequests() + { + if (array_key_exists("subjectRightsRequests", $this->_propDict)) { + return $this->_propDict["subjectRightsRequests"]; + } else { + return null; + } + } + + /** + * Sets the subjectRightsRequests + * + * @param SubjectRightsRequest[] $val The subjectRightsRequests + * + * @return Privacy + */ + public function setSubjectRightsRequests($val) + { + $this->_propDict["subjectRightsRequests"] = $val; + 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 Privacy + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivacyProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivacyProfile.php new file mode 100644 index 0000000..5deebbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivacyProfile.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["contactEmail"]; + } else { + return null; + } + } + + /** + * Sets the contactEmail + * A valid smtp email address for the privacy statement contact. Not required. + * + * @param string $val The value of the contactEmail + * + * @return PrivacyProfile + */ + public function setContactEmail($val) + { + $this->_propDict["contactEmail"] = $val; + return $this; + } + /** + * Gets the statementUrl + * A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required. + * + * @return string|null The statementUrl + */ + public function getStatementUrl() + { + if (array_key_exists("statementUrl", $this->_propDict)) { + return $this->_propDict["statementUrl"]; + } else { + return null; + } + } + + /** + * Sets the statementUrl + * A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required. + * + * @param string $val The value of the statementUrl + * + * @return PrivacyProfile + */ + public function setStatementUrl($val) + { + $this->_propDict["statementUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateLinkDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateLinkDetails.php new file mode 100644 index 0000000..5b7a536 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateLinkDetails.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * The unique identifier for the Private Link policy. + * + * @param string $val The value of the policyId + * + * @return PrivateLinkDetails + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + /** + * Gets the policyName + * The name of the Private Link policy in Azure AD. + * + * @return string|null The policyName + */ + public function getPolicyName() + { + if (array_key_exists("policyName", $this->_propDict)) { + return $this->_propDict["policyName"]; + } else { + return null; + } + } + + /** + * Sets the policyName + * The name of the Private Link policy in Azure AD. + * + * @param string $val The value of the policyName + * + * @return PrivateLinkDetails + */ + public function setPolicyName($val) + { + $this->_propDict["policyName"] = $val; + return $this; + } + /** + * Gets the policyTenantId + * The tenant identifier of the Azure AD tenant the Private Link policy belongs to. + * + * @return string|null The policyTenantId + */ + public function getPolicyTenantId() + { + if (array_key_exists("policyTenantId", $this->_propDict)) { + return $this->_propDict["policyTenantId"]; + } else { + return null; + } + } + + /** + * Sets the policyTenantId + * The tenant identifier of the Azure AD tenant the Private Link policy belongs to. + * + * @param string $val The value of the policyTenantId + * + * @return PrivateLinkDetails + */ + public function setPolicyTenantId($val) + { + $this->_propDict["policyTenantId"] = $val; + return $this; + } + /** + * Gets the resourceId + * The Azure Resource Manager (ARM) path for the Private Link policy resource. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The Azure Resource Manager (ARM) path for the Private Link policy resource. + * + * @param string $val The value of the resourceId + * + * @return PrivateLinkDetails + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedAccess.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedAccess.php new file mode 100644 index 0000000..4019967 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedAccess.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the provider managed by PIM. + * + * @param string $val The displayName + * + * @return PrivilegedAccess + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the resources + * A collection of resources for the provider. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * A collection of resources for the provider. + * + * @param GovernanceResource[] $val The resources + * + * @return PrivilegedAccess + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentRequests + * A collection of role assignment requests for the provider. + * + * @return array|null The roleAssignmentRequests + */ + public function getRoleAssignmentRequests() + { + if (array_key_exists("roleAssignmentRequests", $this->_propDict)) { + return $this->_propDict["roleAssignmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentRequests + * A collection of role assignment requests for the provider. + * + * @param GovernanceRoleAssignmentRequest[] $val The roleAssignmentRequests + * + * @return PrivilegedAccess + */ + public function setRoleAssignmentRequests($val) + { + $this->_propDict["roleAssignmentRequests"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * A collection of role assignments for the provider. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * A collection of role assignments for the provider. + * + * @param GovernanceRoleAssignment[] $val The roleAssignments + * + * @return PrivilegedAccess + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * A collection of role defintions for the provider. + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * A collection of role defintions for the provider. + * + * @param GovernanceRoleDefinition[] $val The roleDefinitions + * + * @return PrivilegedAccess + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the roleSettings + * A collection of role settings for the provider. + * + * @return array|null The roleSettings + */ + public function getRoleSettings() + { + if (array_key_exists("roleSettings", $this->_propDict)) { + return $this->_propDict["roleSettings"]; + } else { + return null; + } + } + + /** + * Sets the roleSettings + * A collection of role settings for the provider. + * + * @param GovernanceRoleSetting[] $val The roleSettings + * + * @return PrivilegedAccess + */ + public function setRoleSettings($val) + { + $this->_propDict["roleSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedApproval.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedApproval.php new file mode 100644 index 0000000..7e3f0d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedApproval.php @@ -0,0 +1,358 @@ +_propDict)) { + if (is_a($this->_propDict["approvalDuration"], "\DateInterval") || is_null($this->_propDict["approvalDuration"])) { + return $this->_propDict["approvalDuration"]; + } else { + $this->_propDict["approvalDuration"] = new \DateInterval($this->_propDict["approvalDuration"]); + return $this->_propDict["approvalDuration"]; + } + } + return null; + } + + /** + * Sets the approvalDuration + * + * @param \DateInterval $val The approvalDuration + * + * @return PrivilegedApproval + */ + public function setApprovalDuration($val) + { + $this->_propDict["approvalDuration"] = $val; + return $this; + } + + /** + * Gets the approvalState + * Possible values are: pending, approved, denied, aborted, canceled. + * + * @return ApprovalState|null The approvalState + */ + public function getApprovalState() + { + if (array_key_exists("approvalState", $this->_propDict)) { + if (is_a($this->_propDict["approvalState"], "\Beta\Microsoft\Graph\Model\ApprovalState") || is_null($this->_propDict["approvalState"])) { + return $this->_propDict["approvalState"]; + } else { + $this->_propDict["approvalState"] = new ApprovalState($this->_propDict["approvalState"]); + return $this->_propDict["approvalState"]; + } + } + return null; + } + + /** + * Sets the approvalState + * Possible values are: pending, approved, denied, aborted, canceled. + * + * @param ApprovalState $val The approvalState + * + * @return PrivilegedApproval + */ + public function setApprovalState($val) + { + $this->_propDict["approvalState"] = $val; + return $this; + } + + /** + * Gets the approvalType + * + * @return string|null The approvalType + */ + public function getApprovalType() + { + if (array_key_exists("approvalType", $this->_propDict)) { + return $this->_propDict["approvalType"]; + } else { + return null; + } + } + + /** + * Sets the approvalType + * + * @param string $val The approvalType + * + * @return PrivilegedApproval + */ + public function setApprovalType($val) + { + $this->_propDict["approvalType"] = $val; + return $this; + } + + /** + * Gets the approverReason + * + * @return string|null The approverReason + */ + public function getApproverReason() + { + if (array_key_exists("approverReason", $this->_propDict)) { + return $this->_propDict["approverReason"]; + } else { + return null; + } + } + + /** + * Sets the approverReason + * + * @param string $val The approverReason + * + * @return PrivilegedApproval + */ + public function setApproverReason($val) + { + $this->_propDict["approverReason"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * 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 endDateTime + * + * @return PrivilegedApproval + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the requestorReason + * + * @return string|null The requestorReason + */ + public function getRequestorReason() + { + if (array_key_exists("requestorReason", $this->_propDict)) { + return $this->_propDict["requestorReason"]; + } else { + return null; + } + } + + /** + * Sets the requestorReason + * + * @param string $val The requestorReason + * + * @return PrivilegedApproval + */ + public function setRequestorReason($val) + { + $this->_propDict["requestorReason"] = $val; + return $this; + } + + /** + * Gets the roleId + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * + * @param string $val The roleId + * + * @return PrivilegedApproval + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The startDateTime + * + * @return PrivilegedApproval + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $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 userId + * + * @return PrivilegedApproval + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the request + * Read-only. The role assignment request for this approval object + * + * @return PrivilegedRoleAssignmentRequest|null The request + */ + public function getRequest() + { + if (array_key_exists("request", $this->_propDict)) { + if (is_a($this->_propDict["request"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleAssignmentRequest") || is_null($this->_propDict["request"])) { + return $this->_propDict["request"]; + } else { + $this->_propDict["request"] = new PrivilegedRoleAssignmentRequest($this->_propDict["request"]); + return $this->_propDict["request"]; + } + } + return null; + } + + /** + * Sets the request + * Read-only. The role assignment request for this approval object + * + * @param PrivilegedRoleAssignmentRequest $val The request + * + * @return PrivilegedApproval + */ + public function setRequest($val) + { + $this->_propDict["request"] = $val; + return $this; + } + + /** + * Gets the roleInfo + * Read-only. Nullable. + * + * @return PrivilegedRole|null The roleInfo + */ + public function getRoleInfo() + { + if (array_key_exists("roleInfo", $this->_propDict)) { + if (is_a($this->_propDict["roleInfo"], "\Beta\Microsoft\Graph\Model\PrivilegedRole") || is_null($this->_propDict["roleInfo"])) { + return $this->_propDict["roleInfo"]; + } else { + $this->_propDict["roleInfo"] = new PrivilegedRole($this->_propDict["roleInfo"]); + return $this->_propDict["roleInfo"]; + } + } + return null; + } + + /** + * Sets the roleInfo + * Read-only. Nullable. + * + * @param PrivilegedRole $val The roleInfo + * + * @return PrivilegedApproval + */ + public function setRoleInfo($val) + { + $this->_propDict["roleInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedOperationEvent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedOperationEvent.php new file mode 100644 index 0000000..dc2928b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedOperationEvent.php @@ -0,0 +1,441 @@ +_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * Detailed human readable information for the event. + * + * @param string $val The additionalInformation + * + * @return PrivilegedOperationEvent + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * Indicates the time when the event is created. + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * Indicates the time when the event is created. + * + * @param \DateTime $val The creationDateTime + * + * @return PrivilegedOperationEvent + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * This is only used when the requestType is Activate, and it indicates the expiration time for the role activation. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * This is only used when the requestType is Activate, and it indicates the expiration time for the role activation. + * + * @param \DateTime $val The expirationDateTime + * + * @return PrivilegedOperationEvent + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the referenceKey + * Incident/Request ticket number during role activation. The value is presented only if the ticket number is provided during role activation. + * + * @return string|null The referenceKey + */ + public function getReferenceKey() + { + if (array_key_exists("referenceKey", $this->_propDict)) { + return $this->_propDict["referenceKey"]; + } else { + return null; + } + } + + /** + * Sets the referenceKey + * Incident/Request ticket number during role activation. The value is presented only if the ticket number is provided during role activation. + * + * @param string $val The referenceKey + * + * @return PrivilegedOperationEvent + */ + public function setReferenceKey($val) + { + $this->_propDict["referenceKey"] = $val; + return $this; + } + + /** + * Gets the referenceSystem + * Incident/Request ticketing system provided during tole activation. The value is presented only if the ticket system is provided during role activation. + * + * @return string|null The referenceSystem + */ + public function getReferenceSystem() + { + if (array_key_exists("referenceSystem", $this->_propDict)) { + return $this->_propDict["referenceSystem"]; + } else { + return null; + } + } + + /** + * Sets the referenceSystem + * Incident/Request ticketing system provided during tole activation. The value is presented only if the ticket system is provided during role activation. + * + * @param string $val The referenceSystem + * + * @return PrivilegedOperationEvent + */ + public function setReferenceSystem($val) + { + $this->_propDict["referenceSystem"] = $val; + return $this; + } + + /** + * Gets the requestorId + * The user id of the requestor who initiates the operation. + * + * @return string|null The requestorId + */ + public function getRequestorId() + { + if (array_key_exists("requestorId", $this->_propDict)) { + return $this->_propDict["requestorId"]; + } else { + return null; + } + } + + /** + * Sets the requestorId + * The user id of the requestor who initiates the operation. + * + * @param string $val The requestorId + * + * @return PrivilegedOperationEvent + */ + public function setRequestorId($val) + { + $this->_propDict["requestorId"] = $val; + return $this; + } + + /** + * Gets the requestorName + * The user name of the requestor who initiates the operation. + * + * @return string|null The requestorName + */ + public function getRequestorName() + { + if (array_key_exists("requestorName", $this->_propDict)) { + return $this->_propDict["requestorName"]; + } else { + return null; + } + } + + /** + * Sets the requestorName + * The user name of the requestor who initiates the operation. + * + * @param string $val The requestorName + * + * @return PrivilegedOperationEvent + */ + public function setRequestorName($val) + { + $this->_propDict["requestorName"] = $val; + return $this; + } + + /** + * Gets the requestType + * The request operation type. The requestType value can be: Assign (role assignment), Activate (role activation), Unassign (remove role assignment), Deactivate (role deactivation), ScanAlertsNow (scan security alerts), DismissAlert (dismiss security alert), FixAlertItem (fix a security alert issue), AccessReview_Review (review an Access Review), AccessReview_Create (create an Access Review) , AccessReview_Update (update an Access Review), AccessReview_Delete (delete an Access Review). + * + * @return string|null The requestType + */ + public function getRequestType() + { + if (array_key_exists("requestType", $this->_propDict)) { + return $this->_propDict["requestType"]; + } else { + return null; + } + } + + /** + * Sets the requestType + * The request operation type. The requestType value can be: Assign (role assignment), Activate (role activation), Unassign (remove role assignment), Deactivate (role deactivation), ScanAlertsNow (scan security alerts), DismissAlert (dismiss security alert), FixAlertItem (fix a security alert issue), AccessReview_Review (review an Access Review), AccessReview_Create (create an Access Review) , AccessReview_Update (update an Access Review), AccessReview_Delete (delete an Access Review). + * + * @param string $val The requestType + * + * @return PrivilegedOperationEvent + */ + public function setRequestType($val) + { + $this->_propDict["requestType"] = $val; + return $this; + } + + /** + * Gets the roleId + * The id of the role that is associated with the operation. + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * The id of the role that is associated with the operation. + * + * @param string $val The roleId + * + * @return PrivilegedOperationEvent + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + + /** + * Gets the roleName + * The name of the role. + * + * @return string|null The roleName + */ + public function getRoleName() + { + if (array_key_exists("roleName", $this->_propDict)) { + return $this->_propDict["roleName"]; + } else { + return null; + } + } + + /** + * Sets the roleName + * The name of the role. + * + * @param string $val The roleName + * + * @return PrivilegedOperationEvent + */ + public function setRoleName($val) + { + $this->_propDict["roleName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The tenant (organization) id. + * + * @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 + * The tenant (organization) id. + * + * @param string $val The tenantId + * + * @return PrivilegedOperationEvent + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userId + * The id of the user that is associated with the operation. + * + * @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 + * The id of the user that is associated with the operation. + * + * @param string $val The userId + * + * @return PrivilegedOperationEvent + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userMail + * The user's email. + * + * @return string|null The userMail + */ + public function getUserMail() + { + if (array_key_exists("userMail", $this->_propDict)) { + return $this->_propDict["userMail"]; + } else { + return null; + } + } + + /** + * Sets the userMail + * The user's email. + * + * @param string $val The userMail + * + * @return PrivilegedOperationEvent + */ + public function setUserMail($val) + { + $this->_propDict["userMail"] = $val; + return $this; + } + + /** + * Gets the userName + * The user's display name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The user's display name. + * + * @param string $val The userName + * + * @return PrivilegedOperationEvent + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRole.php new file mode 100644 index 0000000..d189777 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRole.php @@ -0,0 +1,152 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Role name. + * + * @param string $val The name + * + * @return PrivilegedRole + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The assignments for this role. Read-only. Nullable. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The assignments for this role. Read-only. Nullable. + * + * @param PrivilegedRoleAssignment[] $val The assignments + * + * @return PrivilegedRole + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings for this role. Read-only. Nullable. + * + * @return PrivilegedRoleSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new PrivilegedRoleSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings for this role. Read-only. Nullable. + * + * @param PrivilegedRoleSettings $val The settings + * + * @return PrivilegedRole + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the summary + * The summary information for this role. Read-only. Nullable. + * + * @return PrivilegedRoleSummary|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + if (is_a($this->_propDict["summary"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleSummary") || is_null($this->_propDict["summary"])) { + return $this->_propDict["summary"]; + } else { + $this->_propDict["summary"] = new PrivilegedRoleSummary($this->_propDict["summary"]); + return $this->_propDict["summary"]; + } + } + return null; + } + + /** + * Sets the summary + * The summary information for this role. Read-only. Nullable. + * + * @param PrivilegedRoleSummary $val The summary + * + * @return PrivilegedRole + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignment.php new file mode 100644 index 0000000..9864712 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignment.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The UTC DateTime when the temporary privileged role assignment will be expired. For permanent role assignment, the value is null. + * + * @param \DateTime $val The expirationDateTime + * + * @return PrivilegedRoleAssignment + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the isElevated + * true if the role assignment is activated. false if the role assignment is deactivated. + * + * @return bool|null The isElevated + */ + public function getIsElevated() + { + if (array_key_exists("isElevated", $this->_propDict)) { + return $this->_propDict["isElevated"]; + } else { + return null; + } + } + + /** + * Sets the isElevated + * true if the role assignment is activated. false if the role assignment is deactivated. + * + * @param bool $val The isElevated + * + * @return PrivilegedRoleAssignment + */ + public function setIsElevated($val) + { + $this->_propDict["isElevated"] = boolval($val); + return $this; + } + + /** + * Gets the resultMessage + * Result message set by the service. + * + * @return string|null The resultMessage + */ + public function getResultMessage() + { + if (array_key_exists("resultMessage", $this->_propDict)) { + return $this->_propDict["resultMessage"]; + } else { + return null; + } + } + + /** + * Sets the resultMessage + * Result message set by the service. + * + * @param string $val The resultMessage + * + * @return PrivilegedRoleAssignment + */ + public function setResultMessage($val) + { + $this->_propDict["resultMessage"] = $val; + return $this; + } + + /** + * Gets the roleId + * Role identifier. In GUID string format. + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * Role identifier. In GUID string format. + * + * @param string $val The roleId + * + * @return PrivilegedRoleAssignment + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + + /** + * Gets the userId + * User identifier. In GUID string format. + * + * @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 + * User identifier. In GUID string format. + * + * @param string $val The userId + * + * @return PrivilegedRoleAssignment + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the roleInfo + * Read-only. Nullable. The associated role information. + * + * @return PrivilegedRole|null The roleInfo + */ + public function getRoleInfo() + { + if (array_key_exists("roleInfo", $this->_propDict)) { + if (is_a($this->_propDict["roleInfo"], "\Beta\Microsoft\Graph\Model\PrivilegedRole") || is_null($this->_propDict["roleInfo"])) { + return $this->_propDict["roleInfo"]; + } else { + $this->_propDict["roleInfo"] = new PrivilegedRole($this->_propDict["roleInfo"]); + return $this->_propDict["roleInfo"]; + } + } + return null; + } + + /** + * Sets the roleInfo + * Read-only. Nullable. The associated role information. + * + * @param PrivilegedRole $val The roleInfo + * + * @return PrivilegedRoleAssignment + */ + public function setRoleInfo($val) + { + $this->_propDict["roleInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignmentRequest.php new file mode 100644 index 0000000..148e346 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignmentRequest.php @@ -0,0 +1,387 @@ +_propDict)) { + return $this->_propDict["assignmentState"]; + } else { + return null; + } + } + + /** + * Sets the assignmentState + * The state of the assignment. The value can be Eligible for eligible assignment Active - if it is directly assigned Active by administrators, or activated on an eligible assignment by the users. + * + * @param string $val The assignmentState + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setAssignmentState($val) + { + $this->_propDict["assignmentState"] = $val; + return $this; + } + + /** + * Gets the duration + * The duration of a role assignment. + * + * @return string|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * The duration of a role assignment. + * + * @param string $val The duration + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the reason + * The reason for the role assignment. + * + * @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 + * The reason for the role assignment. + * + * @param string $val The reason + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the requestedDateTime + * Read-only. The request create time. 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 requestedDateTime + */ + public function getRequestedDateTime() + { + if (array_key_exists("requestedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestedDateTime"], "\DateTime") || is_null($this->_propDict["requestedDateTime"])) { + return $this->_propDict["requestedDateTime"]; + } else { + $this->_propDict["requestedDateTime"] = new \DateTime($this->_propDict["requestedDateTime"]); + return $this->_propDict["requestedDateTime"]; + } + } + return null; + } + + /** + * Sets the requestedDateTime + * Read-only. The request create time. 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 requestedDateTime + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setRequestedDateTime($val) + { + $this->_propDict["requestedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleId + * The id of the role. + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * The id of the role. + * + * @param string $val The roleId + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + + /** + * Gets the schedule + * The schedule object of the role assignment request. + * + * @return GovernanceSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\GovernanceSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new GovernanceSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * The schedule object of the role assignment request. + * + * @param GovernanceSchedule $val The schedule + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the status + * Read-only.The status of the role assignment request. The value can be NotStarted,Completed,RequestedApproval,Scheduled,Approved,ApprovalDenied,ApprovalAborted,Cancelling,Cancelled,Revoked,RequestExpired. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Read-only.The status of the role assignment request. The value can be NotStarted,Completed,RequestedApproval,Scheduled,Approved,ApprovalDenied,ApprovalAborted,Cancelling,Cancelled,Revoked,RequestExpired. + * + * @param string $val The status + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the ticketNumber + * The ticketNumber for the role assignment. + * + * @return string|null The ticketNumber + */ + public function getTicketNumber() + { + if (array_key_exists("ticketNumber", $this->_propDict)) { + return $this->_propDict["ticketNumber"]; + } else { + return null; + } + } + + /** + * Sets the ticketNumber + * The ticketNumber for the role assignment. + * + * @param string $val The ticketNumber + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setTicketNumber($val) + { + $this->_propDict["ticketNumber"] = $val; + return $this; + } + + /** + * Gets the ticketSystem + * The ticketSystem for the role assignment. + * + * @return string|null The ticketSystem + */ + public function getTicketSystem() + { + if (array_key_exists("ticketSystem", $this->_propDict)) { + return $this->_propDict["ticketSystem"]; + } else { + return null; + } + } + + /** + * Sets the ticketSystem + * The ticketSystem for the role assignment. + * + * @param string $val The ticketSystem + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setTicketSystem($val) + { + $this->_propDict["ticketSystem"] = $val; + return $this; + } + + /** + * Gets the type + * Representing the type of the operation on the role assignment. The value can be AdminAdd: Administrators add users to roles;UserAdd: Users add role assignments. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Representing the type of the operation on the role assignment. The value can be AdminAdd: Administrators add users to roles;UserAdd: Users add role assignments. + * + * @param string $val The type + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the userId + * The id of the user. + * + * @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 + * The id of the user. + * + * @param string $val The userId + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the roleInfo + * The roleInfo object of the role assignment request. + * + * @return PrivilegedRole|null The roleInfo + */ + public function getRoleInfo() + { + if (array_key_exists("roleInfo", $this->_propDict)) { + if (is_a($this->_propDict["roleInfo"], "\Beta\Microsoft\Graph\Model\PrivilegedRole") || is_null($this->_propDict["roleInfo"])) { + return $this->_propDict["roleInfo"]; + } else { + $this->_propDict["roleInfo"] = new PrivilegedRole($this->_propDict["roleInfo"]); + return $this->_propDict["roleInfo"]; + } + } + return null; + } + + /** + * Sets the roleInfo + * The roleInfo object of the role assignment request. + * + * @param PrivilegedRole $val The roleInfo + * + * @return PrivilegedRoleAssignmentRequest + */ + public function setRoleInfo($val) + { + $this->_propDict["roleInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSettings.php new file mode 100644 index 0000000..95e9c5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSettings.php @@ -0,0 +1,329 @@ +_propDict)) { + return $this->_propDict["approvalOnElevation"]; + } else { + return null; + } + } + + /** + * Sets the approvalOnElevation + * true if the approval is required when activate the role. false if the approval is not required when activate the role. + * + * @param bool $val The approvalOnElevation + * + * @return PrivilegedRoleSettings + */ + public function setApprovalOnElevation($val) + { + $this->_propDict["approvalOnElevation"] = boolval($val); + return $this; + } + + /** + * Gets the approverIds + * List of Approval ids, if approval is required for activation. + * + * @return string|null The approverIds + */ + public function getApproverIds() + { + if (array_key_exists("approverIds", $this->_propDict)) { + return $this->_propDict["approverIds"]; + } else { + return null; + } + } + + /** + * Sets the approverIds + * List of Approval ids, if approval is required for activation. + * + * @param string $val The approverIds + * + * @return PrivilegedRoleSettings + */ + public function setApproverIds($val) + { + $this->_propDict["approverIds"] = $val; + return $this; + } + + /** + * Gets the elevationDuration + * The duration when the role is activated. + * + * @return \DateInterval|null The elevationDuration + */ + public function getElevationDuration() + { + if (array_key_exists("elevationDuration", $this->_propDict)) { + if (is_a($this->_propDict["elevationDuration"], "\DateInterval") || is_null($this->_propDict["elevationDuration"])) { + return $this->_propDict["elevationDuration"]; + } else { + $this->_propDict["elevationDuration"] = new \DateInterval($this->_propDict["elevationDuration"]); + return $this->_propDict["elevationDuration"]; + } + } + return null; + } + + /** + * Sets the elevationDuration + * The duration when the role is activated. + * + * @param \DateInterval $val The elevationDuration + * + * @return PrivilegedRoleSettings + */ + public function setElevationDuration($val) + { + $this->_propDict["elevationDuration"] = $val; + return $this; + } + + /** + * Gets the isMfaOnElevationConfigurable + * true if mfaOnElevation is configurable. false if mfaOnElevation is not configurable. + * + * @return bool|null The isMfaOnElevationConfigurable + */ + public function getIsMfaOnElevationConfigurable() + { + if (array_key_exists("isMfaOnElevationConfigurable", $this->_propDict)) { + return $this->_propDict["isMfaOnElevationConfigurable"]; + } else { + return null; + } + } + + /** + * Sets the isMfaOnElevationConfigurable + * true if mfaOnElevation is configurable. false if mfaOnElevation is not configurable. + * + * @param bool $val The isMfaOnElevationConfigurable + * + * @return PrivilegedRoleSettings + */ + public function setIsMfaOnElevationConfigurable($val) + { + $this->_propDict["isMfaOnElevationConfigurable"] = boolval($val); + return $this; + } + + /** + * Gets the lastGlobalAdmin + * Internal used only. + * + * @return bool|null The lastGlobalAdmin + */ + public function getLastGlobalAdmin() + { + if (array_key_exists("lastGlobalAdmin", $this->_propDict)) { + return $this->_propDict["lastGlobalAdmin"]; + } else { + return null; + } + } + + /** + * Sets the lastGlobalAdmin + * Internal used only. + * + * @param bool $val The lastGlobalAdmin + * + * @return PrivilegedRoleSettings + */ + public function setLastGlobalAdmin($val) + { + $this->_propDict["lastGlobalAdmin"] = boolval($val); + return $this; + } + + /** + * Gets the maxElavationDuration + * Maximal duration for the activated role. + * + * @return \DateInterval|null The maxElavationDuration + */ + public function getMaxElavationDuration() + { + if (array_key_exists("maxElavationDuration", $this->_propDict)) { + if (is_a($this->_propDict["maxElavationDuration"], "\DateInterval") || is_null($this->_propDict["maxElavationDuration"])) { + return $this->_propDict["maxElavationDuration"]; + } else { + $this->_propDict["maxElavationDuration"] = new \DateInterval($this->_propDict["maxElavationDuration"]); + return $this->_propDict["maxElavationDuration"]; + } + } + return null; + } + + /** + * Sets the maxElavationDuration + * Maximal duration for the activated role. + * + * @param \DateInterval $val The maxElavationDuration + * + * @return PrivilegedRoleSettings + */ + public function setMaxElavationDuration($val) + { + $this->_propDict["maxElavationDuration"] = $val; + return $this; + } + + /** + * Gets the mfaOnElevation + * true if MFA is required to activate the role. false if MFA is not required to activate the role. + * + * @return bool|null The mfaOnElevation + */ + public function getMfaOnElevation() + { + if (array_key_exists("mfaOnElevation", $this->_propDict)) { + return $this->_propDict["mfaOnElevation"]; + } else { + return null; + } + } + + /** + * Sets the mfaOnElevation + * true if MFA is required to activate the role. false if MFA is not required to activate the role. + * + * @param bool $val The mfaOnElevation + * + * @return PrivilegedRoleSettings + */ + public function setMfaOnElevation($val) + { + $this->_propDict["mfaOnElevation"] = boolval($val); + return $this; + } + + /** + * Gets the minElevationDuration + * Minimal duration for the activated role. + * + * @return \DateInterval|null The minElevationDuration + */ + public function getMinElevationDuration() + { + if (array_key_exists("minElevationDuration", $this->_propDict)) { + if (is_a($this->_propDict["minElevationDuration"], "\DateInterval") || is_null($this->_propDict["minElevationDuration"])) { + return $this->_propDict["minElevationDuration"]; + } else { + $this->_propDict["minElevationDuration"] = new \DateInterval($this->_propDict["minElevationDuration"]); + return $this->_propDict["minElevationDuration"]; + } + } + return null; + } + + /** + * Sets the minElevationDuration + * Minimal duration for the activated role. + * + * @param \DateInterval $val The minElevationDuration + * + * @return PrivilegedRoleSettings + */ + public function setMinElevationDuration($val) + { + $this->_propDict["minElevationDuration"] = $val; + return $this; + } + + /** + * Gets the notificationToUserOnElevation + * true if send notification to the end user when the role is activated. false if do not send notification when the role is activated. + * + * @return bool|null The notificationToUserOnElevation + */ + public function getNotificationToUserOnElevation() + { + if (array_key_exists("notificationToUserOnElevation", $this->_propDict)) { + return $this->_propDict["notificationToUserOnElevation"]; + } else { + return null; + } + } + + /** + * Sets the notificationToUserOnElevation + * true if send notification to the end user when the role is activated. false if do not send notification when the role is activated. + * + * @param bool $val The notificationToUserOnElevation + * + * @return PrivilegedRoleSettings + */ + public function setNotificationToUserOnElevation($val) + { + $this->_propDict["notificationToUserOnElevation"] = boolval($val); + return $this; + } + + /** + * Gets the ticketingInfoOnElevation + * true if the ticketing information is required when activate the role. false if the ticketing information is not required when activate the role. + * + * @return bool|null The ticketingInfoOnElevation + */ + public function getTicketingInfoOnElevation() + { + if (array_key_exists("ticketingInfoOnElevation", $this->_propDict)) { + return $this->_propDict["ticketingInfoOnElevation"]; + } else { + return null; + } + } + + /** + * Sets the ticketingInfoOnElevation + * true if the ticketing information is required when activate the role. false if the ticketing information is not required when activate the role. + * + * @param bool $val The ticketingInfoOnElevation + * + * @return PrivilegedRoleSettings + */ + public function setTicketingInfoOnElevation($val) + { + $this->_propDict["ticketingInfoOnElevation"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSummary.php new file mode 100644 index 0000000..32eece7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSummary.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["elevatedCount"]; + } else { + return null; + } + } + + /** + * Sets the elevatedCount + * The number of users that have the role assigned and the role is activated. + * + * @param int $val The elevatedCount + * + * @return PrivilegedRoleSummary + */ + public function setElevatedCount($val) + { + $this->_propDict["elevatedCount"] = intval($val); + return $this; + } + + /** + * Gets the managedCount + * The number of users that have the role assigned but the role is deactivated. + * + * @return int|null The managedCount + */ + public function getManagedCount() + { + if (array_key_exists("managedCount", $this->_propDict)) { + return $this->_propDict["managedCount"]; + } else { + return null; + } + } + + /** + * Sets the managedCount + * The number of users that have the role assigned but the role is deactivated. + * + * @param int $val The managedCount + * + * @return PrivilegedRoleSummary + */ + public function setManagedCount($val) + { + $this->_propDict["managedCount"] = intval($val); + return $this; + } + + /** + * Gets the mfaEnabled + * true if the role activation requires MFA. false if the role activation doesn't require MFA. + * + * @return bool|null The mfaEnabled + */ + public function getMfaEnabled() + { + if (array_key_exists("mfaEnabled", $this->_propDict)) { + return $this->_propDict["mfaEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mfaEnabled + * true if the role activation requires MFA. false if the role activation doesn't require MFA. + * + * @param bool $val The mfaEnabled + * + * @return PrivilegedRoleSummary + */ + public function setMfaEnabled($val) + { + $this->_propDict["mfaEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the status + * Possible values are: ok, bad. The value depends on the ratio of (managedCount / usersCount). If the ratio is less than a predefined threshold, ok is returned. Otherwise, bad is returned. + * + * @return RoleSummaryStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\RoleSummaryStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new RoleSummaryStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: ok, bad. The value depends on the ratio of (managedCount / usersCount). If the ratio is less than a predefined threshold, ok is returned. Otherwise, bad is returned. + * + * @param RoleSummaryStatus $val The status + * + * @return PrivilegedRoleSummary + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the usersCount + * The number of users that are assigned with the role. + * + * @return int|null The usersCount + */ + public function getUsersCount() + { + if (array_key_exists("usersCount", $this->_propDict)) { + return $this->_propDict["usersCount"]; + } else { + return null; + } + } + + /** + * Sets the usersCount + * The number of users that are assigned with the role. + * + * @param int $val The usersCount + * + * @return PrivilegedRoleSummary + */ + public function setUsersCount($val) + { + $this->_propDict["usersCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedSignupStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedSignupStatus.php new file mode 100644 index 0000000..07496ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedSignupStatus.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["isRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isRegistered + * + * @param bool $val The isRegistered + * + * @return PrivilegedSignupStatus + */ + public function setIsRegistered($val) + { + $this->_propDict["isRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the status + * + * @return SetupStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SetupStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SetupStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param SetupStatus $val The status + * + * @return PrivilegedSignupStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Process.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Process.php new file mode 100644 index 0000000..889a07f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Process.php @@ -0,0 +1,382 @@ +_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * User account identifier (user account context the process ran under) for example, AccountName, SID, and so on. + * + * @param string $val The value of the accountName + * + * @return Process + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** + * Gets the commandLine + * The full process invocation commandline including all parameters. + * + * @return string|null The commandLine + */ + public function getCommandLine() + { + if (array_key_exists("commandLine", $this->_propDict)) { + return $this->_propDict["commandLine"]; + } else { + return null; + } + } + + /** + * Sets the commandLine + * The full process invocation commandline including all parameters. + * + * @param string $val The value of the commandLine + * + * @return Process + */ + public function setCommandLine($val) + { + $this->_propDict["commandLine"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Time at which the process was started. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time at which the process was started. 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 createdDateTime + * + * @return Process The Process + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the fileHash + * Complex type containing file hashes (cryptographic and location-sensitive). + * + * @return FileHash|null The fileHash + */ + public function getFileHash() + { + if (array_key_exists("fileHash", $this->_propDict)) { + if (is_a($this->_propDict["fileHash"], "\Beta\Microsoft\Graph\Model\FileHash") || is_null($this->_propDict["fileHash"])) { + return $this->_propDict["fileHash"]; + } else { + $this->_propDict["fileHash"] = new FileHash($this->_propDict["fileHash"]); + return $this->_propDict["fileHash"]; + } + } + return null; + } + + /** + * Sets the fileHash + * Complex type containing file hashes (cryptographic and location-sensitive). + * + * @param FileHash $val The value to assign to the fileHash + * + * @return Process The Process + */ + public function setFileHash($val) + { + $this->_propDict["fileHash"] = $val; + return $this; + } + + /** + * Gets the integrityLevel + * The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. + * + * @return ProcessIntegrityLevel|null The integrityLevel + */ + public function getIntegrityLevel() + { + if (array_key_exists("integrityLevel", $this->_propDict)) { + if (is_a($this->_propDict["integrityLevel"], "\Beta\Microsoft\Graph\Model\ProcessIntegrityLevel") || is_null($this->_propDict["integrityLevel"])) { + return $this->_propDict["integrityLevel"]; + } else { + $this->_propDict["integrityLevel"] = new ProcessIntegrityLevel($this->_propDict["integrityLevel"]); + return $this->_propDict["integrityLevel"]; + } + } + return null; + } + + /** + * Sets the integrityLevel + * The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. + * + * @param ProcessIntegrityLevel $val The value to assign to the integrityLevel + * + * @return Process The Process + */ + public function setIntegrityLevel($val) + { + $this->_propDict["integrityLevel"] = $val; + return $this; + } + /** + * Gets the isElevated + * True if the process is elevated. + * + * @return bool|null The isElevated + */ + public function getIsElevated() + { + if (array_key_exists("isElevated", $this->_propDict)) { + return $this->_propDict["isElevated"]; + } else { + return null; + } + } + + /** + * Sets the isElevated + * True if the process is elevated. + * + * @param bool $val The value of the isElevated + * + * @return Process + */ + public function setIsElevated($val) + { + $this->_propDict["isElevated"] = $val; + return $this; + } + /** + * Gets the name + * The name of the process' Image file. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the process' Image file. + * + * @param string $val The value of the name + * + * @return Process + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parentProcessCreatedDateTime + * DateTime at which the parent process was started. 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 parentProcessCreatedDateTime + */ + public function getParentProcessCreatedDateTime() + { + if (array_key_exists("parentProcessCreatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["parentProcessCreatedDateTime"], "\DateTime") || is_null($this->_propDict["parentProcessCreatedDateTime"])) { + return $this->_propDict["parentProcessCreatedDateTime"]; + } else { + $this->_propDict["parentProcessCreatedDateTime"] = new \DateTime($this->_propDict["parentProcessCreatedDateTime"]); + return $this->_propDict["parentProcessCreatedDateTime"]; + } + } + return null; + } + + /** + * Sets the parentProcessCreatedDateTime + * DateTime at which the parent process was started. 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 parentProcessCreatedDateTime + * + * @return Process The Process + */ + public function setParentProcessCreatedDateTime($val) + { + $this->_propDict["parentProcessCreatedDateTime"] = $val; + return $this; + } + /** + * Gets the parentProcessId + * The Process ID (PID) of the parent process. + * + * @return int|null The parentProcessId + */ + public function getParentProcessId() + { + if (array_key_exists("parentProcessId", $this->_propDict)) { + return $this->_propDict["parentProcessId"]; + } else { + return null; + } + } + + /** + * Sets the parentProcessId + * The Process ID (PID) of the parent process. + * + * @param int $val The value of the parentProcessId + * + * @return Process + */ + public function setParentProcessId($val) + { + $this->_propDict["parentProcessId"] = $val; + return $this; + } + /** + * Gets the parentProcessName + * The name of the image file of the parent process. + * + * @return string|null The parentProcessName + */ + public function getParentProcessName() + { + if (array_key_exists("parentProcessName", $this->_propDict)) { + return $this->_propDict["parentProcessName"]; + } else { + return null; + } + } + + /** + * Sets the parentProcessName + * The name of the image file of the parent process. + * + * @param string $val The value of the parentProcessName + * + * @return Process + */ + public function setParentProcessName($val) + { + $this->_propDict["parentProcessName"] = $val; + return $this; + } + /** + * Gets the path + * Full path, including filename. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Full path, including filename. + * + * @param string $val The value of the path + * + * @return Process + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } + /** + * Gets the processId + * The Process ID (PID) of the process. + * + * @return int|null The processId + */ + public function getProcessId() + { + if (array_key_exists("processId", $this->_propDict)) { + return $this->_propDict["processId"]; + } else { + return null; + } + } + + /** + * Sets the processId + * The Process ID (PID) of the process. + * + * @param int $val The value of the processId + * + * @return Process + */ + public function setProcessId($val) + { + $this->_propDict["processId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProcessIntegrityLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProcessIntegrityLevel.php new file mode 100644 index 0000000..c50ae23 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProcessIntegrityLevel.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["account"]; + } else { + return null; + } + } + + /** + * Sets the account + * + * @param UserAccountInformation[] $val The account + * + * @return Profile + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + + /** + * Gets the addresses + * Represents details of addresses associated with the user. + * + * @return array|null The addresses + */ + public function getAddresses() + { + if (array_key_exists("addresses", $this->_propDict)) { + return $this->_propDict["addresses"]; + } else { + return null; + } + } + + /** + * Sets the addresses + * Represents details of addresses associated with the user. + * + * @param ItemAddress[] $val The addresses + * + * @return Profile + */ + public function setAddresses($val) + { + $this->_propDict["addresses"] = $val; + return $this; + } + + + /** + * Gets the anniversaries + * Represents the details of meaningful dates associated with a person. + * + * @return array|null The anniversaries + */ + public function getAnniversaries() + { + if (array_key_exists("anniversaries", $this->_propDict)) { + return $this->_propDict["anniversaries"]; + } else { + return null; + } + } + + /** + * Sets the anniversaries + * Represents the details of meaningful dates associated with a person. + * + * @param PersonAnnualEvent[] $val The anniversaries + * + * @return Profile + */ + public function setAnniversaries($val) + { + $this->_propDict["anniversaries"] = $val; + return $this; + } + + + /** + * Gets the awards + * Represents the details of awards or honors associated with a person. + * + * @return array|null The awards + */ + public function getAwards() + { + if (array_key_exists("awards", $this->_propDict)) { + return $this->_propDict["awards"]; + } else { + return null; + } + } + + /** + * Sets the awards + * Represents the details of awards or honors associated with a person. + * + * @param PersonAward[] $val The awards + * + * @return Profile + */ + public function setAwards($val) + { + $this->_propDict["awards"] = $val; + return $this; + } + + + /** + * Gets the certifications + * Represents the details of certifications associated with a person. + * + * @return array|null The certifications + */ + public function getCertifications() + { + if (array_key_exists("certifications", $this->_propDict)) { + return $this->_propDict["certifications"]; + } else { + return null; + } + } + + /** + * Sets the certifications + * Represents the details of certifications associated with a person. + * + * @param PersonCertification[] $val The certifications + * + * @return Profile + */ + public function setCertifications($val) + { + $this->_propDict["certifications"] = $val; + return $this; + } + + + /** + * Gets the educationalActivities + * Represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. + * + * @return array|null The educationalActivities + */ + public function getEducationalActivities() + { + if (array_key_exists("educationalActivities", $this->_propDict)) { + return $this->_propDict["educationalActivities"]; + } else { + return null; + } + } + + /** + * Sets the educationalActivities + * Represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. + * + * @param EducationalActivity[] $val The educationalActivities + * + * @return Profile + */ + public function setEducationalActivities($val) + { + $this->_propDict["educationalActivities"] = $val; + return $this; + } + + + /** + * Gets the emails + * Represents detailed information about email addresses associated with the user. + * + * @return array|null The emails + */ + public function getEmails() + { + if (array_key_exists("emails", $this->_propDict)) { + return $this->_propDict["emails"]; + } else { + return null; + } + } + + /** + * Sets the emails + * Represents detailed information about email addresses associated with the user. + * + * @param ItemEmail[] $val The emails + * + * @return Profile + */ + public function setEmails($val) + { + $this->_propDict["emails"] = $val; + return $this; + } + + + /** + * Gets the interests + * Provides detailed information about interests the user has associated with themselves in various services. + * + * @return array|null The interests + */ + public function getInterests() + { + if (array_key_exists("interests", $this->_propDict)) { + return $this->_propDict["interests"]; + } else { + return null; + } + } + + /** + * Sets the interests + * Provides detailed information about interests the user has associated with themselves in various services. + * + * @param PersonInterest[] $val The interests + * + * @return Profile + */ + public function setInterests($val) + { + $this->_propDict["interests"] = $val; + return $this; + } + + + /** + * Gets the languages + * Represents detailed information about languages that a user has added to their profile. + * + * @return array|null The languages + */ + public function getLanguages() + { + if (array_key_exists("languages", $this->_propDict)) { + return $this->_propDict["languages"]; + } else { + return null; + } + } + + /** + * Sets the languages + * Represents detailed information about languages that a user has added to their profile. + * + * @param LanguageProficiency[] $val The languages + * + * @return Profile + */ + public function setLanguages($val) + { + $this->_propDict["languages"] = $val; + return $this; + } + + + /** + * Gets the names + * Represents the names a user has added to their profile. + * + * @return array|null The names + */ + public function getNames() + { + if (array_key_exists("names", $this->_propDict)) { + return $this->_propDict["names"]; + } else { + return null; + } + } + + /** + * Sets the names + * Represents the names a user has added to their profile. + * + * @param PersonName[] $val The names + * + * @return Profile + */ + public function setNames($val) + { + $this->_propDict["names"] = $val; + return $this; + } + + + /** + * Gets the notes + * Represents notes that a user has added to their profile. + * + * @return array|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Represents notes that a user has added to their profile. + * + * @param PersonAnnotation[] $val The notes + * + * @return Profile + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + + /** + * Gets the patents + * Represents patents that a user has added to their profile. + * + * @return array|null The patents + */ + public function getPatents() + { + if (array_key_exists("patents", $this->_propDict)) { + return $this->_propDict["patents"]; + } else { + return null; + } + } + + /** + * Sets the patents + * Represents patents that a user has added to their profile. + * + * @param ItemPatent[] $val The patents + * + * @return Profile + */ + public function setPatents($val) + { + $this->_propDict["patents"] = $val; + return $this; + } + + + /** + * Gets the phones + * Represents detailed information about phone numbers associated with a user in various services. + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * Represents detailed information about phone numbers associated with a user in various services. + * + * @param ItemPhone[] $val The phones + * + * @return Profile + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + + + /** + * Gets the positions + * Represents detailed information about work positions associated with a user's profile. + * + * @return array|null The positions + */ + public function getPositions() + { + if (array_key_exists("positions", $this->_propDict)) { + return $this->_propDict["positions"]; + } else { + return null; + } + } + + /** + * Sets the positions + * Represents detailed information about work positions associated with a user's profile. + * + * @param WorkPosition[] $val The positions + * + * @return Profile + */ + public function setPositions($val) + { + $this->_propDict["positions"] = $val; + return $this; + } + + + /** + * Gets the projects + * Represents detailed information about projects associated with a user. + * + * @return array|null The projects + */ + public function getProjects() + { + if (array_key_exists("projects", $this->_propDict)) { + return $this->_propDict["projects"]; + } else { + return null; + } + } + + /** + * Sets the projects + * Represents detailed information about projects associated with a user. + * + * @param ProjectParticipation[] $val The projects + * + * @return Profile + */ + public function setProjects($val) + { + $this->_propDict["projects"] = $val; + return $this; + } + + + /** + * Gets the publications + * Represents details of any publications a user has added to their profile. + * + * @return array|null The publications + */ + public function getPublications() + { + if (array_key_exists("publications", $this->_propDict)) { + return $this->_propDict["publications"]; + } else { + return null; + } + } + + /** + * Sets the publications + * Represents details of any publications a user has added to their profile. + * + * @param ItemPublication[] $val The publications + * + * @return Profile + */ + public function setPublications($val) + { + $this->_propDict["publications"] = $val; + return $this; + } + + + /** + * Gets the skills + * Represents detailed information about skills associated with a user in various services. + * + * @return array|null The skills + */ + public function getSkills() + { + if (array_key_exists("skills", $this->_propDict)) { + return $this->_propDict["skills"]; + } else { + return null; + } + } + + /** + * Sets the skills + * Represents detailed information about skills associated with a user in various services. + * + * @param SkillProficiency[] $val The skills + * + * @return Profile + */ + public function setSkills($val) + { + $this->_propDict["skills"] = $val; + return $this; + } + + + /** + * Gets the webAccounts + * Represents web accounts the user has indicated they use or has added to their user profile. + * + * @return array|null The webAccounts + */ + public function getWebAccounts() + { + if (array_key_exists("webAccounts", $this->_propDict)) { + return $this->_propDict["webAccounts"]; + } else { + return null; + } + } + + /** + * Sets the webAccounts + * Represents web accounts the user has indicated they use or has added to their user profile. + * + * @param WebAccount[] $val The webAccounts + * + * @return Profile + */ + public function setWebAccounts($val) + { + $this->_propDict["webAccounts"] = $val; + return $this; + } + + + /** + * Gets the websites + * Represents detailed information about websites associated with a user in various services. + * + * @return array|null The websites + */ + public function getWebsites() + { + if (array_key_exists("websites", $this->_propDict)) { + return $this->_propDict["websites"]; + } else { + return null; + } + } + + /** + * Sets the websites + * Represents detailed information about websites associated with a user in various services. + * + * @param PersonWebsite[] $val The websites + * + * @return Profile + */ + public function setWebsites($val) + { + $this->_propDict["websites"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardAnnotation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardAnnotation.php new file mode 100644 index 0000000..31884c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardAnnotation.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * If present, the value of this field is used by the profile card as the default property label in the experience (for example, 'Cost Center'). + * + * @param string $val The value of the displayName + * + * @return ProfileCardAnnotation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the localizations + * Each resource in this collection represents the localized value of the attribute name for a given language, used as the default label for that locale. For example, a user with a no-NB client gets 'Kostnads Senter' as the attribute label, rather than 'Cost Center.' + * + * @return DisplayNameLocalization|null The localizations + */ + public function getLocalizations() + { + if (array_key_exists("localizations", $this->_propDict)) { + if (is_a($this->_propDict["localizations"], "\Beta\Microsoft\Graph\Model\DisplayNameLocalization") || is_null($this->_propDict["localizations"])) { + return $this->_propDict["localizations"]; + } else { + $this->_propDict["localizations"] = new DisplayNameLocalization($this->_propDict["localizations"]); + return $this->_propDict["localizations"]; + } + } + return null; + } + + /** + * Sets the localizations + * Each resource in this collection represents the localized value of the attribute name for a given language, used as the default label for that locale. For example, a user with a no-NB client gets 'Kostnads Senter' as the attribute label, rather than 'Cost Center.' + * + * @param DisplayNameLocalization $val The value to assign to the localizations + * + * @return ProfileCardAnnotation The ProfileCardAnnotation + */ + public function setLocalizations($val) + { + $this->_propDict["localizations"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardProperty.php new file mode 100644 index 0000000..454da22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardProperty.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["annotations"]; + } else { + return null; + } + } + + /** + * Sets the annotations + * Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant. + * + * @param ProfileCardAnnotation[] $val The annotations + * + * @return ProfileCardProperty + */ + public function setAnnotations($val) + { + $this->_propDict["annotations"] = $val; + return $this; + } + + /** + * Gets the directoryPropertyName + * Identifies a profileCardProperty resource in Get, Update, or Delete operations. Allows an administrator to surface hidden Azure Active Directory (Azure AD) properties on the Microsoft 365 profile card within their tenant. When present, the Azure AD field referenced in this field will be visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: UserPrincipalName, Fax, StreetAddress, PostalCode, StateOrProvince, Alias, CustomAttribute1, CustomAttribute2, CustomAttribute3, CustomAttribute4, CustomAttribute5, CustomAttribute6, CustomAttribute7, CustomAttribute8, CustomAttribute9, CustomAttribute10, CustomAttribute11, CustomAttribute12, CustomAttribute13, CustomAttribute14, CustomAttribute15. + * + * @return string|null The directoryPropertyName + */ + public function getDirectoryPropertyName() + { + if (array_key_exists("directoryPropertyName", $this->_propDict)) { + return $this->_propDict["directoryPropertyName"]; + } else { + return null; + } + } + + /** + * Sets the directoryPropertyName + * Identifies a profileCardProperty resource in Get, Update, or Delete operations. Allows an administrator to surface hidden Azure Active Directory (Azure AD) properties on the Microsoft 365 profile card within their tenant. When present, the Azure AD field referenced in this field will be visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: UserPrincipalName, Fax, StreetAddress, PostalCode, StateOrProvince, Alias, CustomAttribute1, CustomAttribute2, CustomAttribute3, CustomAttribute4, CustomAttribute5, CustomAttribute6, CustomAttribute7, CustomAttribute8, CustomAttribute9, CustomAttribute10, CustomAttribute11, CustomAttribute12, CustomAttribute13, CustomAttribute14, CustomAttribute15. + * + * @param string $val The directoryPropertyName + * + * @return ProfileCardProperty + */ + public function setDirectoryPropertyName($val) + { + $this->_propDict["directoryPropertyName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfilePhoto.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfilePhoto.php new file mode 100644 index 0000000..ff0fcb6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfilePhoto.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * The height of the photo. Read-only. + * + * @param int $val The height + * + * @return ProfilePhoto + */ + public function setHeight($val) + { + $this->_propDict["height"] = intval($val); + return $this; + } + + /** + * Gets the width + * The width of the photo. Read-only. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * The width of the photo. Read-only. + * + * @param int $val The width + * + * @return ProfilePhoto + */ + public function setWidth($val) + { + $this->_propDict["width"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Program.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Program.php new file mode 100644 index 0000000..9933bf7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Program.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the program. + * + * @param string $val The description + * + * @return Program + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the program. Required on create. + * + * @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 + * The name of the program. Required on create. + * + * @param string $val The displayName + * + * @return Program + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the controls + * Controls associated with the program. + * + * @return array|null The controls + */ + public function getControls() + { + if (array_key_exists("controls", $this->_propDict)) { + return $this->_propDict["controls"]; + } else { + return null; + } + } + + /** + * Sets the controls + * Controls associated with the program. + * + * @param ProgramControl[] $val The controls + * + * @return Program + */ + public function setControls($val) + { + $this->_propDict["controls"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControl.php new file mode 100644 index 0000000..0bc9e5e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControl.php @@ -0,0 +1,304 @@ +_propDict)) { + return $this->_propDict["controlId"]; + } else { + return null; + } + } + + /** + * Sets the controlId + * The controlId of the control, in particular the identifier of an access review. Required on create. + * + * @param string $val The controlId + * + * @return ProgramControl + */ + public function setControlId($val) + { + $this->_propDict["controlId"] = $val; + return $this; + } + + /** + * Gets the controlTypeId + * The programControlType identifies the type of program control - for example, a control linking to guest access reviews. Required on create. + * + * @return string|null The controlTypeId + */ + public function getControlTypeId() + { + if (array_key_exists("controlTypeId", $this->_propDict)) { + return $this->_propDict["controlTypeId"]; + } else { + return null; + } + } + + /** + * Sets the controlTypeId + * The programControlType identifies the type of program control - for example, a control linking to guest access reviews. Required on create. + * + * @param string $val The controlTypeId + * + * @return ProgramControl + */ + public function setControlTypeId($val) + { + $this->_propDict["controlTypeId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The creation date and time of the program control. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The creation date and time of the program control. + * + * @param \DateTime $val The createdDateTime + * + * @return ProgramControl + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the control. + * + * @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 + * The name of the control. + * + * @param string $val The displayName + * + * @return ProgramControl + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the owner + * The user who created the program control. + * + * @return UserIdentity|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new UserIdentity($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * The user who created the program control. + * + * @param UserIdentity $val The owner + * + * @return ProgramControl + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the programId + * The programId of the program this control is a part of. Required on create. + * + * @return string|null The programId + */ + public function getProgramId() + { + if (array_key_exists("programId", $this->_propDict)) { + return $this->_propDict["programId"]; + } else { + return null; + } + } + + /** + * Sets the programId + * The programId of the program this control is a part of. Required on create. + * + * @param string $val The programId + * + * @return ProgramControl + */ + public function setProgramId($val) + { + $this->_propDict["programId"] = $val; + return $this; + } + + /** + * Gets the resource + * The resource, a group or an app, targeted by this program control's access review. + * + * @return ProgramResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\ProgramResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new ProgramResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * The resource, a group or an app, targeted by this program control's access review. + * + * @param ProgramResource $val The resource + * + * @return ProgramControl + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the status + * The life cycle status of the control. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The life cycle status of the control. + * + * @param string $val The status + * + * @return ProgramControl + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the program + * The program this control is part of. + * + * @return Program|null The program + */ + public function getProgram() + { + if (array_key_exists("program", $this->_propDict)) { + if (is_a($this->_propDict["program"], "\Beta\Microsoft\Graph\Model\Program") || is_null($this->_propDict["program"])) { + return $this->_propDict["program"]; + } else { + $this->_propDict["program"] = new Program($this->_propDict["program"]); + return $this->_propDict["program"]; + } + } + return null; + } + + /** + * Sets the program + * The program this control is part of. + * + * @param Program $val The program + * + * @return ProgramControl + */ + public function setProgram($val) + { + $this->_propDict["program"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControlType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControlType.php new file mode 100644 index 0000000..8ea5792 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControlType.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["controlTypeGroupId"]; + } else { + return null; + } + } + + /** + * Sets the controlTypeGroupId + * + * @param string $val The controlTypeGroupId + * + * @return ProgramControlType + */ + public function setControlTypeGroupId($val) + { + $this->_propDict["controlTypeGroupId"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the program control type + * + * @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 + * The name of the program control type + * + * @param string $val The displayName + * + * @return ProgramControlType + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramResource.php new file mode 100644 index 0000000..1188676 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramResource.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the resource, indicating whether it is a group or an app. + * + * @param string $val The value of the type + * + * @return ProgramResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProjectParticipation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProjectParticipation.php new file mode 100644 index 0000000..c23676b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProjectParticipation.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Contains categories a user has associated with the project (for example, digital transformation, oil rig). + * + * @param string $val The categories + * + * @return ProjectParticipation + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the client + * Contains detailed information about the client the project was for. + * + * @return CompanyDetail|null The client + */ + public function getClient() + { + if (array_key_exists("client", $this->_propDict)) { + if (is_a($this->_propDict["client"], "\Beta\Microsoft\Graph\Model\CompanyDetail") || is_null($this->_propDict["client"])) { + return $this->_propDict["client"]; + } else { + $this->_propDict["client"] = new CompanyDetail($this->_propDict["client"]); + return $this->_propDict["client"]; + } + } + return null; + } + + /** + * Sets the client + * Contains detailed information about the client the project was for. + * + * @param CompanyDetail $val The client + * + * @return ProjectParticipation + */ + public function setClient($val) + { + $this->_propDict["client"] = $val; + return $this; + } + + /** + * Gets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @return string|null The collaborationTags + */ + public function getCollaborationTags() + { + if (array_key_exists("collaborationTags", $this->_propDict)) { + return $this->_propDict["collaborationTags"]; + } else { + return null; + } + } + + /** + * Sets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @param string $val The collaborationTags + * + * @return ProjectParticipation + */ + public function setCollaborationTags($val) + { + $this->_propDict["collaborationTags"] = $val; + return $this; + } + + + /** + * Gets the colleagues + * Lists people that also worked on the project. + * + * @return array|null The colleagues + */ + public function getColleagues() + { + if (array_key_exists("colleagues", $this->_propDict)) { + return $this->_propDict["colleagues"]; + } else { + return null; + } + } + + /** + * Sets the colleagues + * Lists people that also worked on the project. + * + * @param RelatedPerson[] $val The colleagues + * + * @return ProjectParticipation + */ + public function setColleagues($val) + { + $this->_propDict["colleagues"] = $val; + return $this; + } + + /** + * Gets the detail + * Contains detail about the user's role on the project. + * + * @return PositionDetail|null The detail + */ + public function getDetail() + { + if (array_key_exists("detail", $this->_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PositionDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new PositionDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * Contains detail about the user's role on the project. + * + * @param PositionDetail $val The detail + * + * @return ProjectParticipation + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the displayName + * Contains a friendly name for the project. + * + * @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 + * Contains a friendly name for the project. + * + * @param string $val The displayName + * + * @return ProjectParticipation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the sponsors + * The Person or people who sponsored the project. + * + * @return array|null The sponsors + */ + public function getSponsors() + { + if (array_key_exists("sponsors", $this->_propDict)) { + return $this->_propDict["sponsors"]; + } else { + return null; + } + } + + /** + * Sets the sponsors + * The Person or people who sponsored the project. + * + * @param RelatedPerson[] $val The sponsors + * + * @return ProjectParticipation + */ + public function setSponsors($val) + { + $this->_propDict["sponsors"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return ProjectParticipation + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Prompt.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Prompt.php new file mode 100644 index 0000000..292b6f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Prompt.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["aliases"]; + } else { + return null; + } + } + + /** + * Sets the aliases + * + * @param string $val The value of the aliases + * + * @return Property + */ + public function setAliases($val) + { + $this->_propDict["aliases"] = $val; + return $this; + } + /** + * Gets the isQueryable + * + * @return bool|null The isQueryable + */ + public function getIsQueryable() + { + if (array_key_exists("isQueryable", $this->_propDict)) { + return $this->_propDict["isQueryable"]; + } else { + return null; + } + } + + /** + * Sets the isQueryable + * + * @param bool $val The value of the isQueryable + * + * @return Property + */ + public function setIsQueryable($val) + { + $this->_propDict["isQueryable"] = $val; + return $this; + } + /** + * Gets the isRefinable + * + * @return bool|null The isRefinable + */ + public function getIsRefinable() + { + if (array_key_exists("isRefinable", $this->_propDict)) { + return $this->_propDict["isRefinable"]; + } else { + return null; + } + } + + /** + * Sets the isRefinable + * + * @param bool $val The value of the isRefinable + * + * @return Property + */ + public function setIsRefinable($val) + { + $this->_propDict["isRefinable"] = $val; + return $this; + } + /** + * Gets the isRetrievable + * + * @return bool|null The isRetrievable + */ + public function getIsRetrievable() + { + if (array_key_exists("isRetrievable", $this->_propDict)) { + return $this->_propDict["isRetrievable"]; + } else { + return null; + } + } + + /** + * Sets the isRetrievable + * + * @param bool $val The value of the isRetrievable + * + * @return Property + */ + public function setIsRetrievable($val) + { + $this->_propDict["isRetrievable"] = $val; + return $this; + } + /** + * Gets the isSearchable + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * + * @param bool $val The value of the isSearchable + * + * @return Property + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = $val; + return $this; + } + + /** + * Gets the labels + * + * @return Label|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\Model\Label") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Label($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * + * @param Label $val The value to assign to the labels + * + * @return Property The Property + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return Property + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return PropertyType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PropertyType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PropertyType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param PropertyType $val The value to assign to the type + * + * @return Property The Property + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyToEvaluate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyToEvaluate.php new file mode 100644 index 0000000..f866014 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyToEvaluate.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["propertyName"]; + } else { + return null; + } + } + + /** + * Sets the propertyName + * Provides the property name. + * + * @param string $val The value of the propertyName + * + * @return PropertyToEvaluate + */ + public function setPropertyName($val) + { + $this->_propDict["propertyName"] = $val; + return $this; + } + /** + * Gets the propertyValue + * Provides the property value. + * + * @return string|null The propertyValue + */ + public function getPropertyValue() + { + if (array_key_exists("propertyValue", $this->_propDict)) { + return $this->_propDict["propertyValue"]; + } else { + return null; + } + } + + /** + * Sets the propertyValue + * Provides the property value. + * + * @param string $val The value of the propertyValue + * + * @return PropertyToEvaluate + */ + public function setPropertyValue($val) + { + $this->_propDict["propertyValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyType.php new file mode 100644 index 0000000..6839685 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * The GUID of the Azure Information Protection template to apply to the information. + * + * @param string $val The value of the templateId + * + * @return ProtectByTemplateAction + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectDoNotForwardAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectDoNotForwardAction.php new file mode 100644 index 0000000..bd82060 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectDoNotForwardAction.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.protectGroup"); + } + + /** + * Gets the allowEmailFromGuestUsers + * + * @return bool|null The allowEmailFromGuestUsers + */ + public function getAllowEmailFromGuestUsers() + { + if (array_key_exists("allowEmailFromGuestUsers", $this->_propDict)) { + return $this->_propDict["allowEmailFromGuestUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowEmailFromGuestUsers + * + * @param bool $val The value of the allowEmailFromGuestUsers + * + * @return ProtectGroup + */ + public function setAllowEmailFromGuestUsers($val) + { + $this->_propDict["allowEmailFromGuestUsers"] = $val; + return $this; + } + /** + * Gets the allowGuestUsers + * + * @return bool|null The allowGuestUsers + */ + public function getAllowGuestUsers() + { + if (array_key_exists("allowGuestUsers", $this->_propDict)) { + return $this->_propDict["allowGuestUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowGuestUsers + * + * @param bool $val The value of the allowGuestUsers + * + * @return ProtectGroup + */ + public function setAllowGuestUsers($val) + { + $this->_propDict["allowGuestUsers"] = $val; + return $this; + } + + /** + * Gets the privacy + * + * @return GroupPrivacy|null The privacy + */ + public function getPrivacy() + { + if (array_key_exists("privacy", $this->_propDict)) { + if (is_a($this->_propDict["privacy"], "\Beta\Microsoft\Graph\Model\GroupPrivacy") || is_null($this->_propDict["privacy"])) { + return $this->_propDict["privacy"]; + } else { + $this->_propDict["privacy"] = new GroupPrivacy($this->_propDict["privacy"]); + return $this->_propDict["privacy"]; + } + } + return null; + } + + /** + * Sets the privacy + * + * @param GroupPrivacy $val The value to assign to the privacy + * + * @return ProtectGroup The ProtectGroup + */ + public function setPrivacy($val) + { + $this->_propDict["privacy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectOnlineMeetingAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectOnlineMeetingAction.php new file mode 100644 index 0000000..bcb825b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectOnlineMeetingAction.php @@ -0,0 +1,182 @@ +setODataType("#microsoft.graph.protectOnlineMeetingAction"); + } + + + /** + * Gets the allowedForwarders + * + * @return OnlineMeetingForwarders|null The allowedForwarders + */ + public function getAllowedForwarders() + { + if (array_key_exists("allowedForwarders", $this->_propDict)) { + if (is_a($this->_propDict["allowedForwarders"], "\Beta\Microsoft\Graph\Model\OnlineMeetingForwarders") || is_null($this->_propDict["allowedForwarders"])) { + return $this->_propDict["allowedForwarders"]; + } else { + $this->_propDict["allowedForwarders"] = new OnlineMeetingForwarders($this->_propDict["allowedForwarders"]); + return $this->_propDict["allowedForwarders"]; + } + } + return null; + } + + /** + * Sets the allowedForwarders + * + * @param OnlineMeetingForwarders $val The value to assign to the allowedForwarders + * + * @return ProtectOnlineMeetingAction The ProtectOnlineMeetingAction + */ + public function setAllowedForwarders($val) + { + $this->_propDict["allowedForwarders"] = $val; + return $this; + } + + /** + * Gets the allowedPresenters + * + * @return OnlineMeetingPresenters|null The allowedPresenters + */ + public function getAllowedPresenters() + { + if (array_key_exists("allowedPresenters", $this->_propDict)) { + if (is_a($this->_propDict["allowedPresenters"], "\Beta\Microsoft\Graph\Model\OnlineMeetingPresenters") || is_null($this->_propDict["allowedPresenters"])) { + return $this->_propDict["allowedPresenters"]; + } else { + $this->_propDict["allowedPresenters"] = new OnlineMeetingPresenters($this->_propDict["allowedPresenters"]); + return $this->_propDict["allowedPresenters"]; + } + } + return null; + } + + /** + * Sets the allowedPresenters + * + * @param OnlineMeetingPresenters $val The value to assign to the allowedPresenters + * + * @return ProtectOnlineMeetingAction The ProtectOnlineMeetingAction + */ + public function setAllowedPresenters($val) + { + $this->_propDict["allowedPresenters"] = $val; + return $this; + } + /** + * Gets the isCopyToClipboardEnabled + * + * @return bool|null The isCopyToClipboardEnabled + */ + public function getIsCopyToClipboardEnabled() + { + if (array_key_exists("isCopyToClipboardEnabled", $this->_propDict)) { + return $this->_propDict["isCopyToClipboardEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isCopyToClipboardEnabled + * + * @param bool $val The value of the isCopyToClipboardEnabled + * + * @return ProtectOnlineMeetingAction + */ + public function setIsCopyToClipboardEnabled($val) + { + $this->_propDict["isCopyToClipboardEnabled"] = $val; + return $this; + } + /** + * Gets the isLobbyEnabled + * + * @return bool|null The isLobbyEnabled + */ + public function getIsLobbyEnabled() + { + if (array_key_exists("isLobbyEnabled", $this->_propDict)) { + return $this->_propDict["isLobbyEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isLobbyEnabled + * + * @param bool $val The value of the isLobbyEnabled + * + * @return ProtectOnlineMeetingAction + */ + public function setIsLobbyEnabled($val) + { + $this->_propDict["isLobbyEnabled"] = $val; + return $this; + } + + /** + * Gets the lobbyBypassSettings + * + * @return LobbyBypassSettings|null The lobbyBypassSettings + */ + public function getLobbyBypassSettings() + { + if (array_key_exists("lobbyBypassSettings", $this->_propDict)) { + if (is_a($this->_propDict["lobbyBypassSettings"], "\Beta\Microsoft\Graph\Model\LobbyBypassSettings") || is_null($this->_propDict["lobbyBypassSettings"])) { + return $this->_propDict["lobbyBypassSettings"]; + } else { + $this->_propDict["lobbyBypassSettings"] = new LobbyBypassSettings($this->_propDict["lobbyBypassSettings"]); + return $this->_propDict["lobbyBypassSettings"]; + } + } + return null; + } + + /** + * Sets the lobbyBypassSettings + * + * @param LobbyBypassSettings $val The value to assign to the lobbyBypassSettings + * + * @return ProtectOnlineMeetingAction The ProtectOnlineMeetingAction + */ + public function setLobbyBypassSettings($val) + { + $this->_propDict["lobbyBypassSettings"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectSite.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectSite.php new file mode 100644 index 0000000..5a06567 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectSite.php @@ -0,0 +1,94 @@ +setODataType("#microsoft.graph.protectSite"); + } + + + /** + * Gets the accessType + * + * @return SiteAccessType|null The accessType + */ + public function getAccessType() + { + if (array_key_exists("accessType", $this->_propDict)) { + if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\SiteAccessType") || is_null($this->_propDict["accessType"])) { + return $this->_propDict["accessType"]; + } else { + $this->_propDict["accessType"] = new SiteAccessType($this->_propDict["accessType"]); + return $this->_propDict["accessType"]; + } + } + return null; + } + + /** + * Sets the accessType + * + * @param SiteAccessType $val The value to assign to the accessType + * + * @return ProtectSite The ProtectSite + */ + public function setAccessType($val) + { + $this->_propDict["accessType"] = $val; + return $this; + } + /** + * Gets the conditionalAccessProtectionLevelId + * + * @return string|null The conditionalAccessProtectionLevelId + */ + public function getConditionalAccessProtectionLevelId() + { + if (array_key_exists("conditionalAccessProtectionLevelId", $this->_propDict)) { + return $this->_propDict["conditionalAccessProtectionLevelId"]; + } else { + return null; + } + } + + /** + * Sets the conditionalAccessProtectionLevelId + * + * @param string $val The value of the conditionalAccessProtectionLevelId + * + * @return ProtectSite + */ + public function setConditionalAccessProtectionLevelId($val) + { + $this->_propDict["conditionalAccessProtectionLevelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtocolType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtocolType.php new file mode 100644 index 0000000..6817192 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtocolType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return ProviderTenantSetting + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the enabled + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * + * @param bool $val The enabled + * + * @return ProviderTenantSetting + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ProviderTenantSetting + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the provider + * + * @return string|null The provider + */ + public function getProvider() + { + if (array_key_exists("provider", $this->_propDict)) { + return $this->_propDict["provider"]; + } else { + return null; + } + } + + /** + * Sets the provider + * + * @param string $val The provider + * + * @return ProviderTenantSetting + */ + public function setProvider($val) + { + $this->_propDict["provider"] = $val; + return $this; + } + + /** + * Gets the vendor + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * + * @param string $val The vendor + * + * @return ProviderTenantSetting + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php new file mode 100644 index 0000000..6bf3fa4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Represents the provisioned email address. + * + * @param string $val The value of the email + * + * @return ProvisionChannelEmailResult + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php new file mode 100644 index 0000000..148451d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\DetailsInfo") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of the identity. + * + * @param DetailsInfo $val The value to assign to the details + * + * @return ProvisionedIdentity The ProvisionedIdentity + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the identityType + * Type of identity that has been provisioned, such as 'user' or 'group'. + * + * @return string|null The identityType + */ + public function getIdentityType() + { + if (array_key_exists("identityType", $this->_propDict)) { + return $this->_propDict["identityType"]; + } else { + return null; + } + } + + /** + * Sets the identityType + * Type of identity that has been provisioned, such as 'user' or 'group'. + * + * @param string $val The value of the identityType + * + * @return ProvisionedIdentity + */ + public function setIdentityType($val) + { + $this->_propDict["identityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedPlan.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedPlan.php new file mode 100644 index 0000000..265725a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedPlan.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["capabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the capabilityStatus + * For example, 'Enabled'. + * + * @param string $val The value of the capabilityStatus + * + * @return ProvisionedPlan + */ + public function setCapabilityStatus($val) + { + $this->_propDict["capabilityStatus"] = $val; + return $this; + } + /** + * Gets the provisioningStatus + * For example, 'Success'. + * + * @return string|null The provisioningStatus + */ + public function getProvisioningStatus() + { + if (array_key_exists("provisioningStatus", $this->_propDict)) { + return $this->_propDict["provisioningStatus"]; + } else { + return null; + } + } + + /** + * Sets the provisioningStatus + * For example, 'Success'. + * + * @param string $val The value of the provisioningStatus + * + * @return ProvisionedPlan + */ + public function setProvisioningStatus($val) + { + $this->_propDict["provisioningStatus"] = $val; + return $this; + } + /** + * Gets the service + * The name of the service; for example, 'AccessControlS2S' + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The name of the service; for example, 'AccessControlS2S' + * + * @param string $val The value of the service + * + * @return ProvisionedPlan + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningAction.php new file mode 100644 index 0000000..8fe19ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningAction.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Additional details in case of error. + * + * @param string $val The value of the additionalDetails + * + * @return ProvisioningErrorInfo + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + + /** + * Gets the errorCategory + * Categorizes the error code. Possible values are failure, nonServiceFailure, success, unknownFutureValue + * + * @return ProvisioningStatusErrorCategory|null The errorCategory + */ + public function getErrorCategory() + { + if (array_key_exists("errorCategory", $this->_propDict)) { + if (is_a($this->_propDict["errorCategory"], "\Beta\Microsoft\Graph\Model\ProvisioningStatusErrorCategory") || is_null($this->_propDict["errorCategory"])) { + return $this->_propDict["errorCategory"]; + } else { + $this->_propDict["errorCategory"] = new ProvisioningStatusErrorCategory($this->_propDict["errorCategory"]); + return $this->_propDict["errorCategory"]; + } + } + return null; + } + + /** + * Sets the errorCategory + * Categorizes the error code. Possible values are failure, nonServiceFailure, success, unknownFutureValue + * + * @param ProvisioningStatusErrorCategory $val The value to assign to the errorCategory + * + * @return ProvisioningErrorInfo The ProvisioningErrorInfo + */ + public function setErrorCategory($val) + { + $this->_propDict["errorCategory"] = $val; + return $this; + } + /** + * Gets the errorCode + * Unique error code if any occurred. Learn more + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Unique error code if any occurred. Learn more + * + * @param string $val The value of the errorCode + * + * @return ProvisioningErrorInfo + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the reason + * Summarizes the status and describes why the status happened. + * + * @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 + * Summarizes the status and describes why the status happened. + * + * @param string $val The value of the reason + * + * @return ProvisioningErrorInfo + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + /** + * Gets the recommendedAction + * Provides the resolution for the corresponding error. + * + * @return string|null The recommendedAction + */ + public function getRecommendedAction() + { + if (array_key_exists("recommendedAction", $this->_propDict)) { + return $this->_propDict["recommendedAction"]; + } else { + return null; + } + } + + /** + * Sets the recommendedAction + * Provides the resolution for the corresponding error. + * + * @param string $val The value of the recommendedAction + * + * @return ProvisioningErrorInfo + */ + public function setRecommendedAction($val) + { + $this->_propDict["recommendedAction"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php new file mode 100644 index 0000000..bb0f134 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php @@ -0,0 +1,587 @@ +_propDict)) { + return $this->_propDict["action"]; + } else { + return null; + } + } + + /** + * Sets the action + * + * @param string $val The action + * + * @return ProvisioningObjectSummary + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * 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 activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * 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 activityDateTime + * + * @return ProvisioningObjectSummary + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the changeId + * Unique ID of this change in this cycle. + * + * @return string|null The changeId + */ + public function getChangeId() + { + if (array_key_exists("changeId", $this->_propDict)) { + return $this->_propDict["changeId"]; + } else { + return null; + } + } + + /** + * Sets the changeId + * Unique ID of this change in this cycle. + * + * @param string $val The changeId + * + * @return ProvisioningObjectSummary + */ + public function setChangeId($val) + { + $this->_propDict["changeId"] = $val; + return $this; + } + + /** + * Gets the cycleId + * Unique ID per job iteration. + * + * @return string|null The cycleId + */ + public function getCycleId() + { + if (array_key_exists("cycleId", $this->_propDict)) { + return $this->_propDict["cycleId"]; + } else { + return null; + } + } + + /** + * Sets the cycleId + * Unique ID per job iteration. + * + * @param string $val The cycleId + * + * @return ProvisioningObjectSummary + */ + public function setCycleId($val) + { + $this->_propDict["cycleId"] = $val; + return $this; + } + + /** + * Gets the durationInMilliseconds + * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * + * @return int|null The durationInMilliseconds + */ + public function getDurationInMilliseconds() + { + if (array_key_exists("durationInMilliseconds", $this->_propDict)) { + return $this->_propDict["durationInMilliseconds"]; + } else { + return null; + } + } + + /** + * Sets the durationInMilliseconds + * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * + * @param int $val The durationInMilliseconds + * + * @return ProvisioningObjectSummary + */ + public function setDurationInMilliseconds($val) + { + $this->_propDict["durationInMilliseconds"] = intval($val); + return $this; + } + + /** + * Gets the initiatedBy + * Details of who initiated this provisioning. + * + * @return Initiator|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\Initiator") || is_null($this->_propDict["initiatedBy"])) { + return $this->_propDict["initiatedBy"]; + } else { + $this->_propDict["initiatedBy"] = new Initiator($this->_propDict["initiatedBy"]); + return $this->_propDict["initiatedBy"]; + } + } + return null; + } + + /** + * Sets the initiatedBy + * Details of who initiated this provisioning. + * + * @param Initiator $val The initiatedBy + * + * @return ProvisioningObjectSummary + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the jobId + * The unique ID for the whole provisioning job. + * + * @return string|null The jobId + */ + public function getJobId() + { + if (array_key_exists("jobId", $this->_propDict)) { + return $this->_propDict["jobId"]; + } else { + return null; + } + } + + /** + * Sets the jobId + * The unique ID for the whole provisioning job. + * + * @param string $val The jobId + * + * @return ProvisioningObjectSummary + */ + public function setJobId($val) + { + $this->_propDict["jobId"] = $val; + return $this; + } + + + /** + * Gets the modifiedProperties + * Details of each property that was modified in this provisioning action on this object. + * + * @return array|null The modifiedProperties + */ + public function getModifiedProperties() + { + if (array_key_exists("modifiedProperties", $this->_propDict)) { + return $this->_propDict["modifiedProperties"]; + } else { + return null; + } + } + + /** + * Sets the modifiedProperties + * Details of each property that was modified in this provisioning action on this object. + * + * @param ModifiedProperty[] $val The modifiedProperties + * + * @return ProvisioningObjectSummary + */ + public function setModifiedProperties($val) + { + $this->_propDict["modifiedProperties"] = $val; + return $this; + } + + /** + * Gets the provisioningAction + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * + * @return ProvisioningAction|null The provisioningAction + */ + public function getProvisioningAction() + { + if (array_key_exists("provisioningAction", $this->_propDict)) { + if (is_a($this->_propDict["provisioningAction"], "\Beta\Microsoft\Graph\Model\ProvisioningAction") || is_null($this->_propDict["provisioningAction"])) { + return $this->_propDict["provisioningAction"]; + } else { + $this->_propDict["provisioningAction"] = new ProvisioningAction($this->_propDict["provisioningAction"]); + return $this->_propDict["provisioningAction"]; + } + } + return null; + } + + /** + * Sets the provisioningAction + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * + * @param ProvisioningAction $val The provisioningAction + * + * @return ProvisioningObjectSummary + */ + public function setProvisioningAction($val) + { + $this->_propDict["provisioningAction"] = $val; + return $this; + } + + /** + * Gets the provisioningStatusInfo + * Details of provisioning status. + * + * @return ProvisioningStatusInfo|null The provisioningStatusInfo + */ + public function getProvisioningStatusInfo() + { + if (array_key_exists("provisioningStatusInfo", $this->_propDict)) { + if (is_a($this->_propDict["provisioningStatusInfo"], "\Beta\Microsoft\Graph\Model\ProvisioningStatusInfo") || is_null($this->_propDict["provisioningStatusInfo"])) { + return $this->_propDict["provisioningStatusInfo"]; + } else { + $this->_propDict["provisioningStatusInfo"] = new ProvisioningStatusInfo($this->_propDict["provisioningStatusInfo"]); + return $this->_propDict["provisioningStatusInfo"]; + } + } + return null; + } + + /** + * Sets the provisioningStatusInfo + * Details of provisioning status. + * + * @param ProvisioningStatusInfo $val The provisioningStatusInfo + * + * @return ProvisioningObjectSummary + */ + public function setProvisioningStatusInfo($val) + { + $this->_propDict["provisioningStatusInfo"] = $val; + return $this; + } + + + /** + * Gets the provisioningSteps + * Details of each step in provisioning. + * + * @return array|null The provisioningSteps + */ + public function getProvisioningSteps() + { + if (array_key_exists("provisioningSteps", $this->_propDict)) { + return $this->_propDict["provisioningSteps"]; + } else { + return null; + } + } + + /** + * Sets the provisioningSteps + * Details of each step in provisioning. + * + * @param ProvisioningStep[] $val The provisioningSteps + * + * @return ProvisioningObjectSummary + */ + public function setProvisioningSteps($val) + { + $this->_propDict["provisioningSteps"] = $val; + return $this; + } + + /** + * Gets the servicePrincipal + * Represents the service principal used for provisioning. + * + * @return ProvisioningServicePrincipal|null The servicePrincipal + */ + public function getServicePrincipal() + { + if (array_key_exists("servicePrincipal", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipal"], "\Beta\Microsoft\Graph\Model\ProvisioningServicePrincipal") || is_null($this->_propDict["servicePrincipal"])) { + return $this->_propDict["servicePrincipal"]; + } else { + $this->_propDict["servicePrincipal"] = new ProvisioningServicePrincipal($this->_propDict["servicePrincipal"]); + return $this->_propDict["servicePrincipal"]; + } + } + return null; + } + + /** + * Sets the servicePrincipal + * Represents the service principal used for provisioning. + * + * @param ProvisioningServicePrincipal $val The servicePrincipal + * + * @return ProvisioningObjectSummary + */ + public function setServicePrincipal($val) + { + $this->_propDict["servicePrincipal"] = $val; + return $this; + } + + /** + * Gets the sourceIdentity + * Details of source object being provisioned. + * + * @return ProvisionedIdentity|null The sourceIdentity + */ + public function getSourceIdentity() + { + if (array_key_exists("sourceIdentity", $this->_propDict)) { + if (is_a($this->_propDict["sourceIdentity"], "\Beta\Microsoft\Graph\Model\ProvisionedIdentity") || is_null($this->_propDict["sourceIdentity"])) { + return $this->_propDict["sourceIdentity"]; + } else { + $this->_propDict["sourceIdentity"] = new ProvisionedIdentity($this->_propDict["sourceIdentity"]); + return $this->_propDict["sourceIdentity"]; + } + } + return null; + } + + /** + * Sets the sourceIdentity + * Details of source object being provisioned. + * + * @param ProvisionedIdentity $val The sourceIdentity + * + * @return ProvisioningObjectSummary + */ + public function setSourceIdentity($val) + { + $this->_propDict["sourceIdentity"] = $val; + return $this; + } + + /** + * Gets the sourceSystem + * Details of source system of the object being provisioned. + * + * @return ProvisioningSystem|null The sourceSystem + */ + public function getSourceSystem() + { + if (array_key_exists("sourceSystem", $this->_propDict)) { + if (is_a($this->_propDict["sourceSystem"], "\Beta\Microsoft\Graph\Model\ProvisioningSystem") || is_null($this->_propDict["sourceSystem"])) { + return $this->_propDict["sourceSystem"]; + } else { + $this->_propDict["sourceSystem"] = new ProvisioningSystem($this->_propDict["sourceSystem"]); + return $this->_propDict["sourceSystem"]; + } + } + return null; + } + + /** + * Sets the sourceSystem + * Details of source system of the object being provisioned. + * + * @param ProvisioningSystem $val The sourceSystem + * + * @return ProvisioningObjectSummary + */ + public function setSourceSystem($val) + { + $this->_propDict["sourceSystem"] = $val; + return $this; + } + + /** + * Gets the statusInfo + * + * @return StatusBase|null The statusInfo + */ + public function getStatusInfo() + { + if (array_key_exists("statusInfo", $this->_propDict)) { + if (is_a($this->_propDict["statusInfo"], "\Beta\Microsoft\Graph\Model\StatusBase") || is_null($this->_propDict["statusInfo"])) { + return $this->_propDict["statusInfo"]; + } else { + $this->_propDict["statusInfo"] = new StatusBase($this->_propDict["statusInfo"]); + return $this->_propDict["statusInfo"]; + } + } + return null; + } + + /** + * Sets the statusInfo + * + * @param StatusBase $val The statusInfo + * + * @return ProvisioningObjectSummary + */ + public function setStatusInfo($val) + { + $this->_propDict["statusInfo"] = $val; + return $this; + } + + /** + * Gets the targetIdentity + * Details of target object being provisioned. + * + * @return ProvisionedIdentity|null The targetIdentity + */ + public function getTargetIdentity() + { + if (array_key_exists("targetIdentity", $this->_propDict)) { + if (is_a($this->_propDict["targetIdentity"], "\Beta\Microsoft\Graph\Model\ProvisionedIdentity") || is_null($this->_propDict["targetIdentity"])) { + return $this->_propDict["targetIdentity"]; + } else { + $this->_propDict["targetIdentity"] = new ProvisionedIdentity($this->_propDict["targetIdentity"]); + return $this->_propDict["targetIdentity"]; + } + } + return null; + } + + /** + * Sets the targetIdentity + * Details of target object being provisioned. + * + * @param ProvisionedIdentity $val The targetIdentity + * + * @return ProvisioningObjectSummary + */ + public function setTargetIdentity($val) + { + $this->_propDict["targetIdentity"] = $val; + return $this; + } + + /** + * Gets the targetSystem + * Details of target system of the object being provisioned. + * + * @return ProvisioningSystem|null The targetSystem + */ + public function getTargetSystem() + { + if (array_key_exists("targetSystem", $this->_propDict)) { + if (is_a($this->_propDict["targetSystem"], "\Beta\Microsoft\Graph\Model\ProvisioningSystem") || is_null($this->_propDict["targetSystem"])) { + return $this->_propDict["targetSystem"]; + } else { + $this->_propDict["targetSystem"] = new ProvisioningSystem($this->_propDict["targetSystem"]); + return $this->_propDict["targetSystem"]; + } + } + return null; + } + + /** + * Sets the targetSystem + * Details of target system of the object being provisioned. + * + * @param ProvisioningSystem $val The targetSystem + * + * @return ProvisioningObjectSummary + */ + public function setTargetSystem($val) + { + $this->_propDict["targetSystem"] = $val; + return $this; + } + + /** + * Gets the tenantId + * Unique Azure AD tenant ID. + * + * @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 + * Unique Azure AD tenant ID. + * + * @param string $val The tenantId + * + * @return ProvisioningObjectSummary + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningResult.php new file mode 100644 index 0000000..b6b866d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningResult.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["errorInformation"], "\Beta\Microsoft\Graph\Model\ProvisioningErrorInfo") || is_null($this->_propDict["errorInformation"])) { + return $this->_propDict["errorInformation"]; + } else { + $this->_propDict["errorInformation"] = new ProvisioningErrorInfo($this->_propDict["errorInformation"]); + return $this->_propDict["errorInformation"]; + } + } + return null; + } + + /** + * Sets the errorInformation + * + * @param ProvisioningErrorInfo $val The value to assign to the errorInformation + * + * @return ProvisioningStatusInfo The ProvisioningStatusInfo + */ + public function setErrorInformation($val) + { + $this->_propDict["errorInformation"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @return ProvisioningResult|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ProvisioningResult") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ProvisioningResult($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @param ProvisioningResult $val The value to assign to the status + * + * @return ProvisioningStatusInfo The ProvisioningStatusInfo + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStep.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStep.php new file mode 100644 index 0000000..0ba9a24 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStep.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Summary of what occurred during the step. + * + * @param string $val The value of the description + * + * @return ProvisioningStep + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the details + * Details of what occurred during the step. + * + * @return DetailsInfo|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\DetailsInfo") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of what occurred during the step. + * + * @param DetailsInfo $val The value to assign to the details + * + * @return ProvisioningStep The ProvisioningStep + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the name + * Name of the step. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the step. + * + * @param string $val The value of the name + * + * @return ProvisioningStep + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the provisioningStepType + * Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. + * + * @return ProvisioningStepType|null The provisioningStepType + */ + public function getProvisioningStepType() + { + if (array_key_exists("provisioningStepType", $this->_propDict)) { + if (is_a($this->_propDict["provisioningStepType"], "\Beta\Microsoft\Graph\Model\ProvisioningStepType") || is_null($this->_propDict["provisioningStepType"])) { + return $this->_propDict["provisioningStepType"]; + } else { + $this->_propDict["provisioningStepType"] = new ProvisioningStepType($this->_propDict["provisioningStepType"]); + return $this->_propDict["provisioningStepType"]; + } + } + return null; + } + + /** + * Sets the provisioningStepType + * Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. + * + * @param ProvisioningStepType $val The value to assign to the provisioningStepType + * + * @return ProvisioningStep The ProvisioningStep + */ + public function setProvisioningStepType($val) + { + $this->_propDict["provisioningStepType"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @return ProvisioningResult|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ProvisioningResult") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ProvisioningResult($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @param ProvisioningResult $val The value to assign to the status + * + * @return ProvisioningStep The ProvisioningStep + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStepType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStepType.php new file mode 100644 index 0000000..4cf58a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStepType.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\DetailsInfo") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of the system. + * + * @param DetailsInfo $val The value to assign to the details + * + * @return ProvisioningSystem The ProvisioningSystem + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProxiedDomain.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProxiedDomain.php new file mode 100644 index 0000000..099f375 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProxiedDomain.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["ipAddressOrFQDN"]; + } else { + return null; + } + } + + /** + * Sets the ipAddressOrFQDN + * The IP address or FQDN + * + * @param string $val The value of the ipAddressOrFQDN + * + * @return ProxiedDomain + */ + public function setIpAddressOrFQDN($val) + { + $this->_propDict["ipAddressOrFQDN"] = $val; + return $this; + } + /** + * Gets the proxy + * Proxy IP or FQDN + * + * @return string|null The proxy + */ + public function getProxy() + { + if (array_key_exists("proxy", $this->_propDict)) { + return $this->_propDict["proxy"]; + } else { + return null; + } + } + + /** + * Sets the proxy + * Proxy IP or FQDN + * + * @param string $val The value of the proxy + * + * @return ProxiedDomain + */ + public function setProxy($val) + { + $this->_propDict["proxy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicClientApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicClientApplication.php new file mode 100644 index 0000000..155f95a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicClientApplication.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @param string $val The value of the redirectUris + * + * @return PublicClientApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicError.php new file mode 100644 index 0000000..1672a8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicError.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * Represents the error code. + * + * @param string $val The value of the code + * + * @return PublicError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the details + * Details of the error. + * + * @return PublicErrorDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PublicErrorDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PublicErrorDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of the error. + * + * @param PublicErrorDetail $val The value to assign to the details + * + * @return PublicError The PublicError + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the innerError + * Details of the inner error. + * + * @return PublicInnerError|null The innerError + */ + public function getInnerError() + { + if (array_key_exists("innerError", $this->_propDict)) { + if (is_a($this->_propDict["innerError"], "\Beta\Microsoft\Graph\Model\PublicInnerError") || is_null($this->_propDict["innerError"])) { + return $this->_propDict["innerError"]; + } else { + $this->_propDict["innerError"] = new PublicInnerError($this->_propDict["innerError"]); + return $this->_propDict["innerError"]; + } + } + return null; + } + + /** + * Sets the innerError + * Details of the inner error. + * + * @param PublicInnerError $val The value to assign to the innerError + * + * @return PublicError The PublicError + */ + public function setInnerError($val) + { + $this->_propDict["innerError"] = $val; + return $this; + } + /** + * Gets the message + * A non-localized message for the developer. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * A non-localized message for the developer. + * + * @param string $val The value of the message + * + * @return PublicError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * The target of the error. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The target of the error. + * + * @param string $val The value of the target + * + * @return PublicError + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorDetail.php new file mode 100644 index 0000000..cfbfd77 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorDetail.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return PublicErrorDetail + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return PublicErrorDetail + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * The target of the error. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The target of the error. + * + * @param string $val The value of the target + * + * @return PublicErrorDetail + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorResponse.php new file mode 100644 index 0000000..592a537 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorResponse.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param PublicError $val The value to assign to the error + * + * @return PublicErrorResponse The PublicErrorResponse + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicInnerError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicInnerError.php new file mode 100644 index 0000000..b1cd259 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicInnerError.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return PublicInnerError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the details + * A collection of error details. + * + * @return PublicErrorDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PublicErrorDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PublicErrorDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * A collection of error details. + * + * @param PublicErrorDetail $val The value to assign to the details + * + * @return PublicInnerError The PublicInnerError + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return PublicInnerError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * The target of the error. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The target of the error. + * + * @param string $val The value of the target + * + * @return PublicInnerError + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicationFacet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicationFacet.php new file mode 100644 index 0000000..f027e8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicationFacet.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["level"]; + } else { + return null; + } + } + + /** + * Sets the level + * The state of publication for this document. Either published or checkout. Read-only. + * + * @param string $val The value of the level + * + * @return PublicationFacet + */ + public function setLevel($val) + { + $this->_propDict["level"] = $val; + return $this; + } + /** + * Gets the versionId + * The unique identifier for the version that is visible to the current caller. Read-only. + * + * @return string|null The versionId + */ + public function getVersionId() + { + if (array_key_exists("versionId", $this->_propDict)) { + return $this->_propDict["versionId"]; + } else { + return null; + } + } + + /** + * Sets the versionId + * The unique identifier for the version that is visible to the current caller. Read-only. + * + * @param string $val The value of the versionId + * + * @return PublicationFacet + */ + public function setVersionId($val) + { + $this->_propDict["versionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublishedResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublishedResource.php new file mode 100644 index 0000000..b086f96 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublishedResource.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display Name of the publishedResource. + * + * @param string $val The displayName + * + * @return PublishedResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the publishingType + * Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. + * + * @return OnPremisesPublishingType|null The publishingType + */ + public function getPublishingType() + { + if (array_key_exists("publishingType", $this->_propDict)) { + if (is_a($this->_propDict["publishingType"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingType") || is_null($this->_propDict["publishingType"])) { + return $this->_propDict["publishingType"]; + } else { + $this->_propDict["publishingType"] = new OnPremisesPublishingType($this->_propDict["publishingType"]); + return $this->_propDict["publishingType"]; + } + } + return null; + } + + /** + * Sets the publishingType + * Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. + * + * @param OnPremisesPublishingType $val The publishingType + * + * @return PublishedResource + */ + public function setPublishingType($val) + { + $this->_propDict["publishingType"] = $val; + return $this; + } + + /** + * Gets the resourceName + * Name of the publishedResource. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * Name of the publishedResource. + * + * @param string $val The resourceName + * + * @return PublishedResource + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + + + /** + * Gets the agentGroups + * List of onPremisesAgentGroups that a publishedResource is assigned to. Read-only. Nullable. + * + * @return array|null The agentGroups + */ + public function getAgentGroups() + { + if (array_key_exists("agentGroups", $this->_propDict)) { + return $this->_propDict["agentGroups"]; + } else { + return null; + } + } + + /** + * Sets the agentGroups + * List of onPremisesAgentGroups that a publishedResource is assigned to. Read-only. Nullable. + * + * @param OnPremisesAgentGroup[] $val The agentGroups + * + * @return PublishedResource + */ + public function setAgentGroups($val) + { + $this->_propDict["agentGroups"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoice.php new file mode 100644 index 0000000..f0485f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoice.php @@ -0,0 +1,859 @@ +_propDict)) { + if (is_a($this->_propDict["buyFromAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["buyFromAddress"])) { + return $this->_propDict["buyFromAddress"]; + } else { + $this->_propDict["buyFromAddress"] = new PostalAddressType($this->_propDict["buyFromAddress"]); + return $this->_propDict["buyFromAddress"]; + } + } + return null; + } + + /** + * Sets the buyFromAddress + * + * @param PostalAddressType $val The buyFromAddress + * + * @return PurchaseInvoice + */ + public function setBuyFromAddress($val) + { + $this->_propDict["buyFromAddress"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return PurchaseInvoice + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return PurchaseInvoice + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return PurchaseInvoice + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return PurchaseInvoice + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the dueDate + * + * @return \DateTime|null The dueDate + */ + public function getDueDate() + { + if (array_key_exists("dueDate", $this->_propDict)) { + if (is_a($this->_propDict["dueDate"], "\DateTime") || is_null($this->_propDict["dueDate"])) { + return $this->_propDict["dueDate"]; + } else { + $this->_propDict["dueDate"] = new \DateTime($this->_propDict["dueDate"]); + return $this->_propDict["dueDate"]; + } + } + return null; + } + + /** + * Sets the dueDate + * + * @param \DateTime $val The dueDate + * + * @return PurchaseInvoice + */ + public function setDueDate($val) + { + $this->_propDict["dueDate"] = $val; + return $this; + } + + /** + * Gets the invoiceDate + * + * @return \DateTime|null The invoiceDate + */ + public function getInvoiceDate() + { + if (array_key_exists("invoiceDate", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDate"], "\DateTime") || is_null($this->_propDict["invoiceDate"])) { + return $this->_propDict["invoiceDate"]; + } else { + $this->_propDict["invoiceDate"] = new \DateTime($this->_propDict["invoiceDate"]); + return $this->_propDict["invoiceDate"]; + } + } + return null; + } + + /** + * Sets the invoiceDate + * + * @param \DateTime $val The invoiceDate + * + * @return PurchaseInvoice + */ + public function setInvoiceDate($val) + { + $this->_propDict["invoiceDate"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PurchaseInvoice + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return PurchaseInvoice + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the payToAddress + * + * @return PostalAddressType|null The payToAddress + */ + public function getPayToAddress() + { + if (array_key_exists("payToAddress", $this->_propDict)) { + if (is_a($this->_propDict["payToAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["payToAddress"])) { + return $this->_propDict["payToAddress"]; + } else { + $this->_propDict["payToAddress"] = new PostalAddressType($this->_propDict["payToAddress"]); + return $this->_propDict["payToAddress"]; + } + } + return null; + } + + /** + * Sets the payToAddress + * + * @param PostalAddressType $val The payToAddress + * + * @return PurchaseInvoice + */ + public function setPayToAddress($val) + { + $this->_propDict["payToAddress"] = $val; + return $this; + } + + /** + * Gets the payToContact + * + * @return string|null The payToContact + */ + public function getPayToContact() + { + if (array_key_exists("payToContact", $this->_propDict)) { + return $this->_propDict["payToContact"]; + } else { + return null; + } + } + + /** + * Sets the payToContact + * + * @param string $val The payToContact + * + * @return PurchaseInvoice + */ + public function setPayToContact($val) + { + $this->_propDict["payToContact"] = $val; + return $this; + } + + /** + * Gets the payToName + * + * @return string|null The payToName + */ + public function getPayToName() + { + if (array_key_exists("payToName", $this->_propDict)) { + return $this->_propDict["payToName"]; + } else { + return null; + } + } + + /** + * Sets the payToName + * + * @param string $val The payToName + * + * @return PurchaseInvoice + */ + public function setPayToName($val) + { + $this->_propDict["payToName"] = $val; + return $this; + } + + /** + * Gets the payToVendorId + * + * @return string|null The payToVendorId + */ + public function getPayToVendorId() + { + if (array_key_exists("payToVendorId", $this->_propDict)) { + return $this->_propDict["payToVendorId"]; + } else { + return null; + } + } + + /** + * Sets the payToVendorId + * + * @param string $val The payToVendorId + * + * @return PurchaseInvoice + */ + public function setPayToVendorId($val) + { + $this->_propDict["payToVendorId"] = $val; + return $this; + } + + /** + * Gets the payToVendorNumber + * + * @return string|null The payToVendorNumber + */ + public function getPayToVendorNumber() + { + if (array_key_exists("payToVendorNumber", $this->_propDict)) { + return $this->_propDict["payToVendorNumber"]; + } else { + return null; + } + } + + /** + * Sets the payToVendorNumber + * + * @param string $val The payToVendorNumber + * + * @return PurchaseInvoice + */ + public function setPayToVendorNumber($val) + { + $this->_propDict["payToVendorNumber"] = $val; + return $this; + } + + /** + * Gets the pricesIncludeTax + * + * @return bool|null The pricesIncludeTax + */ + public function getPricesIncludeTax() + { + if (array_key_exists("pricesIncludeTax", $this->_propDict)) { + return $this->_propDict["pricesIncludeTax"]; + } else { + return null; + } + } + + /** + * Sets the pricesIncludeTax + * + * @param bool $val The pricesIncludeTax + * + * @return PurchaseInvoice + */ + public function setPricesIncludeTax($val) + { + $this->_propDict["pricesIncludeTax"] = boolval($val); + return $this; + } + + /** + * Gets the shipToAddress + * + * @return PostalAddressType|null The shipToAddress + */ + public function getShipToAddress() + { + if (array_key_exists("shipToAddress", $this->_propDict)) { + if (is_a($this->_propDict["shipToAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["shipToAddress"])) { + return $this->_propDict["shipToAddress"]; + } else { + $this->_propDict["shipToAddress"] = new PostalAddressType($this->_propDict["shipToAddress"]); + return $this->_propDict["shipToAddress"]; + } + } + return null; + } + + /** + * Sets the shipToAddress + * + * @param PostalAddressType $val The shipToAddress + * + * @return PurchaseInvoice + */ + public function setShipToAddress($val) + { + $this->_propDict["shipToAddress"] = $val; + return $this; + } + + /** + * Gets the shipToContact + * + * @return string|null The shipToContact + */ + public function getShipToContact() + { + if (array_key_exists("shipToContact", $this->_propDict)) { + return $this->_propDict["shipToContact"]; + } else { + return null; + } + } + + /** + * Sets the shipToContact + * + * @param string $val The shipToContact + * + * @return PurchaseInvoice + */ + public function setShipToContact($val) + { + $this->_propDict["shipToContact"] = $val; + return $this; + } + + /** + * Gets the shipToName + * + * @return string|null The shipToName + */ + public function getShipToName() + { + if (array_key_exists("shipToName", $this->_propDict)) { + return $this->_propDict["shipToName"]; + } else { + return null; + } + } + + /** + * Sets the shipToName + * + * @param string $val The shipToName + * + * @return PurchaseInvoice + */ + public function setShipToName($val) + { + $this->_propDict["shipToName"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return PurchaseInvoice + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the totalAmountExcludingTax + * + * @return Decimal|null The totalAmountExcludingTax + */ + public function getTotalAmountExcludingTax() + { + if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountExcludingTax"])) { + return $this->_propDict["totalAmountExcludingTax"]; + } else { + $this->_propDict["totalAmountExcludingTax"] = new Decimal($this->_propDict["totalAmountExcludingTax"]); + return $this->_propDict["totalAmountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountExcludingTax + * + * @param Decimal $val The totalAmountExcludingTax + * + * @return PurchaseInvoice + */ + public function setTotalAmountExcludingTax($val) + { + $this->_propDict["totalAmountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the totalAmountIncludingTax + * + * @return Decimal|null The totalAmountIncludingTax + */ + public function getTotalAmountIncludingTax() + { + if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountIncludingTax"])) { + return $this->_propDict["totalAmountIncludingTax"]; + } else { + $this->_propDict["totalAmountIncludingTax"] = new Decimal($this->_propDict["totalAmountIncludingTax"]); + return $this->_propDict["totalAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountIncludingTax + * + * @param Decimal $val The totalAmountIncludingTax + * + * @return PurchaseInvoice + */ + public function setTotalAmountIncludingTax($val) + { + $this->_propDict["totalAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return PurchaseInvoice + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the vendorId + * + * @return string|null The vendorId + */ + public function getVendorId() + { + if (array_key_exists("vendorId", $this->_propDict)) { + return $this->_propDict["vendorId"]; + } else { + return null; + } + } + + /** + * Sets the vendorId + * + * @param string $val The vendorId + * + * @return PurchaseInvoice + */ + public function setVendorId($val) + { + $this->_propDict["vendorId"] = $val; + return $this; + } + + /** + * Gets the vendorInvoiceNumber + * + * @return string|null The vendorInvoiceNumber + */ + public function getVendorInvoiceNumber() + { + if (array_key_exists("vendorInvoiceNumber", $this->_propDict)) { + return $this->_propDict["vendorInvoiceNumber"]; + } else { + return null; + } + } + + /** + * Sets the vendorInvoiceNumber + * + * @param string $val The vendorInvoiceNumber + * + * @return PurchaseInvoice + */ + public function setVendorInvoiceNumber($val) + { + $this->_propDict["vendorInvoiceNumber"] = $val; + return $this; + } + + /** + * Gets the vendorName + * + * @return string|null The vendorName + */ + public function getVendorName() + { + if (array_key_exists("vendorName", $this->_propDict)) { + return $this->_propDict["vendorName"]; + } else { + return null; + } + } + + /** + * Sets the vendorName + * + * @param string $val The vendorName + * + * @return PurchaseInvoice + */ + public function setVendorName($val) + { + $this->_propDict["vendorName"] = $val; + return $this; + } + + /** + * Gets the vendorNumber + * + * @return string|null The vendorNumber + */ + public function getVendorNumber() + { + if (array_key_exists("vendorNumber", $this->_propDict)) { + return $this->_propDict["vendorNumber"]; + } else { + return null; + } + } + + /** + * Sets the vendorNumber + * + * @param string $val The vendorNumber + * + * @return PurchaseInvoice + */ + public function setVendorNumber($val) + { + $this->_propDict["vendorNumber"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return PurchaseInvoice + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + + /** + * Gets the purchaseInvoiceLines + * + * @return array|null The purchaseInvoiceLines + */ + public function getPurchaseInvoiceLines() + { + if (array_key_exists("purchaseInvoiceLines", $this->_propDict)) { + return $this->_propDict["purchaseInvoiceLines"]; + } else { + return null; + } + } + + /** + * Sets the purchaseInvoiceLines + * + * @param PurchaseInvoiceLine[] $val The purchaseInvoiceLines + * + * @return PurchaseInvoice + */ + public function setPurchaseInvoiceLines($val) + { + $this->_propDict["purchaseInvoiceLines"] = $val; + return $this; + } + + /** + * Gets the vendor + * + * @return Vendor|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + if (is_a($this->_propDict["vendor"], "\Beta\Microsoft\Graph\Model\Vendor") || is_null($this->_propDict["vendor"])) { + return $this->_propDict["vendor"]; + } else { + $this->_propDict["vendor"] = new Vendor($this->_propDict["vendor"]); + return $this->_propDict["vendor"]; + } + } + return null; + } + + /** + * Sets the vendor + * + * @param Vendor $val The vendor + * + * @return PurchaseInvoice + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoiceLine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoiceLine.php new file mode 100644 index 0000000..2b8d655 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoiceLine.php @@ -0,0 +1,708 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return PurchaseInvoiceLine + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the amountExcludingTax + * + * @return Decimal|null The amountExcludingTax + */ + public function getAmountExcludingTax() + { + if (array_key_exists("amountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountExcludingTax"])) { + return $this->_propDict["amountExcludingTax"]; + } else { + $this->_propDict["amountExcludingTax"] = new Decimal($this->_propDict["amountExcludingTax"]); + return $this->_propDict["amountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the amountExcludingTax + * + * @param Decimal $val The amountExcludingTax + * + * @return PurchaseInvoiceLine + */ + public function setAmountExcludingTax($val) + { + $this->_propDict["amountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the amountIncludingTax + * + * @return Decimal|null The amountIncludingTax + */ + public function getAmountIncludingTax() + { + if (array_key_exists("amountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountIncludingTax"])) { + return $this->_propDict["amountIncludingTax"]; + } else { + $this->_propDict["amountIncludingTax"] = new Decimal($this->_propDict["amountIncludingTax"]); + return $this->_propDict["amountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the amountIncludingTax + * + * @param Decimal $val The amountIncludingTax + * + * @return PurchaseInvoiceLine + */ + public function setAmountIncludingTax($val) + { + $this->_propDict["amountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return PurchaseInvoiceLine + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return PurchaseInvoiceLine + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return PurchaseInvoiceLine + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the discountPercent + * + * @return Decimal|null The discountPercent + */ + public function getDiscountPercent() + { + if (array_key_exists("discountPercent", $this->_propDict)) { + if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountPercent"])) { + return $this->_propDict["discountPercent"]; + } else { + $this->_propDict["discountPercent"] = new Decimal($this->_propDict["discountPercent"]); + return $this->_propDict["discountPercent"]; + } + } + return null; + } + + /** + * Sets the discountPercent + * + * @param Decimal $val The discountPercent + * + * @return PurchaseInvoiceLine + */ + public function setDiscountPercent($val) + { + $this->_propDict["discountPercent"] = $val; + return $this; + } + + /** + * Gets the documentId + * + * @return string|null The documentId + */ + public function getDocumentId() + { + if (array_key_exists("documentId", $this->_propDict)) { + return $this->_propDict["documentId"]; + } else { + return null; + } + } + + /** + * Sets the documentId + * + * @param string $val The documentId + * + * @return PurchaseInvoiceLine + */ + public function setDocumentId($val) + { + $this->_propDict["documentId"] = $val; + return $this; + } + + /** + * Gets the expectedReceiptDate + * + * @return \DateTime|null The expectedReceiptDate + */ + public function getExpectedReceiptDate() + { + if (array_key_exists("expectedReceiptDate", $this->_propDict)) { + if (is_a($this->_propDict["expectedReceiptDate"], "\DateTime") || is_null($this->_propDict["expectedReceiptDate"])) { + return $this->_propDict["expectedReceiptDate"]; + } else { + $this->_propDict["expectedReceiptDate"] = new \DateTime($this->_propDict["expectedReceiptDate"]); + return $this->_propDict["expectedReceiptDate"]; + } + } + return null; + } + + /** + * Sets the expectedReceiptDate + * + * @param \DateTime $val The expectedReceiptDate + * + * @return PurchaseInvoiceLine + */ + public function setExpectedReceiptDate($val) + { + $this->_propDict["expectedReceiptDate"] = $val; + return $this; + } + + /** + * Gets the invoiceDiscountAllocation + * + * @return Decimal|null The invoiceDiscountAllocation + */ + public function getInvoiceDiscountAllocation() + { + if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["invoiceDiscountAllocation"])) { + return $this->_propDict["invoiceDiscountAllocation"]; + } else { + $this->_propDict["invoiceDiscountAllocation"] = new Decimal($this->_propDict["invoiceDiscountAllocation"]); + return $this->_propDict["invoiceDiscountAllocation"]; + } + } + return null; + } + + /** + * Sets the invoiceDiscountAllocation + * + * @param Decimal $val The invoiceDiscountAllocation + * + * @return PurchaseInvoiceLine + */ + public function setInvoiceDiscountAllocation($val) + { + $this->_propDict["invoiceDiscountAllocation"] = $val; + return $this; + } + + /** + * Gets the itemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * + * @param string $val The itemId + * + * @return PurchaseInvoiceLine + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + + /** + * Gets the lineType + * + * @return string|null The lineType + */ + public function getLineType() + { + if (array_key_exists("lineType", $this->_propDict)) { + return $this->_propDict["lineType"]; + } else { + return null; + } + } + + /** + * Sets the lineType + * + * @param string $val The lineType + * + * @return PurchaseInvoiceLine + */ + public function setLineType($val) + { + $this->_propDict["lineType"] = $val; + return $this; + } + + /** + * Gets the netAmount + * + * @return Decimal|null The netAmount + */ + public function getNetAmount() + { + if (array_key_exists("netAmount", $this->_propDict)) { + if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmount"])) { + return $this->_propDict["netAmount"]; + } else { + $this->_propDict["netAmount"] = new Decimal($this->_propDict["netAmount"]); + return $this->_propDict["netAmount"]; + } + } + return null; + } + + /** + * Sets the netAmount + * + * @param Decimal $val The netAmount + * + * @return PurchaseInvoiceLine + */ + public function setNetAmount($val) + { + $this->_propDict["netAmount"] = $val; + return $this; + } + + /** + * Gets the netAmountIncludingTax + * + * @return Decimal|null The netAmountIncludingTax + */ + public function getNetAmountIncludingTax() + { + if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmountIncludingTax"])) { + return $this->_propDict["netAmountIncludingTax"]; + } else { + $this->_propDict["netAmountIncludingTax"] = new Decimal($this->_propDict["netAmountIncludingTax"]); + return $this->_propDict["netAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the netAmountIncludingTax + * + * @param Decimal $val The netAmountIncludingTax + * + * @return PurchaseInvoiceLine + */ + public function setNetAmountIncludingTax($val) + { + $this->_propDict["netAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the netTaxAmount + * + * @return Decimal|null The netTaxAmount + */ + public function getNetTaxAmount() + { + if (array_key_exists("netTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netTaxAmount"])) { + return $this->_propDict["netTaxAmount"]; + } else { + $this->_propDict["netTaxAmount"] = new Decimal($this->_propDict["netTaxAmount"]); + return $this->_propDict["netTaxAmount"]; + } + } + return null; + } + + /** + * Sets the netTaxAmount + * + * @param Decimal $val The netTaxAmount + * + * @return PurchaseInvoiceLine + */ + public function setNetTaxAmount($val) + { + $this->_propDict["netTaxAmount"] = $val; + return $this; + } + + /** + * Gets the quantity + * + * @return Decimal|null The quantity + */ + public function getQuantity() + { + if (array_key_exists("quantity", $this->_propDict)) { + if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["quantity"])) { + return $this->_propDict["quantity"]; + } else { + $this->_propDict["quantity"] = new Decimal($this->_propDict["quantity"]); + return $this->_propDict["quantity"]; + } + } + return null; + } + + /** + * Sets the quantity + * + * @param Decimal $val The quantity + * + * @return PurchaseInvoiceLine + */ + public function setQuantity($val) + { + $this->_propDict["quantity"] = $val; + return $this; + } + + /** + * Gets the sequence + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * + * @param int $val The sequence + * + * @return PurchaseInvoiceLine + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + + /** + * Gets the taxCode + * + * @return string|null The taxCode + */ + public function getTaxCode() + { + if (array_key_exists("taxCode", $this->_propDict)) { + return $this->_propDict["taxCode"]; + } else { + return null; + } + } + + /** + * Sets the taxCode + * + * @param string $val The taxCode + * + * @return PurchaseInvoiceLine + */ + public function setTaxCode($val) + { + $this->_propDict["taxCode"] = $val; + return $this; + } + + /** + * Gets the taxPercent + * + * @return Decimal|null The taxPercent + */ + public function getTaxPercent() + { + if (array_key_exists("taxPercent", $this->_propDict)) { + if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["taxPercent"])) { + return $this->_propDict["taxPercent"]; + } else { + $this->_propDict["taxPercent"] = new Decimal($this->_propDict["taxPercent"]); + return $this->_propDict["taxPercent"]; + } + } + return null; + } + + /** + * Sets the taxPercent + * + * @param Decimal $val The taxPercent + * + * @return PurchaseInvoiceLine + */ + public function setTaxPercent($val) + { + $this->_propDict["taxPercent"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return PurchaseInvoiceLine + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the unitCost + * + * @return Decimal|null The unitCost + */ + public function getUnitCost() + { + if (array_key_exists("unitCost", $this->_propDict)) { + if (is_a($this->_propDict["unitCost"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitCost"])) { + return $this->_propDict["unitCost"]; + } else { + $this->_propDict["unitCost"] = new Decimal($this->_propDict["unitCost"]); + return $this->_propDict["unitCost"]; + } + } + return null; + } + + /** + * Sets the unitCost + * + * @param Decimal $val The unitCost + * + * @return PurchaseInvoiceLine + */ + public function setUnitCost($val) + { + $this->_propDict["unitCost"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return PurchaseInvoiceLine + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + /** + * Gets the item + * + * @return Item|null The item + */ + public function getItem() + { + if (array_key_exists("item", $this->_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\Item") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new Item($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * + * @param Item $val The item + * + * @return PurchaseInvoiceLine + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/QuarantineReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/QuarantineReason.php new file mode 100644 index 0000000..25eb055 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/QuarantineReason.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["deleted"]; + } else { + return null; + } + } + + /** + * Sets the deleted + * Total space consumed by files in the recycle bin, in bytes. Read-only. + * + * @param int $val The value of the deleted + * + * @return Quota + */ + public function setDeleted($val) + { + $this->_propDict["deleted"] = $val; + return $this; + } + /** + * Gets the remaining + * Total space remaining before reaching the quota limit, in bytes. Read-only. + * + * @return int|null The remaining + */ + public function getRemaining() + { + if (array_key_exists("remaining", $this->_propDict)) { + return $this->_propDict["remaining"]; + } else { + return null; + } + } + + /** + * Sets the remaining + * Total space remaining before reaching the quota limit, in bytes. Read-only. + * + * @param int $val The value of the remaining + * + * @return Quota + */ + public function setRemaining($val) + { + $this->_propDict["remaining"] = $val; + return $this; + } + /** + * Gets the state + * Enumeration value that indicates the state of the storage space. Read-only. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Enumeration value that indicates the state of the storage space. Read-only. + * + * @param string $val The value of the state + * + * @return Quota + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the storagePlanInformation + * Information about the drive's storage quota plans. Only in Personal OneDrive. + * + * @return StoragePlanInformation|null The storagePlanInformation + */ + public function getStoragePlanInformation() + { + if (array_key_exists("storagePlanInformation", $this->_propDict)) { + if (is_a($this->_propDict["storagePlanInformation"], "\Beta\Microsoft\Graph\Model\StoragePlanInformation") || is_null($this->_propDict["storagePlanInformation"])) { + return $this->_propDict["storagePlanInformation"]; + } else { + $this->_propDict["storagePlanInformation"] = new StoragePlanInformation($this->_propDict["storagePlanInformation"]); + return $this->_propDict["storagePlanInformation"]; + } + } + return null; + } + + /** + * Sets the storagePlanInformation + * Information about the drive's storage quota plans. Only in Personal OneDrive. + * + * @param StoragePlanInformation $val The value to assign to the storagePlanInformation + * + * @return Quota The Quota + */ + public function setStoragePlanInformation($val) + { + $this->_propDict["storagePlanInformation"] = $val; + return $this; + } + /** + * Gets the total + * Total allowed storage space, in bytes. Read-only. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * Total allowed storage space, in bytes. Read-only. + * + * @param int $val The value of the total + * + * @return Quota + */ + public function setTotal($val) + { + $this->_propDict["total"] = $val; + return $this; + } + /** + * Gets the used + * Total space used, in bytes. Read-only. + * + * @return int|null The used + */ + public function getUsed() + { + if (array_key_exists("used", $this->_propDict)) { + return $this->_propDict["used"]; + } else { + return null; + } + } + + /** + * Sets the used + * Total space used, in bytes. Read-only. + * + * @param int $val The value of the used + * + * @return Quota + */ + public function setUsed($val) + { + $this->_propDict["used"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RankedEmailAddress.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RankedEmailAddress.php new file mode 100644 index 0000000..e1effe9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RankedEmailAddress.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address. + * + * @param string $val The value of the address + * + * @return RankedEmailAddress + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the rank + * The rank of the email address. A rank is used as a sort key, in relation to the other returned results. A higher rank value corresponds to a more relevant result. Relevance is determined by communication, collaboration, and business relationship signals. + * + * @return float|null The rank + */ + public function getRank() + { + if (array_key_exists("rank", $this->_propDict)) { + return $this->_propDict["rank"]; + } else { + return null; + } + } + + /** + * Sets the rank + * The rank of the email address. A rank is used as a sort key, in relation to the other returned results. A higher rank value corresponds to a more relevant result. Relevance is determined by communication, collaboration, and business relationship signals. + * + * @param float $val The value of the rank + * + * @return RankedEmailAddress + */ + public function setRank($val) + { + $this->_propDict["rank"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RatingAppsType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RatingAppsType.php new file mode 100644 index 0000000..a614a85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RatingAppsType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["resourceNamespaces"]; + } else { + return null; + } + } + + /** + * Sets the resourceNamespaces + * + * @param UnifiedRbacResourceNamespace[] $val The resourceNamespaces + * + * @return RbacApplication + */ + public function setResourceNamespaces($val) + { + $this->_propDict["resourceNamespaces"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * Resource to grant access to users or groups. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * Resource to grant access to users or groups. + * + * @param UnifiedRoleAssignment[] $val The roleAssignments + * + * @return RbacApplication + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles. + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles. + * + * @param UnifiedRoleDefinition[] $val The roleDefinitions + * + * @return RbacApplication + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the transitiveRoleAssignments + * + * @return array|null The transitiveRoleAssignments + */ + public function getTransitiveRoleAssignments() + { + if (array_key_exists("transitiveRoleAssignments", $this->_propDict)) { + return $this->_propDict["transitiveRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the transitiveRoleAssignments + * + * @param UnifiedRoleAssignment[] $val The transitiveRoleAssignments + * + * @return RbacApplication + */ + public function setTransitiveRoleAssignments($val) + { + $this->_propDict["transitiveRoleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentApprovals + * + * @return array|null The roleAssignmentApprovals + */ + public function getRoleAssignmentApprovals() + { + if (array_key_exists("roleAssignmentApprovals", $this->_propDict)) { + return $this->_propDict["roleAssignmentApprovals"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentApprovals + * + * @param Approval[] $val The roleAssignmentApprovals + * + * @return RbacApplication + */ + public function setRoleAssignmentApprovals($val) + { + $this->_propDict["roleAssignmentApprovals"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentScheduleInstances + * Instances for active role assignments. + * + * @return array|null The roleAssignmentScheduleInstances + */ + public function getRoleAssignmentScheduleInstances() + { + if (array_key_exists("roleAssignmentScheduleInstances", $this->_propDict)) { + return $this->_propDict["roleAssignmentScheduleInstances"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentScheduleInstances + * Instances for active role assignments. + * + * @param UnifiedRoleAssignmentScheduleInstance[] $val The roleAssignmentScheduleInstances + * + * @return RbacApplication + */ + public function setRoleAssignmentScheduleInstances($val) + { + $this->_propDict["roleAssignmentScheduleInstances"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentScheduleRequests + * Requests for active role assignments to principals through PIM. + * + * @return array|null The roleAssignmentScheduleRequests + */ + public function getRoleAssignmentScheduleRequests() + { + if (array_key_exists("roleAssignmentScheduleRequests", $this->_propDict)) { + return $this->_propDict["roleAssignmentScheduleRequests"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentScheduleRequests + * Requests for active role assignments to principals through PIM. + * + * @param UnifiedRoleAssignmentScheduleRequest[] $val The roleAssignmentScheduleRequests + * + * @return RbacApplication + */ + public function setRoleAssignmentScheduleRequests($val) + { + $this->_propDict["roleAssignmentScheduleRequests"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentSchedules + * Schedules for active role assignment operations. + * + * @return array|null The roleAssignmentSchedules + */ + public function getRoleAssignmentSchedules() + { + if (array_key_exists("roleAssignmentSchedules", $this->_propDict)) { + return $this->_propDict["roleAssignmentSchedules"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentSchedules + * Schedules for active role assignment operations. + * + * @param UnifiedRoleAssignmentSchedule[] $val The roleAssignmentSchedules + * + * @return RbacApplication + */ + public function setRoleAssignmentSchedules($val) + { + $this->_propDict["roleAssignmentSchedules"] = $val; + return $this; + } + + + /** + * Gets the roleEligibilityScheduleInstances + * Instances for role eligibility requests. + * + * @return array|null The roleEligibilityScheduleInstances + */ + public function getRoleEligibilityScheduleInstances() + { + if (array_key_exists("roleEligibilityScheduleInstances", $this->_propDict)) { + return $this->_propDict["roleEligibilityScheduleInstances"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilityScheduleInstances + * Instances for role eligibility requests. + * + * @param UnifiedRoleEligibilityScheduleInstance[] $val The roleEligibilityScheduleInstances + * + * @return RbacApplication + */ + public function setRoleEligibilityScheduleInstances($val) + { + $this->_propDict["roleEligibilityScheduleInstances"] = $val; + return $this; + } + + + /** + * Gets the roleEligibilityScheduleRequests + * Requests for role eligibilities for principals through PIM. + * + * @return array|null The roleEligibilityScheduleRequests + */ + public function getRoleEligibilityScheduleRequests() + { + if (array_key_exists("roleEligibilityScheduleRequests", $this->_propDict)) { + return $this->_propDict["roleEligibilityScheduleRequests"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilityScheduleRequests + * Requests for role eligibilities for principals through PIM. + * + * @param UnifiedRoleEligibilityScheduleRequest[] $val The roleEligibilityScheduleRequests + * + * @return RbacApplication + */ + public function setRoleEligibilityScheduleRequests($val) + { + $this->_propDict["roleEligibilityScheduleRequests"] = $val; + return $this; + } + + + /** + * Gets the roleEligibilitySchedules + * Schedules for role eligibility operations. + * + * @return array|null The roleEligibilitySchedules + */ + public function getRoleEligibilitySchedules() + { + if (array_key_exists("roleEligibilitySchedules", $this->_propDict)) { + return $this->_propDict["roleEligibilitySchedules"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilitySchedules + * Schedules for role eligibility operations. + * + * @param UnifiedRoleEligibilitySchedule[] $val The roleEligibilitySchedules + * + * @return RbacApplication + */ + public function setRoleEligibilitySchedules($val) + { + $this->_propDict["roleEligibilitySchedules"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RbacApplicationMultiple.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RbacApplicationMultiple.php new file mode 100644 index 0000000..32216ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RbacApplicationMultiple.php @@ -0,0 +1,111 @@ +_propDict)) { + return $this->_propDict["resourceNamespaces"]; + } else { + return null; + } + } + + /** + * Sets the resourceNamespaces + * + * @param UnifiedRbacResourceNamespace[] $val The resourceNamespaces + * + * @return RbacApplicationMultiple + */ + public function setResourceNamespaces($val) + { + $this->_propDict["resourceNamespaces"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * + * @param UnifiedRoleAssignmentMultiple[] $val The roleAssignments + * + * @return RbacApplicationMultiple + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * + * @param UnifiedRoleDefinition[] $val The roleDefinitions + * + * @return RbacApplicationMultiple + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebook.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebook.php new file mode 100644 index 0000000..2dbc20f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebook.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the notebook. + * + * @param string $val The value of the displayName + * + * @return RecentNotebook + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastAccessedTime + * The date and time when the notebook was last modified. The timestamp 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 lastAccessedTime + */ + public function getLastAccessedTime() + { + if (array_key_exists("lastAccessedTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessedTime"], "\DateTime") || is_null($this->_propDict["lastAccessedTime"])) { + return $this->_propDict["lastAccessedTime"]; + } else { + $this->_propDict["lastAccessedTime"] = new \DateTime($this->_propDict["lastAccessedTime"]); + return $this->_propDict["lastAccessedTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedTime + * The date and time when the notebook was last modified. The timestamp 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 lastAccessedTime + * + * @return RecentNotebook The RecentNotebook + */ + public function setLastAccessedTime($val) + { + $this->_propDict["lastAccessedTime"] = $val; + return $this; + } + + /** + * Gets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @return RecentNotebookLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\RecentNotebookLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new RecentNotebookLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @param RecentNotebookLinks $val The value to assign to the links + * + * @return RecentNotebook The RecentNotebook + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the sourceService + * The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive. + * + * @return OnenoteSourceService|null The sourceService + */ + public function getSourceService() + { + if (array_key_exists("sourceService", $this->_propDict)) { + if (is_a($this->_propDict["sourceService"], "\Beta\Microsoft\Graph\Model\OnenoteSourceService") || is_null($this->_propDict["sourceService"])) { + return $this->_propDict["sourceService"]; + } else { + $this->_propDict["sourceService"] = new OnenoteSourceService($this->_propDict["sourceService"]); + return $this->_propDict["sourceService"]; + } + } + return null; + } + + /** + * Sets the sourceService + * The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive. + * + * @param OnenoteSourceService $val The value to assign to the sourceService + * + * @return RecentNotebook The RecentNotebook + */ + public function setSourceService($val) + { + $this->_propDict["sourceService"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebookLinks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebookLinks.php new file mode 100644 index 0000000..243507f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebookLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the notebook in the OneNote client, if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return RecentNotebookLinks The RecentNotebookLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return RecentNotebookLinks The RecentNotebookLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recipient.php new file mode 100644 index 0000000..28dea80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recipient.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["emailAddress"], "\Beta\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) { + return $this->_propDict["emailAddress"]; + } else { + $this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]); + return $this->_propDict["emailAddress"]; + } + } + return null; + } + + /** + * Sets the emailAddress + * The recipient's email address. + * + * @param EmailAddress $val The value to assign to the emailAddress + * + * @return Recipient The Recipient + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecipientScopeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecipientScopeType.php new file mode 100644 index 0000000..e34d40d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecipientScopeType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\InformationProtectionAction") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new InformationProtectionAction($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * Actions to take if the label is accepted by the user. + * + * @param InformationProtectionAction $val The value to assign to the actions + * + * @return RecommendLabelAction The RecommendLabelAction + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the actionSource + * Possible values are: manual, automatic, recommended, default. + * + * @return ActionSource|null The actionSource + */ + public function getActionSource() + { + if (array_key_exists("actionSource", $this->_propDict)) { + if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\Model\ActionSource") || is_null($this->_propDict["actionSource"])) { + return $this->_propDict["actionSource"]; + } else { + $this->_propDict["actionSource"] = new ActionSource($this->_propDict["actionSource"]); + return $this->_propDict["actionSource"]; + } + } + return null; + } + + /** + * Sets the actionSource + * Possible values are: manual, automatic, recommended, default. + * + * @param ActionSource $val The value to assign to the actionSource + * + * @return RecommendLabelAction The RecommendLabelAction + */ + public function setActionSource($val) + { + $this->_propDict["actionSource"] = $val; + return $this; + } + + /** + * Gets the label + * The label that is being recommended. + * + * @return LabelDetails|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + if (is_a($this->_propDict["label"], "\Beta\Microsoft\Graph\Model\LabelDetails") || is_null($this->_propDict["label"])) { + return $this->_propDict["label"]; + } else { + $this->_propDict["label"] = new LabelDetails($this->_propDict["label"]); + return $this->_propDict["label"]; + } + } + return null; + } + + /** + * Sets the label + * The label that is being recommended. + * + * @param LabelDetails $val The value to assign to the label + * + * @return RecommendLabelAction The RecommendLabelAction + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + /** + * Gets the responsibleSensitiveTypeIds + * The sensitive information type GUIDs that caused the recommendation to be given. + * + * @return string|null The responsibleSensitiveTypeIds + */ + public function getResponsibleSensitiveTypeIds() + { + if (array_key_exists("responsibleSensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["responsibleSensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the responsibleSensitiveTypeIds + * The sensitive information type GUIDs that caused the recommendation to be given. + * + * @param string $val The value of the responsibleSensitiveTypeIds + * + * @return RecommendLabelAction + */ + public function setResponsibleSensitiveTypeIds($val) + { + $this->_propDict["responsibleSensitiveTypeIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recommendation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recommendation.php new file mode 100644 index 0000000..00894a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recommendation.php @@ -0,0 +1,466 @@ +_propDict)) { + return $this->_propDict["actionSteps"]; + } else { + return null; + } + } + + /** + * Sets the actionSteps + * + * @param ActionStep[] $val The actionSteps + * + * @return Recommendation + */ + public function setActionSteps($val) + { + $this->_propDict["actionSteps"] = $val; + return $this; + } + + /** + * Gets the benefits + * + * @return string|null The benefits + */ + public function getBenefits() + { + if (array_key_exists("benefits", $this->_propDict)) { + return $this->_propDict["benefits"]; + } else { + return null; + } + } + + /** + * Sets the benefits + * + * @param string $val The benefits + * + * @return Recommendation + */ + public function setBenefits($val) + { + $this->_propDict["benefits"] = $val; + return $this; + } + + /** + * Gets the category + * + * @return RecommendationCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\RecommendationCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new RecommendationCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * + * @param RecommendationCategory $val The category + * + * @return Recommendation + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return Recommendation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Recommendation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the impactStartDateTime + * + * @return \DateTime|null The impactStartDateTime + */ + public function getImpactStartDateTime() + { + if (array_key_exists("impactStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["impactStartDateTime"], "\DateTime") || is_null($this->_propDict["impactStartDateTime"])) { + return $this->_propDict["impactStartDateTime"]; + } else { + $this->_propDict["impactStartDateTime"] = new \DateTime($this->_propDict["impactStartDateTime"]); + return $this->_propDict["impactStartDateTime"]; + } + } + return null; + } + + /** + * Sets the impactStartDateTime + * + * @param \DateTime $val The impactStartDateTime + * + * @return Recommendation + */ + public function setImpactStartDateTime($val) + { + $this->_propDict["impactStartDateTime"] = $val; + return $this; + } + + /** + * Gets the impactType + * + * @return string|null The impactType + */ + public function getImpactType() + { + if (array_key_exists("impactType", $this->_propDict)) { + return $this->_propDict["impactType"]; + } else { + return null; + } + } + + /** + * Sets the impactType + * + * @param string $val The impactType + * + * @return Recommendation + */ + public function setImpactType($val) + { + $this->_propDict["impactType"] = $val; + return $this; + } + + /** + * Gets the insights + * + * @return string|null The insights + */ + public function getInsights() + { + if (array_key_exists("insights", $this->_propDict)) { + return $this->_propDict["insights"]; + } else { + return null; + } + } + + /** + * Sets the insights + * + * @param string $val The insights + * + * @return Recommendation + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + /** + * Gets the lastCheckedDateTime + * + * @return \DateTime|null The lastCheckedDateTime + */ + public function getLastCheckedDateTime() + { + if (array_key_exists("lastCheckedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCheckedDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckedDateTime"])) { + return $this->_propDict["lastCheckedDateTime"]; + } else { + $this->_propDict["lastCheckedDateTime"] = new \DateTime($this->_propDict["lastCheckedDateTime"]); + return $this->_propDict["lastCheckedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckedDateTime + * + * @param \DateTime $val The lastCheckedDateTime + * + * @return Recommendation + */ + public function setLastCheckedDateTime($val) + { + $this->_propDict["lastCheckedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The lastModifiedBy + * + * @return Recommendation + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Recommendation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the postponeUntilDateTime + * + * @return \DateTime|null The postponeUntilDateTime + */ + public function getPostponeUntilDateTime() + { + if (array_key_exists("postponeUntilDateTime", $this->_propDict)) { + if (is_a($this->_propDict["postponeUntilDateTime"], "\DateTime") || is_null($this->_propDict["postponeUntilDateTime"])) { + return $this->_propDict["postponeUntilDateTime"]; + } else { + $this->_propDict["postponeUntilDateTime"] = new \DateTime($this->_propDict["postponeUntilDateTime"]); + return $this->_propDict["postponeUntilDateTime"]; + } + } + return null; + } + + /** + * Sets the postponeUntilDateTime + * + * @param \DateTime $val The postponeUntilDateTime + * + * @return Recommendation + */ + public function setPostponeUntilDateTime($val) + { + $this->_propDict["postponeUntilDateTime"] = $val; + return $this; + } + + /** + * Gets the priority + * + * @return RecommendationPriority|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + if (is_a($this->_propDict["priority"], "\Beta\Microsoft\Graph\Model\RecommendationPriority") || is_null($this->_propDict["priority"])) { + return $this->_propDict["priority"]; + } else { + $this->_propDict["priority"] = new RecommendationPriority($this->_propDict["priority"]); + return $this->_propDict["priority"]; + } + } + return null; + } + + /** + * Sets the priority + * + * @param RecommendationPriority $val The priority + * + * @return Recommendation + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return RecommendationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\RecommendationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new RecommendationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param RecommendationStatus $val The status + * + * @return Recommendation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the impactedResources + * + * @return array|null The impactedResources + */ + public function getImpactedResources() + { + if (array_key_exists("impactedResources", $this->_propDict)) { + return $this->_propDict["impactedResources"]; + } else { + return null; + } + } + + /** + * Sets the impactedResources + * + * @param RecommendationResource[] $val The impactedResources + * + * @return Recommendation + */ + public function setImpactedResources($val) + { + $this->_propDict["impactedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecommendationCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecommendationCategory.php new file mode 100644 index 0000000..7c8a24d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecommendationCategory.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["addedDateTime"], "\DateTime") || is_null($this->_propDict["addedDateTime"])) { + return $this->_propDict["addedDateTime"]; + } else { + $this->_propDict["addedDateTime"] = new \DateTime($this->_propDict["addedDateTime"]); + return $this->_propDict["addedDateTime"]; + } + } + return null; + } + + /** + * Sets the addedDateTime + * + * @param \DateTime $val The addedDateTime + * + * @return RecommendationResource + */ + public function setAddedDateTime($val) + { + $this->_propDict["addedDateTime"] = $val; + return $this; + } + + + /** + * Gets the additionalDetails + * + * @return array|null The additionalDetails + */ + public function getAdditionalDetails() + { + if (array_key_exists("additionalDetails", $this->_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * + * @param KeyValue[] $val The additionalDetails + * + * @return RecommendationResource + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + + /** + * Gets the apiUrl + * + * @return string|null The apiUrl + */ + public function getApiUrl() + { + if (array_key_exists("apiUrl", $this->_propDict)) { + return $this->_propDict["apiUrl"]; + } else { + return null; + } + } + + /** + * Sets the apiUrl + * + * @param string $val The apiUrl + * + * @return RecommendationResource + */ + public function setApiUrl($val) + { + $this->_propDict["apiUrl"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return RecommendationResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the owner + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * + * @param string $val The owner + * + * @return RecommendationResource + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the portalUrl + * + * @return string|null The portalUrl + */ + public function getPortalUrl() + { + if (array_key_exists("portalUrl", $this->_propDict)) { + return $this->_propDict["portalUrl"]; + } else { + return null; + } + } + + /** + * Sets the portalUrl + * + * @param string $val The portalUrl + * + * @return RecommendationResource + */ + public function setPortalUrl($val) + { + $this->_propDict["portalUrl"] = $val; + return $this; + } + + /** + * Gets the rank + * + * @return int|null The rank + */ + public function getRank() + { + if (array_key_exists("rank", $this->_propDict)) { + return $this->_propDict["rank"]; + } else { + return null; + } + } + + /** + * Sets the rank + * + * @param int $val The rank + * + * @return RecommendationResource + */ + public function setRank($val) + { + $this->_propDict["rank"] = intval($val); + return $this; + } + + /** + * Gets the recommendationId + * + * @return string|null The recommendationId + */ + public function getRecommendationId() + { + if (array_key_exists("recommendationId", $this->_propDict)) { + return $this->_propDict["recommendationId"]; + } else { + return null; + } + } + + /** + * Sets the recommendationId + * + * @param string $val The recommendationId + * + * @return RecommendationResource + */ + public function setRecommendationId($val) + { + $this->_propDict["recommendationId"] = $val; + return $this; + } + + /** + * Gets the resourceType + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * + * @param string $val The resourceType + * + * @return RecommendationResource + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return RecommendationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\RecommendationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new RecommendationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param RecommendationStatus $val The status + * + * @return RecommendationResource + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecommendationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecommendationStatus.php new file mode 100644 index 0000000..34250ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecommendationStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["actionWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the actionWebUrl + * Web URL to the recommended action. + * + * @param string $val The value of the actionWebUrl + * + * @return RecommendedAction + */ + public function setActionWebUrl($val) + { + $this->_propDict["actionWebUrl"] = $val; + return $this; + } + /** + * Gets the potentialScoreImpact + * Potential improvement in security score of the tenant from the recommended action. + * + * @return float|null The potentialScoreImpact + */ + public function getPotentialScoreImpact() + { + if (array_key_exists("potentialScoreImpact", $this->_propDict)) { + return $this->_propDict["potentialScoreImpact"]; + } else { + return null; + } + } + + /** + * Sets the potentialScoreImpact + * Potential improvement in security score of the tenant from the recommended action. + * + * @param float $val The value of the potentialScoreImpact + * + * @return RecommendedAction + */ + public function setPotentialScoreImpact($val) + { + $this->_propDict["potentialScoreImpact"] = $val; + return $this; + } + /** + * Gets the title + * Title of the recommended action. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the recommended action. + * + * @param string $val The value of the title + * + * @return RecommendedAction + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordCompletionReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordCompletionReason.php new file mode 100644 index 0000000..145b113 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordCompletionReason.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["completionReason"], "\Beta\Microsoft\Graph\Model\RecordCompletionReason") || is_null($this->_propDict["completionReason"])) { + return $this->_propDict["completionReason"]; + } else { + $this->_propDict["completionReason"] = new RecordCompletionReason($this->_propDict["completionReason"]); + return $this->_propDict["completionReason"]; + } + } + return null; + } + + /** + * Sets the completionReason + * Possible values are: operationCanceled, stopToneDetected, maxRecordDurationReached, initialSilenceTimeout, maxSilenceTimeout, playPromptFailed, playBeepFailed, mediaReceiveTimeout, unspecifiedError, none. + * + * @param RecordCompletionReason $val The completionReason + * + * @return RecordOperation + */ + public function setCompletionReason($val) + { + $this->_propDict["completionReason"] = $val; + return $this; + } + + /** + * Gets the recordingAccessToken + * The access token required to retrieve the recording. + * + * @return string|null The recordingAccessToken + */ + public function getRecordingAccessToken() + { + if (array_key_exists("recordingAccessToken", $this->_propDict)) { + return $this->_propDict["recordingAccessToken"]; + } else { + return null; + } + } + + /** + * Sets the recordingAccessToken + * The access token required to retrieve the recording. + * + * @param string $val The recordingAccessToken + * + * @return RecordOperation + */ + public function setRecordingAccessToken($val) + { + $this->_propDict["recordingAccessToken"] = $val; + return $this; + } + + /** + * Gets the recordingLocation + * The location where the recording is located. + * + * @return string|null The recordingLocation + */ + public function getRecordingLocation() + { + if (array_key_exists("recordingLocation", $this->_propDict)) { + return $this->_propDict["recordingLocation"]; + } else { + return null; + } + } + + /** + * Sets the recordingLocation + * The location where the recording is located. + * + * @param string $val The recordingLocation + * + * @return RecordOperation + */ + public function setRecordingLocation($val) + { + $this->_propDict["recordingLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingInfo.php new file mode 100644 index 0000000..77e91ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingInfo.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\ParticipantInfo") || is_null($this->_propDict["initiatedBy"])) { + return $this->_propDict["initiatedBy"]; + } else { + $this->_propDict["initiatedBy"] = new ParticipantInfo($this->_propDict["initiatedBy"]); + return $this->_propDict["initiatedBy"]; + } + } + return null; + } + + /** + * Sets the initiatedBy + * The participant who initiated the recording. + * + * @param ParticipantInfo $val The value to assign to the initiatedBy + * + * @return RecordingInfo The RecordingInfo + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the initiator + * The identities of recording initiator. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * The identities of recording initiator. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return RecordingInfo The RecordingInfo + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the recordingStatus + * Possible values are: unknown, notRecording, recording, or failed. + * + * @return RecordingStatus|null The recordingStatus + */ + public function getRecordingStatus() + { + if (array_key_exists("recordingStatus", $this->_propDict)) { + if (is_a($this->_propDict["recordingStatus"], "\Beta\Microsoft\Graph\Model\RecordingStatus") || is_null($this->_propDict["recordingStatus"])) { + return $this->_propDict["recordingStatus"]; + } else { + $this->_propDict["recordingStatus"] = new RecordingStatus($this->_propDict["recordingStatus"]); + return $this->_propDict["recordingStatus"]; + } + } + return null; + } + + /** + * Sets the recordingStatus + * Possible values are: unknown, notRecording, recording, or failed. + * + * @param RecordingStatus $val The value to assign to the recordingStatus + * + * @return RecordingInfo The RecordingInfo + */ + public function setRecordingStatus($val) + { + $this->_propDict["recordingStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingStatus.php new file mode 100644 index 0000000..333f2f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["dayOfMonth"]; + } else { + return null; + } + } + + /** + * Sets the dayOfMonth + * The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly. + * + * @param int $val The value of the dayOfMonth + * + * @return RecurrencePattern + */ + public function setDayOfMonth($val) + { + $this->_propDict["dayOfMonth"] = $val; + return $this; + } + + /** + * Gets the daysOfWeek + * A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. + * + * @return DayOfWeek|null The daysOfWeek + */ + public function getDaysOfWeek() + { + if (array_key_exists("daysOfWeek", $this->_propDict)) { + if (is_a($this->_propDict["daysOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["daysOfWeek"])) { + return $this->_propDict["daysOfWeek"]; + } else { + $this->_propDict["daysOfWeek"] = new DayOfWeek($this->_propDict["daysOfWeek"]); + return $this->_propDict["daysOfWeek"]; + } + } + return null; + } + + /** + * Sets the daysOfWeek + * A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. + * + * @param DayOfWeek $val The value to assign to the daysOfWeek + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setDaysOfWeek($val) + { + $this->_propDict["daysOfWeek"] = $val; + return $this; + } + + /** + * Gets the firstDayOfWeek + * The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. + * + * @return DayOfWeek|null The firstDayOfWeek + */ + public function getFirstDayOfWeek() + { + if (array_key_exists("firstDayOfWeek", $this->_propDict)) { + if (is_a($this->_propDict["firstDayOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["firstDayOfWeek"])) { + return $this->_propDict["firstDayOfWeek"]; + } else { + $this->_propDict["firstDayOfWeek"] = new DayOfWeek($this->_propDict["firstDayOfWeek"]); + return $this->_propDict["firstDayOfWeek"]; + } + } + return null; + } + + /** + * Sets the firstDayOfWeek + * The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. + * + * @param DayOfWeek $val The value to assign to the firstDayOfWeek + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setFirstDayOfWeek($val) + { + $this->_propDict["firstDayOfWeek"] = $val; + return $this; + } + + /** + * Gets the index + * Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. + * + * @return WeekIndex|null The index + */ + public function getIndex() + { + if (array_key_exists("index", $this->_propDict)) { + if (is_a($this->_propDict["index"], "\Beta\Microsoft\Graph\Model\WeekIndex") || is_null($this->_propDict["index"])) { + return $this->_propDict["index"]; + } else { + $this->_propDict["index"] = new WeekIndex($this->_propDict["index"]); + return $this->_propDict["index"]; + } + } + return null; + } + + /** + * Sets the index + * Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. + * + * @param WeekIndex $val The value to assign to the index + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setIndex($val) + { + $this->_propDict["index"] = $val; + return $this; + } + /** + * Gets the interval + * The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. + * + * @return int|null The interval + */ + public function getInterval() + { + if (array_key_exists("interval", $this->_propDict)) { + return $this->_propDict["interval"]; + } else { + return null; + } + } + + /** + * Sets the interval + * The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. + * + * @param int $val The value of the interval + * + * @return RecurrencePattern + */ + public function setInterval($val) + { + $this->_propDict["interval"] = $val; + return $this; + } + /** + * Gets the month + * The month in which the event occurs. This is a number from 1 to 12. + * + * @return int|null The month + */ + public function getMonth() + { + if (array_key_exists("month", $this->_propDict)) { + return $this->_propDict["month"]; + } else { + return null; + } + } + + /** + * Sets the month + * The month in which the event occurs. This is a number from 1 to 12. + * + * @param int $val The value of the month + * + * @return RecurrencePattern + */ + public function setMonth($val) + { + $this->_propDict["month"] = $val; + return $this; + } + + /** + * Gets the type + * The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property. + * + * @return RecurrencePatternType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\RecurrencePatternType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new RecurrencePatternType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property. + * + * @param RecurrencePatternType $val The value to assign to the type + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrencePatternType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrencePatternType.php new file mode 100644 index 0000000..d09db1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrencePatternType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate. + * + * @param \DateTime $val The value to assign to the endDate + * + * @return RecurrenceRange The RecurrenceRange + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + /** + * Gets the numberOfOccurrences + * The number of times to repeat the event. Required and must be positive if type is numbered. + * + * @return int|null The numberOfOccurrences + */ + public function getNumberOfOccurrences() + { + if (array_key_exists("numberOfOccurrences", $this->_propDict)) { + return $this->_propDict["numberOfOccurrences"]; + } else { + return null; + } + } + + /** + * Sets the numberOfOccurrences + * The number of times to repeat the event. Required and must be positive if type is numbered. + * + * @param int $val The value of the numberOfOccurrences + * + * @return RecurrenceRange + */ + public function setNumberOfOccurrences($val) + { + $this->_propDict["numberOfOccurrences"] = $val; + return $this; + } + /** + * Gets the recurrenceTimeZone + * Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used. + * + * @return string|null The recurrenceTimeZone + */ + public function getRecurrenceTimeZone() + { + if (array_key_exists("recurrenceTimeZone", $this->_propDict)) { + return $this->_propDict["recurrenceTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the recurrenceTimeZone + * Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used. + * + * @param string $val The value of the recurrenceTimeZone + * + * @return RecurrenceRange + */ + public function setRecurrenceTimeZone($val) + { + $this->_propDict["recurrenceTimeZone"] = $val; + return $this; + } + + /** + * Gets the startDate + * The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required. + * + * @param \DateTime $val The value to assign to the startDate + * + * @return RecurrenceRange The RecurrenceRange + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } + + /** + * Gets the type + * The recurrence range. Possible values are: endDate, noEnd, numbered. Required. + * + * @return RecurrenceRangeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\RecurrenceRangeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new RecurrenceRangeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The recurrence range. Possible values are: endDate, noEnd, numbered. Required. + * + * @param RecurrenceRangeType $val The value to assign to the type + * + * @return RecurrenceRange The RecurrenceRange + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrenceRangeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrenceRangeType.php new file mode 100644 index 0000000..10bae95 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrenceRangeType.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.redirectSingleSignOnExtension"); + } + + + /** + * Gets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @return KeyTypedValuePair|null The configurations + */ + public function getConfigurations() + { + if (array_key_exists("configurations", $this->_propDict)) { + if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair") || is_null($this->_propDict["configurations"])) { + return $this->_propDict["configurations"]; + } else { + $this->_propDict["configurations"] = new KeyTypedValuePair($this->_propDict["configurations"]); + return $this->_propDict["configurations"]; + } + } + return null; + } + + /** + * Sets the configurations + * Gets or sets a list of typed key-value pairs used to configure Credential-type profiles. This collection can contain a maximum of 500 elements. + * + * @param KeyTypedValuePair $val The value to assign to the configurations + * + * @return RedirectSingleSignOnExtension The RedirectSingleSignOnExtension + */ + public function setConfigurations($val) + { + $this->_propDict["configurations"] = $val; + return $this; + } + /** + * Gets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The extensionIdentifier + */ + public function getExtensionIdentifier() + { + if (array_key_exists("extensionIdentifier", $this->_propDict)) { + return $this->_propDict["extensionIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the extensionIdentifier + * Gets or sets the bundle ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the extensionIdentifier + * + * @return RedirectSingleSignOnExtension + */ + public function setExtensionIdentifier($val) + { + $this->_propDict["extensionIdentifier"] = $val; + return $this; + } + /** + * Gets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @return string|null The teamIdentifier + */ + public function getTeamIdentifier() + { + if (array_key_exists("teamIdentifier", $this->_propDict)) { + return $this->_propDict["teamIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the teamIdentifier + * Gets or sets the team ID of the app extension that performs SSO for the specified URLs. + * + * @param string $val The value of the teamIdentifier + * + * @return RedirectSingleSignOnExtension + */ + public function setTeamIdentifier($val) + { + $this->_propDict["teamIdentifier"] = $val; + return $this; + } + /** + * Gets the urlPrefixes + * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. + * + * @return string|null The urlPrefixes + */ + public function getUrlPrefixes() + { + if (array_key_exists("urlPrefixes", $this->_propDict)) { + return $this->_propDict["urlPrefixes"]; + } else { + return null; + } + } + + /** + * Sets the urlPrefixes + * One or more URL prefixes of identity providers on whose behalf the app extension performs single sign-on. URLs must begin with http:// or https://. All URL prefixes must be unique for all profiles. + * + * @param string $val The value of the urlPrefixes + * + * @return RedirectSingleSignOnExtension + */ + public function setUrlPrefixes($val) + { + $this->_propDict["urlPrefixes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedirectUriSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedirectUriSettings.php new file mode 100644 index 0000000..4064b5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedirectUriSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Identifies the specific URI within the redirectURIs collection in SAML SSO flows. Defaults to null. The index is unique across all the redirectUris for the application. + * + * @param int $val The value of the index + * + * @return RedirectUriSettings + */ + public function setIndex($val) + { + $this->_propDict["index"] = $val; + return $this; + } + /** + * Gets the uri + * Specifies the URI that tokens are sent to. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * Specifies the URI that tokens are sent to. + * + * @param string $val The value of the uri + * + * @return RedirectUriSettings + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachment.php new file mode 100644 index 0000000..1c63087 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachment.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["isFolder"]; + } else { + return null; + } + } + + /** + * Sets the isFolder + * Specifies whether the attachment is a link to a folder. Must set this to true if sourceUrl is a link to a folder. Optional. + * + * @param bool $val The isFolder + * + * @return ReferenceAttachment + */ + public function setIsFolder($val) + { + $this->_propDict["isFolder"] = boolval($val); + return $this; + } + + /** + * Gets the permission + * Specifies the permissions granted for the attachment by the type of provider in providerType. Possible values are: other, view, edit, anonymousView, anonymousEdit, organizationView, organizationEdit. Optional. + * + * @return ReferenceAttachmentPermission|null The permission + */ + public function getPermission() + { + if (array_key_exists("permission", $this->_propDict)) { + if (is_a($this->_propDict["permission"], "\Beta\Microsoft\Graph\Model\ReferenceAttachmentPermission") || is_null($this->_propDict["permission"])) { + return $this->_propDict["permission"]; + } else { + $this->_propDict["permission"] = new ReferenceAttachmentPermission($this->_propDict["permission"]); + return $this->_propDict["permission"]; + } + } + return null; + } + + /** + * Sets the permission + * Specifies the permissions granted for the attachment by the type of provider in providerType. Possible values are: other, view, edit, anonymousView, anonymousEdit, organizationView, organizationEdit. Optional. + * + * @param ReferenceAttachmentPermission $val The permission + * + * @return ReferenceAttachment + */ + public function setPermission($val) + { + $this->_propDict["permission"] = $val; + return $this; + } + + /** + * Gets the previewUrl + * Applies to only a reference attachment of an image - URL to get a preview image. Use thumbnailUrl and previewUrl only when sourceUrl identifies an image file. Optional. + * + * @return string|null The previewUrl + */ + public function getPreviewUrl() + { + if (array_key_exists("previewUrl", $this->_propDict)) { + return $this->_propDict["previewUrl"]; + } else { + return null; + } + } + + /** + * Sets the previewUrl + * Applies to only a reference attachment of an image - URL to get a preview image. Use thumbnailUrl and previewUrl only when sourceUrl identifies an image file. Optional. + * + * @param string $val The previewUrl + * + * @return ReferenceAttachment + */ + public function setPreviewUrl($val) + { + $this->_propDict["previewUrl"] = $val; + return $this; + } + + /** + * Gets the providerType + * The type of provider that supports an attachment of this contentType. Possible values are: other, oneDriveBusiness, oneDriveConsumer, dropbox. Optional. + * + * @return ReferenceAttachmentProvider|null The providerType + */ + public function getProviderType() + { + if (array_key_exists("providerType", $this->_propDict)) { + if (is_a($this->_propDict["providerType"], "\Beta\Microsoft\Graph\Model\ReferenceAttachmentProvider") || is_null($this->_propDict["providerType"])) { + return $this->_propDict["providerType"]; + } else { + $this->_propDict["providerType"] = new ReferenceAttachmentProvider($this->_propDict["providerType"]); + return $this->_propDict["providerType"]; + } + } + return null; + } + + /** + * Sets the providerType + * The type of provider that supports an attachment of this contentType. Possible values are: other, oneDriveBusiness, oneDriveConsumer, dropbox. Optional. + * + * @param ReferenceAttachmentProvider $val The providerType + * + * @return ReferenceAttachment + */ + public function setProviderType($val) + { + $this->_propDict["providerType"] = $val; + return $this; + } + + /** + * Gets the sourceUrl + * URL to get the attachment content. If this is a URL to a folder, then for the folder to be displayed correctly in Outlook or Outlook on the web, set isFolder to true. Required. + * + * @return string|null The sourceUrl + */ + public function getSourceUrl() + { + if (array_key_exists("sourceUrl", $this->_propDict)) { + return $this->_propDict["sourceUrl"]; + } else { + return null; + } + } + + /** + * Sets the sourceUrl + * URL to get the attachment content. If this is a URL to a folder, then for the folder to be displayed correctly in Outlook or Outlook on the web, set isFolder to true. Required. + * + * @param string $val The sourceUrl + * + * @return ReferenceAttachment + */ + public function setSourceUrl($val) + { + $this->_propDict["sourceUrl"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * Applies to only a reference attachment of an image - URL to get a thumbnail image. Use thumbnailUrl and previewUrl only when sourceUrl identifies an image file. Optional. + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * Applies to only a reference attachment of an image - URL to get a thumbnail image. Use thumbnailUrl and previewUrl only when sourceUrl identifies an image file. Optional. + * + * @param string $val The thumbnailUrl + * + * @return ReferenceAttachment + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachmentPermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachmentPermission.php new file mode 100644 index 0000000..e4b9cc8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachmentPermission.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["referencedObjectName"]; + } else { + return null; + } + } + + /** + * Sets the referencedObjectName + * Name of the referenced object. Must match one of the objects in the directory definition. + * + * @param string $val The value of the referencedObjectName + * + * @return ReferencedObject + */ + public function setReferencedObjectName($val) + { + $this->_propDict["referencedObjectName"] = $val; + return $this; + } + /** + * Gets the referencedProperty + * Currently not supported. Name of the property in the referenced object, the value for which is used as the reference. + * + * @return string|null The referencedProperty + */ + public function getReferencedProperty() + { + if (array_key_exists("referencedProperty", $this->_propDict)) { + return $this->_propDict["referencedProperty"]; + } else { + return null; + } + } + + /** + * Sets the referencedProperty + * Currently not supported. Name of the property in the referenced object, the value for which is used as the reference. + * + * @param string $val The value of the referencedProperty + * + * @return ReferencedObject + */ + public function setReferencedProperty($val) + { + $this->_propDict["referencedProperty"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalAndLanguageSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalAndLanguageSettings.php new file mode 100644 index 0000000..d8e77f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalAndLanguageSettings.php @@ -0,0 +1,255 @@ +_propDict)) { + return $this->_propDict["authoringLanguages"]; + } else { + return null; + } + } + + /** + * Sets the authoringLanguages + * Prioritized list of languages the user reads and authors in.Returned by default. Not nullable. + * + * @param LocaleInfo[] $val The authoringLanguages + * + * @return RegionalAndLanguageSettings + */ + public function setAuthoringLanguages($val) + { + $this->_propDict["authoringLanguages"] = $val; + return $this; + } + + /** + * Gets the defaultDisplayLanguage + * The user's preferred user interface language (menus, buttons, ribbons, warning messages) for Microsoft web applications.Returned by default. Not nullable. + * + * @return LocaleInfo|null The defaultDisplayLanguage + */ + public function getDefaultDisplayLanguage() + { + if (array_key_exists("defaultDisplayLanguage", $this->_propDict)) { + if (is_a($this->_propDict["defaultDisplayLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["defaultDisplayLanguage"])) { + return $this->_propDict["defaultDisplayLanguage"]; + } else { + $this->_propDict["defaultDisplayLanguage"] = new LocaleInfo($this->_propDict["defaultDisplayLanguage"]); + return $this->_propDict["defaultDisplayLanguage"]; + } + } + return null; + } + + /** + * Sets the defaultDisplayLanguage + * The user's preferred user interface language (menus, buttons, ribbons, warning messages) for Microsoft web applications.Returned by default. Not nullable. + * + * @param LocaleInfo $val The defaultDisplayLanguage + * + * @return RegionalAndLanguageSettings + */ + public function setDefaultDisplayLanguage($val) + { + $this->_propDict["defaultDisplayLanguage"] = $val; + return $this; + } + + /** + * Gets the defaultRegionalFormat + * The locale that drives the default date, time, and calendar formatting.Returned by default. + * + * @return LocaleInfo|null The defaultRegionalFormat + */ + public function getDefaultRegionalFormat() + { + if (array_key_exists("defaultRegionalFormat", $this->_propDict)) { + if (is_a($this->_propDict["defaultRegionalFormat"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["defaultRegionalFormat"])) { + return $this->_propDict["defaultRegionalFormat"]; + } else { + $this->_propDict["defaultRegionalFormat"] = new LocaleInfo($this->_propDict["defaultRegionalFormat"]); + return $this->_propDict["defaultRegionalFormat"]; + } + } + return null; + } + + /** + * Sets the defaultRegionalFormat + * The locale that drives the default date, time, and calendar formatting.Returned by default. + * + * @param LocaleInfo $val The defaultRegionalFormat + * + * @return RegionalAndLanguageSettings + */ + public function setDefaultRegionalFormat($val) + { + $this->_propDict["defaultRegionalFormat"] = $val; + return $this; + } + + /** + * Gets the defaultSpeechInputLanguage + * The language a user expected to use as input for text to speech scenarios.Returned by default. + * + * @return LocaleInfo|null The defaultSpeechInputLanguage + */ + public function getDefaultSpeechInputLanguage() + { + if (array_key_exists("defaultSpeechInputLanguage", $this->_propDict)) { + if (is_a($this->_propDict["defaultSpeechInputLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["defaultSpeechInputLanguage"])) { + return $this->_propDict["defaultSpeechInputLanguage"]; + } else { + $this->_propDict["defaultSpeechInputLanguage"] = new LocaleInfo($this->_propDict["defaultSpeechInputLanguage"]); + return $this->_propDict["defaultSpeechInputLanguage"]; + } + } + return null; + } + + /** + * Sets the defaultSpeechInputLanguage + * The language a user expected to use as input for text to speech scenarios.Returned by default. + * + * @param LocaleInfo $val The defaultSpeechInputLanguage + * + * @return RegionalAndLanguageSettings + */ + public function setDefaultSpeechInputLanguage($val) + { + $this->_propDict["defaultSpeechInputLanguage"] = $val; + return $this; + } + + /** + * Gets the defaultTranslationLanguage + * The language a user expects to have documents, emails, and messages translated into.Returned by default. + * + * @return LocaleInfo|null The defaultTranslationLanguage + */ + public function getDefaultTranslationLanguage() + { + if (array_key_exists("defaultTranslationLanguage", $this->_propDict)) { + if (is_a($this->_propDict["defaultTranslationLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["defaultTranslationLanguage"])) { + return $this->_propDict["defaultTranslationLanguage"]; + } else { + $this->_propDict["defaultTranslationLanguage"] = new LocaleInfo($this->_propDict["defaultTranslationLanguage"]); + return $this->_propDict["defaultTranslationLanguage"]; + } + } + return null; + } + + /** + * Sets the defaultTranslationLanguage + * The language a user expects to have documents, emails, and messages translated into.Returned by default. + * + * @param LocaleInfo $val The defaultTranslationLanguage + * + * @return RegionalAndLanguageSettings + */ + public function setDefaultTranslationLanguage($val) + { + $this->_propDict["defaultTranslationLanguage"] = $val; + return $this; + } + + /** + * Gets the regionalFormatOverrides + * Allows a user to override their defaultRegionalFormat with field specific formats.Returned by default. + * + * @return RegionalFormatOverrides|null The regionalFormatOverrides + */ + public function getRegionalFormatOverrides() + { + if (array_key_exists("regionalFormatOverrides", $this->_propDict)) { + if (is_a($this->_propDict["regionalFormatOverrides"], "\Beta\Microsoft\Graph\Model\RegionalFormatOverrides") || is_null($this->_propDict["regionalFormatOverrides"])) { + return $this->_propDict["regionalFormatOverrides"]; + } else { + $this->_propDict["regionalFormatOverrides"] = new RegionalFormatOverrides($this->_propDict["regionalFormatOverrides"]); + return $this->_propDict["regionalFormatOverrides"]; + } + } + return null; + } + + /** + * Sets the regionalFormatOverrides + * Allows a user to override their defaultRegionalFormat with field specific formats.Returned by default. + * + * @param RegionalFormatOverrides $val The regionalFormatOverrides + * + * @return RegionalAndLanguageSettings + */ + public function setRegionalFormatOverrides($val) + { + $this->_propDict["regionalFormatOverrides"] = $val; + return $this; + } + + /** + * Gets the translationPreferences + * The user's preferred settings when consuming translated documents, emails, messages, and websites.Returned by default. Not nullable. + * + * @return TranslationPreferences|null The translationPreferences + */ + public function getTranslationPreferences() + { + if (array_key_exists("translationPreferences", $this->_propDict)) { + if (is_a($this->_propDict["translationPreferences"], "\Beta\Microsoft\Graph\Model\TranslationPreferences") || is_null($this->_propDict["translationPreferences"])) { + return $this->_propDict["translationPreferences"]; + } else { + $this->_propDict["translationPreferences"] = new TranslationPreferences($this->_propDict["translationPreferences"]); + return $this->_propDict["translationPreferences"]; + } + } + return null; + } + + /** + * Sets the translationPreferences + * The user's preferred settings when consuming translated documents, emails, messages, and websites.Returned by default. Not nullable. + * + * @param TranslationPreferences $val The translationPreferences + * + * @return RegionalAndLanguageSettings + */ + public function setTranslationPreferences($val) + { + $this->_propDict["translationPreferences"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalFormatOverrides.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalFormatOverrides.php new file mode 100644 index 0000000..03b01d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalFormatOverrides.php @@ -0,0 +1,222 @@ +_propDict)) { + return $this->_propDict["calendar"]; + } else { + return null; + } + } + + /** + * Sets the calendar + * The calendar to use, e.g., Gregorian Calendar.Returned by default. + * + * @param string $val The value of the calendar + * + * @return RegionalFormatOverrides + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + /** + * Gets the firstDayOfWeek + * The first day of the week to use, e.g., Sunday.Returned by default. + * + * @return string|null The firstDayOfWeek + */ + public function getFirstDayOfWeek() + { + if (array_key_exists("firstDayOfWeek", $this->_propDict)) { + return $this->_propDict["firstDayOfWeek"]; + } else { + return null; + } + } + + /** + * Sets the firstDayOfWeek + * The first day of the week to use, e.g., Sunday.Returned by default. + * + * @param string $val The value of the firstDayOfWeek + * + * @return RegionalFormatOverrides + */ + public function setFirstDayOfWeek($val) + { + $this->_propDict["firstDayOfWeek"] = $val; + return $this; + } + /** + * Gets the longDateFormat + * The long date time format to be used for displaying dates.Returned by default. + * + * @return string|null The longDateFormat + */ + public function getLongDateFormat() + { + if (array_key_exists("longDateFormat", $this->_propDict)) { + return $this->_propDict["longDateFormat"]; + } else { + return null; + } + } + + /** + * Sets the longDateFormat + * The long date time format to be used for displaying dates.Returned by default. + * + * @param string $val The value of the longDateFormat + * + * @return RegionalFormatOverrides + */ + public function setLongDateFormat($val) + { + $this->_propDict["longDateFormat"] = $val; + return $this; + } + /** + * Gets the longTimeFormat + * The long time format to be used for displaying time.Returned by default. + * + * @return string|null The longTimeFormat + */ + public function getLongTimeFormat() + { + if (array_key_exists("longTimeFormat", $this->_propDict)) { + return $this->_propDict["longTimeFormat"]; + } else { + return null; + } + } + + /** + * Sets the longTimeFormat + * The long time format to be used for displaying time.Returned by default. + * + * @param string $val The value of the longTimeFormat + * + * @return RegionalFormatOverrides + */ + public function setLongTimeFormat($val) + { + $this->_propDict["longTimeFormat"] = $val; + return $this; + } + /** + * Gets the shortDateFormat + * The short date time format to be used for displaying dates.Returned by default. + * + * @return string|null The shortDateFormat + */ + public function getShortDateFormat() + { + if (array_key_exists("shortDateFormat", $this->_propDict)) { + return $this->_propDict["shortDateFormat"]; + } else { + return null; + } + } + + /** + * Sets the shortDateFormat + * The short date time format to be used for displaying dates.Returned by default. + * + * @param string $val The value of the shortDateFormat + * + * @return RegionalFormatOverrides + */ + public function setShortDateFormat($val) + { + $this->_propDict["shortDateFormat"] = $val; + return $this; + } + /** + * Gets the shortTimeFormat + * The short time format to be used for displaying time.Returned by default. + * + * @return string|null The shortTimeFormat + */ + public function getShortTimeFormat() + { + if (array_key_exists("shortTimeFormat", $this->_propDict)) { + return $this->_propDict["shortTimeFormat"]; + } else { + return null; + } + } + + /** + * Sets the shortTimeFormat + * The short time format to be used for displaying time.Returned by default. + * + * @param string $val The value of the shortTimeFormat + * + * @return RegionalFormatOverrides + */ + public function setShortTimeFormat($val) + { + $this->_propDict["shortTimeFormat"] = $val; + return $this; + } + /** + * Gets the timeZone + * The timezone to be used for displaying time.Returned by default. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The timezone to be used for displaying time.Returned by default. + * + * @param string $val The value of the timeZone + * + * @return RegionalFormatOverrides + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationAuthMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationAuthMethod.php new file mode 100644 index 0000000..7a1abf4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationAuthMethod.php @@ -0,0 +1,42 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethodsRegistrationCampaign"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodsRegistrationCampaign") || is_null($this->_propDict["authenticationMethodsRegistrationCampaign"])) { + return $this->_propDict["authenticationMethodsRegistrationCampaign"]; + } else { + $this->_propDict["authenticationMethodsRegistrationCampaign"] = new AuthenticationMethodsRegistrationCampaign($this->_propDict["authenticationMethodsRegistrationCampaign"]); + return $this->_propDict["authenticationMethodsRegistrationCampaign"]; + } + } + return null; + } + + /** + * Sets the authenticationMethodsRegistrationCampaign + * Run campaigns to remind users to setup targeted authentication methods. + * + * @param AuthenticationMethodsRegistrationCampaign $val The value to assign to the authenticationMethodsRegistrationCampaign + * + * @return RegistrationEnforcement The RegistrationEnforcement + */ + public function setAuthenticationMethodsRegistrationCampaign($val) + { + $this->_propDict["authenticationMethodsRegistrationCampaign"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationStatusType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationStatusType.php new file mode 100644 index 0000000..0672935 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationStatusType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["hive"], "\Beta\Microsoft\Graph\Model\RegistryHive") || is_null($this->_propDict["hive"])) { + return $this->_propDict["hive"]; + } else { + $this->_propDict["hive"] = new RegistryHive($this->_propDict["hive"]); + return $this->_propDict["hive"]; + } + } + return null; + } + + /** + * Sets the hive + * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * + * @param RegistryHive $val The value to assign to the hive + * + * @return RegistryKeyState The RegistryKeyState + */ + public function setHive($val) + { + $this->_propDict["hive"] = $val; + return $this; + } + /** + * Gets the key + * Current (i.e. changed) registry key (excludes HIVE). + * + * @return string|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Current (i.e. changed) registry key (excludes HIVE). + * + * @param string $val The value of the key + * + * @return RegistryKeyState + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the oldKey + * Previous (i.e. before changed) registry key (excludes HIVE). + * + * @return string|null The oldKey + */ + public function getOldKey() + { + if (array_key_exists("oldKey", $this->_propDict)) { + return $this->_propDict["oldKey"]; + } else { + return null; + } + } + + /** + * Sets the oldKey + * Previous (i.e. before changed) registry key (excludes HIVE). + * + * @param string $val The value of the oldKey + * + * @return RegistryKeyState + */ + public function setOldKey($val) + { + $this->_propDict["oldKey"] = $val; + return $this; + } + /** + * Gets the oldValueData + * Previous (i.e. before changed) registry key value data (contents). + * + * @return string|null The oldValueData + */ + public function getOldValueData() + { + if (array_key_exists("oldValueData", $this->_propDict)) { + return $this->_propDict["oldValueData"]; + } else { + return null; + } + } + + /** + * Sets the oldValueData + * Previous (i.e. before changed) registry key value data (contents). + * + * @param string $val The value of the oldValueData + * + * @return RegistryKeyState + */ + public function setOldValueData($val) + { + $this->_propDict["oldValueData"] = $val; + return $this; + } + /** + * Gets the oldValueName + * Previous (i.e. before changed) registry key value name. + * + * @return string|null The oldValueName + */ + public function getOldValueName() + { + if (array_key_exists("oldValueName", $this->_propDict)) { + return $this->_propDict["oldValueName"]; + } else { + return null; + } + } + + /** + * Sets the oldValueName + * Previous (i.e. before changed) registry key value name. + * + * @param string $val The value of the oldValueName + * + * @return RegistryKeyState + */ + public function setOldValueName($val) + { + $this->_propDict["oldValueName"] = $val; + return $this; + } + + /** + * Gets the operation + * Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. + * + * @return RegistryOperation|null The operation + */ + public function getOperation() + { + if (array_key_exists("operation", $this->_propDict)) { + if (is_a($this->_propDict["operation"], "\Beta\Microsoft\Graph\Model\RegistryOperation") || is_null($this->_propDict["operation"])) { + return $this->_propDict["operation"]; + } else { + $this->_propDict["operation"] = new RegistryOperation($this->_propDict["operation"]); + return $this->_propDict["operation"]; + } + } + return null; + } + + /** + * Sets the operation + * Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. + * + * @param RegistryOperation $val The value to assign to the operation + * + * @return RegistryKeyState The RegistryKeyState + */ + public function setOperation($val) + { + $this->_propDict["operation"] = $val; + return $this; + } + /** + * Gets the processId + * Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection). + * + * @return int|null The processId + */ + public function getProcessId() + { + if (array_key_exists("processId", $this->_propDict)) { + return $this->_propDict["processId"]; + } else { + return null; + } + } + + /** + * Sets the processId + * Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection). + * + * @param int $val The value of the processId + * + * @return RegistryKeyState + */ + public function setProcessId($val) + { + $this->_propDict["processId"] = $val; + return $this; + } + /** + * Gets the valueData + * Current (i.e. changed) registry key value data (contents). + * + * @return string|null The valueData + */ + public function getValueData() + { + if (array_key_exists("valueData", $this->_propDict)) { + return $this->_propDict["valueData"]; + } else { + return null; + } + } + + /** + * Sets the valueData + * Current (i.e. changed) registry key value data (contents). + * + * @param string $val The value of the valueData + * + * @return RegistryKeyState + */ + public function setValueData($val) + { + $this->_propDict["valueData"] = $val; + return $this; + } + /** + * Gets the valueName + * Current (i.e. changed) registry key value name + * + * @return string|null The valueName + */ + public function getValueName() + { + if (array_key_exists("valueName", $this->_propDict)) { + return $this->_propDict["valueName"]; + } else { + return null; + } + } + + /** + * Sets the valueName + * Current (i.e. changed) registry key value name + * + * @param string $val The value of the valueName + * + * @return RegistryKeyState + */ + public function setValueName($val) + { + $this->_propDict["valueName"] = $val; + return $this; + } + + /** + * Gets the valueType + * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * + * @return RegistryValueType|null The valueType + */ + public function getValueType() + { + if (array_key_exists("valueType", $this->_propDict)) { + if (is_a($this->_propDict["valueType"], "\Beta\Microsoft\Graph\Model\RegistryValueType") || is_null($this->_propDict["valueType"])) { + return $this->_propDict["valueType"]; + } else { + $this->_propDict["valueType"] = new RegistryValueType($this->_propDict["valueType"]); + return $this->_propDict["valueType"]; + } + } + return null; + } + + /** + * Sets the valueType + * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * + * @param RegistryValueType $val The value to assign to the valueType + * + * @return RegistryKeyState The RegistryKeyState + */ + public function setValueType($val) + { + $this->_propDict["valueType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistryOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistryOperation.php new file mode 100644 index 0000000..81cad83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistryOperation.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["reason"], "\Beta\Microsoft\Graph\Model\RejectReason") || is_null($this->_propDict["reason"])) { + return $this->_propDict["reason"]; + } else { + $this->_propDict["reason"] = new RejectReason($this->_propDict["reason"]); + return $this->_propDict["reason"]; + } + } + return null; + } + + /** + * Sets the reason + * The rejection reason. Possible values are None, Busy, and Forbidden. + * + * @param RejectReason $val The value to assign to the reason + * + * @return RejectJoinResponse The RejectJoinResponse + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RejectReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RejectReason.php new file mode 100644 index 0000000..2010e74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RejectReason.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["accessConsent"]; + } else { + return null; + } + } + + /** + * Sets the accessConsent + * Indicates whether the user has been consented to access student data. + * + * @param bool $val The value of the accessConsent + * + * @return RelatedContact + */ + public function setAccessConsent($val) + { + $this->_propDict["accessConsent"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the contact. Required. + * + * @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 + * Name of the contact. Required. + * + * @param string $val The value of the displayName + * + * @return RelatedContact + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the emailAddress + * Email address of the contact. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email address of the contact. + * + * @param string $val The value of the emailAddress + * + * @return RelatedContact + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $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 RelatedContact + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the mobilePhone + * Mobile phone number of the contact. + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * Mobile phone number of the contact. + * + * @param string $val The value of the mobilePhone + * + * @return RelatedContact + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the relationship + * Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue. + * + * @return ContactRelationship|null The relationship + */ + public function getRelationship() + { + if (array_key_exists("relationship", $this->_propDict)) { + if (is_a($this->_propDict["relationship"], "\Beta\Microsoft\Graph\Model\ContactRelationship") || is_null($this->_propDict["relationship"])) { + return $this->_propDict["relationship"]; + } else { + $this->_propDict["relationship"] = new ContactRelationship($this->_propDict["relationship"]); + return $this->_propDict["relationship"]; + } + } + return null; + } + + /** + * Sets the relationship + * Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue. + * + * @param ContactRelationship $val The value to assign to the relationship + * + * @return RelatedContact The RelatedContact + */ + public function setRelationship($val) + { + $this->_propDict["relationship"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelatedPerson.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelatedPerson.php new file mode 100644 index 0000000..2d8d0dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelatedPerson.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the person. + * + * @param string $val The value of the displayName + * + * @return RelatedPerson + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the relationship + * Possible values are: manager, colleague, directReport, dotLineReport, assistant, dotLineManager, alternateContact, friend, spouse, sibling, child, parent, sponsor, emergencyContact, other, unknownFutureValue. + * + * @return PersonRelationship|null The relationship + */ + public function getRelationship() + { + if (array_key_exists("relationship", $this->_propDict)) { + if (is_a($this->_propDict["relationship"], "\Beta\Microsoft\Graph\Model\PersonRelationship") || is_null($this->_propDict["relationship"])) { + return $this->_propDict["relationship"]; + } else { + $this->_propDict["relationship"] = new PersonRelationship($this->_propDict["relationship"]); + return $this->_propDict["relationship"]; + } + } + return null; + } + + /** + * Sets the relationship + * Possible values are: manager, colleague, directReport, dotLineReport, assistant, dotLineManager, alternateContact, friend, spouse, sibling, child, parent, sponsor, emergencyContact, other, unknownFutureValue. + * + * @param PersonRelationship $val The value to assign to the relationship + * + * @return RelatedPerson The RelatedPerson + */ + public function setRelationship($val) + { + $this->_propDict["relationship"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * Email address or reference to person within organization. + * + * @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 + * Email address or reference to person within organization. + * + * @param string $val The value of the userPrincipalName + * + * @return RelatedPerson + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelyingPartyDetailedSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelyingPartyDetailedSummary.php new file mode 100644 index 0000000..9503038 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelyingPartyDetailedSummary.php @@ -0,0 +1,351 @@ +_propDict)) { + return $this->_propDict["failedSignInCount"]; + } else { + return null; + } + } + + /** + * Sets the failedSignInCount + * Number of failed sign in on Active Directory Federation Service in the period specified. + * + * @param int $val The failedSignInCount + * + * @return RelyingPartyDetailedSummary + */ + public function setFailedSignInCount($val) + { + $this->_propDict["failedSignInCount"] = intval($val); + return $this; + } + + /** + * Gets the migrationStatus + * Indication of whether the application can be moved to Azure AD or require more investigation. Possible values are: ready, needsReview, additionalStepsRequired, unknownFutureValue. + * + * @return MigrationStatus|null The migrationStatus + */ + public function getMigrationStatus() + { + if (array_key_exists("migrationStatus", $this->_propDict)) { + if (is_a($this->_propDict["migrationStatus"], "\Beta\Microsoft\Graph\Model\MigrationStatus") || is_null($this->_propDict["migrationStatus"])) { + return $this->_propDict["migrationStatus"]; + } else { + $this->_propDict["migrationStatus"] = new MigrationStatus($this->_propDict["migrationStatus"]); + return $this->_propDict["migrationStatus"]; + } + } + return null; + } + + /** + * Sets the migrationStatus + * Indication of whether the application can be moved to Azure AD or require more investigation. Possible values are: ready, needsReview, additionalStepsRequired, unknownFutureValue. + * + * @param MigrationStatus $val The migrationStatus + * + * @return RelyingPartyDetailedSummary + */ + public function setMigrationStatus($val) + { + $this->_propDict["migrationStatus"] = $val; + return $this; + } + + + /** + * Gets the migrationValidationDetails + * Specifies all the validations check done on applications configuration details to evaluate if the application is ready to be moved to Azure AD. + * + * @return array|null The migrationValidationDetails + */ + public function getMigrationValidationDetails() + { + if (array_key_exists("migrationValidationDetails", $this->_propDict)) { + return $this->_propDict["migrationValidationDetails"]; + } else { + return null; + } + } + + /** + * Sets the migrationValidationDetails + * Specifies all the validations check done on applications configuration details to evaluate if the application is ready to be moved to Azure AD. + * + * @param KeyValuePair[] $val The migrationValidationDetails + * + * @return RelyingPartyDetailedSummary + */ + public function setMigrationValidationDetails($val) + { + $this->_propDict["migrationValidationDetails"] = $val; + return $this; + } + + /** + * Gets the relyingPartyId + * This identifier is used to identify the relying party to this Federation Service. It is used when issuing claims to the relying party. + * + * @return string|null The relyingPartyId + */ + public function getRelyingPartyId() + { + if (array_key_exists("relyingPartyId", $this->_propDict)) { + return $this->_propDict["relyingPartyId"]; + } else { + return null; + } + } + + /** + * Sets the relyingPartyId + * This identifier is used to identify the relying party to this Federation Service. It is used when issuing claims to the relying party. + * + * @param string $val The relyingPartyId + * + * @return RelyingPartyDetailedSummary + */ + public function setRelyingPartyId($val) + { + $this->_propDict["relyingPartyId"] = $val; + return $this; + } + + /** + * Gets the relyingPartyName + * Name of application or other entity on the internet that uses an identity provider to authenticate a user who wants to log in. + * + * @return string|null The relyingPartyName + */ + public function getRelyingPartyName() + { + if (array_key_exists("relyingPartyName", $this->_propDict)) { + return $this->_propDict["relyingPartyName"]; + } else { + return null; + } + } + + /** + * Sets the relyingPartyName + * Name of application or other entity on the internet that uses an identity provider to authenticate a user who wants to log in. + * + * @param string $val The relyingPartyName + * + * @return RelyingPartyDetailedSummary + */ + public function setRelyingPartyName($val) + { + $this->_propDict["relyingPartyName"] = $val; + return $this; + } + + /** + * Gets the replyUrls + * Specifies where the relying party expects to receive the token. + * + * @return string|null The replyUrls + */ + public function getReplyUrls() + { + if (array_key_exists("replyUrls", $this->_propDict)) { + return $this->_propDict["replyUrls"]; + } else { + return null; + } + } + + /** + * Sets the replyUrls + * Specifies where the relying party expects to receive the token. + * + * @param string $val The replyUrls + * + * @return RelyingPartyDetailedSummary + */ + public function setReplyUrls($val) + { + $this->_propDict["replyUrls"] = $val; + return $this; + } + + /** + * Gets the serviceId + * Uniquely identifies the Active Directory forest. + * + * @return string|null The serviceId + */ + public function getServiceId() + { + if (array_key_exists("serviceId", $this->_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * Uniquely identifies the Active Directory forest. + * + * @param string $val The serviceId + * + * @return RelyingPartyDetailedSummary + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + + /** + * Gets the signInSuccessRate + * Number of successful / (number of successful + number of failed sign ins) on Active Directory Federation Service in the period specified. + * + * @return float|null The signInSuccessRate + */ + public function getSignInSuccessRate() + { + if (array_key_exists("signInSuccessRate", $this->_propDict)) { + return $this->_propDict["signInSuccessRate"]; + } else { + return null; + } + } + + /** + * Sets the signInSuccessRate + * Number of successful / (number of successful + number of failed sign ins) on Active Directory Federation Service in the period specified. + * + * @param float $val The signInSuccessRate + * + * @return RelyingPartyDetailedSummary + */ + public function setSignInSuccessRate($val) + { + $this->_propDict["signInSuccessRate"] = floatval($val); + return $this; + } + + /** + * Gets the successfulSignInCount + * Number of successful sign ins on Active Directory Federation Service. + * + * @return int|null The successfulSignInCount + */ + public function getSuccessfulSignInCount() + { + if (array_key_exists("successfulSignInCount", $this->_propDict)) { + return $this->_propDict["successfulSignInCount"]; + } else { + return null; + } + } + + /** + * Sets the successfulSignInCount + * Number of successful sign ins on Active Directory Federation Service. + * + * @param int $val The successfulSignInCount + * + * @return RelyingPartyDetailedSummary + */ + public function setSuccessfulSignInCount($val) + { + $this->_propDict["successfulSignInCount"] = intval($val); + return $this; + } + + /** + * Gets the totalSignInCount + * Number of successful + failed sign ins failed sign ins on Active Directory Federation Service in the period specified. + * + * @return int|null The totalSignInCount + */ + public function getTotalSignInCount() + { + if (array_key_exists("totalSignInCount", $this->_propDict)) { + return $this->_propDict["totalSignInCount"]; + } else { + return null; + } + } + + /** + * Sets the totalSignInCount + * Number of successful + failed sign ins failed sign ins on Active Directory Federation Service in the period specified. + * + * @param int $val The totalSignInCount + * + * @return RelyingPartyDetailedSummary + */ + public function setTotalSignInCount($val) + { + $this->_propDict["totalSignInCount"] = intval($val); + return $this; + } + + /** + * Gets the uniqueUserCount + * Number of unique users that have signed into the application. + * + * @return int|null The uniqueUserCount + */ + public function getUniqueUserCount() + { + if (array_key_exists("uniqueUserCount", $this->_propDict)) { + return $this->_propDict["uniqueUserCount"]; + } else { + return null; + } + } + + /** + * Sets the uniqueUserCount + * Number of unique users that have signed into the application. + * + * @param int $val The uniqueUserCount + * + * @return RelyingPartyDetailedSummary + */ + public function setUniqueUserCount($val) + { + $this->_propDict["uniqueUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemediationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemediationState.php new file mode 100644 index 0000000..aa99046 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemediationState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the reminder. Every time the reminder is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. + * + * @param string $val The value of the changeKey + * + * @return Reminder + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the eventEndTime + * The date, time and time zone that the event ends. + * + * @return DateTimeTimeZone|null The eventEndTime + */ + public function getEventEndTime() + { + if (array_key_exists("eventEndTime", $this->_propDict)) { + if (is_a($this->_propDict["eventEndTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["eventEndTime"])) { + return $this->_propDict["eventEndTime"]; + } else { + $this->_propDict["eventEndTime"] = new DateTimeTimeZone($this->_propDict["eventEndTime"]); + return $this->_propDict["eventEndTime"]; + } + } + return null; + } + + /** + * Sets the eventEndTime + * The date, time and time zone that the event ends. + * + * @param DateTimeTimeZone $val The value to assign to the eventEndTime + * + * @return Reminder The Reminder + */ + public function setEventEndTime($val) + { + $this->_propDict["eventEndTime"] = $val; + return $this; + } + /** + * Gets the eventId + * The unique ID of the event. Read only. + * + * @return string|null The eventId + */ + public function getEventId() + { + if (array_key_exists("eventId", $this->_propDict)) { + return $this->_propDict["eventId"]; + } else { + return null; + } + } + + /** + * Sets the eventId + * The unique ID of the event. Read only. + * + * @param string $val The value of the eventId + * + * @return Reminder + */ + public function setEventId($val) + { + $this->_propDict["eventId"] = $val; + return $this; + } + + /** + * Gets the eventLocation + * The location of the event. + * + * @return Location|null The eventLocation + */ + public function getEventLocation() + { + if (array_key_exists("eventLocation", $this->_propDict)) { + if (is_a($this->_propDict["eventLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["eventLocation"])) { + return $this->_propDict["eventLocation"]; + } else { + $this->_propDict["eventLocation"] = new Location($this->_propDict["eventLocation"]); + return $this->_propDict["eventLocation"]; + } + } + return null; + } + + /** + * Sets the eventLocation + * The location of the event. + * + * @param Location $val The value to assign to the eventLocation + * + * @return Reminder The Reminder + */ + public function setEventLocation($val) + { + $this->_propDict["eventLocation"] = $val; + return $this; + } + + /** + * Gets the eventStartTime + * The date, time, and time zone that the event starts. + * + * @return DateTimeTimeZone|null The eventStartTime + */ + public function getEventStartTime() + { + if (array_key_exists("eventStartTime", $this->_propDict)) { + if (is_a($this->_propDict["eventStartTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["eventStartTime"])) { + return $this->_propDict["eventStartTime"]; + } else { + $this->_propDict["eventStartTime"] = new DateTimeTimeZone($this->_propDict["eventStartTime"]); + return $this->_propDict["eventStartTime"]; + } + } + return null; + } + + /** + * Sets the eventStartTime + * The date, time, and time zone that the event starts. + * + * @param DateTimeTimeZone $val The value to assign to the eventStartTime + * + * @return Reminder The Reminder + */ + public function setEventStartTime($val) + { + $this->_propDict["eventStartTime"] = $val; + return $this; + } + /** + * Gets the eventSubject + * The text of the event's subject line. + * + * @return string|null The eventSubject + */ + public function getEventSubject() + { + if (array_key_exists("eventSubject", $this->_propDict)) { + return $this->_propDict["eventSubject"]; + } else { + return null; + } + } + + /** + * Sets the eventSubject + * The text of the event's subject line. + * + * @param string $val The value of the eventSubject + * + * @return Reminder + */ + public function setEventSubject($val) + { + $this->_propDict["eventSubject"] = $val; + return $this; + } + /** + * Gets the eventWebLink + * The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. + * + * @return string|null The eventWebLink + */ + public function getEventWebLink() + { + if (array_key_exists("eventWebLink", $this->_propDict)) { + return $this->_propDict["eventWebLink"]; + } else { + return null; + } + } + + /** + * Sets the eventWebLink + * The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. + * + * @param string $val The value of the eventWebLink + * + * @return Reminder + */ + public function setEventWebLink($val) + { + $this->_propDict["eventWebLink"] = $val; + return $this; + } + + /** + * Gets the reminderFireTime + * The date, time, and time zone that the reminder is set to occur. + * + * @return DateTimeTimeZone|null The reminderFireTime + */ + public function getReminderFireTime() + { + if (array_key_exists("reminderFireTime", $this->_propDict)) { + if (is_a($this->_propDict["reminderFireTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderFireTime"])) { + return $this->_propDict["reminderFireTime"]; + } else { + $this->_propDict["reminderFireTime"] = new DateTimeTimeZone($this->_propDict["reminderFireTime"]); + return $this->_propDict["reminderFireTime"]; + } + } + return null; + } + + /** + * Sets the reminderFireTime + * The date, time, and time zone that the reminder is set to occur. + * + * @param DateTimeTimeZone $val The value to assign to the reminderFireTime + * + * @return Reminder The Reminder + */ + public function setReminderFireTime($val) + { + $this->_propDict["reminderFireTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAction.php new file mode 100644 index 0000000..da9e72d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAction.php @@ -0,0 +1,56 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\RemoteAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new RemoteAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim. + * + * @param RemoteAction $val The action + * + * @return RemoteActionAudit + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the actionState + * Action state. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * Action state. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The actionState + * + * @return RemoteActionAudit + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Intune device name. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Intune device name. + * + * @param string $val The deviceDisplayName + * + * @return RemoteActionAudit + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceIMEI + * IMEI of the device. + * + * @return string|null The deviceIMEI + */ + public function getDeviceIMEI() + { + if (array_key_exists("deviceIMEI", $this->_propDict)) { + return $this->_propDict["deviceIMEI"]; + } else { + return null; + } + } + + /** + * Sets the deviceIMEI + * IMEI of the device. + * + * @param string $val The deviceIMEI + * + * @return RemoteActionAudit + */ + public function setDeviceIMEI($val) + { + $this->_propDict["deviceIMEI"] = $val; + return $this; + } + + /** + * Gets the deviceOwnerUserPrincipalName + * Upn of the device owner. + * + * @return string|null The deviceOwnerUserPrincipalName + */ + public function getDeviceOwnerUserPrincipalName() + { + if (array_key_exists("deviceOwnerUserPrincipalName", $this->_propDict)) { + return $this->_propDict["deviceOwnerUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the deviceOwnerUserPrincipalName + * Upn of the device owner. + * + * @param string $val The deviceOwnerUserPrincipalName + * + * @return RemoteActionAudit + */ + public function setDeviceOwnerUserPrincipalName($val) + { + $this->_propDict["deviceOwnerUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the initiatedByUserPrincipalName + * User who initiated the device action, format is UPN. + * + * @return string|null The initiatedByUserPrincipalName + */ + public function getInitiatedByUserPrincipalName() + { + if (array_key_exists("initiatedByUserPrincipalName", $this->_propDict)) { + return $this->_propDict["initiatedByUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the initiatedByUserPrincipalName + * User who initiated the device action, format is UPN. + * + * @param string $val The initiatedByUserPrincipalName + * + * @return RemoteActionAudit + */ + public function setInitiatedByUserPrincipalName($val) + { + $this->_propDict["initiatedByUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * Action target. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Action target. + * + * @param string $val The managedDeviceId + * + * @return RemoteActionAudit + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the requestDateTime + * Time when the action was issued, given in UTC. + * + * @return \DateTime|null The requestDateTime + */ + public function getRequestDateTime() + { + if (array_key_exists("requestDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestDateTime"], "\DateTime") || is_null($this->_propDict["requestDateTime"])) { + return $this->_propDict["requestDateTime"]; + } else { + $this->_propDict["requestDateTime"] = new \DateTime($this->_propDict["requestDateTime"]); + return $this->_propDict["requestDateTime"]; + } + } + return null; + } + + /** + * Sets the requestDateTime + * Time when the action was issued, given in UTC. + * + * @param \DateTime $val The requestDateTime + * + * @return RemoteActionAudit + */ + public function setRequestDateTime($val) + { + $this->_propDict["requestDateTime"] = $val; + return $this; + } + + /** + * Gets the userName + * [deprecated] Please use InitiatedByUserPrincipalName instead. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * [deprecated] Please use InitiatedByUserPrincipalName instead. + * + * @param string $val The userName + * + * @return RemoteActionAudit + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceOnboardingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceOnboardingStatus.php new file mode 100644 index 0000000..263b6cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceOnboardingStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the partner. + * + * @param string $val The displayName + * + * @return RemoteAssistancePartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @return \DateTime|null The lastConnectionDateTime + */ + public function getLastConnectionDateTime() + { + if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime") || is_null($this->_propDict["lastConnectionDateTime"])) { + return $this->_propDict["lastConnectionDateTime"]; + } else { + $this->_propDict["lastConnectionDateTime"] = new \DateTime($this->_propDict["lastConnectionDateTime"]); + return $this->_propDict["lastConnectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @param \DateTime $val The lastConnectionDateTime + * + * @return RemoteAssistancePartner + */ + public function setLastConnectionDateTime($val) + { + $this->_propDict["lastConnectionDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardingRequestExpiryDateTime + * When the OnboardingStatus is Onboarding, This is the date time when the onboarding request expires. + * + * @return \DateTime|null The onboardingRequestExpiryDateTime + */ + public function getOnboardingRequestExpiryDateTime() + { + if (array_key_exists("onboardingRequestExpiryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onboardingRequestExpiryDateTime"], "\DateTime") || is_null($this->_propDict["onboardingRequestExpiryDateTime"])) { + return $this->_propDict["onboardingRequestExpiryDateTime"]; + } else { + $this->_propDict["onboardingRequestExpiryDateTime"] = new \DateTime($this->_propDict["onboardingRequestExpiryDateTime"]); + return $this->_propDict["onboardingRequestExpiryDateTime"]; + } + } + return null; + } + + /** + * Sets the onboardingRequestExpiryDateTime + * When the OnboardingStatus is Onboarding, This is the date time when the onboarding request expires. + * + * @param \DateTime $val The onboardingRequestExpiryDateTime + * + * @return RemoteAssistancePartner + */ + public function setOnboardingRequestExpiryDateTime($val) + { + $this->_propDict["onboardingRequestExpiryDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardingStatus + * A friendly description of the current TeamViewer connector status. Possible values are: notOnboarded, onboarding, onboarded. + * + * @return RemoteAssistanceOnboardingStatus|null The onboardingStatus + */ + public function getOnboardingStatus() + { + if (array_key_exists("onboardingStatus", $this->_propDict)) { + if (is_a($this->_propDict["onboardingStatus"], "\Beta\Microsoft\Graph\Model\RemoteAssistanceOnboardingStatus") || is_null($this->_propDict["onboardingStatus"])) { + return $this->_propDict["onboardingStatus"]; + } else { + $this->_propDict["onboardingStatus"] = new RemoteAssistanceOnboardingStatus($this->_propDict["onboardingStatus"]); + return $this->_propDict["onboardingStatus"]; + } + } + return null; + } + + /** + * Sets the onboardingStatus + * A friendly description of the current TeamViewer connector status. Possible values are: notOnboarded, onboarding, onboarded. + * + * @param RemoteAssistanceOnboardingStatus $val The onboardingStatus + * + * @return RemoteAssistancePartner + */ + public function setOnboardingStatus($val) + { + $this->_propDict["onboardingStatus"] = $val; + return $this; + } + + /** + * Gets the onboardingUrl + * URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service. + * + * @return string|null The onboardingUrl + */ + public function getOnboardingUrl() + { + if (array_key_exists("onboardingUrl", $this->_propDict)) { + return $this->_propDict["onboardingUrl"]; + } else { + return null; + } + } + + /** + * Sets the onboardingUrl + * URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service. + * + * @param string $val The onboardingUrl + * + * @return RemoteAssistancePartner + */ + public function setOnboardingUrl($val) + { + $this->_propDict["onboardingUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php new file mode 100644 index 0000000..52f97ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceSettings.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["allowSessionsToUnenrolledDevices"]; + } else { + return null; + } + } + + /** + * Sets the allowSessionsToUnenrolledDevices + * Indicates if sessions to unenrolled devices are allowed for the account. This setting is configurable by the admin. Default value is false. + * + * @param bool $val The allowSessionsToUnenrolledDevices + * + * @return RemoteAssistanceSettings + */ + public function setAllowSessionsToUnenrolledDevices($val) + { + $this->_propDict["allowSessionsToUnenrolledDevices"] = boolval($val); + return $this; + } + + /** + * Gets the remoteAssistanceState + * The current state of remote assistance for the account. Possible values are: disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a disabled state. Returned by default. Possible values are: disabled, enabled. + * + * @return RemoteAssistanceState|null The remoteAssistanceState + */ + public function getRemoteAssistanceState() + { + if (array_key_exists("remoteAssistanceState", $this->_propDict)) { + if (is_a($this->_propDict["remoteAssistanceState"], "\Beta\Microsoft\Graph\Model\RemoteAssistanceState") || is_null($this->_propDict["remoteAssistanceState"])) { + return $this->_propDict["remoteAssistanceState"]; + } else { + $this->_propDict["remoteAssistanceState"] = new RemoteAssistanceState($this->_propDict["remoteAssistanceState"]); + return $this->_propDict["remoteAssistanceState"]; + } + } + return null; + } + + /** + * Sets the remoteAssistanceState + * The current state of remote assistance for the account. Possible values are: disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a disabled state. Returned by default. Possible values are: disabled, enabled. + * + * @param RemoteAssistanceState $val The remoteAssistanceState + * + * @return RemoteAssistanceSettings + */ + public function setRemoteAssistanceState($val) + { + $this->_propDict["remoteAssistanceState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceState.php new file mode 100644 index 0000000..efecd78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceState.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @param IdentitySet $val The value to assign to the createdBy + * + * @return RemoteItem The RemoteItem + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of item creation. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of item creation. Read-only. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return RemoteItem The RemoteItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the file + * Indicates that the remote item is a file. Read-only. + * + * @return File|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\File") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = new File($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * Indicates that the remote item is a file. Read-only. + * + * @param File $val The value to assign to the file + * + * @return RemoteItem The RemoteItem + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the fileSystemInfo + * Information about the remote item from the local file system. Read-only. + * + * @return FileSystemInfo|null The fileSystemInfo + */ + public function getFileSystemInfo() + { + if (array_key_exists("fileSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) { + return $this->_propDict["fileSystemInfo"]; + } else { + $this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]); + return $this->_propDict["fileSystemInfo"]; + } + } + return null; + } + + /** + * Sets the fileSystemInfo + * Information about the remote item from the local file system. Read-only. + * + * @param FileSystemInfo $val The value to assign to the fileSystemInfo + * + * @return RemoteItem The RemoteItem + */ + public function setFileSystemInfo($val) + { + $this->_propDict["fileSystemInfo"] = $val; + return $this; + } + + /** + * Gets the folder + * Indicates that the remote item is a folder. Read-only. + * + * @return Folder|null The folder + */ + public function getFolder() + { + if (array_key_exists("folder", $this->_propDict)) { + if (is_a($this->_propDict["folder"], "\Beta\Microsoft\Graph\Model\Folder") || is_null($this->_propDict["folder"])) { + return $this->_propDict["folder"]; + } else { + $this->_propDict["folder"] = new Folder($this->_propDict["folder"]); + return $this->_propDict["folder"]; + } + } + return null; + } + + /** + * Sets the folder + * Indicates that the remote item is a folder. Read-only. + * + * @param Folder $val The value to assign to the folder + * + * @return RemoteItem The RemoteItem + */ + public function setFolder($val) + { + $this->_propDict["folder"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier for the remote item in its drive. Read-only. + * + * @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 + * Unique identifier for the remote item in its drive. Read-only. + * + * @param string $val The value of the id + * + * @return RemoteItem + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the image + * Image metadata, if the item is an image. Read-only. + * + * @return Image|null The image + */ + public function getImage() + { + if (array_key_exists("image", $this->_propDict)) { + if (is_a($this->_propDict["image"], "\Beta\Microsoft\Graph\Model\Image") || is_null($this->_propDict["image"])) { + return $this->_propDict["image"]; + } else { + $this->_propDict["image"] = new Image($this->_propDict["image"]); + return $this->_propDict["image"]; + } + } + return null; + } + + /** + * Sets the image + * Image metadata, if the item is an image. Read-only. + * + * @param Image $val The value to assign to the image + * + * @return RemoteItem The RemoteItem + */ + public function setImage($val) + { + $this->_propDict["image"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return RemoteItem The RemoteItem + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return RemoteItem The RemoteItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the name + * Optional. Filename of the remote item. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Optional. Filename of the remote item. Read-only. + * + * @param string $val The value of the name + * + * @return RemoteItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @return Package|null The package + */ + public function getPackage() + { + if (array_key_exists("package", $this->_propDict)) { + if (is_a($this->_propDict["package"], "\Beta\Microsoft\Graph\Model\Package") || is_null($this->_propDict["package"])) { + return $this->_propDict["package"]; + } else { + $this->_propDict["package"] = new Package($this->_propDict["package"]); + return $this->_propDict["package"]; + } + } + return null; + } + + /** + * Sets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @param Package $val The value to assign to the package + * + * @return RemoteItem The RemoteItem + */ + public function setPackage($val) + { + $this->_propDict["package"] = $val; + return $this; + } + + /** + * Gets the parentReference + * Properties of the parent of the remote item. Read-only. + * + * @return ItemReference|null The parentReference + */ + public function getParentReference() + { + if (array_key_exists("parentReference", $this->_propDict)) { + if (is_a($this->_propDict["parentReference"], "\Beta\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["parentReference"])) { + return $this->_propDict["parentReference"]; + } else { + $this->_propDict["parentReference"] = new ItemReference($this->_propDict["parentReference"]); + return $this->_propDict["parentReference"]; + } + } + return null; + } + + /** + * Sets the parentReference + * Properties of the parent of the remote item. Read-only. + * + * @param ItemReference $val The value to assign to the parentReference + * + * @return RemoteItem The RemoteItem + */ + public function setParentReference($val) + { + $this->_propDict["parentReference"] = $val; + return $this; + } + + /** + * Gets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @return Shared|null The shared + */ + public function getShared() + { + if (array_key_exists("shared", $this->_propDict)) { + if (is_a($this->_propDict["shared"], "\Beta\Microsoft\Graph\Model\Shared") || is_null($this->_propDict["shared"])) { + return $this->_propDict["shared"]; + } else { + $this->_propDict["shared"] = new Shared($this->_propDict["shared"]); + return $this->_propDict["shared"]; + } + } + return null; + } + + /** + * Sets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @param Shared $val The value to assign to the shared + * + * @return RemoteItem The RemoteItem + */ + public function setShared($val) + { + $this->_propDict["shared"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only. + * + * @param SharepointIds $val The value to assign to the sharepointIds + * + * @return RemoteItem The RemoteItem + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + /** + * Gets the size + * Size of the remote item. Read-only. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the remote item. Read-only. + * + * @param int $val The value of the size + * + * @return RemoteItem + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } + + /** + * Gets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @return SpecialFolder|null The specialFolder + */ + public function getSpecialFolder() + { + if (array_key_exists("specialFolder", $this->_propDict)) { + if (is_a($this->_propDict["specialFolder"], "\Beta\Microsoft\Graph\Model\SpecialFolder") || is_null($this->_propDict["specialFolder"])) { + return $this->_propDict["specialFolder"]; + } else { + $this->_propDict["specialFolder"] = new SpecialFolder($this->_propDict["specialFolder"]); + return $this->_propDict["specialFolder"]; + } + } + return null; + } + + /** + * Sets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @param SpecialFolder $val The value to assign to the specialFolder + * + * @return RemoteItem The RemoteItem + */ + public function setSpecialFolder($val) + { + $this->_propDict["specialFolder"] = $val; + return $this; + } + + /** + * Gets the video + * Video metadata, if the item is a video. Read-only. + * + * @return Video|null The video + */ + public function getVideo() + { + if (array_key_exists("video", $this->_propDict)) { + if (is_a($this->_propDict["video"], "\Beta\Microsoft\Graph\Model\Video") || is_null($this->_propDict["video"])) { + return $this->_propDict["video"]; + } else { + $this->_propDict["video"] = new Video($this->_propDict["video"]); + return $this->_propDict["video"]; + } + } + return null; + } + + /** + * Sets the video + * Video metadata, if the item is a video. Read-only. + * + * @param Video $val The value to assign to the video + * + * @return RemoteItem The RemoteItem + */ + public function setVideo($val) + { + $this->_propDict["video"] = $val; + return $this; + } + /** + * Gets the webDavUrl + * DAV compatible URL for the item. + * + * @return string|null The webDavUrl + */ + public function getWebDavUrl() + { + if (array_key_exists("webDavUrl", $this->_propDict)) { + return $this->_propDict["webDavUrl"]; + } else { + return null; + } + } + + /** + * Sets the webDavUrl + * DAV compatible URL for the item. + * + * @param string $val The value of the webDavUrl + * + * @return RemoteItem + */ + public function setWebDavUrl($val) + { + $this->_propDict["webDavUrl"] = $val; + return $this; + } + /** + * Gets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @param string $val The value of the webUrl + * + * @return RemoteItem + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteLockActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteLockActionResult.php new file mode 100644 index 0000000..7e462a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteLockActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["unlockPin"]; + } else { + return null; + } + } + + /** + * Sets the unlockPin + * Pin to unlock the client + * + * @param string $val The value of the unlockPin + * + * @return RemoteLockActionResult + */ + public function setUnlockPin($val) + { + $this->_propDict["unlockPin"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveAccessApplyAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveAccessApplyAction.php new file mode 100644 index 0000000..6564033 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveAccessApplyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["uiElementNames"]; + } else { + return null; + } + } + + /** + * Sets the uiElementNames + * The name of the UI element of the footer to be removed. + * + * @param string $val The value of the uiElementNames + * + * @return RemoveContentFooterAction + */ + public function setUiElementNames($val) + { + $this->_propDict["uiElementNames"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveContentHeaderAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveContentHeaderAction.php new file mode 100644 index 0000000..5a44fa3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveContentHeaderAction.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["uiElementNames"]; + } else { + return null; + } + } + + /** + * Sets the uiElementNames + * The name of the UI element of the header to be removed. + * + * @param string $val The value of the uiElementNames + * + * @return RemoveContentHeaderAction + */ + public function setUiElementNames($val) + { + $this->_propDict["uiElementNames"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveProtectionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveProtectionAction.php new file mode 100644 index 0000000..88093b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveProtectionAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["uiElementNames"]; + } else { + return null; + } + } + + /** + * Sets the uiElementNames + * The name of the UI element of footer to be removed. + * + * @param string $val The value of the uiElementNames + * + * @return RemoveWatermarkAction + */ + public function setUiElementNames($val) + { + $this->_propDict["uiElementNames"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RenameAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RenameAction.php new file mode 100644 index 0000000..d3abffc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RenameAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["newName"]; + } else { + return null; + } + } + + /** + * Sets the newName + * The new name of the item. + * + * @param string $val The value of the newName + * + * @return RenameAction + */ + public function setNewName($val) + { + $this->_propDict["newName"] = $val; + return $this; + } + /** + * Gets the oldName + * The previous name of the item. + * + * @return string|null The oldName + */ + public function getOldName() + { + if (array_key_exists("oldName", $this->_propDict)) { + return $this->_propDict["oldName"]; + } else { + return null; + } + } + + /** + * Sets the oldName + * The previous name of the item. + * + * @param string $val The value of the oldName + * + * @return RenameAction + */ + public function setOldName($val) + { + $this->_propDict["oldName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReplyRestriction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReplyRestriction.php new file mode 100644 index 0000000..08161ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReplyRestriction.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * Report content; details vary by report type. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the content + * + * @return Report The Report + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReportRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReportRoot.php new file mode 100644 index 0000000..885ee21 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReportRoot.php @@ -0,0 +1,374 @@ +_propDict)) { + return $this->_propDict["applicationSignInDetailedSummary"]; + } else { + return null; + } + } + + /** + * Sets the applicationSignInDetailedSummary + * Represents a detailed summary of an application sign-in. + * + * @param ApplicationSignInDetailedSummary[] $val The applicationSignInDetailedSummary + * + * @return ReportRoot + */ + public function setApplicationSignInDetailedSummary($val) + { + $this->_propDict["applicationSignInDetailedSummary"] = $val; + return $this; + } + + /** + * Gets the authenticationMethods + * Container for navigation properties for Azure AD authentication methods resources. + * + * @return AuthenticationMethodsRoot|null The authenticationMethods + */ + public function getAuthenticationMethods() + { + if (array_key_exists("authenticationMethods", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethods"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodsRoot") || is_null($this->_propDict["authenticationMethods"])) { + return $this->_propDict["authenticationMethods"]; + } else { + $this->_propDict["authenticationMethods"] = new AuthenticationMethodsRoot($this->_propDict["authenticationMethods"]); + return $this->_propDict["authenticationMethods"]; + } + } + return null; + } + + /** + * Sets the authenticationMethods + * Container for navigation properties for Azure AD authentication methods resources. + * + * @param AuthenticationMethodsRoot $val The authenticationMethods + * + * @return ReportRoot + */ + public function setAuthenticationMethods($val) + { + $this->_propDict["authenticationMethods"] = $val; + return $this; + } + + + /** + * Gets the credentialUserRegistrationDetails + * Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. + * + * @return array|null The credentialUserRegistrationDetails + */ + public function getCredentialUserRegistrationDetails() + { + if (array_key_exists("credentialUserRegistrationDetails", $this->_propDict)) { + return $this->_propDict["credentialUserRegistrationDetails"]; + } else { + return null; + } + } + + /** + * Sets the credentialUserRegistrationDetails + * Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. + * + * @param CredentialUserRegistrationDetails[] $val The credentialUserRegistrationDetails + * + * @return ReportRoot + */ + public function setCredentialUserRegistrationDetails($val) + { + $this->_propDict["credentialUserRegistrationDetails"] = $val; + return $this; + } + + + /** + * Gets the userCredentialUsageDetails + * Represents the self-service password reset (SSPR) usage for a given tenant. + * + * @return array|null The userCredentialUsageDetails + */ + public function getUserCredentialUsageDetails() + { + if (array_key_exists("userCredentialUsageDetails", $this->_propDict)) { + return $this->_propDict["userCredentialUsageDetails"]; + } else { + return null; + } + } + + /** + * Sets the userCredentialUsageDetails + * Represents the self-service password reset (SSPR) usage for a given tenant. + * + * @param UserCredentialUsageDetails[] $val The userCredentialUsageDetails + * + * @return ReportRoot + */ + public function setUserCredentialUsageDetails($val) + { + $this->_propDict["userCredentialUsageDetails"] = $val; + return $this; + } + + + /** + * Gets the dailyPrintUsageByPrinter + * + * @return array|null The dailyPrintUsageByPrinter + */ + public function getDailyPrintUsageByPrinter() + { + if (array_key_exists("dailyPrintUsageByPrinter", $this->_propDict)) { + return $this->_propDict["dailyPrintUsageByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the dailyPrintUsageByPrinter + * + * @param PrintUsageByPrinter[] $val The dailyPrintUsageByPrinter + * + * @return ReportRoot + */ + public function setDailyPrintUsageByPrinter($val) + { + $this->_propDict["dailyPrintUsageByPrinter"] = $val; + return $this; + } + + + /** + * Gets the dailyPrintUsageByUser + * + * @return array|null The dailyPrintUsageByUser + */ + public function getDailyPrintUsageByUser() + { + if (array_key_exists("dailyPrintUsageByUser", $this->_propDict)) { + return $this->_propDict["dailyPrintUsageByUser"]; + } else { + return null; + } + } + + /** + * Sets the dailyPrintUsageByUser + * + * @param PrintUsageByUser[] $val The dailyPrintUsageByUser + * + * @return ReportRoot + */ + public function setDailyPrintUsageByUser($val) + { + $this->_propDict["dailyPrintUsageByUser"] = $val; + return $this; + } + + + /** + * Gets the dailyPrintUsageSummariesByPrinter + * + * @return array|null The dailyPrintUsageSummariesByPrinter + */ + public function getDailyPrintUsageSummariesByPrinter() + { + if (array_key_exists("dailyPrintUsageSummariesByPrinter", $this->_propDict)) { + return $this->_propDict["dailyPrintUsageSummariesByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the dailyPrintUsageSummariesByPrinter + * + * @param PrintUsageByPrinter[] $val The dailyPrintUsageSummariesByPrinter + * + * @return ReportRoot + */ + public function setDailyPrintUsageSummariesByPrinter($val) + { + $this->_propDict["dailyPrintUsageSummariesByPrinter"] = $val; + return $this; + } + + + /** + * Gets the dailyPrintUsageSummariesByUser + * + * @return array|null The dailyPrintUsageSummariesByUser + */ + public function getDailyPrintUsageSummariesByUser() + { + if (array_key_exists("dailyPrintUsageSummariesByUser", $this->_propDict)) { + return $this->_propDict["dailyPrintUsageSummariesByUser"]; + } else { + return null; + } + } + + /** + * Sets the dailyPrintUsageSummariesByUser + * + * @param PrintUsageByUser[] $val The dailyPrintUsageSummariesByUser + * + * @return ReportRoot + */ + public function setDailyPrintUsageSummariesByUser($val) + { + $this->_propDict["dailyPrintUsageSummariesByUser"] = $val; + return $this; + } + + + /** + * Gets the monthlyPrintUsageByPrinter + * + * @return array|null The monthlyPrintUsageByPrinter + */ + public function getMonthlyPrintUsageByPrinter() + { + if (array_key_exists("monthlyPrintUsageByPrinter", $this->_propDict)) { + return $this->_propDict["monthlyPrintUsageByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the monthlyPrintUsageByPrinter + * + * @param PrintUsageByPrinter[] $val The monthlyPrintUsageByPrinter + * + * @return ReportRoot + */ + public function setMonthlyPrintUsageByPrinter($val) + { + $this->_propDict["monthlyPrintUsageByPrinter"] = $val; + return $this; + } + + + /** + * Gets the monthlyPrintUsageByUser + * + * @return array|null The monthlyPrintUsageByUser + */ + public function getMonthlyPrintUsageByUser() + { + if (array_key_exists("monthlyPrintUsageByUser", $this->_propDict)) { + return $this->_propDict["monthlyPrintUsageByUser"]; + } else { + return null; + } + } + + /** + * Sets the monthlyPrintUsageByUser + * + * @param PrintUsageByUser[] $val The monthlyPrintUsageByUser + * + * @return ReportRoot + */ + public function setMonthlyPrintUsageByUser($val) + { + $this->_propDict["monthlyPrintUsageByUser"] = $val; + return $this; + } + + + /** + * Gets the monthlyPrintUsageSummariesByPrinter + * + * @return array|null The monthlyPrintUsageSummariesByPrinter + */ + public function getMonthlyPrintUsageSummariesByPrinter() + { + if (array_key_exists("monthlyPrintUsageSummariesByPrinter", $this->_propDict)) { + return $this->_propDict["monthlyPrintUsageSummariesByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the monthlyPrintUsageSummariesByPrinter + * + * @param PrintUsageByPrinter[] $val The monthlyPrintUsageSummariesByPrinter + * + * @return ReportRoot + */ + public function setMonthlyPrintUsageSummariesByPrinter($val) + { + $this->_propDict["monthlyPrintUsageSummariesByPrinter"] = $val; + return $this; + } + + + /** + * Gets the monthlyPrintUsageSummariesByUser + * + * @return array|null The monthlyPrintUsageSummariesByUser + */ + public function getMonthlyPrintUsageSummariesByUser() + { + if (array_key_exists("monthlyPrintUsageSummariesByUser", $this->_propDict)) { + return $this->_propDict["monthlyPrintUsageSummariesByUser"]; + } else { + return null; + } + } + + /** + * Sets the monthlyPrintUsageSummariesByUser + * + * @param PrintUsageByUser[] $val The monthlyPrintUsageSummariesByUser + * + * @return ReportRoot + */ + public function setMonthlyPrintUsageSummariesByUser($val) + { + $this->_propDict["monthlyPrintUsageSummariesByUser"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReputationCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReputationCategory.php new file mode 100644 index 0000000..f165431 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReputationCategory.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return ReputationCategory + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ReputationCategory + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the vendor + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * + * @param string $val The value of the vendor + * + * @return ReputationCategory + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Request.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Request.php new file mode 100644 index 0000000..4ee0dc3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Request.php @@ -0,0 +1,213 @@ +_propDict)) { + return $this->_propDict["approvalId"]; + } else { + return null; + } + } + + /** + * Sets the approvalId + * The identifier of the approval of the request. + * + * @param string $val The approvalId + * + * @return Request + */ + public function setApprovalId($val) + { + $this->_propDict["approvalId"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The request completion date time. + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The request completion date time. + * + * @param \DateTime $val The completedDateTime + * + * @return Request + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created this request. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created this request. + * + * @param IdentitySet $val The createdBy + * + * @return Request + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The request creation date time. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The request creation date time. + * + * @param \DateTime $val The createdDateTime + * + * @return Request + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the customData + * Free text field to define any custom data for the request. Not used. + * + * @return string|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Free text field to define any custom data for the request. Not used. + * + * @param string $val The customData + * + * @return Request + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. + * + * @param string $val The status + * + * @return Request + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestSchedule.php new file mode 100644 index 0000000..0c0e03f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestSchedule.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["expiration"], "\Beta\Microsoft\Graph\Model\ExpirationPattern") || is_null($this->_propDict["expiration"])) { + return $this->_propDict["expiration"]; + } else { + $this->_propDict["expiration"] = new ExpirationPattern($this->_propDict["expiration"]); + return $this->_propDict["expiration"]; + } + } + return null; + } + + /** + * Sets the expiration + * When the access should expire. + * + * @param ExpirationPattern $val The value to assign to the expiration + * + * @return RequestSchedule The RequestSchedule + */ + public function setExpiration($val) + { + $this->_propDict["expiration"] = $val; + return $this; + } + + /** + * Gets the recurrence + * For recurring access. Not used at present. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * For recurring access. Not used at present. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return RequestSchedule The RequestSchedule + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return RequestSchedule The RequestSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorManager.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorManager.php new file mode 100644 index 0000000..a9e406e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorManager.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["managerLevel"]; + } else { + return null; + } + } + + /** + * Sets the managerLevel + * The hierarchical level of the manager with respect to the requestor. For example, the direct manager of a requestor would have a managerLevel of 1, while the manager of the requestor's manager would have a managerLevel of 2. Default value for managerLevel is 1. Possible values for this property range from 1 to 2. + * + * @param int $val The value of the managerLevel + * + * @return RequestorManager + */ + public function setManagerLevel($val) + { + $this->_propDict["managerLevel"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorSettings.php new file mode 100644 index 0000000..9693ccc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorSettings.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["acceptRequests"]; + } else { + return null; + } + } + + /** + * Sets the acceptRequests + * Indicates whether new requests are accepted on this policy. + * + * @param bool $val The value of the acceptRequests + * + * @return RequestorSettings + */ + public function setAcceptRequests($val) + { + $this->_propDict["acceptRequests"] = $val; + return $this; + } + + /** + * Gets the allowedRequestors + * The users who are allowed to request on this policy, which can be singleUser, groupMembers, and connectedOrganizationMembers. + * + * @return UserSet|null The allowedRequestors + */ + public function getAllowedRequestors() + { + if (array_key_exists("allowedRequestors", $this->_propDict)) { + if (is_a($this->_propDict["allowedRequestors"], "\Beta\Microsoft\Graph\Model\UserSet") || is_null($this->_propDict["allowedRequestors"])) { + return $this->_propDict["allowedRequestors"]; + } else { + $this->_propDict["allowedRequestors"] = new UserSet($this->_propDict["allowedRequestors"]); + return $this->_propDict["allowedRequestors"]; + } + } + return null; + } + + /** + * Sets the allowedRequestors + * The users who are allowed to request on this policy, which can be singleUser, groupMembers, and connectedOrganizationMembers. + * + * @param UserSet $val The value to assign to the allowedRequestors + * + * @return RequestorSettings The RequestorSettings + */ + public function setAllowedRequestors($val) + { + $this->_propDict["allowedRequestors"] = $val; + return $this; + } + /** + * Gets the scopeType + * Who can request. One of NoSubjects, SpecificDirectorySubjects, SpecificConnectedOrganizationSubjects, AllConfiguredConnectedOrganizationSubjects, AllExistingConnectedOrganizationSubjects, AllExistingDirectoryMemberUsers, AllExistingDirectorySubjects or AllExternalSubjects. + * + * @return string|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + return $this->_propDict["scopeType"]; + } else { + return null; + } + } + + /** + * Sets the scopeType + * Who can request. One of NoSubjects, SpecificDirectorySubjects, SpecificConnectedOrganizationSubjects, AllConfiguredConnectedOrganizationSubjects, AllExistingConnectedOrganizationSubjects, AllExistingDirectoryMemberUsers, AllExistingDirectorySubjects or AllExternalSubjects. + * + * @param string $val The value of the scopeType + * + * @return RequestorSettings + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequiredPasswordType.php new file mode 100644 index 0000000..e5f229b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequiredPasswordType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["resourceAccess"], "\Beta\Microsoft\Graph\Model\ResourceAccess") || is_null($this->_propDict["resourceAccess"])) { + return $this->_propDict["resourceAccess"]; + } else { + $this->_propDict["resourceAccess"] = new ResourceAccess($this->_propDict["resourceAccess"]); + return $this->_propDict["resourceAccess"]; + } + } + return null; + } + + /** + * Sets the resourceAccess + * The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource. + * + * @param ResourceAccess $val The value to assign to the resourceAccess + * + * @return RequiredResourceAccess The RequiredResourceAccess + */ + public function setResourceAccess($val) + { + $this->_propDict["resourceAccess"] = $val; + return $this; + } + /** + * Gets the resourceAppId + * The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application. + * + * @return string|null The resourceAppId + */ + public function getResourceAppId() + { + if (array_key_exists("resourceAppId", $this->_propDict)) { + return $this->_propDict["resourceAppId"]; + } else { + return null; + } + } + + /** + * Sets the resourceAppId + * The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application. + * + * @param string $val The value of the resourceAppId + * + * @return RequiredResourceAccess + */ + public function setResourceAppId($val) + { + $this->_propDict["resourceAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequirementProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequirementProvider.php new file mode 100644 index 0000000..b17dc9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequirementProvider.php @@ -0,0 +1,53 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * RotateBitLockerKeys action error code. Valid values 0 to 2147483647 + * + * @param int $val The value of the errorCode + * + * @return ResetPasscodeActionResult + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the passcode + * Newly generated passcode for the device + * + * @return string|null The passcode + */ + public function getPasscode() + { + if (array_key_exists("passcode", $this->_propDict)) { + return $this->_propDict["passcode"]; + } else { + return null; + } + } + + /** + * Sets the passcode + * Newly generated passcode for the device + * + * @param string $val The value of the passcode + * + * @return ResetPasscodeActionResult + */ + public function setPasscode($val) + { + $this->_propDict["passcode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAccess.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAccess.php new file mode 100644 index 0000000..d3747ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAccess.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The unique identifier of an app role or delegated permission exposed by the resource application. For delegated permissions, this should match the id property of one of the delegated permissions in the oauth2PermissionScopes collection of the resource application's service principal. For app roles (application permissions), this should match the id property of an app role in the appRoles collection of the resource application's service principal. + * + * @param string $val The value of the id + * + * @return ResourceAccess + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the type + * Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). + * + * @param string $val The value of the type + * + * @return ResourceAccess + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAction.php new file mode 100644 index 0000000..54732fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["allowedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the allowedResourceActions + * Allowed Actions + * + * @param string $val The value of the allowedResourceActions + * + * @return ResourceAction + */ + public function setAllowedResourceActions($val) + { + $this->_propDict["allowedResourceActions"] = $val; + return $this; + } + /** + * Gets the notAllowedResourceActions + * Not Allowed Actions. + * + * @return string|null The notAllowedResourceActions + */ + public function getNotAllowedResourceActions() + { + if (array_key_exists("notAllowedResourceActions", $this->_propDict)) { + return $this->_propDict["notAllowedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the notAllowedResourceActions + * Not Allowed Actions. + * + * @param string $val The value of the notAllowedResourceActions + * + * @return ResourceAction + */ + public function setNotAllowedResourceActions($val) + { + $this->_propDict["notAllowedResourceActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceData.php new file mode 100644 index 0000000..5bb9b01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceData.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible. + * + * @param string $val The actionName + * + * @return ResourceOperation + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal. + * + * @param string $val The description + * + * @return ResourceOperation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the enabledForScopeValidation + * Determines whether the Permission is validated for Scopes defined per Role Assignment. This property is read-only. + * + * @return bool|null The enabledForScopeValidation + */ + public function getEnabledForScopeValidation() + { + if (array_key_exists("enabledForScopeValidation", $this->_propDict)) { + return $this->_propDict["enabledForScopeValidation"]; + } else { + return null; + } + } + + /** + * Sets the enabledForScopeValidation + * Determines whether the Permission is validated for Scopes defined per Role Assignment. This property is read-only. + * + * @param bool $val The enabledForScopeValidation + * + * @return ResourceOperation + */ + public function setEnabledForScopeValidation($val) + { + $this->_propDict["enabledForScopeValidation"] = boolval($val); + return $this; + } + + /** + * Gets the resource + * Resource category to which this Operation belongs. This property is read-only. + * + * @return string|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * Resource category to which this Operation belongs. This property is read-only. + * + * @param string $val The resource + * + * @return ResourceOperation + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceName + * Name of the Resource this operation is performed on. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * Name of the Resource this operation is performed on. + * + * @param string $val The resourceName + * + * @return ResourceOperation + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourcePermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourcePermission.php new file mode 100644 index 0000000..439da55 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourcePermission.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return ResourcePermission + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return ResourcePermission + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceReference.php new file mode 100644 index 0000000..7be0c56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceReference.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The item's unique identifier. + * + * @param string $val The value of the id + * + * @return ResourceReference + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the type + * A string value that can be used to classify the item, such as 'microsoft.graph.driveItem' + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * A string value that can be used to classify the item, such as 'microsoft.graph.driveItem' + * + * @param string $val The value of the type + * + * @return ResourceReference + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the webUrl + * A URL leading to the referenced item. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A URL leading to the referenced item. + * + * @param string $val The value of the webUrl + * + * @return ResourceReference + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermission.php new file mode 100644 index 0000000..ffb1238 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermission.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Describes the level of access that the resource-specific permission represents. + * + * @param string $val The value of the description + * + * @return ResourceSpecificPermission + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the resource-specific permission. + * + * @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 + * The display name for the resource-specific permission. + * + * @param string $val The value of the displayName + * + * @return ResourceSpecificPermission + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * The unique identifier for the resource-specific application permission. + * + * @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 + * The unique identifier for the resource-specific application permission. + * + * @param string $val The value of the id + * + * @return ResourceSpecificPermission + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEnabled + * Indicates whether the permission is enabled. + * + * @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 + * Indicates whether the permission is enabled. + * + * @param bool $val The value of the isEnabled + * + * @return ResourceSpecificPermission + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the value + * The value of the permission. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value of the permission. + * + * @param string $val The value of the value + * + * @return ResourceSpecificPermission + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermissionGrant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermissionGrant.php new file mode 100644 index 0000000..fa72de5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermissionGrant.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["clientAppId"]; + } else { + return null; + } + } + + /** + * Sets the clientAppId + * ID of the service principal of the Azure AD app that has been granted access. Read-only. + * + * @param string $val The clientAppId + * + * @return ResourceSpecificPermissionGrant + */ + public function setClientAppId($val) + { + $this->_propDict["clientAppId"] = $val; + return $this; + } + + /** + * Gets the clientId + * ID of the Azure AD app that has been granted access. Read-only. + * + * @return string|null The clientId + */ + public function getClientId() + { + if (array_key_exists("clientId", $this->_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * ID of the Azure AD app that has been granted access. Read-only. + * + * @param string $val The clientId + * + * @return ResourceSpecificPermissionGrant + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the permission + * The name of the resource-specific permission. Read-only. + * + * @return string|null The permission + */ + public function getPermission() + { + if (array_key_exists("permission", $this->_propDict)) { + return $this->_propDict["permission"]; + } else { + return null; + } + } + + /** + * Sets the permission + * The name of the resource-specific permission. Read-only. + * + * @param string $val The permission + * + * @return ResourceSpecificPermissionGrant + */ + public function setPermission($val) + { + $this->_propDict["permission"] = $val; + return $this; + } + + /** + * Gets the permissionType + * The type of permission. Possible values are: Application, Delegated. Read-only. + * + * @return string|null The permissionType + */ + public function getPermissionType() + { + if (array_key_exists("permissionType", $this->_propDict)) { + return $this->_propDict["permissionType"]; + } else { + return null; + } + } + + /** + * Sets the permissionType + * The type of permission. Possible values are: Application, Delegated. Read-only. + * + * @param string $val The permissionType + * + * @return ResourceSpecificPermissionGrant + */ + public function setPermissionType($val) + { + $this->_propDict["permissionType"] = $val; + return $this; + } + + /** + * Gets the resourceAppId + * ID of the Azure AD app that is hosting the resource. Read-only. + * + * @return string|null The resourceAppId + */ + public function getResourceAppId() + { + if (array_key_exists("resourceAppId", $this->_propDict)) { + return $this->_propDict["resourceAppId"]; + } else { + return null; + } + } + + /** + * Sets the resourceAppId + * ID of the Azure AD app that is hosting the resource. Read-only. + * + * @param string $val The resourceAppId + * + * @return ResourceSpecificPermissionGrant + */ + public function setResourceAppId($val) + { + $this->_propDict["resourceAppId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php new file mode 100644 index 0000000..d5c592d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php @@ -0,0 +1,250 @@ +_propDict)) { + return $this->_propDict["containerDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the containerDisplayName + * A string describing where the item is stored. For example, the name of a SharePoint site or the user name identifying the owner of the OneDrive storing the item. + * + * @param string $val The value of the containerDisplayName + * + * @return ResourceVisualization + */ + public function setContainerDisplayName($val) + { + $this->_propDict["containerDisplayName"] = $val; + return $this; + } + /** + * Gets the containerType + * Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness. + * + * @return string|null The containerType + */ + public function getContainerType() + { + if (array_key_exists("containerType", $this->_propDict)) { + return $this->_propDict["containerType"]; + } else { + return null; + } + } + + /** + * Sets the containerType + * Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness. + * + * @param string $val The value of the containerType + * + * @return ResourceVisualization + */ + public function setContainerType($val) + { + $this->_propDict["containerType"] = $val; + return $this; + } + /** + * Gets the containerWebUrl + * A path leading to the folder in which the item is stored. + * + * @return string|null The containerWebUrl + */ + public function getContainerWebUrl() + { + if (array_key_exists("containerWebUrl", $this->_propDict)) { + return $this->_propDict["containerWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the containerWebUrl + * A path leading to the folder in which the item is stored. + * + * @param string $val The value of the containerWebUrl + * + * @return ResourceVisualization + */ + public function setContainerWebUrl($val) + { + $this->_propDict["containerWebUrl"] = $val; + return $this; + } + /** + * Gets the mediaType + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * + * @param string $val The value of the mediaType + * + * @return ResourceVisualization + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + /** + * Gets the previewImageUrl + * A URL leading to the preview image for the item. + * + * @return string|null The previewImageUrl + */ + public function getPreviewImageUrl() + { + if (array_key_exists("previewImageUrl", $this->_propDict)) { + return $this->_propDict["previewImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the previewImageUrl + * A URL leading to the preview image for the item. + * + * @param string $val The value of the previewImageUrl + * + * @return ResourceVisualization + */ + public function setPreviewImageUrl($val) + { + $this->_propDict["previewImageUrl"] = $val; + return $this; + } + /** + * Gets the previewText + * A preview text for the item. + * + * @return string|null The previewText + */ + public function getPreviewText() + { + if (array_key_exists("previewText", $this->_propDict)) { + return $this->_propDict["previewText"]; + } else { + return null; + } + } + + /** + * Sets the previewText + * A preview text for the item. + * + * @param string $val The value of the previewText + * + * @return ResourceVisualization + */ + public function setPreviewText($val) + { + $this->_propDict["previewText"] = $val; + return $this; + } + /** + * Gets the title + * The item's title text. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The item's title text. + * + * @param string $val The value of the title + * + * @return ResourceVisualization + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + /** + * Gets the type + * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * + * @param string $val The value of the type + * + * @return ResourceVisualization + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseStatus.php new file mode 100644 index 0000000..35e984c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseStatus.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["response"], "\Beta\Microsoft\Graph\Model\ResponseType") || is_null($this->_propDict["response"])) { + return $this->_propDict["response"]; + } else { + $this->_propDict["response"] = new ResponseType($this->_propDict["response"]); + return $this->_propDict["response"]; + } + } + return null; + } + + /** + * Sets the response + * The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded.To differentiate between none and notResponded: none – from organizer's perspective. This value is used when the status of an attendee/participant is reported to the organizer of a meeting. notResponded – from attendde's perspective. Indicates the attendee has not responded to the meeting request. Clients can treat notResponded == none. As an example, if attendee Alex hasn't responded to a meeting request, getting Alex' response status for that event in Alex' calendar returns notResponded. Getting Alex' response from the calendar of any other attendee or the organizer's returns none. Getting the organizer's response for the event in anybody's calendar also returns none. + * + * @param ResponseType $val The value to assign to the response + * + * @return ResponseStatus The ResponseStatus + */ + public function setResponse($val) + { + $this->_propDict["response"] = $val; + return $this; + } + + /** + * Gets the time + * The date and time that the response was returned. It uses 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 time + */ + public function getTime() + { + if (array_key_exists("time", $this->_propDict)) { + if (is_a($this->_propDict["time"], "\DateTime") || is_null($this->_propDict["time"])) { + return $this->_propDict["time"]; + } else { + $this->_propDict["time"] = new \DateTime($this->_propDict["time"]); + return $this->_propDict["time"]; + } + } + return null; + } + + /** + * Sets the time + * The date and time that the response was returned. It uses 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 time + * + * @return ResponseStatus The ResponseStatus + */ + public function setTime($val) + { + $this->_propDict["time"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseType.php new file mode 100644 index 0000000..88db387 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return ResponsiblePolicy + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ResponsiblePolicy + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponsibleSensitiveType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponsibleSensitiveType.php new file mode 100644 index 0000000..bd71d7a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponsibleSensitiveType.php @@ -0,0 +1,182 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return ResponsibleSensitiveType + */ + public function setDescription($val) + { + $this->_propDict["description"] = $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 ResponsibleSensitiveType + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return ResponsibleSensitiveType + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the publisherName + * + * @return string|null The publisherName + */ + public function getPublisherName() + { + if (array_key_exists("publisherName", $this->_propDict)) { + return $this->_propDict["publisherName"]; + } else { + return null; + } + } + + /** + * Sets the publisherName + * + * @param string $val The value of the publisherName + * + * @return ResponsibleSensitiveType + */ + public function setPublisherName($val) + { + $this->_propDict["publisherName"] = $val; + return $this; + } + /** + * Gets the rulePackageId + * + * @return string|null The rulePackageId + */ + public function getRulePackageId() + { + if (array_key_exists("rulePackageId", $this->_propDict)) { + return $this->_propDict["rulePackageId"]; + } else { + return null; + } + } + + /** + * Sets the rulePackageId + * + * @param string $val The value of the rulePackageId + * + * @return ResponsibleSensitiveType + */ + public function setRulePackageId($val) + { + $this->_propDict["rulePackageId"] = $val; + return $this; + } + /** + * Gets the rulePackageType + * + * @return string|null The rulePackageType + */ + public function getRulePackageType() + { + if (array_key_exists("rulePackageType", $this->_propDict)) { + return $this->_propDict["rulePackageType"]; + } else { + return null; + } + } + + /** + * Sets the rulePackageType + * + * @param string $val The value of the rulePackageType + * + * @return ResponsibleSensitiveType + */ + public function setRulePackageType($val) + { + $this->_propDict["rulePackageType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestoreAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestoreAction.php new file mode 100644 index 0000000..eb8eea7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestoreAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["deviceConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationId + * Device configuration profile unique identifier, must be Guid + * + * @param string $val The deviceConfigurationId + * + * @return RestrictedAppsViolation + */ + public function setDeviceConfigurationId($val) + { + $this->_propDict["deviceConfigurationId"] = $val; + return $this; + } + + /** + * Gets the deviceConfigurationName + * Device configuration profile name + * + * @return string|null The deviceConfigurationName + */ + public function getDeviceConfigurationName() + { + if (array_key_exists("deviceConfigurationName", $this->_propDict)) { + return $this->_propDict["deviceConfigurationName"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationName + * Device configuration profile name + * + * @param string $val The deviceConfigurationName + * + * @return RestrictedAppsViolation + */ + public function setDeviceConfigurationName($val) + { + $this->_propDict["deviceConfigurationName"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name + * + * @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 + * Device name + * + * @param string $val The deviceName + * + * @return RestrictedAppsViolation + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * Managed device unique identifier, must be Guid + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Managed device unique identifier, must be Guid + * + * @param string $val The managedDeviceId + * + * @return RestrictedAppsViolation + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. + * + * @param PolicyPlatformType $val The platformType + * + * @return RestrictedAppsViolation + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + + /** + * Gets the restrictedApps + * List of violated restricted apps + * + * @return array|null The restrictedApps + */ + public function getRestrictedApps() + { + if (array_key_exists("restrictedApps", $this->_propDict)) { + return $this->_propDict["restrictedApps"]; + } else { + return null; + } + } + + /** + * Sets the restrictedApps + * List of violated restricted apps + * + * @param ManagedDeviceReportedApp[] $val The restrictedApps + * + * @return RestrictedAppsViolation + */ + public function setRestrictedApps($val) + { + $this->_propDict["restrictedApps"] = $val; + return $this; + } + + /** + * Gets the restrictedAppsState + * Restricted apps state. Possible values are: prohibitedApps, notApprovedApps. + * + * @return RestrictedAppsState|null The restrictedAppsState + */ + public function getRestrictedAppsState() + { + if (array_key_exists("restrictedAppsState", $this->_propDict)) { + if (is_a($this->_propDict["restrictedAppsState"], "\Beta\Microsoft\Graph\Model\RestrictedAppsState") || is_null($this->_propDict["restrictedAppsState"])) { + return $this->_propDict["restrictedAppsState"]; + } else { + $this->_propDict["restrictedAppsState"] = new RestrictedAppsState($this->_propDict["restrictedAppsState"]); + return $this->_propDict["restrictedAppsState"]; + } + } + return null; + } + + /** + * Sets the restrictedAppsState + * Restricted apps state. Possible values are: prohibitedApps, notApprovedApps. + * + * @param RestrictedAppsState $val The restrictedAppsState + * + * @return RestrictedAppsViolation + */ + public function setRestrictedAppsState($val) + { + $this->_propDict["restrictedAppsState"] = $val; + return $this; + } + + /** + * Gets the userId + * User unique identifier, must be Guid + * + * @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 + * User unique identifier, must be Guid + * + * @param string $val The userId + * + * @return RestrictedAppsViolation + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * User name + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * User name + * + * @param string $val The userName + * + * @return RestrictedAppsViolation + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictedSignIn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictedSignIn.php new file mode 100644 index 0000000..7a55fcc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictedSignIn.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["targetTenantId"]; + } else { + return null; + } + } + + /** + * Sets the targetTenantId + * + * @param string $val The targetTenantId + * + * @return RestrictedSignIn + */ + public function setTargetTenantId($val) + { + $this->_propDict["targetTenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictionAction.php new file mode 100644 index 0000000..8aa6c42 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictionAction.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The result code. + * + * @param int $val The value of the code + * + * @return ResultInfo + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The message. + * + * @param string $val The value of the message + * + * @return ResultInfo + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the subcode + * The result sub-code. + * + * @return int|null The subcode + */ + public function getSubcode() + { + if (array_key_exists("subcode", $this->_propDict)) { + return $this->_propDict["subcode"]; + } else { + return null; + } + } + + /** + * Sets the subcode + * The result sub-code. + * + * @param int $val The value of the subcode + * + * @return ResultInfo + */ + public function setSubcode($val) + { + $this->_propDict["subcode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultTemplate.php new file mode 100644 index 0000000..cad2b6c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultTemplate.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["body"]; + } else { + return null; + } + } + + /** + * Sets the body + * JSON schema of the result template. + * + * @param string $val The value of the body + * + * @return ResultTemplate + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the result template. + * + * @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 + * Name of the result template. + * + * @param string $val The value of the displayName + * + * @return ResultTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultTemplateDictionary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultTemplateDictionary.php new file mode 100644 index 0000000..7f19522 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultTemplateDictionary.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["enableResultTemplate"]; + } else { + return null; + } + } + + /** + * Sets the enableResultTemplate + * Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. This property is optional. + * + * @param bool $val The value of the enableResultTemplate + * + * @return ResultTemplateOption + */ + public function setEnableResultTemplate($val) + { + $this->_propDict["enableResultTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultantAppState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultantAppState.php new file mode 100644 index 0000000..e0f6182 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultantAppState.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["complianceState"], "\Beta\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["complianceState"])) { + return $this->_propDict["complianceState"]; + } else { + $this->_propDict["complianceState"] = new ComplianceStatus($this->_propDict["complianceState"]); + return $this->_propDict["complianceState"]; + } + } + return null; + } + + /** + * Sets the complianceState + * Managed Device ComplianceStatus. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The value to assign to the complianceState + * + * @return RetireScheduledManagedDevice The RetireScheduledManagedDevice + */ + public function setComplianceState($val) + { + $this->_propDict["complianceState"] = $val; + return $this; + } + /** + * Gets the deviceCompliancePolicyId + * Device Compliance PolicyId + * + * @return string|null The deviceCompliancePolicyId + */ + public function getDeviceCompliancePolicyId() + { + if (array_key_exists("deviceCompliancePolicyId", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicyId"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicyId + * Device Compliance PolicyId + * + * @param string $val The value of the deviceCompliancePolicyId + * + * @return RetireScheduledManagedDevice + */ + public function setDeviceCompliancePolicyId($val) + { + $this->_propDict["deviceCompliancePolicyId"] = $val; + return $this; + } + /** + * Gets the deviceCompliancePolicyName + * Device Compliance Policy Name + * + * @return string|null The deviceCompliancePolicyName + */ + public function getDeviceCompliancePolicyName() + { + if (array_key_exists("deviceCompliancePolicyName", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicyName"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicyName + * Device Compliance Policy Name + * + * @param string $val The value of the deviceCompliancePolicyName + * + * @return RetireScheduledManagedDevice + */ + public function setDeviceCompliancePolicyName($val) + { + $this->_propDict["deviceCompliancePolicyName"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Managed Device Device Type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, cloudPC, blackberry, palm, unknown. + * + * @return DeviceType|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\DeviceType") || is_null($this->_propDict["deviceType"])) { + return $this->_propDict["deviceType"]; + } else { + $this->_propDict["deviceType"] = new DeviceType($this->_propDict["deviceType"]); + return $this->_propDict["deviceType"]; + } + } + return null; + } + + /** + * Sets the deviceType + * Managed Device Device Type. Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, androidEnterprise, windows10x, androidnGMS, cloudPC, blackberry, palm, unknown. + * + * @param DeviceType $val The value to assign to the deviceType + * + * @return RetireScheduledManagedDevice The RetireScheduledManagedDevice + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + /** + * Gets the id + * Key of the entity. + * + * @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 + * Key of the entity. + * + * @param string $val The value of the id + * + * @return RetireScheduledManagedDevice + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the managedDeviceId + * Managed DeviceId + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Managed DeviceId + * + * @param string $val The value of the managedDeviceId + * + * @return RetireScheduledManagedDevice + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + /** + * Gets the managedDeviceName + * Managed Device Name + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * Managed Device Name + * + * @param string $val The value of the managedDeviceName + * + * @return RetireScheduledManagedDevice + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the managementAgent + * Managed Device ManagementAgentType. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, windowsManagementCloudApi. + * + * @return ManagementAgentType|null The managementAgent + */ + public function getManagementAgent() + { + if (array_key_exists("managementAgent", $this->_propDict)) { + if (is_a($this->_propDict["managementAgent"], "\Beta\Microsoft\Graph\Model\ManagementAgentType") || is_null($this->_propDict["managementAgent"])) { + return $this->_propDict["managementAgent"]; + } else { + $this->_propDict["managementAgent"] = new ManagementAgentType($this->_propDict["managementAgent"]); + return $this->_propDict["managementAgent"]; + } + } + return null; + } + + /** + * Sets the managementAgent + * Managed Device ManagementAgentType. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, windowsManagementCloudApi. + * + * @param ManagementAgentType $val The value to assign to the managementAgent + * + * @return RetireScheduledManagedDevice The RetireScheduledManagedDevice + */ + public function setManagementAgent($val) + { + $this->_propDict["managementAgent"] = $val; + return $this; + } + + /** + * Gets the ownerType + * Managed Device ManagedDeviceOwnerType. Possible values are: unknown, company, personal. + * + * @return ManagedDeviceOwnerType|null The ownerType + */ + public function getOwnerType() + { + if (array_key_exists("ownerType", $this->_propDict)) { + if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\ManagedDeviceOwnerType") || is_null($this->_propDict["ownerType"])) { + return $this->_propDict["ownerType"]; + } else { + $this->_propDict["ownerType"] = new ManagedDeviceOwnerType($this->_propDict["ownerType"]); + return $this->_propDict["ownerType"]; + } + } + return null; + } + + /** + * Sets the ownerType + * Managed Device ManagedDeviceOwnerType. Possible values are: unknown, company, personal. + * + * @param ManagedDeviceOwnerType $val The value to assign to the ownerType + * + * @return RetireScheduledManagedDevice The RetireScheduledManagedDevice + */ + public function setOwnerType($val) + { + $this->_propDict["ownerType"] = $val; + return $this; + } + + /** + * Gets the retireAfterDateTime + * Managed Device Retire After DateTime + * + * @return \DateTime|null The retireAfterDateTime + */ + public function getRetireAfterDateTime() + { + if (array_key_exists("retireAfterDateTime", $this->_propDict)) { + if (is_a($this->_propDict["retireAfterDateTime"], "\DateTime") || is_null($this->_propDict["retireAfterDateTime"])) { + return $this->_propDict["retireAfterDateTime"]; + } else { + $this->_propDict["retireAfterDateTime"] = new \DateTime($this->_propDict["retireAfterDateTime"]); + return $this->_propDict["retireAfterDateTime"]; + } + } + return null; + } + + /** + * Sets the retireAfterDateTime + * Managed Device Retire After DateTime + * + * @param \DateTime $val The value to assign to the retireAfterDateTime + * + * @return RetireScheduledManagedDevice The RetireScheduledManagedDevice + */ + public function setRetireAfterDateTime($val) + { + $this->_propDict["retireAfterDateTime"] = $val; + return $this; + } + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The value of the roleScopeTagIds + * + * @return RetireScheduledManagedDevice + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RevokeAppleVppLicensesActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RevokeAppleVppLicensesActionResult.php new file mode 100644 index 0000000..c0e6ded --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RevokeAppleVppLicensesActionResult.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["failedLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the failedLicensesCount + * Total number of Apple Vpp licenses that failed to revoke + * + * @param int $val The value of the failedLicensesCount + * + * @return RevokeAppleVppLicensesActionResult + */ + public function setFailedLicensesCount($val) + { + $this->_propDict["failedLicensesCount"] = $val; + return $this; + } + /** + * Gets the totalLicensesCount + * Total number of Apple Vpp licenses associated + * + * @return int|null The totalLicensesCount + */ + public function getTotalLicensesCount() + { + if (array_key_exists("totalLicensesCount", $this->_propDict)) { + return $this->_propDict["totalLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicensesCount + * Total number of Apple Vpp licenses associated + * + * @param int $val The value of the totalLicensesCount + * + * @return RevokeAppleVppLicensesActionResult + */ + public function setTotalLicensesCount($val) + { + $this->_propDict["totalLicensesCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RgbColor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RgbColor.php new file mode 100644 index 0000000..a80be31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RgbColor.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["b"], "\Beta\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["b"])) { + return $this->_propDict["b"]; + } else { + $this->_propDict["b"] = new Byte($this->_propDict["b"]); + return $this->_propDict["b"]; + } + } + return null; + } + + /** + * Sets the b + * Blue value + * + * @param Byte $val The value to assign to the b + * + * @return RgbColor The RgbColor + */ + public function setB($val) + { + $this->_propDict["b"] = $val; + return $this; + } + + /** + * Gets the g + * Green value + * + * @return Byte|null The g + */ + public function getG() + { + if (array_key_exists("g", $this->_propDict)) { + if (is_a($this->_propDict["g"], "\Beta\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["g"])) { + return $this->_propDict["g"]; + } else { + $this->_propDict["g"] = new Byte($this->_propDict["g"]); + return $this->_propDict["g"]; + } + } + return null; + } + + /** + * Sets the g + * Green value + * + * @param Byte $val The value to assign to the g + * + * @return RgbColor The RgbColor + */ + public function setG($val) + { + $this->_propDict["g"] = $val; + return $this; + } + + /** + * Gets the r + * Red value + * + * @return Byte|null The r + */ + public function getR() + { + if (array_key_exists("r", $this->_propDict)) { + if (is_a($this->_propDict["r"], "\Beta\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["r"])) { + return $this->_propDict["r"]; + } else { + $this->_propDict["r"] = new Byte($this->_propDict["r"]); + return $this->_propDict["r"]; + } + } + return null; + } + + /** + * Sets the r + * Red value + * + * @param Byte $val The value to assign to the r + * + * @return RgbColor The RgbColor + */ + public function setR($val) + { + $this->_propDict["r"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RichLongRunningOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RichLongRunningOperation.php new file mode 100644 index 0000000..1f3abdc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RichLongRunningOperation.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Error due to which the operation failed. + * + * @param PublicError $val The error + * + * @return RichLongRunningOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the percentageComplete + * A value between 0 and 100 that indicates the progress of the operation. + * + * @return int|null The percentageComplete + */ + public function getPercentageComplete() + { + if (array_key_exists("percentageComplete", $this->_propDict)) { + return $this->_propDict["percentageComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentageComplete + * A value between 0 and 100 that indicates the progress of the operation. + * + * @param int $val The percentageComplete + * + * @return RichLongRunningOperation + */ + public function setPercentageComplete($val) + { + $this->_propDict["percentageComplete"] = intval($val); + return $this; + } + + /** + * Gets the resourceId + * A unique identifier for the result. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * A unique identifier for the result. + * + * @param string $val The resourceId + * + * @return RichLongRunningOperation + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the type + * Type of the operation. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the operation. + * + * @param string $val The type + * + * @return RichLongRunningOperation + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetail.php new file mode 100644 index 0000000..54551fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetail.php @@ -0,0 +1,46 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\ActivityType") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new ActivityType($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * Indicates the activity type the detected risk is linked to. The possible values are signin, user, unknownFutureValue. + * + * @param ActivityType $val The activity + * + * @return RiskDetection + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * Date and time that the risky activity occurred. The DateTimeOffset 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 activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Date and time that the risky activity occurred. The DateTimeOffset 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 activityDateTime + * + * @return RiskDetection + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the additionalInfo + * Additional information associated with the risk detection in JSON format. + * + * @return string|null The additionalInfo + */ + public function getAdditionalInfo() + { + if (array_key_exists("additionalInfo", $this->_propDict)) { + return $this->_propDict["additionalInfo"]; + } else { + return null; + } + } + + /** + * Sets the additionalInfo + * Additional information associated with the risk detection in JSON format. + * + * @param string $val The additionalInfo + * + * @return RiskDetection + */ + public function setAdditionalInfo($val) + { + $this->_propDict["additionalInfo"] = $val; + return $this; + } + + /** + * Gets the correlationId + * Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @param string $val The correlationId + * + * @return RiskDetection + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the detectedDateTime + * Date and time that the risk was detected. The DateTimeOffset 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 detectedDateTime + */ + public function getDetectedDateTime() + { + if (array_key_exists("detectedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["detectedDateTime"], "\DateTime") || is_null($this->_propDict["detectedDateTime"])) { + return $this->_propDict["detectedDateTime"]; + } else { + $this->_propDict["detectedDateTime"] = new \DateTime($this->_propDict["detectedDateTime"]); + return $this->_propDict["detectedDateTime"]; + } + } + return null; + } + + /** + * Sets the detectedDateTime + * Date and time that the risk was detected. The DateTimeOffset 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 detectedDateTime + * + * @return RiskDetection + */ + public function setDetectedDateTime($val) + { + $this->_propDict["detectedDateTime"] = $val; + return $this; + } + + /** + * Gets the detectionTimingType + * Timing of the detected risk (real-time/offline). The possible values are notDefined, realtime, nearRealtime, offline, unknownFutureValue. + * + * @return RiskDetectionTimingType|null The detectionTimingType + */ + public function getDetectionTimingType() + { + if (array_key_exists("detectionTimingType", $this->_propDict)) { + if (is_a($this->_propDict["detectionTimingType"], "\Beta\Microsoft\Graph\Model\RiskDetectionTimingType") || is_null($this->_propDict["detectionTimingType"])) { + return $this->_propDict["detectionTimingType"]; + } else { + $this->_propDict["detectionTimingType"] = new RiskDetectionTimingType($this->_propDict["detectionTimingType"]); + return $this->_propDict["detectionTimingType"]; + } + } + return null; + } + + /** + * Sets the detectionTimingType + * Timing of the detected risk (real-time/offline). The possible values are notDefined, realtime, nearRealtime, offline, unknownFutureValue. + * + * @param RiskDetectionTimingType $val The detectionTimingType + * + * @return RiskDetection + */ + public function setDetectionTimingType($val) + { + $this->_propDict["detectionTimingType"] = $val; + return $this; + } + + /** + * Gets the ipAddress + * Provides the IP address of the client from where the risk occurred. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * Provides the IP address of the client from where the risk occurred. + * + * @param string $val The ipAddress + * + * @return RiskDetection + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Date and time that the risk detection was last updated. + * + * @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 + * Date and time that the risk detection was last updated. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return RiskDetection + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the location + * Location of the sign-in. + * + * @return SignInLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\SignInLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new SignInLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Location of the sign-in. + * + * @param SignInLocation $val The location + * + * @return RiskDetection + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the requestId + * Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @return string|null The requestId + */ + public function getRequestId() + { + if (array_key_exists("requestId", $this->_propDict)) { + return $this->_propDict["requestId"]; + } else { + return null; + } + } + + /** + * Sets the requestId + * Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @param string $val The requestId + * + * @return RiskDetection + */ + public function setRequestId($val) + { + $this->_propDict["requestId"] = $val; + return $this; + } + + /** + * Gets the riskDetail + * Details of the detected risk. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * Details of the detected risk. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @param RiskDetail $val The riskDetail + * + * @return RiskDetection + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskEventType + * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. For more information about each value, see riskEventType values. + * + * @return string|null The riskEventType + */ + public function getRiskEventType() + { + if (array_key_exists("riskEventType", $this->_propDict)) { + return $this->_propDict["riskEventType"]; + } else { + return null; + } + } + + /** + * Sets the riskEventType + * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. For more information about each value, see riskEventType values. + * + * @param string $val The riskEventType + * + * @return RiskDetection + */ + public function setRiskEventType($val) + { + $this->_propDict["riskEventType"] = $val; + return $this; + } + + /** + * Gets the riskLevel + * Level of the detected risk. The possible values are low, medium, high, hidden, none, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @return RiskLevel|null The riskLevel + */ + public function getRiskLevel() + { + if (array_key_exists("riskLevel", $this->_propDict)) { + if (is_a($this->_propDict["riskLevel"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevel"])) { + return $this->_propDict["riskLevel"]; + } else { + $this->_propDict["riskLevel"] = new RiskLevel($this->_propDict["riskLevel"]); + return $this->_propDict["riskLevel"]; + } + } + return null; + } + + /** + * Sets the riskLevel + * Level of the detected risk. The possible values are low, medium, high, hidden, none, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @param RiskLevel $val The riskLevel + * + * @return RiskDetection + */ + public function setRiskLevel($val) + { + $this->_propDict["riskLevel"] = $val; + return $this; + } + + /** + * Gets the riskState + * The state of a detected risky user or sign-in. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * The state of a detected risky user or sign-in. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. + * + * @param RiskState $val The riskState + * + * @return RiskDetection + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the riskType + * + * @return RiskEventType|null The riskType + */ + public function getRiskType() + { + if (array_key_exists("riskType", $this->_propDict)) { + if (is_a($this->_propDict["riskType"], "\Beta\Microsoft\Graph\Model\RiskEventType") || is_null($this->_propDict["riskType"])) { + return $this->_propDict["riskType"]; + } else { + $this->_propDict["riskType"] = new RiskEventType($this->_propDict["riskType"]); + return $this->_propDict["riskType"]; + } + } + return null; + } + + /** + * Sets the riskType + * + * @param RiskEventType $val The riskType + * + * @return RiskDetection + */ + public function setRiskType($val) + { + $this->_propDict["riskType"] = $val; + return $this; + } + + /** + * Gets the source + * Source of the risk detection. For example, activeDirectory. + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * Source of the risk detection. For example, activeDirectory. + * + * @param string $val The source + * + * @return RiskDetection + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the tokenIssuerType + * Indicates the type of token issuer for the detected sign-in risk. The possible values are AzureAD, ADFederationServices, and unknownFutureValue. + * + * @return TokenIssuerType|null The tokenIssuerType + */ + public function getTokenIssuerType() + { + if (array_key_exists("tokenIssuerType", $this->_propDict)) { + if (is_a($this->_propDict["tokenIssuerType"], "\Beta\Microsoft\Graph\Model\TokenIssuerType") || is_null($this->_propDict["tokenIssuerType"])) { + return $this->_propDict["tokenIssuerType"]; + } else { + $this->_propDict["tokenIssuerType"] = new TokenIssuerType($this->_propDict["tokenIssuerType"]); + return $this->_propDict["tokenIssuerType"]; + } + } + return null; + } + + /** + * Sets the tokenIssuerType + * Indicates the type of token issuer for the detected sign-in risk. The possible values are AzureAD, ADFederationServices, and unknownFutureValue. + * + * @param TokenIssuerType $val The tokenIssuerType + * + * @return RiskDetection + */ + public function setTokenIssuerType($val) + { + $this->_propDict["tokenIssuerType"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * Name of the user. + * + * @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 + * Name of the user. + * + * @param string $val The userDisplayName + * + * @return RiskDetection + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userId + * Unique ID of the user. The DateTimeOffset 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 string|null The userId + */ + public function getUserId() + { + if (array_key_exists("userId", $this->_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * Unique ID of the user. The DateTimeOffset 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 string $val The userId + * + * @return RiskDetection + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user. + * + * @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 + * The user principal name (UPN) of the user. + * + * @param string $val The userPrincipalName + * + * @return RiskDetection + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetectionTimingType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetectionTimingType.php new file mode 100644 index 0000000..8bc0364 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetectionTimingType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new RiskDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * Details of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + * + * @param RiskDetail $val The value to assign to the detail + * + * @return RiskServicePrincipalActivity The RiskServicePrincipalActivity + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + /** + * Gets the riskEventTypes + * + * @return string|null The riskEventTypes + */ + public function getRiskEventTypes() + { + if (array_key_exists("riskEventTypes", $this->_propDict)) { + return $this->_propDict["riskEventTypes"]; + } else { + return null; + } + } + + /** + * Sets the riskEventTypes + * + * @param string $val The value of the riskEventTypes + * + * @return RiskServicePrincipalActivity + */ + public function setRiskEventTypes($val) + { + $this->_propDict["riskEventTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskState.php new file mode 100644 index 0000000..bf921ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskState.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new RiskDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + * + * @param RiskDetail $val The value to assign to the detail + * + * @return RiskUserActivity The RiskUserActivity + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the eventTypes + * + * @return RiskEventType|null The eventTypes + */ + public function getEventTypes() + { + if (array_key_exists("eventTypes", $this->_propDict)) { + if (is_a($this->_propDict["eventTypes"], "\Beta\Microsoft\Graph\Model\RiskEventType") || is_null($this->_propDict["eventTypes"])) { + return $this->_propDict["eventTypes"]; + } else { + $this->_propDict["eventTypes"] = new RiskEventType($this->_propDict["eventTypes"]); + return $this->_propDict["eventTypes"]; + } + } + return null; + } + + /** + * Sets the eventTypes + * + * @param RiskEventType $val The value to assign to the eventTypes + * + * @return RiskUserActivity The RiskUserActivity + */ + public function setEventTypes($val) + { + $this->_propDict["eventTypes"] = $val; + return $this; + } + /** + * Gets the riskEventTypes + * The type of risk event detected. + * + * @return string|null The riskEventTypes + */ + public function getRiskEventTypes() + { + if (array_key_exists("riskEventTypes", $this->_propDict)) { + return $this->_propDict["riskEventTypes"]; + } else { + return null; + } + } + + /** + * Sets the riskEventTypes + * The type of risk event detected. + * + * @param string $val The value of the riskEventTypes + * + * @return RiskUserActivity + */ + public function setRiskEventTypes($val) + { + $this->_propDict["riskEventTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyServicePrincipal.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyServicePrincipal.php new file mode 100644 index 0000000..d5345cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyServicePrincipal.php @@ -0,0 +1,334 @@ +_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the service principal account is enabled; otherwise, false. + * + * @param bool $val The accountEnabled + * + * @return RiskyServicePrincipal + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the appId + * The globally unique identifier for the associated application (its appId property), if any. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The globally unique identifier for the associated application (its appId property), if any. + * + * @param string $val The appId + * + * @return RiskyServicePrincipal + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the service principal. + * + * @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 + * The display name for the service principal. + * + * @param string $val The displayName + * + * @return RiskyServicePrincipal + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isProcessing + * Indicates whether Azure AD is currently processing the service principal's risky state. + * + * @return bool|null The isProcessing + */ + public function getIsProcessing() + { + if (array_key_exists("isProcessing", $this->_propDict)) { + return $this->_propDict["isProcessing"]; + } else { + return null; + } + } + + /** + * Sets the isProcessing + * Indicates whether Azure AD is currently processing the service principal's risky state. + * + * @param bool $val The isProcessing + * + * @return RiskyServicePrincipal + */ + public function setIsProcessing($val) + { + $this->_propDict["isProcessing"] = boolval($val); + return $this; + } + + /** + * Gets the riskDetail + * Details of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * Details of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + * + * @param RiskDetail $val The riskDetail + * + * @return RiskyServicePrincipal + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskLastUpdatedDateTime + * The date and time that the risk state was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. Supports $filter (eq). + * + * @return \DateTime|null The riskLastUpdatedDateTime + */ + public function getRiskLastUpdatedDateTime() + { + if (array_key_exists("riskLastUpdatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["riskLastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["riskLastUpdatedDateTime"])) { + return $this->_propDict["riskLastUpdatedDateTime"]; + } else { + $this->_propDict["riskLastUpdatedDateTime"] = new \DateTime($this->_propDict["riskLastUpdatedDateTime"]); + return $this->_propDict["riskLastUpdatedDateTime"]; + } + } + return null; + } + + /** + * Sets the riskLastUpdatedDateTime + * The date and time that the risk state was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. Supports $filter (eq). + * + * @param \DateTime $val The riskLastUpdatedDateTime + * + * @return RiskyServicePrincipal + */ + public function setRiskLastUpdatedDateTime($val) + { + $this->_propDict["riskLastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the riskLevel + * Level of the detected risky workload identity. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Supports $filter (eq). + * + * @return RiskLevel|null The riskLevel + */ + public function getRiskLevel() + { + if (array_key_exists("riskLevel", $this->_propDict)) { + if (is_a($this->_propDict["riskLevel"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevel"])) { + return $this->_propDict["riskLevel"]; + } else { + $this->_propDict["riskLevel"] = new RiskLevel($this->_propDict["riskLevel"]); + return $this->_propDict["riskLevel"]; + } + } + return null; + } + + /** + * Sets the riskLevel + * Level of the detected risky workload identity. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Supports $filter (eq). + * + * @param RiskLevel $val The riskLevel + * + * @return RiskyServicePrincipal + */ + public function setRiskLevel($val) + { + $this->_propDict["riskLevel"] = $val; + return $this; + } + + /** + * Gets the riskState + * State of the service principal's risk. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * State of the service principal's risk. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @param RiskState $val The riskState + * + * @return RiskyServicePrincipal + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalType + * Identifies whether the service principal represents an Application, a ManagedIdentity, or a legacy application (socialIdp). This is set by Azure AD internally and is inherited from servicePrincipal. + * + * @return string|null The servicePrincipalType + */ + public function getServicePrincipalType() + { + if (array_key_exists("servicePrincipalType", $this->_propDict)) { + return $this->_propDict["servicePrincipalType"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalType + * Identifies whether the service principal represents an Application, a ManagedIdentity, or a legacy application (socialIdp). This is set by Azure AD internally and is inherited from servicePrincipal. + * + * @param string $val The servicePrincipalType + * + * @return RiskyServicePrincipal + */ + public function setServicePrincipalType($val) + { + $this->_propDict["servicePrincipalType"] = $val; + return $this; + } + + + /** + * Gets the history + * Represents the risk history of Azure AD service principals. + * + * @return array|null The history + */ + public function getHistory() + { + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * Represents the risk history of Azure AD service principals. + * + * @param RiskyServicePrincipalHistoryItem[] $val The history + * + * @return RiskyServicePrincipal + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyServicePrincipalHistoryItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyServicePrincipalHistoryItem.php new file mode 100644 index 0000000..511bc08 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyServicePrincipalHistoryItem.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\RiskServicePrincipalActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new RiskServicePrincipalActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * The activity related to service principal risk level change. + * + * @param RiskServicePrincipalActivity $val The activity + * + * @return RiskyServicePrincipalHistoryItem + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the initiatedBy + * The identifier of the actor of the operation. + * + * @return string|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + return $this->_propDict["initiatedBy"]; + } else { + return null; + } + } + + /** + * Sets the initiatedBy + * The identifier of the actor of the operation. + * + * @param string $val The initiatedBy + * + * @return RiskyServicePrincipalHistoryItem + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalId + * The identifier of the service principal. + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * The identifier of the service principal. + * + * @param string $val The servicePrincipalId + * + * @return RiskyServicePrincipalHistoryItem + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUser.php new file mode 100644 index 0000000..54f0491 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUser.php @@ -0,0 +1,305 @@ +_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * Indicates whether the user is deleted. Possible values are: true, false. + * + * @param bool $val The isDeleted + * + * @return RiskyUser + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the isProcessing + * Indicates whether a user's risky state is being processed by the backend. + * + * @return bool|null The isProcessing + */ + public function getIsProcessing() + { + if (array_key_exists("isProcessing", $this->_propDict)) { + return $this->_propDict["isProcessing"]; + } else { + return null; + } + } + + /** + * Sets the isProcessing + * Indicates whether a user's risky state is being processed by the backend. + * + * @param bool $val The isProcessing + * + * @return RiskyUser + */ + public function setIsProcessing($val) + { + $this->_propDict["isProcessing"] = boolval($val); + return $this; + } + + /** + * Gets the riskDetail + * The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + * + * @param RiskDetail $val The riskDetail + * + * @return RiskyUser + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskLastUpdatedDateTime + * The date and time that the risky user was last updated. The DateTimeOffset 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 riskLastUpdatedDateTime + */ + public function getRiskLastUpdatedDateTime() + { + if (array_key_exists("riskLastUpdatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["riskLastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["riskLastUpdatedDateTime"])) { + return $this->_propDict["riskLastUpdatedDateTime"]; + } else { + $this->_propDict["riskLastUpdatedDateTime"] = new \DateTime($this->_propDict["riskLastUpdatedDateTime"]); + return $this->_propDict["riskLastUpdatedDateTime"]; + } + } + return null; + } + + /** + * Sets the riskLastUpdatedDateTime + * The date and time that the risky user was last updated. The DateTimeOffset 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 riskLastUpdatedDateTime + * + * @return RiskyUser + */ + public function setRiskLastUpdatedDateTime($val) + { + $this->_propDict["riskLastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the riskLevel + * Level of the detected risky user. The possible values are low, medium, high, hidden, none, unknownFutureValue. + * + * @return RiskLevel|null The riskLevel + */ + public function getRiskLevel() + { + if (array_key_exists("riskLevel", $this->_propDict)) { + if (is_a($this->_propDict["riskLevel"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevel"])) { + return $this->_propDict["riskLevel"]; + } else { + $this->_propDict["riskLevel"] = new RiskLevel($this->_propDict["riskLevel"]); + return $this->_propDict["riskLevel"]; + } + } + return null; + } + + /** + * Sets the riskLevel + * Level of the detected risky user. The possible values are low, medium, high, hidden, none, unknownFutureValue. + * + * @param RiskLevel $val The riskLevel + * + * @return RiskyUser + */ + public function setRiskLevel($val) + { + $this->_propDict["riskLevel"] = $val; + return $this; + } + + /** + * Gets the riskState + * State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @param RiskState $val The riskState + * + * @return RiskyUser + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * Risky user display name. + * + * @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 + * Risky user display name. + * + * @param string $val The userDisplayName + * + * @return RiskyUser + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * Risky user principal name. + * + * @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 + * Risky user principal name. + * + * @param string $val The userPrincipalName + * + * @return RiskyUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the history + * The activity related to user risk level change + * + * @return array|null The history + */ + public function getHistory() + { + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * The activity related to user risk level change + * + * @param RiskyUserHistoryItem[] $val The history + * + * @return RiskyUser + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUserHistoryItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUserHistoryItem.php new file mode 100644 index 0000000..8f3e4c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUserHistoryItem.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\RiskUserActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new RiskUserActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * The activity related to user risk level change. + * + * @param RiskUserActivity $val The activity + * + * @return RiskyUserHistoryItem + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the initiatedBy + * The id of actor that does the operation. + * + * @return string|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + return $this->_propDict["initiatedBy"]; + } else { + return null; + } + } + + /** + * Sets the initiatedBy + * The id of actor that does the operation. + * + * @param string $val The initiatedBy + * + * @return RiskyUserHistoryItem + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the userId + * The id of the user. + * + * @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 + * The id of the user. + * + * @param string $val The userId + * + * @return RiskyUserHistoryItem + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignment.php new file mode 100644 index 0000000..b51400f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignment.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the Role Assignment. + * + * @param string $val The description + * + * @return RoleAssignment + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display or friendly name of the role Assignment. + * + * @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 + * The display or friendly name of the role Assignment. + * + * @param string $val The displayName + * + * @return RoleAssignment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the resourceScopes + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + * + * @return string|null The resourceScopes + */ + public function getResourceScopes() + { + if (array_key_exists("resourceScopes", $this->_propDict)) { + return $this->_propDict["resourceScopes"]; + } else { + return null; + } + } + + /** + * Sets the resourceScopes + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + * + * @param string $val The resourceScopes + * + * @return RoleAssignment + */ + public function setResourceScopes($val) + { + $this->_propDict["resourceScopes"] = $val; + return $this; + } + + /** + * Gets the scopeMembers + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + * + * @return string|null The scopeMembers + */ + public function getScopeMembers() + { + if (array_key_exists("scopeMembers", $this->_propDict)) { + return $this->_propDict["scopeMembers"]; + } else { + return null; + } + } + + /** + * Sets the scopeMembers + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + * + * @param string $val The scopeMembers + * + * @return RoleAssignment + */ + public function setScopeMembers($val) + { + $this->_propDict["scopeMembers"] = $val; + return $this; + } + + /** + * Gets the scopeType + * Specifies the type of scope for a Role Assignment. Default type 'ResourceScope' allows assignment of ResourceScopes. For 'AllDevices', 'AllLicensedUsers', and 'AllDevicesAndLicensedUsers', the ResourceScopes property should be left empty. Possible values are: resourceScope, allDevices, allLicensedUsers, allDevicesAndLicensedUsers. + * + * @return RoleAssignmentScopeType|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + if (is_a($this->_propDict["scopeType"], "\Beta\Microsoft\Graph\Model\RoleAssignmentScopeType") || is_null($this->_propDict["scopeType"])) { + return $this->_propDict["scopeType"]; + } else { + $this->_propDict["scopeType"] = new RoleAssignmentScopeType($this->_propDict["scopeType"]); + return $this->_propDict["scopeType"]; + } + } + return null; + } + + /** + * Sets the scopeType + * Specifies the type of scope for a Role Assignment. Default type 'ResourceScope' allows assignment of ResourceScopes. For 'AllDevices', 'AllLicensedUsers', and 'AllDevicesAndLicensedUsers', the ResourceScopes property should be left empty. Possible values are: resourceScope, allDevices, allLicensedUsers, allDevicesAndLicensedUsers. + * + * @param RoleAssignmentScopeType $val The scopeType + * + * @return RoleAssignment + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Role definition this assignment is part of. + * + * @return RoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\RoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new RoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Role definition this assignment is part of. + * + * @param RoleDefinition $val The roleDefinition + * + * @return RoleAssignment + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignmentScheduleFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignmentScheduleFilterByCurrentUserOptions.php new file mode 100644 index 0000000..8b6bc71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignmentScheduleFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the Role definition. + * + * @param string $val The description + * + * @return RoleDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display Name of the Role definition. + * + * @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 + * Display Name of the Role definition. + * + * @param string $val The displayName + * + * @return RoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + * + * @param bool $val The isBuiltIn + * + * @return RoleDefinition + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the isBuiltInRoleDefinition + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + * + * @return bool|null The isBuiltInRoleDefinition + */ + public function getIsBuiltInRoleDefinition() + { + if (array_key_exists("isBuiltInRoleDefinition", $this->_propDict)) { + return $this->_propDict["isBuiltInRoleDefinition"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltInRoleDefinition + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + * + * @param bool $val The isBuiltInRoleDefinition + * + * @return RoleDefinition + */ + public function setIsBuiltInRoleDefinition($val) + { + $this->_propDict["isBuiltInRoleDefinition"] = boolval($val); + return $this; + } + + + /** + * Gets the permissions + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + * + * @return array|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + * + * @param RolePermission[] $val The permissions + * + * @return RoleDefinition + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + + /** + * Gets the rolePermissions + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + * + * @return array|null The rolePermissions + */ + public function getRolePermissions() + { + if (array_key_exists("rolePermissions", $this->_propDict)) { + return $this->_propDict["rolePermissions"]; + } else { + return null; + } + } + + /** + * Sets the rolePermissions + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + * + * @param RolePermission[] $val The rolePermissions + * + * @return RoleDefinition + */ + public function setRolePermissions($val) + { + $this->_propDict["rolePermissions"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return RoleDefinition + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * List of Role assignments for this role definition. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * List of Role assignments for this role definition. + * + * @param RoleAssignment[] $val The roleAssignments + * + * @return RoleDefinition + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleEligibilityScheduleFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleEligibilityScheduleFilterByCurrentUserOptions.php new file mode 100644 index 0000000..be662b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleEligibilityScheduleFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the RoleManagement + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the directory + * Read-only. Nullable. + * + * @return RbacApplication|null The directory + */ + public function getDirectory() + { + if (array_key_exists("directory", $this->_propDict)) { + if (is_a($this->_propDict["directory"], "\Beta\Microsoft\Graph\Model\RbacApplication") || is_null($this->_propDict["directory"])) { + return $this->_propDict["directory"]; + } else { + $this->_propDict["directory"] = new RbacApplication($this->_propDict["directory"]); + return $this->_propDict["directory"]; + } + } + return null; + } + + /** + * Sets the directory + * Read-only. Nullable. + * + * @param RbacApplication $val The directory + * + * @return RoleManagement + */ + public function setDirectory($val) + { + $this->_propDict["directory"] = $val; + return $this; + } + + /** + * Gets the cloudPC + * + * @return RbacApplicationMultiple|null The cloudPC + */ + public function getCloudPC() + { + if (array_key_exists("cloudPC", $this->_propDict)) { + if (is_a($this->_propDict["cloudPC"], "\Beta\Microsoft\Graph\Model\RbacApplicationMultiple") || is_null($this->_propDict["cloudPC"])) { + return $this->_propDict["cloudPC"]; + } else { + $this->_propDict["cloudPC"] = new RbacApplicationMultiple($this->_propDict["cloudPC"]); + return $this->_propDict["cloudPC"]; + } + } + return null; + } + + /** + * Sets the cloudPC + * + * @param RbacApplicationMultiple $val The cloudPC + * + * @return RoleManagement + */ + public function setCloudPC($val) + { + $this->_propDict["cloudPC"] = $val; + return $this; + } + + /** + * Gets the entitlementManagement + * Container for roles and assignments for entitlement management resources. + * + * @return RbacApplication|null The entitlementManagement + */ + public function getEntitlementManagement() + { + if (array_key_exists("entitlementManagement", $this->_propDict)) { + if (is_a($this->_propDict["entitlementManagement"], "\Beta\Microsoft\Graph\Model\RbacApplication") || is_null($this->_propDict["entitlementManagement"])) { + return $this->_propDict["entitlementManagement"]; + } else { + $this->_propDict["entitlementManagement"] = new RbacApplication($this->_propDict["entitlementManagement"]); + return $this->_propDict["entitlementManagement"]; + } + } + return null; + } + + /** + * Sets the entitlementManagement + * Container for roles and assignments for entitlement management resources. + * + * @param RbacApplication $val The entitlementManagement + * + * @return RoleManagement + */ + public function setEntitlementManagement($val) + { + $this->_propDict["entitlementManagement"] = $val; + return $this; + } + + /** + * Gets the deviceManagement + * The RbacApplication for Device Management + * + * @return RbacApplicationMultiple|null The deviceManagement + */ + public function getDeviceManagement() + { + if (array_key_exists("deviceManagement", $this->_propDict)) { + if (is_a($this->_propDict["deviceManagement"], "\Beta\Microsoft\Graph\Model\RbacApplicationMultiple") || is_null($this->_propDict["deviceManagement"])) { + return $this->_propDict["deviceManagement"]; + } else { + $this->_propDict["deviceManagement"] = new RbacApplicationMultiple($this->_propDict["deviceManagement"]); + return $this->_propDict["deviceManagement"]; + } + } + return null; + } + + /** + * Sets the deviceManagement + * The RbacApplication for Device Management + * + * @param RbacApplicationMultiple $val The deviceManagement + * + * @return RoleManagement + */ + public function setDeviceManagement($val) + { + $this->_propDict["deviceManagement"] = $val; + 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 RoleManagement + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleMembershipGovernanceCriteria.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleMembershipGovernanceCriteria.php new file mode 100644 index 0000000..a062408 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleMembershipGovernanceCriteria.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * + * @param string $val The value of the roleId + * + * @return RoleMembershipGovernanceCriteria + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + /** + * Gets the roleTemplateId + * + * @return string|null The roleTemplateId + */ + public function getRoleTemplateId() + { + if (array_key_exists("roleTemplateId", $this->_propDict)) { + return $this->_propDict["roleTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the roleTemplateId + * + * @param string $val The value of the roleTemplateId + * + * @return RoleMembershipGovernanceCriteria + */ + public function setRoleTemplateId($val) + { + $this->_propDict["roleTemplateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RolePermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RolePermission.php new file mode 100644 index 0000000..6a59e35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RolePermission.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * Allowed Actions - Deprecated + * + * @param string $val The value of the actions + * + * @return RolePermission + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the resourceActions + * Resource Actions each containing a set of allowed and not allowed permissions. + * + * @return ResourceAction|null The resourceActions + */ + public function getResourceActions() + { + if (array_key_exists("resourceActions", $this->_propDict)) { + if (is_a($this->_propDict["resourceActions"], "\Beta\Microsoft\Graph\Model\ResourceAction") || is_null($this->_propDict["resourceActions"])) { + return $this->_propDict["resourceActions"]; + } else { + $this->_propDict["resourceActions"] = new ResourceAction($this->_propDict["resourceActions"]); + return $this->_propDict["resourceActions"]; + } + } + return null; + } + + /** + * Sets the resourceActions + * Resource Actions each containing a set of allowed and not allowed permissions. + * + * @param ResourceAction $val The value to assign to the resourceActions + * + * @return RolePermission The RolePermission + */ + public function setResourceActions($val) + { + $this->_propDict["resourceActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTag.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTag.php new file mode 100644 index 0000000..197f2ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTag.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the Role Scope Tag. + * + * @param string $val The description + * + * @return RoleScopeTag + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display or friendly name of the Role Scope Tag. + * + * @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 + * The display or friendly name of the Role Scope Tag. + * + * @param string $val The displayName + * + * @return RoleScopeTag + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Description of the Role Scope Tag. This property is read-only. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Description of the Role Scope Tag. This property is read-only. + * + * @param bool $val The isBuiltIn + * + * @return RoleScopeTag + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for this Role Scope Tag. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for this Role Scope Tag. + * + * @param RoleScopeTagAutoAssignment[] $val The assignments + * + * @return RoleScopeTag + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagAutoAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagAutoAssignment.php new file mode 100644 index 0000000..8688117 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagAutoAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The auto-assignment target for the specific Role Scope Tag. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return RoleScopeTagAutoAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagInfo.php new file mode 100644 index 0000000..52b6aa4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Scope Tag Display name. + * + * @param string $val The value of the displayName + * + * @return RoleScopeTagInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the roleScopeTagId + * Scope Tag Id. + * + * @return string|null The roleScopeTagId + */ + public function getRoleScopeTagId() + { + if (array_key_exists("roleScopeTagId", $this->_propDict)) { + return $this->_propDict["roleScopeTagId"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagId + * Scope Tag Id. + * + * @param string $val The value of the roleScopeTagId + * + * @return RoleScopeTagInfo + */ + public function setRoleScopeTagId($val) + { + $this->_propDict["roleScopeTagId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSuccessStatistics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSuccessStatistics.php new file mode 100644 index 0000000..67ba979 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSuccessStatistics.php @@ -0,0 +1,260 @@ +_propDict)) { + return $this->_propDict["permanentFail"]; + } else { + return null; + } + } + + /** + * Sets the permanentFail + * + * @param int $val The value of the permanentFail + * + * @return RoleSuccessStatistics + */ + public function setPermanentFail($val) + { + $this->_propDict["permanentFail"] = $val; + return $this; + } + /** + * Gets the permanentSuccess + * + * @return int|null The permanentSuccess + */ + public function getPermanentSuccess() + { + if (array_key_exists("permanentSuccess", $this->_propDict)) { + return $this->_propDict["permanentSuccess"]; + } else { + return null; + } + } + + /** + * Sets the permanentSuccess + * + * @param int $val The value of the permanentSuccess + * + * @return RoleSuccessStatistics + */ + public function setPermanentSuccess($val) + { + $this->_propDict["permanentSuccess"] = $val; + return $this; + } + /** + * Gets the removeFail + * + * @return int|null The removeFail + */ + public function getRemoveFail() + { + if (array_key_exists("removeFail", $this->_propDict)) { + return $this->_propDict["removeFail"]; + } else { + return null; + } + } + + /** + * Sets the removeFail + * + * @param int $val The value of the removeFail + * + * @return RoleSuccessStatistics + */ + public function setRemoveFail($val) + { + $this->_propDict["removeFail"] = $val; + return $this; + } + /** + * Gets the removeSuccess + * + * @return int|null The removeSuccess + */ + public function getRemoveSuccess() + { + if (array_key_exists("removeSuccess", $this->_propDict)) { + return $this->_propDict["removeSuccess"]; + } else { + return null; + } + } + + /** + * Sets the removeSuccess + * + * @param int $val The value of the removeSuccess + * + * @return RoleSuccessStatistics + */ + public function setRemoveSuccess($val) + { + $this->_propDict["removeSuccess"] = $val; + return $this; + } + /** + * Gets the roleId + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * + * @param string $val The value of the roleId + * + * @return RoleSuccessStatistics + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + /** + * Gets the roleName + * + * @return string|null The roleName + */ + public function getRoleName() + { + if (array_key_exists("roleName", $this->_propDict)) { + return $this->_propDict["roleName"]; + } else { + return null; + } + } + + /** + * Sets the roleName + * + * @param string $val The value of the roleName + * + * @return RoleSuccessStatistics + */ + public function setRoleName($val) + { + $this->_propDict["roleName"] = $val; + return $this; + } + /** + * Gets the temporaryFail + * + * @return int|null The temporaryFail + */ + public function getTemporaryFail() + { + if (array_key_exists("temporaryFail", $this->_propDict)) { + return $this->_propDict["temporaryFail"]; + } else { + return null; + } + } + + /** + * Sets the temporaryFail + * + * @param int $val The value of the temporaryFail + * + * @return RoleSuccessStatistics + */ + public function setTemporaryFail($val) + { + $this->_propDict["temporaryFail"] = $val; + return $this; + } + /** + * Gets the temporarySuccess + * + * @return int|null The temporarySuccess + */ + public function getTemporarySuccess() + { + if (array_key_exists("temporarySuccess", $this->_propDict)) { + return $this->_propDict["temporarySuccess"]; + } else { + return null; + } + } + + /** + * Sets the temporarySuccess + * + * @param int $val The value of the temporarySuccess + * + * @return RoleSuccessStatistics + */ + public function setTemporarySuccess($val) + { + $this->_propDict["temporarySuccess"] = $val; + return $this; + } + /** + * Gets the unknownFail + * + * @return int|null The unknownFail + */ + public function getUnknownFail() + { + if (array_key_exists("unknownFail", $this->_propDict)) { + return $this->_propDict["unknownFail"]; + } else { + return null; + } + } + + /** + * Sets the unknownFail + * + * @param int $val The value of the unknownFail + * + * @return RoleSuccessStatistics + */ + public function setUnknownFail($val) + { + $this->_propDict["unknownFail"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSummaryStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSummaryStatus.php new file mode 100644 index 0000000..de3cbe6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSummaryStatus.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["audioDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the audioDeviceName + * Specifies the name of the audio device in the room. + * + * @param string $val The audioDeviceName + * + * @return Room + */ + public function setAudioDeviceName($val) + { + $this->_propDict["audioDeviceName"] = $val; + return $this; + } + + /** + * Gets the bookingType + * Type of room. Possible values are standard, and reserved. + * + * @return BookingType|null The bookingType + */ + public function getBookingType() + { + if (array_key_exists("bookingType", $this->_propDict)) { + if (is_a($this->_propDict["bookingType"], "\Beta\Microsoft\Graph\Model\BookingType") || is_null($this->_propDict["bookingType"])) { + return $this->_propDict["bookingType"]; + } else { + $this->_propDict["bookingType"] = new BookingType($this->_propDict["bookingType"]); + return $this->_propDict["bookingType"]; + } + } + return null; + } + + /** + * Sets the bookingType + * Type of room. Possible values are standard, and reserved. + * + * @param BookingType $val The bookingType + * + * @return Room + */ + public function setBookingType($val) + { + $this->_propDict["bookingType"] = $val; + return $this; + } + + /** + * Gets the building + * Specifies the building name or building number that the room is in. + * + * @return string|null The building + */ + public function getBuilding() + { + if (array_key_exists("building", $this->_propDict)) { + return $this->_propDict["building"]; + } else { + return null; + } + } + + /** + * Sets the building + * Specifies the building name or building number that the room is in. + * + * @param string $val The building + * + * @return Room + */ + public function setBuilding($val) + { + $this->_propDict["building"] = $val; + return $this; + } + + /** + * Gets the capacity + * Specifies the capacity of the room. + * + * @return int|null The capacity + */ + public function getCapacity() + { + if (array_key_exists("capacity", $this->_propDict)) { + return $this->_propDict["capacity"]; + } else { + return null; + } + } + + /** + * Sets the capacity + * Specifies the capacity of the room. + * + * @param int $val The capacity + * + * @return Room + */ + public function setCapacity($val) + { + $this->_propDict["capacity"] = intval($val); + return $this; + } + + /** + * Gets the displayDeviceName + * Specifies the name of the display device in the room. + * + * @return string|null The displayDeviceName + */ + public function getDisplayDeviceName() + { + if (array_key_exists("displayDeviceName", $this->_propDict)) { + return $this->_propDict["displayDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the displayDeviceName + * Specifies the name of the display device in the room. + * + * @param string $val The displayDeviceName + * + * @return Room + */ + public function setDisplayDeviceName($val) + { + $this->_propDict["displayDeviceName"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Email address of the room. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email address of the room. + * + * @param string $val The emailAddress + * + * @return Room + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the floorLabel + * Specifies a descriptive label for the floor, for example, P. + * + * @return string|null The floorLabel + */ + public function getFloorLabel() + { + if (array_key_exists("floorLabel", $this->_propDict)) { + return $this->_propDict["floorLabel"]; + } else { + return null; + } + } + + /** + * Sets the floorLabel + * Specifies a descriptive label for the floor, for example, P. + * + * @param string $val The floorLabel + * + * @return Room + */ + public function setFloorLabel($val) + { + $this->_propDict["floorLabel"] = $val; + return $this; + } + + /** + * Gets the floorNumber + * Specifies the floor number that the room is on. + * + * @return int|null The floorNumber + */ + public function getFloorNumber() + { + if (array_key_exists("floorNumber", $this->_propDict)) { + return $this->_propDict["floorNumber"]; + } else { + return null; + } + } + + /** + * Sets the floorNumber + * Specifies the floor number that the room is on. + * + * @param int $val The floorNumber + * + * @return Room + */ + public function setFloorNumber($val) + { + $this->_propDict["floorNumber"] = intval($val); + return $this; + } + + /** + * Gets the isWheelChairAccessible + * Specifies whether the room is wheelchair accessible. + * + * @return bool|null The isWheelChairAccessible + */ + public function getIsWheelChairAccessible() + { + if (array_key_exists("isWheelChairAccessible", $this->_propDict)) { + return $this->_propDict["isWheelChairAccessible"]; + } else { + return null; + } + } + + /** + * Sets the isWheelChairAccessible + * Specifies whether the room is wheelchair accessible. + * + * @param bool $val The isWheelChairAccessible + * + * @return Room + */ + public function setIsWheelChairAccessible($val) + { + $this->_propDict["isWheelChairAccessible"] = boolval($val); + return $this; + } + + /** + * Gets the label + * Specifies a descriptive label for the room, for example, a number or name. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * Specifies a descriptive label for the room, for example, a number or name. + * + * @param string $val The label + * + * @return Room + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the nickname + * Specifies a nickname for the room, for example, 'conf room'. + * + * @return string|null The nickname + */ + public function getNickname() + { + if (array_key_exists("nickname", $this->_propDict)) { + return $this->_propDict["nickname"]; + } else { + return null; + } + } + + /** + * Sets the nickname + * Specifies a nickname for the room, for example, 'conf room'. + * + * @param string $val The nickname + * + * @return Room + */ + public function setNickname($val) + { + $this->_propDict["nickname"] = $val; + return $this; + } + + /** + * Gets the tags + * Specifies additional features of the room, for example, details like the type of view or furniture type. + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Specifies additional features of the room, for example, details like the type of view or furniture type. + * + * @param string $val The tags + * + * @return Room + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the videoDeviceName + * Specifies the name of the video device in the room. + * + * @return string|null The videoDeviceName + */ + public function getVideoDeviceName() + { + if (array_key_exists("videoDeviceName", $this->_propDict)) { + return $this->_propDict["videoDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the videoDeviceName + * Specifies the name of the video device in the room. + * + * @param string $val The videoDeviceName + * + * @return Room + */ + public function setVideoDeviceName($val) + { + $this->_propDict["videoDeviceName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoomList.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoomList.php new file mode 100644 index 0000000..7db7da4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoomList.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The email address of the room list. + * + * @param string $val The emailAddress + * + * @return RoomList + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + + /** + * Gets the rooms + * Read-only. Nullable. + * + * @return array|null The rooms + */ + public function getRooms() + { + if (array_key_exists("rooms", $this->_propDict)) { + return $this->_propDict["rooms"]; + } else { + return null; + } + } + + /** + * Sets the rooms + * Read-only. Nullable. + * + * @param Room[] $val The rooms + * + * @return RoomList + */ + public function setRooms($val) + { + $this->_propDict["rooms"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Root.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Root.php new file mode 100644 index 0000000..7b7475e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Root.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * RotateBitLockerKeys action error code + * + * @param int $val The value of the errorCode + * + * @return RotateBitLockerKeysDeviceActionResult + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoutingMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoutingMode.php new file mode 100644 index 0000000..0aba34f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoutingMode.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this criterion. + * + * @param EducationItemBody $val The value to assign to the description + * + * @return RubricCriterion The RubricCriterion + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricLevel.php new file mode 100644 index 0000000..db7b8f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricLevel.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this rubric level. + * + * @param EducationItemBody $val The value to assign to the description + * + * @return RubricLevel The RubricLevel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of this rubric level. + * + * @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 + * The name of this rubric level. + * + * @param string $val The value of the displayName + * + * @return RubricLevel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the grading + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * + * @return EducationAssignmentGradeType|null The grading + */ + public function getGrading() + { + if (array_key_exists("grading", $this->_propDict)) { + if (is_a($this->_propDict["grading"], "\Beta\Microsoft\Graph\Model\EducationAssignmentGradeType") || is_null($this->_propDict["grading"])) { + return $this->_propDict["grading"]; + } else { + $this->_propDict["grading"] = new EducationAssignmentGradeType($this->_propDict["grading"]); + return $this->_propDict["grading"]; + } + } + return null; + } + + /** + * Sets the grading + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * + * @param EducationAssignmentGradeType $val The value to assign to the grading + * + * @return RubricLevel The RubricLevel + */ + public function setGrading($val) + { + $this->_propDict["grading"] = $val; + return $this; + } + /** + * Gets the levelId + * The ID of this resource. + * + * @return string|null The levelId + */ + public function getLevelId() + { + if (array_key_exists("levelId", $this->_propDict)) { + return $this->_propDict["levelId"]; + } else { + return null; + } + } + + /** + * Sets the levelId + * The ID of this resource. + * + * @param string $val The value of the levelId + * + * @return RubricLevel + */ + public function setLevelId($val) + { + $this->_propDict["levelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQuality.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQuality.php new file mode 100644 index 0000000..2cff314 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQuality.php @@ -0,0 +1,176 @@ +_propDict)) { + if (is_a($this->_propDict["criteria"], "\Beta\Microsoft\Graph\Model\RubricCriterion") || is_null($this->_propDict["criteria"])) { + return $this->_propDict["criteria"]; + } else { + $this->_propDict["criteria"] = new RubricCriterion($this->_propDict["criteria"]); + return $this->_propDict["criteria"]; + } + } + return null; + } + + /** + * Sets the criteria + * The collection of criteria for this rubric quality. + * + * @param RubricCriterion $val The value to assign to the criteria + * + * @return RubricQuality The RubricQuality + */ + public function setCriteria($val) + { + $this->_propDict["criteria"] = $val; + return $this; + } + + /** + * Gets the description + * The description of this rubric quality. + * + * @return EducationItemBody|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this rubric quality. + * + * @param EducationItemBody $val The value to assign to the description + * + * @return RubricQuality The RubricQuality + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of this rubric quality. + * + * @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 + * The name of this rubric quality. + * + * @param string $val The value of the displayName + * + * @return RubricQuality + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the qualityId + * The ID of this resource. + * + * @return string|null The qualityId + */ + public function getQualityId() + { + if (array_key_exists("qualityId", $this->_propDict)) { + return $this->_propDict["qualityId"]; + } else { + return null; + } + } + + /** + * Sets the qualityId + * The ID of this resource. + * + * @param string $val The value of the qualityId + * + * @return RubricQuality + */ + public function setQualityId($val) + { + $this->_propDict["qualityId"] = $val; + return $this; + } + /** + * Gets the weight + * If present, a numerical weight for this quality. Weights must add up to 100. + * + * @return float|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * If present, a numerical weight for this quality. Weights must add up to 100. + * + * @param float $val The value of the weight + * + * @return RubricQuality + */ + public function setWeight($val) + { + $this->_propDict["weight"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualityFeedbackModel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualityFeedbackModel.php new file mode 100644 index 0000000..489ed5f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualityFeedbackModel.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new EducationItemBody($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Specific feedback for one quality of this rubric. + * + * @param EducationItemBody $val The value to assign to the feedback + * + * @return RubricQualityFeedbackModel The RubricQualityFeedbackModel + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + /** + * Gets the qualityId + * The ID of the rubricQuality that this feedback is related to. + * + * @return string|null The qualityId + */ + public function getQualityId() + { + if (array_key_exists("qualityId", $this->_propDict)) { + return $this->_propDict["qualityId"]; + } else { + return null; + } + } + + /** + * Sets the qualityId + * The ID of the rubricQuality that this feedback is related to. + * + * @param string $val The value of the qualityId + * + * @return RubricQualityFeedbackModel + */ + public function setQualityId($val) + { + $this->_propDict["qualityId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualitySelectedColumnModel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualitySelectedColumnModel.php new file mode 100644 index 0000000..862ed14 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualitySelectedColumnModel.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["columnId"]; + } else { + return null; + } + } + + /** + * Sets the columnId + * ID of the selected level for this quality. + * + * @param string $val The value of the columnId + * + * @return RubricQualitySelectedColumnModel + */ + public function setColumnId($val) + { + $this->_propDict["columnId"] = $val; + return $this; + } + /** + * Gets the qualityId + * ID of the associated quality. + * + * @return string|null The qualityId + */ + public function getQualityId() + { + if (array_key_exists("qualityId", $this->_propDict)) { + return $this->_propDict["qualityId"]; + } else { + return null; + } + } + + /** + * Sets the qualityId + * ID of the associated quality. + * + * @param string $val The value of the qualityId + * + * @return RubricQualitySelectedColumnModel + */ + public function setQualityId($val) + { + $this->_propDict["qualityId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RuleMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RuleMode.php new file mode 100644 index 0000000..13ce723 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RuleMode.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["billingPostalAddress"])) { + return $this->_propDict["billingPostalAddress"]; + } else { + $this->_propDict["billingPostalAddress"] = new PostalAddressType($this->_propDict["billingPostalAddress"]); + return $this->_propDict["billingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the billingPostalAddress + * + * @param PostalAddressType $val The billingPostalAddress + * + * @return SalesCreditMemo + */ + public function setBillingPostalAddress($val) + { + $this->_propDict["billingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the billToCustomerId + * + * @return string|null The billToCustomerId + */ + public function getBillToCustomerId() + { + if (array_key_exists("billToCustomerId", $this->_propDict)) { + return $this->_propDict["billToCustomerId"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerId + * + * @param string $val The billToCustomerId + * + * @return SalesCreditMemo + */ + public function setBillToCustomerId($val) + { + $this->_propDict["billToCustomerId"] = $val; + return $this; + } + + /** + * Gets the billToCustomerNumber + * + * @return string|null The billToCustomerNumber + */ + public function getBillToCustomerNumber() + { + if (array_key_exists("billToCustomerNumber", $this->_propDict)) { + return $this->_propDict["billToCustomerNumber"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerNumber + * + * @param string $val The billToCustomerNumber + * + * @return SalesCreditMemo + */ + public function setBillToCustomerNumber($val) + { + $this->_propDict["billToCustomerNumber"] = $val; + return $this; + } + + /** + * Gets the billToName + * + * @return string|null The billToName + */ + public function getBillToName() + { + if (array_key_exists("billToName", $this->_propDict)) { + return $this->_propDict["billToName"]; + } else { + return null; + } + } + + /** + * Sets the billToName + * + * @param string $val The billToName + * + * @return SalesCreditMemo + */ + public function setBillToName($val) + { + $this->_propDict["billToName"] = $val; + return $this; + } + + /** + * Gets the creditMemoDate + * + * @return \DateTime|null The creditMemoDate + */ + public function getCreditMemoDate() + { + if (array_key_exists("creditMemoDate", $this->_propDict)) { + if (is_a($this->_propDict["creditMemoDate"], "\DateTime") || is_null($this->_propDict["creditMemoDate"])) { + return $this->_propDict["creditMemoDate"]; + } else { + $this->_propDict["creditMemoDate"] = new \DateTime($this->_propDict["creditMemoDate"]); + return $this->_propDict["creditMemoDate"]; + } + } + return null; + } + + /** + * Sets the creditMemoDate + * + * @param \DateTime $val The creditMemoDate + * + * @return SalesCreditMemo + */ + public function setCreditMemoDate($val) + { + $this->_propDict["creditMemoDate"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return SalesCreditMemo + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return SalesCreditMemo + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * Gets the customerId + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * + * @param string $val The customerId + * + * @return SalesCreditMemo + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customerName + * + * @return string|null The customerName + */ + public function getCustomerName() + { + if (array_key_exists("customerName", $this->_propDict)) { + return $this->_propDict["customerName"]; + } else { + return null; + } + } + + /** + * Sets the customerName + * + * @param string $val The customerName + * + * @return SalesCreditMemo + */ + public function setCustomerName($val) + { + $this->_propDict["customerName"] = $val; + return $this; + } + + /** + * Gets the customerNumber + * + * @return string|null The customerNumber + */ + public function getCustomerNumber() + { + if (array_key_exists("customerNumber", $this->_propDict)) { + return $this->_propDict["customerNumber"]; + } else { + return null; + } + } + + /** + * Sets the customerNumber + * + * @param string $val The customerNumber + * + * @return SalesCreditMemo + */ + public function setCustomerNumber($val) + { + $this->_propDict["customerNumber"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesCreditMemo + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesCreditMemo + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the dueDate + * + * @return \DateTime|null The dueDate + */ + public function getDueDate() + { + if (array_key_exists("dueDate", $this->_propDict)) { + if (is_a($this->_propDict["dueDate"], "\DateTime") || is_null($this->_propDict["dueDate"])) { + return $this->_propDict["dueDate"]; + } else { + $this->_propDict["dueDate"] = new \DateTime($this->_propDict["dueDate"]); + return $this->_propDict["dueDate"]; + } + } + return null; + } + + /** + * Sets the dueDate + * + * @param \DateTime $val The dueDate + * + * @return SalesCreditMemo + */ + public function setDueDate($val) + { + $this->_propDict["dueDate"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return SalesCreditMemo + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the externalDocumentNumber + * + * @return string|null The externalDocumentNumber + */ + public function getExternalDocumentNumber() + { + if (array_key_exists("externalDocumentNumber", $this->_propDict)) { + return $this->_propDict["externalDocumentNumber"]; + } else { + return null; + } + } + + /** + * Sets the externalDocumentNumber + * + * @param string $val The externalDocumentNumber + * + * @return SalesCreditMemo + */ + public function setExternalDocumentNumber($val) + { + $this->_propDict["externalDocumentNumber"] = $val; + return $this; + } + + /** + * Gets the invoiceId + * + * @return string|null The invoiceId + */ + public function getInvoiceId() + { + if (array_key_exists("invoiceId", $this->_propDict)) { + return $this->_propDict["invoiceId"]; + } else { + return null; + } + } + + /** + * Sets the invoiceId + * + * @param string $val The invoiceId + * + * @return SalesCreditMemo + */ + public function setInvoiceId($val) + { + $this->_propDict["invoiceId"] = $val; + return $this; + } + + /** + * Gets the invoiceNumber + * + * @return string|null The invoiceNumber + */ + public function getInvoiceNumber() + { + if (array_key_exists("invoiceNumber", $this->_propDict)) { + return $this->_propDict["invoiceNumber"]; + } else { + return null; + } + } + + /** + * Sets the invoiceNumber + * + * @param string $val The invoiceNumber + * + * @return SalesCreditMemo + */ + public function setInvoiceNumber($val) + { + $this->_propDict["invoiceNumber"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SalesCreditMemo + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return SalesCreditMemo + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the paymentTermsId + * + * @return string|null The paymentTermsId + */ + public function getPaymentTermsId() + { + if (array_key_exists("paymentTermsId", $this->_propDict)) { + return $this->_propDict["paymentTermsId"]; + } else { + return null; + } + } + + /** + * Sets the paymentTermsId + * + * @param string $val The paymentTermsId + * + * @return SalesCreditMemo + */ + public function setPaymentTermsId($val) + { + $this->_propDict["paymentTermsId"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return SalesCreditMemo + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the pricesIncludeTax + * + * @return bool|null The pricesIncludeTax + */ + public function getPricesIncludeTax() + { + if (array_key_exists("pricesIncludeTax", $this->_propDict)) { + return $this->_propDict["pricesIncludeTax"]; + } else { + return null; + } + } + + /** + * Sets the pricesIncludeTax + * + * @param bool $val The pricesIncludeTax + * + * @return SalesCreditMemo + */ + public function setPricesIncludeTax($val) + { + $this->_propDict["pricesIncludeTax"] = boolval($val); + return $this; + } + + /** + * Gets the salesperson + * + * @return string|null The salesperson + */ + public function getSalesperson() + { + if (array_key_exists("salesperson", $this->_propDict)) { + return $this->_propDict["salesperson"]; + } else { + return null; + } + } + + /** + * Sets the salesperson + * + * @param string $val The salesperson + * + * @return SalesCreditMemo + */ + public function setSalesperson($val) + { + $this->_propDict["salesperson"] = $val; + return $this; + } + + /** + * Gets the sellingPostalAddress + * + * @return PostalAddressType|null The sellingPostalAddress + */ + public function getSellingPostalAddress() + { + if (array_key_exists("sellingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["sellingPostalAddress"])) { + return $this->_propDict["sellingPostalAddress"]; + } else { + $this->_propDict["sellingPostalAddress"] = new PostalAddressType($this->_propDict["sellingPostalAddress"]); + return $this->_propDict["sellingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the sellingPostalAddress + * + * @param PostalAddressType $val The sellingPostalAddress + * + * @return SalesCreditMemo + */ + public function setSellingPostalAddress($val) + { + $this->_propDict["sellingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return SalesCreditMemo + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the totalAmountExcludingTax + * + * @return Decimal|null The totalAmountExcludingTax + */ + public function getTotalAmountExcludingTax() + { + if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountExcludingTax"])) { + return $this->_propDict["totalAmountExcludingTax"]; + } else { + $this->_propDict["totalAmountExcludingTax"] = new Decimal($this->_propDict["totalAmountExcludingTax"]); + return $this->_propDict["totalAmountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountExcludingTax + * + * @param Decimal $val The totalAmountExcludingTax + * + * @return SalesCreditMemo + */ + public function setTotalAmountExcludingTax($val) + { + $this->_propDict["totalAmountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the totalAmountIncludingTax + * + * @return Decimal|null The totalAmountIncludingTax + */ + public function getTotalAmountIncludingTax() + { + if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountIncludingTax"])) { + return $this->_propDict["totalAmountIncludingTax"]; + } else { + $this->_propDict["totalAmountIncludingTax"] = new Decimal($this->_propDict["totalAmountIncludingTax"]); + return $this->_propDict["totalAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountIncludingTax + * + * @param Decimal $val The totalAmountIncludingTax + * + * @return SalesCreditMemo + */ + public function setTotalAmountIncludingTax($val) + { + $this->_propDict["totalAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesCreditMemo + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return SalesCreditMemo + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the customer + * + * @return Customer|null The customer + */ + public function getCustomer() + { + if (array_key_exists("customer", $this->_propDict)) { + if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\Customer") || is_null($this->_propDict["customer"])) { + return $this->_propDict["customer"]; + } else { + $this->_propDict["customer"] = new Customer($this->_propDict["customer"]); + return $this->_propDict["customer"]; + } + } + return null; + } + + /** + * Sets the customer + * + * @param Customer $val The customer + * + * @return SalesCreditMemo + */ + public function setCustomer($val) + { + $this->_propDict["customer"] = $val; + return $this; + } + + /** + * Gets the paymentTerm + * + * @return PaymentTerm|null The paymentTerm + */ + public function getPaymentTerm() + { + if (array_key_exists("paymentTerm", $this->_propDict)) { + if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\PaymentTerm") || is_null($this->_propDict["paymentTerm"])) { + return $this->_propDict["paymentTerm"]; + } else { + $this->_propDict["paymentTerm"] = new PaymentTerm($this->_propDict["paymentTerm"]); + return $this->_propDict["paymentTerm"]; + } + } + return null; + } + + /** + * Sets the paymentTerm + * + * @param PaymentTerm $val The paymentTerm + * + * @return SalesCreditMemo + */ + public function setPaymentTerm($val) + { + $this->_propDict["paymentTerm"] = $val; + return $this; + } + + + /** + * Gets the salesCreditMemoLines + * + * @return array|null The salesCreditMemoLines + */ + public function getSalesCreditMemoLines() + { + if (array_key_exists("salesCreditMemoLines", $this->_propDict)) { + return $this->_propDict["salesCreditMemoLines"]; + } else { + return null; + } + } + + /** + * Sets the salesCreditMemoLines + * + * @param SalesCreditMemoLine[] $val The salesCreditMemoLines + * + * @return SalesCreditMemo + */ + public function setSalesCreditMemoLines($val) + { + $this->_propDict["salesCreditMemoLines"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesCreditMemoLine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesCreditMemoLine.php new file mode 100644 index 0000000..7bf6c51 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesCreditMemoLine.php @@ -0,0 +1,735 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return SalesCreditMemoLine + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the amountExcludingTax + * + * @return Decimal|null The amountExcludingTax + */ + public function getAmountExcludingTax() + { + if (array_key_exists("amountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountExcludingTax"])) { + return $this->_propDict["amountExcludingTax"]; + } else { + $this->_propDict["amountExcludingTax"] = new Decimal($this->_propDict["amountExcludingTax"]); + return $this->_propDict["amountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the amountExcludingTax + * + * @param Decimal $val The amountExcludingTax + * + * @return SalesCreditMemoLine + */ + public function setAmountExcludingTax($val) + { + $this->_propDict["amountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the amountIncludingTax + * + * @return Decimal|null The amountIncludingTax + */ + public function getAmountIncludingTax() + { + if (array_key_exists("amountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountIncludingTax"])) { + return $this->_propDict["amountIncludingTax"]; + } else { + $this->_propDict["amountIncludingTax"] = new Decimal($this->_propDict["amountIncludingTax"]); + return $this->_propDict["amountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the amountIncludingTax + * + * @param Decimal $val The amountIncludingTax + * + * @return SalesCreditMemoLine + */ + public function setAmountIncludingTax($val) + { + $this->_propDict["amountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SalesCreditMemoLine + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesCreditMemoLine + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesCreditMemoLine + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the discountPercent + * + * @return Decimal|null The discountPercent + */ + public function getDiscountPercent() + { + if (array_key_exists("discountPercent", $this->_propDict)) { + if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountPercent"])) { + return $this->_propDict["discountPercent"]; + } else { + $this->_propDict["discountPercent"] = new Decimal($this->_propDict["discountPercent"]); + return $this->_propDict["discountPercent"]; + } + } + return null; + } + + /** + * Sets the discountPercent + * + * @param Decimal $val The discountPercent + * + * @return SalesCreditMemoLine + */ + public function setDiscountPercent($val) + { + $this->_propDict["discountPercent"] = $val; + return $this; + } + + /** + * Gets the documentId + * + * @return string|null The documentId + */ + public function getDocumentId() + { + if (array_key_exists("documentId", $this->_propDict)) { + return $this->_propDict["documentId"]; + } else { + return null; + } + } + + /** + * Sets the documentId + * + * @param string $val The documentId + * + * @return SalesCreditMemoLine + */ + public function setDocumentId($val) + { + $this->_propDict["documentId"] = $val; + return $this; + } + + /** + * Gets the invoiceDiscountAllocation + * + * @return Decimal|null The invoiceDiscountAllocation + */ + public function getInvoiceDiscountAllocation() + { + if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["invoiceDiscountAllocation"])) { + return $this->_propDict["invoiceDiscountAllocation"]; + } else { + $this->_propDict["invoiceDiscountAllocation"] = new Decimal($this->_propDict["invoiceDiscountAllocation"]); + return $this->_propDict["invoiceDiscountAllocation"]; + } + } + return null; + } + + /** + * Sets the invoiceDiscountAllocation + * + * @param Decimal $val The invoiceDiscountAllocation + * + * @return SalesCreditMemoLine + */ + public function setInvoiceDiscountAllocation($val) + { + $this->_propDict["invoiceDiscountAllocation"] = $val; + return $this; + } + + /** + * Gets the itemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * + * @param string $val The itemId + * + * @return SalesCreditMemoLine + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + + /** + * Gets the lineType + * + * @return string|null The lineType + */ + public function getLineType() + { + if (array_key_exists("lineType", $this->_propDict)) { + return $this->_propDict["lineType"]; + } else { + return null; + } + } + + /** + * Sets the lineType + * + * @param string $val The lineType + * + * @return SalesCreditMemoLine + */ + public function setLineType($val) + { + $this->_propDict["lineType"] = $val; + return $this; + } + + /** + * Gets the netAmount + * + * @return Decimal|null The netAmount + */ + public function getNetAmount() + { + if (array_key_exists("netAmount", $this->_propDict)) { + if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmount"])) { + return $this->_propDict["netAmount"]; + } else { + $this->_propDict["netAmount"] = new Decimal($this->_propDict["netAmount"]); + return $this->_propDict["netAmount"]; + } + } + return null; + } + + /** + * Sets the netAmount + * + * @param Decimal $val The netAmount + * + * @return SalesCreditMemoLine + */ + public function setNetAmount($val) + { + $this->_propDict["netAmount"] = $val; + return $this; + } + + /** + * Gets the netAmountIncludingTax + * + * @return Decimal|null The netAmountIncludingTax + */ + public function getNetAmountIncludingTax() + { + if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmountIncludingTax"])) { + return $this->_propDict["netAmountIncludingTax"]; + } else { + $this->_propDict["netAmountIncludingTax"] = new Decimal($this->_propDict["netAmountIncludingTax"]); + return $this->_propDict["netAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the netAmountIncludingTax + * + * @param Decimal $val The netAmountIncludingTax + * + * @return SalesCreditMemoLine + */ + public function setNetAmountIncludingTax($val) + { + $this->_propDict["netAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the netTaxAmount + * + * @return Decimal|null The netTaxAmount + */ + public function getNetTaxAmount() + { + if (array_key_exists("netTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netTaxAmount"])) { + return $this->_propDict["netTaxAmount"]; + } else { + $this->_propDict["netTaxAmount"] = new Decimal($this->_propDict["netTaxAmount"]); + return $this->_propDict["netTaxAmount"]; + } + } + return null; + } + + /** + * Sets the netTaxAmount + * + * @param Decimal $val The netTaxAmount + * + * @return SalesCreditMemoLine + */ + public function setNetTaxAmount($val) + { + $this->_propDict["netTaxAmount"] = $val; + return $this; + } + + /** + * Gets the quantity + * + * @return Decimal|null The quantity + */ + public function getQuantity() + { + if (array_key_exists("quantity", $this->_propDict)) { + if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["quantity"])) { + return $this->_propDict["quantity"]; + } else { + $this->_propDict["quantity"] = new Decimal($this->_propDict["quantity"]); + return $this->_propDict["quantity"]; + } + } + return null; + } + + /** + * Sets the quantity + * + * @param Decimal $val The quantity + * + * @return SalesCreditMemoLine + */ + public function setQuantity($val) + { + $this->_propDict["quantity"] = $val; + return $this; + } + + /** + * Gets the sequence + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * + * @param int $val The sequence + * + * @return SalesCreditMemoLine + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + + /** + * Gets the shipmentDate + * + * @return \DateTime|null The shipmentDate + */ + public function getShipmentDate() + { + if (array_key_exists("shipmentDate", $this->_propDict)) { + if (is_a($this->_propDict["shipmentDate"], "\DateTime") || is_null($this->_propDict["shipmentDate"])) { + return $this->_propDict["shipmentDate"]; + } else { + $this->_propDict["shipmentDate"] = new \DateTime($this->_propDict["shipmentDate"]); + return $this->_propDict["shipmentDate"]; + } + } + return null; + } + + /** + * Sets the shipmentDate + * + * @param \DateTime $val The shipmentDate + * + * @return SalesCreditMemoLine + */ + public function setShipmentDate($val) + { + $this->_propDict["shipmentDate"] = $val; + return $this; + } + + /** + * Gets the taxCode + * + * @return string|null The taxCode + */ + public function getTaxCode() + { + if (array_key_exists("taxCode", $this->_propDict)) { + return $this->_propDict["taxCode"]; + } else { + return null; + } + } + + /** + * Sets the taxCode + * + * @param string $val The taxCode + * + * @return SalesCreditMemoLine + */ + public function setTaxCode($val) + { + $this->_propDict["taxCode"] = $val; + return $this; + } + + /** + * Gets the taxPercent + * + * @return Decimal|null The taxPercent + */ + public function getTaxPercent() + { + if (array_key_exists("taxPercent", $this->_propDict)) { + if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["taxPercent"])) { + return $this->_propDict["taxPercent"]; + } else { + $this->_propDict["taxPercent"] = new Decimal($this->_propDict["taxPercent"]); + return $this->_propDict["taxPercent"]; + } + } + return null; + } + + /** + * Sets the taxPercent + * + * @param Decimal $val The taxPercent + * + * @return SalesCreditMemoLine + */ + public function setTaxPercent($val) + { + $this->_propDict["taxPercent"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesCreditMemoLine + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the unitOfMeasureId + * + * @return string|null The unitOfMeasureId + */ + public function getUnitOfMeasureId() + { + if (array_key_exists("unitOfMeasureId", $this->_propDict)) { + return $this->_propDict["unitOfMeasureId"]; + } else { + return null; + } + } + + /** + * Sets the unitOfMeasureId + * + * @param string $val The unitOfMeasureId + * + * @return SalesCreditMemoLine + */ + public function setUnitOfMeasureId($val) + { + $this->_propDict["unitOfMeasureId"] = $val; + return $this; + } + + /** + * Gets the unitPrice + * + * @return Decimal|null The unitPrice + */ + public function getUnitPrice() + { + if (array_key_exists("unitPrice", $this->_propDict)) { + if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitPrice"])) { + return $this->_propDict["unitPrice"]; + } else { + $this->_propDict["unitPrice"] = new Decimal($this->_propDict["unitPrice"]); + return $this->_propDict["unitPrice"]; + } + } + return null; + } + + /** + * Sets the unitPrice + * + * @param Decimal $val The unitPrice + * + * @return SalesCreditMemoLine + */ + public function setUnitPrice($val) + { + $this->_propDict["unitPrice"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return SalesCreditMemoLine + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + /** + * Gets the item + * + * @return Item|null The item + */ + public function getItem() + { + if (array_key_exists("item", $this->_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\Item") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new Item($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * + * @param Item $val The item + * + * @return SalesCreditMemoLine + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoice.php new file mode 100644 index 0000000..c9dc5d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoice.php @@ -0,0 +1,1110 @@ +_propDict)) { + if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["billingPostalAddress"])) { + return $this->_propDict["billingPostalAddress"]; + } else { + $this->_propDict["billingPostalAddress"] = new PostalAddressType($this->_propDict["billingPostalAddress"]); + return $this->_propDict["billingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the billingPostalAddress + * + * @param PostalAddressType $val The billingPostalAddress + * + * @return SalesInvoice + */ + public function setBillingPostalAddress($val) + { + $this->_propDict["billingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the billToCustomerId + * + * @return string|null The billToCustomerId + */ + public function getBillToCustomerId() + { + if (array_key_exists("billToCustomerId", $this->_propDict)) { + return $this->_propDict["billToCustomerId"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerId + * + * @param string $val The billToCustomerId + * + * @return SalesInvoice + */ + public function setBillToCustomerId($val) + { + $this->_propDict["billToCustomerId"] = $val; + return $this; + } + + /** + * Gets the billToCustomerNumber + * + * @return string|null The billToCustomerNumber + */ + public function getBillToCustomerNumber() + { + if (array_key_exists("billToCustomerNumber", $this->_propDict)) { + return $this->_propDict["billToCustomerNumber"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerNumber + * + * @param string $val The billToCustomerNumber + * + * @return SalesInvoice + */ + public function setBillToCustomerNumber($val) + { + $this->_propDict["billToCustomerNumber"] = $val; + return $this; + } + + /** + * Gets the billToName + * + * @return string|null The billToName + */ + public function getBillToName() + { + if (array_key_exists("billToName", $this->_propDict)) { + return $this->_propDict["billToName"]; + } else { + return null; + } + } + + /** + * Sets the billToName + * + * @param string $val The billToName + * + * @return SalesInvoice + */ + public function setBillToName($val) + { + $this->_propDict["billToName"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return SalesInvoice + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return SalesInvoice + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * Gets the customerId + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * + * @param string $val The customerId + * + * @return SalesInvoice + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customerName + * + * @return string|null The customerName + */ + public function getCustomerName() + { + if (array_key_exists("customerName", $this->_propDict)) { + return $this->_propDict["customerName"]; + } else { + return null; + } + } + + /** + * Sets the customerName + * + * @param string $val The customerName + * + * @return SalesInvoice + */ + public function setCustomerName($val) + { + $this->_propDict["customerName"] = $val; + return $this; + } + + /** + * Gets the customerNumber + * + * @return string|null The customerNumber + */ + public function getCustomerNumber() + { + if (array_key_exists("customerNumber", $this->_propDict)) { + return $this->_propDict["customerNumber"]; + } else { + return null; + } + } + + /** + * Sets the customerNumber + * + * @param string $val The customerNumber + * + * @return SalesInvoice + */ + public function setCustomerNumber($val) + { + $this->_propDict["customerNumber"] = $val; + return $this; + } + + /** + * Gets the customerPurchaseOrderReference + * + * @return string|null The customerPurchaseOrderReference + */ + public function getCustomerPurchaseOrderReference() + { + if (array_key_exists("customerPurchaseOrderReference", $this->_propDict)) { + return $this->_propDict["customerPurchaseOrderReference"]; + } else { + return null; + } + } + + /** + * Sets the customerPurchaseOrderReference + * + * @param string $val The customerPurchaseOrderReference + * + * @return SalesInvoice + */ + public function setCustomerPurchaseOrderReference($val) + { + $this->_propDict["customerPurchaseOrderReference"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesInvoice + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesInvoice + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the dueDate + * + * @return \DateTime|null The dueDate + */ + public function getDueDate() + { + if (array_key_exists("dueDate", $this->_propDict)) { + if (is_a($this->_propDict["dueDate"], "\DateTime") || is_null($this->_propDict["dueDate"])) { + return $this->_propDict["dueDate"]; + } else { + $this->_propDict["dueDate"] = new \DateTime($this->_propDict["dueDate"]); + return $this->_propDict["dueDate"]; + } + } + return null; + } + + /** + * Sets the dueDate + * + * @param \DateTime $val The dueDate + * + * @return SalesInvoice + */ + public function setDueDate($val) + { + $this->_propDict["dueDate"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return SalesInvoice + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the externalDocumentNumber + * + * @return string|null The externalDocumentNumber + */ + public function getExternalDocumentNumber() + { + if (array_key_exists("externalDocumentNumber", $this->_propDict)) { + return $this->_propDict["externalDocumentNumber"]; + } else { + return null; + } + } + + /** + * Sets the externalDocumentNumber + * + * @param string $val The externalDocumentNumber + * + * @return SalesInvoice + */ + public function setExternalDocumentNumber($val) + { + $this->_propDict["externalDocumentNumber"] = $val; + return $this; + } + + /** + * Gets the invoiceDate + * + * @return \DateTime|null The invoiceDate + */ + public function getInvoiceDate() + { + if (array_key_exists("invoiceDate", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDate"], "\DateTime") || is_null($this->_propDict["invoiceDate"])) { + return $this->_propDict["invoiceDate"]; + } else { + $this->_propDict["invoiceDate"] = new \DateTime($this->_propDict["invoiceDate"]); + return $this->_propDict["invoiceDate"]; + } + } + return null; + } + + /** + * Sets the invoiceDate + * + * @param \DateTime $val The invoiceDate + * + * @return SalesInvoice + */ + public function setInvoiceDate($val) + { + $this->_propDict["invoiceDate"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SalesInvoice + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return SalesInvoice + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the orderId + * + * @return string|null The orderId + */ + public function getOrderId() + { + if (array_key_exists("orderId", $this->_propDict)) { + return $this->_propDict["orderId"]; + } else { + return null; + } + } + + /** + * Sets the orderId + * + * @param string $val The orderId + * + * @return SalesInvoice + */ + public function setOrderId($val) + { + $this->_propDict["orderId"] = $val; + return $this; + } + + /** + * Gets the orderNumber + * + * @return string|null The orderNumber + */ + public function getOrderNumber() + { + if (array_key_exists("orderNumber", $this->_propDict)) { + return $this->_propDict["orderNumber"]; + } else { + return null; + } + } + + /** + * Sets the orderNumber + * + * @param string $val The orderNumber + * + * @return SalesInvoice + */ + public function setOrderNumber($val) + { + $this->_propDict["orderNumber"] = $val; + return $this; + } + + /** + * Gets the paymentTermsId + * + * @return string|null The paymentTermsId + */ + public function getPaymentTermsId() + { + if (array_key_exists("paymentTermsId", $this->_propDict)) { + return $this->_propDict["paymentTermsId"]; + } else { + return null; + } + } + + /** + * Sets the paymentTermsId + * + * @param string $val The paymentTermsId + * + * @return SalesInvoice + */ + public function setPaymentTermsId($val) + { + $this->_propDict["paymentTermsId"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return SalesInvoice + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the pricesIncludeTax + * + * @return bool|null The pricesIncludeTax + */ + public function getPricesIncludeTax() + { + if (array_key_exists("pricesIncludeTax", $this->_propDict)) { + return $this->_propDict["pricesIncludeTax"]; + } else { + return null; + } + } + + /** + * Sets the pricesIncludeTax + * + * @param bool $val The pricesIncludeTax + * + * @return SalesInvoice + */ + public function setPricesIncludeTax($val) + { + $this->_propDict["pricesIncludeTax"] = boolval($val); + return $this; + } + + /** + * Gets the salesperson + * + * @return string|null The salesperson + */ + public function getSalesperson() + { + if (array_key_exists("salesperson", $this->_propDict)) { + return $this->_propDict["salesperson"]; + } else { + return null; + } + } + + /** + * Sets the salesperson + * + * @param string $val The salesperson + * + * @return SalesInvoice + */ + public function setSalesperson($val) + { + $this->_propDict["salesperson"] = $val; + return $this; + } + + /** + * Gets the sellingPostalAddress + * + * @return PostalAddressType|null The sellingPostalAddress + */ + public function getSellingPostalAddress() + { + if (array_key_exists("sellingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["sellingPostalAddress"])) { + return $this->_propDict["sellingPostalAddress"]; + } else { + $this->_propDict["sellingPostalAddress"] = new PostalAddressType($this->_propDict["sellingPostalAddress"]); + return $this->_propDict["sellingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the sellingPostalAddress + * + * @param PostalAddressType $val The sellingPostalAddress + * + * @return SalesInvoice + */ + public function setSellingPostalAddress($val) + { + $this->_propDict["sellingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the shipmentMethodId + * + * @return string|null The shipmentMethodId + */ + public function getShipmentMethodId() + { + if (array_key_exists("shipmentMethodId", $this->_propDict)) { + return $this->_propDict["shipmentMethodId"]; + } else { + return null; + } + } + + /** + * Sets the shipmentMethodId + * + * @param string $val The shipmentMethodId + * + * @return SalesInvoice + */ + public function setShipmentMethodId($val) + { + $this->_propDict["shipmentMethodId"] = $val; + return $this; + } + + /** + * Gets the shippingPostalAddress + * + * @return PostalAddressType|null The shippingPostalAddress + */ + public function getShippingPostalAddress() + { + if (array_key_exists("shippingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["shippingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["shippingPostalAddress"])) { + return $this->_propDict["shippingPostalAddress"]; + } else { + $this->_propDict["shippingPostalAddress"] = new PostalAddressType($this->_propDict["shippingPostalAddress"]); + return $this->_propDict["shippingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the shippingPostalAddress + * + * @param PostalAddressType $val The shippingPostalAddress + * + * @return SalesInvoice + */ + public function setShippingPostalAddress($val) + { + $this->_propDict["shippingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the shipToContact + * + * @return string|null The shipToContact + */ + public function getShipToContact() + { + if (array_key_exists("shipToContact", $this->_propDict)) { + return $this->_propDict["shipToContact"]; + } else { + return null; + } + } + + /** + * Sets the shipToContact + * + * @param string $val The shipToContact + * + * @return SalesInvoice + */ + public function setShipToContact($val) + { + $this->_propDict["shipToContact"] = $val; + return $this; + } + + /** + * Gets the shipToName + * + * @return string|null The shipToName + */ + public function getShipToName() + { + if (array_key_exists("shipToName", $this->_propDict)) { + return $this->_propDict["shipToName"]; + } else { + return null; + } + } + + /** + * Sets the shipToName + * + * @param string $val The shipToName + * + * @return SalesInvoice + */ + public function setShipToName($val) + { + $this->_propDict["shipToName"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return SalesInvoice + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the totalAmountExcludingTax + * + * @return Decimal|null The totalAmountExcludingTax + */ + public function getTotalAmountExcludingTax() + { + if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountExcludingTax"])) { + return $this->_propDict["totalAmountExcludingTax"]; + } else { + $this->_propDict["totalAmountExcludingTax"] = new Decimal($this->_propDict["totalAmountExcludingTax"]); + return $this->_propDict["totalAmountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountExcludingTax + * + * @param Decimal $val The totalAmountExcludingTax + * + * @return SalesInvoice + */ + public function setTotalAmountExcludingTax($val) + { + $this->_propDict["totalAmountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the totalAmountIncludingTax + * + * @return Decimal|null The totalAmountIncludingTax + */ + public function getTotalAmountIncludingTax() + { + if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountIncludingTax"])) { + return $this->_propDict["totalAmountIncludingTax"]; + } else { + $this->_propDict["totalAmountIncludingTax"] = new Decimal($this->_propDict["totalAmountIncludingTax"]); + return $this->_propDict["totalAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountIncludingTax + * + * @param Decimal $val The totalAmountIncludingTax + * + * @return SalesInvoice + */ + public function setTotalAmountIncludingTax($val) + { + $this->_propDict["totalAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesInvoice + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return SalesInvoice + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the customer + * + * @return Customer|null The customer + */ + public function getCustomer() + { + if (array_key_exists("customer", $this->_propDict)) { + if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\Customer") || is_null($this->_propDict["customer"])) { + return $this->_propDict["customer"]; + } else { + $this->_propDict["customer"] = new Customer($this->_propDict["customer"]); + return $this->_propDict["customer"]; + } + } + return null; + } + + /** + * Sets the customer + * + * @param Customer $val The customer + * + * @return SalesInvoice + */ + public function setCustomer($val) + { + $this->_propDict["customer"] = $val; + return $this; + } + + /** + * Gets the paymentTerm + * + * @return PaymentTerm|null The paymentTerm + */ + public function getPaymentTerm() + { + if (array_key_exists("paymentTerm", $this->_propDict)) { + if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\PaymentTerm") || is_null($this->_propDict["paymentTerm"])) { + return $this->_propDict["paymentTerm"]; + } else { + $this->_propDict["paymentTerm"] = new PaymentTerm($this->_propDict["paymentTerm"]); + return $this->_propDict["paymentTerm"]; + } + } + return null; + } + + /** + * Sets the paymentTerm + * + * @param PaymentTerm $val The paymentTerm + * + * @return SalesInvoice + */ + public function setPaymentTerm($val) + { + $this->_propDict["paymentTerm"] = $val; + return $this; + } + + + /** + * Gets the salesInvoiceLines + * + * @return array|null The salesInvoiceLines + */ + public function getSalesInvoiceLines() + { + if (array_key_exists("salesInvoiceLines", $this->_propDict)) { + return $this->_propDict["salesInvoiceLines"]; + } else { + return null; + } + } + + /** + * Sets the salesInvoiceLines + * + * @param SalesInvoiceLine[] $val The salesInvoiceLines + * + * @return SalesInvoice + */ + public function setSalesInvoiceLines($val) + { + $this->_propDict["salesInvoiceLines"] = $val; + return $this; + } + + /** + * Gets the shipmentMethod + * + * @return ShipmentMethod|null The shipmentMethod + */ + public function getShipmentMethod() + { + if (array_key_exists("shipmentMethod", $this->_propDict)) { + if (is_a($this->_propDict["shipmentMethod"], "\Beta\Microsoft\Graph\Model\ShipmentMethod") || is_null($this->_propDict["shipmentMethod"])) { + return $this->_propDict["shipmentMethod"]; + } else { + $this->_propDict["shipmentMethod"] = new ShipmentMethod($this->_propDict["shipmentMethod"]); + return $this->_propDict["shipmentMethod"]; + } + } + return null; + } + + /** + * Sets the shipmentMethod + * + * @param ShipmentMethod $val The shipmentMethod + * + * @return SalesInvoice + */ + public function setShipmentMethod($val) + { + $this->_propDict["shipmentMethod"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoiceLine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoiceLine.php new file mode 100644 index 0000000..97773f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoiceLine.php @@ -0,0 +1,735 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return SalesInvoiceLine + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the amountExcludingTax + * + * @return Decimal|null The amountExcludingTax + */ + public function getAmountExcludingTax() + { + if (array_key_exists("amountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountExcludingTax"])) { + return $this->_propDict["amountExcludingTax"]; + } else { + $this->_propDict["amountExcludingTax"] = new Decimal($this->_propDict["amountExcludingTax"]); + return $this->_propDict["amountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the amountExcludingTax + * + * @param Decimal $val The amountExcludingTax + * + * @return SalesInvoiceLine + */ + public function setAmountExcludingTax($val) + { + $this->_propDict["amountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the amountIncludingTax + * + * @return Decimal|null The amountIncludingTax + */ + public function getAmountIncludingTax() + { + if (array_key_exists("amountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountIncludingTax"])) { + return $this->_propDict["amountIncludingTax"]; + } else { + $this->_propDict["amountIncludingTax"] = new Decimal($this->_propDict["amountIncludingTax"]); + return $this->_propDict["amountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the amountIncludingTax + * + * @param Decimal $val The amountIncludingTax + * + * @return SalesInvoiceLine + */ + public function setAmountIncludingTax($val) + { + $this->_propDict["amountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SalesInvoiceLine + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesInvoiceLine + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesInvoiceLine + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the discountPercent + * + * @return Decimal|null The discountPercent + */ + public function getDiscountPercent() + { + if (array_key_exists("discountPercent", $this->_propDict)) { + if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountPercent"])) { + return $this->_propDict["discountPercent"]; + } else { + $this->_propDict["discountPercent"] = new Decimal($this->_propDict["discountPercent"]); + return $this->_propDict["discountPercent"]; + } + } + return null; + } + + /** + * Sets the discountPercent + * + * @param Decimal $val The discountPercent + * + * @return SalesInvoiceLine + */ + public function setDiscountPercent($val) + { + $this->_propDict["discountPercent"] = $val; + return $this; + } + + /** + * Gets the documentId + * + * @return string|null The documentId + */ + public function getDocumentId() + { + if (array_key_exists("documentId", $this->_propDict)) { + return $this->_propDict["documentId"]; + } else { + return null; + } + } + + /** + * Sets the documentId + * + * @param string $val The documentId + * + * @return SalesInvoiceLine + */ + public function setDocumentId($val) + { + $this->_propDict["documentId"] = $val; + return $this; + } + + /** + * Gets the invoiceDiscountAllocation + * + * @return Decimal|null The invoiceDiscountAllocation + */ + public function getInvoiceDiscountAllocation() + { + if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["invoiceDiscountAllocation"])) { + return $this->_propDict["invoiceDiscountAllocation"]; + } else { + $this->_propDict["invoiceDiscountAllocation"] = new Decimal($this->_propDict["invoiceDiscountAllocation"]); + return $this->_propDict["invoiceDiscountAllocation"]; + } + } + return null; + } + + /** + * Sets the invoiceDiscountAllocation + * + * @param Decimal $val The invoiceDiscountAllocation + * + * @return SalesInvoiceLine + */ + public function setInvoiceDiscountAllocation($val) + { + $this->_propDict["invoiceDiscountAllocation"] = $val; + return $this; + } + + /** + * Gets the itemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * + * @param string $val The itemId + * + * @return SalesInvoiceLine + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + + /** + * Gets the lineType + * + * @return string|null The lineType + */ + public function getLineType() + { + if (array_key_exists("lineType", $this->_propDict)) { + return $this->_propDict["lineType"]; + } else { + return null; + } + } + + /** + * Sets the lineType + * + * @param string $val The lineType + * + * @return SalesInvoiceLine + */ + public function setLineType($val) + { + $this->_propDict["lineType"] = $val; + return $this; + } + + /** + * Gets the netAmount + * + * @return Decimal|null The netAmount + */ + public function getNetAmount() + { + if (array_key_exists("netAmount", $this->_propDict)) { + if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmount"])) { + return $this->_propDict["netAmount"]; + } else { + $this->_propDict["netAmount"] = new Decimal($this->_propDict["netAmount"]); + return $this->_propDict["netAmount"]; + } + } + return null; + } + + /** + * Sets the netAmount + * + * @param Decimal $val The netAmount + * + * @return SalesInvoiceLine + */ + public function setNetAmount($val) + { + $this->_propDict["netAmount"] = $val; + return $this; + } + + /** + * Gets the netAmountIncludingTax + * + * @return Decimal|null The netAmountIncludingTax + */ + public function getNetAmountIncludingTax() + { + if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmountIncludingTax"])) { + return $this->_propDict["netAmountIncludingTax"]; + } else { + $this->_propDict["netAmountIncludingTax"] = new Decimal($this->_propDict["netAmountIncludingTax"]); + return $this->_propDict["netAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the netAmountIncludingTax + * + * @param Decimal $val The netAmountIncludingTax + * + * @return SalesInvoiceLine + */ + public function setNetAmountIncludingTax($val) + { + $this->_propDict["netAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the netTaxAmount + * + * @return Decimal|null The netTaxAmount + */ + public function getNetTaxAmount() + { + if (array_key_exists("netTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netTaxAmount"])) { + return $this->_propDict["netTaxAmount"]; + } else { + $this->_propDict["netTaxAmount"] = new Decimal($this->_propDict["netTaxAmount"]); + return $this->_propDict["netTaxAmount"]; + } + } + return null; + } + + /** + * Sets the netTaxAmount + * + * @param Decimal $val The netTaxAmount + * + * @return SalesInvoiceLine + */ + public function setNetTaxAmount($val) + { + $this->_propDict["netTaxAmount"] = $val; + return $this; + } + + /** + * Gets the quantity + * + * @return Decimal|null The quantity + */ + public function getQuantity() + { + if (array_key_exists("quantity", $this->_propDict)) { + if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["quantity"])) { + return $this->_propDict["quantity"]; + } else { + $this->_propDict["quantity"] = new Decimal($this->_propDict["quantity"]); + return $this->_propDict["quantity"]; + } + } + return null; + } + + /** + * Sets the quantity + * + * @param Decimal $val The quantity + * + * @return SalesInvoiceLine + */ + public function setQuantity($val) + { + $this->_propDict["quantity"] = $val; + return $this; + } + + /** + * Gets the sequence + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * + * @param int $val The sequence + * + * @return SalesInvoiceLine + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + + /** + * Gets the shipmentDate + * + * @return \DateTime|null The shipmentDate + */ + public function getShipmentDate() + { + if (array_key_exists("shipmentDate", $this->_propDict)) { + if (is_a($this->_propDict["shipmentDate"], "\DateTime") || is_null($this->_propDict["shipmentDate"])) { + return $this->_propDict["shipmentDate"]; + } else { + $this->_propDict["shipmentDate"] = new \DateTime($this->_propDict["shipmentDate"]); + return $this->_propDict["shipmentDate"]; + } + } + return null; + } + + /** + * Sets the shipmentDate + * + * @param \DateTime $val The shipmentDate + * + * @return SalesInvoiceLine + */ + public function setShipmentDate($val) + { + $this->_propDict["shipmentDate"] = $val; + return $this; + } + + /** + * Gets the taxCode + * + * @return string|null The taxCode + */ + public function getTaxCode() + { + if (array_key_exists("taxCode", $this->_propDict)) { + return $this->_propDict["taxCode"]; + } else { + return null; + } + } + + /** + * Sets the taxCode + * + * @param string $val The taxCode + * + * @return SalesInvoiceLine + */ + public function setTaxCode($val) + { + $this->_propDict["taxCode"] = $val; + return $this; + } + + /** + * Gets the taxPercent + * + * @return Decimal|null The taxPercent + */ + public function getTaxPercent() + { + if (array_key_exists("taxPercent", $this->_propDict)) { + if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["taxPercent"])) { + return $this->_propDict["taxPercent"]; + } else { + $this->_propDict["taxPercent"] = new Decimal($this->_propDict["taxPercent"]); + return $this->_propDict["taxPercent"]; + } + } + return null; + } + + /** + * Sets the taxPercent + * + * @param Decimal $val The taxPercent + * + * @return SalesInvoiceLine + */ + public function setTaxPercent($val) + { + $this->_propDict["taxPercent"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesInvoiceLine + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the unitOfMeasureId + * + * @return string|null The unitOfMeasureId + */ + public function getUnitOfMeasureId() + { + if (array_key_exists("unitOfMeasureId", $this->_propDict)) { + return $this->_propDict["unitOfMeasureId"]; + } else { + return null; + } + } + + /** + * Sets the unitOfMeasureId + * + * @param string $val The unitOfMeasureId + * + * @return SalesInvoiceLine + */ + public function setUnitOfMeasureId($val) + { + $this->_propDict["unitOfMeasureId"] = $val; + return $this; + } + + /** + * Gets the unitPrice + * + * @return Decimal|null The unitPrice + */ + public function getUnitPrice() + { + if (array_key_exists("unitPrice", $this->_propDict)) { + if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitPrice"])) { + return $this->_propDict["unitPrice"]; + } else { + $this->_propDict["unitPrice"] = new Decimal($this->_propDict["unitPrice"]); + return $this->_propDict["unitPrice"]; + } + } + return null; + } + + /** + * Sets the unitPrice + * + * @param Decimal $val The unitPrice + * + * @return SalesInvoiceLine + */ + public function setUnitPrice($val) + { + $this->_propDict["unitPrice"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return SalesInvoiceLine + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + /** + * Gets the item + * + * @return Item|null The item + */ + public function getItem() + { + if (array_key_exists("item", $this->_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\Item") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new Item($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * + * @param Item $val The item + * + * @return SalesInvoiceLine + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrder.php new file mode 100644 index 0000000..02fca54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrder.php @@ -0,0 +1,1025 @@ +_propDict)) { + if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["billingPostalAddress"])) { + return $this->_propDict["billingPostalAddress"]; + } else { + $this->_propDict["billingPostalAddress"] = new PostalAddressType($this->_propDict["billingPostalAddress"]); + return $this->_propDict["billingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the billingPostalAddress + * + * @param PostalAddressType $val The billingPostalAddress + * + * @return SalesOrder + */ + public function setBillingPostalAddress($val) + { + $this->_propDict["billingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the billToCustomerId + * + * @return string|null The billToCustomerId + */ + public function getBillToCustomerId() + { + if (array_key_exists("billToCustomerId", $this->_propDict)) { + return $this->_propDict["billToCustomerId"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerId + * + * @param string $val The billToCustomerId + * + * @return SalesOrder + */ + public function setBillToCustomerId($val) + { + $this->_propDict["billToCustomerId"] = $val; + return $this; + } + + /** + * Gets the billToCustomerNumber + * + * @return string|null The billToCustomerNumber + */ + public function getBillToCustomerNumber() + { + if (array_key_exists("billToCustomerNumber", $this->_propDict)) { + return $this->_propDict["billToCustomerNumber"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerNumber + * + * @param string $val The billToCustomerNumber + * + * @return SalesOrder + */ + public function setBillToCustomerNumber($val) + { + $this->_propDict["billToCustomerNumber"] = $val; + return $this; + } + + /** + * Gets the billToName + * + * @return string|null The billToName + */ + public function getBillToName() + { + if (array_key_exists("billToName", $this->_propDict)) { + return $this->_propDict["billToName"]; + } else { + return null; + } + } + + /** + * Sets the billToName + * + * @param string $val The billToName + * + * @return SalesOrder + */ + public function setBillToName($val) + { + $this->_propDict["billToName"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return SalesOrder + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return SalesOrder + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * Gets the customerId + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * + * @param string $val The customerId + * + * @return SalesOrder + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customerName + * + * @return string|null The customerName + */ + public function getCustomerName() + { + if (array_key_exists("customerName", $this->_propDict)) { + return $this->_propDict["customerName"]; + } else { + return null; + } + } + + /** + * Sets the customerName + * + * @param string $val The customerName + * + * @return SalesOrder + */ + public function setCustomerName($val) + { + $this->_propDict["customerName"] = $val; + return $this; + } + + /** + * Gets the customerNumber + * + * @return string|null The customerNumber + */ + public function getCustomerNumber() + { + if (array_key_exists("customerNumber", $this->_propDict)) { + return $this->_propDict["customerNumber"]; + } else { + return null; + } + } + + /** + * Sets the customerNumber + * + * @param string $val The customerNumber + * + * @return SalesOrder + */ + public function setCustomerNumber($val) + { + $this->_propDict["customerNumber"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesOrder + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesOrder + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return SalesOrder + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the externalDocumentNumber + * + * @return string|null The externalDocumentNumber + */ + public function getExternalDocumentNumber() + { + if (array_key_exists("externalDocumentNumber", $this->_propDict)) { + return $this->_propDict["externalDocumentNumber"]; + } else { + return null; + } + } + + /** + * Sets the externalDocumentNumber + * + * @param string $val The externalDocumentNumber + * + * @return SalesOrder + */ + public function setExternalDocumentNumber($val) + { + $this->_propDict["externalDocumentNumber"] = $val; + return $this; + } + + /** + * Gets the fullyShipped + * + * @return bool|null The fullyShipped + */ + public function getFullyShipped() + { + if (array_key_exists("fullyShipped", $this->_propDict)) { + return $this->_propDict["fullyShipped"]; + } else { + return null; + } + } + + /** + * Sets the fullyShipped + * + * @param bool $val The fullyShipped + * + * @return SalesOrder + */ + public function setFullyShipped($val) + { + $this->_propDict["fullyShipped"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SalesOrder + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return SalesOrder + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the orderDate + * + * @return \DateTime|null The orderDate + */ + public function getOrderDate() + { + if (array_key_exists("orderDate", $this->_propDict)) { + if (is_a($this->_propDict["orderDate"], "\DateTime") || is_null($this->_propDict["orderDate"])) { + return $this->_propDict["orderDate"]; + } else { + $this->_propDict["orderDate"] = new \DateTime($this->_propDict["orderDate"]); + return $this->_propDict["orderDate"]; + } + } + return null; + } + + /** + * Sets the orderDate + * + * @param \DateTime $val The orderDate + * + * @return SalesOrder + */ + public function setOrderDate($val) + { + $this->_propDict["orderDate"] = $val; + return $this; + } + + /** + * Gets the partialShipping + * + * @return bool|null The partialShipping + */ + public function getPartialShipping() + { + if (array_key_exists("partialShipping", $this->_propDict)) { + return $this->_propDict["partialShipping"]; + } else { + return null; + } + } + + /** + * Sets the partialShipping + * + * @param bool $val The partialShipping + * + * @return SalesOrder + */ + public function setPartialShipping($val) + { + $this->_propDict["partialShipping"] = boolval($val); + return $this; + } + + /** + * Gets the paymentTermsId + * + * @return string|null The paymentTermsId + */ + public function getPaymentTermsId() + { + if (array_key_exists("paymentTermsId", $this->_propDict)) { + return $this->_propDict["paymentTermsId"]; + } else { + return null; + } + } + + /** + * Sets the paymentTermsId + * + * @param string $val The paymentTermsId + * + * @return SalesOrder + */ + public function setPaymentTermsId($val) + { + $this->_propDict["paymentTermsId"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return SalesOrder + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the pricesIncludeTax + * + * @return bool|null The pricesIncludeTax + */ + public function getPricesIncludeTax() + { + if (array_key_exists("pricesIncludeTax", $this->_propDict)) { + return $this->_propDict["pricesIncludeTax"]; + } else { + return null; + } + } + + /** + * Sets the pricesIncludeTax + * + * @param bool $val The pricesIncludeTax + * + * @return SalesOrder + */ + public function setPricesIncludeTax($val) + { + $this->_propDict["pricesIncludeTax"] = boolval($val); + return $this; + } + + /** + * Gets the requestedDeliveryDate + * + * @return \DateTime|null The requestedDeliveryDate + */ + public function getRequestedDeliveryDate() + { + if (array_key_exists("requestedDeliveryDate", $this->_propDict)) { + if (is_a($this->_propDict["requestedDeliveryDate"], "\DateTime") || is_null($this->_propDict["requestedDeliveryDate"])) { + return $this->_propDict["requestedDeliveryDate"]; + } else { + $this->_propDict["requestedDeliveryDate"] = new \DateTime($this->_propDict["requestedDeliveryDate"]); + return $this->_propDict["requestedDeliveryDate"]; + } + } + return null; + } + + /** + * Sets the requestedDeliveryDate + * + * @param \DateTime $val The requestedDeliveryDate + * + * @return SalesOrder + */ + public function setRequestedDeliveryDate($val) + { + $this->_propDict["requestedDeliveryDate"] = $val; + return $this; + } + + /** + * Gets the salesperson + * + * @return string|null The salesperson + */ + public function getSalesperson() + { + if (array_key_exists("salesperson", $this->_propDict)) { + return $this->_propDict["salesperson"]; + } else { + return null; + } + } + + /** + * Sets the salesperson + * + * @param string $val The salesperson + * + * @return SalesOrder + */ + public function setSalesperson($val) + { + $this->_propDict["salesperson"] = $val; + return $this; + } + + /** + * Gets the sellingPostalAddress + * + * @return PostalAddressType|null The sellingPostalAddress + */ + public function getSellingPostalAddress() + { + if (array_key_exists("sellingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["sellingPostalAddress"])) { + return $this->_propDict["sellingPostalAddress"]; + } else { + $this->_propDict["sellingPostalAddress"] = new PostalAddressType($this->_propDict["sellingPostalAddress"]); + return $this->_propDict["sellingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the sellingPostalAddress + * + * @param PostalAddressType $val The sellingPostalAddress + * + * @return SalesOrder + */ + public function setSellingPostalAddress($val) + { + $this->_propDict["sellingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the shippingPostalAddress + * + * @return PostalAddressType|null The shippingPostalAddress + */ + public function getShippingPostalAddress() + { + if (array_key_exists("shippingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["shippingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["shippingPostalAddress"])) { + return $this->_propDict["shippingPostalAddress"]; + } else { + $this->_propDict["shippingPostalAddress"] = new PostalAddressType($this->_propDict["shippingPostalAddress"]); + return $this->_propDict["shippingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the shippingPostalAddress + * + * @param PostalAddressType $val The shippingPostalAddress + * + * @return SalesOrder + */ + public function setShippingPostalAddress($val) + { + $this->_propDict["shippingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the shipToContact + * + * @return string|null The shipToContact + */ + public function getShipToContact() + { + if (array_key_exists("shipToContact", $this->_propDict)) { + return $this->_propDict["shipToContact"]; + } else { + return null; + } + } + + /** + * Sets the shipToContact + * + * @param string $val The shipToContact + * + * @return SalesOrder + */ + public function setShipToContact($val) + { + $this->_propDict["shipToContact"] = $val; + return $this; + } + + /** + * Gets the shipToName + * + * @return string|null The shipToName + */ + public function getShipToName() + { + if (array_key_exists("shipToName", $this->_propDict)) { + return $this->_propDict["shipToName"]; + } else { + return null; + } + } + + /** + * Sets the shipToName + * + * @param string $val The shipToName + * + * @return SalesOrder + */ + public function setShipToName($val) + { + $this->_propDict["shipToName"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return SalesOrder + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the totalAmountExcludingTax + * + * @return Decimal|null The totalAmountExcludingTax + */ + public function getTotalAmountExcludingTax() + { + if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountExcludingTax"])) { + return $this->_propDict["totalAmountExcludingTax"]; + } else { + $this->_propDict["totalAmountExcludingTax"] = new Decimal($this->_propDict["totalAmountExcludingTax"]); + return $this->_propDict["totalAmountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountExcludingTax + * + * @param Decimal $val The totalAmountExcludingTax + * + * @return SalesOrder + */ + public function setTotalAmountExcludingTax($val) + { + $this->_propDict["totalAmountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the totalAmountIncludingTax + * + * @return Decimal|null The totalAmountIncludingTax + */ + public function getTotalAmountIncludingTax() + { + if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountIncludingTax"])) { + return $this->_propDict["totalAmountIncludingTax"]; + } else { + $this->_propDict["totalAmountIncludingTax"] = new Decimal($this->_propDict["totalAmountIncludingTax"]); + return $this->_propDict["totalAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountIncludingTax + * + * @param Decimal $val The totalAmountIncludingTax + * + * @return SalesOrder + */ + public function setTotalAmountIncludingTax($val) + { + $this->_propDict["totalAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesOrder + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return SalesOrder + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the customer + * + * @return Customer|null The customer + */ + public function getCustomer() + { + if (array_key_exists("customer", $this->_propDict)) { + if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\Customer") || is_null($this->_propDict["customer"])) { + return $this->_propDict["customer"]; + } else { + $this->_propDict["customer"] = new Customer($this->_propDict["customer"]); + return $this->_propDict["customer"]; + } + } + return null; + } + + /** + * Sets the customer + * + * @param Customer $val The customer + * + * @return SalesOrder + */ + public function setCustomer($val) + { + $this->_propDict["customer"] = $val; + return $this; + } + + /** + * Gets the paymentTerm + * + * @return PaymentTerm|null The paymentTerm + */ + public function getPaymentTerm() + { + if (array_key_exists("paymentTerm", $this->_propDict)) { + if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\PaymentTerm") || is_null($this->_propDict["paymentTerm"])) { + return $this->_propDict["paymentTerm"]; + } else { + $this->_propDict["paymentTerm"] = new PaymentTerm($this->_propDict["paymentTerm"]); + return $this->_propDict["paymentTerm"]; + } + } + return null; + } + + /** + * Sets the paymentTerm + * + * @param PaymentTerm $val The paymentTerm + * + * @return SalesOrder + */ + public function setPaymentTerm($val) + { + $this->_propDict["paymentTerm"] = $val; + return $this; + } + + + /** + * Gets the salesOrderLines + * + * @return array|null The salesOrderLines + */ + public function getSalesOrderLines() + { + if (array_key_exists("salesOrderLines", $this->_propDict)) { + return $this->_propDict["salesOrderLines"]; + } else { + return null; + } + } + + /** + * Sets the salesOrderLines + * + * @param SalesOrderLine[] $val The salesOrderLines + * + * @return SalesOrder + */ + public function setSalesOrderLines($val) + { + $this->_propDict["salesOrderLines"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrderLine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrderLine.php new file mode 100644 index 0000000..8787901 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrderLine.php @@ -0,0 +1,859 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return SalesOrderLine + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the amountExcludingTax + * + * @return Decimal|null The amountExcludingTax + */ + public function getAmountExcludingTax() + { + if (array_key_exists("amountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountExcludingTax"])) { + return $this->_propDict["amountExcludingTax"]; + } else { + $this->_propDict["amountExcludingTax"] = new Decimal($this->_propDict["amountExcludingTax"]); + return $this->_propDict["amountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the amountExcludingTax + * + * @param Decimal $val The amountExcludingTax + * + * @return SalesOrderLine + */ + public function setAmountExcludingTax($val) + { + $this->_propDict["amountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the amountIncludingTax + * + * @return Decimal|null The amountIncludingTax + */ + public function getAmountIncludingTax() + { + if (array_key_exists("amountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountIncludingTax"])) { + return $this->_propDict["amountIncludingTax"]; + } else { + $this->_propDict["amountIncludingTax"] = new Decimal($this->_propDict["amountIncludingTax"]); + return $this->_propDict["amountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the amountIncludingTax + * + * @param Decimal $val The amountIncludingTax + * + * @return SalesOrderLine + */ + public function setAmountIncludingTax($val) + { + $this->_propDict["amountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SalesOrderLine + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesOrderLine + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesOrderLine + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the discountPercent + * + * @return Decimal|null The discountPercent + */ + public function getDiscountPercent() + { + if (array_key_exists("discountPercent", $this->_propDict)) { + if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountPercent"])) { + return $this->_propDict["discountPercent"]; + } else { + $this->_propDict["discountPercent"] = new Decimal($this->_propDict["discountPercent"]); + return $this->_propDict["discountPercent"]; + } + } + return null; + } + + /** + * Sets the discountPercent + * + * @param Decimal $val The discountPercent + * + * @return SalesOrderLine + */ + public function setDiscountPercent($val) + { + $this->_propDict["discountPercent"] = $val; + return $this; + } + + /** + * Gets the documentId + * + * @return string|null The documentId + */ + public function getDocumentId() + { + if (array_key_exists("documentId", $this->_propDict)) { + return $this->_propDict["documentId"]; + } else { + return null; + } + } + + /** + * Sets the documentId + * + * @param string $val The documentId + * + * @return SalesOrderLine + */ + public function setDocumentId($val) + { + $this->_propDict["documentId"] = $val; + return $this; + } + + /** + * Gets the invoiceDiscountAllocation + * + * @return Decimal|null The invoiceDiscountAllocation + */ + public function getInvoiceDiscountAllocation() + { + if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { + if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["invoiceDiscountAllocation"])) { + return $this->_propDict["invoiceDiscountAllocation"]; + } else { + $this->_propDict["invoiceDiscountAllocation"] = new Decimal($this->_propDict["invoiceDiscountAllocation"]); + return $this->_propDict["invoiceDiscountAllocation"]; + } + } + return null; + } + + /** + * Sets the invoiceDiscountAllocation + * + * @param Decimal $val The invoiceDiscountAllocation + * + * @return SalesOrderLine + */ + public function setInvoiceDiscountAllocation($val) + { + $this->_propDict["invoiceDiscountAllocation"] = $val; + return $this; + } + + /** + * Gets the invoicedQuantity + * + * @return Decimal|null The invoicedQuantity + */ + public function getInvoicedQuantity() + { + if (array_key_exists("invoicedQuantity", $this->_propDict)) { + if (is_a($this->_propDict["invoicedQuantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["invoicedQuantity"])) { + return $this->_propDict["invoicedQuantity"]; + } else { + $this->_propDict["invoicedQuantity"] = new Decimal($this->_propDict["invoicedQuantity"]); + return $this->_propDict["invoicedQuantity"]; + } + } + return null; + } + + /** + * Sets the invoicedQuantity + * + * @param Decimal $val The invoicedQuantity + * + * @return SalesOrderLine + */ + public function setInvoicedQuantity($val) + { + $this->_propDict["invoicedQuantity"] = $val; + return $this; + } + + /** + * Gets the invoiceQuantity + * + * @return Decimal|null The invoiceQuantity + */ + public function getInvoiceQuantity() + { + if (array_key_exists("invoiceQuantity", $this->_propDict)) { + if (is_a($this->_propDict["invoiceQuantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["invoiceQuantity"])) { + return $this->_propDict["invoiceQuantity"]; + } else { + $this->_propDict["invoiceQuantity"] = new Decimal($this->_propDict["invoiceQuantity"]); + return $this->_propDict["invoiceQuantity"]; + } + } + return null; + } + + /** + * Sets the invoiceQuantity + * + * @param Decimal $val The invoiceQuantity + * + * @return SalesOrderLine + */ + public function setInvoiceQuantity($val) + { + $this->_propDict["invoiceQuantity"] = $val; + return $this; + } + + /** + * Gets the itemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * + * @param string $val The itemId + * + * @return SalesOrderLine + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + + /** + * Gets the lineType + * + * @return string|null The lineType + */ + public function getLineType() + { + if (array_key_exists("lineType", $this->_propDict)) { + return $this->_propDict["lineType"]; + } else { + return null; + } + } + + /** + * Sets the lineType + * + * @param string $val The lineType + * + * @return SalesOrderLine + */ + public function setLineType($val) + { + $this->_propDict["lineType"] = $val; + return $this; + } + + /** + * Gets the netAmount + * + * @return Decimal|null The netAmount + */ + public function getNetAmount() + { + if (array_key_exists("netAmount", $this->_propDict)) { + if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmount"])) { + return $this->_propDict["netAmount"]; + } else { + $this->_propDict["netAmount"] = new Decimal($this->_propDict["netAmount"]); + return $this->_propDict["netAmount"]; + } + } + return null; + } + + /** + * Sets the netAmount + * + * @param Decimal $val The netAmount + * + * @return SalesOrderLine + */ + public function setNetAmount($val) + { + $this->_propDict["netAmount"] = $val; + return $this; + } + + /** + * Gets the netAmountIncludingTax + * + * @return Decimal|null The netAmountIncludingTax + */ + public function getNetAmountIncludingTax() + { + if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmountIncludingTax"])) { + return $this->_propDict["netAmountIncludingTax"]; + } else { + $this->_propDict["netAmountIncludingTax"] = new Decimal($this->_propDict["netAmountIncludingTax"]); + return $this->_propDict["netAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the netAmountIncludingTax + * + * @param Decimal $val The netAmountIncludingTax + * + * @return SalesOrderLine + */ + public function setNetAmountIncludingTax($val) + { + $this->_propDict["netAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the netTaxAmount + * + * @return Decimal|null The netTaxAmount + */ + public function getNetTaxAmount() + { + if (array_key_exists("netTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netTaxAmount"])) { + return $this->_propDict["netTaxAmount"]; + } else { + $this->_propDict["netTaxAmount"] = new Decimal($this->_propDict["netTaxAmount"]); + return $this->_propDict["netTaxAmount"]; + } + } + return null; + } + + /** + * Sets the netTaxAmount + * + * @param Decimal $val The netTaxAmount + * + * @return SalesOrderLine + */ + public function setNetTaxAmount($val) + { + $this->_propDict["netTaxAmount"] = $val; + return $this; + } + + /** + * Gets the quantity + * + * @return Decimal|null The quantity + */ + public function getQuantity() + { + if (array_key_exists("quantity", $this->_propDict)) { + if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["quantity"])) { + return $this->_propDict["quantity"]; + } else { + $this->_propDict["quantity"] = new Decimal($this->_propDict["quantity"]); + return $this->_propDict["quantity"]; + } + } + return null; + } + + /** + * Sets the quantity + * + * @param Decimal $val The quantity + * + * @return SalesOrderLine + */ + public function setQuantity($val) + { + $this->_propDict["quantity"] = $val; + return $this; + } + + /** + * Gets the sequence + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * + * @param int $val The sequence + * + * @return SalesOrderLine + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + + /** + * Gets the shipmentDate + * + * @return \DateTime|null The shipmentDate + */ + public function getShipmentDate() + { + if (array_key_exists("shipmentDate", $this->_propDict)) { + if (is_a($this->_propDict["shipmentDate"], "\DateTime") || is_null($this->_propDict["shipmentDate"])) { + return $this->_propDict["shipmentDate"]; + } else { + $this->_propDict["shipmentDate"] = new \DateTime($this->_propDict["shipmentDate"]); + return $this->_propDict["shipmentDate"]; + } + } + return null; + } + + /** + * Sets the shipmentDate + * + * @param \DateTime $val The shipmentDate + * + * @return SalesOrderLine + */ + public function setShipmentDate($val) + { + $this->_propDict["shipmentDate"] = $val; + return $this; + } + + /** + * Gets the shippedQuantity + * + * @return Decimal|null The shippedQuantity + */ + public function getShippedQuantity() + { + if (array_key_exists("shippedQuantity", $this->_propDict)) { + if (is_a($this->_propDict["shippedQuantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["shippedQuantity"])) { + return $this->_propDict["shippedQuantity"]; + } else { + $this->_propDict["shippedQuantity"] = new Decimal($this->_propDict["shippedQuantity"]); + return $this->_propDict["shippedQuantity"]; + } + } + return null; + } + + /** + * Sets the shippedQuantity + * + * @param Decimal $val The shippedQuantity + * + * @return SalesOrderLine + */ + public function setShippedQuantity($val) + { + $this->_propDict["shippedQuantity"] = $val; + return $this; + } + + /** + * Gets the shipQuantity + * + * @return Decimal|null The shipQuantity + */ + public function getShipQuantity() + { + if (array_key_exists("shipQuantity", $this->_propDict)) { + if (is_a($this->_propDict["shipQuantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["shipQuantity"])) { + return $this->_propDict["shipQuantity"]; + } else { + $this->_propDict["shipQuantity"] = new Decimal($this->_propDict["shipQuantity"]); + return $this->_propDict["shipQuantity"]; + } + } + return null; + } + + /** + * Sets the shipQuantity + * + * @param Decimal $val The shipQuantity + * + * @return SalesOrderLine + */ + public function setShipQuantity($val) + { + $this->_propDict["shipQuantity"] = $val; + return $this; + } + + /** + * Gets the taxCode + * + * @return string|null The taxCode + */ + public function getTaxCode() + { + if (array_key_exists("taxCode", $this->_propDict)) { + return $this->_propDict["taxCode"]; + } else { + return null; + } + } + + /** + * Sets the taxCode + * + * @param string $val The taxCode + * + * @return SalesOrderLine + */ + public function setTaxCode($val) + { + $this->_propDict["taxCode"] = $val; + return $this; + } + + /** + * Gets the taxPercent + * + * @return Decimal|null The taxPercent + */ + public function getTaxPercent() + { + if (array_key_exists("taxPercent", $this->_propDict)) { + if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["taxPercent"])) { + return $this->_propDict["taxPercent"]; + } else { + $this->_propDict["taxPercent"] = new Decimal($this->_propDict["taxPercent"]); + return $this->_propDict["taxPercent"]; + } + } + return null; + } + + /** + * Sets the taxPercent + * + * @param Decimal $val The taxPercent + * + * @return SalesOrderLine + */ + public function setTaxPercent($val) + { + $this->_propDict["taxPercent"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesOrderLine + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the unitOfMeasureId + * + * @return string|null The unitOfMeasureId + */ + public function getUnitOfMeasureId() + { + if (array_key_exists("unitOfMeasureId", $this->_propDict)) { + return $this->_propDict["unitOfMeasureId"]; + } else { + return null; + } + } + + /** + * Sets the unitOfMeasureId + * + * @param string $val The unitOfMeasureId + * + * @return SalesOrderLine + */ + public function setUnitOfMeasureId($val) + { + $this->_propDict["unitOfMeasureId"] = $val; + return $this; + } + + /** + * Gets the unitPrice + * + * @return Decimal|null The unitPrice + */ + public function getUnitPrice() + { + if (array_key_exists("unitPrice", $this->_propDict)) { + if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitPrice"])) { + return $this->_propDict["unitPrice"]; + } else { + $this->_propDict["unitPrice"] = new Decimal($this->_propDict["unitPrice"]); + return $this->_propDict["unitPrice"]; + } + } + return null; + } + + /** + * Sets the unitPrice + * + * @param Decimal $val The unitPrice + * + * @return SalesOrderLine + */ + public function setUnitPrice($val) + { + $this->_propDict["unitPrice"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return SalesOrderLine + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + /** + * Gets the item + * + * @return Item|null The item + */ + public function getItem() + { + if (array_key_exists("item", $this->_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\Item") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new Item($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * + * @param Item $val The item + * + * @return SalesOrderLine + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuote.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuote.php new file mode 100644 index 0000000..f419091 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuote.php @@ -0,0 +1,1068 @@ +_propDict)) { + if (is_a($this->_propDict["acceptedDate"], "\DateTime") || is_null($this->_propDict["acceptedDate"])) { + return $this->_propDict["acceptedDate"]; + } else { + $this->_propDict["acceptedDate"] = new \DateTime($this->_propDict["acceptedDate"]); + return $this->_propDict["acceptedDate"]; + } + } + return null; + } + + /** + * Sets the acceptedDate + * + * @param \DateTime $val The acceptedDate + * + * @return SalesQuote + */ + public function setAcceptedDate($val) + { + $this->_propDict["acceptedDate"] = $val; + return $this; + } + + /** + * Gets the billingPostalAddress + * + * @return PostalAddressType|null The billingPostalAddress + */ + public function getBillingPostalAddress() + { + if (array_key_exists("billingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["billingPostalAddress"])) { + return $this->_propDict["billingPostalAddress"]; + } else { + $this->_propDict["billingPostalAddress"] = new PostalAddressType($this->_propDict["billingPostalAddress"]); + return $this->_propDict["billingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the billingPostalAddress + * + * @param PostalAddressType $val The billingPostalAddress + * + * @return SalesQuote + */ + public function setBillingPostalAddress($val) + { + $this->_propDict["billingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the billToCustomerId + * + * @return string|null The billToCustomerId + */ + public function getBillToCustomerId() + { + if (array_key_exists("billToCustomerId", $this->_propDict)) { + return $this->_propDict["billToCustomerId"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerId + * + * @param string $val The billToCustomerId + * + * @return SalesQuote + */ + public function setBillToCustomerId($val) + { + $this->_propDict["billToCustomerId"] = $val; + return $this; + } + + /** + * Gets the billToCustomerNumber + * + * @return string|null The billToCustomerNumber + */ + public function getBillToCustomerNumber() + { + if (array_key_exists("billToCustomerNumber", $this->_propDict)) { + return $this->_propDict["billToCustomerNumber"]; + } else { + return null; + } + } + + /** + * Sets the billToCustomerNumber + * + * @param string $val The billToCustomerNumber + * + * @return SalesQuote + */ + public function setBillToCustomerNumber($val) + { + $this->_propDict["billToCustomerNumber"] = $val; + return $this; + } + + /** + * Gets the billToName + * + * @return string|null The billToName + */ + public function getBillToName() + { + if (array_key_exists("billToName", $this->_propDict)) { + return $this->_propDict["billToName"]; + } else { + return null; + } + } + + /** + * Sets the billToName + * + * @param string $val The billToName + * + * @return SalesQuote + */ + public function setBillToName($val) + { + $this->_propDict["billToName"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return SalesQuote + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return SalesQuote + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * Gets the customerId + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * + * @param string $val The customerId + * + * @return SalesQuote + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customerName + * + * @return string|null The customerName + */ + public function getCustomerName() + { + if (array_key_exists("customerName", $this->_propDict)) { + return $this->_propDict["customerName"]; + } else { + return null; + } + } + + /** + * Sets the customerName + * + * @param string $val The customerName + * + * @return SalesQuote + */ + public function setCustomerName($val) + { + $this->_propDict["customerName"] = $val; + return $this; + } + + /** + * Gets the customerNumber + * + * @return string|null The customerNumber + */ + public function getCustomerNumber() + { + if (array_key_exists("customerNumber", $this->_propDict)) { + return $this->_propDict["customerNumber"]; + } else { + return null; + } + } + + /** + * Sets the customerNumber + * + * @param string $val The customerNumber + * + * @return SalesQuote + */ + public function setCustomerNumber($val) + { + $this->_propDict["customerNumber"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesQuote + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the documentDate + * + * @return \DateTime|null The documentDate + */ + public function getDocumentDate() + { + if (array_key_exists("documentDate", $this->_propDict)) { + if (is_a($this->_propDict["documentDate"], "\DateTime") || is_null($this->_propDict["documentDate"])) { + return $this->_propDict["documentDate"]; + } else { + $this->_propDict["documentDate"] = new \DateTime($this->_propDict["documentDate"]); + return $this->_propDict["documentDate"]; + } + } + return null; + } + + /** + * Sets the documentDate + * + * @param \DateTime $val The documentDate + * + * @return SalesQuote + */ + public function setDocumentDate($val) + { + $this->_propDict["documentDate"] = $val; + return $this; + } + + /** + * Gets the dueDate + * + * @return \DateTime|null The dueDate + */ + public function getDueDate() + { + if (array_key_exists("dueDate", $this->_propDict)) { + if (is_a($this->_propDict["dueDate"], "\DateTime") || is_null($this->_propDict["dueDate"])) { + return $this->_propDict["dueDate"]; + } else { + $this->_propDict["dueDate"] = new \DateTime($this->_propDict["dueDate"]); + return $this->_propDict["dueDate"]; + } + } + return null; + } + + /** + * Sets the dueDate + * + * @param \DateTime $val The dueDate + * + * @return SalesQuote + */ + public function setDueDate($val) + { + $this->_propDict["dueDate"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return SalesQuote + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the externalDocumentNumber + * + * @return string|null The externalDocumentNumber + */ + public function getExternalDocumentNumber() + { + if (array_key_exists("externalDocumentNumber", $this->_propDict)) { + return $this->_propDict["externalDocumentNumber"]; + } else { + return null; + } + } + + /** + * Sets the externalDocumentNumber + * + * @param string $val The externalDocumentNumber + * + * @return SalesQuote + */ + public function setExternalDocumentNumber($val) + { + $this->_propDict["externalDocumentNumber"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SalesQuote + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return SalesQuote + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the paymentTermsId + * + * @return string|null The paymentTermsId + */ + public function getPaymentTermsId() + { + if (array_key_exists("paymentTermsId", $this->_propDict)) { + return $this->_propDict["paymentTermsId"]; + } else { + return null; + } + } + + /** + * Sets the paymentTermsId + * + * @param string $val The paymentTermsId + * + * @return SalesQuote + */ + public function setPaymentTermsId($val) + { + $this->_propDict["paymentTermsId"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return SalesQuote + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the salesperson + * + * @return string|null The salesperson + */ + public function getSalesperson() + { + if (array_key_exists("salesperson", $this->_propDict)) { + return $this->_propDict["salesperson"]; + } else { + return null; + } + } + + /** + * Sets the salesperson + * + * @param string $val The salesperson + * + * @return SalesQuote + */ + public function setSalesperson($val) + { + $this->_propDict["salesperson"] = $val; + return $this; + } + + /** + * Gets the sellingPostalAddress + * + * @return PostalAddressType|null The sellingPostalAddress + */ + public function getSellingPostalAddress() + { + if (array_key_exists("sellingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["sellingPostalAddress"])) { + return $this->_propDict["sellingPostalAddress"]; + } else { + $this->_propDict["sellingPostalAddress"] = new PostalAddressType($this->_propDict["sellingPostalAddress"]); + return $this->_propDict["sellingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the sellingPostalAddress + * + * @param PostalAddressType $val The sellingPostalAddress + * + * @return SalesQuote + */ + public function setSellingPostalAddress($val) + { + $this->_propDict["sellingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the sentDate + * + * @return \DateTime|null The sentDate + */ + public function getSentDate() + { + if (array_key_exists("sentDate", $this->_propDict)) { + if (is_a($this->_propDict["sentDate"], "\DateTime") || is_null($this->_propDict["sentDate"])) { + return $this->_propDict["sentDate"]; + } else { + $this->_propDict["sentDate"] = new \DateTime($this->_propDict["sentDate"]); + return $this->_propDict["sentDate"]; + } + } + return null; + } + + /** + * Sets the sentDate + * + * @param \DateTime $val The sentDate + * + * @return SalesQuote + */ + public function setSentDate($val) + { + $this->_propDict["sentDate"] = $val; + return $this; + } + + /** + * Gets the shipmentMethodId + * + * @return string|null The shipmentMethodId + */ + public function getShipmentMethodId() + { + if (array_key_exists("shipmentMethodId", $this->_propDict)) { + return $this->_propDict["shipmentMethodId"]; + } else { + return null; + } + } + + /** + * Sets the shipmentMethodId + * + * @param string $val The shipmentMethodId + * + * @return SalesQuote + */ + public function setShipmentMethodId($val) + { + $this->_propDict["shipmentMethodId"] = $val; + return $this; + } + + /** + * Gets the shippingPostalAddress + * + * @return PostalAddressType|null The shippingPostalAddress + */ + public function getShippingPostalAddress() + { + if (array_key_exists("shippingPostalAddress", $this->_propDict)) { + if (is_a($this->_propDict["shippingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["shippingPostalAddress"])) { + return $this->_propDict["shippingPostalAddress"]; + } else { + $this->_propDict["shippingPostalAddress"] = new PostalAddressType($this->_propDict["shippingPostalAddress"]); + return $this->_propDict["shippingPostalAddress"]; + } + } + return null; + } + + /** + * Sets the shippingPostalAddress + * + * @param PostalAddressType $val The shippingPostalAddress + * + * @return SalesQuote + */ + public function setShippingPostalAddress($val) + { + $this->_propDict["shippingPostalAddress"] = $val; + return $this; + } + + /** + * Gets the shipToContact + * + * @return string|null The shipToContact + */ + public function getShipToContact() + { + if (array_key_exists("shipToContact", $this->_propDict)) { + return $this->_propDict["shipToContact"]; + } else { + return null; + } + } + + /** + * Sets the shipToContact + * + * @param string $val The shipToContact + * + * @return SalesQuote + */ + public function setShipToContact($val) + { + $this->_propDict["shipToContact"] = $val; + return $this; + } + + /** + * Gets the shipToName + * + * @return string|null The shipToName + */ + public function getShipToName() + { + if (array_key_exists("shipToName", $this->_propDict)) { + return $this->_propDict["shipToName"]; + } else { + return null; + } + } + + /** + * Sets the shipToName + * + * @param string $val The shipToName + * + * @return SalesQuote + */ + public function setShipToName($val) + { + $this->_propDict["shipToName"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The status + * + * @return SalesQuote + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the totalAmountExcludingTax + * + * @return Decimal|null The totalAmountExcludingTax + */ + public function getTotalAmountExcludingTax() + { + if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountExcludingTax"])) { + return $this->_propDict["totalAmountExcludingTax"]; + } else { + $this->_propDict["totalAmountExcludingTax"] = new Decimal($this->_propDict["totalAmountExcludingTax"]); + return $this->_propDict["totalAmountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountExcludingTax + * + * @param Decimal $val The totalAmountExcludingTax + * + * @return SalesQuote + */ + public function setTotalAmountExcludingTax($val) + { + $this->_propDict["totalAmountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the totalAmountIncludingTax + * + * @return Decimal|null The totalAmountIncludingTax + */ + public function getTotalAmountIncludingTax() + { + if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalAmountIncludingTax"])) { + return $this->_propDict["totalAmountIncludingTax"]; + } else { + $this->_propDict["totalAmountIncludingTax"] = new Decimal($this->_propDict["totalAmountIncludingTax"]); + return $this->_propDict["totalAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the totalAmountIncludingTax + * + * @param Decimal $val The totalAmountIncludingTax + * + * @return SalesQuote + */ + public function setTotalAmountIncludingTax($val) + { + $this->_propDict["totalAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesQuote + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the validUntilDate + * + * @return \DateTime|null The validUntilDate + */ + public function getValidUntilDate() + { + if (array_key_exists("validUntilDate", $this->_propDict)) { + if (is_a($this->_propDict["validUntilDate"], "\DateTime") || is_null($this->_propDict["validUntilDate"])) { + return $this->_propDict["validUntilDate"]; + } else { + $this->_propDict["validUntilDate"] = new \DateTime($this->_propDict["validUntilDate"]); + return $this->_propDict["validUntilDate"]; + } + } + return null; + } + + /** + * Sets the validUntilDate + * + * @param \DateTime $val The validUntilDate + * + * @return SalesQuote + */ + public function setValidUntilDate($val) + { + $this->_propDict["validUntilDate"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return SalesQuote + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the customer + * + * @return Customer|null The customer + */ + public function getCustomer() + { + if (array_key_exists("customer", $this->_propDict)) { + if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\Customer") || is_null($this->_propDict["customer"])) { + return $this->_propDict["customer"]; + } else { + $this->_propDict["customer"] = new Customer($this->_propDict["customer"]); + return $this->_propDict["customer"]; + } + } + return null; + } + + /** + * Sets the customer + * + * @param Customer $val The customer + * + * @return SalesQuote + */ + public function setCustomer($val) + { + $this->_propDict["customer"] = $val; + return $this; + } + + /** + * Gets the paymentTerm + * + * @return PaymentTerm|null The paymentTerm + */ + public function getPaymentTerm() + { + if (array_key_exists("paymentTerm", $this->_propDict)) { + if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\PaymentTerm") || is_null($this->_propDict["paymentTerm"])) { + return $this->_propDict["paymentTerm"]; + } else { + $this->_propDict["paymentTerm"] = new PaymentTerm($this->_propDict["paymentTerm"]); + return $this->_propDict["paymentTerm"]; + } + } + return null; + } + + /** + * Sets the paymentTerm + * + * @param PaymentTerm $val The paymentTerm + * + * @return SalesQuote + */ + public function setPaymentTerm($val) + { + $this->_propDict["paymentTerm"] = $val; + return $this; + } + + + /** + * Gets the salesQuoteLines + * + * @return array|null The salesQuoteLines + */ + public function getSalesQuoteLines() + { + if (array_key_exists("salesQuoteLines", $this->_propDict)) { + return $this->_propDict["salesQuoteLines"]; + } else { + return null; + } + } + + /** + * Sets the salesQuoteLines + * + * @param SalesQuoteLine[] $val The salesQuoteLines + * + * @return SalesQuote + */ + public function setSalesQuoteLines($val) + { + $this->_propDict["salesQuoteLines"] = $val; + return $this; + } + + /** + * Gets the shipmentMethod + * + * @return ShipmentMethod|null The shipmentMethod + */ + public function getShipmentMethod() + { + if (array_key_exists("shipmentMethod", $this->_propDict)) { + if (is_a($this->_propDict["shipmentMethod"], "\Beta\Microsoft\Graph\Model\ShipmentMethod") || is_null($this->_propDict["shipmentMethod"])) { + return $this->_propDict["shipmentMethod"]; + } else { + $this->_propDict["shipmentMethod"] = new ShipmentMethod($this->_propDict["shipmentMethod"]); + return $this->_propDict["shipmentMethod"]; + } + } + return null; + } + + /** + * Sets the shipmentMethod + * + * @param ShipmentMethod $val The shipmentMethod + * + * @return SalesQuote + */ + public function setShipmentMethod($val) + { + $this->_propDict["shipmentMethod"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuoteLine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuoteLine.php new file mode 100644 index 0000000..5096698 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuoteLine.php @@ -0,0 +1,673 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The accountId + * + * @return SalesQuoteLine + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } + + /** + * Gets the amountExcludingTax + * + * @return Decimal|null The amountExcludingTax + */ + public function getAmountExcludingTax() + { + if (array_key_exists("amountExcludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountExcludingTax"])) { + return $this->_propDict["amountExcludingTax"]; + } else { + $this->_propDict["amountExcludingTax"] = new Decimal($this->_propDict["amountExcludingTax"]); + return $this->_propDict["amountExcludingTax"]; + } + } + return null; + } + + /** + * Sets the amountExcludingTax + * + * @param Decimal $val The amountExcludingTax + * + * @return SalesQuoteLine + */ + public function setAmountExcludingTax($val) + { + $this->_propDict["amountExcludingTax"] = $val; + return $this; + } + + /** + * Gets the amountIncludingTax + * + * @return Decimal|null The amountIncludingTax + */ + public function getAmountIncludingTax() + { + if (array_key_exists("amountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["amountIncludingTax"])) { + return $this->_propDict["amountIncludingTax"]; + } else { + $this->_propDict["amountIncludingTax"] = new Decimal($this->_propDict["amountIncludingTax"]); + return $this->_propDict["amountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the amountIncludingTax + * + * @param Decimal $val The amountIncludingTax + * + * @return SalesQuoteLine + */ + public function setAmountIncludingTax($val) + { + $this->_propDict["amountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SalesQuoteLine + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discountAmount + * + * @return Decimal|null The discountAmount + */ + public function getDiscountAmount() + { + if (array_key_exists("discountAmount", $this->_propDict)) { + if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountAmount"])) { + return $this->_propDict["discountAmount"]; + } else { + $this->_propDict["discountAmount"] = new Decimal($this->_propDict["discountAmount"]); + return $this->_propDict["discountAmount"]; + } + } + return null; + } + + /** + * Sets the discountAmount + * + * @param Decimal $val The discountAmount + * + * @return SalesQuoteLine + */ + public function setDiscountAmount($val) + { + $this->_propDict["discountAmount"] = $val; + return $this; + } + + /** + * Gets the discountAppliedBeforeTax + * + * @return bool|null The discountAppliedBeforeTax + */ + public function getDiscountAppliedBeforeTax() + { + if (array_key_exists("discountAppliedBeforeTax", $this->_propDict)) { + return $this->_propDict["discountAppliedBeforeTax"]; + } else { + return null; + } + } + + /** + * Sets the discountAppliedBeforeTax + * + * @param bool $val The discountAppliedBeforeTax + * + * @return SalesQuoteLine + */ + public function setDiscountAppliedBeforeTax($val) + { + $this->_propDict["discountAppliedBeforeTax"] = boolval($val); + return $this; + } + + /** + * Gets the discountPercent + * + * @return Decimal|null The discountPercent + */ + public function getDiscountPercent() + { + if (array_key_exists("discountPercent", $this->_propDict)) { + if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["discountPercent"])) { + return $this->_propDict["discountPercent"]; + } else { + $this->_propDict["discountPercent"] = new Decimal($this->_propDict["discountPercent"]); + return $this->_propDict["discountPercent"]; + } + } + return null; + } + + /** + * Sets the discountPercent + * + * @param Decimal $val The discountPercent + * + * @return SalesQuoteLine + */ + public function setDiscountPercent($val) + { + $this->_propDict["discountPercent"] = $val; + return $this; + } + + /** + * Gets the documentId + * + * @return string|null The documentId + */ + public function getDocumentId() + { + if (array_key_exists("documentId", $this->_propDict)) { + return $this->_propDict["documentId"]; + } else { + return null; + } + } + + /** + * Sets the documentId + * + * @param string $val The documentId + * + * @return SalesQuoteLine + */ + public function setDocumentId($val) + { + $this->_propDict["documentId"] = $val; + return $this; + } + + /** + * Gets the itemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * + * @param string $val The itemId + * + * @return SalesQuoteLine + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + + /** + * Gets the lineType + * + * @return string|null The lineType + */ + public function getLineType() + { + if (array_key_exists("lineType", $this->_propDict)) { + return $this->_propDict["lineType"]; + } else { + return null; + } + } + + /** + * Sets the lineType + * + * @param string $val The lineType + * + * @return SalesQuoteLine + */ + public function setLineType($val) + { + $this->_propDict["lineType"] = $val; + return $this; + } + + /** + * Gets the netAmount + * + * @return Decimal|null The netAmount + */ + public function getNetAmount() + { + if (array_key_exists("netAmount", $this->_propDict)) { + if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmount"])) { + return $this->_propDict["netAmount"]; + } else { + $this->_propDict["netAmount"] = new Decimal($this->_propDict["netAmount"]); + return $this->_propDict["netAmount"]; + } + } + return null; + } + + /** + * Sets the netAmount + * + * @param Decimal $val The netAmount + * + * @return SalesQuoteLine + */ + public function setNetAmount($val) + { + $this->_propDict["netAmount"] = $val; + return $this; + } + + /** + * Gets the netAmountIncludingTax + * + * @return Decimal|null The netAmountIncludingTax + */ + public function getNetAmountIncludingTax() + { + if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { + if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netAmountIncludingTax"])) { + return $this->_propDict["netAmountIncludingTax"]; + } else { + $this->_propDict["netAmountIncludingTax"] = new Decimal($this->_propDict["netAmountIncludingTax"]); + return $this->_propDict["netAmountIncludingTax"]; + } + } + return null; + } + + /** + * Sets the netAmountIncludingTax + * + * @param Decimal $val The netAmountIncludingTax + * + * @return SalesQuoteLine + */ + public function setNetAmountIncludingTax($val) + { + $this->_propDict["netAmountIncludingTax"] = $val; + return $this; + } + + /** + * Gets the netTaxAmount + * + * @return Decimal|null The netTaxAmount + */ + public function getNetTaxAmount() + { + if (array_key_exists("netTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["netTaxAmount"])) { + return $this->_propDict["netTaxAmount"]; + } else { + $this->_propDict["netTaxAmount"] = new Decimal($this->_propDict["netTaxAmount"]); + return $this->_propDict["netTaxAmount"]; + } + } + return null; + } + + /** + * Sets the netTaxAmount + * + * @param Decimal $val The netTaxAmount + * + * @return SalesQuoteLine + */ + public function setNetTaxAmount($val) + { + $this->_propDict["netTaxAmount"] = $val; + return $this; + } + + /** + * Gets the quantity + * + * @return Decimal|null The quantity + */ + public function getQuantity() + { + if (array_key_exists("quantity", $this->_propDict)) { + if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["quantity"])) { + return $this->_propDict["quantity"]; + } else { + $this->_propDict["quantity"] = new Decimal($this->_propDict["quantity"]); + return $this->_propDict["quantity"]; + } + } + return null; + } + + /** + * Sets the quantity + * + * @param Decimal $val The quantity + * + * @return SalesQuoteLine + */ + public function setQuantity($val) + { + $this->_propDict["quantity"] = $val; + return $this; + } + + /** + * Gets the sequence + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * + * @param int $val The sequence + * + * @return SalesQuoteLine + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + + /** + * Gets the taxCode + * + * @return string|null The taxCode + */ + public function getTaxCode() + { + if (array_key_exists("taxCode", $this->_propDict)) { + return $this->_propDict["taxCode"]; + } else { + return null; + } + } + + /** + * Sets the taxCode + * + * @param string $val The taxCode + * + * @return SalesQuoteLine + */ + public function setTaxCode($val) + { + $this->_propDict["taxCode"] = $val; + return $this; + } + + /** + * Gets the taxPercent + * + * @return Decimal|null The taxPercent + */ + public function getTaxPercent() + { + if (array_key_exists("taxPercent", $this->_propDict)) { + if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["taxPercent"])) { + return $this->_propDict["taxPercent"]; + } else { + $this->_propDict["taxPercent"] = new Decimal($this->_propDict["taxPercent"]); + return $this->_propDict["taxPercent"]; + } + } + return null; + } + + /** + * Sets the taxPercent + * + * @param Decimal $val The taxPercent + * + * @return SalesQuoteLine + */ + public function setTaxPercent($val) + { + $this->_propDict["taxPercent"] = $val; + return $this; + } + + /** + * Gets the totalTaxAmount + * + * @return Decimal|null The totalTaxAmount + */ + public function getTotalTaxAmount() + { + if (array_key_exists("totalTaxAmount", $this->_propDict)) { + if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["totalTaxAmount"])) { + return $this->_propDict["totalTaxAmount"]; + } else { + $this->_propDict["totalTaxAmount"] = new Decimal($this->_propDict["totalTaxAmount"]); + return $this->_propDict["totalTaxAmount"]; + } + } + return null; + } + + /** + * Sets the totalTaxAmount + * + * @param Decimal $val The totalTaxAmount + * + * @return SalesQuoteLine + */ + public function setTotalTaxAmount($val) + { + $this->_propDict["totalTaxAmount"] = $val; + return $this; + } + + /** + * Gets the unitOfMeasureId + * + * @return string|null The unitOfMeasureId + */ + public function getUnitOfMeasureId() + { + if (array_key_exists("unitOfMeasureId", $this->_propDict)) { + return $this->_propDict["unitOfMeasureId"]; + } else { + return null; + } + } + + /** + * Sets the unitOfMeasureId + * + * @param string $val The unitOfMeasureId + * + * @return SalesQuoteLine + */ + public function setUnitOfMeasureId($val) + { + $this->_propDict["unitOfMeasureId"] = $val; + return $this; + } + + /** + * Gets the unitPrice + * + * @return Decimal|null The unitPrice + */ + public function getUnitPrice() + { + if (array_key_exists("unitPrice", $this->_propDict)) { + if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["unitPrice"])) { + return $this->_propDict["unitPrice"]; + } else { + $this->_propDict["unitPrice"] = new Decimal($this->_propDict["unitPrice"]); + return $this->_propDict["unitPrice"]; + } + } + return null; + } + + /** + * Sets the unitPrice + * + * @param Decimal $val The unitPrice + * + * @return SalesQuoteLine + */ + public function setUnitPrice($val) + { + $this->_propDict["unitPrice"] = $val; + return $this; + } + + /** + * Gets the account + * + * @return Account|null The account + */ + public function getAccount() + { + if (array_key_exists("account", $this->_propDict)) { + if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\Account") || is_null($this->_propDict["account"])) { + return $this->_propDict["account"]; + } else { + $this->_propDict["account"] = new Account($this->_propDict["account"]); + return $this->_propDict["account"]; + } + } + return null; + } + + /** + * Sets the account + * + * @param Account $val The account + * + * @return SalesQuoteLine + */ + public function setAccount($val) + { + $this->_propDict["account"] = $val; + return $this; + } + + /** + * Gets the item + * + * @return Item|null The item + */ + public function getItem() + { + if (array_key_exists("item", $this->_propDict)) { + if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\Item") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new Item($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * + * @param Item $val The item + * + * @return SalesQuoteLine + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlOrWsFedExternalDomainFederation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlOrWsFedExternalDomainFederation.php new file mode 100644 index 0000000..bd9b21c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlOrWsFedExternalDomainFederation.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Collection of domain names of the external organizations that the tenant is federating with. Supports $filter (eq). + * + * @param ExternalDomainName[] $val The domains + * + * @return SamlOrWsFedExternalDomainFederation + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlOrWsFedProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlOrWsFedProvider.php new file mode 100644 index 0000000..fefe2f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlOrWsFedProvider.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["issuerUri"]; + } else { + return null; + } + } + + /** + * Sets the issuerUri + * Issuer URI of the federation server. + * + * @param string $val The issuerUri + * + * @return SamlOrWsFedProvider + */ + public function setIssuerUri($val) + { + $this->_propDict["issuerUri"] = $val; + return $this; + } + + /** + * Gets the metadataExchangeUri + * URI of the metadata exchange endpoint used for authentication from rich client applications. + * + * @return string|null The metadataExchangeUri + */ + public function getMetadataExchangeUri() + { + if (array_key_exists("metadataExchangeUri", $this->_propDict)) { + return $this->_propDict["metadataExchangeUri"]; + } else { + return null; + } + } + + /** + * Sets the metadataExchangeUri + * URI of the metadata exchange endpoint used for authentication from rich client applications. + * + * @param string $val The metadataExchangeUri + * + * @return SamlOrWsFedProvider + */ + public function setMetadataExchangeUri($val) + { + $this->_propDict["metadataExchangeUri"] = $val; + return $this; + } + + /** + * Gets the passiveSignInUri + * URI that web-based clients are directed to when signing in to Azure Active Directory (Azure AD) services. + * + * @return string|null The passiveSignInUri + */ + public function getPassiveSignInUri() + { + if (array_key_exists("passiveSignInUri", $this->_propDict)) { + return $this->_propDict["passiveSignInUri"]; + } else { + return null; + } + } + + /** + * Sets the passiveSignInUri + * URI that web-based clients are directed to when signing in to Azure Active Directory (Azure AD) services. + * + * @param string $val The passiveSignInUri + * + * @return SamlOrWsFedProvider + */ + public function setPassiveSignInUri($val) + { + $this->_propDict["passiveSignInUri"] = $val; + return $this; + } + + /** + * Gets the preferredAuthenticationProtocol + * Preferred authentication protocol. Supported values include saml or wsfed. + * + * @return AuthenticationProtocol|null The preferredAuthenticationProtocol + */ + public function getPreferredAuthenticationProtocol() + { + if (array_key_exists("preferredAuthenticationProtocol", $this->_propDict)) { + if (is_a($this->_propDict["preferredAuthenticationProtocol"], "\Beta\Microsoft\Graph\Model\AuthenticationProtocol") || is_null($this->_propDict["preferredAuthenticationProtocol"])) { + return $this->_propDict["preferredAuthenticationProtocol"]; + } else { + $this->_propDict["preferredAuthenticationProtocol"] = new AuthenticationProtocol($this->_propDict["preferredAuthenticationProtocol"]); + return $this->_propDict["preferredAuthenticationProtocol"]; + } + } + return null; + } + + /** + * Sets the preferredAuthenticationProtocol + * Preferred authentication protocol. Supported values include saml or wsfed. + * + * @param AuthenticationProtocol $val The preferredAuthenticationProtocol + * + * @return SamlOrWsFedProvider + */ + public function setPreferredAuthenticationProtocol($val) + { + $this->_propDict["preferredAuthenticationProtocol"] = $val; + return $this; + } + + /** + * Gets the signingCertificate + * Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class. This property is used in the following scenarios: if a rollover is required outside of the autorollover update a new federation service is being set up if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. Azure AD updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Azure AD monitors the metadata daily and will update the federation settings for the domain when a new certificate is available. + * + * @return string|null The signingCertificate + */ + public function getSigningCertificate() + { + if (array_key_exists("signingCertificate", $this->_propDict)) { + return $this->_propDict["signingCertificate"]; + } else { + return null; + } + } + + /** + * Sets the signingCertificate + * Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class. This property is used in the following scenarios: if a rollover is required outside of the autorollover update a new federation service is being set up if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. Azure AD updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Azure AD monitors the metadata daily and will update the federation settings for the domain when a new certificate is available. + * + * @param string $val The signingCertificate + * + * @return SamlOrWsFedProvider + */ + public function setSigningCertificate($val) + { + $this->_propDict["signingCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlSingleSignOnSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlSingleSignOnSettings.php new file mode 100644 index 0000000..6a2e80e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlSingleSignOnSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["relayState"]; + } else { + return null; + } + } + + /** + * Sets the relayState + * The relative URI the service provider would redirect to after completion of the single sign-on flow. + * + * @param string $val The value of the relayState + * + * @return SamlSingleSignOnSettings + */ + public function setRelayState($val) + { + $this->_propDict["relayState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schedule.php new file mode 100644 index 0000000..6635beb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schedule.php @@ -0,0 +1,638 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates whether the schedule is enabled for the team. Required. + * + * @param bool $val The enabled + * + * @return Schedule + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the offerShiftRequestsEnabled + * Indicates whether offer shift requests are enabled for the schedule. + * + * @return bool|null The offerShiftRequestsEnabled + */ + public function getOfferShiftRequestsEnabled() + { + if (array_key_exists("offerShiftRequestsEnabled", $this->_propDict)) { + return $this->_propDict["offerShiftRequestsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the offerShiftRequestsEnabled + * Indicates whether offer shift requests are enabled for the schedule. + * + * @param bool $val The offerShiftRequestsEnabled + * + * @return Schedule + */ + public function setOfferShiftRequestsEnabled($val) + { + $this->_propDict["offerShiftRequestsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the openShiftsEnabled + * Indicates whether open shifts are enabled for the schedule. + * + * @return bool|null The openShiftsEnabled + */ + public function getOpenShiftsEnabled() + { + if (array_key_exists("openShiftsEnabled", $this->_propDict)) { + return $this->_propDict["openShiftsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the openShiftsEnabled + * Indicates whether open shifts are enabled for the schedule. + * + * @param bool $val The openShiftsEnabled + * + * @return Schedule + */ + public function setOpenShiftsEnabled($val) + { + $this->_propDict["openShiftsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the provisionStatus + * The status of the schedule provisioning. The possible values are notStarted, running, completed, failed. + * + * @return OperationStatus|null The provisionStatus + */ + public function getProvisionStatus() + { + if (array_key_exists("provisionStatus", $this->_propDict)) { + if (is_a($this->_propDict["provisionStatus"], "\Beta\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["provisionStatus"])) { + return $this->_propDict["provisionStatus"]; + } else { + $this->_propDict["provisionStatus"] = new OperationStatus($this->_propDict["provisionStatus"]); + return $this->_propDict["provisionStatus"]; + } + } + return null; + } + + /** + * Sets the provisionStatus + * The status of the schedule provisioning. The possible values are notStarted, running, completed, failed. + * + * @param OperationStatus $val The provisionStatus + * + * @return Schedule + */ + public function setProvisionStatus($val) + { + $this->_propDict["provisionStatus"] = $val; + return $this; + } + + /** + * Gets the provisionStatusCode + * Additional information about why schedule provisioning failed. + * + * @return string|null The provisionStatusCode + */ + public function getProvisionStatusCode() + { + if (array_key_exists("provisionStatusCode", $this->_propDict)) { + return $this->_propDict["provisionStatusCode"]; + } else { + return null; + } + } + + /** + * Sets the provisionStatusCode + * Additional information about why schedule provisioning failed. + * + * @param string $val The provisionStatusCode + * + * @return Schedule + */ + public function setProvisionStatusCode($val) + { + $this->_propDict["provisionStatusCode"] = $val; + return $this; + } + + /** + * Gets the swapShiftsRequestsEnabled + * Indicates whether swap shifts requests are enabled for the schedule. + * + * @return bool|null The swapShiftsRequestsEnabled + */ + public function getSwapShiftsRequestsEnabled() + { + if (array_key_exists("swapShiftsRequestsEnabled", $this->_propDict)) { + return $this->_propDict["swapShiftsRequestsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the swapShiftsRequestsEnabled + * Indicates whether swap shifts requests are enabled for the schedule. + * + * @param bool $val The swapShiftsRequestsEnabled + * + * @return Schedule + */ + public function setSwapShiftsRequestsEnabled($val) + { + $this->_propDict["swapShiftsRequestsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the timeClockEnabled + * Indicates whether time clock is enabled for the schedule. + * + * @return bool|null The timeClockEnabled + */ + public function getTimeClockEnabled() + { + if (array_key_exists("timeClockEnabled", $this->_propDict)) { + return $this->_propDict["timeClockEnabled"]; + } else { + return null; + } + } + + /** + * Sets the timeClockEnabled + * Indicates whether time clock is enabled for the schedule. + * + * @param bool $val The timeClockEnabled + * + * @return Schedule + */ + public function setTimeClockEnabled($val) + { + $this->_propDict["timeClockEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the timeClockSettings + * + * @return TimeClockSettings|null The timeClockSettings + */ + public function getTimeClockSettings() + { + if (array_key_exists("timeClockSettings", $this->_propDict)) { + if (is_a($this->_propDict["timeClockSettings"], "\Beta\Microsoft\Graph\Model\TimeClockSettings") || is_null($this->_propDict["timeClockSettings"])) { + return $this->_propDict["timeClockSettings"]; + } else { + $this->_propDict["timeClockSettings"] = new TimeClockSettings($this->_propDict["timeClockSettings"]); + return $this->_propDict["timeClockSettings"]; + } + } + return null; + } + + /** + * Sets the timeClockSettings + * + * @param TimeClockSettings $val The timeClockSettings + * + * @return Schedule + */ + public function setTimeClockSettings($val) + { + $this->_propDict["timeClockSettings"] = $val; + return $this; + } + + /** + * Gets the timeOffRequestsEnabled + * Indicates whether time off requests are enabled for the schedule. + * + * @return bool|null The timeOffRequestsEnabled + */ + public function getTimeOffRequestsEnabled() + { + if (array_key_exists("timeOffRequestsEnabled", $this->_propDict)) { + return $this->_propDict["timeOffRequestsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the timeOffRequestsEnabled + * Indicates whether time off requests are enabled for the schedule. + * + * @param bool $val The timeOffRequestsEnabled + * + * @return Schedule + */ + public function setTimeOffRequestsEnabled($val) + { + $this->_propDict["timeOffRequestsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the timeZone + * Indicates the time zone of the schedule team using tz database format. Required. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Indicates the time zone of the schedule team using tz database format. Required. + * + * @param string $val The timeZone + * + * @return Schedule + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } + + /** + * Gets the workforceIntegrationIds + * + * @return string|null The workforceIntegrationIds + */ + public function getWorkforceIntegrationIds() + { + if (array_key_exists("workforceIntegrationIds", $this->_propDict)) { + return $this->_propDict["workforceIntegrationIds"]; + } else { + return null; + } + } + + /** + * Sets the workforceIntegrationIds + * + * @param string $val The workforceIntegrationIds + * + * @return Schedule + */ + public function setWorkforceIntegrationIds($val) + { + $this->_propDict["workforceIntegrationIds"] = $val; + return $this; + } + + + /** + * Gets the offerShiftRequests + * + * @return array|null The offerShiftRequests + */ + public function getOfferShiftRequests() + { + if (array_key_exists("offerShiftRequests", $this->_propDict)) { + return $this->_propDict["offerShiftRequests"]; + } else { + return null; + } + } + + /** + * Sets the offerShiftRequests + * + * @param OfferShiftRequest[] $val The offerShiftRequests + * + * @return Schedule + */ + public function setOfferShiftRequests($val) + { + $this->_propDict["offerShiftRequests"] = $val; + return $this; + } + + + /** + * Gets the openShiftChangeRequests + * + * @return array|null The openShiftChangeRequests + */ + public function getOpenShiftChangeRequests() + { + if (array_key_exists("openShiftChangeRequests", $this->_propDict)) { + return $this->_propDict["openShiftChangeRequests"]; + } else { + return null; + } + } + + /** + * Sets the openShiftChangeRequests + * + * @param OpenShiftChangeRequest[] $val The openShiftChangeRequests + * + * @return Schedule + */ + public function setOpenShiftChangeRequests($val) + { + $this->_propDict["openShiftChangeRequests"] = $val; + return $this; + } + + + /** + * Gets the openShifts + * + * @return array|null The openShifts + */ + public function getOpenShifts() + { + if (array_key_exists("openShifts", $this->_propDict)) { + return $this->_propDict["openShifts"]; + } else { + return null; + } + } + + /** + * Sets the openShifts + * + * @param OpenShift[] $val The openShifts + * + * @return Schedule + */ + public function setOpenShifts($val) + { + $this->_propDict["openShifts"] = $val; + return $this; + } + + + /** + * Gets the schedulingGroups + * The logical grouping of users in the schedule (usually by role). + * + * @return array|null The schedulingGroups + */ + public function getSchedulingGroups() + { + if (array_key_exists("schedulingGroups", $this->_propDict)) { + return $this->_propDict["schedulingGroups"]; + } else { + return null; + } + } + + /** + * Sets the schedulingGroups + * The logical grouping of users in the schedule (usually by role). + * + * @param SchedulingGroup[] $val The schedulingGroups + * + * @return Schedule + */ + public function setSchedulingGroups($val) + { + $this->_propDict["schedulingGroups"] = $val; + return $this; + } + + + /** + * Gets the shifts + * The shifts in the schedule. + * + * @return array|null The shifts + */ + public function getShifts() + { + if (array_key_exists("shifts", $this->_propDict)) { + return $this->_propDict["shifts"]; + } else { + return null; + } + } + + /** + * Sets the shifts + * The shifts in the schedule. + * + * @param Shift[] $val The shifts + * + * @return Schedule + */ + public function setShifts($val) + { + $this->_propDict["shifts"] = $val; + return $this; + } + + + /** + * Gets the swapShiftsChangeRequests + * + * @return array|null The swapShiftsChangeRequests + */ + public function getSwapShiftsChangeRequests() + { + if (array_key_exists("swapShiftsChangeRequests", $this->_propDict)) { + return $this->_propDict["swapShiftsChangeRequests"]; + } else { + return null; + } + } + + /** + * Sets the swapShiftsChangeRequests + * + * @param SwapShiftsChangeRequest[] $val The swapShiftsChangeRequests + * + * @return Schedule + */ + public function setSwapShiftsChangeRequests($val) + { + $this->_propDict["swapShiftsChangeRequests"] = $val; + return $this; + } + + + /** + * Gets the timeCards + * + * @return array|null The timeCards + */ + public function getTimeCards() + { + if (array_key_exists("timeCards", $this->_propDict)) { + return $this->_propDict["timeCards"]; + } else { + return null; + } + } + + /** + * Sets the timeCards + * + * @param TimeCard[] $val The timeCards + * + * @return Schedule + */ + public function setTimeCards($val) + { + $this->_propDict["timeCards"] = $val; + return $this; + } + + + /** + * Gets the timeOffReasons + * The set of reasons for a time off in the schedule. + * + * @return array|null The timeOffReasons + */ + public function getTimeOffReasons() + { + if (array_key_exists("timeOffReasons", $this->_propDict)) { + return $this->_propDict["timeOffReasons"]; + } else { + return null; + } + } + + /** + * Sets the timeOffReasons + * The set of reasons for a time off in the schedule. + * + * @param TimeOffReason[] $val The timeOffReasons + * + * @return Schedule + */ + public function setTimeOffReasons($val) + { + $this->_propDict["timeOffReasons"] = $val; + return $this; + } + + + /** + * Gets the timeOffRequests + * + * @return array|null The timeOffRequests + */ + public function getTimeOffRequests() + { + if (array_key_exists("timeOffRequests", $this->_propDict)) { + return $this->_propDict["timeOffRequests"]; + } else { + return null; + } + } + + /** + * Sets the timeOffRequests + * + * @param TimeOffRequest[] $val The timeOffRequests + * + * @return Schedule + */ + public function setTimeOffRequests($val) + { + $this->_propDict["timeOffRequests"] = $val; + return $this; + } + + + /** + * Gets the timesOff + * The instances of times off in the schedule. + * + * @return array|null The timesOff + */ + public function getTimesOff() + { + if (array_key_exists("timesOff", $this->_propDict)) { + return $this->_propDict["timesOff"]; + } else { + return null; + } + } + + /** + * Sets the timesOff + * The instances of times off in the schedule. + * + * @param TimeOff[] $val The timesOff + * + * @return Schedule + */ + public function setTimesOff($val) + { + $this->_propDict["timesOff"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequest.php new file mode 100644 index 0000000..97302a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequest.php @@ -0,0 +1,259 @@ +_propDict)) { + if (is_a($this->_propDict["assignedTo"], "\Beta\Microsoft\Graph\Model\ScheduleChangeRequestActor") || is_null($this->_propDict["assignedTo"])) { + return $this->_propDict["assignedTo"]; + } else { + $this->_propDict["assignedTo"] = new ScheduleChangeRequestActor($this->_propDict["assignedTo"]); + return $this->_propDict["assignedTo"]; + } + } + return null; + } + + /** + * Sets the assignedTo + * + * @param ScheduleChangeRequestActor $val The assignedTo + * + * @return ScheduleChangeRequest + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the managerActionDateTime + * + * @return \DateTime|null The managerActionDateTime + */ + public function getManagerActionDateTime() + { + if (array_key_exists("managerActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["managerActionDateTime"], "\DateTime") || is_null($this->_propDict["managerActionDateTime"])) { + return $this->_propDict["managerActionDateTime"]; + } else { + $this->_propDict["managerActionDateTime"] = new \DateTime($this->_propDict["managerActionDateTime"]); + return $this->_propDict["managerActionDateTime"]; + } + } + return null; + } + + /** + * Sets the managerActionDateTime + * + * @param \DateTime $val The managerActionDateTime + * + * @return ScheduleChangeRequest + */ + public function setManagerActionDateTime($val) + { + $this->_propDict["managerActionDateTime"] = $val; + return $this; + } + + /** + * Gets the managerActionMessage + * + * @return string|null The managerActionMessage + */ + public function getManagerActionMessage() + { + if (array_key_exists("managerActionMessage", $this->_propDict)) { + return $this->_propDict["managerActionMessage"]; + } else { + return null; + } + } + + /** + * Sets the managerActionMessage + * + * @param string $val The managerActionMessage + * + * @return ScheduleChangeRequest + */ + public function setManagerActionMessage($val) + { + $this->_propDict["managerActionMessage"] = $val; + return $this; + } + + /** + * Gets the managerUserId + * + * @return string|null The managerUserId + */ + public function getManagerUserId() + { + if (array_key_exists("managerUserId", $this->_propDict)) { + return $this->_propDict["managerUserId"]; + } else { + return null; + } + } + + /** + * Sets the managerUserId + * + * @param string $val The managerUserId + * + * @return ScheduleChangeRequest + */ + public function setManagerUserId($val) + { + $this->_propDict["managerUserId"] = $val; + return $this; + } + + /** + * Gets the senderDateTime + * + * @return \DateTime|null The senderDateTime + */ + public function getSenderDateTime() + { + if (array_key_exists("senderDateTime", $this->_propDict)) { + if (is_a($this->_propDict["senderDateTime"], "\DateTime") || is_null($this->_propDict["senderDateTime"])) { + return $this->_propDict["senderDateTime"]; + } else { + $this->_propDict["senderDateTime"] = new \DateTime($this->_propDict["senderDateTime"]); + return $this->_propDict["senderDateTime"]; + } + } + return null; + } + + /** + * Sets the senderDateTime + * + * @param \DateTime $val The senderDateTime + * + * @return ScheduleChangeRequest + */ + public function setSenderDateTime($val) + { + $this->_propDict["senderDateTime"] = $val; + return $this; + } + + /** + * Gets the senderMessage + * + * @return string|null The senderMessage + */ + public function getSenderMessage() + { + if (array_key_exists("senderMessage", $this->_propDict)) { + return $this->_propDict["senderMessage"]; + } else { + return null; + } + } + + /** + * Sets the senderMessage + * + * @param string $val The senderMessage + * + * @return ScheduleChangeRequest + */ + public function setSenderMessage($val) + { + $this->_propDict["senderMessage"] = $val; + return $this; + } + + /** + * Gets the senderUserId + * + * @return string|null The senderUserId + */ + public function getSenderUserId() + { + if (array_key_exists("senderUserId", $this->_propDict)) { + return $this->_propDict["senderUserId"]; + } else { + return null; + } + } + + /** + * Sets the senderUserId + * + * @param string $val The senderUserId + * + * @return ScheduleChangeRequest + */ + public function setSenderUserId($val) + { + $this->_propDict["senderUserId"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return ScheduleChangeState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ScheduleChangeState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ScheduleChangeState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param ScheduleChangeState $val The state + * + * @return ScheduleChangeRequest + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequestActor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequestActor.php new file mode 100644 index 0000000..bc28de5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequestActor.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return ScheduleEntity The ScheduleEntity + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return ScheduleEntity The ScheduleEntity + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the theme + * + * @return ScheduleEntityTheme|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + if (is_a($this->_propDict["theme"], "\Beta\Microsoft\Graph\Model\ScheduleEntityTheme") || is_null($this->_propDict["theme"])) { + return $this->_propDict["theme"]; + } else { + $this->_propDict["theme"] = new ScheduleEntityTheme($this->_propDict["theme"]); + return $this->_propDict["theme"]; + } + } + return null; + } + + /** + * Sets the theme + * + * @param ScheduleEntityTheme $val The value to assign to the theme + * + * @return ScheduleEntity The ScheduleEntity + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleEntityTheme.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleEntityTheme.php new file mode 100644 index 0000000..b135f71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleEntityTheme.php @@ -0,0 +1,45 @@ +_propDict)) { + return $this->_propDict["availabilityView"]; + } else { + return null; + } + } + + /** + * Sets the availabilityView + * Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free, 1= tentative, 2= busy, 3= out of office, 4= working elsewhere. + * + * @param string $val The value of the availabilityView + * + * @return ScheduleInformation + */ + public function setAvailabilityView($val) + { + $this->_propDict["availabilityView"] = $val; + return $this; + } + + /** + * Gets the error + * Error information from attempting to get the availability of the user, distribution list, or resource. + * + * @return FreeBusyError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\FreeBusyError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new FreeBusyError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Error information from attempting to get the availability of the user, distribution list, or resource. + * + * @param FreeBusyError $val The value to assign to the error + * + * @return ScheduleInformation The ScheduleInformation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the scheduleId + * An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation. + * + * @return string|null The scheduleId + */ + public function getScheduleId() + { + if (array_key_exists("scheduleId", $this->_propDict)) { + return $this->_propDict["scheduleId"]; + } else { + return null; + } + } + + /** + * Sets the scheduleId + * An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation. + * + * @param string $val The value of the scheduleId + * + * @return ScheduleInformation + */ + public function setScheduleId($val) + { + $this->_propDict["scheduleId"] = $val; + return $this; + } + + /** + * Gets the scheduleItems + * Contains the items that describe the availability of the user or resource. + * + * @return ScheduleItem|null The scheduleItems + */ + public function getScheduleItems() + { + if (array_key_exists("scheduleItems", $this->_propDict)) { + if (is_a($this->_propDict["scheduleItems"], "\Beta\Microsoft\Graph\Model\ScheduleItem") || is_null($this->_propDict["scheduleItems"])) { + return $this->_propDict["scheduleItems"]; + } else { + $this->_propDict["scheduleItems"] = new ScheduleItem($this->_propDict["scheduleItems"]); + return $this->_propDict["scheduleItems"]; + } + } + return null; + } + + /** + * Sets the scheduleItems + * Contains the items that describe the availability of the user or resource. + * + * @param ScheduleItem $val The value to assign to the scheduleItems + * + * @return ScheduleInformation The ScheduleInformation + */ + public function setScheduleItems($val) + { + $this->_propDict["scheduleItems"] = $val; + return $this; + } + + /** + * Gets the workingHours + * The days of the week and hours in a specific time zone that the user works. These are set as part of the user's mailboxSettings. + * + * @return WorkingHours|null The workingHours + */ + public function getWorkingHours() + { + if (array_key_exists("workingHours", $this->_propDict)) { + if (is_a($this->_propDict["workingHours"], "\Beta\Microsoft\Graph\Model\WorkingHours") || is_null($this->_propDict["workingHours"])) { + return $this->_propDict["workingHours"]; + } else { + $this->_propDict["workingHours"] = new WorkingHours($this->_propDict["workingHours"]); + return $this->_propDict["workingHours"]; + } + } + return null; + } + + /** + * Sets the workingHours + * The days of the week and hours in a specific time zone that the user works. These are set as part of the user's mailboxSettings. + * + * @param WorkingHours $val The value to assign to the workingHours + * + * @return ScheduleInformation The ScheduleInformation + */ + public function setWorkingHours($val) + { + $this->_propDict["workingHours"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleItem.php new file mode 100644 index 0000000..a6af29a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleItem.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that the corresponding event ends. + * + * @param DateTimeTimeZone $val The value to assign to the end + * + * @return ScheduleItem The ScheduleItem + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + /** + * Gets the isPrivate + * The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional. + * + * @return bool|null The isPrivate + */ + public function getIsPrivate() + { + if (array_key_exists("isPrivate", $this->_propDict)) { + return $this->_propDict["isPrivate"]; + } else { + return null; + } + } + + /** + * Sets the isPrivate + * The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional. + * + * @param bool $val The value of the isPrivate + * + * @return ScheduleItem + */ + public function setIsPrivate($val) + { + $this->_propDict["isPrivate"] = $val; + return $this; + } + /** + * Gets the location + * The location where the corresponding event is held or attended from. Optional. + * + * @return string|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * The location where the corresponding event is held or attended from. Optional. + * + * @param string $val The value of the location + * + * @return ScheduleItem + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the start + * The date, time, and time zone that the corresponding event starts. + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The date, time, and time zone that the corresponding event starts. + * + * @param DateTimeTimeZone $val The value to assign to the start + * + * @return ScheduleItem The ScheduleItem + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } + + /** + * Gets the status + * The availability status of the user or resource during the corresponding event. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @return FreeBusyStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new FreeBusyStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The availability status of the user or resource during the corresponding event. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @param FreeBusyStatus $val The value to assign to the status + * + * @return ScheduleItem The ScheduleItem + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + /** + * Gets the subject + * The corresponding event's subject line. Optional. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The corresponding event's subject line. Optional. + * + * @param string $val The value of the subject + * + * @return ScheduleItem + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduledRetireState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduledRetireState.php new file mode 100644 index 0000000..032d393 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduledRetireState.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the schedulingGroup. Required. + * + * @param string $val The displayName + * + * @return SchedulingGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required. + * + * @param bool $val The isActive + * + * @return SchedulingGroup + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the userIds + * The list of user IDs that are a member of the schedulingGroup. Required. + * + * @return string|null The userIds + */ + public function getUserIds() + { + if (array_key_exists("userIds", $this->_propDict)) { + return $this->_propDict["userIds"]; + } else { + return null; + } + } + + /** + * Sets the userIds + * The list of user IDs that are a member of the schedulingGroup. Required. + * + * @param string $val The userIds + * + * @return SchedulingGroup + */ + public function setUserIds($val) + { + $this->_propDict["userIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schema.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schema.php new file mode 100644 index 0000000..f8c15df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schema.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["baseType"]; + } else { + return null; + } + } + + /** + * Sets the baseType + * + * @param string $val The baseType + * + * @return Schema + */ + public function setBaseType($val) + { + $this->_propDict["baseType"] = $val; + return $this; + } + + + /** + * Gets the schemaProperties + * + * @return array|null The schemaProperties + */ + public function getSchemaProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the schemaProperties + * + * @param Property[] $val The schemaProperties + * + * @return Schema + */ + public function setSchemaProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SchemaExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SchemaExtension.php new file mode 100644 index 0000000..9cf4940 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SchemaExtension.php @@ -0,0 +1,173 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the schema extension. Supports $filter (eq). + * + * @param string $val The description + * + * @return SchemaExtension + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the owner + * The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. So, for example, if creating a new schema extension definition using Graph Explorer, you must supply the owner property. Once set, this property is read-only and cannot be changed. Supports $filter (eq). + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. So, for example, if creating a new schema extension definition using Graph Explorer, you must supply the owner property. Once set, this property is read-only and cannot be changed. Supports $filter (eq). + * + * @param string $val The owner + * + * @return SchemaExtension + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + + /** + * Gets the schemaExtensionProperties + * The collection of property names and types that make up the schema extension definition. + * + * @return array|null The schemaExtensionProperties + */ + public function getSchemaExtensionProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the schemaExtensionProperties + * The collection of property names and types that make up the schema extension definition. + * + * @param ExtensionSchemaProperty[] $val The schemaExtensionProperties + * + * @return SchemaExtension + */ + public function setSchemaExtensionProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + + /** + * Gets the status + * The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. Supports $filter (eq). + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. Supports $filter (eq). + * + * @param string $val The status + * + * @return SchemaExtension + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the targetTypes + * Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, or user. + * + * @return string|null The targetTypes + */ + public function getTargetTypes() + { + if (array_key_exists("targetTypes", $this->_propDict)) { + return $this->_propDict["targetTypes"]; + } else { + return null; + } + } + + /** + * Sets the targetTypes + * Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, or user. + * + * @param string $val The targetTypes + * + * @return SchemaExtension + */ + public function setTargetTypes($val) + { + $this->_propDict["targetTypes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScopeOperatorMultiValuedComparisonType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScopeOperatorMultiValuedComparisonType.php new file mode 100644 index 0000000..8bfb0fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScopeOperatorMultiValuedComparisonType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["administrativeUnitId"]; + } else { + return null; + } + } + + /** + * Sets the administrativeUnitId + * Unique identifier for the administrative unit that the directory role is scoped to + * + * @param string $val The administrativeUnitId + * + * @return ScopedRoleMembership + */ + public function setAdministrativeUnitId($val) + { + $this->_propDict["administrativeUnitId"] = $val; + return $this; + } + + /** + * Gets the roleId + * Unique identifier for the directory role that the member is in. + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * Unique identifier for the directory role that the member is in. + * + * @param string $val The roleId + * + * @return ScopedRoleMembership + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + + /** + * Gets the roleMemberInfo + * Role member identity information. Represents the user that is a member of this scoped-role. + * + * @return Identity|null The roleMemberInfo + */ + public function getRoleMemberInfo() + { + if (array_key_exists("roleMemberInfo", $this->_propDict)) { + if (is_a($this->_propDict["roleMemberInfo"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["roleMemberInfo"])) { + return $this->_propDict["roleMemberInfo"]; + } else { + $this->_propDict["roleMemberInfo"] = new Identity($this->_propDict["roleMemberInfo"]); + return $this->_propDict["roleMemberInfo"]; + } + } + return null; + } + + /** + * Sets the roleMemberInfo + * Role member identity information. Represents the user that is a member of this scoped-role. + * + * @param Identity $val The roleMemberInfo + * + * @return ScopedRoleMembership + */ + public function setRoleMemberInfo($val) + { + $this->_propDict["roleMemberInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScreenSharingRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScreenSharingRole.php new file mode 100644 index 0000000..a798ae3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScreenSharingRole.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["buckets"], "\Beta\Microsoft\Graph\Model\SearchBucket") || is_null($this->_propDict["buckets"])) { + return $this->_propDict["buckets"]; + } else { + $this->_propDict["buckets"] = new SearchBucket($this->_propDict["buckets"]); + return $this->_propDict["buckets"]; + } + } + return null; + } + + /** + * Sets the buckets + * Defines the actual buckets of the computed aggregation. + * + * @param SearchBucket $val The value to assign to the buckets + * + * @return SearchAggregation The SearchAggregation + */ + public function setBuckets($val) + { + $this->_propDict["buckets"] = $val; + return $this; + } + /** + * Gets the field + * Defines on which field the aggregation was computed on. + * + * @return string|null The field + */ + public function getField() + { + if (array_key_exists("field", $this->_propDict)) { + return $this->_propDict["field"]; + } else { + return null; + } + } + + /** + * Sets the field + * Defines on which field the aggregation was computed on. + * + * @param string $val The value of the field + * + * @return SearchAggregation + */ + public function setField($val) + { + $this->_propDict["field"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlteration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlteration.php new file mode 100644 index 0000000..b961f9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlteration.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["alteredHighlightedQueryString"]; + } else { + return null; + } + } + + /** + * Sets the alteredHighlightedQueryString + * Defines the altered highlighted query string with spelling correction. The annotation around the corrected segment is (/ue000, /ue001) + * + * @param string $val The value of the alteredHighlightedQueryString + * + * @return SearchAlteration + */ + public function setAlteredHighlightedQueryString($val) + { + $this->_propDict["alteredHighlightedQueryString"] = $val; + return $this; + } + /** + * Gets the alteredQueryString + * Defines the altered query string with spelling correction. + * + * @return string|null The alteredQueryString + */ + public function getAlteredQueryString() + { + if (array_key_exists("alteredQueryString", $this->_propDict)) { + return $this->_propDict["alteredQueryString"]; + } else { + return null; + } + } + + /** + * Sets the alteredQueryString + * Defines the altered query string with spelling correction. + * + * @param string $val The value of the alteredQueryString + * + * @return SearchAlteration + */ + public function setAlteredQueryString($val) + { + $this->_propDict["alteredQueryString"] = $val; + return $this; + } + + /** + * Gets the alteredQueryTokens + * Represents changed segments with respect to original query. + * + * @return AlteredQueryToken|null The alteredQueryTokens + */ + public function getAlteredQueryTokens() + { + if (array_key_exists("alteredQueryTokens", $this->_propDict)) { + if (is_a($this->_propDict["alteredQueryTokens"], "\Beta\Microsoft\Graph\Model\AlteredQueryToken") || is_null($this->_propDict["alteredQueryTokens"])) { + return $this->_propDict["alteredQueryTokens"]; + } else { + $this->_propDict["alteredQueryTokens"] = new AlteredQueryToken($this->_propDict["alteredQueryTokens"]); + return $this->_propDict["alteredQueryTokens"]; + } + } + return null; + } + + /** + * Sets the alteredQueryTokens + * Represents changed segments with respect to original query. + * + * @param AlteredQueryToken $val The value to assign to the alteredQueryTokens + * + * @return SearchAlteration The SearchAlteration + */ + public function setAlteredQueryTokens($val) + { + $this->_propDict["alteredQueryTokens"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationOptions.php new file mode 100644 index 0000000..195ebb0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationOptions.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["enableModification"]; + } else { + return null; + } + } + + /** + * Sets the enableModification + * Indicates whether spelling modifications are enabled. If enabled, user will get the search results for corrected query when there are no results for the original query with typos and get the spelling modification information in queryAlterationResponse property of the response. Optional. + * + * @param bool $val The value of the enableModification + * + * @return SearchAlterationOptions + */ + public function setEnableModification($val) + { + $this->_propDict["enableModification"] = $val; + return $this; + } + /** + * Gets the enableSuggestion + * Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. + * + * @return bool|null The enableSuggestion + */ + public function getEnableSuggestion() + { + if (array_key_exists("enableSuggestion", $this->_propDict)) { + return $this->_propDict["enableSuggestion"]; + } else { + return null; + } + } + + /** + * Sets the enableSuggestion + * Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. + * + * @param bool $val The value of the enableSuggestion + * + * @return SearchAlterationOptions + */ + public function setEnableSuggestion($val) + { + $this->_propDict["enableSuggestion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationType.php new file mode 100644 index 0000000..a89ac9b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["aggregationFilterToken"]; + } else { + return null; + } + } + + /** + * Sets the aggregationFilterToken + * A token containing the encoded filter to aggregate search matches by the specific key value. To use the filter, pass the token as part of the aggregationFilter property in a searchRequest object, in the format '{field}:/'{aggregationFilterToken}/''. See an example. + * + * @param string $val The value of the aggregationFilterToken + * + * @return SearchBucket + */ + public function setAggregationFilterToken($val) + { + $this->_propDict["aggregationFilterToken"] = $val; + return $this; + } + /** + * Gets the count + * The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches. + * + * @return int|null The count + */ + public function getCount() + { + if (array_key_exists("count", $this->_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches. + * + * @param int $val The value of the count + * + * @return SearchBucket + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + /** + * Gets the key + * The discrete value of the field that an aggregation was computed on. + * + * @return string|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * The discrete value of the field that an aggregation was computed on. + * + * @param string $val The value of the key + * + * @return SearchBucket + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchEntity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchEntity.php new file mode 100644 index 0000000..4ac8ddd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchEntity.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["acronyms"]; + } else { + return null; + } + } + + /** + * Sets the acronyms + * Administrative answer in Microsoft Search results to define common acronyms in a organization. + * + * @param \Beta\Microsoft\Graph\Search\Model\Acronym[] $val The acronyms + * + * @return SearchEntity + */ + public function setAcronyms($val) + { + $this->_propDict["acronyms"] = $val; + return $this; + } + + + /** + * Gets the bookmarks + * Administrative answer in Microsoft Search results for common search queries in an organization. + * + * @return array|null The bookmarks + */ + public function getBookmarks() + { + if (array_key_exists("bookmarks", $this->_propDict)) { + return $this->_propDict["bookmarks"]; + } else { + return null; + } + } + + /** + * Sets the bookmarks + * Administrative answer in Microsoft Search results for common search queries in an organization. + * + * @param \Beta\Microsoft\Graph\Search\Model\Bookmark[] $val The bookmarks + * + * @return SearchEntity + */ + public function setBookmarks($val) + { + $this->_propDict["bookmarks"] = $val; + return $this; + } + + + /** + * Gets the qnas + * Administrative answer in Microsoft Search results which provide answers for specific search keywords in an organization. + * + * @return array|null The qnas + */ + public function getQnas() + { + if (array_key_exists("qnas", $this->_propDict)) { + return $this->_propDict["qnas"]; + } else { + return null; + } + } + + /** + * Sets the qnas + * Administrative answer in Microsoft Search results which provide answers for specific search keywords in an organization. + * + * @param \Beta\Microsoft\Graph\Search\Model\Qna[] $val The qnas + * + * @return SearchEntity + */ + public function setQnas($val) + { + $this->_propDict["qnas"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHit.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHit.php new file mode 100644 index 0000000..68911c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHit.php @@ -0,0 +1,306 @@ +_propDict)) { + return $this->_propDict["contentSource"]; + } else { + return null; + } + } + + /** + * Sets the contentSource + * The name of the content source which the externalItem is part of . + * + * @param string $val The value of the contentSource + * + * @return SearchHit + */ + public function setContentSource($val) + { + $this->_propDict["contentSource"] = $val; + return $this; + } + /** + * Gets the hitId + * The internal identifier for the item. + * + * @return string|null The hitId + */ + public function getHitId() + { + if (array_key_exists("hitId", $this->_propDict)) { + return $this->_propDict["hitId"]; + } else { + return null; + } + } + + /** + * Sets the hitId + * The internal identifier for the item. + * + * @param string $val The value of the hitId + * + * @return SearchHit + */ + public function setHitId($val) + { + $this->_propDict["hitId"] = $val; + return $this; + } + /** + * Gets the rank + * The rank or the order of the result. + * + * @return int|null The rank + */ + public function getRank() + { + if (array_key_exists("rank", $this->_propDict)) { + return $this->_propDict["rank"]; + } else { + return null; + } + } + + /** + * Sets the rank + * The rank or the order of the result. + * + * @param int $val The value of the rank + * + * @return SearchHit + */ + public function setRank($val) + { + $this->_propDict["rank"] = $val; + return $this; + } + /** + * Gets the resultTemplateId + * ID of the result template for rendering the search result. This ID must map to a display layout in the resultTemplates dictionary, included in the searchresponse as well. + * + * @return string|null The resultTemplateId + */ + public function getResultTemplateId() + { + if (array_key_exists("resultTemplateId", $this->_propDict)) { + return $this->_propDict["resultTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the resultTemplateId + * ID of the result template for rendering the search result. This ID must map to a display layout in the resultTemplates dictionary, included in the searchresponse as well. + * + * @param string $val The value of the resultTemplateId + * + * @return SearchHit + */ + public function setResultTemplateId($val) + { + $this->_propDict["resultTemplateId"] = $val; + return $this; + } + /** + * Gets the summary + * A summary of the result, if a summary is available. + * + * @return string|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + return $this->_propDict["summary"]; + } else { + return null; + } + } + + /** + * Sets the summary + * A summary of the result, if a summary is available. + * + * @param string $val The value of the summary + * + * @return SearchHit + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } + /** + * Gets the _id + * + * @return string|null The _id + */ + public function get_id() + { + 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 SearchHit + */ + public function set_id($val) + { + $this->_propDict["_id"] = $val; + return $this; + } + /** + * Gets the _score + * + * @return int|null The _score + */ + public function get_score() + { + if (array_key_exists("_score", $this->_propDict)) { + return $this->_propDict["_score"]; + } else { + return null; + } + } + + /** + * Sets the _score + * + * @param int $val The value of the _score + * + * @return SearchHit + */ + public function set_score($val) + { + $this->_propDict["_score"] = $val; + return $this; + } + /** + * Gets the _summary + * + * @return string|null The _summary + */ + public function get_summary() + { + if (array_key_exists("_summary", $this->_propDict)) { + return $this->_propDict["_summary"]; + } else { + return null; + } + } + + /** + * Sets the _summary + * + * @param string $val The value of the _summary + * + * @return SearchHit + */ + public function set_summary($val) + { + $this->_propDict["_summary"] = $val; + return $this; + } + + /** + * Gets the resource + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * + * @param Entity $val The value to assign to the resource + * + * @return SearchHit The SearchHit + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the _source + * + * @return Entity|null The _source + */ + public function get_source() + { + if (array_key_exists("_source", $this->_propDict)) { + if (is_a($this->_propDict["_source"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["_source"])) { + return $this->_propDict["_source"]; + } else { + $this->_propDict["_source"] = new Entity($this->_propDict["_source"]); + return $this->_propDict["_source"]; + } + } + return null; + } + + /** + * Sets the _source + * + * @param Entity $val The value to assign to the _source + * + * @return SearchHit The SearchHit + */ + public function set_source($val) + { + $this->_propDict["_source"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHitsContainer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHitsContainer.php new file mode 100644 index 0000000..28333ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHitsContainer.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["aggregations"], "\Beta\Microsoft\Graph\Model\SearchAggregation") || is_null($this->_propDict["aggregations"])) { + return $this->_propDict["aggregations"]; + } else { + $this->_propDict["aggregations"] = new SearchAggregation($this->_propDict["aggregations"]); + return $this->_propDict["aggregations"]; + } + } + return null; + } + + /** + * Sets the aggregations + * Contains the collection of aggregations computed based on the provided aggregationOption specified in the request. + * + * @param SearchAggregation $val The value to assign to the aggregations + * + * @return SearchHitsContainer The SearchHitsContainer + */ + public function setAggregations($val) + { + $this->_propDict["aggregations"] = $val; + return $this; + } + + /** + * Gets the hits + * A collection of the search results. + * + * @return SearchHit|null The hits + */ + public function getHits() + { + if (array_key_exists("hits", $this->_propDict)) { + if (is_a($this->_propDict["hits"], "\Beta\Microsoft\Graph\Model\SearchHit") || is_null($this->_propDict["hits"])) { + return $this->_propDict["hits"]; + } else { + $this->_propDict["hits"] = new SearchHit($this->_propDict["hits"]); + return $this->_propDict["hits"]; + } + } + return null; + } + + /** + * Sets the hits + * A collection of the search results. + * + * @param SearchHit $val The value to assign to the hits + * + * @return SearchHitsContainer The SearchHitsContainer + */ + public function setHits($val) + { + $this->_propDict["hits"] = $val; + return $this; + } + /** + * Gets the moreResultsAvailable + * Provides information if more results are available. Based on this information, you can adjust the from and size properties of the searchRequest accordingly. + * + * @return bool|null The moreResultsAvailable + */ + public function getMoreResultsAvailable() + { + if (array_key_exists("moreResultsAvailable", $this->_propDict)) { + return $this->_propDict["moreResultsAvailable"]; + } else { + return null; + } + } + + /** + * Sets the moreResultsAvailable + * Provides information if more results are available. Based on this information, you can adjust the from and size properties of the searchRequest accordingly. + * + * @param bool $val The value of the moreResultsAvailable + * + * @return SearchHitsContainer + */ + public function setMoreResultsAvailable($val) + { + $this->_propDict["moreResultsAvailable"] = $val; + return $this; + } + /** + * Gets the total + * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. + * + * @param int $val The value of the total + * + * @return SearchHitsContainer + */ + public function setTotal($val) + { + $this->_propDict["total"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQuery.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQuery.php new file mode 100644 index 0000000..496d825 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQuery.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["queryString"]; + } else { + return null; + } + } + + /** + * Sets the queryString + * The search query containing the search terms. Required. + * + * @param string $val The value of the queryString + * + * @return SearchQuery + */ + public function setQueryString($val) + { + $this->_propDict["queryString"] = $val; + return $this; + } + /** + * Gets the queryTemplate + * Provides a way to decorate the query string. Supports both KQL and query variables. Optional. + * + * @return string|null The queryTemplate + */ + public function getQueryTemplate() + { + if (array_key_exists("queryTemplate", $this->_propDict)) { + return $this->_propDict["queryTemplate"]; + } else { + return null; + } + } + + /** + * Sets the queryTemplate + * Provides a way to decorate the query string. Supports both KQL and query variables. Optional. + * + * @param string $val The value of the queryTemplate + * + * @return SearchQuery + */ + public function setQueryTemplate($val) + { + $this->_propDict["queryTemplate"] = $val; + return $this; + } + + /** + * Gets the query_string + * + * @return SearchQueryString|null The query_string + */ + public function getQuery_string() + { + if (array_key_exists("queryString", $this->_propDict)) { + if (is_a($this->_propDict["queryString"], "\Beta\Microsoft\Graph\Model\SearchQueryString") || is_null($this->_propDict["queryString"])) { + return $this->_propDict["queryString"]; + } else { + $this->_propDict["queryString"] = new SearchQueryString($this->_propDict["queryString"]); + return $this->_propDict["queryString"]; + } + } + return null; + } + + /** + * Sets the query_string + * + * @param SearchQueryString $val The value to assign to the query_string + * + * @return SearchQuery The SearchQuery + */ + public function setQuery_string($val) + { + $this->_propDict["query_string"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQueryString.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQueryString.php new file mode 100644 index 0000000..37ba6d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQueryString.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * Contains the actual search terms of the request. + * + * @param string $val The value of the query + * + * @return SearchQueryString + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchRequest.php new file mode 100644 index 0000000..7248c49 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchRequest.php @@ -0,0 +1,472 @@ +_propDict)) { + return $this->_propDict["aggregationFilters"]; + } else { + return null; + } + } + + /** + * Sets the aggregationFilters + * Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the searchBucket that filters results to the specific value of the field, use the string in its aggregationFilterToken property, and build an aggregation filter string in the format '{field}:/'{aggregationFilterToken}/''. If multiple values for the same field need to be provided, use the strings in its aggregationFilterToken property and build an aggregation filter string in the format '{field}:or(/'{aggregationFilterToken1}/',/'{aggregationFilterToken2}/')'. For example, searching and aggregating drive items by file type returns a searchBucket for the file type docx in the response. You can conveniently use the aggregationFilterToken returned for this searchBucket in a subsequent search query and filter matches down to drive items of the docx file type. Example 1 and example 2 show the actual requests and responses. + * + * @param string $val The value of the aggregationFilters + * + * @return SearchRequest + */ + public function setAggregationFilters($val) + { + $this->_propDict["aggregationFilters"] = $val; + return $this; + } + + /** + * Gets the aggregations + * Specifies aggregations (also known as refiners) to be returned alongside search results. Optional. + * + * @return AggregationOption|null The aggregations + */ + public function getAggregations() + { + if (array_key_exists("aggregations", $this->_propDict)) { + if (is_a($this->_propDict["aggregations"], "\Beta\Microsoft\Graph\Model\AggregationOption") || is_null($this->_propDict["aggregations"])) { + return $this->_propDict["aggregations"]; + } else { + $this->_propDict["aggregations"] = new AggregationOption($this->_propDict["aggregations"]); + return $this->_propDict["aggregations"]; + } + } + return null; + } + + /** + * Sets the aggregations + * Specifies aggregations (also known as refiners) to be returned alongside search results. Optional. + * + * @param AggregationOption $val The value to assign to the aggregations + * + * @return SearchRequest The SearchRequest + */ + public function setAggregations($val) + { + $this->_propDict["aggregations"] = $val; + return $this; + } + /** + * Gets the contentSources + * Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. + * + * @return string|null The contentSources + */ + public function getContentSources() + { + if (array_key_exists("contentSources", $this->_propDict)) { + return $this->_propDict["contentSources"]; + } else { + return null; + } + } + + /** + * Sets the contentSources + * Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. + * + * @param string $val The value of the contentSources + * + * @return SearchRequest + */ + public function setContentSources($val) + { + $this->_propDict["contentSources"] = $val; + return $this; + } + /** + * Gets the enableTopResults + * This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. + * + * @return bool|null The enableTopResults + */ + public function getEnableTopResults() + { + if (array_key_exists("enableTopResults", $this->_propDict)) { + return $this->_propDict["enableTopResults"]; + } else { + return null; + } + } + + /** + * Sets the enableTopResults + * This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. + * + * @param bool $val The value of the enableTopResults + * + * @return SearchRequest + */ + public function setEnableTopResults($val) + { + $this->_propDict["enableTopResults"] = $val; + return $this; + } + + /** + * Gets the entityTypes + * One or more types of resources expected in the response. Possible values are: list, site, listItem, message, event, drive, driveItem, person, externalItem. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. + * + * @return EntityType|null The entityTypes + */ + public function getEntityTypes() + { + if (array_key_exists("entityTypes", $this->_propDict)) { + if (is_a($this->_propDict["entityTypes"], "\Beta\Microsoft\Graph\Model\EntityType") || is_null($this->_propDict["entityTypes"])) { + return $this->_propDict["entityTypes"]; + } else { + $this->_propDict["entityTypes"] = new EntityType($this->_propDict["entityTypes"]); + return $this->_propDict["entityTypes"]; + } + } + return null; + } + + /** + * Sets the entityTypes + * One or more types of resources expected in the response. Possible values are: list, site, listItem, message, event, drive, driveItem, person, externalItem. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. + * + * @param EntityType $val The value to assign to the entityTypes + * + * @return SearchRequest The SearchRequest + */ + public function setEntityTypes($val) + { + $this->_propDict["entityTypes"] = $val; + return $this; + } + /** + * Gets the fields + * Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + * + * @return string|null The fields + */ + public function getFields() + { + if (array_key_exists("fields", $this->_propDict)) { + return $this->_propDict["fields"]; + } else { + return null; + } + } + + /** + * Sets the fields + * Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + * + * @param string $val The value of the fields + * + * @return SearchRequest + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + /** + * Gets the from + * Specifies the offset for the search results. Offset 0 returns the very first result. Optional. + * + * @return int|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + return $this->_propDict["from"]; + } else { + return null; + } + } + + /** + * Sets the from + * Specifies the offset for the search results. Offset 0 returns the very first result. Optional. + * + * @param int $val The value of the from + * + * @return SearchRequest + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the query + * Contains the query terms. Required. + * + * @return SearchQuery|null The query + */ + public function getQuery() + { + if (array_key_exists("query", $this->_propDict)) { + if (is_a($this->_propDict["query"], "\Beta\Microsoft\Graph\Model\SearchQuery") || is_null($this->_propDict["query"])) { + return $this->_propDict["query"]; + } else { + $this->_propDict["query"] = new SearchQuery($this->_propDict["query"]); + return $this->_propDict["query"]; + } + } + return null; + } + + /** + * Sets the query + * Contains the query terms. Required. + * + * @param SearchQuery $val The value to assign to the query + * + * @return SearchRequest The SearchRequest + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + + /** + * Gets the queryAlterationOptions + * Provides query alteration options formatted as a JSON blob that contains two optional flags related to spelling correction. Optional. + * + * @return SearchAlterationOptions|null The queryAlterationOptions + */ + public function getQueryAlterationOptions() + { + if (array_key_exists("queryAlterationOptions", $this->_propDict)) { + if (is_a($this->_propDict["queryAlterationOptions"], "\Beta\Microsoft\Graph\Model\SearchAlterationOptions") || is_null($this->_propDict["queryAlterationOptions"])) { + return $this->_propDict["queryAlterationOptions"]; + } else { + $this->_propDict["queryAlterationOptions"] = new SearchAlterationOptions($this->_propDict["queryAlterationOptions"]); + return $this->_propDict["queryAlterationOptions"]; + } + } + return null; + } + + /** + * Sets the queryAlterationOptions + * Provides query alteration options formatted as a JSON blob that contains two optional flags related to spelling correction. Optional. + * + * @param SearchAlterationOptions $val The value to assign to the queryAlterationOptions + * + * @return SearchRequest The SearchRequest + */ + public function setQueryAlterationOptions($val) + { + $this->_propDict["queryAlterationOptions"] = $val; + return $this; + } + /** + * Gets the region + * + * @return string|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + return $this->_propDict["region"]; + } else { + return null; + } + } + + /** + * Sets the region + * + * @param string $val The value of the region + * + * @return SearchRequest + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } + + /** + * Gets the resultTemplateOptions + * Provides the search result templates options for rendering connectors search results. + * + * @return ResultTemplateOption|null The resultTemplateOptions + */ + public function getResultTemplateOptions() + { + if (array_key_exists("resultTemplateOptions", $this->_propDict)) { + if (is_a($this->_propDict["resultTemplateOptions"], "\Beta\Microsoft\Graph\Model\ResultTemplateOption") || is_null($this->_propDict["resultTemplateOptions"])) { + return $this->_propDict["resultTemplateOptions"]; + } else { + $this->_propDict["resultTemplateOptions"] = new ResultTemplateOption($this->_propDict["resultTemplateOptions"]); + return $this->_propDict["resultTemplateOptions"]; + } + } + return null; + } + + /** + * Sets the resultTemplateOptions + * Provides the search result templates options for rendering connectors search results. + * + * @param ResultTemplateOption $val The value to assign to the resultTemplateOptions + * + * @return SearchRequest The SearchRequest + */ + public function setResultTemplateOptions($val) + { + $this->_propDict["resultTemplateOptions"] = $val; + return $this; + } + /** + * Gets the size + * The size of the page to be retrieved. Optional. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The size of the page to be retrieved. Optional. + * + * @param int $val The value of the size + * + * @return SearchRequest + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } + + /** + * Gets the sortProperties + * Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional. + * + * @return SortProperty|null The sortProperties + */ + public function getSortProperties() + { + if (array_key_exists("sortProperties", $this->_propDict)) { + if (is_a($this->_propDict["sortProperties"], "\Beta\Microsoft\Graph\Model\SortProperty") || is_null($this->_propDict["sortProperties"])) { + return $this->_propDict["sortProperties"]; + } else { + $this->_propDict["sortProperties"] = new SortProperty($this->_propDict["sortProperties"]); + return $this->_propDict["sortProperties"]; + } + } + return null; + } + + /** + * Sets the sortProperties + * Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional. + * + * @param SortProperty $val The value to assign to the sortProperties + * + * @return SearchRequest The SearchRequest + */ + public function setSortProperties($val) + { + $this->_propDict["sortProperties"] = $val; + return $this; + } + /** + * Gets the stored_fields + * + * @return string|null The stored_fields + */ + public function getStored_fields() + { + if (array_key_exists("storedFields", $this->_propDict)) { + return $this->_propDict["storedFields"]; + } else { + return null; + } + } + + /** + * Sets the stored_fields + * + * @param string $val The value of the stored_fields + * + * @return SearchRequest + */ + public function setStored_fields($val) + { + $this->_propDict["storedFields"] = $val; + return $this; + } + /** + * Gets the trimDuplicates + * Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. + * + * @return bool|null The trimDuplicates + */ + public function getTrimDuplicates() + { + if (array_key_exists("trimDuplicates", $this->_propDict)) { + return $this->_propDict["trimDuplicates"]; + } else { + return null; + } + } + + /** + * Sets the trimDuplicates + * Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. + * + * @param bool $val The value of the trimDuplicates + * + * @return SearchRequest + */ + public function setTrimDuplicates($val) + { + $this->_propDict["trimDuplicates"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResponse.php new file mode 100644 index 0000000..63c7a41 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResponse.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["hitsContainers"], "\Beta\Microsoft\Graph\Model\SearchHitsContainer") || is_null($this->_propDict["hitsContainers"])) { + return $this->_propDict["hitsContainers"]; + } else { + $this->_propDict["hitsContainers"] = new SearchHitsContainer($this->_propDict["hitsContainers"]); + return $this->_propDict["hitsContainers"]; + } + } + return null; + } + + /** + * Sets the hitsContainers + * A collection of search results. + * + * @param SearchHitsContainer $val The value to assign to the hitsContainers + * + * @return SearchResponse The SearchResponse + */ + public function setHitsContainers($val) + { + $this->_propDict["hitsContainers"] = $val; + return $this; + } + + /** + * Gets the queryAlterationResponse + * Provides details of query alteration response for spelling correction. + * + * @return AlterationResponse|null The queryAlterationResponse + */ + public function getQueryAlterationResponse() + { + if (array_key_exists("queryAlterationResponse", $this->_propDict)) { + if (is_a($this->_propDict["queryAlterationResponse"], "\Beta\Microsoft\Graph\Model\AlterationResponse") || is_null($this->_propDict["queryAlterationResponse"])) { + return $this->_propDict["queryAlterationResponse"]; + } else { + $this->_propDict["queryAlterationResponse"] = new AlterationResponse($this->_propDict["queryAlterationResponse"]); + return $this->_propDict["queryAlterationResponse"]; + } + } + return null; + } + + /** + * Sets the queryAlterationResponse + * Provides details of query alteration response for spelling correction. + * + * @param AlterationResponse $val The value to assign to the queryAlterationResponse + * + * @return SearchResponse The SearchResponse + */ + public function setQueryAlterationResponse($val) + { + $this->_propDict["queryAlterationResponse"] = $val; + return $this; + } + + /** + * Gets the resultTemplates + * A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates. + * + * @return ResultTemplateDictionary|null The resultTemplates + */ + public function getResultTemplates() + { + if (array_key_exists("resultTemplates", $this->_propDict)) { + if (is_a($this->_propDict["resultTemplates"], "\Beta\Microsoft\Graph\Model\ResultTemplateDictionary") || is_null($this->_propDict["resultTemplates"])) { + return $this->_propDict["resultTemplates"]; + } else { + $this->_propDict["resultTemplates"] = new ResultTemplateDictionary($this->_propDict["resultTemplates"]); + return $this->_propDict["resultTemplates"]; + } + } + return null; + } + + /** + * Sets the resultTemplates + * A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates. + * + * @param ResultTemplateDictionary $val The value to assign to the resultTemplates + * + * @return SearchResponse The SearchResponse + */ + public function setResultTemplates($val) + { + $this->_propDict["resultTemplates"] = $val; + return $this; + } + /** + * Gets the searchTerms + * Contains the search terms sent in the initial search query. + * + * @return string|null The searchTerms + */ + public function getSearchTerms() + { + if (array_key_exists("searchTerms", $this->_propDict)) { + return $this->_propDict["searchTerms"]; + } else { + return null; + } + } + + /** + * Sets the searchTerms + * Contains the search terms sent in the initial search query. + * + * @param string $val The value of the searchTerms + * + * @return SearchResponse + */ + public function setSearchTerms($val) + { + $this->_propDict["searchTerms"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResult.php new file mode 100644 index 0000000..f31f9a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["onClickTelemetryUrl"]; + } else { + return null; + } + } + + /** + * Sets the onClickTelemetryUrl + * A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results. + * + * @param string $val The value of the onClickTelemetryUrl + * + * @return SearchResult + */ + public function setOnClickTelemetryUrl($val) + { + $this->_propDict["onClickTelemetryUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionGroup.php new file mode 100644 index 0000000..630c82b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionGroup.php @@ -0,0 +1,211 @@ +_propDict)) { + return $this->_propDict["sectionGroupsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroupsUrl + * The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only. + * + * @param string $val The sectionGroupsUrl + * + * @return SectionGroup + */ + public function setSectionGroupsUrl($val) + { + $this->_propDict["sectionGroupsUrl"] = $val; + return $this; + } + + /** + * Gets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the section group. Read-only. + * + * @return string|null The sectionsUrl + */ + public function getSectionsUrl() + { + if (array_key_exists("sectionsUrl", $this->_propDict)) { + return $this->_propDict["sectionsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the section group. Read-only. + * + * @param string $val The sectionsUrl + * + * @return SectionGroup + */ + public function setSectionsUrl($val) + { + $this->_propDict["sectionsUrl"] = $val; + return $this; + } + + /** + * Gets the parentNotebook + * The notebook that contains the section group. Read-only. + * + * @return Notebook|null The parentNotebook + */ + public function getParentNotebook() + { + if (array_key_exists("parentNotebook", $this->_propDict)) { + if (is_a($this->_propDict["parentNotebook"], "\Beta\Microsoft\Graph\Model\Notebook") || is_null($this->_propDict["parentNotebook"])) { + return $this->_propDict["parentNotebook"]; + } else { + $this->_propDict["parentNotebook"] = new Notebook($this->_propDict["parentNotebook"]); + return $this->_propDict["parentNotebook"]; + } + } + return null; + } + + /** + * Sets the parentNotebook + * The notebook that contains the section group. Read-only. + * + * @param Notebook $val The parentNotebook + * + * @return SectionGroup + */ + public function setParentNotebook($val) + { + $this->_propDict["parentNotebook"] = $val; + return $this; + } + + /** + * Gets the parentSectionGroup + * The section group that contains the section group. Read-only. + * + * @return SectionGroup|null The parentSectionGroup + */ + public function getParentSectionGroup() + { + if (array_key_exists("parentSectionGroup", $this->_propDict)) { + if (is_a($this->_propDict["parentSectionGroup"], "\Beta\Microsoft\Graph\Model\SectionGroup") || is_null($this->_propDict["parentSectionGroup"])) { + return $this->_propDict["parentSectionGroup"]; + } else { + $this->_propDict["parentSectionGroup"] = new SectionGroup($this->_propDict["parentSectionGroup"]); + return $this->_propDict["parentSectionGroup"]; + } + } + return null; + } + + /** + * Sets the parentSectionGroup + * The section group that contains the section group. Read-only. + * + * @param SectionGroup $val The parentSectionGroup + * + * @return SectionGroup + */ + public function setParentSectionGroup($val) + { + $this->_propDict["parentSectionGroup"] = $val; + return $this; + } + + + /** + * Gets the sectionGroups + * The section groups in the section. Read-only. Nullable. + * + * @return array|null The sectionGroups + */ + public function getSectionGroups() + { + if (array_key_exists("sectionGroups", $this->_propDict)) { + return $this->_propDict["sectionGroups"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroups + * The section groups in the section. Read-only. Nullable. + * + * @param SectionGroup[] $val The sectionGroups + * + * @return SectionGroup + */ + public function setSectionGroups($val) + { + $this->_propDict["sectionGroups"] = $val; + return $this; + } + + + /** + * Gets the sections + * The sections in the section group. Read-only. Nullable. + * + * @return array|null The sections + */ + public function getSections() + { + if (array_key_exists("sections", $this->_propDict)) { + return $this->_propDict["sections"]; + } else { + return null; + } + } + + /** + * Sets the sections + * The sections in the section group. Read-only. Nullable. + * + * @param OnenoteSection[] $val The sections + * + * @return SectionGroup + */ + public function setSections($val) + { + $this->_propDict["sections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionLinks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionLinks.php new file mode 100644 index 0000000..e114b74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the section in the OneNote native client if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return SectionLinks The SectionLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the section in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the section in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return SectionLinks The SectionLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureAssessmentAccountType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureAssessmentAccountType.php new file mode 100644 index 0000000..b9fd105 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureAssessmentAccountType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["activeUserCount"]; + } else { + return null; + } + } + + /** + * Sets the activeUserCount + * Active user count of the given tenant. + * + * @param int $val The activeUserCount + * + * @return SecureScore + */ + public function setActiveUserCount($val) + { + $this->_propDict["activeUserCount"] = intval($val); + return $this; + } + + + /** + * Gets the averageComparativeScores + * Average score by different scopes (for example, average by industry, average by seating) and control category (Identity, Data, Device, Apps, Infrastructure) within the scope. + * + * @return array|null The averageComparativeScores + */ + public function getAverageComparativeScores() + { + if (array_key_exists("averageComparativeScores", $this->_propDict)) { + return $this->_propDict["averageComparativeScores"]; + } else { + return null; + } + } + + /** + * Sets the averageComparativeScores + * Average score by different scopes (for example, average by industry, average by seating) and control category (Identity, Data, Device, Apps, Infrastructure) within the scope. + * + * @param AverageComparativeScore[] $val The averageComparativeScores + * + * @return SecureScore + */ + public function setAverageComparativeScores($val) + { + $this->_propDict["averageComparativeScores"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * GUID string for tenant ID. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * GUID string for tenant ID. + * + * @param string $val The azureTenantId + * + * @return SecureScore + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + + /** + * Gets the controlScores + * Contains tenant scores for a set of controls. + * + * @return array|null The controlScores + */ + public function getControlScores() + { + if (array_key_exists("controlScores", $this->_propDict)) { + return $this->_propDict["controlScores"]; + } else { + return null; + } + } + + /** + * Sets the controlScores + * Contains tenant scores for a set of controls. + * + * @param ControlScore[] $val The controlScores + * + * @return SecureScore + */ + public function setControlScores($val) + { + $this->_propDict["controlScores"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date when the entity is created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date when the entity is created. + * + * @param \DateTime $val The createdDateTime + * + * @return SecureScore + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the currentScore + * Tenant current attained score on specified date. + * + * @return float|null The currentScore + */ + public function getCurrentScore() + { + if (array_key_exists("currentScore", $this->_propDict)) { + return $this->_propDict["currentScore"]; + } else { + return null; + } + } + + /** + * Sets the currentScore + * Tenant current attained score on specified date. + * + * @param float $val The currentScore + * + * @return SecureScore + */ + public function setCurrentScore($val) + { + $this->_propDict["currentScore"] = floatval($val); + return $this; + } + + /** + * Gets the enabledServices + * Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). + * + * @return string|null The enabledServices + */ + public function getEnabledServices() + { + if (array_key_exists("enabledServices", $this->_propDict)) { + return $this->_propDict["enabledServices"]; + } else { + return null; + } + } + + /** + * Sets the enabledServices + * Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). + * + * @param string $val The enabledServices + * + * @return SecureScore + */ + public function setEnabledServices($val) + { + $this->_propDict["enabledServices"] = $val; + return $this; + } + + /** + * Gets the licensedUserCount + * Licensed user count of the given tenant. + * + * @return int|null The licensedUserCount + */ + public function getLicensedUserCount() + { + if (array_key_exists("licensedUserCount", $this->_propDict)) { + return $this->_propDict["licensedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the licensedUserCount + * Licensed user count of the given tenant. + * + * @param int $val The licensedUserCount + * + * @return SecureScore + */ + public function setLicensedUserCount($val) + { + $this->_propDict["licensedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the maxScore + * Tenant maximum possible score on specified date. + * + * @return float|null The maxScore + */ + public function getMaxScore() + { + if (array_key_exists("maxScore", $this->_propDict)) { + return $this->_propDict["maxScore"]; + } else { + return null; + } + } + + /** + * Sets the maxScore + * Tenant maximum possible score on specified date. + * + * @param float $val The maxScore + * + * @return SecureScore + */ + public function setMaxScore($val) + { + $this->_propDict["maxScore"] = floatval($val); + return $this; + } + + /** + * Gets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return SecureScore + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlProfile.php new file mode 100644 index 0000000..7e432e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlProfile.php @@ -0,0 +1,586 @@ +_propDict)) { + return $this->_propDict["actionType"]; + } else { + return null; + } + } + + /** + * Sets the actionType + * Control action type (Config, Review, Behavior). + * + * @param string $val The actionType + * + * @return SecureScoreControlProfile + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the actionUrl + * URL to where the control can be actioned. + * + * @return string|null The actionUrl + */ + public function getActionUrl() + { + if (array_key_exists("actionUrl", $this->_propDict)) { + return $this->_propDict["actionUrl"]; + } else { + return null; + } + } + + /** + * Sets the actionUrl + * URL to where the control can be actioned. + * + * @param string $val The actionUrl + * + * @return SecureScoreControlProfile + */ + public function setActionUrl($val) + { + $this->_propDict["actionUrl"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * GUID string for tenant ID. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * GUID string for tenant ID. + * + * @param string $val The azureTenantId + * + * @return SecureScoreControlProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + + /** + * Gets the complianceInformation + * The collection of compliance information associated with secure score control + * + * @return array|null The complianceInformation + */ + public function getComplianceInformation() + { + if (array_key_exists("complianceInformation", $this->_propDict)) { + return $this->_propDict["complianceInformation"]; + } else { + return null; + } + } + + /** + * Sets the complianceInformation + * The collection of compliance information associated with secure score control + * + * @param ComplianceInformation[] $val The complianceInformation + * + * @return SecureScoreControlProfile + */ + public function setComplianceInformation($val) + { + $this->_propDict["complianceInformation"] = $val; + return $this; + } + + /** + * Gets the controlCategory + * Control action category (Account, Data, Device, Apps, Infrastructure). + * + * @return string|null The controlCategory + */ + public function getControlCategory() + { + if (array_key_exists("controlCategory", $this->_propDict)) { + return $this->_propDict["controlCategory"]; + } else { + return null; + } + } + + /** + * Sets the controlCategory + * Control action category (Account, Data, Device, Apps, Infrastructure). + * + * @param string $val The controlCategory + * + * @return SecureScoreControlProfile + */ + public function setControlCategory($val) + { + $this->_propDict["controlCategory"] = $val; + return $this; + } + + + /** + * Gets the controlStateUpdates + * Flag to indicate where the tenant has marked a control (ignore, thirdParty, reviewed) (supports update). + * + * @return array|null The controlStateUpdates + */ + public function getControlStateUpdates() + { + if (array_key_exists("controlStateUpdates", $this->_propDict)) { + return $this->_propDict["controlStateUpdates"]; + } else { + return null; + } + } + + /** + * Sets the controlStateUpdates + * Flag to indicate where the tenant has marked a control (ignore, thirdParty, reviewed) (supports update). + * + * @param SecureScoreControlStateUpdate[] $val The controlStateUpdates + * + * @return SecureScoreControlProfile + */ + public function setControlStateUpdates($val) + { + $this->_propDict["controlStateUpdates"] = $val; + return $this; + } + + /** + * Gets the deprecated + * Flag to indicate if a control is depreciated. + * + * @return bool|null The deprecated + */ + public function getDeprecated() + { + if (array_key_exists("deprecated", $this->_propDict)) { + return $this->_propDict["deprecated"]; + } else { + return null; + } + } + + /** + * Sets the deprecated + * Flag to indicate if a control is depreciated. + * + * @param bool $val The deprecated + * + * @return SecureScoreControlProfile + */ + public function setDeprecated($val) + { + $this->_propDict["deprecated"] = boolval($val); + return $this; + } + + /** + * Gets the implementationCost + * Resource cost of implemmentating control (low, moderate, high). + * + * @return string|null The implementationCost + */ + public function getImplementationCost() + { + if (array_key_exists("implementationCost", $this->_propDict)) { + return $this->_propDict["implementationCost"]; + } else { + return null; + } + } + + /** + * Sets the implementationCost + * Resource cost of implemmentating control (low, moderate, high). + * + * @param string $val The implementationCost + * + * @return SecureScoreControlProfile + */ + public function setImplementationCost($val) + { + $this->_propDict["implementationCost"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Time at which the control profile entity was last modified. The Timestamp type represents date and time + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Time at which the control profile entity was last modified. The Timestamp type represents date and time + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SecureScoreControlProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the maxScore + * Current obtained max score on specified date. + * + * @return float|null The maxScore + */ + public function getMaxScore() + { + if (array_key_exists("maxScore", $this->_propDict)) { + return $this->_propDict["maxScore"]; + } else { + return null; + } + } + + /** + * Sets the maxScore + * Current obtained max score on specified date. + * + * @param float $val The maxScore + * + * @return SecureScoreControlProfile + */ + public function setMaxScore($val) + { + $this->_propDict["maxScore"] = floatval($val); + return $this; + } + + /** + * Gets the rank + * Microsoft's stack ranking of control. + * + * @return int|null The rank + */ + public function getRank() + { + if (array_key_exists("rank", $this->_propDict)) { + return $this->_propDict["rank"]; + } else { + return null; + } + } + + /** + * Sets the rank + * Microsoft's stack ranking of control. + * + * @param int $val The rank + * + * @return SecureScoreControlProfile + */ + public function setRank($val) + { + $this->_propDict["rank"] = intval($val); + return $this; + } + + /** + * Gets the remediation + * Description of what the control will help remediate. + * + * @return string|null The remediation + */ + public function getRemediation() + { + if (array_key_exists("remediation", $this->_propDict)) { + return $this->_propDict["remediation"]; + } else { + return null; + } + } + + /** + * Sets the remediation + * Description of what the control will help remediate. + * + * @param string $val The remediation + * + * @return SecureScoreControlProfile + */ + public function setRemediation($val) + { + $this->_propDict["remediation"] = $val; + return $this; + } + + /** + * Gets the remediationImpact + * Description of the impact on users of the remediation. + * + * @return string|null The remediationImpact + */ + public function getRemediationImpact() + { + if (array_key_exists("remediationImpact", $this->_propDict)) { + return $this->_propDict["remediationImpact"]; + } else { + return null; + } + } + + /** + * Sets the remediationImpact + * Description of the impact on users of the remediation. + * + * @param string $val The remediationImpact + * + * @return SecureScoreControlProfile + */ + public function setRemediationImpact($val) + { + $this->_propDict["remediationImpact"] = $val; + return $this; + } + + /** + * Gets the service + * Service that owns the control (Exchange, Sharepoint, Azure AD). + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * Service that owns the control (Exchange, Sharepoint, Azure AD). + * + * @param string $val The service + * + * @return SecureScoreControlProfile + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the threats + * List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,elevationOfPrivilege,maliciousInsider,passwordCracking,phishingOrWhaling,spoofing). + * + * @return string|null The threats + */ + public function getThreats() + { + if (array_key_exists("threats", $this->_propDict)) { + return $this->_propDict["threats"]; + } else { + return null; + } + } + + /** + * Sets the threats + * List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,elevationOfPrivilege,maliciousInsider,passwordCracking,phishingOrWhaling,spoofing). + * + * @param string $val The threats + * + * @return SecureScoreControlProfile + */ + public function setThreats($val) + { + $this->_propDict["threats"] = $val; + return $this; + } + + /** + * Gets the tier + * Control tier (Core, Defense in Depth, Advanced.) + * + * @return string|null The tier + */ + public function getTier() + { + if (array_key_exists("tier", $this->_propDict)) { + return $this->_propDict["tier"]; + } else { + return null; + } + } + + /** + * Sets the tier + * Control tier (Core, Defense in Depth, Advanced.) + * + * @param string $val The tier + * + * @return SecureScoreControlProfile + */ + public function setTier($val) + { + $this->_propDict["tier"] = $val; + return $this; + } + + /** + * Gets the title + * Title of the control. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the control. + * + * @param string $val The title + * + * @return SecureScoreControlProfile + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the userImpact + * User impact of implementing control (low, moderate, high). + * + * @return string|null The userImpact + */ + public function getUserImpact() + { + if (array_key_exists("userImpact", $this->_propDict)) { + return $this->_propDict["userImpact"]; + } else { + return null; + } + } + + /** + * Sets the userImpact + * User impact of implementing control (low, moderate, high). + * + * @param string $val The userImpact + * + * @return SecureScoreControlProfile + */ + public function setUserImpact($val) + { + $this->_propDict["userImpact"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return SecureScoreControlProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlStateUpdate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlStateUpdate.php new file mode 100644 index 0000000..5ea6e54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlStateUpdate.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * Assigns the control to the user who will take the action. + * + * @param string $val The value of the assignedTo + * + * @return SecureScoreControlStateUpdate + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + /** + * Gets the comment + * Provides optional comment about the control. + * + * @return string|null The comment + */ + public function getComment() + { + if (array_key_exists("comment", $this->_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * Provides optional comment about the control. + * + * @param string $val The value of the comment + * + * @return SecureScoreControlStateUpdate + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + /** + * Gets the state + * State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty). + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty). + * + * @param string $val The value of the state + * + * @return SecureScoreControlStateUpdate + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the updatedBy + * ID of the user who updated tenant state. + * + * @return string|null The updatedBy + */ + public function getUpdatedBy() + { + if (array_key_exists("updatedBy", $this->_propDict)) { + return $this->_propDict["updatedBy"]; + } else { + return null; + } + } + + /** + * Sets the updatedBy + * ID of the user who updated tenant state. + * + * @param string $val The value of the updatedBy + * + * @return SecureScoreControlStateUpdate + */ + public function setUpdatedBy($val) + { + $this->_propDict["updatedBy"] = $val; + return $this; + } + + /** + * Gets the updatedDateTime + * Time at which the control state was updated. + * + * @return \DateTime|null The updatedDateTime + */ + public function getUpdatedDateTime() + { + if (array_key_exists("updatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["updatedDateTime"], "\DateTime") || is_null($this->_propDict["updatedDateTime"])) { + return $this->_propDict["updatedDateTime"]; + } else { + $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); + return $this->_propDict["updatedDateTime"]; + } + } + return null; + } + + /** + * Sets the updatedDateTime + * Time at which the control state was updated. + * + * @param \DateTime $val The value to assign to the updatedDateTime + * + * @return SecureScoreControlStateUpdate The SecureScoreControlStateUpdate + */ + public function setUpdatedDateTime($val) + { + $this->_propDict["updatedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Security.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Security.php new file mode 100644 index 0000000..b8405e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Security.php @@ -0,0 +1,516 @@ +_propDict)) { + return $this->_propDict["providerStatus"]; + } else { + return null; + } + } + + /** + * Sets the providerStatus + * + * @param SecurityProviderStatus[] $val The providerStatus + * + * @return Security + */ + public function setProviderStatus($val) + { + $this->_propDict["providerStatus"] = $val; + return $this; + } + + + /** + * Gets the subjectRightsRequests + * + * @return array|null The subjectRightsRequests + */ + public function getSubjectRightsRequests() + { + if (array_key_exists("subjectRightsRequests", $this->_propDict)) { + return $this->_propDict["subjectRightsRequests"]; + } else { + return null; + } + } + + /** + * Sets the subjectRightsRequests + * + * @param SubjectRightsRequest[] $val The subjectRightsRequests + * + * @return Security + */ + public function setSubjectRightsRequests($val) + { + $this->_propDict["subjectRightsRequests"] = $val; + return $this; + } + + /** + * Gets the cases + * + * @return \Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot|null The cases + */ + public function getCases() + { + if (array_key_exists("cases", $this->_propDict)) { + if (is_a($this->_propDict["cases"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot") || is_null($this->_propDict["cases"])) { + return $this->_propDict["cases"]; + } else { + $this->_propDict["cases"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot($this->_propDict["cases"]); + return $this->_propDict["cases"]; + } + } + return null; + } + + /** + * Sets the cases + * + * @param \Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot $val The cases + * + * @return Security + */ + public function setCases($val) + { + $this->_propDict["cases"] = $val; + return $this; + } + + /** + * Gets the informationProtection + * + * @return \Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection|null The informationProtection + */ + public function getInformationProtection() + { + if (array_key_exists("informationProtection", $this->_propDict)) { + if (is_a($this->_propDict["informationProtection"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection") || is_null($this->_propDict["informationProtection"])) { + return $this->_propDict["informationProtection"]; + } else { + $this->_propDict["informationProtection"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection($this->_propDict["informationProtection"]); + return $this->_propDict["informationProtection"]; + } + } + return null; + } + + /** + * Sets the informationProtection + * + * @param \Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection $val The informationProtection + * + * @return Security + */ + public function setInformationProtection($val) + { + $this->_propDict["informationProtection"] = $val; + return $this; + } + + /** + * Gets the attackSimulation + * Provides tenants capability to launch a simulated and realistic phishing attack and learn from it. + * + * @return AttackSimulationRoot|null The attackSimulation + */ + public function getAttackSimulation() + { + if (array_key_exists("attackSimulation", $this->_propDict)) { + if (is_a($this->_propDict["attackSimulation"], "\Beta\Microsoft\Graph\Model\AttackSimulationRoot") || is_null($this->_propDict["attackSimulation"])) { + return $this->_propDict["attackSimulation"]; + } else { + $this->_propDict["attackSimulation"] = new AttackSimulationRoot($this->_propDict["attackSimulation"]); + return $this->_propDict["attackSimulation"]; + } + } + return null; + } + + /** + * Sets the attackSimulation + * Provides tenants capability to launch a simulated and realistic phishing attack and learn from it. + * + * @param AttackSimulationRoot $val The attackSimulation + * + * @return Security + */ + public function setAttackSimulation($val) + { + $this->_propDict["attackSimulation"] = $val; + return $this; + } + + + /** + * Gets the alerts + * Notifications for suspicious or potential security issues in a customer’s tenant. + * + * @return array|null The alerts + */ + public function getAlerts() + { + if (array_key_exists("alerts", $this->_propDict)) { + return $this->_propDict["alerts"]; + } else { + return null; + } + } + + /** + * Sets the alerts + * Notifications for suspicious or potential security issues in a customer’s tenant. + * + * @param Alert[] $val The alerts + * + * @return Security + */ + public function setAlerts($val) + { + $this->_propDict["alerts"] = $val; + return $this; + } + + + /** + * Gets the cloudAppSecurityProfiles + * + * @return array|null The cloudAppSecurityProfiles + */ + public function getCloudAppSecurityProfiles() + { + if (array_key_exists("cloudAppSecurityProfiles", $this->_propDict)) { + return $this->_propDict["cloudAppSecurityProfiles"]; + } else { + return null; + } + } + + /** + * Sets the cloudAppSecurityProfiles + * + * @param CloudAppSecurityProfile[] $val The cloudAppSecurityProfiles + * + * @return Security + */ + public function setCloudAppSecurityProfiles($val) + { + $this->_propDict["cloudAppSecurityProfiles"] = $val; + return $this; + } + + + /** + * Gets the domainSecurityProfiles + * + * @return array|null The domainSecurityProfiles + */ + public function getDomainSecurityProfiles() + { + if (array_key_exists("domainSecurityProfiles", $this->_propDict)) { + return $this->_propDict["domainSecurityProfiles"]; + } else { + return null; + } + } + + /** + * Sets the domainSecurityProfiles + * + * @param DomainSecurityProfile[] $val The domainSecurityProfiles + * + * @return Security + */ + public function setDomainSecurityProfiles($val) + { + $this->_propDict["domainSecurityProfiles"] = $val; + return $this; + } + + + /** + * Gets the fileSecurityProfiles + * + * @return array|null The fileSecurityProfiles + */ + public function getFileSecurityProfiles() + { + if (array_key_exists("fileSecurityProfiles", $this->_propDict)) { + return $this->_propDict["fileSecurityProfiles"]; + } else { + return null; + } + } + + /** + * Sets the fileSecurityProfiles + * + * @param FileSecurityProfile[] $val The fileSecurityProfiles + * + * @return Security + */ + public function setFileSecurityProfiles($val) + { + $this->_propDict["fileSecurityProfiles"] = $val; + return $this; + } + + + /** + * Gets the hostSecurityProfiles + * + * @return array|null The hostSecurityProfiles + */ + public function getHostSecurityProfiles() + { + if (array_key_exists("hostSecurityProfiles", $this->_propDict)) { + return $this->_propDict["hostSecurityProfiles"]; + } else { + return null; + } + } + + /** + * Sets the hostSecurityProfiles + * + * @param HostSecurityProfile[] $val The hostSecurityProfiles + * + * @return Security + */ + public function setHostSecurityProfiles($val) + { + $this->_propDict["hostSecurityProfiles"] = $val; + return $this; + } + + + /** + * Gets the ipSecurityProfiles + * + * @return array|null The ipSecurityProfiles + */ + public function getIpSecurityProfiles() + { + if (array_key_exists("ipSecurityProfiles", $this->_propDict)) { + return $this->_propDict["ipSecurityProfiles"]; + } else { + return null; + } + } + + /** + * Sets the ipSecurityProfiles + * + * @param IpSecurityProfile[] $val The ipSecurityProfiles + * + * @return Security + */ + public function setIpSecurityProfiles($val) + { + $this->_propDict["ipSecurityProfiles"] = $val; + return $this; + } + + + /** + * Gets the providerTenantSettings + * + * @return array|null The providerTenantSettings + */ + public function getProviderTenantSettings() + { + if (array_key_exists("providerTenantSettings", $this->_propDict)) { + return $this->_propDict["providerTenantSettings"]; + } else { + return null; + } + } + + /** + * Sets the providerTenantSettings + * + * @param ProviderTenantSetting[] $val The providerTenantSettings + * + * @return Security + */ + public function setProviderTenantSettings($val) + { + $this->_propDict["providerTenantSettings"] = $val; + return $this; + } + + + /** + * Gets the secureScoreControlProfiles + * + * @return array|null The secureScoreControlProfiles + */ + public function getSecureScoreControlProfiles() + { + if (array_key_exists("secureScoreControlProfiles", $this->_propDict)) { + return $this->_propDict["secureScoreControlProfiles"]; + } else { + return null; + } + } + + /** + * Sets the secureScoreControlProfiles + * + * @param SecureScoreControlProfile[] $val The secureScoreControlProfiles + * + * @return Security + */ + public function setSecureScoreControlProfiles($val) + { + $this->_propDict["secureScoreControlProfiles"] = $val; + return $this; + } + + + /** + * Gets the secureScores + * + * @return array|null The secureScores + */ + public function getSecureScores() + { + if (array_key_exists("secureScores", $this->_propDict)) { + return $this->_propDict["secureScores"]; + } else { + return null; + } + } + + /** + * Sets the secureScores + * + * @param SecureScore[] $val The secureScores + * + * @return Security + */ + public function setSecureScores($val) + { + $this->_propDict["secureScores"] = $val; + return $this; + } + + + /** + * Gets the securityActions + * + * @return array|null The securityActions + */ + public function getSecurityActions() + { + if (array_key_exists("securityActions", $this->_propDict)) { + return $this->_propDict["securityActions"]; + } else { + return null; + } + } + + /** + * Sets the securityActions + * + * @param SecurityAction[] $val The securityActions + * + * @return Security + */ + public function setSecurityActions($val) + { + $this->_propDict["securityActions"] = $val; + return $this; + } + + + /** + * Gets the tiIndicators + * + * @return array|null The tiIndicators + */ + public function getTiIndicators() + { + if (array_key_exists("tiIndicators", $this->_propDict)) { + return $this->_propDict["tiIndicators"]; + } else { + return null; + } + } + + /** + * Sets the tiIndicators + * + * @param TiIndicator[] $val The tiIndicators + * + * @return Security + */ + public function setTiIndicators($val) + { + $this->_propDict["tiIndicators"] = $val; + return $this; + } + + + /** + * Gets the userSecurityProfiles + * + * @return array|null The userSecurityProfiles + */ + public function getUserSecurityProfiles() + { + if (array_key_exists("userSecurityProfiles", $this->_propDict)) { + return $this->_propDict["userSecurityProfiles"]; + } else { + return null; + } + } + + /** + * Sets the userSecurityProfiles + * + * @param UserSecurityProfile[] $val The userSecurityProfiles + * + * @return Security + */ + public function setUserSecurityProfiles($val) + { + $this->_propDict["userSecurityProfiles"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityAction.php new file mode 100644 index 0000000..622d390 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityAction.php @@ -0,0 +1,457 @@ +_propDict)) { + return $this->_propDict["actionReason"]; + } else { + return null; + } + } + + /** + * Sets the actionReason + * Reason for invoking this action. + * + * @param string $val The actionReason + * + * @return SecurityAction + */ + public function setActionReason($val) + { + $this->_propDict["actionReason"] = $val; + return $this; + } + + /** + * Gets the appId + * The Application ID of the calling application that submitted (POST) the action. The appId should be extracted from the auth token and not entered manually by the calling application. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The Application ID of the calling application that submitted (POST) the action. The appId should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The appId + * + * @return SecurityAction + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * Azure tenant ID of the entity to determine which tenant the entity belongs to (multi-tenancy support). The azureTenantId should be extracted from the auth token and not entered manually by the calling application. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * Azure tenant ID of the entity to determine which tenant the entity belongs to (multi-tenancy support). The azureTenantId should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The azureTenantId + * + * @return SecurityAction + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the clientContext + * + * @return string|null The clientContext + */ + public function getClientContext() + { + if (array_key_exists("clientContext", $this->_propDict)) { + return $this->_propDict["clientContext"]; + } else { + return null; + } + } + + /** + * Sets the clientContext + * + * @param string $val The clientContext + * + * @return SecurityAction + */ + public function setClientContext($val) + { + $this->_propDict["clientContext"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * Timestamp when the action was completed. 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 completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Timestamp when the action was completed. 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 completedDateTime + * + * @return SecurityAction + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp when the action is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp when the action is created. 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 createdDateTime + * + * @return SecurityAction + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the errorInfo + * Error info when the action fails. + * + * @return ResultInfo|null The errorInfo + */ + public function getErrorInfo() + { + if (array_key_exists("errorInfo", $this->_propDict)) { + if (is_a($this->_propDict["errorInfo"], "\Beta\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["errorInfo"])) { + return $this->_propDict["errorInfo"]; + } else { + $this->_propDict["errorInfo"] = new ResultInfo($this->_propDict["errorInfo"]); + return $this->_propDict["errorInfo"]; + } + } + return null; + } + + /** + * Sets the errorInfo + * Error info when the action fails. + * + * @param ResultInfo $val The errorInfo + * + * @return SecurityAction + */ + public function setErrorInfo($val) + { + $this->_propDict["errorInfo"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * Timestamp when this action was last updated. 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 lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * Timestamp when this action was last updated. 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 lastActionDateTime + * + * @return SecurityAction + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * Action name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Action name. + * + * @param string $val The name + * + * @return SecurityAction + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the parameters + * Collection of parameters (key-value pairs) necessary to invoke the action, for example, URL or fileHash to block.). Required. + * + * @return array|null The parameters + */ + public function getParameters() + { + if (array_key_exists("parameters", $this->_propDict)) { + return $this->_propDict["parameters"]; + } else { + return null; + } + } + + /** + * Sets the parameters + * Collection of parameters (key-value pairs) necessary to invoke the action, for example, URL or fileHash to block.). Required. + * + * @param KeyValuePair[] $val The parameters + * + * @return SecurityAction + */ + public function setParameters($val) + { + $this->_propDict["parameters"] = $val; + return $this; + } + + + /** + * Gets the states + * Collection of securityActionState to keep the history of an action. + * + * @return array|null The states + */ + public function getStates() + { + if (array_key_exists("states", $this->_propDict)) { + return $this->_propDict["states"]; + } else { + return null; + } + } + + /** + * Sets the states + * Collection of securityActionState to keep the history of an action. + * + * @param SecurityActionState[] $val The states + * + * @return SecurityAction + */ + public function setStates($val) + { + $this->_propDict["states"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the action. Possible values are: NotStarted, Running, Completed, Failed. + * + * @return OperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the action. Possible values are: NotStarted, Running, Completed, Failed. + * + * @param OperationStatus $val The status + * + * @return SecurityAction + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the user + * The user principal name of the signed-in user that submitted (POST) the action. The user should be extracted from the auth token and not entered manually by the calling application. + * + * @return string|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + return $this->_propDict["user"]; + } else { + return null; + } + } + + /** + * Sets the user + * The user principal name of the signed-in user that submitted (POST) the action. The user should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The user + * + * @return SecurityAction + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * Complex Type containing details about the Security product/service vendor, provider, and sub-provider (for example, vendor=Microsoft; provider=Windows Defender ATP; sub-provider=AppLocker). + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * Complex Type containing details about the Security product/service vendor, provider, and sub-provider (for example, vendor=Microsoft; provider=Windows Defender ATP; sub-provider=AppLocker). + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return SecurityAction + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityActionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityActionState.php new file mode 100644 index 0000000..aa04812 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityActionState.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The Application ID of the calling application that submitted an update (PATCH) to the action. The appId should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The value of the appId + * + * @return SecurityActionState + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the securityAction in this update. Possible values are: NotStarted, Running, Completed, Failed. + * + * @return OperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the securityAction in this update. Possible values are: NotStarted, Running, Completed, Failed. + * + * @param OperationStatus $val The value to assign to the status + * + * @return SecurityActionState The SecurityActionState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the updatedDateTime + * Timestamp when the actionState was updated. 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 updatedDateTime + */ + public function getUpdatedDateTime() + { + if (array_key_exists("updatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["updatedDateTime"], "\DateTime") || is_null($this->_propDict["updatedDateTime"])) { + return $this->_propDict["updatedDateTime"]; + } else { + $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); + return $this->_propDict["updatedDateTime"]; + } + } + return null; + } + + /** + * Sets the updatedDateTime + * Timestamp when the actionState was updated. 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 updatedDateTime + * + * @return SecurityActionState The SecurityActionState + */ + public function setUpdatedDateTime($val) + { + $this->_propDict["updatedDateTime"] = $val; + return $this; + } + /** + * Gets the user + * The user principal name of the signed-in user that submitted an update (PATCH) to the action. The user should be extracted from the auth token and not entered manually by the calling application. + * + * @return string|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + return $this->_propDict["user"]; + } else { + return null; + } + } + + /** + * Sets the user + * The user principal name of the signed-in user that submitted an update (PATCH) to the action. The user should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The value of the user + * + * @return SecurityActionState + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineCategoryStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineCategoryStateSummary.php new file mode 100644 index 0000000..4181e97 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineCategoryStateSummary.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The category name + * + * @param string $val The displayName + * + * @return SecurityBaselineCategoryStateSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineComplianceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineComplianceState.php new file mode 100644 index 0000000..d4b6bad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineComplianceState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the policy + * + * @param string $val The value of the displayName + * + * @return SecurityBaselineContributingPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the sourceId + * Unique identifier of the policy + * + * @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 + * Unique identifier of the policy + * + * @param string $val The value of the sourceId + * + * @return SecurityBaselineContributingPolicy + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the sourceType + * Authoring source of the policy. Possible values are: deviceConfiguration, deviceIntent. + * + * @return SecurityBaselinePolicySourceType|null The sourceType + */ + public function getSourceType() + { + if (array_key_exists("sourceType", $this->_propDict)) { + if (is_a($this->_propDict["sourceType"], "\Beta\Microsoft\Graph\Model\SecurityBaselinePolicySourceType") || is_null($this->_propDict["sourceType"])) { + return $this->_propDict["sourceType"]; + } else { + $this->_propDict["sourceType"] = new SecurityBaselinePolicySourceType($this->_propDict["sourceType"]); + return $this->_propDict["sourceType"]; + } + } + return null; + } + + /** + * Sets the sourceType + * Authoring source of the policy. Possible values are: deviceConfiguration, deviceIntent. + * + * @param SecurityBaselinePolicySourceType $val The value to assign to the sourceType + * + * @return SecurityBaselineContributingPolicy The SecurityBaselineContributingPolicy + */ + public function setSourceType($val) + { + $this->_propDict["sourceType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineDeviceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineDeviceState.php new file mode 100644 index 0000000..04e4f3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineDeviceState.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Display name of the device + * + * @param string $val The deviceDisplayName + * + * @return SecurityBaselineDeviceState + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report + * + * @param \DateTime $val The lastReportedDateTime + * + * @return SecurityBaselineDeviceState + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * Intune device id + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Intune device id + * + * @param string $val The managedDeviceId + * + * @return SecurityBaselineDeviceState + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the state + * Security baseline compliance state. Possible values are: unknown, secure, notApplicable, notSecure, error, conflict. + * + * @return SecurityBaselineComplianceState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SecurityBaselineComplianceState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SecurityBaselineComplianceState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Security baseline compliance state. Possible values are: unknown, secure, notApplicable, notSecure, error, conflict. + * + * @param SecurityBaselineComplianceState $val The state + * + * @return SecurityBaselineDeviceState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name + * + * @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 + * User Principal Name + * + * @param string $val The userPrincipalName + * + * @return SecurityBaselineDeviceState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselinePolicySourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselinePolicySourceType.php new file mode 100644 index 0000000..e553906 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselinePolicySourceType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["contributingPolicies"]; + } else { + return null; + } + } + + /** + * Sets the contributingPolicies + * The policies that contribute to this setting instance + * + * @param SecurityBaselineContributingPolicy[] $val The contributingPolicies + * + * @return SecurityBaselineSettingState + */ + public function setContributingPolicies($val) + { + $this->_propDict["contributingPolicies"] = $val; + return $this; + } + + /** + * Gets the errorCode + * The error code if the setting is in error state + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code if the setting is in error state + * + * @param string $val The errorCode + * + * @return SecurityBaselineSettingState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the settingCategoryId + * The setting category id which this setting belongs to + * + * @return string|null The settingCategoryId + */ + public function getSettingCategoryId() + { + if (array_key_exists("settingCategoryId", $this->_propDict)) { + return $this->_propDict["settingCategoryId"]; + } else { + return null; + } + } + + /** + * Sets the settingCategoryId + * The setting category id which this setting belongs to + * + * @param string $val The settingCategoryId + * + * @return SecurityBaselineSettingState + */ + public function setSettingCategoryId($val) + { + $this->_propDict["settingCategoryId"] = $val; + return $this; + } + + /** + * Gets the settingCategoryName + * The setting category name which this setting belongs to + * + * @return string|null The settingCategoryName + */ + public function getSettingCategoryName() + { + if (array_key_exists("settingCategoryName", $this->_propDict)) { + return $this->_propDict["settingCategoryName"]; + } else { + return null; + } + } + + /** + * Sets the settingCategoryName + * The setting category name which this setting belongs to + * + * @param string $val The settingCategoryName + * + * @return SecurityBaselineSettingState + */ + public function setSettingCategoryName($val) + { + $this->_propDict["settingCategoryName"] = $val; + return $this; + } + + /** + * Gets the settingId + * The setting id guid + * + * @return string|null The settingId + */ + public function getSettingId() + { + if (array_key_exists("settingId", $this->_propDict)) { + return $this->_propDict["settingId"]; + } else { + return null; + } + } + + /** + * Sets the settingId + * The setting id guid + * + * @param string $val The settingId + * + * @return SecurityBaselineSettingState + */ + public function setSettingId($val) + { + $this->_propDict["settingId"] = $val; + return $this; + } + + /** + * Gets the settingName + * The setting name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * The setting name that is being reported + * + * @param string $val The settingName + * + * @return SecurityBaselineSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + + /** + * Gets the sourcePolicies + * The policies that contribute to this setting instance + * + * @return array|null The sourcePolicies + */ + public function getSourcePolicies() + { + if (array_key_exists("sourcePolicies", $this->_propDict)) { + return $this->_propDict["sourcePolicies"]; + } else { + return null; + } + } + + /** + * Sets the sourcePolicies + * The policies that contribute to this setting instance + * + * @param SettingSource[] $val The sourcePolicies + * + * @return SecurityBaselineSettingState + */ + public function setSourcePolicies($val) + { + $this->_propDict["sourcePolicies"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the security baseline setting + * + * @return SecurityBaselineComplianceState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SecurityBaselineComplianceState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SecurityBaselineComplianceState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the security baseline setting + * + * @param SecurityBaselineComplianceState $val The state + * + * @return SecurityBaselineSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineState.php new file mode 100644 index 0000000..47570d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineState.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the security baseline + * + * @param string $val The displayName + * + * @return SecurityBaselineState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the securityBaselineTemplateId + * The security baseline template id + * + * @return string|null The securityBaselineTemplateId + */ + public function getSecurityBaselineTemplateId() + { + if (array_key_exists("securityBaselineTemplateId", $this->_propDict)) { + return $this->_propDict["securityBaselineTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the securityBaselineTemplateId + * The security baseline template id + * + * @param string $val The securityBaselineTemplateId + * + * @return SecurityBaselineState + */ + public function setSecurityBaselineTemplateId($val) + { + $this->_propDict["securityBaselineTemplateId"] = $val; + return $this; + } + + /** + * Gets the state + * Security baseline compliance state + * + * @return SecurityBaselineComplianceState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SecurityBaselineComplianceState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SecurityBaselineComplianceState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Security baseline compliance state + * + * @param SecurityBaselineComplianceState $val The state + * + * @return SecurityBaselineState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name + * + * @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 + * User Principal Name + * + * @param string $val The userPrincipalName + * + * @return SecurityBaselineState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the settingStates + * The security baseline state for different settings for a device + * + * @return array|null The settingStates + */ + public function getSettingStates() + { + if (array_key_exists("settingStates", $this->_propDict)) { + return $this->_propDict["settingStates"]; + } else { + return null; + } + } + + /** + * Sets the settingStates + * The security baseline state for different settings for a device + * + * @param SecurityBaselineSettingState[] $val The settingStates + * + * @return SecurityBaselineState + */ + public function setSettingStates($val) + { + $this->_propDict["settingStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineStateSummary.php new file mode 100644 index 0000000..1b56b57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineStateSummary.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["conflictCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictCount + * Number of conflict devices + * + * @param int $val The conflictCount + * + * @return SecurityBaselineStateSummary + */ + public function setConflictCount($val) + { + $this->_propDict["conflictCount"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return SecurityBaselineStateSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return SecurityBaselineStateSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the notSecureCount + * Number of not secure devices + * + * @return int|null The notSecureCount + */ + public function getNotSecureCount() + { + if (array_key_exists("notSecureCount", $this->_propDict)) { + return $this->_propDict["notSecureCount"]; + } else { + return null; + } + } + + /** + * Sets the notSecureCount + * Number of not secure devices + * + * @param int $val The notSecureCount + * + * @return SecurityBaselineStateSummary + */ + public function setNotSecureCount($val) + { + $this->_propDict["notSecureCount"] = intval($val); + return $this; + } + + /** + * Gets the secureCount + * Number of secure devices + * + * @return int|null The secureCount + */ + public function getSecureCount() + { + if (array_key_exists("secureCount", $this->_propDict)) { + return $this->_propDict["secureCount"]; + } else { + return null; + } + } + + /** + * Sets the secureCount + * Number of secure devices + * + * @param int $val The secureCount + * + * @return SecurityBaselineStateSummary + */ + public function setSecureCount($val) + { + $this->_propDict["secureCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownCount + * Number of unknown devices + * + * @return int|null The unknownCount + */ + public function getUnknownCount() + { + if (array_key_exists("unknownCount", $this->_propDict)) { + return $this->_propDict["unknownCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownCount + * Number of unknown devices + * + * @param int $val The unknownCount + * + * @return SecurityBaselineStateSummary + */ + public function setUnknownCount($val) + { + $this->_propDict["unknownCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineTemplate.php new file mode 100644 index 0000000..b4a3c94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineTemplate.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["categoryDeviceStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the categoryDeviceStateSummaries + * The security baseline per category device state summary + * + * @param SecurityBaselineCategoryStateSummary[] $val The categoryDeviceStateSummaries + * + * @return SecurityBaselineTemplate + */ + public function setCategoryDeviceStateSummaries($val) + { + $this->_propDict["categoryDeviceStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * The security baseline device states + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * The security baseline device states + * + * @param SecurityBaselineDeviceState[] $val The deviceStates + * + * @return SecurityBaselineTemplate + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + + /** + * Gets the deviceStateSummary + * The security baseline device state summary + * + * @return SecurityBaselineStateSummary|null The deviceStateSummary + */ + public function getDeviceStateSummary() + { + if (array_key_exists("deviceStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceStateSummary"], "\Beta\Microsoft\Graph\Model\SecurityBaselineStateSummary") || is_null($this->_propDict["deviceStateSummary"])) { + return $this->_propDict["deviceStateSummary"]; + } else { + $this->_propDict["deviceStateSummary"] = new SecurityBaselineStateSummary($this->_propDict["deviceStateSummary"]); + return $this->_propDict["deviceStateSummary"]; + } + } + return null; + } + + /** + * Sets the deviceStateSummary + * The security baseline device state summary + * + * @param SecurityBaselineStateSummary $val The deviceStateSummary + * + * @return SecurityBaselineTemplate + */ + public function setDeviceStateSummary($val) + { + $this->_propDict["deviceStateSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityConfigurationTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityConfigurationTask.php new file mode 100644 index 0000000..3593ac2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityConfigurationTask.php @@ -0,0 +1,244 @@ +_propDict)) { + if (is_a($this->_propDict["applicablePlatform"], "\Beta\Microsoft\Graph\Model\EndpointSecurityConfigurationApplicablePlatform") || is_null($this->_propDict["applicablePlatform"])) { + return $this->_propDict["applicablePlatform"]; + } else { + $this->_propDict["applicablePlatform"] = new EndpointSecurityConfigurationApplicablePlatform($this->_propDict["applicablePlatform"]); + return $this->_propDict["applicablePlatform"]; + } + } + return null; + } + + /** + * Sets the applicablePlatform + * The applicable platform. Possible values are: unknown, macOS, windows10AndLater, windows10AndWindowsServer. + * + * @param EndpointSecurityConfigurationApplicablePlatform $val The applicablePlatform + * + * @return SecurityConfigurationTask + */ + public function setApplicablePlatform($val) + { + $this->_propDict["applicablePlatform"] = $val; + return $this; + } + + /** + * Gets the endpointSecurityPolicy + * The endpoint security policy type. Possible values are: unknown, antivirus, diskEncryption, firewall, endpointDetectionAndResponse, attackSurfaceReduction, accountProtection. + * + * @return EndpointSecurityConfigurationType|null The endpointSecurityPolicy + */ + public function getEndpointSecurityPolicy() + { + if (array_key_exists("endpointSecurityPolicy", $this->_propDict)) { + if (is_a($this->_propDict["endpointSecurityPolicy"], "\Beta\Microsoft\Graph\Model\EndpointSecurityConfigurationType") || is_null($this->_propDict["endpointSecurityPolicy"])) { + return $this->_propDict["endpointSecurityPolicy"]; + } else { + $this->_propDict["endpointSecurityPolicy"] = new EndpointSecurityConfigurationType($this->_propDict["endpointSecurityPolicy"]); + return $this->_propDict["endpointSecurityPolicy"]; + } + } + return null; + } + + /** + * Sets the endpointSecurityPolicy + * The endpoint security policy type. Possible values are: unknown, antivirus, diskEncryption, firewall, endpointDetectionAndResponse, attackSurfaceReduction, accountProtection. + * + * @param EndpointSecurityConfigurationType $val The endpointSecurityPolicy + * + * @return SecurityConfigurationTask + */ + public function setEndpointSecurityPolicy($val) + { + $this->_propDict["endpointSecurityPolicy"] = $val; + return $this; + } + + /** + * Gets the endpointSecurityPolicyProfile + * The endpoint security policy profile. Possible values are: unknown, antivirus, windowsSecurity, bitLocker, fileVault, firewall, firewallRules, endpointDetectionAndResponse, deviceControl, appAndBrowserIsolation, exploitProtection, webProtection, applicationControl, attackSurfaceReductionRules, accountProtection. + * + * @return EndpointSecurityConfigurationProfileType|null The endpointSecurityPolicyProfile + */ + public function getEndpointSecurityPolicyProfile() + { + if (array_key_exists("endpointSecurityPolicyProfile", $this->_propDict)) { + if (is_a($this->_propDict["endpointSecurityPolicyProfile"], "\Beta\Microsoft\Graph\Model\EndpointSecurityConfigurationProfileType") || is_null($this->_propDict["endpointSecurityPolicyProfile"])) { + return $this->_propDict["endpointSecurityPolicyProfile"]; + } else { + $this->_propDict["endpointSecurityPolicyProfile"] = new EndpointSecurityConfigurationProfileType($this->_propDict["endpointSecurityPolicyProfile"]); + return $this->_propDict["endpointSecurityPolicyProfile"]; + } + } + return null; + } + + /** + * Sets the endpointSecurityPolicyProfile + * The endpoint security policy profile. Possible values are: unknown, antivirus, windowsSecurity, bitLocker, fileVault, firewall, firewallRules, endpointDetectionAndResponse, deviceControl, appAndBrowserIsolation, exploitProtection, webProtection, applicationControl, attackSurfaceReductionRules, accountProtection. + * + * @param EndpointSecurityConfigurationProfileType $val The endpointSecurityPolicyProfile + * + * @return SecurityConfigurationTask + */ + public function setEndpointSecurityPolicyProfile($val) + { + $this->_propDict["endpointSecurityPolicyProfile"] = $val; + return $this; + } + + /** + * Gets the insights + * Information about the mitigation. + * + * @return string|null The insights + */ + public function getInsights() + { + if (array_key_exists("insights", $this->_propDict)) { + return $this->_propDict["insights"]; + } else { + return null; + } + } + + /** + * Sets the insights + * Information about the mitigation. + * + * @param string $val The insights + * + * @return SecurityConfigurationTask + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + + /** + * Gets the intendedSettings + * The intended settings and their values. + * + * @return array|null The intendedSettings + */ + public function getIntendedSettings() + { + if (array_key_exists("intendedSettings", $this->_propDict)) { + return $this->_propDict["intendedSettings"]; + } else { + return null; + } + } + + /** + * Sets the intendedSettings + * The intended settings and their values. + * + * @param KeyValuePair[] $val The intendedSettings + * + * @return SecurityConfigurationTask + */ + public function setIntendedSettings($val) + { + $this->_propDict["intendedSettings"] = $val; + return $this; + } + + /** + * Gets the managedDeviceCount + * The number of vulnerable devices. + * + * @return int|null The managedDeviceCount + */ + public function getManagedDeviceCount() + { + if (array_key_exists("managedDeviceCount", $this->_propDict)) { + return $this->_propDict["managedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCount + * The number of vulnerable devices. + * + * @param int $val The managedDeviceCount + * + * @return SecurityConfigurationTask + */ + public function setManagedDeviceCount($val) + { + $this->_propDict["managedDeviceCount"] = intval($val); + return $this; + } + + + /** + * Gets the managedDevices + * The vulnerable managed devices. + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The vulnerable managed devices. + * + * @param VulnerableManagedDevice[] $val The managedDevices + * + * @return SecurityConfigurationTask + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityNetworkProtocol.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityNetworkProtocol.php new file mode 100644 index 0000000..0a65942 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityNetworkProtocol.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * + * @param bool $val The value of the enabled + * + * @return SecurityProviderStatus + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + /** + * Gets the endpoint + * + * @return string|null The endpoint + */ + public function getEndpoint() + { + if (array_key_exists("endpoint", $this->_propDict)) { + return $this->_propDict["endpoint"]; + } else { + return null; + } + } + + /** + * Sets the endpoint + * + * @param string $val The value of the endpoint + * + * @return SecurityProviderStatus + */ + public function setEndpoint($val) + { + $this->_propDict["endpoint"] = $val; + return $this; + } + /** + * Gets the provider + * + * @return string|null The provider + */ + public function getProvider() + { + if (array_key_exists("provider", $this->_propDict)) { + return $this->_propDict["provider"]; + } else { + return null; + } + } + + /** + * Sets the provider + * + * @param string $val The value of the provider + * + * @return SecurityProviderStatus + */ + public function setProvider($val) + { + $this->_propDict["provider"] = $val; + return $this; + } + /** + * Gets the region + * + * @return string|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + return $this->_propDict["region"]; + } else { + return null; + } + } + + /** + * Sets the region + * + * @param string $val The value of the region + * + * @return SecurityProviderStatus + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } + /** + * Gets the vendor + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * + * @param string $val The value of the vendor + * + * @return SecurityProviderStatus + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityQuestionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityQuestionType.php new file mode 100644 index 0000000..19cbd6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityQuestionType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * Name of the resource that is related to current alert. Required. + * + * @param string $val The value of the resource + * + * @return SecurityResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceType + * Represents type of security resources related to an alert. Possible values are: attacked, related. + * + * @return SecurityResourceType|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + if (is_a($this->_propDict["resourceType"], "\Beta\Microsoft\Graph\Model\SecurityResourceType") || is_null($this->_propDict["resourceType"])) { + return $this->_propDict["resourceType"]; + } else { + $this->_propDict["resourceType"] = new SecurityResourceType($this->_propDict["resourceType"]); + return $this->_propDict["resourceType"]; + } + } + return null; + } + + /** + * Sets the resourceType + * Represents type of security resources related to an alert. Possible values are: attacked, related. + * + * @param SecurityResourceType $val The value to assign to the resourceType + * + * @return SecurityResource The SecurityResource + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityResourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityResourceType.php new file mode 100644 index 0000000..b9c382e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityResourceType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["provider"]; + } else { + return null; + } + } + + /** + * Sets the provider + * Specific provider (product/service - not vendor company); for example, WindowsDefenderATP. + * + * @param string $val The value of the provider + * + * @return SecurityVendorInformation + */ + public function setProvider($val) + { + $this->_propDict["provider"] = $val; + return $this; + } + /** + * Gets the providerVersion + * Version of the provider or subprovider, if it exists, that generated the alert. Required + * + * @return string|null The providerVersion + */ + public function getProviderVersion() + { + if (array_key_exists("providerVersion", $this->_propDict)) { + return $this->_propDict["providerVersion"]; + } else { + return null; + } + } + + /** + * Sets the providerVersion + * Version of the provider or subprovider, if it exists, that generated the alert. Required + * + * @param string $val The value of the providerVersion + * + * @return SecurityVendorInformation + */ + public function setProviderVersion($val) + { + $this->_propDict["providerVersion"] = $val; + return $this; + } + /** + * Gets the subProvider + * Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen. + * + * @return string|null The subProvider + */ + public function getSubProvider() + { + if (array_key_exists("subProvider", $this->_propDict)) { + return $this->_propDict["subProvider"]; + } else { + return null; + } + } + + /** + * Sets the subProvider + * Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen. + * + * @param string $val The value of the subProvider + * + * @return SecurityVendorInformation + */ + public function setSubProvider($val) + { + $this->_propDict["subProvider"] = $val; + return $this; + } + /** + * Gets the vendor + * Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required + * + * @param string $val The value of the vendor + * + * @return SecurityVendorInformation + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php new file mode 100644 index 0000000..bd944e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property is not a key. Required. + * + * @param bool $val The value of the isEnabled + * + * @return SelfServiceSignUpAuthenticationFlowConfiguration + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfSignedCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfSignedCertificate.php new file mode 100644 index 0000000..64b6459 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfSignedCertificate.php @@ -0,0 +1,298 @@ +_propDict)) { + if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customKeyIdentifier"])) { + return $this->_propDict["customKeyIdentifier"]; + } else { + $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customKeyIdentifier"]); + return $this->_propDict["customKeyIdentifier"]; + } + } + return null; + } + + /** + * Sets the customKeyIdentifier + * Custom key identifier. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setCustomKeyIdentifier($val) + { + $this->_propDict["customKeyIdentifier"] = $val; + return $this; + } + /** + * Gets the displayName + * The friendly name for the key. + * + * @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 + * The friendly name for the key. + * + * @param string $val The value of the displayName + * + * @return SelfSignedCertificate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time at which the credential expires. 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time at which the credential expires. 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 endDateTime + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the key + * The value for the key credential. Should be a base-64 encoded value. + * + * @return \GuzzleHttp\Psr7\Stream|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * The value for the key credential. Should be a base-64 encoded value. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the keyId + * The unique identifier (GUID) for the key. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The unique identifier (GUID) for the key. + * + * @param string $val The value of the keyId + * + * @return SelfSignedCertificate + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time at which the credential becomes valid. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time at which the credential becomes valid. 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 startDateTime + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the thumbprint + * The thumbprint value for the key. + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * The thumbprint value for the key. + * + * @param string $val The value of the thumbprint + * + * @return SelfSignedCertificate + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } + /** + * Gets the type + * The type of key credential. 'AsymmetricX509Cert'. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of key credential. 'AsymmetricX509Cert'. + * + * @param string $val The value of the type + * + * @return SelfSignedCertificate + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the usage + * A string that describes the purpose for which the key can be used. For example, 'Verify'. + * + * @return string|null The usage + */ + public function getUsage() + { + if (array_key_exists("usage", $this->_propDict)) { + return $this->_propDict["usage"]; + } else { + return null; + } + } + + /** + * Sets the usage + * A string that describes the purpose for which the key can be used. For example, 'Verify'. + * + * @param string $val The value of the usage + * + * @return SelfSignedCertificate + */ + public function setUsage($val) + { + $this->_propDict["usage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentEvidence.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentEvidence.php new file mode 100644 index 0000000..381ca4e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentEvidence.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["length"]; + } else { + return null; + } + } + + /** + * Sets the length + * + * @param int $val The value of the length + * + * @return SensitiveContentEvidence + */ + public function setLength($val) + { + $this->_propDict["length"] = $val; + return $this; + } + /** + * Gets the match + * + * @return string|null The match + */ + public function getMatch() + { + if (array_key_exists("match", $this->_propDict)) { + return $this->_propDict["match"]; + } else { + return null; + } + } + + /** + * Sets the match + * + * @param string $val The value of the match + * + * @return SensitiveContentEvidence + */ + public function setMatch($val) + { + $this->_propDict["match"] = $val; + return $this; + } + /** + * Gets the offset + * + * @return int|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + return $this->_propDict["offset"]; + } else { + return null; + } + } + + /** + * Sets the offset + * + * @param int $val The value of the offset + * + * @return SensitiveContentEvidence + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocation.php new file mode 100644 index 0000000..de092bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocation.php @@ -0,0 +1,161 @@ +_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * + * @param int $val The value of the confidence + * + * @return SensitiveContentLocation + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + + /** + * Gets the evidences + * + * @return SensitiveContentEvidence|null The evidences + */ + public function getEvidences() + { + if (array_key_exists("evidences", $this->_propDict)) { + if (is_a($this->_propDict["evidences"], "\Beta\Microsoft\Graph\Model\SensitiveContentEvidence") || is_null($this->_propDict["evidences"])) { + return $this->_propDict["evidences"]; + } else { + $this->_propDict["evidences"] = new SensitiveContentEvidence($this->_propDict["evidences"]); + return $this->_propDict["evidences"]; + } + } + return null; + } + + /** + * Sets the evidences + * + * @param SensitiveContentEvidence $val The value to assign to the evidences + * + * @return SensitiveContentLocation The SensitiveContentLocation + */ + public function setEvidences($val) + { + $this->_propDict["evidences"] = $val; + return $this; + } + /** + * Gets the idMatch + * + * @return string|null The idMatch + */ + public function getIdMatch() + { + if (array_key_exists("idMatch", $this->_propDict)) { + return $this->_propDict["idMatch"]; + } else { + return null; + } + } + + /** + * Sets the idMatch + * + * @param string $val The value of the idMatch + * + * @return SensitiveContentLocation + */ + public function setIdMatch($val) + { + $this->_propDict["idMatch"] = $val; + return $this; + } + /** + * Gets the length + * + * @return int|null The length + */ + public function getLength() + { + if (array_key_exists("length", $this->_propDict)) { + return $this->_propDict["length"]; + } else { + return null; + } + } + + /** + * Sets the length + * + * @param int $val The value of the length + * + * @return SensitiveContentLocation + */ + public function setLength($val) + { + $this->_propDict["length"] = $val; + return $this; + } + /** + * Gets the offset + * + * @return int|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + return $this->_propDict["offset"]; + } else { + return null; + } + } + + /** + * Sets the offset + * + * @param int $val The value of the offset + * + * @return SensitiveContentLocation + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveType.php new file mode 100644 index 0000000..7354488 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveType.php @@ -0,0 +1,282 @@ +_propDict)) { + if (is_a($this->_propDict["classificationMethod"], "\Beta\Microsoft\Graph\Model\ClassificationMethod") || is_null($this->_propDict["classificationMethod"])) { + return $this->_propDict["classificationMethod"]; + } else { + $this->_propDict["classificationMethod"] = new ClassificationMethod($this->_propDict["classificationMethod"]); + return $this->_propDict["classificationMethod"]; + } + } + return null; + } + + /** + * Sets the classificationMethod + * + * @param ClassificationMethod $val The classificationMethod + * + * @return SensitiveType + */ + public function setClassificationMethod($val) + { + $this->_propDict["classificationMethod"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SensitiveType + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return SensitiveType + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the publisherName + * + * @return string|null The publisherName + */ + public function getPublisherName() + { + if (array_key_exists("publisherName", $this->_propDict)) { + return $this->_propDict["publisherName"]; + } else { + return null; + } + } + + /** + * Sets the publisherName + * + * @param string $val The publisherName + * + * @return SensitiveType + */ + public function setPublisherName($val) + { + $this->_propDict["publisherName"] = $val; + return $this; + } + + /** + * Gets the rulePackageId + * + * @return string|null The rulePackageId + */ + public function getRulePackageId() + { + if (array_key_exists("rulePackageId", $this->_propDict)) { + return $this->_propDict["rulePackageId"]; + } else { + return null; + } + } + + /** + * Sets the rulePackageId + * + * @param string $val The rulePackageId + * + * @return SensitiveType + */ + public function setRulePackageId($val) + { + $this->_propDict["rulePackageId"] = $val; + return $this; + } + + /** + * Gets the rulePackageType + * + * @return string|null The rulePackageType + */ + public function getRulePackageType() + { + if (array_key_exists("rulePackageType", $this->_propDict)) { + return $this->_propDict["rulePackageType"]; + } else { + return null; + } + } + + /** + * Sets the rulePackageType + * + * @param string $val The rulePackageType + * + * @return SensitiveType + */ + public function setRulePackageType($val) + { + $this->_propDict["rulePackageType"] = $val; + return $this; + } + + /** + * Gets the scope + * + * @return SensitiveTypeScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\SensitiveTypeScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new SensitiveTypeScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * + * @param SensitiveTypeScope $val The scope + * + * @return SensitiveType + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the sensitiveTypeSource + * + * @return SensitiveTypeSource|null The sensitiveTypeSource + */ + public function getSensitiveTypeSource() + { + if (array_key_exists("sensitiveTypeSource", $this->_propDict)) { + if (is_a($this->_propDict["sensitiveTypeSource"], "\Beta\Microsoft\Graph\Model\SensitiveTypeSource") || is_null($this->_propDict["sensitiveTypeSource"])) { + return $this->_propDict["sensitiveTypeSource"]; + } else { + $this->_propDict["sensitiveTypeSource"] = new SensitiveTypeSource($this->_propDict["sensitiveTypeSource"]); + return $this->_propDict["sensitiveTypeSource"]; + } + } + return null; + } + + /** + * Sets the sensitiveTypeSource + * + * @param SensitiveTypeSource $val The sensitiveTypeSource + * + * @return SensitiveType + */ + public function setSensitiveTypeSource($val) + { + $this->_propDict["sensitiveTypeSource"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The state + * + * @return SensitiveType + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveTypeScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveTypeScope.php new file mode 100644 index 0000000..dfebac6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveTypeScope.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["applicableTo"], "\Beta\Microsoft\Graph\Model\SensitivityLabelTarget") || is_null($this->_propDict["applicableTo"])) { + return $this->_propDict["applicableTo"]; + } else { + $this->_propDict["applicableTo"] = new SensitivityLabelTarget($this->_propDict["applicableTo"]); + return $this->_propDict["applicableTo"]; + } + } + return null; + } + + /** + * Sets the applicableTo + * + * @param SensitivityLabelTarget $val The applicableTo + * + * @return SensitivityLabel + */ + public function setApplicableTo($val) + { + $this->_propDict["applicableTo"] = $val; + return $this; + } + + /** + * Gets the applicationMode + * + * @return ApplicationMode|null The applicationMode + */ + public function getApplicationMode() + { + if (array_key_exists("applicationMode", $this->_propDict)) { + if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\ApplicationMode") || is_null($this->_propDict["applicationMode"])) { + return $this->_propDict["applicationMode"]; + } else { + $this->_propDict["applicationMode"] = new ApplicationMode($this->_propDict["applicationMode"]); + return $this->_propDict["applicationMode"]; + } + } + return null; + } + + /** + * Sets the applicationMode + * + * @param ApplicationMode $val The applicationMode + * + * @return SensitivityLabel + */ + public function setApplicationMode($val) + { + $this->_propDict["applicationMode"] = $val; + return $this; + } + + + /** + * Gets the assignedPolicies + * + * @return array|null The assignedPolicies + */ + public function getAssignedPolicies() + { + if (array_key_exists("assignedPolicies", $this->_propDict)) { + return $this->_propDict["assignedPolicies"]; + } else { + return null; + } + } + + /** + * Sets the assignedPolicies + * + * @param LabelPolicy[] $val The assignedPolicies + * + * @return SensitivityLabel + */ + public function setAssignedPolicies($val) + { + $this->_propDict["assignedPolicies"] = $val; + return $this; + } + + /** + * Gets the autoLabeling + * + * @return AutoLabeling|null The autoLabeling + */ + public function getAutoLabeling() + { + if (array_key_exists("autoLabeling", $this->_propDict)) { + if (is_a($this->_propDict["autoLabeling"], "\Beta\Microsoft\Graph\Model\AutoLabeling") || is_null($this->_propDict["autoLabeling"])) { + return $this->_propDict["autoLabeling"]; + } else { + $this->_propDict["autoLabeling"] = new AutoLabeling($this->_propDict["autoLabeling"]); + return $this->_propDict["autoLabeling"]; + } + } + return null; + } + + /** + * Sets the autoLabeling + * + * @param AutoLabeling $val The autoLabeling + * + * @return SensitivityLabel + */ + public function setAutoLabeling($val) + { + $this->_propDict["autoLabeling"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SensitivityLabel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return SensitivityLabel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isDefault + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * + * @param bool $val The isDefault + * + * @return SensitivityLabel + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isEndpointProtectionEnabled + * + * @return bool|null The isEndpointProtectionEnabled + */ + public function getIsEndpointProtectionEnabled() + { + if (array_key_exists("isEndpointProtectionEnabled", $this->_propDict)) { + return $this->_propDict["isEndpointProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEndpointProtectionEnabled + * + * @param bool $val The isEndpointProtectionEnabled + * + * @return SensitivityLabel + */ + public function setIsEndpointProtectionEnabled($val) + { + $this->_propDict["isEndpointProtectionEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the labelActions + * + * @return array|null The labelActions + */ + public function getLabelActions() + { + if (array_key_exists("labelActions", $this->_propDict)) { + return $this->_propDict["labelActions"]; + } else { + return null; + } + } + + /** + * Sets the labelActions + * + * @param LabelActionBase[] $val The labelActions + * + * @return SensitivityLabel + */ + public function setLabelActions($val) + { + $this->_propDict["labelActions"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return SensitivityLabel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the priority + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * + * @param int $val The priority + * + * @return SensitivityLabel + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the toolTip + * + * @return string|null The toolTip + */ + public function getToolTip() + { + if (array_key_exists("toolTip", $this->_propDict)) { + return $this->_propDict["toolTip"]; + } else { + return null; + } + } + + /** + * Sets the toolTip + * + * @param string $val The toolTip + * + * @return SensitivityLabel + */ + public function setToolTip($val) + { + $this->_propDict["toolTip"] = $val; + return $this; + } + + + /** + * Gets the sublabels + * + * @return array|null The sublabels + */ + public function getSublabels() + { + if (array_key_exists("sublabels", $this->_propDict)) { + return $this->_propDict["sublabels"]; + } else { + return null; + } + } + + /** + * Sets the sublabels + * + * @param SensitivityLabel[] $val The sublabels + * + * @return SensitivityLabel + */ + public function setSublabels($val) + { + $this->_propDict["sublabels"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelAssignment.php new file mode 100644 index 0000000..f53ef48 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelAssignment.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\Model\SensitivityLabelAssignmentMethod") || is_null($this->_propDict["assignmentMethod"])) { + return $this->_propDict["assignmentMethod"]; + } else { + $this->_propDict["assignmentMethod"] = new SensitivityLabelAssignmentMethod($this->_propDict["assignmentMethod"]); + return $this->_propDict["assignmentMethod"]; + } + } + return null; + } + + /** + * Sets the assignmentMethod + * Indicates whether the label assignment is done automatically, as a standard, or a privileged operation. The possible values are: standard, privileged, auto, unknownFutureValue. + * + * @param SensitivityLabelAssignmentMethod $val The value to assign to the assignmentMethod + * + * @return SensitivityLabelAssignment The SensitivityLabelAssignment + */ + public function setAssignmentMethod($val) + { + $this->_propDict["assignmentMethod"] = $val; + return $this; + } + /** + * Gets the sensitivityLabelId + * The unique identifier for the sensitivity label assigned to the file. + * + * @return string|null The sensitivityLabelId + */ + public function getSensitivityLabelId() + { + if (array_key_exists("sensitivityLabelId", $this->_propDict)) { + return $this->_propDict["sensitivityLabelId"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabelId + * The unique identifier for the sensitivity label assigned to the file. + * + * @param string $val The value of the sensitivityLabelId + * + * @return SensitivityLabelAssignment + */ + public function setSensitivityLabelId($val) + { + $this->_propDict["sensitivityLabelId"] = $val; + return $this; + } + /** + * Gets the tenantId + * The unique identifier for the tenant that hosts the file when this label is applied. + * + * @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 + * The unique identifier for the tenant that hosts the file when this label is applied. + * + * @param string $val The value of the tenantId + * + * @return SensitivityLabelAssignment + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelAssignmentMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelAssignmentMethod.php new file mode 100644 index 0000000..a2b470c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelAssignmentMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["applicableTo"], "\Beta\Microsoft\Graph\Model\SensitivityLabelTarget") || is_null($this->_propDict["applicableTo"])) { + return $this->_propDict["applicableTo"]; + } else { + $this->_propDict["applicableTo"] = new SensitivityLabelTarget($this->_propDict["applicableTo"]); + return $this->_propDict["applicableTo"]; + } + } + return null; + } + + /** + * Sets the applicableTo + * + * @param SensitivityLabelTarget $val The applicableTo + * + * @return SensitivityPolicySettings + */ + public function setApplicableTo($val) + { + $this->_propDict["applicableTo"] = $val; + return $this; + } + + /** + * Gets the downgradeSensitivityRequiresJustification + * + * @return bool|null The downgradeSensitivityRequiresJustification + */ + public function getDowngradeSensitivityRequiresJustification() + { + if (array_key_exists("downgradeSensitivityRequiresJustification", $this->_propDict)) { + return $this->_propDict["downgradeSensitivityRequiresJustification"]; + } else { + return null; + } + } + + /** + * Sets the downgradeSensitivityRequiresJustification + * + * @param bool $val The downgradeSensitivityRequiresJustification + * + * @return SensitivityPolicySettings + */ + public function setDowngradeSensitivityRequiresJustification($val) + { + $this->_propDict["downgradeSensitivityRequiresJustification"] = boolval($val); + return $this; + } + + /** + * Gets the helpWebUrl + * + * @return string|null The helpWebUrl + */ + public function getHelpWebUrl() + { + if (array_key_exists("helpWebUrl", $this->_propDict)) { + return $this->_propDict["helpWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the helpWebUrl + * + * @param string $val The helpWebUrl + * + * @return SensitivityPolicySettings + */ + public function setHelpWebUrl($val) + { + $this->_propDict["helpWebUrl"] = $val; + return $this; + } + + /** + * Gets the isMandatory + * + * @return bool|null The isMandatory + */ + public function getIsMandatory() + { + if (array_key_exists("isMandatory", $this->_propDict)) { + return $this->_propDict["isMandatory"]; + } else { + return null; + } + } + + /** + * Sets the isMandatory + * + * @param bool $val The isMandatory + * + * @return SensitivityPolicySettings + */ + public function setIsMandatory($val) + { + $this->_propDict["isMandatory"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncement.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncement.php new file mode 100644 index 0000000..3a7ccf5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncement.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["healthOverviews"]; + } else { + return null; + } + } + + /** + * Sets the healthOverviews + * A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @param ServiceHealth[] $val The healthOverviews + * + * @return ServiceAnnouncement + */ + public function setHealthOverviews($val) + { + $this->_propDict["healthOverviews"] = $val; + return $this; + } + + + /** + * Gets the issues + * A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @return array|null The issues + */ + public function getIssues() + { + if (array_key_exists("issues", $this->_propDict)) { + return $this->_propDict["issues"]; + } else { + return null; + } + } + + /** + * Sets the issues + * A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @param ServiceHealthIssue[] $val The issues + * + * @return ServiceAnnouncement + */ + public function setIssues($val) + { + $this->_propDict["issues"] = $val; + return $this; + } + + + /** + * Gets the messages + * A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @param ServiceUpdateMessage[] $val The messages + * + * @return ServiceAnnouncement + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncementAttachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncementAttachment.php new file mode 100644 index 0000000..c1ed53d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncementAttachment.php @@ -0,0 +1,172 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The attachment content. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return ServiceAnnouncementAttachment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * + * @param string $val The contentType + * + * @return ServiceAnnouncementAttachment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ServiceAnnouncementAttachment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return ServiceAnnouncementAttachment + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * + * @param int $val The size + * + * @return ServiceAnnouncementAttachment + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncementBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncementBase.php new file mode 100644 index 0000000..61fcc8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceAnnouncementBase.php @@ -0,0 +1,185 @@ +_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * Additional details about service event. This property doesn't support filters. + * + * @param KeyValuePair[] $val The details + * + * @return ServiceAnnouncementBase + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The end time of the service event. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the service event. + * + * @param \DateTime $val The endDateTime + * + * @return ServiceAnnouncementBase + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last modified time of the service event. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last modified time of the service event. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ServiceAnnouncementBase + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the service event. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the service event. + * + * @param \DateTime $val The startDateTime + * + * @return ServiceAnnouncementBase + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * The title of the service event. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the service event. + * + * @param string $val The title + * + * @return ServiceAnnouncementBase + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealth.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealth.php new file mode 100644 index 0000000..62a212e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealth.php @@ -0,0 +1,119 @@ +_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The service name. Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. + * + * @param string $val The service + * + * @return ServiceHealth + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the status + * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @return ServiceHealthStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ServiceHealthStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ServiceHealthStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @param ServiceHealthStatus $val The status + * + * @return ServiceHealth + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the issues + * A collection of issues that happened on the service, with detailed information for each issue. + * + * @return array|null The issues + */ + public function getIssues() + { + if (array_key_exists("issues", $this->_propDict)) { + return $this->_propDict["issues"]; + } else { + return null; + } + } + + /** + * Sets the issues + * A collection of issues that happened on the service, with detailed information for each issue. + * + * @param ServiceHealthIssue[] $val The issues + * + * @return ServiceHealth + */ + public function setIssues($val) + { + $this->_propDict["issues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthClassificationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthClassificationType.php new file mode 100644 index 0000000..14c8dbd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthClassificationType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\ServiceHealthClassificationType") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new ServiceHealthClassificationType($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * The type of service health issue. Possible values are: advisory, incident, unknownFutureValue. + * + * @param ServiceHealthClassificationType $val The classification + * + * @return ServiceHealthIssue + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the feature + * The feature name of the service issue. + * + * @return string|null The feature + */ + public function getFeature() + { + if (array_key_exists("feature", $this->_propDict)) { + return $this->_propDict["feature"]; + } else { + return null; + } + } + + /** + * Sets the feature + * The feature name of the service issue. + * + * @param string $val The feature + * + * @return ServiceHealthIssue + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + + /** + * Gets the featureGroup + * The feature group name of the service issue. + * + * @return string|null The featureGroup + */ + public function getFeatureGroup() + { + if (array_key_exists("featureGroup", $this->_propDict)) { + return $this->_propDict["featureGroup"]; + } else { + return null; + } + } + + /** + * Sets the featureGroup + * The feature group name of the service issue. + * + * @param string $val The featureGroup + * + * @return ServiceHealthIssue + */ + public function setFeatureGroup($val) + { + $this->_propDict["featureGroup"] = $val; + return $this; + } + + /** + * Gets the impactDescription + * The description of the service issue impact. + * + * @return string|null The impactDescription + */ + public function getImpactDescription() + { + if (array_key_exists("impactDescription", $this->_propDict)) { + return $this->_propDict["impactDescription"]; + } else { + return null; + } + } + + /** + * Sets the impactDescription + * The description of the service issue impact. + * + * @param string $val The impactDescription + * + * @return ServiceHealthIssue + */ + public function setImpactDescription($val) + { + $this->_propDict["impactDescription"] = $val; + return $this; + } + + /** + * Gets the isResolved + * Indicates whether the issue is resolved. + * + * @return bool|null The isResolved + */ + public function getIsResolved() + { + if (array_key_exists("isResolved", $this->_propDict)) { + return $this->_propDict["isResolved"]; + } else { + return null; + } + } + + /** + * Sets the isResolved + * Indicates whether the issue is resolved. + * + * @param bool $val The isResolved + * + * @return ServiceHealthIssue + */ + public function setIsResolved($val) + { + $this->_propDict["isResolved"] = boolval($val); + return $this; + } + + /** + * Gets the origin + * Indicates the origin of the service issue. Possible values are: microsoft, thirdParty, customer, unknownFutureValue. + * + * @return ServiceHealthOrigin|null The origin + */ + public function getOrigin() + { + if (array_key_exists("origin", $this->_propDict)) { + if (is_a($this->_propDict["origin"], "\Beta\Microsoft\Graph\Model\ServiceHealthOrigin") || is_null($this->_propDict["origin"])) { + return $this->_propDict["origin"]; + } else { + $this->_propDict["origin"] = new ServiceHealthOrigin($this->_propDict["origin"]); + return $this->_propDict["origin"]; + } + } + return null; + } + + /** + * Sets the origin + * Indicates the origin of the service issue. Possible values are: microsoft, thirdParty, customer, unknownFutureValue. + * + * @param ServiceHealthOrigin $val The origin + * + * @return ServiceHealthIssue + */ + public function setOrigin($val) + { + $this->_propDict["origin"] = $val; + return $this; + } + + + /** + * Gets the posts + * Collection of historical posts for the service issue. + * + * @return array|null The posts + */ + public function getPosts() + { + if (array_key_exists("posts", $this->_propDict)) { + return $this->_propDict["posts"]; + } else { + return null; + } + } + + /** + * Sets the posts + * Collection of historical posts for the service issue. + * + * @param ServiceHealthIssuePost[] $val The posts + * + * @return ServiceHealthIssue + */ + public function setPosts($val) + { + $this->_propDict["posts"] = $val; + return $this; + } + + /** + * Gets the service + * Indicates the service affected by the issue. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * Indicates the service affected by the issue. + * + * @param string $val The service + * + * @return ServiceHealthIssue + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the service issue. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @return ServiceHealthStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ServiceHealthStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ServiceHealthStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the service issue. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @param ServiceHealthStatus $val The status + * + * @return ServiceHealthIssue + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthIssuePost.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthIssuePost.php new file mode 100644 index 0000000..3fcd6de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthIssuePost.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The published time of the post. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ServiceHealthIssuePost The ServiceHealthIssuePost + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The content of the service issue post. + * + * @return ItemBody|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new ItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The content of the service issue post. + * + * @param ItemBody $val The value to assign to the description + * + * @return ServiceHealthIssuePost The ServiceHealthIssuePost + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the postType + * The post type of the service issue historical post. Possible values are: regular, quick, strategic, unknownFutureValue. + * + * @return PostType|null The postType + */ + public function getPostType() + { + if (array_key_exists("postType", $this->_propDict)) { + if (is_a($this->_propDict["postType"], "\Beta\Microsoft\Graph\Model\PostType") || is_null($this->_propDict["postType"])) { + return $this->_propDict["postType"]; + } else { + $this->_propDict["postType"] = new PostType($this->_propDict["postType"]); + return $this->_propDict["postType"]; + } + } + return null; + } + + /** + * Sets the postType + * The post type of the service issue historical post. Possible values are: regular, quick, strategic, unknownFutureValue. + * + * @param PostType $val The value to assign to the postType + * + * @return ServiceHealthIssuePost The ServiceHealthIssuePost + */ + public function setPostType($val) + { + $this->_propDict["postType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthOrigin.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthOrigin.php new file mode 100644 index 0000000..00f70fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHealthOrigin.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.serviceHostedMediaConfig"); + } + + + /** + * Gets the preFetchMedia + * The list of media to pre-fetch. + * + * @return MediaInfo|null The preFetchMedia + */ + public function getPreFetchMedia() + { + if (array_key_exists("preFetchMedia", $this->_propDict)) { + if (is_a($this->_propDict["preFetchMedia"], "\Beta\Microsoft\Graph\Model\MediaInfo") || is_null($this->_propDict["preFetchMedia"])) { + return $this->_propDict["preFetchMedia"]; + } else { + $this->_propDict["preFetchMedia"] = new MediaInfo($this->_propDict["preFetchMedia"]); + return $this->_propDict["preFetchMedia"]; + } + } + return null; + } + + /** + * Sets the preFetchMedia + * The list of media to pre-fetch. + * + * @param MediaInfo $val The value to assign to the preFetchMedia + * + * @return ServiceHostedMediaConfig The ServiceHostedMediaConfig + */ + public function setPreFetchMedia($val) + { + $this->_propDict["preFetchMedia"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceInformation.php new file mode 100644 index 0000000..3210988 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceInformation.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the cloud service (for example, Twitter, Instagram). + * + * @param string $val The value of the name + * + * @return ServiceInformation + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the webUrl + * Contains the URL for the service being referenced. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Contains the URL for the service being referenced. + * + * @param string $val The value of the webUrl + * + * @return ServiceInformation + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php new file mode 100644 index 0000000..021d8be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * The object the service plan can be assigned to. The possible values are:User - service plan can be assigned to individual users.Company - service plan can be assigned to the entire tenant. + * + * @param string $val The value of the appliesTo + * + * @return ServicePlanInfo + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the provisioningStatus + * The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. + * + * @return string|null The provisioningStatus + */ + public function getProvisioningStatus() + { + if (array_key_exists("provisioningStatus", $this->_propDict)) { + return $this->_propDict["provisioningStatus"]; + } else { + return null; + } + } + + /** + * Sets the provisioningStatus + * The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. + * + * @param string $val The value of the provisioningStatus + * + * @return ServicePlanInfo + */ + public function setProvisioningStatus($val) + { + $this->_propDict["provisioningStatus"] = $val; + return $this; + } + /** + * Gets the servicePlanId + * The unique identifier of the service plan. + * + * @return string|null The servicePlanId + */ + public function getServicePlanId() + { + if (array_key_exists("servicePlanId", $this->_propDict)) { + return $this->_propDict["servicePlanId"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanId + * The unique identifier of the service plan. + * + * @param string $val The value of the servicePlanId + * + * @return ServicePlanInfo + */ + public function setServicePlanId($val) + { + $this->_propDict["servicePlanId"] = $val; + return $this; + } + /** + * Gets the servicePlanName + * The name of the service plan. + * + * @return string|null The servicePlanName + */ + public function getServicePlanName() + { + if (array_key_exists("servicePlanName", $this->_propDict)) { + return $this->_propDict["servicePlanName"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanName + * The name of the service plan. + * + * @param string $val The value of the servicePlanName + * + * @return ServicePlanInfo + */ + public function setServicePlanName($val) + { + $this->_propDict["servicePlanName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php new file mode 100644 index 0000000..893e0c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php @@ -0,0 +1,1658 @@ +_propDict)) { + if (is_a($this->_propDict["passwordSingleSignOnSettings"], "\Beta\Microsoft\Graph\Model\PasswordSingleSignOnSettings") || is_null($this->_propDict["passwordSingleSignOnSettings"])) { + return $this->_propDict["passwordSingleSignOnSettings"]; + } else { + $this->_propDict["passwordSingleSignOnSettings"] = new PasswordSingleSignOnSettings($this->_propDict["passwordSingleSignOnSettings"]); + return $this->_propDict["passwordSingleSignOnSettings"]; + } + } + return null; + } + + /** + * Sets the passwordSingleSignOnSettings + * The collection for settings related to password single sign-on. Use $select=passwordSingleSignOnSettings to read the property. Read-only for applicationTemplates except for custom applicationTemplates. + * + * @param PasswordSingleSignOnSettings $val The passwordSingleSignOnSettings + * + * @return ServicePrincipal + */ + public function setPasswordSingleSignOnSettings($val) + { + $this->_propDict["passwordSingleSignOnSettings"] = $val; + return $this; + } + + /** + * Gets the accountEnabled + * true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, not, in). + * + * @return bool|null The accountEnabled + */ + public function getAccountEnabled() + { + if (array_key_exists("accountEnabled", $this->_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, not, in). + * + * @param bool $val The accountEnabled + * + * @return ServicePrincipal + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the addIns + * Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on. + * + * @return array|null The addIns + */ + public function getAddIns() + { + if (array_key_exists("addIns", $this->_propDict)) { + return $this->_propDict["addIns"]; + } else { + return null; + } + } + + /** + * Sets the addIns + * Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on. + * + * @param AddIn[] $val The addIns + * + * @return ServicePrincipal + */ + public function setAddIns($val) + { + $this->_propDict["addIns"] = $val; + return $this; + } + + /** + * Gets the alternativeNames + * Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The alternativeNames + */ + public function getAlternativeNames() + { + if (array_key_exists("alternativeNames", $this->_propDict)) { + return $this->_propDict["alternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the alternativeNames + * Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The alternativeNames + * + * @return ServicePrincipal + */ + public function setAlternativeNames($val) + { + $this->_propDict["alternativeNames"] = $val; + return $this; + } + + /** + * Gets the appDescription + * The description exposed by the associated application. + * + * @return string|null The appDescription + */ + public function getAppDescription() + { + if (array_key_exists("appDescription", $this->_propDict)) { + return $this->_propDict["appDescription"]; + } else { + return null; + } + } + + /** + * Sets the appDescription + * The description exposed by the associated application. + * + * @param string $val The appDescription + * + * @return ServicePrincipal + */ + public function setAppDescription($val) + { + $this->_propDict["appDescription"] = $val; + return $this; + } + + /** + * Gets the appDisplayName + * The display name exposed by the associated application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The display name exposed by the associated application. + * + * @param string $val The appDisplayName + * + * @return ServicePrincipal + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + * + * @param string $val The appId + * + * @return ServicePrincipal + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the applicationTemplateId + * Unique identifier of the applicationTemplate that the servicePrincipal was created from. Read-only. Supports $filter (eq, ne, NOT, startsWith). + * + * @return string|null The applicationTemplateId + */ + public function getApplicationTemplateId() + { + if (array_key_exists("applicationTemplateId", $this->_propDict)) { + return $this->_propDict["applicationTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the applicationTemplateId + * Unique identifier of the applicationTemplate that the servicePrincipal was created from. Read-only. Supports $filter (eq, ne, NOT, startsWith). + * + * @param string $val The applicationTemplateId + * + * @return ServicePrincipal + */ + public function setApplicationTemplateId($val) + { + $this->_propDict["applicationTemplateId"] = $val; + return $this; + } + + /** + * Gets the appOwnerOrganizationId + * Contains the tenant id where the application is registered. This is applicable only to service principals backed by applications.Supports $filter (eq, ne, NOT, ge, le). + * + * @return string|null The appOwnerOrganizationId + */ + public function getAppOwnerOrganizationId() + { + if (array_key_exists("appOwnerOrganizationId", $this->_propDict)) { + return $this->_propDict["appOwnerOrganizationId"]; + } else { + return null; + } + } + + /** + * Sets the appOwnerOrganizationId + * Contains the tenant id where the application is registered. This is applicable only to service principals backed by applications.Supports $filter (eq, ne, NOT, ge, le). + * + * @param string $val The appOwnerOrganizationId + * + * @return ServicePrincipal + */ + public function setAppOwnerOrganizationId($val) + { + $this->_propDict["appOwnerOrganizationId"] = $val; + return $this; + } + + /** + * Gets the appRoleAssignmentRequired + * Specifies whether users or other service principals need to be granted an app role assignment for this service principal before users can sign in or apps can get tokens. The default value is false. Not nullable. Supports $filter (eq, ne, NOT). + * + * @return bool|null The appRoleAssignmentRequired + */ + public function getAppRoleAssignmentRequired() + { + if (array_key_exists("appRoleAssignmentRequired", $this->_propDict)) { + return $this->_propDict["appRoleAssignmentRequired"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignmentRequired + * Specifies whether users or other service principals need to be granted an app role assignment for this service principal before users can sign in or apps can get tokens. The default value is false. Not nullable. Supports $filter (eq, ne, NOT). + * + * @param bool $val The appRoleAssignmentRequired + * + * @return ServicePrincipal + */ + public function setAppRoleAssignmentRequired($val) + { + $this->_propDict["appRoleAssignmentRequired"] = boolval($val); + return $this; + } + + + /** + * Gets the appRoles + * The roles exposed by the application which this service principal represents. For more information see the appRoles property definition on the application entity. Not nullable. + * + * @return array|null The appRoles + */ + public function getAppRoles() + { + if (array_key_exists("appRoles", $this->_propDict)) { + return $this->_propDict["appRoles"]; + } else { + return null; + } + } + + /** + * Sets the appRoles + * The roles exposed by the application which this service principal represents. For more information see the appRoles property definition on the application entity. Not nullable. + * + * @param AppRole[] $val The appRoles + * + * @return ServicePrincipal + */ + public function setAppRoles($val) + { + $this->_propDict["appRoles"] = $val; + return $this; + } + + /** + * Gets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). + * + * @return CustomSecurityAttributeValue|null The customSecurityAttributes + */ + public function getCustomSecurityAttributes() + { + if (array_key_exists("customSecurityAttributes", $this->_propDict)) { + if (is_a($this->_propDict["customSecurityAttributes"], "\Beta\Microsoft\Graph\Model\CustomSecurityAttributeValue") || is_null($this->_propDict["customSecurityAttributes"])) { + return $this->_propDict["customSecurityAttributes"]; + } else { + $this->_propDict["customSecurityAttributes"] = new CustomSecurityAttributeValue($this->_propDict["customSecurityAttributes"]); + return $this->_propDict["customSecurityAttributes"]; + } + } + return null; + } + + /** + * Sets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). + * + * @param CustomSecurityAttributeValue $val The customSecurityAttributes + * + * @return ServicePrincipal + */ + public function setCustomSecurityAttributes($val) + { + $this->_propDict["customSecurityAttributes"] = $val; + return $this; + } + + /** + * Gets the description + * Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @param string $val The description + * + * @return ServicePrincipal + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @return string|null The disabledByMicrosoftStatus + */ + public function getDisabledByMicrosoftStatus() + { + if (array_key_exists("disabledByMicrosoftStatus", $this->_propDict)) { + return $this->_propDict["disabledByMicrosoftStatus"]; + } else { + return null; + } + } + + /** + * Sets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @param string $val The disabledByMicrosoftStatus + * + * @return ServicePrincipal + */ + public function setDisabledByMicrosoftStatus($val) + { + $this->_propDict["disabledByMicrosoftStatus"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return ServicePrincipal + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errorUrl + * Deprecated. Don't use. + * + * @return string|null The errorUrl + */ + public function getErrorUrl() + { + if (array_key_exists("errorUrl", $this->_propDict)) { + return $this->_propDict["errorUrl"]; + } else { + return null; + } + } + + /** + * Sets the errorUrl + * Deprecated. Don't use. + * + * @param string $val The errorUrl + * + * @return ServicePrincipal + */ + public function setErrorUrl($val) + { + $this->_propDict["errorUrl"] = $val; + return $this; + } + + /** + * Gets the homepage + * Home page or landing page of the application. + * + * @return string|null The homepage + */ + public function getHomepage() + { + if (array_key_exists("homepage", $this->_propDict)) { + return $this->_propDict["homepage"]; + } else { + return null; + } + } + + /** + * Sets the homepage + * Home page or landing page of the application. + * + * @param string $val The homepage + * + * @return ServicePrincipal + */ + public function setHomepage($val) + { + $this->_propDict["homepage"] = $val; + return $this; + } + + /** + * Gets the info + * Basic profile information of the acquired application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @return InformationalUrl|null The info + */ + public function getInfo() + { + if (array_key_exists("info", $this->_propDict)) { + if (is_a($this->_propDict["info"], "\Beta\Microsoft\Graph\Model\InformationalUrl") || is_null($this->_propDict["info"])) { + return $this->_propDict["info"]; + } else { + $this->_propDict["info"] = new InformationalUrl($this->_propDict["info"]); + return $this->_propDict["info"]; + } + } + return null; + } + + /** + * Sets the info + * Basic profile information of the acquired application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @param InformationalUrl $val The info + * + * @return ServicePrincipal + */ + public function setInfo($val) + { + $this->_propDict["info"] = $val; + return $this; + } + + + /** + * Gets the keyCredentials + * The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The keyCredentials + */ + public function getKeyCredentials() + { + if (array_key_exists("keyCredentials", $this->_propDict)) { + return $this->_propDict["keyCredentials"]; + } else { + return null; + } + } + + /** + * Sets the keyCredentials + * The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param KeyCredential[] $val The keyCredentials + * + * @return ServicePrincipal + */ + public function setKeyCredentials($val) + { + $this->_propDict["keyCredentials"] = $val; + return $this; + } + + /** + * Gets the loginUrl + * Specifies the URL where the service provider redirects the user to Azure AD to authenticate. Azure AD uses the URL to launch the application from Microsoft 365 or the Azure AD My Apps. When blank, Azure AD performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Azure AD My Apps, or the Azure AD SSO URL. + * + * @return string|null The loginUrl + */ + public function getLoginUrl() + { + if (array_key_exists("loginUrl", $this->_propDict)) { + return $this->_propDict["loginUrl"]; + } else { + return null; + } + } + + /** + * Sets the loginUrl + * Specifies the URL where the service provider redirects the user to Azure AD to authenticate. Azure AD uses the URL to launch the application from Microsoft 365 or the Azure AD My Apps. When blank, Azure AD performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Azure AD My Apps, or the Azure AD SSO URL. + * + * @param string $val The loginUrl + * + * @return ServicePrincipal + */ + public function setLoginUrl($val) + { + $this->_propDict["loginUrl"] = $val; + return $this; + } + + /** + * Gets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using OpenId Connect front-channel, back-channel or SAML logout protocols. + * + * @return string|null The logoutUrl + */ + public function getLogoutUrl() + { + if (array_key_exists("logoutUrl", $this->_propDict)) { + return $this->_propDict["logoutUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using OpenId Connect front-channel, back-channel or SAML logout protocols. + * + * @param string $val The logoutUrl + * + * @return ServicePrincipal + */ + public function setLogoutUrl($val) + { + $this->_propDict["logoutUrl"] = $val; + return $this; + } + + /** + * Gets the notes + * Free text field to capture information about the service principal, typically used for operational purposes. Maximum allowed size is 1024 characters. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Free text field to capture information about the service principal, typically used for operational purposes. Maximum allowed size is 1024 characters. + * + * @param string $val The notes + * + * @return ServicePrincipal + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the notificationEmailAddresses + * Specifies the list of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. + * + * @return string|null The notificationEmailAddresses + */ + public function getNotificationEmailAddresses() + { + if (array_key_exists("notificationEmailAddresses", $this->_propDict)) { + return $this->_propDict["notificationEmailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the notificationEmailAddresses + * Specifies the list of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. + * + * @param string $val The notificationEmailAddresses + * + * @return ServicePrincipal + */ + public function setNotificationEmailAddresses($val) + { + $this->_propDict["notificationEmailAddresses"] = $val; + return $this; + } + + + /** + * Gets the passwordCredentials + * The collection of password credentials associated with the service principal. Not nullable. + * + * @return array|null The passwordCredentials + */ + public function getPasswordCredentials() + { + if (array_key_exists("passwordCredentials", $this->_propDict)) { + return $this->_propDict["passwordCredentials"]; + } else { + return null; + } + } + + /** + * Sets the passwordCredentials + * The collection of password credentials associated with the service principal. Not nullable. + * + * @param PasswordCredential[] $val The passwordCredentials + * + * @return ServicePrincipal + */ + public function setPasswordCredentials($val) + { + $this->_propDict["passwordCredentials"] = $val; + return $this; + } + + /** + * Gets the preferredSingleSignOnMode + * Specifies the single sign-on mode configured for this application. Azure AD uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Azure AD My Apps. The supported values are password, saml, notSupported, and oidc. + * + * @return string|null The preferredSingleSignOnMode + */ + public function getPreferredSingleSignOnMode() + { + if (array_key_exists("preferredSingleSignOnMode", $this->_propDict)) { + return $this->_propDict["preferredSingleSignOnMode"]; + } else { + return null; + } + } + + /** + * Sets the preferredSingleSignOnMode + * Specifies the single sign-on mode configured for this application. Azure AD uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Azure AD My Apps. The supported values are password, saml, notSupported, and oidc. + * + * @param string $val The preferredSingleSignOnMode + * + * @return ServicePrincipal + */ + public function setPreferredSingleSignOnMode($val) + { + $this->_propDict["preferredSingleSignOnMode"] = $val; + return $this; + } + + /** + * Gets the preferredTokenSigningKeyEndDateTime + * Specifies the expiration date of the keyCredential used for token signing, marked by preferredTokenSigningKeyThumbprint. + * + * @return \DateTime|null The preferredTokenSigningKeyEndDateTime + */ + public function getPreferredTokenSigningKeyEndDateTime() + { + if (array_key_exists("preferredTokenSigningKeyEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["preferredTokenSigningKeyEndDateTime"], "\DateTime") || is_null($this->_propDict["preferredTokenSigningKeyEndDateTime"])) { + return $this->_propDict["preferredTokenSigningKeyEndDateTime"]; + } else { + $this->_propDict["preferredTokenSigningKeyEndDateTime"] = new \DateTime($this->_propDict["preferredTokenSigningKeyEndDateTime"]); + return $this->_propDict["preferredTokenSigningKeyEndDateTime"]; + } + } + return null; + } + + /** + * Sets the preferredTokenSigningKeyEndDateTime + * Specifies the expiration date of the keyCredential used for token signing, marked by preferredTokenSigningKeyThumbprint. + * + * @param \DateTime $val The preferredTokenSigningKeyEndDateTime + * + * @return ServicePrincipal + */ + public function setPreferredTokenSigningKeyEndDateTime($val) + { + $this->_propDict["preferredTokenSigningKeyEndDateTime"] = $val; + return $this; + } + + /** + * Gets the preferredTokenSigningKeyThumbprint + * Reserved for internal use only. Do not write or otherwise rely on this property. May be removed in future versions. + * + * @return string|null The preferredTokenSigningKeyThumbprint + */ + public function getPreferredTokenSigningKeyThumbprint() + { + if (array_key_exists("preferredTokenSigningKeyThumbprint", $this->_propDict)) { + return $this->_propDict["preferredTokenSigningKeyThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the preferredTokenSigningKeyThumbprint + * Reserved for internal use only. Do not write or otherwise rely on this property. May be removed in future versions. + * + * @param string $val The preferredTokenSigningKeyThumbprint + * + * @return ServicePrincipal + */ + public function setPreferredTokenSigningKeyThumbprint($val) + { + $this->_propDict["preferredTokenSigningKeyThumbprint"] = $val; + return $this; + } + + + /** + * Gets the publishedPermissionScopes + * The delegated permissions exposed by the application. For more information see the oauth2PermissionScopes property on the application entity's api property. Not nullable. Note: This property is named oauth2PermissionScopes in v1.0. + * + * @return array|null The publishedPermissionScopes + */ + public function getPublishedPermissionScopes() + { + if (array_key_exists("publishedPermissionScopes", $this->_propDict)) { + return $this->_propDict["publishedPermissionScopes"]; + } else { + return null; + } + } + + /** + * Sets the publishedPermissionScopes + * The delegated permissions exposed by the application. For more information see the oauth2PermissionScopes property on the application entity's api property. Not nullable. Note: This property is named oauth2PermissionScopes in v1.0. + * + * @param PermissionScope[] $val The publishedPermissionScopes + * + * @return ServicePrincipal + */ + public function setPublishedPermissionScopes($val) + { + $this->_propDict["publishedPermissionScopes"] = $val; + return $this; + } + + /** + * Gets the publisherName + * + * @return string|null The publisherName + */ + public function getPublisherName() + { + if (array_key_exists("publisherName", $this->_propDict)) { + return $this->_propDict["publisherName"]; + } else { + return null; + } + } + + /** + * Sets the publisherName + * + * @param string $val The publisherName + * + * @return ServicePrincipal + */ + public function setPublisherName($val) + { + $this->_propDict["publisherName"] = $val; + return $this; + } + + /** + * Gets the replyUrls + * The URLs that user tokens are sent to for sign in with the associated application, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to for the associated application. Not nullable. + * + * @return string|null The replyUrls + */ + public function getReplyUrls() + { + if (array_key_exists("replyUrls", $this->_propDict)) { + return $this->_propDict["replyUrls"]; + } else { + return null; + } + } + + /** + * Sets the replyUrls + * The URLs that user tokens are sent to for sign in with the associated application, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to for the associated application. Not nullable. + * + * @param string $val The replyUrls + * + * @return ServicePrincipal + */ + public function setReplyUrls($val) + { + $this->_propDict["replyUrls"] = $val; + return $this; + } + + /** + * Gets the samlMetadataUrl + * The url where the service exposes SAML metadata for federation. + * + * @return string|null The samlMetadataUrl + */ + public function getSamlMetadataUrl() + { + if (array_key_exists("samlMetadataUrl", $this->_propDict)) { + return $this->_propDict["samlMetadataUrl"]; + } else { + return null; + } + } + + /** + * Sets the samlMetadataUrl + * The url where the service exposes SAML metadata for federation. + * + * @param string $val The samlMetadataUrl + * + * @return ServicePrincipal + */ + public function setSamlMetadataUrl($val) + { + $this->_propDict["samlMetadataUrl"] = $val; + return $this; + } + + /** + * Gets the samlSingleSignOnSettings + * The collection for settings related to saml single sign-on. + * + * @return SamlSingleSignOnSettings|null The samlSingleSignOnSettings + */ + public function getSamlSingleSignOnSettings() + { + if (array_key_exists("samlSingleSignOnSettings", $this->_propDict)) { + if (is_a($this->_propDict["samlSingleSignOnSettings"], "\Beta\Microsoft\Graph\Model\SamlSingleSignOnSettings") || is_null($this->_propDict["samlSingleSignOnSettings"])) { + return $this->_propDict["samlSingleSignOnSettings"]; + } else { + $this->_propDict["samlSingleSignOnSettings"] = new SamlSingleSignOnSettings($this->_propDict["samlSingleSignOnSettings"]); + return $this->_propDict["samlSingleSignOnSettings"]; + } + } + return null; + } + + /** + * Sets the samlSingleSignOnSettings + * The collection for settings related to saml single sign-on. + * + * @param SamlSingleSignOnSettings $val The samlSingleSignOnSettings + * + * @return ServicePrincipal + */ + public function setSamlSingleSignOnSettings($val) + { + $this->_propDict["samlSingleSignOnSettings"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalNames + * Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The servicePrincipalNames + */ + public function getServicePrincipalNames() + { + if (array_key_exists("servicePrincipalNames", $this->_propDict)) { + return $this->_propDict["servicePrincipalNames"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalNames + * Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The servicePrincipalNames + * + * @return ServicePrincipal + */ + public function setServicePrincipalNames($val) + { + $this->_propDict["servicePrincipalNames"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalType + * Identifies if the service principal represents an application or a managed identity. This is set by Azure AD internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use. + * + * @return string|null The servicePrincipalType + */ + public function getServicePrincipalType() + { + if (array_key_exists("servicePrincipalType", $this->_propDict)) { + return $this->_propDict["servicePrincipalType"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalType + * Identifies if the service principal represents an application or a managed identity. This is set by Azure AD internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use. + * + * @param string $val The servicePrincipalType + * + * @return ServicePrincipal + */ + public function setServicePrincipalType($val) + { + $this->_propDict["servicePrincipalType"] = $val; + return $this; + } + + /** + * Gets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. + * + * @return string|null The signInAudience + */ + public function getSignInAudience() + { + if (array_key_exists("signInAudience", $this->_propDict)) { + return $this->_propDict["signInAudience"]; + } else { + return null; + } + } + + /** + * Sets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. + * + * @param string $val The signInAudience + * + * @return ServicePrincipal + */ + public function setSignInAudience($val) + { + $this->_propDict["signInAudience"] = $val; + return $this; + } + + /** + * Gets the tags + * Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The tags + * + * @return ServicePrincipal + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @return string|null The tokenEncryptionKeyId + */ + public function getTokenEncryptionKeyId() + { + if (array_key_exists("tokenEncryptionKeyId", $this->_propDict)) { + return $this->_propDict["tokenEncryptionKeyId"]; + } else { + return null; + } + } + + /** + * Sets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @param string $val The tokenEncryptionKeyId + * + * @return ServicePrincipal + */ + public function setTokenEncryptionKeyId($val) + { + $this->_propDict["tokenEncryptionKeyId"] = $val; + return $this; + } + + + /** + * Gets the appManagementPolicies + * The appManagementPolicy applied to this service principal. + * + * @return array|null The appManagementPolicies + */ + public function getAppManagementPolicies() + { + if (array_key_exists("appManagementPolicies", $this->_propDict)) { + return $this->_propDict["appManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appManagementPolicies + * The appManagementPolicy applied to this service principal. + * + * @param AppManagementPolicy[] $val The appManagementPolicies + * + * @return ServicePrincipal + */ + public function setAppManagementPolicies($val) + { + $this->_propDict["appManagementPolicies"] = $val; + return $this; + } + + + /** + * Gets the appRoleAssignedTo + * App role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. + * + * @return array|null The appRoleAssignedTo + */ + public function getAppRoleAssignedTo() + { + if (array_key_exists("appRoleAssignedTo", $this->_propDict)) { + return $this->_propDict["appRoleAssignedTo"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignedTo + * App role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignedTo + * + * @return ServicePrincipal + */ + public function setAppRoleAssignedTo($val) + { + $this->_propDict["appRoleAssignedTo"] = $val; + return $this; + } + + + /** + * Gets the appRoleAssignments + * App role assignment for another app or service, granted to this service principal. Supports $expand. + * + * @return array|null The appRoleAssignments + */ + public function getAppRoleAssignments() + { + if (array_key_exists("appRoleAssignments", $this->_propDict)) { + return $this->_propDict["appRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignments + * App role assignment for another app or service, granted to this service principal. Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignments + * + * @return ServicePrincipal + */ + public function setAppRoleAssignments($val) + { + $this->_propDict["appRoleAssignments"] = $val; + return $this; + } + + + /** + * Gets the claimsMappingPolicies + * The claimsMappingPolicies assigned to this service principal. Supports $expand. + * + * @return array|null The claimsMappingPolicies + */ + public function getClaimsMappingPolicies() + { + if (array_key_exists("claimsMappingPolicies", $this->_propDict)) { + return $this->_propDict["claimsMappingPolicies"]; + } else { + return null; + } + } + + /** + * Sets the claimsMappingPolicies + * The claimsMappingPolicies assigned to this service principal. Supports $expand. + * + * @param ClaimsMappingPolicy[] $val The claimsMappingPolicies + * + * @return ServicePrincipal + */ + public function setClaimsMappingPolicies($val) + { + $this->_propDict["claimsMappingPolicies"] = $val; + return $this; + } + + + /** + * Gets the createdObjects + * Directory objects created by this service principal. Read-only. Nullable. + * + * @return array|null The createdObjects + */ + public function getCreatedObjects() + { + if (array_key_exists("createdObjects", $this->_propDict)) { + return $this->_propDict["createdObjects"]; + } else { + return null; + } + } + + /** + * Sets the createdObjects + * Directory objects created by this service principal. Read-only. Nullable. + * + * @param DirectoryObject[] $val The createdObjects + * + * @return ServicePrincipal + */ + public function setCreatedObjects($val) + { + $this->_propDict["createdObjects"] = $val; + return $this; + } + + + /** + * Gets the delegatedPermissionClassifications + * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. + * + * @return array|null The delegatedPermissionClassifications + */ + public function getDelegatedPermissionClassifications() + { + if (array_key_exists("delegatedPermissionClassifications", $this->_propDict)) { + return $this->_propDict["delegatedPermissionClassifications"]; + } else { + return null; + } + } + + /** + * Sets the delegatedPermissionClassifications + * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. + * + * @param DelegatedPermissionClassification[] $val The delegatedPermissionClassifications + * + * @return ServicePrincipal + */ + public function setDelegatedPermissionClassifications($val) + { + $this->_propDict["delegatedPermissionClassifications"] = $val; + return $this; + } + + + /** + * Gets the endpoints + * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. + * + * @return array|null The endpoints + */ + public function getEndpoints() + { + if (array_key_exists("endpoints", $this->_propDict)) { + return $this->_propDict["endpoints"]; + } else { + return null; + } + } + + /** + * Sets the endpoints + * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. + * + * @param Endpoint[] $val The endpoints + * + * @return ServicePrincipal + */ + public function setEndpoints($val) + { + $this->_propDict["endpoints"] = $val; + return $this; + } + + + /** + * Gets the federatedIdentityCredentials + * + * @return array|null The federatedIdentityCredentials + */ + public function getFederatedIdentityCredentials() + { + if (array_key_exists("federatedIdentityCredentials", $this->_propDict)) { + return $this->_propDict["federatedIdentityCredentials"]; + } else { + return null; + } + } + + /** + * Sets the federatedIdentityCredentials + * + * @param FederatedIdentityCredential[] $val The federatedIdentityCredentials + * + * @return ServicePrincipal + */ + public function setFederatedIdentityCredentials($val) + { + $this->_propDict["federatedIdentityCredentials"] = $val; + return $this; + } + + + /** + * Gets the homeRealmDiscoveryPolicies + * The homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. + * + * @return array|null The homeRealmDiscoveryPolicies + */ + public function getHomeRealmDiscoveryPolicies() + { + if (array_key_exists("homeRealmDiscoveryPolicies", $this->_propDict)) { + return $this->_propDict["homeRealmDiscoveryPolicies"]; + } else { + return null; + } + } + + /** + * Sets the homeRealmDiscoveryPolicies + * The homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. + * + * @param HomeRealmDiscoveryPolicy[] $val The homeRealmDiscoveryPolicies + * + * @return ServicePrincipal + */ + public function setHomeRealmDiscoveryPolicies($val) + { + $this->_propDict["homeRealmDiscoveryPolicies"] = $val; + return $this; + } + + + /** + * Gets the licenseDetails + * + * @return array|null The licenseDetails + */ + public function getLicenseDetails() + { + if (array_key_exists("licenseDetails", $this->_propDict)) { + return $this->_propDict["licenseDetails"]; + } else { + return null; + } + } + + /** + * Sets the licenseDetails + * + * @param LicenseDetails[] $val The licenseDetails + * + * @return ServicePrincipal + */ + public function setLicenseDetails($val) + { + $this->_propDict["licenseDetails"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return ServicePrincipal + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the oauth2PermissionGrants + * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. + * + * @return array|null The oauth2PermissionGrants + */ + public function getOauth2PermissionGrants() + { + if (array_key_exists("oauth2PermissionGrants", $this->_propDict)) { + return $this->_propDict["oauth2PermissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the oauth2PermissionGrants + * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. + * + * @param OAuth2PermissionGrant[] $val The oauth2PermissionGrants + * + * @return ServicePrincipal + */ + public function setOauth2PermissionGrants($val) + { + $this->_propDict["oauth2PermissionGrants"] = $val; + return $this; + } + + + /** + * Gets the ownedObjects + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand. + * + * @return array|null The ownedObjects + */ + public function getOwnedObjects() + { + if (array_key_exists("ownedObjects", $this->_propDict)) { + return $this->_propDict["ownedObjects"]; + } else { + return null; + } + } + + /** + * Sets the ownedObjects + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The ownedObjects + * + * @return ServicePrincipal + */ + public function setOwnedObjects($val) + { + $this->_propDict["ownedObjects"] = $val; + return $this; + } + + + /** + * Gets the owners + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand. + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The owners + * + * @return ServicePrincipal + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the tokenIssuancePolicies + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * + * @return array|null The tokenIssuancePolicies + */ + public function getTokenIssuancePolicies() + { + if (array_key_exists("tokenIssuancePolicies", $this->_propDict)) { + return $this->_propDict["tokenIssuancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuancePolicies + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * + * @param TokenIssuancePolicy[] $val The tokenIssuancePolicies + * + * @return ServicePrincipal + */ + public function setTokenIssuancePolicies($val) + { + $this->_propDict["tokenIssuancePolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this service principal. Supports $expand. + * + * @return array|null The tokenLifetimePolicies + */ + public function getTokenLifetimePolicies() + { + if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { + return $this->_propDict["tokenLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this service principal. Supports $expand. + * + * @param TokenLifetimePolicy[] $val The tokenLifetimePolicies + * + * @return ServicePrincipal + */ + public function setTokenLifetimePolicies($val) + { + $this->_propDict["tokenLifetimePolicies"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return ServicePrincipal + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + /** + * Gets the synchronization + * + * @return Synchronization|null The synchronization + */ + public function getSynchronization() + { + if (array_key_exists("synchronization", $this->_propDict)) { + if (is_a($this->_propDict["synchronization"], "\Beta\Microsoft\Graph\Model\Synchronization") || is_null($this->_propDict["synchronization"])) { + return $this->_propDict["synchronization"]; + } else { + $this->_propDict["synchronization"] = new Synchronization($this->_propDict["synchronization"]); + return $this->_propDict["synchronization"]; + } + } + return null; + } + + /** + * Sets the synchronization + * + * @param Synchronization $val The synchronization + * + * @return ServicePrincipal + */ + public function setSynchronization($val) + { + $this->_propDict["synchronization"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalCreationConditionSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalCreationConditionSet.php new file mode 100644 index 0000000..1c06f1e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalCreationConditionSet.php @@ -0,0 +1,162 @@ +_propDict)) { + return $this->_propDict["applicationIds"]; + } else { + return null; + } + } + + /** + * Sets the applicationIds + * + * @param string $val The applicationIds + * + * @return ServicePrincipalCreationConditionSet + */ + public function setApplicationIds($val) + { + $this->_propDict["applicationIds"] = $val; + return $this; + } + + /** + * Gets the applicationPublisherIds + * + * @return string|null The applicationPublisherIds + */ + public function getApplicationPublisherIds() + { + if (array_key_exists("applicationPublisherIds", $this->_propDict)) { + return $this->_propDict["applicationPublisherIds"]; + } else { + return null; + } + } + + /** + * Sets the applicationPublisherIds + * + * @param string $val The applicationPublisherIds + * + * @return ServicePrincipalCreationConditionSet + */ + public function setApplicationPublisherIds($val) + { + $this->_propDict["applicationPublisherIds"] = $val; + return $this; + } + + /** + * Gets the applicationsFromVerifiedPublisherOnly + * + * @return bool|null The applicationsFromVerifiedPublisherOnly + */ + public function getApplicationsFromVerifiedPublisherOnly() + { + if (array_key_exists("applicationsFromVerifiedPublisherOnly", $this->_propDict)) { + return $this->_propDict["applicationsFromVerifiedPublisherOnly"]; + } else { + return null; + } + } + + /** + * Sets the applicationsFromVerifiedPublisherOnly + * + * @param bool $val The applicationsFromVerifiedPublisherOnly + * + * @return ServicePrincipalCreationConditionSet + */ + public function setApplicationsFromVerifiedPublisherOnly($val) + { + $this->_propDict["applicationsFromVerifiedPublisherOnly"] = boolval($val); + return $this; + } + + /** + * Gets the applicationTenantIds + * + * @return string|null The applicationTenantIds + */ + public function getApplicationTenantIds() + { + if (array_key_exists("applicationTenantIds", $this->_propDict)) { + return $this->_propDict["applicationTenantIds"]; + } else { + return null; + } + } + + /** + * Sets the applicationTenantIds + * + * @param string $val The applicationTenantIds + * + * @return ServicePrincipalCreationConditionSet + */ + public function setApplicationTenantIds($val) + { + $this->_propDict["applicationTenantIds"] = $val; + return $this; + } + + /** + * Gets the certifiedApplicationsOnly + * + * @return bool|null The certifiedApplicationsOnly + */ + public function getCertifiedApplicationsOnly() + { + if (array_key_exists("certifiedApplicationsOnly", $this->_propDict)) { + return $this->_propDict["certifiedApplicationsOnly"]; + } else { + return null; + } + } + + /** + * Sets the certifiedApplicationsOnly + * + * @param bool $val The certifiedApplicationsOnly + * + * @return ServicePrincipalCreationConditionSet + */ + public function setCertifiedApplicationsOnly($val) + { + $this->_propDict["certifiedApplicationsOnly"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalCreationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalCreationPolicy.php new file mode 100644 index 0000000..c0250ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalCreationPolicy.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * + * @param bool $val The isBuiltIn + * + * @return ServicePrincipalCreationPolicy + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + + /** + * Gets the excludes + * + * @return array|null The excludes + */ + public function getExcludes() + { + if (array_key_exists("excludes", $this->_propDict)) { + return $this->_propDict["excludes"]; + } else { + return null; + } + } + + /** + * Sets the excludes + * + * @param ServicePrincipalCreationConditionSet[] $val The excludes + * + * @return ServicePrincipalCreationPolicy + */ + public function setExcludes($val) + { + $this->_propDict["excludes"] = $val; + return $this; + } + + + /** + * Gets the includes + * + * @return array|null The includes + */ + public function getIncludes() + { + if (array_key_exists("includes", $this->_propDict)) { + return $this->_propDict["includes"]; + } else { + return null; + } + } + + /** + * Sets the includes + * + * @param ServicePrincipalCreationConditionSet[] $val The includes + * + * @return ServicePrincipalCreationPolicy + */ + public function setIncludes($val) + { + $this->_propDict["includes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalIdentity.php new file mode 100644 index 0000000..9b32ac0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalIdentity.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application identifier of the service principal. + * + * @param string $val The value of the appId + * + * @return ServicePrincipalIdentity + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalRiskDetection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalRiskDetection.php new file mode 100644 index 0000000..e19288f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalRiskDetection.php @@ -0,0 +1,647 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\ActivityType") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new ActivityType($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * Indicates the activity type the detected risk is linked to. The possible values are: signin, unknownFutureValue, servicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. + * + * @param ActivityType $val The activity + * + * @return ServicePrincipalRiskDetection + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * Date and time when the risky activity occurred. The DateTimeOffset 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 activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Date and time when the risky activity occurred. The DateTimeOffset 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 activityDateTime + * + * @return ServicePrincipalRiskDetection + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the additionalInfo + * Additional information associated with the risk detection. This string value is represented as a JSON object with the quotations escaped. + * + * @return string|null The additionalInfo + */ + public function getAdditionalInfo() + { + if (array_key_exists("additionalInfo", $this->_propDict)) { + return $this->_propDict["additionalInfo"]; + } else { + return null; + } + } + + /** + * Sets the additionalInfo + * Additional information associated with the risk detection. This string value is represented as a JSON object with the quotations escaped. + * + * @param string $val The additionalInfo + * + * @return ServicePrincipalRiskDetection + */ + public function setAdditionalInfo($val) + { + $this->_propDict["additionalInfo"] = $val; + return $this; + } + + /** + * Gets the appId + * The unique identifier for the associated application. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the associated application. + * + * @param string $val The appId + * + * @return ServicePrincipalRiskDetection + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the correlationId + * Correlation ID of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Correlation ID of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. + * + * @param string $val The correlationId + * + * @return ServicePrincipalRiskDetection + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the detectedDateTime + * Date and time when the risk was detected. The DateTimeOffset 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 detectedDateTime + */ + public function getDetectedDateTime() + { + if (array_key_exists("detectedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["detectedDateTime"], "\DateTime") || is_null($this->_propDict["detectedDateTime"])) { + return $this->_propDict["detectedDateTime"]; + } else { + $this->_propDict["detectedDateTime"] = new \DateTime($this->_propDict["detectedDateTime"]); + return $this->_propDict["detectedDateTime"]; + } + } + return null; + } + + /** + * Sets the detectedDateTime + * Date and time when the risk was detected. The DateTimeOffset 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 detectedDateTime + * + * @return ServicePrincipalRiskDetection + */ + public function setDetectedDateTime($val) + { + $this->_propDict["detectedDateTime"] = $val; + return $this; + } + + /** + * Gets the detectionTimingType + * Timing of the detected risk , whether real-time or offline). The possible values are: notDefined, realtime, nearRealtime, offline, unknownFutureValue. + * + * @return RiskDetectionTimingType|null The detectionTimingType + */ + public function getDetectionTimingType() + { + if (array_key_exists("detectionTimingType", $this->_propDict)) { + if (is_a($this->_propDict["detectionTimingType"], "\Beta\Microsoft\Graph\Model\RiskDetectionTimingType") || is_null($this->_propDict["detectionTimingType"])) { + return $this->_propDict["detectionTimingType"]; + } else { + $this->_propDict["detectionTimingType"] = new RiskDetectionTimingType($this->_propDict["detectionTimingType"]); + return $this->_propDict["detectionTimingType"]; + } + } + return null; + } + + /** + * Sets the detectionTimingType + * Timing of the detected risk , whether real-time or offline). The possible values are: notDefined, realtime, nearRealtime, offline, unknownFutureValue. + * + * @param RiskDetectionTimingType $val The detectionTimingType + * + * @return ServicePrincipalRiskDetection + */ + public function setDetectionTimingType($val) + { + $this->_propDict["detectionTimingType"] = $val; + return $this; + } + + /** + * Gets the ipAddress + * Provides the IP address of the client from where the risk occurred. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * Provides the IP address of the client from where the risk occurred. + * + * @param string $val The ipAddress + * + * @return ServicePrincipalRiskDetection + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + + /** + * Gets the keyIds + * The unique identifier (GUID) for the key credential associated with the risk detection. + * + * @return string|null The keyIds + */ + public function getKeyIds() + { + if (array_key_exists("keyIds", $this->_propDict)) { + return $this->_propDict["keyIds"]; + } else { + return null; + } + } + + /** + * Sets the keyIds + * The unique identifier (GUID) for the key credential associated with the risk detection. + * + * @param string $val The keyIds + * + * @return ServicePrincipalRiskDetection + */ + public function setKeyIds($val) + { + $this->_propDict["keyIds"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Date and time when the risk detection was last updated. + * + * @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 + * Date and time when the risk detection was last updated. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return ServicePrincipalRiskDetection + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the location + * Location from where the sign-in was initiated. + * + * @return SignInLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\SignInLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new SignInLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Location from where the sign-in was initiated. + * + * @param SignInLocation $val The location + * + * @return ServicePrincipalRiskDetection + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the requestId + * Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. Supports $filter (eq). + * + * @return string|null The requestId + */ + public function getRequestId() + { + if (array_key_exists("requestId", $this->_propDict)) { + return $this->_propDict["requestId"]; + } else { + return null; + } + } + + /** + * Sets the requestId + * Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. Supports $filter (eq). + * + * @param string $val The requestId + * + * @return ServicePrincipalRiskDetection + */ + public function setRequestId($val) + { + $this->_propDict["requestId"] = $val; + return $this; + } + + /** + * Gets the riskDetail + * Details of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * Details of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. + * + * @param RiskDetail $val The riskDetail + * + * @return ServicePrincipalRiskDetection + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskEventType + * The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, unknownFutureValue. Supports $filter (eq). + * + * @return string|null The riskEventType + */ + public function getRiskEventType() + { + if (array_key_exists("riskEventType", $this->_propDict)) { + return $this->_propDict["riskEventType"]; + } else { + return null; + } + } + + /** + * Sets the riskEventType + * The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, unknownFutureValue. Supports $filter (eq). + * + * @param string $val The riskEventType + * + * @return ServicePrincipalRiskDetection + */ + public function setRiskEventType($val) + { + $this->_propDict["riskEventType"] = $val; + return $this; + } + + /** + * Gets the riskLevel + * Level of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: low, medium, high, hidden, none, unknownFutureValue. + * + * @return RiskLevel|null The riskLevel + */ + public function getRiskLevel() + { + if (array_key_exists("riskLevel", $this->_propDict)) { + if (is_a($this->_propDict["riskLevel"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevel"])) { + return $this->_propDict["riskLevel"]; + } else { + $this->_propDict["riskLevel"] = new RiskLevel($this->_propDict["riskLevel"]); + return $this->_propDict["riskLevel"]; + } + } + return null; + } + + /** + * Sets the riskLevel + * Level of the detected risk. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. The possible values are: low, medium, high, hidden, none, unknownFutureValue. + * + * @param RiskLevel $val The riskLevel + * + * @return ServicePrincipalRiskDetection + */ + public function setRiskLevel($val) + { + $this->_propDict["riskLevel"] = $val; + return $this; + } + + /** + * Gets the riskState + * The state of a detected risky service principal or sign-in activity. The possible values are: none, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * The state of a detected risky service principal or sign-in activity. The possible values are: none, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @param RiskState $val The riskState + * + * @return ServicePrincipalRiskDetection + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalDisplayName + * The display name for the service principal. + * + * @return string|null The servicePrincipalDisplayName + */ + public function getServicePrincipalDisplayName() + { + if (array_key_exists("servicePrincipalDisplayName", $this->_propDict)) { + return $this->_propDict["servicePrincipalDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalDisplayName + * The display name for the service principal. + * + * @param string $val The servicePrincipalDisplayName + * + * @return ServicePrincipalRiskDetection + */ + public function setServicePrincipalDisplayName($val) + { + $this->_propDict["servicePrincipalDisplayName"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalId + * The unique identifier for the service principal. Supports $filter (eq). + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * The unique identifier for the service principal. Supports $filter (eq). + * + * @param string $val The servicePrincipalId + * + * @return ServicePrincipalRiskDetection + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } + + /** + * Gets the source + * Source of the risk detection. For example, identityProtection. + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * Source of the risk detection. For example, identityProtection. + * + * @param string $val The source + * + * @return ServicePrincipalRiskDetection + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the tokenIssuerType + * Indicates the type of token issuer for the detected sign-in risk. The possible values are: AzureAD, UnknownFutureValue. + * + * @return TokenIssuerType|null The tokenIssuerType + */ + public function getTokenIssuerType() + { + if (array_key_exists("tokenIssuerType", $this->_propDict)) { + if (is_a($this->_propDict["tokenIssuerType"], "\Beta\Microsoft\Graph\Model\TokenIssuerType") || is_null($this->_propDict["tokenIssuerType"])) { + return $this->_propDict["tokenIssuerType"]; + } else { + $this->_propDict["tokenIssuerType"] = new TokenIssuerType($this->_propDict["tokenIssuerType"]); + return $this->_propDict["tokenIssuerType"]; + } + } + return null; + } + + /** + * Sets the tokenIssuerType + * Indicates the type of token issuer for the detected sign-in risk. The possible values are: AzureAD, UnknownFutureValue. + * + * @param TokenIssuerType $val The tokenIssuerType + * + * @return ServicePrincipalRiskDetection + */ + public function setTokenIssuerType($val) + { + $this->_propDict["tokenIssuerType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceStartType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceStartType.php new file mode 100644 index 0000000..d388054 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceStartType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["actionRequiredByDateTime"], "\DateTime") || is_null($this->_propDict["actionRequiredByDateTime"])) { + return $this->_propDict["actionRequiredByDateTime"]; + } else { + $this->_propDict["actionRequiredByDateTime"] = new \DateTime($this->_propDict["actionRequiredByDateTime"]); + return $this->_propDict["actionRequiredByDateTime"]; + } + } + return null; + } + + /** + * Sets the actionRequiredByDateTime + * The expected deadline of the action for the message. + * + * @param \DateTime $val The actionRequiredByDateTime + * + * @return ServiceUpdateMessage + */ + public function setActionRequiredByDateTime($val) + { + $this->_propDict["actionRequiredByDateTime"] = $val; + return $this; + } + + /** + * Gets the attachmentsArchive + * The zip file of all attachments for a message. + * + * @return \GuzzleHttp\Psr7\Stream|null The attachmentsArchive + */ + public function getAttachmentsArchive() + { + if (array_key_exists("attachmentsArchive", $this->_propDict)) { + if (is_a($this->_propDict["attachmentsArchive"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["attachmentsArchive"])) { + return $this->_propDict["attachmentsArchive"]; + } else { + $this->_propDict["attachmentsArchive"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["attachmentsArchive"]); + return $this->_propDict["attachmentsArchive"]; + } + } + return null; + } + + /** + * Sets the attachmentsArchive + * The zip file of all attachments for a message. + * + * @param \GuzzleHttp\Psr7\Stream $val The attachmentsArchive + * + * @return ServiceUpdateMessage + */ + public function setAttachmentsArchive($val) + { + $this->_propDict["attachmentsArchive"] = $val; + return $this; + } + + /** + * Gets the body + * The content type and content of the service message body. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The content type and content of the service message body. + * + * @param ItemBody $val The body + * + * @return ServiceUpdateMessage + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the category + * The service message category. Possible values are: preventOrFixIssue, planForChange, stayInformed, unknownFutureValue. + * + * @return ServiceUpdateCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\ServiceUpdateCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ServiceUpdateCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The service message category. Possible values are: preventOrFixIssue, planForChange, stayInformed, unknownFutureValue. + * + * @param ServiceUpdateCategory $val The category + * + * @return ServiceUpdateMessage + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether the message has any attachment. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether the message has any attachment. + * + * @param bool $val The hasAttachments + * + * @return ServiceUpdateMessage + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the isMajorChange + * Indicates whether the message describes a major update for the service. + * + * @return bool|null The isMajorChange + */ + public function getIsMajorChange() + { + if (array_key_exists("isMajorChange", $this->_propDict)) { + return $this->_propDict["isMajorChange"]; + } else { + return null; + } + } + + /** + * Sets the isMajorChange + * Indicates whether the message describes a major update for the service. + * + * @param bool $val The isMajorChange + * + * @return ServiceUpdateMessage + */ + public function setIsMajorChange($val) + { + $this->_propDict["isMajorChange"] = boolval($val); + return $this; + } + + /** + * Gets the services + * The affected services by the service message. + * + * @return string|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * The affected services by the service message. + * + * @param string $val The services + * + * @return ServiceUpdateMessage + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + + /** + * Gets the severity + * The severity of the service message. Possible values are: normal, high, critical, unknownFutureValue. + * + * @return ServiceUpdateSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\ServiceUpdateSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new ServiceUpdateSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * The severity of the service message. Possible values are: normal, high, critical, unknownFutureValue. + * + * @param ServiceUpdateSeverity $val The severity + * + * @return ServiceUpdateMessage + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + + /** + * Gets the tags + * A collection of tags for the service message. Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * A collection of tags for the service message. Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. + * + * @param string $val The tags + * + * @return ServiceUpdateMessage + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the viewPoint + * Represents user viewpoints data of the service message. This data includes message status such as whether the user has archived, read, or marked the message as favorite. This property is null when accessed with application permissions. + * + * @return ServiceUpdateMessageViewpoint|null The viewPoint + */ + public function getViewPoint() + { + if (array_key_exists("viewPoint", $this->_propDict)) { + if (is_a($this->_propDict["viewPoint"], "\Beta\Microsoft\Graph\Model\ServiceUpdateMessageViewpoint") || is_null($this->_propDict["viewPoint"])) { + return $this->_propDict["viewPoint"]; + } else { + $this->_propDict["viewPoint"] = new ServiceUpdateMessageViewpoint($this->_propDict["viewPoint"]); + return $this->_propDict["viewPoint"]; + } + } + return null; + } + + /** + * Sets the viewPoint + * Represents user viewpoints data of the service message. This data includes message status such as whether the user has archived, read, or marked the message as favorite. This property is null when accessed with application permissions. + * + * @param ServiceUpdateMessageViewpoint $val The viewPoint + * + * @return ServiceUpdateMessage + */ + public function setViewPoint($val) + { + $this->_propDict["viewPoint"] = $val; + return $this; + } + + + /** + * Gets the attachments + * A collection of serviceAnnouncementAttachments. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * A collection of serviceAnnouncementAttachments. + * + * @param ServiceAnnouncementAttachment[] $val The attachments + * + * @return ServiceUpdateMessage + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceUpdateMessageViewpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceUpdateMessageViewpoint.php new file mode 100644 index 0000000..e6e30c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceUpdateMessageViewpoint.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isArchived"]; + } else { + return null; + } + } + + /** + * Sets the isArchived + * Indicates whether the user archived the message. + * + * @param bool $val The value of the isArchived + * + * @return ServiceUpdateMessageViewpoint + */ + public function setIsArchived($val) + { + $this->_propDict["isArchived"] = $val; + return $this; + } + /** + * Gets the isFavorited + * Indicates whether the user marked the message as favorite. + * + * @return bool|null The isFavorited + */ + public function getIsFavorited() + { + if (array_key_exists("isFavorited", $this->_propDict)) { + return $this->_propDict["isFavorited"]; + } else { + return null; + } + } + + /** + * Sets the isFavorited + * Indicates whether the user marked the message as favorite. + * + * @param bool $val The value of the isFavorited + * + * @return ServiceUpdateMessageViewpoint + */ + public function setIsFavorited($val) + { + $this->_propDict["isFavorited"] = $val; + return $this; + } + /** + * Gets the isRead + * Indicates whether the user read the message. + * + * @return bool|null The isRead + */ + public function getIsRead() + { + if (array_key_exists("isRead", $this->_propDict)) { + return $this->_propDict["isRead"]; + } else { + return null; + } + } + + /** + * Sets the isRead + * Indicates whether the user read the message. + * + * @param bool $val The value of the isRead + * + * @return ServiceUpdateMessageViewpoint + */ + public function setIsRead($val) + { + $this->_propDict["isRead"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceUpdateSeverity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceUpdateSeverity.php new file mode 100644 index 0000000..24c74c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceUpdateSeverity.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["detail"]; + } else { + return null; + } + } + + /** + * Sets the detail + * The human-readable details of the conditional access session management policy applied to the sign-in. + * + * @param string $val The value of the detail + * + * @return SessionLifetimePolicy + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the expirationRequirement + * If a conditional access session management policy required the user to authenticate in this sign-in event, this field describes the policy type that required authentication. The possible values are: rememberMultifactorAuthenticationOnTrustedDevices, tenantTokenLifetimePolicy, audienceTokenLifetimePolicy, signInFrequencyPeriodicReauthentication, ngcMfa, signInFrequencyEveryTime, unknownFutureValue. + * + * @return ExpirationRequirement|null The expirationRequirement + */ + public function getExpirationRequirement() + { + if (array_key_exists("expirationRequirement", $this->_propDict)) { + if (is_a($this->_propDict["expirationRequirement"], "\Beta\Microsoft\Graph\Model\ExpirationRequirement") || is_null($this->_propDict["expirationRequirement"])) { + return $this->_propDict["expirationRequirement"]; + } else { + $this->_propDict["expirationRequirement"] = new ExpirationRequirement($this->_propDict["expirationRequirement"]); + return $this->_propDict["expirationRequirement"]; + } + } + return null; + } + + /** + * Sets the expirationRequirement + * If a conditional access session management policy required the user to authenticate in this sign-in event, this field describes the policy type that required authentication. The possible values are: rememberMultifactorAuthenticationOnTrustedDevices, tenantTokenLifetimePolicy, audienceTokenLifetimePolicy, signInFrequencyPeriodicReauthentication, ngcMfa, signInFrequencyEveryTime, unknownFutureValue. + * + * @param ExpirationRequirement $val The value to assign to the expirationRequirement + * + * @return SessionLifetimePolicy The SessionLifetimePolicy + */ + public function setExpirationRequirement($val) + { + $this->_propDict["expirationRequirement"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSource.php new file mode 100644 index 0000000..f3bf9ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSource.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Not yet documented + * + * @param string $val The value of the displayName + * + * @return SettingSource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Not yet documented + * + * @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 + * Not yet documented + * + * @param string $val The value of the id + * + * @return SettingSource + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the sourceType + * Not yet documented. Possible values are: deviceConfiguration, deviceIntent. + * + * @return SettingSourceType|null The sourceType + */ + public function getSourceType() + { + if (array_key_exists("sourceType", $this->_propDict)) { + if (is_a($this->_propDict["sourceType"], "\Beta\Microsoft\Graph\Model\SettingSourceType") || is_null($this->_propDict["sourceType"])) { + return $this->_propDict["sourceType"]; + } else { + $this->_propDict["sourceType"] = new SettingSourceType($this->_propDict["sourceType"]); + return $this->_propDict["sourceType"]; + } + } + return null; + } + + /** + * Sets the sourceType + * Not yet documented. Possible values are: deviceConfiguration, deviceIntent. + * + * @param SettingSourceType $val The value to assign to the sourceType + * + * @return SettingSource The SettingSource + */ + public function setSourceType($val) + { + $this->_propDict["sourceType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSourceType.php new file mode 100644 index 0000000..bbef3ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSourceType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Device Compliant count for the setting + * + * @param int $val The compliantDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Device conflict error count for the setting + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Device conflict error count for the setting + * + * @param int $val The conflictDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Device error count for the setting + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Device error count for the setting + * + * @param int $val The errorDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the instancePath + * Name of the InstancePath for the setting + * + * @return string|null The instancePath + */ + public function getInstancePath() + { + if (array_key_exists("instancePath", $this->_propDict)) { + return $this->_propDict["instancePath"]; + } else { + return null; + } + } + + /** + * Sets the instancePath + * Name of the InstancePath for the setting + * + * @param string $val The instancePath + * + * @return SettingStateDeviceSummary + */ + public function setInstancePath($val) + { + $this->_propDict["instancePath"] = $val; + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Device NonCompliant count for the setting + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Device NonCompliant count for the setting + * + * @param int $val The nonCompliantDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Device Not Applicable count for the setting + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Device Not Applicable count for the setting + * + * @param int $val The notApplicableDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Device Compliant count for the setting + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Device Compliant count for the setting + * + * @param int $val The remediatedDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the settingName + * Name of the setting + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Name of the setting + * + * @param string $val The settingName + * + * @return SettingStateDeviceSummary + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the unknownDeviceCount + * Device Unkown count for the setting + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Device Unkown count for the setting + * + * @param int $val The unknownDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingTemplateValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingTemplateValue.php new file mode 100644 index 0000000..15b9165 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingTemplateValue.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * Default value for the setting. Read-only. + * + * @param string $val The value of the defaultValue + * + * @return SettingTemplateValue + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the description + * Description of the setting. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the setting. Read-only. + * + * @param string $val The value of the description + * + * @return SettingTemplateValue + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the name + * Name of the setting. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the setting. Read-only. + * + * @param string $val The value of the name + * + * @return SettingTemplateValue + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * Type of the setting. Read-only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the setting. Read-only. + * + * @param string $val The value of the type + * + * @return SettingTemplateValue + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingValue.php new file mode 100644 index 0000000..bfb478d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingValue.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the setting (as defined by the directorySettingTemplate). + * + * @param string $val The value of the name + * + * @return SettingValue + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * Value of the setting. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the setting. + * + * @param string $val The value of the value + * + * @return SettingValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Settings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Settings.php new file mode 100644 index 0000000..9f390a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Settings.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["hasGraphMailbox"]; + } else { + return null; + } + } + + /** + * Sets the hasGraphMailbox + * Specifies if the user's primary mailbox is hosted in the cloud and is enabled for Microsoft Graph. + * + * @param bool $val The value of the hasGraphMailbox + * + * @return Settings + */ + public function setHasGraphMailbox($val) + { + $this->_propDict["hasGraphMailbox"] = $val; + return $this; + } + /** + * Gets the hasLicense + * Specifies if the user has a MyAnalytics license assigned. + * + * @return bool|null The hasLicense + */ + public function getHasLicense() + { + if (array_key_exists("hasLicense", $this->_propDict)) { + return $this->_propDict["hasLicense"]; + } else { + return null; + } + } + + /** + * Sets the hasLicense + * Specifies if the user has a MyAnalytics license assigned. + * + * @param bool $val The value of the hasLicense + * + * @return Settings + */ + public function setHasLicense($val) + { + $this->_propDict["hasLicense"] = $val; + return $this; + } + /** + * Gets the hasOptedOut + * Specifies if the user opted out of MyAnalytics. + * + * @return bool|null The hasOptedOut + */ + public function getHasOptedOut() + { + if (array_key_exists("hasOptedOut", $this->_propDict)) { + return $this->_propDict["hasOptedOut"]; + } else { + return null; + } + } + + /** + * Sets the hasOptedOut + * Specifies if the user opted out of MyAnalytics. + * + * @param bool $val The value of the hasOptedOut + * + * @return Settings + */ + public function setHasOptedOut($val) + { + $this->_propDict["hasOptedOut"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SetupStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SetupStatus.php new file mode 100644 index 0000000..481ccb2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SetupStatus.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["recipients"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["recipients"])) { + return $this->_propDict["recipients"]; + } else { + $this->_propDict["recipients"] = new IdentitySet($this->_propDict["recipients"]); + return $this->_propDict["recipients"]; + } + } + return null; + } + + /** + * Sets the recipients + * The identities the item was shared with in this action. + * + * @param IdentitySet $val The value to assign to the recipients + * + * @return ShareAction The ShareAction + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointIdentity.php new file mode 100644 index 0000000..7de08d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointIdentity.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["loginName"]; + } else { + return null; + } + } + + /** + * Sets the loginName + * The sign in name of the SharePoint identity. + * + * @param string $val The value of the loginName + * + * @return SharePointIdentity + */ + public function setLoginName($val) + { + $this->_propDict["loginName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointIdentitySet.php new file mode 100644 index 0000000..9d08536 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointIdentitySet.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Identity($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * The group associated with this action. Optional. + * + * @param Identity $val The value to assign to the group + * + * @return SharePointIdentitySet The SharePointIdentitySet + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the siteGroup + * The SharePoint group associated with this action. Optional. + * + * @return SharePointIdentity|null The siteGroup + */ + public function getSiteGroup() + { + if (array_key_exists("siteGroup", $this->_propDict)) { + if (is_a($this->_propDict["siteGroup"], "\Beta\Microsoft\Graph\Model\SharePointIdentity") || is_null($this->_propDict["siteGroup"])) { + return $this->_propDict["siteGroup"]; + } else { + $this->_propDict["siteGroup"] = new SharePointIdentity($this->_propDict["siteGroup"]); + return $this->_propDict["siteGroup"]; + } + } + return null; + } + + /** + * Sets the siteGroup + * The SharePoint group associated with this action. Optional. + * + * @param SharePointIdentity $val The value to assign to the siteGroup + * + * @return SharePointIdentitySet The SharePointIdentitySet + */ + public function setSiteGroup($val) + { + $this->_propDict["siteGroup"] = $val; + return $this; + } + + /** + * Gets the siteUser + * The SharePoint user associated with this action. Optional. + * + * @return SharePointIdentity|null The siteUser + */ + public function getSiteUser() + { + if (array_key_exists("siteUser", $this->_propDict)) { + if (is_a($this->_propDict["siteUser"], "\Beta\Microsoft\Graph\Model\SharePointIdentity") || is_null($this->_propDict["siteUser"])) { + return $this->_propDict["siteUser"]; + } else { + $this->_propDict["siteUser"] = new SharePointIdentity($this->_propDict["siteUser"]); + return $this->_propDict["siteUser"]; + } + } + return null; + } + + /** + * Sets the siteUser + * The SharePoint user associated with this action. Optional. + * + * @param SharePointIdentity $val The value to assign to the siteUser + * + * @return SharePointIdentitySet The SharePointIdentitySet + */ + public function setSiteUser($val) + { + $this->_propDict["siteUser"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shared.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shared.php new file mode 100644 index 0000000..2747d78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shared.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new IdentitySet($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * The identity of the owner of the shared item. Read-only. + * + * @param IdentitySet $val The value to assign to the owner + * + * @return Shared The Shared + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + /** + * Gets the scope + * Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + * + * @param string $val The value of the scope + * + * @return Shared + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the sharedBy + * The identity of the user who shared the item. Read-only. + * + * @return IdentitySet|null The sharedBy + */ + public function getSharedBy() + { + if (array_key_exists("sharedBy", $this->_propDict)) { + if (is_a($this->_propDict["sharedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["sharedBy"])) { + return $this->_propDict["sharedBy"]; + } else { + $this->_propDict["sharedBy"] = new IdentitySet($this->_propDict["sharedBy"]); + return $this->_propDict["sharedBy"]; + } + } + return null; + } + + /** + * Sets the sharedBy + * The identity of the user who shared the item. Read-only. + * + * @param IdentitySet $val The value to assign to the sharedBy + * + * @return Shared The Shared + */ + public function setSharedBy($val) + { + $this->_propDict["sharedBy"] = $val; + return $this; + } + + /** + * Gets the sharedDateTime + * The UTC date and time when the item was shared. Read-only. + * + * @return \DateTime|null The sharedDateTime + */ + public function getSharedDateTime() + { + if (array_key_exists("sharedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["sharedDateTime"], "\DateTime") || is_null($this->_propDict["sharedDateTime"])) { + return $this->_propDict["sharedDateTime"]; + } else { + $this->_propDict["sharedDateTime"] = new \DateTime($this->_propDict["sharedDateTime"]); + return $this->_propDict["sharedDateTime"]; + } + } + return null; + } + + /** + * Sets the sharedDateTime + * The UTC date and time when the item was shared. Read-only. + * + * @param \DateTime $val The value to assign to the sharedDateTime + * + * @return Shared The Shared + */ + public function setSharedDateTime($val) + { + $this->_propDict["sharedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedAppleDeviceUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedAppleDeviceUser.php new file mode 100644 index 0000000..636172c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedAppleDeviceUser.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["dataQuota"]; + } else { + return null; + } + } + + /** + * Sets the dataQuota + * Data quota + * + * @param int $val The value of the dataQuota + * + * @return SharedAppleDeviceUser + */ + public function setDataQuota($val) + { + $this->_propDict["dataQuota"] = $val; + return $this; + } + /** + * Gets the dataToSync + * Data to sync + * + * @return bool|null The dataToSync + */ + public function getDataToSync() + { + if (array_key_exists("dataToSync", $this->_propDict)) { + return $this->_propDict["dataToSync"]; + } else { + return null; + } + } + + /** + * Sets the dataToSync + * Data to sync + * + * @param bool $val The value of the dataToSync + * + * @return SharedAppleDeviceUser + */ + public function setDataToSync($val) + { + $this->_propDict["dataToSync"] = $val; + return $this; + } + /** + * Gets the dataUsed + * Data quota + * + * @return int|null The dataUsed + */ + public function getDataUsed() + { + if (array_key_exists("dataUsed", $this->_propDict)) { + return $this->_propDict["dataUsed"]; + } else { + return null; + } + } + + /** + * Sets the dataUsed + * Data quota + * + * @param int $val The value of the dataUsed + * + * @return SharedAppleDeviceUser + */ + public function setDataUsed($val) + { + $this->_propDict["dataUsed"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * User name + * + * @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 + * User name + * + * @param string $val The value of the userPrincipalName + * + * @return SharedAppleDeviceUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedDriveItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedDriveItem.php new file mode 100644 index 0000000..512031c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedDriveItem.php @@ -0,0 +1,288 @@ +_propDict)) { + if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new IdentitySet($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * Information about the owner of the shared item being referenced. + * + * @param IdentitySet $val The owner + * + * @return SharedDriveItem + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the driveItem + * Used to access the underlying driveItem + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * Used to access the underlying driveItem + * + * @param DriveItem $val The driveItem + * + * @return SharedDriveItem + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + + + /** + * Gets the items + * All driveItems contained in the sharing root. This collection cannot be enumerated. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * All driveItems contained in the sharing root. This collection cannot be enumerated. + * + * @param DriveItem[] $val The items + * + * @return SharedDriveItem + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + /** + * Gets the list + * Used to access the underlying list + * + * @return GraphList|null The list + */ + public function getList() + { + if (array_key_exists("list", $this->_propDict)) { + if (is_a($this->_propDict["list"], "\Beta\Microsoft\Graph\Model\GraphList") || is_null($this->_propDict["list"])) { + return $this->_propDict["list"]; + } else { + $this->_propDict["list"] = new GraphList($this->_propDict["list"]); + return $this->_propDict["list"]; + } + } + return null; + } + + /** + * Sets the list + * Used to access the underlying list + * + * @param GraphList $val The list + * + * @return SharedDriveItem + */ + public function setList($val) + { + $this->_propDict["list"] = $val; + return $this; + } + + /** + * Gets the listItem + * Used to access the underlying listItem + * + * @return ListItem|null The listItem + */ + public function getListItem() + { + if (array_key_exists("listItem", $this->_propDict)) { + if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\ListItem") || is_null($this->_propDict["listItem"])) { + return $this->_propDict["listItem"]; + } else { + $this->_propDict["listItem"] = new ListItem($this->_propDict["listItem"]); + return $this->_propDict["listItem"]; + } + } + return null; + } + + /** + * Sets the listItem + * Used to access the underlying listItem + * + * @param ListItem $val The listItem + * + * @return SharedDriveItem + */ + public function setListItem($val) + { + $this->_propDict["listItem"] = $val; + return $this; + } + + /** + * Gets the permission + * Used to access the permission representing the underlying sharing link + * + * @return Permission|null The permission + */ + public function getPermission() + { + if (array_key_exists("permission", $this->_propDict)) { + if (is_a($this->_propDict["permission"], "\Beta\Microsoft\Graph\Model\Permission") || is_null($this->_propDict["permission"])) { + return $this->_propDict["permission"]; + } else { + $this->_propDict["permission"] = new Permission($this->_propDict["permission"]); + return $this->_propDict["permission"]; + } + } + return null; + } + + /** + * Sets the permission + * Used to access the permission representing the underlying sharing link + * + * @param Permission $val The permission + * + * @return SharedDriveItem + */ + public function setPermission($val) + { + $this->_propDict["permission"] = $val; + return $this; + } + + /** + * Gets the root + * Used to access the underlying driveItem. Deprecated -- use driveItem instead. + * + * @return DriveItem|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new DriveItem($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * Used to access the underlying driveItem. Deprecated -- use driveItem instead. + * + * @param DriveItem $val The root + * + * @return SharedDriveItem + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + /** + * Gets the site + * Used to access the underlying site + * + * @return Site|null The site + */ + public function getSite() + { + if (array_key_exists("site", $this->_propDict)) { + if (is_a($this->_propDict["site"], "\Beta\Microsoft\Graph\Model\Site") || is_null($this->_propDict["site"])) { + return $this->_propDict["site"]; + } else { + $this->_propDict["site"] = new Site($this->_propDict["site"]); + return $this->_propDict["site"]; + } + } + return null; + } + + /** + * Sets the site + * Used to access the underlying site + * + * @param Site $val The site + * + * @return SharedDriveItem + */ + public function setSite($val) + { + $this->_propDict["site"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomain.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomain.php new file mode 100644 index 0000000..60251ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomain.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["provisioningStatus"]; + } else { + return null; + } + } + + /** + * Sets the provisioningStatus + * + * @param string $val The provisioningStatus + * + * @return SharedEmailDomain + */ + public function setProvisioningStatus($val) + { + $this->_propDict["provisioningStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomainInvitation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomainInvitation.php new file mode 100644 index 0000000..8dc412b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomainInvitation.php @@ -0,0 +1,112 @@ +_propDict)) { + if (is_a($this->_propDict["expiryTime"], "\DateTime") || is_null($this->_propDict["expiryTime"])) { + return $this->_propDict["expiryTime"]; + } else { + $this->_propDict["expiryTime"] = new \DateTime($this->_propDict["expiryTime"]); + return $this->_propDict["expiryTime"]; + } + } + return null; + } + + /** + * Sets the expiryTime + * + * @param \DateTime $val The expiryTime + * + * @return SharedEmailDomainInvitation + */ + public function setExpiryTime($val) + { + $this->_propDict["expiryTime"] = $val; + return $this; + } + + /** + * Gets the invitationDomain + * + * @return string|null The invitationDomain + */ + public function getInvitationDomain() + { + if (array_key_exists("invitationDomain", $this->_propDict)) { + return $this->_propDict["invitationDomain"]; + } else { + return null; + } + } + + /** + * Sets the invitationDomain + * + * @param string $val The invitationDomain + * + * @return SharedEmailDomainInvitation + */ + public function setInvitationDomain($val) + { + $this->_propDict["invitationDomain"] = $val; + return $this; + } + + /** + * Gets the invitationStatus + * + * @return string|null The invitationStatus + */ + public function getInvitationStatus() + { + if (array_key_exists("invitationStatus", $this->_propDict)) { + return $this->_propDict["invitationStatus"]; + } else { + return null; + } + } + + /** + * Sets the invitationStatus + * + * @param string $val The invitationStatus + * + * @return SharedEmailDomainInvitation + */ + public function setInvitationStatus($val) + { + $this->_propDict["invitationStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedInsight.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedInsight.php new file mode 100644 index 0000000..722cd9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedInsight.php @@ -0,0 +1,218 @@ +_propDict)) { + if (is_a($this->_propDict["lastShared"], "\Beta\Microsoft\Graph\Model\SharingDetail") || is_null($this->_propDict["lastShared"])) { + return $this->_propDict["lastShared"]; + } else { + $this->_propDict["lastShared"] = new SharingDetail($this->_propDict["lastShared"]); + return $this->_propDict["lastShared"]; + } + } + return null; + } + + /** + * Sets the lastShared + * Details about the shared item. Read only. + * + * @param SharingDetail $val The lastShared + * + * @return SharedInsight + */ + public function setLastShared($val) + { + $this->_propDict["lastShared"] = $val; + return $this; + } + + /** + * Gets the resourceReference + * Reference properties of the shared document, such as the url and type of the document. Read-only + * + * @return ResourceReference|null The resourceReference + */ + public function getResourceReference() + { + if (array_key_exists("resourceReference", $this->_propDict)) { + if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) { + return $this->_propDict["resourceReference"]; + } else { + $this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]); + return $this->_propDict["resourceReference"]; + } + } + return null; + } + + /** + * Sets the resourceReference + * Reference properties of the shared document, such as the url and type of the document. Read-only + * + * @param ResourceReference $val The resourceReference + * + * @return SharedInsight + */ + public function setResourceReference($val) + { + $this->_propDict["resourceReference"] = $val; + return $this; + } + + /** + * Gets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @return ResourceVisualization|null The resourceVisualization + */ + public function getResourceVisualization() + { + if (array_key_exists("resourceVisualization", $this->_propDict)) { + if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) { + return $this->_propDict["resourceVisualization"]; + } else { + $this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]); + return $this->_propDict["resourceVisualization"]; + } + } + return null; + } + + /** + * Sets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @param ResourceVisualization $val The resourceVisualization + * + * @return SharedInsight + */ + public function setResourceVisualization($val) + { + $this->_propDict["resourceVisualization"] = $val; + return $this; + } + + + /** + * Gets the sharingHistory + * + * @return array|null The sharingHistory + */ + public function getSharingHistory() + { + if (array_key_exists("sharingHistory", $this->_propDict)) { + return $this->_propDict["sharingHistory"]; + } else { + return null; + } + } + + /** + * Sets the sharingHistory + * + * @param SharingDetail[] $val The sharingHistory + * + * @return SharedInsight + */ + public function setSharingHistory($val) + { + $this->_propDict["sharingHistory"] = $val; + return $this; + } + + /** + * Gets the lastSharedMethod + * + * @return Entity|null The lastSharedMethod + */ + public function getLastSharedMethod() + { + if (array_key_exists("lastSharedMethod", $this->_propDict)) { + if (is_a($this->_propDict["lastSharedMethod"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["lastSharedMethod"])) { + return $this->_propDict["lastSharedMethod"]; + } else { + $this->_propDict["lastSharedMethod"] = new Entity($this->_propDict["lastSharedMethod"]); + return $this->_propDict["lastSharedMethod"]; + } + } + return null; + } + + /** + * Sets the lastSharedMethod + * + * @param Entity $val The lastSharedMethod + * + * @return SharedInsight + */ + public function setLastSharedMethod($val) + { + $this->_propDict["lastSharedMethod"] = $val; + return $this; + } + + /** + * Gets the resource + * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @param Entity $val The resource + * + * @return SharedInsight + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAccountDeletionPolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAccountDeletionPolicyType.php new file mode 100644 index 0000000..442327b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAccountDeletionPolicyType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["accountDeletionPolicy"], "\Beta\Microsoft\Graph\Model\SharedPCAccountDeletionPolicyType") || is_null($this->_propDict["accountDeletionPolicy"])) { + return $this->_propDict["accountDeletionPolicy"]; + } else { + $this->_propDict["accountDeletionPolicy"] = new SharedPCAccountDeletionPolicyType($this->_propDict["accountDeletionPolicy"]); + return $this->_propDict["accountDeletionPolicy"]; + } + } + return null; + } + + /** + * Sets the accountDeletionPolicy + * Configures when accounts are deleted. Possible values are: immediate, diskSpaceThreshold, diskSpaceThresholdOrInactiveThreshold. + * + * @param SharedPCAccountDeletionPolicyType $val The value to assign to the accountDeletionPolicy + * + * @return SharedPCAccountManagerPolicy The SharedPCAccountManagerPolicy + */ + public function setAccountDeletionPolicy($val) + { + $this->_propDict["accountDeletionPolicy"] = $val; + return $this; + } + /** + * Gets the cacheAccountsAboveDiskFreePercentage + * Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @return int|null The cacheAccountsAboveDiskFreePercentage + */ + public function getCacheAccountsAboveDiskFreePercentage() + { + if (array_key_exists("cacheAccountsAboveDiskFreePercentage", $this->_propDict)) { + return $this->_propDict["cacheAccountsAboveDiskFreePercentage"]; + } else { + return null; + } + } + + /** + * Sets the cacheAccountsAboveDiskFreePercentage + * Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @param int $val The value of the cacheAccountsAboveDiskFreePercentage + * + * @return SharedPCAccountManagerPolicy + */ + public function setCacheAccountsAboveDiskFreePercentage($val) + { + $this->_propDict["cacheAccountsAboveDiskFreePercentage"] = $val; + return $this; + } + /** + * Gets the inactiveThresholdDays + * Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. + * + * @return int|null The inactiveThresholdDays + */ + public function getInactiveThresholdDays() + { + if (array_key_exists("inactiveThresholdDays", $this->_propDict)) { + return $this->_propDict["inactiveThresholdDays"]; + } else { + return null; + } + } + + /** + * Sets the inactiveThresholdDays + * Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. + * + * @param int $val The value of the inactiveThresholdDays + * + * @return SharedPCAccountManagerPolicy + */ + public function setInactiveThresholdDays($val) + { + $this->_propDict["inactiveThresholdDays"] = $val; + return $this; + } + /** + * Gets the removeAccountsBelowDiskFreePercentage + * Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @return int|null The removeAccountsBelowDiskFreePercentage + */ + public function getRemoveAccountsBelowDiskFreePercentage() + { + if (array_key_exists("removeAccountsBelowDiskFreePercentage", $this->_propDict)) { + return $this->_propDict["removeAccountsBelowDiskFreePercentage"]; + } else { + return null; + } + } + + /** + * Sets the removeAccountsBelowDiskFreePercentage + * Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @param int $val The value of the removeAccountsBelowDiskFreePercentage + * + * @return SharedPCAccountManagerPolicy + */ + public function setRemoveAccountsBelowDiskFreePercentage($val) + { + $this->_propDict["removeAccountsBelowDiskFreePercentage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAllowedAccountType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAllowedAccountType.php new file mode 100644 index 0000000..5691778 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAllowedAccountType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["accountManagerPolicy"], "\Beta\Microsoft\Graph\Model\SharedPCAccountManagerPolicy") || is_null($this->_propDict["accountManagerPolicy"])) { + return $this->_propDict["accountManagerPolicy"]; + } else { + $this->_propDict["accountManagerPolicy"] = new SharedPCAccountManagerPolicy($this->_propDict["accountManagerPolicy"]); + return $this->_propDict["accountManagerPolicy"]; + } + } + return null; + } + + /** + * Sets the accountManagerPolicy + * Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. + * + * @param SharedPCAccountManagerPolicy $val The accountManagerPolicy + * + * @return SharedPCConfiguration + */ + public function setAccountManagerPolicy($val) + { + $this->_propDict["accountManagerPolicy"] = $val; + return $this; + } + + /** + * Gets the allowedAccounts + * Indicates which type of accounts are allowed to use on a shared PC. Possible values are: notConfigured, guest, domain. + * + * @return SharedPCAllowedAccountType|null The allowedAccounts + */ + public function getAllowedAccounts() + { + if (array_key_exists("allowedAccounts", $this->_propDict)) { + if (is_a($this->_propDict["allowedAccounts"], "\Beta\Microsoft\Graph\Model\SharedPCAllowedAccountType") || is_null($this->_propDict["allowedAccounts"])) { + return $this->_propDict["allowedAccounts"]; + } else { + $this->_propDict["allowedAccounts"] = new SharedPCAllowedAccountType($this->_propDict["allowedAccounts"]); + return $this->_propDict["allowedAccounts"]; + } + } + return null; + } + + /** + * Sets the allowedAccounts + * Indicates which type of accounts are allowed to use on a shared PC. Possible values are: notConfigured, guest, domain. + * + * @param SharedPCAllowedAccountType $val The allowedAccounts + * + * @return SharedPCConfiguration + */ + public function setAllowedAccounts($val) + { + $this->_propDict["allowedAccounts"] = $val; + return $this; + } + + /** + * Gets the allowLocalStorage + * Specifies whether local storage is allowed on a shared PC. + * + * @return bool|null The allowLocalStorage + */ + public function getAllowLocalStorage() + { + if (array_key_exists("allowLocalStorage", $this->_propDict)) { + return $this->_propDict["allowLocalStorage"]; + } else { + return null; + } + } + + /** + * Sets the allowLocalStorage + * Specifies whether local storage is allowed on a shared PC. + * + * @param bool $val The allowLocalStorage + * + * @return SharedPCConfiguration + */ + public function setAllowLocalStorage($val) + { + $this->_propDict["allowLocalStorage"] = boolval($val); + return $this; + } + + /** + * Gets the disableAccountManager + * Disables the account manager for shared PC mode. + * + * @return bool|null The disableAccountManager + */ + public function getDisableAccountManager() + { + if (array_key_exists("disableAccountManager", $this->_propDict)) { + return $this->_propDict["disableAccountManager"]; + } else { + return null; + } + } + + /** + * Sets the disableAccountManager + * Disables the account manager for shared PC mode. + * + * @param bool $val The disableAccountManager + * + * @return SharedPCConfiguration + */ + public function setDisableAccountManager($val) + { + $this->_propDict["disableAccountManager"] = boolval($val); + return $this; + } + + /** + * Gets the disableEduPolicies + * Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. + * + * @return bool|null The disableEduPolicies + */ + public function getDisableEduPolicies() + { + if (array_key_exists("disableEduPolicies", $this->_propDict)) { + return $this->_propDict["disableEduPolicies"]; + } else { + return null; + } + } + + /** + * Sets the disableEduPolicies + * Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. + * + * @param bool $val The disableEduPolicies + * + * @return SharedPCConfiguration + */ + public function setDisableEduPolicies($val) + { + $this->_propDict["disableEduPolicies"] = boolval($val); + return $this; + } + + /** + * Gets the disablePowerPolicies + * Specifies whether the default shared PC power policies should be disabled. + * + * @return bool|null The disablePowerPolicies + */ + public function getDisablePowerPolicies() + { + if (array_key_exists("disablePowerPolicies", $this->_propDict)) { + return $this->_propDict["disablePowerPolicies"]; + } else { + return null; + } + } + + /** + * Sets the disablePowerPolicies + * Specifies whether the default shared PC power policies should be disabled. + * + * @param bool $val The disablePowerPolicies + * + * @return SharedPCConfiguration + */ + public function setDisablePowerPolicies($val) + { + $this->_propDict["disablePowerPolicies"] = boolval($val); + return $this; + } + + /** + * Gets the disableSignInOnResume + * Disables the requirement to sign in whenever the device wakes up from sleep mode. + * + * @return bool|null The disableSignInOnResume + */ + public function getDisableSignInOnResume() + { + if (array_key_exists("disableSignInOnResume", $this->_propDict)) { + return $this->_propDict["disableSignInOnResume"]; + } else { + return null; + } + } + + /** + * Sets the disableSignInOnResume + * Disables the requirement to sign in whenever the device wakes up from sleep mode. + * + * @param bool $val The disableSignInOnResume + * + * @return SharedPCConfiguration + */ + public function setDisableSignInOnResume($val) + { + $this->_propDict["disableSignInOnResume"] = boolval($val); + return $this; + } + + /** + * Gets the enabled + * Enables shared PC mode and applies the shared pc policies. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Enables shared PC mode and applies the shared pc policies. + * + * @param bool $val The enabled + * + * @return SharedPCConfiguration + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the fastFirstSignIn + * Specifies whether to auto connect new non-admin Azure AD accounts to pre-configured candidate local accounts. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The fastFirstSignIn + */ + public function getFastFirstSignIn() + { + if (array_key_exists("fastFirstSignIn", $this->_propDict)) { + if (is_a($this->_propDict["fastFirstSignIn"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["fastFirstSignIn"])) { + return $this->_propDict["fastFirstSignIn"]; + } else { + $this->_propDict["fastFirstSignIn"] = new Enablement($this->_propDict["fastFirstSignIn"]); + return $this->_propDict["fastFirstSignIn"]; + } + } + return null; + } + + /** + * Sets the fastFirstSignIn + * Specifies whether to auto connect new non-admin Azure AD accounts to pre-configured candidate local accounts. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The fastFirstSignIn + * + * @return SharedPCConfiguration + */ + public function setFastFirstSignIn($val) + { + $this->_propDict["fastFirstSignIn"] = $val; + return $this; + } + + /** + * Gets the idleTimeBeforeSleepInSeconds + * Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. + * + * @return int|null The idleTimeBeforeSleepInSeconds + */ + public function getIdleTimeBeforeSleepInSeconds() + { + if (array_key_exists("idleTimeBeforeSleepInSeconds", $this->_propDict)) { + return $this->_propDict["idleTimeBeforeSleepInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the idleTimeBeforeSleepInSeconds + * Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. + * + * @param int $val The idleTimeBeforeSleepInSeconds + * + * @return SharedPCConfiguration + */ + public function setIdleTimeBeforeSleepInSeconds($val) + { + $this->_propDict["idleTimeBeforeSleepInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the kioskAppDisplayName + * Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. + * + * @return string|null The kioskAppDisplayName + */ + public function getKioskAppDisplayName() + { + if (array_key_exists("kioskAppDisplayName", $this->_propDict)) { + return $this->_propDict["kioskAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the kioskAppDisplayName + * Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. + * + * @param string $val The kioskAppDisplayName + * + * @return SharedPCConfiguration + */ + public function setKioskAppDisplayName($val) + { + $this->_propDict["kioskAppDisplayName"] = $val; + return $this; + } + + /** + * Gets the kioskAppUserModelId + * Specifies the application user model ID of the app to use with assigned access. + * + * @return string|null The kioskAppUserModelId + */ + public function getKioskAppUserModelId() + { + if (array_key_exists("kioskAppUserModelId", $this->_propDict)) { + return $this->_propDict["kioskAppUserModelId"]; + } else { + return null; + } + } + + /** + * Sets the kioskAppUserModelId + * Specifies the application user model ID of the app to use with assigned access. + * + * @param string $val The kioskAppUserModelId + * + * @return SharedPCConfiguration + */ + public function setKioskAppUserModelId($val) + { + $this->_propDict["kioskAppUserModelId"] = $val; + return $this; + } + + /** + * Gets the localStorage + * Specifies whether local storage is allowed on a shared PC. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The localStorage + */ + public function getLocalStorage() + { + if (array_key_exists("localStorage", $this->_propDict)) { + if (is_a($this->_propDict["localStorage"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["localStorage"])) { + return $this->_propDict["localStorage"]; + } else { + $this->_propDict["localStorage"] = new Enablement($this->_propDict["localStorage"]); + return $this->_propDict["localStorage"]; + } + } + return null; + } + + /** + * Sets the localStorage + * Specifies whether local storage is allowed on a shared PC. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The localStorage + * + * @return SharedPCConfiguration + */ + public function setLocalStorage($val) + { + $this->_propDict["localStorage"] = $val; + return $this; + } + + /** + * Gets the maintenanceStartTime + * Specifies the daily start time of maintenance hour. + * + * @return TimeOfDay|null The maintenanceStartTime + */ + public function getMaintenanceStartTime() + { + if (array_key_exists("maintenanceStartTime", $this->_propDict)) { + if (is_a($this->_propDict["maintenanceStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["maintenanceStartTime"])) { + return $this->_propDict["maintenanceStartTime"]; + } else { + $this->_propDict["maintenanceStartTime"] = new TimeOfDay($this->_propDict["maintenanceStartTime"]); + return $this->_propDict["maintenanceStartTime"]; + } + } + return null; + } + + /** + * Sets the maintenanceStartTime + * Specifies the daily start time of maintenance hour. + * + * @param TimeOfDay $val The maintenanceStartTime + * + * @return SharedPCConfiguration + */ + public function setMaintenanceStartTime($val) + { + $this->_propDict["maintenanceStartTime"] = $val; + return $this; + } + + /** + * Gets the setAccountManager + * Disables the account manager for shared PC mode. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The setAccountManager + */ + public function getSetAccountManager() + { + if (array_key_exists("setAccountManager", $this->_propDict)) { + if (is_a($this->_propDict["setAccountManager"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["setAccountManager"])) { + return $this->_propDict["setAccountManager"]; + } else { + $this->_propDict["setAccountManager"] = new Enablement($this->_propDict["setAccountManager"]); + return $this->_propDict["setAccountManager"]; + } + } + return null; + } + + /** + * Sets the setAccountManager + * Disables the account manager for shared PC mode. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The setAccountManager + * + * @return SharedPCConfiguration + */ + public function setSetAccountManager($val) + { + $this->_propDict["setAccountManager"] = $val; + return $this; + } + + /** + * Gets the setEduPolicies + * Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The setEduPolicies + */ + public function getSetEduPolicies() + { + if (array_key_exists("setEduPolicies", $this->_propDict)) { + if (is_a($this->_propDict["setEduPolicies"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["setEduPolicies"])) { + return $this->_propDict["setEduPolicies"]; + } else { + $this->_propDict["setEduPolicies"] = new Enablement($this->_propDict["setEduPolicies"]); + return $this->_propDict["setEduPolicies"]; + } + } + return null; + } + + /** + * Sets the setEduPolicies + * Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The setEduPolicies + * + * @return SharedPCConfiguration + */ + public function setSetEduPolicies($val) + { + $this->_propDict["setEduPolicies"] = $val; + return $this; + } + + /** + * Gets the setPowerPolicies + * Specifies whether the default shared PC power policies should be enabled/disabled. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The setPowerPolicies + */ + public function getSetPowerPolicies() + { + if (array_key_exists("setPowerPolicies", $this->_propDict)) { + if (is_a($this->_propDict["setPowerPolicies"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["setPowerPolicies"])) { + return $this->_propDict["setPowerPolicies"]; + } else { + $this->_propDict["setPowerPolicies"] = new Enablement($this->_propDict["setPowerPolicies"]); + return $this->_propDict["setPowerPolicies"]; + } + } + return null; + } + + /** + * Sets the setPowerPolicies + * Specifies whether the default shared PC power policies should be enabled/disabled. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The setPowerPolicies + * + * @return SharedPCConfiguration + */ + public function setSetPowerPolicies($val) + { + $this->_propDict["setPowerPolicies"] = $val; + return $this; + } + + /** + * Gets the signInOnResume + * Specifies the requirement to sign in whenever the device wakes up from sleep mode. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The signInOnResume + */ + public function getSignInOnResume() + { + if (array_key_exists("signInOnResume", $this->_propDict)) { + if (is_a($this->_propDict["signInOnResume"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["signInOnResume"])) { + return $this->_propDict["signInOnResume"]; + } else { + $this->_propDict["signInOnResume"] = new Enablement($this->_propDict["signInOnResume"]); + return $this->_propDict["signInOnResume"]; + } + } + return null; + } + + /** + * Sets the signInOnResume + * Specifies the requirement to sign in whenever the device wakes up from sleep mode. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The signInOnResume + * + * @return SharedPCConfiguration + */ + public function setSignInOnResume($val) + { + $this->_propDict["signInOnResume"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedWithChannelTeamInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedWithChannelTeamInfo.php new file mode 100644 index 0000000..d765017 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedWithChannelTeamInfo.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["isHostTeam"]; + } else { + return null; + } + } + + /** + * Sets the isHostTeam + * Indicates whether the team is the host of the channel. + * + * @param bool $val The isHostTeam + * + * @return SharedWithChannelTeamInfo + */ + public function setIsHostTeam($val) + { + $this->_propDict["isHostTeam"] = boolval($val); + return $this; + } + + + /** + * Gets the allowedMembers + * A collection of team members who have access to the shared channel. + * + * @return array|null The allowedMembers + */ + public function getAllowedMembers() + { + if (array_key_exists("allowedMembers", $this->_propDict)) { + return $this->_propDict["allowedMembers"]; + } else { + return null; + } + } + + /** + * Sets the allowedMembers + * A collection of team members who have access to the shared channel. + * + * @param ConversationMember[] $val The allowedMembers + * + * @return SharedWithChannelTeamInfo + */ + public function setAllowedMembers($val) + { + $this->_propDict["allowedMembers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharepointIds.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharepointIds.php new file mode 100644 index 0000000..d43f20a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharepointIds.php @@ -0,0 +1,222 @@ +_propDict)) { + return $this->_propDict["listId"]; + } else { + return null; + } + } + + /** + * Sets the listId + * The unique identifier (guid) for the item's list in SharePoint. + * + * @param string $val The value of the listId + * + * @return SharepointIds + */ + public function setListId($val) + { + $this->_propDict["listId"] = $val; + return $this; + } + /** + * Gets the listItemId + * An integer identifier for the item within the containing list. + * + * @return string|null The listItemId + */ + public function getListItemId() + { + if (array_key_exists("listItemId", $this->_propDict)) { + return $this->_propDict["listItemId"]; + } else { + return null; + } + } + + /** + * Sets the listItemId + * An integer identifier for the item within the containing list. + * + * @param string $val The value of the listItemId + * + * @return SharepointIds + */ + public function setListItemId($val) + { + $this->_propDict["listItemId"] = $val; + return $this; + } + /** + * Gets the listItemUniqueId + * The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. + * + * @return string|null The listItemUniqueId + */ + public function getListItemUniqueId() + { + if (array_key_exists("listItemUniqueId", $this->_propDict)) { + return $this->_propDict["listItemUniqueId"]; + } else { + return null; + } + } + + /** + * Sets the listItemUniqueId + * The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. + * + * @param string $val The value of the listItemUniqueId + * + * @return SharepointIds + */ + public function setListItemUniqueId($val) + { + $this->_propDict["listItemUniqueId"] = $val; + return $this; + } + /** + * Gets the siteId + * The unique identifier (guid) for the item's site collection (SPSite). + * + * @return string|null The siteId + */ + public function getSiteId() + { + if (array_key_exists("siteId", $this->_propDict)) { + return $this->_propDict["siteId"]; + } else { + return null; + } + } + + /** + * Sets the siteId + * The unique identifier (guid) for the item's site collection (SPSite). + * + * @param string $val The value of the siteId + * + * @return SharepointIds + */ + public function setSiteId($val) + { + $this->_propDict["siteId"] = $val; + return $this; + } + /** + * Gets the siteUrl + * The SharePoint URL for the site that contains the item. + * + * @return string|null The siteUrl + */ + public function getSiteUrl() + { + if (array_key_exists("siteUrl", $this->_propDict)) { + return $this->_propDict["siteUrl"]; + } else { + return null; + } + } + + /** + * Sets the siteUrl + * The SharePoint URL for the site that contains the item. + * + * @param string $val The value of the siteUrl + * + * @return SharepointIds + */ + public function setSiteUrl($val) + { + $this->_propDict["siteUrl"] = $val; + return $this; + } + /** + * Gets the tenantId + * The unique identifier (guid) for the tenancy. + * + * @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 + * The unique identifier (guid) for the tenancy. + * + * @param string $val The value of the tenantId + * + * @return SharepointIds + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + /** + * Gets the webId + * The unique identifier (guid) for the item's site (SPWeb). + * + * @return string|null The webId + */ + public function getWebId() + { + if (array_key_exists("webId", $this->_propDict)) { + return $this->_propDict["webId"]; + } else { + return null; + } + } + + /** + * Sets the webId + * The unique identifier (guid) for the item's site (SPWeb). + * + * @param string $val The value of the webId + * + * @return SharepointIds + */ + public function setWebId($val) + { + $this->_propDict["webId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingDetail.php new file mode 100644 index 0000000..9216928 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingDetail.php @@ -0,0 +1,179 @@ +_propDict)) { + if (is_a($this->_propDict["sharedBy"], "\Beta\Microsoft\Graph\Model\InsightIdentity") || is_null($this->_propDict["sharedBy"])) { + return $this->_propDict["sharedBy"]; + } else { + $this->_propDict["sharedBy"] = new InsightIdentity($this->_propDict["sharedBy"]); + return $this->_propDict["sharedBy"]; + } + } + return null; + } + + /** + * Sets the sharedBy + * The user who shared the document. + * + * @param InsightIdentity $val The value to assign to the sharedBy + * + * @return SharingDetail The SharingDetail + */ + public function setSharedBy($val) + { + $this->_propDict["sharedBy"] = $val; + return $this; + } + + /** + * Gets the sharedDateTime + * The date and time the file was last shared. The timestamp 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 sharedDateTime + */ + public function getSharedDateTime() + { + if (array_key_exists("sharedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["sharedDateTime"], "\DateTime") || is_null($this->_propDict["sharedDateTime"])) { + return $this->_propDict["sharedDateTime"]; + } else { + $this->_propDict["sharedDateTime"] = new \DateTime($this->_propDict["sharedDateTime"]); + return $this->_propDict["sharedDateTime"]; + } + } + return null; + } + + /** + * Sets the sharedDateTime + * The date and time the file was last shared. The timestamp 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 sharedDateTime + * + * @return SharingDetail The SharingDetail + */ + public function setSharedDateTime($val) + { + $this->_propDict["sharedDateTime"] = $val; + return $this; + } + + /** + * Gets the sharingReference + * + * @return ResourceReference|null The sharingReference + */ + public function getSharingReference() + { + if (array_key_exists("sharingReference", $this->_propDict)) { + if (is_a($this->_propDict["sharingReference"], "\Beta\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["sharingReference"])) { + return $this->_propDict["sharingReference"]; + } else { + $this->_propDict["sharingReference"] = new ResourceReference($this->_propDict["sharingReference"]); + return $this->_propDict["sharingReference"]; + } + } + return null; + } + + /** + * Sets the sharingReference + * + * @param ResourceReference $val The value to assign to the sharingReference + * + * @return SharingDetail The SharingDetail + */ + public function setSharingReference($val) + { + $this->_propDict["sharingReference"] = $val; + return $this; + } + /** + * Gets the sharingSubject + * The subject with which the document was shared. + * + * @return string|null The sharingSubject + */ + public function getSharingSubject() + { + if (array_key_exists("sharingSubject", $this->_propDict)) { + return $this->_propDict["sharingSubject"]; + } else { + return null; + } + } + + /** + * Sets the sharingSubject + * The subject with which the document was shared. + * + * @param string $val The value of the sharingSubject + * + * @return SharingDetail + */ + public function setSharingSubject($val) + { + $this->_propDict["sharingSubject"] = $val; + return $this; + } + /** + * Gets the sharingType + * Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'. + * + * @return string|null The sharingType + */ + public function getSharingType() + { + if (array_key_exists("sharingType", $this->_propDict)) { + return $this->_propDict["sharingType"]; + } else { + return null; + } + } + + /** + * Sets the sharingType + * Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'. + * + * @param string $val The value of the sharingType + * + * @return SharingDetail + */ + public function setSharingType($val) + { + $this->_propDict["sharingType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingInvitation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingInvitation.php new file mode 100644 index 0000000..33baa6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingInvitation.php @@ -0,0 +1,141 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address provided for the recipient of the sharing invitation. Read-only. + * + * @param string $val The value of the email + * + * @return SharingInvitation + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the invitedBy + * Provides information about who sent the invitation that created this permission, if that information is available. Read-only. + * + * @return IdentitySet|null The invitedBy + */ + public function getInvitedBy() + { + if (array_key_exists("invitedBy", $this->_propDict)) { + if (is_a($this->_propDict["invitedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["invitedBy"])) { + return $this->_propDict["invitedBy"]; + } else { + $this->_propDict["invitedBy"] = new IdentitySet($this->_propDict["invitedBy"]); + return $this->_propDict["invitedBy"]; + } + } + return null; + } + + /** + * Sets the invitedBy + * Provides information about who sent the invitation that created this permission, if that information is available. Read-only. + * + * @param IdentitySet $val The value to assign to the invitedBy + * + * @return SharingInvitation The SharingInvitation + */ + public function setInvitedBy($val) + { + $this->_propDict["invitedBy"] = $val; + return $this; + } + /** + * Gets the redeemedBy + * + * @return string|null The redeemedBy + */ + public function getRedeemedBy() + { + if (array_key_exists("redeemedBy", $this->_propDict)) { + return $this->_propDict["redeemedBy"]; + } else { + return null; + } + } + + /** + * Sets the redeemedBy + * + * @param string $val The value of the redeemedBy + * + * @return SharingInvitation + */ + public function setRedeemedBy($val) + { + $this->_propDict["redeemedBy"] = $val; + return $this; + } + /** + * Gets the signInRequired + * If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. + * + * @return bool|null The signInRequired + */ + public function getSignInRequired() + { + if (array_key_exists("signInRequired", $this->_propDict)) { + return $this->_propDict["signInRequired"]; + } else { + return null; + } + } + + /** + * Sets the signInRequired + * If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. + * + * @param bool $val The value of the signInRequired + * + * @return SharingInvitation + */ + public function setSignInRequired($val) + { + $this->_propDict["signInRequired"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingLink.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingLink.php new file mode 100644 index 0000000..7f35305 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingLink.php @@ -0,0 +1,225 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Identity($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * The app the link is associated with. + * + * @param Identity $val The value to assign to the application + * + * @return SharingLink The SharingLink + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + /** + * Gets the configuratorUrl + * + * @return string|null The configuratorUrl + */ + public function getConfiguratorUrl() + { + if (array_key_exists("configuratorUrl", $this->_propDict)) { + return $this->_propDict["configuratorUrl"]; + } else { + return null; + } + } + + /** + * Sets the configuratorUrl + * + * @param string $val The value of the configuratorUrl + * + * @return SharingLink + */ + public function setConfiguratorUrl($val) + { + $this->_propDict["configuratorUrl"] = $val; + return $this; + } + /** + * Gets the preventsDownload + * If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint. + * + * @return bool|null The preventsDownload + */ + public function getPreventsDownload() + { + if (array_key_exists("preventsDownload", $this->_propDict)) { + return $this->_propDict["preventsDownload"]; + } else { + return null; + } + } + + /** + * Sets the preventsDownload + * If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint. + * + * @param bool $val The value of the preventsDownload + * + * @return SharingLink + */ + public function setPreventsDownload($val) + { + $this->_propDict["preventsDownload"] = $val; + return $this; + } + /** + * Gets the scope + * The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. + * + * @param string $val The value of the scope + * + * @return SharingLink + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + /** + * Gets the type + * The type of the link created. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of the link created. + * + * @param string $val The value of the type + * + * @return SharingLink + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the webHtml + * For embed links, this property contains the HTML code for an &lt;iframe&gt; element that will embed the item in a webpage. + * + * @return string|null The webHtml + */ + public function getWebHtml() + { + if (array_key_exists("webHtml", $this->_propDict)) { + return $this->_propDict["webHtml"]; + } else { + return null; + } + } + + /** + * Sets the webHtml + * For embed links, this property contains the HTML code for an &lt;iframe&gt; element that will embed the item in a webpage. + * + * @param string $val The value of the webHtml + * + * @return SharingLink + */ + public function setWebHtml($val) + { + $this->_propDict["webHtml"] = $val; + return $this; + } + /** + * Gets the webUrl + * A URL that opens the item in the browser on the OneDrive website. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A URL that opens the item in the browser on the OneDrive website. + * + * @param string $val The value of the webUrl + * + * @return SharingLink + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shift.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shift.php new file mode 100644 index 0000000..dd22cd2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shift.php @@ -0,0 +1,178 @@ +_propDict)) { + if (is_a($this->_propDict["draftShift"], "\Beta\Microsoft\Graph\Model\ShiftItem") || is_null($this->_propDict["draftShift"])) { + return $this->_propDict["draftShift"]; + } else { + $this->_propDict["draftShift"] = new ShiftItem($this->_propDict["draftShift"]); + return $this->_propDict["draftShift"]; + } + } + return null; + } + + /** + * Sets the draftShift + * The draft version of this shift that is viewable by managers. Required. + * + * @param ShiftItem $val The draftShift + * + * @return Shift + */ + public function setDraftShift($val) + { + $this->_propDict["draftShift"] = $val; + return $this; + } + + /** + * Gets the isStagedForDeletion + * + * @return bool|null The isStagedForDeletion + */ + public function getIsStagedForDeletion() + { + if (array_key_exists("isStagedForDeletion", $this->_propDict)) { + return $this->_propDict["isStagedForDeletion"]; + } else { + return null; + } + } + + /** + * Sets the isStagedForDeletion + * + * @param bool $val The isStagedForDeletion + * + * @return Shift + */ + public function setIsStagedForDeletion($val) + { + $this->_propDict["isStagedForDeletion"] = boolval($val); + return $this; + } + + /** + * Gets the schedulingGroupId + * ID of the scheduling group the shift is part of. Required. + * + * @return string|null The schedulingGroupId + */ + public function getSchedulingGroupId() + { + if (array_key_exists("schedulingGroupId", $this->_propDict)) { + return $this->_propDict["schedulingGroupId"]; + } else { + return null; + } + } + + /** + * Sets the schedulingGroupId + * ID of the scheduling group the shift is part of. Required. + * + * @param string $val The schedulingGroupId + * + * @return Shift + */ + public function setSchedulingGroupId($val) + { + $this->_propDict["schedulingGroupId"] = $val; + return $this; + } + + /** + * Gets the sharedShift + * The shared version of this shift that is viewable by both employees and managers. Required. + * + * @return ShiftItem|null The sharedShift + */ + public function getSharedShift() + { + if (array_key_exists("sharedShift", $this->_propDict)) { + if (is_a($this->_propDict["sharedShift"], "\Beta\Microsoft\Graph\Model\ShiftItem") || is_null($this->_propDict["sharedShift"])) { + return $this->_propDict["sharedShift"]; + } else { + $this->_propDict["sharedShift"] = new ShiftItem($this->_propDict["sharedShift"]); + return $this->_propDict["sharedShift"]; + } + } + return null; + } + + /** + * Sets the sharedShift + * The shared version of this shift that is viewable by both employees and managers. Required. + * + * @param ShiftItem $val The sharedShift + * + * @return Shift + */ + public function setSharedShift($val) + { + $this->_propDict["sharedShift"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user assigned to the shift. Required. + * + * @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 + * ID of the user assigned to the shift. Required. + * + * @param string $val The userId + * + * @return Shift + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftActivity.php new file mode 100644 index 0000000..c39ff63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftActivity.php @@ -0,0 +1,207 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * Customer defined code for the shiftActivity. Required. + * + * @param string $val The value of the code + * + * @return ShiftActivity + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of the shiftActivity. Required. + * + * @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 + * The name of the shiftActivity. Required. + * + * @param string $val The value of the displayName + * + * @return ShiftActivity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The end date and time for the shiftActivity. 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end date and time for the shiftActivity. 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 endDateTime + * + * @return ShiftActivity The ShiftActivity + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the isPaid + * Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required. + * + * @return bool|null The isPaid + */ + public function getIsPaid() + { + if (array_key_exists("isPaid", $this->_propDict)) { + return $this->_propDict["isPaid"]; + } else { + return null; + } + } + + /** + * Sets the isPaid + * Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required. + * + * @param bool $val The value of the isPaid + * + * @return ShiftActivity + */ + public function setIsPaid($val) + { + $this->_propDict["isPaid"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start date and time for the shiftActivity. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start date and time for the shiftActivity. 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 startDateTime + * + * @return ShiftActivity The ShiftActivity + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the theme + * + * @return ScheduleEntityTheme|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + if (is_a($this->_propDict["theme"], "\Beta\Microsoft\Graph\Model\ScheduleEntityTheme") || is_null($this->_propDict["theme"])) { + return $this->_propDict["theme"]; + } else { + $this->_propDict["theme"] = new ScheduleEntityTheme($this->_propDict["theme"]); + return $this->_propDict["theme"]; + } + } + return null; + } + + /** + * Sets the theme + * + * @param ScheduleEntityTheme $val The value to assign to the theme + * + * @return ShiftActivity The ShiftActivity + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftAvailability.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftAvailability.php new file mode 100644 index 0000000..192f585 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftAvailability.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Specifies the pattern for recurrence + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return ShiftAvailability The ShiftAvailability + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the timeSlots + * The time slot(s) preferred by the user. + * + * @return TimeRange|null The timeSlots + */ + public function getTimeSlots() + { + if (array_key_exists("timeSlots", $this->_propDict)) { + if (is_a($this->_propDict["timeSlots"], "\Beta\Microsoft\Graph\Model\TimeRange") || is_null($this->_propDict["timeSlots"])) { + return $this->_propDict["timeSlots"]; + } else { + $this->_propDict["timeSlots"] = new TimeRange($this->_propDict["timeSlots"]); + return $this->_propDict["timeSlots"]; + } + } + return null; + } + + /** + * Sets the timeSlots + * The time slot(s) preferred by the user. + * + * @param TimeRange $val The value to assign to the timeSlots + * + * @return ShiftAvailability The ShiftAvailability + */ + public function setTimeSlots($val) + { + $this->_propDict["timeSlots"] = $val; + return $this; + } + /** + * Gets the timeZone + * Specifies the time zone for the indicated time. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Specifies the time zone for the indicated time. + * + * @param string $val The value of the timeZone + * + * @return ShiftAvailability + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftItem.php new file mode 100644 index 0000000..f56a56f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftItem.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["activities"], "\Beta\Microsoft\Graph\Model\ShiftActivity") || is_null($this->_propDict["activities"])) { + return $this->_propDict["activities"]; + } else { + $this->_propDict["activities"] = new ShiftActivity($this->_propDict["activities"]); + return $this->_propDict["activities"]; + } + } + return null; + } + + /** + * Sets the activities + * An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required. + * + * @param ShiftActivity $val The value to assign to the activities + * + * @return ShiftItem The ShiftItem + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + /** + * Gets the displayName + * The shift label of the shiftItem. + * + * @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 + * The shift label of the shiftItem. + * + * @param string $val The value of the displayName + * + * @return ShiftItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the notes + * The shift notes for the shiftItem. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * The shift notes for the shiftItem. + * + * @param string $val The value of the notes + * + * @return ShiftItem + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftPreferences.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftPreferences.php new file mode 100644 index 0000000..d8928a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftPreferences.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["availability"]; + } else { + return null; + } + } + + /** + * Sets the availability + * Availability of the user to be scheduled for work and its recurrence pattern. + * + * @param ShiftAvailability[] $val The availability + * + * @return ShiftPreferences + */ + public function setAvailability($val) + { + $this->_propDict["availability"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php new file mode 100644 index 0000000..6066c4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return ShipmentMethod + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return ShipmentMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ShipmentMethod + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SideLoadingKey.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SideLoadingKey.php new file mode 100644 index 0000000..1fd3063 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SideLoadingKey.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Side Loading Key description displayed to the ITPro Admins.. + * + * @param string $val The description + * + * @return SideLoadingKey + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Side Loading Key Name displayed to the ITPro Admins. + * + * @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 + * Side Loading Key Name displayed to the ITPro Admins. + * + * @param string $val The displayName + * + * @return SideLoadingKey + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Side Loading Key Last Updated Date displayed to the ITPro Admins. + * + * @return string|null The lastUpdatedDateTime + */ + public function getLastUpdatedDateTime() + { + if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { + return $this->_propDict["lastUpdatedDateTime"]; + } else { + return null; + } + } + + /** + * Sets the lastUpdatedDateTime + * Side Loading Key Last Updated Date displayed to the ITPro Admins. + * + * @param string $val The lastUpdatedDateTime + * + * @return SideLoadingKey + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the totalActivation + * Side Loading Key Total Activation displayed to the ITPro Admins. + * + * @return int|null The totalActivation + */ + public function getTotalActivation() + { + if (array_key_exists("totalActivation", $this->_propDict)) { + return $this->_propDict["totalActivation"]; + } else { + return null; + } + } + + /** + * Sets the totalActivation + * Side Loading Key Total Activation displayed to the ITPro Admins. + * + * @param int $val The totalActivation + * + * @return SideLoadingKey + */ + public function setTotalActivation($val) + { + $this->_propDict["totalActivation"] = intval($val); + return $this; + } + + /** + * Gets the value + * Side Loading Key Value, it is 5x5 value, seperated by hiphens. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Side Loading Key Value, it is 5x5 value, seperated by hiphens. + * + * @param string $val The value + * + * @return SideLoadingKey + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignIn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignIn.php new file mode 100644 index 0000000..0216067 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignIn.php @@ -0,0 +1,1844 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The application name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * + * @param string $val The appDisplayName + * + * @return SignIn + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * + * @param string $val The appId + * + * @return SignIn + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + + /** + * Gets the appliedConditionalAccessPolicies + * A list of conditional access policies that are triggered by the corresponding sign-in activity. + * + * @return array|null The appliedConditionalAccessPolicies + */ + public function getAppliedConditionalAccessPolicies() + { + if (array_key_exists("appliedConditionalAccessPolicies", $this->_propDict)) { + return $this->_propDict["appliedConditionalAccessPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appliedConditionalAccessPolicies + * A list of conditional access policies that are triggered by the corresponding sign-in activity. + * + * @param AppliedConditionalAccessPolicy[] $val The appliedConditionalAccessPolicies + * + * @return SignIn + */ + public function setAppliedConditionalAccessPolicies($val) + { + $this->_propDict["appliedConditionalAccessPolicies"] = $val; + return $this; + } + + + /** + * Gets the authenticationContextClassReferences + * Contains a collection of values that represent the conditional access authentication contexts applied to the sign-in. + * + * @return array|null The authenticationContextClassReferences + */ + public function getAuthenticationContextClassReferences() + { + if (array_key_exists("authenticationContextClassReferences", $this->_propDict)) { + return $this->_propDict["authenticationContextClassReferences"]; + } else { + return null; + } + } + + /** + * Sets the authenticationContextClassReferences + * Contains a collection of values that represent the conditional access authentication contexts applied to the sign-in. + * + * @param AuthenticationContext[] $val The authenticationContextClassReferences + * + * @return SignIn + */ + public function setAuthenticationContextClassReferences($val) + { + $this->_propDict["authenticationContextClassReferences"] = $val; + return $this; + } + + + /** + * Gets the authenticationDetails + * The result of the authentication attempt and additional details on the authentication method. + * + * @return array|null The authenticationDetails + */ + public function getAuthenticationDetails() + { + if (array_key_exists("authenticationDetails", $this->_propDict)) { + return $this->_propDict["authenticationDetails"]; + } else { + return null; + } + } + + /** + * Sets the authenticationDetails + * The result of the authentication attempt and additional details on the authentication method. + * + * @param AuthenticationDetail[] $val The authenticationDetails + * + * @return SignIn + */ + public function setAuthenticationDetails($val) + { + $this->_propDict["authenticationDetails"] = $val; + return $this; + } + + /** + * Gets the authenticationMethodsUsed + * The authentication methods used. Possible values: SMS, Authenticator App, App Verification code, Password, FIDO, PTA, or PHS. + * + * @return string|null The authenticationMethodsUsed + */ + public function getAuthenticationMethodsUsed() + { + if (array_key_exists("authenticationMethodsUsed", $this->_propDict)) { + return $this->_propDict["authenticationMethodsUsed"]; + } else { + return null; + } + } + + /** + * Sets the authenticationMethodsUsed + * The authentication methods used. Possible values: SMS, Authenticator App, App Verification code, Password, FIDO, PTA, or PHS. + * + * @param string $val The authenticationMethodsUsed + * + * @return SignIn + */ + public function setAuthenticationMethodsUsed($val) + { + $this->_propDict["authenticationMethodsUsed"] = $val; + return $this; + } + + + /** + * Gets the authenticationProcessingDetails + * Additional authentication processing details, such as the agent name in case of PTA/PHS or Server/farm name in case of federated authentication. + * + * @return array|null The authenticationProcessingDetails + */ + public function getAuthenticationProcessingDetails() + { + if (array_key_exists("authenticationProcessingDetails", $this->_propDict)) { + return $this->_propDict["authenticationProcessingDetails"]; + } else { + return null; + } + } + + /** + * Sets the authenticationProcessingDetails + * Additional authentication processing details, such as the agent name in case of PTA/PHS or Server/farm name in case of federated authentication. + * + * @param KeyValue[] $val The authenticationProcessingDetails + * + * @return SignIn + */ + public function setAuthenticationProcessingDetails($val) + { + $this->_propDict["authenticationProcessingDetails"] = $val; + return $this; + } + + /** + * Gets the authenticationProtocol + * Lists the protocol type or grant type used in the authentication. The possible values are: none, oAuth2, ropc, wsFederation, saml20, deviceCode, unknownFutureValue. For authentications that use protocols other than the possible values listed, the protocol type is listed as none. + * + * @return ProtocolType|null The authenticationProtocol + */ + public function getAuthenticationProtocol() + { + if (array_key_exists("authenticationProtocol", $this->_propDict)) { + if (is_a($this->_propDict["authenticationProtocol"], "\Beta\Microsoft\Graph\Model\ProtocolType") || is_null($this->_propDict["authenticationProtocol"])) { + return $this->_propDict["authenticationProtocol"]; + } else { + $this->_propDict["authenticationProtocol"] = new ProtocolType($this->_propDict["authenticationProtocol"]); + return $this->_propDict["authenticationProtocol"]; + } + } + return null; + } + + /** + * Sets the authenticationProtocol + * Lists the protocol type or grant type used in the authentication. The possible values are: none, oAuth2, ropc, wsFederation, saml20, deviceCode, unknownFutureValue. For authentications that use protocols other than the possible values listed, the protocol type is listed as none. + * + * @param ProtocolType $val The authenticationProtocol + * + * @return SignIn + */ + public function setAuthenticationProtocol($val) + { + $this->_propDict["authenticationProtocol"] = $val; + return $this; + } + + /** + * Gets the authenticationRequirement + * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq and startsWith operators only). + * + * @return string|null The authenticationRequirement + */ + public function getAuthenticationRequirement() + { + if (array_key_exists("authenticationRequirement", $this->_propDict)) { + return $this->_propDict["authenticationRequirement"]; + } else { + return null; + } + } + + /** + * Sets the authenticationRequirement + * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq and startsWith operators only). + * + * @param string $val The authenticationRequirement + * + * @return SignIn + */ + public function setAuthenticationRequirement($val) + { + $this->_propDict["authenticationRequirement"] = $val; + return $this; + } + + + /** + * Gets the authenticationRequirementPolicies + * Sources of authentication requirement, such as conditional access, per-user MFA, identity protection, and security defaults. + * + * @return array|null The authenticationRequirementPolicies + */ + public function getAuthenticationRequirementPolicies() + { + if (array_key_exists("authenticationRequirementPolicies", $this->_propDict)) { + return $this->_propDict["authenticationRequirementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the authenticationRequirementPolicies + * Sources of authentication requirement, such as conditional access, per-user MFA, identity protection, and security defaults. + * + * @param AuthenticationRequirementPolicy[] $val The authenticationRequirementPolicies + * + * @return SignIn + */ + public function setAuthenticationRequirementPolicies($val) + { + $this->_propDict["authenticationRequirementPolicies"] = $val; + return $this; + } + + /** + * Gets the autonomousSystemNumber + * The Autonomous System Number (ASN) of the network used by the actor. + * + * @return int|null The autonomousSystemNumber + */ + public function getAutonomousSystemNumber() + { + if (array_key_exists("autonomousSystemNumber", $this->_propDict)) { + return $this->_propDict["autonomousSystemNumber"]; + } else { + return null; + } + } + + /** + * Sets the autonomousSystemNumber + * The Autonomous System Number (ASN) of the network used by the actor. + * + * @param int $val The autonomousSystemNumber + * + * @return SignIn + */ + public function setAutonomousSystemNumber($val) + { + $this->_propDict["autonomousSystemNumber"] = intval($val); + return $this; + } + + /** + * Gets the azureResourceId + * Contains a fully qualified Azure Resource Manager ID of an Azure resource accessed during the sign-in. + * + * @return string|null The azureResourceId + */ + public function getAzureResourceId() + { + if (array_key_exists("azureResourceId", $this->_propDict)) { + return $this->_propDict["azureResourceId"]; + } else { + return null; + } + } + + /** + * Sets the azureResourceId + * Contains a fully qualified Azure Resource Manager ID of an Azure resource accessed during the sign-in. + * + * @param string $val The azureResourceId + * + * @return SignIn + */ + public function setAzureResourceId($val) + { + $this->_propDict["azureResourceId"] = $val; + return $this; + } + + /** + * Gets the clientAppUsed + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * + * @return string|null The clientAppUsed + */ + public function getClientAppUsed() + { + if (array_key_exists("clientAppUsed", $this->_propDict)) { + return $this->_propDict["clientAppUsed"]; + } else { + return null; + } + } + + /** + * Sets the clientAppUsed + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * + * @param string $val The clientAppUsed + * + * @return SignIn + */ + public function setClientAppUsed($val) + { + $this->_propDict["clientAppUsed"] = $val; + return $this; + } + + /** + * Gets the clientCredentialType + * Describes the credential type that a user client or service principal provided to Azure AD to authenticate itself. You may wish to review clientCredentialType to track and eliminate less secure credential types or to watch for clients and service principals using anomalous credential types. The possible values are: none, clientSecret, clientAssertion, federatedIdentityCredential, managedIdentity, certificate, unknownFutureValue. + * + * @return ClientCredentialType|null The clientCredentialType + */ + public function getClientCredentialType() + { + if (array_key_exists("clientCredentialType", $this->_propDict)) { + if (is_a($this->_propDict["clientCredentialType"], "\Beta\Microsoft\Graph\Model\ClientCredentialType") || is_null($this->_propDict["clientCredentialType"])) { + return $this->_propDict["clientCredentialType"]; + } else { + $this->_propDict["clientCredentialType"] = new ClientCredentialType($this->_propDict["clientCredentialType"]); + return $this->_propDict["clientCredentialType"]; + } + } + return null; + } + + /** + * Sets the clientCredentialType + * Describes the credential type that a user client or service principal provided to Azure AD to authenticate itself. You may wish to review clientCredentialType to track and eliminate less secure credential types or to watch for clients and service principals using anomalous credential types. The possible values are: none, clientSecret, clientAssertion, federatedIdentityCredential, managedIdentity, certificate, unknownFutureValue. + * + * @param ClientCredentialType $val The clientCredentialType + * + * @return SignIn + */ + public function setClientCredentialType($val) + { + $this->_propDict["clientCredentialType"] = $val; + return $this; + } + + /** + * Gets the conditionalAccessStatus + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * + * @return ConditionalAccessStatus|null The conditionalAccessStatus + */ + public function getConditionalAccessStatus() + { + if (array_key_exists("conditionalAccessStatus", $this->_propDict)) { + if (is_a($this->_propDict["conditionalAccessStatus"], "\Beta\Microsoft\Graph\Model\ConditionalAccessStatus") || is_null($this->_propDict["conditionalAccessStatus"])) { + return $this->_propDict["conditionalAccessStatus"]; + } else { + $this->_propDict["conditionalAccessStatus"] = new ConditionalAccessStatus($this->_propDict["conditionalAccessStatus"]); + return $this->_propDict["conditionalAccessStatus"]; + } + } + return null; + } + + /** + * Sets the conditionalAccessStatus + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * + * @param ConditionalAccessStatus $val The conditionalAccessStatus + * + * @return SignIn + */ + public function setConditionalAccessStatus($val) + { + $this->_propDict["conditionalAccessStatus"] = $val; + return $this; + } + + /** + * Gets the correlationId + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * + * @param string $val The correlationId + * + * @return SignIn + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * + * @param \DateTime $val The createdDateTime + * + * @return SignIn + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the crossTenantAccessType + * Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in did not cross tenant boundaries, the value is none. + * + * @return SignInAccessType|null The crossTenantAccessType + */ + public function getCrossTenantAccessType() + { + if (array_key_exists("crossTenantAccessType", $this->_propDict)) { + if (is_a($this->_propDict["crossTenantAccessType"], "\Beta\Microsoft\Graph\Model\SignInAccessType") || is_null($this->_propDict["crossTenantAccessType"])) { + return $this->_propDict["crossTenantAccessType"]; + } else { + $this->_propDict["crossTenantAccessType"] = new SignInAccessType($this->_propDict["crossTenantAccessType"]); + return $this->_propDict["crossTenantAccessType"]; + } + } + return null; + } + + /** + * Sets the crossTenantAccessType + * Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in did not cross tenant boundaries, the value is none. + * + * @param SignInAccessType $val The crossTenantAccessType + * + * @return SignIn + */ + public function setCrossTenantAccessType($val) + { + $this->_propDict["crossTenantAccessType"] = $val; + return $this; + } + + /** + * Gets the deviceDetail + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * + * @return DeviceDetail|null The deviceDetail + */ + public function getDeviceDetail() + { + if (array_key_exists("deviceDetail", $this->_propDict)) { + if (is_a($this->_propDict["deviceDetail"], "\Beta\Microsoft\Graph\Model\DeviceDetail") || is_null($this->_propDict["deviceDetail"])) { + return $this->_propDict["deviceDetail"]; + } else { + $this->_propDict["deviceDetail"] = new DeviceDetail($this->_propDict["deviceDetail"]); + return $this->_propDict["deviceDetail"]; + } + } + return null; + } + + /** + * Sets the deviceDetail + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * + * @param DeviceDetail $val The deviceDetail + * + * @return SignIn + */ + public function setDeviceDetail($val) + { + $this->_propDict["deviceDetail"] = $val; + return $this; + } + + /** + * Gets the federatedCredentialId + * Contains the identifier of an application's federated identity credential, if a federated identity credential was used to sign in. + * + * @return string|null The federatedCredentialId + */ + public function getFederatedCredentialId() + { + if (array_key_exists("federatedCredentialId", $this->_propDict)) { + return $this->_propDict["federatedCredentialId"]; + } else { + return null; + } + } + + /** + * Sets the federatedCredentialId + * Contains the identifier of an application's federated identity credential, if a federated identity credential was used to sign in. + * + * @param string $val The federatedCredentialId + * + * @return SignIn + */ + public function setFederatedCredentialId($val) + { + $this->_propDict["federatedCredentialId"] = $val; + return $this; + } + + /** + * Gets the flaggedForReview + * During a failed sign in, a user may click a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. + * + * @return bool|null The flaggedForReview + */ + public function getFlaggedForReview() + { + if (array_key_exists("flaggedForReview", $this->_propDict)) { + return $this->_propDict["flaggedForReview"]; + } else { + return null; + } + } + + /** + * Sets the flaggedForReview + * During a failed sign in, a user may click a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. + * + * @param bool $val The flaggedForReview + * + * @return SignIn + */ + public function setFlaggedForReview($val) + { + $this->_propDict["flaggedForReview"] = boolval($val); + return $this; + } + + /** + * Gets the homeTenantId + * The tenant identifier of the user initiating the sign in. Not applicable in Managed Identity or service principal sign ins. + * + * @return string|null The homeTenantId + */ + public function getHomeTenantId() + { + if (array_key_exists("homeTenantId", $this->_propDict)) { + return $this->_propDict["homeTenantId"]; + } else { + return null; + } + } + + /** + * Sets the homeTenantId + * The tenant identifier of the user initiating the sign in. Not applicable in Managed Identity or service principal sign ins. + * + * @param string $val The homeTenantId + * + * @return SignIn + */ + public function setHomeTenantId($val) + { + $this->_propDict["homeTenantId"] = $val; + return $this; + } + + /** + * Gets the homeTenantName + * For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Azure AD to show the tenant content. + * + * @return string|null The homeTenantName + */ + public function getHomeTenantName() + { + if (array_key_exists("homeTenantName", $this->_propDict)) { + return $this->_propDict["homeTenantName"]; + } else { + return null; + } + } + + /** + * Sets the homeTenantName + * For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Azure AD to show the tenant content. + * + * @param string $val The homeTenantName + * + * @return SignIn + */ + public function setHomeTenantName($val) + { + $this->_propDict["homeTenantName"] = $val; + return $this; + } + + /** + * Gets the incomingTokenType + * Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Azure AD may have also used token types not listed in this Enum type to authenticate the actor. Do not infer the lack of a token if it is not one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. + * + * @return IncomingTokenType|null The incomingTokenType + */ + public function getIncomingTokenType() + { + if (array_key_exists("incomingTokenType", $this->_propDict)) { + if (is_a($this->_propDict["incomingTokenType"], "\Beta\Microsoft\Graph\Model\IncomingTokenType") || is_null($this->_propDict["incomingTokenType"])) { + return $this->_propDict["incomingTokenType"]; + } else { + $this->_propDict["incomingTokenType"] = new IncomingTokenType($this->_propDict["incomingTokenType"]); + return $this->_propDict["incomingTokenType"]; + } + } + return null; + } + + /** + * Sets the incomingTokenType + * Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Azure AD may have also used token types not listed in this Enum type to authenticate the actor. Do not infer the lack of a token if it is not one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. + * + * @param IncomingTokenType $val The incomingTokenType + * + * @return SignIn + */ + public function setIncomingTokenType($val) + { + $this->_propDict["incomingTokenType"] = $val; + return $this; + } + + /** + * Gets the ipAddress + * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * + * @param string $val The ipAddress + * + * @return SignIn + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + + /** + * Gets the ipAddressFromResourceProvider + * The IP address a user used to reach a resource provider, used to determine Conditional Access compliance for some policies. For example, when a user interacts with Exchange Online, the IP address Exchange receives from the user may be recorded here. This value is often null. + * + * @return string|null The ipAddressFromResourceProvider + */ + public function getIpAddressFromResourceProvider() + { + if (array_key_exists("ipAddressFromResourceProvider", $this->_propDict)) { + return $this->_propDict["ipAddressFromResourceProvider"]; + } else { + return null; + } + } + + /** + * Sets the ipAddressFromResourceProvider + * The IP address a user used to reach a resource provider, used to determine Conditional Access compliance for some policies. For example, when a user interacts with Exchange Online, the IP address Exchange receives from the user may be recorded here. This value is often null. + * + * @param string $val The ipAddressFromResourceProvider + * + * @return SignIn + */ + public function setIpAddressFromResourceProvider($val) + { + $this->_propDict["ipAddressFromResourceProvider"] = $val; + return $this; + } + + /** + * Gets the isInteractive + * Indicates whether a user sign in is interactive. In interactive sign in, the user provides an authentication factor to Azure AD. These factors include passwords, responses to MFA challenges, biometric factors, or QR codes that a user provides to Azure AD or an associated app. In non-interactive sign in, the user doesn't provide an authentication factor. Instead, the client app uses a token or code to authenticate or access a resource on behalf of a user. Non-interactive sign ins are commonly used for a client to sign in on a user's behalf in a process transparent to the user. + * + * @return bool|null The isInteractive + */ + public function getIsInteractive() + { + if (array_key_exists("isInteractive", $this->_propDict)) { + return $this->_propDict["isInteractive"]; + } else { + return null; + } + } + + /** + * Sets the isInteractive + * Indicates whether a user sign in is interactive. In interactive sign in, the user provides an authentication factor to Azure AD. These factors include passwords, responses to MFA challenges, biometric factors, or QR codes that a user provides to Azure AD or an associated app. In non-interactive sign in, the user doesn't provide an authentication factor. Instead, the client app uses a token or code to authenticate or access a resource on behalf of a user. Non-interactive sign ins are commonly used for a client to sign in on a user's behalf in a process transparent to the user. + * + * @param bool $val The isInteractive + * + * @return SignIn + */ + public function setIsInteractive($val) + { + $this->_propDict["isInteractive"] = boolval($val); + return $this; + } + + /** + * Gets the isTenantRestricted + * Shows whether the sign in event was subject to an Azure AD tenant restriction policy. + * + * @return bool|null The isTenantRestricted + */ + public function getIsTenantRestricted() + { + if (array_key_exists("isTenantRestricted", $this->_propDict)) { + return $this->_propDict["isTenantRestricted"]; + } else { + return null; + } + } + + /** + * Sets the isTenantRestricted + * Shows whether the sign in event was subject to an Azure AD tenant restriction policy. + * + * @param bool $val The isTenantRestricted + * + * @return SignIn + */ + public function setIsTenantRestricted($val) + { + $this->_propDict["isTenantRestricted"] = boolval($val); + return $this; + } + + /** + * Gets the location + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * + * @return SignInLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\SignInLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new SignInLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * + * @param SignInLocation $val The location + * + * @return SignIn + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the mfaDetail + * + * @return MfaDetail|null The mfaDetail + */ + public function getMfaDetail() + { + if (array_key_exists("mfaDetail", $this->_propDict)) { + if (is_a($this->_propDict["mfaDetail"], "\Beta\Microsoft\Graph\Model\MfaDetail") || is_null($this->_propDict["mfaDetail"])) { + return $this->_propDict["mfaDetail"]; + } else { + $this->_propDict["mfaDetail"] = new MfaDetail($this->_propDict["mfaDetail"]); + return $this->_propDict["mfaDetail"]; + } + } + return null; + } + + /** + * Sets the mfaDetail + * + * @param MfaDetail $val The mfaDetail + * + * @return SignIn + */ + public function setMfaDetail($val) + { + $this->_propDict["mfaDetail"] = $val; + return $this; + } + + + /** + * Gets the networkLocationDetails + * The network location details including the type of network used and its names. + * + * @return array|null The networkLocationDetails + */ + public function getNetworkLocationDetails() + { + if (array_key_exists("networkLocationDetails", $this->_propDict)) { + return $this->_propDict["networkLocationDetails"]; + } else { + return null; + } + } + + /** + * Sets the networkLocationDetails + * The network location details including the type of network used and its names. + * + * @param NetworkLocationDetail[] $val The networkLocationDetails + * + * @return SignIn + */ + public function setNetworkLocationDetails($val) + { + $this->_propDict["networkLocationDetails"] = $val; + return $this; + } + + /** + * Gets the originalRequestId + * The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). + * + * @return string|null The originalRequestId + */ + public function getOriginalRequestId() + { + if (array_key_exists("originalRequestId", $this->_propDict)) { + return $this->_propDict["originalRequestId"]; + } else { + return null; + } + } + + /** + * Sets the originalRequestId + * The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). + * + * @param string $val The originalRequestId + * + * @return SignIn + */ + public function setOriginalRequestId($val) + { + $this->_propDict["originalRequestId"] = $val; + return $this; + } + + /** + * Gets the privateLinkDetails + * Contains information about the Azure AD Private Link policy that is associated with the sign in event. + * + * @return PrivateLinkDetails|null The privateLinkDetails + */ + public function getPrivateLinkDetails() + { + if (array_key_exists("privateLinkDetails", $this->_propDict)) { + if (is_a($this->_propDict["privateLinkDetails"], "\Beta\Microsoft\Graph\Model\PrivateLinkDetails") || is_null($this->_propDict["privateLinkDetails"])) { + return $this->_propDict["privateLinkDetails"]; + } else { + $this->_propDict["privateLinkDetails"] = new PrivateLinkDetails($this->_propDict["privateLinkDetails"]); + return $this->_propDict["privateLinkDetails"]; + } + } + return null; + } + + /** + * Sets the privateLinkDetails + * Contains information about the Azure AD Private Link policy that is associated with the sign in event. + * + * @param PrivateLinkDetails $val The privateLinkDetails + * + * @return SignIn + */ + public function setPrivateLinkDetails($val) + { + $this->_propDict["privateLinkDetails"] = $val; + return $this; + } + + /** + * Gets the processingTimeInMilliseconds + * The request processing time in milliseconds in AD STS. + * + * @return int|null The processingTimeInMilliseconds + */ + public function getProcessingTimeInMilliseconds() + { + if (array_key_exists("processingTimeInMilliseconds", $this->_propDict)) { + return $this->_propDict["processingTimeInMilliseconds"]; + } else { + return null; + } + } + + /** + * Sets the processingTimeInMilliseconds + * The request processing time in milliseconds in AD STS. + * + * @param int $val The processingTimeInMilliseconds + * + * @return SignIn + */ + public function setProcessingTimeInMilliseconds($val) + { + $this->_propDict["processingTimeInMilliseconds"] = intval($val); + return $this; + } + + /** + * Gets the resourceDisplayName + * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @return string|null The resourceDisplayName + */ + public function getResourceDisplayName() + { + if (array_key_exists("resourceDisplayName", $this->_propDict)) { + return $this->_propDict["resourceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the resourceDisplayName + * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @param string $val The resourceDisplayName + * + * @return SignIn + */ + public function setResourceDisplayName($val) + { + $this->_propDict["resourceDisplayName"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @param string $val The resourceId + * + * @return SignIn + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the resourceServicePrincipalId + * The identifier of the service principal representing the target resource in the sign-in event. + * + * @return string|null The resourceServicePrincipalId + */ + public function getResourceServicePrincipalId() + { + if (array_key_exists("resourceServicePrincipalId", $this->_propDict)) { + return $this->_propDict["resourceServicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the resourceServicePrincipalId + * The identifier of the service principal representing the target resource in the sign-in event. + * + * @param string $val The resourceServicePrincipalId + * + * @return SignIn + */ + public function setResourceServicePrincipalId($val) + { + $this->_propDict["resourceServicePrincipalId"] = $val; + return $this; + } + + /** + * Gets the resourceTenantId + * The tenant identifier of the resource referenced in the sign in. + * + * @return string|null The resourceTenantId + */ + public function getResourceTenantId() + { + if (array_key_exists("resourceTenantId", $this->_propDict)) { + return $this->_propDict["resourceTenantId"]; + } else { + return null; + } + } + + /** + * Sets the resourceTenantId + * The tenant identifier of the resource referenced in the sign in. + * + * @param string $val The resourceTenantId + * + * @return SignIn + */ + public function setResourceTenantId($val) + { + $this->_propDict["resourceTenantId"] = $val; + return $this; + } + + /** + * Gets the riskDetail + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @param RiskDetail $val The riskDetail + * + * @return SignIn + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskEventTypesV2 + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * + * @return string|null The riskEventTypesV2 + */ + public function getRiskEventTypesV2() + { + if (array_key_exists("riskEventTypesV2", $this->_propDict)) { + return $this->_propDict["riskEventTypesV2"]; + } else { + return null; + } + } + + /** + * Sets the riskEventTypesV2 + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * + * @param string $val The riskEventTypesV2 + * + * @return SignIn + */ + public function setRiskEventTypesV2($val) + { + $this->_propDict["riskEventTypes_v2"] = $val; + return $this; + } + + /** + * Gets the riskLevelAggregated + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @return RiskLevel|null The riskLevelAggregated + */ + public function getRiskLevelAggregated() + { + if (array_key_exists("riskLevelAggregated", $this->_propDict)) { + if (is_a($this->_propDict["riskLevelAggregated"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevelAggregated"])) { + return $this->_propDict["riskLevelAggregated"]; + } else { + $this->_propDict["riskLevelAggregated"] = new RiskLevel($this->_propDict["riskLevelAggregated"]); + return $this->_propDict["riskLevelAggregated"]; + } + } + return null; + } + + /** + * Sets the riskLevelAggregated + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @param RiskLevel $val The riskLevelAggregated + * + * @return SignIn + */ + public function setRiskLevelAggregated($val) + { + $this->_propDict["riskLevelAggregated"] = $val; + return $this; + } + + /** + * Gets the riskLevelDuringSignIn + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @return RiskLevel|null The riskLevelDuringSignIn + */ + public function getRiskLevelDuringSignIn() + { + if (array_key_exists("riskLevelDuringSignIn", $this->_propDict)) { + if (is_a($this->_propDict["riskLevelDuringSignIn"], "\Beta\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevelDuringSignIn"])) { + return $this->_propDict["riskLevelDuringSignIn"]; + } else { + $this->_propDict["riskLevelDuringSignIn"] = new RiskLevel($this->_propDict["riskLevelDuringSignIn"]); + return $this->_propDict["riskLevelDuringSignIn"]; + } + } + return null; + } + + /** + * Sets the riskLevelDuringSignIn + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @param RiskLevel $val The riskLevelDuringSignIn + * + * @return SignIn + */ + public function setRiskLevelDuringSignIn($val) + { + $this->_propDict["riskLevelDuringSignIn"] = $val; + return $this; + } + + /** + * Gets the riskState + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * + * @param RiskState $val The riskState + * + * @return SignIn + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalCredentialKeyId + * The unique identifier of the key credential used by the service principal to authenticate. + * + * @return string|null The servicePrincipalCredentialKeyId + */ + public function getServicePrincipalCredentialKeyId() + { + if (array_key_exists("servicePrincipalCredentialKeyId", $this->_propDict)) { + return $this->_propDict["servicePrincipalCredentialKeyId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalCredentialKeyId + * The unique identifier of the key credential used by the service principal to authenticate. + * + * @param string $val The servicePrincipalCredentialKeyId + * + * @return SignIn + */ + public function setServicePrincipalCredentialKeyId($val) + { + $this->_propDict["servicePrincipalCredentialKeyId"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalCredentialThumbprint + * The certificate thumbprint of the certificate used by the service principal to authenticate. + * + * @return string|null The servicePrincipalCredentialThumbprint + */ + public function getServicePrincipalCredentialThumbprint() + { + if (array_key_exists("servicePrincipalCredentialThumbprint", $this->_propDict)) { + return $this->_propDict["servicePrincipalCredentialThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalCredentialThumbprint + * The certificate thumbprint of the certificate used by the service principal to authenticate. + * + * @param string $val The servicePrincipalCredentialThumbprint + * + * @return SignIn + */ + public function setServicePrincipalCredentialThumbprint($val) + { + $this->_propDict["servicePrincipalCredentialThumbprint"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalId + * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * + * @param string $val The servicePrincipalId + * + * @return SignIn + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalName + * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * + * @return string|null The servicePrincipalName + */ + public function getServicePrincipalName() + { + if (array_key_exists("servicePrincipalName", $this->_propDict)) { + return $this->_propDict["servicePrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalName + * The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq and startsWith operators only). + * + * @param string $val The servicePrincipalName + * + * @return SignIn + */ + public function setServicePrincipalName($val) + { + $this->_propDict["servicePrincipalName"] = $val; + return $this; + } + + + /** + * Gets the sessionLifetimePolicies + * Any conditional access session management policies that were applied during the sign-in event. + * + * @return array|null The sessionLifetimePolicies + */ + public function getSessionLifetimePolicies() + { + if (array_key_exists("sessionLifetimePolicies", $this->_propDict)) { + return $this->_propDict["sessionLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the sessionLifetimePolicies + * Any conditional access session management policies that were applied during the sign-in event. + * + * @param SessionLifetimePolicy[] $val The sessionLifetimePolicies + * + * @return SignIn + */ + public function setSessionLifetimePolicies($val) + { + $this->_propDict["sessionLifetimePolicies"] = $val; + return $this; + } + + /** + * Gets the signInEventTypes + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + * + * @return string|null The signInEventTypes + */ + public function getSignInEventTypes() + { + if (array_key_exists("signInEventTypes", $this->_propDict)) { + return $this->_propDict["signInEventTypes"]; + } else { + return null; + } + } + + /** + * Sets the signInEventTypes + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + * + * @param string $val The signInEventTypes + * + * @return SignIn + */ + public function setSignInEventTypes($val) + { + $this->_propDict["signInEventTypes"] = $val; + return $this; + } + + /** + * Gets the signInIdentifier + * The identification that the user provided to sign in. It may be the userPrincipalName but it's also populated when a user signs in using other identifiers. + * + * @return string|null The signInIdentifier + */ + public function getSignInIdentifier() + { + if (array_key_exists("signInIdentifier", $this->_propDict)) { + return $this->_propDict["signInIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the signInIdentifier + * The identification that the user provided to sign in. It may be the userPrincipalName but it's also populated when a user signs in using other identifiers. + * + * @param string $val The signInIdentifier + * + * @return SignIn + */ + public function setSignInIdentifier($val) + { + $this->_propDict["signInIdentifier"] = $val; + return $this; + } + + /** + * Gets the signInIdentifierType + * The type of sign in identifier. Possible values are: userPrincipalName, phoneNumber, proxyAddress, qrCode, onPremisesUserPrincipalName, unknownFutureValue. + * + * @return SignInIdentifierType|null The signInIdentifierType + */ + public function getSignInIdentifierType() + { + if (array_key_exists("signInIdentifierType", $this->_propDict)) { + if (is_a($this->_propDict["signInIdentifierType"], "\Beta\Microsoft\Graph\Model\SignInIdentifierType") || is_null($this->_propDict["signInIdentifierType"])) { + return $this->_propDict["signInIdentifierType"]; + } else { + $this->_propDict["signInIdentifierType"] = new SignInIdentifierType($this->_propDict["signInIdentifierType"]); + return $this->_propDict["signInIdentifierType"]; + } + } + return null; + } + + /** + * Sets the signInIdentifierType + * The type of sign in identifier. Possible values are: userPrincipalName, phoneNumber, proxyAddress, qrCode, onPremisesUserPrincipalName, unknownFutureValue. + * + * @param SignInIdentifierType $val The signInIdentifierType + * + * @return SignIn + */ + public function setSignInIdentifierType($val) + { + $this->_propDict["signInIdentifierType"] = $val; + return $this; + } + + /** + * Gets the status + * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * + * @return SignInStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SignInStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SignInStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * + * @param SignInStatus $val The status + * + * @return SignIn + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the tokenIssuerName + * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). + * + * @return string|null The tokenIssuerName + */ + public function getTokenIssuerName() + { + if (array_key_exists("tokenIssuerName", $this->_propDict)) { + return $this->_propDict["tokenIssuerName"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuerName + * The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). + * + * @param string $val The tokenIssuerName + * + * @return SignIn + */ + public function setTokenIssuerName($val) + { + $this->_propDict["tokenIssuerName"] = $val; + return $this; + } + + /** + * Gets the tokenIssuerType + * The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. + * + * @return TokenIssuerType|null The tokenIssuerType + */ + public function getTokenIssuerType() + { + if (array_key_exists("tokenIssuerType", $this->_propDict)) { + if (is_a($this->_propDict["tokenIssuerType"], "\Beta\Microsoft\Graph\Model\TokenIssuerType") || is_null($this->_propDict["tokenIssuerType"])) { + return $this->_propDict["tokenIssuerType"]; + } else { + $this->_propDict["tokenIssuerType"] = new TokenIssuerType($this->_propDict["tokenIssuerType"]); + return $this->_propDict["tokenIssuerType"]; + } + } + return null; + } + + /** + * Sets the tokenIssuerType + * The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. + * + * @param TokenIssuerType $val The tokenIssuerType + * + * @return SignIn + */ + public function setTokenIssuerType($val) + { + $this->_propDict["tokenIssuerType"] = $val; + return $this; + } + + /** + * Gets the uniqueTokenIdentifier + * A unique base64 encoded request identifier used to track tokens issued by Azure AD as they are redeemed at resource providers. + * + * @return string|null The uniqueTokenIdentifier + */ + public function getUniqueTokenIdentifier() + { + if (array_key_exists("uniqueTokenIdentifier", $this->_propDict)) { + return $this->_propDict["uniqueTokenIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the uniqueTokenIdentifier + * A unique base64 encoded request identifier used to track tokens issued by Azure AD as they are redeemed at resource providers. + * + * @param string $val The uniqueTokenIdentifier + * + * @return SignIn + */ + public function setUniqueTokenIdentifier($val) + { + $this->_propDict["uniqueTokenIdentifier"] = $val; + return $this; + } + + /** + * Gets the userAgent + * The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). + * + * @return string|null The userAgent + */ + public function getUserAgent() + { + if (array_key_exists("userAgent", $this->_propDict)) { + return $this->_propDict["userAgent"]; + } else { + return null; + } + } + + /** + * Sets the userAgent + * The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). + * + * @param string $val The userAgent + * + * @return SignIn + */ + public function setUserAgent($val) + { + $this->_propDict["userAgent"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * The display name of the user. Supports $filter (eq and startsWith operators only). + * + * @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 + * The display name of the user. Supports $filter (eq and startsWith operators only). + * + * @param string $val The userDisplayName + * + * @return SignIn + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userId + * The identifier of the user. Supports $filter (eq operator only). + * + * @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 + * The identifier of the user. Supports $filter (eq operator only). + * + * @param string $val The userId + * + * @return SignIn + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The UPN of the user. Supports $filter (eq and startsWith operators only). + * + * @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 + * The UPN of the user. Supports $filter (eq and startsWith operators only). + * + * @param string $val The userPrincipalName + * + * @return SignIn + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userType + * Identifies whether the user is a member or guest in the tenant. Possible values are: member, guest, unknownFutureValue. + * + * @return SignInUserType|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\SignInUserType") || is_null($this->_propDict["userType"])) { + return $this->_propDict["userType"]; + } else { + $this->_propDict["userType"] = new SignInUserType($this->_propDict["userType"]); + return $this->_propDict["userType"]; + } + } + return null; + } + + /** + * Sets the userType + * Identifies whether the user is a member or guest in the tenant. Possible values are: member, guest, unknownFutureValue. + * + * @param SignInUserType $val The userType + * + * @return SignIn + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAccessType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAccessType.php new file mode 100644 index 0000000..4138974 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAccessType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["lastNonInteractiveSignInDateTime"], "\DateTime") || is_null($this->_propDict["lastNonInteractiveSignInDateTime"])) { + return $this->_propDict["lastNonInteractiveSignInDateTime"]; + } else { + $this->_propDict["lastNonInteractiveSignInDateTime"] = new \DateTime($this->_propDict["lastNonInteractiveSignInDateTime"]); + return $this->_propDict["lastNonInteractiveSignInDateTime"]; + } + } + return null; + } + + /** + * Sets the lastNonInteractiveSignInDateTime + * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * + * @param \DateTime $val The value to assign to the lastNonInteractiveSignInDateTime + * + * @return SignInActivity The SignInActivity + */ + public function setLastNonInteractiveSignInDateTime($val) + { + $this->_propDict["lastNonInteractiveSignInDateTime"] = $val; + return $this; + } + /** + * Gets the lastNonInteractiveSignInRequestId + * Request identifier of the last non-interactive sign-in performed by this user. + * + * @return string|null The lastNonInteractiveSignInRequestId + */ + public function getLastNonInteractiveSignInRequestId() + { + if (array_key_exists("lastNonInteractiveSignInRequestId", $this->_propDict)) { + return $this->_propDict["lastNonInteractiveSignInRequestId"]; + } else { + return null; + } + } + + /** + * Sets the lastNonInteractiveSignInRequestId + * Request identifier of the last non-interactive sign-in performed by this user. + * + * @param string $val The value of the lastNonInteractiveSignInRequestId + * + * @return SignInActivity + */ + public function setLastNonInteractiveSignInRequestId($val) + { + $this->_propDict["lastNonInteractiveSignInRequestId"] = $val; + return $this; + } + + /** + * Gets the lastSignInDateTime + * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * + * @return \DateTime|null The lastSignInDateTime + */ + public function getLastSignInDateTime() + { + if (array_key_exists("lastSignInDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSignInDateTime"], "\DateTime") || is_null($this->_propDict["lastSignInDateTime"])) { + return $this->_propDict["lastSignInDateTime"]; + } else { + $this->_propDict["lastSignInDateTime"] = new \DateTime($this->_propDict["lastSignInDateTime"]); + return $this->_propDict["lastSignInDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSignInDateTime + * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * + * @param \DateTime $val The value to assign to the lastSignInDateTime + * + * @return SignInActivity The SignInActivity + */ + public function setLastSignInDateTime($val) + { + $this->_propDict["lastSignInDateTime"] = $val; + return $this; + } + /** + * Gets the lastSignInRequestId + * Request identifier of the last interactive sign-in performed by this user. + * + * @return string|null The lastSignInRequestId + */ + public function getLastSignInRequestId() + { + if (array_key_exists("lastSignInRequestId", $this->_propDict)) { + return $this->_propDict["lastSignInRequestId"]; + } else { + return null; + } + } + + /** + * Sets the lastSignInRequestId + * Request identifier of the last interactive sign-in performed by this user. + * + * @param string $val The value of the lastSignInRequestId + * + * @return SignInActivity + */ + public function setLastSignInRequestId($val) + { + $this->_propDict["lastSignInRequestId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAssistantOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAssistantOptions.php new file mode 100644 index 0000000..b6cadbc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAssistantOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationType"], "\Beta\Microsoft\Graph\Model\SignInFrequencyAuthenticationType") || is_null($this->_propDict["authenticationType"])) { + return $this->_propDict["authenticationType"]; + } else { + $this->_propDict["authenticationType"] = new SignInFrequencyAuthenticationType($this->_propDict["authenticationType"]); + return $this->_propDict["authenticationType"]; + } + } + return null; + } + + /** + * Sets the authenticationType + * + * @param SignInFrequencyAuthenticationType $val The value to assign to the authenticationType + * + * @return SignInFrequencySessionControl The SignInFrequencySessionControl + */ + public function setAuthenticationType($val) + { + $this->_propDict["authenticationType"] = $val; + return $this; + } + + /** + * Gets the frequencyInterval + * + * @return SignInFrequencyInterval|null The frequencyInterval + */ + public function getFrequencyInterval() + { + if (array_key_exists("frequencyInterval", $this->_propDict)) { + if (is_a($this->_propDict["frequencyInterval"], "\Beta\Microsoft\Graph\Model\SignInFrequencyInterval") || is_null($this->_propDict["frequencyInterval"])) { + return $this->_propDict["frequencyInterval"]; + } else { + $this->_propDict["frequencyInterval"] = new SignInFrequencyInterval($this->_propDict["frequencyInterval"]); + return $this->_propDict["frequencyInterval"]; + } + } + return null; + } + + /** + * Sets the frequencyInterval + * + * @param SignInFrequencyInterval $val The value to assign to the frequencyInterval + * + * @return SignInFrequencySessionControl The SignInFrequencySessionControl + */ + public function setFrequencyInterval($val) + { + $this->_propDict["frequencyInterval"] = $val; + return $this; + } + + /** + * Gets the type + * Possible values are: days, hours. + * + * @return SigninFrequencyType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\SigninFrequencyType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new SigninFrequencyType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Possible values are: days, hours. + * + * @param SigninFrequencyType $val The value to assign to the type + * + * @return SignInFrequencySessionControl The SignInFrequencySessionControl + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The number of days or hours. + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The number of days or hours. + * + * @param int $val The value of the value + * + * @return SignInFrequencySessionControl + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInIdentifierType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInIdentifierType.php new file mode 100644 index 0000000..556b31c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInIdentifierType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @param string $val The value of the city + * + * @return SignInLocation + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @param string $val The value of the countryOrRegion + * + * @return SignInLocation + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + + /** + * Gets the geoCoordinates + * Provides the latitude, longitude and altitude where the sign-in originated. + * + * @return GeoCoordinates|null The geoCoordinates + */ + public function getGeoCoordinates() + { + if (array_key_exists("geoCoordinates", $this->_propDict)) { + if (is_a($this->_propDict["geoCoordinates"], "\Beta\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["geoCoordinates"])) { + return $this->_propDict["geoCoordinates"]; + } else { + $this->_propDict["geoCoordinates"] = new GeoCoordinates($this->_propDict["geoCoordinates"]); + return $this->_propDict["geoCoordinates"]; + } + } + return null; + } + + /** + * Sets the geoCoordinates + * Provides the latitude, longitude and altitude where the sign-in originated. + * + * @param GeoCoordinates $val The value to assign to the geoCoordinates + * + * @return SignInLocation The SignInLocation + */ + public function setGeoCoordinates($val) + { + $this->_propDict["geoCoordinates"] = $val; + return $this; + } + /** + * Gets the state + * Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @param string $val The value of the state + * + * @return SignInLocation + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInStatus.php new file mode 100644 index 0000000..318dd3a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInStatus.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Provides additional details on the sign-in activity + * + * @param string $val The value of the additionalDetails + * + * @return SignInStatus + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + /** + * Gets the errorCode + * Provides the 5-6 digit error code that's generated during a sign-in failure. Check out the list of error codes and messages. + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Provides the 5-6 digit error code that's generated during a sign-in failure. Check out the list of error codes and messages. + * + * @param int $val The value of the errorCode + * + * @return SignInStatus + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the failureReason + * Provides the error message or the reason for failure for the corresponding sign-in activity. Check out the list of error codes and messages. + * + * @return string|null The failureReason + */ + public function getFailureReason() + { + if (array_key_exists("failureReason", $this->_propDict)) { + return $this->_propDict["failureReason"]; + } else { + return null; + } + } + + /** + * Sets the failureReason + * Provides the error message or the reason for failure for the corresponding sign-in activity. Check out the list of error codes and messages. + * + * @param string $val The value of the failureReason + * + * @return SignInStatus + */ + public function setFailureReason($val) + { + $this->_propDict["failureReason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInUserType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInUserType.php new file mode 100644 index 0000000..cac7120 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInUserType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["certificateUpdateResult"]; + } else { + return null; + } + } + + /** + * Sets the certificateUpdateResult + * Status of the last certificate update. Read-only. For a list of statuses, see certificateUpdateResult status. + * + * @param string $val The value of the certificateUpdateResult + * + * @return SigningCertificateUpdateStatus + */ + public function setCertificateUpdateResult($val) + { + $this->_propDict["certificateUpdateResult"] = $val; + return $this; + } + + /** + * Gets the lastRunDateTime + * Date and time in ISO 8601 format and in UTC time when the certificate was last updated. Read-only. + * + * @return \DateTime|null The lastRunDateTime + */ + public function getLastRunDateTime() + { + if (array_key_exists("lastRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRunDateTime"], "\DateTime") || is_null($this->_propDict["lastRunDateTime"])) { + return $this->_propDict["lastRunDateTime"]; + } else { + $this->_propDict["lastRunDateTime"] = new \DateTime($this->_propDict["lastRunDateTime"]); + return $this->_propDict["lastRunDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRunDateTime + * Date and time in ISO 8601 format and in UTC time when the certificate was last updated. Read-only. + * + * @param \DateTime $val The value to assign to the lastRunDateTime + * + * @return SigningCertificateUpdateStatus The SigningCertificateUpdateStatus + */ + public function setLastRunDateTime($val) + { + $this->_propDict["lastRunDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SigningResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SigningResult.php new file mode 100644 index 0000000..6228a31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SigningResult.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["signature"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["signature"])) { + return $this->_propDict["signature"]; + } else { + $this->_propDict["signature"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["signature"]); + return $this->_propDict["signature"]; + } + } + return null; + } + + /** + * Sets the signature + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the signature + * + * @return SigningResult The SigningResult + */ + public function setSignature($val) + { + $this->_propDict["signature"] = $val; + return $this; + } + /** + * Gets the signingKeyId + * + * @return string|null The signingKeyId + */ + public function getSigningKeyId() + { + if (array_key_exists("signingKeyId", $this->_propDict)) { + return $this->_propDict["signingKeyId"]; + } else { + return null; + } + } + + /** + * Sets the signingKeyId + * + * @param string $val The value of the signingKeyId + * + * @return SigningResult + */ + public function setSigningKeyId($val) + { + $this->_propDict["signingKeyId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Simulation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Simulation.php new file mode 100644 index 0000000..41407f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Simulation.php @@ -0,0 +1,506 @@ +_propDict)) { + if (is_a($this->_propDict["attackTechnique"], "\Beta\Microsoft\Graph\Model\SimulationAttackTechnique") || is_null($this->_propDict["attackTechnique"])) { + return $this->_propDict["attackTechnique"]; + } else { + $this->_propDict["attackTechnique"] = new SimulationAttackTechnique($this->_propDict["attackTechnique"]); + return $this->_propDict["attackTechnique"]; + } + } + return null; + } + + /** + * Sets the attackTechnique + * The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue. For more information on the types of social engineering attack techniques, see simulations. + * + * @param SimulationAttackTechnique $val The attackTechnique + * + * @return Simulation + */ + public function setAttackTechnique($val) + { + $this->_propDict["attackTechnique"] = $val; + return $this; + } + + /** + * Gets the attackType + * Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. + * + * @return SimulationAttackType|null The attackType + */ + public function getAttackType() + { + if (array_key_exists("attackType", $this->_propDict)) { + if (is_a($this->_propDict["attackType"], "\Beta\Microsoft\Graph\Model\SimulationAttackType") || is_null($this->_propDict["attackType"])) { + return $this->_propDict["attackType"]; + } else { + $this->_propDict["attackType"] = new SimulationAttackType($this->_propDict["attackType"]); + return $this->_propDict["attackType"]; + } + } + return null; + } + + /** + * Sets the attackType + * Attack type of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, social, cloud, endpoint, unknownFutureValue. + * + * @param SimulationAttackType $val The attackType + * + * @return Simulation + */ + public function setAttackType($val) + { + $this->_propDict["attackType"] = $val; + return $this; + } + + /** + * Gets the automationId + * Unique identifier for the attack simulation automation. + * + * @return string|null The automationId + */ + public function getAutomationId() + { + if (array_key_exists("automationId", $this->_propDict)) { + return $this->_propDict["automationId"]; + } else { + return null; + } + } + + /** + * Sets the automationId + * Unique identifier for the attack simulation automation. + * + * @param string $val The automationId + * + * @return Simulation + */ + public function setAutomationId($val) + { + $this->_propDict["automationId"] = $val; + return $this; + } + + /** + * Gets the completionDateTime + * Date and time of completion of the attack simulation and training campaign. Supports $filter and $orderby. + * + * @return \DateTime|null The completionDateTime + */ + public function getCompletionDateTime() + { + if (array_key_exists("completionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * Date and time of completion of the attack simulation and training campaign. Supports $filter and $orderby. + * + * @param \DateTime $val The completionDateTime + * + * @return Simulation + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user who created the attack simulation and training campaign. + * + * @return EmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who created the attack simulation and training campaign. + * + * @param EmailIdentity $val The createdBy + * + * @return Simulation + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of creation of the attack simulation and training campaign. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of creation of the attack simulation and training campaign. + * + * @param \DateTime $val The createdDateTime + * + * @return Simulation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the attack simulation and training campaign. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the attack simulation and training campaign. + * + * @param string $val The description + * + * @return Simulation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the attack simulation and training campaign. Supports $filter and $orderby. + * + * @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 + * Display name of the attack simulation and training campaign. Supports $filter and $orderby. + * + * @param string $val The displayName + * + * @return Simulation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isAutomated + * Flag representing if the attack simulation and training campaign was created from a simulation automation flow. Supports $filter and $orderby. + * + * @return bool|null The isAutomated + */ + public function getIsAutomated() + { + if (array_key_exists("isAutomated", $this->_propDict)) { + return $this->_propDict["isAutomated"]; + } else { + return null; + } + } + + /** + * Sets the isAutomated + * Flag representing if the attack simulation and training campaign was created from a simulation automation flow. Supports $filter and $orderby. + * + * @param bool $val The isAutomated + * + * @return Simulation + */ + public function setIsAutomated($val) + { + $this->_propDict["isAutomated"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user who most recently modified the attack simulation and training campaign. + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user who most recently modified the attack simulation and training campaign. + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return Simulation + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time of the most recent modification of the attack simulation and training campaign. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time of the most recent modification of the attack simulation and training campaign. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Simulation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the launchDateTime + * Date and time of the launch/start of the attack simulation and training campaign. Supports $filter and $orderby. + * + * @return \DateTime|null The launchDateTime + */ + public function getLaunchDateTime() + { + if (array_key_exists("launchDateTime", $this->_propDict)) { + if (is_a($this->_propDict["launchDateTime"], "\DateTime") || is_null($this->_propDict["launchDateTime"])) { + return $this->_propDict["launchDateTime"]; + } else { + $this->_propDict["launchDateTime"] = new \DateTime($this->_propDict["launchDateTime"]); + return $this->_propDict["launchDateTime"]; + } + } + return null; + } + + /** + * Sets the launchDateTime + * Date and time of the launch/start of the attack simulation and training campaign. Supports $filter and $orderby. + * + * @param \DateTime $val The launchDateTime + * + * @return Simulation + */ + public function setLaunchDateTime($val) + { + $this->_propDict["launchDateTime"] = $val; + return $this; + } + + /** + * Gets the payloadDeliveryPlatform + * Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue. + * + * @return PayloadDeliveryPlatform|null The payloadDeliveryPlatform + */ + public function getPayloadDeliveryPlatform() + { + if (array_key_exists("payloadDeliveryPlatform", $this->_propDict)) { + if (is_a($this->_propDict["payloadDeliveryPlatform"], "\Beta\Microsoft\Graph\Model\PayloadDeliveryPlatform") || is_null($this->_propDict["payloadDeliveryPlatform"])) { + return $this->_propDict["payloadDeliveryPlatform"]; + } else { + $this->_propDict["payloadDeliveryPlatform"] = new PayloadDeliveryPlatform($this->_propDict["payloadDeliveryPlatform"]); + return $this->_propDict["payloadDeliveryPlatform"]; + } + } + return null; + } + + /** + * Sets the payloadDeliveryPlatform + * Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue. + * + * @param PayloadDeliveryPlatform $val The payloadDeliveryPlatform + * + * @return Simulation + */ + public function setPayloadDeliveryPlatform($val) + { + $this->_propDict["payloadDeliveryPlatform"] = $val; + return $this; + } + + /** + * Gets the report + * Report of the attack simulation and training campaign. + * + * @return SimulationReport|null The report + */ + public function getReport() + { + if (array_key_exists("report", $this->_propDict)) { + if (is_a($this->_propDict["report"], "\Beta\Microsoft\Graph\Model\SimulationReport") || is_null($this->_propDict["report"])) { + return $this->_propDict["report"]; + } else { + $this->_propDict["report"] = new SimulationReport($this->_propDict["report"]); + return $this->_propDict["report"]; + } + } + return null; + } + + /** + * Sets the report + * Report of the attack simulation and training campaign. + * + * @param SimulationReport $val The report + * + * @return Simulation + */ + public function setReport($val) + { + $this->_propDict["report"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. + * + * @return SimulationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SimulationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. + * + * @param SimulationStatus $val The status + * + * @return Simulation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAttackTechnique.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAttackTechnique.php new file mode 100644 index 0000000..99dd306 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAttackTechnique.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who created the attack simulation automation. + * + * @param EmailIdentity $val The createdBy + * + * @return SimulationAutomation + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time when the attack simulation automation was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time when the attack simulation automation was created. + * + * @param \DateTime $val The createdDateTime + * + * @return SimulationAutomation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the attack simulation automation. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the attack simulation automation. + * + * @param string $val The description + * + * @return SimulationAutomation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the attack simulation automation. Supports $filter and $orderby. + * + * @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 + * Display name of the attack simulation automation. Supports $filter and $orderby. + * + * @param string $val The displayName + * + * @return SimulationAutomation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user who most recently modified the attack simulation automation. + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user who most recently modified the attack simulation automation. + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return SimulationAutomation + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time when the attack simulation automation was most recently modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time when the attack simulation automation was most recently modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SimulationAutomation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastRunDateTime + * Date and time of the latest run of the attack simulation automation. + * + * @return \DateTime|null The lastRunDateTime + */ + public function getLastRunDateTime() + { + if (array_key_exists("lastRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRunDateTime"], "\DateTime") || is_null($this->_propDict["lastRunDateTime"])) { + return $this->_propDict["lastRunDateTime"]; + } else { + $this->_propDict["lastRunDateTime"] = new \DateTime($this->_propDict["lastRunDateTime"]); + return $this->_propDict["lastRunDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRunDateTime + * Date and time of the latest run of the attack simulation automation. + * + * @param \DateTime $val The lastRunDateTime + * + * @return SimulationAutomation + */ + public function setLastRunDateTime($val) + { + $this->_propDict["lastRunDateTime"] = $val; + return $this; + } + + /** + * Gets the nextRunDateTime + * Date and time of the upcoming run of the attack simulation automation. + * + * @return \DateTime|null The nextRunDateTime + */ + public function getNextRunDateTime() + { + if (array_key_exists("nextRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["nextRunDateTime"], "\DateTime") || is_null($this->_propDict["nextRunDateTime"])) { + return $this->_propDict["nextRunDateTime"]; + } else { + $this->_propDict["nextRunDateTime"] = new \DateTime($this->_propDict["nextRunDateTime"]); + return $this->_propDict["nextRunDateTime"]; + } + } + return null; + } + + /** + * Sets the nextRunDateTime + * Date and time of the upcoming run of the attack simulation automation. + * + * @param \DateTime $val The nextRunDateTime + * + * @return SimulationAutomation + */ + public function setNextRunDateTime($val) + { + $this->_propDict["nextRunDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the attack simulation automation. Supports $filter and $orderby. The possible values are: unknown, draft, notRunning, running, completed, unknownFutureValue. + * + * @return SimulationAutomationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SimulationAutomationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationAutomationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the attack simulation automation. Supports $filter and $orderby. The possible values are: unknown, draft, notRunning, running, completed, unknownFutureValue. + * + * @param SimulationAutomationStatus $val The status + * + * @return SimulationAutomation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the runs + * A collection of simulation automation runs. + * + * @return array|null The runs + */ + public function getRuns() + { + if (array_key_exists("runs", $this->_propDict)) { + return $this->_propDict["runs"]; + } else { + return null; + } + } + + /** + * Sets the runs + * A collection of simulation automation runs. + * + * @param SimulationAutomationRun[] $val The runs + * + * @return SimulationAutomation + */ + public function setRuns($val) + { + $this->_propDict["runs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAutomationRun.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAutomationRun.php new file mode 100644 index 0000000..5295963 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAutomationRun.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Date and time when the run ends in an attack simulation automation. + * + * @param \DateTime $val The endDateTime + * + * @return SimulationAutomationRun + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the simulationId + * Unique identifier for the attack simulation campaign initiated in the attack simulation automation run. + * + * @return string|null The simulationId + */ + public function getSimulationId() + { + if (array_key_exists("simulationId", $this->_propDict)) { + return $this->_propDict["simulationId"]; + } else { + return null; + } + } + + /** + * Sets the simulationId + * Unique identifier for the attack simulation campaign initiated in the attack simulation automation run. + * + * @param string $val The simulationId + * + * @return SimulationAutomationRun + */ + public function setSimulationId($val) + { + $this->_propDict["simulationId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Date and time when the run starts in an attack simulation automation. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Date and time when the run starts in an attack simulation automation. + * + * @param \DateTime $val The startDateTime + * + * @return SimulationAutomationRun + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the run of an attack simulation automation. The possible values are: unknown, running, succeeded, failed, skipped, unknownFutureValue. + * + * @return SimulationAutomationRunStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SimulationAutomationRunStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationAutomationRunStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the run of an attack simulation automation. The possible values are: unknown, running, succeeded, failed, skipped, unknownFutureValue. + * + * @param SimulationAutomationRunStatus $val The status + * + * @return SimulationAutomationRun + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAutomationRunStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAutomationRunStatus.php new file mode 100644 index 0000000..613d1d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationAutomationRunStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * Count of occurence of the simulation event in an attack simulation and training campaign. + * + * @param int $val The value of the count + * + * @return SimulationEvent + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + /** + * Gets the eventName + * Name of the simulation event in an attack simulation and training campaign. + * + * @return string|null The eventName + */ + public function getEventName() + { + if (array_key_exists("eventName", $this->_propDict)) { + return $this->_propDict["eventName"]; + } else { + return null; + } + } + + /** + * Sets the eventName + * Name of the simulation event in an attack simulation and training campaign. + * + * @param string $val The value of the eventName + * + * @return SimulationEvent + */ + public function setEventName($val) + { + $this->_propDict["eventName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationEventsContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationEventsContent.php new file mode 100644 index 0000000..b707e5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationEventsContent.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["compromisedRate"]; + } else { + return null; + } + } + + /** + * Sets the compromisedRate + * Actual percentage of users who fell for the simulated attack in an attack simulation and training campaign. + * + * @param float $val The value of the compromisedRate + * + * @return SimulationEventsContent + */ + public function setCompromisedRate($val) + { + $this->_propDict["compromisedRate"] = $val; + return $this; + } + + /** + * Gets the events + * List of simulation events in an attack simulation and training campaign. + * + * @return SimulationEvent|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + if (is_a($this->_propDict["events"], "\Beta\Microsoft\Graph\Model\SimulationEvent") || is_null($this->_propDict["events"])) { + return $this->_propDict["events"]; + } else { + $this->_propDict["events"] = new SimulationEvent($this->_propDict["events"]); + return $this->_propDict["events"]; + } + } + return null; + } + + /** + * Sets the events + * List of simulation events in an attack simulation and training campaign. + * + * @param SimulationEvent $val The value to assign to the events + * + * @return SimulationEventsContent The SimulationEventsContent + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationReport.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationReport.php new file mode 100644 index 0000000..728e6a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationReport.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["overview"], "\Beta\Microsoft\Graph\Model\SimulationReportOverview") || is_null($this->_propDict["overview"])) { + return $this->_propDict["overview"]; + } else { + $this->_propDict["overview"] = new SimulationReportOverview($this->_propDict["overview"]); + return $this->_propDict["overview"]; + } + } + return null; + } + + /** + * Sets the overview + * Overview of an attack simulation and training campaign. + * + * @param SimulationReportOverview $val The value to assign to the overview + * + * @return SimulationReport The SimulationReport + */ + public function setOverview($val) + { + $this->_propDict["overview"] = $val; + return $this; + } + + /** + * Gets the simulationUsers + * Represents users of a tenant and their online actions in an attack simulation and training campaign. + * + * @return UserSimulationDetails|null The simulationUsers + */ + public function getSimulationUsers() + { + if (array_key_exists("simulationUsers", $this->_propDict)) { + if (is_a($this->_propDict["simulationUsers"], "\Beta\Microsoft\Graph\Model\UserSimulationDetails") || is_null($this->_propDict["simulationUsers"])) { + return $this->_propDict["simulationUsers"]; + } else { + $this->_propDict["simulationUsers"] = new UserSimulationDetails($this->_propDict["simulationUsers"]); + return $this->_propDict["simulationUsers"]; + } + } + return null; + } + + /** + * Sets the simulationUsers + * Represents users of a tenant and their online actions in an attack simulation and training campaign. + * + * @param UserSimulationDetails $val The value to assign to the simulationUsers + * + * @return SimulationReport The SimulationReport + */ + public function setSimulationUsers($val) + { + $this->_propDict["simulationUsers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationReportOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationReportOverview.php new file mode 100644 index 0000000..5c86cfe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationReportOverview.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["recommendedActions"], "\Beta\Microsoft\Graph\Model\RecommendedAction") || is_null($this->_propDict["recommendedActions"])) { + return $this->_propDict["recommendedActions"]; + } else { + $this->_propDict["recommendedActions"] = new RecommendedAction($this->_propDict["recommendedActions"]); + return $this->_propDict["recommendedActions"]; + } + } + return null; + } + + /** + * Sets the recommendedActions + * List of recommended actions for a tenant to improve its security posture based on the attack simulation and training campaign attack type. + * + * @param RecommendedAction $val The value to assign to the recommendedActions + * + * @return SimulationReportOverview The SimulationReportOverview + */ + public function setRecommendedActions($val) + { + $this->_propDict["recommendedActions"] = $val; + return $this; + } + /** + * Gets the resolvedTargetsCount + * Number of valid users in the attack simulation and training campaign. + * + * @return int|null The resolvedTargetsCount + */ + public function getResolvedTargetsCount() + { + if (array_key_exists("resolvedTargetsCount", $this->_propDict)) { + return $this->_propDict["resolvedTargetsCount"]; + } else { + return null; + } + } + + /** + * Sets the resolvedTargetsCount + * Number of valid users in the attack simulation and training campaign. + * + * @param int $val The value of the resolvedTargetsCount + * + * @return SimulationReportOverview + */ + public function setResolvedTargetsCount($val) + { + $this->_propDict["resolvedTargetsCount"] = $val; + return $this; + } + + /** + * Gets the simulationEventsContent + * Summary of simulation events in the attack simulation and training campaign. + * + * @return SimulationEventsContent|null The simulationEventsContent + */ + public function getSimulationEventsContent() + { + if (array_key_exists("simulationEventsContent", $this->_propDict)) { + if (is_a($this->_propDict["simulationEventsContent"], "\Beta\Microsoft\Graph\Model\SimulationEventsContent") || is_null($this->_propDict["simulationEventsContent"])) { + return $this->_propDict["simulationEventsContent"]; + } else { + $this->_propDict["simulationEventsContent"] = new SimulationEventsContent($this->_propDict["simulationEventsContent"]); + return $this->_propDict["simulationEventsContent"]; + } + } + return null; + } + + /** + * Sets the simulationEventsContent + * Summary of simulation events in the attack simulation and training campaign. + * + * @param SimulationEventsContent $val The value to assign to the simulationEventsContent + * + * @return SimulationReportOverview The SimulationReportOverview + */ + public function setSimulationEventsContent($val) + { + $this->_propDict["simulationEventsContent"] = $val; + return $this; + } + + /** + * Gets the trainingEventsContent + * Summary of assigned trainings in the attack simulation and training campaign. + * + * @return TrainingEventsContent|null The trainingEventsContent + */ + public function getTrainingEventsContent() + { + if (array_key_exists("trainingEventsContent", $this->_propDict)) { + if (is_a($this->_propDict["trainingEventsContent"], "\Beta\Microsoft\Graph\Model\TrainingEventsContent") || is_null($this->_propDict["trainingEventsContent"])) { + return $this->_propDict["trainingEventsContent"]; + } else { + $this->_propDict["trainingEventsContent"] = new TrainingEventsContent($this->_propDict["trainingEventsContent"]); + return $this->_propDict["trainingEventsContent"]; + } + } + return null; + } + + /** + * Sets the trainingEventsContent + * Summary of assigned trainings in the attack simulation and training campaign. + * + * @param TrainingEventsContent $val The value to assign to the trainingEventsContent + * + * @return SimulationReportOverview The SimulationReportOverview + */ + public function setTrainingEventsContent($val) + { + $this->_propDict["trainingEventsContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationStatus.php new file mode 100644 index 0000000..86843d2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SimulationStatus.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The name of the user in Azure AD. Read only. + * + * @param string $val The value of the description + * + * @return SingleUser + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the id + * The ID of the user in Azure AD. + * + * @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 + * The ID of the user in Azure AD. + * + * @param string $val The value of the id + * + * @return SingleUser + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SingleValueLegacyExtendedProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SingleValueLegacyExtendedProperty.php new file mode 100644 index 0000000..6e66aad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SingleValueLegacyExtendedProperty.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * A property value. + * + * @param string $val The value + * + * @return SingleValueLegacyExtendedProperty + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Site.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Site.php new file mode 100644 index 0000000..2b4c09e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Site.php @@ -0,0 +1,651 @@ +_propDict)) { + if (is_a($this->_propDict["deleted"], "\Beta\Microsoft\Graph\Model\Deleted") || is_null($this->_propDict["deleted"])) { + return $this->_propDict["deleted"]; + } else { + $this->_propDict["deleted"] = new Deleted($this->_propDict["deleted"]); + return $this->_propDict["deleted"]; + } + } + return null; + } + + /** + * Sets the deleted + * + * @param Deleted $val The deleted + * + * @return Site + */ + public function setDeleted($val) + { + $this->_propDict["deleted"] = $val; + return $this; + } + + /** + * Gets the displayName + * The full title for the site. Read-only. + * + * @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 + * The full title for the site. Read-only. + * + * @param string $val The displayName + * + * @return Site + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the root + * If present, indicates that this is the root site in the site collection. Read-only. + * + * @return Root|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new Root($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * If present, indicates that this is the root site in the site collection. Read-only. + * + * @param Root $val The root + * + * @return Site + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings on this site. Read-only. + * + * @return SiteSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\SiteSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new SiteSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings on this site. Read-only. + * + * @param SiteSettings $val The settings + * + * @return Site + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return Site + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the siteCollection + * Provides details about the site's site collection. Available only on the root site. Read-only. + * + * @return SiteCollection|null The siteCollection + */ + public function getSiteCollection() + { + if (array_key_exists("siteCollection", $this->_propDict)) { + if (is_a($this->_propDict["siteCollection"], "\Beta\Microsoft\Graph\Model\SiteCollection") || is_null($this->_propDict["siteCollection"])) { + return $this->_propDict["siteCollection"]; + } else { + $this->_propDict["siteCollection"] = new SiteCollection($this->_propDict["siteCollection"]); + return $this->_propDict["siteCollection"]; + } + } + return null; + } + + /** + * Sets the siteCollection + * Provides details about the site's site collection. Available only on the root site. Read-only. + * + * @param SiteCollection $val The siteCollection + * + * @return Site + */ + public function setSiteCollection($val) + { + $this->_propDict["siteCollection"] = $val; + return $this; + } + + /** + * Gets the analytics + * Analytics about the view activities that took place in this site. + * + * @return ItemAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * Analytics about the view activities that took place in this site. + * + * @param ItemAnalytics $val The analytics + * + * @return Site + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + + /** + * Gets the columns + * The collection of column definitions reusable across lists under this site. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * The collection of column definitions reusable across lists under this site. + * + * @param ColumnDefinition[] $val The columns + * + * @return Site + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + + /** + * Gets the contentTypes + * The collection of content types defined for this site. + * + * @return array|null The contentTypes + */ + public function getContentTypes() + { + if (array_key_exists("contentTypes", $this->_propDict)) { + return $this->_propDict["contentTypes"]; + } else { + return null; + } + } + + /** + * Sets the contentTypes + * The collection of content types defined for this site. + * + * @param ContentType[] $val The contentTypes + * + * @return Site + */ + public function setContentTypes($val) + { + $this->_propDict["contentTypes"] = $val; + return $this; + } + + /** + * Gets the drive + * The default drive (document library) for this site. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * The default drive (document library) for this site. + * + * @param Drive $val The drive + * + * @return Site + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the drives + * The collection of drives (document libraries) under this site. + * + * @return array|null The drives + */ + public function getDrives() + { + if (array_key_exists("drives", $this->_propDict)) { + return $this->_propDict["drives"]; + } else { + return null; + } + } + + /** + * Sets the drives + * The collection of drives (document libraries) under this site. + * + * @param Drive[] $val The drives + * + * @return Site + */ + public function setDrives($val) + { + $this->_propDict["drives"] = $val; + return $this; + } + + + /** + * Gets the externalColumns + * The collection of column definitions available in the site that are referenced from the sites in the parent hierarchy of the current site. + * + * @return array|null The externalColumns + */ + public function getExternalColumns() + { + if (array_key_exists("externalColumns", $this->_propDict)) { + return $this->_propDict["externalColumns"]; + } else { + return null; + } + } + + /** + * Sets the externalColumns + * The collection of column definitions available in the site that are referenced from the sites in the parent hierarchy of the current site. + * + * @param ColumnDefinition[] $val The externalColumns + * + * @return Site + */ + public function setExternalColumns($val) + { + $this->_propDict["externalColumns"] = $val; + return $this; + } + + + /** + * Gets the items + * Used to address any item contained in this site. This collection cannot be enumerated. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Used to address any item contained in this site. This collection cannot be enumerated. + * + * @param BaseItem[] $val The items + * + * @return Site + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the lists + * The collection of lists under this site. + * + * @return array|null The lists + */ + public function getLists() + { + if (array_key_exists("lists", $this->_propDict)) { + return $this->_propDict["lists"]; + } else { + return null; + } + } + + /** + * Sets the lists + * The collection of lists under this site. + * + * @param GraphList[] $val The lists + * + * @return Site + */ + public function setLists($val) + { + $this->_propDict["lists"] = $val; + return $this; + } + + + /** + * Gets the operations + * The collection of long running operations for the site. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The collection of long running operations for the site. + * + * @param RichLongRunningOperation[] $val The operations + * + * @return Site + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the pages + * The collection of pages in the SitePages list in this site. + * + * @return array|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + return $this->_propDict["pages"]; + } else { + return null; + } + } + + /** + * Sets the pages + * The collection of pages in the SitePages list in this site. + * + * @param SitePage[] $val The pages + * + * @return Site + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } + + + /** + * Gets the permissions + * The permissions associated with the site. Nullable. + * + * @return array|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * The permissions associated with the site. Nullable. + * + * @param Permission[] $val The permissions + * + * @return Site + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + + /** + * Gets the sites + * The collection of the sub-sites under this site. + * + * @return array|null The sites + */ + public function getSites() + { + if (array_key_exists("sites", $this->_propDict)) { + return $this->_propDict["sites"]; + } else { + return null; + } + } + + /** + * Sets the sites + * The collection of the sub-sites under this site. + * + * @param Site[] $val The sites + * + * @return Site + */ + public function setSites($val) + { + $this->_propDict["sites"] = $val; + return $this; + } + + /** + * Gets the termStore + * The termStore under this site. + * + * @return \Beta\Microsoft\Graph\TermStore\Model\Store|null The termStore + */ + public function getTermStore() + { + if (array_key_exists("termStore", $this->_propDict)) { + if (is_a($this->_propDict["termStore"], "\Beta\Microsoft\Graph\TermStore\Model\Store") || is_null($this->_propDict["termStore"])) { + return $this->_propDict["termStore"]; + } else { + $this->_propDict["termStore"] = new \Beta\Microsoft\Graph\TermStore\Model\Store($this->_propDict["termStore"]); + return $this->_propDict["termStore"]; + } + } + return null; + } + + /** + * Sets the termStore + * The termStore under this site. + * + * @param \Beta\Microsoft\Graph\TermStore\Model\Store $val The termStore + * + * @return Site + */ + public function setTermStore($val) + { + $this->_propDict["termStore"] = $val; + return $this; + } + + /** + * Gets the onenote + * Calls the OneNote service for notebook related operations. + * + * @return Onenote|null The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "\Beta\Microsoft\Graph\Model\Onenote") || is_null($this->_propDict["onenote"])) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Calls the OneNote service for notebook related operations. + * + * @param Onenote $val The onenote + * + * @return Site + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteAccessType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteAccessType.php new file mode 100644 index 0000000..507da85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteAccessType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["dataLocationCode"]; + } else { + return null; + } + } + + /** + * Sets the dataLocationCode + * The geographic region code for where this site collection resides. Read-only. + * + * @param string $val The value of the dataLocationCode + * + * @return SiteCollection + */ + public function setDataLocationCode($val) + { + $this->_propDict["dataLocationCode"] = $val; + return $this; + } + /** + * Gets the hostname + * The hostname for the site collection. Read-only. + * + * @return string|null The hostname + */ + public function getHostname() + { + if (array_key_exists("hostname", $this->_propDict)) { + return $this->_propDict["hostname"]; + } else { + return null; + } + } + + /** + * Sets the hostname + * The hostname for the site collection. Read-only. + * + * @param string $val The value of the hostname + * + * @return SiteCollection + */ + public function setHostname($val) + { + $this->_propDict["hostname"] = $val; + return $this; + } + + /** + * Gets the root + * If present, indicates that this is a root site collection in SharePoint. Read-only. + * + * @return Root|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new Root($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * If present, indicates that this is a root site collection in SharePoint. Read-only. + * + * @param Root $val The value to assign to the root + * + * @return SiteCollection The SiteCollection + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePage.php new file mode 100644 index 0000000..5aed4cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePage.php @@ -0,0 +1,173 @@ +_propDict)) { + if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The content type of the page. + * + * @param ContentTypeInfo $val The contentType + * + * @return SitePage + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the pageLayoutType + * + * @return string|null The pageLayoutType + */ + public function getPageLayoutType() + { + if (array_key_exists("pageLayoutType", $this->_propDict)) { + return $this->_propDict["pageLayoutType"]; + } else { + return null; + } + } + + /** + * Sets the pageLayoutType + * + * @param string $val The pageLayoutType + * + * @return SitePage + */ + public function setPageLayoutType($val) + { + $this->_propDict["pageLayoutType"] = $val; + return $this; + } + + /** + * Gets the publishingState + * + * @return PublicationFacet|null The publishingState + */ + public function getPublishingState() + { + if (array_key_exists("publishingState", $this->_propDict)) { + if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publishingState"])) { + return $this->_propDict["publishingState"]; + } else { + $this->_propDict["publishingState"] = new PublicationFacet($this->_propDict["publishingState"]); + return $this->_propDict["publishingState"]; + } + } + return null; + } + + /** + * Sets the publishingState + * + * @param PublicationFacet $val The publishingState + * + * @return SitePage + */ + public function setPublishingState($val) + { + $this->_propDict["publishingState"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return SitePage + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the webParts + * + * @return array|null The webParts + */ + public function getWebParts() + { + if (array_key_exists("webParts", $this->_propDict)) { + return $this->_propDict["webParts"]; + } else { + return null; + } + } + + /** + * Sets the webParts + * + * @param WebPart[] $val The webParts + * + * @return SitePage + */ + public function setWebParts($val) + { + $this->_propDict["webParts"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePageData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePageData.php new file mode 100644 index 0000000..3d09ce7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePageData.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the language used on this site. + * + * @param string $val The value of the languageTag + * + * @return SiteSettings + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + /** + * Gets the timeZone + * Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC). + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC). + * + * @param string $val The value of the timeZone + * + * @return SiteSettings + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SizeRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SizeRange.php new file mode 100644 index 0000000..16d3d2d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SizeRange.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["maximumSize"]; + } else { + return null; + } + } + + /** + * Sets the maximumSize + * The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + * + * @param int $val The value of the maximumSize + * + * @return SizeRange + */ + public function setMaximumSize($val) + { + $this->_propDict["maximumSize"] = $val; + return $this; + } + /** + * Gets the minimumSize + * The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + * + * @return int|null The minimumSize + */ + public function getMinimumSize() + { + if (array_key_exists("minimumSize", $this->_propDict)) { + return $this->_propDict["minimumSize"]; + } else { + return null; + } + } + + /** + * Sets the minimumSize + * The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + * + * @param int $val The value of the minimumSize + * + * @return SizeRange + */ + public function setMinimumSize($val) + { + $this->_propDict["minimumSize"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiency.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiency.php new file mode 100644 index 0000000..b10b543 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiency.php @@ -0,0 +1,203 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Contains categories a user has associated with the skill (for example, personal, professional, hobby). + * + * @param string $val The categories + * + * @return SkillProficiency + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @return string|null The collaborationTags + */ + public function getCollaborationTags() + { + if (array_key_exists("collaborationTags", $this->_propDict)) { + return $this->_propDict["collaborationTags"]; + } else { + return null; + } + } + + /** + * Sets the collaborationTags + * Contains experience scenario tags a user has associated with the interest. Allowed values in the collection are: askMeAbout, ableToMentor, wantsToLearn, wantsToImprove. + * + * @param string $val The collaborationTags + * + * @return SkillProficiency + */ + public function setCollaborationTags($val) + { + $this->_propDict["collaborationTags"] = $val; + return $this; + } + + /** + * Gets the displayName + * Contains a friendly name for the skill. + * + * @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 + * Contains a friendly name for the skill. + * + * @param string $val The displayName + * + * @return SkillProficiency + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the proficiency + * Detail of the users proficiency with this skill. Possible values are: elementary, limitedWorking, generalProfessional, advancedProfessional, expert, unknownFutureValue. + * + * @return SkillProficiencyLevel|null The proficiency + */ + public function getProficiency() + { + if (array_key_exists("proficiency", $this->_propDict)) { + if (is_a($this->_propDict["proficiency"], "\Beta\Microsoft\Graph\Model\SkillProficiencyLevel") || is_null($this->_propDict["proficiency"])) { + return $this->_propDict["proficiency"]; + } else { + $this->_propDict["proficiency"] = new SkillProficiencyLevel($this->_propDict["proficiency"]); + return $this->_propDict["proficiency"]; + } + } + return null; + } + + /** + * Sets the proficiency + * Detail of the users proficiency with this skill. Possible values are: elementary, limitedWorking, generalProfessional, advancedProfessional, expert, unknownFutureValue. + * + * @param SkillProficiencyLevel $val The proficiency + * + * @return SkillProficiency + */ + public function setProficiency($val) + { + $this->_propDict["proficiency"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return SkillProficiency + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Contains a link to an information source about the skill. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Contains a link to an information source about the skill. + * + * @param string $val The webUrl + * + * @return SkillProficiency + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiencyLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiencyLevel.php new file mode 100644 index 0000000..895b895 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiencyLevel.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * ID of the tenant that the user belongs to. + * + * @param string $val The tenantId + * + * @return SkypeForBusinessUserConversationMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user. + * + * @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 + * ID of the user. + * + * @param string $val The userId + * + * @return SkypeForBusinessUserConversationMember + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeUserConversationMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeUserConversationMember.php new file mode 100644 index 0000000..15caeac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeUserConversationMember.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["skypeId"]; + } else { + return null; + } + } + + /** + * Sets the skypeId + * Skype ID of the user. + * + * @param string $val The skypeId + * + * @return SkypeUserConversationMember + */ + public function setSkypeId($val) + { + $this->_propDict["skypeId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..7add262 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param SmsAuthenticationMethodTarget[] $val The includeTargets + * + * @return SmsAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodTarget.php new file mode 100644 index 0000000..a9dddb3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodTarget.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["isUsableForSignIn"]; + } else { + return null; + } + } + + /** + * Sets the isUsableForSignIn + * Determines if the users or groups can use this authentication method to sign in to Azure AD. The value is always true. + * + * @param bool $val The isUsableForSignIn + * + * @return SmsAuthenticationMethodTarget + */ + public function setIsUsableForSignIn($val) + { + $this->_propDict["isUsableForSignIn"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php new file mode 100644 index 0000000..8b573e0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SocialIdentityProvider.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The client identifier for the application obtained when registering the application with the identity provider. Required. + * + * @param string $val The clientId + * + * @return SocialIdentityProvider + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the clientSecret + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * + * @param string $val The clientSecret + * + * @return SocialIdentityProvider + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } + + /** + * Gets the identityProviderType + * For a B2B scenario, possible values: Google, Facebook. For a B2C scenario, possible values: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat. Required. + * + * @return string|null The identityProviderType + */ + public function getIdentityProviderType() + { + if (array_key_exists("identityProviderType", $this->_propDict)) { + return $this->_propDict["identityProviderType"]; + } else { + return null; + } + } + + /** + * Sets the identityProviderType + * For a B2B scenario, possible values: Google, Facebook. For a B2C scenario, possible values: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat. Required. + * + * @param string $val The identityProviderType + * + * @return SocialIdentityProvider + */ + public function setIdentityProviderType($val) + { + $this->_propDict["identityProviderType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareOathAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareOathAuthenticationMethod.php new file mode 100644 index 0000000..13fe329 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareOathAuthenticationMethod.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["secretKey"]; + } else { + return null; + } + } + + /** + * Sets the secretKey + * The secret key of the method. Always returns null. + * + * @param string $val The secretKey + * + * @return SoftwareOathAuthenticationMethod + */ + public function setSecretKey($val) + { + $this->_propDict["secretKey"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareUpdateStatusSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareUpdateStatusSummary.php new file mode 100644 index 0000000..3779706 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareUpdateStatusSummary.php @@ -0,0 +1,462 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices. + * + * @param int $val The compliantDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the compliantUserCount + * Number of compliant users. + * + * @return int|null The compliantUserCount + */ + public function getCompliantUserCount() + { + if (array_key_exists("compliantUserCount", $this->_propDict)) { + return $this->_propDict["compliantUserCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantUserCount + * Number of compliant users. + * + * @param int $val The compliantUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setCompliantUserCount($val) + { + $this->_propDict["compliantUserCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices. + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices. + * + * @param int $val The conflictDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictUserCount + * Number of conflict users. + * + * @return int|null The conflictUserCount + */ + public function getConflictUserCount() + { + if (array_key_exists("conflictUserCount", $this->_propDict)) { + return $this->_propDict["conflictUserCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictUserCount + * Number of conflict users. + * + * @param int $val The conflictUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setConflictUserCount($val) + { + $this->_propDict["conflictUserCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The name of the policy. + * + * @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 + * The name of the policy. + * + * @param string $val The displayName + * + * @return SoftwareUpdateStatusSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of devices had error. + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of devices had error. + * + * @param int $val The errorDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorUserCount + * Number of users had error. + * + * @return int|null The errorUserCount + */ + public function getErrorUserCount() + { + if (array_key_exists("errorUserCount", $this->_propDict)) { + return $this->_propDict["errorUserCount"]; + } else { + return null; + } + } + + /** + * Sets the errorUserCount + * Number of users had error. + * + * @param int $val The errorUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setErrorUserCount($val) + { + $this->_propDict["errorUserCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of non compliant devices. + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of non compliant devices. + * + * @param int $val The nonCompliantDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantUserCount + * Number of non compliant users. + * + * @return int|null The nonCompliantUserCount + */ + public function getNonCompliantUserCount() + { + if (array_key_exists("nonCompliantUserCount", $this->_propDict)) { + return $this->_propDict["nonCompliantUserCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantUserCount + * Number of non compliant users. + * + * @param int $val The nonCompliantUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNonCompliantUserCount($val) + { + $this->_propDict["nonCompliantUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices. + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices. + * + * @param int $val The notApplicableDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableUserCount + * Number of not applicable users. + * + * @return int|null The notApplicableUserCount + */ + public function getNotApplicableUserCount() + { + if (array_key_exists("notApplicableUserCount", $this->_propDict)) { + return $this->_propDict["notApplicableUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableUserCount + * Number of not applicable users. + * + * @param int $val The notApplicableUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNotApplicableUserCount($val) + { + $this->_propDict["notApplicableUserCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices. + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices. + * + * @param int $val The remediatedDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedUserCount + * Number of remediated users. + * + * @return int|null The remediatedUserCount + */ + public function getRemediatedUserCount() + { + if (array_key_exists("remediatedUserCount", $this->_propDict)) { + return $this->_propDict["remediatedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedUserCount + * Number of remediated users. + * + * @param int $val The remediatedUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setRemediatedUserCount($val) + { + $this->_propDict["remediatedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices. + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices. + * + * @param int $val The unknownDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownUserCount + * Number of unknown users. + * + * @return int|null The unknownUserCount + */ + public function getUnknownUserCount() + { + if (array_key_exists("unknownUserCount", $this->_propDict)) { + return $this->_propDict["unknownUserCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownUserCount + * Number of unknown users. + * + * @param int $val The unknownUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setUnknownUserCount($val) + { + $this->_propDict["unknownUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SortProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SortProperty.php new file mode 100644 index 0000000..0bb7bf4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SortProperty.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isDescending"]; + } else { + return null; + } + } + + /** + * Sets the isDescending + * True if the sort order is descending. Default is false, with the sort order as ascending. Optional. + * + * @param bool $val The value of the isDescending + * + * @return SortProperty + */ + public function setIsDescending($val) + { + $this->_propDict["isDescending"] = $val; + return $this; + } + /** + * Gets the name + * The name of the property to sort on. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the property to sort on. Required. + * + * @param string $val The value of the name + * + * @return SortProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpaApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpaApplication.php new file mode 100644 index 0000000..d560bbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpaApplication.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @param string $val The value of the redirectUris + * + * @return SpaApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecialFolder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecialFolder.php new file mode 100644 index 0000000..4defdae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecialFolder.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The unique identifier for this item in the /drive/special collection + * + * @param string $val The value of the name + * + * @return SpecialFolder + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecifiedCaptiveNetworkPlugins.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecifiedCaptiveNetworkPlugins.php new file mode 100644 index 0000000..541ffdc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecifiedCaptiveNetworkPlugins.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["allowedBundleIdentifiers"]; + } else { + return null; + } + } + + /** + * Sets the allowedBundleIdentifiers + * Address of the IKEv2 server. Must be a FQDN, UserFQDN, network address, or ASN1DN + * + * @param string $val The value of the allowedBundleIdentifiers + * + * @return SpecifiedCaptiveNetworkPlugins + */ + public function setAllowedBundleIdentifiers($val) + { + $this->_propDict["allowedBundleIdentifiers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StaffAvailabilityItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StaffAvailabilityItem.php new file mode 100644 index 0000000..79f8f22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StaffAvailabilityItem.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["availabilityItems"], "\Beta\Microsoft\Graph\Model\AvailabilityItem") || is_null($this->_propDict["availabilityItems"])) { + return $this->_propDict["availabilityItems"]; + } else { + $this->_propDict["availabilityItems"] = new AvailabilityItem($this->_propDict["availabilityItems"]); + return $this->_propDict["availabilityItems"]; + } + } + return null; + } + + /** + * Sets the availabilityItems + * Each item in this collection indicates a slot and the status of the staff member. + * + * @param AvailabilityItem $val The value to assign to the availabilityItems + * + * @return StaffAvailabilityItem The StaffAvailabilityItem + */ + public function setAvailabilityItems($val) + { + $this->_propDict["availabilityItems"] = $val; + return $this; + } + /** + * Gets the staffId + * The ID of the staff member. + * + * @return string|null The staffId + */ + public function getStaffId() + { + if (array_key_exists("staffId", $this->_propDict)) { + return $this->_propDict["staffId"]; + } else { + return null; + } + } + + /** + * Sets the staffId + * The ID of the staff member. + * + * @param string $val The value of the staffId + * + * @return StaffAvailabilityItem + */ + public function setStaffId($val) + { + $this->_propDict["staffId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StagedFeatureName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StagedFeatureName.php new file mode 100644 index 0000000..5568b6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StagedFeatureName.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["dayOccurrence"]; + } else { + return null; + } + } + + /** + * Sets the dayOccurrence + * Represents the nth occurrence of the day of week that the transition from daylight saving time to standard time occurs. + * + * @param int $val The value of the dayOccurrence + * + * @return StandardTimeZoneOffset + */ + public function setDayOccurrence($val) + { + $this->_propDict["dayOccurrence"] = $val; + return $this; + } + + /** + * Gets the dayOfWeek + * Represents the day of the week when the transition from daylight saving time to standard time. + * + * @return DayOfWeek|null The dayOfWeek + */ + public function getDayOfWeek() + { + if (array_key_exists("dayOfWeek", $this->_propDict)) { + if (is_a($this->_propDict["dayOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["dayOfWeek"])) { + return $this->_propDict["dayOfWeek"]; + } else { + $this->_propDict["dayOfWeek"] = new DayOfWeek($this->_propDict["dayOfWeek"]); + return $this->_propDict["dayOfWeek"]; + } + } + return null; + } + + /** + * Sets the dayOfWeek + * Represents the day of the week when the transition from daylight saving time to standard time. + * + * @param DayOfWeek $val The value to assign to the dayOfWeek + * + * @return StandardTimeZoneOffset The StandardTimeZoneOffset + */ + public function setDayOfWeek($val) + { + $this->_propDict["dayOfWeek"] = $val; + return $this; + } + /** + * Gets the month + * Represents the month of the year when the transition from daylight saving time to standard time occurs. + * + * @return int|null The month + */ + public function getMonth() + { + if (array_key_exists("month", $this->_propDict)) { + return $this->_propDict["month"]; + } else { + return null; + } + } + + /** + * Sets the month + * Represents the month of the year when the transition from daylight saving time to standard time occurs. + * + * @param int $val The value of the month + * + * @return StandardTimeZoneOffset + */ + public function setMonth($val) + { + $this->_propDict["month"] = $val; + return $this; + } + + /** + * Gets the time + * Represents the time of day when the transition from daylight saving time to standard time occurs. + * + * @return TimeOfDay|null The time + */ + public function getTime() + { + if (array_key_exists("time", $this->_propDict)) { + if (is_a($this->_propDict["time"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["time"])) { + return $this->_propDict["time"]; + } else { + $this->_propDict["time"] = new TimeOfDay($this->_propDict["time"]); + return $this->_propDict["time"]; + } + } + return null; + } + + /** + * Sets the time + * Represents the time of day when the transition from daylight saving time to standard time occurs. + * + * @param TimeOfDay $val The value to assign to the time + * + * @return StandardTimeZoneOffset The StandardTimeZoneOffset + */ + public function setTime($val) + { + $this->_propDict["time"] = $val; + return $this; + } + /** + * Gets the year + * Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year. + * + * @return int|null The year + */ + public function getYear() + { + if (array_key_exists("year", $this->_propDict)) { + return $this->_propDict["year"]; + } else { + return null; + } + } + + /** + * Sets the year + * Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year. + * + * @param int $val The value of the year + * + * @return StandardTimeZoneOffset + */ + public function setYear($val) + { + $this->_propDict["year"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StartHoldMusicOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StartHoldMusicOperation.php new file mode 100644 index 0000000..cde91bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StartHoldMusicOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ProvisioningResult") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ProvisioningResult($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @param ProvisioningResult $val The value to assign to the status + * + * @return StatusBase The StatusBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StatusDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StatusDetails.php new file mode 100644 index 0000000..e683582 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StatusDetails.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Additional details in case of error. + * + * @param string $val The value of the additionalDetails + * + * @return StatusDetails + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + + /** + * Gets the errorCategory + * Categorizes the error code. Possible values are Failure, NonServiceFailure, Success. + * + * @return ProvisioningStatusErrorCategory|null The errorCategory + */ + public function getErrorCategory() + { + if (array_key_exists("errorCategory", $this->_propDict)) { + if (is_a($this->_propDict["errorCategory"], "\Beta\Microsoft\Graph\Model\ProvisioningStatusErrorCategory") || is_null($this->_propDict["errorCategory"])) { + return $this->_propDict["errorCategory"]; + } else { + $this->_propDict["errorCategory"] = new ProvisioningStatusErrorCategory($this->_propDict["errorCategory"]); + return $this->_propDict["errorCategory"]; + } + } + return null; + } + + /** + * Sets the errorCategory + * Categorizes the error code. Possible values are Failure, NonServiceFailure, Success. + * + * @param ProvisioningStatusErrorCategory $val The value to assign to the errorCategory + * + * @return StatusDetails The StatusDetails + */ + public function setErrorCategory($val) + { + $this->_propDict["errorCategory"] = $val; + return $this; + } + /** + * Gets the errorCode + * Unique error code if any occurred. Learn more + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Unique error code if any occurred. Learn more + * + * @param string $val The value of the errorCode + * + * @return StatusDetails + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the reason + * Summarizes the status and describes why the status happened. + * + * @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 + * Summarizes the status and describes why the status happened. + * + * @param string $val The value of the reason + * + * @return StatusDetails + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + /** + * Gets the recommendedAction + * Provides the resolution for the corresponding error. + * + * @return string|null The recommendedAction + */ + public function getRecommendedAction() + { + if (array_key_exists("recommendedAction", $this->_propDict)) { + return $this->_propDict["recommendedAction"]; + } else { + return null; + } + } + + /** + * Sets the recommendedAction + * Provides the resolution for the corresponding error. + * + * @param string $val The value of the recommendedAction + * + * @return StatusDetails + */ + public function setRecommendedAction($val) + { + $this->_propDict["recommendedAction"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StopHoldMusicOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StopHoldMusicOperation.php new file mode 100644 index 0000000..9862df9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StopHoldMusicOperation.php @@ -0,0 +1,27 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Storage + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * 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 Storage + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StoragePlanInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StoragePlanInformation.php new file mode 100644 index 0000000..b2cc679 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StoragePlanInformation.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["upgradeAvailable"]; + } else { + return null; + } + } + + /** + * Sets the upgradeAvailable + * Indicates if there are higher storage quota plans available. Read-only. + * + * @param bool $val The value of the upgradeAvailable + * + * @return StoragePlanInformation + */ + public function setUpgradeAvailable($val) + { + $this->_propDict["upgradeAvailable"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php new file mode 100644 index 0000000..f7df4af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * The name of the parameter. + * + * @param string $val The value of the key + * + * @return StringKeyAttributeMappingSourceValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + + /** + * Gets the value + * The value of the parameter. + * + * @return AttributeMappingSource|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new AttributeMappingSource($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The value of the parameter. + * + * @param AttributeMappingSource $val The value to assign to the value + * + * @return StringKeyAttributeMappingSourceValuePair The StringKeyAttributeMappingSourceValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyLongValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyLongValuePair.php new file mode 100644 index 0000000..e77900e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyLongValuePair.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Key. + * + * @param string $val The value of the key + * + * @return StringKeyLongValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value. + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param int $val The value of the value + * + * @return StringKeyLongValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyObjectValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyObjectValuePair.php new file mode 100644 index 0000000..ff8da83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyObjectValuePair.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Key. + * + * @param string $val The value of the key + * + * @return StringKeyObjectValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyStringValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyStringValuePair.php new file mode 100644 index 0000000..e49fc1d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyStringValuePair.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Key. + * + * @param string $val The value of the key + * + * @return StringKeyStringValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Value. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param string $val The value of the value + * + * @return StringKeyStringValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StrongAuthenticationDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StrongAuthenticationDetail.php new file mode 100644 index 0000000..8871233 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StrongAuthenticationDetail.php @@ -0,0 +1,85 @@ +_propDict)) { + if (is_a($this->_propDict["encryptedPinHashHistory"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptedPinHashHistory"])) { + return $this->_propDict["encryptedPinHashHistory"]; + } else { + $this->_propDict["encryptedPinHashHistory"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptedPinHashHistory"]); + return $this->_propDict["encryptedPinHashHistory"]; + } + } + return null; + } + + /** + * Sets the encryptedPinHashHistory + * + * @param \GuzzleHttp\Psr7\Stream $val The encryptedPinHashHistory + * + * @return StrongAuthenticationDetail + */ + public function setEncryptedPinHashHistory($val) + { + $this->_propDict["encryptedPinHashHistory"] = $val; + return $this; + } + + /** + * Gets the proofupTime + * + * @return int|null The proofupTime + */ + public function getProofupTime() + { + if (array_key_exists("proofupTime", $this->_propDict)) { + return $this->_propDict["proofupTime"]; + } else { + return null; + } + } + + /** + * Sets the proofupTime + * + * @param int $val The proofupTime + * + * @return StrongAuthenticationDetail + */ + public function setProofupTime($val) + { + $this->_propDict["proofupTime"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StrongAuthenticationPhoneAppDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StrongAuthenticationPhoneAppDetail.php new file mode 100644 index 0000000..cb22a07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StrongAuthenticationPhoneAppDetail.php @@ -0,0 +1,440 @@ +_propDict)) { + return $this->_propDict["authenticationType"]; + } else { + return null; + } + } + + /** + * Sets the authenticationType + * + * @param string $val The authenticationType + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setAuthenticationType($val) + { + $this->_propDict["authenticationType"] = $val; + return $this; + } + + /** + * Gets the authenticatorFlavor + * + * @return string|null The authenticatorFlavor + */ + public function getAuthenticatorFlavor() + { + if (array_key_exists("authenticatorFlavor", $this->_propDict)) { + return $this->_propDict["authenticatorFlavor"]; + } else { + return null; + } + } + + /** + * Sets the authenticatorFlavor + * + * @param string $val The authenticatorFlavor + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setAuthenticatorFlavor($val) + { + $this->_propDict["authenticatorFlavor"] = $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 StrongAuthenticationPhoneAppDetail + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $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 StrongAuthenticationPhoneAppDetail + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceTag + * + * @return string|null The deviceTag + */ + public function getDeviceTag() + { + if (array_key_exists("deviceTag", $this->_propDict)) { + return $this->_propDict["deviceTag"]; + } else { + return null; + } + } + + /** + * Sets the deviceTag + * + * @param string $val The deviceTag + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setDeviceTag($val) + { + $this->_propDict["deviceTag"] = $val; + return $this; + } + + /** + * Gets the deviceToken + * + * @return string|null The deviceToken + */ + public function getDeviceToken() + { + if (array_key_exists("deviceToken", $this->_propDict)) { + return $this->_propDict["deviceToken"]; + } else { + return null; + } + } + + /** + * Sets the deviceToken + * + * @param string $val The deviceToken + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setDeviceToken($val) + { + $this->_propDict["deviceToken"] = $val; + return $this; + } + + /** + * Gets the hashFunction + * + * @return string|null The hashFunction + */ + public function getHashFunction() + { + if (array_key_exists("hashFunction", $this->_propDict)) { + return $this->_propDict["hashFunction"]; + } else { + return null; + } + } + + /** + * Sets the hashFunction + * + * @param string $val The hashFunction + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setHashFunction($val) + { + $this->_propDict["hashFunction"] = $val; + return $this; + } + + /** + * Gets the lastAuthenticatedDateTime + * + * @return \DateTime|null The lastAuthenticatedDateTime + */ + public function getLastAuthenticatedDateTime() + { + if (array_key_exists("lastAuthenticatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAuthenticatedDateTime"], "\DateTime") || is_null($this->_propDict["lastAuthenticatedDateTime"])) { + return $this->_propDict["lastAuthenticatedDateTime"]; + } else { + $this->_propDict["lastAuthenticatedDateTime"] = new \DateTime($this->_propDict["lastAuthenticatedDateTime"]); + return $this->_propDict["lastAuthenticatedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAuthenticatedDateTime + * + * @param \DateTime $val The lastAuthenticatedDateTime + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setLastAuthenticatedDateTime($val) + { + $this->_propDict["lastAuthenticatedDateTime"] = $val; + return $this; + } + + /** + * Gets the notificationType + * + * @return string|null The notificationType + */ + public function getNotificationType() + { + if (array_key_exists("notificationType", $this->_propDict)) { + return $this->_propDict["notificationType"]; + } else { + return null; + } + } + + /** + * Sets the notificationType + * + * @param string $val The notificationType + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setNotificationType($val) + { + $this->_propDict["notificationType"] = $val; + return $this; + } + + /** + * Gets the oathSecretKey + * + * @return string|null The oathSecretKey + */ + public function getOathSecretKey() + { + if (array_key_exists("oathSecretKey", $this->_propDict)) { + return $this->_propDict["oathSecretKey"]; + } else { + return null; + } + } + + /** + * Sets the oathSecretKey + * + * @param string $val The oathSecretKey + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setOathSecretKey($val) + { + $this->_propDict["oathSecretKey"] = $val; + return $this; + } + + /** + * Gets the oathTokenMetadata + * + * @return OathTokenMetadata|null The oathTokenMetadata + */ + public function getOathTokenMetadata() + { + if (array_key_exists("oathTokenMetadata", $this->_propDict)) { + if (is_a($this->_propDict["oathTokenMetadata"], "\Beta\Microsoft\Graph\Model\OathTokenMetadata") || is_null($this->_propDict["oathTokenMetadata"])) { + return $this->_propDict["oathTokenMetadata"]; + } else { + $this->_propDict["oathTokenMetadata"] = new OathTokenMetadata($this->_propDict["oathTokenMetadata"]); + return $this->_propDict["oathTokenMetadata"]; + } + } + return null; + } + + /** + * Sets the oathTokenMetadata + * + * @param OathTokenMetadata $val The oathTokenMetadata + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setOathTokenMetadata($val) + { + $this->_propDict["oathTokenMetadata"] = $val; + return $this; + } + + /** + * Gets the oathTokenTimeDriftInSeconds + * + * @return int|null The oathTokenTimeDriftInSeconds + */ + public function getOathTokenTimeDriftInSeconds() + { + if (array_key_exists("oathTokenTimeDriftInSeconds", $this->_propDict)) { + return $this->_propDict["oathTokenTimeDriftInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the oathTokenTimeDriftInSeconds + * + * @param int $val The oathTokenTimeDriftInSeconds + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setOathTokenTimeDriftInSeconds($val) + { + $this->_propDict["oathTokenTimeDriftInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the phoneAppVersion + * + * @return string|null The phoneAppVersion + */ + public function getPhoneAppVersion() + { + if (array_key_exists("phoneAppVersion", $this->_propDict)) { + return $this->_propDict["phoneAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the phoneAppVersion + * + * @param string $val The phoneAppVersion + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setPhoneAppVersion($val) + { + $this->_propDict["phoneAppVersion"] = $val; + return $this; + } + + /** + * Gets the tenantDeviceId + * + * @return string|null The tenantDeviceId + */ + public function getTenantDeviceId() + { + if (array_key_exists("tenantDeviceId", $this->_propDict)) { + return $this->_propDict["tenantDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the tenantDeviceId + * + * @param string $val The tenantDeviceId + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setTenantDeviceId($val) + { + $this->_propDict["tenantDeviceId"] = $val; + return $this; + } + + /** + * Gets the tokenGenerationIntervalInSeconds + * + * @return int|null The tokenGenerationIntervalInSeconds + */ + public function getTokenGenerationIntervalInSeconds() + { + if (array_key_exists("tokenGenerationIntervalInSeconds", $this->_propDict)) { + return $this->_propDict["tokenGenerationIntervalInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the tokenGenerationIntervalInSeconds + * + * @param int $val The tokenGenerationIntervalInSeconds + * + * @return StrongAuthenticationPhoneAppDetail + */ + public function setTokenGenerationIntervalInSeconds($val) + { + $this->_propDict["tokenGenerationIntervalInSeconds"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StsPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StsPolicy.php new file mode 100644 index 0000000..32b5f6e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StsPolicy.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["definition"]; + } else { + return null; + } + } + + /** + * Sets the definition + * A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required. + * + * @param string $val The definition + * + * @return StsPolicy + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + /** + * Gets the isOrganizationDefault + * If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false. + * + * @return bool|null The isOrganizationDefault + */ + public function getIsOrganizationDefault() + { + if (array_key_exists("isOrganizationDefault", $this->_propDict)) { + return $this->_propDict["isOrganizationDefault"]; + } else { + return null; + } + } + + /** + * Sets the isOrganizationDefault + * If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false. + * + * @param bool $val The isOrganizationDefault + * + * @return StsPolicy + */ + public function setIsOrganizationDefault($val) + { + $this->_propDict["isOrganizationDefault"] = boolval($val); + return $this; + } + + + /** + * Gets the appliesTo + * + * @return array|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * + * @param DirectoryObject[] $val The appliesTo + * + * @return StsPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectAlternativeNameType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectAlternativeNameType.php new file mode 100644 index 0000000..6002e29 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectAlternativeNameType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["assignedTo"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["assignedTo"])) { + return $this->_propDict["assignedTo"]; + } else { + $this->_propDict["assignedTo"] = new Identity($this->_propDict["assignedTo"]); + return $this->_propDict["assignedTo"]; + } + } + return null; + } + + /** + * Sets the assignedTo + * Identity that the request is assigned to. + * + * @param Identity $val The assignedTo + * + * @return SubjectRightsRequest + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the closedDateTime + * The date and time when the request was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The closedDateTime + */ + public function getClosedDateTime() + { + if (array_key_exists("closedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { + return $this->_propDict["closedDateTime"]; + } else { + $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); + return $this->_propDict["closedDateTime"]; + } + } + return null; + } + + /** + * Sets the closedDateTime + * The date and time when the request was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The closedDateTime + * + * @return SubjectRightsRequest + */ + public function setClosedDateTime($val) + { + $this->_propDict["closedDateTime"] = $val; + return $this; + } + + /** + * Gets the contentQuery + * KQL based content query that should be used for search. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @return string|null The contentQuery + */ + public function getContentQuery() + { + if (array_key_exists("contentQuery", $this->_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * KQL based content query that should be used for search. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @param string $val The contentQuery + * + * @return SubjectRightsRequest + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity information for the entity that created the request. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity information for the entity that created the request. + * + * @param IdentitySet $val The createdBy + * + * @return SubjectRightsRequest + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the request was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the request was created. 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 createdDateTime + * + * @return SubjectRightsRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dataSubject + * Information about the data subject. + * + * @return DataSubject|null The dataSubject + */ + public function getDataSubject() + { + if (array_key_exists("dataSubject", $this->_propDict)) { + if (is_a($this->_propDict["dataSubject"], "\Beta\Microsoft\Graph\Model\DataSubject") || is_null($this->_propDict["dataSubject"])) { + return $this->_propDict["dataSubject"]; + } else { + $this->_propDict["dataSubject"] = new DataSubject($this->_propDict["dataSubject"]); + return $this->_propDict["dataSubject"]; + } + } + return null; + } + + /** + * Sets the dataSubject + * Information about the data subject. + * + * @param DataSubject $val The dataSubject + * + * @return SubjectRightsRequest + */ + public function setDataSubject($val) + { + $this->_propDict["dataSubject"] = $val; + return $this; + } + + /** + * Gets the dataSubjectType + * The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. + * + * @return DataSubjectType|null The dataSubjectType + */ + public function getDataSubjectType() + { + if (array_key_exists("dataSubjectType", $this->_propDict)) { + if (is_a($this->_propDict["dataSubjectType"], "\Beta\Microsoft\Graph\Model\DataSubjectType") || is_null($this->_propDict["dataSubjectType"])) { + return $this->_propDict["dataSubjectType"]; + } else { + $this->_propDict["dataSubjectType"] = new DataSubjectType($this->_propDict["dataSubjectType"]); + return $this->_propDict["dataSubjectType"]; + } + } + return null; + } + + /** + * Sets the dataSubjectType + * The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. + * + * @param DataSubjectType $val The dataSubjectType + * + * @return SubjectRightsRequest + */ + public function setDataSubjectType($val) + { + $this->_propDict["dataSubjectType"] = $val; + return $this; + } + + /** + * Gets the description + * Description for the request. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the request. + * + * @param string $val The description + * + * @return SubjectRightsRequest + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the request. + * + * @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 + * The name of the request. + * + * @param string $val The displayName + * + * @return SubjectRightsRequest + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external ID for the request that is immutable after creation and is used for tracking the request for the external system. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external ID for the request that is immutable after creation and is used for tracking the request for the external system. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @param string $val The externalId + * + * @return SubjectRightsRequest + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + + /** + * Gets the history + * Collection of history change events. + * + * @return array|null The history + */ + public function getHistory() + { + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * Collection of history change events. + * + * @param SubjectRightsRequestHistory[] $val The history + * + * @return SubjectRightsRequest + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + + /** + * Gets the includeAllVersions + * Include all versions of the documents. By default, the current copies of the documents will be returned. If SharePoint sites have versioning enabled, including all versions will include the historical copies of the documents. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @return bool|null The includeAllVersions + */ + public function getIncludeAllVersions() + { + if (array_key_exists("includeAllVersions", $this->_propDict)) { + return $this->_propDict["includeAllVersions"]; + } else { + return null; + } + } + + /** + * Sets the includeAllVersions + * Include all versions of the documents. By default, the current copies of the documents will be returned. If SharePoint sites have versioning enabled, including all versions will include the historical copies of the documents. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @param bool $val The includeAllVersions + * + * @return SubjectRightsRequest + */ + public function setIncludeAllVersions($val) + { + $this->_propDict["includeAllVersions"] = boolval($val); + return $this; + } + + /** + * Gets the includeAuthoredContent + * Include content authored by the data subject. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @return bool|null The includeAuthoredContent + */ + public function getIncludeAuthoredContent() + { + if (array_key_exists("includeAuthoredContent", $this->_propDict)) { + return $this->_propDict["includeAuthoredContent"]; + } else { + return null; + } + } + + /** + * Sets the includeAuthoredContent + * Include content authored by the data subject. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @param bool $val The includeAuthoredContent + * + * @return SubjectRightsRequest + */ + public function setIncludeAuthoredContent($val) + { + $this->_propDict["includeAuthoredContent"] = boolval($val); + return $this; + } + + /** + * Gets the insight + * Insight about the request. + * + * @return SubjectRightsRequestDetail|null The insight + */ + public function getInsight() + { + if (array_key_exists("insight", $this->_propDict)) { + if (is_a($this->_propDict["insight"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestDetail") || is_null($this->_propDict["insight"])) { + return $this->_propDict["insight"]; + } else { + $this->_propDict["insight"] = new SubjectRightsRequestDetail($this->_propDict["insight"]); + return $this->_propDict["insight"]; + } + } + return null; + } + + /** + * Sets the insight + * Insight about the request. + * + * @param SubjectRightsRequestDetail $val The insight + * + * @return SubjectRightsRequest + */ + public function setInsight($val) + { + $this->_propDict["insight"] = $val; + return $this; + } + + /** + * Gets the internalDueDateTime + * The date and time when the request is internally due. 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 internalDueDateTime + */ + public function getInternalDueDateTime() + { + if (array_key_exists("internalDueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["internalDueDateTime"], "\DateTime") || is_null($this->_propDict["internalDueDateTime"])) { + return $this->_propDict["internalDueDateTime"]; + } else { + $this->_propDict["internalDueDateTime"] = new \DateTime($this->_propDict["internalDueDateTime"]); + return $this->_propDict["internalDueDateTime"]; + } + } + return null; + } + + /** + * Sets the internalDueDateTime + * The date and time when the request is internally due. 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 internalDueDateTime + * + * @return SubjectRightsRequest + */ + public function setInternalDueDateTime($val) + { + $this->_propDict["internalDueDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity information for the entity that last modified the request. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity information for the entity that last modified the request. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return SubjectRightsRequest + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the request was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the request was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SubjectRightsRequest + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the mailboxlocations + * + * @return SubjectRightsRequestMailboxLocation|null The mailboxlocations + */ + public function getMailboxlocations() + { + if (array_key_exists("mailboxlocations", $this->_propDict)) { + if (is_a($this->_propDict["mailboxlocations"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestMailboxLocation") || is_null($this->_propDict["mailboxlocations"])) { + return $this->_propDict["mailboxlocations"]; + } else { + $this->_propDict["mailboxlocations"] = new SubjectRightsRequestMailboxLocation($this->_propDict["mailboxlocations"]); + return $this->_propDict["mailboxlocations"]; + } + } + return null; + } + + /** + * Sets the mailboxlocations + * + * @param SubjectRightsRequestMailboxLocation $val The mailboxlocations + * + * @return SubjectRightsRequest + */ + public function setMailboxlocations($val) + { + $this->_propDict["mailboxlocations"] = $val; + return $this; + } + + /** + * Gets the pauseAfterEstimate + * Pause the request after estimate has finished. By default, the data estimate will run and then pause, allowing you to preview results and then select the option to retrieve data in the UI. You can set this property to false if you want it to perform the estimate and then automatically begin with the retrieval of the content. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @return bool|null The pauseAfterEstimate + */ + public function getPauseAfterEstimate() + { + if (array_key_exists("pauseAfterEstimate", $this->_propDict)) { + return $this->_propDict["pauseAfterEstimate"]; + } else { + return null; + } + } + + /** + * Sets the pauseAfterEstimate + * Pause the request after estimate has finished. By default, the data estimate will run and then pause, allowing you to preview results and then select the option to retrieve data in the UI. You can set this property to false if you want it to perform the estimate and then automatically begin with the retrieval of the content. This property is defined only for APIs accessed using the /security query path and not the /privacy query path. + * + * @param bool $val The pauseAfterEstimate + * + * @return SubjectRightsRequest + */ + public function setPauseAfterEstimate($val) + { + $this->_propDict["pauseAfterEstimate"] = boolval($val); + return $this; + } + + /** + * Gets the regulations + * List of regulations that this request will fulfill. + * + * @return string|null The regulations + */ + public function getRegulations() + { + if (array_key_exists("regulations", $this->_propDict)) { + return $this->_propDict["regulations"]; + } else { + return null; + } + } + + /** + * Sets the regulations + * List of regulations that this request will fulfill. + * + * @param string $val The regulations + * + * @return SubjectRightsRequest + */ + public function setRegulations($val) + { + $this->_propDict["regulations"] = $val; + return $this; + } + + /** + * Gets the sitelocations + * + * @return SubjectRightsRequestSiteLocation|null The sitelocations + */ + public function getSitelocations() + { + if (array_key_exists("sitelocations", $this->_propDict)) { + if (is_a($this->_propDict["sitelocations"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestSiteLocation") || is_null($this->_propDict["sitelocations"])) { + return $this->_propDict["sitelocations"]; + } else { + $this->_propDict["sitelocations"] = new SubjectRightsRequestSiteLocation($this->_propDict["sitelocations"]); + return $this->_propDict["sitelocations"]; + } + } + return null; + } + + /** + * Sets the sitelocations + * + * @param SubjectRightsRequestSiteLocation $val The sitelocations + * + * @return SubjectRightsRequest + */ + public function setSitelocations($val) + { + $this->_propDict["sitelocations"] = $val; + return $this; + } + + + /** + * Gets the stages + * Information about the different stages for the request. + * + * @return array|null The stages + */ + public function getStages() + { + if (array_key_exists("stages", $this->_propDict)) { + return $this->_propDict["stages"]; + } else { + return null; + } + } + + /** + * Sets the stages + * Information about the different stages for the request. + * + * @param SubjectRightsRequestStageDetail[] $val The stages + * + * @return SubjectRightsRequest + */ + public function setStages($val) + { + $this->_propDict["stages"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the request. Possible values are: active, closed, unknownFutureValue. + * + * @return SubjectRightsRequestStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SubjectRightsRequestStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the request. Possible values are: active, closed, unknownFutureValue. + * + * @param SubjectRightsRequestStatus $val The status + * + * @return SubjectRightsRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the type + * The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue. + * + * @return SubjectRightsRequestType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new SubjectRightsRequestType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue. + * + * @param SubjectRightsRequestType $val The type + * + * @return SubjectRightsRequest + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + + /** + * Gets the notes + * List of notes associated with the request. + * + * @return array|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * List of notes associated with the request. + * + * @param AuthoredNote[] $val The notes + * + * @return SubjectRightsRequest + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the team + * Information about the Microsoft Teams team that was created for the request. + * + * @return Team|null The team + */ + public function getTeam() + { + if (array_key_exists("team", $this->_propDict)) { + if (is_a($this->_propDict["team"], "\Beta\Microsoft\Graph\Model\Team") || is_null($this->_propDict["team"])) { + return $this->_propDict["team"]; + } else { + $this->_propDict["team"] = new Team($this->_propDict["team"]); + return $this->_propDict["team"]; + } + } + return null; + } + + /** + * Sets the team + * Information about the Microsoft Teams team that was created for the request. + * + * @param Team $val The team + * + * @return SubjectRightsRequest + */ + public function setTeam($val) + { + $this->_propDict["team"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestAllMailboxLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestAllMailboxLocation.php new file mode 100644 index 0000000..babb364 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestAllMailboxLocation.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.subjectRightsRequestAllMailboxLocation"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestAllSiteLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestAllSiteLocation.php new file mode 100644 index 0000000..995fc31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestAllSiteLocation.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.subjectRightsRequestAllSiteLocation"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestDetail.php new file mode 100644 index 0000000..785b960 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestDetail.php @@ -0,0 +1,232 @@ +_propDict)) { + return $this->_propDict["excludedItemCount"]; + } else { + return null; + } + } + + /** + * Sets the excludedItemCount + * Count of items that are excluded from the request. + * + * @param int $val The value of the excludedItemCount + * + * @return SubjectRightsRequestDetail + */ + public function setExcludedItemCount($val) + { + $this->_propDict["excludedItemCount"] = $val; + return $this; + } + + /** + * Gets the insightCounts + * Count of items per insight. + * + * @return KeyValuePair|null The insightCounts + */ + public function getInsightCounts() + { + if (array_key_exists("insightCounts", $this->_propDict)) { + if (is_a($this->_propDict["insightCounts"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["insightCounts"])) { + return $this->_propDict["insightCounts"]; + } else { + $this->_propDict["insightCounts"] = new KeyValuePair($this->_propDict["insightCounts"]); + return $this->_propDict["insightCounts"]; + } + } + return null; + } + + /** + * Sets the insightCounts + * Count of items per insight. + * + * @param KeyValuePair $val The value to assign to the insightCounts + * + * @return SubjectRightsRequestDetail The SubjectRightsRequestDetail + */ + public function setInsightCounts($val) + { + $this->_propDict["insightCounts"] = $val; + return $this; + } + /** + * Gets the itemCount + * Count of items found. + * + * @return int|null The itemCount + */ + public function getItemCount() + { + if (array_key_exists("itemCount", $this->_propDict)) { + return $this->_propDict["itemCount"]; + } else { + return null; + } + } + + /** + * Sets the itemCount + * Count of items found. + * + * @param int $val The value of the itemCount + * + * @return SubjectRightsRequestDetail + */ + public function setItemCount($val) + { + $this->_propDict["itemCount"] = $val; + return $this; + } + /** + * Gets the itemNeedReview + * Count of item that need review. + * + * @return int|null The itemNeedReview + */ + public function getItemNeedReview() + { + if (array_key_exists("itemNeedReview", $this->_propDict)) { + return $this->_propDict["itemNeedReview"]; + } else { + return null; + } + } + + /** + * Sets the itemNeedReview + * Count of item that need review. + * + * @param int $val The value of the itemNeedReview + * + * @return SubjectRightsRequestDetail + */ + public function setItemNeedReview($val) + { + $this->_propDict["itemNeedReview"] = $val; + return $this; + } + + /** + * Gets the productItemCounts + * Count of items per product, such as Exchange, SharePoint, OneDrive, and Teams. + * + * @return KeyValuePair|null The productItemCounts + */ + public function getProductItemCounts() + { + if (array_key_exists("productItemCounts", $this->_propDict)) { + if (is_a($this->_propDict["productItemCounts"], "\Beta\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["productItemCounts"])) { + return $this->_propDict["productItemCounts"]; + } else { + $this->_propDict["productItemCounts"] = new KeyValuePair($this->_propDict["productItemCounts"]); + return $this->_propDict["productItemCounts"]; + } + } + return null; + } + + /** + * Sets the productItemCounts + * Count of items per product, such as Exchange, SharePoint, OneDrive, and Teams. + * + * @param KeyValuePair $val The value to assign to the productItemCounts + * + * @return SubjectRightsRequestDetail The SubjectRightsRequestDetail + */ + public function setProductItemCounts($val) + { + $this->_propDict["productItemCounts"] = $val; + return $this; + } + /** + * Gets the signedOffItemCount + * Count of items signed off by the administrator. + * + * @return int|null The signedOffItemCount + */ + public function getSignedOffItemCount() + { + if (array_key_exists("signedOffItemCount", $this->_propDict)) { + return $this->_propDict["signedOffItemCount"]; + } else { + return null; + } + } + + /** + * Sets the signedOffItemCount + * Count of items signed off by the administrator. + * + * @param int $val The value of the signedOffItemCount + * + * @return SubjectRightsRequestDetail + */ + public function setSignedOffItemCount($val) + { + $this->_propDict["signedOffItemCount"] = $val; + return $this; + } + /** + * Gets the totalItemSize + * Total item size in bytes. + * + * @return int|null The totalItemSize + */ + public function getTotalItemSize() + { + if (array_key_exists("totalItemSize", $this->_propDict)) { + return $this->_propDict["totalItemSize"]; + } else { + return null; + } + } + + /** + * Sets the totalItemSize + * Total item size in bytes. + * + * @param int $val The value of the totalItemSize + * + * @return SubjectRightsRequestDetail + */ + public function setTotalItemSize($val) + { + $this->_propDict["totalItemSize"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php new file mode 100644 index 0000000..b1026df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedMailboxLocation.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.subjectRightsRequestEnumeratedMailboxLocation"); + } + + /** + * Gets the upns + * Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. + * + * @return string|null The upns + */ + public function getUpns() + { + if (array_key_exists("upns", $this->_propDict)) { + return $this->_propDict["upns"]; + } else { + return null; + } + } + + /** + * Sets the upns + * Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. + * + * @param string $val The value of the upns + * + * @return SubjectRightsRequestEnumeratedMailboxLocation + */ + public function setUpns($val) + { + $this->_propDict["upns"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedSiteLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedSiteLocation.php new file mode 100644 index 0000000..4bec5af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestEnumeratedSiteLocation.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.subjectRightsRequestEnumeratedSiteLocation"); + } + + /** + * Gets the urls + * Collection of site URLs that should be included. Includes the URL of each site, for example, https://www.contoso.com/site1. + * + * @return string|null The urls + */ + public function getUrls() + { + if (array_key_exists("urls", $this->_propDict)) { + return $this->_propDict["urls"]; + } else { + return null; + } + } + + /** + * Sets the urls + * Collection of site URLs that should be included. Includes the URL of each site, for example, https://www.contoso.com/site1. + * + * @param string $val The value of the urls + * + * @return SubjectRightsRequestEnumeratedSiteLocation + */ + public function setUrls($val) + { + $this->_propDict["urls"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php new file mode 100644 index 0000000..7bb4168 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestHistory.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["changedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["changedBy"])) { + return $this->_propDict["changedBy"]; + } else { + $this->_propDict["changedBy"] = new IdentitySet($this->_propDict["changedBy"]); + return $this->_propDict["changedBy"]; + } + } + return null; + } + + /** + * Sets the changedBy + * Identity of the user who changed the subject rights request. + * + * @param IdentitySet $val The value to assign to the changedBy + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setChangedBy($val) + { + $this->_propDict["changedBy"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Data and time when the entity was changed. + * + * @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 + * Data and time when the entity was changed. + * + * @param \DateTime $val The value to assign to the eventDateTime + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the stage + * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @return SubjectRightsRequestStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new SubjectRightsRequestStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @param SubjectRightsRequestStage $val The value to assign to the stage + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the stageStatus + * The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @return SubjectRightsRequestStageStatus|null The stageStatus + */ + public function getStageStatus() + { + if (array_key_exists("stageStatus", $this->_propDict)) { + if (is_a($this->_propDict["stageStatus"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestStageStatus") || is_null($this->_propDict["stageStatus"])) { + return $this->_propDict["stageStatus"]; + } else { + $this->_propDict["stageStatus"] = new SubjectRightsRequestStageStatus($this->_propDict["stageStatus"]); + return $this->_propDict["stageStatus"]; + } + } + return null; + } + + /** + * Sets the stageStatus + * The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @param SubjectRightsRequestStageStatus $val The value to assign to the stageStatus + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setStageStatus($val) + { + $this->_propDict["stageStatus"] = $val; + return $this; + } + /** + * Gets the type + * Type of history. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of history. + * + * @param string $val The value of the type + * + * @return SubjectRightsRequestHistory + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestMailboxLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestMailboxLocation.php new file mode 100644 index 0000000..17c3d52 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestMailboxLocation.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Describes the error, if any, for the current stage. + * + * @param PublicError $val The value to assign to the error + * + * @return SubjectRightsRequestStageDetail The SubjectRightsRequestStageDetail + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the stage + * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @return SubjectRightsRequestStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new SubjectRightsRequestStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @param SubjectRightsRequestStage $val The value to assign to the stage + * + * @return SubjectRightsRequestStageDetail The SubjectRightsRequestStageDetail + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @return SubjectRightsRequestStageStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SubjectRightsRequestStageStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SubjectRightsRequestStageStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @param SubjectRightsRequestStageStatus $val The value to assign to the status + * + * @return SubjectRightsRequestStageDetail The SubjectRightsRequestStageDetail + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageStatus.php new file mode 100644 index 0000000..4476462 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectRightsRequestStageStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * For example, 'User' or 'Company'. + * + * @param string $val The appliesTo + * + * @return SubscribedSku + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + + /** + * Gets the capabilityStatus + * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * + * @return string|null The capabilityStatus + */ + public function getCapabilityStatus() + { + if (array_key_exists("capabilityStatus", $this->_propDict)) { + return $this->_propDict["capabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the capabilityStatus + * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * + * @param string $val The capabilityStatus + * + * @return SubscribedSku + */ + public function setCapabilityStatus($val) + { + $this->_propDict["capabilityStatus"] = $val; + return $this; + } + + /** + * Gets the consumedUnits + * The number of licenses that have been assigned. + * + * @return int|null The consumedUnits + */ + public function getConsumedUnits() + { + if (array_key_exists("consumedUnits", $this->_propDict)) { + return $this->_propDict["consumedUnits"]; + } else { + return null; + } + } + + /** + * Sets the consumedUnits + * The number of licenses that have been assigned. + * + * @param int $val The consumedUnits + * + * @return SubscribedSku + */ + public function setConsumedUnits($val) + { + $this->_propDict["consumedUnits"] = intval($val); + return $this; + } + + /** + * Gets the prepaidUnits + * Information about the number and status of prepaid licenses. + * + * @return LicenseUnitsDetail|null The prepaidUnits + */ + public function getPrepaidUnits() + { + if (array_key_exists("prepaidUnits", $this->_propDict)) { + if (is_a($this->_propDict["prepaidUnits"], "\Beta\Microsoft\Graph\Model\LicenseUnitsDetail") || is_null($this->_propDict["prepaidUnits"])) { + return $this->_propDict["prepaidUnits"]; + } else { + $this->_propDict["prepaidUnits"] = new LicenseUnitsDetail($this->_propDict["prepaidUnits"]); + return $this->_propDict["prepaidUnits"]; + } + } + return null; + } + + /** + * Sets the prepaidUnits + * Information about the number and status of prepaid licenses. + * + * @param LicenseUnitsDetail $val The prepaidUnits + * + * @return SubscribedSku + */ + public function setPrepaidUnits($val) + { + $this->_propDict["prepaidUnits"] = $val; + return $this; + } + + + /** + * Gets the servicePlans + * Information about the service plans that are available with the SKU. Not nullable + * + * @return array|null The servicePlans + */ + public function getServicePlans() + { + if (array_key_exists("servicePlans", $this->_propDict)) { + return $this->_propDict["servicePlans"]; + } else { + return null; + } + } + + /** + * Sets the servicePlans + * Information about the service plans that are available with the SKU. Not nullable + * + * @param ServicePlanInfo[] $val The servicePlans + * + * @return SubscribedSku + */ + public function setServicePlans($val) + { + $this->_propDict["servicePlans"] = $val; + return $this; + } + + /** + * Gets the skuId + * The unique identifier (GUID) for the service SKU. + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * The unique identifier (GUID) for the service SKU. + * + * @param string $val The skuId + * + * @return SubscribedSku + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } + + /** + * Gets the skuPartNumber + * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * + * @return string|null The skuPartNumber + */ + public function getSkuPartNumber() + { + if (array_key_exists("skuPartNumber", $this->_propDict)) { + return $this->_propDict["skuPartNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuPartNumber + * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * + * @param string $val The skuPartNumber + * + * @return SubscribedSku + */ + public function setSkuPartNumber($val) + { + $this->_propDict["skuPartNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Subscription.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Subscription.php new file mode 100644 index 0000000..a7216f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Subscription.php @@ -0,0 +1,466 @@ +_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * Optional. Identifier of the application used to create the subscription. Read-only. + * + * @param string $val The applicationId + * + * @return Subscription + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + + /** + * Gets the changeType + * Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. + * + * @return string|null The changeType + */ + public function getChangeType() + { + if (array_key_exists("changeType", $this->_propDict)) { + return $this->_propDict["changeType"]; + } else { + return null; + } + } + + /** + * Sets the changeType + * Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. + * + * @param string $val The changeType + * + * @return Subscription + */ + public function setChangeType($val) + { + $this->_propDict["changeType"] = $val; + return $this; + } + + /** + * Gets the clientState + * Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 255 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. + * + * @return string|null The clientState + */ + public function getClientState() + { + if (array_key_exists("clientState", $this->_propDict)) { + return $this->_propDict["clientState"]; + } else { + return null; + } + } + + /** + * Sets the clientState + * Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 255 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. + * + * @param string $val The clientState + * + * @return Subscription + */ + public function setClientState($val) + { + $this->_propDict["clientState"] = $val; + return $this; + } + + /** + * Gets the creatorId + * Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the ID of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the ID of the service principal corresponding to the app. Read-only. + * + * @return string|null The creatorId + */ + public function getCreatorId() + { + if (array_key_exists("creatorId", $this->_propDict)) { + return $this->_propDict["creatorId"]; + } else { + return null; + } + } + + /** + * Sets the creatorId + * Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the ID of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the ID of the service principal corresponding to the app. Read-only. + * + * @param string $val The creatorId + * + * @return Subscription + */ + public function setCreatorId($val) + { + $this->_propDict["creatorId"] = $val; + return $this; + } + + /** + * Gets the encryptionCertificate + * Optional. A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional but required when includeResourceData is true. + * + * @return string|null The encryptionCertificate + */ + public function getEncryptionCertificate() + { + if (array_key_exists("encryptionCertificate", $this->_propDict)) { + return $this->_propDict["encryptionCertificate"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificate + * Optional. A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional but required when includeResourceData is true. + * + * @param string $val The encryptionCertificate + * + * @return Subscription + */ + public function setEncryptionCertificate($val) + { + $this->_propDict["encryptionCertificate"] = $val; + return $this; + } + + /** + * Gets the encryptionCertificateId + * Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when includeResourceData is true. + * + * @return string|null The encryptionCertificateId + */ + public function getEncryptionCertificateId() + { + if (array_key_exists("encryptionCertificateId", $this->_propDict)) { + return $this->_propDict["encryptionCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificateId + * Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when includeResourceData is true. + * + * @param string $val The encryptionCertificateId + * + * @return Subscription + */ + public function setEncryptionCertificateId($val) + { + $this->_propDict["encryptionCertificateId"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. For the maximum supported subscription length of time, see the table below. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. For the maximum supported subscription length of time, see the table below. + * + * @param \DateTime $val The expirationDateTime + * + * @return Subscription + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the includeResourceData + * Optional. When set to true, change notifications include resource data (such as content of a chat message). + * + * @return bool|null The includeResourceData + */ + public function getIncludeResourceData() + { + if (array_key_exists("includeResourceData", $this->_propDict)) { + return $this->_propDict["includeResourceData"]; + } else { + return null; + } + } + + /** + * Sets the includeResourceData + * Optional. When set to true, change notifications include resource data (such as content of a chat message). + * + * @param bool $val The includeResourceData + * + * @return Subscription + */ + public function setIncludeResourceData($val) + { + $this->_propDict["includeResourceData"] = boolval($val); + return $this; + } + + /** + * Gets the latestSupportedTlsVersion + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * + * @return string|null The latestSupportedTlsVersion + */ + public function getLatestSupportedTlsVersion() + { + if (array_key_exists("latestSupportedTlsVersion", $this->_propDict)) { + return $this->_propDict["latestSupportedTlsVersion"]; + } else { + return null; + } + } + + /** + * Sets the latestSupportedTlsVersion + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * + * @param string $val The latestSupportedTlsVersion + * + * @return Subscription + */ + public function setLatestSupportedTlsVersion($val) + { + $this->_propDict["latestSupportedTlsVersion"] = $val; + return $this; + } + + /** + * Gets the lifecycleNotificationUrl + * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. + * + * @return string|null The lifecycleNotificationUrl + */ + public function getLifecycleNotificationUrl() + { + if (array_key_exists("lifecycleNotificationUrl", $this->_propDict)) { + return $this->_propDict["lifecycleNotificationUrl"]; + } else { + return null; + } + } + + /** + * Sets the lifecycleNotificationUrl + * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. + * + * @param string $val The lifecycleNotificationUrl + * + * @return Subscription + */ + public function setLifecycleNotificationUrl($val) + { + $this->_propDict["lifecycleNotificationUrl"] = $val; + return $this; + } + + /** + * Gets the notificationContentType + * Optional. Desired content-type for Microsoft Graph change notifications for supported resource types. The default content-type is application/json. + * + * @return string|null The notificationContentType + */ + public function getNotificationContentType() + { + if (array_key_exists("notificationContentType", $this->_propDict)) { + return $this->_propDict["notificationContentType"]; + } else { + return null; + } + } + + /** + * Sets the notificationContentType + * Optional. Desired content-type for Microsoft Graph change notifications for supported resource types. The default content-type is application/json. + * + * @param string $val The notificationContentType + * + * @return Subscription + */ + public function setNotificationContentType($val) + { + $this->_propDict["notificationContentType"] = $val; + return $this; + } + + /** + * Gets the notificationQueryOptions + * Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. + * + * @return string|null The notificationQueryOptions + */ + public function getNotificationQueryOptions() + { + if (array_key_exists("notificationQueryOptions", $this->_propDict)) { + return $this->_propDict["notificationQueryOptions"]; + } else { + return null; + } + } + + /** + * Sets the notificationQueryOptions + * Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. + * + * @param string $val The notificationQueryOptions + * + * @return Subscription + */ + public function setNotificationQueryOptions($val) + { + $this->_propDict["notificationQueryOptions"] = $val; + return $this; + } + + /** + * Gets the notificationUrl + * Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. + * + * @return string|null The notificationUrl + */ + public function getNotificationUrl() + { + if (array_key_exists("notificationUrl", $this->_propDict)) { + return $this->_propDict["notificationUrl"]; + } else { + return null; + } + } + + /** + * Sets the notificationUrl + * Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. + * + * @param string $val The notificationUrl + * + * @return Subscription + */ + public function setNotificationUrl($val) + { + $this->_propDict["notificationUrl"] = $val; + return $this; + } + + /** + * Gets the notificationUrlAppId + * Optional. The app ID that the subscription service can use to generate the validation token. This allows the client to validate the authenticity of the notification received. + * + * @return string|null The notificationUrlAppId + */ + public function getNotificationUrlAppId() + { + if (array_key_exists("notificationUrlAppId", $this->_propDict)) { + return $this->_propDict["notificationUrlAppId"]; + } else { + return null; + } + } + + /** + * Sets the notificationUrlAppId + * Optional. The app ID that the subscription service can use to generate the validation token. This allows the client to validate the authenticity of the notification received. + * + * @param string $val The notificationUrlAppId + * + * @return Subscription + */ + public function setNotificationUrlAppId($val) + { + $this->_propDict["notificationUrlAppId"] = $val; + return $this; + } + + /** + * Gets the resource + * Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. + * + * @return string|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. + * + * @param string $val The resource + * + * @return Subscription + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SuggestedEnrollmentLimit.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SuggestedEnrollmentLimit.php new file mode 100644 index 0000000..5d9b989 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SuggestedEnrollmentLimit.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["suggestedDailyLimit"]; + } else { + return null; + } + } + + /** + * Sets the suggestedDailyLimit + * The suggested enrollment limit within a day + * + * @param int $val The value of the suggestedDailyLimit + * + * @return SuggestedEnrollmentLimit + */ + public function setSuggestedDailyLimit($val) + { + $this->_propDict["suggestedDailyLimit"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SwapShiftsChangeRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SwapShiftsChangeRequest.php new file mode 100644 index 0000000..5b0e14f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SwapShiftsChangeRequest.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["recipientShiftId"]; + } else { + return null; + } + } + + /** + * Sets the recipientShiftId + * Shift ID for the recipient user with whom the request is to swap. + * + * @param string $val The recipientShiftId + * + * @return SwapShiftsChangeRequest + */ + public function setRecipientShiftId($val) + { + $this->_propDict["recipientShiftId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SymantecCodeSigningCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SymantecCodeSigningCertificate.php new file mode 100644 index 0000000..62cc974 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SymantecCodeSigningCertificate.php @@ -0,0 +1,304 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The Windows Symantec Code-Signing Certificate in the raw data format. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return SymantecCodeSigningCertificate + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The Cert Expiration Date. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The Cert Expiration Date. + * + * @param \DateTime $val The expirationDateTime + * + * @return SymantecCodeSigningCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the issuer + * The Issuer value for the cert. + * + * @return string|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * The Issuer value for the cert. + * + * @param string $val The issuer + * + * @return SymantecCodeSigningCertificate + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the issuerName + * The Issuer Name for the cert. + * + * @return string|null The issuerName + */ + public function getIssuerName() + { + if (array_key_exists("issuerName", $this->_propDict)) { + return $this->_propDict["issuerName"]; + } else { + return null; + } + } + + /** + * Sets the issuerName + * The Issuer Name for the cert. + * + * @param string $val The issuerName + * + * @return SymantecCodeSigningCertificate + */ + public function setIssuerName($val) + { + $this->_propDict["issuerName"] = $val; + return $this; + } + + /** + * Gets the password + * The Password required for .pfx file. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * The Password required for .pfx file. + * + * @param string $val The password + * + * @return SymantecCodeSigningCertificate + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } + + /** + * Gets the status + * The Cert Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned. + * + * @return CertificateStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CertificateStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CertificateStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The Cert Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned. + * + * @param CertificateStatus $val The status + * + * @return SymantecCodeSigningCertificate + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the subject + * The Subject value for the cert. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The Subject value for the cert. + * + * @param string $val The subject + * + * @return SymantecCodeSigningCertificate + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the subjectName + * The Subject Name for the cert. + * + * @return string|null The subjectName + */ + public function getSubjectName() + { + if (array_key_exists("subjectName", $this->_propDict)) { + return $this->_propDict["subjectName"]; + } else { + return null; + } + } + + /** + * Sets the subjectName + * The Subject Name for the cert. + * + * @param string $val The subjectName + * + * @return SymantecCodeSigningCertificate + */ + public function setSubjectName($val) + { + $this->_propDict["subjectName"] = $val; + return $this; + } + + /** + * Gets the uploadDateTime + * The Type of the CodeSigning Cert as Symantec Cert. + * + * @return \DateTime|null The uploadDateTime + */ + public function getUploadDateTime() + { + if (array_key_exists("uploadDateTime", $this->_propDict)) { + if (is_a($this->_propDict["uploadDateTime"], "\DateTime") || is_null($this->_propDict["uploadDateTime"])) { + return $this->_propDict["uploadDateTime"]; + } else { + $this->_propDict["uploadDateTime"] = new \DateTime($this->_propDict["uploadDateTime"]); + return $this->_propDict["uploadDateTime"]; + } + } + return null; + } + + /** + * Sets the uploadDateTime + * The Type of the CodeSigning Cert as Symantec Cert. + * + * @param \DateTime $val The uploadDateTime + * + * @return SymantecCodeSigningCertificate + */ + public function setUploadDateTime($val) + { + $this->_propDict["uploadDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Synchronization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Synchronization.php new file mode 100644 index 0000000..82c9a70 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Synchronization.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["secrets"]; + } else { + return null; + } + } + + /** + * Sets the secrets + * Represents a collection of credentials to access provisioned cloud applications. + * + * @param SynchronizationSecretKeyStringValuePair[] $val The secrets + * + * @return Synchronization + */ + public function setSecrets($val) + { + $this->_propDict["secrets"] = $val; + return $this; + } + + + /** + * Gets the jobs + * Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. + * + * @return array|null The jobs + */ + public function getJobs() + { + if (array_key_exists("jobs", $this->_propDict)) { + return $this->_propDict["jobs"]; + } else { + return null; + } + } + + /** + * Sets the jobs + * Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. + * + * @param SynchronizationJob[] $val The jobs + * + * @return Synchronization + */ + public function setJobs($val) + { + $this->_propDict["jobs"] = $val; + return $this; + } + + + /** + * Gets the templates + * Pre-configured synchronization settings for a particular application. + * + * @return array|null The templates + */ + public function getTemplates() + { + if (array_key_exists("templates", $this->_propDict)) { + return $this->_propDict["templates"]; + } else { + return null; + } + } + + /** + * Sets the templates + * Pre-configured synchronization settings for a particular application. + * + * @param SynchronizationTemplate[] $val The templates + * + * @return Synchronization + */ + public function setTemplates($val) + { + $this->_propDict["templates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationError.php new file mode 100644 index 0000000..0b1e9da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationError.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The value of the code + * + * @return SynchronizationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * + * @param string $val The value of the message + * + * @return SynchronizationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the tenantActionable + * + * @return bool|null The tenantActionable + */ + public function getTenantActionable() + { + if (array_key_exists("tenantActionable", $this->_propDict)) { + return $this->_propDict["tenantActionable"]; + } else { + return null; + } + } + + /** + * Sets the tenantActionable + * + * @param bool $val The value of the tenantActionable + * + * @return SynchronizationError + */ + public function setTenantActionable($val) + { + $this->_propDict["tenantActionable"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJob.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJob.php new file mode 100644 index 0000000..6296a8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJob.php @@ -0,0 +1,185 @@ +_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\SynchronizationSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new SynchronizationSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * Schedule used to run the job. Read-only. + * + * @param SynchronizationSchedule $val The schedule + * + * @return SynchronizationJob + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the job, which includes when the job was last run, current job state, and errors. + * + * @return SynchronizationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SynchronizationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SynchronizationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the job, which includes when the job was last run, current job state, and errors. + * + * @param SynchronizationStatus $val The status + * + * @return SynchronizationJob + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the synchronizationJobSettings + * Settings associated with the job. Some settings are inherited from the template. + * + * @return array|null The synchronizationJobSettings + */ + public function getSynchronizationJobSettings() + { + if (array_key_exists("synchronizationJobSettings", $this->_propDict)) { + return $this->_propDict["synchronizationJobSettings"]; + } else { + return null; + } + } + + /** + * Sets the synchronizationJobSettings + * Settings associated with the job. Some settings are inherited from the template. + * + * @param KeyValuePair[] $val The synchronizationJobSettings + * + * @return SynchronizationJob + */ + public function setSynchronizationJobSettings($val) + { + $this->_propDict["synchronizationJobSettings"] = $val; + return $this; + } + + /** + * Gets the templateId + * Identifier of the synchronization template this job is based on. + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * Identifier of the synchronization template this job is based on. + * + * @param string $val The templateId + * + * @return SynchronizationJob + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + /** + * Gets the schema + * The synchronization schema configured for the job. + * + * @return SynchronizationSchema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\SynchronizationSchema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new SynchronizationSchema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * The synchronization schema configured for the job. + * + * @param SynchronizationSchema $val The schema + * + * @return SynchronizationJob + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobApplicationParameters.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobApplicationParameters.php new file mode 100644 index 0000000..4b3a1e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobApplicationParameters.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["ruleId"]; + } else { + return null; + } + } + + /** + * Sets the ruleId + * The identifier of the synchronizationRule to be applied. This rule ID is defined in the schema for a given synchronization job or template. + * + * @param string $val The value of the ruleId + * + * @return SynchronizationJobApplicationParameters + */ + public function setRuleId($val) + { + $this->_propDict["ruleId"] = $val; + return $this; + } + + /** + * Gets the subjects + * The identifiers of one or more objects to which a synchronizationJob is to be applied. + * + * @return SynchronizationJobSubject|null The subjects + */ + public function getSubjects() + { + if (array_key_exists("subjects", $this->_propDict)) { + if (is_a($this->_propDict["subjects"], "\Beta\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["subjects"])) { + return $this->_propDict["subjects"]; + } else { + $this->_propDict["subjects"] = new SynchronizationJobSubject($this->_propDict["subjects"]); + return $this->_propDict["subjects"]; + } + } + return null; + } + + /** + * Sets the subjects + * The identifiers of one or more objects to which a synchronizationJob is to be applied. + * + * @param SynchronizationJobSubject $val The value to assign to the subjects + * + * @return SynchronizationJobApplicationParameters The SynchronizationJobApplicationParameters + */ + public function setSubjects($val) + { + $this->_propDict["subjects"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartCriteria.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartCriteria.php new file mode 100644 index 0000000..0a3669c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartCriteria.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["resetScope"], "\Beta\Microsoft\Graph\Model\SynchronizationJobRestartScope") || is_null($this->_propDict["resetScope"])) { + return $this->_propDict["resetScope"]; + } else { + $this->_propDict["resetScope"] = new SynchronizationJobRestartScope($this->_propDict["resetScope"]); + return $this->_propDict["resetScope"]; + } + } + return null; + } + + /** + * Sets the resetScope + * Comma-separated combination of the following values: Full, QuarantineState, Watermark, Escrows, ConnectorDataStore. Use Full if you want all of the options. + * + * @param SynchronizationJobRestartScope $val The value to assign to the resetScope + * + * @return SynchronizationJobRestartCriteria The SynchronizationJobRestartCriteria + */ + public function setResetScope($val) + { + $this->_propDict["resetScope"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartScope.php new file mode 100644 index 0000000..50e96cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartScope.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\SynchronizationLinkedObjects") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new SynchronizationLinkedObjects($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * + * @param SynchronizationLinkedObjects $val The value to assign to the links + * + * @return SynchronizationJobSubject The SynchronizationJobSubject + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + /** + * Gets the objectId + * The identifier of an object to which a synchronizationJob is to be applied. Can be one of the following: An onPremisesDistinguishedName for synchronization from Active Directory to Azure AD.The user ID for synchronization from Azure AD to a third-party.The Worker ID of the Workday worker for synchronization from Workday to either Active Directory or Azure AD. + * + * @return string|null The objectId + */ + public function getObjectId() + { + if (array_key_exists("objectId", $this->_propDict)) { + return $this->_propDict["objectId"]; + } else { + return null; + } + } + + /** + * Sets the objectId + * The identifier of an object to which a synchronizationJob is to be applied. Can be one of the following: An onPremisesDistinguishedName for synchronization from Active Directory to Azure AD.The user ID for synchronization from Azure AD to a third-party.The Worker ID of the Workday worker for synchronization from Workday to either Active Directory or Azure AD. + * + * @param string $val The value of the objectId + * + * @return SynchronizationJobSubject + */ + public function setObjectId($val) + { + $this->_propDict["objectId"] = $val; + return $this; + } + /** + * Gets the objectTypeName + * The type of the object to which a synchronizationJob is to be applied. Can be one of the following: user for synchronization from Active Directory to Azure AD.User for synchronization from Azure AD to a third-party application. Worker for synchronization from Workday to either Active Directory or Azure AD. + * + * @return string|null The objectTypeName + */ + public function getObjectTypeName() + { + if (array_key_exists("objectTypeName", $this->_propDict)) { + return $this->_propDict["objectTypeName"]; + } else { + return null; + } + } + + /** + * Sets the objectTypeName + * The type of the object to which a synchronizationJob is to be applied. Can be one of the following: user for synchronization from Active Directory to Azure AD.User for synchronization from Azure AD to a third-party application. Worker for synchronization from Workday to either Active Directory or Azure AD. + * + * @param string $val The value of the objectTypeName + * + * @return SynchronizationJobSubject + */ + public function setObjectTypeName($val) + { + $this->_propDict["objectTypeName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationLinkedObjects.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationLinkedObjects.php new file mode 100644 index 0000000..87a928f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationLinkedObjects.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new SynchronizationJobSubject($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * + * @param SynchronizationJobSubject $val The value to assign to the manager + * + * @return SynchronizationLinkedObjects The SynchronizationLinkedObjects + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + /** + * Gets the members + * + * @return SynchronizationJobSubject|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Beta\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new SynchronizationJobSubject($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * + * @param SynchronizationJobSubject $val The value to assign to the members + * + * @return SynchronizationLinkedObjects The SynchronizationLinkedObjects + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + /** + * Gets the owners + * + * @return SynchronizationJobSubject|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + if (is_a($this->_propDict["owners"], "\Beta\Microsoft\Graph\Model\SynchronizationJobSubject") || is_null($this->_propDict["owners"])) { + return $this->_propDict["owners"]; + } else { + $this->_propDict["owners"] = new SynchronizationJobSubject($this->_propDict["owners"]); + return $this->_propDict["owners"]; + } + } + return null; + } + + /** + * Sets the owners + * + * @param SynchronizationJobSubject $val The value to assign to the owners + * + * @return SynchronizationLinkedObjects The SynchronizationLinkedObjects + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationProgress.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationProgress.php new file mode 100644 index 0000000..bd742ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationProgress.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["completedUnits"]; + } else { + return null; + } + } + + /** + * Sets the completedUnits + * The numerator of a progress ratio; the number of units of changes already processed. + * + * @param int $val The value of the completedUnits + * + * @return SynchronizationProgress + */ + public function setCompletedUnits($val) + { + $this->_propDict["completedUnits"] = $val; + return $this; + } + + /** + * Gets the progressObservationDateTime + * The time of a progress observation as an offset in minutes from UTC. + * + * @return \DateTime|null The progressObservationDateTime + */ + public function getProgressObservationDateTime() + { + if (array_key_exists("progressObservationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["progressObservationDateTime"], "\DateTime") || is_null($this->_propDict["progressObservationDateTime"])) { + return $this->_propDict["progressObservationDateTime"]; + } else { + $this->_propDict["progressObservationDateTime"] = new \DateTime($this->_propDict["progressObservationDateTime"]); + return $this->_propDict["progressObservationDateTime"]; + } + } + return null; + } + + /** + * Sets the progressObservationDateTime + * The time of a progress observation as an offset in minutes from UTC. + * + * @param \DateTime $val The value to assign to the progressObservationDateTime + * + * @return SynchronizationProgress The SynchronizationProgress + */ + public function setProgressObservationDateTime($val) + { + $this->_propDict["progressObservationDateTime"] = $val; + return $this; + } + /** + * Gets the totalUnits + * The denominator of a progress ratio; a number of units of changes to be processed to accomplish synchronization. + * + * @return int|null The totalUnits + */ + public function getTotalUnits() + { + if (array_key_exists("totalUnits", $this->_propDict)) { + return $this->_propDict["totalUnits"]; + } else { + return null; + } + } + + /** + * Sets the totalUnits + * The denominator of a progress ratio; a number of units of changes to be processed to accomplish synchronization. + * + * @param int $val The value of the totalUnits + * + * @return SynchronizationProgress + */ + public function setTotalUnits($val) + { + $this->_propDict["totalUnits"] = $val; + return $this; + } + /** + * Gets the units + * An optional description of the units. + * + * @return string|null The units + */ + public function getUnits() + { + if (array_key_exists("units", $this->_propDict)) { + return $this->_propDict["units"]; + } else { + return null; + } + } + + /** + * Sets the units + * An optional description of the units. + * + * @param string $val The value of the units + * + * @return SynchronizationProgress + */ + public function setUnits($val) + { + $this->_propDict["units"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationQuarantine.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationQuarantine.php new file mode 100644 index 0000000..9010480 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationQuarantine.php @@ -0,0 +1,219 @@ +_propDict)) { + if (is_a($this->_propDict["currentBegan"], "\DateTime") || is_null($this->_propDict["currentBegan"])) { + return $this->_propDict["currentBegan"]; + } else { + $this->_propDict["currentBegan"] = new \DateTime($this->_propDict["currentBegan"]); + return $this->_propDict["currentBegan"]; + } + } + return null; + } + + /** + * Sets the currentBegan + * Date and time when the quarantine was last evaluated and imposed. 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 currentBegan + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setCurrentBegan($val) + { + $this->_propDict["currentBegan"] = $val; + return $this; + } + + /** + * Gets the error + * Describes the error(s) that occurred when putting the synchronization job into quarantine. + * + * @return SynchronizationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\SynchronizationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new SynchronizationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Describes the error(s) that occurred when putting the synchronization job into quarantine. + * + * @param SynchronizationError $val The value to assign to the error + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the nextAttempt + * Date and time when the next attempt to re-evaluate the quarantine will be made. 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 nextAttempt + */ + public function getNextAttempt() + { + if (array_key_exists("nextAttempt", $this->_propDict)) { + if (is_a($this->_propDict["nextAttempt"], "\DateTime") || is_null($this->_propDict["nextAttempt"])) { + return $this->_propDict["nextAttempt"]; + } else { + $this->_propDict["nextAttempt"] = new \DateTime($this->_propDict["nextAttempt"]); + return $this->_propDict["nextAttempt"]; + } + } + return null; + } + + /** + * Sets the nextAttempt + * Date and time when the next attempt to re-evaluate the quarantine will be made. 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 nextAttempt + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setNextAttempt($val) + { + $this->_propDict["nextAttempt"] = $val; + return $this; + } + + /** + * Gets the reason + * A code that signifies why the quarantine was imposed. Possible values are: EncounteredBaseEscrowThreshold, EncounteredTotalEscrowThreshold, EncounteredEscrowProportionThreshold, EncounteredQuarantineException, QuarantinedOnDemand, TooManyDeletes, Unknown. + * + * @return QuarantineReason|null The reason + */ + public function getReason() + { + if (array_key_exists("reason", $this->_propDict)) { + if (is_a($this->_propDict["reason"], "\Beta\Microsoft\Graph\Model\QuarantineReason") || is_null($this->_propDict["reason"])) { + return $this->_propDict["reason"]; + } else { + $this->_propDict["reason"] = new QuarantineReason($this->_propDict["reason"]); + return $this->_propDict["reason"]; + } + } + return null; + } + + /** + * Sets the reason + * A code that signifies why the quarantine was imposed. Possible values are: EncounteredBaseEscrowThreshold, EncounteredTotalEscrowThreshold, EncounteredEscrowProportionThreshold, EncounteredQuarantineException, QuarantinedOnDemand, TooManyDeletes, Unknown. + * + * @param QuarantineReason $val The value to assign to the reason + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the seriesBegan + * Date and time when the quarantine was first imposed in this series (a series starts when a quarantine is first imposed, and is reset as soon as the quarantine is lifted). 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 seriesBegan + */ + public function getSeriesBegan() + { + if (array_key_exists("seriesBegan", $this->_propDict)) { + if (is_a($this->_propDict["seriesBegan"], "\DateTime") || is_null($this->_propDict["seriesBegan"])) { + return $this->_propDict["seriesBegan"]; + } else { + $this->_propDict["seriesBegan"] = new \DateTime($this->_propDict["seriesBegan"]); + return $this->_propDict["seriesBegan"]; + } + } + return null; + } + + /** + * Sets the seriesBegan + * Date and time when the quarantine was first imposed in this series (a series starts when a quarantine is first imposed, and is reset as soon as the quarantine is lifted). 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 seriesBegan + * + * @return SynchronizationQuarantine The SynchronizationQuarantine + */ + public function setSeriesBegan($val) + { + $this->_propDict["seriesBegan"] = $val; + return $this; + } + /** + * Gets the seriesCount + * Number of times in this series the quarantine was re-evaluated and left in effect (a series starts when quarantine is first imposed, and is reset as soon as quarantine is lifted). + * + * @return int|null The seriesCount + */ + public function getSeriesCount() + { + if (array_key_exists("seriesCount", $this->_propDict)) { + return $this->_propDict["seriesCount"]; + } else { + return null; + } + } + + /** + * Sets the seriesCount + * Number of times in this series the quarantine was re-evaluated and left in effect (a series starts when quarantine is first imposed, and is reset as soon as quarantine is lifted). + * + * @param int $val The value of the seriesCount + * + * @return SynchronizationQuarantine + */ + public function setSeriesCount($val) + { + $this->_propDict["seriesCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php new file mode 100644 index 0000000..7aabb06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php @@ -0,0 +1,260 @@ +_propDict)) { + return $this->_propDict["editable"]; + } else { + return null; + } + } + + /** + * Sets the editable + * true if the synchronization rule can be customized; false if this rule is read-only and should not be changed. + * + * @param bool $val The value of the editable + * + * @return SynchronizationRule + */ + public function setEditable($val) + { + $this->_propDict["editable"] = $val; + return $this; + } + /** + * Gets the id + * Synchronization rule identifier. Must be one of the identifiers recognized by the synchronization engine. Supported rule identifiers can be found in the synchronization template returned by the API. + * + * @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 + * Synchronization rule identifier. Must be one of the identifiers recognized by the synchronization engine. Supported rule identifiers can be found in the synchronization template returned by the API. + * + * @param string $val The value of the id + * + * @return SynchronizationRule + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the metadata + * Additional extension properties. Unless instructed explicitly by the support team, metadata values should not be changed. + * + * @return StringKeyStringValuePair|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\StringKeyStringValuePair") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new StringKeyStringValuePair($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * Additional extension properties. Unless instructed explicitly by the support team, metadata values should not be changed. + * + * @param StringKeyStringValuePair $val The value to assign to the metadata + * + * @return SynchronizationRule The SynchronizationRule + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + /** + * Gets the name + * Human-readable name of the synchronization rule. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Human-readable name of the synchronization rule. Not nullable. + * + * @param string $val The value of the name + * + * @return SynchronizationRule + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the objectMappings + * Collection of object mappings supported by the rule. Tells the synchronization engine which objects should be synchronized. + * + * @return ObjectMapping|null The objectMappings + */ + public function getObjectMappings() + { + if (array_key_exists("objectMappings", $this->_propDict)) { + if (is_a($this->_propDict["objectMappings"], "\Beta\Microsoft\Graph\Model\ObjectMapping") || is_null($this->_propDict["objectMappings"])) { + return $this->_propDict["objectMappings"]; + } else { + $this->_propDict["objectMappings"] = new ObjectMapping($this->_propDict["objectMappings"]); + return $this->_propDict["objectMappings"]; + } + } + return null; + } + + /** + * Sets the objectMappings + * Collection of object mappings supported by the rule. Tells the synchronization engine which objects should be synchronized. + * + * @param ObjectMapping $val The value to assign to the objectMappings + * + * @return SynchronizationRule The SynchronizationRule + */ + public function setObjectMappings($val) + { + $this->_propDict["objectMappings"] = $val; + return $this; + } + /** + * Gets the priority + * Priority relative to other rules in the synchronizationSchema. Rules with the lowest priority number will be processed first. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority relative to other rules in the synchronizationSchema. Rules with the lowest priority number will be processed first. + * + * @param int $val The value of the priority + * + * @return SynchronizationRule + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + /** + * Gets the sourceDirectoryName + * Name of the source directory. Must match one of the directory definitions in synchronizationSchema. + * + * @return string|null The sourceDirectoryName + */ + public function getSourceDirectoryName() + { + if (array_key_exists("sourceDirectoryName", $this->_propDict)) { + return $this->_propDict["sourceDirectoryName"]; + } else { + return null; + } + } + + /** + * Sets the sourceDirectoryName + * Name of the source directory. Must match one of the directory definitions in synchronizationSchema. + * + * @param string $val The value of the sourceDirectoryName + * + * @return SynchronizationRule + */ + public function setSourceDirectoryName($val) + { + $this->_propDict["sourceDirectoryName"] = $val; + return $this; + } + /** + * Gets the targetDirectoryName + * Name of the target directory. Must match one of the directory definitions in synchronizationSchema. + * + * @return string|null The targetDirectoryName + */ + public function getTargetDirectoryName() + { + if (array_key_exists("targetDirectoryName", $this->_propDict)) { + return $this->_propDict["targetDirectoryName"]; + } else { + return null; + } + } + + /** + * Sets the targetDirectoryName + * Name of the target directory. Must match one of the directory definitions in synchronizationSchema. + * + * @param string $val The value of the targetDirectoryName + * + * @return SynchronizationRule + */ + public function setTargetDirectoryName($val) + { + $this->_propDict["targetDirectoryName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSchedule.php new file mode 100644 index 0000000..d8112dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSchedule.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["expiration"], "\DateTime") || is_null($this->_propDict["expiration"])) { + return $this->_propDict["expiration"]; + } else { + $this->_propDict["expiration"] = new \DateTime($this->_propDict["expiration"]); + return $this->_propDict["expiration"]; + } + } + return null; + } + + /** + * Sets the expiration + * Date and time when this job will expire. 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 expiration + * + * @return SynchronizationSchedule The SynchronizationSchedule + */ + public function setExpiration($val) + { + $this->_propDict["expiration"] = $val; + return $this; + } + + /** + * Gets the interval + * The interval between synchronization iterations. + * + * @return \DateInterval|null The interval + */ + public function getInterval() + { + if (array_key_exists("interval", $this->_propDict)) { + if (is_a($this->_propDict["interval"], "\DateInterval") || is_null($this->_propDict["interval"])) { + return $this->_propDict["interval"]; + } else { + $this->_propDict["interval"] = new \DateInterval($this->_propDict["interval"]); + return $this->_propDict["interval"]; + } + } + return null; + } + + /** + * Sets the interval + * The interval between synchronization iterations. + * + * @param \DateInterval $val The value to assign to the interval + * + * @return SynchronizationSchedule The SynchronizationSchedule + */ + public function setInterval($val) + { + $this->_propDict["interval"] = $val; + return $this; + } + + /** + * Gets the state + * Possible values are: Active, Disabled. + * + * @return SynchronizationScheduleState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SynchronizationScheduleState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SynchronizationScheduleState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Possible values are: Active, Disabled. + * + * @param SynchronizationScheduleState $val The value to assign to the state + * + * @return SynchronizationSchedule The SynchronizationSchedule + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationScheduleState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationScheduleState.php new file mode 100644 index 0000000..4bebfff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationScheduleState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["synchronizationRules"]; + } else { + return null; + } + } + + /** + * Sets the synchronizationRules + * A collection of synchronization rules configured for the synchronizationJob or synchronizationTemplate. + * + * @param SynchronizationRule[] $val The synchronizationRules + * + * @return SynchronizationSchema + */ + public function setSynchronizationRules($val) + { + $this->_propDict["synchronizationRules"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the schema, updated automatically with every schema change. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the schema, updated automatically with every schema change. + * + * @param string $val The version + * + * @return SynchronizationSchema + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the directories + * Contains the collection of directories and all of their objects. + * + * @return array|null The directories + */ + public function getDirectories() + { + if (array_key_exists("directories", $this->_propDict)) { + return $this->_propDict["directories"]; + } else { + return null; + } + } + + /** + * Sets the directories + * Contains the collection of directories and all of their objects. + * + * @param DirectoryDefinition[] $val The directories + * + * @return SynchronizationSchema + */ + public function setDirectories($val) + { + $this->_propDict["directories"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSecret.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSecret.php new file mode 100644 index 0000000..d347dc5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSecret.php @@ -0,0 +1,77 @@ +_propDict)) { + if (is_a($this->_propDict["key"], "\Beta\Microsoft\Graph\Model\SynchronizationSecret") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = new SynchronizationSecret($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Possible values are: None, UserName, Password, SecretToken, AppKey, BaseAddress, ClientIdentifier, ClientSecret, SingleSignOnType, Sandbox, Url, Domain, ConsumerKey, ConsumerSecret, TokenKey, TokenExpiration, Oauth2AccessToken, Oauth2AccessTokenCreationTime, Oauth2RefreshToken, SyncAll, InstanceName, Oauth2ClientId, Oauth2ClientSecret, CompanyId, UpdateKeyOnSoftDelete, SynchronizationSchedule, SystemOfRecord, SandboxName, EnforceDomain, SyncNotificationSettings, Server, PerformInboundEntitlementGrants, HardDeletesEnabled, SyncAgentCompatibilityKey, SyncAgentADContainer, ValidateDomain, Oauth2TokenExchangeUri, Oauth2AuthorizationUri, AuthenticationType, TestReferences, ConnectionString. + * + * @param SynchronizationSecret $val The value to assign to the key + * + * @return SynchronizationSecretKeyStringValuePair The SynchronizationSecretKeyStringValuePair + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * The value of the secret. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value of the secret. + * + * @param string $val The value of the value + * + * @return SynchronizationSecretKeyStringValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatus.php new file mode 100644 index 0000000..e866030 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatus.php @@ -0,0 +1,407 @@ +_propDict)) { + if (is_a($this->_propDict["code"], "\Beta\Microsoft\Graph\Model\SynchronizationStatusCode") || is_null($this->_propDict["code"])) { + return $this->_propDict["code"]; + } else { + $this->_propDict["code"] = new SynchronizationStatusCode($this->_propDict["code"]); + return $this->_propDict["code"]; + } + } + return null; + } + + /** + * Sets the code + * High-level status code of the synchronization job. Possible values are: NotConfigured, NotRun, Active, Paused, Quarantine. + * + * @param SynchronizationStatusCode $val The value to assign to the code + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the countSuccessiveCompleteFailures + * Number of consecutive times this job failed. + * + * @return int|null The countSuccessiveCompleteFailures + */ + public function getCountSuccessiveCompleteFailures() + { + if (array_key_exists("countSuccessiveCompleteFailures", $this->_propDict)) { + return $this->_propDict["countSuccessiveCompleteFailures"]; + } else { + return null; + } + } + + /** + * Sets the countSuccessiveCompleteFailures + * Number of consecutive times this job failed. + * + * @param int $val The value of the countSuccessiveCompleteFailures + * + * @return SynchronizationStatus + */ + public function setCountSuccessiveCompleteFailures($val) + { + $this->_propDict["countSuccessiveCompleteFailures"] = $val; + return $this; + } + /** + * Gets the escrowsPruned + * true if the job's escrows (object-level errors) were pruned during initial synchronization. Escrows can be pruned if during the initial synchronization, you reach the threshold of errors that would normally put the job in quarantine. Instead of going into quarantine, the synchronization process clears the job's errors and continues until the initial synchronization is completed. When the initial synchronization is completed, the job will pause and wait for the customer to clean up the errors. + * + * @return bool|null The escrowsPruned + */ + public function getEscrowsPruned() + { + if (array_key_exists("escrowsPruned", $this->_propDict)) { + return $this->_propDict["escrowsPruned"]; + } else { + return null; + } + } + + /** + * Sets the escrowsPruned + * true if the job's escrows (object-level errors) were pruned during initial synchronization. Escrows can be pruned if during the initial synchronization, you reach the threshold of errors that would normally put the job in quarantine. Instead of going into quarantine, the synchronization process clears the job's errors and continues until the initial synchronization is completed. When the initial synchronization is completed, the job will pause and wait for the customer to clean up the errors. + * + * @param bool $val The value of the escrowsPruned + * + * @return SynchronizationStatus + */ + public function setEscrowsPruned($val) + { + $this->_propDict["escrowsPruned"] = $val; + return $this; + } + + /** + * Gets the lastExecution + * Details of the last execution of the job. + * + * @return SynchronizationTaskExecution|null The lastExecution + */ + public function getLastExecution() + { + if (array_key_exists("lastExecution", $this->_propDict)) { + if (is_a($this->_propDict["lastExecution"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecution") || is_null($this->_propDict["lastExecution"])) { + return $this->_propDict["lastExecution"]; + } else { + $this->_propDict["lastExecution"] = new SynchronizationTaskExecution($this->_propDict["lastExecution"]); + return $this->_propDict["lastExecution"]; + } + } + return null; + } + + /** + * Sets the lastExecution + * Details of the last execution of the job. + * + * @param SynchronizationTaskExecution $val The value to assign to the lastExecution + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setLastExecution($val) + { + $this->_propDict["lastExecution"] = $val; + return $this; + } + + /** + * Gets the lastSuccessfulExecution + * Details of the last execution of this job, which didn't have any errors. + * + * @return SynchronizationTaskExecution|null The lastSuccessfulExecution + */ + public function getLastSuccessfulExecution() + { + if (array_key_exists("lastSuccessfulExecution", $this->_propDict)) { + if (is_a($this->_propDict["lastSuccessfulExecution"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecution") || is_null($this->_propDict["lastSuccessfulExecution"])) { + return $this->_propDict["lastSuccessfulExecution"]; + } else { + $this->_propDict["lastSuccessfulExecution"] = new SynchronizationTaskExecution($this->_propDict["lastSuccessfulExecution"]); + return $this->_propDict["lastSuccessfulExecution"]; + } + } + return null; + } + + /** + * Sets the lastSuccessfulExecution + * Details of the last execution of this job, which didn't have any errors. + * + * @param SynchronizationTaskExecution $val The value to assign to the lastSuccessfulExecution + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setLastSuccessfulExecution($val) + { + $this->_propDict["lastSuccessfulExecution"] = $val; + return $this; + } + + /** + * Gets the lastSuccessfulExecutionWithExports + * Details of the last execution of the job, which exported objects into the target directory. + * + * @return SynchronizationTaskExecution|null The lastSuccessfulExecutionWithExports + */ + public function getLastSuccessfulExecutionWithExports() + { + if (array_key_exists("lastSuccessfulExecutionWithExports", $this->_propDict)) { + if (is_a($this->_propDict["lastSuccessfulExecutionWithExports"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecution") || is_null($this->_propDict["lastSuccessfulExecutionWithExports"])) { + return $this->_propDict["lastSuccessfulExecutionWithExports"]; + } else { + $this->_propDict["lastSuccessfulExecutionWithExports"] = new SynchronizationTaskExecution($this->_propDict["lastSuccessfulExecutionWithExports"]); + return $this->_propDict["lastSuccessfulExecutionWithExports"]; + } + } + return null; + } + + /** + * Sets the lastSuccessfulExecutionWithExports + * Details of the last execution of the job, which exported objects into the target directory. + * + * @param SynchronizationTaskExecution $val The value to assign to the lastSuccessfulExecutionWithExports + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setLastSuccessfulExecutionWithExports($val) + { + $this->_propDict["lastSuccessfulExecutionWithExports"] = $val; + return $this; + } + + /** + * Gets the progress + * Details of the progress of a job toward completion. + * + * @return SynchronizationProgress|null The progress + */ + public function getProgress() + { + if (array_key_exists("progress", $this->_propDict)) { + if (is_a($this->_propDict["progress"], "\Beta\Microsoft\Graph\Model\SynchronizationProgress") || is_null($this->_propDict["progress"])) { + return $this->_propDict["progress"]; + } else { + $this->_propDict["progress"] = new SynchronizationProgress($this->_propDict["progress"]); + return $this->_propDict["progress"]; + } + } + return null; + } + + /** + * Sets the progress + * Details of the progress of a job toward completion. + * + * @param SynchronizationProgress $val The value to assign to the progress + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setProgress($val) + { + $this->_propDict["progress"] = $val; + return $this; + } + + /** + * Gets the quarantine + * If job is in quarantine, quarantine details. + * + * @return SynchronizationQuarantine|null The quarantine + */ + public function getQuarantine() + { + if (array_key_exists("quarantine", $this->_propDict)) { + if (is_a($this->_propDict["quarantine"], "\Beta\Microsoft\Graph\Model\SynchronizationQuarantine") || is_null($this->_propDict["quarantine"])) { + return $this->_propDict["quarantine"]; + } else { + $this->_propDict["quarantine"] = new SynchronizationQuarantine($this->_propDict["quarantine"]); + return $this->_propDict["quarantine"]; + } + } + return null; + } + + /** + * Sets the quarantine + * If job is in quarantine, quarantine details. + * + * @param SynchronizationQuarantine $val The value to assign to the quarantine + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setQuarantine($val) + { + $this->_propDict["quarantine"] = $val; + return $this; + } + + /** + * Gets the steadyStateFirstAchievedTime + * The time when steady state (no more changes to the process) was first achieved. 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 steadyStateFirstAchievedTime + */ + public function getSteadyStateFirstAchievedTime() + { + if (array_key_exists("steadyStateFirstAchievedTime", $this->_propDict)) { + if (is_a($this->_propDict["steadyStateFirstAchievedTime"], "\DateTime") || is_null($this->_propDict["steadyStateFirstAchievedTime"])) { + return $this->_propDict["steadyStateFirstAchievedTime"]; + } else { + $this->_propDict["steadyStateFirstAchievedTime"] = new \DateTime($this->_propDict["steadyStateFirstAchievedTime"]); + return $this->_propDict["steadyStateFirstAchievedTime"]; + } + } + return null; + } + + /** + * Sets the steadyStateFirstAchievedTime + * The time when steady state (no more changes to the process) was first achieved. 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 steadyStateFirstAchievedTime + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setSteadyStateFirstAchievedTime($val) + { + $this->_propDict["steadyStateFirstAchievedTime"] = $val; + return $this; + } + + /** + * Gets the steadyStateLastAchievedTime + * The time when steady state (no more changes to the process) was last achieved. 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 steadyStateLastAchievedTime + */ + public function getSteadyStateLastAchievedTime() + { + if (array_key_exists("steadyStateLastAchievedTime", $this->_propDict)) { + if (is_a($this->_propDict["steadyStateLastAchievedTime"], "\DateTime") || is_null($this->_propDict["steadyStateLastAchievedTime"])) { + return $this->_propDict["steadyStateLastAchievedTime"]; + } else { + $this->_propDict["steadyStateLastAchievedTime"] = new \DateTime($this->_propDict["steadyStateLastAchievedTime"]); + return $this->_propDict["steadyStateLastAchievedTime"]; + } + } + return null; + } + + /** + * Sets the steadyStateLastAchievedTime + * The time when steady state (no more changes to the process) was last achieved. 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 steadyStateLastAchievedTime + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setSteadyStateLastAchievedTime($val) + { + $this->_propDict["steadyStateLastAchievedTime"] = $val; + return $this; + } + + /** + * Gets the synchronizedEntryCountByType + * Count of synchronized objects, listed by object type. + * + * @return StringKeyLongValuePair|null The synchronizedEntryCountByType + */ + public function getSynchronizedEntryCountByType() + { + if (array_key_exists("synchronizedEntryCountByType", $this->_propDict)) { + if (is_a($this->_propDict["synchronizedEntryCountByType"], "\Beta\Microsoft\Graph\Model\StringKeyLongValuePair") || is_null($this->_propDict["synchronizedEntryCountByType"])) { + return $this->_propDict["synchronizedEntryCountByType"]; + } else { + $this->_propDict["synchronizedEntryCountByType"] = new StringKeyLongValuePair($this->_propDict["synchronizedEntryCountByType"]); + return $this->_propDict["synchronizedEntryCountByType"]; + } + } + return null; + } + + /** + * Sets the synchronizedEntryCountByType + * Count of synchronized objects, listed by object type. + * + * @param StringKeyLongValuePair $val The value to assign to the synchronizedEntryCountByType + * + * @return SynchronizationStatus The SynchronizationStatus + */ + public function setSynchronizedEntryCountByType($val) + { + $this->_propDict["synchronizedEntryCountByType"] = $val; + return $this; + } + /** + * Gets the troubleshootingUrl + * In the event of an error, the URL with the troubleshooting steps for the issue. + * + * @return string|null The troubleshootingUrl + */ + public function getTroubleshootingUrl() + { + if (array_key_exists("troubleshootingUrl", $this->_propDict)) { + return $this->_propDict["troubleshootingUrl"]; + } else { + return null; + } + } + + /** + * Sets the troubleshootingUrl + * In the event of an error, the URL with the troubleshooting steps for the issue. + * + * @param string $val The value of the troubleshootingUrl + * + * @return SynchronizationStatus + */ + public function setTroubleshootingUrl($val) + { + $this->_propDict["troubleshootingUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatusCode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatusCode.php new file mode 100644 index 0000000..46993ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatusCode.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["activityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the activityIdentifier + * Identifier of the job run. + * + * @param string $val The value of the activityIdentifier + * + * @return SynchronizationTaskExecution + */ + public function setActivityIdentifier($val) + { + $this->_propDict["activityIdentifier"] = $val; + return $this; + } + /** + * Gets the countEntitled + * Count of processed entries that were assigned for this application. + * + * @return int|null The countEntitled + */ + public function getCountEntitled() + { + if (array_key_exists("countEntitled", $this->_propDict)) { + return $this->_propDict["countEntitled"]; + } else { + return null; + } + } + + /** + * Sets the countEntitled + * Count of processed entries that were assigned for this application. + * + * @param int $val The value of the countEntitled + * + * @return SynchronizationTaskExecution + */ + public function setCountEntitled($val) + { + $this->_propDict["countEntitled"] = $val; + return $this; + } + /** + * Gets the countEntitledForProvisioning + * Count of processed entries that were assigned for provisioning. + * + * @return int|null The countEntitledForProvisioning + */ + public function getCountEntitledForProvisioning() + { + if (array_key_exists("countEntitledForProvisioning", $this->_propDict)) { + return $this->_propDict["countEntitledForProvisioning"]; + } else { + return null; + } + } + + /** + * Sets the countEntitledForProvisioning + * Count of processed entries that were assigned for provisioning. + * + * @param int $val The value of the countEntitledForProvisioning + * + * @return SynchronizationTaskExecution + */ + public function setCountEntitledForProvisioning($val) + { + $this->_propDict["countEntitledForProvisioning"] = $val; + return $this; + } + /** + * Gets the countEscrowed + * Count of entries that were escrowed (errors). + * + * @return int|null The countEscrowed + */ + public function getCountEscrowed() + { + if (array_key_exists("countEscrowed", $this->_propDict)) { + return $this->_propDict["countEscrowed"]; + } else { + return null; + } + } + + /** + * Sets the countEscrowed + * Count of entries that were escrowed (errors). + * + * @param int $val The value of the countEscrowed + * + * @return SynchronizationTaskExecution + */ + public function setCountEscrowed($val) + { + $this->_propDict["countEscrowed"] = $val; + return $this; + } + /** + * Gets the countEscrowedRaw + * Count of entries that were escrowed, including system-generated escrows. + * + * @return int|null The countEscrowedRaw + */ + public function getCountEscrowedRaw() + { + if (array_key_exists("countEscrowedRaw", $this->_propDict)) { + return $this->_propDict["countEscrowedRaw"]; + } else { + return null; + } + } + + /** + * Sets the countEscrowedRaw + * Count of entries that were escrowed, including system-generated escrows. + * + * @param int $val The value of the countEscrowedRaw + * + * @return SynchronizationTaskExecution + */ + public function setCountEscrowedRaw($val) + { + $this->_propDict["countEscrowedRaw"] = $val; + return $this; + } + /** + * Gets the countExported + * Count of exported entries. + * + * @return int|null The countExported + */ + public function getCountExported() + { + if (array_key_exists("countExported", $this->_propDict)) { + return $this->_propDict["countExported"]; + } else { + return null; + } + } + + /** + * Sets the countExported + * Count of exported entries. + * + * @param int $val The value of the countExported + * + * @return SynchronizationTaskExecution + */ + public function setCountExported($val) + { + $this->_propDict["countExported"] = $val; + return $this; + } + /** + * Gets the countExports + * Count of entries that were expected to be exported. + * + * @return int|null The countExports + */ + public function getCountExports() + { + if (array_key_exists("countExports", $this->_propDict)) { + return $this->_propDict["countExports"]; + } else { + return null; + } + } + + /** + * Sets the countExports + * Count of entries that were expected to be exported. + * + * @param int $val The value of the countExports + * + * @return SynchronizationTaskExecution + */ + public function setCountExports($val) + { + $this->_propDict["countExports"] = $val; + return $this; + } + /** + * Gets the countImported + * Count of imported entries. + * + * @return int|null The countImported + */ + public function getCountImported() + { + if (array_key_exists("countImported", $this->_propDict)) { + return $this->_propDict["countImported"]; + } else { + return null; + } + } + + /** + * Sets the countImported + * Count of imported entries. + * + * @param int $val The value of the countImported + * + * @return SynchronizationTaskExecution + */ + public function setCountImported($val) + { + $this->_propDict["countImported"] = $val; + return $this; + } + /** + * Gets the countImportedDeltas + * Count of imported delta-changes. + * + * @return int|null The countImportedDeltas + */ + public function getCountImportedDeltas() + { + if (array_key_exists("countImportedDeltas", $this->_propDict)) { + return $this->_propDict["countImportedDeltas"]; + } else { + return null; + } + } + + /** + * Sets the countImportedDeltas + * Count of imported delta-changes. + * + * @param int $val The value of the countImportedDeltas + * + * @return SynchronizationTaskExecution + */ + public function setCountImportedDeltas($val) + { + $this->_propDict["countImportedDeltas"] = $val; + return $this; + } + /** + * Gets the countImportedReferenceDeltas + * Count of imported delta-changes pertaining to reference changes. + * + * @return int|null The countImportedReferenceDeltas + */ + public function getCountImportedReferenceDeltas() + { + if (array_key_exists("countImportedReferenceDeltas", $this->_propDict)) { + return $this->_propDict["countImportedReferenceDeltas"]; + } else { + return null; + } + } + + /** + * Sets the countImportedReferenceDeltas + * Count of imported delta-changes pertaining to reference changes. + * + * @param int $val The value of the countImportedReferenceDeltas + * + * @return SynchronizationTaskExecution + */ + public function setCountImportedReferenceDeltas($val) + { + $this->_propDict["countImportedReferenceDeltas"] = $val; + return $this; + } + + /** + * Gets the error + * If an error was encountered, contains a synchronizationError object with details. + * + * @return SynchronizationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\SynchronizationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new SynchronizationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * If an error was encountered, contains a synchronizationError object with details. + * + * @param SynchronizationError $val The value to assign to the error + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the state + * Code summarizing the result of this run. Possible values are: Succeeded, Failed, EntryLevelErrors. + * + * @return SynchronizationTaskExecutionResult|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecutionResult") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new SynchronizationTaskExecutionResult($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Code summarizing the result of this run. Possible values are: Succeeded, Failed, EntryLevelErrors. + * + * @param SynchronizationTaskExecutionResult $val The value to assign to the state + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the timeBegan + * Time when this job run began. 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 timeBegan + */ + public function getTimeBegan() + { + if (array_key_exists("timeBegan", $this->_propDict)) { + if (is_a($this->_propDict["timeBegan"], "\DateTime") || is_null($this->_propDict["timeBegan"])) { + return $this->_propDict["timeBegan"]; + } else { + $this->_propDict["timeBegan"] = new \DateTime($this->_propDict["timeBegan"]); + return $this->_propDict["timeBegan"]; + } + } + return null; + } + + /** + * Sets the timeBegan + * Time when this job run began. 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 timeBegan + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setTimeBegan($val) + { + $this->_propDict["timeBegan"] = $val; + return $this; + } + + /** + * Gets the timeEnded + * Time when this job run ended. 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 timeEnded + */ + public function getTimeEnded() + { + if (array_key_exists("timeEnded", $this->_propDict)) { + if (is_a($this->_propDict["timeEnded"], "\DateTime") || is_null($this->_propDict["timeEnded"])) { + return $this->_propDict["timeEnded"]; + } else { + $this->_propDict["timeEnded"] = new \DateTime($this->_propDict["timeEnded"]); + return $this->_propDict["timeEnded"]; + } + } + return null; + } + + /** + * Sets the timeEnded + * Time when this job run ended. 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 timeEnded + * + * @return SynchronizationTaskExecution The SynchronizationTaskExecution + */ + public function setTimeEnded($val) + { + $this->_propDict["timeEnded"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationTaskExecutionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationTaskExecutionResult.php new file mode 100644 index 0000000..a36352b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationTaskExecutionResult.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * Identifier of the application this template belongs to. + * + * @param string $val The applicationId + * + * @return SynchronizationTemplate + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + + /** + * Gets the default + * true if this template is recommended to be the default for the application. + * + * @return bool|null The default + */ + public function getDefault() + { + if (array_key_exists("default", $this->_propDict)) { + return $this->_propDict["default"]; + } else { + return null; + } + } + + /** + * Sets the default + * true if this template is recommended to be the default for the application. + * + * @param bool $val The default + * + * @return SynchronizationTemplate + */ + public function setDefault($val) + { + $this->_propDict["default"] = boolval($val); + return $this; + } + + /** + * Gets the description + * Description of the template. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the template. + * + * @param string $val The description + * + * @return SynchronizationTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discoverable + * true if this template should appear in the collection of templates available for the application instance (service principal). + * + * @return bool|null The discoverable + */ + public function getDiscoverable() + { + if (array_key_exists("discoverable", $this->_propDict)) { + return $this->_propDict["discoverable"]; + } else { + return null; + } + } + + /** + * Sets the discoverable + * true if this template should appear in the collection of templates available for the application instance (service principal). + * + * @param bool $val The discoverable + * + * @return SynchronizationTemplate + */ + public function setDiscoverable($val) + { + $this->_propDict["discoverable"] = boolval($val); + return $this; + } + + /** + * Gets the factoryTag + * One of the well-known factory tags supported by the synchronization engine. The factoryTag tells the synchronization engine which implementation to use when processing jobs based on this template. + * + * @return string|null The factoryTag + */ + public function getFactoryTag() + { + if (array_key_exists("factoryTag", $this->_propDict)) { + return $this->_propDict["factoryTag"]; + } else { + return null; + } + } + + /** + * Sets the factoryTag + * One of the well-known factory tags supported by the synchronization engine. The factoryTag tells the synchronization engine which implementation to use when processing jobs based on this template. + * + * @param string $val The factoryTag + * + * @return SynchronizationTemplate + */ + public function setFactoryTag($val) + { + $this->_propDict["factoryTag"] = $val; + return $this; + } + + + /** + * Gets the metadata + * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * + * @return array|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + return $this->_propDict["metadata"]; + } else { + return null; + } + } + + /** + * Sets the metadata + * Additional extension properties. Unless mentioned explicitly, metadata values should not be changed. + * + * @param MetadataEntry[] $val The metadata + * + * @return SynchronizationTemplate + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the schema + * Default synchronization schema for the jobs based on this template. + * + * @return SynchronizationSchema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\SynchronizationSchema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new SynchronizationSchema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * Default synchronization schema for the jobs based on this template. + * + * @param SynchronizationSchema $val The schema + * + * @return SynchronizationTemplate + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SystemFacet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SystemFacet.php new file mode 100644 index 0000000..227ff20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SystemFacet.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.tabUpdatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TabUpdatedEventMessageDetail The TabUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the tabId + * Unique identifier of the tab. + * + * @return string|null The tabId + */ + public function getTabId() + { + if (array_key_exists("tabId", $this->_propDict)) { + return $this->_propDict["tabId"]; + } else { + return null; + } + } + + /** + * Sets the tabId + * Unique identifier of the tab. + * + * @param string $val The value of the tabId + * + * @return TabUpdatedEventMessageDetail + */ + public function setTabId($val) + { + $this->_propDict["tabId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetPolicyEndpoints.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetPolicyEndpoints.php new file mode 100644 index 0000000..7d74c2a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetPolicyEndpoints.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["platformTypes"]; + } else { + return null; + } + } + + /** + * Sets the platformTypes + * Use to filter the notification distribution to a specific platform or platforms. Valid values are Windows, iOS, Android and WebPush. By default, all push endpoint types (Windows, iOS, Android and WebPush) are enabled. + * + * @param string $val The value of the platformTypes + * + * @return TargetPolicyEndpoints + */ + public function setPlatformTypes($val) + { + $this->_propDict["platformTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetResource.php new file mode 100644 index 0000000..6261664 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetResource.php @@ -0,0 +1,204 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Indicates the visible name defined for the resource. Typically specified when the resource is created. + * + * @param string $val The value of the displayName + * + * @return TargetResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the groupType + * When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue + * + * @return GroupType|null The groupType + */ + public function getGroupType() + { + if (array_key_exists("groupType", $this->_propDict)) { + if (is_a($this->_propDict["groupType"], "\Beta\Microsoft\Graph\Model\GroupType") || is_null($this->_propDict["groupType"])) { + return $this->_propDict["groupType"]; + } else { + $this->_propDict["groupType"] = new GroupType($this->_propDict["groupType"]); + return $this->_propDict["groupType"]; + } + } + return null; + } + + /** + * Sets the groupType + * When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue + * + * @param GroupType $val The value to assign to the groupType + * + * @return TargetResource The TargetResource + */ + public function setGroupType($val) + { + $this->_propDict["groupType"] = $val; + return $this; + } + /** + * Gets the id + * Indicates the unique ID of the resource. + * + * @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 + * Indicates the unique ID of the resource. + * + * @param string $val The value of the id + * + * @return TargetResource + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the modifiedProperties + * Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type. + * + * @return ModifiedProperty|null The modifiedProperties + */ + public function getModifiedProperties() + { + if (array_key_exists("modifiedProperties", $this->_propDict)) { + if (is_a($this->_propDict["modifiedProperties"], "\Beta\Microsoft\Graph\Model\ModifiedProperty") || is_null($this->_propDict["modifiedProperties"])) { + return $this->_propDict["modifiedProperties"]; + } else { + $this->_propDict["modifiedProperties"] = new ModifiedProperty($this->_propDict["modifiedProperties"]); + return $this->_propDict["modifiedProperties"]; + } + } + return null; + } + + /** + * Sets the modifiedProperties + * Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type. + * + * @param ModifiedProperty $val The value to assign to the modifiedProperties + * + * @return TargetResource The TargetResource + */ + public function setModifiedProperties($val) + { + $this->_propDict["modifiedProperties"] = $val; + return $this; + } + /** + * Gets the type + * Describes the resource type. Example values include Application, Group, ServicePrincipal, and User. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Describes the resource type. Example values include Application, Group, ServicePrincipal, and User. + * + * @param string $val The value of the type + * + * @return TargetResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * When type is set to User, this includes the user name that initiated the action; null for other types. + * + * @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 + * When type is set to User, this includes the user name that initiated the action; null for other types. + * + * @param string $val The value of the userPrincipalName + * + * @return TargetResource + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfiguration.php new file mode 100644 index 0000000..d7fe3dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfiguration.php @@ -0,0 +1,211 @@ +_propDict)) { + if (is_a($this->_propDict["appGroupType"], "\Beta\Microsoft\Graph\Model\TargetedManagedAppGroupType") || is_null($this->_propDict["appGroupType"])) { + return $this->_propDict["appGroupType"]; + } else { + $this->_propDict["appGroupType"] = new TargetedManagedAppGroupType($this->_propDict["appGroupType"]); + return $this->_propDict["appGroupType"]; + } + } + return null; + } + + /** + * Sets the appGroupType + * Public Apps selection: group or individual + * + * @param TargetedManagedAppGroupType $val The appGroupType + * + * @return TargetedManagedAppConfiguration + */ + public function setAppGroupType($val) + { + $this->_propDict["appGroupType"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return TargetedManagedAppConfiguration + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @param bool $val The isAssigned + * + * @return TargetedManagedAppConfiguration + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return TargetedManagedAppConfiguration + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @param TargetedManagedAppPolicyAssignment[] $val The assignments + * + * @return TargetedManagedAppConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return TargetedManagedAppConfiguration + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfigurationPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfigurationPolicySetItem.php new file mode 100644 index 0000000..f6fad6a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfigurationPolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Type of resource used for deployment to a group, direct or parcel/policySet. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return TargetedManagedAppPolicyAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * Identifier for resource used for deployment to a group + * + * @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 + * Identifier for resource used for deployment to a group + * + * @param string $val The sourceId + * + * @return TargetedManagedAppPolicyAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * Identifier for deployment to a group or app + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Identifier for deployment to a group or app + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return TargetedManagedAppPolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppProtection.php new file mode 100644 index 0000000..a064693 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppProtection.php @@ -0,0 +1,152 @@ +_propDict)) { + if (is_a($this->_propDict["appGroupType"], "\Beta\Microsoft\Graph\Model\TargetedManagedAppGroupType") || is_null($this->_propDict["appGroupType"])) { + return $this->_propDict["appGroupType"]; + } else { + $this->_propDict["appGroupType"] = new TargetedManagedAppGroupType($this->_propDict["appGroupType"]); + return $this->_propDict["appGroupType"]; + } + } + return null; + } + + /** + * Sets the appGroupType + * Public Apps selection: group or individual. Possible values are: selectedPublicApps, allCoreMicrosoftApps, allMicrosoftApps, allApps. + * + * @param TargetedManagedAppGroupType $val The appGroupType + * + * @return TargetedManagedAppProtection + */ + public function setAppGroupType($val) + { + $this->_propDict["appGroupType"] = $val; + return $this; + } + + /** + * Gets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @param bool $val The isAssigned + * + * @return TargetedManagedAppProtection + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the targetedAppManagementLevels + * The intended app management levels for this policy. Possible values are: unspecified, unmanaged, mdm, androidEnterprise. + * + * @return AppManagementLevel|null The targetedAppManagementLevels + */ + public function getTargetedAppManagementLevels() + { + if (array_key_exists("targetedAppManagementLevels", $this->_propDict)) { + if (is_a($this->_propDict["targetedAppManagementLevels"], "\Beta\Microsoft\Graph\Model\AppManagementLevel") || is_null($this->_propDict["targetedAppManagementLevels"])) { + return $this->_propDict["targetedAppManagementLevels"]; + } else { + $this->_propDict["targetedAppManagementLevels"] = new AppManagementLevel($this->_propDict["targetedAppManagementLevels"]); + return $this->_propDict["targetedAppManagementLevels"]; + } + } + return null; + } + + /** + * Sets the targetedAppManagementLevels + * The intended app management levels for this policy. Possible values are: unspecified, unmanaged, mdm, androidEnterprise. + * + * @param AppManagementLevel $val The targetedAppManagementLevels + * + * @return TargetedManagedAppProtection + */ + public function setTargetedAppManagementLevels($val) + { + $this->_propDict["targetedAppManagementLevels"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @param TargetedManagedAppPolicyAssignment[] $val The assignments + * + * @return TargetedManagedAppProtection + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Task.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Task.php new file mode 100644 index 0000000..6b2b2b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Task.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined. + * + * @param string $val The value of the categories + * + * @return TaskViewpoint + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the reminderDateTime + * The date and time for a reminder alert of the task to occur. + * + * @return DateTimeTimeZone|null The reminderDateTime + */ + public function getReminderDateTime() + { + if (array_key_exists("reminderDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reminderDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderDateTime"])) { + return $this->_propDict["reminderDateTime"]; + } else { + $this->_propDict["reminderDateTime"] = new DateTimeTimeZone($this->_propDict["reminderDateTime"]); + return $this->_propDict["reminderDateTime"]; + } + } + return null; + } + + /** + * Sets the reminderDateTime + * The date and time for a reminder alert of the task to occur. + * + * @param DateTimeTimeZone $val The value to assign to the reminderDateTime + * + * @return TaskViewpoint The TaskViewpoint + */ + public function setReminderDateTime($val) + { + $this->_propDict["reminderDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tasks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tasks.php new file mode 100644 index 0000000..84884e7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tasks.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["alltasks"]; + } else { + return null; + } + } + + /** + * Sets the alltasks + * All tasks in the users mailbox. + * + * @param BaseTask[] $val The alltasks + * + * @return Tasks + */ + public function setAlltasks($val) + { + $this->_propDict["alltasks"] = $val; + return $this; + } + + + /** + * Gets the lists + * The task lists in the users mailbox. + * + * @return array|null The lists + */ + public function getLists() + { + if (array_key_exists("lists", $this->_propDict)) { + return $this->_propDict["lists"]; + } else { + return null; + } + } + + /** + * Sets the lists + * The task lists in the users mailbox. + * + * @param BaseTaskList[] $val The lists + * + * @return Tasks + */ + public function setLists($val) + { + $this->_propDict["lists"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxArea.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxArea.php new file mode 100644 index 0000000..a2125fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxArea.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return TaxArea + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return TaxArea + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TaxArea + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the taxType + * + * @return string|null The taxType + */ + public function getTaxType() + { + if (array_key_exists("taxType", $this->_propDict)) { + return $this->_propDict["taxType"]; + } else { + return null; + } + } + + /** + * Sets the taxType + * + * @param string $val The taxType + * + * @return TaxArea + */ + public function setTaxType($val) + { + $this->_propDict["taxType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxGroup.php new file mode 100644 index 0000000..259bdc6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxGroup.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return TaxGroup + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return TaxGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TaxGroup + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the taxType + * + * @return string|null The taxType + */ + public function getTaxType() + { + if (array_key_exists("taxType", $this->_propDict)) { + return $this->_propDict["taxType"]; + } else { + return null; + } + } + + /** + * Sets the taxType + * + * @param string $val The taxType + * + * @return TaxGroup + */ + public function setTaxType($val) + { + $this->_propDict["taxType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Team.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Team.php new file mode 100644 index 0000000..51fe171 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Team.php @@ -0,0 +1,987 @@ +_propDict)) { + return $this->_propDict["classification"]; + } else { + return null; + } + } + + /** + * Sets the classification + * An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory. + * + * @param string $val The classification + * + * @return Team + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp at which the team was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp at which the team was created. + * + * @param \DateTime $val The createdDateTime + * + * @return Team + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * An optional description for the team. Maximum length: 1024 characters. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * An optional description for the team. Maximum length: 1024 characters. + * + * @param string $val The description + * + * @return Team + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the discoverySettings + * Settings to configure team discoverability by others. + * + * @return TeamDiscoverySettings|null The discoverySettings + */ + public function getDiscoverySettings() + { + if (array_key_exists("discoverySettings", $this->_propDict)) { + if (is_a($this->_propDict["discoverySettings"], "\Beta\Microsoft\Graph\Model\TeamDiscoverySettings") || is_null($this->_propDict["discoverySettings"])) { + return $this->_propDict["discoverySettings"]; + } else { + $this->_propDict["discoverySettings"] = new TeamDiscoverySettings($this->_propDict["discoverySettings"]); + return $this->_propDict["discoverySettings"]; + } + } + return null; + } + + /** + * Sets the discoverySettings + * Settings to configure team discoverability by others. + * + * @param TeamDiscoverySettings $val The discoverySettings + * + * @return Team + */ + public function setDiscoverySettings($val) + { + $this->_propDict["discoverySettings"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the team. + * + * @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 + * The name of the team. + * + * @param string $val The displayName + * + * @return Team + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the funSettings + * Settings to configure use of Giphy, memes, and stickers in the team. + * + * @return TeamFunSettings|null The funSettings + */ + public function getFunSettings() + { + if (array_key_exists("funSettings", $this->_propDict)) { + if (is_a($this->_propDict["funSettings"], "\Beta\Microsoft\Graph\Model\TeamFunSettings") || is_null($this->_propDict["funSettings"])) { + return $this->_propDict["funSettings"]; + } else { + $this->_propDict["funSettings"] = new TeamFunSettings($this->_propDict["funSettings"]); + return $this->_propDict["funSettings"]; + } + } + return null; + } + + /** + * Sets the funSettings + * Settings to configure use of Giphy, memes, and stickers in the team. + * + * @param TeamFunSettings $val The funSettings + * + * @return Team + */ + public function setFunSettings($val) + { + $this->_propDict["funSettings"] = $val; + return $this; + } + + /** + * Gets the guestSettings + * Settings to configure whether guests can create, update, or delete channels in the team. + * + * @return TeamGuestSettings|null The guestSettings + */ + public function getGuestSettings() + { + if (array_key_exists("guestSettings", $this->_propDict)) { + if (is_a($this->_propDict["guestSettings"], "\Beta\Microsoft\Graph\Model\TeamGuestSettings") || is_null($this->_propDict["guestSettings"])) { + return $this->_propDict["guestSettings"]; + } else { + $this->_propDict["guestSettings"] = new TeamGuestSettings($this->_propDict["guestSettings"]); + return $this->_propDict["guestSettings"]; + } + } + return null; + } + + /** + * Sets the guestSettings + * Settings to configure whether guests can create, update, or delete channels in the team. + * + * @param TeamGuestSettings $val The guestSettings + * + * @return Team + */ + public function setGuestSettings($val) + { + $this->_propDict["guestSettings"] = $val; + return $this; + } + + /** + * Gets the internalId + * A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * + * @return string|null The internalId + */ + public function getInternalId() + { + if (array_key_exists("internalId", $this->_propDict)) { + return $this->_propDict["internalId"]; + } else { + return null; + } + } + + /** + * Sets the internalId + * A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * + * @param string $val The internalId + * + * @return Team + */ + public function setInternalId($val) + { + $this->_propDict["internalId"] = $val; + return $this; + } + + /** + * Gets the isArchived + * Whether this team is in read-only mode. + * + * @return bool|null The isArchived + */ + public function getIsArchived() + { + if (array_key_exists("isArchived", $this->_propDict)) { + return $this->_propDict["isArchived"]; + } else { + return null; + } + } + + /** + * Sets the isArchived + * Whether this team is in read-only mode. + * + * @param bool $val The isArchived + * + * @return Team + */ + public function setIsArchived($val) + { + $this->_propDict["isArchived"] = boolval($val); + return $this; + } + + /** + * Gets the isMembershipLimitedToOwners + * If set to true, the team is currently in the owner-only team membership state and not accessible by other team members, such as students. + * + * @return bool|null The isMembershipLimitedToOwners + */ + public function getIsMembershipLimitedToOwners() + { + if (array_key_exists("isMembershipLimitedToOwners", $this->_propDict)) { + return $this->_propDict["isMembershipLimitedToOwners"]; + } else { + return null; + } + } + + /** + * Sets the isMembershipLimitedToOwners + * If set to true, the team is currently in the owner-only team membership state and not accessible by other team members, such as students. + * + * @param bool $val The isMembershipLimitedToOwners + * + * @return Team + */ + public function setIsMembershipLimitedToOwners($val) + { + $this->_propDict["isMembershipLimitedToOwners"] = boolval($val); + return $this; + } + + /** + * Gets the memberSettings + * Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team. + * + * @return TeamMemberSettings|null The memberSettings + */ + public function getMemberSettings() + { + if (array_key_exists("memberSettings", $this->_propDict)) { + if (is_a($this->_propDict["memberSettings"], "\Beta\Microsoft\Graph\Model\TeamMemberSettings") || is_null($this->_propDict["memberSettings"])) { + return $this->_propDict["memberSettings"]; + } else { + $this->_propDict["memberSettings"] = new TeamMemberSettings($this->_propDict["memberSettings"]); + return $this->_propDict["memberSettings"]; + } + } + return null; + } + + /** + * Sets the memberSettings + * Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team. + * + * @param TeamMemberSettings $val The memberSettings + * + * @return Team + */ + public function setMemberSettings($val) + { + $this->_propDict["memberSettings"] = $val; + return $this; + } + + /** + * Gets the messagingSettings + * Settings to configure messaging and mentions in the team. + * + * @return TeamMessagingSettings|null The messagingSettings + */ + public function getMessagingSettings() + { + if (array_key_exists("messagingSettings", $this->_propDict)) { + if (is_a($this->_propDict["messagingSettings"], "\Beta\Microsoft\Graph\Model\TeamMessagingSettings") || is_null($this->_propDict["messagingSettings"])) { + return $this->_propDict["messagingSettings"]; + } else { + $this->_propDict["messagingSettings"] = new TeamMessagingSettings($this->_propDict["messagingSettings"]); + return $this->_propDict["messagingSettings"]; + } + } + return null; + } + + /** + * Sets the messagingSettings + * Settings to configure messaging and mentions in the team. + * + * @param TeamMessagingSettings $val The messagingSettings + * + * @return Team + */ + public function setMessagingSettings($val) + { + $this->_propDict["messagingSettings"] = $val; + return $this; + } + + /** + * Gets the specialization + * Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + * + * @return TeamSpecialization|null The specialization + */ + public function getSpecialization() + { + if (array_key_exists("specialization", $this->_propDict)) { + if (is_a($this->_propDict["specialization"], "\Beta\Microsoft\Graph\Model\TeamSpecialization") || is_null($this->_propDict["specialization"])) { + return $this->_propDict["specialization"]; + } else { + $this->_propDict["specialization"] = new TeamSpecialization($this->_propDict["specialization"]); + return $this->_propDict["specialization"]; + } + } + return null; + } + + /** + * Sets the specialization + * Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + * + * @param TeamSpecialization $val The specialization + * + * @return Team + */ + public function setSpecialization($val) + { + $this->_propDict["specialization"] = $val; + return $this; + } + + /** + * Gets the summary + * Contains summary information about the team, including number of owners, members, and guests. + * + * @return TeamSummary|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + if (is_a($this->_propDict["summary"], "\Beta\Microsoft\Graph\Model\TeamSummary") || is_null($this->_propDict["summary"])) { + return $this->_propDict["summary"]; + } else { + $this->_propDict["summary"] = new TeamSummary($this->_propDict["summary"]); + return $this->_propDict["summary"]; + } + } + return null; + } + + /** + * Sets the summary + * Contains summary information about the team, including number of owners, members, and guests. + * + * @param TeamSummary $val The summary + * + * @return Team + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The ID of the Azure Active Directory tenant. + * + * @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 + * The ID of the Azure Active Directory tenant. + * + * @param string $val The tenantId + * + * @return Team + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the visibility + * The visibility of the group and team. Defaults to Public. + * + * @return TeamVisibilityType|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + if (is_a($this->_propDict["visibility"], "\Beta\Microsoft\Graph\Model\TeamVisibilityType") || is_null($this->_propDict["visibility"])) { + return $this->_propDict["visibility"]; + } else { + $this->_propDict["visibility"] = new TeamVisibilityType($this->_propDict["visibility"]); + return $this->_propDict["visibility"]; + } + } + return null; + } + + /** + * Sets the visibility + * The visibility of the group and team. Defaults to Public. + * + * @param TeamVisibilityType $val The visibility + * + * @return Team + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + /** + * Gets the webUrl + * A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + * + * @param string $val The webUrl + * + * @return Team + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the allChannels + * List of channels either hosted in or shared with the team (incoming channels). + * + * @return array|null The allChannels + */ + public function getAllChannels() + { + if (array_key_exists("allChannels", $this->_propDict)) { + return $this->_propDict["allChannels"]; + } else { + return null; + } + } + + /** + * Sets the allChannels + * List of channels either hosted in or shared with the team (incoming channels). + * + * @param Channel[] $val The allChannels + * + * @return Team + */ + public function setAllChannels($val) + { + $this->_propDict["allChannels"] = $val; + return $this; + } + + + /** + * Gets the channels + * The collection of channels and messages associated with the team. + * + * @return array|null The channels + */ + public function getChannels() + { + if (array_key_exists("channels", $this->_propDict)) { + return $this->_propDict["channels"]; + } else { + return null; + } + } + + /** + * Sets the channels + * The collection of channels and messages associated with the team. + * + * @param Channel[] $val The channels + * + * @return Team + */ + public function setChannels($val) + { + $this->_propDict["channels"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return Team + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + + /** + * Gets the incomingChannels + * + * @return array|null The incomingChannels + */ + public function getIncomingChannels() + { + if (array_key_exists("incomingChannels", $this->_propDict)) { + return $this->_propDict["incomingChannels"]; + } else { + return null; + } + } + + /** + * Sets the incomingChannels + * + * @param Channel[] $val The incomingChannels + * + * @return Team + */ + public function setIncomingChannels($val) + { + $this->_propDict["incomingChannels"] = $val; + return $this; + } + + + /** + * Gets the installedApps + * The apps installed in this team. + * + * @return array|null The installedApps + */ + public function getInstalledApps() + { + if (array_key_exists("installedApps", $this->_propDict)) { + return $this->_propDict["installedApps"]; + } else { + return null; + } + } + + /** + * Sets the installedApps + * The apps installed in this team. + * + * @param TeamsAppInstallation[] $val The installedApps + * + * @return Team + */ + public function setInstalledApps($val) + { + $this->_propDict["installedApps"] = $val; + return $this; + } + + + /** + * Gets the members + * Members and owners of the team. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Members and owners of the team. + * + * @param ConversationMember[] $val The members + * + * @return Team + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the operations + * The async operations that ran or are running on this team. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The async operations that ran or are running on this team. + * + * @param TeamsAsyncOperation[] $val The operations + * + * @return Team + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the owners + * The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user delegated permissions, no owner can be specified (the current user is the owner). Owner must be specified as an object ID (GUID), not a UPN. + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * The list of this team's owners. Currently, when creating a team using application permissions, exactly one owner must be specified. When using user delegated permissions, no owner can be specified (the current user is the owner). Owner must be specified as an object ID (GUID), not a UPN. + * + * @param User[] $val The owners + * + * @return Team + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the permissionGrants + * A collection of permissions granted to apps to access the team. + * + * @return array|null The permissionGrants + */ + public function getPermissionGrants() + { + if (array_key_exists("permissionGrants", $this->_propDict)) { + return $this->_propDict["permissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrants + * A collection of permissions granted to apps to access the team. + * + * @param ResourceSpecificPermissionGrant[] $val The permissionGrants + * + * @return Team + */ + public function setPermissionGrants($val) + { + $this->_propDict["permissionGrants"] = $val; + return $this; + } + + /** + * Gets the photo + * The team photo. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * The team photo. + * + * @param ProfilePhoto $val The photo + * + * @return Team + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + /** + * Gets the primaryChannel + * The general channel for the team. + * + * @return Channel|null The primaryChannel + */ + public function getPrimaryChannel() + { + if (array_key_exists("primaryChannel", $this->_propDict)) { + if (is_a($this->_propDict["primaryChannel"], "\Beta\Microsoft\Graph\Model\Channel") || is_null($this->_propDict["primaryChannel"])) { + return $this->_propDict["primaryChannel"]; + } else { + $this->_propDict["primaryChannel"] = new Channel($this->_propDict["primaryChannel"]); + return $this->_propDict["primaryChannel"]; + } + } + return null; + } + + /** + * Sets the primaryChannel + * The general channel for the team. + * + * @param Channel $val The primaryChannel + * + * @return Team + */ + public function setPrimaryChannel($val) + { + $this->_propDict["primaryChannel"] = $val; + return $this; + } + + + /** + * Gets the tags + * The tags associated with the team. + * + * @return array|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * The tags associated with the team. + * + * @param TeamworkTag[] $val The tags + * + * @return Team + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the template + * The template this team was created from. See available templates. + * + * @return TeamsTemplate|null The template + */ + public function getTemplate() + { + if (array_key_exists("template", $this->_propDict)) { + if (is_a($this->_propDict["template"], "\Beta\Microsoft\Graph\Model\TeamsTemplate") || is_null($this->_propDict["template"])) { + return $this->_propDict["template"]; + } else { + $this->_propDict["template"] = new TeamsTemplate($this->_propDict["template"]); + return $this->_propDict["template"]; + } + } + return null; + } + + /** + * Sets the template + * The template this team was created from. See available templates. + * + * @param TeamsTemplate $val The template + * + * @return Team + */ + public function setTemplate($val) + { + $this->_propDict["template"] = $val; + return $this; + } + + /** + * Gets the schedule + * The schedule of shifts for this team. + * + * @return Schedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\Schedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new Schedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * The schedule of shifts for this team. + * + * @param Schedule $val The schedule + * + * @return Team + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamArchivedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamArchivedEventMessageDetail.php new file mode 100644 index 0000000..e8ae6d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamArchivedEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamArchivedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamArchivedEventMessageDetail The TeamArchivedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamArchivedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamClassSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamClassSettings.php new file mode 100644 index 0000000..111a5fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamClassSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["notifyGuardiansAboutAssignments"]; + } else { + return null; + } + } + + /** + * Sets the notifyGuardiansAboutAssignments + * If set to true, enables sending of weekly assignments digest emails to parents/guardians, provided the tenant admin has enabled the setting globally. + * + * @param bool $val The value of the notifyGuardiansAboutAssignments + * + * @return TeamClassSettings + */ + public function setNotifyGuardiansAboutAssignments($val) + { + $this->_propDict["notifyGuardiansAboutAssignments"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamCreatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamCreatedEventMessageDetail.php new file mode 100644 index 0000000..9ee3b02 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamCreatedEventMessageDetail.php @@ -0,0 +1,154 @@ +setODataType("#microsoft.graph.teamCreatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamCreatedEventMessageDetail The TeamCreatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamDescription + * Description for the team. + * + * @return string|null The teamDescription + */ + public function getTeamDescription() + { + if (array_key_exists("teamDescription", $this->_propDict)) { + return $this->_propDict["teamDescription"]; + } else { + return null; + } + } + + /** + * Sets the teamDescription + * Description for the team. + * + * @param string $val The value of the teamDescription + * + * @return TeamCreatedEventMessageDetail + */ + public function setTeamDescription($val) + { + $this->_propDict["teamDescription"] = $val; + return $this; + } + /** + * Gets the teamDisplayName + * Display name of the team. + * + * @return string|null The teamDisplayName + */ + public function getTeamDisplayName() + { + if (array_key_exists("teamDisplayName", $this->_propDict)) { + return $this->_propDict["teamDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamDisplayName + * Display name of the team. + * + * @param string $val The value of the teamDisplayName + * + * @return TeamCreatedEventMessageDetail + */ + public function setTeamDisplayName($val) + { + $this->_propDict["teamDisplayName"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamCreatedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamDescriptionUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamDescriptionUpdatedEventMessageDetail.php new file mode 100644 index 0000000..4dbb9de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamDescriptionUpdatedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamDescriptionUpdatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamDescriptionUpdatedEventMessageDetail The TeamDescriptionUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamDescription + * The updated description for the team. + * + * @return string|null The teamDescription + */ + public function getTeamDescription() + { + if (array_key_exists("teamDescription", $this->_propDict)) { + return $this->_propDict["teamDescription"]; + } else { + return null; + } + } + + /** + * Sets the teamDescription + * The updated description for the team. + * + * @param string $val The value of the teamDescription + * + * @return TeamDescriptionUpdatedEventMessageDetail + */ + public function setTeamDescription($val) + { + $this->_propDict["teamDescription"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamDescriptionUpdatedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamDiscoverySettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamDiscoverySettings.php new file mode 100644 index 0000000..c40071c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamDiscoverySettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["showInTeamsSearchAndSuggestions"]; + } else { + return null; + } + } + + /** + * Sets the showInTeamsSearchAndSuggestions + * If set to true, the team is visible via search and suggestions from the Teams client. + * + * @param bool $val The value of the showInTeamsSearchAndSuggestions + * + * @return TeamDiscoverySettings + */ + public function setShowInTeamsSearchAndSuggestions($val) + { + $this->_propDict["showInTeamsSearchAndSuggestions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamFunSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamFunSettings.php new file mode 100644 index 0000000..a8ba6c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamFunSettings.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowCustomMemes"]; + } else { + return null; + } + } + + /** + * Sets the allowCustomMemes + * If set to true, enables users to include custom memes. + * + * @param bool $val The value of the allowCustomMemes + * + * @return TeamFunSettings + */ + public function setAllowCustomMemes($val) + { + $this->_propDict["allowCustomMemes"] = $val; + return $this; + } + /** + * Gets the allowGiphy + * If set to true, enables Giphy use. + * + * @return bool|null The allowGiphy + */ + public function getAllowGiphy() + { + if (array_key_exists("allowGiphy", $this->_propDict)) { + return $this->_propDict["allowGiphy"]; + } else { + return null; + } + } + + /** + * Sets the allowGiphy + * If set to true, enables Giphy use. + * + * @param bool $val The value of the allowGiphy + * + * @return TeamFunSettings + */ + public function setAllowGiphy($val) + { + $this->_propDict["allowGiphy"] = $val; + return $this; + } + /** + * Gets the allowStickersAndMemes + * If set to true, enables users to include stickers and memes. + * + * @return bool|null The allowStickersAndMemes + */ + public function getAllowStickersAndMemes() + { + if (array_key_exists("allowStickersAndMemes", $this->_propDict)) { + return $this->_propDict["allowStickersAndMemes"]; + } else { + return null; + } + } + + /** + * Sets the allowStickersAndMemes + * If set to true, enables users to include stickers and memes. + * + * @param bool $val The value of the allowStickersAndMemes + * + * @return TeamFunSettings + */ + public function setAllowStickersAndMemes($val) + { + $this->_propDict["allowStickersAndMemes"] = $val; + return $this; + } + + /** + * Gets the giphyContentRating + * Giphy content rating. Possible values are: moderate, strict. + * + * @return GiphyRatingType|null The giphyContentRating + */ + public function getGiphyContentRating() + { + if (array_key_exists("giphyContentRating", $this->_propDict)) { + if (is_a($this->_propDict["giphyContentRating"], "\Beta\Microsoft\Graph\Model\GiphyRatingType") || is_null($this->_propDict["giphyContentRating"])) { + return $this->_propDict["giphyContentRating"]; + } else { + $this->_propDict["giphyContentRating"] = new GiphyRatingType($this->_propDict["giphyContentRating"]); + return $this->_propDict["giphyContentRating"]; + } + } + return null; + } + + /** + * Sets the giphyContentRating + * Giphy content rating. Possible values are: moderate, strict. + * + * @param GiphyRatingType $val The value to assign to the giphyContentRating + * + * @return TeamFunSettings The TeamFunSettings + */ + public function setGiphyContentRating($val) + { + $this->_propDict["giphyContentRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamGuestSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamGuestSettings.php new file mode 100644 index 0000000..fdb416a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamGuestSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["allowCreateUpdateChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateChannels + * If set to true, guests can add and update channels. + * + * @param bool $val The value of the allowCreateUpdateChannels + * + * @return TeamGuestSettings + */ + public function setAllowCreateUpdateChannels($val) + { + $this->_propDict["allowCreateUpdateChannels"] = $val; + return $this; + } + /** + * Gets the allowDeleteChannels + * If set to true, guests can delete channels. + * + * @return bool|null The allowDeleteChannels + */ + public function getAllowDeleteChannels() + { + if (array_key_exists("allowDeleteChannels", $this->_propDict)) { + return $this->_propDict["allowDeleteChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteChannels + * If set to true, guests can delete channels. + * + * @param bool $val The value of the allowDeleteChannels + * + * @return TeamGuestSettings + */ + public function setAllowDeleteChannels($val) + { + $this->_propDict["allowDeleteChannels"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamInfo.php new file mode 100644 index 0000000..8f4bbee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamInfo.php @@ -0,0 +1,116 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the team. + * + * @param string $val The displayName + * + * @return TeamInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The ID of the Azure Active Directory tenant. + * + * @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 + * The ID of the Azure Active Directory tenant. + * + * @param string $val The tenantId + * + * @return TeamInfo + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the team + * + * @return Team|null The team + */ + public function getTeam() + { + if (array_key_exists("team", $this->_propDict)) { + if (is_a($this->_propDict["team"], "\Beta\Microsoft\Graph\Model\Team") || is_null($this->_propDict["team"])) { + return $this->_propDict["team"]; + } else { + $this->_propDict["team"] = new Team($this->_propDict["team"]); + return $this->_propDict["team"]; + } + } + return null; + } + + /** + * Sets the team + * + * @param Team $val The team + * + * @return TeamInfo + */ + public function setTeam($val) + { + $this->_propDict["team"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamJoiningDisabledEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamJoiningDisabledEventMessageDetail.php new file mode 100644 index 0000000..957c5a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamJoiningDisabledEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamJoiningDisabledEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamJoiningDisabledEventMessageDetail The TeamJoiningDisabledEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamJoiningDisabledEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamJoiningEnabledEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamJoiningEnabledEventMessageDetail.php new file mode 100644 index 0000000..3faad4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamJoiningEnabledEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamJoiningEnabledEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamJoiningEnabledEventMessageDetail The TeamJoiningEnabledEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamJoiningEnabledEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMemberSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMemberSettings.php new file mode 100644 index 0000000..449de8c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMemberSettings.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["allowAddRemoveApps"]; + } else { + return null; + } + } + + /** + * Sets the allowAddRemoveApps + * If set to true, members can add and remove apps. + * + * @param bool $val The value of the allowAddRemoveApps + * + * @return TeamMemberSettings + */ + public function setAllowAddRemoveApps($val) + { + $this->_propDict["allowAddRemoveApps"] = $val; + return $this; + } + /** + * Gets the allowCreatePrivateChannels + * If set to true, members can add and update private channels. + * + * @return bool|null The allowCreatePrivateChannels + */ + public function getAllowCreatePrivateChannels() + { + if (array_key_exists("allowCreatePrivateChannels", $this->_propDict)) { + return $this->_propDict["allowCreatePrivateChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowCreatePrivateChannels + * If set to true, members can add and update private channels. + * + * @param bool $val The value of the allowCreatePrivateChannels + * + * @return TeamMemberSettings + */ + public function setAllowCreatePrivateChannels($val) + { + $this->_propDict["allowCreatePrivateChannels"] = $val; + return $this; + } + /** + * Gets the allowCreateUpdateChannels + * If set to true, members can add and update any channels. + * + * @return bool|null The allowCreateUpdateChannels + */ + public function getAllowCreateUpdateChannels() + { + if (array_key_exists("allowCreateUpdateChannels", $this->_propDict)) { + return $this->_propDict["allowCreateUpdateChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateChannels + * If set to true, members can add and update any channels. + * + * @param bool $val The value of the allowCreateUpdateChannels + * + * @return TeamMemberSettings + */ + public function setAllowCreateUpdateChannels($val) + { + $this->_propDict["allowCreateUpdateChannels"] = $val; + return $this; + } + /** + * Gets the allowCreateUpdateRemoveConnectors + * If set to true, members can add, update, and remove connectors. + * + * @return bool|null The allowCreateUpdateRemoveConnectors + */ + public function getAllowCreateUpdateRemoveConnectors() + { + if (array_key_exists("allowCreateUpdateRemoveConnectors", $this->_propDict)) { + return $this->_propDict["allowCreateUpdateRemoveConnectors"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateRemoveConnectors + * If set to true, members can add, update, and remove connectors. + * + * @param bool $val The value of the allowCreateUpdateRemoveConnectors + * + * @return TeamMemberSettings + */ + public function setAllowCreateUpdateRemoveConnectors($val) + { + $this->_propDict["allowCreateUpdateRemoveConnectors"] = $val; + return $this; + } + /** + * Gets the allowCreateUpdateRemoveTabs + * If set to true, members can add, update, and remove tabs. + * + * @return bool|null The allowCreateUpdateRemoveTabs + */ + public function getAllowCreateUpdateRemoveTabs() + { + if (array_key_exists("allowCreateUpdateRemoveTabs", $this->_propDict)) { + return $this->_propDict["allowCreateUpdateRemoveTabs"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateRemoveTabs + * If set to true, members can add, update, and remove tabs. + * + * @param bool $val The value of the allowCreateUpdateRemoveTabs + * + * @return TeamMemberSettings + */ + public function setAllowCreateUpdateRemoveTabs($val) + { + $this->_propDict["allowCreateUpdateRemoveTabs"] = $val; + return $this; + } + /** + * Gets the allowDeleteChannels + * If set to true, members can delete channels. + * + * @return bool|null The allowDeleteChannels + */ + public function getAllowDeleteChannels() + { + if (array_key_exists("allowDeleteChannels", $this->_propDict)) { + return $this->_propDict["allowDeleteChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteChannels + * If set to true, members can delete channels. + * + * @param bool $val The value of the allowDeleteChannels + * + * @return TeamMemberSettings + */ + public function setAllowDeleteChannels($val) + { + $this->_propDict["allowDeleteChannels"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMembersNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMembersNotificationRecipient.php new file mode 100644 index 0000000..0566da3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMembersNotificationRecipient.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * The team's identifier. + * + * @param string $val The value of the teamId + * + * @return TeamMembersNotificationRecipient + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMessagingSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMessagingSettings.php new file mode 100644 index 0000000..1c653a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMessagingSettings.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allowChannelMentions"]; + } else { + return null; + } + } + + /** + * Sets the allowChannelMentions + * If set to true, @channel mentions are allowed. + * + * @param bool $val The value of the allowChannelMentions + * + * @return TeamMessagingSettings + */ + public function setAllowChannelMentions($val) + { + $this->_propDict["allowChannelMentions"] = $val; + return $this; + } + /** + * Gets the allowOwnerDeleteMessages + * If set to true, owners can delete any message. + * + * @return bool|null The allowOwnerDeleteMessages + */ + public function getAllowOwnerDeleteMessages() + { + if (array_key_exists("allowOwnerDeleteMessages", $this->_propDict)) { + return $this->_propDict["allowOwnerDeleteMessages"]; + } else { + return null; + } + } + + /** + * Sets the allowOwnerDeleteMessages + * If set to true, owners can delete any message. + * + * @param bool $val The value of the allowOwnerDeleteMessages + * + * @return TeamMessagingSettings + */ + public function setAllowOwnerDeleteMessages($val) + { + $this->_propDict["allowOwnerDeleteMessages"] = $val; + return $this; + } + /** + * Gets the allowTeamMentions + * If set to true, @team mentions are allowed. + * + * @return bool|null The allowTeamMentions + */ + public function getAllowTeamMentions() + { + if (array_key_exists("allowTeamMentions", $this->_propDict)) { + return $this->_propDict["allowTeamMentions"]; + } else { + return null; + } + } + + /** + * Sets the allowTeamMentions + * If set to true, @team mentions are allowed. + * + * @param bool $val The value of the allowTeamMentions + * + * @return TeamMessagingSettings + */ + public function setAllowTeamMentions($val) + { + $this->_propDict["allowTeamMentions"] = $val; + return $this; + } + /** + * Gets the allowUserDeleteMessages + * If set to true, users can delete their messages. + * + * @return bool|null The allowUserDeleteMessages + */ + public function getAllowUserDeleteMessages() + { + if (array_key_exists("allowUserDeleteMessages", $this->_propDict)) { + return $this->_propDict["allowUserDeleteMessages"]; + } else { + return null; + } + } + + /** + * Sets the allowUserDeleteMessages + * If set to true, users can delete their messages. + * + * @param bool $val The value of the allowUserDeleteMessages + * + * @return TeamMessagingSettings + */ + public function setAllowUserDeleteMessages($val) + { + $this->_propDict["allowUserDeleteMessages"] = $val; + return $this; + } + /** + * Gets the allowUserEditMessages + * If set to true, users can edit their messages. + * + * @return bool|null The allowUserEditMessages + */ + public function getAllowUserEditMessages() + { + if (array_key_exists("allowUserEditMessages", $this->_propDict)) { + return $this->_propDict["allowUserEditMessages"]; + } else { + return null; + } + } + + /** + * Sets the allowUserEditMessages + * If set to true, users can edit their messages. + * + * @param bool $val The value of the allowUserEditMessages + * + * @return TeamMessagingSettings + */ + public function setAllowUserEditMessages($val) + { + $this->_propDict["allowUserEditMessages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamRenamedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamRenamedEventMessageDetail.php new file mode 100644 index 0000000..7aa1367 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamRenamedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamRenamedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamRenamedEventMessageDetail The TeamRenamedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamDisplayName + * The updated name of the team. + * + * @return string|null The teamDisplayName + */ + public function getTeamDisplayName() + { + if (array_key_exists("teamDisplayName", $this->_propDict)) { + return $this->_propDict["teamDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamDisplayName + * The updated name of the team. + * + * @param string $val The value of the teamDisplayName + * + * @return TeamRenamedEventMessageDetail + */ + public function setTeamDisplayName($val) + { + $this->_propDict["teamDisplayName"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamRenamedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamSpecialization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamSpecialization.php new file mode 100644 index 0000000..4df6cf5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamSpecialization.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["guestsCount"]; + } else { + return null; + } + } + + /** + * Sets the guestsCount + * Count of guests in a team. + * + * @param int $val The value of the guestsCount + * + * @return TeamSummary + */ + public function setGuestsCount($val) + { + $this->_propDict["guestsCount"] = $val; + return $this; + } + /** + * Gets the membersCount + * Count of members in a team. + * + * @return int|null The membersCount + */ + public function getMembersCount() + { + if (array_key_exists("membersCount", $this->_propDict)) { + return $this->_propDict["membersCount"]; + } else { + return null; + } + } + + /** + * Sets the membersCount + * Count of members in a team. + * + * @param int $val The value of the membersCount + * + * @return TeamSummary + */ + public function setMembersCount($val) + { + $this->_propDict["membersCount"] = $val; + return $this; + } + /** + * Gets the ownersCount + * Count of owners in a team. + * + * @return int|null The ownersCount + */ + public function getOwnersCount() + { + if (array_key_exists("ownersCount", $this->_propDict)) { + return $this->_propDict["ownersCount"]; + } else { + return null; + } + } + + /** + * Sets the ownersCount + * Count of owners in a team. + * + * @param int $val The value of the ownersCount + * + * @return TeamSummary + */ + public function setOwnersCount($val) + { + $this->_propDict["ownersCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamUnarchivedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamUnarchivedEventMessageDetail.php new file mode 100644 index 0000000..dd7bd51 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamUnarchivedEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamUnarchivedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamUnarchivedEventMessageDetail The TeamUnarchivedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamUnarchivedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamVisibilityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamVisibilityType.php new file mode 100644 index 0000000..5a161ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamVisibilityType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the catalog app provided by the app developer in the Microsoft Teams zip app package. + * + * @param string $val The displayName + * + * @return TeamsApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the distributionMethod + * The method of distribution for the app. Read-only. + * + * @return TeamsAppDistributionMethod|null The distributionMethod + */ + public function getDistributionMethod() + { + if (array_key_exists("distributionMethod", $this->_propDict)) { + if (is_a($this->_propDict["distributionMethod"], "\Beta\Microsoft\Graph\Model\TeamsAppDistributionMethod") || is_null($this->_propDict["distributionMethod"])) { + return $this->_propDict["distributionMethod"]; + } else { + $this->_propDict["distributionMethod"] = new TeamsAppDistributionMethod($this->_propDict["distributionMethod"]); + return $this->_propDict["distributionMethod"]; + } + } + return null; + } + + /** + * Sets the distributionMethod + * The method of distribution for the app. Read-only. + * + * @param TeamsAppDistributionMethod $val The distributionMethod + * + * @return TeamsApp + */ + public function setDistributionMethod($val) + { + $this->_propDict["distributionMethod"] = $val; + return $this; + } + + /** + * Gets the externalId + * The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. + * + * @param string $val The externalId + * + * @return TeamsApp + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + + /** + * Gets the appDefinitions + * The details for each version of the app. + * + * @return array|null The appDefinitions + */ + public function getAppDefinitions() + { + if (array_key_exists("appDefinitions", $this->_propDict)) { + return $this->_propDict["appDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the appDefinitions + * The details for each version of the app. + * + * @param TeamsAppDefinition[] $val The appDefinitions + * + * @return TeamsApp + */ + public function setAppDefinitions($val) + { + $this->_propDict["appDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php new file mode 100644 index 0000000..0df0224 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php @@ -0,0 +1,426 @@ +_propDict)) { + if (is_a($this->_propDict["allowedInstallationScopes"], "\Beta\Microsoft\Graph\Model\TeamsAppInstallationScopes") || is_null($this->_propDict["allowedInstallationScopes"])) { + return $this->_propDict["allowedInstallationScopes"]; + } else { + $this->_propDict["allowedInstallationScopes"] = new TeamsAppInstallationScopes($this->_propDict["allowedInstallationScopes"]); + return $this->_propDict["allowedInstallationScopes"]; + } + } + return null; + } + + /** + * Sets the allowedInstallationScopes + * A collection of scopes where the Teams app can be installed. Possible values are:team — Indicates that the Teams app can be installed within a team and is authorized to access that team's data. groupChat — Indicates that the Teams app can be installed within a group chat and is authorized to access that group chat's data. personal — Indicates that the Teams app can be installed in the personal scope of a user and is authorized to access that user's data. + * + * @param TeamsAppInstallationScopes $val The allowedInstallationScopes + * + * @return TeamsAppDefinition + */ + public function setAllowedInstallationScopes($val) + { + $this->_propDict["allowedInstallationScopes"] = $val; + return $this; + } + + /** + * Gets the azureADAppId + * The WebApplicationInfo.Id from the Teams app manifest. + * + * @return string|null The azureADAppId + */ + public function getAzureADAppId() + { + if (array_key_exists("azureADAppId", $this->_propDict)) { + return $this->_propDict["azureADAppId"]; + } else { + return null; + } + } + + /** + * Sets the azureADAppId + * The WebApplicationInfo.Id from the Teams app manifest. + * + * @param string $val The azureADAppId + * + * @return TeamsAppDefinition + */ + public function setAzureADAppId($val) + { + $this->_propDict["azureADAppId"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param IdentitySet $val The createdBy + * + * @return TeamsAppDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * Verbose description of the application. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Verbose description of the application. + * + * @param string $val The description + * + * @return TeamsAppDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the app provided by the app developer. + * + * @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 + * The name of the app provided by the app developer. + * + * @param string $val The displayName + * + * @return TeamsAppDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TeamsAppDefinition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the publishingState + * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * + * @return TeamsAppPublishingState|null The publishingState + */ + public function getPublishingState() + { + if (array_key_exists("publishingState", $this->_propDict)) { + if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\TeamsAppPublishingState") || is_null($this->_propDict["publishingState"])) { + return $this->_propDict["publishingState"]; + } else { + $this->_propDict["publishingState"] = new TeamsAppPublishingState($this->_propDict["publishingState"]); + return $this->_propDict["publishingState"]; + } + } + return null; + } + + /** + * Sets the publishingState + * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * + * @param TeamsAppPublishingState $val The publishingState + * + * @return TeamsAppDefinition + */ + public function setPublishingState($val) + { + $this->_propDict["publishingState"] = $val; + return $this; + } + + /** + * Gets the shortdescription + * + * @return string|null The shortdescription + */ + public function getShortdescription() + { + if (array_key_exists("shortdescription", $this->_propDict)) { + return $this->_propDict["shortdescription"]; + } else { + return null; + } + } + + /** + * Sets the shortdescription + * + * @param string $val The shortdescription + * + * @return TeamsAppDefinition + */ + public function setShortdescription($val) + { + $this->_propDict["shortdescription"] = $val; + return $this; + } + + /** + * Gets the teamsAppId + * The ID from the Teams app manifest. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * The ID from the Teams app manifest. + * + * @param string $val The teamsAppId + * + * @return TeamsAppDefinition + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } + + /** + * Gets the version + * The version number of the application. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version number of the application. + * + * @param string $val The version + * + * @return TeamsAppDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + /** + * Gets the bot + * The details of the bot specified in the Teams app manifest. + * + * @return TeamworkBot|null The bot + */ + public function getBot() + { + if (array_key_exists("bot", $this->_propDict)) { + if (is_a($this->_propDict["bot"], "\Beta\Microsoft\Graph\Model\TeamworkBot") || is_null($this->_propDict["bot"])) { + return $this->_propDict["bot"]; + } else { + $this->_propDict["bot"] = new TeamworkBot($this->_propDict["bot"]); + return $this->_propDict["bot"]; + } + } + return null; + } + + /** + * Sets the bot + * The details of the bot specified in the Teams app manifest. + * + * @param TeamworkBot $val The bot + * + * @return TeamsAppDefinition + */ + public function setBot($val) + { + $this->_propDict["bot"] = $val; + return $this; + } + + /** + * Gets the colorIcon + * The color version of the Teams app's icon. + * + * @return TeamsAppIcon|null The colorIcon + */ + public function getColorIcon() + { + if (array_key_exists("colorIcon", $this->_propDict)) { + if (is_a($this->_propDict["colorIcon"], "\Beta\Microsoft\Graph\Model\TeamsAppIcon") || is_null($this->_propDict["colorIcon"])) { + return $this->_propDict["colorIcon"]; + } else { + $this->_propDict["colorIcon"] = new TeamsAppIcon($this->_propDict["colorIcon"]); + return $this->_propDict["colorIcon"]; + } + } + return null; + } + + /** + * Sets the colorIcon + * The color version of the Teams app's icon. + * + * @param TeamsAppIcon $val The colorIcon + * + * @return TeamsAppDefinition + */ + public function setColorIcon($val) + { + $this->_propDict["colorIcon"] = $val; + return $this; + } + + /** + * Gets the outlineIcon + * The outline version of the Teams app's icon. + * + * @return TeamsAppIcon|null The outlineIcon + */ + public function getOutlineIcon() + { + if (array_key_exists("outlineIcon", $this->_propDict)) { + if (is_a($this->_propDict["outlineIcon"], "\Beta\Microsoft\Graph\Model\TeamsAppIcon") || is_null($this->_propDict["outlineIcon"])) { + return $this->_propDict["outlineIcon"]; + } else { + $this->_propDict["outlineIcon"] = new TeamsAppIcon($this->_propDict["outlineIcon"]); + return $this->_propDict["outlineIcon"]; + } + } + return null; + } + + /** + * Sets the outlineIcon + * The outline version of the Teams app's icon. + * + * @param TeamsAppIcon $val The outlineIcon + * + * @return TeamsAppDefinition + */ + public function setOutlineIcon($val) + { + $this->_propDict["outlineIcon"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDistributionMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDistributionMethod.php new file mode 100644 index 0000000..ec32dfc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDistributionMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The web URL that can be used for downloading the image. + * + * @param string $val The webUrl + * + * @return TeamsAppIcon + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the hostedContent + * The contents of the app icon if the icon is hosted within the Teams infrastructure. + * + * @return TeamworkHostedContent|null The hostedContent + */ + public function getHostedContent() + { + if (array_key_exists("hostedContent", $this->_propDict)) { + if (is_a($this->_propDict["hostedContent"], "\Beta\Microsoft\Graph\Model\TeamworkHostedContent") || is_null($this->_propDict["hostedContent"])) { + return $this->_propDict["hostedContent"]; + } else { + $this->_propDict["hostedContent"] = new TeamworkHostedContent($this->_propDict["hostedContent"]); + return $this->_propDict["hostedContent"]; + } + } + return null; + } + + /** + * Sets the hostedContent + * The contents of the app icon if the icon is hosted within the Teams infrastructure. + * + * @param TeamworkHostedContent $val The hostedContent + * + * @return TeamsAppIcon + */ + public function setHostedContent($val) + { + $this->_propDict["hostedContent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallation.php new file mode 100644 index 0000000..f6c9125 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallation.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["teamsApp"], "\Beta\Microsoft\Graph\Model\TeamsApp") || is_null($this->_propDict["teamsApp"])) { + return $this->_propDict["teamsApp"]; + } else { + $this->_propDict["teamsApp"] = new TeamsApp($this->_propDict["teamsApp"]); + return $this->_propDict["teamsApp"]; + } + } + return null; + } + + /** + * Sets the teamsApp + * The app that is installed. + * + * @param TeamsApp $val The teamsApp + * + * @return TeamsAppInstallation + */ + public function setTeamsApp($val) + { + $this->_propDict["teamsApp"] = $val; + return $this; + } + + /** + * Gets the teamsAppDefinition + * The details of this version of the app. + * + * @return TeamsAppDefinition|null The teamsAppDefinition + */ + public function getTeamsAppDefinition() + { + if (array_key_exists("teamsAppDefinition", $this->_propDict)) { + if (is_a($this->_propDict["teamsAppDefinition"], "\Beta\Microsoft\Graph\Model\TeamsAppDefinition") || is_null($this->_propDict["teamsAppDefinition"])) { + return $this->_propDict["teamsAppDefinition"]; + } else { + $this->_propDict["teamsAppDefinition"] = new TeamsAppDefinition($this->_propDict["teamsAppDefinition"]); + return $this->_propDict["teamsAppDefinition"]; + } + } + return null; + } + + /** + * Sets the teamsAppDefinition + * The details of this version of the app. + * + * @param TeamsAppDefinition $val The teamsAppDefinition + * + * @return TeamsAppInstallation + */ + public function setTeamsAppDefinition($val) + { + $this->_propDict["teamsAppDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallationScopes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallationScopes.php new file mode 100644 index 0000000..97574bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallationScopes.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.teamsAppInstalledEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamsAppInstalledEventMessageDetail The TeamsAppInstalledEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @return string|null The teamsAppDisplayName + */ + public function getTeamsAppDisplayName() + { + if (array_key_exists("teamsAppDisplayName", $this->_propDict)) { + return $this->_propDict["teamsAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @param string $val The value of the teamsAppDisplayName + * + * @return TeamsAppInstalledEventMessageDetail + */ + public function setTeamsAppDisplayName($val) + { + $this->_propDict["teamsAppDisplayName"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * Unique identifier of the teamsApp. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * Unique identifier of the teamsApp. + * + * @param string $val The value of the teamsAppId + * + * @return TeamsAppInstalledEventMessageDetail + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppPublishingState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppPublishingState.php new file mode 100644 index 0000000..7c7e1cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppPublishingState.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.teamsAppRemovedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamsAppRemovedEventMessageDetail The TeamsAppRemovedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @return string|null The teamsAppDisplayName + */ + public function getTeamsAppDisplayName() + { + if (array_key_exists("teamsAppDisplayName", $this->_propDict)) { + return $this->_propDict["teamsAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @param string $val The value of the teamsAppDisplayName + * + * @return TeamsAppRemovedEventMessageDetail + */ + public function setTeamsAppDisplayName($val) + { + $this->_propDict["teamsAppDisplayName"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * Unique identifier of the teamsApp. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * Unique identifier of the teamsApp. + * + * @param string $val The value of the teamsAppId + * + * @return TeamsAppRemovedEventMessageDetail + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppUpgradedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppUpgradedEventMessageDetail.php new file mode 100644 index 0000000..7f750ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppUpgradedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamsAppUpgradedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamsAppUpgradedEventMessageDetail The TeamsAppUpgradedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @return string|null The teamsAppDisplayName + */ + public function getTeamsAppDisplayName() + { + if (array_key_exists("teamsAppDisplayName", $this->_propDict)) { + return $this->_propDict["teamsAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @param string $val The value of the teamsAppDisplayName + * + * @return TeamsAppUpgradedEventMessageDetail + */ + public function setTeamsAppDisplayName($val) + { + $this->_propDict["teamsAppDisplayName"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * Unique identifier of the teamsApp. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * Unique identifier of the teamsApp. + * + * @param string $val The value of the teamsAppId + * + * @return TeamsAppUpgradedEventMessageDetail + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperation.php new file mode 100644 index 0000000..a39d13f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperation.php @@ -0,0 +1,279 @@ +_propDict)) { + return $this->_propDict["attemptsCount"]; + } else { + return null; + } + } + + /** + * Sets the attemptsCount + * Number of times the operation was attempted before being marked successful or failed. + * + * @param int $val The attemptsCount + * + * @return TeamsAsyncOperation + */ + public function setAttemptsCount($val) + { + $this->_propDict["attemptsCount"] = intval($val); + return $this; + } + + /** + * Gets the createdDateTime + * Time when the operation was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time when the operation was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamsAsyncOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the error + * Any error that causes the async operation to fail. + * + * @return OperationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\OperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new OperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Any error that causes the async operation to fail. + * + * @param OperationError $val The error + * + * @return TeamsAsyncOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * Time when the async operation was last updated. + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * Time when the async operation was last updated. + * + * @param \DateTime $val The lastActionDateTime + * + * @return TeamsAsyncOperation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the operationType + * Denotes the type of operation being described. + * + * @return TeamsAsyncOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\TeamsAsyncOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new TeamsAsyncOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * Denotes the type of operation being described. + * + * @param TeamsAsyncOperationType $val The operationType + * + * @return TeamsAsyncOperation + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the status + * Operation status. + * + * @return TeamsAsyncOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TeamsAsyncOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new TeamsAsyncOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Operation status. + * + * @param TeamsAsyncOperationStatus $val The status + * + * @return TeamsAsyncOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the targetResourceId + * The ID of the object that's created or modified as result of this async operation, typically a team. + * + * @return string|null The targetResourceId + */ + public function getTargetResourceId() + { + if (array_key_exists("targetResourceId", $this->_propDict)) { + return $this->_propDict["targetResourceId"]; + } else { + return null; + } + } + + /** + * Sets the targetResourceId + * The ID of the object that's created or modified as result of this async operation, typically a team. + * + * @param string $val The targetResourceId + * + * @return TeamsAsyncOperation + */ + public function setTargetResourceId($val) + { + $this->_propDict["targetResourceId"] = $val; + return $this; + } + + /** + * Gets the targetResourceLocation + * The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths. + * + * @return string|null The targetResourceLocation + */ + public function getTargetResourceLocation() + { + if (array_key_exists("targetResourceLocation", $this->_propDict)) { + return $this->_propDict["targetResourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the targetResourceLocation + * The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths. + * + * @param string $val The targetResourceLocation + * + * @return TeamsAsyncOperation + */ + public function setTargetResourceLocation($val) + { + $this->_propDict["targetResourceLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperationStatus.php new file mode 100644 index 0000000..90ca132 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperationStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\TeamsTabConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new TeamsTabConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * Container for custom settings applied to a tab. The tab is considered configured only once this property is set. + * + * @param TeamsTabConfiguration $val The configuration + * + * @return TeamsTab + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the tab. + * + * @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 + * Name of the tab. + * + * @param string $val The displayName + * + * @return TeamsTab + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the messageId + * + * @return string|null The messageId + */ + public function getMessageId() + { + if (array_key_exists("messageId", $this->_propDict)) { + return $this->_propDict["messageId"]; + } else { + return null; + } + } + + /** + * Sets the messageId + * + * @param string $val The messageId + * + * @return TeamsTab + */ + public function setMessageId($val) + { + $this->_propDict["messageId"] = $val; + return $this; + } + + /** + * Gets the sortOrderIndex + * Index of the order used for sorting tabs. + * + * @return string|null The sortOrderIndex + */ + public function getSortOrderIndex() + { + if (array_key_exists("sortOrderIndex", $this->_propDict)) { + return $this->_propDict["sortOrderIndex"]; + } else { + return null; + } + } + + /** + * Sets the sortOrderIndex + * Index of the order used for sorting tabs. + * + * @param string $val The sortOrderIndex + * + * @return TeamsTab + */ + public function setSortOrderIndex($val) + { + $this->_propDict["sortOrderIndex"] = $val; + return $this; + } + + /** + * Gets the teamsAppId + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * + * @param string $val The teamsAppId + * + * @return TeamsTab + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Deep link URL of the tab instance. Read only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Deep link URL of the tab instance. Read only. + * + * @param string $val The webUrl + * + * @return TeamsTab + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the teamsApp + * The application that is linked to the tab. + * + * @return TeamsApp|null The teamsApp + */ + public function getTeamsApp() + { + if (array_key_exists("teamsApp", $this->_propDict)) { + if (is_a($this->_propDict["teamsApp"], "\Beta\Microsoft\Graph\Model\TeamsApp") || is_null($this->_propDict["teamsApp"])) { + return $this->_propDict["teamsApp"]; + } else { + $this->_propDict["teamsApp"] = new TeamsApp($this->_propDict["teamsApp"]); + return $this->_propDict["teamsApp"]; + } + } + return null; + } + + /** + * Sets the teamsApp + * The application that is linked to the tab. + * + * @param TeamsApp $val The teamsApp + * + * @return TeamsTab + */ + public function setTeamsApp($val) + { + $this->_propDict["teamsApp"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTabConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTabConfiguration.php new file mode 100644 index 0000000..5ce4cf3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTabConfiguration.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * Url used for rendering tab contents in Teams. Required. + * + * @param string $val The value of the contentUrl + * + * @return TeamsTabConfiguration + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + /** + * Gets the entityId + * Identifier for the entity hosted by the tab provider. + * + * @return string|null The entityId + */ + public function getEntityId() + { + if (array_key_exists("entityId", $this->_propDict)) { + return $this->_propDict["entityId"]; + } else { + return null; + } + } + + /** + * Sets the entityId + * Identifier for the entity hosted by the tab provider. + * + * @param string $val The value of the entityId + * + * @return TeamsTabConfiguration + */ + public function setEntityId($val) + { + $this->_propDict["entityId"] = $val; + return $this; + } + /** + * Gets the removeUrl + * Url called by Teams client when a Tab is removed using the Teams Client. + * + * @return string|null The removeUrl + */ + public function getRemoveUrl() + { + if (array_key_exists("removeUrl", $this->_propDict)) { + return $this->_propDict["removeUrl"]; + } else { + return null; + } + } + + /** + * Sets the removeUrl + * Url called by Teams client when a Tab is removed using the Teams Client. + * + * @param string $val The value of the removeUrl + * + * @return TeamsTabConfiguration + */ + public function setRemoveUrl($val) + { + $this->_propDict["removeUrl"] = $val; + return $this; + } + /** + * Gets the websiteUrl + * Url for showing tab contents outside of Teams. + * + * @return string|null The websiteUrl + */ + public function getWebsiteUrl() + { + if (array_key_exists("websiteUrl", $this->_propDict)) { + return $this->_propDict["websiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the websiteUrl + * Url for showing tab contents outside of Teams. + * + * @param string $val The value of the websiteUrl + * + * @return TeamsTabConfiguration + */ + public function setWebsiteUrl($val) + { + $this->_propDict["websiteUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTemplate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTemplate.php new file mode 100644 index 0000000..c7b47dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTemplate.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["workforceIntegrations"]; + } else { + return null; + } + } + + /** + * Sets the workforceIntegrations + * A workforce integration with shifts. + * + * @param WorkforceIntegration[] $val The workforceIntegrations + * + * @return Teamwork + */ + public function setWorkforceIntegrations($val) + { + $this->_propDict["workforceIntegrations"] = $val; + return $this; + } + + + /** + * Gets the devices + * The Teams devices provisioned for the tenant. + * + * @return array|null The devices + */ + public function getDevices() + { + if (array_key_exists("devices", $this->_propDict)) { + return $this->_propDict["devices"]; + } else { + return null; + } + } + + /** + * Sets the devices + * The Teams devices provisioned for the tenant. + * + * @param TeamworkDevice[] $val The devices + * + * @return Teamwork + */ + public function setDevices($val) + { + $this->_propDict["devices"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkAccountConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkAccountConfiguration.php new file mode 100644 index 0000000..f5b701e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkAccountConfiguration.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["onPremisesCalendarSyncConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkOnPremisesCalendarSyncConfiguration") || is_null($this->_propDict["onPremisesCalendarSyncConfiguration"])) { + return $this->_propDict["onPremisesCalendarSyncConfiguration"]; + } else { + $this->_propDict["onPremisesCalendarSyncConfiguration"] = new TeamworkOnPremisesCalendarSyncConfiguration($this->_propDict["onPremisesCalendarSyncConfiguration"]); + return $this->_propDict["onPremisesCalendarSyncConfiguration"]; + } + } + return null; + } + + /** + * Sets the onPremisesCalendarSyncConfiguration + * The account used to sync the calendar. + * + * @param TeamworkOnPremisesCalendarSyncConfiguration $val The value to assign to the onPremisesCalendarSyncConfiguration + * + * @return TeamworkAccountConfiguration The TeamworkAccountConfiguration + */ + public function setOnPremisesCalendarSyncConfiguration($val) + { + $this->_propDict["onPremisesCalendarSyncConfiguration"] = $val; + return $this; + } + + /** + * Gets the supportedClient + * The supported client for Teams Rooms devices. The possible values are: unknown, skypeDefaultAndTeams, teamsDefaultAndSkype, skypeOnly, teamsOnly, unknownFutureValue. + * + * @return TeamworkSupportedClient|null The supportedClient + */ + public function getSupportedClient() + { + if (array_key_exists("supportedClient", $this->_propDict)) { + if (is_a($this->_propDict["supportedClient"], "\Beta\Microsoft\Graph\Model\TeamworkSupportedClient") || is_null($this->_propDict["supportedClient"])) { + return $this->_propDict["supportedClient"]; + } else { + $this->_propDict["supportedClient"] = new TeamworkSupportedClient($this->_propDict["supportedClient"]); + return $this->_propDict["supportedClient"]; + } + } + return null; + } + + /** + * Sets the supportedClient + * The supported client for Teams Rooms devices. The possible values are: unknown, skypeDefaultAndTeams, teamsDefaultAndSkype, skypeOnly, teamsOnly, unknownFutureValue. + * + * @param TeamworkSupportedClient $val The value to assign to the supportedClient + * + * @return TeamworkAccountConfiguration The TeamworkAccountConfiguration + */ + public function setSupportedClient($val) + { + $this->_propDict["supportedClient"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivePeripherals.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivePeripherals.php new file mode 100644 index 0000000..246734c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivePeripherals.php @@ -0,0 +1,181 @@ +_propDict)) { + if (is_a($this->_propDict["communicationSpeaker"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["communicationSpeaker"])) { + return $this->_propDict["communicationSpeaker"]; + } else { + $this->_propDict["communicationSpeaker"] = new TeamworkPeripheral($this->_propDict["communicationSpeaker"]); + return $this->_propDict["communicationSpeaker"]; + } + } + return null; + } + + /** + * Sets the communicationSpeaker + * + * @param TeamworkPeripheral $val The value to assign to the communicationSpeaker + * + * @return TeamworkActivePeripherals The TeamworkActivePeripherals + */ + public function setCommunicationSpeaker($val) + { + $this->_propDict["communicationSpeaker"] = $val; + return $this; + } + + /** + * Gets the contentCamera + * + * @return TeamworkPeripheral|null The contentCamera + */ + public function getContentCamera() + { + if (array_key_exists("contentCamera", $this->_propDict)) { + if (is_a($this->_propDict["contentCamera"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["contentCamera"])) { + return $this->_propDict["contentCamera"]; + } else { + $this->_propDict["contentCamera"] = new TeamworkPeripheral($this->_propDict["contentCamera"]); + return $this->_propDict["contentCamera"]; + } + } + return null; + } + + /** + * Sets the contentCamera + * + * @param TeamworkPeripheral $val The value to assign to the contentCamera + * + * @return TeamworkActivePeripherals The TeamworkActivePeripherals + */ + public function setContentCamera($val) + { + $this->_propDict["contentCamera"] = $val; + return $this; + } + + /** + * Gets the microphone + * + * @return TeamworkPeripheral|null The microphone + */ + public function getMicrophone() + { + if (array_key_exists("microphone", $this->_propDict)) { + if (is_a($this->_propDict["microphone"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["microphone"])) { + return $this->_propDict["microphone"]; + } else { + $this->_propDict["microphone"] = new TeamworkPeripheral($this->_propDict["microphone"]); + return $this->_propDict["microphone"]; + } + } + return null; + } + + /** + * Sets the microphone + * + * @param TeamworkPeripheral $val The value to assign to the microphone + * + * @return TeamworkActivePeripherals The TeamworkActivePeripherals + */ + public function setMicrophone($val) + { + $this->_propDict["microphone"] = $val; + return $this; + } + + /** + * Gets the roomCamera + * + * @return TeamworkPeripheral|null The roomCamera + */ + public function getRoomCamera() + { + if (array_key_exists("roomCamera", $this->_propDict)) { + if (is_a($this->_propDict["roomCamera"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["roomCamera"])) { + return $this->_propDict["roomCamera"]; + } else { + $this->_propDict["roomCamera"] = new TeamworkPeripheral($this->_propDict["roomCamera"]); + return $this->_propDict["roomCamera"]; + } + } + return null; + } + + /** + * Sets the roomCamera + * + * @param TeamworkPeripheral $val The value to assign to the roomCamera + * + * @return TeamworkActivePeripherals The TeamworkActivePeripherals + */ + public function setRoomCamera($val) + { + $this->_propDict["roomCamera"] = $val; + return $this; + } + + /** + * Gets the speaker + * + * @return TeamworkPeripheral|null The speaker + */ + public function getSpeaker() + { + if (array_key_exists("speaker", $this->_propDict)) { + if (is_a($this->_propDict["speaker"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["speaker"])) { + return $this->_propDict["speaker"]; + } else { + $this->_propDict["speaker"] = new TeamworkPeripheral($this->_propDict["speaker"]); + return $this->_propDict["speaker"]; + } + } + return null; + } + + /** + * Sets the speaker + * + * @param TeamworkPeripheral $val The value to assign to the speaker + * + * @return TeamworkActivePeripherals The TeamworkActivePeripherals + */ + public function setSpeaker($val) + { + $this->_propDict["speaker"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php new file mode 100644 index 0000000..571e4dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\TeamworkActivityTopicSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new TeamworkActivityTopicSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Type of source. Possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text. + * + * @param TeamworkActivityTopicSource $val The value to assign to the source + * + * @return TeamworkActivityTopic The TeamworkActivityTopic + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + /** + * Gets the value + * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the vaule is text, this must be a plain text value. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the vaule is text, this must be a plain text value. + * + * @param string $val The value of the value + * + * @return TeamworkActivityTopic + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + /** + * Gets the webUrl + * The link the user clicks when they select the notification. Optional when source is entityUrl; required when source is text. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The link the user clicks when they select the notification. Optional when source is entityUrl; required when source is text. + * + * @param string $val The value of the webUrl + * + * @return TeamworkActivityTopic + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopicSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopicSource.php new file mode 100644 index 0000000..9c979c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopicSource.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["applicationIdentityType"], "\Beta\Microsoft\Graph\Model\TeamworkApplicationIdentityType") || is_null($this->_propDict["applicationIdentityType"])) { + return $this->_propDict["applicationIdentityType"]; + } else { + $this->_propDict["applicationIdentityType"] = new TeamworkApplicationIdentityType($this->_propDict["applicationIdentityType"]); + return $this->_propDict["applicationIdentityType"]; + } + } + return null; + } + + /** + * Sets the applicationIdentityType + * Type of application that is referenced. Possible values are: aadApplication, bot, tenantBot, office365Connector, and outgoingWebhook. + * + * @param TeamworkApplicationIdentityType $val The value to assign to the applicationIdentityType + * + * @return TeamworkApplicationIdentity The TeamworkApplicationIdentity + */ + public function setApplicationIdentityType($val) + { + $this->_propDict["applicationIdentityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkApplicationIdentityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkApplicationIdentityType.php new file mode 100644 index 0000000..cd09bcb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkApplicationIdentityType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["contentCameraConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkContentCameraConfiguration") || is_null($this->_propDict["contentCameraConfiguration"])) { + return $this->_propDict["contentCameraConfiguration"]; + } else { + $this->_propDict["contentCameraConfiguration"] = new TeamworkContentCameraConfiguration($this->_propDict["contentCameraConfiguration"]); + return $this->_propDict["contentCameraConfiguration"]; + } + } + return null; + } + + /** + * Sets the contentCameraConfiguration + * The configuration for the content camera. + * + * @param TeamworkContentCameraConfiguration $val The value to assign to the contentCameraConfiguration + * + * @return TeamworkCameraConfiguration The TeamworkCameraConfiguration + */ + public function setContentCameraConfiguration($val) + { + $this->_propDict["contentCameraConfiguration"] = $val; + return $this; + } + + /** + * Gets the cameras + * + * @return TeamworkPeripheral|null The cameras + */ + public function getCameras() + { + if (array_key_exists("cameras", $this->_propDict)) { + if (is_a($this->_propDict["cameras"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["cameras"])) { + return $this->_propDict["cameras"]; + } else { + $this->_propDict["cameras"] = new TeamworkPeripheral($this->_propDict["cameras"]); + return $this->_propDict["cameras"]; + } + } + return null; + } + + /** + * Sets the cameras + * + * @param TeamworkPeripheral $val The value to assign to the cameras + * + * @return TeamworkCameraConfiguration The TeamworkCameraConfiguration + */ + public function setCameras($val) + { + $this->_propDict["cameras"] = $val; + return $this; + } + + /** + * Gets the defaultContentCamera + * + * @return TeamworkPeripheral|null The defaultContentCamera + */ + public function getDefaultContentCamera() + { + if (array_key_exists("defaultContentCamera", $this->_propDict)) { + if (is_a($this->_propDict["defaultContentCamera"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["defaultContentCamera"])) { + return $this->_propDict["defaultContentCamera"]; + } else { + $this->_propDict["defaultContentCamera"] = new TeamworkPeripheral($this->_propDict["defaultContentCamera"]); + return $this->_propDict["defaultContentCamera"]; + } + } + return null; + } + + /** + * Sets the defaultContentCamera + * + * @param TeamworkPeripheral $val The value to assign to the defaultContentCamera + * + * @return TeamworkCameraConfiguration The TeamworkCameraConfiguration + */ + public function setDefaultContentCamera($val) + { + $this->_propDict["defaultContentCamera"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConfiguredPeripheral.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConfiguredPeripheral.php new file mode 100644 index 0000000..266e01a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConfiguredPeripheral.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["isOptional"]; + } else { + return null; + } + } + + /** + * Sets the isOptional + * True if the current peripheral is optional. If set to false, this property is also used as part of the calculation of the health state for the device. + * + * @param bool $val The value of the isOptional + * + * @return TeamworkConfiguredPeripheral + */ + public function setIsOptional($val) + { + $this->_propDict["isOptional"] = $val; + return $this; + } + + /** + * Gets the peripheral + * + * @return TeamworkPeripheral|null The peripheral + */ + public function getPeripheral() + { + if (array_key_exists("peripheral", $this->_propDict)) { + if (is_a($this->_propDict["peripheral"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["peripheral"])) { + return $this->_propDict["peripheral"]; + } else { + $this->_propDict["peripheral"] = new TeamworkPeripheral($this->_propDict["peripheral"]); + return $this->_propDict["peripheral"]; + } + } + return null; + } + + /** + * Sets the peripheral + * + * @param TeamworkPeripheral $val The value to assign to the peripheral + * + * @return TeamworkConfiguredPeripheral The TeamworkConfiguredPeripheral + */ + public function setPeripheral($val) + { + $this->_propDict["peripheral"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConnection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConnection.php new file mode 100644 index 0000000..233f1d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConnection.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["connectionStatus"], "\Beta\Microsoft\Graph\Model\TeamworkConnectionStatus") || is_null($this->_propDict["connectionStatus"])) { + return $this->_propDict["connectionStatus"]; + } else { + $this->_propDict["connectionStatus"] = new TeamworkConnectionStatus($this->_propDict["connectionStatus"]); + return $this->_propDict["connectionStatus"]; + } + } + return null; + } + + /** + * Sets the connectionStatus + * Indicates whether a component/peripheral is connected/disconnected or its state is unknown. The possible values are: unknown, connected, disconnected, unknownFutureValue. + * + * @param TeamworkConnectionStatus $val The value to assign to the connectionStatus + * + * @return TeamworkConnection The TeamworkConnection + */ + public function setConnectionStatus($val) + { + $this->_propDict["connectionStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Time at which the state was last changed. For example, indicates connected since when the state is connected and disconnected since when the state is disconnected. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Time at which the state was last changed. For example, indicates connected since when the state is connected and disconnected since when the state is disconnected. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return TeamworkConnection The TeamworkConnection + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConnectionStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConnectionStatus.php new file mode 100644 index 0000000..3d2640e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConnectionStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["isContentCameraInverted"]; + } else { + return null; + } + } + + /** + * Sets the isContentCameraInverted + * True if the content camera is inverted. + * + * @param bool $val The value of the isContentCameraInverted + * + * @return TeamworkContentCameraConfiguration + */ + public function setIsContentCameraInverted($val) + { + $this->_propDict["isContentCameraInverted"] = $val; + return $this; + } + /** + * Gets the isContentCameraOptional + * True if the content camera is optional. + * + * @return bool|null The isContentCameraOptional + */ + public function getIsContentCameraOptional() + { + if (array_key_exists("isContentCameraOptional", $this->_propDict)) { + return $this->_propDict["isContentCameraOptional"]; + } else { + return null; + } + } + + /** + * Sets the isContentCameraOptional + * True if the content camera is optional. + * + * @param bool $val The value of the isContentCameraOptional + * + * @return TeamworkContentCameraConfiguration + */ + public function setIsContentCameraOptional($val) + { + $this->_propDict["isContentCameraOptional"] = $val; + return $this; + } + /** + * Gets the isContentEnhancementEnabled + * True if the content enhancement is enabled. + * + * @return bool|null The isContentEnhancementEnabled + */ + public function getIsContentEnhancementEnabled() + { + if (array_key_exists("isContentEnhancementEnabled", $this->_propDict)) { + return $this->_propDict["isContentEnhancementEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isContentEnhancementEnabled + * True if the content enhancement is enabled. + * + * @param bool $val The value of the isContentEnhancementEnabled + * + * @return TeamworkContentCameraConfiguration + */ + public function setIsContentEnhancementEnabled($val) + { + $this->_propDict["isContentEnhancementEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConversationIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConversationIdentity.php new file mode 100644 index 0000000..9a559c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConversationIdentity.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["conversationIdentityType"], "\Beta\Microsoft\Graph\Model\TeamworkConversationIdentityType") || is_null($this->_propDict["conversationIdentityType"])) { + return $this->_propDict["conversationIdentityType"]; + } else { + $this->_propDict["conversationIdentityType"] = new TeamworkConversationIdentityType($this->_propDict["conversationIdentityType"]); + return $this->_propDict["conversationIdentityType"]; + } + } + return null; + } + + /** + * Sets the conversationIdentityType + * Type of conversation. Possible values are: team, channel, and chat. + * + * @param TeamworkConversationIdentityType $val The value to assign to the conversationIdentityType + * + * @return TeamworkConversationIdentity The TeamworkConversationIdentity + */ + public function setConversationIdentityType($val) + { + $this->_propDict["conversationIdentityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConversationIdentityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConversationIdentityType.php new file mode 100644 index 0000000..4dc09ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkConversationIdentityType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["dateFormat"]; + } else { + return null; + } + } + + /** + * Sets the dateFormat + * The date format for the device. + * + * @param string $val The value of the dateFormat + * + * @return TeamworkDateTimeConfiguration + */ + public function setDateFormat($val) + { + $this->_propDict["dateFormat"] = $val; + return $this; + } + + /** + * Gets the officeHoursEndTime + * The time of the day when the device is turned off. + * + * @return TimeOfDay|null The officeHoursEndTime + */ + public function getOfficeHoursEndTime() + { + if (array_key_exists("officeHoursEndTime", $this->_propDict)) { + if (is_a($this->_propDict["officeHoursEndTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["officeHoursEndTime"])) { + return $this->_propDict["officeHoursEndTime"]; + } else { + $this->_propDict["officeHoursEndTime"] = new TimeOfDay($this->_propDict["officeHoursEndTime"]); + return $this->_propDict["officeHoursEndTime"]; + } + } + return null; + } + + /** + * Sets the officeHoursEndTime + * The time of the day when the device is turned off. + * + * @param TimeOfDay $val The value to assign to the officeHoursEndTime + * + * @return TeamworkDateTimeConfiguration The TeamworkDateTimeConfiguration + */ + public function setOfficeHoursEndTime($val) + { + $this->_propDict["officeHoursEndTime"] = $val; + return $this; + } + + /** + * Gets the officeHoursStartTime + * The time of the day when the device is turned on. + * + * @return TimeOfDay|null The officeHoursStartTime + */ + public function getOfficeHoursStartTime() + { + if (array_key_exists("officeHoursStartTime", $this->_propDict)) { + if (is_a($this->_propDict["officeHoursStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["officeHoursStartTime"])) { + return $this->_propDict["officeHoursStartTime"]; + } else { + $this->_propDict["officeHoursStartTime"] = new TimeOfDay($this->_propDict["officeHoursStartTime"]); + return $this->_propDict["officeHoursStartTime"]; + } + } + return null; + } + + /** + * Sets the officeHoursStartTime + * The time of the day when the device is turned on. + * + * @param TimeOfDay $val The value to assign to the officeHoursStartTime + * + * @return TeamworkDateTimeConfiguration The TeamworkDateTimeConfiguration + */ + public function setOfficeHoursStartTime($val) + { + $this->_propDict["officeHoursStartTime"] = $val; + return $this; + } + /** + * Gets the timeFormat + * The time format for the device. + * + * @return string|null The timeFormat + */ + public function getTimeFormat() + { + if (array_key_exists("timeFormat", $this->_propDict)) { + return $this->_propDict["timeFormat"]; + } else { + return null; + } + } + + /** + * Sets the timeFormat + * The time format for the device. + * + * @param string $val The value of the timeFormat + * + * @return TeamworkDateTimeConfiguration + */ + public function setTimeFormat($val) + { + $this->_propDict["timeFormat"] = $val; + return $this; + } + /** + * Gets the timeZone + * The time zone to which the office hours apply. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The time zone to which the office hours apply. + * + * @param string $val The value of the timeZone + * + * @return TeamworkDateTimeConfiguration + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDevice.php new file mode 100644 index 0000000..1903b15 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDevice.php @@ -0,0 +1,511 @@ +_propDict)) { + if (is_a($this->_propDict["activityState"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceActivityState") || is_null($this->_propDict["activityState"])) { + return $this->_propDict["activityState"]; + } else { + $this->_propDict["activityState"] = new TeamworkDeviceActivityState($this->_propDict["activityState"]); + return $this->_propDict["activityState"]; + } + } + return null; + } + + /** + * Sets the activityState + * The activity state of the device. The possible values are: unknown, busy, idle, unavailable, unknownFutureValue. + * + * @param TeamworkDeviceActivityState $val The activityState + * + * @return TeamworkDevice + */ + public function setActivityState($val) + { + $this->_propDict["activityState"] = $val; + return $this; + } + + /** + * Gets the companyAssetTag + * The company asset tag assigned by the admin on the device. + * + * @return string|null The companyAssetTag + */ + public function getCompanyAssetTag() + { + if (array_key_exists("companyAssetTag", $this->_propDict)) { + return $this->_propDict["companyAssetTag"]; + } else { + return null; + } + } + + /** + * Sets the companyAssetTag + * The company asset tag assigned by the admin on the device. + * + * @param string $val The companyAssetTag + * + * @return TeamworkDevice + */ + public function setCompanyAssetTag($val) + { + $this->_propDict["companyAssetTag"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user who enrolled the device to the tenant. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who enrolled the device to the tenant. + * + * @param IdentitySet $val The createdBy + * + * @return TeamworkDevice + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The UTC date and time when the device was enrolled to the tenant. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time when the device was enrolled to the tenant. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamworkDevice + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the currentUser + * The signed-in user on the device. + * + * @return TeamworkUserIdentity|null The currentUser + */ + public function getCurrentUser() + { + if (array_key_exists("currentUser", $this->_propDict)) { + if (is_a($this->_propDict["currentUser"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["currentUser"])) { + return $this->_propDict["currentUser"]; + } else { + $this->_propDict["currentUser"] = new TeamworkUserIdentity($this->_propDict["currentUser"]); + return $this->_propDict["currentUser"]; + } + } + return null; + } + + /** + * Sets the currentUser + * The signed-in user on the device. + * + * @param TeamworkUserIdentity $val The currentUser + * + * @return TeamworkDevice + */ + public function setCurrentUser($val) + { + $this->_propDict["currentUser"] = $val; + return $this; + } + + /** + * Gets the deviceType + * The type of device. The possible values are: unknown, ipPhone, teamsRoom, surfaceHub, collaborationBar, teamsDisplay, touchConsole, lowCostPhone, teamsPanel, sip, unknownFutureValue. + * + * @return TeamworkDeviceType|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceType") || is_null($this->_propDict["deviceType"])) { + return $this->_propDict["deviceType"]; + } else { + $this->_propDict["deviceType"] = new TeamworkDeviceType($this->_propDict["deviceType"]); + return $this->_propDict["deviceType"]; + } + } + return null; + } + + /** + * Sets the deviceType + * The type of device. The possible values are: unknown, ipPhone, teamsRoom, surfaceHub, collaborationBar, teamsDisplay, touchConsole, lowCostPhone, teamsPanel, sip, unknownFutureValue. + * + * @param TeamworkDeviceType $val The deviceType + * + * @return TeamworkDevice + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the hardwareDetail + * A collection of hardware-related properties. For example, oemSerialNumber and model. + * + * @return TeamworkHardwareDetail|null The hardwareDetail + */ + public function getHardwareDetail() + { + if (array_key_exists("hardwareDetail", $this->_propDict)) { + if (is_a($this->_propDict["hardwareDetail"], "\Beta\Microsoft\Graph\Model\TeamworkHardwareDetail") || is_null($this->_propDict["hardwareDetail"])) { + return $this->_propDict["hardwareDetail"]; + } else { + $this->_propDict["hardwareDetail"] = new TeamworkHardwareDetail($this->_propDict["hardwareDetail"]); + return $this->_propDict["hardwareDetail"]; + } + } + return null; + } + + /** + * Sets the hardwareDetail + * A collection of hardware-related properties. For example, oemSerialNumber and model. + * + * @param TeamworkHardwareDetail $val The hardwareDetail + * + * @return TeamworkDevice + */ + public function setHardwareDetail($val) + { + $this->_propDict["hardwareDetail"] = $val; + return $this; + } + + /** + * Gets the healthStatus + * The health status of the device. The possible values are: unknown, offline, critical, nonUrgent, healthy, unknownFutureValue. + * + * @return TeamworkDeviceHealthStatus|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceHealthStatus") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new TeamworkDeviceHealthStatus($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health status of the device. The possible values are: unknown, offline, critical, nonUrgent, healthy, unknownFutureValue. + * + * @param TeamworkDeviceHealthStatus $val The healthStatus + * + * @return TeamworkDevice + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user who last modified the device details. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user who last modified the device details. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return TeamworkDevice + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The UTC date and time when the device detail was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The UTC date and time when the device detail was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TeamworkDevice + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the notes + * The notes added by the admin to the device. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * The notes added by the admin to the device. + * + * @param string $val The notes + * + * @return TeamworkDevice + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the activity + * The activity properties that change based on the device usage. + * + * @return TeamworkDeviceActivity|null The activity + */ + public function getActivity() + { + if (array_key_exists("activity", $this->_propDict)) { + if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new TeamworkDeviceActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * The activity properties that change based on the device usage. + * + * @param TeamworkDeviceActivity $val The activity + * + * @return TeamworkDevice + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the configuration + * The configuration properties of the device. + * + * @return TeamworkDeviceConfiguration|null The configuration + */ + public function getConfiguration() + { + if (array_key_exists("configuration", $this->_propDict)) { + if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new TeamworkDeviceConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * The configuration properties of the device. + * + * @param TeamworkDeviceConfiguration $val The configuration + * + * @return TeamworkDevice + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the health + * The health properties of the device. + * + * @return TeamworkDeviceHealth|null The health + */ + public function getHealth() + { + if (array_key_exists("health", $this->_propDict)) { + if (is_a($this->_propDict["health"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceHealth") || is_null($this->_propDict["health"])) { + return $this->_propDict["health"]; + } else { + $this->_propDict["health"] = new TeamworkDeviceHealth($this->_propDict["health"]); + return $this->_propDict["health"]; + } + } + return null; + } + + /** + * Sets the health + * The health properties of the device. + * + * @param TeamworkDeviceHealth $val The health + * + * @return TeamworkDevice + */ + public function setHealth($val) + { + $this->_propDict["health"] = $val; + return $this; + } + + + /** + * Gets the operations + * The async operations on the device. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The async operations on the device. + * + * @param TeamworkDeviceOperation[] $val The operations + * + * @return TeamworkDevice + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceActivity.php new file mode 100644 index 0000000..0b107d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceActivity.php @@ -0,0 +1,192 @@ +_propDict)) { + if (is_a($this->_propDict["activePeripherals"], "\Beta\Microsoft\Graph\Model\TeamworkActivePeripherals") || is_null($this->_propDict["activePeripherals"])) { + return $this->_propDict["activePeripherals"]; + } else { + $this->_propDict["activePeripherals"] = new TeamworkActivePeripherals($this->_propDict["activePeripherals"]); + return $this->_propDict["activePeripherals"]; + } + } + return null; + } + + /** + * Sets the activePeripherals + * The active peripheral devices attached to the device. + * + * @param TeamworkActivePeripherals $val The activePeripherals + * + * @return TeamworkDeviceActivity + */ + public function setActivePeripherals($val) + { + $this->_propDict["activePeripherals"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user who created the device activity document. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who created the device activity document. + * + * @param IdentitySet $val The createdBy + * + * @return TeamworkDeviceActivity + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The UTC date and time when the device activity document was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time when the device activity document was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamworkDeviceActivity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user who last modified the device activity details. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user who last modified the device activity details. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return TeamworkDeviceActivity + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The UTC date and time when the device activity detail was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The UTC date and time when the device activity detail was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TeamworkDeviceActivity + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceActivityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceActivityState.php new file mode 100644 index 0000000..affb48b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceActivityState.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["cameraConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkCameraConfiguration") || is_null($this->_propDict["cameraConfiguration"])) { + return $this->_propDict["cameraConfiguration"]; + } else { + $this->_propDict["cameraConfiguration"] = new TeamworkCameraConfiguration($this->_propDict["cameraConfiguration"]); + return $this->_propDict["cameraConfiguration"]; + } + } + return null; + } + + /** + * Sets the cameraConfiguration + * The camera configuration. Applicable only for Microsoft Teams Rooms-enabled devices. + * + * @param TeamworkCameraConfiguration $val The cameraConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setCameraConfiguration($val) + { + $this->_propDict["cameraConfiguration"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user who created the device configuration document. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who created the device configuration document. + * + * @param IdentitySet $val The createdBy + * + * @return TeamworkDeviceConfiguration + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The UTC date and time when the device configuration document was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time when the device configuration document was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamworkDeviceConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayConfiguration + * The display configuration. + * + * @return TeamworkDisplayConfiguration|null The displayConfiguration + */ + public function getDisplayConfiguration() + { + if (array_key_exists("displayConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["displayConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkDisplayConfiguration") || is_null($this->_propDict["displayConfiguration"])) { + return $this->_propDict["displayConfiguration"]; + } else { + $this->_propDict["displayConfiguration"] = new TeamworkDisplayConfiguration($this->_propDict["displayConfiguration"]); + return $this->_propDict["displayConfiguration"]; + } + } + return null; + } + + /** + * Sets the displayConfiguration + * The display configuration. + * + * @param TeamworkDisplayConfiguration $val The displayConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setDisplayConfiguration($val) + { + $this->_propDict["displayConfiguration"] = $val; + return $this; + } + + /** + * Gets the hardwareConfiguration + * The hardware configuration. Applicable only for Teams Rooms-enabled devices. + * + * @return TeamworkHardwareConfiguration|null The hardwareConfiguration + */ + public function getHardwareConfiguration() + { + if (array_key_exists("hardwareConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["hardwareConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkHardwareConfiguration") || is_null($this->_propDict["hardwareConfiguration"])) { + return $this->_propDict["hardwareConfiguration"]; + } else { + $this->_propDict["hardwareConfiguration"] = new TeamworkHardwareConfiguration($this->_propDict["hardwareConfiguration"]); + return $this->_propDict["hardwareConfiguration"]; + } + } + return null; + } + + /** + * Sets the hardwareConfiguration + * The hardware configuration. Applicable only for Teams Rooms-enabled devices. + * + * @param TeamworkHardwareConfiguration $val The hardwareConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setHardwareConfiguration($val) + { + $this->_propDict["hardwareConfiguration"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user who last modified the device configuration. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user who last modified the device configuration. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return TeamworkDeviceConfiguration + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The UTC date and time when the device configuration was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The UTC date and time when the device configuration was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TeamworkDeviceConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the microphoneConfiguration + * The microphone configuration. Applicable only for Teams Rooms-enabled devices. + * + * @return TeamworkMicrophoneConfiguration|null The microphoneConfiguration + */ + public function getMicrophoneConfiguration() + { + if (array_key_exists("microphoneConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["microphoneConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkMicrophoneConfiguration") || is_null($this->_propDict["microphoneConfiguration"])) { + return $this->_propDict["microphoneConfiguration"]; + } else { + $this->_propDict["microphoneConfiguration"] = new TeamworkMicrophoneConfiguration($this->_propDict["microphoneConfiguration"]); + return $this->_propDict["microphoneConfiguration"]; + } + } + return null; + } + + /** + * Sets the microphoneConfiguration + * The microphone configuration. Applicable only for Teams Rooms-enabled devices. + * + * @param TeamworkMicrophoneConfiguration $val The microphoneConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setMicrophoneConfiguration($val) + { + $this->_propDict["microphoneConfiguration"] = $val; + return $this; + } + + /** + * Gets the softwareVersions + * Information related to software versions for the device, such as firmware, operating system, Teams client, and admin agent. + * + * @return TeamworkDeviceSoftwareVersions|null The softwareVersions + */ + public function getSoftwareVersions() + { + if (array_key_exists("softwareVersions", $this->_propDict)) { + if (is_a($this->_propDict["softwareVersions"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceSoftwareVersions") || is_null($this->_propDict["softwareVersions"])) { + return $this->_propDict["softwareVersions"]; + } else { + $this->_propDict["softwareVersions"] = new TeamworkDeviceSoftwareVersions($this->_propDict["softwareVersions"]); + return $this->_propDict["softwareVersions"]; + } + } + return null; + } + + /** + * Sets the softwareVersions + * Information related to software versions for the device, such as firmware, operating system, Teams client, and admin agent. + * + * @param TeamworkDeviceSoftwareVersions $val The softwareVersions + * + * @return TeamworkDeviceConfiguration + */ + public function setSoftwareVersions($val) + { + $this->_propDict["softwareVersions"] = $val; + return $this; + } + + /** + * Gets the speakerConfiguration + * The speaker configuration. Applicable only for Teams Rooms-enabled devices. + * + * @return TeamworkSpeakerConfiguration|null The speakerConfiguration + */ + public function getSpeakerConfiguration() + { + if (array_key_exists("speakerConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["speakerConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkSpeakerConfiguration") || is_null($this->_propDict["speakerConfiguration"])) { + return $this->_propDict["speakerConfiguration"]; + } else { + $this->_propDict["speakerConfiguration"] = new TeamworkSpeakerConfiguration($this->_propDict["speakerConfiguration"]); + return $this->_propDict["speakerConfiguration"]; + } + } + return null; + } + + /** + * Sets the speakerConfiguration + * The speaker configuration. Applicable only for Teams Rooms-enabled devices. + * + * @param TeamworkSpeakerConfiguration $val The speakerConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setSpeakerConfiguration($val) + { + $this->_propDict["speakerConfiguration"] = $val; + return $this; + } + + /** + * Gets the systemConfiguration + * The system configuration. Not applicable for Teams Rooms-enabled devices. + * + * @return TeamworkSystemConfiguration|null The systemConfiguration + */ + public function getSystemConfiguration() + { + if (array_key_exists("systemConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["systemConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkSystemConfiguration") || is_null($this->_propDict["systemConfiguration"])) { + return $this->_propDict["systemConfiguration"]; + } else { + $this->_propDict["systemConfiguration"] = new TeamworkSystemConfiguration($this->_propDict["systemConfiguration"]); + return $this->_propDict["systemConfiguration"]; + } + } + return null; + } + + /** + * Sets the systemConfiguration + * The system configuration. Not applicable for Teams Rooms-enabled devices. + * + * @param TeamworkSystemConfiguration $val The systemConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setSystemConfiguration($val) + { + $this->_propDict["systemConfiguration"] = $val; + return $this; + } + + /** + * Gets the teamsClientConfiguration + * The Teams client configuration. Applicable only for Teams Rooms-enabled devices. + * + * @return TeamworkTeamsClientConfiguration|null The teamsClientConfiguration + */ + public function getTeamsClientConfiguration() + { + if (array_key_exists("teamsClientConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["teamsClientConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkTeamsClientConfiguration") || is_null($this->_propDict["teamsClientConfiguration"])) { + return $this->_propDict["teamsClientConfiguration"]; + } else { + $this->_propDict["teamsClientConfiguration"] = new TeamworkTeamsClientConfiguration($this->_propDict["teamsClientConfiguration"]); + return $this->_propDict["teamsClientConfiguration"]; + } + } + return null; + } + + /** + * Sets the teamsClientConfiguration + * The Teams client configuration. Applicable only for Teams Rooms-enabled devices. + * + * @param TeamworkTeamsClientConfiguration $val The teamsClientConfiguration + * + * @return TeamworkDeviceConfiguration + */ + public function setTeamsClientConfiguration($val) + { + $this->_propDict["teamsClientConfiguration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceHealth.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceHealth.php new file mode 100644 index 0000000..42380a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceHealth.php @@ -0,0 +1,324 @@ +_propDict)) { + if (is_a($this->_propDict["connection"], "\Beta\Microsoft\Graph\Model\TeamworkConnection") || is_null($this->_propDict["connection"])) { + return $this->_propDict["connection"]; + } else { + $this->_propDict["connection"] = new TeamworkConnection($this->_propDict["connection"]); + return $this->_propDict["connection"]; + } + } + return null; + } + + /** + * Sets the connection + * Information about the connection status. + * + * @param TeamworkConnection $val The connection + * + * @return TeamworkDeviceHealth + */ + public function setConnection($val) + { + $this->_propDict["connection"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user who created the device health document. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who created the device health document. + * + * @param IdentitySet $val The createdBy + * + * @return TeamworkDeviceHealth + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The UTC date and time when the device health document was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time when the device health document was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamworkDeviceHealth + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the hardwareHealth + * Health details about the device hardware. + * + * @return TeamworkHardwareHealth|null The hardwareHealth + */ + public function getHardwareHealth() + { + if (array_key_exists("hardwareHealth", $this->_propDict)) { + if (is_a($this->_propDict["hardwareHealth"], "\Beta\Microsoft\Graph\Model\TeamworkHardwareHealth") || is_null($this->_propDict["hardwareHealth"])) { + return $this->_propDict["hardwareHealth"]; + } else { + $this->_propDict["hardwareHealth"] = new TeamworkHardwareHealth($this->_propDict["hardwareHealth"]); + return $this->_propDict["hardwareHealth"]; + } + } + return null; + } + + /** + * Sets the hardwareHealth + * Health details about the device hardware. + * + * @param TeamworkHardwareHealth $val The hardwareHealth + * + * @return TeamworkDeviceHealth + */ + public function setHardwareHealth($val) + { + $this->_propDict["hardwareHealth"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user who last modified the device health details. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user who last modified the device health details. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return TeamworkDeviceHealth + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The UTC date and time when the device health detail was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The UTC date and time when the device health detail was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TeamworkDeviceHealth + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the loginStatus + * The login status of Microsoft Teams, Skype for Business, and Exchange. + * + * @return TeamworkLoginStatus|null The loginStatus + */ + public function getLoginStatus() + { + if (array_key_exists("loginStatus", $this->_propDict)) { + if (is_a($this->_propDict["loginStatus"], "\Beta\Microsoft\Graph\Model\TeamworkLoginStatus") || is_null($this->_propDict["loginStatus"])) { + return $this->_propDict["loginStatus"]; + } else { + $this->_propDict["loginStatus"] = new TeamworkLoginStatus($this->_propDict["loginStatus"]); + return $this->_propDict["loginStatus"]; + } + } + return null; + } + + /** + * Sets the loginStatus + * The login status of Microsoft Teams, Skype for Business, and Exchange. + * + * @param TeamworkLoginStatus $val The loginStatus + * + * @return TeamworkDeviceHealth + */ + public function setLoginStatus($val) + { + $this->_propDict["loginStatus"] = $val; + return $this; + } + + /** + * Gets the peripheralsHealth + * Health details about all peripherals (for example, speaker and microphone) attached to a device. + * + * @return TeamworkPeripheralsHealth|null The peripheralsHealth + */ + public function getPeripheralsHealth() + { + if (array_key_exists("peripheralsHealth", $this->_propDict)) { + if (is_a($this->_propDict["peripheralsHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralsHealth") || is_null($this->_propDict["peripheralsHealth"])) { + return $this->_propDict["peripheralsHealth"]; + } else { + $this->_propDict["peripheralsHealth"] = new TeamworkPeripheralsHealth($this->_propDict["peripheralsHealth"]); + return $this->_propDict["peripheralsHealth"]; + } + } + return null; + } + + /** + * Sets the peripheralsHealth + * Health details about all peripherals (for example, speaker and microphone) attached to a device. + * + * @param TeamworkPeripheralsHealth $val The peripheralsHealth + * + * @return TeamworkDeviceHealth + */ + public function setPeripheralsHealth($val) + { + $this->_propDict["peripheralsHealth"] = $val; + return $this; + } + + /** + * Gets the softwareUpdateHealth + * Software updates available for the device. + * + * @return TeamworkSoftwareUpdateHealth|null The softwareUpdateHealth + */ + public function getSoftwareUpdateHealth() + { + if (array_key_exists("softwareUpdateHealth", $this->_propDict)) { + if (is_a($this->_propDict["softwareUpdateHealth"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateHealth") || is_null($this->_propDict["softwareUpdateHealth"])) { + return $this->_propDict["softwareUpdateHealth"]; + } else { + $this->_propDict["softwareUpdateHealth"] = new TeamworkSoftwareUpdateHealth($this->_propDict["softwareUpdateHealth"]); + return $this->_propDict["softwareUpdateHealth"]; + } + } + return null; + } + + /** + * Sets the softwareUpdateHealth + * Software updates available for the device. + * + * @param TeamworkSoftwareUpdateHealth $val The softwareUpdateHealth + * + * @return TeamworkDeviceHealth + */ + public function setSoftwareUpdateHealth($val) + { + $this->_propDict["softwareUpdateHealth"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceHealthStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceHealthStatus.php new file mode 100644 index 0000000..3f6d8d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceHealthStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Time at which the operation reached a final state (for example, Successful, Failed, and Cancelled). + * + * @param \DateTime $val The completedDateTime + * + * @return TeamworkDeviceOperation + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user who created the device operation. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user who created the device operation. + * + * @param IdentitySet $val The createdBy + * + * @return TeamworkDeviceOperation + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The UTC date and time when the device operation was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time when the device operation was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamworkDeviceOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the error + * Error details are available only in case of a failed status. + * + * @return OperationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\OperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new OperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Error details are available only in case of a failed status. + * + * @param OperationError $val The error + * + * @return TeamworkDeviceOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the lastActionBy + * Identity of the user who last modified the device operation. + * + * @return IdentitySet|null The lastActionBy + */ + public function getLastActionBy() + { + if (array_key_exists("lastActionBy", $this->_propDict)) { + if (is_a($this->_propDict["lastActionBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastActionBy"])) { + return $this->_propDict["lastActionBy"]; + } else { + $this->_propDict["lastActionBy"] = new IdentitySet($this->_propDict["lastActionBy"]); + return $this->_propDict["lastActionBy"]; + } + } + return null; + } + + /** + * Sets the lastActionBy + * Identity of the user who last modified the device operation. + * + * @param IdentitySet $val The lastActionBy + * + * @return TeamworkDeviceOperation + */ + public function setLastActionBy($val) + { + $this->_propDict["lastActionBy"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * The UTC date and time when the device operation was last modified. + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * The UTC date and time when the device operation was last modified. + * + * @param \DateTime $val The lastActionDateTime + * + * @return TeamworkDeviceOperation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the operationType + * Type of async operation on a device. The possible values are: deviceRestart, configUpdate, deviceDiagnostics, softwareUpdate, deviceManagementAgentConfigUpdate, remoteLogin, remoteLogout, unknownFutureValue. + * + * @return TeamworkDeviceOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\TeamworkDeviceOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new TeamworkDeviceOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * Type of async operation on a device. The possible values are: deviceRestart, configUpdate, deviceDiagnostics, softwareUpdate, deviceManagementAgentConfigUpdate, remoteLogin, remoteLogout, unknownFutureValue. + * + * @param TeamworkDeviceOperationType $val The operationType + * + * @return TeamworkDeviceOperation + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the startedDateTime + * Time at which the operation was started. + * + * @return \DateTime|null The startedDateTime + */ + public function getStartedDateTime() + { + if (array_key_exists("startedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startedDateTime"], "\DateTime") || is_null($this->_propDict["startedDateTime"])) { + return $this->_propDict["startedDateTime"]; + } else { + $this->_propDict["startedDateTime"] = new \DateTime($this->_propDict["startedDateTime"]); + return $this->_propDict["startedDateTime"]; + } + } + return null; + } + + /** + * Sets the startedDateTime + * Time at which the operation was started. + * + * @param \DateTime $val The startedDateTime + * + * @return TeamworkDeviceOperation + */ + public function setStartedDateTime($val) + { + $this->_propDict["startedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The current status of the async operation, for example, Queued, Scheduled, InProgress, Successful, Cancelled, and Failed. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The current status of the async operation, for example, Queued, Scheduled, InProgress, Successful, Cancelled, and Failed. + * + * @param string $val The status + * + * @return TeamworkDeviceOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceOperationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceOperationType.php new file mode 100644 index 0000000..0b60c01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceOperationType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["adminAgentSoftwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the adminAgentSoftwareVersion + * The software version for the admin agent running on the device. + * + * @param string $val The value of the adminAgentSoftwareVersion + * + * @return TeamworkDeviceSoftwareVersions + */ + public function setAdminAgentSoftwareVersion($val) + { + $this->_propDict["adminAgentSoftwareVersion"] = $val; + return $this; + } + /** + * Gets the firmwareSoftwareVersion + * The software version for the firmware running on the device. + * + * @return string|null The firmwareSoftwareVersion + */ + public function getFirmwareSoftwareVersion() + { + if (array_key_exists("firmwareSoftwareVersion", $this->_propDict)) { + return $this->_propDict["firmwareSoftwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the firmwareSoftwareVersion + * The software version for the firmware running on the device. + * + * @param string $val The value of the firmwareSoftwareVersion + * + * @return TeamworkDeviceSoftwareVersions + */ + public function setFirmwareSoftwareVersion($val) + { + $this->_propDict["firmwareSoftwareVersion"] = $val; + return $this; + } + /** + * Gets the operatingSystemSoftwareVersion + * The software version for the operating system on the device. + * + * @return string|null The operatingSystemSoftwareVersion + */ + public function getOperatingSystemSoftwareVersion() + { + if (array_key_exists("operatingSystemSoftwareVersion", $this->_propDict)) { + return $this->_propDict["operatingSystemSoftwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemSoftwareVersion + * The software version for the operating system on the device. + * + * @param string $val The value of the operatingSystemSoftwareVersion + * + * @return TeamworkDeviceSoftwareVersions + */ + public function setOperatingSystemSoftwareVersion($val) + { + $this->_propDict["operatingSystemSoftwareVersion"] = $val; + return $this; + } + /** + * Gets the partnerAgentSoftwareVersion + * The software version for the partner agent running on the device. + * + * @return string|null The partnerAgentSoftwareVersion + */ + public function getPartnerAgentSoftwareVersion() + { + if (array_key_exists("partnerAgentSoftwareVersion", $this->_propDict)) { + return $this->_propDict["partnerAgentSoftwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the partnerAgentSoftwareVersion + * The software version for the partner agent running on the device. + * + * @param string $val The value of the partnerAgentSoftwareVersion + * + * @return TeamworkDeviceSoftwareVersions + */ + public function setPartnerAgentSoftwareVersion($val) + { + $this->_propDict["partnerAgentSoftwareVersion"] = $val; + return $this; + } + /** + * Gets the teamsClientSoftwareVersion + * The software version for the Teams client running on the device. + * + * @return string|null The teamsClientSoftwareVersion + */ + public function getTeamsClientSoftwareVersion() + { + if (array_key_exists("teamsClientSoftwareVersion", $this->_propDict)) { + return $this->_propDict["teamsClientSoftwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the teamsClientSoftwareVersion + * The software version for the Teams client running on the device. + * + * @param string $val The value of the teamsClientSoftwareVersion + * + * @return TeamworkDeviceSoftwareVersions + */ + public function setTeamsClientSoftwareVersion($val) + { + $this->_propDict["teamsClientSoftwareVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceType.php new file mode 100644 index 0000000..7b1576d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDeviceType.php @@ -0,0 +1,43 @@ +_propDict)) { + if (is_a($this->_propDict["configuredDisplays"], "\Beta\Microsoft\Graph\Model\TeamworkConfiguredPeripheral") || is_null($this->_propDict["configuredDisplays"])) { + return $this->_propDict["configuredDisplays"]; + } else { + $this->_propDict["configuredDisplays"] = new TeamworkConfiguredPeripheral($this->_propDict["configuredDisplays"]); + return $this->_propDict["configuredDisplays"]; + } + } + return null; + } + + /** + * Sets the configuredDisplays + * The list of configured displays. Applicable only for Microsoft Teams Rooms devices. + * + * @param TeamworkConfiguredPeripheral $val The value to assign to the configuredDisplays + * + * @return TeamworkDisplayConfiguration The TeamworkDisplayConfiguration + */ + public function setConfiguredDisplays($val) + { + $this->_propDict["configuredDisplays"] = $val; + return $this; + } + /** + * Gets the displayCount + * Total number of connected displays, including the inbuilt display. Applicable only for Teams Rooms devices. + * + * @return int|null The displayCount + */ + public function getDisplayCount() + { + if (array_key_exists("displayCount", $this->_propDict)) { + return $this->_propDict["displayCount"]; + } else { + return null; + } + } + + /** + * Sets the displayCount + * Total number of connected displays, including the inbuilt display. Applicable only for Teams Rooms devices. + * + * @param int $val The value of the displayCount + * + * @return TeamworkDisplayConfiguration + */ + public function setDisplayCount($val) + { + $this->_propDict["displayCount"] = $val; + return $this; + } + + /** + * Gets the inBuiltDisplayScreenConfiguration + * Configuration for the inbuilt display. Not applicable for Teams Rooms devices. + * + * @return TeamworkDisplayScreenConfiguration|null The inBuiltDisplayScreenConfiguration + */ + public function getInBuiltDisplayScreenConfiguration() + { + if (array_key_exists("inBuiltDisplayScreenConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["inBuiltDisplayScreenConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkDisplayScreenConfiguration") || is_null($this->_propDict["inBuiltDisplayScreenConfiguration"])) { + return $this->_propDict["inBuiltDisplayScreenConfiguration"]; + } else { + $this->_propDict["inBuiltDisplayScreenConfiguration"] = new TeamworkDisplayScreenConfiguration($this->_propDict["inBuiltDisplayScreenConfiguration"]); + return $this->_propDict["inBuiltDisplayScreenConfiguration"]; + } + } + return null; + } + + /** + * Sets the inBuiltDisplayScreenConfiguration + * Configuration for the inbuilt display. Not applicable for Teams Rooms devices. + * + * @param TeamworkDisplayScreenConfiguration $val The value to assign to the inBuiltDisplayScreenConfiguration + * + * @return TeamworkDisplayConfiguration The TeamworkDisplayConfiguration + */ + public function setInBuiltDisplayScreenConfiguration($val) + { + $this->_propDict["inBuiltDisplayScreenConfiguration"] = $val; + return $this; + } + /** + * Gets the isContentDuplicationAllowed + * True if content duplication is allowed. Applicable only for Teams Rooms devices. + * + * @return bool|null The isContentDuplicationAllowed + */ + public function getIsContentDuplicationAllowed() + { + if (array_key_exists("isContentDuplicationAllowed", $this->_propDict)) { + return $this->_propDict["isContentDuplicationAllowed"]; + } else { + return null; + } + } + + /** + * Sets the isContentDuplicationAllowed + * True if content duplication is allowed. Applicable only for Teams Rooms devices. + * + * @param bool $val The value of the isContentDuplicationAllowed + * + * @return TeamworkDisplayConfiguration + */ + public function setIsContentDuplicationAllowed($val) + { + $this->_propDict["isContentDuplicationAllowed"] = $val; + return $this; + } + /** + * Gets the isDualDisplayModeEnabled + * True if dual display mode is enabled. If isDualDisplayModeEnabled is true, then the content will be displayed on both front of room screens instead of just the one screen, when it is shared via the HDMI ingest module on the Microsoft Teams Rooms device. Applicable only for Teams Rooms devices. + * + * @return bool|null The isDualDisplayModeEnabled + */ + public function getIsDualDisplayModeEnabled() + { + if (array_key_exists("isDualDisplayModeEnabled", $this->_propDict)) { + return $this->_propDict["isDualDisplayModeEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDualDisplayModeEnabled + * True if dual display mode is enabled. If isDualDisplayModeEnabled is true, then the content will be displayed on both front of room screens instead of just the one screen, when it is shared via the HDMI ingest module on the Microsoft Teams Rooms device. Applicable only for Teams Rooms devices. + * + * @param bool $val The value of the isDualDisplayModeEnabled + * + * @return TeamworkDisplayConfiguration + */ + public function setIsDualDisplayModeEnabled($val) + { + $this->_propDict["isDualDisplayModeEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDisplayScreenConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDisplayScreenConfiguration.php new file mode 100644 index 0000000..6e3c79e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkDisplayScreenConfiguration.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["backlightBrightness"]; + } else { + return null; + } + } + + /** + * Sets the backlightBrightness + * The brightness level on the device (0-100). Not applicable for Microsoft Teams Rooms devices. + * + * @param int $val The value of the backlightBrightness + * + * @return TeamworkDisplayScreenConfiguration + */ + public function setBacklightBrightness($val) + { + $this->_propDict["backlightBrightness"] = $val; + return $this; + } + + /** + * Gets the backlightTimeout + * Timeout for backlight (30-3600 secs). Not applicable for Teams Rooms devices. + * + * @return \DateInterval|null The backlightTimeout + */ + public function getBacklightTimeout() + { + if (array_key_exists("backlightTimeout", $this->_propDict)) { + if (is_a($this->_propDict["backlightTimeout"], "\DateInterval") || is_null($this->_propDict["backlightTimeout"])) { + return $this->_propDict["backlightTimeout"]; + } else { + $this->_propDict["backlightTimeout"] = new \DateInterval($this->_propDict["backlightTimeout"]); + return $this->_propDict["backlightTimeout"]; + } + } + return null; + } + + /** + * Sets the backlightTimeout + * Timeout for backlight (30-3600 secs). Not applicable for Teams Rooms devices. + * + * @param \DateInterval $val The value to assign to the backlightTimeout + * + * @return TeamworkDisplayScreenConfiguration The TeamworkDisplayScreenConfiguration + */ + public function setBacklightTimeout($val) + { + $this->_propDict["backlightTimeout"] = $val; + return $this; + } + /** + * Gets the isHighContrastEnabled + * True if high contrast mode is enabled. Not applicable for Teams Rooms devices. + * + * @return bool|null The isHighContrastEnabled + */ + public function getIsHighContrastEnabled() + { + if (array_key_exists("isHighContrastEnabled", $this->_propDict)) { + return $this->_propDict["isHighContrastEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isHighContrastEnabled + * True if high contrast mode is enabled. Not applicable for Teams Rooms devices. + * + * @param bool $val The value of the isHighContrastEnabled + * + * @return TeamworkDisplayScreenConfiguration + */ + public function setIsHighContrastEnabled($val) + { + $this->_propDict["isHighContrastEnabled"] = $val; + return $this; + } + /** + * Gets the isScreensaverEnabled + * True if screensaver is enabled. Not applicable for Teams Rooms devices. + * + * @return bool|null The isScreensaverEnabled + */ + public function getIsScreensaverEnabled() + { + if (array_key_exists("isScreensaverEnabled", $this->_propDict)) { + return $this->_propDict["isScreensaverEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isScreensaverEnabled + * True if screensaver is enabled. Not applicable for Teams Rooms devices. + * + * @param bool $val The value of the isScreensaverEnabled + * + * @return TeamworkDisplayScreenConfiguration + */ + public function setIsScreensaverEnabled($val) + { + $this->_propDict["isScreensaverEnabled"] = $val; + return $this; + } + + /** + * Gets the screensaverTimeout + * Screensaver timeout from 30 to 3600 secs. Not applicable for Teams Rooms devices. + * + * @return \DateInterval|null The screensaverTimeout + */ + public function getScreensaverTimeout() + { + if (array_key_exists("screensaverTimeout", $this->_propDict)) { + if (is_a($this->_propDict["screensaverTimeout"], "\DateInterval") || is_null($this->_propDict["screensaverTimeout"])) { + return $this->_propDict["screensaverTimeout"]; + } else { + $this->_propDict["screensaverTimeout"] = new \DateInterval($this->_propDict["screensaverTimeout"]); + return $this->_propDict["screensaverTimeout"]; + } + } + return null; + } + + /** + * Sets the screensaverTimeout + * Screensaver timeout from 30 to 3600 secs. Not applicable for Teams Rooms devices. + * + * @param \DateInterval $val The value to assign to the screensaverTimeout + * + * @return TeamworkDisplayScreenConfiguration The TeamworkDisplayScreenConfiguration + */ + public function setScreensaverTimeout($val) + { + $this->_propDict["screensaverTimeout"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkFeaturesConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkFeaturesConfiguration.php new file mode 100644 index 0000000..dab0c67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkFeaturesConfiguration.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["emailToSendLogsAndFeedback"]; + } else { + return null; + } + } + + /** + * Sets the emailToSendLogsAndFeedback + * Email address to send logs and feedback. + * + * @param string $val The value of the emailToSendLogsAndFeedback + * + * @return TeamworkFeaturesConfiguration + */ + public function setEmailToSendLogsAndFeedback($val) + { + $this->_propDict["emailToSendLogsAndFeedback"] = $val; + return $this; + } + /** + * Gets the isAutoScreenShareEnabled + * True if auto screen shared is enabled. + * + * @return bool|null The isAutoScreenShareEnabled + */ + public function getIsAutoScreenShareEnabled() + { + if (array_key_exists("isAutoScreenShareEnabled", $this->_propDict)) { + return $this->_propDict["isAutoScreenShareEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isAutoScreenShareEnabled + * True if auto screen shared is enabled. + * + * @param bool $val The value of the isAutoScreenShareEnabled + * + * @return TeamworkFeaturesConfiguration + */ + public function setIsAutoScreenShareEnabled($val) + { + $this->_propDict["isAutoScreenShareEnabled"] = $val; + return $this; + } + /** + * Gets the isBluetoothBeaconingEnabled + * True if Bluetooth beaconing is enabled. + * + * @return bool|null The isBluetoothBeaconingEnabled + */ + public function getIsBluetoothBeaconingEnabled() + { + if (array_key_exists("isBluetoothBeaconingEnabled", $this->_propDict)) { + return $this->_propDict["isBluetoothBeaconingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isBluetoothBeaconingEnabled + * True if Bluetooth beaconing is enabled. + * + * @param bool $val The value of the isBluetoothBeaconingEnabled + * + * @return TeamworkFeaturesConfiguration + */ + public function setIsBluetoothBeaconingEnabled($val) + { + $this->_propDict["isBluetoothBeaconingEnabled"] = $val; + return $this; + } + /** + * Gets the isHideMeetingNamesEnabled + * True if hiding meeting names is enabled. + * + * @return bool|null The isHideMeetingNamesEnabled + */ + public function getIsHideMeetingNamesEnabled() + { + if (array_key_exists("isHideMeetingNamesEnabled", $this->_propDict)) { + return $this->_propDict["isHideMeetingNamesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isHideMeetingNamesEnabled + * True if hiding meeting names is enabled. + * + * @param bool $val The value of the isHideMeetingNamesEnabled + * + * @return TeamworkFeaturesConfiguration + */ + public function setIsHideMeetingNamesEnabled($val) + { + $this->_propDict["isHideMeetingNamesEnabled"] = $val; + return $this; + } + /** + * Gets the isSendLogsAndFeedbackEnabled + * True if sending logs and feedback is enabled. + * + * @return bool|null The isSendLogsAndFeedbackEnabled + */ + public function getIsSendLogsAndFeedbackEnabled() + { + if (array_key_exists("isSendLogsAndFeedbackEnabled", $this->_propDict)) { + return $this->_propDict["isSendLogsAndFeedbackEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSendLogsAndFeedbackEnabled + * True if sending logs and feedback is enabled. + * + * @param bool $val The value of the isSendLogsAndFeedbackEnabled + * + * @return TeamworkFeaturesConfiguration + */ + public function setIsSendLogsAndFeedbackEnabled($val) + { + $this->_propDict["isSendLogsAndFeedbackEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareConfiguration.php new file mode 100644 index 0000000..fe304a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareConfiguration.php @@ -0,0 +1,116 @@ +_propDict)) { + return $this->_propDict["processorModel"]; + } else { + return null; + } + } + + /** + * Sets the processorModel + * The CPU model on the device. + * + * @param string $val The value of the processorModel + * + * @return TeamworkHardwareConfiguration + */ + public function setProcessorModel($val) + { + $this->_propDict["processorModel"] = $val; + return $this; + } + + /** + * Gets the compute + * + * @return TeamworkPeripheral|null The compute + */ + public function getCompute() + { + if (array_key_exists("compute", $this->_propDict)) { + if (is_a($this->_propDict["compute"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["compute"])) { + return $this->_propDict["compute"]; + } else { + $this->_propDict["compute"] = new TeamworkPeripheral($this->_propDict["compute"]); + return $this->_propDict["compute"]; + } + } + return null; + } + + /** + * Sets the compute + * + * @param TeamworkPeripheral $val The value to assign to the compute + * + * @return TeamworkHardwareConfiguration The TeamworkHardwareConfiguration + */ + public function setCompute($val) + { + $this->_propDict["compute"] = $val; + return $this; + } + + /** + * Gets the hdmiIngest + * + * @return TeamworkPeripheral|null The hdmiIngest + */ + public function getHdmiIngest() + { + if (array_key_exists("hdmiIngest", $this->_propDict)) { + if (is_a($this->_propDict["hdmiIngest"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["hdmiIngest"])) { + return $this->_propDict["hdmiIngest"]; + } else { + $this->_propDict["hdmiIngest"] = new TeamworkPeripheral($this->_propDict["hdmiIngest"]); + return $this->_propDict["hdmiIngest"]; + } + } + return null; + } + + /** + * Sets the hdmiIngest + * + * @param TeamworkPeripheral $val The value to assign to the hdmiIngest + * + * @return TeamworkHardwareConfiguration The TeamworkHardwareConfiguration + */ + public function setHdmiIngest($val) + { + $this->_propDict["hdmiIngest"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareDetail.php new file mode 100644 index 0000000..5513125 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareDetail.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["macAddresses"]; + } else { + return null; + } + } + + /** + * Sets the macAddresses + * MAC address. + * + * @param string $val The value of the macAddresses + * + * @return TeamworkHardwareDetail + */ + public function setMacAddresses($val) + { + $this->_propDict["macAddresses"] = $val; + return $this; + } + /** + * Gets the manufacturer + * Device manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Device manufacturer. + * + * @param string $val The value of the manufacturer + * + * @return TeamworkHardwareDetail + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + /** + * Gets the model + * Devie model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Devie model. + * + * @param string $val The value of the model + * + * @return TeamworkHardwareDetail + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + /** + * Gets the serialNumber + * Device serial number. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Device serial number. + * + * @param string $val The value of the serialNumber + * + * @return TeamworkHardwareDetail + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + /** + * Gets the uniqueId + * The unique identifier for the device. + * + * @return string|null The uniqueId + */ + public function getUniqueId() + { + if (array_key_exists("uniqueId", $this->_propDict)) { + return $this->_propDict["uniqueId"]; + } else { + return null; + } + } + + /** + * Sets the uniqueId + * The unique identifier for the device. + * + * @param string $val The value of the uniqueId + * + * @return TeamworkHardwareDetail + */ + public function setUniqueId($val) + { + $this->_propDict["uniqueId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareHealth.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareHealth.php new file mode 100644 index 0000000..f82c2a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHardwareHealth.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["computeHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["computeHealth"])) { + return $this->_propDict["computeHealth"]; + } else { + $this->_propDict["computeHealth"] = new TeamworkPeripheralHealth($this->_propDict["computeHealth"]); + return $this->_propDict["computeHealth"]; + } + } + return null; + } + + /** + * Sets the computeHealth + * The system health details for a teamworkDevice. + * + * @param TeamworkPeripheralHealth $val The value to assign to the computeHealth + * + * @return TeamworkHardwareHealth The TeamworkHardwareHealth + */ + public function setComputeHealth($val) + { + $this->_propDict["computeHealth"] = $val; + return $this; + } + + /** + * Gets the hdmiIngestHealth + * The health details about the HDMI ingest of a device. + * + * @return TeamworkPeripheralHealth|null The hdmiIngestHealth + */ + public function getHdmiIngestHealth() + { + if (array_key_exists("hdmiIngestHealth", $this->_propDict)) { + if (is_a($this->_propDict["hdmiIngestHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["hdmiIngestHealth"])) { + return $this->_propDict["hdmiIngestHealth"]; + } else { + $this->_propDict["hdmiIngestHealth"] = new TeamworkPeripheralHealth($this->_propDict["hdmiIngestHealth"]); + return $this->_propDict["hdmiIngestHealth"]; + } + } + return null; + } + + /** + * Sets the hdmiIngestHealth + * The health details about the HDMI ingest of a device. + * + * @param TeamworkPeripheralHealth $val The value to assign to the hdmiIngestHealth + * + * @return TeamworkHardwareHealth The TeamworkHardwareHealth + */ + public function setHdmiIngestHealth($val) + { + $this->_propDict["hdmiIngestHealth"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHostedContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHostedContent.php new file mode 100644 index 0000000..68aeb1d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkHostedContent.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["contentBytes"])) { + return $this->_propDict["contentBytes"]; + } else { + $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["contentBytes"]); + return $this->_propDict["contentBytes"]; + } + } + return null; + } + + /** + * Sets the contentBytes + * Write only. Bytes for the hosted content (such as images). + * + * @param \GuzzleHttp\Psr7\Stream $val The contentBytes + * + * @return TeamworkHostedContent + */ + public function setContentBytes($val) + { + $this->_propDict["contentBytes"] = $val; + return $this; + } + + /** + * Gets the contentType + * Write only. Content type, such as image/png, image/jpg. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * Write only. Content type, such as image/png, image/jpg. + * + * @param string $val The contentType + * + * @return TeamworkHostedContent + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkLoginStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkLoginStatus.php new file mode 100644 index 0000000..fca9473 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkLoginStatus.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["exchangeConnection"], "\Beta\Microsoft\Graph\Model\TeamworkConnection") || is_null($this->_propDict["exchangeConnection"])) { + return $this->_propDict["exchangeConnection"]; + } else { + $this->_propDict["exchangeConnection"] = new TeamworkConnection($this->_propDict["exchangeConnection"]); + return $this->_propDict["exchangeConnection"]; + } + } + return null; + } + + /** + * Sets the exchangeConnection + * Information about the Exchange connection. + * + * @param TeamworkConnection $val The value to assign to the exchangeConnection + * + * @return TeamworkLoginStatus The TeamworkLoginStatus + */ + public function setExchangeConnection($val) + { + $this->_propDict["exchangeConnection"] = $val; + return $this; + } + + /** + * Gets the skypeConnection + * Information about the Skype for Business connection. + * + * @return TeamworkConnection|null The skypeConnection + */ + public function getSkypeConnection() + { + if (array_key_exists("skypeConnection", $this->_propDict)) { + if (is_a($this->_propDict["skypeConnection"], "\Beta\Microsoft\Graph\Model\TeamworkConnection") || is_null($this->_propDict["skypeConnection"])) { + return $this->_propDict["skypeConnection"]; + } else { + $this->_propDict["skypeConnection"] = new TeamworkConnection($this->_propDict["skypeConnection"]); + return $this->_propDict["skypeConnection"]; + } + } + return null; + } + + /** + * Sets the skypeConnection + * Information about the Skype for Business connection. + * + * @param TeamworkConnection $val The value to assign to the skypeConnection + * + * @return TeamworkLoginStatus The TeamworkLoginStatus + */ + public function setSkypeConnection($val) + { + $this->_propDict["skypeConnection"] = $val; + return $this; + } + + /** + * Gets the teamsConnection + * Information about the Teams connection. + * + * @return TeamworkConnection|null The teamsConnection + */ + public function getTeamsConnection() + { + if (array_key_exists("teamsConnection", $this->_propDict)) { + if (is_a($this->_propDict["teamsConnection"], "\Beta\Microsoft\Graph\Model\TeamworkConnection") || is_null($this->_propDict["teamsConnection"])) { + return $this->_propDict["teamsConnection"]; + } else { + $this->_propDict["teamsConnection"] = new TeamworkConnection($this->_propDict["teamsConnection"]); + return $this->_propDict["teamsConnection"]; + } + } + return null; + } + + /** + * Sets the teamsConnection + * Information about the Teams connection. + * + * @param TeamworkConnection $val The value to assign to the teamsConnection + * + * @return TeamworkLoginStatus The TeamworkLoginStatus + */ + public function setTeamsConnection($val) + { + $this->_propDict["teamsConnection"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkMicrophoneConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkMicrophoneConfiguration.php new file mode 100644 index 0000000..138423d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkMicrophoneConfiguration.php @@ -0,0 +1,116 @@ +_propDict)) { + return $this->_propDict["isMicrophoneOptional"]; + } else { + return null; + } + } + + /** + * Sets the isMicrophoneOptional + * True if the configured microphone is optional. False if the microphone is not optional and the health state of the device should be computed. + * + * @param bool $val The value of the isMicrophoneOptional + * + * @return TeamworkMicrophoneConfiguration + */ + public function setIsMicrophoneOptional($val) + { + $this->_propDict["isMicrophoneOptional"] = $val; + return $this; + } + + /** + * Gets the defaultMicrophone + * + * @return TeamworkPeripheral|null The defaultMicrophone + */ + public function getDefaultMicrophone() + { + if (array_key_exists("defaultMicrophone", $this->_propDict)) { + if (is_a($this->_propDict["defaultMicrophone"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["defaultMicrophone"])) { + return $this->_propDict["defaultMicrophone"]; + } else { + $this->_propDict["defaultMicrophone"] = new TeamworkPeripheral($this->_propDict["defaultMicrophone"]); + return $this->_propDict["defaultMicrophone"]; + } + } + return null; + } + + /** + * Sets the defaultMicrophone + * + * @param TeamworkPeripheral $val The value to assign to the defaultMicrophone + * + * @return TeamworkMicrophoneConfiguration The TeamworkMicrophoneConfiguration + */ + public function setDefaultMicrophone($val) + { + $this->_propDict["defaultMicrophone"] = $val; + return $this; + } + + /** + * Gets the microphones + * + * @return TeamworkPeripheral|null The microphones + */ + public function getMicrophones() + { + if (array_key_exists("microphones", $this->_propDict)) { + if (is_a($this->_propDict["microphones"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["microphones"])) { + return $this->_propDict["microphones"]; + } else { + $this->_propDict["microphones"] = new TeamworkPeripheral($this->_propDict["microphones"]); + return $this->_propDict["microphones"]; + } + } + return null; + } + + /** + * Sets the microphones + * + * @param TeamworkPeripheral $val The value to assign to the microphones + * + * @return TeamworkMicrophoneConfiguration The TeamworkMicrophoneConfiguration + */ + public function setMicrophones($val) + { + $this->_propDict["microphones"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNetworkConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNetworkConfiguration.php new file mode 100644 index 0000000..8c15616 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNetworkConfiguration.php @@ -0,0 +1,278 @@ +_propDict)) { + return $this->_propDict["defaultGateway"]; + } else { + return null; + } + } + + /** + * Sets the defaultGateway + * The default gateway is the path used to pass information when the destination is unknown to the device. + * + * @param string $val The value of the defaultGateway + * + * @return TeamworkNetworkConfiguration + */ + public function setDefaultGateway($val) + { + $this->_propDict["defaultGateway"] = $val; + return $this; + } + /** + * Gets the domainName + * The network domain of the device, for example, contoso.com. + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * The network domain of the device, for example, contoso.com. + * + * @param string $val The value of the domainName + * + * @return TeamworkNetworkConfiguration + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + /** + * Gets the hostName + * The device name on a network. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * The device name on a network. + * + * @param string $val The value of the hostName + * + * @return TeamworkNetworkConfiguration + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + /** + * Gets the ipAddress + * The IP address is a numerical label that uniquely identifies every device connected to the internet. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * The IP address is a numerical label that uniquely identifies every device connected to the internet. + * + * @param string $val The value of the ipAddress + * + * @return TeamworkNetworkConfiguration + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the isDhcpEnabled + * True if DHCP is enabled. + * + * @return bool|null The isDhcpEnabled + */ + public function getIsDhcpEnabled() + { + if (array_key_exists("isDhcpEnabled", $this->_propDict)) { + return $this->_propDict["isDhcpEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDhcpEnabled + * True if DHCP is enabled. + * + * @param bool $val The value of the isDhcpEnabled + * + * @return TeamworkNetworkConfiguration + */ + public function setIsDhcpEnabled($val) + { + $this->_propDict["isDhcpEnabled"] = $val; + return $this; + } + /** + * Gets the isPCPortEnabled + * True if the PC port is enabled. + * + * @return bool|null The isPCPortEnabled + */ + public function getIsPCPortEnabled() + { + if (array_key_exists("isPCPortEnabled", $this->_propDict)) { + return $this->_propDict["isPCPortEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isPCPortEnabled + * True if the PC port is enabled. + * + * @param bool $val The value of the isPCPortEnabled + * + * @return TeamworkNetworkConfiguration + */ + public function setIsPCPortEnabled($val) + { + $this->_propDict["isPCPortEnabled"] = $val; + return $this; + } + /** + * Gets the primaryDns + * A primary DNS is the first point of contact for a device that translates the hostname into an IP address. + * + * @return string|null The primaryDns + */ + public function getPrimaryDns() + { + if (array_key_exists("primaryDns", $this->_propDict)) { + return $this->_propDict["primaryDns"]; + } else { + return null; + } + } + + /** + * Sets the primaryDns + * A primary DNS is the first point of contact for a device that translates the hostname into an IP address. + * + * @param string $val The value of the primaryDns + * + * @return TeamworkNetworkConfiguration + */ + public function setPrimaryDns($val) + { + $this->_propDict["primaryDns"] = $val; + return $this; + } + /** + * Gets the secondaryDns + * A secondary DNS is used when the primary DNS is not available. + * + * @return string|null The secondaryDns + */ + public function getSecondaryDns() + { + if (array_key_exists("secondaryDns", $this->_propDict)) { + return $this->_propDict["secondaryDns"]; + } else { + return null; + } + } + + /** + * Sets the secondaryDns + * A secondary DNS is used when the primary DNS is not available. + * + * @param string $val The value of the secondaryDns + * + * @return TeamworkNetworkConfiguration + */ + public function setSecondaryDns($val) + { + $this->_propDict["secondaryDns"] = $val; + return $this; + } + /** + * Gets the subnetMask + * A subnet mask is a number that distinguishes the network address and the host address within an IP address. + * + * @return string|null The subnetMask + */ + public function getSubnetMask() + { + if (array_key_exists("subnetMask", $this->_propDict)) { + return $this->_propDict["subnetMask"]; + } else { + return null; + } + } + + /** + * Sets the subnetMask + * A subnet mask is a number that distinguishes the network address and the host address within an IP address. + * + * @param string $val The value of the subnetMask + * + * @return TeamworkNetworkConfiguration + */ + public function setSubnetMask($val) + { + $this->_propDict["subnetMask"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNotificationRecipient.php new file mode 100644 index 0000000..88589af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNotificationRecipient.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["domain"]; + } else { + return null; + } + } + + /** + * Sets the domain + * The fully qualified domain name (FQDN) of the Skype for Business Server. Use the Exchange domain if the Skype for Business SIP domain is different from the Exchange domain of the user. + * + * @param string $val The value of the domain + * + * @return TeamworkOnPremisesCalendarSyncConfiguration + */ + public function setDomain($val) + { + $this->_propDict["domain"] = $val; + return $this; + } + /** + * Gets the domainUserName + * The domain and username of the console device, for example, Seattle/RanierConf. + * + * @return string|null The domainUserName + */ + public function getDomainUserName() + { + if (array_key_exists("domainUserName", $this->_propDict)) { + return $this->_propDict["domainUserName"]; + } else { + return null; + } + } + + /** + * Sets the domainUserName + * The domain and username of the console device, for example, Seattle/RanierConf. + * + * @param string $val The value of the domainUserName + * + * @return TeamworkOnPremisesCalendarSyncConfiguration + */ + public function setDomainUserName($val) + { + $this->_propDict["domainUserName"] = $val; + return $this; + } + /** + * Gets the smtpAddress + * The Simple Mail Transfer Protocol (SMTP) address of the user account. This is only required if a different user principal name (UPN) is used to sign in to Exchange other than Microsoft Teams and Skype for Business. This is a common scenario in a hybrid environment where an on-premises Exchange server is used. + * + * @return string|null The smtpAddress + */ + public function getSmtpAddress() + { + if (array_key_exists("smtpAddress", $this->_propDict)) { + return $this->_propDict["smtpAddress"]; + } else { + return null; + } + } + + /** + * Sets the smtpAddress + * The Simple Mail Transfer Protocol (SMTP) address of the user account. This is only required if a different user principal name (UPN) is used to sign in to Exchange other than Microsoft Teams and Skype for Business. This is a common scenario in a hybrid environment where an on-premises Exchange server is used. + * + * @param string $val The value of the smtpAddress + * + * @return TeamworkOnPremisesCalendarSyncConfiguration + */ + public function setSmtpAddress($val) + { + $this->_propDict["smtpAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkOnlineMeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkOnlineMeetingInfo.php new file mode 100644 index 0000000..1d5ae59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkOnlineMeetingInfo.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["calendarEventId"]; + } else { + return null; + } + } + + /** + * Sets the calendarEventId + * The identifier of the calendar event associated with the meeting. + * + * @param string $val The value of the calendarEventId + * + * @return TeamworkOnlineMeetingInfo + */ + public function setCalendarEventId($val) + { + $this->_propDict["calendarEventId"] = $val; + return $this; + } + /** + * Gets the joinWebUrl + * The URL which can be clicked on to join or uniquely identify the meeting. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * The URL which can be clicked on to join or uniquely identify the meeting. + * + * @param string $val The value of the joinWebUrl + * + * @return TeamworkOnlineMeetingInfo + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the organizer + * The organizer of the meeting. + * + * @return TeamworkUserIdentity|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new TeamworkUserIdentity($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * The organizer of the meeting. + * + * @param TeamworkUserIdentity $val The value to assign to the organizer + * + * @return TeamworkOnlineMeetingInfo The TeamworkOnlineMeetingInfo + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheral.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheral.php new file mode 100644 index 0000000..0b9443f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheral.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name for the peripheral. + * + * @param string $val The displayName + * + * @return TeamworkPeripheral + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the productId + * The product ID of the device. Each product from a vendor has its own ID. + * + * @return string|null The productId + */ + public function getProductId() + { + if (array_key_exists("productId", $this->_propDict)) { + return $this->_propDict["productId"]; + } else { + return null; + } + } + + /** + * Sets the productId + * The product ID of the device. Each product from a vendor has its own ID. + * + * @param string $val The productId + * + * @return TeamworkPeripheral + */ + public function setProductId($val) + { + $this->_propDict["productId"] = $val; + return $this; + } + + /** + * Gets the vendorId + * The unique identifier for the vendor of the device. Each vendor has a unique ID. + * + * @return string|null The vendorId + */ + public function getVendorId() + { + if (array_key_exists("vendorId", $this->_propDict)) { + return $this->_propDict["vendorId"]; + } else { + return null; + } + } + + /** + * Sets the vendorId + * The unique identifier for the vendor of the device. Each vendor has a unique ID. + * + * @param string $val The vendorId + * + * @return TeamworkPeripheral + */ + public function setVendorId($val) + { + $this->_propDict["vendorId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheralHealth.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheralHealth.php new file mode 100644 index 0000000..48fcebf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheralHealth.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["connection"], "\Beta\Microsoft\Graph\Model\TeamworkConnection") || is_null($this->_propDict["connection"])) { + return $this->_propDict["connection"]; + } else { + $this->_propDict["connection"] = new TeamworkConnection($this->_propDict["connection"]); + return $this->_propDict["connection"]; + } + } + return null; + } + + /** + * Sets the connection + * The connected state and time since the peripheral device was connected. + * + * @param TeamworkConnection $val The value to assign to the connection + * + * @return TeamworkPeripheralHealth The TeamworkPeripheralHealth + */ + public function setConnection($val) + { + $this->_propDict["connection"] = $val; + return $this; + } + /** + * Gets the isOptional + * True if the peripheral is optional. Used for health computation. + * + * @return bool|null The isOptional + */ + public function getIsOptional() + { + if (array_key_exists("isOptional", $this->_propDict)) { + return $this->_propDict["isOptional"]; + } else { + return null; + } + } + + /** + * Sets the isOptional + * True if the peripheral is optional. Used for health computation. + * + * @param bool $val The value of the isOptional + * + * @return TeamworkPeripheralHealth + */ + public function setIsOptional($val) + { + $this->_propDict["isOptional"] = $val; + return $this; + } + + /** + * Gets the peripheral + * + * @return TeamworkPeripheral|null The peripheral + */ + public function getPeripheral() + { + if (array_key_exists("peripheral", $this->_propDict)) { + if (is_a($this->_propDict["peripheral"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["peripheral"])) { + return $this->_propDict["peripheral"]; + } else { + $this->_propDict["peripheral"] = new TeamworkPeripheral($this->_propDict["peripheral"]); + return $this->_propDict["peripheral"]; + } + } + return null; + } + + /** + * Sets the peripheral + * + * @param TeamworkPeripheral $val The value to assign to the peripheral + * + * @return TeamworkPeripheralHealth The TeamworkPeripheralHealth + */ + public function setPeripheral($val) + { + $this->_propDict["peripheral"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheralsHealth.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheralsHealth.php new file mode 100644 index 0000000..6d3f11e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkPeripheralsHealth.php @@ -0,0 +1,224 @@ +_propDict)) { + if (is_a($this->_propDict["communicationSpeakerHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["communicationSpeakerHealth"])) { + return $this->_propDict["communicationSpeakerHealth"]; + } else { + $this->_propDict["communicationSpeakerHealth"] = new TeamworkPeripheralHealth($this->_propDict["communicationSpeakerHealth"]); + return $this->_propDict["communicationSpeakerHealth"]; + } + } + return null; + } + + /** + * Sets the communicationSpeakerHealth + * The health details about the communication speaker. + * + * @param TeamworkPeripheralHealth $val The value to assign to the communicationSpeakerHealth + * + * @return TeamworkPeripheralsHealth The TeamworkPeripheralsHealth + */ + public function setCommunicationSpeakerHealth($val) + { + $this->_propDict["communicationSpeakerHealth"] = $val; + return $this; + } + + /** + * Gets the contentCameraHealth + * The health details about the content camera. + * + * @return TeamworkPeripheralHealth|null The contentCameraHealth + */ + public function getContentCameraHealth() + { + if (array_key_exists("contentCameraHealth", $this->_propDict)) { + if (is_a($this->_propDict["contentCameraHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["contentCameraHealth"])) { + return $this->_propDict["contentCameraHealth"]; + } else { + $this->_propDict["contentCameraHealth"] = new TeamworkPeripheralHealth($this->_propDict["contentCameraHealth"]); + return $this->_propDict["contentCameraHealth"]; + } + } + return null; + } + + /** + * Sets the contentCameraHealth + * The health details about the content camera. + * + * @param TeamworkPeripheralHealth $val The value to assign to the contentCameraHealth + * + * @return TeamworkPeripheralsHealth The TeamworkPeripheralsHealth + */ + public function setContentCameraHealth($val) + { + $this->_propDict["contentCameraHealth"] = $val; + return $this; + } + + /** + * Gets the displayHealthCollection + * The health details about displays. + * + * @return TeamworkPeripheralHealth|null The displayHealthCollection + */ + public function getDisplayHealthCollection() + { + if (array_key_exists("displayHealthCollection", $this->_propDict)) { + if (is_a($this->_propDict["displayHealthCollection"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["displayHealthCollection"])) { + return $this->_propDict["displayHealthCollection"]; + } else { + $this->_propDict["displayHealthCollection"] = new TeamworkPeripheralHealth($this->_propDict["displayHealthCollection"]); + return $this->_propDict["displayHealthCollection"]; + } + } + return null; + } + + /** + * Sets the displayHealthCollection + * The health details about displays. + * + * @param TeamworkPeripheralHealth $val The value to assign to the displayHealthCollection + * + * @return TeamworkPeripheralsHealth The TeamworkPeripheralsHealth + */ + public function setDisplayHealthCollection($val) + { + $this->_propDict["displayHealthCollection"] = $val; + return $this; + } + + /** + * Gets the microphoneHealth + * The health details about the microphone. + * + * @return TeamworkPeripheralHealth|null The microphoneHealth + */ + public function getMicrophoneHealth() + { + if (array_key_exists("microphoneHealth", $this->_propDict)) { + if (is_a($this->_propDict["microphoneHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["microphoneHealth"])) { + return $this->_propDict["microphoneHealth"]; + } else { + $this->_propDict["microphoneHealth"] = new TeamworkPeripheralHealth($this->_propDict["microphoneHealth"]); + return $this->_propDict["microphoneHealth"]; + } + } + return null; + } + + /** + * Sets the microphoneHealth + * The health details about the microphone. + * + * @param TeamworkPeripheralHealth $val The value to assign to the microphoneHealth + * + * @return TeamworkPeripheralsHealth The TeamworkPeripheralsHealth + */ + public function setMicrophoneHealth($val) + { + $this->_propDict["microphoneHealth"] = $val; + return $this; + } + + /** + * Gets the roomCameraHealth + * The health details about the room camera. + * + * @return TeamworkPeripheralHealth|null The roomCameraHealth + */ + public function getRoomCameraHealth() + { + if (array_key_exists("roomCameraHealth", $this->_propDict)) { + if (is_a($this->_propDict["roomCameraHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["roomCameraHealth"])) { + return $this->_propDict["roomCameraHealth"]; + } else { + $this->_propDict["roomCameraHealth"] = new TeamworkPeripheralHealth($this->_propDict["roomCameraHealth"]); + return $this->_propDict["roomCameraHealth"]; + } + } + return null; + } + + /** + * Sets the roomCameraHealth + * The health details about the room camera. + * + * @param TeamworkPeripheralHealth $val The value to assign to the roomCameraHealth + * + * @return TeamworkPeripheralsHealth The TeamworkPeripheralsHealth + */ + public function setRoomCameraHealth($val) + { + $this->_propDict["roomCameraHealth"] = $val; + return $this; + } + + /** + * Gets the speakerHealth + * The health details about the speaker. + * + * @return TeamworkPeripheralHealth|null The speakerHealth + */ + public function getSpeakerHealth() + { + if (array_key_exists("speakerHealth", $this->_propDict)) { + if (is_a($this->_propDict["speakerHealth"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheralHealth") || is_null($this->_propDict["speakerHealth"])) { + return $this->_propDict["speakerHealth"]; + } else { + $this->_propDict["speakerHealth"] = new TeamworkPeripheralHealth($this->_propDict["speakerHealth"]); + return $this->_propDict["speakerHealth"]; + } + } + return null; + } + + /** + * Sets the speakerHealth + * The health details about the speaker. + * + * @param TeamworkPeripheralHealth $val The value to assign to the speakerHealth + * + * @return TeamworkPeripheralsHealth The TeamworkPeripheralsHealth + */ + public function setSpeakerHealth($val) + { + $this->_propDict["speakerHealth"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSoftwareFreshness.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSoftwareFreshness.php new file mode 100644 index 0000000..5712270 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSoftwareFreshness.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["adminAgentSoftwareUpdateStatus"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateStatus") || is_null($this->_propDict["adminAgentSoftwareUpdateStatus"])) { + return $this->_propDict["adminAgentSoftwareUpdateStatus"]; + } else { + $this->_propDict["adminAgentSoftwareUpdateStatus"] = new TeamworkSoftwareUpdateStatus($this->_propDict["adminAgentSoftwareUpdateStatus"]); + return $this->_propDict["adminAgentSoftwareUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the adminAgentSoftwareUpdateStatus + * The software update available for the admin agent. + * + * @param TeamworkSoftwareUpdateStatus $val The value to assign to the adminAgentSoftwareUpdateStatus + * + * @return TeamworkSoftwareUpdateHealth The TeamworkSoftwareUpdateHealth + */ + public function setAdminAgentSoftwareUpdateStatus($val) + { + $this->_propDict["adminAgentSoftwareUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the companyPortalSoftwareUpdateStatus + * The software update available for the company portal. + * + * @return TeamworkSoftwareUpdateStatus|null The companyPortalSoftwareUpdateStatus + */ + public function getCompanyPortalSoftwareUpdateStatus() + { + if (array_key_exists("companyPortalSoftwareUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["companyPortalSoftwareUpdateStatus"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateStatus") || is_null($this->_propDict["companyPortalSoftwareUpdateStatus"])) { + return $this->_propDict["companyPortalSoftwareUpdateStatus"]; + } else { + $this->_propDict["companyPortalSoftwareUpdateStatus"] = new TeamworkSoftwareUpdateStatus($this->_propDict["companyPortalSoftwareUpdateStatus"]); + return $this->_propDict["companyPortalSoftwareUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the companyPortalSoftwareUpdateStatus + * The software update available for the company portal. + * + * @param TeamworkSoftwareUpdateStatus $val The value to assign to the companyPortalSoftwareUpdateStatus + * + * @return TeamworkSoftwareUpdateHealth The TeamworkSoftwareUpdateHealth + */ + public function setCompanyPortalSoftwareUpdateStatus($val) + { + $this->_propDict["companyPortalSoftwareUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the firmwareSoftwareUpdateStatus + * The software update available for the firmware. + * + * @return TeamworkSoftwareUpdateStatus|null The firmwareSoftwareUpdateStatus + */ + public function getFirmwareSoftwareUpdateStatus() + { + if (array_key_exists("firmwareSoftwareUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["firmwareSoftwareUpdateStatus"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateStatus") || is_null($this->_propDict["firmwareSoftwareUpdateStatus"])) { + return $this->_propDict["firmwareSoftwareUpdateStatus"]; + } else { + $this->_propDict["firmwareSoftwareUpdateStatus"] = new TeamworkSoftwareUpdateStatus($this->_propDict["firmwareSoftwareUpdateStatus"]); + return $this->_propDict["firmwareSoftwareUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the firmwareSoftwareUpdateStatus + * The software update available for the firmware. + * + * @param TeamworkSoftwareUpdateStatus $val The value to assign to the firmwareSoftwareUpdateStatus + * + * @return TeamworkSoftwareUpdateHealth The TeamworkSoftwareUpdateHealth + */ + public function setFirmwareSoftwareUpdateStatus($val) + { + $this->_propDict["firmwareSoftwareUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the operatingSystemSoftwareUpdateStatus + * The software update available for the operating system. + * + * @return TeamworkSoftwareUpdateStatus|null The operatingSystemSoftwareUpdateStatus + */ + public function getOperatingSystemSoftwareUpdateStatus() + { + if (array_key_exists("operatingSystemSoftwareUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["operatingSystemSoftwareUpdateStatus"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateStatus") || is_null($this->_propDict["operatingSystemSoftwareUpdateStatus"])) { + return $this->_propDict["operatingSystemSoftwareUpdateStatus"]; + } else { + $this->_propDict["operatingSystemSoftwareUpdateStatus"] = new TeamworkSoftwareUpdateStatus($this->_propDict["operatingSystemSoftwareUpdateStatus"]); + return $this->_propDict["operatingSystemSoftwareUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the operatingSystemSoftwareUpdateStatus + * The software update available for the operating system. + * + * @param TeamworkSoftwareUpdateStatus $val The value to assign to the operatingSystemSoftwareUpdateStatus + * + * @return TeamworkSoftwareUpdateHealth The TeamworkSoftwareUpdateHealth + */ + public function setOperatingSystemSoftwareUpdateStatus($val) + { + $this->_propDict["operatingSystemSoftwareUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the partnerAgentSoftwareUpdateStatus + * The software update available for the partner agent. + * + * @return TeamworkSoftwareUpdateStatus|null The partnerAgentSoftwareUpdateStatus + */ + public function getPartnerAgentSoftwareUpdateStatus() + { + if (array_key_exists("partnerAgentSoftwareUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["partnerAgentSoftwareUpdateStatus"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateStatus") || is_null($this->_propDict["partnerAgentSoftwareUpdateStatus"])) { + return $this->_propDict["partnerAgentSoftwareUpdateStatus"]; + } else { + $this->_propDict["partnerAgentSoftwareUpdateStatus"] = new TeamworkSoftwareUpdateStatus($this->_propDict["partnerAgentSoftwareUpdateStatus"]); + return $this->_propDict["partnerAgentSoftwareUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the partnerAgentSoftwareUpdateStatus + * The software update available for the partner agent. + * + * @param TeamworkSoftwareUpdateStatus $val The value to assign to the partnerAgentSoftwareUpdateStatus + * + * @return TeamworkSoftwareUpdateHealth The TeamworkSoftwareUpdateHealth + */ + public function setPartnerAgentSoftwareUpdateStatus($val) + { + $this->_propDict["partnerAgentSoftwareUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the teamsClientSoftwareUpdateStatus + * The software update available for the Teams client. + * + * @return TeamworkSoftwareUpdateStatus|null The teamsClientSoftwareUpdateStatus + */ + public function getTeamsClientSoftwareUpdateStatus() + { + if (array_key_exists("teamsClientSoftwareUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["teamsClientSoftwareUpdateStatus"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareUpdateStatus") || is_null($this->_propDict["teamsClientSoftwareUpdateStatus"])) { + return $this->_propDict["teamsClientSoftwareUpdateStatus"]; + } else { + $this->_propDict["teamsClientSoftwareUpdateStatus"] = new TeamworkSoftwareUpdateStatus($this->_propDict["teamsClientSoftwareUpdateStatus"]); + return $this->_propDict["teamsClientSoftwareUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the teamsClientSoftwareUpdateStatus + * The software update available for the Teams client. + * + * @param TeamworkSoftwareUpdateStatus $val The value to assign to the teamsClientSoftwareUpdateStatus + * + * @return TeamworkSoftwareUpdateHealth The TeamworkSoftwareUpdateHealth + */ + public function setTeamsClientSoftwareUpdateStatus($val) + { + $this->_propDict["teamsClientSoftwareUpdateStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSoftwareUpdateStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSoftwareUpdateStatus.php new file mode 100644 index 0000000..cd58117 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSoftwareUpdateStatus.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["availableVersion"]; + } else { + return null; + } + } + + /** + * Sets the availableVersion + * The available software version to update. + * + * @param string $val The value of the availableVersion + * + * @return TeamworkSoftwareUpdateStatus + */ + public function setAvailableVersion($val) + { + $this->_propDict["availableVersion"] = $val; + return $this; + } + /** + * Gets the currentVersion + * The current software version. + * + * @return string|null The currentVersion + */ + public function getCurrentVersion() + { + if (array_key_exists("currentVersion", $this->_propDict)) { + return $this->_propDict["currentVersion"]; + } else { + return null; + } + } + + /** + * Sets the currentVersion + * The current software version. + * + * @param string $val The value of the currentVersion + * + * @return TeamworkSoftwareUpdateStatus + */ + public function setCurrentVersion($val) + { + $this->_propDict["currentVersion"] = $val; + return $this; + } + + /** + * Gets the softwareFreshness + * The update status of the software. The possible values are: unknown, latest, updateAvailable, unknownFutureValue. + * + * @return TeamworkSoftwareFreshness|null The softwareFreshness + */ + public function getSoftwareFreshness() + { + if (array_key_exists("softwareFreshness", $this->_propDict)) { + if (is_a($this->_propDict["softwareFreshness"], "\Beta\Microsoft\Graph\Model\TeamworkSoftwareFreshness") || is_null($this->_propDict["softwareFreshness"])) { + return $this->_propDict["softwareFreshness"]; + } else { + $this->_propDict["softwareFreshness"] = new TeamworkSoftwareFreshness($this->_propDict["softwareFreshness"]); + return $this->_propDict["softwareFreshness"]; + } + } + return null; + } + + /** + * Sets the softwareFreshness + * The update status of the software. The possible values are: unknown, latest, updateAvailable, unknownFutureValue. + * + * @param TeamworkSoftwareFreshness $val The value to assign to the softwareFreshness + * + * @return TeamworkSoftwareUpdateStatus The TeamworkSoftwareUpdateStatus + */ + public function setSoftwareFreshness($val) + { + $this->_propDict["softwareFreshness"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSpeakerConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSpeakerConfiguration.php new file mode 100644 index 0000000..2dd4d16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSpeakerConfiguration.php @@ -0,0 +1,175 @@ +_propDict)) { + return $this->_propDict["isCommunicationSpeakerOptional"]; + } else { + return null; + } + } + + /** + * Sets the isCommunicationSpeakerOptional + * True if the communication speaker is optional. Used to compute the health state if the communication speaker is not optional. + * + * @param bool $val The value of the isCommunicationSpeakerOptional + * + * @return TeamworkSpeakerConfiguration + */ + public function setIsCommunicationSpeakerOptional($val) + { + $this->_propDict["isCommunicationSpeakerOptional"] = $val; + return $this; + } + /** + * Gets the isSpeakerOptional + * True if the configured speaker is optional. Used to compute the health state if the speaker is not optional. + * + * @return bool|null The isSpeakerOptional + */ + public function getIsSpeakerOptional() + { + if (array_key_exists("isSpeakerOptional", $this->_propDict)) { + return $this->_propDict["isSpeakerOptional"]; + } else { + return null; + } + } + + /** + * Sets the isSpeakerOptional + * True if the configured speaker is optional. Used to compute the health state if the speaker is not optional. + * + * @param bool $val The value of the isSpeakerOptional + * + * @return TeamworkSpeakerConfiguration + */ + public function setIsSpeakerOptional($val) + { + $this->_propDict["isSpeakerOptional"] = $val; + return $this; + } + + /** + * Gets the defaultCommunicationSpeaker + * + * @return TeamworkPeripheral|null The defaultCommunicationSpeaker + */ + public function getDefaultCommunicationSpeaker() + { + if (array_key_exists("defaultCommunicationSpeaker", $this->_propDict)) { + if (is_a($this->_propDict["defaultCommunicationSpeaker"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["defaultCommunicationSpeaker"])) { + return $this->_propDict["defaultCommunicationSpeaker"]; + } else { + $this->_propDict["defaultCommunicationSpeaker"] = new TeamworkPeripheral($this->_propDict["defaultCommunicationSpeaker"]); + return $this->_propDict["defaultCommunicationSpeaker"]; + } + } + return null; + } + + /** + * Sets the defaultCommunicationSpeaker + * + * @param TeamworkPeripheral $val The value to assign to the defaultCommunicationSpeaker + * + * @return TeamworkSpeakerConfiguration The TeamworkSpeakerConfiguration + */ + public function setDefaultCommunicationSpeaker($val) + { + $this->_propDict["defaultCommunicationSpeaker"] = $val; + return $this; + } + + /** + * Gets the defaultSpeaker + * + * @return TeamworkPeripheral|null The defaultSpeaker + */ + public function getDefaultSpeaker() + { + if (array_key_exists("defaultSpeaker", $this->_propDict)) { + if (is_a($this->_propDict["defaultSpeaker"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["defaultSpeaker"])) { + return $this->_propDict["defaultSpeaker"]; + } else { + $this->_propDict["defaultSpeaker"] = new TeamworkPeripheral($this->_propDict["defaultSpeaker"]); + return $this->_propDict["defaultSpeaker"]; + } + } + return null; + } + + /** + * Sets the defaultSpeaker + * + * @param TeamworkPeripheral $val The value to assign to the defaultSpeaker + * + * @return TeamworkSpeakerConfiguration The TeamworkSpeakerConfiguration + */ + public function setDefaultSpeaker($val) + { + $this->_propDict["defaultSpeaker"] = $val; + return $this; + } + + /** + * Gets the speakers + * + * @return TeamworkPeripheral|null The speakers + */ + public function getSpeakers() + { + if (array_key_exists("speakers", $this->_propDict)) { + if (is_a($this->_propDict["speakers"], "\Beta\Microsoft\Graph\Model\TeamworkPeripheral") || is_null($this->_propDict["speakers"])) { + return $this->_propDict["speakers"]; + } else { + $this->_propDict["speakers"] = new TeamworkPeripheral($this->_propDict["speakers"]); + return $this->_propDict["speakers"]; + } + } + return null; + } + + /** + * Sets the speakers + * + * @param TeamworkPeripheral $val The value to assign to the speakers + * + * @return TeamworkSpeakerConfiguration The TeamworkSpeakerConfiguration + */ + public function setSpeakers($val) + { + $this->_propDict["speakers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSupportedClient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSupportedClient.php new file mode 100644 index 0000000..a5c9c1f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkSupportedClient.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["dateTimeConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkDateTimeConfiguration") || is_null($this->_propDict["dateTimeConfiguration"])) { + return $this->_propDict["dateTimeConfiguration"]; + } else { + $this->_propDict["dateTimeConfiguration"] = new TeamworkDateTimeConfiguration($this->_propDict["dateTimeConfiguration"]); + return $this->_propDict["dateTimeConfiguration"]; + } + } + return null; + } + + /** + * Sets the dateTimeConfiguration + * The date and time configurations for a device. + * + * @param TeamworkDateTimeConfiguration $val The value to assign to the dateTimeConfiguration + * + * @return TeamworkSystemConfiguration The TeamworkSystemConfiguration + */ + public function setDateTimeConfiguration($val) + { + $this->_propDict["dateTimeConfiguration"] = $val; + return $this; + } + /** + * Gets the defaultPassword + * The default password for the device. Write-Only. + * + * @return string|null The defaultPassword + */ + public function getDefaultPassword() + { + if (array_key_exists("defaultPassword", $this->_propDict)) { + return $this->_propDict["defaultPassword"]; + } else { + return null; + } + } + + /** + * Sets the defaultPassword + * The default password for the device. Write-Only. + * + * @param string $val The value of the defaultPassword + * + * @return TeamworkSystemConfiguration + */ + public function setDefaultPassword($val) + { + $this->_propDict["defaultPassword"] = $val; + return $this; + } + + /** + * Gets the deviceLockTimeout + * The device lock timeout in seconds. + * + * @return \DateInterval|null The deviceLockTimeout + */ + public function getDeviceLockTimeout() + { + if (array_key_exists("deviceLockTimeout", $this->_propDict)) { + if (is_a($this->_propDict["deviceLockTimeout"], "\DateInterval") || is_null($this->_propDict["deviceLockTimeout"])) { + return $this->_propDict["deviceLockTimeout"]; + } else { + $this->_propDict["deviceLockTimeout"] = new \DateInterval($this->_propDict["deviceLockTimeout"]); + return $this->_propDict["deviceLockTimeout"]; + } + } + return null; + } + + /** + * Sets the deviceLockTimeout + * The device lock timeout in seconds. + * + * @param \DateInterval $val The value to assign to the deviceLockTimeout + * + * @return TeamworkSystemConfiguration The TeamworkSystemConfiguration + */ + public function setDeviceLockTimeout($val) + { + $this->_propDict["deviceLockTimeout"] = $val; + return $this; + } + /** + * Gets the isDeviceLockEnabled + * True if the device lock is enabled. + * + * @return bool|null The isDeviceLockEnabled + */ + public function getIsDeviceLockEnabled() + { + if (array_key_exists("isDeviceLockEnabled", $this->_propDict)) { + return $this->_propDict["isDeviceLockEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDeviceLockEnabled + * True if the device lock is enabled. + * + * @param bool $val The value of the isDeviceLockEnabled + * + * @return TeamworkSystemConfiguration + */ + public function setIsDeviceLockEnabled($val) + { + $this->_propDict["isDeviceLockEnabled"] = $val; + return $this; + } + /** + * Gets the isLoggingEnabled + * True if logging is enabled. + * + * @return bool|null The isLoggingEnabled + */ + public function getIsLoggingEnabled() + { + if (array_key_exists("isLoggingEnabled", $this->_propDict)) { + return $this->_propDict["isLoggingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isLoggingEnabled + * True if logging is enabled. + * + * @param bool $val The value of the isLoggingEnabled + * + * @return TeamworkSystemConfiguration + */ + public function setIsLoggingEnabled($val) + { + $this->_propDict["isLoggingEnabled"] = $val; + return $this; + } + /** + * Gets the isPowerSavingEnabled + * True if power saving is enabled. + * + * @return bool|null The isPowerSavingEnabled + */ + public function getIsPowerSavingEnabled() + { + if (array_key_exists("isPowerSavingEnabled", $this->_propDict)) { + return $this->_propDict["isPowerSavingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isPowerSavingEnabled + * True if power saving is enabled. + * + * @param bool $val The value of the isPowerSavingEnabled + * + * @return TeamworkSystemConfiguration + */ + public function setIsPowerSavingEnabled($val) + { + $this->_propDict["isPowerSavingEnabled"] = $val; + return $this; + } + /** + * Gets the isScreenCaptureEnabled + * True if screen capture is enabled. + * + * @return bool|null The isScreenCaptureEnabled + */ + public function getIsScreenCaptureEnabled() + { + if (array_key_exists("isScreenCaptureEnabled", $this->_propDict)) { + return $this->_propDict["isScreenCaptureEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isScreenCaptureEnabled + * True if screen capture is enabled. + * + * @param bool $val The value of the isScreenCaptureEnabled + * + * @return TeamworkSystemConfiguration + */ + public function setIsScreenCaptureEnabled($val) + { + $this->_propDict["isScreenCaptureEnabled"] = $val; + return $this; + } + /** + * Gets the isSilentModeEnabled + * True if silent mode is enabled. + * + * @return bool|null The isSilentModeEnabled + */ + public function getIsSilentModeEnabled() + { + if (array_key_exists("isSilentModeEnabled", $this->_propDict)) { + return $this->_propDict["isSilentModeEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSilentModeEnabled + * True if silent mode is enabled. + * + * @param bool $val The value of the isSilentModeEnabled + * + * @return TeamworkSystemConfiguration + */ + public function setIsSilentModeEnabled($val) + { + $this->_propDict["isSilentModeEnabled"] = $val; + return $this; + } + /** + * Gets the language + * The language option for the device. + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * The language option for the device. + * + * @param string $val The value of the language + * + * @return TeamworkSystemConfiguration + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + /** + * Gets the lockPin + * The pin that unlocks the device. Write-Only. + * + * @return string|null The lockPin + */ + public function getLockPin() + { + if (array_key_exists("lockPin", $this->_propDict)) { + return $this->_propDict["lockPin"]; + } else { + return null; + } + } + + /** + * Sets the lockPin + * The pin that unlocks the device. Write-Only. + * + * @param string $val The value of the lockPin + * + * @return TeamworkSystemConfiguration + */ + public function setLockPin($val) + { + $this->_propDict["lockPin"] = $val; + return $this; + } + /** + * Gets the loggingLevel + * The logging level for the device. + * + * @return string|null The loggingLevel + */ + public function getLoggingLevel() + { + if (array_key_exists("loggingLevel", $this->_propDict)) { + return $this->_propDict["loggingLevel"]; + } else { + return null; + } + } + + /** + * Sets the loggingLevel + * The logging level for the device. + * + * @param string $val The value of the loggingLevel + * + * @return TeamworkSystemConfiguration + */ + public function setLoggingLevel($val) + { + $this->_propDict["loggingLevel"] = $val; + return $this; + } + + /** + * Gets the networkConfiguration + * The network configuration for the device. + * + * @return TeamworkNetworkConfiguration|null The networkConfiguration + */ + public function getNetworkConfiguration() + { + if (array_key_exists("networkConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["networkConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkNetworkConfiguration") || is_null($this->_propDict["networkConfiguration"])) { + return $this->_propDict["networkConfiguration"]; + } else { + $this->_propDict["networkConfiguration"] = new TeamworkNetworkConfiguration($this->_propDict["networkConfiguration"]); + return $this->_propDict["networkConfiguration"]; + } + } + return null; + } + + /** + * Sets the networkConfiguration + * The network configuration for the device. + * + * @param TeamworkNetworkConfiguration $val The value to assign to the networkConfiguration + * + * @return TeamworkSystemConfiguration The TeamworkSystemConfiguration + */ + public function setNetworkConfiguration($val) + { + $this->_propDict["networkConfiguration"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTag.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTag.php new file mode 100644 index 0000000..852bd1c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTag.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Tag description as it will appear to the user in Microsoft Teams. + * + * @param string $val The description + * + * @return TeamworkTag + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Tag name as it will appear to the user in Microsoft Teams. + * + * @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 + * Tag name as it will appear to the user in Microsoft Teams. + * + * @param string $val The displayName + * + * @return TeamworkTag + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the memberCount + * The number of users assigned to the tag. + * + * @return int|null The memberCount + */ + public function getMemberCount() + { + if (array_key_exists("memberCount", $this->_propDict)) { + return $this->_propDict["memberCount"]; + } else { + return null; + } + } + + /** + * Sets the memberCount + * The number of users assigned to the tag. + * + * @param int $val The memberCount + * + * @return TeamworkTag + */ + public function setMemberCount($val) + { + $this->_propDict["memberCount"] = intval($val); + return $this; + } + + /** + * Gets the tagType + * The type of tag. Default is standard. + * + * @return TeamworkTagType|null The tagType + */ + public function getTagType() + { + if (array_key_exists("tagType", $this->_propDict)) { + if (is_a($this->_propDict["tagType"], "\Beta\Microsoft\Graph\Model\TeamworkTagType") || is_null($this->_propDict["tagType"])) { + return $this->_propDict["tagType"]; + } else { + $this->_propDict["tagType"] = new TeamworkTagType($this->_propDict["tagType"]); + return $this->_propDict["tagType"]; + } + } + return null; + } + + /** + * Sets the tagType + * The type of tag. Default is standard. + * + * @param TeamworkTagType $val The tagType + * + * @return TeamworkTag + */ + public function setTagType($val) + { + $this->_propDict["tagType"] = $val; + return $this; + } + + /** + * Gets the teamId + * ID of the team in which the tag is defined. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * ID of the team in which the tag is defined. + * + * @param string $val The teamId + * + * @return TeamworkTag + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } + + + /** + * Gets the members + * Users assigned to the tag. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Users assigned to the tag. + * + * @param TeamworkTagMember[] $val The members + * + * @return TeamworkTag + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagIdentity.php new file mode 100644 index 0000000..2c18f94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagIdentity.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The member's display name. + * + * @param string $val The displayName + * + * @return TeamworkTagMember + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $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 TeamworkTagMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $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 userId + * + * @return TeamworkTagMember + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagType.php new file mode 100644 index 0000000..4b06baf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagType.php @@ -0,0 +1,33 @@ +_propDict)) { + if (is_a($this->_propDict["accountConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkAccountConfiguration") || is_null($this->_propDict["accountConfiguration"])) { + return $this->_propDict["accountConfiguration"]; + } else { + $this->_propDict["accountConfiguration"] = new TeamworkAccountConfiguration($this->_propDict["accountConfiguration"]); + return $this->_propDict["accountConfiguration"]; + } + } + return null; + } + + /** + * Sets the accountConfiguration + * The configuration of the Microsoft Teams client user account for a device. + * + * @param TeamworkAccountConfiguration $val The value to assign to the accountConfiguration + * + * @return TeamworkTeamsClientConfiguration The TeamworkTeamsClientConfiguration + */ + public function setAccountConfiguration($val) + { + $this->_propDict["accountConfiguration"] = $val; + return $this; + } + + /** + * Gets the featuresConfiguration + * The configuration of Microsoft Teams client features for a device. + * + * @return TeamworkFeaturesConfiguration|null The featuresConfiguration + */ + public function getFeaturesConfiguration() + { + if (array_key_exists("featuresConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["featuresConfiguration"], "\Beta\Microsoft\Graph\Model\TeamworkFeaturesConfiguration") || is_null($this->_propDict["featuresConfiguration"])) { + return $this->_propDict["featuresConfiguration"]; + } else { + $this->_propDict["featuresConfiguration"] = new TeamworkFeaturesConfiguration($this->_propDict["featuresConfiguration"]); + return $this->_propDict["featuresConfiguration"]; + } + } + return null; + } + + /** + * Sets the featuresConfiguration + * The configuration of Microsoft Teams client features for a device. + * + * @param TeamworkFeaturesConfiguration $val The value to assign to the featuresConfiguration + * + * @return TeamworkTeamsClientConfiguration The TeamworkTeamsClientConfiguration + */ + public function setFeaturesConfiguration($val) + { + $this->_propDict["featuresConfiguration"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkUserIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkUserIdentity.php new file mode 100644 index 0000000..1ebfb5c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkUserIdentity.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["userIdentityType"], "\Beta\Microsoft\Graph\Model\TeamworkUserIdentityType") || is_null($this->_propDict["userIdentityType"])) { + return $this->_propDict["userIdentityType"]; + } else { + $this->_propDict["userIdentityType"] = new TeamworkUserIdentityType($this->_propDict["userIdentityType"]); + return $this->_propDict["userIdentityType"]; + } + } + return null; + } + + /** + * Sets the userIdentityType + * Type of user. Possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, phoneUser, and emailUser. + * + * @param TeamworkUserIdentityType $val The value to assign to the userIdentityType + * + * @return TeamworkUserIdentity The TeamworkUserIdentity + */ + public function setUserIdentityType($val) + { + $this->_propDict["userIdentityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkUserIdentityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkUserIdentityType.php new file mode 100644 index 0000000..1f7ee63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkUserIdentityType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["appAuthorized"]; + } else { + return null; + } + } + + /** + * Sets the appAuthorized + * Whether the partner's AAD app has been authorized to access Intune. + * + * @param bool $val The appAuthorized + * + * @return TelecomExpenseManagementPartner + */ + public function setAppAuthorized($val) + { + $this->_propDict["appAuthorized"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * Display name of the TEM partner. + * + * @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 + * Display name of the TEM partner. + * + * @param string $val The displayName + * + * @return TelecomExpenseManagementPartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enabled + * Whether Intune's connection to the TEM service is currently enabled or disabled. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Whether Intune's connection to the TEM service is currently enabled or disabled. + * + * @param bool $val The enabled + * + * @return TelecomExpenseManagementPartner + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @return \DateTime|null The lastConnectionDateTime + */ + public function getLastConnectionDateTime() + { + if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime") || is_null($this->_propDict["lastConnectionDateTime"])) { + return $this->_propDict["lastConnectionDateTime"]; + } else { + $this->_propDict["lastConnectionDateTime"] = new \DateTime($this->_propDict["lastConnectionDateTime"]); + return $this->_propDict["lastConnectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @param \DateTime $val The lastConnectionDateTime + * + * @return TelecomExpenseManagementPartner + */ + public function setLastConnectionDateTime($val) + { + $this->_propDict["lastConnectionDateTime"] = $val; + return $this; + } + + /** + * Gets the url + * URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. + * + * @param string $val The url + * + * @return TelecomExpenseManagementPartner + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceAudioQuality.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceAudioQuality.php new file mode 100644 index 0000000..ac1b519 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceAudioQuality.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["averageInboundJitter"], "\DateInterval") || is_null($this->_propDict["averageInboundJitter"])) { + return $this->_propDict["averageInboundJitter"]; + } else { + $this->_propDict["averageInboundJitter"] = new \DateInterval($this->_propDict["averageInboundJitter"]); + return $this->_propDict["averageInboundJitter"]; + } + } + return null; + } + + /** + * Sets the averageInboundJitter + * The average inbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the averageInboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageInboundJitter($val) + { + $this->_propDict["averageInboundJitter"] = $val; + return $this; + } + /** + * Gets the averageInboundPacketLossRateInPercentage + * The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The averageInboundPacketLossRateInPercentage + */ + public function getAverageInboundPacketLossRateInPercentage() + { + if (array_key_exists("averageInboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["averageInboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageInboundPacketLossRateInPercentage + * The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the averageInboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setAverageInboundPacketLossRateInPercentage($val) + { + $this->_propDict["averageInboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the averageInboundRoundTripDelay + * The average inbound stream network round trip delay. + * + * @return \DateInterval|null The averageInboundRoundTripDelay + */ + public function getAverageInboundRoundTripDelay() + { + if (array_key_exists("averageInboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["averageInboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["averageInboundRoundTripDelay"])) { + return $this->_propDict["averageInboundRoundTripDelay"]; + } else { + $this->_propDict["averageInboundRoundTripDelay"] = new \DateInterval($this->_propDict["averageInboundRoundTripDelay"]); + return $this->_propDict["averageInboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the averageInboundRoundTripDelay + * The average inbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the averageInboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageInboundRoundTripDelay($val) + { + $this->_propDict["averageInboundRoundTripDelay"] = $val; + return $this; + } + + /** + * Gets the averageOutboundJitter + * The average outbound stream network jitter. + * + * @return \DateInterval|null The averageOutboundJitter + */ + public function getAverageOutboundJitter() + { + if (array_key_exists("averageOutboundJitter", $this->_propDict)) { + if (is_a($this->_propDict["averageOutboundJitter"], "\DateInterval") || is_null($this->_propDict["averageOutboundJitter"])) { + return $this->_propDict["averageOutboundJitter"]; + } else { + $this->_propDict["averageOutboundJitter"] = new \DateInterval($this->_propDict["averageOutboundJitter"]); + return $this->_propDict["averageOutboundJitter"]; + } + } + return null; + } + + /** + * Sets the averageOutboundJitter + * The average outbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the averageOutboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageOutboundJitter($val) + { + $this->_propDict["averageOutboundJitter"] = $val; + return $this; + } + /** + * Gets the averageOutboundPacketLossRateInPercentage + * The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The averageOutboundPacketLossRateInPercentage + */ + public function getAverageOutboundPacketLossRateInPercentage() + { + if (array_key_exists("averageOutboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["averageOutboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageOutboundPacketLossRateInPercentage + * The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the averageOutboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setAverageOutboundPacketLossRateInPercentage($val) + { + $this->_propDict["averageOutboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the averageOutboundRoundTripDelay + * The average outbound stream network round trip delay. + * + * @return \DateInterval|null The averageOutboundRoundTripDelay + */ + public function getAverageOutboundRoundTripDelay() + { + if (array_key_exists("averageOutboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["averageOutboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["averageOutboundRoundTripDelay"])) { + return $this->_propDict["averageOutboundRoundTripDelay"]; + } else { + $this->_propDict["averageOutboundRoundTripDelay"] = new \DateInterval($this->_propDict["averageOutboundRoundTripDelay"]); + return $this->_propDict["averageOutboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the averageOutboundRoundTripDelay + * The average outbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the averageOutboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageOutboundRoundTripDelay($val) + { + $this->_propDict["averageOutboundRoundTripDelay"] = $val; + return $this; + } + /** + * Gets the channelIndex + * The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3. + * + * @return int|null The channelIndex + */ + public function getChannelIndex() + { + if (array_key_exists("channelIndex", $this->_propDict)) { + return $this->_propDict["channelIndex"]; + } else { + return null; + } + } + + /** + * Sets the channelIndex + * The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3. + * + * @param int $val The value of the channelIndex + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setChannelIndex($val) + { + $this->_propDict["channelIndex"] = $val; + return $this; + } + /** + * Gets the inboundPackets + * The total number of the inbound packets. + * + * @return int|null The inboundPackets + */ + public function getInboundPackets() + { + if (array_key_exists("inboundPackets", $this->_propDict)) { + return $this->_propDict["inboundPackets"]; + } else { + return null; + } + } + + /** + * Sets the inboundPackets + * The total number of the inbound packets. + * + * @param int $val The value of the inboundPackets + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setInboundPackets($val) + { + $this->_propDict["inboundPackets"] = $val; + return $this; + } + /** + * Gets the localIPAddress + * the local IP address for the media session. + * + * @return string|null The localIPAddress + */ + public function getLocalIPAddress() + { + if (array_key_exists("localIPAddress", $this->_propDict)) { + return $this->_propDict["localIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the localIPAddress + * the local IP address for the media session. + * + * @param string $val The value of the localIPAddress + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setLocalIPAddress($val) + { + $this->_propDict["localIPAddress"] = $val; + return $this; + } + /** + * Gets the localPort + * The local media port. + * + * @return int|null The localPort + */ + public function getLocalPort() + { + if (array_key_exists("localPort", $this->_propDict)) { + return $this->_propDict["localPort"]; + } else { + return null; + } + } + + /** + * Sets the localPort + * The local media port. + * + * @param int $val The value of the localPort + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setLocalPort($val) + { + $this->_propDict["localPort"] = $val; + return $this; + } + + /** + * Gets the maximumInboundJitter + * The maximum inbound stream network jitter. + * + * @return \DateInterval|null The maximumInboundJitter + */ + public function getMaximumInboundJitter() + { + if (array_key_exists("maximumInboundJitter", $this->_propDict)) { + if (is_a($this->_propDict["maximumInboundJitter"], "\DateInterval") || is_null($this->_propDict["maximumInboundJitter"])) { + return $this->_propDict["maximumInboundJitter"]; + } else { + $this->_propDict["maximumInboundJitter"] = new \DateInterval($this->_propDict["maximumInboundJitter"]); + return $this->_propDict["maximumInboundJitter"]; + } + } + return null; + } + + /** + * Sets the maximumInboundJitter + * The maximum inbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the maximumInboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumInboundJitter($val) + { + $this->_propDict["maximumInboundJitter"] = $val; + return $this; + } + /** + * Gets the maximumInboundPacketLossRateInPercentage + * The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The maximumInboundPacketLossRateInPercentage + */ + public function getMaximumInboundPacketLossRateInPercentage() + { + if (array_key_exists("maximumInboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["maximumInboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumInboundPacketLossRateInPercentage + * The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the maximumInboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setMaximumInboundPacketLossRateInPercentage($val) + { + $this->_propDict["maximumInboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the maximumInboundRoundTripDelay + * The maximum inbound stream network round trip delay. + * + * @return \DateInterval|null The maximumInboundRoundTripDelay + */ + public function getMaximumInboundRoundTripDelay() + { + if (array_key_exists("maximumInboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["maximumInboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["maximumInboundRoundTripDelay"])) { + return $this->_propDict["maximumInboundRoundTripDelay"]; + } else { + $this->_propDict["maximumInboundRoundTripDelay"] = new \DateInterval($this->_propDict["maximumInboundRoundTripDelay"]); + return $this->_propDict["maximumInboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the maximumInboundRoundTripDelay + * The maximum inbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the maximumInboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumInboundRoundTripDelay($val) + { + $this->_propDict["maximumInboundRoundTripDelay"] = $val; + return $this; + } + + /** + * Gets the maximumOutboundJitter + * The maximum outbound stream network jitter. + * + * @return \DateInterval|null The maximumOutboundJitter + */ + public function getMaximumOutboundJitter() + { + if (array_key_exists("maximumOutboundJitter", $this->_propDict)) { + if (is_a($this->_propDict["maximumOutboundJitter"], "\DateInterval") || is_null($this->_propDict["maximumOutboundJitter"])) { + return $this->_propDict["maximumOutboundJitter"]; + } else { + $this->_propDict["maximumOutboundJitter"] = new \DateInterval($this->_propDict["maximumOutboundJitter"]); + return $this->_propDict["maximumOutboundJitter"]; + } + } + return null; + } + + /** + * Sets the maximumOutboundJitter + * The maximum outbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the maximumOutboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumOutboundJitter($val) + { + $this->_propDict["maximumOutboundJitter"] = $val; + return $this; + } + /** + * Gets the maximumOutboundPacketLossRateInPercentage + * The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The maximumOutboundPacketLossRateInPercentage + */ + public function getMaximumOutboundPacketLossRateInPercentage() + { + if (array_key_exists("maximumOutboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["maximumOutboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumOutboundPacketLossRateInPercentage + * The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the maximumOutboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setMaximumOutboundPacketLossRateInPercentage($val) + { + $this->_propDict["maximumOutboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the maximumOutboundRoundTripDelay + * The maximum outbound stream network round trip delay. + * + * @return \DateInterval|null The maximumOutboundRoundTripDelay + */ + public function getMaximumOutboundRoundTripDelay() + { + if (array_key_exists("maximumOutboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["maximumOutboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["maximumOutboundRoundTripDelay"])) { + return $this->_propDict["maximumOutboundRoundTripDelay"]; + } else { + $this->_propDict["maximumOutboundRoundTripDelay"] = new \DateInterval($this->_propDict["maximumOutboundRoundTripDelay"]); + return $this->_propDict["maximumOutboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the maximumOutboundRoundTripDelay + * The maximum outbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the maximumOutboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumOutboundRoundTripDelay($val) + { + $this->_propDict["maximumOutboundRoundTripDelay"] = $val; + return $this; + } + + /** + * Gets the mediaDuration + * The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations. + * + * @return \DateInterval|null The mediaDuration + */ + public function getMediaDuration() + { + if (array_key_exists("mediaDuration", $this->_propDict)) { + if (is_a($this->_propDict["mediaDuration"], "\DateInterval") || is_null($this->_propDict["mediaDuration"])) { + return $this->_propDict["mediaDuration"]; + } else { + $this->_propDict["mediaDuration"] = new \DateInterval($this->_propDict["mediaDuration"]); + return $this->_propDict["mediaDuration"]; + } + } + return null; + } + + /** + * Sets the mediaDuration + * The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations. + * + * @param \DateInterval $val The value to assign to the mediaDuration + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMediaDuration($val) + { + $this->_propDict["mediaDuration"] = $val; + return $this; + } + /** + * Gets the networkLinkSpeedInBytes + * The network link speed in bytes + * + * @return int|null The networkLinkSpeedInBytes + */ + public function getNetworkLinkSpeedInBytes() + { + if (array_key_exists("networkLinkSpeedInBytes", $this->_propDict)) { + return $this->_propDict["networkLinkSpeedInBytes"]; + } else { + return null; + } + } + + /** + * Sets the networkLinkSpeedInBytes + * The network link speed in bytes + * + * @param int $val The value of the networkLinkSpeedInBytes + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setNetworkLinkSpeedInBytes($val) + { + $this->_propDict["networkLinkSpeedInBytes"] = $val; + return $this; + } + /** + * Gets the outboundPackets + * The total number of the outbound packets. + * + * @return int|null The outboundPackets + */ + public function getOutboundPackets() + { + if (array_key_exists("outboundPackets", $this->_propDict)) { + return $this->_propDict["outboundPackets"]; + } else { + return null; + } + } + + /** + * Sets the outboundPackets + * The total number of the outbound packets. + * + * @param int $val The value of the outboundPackets + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setOutboundPackets($val) + { + $this->_propDict["outboundPackets"] = $val; + return $this; + } + /** + * Gets the remoteIPAddress + * The remote IP address for the media session. + * + * @return string|null The remoteIPAddress + */ + public function getRemoteIPAddress() + { + if (array_key_exists("remoteIPAddress", $this->_propDict)) { + return $this->_propDict["remoteIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the remoteIPAddress + * The remote IP address for the media session. + * + * @param string $val The value of the remoteIPAddress + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setRemoteIPAddress($val) + { + $this->_propDict["remoteIPAddress"] = $val; + return $this; + } + /** + * Gets the remotePort + * The remote media port. + * + * @return int|null The remotePort + */ + public function getRemotePort() + { + if (array_key_exists("remotePort", $this->_propDict)) { + return $this->_propDict["remotePort"]; + } else { + return null; + } + } + + /** + * Sets the remotePort + * The remote media port. + * + * @param int $val The value of the remotePort + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setRemotePort($val) + { + $this->_propDict["remotePort"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php new file mode 100644 index 0000000..bc88d54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php @@ -0,0 +1,311 @@ +_propDict)) { + return $this->_propDict["callChainId"]; + } else { + return null; + } + } + + /** + * Sets the callChainId + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + * + * @param string $val The value of the callChainId + * + * @return TeleconferenceDeviceQuality + */ + public function setCallChainId($val) + { + $this->_propDict["callChainId"] = $val; + return $this; + } + /** + * Gets the cloudServiceDeploymentEnvironment + * A geo-region where the service is deployed, such as ProdNoam. + * + * @return string|null The cloudServiceDeploymentEnvironment + */ + public function getCloudServiceDeploymentEnvironment() + { + if (array_key_exists("cloudServiceDeploymentEnvironment", $this->_propDict)) { + return $this->_propDict["cloudServiceDeploymentEnvironment"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceDeploymentEnvironment + * A geo-region where the service is deployed, such as ProdNoam. + * + * @param string $val The value of the cloudServiceDeploymentEnvironment + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceDeploymentEnvironment($val) + { + $this->_propDict["cloudServiceDeploymentEnvironment"] = $val; + return $this; + } + /** + * Gets the cloudServiceDeploymentId + * A unique deployment identifier assigned by Azure. + * + * @return string|null The cloudServiceDeploymentId + */ + public function getCloudServiceDeploymentId() + { + if (array_key_exists("cloudServiceDeploymentId", $this->_propDict)) { + return $this->_propDict["cloudServiceDeploymentId"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceDeploymentId + * A unique deployment identifier assigned by Azure. + * + * @param string $val The value of the cloudServiceDeploymentId + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceDeploymentId($val) + { + $this->_propDict["cloudServiceDeploymentId"] = $val; + return $this; + } + /** + * Gets the cloudServiceInstanceName + * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * + * @return string|null The cloudServiceInstanceName + */ + public function getCloudServiceInstanceName() + { + if (array_key_exists("cloudServiceInstanceName", $this->_propDict)) { + return $this->_propDict["cloudServiceInstanceName"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceInstanceName + * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * + * @param string $val The value of the cloudServiceInstanceName + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceInstanceName($val) + { + $this->_propDict["cloudServiceInstanceName"] = $val; + return $this; + } + /** + * Gets the cloudServiceName + * The Azure deployed cloud service name, such as contoso.cloudapp.net. + * + * @return string|null The cloudServiceName + */ + public function getCloudServiceName() + { + if (array_key_exists("cloudServiceName", $this->_propDict)) { + return $this->_propDict["cloudServiceName"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceName + * The Azure deployed cloud service name, such as contoso.cloudapp.net. + * + * @param string $val The value of the cloudServiceName + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceName($val) + { + $this->_propDict["cloudServiceName"] = $val; + return $this; + } + /** + * Gets the deviceDescription + * Any additional description, such as VTC Bldg 30/21. + * + * @return string|null The deviceDescription + */ + public function getDeviceDescription() + { + if (array_key_exists("deviceDescription", $this->_propDict)) { + return $this->_propDict["deviceDescription"]; + } else { + return null; + } + } + + /** + * Sets the deviceDescription + * Any additional description, such as VTC Bldg 30/21. + * + * @param string $val The value of the deviceDescription + * + * @return TeleconferenceDeviceQuality + */ + public function setDeviceDescription($val) + { + $this->_propDict["deviceDescription"] = $val; + return $this; + } + /** + * Gets the deviceName + * The user media agent name, such as Cisco SX80. + * + * @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 user media agent name, such as Cisco SX80. + * + * @param string $val The value of the deviceName + * + * @return TeleconferenceDeviceQuality + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + /** + * Gets the mediaLegId + * A unique identifier for a specific media leg of a participant in a conference. One participant can have multiple media leg identifiers if retargeting happens. CVI partner assigns this value. + * + * @return string|null The mediaLegId + */ + public function getMediaLegId() + { + if (array_key_exists("mediaLegId", $this->_propDict)) { + return $this->_propDict["mediaLegId"]; + } else { + return null; + } + } + + /** + * Sets the mediaLegId + * A unique identifier for a specific media leg of a participant in a conference. One participant can have multiple media leg identifiers if retargeting happens. CVI partner assigns this value. + * + * @param string $val The value of the mediaLegId + * + * @return TeleconferenceDeviceQuality + */ + public function setMediaLegId($val) + { + $this->_propDict["mediaLegId"] = $val; + return $this; + } + + /** + * Gets the mediaQualityList + * The list of media qualities in a media session (call), such as audio quality, video quality, and/or screen sharing quality. + * + * @return TeleconferenceDeviceMediaQuality|null The mediaQualityList + */ + public function getMediaQualityList() + { + if (array_key_exists("mediaQualityList", $this->_propDict)) { + if (is_a($this->_propDict["mediaQualityList"], "\Beta\Microsoft\Graph\Model\TeleconferenceDeviceMediaQuality") || is_null($this->_propDict["mediaQualityList"])) { + return $this->_propDict["mediaQualityList"]; + } else { + $this->_propDict["mediaQualityList"] = new TeleconferenceDeviceMediaQuality($this->_propDict["mediaQualityList"]); + return $this->_propDict["mediaQualityList"]; + } + } + return null; + } + + /** + * Sets the mediaQualityList + * The list of media qualities in a media session (call), such as audio quality, video quality, and/or screen sharing quality. + * + * @param TeleconferenceDeviceMediaQuality $val The value to assign to the mediaQualityList + * + * @return TeleconferenceDeviceQuality The TeleconferenceDeviceQuality + */ + public function setMediaQualityList($val) + { + $this->_propDict["mediaQualityList"] = $val; + return $this; + } + /** + * Gets the participantId + * A unique identifier for a specific participant in a conference. The CVI partner needs to copy over Call.MyParticipantId to this property. + * + * @return string|null The participantId + */ + public function getParticipantId() + { + if (array_key_exists("participantId", $this->_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * A unique identifier for a specific participant in a conference. The CVI partner needs to copy over Call.MyParticipantId to this property. + * + * @param string $val The value of the participantId + * + * @return TeleconferenceDeviceQuality + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceScreenSharingQuality.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceScreenSharingQuality.php new file mode 100644 index 0000000..813d594 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceScreenSharingQuality.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["averageInboundBitRate"]; + } else { + return null; + } + } + + /** + * Sets the averageInboundBitRate + * The average inbound stream video bit rate per second. + * + * @param float $val The value of the averageInboundBitRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageInboundBitRate($val) + { + $this->_propDict["averageInboundBitRate"] = $val; + return $this; + } + /** + * Gets the averageInboundFrameRate + * The average inbound stream video frame rate per second. + * + * @return float|null The averageInboundFrameRate + */ + public function getAverageInboundFrameRate() + { + if (array_key_exists("averageInboundFrameRate", $this->_propDict)) { + return $this->_propDict["averageInboundFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageInboundFrameRate + * The average inbound stream video frame rate per second. + * + * @param float $val The value of the averageInboundFrameRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageInboundFrameRate($val) + { + $this->_propDict["averageInboundFrameRate"] = $val; + return $this; + } + /** + * Gets the averageOutboundBitRate + * The average outbound stream video bit rate per second. + * + * @return float|null The averageOutboundBitRate + */ + public function getAverageOutboundBitRate() + { + if (array_key_exists("averageOutboundBitRate", $this->_propDict)) { + return $this->_propDict["averageOutboundBitRate"]; + } else { + return null; + } + } + + /** + * Sets the averageOutboundBitRate + * The average outbound stream video bit rate per second. + * + * @param float $val The value of the averageOutboundBitRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageOutboundBitRate($val) + { + $this->_propDict["averageOutboundBitRate"] = $val; + return $this; + } + /** + * Gets the averageOutboundFrameRate + * The average outbound stream video frame rate per second. + * + * @return float|null The averageOutboundFrameRate + */ + public function getAverageOutboundFrameRate() + { + if (array_key_exists("averageOutboundFrameRate", $this->_propDict)) { + return $this->_propDict["averageOutboundFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageOutboundFrameRate + * The average outbound stream video frame rate per second. + * + * @param float $val The value of the averageOutboundFrameRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageOutboundFrameRate($val) + { + $this->_propDict["averageOutboundFrameRate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethod.php new file mode 100644 index 0000000..0fabeb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethod.php @@ -0,0 +1,238 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the temporaryAccessPass was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the isUsable + * The state of the authentication method that indicates whether it's currently usable by the user. + * + * @return bool|null The isUsable + */ + public function getIsUsable() + { + if (array_key_exists("isUsable", $this->_propDict)) { + return $this->_propDict["isUsable"]; + } else { + return null; + } + } + + /** + * Sets the isUsable + * The state of the authentication method that indicates whether it's currently usable by the user. + * + * @param bool $val The isUsable + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setIsUsable($val) + { + $this->_propDict["isUsable"] = boolval($val); + return $this; + } + + /** + * Gets the isUsableOnce + * Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime. + * + * @return bool|null The isUsableOnce + */ + public function getIsUsableOnce() + { + if (array_key_exists("isUsableOnce", $this->_propDict)) { + return $this->_propDict["isUsableOnce"]; + } else { + return null; + } + } + + /** + * Sets the isUsableOnce + * Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime. + * + * @param bool $val The isUsableOnce + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setIsUsableOnce($val) + { + $this->_propDict["isUsableOnce"] = boolval($val); + return $this; + } + + /** + * Gets the lifetimeInMinutes + * The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days). + * + * @return int|null The lifetimeInMinutes + */ + public function getLifetimeInMinutes() + { + if (array_key_exists("lifetimeInMinutes", $this->_propDict)) { + return $this->_propDict["lifetimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the lifetimeInMinutes + * The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days). + * + * @param int $val The lifetimeInMinutes + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setLifetimeInMinutes($val) + { + $this->_propDict["lifetimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the methodUsabilityReason + * Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid, oneTimeUsed. + * + * @return string|null The methodUsabilityReason + */ + public function getMethodUsabilityReason() + { + if (array_key_exists("methodUsabilityReason", $this->_propDict)) { + return $this->_propDict["methodUsabilityReason"]; + } else { + return null; + } + } + + /** + * Sets the methodUsabilityReason + * Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid, oneTimeUsed. + * + * @param string $val The methodUsabilityReason + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setMethodUsabilityReason($val) + { + $this->_propDict["methodUsabilityReason"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time when the temporaryAccessPass becomes available to use. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time when the temporaryAccessPass becomes available to use. + * + * @param \DateTime $val The startDateTime + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the temporaryAccessPass + * The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL with GET. + * + * @return string|null The temporaryAccessPass + */ + public function getTemporaryAccessPass() + { + if (array_key_exists("temporaryAccessPass", $this->_propDict)) { + return $this->_propDict["temporaryAccessPass"]; + } else { + return null; + } + } + + /** + * Sets the temporaryAccessPass + * The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL with GET. + * + * @param string $val The temporaryAccessPass + * + * @return TemporaryAccessPassAuthenticationMethod + */ + public function setTemporaryAccessPass($val) + { + $this->_propDict["temporaryAccessPass"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..1b595ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethodConfiguration.php @@ -0,0 +1,190 @@ +_propDict)) { + return $this->_propDict["defaultLength"]; + } else { + return null; + } + } + + /** + * Sets the defaultLength + * + * @param int $val The defaultLength + * + * @return TemporaryAccessPassAuthenticationMethodConfiguration + */ + public function setDefaultLength($val) + { + $this->_propDict["defaultLength"] = intval($val); + return $this; + } + + /** + * Gets the defaultLifetimeInMinutes + * + * @return int|null The defaultLifetimeInMinutes + */ + public function getDefaultLifetimeInMinutes() + { + if (array_key_exists("defaultLifetimeInMinutes", $this->_propDict)) { + return $this->_propDict["defaultLifetimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the defaultLifetimeInMinutes + * + * @param int $val The defaultLifetimeInMinutes + * + * @return TemporaryAccessPassAuthenticationMethodConfiguration + */ + public function setDefaultLifetimeInMinutes($val) + { + $this->_propDict["defaultLifetimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the isUsableOnce + * + * @return bool|null The isUsableOnce + */ + public function getIsUsableOnce() + { + if (array_key_exists("isUsableOnce", $this->_propDict)) { + return $this->_propDict["isUsableOnce"]; + } else { + return null; + } + } + + /** + * Sets the isUsableOnce + * + * @param bool $val The isUsableOnce + * + * @return TemporaryAccessPassAuthenticationMethodConfiguration + */ + public function setIsUsableOnce($val) + { + $this->_propDict["isUsableOnce"] = boolval($val); + return $this; + } + + /** + * Gets the maximumLifetimeInMinutes + * + * @return int|null The maximumLifetimeInMinutes + */ + public function getMaximumLifetimeInMinutes() + { + if (array_key_exists("maximumLifetimeInMinutes", $this->_propDict)) { + return $this->_propDict["maximumLifetimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the maximumLifetimeInMinutes + * + * @param int $val The maximumLifetimeInMinutes + * + * @return TemporaryAccessPassAuthenticationMethodConfiguration + */ + public function setMaximumLifetimeInMinutes($val) + { + $this->_propDict["maximumLifetimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the minimumLifetimeInMinutes + * + * @return int|null The minimumLifetimeInMinutes + */ + public function getMinimumLifetimeInMinutes() + { + if (array_key_exists("minimumLifetimeInMinutes", $this->_propDict)) { + return $this->_propDict["minimumLifetimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the minimumLifetimeInMinutes + * + * @param int $val The minimumLifetimeInMinutes + * + * @return TemporaryAccessPassAuthenticationMethodConfiguration + */ + public function setMinimumLifetimeInMinutes($val) + { + $this->_propDict["minimumLifetimeInMinutes"] = intval($val); + return $this; + } + + + /** + * Gets the includeTargets + * + * @return array|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return TemporaryAccessPassAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantAppManagementPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantAppManagementPolicy.php new file mode 100644 index 0000000..87c6c19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantAppManagementPolicy.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["applicationRestrictions"], "\Beta\Microsoft\Graph\Model\AppManagementConfiguration") || is_null($this->_propDict["applicationRestrictions"])) { + return $this->_propDict["applicationRestrictions"]; + } else { + $this->_propDict["applicationRestrictions"] = new AppManagementConfiguration($this->_propDict["applicationRestrictions"]); + return $this->_propDict["applicationRestrictions"]; + } + } + return null; + } + + /** + * Sets the applicationRestrictions + * Restrictions that apply as default to all application objects in the tenant. + * + * @param AppManagementConfiguration $val The applicationRestrictions + * + * @return TenantAppManagementPolicy + */ + public function setApplicationRestrictions($val) + { + $this->_propDict["applicationRestrictions"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Denotes whether the policy is enabled. Default value is false. + * + * @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 + * Denotes whether the policy is enabled. Default value is false. + * + * @param bool $val The isEnabled + * + * @return TenantAppManagementPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the servicePrincipalRestrictions + * Restrictions that apply as default to all service principal objects in the tenant. + * + * @return AppManagementConfiguration|null The servicePrincipalRestrictions + */ + public function getServicePrincipalRestrictions() + { + if (array_key_exists("servicePrincipalRestrictions", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipalRestrictions"], "\Beta\Microsoft\Graph\Model\AppManagementConfiguration") || is_null($this->_propDict["servicePrincipalRestrictions"])) { + return $this->_propDict["servicePrincipalRestrictions"]; + } else { + $this->_propDict["servicePrincipalRestrictions"] = new AppManagementConfiguration($this->_propDict["servicePrincipalRestrictions"]); + return $this->_propDict["servicePrincipalRestrictions"]; + } + } + return null; + } + + /** + * Sets the servicePrincipalRestrictions + * Restrictions that apply as default to all service principal objects in the tenant. + * + * @param AppManagementConfiguration $val The servicePrincipalRestrictions + * + * @return TenantAppManagementPolicy + */ + public function setServicePrincipalRestrictions($val) + { + $this->_propDict["servicePrincipalRestrictions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantAttachRBAC.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantAttachRBAC.php new file mode 100644 index 0000000..9863f39 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantAttachRBAC.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates whether the tenant is enabled for Tenant Attach with role management. TRUE if enabled, FALSE if the Tenant Attach with rolemanagement is disabled. + * + * @param bool $val The value of the enabled + * + * @return TenantAttachRBACState + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantReference.php new file mode 100644 index 0000000..d6d33d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantReference.php @@ -0,0 +1,131 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the TenantReference + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * 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 TenantReference + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + 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 TenantReference + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantRelationship.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantRelationship.php new file mode 100644 index 0000000..1ed3775 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantRelationship.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["managedTenants"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenant") || is_null($this->_propDict["managedTenants"])) { + return $this->_propDict["managedTenants"]; + } else { + $this->_propDict["managedTenants"] = new \Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenant($this->_propDict["managedTenants"]); + return $this->_propDict["managedTenants"]; + } + } + return null; + } + + /** + * Sets the managedTenants + * The operations available to interact with the multi-tenant management platform. + * + * @param \Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenant $val The managedTenants + * + * @return TenantRelationship + */ + public function setManagedTenants($val) + { + $this->_propDict["managedTenants"] = $val; + return $this; + } + + + /** + * Gets the delegatedAdminCustomers + * The customer who has a delegated admin relationship with a Microsoft partner. + * + * @return array|null The delegatedAdminCustomers + */ + public function getDelegatedAdminCustomers() + { + if (array_key_exists("delegatedAdminCustomers", $this->_propDict)) { + return $this->_propDict["delegatedAdminCustomers"]; + } else { + return null; + } + } + + /** + * Sets the delegatedAdminCustomers + * The customer who has a delegated admin relationship with a Microsoft partner. + * + * @param DelegatedAdminCustomer[] $val The delegatedAdminCustomers + * + * @return TenantRelationship + */ + public function setDelegatedAdminCustomers($val) + { + $this->_propDict["delegatedAdminCustomers"] = $val; + return $this; + } + + + /** + * Gets the delegatedAdminRelationships + * The details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. + * + * @return array|null The delegatedAdminRelationships + */ + public function getDelegatedAdminRelationships() + { + if (array_key_exists("delegatedAdminRelationships", $this->_propDict)) { + return $this->_propDict["delegatedAdminRelationships"]; + } else { + return null; + } + } + + /** + * Sets the delegatedAdminRelationships + * The details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. + * + * @param DelegatedAdminRelationship[] $val The delegatedAdminRelationships + * + * @return TenantRelationship + */ + public function setDelegatedAdminRelationships($val) + { + $this->_propDict["delegatedAdminRelationships"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantRelationshipAccessPolicyBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantRelationshipAccessPolicyBase.php new file mode 100644 index 0000000..0525cb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantRelationshipAccessPolicyBase.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["definition"]; + } else { + return null; + } + } + + /** + * Sets the definition + * + * @param string $val The definition + * + * @return TenantRelationshipAccessPolicyBase + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantSetupInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantSetupInfo.php new file mode 100644 index 0000000..3757c50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantSetupInfo.php @@ -0,0 +1,197 @@ +_propDict)) { + return $this->_propDict["firstTimeSetup"]; + } else { + return null; + } + } + + /** + * Sets the firstTimeSetup + * + * @param bool $val The firstTimeSetup + * + * @return TenantSetupInfo + */ + public function setFirstTimeSetup($val) + { + $this->_propDict["firstTimeSetup"] = boolval($val); + return $this; + } + + /** + * Gets the relevantRolesSettings + * + * @return string|null The relevantRolesSettings + */ + public function getRelevantRolesSettings() + { + if (array_key_exists("relevantRolesSettings", $this->_propDict)) { + return $this->_propDict["relevantRolesSettings"]; + } else { + return null; + } + } + + /** + * Sets the relevantRolesSettings + * + * @param string $val The relevantRolesSettings + * + * @return TenantSetupInfo + */ + public function setRelevantRolesSettings($val) + { + $this->_propDict["relevantRolesSettings"] = $val; + return $this; + } + + /** + * Gets the setupStatus + * + * @return SetupStatus|null The setupStatus + */ + public function getSetupStatus() + { + if (array_key_exists("setupStatus", $this->_propDict)) { + if (is_a($this->_propDict["setupStatus"], "\Beta\Microsoft\Graph\Model\SetupStatus") || is_null($this->_propDict["setupStatus"])) { + return $this->_propDict["setupStatus"]; + } else { + $this->_propDict["setupStatus"] = new SetupStatus($this->_propDict["setupStatus"]); + return $this->_propDict["setupStatus"]; + } + } + return null; + } + + /** + * Sets the setupStatus + * + * @param SetupStatus $val The setupStatus + * + * @return TenantSetupInfo + */ + public function setSetupStatus($val) + { + $this->_propDict["setupStatus"] = $val; + return $this; + } + + /** + * Gets the skipSetup + * + * @return bool|null The skipSetup + */ + public function getSkipSetup() + { + if (array_key_exists("skipSetup", $this->_propDict)) { + return $this->_propDict["skipSetup"]; + } else { + return null; + } + } + + /** + * Sets the skipSetup + * + * @param bool $val The skipSetup + * + * @return TenantSetupInfo + */ + public function setSkipSetup($val) + { + $this->_propDict["skipSetup"] = boolval($val); + return $this; + } + + /** + * Gets the userRolesActions + * + * @return string|null The userRolesActions + */ + public function getUserRolesActions() + { + if (array_key_exists("userRolesActions", $this->_propDict)) { + return $this->_propDict["userRolesActions"]; + } else { + return null; + } + } + + /** + * Sets the userRolesActions + * + * @param string $val The userRolesActions + * + * @return TenantSetupInfo + */ + public function setUserRolesActions($val) + { + $this->_propDict["userRolesActions"] = $val; + return $this; + } + + /** + * Gets the defaultRolesSettings + * + * @return PrivilegedRoleSettings|null The defaultRolesSettings + */ + public function getDefaultRolesSettings() + { + if (array_key_exists("defaultRolesSettings", $this->_propDict)) { + if (is_a($this->_propDict["defaultRolesSettings"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleSettings") || is_null($this->_propDict["defaultRolesSettings"])) { + return $this->_propDict["defaultRolesSettings"]; + } else { + $this->_propDict["defaultRolesSettings"] = new PrivilegedRoleSettings($this->_propDict["defaultRolesSettings"]); + return $this->_propDict["defaultRolesSettings"]; + } + } + return null; + } + + /** + * Sets the defaultRolesSettings + * + * @param PrivilegedRoleSettings $val The defaultRolesSettings + * + * @return TenantSetupInfo + */ + public function setDefaultRolesSettings($val) + { + $this->_propDict["defaultRolesSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermColumn.php new file mode 100644 index 0000000..dc04f9b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermColumn.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["allowMultipleValues"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleValues + * Specifies whether the column will allow more than one value + * + * @param bool $val The value of the allowMultipleValues + * + * @return TermColumn + */ + public function setAllowMultipleValues($val) + { + $this->_propDict["allowMultipleValues"] = $val; + return $this; + } + /** + * Gets the showFullyQualifiedName + * Specifies whether to display the entire term path or only the term label. + * + * @return bool|null The showFullyQualifiedName + */ + public function getShowFullyQualifiedName() + { + if (array_key_exists("showFullyQualifiedName", $this->_propDict)) { + return $this->_propDict["showFullyQualifiedName"]; + } else { + return null; + } + } + + /** + * Sets the showFullyQualifiedName + * Specifies whether to display the entire term path or only the term label. + * + * @param bool $val The value of the showFullyQualifiedName + * + * @return TermColumn + */ + public function setShowFullyQualifiedName($val) + { + $this->_propDict["showFullyQualifiedName"] = $val; + return $this; + } + + /** + * Gets the parentTerm + * + * @return \Beta\Microsoft\Graph\TermStore\Model\Term|null The parentTerm + */ + public function getParentTerm() + { + if (array_key_exists("parentTerm", $this->_propDict)) { + if (is_a($this->_propDict["parentTerm"], "\Beta\Microsoft\Graph\TermStore\Model\Term") || is_null($this->_propDict["parentTerm"])) { + return $this->_propDict["parentTerm"]; + } else { + $this->_propDict["parentTerm"] = new \Beta\Microsoft\Graph\TermStore\Model\Term($this->_propDict["parentTerm"]); + return $this->_propDict["parentTerm"]; + } + } + return null; + } + + /** + * Sets the parentTerm + * + * @param \Beta\Microsoft\Graph\TermStore\Model\Term $val The value to assign to the parentTerm + * + * @return TermColumn The TermColumn + */ + public function setParentTerm($val) + { + $this->_propDict["parentTerm"] = $val; + return $this; + } + + /** + * Gets the termSet + * + * @return \Beta\Microsoft\Graph\TermStore\Model\Set|null The termSet + */ + public function getTermSet() + { + if (array_key_exists("termSet", $this->_propDict)) { + if (is_a($this->_propDict["termSet"], "\Beta\Microsoft\Graph\TermStore\Model\Set") || is_null($this->_propDict["termSet"])) { + return $this->_propDict["termSet"]; + } else { + $this->_propDict["termSet"] = new \Beta\Microsoft\Graph\TermStore\Model\Set($this->_propDict["termSet"]); + return $this->_propDict["termSet"]; + } + } + return null; + } + + /** + * Sets the termSet + * + * @param \Beta\Microsoft\Graph\TermStore\Model\Set $val The value to assign to the termSet + * + * @return TermColumn The TermColumn + */ + public function setTermSet($val) + { + $this->_propDict["termSet"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditions.php new file mode 100644 index 0000000..6c40901 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditions.php @@ -0,0 +1,419 @@ +_propDict)) { + return $this->_propDict["acceptanceStatement"]; + } else { + return null; + } + } + + /** + * Sets the acceptanceStatement + * Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy. + * + * @param string $val The acceptanceStatement + * + * @return TermsAndConditions + */ + public function setAcceptanceStatement($val) + { + $this->_propDict["acceptanceStatement"] = $val; + return $this; + } + + /** + * Gets the bodyText + * Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. + * + * @return string|null The bodyText + */ + public function getBodyText() + { + if (array_key_exists("bodyText", $this->_propDict)) { + return $this->_propDict["bodyText"]; + } else { + return null; + } + } + + /** + * Sets the bodyText + * Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. + * + * @param string $val The bodyText + * + * @return TermsAndConditions + */ + public function setBodyText($val) + { + $this->_propDict["bodyText"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * DateTime the object was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TermsAndConditions + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Administrator-supplied description of the T&C policy. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Administrator-supplied description of the T&C policy. + * + * @param string $val The description + * + * @return TermsAndConditions + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Administrator-supplied name for the T&C policy. + * + * @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 + * Administrator-supplied name for the T&C policy. + * + * @param string $val The displayName + * + * @return TermsAndConditions + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TermsAndConditions + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The modifiedDateTime + * + * @return TermsAndConditions + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance. + * + * @param string $val The roleScopeTagIds + * + * @return TermsAndConditions + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the title + * Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. + * + * @param string $val The title + * + * @return TermsAndConditions + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the version + * Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. + * + * @param int $val The version + * + * @return TermsAndConditions + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the acceptanceStatuses + * The list of acceptance statuses for this T&C policy. + * + * @return array|null The acceptanceStatuses + */ + public function getAcceptanceStatuses() + { + if (array_key_exists("acceptanceStatuses", $this->_propDict)) { + return $this->_propDict["acceptanceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the acceptanceStatuses + * The list of acceptance statuses for this T&C policy. + * + * @param TermsAndConditionsAcceptanceStatus[] $val The acceptanceStatuses + * + * @return TermsAndConditions + */ + public function setAcceptanceStatuses($val) + { + $this->_propDict["acceptanceStatuses"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for this T&C policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for this T&C policy. + * + * @param TermsAndConditionsAssignment[] $val The assignments + * + * @return TermsAndConditions + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the groupAssignments + * The list of group assignments for this T&C policy. + * + * @return array|null The groupAssignments + */ + public function getGroupAssignments() + { + if (array_key_exists("groupAssignments", $this->_propDict)) { + return $this->_propDict["groupAssignments"]; + } else { + return null; + } + } + + /** + * Sets the groupAssignments + * The list of group assignments for this T&C policy. + * + * @param TermsAndConditionsGroupAssignment[] $val The groupAssignments + * + * @return TermsAndConditions + */ + public function setGroupAssignments($val) + { + $this->_propDict["groupAssignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAcceptanceStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAcceptanceStatus.php new file mode 100644 index 0000000..1913c87 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAcceptanceStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + if (is_a($this->_propDict["acceptedDateTime"], "\DateTime") || is_null($this->_propDict["acceptedDateTime"])) { + return $this->_propDict["acceptedDateTime"]; + } else { + $this->_propDict["acceptedDateTime"] = new \DateTime($this->_propDict["acceptedDateTime"]); + return $this->_propDict["acceptedDateTime"]; + } + } + return null; + } + + /** + * Sets the acceptedDateTime + * DateTime when the terms were last accepted by the user. + * + * @param \DateTime $val The acceptedDateTime + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setAcceptedDateTime($val) + { + $this->_propDict["acceptedDateTime"] = $val; + return $this; + } + + /** + * Gets the acceptedVersion + * Most recent version number of the T&C accepted by the user. + * + * @return int|null The acceptedVersion + */ + public function getAcceptedVersion() + { + if (array_key_exists("acceptedVersion", $this->_propDict)) { + return $this->_propDict["acceptedVersion"]; + } else { + return null; + } + } + + /** + * Sets the acceptedVersion + * Most recent version number of the T&C accepted by the user. + * + * @param int $val The acceptedVersion + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setAcceptedVersion($val) + { + $this->_propDict["acceptedVersion"] = intval($val); + return $this; + } + + /** + * Gets the userDisplayName + * Display name of the user whose acceptance the entity represents. + * + * @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 + * Display name of the user whose acceptance the entity represents. + * + * @param string $val The userDisplayName + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The userPrincipalName of the User that accepted the term. + * + * @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 + * The userPrincipalName of the User that accepted the term. + * + * @param string $val The userPrincipalName + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the termsAndConditions + * Navigation link to the terms and conditions that are assigned. + * + * @return TermsAndConditions|null The termsAndConditions + */ + public function getTermsAndConditions() + { + if (array_key_exists("termsAndConditions", $this->_propDict)) { + if (is_a($this->_propDict["termsAndConditions"], "\Beta\Microsoft\Graph\Model\TermsAndConditions") || is_null($this->_propDict["termsAndConditions"])) { + return $this->_propDict["termsAndConditions"]; + } else { + $this->_propDict["termsAndConditions"] = new TermsAndConditions($this->_propDict["termsAndConditions"]); + return $this->_propDict["termsAndConditions"]; + } + } + return null; + } + + /** + * Sets the termsAndConditions + * Navigation link to the terms and conditions that are assigned. + * + * @param TermsAndConditions $val The termsAndConditions + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setTermsAndConditions($val) + { + $this->_propDict["termsAndConditions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAssignment.php new file mode 100644 index 0000000..354c6ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Assignment target that the T&C policy is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return TermsAndConditionsAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsGroupAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsGroupAssignment.php new file mode 100644 index 0000000..b50c3fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsGroupAssignment.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["targetGroupId"]; + } else { + return null; + } + } + + /** + * Sets the targetGroupId + * Unique identifier of a group that the T&C policy is assigned to. + * + * @param string $val The targetGroupId + * + * @return TermsAndConditionsGroupAssignment + */ + public function setTargetGroupId($val) + { + $this->_propDict["targetGroupId"] = $val; + return $this; + } + + /** + * Gets the termsAndConditions + * Navigation link to the terms and conditions that are assigned. + * + * @return TermsAndConditions|null The termsAndConditions + */ + public function getTermsAndConditions() + { + if (array_key_exists("termsAndConditions", $this->_propDict)) { + if (is_a($this->_propDict["termsAndConditions"], "\Beta\Microsoft\Graph\Model\TermsAndConditions") || is_null($this->_propDict["termsAndConditions"])) { + return $this->_propDict["termsAndConditions"]; + } else { + $this->_propDict["termsAndConditions"] = new TermsAndConditions($this->_propDict["termsAndConditions"]); + return $this->_propDict["termsAndConditions"]; + } + } + return null; + } + + /** + * Sets the termsAndConditions + * Navigation link to the terms and conditions that are assigned. + * + * @param TermsAndConditions $val The termsAndConditions + * + * @return TermsAndConditionsGroupAssignment + */ + public function setTermsAndConditions($val) + { + $this->_propDict["termsAndConditions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsExpiration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsExpiration.php new file mode 100644 index 0000000..528711a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsExpiration.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["frequency"], "\DateInterval") || is_null($this->_propDict["frequency"])) { + return $this->_propDict["frequency"]; + } else { + $this->_propDict["frequency"] = new \DateInterval($this->_propDict["frequency"]); + return $this->_propDict["frequency"]; + } + } + return null; + } + + /** + * Sets the frequency + * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of 1 month. + * + * @param \DateInterval $val The value to assign to the frequency + * + * @return TermsExpiration The TermsExpiration + */ + public function setFrequency($val) + { + $this->_propDict["frequency"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The DateTime when the agreement is set to expire for all users. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The DateTime when the agreement is set to expire for all users. 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 startDateTime + * + * @return TermsExpiration The TermsExpiration + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsOfUseContainer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsOfUseContainer.php new file mode 100644 index 0000000..8f53ec6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsOfUseContainer.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["agreementAcceptances"]; + } else { + return null; + } + } + + /** + * Sets the agreementAcceptances + * Represents the current status of a user's response to a company's customizable terms of use agreement. + * + * @param AgreementAcceptance[] $val The agreementAcceptances + * + * @return TermsOfUseContainer + */ + public function setAgreementAcceptances($val) + { + $this->_propDict["agreementAcceptances"] = $val; + return $this; + } + + + /** + * Gets the agreements + * Represents a tenant's customizable terms of use agreement that's created and managed with Azure Active Directory (Azure AD). + * + * @return array|null The agreements + */ + public function getAgreements() + { + if (array_key_exists("agreements", $this->_propDict)) { + return $this->_propDict["agreements"]; + } else { + return null; + } + } + + /** + * Sets the agreements + * Represents a tenant's customizable terms of use agreement that's created and managed with Azure Active Directory (Azure AD). + * + * @param Agreement[] $val The agreements + * + * @return TermsOfUseContainer + */ + public function setAgreements($val) + { + $this->_propDict["agreements"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextClassificationRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextClassificationRequest.php new file mode 100644 index 0000000..2decc2b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextClassificationRequest.php @@ -0,0 +1,170 @@ +_propDict)) { + return $this->_propDict["fileExtension"]; + } else { + return null; + } + } + + /** + * Sets the fileExtension + * + * @param string $val The fileExtension + * + * @return TextClassificationRequest + */ + public function setFileExtension($val) + { + $this->_propDict["fileExtension"] = $val; + return $this; + } + + /** + * Gets the matchTolerancesToInclude + * + * @return MlClassificationMatchTolerance|null The matchTolerancesToInclude + */ + public function getMatchTolerancesToInclude() + { + if (array_key_exists("matchTolerancesToInclude", $this->_propDict)) { + if (is_a($this->_propDict["matchTolerancesToInclude"], "\Beta\Microsoft\Graph\Model\MlClassificationMatchTolerance") || is_null($this->_propDict["matchTolerancesToInclude"])) { + return $this->_propDict["matchTolerancesToInclude"]; + } else { + $this->_propDict["matchTolerancesToInclude"] = new MlClassificationMatchTolerance($this->_propDict["matchTolerancesToInclude"]); + return $this->_propDict["matchTolerancesToInclude"]; + } + } + return null; + } + + /** + * Sets the matchTolerancesToInclude + * + * @param MlClassificationMatchTolerance $val The matchTolerancesToInclude + * + * @return TextClassificationRequest + */ + public function setMatchTolerancesToInclude($val) + { + $this->_propDict["matchTolerancesToInclude"] = $val; + return $this; + } + + /** + * Gets the scopesToRun + * + * @return SensitiveTypeScope|null The scopesToRun + */ + public function getScopesToRun() + { + if (array_key_exists("scopesToRun", $this->_propDict)) { + if (is_a($this->_propDict["scopesToRun"], "\Beta\Microsoft\Graph\Model\SensitiveTypeScope") || is_null($this->_propDict["scopesToRun"])) { + return $this->_propDict["scopesToRun"]; + } else { + $this->_propDict["scopesToRun"] = new SensitiveTypeScope($this->_propDict["scopesToRun"]); + return $this->_propDict["scopesToRun"]; + } + } + return null; + } + + /** + * Sets the scopesToRun + * + * @param SensitiveTypeScope $val The scopesToRun + * + * @return TextClassificationRequest + */ + public function setScopesToRun($val) + { + $this->_propDict["scopesToRun"] = $val; + return $this; + } + + /** + * Gets the sensitiveTypeIds + * + * @return string|null The sensitiveTypeIds + */ + public function getSensitiveTypeIds() + { + if (array_key_exists("sensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["sensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeIds + * + * @param string $val The sensitiveTypeIds + * + * @return TextClassificationRequest + */ + public function setSensitiveTypeIds($val) + { + $this->_propDict["sensitiveTypeIds"] = $val; + return $this; + } + + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The text + * + * @return TextClassificationRequest + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextColumn.php new file mode 100644 index 0000000..7c52d59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextColumn.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allowMultipleLines"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleLines + * Whether to allow multiple lines of text. + * + * @param bool $val The value of the allowMultipleLines + * + * @return TextColumn + */ + public function setAllowMultipleLines($val) + { + $this->_propDict["allowMultipleLines"] = $val; + return $this; + } + /** + * Gets the appendChangesToExistingText + * Whether updates to this column should replace existing text, or append to it. + * + * @return bool|null The appendChangesToExistingText + */ + public function getAppendChangesToExistingText() + { + if (array_key_exists("appendChangesToExistingText", $this->_propDict)) { + return $this->_propDict["appendChangesToExistingText"]; + } else { + return null; + } + } + + /** + * Sets the appendChangesToExistingText + * Whether updates to this column should replace existing text, or append to it. + * + * @param bool $val The value of the appendChangesToExistingText + * + * @return TextColumn + */ + public function setAppendChangesToExistingText($val) + { + $this->_propDict["appendChangesToExistingText"] = $val; + return $this; + } + /** + * Gets the linesForEditing + * The size of the text box. + * + * @return int|null The linesForEditing + */ + public function getLinesForEditing() + { + if (array_key_exists("linesForEditing", $this->_propDict)) { + return $this->_propDict["linesForEditing"]; + } else { + return null; + } + } + + /** + * Sets the linesForEditing + * The size of the text box. + * + * @param int $val The value of the linesForEditing + * + * @return TextColumn + */ + public function setLinesForEditing($val) + { + $this->_propDict["linesForEditing"] = $val; + return $this; + } + /** + * Gets the maxLength + * The maximum number of characters for the value. + * + * @return int|null The maxLength + */ + public function getMaxLength() + { + if (array_key_exists("maxLength", $this->_propDict)) { + return $this->_propDict["maxLength"]; + } else { + return null; + } + } + + /** + * Sets the maxLength + * The maximum number of characters for the value. + * + * @param int $val The value of the maxLength + * + * @return TextColumn + */ + public function setMaxLength($val) + { + $this->_propDict["maxLength"] = $val; + return $this; + } + /** + * Gets the textType + * The type of text being stored. Must be one of plain or richText + * + * @return string|null The textType + */ + public function getTextType() + { + if (array_key_exists("textType", $this->_propDict)) { + return $this->_propDict["textType"]; + } else { + return null; + } + } + + /** + * Sets the textType + * The type of text being stored. Must be one of plain or richText + * + * @param string $val The value of the textType + * + * @return TextColumn + */ + public function setTextType($val) + { + $this->_propDict["textType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentContentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentContentType.php new file mode 100644 index 0000000..d2fa6cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentContentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\ThreatCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ThreatCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The threat category. Possible values are: spam, phishing, malware. + * + * @param ThreatCategory $val The category + * + * @return ThreatAssessmentRequest + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the contentType + * The content type of threat assessment. Possible values are: mail, url, file. + * + * @return ThreatAssessmentContentType|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentContentType") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ThreatAssessmentContentType($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The content type of threat assessment. Possible values are: mail, url, file. + * + * @param ThreatAssessmentContentType $val The contentType + * + * @return ThreatAssessmentRequest + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The threat assessment request creator. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The threat assessment request creator. + * + * @param IdentitySet $val The createdBy + * + * @return ThreatAssessmentRequest + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ThreatAssessmentRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the expectedAssessment + * The expected assessment from submitter. Possible values are: block, unblock. + * + * @return ThreatExpectedAssessment|null The expectedAssessment + */ + public function getExpectedAssessment() + { + if (array_key_exists("expectedAssessment", $this->_propDict)) { + if (is_a($this->_propDict["expectedAssessment"], "\Beta\Microsoft\Graph\Model\ThreatExpectedAssessment") || is_null($this->_propDict["expectedAssessment"])) { + return $this->_propDict["expectedAssessment"]; + } else { + $this->_propDict["expectedAssessment"] = new ThreatExpectedAssessment($this->_propDict["expectedAssessment"]); + return $this->_propDict["expectedAssessment"]; + } + } + return null; + } + + /** + * Sets the expectedAssessment + * The expected assessment from submitter. Possible values are: block, unblock. + * + * @param ThreatExpectedAssessment $val The expectedAssessment + * + * @return ThreatAssessmentRequest + */ + public function setExpectedAssessment($val) + { + $this->_propDict["expectedAssessment"] = $val; + return $this; + } + + /** + * Gets the requestSource + * The source of the threat assessment request. Possible values are: user, administrator. + * + * @return ThreatAssessmentRequestSource|null The requestSource + */ + public function getRequestSource() + { + if (array_key_exists("requestSource", $this->_propDict)) { + if (is_a($this->_propDict["requestSource"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentRequestSource") || is_null($this->_propDict["requestSource"])) { + return $this->_propDict["requestSource"]; + } else { + $this->_propDict["requestSource"] = new ThreatAssessmentRequestSource($this->_propDict["requestSource"]); + return $this->_propDict["requestSource"]; + } + } + return null; + } + + /** + * Sets the requestSource + * The source of the threat assessment request. Possible values are: user, administrator. + * + * @param ThreatAssessmentRequestSource $val The requestSource + * + * @return ThreatAssessmentRequest + */ + public function setRequestSource($val) + { + $this->_propDict["requestSource"] = $val; + return $this; + } + + /** + * Gets the status + * The assessment process status. Possible values are: pending, completed. + * + * @return ThreatAssessmentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ThreatAssessmentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The assessment process status. Possible values are: pending, completed. + * + * @param ThreatAssessmentStatus $val The status + * + * @return ThreatAssessmentRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the results + * A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. + * + * @return array|null The results + */ + public function getResults() + { + if (array_key_exists("results", $this->_propDict)) { + return $this->_propDict["results"]; + } else { + return null; + } + } + + /** + * Sets the results + * A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. + * + * @param ThreatAssessmentResult[] $val The results + * + * @return ThreatAssessmentRequest + */ + public function setResults($val) + { + $this->_propDict["results"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentRequestPivotProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentRequestPivotProperty.php new file mode 100644 index 0000000..1c12f03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentRequestPivotProperty.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * + * @param int $val The value of the count + * + * @return ThreatAssessmentRequestsCount + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ThreatAssessmentRequestsCount The ThreatAssessmentRequestsCount + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the pivotValue + * + * @return string|null The pivotValue + */ + public function getPivotValue() + { + if (array_key_exists("pivotValue", $this->_propDict)) { + return $this->_propDict["pivotValue"]; + } else { + return null; + } + } + + /** + * Sets the pivotValue + * + * @param string $val The value of the pivotValue + * + * @return ThreatAssessmentRequestsCount + */ + public function setPivotValue($val) + { + $this->_propDict["pivotValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResult.php new file mode 100644 index 0000000..b46b45d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResult.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ThreatAssessmentResult + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the message + * The result message for each threat assessment. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The result message for each threat assessment. + * + * @param string $val The message + * + * @return ThreatAssessmentResult + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the resultType + * The threat assessment result type. Possible values are: checkPolicy (only for mail assessment), rescan. + * + * @return ThreatAssessmentResultType|null The resultType + */ + public function getResultType() + { + if (array_key_exists("resultType", $this->_propDict)) { + if (is_a($this->_propDict["resultType"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentResultType") || is_null($this->_propDict["resultType"])) { + return $this->_propDict["resultType"]; + } else { + $this->_propDict["resultType"] = new ThreatAssessmentResultType($this->_propDict["resultType"]); + return $this->_propDict["resultType"]; + } + } + return null; + } + + /** + * Sets the resultType + * The threat assessment result type. Possible values are: checkPolicy (only for mail assessment), rescan. + * + * @param ThreatAssessmentResultType $val The resultType + * + * @return ThreatAssessmentResult + */ + public function setResultType($val) + { + $this->_propDict["resultType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResultType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResultType.php new file mode 100644 index 0000000..a6abc85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResultType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content stream for the thumbnail. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the content + * + * @return Thumbnail The Thumbnail + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the height + * The height of the thumbnail, in pixels. + * + * @return int|null The height + */ + public function getHeight() + { + if (array_key_exists("height", $this->_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * The height of the thumbnail, in pixels. + * + * @param int $val The value of the height + * + * @return Thumbnail + */ + public function setHeight($val) + { + $this->_propDict["height"] = $val; + return $this; + } + /** + * Gets the sourceItemId + * The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested. + * + * @return string|null The sourceItemId + */ + public function getSourceItemId() + { + if (array_key_exists("sourceItemId", $this->_propDict)) { + return $this->_propDict["sourceItemId"]; + } else { + return null; + } + } + + /** + * Sets the sourceItemId + * The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested. + * + * @param string $val The value of the sourceItemId + * + * @return Thumbnail + */ + public function setSourceItemId($val) + { + $this->_propDict["sourceItemId"] = $val; + return $this; + } + /** + * Gets the url + * The URL used to fetch the thumbnail content. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The URL used to fetch the thumbnail content. + * + * @param string $val The value of the url + * + * @return Thumbnail + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + /** + * Gets the width + * The width of the thumbnail, in pixels. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * The width of the thumbnail, in pixels. + * + * @param int $val The value of the width + * + * @return Thumbnail + */ + public function setWidth($val) + { + $this->_propDict["width"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThumbnailColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThumbnailColumn.php new file mode 100644 index 0000000..0c176da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThumbnailColumn.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["large"], "\Beta\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["large"])) { + return $this->_propDict["large"]; + } else { + $this->_propDict["large"] = new Thumbnail($this->_propDict["large"]); + return $this->_propDict["large"]; + } + } + return null; + } + + /** + * Sets the large + * A 1920x1920 scaled thumbnail. + * + * @param Thumbnail $val The large + * + * @return ThumbnailSet + */ + public function setLarge($val) + { + $this->_propDict["large"] = $val; + return $this; + } + + /** + * Gets the medium + * A 176x176 scaled thumbnail. + * + * @return Thumbnail|null The medium + */ + public function getMedium() + { + if (array_key_exists("medium", $this->_propDict)) { + if (is_a($this->_propDict["medium"], "\Beta\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["medium"])) { + return $this->_propDict["medium"]; + } else { + $this->_propDict["medium"] = new Thumbnail($this->_propDict["medium"]); + return $this->_propDict["medium"]; + } + } + return null; + } + + /** + * Sets the medium + * A 176x176 scaled thumbnail. + * + * @param Thumbnail $val The medium + * + * @return ThumbnailSet + */ + public function setMedium($val) + { + $this->_propDict["medium"] = $val; + return $this; + } + + /** + * Gets the small + * A 48x48 cropped thumbnail. + * + * @return Thumbnail|null The small + */ + public function getSmall() + { + if (array_key_exists("small", $this->_propDict)) { + if (is_a($this->_propDict["small"], "\Beta\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["small"])) { + return $this->_propDict["small"]; + } else { + $this->_propDict["small"] = new Thumbnail($this->_propDict["small"]); + return $this->_propDict["small"]; + } + } + return null; + } + + /** + * Sets the small + * A 48x48 cropped thumbnail. + * + * @param Thumbnail $val The small + * + * @return ThumbnailSet + */ + public function setSmall($val) + { + $this->_propDict["small"] = $val; + return $this; + } + + /** + * Gets the source + * A custom thumbnail image or the original image used to generate other thumbnails. + * + * @return Thumbnail|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new Thumbnail($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * A custom thumbnail image or the original image used to generate other thumbnails. + * + * @param Thumbnail $val The source + * + * @return ThumbnailSet + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TiAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TiAction.php new file mode 100644 index 0000000..4920b7d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TiAction.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\TiAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new TiAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action to apply if the indicator is matched from within the targetProduct security tool. Possible values are: unknown, allow, block, alert. Required. + * + * @param TiAction $val The action + * + * @return TiIndicator + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the activityGroupNames + * The cyber threat intelligence name(s) for the parties responsible for the malicious activity covered by the threat indicator. + * + * @return string|null The activityGroupNames + */ + public function getActivityGroupNames() + { + if (array_key_exists("activityGroupNames", $this->_propDict)) { + return $this->_propDict["activityGroupNames"]; + } else { + return null; + } + } + + /** + * Sets the activityGroupNames + * The cyber threat intelligence name(s) for the parties responsible for the malicious activity covered by the threat indicator. + * + * @param string $val The activityGroupNames + * + * @return TiIndicator + */ + public function setActivityGroupNames($val) + { + $this->_propDict["activityGroupNames"] = $val; + return $this; + } + + /** + * Gets the additionalInformation + * A catchall area into which extra data from the indicator not covered by the other tiIndicator properties may be placed. Data placed into additionalInformation will typically not be utilized by the targetProduct security tool. + * + * @return string|null The additionalInformation + */ + public function getAdditionalInformation() + { + if (array_key_exists("additionalInformation", $this->_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * A catchall area into which extra data from the indicator not covered by the other tiIndicator properties may be placed. Data placed into additionalInformation will typically not be utilized by the targetProduct security tool. + * + * @param string $val The additionalInformation + * + * @return TiIndicator + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * Stamped by the system when the indicator is ingested. The Azure Active Directory tenant id of submitting client. Required. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * Stamped by the system when the indicator is ingested. The Azure Active Directory tenant id of submitting client. Required. + * + * @param string $val The azureTenantId + * + * @return TiIndicator + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the confidence + * An integer representing the confidence the data within the indicator accurately identifies malicious behavior. Acceptable values are 0 – 100 with 100 being the highest. + * + * @return int|null The confidence + */ + public function getConfidence() + { + if (array_key_exists("confidence", $this->_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * An integer representing the confidence the data within the indicator accurately identifies malicious behavior. Acceptable values are 0 – 100 with 100 being the highest. + * + * @param int $val The confidence + * + * @return TiIndicator + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = intval($val); + return $this; + } + + /** + * Gets the description + * Brief description (100 characters or less) of the threat represented by the indicator. Required. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Brief description (100 characters or less) of the threat represented by the indicator. Required. + * + * @param string $val The description + * + * @return TiIndicator + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the diamondModel + * The area of the Diamond Model in which this indicator exists. Possible values are: unknown, adversary, capability, infrastructure, victim. + * + * @return DiamondModel|null The diamondModel + */ + public function getDiamondModel() + { + if (array_key_exists("diamondModel", $this->_propDict)) { + if (is_a($this->_propDict["diamondModel"], "\Beta\Microsoft\Graph\Model\DiamondModel") || is_null($this->_propDict["diamondModel"])) { + return $this->_propDict["diamondModel"]; + } else { + $this->_propDict["diamondModel"] = new DiamondModel($this->_propDict["diamondModel"]); + return $this->_propDict["diamondModel"]; + } + } + return null; + } + + /** + * Sets the diamondModel + * The area of the Diamond Model in which this indicator exists. Possible values are: unknown, adversary, capability, infrastructure, victim. + * + * @param DiamondModel $val The diamondModel + * + * @return TiIndicator + */ + public function setDiamondModel($val) + { + $this->_propDict["diamondModel"] = $val; + return $this; + } + + /** + * Gets the domainName + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * + * @param string $val The domainName + * + * @return TiIndicator + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + + /** + * Gets the emailEncoding + * + * @return string|null The emailEncoding + */ + public function getEmailEncoding() + { + if (array_key_exists("emailEncoding", $this->_propDict)) { + return $this->_propDict["emailEncoding"]; + } else { + return null; + } + } + + /** + * Sets the emailEncoding + * + * @param string $val The emailEncoding + * + * @return TiIndicator + */ + public function setEmailEncoding($val) + { + $this->_propDict["emailEncoding"] = $val; + return $this; + } + + /** + * Gets the emailLanguage + * + * @return string|null The emailLanguage + */ + public function getEmailLanguage() + { + if (array_key_exists("emailLanguage", $this->_propDict)) { + return $this->_propDict["emailLanguage"]; + } else { + return null; + } + } + + /** + * Sets the emailLanguage + * + * @param string $val The emailLanguage + * + * @return TiIndicator + */ + public function setEmailLanguage($val) + { + $this->_propDict["emailLanguage"] = $val; + return $this; + } + + /** + * Gets the emailRecipient + * + * @return string|null The emailRecipient + */ + public function getEmailRecipient() + { + if (array_key_exists("emailRecipient", $this->_propDict)) { + return $this->_propDict["emailRecipient"]; + } else { + return null; + } + } + + /** + * Sets the emailRecipient + * + * @param string $val The emailRecipient + * + * @return TiIndicator + */ + public function setEmailRecipient($val) + { + $this->_propDict["emailRecipient"] = $val; + return $this; + } + + /** + * Gets the emailSenderAddress + * + * @return string|null The emailSenderAddress + */ + public function getEmailSenderAddress() + { + if (array_key_exists("emailSenderAddress", $this->_propDict)) { + return $this->_propDict["emailSenderAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailSenderAddress + * + * @param string $val The emailSenderAddress + * + * @return TiIndicator + */ + public function setEmailSenderAddress($val) + { + $this->_propDict["emailSenderAddress"] = $val; + return $this; + } + + /** + * Gets the emailSenderName + * + * @return string|null The emailSenderName + */ + public function getEmailSenderName() + { + if (array_key_exists("emailSenderName", $this->_propDict)) { + return $this->_propDict["emailSenderName"]; + } else { + return null; + } + } + + /** + * Sets the emailSenderName + * + * @param string $val The emailSenderName + * + * @return TiIndicator + */ + public function setEmailSenderName($val) + { + $this->_propDict["emailSenderName"] = $val; + return $this; + } + + /** + * Gets the emailSourceDomain + * + * @return string|null The emailSourceDomain + */ + public function getEmailSourceDomain() + { + if (array_key_exists("emailSourceDomain", $this->_propDict)) { + return $this->_propDict["emailSourceDomain"]; + } else { + return null; + } + } + + /** + * Sets the emailSourceDomain + * + * @param string $val The emailSourceDomain + * + * @return TiIndicator + */ + public function setEmailSourceDomain($val) + { + $this->_propDict["emailSourceDomain"] = $val; + return $this; + } + + /** + * Gets the emailSourceIpAddress + * + * @return string|null The emailSourceIpAddress + */ + public function getEmailSourceIpAddress() + { + if (array_key_exists("emailSourceIpAddress", $this->_propDict)) { + return $this->_propDict["emailSourceIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailSourceIpAddress + * + * @param string $val The emailSourceIpAddress + * + * @return TiIndicator + */ + public function setEmailSourceIpAddress($val) + { + $this->_propDict["emailSourceIpAddress"] = $val; + return $this; + } + + /** + * Gets the emailSubject + * + * @return string|null The emailSubject + */ + public function getEmailSubject() + { + if (array_key_exists("emailSubject", $this->_propDict)) { + return $this->_propDict["emailSubject"]; + } else { + return null; + } + } + + /** + * Sets the emailSubject + * + * @param string $val The emailSubject + * + * @return TiIndicator + */ + public function setEmailSubject($val) + { + $this->_propDict["emailSubject"] = $val; + return $this; + } + + /** + * Gets the emailXMailer + * + * @return string|null The emailXMailer + */ + public function getEmailXMailer() + { + if (array_key_exists("emailXMailer", $this->_propDict)) { + return $this->_propDict["emailXMailer"]; + } else { + return null; + } + } + + /** + * Sets the emailXMailer + * + * @param string $val The emailXMailer + * + * @return TiIndicator + */ + public function setEmailXMailer($val) + { + $this->_propDict["emailXMailer"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * DateTime string indicating when the Indicator expires. All indicators must have an expiration date to avoid stale indicators persisting in the system. 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 expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * DateTime string indicating when the Indicator expires. All indicators must have an expiration date to avoid stale indicators persisting in the system. 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 expirationDateTime + * + * @return TiIndicator + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the externalId + * An identification number that ties the indicator back to the indicator provider’s system (e.g. a foreign key). + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * An identification number that ties the indicator back to the indicator provider’s system (e.g. a foreign key). + * + * @param string $val The externalId + * + * @return TiIndicator + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the fileCompileDateTime + * + * @return \DateTime|null The fileCompileDateTime + */ + public function getFileCompileDateTime() + { + if (array_key_exists("fileCompileDateTime", $this->_propDict)) { + if (is_a($this->_propDict["fileCompileDateTime"], "\DateTime") || is_null($this->_propDict["fileCompileDateTime"])) { + return $this->_propDict["fileCompileDateTime"]; + } else { + $this->_propDict["fileCompileDateTime"] = new \DateTime($this->_propDict["fileCompileDateTime"]); + return $this->_propDict["fileCompileDateTime"]; + } + } + return null; + } + + /** + * Sets the fileCompileDateTime + * + * @param \DateTime $val The fileCompileDateTime + * + * @return TiIndicator + */ + public function setFileCompileDateTime($val) + { + $this->_propDict["fileCompileDateTime"] = $val; + return $this; + } + + /** + * Gets the fileCreatedDateTime + * + * @return \DateTime|null The fileCreatedDateTime + */ + public function getFileCreatedDateTime() + { + if (array_key_exists("fileCreatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["fileCreatedDateTime"], "\DateTime") || is_null($this->_propDict["fileCreatedDateTime"])) { + return $this->_propDict["fileCreatedDateTime"]; + } else { + $this->_propDict["fileCreatedDateTime"] = new \DateTime($this->_propDict["fileCreatedDateTime"]); + return $this->_propDict["fileCreatedDateTime"]; + } + } + return null; + } + + /** + * Sets the fileCreatedDateTime + * + * @param \DateTime $val The fileCreatedDateTime + * + * @return TiIndicator + */ + public function setFileCreatedDateTime($val) + { + $this->_propDict["fileCreatedDateTime"] = $val; + return $this; + } + + /** + * Gets the fileHashType + * + * @return FileHashType|null The fileHashType + */ + public function getFileHashType() + { + if (array_key_exists("fileHashType", $this->_propDict)) { + if (is_a($this->_propDict["fileHashType"], "\Beta\Microsoft\Graph\Model\FileHashType") || is_null($this->_propDict["fileHashType"])) { + return $this->_propDict["fileHashType"]; + } else { + $this->_propDict["fileHashType"] = new FileHashType($this->_propDict["fileHashType"]); + return $this->_propDict["fileHashType"]; + } + } + return null; + } + + /** + * Sets the fileHashType + * + * @param FileHashType $val The fileHashType + * + * @return TiIndicator + */ + public function setFileHashType($val) + { + $this->_propDict["fileHashType"] = $val; + return $this; + } + + /** + * Gets the fileHashValue + * + * @return string|null The fileHashValue + */ + public function getFileHashValue() + { + if (array_key_exists("fileHashValue", $this->_propDict)) { + return $this->_propDict["fileHashValue"]; + } else { + return null; + } + } + + /** + * Sets the fileHashValue + * + * @param string $val The fileHashValue + * + * @return TiIndicator + */ + public function setFileHashValue($val) + { + $this->_propDict["fileHashValue"] = $val; + return $this; + } + + /** + * Gets the fileMutexName + * + * @return string|null The fileMutexName + */ + public function getFileMutexName() + { + if (array_key_exists("fileMutexName", $this->_propDict)) { + return $this->_propDict["fileMutexName"]; + } else { + return null; + } + } + + /** + * Sets the fileMutexName + * + * @param string $val The fileMutexName + * + * @return TiIndicator + */ + public function setFileMutexName($val) + { + $this->_propDict["fileMutexName"] = $val; + return $this; + } + + /** + * Gets the fileName + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * + * @param string $val The fileName + * + * @return TiIndicator + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the filePacker + * + * @return string|null The filePacker + */ + public function getFilePacker() + { + if (array_key_exists("filePacker", $this->_propDict)) { + return $this->_propDict["filePacker"]; + } else { + return null; + } + } + + /** + * Sets the filePacker + * + * @param string $val The filePacker + * + * @return TiIndicator + */ + public function setFilePacker($val) + { + $this->_propDict["filePacker"] = $val; + return $this; + } + + /** + * Gets the filePath + * + * @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 + * + * @param string $val The filePath + * + * @return TiIndicator + */ + public function setFilePath($val) + { + $this->_propDict["filePath"] = $val; + return $this; + } + + /** + * Gets the fileSize + * + * @return int|null The fileSize + */ + public function getFileSize() + { + if (array_key_exists("fileSize", $this->_propDict)) { + return $this->_propDict["fileSize"]; + } else { + return null; + } + } + + /** + * Sets the fileSize + * + * @param int $val The fileSize + * + * @return TiIndicator + */ + public function setFileSize($val) + { + $this->_propDict["fileSize"] = intval($val); + return $this; + } + + /** + * Gets the fileType + * + * @return string|null The fileType + */ + public function getFileType() + { + if (array_key_exists("fileType", $this->_propDict)) { + return $this->_propDict["fileType"]; + } else { + return null; + } + } + + /** + * Sets the fileType + * + * @param string $val The fileType + * + * @return TiIndicator + */ + public function setFileType($val) + { + $this->_propDict["fileType"] = $val; + return $this; + } + + /** + * Gets the ingestedDateTime + * Stamped by the system when the indicator is ingested. 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 ingestedDateTime + */ + public function getIngestedDateTime() + { + if (array_key_exists("ingestedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["ingestedDateTime"], "\DateTime") || is_null($this->_propDict["ingestedDateTime"])) { + return $this->_propDict["ingestedDateTime"]; + } else { + $this->_propDict["ingestedDateTime"] = new \DateTime($this->_propDict["ingestedDateTime"]); + return $this->_propDict["ingestedDateTime"]; + } + } + return null; + } + + /** + * Sets the ingestedDateTime + * Stamped by the system when the indicator is ingested. 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 ingestedDateTime + * + * @return TiIndicator + */ + public function setIngestedDateTime($val) + { + $this->_propDict["ingestedDateTime"] = $val; + return $this; + } + + /** + * Gets the isActive + * Used to deactivate indicators within system. By default, any indicator submitted is set as active. However, providers may submit existing indicators with this set to ‘False’ to deactivate indicators in the system. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Used to deactivate indicators within system. By default, any indicator submitted is set as active. However, providers may submit existing indicators with this set to ‘False’ to deactivate indicators in the system. + * + * @param bool $val The isActive + * + * @return TiIndicator + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the killChain + * A JSON array of strings that describes which point or points on the Kill Chain this indicator targets. See ‘killChain values’ below for exact values. + * + * @return string|null The killChain + */ + public function getKillChain() + { + if (array_key_exists("killChain", $this->_propDict)) { + return $this->_propDict["killChain"]; + } else { + return null; + } + } + + /** + * Sets the killChain + * A JSON array of strings that describes which point or points on the Kill Chain this indicator targets. See ‘killChain values’ below for exact values. + * + * @param string $val The killChain + * + * @return TiIndicator + */ + public function setKillChain($val) + { + $this->_propDict["killChain"] = $val; + return $this; + } + + /** + * Gets the knownFalsePositives + * Scenarios in which the indicator may cause false positives. This should be human-readable text. + * + * @return string|null The knownFalsePositives + */ + public function getKnownFalsePositives() + { + if (array_key_exists("knownFalsePositives", $this->_propDict)) { + return $this->_propDict["knownFalsePositives"]; + } else { + return null; + } + } + + /** + * Sets the knownFalsePositives + * Scenarios in which the indicator may cause false positives. This should be human-readable text. + * + * @param string $val The knownFalsePositives + * + * @return TiIndicator + */ + public function setKnownFalsePositives($val) + { + $this->_propDict["knownFalsePositives"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * The last time the indicator was seen. 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 lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * The last time the indicator was seen. 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 lastReportedDateTime + * + * @return TiIndicator + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the malwareFamilyNames + * The malware family name associated with an indicator if it exists. Microsoft prefers the Microsoft malware family name if at all possible which can be found via the Windows Defender Security Intelligence threat encyclopedia. + * + * @return string|null The malwareFamilyNames + */ + public function getMalwareFamilyNames() + { + if (array_key_exists("malwareFamilyNames", $this->_propDict)) { + return $this->_propDict["malwareFamilyNames"]; + } else { + return null; + } + } + + /** + * Sets the malwareFamilyNames + * The malware family name associated with an indicator if it exists. Microsoft prefers the Microsoft malware family name if at all possible which can be found via the Windows Defender Security Intelligence threat encyclopedia. + * + * @param string $val The malwareFamilyNames + * + * @return TiIndicator + */ + public function setMalwareFamilyNames($val) + { + $this->_propDict["malwareFamilyNames"] = $val; + return $this; + } + + /** + * Gets the networkCidrBlock + * + * @return string|null The networkCidrBlock + */ + public function getNetworkCidrBlock() + { + if (array_key_exists("networkCidrBlock", $this->_propDict)) { + return $this->_propDict["networkCidrBlock"]; + } else { + return null; + } + } + + /** + * Sets the networkCidrBlock + * + * @param string $val The networkCidrBlock + * + * @return TiIndicator + */ + public function setNetworkCidrBlock($val) + { + $this->_propDict["networkCidrBlock"] = $val; + return $this; + } + + /** + * Gets the networkDestinationAsn + * + * @return int|null The networkDestinationAsn + */ + public function getNetworkDestinationAsn() + { + if (array_key_exists("networkDestinationAsn", $this->_propDict)) { + return $this->_propDict["networkDestinationAsn"]; + } else { + return null; + } + } + + /** + * Sets the networkDestinationAsn + * + * @param int $val The networkDestinationAsn + * + * @return TiIndicator + */ + public function setNetworkDestinationAsn($val) + { + $this->_propDict["networkDestinationAsn"] = intval($val); + return $this; + } + + /** + * Gets the networkDestinationCidrBlock + * + * @return string|null The networkDestinationCidrBlock + */ + public function getNetworkDestinationCidrBlock() + { + if (array_key_exists("networkDestinationCidrBlock", $this->_propDict)) { + return $this->_propDict["networkDestinationCidrBlock"]; + } else { + return null; + } + } + + /** + * Sets the networkDestinationCidrBlock + * + * @param string $val The networkDestinationCidrBlock + * + * @return TiIndicator + */ + public function setNetworkDestinationCidrBlock($val) + { + $this->_propDict["networkDestinationCidrBlock"] = $val; + return $this; + } + + /** + * Gets the networkDestinationIPv4 + * + * @return string|null The networkDestinationIPv4 + */ + public function getNetworkDestinationIPv4() + { + if (array_key_exists("networkDestinationIPv4", $this->_propDict)) { + return $this->_propDict["networkDestinationIPv4"]; + } else { + return null; + } + } + + /** + * Sets the networkDestinationIPv4 + * + * @param string $val The networkDestinationIPv4 + * + * @return TiIndicator + */ + public function setNetworkDestinationIPv4($val) + { + $this->_propDict["networkDestinationIPv4"] = $val; + return $this; + } + + /** + * Gets the networkDestinationIPv6 + * + * @return string|null The networkDestinationIPv6 + */ + public function getNetworkDestinationIPv6() + { + if (array_key_exists("networkDestinationIPv6", $this->_propDict)) { + return $this->_propDict["networkDestinationIPv6"]; + } else { + return null; + } + } + + /** + * Sets the networkDestinationIPv6 + * + * @param string $val The networkDestinationIPv6 + * + * @return TiIndicator + */ + public function setNetworkDestinationIPv6($val) + { + $this->_propDict["networkDestinationIPv6"] = $val; + return $this; + } + + /** + * Gets the networkDestinationPort + * + * @return int|null The networkDestinationPort + */ + public function getNetworkDestinationPort() + { + if (array_key_exists("networkDestinationPort", $this->_propDict)) { + return $this->_propDict["networkDestinationPort"]; + } else { + return null; + } + } + + /** + * Sets the networkDestinationPort + * + * @param int $val The networkDestinationPort + * + * @return TiIndicator + */ + public function setNetworkDestinationPort($val) + { + $this->_propDict["networkDestinationPort"] = intval($val); + return $this; + } + + /** + * Gets the networkIPv4 + * + * @return string|null The networkIPv4 + */ + public function getNetworkIPv4() + { + if (array_key_exists("networkIPv4", $this->_propDict)) { + return $this->_propDict["networkIPv4"]; + } else { + return null; + } + } + + /** + * Sets the networkIPv4 + * + * @param string $val The networkIPv4 + * + * @return TiIndicator + */ + public function setNetworkIPv4($val) + { + $this->_propDict["networkIPv4"] = $val; + return $this; + } + + /** + * Gets the networkIPv6 + * + * @return string|null The networkIPv6 + */ + public function getNetworkIPv6() + { + if (array_key_exists("networkIPv6", $this->_propDict)) { + return $this->_propDict["networkIPv6"]; + } else { + return null; + } + } + + /** + * Sets the networkIPv6 + * + * @param string $val The networkIPv6 + * + * @return TiIndicator + */ + public function setNetworkIPv6($val) + { + $this->_propDict["networkIPv6"] = $val; + return $this; + } + + /** + * Gets the networkPort + * + * @return int|null The networkPort + */ + public function getNetworkPort() + { + if (array_key_exists("networkPort", $this->_propDict)) { + return $this->_propDict["networkPort"]; + } else { + return null; + } + } + + /** + * Sets the networkPort + * + * @param int $val The networkPort + * + * @return TiIndicator + */ + public function setNetworkPort($val) + { + $this->_propDict["networkPort"] = intval($val); + return $this; + } + + /** + * Gets the networkProtocol + * + * @return int|null The networkProtocol + */ + public function getNetworkProtocol() + { + if (array_key_exists("networkProtocol", $this->_propDict)) { + return $this->_propDict["networkProtocol"]; + } else { + return null; + } + } + + /** + * Sets the networkProtocol + * + * @param int $val The networkProtocol + * + * @return TiIndicator + */ + public function setNetworkProtocol($val) + { + $this->_propDict["networkProtocol"] = intval($val); + return $this; + } + + /** + * Gets the networkSourceAsn + * + * @return int|null The networkSourceAsn + */ + public function getNetworkSourceAsn() + { + if (array_key_exists("networkSourceAsn", $this->_propDict)) { + return $this->_propDict["networkSourceAsn"]; + } else { + return null; + } + } + + /** + * Sets the networkSourceAsn + * + * @param int $val The networkSourceAsn + * + * @return TiIndicator + */ + public function setNetworkSourceAsn($val) + { + $this->_propDict["networkSourceAsn"] = intval($val); + return $this; + } + + /** + * Gets the networkSourceCidrBlock + * + * @return string|null The networkSourceCidrBlock + */ + public function getNetworkSourceCidrBlock() + { + if (array_key_exists("networkSourceCidrBlock", $this->_propDict)) { + return $this->_propDict["networkSourceCidrBlock"]; + } else { + return null; + } + } + + /** + * Sets the networkSourceCidrBlock + * + * @param string $val The networkSourceCidrBlock + * + * @return TiIndicator + */ + public function setNetworkSourceCidrBlock($val) + { + $this->_propDict["networkSourceCidrBlock"] = $val; + return $this; + } + + /** + * Gets the networkSourceIPv4 + * + * @return string|null The networkSourceIPv4 + */ + public function getNetworkSourceIPv4() + { + if (array_key_exists("networkSourceIPv4", $this->_propDict)) { + return $this->_propDict["networkSourceIPv4"]; + } else { + return null; + } + } + + /** + * Sets the networkSourceIPv4 + * + * @param string $val The networkSourceIPv4 + * + * @return TiIndicator + */ + public function setNetworkSourceIPv4($val) + { + $this->_propDict["networkSourceIPv4"] = $val; + return $this; + } + + /** + * Gets the networkSourceIPv6 + * + * @return string|null The networkSourceIPv6 + */ + public function getNetworkSourceIPv6() + { + if (array_key_exists("networkSourceIPv6", $this->_propDict)) { + return $this->_propDict["networkSourceIPv6"]; + } else { + return null; + } + } + + /** + * Sets the networkSourceIPv6 + * + * @param string $val The networkSourceIPv6 + * + * @return TiIndicator + */ + public function setNetworkSourceIPv6($val) + { + $this->_propDict["networkSourceIPv6"] = $val; + return $this; + } + + /** + * Gets the networkSourcePort + * + * @return int|null The networkSourcePort + */ + public function getNetworkSourcePort() + { + if (array_key_exists("networkSourcePort", $this->_propDict)) { + return $this->_propDict["networkSourcePort"]; + } else { + return null; + } + } + + /** + * Sets the networkSourcePort + * + * @param int $val The networkSourcePort + * + * @return TiIndicator + */ + public function setNetworkSourcePort($val) + { + $this->_propDict["networkSourcePort"] = intval($val); + return $this; + } + + /** + * Gets the passiveOnly + * Determines if the indicator should trigger an event that is visible to an end-user. When set to ‘true,’ security tools will not notify the end user that a ‘hit’ has occurred. This is most often treated as audit or silent mode by security products where they will simply log that a match occurred but will not perform the action. Default value is false. + * + * @return bool|null The passiveOnly + */ + public function getPassiveOnly() + { + if (array_key_exists("passiveOnly", $this->_propDict)) { + return $this->_propDict["passiveOnly"]; + } else { + return null; + } + } + + /** + * Sets the passiveOnly + * Determines if the indicator should trigger an event that is visible to an end-user. When set to ‘true,’ security tools will not notify the end user that a ‘hit’ has occurred. This is most often treated as audit or silent mode by security products where they will simply log that a match occurred but will not perform the action. Default value is false. + * + * @param bool $val The passiveOnly + * + * @return TiIndicator + */ + public function setPassiveOnly($val) + { + $this->_propDict["passiveOnly"] = boolval($val); + return $this; + } + + /** + * Gets the severity + * An integer representing the severity of the malicious behavior identified by the data within the indicator. Acceptable values are 0 – 5 where 5 is the most severe and zero is not severe at all. Default value is 3. + * + * @return int|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + return $this->_propDict["severity"]; + } else { + return null; + } + } + + /** + * Sets the severity + * An integer representing the severity of the malicious behavior identified by the data within the indicator. Acceptable values are 0 – 5 where 5 is the most severe and zero is not severe at all. Default value is 3. + * + * @param int $val The severity + * + * @return TiIndicator + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = intval($val); + return $this; + } + + /** + * Gets the tags + * A JSON array of strings that stores arbitrary tags/keywords. + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * A JSON array of strings that stores arbitrary tags/keywords. + * + * @param string $val The tags + * + * @return TiIndicator + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the targetProduct + * A string value representing a single security product to which the indicator should be applied. Acceptable values are: Azure Sentinel, Microsoft Defender ATP. Required + * + * @return string|null The targetProduct + */ + public function getTargetProduct() + { + if (array_key_exists("targetProduct", $this->_propDict)) { + return $this->_propDict["targetProduct"]; + } else { + return null; + } + } + + /** + * Sets the targetProduct + * A string value representing a single security product to which the indicator should be applied. Acceptable values are: Azure Sentinel, Microsoft Defender ATP. Required + * + * @param string $val The targetProduct + * + * @return TiIndicator + */ + public function setTargetProduct($val) + { + $this->_propDict["targetProduct"] = $val; + return $this; + } + + /** + * Gets the threatType + * Each indicator must have a valid Indicator Threat Type. Possible values are: Botnet, C2, CryptoMining, Darknet, DDoS, MaliciousUrl, Malware, Phishing, Proxy, PUA, WatchList. Required. + * + * @return string|null The threatType + */ + public function getThreatType() + { + if (array_key_exists("threatType", $this->_propDict)) { + return $this->_propDict["threatType"]; + } else { + return null; + } + } + + /** + * Sets the threatType + * Each indicator must have a valid Indicator Threat Type. Possible values are: Botnet, C2, CryptoMining, Darknet, DDoS, MaliciousUrl, Malware, Phishing, Proxy, PUA, WatchList. Required. + * + * @param string $val The threatType + * + * @return TiIndicator + */ + public function setThreatType($val) + { + $this->_propDict["threatType"] = $val; + return $this; + } + + /** + * Gets the tlpLevel + * Traffic Light Protocol value for the indicator. Possible values are: unknown, white, green, amber, red. Required. + * + * @return TlpLevel|null The tlpLevel + */ + public function getTlpLevel() + { + if (array_key_exists("tlpLevel", $this->_propDict)) { + if (is_a($this->_propDict["tlpLevel"], "\Beta\Microsoft\Graph\Model\TlpLevel") || is_null($this->_propDict["tlpLevel"])) { + return $this->_propDict["tlpLevel"]; + } else { + $this->_propDict["tlpLevel"] = new TlpLevel($this->_propDict["tlpLevel"]); + return $this->_propDict["tlpLevel"]; + } + } + return null; + } + + /** + * Sets the tlpLevel + * Traffic Light Protocol value for the indicator. Possible values are: unknown, white, green, amber, red. Required. + * + * @param TlpLevel $val The tlpLevel + * + * @return TiIndicator + */ + public function setTlpLevel($val) + { + $this->_propDict["tlpLevel"] = $val; + return $this; + } + + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The url + * + * @return TiIndicator + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + + /** + * Gets the userAgent + * + * @return string|null The userAgent + */ + public function getUserAgent() + { + if (array_key_exists("userAgent", $this->_propDict)) { + return $this->_propDict["userAgent"]; + } else { + return null; + } + } + + /** + * Sets the userAgent + * + * @param string $val The userAgent + * + * @return TiIndicator + */ + public function setUserAgent($val) + { + $this->_propDict["userAgent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TicketInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TicketInfo.php new file mode 100644 index 0000000..939111f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TicketInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["ticketNumber"]; + } else { + return null; + } + } + + /** + * Sets the ticketNumber + * Ticket number meta data + * + * @param string $val The value of the ticketNumber + * + * @return TicketInfo + */ + public function setTicketNumber($val) + { + $this->_propDict["ticketNumber"] = $val; + return $this; + } + /** + * Gets the ticketSystem + * Ticket system meta data + * + * @return string|null The ticketSystem + */ + public function getTicketSystem() + { + if (array_key_exists("ticketSystem", $this->_propDict)) { + return $this->_propDict["ticketSystem"]; + } else { + return null; + } + } + + /** + * Sets the ticketSystem + * Ticket system meta data + * + * @param string $val The value of the ticketSystem + * + * @return TicketInfo + */ + public function setTicketSystem($val) + { + $this->_propDict["ticketSystem"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCard.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCard.php new file mode 100644 index 0000000..4150dc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCard.php @@ -0,0 +1,284 @@ +_propDict)) { + return $this->_propDict["breaks"]; + } else { + return null; + } + } + + /** + * Sets the breaks + * The list of breaks associated with the timeCard. + * + * @param TimeCardBreak[] $val The breaks + * + * @return TimeCard + */ + public function setBreaks($val) + { + $this->_propDict["breaks"] = $val; + return $this; + } + + /** + * Gets the clockInEvent + * The clock-in event of the timeCard. + * + * @return TimeCardEvent|null The clockInEvent + */ + public function getClockInEvent() + { + if (array_key_exists("clockInEvent", $this->_propDict)) { + if (is_a($this->_propDict["clockInEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["clockInEvent"])) { + return $this->_propDict["clockInEvent"]; + } else { + $this->_propDict["clockInEvent"] = new TimeCardEvent($this->_propDict["clockInEvent"]); + return $this->_propDict["clockInEvent"]; + } + } + return null; + } + + /** + * Sets the clockInEvent + * The clock-in event of the timeCard. + * + * @param TimeCardEvent $val The clockInEvent + * + * @return TimeCard + */ + public function setClockInEvent($val) + { + $this->_propDict["clockInEvent"] = $val; + return $this; + } + + /** + * Gets the clockOutEvent + * The clock-out event of the timeCard. + * + * @return TimeCardEvent|null The clockOutEvent + */ + public function getClockOutEvent() + { + if (array_key_exists("clockOutEvent", $this->_propDict)) { + if (is_a($this->_propDict["clockOutEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["clockOutEvent"])) { + return $this->_propDict["clockOutEvent"]; + } else { + $this->_propDict["clockOutEvent"] = new TimeCardEvent($this->_propDict["clockOutEvent"]); + return $this->_propDict["clockOutEvent"]; + } + } + return null; + } + + /** + * Sets the clockOutEvent + * The clock-out event of the timeCard. + * + * @param TimeCardEvent $val The clockOutEvent + * + * @return TimeCard + */ + public function setClockOutEvent($val) + { + $this->_propDict["clockOutEvent"] = $val; + return $this; + } + + /** + * Gets the confirmedBy + * Indicate if this timeCard entry is confirmed. Possible values are none, user, manager, unknownFutureValue. + * + * @return ConfirmedBy|null The confirmedBy + */ + public function getConfirmedBy() + { + if (array_key_exists("confirmedBy", $this->_propDict)) { + if (is_a($this->_propDict["confirmedBy"], "\Beta\Microsoft\Graph\Model\ConfirmedBy") || is_null($this->_propDict["confirmedBy"])) { + return $this->_propDict["confirmedBy"]; + } else { + $this->_propDict["confirmedBy"] = new ConfirmedBy($this->_propDict["confirmedBy"]); + return $this->_propDict["confirmedBy"]; + } + } + return null; + } + + /** + * Sets the confirmedBy + * Indicate if this timeCard entry is confirmed. Possible values are none, user, manager, unknownFutureValue. + * + * @param ConfirmedBy $val The confirmedBy + * + * @return TimeCard + */ + public function setConfirmedBy($val) + { + $this->_propDict["confirmedBy"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes about the timeCard. + * + * @return ItemBody|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["notes"])) { + return $this->_propDict["notes"]; + } else { + $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); + return $this->_propDict["notes"]; + } + } + return null; + } + + /** + * Sets the notes + * Notes about the timeCard. + * + * @param ItemBody $val The notes + * + * @return TimeCard + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the originalEntry + * The original timeCardEntry of the timeCard, before user edits. + * + * @return TimeCardEntry|null The originalEntry + */ + public function getOriginalEntry() + { + if (array_key_exists("originalEntry", $this->_propDict)) { + if (is_a($this->_propDict["originalEntry"], "\Beta\Microsoft\Graph\Model\TimeCardEntry") || is_null($this->_propDict["originalEntry"])) { + return $this->_propDict["originalEntry"]; + } else { + $this->_propDict["originalEntry"] = new TimeCardEntry($this->_propDict["originalEntry"]); + return $this->_propDict["originalEntry"]; + } + } + return null; + } + + /** + * Sets the originalEntry + * The original timeCardEntry of the timeCard, before user edits. + * + * @param TimeCardEntry $val The originalEntry + * + * @return TimeCard + */ + public function setOriginalEntry($val) + { + $this->_propDict["originalEntry"] = $val; + return $this; + } + + /** + * Gets the state + * The current state of the timeCard during its life cycle.Possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue. + * + * @return TimeCardState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\TimeCardState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new TimeCardState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The current state of the timeCard during its life cycle.Possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue. + * + * @param TimeCardState $val The state + * + * @return TimeCard + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userId + * User ID to which the timeCard belongs. + * + * @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 + * User ID to which the timeCard belongs. + * + * @param string $val The userId + * + * @return TimeCard + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardBreak.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardBreak.php new file mode 100644 index 0000000..290f7b7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardBreak.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["breakId"]; + } else { + return null; + } + } + + /** + * Sets the breakId + * ID of the timeCardBreak. + * + * @param string $val The value of the breakId + * + * @return TimeCardBreak + */ + public function setBreakId($val) + { + $this->_propDict["breakId"] = $val; + return $this; + } + + /** + * Gets the end + * The start event of the timeCardBreak. + * + * @return TimeCardEvent|null The end + */ + public function getEnd() + { + if (array_key_exists("end", $this->_propDict)) { + if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new TimeCardEvent($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The start event of the timeCardBreak. + * + * @param TimeCardEvent $val The value to assign to the end + * + * @return TimeCardBreak The TimeCardBreak + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes about the timeCardBreak. + * + * @return ItemBody|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["notes"])) { + return $this->_propDict["notes"]; + } else { + $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); + return $this->_propDict["notes"]; + } + } + return null; + } + + /** + * Sets the notes + * Notes about the timeCardBreak. + * + * @param ItemBody $val The value to assign to the notes + * + * @return TimeCardBreak The TimeCardBreak + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the start + * The start event of the timeCardBreak. + * + * @return TimeCardEvent|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new TimeCardEvent($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The start event of the timeCardBreak. + * + * @param TimeCardEvent $val The value to assign to the start + * + * @return TimeCardBreak The TimeCardBreak + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEntry.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEntry.php new file mode 100644 index 0000000..bf7e69f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEntry.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["breaks"], "\Beta\Microsoft\Graph\Model\TimeCardBreak") || is_null($this->_propDict["breaks"])) { + return $this->_propDict["breaks"]; + } else { + $this->_propDict["breaks"] = new TimeCardBreak($this->_propDict["breaks"]); + return $this->_propDict["breaks"]; + } + } + return null; + } + + /** + * Sets the breaks + * The list of breaks associated with the timeCard. + * + * @param TimeCardBreak $val The value to assign to the breaks + * + * @return TimeCardEntry The TimeCardEntry + */ + public function setBreaks($val) + { + $this->_propDict["breaks"] = $val; + return $this; + } + + /** + * Gets the clockInEvent + * The clock-in event of the timeCard. + * + * @return TimeCardEvent|null The clockInEvent + */ + public function getClockInEvent() + { + if (array_key_exists("clockInEvent", $this->_propDict)) { + if (is_a($this->_propDict["clockInEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["clockInEvent"])) { + return $this->_propDict["clockInEvent"]; + } else { + $this->_propDict["clockInEvent"] = new TimeCardEvent($this->_propDict["clockInEvent"]); + return $this->_propDict["clockInEvent"]; + } + } + return null; + } + + /** + * Sets the clockInEvent + * The clock-in event of the timeCard. + * + * @param TimeCardEvent $val The value to assign to the clockInEvent + * + * @return TimeCardEntry The TimeCardEntry + */ + public function setClockInEvent($val) + { + $this->_propDict["clockInEvent"] = $val; + return $this; + } + + /** + * Gets the clockOutEvent + * The clock-out event of the timeCard. + * + * @return TimeCardEvent|null The clockOutEvent + */ + public function getClockOutEvent() + { + if (array_key_exists("clockOutEvent", $this->_propDict)) { + if (is_a($this->_propDict["clockOutEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent") || is_null($this->_propDict["clockOutEvent"])) { + return $this->_propDict["clockOutEvent"]; + } else { + $this->_propDict["clockOutEvent"] = new TimeCardEvent($this->_propDict["clockOutEvent"]); + return $this->_propDict["clockOutEvent"]; + } + } + return null; + } + + /** + * Sets the clockOutEvent + * The clock-out event of the timeCard. + * + * @param TimeCardEvent $val The value to assign to the clockOutEvent + * + * @return TimeCardEntry The TimeCardEntry + */ + public function setClockOutEvent($val) + { + $this->_propDict["clockOutEvent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEvent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEvent.php new file mode 100644 index 0000000..a7b149f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEvent.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["atApprovedLocation"]; + } else { + return null; + } + } + + /** + * Sets the atApprovedLocation + * Indicates whether the entry was recorded at the approved location. + * + * @param bool $val The value of the atApprovedLocation + * + * @return TimeCardEvent + */ + public function setAtApprovedLocation($val) + { + $this->_propDict["atApprovedLocation"] = $val; + return $this; + } + + /** + * Gets the dateTime + * The time the entry is recorded. + * + * @return \DateTime|null The dateTime + */ + public function getDateTime() + { + if (array_key_exists("dateTime", $this->_propDict)) { + if (is_a($this->_propDict["dateTime"], "\DateTime") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new \DateTime($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * The time the entry is recorded. + * + * @param \DateTime $val The value to assign to the dateTime + * + * @return TimeCardEvent The TimeCardEvent + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes about the timeCardEvent. + * + * @return ItemBody|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["notes"])) { + return $this->_propDict["notes"]; + } else { + $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); + return $this->_propDict["notes"]; + } + } + return null; + } + + /** + * Sets the notes + * Notes about the timeCardEvent. + * + * @param ItemBody $val The value to assign to the notes + * + * @return TimeCardEvent The TimeCardEvent + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardState.php new file mode 100644 index 0000000..98f6414 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardState.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["approvedLocation"], "\Beta\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["approvedLocation"])) { + return $this->_propDict["approvedLocation"]; + } else { + $this->_propDict["approvedLocation"] = new GeoCoordinates($this->_propDict["approvedLocation"]); + return $this->_propDict["approvedLocation"]; + } + } + return null; + } + + /** + * Sets the approvedLocation + * The aprroved location of the timeClock. + * + * @param GeoCoordinates $val The value to assign to the approvedLocation + * + * @return TimeClockSettings The TimeClockSettings + */ + public function setApprovedLocation($val) + { + $this->_propDict["approvedLocation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeConstraint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeConstraint.php new file mode 100644 index 0000000..040bce9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeConstraint.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["activityDomain"], "\Beta\Microsoft\Graph\Model\ActivityDomain") || is_null($this->_propDict["activityDomain"])) { + return $this->_propDict["activityDomain"]; + } else { + $this->_propDict["activityDomain"] = new ActivityDomain($this->_propDict["activityDomain"]); + return $this->_propDict["activityDomain"]; + } + } + return null; + } + + /** + * Sets the activityDomain + * The nature of the activity, optional. Possible values are: work, personal, unrestricted, or unknown. + * + * @param ActivityDomain $val The value to assign to the activityDomain + * + * @return TimeConstraint The TimeConstraint + */ + public function setActivityDomain($val) + { + $this->_propDict["activityDomain"] = $val; + return $this; + } + + /** + * Gets the timeSlots + * + * @return TimeSlot|null The timeSlots + */ + public function getTimeSlots() + { + if (array_key_exists("timeSlots", $this->_propDict)) { + if (is_a($this->_propDict["timeSlots"], "\Beta\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["timeSlots"])) { + return $this->_propDict["timeSlots"]; + } else { + $this->_propDict["timeSlots"] = new TimeSlot($this->_propDict["timeSlots"]); + return $this->_propDict["timeSlots"]; + } + } + return null; + } + + /** + * Sets the timeSlots + * + * @param TimeSlot $val The value to assign to the timeSlots + * + * @return TimeConstraint The TimeConstraint + */ + public function setTimeSlots($val) + { + $this->_propDict["timeSlots"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOff.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOff.php new file mode 100644 index 0000000..1ae8c48 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOff.php @@ -0,0 +1,149 @@ +_propDict)) { + if (is_a($this->_propDict["draftTimeOff"], "\Beta\Microsoft\Graph\Model\TimeOffItem") || is_null($this->_propDict["draftTimeOff"])) { + return $this->_propDict["draftTimeOff"]; + } else { + $this->_propDict["draftTimeOff"] = new TimeOffItem($this->_propDict["draftTimeOff"]); + return $this->_propDict["draftTimeOff"]; + } + } + return null; + } + + /** + * Sets the draftTimeOff + * The draft version of this timeOff that is viewable by managers. Required. + * + * @param TimeOffItem $val The draftTimeOff + * + * @return TimeOff + */ + public function setDraftTimeOff($val) + { + $this->_propDict["draftTimeOff"] = $val; + return $this; + } + + /** + * Gets the isStagedForDeletion + * + * @return bool|null The isStagedForDeletion + */ + public function getIsStagedForDeletion() + { + if (array_key_exists("isStagedForDeletion", $this->_propDict)) { + return $this->_propDict["isStagedForDeletion"]; + } else { + return null; + } + } + + /** + * Sets the isStagedForDeletion + * + * @param bool $val The isStagedForDeletion + * + * @return TimeOff + */ + public function setIsStagedForDeletion($val) + { + $this->_propDict["isStagedForDeletion"] = boolval($val); + return $this; + } + + /** + * Gets the sharedTimeOff + * The shared version of this timeOff that is viewable by both employees and managers. Required. + * + * @return TimeOffItem|null The sharedTimeOff + */ + public function getSharedTimeOff() + { + if (array_key_exists("sharedTimeOff", $this->_propDict)) { + if (is_a($this->_propDict["sharedTimeOff"], "\Beta\Microsoft\Graph\Model\TimeOffItem") || is_null($this->_propDict["sharedTimeOff"])) { + return $this->_propDict["sharedTimeOff"]; + } else { + $this->_propDict["sharedTimeOff"] = new TimeOffItem($this->_propDict["sharedTimeOff"]); + return $this->_propDict["sharedTimeOff"]; + } + } + return null; + } + + /** + * Sets the sharedTimeOff + * The shared version of this timeOff that is viewable by both employees and managers. Required. + * + * @param TimeOffItem $val The sharedTimeOff + * + * @return TimeOff + */ + public function setSharedTimeOff($val) + { + $this->_propDict["sharedTimeOff"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user assigned to the timeOff. Required. + * + * @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 + * ID of the user assigned to the timeOff. Required. + * + * @param string $val The userId + * + * @return TimeOff + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffItem.php new file mode 100644 index 0000000..a531b62 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["timeOffReasonId"]; + } else { + return null; + } + } + + /** + * Sets the timeOffReasonId + * ID of the timeOffReason for this timeOffItem. Required. + * + * @param string $val The value of the timeOffReasonId + * + * @return TimeOffItem + */ + public function setTimeOffReasonId($val) + { + $this->_propDict["timeOffReasonId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReason.php new file mode 100644 index 0000000..2a67c9b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReason.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the timeOffReason. Required. + * + * @param string $val The displayName + * + * @return TimeOffReason + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the iconType + * Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Required. + * + * @return TimeOffReasonIconType|null The iconType + */ + public function getIconType() + { + if (array_key_exists("iconType", $this->_propDict)) { + if (is_a($this->_propDict["iconType"], "\Beta\Microsoft\Graph\Model\TimeOffReasonIconType") || is_null($this->_propDict["iconType"])) { + return $this->_propDict["iconType"]; + } else { + $this->_propDict["iconType"] = new TimeOffReasonIconType($this->_propDict["iconType"]); + return $this->_propDict["iconType"]; + } + } + return null; + } + + /** + * Sets the iconType + * Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Required. + * + * @param TimeOffReasonIconType $val The iconType + * + * @return TimeOffReason + */ + public function setIconType($val) + { + $this->_propDict["iconType"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required. + * + * @param bool $val The isActive + * + * @return TimeOffReason + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReasonIconType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReasonIconType.php new file mode 100644 index 0000000..a9f537c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReasonIconType.php @@ -0,0 +1,54 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * 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 endDateTime + * + * @return TimeOffRequest + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The startDateTime + * + * @return TimeOffRequest + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the timeOffReasonId + * The reason for the time off. + * + * @return string|null The timeOffReasonId + */ + public function getTimeOffReasonId() + { + if (array_key_exists("timeOffReasonId", $this->_propDict)) { + return $this->_propDict["timeOffReasonId"]; + } else { + return null; + } + } + + /** + * Sets the timeOffReasonId + * The reason for the time off. + * + * @param string $val The timeOffReasonId + * + * @return TimeOffRequest + */ + public function setTimeOffReasonId($val) + { + $this->_propDict["timeOffReasonId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeRange.php new file mode 100644 index 0000000..43ea8f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeRange.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["endTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { + return $this->_propDict["endTime"]; + } else { + $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); + return $this->_propDict["endTime"]; + } + } + return null; + } + + /** + * Sets the endTime + * End time for the time range. + * + * @param TimeOfDay $val The value to assign to the endTime + * + * @return TimeRange The TimeRange + */ + public function setEndTime($val) + { + $this->_propDict["endTime"] = $val; + return $this; + } + + /** + * Gets the startTime + * Start time for the time range. + * + * @return TimeOfDay|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * Start time for the time range. + * + * @param TimeOfDay $val The value to assign to the startTime + * + * @return TimeRange The TimeRange + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSeriesParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSeriesParameter.php new file mode 100644 index 0000000..5ee3d3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSeriesParameter.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * End time of the series being requested. Optional; if not specified, current time is used. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return TimeSeriesParameter The TimeSeriesParameter + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the metricName + * The name of the metric for which a time series is requested. + * + * @return string|null The metricName + */ + public function getMetricName() + { + if (array_key_exists("metricName", $this->_propDict)) { + return $this->_propDict["metricName"]; + } else { + return null; + } + } + + /** + * Sets the metricName + * The name of the metric for which a time series is requested. + * + * @param string $val The value of the metricName + * + * @return TimeSeriesParameter + */ + public function setMetricName($val) + { + $this->_propDict["metricName"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Start time of the series being requested. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Start time of the series being requested. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return TimeSeriesParameter The TimeSeriesParameter + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSlot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSlot.php new file mode 100644 index 0000000..b7e5b8c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSlot.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that a period ends. + * + * @param DateTimeTimeZone $val The value to assign to the end + * + * @return TimeSlot The TimeSlot + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the start + * The date, time, and time zone that a period begins. + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The date, time, and time zone that a period begins. + * + * @param DateTimeTimeZone $val The value to assign to the start + * + * @return TimeSlot The TimeSlot + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneBase.php new file mode 100644 index 0000000..f5de345 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneBase.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone. + * + * @param string $val The value of the name + * + * @return TimeZoneBase + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneInformation.php new file mode 100644 index 0000000..260a6d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneInformation.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["alias"]; + } else { + return null; + } + } + + /** + * Sets the alias + * An identifier for the time zone. + * + * @param string $val The value of the alias + * + * @return TimeZoneInformation + */ + public function setAlias($val) + { + $this->_propDict["alias"] = $val; + return $this; + } + /** + * Gets the displayName + * A display string that represents the time zone. + * + * @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 + * A display string that represents the time zone. + * + * @param string $val The value of the displayName + * + * @return TimeZoneInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneStandard.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneStandard.php new file mode 100644 index 0000000..5804f95 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneStandard.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["lists"]; + } else { + return null; + } + } + + /** + * Sets the lists + * The task lists in the users mailbox. + * + * @param TodoTaskList[] $val The lists + * + * @return Todo + */ + public function setLists($val) + { + $this->_propDict["lists"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTask.php new file mode 100644 index 0000000..593daec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTask.php @@ -0,0 +1,530 @@ +_propDict)) { + if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The task body that typically contains information about the task. + * + * @param ItemBody $val The body + * + * @return TodoTask + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the bodyLastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The bodyLastModifiedDateTime + */ + public function getBodyLastModifiedDateTime() + { + if (array_key_exists("bodyLastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["bodyLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["bodyLastModifiedDateTime"])) { + return $this->_propDict["bodyLastModifiedDateTime"]; + } else { + $this->_propDict["bodyLastModifiedDateTime"] = new \DateTime($this->_propDict["bodyLastModifiedDateTime"]); + return $this->_propDict["bodyLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the bodyLastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The bodyLastModifiedDateTime + * + * @return TodoTask + */ + public function setBodyLastModifiedDateTime($val) + { + $this->_propDict["bodyLastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the categories + * + * @return string|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * + * @param string $val The categories + * + * @return TodoTask + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The date in the specified time zone that the task was finished. + * + * @return DateTimeTimeZone|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new DateTimeTimeZone($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date in the specified time zone that the task was finished. + * + * @param DateTimeTimeZone $val The completedDateTime + * + * @return TodoTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The createdDateTime + * + * @return TodoTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @param DateTimeTimeZone $val The dueDateTime + * + * @return TodoTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance of the task. Possible values are: low, normal, high. + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance of the task. Possible values are: low, normal, high. + * + * @param Importance $val The importance + * + * @return TodoTask + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the isReminderOn + * Set to true if an alert is set to remind the user of the task. + * + * @return bool|null The isReminderOn + */ + public function getIsReminderOn() + { + if (array_key_exists("isReminderOn", $this->_propDict)) { + return $this->_propDict["isReminderOn"]; + } else { + return null; + } + } + + /** + * Sets the isReminderOn + * Set to true if an alert is set to remind the user of the task. + * + * @param bool $val The isReminderOn + * + * @return TodoTask + */ + public function setIsReminderOn($val) + { + $this->_propDict["isReminderOn"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TodoTask + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the recurrence + * The recurrence pattern for the task. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * The recurrence pattern for the task. + * + * @param PatternedRecurrence $val The recurrence + * + * @return TodoTask + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the reminderDateTime + * The date and time for a reminder alert of the task to occur. + * + * @return DateTimeTimeZone|null The reminderDateTime + */ + public function getReminderDateTime() + { + if (array_key_exists("reminderDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reminderDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderDateTime"])) { + return $this->_propDict["reminderDateTime"]; + } else { + $this->_propDict["reminderDateTime"] = new DateTimeTimeZone($this->_propDict["reminderDateTime"]); + return $this->_propDict["reminderDateTime"]; + } + } + return null; + } + + /** + * Sets the reminderDateTime + * The date and time for a reminder alert of the task to occur. + * + * @param DateTimeTimeZone $val The reminderDateTime + * + * @return TodoTask + */ + public function setReminderDateTime($val) + { + $this->_propDict["reminderDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred. + * + * @return TaskStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TaskStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new TaskStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred. + * + * @param TaskStatus $val The status + * + * @return TodoTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the title + * A brief description of the task. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * A brief description of the task. + * + * @param string $val The title + * + * @return TodoTask + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the checklistItems + * + * @return array|null The checklistItems + */ + public function getChecklistItems() + { + if (array_key_exists("checklistItems", $this->_propDict)) { + return $this->_propDict["checklistItems"]; + } else { + return null; + } + } + + /** + * Sets the checklistItems + * + * @param ChecklistItem[] $val The checklistItems + * + * @return TodoTask + */ + public function setChecklistItems($val) + { + $this->_propDict["checklistItems"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the task. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the task. Nullable. + * + * @param Extension[] $val The extensions + * + * @return TodoTask + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the linkedResources + * A collection of resources linked to the task. + * + * @return array|null The linkedResources + */ + public function getLinkedResources() + { + if (array_key_exists("linkedResources", $this->_propDict)) { + return $this->_propDict["linkedResources"]; + } else { + return null; + } + } + + /** + * Sets the linkedResources + * A collection of resources linked to the task. + * + * @param LinkedResource[] $val The linkedResources + * + * @return TodoTask + */ + public function setLinkedResources($val) + { + $this->_propDict["linkedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTaskList.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTaskList.php new file mode 100644 index 0000000..a342c4f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTaskList.php @@ -0,0 +1,207 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the task list. + * + * @param string $val The displayName + * + * @return TodoTaskList + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isOwner + * True if the user is owner of the given task list. + * + * @return bool|null The isOwner + */ + public function getIsOwner() + { + if (array_key_exists("isOwner", $this->_propDict)) { + return $this->_propDict["isOwner"]; + } else { + return null; + } + } + + /** + * Sets the isOwner + * True if the user is owner of the given task list. + * + * @param bool $val The isOwner + * + * @return TodoTaskList + */ + public function setIsOwner($val) + { + $this->_propDict["isOwner"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * True if the task list is shared with other users + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * True if the task list is shared with other users + * + * @param bool $val The isShared + * + * @return TodoTaskList + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the wellknownListName + * Property indicating the list name if the given list is a well-known list. Possible values are: none, defaultList, flaggedEmails, unknownFutureValue. + * + * @return WellknownListName|null The wellknownListName + */ + public function getWellknownListName() + { + if (array_key_exists("wellknownListName", $this->_propDict)) { + if (is_a($this->_propDict["wellknownListName"], "\Beta\Microsoft\Graph\Model\WellknownListName") || is_null($this->_propDict["wellknownListName"])) { + return $this->_propDict["wellknownListName"]; + } else { + $this->_propDict["wellknownListName"] = new WellknownListName($this->_propDict["wellknownListName"]); + return $this->_propDict["wellknownListName"]; + } + } + return null; + } + + /** + * Sets the wellknownListName + * Property indicating the list name if the given list is a well-known list. Possible values are: none, defaultList, flaggedEmails, unknownFutureValue. + * + * @param WellknownListName $val The wellknownListName + * + * @return TodoTaskList + */ + public function setWellknownListName($val) + { + $this->_propDict["wellknownListName"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the task list. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the task list. Nullable. + * + * @param Extension[] $val The extensions + * + * @return TodoTaskList + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the tasks + * The tasks in this task list. Read-only. Nullable. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * The tasks in this task list. Read-only. Nullable. + * + * @param TodoTask[] $val The tasks + * + * @return TodoTaskList + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TokenIssuancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TokenIssuancePolicy.php new file mode 100644 index 0000000..25a3862 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TokenIssuancePolicy.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.tokenMeetingInfo"); + } + + /** + * Gets the token + * The token used to join the call. + * + * @return string|null The token + */ + public function getToken() + { + if (array_key_exists("token", $this->_propDict)) { + return $this->_propDict["token"]; + } else { + return null; + } + } + + /** + * Sets the token + * The token used to join the call. + * + * @param string $val The value of the token + * + * @return TokenMeetingInfo + */ + public function setToken($val) + { + $this->_propDict["token"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tone.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tone.php new file mode 100644 index 0000000..b225e35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tone.php @@ -0,0 +1,49 @@ +_propDict)) { + return $this->_propDict["sequenceId"]; + } else { + return null; + } + } + + /** + * Sets the sequenceId + * An incremental identifier used for ordering DTMF events. + * + * @param int $val The value of the sequenceId + * + * @return ToneInfo + */ + public function setSequenceId($val) + { + $this->_propDict["sequenceId"] = $val; + return $this; + } + + /** + * Gets the tone + * Possible values are: tone0, tone1, tone2, tone3, tone4, tone5, tone6, tone7, tone8, tone9, star, pound, a, b, c, d, flash. + * + * @return Tone|null The tone + */ + public function getTone() + { + if (array_key_exists("tone", $this->_propDict)) { + if (is_a($this->_propDict["tone"], "\Beta\Microsoft\Graph\Model\Tone") || is_null($this->_propDict["tone"])) { + return $this->_propDict["tone"]; + } else { + $this->_propDict["tone"] = new Tone($this->_propDict["tone"]); + return $this->_propDict["tone"]; + } + } + return null; + } + + /** + * Sets the tone + * Possible values are: tone0, tone1, tone2, tone3, tone4, tone5, tone6, tone7, tone8, tone9, star, pound, a, b, c, d, flash. + * + * @param Tone $val The value to assign to the tone + * + * @return ToneInfo The ToneInfo + */ + public function setTone($val) + { + $this->_propDict["tone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrainingEventsContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrainingEventsContent.php new file mode 100644 index 0000000..c66c40d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrainingEventsContent.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["assignedTrainingsInfos"], "\Beta\Microsoft\Graph\Model\AssignedTrainingInfo") || is_null($this->_propDict["assignedTrainingsInfos"])) { + return $this->_propDict["assignedTrainingsInfos"]; + } else { + $this->_propDict["assignedTrainingsInfos"] = new AssignedTrainingInfo($this->_propDict["assignedTrainingsInfos"]); + return $this->_propDict["assignedTrainingsInfos"]; + } + } + return null; + } + + /** + * Sets the assignedTrainingsInfos + * List of assigned trainings and their information in an attack simulation and training campaign. + * + * @param AssignedTrainingInfo $val The value to assign to the assignedTrainingsInfos + * + * @return TrainingEventsContent The TrainingEventsContent + */ + public function setAssignedTrainingsInfos($val) + { + $this->_propDict["assignedTrainingsInfos"] = $val; + return $this; + } + /** + * Gets the trainingsAssignedUserCount + * Number of users who were assigned trainings in an attack simulation and training campaign. + * + * @return int|null The trainingsAssignedUserCount + */ + public function getTrainingsAssignedUserCount() + { + if (array_key_exists("trainingsAssignedUserCount", $this->_propDict)) { + return $this->_propDict["trainingsAssignedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the trainingsAssignedUserCount + * Number of users who were assigned trainings in an attack simulation and training campaign. + * + * @param int $val The value of the trainingsAssignedUserCount + * + * @return TrainingEventsContent + */ + public function setTrainingsAssignedUserCount($val) + { + $this->_propDict["trainingsAssignedUserCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrainingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrainingStatus.php new file mode 100644 index 0000000..38b2eb7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrainingStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language to apply the override.Returned by default. Not nullable. + * + * @param string $val The value of the languageTag + * + * @return TranslationLanguageOverride + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + + /** + * Gets the translationBehavior + * The translation override behavior for the language, if any.Returned by default. Not nullable. + * + * @return TranslationBehavior|null The translationBehavior + */ + public function getTranslationBehavior() + { + if (array_key_exists("translationBehavior", $this->_propDict)) { + if (is_a($this->_propDict["translationBehavior"], "\Beta\Microsoft\Graph\Model\TranslationBehavior") || is_null($this->_propDict["translationBehavior"])) { + return $this->_propDict["translationBehavior"]; + } else { + $this->_propDict["translationBehavior"] = new TranslationBehavior($this->_propDict["translationBehavior"]); + return $this->_propDict["translationBehavior"]; + } + } + return null; + } + + /** + * Sets the translationBehavior + * The translation override behavior for the language, if any.Returned by default. Not nullable. + * + * @param TranslationBehavior $val The value to assign to the translationBehavior + * + * @return TranslationLanguageOverride The TranslationLanguageOverride + */ + public function setTranslationBehavior($val) + { + $this->_propDict["translationBehavior"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TranslationPreferences.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TranslationPreferences.php new file mode 100644 index 0000000..36a4d06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TranslationPreferences.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["languageOverrides"], "\Beta\Microsoft\Graph\Model\TranslationLanguageOverride") || is_null($this->_propDict["languageOverrides"])) { + return $this->_propDict["languageOverrides"]; + } else { + $this->_propDict["languageOverrides"] = new TranslationLanguageOverride($this->_propDict["languageOverrides"]); + return $this->_propDict["languageOverrides"]; + } + } + return null; + } + + /** + * Sets the languageOverrides + * Translation override behavior for languages, if any.Returned by default. + * + * @param TranslationLanguageOverride $val The value to assign to the languageOverrides + * + * @return TranslationPreferences The TranslationPreferences + */ + public function setLanguageOverrides($val) + { + $this->_propDict["languageOverrides"] = $val; + return $this; + } + + /** + * Gets the translationBehavior + * The user's preferred translation behavior.Returned by default. Not nullable. + * + * @return TranslationBehavior|null The translationBehavior + */ + public function getTranslationBehavior() + { + if (array_key_exists("translationBehavior", $this->_propDict)) { + if (is_a($this->_propDict["translationBehavior"], "\Beta\Microsoft\Graph\Model\TranslationBehavior") || is_null($this->_propDict["translationBehavior"])) { + return $this->_propDict["translationBehavior"]; + } else { + $this->_propDict["translationBehavior"] = new TranslationBehavior($this->_propDict["translationBehavior"]); + return $this->_propDict["translationBehavior"]; + } + } + return null; + } + + /** + * Sets the translationBehavior + * The user's preferred translation behavior.Returned by default. Not nullable. + * + * @param TranslationBehavior $val The value to assign to the translationBehavior + * + * @return TranslationPreferences The TranslationPreferences + */ + public function setTranslationBehavior($val) + { + $this->_propDict["translationBehavior"] = $val; + return $this; + } + /** + * Gets the untranslatedLanguages + * The list of languages the user does not need translated. This is computed from the authoringLanguages collection in regionalAndLanguageSettings, and the languageOverrides collection in translationPreferences. The list specifies neutral culture values that include the language code without any country or region association. For example, it would specify 'fr' for the neutral French culture, but not 'fr-FR' for the French culture in France. Returned by default. Read only. + * + * @return string|null The untranslatedLanguages + */ + public function getUntranslatedLanguages() + { + if (array_key_exists("untranslatedLanguages", $this->_propDict)) { + return $this->_propDict["untranslatedLanguages"]; + } else { + return null; + } + } + + /** + * Sets the untranslatedLanguages + * The list of languages the user does not need translated. This is computed from the authoringLanguages collection in regionalAndLanguageSettings, and the languageOverrides collection in translationPreferences. The list specifies neutral culture values that include the language code without any country or region association. For example, it would specify 'fr' for the neutral French culture, but not 'fr-FR' for the French culture in France. Returned by default. Read only. + * + * @param string $val The value of the untranslatedLanguages + * + * @return TranslationPreferences + */ + public function setUntranslatedLanguages($val) + { + $this->_propDict["untranslatedLanguages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Trending.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Trending.php new file mode 100644 index 0000000..a480f20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Trending.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Trending + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceReference + * Reference properties of the trending document, such as the url and type of the document. + * + * @return ResourceReference|null The resourceReference + */ + public function getResourceReference() + { + if (array_key_exists("resourceReference", $this->_propDict)) { + if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) { + return $this->_propDict["resourceReference"]; + } else { + $this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]); + return $this->_propDict["resourceReference"]; + } + } + return null; + } + + /** + * Sets the resourceReference + * Reference properties of the trending document, such as the url and type of the document. + * + * @param ResourceReference $val The resourceReference + * + * @return Trending + */ + public function setResourceReference($val) + { + $this->_propDict["resourceReference"] = $val; + return $this; + } + + /** + * Gets the resourceVisualization + * Properties that you can use to visualize the document in your experience. + * + * @return ResourceVisualization|null The resourceVisualization + */ + public function getResourceVisualization() + { + if (array_key_exists("resourceVisualization", $this->_propDict)) { + if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) { + return $this->_propDict["resourceVisualization"]; + } else { + $this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]); + return $this->_propDict["resourceVisualization"]; + } + } + return null; + } + + /** + * Sets the resourceVisualization + * Properties that you can use to visualize the document in your experience. + * + * @param ResourceVisualization $val The resourceVisualization + * + * @return Trending + */ + public function setResourceVisualization($val) + { + $this->_propDict["resourceVisualization"] = $val; + return $this; + } + + /** + * Gets the weight + * Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value. + * + * @return float|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value. + * + * @param float $val The weight + * + * @return Trending + */ + public function setWeight($val) + { + $this->_propDict["weight"] = floatval($val); + return $this; + } + + /** + * Gets the resource + * Used for navigating to the trending document. + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Used for navigating to the trending document. + * + * @param Entity $val The resource + * + * @return Trending + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php new file mode 100644 index 0000000..afb3e64 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php @@ -0,0 +1,160 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the TrustFramework + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the keySets + * + * @return array|null The keySets + */ + public function getKeySets() + { + if (array_key_exists("keySets", $this->_propDict)) { + return $this->_propDict["keySets"]; + } else { + return null; + } + } + + /** + * Sets the keySets + * + * @param TrustFrameworkKeySet[] $val The keySets + * + * @return TrustFramework + */ + public function setKeySets($val) + { + $this->_propDict["keySets"] = $val; + return $this; + } + + + /** + * Gets the policies + * + * @return array|null The policies + */ + public function getPolicies() + { + if (array_key_exists("policies", $this->_propDict)) { + return $this->_propDict["policies"]; + } else { + return null; + } + } + + /** + * Sets the policies + * + * @param TrustFrameworkPolicy[] $val The policies + * + * @return TrustFramework + */ + public function setPolicies($val) + { + $this->_propDict["policies"] = $val; + 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 TrustFramework + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKey.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKey.php new file mode 100644 index 0000000..b7be0f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKey.php @@ -0,0 +1,474 @@ +_propDict)) { + return $this->_propDict["d"]; + } else { + return null; + } + } + + /** + * Sets the d + * RSA Key - private exponent. Field cannot be read back. + * + * @param string $val The value of the d + * + * @return TrustFrameworkKey + */ + public function setD($val) + { + $this->_propDict["d"] = $val; + return $this; + } + /** + * Gets the dp + * RSA Key - first exponent. Field cannot be read back. + * + * @return string|null The dp + */ + public function getDp() + { + if (array_key_exists("dp", $this->_propDict)) { + return $this->_propDict["dp"]; + } else { + return null; + } + } + + /** + * Sets the dp + * RSA Key - first exponent. Field cannot be read back. + * + * @param string $val The value of the dp + * + * @return TrustFrameworkKey + */ + public function setDp($val) + { + $this->_propDict["dp"] = $val; + return $this; + } + /** + * Gets the dq + * RSA Key - second exponent. Field cannot be read back. + * + * @return string|null The dq + */ + public function getDq() + { + if (array_key_exists("dq", $this->_propDict)) { + return $this->_propDict["dq"]; + } else { + return null; + } + } + + /** + * Sets the dq + * RSA Key - second exponent. Field cannot be read back. + * + * @param string $val The value of the dq + * + * @return TrustFrameworkKey + */ + public function setDq($val) + { + $this->_propDict["dq"] = $val; + return $this; + } + /** + * Gets the e + * RSA Key - public exponent + * + * @return string|null The e + */ + public function getE() + { + if (array_key_exists("e", $this->_propDict)) { + return $this->_propDict["e"]; + } else { + return null; + } + } + + /** + * Sets the e + * RSA Key - public exponent + * + * @param string $val The value of the e + * + * @return TrustFrameworkKey + */ + public function setE($val) + { + $this->_propDict["e"] = $val; + return $this; + } + /** + * Gets the exp + * This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @return int|null The exp + */ + public function getExp() + { + if (array_key_exists("exp", $this->_propDict)) { + return $this->_propDict["exp"]; + } else { + return null; + } + } + + /** + * Sets the exp + * This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @param int $val The value of the exp + * + * @return TrustFrameworkKey + */ + public function setExp($val) + { + $this->_propDict["exp"] = $val; + return $this; + } + /** + * Gets the k + * Symmetric Key for oct key type. Field cannot be read back. + * + * @return string|null The k + */ + public function getK() + { + if (array_key_exists("k", $this->_propDict)) { + return $this->_propDict["k"]; + } else { + return null; + } + } + + /** + * Sets the k + * Symmetric Key for oct key type. Field cannot be read back. + * + * @param string $val The value of the k + * + * @return TrustFrameworkKey + */ + public function setK($val) + { + $this->_propDict["k"] = $val; + return $this; + } + /** + * Gets the kid + * The unique identifier for the key. + * + * @return string|null The kid + */ + public function getKid() + { + if (array_key_exists("kid", $this->_propDict)) { + return $this->_propDict["kid"]; + } else { + return null; + } + } + + /** + * Sets the kid + * The unique identifier for the key. + * + * @param string $val The value of the kid + * + * @return TrustFrameworkKey + */ + public function setKid($val) + { + $this->_propDict["kid"] = $val; + return $this; + } + /** + * Gets the kty + * The kty (key type) parameter identifies the cryptographic algorithm family used with the key, The valid values are rsa, oct. + * + * @return string|null The kty + */ + public function getKty() + { + if (array_key_exists("kty", $this->_propDict)) { + return $this->_propDict["kty"]; + } else { + return null; + } + } + + /** + * Sets the kty + * The kty (key type) parameter identifies the cryptographic algorithm family used with the key, The valid values are rsa, oct. + * + * @param string $val The value of the kty + * + * @return TrustFrameworkKey + */ + public function setKty($val) + { + $this->_propDict["kty"] = $val; + return $this; + } + /** + * Gets the n + * RSA Key - modulus + * + * @return string|null The n + */ + public function getN() + { + if (array_key_exists("n", $this->_propDict)) { + return $this->_propDict["n"]; + } else { + return null; + } + } + + /** + * Sets the n + * RSA Key - modulus + * + * @param string $val The value of the n + * + * @return TrustFrameworkKey + */ + public function setN($val) + { + $this->_propDict["n"] = $val; + return $this; + } + /** + * Gets the nbf + * This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @return int|null The nbf + */ + public function getNbf() + { + if (array_key_exists("nbf", $this->_propDict)) { + return $this->_propDict["nbf"]; + } else { + return null; + } + } + + /** + * Sets the nbf + * This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @param int $val The value of the nbf + * + * @return TrustFrameworkKey + */ + public function setNbf($val) + { + $this->_propDict["nbf"] = $val; + return $this; + } + /** + * Gets the p + * RSA Key - first prime. Field cannot be read back. + * + * @return string|null The p + */ + public function getP() + { + if (array_key_exists("p", $this->_propDict)) { + return $this->_propDict["p"]; + } else { + return null; + } + } + + /** + * Sets the p + * RSA Key - first prime. Field cannot be read back. + * + * @param string $val The value of the p + * + * @return TrustFrameworkKey + */ + public function setP($val) + { + $this->_propDict["p"] = $val; + return $this; + } + /** + * Gets the q + * RSA Key - second prime. Field cannot be read back. + * + * @return string|null The q + */ + public function getQ() + { + if (array_key_exists("q", $this->_propDict)) { + return $this->_propDict["q"]; + } else { + return null; + } + } + + /** + * Sets the q + * RSA Key - second prime. Field cannot be read back. + * + * @param string $val The value of the q + * + * @return TrustFrameworkKey + */ + public function setQ($val) + { + $this->_propDict["q"] = $val; + return $this; + } + /** + * Gets the qi + * RSA Key - Coefficient. Field cannot be read back. + * + * @return string|null The qi + */ + public function getQi() + { + if (array_key_exists("qi", $this->_propDict)) { + return $this->_propDict["qi"]; + } else { + return null; + } + } + + /** + * Sets the qi + * RSA Key - Coefficient. Field cannot be read back. + * + * @param string $val The value of the qi + * + * @return TrustFrameworkKey + */ + public function setQi($val) + { + $this->_propDict["qi"] = $val; + return $this; + } + /** + * Gets the use + * The use (public key use) parameter identifies the intended use of the public key. The use parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Possible values are: sig (signature), enc (encryption) + * + * @return string|null The use + */ + public function getUse() + { + if (array_key_exists("use", $this->_propDict)) { + return $this->_propDict["use"]; + } else { + return null; + } + } + + /** + * Sets the use + * The use (public key use) parameter identifies the intended use of the public key. The use parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Possible values are: sig (signature), enc (encryption) + * + * @param string $val The value of the use + * + * @return TrustFrameworkKey + */ + public function setUse($val) + { + $this->_propDict["use"] = $val; + return $this; + } + /** + * Gets the x5c + * The x5c (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates RFC 5280. + * + * @return string|null The x5c + */ + public function getX5c() + { + if (array_key_exists("x5c", $this->_propDict)) { + return $this->_propDict["x5c"]; + } else { + return null; + } + } + + /** + * Sets the x5c + * The x5c (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates RFC 5280. + * + * @param string $val The value of the x5c + * + * @return TrustFrameworkKey + */ + public function setX5c($val) + { + $this->_propDict["x5c"] = $val; + return $this; + } + /** + * Gets the x5t + * The x5t (X.509 certificate SHA-1 thumbprint) parameter is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate RFC 5280. + * + * @return string|null The x5t + */ + public function getX5t() + { + if (array_key_exists("x5t", $this->_propDict)) { + return $this->_propDict["x5t"]; + } else { + return null; + } + } + + /** + * Sets the x5t + * The x5t (X.509 certificate SHA-1 thumbprint) parameter is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate RFC 5280. + * + * @param string $val The value of the x5t + * + * @return TrustFrameworkKey + */ + public function setX5t($val) + { + $this->_propDict["x5t"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKeySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKeySet.php new file mode 100644 index 0000000..7dcbd19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKeySet.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["keys"]; + } else { + return null; + } + } + + /** + * Sets the keys + * A collection of the keys. + * + * @param TrustFrameworkKey[] $val The keys + * + * @return TrustFrameworkKeySet + */ + public function setKeys($val) + { + $this->_propDict["keys"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkPolicy.php new file mode 100644 index 0000000..760c7a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkPolicy.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["otherLabel"]; + } else { + return null; + } + } + + /** + * Sets the otherLabel + * To specify a custom type of email address, set type to other, and assign otherLabel to a custom string. For example, you may use a specific email address for your volunteer activities. Set type to other, and set otherLabel to a custom string such as Volunteer work. + * + * @param string $val The value of the otherLabel + * + * @return TypedEmailAddress + */ + public function setOtherLabel($val) + { + $this->_propDict["otherLabel"] = $val; + return $this; + } + + /** + * Gets the type + * The type of email address. Possible values are: unknown, work, personal, main, other. The default value is unknown, which means address has not been set as a specific type. + * + * @return EmailType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EmailType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new EmailType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of email address. Possible values are: unknown, work, personal, main, other. The default value is unknown, which means address has not been set as a specific type. + * + * @param EmailType $val The value to assign to the type + * + * @return TypedEmailAddress The TypedEmailAddress + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceAction.php new file mode 100644 index 0000000..416242b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceAction.php @@ -0,0 +1,174 @@ +_propDict)) { + return $this->_propDict["actionVerb"]; + } else { + return null; + } + } + + /** + * Sets the actionVerb + * HTTP method for the action, such as DELETE, GET, PATCH, POST, PUT, or null. Supports $filter (eq) but not for null values. + * + * @param string $val The actionVerb + * + * @return UnifiedRbacResourceAction + */ + public function setActionVerb($val) + { + $this->_propDict["actionVerb"] = $val; + return $this; + } + + /** + * Gets the description + * Description for the action. Supports $filter (eq). + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the action. Supports $filter (eq). + * + * @param string $val The description + * + * @return UnifiedRbacResourceAction + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the name + * Name for the action within the resource namespace, such as microsoft.insights/programs/update. Can include slash character (/). Case insensitive. Required. Supports $filter (eq). + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for the action within the resource namespace, such as microsoft.insights/programs/update. Can include slash character (/). Case insensitive. Required. Supports $filter (eq). + * + * @param string $val The name + * + * @return UnifiedRbacResourceAction + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the resourceScopeId + * Not implemented. + * + * @return string|null The resourceScopeId + */ + public function getResourceScopeId() + { + if (array_key_exists("resourceScopeId", $this->_propDict)) { + return $this->_propDict["resourceScopeId"]; + } else { + return null; + } + } + + /** + * Sets the resourceScopeId + * Not implemented. + * + * @param string $val The resourceScopeId + * + * @return UnifiedRbacResourceAction + */ + public function setResourceScopeId($val) + { + $this->_propDict["resourceScopeId"] = $val; + return $this; + } + + /** + * Gets the resourceScope + * + * @return UnifiedRbacResourceScope|null The resourceScope + */ + public function getResourceScope() + { + if (array_key_exists("resourceScope", $this->_propDict)) { + if (is_a($this->_propDict["resourceScope"], "\Beta\Microsoft\Graph\Model\UnifiedRbacResourceScope") || is_null($this->_propDict["resourceScope"])) { + return $this->_propDict["resourceScope"]; + } else { + $this->_propDict["resourceScope"] = new UnifiedRbacResourceScope($this->_propDict["resourceScope"]); + return $this->_propDict["resourceScope"]; + } + } + return null; + } + + /** + * Sets the resourceScope + * + * @param UnifiedRbacResourceScope $val The resourceScope + * + * @return UnifiedRbacResourceAction + */ + public function setResourceScope($val) + { + $this->_propDict["resourceScope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceNamespace.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceNamespace.php new file mode 100644 index 0000000..0c42116 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceNamespace.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the resource namespace. Typically, the same name as the id property, such as microsoft.aad.b2c. Required. Supports $filter (eq, startsWith). + * + * @param string $val The name + * + * @return UnifiedRbacResourceNamespace + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the resourceActions + * Operations that an authorized principal are allowed to perform. + * + * @return array|null The resourceActions + */ + public function getResourceActions() + { + if (array_key_exists("resourceActions", $this->_propDict)) { + return $this->_propDict["resourceActions"]; + } else { + return null; + } + } + + /** + * Sets the resourceActions + * Operations that an authorized principal are allowed to perform. + * + * @param UnifiedRbacResourceAction[] $val The resourceActions + * + * @return UnifiedRbacResourceNamespace + */ + public function setResourceActions($val) + { + $this->_propDict["resourceActions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceScope.php new file mode 100644 index 0000000..c83a7d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceScope.php @@ -0,0 +1,108 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return UnifiedRbacResourceScope + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the scope + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * + * @param string $val The scope + * + * @return UnifiedRbacResourceScope + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The type + * + * @return UnifiedRbacResourceScope + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRole.php new file mode 100644 index 0000000..f3ce354 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRole.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * The unified role definition ID of the directory role. Refer to unifiedRoleDefinition resource. + * + * @param string $val The value of the roleDefinitionId + * + * @return UnifiedRole + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignment.php new file mode 100644 index 0000000..c8ef541 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignment.php @@ -0,0 +1,358 @@ +_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. App scopes are scopes that are defined and understood by this application only. For the entitlement management provider, use app scopes to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleAssignment + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the condition + * + * @return string|null The condition + */ + public function getCondition() + { + if (array_key_exists("condition", $this->_propDict)) { + return $this->_propDict["condition"]; + } else { + return null; + } + } + + /** + * Sets the condition + * + * @param string $val The condition + * + * @return UnifiedRoleAssignment + */ + public function setCondition($val) + { + $this->_propDict["condition"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleAssignment + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is granted. Supports $filter (eq operator only). + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is granted. Supports $filter (eq operator only). + * + * @param string $val The principalId + * + * @return UnifiedRoleAssignment + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the principalOrganizationId + * + * @return string|null The principalOrganizationId + */ + public function getPrincipalOrganizationId() + { + if (array_key_exists("principalOrganizationId", $this->_propDict)) { + return $this->_propDict["principalOrganizationId"]; + } else { + return null; + } + } + + /** + * Sets the principalOrganizationId + * + * @param string $val The principalOrganizationId + * + * @return UnifiedRoleAssignment + */ + public function setPrincipalOrganizationId($val) + { + $this->_propDict["principalOrganizationId"] = $val; + return $this; + } + + /** + * Gets the resourceScope + * The scope at which the unifiedRoleAssignment applies. This is / for service-wide. DO NOT USE. This property will be deprecated soon. + * + * @return string|null The resourceScope + */ + public function getResourceScope() + { + if (array_key_exists("resourceScope", $this->_propDict)) { + return $this->_propDict["resourceScope"]; + } else { + return null; + } + } + + /** + * Sets the resourceScope + * The scope at which the unifiedRoleAssignment applies. This is / for service-wide. DO NOT USE. This property will be deprecated soon. + * + * @param string $val The resourceScope + * + * @return UnifiedRoleAssignment + */ + public function setResourceScope($val) + { + $this->_propDict["resourceScope"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq operator only). + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq operator only). + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleAssignment + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the appScope + * Details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleAssignment + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * The directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * The directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleAssignment + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * The assigned principal. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * The assigned principal. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleAssignment + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * The roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.id will be auto expanded. Supports $expand. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * The roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.id will be auto expanded. Supports $expand. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleAssignment + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentMultiple.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentMultiple.php new file mode 100644 index 0000000..80a54eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentMultiple.php @@ -0,0 +1,351 @@ +_propDict)) { + return $this->_propDict["appScopeIds"]; + } else { + return null; + } + } + + /** + * Sets the appScopeIds + * Ids of the app specific scopes when the assignment scopes are app specific. The scopes of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. App scopes are scopes that are defined and understood by this application only. + * + * @param string $val The appScopeIds + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setAppScopeIds($val) + { + $this->_propDict["appScopeIds"] = $val; + return $this; + } + + /** + * Gets the condition + * + * @return string|null The condition + */ + public function getCondition() + { + if (array_key_exists("condition", $this->_propDict)) { + return $this->_propDict["condition"]; + } else { + return null; + } + } + + /** + * Sets the condition + * + * @param string $val The condition + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setCondition($val) + { + $this->_propDict["condition"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the role assignment. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the role assignment. + * + * @param string $val The description + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the directoryScopeIds + * Ids of the directory objects representing the scopes of the assignment. The scopes of an assignment determine the set of resources for which the principals have been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + * + * @return string|null The directoryScopeIds + */ + public function getDirectoryScopeIds() + { + if (array_key_exists("directoryScopeIds", $this->_propDict)) { + return $this->_propDict["directoryScopeIds"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeIds + * Ids of the directory objects representing the scopes of the assignment. The scopes of an assignment determine the set of resources for which the principals have been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + * + * @param string $val The directoryScopeIds + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setDirectoryScopeIds($val) + { + $this->_propDict["directoryScopeIds"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the role assignment. Required. + * + * @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 + * Name of the role assignment. Required. + * + * @param string $val The displayName + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the principalIds + * Identifiers of the principals to which the assignment is granted. Supports $filter (any operator only). + * + * @return string|null The principalIds + */ + public function getPrincipalIds() + { + if (array_key_exists("principalIds", $this->_propDict)) { + return $this->_propDict["principalIds"]; + } else { + return null; + } + } + + /** + * Sets the principalIds + * Identifiers of the principals to which the assignment is granted. Supports $filter (any operator only). + * + * @param string $val The principalIds + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setPrincipalIds($val) + { + $this->_propDict["principalIds"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + + /** + * Gets the appScopes + * Read-only collection with details of the app specific scopes when the assignment scopes are app specific. Containment entity. Read-only. + * + * @return array|null The appScopes + */ + public function getAppScopes() + { + if (array_key_exists("appScopes", $this->_propDict)) { + return $this->_propDict["appScopes"]; + } else { + return null; + } + } + + /** + * Sets the appScopes + * Read-only collection with details of the app specific scopes when the assignment scopes are app specific. Containment entity. Read-only. + * + * @param AppScope[] $val The appScopes + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setAppScopes($val) + { + $this->_propDict["appScopes"] = $val; + return $this; + } + + + /** + * Gets the directoryScopes + * Read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @return array|null The directoryScopes + */ + public function getDirectoryScopes() + { + if (array_key_exists("directoryScopes", $this->_propDict)) { + return $this->_propDict["directoryScopes"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopes + * Read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @param DirectoryObject[] $val The directoryScopes + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setDirectoryScopes($val) + { + $this->_propDict["directoryScopes"] = $val; + return $this; + } + + + /** + * Gets the principals + * Read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @return array|null The principals + */ + public function getPrincipals() + { + if (array_key_exists("principals", $this->_propDict)) { + return $this->_propDict["principals"]; + } else { + return null; + } + } + + /** + * Sets the principals + * Read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @param DirectoryObject[] $val The principals + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setPrincipals($val) + { + $this->_propDict["principals"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Specifies the roleDefinition that the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. Supports $filter (eq operator on id, isBuiltIn, and displayName, and startsWith operator on displayName) and $expand. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Specifies the roleDefinition that the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. Supports $filter (eq operator on id, isBuiltIn, and displayName, and startsWith operator on displayName) and $expand. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleAssignmentMultiple + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentSchedule.php new file mode 100644 index 0000000..6f9776e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentSchedule.php @@ -0,0 +1,151 @@ +_propDict)) { + return $this->_propDict["assignmentType"]; + } else { + return null; + } + } + + /** + * Sets the assignmentType + * Type of the assignment. It can either be Assigned or Activated. + * + * @param string $val The assignmentType + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * If the roleAssignmentSchedule is activated by a roleEligibilitySchedule, this is the link to that schedule. + * + * @return UnifiedRoleEligibilitySchedule|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilitySchedule($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * If the roleAssignmentSchedule is activated by a roleEligibilitySchedule, this is the link to that schedule. + * + * @param UnifiedRoleEligibilitySchedule $val The activatedUsing + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleInstance.php new file mode 100644 index 0000000..99a4d08 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleInstance.php @@ -0,0 +1,242 @@ +_propDict)) { + return $this->_propDict["assignmentType"]; + } else { + return null; + } + } + + /** + * Sets the assignmentType + * Type of the assignment. It can either be Assigned or Activated. + * + * @param string $val The assignmentType + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Time that the roleAssignmentInstance will expire + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Time that the roleAssignmentInstance will expire + * + * @param \DateTime $val The endDateTime + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the roleAssignmentOriginId + * ID of the roleAssignment in the directory + * + * @return string|null The roleAssignmentOriginId + */ + public function getRoleAssignmentOriginId() + { + if (array_key_exists("roleAssignmentOriginId", $this->_propDict)) { + return $this->_propDict["roleAssignmentOriginId"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentOriginId + * ID of the roleAssignment in the directory + * + * @param string $val The roleAssignmentOriginId + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setRoleAssignmentOriginId($val) + { + $this->_propDict["roleAssignmentOriginId"] = $val; + return $this; + } + + /** + * Gets the roleAssignmentScheduleId + * ID of the parent roleAssignmentSchedule for this instance + * + * @return string|null The roleAssignmentScheduleId + */ + public function getRoleAssignmentScheduleId() + { + if (array_key_exists("roleAssignmentScheduleId", $this->_propDict)) { + return $this->_propDict["roleAssignmentScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentScheduleId + * ID of the parent roleAssignmentSchedule for this instance + * + * @param string $val The roleAssignmentScheduleId + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setRoleAssignmentScheduleId($val) + { + $this->_propDict["roleAssignmentScheduleId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time that the roleAssignmentInstance will start + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time that the roleAssignmentInstance will start + * + * @param \DateTime $val The startDateTime + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * If the roleAssignmentScheduleInstance is activated by a roleEligibilityScheduleRequest, this is the link to the related schedule instance. + * + * @return UnifiedRoleEligibilityScheduleInstance|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilityScheduleInstance") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilityScheduleInstance($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * If the roleAssignmentScheduleInstance is activated by a roleEligibilityScheduleRequest, this is the link to the related schedule instance. + * + * @param UnifiedRoleEligibilityScheduleInstance $val The activatedUsing + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleRequest.php new file mode 100644 index 0000000..bc12934 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleRequest.php @@ -0,0 +1,523 @@ +_propDict)) { + return $this->_propDict["action"]; + } else { + return null; + } + } + + /** + * Sets the action + * Represents the type of the operation on the role assignment. The possible values are: AdminAssign: For administrators to assign roles to users or groups.AdminRemove: For administrators to remove users or groups from roles. AdminUpdate: For administrators to change existing role assignments.AdminExtend: For administrators to extend expiring assignments.AdminRenew: For administrators to renew expired assignments.SelfActivate: For users to activate their assignments.SelfDeactivate: For users to deactivate their active assignments.SelfExtend: For users to request to extend their expiring assignments.SelfRenew: For users to request to renew their expired assignments. + * + * @param string $val The action + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @return string|null The appScopeId + */ + public function getAppScopeId() + { + if (array_key_exists("appScopeId", $this->_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @param bool $val The isValidationOnly + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * A message provided by users and administrators when create the request about why it is needed. + * + * @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 + * A message provided by users and administrators when create the request about why it is needed. + * + * @param string $val The justification + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. + * + * @param string $val The principalId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the targetScheduleId + * Identifier of the schedule object attached to the assignment. + * + * @return string|null The targetScheduleId + */ + public function getTargetScheduleId() + { + if (array_key_exists("targetScheduleId", $this->_propDict)) { + return $this->_propDict["targetScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the targetScheduleId + * Identifier of the schedule object attached to the assignment. + * + * @param string $val The targetScheduleId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setTargetScheduleId($val) + { + $this->_propDict["targetScheduleId"] = $val; + return $this; + } + + /** + * Gets the ticketInfo + * The ticketInfo object attached to the role assignment request which includes details of the ticket number and ticket system. + * + * @return TicketInfo|null The ticketInfo + */ + public function getTicketInfo() + { + if (array_key_exists("ticketInfo", $this->_propDict)) { + if (is_a($this->_propDict["ticketInfo"], "\Beta\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) { + return $this->_propDict["ticketInfo"]; + } else { + $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); + return $this->_propDict["ticketInfo"]; + } + } + return null; + } + + /** + * Sets the ticketInfo + * The ticketInfo object attached to the role assignment request which includes details of the ticket number and ticket system. + * + * @param TicketInfo $val The ticketInfo + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setTicketInfo($val) + { + $this->_propDict["ticketInfo"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. + * + * @return UnifiedRoleEligibilitySchedule|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilitySchedule($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. + * + * @param UnifiedRoleEligibilitySchedule $val The activatedUsing + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + + /** + * Gets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @return UnifiedRoleAssignmentSchedule|null The targetSchedule + */ + public function getTargetSchedule() + { + if (array_key_exists("targetSchedule", $this->_propDict)) { + if (is_a($this->_propDict["targetSchedule"], "\Beta\Microsoft\Graph\Model\UnifiedRoleAssignmentSchedule") || is_null($this->_propDict["targetSchedule"])) { + return $this->_propDict["targetSchedule"]; + } else { + $this->_propDict["targetSchedule"] = new UnifiedRoleAssignmentSchedule($this->_propDict["targetSchedule"]); + return $this->_propDict["targetSchedule"]; + } + } + return null; + } + + /** + * Sets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @param UnifiedRoleAssignmentSchedule $val The targetSchedule + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setTargetSchedule($val) + { + $this->_propDict["targetSchedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php new file mode 100644 index 0000000..dd43a68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php @@ -0,0 +1,290 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * + * @param string $val The description + * + * @return UnifiedRoleDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * + * @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 + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * + * @param string $val The displayName + * + * @return UnifiedRoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * + * @param bool $val The isBuiltIn + * + * @return UnifiedRoleDefinition + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Flag indicating if the role is enabled for assignment. If false the role is not available for assignment. Read-only when isBuiltIn is true. + * + * @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 + * Flag indicating if the role is enabled for assignment. If false the role is not available for assignment. Read-only when isBuiltIn is true. + * + * @param bool $val The isEnabled + * + * @return UnifiedRoleDefinition + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the resourceScopes + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * + * @return string|null The resourceScopes + */ + public function getResourceScopes() + { + if (array_key_exists("resourceScopes", $this->_propDict)) { + return $this->_propDict["resourceScopes"]; + } else { + return null; + } + } + + /** + * Sets the resourceScopes + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * + * @param string $val The resourceScopes + * + * @return UnifiedRoleDefinition + */ + public function setResourceScopes($val) + { + $this->_propDict["resourceScopes"] = $val; + return $this; + } + + + /** + * Gets the rolePermissions + * List of permissions included in the role. Read-only when isBuiltIn is true. Required. + * + * @return array|null The rolePermissions + */ + public function getRolePermissions() + { + if (array_key_exists("rolePermissions", $this->_propDict)) { + return $this->_propDict["rolePermissions"]; + } else { + return null; + } + } + + /** + * Sets the rolePermissions + * List of permissions included in the role. Read-only when isBuiltIn is true. Required. + * + * @param UnifiedRolePermission[] $val The rolePermissions + * + * @return UnifiedRoleDefinition + */ + public function setRolePermissions($val) + { + $this->_propDict["rolePermissions"] = $val; + return $this; + } + + /** + * Gets the templateId + * Custom template identifier that can be set when isBuiltIn is false. This identifier is typically used if one needs an identifier to be the same across different directories. Read-only when isBuiltIn is true. + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * Custom template identifier that can be set when isBuiltIn is false. This identifier is typically used if one needs an identifier to be the same across different directories. Read-only when isBuiltIn is true. + * + * @param string $val The templateId + * + * @return UnifiedRoleDefinition + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + /** + * Gets the version + * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * + * @param string $val The version + * + * @return UnifiedRoleDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the inheritsPermissionsFrom + * Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles support this attribute. + * + * @return array|null The inheritsPermissionsFrom + */ + public function getInheritsPermissionsFrom() + { + if (array_key_exists("inheritsPermissionsFrom", $this->_propDict)) { + return $this->_propDict["inheritsPermissionsFrom"]; + } else { + return null; + } + } + + /** + * Sets the inheritsPermissionsFrom + * Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles support this attribute. + * + * @param UnifiedRoleDefinition[] $val The inheritsPermissionsFrom + * + * @return UnifiedRoleDefinition + */ + public function setInheritsPermissionsFrom($val) + { + $this->_propDict["inheritsPermissionsFrom"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilitySchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilitySchedule.php new file mode 100644 index 0000000..58a78d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilitySchedule.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleEligibilitySchedule + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the eligible role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the eligible role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleEligibilitySchedule + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleInstance.php new file mode 100644 index 0000000..61f3c8b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleInstance.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Time that the roleEligibilityScheduleInstance will expire. + * + * @param \DateTime $val The endDateTime + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the roleEligibilityScheduleId + * Identifier of the parent roleEligibilitySchedule for this instance. + * + * @return string|null The roleEligibilityScheduleId + */ + public function getRoleEligibilityScheduleId() + { + if (array_key_exists("roleEligibilityScheduleId", $this->_propDict)) { + return $this->_propDict["roleEligibilityScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilityScheduleId + * Identifier of the parent roleEligibilitySchedule for this instance. + * + * @param string $val The roleEligibilityScheduleId + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setRoleEligibilityScheduleId($val) + { + $this->_propDict["roleEligibilityScheduleId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time that the roleEligibilityScheduleInstance will start. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time that the roleEligibilityScheduleInstance will start. + * + * @param \DateTime $val The startDateTime + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleRequest.php new file mode 100644 index 0000000..89ffca7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleRequest.php @@ -0,0 +1,490 @@ +_propDict)) { + return $this->_propDict["action"]; + } else { + return null; + } + } + + /** + * Sets the action + * Represents the type of the operation on the role eligibility assignment. The possible values are: AdminAssign: For administrators to assign role eligibility to users or groups to roles.AdminExtend: For administrators to extend expiring assignments.AdminUpdate: For administrators to change existing role assignments.AdminRenew: For administrators to renew expired assignments.AdminRemove: For administrators to remove users or groups from eligible roles.UserAdd: For users to activate their eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserRenew: For users to request to renew their expired eligible assignments. + * + * @param string $val The action + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @return string|null The appScopeId + */ + public function getAppScopeId() + { + if (array_key_exists("appScopeId", $this->_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @param bool $val The isValidationOnly + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * A message provided by users and administrators when create the request about why it is needed. + * + * @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 + * A message provided by users and administrators when create the request about why it is needed. + * + * @param string $val The justification + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true. + * + * @param string $val The principalId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the targetScheduleId + * The time period for which the eligibility assignment is valid. + * + * @return string|null The targetScheduleId + */ + public function getTargetScheduleId() + { + if (array_key_exists("targetScheduleId", $this->_propDict)) { + return $this->_propDict["targetScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the targetScheduleId + * The time period for which the eligibility assignment is valid. + * + * @param string $val The targetScheduleId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setTargetScheduleId($val) + { + $this->_propDict["targetScheduleId"] = $val; + return $this; + } + + /** + * Gets the ticketInfo + * The details of the ticket number and ticket system that is attached to the role assignment request. + * + * @return TicketInfo|null The ticketInfo + */ + public function getTicketInfo() + { + if (array_key_exists("ticketInfo", $this->_propDict)) { + if (is_a($this->_propDict["ticketInfo"], "\Beta\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) { + return $this->_propDict["ticketInfo"]; + } else { + $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); + return $this->_propDict["ticketInfo"]; + } + } + return null; + } + + /** + * Sets the ticketInfo + * The details of the ticket number and ticket system that is attached to the role assignment request. + * + * @param TicketInfo $val The ticketInfo + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setTicketInfo($val) + { + $this->_propDict["ticketInfo"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app-specific scope when the assignment scope is app-specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app-specific scope when the assignment scope is app-specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + + /** + * Gets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @return UnifiedRoleEligibilitySchedule|null The targetSchedule + */ + public function getTargetSchedule() + { + if (array_key_exists("targetSchedule", $this->_propDict)) { + if (is_a($this->_propDict["targetSchedule"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule") || is_null($this->_propDict["targetSchedule"])) { + return $this->_propDict["targetSchedule"]; + } else { + $this->_propDict["targetSchedule"] = new UnifiedRoleEligibilitySchedule($this->_propDict["targetSchedule"]); + return $this->_propDict["targetSchedule"]; + } + } + return null; + } + + /** + * Sets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @param UnifiedRoleEligibilitySchedule $val The targetSchedule + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setTargetSchedule($val) + { + $this->_propDict["targetSchedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php new file mode 100644 index 0000000..750329b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php @@ -0,0 +1,298 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the policy. + * + * @param string $val The description + * + * @return UnifiedRoleManagementPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the policy. + * + * @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 + * Display name for the policy. + * + * @param string $val The displayName + * + * @return UnifiedRoleManagementPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isOrganizationDefault + * This can only be set to true for a single tenant wide policy which will apply to all scopes and roles. Set the scopeId to '/' and scopeType to Directory. + * + * @return bool|null The isOrganizationDefault + */ + public function getIsOrganizationDefault() + { + if (array_key_exists("isOrganizationDefault", $this->_propDict)) { + return $this->_propDict["isOrganizationDefault"]; + } else { + return null; + } + } + + /** + * Sets the isOrganizationDefault + * This can only be set to true for a single tenant wide policy which will apply to all scopes and roles. Set the scopeId to '/' and scopeType to Directory. + * + * @param bool $val The isOrganizationDefault + * + * @return UnifiedRoleManagementPolicy + */ + public function setIsOrganizationDefault($val) + { + $this->_propDict["isOrganizationDefault"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * The identity who last modified the role setting. + * + * @return Identity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new Identity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The identity who last modified the role setting. + * + * @param Identity $val The lastModifiedBy + * + * @return UnifiedRoleManagementPolicy + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The time when the role setting was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The time when the role setting was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UnifiedRoleManagementPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the scopeId + * The id of the scope where the policy is created. Can be / for the tenant or a group ID. Required. + * + * @return string|null The scopeId + */ + public function getScopeId() + { + if (array_key_exists("scopeId", $this->_propDict)) { + return $this->_propDict["scopeId"]; + } else { + return null; + } + } + + /** + * Sets the scopeId + * The id of the scope where the policy is created. Can be / for the tenant or a group ID. Required. + * + * @param string $val The scopeId + * + * @return UnifiedRoleManagementPolicy + */ + public function setScopeId($val) + { + $this->_propDict["scopeId"] = $val; + return $this; + } + + /** + * Gets the scopeType + * The type of the scope where the policy is created. One of Directory, DirectoryRole. Required. + * + * @return string|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + return $this->_propDict["scopeType"]; + } else { + return null; + } + } + + /** + * Sets the scopeType + * The type of the scope where the policy is created. One of Directory, DirectoryRole. Required. + * + * @param string $val The scopeType + * + * @return UnifiedRoleManagementPolicy + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } + + + /** + * Gets the effectiveRules + * Not implemented. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. + * + * @return array|null The effectiveRules + */ + public function getEffectiveRules() + { + if (array_key_exists("effectiveRules", $this->_propDict)) { + return $this->_propDict["effectiveRules"]; + } else { + return null; + } + } + + /** + * Sets the effectiveRules + * Not implemented. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. + * + * @param UnifiedRoleManagementPolicyRule[] $val The effectiveRules + * + * @return UnifiedRoleManagementPolicy + */ + public function setEffectiveRules($val) + { + $this->_propDict["effectiveRules"] = $val; + return $this; + } + + + /** + * Gets the rules + * The collection of rules like approval rules and expiration rules. + * + * @return array|null The rules + */ + public function getRules() + { + if (array_key_exists("rules", $this->_propDict)) { + return $this->_propDict["rules"]; + } else { + return null; + } + } + + /** + * Sets the rules + * The collection of rules like approval rules and expiration rules. + * + * @param UnifiedRoleManagementPolicyRule[] $val The rules + * + * @return UnifiedRoleManagementPolicy + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyApprovalRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyApprovalRule.php new file mode 100644 index 0000000..29e32ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyApprovalRule.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["setting"], "\Beta\Microsoft\Graph\Model\ApprovalSettings") || is_null($this->_propDict["setting"])) { + return $this->_propDict["setting"]; + } else { + $this->_propDict["setting"] = new ApprovalSettings($this->_propDict["setting"]); + return $this->_propDict["setting"]; + } + } + return null; + } + + /** + * Sets the setting + * The approval setting for the rule. + * + * @param ApprovalSettings $val The setting + * + * @return UnifiedRoleManagementPolicyApprovalRule + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php new file mode 100644 index 0000000..347a36a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * The id of the policy. + * + * @param string $val The policyId + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * The id of the role definition where the policy applies. If not specified, the policy applies to all roles. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * The id of the role definition where the policy applies. If not specified, the policy applies to all roles. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the scopeId + * The id of the scope where the policy is assigned. E.g. '/', groupId, etc. + * + * @return string|null The scopeId + */ + public function getScopeId() + { + if (array_key_exists("scopeId", $this->_propDict)) { + return $this->_propDict["scopeId"]; + } else { + return null; + } + } + + /** + * Sets the scopeId + * The id of the scope where the policy is assigned. E.g. '/', groupId, etc. + * + * @param string $val The scopeId + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setScopeId($val) + { + $this->_propDict["scopeId"] = $val; + return $this; + } + + /** + * Gets the scopeType + * The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. + * + * @return string|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + return $this->_propDict["scopeType"]; + } else { + return null; + } + } + + /** + * Sets the scopeType + * The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. + * + * @param string $val The scopeType + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } + + /** + * Gets the policy + * The policy for the assignment. + * + * @return UnifiedRoleManagementPolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementPolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new UnifiedRoleManagementPolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * The policy for the assignment. + * + * @param UnifiedRoleManagementPolicy $val The policy + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php new file mode 100644 index 0000000..f723b38 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["claimValue"]; + } else { + return null; + } + } + + /** + * Sets the claimValue + * Value of the authentication context claim. + * + * @param string $val The claimValue + * + * @return UnifiedRoleManagementPolicyAuthenticationContextRule + */ + public function setClaimValue($val) + { + $this->_propDict["claimValue"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Indicates if the setting is enabled. + * + * @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 + * Indicates if the setting is enabled. + * + * @param bool $val The isEnabled + * + * @return UnifiedRoleManagementPolicyAuthenticationContextRule + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyEnablementRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyEnablementRule.php new file mode 100644 index 0000000..310d5c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyEnablementRule.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["enabledRules"]; + } else { + return null; + } + } + + /** + * Sets the enabledRules + * The rules which are enabled. Allowed values are MultifactorAuthentication, Justification, Ticketing. + * + * @param string $val The enabledRules + * + * @return UnifiedRoleManagementPolicyEnablementRule + */ + public function setEnabledRules($val) + { + $this->_propDict["enabledRules"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php new file mode 100644 index 0000000..0d25382 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["isExpirationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isExpirationRequired + * Indicates if expiration is required for eligibility or assignment. + * + * @param bool $val The isExpirationRequired + * + * @return UnifiedRoleManagementPolicyExpirationRule + */ + public function setIsExpirationRequired($val) + { + $this->_propDict["isExpirationRequired"] = boolval($val); + return $this; + } + + /** + * Gets the maximumDuration + * The maximum duration allowed for eligiblity or assignment which is not permanent. + * + * @return \DateInterval|null The maximumDuration + */ + public function getMaximumDuration() + { + if (array_key_exists("maximumDuration", $this->_propDict)) { + if (is_a($this->_propDict["maximumDuration"], "\DateInterval") || is_null($this->_propDict["maximumDuration"])) { + return $this->_propDict["maximumDuration"]; + } else { + $this->_propDict["maximumDuration"] = new \DateInterval($this->_propDict["maximumDuration"]); + return $this->_propDict["maximumDuration"]; + } + } + return null; + } + + /** + * Sets the maximumDuration + * The maximum duration allowed for eligiblity or assignment which is not permanent. + * + * @param \DateInterval $val The maximumDuration + * + * @return UnifiedRoleManagementPolicyExpirationRule + */ + public function setMaximumDuration($val) + { + $this->_propDict["maximumDuration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyNotificationRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyNotificationRule.php new file mode 100644 index 0000000..8688076 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyNotificationRule.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["isDefaultRecipientsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultRecipientsEnabled + * Whether default recipient is receiving the email or not. + * + * @param bool $val The isDefaultRecipientsEnabled + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setIsDefaultRecipientsEnabled($val) + { + $this->_propDict["isDefaultRecipientsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the notificationLevel + * The level of notification. One of None, Critical, All. + * + * @return string|null The notificationLevel + */ + public function getNotificationLevel() + { + if (array_key_exists("notificationLevel", $this->_propDict)) { + return $this->_propDict["notificationLevel"]; + } else { + return null; + } + } + + /** + * Sets the notificationLevel + * The level of notification. One of None, Critical, All. + * + * @param string $val The notificationLevel + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setNotificationLevel($val) + { + $this->_propDict["notificationLevel"] = $val; + return $this; + } + + /** + * Gets the notificationRecipients + * The list of notification recepients like email. + * + * @return string|null The notificationRecipients + */ + public function getNotificationRecipients() + { + if (array_key_exists("notificationRecipients", $this->_propDict)) { + return $this->_propDict["notificationRecipients"]; + } else { + return null; + } + } + + /** + * Sets the notificationRecipients + * The list of notification recepients like email. + * + * @param string $val The notificationRecipients + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setNotificationRecipients($val) + { + $this->_propDict["notificationRecipients"] = $val; + return $this; + } + + /** + * Gets the notificationType + * The type of notification. One of Email. + * + * @return string|null The notificationType + */ + public function getNotificationType() + { + if (array_key_exists("notificationType", $this->_propDict)) { + return $this->_propDict["notificationType"]; + } else { + return null; + } + } + + /** + * Sets the notificationType + * The type of notification. One of Email. + * + * @param string $val The notificationType + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setNotificationType($val) + { + $this->_propDict["notificationType"] = $val; + return $this; + } + + /** + * Gets the recipientType + * The type of recipient. One of Requestor, Approver, Admin. + * + * @return string|null The recipientType + */ + public function getRecipientType() + { + if (array_key_exists("recipientType", $this->_propDict)) { + return $this->_propDict["recipientType"]; + } else { + return null; + } + } + + /** + * Sets the recipientType + * The type of recipient. One of Requestor, Approver, Admin. + * + * @param string $val The recipientType + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setRecipientType($val) + { + $this->_propDict["recipientType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRule.php new file mode 100644 index 0000000..456ed76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRule.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementPolicyRuleTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new UnifiedRoleManagementPolicyRuleTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target for the policy rule. + * + * @param UnifiedRoleManagementPolicyRuleTarget $val The target + * + * @return UnifiedRoleManagementPolicyRule + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRuleTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRuleTarget.php new file mode 100644 index 0000000..854bc1a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRuleTarget.php @@ -0,0 +1,197 @@ +_propDict)) { + return $this->_propDict["caller"]; + } else { + return null; + } + } + + /** + * Sets the caller + * The caller for the policy rule target. Allowed values are: None, Admin, EndUser. + * + * @param string $val The value of the caller + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setCaller($val) + { + $this->_propDict["caller"] = $val; + return $this; + } + /** + * Gets the enforcedSettings + * The list of settings which are enforced and cannot be overridden by child scopes. Use All for all settings. + * + * @return string|null The enforcedSettings + */ + public function getEnforcedSettings() + { + if (array_key_exists("enforcedSettings", $this->_propDict)) { + return $this->_propDict["enforcedSettings"]; + } else { + return null; + } + } + + /** + * Sets the enforcedSettings + * The list of settings which are enforced and cannot be overridden by child scopes. Use All for all settings. + * + * @param string $val The value of the enforcedSettings + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setEnforcedSettings($val) + { + $this->_propDict["enforcedSettings"] = $val; + return $this; + } + /** + * Gets the inheritableSettings + * The list of settings which can be inherited by child scopes. Use All for all settings. + * + * @return string|null The inheritableSettings + */ + public function getInheritableSettings() + { + if (array_key_exists("inheritableSettings", $this->_propDict)) { + return $this->_propDict["inheritableSettings"]; + } else { + return null; + } + } + + /** + * Sets the inheritableSettings + * The list of settings which can be inherited by child scopes. Use All for all settings. + * + * @param string $val The value of the inheritableSettings + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setInheritableSettings($val) + { + $this->_propDict["inheritableSettings"] = $val; + return $this; + } + /** + * Gets the level + * The level for the policy rule target. Allowed values are: Eligibility, Assignment. + * + * @return string|null The level + */ + public function getLevel() + { + if (array_key_exists("level", $this->_propDict)) { + return $this->_propDict["level"]; + } else { + return null; + } + } + + /** + * Sets the level + * The level for the policy rule target. Allowed values are: Eligibility, Assignment. + * + * @param string $val The value of the level + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setLevel($val) + { + $this->_propDict["level"] = $val; + return $this; + } + /** + * Gets the operations + * The operations for policy rule target. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew. + * + * @return string|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The operations for policy rule target. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew. + * + * @param string $val The value of the operations + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + /** + * Gets the targetObjects + * + * @return DirectoryObject|null The targetObjects + */ + public function getTargetObjects() + { + if (array_key_exists("targetObjects", $this->_propDict)) { + if (is_a($this->_propDict["targetObjects"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["targetObjects"])) { + return $this->_propDict["targetObjects"]; + } else { + $this->_propDict["targetObjects"] = new DirectoryObject($this->_propDict["targetObjects"]); + return $this->_propDict["targetObjects"]; + } + } + return null; + } + + /** + * Sets the targetObjects + * + * @param DirectoryObject $val The value to assign to the targetObjects + * + * @return UnifiedRoleManagementPolicyRuleTarget The UnifiedRoleManagementPolicyRuleTarget + */ + public function setTargetObjects($val) + { + $this->_propDict["targetObjects"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRolePermission.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRolePermission.php new file mode 100644 index 0000000..3c3b655 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRolePermission.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["allowedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the allowedResourceActions + * Set of tasks that can be performed on a resource. + * + * @param string $val The value of the allowedResourceActions + * + * @return UnifiedRolePermission + */ + public function setAllowedResourceActions($val) + { + $this->_propDict["allowedResourceActions"] = $val; + return $this; + } + /** + * Gets the condition + * Optional constraints that must be met for the permission to be effective. + * + * @return string|null The condition + */ + public function getCondition() + { + if (array_key_exists("condition", $this->_propDict)) { + return $this->_propDict["condition"]; + } else { + return null; + } + } + + /** + * Sets the condition + * Optional constraints that must be met for the permission to be effective. + * + * @param string $val The value of the condition + * + * @return UnifiedRolePermission + */ + public function setCondition($val) + { + $this->_propDict["condition"] = $val; + return $this; + } + /** + * Gets the excludedResourceActions + * Set of tasks that may not be performed on a resource. Not yet supported. + * + * @return string|null The excludedResourceActions + */ + public function getExcludedResourceActions() + { + if (array_key_exists("excludedResourceActions", $this->_propDict)) { + return $this->_propDict["excludedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the excludedResourceActions + * Set of tasks that may not be performed on a resource. Not yet supported. + * + * @param string $val The value of the excludedResourceActions + * + * @return UnifiedRolePermission + */ + public function setExcludedResourceActions($val) + { + $this->_propDict["excludedResourceActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleBase.php new file mode 100644 index 0000000..889f5dd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleBase.php @@ -0,0 +1,399 @@ +_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units or all users. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleScheduleBase + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Time that the schedule was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time that the schedule was created. + * + * @param \DateTime $val The createdDateTime + * + * @return UnifiedRoleScheduleBase + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the createdUsing + * Identifier of the roleAssignmentScheduleRequest that created this schedule. + * + * @return string|null The createdUsing + */ + public function getCreatedUsing() + { + if (array_key_exists("createdUsing", $this->_propDict)) { + return $this->_propDict["createdUsing"]; + } else { + return null; + } + } + + /** + * Sets the createdUsing + * Identifier of the roleAssignmentScheduleRequest that created this schedule. + * + * @param string $val The createdUsing + * + * @return UnifiedRoleScheduleBase + */ + public function setCreatedUsing($val) + { + $this->_propDict["createdUsing"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleScheduleBase + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * Last time the schedule was updated. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * Last time the schedule was updated. + * + * @param \DateTime $val The modifiedDateTime + * + * @return UnifiedRoleScheduleBase + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. Supports $filter (eq). + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. Supports $filter (eq). + * + * @param string $val The principalId + * + * @return UnifiedRoleScheduleBase + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleScheduleBase + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the status + * Status for the roleAssignmentSchedule. It can include state related messages like Provisioned, Revoked, Pending Provisioning, and Pending Approval. Supports $filter (eq). + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Status for the roleAssignmentSchedule. It can include state related messages like Provisioned, Revoked, Pending Provisioning, and Pending Approval. Supports $filter (eq). + * + * @param string $val The status + * + * @return UnifiedRoleScheduleBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleScheduleBase + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleScheduleBase + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleScheduleBase + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleScheduleBase + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleInstanceBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleInstanceBase.php new file mode 100644 index 0000000..b08e954 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleInstanceBase.php @@ -0,0 +1,275 @@ +_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. Can be a group or a user. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. Can be a group or a user. + * + * @param string $val The principalId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php new file mode 100644 index 0000000..b5fe490 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * + * @param string $val The code + * + * @return UnitOfMeasure + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return UnitOfMeasure + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the internationalStandardCode + * + * @return string|null The internationalStandardCode + */ + public function getInternationalStandardCode() + { + if (array_key_exists("internationalStandardCode", $this->_propDict)) { + return $this->_propDict["internationalStandardCode"]; + } else { + return null; + } + } + + /** + * Sets the internationalStandardCode + * + * @param string $val The internationalStandardCode + * + * @return UnitOfMeasure + */ + public function setInternationalStandardCode($val) + { + $this->_propDict["internationalStandardCode"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UnitOfMeasure + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDevice.php new file mode 100644 index 0000000..47b6ac1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDevice.php @@ -0,0 +1,339 @@ +_propDict)) { + return $this->_propDict["deviceName"]; + } else { + return null; + } + } + + /** + * Sets the deviceName + * Device name. + * + * @param string $val The value of the deviceName + * + * @return UnmanagedDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + /** + * Gets the domain + * Domain. + * + * @return string|null The domain + */ + public function getDomain() + { + if (array_key_exists("domain", $this->_propDict)) { + return $this->_propDict["domain"]; + } else { + return null; + } + } + + /** + * Sets the domain + * Domain. + * + * @param string $val The value of the domain + * + * @return UnmanagedDevice + */ + public function setDomain($val) + { + $this->_propDict["domain"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IP address. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IP address. + * + * @param string $val The value of the ipAddress + * + * @return UnmanagedDevice + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the lastLoggedOnUser + * Last logged on user. + * + * @return string|null The lastLoggedOnUser + */ + public function getLastLoggedOnUser() + { + if (array_key_exists("lastLoggedOnUser", $this->_propDict)) { + return $this->_propDict["lastLoggedOnUser"]; + } else { + return null; + } + } + + /** + * Sets the lastLoggedOnUser + * Last logged on user. + * + * @param string $val The value of the lastLoggedOnUser + * + * @return UnmanagedDevice + */ + public function setLastLoggedOnUser($val) + { + $this->_propDict["lastLoggedOnUser"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * Last seen date and time. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * Last seen date and time. + * + * @param \DateTime $val The value to assign to the lastSeenDateTime + * + * @return UnmanagedDevice The UnmanagedDevice + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + /** + * Gets the location + * Location. + * + * @return string|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * Location. + * + * @param string $val The value of the location + * + * @return UnmanagedDevice + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + /** + * Gets the macAddress + * MAC address. + * + * @return string|null The macAddress + */ + public function getMacAddress() + { + if (array_key_exists("macAddress", $this->_propDict)) { + return $this->_propDict["macAddress"]; + } else { + return null; + } + } + + /** + * Sets the macAddress + * MAC address. + * + * @param string $val The value of the macAddress + * + * @return UnmanagedDevice + */ + public function setMacAddress($val) + { + $this->_propDict["macAddress"] = $val; + return $this; + } + /** + * Gets the manufacturer + * Manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Manufacturer. + * + * @param string $val The value of the manufacturer + * + * @return UnmanagedDevice + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + /** + * Gets the model + * Model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model. + * + * @param string $val The value of the model + * + * @return UnmanagedDevice + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + /** + * Gets the os + * Operating system. + * + * @return string|null The os + */ + public function getOs() + { + if (array_key_exists("os", $this->_propDict)) { + return $this->_propDict["os"]; + } else { + return null; + } + } + + /** + * Sets the os + * Operating system. + * + * @param string $val The value of the os + * + * @return UnmanagedDevice + */ + public function setOs($val) + { + $this->_propDict["os"] = $val; + return $this; + } + /** + * Gets the osVersion + * Operating system version. + * + * @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 + * Operating system version. + * + * @param string $val The value of the osVersion + * + * @return UnmanagedDevice + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDeviceDiscoveryTask.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDeviceDiscoveryTask.php new file mode 100644 index 0000000..7794db4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDeviceDiscoveryTask.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["unmanagedDevices"]; + } else { + return null; + } + } + + /** + * Sets the unmanagedDevices + * Unmanaged devices discovered in the network. + * + * @param UnmanagedDevice[] $val The unmanagedDevices + * + * @return UnmanagedDeviceDiscoveryTask + */ + public function setUnmanagedDevices($val) + { + $this->_propDict["unmanagedDevices"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmuteParticipantOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmuteParticipantOperation.php new file mode 100644 index 0000000..974652d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmuteParticipantOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * Details describing why the entity is unsupported. This collection can contain a maximum of 1000 elements. + * + * @param UnsupportedDeviceConfigurationDetail[] $val The details + * + * @return UnsupportedDeviceConfiguration + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the originalEntityTypeName + * The type of entity that would be returned otherwise. + * + * @return string|null The originalEntityTypeName + */ + public function getOriginalEntityTypeName() + { + if (array_key_exists("originalEntityTypeName", $this->_propDict)) { + return $this->_propDict["originalEntityTypeName"]; + } else { + return null; + } + } + + /** + * Sets the originalEntityTypeName + * The type of entity that would be returned otherwise. + * + * @param string $val The originalEntityTypeName + * + * @return UnsupportedDeviceConfiguration + */ + public function setOriginalEntityTypeName($val) + { + $this->_propDict["originalEntityTypeName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedDeviceConfigurationDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedDeviceConfigurationDetail.php new file mode 100644 index 0000000..9588a75 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedDeviceConfigurationDetail.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * A message explaining why an entity is unsupported. + * + * @param string $val The value of the message + * + * @return UnsupportedDeviceConfigurationDetail + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the propertyName + * If message is related to a specific property in the original entity, then the name of that property. + * + * @return string|null The propertyName + */ + public function getPropertyName() + { + if (array_key_exists("propertyName", $this->_propDict)) { + return $this->_propDict["propertyName"]; + } else { + return null; + } + } + + /** + * Sets the propertyName + * If message is related to a specific property in the original entity, then the name of that property. + * + * @param string $val The value of the propertyName + * + * @return UnsupportedDeviceConfigurationDetail + */ + public function setPropertyName($val) + { + $this->_propDict["propertyName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedGroupPolicyExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedGroupPolicyExtension.php new file mode 100644 index 0000000..2882462 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedGroupPolicyExtension.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["extensionType"]; + } else { + return null; + } + } + + /** + * Sets the extensionType + * ExtensionType of the unsupported extension. + * + * @param string $val The extensionType + * + * @return UnsupportedGroupPolicyExtension + */ + public function setExtensionType($val) + { + $this->_propDict["extensionType"] = $val; + return $this; + } + + /** + * Gets the namespaceUrl + * Namespace Url of the unsupported extension. + * + * @return string|null The namespaceUrl + */ + public function getNamespaceUrl() + { + if (array_key_exists("namespaceUrl", $this->_propDict)) { + return $this->_propDict["namespaceUrl"]; + } else { + return null; + } + } + + /** + * Sets the namespaceUrl + * Namespace Url of the unsupported extension. + * + * @param string $val The namespaceUrl + * + * @return UnsupportedGroupPolicyExtension + */ + public function setNamespaceUrl($val) + { + $this->_propDict["namespaceUrl"] = $val; + return $this; + } + + /** + * Gets the nodeName + * Node name of the unsupported extension. + * + * @return string|null The nodeName + */ + public function getNodeName() + { + if (array_key_exists("nodeName", $this->_propDict)) { + return $this->_propDict["nodeName"]; + } else { + return null; + } + } + + /** + * Sets the nodeName + * Node name of the unsupported extension. + * + * @param string $val The nodeName + * + * @return UnsupportedGroupPolicyExtension + */ + public function setNodeName($val) + { + $this->_propDict["nodeName"] = $val; + return $this; + } + + /** + * Gets the settingScope + * Setting Scope of the unsupported extension. Possible values are: unknown, device, user. + * + * @return GroupPolicySettingScope|null The settingScope + */ + public function getSettingScope() + { + if (array_key_exists("settingScope", $this->_propDict)) { + if (is_a($this->_propDict["settingScope"], "\Beta\Microsoft\Graph\Model\GroupPolicySettingScope") || is_null($this->_propDict["settingScope"])) { + return $this->_propDict["settingScope"]; + } else { + $this->_propDict["settingScope"] = new GroupPolicySettingScope($this->_propDict["settingScope"]); + return $this->_propDict["settingScope"]; + } + } + return null; + } + + /** + * Sets the settingScope + * Setting Scope of the unsupported extension. Possible values are: unknown, device, user. + * + * @param GroupPolicySettingScope $val The settingScope + * + * @return UnsupportedGroupPolicyExtension + */ + public function setSettingScope($val) + { + $this->_propDict["settingScope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateClassification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateClassification.php new file mode 100644 index 0000000..b8461d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateClassification.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["updateWindowEndTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["updateWindowEndTime"])) { + return $this->_propDict["updateWindowEndTime"]; + } else { + $this->_propDict["updateWindowEndTime"] = new TimeOfDay($this->_propDict["updateWindowEndTime"]); + return $this->_propDict["updateWindowEndTime"]; + } + } + return null; + } + + /** + * Sets the updateWindowEndTime + * End of a time window during which agents can receive updates + * + * @param TimeOfDay $val The value to assign to the updateWindowEndTime + * + * @return UpdateWindow The UpdateWindow + */ + public function setUpdateWindowEndTime($val) + { + $this->_propDict["updateWindowEndTime"] = $val; + return $this; + } + + /** + * Gets the updateWindowStartTime + * Start of a time window during which agents can receive updates + * + * @return TimeOfDay|null The updateWindowStartTime + */ + public function getUpdateWindowStartTime() + { + if (array_key_exists("updateWindowStartTime", $this->_propDict)) { + if (is_a($this->_propDict["updateWindowStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["updateWindowStartTime"])) { + return $this->_propDict["updateWindowStartTime"]; + } else { + $this->_propDict["updateWindowStartTime"] = new TimeOfDay($this->_propDict["updateWindowStartTime"]); + return $this->_propDict["updateWindowStartTime"]; + } + } + return null; + } + + /** + * Sets the updateWindowStartTime + * Start of a time window during which agents can receive updates + * + * @param TimeOfDay $val The value to assign to the updateWindowStartTime + * + * @return UpdateWindow The UpdateWindow + */ + public function setUpdateWindowStartTime($val) + { + $this->_propDict["updateWindowStartTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateWindowsDeviceAccountActionParameter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateWindowsDeviceAccountActionParameter.php new file mode 100644 index 0000000..bf1f805 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateWindowsDeviceAccountActionParameter.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["calendarSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the calendarSyncEnabled + * Not yet documented + * + * @param bool $val The value of the calendarSyncEnabled + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setCalendarSyncEnabled($val) + { + $this->_propDict["calendarSyncEnabled"] = $val; + return $this; + } + + /** + * Gets the deviceAccount + * Not yet documented + * + * @return WindowsDeviceAccount|null The deviceAccount + */ + public function getDeviceAccount() + { + if (array_key_exists("deviceAccount", $this->_propDict)) { + if (is_a($this->_propDict["deviceAccount"], "\Beta\Microsoft\Graph\Model\WindowsDeviceAccount") || is_null($this->_propDict["deviceAccount"])) { + return $this->_propDict["deviceAccount"]; + } else { + $this->_propDict["deviceAccount"] = new WindowsDeviceAccount($this->_propDict["deviceAccount"]); + return $this->_propDict["deviceAccount"]; + } + } + return null; + } + + /** + * Sets the deviceAccount + * Not yet documented + * + * @param WindowsDeviceAccount $val The value to assign to the deviceAccount + * + * @return UpdateWindowsDeviceAccountActionParameter The UpdateWindowsDeviceAccountActionParameter + */ + public function setDeviceAccount($val) + { + $this->_propDict["deviceAccount"] = $val; + return $this; + } + /** + * Gets the deviceAccountEmail + * Not yet documented + * + * @return string|null The deviceAccountEmail + */ + public function getDeviceAccountEmail() + { + if (array_key_exists("deviceAccountEmail", $this->_propDict)) { + return $this->_propDict["deviceAccountEmail"]; + } else { + return null; + } + } + + /** + * Sets the deviceAccountEmail + * Not yet documented + * + * @param string $val The value of the deviceAccountEmail + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setDeviceAccountEmail($val) + { + $this->_propDict["deviceAccountEmail"] = $val; + return $this; + } + /** + * Gets the exchangeServer + * Not yet documented + * + * @return string|null The exchangeServer + */ + public function getExchangeServer() + { + if (array_key_exists("exchangeServer", $this->_propDict)) { + return $this->_propDict["exchangeServer"]; + } else { + return null; + } + } + + /** + * Sets the exchangeServer + * Not yet documented + * + * @param string $val The value of the exchangeServer + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setExchangeServer($val) + { + $this->_propDict["exchangeServer"] = $val; + return $this; + } + /** + * Gets the passwordRotationEnabled + * Not yet documented + * + * @return bool|null The passwordRotationEnabled + */ + public function getPasswordRotationEnabled() + { + if (array_key_exists("passwordRotationEnabled", $this->_propDict)) { + return $this->_propDict["passwordRotationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the passwordRotationEnabled + * Not yet documented + * + * @param bool $val The value of the passwordRotationEnabled + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setPasswordRotationEnabled($val) + { + $this->_propDict["passwordRotationEnabled"] = $val; + return $this; + } + /** + * Gets the sessionInitiationProtocalAddress + * Not yet documented + * + * @return string|null The sessionInitiationProtocalAddress + */ + public function getSessionInitiationProtocalAddress() + { + if (array_key_exists("sessionInitiationProtocalAddress", $this->_propDict)) { + return $this->_propDict["sessionInitiationProtocalAddress"]; + } else { + return null; + } + } + + /** + * Sets the sessionInitiationProtocalAddress + * Not yet documented + * + * @param string $val The value of the sessionInitiationProtocalAddress + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setSessionInitiationProtocalAddress($val) + { + $this->_propDict["sessionInitiationProtocalAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UploadSession.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UploadSession.php new file mode 100644 index 0000000..5c04a69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UploadSession.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + * + * @param \DateTime $val The value to assign to the expirationDateTime + * + * @return UploadSession The UploadSession + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + /** + * Gets the nextExpectedRanges + * When uploading files to document libraries, this is a collection of byte ranges that the server is missing for the file. These ranges are zero-indexed and of the format, '{start}-{end}' (e.g. '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin. + * + * @return string|null The nextExpectedRanges + */ + public function getNextExpectedRanges() + { + if (array_key_exists("nextExpectedRanges", $this->_propDict)) { + return $this->_propDict["nextExpectedRanges"]; + } else { + return null; + } + } + + /** + * Sets the nextExpectedRanges + * When uploading files to document libraries, this is a collection of byte ranges that the server is missing for the file. These ranges are zero-indexed and of the format, '{start}-{end}' (e.g. '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin. + * + * @param string $val The value of the nextExpectedRanges + * + * @return UploadSession + */ + public function setNextExpectedRanges($val) + { + $this->_propDict["nextExpectedRanges"] = $val; + return $this; + } + /** + * Gets the uploadUrl + * The URL endpoint that accepts PUT requests for byte ranges of the file. + * + * @return string|null The uploadUrl + */ + public function getUploadUrl() + { + if (array_key_exists("uploadUrl", $this->_propDict)) { + return $this->_propDict["uploadUrl"]; + } else { + return null; + } + } + + /** + * Sets the uploadUrl + * The URL endpoint that accepts PUT requests for byte ranges of the file. + * + * @param string $val The value of the uploadUrl + * + * @return UploadSession + */ + public function setUploadUrl($val) + { + $this->_propDict["uploadUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UriClickSecurityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UriClickSecurityState.php new file mode 100644 index 0000000..c0ad950 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UriClickSecurityState.php @@ -0,0 +1,187 @@ +_propDict)) { + return $this->_propDict["clickAction"]; + } else { + return null; + } + } + + /** + * Sets the clickAction + * + * @param string $val The value of the clickAction + * + * @return UriClickSecurityState + */ + public function setClickAction($val) + { + $this->_propDict["clickAction"] = $val; + return $this; + } + + /** + * Gets the clickDateTime + * + * @return \DateTime|null The clickDateTime + */ + public function getClickDateTime() + { + if (array_key_exists("clickDateTime", $this->_propDict)) { + if (is_a($this->_propDict["clickDateTime"], "\DateTime") || is_null($this->_propDict["clickDateTime"])) { + return $this->_propDict["clickDateTime"]; + } else { + $this->_propDict["clickDateTime"] = new \DateTime($this->_propDict["clickDateTime"]); + return $this->_propDict["clickDateTime"]; + } + } + return null; + } + + /** + * Sets the clickDateTime + * + * @param \DateTime $val The value to assign to the clickDateTime + * + * @return UriClickSecurityState The UriClickSecurityState + */ + public function setClickDateTime($val) + { + $this->_propDict["clickDateTime"] = $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 UriClickSecurityState + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * 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 UriClickSecurityState + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + /** + * Gets the uriDomain + * + * @return string|null The uriDomain + */ + public function getUriDomain() + { + if (array_key_exists("uriDomain", $this->_propDict)) { + return $this->_propDict["uriDomain"]; + } else { + return null; + } + } + + /** + * Sets the uriDomain + * + * @param string $val The value of the uriDomain + * + * @return UriClickSecurityState + */ + public function setUriDomain($val) + { + $this->_propDict["uriDomain"] = $val; + return $this; + } + /** + * Gets the verdict + * + * @return string|null The verdict + */ + public function getVerdict() + { + if (array_key_exists("verdict", $this->_propDict)) { + return $this->_propDict["verdict"]; + } else { + return null; + } + } + + /** + * Sets the verdict + * + * @param string $val The value of the verdict + * + * @return UriClickSecurityState + */ + public function setVerdict($val) + { + $this->_propDict["verdict"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UrlAssessmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UrlAssessmentRequest.php new file mode 100644 index 0000000..ccb36f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UrlAssessmentRequest.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The URL string. + * + * @param string $val The url + * + * @return UrlAssessmentRequest + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageAuthMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageAuthMethod.php new file mode 100644 index 0000000..89c62dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageAuthMethod.php @@ -0,0 +1,43 @@ +_propDict)) { + if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessedDateTime"])) { + return $this->_propDict["lastAccessedDateTime"]; + } else { + $this->_propDict["lastAccessedDateTime"] = new \DateTime($this->_propDict["lastAccessedDateTime"]); + return $this->_propDict["lastAccessedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedDateTime + * The date and time the resource was last accessed by the user. The timestamp 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 lastAccessedDateTime + * + * @return UsageDetails The UsageDetails + */ + public function setLastAccessedDateTime($val) + { + $this->_propDict["lastAccessedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the resource was last modified by the user. The timestamp 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the resource was last modified by the user. The timestamp 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 lastModifiedDateTime + * + * @return UsageDetails The UsageDetails + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRight.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRight.php new file mode 100644 index 0000000..44b74a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRight.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["catalogId"]; + } else { + return null; + } + } + + /** + * Sets the catalogId + * Product id corresponding to the usage right. + * + * @param string $val The catalogId + * + * @return UsageRight + */ + public function setCatalogId($val) + { + $this->_propDict["catalogId"] = $val; + return $this; + } + + /** + * Gets the serviceIdentifier + * Identifier of the service corresponding to the usage right. + * + * @return string|null The serviceIdentifier + */ + public function getServiceIdentifier() + { + if (array_key_exists("serviceIdentifier", $this->_propDict)) { + return $this->_propDict["serviceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the serviceIdentifier + * Identifier of the service corresponding to the usage right. + * + * @param string $val The serviceIdentifier + * + * @return UsageRight + */ + public function setServiceIdentifier($val) + { + $this->_propDict["serviceIdentifier"] = $val; + return $this; + } + + /** + * Gets the state + * The state of the usage right. Possible values are: active, inactive, warning, suspended. + * + * @return UsageRightState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\UsageRightState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new UsageRightState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the usage right. Possible values are: active, inactive, warning, suspended. + * + * @param UsageRightState $val The state + * + * @return UsageRight + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRightState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRightState.php new file mode 100644 index 0000000..f321b2e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRightState.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["lastUsed"], "\Beta\Microsoft\Graph\Model\UsageDetails") || is_null($this->_propDict["lastUsed"])) { + return $this->_propDict["lastUsed"]; + } else { + $this->_propDict["lastUsed"] = new UsageDetails($this->_propDict["lastUsed"]); + return $this->_propDict["lastUsed"]; + } + } + return null; + } + + /** + * Sets the lastUsed + * Information about when the item was last viewed or modified by the user. Read only. + * + * @param UsageDetails $val The lastUsed + * + * @return UsedInsight + */ + public function setLastUsed($val) + { + $this->_propDict["lastUsed"] = $val; + return $this; + } + + /** + * Gets the resourceReference + * Reference properties of the used document, such as the url and type of the document. Read-only + * + * @return ResourceReference|null The resourceReference + */ + public function getResourceReference() + { + if (array_key_exists("resourceReference", $this->_propDict)) { + if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) { + return $this->_propDict["resourceReference"]; + } else { + $this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]); + return $this->_propDict["resourceReference"]; + } + } + return null; + } + + /** + * Sets the resourceReference + * Reference properties of the used document, such as the url and type of the document. Read-only + * + * @param ResourceReference $val The resourceReference + * + * @return UsedInsight + */ + public function setResourceReference($val) + { + $this->_propDict["resourceReference"] = $val; + return $this; + } + + /** + * Gets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @return ResourceVisualization|null The resourceVisualization + */ + public function getResourceVisualization() + { + if (array_key_exists("resourceVisualization", $this->_propDict)) { + if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) { + return $this->_propDict["resourceVisualization"]; + } else { + $this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]); + return $this->_propDict["resourceVisualization"]; + } + } + return null; + } + + /** + * Sets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @param ResourceVisualization $val The resourceVisualization + * + * @return UsedInsight + */ + public function setResourceVisualization($val) + { + $this->_propDict["resourceVisualization"] = $val; + return $this; + } + + /** + * Gets the resource + * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @param Entity $val The resource + * + * @return UsedInsight + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/User.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/User.php new file mode 100644 index 0000000..0b91869 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/User.php @@ -0,0 +1,4268 @@ +_propDict)) { + if (is_a($this->_propDict["signInActivity"], "\Beta\Microsoft\Graph\Model\SignInActivity") || is_null($this->_propDict["signInActivity"])) { + return $this->_propDict["signInActivity"]; + } else { + $this->_propDict["signInActivity"] = new SignInActivity($this->_propDict["signInActivity"]); + return $this->_propDict["signInActivity"]; + } + } + return null; + } + + /** + * Sets the signInActivity + * Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but, not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.Note: There's a known issue with retrieving this property.This property is not returned for a user who has never signed in or last signed in before April 2020. + * + * @param SignInActivity $val The signInActivity + * + * @return User + */ + public function setSignInActivity($val) + { + $this->_propDict["signInActivity"] = $val; + return $this; + } + + /** + * Gets the accountEnabled + * true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter (eq, ne, not, and in). + * + * @return bool|null The accountEnabled + */ + public function getAccountEnabled() + { + if (array_key_exists("accountEnabled", $this->_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter (eq, ne, not, and in). + * + * @param bool $val The accountEnabled + * + * @return User + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the ageGroup + * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @return string|null The ageGroup + */ + public function getAgeGroup() + { + if (array_key_exists("ageGroup", $this->_propDict)) { + return $this->_propDict["ageGroup"]; + } else { + return null; + } + } + + /** + * Sets the ageGroup + * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @param string $val The ageGroup + * + * @return User + */ + public function setAgeGroup($val) + { + $this->_propDict["ageGroup"] = $val; + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Supports $filter (eq, not, and counting empty collections). + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Supports $filter (eq, not, and counting empty collections). + * + * @param AssignedLicense[] $val The assignedLicenses + * + * @return User + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + + + /** + * Gets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable.Supports $filter (eq and not). + * + * @return array|null The assignedPlans + */ + public function getAssignedPlans() + { + if (array_key_exists("assignedPlans", $this->_propDict)) { + return $this->_propDict["assignedPlans"]; + } else { + return null; + } + } + + /** + * Sets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable.Supports $filter (eq and not). + * + * @param AssignedPlan[] $val The assignedPlans + * + * @return User + */ + public function setAssignedPlans($val) + { + $this->_propDict["assignedPlans"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The businessPhones + * + * @return User + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the city + * The city in which the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city in which the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The city + * + * @return User + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + + /** + * Gets the companyName + * The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @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 which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The companyName + * + * @return User + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the consentProvidedForMinor + * Sets whether consent has been obtained for minors. Allowed values: null, Granted, Denied and NotRequired. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @return string|null The consentProvidedForMinor + */ + public function getConsentProvidedForMinor() + { + if (array_key_exists("consentProvidedForMinor", $this->_propDict)) { + return $this->_propDict["consentProvidedForMinor"]; + } else { + return null; + } + } + + /** + * Sets the consentProvidedForMinor + * Sets whether consent has been obtained for minors. Allowed values: null, Granted, Denied and NotRequired. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @param string $val The consentProvidedForMinor + * + * @return User + */ + public function setConsentProvidedForMinor($val) + { + $this->_propDict["consentProvidedForMinor"] = $val; + return $this; + } + + /** + * Gets the country + * The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The country + */ + public function getCountry() + { + if (array_key_exists("country", $this->_propDict)) { + return $this->_propDict["country"]; + } else { + return null; + } + } + + /** + * Sets the country + * The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The country + * + * @return User + */ + public function setCountry($val) + { + $this->_propDict["country"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Read-only. Supports $filter (eq, ne, not , ge, le, in). + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Read-only. Supports $filter (eq, ne, not , ge, le, in). + * + * @param \DateTime $val The createdDateTime + * + * @return User + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationType + * Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Supports $filter (eq, ne, not, and in). + * + * @return string|null The creationType + */ + public function getCreationType() + { + if (array_key_exists("creationType", $this->_propDict)) { + return $this->_propDict["creationType"]; + } else { + return null; + } + } + + /** + * Sets the creationType + * Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Supports $filter (eq, ne, not, and in). + * + * @param string $val The creationType + * + * @return User + */ + public function setCreationType($val) + { + $this->_propDict["creationType"] = $val; + return $this; + } + + /** + * Gets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). + * + * @return CustomSecurityAttributeValue|null The customSecurityAttributes + */ + public function getCustomSecurityAttributes() + { + if (array_key_exists("customSecurityAttributes", $this->_propDict)) { + if (is_a($this->_propDict["customSecurityAttributes"], "\Beta\Microsoft\Graph\Model\CustomSecurityAttributeValue") || is_null($this->_propDict["customSecurityAttributes"])) { + return $this->_propDict["customSecurityAttributes"]; + } else { + $this->_propDict["customSecurityAttributes"] = new CustomSecurityAttributeValue($this->_propDict["customSecurityAttributes"]); + return $this->_propDict["customSecurityAttributes"]; + } + } + return null; + } + + /** + * Sets the customSecurityAttributes + * An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). + * + * @param CustomSecurityAttributeValue $val The customSecurityAttributes + * + * @return User + */ + public function setCustomSecurityAttributes($val) + { + $this->_propDict["customSecurityAttributes"] = $val; + return $this; + } + + /** + * Gets the department + * The name for the department in which the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The name for the department in which the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). + * + * @param string $val The department + * + * @return User + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + + /** + * Gets the deviceKeys + * + * @return array|null The deviceKeys + */ + public function getDeviceKeys() + { + if (array_key_exists("deviceKeys", $this->_propDict)) { + return $this->_propDict["deviceKeys"]; + } else { + return null; + } + } + + /** + * Sets the deviceKeys + * + * @param DeviceKey[] $val The deviceKeys + * + * @return User + */ + public function setDeviceKeys($val) + { + $this->_propDict["deviceKeys"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + * + * @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 + * The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + * + * @param string $val The displayName + * + * @return User + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the employeeHireDate + * The date and time when the user was hired or will start work in case of a future hire. Supports $filter (eq, ne, not , ge, le, in). + * + * @return \DateTime|null The employeeHireDate + */ + public function getEmployeeHireDate() + { + if (array_key_exists("employeeHireDate", $this->_propDict)) { + if (is_a($this->_propDict["employeeHireDate"], "\DateTime") || is_null($this->_propDict["employeeHireDate"])) { + return $this->_propDict["employeeHireDate"]; + } else { + $this->_propDict["employeeHireDate"] = new \DateTime($this->_propDict["employeeHireDate"]); + return $this->_propDict["employeeHireDate"]; + } + } + return null; + } + + /** + * Sets the employeeHireDate + * The date and time when the user was hired or will start work in case of a future hire. Supports $filter (eq, ne, not , ge, le, in). + * + * @param \DateTime $val The employeeHireDate + * + * @return User + */ + public function setEmployeeHireDate($val) + { + $this->_propDict["employeeHireDate"] = $val; + return $this; + } + + /** + * Gets the employeeId + * The employee identifier assigned to the user by the organization. The maximum length is 16 characters.Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The employeeId + */ + public function getEmployeeId() + { + if (array_key_exists("employeeId", $this->_propDict)) { + return $this->_propDict["employeeId"]; + } else { + return null; + } + } + + /** + * Sets the employeeId + * The employee identifier assigned to the user by the organization. The maximum length is 16 characters.Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The employeeId + * + * @return User + */ + public function setEmployeeId($val) + { + $this->_propDict["employeeId"] = $val; + return $this; + } + + /** + * Gets the employeeOrgData + * Represents organization data (e.g. division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). + * + * @return EmployeeOrgData|null The employeeOrgData + */ + public function getEmployeeOrgData() + { + if (array_key_exists("employeeOrgData", $this->_propDict)) { + if (is_a($this->_propDict["employeeOrgData"], "\Beta\Microsoft\Graph\Model\EmployeeOrgData") || is_null($this->_propDict["employeeOrgData"])) { + return $this->_propDict["employeeOrgData"]; + } else { + $this->_propDict["employeeOrgData"] = new EmployeeOrgData($this->_propDict["employeeOrgData"]); + return $this->_propDict["employeeOrgData"]; + } + } + return null; + } + + /** + * Sets the employeeOrgData + * Represents organization data (e.g. division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). + * + * @param EmployeeOrgData $val The employeeOrgData + * + * @return User + */ + public function setEmployeeOrgData($val) + { + $this->_propDict["employeeOrgData"] = $val; + return $this; + } + + /** + * Gets the employeeType + * Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Supports $filter (eq, ne, not , ge, le, in, startsWith). + * + * @return string|null The employeeType + */ + public function getEmployeeType() + { + if (array_key_exists("employeeType", $this->_propDict)) { + return $this->_propDict["employeeType"]; + } else { + return null; + } + } + + /** + * Sets the employeeType + * Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Supports $filter (eq, ne, not , ge, le, in, startsWith). + * + * @param string $val The employeeType + * + * @return User + */ + public function setEmployeeType($val) + { + $this->_propDict["employeeType"] = $val; + return $this; + } + + /** + * Gets the externalUserState + * For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Supports $filter (eq, ne, not , in). + * + * @return string|null The externalUserState + */ + public function getExternalUserState() + { + if (array_key_exists("externalUserState", $this->_propDict)) { + return $this->_propDict["externalUserState"]; + } else { + return null; + } + } + + /** + * Sets the externalUserState + * For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Supports $filter (eq, ne, not , in). + * + * @param string $val The externalUserState + * + * @return User + */ + public function setExternalUserState($val) + { + $this->_propDict["externalUserState"] = $val; + return $this; + } + + /** + * Gets the externalUserStateChangeDateTime + * Shows the timestamp for the latest change to the externalUserState property. Supports $filter (eq, ne, not , in). + * + * @return string|null The externalUserStateChangeDateTime + */ + public function getExternalUserStateChangeDateTime() + { + if (array_key_exists("externalUserStateChangeDateTime", $this->_propDict)) { + return $this->_propDict["externalUserStateChangeDateTime"]; + } else { + return null; + } + } + + /** + * Sets the externalUserStateChangeDateTime + * Shows the timestamp for the latest change to the externalUserState property. Supports $filter (eq, ne, not , in). + * + * @param string $val The externalUserStateChangeDateTime + * + * @return User + */ + public function setExternalUserStateChangeDateTime($val) + { + $this->_propDict["externalUserStateChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the faxNumber + * The fax number of the user. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The faxNumber + */ + public function getFaxNumber() + { + if (array_key_exists("faxNumber", $this->_propDict)) { + return $this->_propDict["faxNumber"]; + } else { + return null; + } + } + + /** + * Sets the faxNumber + * The fax number of the user. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The faxNumber + * + * @return User + */ + public function setFaxNumber($val) + { + $this->_propDict["faxNumber"] = $val; + return $this; + } + + /** + * Gets the givenName + * The given name (first name) of the user. Maximum length is 64 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The given name (first name) of the user. Maximum length is 64 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The givenName + * + * @return User + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + + /** + * Gets the identities + * Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName. + * + * @return array|null The identities + */ + public function getIdentities() + { + if (array_key_exists("identities", $this->_propDict)) { + return $this->_propDict["identities"]; + } else { + return null; + } + } + + /** + * Sets the identities + * Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName. + * + * @param ObjectIdentity[] $val The identities + * + * @return User + */ + public function setIdentities($val) + { + $this->_propDict["identities"] = $val; + return $this; + } + + /** + * Gets the imAddresses + * The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The imAddresses + */ + public function getImAddresses() + { + if (array_key_exists("imAddresses", $this->_propDict)) { + return $this->_propDict["imAddresses"]; + } else { + return null; + } + } + + /** + * Sets the imAddresses + * The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The imAddresses + * + * @return User + */ + public function setImAddresses($val) + { + $this->_propDict["imAddresses"] = $val; + return $this; + } + + /** + * Gets the infoCatalogs + * Identifies the info segments assigned to the user. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The infoCatalogs + */ + public function getInfoCatalogs() + { + if (array_key_exists("infoCatalogs", $this->_propDict)) { + return $this->_propDict["infoCatalogs"]; + } else { + return null; + } + } + + /** + * Sets the infoCatalogs + * Identifies the info segments assigned to the user. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The infoCatalogs + * + * @return User + */ + public function setInfoCatalogs($val) + { + $this->_propDict["infoCatalogs"] = $val; + return $this; + } + + /** + * Gets the isManagementRestricted + * + * @return bool|null The isManagementRestricted + */ + public function getIsManagementRestricted() + { + if (array_key_exists("isManagementRestricted", $this->_propDict)) { + return $this->_propDict["isManagementRestricted"]; + } else { + return null; + } + } + + /** + * Sets the isManagementRestricted + * + * @param bool $val The isManagementRestricted + * + * @return User + */ + public function setIsManagementRestricted($val) + { + $this->_propDict["isManagementRestricted"] = boolval($val); + return $this; + } + + /** + * Gets the isResourceAccount + * Do not use – reserved for future use. + * + * @return bool|null The isResourceAccount + */ + public function getIsResourceAccount() + { + if (array_key_exists("isResourceAccount", $this->_propDict)) { + return $this->_propDict["isResourceAccount"]; + } else { + return null; + } + } + + /** + * Sets the isResourceAccount + * Do not use – reserved for future use. + * + * @param bool $val The isResourceAccount + * + * @return User + */ + public function setIsResourceAccount($val) + { + $this->_propDict["isResourceAccount"] = boolval($val); + return $this; + } + + /** + * Gets the jobTitle + * The user's job title. Maximum length is 128 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * The user's job title. Maximum length is 128 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The jobTitle + * + * @return User + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the lastPasswordChangeDateTime + * The time when this Azure AD user last changed their password or when their password was created, , whichever date the latest action was performed. 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. Returned only on $select. + * + * @return \DateTime|null The lastPasswordChangeDateTime + */ + public function getLastPasswordChangeDateTime() + { + if (array_key_exists("lastPasswordChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastPasswordChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastPasswordChangeDateTime"])) { + return $this->_propDict["lastPasswordChangeDateTime"]; + } else { + $this->_propDict["lastPasswordChangeDateTime"] = new \DateTime($this->_propDict["lastPasswordChangeDateTime"]); + return $this->_propDict["lastPasswordChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the lastPasswordChangeDateTime + * The time when this Azure AD user last changed their password or when their password was created, , whichever date the latest action was performed. 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. Returned only on $select. + * + * @param \DateTime $val The lastPasswordChangeDateTime + * + * @return User + */ + public function setLastPasswordChangeDateTime($val) + { + $this->_propDict["lastPasswordChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the legalAgeGroupClassification + * Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. + * + * @return string|null The legalAgeGroupClassification + */ + public function getLegalAgeGroupClassification() + { + if (array_key_exists("legalAgeGroupClassification", $this->_propDict)) { + return $this->_propDict["legalAgeGroupClassification"]; + } else { + return null; + } + } + + /** + * Sets the legalAgeGroupClassification + * Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. + * + * @param string $val The legalAgeGroupClassification + * + * @return User + */ + public function setLegalAgeGroupClassification($val) + { + $this->_propDict["legalAgeGroupClassification"] = $val; + return $this; + } + + + /** + * Gets the licenseAssignmentStates + * State of license assignments for this user. Read-only. Returned only on $select. + * + * @return array|null The licenseAssignmentStates + */ + public function getLicenseAssignmentStates() + { + if (array_key_exists("licenseAssignmentStates", $this->_propDict)) { + return $this->_propDict["licenseAssignmentStates"]; + } else { + return null; + } + } + + /** + * Sets the licenseAssignmentStates + * State of license assignments for this user. Read-only. Returned only on $select. + * + * @param LicenseAssignmentState[] $val The licenseAssignmentStates + * + * @return User + */ + public function setLicenseAssignmentStates($val) + { + $this->_propDict["licenseAssignmentStates"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the user, for example, admin@contoso.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. For Azure AD B2C accounts, this property can be updated up to only ten times with unique SMTP addresses. This property cannot contain accent characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the user, for example, admin@contoso.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. For Azure AD B2C accounts, this property can be updated up to only ten times with unique SMTP addresses. This property cannot contain accent characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + * + * @param string $val The mail + * + * @return User + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mailNickname + * + * @return User + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the mobilePhone + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mobilePhone + * + * @return User + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * The office location in the user's place of business. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * The office location in the user's place of business. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The officeLocation + * + * @return User + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the onPremisesDistinguishedName + * Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @return string|null The onPremisesDistinguishedName + */ + public function getOnPremisesDistinguishedName() + { + if (array_key_exists("onPremisesDistinguishedName", $this->_propDict)) { + return $this->_propDict["onPremisesDistinguishedName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesDistinguishedName + * Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @param string $val The onPremisesDistinguishedName + * + * @return User + */ + public function setOnPremisesDistinguishedName($val) + { + $this->_propDict["onPremisesDistinguishedName"] = $val; + return $this; + } + + /** + * Gets the onPremisesDomainName + * Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @return string|null The onPremisesDomainName + */ + public function getOnPremisesDomainName() + { + if (array_key_exists("onPremisesDomainName", $this->_propDict)) { + return $this->_propDict["onPremisesDomainName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesDomainName + * Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @param string $val The onPremisesDomainName + * + * @return User + */ + public function setOnPremisesDomainName($val) + { + $this->_propDict["onPremisesDomainName"] = $val; + return $this; + } + + /** + * Gets the onPremisesExtensionAttributes + * Contains extensionAttributes1-15 for the user. The individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. + * + * @return OnPremisesExtensionAttributes|null The onPremisesExtensionAttributes + */ + public function getOnPremisesExtensionAttributes() + { + if (array_key_exists("onPremisesExtensionAttributes", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesExtensionAttributes"], "\Beta\Microsoft\Graph\Model\OnPremisesExtensionAttributes") || is_null($this->_propDict["onPremisesExtensionAttributes"])) { + return $this->_propDict["onPremisesExtensionAttributes"]; + } else { + $this->_propDict["onPremisesExtensionAttributes"] = new OnPremisesExtensionAttributes($this->_propDict["onPremisesExtensionAttributes"]); + return $this->_propDict["onPremisesExtensionAttributes"]; + } + } + return null; + } + + /** + * Sets the onPremisesExtensionAttributes + * Contains extensionAttributes1-15 for the user. The individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. + * + * @param OnPremisesExtensionAttributes $val The onPremisesExtensionAttributes + * + * @return User + */ + public function setOnPremisesExtensionAttributes($val) + { + $this->_propDict["onPremisesExtensionAttributes"] = $val; + return $this; + } + + /** + * Gets the onPremisesImmutableId + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters cannot be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). + * + * @return string|null The onPremisesImmutableId + */ + public function getOnPremisesImmutableId() + { + if (array_key_exists("onPremisesImmutableId", $this->_propDict)) { + return $this->_propDict["onPremisesImmutableId"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesImmutableId + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters cannot be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). + * + * @param string $val The onPremisesImmutableId + * + * @return User + */ + public function setOnPremisesImmutableId($val) + { + $this->_propDict["onPremisesImmutableId"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return User + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + + /** + * Gets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Supports $filter (eq, not, ge, le). + * + * @return array|null The onPremisesProvisioningErrors + */ + public function getOnPremisesProvisioningErrors() + { + if (array_key_exists("onPremisesProvisioningErrors", $this->_propDict)) { + return $this->_propDict["onPremisesProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Supports $filter (eq, not, ge, le). + * + * @param OnPremisesProvisioningError[] $val The onPremisesProvisioningErrors + * + * @return User + */ + public function setOnPremisesProvisioningErrors($val) + { + $this->_propDict["onPremisesProvisioningErrors"] = $val; + return $this; + } + + /** + * Gets the onPremisesSamAccountName + * Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @return string|null The onPremisesSamAccountName + */ + public function getOnPremisesSamAccountName() + { + if (array_key_exists("onPremisesSamAccountName", $this->_propDict)) { + return $this->_propDict["onPremisesSamAccountName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSamAccountName + * Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @param string $val The onPremisesSamAccountName + * + * @return User + */ + public function setOnPremisesSamAccountName($val) + { + $this->_propDict["onPremisesSamAccountName"] = $val; + return $this; + } + + /** + * Gets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Supports $filter (eq including on null values). + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Supports $filter (eq including on null values). + * + * @param string $val The onPremisesSecurityIdentifier + * + * @return User + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return User + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the onPremisesUserPrincipalName + * Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @return string|null The onPremisesUserPrincipalName + */ + public function getOnPremisesUserPrincipalName() + { + if (array_key_exists("onPremisesUserPrincipalName", $this->_propDict)) { + return $this->_propDict["onPremisesUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesUserPrincipalName + * Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @param string $val The onPremisesUserPrincipalName + * + * @return User + */ + public function setOnPremisesUserPrincipalName($val) + { + $this->_propDict["onPremisesUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the otherMails + * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, and counting empty collections). + * + * @return string|null The otherMails + */ + public function getOtherMails() + { + if (array_key_exists("otherMails", $this->_propDict)) { + return $this->_propDict["otherMails"]; + } else { + return null; + } + } + + /** + * Sets the otherMails + * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, and counting empty collections). + * + * @param string $val The otherMails + * + * @return User + */ + public function setOtherMails($val) + { + $this->_propDict["otherMails"] = $val; + return $this; + } + + /** + * Gets the passwordPolicies + * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + * + * @return string|null The passwordPolicies + */ + public function getPasswordPolicies() + { + if (array_key_exists("passwordPolicies", $this->_propDict)) { + return $this->_propDict["passwordPolicies"]; + } else { + return null; + } + } + + /** + * Sets the passwordPolicies + * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + * + * @param string $val The passwordPolicies + * + * @return User + */ + public function setPasswordPolicies($val) + { + $this->_propDict["passwordPolicies"] = $val; + return $this; + } + + /** + * Gets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. NOTE: For Azure B2C tenants, the forceChangePasswordNextSignIn property should be set to false and instead use custom policies and user flows to force password reset at first logon. See Force password reset at first logon. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return PasswordProfile|null The passwordProfile + */ + public function getPasswordProfile() + { + if (array_key_exists("passwordProfile", $this->_propDict)) { + if (is_a($this->_propDict["passwordProfile"], "\Beta\Microsoft\Graph\Model\PasswordProfile") || is_null($this->_propDict["passwordProfile"])) { + return $this->_propDict["passwordProfile"]; + } else { + $this->_propDict["passwordProfile"] = new PasswordProfile($this->_propDict["passwordProfile"]); + return $this->_propDict["passwordProfile"]; + } + } + return null; + } + + /** + * Sets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. NOTE: For Azure B2C tenants, the forceChangePasswordNextSignIn property should be set to false and instead use custom policies and user flows to force password reset at first logon. See Force password reset at first logon. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param PasswordProfile $val The passwordProfile + * + * @return User + */ + public function setPasswordProfile($val) + { + $this->_propDict["passwordProfile"] = $val; + return $this; + } + + /** + * Gets the postalCode + * The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The postalCode + * + * @return User + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + + /** + * Gets the preferredDataLocation + * The preferred data location for the user. For more information, see OneDrive Online Multi-Geo. + * + * @return string|null The preferredDataLocation + */ + public function getPreferredDataLocation() + { + if (array_key_exists("preferredDataLocation", $this->_propDict)) { + return $this->_propDict["preferredDataLocation"]; + } else { + return null; + } + } + + /** + * Sets the preferredDataLocation + * The preferred data location for the user. For more information, see OneDrive Online Multi-Geo. + * + * @param string $val The preferredDataLocation + * + * @return User + */ + public function setPreferredDataLocation($val) + { + $this->_propDict["preferredDataLocation"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The preferredLanguage + * + * @return User + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + + /** + * Gets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The provisionedPlans + */ + public function getProvisionedPlans() + { + if (array_key_exists("provisionedPlans", $this->_propDict)) { + return $this->_propDict["provisionedPlans"]; + } else { + return null; + } + } + + /** + * Sets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param ProvisionedPlan[] $val The provisionedPlans + * + * @return User + */ + public function setProvisionedPlans($val) + { + $this->_propDict["provisionedPlans"] = $val; + return $this; + } + + /** + * Gets the proxyAddresses + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @return string|null The proxyAddresses + */ + public function getProxyAddresses() + { + if (array_key_exists("proxyAddresses", $this->_propDict)) { + return $this->_propDict["proxyAddresses"]; + } else { + return null; + } + } + + /** + * Sets the proxyAddresses + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @param string $val The proxyAddresses + * + * @return User + */ + public function setProxyAddresses($val) + { + $this->_propDict["proxyAddresses"] = $val; + return $this; + } + + /** + * Gets the refreshTokensValidFromDateTime + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. + * + * @return \DateTime|null The refreshTokensValidFromDateTime + */ + public function getRefreshTokensValidFromDateTime() + { + if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) { + if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime") || is_null($this->_propDict["refreshTokensValidFromDateTime"])) { + return $this->_propDict["refreshTokensValidFromDateTime"]; + } else { + $this->_propDict["refreshTokensValidFromDateTime"] = new \DateTime($this->_propDict["refreshTokensValidFromDateTime"]); + return $this->_propDict["refreshTokensValidFromDateTime"]; + } + } + return null; + } + + /** + * Sets the refreshTokensValidFromDateTime + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. + * + * @param \DateTime $val The refreshTokensValidFromDateTime + * + * @return User + */ + public function setRefreshTokensValidFromDateTime($val) + { + $this->_propDict["refreshTokensValidFromDateTime"] = $val; + return $this; + } + + /** + * Gets the showInAddressList + * Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. + * + * @return bool|null The showInAddressList + */ + public function getShowInAddressList() + { + if (array_key_exists("showInAddressList", $this->_propDict)) { + return $this->_propDict["showInAddressList"]; + } else { + return null; + } + } + + /** + * Sets the showInAddressList + * Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. + * + * @param bool $val The showInAddressList + * + * @return User + */ + public function setShowInAddressList($val) + { + $this->_propDict["showInAddressList"] = boolval($val); + return $this; + } + + /** + * Gets the signInSessionsValidFromDateTime + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. + * + * @return \DateTime|null The signInSessionsValidFromDateTime + */ + public function getSignInSessionsValidFromDateTime() + { + if (array_key_exists("signInSessionsValidFromDateTime", $this->_propDict)) { + if (is_a($this->_propDict["signInSessionsValidFromDateTime"], "\DateTime") || is_null($this->_propDict["signInSessionsValidFromDateTime"])) { + return $this->_propDict["signInSessionsValidFromDateTime"]; + } else { + $this->_propDict["signInSessionsValidFromDateTime"] = new \DateTime($this->_propDict["signInSessionsValidFromDateTime"]); + return $this->_propDict["signInSessionsValidFromDateTime"]; + } + } + return null; + } + + /** + * Sets the signInSessionsValidFromDateTime + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. + * + * @param \DateTime $val The signInSessionsValidFromDateTime + * + * @return User + */ + public function setSignInSessionsValidFromDateTime($val) + { + $this->_propDict["signInSessionsValidFromDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The state or province in the user's address. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state or province in the user's address. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The state + * + * @return User + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the streetAddress + * The street address of the user's place of business. Maximum length is 1024 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The streetAddress + */ + public function getStreetAddress() + { + if (array_key_exists("streetAddress", $this->_propDict)) { + return $this->_propDict["streetAddress"]; + } else { + return null; + } + } + + /** + * Sets the streetAddress + * The street address of the user's place of business. Maximum length is 1024 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The streetAddress + * + * @return User + */ + public function setStreetAddress($val) + { + $this->_propDict["streetAddress"] = $val; + return $this; + } + + /** + * Gets the surname + * The user's surname (family name or last name). Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The user's surname (family name or last name). Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The surname + * + * @return User + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the usageLocation + * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @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 + * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The usageLocation + * + * @return User + */ + public function setUsageLocation($val) + { + $this->_propDict["usageLocation"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + * + * @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 + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + * + * @param string $val The userPrincipalName + * + * @return User + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userType + * A String value that can be used to classify user types in your directory, such as Member and Guest. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for member and guest users, see What are the default user permissions in Azure Active Directory? + * + * @return string|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + return $this->_propDict["userType"]; + } else { + return null; + } + } + + /** + * Sets the userType + * A String value that can be used to classify user types in your directory, such as Member and Guest. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for member and guest users, see What are the default user permissions in Azure Active Directory? + * + * @param string $val The userType + * + * @return User + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } + + /** + * Gets the mailboxSettings + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * + * @return MailboxSettings|null The mailboxSettings + */ + public function getMailboxSettings() + { + if (array_key_exists("mailboxSettings", $this->_propDict)) { + if (is_a($this->_propDict["mailboxSettings"], "\Beta\Microsoft\Graph\Model\MailboxSettings") || is_null($this->_propDict["mailboxSettings"])) { + return $this->_propDict["mailboxSettings"]; + } else { + $this->_propDict["mailboxSettings"] = new MailboxSettings($this->_propDict["mailboxSettings"]); + return $this->_propDict["mailboxSettings"]; + } + } + return null; + } + + /** + * Sets the mailboxSettings + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * + * @param MailboxSettings $val The mailboxSettings + * + * @return User + */ + public function setMailboxSettings($val) + { + $this->_propDict["mailboxSettings"] = $val; + return $this; + } + + /** + * Gets the deviceEnrollmentLimit + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + * + * @return int|null The deviceEnrollmentLimit + */ + public function getDeviceEnrollmentLimit() + { + if (array_key_exists("deviceEnrollmentLimit", $this->_propDict)) { + return $this->_propDict["deviceEnrollmentLimit"]; + } else { + return null; + } + } + + /** + * Sets the deviceEnrollmentLimit + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + * + * @param int $val The deviceEnrollmentLimit + * + * @return User + */ + public function setDeviceEnrollmentLimit($val) + { + $this->_propDict["deviceEnrollmentLimit"] = intval($val); + return $this; + } + + /** + * Gets the print + * + * @return UserPrint|null The print + */ + public function getPrint() + { + if (array_key_exists("print", $this->_propDict)) { + if (is_a($this->_propDict["print"], "\Beta\Microsoft\Graph\Model\UserPrint") || is_null($this->_propDict["print"])) { + return $this->_propDict["print"]; + } else { + $this->_propDict["print"] = new UserPrint($this->_propDict["print"]); + return $this->_propDict["print"]; + } + } + return null; + } + + /** + * Sets the print + * + * @param UserPrint $val The print + * + * @return User + */ + public function setPrint($val) + { + $this->_propDict["print"] = $val; + return $this; + } + + /** + * Gets the aboutMe + * A freeform text entry field for the user to describe themselves. Returned only on $select. + * + * @return string|null The aboutMe + */ + public function getAboutMe() + { + if (array_key_exists("aboutMe", $this->_propDict)) { + return $this->_propDict["aboutMe"]; + } else { + return null; + } + } + + /** + * Sets the aboutMe + * A freeform text entry field for the user to describe themselves. Returned only on $select. + * + * @param string $val The aboutMe + * + * @return User + */ + public function setAboutMe($val) + { + $this->_propDict["aboutMe"] = $val; + return $this; + } + + /** + * Gets the birthday + * The birthday of the user. 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 Returned only on $select. + * + * @return \DateTime|null The birthday + */ + public function getBirthday() + { + if (array_key_exists("birthday", $this->_propDict)) { + if (is_a($this->_propDict["birthday"], "\DateTime") || is_null($this->_propDict["birthday"])) { + return $this->_propDict["birthday"]; + } else { + $this->_propDict["birthday"] = new \DateTime($this->_propDict["birthday"]); + return $this->_propDict["birthday"]; + } + } + return null; + } + + /** + * Sets the birthday + * The birthday of the user. 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 Returned only on $select. + * + * @param \DateTime $val The birthday + * + * @return User + */ + public function setBirthday($val) + { + $this->_propDict["birthday"] = $val; + return $this; + } + + /** + * Gets the hireDate + * The hire date of the user. 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. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs. + * + * @return \DateTime|null The hireDate + */ + public function getHireDate() + { + if (array_key_exists("hireDate", $this->_propDict)) { + if (is_a($this->_propDict["hireDate"], "\DateTime") || is_null($this->_propDict["hireDate"])) { + return $this->_propDict["hireDate"]; + } else { + $this->_propDict["hireDate"] = new \DateTime($this->_propDict["hireDate"]); + return $this->_propDict["hireDate"]; + } + } + return null; + } + + /** + * Sets the hireDate + * The hire date of the user. 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. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs. + * + * @param \DateTime $val The hireDate + * + * @return User + */ + public function setHireDate($val) + { + $this->_propDict["hireDate"] = $val; + return $this; + } + + /** + * Gets the interests + * A list for the user to describe their interests. Returned only on $select. + * + * @return string|null The interests + */ + public function getInterests() + { + if (array_key_exists("interests", $this->_propDict)) { + return $this->_propDict["interests"]; + } else { + return null; + } + } + + /** + * Sets the interests + * A list for the user to describe their interests. Returned only on $select. + * + * @param string $val The interests + * + * @return User + */ + public function setInterests($val) + { + $this->_propDict["interests"] = $val; + return $this; + } + + /** + * Gets the mySite + * The URL for the user's personal site. Returned only on $select. + * + * @return string|null The mySite + */ + public function getMySite() + { + if (array_key_exists("mySite", $this->_propDict)) { + return $this->_propDict["mySite"]; + } else { + return null; + } + } + + /** + * Sets the mySite + * The URL for the user's personal site. Returned only on $select. + * + * @param string $val The mySite + * + * @return User + */ + public function setMySite($val) + { + $this->_propDict["mySite"] = $val; + return $this; + } + + /** + * Gets the pastProjects + * A list for the user to enumerate their past projects. Returned only on $select. + * + * @return string|null The pastProjects + */ + public function getPastProjects() + { + if (array_key_exists("pastProjects", $this->_propDict)) { + return $this->_propDict["pastProjects"]; + } else { + return null; + } + } + + /** + * Sets the pastProjects + * A list for the user to enumerate their past projects. Returned only on $select. + * + * @param string $val The pastProjects + * + * @return User + */ + public function setPastProjects($val) + { + $this->_propDict["pastProjects"] = $val; + return $this; + } + + /** + * Gets the preferredName + * The preferred name for the user. Returned only on $select. + * + * @return string|null The preferredName + */ + public function getPreferredName() + { + if (array_key_exists("preferredName", $this->_propDict)) { + return $this->_propDict["preferredName"]; + } else { + return null; + } + } + + /** + * Sets the preferredName + * The preferred name for the user. Returned only on $select. + * + * @param string $val The preferredName + * + * @return User + */ + public function setPreferredName($val) + { + $this->_propDict["preferredName"] = $val; + return $this; + } + + /** + * Gets the responsibilities + * A list for the user to enumerate their responsibilities. Returned only on $select. + * + * @return string|null The responsibilities + */ + public function getResponsibilities() + { + if (array_key_exists("responsibilities", $this->_propDict)) { + return $this->_propDict["responsibilities"]; + } else { + return null; + } + } + + /** + * Sets the responsibilities + * A list for the user to enumerate their responsibilities. Returned only on $select. + * + * @param string $val The responsibilities + * + * @return User + */ + public function setResponsibilities($val) + { + $this->_propDict["responsibilities"] = $val; + return $this; + } + + /** + * Gets the schools + * A list for the user to enumerate the schools they have attended. Returned only on $select. + * + * @return string|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * A list for the user to enumerate the schools they have attended. Returned only on $select. + * + * @param string $val The schools + * + * @return User + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + /** + * Gets the skills + * A list for the user to enumerate their skills. Returned only on $select. + * + * @return string|null The skills + */ + public function getSkills() + { + if (array_key_exists("skills", $this->_propDict)) { + return $this->_propDict["skills"]; + } else { + return null; + } + } + + /** + * Sets the skills + * A list for the user to enumerate their skills. Returned only on $select. + * + * @param string $val The skills + * + * @return User + */ + public function setSkills($val) + { + $this->_propDict["skills"] = $val; + return $this; + } + + /** + * Gets the analytics + * + * @return UserAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\UserAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new UserAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * + * @param UserAnalytics $val The analytics + * + * @return User + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + + /** + * Gets the cloudPCs + * + * @return array|null The cloudPCs + */ + public function getCloudPCs() + { + if (array_key_exists("cloudPCs", $this->_propDict)) { + return $this->_propDict["cloudPCs"]; + } else { + return null; + } + } + + /** + * Sets the cloudPCs + * + * @param CloudPC[] $val The cloudPCs + * + * @return User + */ + public function setCloudPCs($val) + { + $this->_propDict["cloudPCs"] = $val; + return $this; + } + + + /** + * Gets the usageRights + * Represents the usage rights a user has been granted. + * + * @return array|null The usageRights + */ + public function getUsageRights() + { + if (array_key_exists("usageRights", $this->_propDict)) { + return $this->_propDict["usageRights"]; + } else { + return null; + } + } + + /** + * Sets the usageRights + * Represents the usage rights a user has been granted. + * + * @param UsageRight[] $val The usageRights + * + * @return User + */ + public function setUsageRights($val) + { + $this->_propDict["usageRights"] = $val; + return $this; + } + + /** + * Gets the informationProtection + * + * @return InformationProtection|null The informationProtection + */ + public function getInformationProtection() + { + if (array_key_exists("informationProtection", $this->_propDict)) { + if (is_a($this->_propDict["informationProtection"], "\Beta\Microsoft\Graph\Model\InformationProtection") || is_null($this->_propDict["informationProtection"])) { + return $this->_propDict["informationProtection"]; + } else { + $this->_propDict["informationProtection"] = new InformationProtection($this->_propDict["informationProtection"]); + return $this->_propDict["informationProtection"]; + } + } + return null; + } + + /** + * Sets the informationProtection + * + * @param InformationProtection $val The informationProtection + * + * @return User + */ + public function setInformationProtection($val) + { + $this->_propDict["informationProtection"] = $val; + return $this; + } + + + /** + * Gets the appRoleAssignments + * Represents the app roles a user has been granted for an application. Supports $expand. + * + * @return array|null The appRoleAssignments + */ + public function getAppRoleAssignments() + { + if (array_key_exists("appRoleAssignments", $this->_propDict)) { + return $this->_propDict["appRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignments + * Represents the app roles a user has been granted for an application. Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignments + * + * @return User + */ + public function setAppRoleAssignments($val) + { + $this->_propDict["appRoleAssignments"] = $val; + return $this; + } + + + /** + * Gets the createdObjects + * Directory objects that were created by the user. Read-only. Nullable. + * + * @return array|null The createdObjects + */ + public function getCreatedObjects() + { + if (array_key_exists("createdObjects", $this->_propDict)) { + return $this->_propDict["createdObjects"]; + } else { + return null; + } + } + + /** + * Sets the createdObjects + * Directory objects that were created by the user. Read-only. Nullable. + * + * @param DirectoryObject[] $val The createdObjects + * + * @return User + */ + public function setCreatedObjects($val) + { + $this->_propDict["createdObjects"] = $val; + return $this; + } + + + /** + * Gets the directReports + * The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + * + * @return array|null The directReports + */ + public function getDirectReports() + { + if (array_key_exists("directReports", $this->_propDict)) { + return $this->_propDict["directReports"]; + } else { + return null; + } + } + + /** + * Sets the directReports + * The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The directReports + * + * @return User + */ + public function setDirectReports($val) + { + $this->_propDict["directReports"] = $val; + return $this; + } + + + /** + * Gets the licenseDetails + * A collection of this user's license details. Read-only. + * + * @return array|null The licenseDetails + */ + public function getLicenseDetails() + { + if (array_key_exists("licenseDetails", $this->_propDict)) { + return $this->_propDict["licenseDetails"]; + } else { + return null; + } + } + + /** + * Sets the licenseDetails + * A collection of this user's license details. Read-only. + * + * @param LicenseDetails[] $val The licenseDetails + * + * @return User + */ + public function setLicenseDetails($val) + { + $this->_propDict["licenseDetails"] = $val; + return $this; + } + + /** + * Gets the manager + * The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand. + * + * @return DirectoryObject|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new DirectoryObject($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand. + * + * @param DirectoryObject $val The manager + * + * @return User + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return User + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the oauth2PermissionGrants + * + * @return array|null The oauth2PermissionGrants + */ + public function getOauth2PermissionGrants() + { + if (array_key_exists("oauth2PermissionGrants", $this->_propDict)) { + return $this->_propDict["oauth2PermissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the oauth2PermissionGrants + * + * @param OAuth2PermissionGrant[] $val The oauth2PermissionGrants + * + * @return User + */ + public function setOauth2PermissionGrants($val) + { + $this->_propDict["oauth2PermissionGrants"] = $val; + return $this; + } + + + /** + * Gets the ownedDevices + * Devices that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @return array|null The ownedDevices + */ + public function getOwnedDevices() + { + if (array_key_exists("ownedDevices", $this->_propDict)) { + return $this->_propDict["ownedDevices"]; + } else { + return null; + } + } + + /** + * Sets the ownedDevices + * Devices that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The ownedDevices + * + * @return User + */ + public function setOwnedDevices($val) + { + $this->_propDict["ownedDevices"] = $val; + return $this; + } + + + /** + * Gets the ownedObjects + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @return array|null The ownedObjects + */ + public function getOwnedObjects() + { + if (array_key_exists("ownedObjects", $this->_propDict)) { + return $this->_propDict["ownedObjects"]; + } else { + return null; + } + } + + /** + * Sets the ownedObjects + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The ownedObjects + * + * @return User + */ + public function setOwnedObjects($val) + { + $this->_propDict["ownedObjects"] = $val; + return $this; + } + + + /** + * Gets the registeredDevices + * Devices that are registered for the user. Read-only. Nullable. Supports $expand. + * + * @return array|null The registeredDevices + */ + public function getRegisteredDevices() + { + if (array_key_exists("registeredDevices", $this->_propDict)) { + return $this->_propDict["registeredDevices"]; + } else { + return null; + } + } + + /** + * Sets the registeredDevices + * Devices that are registered for the user. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The registeredDevices + * + * @return User + */ + public function setRegisteredDevices($val) + { + $this->_propDict["registeredDevices"] = $val; + return $this; + } + + + /** + * Gets the scopedRoleMemberOf + * The scoped-role administrative unit memberships for this user. Read-only. Nullable. + * + * @return array|null The scopedRoleMemberOf + */ + public function getScopedRoleMemberOf() + { + if (array_key_exists("scopedRoleMemberOf", $this->_propDict)) { + return $this->_propDict["scopedRoleMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the scopedRoleMemberOf + * The scoped-role administrative unit memberships for this user. Read-only. Nullable. + * + * @param ScopedRoleMembership[] $val The scopedRoleMemberOf + * + * @return User + */ + public function setScopedRoleMemberOf($val) + { + $this->_propDict["scopedRoleMemberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return User + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveReports + * The transitive reports for a user. Read-only. + * + * @return array|null The transitiveReports + */ + public function getTransitiveReports() + { + if (array_key_exists("transitiveReports", $this->_propDict)) { + return $this->_propDict["transitiveReports"]; + } else { + return null; + } + } + + /** + * Sets the transitiveReports + * The transitive reports for a user. Read-only. + * + * @param DirectoryObject[] $val The transitiveReports + * + * @return User + */ + public function setTransitiveReports($val) + { + $this->_propDict["transitiveReports"] = $val; + return $this; + } + + /** + * Gets the calendar + * The user's primary calendar. Read-only. + * + * @return Calendar|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\Calendar") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * The user's primary calendar. Read-only. + * + * @param Calendar $val The calendar + * + * @return User + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + + + /** + * Gets the calendarGroups + * The user's calendar groups. Read-only. Nullable. + * + * @return array|null The calendarGroups + */ + public function getCalendarGroups() + { + if (array_key_exists("calendarGroups", $this->_propDict)) { + return $this->_propDict["calendarGroups"]; + } else { + return null; + } + } + + /** + * Sets the calendarGroups + * The user's calendar groups. Read-only. Nullable. + * + * @param CalendarGroup[] $val The calendarGroups + * + * @return User + */ + public function setCalendarGroups($val) + { + $this->_propDict["calendarGroups"] = $val; + return $this; + } + + + /** + * Gets the calendars + * The user's calendars. Read-only. Nullable. + * + * @return array|null The calendars + */ + public function getCalendars() + { + if (array_key_exists("calendars", $this->_propDict)) { + return $this->_propDict["calendars"]; + } else { + return null; + } + } + + /** + * Sets the calendars + * The user's calendars. Read-only. Nullable. + * + * @param Calendar[] $val The calendars + * + * @return User + */ + public function setCalendars($val) + { + $this->_propDict["calendars"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The calendar view for the calendar. Read-only. Nullable. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The calendar view for the calendar. Read-only. Nullable. + * + * @param Event[] $val The calendarView + * + * @return User + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the contactFolders + * The user's contacts folders. Read-only. Nullable. + * + * @return array|null The contactFolders + */ + public function getContactFolders() + { + if (array_key_exists("contactFolders", $this->_propDict)) { + return $this->_propDict["contactFolders"]; + } else { + return null; + } + } + + /** + * Sets the contactFolders + * The user's contacts folders. Read-only. Nullable. + * + * @param ContactFolder[] $val The contactFolders + * + * @return User + */ + public function setContactFolders($val) + { + $this->_propDict["contactFolders"] = $val; + return $this; + } + + + /** + * Gets the contacts + * The user's contacts. Read-only. Nullable. + * + * @return array|null The contacts + */ + public function getContacts() + { + if (array_key_exists("contacts", $this->_propDict)) { + return $this->_propDict["contacts"]; + } else { + return null; + } + } + + /** + * Sets the contacts + * The user's contacts. Read-only. Nullable. + * + * @param Contact[] $val The contacts + * + * @return User + */ + public function setContacts($val) + { + $this->_propDict["contacts"] = $val; + return $this; + } + + + /** + * Gets the events + * The user's events. Default is to show events under the Default Calendar. Read-only. Nullable. + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * The user's events. Default is to show events under the Default Calendar. Read-only. Nullable. + * + * @param Event[] $val The events + * + * @return User + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + /** + * Gets the inferenceClassification + * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + * + * @return InferenceClassification|null The inferenceClassification + */ + public function getInferenceClassification() + { + if (array_key_exists("inferenceClassification", $this->_propDict)) { + if (is_a($this->_propDict["inferenceClassification"], "\Beta\Microsoft\Graph\Model\InferenceClassification") || is_null($this->_propDict["inferenceClassification"])) { + return $this->_propDict["inferenceClassification"]; + } else { + $this->_propDict["inferenceClassification"] = new InferenceClassification($this->_propDict["inferenceClassification"]); + return $this->_propDict["inferenceClassification"]; + } + } + return null; + } + + /** + * Sets the inferenceClassification + * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + * + * @param InferenceClassification $val The inferenceClassification + * + * @return User + */ + public function setInferenceClassification($val) + { + $this->_propDict["inferenceClassification"] = $val; + return $this; + } + + + /** + * Gets the joinedGroups + * Read-only. Nullable. + * + * @return array|null The joinedGroups + */ + public function getJoinedGroups() + { + if (array_key_exists("joinedGroups", $this->_propDict)) { + return $this->_propDict["joinedGroups"]; + } else { + return null; + } + } + + /** + * Sets the joinedGroups + * Read-only. Nullable. + * + * @param Group[] $val The joinedGroups + * + * @return User + */ + public function setJoinedGroups($val) + { + $this->_propDict["joinedGroups"] = $val; + return $this; + } + + + /** + * Gets the mailFolders + * The user's mail folders. Read-only. Nullable. + * + * @return array|null The mailFolders + */ + public function getMailFolders() + { + if (array_key_exists("mailFolders", $this->_propDict)) { + return $this->_propDict["mailFolders"]; + } else { + return null; + } + } + + /** + * Sets the mailFolders + * The user's mail folders. Read-only. Nullable. + * + * @param MailFolder[] $val The mailFolders + * + * @return User + */ + public function setMailFolders($val) + { + $this->_propDict["mailFolders"] = $val; + return $this; + } + + + /** + * Gets the messages + * The messages in a mailbox or folder. Read-only. Nullable. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * The messages in a mailbox or folder. Read-only. Nullable. + * + * @param Message[] $val The messages + * + * @return User + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + /** + * Gets the outlook + * Selective Outlook services available to the user. Read-only. Nullable. + * + * @return OutlookUser|null The outlook + */ + public function getOutlook() + { + if (array_key_exists("outlook", $this->_propDict)) { + if (is_a($this->_propDict["outlook"], "\Beta\Microsoft\Graph\Model\OutlookUser") || is_null($this->_propDict["outlook"])) { + return $this->_propDict["outlook"]; + } else { + $this->_propDict["outlook"] = new OutlookUser($this->_propDict["outlook"]); + return $this->_propDict["outlook"]; + } + } + return null; + } + + /** + * Sets the outlook + * Selective Outlook services available to the user. Read-only. Nullable. + * + * @param OutlookUser $val The outlook + * + * @return User + */ + public function setOutlook($val) + { + $this->_propDict["outlook"] = $val; + return $this; + } + + + /** + * Gets the people + * Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + * + * @return array|null The people + */ + public function getPeople() + { + if (array_key_exists("people", $this->_propDict)) { + return $this->_propDict["people"]; + } else { + return null; + } + } + + /** + * Sets the people + * Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + * + * @param Person[] $val The people + * + * @return User + */ + public function setPeople($val) + { + $this->_propDict["people"] = $val; + return $this; + } + + /** + * Gets the drive + * The user's OneDrive. Read-only. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * The user's OneDrive. Read-only. + * + * @param Drive $val The drive + * + * @return User + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the drives + * A collection of drives available for this user. Read-only. + * + * @return array|null The drives + */ + public function getDrives() + { + if (array_key_exists("drives", $this->_propDict)) { + return $this->_propDict["drives"]; + } else { + return null; + } + } + + /** + * Sets the drives + * A collection of drives available for this user. Read-only. + * + * @param Drive[] $val The drives + * + * @return User + */ + public function setDrives($val) + { + $this->_propDict["drives"] = $val; + return $this; + } + + + /** + * Gets the followedSites + * + * @return array|null The followedSites + */ + public function getFollowedSites() + { + if (array_key_exists("followedSites", $this->_propDict)) { + return $this->_propDict["followedSites"]; + } else { + return null; + } + } + + /** + * Sets the followedSites + * + * @param Site[] $val The followedSites + * + * @return User + */ + public function setFollowedSites($val) + { + $this->_propDict["followedSites"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the user. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the user. Nullable. + * + * @param Extension[] $val The extensions + * + * @return User + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the appConsentRequestsForApproval + * + * @return array|null The appConsentRequestsForApproval + */ + public function getAppConsentRequestsForApproval() + { + if (array_key_exists("appConsentRequestsForApproval", $this->_propDict)) { + return $this->_propDict["appConsentRequestsForApproval"]; + } else { + return null; + } + } + + /** + * Sets the appConsentRequestsForApproval + * + * @param AppConsentRequest[] $val The appConsentRequestsForApproval + * + * @return User + */ + public function setAppConsentRequestsForApproval($val) + { + $this->_propDict["appConsentRequestsForApproval"] = $val; + return $this; + } + + + /** + * Gets the approvals + * + * @return array|null The approvals + */ + public function getApprovals() + { + if (array_key_exists("approvals", $this->_propDict)) { + return $this->_propDict["approvals"]; + } else { + return null; + } + } + + /** + * Sets the approvals + * + * @param Approval[] $val The approvals + * + * @return User + */ + public function setApprovals($val) + { + $this->_propDict["approvals"] = $val; + return $this; + } + + + /** + * Gets the pendingAccessReviewInstances + * Navigation property to get list of access reviews pending approval by reviewer. + * + * @return array|null The pendingAccessReviewInstances + */ + public function getPendingAccessReviewInstances() + { + if (array_key_exists("pendingAccessReviewInstances", $this->_propDict)) { + return $this->_propDict["pendingAccessReviewInstances"]; + } else { + return null; + } + } + + /** + * Sets the pendingAccessReviewInstances + * Navigation property to get list of access reviews pending approval by reviewer. + * + * @param AccessReviewInstance[] $val The pendingAccessReviewInstances + * + * @return User + */ + public function setPendingAccessReviewInstances($val) + { + $this->_propDict["pendingAccessReviewInstances"] = $val; + return $this; + } + + + /** + * Gets the agreementAcceptances + * The user's terms of use acceptance statuses. Read-only. Nullable. + * + * @return array|null The agreementAcceptances + */ + public function getAgreementAcceptances() + { + if (array_key_exists("agreementAcceptances", $this->_propDict)) { + return $this->_propDict["agreementAcceptances"]; + } else { + return null; + } + } + + /** + * Sets the agreementAcceptances + * The user's terms of use acceptance statuses. Read-only. Nullable. + * + * @param AgreementAcceptance[] $val The agreementAcceptances + * + * @return User + */ + public function setAgreementAcceptances($val) + { + $this->_propDict["agreementAcceptances"] = $val; + return $this; + } + + /** + * Gets the security + * + * @return \Beta\Microsoft\Graph\SecurityNamespace\Model\Security|null The security + */ + public function getSecurity() + { + if (array_key_exists("security", $this->_propDict)) { + if (is_a($this->_propDict["security"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\Security") || is_null($this->_propDict["security"])) { + return $this->_propDict["security"]; + } else { + $this->_propDict["security"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\Security($this->_propDict["security"]); + return $this->_propDict["security"]; + } + } + return null; + } + + /** + * Sets the security + * + * @param \Beta\Microsoft\Graph\SecurityNamespace\Model\Security $val The security + * + * @return User + */ + public function setSecurity($val) + { + $this->_propDict["security"] = $val; + return $this; + } + + + /** + * Gets the deviceEnrollmentConfigurations + * Get enrollment configurations targeted to the user + * + * @return array|null The deviceEnrollmentConfigurations + */ + public function getDeviceEnrollmentConfigurations() + { + if (array_key_exists("deviceEnrollmentConfigurations", $this->_propDict)) { + return $this->_propDict["deviceEnrollmentConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the deviceEnrollmentConfigurations + * Get enrollment configurations targeted to the user + * + * @param DeviceEnrollmentConfiguration[] $val The deviceEnrollmentConfigurations + * + * @return User + */ + public function setDeviceEnrollmentConfigurations($val) + { + $this->_propDict["deviceEnrollmentConfigurations"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The managed devices associated with the user. + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The managed devices associated with the user. + * + * @param ManagedDevice[] $val The managedDevices + * + * @return User + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + + + /** + * Gets the managedAppRegistrations + * Zero or more managed app registrations that belong to the user. + * + * @return array|null The managedAppRegistrations + */ + public function getManagedAppRegistrations() + { + if (array_key_exists("managedAppRegistrations", $this->_propDict)) { + return $this->_propDict["managedAppRegistrations"]; + } else { + return null; + } + } + + /** + * Sets the managedAppRegistrations + * Zero or more managed app registrations that belong to the user. + * + * @param ManagedAppRegistration[] $val The managedAppRegistrations + * + * @return User + */ + public function setManagedAppRegistrations($val) + { + $this->_propDict["managedAppRegistrations"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionDeviceRegistrations + * Zero or more WIP device registrations that belong to the user. + * + * @return array|null The windowsInformationProtectionDeviceRegistrations + */ + public function getWindowsInformationProtectionDeviceRegistrations() + { + if (array_key_exists("windowsInformationProtectionDeviceRegistrations", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionDeviceRegistrations"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionDeviceRegistrations + * Zero or more WIP device registrations that belong to the user. + * + * @param WindowsInformationProtectionDeviceRegistration[] $val The windowsInformationProtectionDeviceRegistrations + * + * @return User + */ + public function setWindowsInformationProtectionDeviceRegistrations($val) + { + $this->_propDict["windowsInformationProtectionDeviceRegistrations"] = $val; + return $this; + } + + + /** + * Gets the deviceManagementTroubleshootingEvents + * The list of troubleshooting events for this user. + * + * @return array|null The deviceManagementTroubleshootingEvents + */ + public function getDeviceManagementTroubleshootingEvents() + { + if (array_key_exists("deviceManagementTroubleshootingEvents", $this->_propDict)) { + return $this->_propDict["deviceManagementTroubleshootingEvents"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementTroubleshootingEvents + * The list of troubleshooting events for this user. + * + * @param DeviceManagementTroubleshootingEvent[] $val The deviceManagementTroubleshootingEvents + * + * @return User + */ + public function setDeviceManagementTroubleshootingEvents($val) + { + $this->_propDict["deviceManagementTroubleshootingEvents"] = $val; + return $this; + } + + + /** + * Gets the mobileAppIntentAndStates + * The list of troubleshooting events for this user. + * + * @return array|null The mobileAppIntentAndStates + */ + public function getMobileAppIntentAndStates() + { + if (array_key_exists("mobileAppIntentAndStates", $this->_propDict)) { + return $this->_propDict["mobileAppIntentAndStates"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppIntentAndStates + * The list of troubleshooting events for this user. + * + * @param MobileAppIntentAndState[] $val The mobileAppIntentAndStates + * + * @return User + */ + public function setMobileAppIntentAndStates($val) + { + $this->_propDict["mobileAppIntentAndStates"] = $val; + return $this; + } + + + /** + * Gets the mobileAppTroubleshootingEvents + * The list of mobile app troubleshooting events for this user. + * + * @return array|null The mobileAppTroubleshootingEvents + */ + public function getMobileAppTroubleshootingEvents() + { + if (array_key_exists("mobileAppTroubleshootingEvents", $this->_propDict)) { + return $this->_propDict["mobileAppTroubleshootingEvents"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppTroubleshootingEvents + * The list of mobile app troubleshooting events for this user. + * + * @param MobileAppTroubleshootingEvent[] $val The mobileAppTroubleshootingEvents + * + * @return User + */ + public function setMobileAppTroubleshootingEvents($val) + { + $this->_propDict["mobileAppTroubleshootingEvents"] = $val; + return $this; + } + + + /** + * Gets the notifications + * + * @return array|null The notifications + */ + public function getNotifications() + { + if (array_key_exists("notifications", $this->_propDict)) { + return $this->_propDict["notifications"]; + } else { + return null; + } + } + + /** + * Sets the notifications + * + * @param Notification[] $val The notifications + * + * @return User + */ + public function setNotifications($val) + { + $this->_propDict["notifications"] = $val; + return $this; + } + + /** + * Gets the planner + * Selective Planner services available to the user. Read-only. Nullable. + * + * @return PlannerUser|null The planner + */ + public function getPlanner() + { + if (array_key_exists("planner", $this->_propDict)) { + if (is_a($this->_propDict["planner"], "\Beta\Microsoft\Graph\Model\PlannerUser") || is_null($this->_propDict["planner"])) { + return $this->_propDict["planner"]; + } else { + $this->_propDict["planner"] = new PlannerUser($this->_propDict["planner"]); + return $this->_propDict["planner"]; + } + } + return null; + } + + /** + * Sets the planner + * Selective Planner services available to the user. Read-only. Nullable. + * + * @param PlannerUser $val The planner + * + * @return User + */ + public function setPlanner($val) + { + $this->_propDict["planner"] = $val; + return $this; + } + + /** + * Gets the insights + * Read-only. Nullable. + * + * @return ItemInsights|null The insights + */ + public function getInsights() + { + if (array_key_exists("insights", $this->_propDict)) { + if (is_a($this->_propDict["insights"], "\Beta\Microsoft\Graph\Model\ItemInsights") || is_null($this->_propDict["insights"])) { + return $this->_propDict["insights"]; + } else { + $this->_propDict["insights"] = new ItemInsights($this->_propDict["insights"]); + return $this->_propDict["insights"]; + } + } + return null; + } + + /** + * Sets the insights + * Read-only. Nullable. + * + * @param ItemInsights $val The insights + * + * @return User + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + /** + * Gets the settings + * Read-only. Nullable. + * + * @return UserSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\UserSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new UserSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Read-only. Nullable. + * + * @param UserSettings $val The settings + * + * @return User + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the onenote + * Read-only. + * + * @return Onenote|null The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "\Beta\Microsoft\Graph\Model\Onenote") || is_null($this->_propDict["onenote"])) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Read-only. + * + * @param Onenote $val The onenote + * + * @return User + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + + /** + * Gets the photo + * The user's profile photo. Read-only. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * The user's profile photo. Read-only. + * + * @param ProfilePhoto $val The photo + * + * @return User + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + + /** + * Gets the photos + * Read-only. Nullable. + * + * @return array|null The photos + */ + public function getPhotos() + { + if (array_key_exists("photos", $this->_propDict)) { + return $this->_propDict["photos"]; + } else { + return null; + } + } + + /** + * Sets the photos + * Read-only. Nullable. + * + * @param ProfilePhoto[] $val The photos + * + * @return User + */ + public function setPhotos($val) + { + $this->_propDict["photos"] = $val; + return $this; + } + + /** + * Gets the profile + * Represents properties that are descriptive of a user in a tenant. + * + * @return Profile|null The profile + */ + public function getProfile() + { + if (array_key_exists("profile", $this->_propDict)) { + if (is_a($this->_propDict["profile"], "\Beta\Microsoft\Graph\Model\Profile") || is_null($this->_propDict["profile"])) { + return $this->_propDict["profile"]; + } else { + $this->_propDict["profile"] = new Profile($this->_propDict["profile"]); + return $this->_propDict["profile"]; + } + } + return null; + } + + /** + * Sets the profile + * Represents properties that are descriptive of a user in a tenant. + * + * @param Profile $val The profile + * + * @return User + */ + public function setProfile($val) + { + $this->_propDict["profile"] = $val; + return $this; + } + + + /** + * Gets the activities + * The user's activities across devices. Read-only. Nullable. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The user's activities across devices. Read-only. Nullable. + * + * @param UserActivity[] $val The activities + * + * @return User + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + + + /** + * Gets the devices + * + * @return array|null The devices + */ + public function getDevices() + { + if (array_key_exists("devices", $this->_propDict)) { + return $this->_propDict["devices"]; + } else { + return null; + } + } + + /** + * Sets the devices + * + * @param Device[] $val The devices + * + * @return User + */ + public function setDevices($val) + { + $this->_propDict["devices"] = $val; + return $this; + } + + + /** + * Gets the onlineMeetings + * + * @return array|null The onlineMeetings + */ + public function getOnlineMeetings() + { + if (array_key_exists("onlineMeetings", $this->_propDict)) { + return $this->_propDict["onlineMeetings"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetings + * + * @param OnlineMeeting[] $val The onlineMeetings + * + * @return User + */ + public function setOnlineMeetings($val) + { + $this->_propDict["onlineMeetings"] = $val; + return $this; + } + + /** + * Gets the presence + * + * @return Presence|null The presence + */ + public function getPresence() + { + if (array_key_exists("presence", $this->_propDict)) { + if (is_a($this->_propDict["presence"], "\Beta\Microsoft\Graph\Model\Presence") || is_null($this->_propDict["presence"])) { + return $this->_propDict["presence"]; + } else { + $this->_propDict["presence"] = new Presence($this->_propDict["presence"]); + return $this->_propDict["presence"]; + } + } + return null; + } + + /** + * Sets the presence + * + * @param Presence $val The presence + * + * @return User + */ + public function setPresence($val) + { + $this->_propDict["presence"] = $val; + return $this; + } + + /** + * Gets the authentication + * TODO: Add Description + * + * @return Authentication|null The authentication + */ + public function getAuthentication() + { + if (array_key_exists("authentication", $this->_propDict)) { + if (is_a($this->_propDict["authentication"], "\Beta\Microsoft\Graph\Model\Authentication") || is_null($this->_propDict["authentication"])) { + return $this->_propDict["authentication"]; + } else { + $this->_propDict["authentication"] = new Authentication($this->_propDict["authentication"]); + return $this->_propDict["authentication"]; + } + } + return null; + } + + /** + * Sets the authentication + * TODO: Add Description + * + * @param Authentication $val The authentication + * + * @return User + */ + public function setAuthentication($val) + { + $this->_propDict["authentication"] = $val; + return $this; + } + + /** + * Gets the tasks + * + * @return Tasks|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + if (is_a($this->_propDict["tasks"], "\Beta\Microsoft\Graph\Model\Tasks") || is_null($this->_propDict["tasks"])) { + return $this->_propDict["tasks"]; + } else { + $this->_propDict["tasks"] = new Tasks($this->_propDict["tasks"]); + return $this->_propDict["tasks"]; + } + } + return null; + } + + /** + * Sets the tasks + * + * @param Tasks $val The tasks + * + * @return User + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + + + /** + * Gets the chats + * + * @return array|null The chats + */ + public function getChats() + { + if (array_key_exists("chats", $this->_propDict)) { + return $this->_propDict["chats"]; + } else { + return null; + } + } + + /** + * Sets the chats + * + * @param Chat[] $val The chats + * + * @return User + */ + public function setChats($val) + { + $this->_propDict["chats"] = $val; + return $this; + } + + + /** + * Gets the joinedTeams + * The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + * + * @return array|null The joinedTeams + */ + public function getJoinedTeams() + { + if (array_key_exists("joinedTeams", $this->_propDict)) { + return $this->_propDict["joinedTeams"]; + } else { + return null; + } + } + + /** + * Sets the joinedTeams + * The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + * + * @param Team[] $val The joinedTeams + * + * @return User + */ + public function setJoinedTeams($val) + { + $this->_propDict["joinedTeams"] = $val; + return $this; + } + + /** + * Gets the teamwork + * A container for Microsoft Teams features available for the user. Read-only. Nullable. + * + * @return UserTeamwork|null The teamwork + */ + public function getTeamwork() + { + if (array_key_exists("teamwork", $this->_propDict)) { + if (is_a($this->_propDict["teamwork"], "\Beta\Microsoft\Graph\Model\UserTeamwork") || is_null($this->_propDict["teamwork"])) { + return $this->_propDict["teamwork"]; + } else { + $this->_propDict["teamwork"] = new UserTeamwork($this->_propDict["teamwork"]); + return $this->_propDict["teamwork"]; + } + } + return null; + } + + /** + * Sets the teamwork + * A container for Microsoft Teams features available for the user. Read-only. Nullable. + * + * @param UserTeamwork $val The teamwork + * + * @return User + */ + public function setTeamwork($val) + { + $this->_propDict["teamwork"] = $val; + return $this; + } + + /** + * Gets the todo + * Represents the To Do services available to a user. + * + * @return Todo|null The todo + */ + public function getTodo() + { + if (array_key_exists("todo", $this->_propDict)) { + if (is_a($this->_propDict["todo"], "\Beta\Microsoft\Graph\Model\Todo") || is_null($this->_propDict["todo"])) { + return $this->_propDict["todo"]; + } else { + $this->_propDict["todo"] = new Todo($this->_propDict["todo"]); + return $this->_propDict["todo"]; + } + } + return null; + } + + /** + * Sets the todo + * Represents the To Do services available to a user. + * + * @param Todo $val The todo + * + * @return User + */ + public function setTodo($val) + { + $this->_propDict["todo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccount.php new file mode 100644 index 0000000..140457b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccount.php @@ -0,0 +1,192 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return UserAccount + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * + * @param \DateTime $val The value to assign to the lastSeenDateTime + * + * @return UserAccount The UserAccount + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The value of the riskScore + * + * @return UserAccount + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + /** + * Gets the service + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * + * @param string $val The value of the service + * + * @return UserAccount + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + /** + * Gets the signinName + * + * @return string|null The signinName + */ + public function getSigninName() + { + if (array_key_exists("signinName", $this->_propDict)) { + return $this->_propDict["signinName"]; + } else { + return null; + } + } + + /** + * Sets the signinName + * + * @param string $val The value of the signinName + * + * @return UserAccount + */ + public function setSigninName($val) + { + $this->_propDict["signinName"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return AccountStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AccountStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AccountStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param AccountStatus $val The value to assign to the status + * + * @return UserAccount The UserAccount + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountInformation.php new file mode 100644 index 0000000..f9ea423 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountInformation.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["ageGroup"]; + } else { + return null; + } + } + + /** + * Sets the ageGroup + * Shows the age group of user. Allowed values null, minor, notAdult and adult are generated by the directory and cannot be changed. + * + * @param string $val The ageGroup + * + * @return UserAccountInformation + */ + public function setAgeGroup($val) + { + $this->_propDict["ageGroup"] = $val; + return $this; + } + + /** + * Gets the countryCode + * Contains the two-character country code associated with the users account. + * + * @return string|null The countryCode + */ + public function getCountryCode() + { + if (array_key_exists("countryCode", $this->_propDict)) { + return $this->_propDict["countryCode"]; + } else { + return null; + } + } + + /** + * Sets the countryCode + * Contains the two-character country code associated with the users account. + * + * @param string $val The countryCode + * + * @return UserAccountInformation + */ + public function setCountryCode($val) + { + $this->_propDict["countryCode"] = $val; + return $this; + } + + /** + * Gets the preferredLanguageTag + * Contains the language the user has associated as preferred for the account. + * + * @return LocaleInfo|null The preferredLanguageTag + */ + public function getPreferredLanguageTag() + { + if (array_key_exists("preferredLanguageTag", $this->_propDict)) { + if (is_a($this->_propDict["preferredLanguageTag"], "\Beta\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["preferredLanguageTag"])) { + return $this->_propDict["preferredLanguageTag"]; + } else { + $this->_propDict["preferredLanguageTag"] = new LocaleInfo($this->_propDict["preferredLanguageTag"]); + return $this->_propDict["preferredLanguageTag"]; + } + } + return null; + } + + /** + * Sets the preferredLanguageTag + * Contains the language the user has associated as preferred for the account. + * + * @param LocaleInfo $val The preferredLanguageTag + * + * @return UserAccountInformation + */ + public function setPreferredLanguageTag($val) + { + $this->_propDict["preferredLanguageTag"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user associated with the account. + * + * @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 + * The user principal name (UPN) of the user associated with the account. + * + * @param string $val The userPrincipalName + * + * @return UserAccountInformation + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountSecurityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountSecurityType.php new file mode 100644 index 0000000..dfe50e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountSecurityType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["activationUrl"]; + } else { + return null; + } + } + + /** + * Sets the activationUrl + * Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists. + * + * @param string $val The activationUrl + * + * @return UserActivity + */ + public function setActivationUrl($val) + { + $this->_propDict["activationUrl"] = $val; + return $this; + } + + /** + * Gets the activitySourceHost + * Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. + * + * @return string|null The activitySourceHost + */ + public function getActivitySourceHost() + { + if (array_key_exists("activitySourceHost", $this->_propDict)) { + return $this->_propDict["activitySourceHost"]; + } else { + return null; + } + } + + /** + * Sets the activitySourceHost + * Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. + * + * @param string $val The activitySourceHost + * + * @return UserActivity + */ + public function setActivitySourceHost($val) + { + $this->_propDict["activitySourceHost"] = $val; + return $this; + } + + /** + * Gets the appActivityId + * Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. + * + * @return string|null The appActivityId + */ + public function getAppActivityId() + { + if (array_key_exists("appActivityId", $this->_propDict)) { + return $this->_propDict["appActivityId"]; + } else { + return null; + } + } + + /** + * Sets the appActivityId + * Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. + * + * @param string $val The appActivityId + * + * @return UserActivity + */ + public function setAppActivityId($val) + { + $this->_propDict["appActivityId"] = $val; + return $this; + } + + /** + * Gets the appDisplayName + * Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. + * + * @param string $val The appDisplayName + * + * @return UserActivity + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the contentInfo + * Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. + * + * @return string|null The contentInfo + */ + public function getContentInfo() + { + if (array_key_exists("contentInfo", $this->_propDict)) { + return $this->_propDict["contentInfo"]; + } else { + return null; + } + } + + /** + * Sets the contentInfo + * Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. + * + * @param string $val The contentInfo + * + * @return UserActivity + */ + public function setContentInfo($val) + { + $this->_propDict["contentInfo"] = $val; + return $this; + } + + /** + * Gets the contentUrl + * Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). + * + * @param string $val The contentUrl + * + * @return UserActivity + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @param \DateTime $val The createdDateTime + * + * @return UserActivity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Set by the server. DateTime in UTC when the object expired on the server. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Set by the server. DateTime in UTC when the object expired on the server. + * + * @param \DateTime $val The expirationDateTime + * + * @return UserActivity + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fallbackUrl + * Optional. URL used to launch the activity in a web-based app, if available. + * + * @return string|null The fallbackUrl + */ + public function getFallbackUrl() + { + if (array_key_exists("fallbackUrl", $this->_propDict)) { + return $this->_propDict["fallbackUrl"]; + } else { + return null; + } + } + + /** + * Sets the fallbackUrl + * Optional. URL used to launch the activity in a web-based app, if available. + * + * @param string $val The fallbackUrl + * + * @return UserActivity + */ + public function setFallbackUrl($val) + { + $this->_propDict["fallbackUrl"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UserActivity + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @return Status|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\Status") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new Status($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @param Status $val The status + * + * @return UserActivity + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation. + * + * @return string|null The userTimezone + */ + public function getUserTimezone() + { + if (array_key_exists("userTimezone", $this->_propDict)) { + return $this->_propDict["userTimezone"]; + } else { + return null; + } + } + + /** + * Sets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation. + * + * @param string $val The userTimezone + * + * @return UserActivity + */ + public function setUserTimezone($val) + { + $this->_propDict["userTimezone"] = $val; + return $this; + } + + /** + * Gets the visualElements + * Required. The object containing information to render the activity in the UX. + * + * @return VisualInfo|null The visualElements + */ + public function getVisualElements() + { + if (array_key_exists("visualElements", $this->_propDict)) { + if (is_a($this->_propDict["visualElements"], "\Beta\Microsoft\Graph\Model\VisualInfo") || is_null($this->_propDict["visualElements"])) { + return $this->_propDict["visualElements"]; + } else { + $this->_propDict["visualElements"] = new VisualInfo($this->_propDict["visualElements"]); + return $this->_propDict["visualElements"]; + } + } + return null; + } + + /** + * Sets the visualElements + * Required. The object containing information to render the activity in the UX. + * + * @param VisualInfo $val The visualElements + * + * @return UserActivity + */ + public function setVisualElements($val) + { + $this->_propDict["visualElements"] = $val; + return $this; + } + + + /** + * Gets the historyItems + * Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. + * + * @return array|null The historyItems + */ + public function getHistoryItems() + { + if (array_key_exists("historyItems", $this->_propDict)) { + return $this->_propDict["historyItems"]; + } else { + return null; + } + } + + /** + * Sets the historyItems + * Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. + * + * @param ActivityHistoryItem[] $val The historyItems + * + * @return UserActivity + */ + public function setHistoryItems($val) + { + $this->_propDict["historyItems"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAnalytics.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAnalytics.php new file mode 100644 index 0000000..27c2a56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAnalytics.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\Settings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new Settings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The current settings for a user to use the analytics API. + * + * @param Settings $val The settings + * + * @return UserAnalytics + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the activityStatistics + * The collection of work activities that a user spent time on during and outside of working hours. Read-only. Nullable. + * + * @return array|null The activityStatistics + */ + public function getActivityStatistics() + { + if (array_key_exists("activityStatistics", $this->_propDict)) { + return $this->_propDict["activityStatistics"]; + } else { + return null; + } + } + + /** + * Sets the activityStatistics + * The collection of work activities that a user spent time on during and outside of working hours. Read-only. Nullable. + * + * @param ActivityStatistics[] $val The activityStatistics + * + * @return UserAnalytics + */ + public function setActivityStatistics($val) + { + $this->_propDict["activityStatistics"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAppInstallStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAppInstallStatus.php new file mode 100644 index 0000000..6eca44b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAppInstallStatus.php @@ -0,0 +1,235 @@ +_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Failed Device Count. + * + * @param int $val The failedDeviceCount + * + * @return UserAppInstallStatus + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the installedDeviceCount + * Installed Device Count. + * + * @return int|null The installedDeviceCount + */ + public function getInstalledDeviceCount() + { + if (array_key_exists("installedDeviceCount", $this->_propDict)) { + return $this->_propDict["installedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the installedDeviceCount + * Installed Device Count. + * + * @param int $val The installedDeviceCount + * + * @return UserAppInstallStatus + */ + public function setInstalledDeviceCount($val) + { + $this->_propDict["installedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledDeviceCount + * Not installed device count. + * + * @return int|null The notInstalledDeviceCount + */ + public function getNotInstalledDeviceCount() + { + if (array_key_exists("notInstalledDeviceCount", $this->_propDict)) { + return $this->_propDict["notInstalledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledDeviceCount + * Not installed device count. + * + * @param int $val The notInstalledDeviceCount + * + * @return UserAppInstallStatus + */ + public function setNotInstalledDeviceCount($val) + { + $this->_propDict["notInstalledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the userName + * User name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * User name. + * + * @param string $val The userName + * + * @return UserAppInstallStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name. + * + * @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 + * User Principal Name. + * + * @param string $val The userPrincipalName + * + * @return UserAppInstallStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the app + * The navigation link to the mobile app. + * + * @return MobileApp|null The app + */ + public function getApp() + { + if (array_key_exists("app", $this->_propDict)) { + if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\MobileApp") || is_null($this->_propDict["app"])) { + return $this->_propDict["app"]; + } else { + $this->_propDict["app"] = new MobileApp($this->_propDict["app"]); + return $this->_propDict["app"]; + } + } + return null; + } + + /** + * Sets the app + * The navigation link to the mobile app. + * + * @param MobileApp $val The app + * + * @return UserAppInstallStatus + */ + public function setApp($val) + { + $this->_propDict["app"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * The install state of the app on devices. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * The install state of the app on devices. + * + * @param MobileAppInstallStatus[] $val The deviceStatuses + * + * @return UserAppInstallStatus + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAttributeValuesItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAttributeValuesItem.php new file mode 100644 index 0000000..f40a5e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAttributeValuesItem.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Used to set the value as the default. + * + * @param bool $val The value of the isDefault + * + * @return UserAttributeValuesItem + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the name + * The display name of the property displayed to the end user in the user flow. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the property displayed to the end user in the user flow. + * + * @param string $val The value of the name + * + * @return UserAttributeValuesItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * The value that is set when this item is selected. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value that is set when this item is selected. + * + * @param string $val The value of the value + * + * @return UserAttributeValuesItem + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConfiguration.php new file mode 100644 index 0000000..db4e046 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConfiguration.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["binaryData"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["binaryData"])) { + return $this->_propDict["binaryData"]; + } else { + $this->_propDict["binaryData"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["binaryData"]); + return $this->_propDict["binaryData"]; + } + } + return null; + } + + /** + * Sets the binaryData + * + * @param \GuzzleHttp\Psr7\Stream $val The binaryData + * + * @return UserConfiguration + */ + public function setBinaryData($val) + { + $this->_propDict["binaryData"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConsentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConsentRequest.php new file mode 100644 index 0000000..354b777 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConsentRequest.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["reason"]; + } else { + return null; + } + } + + /** + * Sets the reason + * The user's justification for requiring access to the app. Supports $filter (eq only) and $orderby. + * + * @param string $val The reason + * + * @return UserConsentRequest + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the approval + * Approval decisions associated with a request. + * + * @return Approval|null The approval + */ + public function getApproval() + { + if (array_key_exists("approval", $this->_propDict)) { + if (is_a($this->_propDict["approval"], "\Beta\Microsoft\Graph\Model\Approval") || is_null($this->_propDict["approval"])) { + return $this->_propDict["approval"]; + } else { + $this->_propDict["approval"] = new Approval($this->_propDict["approval"]); + return $this->_propDict["approval"]; + } + } + return null; + } + + /** + * Sets the approval + * Approval decisions associated with a request. + * + * @param Approval $val The approval + * + * @return UserConsentRequest + */ + public function setApproval($val) + { + $this->_propDict["approval"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserCredentialUsageDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserCredentialUsageDetails.php new file mode 100644 index 0000000..91c21cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserCredentialUsageDetails.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["authMethod"], "\Beta\Microsoft\Graph\Model\UsageAuthMethod") || is_null($this->_propDict["authMethod"])) { + return $this->_propDict["authMethod"]; + } else { + $this->_propDict["authMethod"] = new UsageAuthMethod($this->_propDict["authMethod"]); + return $this->_propDict["authMethod"]; + } + } + return null; + } + + /** + * Sets the authMethod + * Represents the authentication method that the user used. Possible values are:email, mobileSMS, mobileCall, officePhone, securityQuestion (only used for self-service password reset), appNotification, appCode, alternateMobileCall (supported only in registration), fido, appPassword,unknownFutureValue + * + * @param UsageAuthMethod $val The authMethod + * + * @return UserCredentialUsageDetails + */ + public function setAuthMethod($val) + { + $this->_propDict["authMethod"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * 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 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 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 eventDateTime + * + * @return UserCredentialUsageDetails + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the failureReason + * Provides the failure reason for the corresponding reset or registration workflow. + * + * @return string|null The failureReason + */ + public function getFailureReason() + { + if (array_key_exists("failureReason", $this->_propDict)) { + return $this->_propDict["failureReason"]; + } else { + return null; + } + } + + /** + * Sets the failureReason + * Provides the failure reason for the corresponding reset or registration workflow. + * + * @param string $val The failureReason + * + * @return UserCredentialUsageDetails + */ + public function setFailureReason($val) + { + $this->_propDict["failureReason"] = $val; + return $this; + } + + /** + * Gets the feature + * Possible values are: registration, reset, unknownFutureValue. + * + * @return FeatureType|null The feature + */ + public function getFeature() + { + if (array_key_exists("feature", $this->_propDict)) { + if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\FeatureType") || is_null($this->_propDict["feature"])) { + return $this->_propDict["feature"]; + } else { + $this->_propDict["feature"] = new FeatureType($this->_propDict["feature"]); + return $this->_propDict["feature"]; + } + } + return null; + } + + /** + * Sets the feature + * Possible values are: registration, reset, unknownFutureValue. + * + * @param FeatureType $val The feature + * + * @return UserCredentialUsageDetails + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + + /** + * Gets the isSuccess + * Indicates success or failure of the workflow. + * + * @return bool|null The isSuccess + */ + public function getIsSuccess() + { + if (array_key_exists("isSuccess", $this->_propDict)) { + return $this->_propDict["isSuccess"]; + } else { + return null; + } + } + + /** + * Sets the isSuccess + * Indicates success or failure of the workflow. + * + * @param bool $val The isSuccess + * + * @return UserCredentialUsageDetails + */ + public function setIsSuccess($val) + { + $this->_propDict["isSuccess"] = boolval($val); + return $this; + } + + /** + * Gets the userDisplayName + * User name of the user performing the reset or registration workflow. + * + * @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 + * User name of the user performing the reset or registration workflow. + * + * @param string $val The userDisplayName + * + * @return UserCredentialUsageDetails + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User principal name of the user performing the reset or registration workflow. + * + * @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 + * User principal name of the user performing the reset or registration workflow. + * + * @param string $val The userPrincipalName + * + * @return UserCredentialUsageDetails + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserEmailSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserEmailSource.php new file mode 100644 index 0000000..ec32d31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserEmailSource.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["appCrashCount"]; + } else { + return null; + } + } + + /** + * Sets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @param int $val The appCrashCount + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setAppCrashCount($val) + { + $this->_propDict["appCrashCount"] = intval($val); + return $this; + } + + /** + * Gets the appDisplayName + * The friendly name of the application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The friendly name of the application. + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The publisher of the application. + * + * @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 + * The publisher of the application. + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appUsageDuration + * The total usage time of the application in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The appUsageDuration + */ + public function getAppUsageDuration() + { + if (array_key_exists("appUsageDuration", $this->_propDict)) { + return $this->_propDict["appUsageDuration"]; + } else { + return null; + } + } + + /** + * Sets the appUsageDuration + * The total usage time of the application in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The appUsageDuration + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setAppUsageDuration($val) + { + $this->_propDict["appUsageDuration"] = intval($val); + return $this; + } + + /** + * Gets the appVersion + * The version of the application. + * + * @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 + * The version of the application. + * + * @param string $val The appVersion + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the meanTimeToFailureInMinutes + * The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647 + * + * @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 + * The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The meanTimeToFailureInMinutes + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion + */ + public function setMeanTimeToFailureInMinutes($val) + { + $this->_propDict["meanTimeToFailureInMinutes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.php new file mode 100644 index 0000000..f51f697 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.php @@ -0,0 +1,259 @@ +_propDict)) { + return $this->_propDict["appCrashCount"]; + } else { + return null; + } + } + + /** + * Sets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @param int $val The appCrashCount + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setAppCrashCount($val) + { + $this->_propDict["appCrashCount"] = intval($val); + return $this; + } + + /** + * Gets the appDisplayName + * The friendly name of the application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The friendly name of the application. + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The publisher of the application. + * + * @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 + * The publisher of the application. + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appVersion + * The version of the application. + * + * @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 + * The version of the application. + * + * @param string $val The appVersion + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the deviceCountWithCrashes + * The total number of devices that have reported one or more application crashes for this application and version. Valid values -2147483648 to 2147483647 + * + * @return int|null The deviceCountWithCrashes + */ + public function getDeviceCountWithCrashes() + { + if (array_key_exists("deviceCountWithCrashes", $this->_propDict)) { + return $this->_propDict["deviceCountWithCrashes"]; + } else { + return null; + } + } + + /** + * Sets the deviceCountWithCrashes + * The total number of devices that have reported one or more application crashes for this application and version. Valid values -2147483648 to 2147483647 + * + * @param int $val The deviceCountWithCrashes + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setDeviceCountWithCrashes($val) + { + $this->_propDict["deviceCountWithCrashes"] = intval($val); + return $this; + } + + /** + * Gets the isLatestUsedVersion + * Is the version of application the latest version for that app that is in use. + * + * @return bool|null The isLatestUsedVersion + */ + public function getIsLatestUsedVersion() + { + if (array_key_exists("isLatestUsedVersion", $this->_propDict)) { + return $this->_propDict["isLatestUsedVersion"]; + } else { + return null; + } + } + + /** + * Sets the isLatestUsedVersion + * Is the version of application the latest version for that app that is in use. + * + * @param bool $val The isLatestUsedVersion + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setIsLatestUsedVersion($val) + { + $this->_propDict["isLatestUsedVersion"] = boolval($val); + return $this; + } + + /** + * Gets the isMostUsedVersion + * Is the version of application the most used version for that app. + * + * @return bool|null The isMostUsedVersion + */ + public function getIsMostUsedVersion() + { + if (array_key_exists("isMostUsedVersion", $this->_propDict)) { + return $this->_propDict["isMostUsedVersion"]; + } else { + return null; + } + } + + /** + * Sets the isMostUsedVersion + * Is the version of application the most used version for that app. + * + * @param bool $val The isMostUsedVersion + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails + */ + public function setIsMostUsedVersion($val) + { + $this->_propDict["isMostUsedVersion"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.php new file mode 100644 index 0000000..de4d898 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["appCrashCount"]; + } else { + return null; + } + } + + /** + * Sets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @param int $val The appCrashCount + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setAppCrashCount($val) + { + $this->_propDict["appCrashCount"] = intval($val); + return $this; + } + + /** + * Gets the appDisplayName + * The friendly name of the application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The friendly name of the application. + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The publisher of the application. + * + * @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 + * The publisher of the application. + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appVersion + * The version of the application. + * + * @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 + * The version of the application. + * + * @param string $val The appVersion + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * The name of the device. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * The name of the device. + * + * @param string $val The deviceDisplayName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The id of the device. + * + * @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 id of the device. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the processedDateTime + * The date and time when the statistics were last computed. + * + * @return \DateTime|null The processedDateTime + */ + public function getProcessedDateTime() + { + if (array_key_exists("processedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["processedDateTime"], "\DateTime") || is_null($this->_propDict["processedDateTime"])) { + return $this->_propDict["processedDateTime"]; + } else { + $this->_propDict["processedDateTime"] = new \DateTime($this->_propDict["processedDateTime"]); + return $this->_propDict["processedDateTime"]; + } + } + return null; + } + + /** + * Sets the processedDateTime + * The date and time when the statistics were last computed. + * + * @param \DateTime $val The processedDateTime + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId + */ + public function setProcessedDateTime($val) + { + $this->_propDict["processedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.php new file mode 100644 index 0000000..046e4cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["activeDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the activeDeviceCount + * The number of devices where the app has been active. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDeviceCount + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setActiveDeviceCount($val) + { + $this->_propDict["activeDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @return int|null The appCrashCount + */ + public function getAppCrashCount() + { + if (array_key_exists("appCrashCount", $this->_propDict)) { + return $this->_propDict["appCrashCount"]; + } else { + return null; + } + } + + /** + * Sets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @param int $val The appCrashCount + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setAppCrashCount($val) + { + $this->_propDict["appCrashCount"] = intval($val); + return $this; + } + + /** + * Gets the appDisplayName + * The friendly name of the application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The friendly name of the application. + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The publisher of the application. + * + * @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 + * The publisher of the application. + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appUsageDuration + * The total usage time of the application in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The appUsageDuration + */ + public function getAppUsageDuration() + { + if (array_key_exists("appUsageDuration", $this->_propDict)) { + return $this->_propDict["appUsageDuration"]; + } else { + return null; + } + } + + /** + * Sets the appUsageDuration + * The total usage time of the application in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The appUsageDuration + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setAppUsageDuration($val) + { + $this->_propDict["appUsageDuration"] = intval($val); + return $this; + } + + /** + * Gets the meanTimeToFailureInMinutes + * The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647 + * + * @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 + * The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The meanTimeToFailureInMinutes + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setMeanTimeToFailureInMinutes($val) + { + $this->_propDict["meanTimeToFailureInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the osBuildNumber + * The os build number of the application. + * + * @return string|null The osBuildNumber + */ + public function getOsBuildNumber() + { + if (array_key_exists("osBuildNumber", $this->_propDict)) { + return $this->_propDict["osBuildNumber"]; + } else { + return null; + } + } + + /** + * Sets the osBuildNumber + * The os build number of the application. + * + * @param string $val The osBuildNumber + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setOsBuildNumber($val) + { + $this->_propDict["osBuildNumber"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The os version of the application. + * + * @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 + * The os version of the application. + * + * @param string $val The osVersion + * + * @return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthApplicationPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthApplicationPerformance.php new file mode 100644 index 0000000..4b270f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthApplicationPerformance.php @@ -0,0 +1,317 @@ +_propDict)) { + return $this->_propDict["activeDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the activeDeviceCount + * The number of devices where the app has been active. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDeviceCount + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setActiveDeviceCount($val) + { + $this->_propDict["activeDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @return int|null The appCrashCount + */ + public function getAppCrashCount() + { + if (array_key_exists("appCrashCount", $this->_propDict)) { + return $this->_propDict["appCrashCount"]; + } else { + return null; + } + } + + /** + * Sets the appCrashCount + * The number of crashes for the app. Valid values -2147483648 to 2147483647 + * + * @param int $val The appCrashCount + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppCrashCount($val) + { + $this->_propDict["appCrashCount"] = intval($val); + return $this; + } + + /** + * Gets the appDisplayName + * The friendly name of the application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The friendly name of the application. + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appHangCount + * The number of hangs for the app. Valid values -2147483648 to 2147483647 + * + * @return int|null The appHangCount + */ + public function getAppHangCount() + { + if (array_key_exists("appHangCount", $this->_propDict)) { + return $this->_propDict["appHangCount"]; + } else { + return null; + } + } + + /** + * Sets the appHangCount + * The number of hangs for the app. Valid values -2147483648 to 2147483647 + * + * @param int $val The appHangCount + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppHangCount($val) + { + $this->_propDict["appHangCount"] = intval($val); + return $this; + } + + /** + * Gets the appHealthScore + * The health score of the app. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The appHealthScore + */ + public function getAppHealthScore() + { + if (array_key_exists("appHealthScore", $this->_propDict)) { + return $this->_propDict["appHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the appHealthScore + * The health score of the app. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The appHealthScore + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppHealthScore($val) + { + $this->_propDict["appHealthScore"] = floatval($val); + return $this; + } + + /** + * Gets the appHealthStatus + * The overall health status of the app. + * + * @return string|null The appHealthStatus + */ + public function getAppHealthStatus() + { + if (array_key_exists("appHealthStatus", $this->_propDict)) { + return $this->_propDict["appHealthStatus"]; + } else { + return null; + } + } + + /** + * Sets the appHealthStatus + * The overall health status of the app. + * + * @param string $val The appHealthStatus + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppHealthStatus($val) + { + $this->_propDict["appHealthStatus"] = $val; + return $this; + } + + /** + * Gets the appName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The publisher of the application. + * + * @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 + * The publisher of the application. + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appUsageDuration + * The total usage time of the application in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The appUsageDuration + */ + public function getAppUsageDuration() + { + if (array_key_exists("appUsageDuration", $this->_propDict)) { + return $this->_propDict["appUsageDuration"]; + } else { + return null; + } + } + + /** + * Sets the appUsageDuration + * The total usage time of the application in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The appUsageDuration + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setAppUsageDuration($val) + { + $this->_propDict["appUsageDuration"] = intval($val); + return $this; + } + + /** + * Gets the meanTimeToFailureInMinutes + * The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647 + * + * @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 + * The mean time to failure for the app in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The meanTimeToFailureInMinutes + * + * @return UserExperienceAnalyticsAppHealthApplicationPerformance + */ + public function setMeanTimeToFailureInMinutes($val) + { + $this->_propDict["meanTimeToFailureInMinutes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php new file mode 100644 index 0000000..e03cd45 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["activeDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the activeDeviceCount + * The number of active devices for the model. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDeviceCount + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setActiveDeviceCount($val) + { + $this->_propDict["activeDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceManufacturer + * The manufacturer name of the device. + * + * @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 + * The manufacturer name of the device. + * + * @param string $val The deviceManufacturer + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setDeviceManufacturer($val) + { + $this->_propDict["deviceManufacturer"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The model name of the device. + * + * @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 + * The model name of the device. + * + * @param string $val The deviceModel + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the healthStatus + * The health state of the user experience analytics model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health state of the user experience analytics model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the meanTimeToFailureInMinutes + * The mean time to failure for the model device in minutes. Valid values -2147483648 to 2147483647 + * + * @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 + * The mean time to failure for the model device in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The meanTimeToFailureInMinutes + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setMeanTimeToFailureInMinutes($val) + { + $this->_propDict["meanTimeToFailureInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the modelAppHealthScore + * The app health score of the device model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The modelAppHealthScore + */ + public function getModelAppHealthScore() + { + if (array_key_exists("modelAppHealthScore", $this->_propDict)) { + return $this->_propDict["modelAppHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the modelAppHealthScore + * The app health score of the device model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The modelAppHealthScore + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setModelAppHealthScore($val) + { + $this->_propDict["modelAppHealthScore"] = floatval($val); + return $this; + } + + /** + * Gets the modelAppHealthStatus + * The overall app health status of the device model. + * + * @return string|null The modelAppHealthStatus + */ + public function getModelAppHealthStatus() + { + if (array_key_exists("modelAppHealthStatus", $this->_propDict)) { + return $this->_propDict["modelAppHealthStatus"]; + } else { + return null; + } + } + + /** + * Sets the modelAppHealthStatus + * The overall app health status of the device model. + * + * @param string $val The modelAppHealthStatus + * + * @return UserExperienceAnalyticsAppHealthDeviceModelPerformance + */ + public function setModelAppHealthStatus($val) + { + $this->_propDict["modelAppHealthStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php new file mode 100644 index 0000000..1f1ffbe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php @@ -0,0 +1,383 @@ +_propDict)) { + return $this->_propDict["appCrashCount"]; + } else { + return null; + } + } + + /** + * Sets the appCrashCount + * The number of app crashes for the device. Valid values -2147483648 to 2147483647 + * + * @param int $val The appCrashCount + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setAppCrashCount($val) + { + $this->_propDict["appCrashCount"] = intval($val); + return $this; + } + + /** + * Gets the appHangCount + * The number of app hangs for the device. Valid values -2147483648 to 2147483647 + * + * @return int|null The appHangCount + */ + public function getAppHangCount() + { + if (array_key_exists("appHangCount", $this->_propDict)) { + return $this->_propDict["appHangCount"]; + } else { + return null; + } + } + + /** + * Sets the appHangCount + * The number of app hangs for the device. Valid values -2147483648 to 2147483647 + * + * @param int $val The appHangCount + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setAppHangCount($val) + { + $this->_propDict["appHangCount"] = intval($val); + return $this; + } + + /** + * Gets the crashedAppCount + * The number of distinct app crashes for the device. Valid values -2147483648 to 2147483647 + * + * @return int|null The crashedAppCount + */ + public function getCrashedAppCount() + { + if (array_key_exists("crashedAppCount", $this->_propDict)) { + return $this->_propDict["crashedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the crashedAppCount + * The number of distinct app crashes for the device. Valid values -2147483648 to 2147483647 + * + * @param int $val The crashedAppCount + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setCrashedAppCount($val) + { + $this->_propDict["crashedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceAppHealthScore + * The app health score of the device. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The deviceAppHealthScore + */ + public function getDeviceAppHealthScore() + { + if (array_key_exists("deviceAppHealthScore", $this->_propDict)) { + return $this->_propDict["deviceAppHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the deviceAppHealthScore + * The app health score of the device. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The deviceAppHealthScore + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setDeviceAppHealthScore($val) + { + $this->_propDict["deviceAppHealthScore"] = floatval($val); + return $this; + } + + /** + * Gets the deviceAppHealthStatus + * The overall app health status of the device. + * + * @return string|null The deviceAppHealthStatus + */ + public function getDeviceAppHealthStatus() + { + if (array_key_exists("deviceAppHealthStatus", $this->_propDict)) { + return $this->_propDict["deviceAppHealthStatus"]; + } else { + return null; + } + } + + /** + * Sets the deviceAppHealthStatus + * The overall app health status of the device. + * + * @param string $val The deviceAppHealthStatus + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setDeviceAppHealthStatus($val) + { + $this->_propDict["deviceAppHealthStatus"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * The name of the device. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * The name of the device. + * + * @param string $val The deviceDisplayName + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The id of the device. + * + * @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 id of the device. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceManufacturer + * The manufacturer name of the device. + * + * @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 + * The manufacturer name of the device. + * + * @param string $val The deviceManufacturer + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setDeviceManufacturer($val) + { + $this->_propDict["deviceManufacturer"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The model name of the device. + * + * @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 + * The model name of the device. + * + * @param string $val The deviceModel + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the healthStatus + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the meanTimeToFailureInMinutes + * The mean time to failure for the device in minutes. Valid values -2147483648 to 2147483647 + * + * @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 + * The mean time to failure for the device in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The meanTimeToFailureInMinutes + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setMeanTimeToFailureInMinutes($val) + { + $this->_propDict["meanTimeToFailureInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the processedDateTime + * The date and time when the statistics were last computed. + * + * @return \DateTime|null The processedDateTime + */ + public function getProcessedDateTime() + { + if (array_key_exists("processedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["processedDateTime"], "\DateTime") || is_null($this->_propDict["processedDateTime"])) { + return $this->_propDict["processedDateTime"]; + } else { + $this->_propDict["processedDateTime"] = new \DateTime($this->_propDict["processedDateTime"]); + return $this->_propDict["processedDateTime"]; + } + } + return null; + } + + /** + * Sets the processedDateTime + * The date and time when the statistics were last computed. + * + * @param \DateTime $val The processedDateTime + * + * @return UserExperienceAnalyticsAppHealthDevicePerformance + */ + public function setProcessedDateTime($val) + { + $this->_propDict["processedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformanceDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformanceDetails.php new file mode 100644 index 0000000..f4ef233 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformanceDetails.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The friendly name of the application for which the event occurred. + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * The publisher of the application. + * + * @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 + * The publisher of the application. + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the appVersion + * The version of the application. + * + * @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 + * The version of the application. + * + * @param string $val The appVersion + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * The name of the device. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * The name of the device. + * + * @param string $val The deviceDisplayName + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The id of the device. + * + * @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 id of the device. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * The time the event occurred. + * + * @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 time the event occurred. + * + * @param \DateTime $val The eventDateTime + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the eventType + * The type of the event. + * + * @return string|null The eventType + */ + public function getEventType() + { + if (array_key_exists("eventType", $this->_propDict)) { + return $this->_propDict["eventType"]; + } else { + return null; + } + } + + /** + * Sets the eventType + * The type of the event. + * + * @param string $val The eventType + * + * @return UserExperienceAnalyticsAppHealthDevicePerformanceDetails + */ + public function setEventType($val) + { + $this->_propDict["eventType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php new file mode 100644 index 0000000..a072cb3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["activeDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the activeDeviceCount + * The number of active devices for the OS version. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDeviceCount + * + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function setActiveDeviceCount($val) + { + $this->_propDict["activeDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the meanTimeToFailureInMinutes + * The mean time to failure for the OS version in minutes. Valid values -2147483648 to 2147483647 + * + * @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 + * The mean time to failure for the OS version in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The meanTimeToFailureInMinutes + * + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function setMeanTimeToFailureInMinutes($val) + { + $this->_propDict["meanTimeToFailureInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the osBuildNumber + * The OS build number installed on the device. + * + * @return string|null The osBuildNumber + */ + public function getOsBuildNumber() + { + if (array_key_exists("osBuildNumber", $this->_propDict)) { + return $this->_propDict["osBuildNumber"]; + } else { + return null; + } + } + + /** + * Sets the osBuildNumber + * The OS build number installed on the device. + * + * @param string $val The osBuildNumber + * + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function setOsBuildNumber($val) + { + $this->_propDict["osBuildNumber"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The OS version installed on the device. + * + * @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 + * The OS version installed on the device. + * + * @param string $val The osVersion + * + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the osVersionAppHealthScore + * The app health score of the OS version. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The osVersionAppHealthScore + */ + public function getOsVersionAppHealthScore() + { + if (array_key_exists("osVersionAppHealthScore", $this->_propDict)) { + return $this->_propDict["osVersionAppHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the osVersionAppHealthScore + * The app health score of the OS version. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The osVersionAppHealthScore + * + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function setOsVersionAppHealthScore($val) + { + $this->_propDict["osVersionAppHealthScore"] = floatval($val); + return $this; + } + + /** + * Gets the osVersionAppHealthStatus + * The overall app health status of the OS version. + * + * @return string|null The osVersionAppHealthStatus + */ + public function getOsVersionAppHealthStatus() + { + if (array_key_exists("osVersionAppHealthStatus", $this->_propDict)) { + return $this->_propDict["osVersionAppHealthStatus"]; + } else { + return null; + } + } + + /** + * Sets the osVersionAppHealthStatus + * The overall app health status of the OS version. + * + * @param string $val The osVersionAppHealthStatus + * + * @return UserExperienceAnalyticsAppHealthOSVersionPerformance + */ + public function setOsVersionAppHealthStatus($val) + { + $this->_propDict["osVersionAppHealthStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAutopilotDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAutopilotDevicesSummary.php new file mode 100644 index 0000000..fd277c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAutopilotDevicesSummary.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["devicesNotAutopilotRegistered"]; + } else { + return null; + } + } + + /** + * Sets the devicesNotAutopilotRegistered + * The count of intune devices that are not autopilot registerd. + * + * @param int $val The value of the devicesNotAutopilotRegistered + * + * @return UserExperienceAnalyticsAutopilotDevicesSummary + */ + public function setDevicesNotAutopilotRegistered($val) + { + $this->_propDict["devicesNotAutopilotRegistered"] = $val; + return $this; + } + /** + * Gets the devicesWithoutAutopilotProfileAssigned + * The count of intune devices not autopilot profile assigned. + * + * @return int|null The devicesWithoutAutopilotProfileAssigned + */ + public function getDevicesWithoutAutopilotProfileAssigned() + { + if (array_key_exists("devicesWithoutAutopilotProfileAssigned", $this->_propDict)) { + return $this->_propDict["devicesWithoutAutopilotProfileAssigned"]; + } else { + return null; + } + } + + /** + * Sets the devicesWithoutAutopilotProfileAssigned + * The count of intune devices not autopilot profile assigned. + * + * @param int $val The value of the devicesWithoutAutopilotProfileAssigned + * + * @return UserExperienceAnalyticsAutopilotDevicesSummary + */ + public function setDevicesWithoutAutopilotProfileAssigned($val) + { + $this->_propDict["devicesWithoutAutopilotProfileAssigned"] = $val; + return $this; + } + /** + * Gets the totalWindows10DevicesWithoutTenantAttached + * The count of windows 10 devices that are Intune and Comanaged. + * + * @return int|null The totalWindows10DevicesWithoutTenantAttached + */ + public function getTotalWindows10DevicesWithoutTenantAttached() + { + if (array_key_exists("totalWindows10DevicesWithoutTenantAttached", $this->_propDict)) { + return $this->_propDict["totalWindows10DevicesWithoutTenantAttached"]; + } else { + return null; + } + } + + /** + * Sets the totalWindows10DevicesWithoutTenantAttached + * The count of windows 10 devices that are Intune and Comanaged. + * + * @param int $val The value of the totalWindows10DevicesWithoutTenantAttached + * + * @return UserExperienceAnalyticsAutopilotDevicesSummary + */ + public function setTotalWindows10DevicesWithoutTenantAttached($val) + { + $this->_propDict["totalWindows10DevicesWithoutTenantAttached"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBaseline.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBaseline.php new file mode 100644 index 0000000..90569f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBaseline.php @@ -0,0 +1,349 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date the custom baseline was created. + * + * @param \DateTime $val The createdDateTime + * + * @return UserExperienceAnalyticsBaseline + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the user experience analytics baseline. + * + * @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 + * The name of the user experience analytics baseline. + * + * @param string $val The displayName + * + * @return UserExperienceAnalyticsBaseline + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Signifies if the current baseline is the commercial median baseline or a custom baseline. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Signifies if the current baseline is the commercial median baseline or a custom baseline. + * + * @param bool $val The isBuiltIn + * + * @return UserExperienceAnalyticsBaseline + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the appHealthMetrics + * The user experience analytics app health metrics. + * + * @return UserExperienceAnalyticsCategory|null The appHealthMetrics + */ + public function getAppHealthMetrics() + { + if (array_key_exists("appHealthMetrics", $this->_propDict)) { + if (is_a($this->_propDict["appHealthMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["appHealthMetrics"])) { + return $this->_propDict["appHealthMetrics"]; + } else { + $this->_propDict["appHealthMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["appHealthMetrics"]); + return $this->_propDict["appHealthMetrics"]; + } + } + return null; + } + + /** + * Sets the appHealthMetrics + * The user experience analytics app health metrics. + * + * @param UserExperienceAnalyticsCategory $val The appHealthMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setAppHealthMetrics($val) + { + $this->_propDict["appHealthMetrics"] = $val; + return $this; + } + + /** + * Gets the batteryHealthMetrics + * The user experience analytics battery health metrics. + * + * @return UserExperienceAnalyticsCategory|null The batteryHealthMetrics + */ + public function getBatteryHealthMetrics() + { + if (array_key_exists("batteryHealthMetrics", $this->_propDict)) { + if (is_a($this->_propDict["batteryHealthMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["batteryHealthMetrics"])) { + return $this->_propDict["batteryHealthMetrics"]; + } else { + $this->_propDict["batteryHealthMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["batteryHealthMetrics"]); + return $this->_propDict["batteryHealthMetrics"]; + } + } + return null; + } + + /** + * Sets the batteryHealthMetrics + * The user experience analytics battery health metrics. + * + * @param UserExperienceAnalyticsCategory $val The batteryHealthMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setBatteryHealthMetrics($val) + { + $this->_propDict["batteryHealthMetrics"] = $val; + return $this; + } + + /** + * Gets the bestPracticesMetrics + * The user experience analytics best practices metrics. + * + * @return UserExperienceAnalyticsCategory|null The bestPracticesMetrics + */ + public function getBestPracticesMetrics() + { + if (array_key_exists("bestPracticesMetrics", $this->_propDict)) { + if (is_a($this->_propDict["bestPracticesMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["bestPracticesMetrics"])) { + return $this->_propDict["bestPracticesMetrics"]; + } else { + $this->_propDict["bestPracticesMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["bestPracticesMetrics"]); + return $this->_propDict["bestPracticesMetrics"]; + } + } + return null; + } + + /** + * Sets the bestPracticesMetrics + * The user experience analytics best practices metrics. + * + * @param UserExperienceAnalyticsCategory $val The bestPracticesMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setBestPracticesMetrics($val) + { + $this->_propDict["bestPracticesMetrics"] = $val; + return $this; + } + + /** + * Gets the deviceBootPerformanceMetrics + * The user experience analytics device boot performance metrics. + * + * @return UserExperienceAnalyticsCategory|null The deviceBootPerformanceMetrics + */ + public function getDeviceBootPerformanceMetrics() + { + if (array_key_exists("deviceBootPerformanceMetrics", $this->_propDict)) { + if (is_a($this->_propDict["deviceBootPerformanceMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["deviceBootPerformanceMetrics"])) { + return $this->_propDict["deviceBootPerformanceMetrics"]; + } else { + $this->_propDict["deviceBootPerformanceMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["deviceBootPerformanceMetrics"]); + return $this->_propDict["deviceBootPerformanceMetrics"]; + } + } + return null; + } + + /** + * Sets the deviceBootPerformanceMetrics + * The user experience analytics device boot performance metrics. + * + * @param UserExperienceAnalyticsCategory $val The deviceBootPerformanceMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setDeviceBootPerformanceMetrics($val) + { + $this->_propDict["deviceBootPerformanceMetrics"] = $val; + return $this; + } + + /** + * Gets the rebootAnalyticsMetrics + * The user experience analytics reboot analytics metrics. + * + * @return UserExperienceAnalyticsCategory|null The rebootAnalyticsMetrics + */ + public function getRebootAnalyticsMetrics() + { + if (array_key_exists("rebootAnalyticsMetrics", $this->_propDict)) { + if (is_a($this->_propDict["rebootAnalyticsMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["rebootAnalyticsMetrics"])) { + return $this->_propDict["rebootAnalyticsMetrics"]; + } else { + $this->_propDict["rebootAnalyticsMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["rebootAnalyticsMetrics"]); + return $this->_propDict["rebootAnalyticsMetrics"]; + } + } + return null; + } + + /** + * Sets the rebootAnalyticsMetrics + * The user experience analytics reboot analytics metrics. + * + * @param UserExperienceAnalyticsCategory $val The rebootAnalyticsMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setRebootAnalyticsMetrics($val) + { + $this->_propDict["rebootAnalyticsMetrics"] = $val; + return $this; + } + + /** + * Gets the resourcePerformanceMetrics + * The user experience analytics resource performance metrics. + * + * @return UserExperienceAnalyticsCategory|null The resourcePerformanceMetrics + */ + public function getResourcePerformanceMetrics() + { + if (array_key_exists("resourcePerformanceMetrics", $this->_propDict)) { + if (is_a($this->_propDict["resourcePerformanceMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["resourcePerformanceMetrics"])) { + return $this->_propDict["resourcePerformanceMetrics"]; + } else { + $this->_propDict["resourcePerformanceMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["resourcePerformanceMetrics"]); + return $this->_propDict["resourcePerformanceMetrics"]; + } + } + return null; + } + + /** + * Sets the resourcePerformanceMetrics + * The user experience analytics resource performance metrics. + * + * @param UserExperienceAnalyticsCategory $val The resourcePerformanceMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setResourcePerformanceMetrics($val) + { + $this->_propDict["resourcePerformanceMetrics"] = $val; + return $this; + } + + /** + * Gets the workFromAnywhereMetrics + * The user experience analytics work from anywhere metrics. + * + * @return UserExperienceAnalyticsCategory|null The workFromAnywhereMetrics + */ + public function getWorkFromAnywhereMetrics() + { + if (array_key_exists("workFromAnywhereMetrics", $this->_propDict)) { + if (is_a($this->_propDict["workFromAnywhereMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory") || is_null($this->_propDict["workFromAnywhereMetrics"])) { + return $this->_propDict["workFromAnywhereMetrics"]; + } else { + $this->_propDict["workFromAnywhereMetrics"] = new UserExperienceAnalyticsCategory($this->_propDict["workFromAnywhereMetrics"]); + return $this->_propDict["workFromAnywhereMetrics"]; + } + } + return null; + } + + /** + * Sets the workFromAnywhereMetrics + * The user experience analytics work from anywhere metrics. + * + * @param UserExperienceAnalyticsCategory $val The workFromAnywhereMetrics + * + * @return UserExperienceAnalyticsBaseline + */ + public function setWorkFromAnywhereMetrics($val) + { + $this->_propDict["workFromAnywhereMetrics"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php new file mode 100644 index 0000000..6b41954 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthAppImpact.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["activeDevices"]; + } else { + return null; + } + } + + /** + * Sets the activeDevices + * Number of active devices for using that app over a 14-day period. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDevices + * + * @return UserExperienceAnalyticsBatteryHealthAppImpact + */ + public function setActiveDevices($val) + { + $this->_propDict["activeDevices"] = intval($val); + return $this; + } + + /** + * Gets the appDisplayName + * User friendly display name for the app. Eg: Outlook + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * User friendly display name for the app. Eg: Outlook + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsBatteryHealthAppImpact + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appName + * App name. Eg: oltk.exe + * + * @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 + * App name. Eg: oltk.exe + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsBatteryHealthAppImpact + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * App publisher. Eg: Microsoft Corporation + * + * @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 + * App publisher. Eg: Microsoft Corporation + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsBatteryHealthAppImpact + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the batteryUsagePercentage + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days computed across all devices in the tenant. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The batteryUsagePercentage + */ + public function getBatteryUsagePercentage() + { + if (array_key_exists("batteryUsagePercentage", $this->_propDict)) { + return $this->_propDict["batteryUsagePercentage"]; + } else { + return null; + } + } + + /** + * Sets the batteryUsagePercentage + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days computed across all devices in the tenant. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The batteryUsagePercentage + * + * @return UserExperienceAnalyticsBatteryHealthAppImpact + */ + public function setBatteryUsagePercentage($val) + { + $this->_propDict["batteryUsagePercentage"] = floatval($val); + return $this; + } + + /** + * Gets the isForegroundApp + * true if the user had active interaction with the app. + * + * @return bool|null The isForegroundApp + */ + public function getIsForegroundApp() + { + if (array_key_exists("isForegroundApp", $this->_propDict)) { + return $this->_propDict["isForegroundApp"]; + } else { + return null; + } + } + + /** + * Sets the isForegroundApp + * true if the user had active interaction with the app. + * + * @param bool $val The isForegroundApp + * + * @return UserExperienceAnalyticsBatteryHealthAppImpact + */ + public function setIsForegroundApp($val) + { + $this->_propDict["isForegroundApp"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php new file mode 100644 index 0000000..ce4882d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthCapacityDetails.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["activeDevices"]; + } else { + return null; + } + } + + /** + * Sets the activeDevices + * Number of active devices within the tenant. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDevices + * + * @return UserExperienceAnalyticsBatteryHealthCapacityDetails + */ + public function setActiveDevices($val) + { + $this->_propDict["activeDevices"] = intval($val); + return $this; + } + + /** + * Gets the batteryCapacityFair + * Number of devices whose battery maximum capacity is greater than 50% but lesser than 80%. Valid values -2147483648 to 2147483647 + * + * @return int|null The batteryCapacityFair + */ + public function getBatteryCapacityFair() + { + if (array_key_exists("batteryCapacityFair", $this->_propDict)) { + return $this->_propDict["batteryCapacityFair"]; + } else { + return null; + } + } + + /** + * Sets the batteryCapacityFair + * Number of devices whose battery maximum capacity is greater than 50% but lesser than 80%. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryCapacityFair + * + * @return UserExperienceAnalyticsBatteryHealthCapacityDetails + */ + public function setBatteryCapacityFair($val) + { + $this->_propDict["batteryCapacityFair"] = intval($val); + return $this; + } + + /** + * Gets the batteryCapacityGood + * Number of devices whose battery maximum capacity is greater than 80%. Valid values -2147483648 to 2147483647 + * + * @return int|null The batteryCapacityGood + */ + public function getBatteryCapacityGood() + { + if (array_key_exists("batteryCapacityGood", $this->_propDict)) { + return $this->_propDict["batteryCapacityGood"]; + } else { + return null; + } + } + + /** + * Sets the batteryCapacityGood + * Number of devices whose battery maximum capacity is greater than 80%. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryCapacityGood + * + * @return UserExperienceAnalyticsBatteryHealthCapacityDetails + */ + public function setBatteryCapacityGood($val) + { + $this->_propDict["batteryCapacityGood"] = intval($val); + return $this; + } + + /** + * Gets the batteryCapacityPoor + * Number of devices whose battery maximum capacity is lesser than 50%. Valid values -2147483648 to 2147483647 + * + * @return int|null The batteryCapacityPoor + */ + public function getBatteryCapacityPoor() + { + if (array_key_exists("batteryCapacityPoor", $this->_propDict)) { + return $this->_propDict["batteryCapacityPoor"]; + } else { + return null; + } + } + + /** + * Sets the batteryCapacityPoor + * Number of devices whose battery maximum capacity is lesser than 50%. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryCapacityPoor + * + * @return UserExperienceAnalyticsBatteryHealthCapacityDetails + */ + public function setBatteryCapacityPoor($val) + { + $this->_propDict["batteryCapacityPoor"] = intval($val); + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Recorded date time of this capacity details instance. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Recorded date time of this capacity details instance. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return UserExperienceAnalyticsBatteryHealthCapacityDetails + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php new file mode 100644 index 0000000..212cff8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceAppImpact.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * User friendly display name for the app. Eg: Outlook + * + * @param string $val The appDisplayName + * + * @return UserExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appName + * App name. Eg: oltk.exe + * + * @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 + * App name. Eg: oltk.exe + * + * @param string $val The appName + * + * @return UserExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + + /** + * Gets the appPublisher + * App publisher. Eg: Microsoft Corporation + * + * @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 + * App publisher. Eg: Microsoft Corporation + * + * @param string $val The appPublisher + * + * @return UserExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function setAppPublisher($val) + { + $this->_propDict["appPublisher"] = $val; + return $this; + } + + /** + * Gets the batteryUsagePercentage + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The batteryUsagePercentage + */ + public function getBatteryUsagePercentage() + { + if (array_key_exists("batteryUsagePercentage", $this->_propDict)) { + return $this->_propDict["batteryUsagePercentage"]; + } else { + return null; + } + } + + /** + * Sets the batteryUsagePercentage + * The percent of total battery power used by this application when the device was not plugged into AC power, over 14 days. Unit in percentage. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The batteryUsagePercentage + * + * @return UserExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function setBatteryUsagePercentage($val) + { + $this->_propDict["batteryUsagePercentage"] = floatval($val); + return $this; + } + + /** + * Gets the deviceId + * The unique identifier of the device, Intune DeviceID or SCCM device id. + * + * @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 unique identifier of the device, Intune DeviceID or SCCM device id. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the isForegroundApp + * true if the user had active interaction with the app. + * + * @return bool|null The isForegroundApp + */ + public function getIsForegroundApp() + { + if (array_key_exists("isForegroundApp", $this->_propDict)) { + return $this->_propDict["isForegroundApp"]; + } else { + return null; + } + } + + /** + * Sets the isForegroundApp + * true if the user had active interaction with the app. + * + * @param bool $val The isForegroundApp + * + * @return UserExperienceAnalyticsBatteryHealthDeviceAppImpact + */ + public function setIsForegroundApp($val) + { + $this->_propDict["isForegroundApp"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php new file mode 100644 index 0000000..d00c2e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDevicePerformance.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["batteryAgeInDays"]; + } else { + return null; + } + } + + /** + * Sets the batteryAgeInDays + * Estimated battery age. Unit in days. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryAgeInDays + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setBatteryAgeInDays($val) + { + $this->_propDict["batteryAgeInDays"] = intval($val); + return $this; + } + + /** + * Gets the deviceBatteryHealthScore + * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 + * + * @return int|null The deviceBatteryHealthScore + */ + public function getDeviceBatteryHealthScore() + { + if (array_key_exists("deviceBatteryHealthScore", $this->_propDict)) { + return $this->_propDict["deviceBatteryHealthScore"]; + } else { + return null; + } + } + + /** + * Sets the deviceBatteryHealthScore + * A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values -2147483648 to 2147483647 + * + * @param int $val The deviceBatteryHealthScore + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setDeviceBatteryHealthScore($val) + { + $this->_propDict["deviceBatteryHealthScore"] = intval($val); + return $this; + } + + /** + * Gets the deviceId + * The unique identifier of the device, Intune 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 + * The unique identifier of the device, Intune DeviceID. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device friendly name. + * + * @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 + * Device friendly name. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the estimatedRuntimeInMinutes + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The estimatedRuntimeInMinutes + */ + public function getEstimatedRuntimeInMinutes() + { + if (array_key_exists("estimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["estimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the estimatedRuntimeInMinutes + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The estimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setEstimatedRuntimeInMinutes($val) + { + $this->_propDict["estimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the healthStatus + * The overall battery health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The overall battery health status of the device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The manufacturer name of the device. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The manufacturer name of the device. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the maxCapacityPercentage + * Ratio of current capacity and design capacity of the battery with the lowest capacity. Unit in percentage and values range from 0-100. Valid values -2147483648 to 2147483647 + * + * @return int|null The maxCapacityPercentage + */ + public function getMaxCapacityPercentage() + { + if (array_key_exists("maxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["maxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maxCapacityPercentage + * Ratio of current capacity and design capacity of the battery with the lowest capacity. Unit in percentage and values range from 0-100. Valid values -2147483648 to 2147483647 + * + * @param int $val The maxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setMaxCapacityPercentage($val) + { + $this->_propDict["maxCapacityPercentage"] = intval($val); + return $this; + } + + /** + * Gets the model + * The model name of the device. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The model name of the device. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsBatteryHealthDevicePerformance + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php new file mode 100644 index 0000000..b4a7654 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The unique identifier of the device, Intune DeviceID or SCCM device id. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the estimatedRuntimeInMinutes + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The estimatedRuntimeInMinutes + */ + public function getEstimatedRuntimeInMinutes() + { + if (array_key_exists("estimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["estimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the estimatedRuntimeInMinutes + * The estimated runtime of the device when the battery is fully charged. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The estimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + */ + public function setEstimatedRuntimeInMinutes($val) + { + $this->_propDict["estimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the runtimeDateTime + * The datetime for the instance of runtime history. + * + * @return string|null The runtimeDateTime + */ + public function getRuntimeDateTime() + { + if (array_key_exists("runtimeDateTime", $this->_propDict)) { + return $this->_propDict["runtimeDateTime"]; + } else { + return null; + } + } + + /** + * Sets the runtimeDateTime + * The datetime for the instance of runtime history. + * + * @param string $val The runtimeDateTime + * + * @return UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory + */ + public function setRuntimeDateTime($val) + { + $this->_propDict["runtimeDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php new file mode 100644 index 0000000..ba6ffc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthModelPerformance.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["activeDevices"]; + } else { + return null; + } + } + + /** + * Sets the activeDevices + * Number of active devices for that model. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDevices + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setActiveDevices($val) + { + $this->_propDict["activeDevices"] = intval($val); + return $this; + } + + /** + * Gets the averageBatteryAgeInDays + * The mean of the battery age for all devices of a given model in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * + * @return int|null The averageBatteryAgeInDays + */ + public function getAverageBatteryAgeInDays() + { + if (array_key_exists("averageBatteryAgeInDays", $this->_propDict)) { + return $this->_propDict["averageBatteryAgeInDays"]; + } else { + return null; + } + } + + /** + * Sets the averageBatteryAgeInDays + * The mean of the battery age for all devices of a given model in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * + * @param int $val The averageBatteryAgeInDays + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setAverageBatteryAgeInDays($val) + { + $this->_propDict["averageBatteryAgeInDays"] = intval($val); + return $this; + } + + /** + * Gets the averageEstimatedRuntimeInMinutes + * The mean of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The averageEstimatedRuntimeInMinutes + */ + public function getAverageEstimatedRuntimeInMinutes() + { + if (array_key_exists("averageEstimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["averageEstimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the averageEstimatedRuntimeInMinutes + * The mean of the estimated runtimes on full charge for all devices of a given model. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The averageEstimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setAverageEstimatedRuntimeInMinutes($val) + { + $this->_propDict["averageEstimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the averageMaxCapacityPercentage + * The mean of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * + * @return int|null The averageMaxCapacityPercentage + */ + public function getAverageMaxCapacityPercentage() + { + if (array_key_exists("averageMaxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["averageMaxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageMaxCapacityPercentage + * The mean of the maximum capacity for all devices of a given model. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * + * @param int $val The averageMaxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setAverageMaxCapacityPercentage($val) + { + $this->_propDict["averageMaxCapacityPercentage"] = intval($val); + return $this; + } + + /** + * Gets the manufacturer + * Name of the device manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Name of the device manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The model name of the device. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The model name of the device. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsBatteryHealthModelPerformance + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php new file mode 100644 index 0000000..ea6978d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthOsPerformance.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["activeDevices"]; + } else { + return null; + } + } + + /** + * Sets the activeDevices + * Number of active devices for that os version. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDevices + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setActiveDevices($val) + { + $this->_propDict["activeDevices"] = intval($val); + return $this; + } + + /** + * Gets the averageBatteryAgeInDays + * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * + * @return int|null The averageBatteryAgeInDays + */ + public function getAverageBatteryAgeInDays() + { + if (array_key_exists("averageBatteryAgeInDays", $this->_propDict)) { + return $this->_propDict["averageBatteryAgeInDays"]; + } else { + return null; + } + } + + /** + * Sets the averageBatteryAgeInDays + * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values -2147483648 to 2147483647 + * + * @param int $val The averageBatteryAgeInDays + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setAverageBatteryAgeInDays($val) + { + $this->_propDict["averageBatteryAgeInDays"] = intval($val); + return $this; + } + + /** + * Gets the averageEstimatedRuntimeInMinutes + * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @return int|null The averageEstimatedRuntimeInMinutes + */ + public function getAverageEstimatedRuntimeInMinutes() + { + if (array_key_exists("averageEstimatedRuntimeInMinutes", $this->_propDict)) { + return $this->_propDict["averageEstimatedRuntimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the averageEstimatedRuntimeInMinutes + * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values -2147483648 to 2147483647 + * + * @param int $val The averageEstimatedRuntimeInMinutes + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setAverageEstimatedRuntimeInMinutes($val) + { + $this->_propDict["averageEstimatedRuntimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the averageMaxCapacityPercentage + * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * + * @return int|null The averageMaxCapacityPercentage + */ + public function getAverageMaxCapacityPercentage() + { + if (array_key_exists("averageMaxCapacityPercentage", $this->_propDict)) { + return $this->_propDict["averageMaxCapacityPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageMaxCapacityPercentage + * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values -2147483648 to 2147483647 + * + * @param int $val The averageMaxCapacityPercentage + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setAverageMaxCapacityPercentage($val) + { + $this->_propDict["averageMaxCapacityPercentage"] = intval($val); + return $this; + } + + /** + * Gets the osBuildNumber + * Build number of the operating system. + * + * @return string|null The osBuildNumber + */ + public function getOsBuildNumber() + { + if (array_key_exists("osBuildNumber", $this->_propDict)) { + return $this->_propDict["osBuildNumber"]; + } else { + return null; + } + } + + /** + * Sets the osBuildNumber + * Build number of the operating system. + * + * @param string $val The osBuildNumber + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setOsBuildNumber($val) + { + $this->_propDict["osBuildNumber"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Version of the operating system. + * + * @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 + * Version of the operating system. + * + * @param string $val The osVersion + * + * @return UserExperienceAnalyticsBatteryHealthOsPerformance + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php new file mode 100644 index 0000000..0f4b0f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBatteryHealthRuntimeDetails.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["activeDevices"]; + } else { + return null; + } + } + + /** + * Sets the activeDevices + * Number of active devices within the tenant. Valid values -2147483648 to 2147483647 + * + * @param int $val The activeDevices + * + * @return UserExperienceAnalyticsBatteryHealthRuntimeDetails + */ + public function setActiveDevices($val) + { + $this->_propDict["activeDevices"] = intval($val); + return $this; + } + + /** + * Gets the batteryRuntimeFair + * Number of devices whose active runtime is greater than 3 hours but lesser than 5 hours. Valid values -2147483648 to 2147483647 + * + * @return int|null The batteryRuntimeFair + */ + public function getBatteryRuntimeFair() + { + if (array_key_exists("batteryRuntimeFair", $this->_propDict)) { + return $this->_propDict["batteryRuntimeFair"]; + } else { + return null; + } + } + + /** + * Sets the batteryRuntimeFair + * Number of devices whose active runtime is greater than 3 hours but lesser than 5 hours. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryRuntimeFair + * + * @return UserExperienceAnalyticsBatteryHealthRuntimeDetails + */ + public function setBatteryRuntimeFair($val) + { + $this->_propDict["batteryRuntimeFair"] = intval($val); + return $this; + } + + /** + * Gets the batteryRuntimeGood + * Number of devices whose active runtime is greater than 5 hours. Valid values -2147483648 to 2147483647 + * + * @return int|null The batteryRuntimeGood + */ + public function getBatteryRuntimeGood() + { + if (array_key_exists("batteryRuntimeGood", $this->_propDict)) { + return $this->_propDict["batteryRuntimeGood"]; + } else { + return null; + } + } + + /** + * Sets the batteryRuntimeGood + * Number of devices whose active runtime is greater than 5 hours. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryRuntimeGood + * + * @return UserExperienceAnalyticsBatteryHealthRuntimeDetails + */ + public function setBatteryRuntimeGood($val) + { + $this->_propDict["batteryRuntimeGood"] = intval($val); + return $this; + } + + /** + * Gets the batteryRuntimePoor + * Number of devices whose active runtime is lesser than 3 hours. Valid values -2147483648 to 2147483647 + * + * @return int|null The batteryRuntimePoor + */ + public function getBatteryRuntimePoor() + { + if (array_key_exists("batteryRuntimePoor", $this->_propDict)) { + return $this->_propDict["batteryRuntimePoor"]; + } else { + return null; + } + } + + /** + * Sets the batteryRuntimePoor + * Number of devices whose active runtime is lesser than 3 hours. Valid values -2147483648 to 2147483647 + * + * @param int $val The batteryRuntimePoor + * + * @return UserExperienceAnalyticsBatteryHealthRuntimeDetails + */ + public function setBatteryRuntimePoor($val) + { + $this->_propDict["batteryRuntimePoor"] = intval($val); + return $this; + } + + /** + * Gets the lastRefreshedDateTime + * Recorded date time of this runtime details instance. + * + * @return \DateTime|null The lastRefreshedDateTime + */ + public function getLastRefreshedDateTime() + { + if (array_key_exists("lastRefreshedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshedDateTime"], "\DateTime") || is_null($this->_propDict["lastRefreshedDateTime"])) { + return $this->_propDict["lastRefreshedDateTime"]; + } else { + $this->_propDict["lastRefreshedDateTime"] = new \DateTime($this->_propDict["lastRefreshedDateTime"]); + return $this->_propDict["lastRefreshedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshedDateTime + * Recorded date time of this runtime details instance. + * + * @param \DateTime $val The lastRefreshedDateTime + * + * @return UserExperienceAnalyticsBatteryHealthRuntimeDetails + */ + public function setLastRefreshedDateTime($val) + { + $this->_propDict["lastRefreshedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCategory.php new file mode 100644 index 0000000..e81fae5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCategory.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["insights"]; + } else { + return null; + } + } + + /** + * Sets the insights + * The insights for the user experience analytics category. + * + * @param UserExperienceAnalyticsInsight[] $val The insights + * + * @return UserExperienceAnalyticsCategory + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + + /** + * Gets the metricValues + * The metric values for the user experience analytics category. + * + * @return array|null The metricValues + */ + public function getMetricValues() + { + if (array_key_exists("metricValues", $this->_propDict)) { + return $this->_propDict["metricValues"]; + } else { + return null; + } + } + + /** + * Sets the metricValues + * The metric values for the user experience analytics category. + * + * @param UserExperienceAnalyticsMetric[] $val The metricValues + * + * @return UserExperienceAnalyticsCategory + */ + public function setMetricValues($val) + { + $this->_propDict["metricValues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudIdentityDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudIdentityDevicesSummary.php new file mode 100644 index 0000000..2d9f8f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudIdentityDevicesSummary.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["deviceWithoutCloudIdentityCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceWithoutCloudIdentityCount + * The count of devices that are not cloud identity. + * + * @param int $val The value of the deviceWithoutCloudIdentityCount + * + * @return UserExperienceAnalyticsCloudIdentityDevicesSummary + */ + public function setDeviceWithoutCloudIdentityCount($val) + { + $this->_propDict["deviceWithoutCloudIdentityCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudManagementDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudManagementDevicesSummary.php new file mode 100644 index 0000000..55fbdc5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudManagementDevicesSummary.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["coManagedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the coManagedDeviceCount + * Total number of co-managed devices. + * + * @param int $val The value of the coManagedDeviceCount + * + * @return UserExperienceAnalyticsCloudManagementDevicesSummary + */ + public function setCoManagedDeviceCount($val) + { + $this->_propDict["coManagedDeviceCount"] = $val; + return $this; + } + /** + * Gets the intuneDeviceCount + * The count of intune devices that are not autopilot registerd. + * + * @return int|null The intuneDeviceCount + */ + public function getIntuneDeviceCount() + { + if (array_key_exists("intuneDeviceCount", $this->_propDict)) { + return $this->_propDict["intuneDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the intuneDeviceCount + * The count of intune devices that are not autopilot registerd. + * + * @param int $val The value of the intuneDeviceCount + * + * @return UserExperienceAnalyticsCloudManagementDevicesSummary + */ + public function setIntuneDeviceCount($val) + { + $this->_propDict["intuneDeviceCount"] = $val; + return $this; + } + /** + * Gets the tenantAttachDeviceCount + * Total count of tenant attach devices. + * + * @return int|null The tenantAttachDeviceCount + */ + public function getTenantAttachDeviceCount() + { + if (array_key_exists("tenantAttachDeviceCount", $this->_propDict)) { + return $this->_propDict["tenantAttachDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the tenantAttachDeviceCount + * Total count of tenant attach devices. + * + * @param int $val The value of the tenantAttachDeviceCount + * + * @return UserExperienceAnalyticsCloudManagementDevicesSummary + */ + public function setTenantAttachDeviceCount($val) + { + $this->_propDict["tenantAttachDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDevicePerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDevicePerformance.php new file mode 100644 index 0000000..cf14313 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDevicePerformance.php @@ -0,0 +1,615 @@ +_propDict)) { + return $this->_propDict["averageBlueScreens"]; + } else { + return null; + } + } + + /** + * Sets the averageBlueScreens + * Average (mean) number of Blue Screens per device in the last 14 days. Valid values 0 to 9999999 + * + * @param float $val The averageBlueScreens + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setAverageBlueScreens($val) + { + $this->_propDict["averageBlueScreens"] = floatval($val); + return $this; + } + + /** + * Gets the averageRestarts + * Average (mean) number of Restarts per device in the last 14 days. Valid values 0 to 9999999 + * + * @return float|null The averageRestarts + */ + public function getAverageRestarts() + { + if (array_key_exists("averageRestarts", $this->_propDict)) { + return $this->_propDict["averageRestarts"]; + } else { + return null; + } + } + + /** + * Sets the averageRestarts + * Average (mean) number of Restarts per device in the last 14 days. Valid values 0 to 9999999 + * + * @param float $val The averageRestarts + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setAverageRestarts($val) + { + $this->_propDict["averageRestarts"] = floatval($val); + return $this; + } + + /** + * Gets the blueScreenCount + * Number of Blue Screens in the last 14 days. Valid values 0 to 9999999 + * + * @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 + * Number of Blue Screens in the last 14 days. Valid values 0 to 9999999 + * + * @param int $val The blueScreenCount + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setBlueScreenCount($val) + { + $this->_propDict["blueScreenCount"] = intval($val); + return $this; + } + + /** + * Gets the bootScore + * The user experience analytics device boot score. + * + * @return int|null The bootScore + */ + public function getBootScore() + { + if (array_key_exists("bootScore", $this->_propDict)) { + return $this->_propDict["bootScore"]; + } else { + return null; + } + } + + /** + * Sets the bootScore + * The user experience analytics device boot score. + * + * @param int $val The bootScore + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setBootScore($val) + { + $this->_propDict["bootScore"] = intval($val); + return $this; + } + + /** + * Gets the coreBootTimeInMs + * The user experience analytics device core boot time in milliseconds. + * + * @return int|null The coreBootTimeInMs + */ + public function getCoreBootTimeInMs() + { + if (array_key_exists("coreBootTimeInMs", $this->_propDict)) { + return $this->_propDict["coreBootTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the coreBootTimeInMs + * The user experience analytics device core boot time in milliseconds. + * + * @param int $val The coreBootTimeInMs + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setCoreBootTimeInMs($val) + { + $this->_propDict["coreBootTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the coreLoginTimeInMs + * The user experience analytics device core login time in milliseconds. + * + * @return int|null The coreLoginTimeInMs + */ + public function getCoreLoginTimeInMs() + { + if (array_key_exists("coreLoginTimeInMs", $this->_propDict)) { + return $this->_propDict["coreLoginTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the coreLoginTimeInMs + * The user experience analytics device core login time in milliseconds. + * + * @param int $val The coreLoginTimeInMs + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setCoreLoginTimeInMs($val) + { + $this->_propDict["coreLoginTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the deviceCount + * User experience analytics summarized device count. + * + * @return int|null The deviceCount + */ + public function getDeviceCount() + { + if (array_key_exists("deviceCount", $this->_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * User experience analytics summarized device count. + * + * @param int $val The deviceCount + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceName + * The user experience analytics device name. + * + * @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 user experience analytics device name. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the diskType + * The user experience analytics device disk type. Possible values are: unknown, hdd, ssd, unknownFutureValue. + * + * @return DiskType|null The diskType + */ + public function getDiskType() + { + if (array_key_exists("diskType", $this->_propDict)) { + if (is_a($this->_propDict["diskType"], "\Beta\Microsoft\Graph\Model\DiskType") || is_null($this->_propDict["diskType"])) { + return $this->_propDict["diskType"]; + } else { + $this->_propDict["diskType"] = new DiskType($this->_propDict["diskType"]); + return $this->_propDict["diskType"]; + } + } + return null; + } + + /** + * Sets the diskType + * The user experience analytics device disk type. Possible values are: unknown, hdd, ssd, unknownFutureValue. + * + * @param DiskType $val The diskType + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setDiskType($val) + { + $this->_propDict["diskType"] = $val; + return $this; + } + + /** + * Gets the groupPolicyBootTimeInMs + * The user experience analytics device group policy boot time in milliseconds. + * + * @return int|null The groupPolicyBootTimeInMs + */ + public function getGroupPolicyBootTimeInMs() + { + if (array_key_exists("groupPolicyBootTimeInMs", $this->_propDict)) { + return $this->_propDict["groupPolicyBootTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyBootTimeInMs + * The user experience analytics device group policy boot time in milliseconds. + * + * @param int $val The groupPolicyBootTimeInMs + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setGroupPolicyBootTimeInMs($val) + { + $this->_propDict["groupPolicyBootTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the groupPolicyLoginTimeInMs + * The user experience analytics device group policy login time in milliseconds. + * + * @return int|null The groupPolicyLoginTimeInMs + */ + public function getGroupPolicyLoginTimeInMs() + { + if (array_key_exists("groupPolicyLoginTimeInMs", $this->_propDict)) { + return $this->_propDict["groupPolicyLoginTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyLoginTimeInMs + * The user experience analytics device group policy login time in milliseconds. + * + * @param int $val The groupPolicyLoginTimeInMs + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setGroupPolicyLoginTimeInMs($val) + { + $this->_propDict["groupPolicyLoginTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the healthStatus + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the loginScore + * The user experience analytics device login score. + * + * @return int|null The loginScore + */ + public function getLoginScore() + { + if (array_key_exists("loginScore", $this->_propDict)) { + return $this->_propDict["loginScore"]; + } else { + return null; + } + } + + /** + * Sets the loginScore + * The user experience analytics device login score. + * + * @param int $val The loginScore + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setLoginScore($val) + { + $this->_propDict["loginScore"] = intval($val); + return $this; + } + + /** + * Gets the manufacturer + * The user experience analytics device manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The user experience analytics device manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The user experience analytics device model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The user experience analytics device model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the modelStartupPerformanceScore + * The user experience analytics model level startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The modelStartupPerformanceScore + */ + public function getModelStartupPerformanceScore() + { + if (array_key_exists("modelStartupPerformanceScore", $this->_propDict)) { + return $this->_propDict["modelStartupPerformanceScore"]; + } else { + return null; + } + } + + /** + * Sets the modelStartupPerformanceScore + * The user experience analytics model level startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The modelStartupPerformanceScore + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setModelStartupPerformanceScore($val) + { + $this->_propDict["modelStartupPerformanceScore"] = floatval($val); + return $this; + } + + /** + * Gets the operatingSystemVersion + * The user experience analytics device Operating System version. + * + * @return string|null The operatingSystemVersion + */ + public function getOperatingSystemVersion() + { + if (array_key_exists("operatingSystemVersion", $this->_propDict)) { + return $this->_propDict["operatingSystemVersion"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemVersion + * The user experience analytics device Operating System version. + * + * @param string $val The operatingSystemVersion + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setOperatingSystemVersion($val) + { + $this->_propDict["operatingSystemVersion"] = $val; + return $this; + } + + /** + * Gets the responsiveDesktopTimeInMs + * The user experience analytics responsive desktop time in milliseconds. + * + * @return int|null The responsiveDesktopTimeInMs + */ + public function getResponsiveDesktopTimeInMs() + { + if (array_key_exists("responsiveDesktopTimeInMs", $this->_propDict)) { + return $this->_propDict["responsiveDesktopTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the responsiveDesktopTimeInMs + * The user experience analytics responsive desktop time in milliseconds. + * + * @param int $val The responsiveDesktopTimeInMs + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setResponsiveDesktopTimeInMs($val) + { + $this->_propDict["responsiveDesktopTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the restartCount + * Number of Restarts in the last 14 days. Valid values 0 to 9999999 + * + * @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 + * Number of Restarts in the last 14 days. Valid values 0 to 9999999 + * + * @param int $val The restartCount + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setRestartCount($val) + { + $this->_propDict["restartCount"] = intval($val); + return $this; + } + + /** + * Gets the startupPerformanceScore + * The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @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 + * The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The startupPerformanceScore + * + * @return UserExperienceAnalyticsDevicePerformance + */ + public function setStartupPerformanceScore($val) + { + $this->_propDict["startupPerformanceScore"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceScope.php new file mode 100644 index 0000000..978de77 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceScope.php @@ -0,0 +1,366 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Indicates the creation date and time for the custom device scope. + * + * @param \DateTime $val The createdDateTime + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceScopeName + * The name of the user experience analytics device Scope configuration. + * + * @return string|null The deviceScopeName + */ + public function getDeviceScopeName() + { + if (array_key_exists("deviceScopeName", $this->_propDict)) { + return $this->_propDict["deviceScopeName"]; + } else { + return null; + } + } + + /** + * Sets the deviceScopeName + * The name of the user experience analytics device Scope configuration. + * + * @param string $val The deviceScopeName + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setDeviceScopeName($val) + { + $this->_propDict["deviceScopeName"] = $val; + return $this; + } + + /** + * Gets the enabled + * Indicates whether a device scope is enabled or disabled. When TRUE, the device scope is enabled. When FALSE, the device scope is disabled. Default value is FALSE. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates whether a device scope is enabled or disabled. When TRUE, the device scope is enabled. When FALSE, the device scope is disabled. Default value is FALSE. + * + * @param bool $val The enabled + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the isBuiltIn + * Indicates whether the device scope configuration is built-in or custom. When TRUE, the device scope configuration is built-in. When FALSE, the device scope configuration is custom. Default value is FALSE. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Indicates whether the device scope configuration is built-in or custom. When TRUE, the device scope configuration is built-in. When FALSE, the device scope configuration is custom. Default value is FALSE. + * + * @param bool $val The isBuiltIn + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Indicates the last updated date and time for the custom device scope. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Indicates the last updated date and time for the custom device scope. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the operator + * Device scope configuration query operator. Possible values are: equals, notEquals, contains, notContains, greaterThan, lessThan. Default value: equals. + * + * @return DeviceScopeOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\DeviceScopeOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new DeviceScopeOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * Device scope configuration query operator. Possible values are: equals, notEquals, contains, notContains, greaterThan, lessThan. Default value: equals. + * + * @param DeviceScopeOperator $val The operator + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + + /** + * Gets the ownerId + * The unique identifier of the person (admin) who created the device scope configuration. + * + * @return string|null The ownerId + */ + public function getOwnerId() + { + if (array_key_exists("ownerId", $this->_propDict)) { + return $this->_propDict["ownerId"]; + } else { + return null; + } + } + + /** + * Sets the ownerId + * The unique identifier of the person (admin) who created the device scope configuration. + * + * @param string $val The ownerId + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setOwnerId($val) + { + $this->_propDict["ownerId"] = $val; + return $this; + } + + /** + * Gets the parameter + * Device scope configuration parameter. It will be extended in future to add more parameter. Eg: device scope parameter can be OS version, Disk Type, Device manufacturer, device model or Scope tag. Default value: scopeTag. + * + * @return DeviceScopeParameter|null The parameter + */ + public function getParameter() + { + if (array_key_exists("parameter", $this->_propDict)) { + if (is_a($this->_propDict["parameter"], "\Beta\Microsoft\Graph\Model\DeviceScopeParameter") || is_null($this->_propDict["parameter"])) { + return $this->_propDict["parameter"]; + } else { + $this->_propDict["parameter"] = new DeviceScopeParameter($this->_propDict["parameter"]); + return $this->_propDict["parameter"]; + } + } + return null; + } + + /** + * Sets the parameter + * Device scope configuration parameter. It will be extended in future to add more parameter. Eg: device scope parameter can be OS version, Disk Type, Device manufacturer, device model or Scope tag. Default value: scopeTag. + * + * @param DeviceScopeParameter $val The parameter + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setParameter($val) + { + $this->_propDict["parameter"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the device scope status after the device scope has been enabled. Possible values are: none, computing, insufficientData or completed. Default value is none. + * + * @return DeviceScopeStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceScopeStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceScopeStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the device scope status after the device scope has been enabled. Possible values are: none, computing, insufficientData or completed. Default value is none. + * + * @param DeviceScopeStatus $val The status + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the value + * The device scope configuration query clause value. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The device scope configuration query clause value. + * + * @param string $val The value + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + + /** + * Gets the valueObjectId + * The unique identifier for a user device scope tag Id used for the creation of device scope configuration. + * + * @return string|null The valueObjectId + */ + public function getValueObjectId() + { + if (array_key_exists("valueObjectId", $this->_propDict)) { + return $this->_propDict["valueObjectId"]; + } else { + return null; + } + } + + /** + * Sets the valueObjectId + * The unique identifier for a user device scope tag Id used for the creation of device scope configuration. + * + * @param string $val The valueObjectId + * + * @return UserExperienceAnalyticsDeviceScope + */ + public function setValueObjectId($val) + { + $this->_propDict["valueObjectId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceScores.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceScores.php new file mode 100644 index 0000000..4ebea13 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceScores.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["appReliabilityScore"]; + } else { + return null; + } + } + + /** + * Sets the appReliabilityScore + * The user experience analytics device app reliability score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The appReliabilityScore + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setAppReliabilityScore($val) + { + $this->_propDict["appReliabilityScore"] = floatval($val); + return $this; + } + + /** + * Gets the deviceName + * The user experience analytics device name. + * + * @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 user experience analytics device name. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the endpointAnalyticsScore + * The user experience analytics device score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The endpointAnalyticsScore + */ + public function getEndpointAnalyticsScore() + { + if (array_key_exists("endpointAnalyticsScore", $this->_propDict)) { + return $this->_propDict["endpointAnalyticsScore"]; + } else { + return null; + } + } + + /** + * Sets the endpointAnalyticsScore + * The user experience analytics device score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The endpointAnalyticsScore + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setEndpointAnalyticsScore($val) + { + $this->_propDict["endpointAnalyticsScore"] = floatval($val); + return $this; + } + + /** + * Gets the healthStatus + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The user experience analytics device manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The user experience analytics device manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The user experience analytics device model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The user experience analytics device model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the startupPerformanceScore + * The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @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 + * The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The startupPerformanceScore + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setStartupPerformanceScore($val) + { + $this->_propDict["startupPerformanceScore"] = floatval($val); + return $this; + } + + /** + * Gets the workFromAnywhereScore + * The user experience analytics device work From anywhere score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The workFromAnywhereScore + */ + public function getWorkFromAnywhereScore() + { + if (array_key_exists("workFromAnywhereScore", $this->_propDict)) { + return $this->_propDict["workFromAnywhereScore"]; + } else { + return null; + } + } + + /** + * Sets the workFromAnywhereScore + * The user experience analytics device work From anywhere score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The workFromAnywhereScore + * + * @return UserExperienceAnalyticsDeviceScores + */ + public function setWorkFromAnywhereScore($val) + { + $this->_propDict["workFromAnywhereScore"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupHistory.php new file mode 100644 index 0000000..18fd1bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupHistory.php @@ -0,0 +1,499 @@ +_propDict)) { + return $this->_propDict["coreBootTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the coreBootTimeInMs + * The user experience analytics device core boot time in milliseconds. + * + * @param int $val The coreBootTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setCoreBootTimeInMs($val) + { + $this->_propDict["coreBootTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the coreLoginTimeInMs + * The user experience analytics device core login time in milliseconds. + * + * @return int|null The coreLoginTimeInMs + */ + public function getCoreLoginTimeInMs() + { + if (array_key_exists("coreLoginTimeInMs", $this->_propDict)) { + return $this->_propDict["coreLoginTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the coreLoginTimeInMs + * The user experience analytics device core login time in milliseconds. + * + * @param int $val The coreLoginTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setCoreLoginTimeInMs($val) + { + $this->_propDict["coreLoginTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the deviceId + * The user experience analytics device id. + * + * @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 user experience analytics device id. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the featureUpdateBootTimeInMs + * The user experience analytics device feature update time in milliseconds. + * + * @return int|null The featureUpdateBootTimeInMs + */ + public function getFeatureUpdateBootTimeInMs() + { + if (array_key_exists("featureUpdateBootTimeInMs", $this->_propDict)) { + return $this->_propDict["featureUpdateBootTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdateBootTimeInMs + * The user experience analytics device feature update time in milliseconds. + * + * @param int $val The featureUpdateBootTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setFeatureUpdateBootTimeInMs($val) + { + $this->_propDict["featureUpdateBootTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the groupPolicyBootTimeInMs + * The User experience analytics Device group policy boot time in milliseconds. + * + * @return int|null The groupPolicyBootTimeInMs + */ + public function getGroupPolicyBootTimeInMs() + { + if (array_key_exists("groupPolicyBootTimeInMs", $this->_propDict)) { + return $this->_propDict["groupPolicyBootTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyBootTimeInMs + * The User experience analytics Device group policy boot time in milliseconds. + * + * @param int $val The groupPolicyBootTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setGroupPolicyBootTimeInMs($val) + { + $this->_propDict["groupPolicyBootTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the groupPolicyLoginTimeInMs + * The User experience analytics Device group policy login time in milliseconds. + * + * @return int|null The groupPolicyLoginTimeInMs + */ + public function getGroupPolicyLoginTimeInMs() + { + if (array_key_exists("groupPolicyLoginTimeInMs", $this->_propDict)) { + return $this->_propDict["groupPolicyLoginTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the groupPolicyLoginTimeInMs + * The User experience analytics Device group policy login time in milliseconds. + * + * @param int $val The groupPolicyLoginTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setGroupPolicyLoginTimeInMs($val) + { + $this->_propDict["groupPolicyLoginTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the isFeatureUpdate + * The user experience analytics device boot record is a feature update. + * + * @return bool|null The isFeatureUpdate + */ + public function getIsFeatureUpdate() + { + if (array_key_exists("isFeatureUpdate", $this->_propDict)) { + return $this->_propDict["isFeatureUpdate"]; + } else { + return null; + } + } + + /** + * Sets the isFeatureUpdate + * The user experience analytics device boot record is a feature update. + * + * @param bool $val The isFeatureUpdate + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setIsFeatureUpdate($val) + { + $this->_propDict["isFeatureUpdate"] = boolval($val); + return $this; + } + + /** + * Gets the isFirstLogin + * The user experience analytics device first login. + * + * @return bool|null The isFirstLogin + */ + public function getIsFirstLogin() + { + if (array_key_exists("isFirstLogin", $this->_propDict)) { + return $this->_propDict["isFirstLogin"]; + } else { + return null; + } + } + + /** + * Sets the isFirstLogin + * The user experience analytics device first login. + * + * @param bool $val The isFirstLogin + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setIsFirstLogin($val) + { + $this->_propDict["isFirstLogin"] = boolval($val); + return $this; + } + + /** + * Gets the operatingSystemVersion + * The user experience analytics device boot record's operating system version. + * + * @return string|null The operatingSystemVersion + */ + public function getOperatingSystemVersion() + { + if (array_key_exists("operatingSystemVersion", $this->_propDict)) { + return $this->_propDict["operatingSystemVersion"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemVersion + * The user experience analytics device boot record's operating system version. + * + * @param string $val The operatingSystemVersion + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setOperatingSystemVersion($val) + { + $this->_propDict["operatingSystemVersion"] = $val; + return $this; + } + + /** + * Gets the responsiveDesktopTimeInMs + * The user experience analytics responsive desktop time in milliseconds. + * + * @return int|null The responsiveDesktopTimeInMs + */ + public function getResponsiveDesktopTimeInMs() + { + if (array_key_exists("responsiveDesktopTimeInMs", $this->_propDict)) { + return $this->_propDict["responsiveDesktopTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the responsiveDesktopTimeInMs + * The user experience analytics responsive desktop time in milliseconds. + * + * @param int $val The responsiveDesktopTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setResponsiveDesktopTimeInMs($val) + { + $this->_propDict["responsiveDesktopTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the restartCategory + * OS restart category. Possible values are: unknown, restartWithUpdate, restartWithoutUpdate, blueScreen, shutdownWithUpdate, shutdownWithoutUpdate, longPowerButtonPress, bootError, update. + * + * @return UserExperienceAnalyticsOperatingSystemRestartCategory|null The restartCategory + */ + public function getRestartCategory() + { + if (array_key_exists("restartCategory", $this->_propDict)) { + if (is_a($this->_propDict["restartCategory"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsOperatingSystemRestartCategory") || is_null($this->_propDict["restartCategory"])) { + return $this->_propDict["restartCategory"]; + } else { + $this->_propDict["restartCategory"] = new UserExperienceAnalyticsOperatingSystemRestartCategory($this->_propDict["restartCategory"]); + return $this->_propDict["restartCategory"]; + } + } + return null; + } + + /** + * Sets the restartCategory + * OS restart category. Possible values are: unknown, restartWithUpdate, restartWithoutUpdate, blueScreen, shutdownWithUpdate, shutdownWithoutUpdate, longPowerButtonPress, bootError, update. + * + * @param UserExperienceAnalyticsOperatingSystemRestartCategory $val The restartCategory + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setRestartCategory($val) + { + $this->_propDict["restartCategory"] = $val; + return $this; + } + + /** + * Gets the restartFaultBucket + * OS restart fault bucket. The fault bucket is used to find additional information about a system crash. + * + * @return string|null The restartFaultBucket + */ + public function getRestartFaultBucket() + { + if (array_key_exists("restartFaultBucket", $this->_propDict)) { + return $this->_propDict["restartFaultBucket"]; + } else { + return null; + } + } + + /** + * Sets the restartFaultBucket + * OS restart fault bucket. The fault bucket is used to find additional information about a system crash. + * + * @param string $val The restartFaultBucket + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setRestartFaultBucket($val) + { + $this->_propDict["restartFaultBucket"] = $val; + return $this; + } + + /** + * Gets the restartStopCode + * OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. + * + * @return string|null The restartStopCode + */ + public function getRestartStopCode() + { + if (array_key_exists("restartStopCode", $this->_propDict)) { + return $this->_propDict["restartStopCode"]; + } else { + return null; + } + } + + /** + * Sets the restartStopCode + * OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. + * + * @param string $val The restartStopCode + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setRestartStopCode($val) + { + $this->_propDict["restartStopCode"] = $val; + return $this; + } + + /** + * Gets the startTime + * The user experience analytics device boot start time. + * + * @return \DateTime|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\DateTime") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new \DateTime($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * The user experience analytics device boot start time. + * + * @param \DateTime $val The startTime + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } + + /** + * Gets the totalBootTimeInMs + * The user experience analytics device total boot time in milliseconds. + * + * @return int|null The totalBootTimeInMs + */ + public function getTotalBootTimeInMs() + { + if (array_key_exists("totalBootTimeInMs", $this->_propDict)) { + return $this->_propDict["totalBootTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the totalBootTimeInMs + * The user experience analytics device total boot time in milliseconds. + * + * @param int $val The totalBootTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setTotalBootTimeInMs($val) + { + $this->_propDict["totalBootTimeInMs"] = intval($val); + return $this; + } + + /** + * Gets the totalLoginTimeInMs + * The user experience analytics device total login time in milliseconds. + * + * @return int|null The totalLoginTimeInMs + */ + public function getTotalLoginTimeInMs() + { + if (array_key_exists("totalLoginTimeInMs", $this->_propDict)) { + return $this->_propDict["totalLoginTimeInMs"]; + } else { + return null; + } + } + + /** + * Sets the totalLoginTimeInMs + * The user experience analytics device total login time in milliseconds. + * + * @param int $val The totalLoginTimeInMs + * + * @return UserExperienceAnalyticsDeviceStartupHistory + */ + public function setTotalLoginTimeInMs($val) + { + $this->_propDict["totalLoginTimeInMs"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcess.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcess.php new file mode 100644 index 0000000..c362b30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcess.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The user experience analytics device id. + * + * @param string $val The managedDeviceId + * + * @return UserExperienceAnalyticsDeviceStartupProcess + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the processName + * User experience analytics device startup process name. + * + * @return string|null The processName + */ + public function getProcessName() + { + if (array_key_exists("processName", $this->_propDict)) { + return $this->_propDict["processName"]; + } else { + return null; + } + } + + /** + * Sets the processName + * User experience analytics device startup process name. + * + * @param string $val The processName + * + * @return UserExperienceAnalyticsDeviceStartupProcess + */ + public function setProcessName($val) + { + $this->_propDict["processName"] = $val; + return $this; + } + + /** + * Gets the productName + * The user experience analytics device startup process product name. + * + * @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 user experience analytics device startup process product name. + * + * @param string $val The productName + * + * @return UserExperienceAnalyticsDeviceStartupProcess + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + + /** + * Gets the publisher + * The User experience analytics device startup process publisher. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The User experience analytics device startup process publisher. + * + * @param string $val The publisher + * + * @return UserExperienceAnalyticsDeviceStartupProcess + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the startupImpactInMs + * User experience analytics device startup process impact in milliseconds. + * + * @return int|null The startupImpactInMs + */ + public function getStartupImpactInMs() + { + if (array_key_exists("startupImpactInMs", $this->_propDict)) { + return $this->_propDict["startupImpactInMs"]; + } else { + return null; + } + } + + /** + * Sets the startupImpactInMs + * User experience analytics device startup process impact in milliseconds. + * + * @param int $val The startupImpactInMs + * + * @return UserExperienceAnalyticsDeviceStartupProcess + */ + public function setStartupImpactInMs($val) + { + $this->_propDict["startupImpactInMs"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php new file mode 100644 index 0000000..5792970 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php @@ -0,0 +1,259 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * User experience analytics device startup process summarized count. + * + * @param int $val The deviceCount + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the medianImpactInMs + * User experience analytics device startup process median impact in milliseconds. + * + * @return int|null The medianImpactInMs + */ + public function getMedianImpactInMs() + { + if (array_key_exists("medianImpactInMs", $this->_propDict)) { + return $this->_propDict["medianImpactInMs"]; + } else { + return null; + } + } + + /** + * Sets the medianImpactInMs + * User experience analytics device startup process median impact in milliseconds. + * + * @param int $val The medianImpactInMs + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setMedianImpactInMs($val) + { + $this->_propDict["medianImpactInMs"] = intval($val); + return $this; + } + + /** + * Gets the medianImpactInMs2 + * User experience analytics device startup process median impact in milliseconds. + * + * @return int|null The medianImpactInMs2 + */ + public function getMedianImpactInMs2() + { + if (array_key_exists("medianImpactInMs2", $this->_propDict)) { + return $this->_propDict["medianImpactInMs2"]; + } else { + return null; + } + } + + /** + * Sets the medianImpactInMs2 + * User experience analytics device startup process median impact in milliseconds. + * + * @param int $val The medianImpactInMs2 + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setMedianImpactInMs2($val) + { + $this->_propDict["medianImpactInMs2"] = intval($val); + return $this; + } + + /** + * Gets the processName + * User experience analytics device startup process name. + * + * @return string|null The processName + */ + public function getProcessName() + { + if (array_key_exists("processName", $this->_propDict)) { + return $this->_propDict["processName"]; + } else { + return null; + } + } + + /** + * Sets the processName + * User experience analytics device startup process name. + * + * @param string $val The processName + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setProcessName($val) + { + $this->_propDict["processName"] = $val; + return $this; + } + + /** + * Gets the productName + * The user experience analytics device startup process product name. + * + * @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 user experience analytics device startup process product name. + * + * @param string $val The productName + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + + /** + * Gets the publisher + * The User experience analytics device startup process publisher. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The User experience analytics device startup process publisher. + * + * @param string $val The publisher + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the totalImpactInMs + * User experience analytics device startup process total impact in milliseconds. + * + * @return int|null The totalImpactInMs + */ + public function getTotalImpactInMs() + { + if (array_key_exists("totalImpactInMs", $this->_propDict)) { + return $this->_propDict["totalImpactInMs"]; + } else { + return null; + } + } + + /** + * Sets the totalImpactInMs + * User experience analytics device startup process total impact in milliseconds. + * + * @param int $val The totalImpactInMs + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setTotalImpactInMs($val) + { + $this->_propDict["totalImpactInMs"] = intval($val); + return $this; + } + + /** + * Gets the totalImpactInMs2 + * User experience analytics device startup process total impact in milliseconds. + * + * @return int|null The totalImpactInMs2 + */ + public function getTotalImpactInMs2() + { + if (array_key_exists("totalImpactInMs2", $this->_propDict)) { + return $this->_propDict["totalImpactInMs2"]; + } else { + return null; + } + } + + /** + * Sets the totalImpactInMs2 + * User experience analytics device startup process total impact in milliseconds. + * + * @param int $val The totalImpactInMs2 + * + * @return UserExperienceAnalyticsDeviceStartupProcessPerformance + */ + public function setTotalImpactInMs2($val) + { + $this->_propDict["totalImpactInMs2"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceWithoutCloudIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceWithoutCloudIdentity.php new file mode 100644 index 0000000..b79d875 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceWithoutCloudIdentity.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["azureAdDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureAdDeviceId + * Azure Active Directory Device Id + * + * @param string $val The azureAdDeviceId + * + * @return UserExperienceAnalyticsDeviceWithoutCloudIdentity + */ + public function setAzureAdDeviceId($val) + { + $this->_propDict["azureAdDeviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The tenant attach device's name. + * + * @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 tenant attach device's name. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsDeviceWithoutCloudIdentity + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsHealthState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsHealthState.php new file mode 100644 index 0000000..e2a2aa9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsHealthState.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * The category of impacting process. + * + * @param string $val The category + * + * @return UserExperienceAnalyticsImpactingProcess + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the description + * The description of process. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of process. + * + * @param string $val The description + * + * @return UserExperienceAnalyticsImpactingProcess + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The unique identifier of the impacted device. + * + * @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 unique identifier of the impacted device. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsImpactingProcess + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the impactValue + * The impact value of the process. Valid values 0 to 1.79769313486232E+308 + * + * @return float|null The impactValue + */ + public function getImpactValue() + { + if (array_key_exists("impactValue", $this->_propDict)) { + return $this->_propDict["impactValue"]; + } else { + return null; + } + } + + /** + * Sets the impactValue + * The impact value of the process. Valid values 0 to 1.79769313486232E+308 + * + * @param float $val The impactValue + * + * @return UserExperienceAnalyticsImpactingProcess + */ + public function setImpactValue($val) + { + $this->_propDict["impactValue"] = floatval($val); + return $this; + } + + /** + * Gets the processName + * The process name. + * + * @return string|null The processName + */ + public function getProcessName() + { + if (array_key_exists("processName", $this->_propDict)) { + return $this->_propDict["processName"]; + } else { + return null; + } + } + + /** + * Sets the processName + * The process name. + * + * @param string $val The processName + * + * @return UserExperienceAnalyticsImpactingProcess + */ + public function setProcessName($val) + { + $this->_propDict["processName"] = $val; + return $this; + } + + /** + * Gets the publisher + * The publisher of the process. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher of the process. + * + * @param string $val The publisher + * + * @return UserExperienceAnalyticsImpactingProcess + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsight.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsight.php new file mode 100644 index 0000000..9322b59 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsight.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["insightId"]; + } else { + return null; + } + } + + /** + * Sets the insightId + * The unique identifier of the user experience analytics insight. + * + * @param string $val The value of the insightId + * + * @return UserExperienceAnalyticsInsight + */ + public function setInsightId($val) + { + $this->_propDict["insightId"] = $val; + return $this; + } + + /** + * Gets the severity + * The value of the user experience analytics insight. Possible values are: none, informational, warning, error. + * + * @return UserExperienceAnalyticsInsightSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsInsightSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new UserExperienceAnalyticsInsightSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * The value of the user experience analytics insight. Possible values are: none, informational, warning, error. + * + * @param UserExperienceAnalyticsInsightSeverity $val The value to assign to the severity + * + * @return UserExperienceAnalyticsInsight The UserExperienceAnalyticsInsight + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + /** + * Gets the userExperienceAnalyticsMetricId + * The unique identifier of the user experience analytics insight. + * + * @return string|null The userExperienceAnalyticsMetricId + */ + public function getUserExperienceAnalyticsMetricId() + { + if (array_key_exists("userExperienceAnalyticsMetricId", $this->_propDict)) { + return $this->_propDict["userExperienceAnalyticsMetricId"]; + } else { + return null; + } + } + + /** + * Sets the userExperienceAnalyticsMetricId + * The unique identifier of the user experience analytics insight. + * + * @param string $val The value of the userExperienceAnalyticsMetricId + * + * @return UserExperienceAnalyticsInsight + */ + public function setUserExperienceAnalyticsMetricId($val) + { + $this->_propDict["userExperienceAnalyticsMetricId"] = $val; + return $this; + } + + /** + * Gets the values + * The value of the user experience analytics insight. + * + * @return UserExperienceAnalyticsInsightValue|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + if (is_a($this->_propDict["values"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsInsightValue") || is_null($this->_propDict["values"])) { + return $this->_propDict["values"]; + } else { + $this->_propDict["values"] = new UserExperienceAnalyticsInsightValue($this->_propDict["values"]); + return $this->_propDict["values"]; + } + } + return null; + } + + /** + * Sets the values + * The value of the user experience analytics insight. + * + * @param UserExperienceAnalyticsInsightValue $val The value to assign to the values + * + * @return UserExperienceAnalyticsInsight The UserExperienceAnalyticsInsight + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsightSeverity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsightSeverity.php new file mode 100644 index 0000000..9f3e7ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsightSeverity.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["unit"]; + } else { + return null; + } + } + + /** + * Sets the unit + * The unit of the user experience analytics metric. + * + * @param string $val The unit + * + * @return UserExperienceAnalyticsMetric + */ + public function setUnit($val) + { + $this->_propDict["unit"] = $val; + return $this; + } + + /** + * Gets the value + * The value of the user experience analytics metric. + * + * @return float|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value of the user experience analytics metric. + * + * @param float $val The value + * + * @return UserExperienceAnalyticsMetric + */ + public function setValue($val) + { + $this->_propDict["value"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsMetricHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsMetricHistory.php new file mode 100644 index 0000000..d6c52d6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsMetricHistory.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * The user experience analytics device id. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsMetricHistory + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the metricDateTime + * The user experience analytics metric date time. + * + * @return \DateTime|null The metricDateTime + */ + public function getMetricDateTime() + { + if (array_key_exists("metricDateTime", $this->_propDict)) { + if (is_a($this->_propDict["metricDateTime"], "\DateTime") || is_null($this->_propDict["metricDateTime"])) { + return $this->_propDict["metricDateTime"]; + } else { + $this->_propDict["metricDateTime"] = new \DateTime($this->_propDict["metricDateTime"]); + return $this->_propDict["metricDateTime"]; + } + } + return null; + } + + /** + * Sets the metricDateTime + * The user experience analytics metric date time. + * + * @param \DateTime $val The metricDateTime + * + * @return UserExperienceAnalyticsMetricHistory + */ + public function setMetricDateTime($val) + { + $this->_propDict["metricDateTime"] = $val; + return $this; + } + + /** + * Gets the metricType + * The user experience analytics metric type. + * + * @return string|null The metricType + */ + public function getMetricType() + { + if (array_key_exists("metricType", $this->_propDict)) { + return $this->_propDict["metricType"]; + } else { + return null; + } + } + + /** + * Sets the metricType + * The user experience analytics metric type. + * + * @param string $val The metricType + * + * @return UserExperienceAnalyticsMetricHistory + */ + public function setMetricType($val) + { + $this->_propDict["metricType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsModelScores.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsModelScores.php new file mode 100644 index 0000000..069da40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsModelScores.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["appReliabilityScore"]; + } else { + return null; + } + } + + /** + * Sets the appReliabilityScore + * The user experience analytics model app reliability score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The appReliabilityScore + * + * @return UserExperienceAnalyticsModelScores + */ + public function setAppReliabilityScore($val) + { + $this->_propDict["appReliabilityScore"] = floatval($val); + return $this; + } + + /** + * Gets the endpointAnalyticsScore + * The user experience analytics model score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The endpointAnalyticsScore + */ + public function getEndpointAnalyticsScore() + { + if (array_key_exists("endpointAnalyticsScore", $this->_propDict)) { + return $this->_propDict["endpointAnalyticsScore"]; + } else { + return null; + } + } + + /** + * Sets the endpointAnalyticsScore + * The user experience analytics model score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The endpointAnalyticsScore + * + * @return UserExperienceAnalyticsModelScores + */ + public function setEndpointAnalyticsScore($val) + { + $this->_propDict["endpointAnalyticsScore"] = floatval($val); + return $this; + } + + /** + * Gets the healthStatus + * The health state of the user experience analytics model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health state of the user experience analytics model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsModelScores + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * A unique identifier of the user experience analytics model scores: device manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * A unique identifier of the user experience analytics model scores: device manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsModelScores + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * A unique identifier of the user experience analytics model scores: device model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * A unique identifier of the user experience analytics model scores: device model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsModelScores + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the modelDeviceCount + * The user experience analytics model device count. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 + * + * @return int|null The modelDeviceCount + */ + public function getModelDeviceCount() + { + if (array_key_exists("modelDeviceCount", $this->_propDict)) { + return $this->_propDict["modelDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the modelDeviceCount + * The user experience analytics model device count. Valid values -9.22337203685478E+18 to 9.22337203685478E+18 + * + * @param int $val The modelDeviceCount + * + * @return UserExperienceAnalyticsModelScores + */ + public function setModelDeviceCount($val) + { + $this->_propDict["modelDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the startupPerformanceScore + * The user experience analytics model startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @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 + * The user experience analytics model startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The startupPerformanceScore + * + * @return UserExperienceAnalyticsModelScores + */ + public function setStartupPerformanceScore($val) + { + $this->_propDict["startupPerformanceScore"] = floatval($val); + return $this; + } + + /** + * Gets the workFromAnywhereScore + * The user experience analytics model work from anywhere score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The workFromAnywhereScore + */ + public function getWorkFromAnywhereScore() + { + if (array_key_exists("workFromAnywhereScore", $this->_propDict)) { + return $this->_propDict["workFromAnywhereScore"]; + } else { + return null; + } + } + + /** + * Sets the workFromAnywhereScore + * The user experience analytics model work from anywhere score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The workFromAnywhereScore + * + * @return UserExperienceAnalyticsModelScores + */ + public function setWorkFromAnywhereScore($val) + { + $this->_propDict["workFromAnywhereScore"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsNotAutopilotReadyDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsNotAutopilotReadyDevice.php new file mode 100644 index 0000000..aa48116 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsNotAutopilotReadyDevice.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["autoPilotProfileAssigned"]; + } else { + return null; + } + } + + /** + * Sets the autoPilotProfileAssigned + * The intune device's autopilotProfileAssigned. + * + * @param bool $val The autoPilotProfileAssigned + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setAutoPilotProfileAssigned($val) + { + $this->_propDict["autoPilotProfileAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the autoPilotRegistered + * The intune device's autopilotRegistered. + * + * @return bool|null The autoPilotRegistered + */ + public function getAutoPilotRegistered() + { + if (array_key_exists("autoPilotRegistered", $this->_propDict)) { + return $this->_propDict["autoPilotRegistered"]; + } else { + return null; + } + } + + /** + * Sets the autoPilotRegistered + * The intune device's autopilotRegistered. + * + * @param bool $val The autoPilotRegistered + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setAutoPilotRegistered($val) + { + $this->_propDict["autoPilotRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the azureAdJoinType + * The intune device's azure Ad joinType. + * + * @return string|null The azureAdJoinType + */ + public function getAzureAdJoinType() + { + if (array_key_exists("azureAdJoinType", $this->_propDict)) { + return $this->_propDict["azureAdJoinType"]; + } else { + return null; + } + } + + /** + * Sets the azureAdJoinType + * The intune device's azure Ad joinType. + * + * @param string $val The azureAdJoinType + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setAzureAdJoinType($val) + { + $this->_propDict["azureAdJoinType"] = $val; + return $this; + } + + /** + * Gets the azureAdRegistered + * The intune device's azureAdRegistered. + * + * @return bool|null The azureAdRegistered + */ + public function getAzureAdRegistered() + { + if (array_key_exists("azureAdRegistered", $this->_propDict)) { + return $this->_propDict["azureAdRegistered"]; + } else { + return null; + } + } + + /** + * Sets the azureAdRegistered + * The intune device's azureAdRegistered. + * + * @param bool $val The azureAdRegistered + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setAzureAdRegistered($val) + { + $this->_propDict["azureAdRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the deviceName + * The intune device's name. + * + * @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 intune device's name. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the managedBy + * The intune device's managed by. + * + * @return string|null The managedBy + */ + public function getManagedBy() + { + if (array_key_exists("managedBy", $this->_propDict)) { + return $this->_propDict["managedBy"]; + } else { + return null; + } + } + + /** + * Sets the managedBy + * The intune device's managed by. + * + * @param string $val The managedBy + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setManagedBy($val) + { + $this->_propDict["managedBy"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The intune device's manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The intune device's manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The intune device's model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The intune device's model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * The intune device's serial number. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * The intune device's serial number. + * + * @param string $val The serialNumber + * + * @return UserExperienceAnalyticsNotAutopilotReadyDevice + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsOperatingSystemRestartCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsOperatingSystemRestartCategory.php new file mode 100644 index 0000000..bcf616a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsOperatingSystemRestartCategory.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["insights"]; + } else { + return null; + } + } + + /** + * Sets the insights + * The user experience analytics insights. + * + * @param UserExperienceAnalyticsInsight[] $val The insights + * + * @return UserExperienceAnalyticsOverview + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRegressionSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRegressionSummary.php new file mode 100644 index 0000000..9d03f84 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRegressionSummary.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["manufacturerRegression"]; + } else { + return null; + } + } + + /** + * Sets the manufacturerRegression + * The metric values for the user experience analytics Manufacturer regression. + * + * @param UserExperienceAnalyticsMetric[] $val The manufacturerRegression + * + * @return UserExperienceAnalyticsRegressionSummary + */ + public function setManufacturerRegression($val) + { + $this->_propDict["manufacturerRegression"] = $val; + return $this; + } + + + /** + * Gets the modelRegression + * The metric values for the user experience analytics model regression. + * + * @return array|null The modelRegression + */ + public function getModelRegression() + { + if (array_key_exists("modelRegression", $this->_propDict)) { + return $this->_propDict["modelRegression"]; + } else { + return null; + } + } + + /** + * Sets the modelRegression + * The metric values for the user experience analytics model regression. + * + * @param UserExperienceAnalyticsMetric[] $val The modelRegression + * + * @return UserExperienceAnalyticsRegressionSummary + */ + public function setModelRegression($val) + { + $this->_propDict["modelRegression"] = $val; + return $this; + } + + + /** + * Gets the operatingSystemRegression + * The metric values for the user experience analytics operating system regression. + * + * @return array|null The operatingSystemRegression + */ + public function getOperatingSystemRegression() + { + if (array_key_exists("operatingSystemRegression", $this->_propDict)) { + return $this->_propDict["operatingSystemRegression"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemRegression + * The metric values for the user experience analytics operating system regression. + * + * @param UserExperienceAnalyticsMetric[] $val The operatingSystemRegression + * + * @return UserExperienceAnalyticsRegressionSummary + */ + public function setOperatingSystemRegression($val) + { + $this->_propDict["operatingSystemRegression"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRemoteConnection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRemoteConnection.php new file mode 100644 index 0000000..4a0af80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRemoteConnection.php @@ -0,0 +1,404 @@ +_propDict)) { + return $this->_propDict["cloudPcFailurePercentage"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcFailurePercentage + * The sign in failure percentage of Cloud PC Device. Valid values 0 to 100 + * + * @param float $val The cloudPcFailurePercentage + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setCloudPcFailurePercentage($val) + { + $this->_propDict["cloudPcFailurePercentage"] = floatval($val); + return $this; + } + + /** + * Gets the cloudPcRoundTripTime + * The round tip time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @return float|null The cloudPcRoundTripTime + */ + public function getCloudPcRoundTripTime() + { + if (array_key_exists("cloudPcRoundTripTime", $this->_propDict)) { + return $this->_propDict["cloudPcRoundTripTime"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcRoundTripTime + * The round tip time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @param float $val The cloudPcRoundTripTime + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setCloudPcRoundTripTime($val) + { + $this->_propDict["cloudPcRoundTripTime"] = floatval($val); + return $this; + } + + /** + * Gets the cloudPcSignInTime + * The sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @return float|null The cloudPcSignInTime + */ + public function getCloudPcSignInTime() + { + if (array_key_exists("cloudPcSignInTime", $this->_propDict)) { + return $this->_propDict["cloudPcSignInTime"]; + } else { + return null; + } + } + + /** + * Sets the cloudPcSignInTime + * The sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @param float $val The cloudPcSignInTime + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setCloudPcSignInTime($val) + { + $this->_propDict["cloudPcSignInTime"] = floatval($val); + return $this; + } + + /** + * Gets the coreBootTime + * The core boot time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @return float|null The coreBootTime + */ + public function getCoreBootTime() + { + if (array_key_exists("coreBootTime", $this->_propDict)) { + return $this->_propDict["coreBootTime"]; + } else { + return null; + } + } + + /** + * Sets the coreBootTime + * The core boot time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @param float $val The coreBootTime + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setCoreBootTime($val) + { + $this->_propDict["coreBootTime"] = floatval($val); + return $this; + } + + /** + * Gets the coreSignInTime + * The core sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @return float|null The coreSignInTime + */ + public function getCoreSignInTime() + { + if (array_key_exists("coreSignInTime", $this->_propDict)) { + return $this->_propDict["coreSignInTime"]; + } else { + return null; + } + } + + /** + * Sets the coreSignInTime + * The core sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @param float $val The coreSignInTime + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setCoreSignInTime($val) + { + $this->_propDict["coreSignInTime"] = floatval($val); + return $this; + } + + /** + * Gets the deviceCount + * The count of remote connection. Valid values 0 to 2147483647 + * + * @return int|null The deviceCount + */ + public function getDeviceCount() + { + if (array_key_exists("deviceCount", $this->_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * The count of remote connection. Valid values 0 to 2147483647 + * + * @param int $val The deviceCount + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceId + * The id of the device. + * + * @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 id of the device. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The name of the device. + * + * @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 of the device. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The user experience analytics manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The user experience analytics manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The user experience analytics device model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The user experience analytics device model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the remoteSignInTime + * The remote sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @return float|null The remoteSignInTime + */ + public function getRemoteSignInTime() + { + if (array_key_exists("remoteSignInTime", $this->_propDict)) { + return $this->_propDict["remoteSignInTime"]; + } else { + return null; + } + } + + /** + * Sets the remoteSignInTime + * The remote sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 + * + * @param float $val The remoteSignInTime + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setRemoteSignInTime($val) + { + $this->_propDict["remoteSignInTime"] = floatval($val); + return $this; + } + + /** + * Gets the userPrincipalName + * The user experience analytics 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 + * The user experience analytics userPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the virtualNetwork + * The user experience analytics virtual network. + * + * @return string|null The virtualNetwork + */ + public function getVirtualNetwork() + { + if (array_key_exists("virtualNetwork", $this->_propDict)) { + return $this->_propDict["virtualNetwork"]; + } else { + return null; + } + } + + /** + * Sets the virtualNetwork + * The user experience analytics virtual network. + * + * @param string $val The virtualNetwork + * + * @return UserExperienceAnalyticsRemoteConnection + */ + public function setVirtualNetwork($val) + { + $this->_propDict["virtualNetwork"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsResourcePerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsResourcePerformance.php new file mode 100644 index 0000000..ab1bc56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsResourcePerformance.php @@ -0,0 +1,404 @@ +_propDict)) { + return $this->_propDict["averageSpikeTimeScore"]; + } else { + return null; + } + } + + /** + * Sets the averageSpikeTimeScore + * AverageSpikeTimeScore of a device or a model type. Valid values 0 to 100 + * + * @param int $val The averageSpikeTimeScore + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setAverageSpikeTimeScore($val) + { + $this->_propDict["averageSpikeTimeScore"] = intval($val); + return $this; + } + + /** + * Gets the cpuSpikeTimePercentage + * CPU spike time in percentage. Valid values 0 to 100 + * + * @return float|null The cpuSpikeTimePercentage + */ + public function getCpuSpikeTimePercentage() + { + if (array_key_exists("cpuSpikeTimePercentage", $this->_propDict)) { + return $this->_propDict["cpuSpikeTimePercentage"]; + } else { + return null; + } + } + + /** + * Sets the cpuSpikeTimePercentage + * CPU spike time in percentage. Valid values 0 to 100 + * + * @param float $val The cpuSpikeTimePercentage + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setCpuSpikeTimePercentage($val) + { + $this->_propDict["cpuSpikeTimePercentage"] = floatval($val); + return $this; + } + + /** + * Gets the cpuSpikeTimePercentageThreshold + * Threshold of cpuSpikeTimeScore. Valid values 0 to 100 + * + * @return float|null The cpuSpikeTimePercentageThreshold + */ + public function getCpuSpikeTimePercentageThreshold() + { + if (array_key_exists("cpuSpikeTimePercentageThreshold", $this->_propDict)) { + return $this->_propDict["cpuSpikeTimePercentageThreshold"]; + } else { + return null; + } + } + + /** + * Sets the cpuSpikeTimePercentageThreshold + * Threshold of cpuSpikeTimeScore. Valid values 0 to 100 + * + * @param float $val The cpuSpikeTimePercentageThreshold + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setCpuSpikeTimePercentageThreshold($val) + { + $this->_propDict["cpuSpikeTimePercentageThreshold"] = floatval($val); + return $this; + } + + /** + * Gets the cpuSpikeTimeScore + * The user experience analytics device CPU spike time score. Valid values 0 to 100 + * + * @return int|null The cpuSpikeTimeScore + */ + public function getCpuSpikeTimeScore() + { + if (array_key_exists("cpuSpikeTimeScore", $this->_propDict)) { + return $this->_propDict["cpuSpikeTimeScore"]; + } else { + return null; + } + } + + /** + * Sets the cpuSpikeTimeScore + * The user experience analytics device CPU spike time score. Valid values 0 to 100 + * + * @param int $val The cpuSpikeTimeScore + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setCpuSpikeTimeScore($val) + { + $this->_propDict["cpuSpikeTimeScore"] = intval($val); + return $this; + } + + /** + * Gets the deviceCount + * User experience analytics summarized device count. + * + * @return int|null The deviceCount + */ + public function getDeviceCount() + { + if (array_key_exists("deviceCount", $this->_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * User experience analytics summarized device count. + * + * @param int $val The deviceCount + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the deviceId + * The id of the device. + * + * @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 id of the device. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The name of the device. + * + * @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 of the device. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceResourcePerformanceScore + * Resource performance score of a specific device. Valid values 0 to 100 + * + * @return int|null The deviceResourcePerformanceScore + */ + public function getDeviceResourcePerformanceScore() + { + if (array_key_exists("deviceResourcePerformanceScore", $this->_propDict)) { + return $this->_propDict["deviceResourcePerformanceScore"]; + } else { + return null; + } + } + + /** + * Sets the deviceResourcePerformanceScore + * Resource performance score of a specific device. Valid values 0 to 100 + * + * @param int $val The deviceResourcePerformanceScore + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setDeviceResourcePerformanceScore($val) + { + $this->_propDict["deviceResourcePerformanceScore"] = intval($val); + return $this; + } + + /** + * Gets the manufacturer + * The user experience analytics device manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The user experience analytics device manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The user experience analytics device model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The user experience analytics device model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the ramSpikeTimePercentage + * RAM spike time in percentage. Valid values 0 to 100 + * + * @return float|null The ramSpikeTimePercentage + */ + public function getRamSpikeTimePercentage() + { + if (array_key_exists("ramSpikeTimePercentage", $this->_propDict)) { + return $this->_propDict["ramSpikeTimePercentage"]; + } else { + return null; + } + } + + /** + * Sets the ramSpikeTimePercentage + * RAM spike time in percentage. Valid values 0 to 100 + * + * @param float $val The ramSpikeTimePercentage + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setRamSpikeTimePercentage($val) + { + $this->_propDict["ramSpikeTimePercentage"] = floatval($val); + return $this; + } + + /** + * Gets the ramSpikeTimePercentageThreshold + * Threshold of ramSpikeTimeScore. Valid values 0 to 100 + * + * @return float|null The ramSpikeTimePercentageThreshold + */ + public function getRamSpikeTimePercentageThreshold() + { + if (array_key_exists("ramSpikeTimePercentageThreshold", $this->_propDict)) { + return $this->_propDict["ramSpikeTimePercentageThreshold"]; + } else { + return null; + } + } + + /** + * Sets the ramSpikeTimePercentageThreshold + * Threshold of ramSpikeTimeScore. Valid values 0 to 100 + * + * @param float $val The ramSpikeTimePercentageThreshold + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setRamSpikeTimePercentageThreshold($val) + { + $this->_propDict["ramSpikeTimePercentageThreshold"] = floatval($val); + return $this; + } + + /** + * Gets the ramSpikeTimeScore + * The user experience analytics device RAM spike time score. Valid values 0 to 100 + * + * @return int|null The ramSpikeTimeScore + */ + public function getRamSpikeTimeScore() + { + if (array_key_exists("ramSpikeTimeScore", $this->_propDict)) { + return $this->_propDict["ramSpikeTimeScore"]; + } else { + return null; + } + } + + /** + * Sets the ramSpikeTimeScore + * The user experience analytics device RAM spike time score. Valid values 0 to 100 + * + * @param int $val The ramSpikeTimeScore + * + * @return UserExperienceAnalyticsResourcePerformance + */ + public function setRamSpikeTimeScore($val) + { + $this->_propDict["ramSpikeTimeScore"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsScoreHistory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsScoreHistory.php new file mode 100644 index 0000000..b01e529 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsScoreHistory.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["startupDateTime"], "\DateTime") || is_null($this->_propDict["startupDateTime"])) { + return $this->_propDict["startupDateTime"]; + } else { + $this->_propDict["startupDateTime"] = new \DateTime($this->_propDict["startupDateTime"]); + return $this->_propDict["startupDateTime"]; + } + } + return null; + } + + /** + * Sets the startupDateTime + * The user experience analytics device startup date time. + * + * @param \DateTime $val The startupDateTime + * + * @return UserExperienceAnalyticsScoreHistory + */ + public function setStartupDateTime($val) + { + $this->_propDict["startupDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSettings.php new file mode 100644 index 0000000..c32bae7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["configurationManagerDataConnectorConfigured"]; + } else { + return null; + } + } + + /** + * Sets the configurationManagerDataConnectorConfigured + * True if Tenant attach is configured. If configured then SCCM tenant attached devices will show up in UXA reporting. + * + * @param bool $val The value of the configurationManagerDataConnectorConfigured + * + * @return UserExperienceAnalyticsSettings + */ + public function setConfigurationManagerDataConnectorConfigured($val) + { + $this->_propDict["configurationManagerDataConnectorConfigured"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSummarizedBy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSummarizedBy.php new file mode 100644 index 0000000..5c89480 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSummarizedBy.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["unsupportedOSversionDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unsupportedOSversionDeviceCount + * The count of Windows 10 devices that have unsupported OS versions. + * + * @param int $val The value of the unsupportedOSversionDeviceCount + * + * @return UserExperienceAnalyticsWindows10DevicesSummary + */ + public function setUnsupportedOSversionDeviceCount($val) + { + $this->_propDict["unsupportedOSversionDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevice.php new file mode 100644 index 0000000..b752db1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevice.php @@ -0,0 +1,1021 @@ +_propDict)) { + return $this->_propDict["autoPilotProfileAssigned"]; + } else { + return null; + } + } + + /** + * Sets the autoPilotProfileAssigned + * The user experience analytics work from anywhere intune device's autopilotProfileAssigned. + * + * @param bool $val The autoPilotProfileAssigned + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setAutoPilotProfileAssigned($val) + { + $this->_propDict["autoPilotProfileAssigned"] = boolval($val); + return $this; + } + + /** + * Gets the autoPilotRegistered + * The user experience work from anywhere intune device's autopilotRegistered. + * + * @return bool|null The autoPilotRegistered + */ + public function getAutoPilotRegistered() + { + if (array_key_exists("autoPilotRegistered", $this->_propDict)) { + return $this->_propDict["autoPilotRegistered"]; + } else { + return null; + } + } + + /** + * Sets the autoPilotRegistered + * The user experience work from anywhere intune device's autopilotRegistered. + * + * @param bool $val The autoPilotRegistered + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setAutoPilotRegistered($val) + { + $this->_propDict["autoPilotRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the azureAdDeviceId + * The user experience work from anywhere azure Ad device Id. + * + * @return string|null The azureAdDeviceId + */ + public function getAzureAdDeviceId() + { + if (array_key_exists("azureAdDeviceId", $this->_propDict)) { + return $this->_propDict["azureAdDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureAdDeviceId + * The user experience work from anywhere azure Ad device Id. + * + * @param string $val The azureAdDeviceId + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setAzureAdDeviceId($val) + { + $this->_propDict["azureAdDeviceId"] = $val; + return $this; + } + + /** + * Gets the azureAdJoinType + * The user experience work from anywhere device's azure Ad joinType. + * + * @return string|null The azureAdJoinType + */ + public function getAzureAdJoinType() + { + if (array_key_exists("azureAdJoinType", $this->_propDict)) { + return $this->_propDict["azureAdJoinType"]; + } else { + return null; + } + } + + /** + * Sets the azureAdJoinType + * The user experience work from anywhere device's azure Ad joinType. + * + * @param string $val The azureAdJoinType + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setAzureAdJoinType($val) + { + $this->_propDict["azureAdJoinType"] = $val; + return $this; + } + + /** + * Gets the azureAdRegistered + * The user experience work from anywhere device's azureAdRegistered. + * + * @return bool|null The azureAdRegistered + */ + public function getAzureAdRegistered() + { + if (array_key_exists("azureAdRegistered", $this->_propDict)) { + return $this->_propDict["azureAdRegistered"]; + } else { + return null; + } + } + + /** + * Sets the azureAdRegistered + * The user experience work from anywhere device's azureAdRegistered. + * + * @param bool $val The azureAdRegistered + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setAzureAdRegistered($val) + { + $this->_propDict["azureAdRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the cloudIdentityScore + * The user experience work from anywhere per device cloud identity score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The cloudIdentityScore + */ + public function getCloudIdentityScore() + { + if (array_key_exists("cloudIdentityScore", $this->_propDict)) { + return $this->_propDict["cloudIdentityScore"]; + } else { + return null; + } + } + + /** + * Sets the cloudIdentityScore + * The user experience work from anywhere per device cloud identity score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The cloudIdentityScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setCloudIdentityScore($val) + { + $this->_propDict["cloudIdentityScore"] = floatval($val); + return $this; + } + + /** + * Gets the cloudManagementScore + * The user experience work from anywhere per device cloud management score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The cloudManagementScore + */ + public function getCloudManagementScore() + { + if (array_key_exists("cloudManagementScore", $this->_propDict)) { + return $this->_propDict["cloudManagementScore"]; + } else { + return null; + } + } + + /** + * Sets the cloudManagementScore + * The user experience work from anywhere per device cloud management score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The cloudManagementScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setCloudManagementScore($val) + { + $this->_propDict["cloudManagementScore"] = floatval($val); + return $this; + } + + /** + * Gets the cloudProvisioningScore + * The user experience work from anywhere per device cloud provisioning score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The cloudProvisioningScore + */ + public function getCloudProvisioningScore() + { + if (array_key_exists("cloudProvisioningScore", $this->_propDict)) { + return $this->_propDict["cloudProvisioningScore"]; + } else { + return null; + } + } + + /** + * Sets the cloudProvisioningScore + * The user experience work from anywhere per device cloud provisioning score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The cloudProvisioningScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setCloudProvisioningScore($val) + { + $this->_propDict["cloudProvisioningScore"] = floatval($val); + return $this; + } + + /** + * Gets the compliancePolicySetToIntune + * The user experience work from anywhere device's compliancePolicySetToIntune. + * + * @return bool|null The compliancePolicySetToIntune + */ + public function getCompliancePolicySetToIntune() + { + if (array_key_exists("compliancePolicySetToIntune", $this->_propDict)) { + return $this->_propDict["compliancePolicySetToIntune"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicySetToIntune + * The user experience work from anywhere device's compliancePolicySetToIntune. + * + * @param bool $val The compliancePolicySetToIntune + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setCompliancePolicySetToIntune($val) + { + $this->_propDict["compliancePolicySetToIntune"] = boolval($val); + return $this; + } + + /** + * Gets the deviceId + * The user experience work from anywhere device Id. + * + * @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 user experience work from anywhere device Id. + * + * @param string $val The deviceId + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The work from anywhere device's name. + * + * @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 work from anywhere device's name. + * + * @param string $val The deviceName + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the healthStatus + * The user experience work from anywhere per device health status. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The user experience work from anywhere per device health status. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the isCloudManagedGatewayEnabled + * The user experience work from anywhere device's Cloud Management Gateway for Configuration Manager is enabled. + * + * @return bool|null The isCloudManagedGatewayEnabled + */ + public function getIsCloudManagedGatewayEnabled() + { + if (array_key_exists("isCloudManagedGatewayEnabled", $this->_propDict)) { + return $this->_propDict["isCloudManagedGatewayEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isCloudManagedGatewayEnabled + * The user experience work from anywhere device's Cloud Management Gateway for Configuration Manager is enabled. + * + * @param bool $val The isCloudManagedGatewayEnabled + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setIsCloudManagedGatewayEnabled($val) + { + $this->_propDict["isCloudManagedGatewayEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the managedBy + * The user experience work from anywhere management agent of the device. + * + * @return string|null The managedBy + */ + public function getManagedBy() + { + if (array_key_exists("managedBy", $this->_propDict)) { + return $this->_propDict["managedBy"]; + } else { + return null; + } + } + + /** + * Sets the managedBy + * The user experience work from anywhere management agent of the device. + * + * @param string $val The managedBy + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setManagedBy($val) + { + $this->_propDict["managedBy"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The user experience work from anywhere device's manufacturer. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The user experience work from anywhere device's manufacturer. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The user experience work from anywhere device's model. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The user experience work from anywhere device's model. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the osCheckFailed + * The user experience work from anywhere device, Is OS check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The osCheckFailed + */ + public function getOsCheckFailed() + { + if (array_key_exists("osCheckFailed", $this->_propDict)) { + return $this->_propDict["osCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the osCheckFailed + * The user experience work from anywhere device, Is OS check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The osCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setOsCheckFailed($val) + { + $this->_propDict["osCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the osDescription + * The user experience work from anywhere device's OS Description. + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * The user experience work from anywhere device's OS Description. + * + * @param string $val The osDescription + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The user experience work from anywhere device's OS Version. + * + * @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 + * The user experience work from anywhere device's OS Version. + * + * @param string $val The osVersion + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the otherWorkloadsSetToIntune + * The user experience work from anywhere device's otherWorkloadsSetToIntune. + * + * @return bool|null The otherWorkloadsSetToIntune + */ + public function getOtherWorkloadsSetToIntune() + { + if (array_key_exists("otherWorkloadsSetToIntune", $this->_propDict)) { + return $this->_propDict["otherWorkloadsSetToIntune"]; + } else { + return null; + } + } + + /** + * Sets the otherWorkloadsSetToIntune + * The user experience work from anywhere device's otherWorkloadsSetToIntune. + * + * @param bool $val The otherWorkloadsSetToIntune + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setOtherWorkloadsSetToIntune($val) + { + $this->_propDict["otherWorkloadsSetToIntune"] = boolval($val); + return $this; + } + + /** + * Gets the ownership + * The user experience work from anywhere device's ownership. + * + * @return string|null The ownership + */ + public function getOwnership() + { + if (array_key_exists("ownership", $this->_propDict)) { + return $this->_propDict["ownership"]; + } else { + return null; + } + } + + /** + * Sets the ownership + * The user experience work from anywhere device's ownership. + * + * @param string $val The ownership + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setOwnership($val) + { + $this->_propDict["ownership"] = $val; + return $this; + } + + /** + * Gets the processor64BitCheckFailed + * The user experience work from anywhere device, Is processor hardware 64-bit architecture check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The processor64BitCheckFailed + */ + public function getProcessor64BitCheckFailed() + { + if (array_key_exists("processor64BitCheckFailed", $this->_propDict)) { + return $this->_propDict["processor64BitCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the processor64BitCheckFailed + * The user experience work from anywhere device, Is processor hardware 64-bit architecture check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The processor64BitCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setProcessor64BitCheckFailed($val) + { + $this->_propDict["processor64BitCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the processorCoreCountCheckFailed + * The user experience work from anywhere device, Is processor hardware core count check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The processorCoreCountCheckFailed + */ + public function getProcessorCoreCountCheckFailed() + { + if (array_key_exists("processorCoreCountCheckFailed", $this->_propDict)) { + return $this->_propDict["processorCoreCountCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the processorCoreCountCheckFailed + * The user experience work from anywhere device, Is processor hardware core count check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The processorCoreCountCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setProcessorCoreCountCheckFailed($val) + { + $this->_propDict["processorCoreCountCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the processorFamilyCheckFailed + * The user experience work from anywhere device, Is processor hardware family check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The processorFamilyCheckFailed + */ + public function getProcessorFamilyCheckFailed() + { + if (array_key_exists("processorFamilyCheckFailed", $this->_propDict)) { + return $this->_propDict["processorFamilyCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the processorFamilyCheckFailed + * The user experience work from anywhere device, Is processor hardware family check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The processorFamilyCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setProcessorFamilyCheckFailed($val) + { + $this->_propDict["processorFamilyCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the processorSpeedCheckFailed + * The user experience work from anywhere device, Is processor hardware speed check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The processorSpeedCheckFailed + */ + public function getProcessorSpeedCheckFailed() + { + if (array_key_exists("processorSpeedCheckFailed", $this->_propDict)) { + return $this->_propDict["processorSpeedCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the processorSpeedCheckFailed + * The user experience work from anywhere device, Is processor hardware speed check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The processorSpeedCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setProcessorSpeedCheckFailed($val) + { + $this->_propDict["processorSpeedCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the ramCheckFailed + * Is the user experience analytics work from anywhere device RAM hardware check failed for device to upgrade to the latest version of windows + * + * @return bool|null The ramCheckFailed + */ + public function getRamCheckFailed() + { + if (array_key_exists("ramCheckFailed", $this->_propDict)) { + return $this->_propDict["ramCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the ramCheckFailed + * Is the user experience analytics work from anywhere device RAM hardware check failed for device to upgrade to the latest version of windows + * + * @param bool $val The ramCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setRamCheckFailed($val) + { + $this->_propDict["ramCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the secureBootCheckFailed + * The user experience work from anywhere device, Is secure boot hardware check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The secureBootCheckFailed + */ + public function getSecureBootCheckFailed() + { + if (array_key_exists("secureBootCheckFailed", $this->_propDict)) { + return $this->_propDict["secureBootCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the secureBootCheckFailed + * The user experience work from anywhere device, Is secure boot hardware check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The secureBootCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setSecureBootCheckFailed($val) + { + $this->_propDict["secureBootCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the serialNumber + * The user experience work from anywhere device's serial number. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * The user experience work from anywhere device's serial number. + * + * @param string $val The serialNumber + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the storageCheckFailed + * The user experience work from anywhere device, Is storage hardware check failed for device to upgrade to the latest version of windows. + * + * @return bool|null The storageCheckFailed + */ + public function getStorageCheckFailed() + { + if (array_key_exists("storageCheckFailed", $this->_propDict)) { + return $this->_propDict["storageCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the storageCheckFailed + * The user experience work from anywhere device, Is storage hardware check failed for device to upgrade to the latest version of windows. + * + * @param bool $val The storageCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setStorageCheckFailed($val) + { + $this->_propDict["storageCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the tenantAttached + * The user experience work from anywhere device's tenantAttached. + * + * @return bool|null The tenantAttached + */ + public function getTenantAttached() + { + if (array_key_exists("tenantAttached", $this->_propDict)) { + return $this->_propDict["tenantAttached"]; + } else { + return null; + } + } + + /** + * Sets the tenantAttached + * The user experience work from anywhere device's tenantAttached. + * + * @param bool $val The tenantAttached + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setTenantAttached($val) + { + $this->_propDict["tenantAttached"] = boolval($val); + return $this; + } + + /** + * Gets the tpmCheckFailed + * The user experience work from anywhere device, Is Trusted Platform Module (TPM) hardware check failed for device to the latest version of upgrade to windows. + * + * @return bool|null The tpmCheckFailed + */ + public function getTpmCheckFailed() + { + if (array_key_exists("tpmCheckFailed", $this->_propDict)) { + return $this->_propDict["tpmCheckFailed"]; + } else { + return null; + } + } + + /** + * Sets the tpmCheckFailed + * The user experience work from anywhere device, Is Trusted Platform Module (TPM) hardware check failed for device to the latest version of upgrade to windows. + * + * @param bool $val The tpmCheckFailed + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setTpmCheckFailed($val) + { + $this->_propDict["tpmCheckFailed"] = boolval($val); + return $this; + } + + /** + * Gets the upgradeEligibility + * The user experience work from anywhere windows upgrade eligibility status of device. Possible values are: upgraded, unknown, notCapable, capable. + * + * @return OperatingSystemUpgradeEligibility|null The upgradeEligibility + */ + public function getUpgradeEligibility() + { + if (array_key_exists("upgradeEligibility", $this->_propDict)) { + if (is_a($this->_propDict["upgradeEligibility"], "\Beta\Microsoft\Graph\Model\OperatingSystemUpgradeEligibility") || is_null($this->_propDict["upgradeEligibility"])) { + return $this->_propDict["upgradeEligibility"]; + } else { + $this->_propDict["upgradeEligibility"] = new OperatingSystemUpgradeEligibility($this->_propDict["upgradeEligibility"]); + return $this->_propDict["upgradeEligibility"]; + } + } + return null; + } + + /** + * Sets the upgradeEligibility + * The user experience work from anywhere windows upgrade eligibility status of device. Possible values are: upgraded, unknown, notCapable, capable. + * + * @param OperatingSystemUpgradeEligibility $val The upgradeEligibility + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setUpgradeEligibility($val) + { + $this->_propDict["upgradeEligibility"] = $val; + return $this; + } + + /** + * Gets the windowsScore + * The user experience work from anywhere per device windows score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The windowsScore + */ + public function getWindowsScore() + { + if (array_key_exists("windowsScore", $this->_propDict)) { + return $this->_propDict["windowsScore"]; + } else { + return null; + } + } + + /** + * Sets the windowsScore + * The user experience work from anywhere per device windows score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The windowsScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setWindowsScore($val) + { + $this->_propDict["windowsScore"] = floatval($val); + return $this; + } + + /** + * Gets the workFromAnywhereScore + * The user experience work from anywhere per device overall score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The workFromAnywhereScore + */ + public function getWorkFromAnywhereScore() + { + if (array_key_exists("workFromAnywhereScore", $this->_propDict)) { + return $this->_propDict["workFromAnywhereScore"]; + } else { + return null; + } + } + + /** + * Sets the workFromAnywhereScore + * The user experience work from anywhere per device overall score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The workFromAnywhereScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevice + */ + public function setWorkFromAnywhereScore($val) + { + $this->_propDict["workFromAnywhereScore"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.php new file mode 100644 index 0000000..7417dde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.php @@ -0,0 +1,438 @@ +_propDict)) { + if (is_a($this->_propDict["autopilotDevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsAutopilotDevicesSummary") || is_null($this->_propDict["autopilotDevicesSummary"])) { + return $this->_propDict["autopilotDevicesSummary"]; + } else { + $this->_propDict["autopilotDevicesSummary"] = new UserExperienceAnalyticsAutopilotDevicesSummary($this->_propDict["autopilotDevicesSummary"]); + return $this->_propDict["autopilotDevicesSummary"]; + } + } + return null; + } + + /** + * Sets the autopilotDevicesSummary + * The value of work from anywhere autopilot devices summary. + * + * @param UserExperienceAnalyticsAutopilotDevicesSummary $val The value to assign to the autopilotDevicesSummary + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary The UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setAutopilotDevicesSummary($val) + { + $this->_propDict["autopilotDevicesSummary"] = $val; + return $this; + } + + /** + * Gets the cloudIdentityDevicesSummary + * The user experience analytics work from anywhere Cloud Identity devices summary. + * + * @return UserExperienceAnalyticsCloudIdentityDevicesSummary|null The cloudIdentityDevicesSummary + */ + public function getCloudIdentityDevicesSummary() + { + if (array_key_exists("cloudIdentityDevicesSummary", $this->_propDict)) { + if (is_a($this->_propDict["cloudIdentityDevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCloudIdentityDevicesSummary") || is_null($this->_propDict["cloudIdentityDevicesSummary"])) { + return $this->_propDict["cloudIdentityDevicesSummary"]; + } else { + $this->_propDict["cloudIdentityDevicesSummary"] = new UserExperienceAnalyticsCloudIdentityDevicesSummary($this->_propDict["cloudIdentityDevicesSummary"]); + return $this->_propDict["cloudIdentityDevicesSummary"]; + } + } + return null; + } + + /** + * Sets the cloudIdentityDevicesSummary + * The user experience analytics work from anywhere Cloud Identity devices summary. + * + * @param UserExperienceAnalyticsCloudIdentityDevicesSummary $val The value to assign to the cloudIdentityDevicesSummary + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary The UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setCloudIdentityDevicesSummary($val) + { + $this->_propDict["cloudIdentityDevicesSummary"] = $val; + return $this; + } + + /** + * Gets the cloudManagementDevicesSummary + * The user experience work from anywhere Cloud management devices summary. + * + * @return UserExperienceAnalyticsCloudManagementDevicesSummary|null The cloudManagementDevicesSummary + */ + public function getCloudManagementDevicesSummary() + { + if (array_key_exists("cloudManagementDevicesSummary", $this->_propDict)) { + if (is_a($this->_propDict["cloudManagementDevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCloudManagementDevicesSummary") || is_null($this->_propDict["cloudManagementDevicesSummary"])) { + return $this->_propDict["cloudManagementDevicesSummary"]; + } else { + $this->_propDict["cloudManagementDevicesSummary"] = new UserExperienceAnalyticsCloudManagementDevicesSummary($this->_propDict["cloudManagementDevicesSummary"]); + return $this->_propDict["cloudManagementDevicesSummary"]; + } + } + return null; + } + + /** + * Sets the cloudManagementDevicesSummary + * The user experience work from anywhere Cloud management devices summary. + * + * @param UserExperienceAnalyticsCloudManagementDevicesSummary $val The value to assign to the cloudManagementDevicesSummary + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary The UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setCloudManagementDevicesSummary($val) + { + $this->_propDict["cloudManagementDevicesSummary"] = $val; + return $this; + } + /** + * Gets the coManagedDevices + * Total number of co-managed devices. Valid values -2147483648 to 2147483647 + * + * @return int|null The coManagedDevices + */ + public function getCoManagedDevices() + { + if (array_key_exists("coManagedDevices", $this->_propDict)) { + return $this->_propDict["coManagedDevices"]; + } else { + return null; + } + } + + /** + * Sets the coManagedDevices + * Total number of co-managed devices. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the coManagedDevices + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setCoManagedDevices($val) + { + $this->_propDict["coManagedDevices"] = $val; + return $this; + } + /** + * Gets the devicesNotAutopilotRegistered + * The count of intune devices that are not autopilot registerd. Valid values -2147483648 to 2147483647 + * + * @return int|null The devicesNotAutopilotRegistered + */ + public function getDevicesNotAutopilotRegistered() + { + if (array_key_exists("devicesNotAutopilotRegistered", $this->_propDict)) { + return $this->_propDict["devicesNotAutopilotRegistered"]; + } else { + return null; + } + } + + /** + * Sets the devicesNotAutopilotRegistered + * The count of intune devices that are not autopilot registerd. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the devicesNotAutopilotRegistered + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setDevicesNotAutopilotRegistered($val) + { + $this->_propDict["devicesNotAutopilotRegistered"] = $val; + return $this; + } + /** + * Gets the devicesWithoutAutopilotProfileAssigned + * The count of intune devices not autopilot profile assigned. Valid values -2147483648 to 2147483647 + * + * @return int|null The devicesWithoutAutopilotProfileAssigned + */ + public function getDevicesWithoutAutopilotProfileAssigned() + { + if (array_key_exists("devicesWithoutAutopilotProfileAssigned", $this->_propDict)) { + return $this->_propDict["devicesWithoutAutopilotProfileAssigned"]; + } else { + return null; + } + } + + /** + * Sets the devicesWithoutAutopilotProfileAssigned + * The count of intune devices not autopilot profile assigned. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the devicesWithoutAutopilotProfileAssigned + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setDevicesWithoutAutopilotProfileAssigned($val) + { + $this->_propDict["devicesWithoutAutopilotProfileAssigned"] = $val; + return $this; + } + /** + * Gets the devicesWithoutCloudIdentity + * The count of devices that are not cloud identity. Valid values -2147483648 to 2147483647 + * + * @return int|null The devicesWithoutCloudIdentity + */ + public function getDevicesWithoutCloudIdentity() + { + if (array_key_exists("devicesWithoutCloudIdentity", $this->_propDict)) { + return $this->_propDict["devicesWithoutCloudIdentity"]; + } else { + return null; + } + } + + /** + * Sets the devicesWithoutCloudIdentity + * The count of devices that are not cloud identity. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the devicesWithoutCloudIdentity + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setDevicesWithoutCloudIdentity($val) + { + $this->_propDict["devicesWithoutCloudIdentity"] = $val; + return $this; + } + /** + * Gets the intuneDevices + * The count of intune devices that are not autopilot registerd. Valid values -2147483648 to 2147483647 + * + * @return int|null The intuneDevices + */ + public function getIntuneDevices() + { + if (array_key_exists("intuneDevices", $this->_propDict)) { + return $this->_propDict["intuneDevices"]; + } else { + return null; + } + } + + /** + * Sets the intuneDevices + * The count of intune devices that are not autopilot registerd. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the intuneDevices + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setIntuneDevices($val) + { + $this->_propDict["intuneDevices"] = $val; + return $this; + } + /** + * Gets the tenantAttachDevices + * Total count of tenant attach devices. Valid values -2147483648 to 2147483647 + * + * @return int|null The tenantAttachDevices + */ + public function getTenantAttachDevices() + { + if (array_key_exists("tenantAttachDevices", $this->_propDict)) { + return $this->_propDict["tenantAttachDevices"]; + } else { + return null; + } + } + + /** + * Sets the tenantAttachDevices + * Total count of tenant attach devices. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the tenantAttachDevices + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setTenantAttachDevices($val) + { + $this->_propDict["tenantAttachDevices"] = $val; + return $this; + } + /** + * Gets the totalDevices + * The total count of devices. Valid values -2147483648 to 2147483647 + * + * @return int|null The totalDevices + */ + public function getTotalDevices() + { + if (array_key_exists("totalDevices", $this->_propDict)) { + return $this->_propDict["totalDevices"]; + } else { + return null; + } + } + + /** + * Sets the totalDevices + * The total count of devices. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the totalDevices + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setTotalDevices($val) + { + $this->_propDict["totalDevices"] = $val; + return $this; + } + /** + * Gets the unsupportedOSversionDevices + * The count of Windows 10 devices that have unsupported OS versions. Valid values -2147483648 to 2147483647 + * + * @return int|null The unsupportedOSversionDevices + */ + public function getUnsupportedOSversionDevices() + { + if (array_key_exists("unsupportedOSversionDevices", $this->_propDict)) { + return $this->_propDict["unsupportedOSversionDevices"]; + } else { + return null; + } + } + + /** + * Sets the unsupportedOSversionDevices + * The count of Windows 10 devices that have unsupported OS versions. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the unsupportedOSversionDevices + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setUnsupportedOSversionDevices($val) + { + $this->_propDict["unsupportedOSversionDevices"] = $val; + return $this; + } + /** + * Gets the windows10Devices + * The count of windows 10 devices. Valid values -2147483648 to 2147483647 + * + * @return int|null The windows10Devices + */ + public function getWindows10Devices() + { + if (array_key_exists("windows10Devices", $this->_propDict)) { + return $this->_propDict["windows10Devices"]; + } else { + return null; + } + } + + /** + * Sets the windows10Devices + * The count of windows 10 devices. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the windows10Devices + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setWindows10Devices($val) + { + $this->_propDict["windows10Devices"] = $val; + return $this; + } + + /** + * Gets the windows10DevicesSummary + * The user experience analytics work from anywhere Windows 10 devices summary. + * + * @return UserExperienceAnalyticsWindows10DevicesSummary|null The windows10DevicesSummary + */ + public function getWindows10DevicesSummary() + { + if (array_key_exists("windows10DevicesSummary", $this->_propDict)) { + if (is_a($this->_propDict["windows10DevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsWindows10DevicesSummary") || is_null($this->_propDict["windows10DevicesSummary"])) { + return $this->_propDict["windows10DevicesSummary"]; + } else { + $this->_propDict["windows10DevicesSummary"] = new UserExperienceAnalyticsWindows10DevicesSummary($this->_propDict["windows10DevicesSummary"]); + return $this->_propDict["windows10DevicesSummary"]; + } + } + return null; + } + + /** + * Sets the windows10DevicesSummary + * The user experience analytics work from anywhere Windows 10 devices summary. + * + * @param UserExperienceAnalyticsWindows10DevicesSummary $val The value to assign to the windows10DevicesSummary + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary The UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setWindows10DevicesSummary($val) + { + $this->_propDict["windows10DevicesSummary"] = $val; + return $this; + } + /** + * Gets the windows10DevicesWithoutTenantAttach + * The count of windows 10 devices that are Intune and Comanaged. Valid values -2147483648 to 2147483647 + * + * @return int|null The windows10DevicesWithoutTenantAttach + */ + public function getWindows10DevicesWithoutTenantAttach() + { + if (array_key_exists("windows10DevicesWithoutTenantAttach", $this->_propDict)) { + return $this->_propDict["windows10DevicesWithoutTenantAttach"]; + } else { + return null; + } + } + + /** + * Sets the windows10DevicesWithoutTenantAttach + * The count of windows 10 devices that are Intune and Comanaged. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the windows10DevicesWithoutTenantAttach + * + * @return UserExperienceAnalyticsWorkFromAnywhereDevicesSummary + */ + public function setWindows10DevicesWithoutTenantAttach($val) + { + $this->_propDict["windows10DevicesWithoutTenantAttach"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php new file mode 100644 index 0000000..97b5e53 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.php @@ -0,0 +1,346 @@ +_propDict)) { + return $this->_propDict["osCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the osCheckFailedPercentage + * The percentage of devices for which OS check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The osCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setOsCheckFailedPercentage($val) + { + $this->_propDict["osCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the processor64BitCheckFailedPercentage + * The percentage of devices for which processor hardware 64-bit architecture check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The processor64BitCheckFailedPercentage + */ + public function getProcessor64BitCheckFailedPercentage() + { + if (array_key_exists("processor64BitCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["processor64BitCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the processor64BitCheckFailedPercentage + * The percentage of devices for which processor hardware 64-bit architecture check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The processor64BitCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setProcessor64BitCheckFailedPercentage($val) + { + $this->_propDict["processor64BitCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the processorCoreCountCheckFailedPercentage + * The percentage of devices for which processor hardware core count check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The processorCoreCountCheckFailedPercentage + */ + public function getProcessorCoreCountCheckFailedPercentage() + { + if (array_key_exists("processorCoreCountCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["processorCoreCountCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the processorCoreCountCheckFailedPercentage + * The percentage of devices for which processor hardware core count check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The processorCoreCountCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setProcessorCoreCountCheckFailedPercentage($val) + { + $this->_propDict["processorCoreCountCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the processorFamilyCheckFailedPercentage + * The percentage of devices for which processor hardware family check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The processorFamilyCheckFailedPercentage + */ + public function getProcessorFamilyCheckFailedPercentage() + { + if (array_key_exists("processorFamilyCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["processorFamilyCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the processorFamilyCheckFailedPercentage + * The percentage of devices for which processor hardware family check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The processorFamilyCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setProcessorFamilyCheckFailedPercentage($val) + { + $this->_propDict["processorFamilyCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the processorSpeedCheckFailedPercentage + * The percentage of devices for which processor hardware speed check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The processorSpeedCheckFailedPercentage + */ + public function getProcessorSpeedCheckFailedPercentage() + { + if (array_key_exists("processorSpeedCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["processorSpeedCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the processorSpeedCheckFailedPercentage + * The percentage of devices for which processor hardware speed check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The processorSpeedCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setProcessorSpeedCheckFailedPercentage($val) + { + $this->_propDict["processorSpeedCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the ramCheckFailedPercentage + * The percentage of devices for which RAM hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The ramCheckFailedPercentage + */ + public function getRamCheckFailedPercentage() + { + if (array_key_exists("ramCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["ramCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the ramCheckFailedPercentage + * The percentage of devices for which RAM hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The ramCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setRamCheckFailedPercentage($val) + { + $this->_propDict["ramCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the secureBootCheckFailedPercentage + * The percentage of devices for which secure boot hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The secureBootCheckFailedPercentage + */ + public function getSecureBootCheckFailedPercentage() + { + if (array_key_exists("secureBootCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["secureBootCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the secureBootCheckFailedPercentage + * The percentage of devices for which secure boot hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The secureBootCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setSecureBootCheckFailedPercentage($val) + { + $this->_propDict["secureBootCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the storageCheckFailedPercentage + * The percentage of devices for which storage hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The storageCheckFailedPercentage + */ + public function getStorageCheckFailedPercentage() + { + if (array_key_exists("storageCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["storageCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the storageCheckFailedPercentage + * The percentage of devices for which storage hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The storageCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setStorageCheckFailedPercentage($val) + { + $this->_propDict["storageCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the totalDeviceCount + * The count of total devices in an organization. Valid values -2147483648 to 2147483647 + * + * @return int|null The totalDeviceCount + */ + public function getTotalDeviceCount() + { + if (array_key_exists("totalDeviceCount", $this->_propDict)) { + return $this->_propDict["totalDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the totalDeviceCount + * The count of total devices in an organization. Valid values -2147483648 to 2147483647 + * + * @param int $val The totalDeviceCount + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setTotalDeviceCount($val) + { + $this->_propDict["totalDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the tpmCheckFailedPercentage + * The percentage of devices for which Trusted Platform Module (TPM) hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The tpmCheckFailedPercentage + */ + public function getTpmCheckFailedPercentage() + { + if (array_key_exists("tpmCheckFailedPercentage", $this->_propDict)) { + return $this->_propDict["tpmCheckFailedPercentage"]; + } else { + return null; + } + } + + /** + * Sets the tpmCheckFailedPercentage + * The percentage of devices for which Trusted Platform Module (TPM) hardware check has failed. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The tpmCheckFailedPercentage + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setTpmCheckFailedPercentage($val) + { + $this->_propDict["tpmCheckFailedPercentage"] = floatval($val); + return $this; + } + + /** + * Gets the upgradeEligibleDeviceCount + * The count of devices in an organization eligible for windows upgrade. Valid values -2147483648 to 2147483647 + * + * @return int|null The upgradeEligibleDeviceCount + */ + public function getUpgradeEligibleDeviceCount() + { + if (array_key_exists("upgradeEligibleDeviceCount", $this->_propDict)) { + return $this->_propDict["upgradeEligibleDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the upgradeEligibleDeviceCount + * The count of devices in an organization eligible for windows upgrade. Valid values -2147483648 to 2147483647 + * + * @param int $val The upgradeEligibleDeviceCount + * + * @return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric + */ + public function setUpgradeEligibleDeviceCount($val) + { + $this->_propDict["upgradeEligibleDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereMetric.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereMetric.php new file mode 100644 index 0000000..967c42f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereMetric.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["metricDevices"]; + } else { + return null; + } + } + + /** + * Sets the metricDevices + * The work from anywhere metric devices. + * + * @param UserExperienceAnalyticsWorkFromAnywhereDevice[] $val The metricDevices + * + * @return UserExperienceAnalyticsWorkFromAnywhereMetric + */ + public function setMetricDevices($val) + { + $this->_propDict["metricDevices"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php new file mode 100644 index 0000000..9ed4844 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereModelPerformance.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["cloudIdentityScore"]; + } else { + return null; + } + } + + /** + * Sets the cloudIdentityScore + * The user experience work from anywhere's cloud identity score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The cloudIdentityScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setCloudIdentityScore($val) + { + $this->_propDict["cloudIdentityScore"] = floatval($val); + return $this; + } + + /** + * Gets the cloudManagementScore + * The user experience work from anywhere's cloud management score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The cloudManagementScore + */ + public function getCloudManagementScore() + { + if (array_key_exists("cloudManagementScore", $this->_propDict)) { + return $this->_propDict["cloudManagementScore"]; + } else { + return null; + } + } + + /** + * Sets the cloudManagementScore + * The user experience work from anywhere's cloud management score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The cloudManagementScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setCloudManagementScore($val) + { + $this->_propDict["cloudManagementScore"] = floatval($val); + return $this; + } + + /** + * Gets the cloudProvisioningScore + * The user experience work from anywhere's cloud provisioning score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The cloudProvisioningScore + */ + public function getCloudProvisioningScore() + { + if (array_key_exists("cloudProvisioningScore", $this->_propDict)) { + return $this->_propDict["cloudProvisioningScore"]; + } else { + return null; + } + } + + /** + * Sets the cloudProvisioningScore + * The user experience work from anywhere's cloud provisioning score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The cloudProvisioningScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setCloudProvisioningScore($val) + { + $this->_propDict["cloudProvisioningScore"] = floatval($val); + return $this; + } + + /** + * Gets the healthStatus + * The health state of the user experience analytics work from anywhere model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @return UserExperienceAnalyticsHealthState|null The healthStatus + */ + public function getHealthStatus() + { + if (array_key_exists("healthStatus", $this->_propDict)) { + if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["healthStatus"])) { + return $this->_propDict["healthStatus"]; + } else { + $this->_propDict["healthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["healthStatus"]); + return $this->_propDict["healthStatus"]; + } + } + return null; + } + + /** + * Sets the healthStatus + * The health state of the user experience analytics work from anywhere model. Possible values are: unknown, insufficientData, needsAttention, meetingGoals. + * + * @param UserExperienceAnalyticsHealthState $val The healthStatus + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setHealthStatus($val) + { + $this->_propDict["healthStatus"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The user experience work from anywhere's manufacturer name of the devices. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The user experience work from anywhere's manufacturer name of the devices. + * + * @param string $val The manufacturer + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The user experience work from anywhere's model name of the devices. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The user experience work from anywhere's model name of the devices. + * + * @param string $val The model + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the modelDeviceCount + * The user experience work from anywhere's devices count for the model. Valid values -2147483648 to 2147483647 + * + * @return int|null The modelDeviceCount + */ + public function getModelDeviceCount() + { + if (array_key_exists("modelDeviceCount", $this->_propDict)) { + return $this->_propDict["modelDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the modelDeviceCount + * The user experience work from anywhere's devices count for the model. Valid values -2147483648 to 2147483647 + * + * @param int $val The modelDeviceCount + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setModelDeviceCount($val) + { + $this->_propDict["modelDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the windowsScore + * The user experience work from anywhere windows score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The windowsScore + */ + public function getWindowsScore() + { + if (array_key_exists("windowsScore", $this->_propDict)) { + return $this->_propDict["windowsScore"]; + } else { + return null; + } + } + + /** + * Sets the windowsScore + * The user experience work from anywhere windows score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The windowsScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setWindowsScore($val) + { + $this->_propDict["windowsScore"] = floatval($val); + return $this; + } + + /** + * Gets the workFromAnywhereScore + * The user experience work from anywhere overall score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @return float|null The workFromAnywhereScore + */ + public function getWorkFromAnywhereScore() + { + if (array_key_exists("workFromAnywhereScore", $this->_propDict)) { + return $this->_propDict["workFromAnywhereScore"]; + } else { + return null; + } + } + + /** + * Sets the workFromAnywhereScore + * The user experience work from anywhere overall score for the model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 + * + * @param float $val The workFromAnywhereScore + * + * @return UserExperienceAnalyticsWorkFromAnywhereModelPerformance + */ + public function setWorkFromAnywhereScore($val) + { + $this->_propDict["workFromAnywhereScore"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowApiConnectorConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowApiConnectorConfiguration.php new file mode 100644 index 0000000..89e31bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowApiConnectorConfiguration.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["postAttributeCollection"], "\Beta\Microsoft\Graph\Model\IdentityApiConnector") || is_null($this->_propDict["postAttributeCollection"])) { + return $this->_propDict["postAttributeCollection"]; + } else { + $this->_propDict["postAttributeCollection"] = new IdentityApiConnector($this->_propDict["postAttributeCollection"]); + return $this->_propDict["postAttributeCollection"]; + } + } + return null; + } + + /** + * Sets the postAttributeCollection + * + * @param IdentityApiConnector $val The value to assign to the postAttributeCollection + * + * @return UserFlowApiConnectorConfiguration The UserFlowApiConnectorConfiguration + */ + public function setPostAttributeCollection($val) + { + $this->_propDict["postAttributeCollection"] = $val; + return $this; + } + + /** + * Gets the postFederationSignup + * + * @return IdentityApiConnector|null The postFederationSignup + */ + public function getPostFederationSignup() + { + if (array_key_exists("postFederationSignup", $this->_propDict)) { + if (is_a($this->_propDict["postFederationSignup"], "\Beta\Microsoft\Graph\Model\IdentityApiConnector") || is_null($this->_propDict["postFederationSignup"])) { + return $this->_propDict["postFederationSignup"]; + } else { + $this->_propDict["postFederationSignup"] = new IdentityApiConnector($this->_propDict["postFederationSignup"]); + return $this->_propDict["postFederationSignup"]; + } + } + return null; + } + + /** + * Sets the postFederationSignup + * + * @param IdentityApiConnector $val The value to assign to the postFederationSignup + * + * @return UserFlowApiConnectorConfiguration The UserFlowApiConnectorConfiguration + */ + public function setPostFederationSignup($val) + { + $this->_propDict["postFederationSignup"] = $val; + return $this; + } + + /** + * Gets the preTokenIssuance + * + * @return IdentityApiConnector|null The preTokenIssuance + */ + public function getPreTokenIssuance() + { + if (array_key_exists("preTokenIssuance", $this->_propDict)) { + if (is_a($this->_propDict["preTokenIssuance"], "\Beta\Microsoft\Graph\Model\IdentityApiConnector") || is_null($this->_propDict["preTokenIssuance"])) { + return $this->_propDict["preTokenIssuance"]; + } else { + $this->_propDict["preTokenIssuance"] = new IdentityApiConnector($this->_propDict["preTokenIssuance"]); + return $this->_propDict["preTokenIssuance"]; + } + } + return null; + } + + /** + * Sets the preTokenIssuance + * + * @param IdentityApiConnector $val The value to assign to the preTokenIssuance + * + * @return UserFlowApiConnectorConfiguration The UserFlowApiConnectorConfiguration + */ + public function setPreTokenIssuance($val) + { + $this->_propDict["preTokenIssuance"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguageConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguageConfiguration.php new file mode 100644 index 0000000..2c766f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguageConfiguration.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The language name to display. This property is read-only. + * + * @param string $val The displayName + * + * @return UserFlowLanguageConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the language is enabled within the user flow. + * + * @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 + * Indicates whether the language is enabled within the user flow. + * + * @param bool $val The isEnabled + * + * @return UserFlowLanguageConfiguration + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the defaultPages + * Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. + * + * @return array|null The defaultPages + */ + public function getDefaultPages() + { + if (array_key_exists("defaultPages", $this->_propDict)) { + return $this->_propDict["defaultPages"]; + } else { + return null; + } + } + + /** + * Sets the defaultPages + * Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. + * + * @param UserFlowLanguagePage[] $val The defaultPages + * + * @return UserFlowLanguageConfiguration + */ + public function setDefaultPages($val) + { + $this->_propDict["defaultPages"] = $val; + return $this; + } + + + /** + * Gets the overridesPages + * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). + * + * @return array|null The overridesPages + */ + public function getOverridesPages() + { + if (array_key_exists("overridesPages", $this->_propDict)) { + return $this->_propDict["overridesPages"]; + } else { + return null; + } + } + + /** + * Sets the overridesPages + * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). + * + * @param UserFlowLanguagePage[] $val The overridesPages + * + * @return UserFlowLanguageConfiguration + */ + public function setOverridesPages($val) + { + $this->_propDict["overridesPages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguagePage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguagePage.php new file mode 100644 index 0000000..ac28573 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguagePage.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * + * @param string $val The value of the userId + * + * @return UserGovernanceCriteria + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserIdentity.php new file mode 100644 index 0000000..0eb03ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserIdentity.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * Indicates the client IP address used by user performing the activity (audit log only). + * + * @param string $val The value of the ipAddress + * + * @return UserIdentity + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * The userPrincipalName attribute of the user. + * + * @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 + * The userPrincipalName attribute of the user. + * + * @param string $val The value of the userPrincipalName + * + * @return UserIdentity + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInsightsSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInsightsSettings.php new file mode 100644 index 0000000..bd5c88d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInsightsSettings.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * true if user's itemInsights and meeting hours insights are enabled; false if user's itemInsights and meeting hours insights are disabled. Default is true. Optional. + * + * @param bool $val The isEnabled + * + * @return UserInsightsSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInstallStateSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInstallStateSummary.php new file mode 100644 index 0000000..1255357 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInstallStateSummary.php @@ -0,0 +1,173 @@ +_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Failed Device Count. + * + * @param int $val The failedDeviceCount + * + * @return UserInstallStateSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the installedDeviceCount + * Installed Device Count. + * + * @return int|null The installedDeviceCount + */ + public function getInstalledDeviceCount() + { + if (array_key_exists("installedDeviceCount", $this->_propDict)) { + return $this->_propDict["installedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the installedDeviceCount + * Installed Device Count. + * + * @param int $val The installedDeviceCount + * + * @return UserInstallStateSummary + */ + public function setInstalledDeviceCount($val) + { + $this->_propDict["installedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledDeviceCount + * Not installed device count. + * + * @return int|null The notInstalledDeviceCount + */ + public function getNotInstalledDeviceCount() + { + if (array_key_exists("notInstalledDeviceCount", $this->_propDict)) { + return $this->_propDict["notInstalledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledDeviceCount + * Not installed device count. + * + * @param int $val The notInstalledDeviceCount + * + * @return UserInstallStateSummary + */ + public function setNotInstalledDeviceCount($val) + { + $this->_propDict["notInstalledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the userName + * User name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * User name. + * + * @param string $val The userName + * + * @return UserInstallStateSummary + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * The install state of the eBook. + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * The install state of the eBook. + * + * @param DeviceInstallState[] $val The deviceStates + * + * @return UserInstallStateSummary + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserLastSignInRecommendationInsightSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserLastSignInRecommendationInsightSetting.php new file mode 100644 index 0000000..3a54144 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserLastSignInRecommendationInsightSetting.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["recommendationLookBackDuration"], "\DateInterval") || is_null($this->_propDict["recommendationLookBackDuration"])) { + return $this->_propDict["recommendationLookBackDuration"]; + } else { + $this->_propDict["recommendationLookBackDuration"] = new \DateInterval($this->_propDict["recommendationLookBackDuration"]); + return $this->_propDict["recommendationLookBackDuration"]; + } + } + return null; + } + + /** + * Sets the recommendationLookBackDuration + * Optional. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. + * + * @param \DateInterval $val The value to assign to the recommendationLookBackDuration + * + * @return UserLastSignInRecommendationInsightSetting The UserLastSignInRecommendationInsightSetting + */ + public function setRecommendationLookBackDuration($val) + { + $this->_propDict["recommendationLookBackDuration"] = $val; + return $this; + } + + /** + * Gets the signInScope + * Indicates whether inactivity is calculated based on the user's inactivity in the tenant or in the application. The possible values are tenant, application, unknownFutureValue. application is only relevant when the access review is a review of an assignment to an application. + * + * @return UserSignInRecommendationScope|null The signInScope + */ + public function getSignInScope() + { + if (array_key_exists("signInScope", $this->_propDict)) { + if (is_a($this->_propDict["signInScope"], "\Beta\Microsoft\Graph\Model\UserSignInRecommendationScope") || is_null($this->_propDict["signInScope"])) { + return $this->_propDict["signInScope"]; + } else { + $this->_propDict["signInScope"] = new UserSignInRecommendationScope($this->_propDict["signInScope"]); + return $this->_propDict["signInScope"]; + } + } + return null; + } + + /** + * Sets the signInScope + * Indicates whether inactivity is calculated based on the user's inactivity in the tenant or in the application. The possible values are tenant, application, unknownFutureValue. application is only relevant when the access review is a review of an assignment to an application. + * + * @param UserSignInRecommendationScope $val The value to assign to the signInScope + * + * @return UserLastSignInRecommendationInsightSetting The UserLastSignInRecommendationInsightSetting + */ + public function setSignInScope($val) + { + $this->_propDict["signInScope"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserNewMessageRestriction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserNewMessageRestriction.php new file mode 100644 index 0000000..1c97fb4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserNewMessageRestriction.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date/time when this PFX certificate was imported. + * + * @param \DateTime $val The createdDateTime + * + * @return UserPFXCertificate + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the encryptedPfxBlob + * Encrypted PFX blob. + * + * @return \GuzzleHttp\Psr7\Stream|null The encryptedPfxBlob + */ + public function getEncryptedPfxBlob() + { + if (array_key_exists("encryptedPfxBlob", $this->_propDict)) { + if (is_a($this->_propDict["encryptedPfxBlob"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptedPfxBlob"])) { + return $this->_propDict["encryptedPfxBlob"]; + } else { + $this->_propDict["encryptedPfxBlob"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptedPfxBlob"]); + return $this->_propDict["encryptedPfxBlob"]; + } + } + return null; + } + + /** + * Sets the encryptedPfxBlob + * Encrypted PFX blob. + * + * @param \GuzzleHttp\Psr7\Stream $val The encryptedPfxBlob + * + * @return UserPFXCertificate + */ + public function setEncryptedPfxBlob($val) + { + $this->_propDict["encryptedPfxBlob"] = $val; + return $this; + } + + /** + * Gets the encryptedPfxPassword + * Encrypted PFX password. + * + * @return string|null The encryptedPfxPassword + */ + public function getEncryptedPfxPassword() + { + if (array_key_exists("encryptedPfxPassword", $this->_propDict)) { + return $this->_propDict["encryptedPfxPassword"]; + } else { + return null; + } + } + + /** + * Sets the encryptedPfxPassword + * Encrypted PFX password. + * + * @param string $val The encryptedPfxPassword + * + * @return UserPFXCertificate + */ + public function setEncryptedPfxPassword($val) + { + $this->_propDict["encryptedPfxPassword"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Certificate's validity expiration date/time. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Certificate's validity expiration date/time. + * + * @param \DateTime $val The expirationDateTime + * + * @return UserPFXCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the intendedPurpose + * Certificate's intended purpose from the point-of-view of deployment. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @return UserPfxIntendedPurpose|null The intendedPurpose + */ + public function getIntendedPurpose() + { + if (array_key_exists("intendedPurpose", $this->_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\UserPfxIntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new UserPfxIntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Certificate's intended purpose from the point-of-view of deployment. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param UserPfxIntendedPurpose $val The intendedPurpose + * + * @return UserPFXCertificate + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + /** + * Gets the keyName + * Name of the key (within the provider) used to encrypt the blob. + * + * @return string|null The keyName + */ + public function getKeyName() + { + if (array_key_exists("keyName", $this->_propDict)) { + return $this->_propDict["keyName"]; + } else { + return null; + } + } + + /** + * Sets the keyName + * Name of the key (within the provider) used to encrypt the blob. + * + * @param string $val The keyName + * + * @return UserPFXCertificate + */ + public function setKeyName($val) + { + $this->_propDict["keyName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date/time when this PFX certificate was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date/time when this PFX certificate was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UserPFXCertificate + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the paddingScheme + * Padding scheme used by the provider during encryption/decryption. Possible values are: none, pkcs1, oaepSha1, oaepSha256, oaepSha384, oaepSha512. + * + * @return UserPfxPaddingScheme|null The paddingScheme + */ + public function getPaddingScheme() + { + if (array_key_exists("paddingScheme", $this->_propDict)) { + if (is_a($this->_propDict["paddingScheme"], "\Beta\Microsoft\Graph\Model\UserPfxPaddingScheme") || is_null($this->_propDict["paddingScheme"])) { + return $this->_propDict["paddingScheme"]; + } else { + $this->_propDict["paddingScheme"] = new UserPfxPaddingScheme($this->_propDict["paddingScheme"]); + return $this->_propDict["paddingScheme"]; + } + } + return null; + } + + /** + * Sets the paddingScheme + * Padding scheme used by the provider during encryption/decryption. Possible values are: none, pkcs1, oaepSha1, oaepSha256, oaepSha384, oaepSha512. + * + * @param UserPfxPaddingScheme $val The paddingScheme + * + * @return UserPFXCertificate + */ + public function setPaddingScheme($val) + { + $this->_propDict["paddingScheme"] = $val; + return $this; + } + + /** + * Gets the providerName + * Crypto provider used to encrypt this blob. + * + * @return string|null The providerName + */ + public function getProviderName() + { + if (array_key_exists("providerName", $this->_propDict)) { + return $this->_propDict["providerName"]; + } else { + return null; + } + } + + /** + * Sets the providerName + * Crypto provider used to encrypt this blob. + * + * @param string $val The providerName + * + * @return UserPFXCertificate + */ + public function setProviderName($val) + { + $this->_propDict["providerName"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Certificate's validity start date/time. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Certificate's validity start date/time. + * + * @param \DateTime $val The startDateTime + * + * @return UserPFXCertificate + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the thumbprint + * SHA-1 thumbprint of the PFX certificate. + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * SHA-1 thumbprint of the PFX certificate. + * + * @param string $val The thumbprint + * + * @return UserPFXCertificate + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name of the PFX certificate. + * + * @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 + * User Principal Name of the PFX certificate. + * + * @param string $val The userPrincipalName + * + * @return UserPFXCertificate + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPfxIntendedPurpose.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPfxIntendedPurpose.php new file mode 100644 index 0000000..b048a06 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPfxIntendedPurpose.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["recentPrinterShares"], "\Beta\Microsoft\Graph\Model\PrinterShare") || is_null($this->_propDict["recentPrinterShares"])) { + return $this->_propDict["recentPrinterShares"]; + } else { + $this->_propDict["recentPrinterShares"] = new PrinterShare($this->_propDict["recentPrinterShares"]); + return $this->_propDict["recentPrinterShares"]; + } + } + return null; + } + + /** + * Sets the recentPrinterShares + * + * @param PrinterShare $val The value to assign to the recentPrinterShares + * + * @return UserPrint The UserPrint + */ + public function setRecentPrinterShares($val) + { + $this->_propDict["recentPrinterShares"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPrintUsageSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPrintUsageSummary.php new file mode 100644 index 0000000..973bcbc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPrintUsageSummary.php @@ -0,0 +1,161 @@ +_propDict)) { + return $this->_propDict["completedJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedJobCount + * + * @param int $val The value of the completedJobCount + * + * @return UserPrintUsageSummary + */ + public function setCompletedJobCount($val) + { + $this->_propDict["completedJobCount"] = $val; + return $this; + } + /** + * Gets the incompleteJobCount + * + * @return int|null The incompleteJobCount + */ + public function getIncompleteJobCount() + { + if (array_key_exists("incompleteJobCount", $this->_propDict)) { + return $this->_propDict["incompleteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the incompleteJobCount + * + * @param int $val The value of the incompleteJobCount + * + * @return UserPrintUsageSummary + */ + public function setIncompleteJobCount($val) + { + $this->_propDict["incompleteJobCount"] = $val; + return $this; + } + + /** + * Gets the user + * + * @return Identity|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new Identity($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * + * @param Identity $val The value to assign to the user + * + * @return UserPrintUsageSummary The UserPrintUsageSummary + */ + public function setUser($val) + { + $this->_propDict["user"] = $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 UserPrintUsageSummary + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $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 UserPrintUsageSummary + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPurpose.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPurpose.php new file mode 100644 index 0000000..0e90c6e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPurpose.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["registrationCount"]; + } else { + return null; + } + } + + /** + * Sets the registrationCount + * Provides the registration count for your tenant. + * + * @param int $val The value of the registrationCount + * + * @return UserRegistrationCount + */ + public function setRegistrationCount($val) + { + $this->_propDict["registrationCount"] = $val; + return $this; + } + + /** + * Gets the registrationStatus + * Represents the status of user registration. Possible values are: registered, enabled, capable, and mfaRegistered. + * + * @return RegistrationStatusType|null The registrationStatus + */ + public function getRegistrationStatus() + { + if (array_key_exists("registrationStatus", $this->_propDict)) { + if (is_a($this->_propDict["registrationStatus"], "\Beta\Microsoft\Graph\Model\RegistrationStatusType") || is_null($this->_propDict["registrationStatus"])) { + return $this->_propDict["registrationStatus"]; + } else { + $this->_propDict["registrationStatus"] = new RegistrationStatusType($this->_propDict["registrationStatus"]); + return $this->_propDict["registrationStatus"]; + } + } + return null; + } + + /** + * Sets the registrationStatus + * Represents the status of user registration. Possible values are: registered, enabled, capable, and mfaRegistered. + * + * @param RegistrationStatusType $val The value to assign to the registrationStatus + * + * @return UserRegistrationCount The UserRegistrationCount + */ + public function setRegistrationStatus($val) + { + $this->_propDict["registrationStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationDetails.php new file mode 100644 index 0000000..75e18c1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationDetails.php @@ -0,0 +1,319 @@ +_propDict)) { + if (is_a($this->_propDict["defaultMfaMethod"], "\Beta\Microsoft\Graph\Model\DefaultMfaMethodType") || is_null($this->_propDict["defaultMfaMethod"])) { + return $this->_propDict["defaultMfaMethod"]; + } else { + $this->_propDict["defaultMfaMethod"] = new DefaultMfaMethodType($this->_propDict["defaultMfaMethod"]); + return $this->_propDict["defaultMfaMethod"]; + } + } + return null; + } + + /** + * Sets the defaultMfaMethod + * + * @param DefaultMfaMethodType $val The defaultMfaMethod + * + * @return UserRegistrationDetails + */ + public function setDefaultMfaMethod($val) + { + $this->_propDict["defaultMfaMethod"] = $val; + return $this; + } + + /** + * Gets the isMfaCapable + * Whether the user has registered a strong authentication method for multi-factor authentication. The method must be allowed by the authentication methods policy. Supports $filter (eq). + * + * @return bool|null The isMfaCapable + */ + public function getIsMfaCapable() + { + if (array_key_exists("isMfaCapable", $this->_propDict)) { + return $this->_propDict["isMfaCapable"]; + } else { + return null; + } + } + + /** + * Sets the isMfaCapable + * Whether the user has registered a strong authentication method for multi-factor authentication. The method must be allowed by the authentication methods policy. Supports $filter (eq). + * + * @param bool $val The isMfaCapable + * + * @return UserRegistrationDetails + */ + public function setIsMfaCapable($val) + { + $this->_propDict["isMfaCapable"] = boolval($val); + return $this; + } + + /** + * Gets the isMfaRegistered + * Whether the user has registered a strong authentication method for multi-factor authentication. The method may not necessarily be allowed by the authentication methods policy. Supports $filter (eq). + * + * @return bool|null The isMfaRegistered + */ + public function getIsMfaRegistered() + { + if (array_key_exists("isMfaRegistered", $this->_propDict)) { + return $this->_propDict["isMfaRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isMfaRegistered + * Whether the user has registered a strong authentication method for multi-factor authentication. The method may not necessarily be allowed by the authentication methods policy. Supports $filter (eq). + * + * @param bool $val The isMfaRegistered + * + * @return UserRegistrationDetails + */ + public function setIsMfaRegistered($val) + { + $this->_propDict["isMfaRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the isPasswordlessCapable + * Whether the user has registered a passwordless strong authentication method (including FIDO2, Windows Hello for Business, and Microsoft Authenticator (Passwordless)) that is allowed by the authentication methods policy. Supports $filter (eq). + * + * @return bool|null The isPasswordlessCapable + */ + public function getIsPasswordlessCapable() + { + if (array_key_exists("isPasswordlessCapable", $this->_propDict)) { + return $this->_propDict["isPasswordlessCapable"]; + } else { + return null; + } + } + + /** + * Sets the isPasswordlessCapable + * Whether the user has registered a passwordless strong authentication method (including FIDO2, Windows Hello for Business, and Microsoft Authenticator (Passwordless)) that is allowed by the authentication methods policy. Supports $filter (eq). + * + * @param bool $val The isPasswordlessCapable + * + * @return UserRegistrationDetails + */ + public function setIsPasswordlessCapable($val) + { + $this->_propDict["isPasswordlessCapable"] = boolval($val); + return $this; + } + + /** + * Gets the isSsprCapable + * Whether the user has registered the required number of authentication methods for self-service password reset and the user is allowed to perform self-service password reset by policy. Supports $filter (eq). + * + * @return bool|null The isSsprCapable + */ + public function getIsSsprCapable() + { + if (array_key_exists("isSsprCapable", $this->_propDict)) { + return $this->_propDict["isSsprCapable"]; + } else { + return null; + } + } + + /** + * Sets the isSsprCapable + * Whether the user has registered the required number of authentication methods for self-service password reset and the user is allowed to perform self-service password reset by policy. Supports $filter (eq). + * + * @param bool $val The isSsprCapable + * + * @return UserRegistrationDetails + */ + public function setIsSsprCapable($val) + { + $this->_propDict["isSsprCapable"] = boolval($val); + return $this; + } + + /** + * Gets the isSsprEnabled + * Whether the user is allowed to perform self-service password reset by policy. The user may not necessarily have registered the required number of authentication methods for self-service password reset. Supports $filter (eq). + * + * @return bool|null The isSsprEnabled + */ + public function getIsSsprEnabled() + { + if (array_key_exists("isSsprEnabled", $this->_propDict)) { + return $this->_propDict["isSsprEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isSsprEnabled + * Whether the user is allowed to perform self-service password reset by policy. The user may not necessarily have registered the required number of authentication methods for self-service password reset. Supports $filter (eq). + * + * @param bool $val The isSsprEnabled + * + * @return UserRegistrationDetails + */ + public function setIsSsprEnabled($val) + { + $this->_propDict["isSsprEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isSsprRegistered + * Whether the user has registered the required number of authentication methods for self-service password reset. The user may not necessarily be allowed to perform self-service password reset by policy. Supports $filter (eq). + * + * @return bool|null The isSsprRegistered + */ + public function getIsSsprRegistered() + { + if (array_key_exists("isSsprRegistered", $this->_propDict)) { + return $this->_propDict["isSsprRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isSsprRegistered + * Whether the user has registered the required number of authentication methods for self-service password reset. The user may not necessarily be allowed to perform self-service password reset by policy. Supports $filter (eq). + * + * @param bool $val The isSsprRegistered + * + * @return UserRegistrationDetails + */ + public function setIsSsprRegistered($val) + { + $this->_propDict["isSsprRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the methodsRegistered + * Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq). + * + * @return string|null The methodsRegistered + */ + public function getMethodsRegistered() + { + if (array_key_exists("methodsRegistered", $this->_propDict)) { + return $this->_propDict["methodsRegistered"]; + } else { + return null; + } + } + + /** + * Sets the methodsRegistered + * Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq). + * + * @param string $val The methodsRegistered + * + * @return UserRegistrationDetails + */ + public function setMethodsRegistered($val) + { + $this->_propDict["methodsRegistered"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. + * + * @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 + * The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. + * + * @param string $val The userDisplayName + * + * @return UserRegistrationDetails + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. + * + * @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 + * The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. + * + * @param string $val The userPrincipalName + * + * @return UserRegistrationDetails + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php new file mode 100644 index 0000000..a6d85cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeature") || is_null($this->_propDict["feature"])) { + return $this->_propDict["feature"]; + } else { + $this->_propDict["feature"] = new AuthenticationMethodFeature($this->_propDict["feature"]); + return $this->_propDict["feature"]; + } + } + return null; + } + + /** + * Sets the feature + * Number of users registered or capable for Multi-Factor Authentication, Self-Service Password Reset and Passwordless Authentication. Possible values are: ssprRegistered, ssprEnabled, ssprCapable, passwordlessCapable, mfaCapable. + * + * @param AuthenticationMethodFeature $val The value to assign to the feature + * + * @return UserRegistrationFeatureCount The UserRegistrationFeatureCount + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + /** + * Gets the userCount + * Number of users. + * + * @return int|null The userCount + */ + public function getUserCount() + { + if (array_key_exists("userCount", $this->_propDict)) { + return $this->_propDict["userCount"]; + } else { + return null; + } + } + + /** + * Sets the userCount + * Number of users. + * + * @param int $val The value of the userCount + * + * @return UserRegistrationFeatureCount + */ + public function setUserCount($val) + { + $this->_propDict["userCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureSummary.php new file mode 100644 index 0000000..56ff7f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureSummary.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["totalUserCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUserCount + * Total number of users accounts, excluding those that are blocked + * + * @param int $val The value of the totalUserCount + * + * @return UserRegistrationFeatureSummary + */ + public function setTotalUserCount($val) + { + $this->_propDict["totalUserCount"] = $val; + return $this; + } + + /** + * Gets the userRegistrationFeatureCounts + * Number of users registered or capable for Multi-Factor Authentication, Self-Service Password Reset and Passwordless Authentication. + * + * @return UserRegistrationFeatureCount|null The userRegistrationFeatureCounts + */ + public function getUserRegistrationFeatureCounts() + { + if (array_key_exists("userRegistrationFeatureCounts", $this->_propDict)) { + if (is_a($this->_propDict["userRegistrationFeatureCounts"], "\Beta\Microsoft\Graph\Model\UserRegistrationFeatureCount") || is_null($this->_propDict["userRegistrationFeatureCounts"])) { + return $this->_propDict["userRegistrationFeatureCounts"]; + } else { + $this->_propDict["userRegistrationFeatureCounts"] = new UserRegistrationFeatureCount($this->_propDict["userRegistrationFeatureCounts"]); + return $this->_propDict["userRegistrationFeatureCounts"]; + } + } + return null; + } + + /** + * Sets the userRegistrationFeatureCounts + * Number of users registered or capable for Multi-Factor Authentication, Self-Service Password Reset and Passwordless Authentication. + * + * @param UserRegistrationFeatureCount $val The value to assign to the userRegistrationFeatureCounts + * + * @return UserRegistrationFeatureSummary The UserRegistrationFeatureSummary + */ + public function setUserRegistrationFeatureCounts($val) + { + $this->_propDict["userRegistrationFeatureCounts"] = $val; + return $this; + } + + /** + * Gets the userRoles + * User role type. Possible values are: all, privilegedAdmin, admin, user. + * + * @return IncludedUserRoles|null The userRoles + */ + public function getUserRoles() + { + if (array_key_exists("userRoles", $this->_propDict)) { + if (is_a($this->_propDict["userRoles"], "\Beta\Microsoft\Graph\Model\IncludedUserRoles") || is_null($this->_propDict["userRoles"])) { + return $this->_propDict["userRoles"]; + } else { + $this->_propDict["userRoles"] = new IncludedUserRoles($this->_propDict["userRoles"]); + return $this->_propDict["userRoles"]; + } + } + return null; + } + + /** + * Sets the userRoles + * User role type. Possible values are: all, privilegedAdmin, admin, user. + * + * @param IncludedUserRoles $val The value to assign to the userRoles + * + * @return UserRegistrationFeatureSummary The UserRegistrationFeatureSummary + */ + public function setUserRoles($val) + { + $this->_propDict["userRoles"] = $val; + return $this; + } + + /** + * Gets the userTypes + * User type. Possible values are: all, member, guest. + * + * @return IncludedUserTypes|null The userTypes + */ + public function getUserTypes() + { + if (array_key_exists("userTypes", $this->_propDict)) { + if (is_a($this->_propDict["userTypes"], "\Beta\Microsoft\Graph\Model\IncludedUserTypes") || is_null($this->_propDict["userTypes"])) { + return $this->_propDict["userTypes"]; + } else { + $this->_propDict["userTypes"] = new IncludedUserTypes($this->_propDict["userTypes"]); + return $this->_propDict["userTypes"]; + } + } + return null; + } + + /** + * Sets the userTypes + * User type. Possible values are: all, member, guest. + * + * @param IncludedUserTypes $val The value to assign to the userTypes + * + * @return UserRegistrationFeatureSummary The UserRegistrationFeatureSummary + */ + public function setUserTypes($val) + { + $this->_propDict["userTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodCount.php new file mode 100644 index 0000000..5f734c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodCount.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["authenticationMethod"]; + } else { + return null; + } + } + + /** + * Sets the authenticationMethod + * Name of authentication method. + * + * @param string $val The value of the authenticationMethod + * + * @return UserRegistrationMethodCount + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + /** + * Gets the userCount + * Number of users registered. + * + * @return int|null The userCount + */ + public function getUserCount() + { + if (array_key_exists("userCount", $this->_propDict)) { + return $this->_propDict["userCount"]; + } else { + return null; + } + } + + /** + * Sets the userCount + * Number of users registered. + * + * @param int $val The value of the userCount + * + * @return UserRegistrationMethodCount + */ + public function setUserCount($val) + { + $this->_propDict["userCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodSummary.php new file mode 100644 index 0000000..51c1774 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodSummary.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["totalUserCount"]; + } else { + return null; + } + } + + /** + * Sets the totalUserCount + * Total number of users in the tenant. + * + * @param int $val The value of the totalUserCount + * + * @return UserRegistrationMethodSummary + */ + public function setTotalUserCount($val) + { + $this->_propDict["totalUserCount"] = $val; + return $this; + } + + /** + * Gets the userRegistrationMethodCounts + * Number of users registered for each authentication method. + * + * @return UserRegistrationMethodCount|null The userRegistrationMethodCounts + */ + public function getUserRegistrationMethodCounts() + { + if (array_key_exists("userRegistrationMethodCounts", $this->_propDict)) { + if (is_a($this->_propDict["userRegistrationMethodCounts"], "\Beta\Microsoft\Graph\Model\UserRegistrationMethodCount") || is_null($this->_propDict["userRegistrationMethodCounts"])) { + return $this->_propDict["userRegistrationMethodCounts"]; + } else { + $this->_propDict["userRegistrationMethodCounts"] = new UserRegistrationMethodCount($this->_propDict["userRegistrationMethodCounts"]); + return $this->_propDict["userRegistrationMethodCounts"]; + } + } + return null; + } + + /** + * Sets the userRegistrationMethodCounts + * Number of users registered for each authentication method. + * + * @param UserRegistrationMethodCount $val The value to assign to the userRegistrationMethodCounts + * + * @return UserRegistrationMethodSummary The UserRegistrationMethodSummary + */ + public function setUserRegistrationMethodCounts($val) + { + $this->_propDict["userRegistrationMethodCounts"] = $val; + return $this; + } + + /** + * Gets the userRoles + * User role type. Possible values are: all, privilegedAdmin, admin, user. + * + * @return IncludedUserRoles|null The userRoles + */ + public function getUserRoles() + { + if (array_key_exists("userRoles", $this->_propDict)) { + if (is_a($this->_propDict["userRoles"], "\Beta\Microsoft\Graph\Model\IncludedUserRoles") || is_null($this->_propDict["userRoles"])) { + return $this->_propDict["userRoles"]; + } else { + $this->_propDict["userRoles"] = new IncludedUserRoles($this->_propDict["userRoles"]); + return $this->_propDict["userRoles"]; + } + } + return null; + } + + /** + * Sets the userRoles + * User role type. Possible values are: all, privilegedAdmin, admin, user. + * + * @param IncludedUserRoles $val The value to assign to the userRoles + * + * @return UserRegistrationMethodSummary The UserRegistrationMethodSummary + */ + public function setUserRoles($val) + { + $this->_propDict["userRoles"] = $val; + return $this; + } + + /** + * Gets the userTypes + * User type. Possible values are: all, member, guest. + * + * @return IncludedUserTypes|null The userTypes + */ + public function getUserTypes() + { + if (array_key_exists("userTypes", $this->_propDict)) { + if (is_a($this->_propDict["userTypes"], "\Beta\Microsoft\Graph\Model\IncludedUserTypes") || is_null($this->_propDict["userTypes"])) { + return $this->_propDict["userTypes"]; + } else { + $this->_propDict["userTypes"] = new IncludedUserTypes($this->_propDict["userTypes"]); + return $this->_propDict["userTypes"]; + } + } + return null; + } + + /** + * Sets the userTypes + * User type. Possible values are: all, member, guest. + * + * @param IncludedUserTypes $val The value to assign to the userTypes + * + * @return UserRegistrationMethodSummary The UserRegistrationMethodSummary + */ + public function setUserTypes($val) + { + $this->_propDict["userTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserScopeTeamsAppInstallation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserScopeTeamsAppInstallation.php new file mode 100644 index 0000000..0d49b86 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserScopeTeamsAppInstallation.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["chat"], "\Beta\Microsoft\Graph\Model\Chat") || is_null($this->_propDict["chat"])) { + return $this->_propDict["chat"]; + } else { + $this->_propDict["chat"] = new Chat($this->_propDict["chat"]); + return $this->_propDict["chat"]; + } + } + return null; + } + + /** + * Sets the chat + * The chat between the user and Teams app. + * + * @param Chat $val The chat + * + * @return UserScopeTeamsAppInstallation + */ + public function setChat($val) + { + $this->_propDict["chat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityProfile.php new file mode 100644 index 0000000..3e384d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityProfile.php @@ -0,0 +1,310 @@ +_propDict)) { + return $this->_propDict["accounts"]; + } else { + return null; + } + } + + /** + * Sets the accounts + * + * @param UserAccount[] $val The accounts + * + * @return UserSecurityProfile + */ + public function setAccounts($val) + { + $this->_propDict["accounts"] = $val; + return $this; + } + + /** + * Gets the azureSubscriptionId + * + * @return string|null The azureSubscriptionId + */ + public function getAzureSubscriptionId() + { + if (array_key_exists("azureSubscriptionId", $this->_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * + * @param string $val The azureSubscriptionId + * + * @return UserSecurityProfile + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * + * @param string $val The azureTenantId + * + * @return UserSecurityProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return UserSecurityProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return UserSecurityProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UserSecurityProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the riskScore + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * + * @param string $val The riskScore + * + * @return UserSecurityProfile + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the tags + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string $val The tags + * + * @return UserSecurityProfile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $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 userPrincipalName + * + * @return UserSecurityProfile + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return UserSecurityProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityState.php new file mode 100644 index 0000000..691ae74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityState.php @@ -0,0 +1,438 @@ +_propDict)) { + return $this->_propDict["aadUserId"]; + } else { + return null; + } + } + + /** + * Sets the aadUserId + * AAD User object identifier (GUID) - represents the physical/multi-account user entity. + * + * @param string $val The value of the aadUserId + * + * @return UserSecurityState + */ + public function setAadUserId($val) + { + $this->_propDict["aadUserId"] = $val; + return $this; + } + /** + * Gets the accountName + * Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName). + * + * @return string|null The accountName + */ + public function getAccountName() + { + if (array_key_exists("accountName", $this->_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName). + * + * @param string $val The value of the accountName + * + * @return UserSecurityState + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** + * Gets the domainName + * NetBIOS/Active Directory domain of user account (that is, domain/account format). + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * NetBIOS/Active Directory domain of user account (that is, domain/account format). + * + * @param string $val The value of the domainName + * + * @return UserSecurityState + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + + /** + * Gets the emailRole + * For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. + * + * @return EmailRole|null The emailRole + */ + public function getEmailRole() + { + if (array_key_exists("emailRole", $this->_propDict)) { + if (is_a($this->_propDict["emailRole"], "\Beta\Microsoft\Graph\Model\EmailRole") || is_null($this->_propDict["emailRole"])) { + return $this->_propDict["emailRole"]; + } else { + $this->_propDict["emailRole"] = new EmailRole($this->_propDict["emailRole"]); + return $this->_propDict["emailRole"]; + } + } + return null; + } + + /** + * Sets the emailRole + * For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. + * + * @param EmailRole $val The value to assign to the emailRole + * + * @return UserSecurityState The UserSecurityState + */ + public function setEmailRole($val) + { + $this->_propDict["emailRole"] = $val; + return $this; + } + /** + * Gets the isVpn + * Indicates whether the user logged on through a VPN. + * + * @return bool|null The isVpn + */ + public function getIsVpn() + { + if (array_key_exists("isVpn", $this->_propDict)) { + return $this->_propDict["isVpn"]; + } else { + return null; + } + } + + /** + * Sets the isVpn + * Indicates whether the user logged on through a VPN. + * + * @param bool $val The value of the isVpn + * + * @return UserSecurityState + */ + public function setIsVpn($val) + { + $this->_propDict["isVpn"] = $val; + return $this; + } + + /** + * Gets the logonDateTime + * Time at which the sign-in occurred. 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 logonDateTime + */ + public function getLogonDateTime() + { + if (array_key_exists("logonDateTime", $this->_propDict)) { + if (is_a($this->_propDict["logonDateTime"], "\DateTime") || is_null($this->_propDict["logonDateTime"])) { + return $this->_propDict["logonDateTime"]; + } else { + $this->_propDict["logonDateTime"] = new \DateTime($this->_propDict["logonDateTime"]); + return $this->_propDict["logonDateTime"]; + } + } + return null; + } + + /** + * Sets the logonDateTime + * Time at which the sign-in occurred. 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 logonDateTime + * + * @return UserSecurityState The UserSecurityState + */ + public function setLogonDateTime($val) + { + $this->_propDict["logonDateTime"] = $val; + return $this; + } + /** + * Gets the logonId + * User sign-in ID. + * + * @return string|null The logonId + */ + public function getLogonId() + { + if (array_key_exists("logonId", $this->_propDict)) { + return $this->_propDict["logonId"]; + } else { + return null; + } + } + + /** + * Sets the logonId + * User sign-in ID. + * + * @param string $val The value of the logonId + * + * @return UserSecurityState + */ + public function setLogonId($val) + { + $this->_propDict["logonId"] = $val; + return $this; + } + /** + * Gets the logonIp + * IP Address the sign-in request originated from. + * + * @return string|null The logonIp + */ + public function getLogonIp() + { + if (array_key_exists("logonIp", $this->_propDict)) { + return $this->_propDict["logonIp"]; + } else { + return null; + } + } + + /** + * Sets the logonIp + * IP Address the sign-in request originated from. + * + * @param string $val The value of the logonIp + * + * @return UserSecurityState + */ + public function setLogonIp($val) + { + $this->_propDict["logonIp"] = $val; + return $this; + } + /** + * Gets the logonLocation + * Location (by IP address mapping) associated with a user sign-in event by this user. + * + * @return string|null The logonLocation + */ + public function getLogonLocation() + { + if (array_key_exists("logonLocation", $this->_propDict)) { + return $this->_propDict["logonLocation"]; + } else { + return null; + } + } + + /** + * Sets the logonLocation + * Location (by IP address mapping) associated with a user sign-in event by this user. + * + * @param string $val The value of the logonLocation + * + * @return UserSecurityState + */ + public function setLogonLocation($val) + { + $this->_propDict["logonLocation"] = $val; + return $this; + } + + /** + * Gets the logonType + * Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + * + * @return LogonType|null The logonType + */ + public function getLogonType() + { + if (array_key_exists("logonType", $this->_propDict)) { + if (is_a($this->_propDict["logonType"], "\Beta\Microsoft\Graph\Model\LogonType") || is_null($this->_propDict["logonType"])) { + return $this->_propDict["logonType"]; + } else { + $this->_propDict["logonType"] = new LogonType($this->_propDict["logonType"]); + return $this->_propDict["logonType"]; + } + } + return null; + } + + /** + * Sets the logonType + * Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + * + * @param LogonType $val The value to assign to the logonType + * + * @return UserSecurityState The UserSecurityState + */ + public function setLogonType($val) + { + $this->_propDict["logonType"] = $val; + return $this; + } + /** + * Gets the onPremisesSecurityIdentifier + * Active Directory (on-premises) Security Identifier (SID) of the user. + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * Active Directory (on-premises) Security Identifier (SID) of the user. + * + * @param string $val The value of the onPremisesSecurityIdentifier + * + * @return UserSecurityState + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return UserSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the userAccountType + * User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. + * + * @return UserAccountSecurityType|null The userAccountType + */ + public function getUserAccountType() + { + if (array_key_exists("userAccountType", $this->_propDict)) { + if (is_a($this->_propDict["userAccountType"], "\Beta\Microsoft\Graph\Model\UserAccountSecurityType") || is_null($this->_propDict["userAccountType"])) { + return $this->_propDict["userAccountType"]; + } else { + $this->_propDict["userAccountType"] = new UserAccountSecurityType($this->_propDict["userAccountType"]); + return $this->_propDict["userAccountType"]; + } + } + return null; + } + + /** + * Sets the userAccountType + * User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. + * + * @param UserAccountSecurityType $val The value to assign to the userAccountType + * + * @return UserSecurityState The UserSecurityState + */ + public function setUserAccountType($val) + { + $this->_propDict["userAccountType"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * User sign-in name - internet format: (user account name)@(user account DNS domain name). + * + * @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 + * User sign-in name - internet format: (user account name)@(user account DNS domain name). + * + * @param string $val The value of the userPrincipalName + * + * @return UserSecurityState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSet.php new file mode 100644 index 0000000..7575584 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSet.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isBackup"]; + } else { + return null; + } + } + + /** + * Sets the isBackup + * For a user in an approval stage, this property indicates whether the user is a backup fallback approver. + * + * @param bool $val The value of the isBackup + * + * @return UserSet + */ + public function setIsBackup($val) + { + $this->_propDict["isBackup"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSettings.php new file mode 100644 index 0000000..0060d85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSettings.php @@ -0,0 +1,217 @@ +_propDict)) { + return $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the contributionToContentDiscoveryAsOrganizationDisabled + * Reflects the Office Delve organization level setting. When set to true, the organization doesn't have access to Office Delve. This setting is read-only and can only be changed by administrators in the SharePoint admin center. + * + * @param bool $val The contributionToContentDiscoveryAsOrganizationDisabled + * + * @return UserSettings + */ + public function setContributionToContentDiscoveryAsOrganizationDisabled($val) + { + $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the contributionToContentDiscoveryDisabled + * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. + * + * @return bool|null The contributionToContentDiscoveryDisabled + */ + public function getContributionToContentDiscoveryDisabled() + { + if (array_key_exists("contributionToContentDiscoveryDisabled", $this->_propDict)) { + return $this->_propDict["contributionToContentDiscoveryDisabled"]; + } else { + return null; + } + } + + /** + * Sets the contributionToContentDiscoveryDisabled + * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. + * + * @param bool $val The contributionToContentDiscoveryDisabled + * + * @return UserSettings + */ + public function setContributionToContentDiscoveryDisabled($val) + { + $this->_propDict["contributionToContentDiscoveryDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the itemInsights + * The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. + * + * @return UserInsightsSettings|null The itemInsights + */ + public function getItemInsights() + { + if (array_key_exists("itemInsights", $this->_propDict)) { + if (is_a($this->_propDict["itemInsights"], "\Beta\Microsoft\Graph\Model\UserInsightsSettings") || is_null($this->_propDict["itemInsights"])) { + return $this->_propDict["itemInsights"]; + } else { + $this->_propDict["itemInsights"] = new UserInsightsSettings($this->_propDict["itemInsights"]); + return $this->_propDict["itemInsights"]; + } + } + return null; + } + + /** + * Sets the itemInsights + * The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. + * + * @param UserInsightsSettings $val The itemInsights + * + * @return UserSettings + */ + public function setItemInsights($val) + { + $this->_propDict["itemInsights"] = $val; + return $this; + } + + /** + * Gets the contactMergeSuggestions + * The user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. + * + * @return ContactMergeSuggestions|null The contactMergeSuggestions + */ + public function getContactMergeSuggestions() + { + if (array_key_exists("contactMergeSuggestions", $this->_propDict)) { + if (is_a($this->_propDict["contactMergeSuggestions"], "\Beta\Microsoft\Graph\Model\ContactMergeSuggestions") || is_null($this->_propDict["contactMergeSuggestions"])) { + return $this->_propDict["contactMergeSuggestions"]; + } else { + $this->_propDict["contactMergeSuggestions"] = new ContactMergeSuggestions($this->_propDict["contactMergeSuggestions"]); + return $this->_propDict["contactMergeSuggestions"]; + } + } + return null; + } + + /** + * Sets the contactMergeSuggestions + * The user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. + * + * @param ContactMergeSuggestions $val The contactMergeSuggestions + * + * @return UserSettings + */ + public function setContactMergeSuggestions($val) + { + $this->_propDict["contactMergeSuggestions"] = $val; + return $this; + } + + /** + * Gets the regionalAndLanguageSettings + * The user's preferences for languages, regional locale and date/time formatting. + * + * @return RegionalAndLanguageSettings|null The regionalAndLanguageSettings + */ + public function getRegionalAndLanguageSettings() + { + if (array_key_exists("regionalAndLanguageSettings", $this->_propDict)) { + if (is_a($this->_propDict["regionalAndLanguageSettings"], "\Beta\Microsoft\Graph\Model\RegionalAndLanguageSettings") || is_null($this->_propDict["regionalAndLanguageSettings"])) { + return $this->_propDict["regionalAndLanguageSettings"]; + } else { + $this->_propDict["regionalAndLanguageSettings"] = new RegionalAndLanguageSettings($this->_propDict["regionalAndLanguageSettings"]); + return $this->_propDict["regionalAndLanguageSettings"]; + } + } + return null; + } + + /** + * Sets the regionalAndLanguageSettings + * The user's preferences for languages, regional locale and date/time formatting. + * + * @param RegionalAndLanguageSettings $val The regionalAndLanguageSettings + * + * @return UserSettings + */ + public function setRegionalAndLanguageSettings($val) + { + $this->_propDict["regionalAndLanguageSettings"] = $val; + return $this; + } + + /** + * Gets the shiftPreferences + * The shift preferences for the user. + * + * @return ShiftPreferences|null The shiftPreferences + */ + public function getShiftPreferences() + { + if (array_key_exists("shiftPreferences", $this->_propDict)) { + if (is_a($this->_propDict["shiftPreferences"], "\Beta\Microsoft\Graph\Model\ShiftPreferences") || is_null($this->_propDict["shiftPreferences"])) { + return $this->_propDict["shiftPreferences"]; + } else { + $this->_propDict["shiftPreferences"] = new ShiftPreferences($this->_propDict["shiftPreferences"]); + return $this->_propDict["shiftPreferences"]; + } + } + return null; + } + + /** + * Sets the shiftPreferences + * The shift preferences for the user. + * + * @param ShiftPreferences $val The shiftPreferences + * + * @return UserSettings + */ + public function setShiftPreferences($val) + { + $this->_propDict["shiftPreferences"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSignInInsight.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSignInInsight.php new file mode 100644 index 0000000..e93d366 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSignInInsight.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["lastSignInDateTime"], "\DateTime") || is_null($this->_propDict["lastSignInDateTime"])) { + return $this->_propDict["lastSignInDateTime"]; + } else { + $this->_propDict["lastSignInDateTime"] = new \DateTime($this->_propDict["lastSignInDateTime"]); + return $this->_propDict["lastSignInDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSignInDateTime + * Indicates when the user last signed in + * + * @param \DateTime $val The lastSignInDateTime + * + * @return UserSignInInsight + */ + public function setLastSignInDateTime($val) + { + $this->_propDict["lastSignInDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSignInRecommendationScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSignInRecommendationScope.php new file mode 100644 index 0000000..936d539 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSignInRecommendationScope.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["assignedTrainingsCount"]; + } else { + return null; + } + } + + /** + * Sets the assignedTrainingsCount + * Number of trainings assigned to a user in an attack simulation and training campaign. + * + * @param int $val The value of the assignedTrainingsCount + * + * @return UserSimulationDetails + */ + public function setAssignedTrainingsCount($val) + { + $this->_propDict["assignedTrainingsCount"] = $val; + return $this; + } + /** + * Gets the completedTrainingsCount + * Number of trainings completed by a user in an attack simulation and training campaign. + * + * @return int|null The completedTrainingsCount + */ + public function getCompletedTrainingsCount() + { + if (array_key_exists("completedTrainingsCount", $this->_propDict)) { + return $this->_propDict["completedTrainingsCount"]; + } else { + return null; + } + } + + /** + * Sets the completedTrainingsCount + * Number of trainings completed by a user in an attack simulation and training campaign. + * + * @param int $val The value of the completedTrainingsCount + * + * @return UserSimulationDetails + */ + public function setCompletedTrainingsCount($val) + { + $this->_propDict["completedTrainingsCount"] = $val; + return $this; + } + + /** + * Gets the compromisedDateTime + * Date and time of the compromising online action by a user in an attack simulation and training campaign. + * + * @return \DateTime|null The compromisedDateTime + */ + public function getCompromisedDateTime() + { + if (array_key_exists("compromisedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["compromisedDateTime"], "\DateTime") || is_null($this->_propDict["compromisedDateTime"])) { + return $this->_propDict["compromisedDateTime"]; + } else { + $this->_propDict["compromisedDateTime"] = new \DateTime($this->_propDict["compromisedDateTime"]); + return $this->_propDict["compromisedDateTime"]; + } + } + return null; + } + + /** + * Sets the compromisedDateTime + * Date and time of the compromising online action by a user in an attack simulation and training campaign. + * + * @param \DateTime $val The value to assign to the compromisedDateTime + * + * @return UserSimulationDetails The UserSimulationDetails + */ + public function setCompromisedDateTime($val) + { + $this->_propDict["compromisedDateTime"] = $val; + return $this; + } + /** + * Gets the inProgressTrainingsCount + * Number of trainings in progress by a user in an attack simulation and training campaign. + * + * @return int|null The inProgressTrainingsCount + */ + public function getInProgressTrainingsCount() + { + if (array_key_exists("inProgressTrainingsCount", $this->_propDict)) { + return $this->_propDict["inProgressTrainingsCount"]; + } else { + return null; + } + } + + /** + * Sets the inProgressTrainingsCount + * Number of trainings in progress by a user in an attack simulation and training campaign. + * + * @param int $val The value of the inProgressTrainingsCount + * + * @return UserSimulationDetails + */ + public function setInProgressTrainingsCount($val) + { + $this->_propDict["inProgressTrainingsCount"] = $val; + return $this; + } + /** + * Gets the isCompromised + * Flag representing if user was compromised in an attack simulation and training campaign. + * + * @return bool|null The isCompromised + */ + public function getIsCompromised() + { + if (array_key_exists("isCompromised", $this->_propDict)) { + return $this->_propDict["isCompromised"]; + } else { + return null; + } + } + + /** + * Sets the isCompromised + * Flag representing if user was compromised in an attack simulation and training campaign. + * + * @param bool $val The value of the isCompromised + * + * @return UserSimulationDetails + */ + public function setIsCompromised($val) + { + $this->_propDict["isCompromised"] = $val; + return $this; + } + + /** + * Gets the reportedPhishDateTime + * Date and time when user reported delivered payload as phish in the attack simulation and training campaign. + * + * @return \DateTime|null The reportedPhishDateTime + */ + public function getReportedPhishDateTime() + { + if (array_key_exists("reportedPhishDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reportedPhishDateTime"], "\DateTime") || is_null($this->_propDict["reportedPhishDateTime"])) { + return $this->_propDict["reportedPhishDateTime"]; + } else { + $this->_propDict["reportedPhishDateTime"] = new \DateTime($this->_propDict["reportedPhishDateTime"]); + return $this->_propDict["reportedPhishDateTime"]; + } + } + return null; + } + + /** + * Sets the reportedPhishDateTime + * Date and time when user reported delivered payload as phish in the attack simulation and training campaign. + * + * @param \DateTime $val The value to assign to the reportedPhishDateTime + * + * @return UserSimulationDetails The UserSimulationDetails + */ + public function setReportedPhishDateTime($val) + { + $this->_propDict["reportedPhishDateTime"] = $val; + return $this; + } + + /** + * Gets the simulationEvents + * List of simulation events of a user in the attack simulation and training campaign. + * + * @return UserSimulationEventInfo|null The simulationEvents + */ + public function getSimulationEvents() + { + if (array_key_exists("simulationEvents", $this->_propDict)) { + if (is_a($this->_propDict["simulationEvents"], "\Beta\Microsoft\Graph\Model\UserSimulationEventInfo") || is_null($this->_propDict["simulationEvents"])) { + return $this->_propDict["simulationEvents"]; + } else { + $this->_propDict["simulationEvents"] = new UserSimulationEventInfo($this->_propDict["simulationEvents"]); + return $this->_propDict["simulationEvents"]; + } + } + return null; + } + + /** + * Sets the simulationEvents + * List of simulation events of a user in the attack simulation and training campaign. + * + * @param UserSimulationEventInfo $val The value to assign to the simulationEvents + * + * @return UserSimulationDetails The UserSimulationDetails + */ + public function setSimulationEvents($val) + { + $this->_propDict["simulationEvents"] = $val; + return $this; + } + + /** + * Gets the simulationUser + * User in an attack simulation and training campaign. + * + * @return AttackSimulationUser|null The simulationUser + */ + public function getSimulationUser() + { + if (array_key_exists("simulationUser", $this->_propDict)) { + if (is_a($this->_propDict["simulationUser"], "\Beta\Microsoft\Graph\Model\AttackSimulationUser") || is_null($this->_propDict["simulationUser"])) { + return $this->_propDict["simulationUser"]; + } else { + $this->_propDict["simulationUser"] = new AttackSimulationUser($this->_propDict["simulationUser"]); + return $this->_propDict["simulationUser"]; + } + } + return null; + } + + /** + * Sets the simulationUser + * User in an attack simulation and training campaign. + * + * @param AttackSimulationUser $val The value to assign to the simulationUser + * + * @return UserSimulationDetails The UserSimulationDetails + */ + public function setSimulationUser($val) + { + $this->_propDict["simulationUser"] = $val; + return $this; + } + + /** + * Gets the trainingEvents + * List of training events of a user in the attack simulation and training campaign. + * + * @return UserTrainingEventInfo|null The trainingEvents + */ + public function getTrainingEvents() + { + if (array_key_exists("trainingEvents", $this->_propDict)) { + if (is_a($this->_propDict["trainingEvents"], "\Beta\Microsoft\Graph\Model\UserTrainingEventInfo") || is_null($this->_propDict["trainingEvents"])) { + return $this->_propDict["trainingEvents"]; + } else { + $this->_propDict["trainingEvents"] = new UserTrainingEventInfo($this->_propDict["trainingEvents"]); + return $this->_propDict["trainingEvents"]; + } + } + return null; + } + + /** + * Sets the trainingEvents + * List of training events of a user in the attack simulation and training campaign. + * + * @param UserTrainingEventInfo $val The value to assign to the trainingEvents + * + * @return UserSimulationDetails The UserSimulationDetails + */ + public function setTrainingEvents($val) + { + $this->_propDict["trainingEvents"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSimulationEventInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSimulationEventInfo.php new file mode 100644 index 0000000..83aa2b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSimulationEventInfo.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["browser"]; + } else { + return null; + } + } + + /** + * Sets the browser + * Browser information from where the simulation event was initiated by a user in an attack simulation and training campaign. + * + * @param string $val The value of the browser + * + * @return UserSimulationEventInfo + */ + public function setBrowser($val) + { + $this->_propDict["browser"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Date and time of the simulation event by a user in an attack simulation and training campaign. + * + * @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 + * Date and time of the simulation event by a user in an attack simulation and training campaign. + * + * @param \DateTime $val The value to assign to the eventDateTime + * + * @return UserSimulationEventInfo The UserSimulationEventInfo + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + /** + * Gets the eventName + * Name of the simulation event by a user in an attack simulation and training campaign. + * + * @return string|null The eventName + */ + public function getEventName() + { + if (array_key_exists("eventName", $this->_propDict)) { + return $this->_propDict["eventName"]; + } else { + return null; + } + } + + /** + * Sets the eventName + * Name of the simulation event by a user in an attack simulation and training campaign. + * + * @param string $val The value of the eventName + * + * @return UserSimulationEventInfo + */ + public function setEventName($val) + { + $this->_propDict["eventName"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IP address from where the simulation event was initiated by a user in an attack simulation and training campaign. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IP address from where the simulation event was initiated by a user in an attack simulation and training campaign. + * + * @param string $val The value of the ipAddress + * + * @return UserSimulationEventInfo + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the osPlatformDeviceDetails + * The operating system, platform, and device details from where the simulation event was initiated by a user in an attack simulation and training campaign. + * + * @return string|null The osPlatformDeviceDetails + */ + public function getOsPlatformDeviceDetails() + { + if (array_key_exists("osPlatformDeviceDetails", $this->_propDict)) { + return $this->_propDict["osPlatformDeviceDetails"]; + } else { + return null; + } + } + + /** + * Sets the osPlatformDeviceDetails + * The operating system, platform, and device details from where the simulation event was initiated by a user in an attack simulation and training campaign. + * + * @param string $val The value of the osPlatformDeviceDetails + * + * @return UserSimulationEventInfo + */ + public function setOsPlatformDeviceDetails($val) + { + $this->_propDict["osPlatformDeviceDetails"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTeamwork.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTeamwork.php new file mode 100644 index 0000000..6e50c73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTeamwork.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["associatedTeams"]; + } else { + return null; + } + } + + /** + * Sets the associatedTeams + * The list of associatedTeamInfo objects that a user is associated with. + * + * @param AssociatedTeamInfo[] $val The associatedTeams + * + * @return UserTeamwork + */ + public function setAssociatedTeams($val) + { + $this->_propDict["associatedTeams"] = $val; + return $this; + } + + + /** + * Gets the installedApps + * The apps installed in the personal scope of this user. + * + * @return array|null The installedApps + */ + public function getInstalledApps() + { + if (array_key_exists("installedApps", $this->_propDict)) { + return $this->_propDict["installedApps"]; + } else { + return null; + } + } + + /** + * Sets the installedApps + * The apps installed in the personal scope of this user. + * + * @param UserScopeTeamsAppInstallation[] $val The installedApps + * + * @return UserTeamwork + */ + public function setInstalledApps($val) + { + $this->_propDict["installedApps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingContentEventInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingContentEventInfo.php new file mode 100644 index 0000000..8c0a714 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingContentEventInfo.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["browser"]; + } else { + return null; + } + } + + /** + * Sets the browser + * Browser of the user from where the training event was generated. + * + * @param string $val The value of the browser + * + * @return UserTrainingContentEventInfo + */ + public function setBrowser($val) + { + $this->_propDict["browser"] = $val; + return $this; + } + + /** + * Gets the contentDateTime + * Date and time of the training content playback by the user. + * + * @return \DateTime|null The contentDateTime + */ + public function getContentDateTime() + { + if (array_key_exists("contentDateTime", $this->_propDict)) { + if (is_a($this->_propDict["contentDateTime"], "\DateTime") || is_null($this->_propDict["contentDateTime"])) { + return $this->_propDict["contentDateTime"]; + } else { + $this->_propDict["contentDateTime"] = new \DateTime($this->_propDict["contentDateTime"]); + return $this->_propDict["contentDateTime"]; + } + } + return null; + } + + /** + * Sets the contentDateTime + * Date and time of the training content playback by the user. + * + * @param \DateTime $val The value to assign to the contentDateTime + * + * @return UserTrainingContentEventInfo The UserTrainingContentEventInfo + */ + public function setContentDateTime($val) + { + $this->_propDict["contentDateTime"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IP address of the user for the training event. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IP address of the user for the training event. + * + * @param string $val The value of the ipAddress + * + * @return UserTrainingContentEventInfo + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the osPlatformDeviceDetails + * The operating system, platform, and device details of the user for the training event. + * + * @return string|null The osPlatformDeviceDetails + */ + public function getOsPlatformDeviceDetails() + { + if (array_key_exists("osPlatformDeviceDetails", $this->_propDict)) { + return $this->_propDict["osPlatformDeviceDetails"]; + } else { + return null; + } + } + + /** + * Sets the osPlatformDeviceDetails + * The operating system, platform, and device details of the user for the training event. + * + * @param string $val The value of the osPlatformDeviceDetails + * + * @return UserTrainingContentEventInfo + */ + public function setOsPlatformDeviceDetails($val) + { + $this->_propDict["osPlatformDeviceDetails"] = $val; + return $this; + } + /** + * Gets the potentialScoreImpact + * Potential improvement in security posture of the tenant after completion of the training by the user. + * + * @return float|null The potentialScoreImpact + */ + public function getPotentialScoreImpact() + { + if (array_key_exists("potentialScoreImpact", $this->_propDict)) { + return $this->_propDict["potentialScoreImpact"]; + } else { + return null; + } + } + + /** + * Sets the potentialScoreImpact + * Potential improvement in security posture of the tenant after completion of the training by the user. + * + * @param float $val The value of the potentialScoreImpact + * + * @return UserTrainingContentEventInfo + */ + public function setPotentialScoreImpact($val) + { + $this->_propDict["potentialScoreImpact"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingEventInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingEventInfo.php new file mode 100644 index 0000000..d3fec87 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingEventInfo.php @@ -0,0 +1,186 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the training. + * + * @param string $val The value of the displayName + * + * @return UserTrainingEventInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the latestTrainingStatus + * Latest status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. + * + * @return TrainingStatus|null The latestTrainingStatus + */ + public function getLatestTrainingStatus() + { + if (array_key_exists("latestTrainingStatus", $this->_propDict)) { + if (is_a($this->_propDict["latestTrainingStatus"], "\Beta\Microsoft\Graph\Model\TrainingStatus") || is_null($this->_propDict["latestTrainingStatus"])) { + return $this->_propDict["latestTrainingStatus"]; + } else { + $this->_propDict["latestTrainingStatus"] = new TrainingStatus($this->_propDict["latestTrainingStatus"]); + return $this->_propDict["latestTrainingStatus"]; + } + } + return null; + } + + /** + * Sets the latestTrainingStatus + * Latest status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. + * + * @param TrainingStatus $val The value to assign to the latestTrainingStatus + * + * @return UserTrainingEventInfo The UserTrainingEventInfo + */ + public function setLatestTrainingStatus($val) + { + $this->_propDict["latestTrainingStatus"] = $val; + return $this; + } + + /** + * Gets the trainingAssignedProperties + * Event details of the training when it was assigned to the user. + * + * @return UserTrainingContentEventInfo|null The trainingAssignedProperties + */ + public function getTrainingAssignedProperties() + { + if (array_key_exists("trainingAssignedProperties", $this->_propDict)) { + if (is_a($this->_propDict["trainingAssignedProperties"], "\Beta\Microsoft\Graph\Model\UserTrainingContentEventInfo") || is_null($this->_propDict["trainingAssignedProperties"])) { + return $this->_propDict["trainingAssignedProperties"]; + } else { + $this->_propDict["trainingAssignedProperties"] = new UserTrainingContentEventInfo($this->_propDict["trainingAssignedProperties"]); + return $this->_propDict["trainingAssignedProperties"]; + } + } + return null; + } + + /** + * Sets the trainingAssignedProperties + * Event details of the training when it was assigned to the user. + * + * @param UserTrainingContentEventInfo $val The value to assign to the trainingAssignedProperties + * + * @return UserTrainingEventInfo The UserTrainingEventInfo + */ + public function setTrainingAssignedProperties($val) + { + $this->_propDict["trainingAssignedProperties"] = $val; + return $this; + } + + /** + * Gets the trainingCompletedProperties + * Event details of the training when it was completed by the user. + * + * @return UserTrainingContentEventInfo|null The trainingCompletedProperties + */ + public function getTrainingCompletedProperties() + { + if (array_key_exists("trainingCompletedProperties", $this->_propDict)) { + if (is_a($this->_propDict["trainingCompletedProperties"], "\Beta\Microsoft\Graph\Model\UserTrainingContentEventInfo") || is_null($this->_propDict["trainingCompletedProperties"])) { + return $this->_propDict["trainingCompletedProperties"]; + } else { + $this->_propDict["trainingCompletedProperties"] = new UserTrainingContentEventInfo($this->_propDict["trainingCompletedProperties"]); + return $this->_propDict["trainingCompletedProperties"]; + } + } + return null; + } + + /** + * Sets the trainingCompletedProperties + * Event details of the training when it was completed by the user. + * + * @param UserTrainingContentEventInfo $val The value to assign to the trainingCompletedProperties + * + * @return UserTrainingEventInfo The UserTrainingEventInfo + */ + public function setTrainingCompletedProperties($val) + { + $this->_propDict["trainingCompletedProperties"] = $val; + return $this; + } + + /** + * Gets the trainingUpdatedProperties + * Event details of the training when it was updated/in-progress by the user. + * + * @return UserTrainingContentEventInfo|null The trainingUpdatedProperties + */ + public function getTrainingUpdatedProperties() + { + if (array_key_exists("trainingUpdatedProperties", $this->_propDict)) { + if (is_a($this->_propDict["trainingUpdatedProperties"], "\Beta\Microsoft\Graph\Model\UserTrainingContentEventInfo") || is_null($this->_propDict["trainingUpdatedProperties"])) { + return $this->_propDict["trainingUpdatedProperties"]; + } else { + $this->_propDict["trainingUpdatedProperties"] = new UserTrainingContentEventInfo($this->_propDict["trainingUpdatedProperties"]); + return $this->_propDict["trainingUpdatedProperties"]; + } + } + return null; + } + + /** + * Sets the trainingUpdatedProperties + * Event details of the training when it was updated/in-progress by the user. + * + * @param UserTrainingContentEventInfo $val The value to assign to the trainingUpdatedProperties + * + * @return UserTrainingEventInfo The UserTrainingEventInfo + */ + public function setTrainingUpdatedProperties($val) + { + $this->_propDict["trainingUpdatedProperties"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingStatusInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingStatusInfo.php new file mode 100644 index 0000000..7a43fcb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTrainingStatusInfo.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * Date and time of assignment of the training to the user. + * + * @param \DateTime $val The value to assign to the assignedDateTime + * + * @return UserTrainingStatusInfo The UserTrainingStatusInfo + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + + /** + * Gets the completionDateTime + * Date and time of completion of the training by the user. + * + * @return \DateTime|null The completionDateTime + */ + public function getCompletionDateTime() + { + if (array_key_exists("completionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * Date and time of completion of the training by the user. + * + * @param \DateTime $val The value to assign to the completionDateTime + * + * @return UserTrainingStatusInfo The UserTrainingStatusInfo + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name of the assigned training. + * + * @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 + * Display name of the assigned training. + * + * @param string $val The value of the displayName + * + * @return UserTrainingStatusInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the trainingStatus + * Status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. + * + * @return TrainingStatus|null The trainingStatus + */ + public function getTrainingStatus() + { + if (array_key_exists("trainingStatus", $this->_propDict)) { + if (is_a($this->_propDict["trainingStatus"], "\Beta\Microsoft\Graph\Model\TrainingStatus") || is_null($this->_propDict["trainingStatus"])) { + return $this->_propDict["trainingStatus"]; + } else { + $this->_propDict["trainingStatus"] = new TrainingStatus($this->_propDict["trainingStatus"]); + return $this->_propDict["trainingStatus"]; + } + } + return null; + } + + /** + * Sets the trainingStatus + * Status of the training assigned to the user. Possible values are: unknown, assigned, inProgress, completed, overdue, unknownFutureValue. + * + * @param TrainingStatus $val The value to assign to the trainingStatus + * + * @return UserTrainingStatusInfo The UserTrainingStatusInfo + */ + public function setTrainingStatus($val) + { + $this->_propDict["trainingStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsernameSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsernameSource.php new file mode 100644 index 0000000..8683fc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsernameSource.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The string containing the reason for why the rule passed or not. Read-only. Not nullable. + * + * @param string $val The value of the message + * + * @return ValidationResult + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the ruleName + * The string containing the name of the password validation rule that the action was validated against. Read-only. Not nullable. + * + * @return string|null The ruleName + */ + public function getRuleName() + { + if (array_key_exists("ruleName", $this->_propDict)) { + return $this->_propDict["ruleName"]; + } else { + return null; + } + } + + /** + * Sets the ruleName + * The string containing the name of the password validation rule that the action was validated against. Read-only. Not nullable. + * + * @param string $val The value of the ruleName + * + * @return ValidationResult + */ + public function setRuleName($val) + { + $this->_propDict["ruleName"] = $val; + return $this; + } + /** + * Gets the validationPassed + * Whether the password passed or failed the validation rule. Read-only. Not nullable. + * + * @return bool|null The validationPassed + */ + public function getValidationPassed() + { + if (array_key_exists("validationPassed", $this->_propDict)) { + return $this->_propDict["validationPassed"]; + } else { + return null; + } + } + + /** + * Sets the validationPassed + * Whether the password passed or failed the validation rule. Read-only. Not nullable. + * + * @param bool $val The value of the validationPassed + * + * @return ValidationResult + */ + public function setValidationPassed($val) + { + $this->_propDict["validationPassed"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Vendor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Vendor.php new file mode 100644 index 0000000..a6bf655 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Vendor.php @@ -0,0 +1,565 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PostalAddressType($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * + * @param PostalAddressType $val The address + * + * @return Vendor + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the balance + * + * @return Decimal|null The balance + */ + public function getBalance() + { + if (array_key_exists("balance", $this->_propDict)) { + if (is_a($this->_propDict["balance"], "\Beta\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["balance"])) { + return $this->_propDict["balance"]; + } else { + $this->_propDict["balance"] = new Decimal($this->_propDict["balance"]); + return $this->_propDict["balance"]; + } + } + return null; + } + + /** + * Sets the balance + * + * @param Decimal $val The balance + * + * @return Vendor + */ + public function setBalance($val) + { + $this->_propDict["balance"] = $val; + return $this; + } + + /** + * Gets the blocked + * + * @return string|null The blocked + */ + public function getBlocked() + { + if (array_key_exists("blocked", $this->_propDict)) { + return $this->_propDict["blocked"]; + } else { + return null; + } + } + + /** + * Sets the blocked + * + * @param string $val The blocked + * + * @return Vendor + */ + public function setBlocked($val) + { + $this->_propDict["blocked"] = $val; + return $this; + } + + /** + * Gets the currencyCode + * + * @return string|null The currencyCode + */ + public function getCurrencyCode() + { + if (array_key_exists("currencyCode", $this->_propDict)) { + return $this->_propDict["currencyCode"]; + } else { + return null; + } + } + + /** + * Sets the currencyCode + * + * @param string $val The currencyCode + * + * @return Vendor + */ + public function setCurrencyCode($val) + { + $this->_propDict["currencyCode"] = $val; + return $this; + } + + /** + * Gets the currencyId + * + * @return string|null The currencyId + */ + public function getCurrencyId() + { + if (array_key_exists("currencyId", $this->_propDict)) { + return $this->_propDict["currencyId"]; + } else { + return null; + } + } + + /** + * Sets the currencyId + * + * @param string $val The currencyId + * + * @return Vendor + */ + public function setCurrencyId($val) + { + $this->_propDict["currencyId"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Vendor + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return Vendor + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Vendor + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the number + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * + * @param string $val The number + * + * @return Vendor + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the paymentMethodId + * + * @return string|null The paymentMethodId + */ + public function getPaymentMethodId() + { + if (array_key_exists("paymentMethodId", $this->_propDict)) { + return $this->_propDict["paymentMethodId"]; + } else { + return null; + } + } + + /** + * Sets the paymentMethodId + * + * @param string $val The paymentMethodId + * + * @return Vendor + */ + public function setPaymentMethodId($val) + { + $this->_propDict["paymentMethodId"] = $val; + return $this; + } + + /** + * Gets the paymentTermsId + * + * @return string|null The paymentTermsId + */ + public function getPaymentTermsId() + { + if (array_key_exists("paymentTermsId", $this->_propDict)) { + return $this->_propDict["paymentTermsId"]; + } else { + return null; + } + } + + /** + * Sets the paymentTermsId + * + * @param string $val The paymentTermsId + * + * @return Vendor + */ + public function setPaymentTermsId($val) + { + $this->_propDict["paymentTermsId"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * + * @param string $val The phoneNumber + * + * @return Vendor + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the taxLiable + * + * @return bool|null The taxLiable + */ + public function getTaxLiable() + { + if (array_key_exists("taxLiable", $this->_propDict)) { + return $this->_propDict["taxLiable"]; + } else { + return null; + } + } + + /** + * Sets the taxLiable + * + * @param bool $val The taxLiable + * + * @return Vendor + */ + public function setTaxLiable($val) + { + $this->_propDict["taxLiable"] = boolval($val); + return $this; + } + + /** + * Gets the taxRegistrationNumber + * + * @return string|null The taxRegistrationNumber + */ + public function getTaxRegistrationNumber() + { + if (array_key_exists("taxRegistrationNumber", $this->_propDict)) { + return $this->_propDict["taxRegistrationNumber"]; + } else { + return null; + } + } + + /** + * Sets the taxRegistrationNumber + * + * @param string $val The taxRegistrationNumber + * + * @return Vendor + */ + public function setTaxRegistrationNumber($val) + { + $this->_propDict["taxRegistrationNumber"] = $val; + return $this; + } + + /** + * Gets the website + * + * @return string|null The website + */ + public function getWebsite() + { + if (array_key_exists("website", $this->_propDict)) { + return $this->_propDict["website"]; + } else { + return null; + } + } + + /** + * Sets the website + * + * @param string $val The website + * + * @return Vendor + */ + public function setWebsite($val) + { + $this->_propDict["website"] = $val; + return $this; + } + + /** + * Gets the currency + * + * @return Currency|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\Currency") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new Currency($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * + * @param Currency $val The currency + * + * @return Vendor + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the paymentMethod + * + * @return PaymentMethod|null The paymentMethod + */ + public function getPaymentMethod() + { + if (array_key_exists("paymentMethod", $this->_propDict)) { + if (is_a($this->_propDict["paymentMethod"], "\Beta\Microsoft\Graph\Model\PaymentMethod") || is_null($this->_propDict["paymentMethod"])) { + return $this->_propDict["paymentMethod"]; + } else { + $this->_propDict["paymentMethod"] = new PaymentMethod($this->_propDict["paymentMethod"]); + return $this->_propDict["paymentMethod"]; + } + } + return null; + } + + /** + * Sets the paymentMethod + * + * @param PaymentMethod $val The paymentMethod + * + * @return Vendor + */ + public function setPaymentMethod($val) + { + $this->_propDict["paymentMethod"] = $val; + return $this; + } + + /** + * Gets the paymentTerm + * + * @return PaymentTerm|null The paymentTerm + */ + public function getPaymentTerm() + { + if (array_key_exists("paymentTerm", $this->_propDict)) { + if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\PaymentTerm") || is_null($this->_propDict["paymentTerm"])) { + return $this->_propDict["paymentTerm"]; + } else { + $this->_propDict["paymentTerm"] = new PaymentTerm($this->_propDict["paymentTerm"]); + return $this->_propDict["paymentTerm"]; + } + } + return null; + } + + /** + * Sets the paymentTerm + * + * @param PaymentTerm $val The paymentTerm + * + * @return Vendor + */ + public function setPaymentTerm($val) + { + $this->_propDict["paymentTerm"] = $val; + return $this; + } + + + /** + * Gets the picture + * + * @return array|null The picture + */ + public function getPicture() + { + if (array_key_exists("picture", $this->_propDict)) { + return $this->_propDict["picture"]; + } else { + return null; + } + } + + /** + * Sets the picture + * + * @param Picture[] $val The picture + * + * @return Vendor + */ + public function setPicture($val) + { + $this->_propDict["picture"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerificationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerificationResult.php new file mode 100644 index 0000000..3b1edf4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerificationResult.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["signatureValid"]; + } else { + return null; + } + } + + /** + * Sets the signatureValid + * + * @param bool $val The value of the signatureValid + * + * @return VerificationResult + */ + public function setSignatureValid($val) + { + $this->_propDict["signatureValid"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedCustomDomainCertificatesMetadata.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedCustomDomainCertificatesMetadata.php new file mode 100644 index 0000000..2c1342b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedCustomDomainCertificatesMetadata.php @@ -0,0 +1,176 @@ +_propDict)) { + if (is_a($this->_propDict["expiryDate"], "\DateTime") || is_null($this->_propDict["expiryDate"])) { + return $this->_propDict["expiryDate"]; + } else { + $this->_propDict["expiryDate"] = new \DateTime($this->_propDict["expiryDate"]); + return $this->_propDict["expiryDate"]; + } + } + return null; + } + + /** + * Sets the expiryDate + * The expiry date of the custom domain certificate. 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 expiryDate + * + * @return VerifiedCustomDomainCertificatesMetadata The VerifiedCustomDomainCertificatesMetadata + */ + public function setExpiryDate($val) + { + $this->_propDict["expiryDate"] = $val; + return $this; + } + + /** + * Gets the issueDate + * The issue date of the custom domain. 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 issueDate + */ + public function getIssueDate() + { + if (array_key_exists("issueDate", $this->_propDict)) { + if (is_a($this->_propDict["issueDate"], "\DateTime") || is_null($this->_propDict["issueDate"])) { + return $this->_propDict["issueDate"]; + } else { + $this->_propDict["issueDate"] = new \DateTime($this->_propDict["issueDate"]); + return $this->_propDict["issueDate"]; + } + } + return null; + } + + /** + * Sets the issueDate + * The issue date of the custom domain. 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 issueDate + * + * @return VerifiedCustomDomainCertificatesMetadata The VerifiedCustomDomainCertificatesMetadata + */ + public function setIssueDate($val) + { + $this->_propDict["issueDate"] = $val; + return $this; + } + /** + * Gets the issuerName + * The issuer name of the custom domain certificate. + * + * @return string|null The issuerName + */ + public function getIssuerName() + { + if (array_key_exists("issuerName", $this->_propDict)) { + return $this->_propDict["issuerName"]; + } else { + return null; + } + } + + /** + * Sets the issuerName + * The issuer name of the custom domain certificate. + * + * @param string $val The value of the issuerName + * + * @return VerifiedCustomDomainCertificatesMetadata + */ + public function setIssuerName($val) + { + $this->_propDict["issuerName"] = $val; + return $this; + } + /** + * Gets the subjectName + * The subject name of the custom domain certificate. + * + * @return string|null The subjectName + */ + public function getSubjectName() + { + if (array_key_exists("subjectName", $this->_propDict)) { + return $this->_propDict["subjectName"]; + } else { + return null; + } + } + + /** + * Sets the subjectName + * The subject name of the custom domain certificate. + * + * @param string $val The value of the subjectName + * + * @return VerifiedCustomDomainCertificatesMetadata + */ + public function setSubjectName($val) + { + $this->_propDict["subjectName"] = $val; + return $this; + } + /** + * Gets the thumbprint + * The thumbprint associated with the custom domain certificate. + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * The thumbprint associated with the custom domain certificate. + * + * @param string $val The value of the thumbprint + * + * @return VerifiedCustomDomainCertificatesMetadata + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedDomain.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedDomain.php new file mode 100644 index 0000000..a3903b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedDomain.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["capabilities"]; + } else { + return null; + } + } + + /** + * Sets the capabilities + * For example, Email, OfficeCommunicationsOnline. + * + * @param string $val The value of the capabilities + * + * @return VerifiedDomain + */ + public function setCapabilities($val) + { + $this->_propDict["capabilities"] = $val; + return $this; + } + /** + * Gets the isDefault + * true if this is the default domain associated with the tenant; otherwise, false. + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * true if this is the default domain associated with the tenant; otherwise, false. + * + * @param bool $val The value of the isDefault + * + * @return VerifiedDomain + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the isInitial + * true if this is the initial domain associated with the tenant; otherwise, false. + * + * @return bool|null The isInitial + */ + public function getIsInitial() + { + if (array_key_exists("isInitial", $this->_propDict)) { + return $this->_propDict["isInitial"]; + } else { + return null; + } + } + + /** + * Sets the isInitial + * true if this is the initial domain associated with the tenant; otherwise, false. + * + * @param bool $val The value of the isInitial + * + * @return VerifiedDomain + */ + public function setIsInitial($val) + { + $this->_propDict["isInitial"] = $val; + return $this; + } + /** + * Gets the name + * The domain name; for example, contoso.onmicrosoft.com. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The domain name; for example, contoso.onmicrosoft.com. + * + * @param string $val The value of the name + * + * @return VerifiedDomain + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * For example, Managed. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * For example, Managed. + * + * @param string $val The value of the type + * + * @return VerifiedDomain + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedPublisher.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedPublisher.php new file mode 100644 index 0000000..3f94950 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedPublisher.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["addedDateTime"], "\DateTime") || is_null($this->_propDict["addedDateTime"])) { + return $this->_propDict["addedDateTime"]; + } else { + $this->_propDict["addedDateTime"] = new \DateTime($this->_propDict["addedDateTime"]); + return $this->_propDict["addedDateTime"]; + } + } + return null; + } + + /** + * Sets the addedDateTime + * The timestamp when the verified publisher was first added or most recently updated. + * + * @param \DateTime $val The value to assign to the addedDateTime + * + * @return VerifiedPublisher The VerifiedPublisher + */ + public function setAddedDateTime($val) + { + $this->_propDict["addedDateTime"] = $val; + return $this; + } + /** + * Gets the displayName + * The verified publisher name from the app publisher's Microsoft Partner Network (MPN) account. + * + * @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 + * The verified publisher name from the app publisher's Microsoft Partner Network (MPN) account. + * + * @param string $val The value of the displayName + * + * @return VerifiedPublisher + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the verifiedPublisherId + * The ID of the verified publisher from the app publisher's Partner Center account. + * + * @return string|null The verifiedPublisherId + */ + public function getVerifiedPublisherId() + { + if (array_key_exists("verifiedPublisherId", $this->_propDict)) { + return $this->_propDict["verifiedPublisherId"]; + } else { + return null; + } + } + + /** + * Sets the verifiedPublisherId + * The ID of the verified publisher from the app publisher's Partner Center account. + * + * @param string $val The value of the verifiedPublisherId + * + * @return VerifiedPublisher + */ + public function setVerifiedPublisherId($val) + { + $this->_propDict["verifiedPublisherId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VersionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VersionAction.php new file mode 100644 index 0000000..96afa5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VersionAction.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["newVersion"]; + } else { + return null; + } + } + + /** + * Sets the newVersion + * The name of the new version that was created by this action. + * + * @param string $val The value of the newVersion + * + * @return VersionAction + */ + public function setNewVersion($val) + { + $this->_propDict["newVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php new file mode 100644 index 0000000..686ee57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php @@ -0,0 +1,306 @@ +_propDict)) { + return $this->_propDict["audioBitsPerSample"]; + } else { + return null; + } + } + + /** + * Sets the audioBitsPerSample + * Number of audio bits per sample. + * + * @param int $val The value of the audioBitsPerSample + * + * @return Video + */ + public function setAudioBitsPerSample($val) + { + $this->_propDict["audioBitsPerSample"] = $val; + return $this; + } + /** + * Gets the audioChannels + * Number of audio channels. + * + * @return int|null The audioChannels + */ + public function getAudioChannels() + { + if (array_key_exists("audioChannels", $this->_propDict)) { + return $this->_propDict["audioChannels"]; + } else { + return null; + } + } + + /** + * Sets the audioChannels + * Number of audio channels. + * + * @param int $val The value of the audioChannels + * + * @return Video + */ + public function setAudioChannels($val) + { + $this->_propDict["audioChannels"] = $val; + return $this; + } + /** + * Gets the audioFormat + * Name of the audio format (AAC, MP3, etc.). + * + * @return string|null The audioFormat + */ + public function getAudioFormat() + { + if (array_key_exists("audioFormat", $this->_propDict)) { + return $this->_propDict["audioFormat"]; + } else { + return null; + } + } + + /** + * Sets the audioFormat + * Name of the audio format (AAC, MP3, etc.). + * + * @param string $val The value of the audioFormat + * + * @return Video + */ + public function setAudioFormat($val) + { + $this->_propDict["audioFormat"] = $val; + return $this; + } + /** + * Gets the audioSamplesPerSecond + * Number of audio samples per second. + * + * @return int|null The audioSamplesPerSecond + */ + public function getAudioSamplesPerSecond() + { + if (array_key_exists("audioSamplesPerSecond", $this->_propDict)) { + return $this->_propDict["audioSamplesPerSecond"]; + } else { + return null; + } + } + + /** + * Sets the audioSamplesPerSecond + * Number of audio samples per second. + * + * @param int $val The value of the audioSamplesPerSecond + * + * @return Video + */ + public function setAudioSamplesPerSecond($val) + { + $this->_propDict["audioSamplesPerSecond"] = $val; + return $this; + } + /** + * Gets the bitrate + * Bit rate of the video in bits per second. + * + * @return int|null The bitrate + */ + public function getBitrate() + { + if (array_key_exists("bitrate", $this->_propDict)) { + return $this->_propDict["bitrate"]; + } else { + return null; + } + } + + /** + * Sets the bitrate + * Bit rate of the video in bits per second. + * + * @param int $val The value of the bitrate + * + * @return Video + */ + public function setBitrate($val) + { + $this->_propDict["bitrate"] = $val; + return $this; + } + /** + * Gets the duration + * Duration of the file in milliseconds. + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * Duration of the file in milliseconds. + * + * @param int $val The value of the duration + * + * @return Video + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + /** + * Gets the fourCC + * 'Four character code' name of the video format. + * + * @return string|null The fourCC + */ + public function getFourCC() + { + if (array_key_exists("fourCC", $this->_propDict)) { + return $this->_propDict["fourCC"]; + } else { + return null; + } + } + + /** + * Sets the fourCC + * 'Four character code' name of the video format. + * + * @param string $val The value of the fourCC + * + * @return Video + */ + public function setFourCC($val) + { + $this->_propDict["fourCC"] = $val; + return $this; + } + /** + * Gets the frameRate + * Frame rate of the video. + * + * @return float|null The frameRate + */ + public function getFrameRate() + { + if (array_key_exists("frameRate", $this->_propDict)) { + return $this->_propDict["frameRate"]; + } else { + return null; + } + } + + /** + * Sets the frameRate + * Frame rate of the video. + * + * @param float $val The value of the frameRate + * + * @return Video + */ + public function setFrameRate($val) + { + $this->_propDict["frameRate"] = $val; + return $this; + } + /** + * Gets the height + * Height of the video, in pixels. + * + * @return int|null The height + */ + public function getHeight() + { + if (array_key_exists("height", $this->_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * Height of the video, in pixels. + * + * @param int $val The value of the height + * + * @return Video + */ + public function setHeight($val) + { + $this->_propDict["height"] = $val; + return $this; + } + /** + * Gets the width + * Width of the video, in pixels. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * Width of the video, in pixels. + * + * @param int $val The value of the width + * + * @return Video + */ + public function setWidth($val) + { + $this->_propDict["width"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php new file mode 100644 index 0000000..7382e4b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php @@ -0,0 +1,360 @@ +_propDict)) { + return $this->_propDict["auditEvents"]; + } else { + return null; + } + } + + /** + * Sets the auditEvents + * Cloud PC audit event. + * + * @param CloudPcAuditEvent[] $val The auditEvents + * + * @return VirtualEndpoint + */ + public function setAuditEvents($val) + { + $this->_propDict["auditEvents"] = $val; + return $this; + } + + + /** + * Gets the cloudPCs + * Cloud managed virtual desktops. + * + * @return array|null The cloudPCs + */ + public function getCloudPCs() + { + if (array_key_exists("cloudPCs", $this->_propDict)) { + return $this->_propDict["cloudPCs"]; + } else { + return null; + } + } + + /** + * Sets the cloudPCs + * Cloud managed virtual desktops. + * + * @param CloudPC[] $val The cloudPCs + * + * @return VirtualEndpoint + */ + public function setCloudPCs($val) + { + $this->_propDict["cloudPCs"] = $val; + return $this; + } + + + /** + * Gets the deviceImages + * The image resource on Cloud PC. + * + * @return array|null The deviceImages + */ + public function getDeviceImages() + { + if (array_key_exists("deviceImages", $this->_propDict)) { + return $this->_propDict["deviceImages"]; + } else { + return null; + } + } + + /** + * Sets the deviceImages + * The image resource on Cloud PC. + * + * @param CloudPcDeviceImage[] $val The deviceImages + * + * @return VirtualEndpoint + */ + public function setDeviceImages($val) + { + $this->_propDict["deviceImages"] = $val; + return $this; + } + + + /** + * Gets the galleryImages + * The gallery image resource on Cloud PC. + * + * @return array|null The galleryImages + */ + public function getGalleryImages() + { + if (array_key_exists("galleryImages", $this->_propDict)) { + return $this->_propDict["galleryImages"]; + } else { + return null; + } + } + + /** + * Sets the galleryImages + * The gallery image resource on Cloud PC. + * + * @param CloudPcGalleryImage[] $val The galleryImages + * + * @return VirtualEndpoint + */ + public function setGalleryImages($val) + { + $this->_propDict["galleryImages"] = $val; + return $this; + } + + + /** + * Gets the onPremisesConnections + * A defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. + * + * @return array|null The onPremisesConnections + */ + public function getOnPremisesConnections() + { + if (array_key_exists("onPremisesConnections", $this->_propDict)) { + return $this->_propDict["onPremisesConnections"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesConnections + * A defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. + * + * @param CloudPcOnPremisesConnection[] $val The onPremisesConnections + * + * @return VirtualEndpoint + */ + public function setOnPremisesConnections($val) + { + $this->_propDict["onPremisesConnections"] = $val; + return $this; + } + + /** + * Gets the organizationSettings + * The Cloud PC organization settings for a tenant. + * + * @return CloudPcOrganizationSettings|null The organizationSettings + */ + public function getOrganizationSettings() + { + if (array_key_exists("organizationSettings", $this->_propDict)) { + if (is_a($this->_propDict["organizationSettings"], "\Beta\Microsoft\Graph\Model\CloudPcOrganizationSettings") || is_null($this->_propDict["organizationSettings"])) { + return $this->_propDict["organizationSettings"]; + } else { + $this->_propDict["organizationSettings"] = new CloudPcOrganizationSettings($this->_propDict["organizationSettings"]); + return $this->_propDict["organizationSettings"]; + } + } + return null; + } + + /** + * Sets the organizationSettings + * The Cloud PC organization settings for a tenant. + * + * @param CloudPcOrganizationSettings $val The organizationSettings + * + * @return VirtualEndpoint + */ + public function setOrganizationSettings($val) + { + $this->_propDict["organizationSettings"] = $val; + return $this; + } + + + /** + * Gets the provisioningPolicies + * Cloud PC provisioning policy. + * + * @return array|null The provisioningPolicies + */ + public function getProvisioningPolicies() + { + if (array_key_exists("provisioningPolicies", $this->_propDict)) { + return $this->_propDict["provisioningPolicies"]; + } else { + return null; + } + } + + /** + * Sets the provisioningPolicies + * Cloud PC provisioning policy. + * + * @param CloudPcProvisioningPolicy[] $val The provisioningPolicies + * + * @return VirtualEndpoint + */ + public function setProvisioningPolicies($val) + { + $this->_propDict["provisioningPolicies"] = $val; + return $this; + } + + + /** + * Gets the servicePlans + * Cloud PC service plans. + * + * @return array|null The servicePlans + */ + public function getServicePlans() + { + if (array_key_exists("servicePlans", $this->_propDict)) { + return $this->_propDict["servicePlans"]; + } else { + return null; + } + } + + /** + * Sets the servicePlans + * Cloud PC service plans. + * + * @param CloudPcServicePlan[] $val The servicePlans + * + * @return VirtualEndpoint + */ + public function setServicePlans($val) + { + $this->_propDict["servicePlans"] = $val; + return $this; + } + + + /** + * Gets the snapshots + * Cloud PC snapshots. + * + * @return array|null The snapshots + */ + public function getSnapshots() + { + if (array_key_exists("snapshots", $this->_propDict)) { + return $this->_propDict["snapshots"]; + } else { + return null; + } + } + + /** + * Sets the snapshots + * Cloud PC snapshots. + * + * @param CloudPcSnapshot[] $val The snapshots + * + * @return VirtualEndpoint + */ + public function setSnapshots($val) + { + $this->_propDict["snapshots"] = $val; + return $this; + } + + + /** + * Gets the supportedRegions + * Cloud PC supported regions. + * + * @return array|null The supportedRegions + */ + public function getSupportedRegions() + { + if (array_key_exists("supportedRegions", $this->_propDict)) { + return $this->_propDict["supportedRegions"]; + } else { + return null; + } + } + + /** + * Sets the supportedRegions + * Cloud PC supported regions. + * + * @param CloudPcSupportedRegion[] $val The supportedRegions + * + * @return VirtualEndpoint + */ + public function setSupportedRegions($val) + { + $this->_propDict["supportedRegions"] = $val; + return $this; + } + + + /** + * Gets the userSettings + * Cloud PC user settings. + * + * @return array|null The userSettings + */ + public function getUserSettings() + { + if (array_key_exists("userSettings", $this->_propDict)) { + return $this->_propDict["userSettings"]; + } else { + return null; + } + } + + /** + * Sets the userSettings + * Cloud PC user settings. + * + * @param CloudPcUserSetting[] $val The userSettings + * + * @return VirtualEndpoint + */ + public function setUserSettings($val) + { + $this->_propDict["userSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisibilitySetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisibilitySetting.php new file mode 100644 index 0000000..88d7edc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisibilitySetting.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["attribution"], "\Beta\Microsoft\Graph\Model\ImageInfo") || is_null($this->_propDict["attribution"])) { + return $this->_propDict["attribution"]; + } else { + $this->_propDict["attribution"] = new ImageInfo($this->_propDict["attribution"]); + return $this->_propDict["attribution"]; + } + } + return null; + } + + /** + * Sets the attribution + * Optional. JSON object used to represent an icon which represents the application used to generate the activity + * + * @param ImageInfo $val The value to assign to the attribution + * + * @return VisualInfo The VisualInfo + */ + public function setAttribution($val) + { + $this->_propDict["attribution"] = $val; + return $this; + } + /** + * Gets the backgroundColor + * Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color + * + * @return string|null The backgroundColor + */ + public function getBackgroundColor() + { + if (array_key_exists("backgroundColor", $this->_propDict)) { + return $this->_propDict["backgroundColor"]; + } else { + return null; + } + } + + /** + * Sets the backgroundColor + * Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color + * + * @param string $val The value of the backgroundColor + * + * @return VisualInfo + */ + public function setBackgroundColor($val) + { + $this->_propDict["backgroundColor"] = $val; + return $this; + } + /** + * Gets the content + * Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI + * + * @return string|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI + * + * @param string $val The value of the content + * + * @return VisualInfo + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the description + * Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) + * + * @param string $val The value of the description + * + * @return VisualInfo + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayText + * Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation) + * + * @return string|null The displayText + */ + public function getDisplayText() + { + if (array_key_exists("displayText", $this->_propDict)) { + return $this->_propDict["displayText"]; + } else { + return null; + } + } + + /** + * Sets the displayText + * Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation) + * + * @param string $val The value of the displayText + * + * @return VisualInfo + */ + public function setDisplayText($val) + { + $this->_propDict["displayText"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisualProperties.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisualProperties.php new file mode 100644 index 0000000..c400aff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisualProperties.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["body"]; + } else { + return null; + } + } + + /** + * Sets the body + * The body of a visual user notification. Body is optional. + * + * @param string $val The value of the body + * + * @return VisualProperties + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + /** + * Gets the title + * The title of a visual user notification. This field is required for visual notification payloads. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of a visual user notification. This field is required for visual notification payloads. + * + * @param string $val The value of the title + * + * @return VisualProperties + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VolumeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VolumeType.php new file mode 100644 index 0000000..96c28e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VolumeType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @param VpnAuthenticationMethod $val The authenticationMethod + * + * @return VpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the connectionName + * Connection name displayed to the user. + * + * @return string|null The connectionName + */ + public function getConnectionName() + { + if (array_key_exists("connectionName", $this->_propDict)) { + return $this->_propDict["connectionName"]; + } else { + return null; + } + } + + /** + * Sets the connectionName + * Connection name displayed to the user. + * + * @param string $val The connectionName + * + * @return VpnConfiguration + */ + public function setConnectionName($val) + { + $this->_propDict["connectionName"] = $val; + return $this; + } + + /** + * Gets the realm + * Realm when connection type is set to Pulse Secure. + * + * @return string|null The realm + */ + public function getRealm() + { + if (array_key_exists("realm", $this->_propDict)) { + return $this->_propDict["realm"]; + } else { + return null; + } + } + + /** + * Sets the realm + * Realm when connection type is set to Pulse Secure. + * + * @param string $val The realm + * + * @return VpnConfiguration + */ + public function setRealm($val) + { + $this->_propDict["realm"] = $val; + return $this; + } + + /** + * Gets the role + * Role when connection type is set to Pulse Secure. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role when connection type is set to Pulse Secure. + * + * @param string $val The role + * + * @return VpnConfiguration + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + + /** + * Gets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @return array|null The servers + */ + public function getServers() + { + if (array_key_exists("servers", $this->_propDict)) { + return $this->_propDict["servers"]; + } else { + return null; + } + } + + /** + * Sets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @param VpnServer[] $val The servers + * + * @return VpnConfiguration + */ + public function setServers($val) + { + $this->_propDict["servers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnDeadPeerDetectionRate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnDeadPeerDetectionRate.php new file mode 100644 index 0000000..a615a27 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnDeadPeerDetectionRate.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["autoTrigger"]; + } else { + return null; + } + } + + /** + * Sets the autoTrigger + * Automatically connect to the VPN when the device connects to this domain: Default False. + * + * @param bool $val The value of the autoTrigger + * + * @return VpnDnsRule + */ + public function setAutoTrigger($val) + { + $this->_propDict["autoTrigger"] = $val; + return $this; + } + /** + * Gets the name + * Name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name. + * + * @param string $val The value of the name + * + * @return VpnDnsRule + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the persistent + * Keep this rule active even when the VPN is not connected: Default False + * + * @return bool|null The persistent + */ + public function getPersistent() + { + if (array_key_exists("persistent", $this->_propDict)) { + return $this->_propDict["persistent"]; + } else { + return null; + } + } + + /** + * Sets the persistent + * Keep this rule active even when the VPN is not connected: Default False + * + * @param bool $val The value of the persistent + * + * @return VpnDnsRule + */ + public function setPersistent($val) + { + $this->_propDict["persistent"] = $val; + return $this; + } + /** + * Gets the proxyServerUri + * Proxy Server Uri. + * + * @return string|null The proxyServerUri + */ + public function getProxyServerUri() + { + if (array_key_exists("proxyServerUri", $this->_propDict)) { + return $this->_propDict["proxyServerUri"]; + } else { + return null; + } + } + + /** + * Sets the proxyServerUri + * Proxy Server Uri. + * + * @param string $val The value of the proxyServerUri + * + * @return VpnDnsRule + */ + public function setProxyServerUri($val) + { + $this->_propDict["proxyServerUri"] = $val; + return $this; + } + /** + * Gets the servers + * Servers. + * + * @return string|null The servers + */ + public function getServers() + { + if (array_key_exists("servers", $this->_propDict)) { + return $this->_propDict["servers"]; + } else { + return null; + } + } + + /** + * Sets the servers + * Servers. + * + * @param string $val The value of the servers + * + * @return VpnDnsRule + */ + public function setServers($val) + { + $this->_propDict["servers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnEncryptionAlgorithmType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnEncryptionAlgorithmType.php new file mode 100644 index 0000000..ef131fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnEncryptionAlgorithmType.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\VpnOnDemandRuleConnectionAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new VpnOnDemandRuleConnectionAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * Action. Possible values are: connect, evaluateConnection, ignore, disconnect. + * + * @param VpnOnDemandRuleConnectionAction $val The value to assign to the action + * + * @return VpnOnDemandRule The VpnOnDemandRule + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + /** + * Gets the dnsSearchDomains + * DNS Search Domains. + * + * @return string|null The dnsSearchDomains + */ + public function getDnsSearchDomains() + { + if (array_key_exists("dnsSearchDomains", $this->_propDict)) { + return $this->_propDict["dnsSearchDomains"]; + } else { + return null; + } + } + + /** + * Sets the dnsSearchDomains + * DNS Search Domains. + * + * @param string $val The value of the dnsSearchDomains + * + * @return VpnOnDemandRule + */ + public function setDnsSearchDomains($val) + { + $this->_propDict["dnsSearchDomains"] = $val; + return $this; + } + + /** + * Gets the domainAction + * Domain Action (Only applicable when Action is evaluate connection). Possible values are: connectIfNeeded, neverConnect. + * + * @return VpnOnDemandRuleConnectionDomainAction|null The domainAction + */ + public function getDomainAction() + { + if (array_key_exists("domainAction", $this->_propDict)) { + if (is_a($this->_propDict["domainAction"], "\Beta\Microsoft\Graph\Model\VpnOnDemandRuleConnectionDomainAction") || is_null($this->_propDict["domainAction"])) { + return $this->_propDict["domainAction"]; + } else { + $this->_propDict["domainAction"] = new VpnOnDemandRuleConnectionDomainAction($this->_propDict["domainAction"]); + return $this->_propDict["domainAction"]; + } + } + return null; + } + + /** + * Sets the domainAction + * Domain Action (Only applicable when Action is evaluate connection). Possible values are: connectIfNeeded, neverConnect. + * + * @param VpnOnDemandRuleConnectionDomainAction $val The value to assign to the domainAction + * + * @return VpnOnDemandRule The VpnOnDemandRule + */ + public function setDomainAction($val) + { + $this->_propDict["domainAction"] = $val; + return $this; + } + /** + * Gets the domains + * Domains (Only applicable when Action is evaluate connection). + * + * @return string|null The domains + */ + public function getDomains() + { + if (array_key_exists("domains", $this->_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Domains (Only applicable when Action is evaluate connection). + * + * @param string $val The value of the domains + * + * @return VpnOnDemandRule + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + /** + * Gets the probeRequiredUrl + * Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed). + * + * @return string|null The probeRequiredUrl + */ + public function getProbeRequiredUrl() + { + if (array_key_exists("probeRequiredUrl", $this->_propDict)) { + return $this->_propDict["probeRequiredUrl"]; + } else { + return null; + } + } + + /** + * Sets the probeRequiredUrl + * Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed). + * + * @param string $val The value of the probeRequiredUrl + * + * @return VpnOnDemandRule + */ + public function setProbeRequiredUrl($val) + { + $this->_propDict["probeRequiredUrl"] = $val; + return $this; + } + /** + * Gets the probeUrl + * A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches. + * + * @return string|null The probeUrl + */ + public function getProbeUrl() + { + if (array_key_exists("probeUrl", $this->_propDict)) { + return $this->_propDict["probeUrl"]; + } else { + return null; + } + } + + /** + * Sets the probeUrl + * A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches. + * + * @param string $val The value of the probeUrl + * + * @return VpnOnDemandRule + */ + public function setProbeUrl($val) + { + $this->_propDict["probeUrl"] = $val; + return $this; + } + /** + * Gets the ssids + * Network Service Set Identifiers (SSIDs). + * + * @return string|null The ssids + */ + public function getSsids() + { + if (array_key_exists("ssids", $this->_propDict)) { + return $this->_propDict["ssids"]; + } else { + return null; + } + } + + /** + * Sets the ssids + * Network Service Set Identifiers (SSIDs). + * + * @param string $val The value of the ssids + * + * @return VpnOnDemandRule + */ + public function setSsids($val) + { + $this->_propDict["ssids"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnOnDemandRuleConnectionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnOnDemandRuleConnectionAction.php new file mode 100644 index 0000000..405627f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnOnDemandRuleConnectionAction.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * Address. + * + * @param string $val The value of the address + * + * @return VpnProxyServer + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the automaticConfigurationScriptUrl + * Proxy's automatic configuration script url. + * + * @return string|null The automaticConfigurationScriptUrl + */ + public function getAutomaticConfigurationScriptUrl() + { + if (array_key_exists("automaticConfigurationScriptUrl", $this->_propDict)) { + return $this->_propDict["automaticConfigurationScriptUrl"]; + } else { + return null; + } + } + + /** + * Sets the automaticConfigurationScriptUrl + * Proxy's automatic configuration script url. + * + * @param string $val The value of the automaticConfigurationScriptUrl + * + * @return VpnProxyServer + */ + public function setAutomaticConfigurationScriptUrl($val) + { + $this->_propDict["automaticConfigurationScriptUrl"] = $val; + return $this; + } + /** + * Gets the port + * Port. Valid values 0 to 65535 + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * Port. Valid values 0 to 65535 + * + * @param int $val The value of the port + * + * @return VpnProxyServer + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnRoute.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnRoute.php new file mode 100644 index 0000000..e5d1a7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnRoute.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["destinationPrefix"]; + } else { + return null; + } + } + + /** + * Sets the destinationPrefix + * Destination prefix (IPv4/v6 address). + * + * @param string $val The value of the destinationPrefix + * + * @return VpnRoute + */ + public function setDestinationPrefix($val) + { + $this->_propDict["destinationPrefix"] = $val; + return $this; + } + /** + * Gets the prefixSize + * Prefix size. (1-32). Valid values 1 to 32 + * + * @return int|null The prefixSize + */ + public function getPrefixSize() + { + if (array_key_exists("prefixSize", $this->_propDict)) { + return $this->_propDict["prefixSize"]; + } else { + return null; + } + } + + /** + * Sets the prefixSize + * Prefix size. (1-32). Valid values 1 to 32 + * + * @param int $val The value of the prefixSize + * + * @return VpnRoute + */ + public function setPrefixSize($val) + { + $this->_propDict["prefixSize"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServer.php new file mode 100644 index 0000000..4f3ae19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServer.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * Address (IP address, FQDN or URL) + * + * @param string $val The value of the address + * + * @return VpnServer + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the description + * Description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description. + * + * @param string $val The value of the description + * + * @return VpnServer + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the isDefaultServer + * Default server. + * + * @return bool|null The isDefaultServer + */ + public function getIsDefaultServer() + { + if (array_key_exists("isDefaultServer", $this->_propDict)) { + return $this->_propDict["isDefaultServer"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultServer + * Default server. + * + * @param bool $val The value of the isDefaultServer + * + * @return VpnServer + */ + public function setIsDefaultServer($val) + { + $this->_propDict["isDefaultServer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServerCertificateType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServerCertificateType.php new file mode 100644 index 0000000..dc1d904 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServerCertificateType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * App identifier, if this traffic rule is triggered by an app. + * + * @param string $val The value of the appId + * + * @return VpnTrafficRule + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the appType + * App type, if this traffic rule is triggered by an app. Possible values are: none, desktop, universal. + * + * @return VpnTrafficRuleAppType|null The appType + */ + public function getAppType() + { + if (array_key_exists("appType", $this->_propDict)) { + if (is_a($this->_propDict["appType"], "\Beta\Microsoft\Graph\Model\VpnTrafficRuleAppType") || is_null($this->_propDict["appType"])) { + return $this->_propDict["appType"]; + } else { + $this->_propDict["appType"] = new VpnTrafficRuleAppType($this->_propDict["appType"]); + return $this->_propDict["appType"]; + } + } + return null; + } + + /** + * Sets the appType + * App type, if this traffic rule is triggered by an app. Possible values are: none, desktop, universal. + * + * @param VpnTrafficRuleAppType $val The value to assign to the appType + * + * @return VpnTrafficRule The VpnTrafficRule + */ + public function setAppType($val) + { + $this->_propDict["appType"] = $val; + return $this; + } + /** + * Gets the claims + * Claims associated with this traffic rule. + * + * @return string|null The claims + */ + public function getClaims() + { + if (array_key_exists("claims", $this->_propDict)) { + return $this->_propDict["claims"]; + } else { + return null; + } + } + + /** + * Sets the claims + * Claims associated with this traffic rule. + * + * @param string $val The value of the claims + * + * @return VpnTrafficRule + */ + public function setClaims($val) + { + $this->_propDict["claims"] = $val; + return $this; + } + + /** + * Gets the localAddressRanges + * Local address range. This collection can contain a maximum of 500 elements. + * + * @return IPv4Range|null The localAddressRanges + */ + public function getLocalAddressRanges() + { + if (array_key_exists("localAddressRanges", $this->_propDict)) { + if (is_a($this->_propDict["localAddressRanges"], "\Beta\Microsoft\Graph\Model\IPv4Range") || is_null($this->_propDict["localAddressRanges"])) { + return $this->_propDict["localAddressRanges"]; + } else { + $this->_propDict["localAddressRanges"] = new IPv4Range($this->_propDict["localAddressRanges"]); + return $this->_propDict["localAddressRanges"]; + } + } + return null; + } + + /** + * Sets the localAddressRanges + * Local address range. This collection can contain a maximum of 500 elements. + * + * @param IPv4Range $val The value to assign to the localAddressRanges + * + * @return VpnTrafficRule The VpnTrafficRule + */ + public function setLocalAddressRanges($val) + { + $this->_propDict["localAddressRanges"] = $val; + return $this; + } + + /** + * Gets the localPortRanges + * Local port range can be set only when protocol is either TCP or UDP (6 or 17). This collection can contain a maximum of 500 elements. + * + * @return NumberRange|null The localPortRanges + */ + public function getLocalPortRanges() + { + if (array_key_exists("localPortRanges", $this->_propDict)) { + if (is_a($this->_propDict["localPortRanges"], "\Beta\Microsoft\Graph\Model\NumberRange") || is_null($this->_propDict["localPortRanges"])) { + return $this->_propDict["localPortRanges"]; + } else { + $this->_propDict["localPortRanges"] = new NumberRange($this->_propDict["localPortRanges"]); + return $this->_propDict["localPortRanges"]; + } + } + return null; + } + + /** + * Sets the localPortRanges + * Local port range can be set only when protocol is either TCP or UDP (6 or 17). This collection can contain a maximum of 500 elements. + * + * @param NumberRange $val The value to assign to the localPortRanges + * + * @return VpnTrafficRule The VpnTrafficRule + */ + public function setLocalPortRanges($val) + { + $this->_propDict["localPortRanges"] = $val; + return $this; + } + /** + * Gets the name + * Name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name. + * + * @param string $val The value of the name + * + * @return VpnTrafficRule + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the protocols + * Protocols (0-255). Valid values 0 to 255 + * + * @return int|null The protocols + */ + public function getProtocols() + { + if (array_key_exists("protocols", $this->_propDict)) { + return $this->_propDict["protocols"]; + } else { + return null; + } + } + + /** + * Sets the protocols + * Protocols (0-255). Valid values 0 to 255 + * + * @param int $val The value of the protocols + * + * @return VpnTrafficRule + */ + public function setProtocols($val) + { + $this->_propDict["protocols"] = $val; + return $this; + } + + /** + * Gets the remoteAddressRanges + * Remote address range. This collection can contain a maximum of 500 elements. + * + * @return IPv4Range|null The remoteAddressRanges + */ + public function getRemoteAddressRanges() + { + if (array_key_exists("remoteAddressRanges", $this->_propDict)) { + if (is_a($this->_propDict["remoteAddressRanges"], "\Beta\Microsoft\Graph\Model\IPv4Range") || is_null($this->_propDict["remoteAddressRanges"])) { + return $this->_propDict["remoteAddressRanges"]; + } else { + $this->_propDict["remoteAddressRanges"] = new IPv4Range($this->_propDict["remoteAddressRanges"]); + return $this->_propDict["remoteAddressRanges"]; + } + } + return null; + } + + /** + * Sets the remoteAddressRanges + * Remote address range. This collection can contain a maximum of 500 elements. + * + * @param IPv4Range $val The value to assign to the remoteAddressRanges + * + * @return VpnTrafficRule The VpnTrafficRule + */ + public function setRemoteAddressRanges($val) + { + $this->_propDict["remoteAddressRanges"] = $val; + return $this; + } + + /** + * Gets the remotePortRanges + * Remote port range can be set only when protocol is either TCP or UDP (6 or 17). This collection can contain a maximum of 500 elements. + * + * @return NumberRange|null The remotePortRanges + */ + public function getRemotePortRanges() + { + if (array_key_exists("remotePortRanges", $this->_propDict)) { + if (is_a($this->_propDict["remotePortRanges"], "\Beta\Microsoft\Graph\Model\NumberRange") || is_null($this->_propDict["remotePortRanges"])) { + return $this->_propDict["remotePortRanges"]; + } else { + $this->_propDict["remotePortRanges"] = new NumberRange($this->_propDict["remotePortRanges"]); + return $this->_propDict["remotePortRanges"]; + } + } + return null; + } + + /** + * Sets the remotePortRanges + * Remote port range can be set only when protocol is either TCP or UDP (6 or 17). This collection can contain a maximum of 500 elements. + * + * @param NumberRange $val The value to assign to the remotePortRanges + * + * @return VpnTrafficRule The VpnTrafficRule + */ + public function setRemotePortRanges($val) + { + $this->_propDict["remotePortRanges"] = $val; + return $this; + } + + /** + * Gets the routingPolicyType + * When app triggered, indicates whether to enable split tunneling along this route. Possible values are: none, splitTunnel, forceTunnel. + * + * @return VpnTrafficRuleRoutingPolicyType|null The routingPolicyType + */ + public function getRoutingPolicyType() + { + if (array_key_exists("routingPolicyType", $this->_propDict)) { + if (is_a($this->_propDict["routingPolicyType"], "\Beta\Microsoft\Graph\Model\VpnTrafficRuleRoutingPolicyType") || is_null($this->_propDict["routingPolicyType"])) { + return $this->_propDict["routingPolicyType"]; + } else { + $this->_propDict["routingPolicyType"] = new VpnTrafficRuleRoutingPolicyType($this->_propDict["routingPolicyType"]); + return $this->_propDict["routingPolicyType"]; + } + } + return null; + } + + /** + * Sets the routingPolicyType + * When app triggered, indicates whether to enable split tunneling along this route. Possible values are: none, splitTunnel, forceTunnel. + * + * @param VpnTrafficRuleRoutingPolicyType $val The value to assign to the routingPolicyType + * + * @return VpnTrafficRule The VpnTrafficRule + */ + public function setRoutingPolicyType($val) + { + $this->_propDict["routingPolicyType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnTrafficRuleAppType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnTrafficRuleAppType.php new file mode 100644 index 0000000..cfa164c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnTrafficRuleAppType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["supportDeviceLicensing"]; + } else { + return null; + } + } + + /** + * Sets the supportDeviceLicensing + * Whether the program supports the device licensing type. + * + * @param bool $val The value of the supportDeviceLicensing + * + * @return VppLicensingType + */ + public function setSupportDeviceLicensing($val) + { + $this->_propDict["supportDeviceLicensing"] = $val; + return $this; + } + /** + * Gets the supportsDeviceLicensing + * Whether the program supports the device licensing type. + * + * @return bool|null The supportsDeviceLicensing + */ + public function getSupportsDeviceLicensing() + { + if (array_key_exists("supportsDeviceLicensing", $this->_propDict)) { + return $this->_propDict["supportsDeviceLicensing"]; + } else { + return null; + } + } + + /** + * Sets the supportsDeviceLicensing + * Whether the program supports the device licensing type. + * + * @param bool $val The value of the supportsDeviceLicensing + * + * @return VppLicensingType + */ + public function setSupportsDeviceLicensing($val) + { + $this->_propDict["supportsDeviceLicensing"] = $val; + return $this; + } + /** + * Gets the supportsUserLicensing + * Whether the program supports the user licensing type. + * + * @return bool|null The supportsUserLicensing + */ + public function getSupportsUserLicensing() + { + if (array_key_exists("supportsUserLicensing", $this->_propDict)) { + return $this->_propDict["supportsUserLicensing"]; + } else { + return null; + } + } + + /** + * Sets the supportsUserLicensing + * Whether the program supports the user licensing type. + * + * @param bool $val The value of the supportsUserLicensing + * + * @return VppLicensingType + */ + public function setSupportsUserLicensing($val) + { + $this->_propDict["supportsUserLicensing"] = $val; + return $this; + } + /** + * Gets the supportUserLicensing + * Whether the program supports the user licensing type. + * + * @return bool|null The supportUserLicensing + */ + public function getSupportUserLicensing() + { + if (array_key_exists("supportUserLicensing", $this->_propDict)) { + return $this->_propDict["supportUserLicensing"]; + } else { + return null; + } + } + + /** + * Sets the supportUserLicensing + * Whether the program supports the user licensing type. + * + * @param bool $val The value of the supportUserLicensing + * + * @return VppLicensingType + */ + public function setSupportUserLicensing($val) + { + $this->_propDict["supportUserLicensing"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppToken.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppToken.php new file mode 100644 index 0000000..9ce5d69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppToken.php @@ -0,0 +1,545 @@ +_propDict)) { + return $this->_propDict["appleId"]; + } else { + return null; + } + } + + /** + * Sets the appleId + * The apple Id associated with the given Apple Volume Purchase Program Token. + * + * @param string $val The appleId + * + * @return VppToken + */ + public function setAppleId($val) + { + $this->_propDict["appleId"] = $val; + return $this; + } + + /** + * Gets the automaticallyUpdateApps + * Whether or not apps for the VPP token will be automatically updated. + * + * @return bool|null The automaticallyUpdateApps + */ + public function getAutomaticallyUpdateApps() + { + if (array_key_exists("automaticallyUpdateApps", $this->_propDict)) { + return $this->_propDict["automaticallyUpdateApps"]; + } else { + return null; + } + } + + /** + * Sets the automaticallyUpdateApps + * Whether or not apps for the VPP token will be automatically updated. + * + * @param bool $val The automaticallyUpdateApps + * + * @return VppToken + */ + public function setAutomaticallyUpdateApps($val) + { + $this->_propDict["automaticallyUpdateApps"] = boolval($val); + return $this; + } + + /** + * Gets the claimTokenManagementFromExternalMdm + * Admin consent to allow claiming token management from external MDM. + * + * @return bool|null The claimTokenManagementFromExternalMdm + */ + public function getClaimTokenManagementFromExternalMdm() + { + if (array_key_exists("claimTokenManagementFromExternalMdm", $this->_propDict)) { + return $this->_propDict["claimTokenManagementFromExternalMdm"]; + } else { + return null; + } + } + + /** + * Sets the claimTokenManagementFromExternalMdm + * Admin consent to allow claiming token management from external MDM. + * + * @param bool $val The claimTokenManagementFromExternalMdm + * + * @return VppToken + */ + public function setClaimTokenManagementFromExternalMdm($val) + { + $this->_propDict["claimTokenManagementFromExternalMdm"] = boolval($val); + return $this; + } + + /** + * Gets the countryOrRegion + * Whether or not apps for the VPP token will be automatically updated. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * Whether or not apps for the VPP token will be automatically updated. + * + * @param string $val The countryOrRegion + * + * @return VppToken + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + + /** + * Gets the dataSharingConsentGranted + * Consent granted for data sharing with the Apple Volume Purchase Program. + * + * @return bool|null The dataSharingConsentGranted + */ + public function getDataSharingConsentGranted() + { + if (array_key_exists("dataSharingConsentGranted", $this->_propDict)) { + return $this->_propDict["dataSharingConsentGranted"]; + } else { + return null; + } + } + + /** + * Sets the dataSharingConsentGranted + * Consent granted for data sharing with the Apple Volume Purchase Program. + * + * @param bool $val The dataSharingConsentGranted + * + * @return VppToken + */ + public function setDataSharingConsentGranted($val) + { + $this->_propDict["dataSharingConsentGranted"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * An admin specified token friendly name. + * + * @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 + * An admin specified token friendly name. + * + * @param string $val The displayName + * + * @return VppToken + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date time of the Apple Volume Purchase Program Token. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date time of the Apple Volume Purchase Program Token. + * + * @param \DateTime $val The expirationDateTime + * + * @return VppToken + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modification date time associated with the Apple Volume Purchase Program Token. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modification date time associated with the Apple Volume Purchase Program Token. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return VppToken + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return VppToken + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncStatus + * Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: none, inProgress, completed, failed. Possible values are: none, inProgress, completed, failed. + * + * @return VppTokenSyncStatus|null The lastSyncStatus + */ + public function getLastSyncStatus() + { + if (array_key_exists("lastSyncStatus", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncStatus"], "\Beta\Microsoft\Graph\Model\VppTokenSyncStatus") || is_null($this->_propDict["lastSyncStatus"])) { + return $this->_propDict["lastSyncStatus"]; + } else { + $this->_propDict["lastSyncStatus"] = new VppTokenSyncStatus($this->_propDict["lastSyncStatus"]); + return $this->_propDict["lastSyncStatus"]; + } + } + return null; + } + + /** + * Sets the lastSyncStatus + * Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: none, inProgress, completed, failed. Possible values are: none, inProgress, completed, failed. + * + * @param VppTokenSyncStatus $val The lastSyncStatus + * + * @return VppToken + */ + public function setLastSyncStatus($val) + { + $this->_propDict["lastSyncStatus"] = $val; + return $this; + } + + /** + * Gets the locationName + * Token location returned from Apple VPP. + * + * @return string|null The locationName + */ + public function getLocationName() + { + if (array_key_exists("locationName", $this->_propDict)) { + return $this->_propDict["locationName"]; + } else { + return null; + } + } + + /** + * Sets the locationName + * Token location returned from Apple VPP. + * + * @param string $val The locationName + * + * @return VppToken + */ + public function setLocationName($val) + { + $this->_propDict["locationName"] = $val; + return $this; + } + + /** + * Gets the organizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @return string|null The organizationName + */ + public function getOrganizationName() + { + if (array_key_exists("organizationName", $this->_propDict)) { + return $this->_propDict["organizationName"]; + } else { + return null; + } + } + + /** + * Sets the organizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @param string $val The organizationName + * + * @return VppToken + */ + public function setOrganizationName($val) + { + $this->_propDict["organizationName"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * Role Scope Tags IDs assigned to this entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * Role Scope Tags IDs assigned to this entity. + * + * @param string $val The roleScopeTagIds + * + * @return VppToken + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the state + * Current state of the Apple Volume Purchase Program Token. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM, duplicateLocationId. + * + * @return VppTokenState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\VppTokenState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new VppTokenState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Current state of the Apple Volume Purchase Program Token. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM, duplicateLocationId. + * + * @param VppTokenState $val The state + * + * @return VppToken + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the token + * The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. + * + * @return string|null The token + */ + public function getToken() + { + if (array_key_exists("token", $this->_propDict)) { + return $this->_propDict["token"]; + } else { + return null; + } + } + + /** + * Sets the token + * The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. + * + * @param string $val The token + * + * @return VppToken + */ + public function setToken($val) + { + $this->_propDict["token"] = $val; + return $this; + } + + + /** + * Gets the tokenActionResults + * The collection of statuses of the actions performed on the Apple Volume Purchase Program Token. + * + * @return array|null The tokenActionResults + */ + public function getTokenActionResults() + { + if (array_key_exists("tokenActionResults", $this->_propDict)) { + return $this->_propDict["tokenActionResults"]; + } else { + return null; + } + } + + /** + * Sets the tokenActionResults + * The collection of statuses of the actions performed on the Apple Volume Purchase Program Token. + * + * @param VppTokenActionResult[] $val The tokenActionResults + * + * @return VppToken + */ + public function setTokenActionResults($val) + { + $this->_propDict["tokenActionResults"] = $val; + return $this; + } + + /** + * Gets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @return VppTokenAccountType|null The vppTokenAccountType + */ + public function getVppTokenAccountType() + { + if (array_key_exists("vppTokenAccountType", $this->_propDict)) { + if (is_a($this->_propDict["vppTokenAccountType"], "\Beta\Microsoft\Graph\Model\VppTokenAccountType") || is_null($this->_propDict["vppTokenAccountType"])) { + return $this->_propDict["vppTokenAccountType"]; + } else { + $this->_propDict["vppTokenAccountType"] = new VppTokenAccountType($this->_propDict["vppTokenAccountType"]); + return $this->_propDict["vppTokenAccountType"]; + } + } + return null; + } + + /** + * Sets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @param VppTokenAccountType $val The vppTokenAccountType + * + * @return VppToken + */ + public function setVppTokenAccountType($val) + { + $this->_propDict["vppTokenAccountType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenAccountType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenAccountType.php new file mode 100644 index 0000000..b4e9225 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenAccountType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Action name + * + * @param string $val The value of the actionName + * + * @return VppTokenActionResult + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The value to assign to the actionState + * + * @return VppTokenActionResult The VppTokenActionResult + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Time the action state was last updated + * + * @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 + * Time the action state was last updated + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return VppTokenActionResult The VppTokenActionResult + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time the action was initiated + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time the action was initiated + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return VppTokenActionResult The VppTokenActionResult + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenLicenseSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenLicenseSummary.php new file mode 100644 index 0000000..f62b321 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenLicenseSummary.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["appleId"]; + } else { + return null; + } + } + + /** + * Sets the appleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @param string $val The value of the appleId + * + * @return VppTokenLicenseSummary + */ + public function setAppleId($val) + { + $this->_propDict["appleId"] = $val; + return $this; + } + /** + * Gets the availableLicenseCount + * The number of VPP licenses available. + * + * @return int|null The availableLicenseCount + */ + public function getAvailableLicenseCount() + { + if (array_key_exists("availableLicenseCount", $this->_propDict)) { + return $this->_propDict["availableLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the availableLicenseCount + * The number of VPP licenses available. + * + * @param int $val The value of the availableLicenseCount + * + * @return VppTokenLicenseSummary + */ + public function setAvailableLicenseCount($val) + { + $this->_propDict["availableLicenseCount"] = $val; + return $this; + } + /** + * Gets the organizationName + * The organization associated with the Apple Volume Purchase Program Token. + * + * @return string|null The organizationName + */ + public function getOrganizationName() + { + if (array_key_exists("organizationName", $this->_propDict)) { + return $this->_propDict["organizationName"]; + } else { + return null; + } + } + + /** + * Sets the organizationName + * The organization associated with the Apple Volume Purchase Program Token. + * + * @param string $val The value of the organizationName + * + * @return VppTokenLicenseSummary + */ + public function setOrganizationName($val) + { + $this->_propDict["organizationName"] = $val; + return $this; + } + /** + * Gets the usedLicenseCount + * The number of VPP licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of VPP licenses in use. + * + * @param int $val The value of the usedLicenseCount + * + * @return VppTokenLicenseSummary + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = $val; + return $this; + } + /** + * Gets the vppTokenId + * Identifier of the VPP token. + * + * @return string|null The vppTokenId + */ + public function getVppTokenId() + { + if (array_key_exists("vppTokenId", $this->_propDict)) { + return $this->_propDict["vppTokenId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenId + * Identifier of the VPP token. + * + * @param string $val The value of the vppTokenId + * + * @return VppTokenLicenseSummary + */ + public function setVppTokenId($val) + { + $this->_propDict["vppTokenId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenRevokeLicensesActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenRevokeLicensesActionResult.php new file mode 100644 index 0000000..ef55f52 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenRevokeLicensesActionResult.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["actionFailureReason"], "\Beta\Microsoft\Graph\Model\VppTokenActionFailureReason") || is_null($this->_propDict["actionFailureReason"])) { + return $this->_propDict["actionFailureReason"]; + } else { + $this->_propDict["actionFailureReason"] = new VppTokenActionFailureReason($this->_propDict["actionFailureReason"]); + return $this->_propDict["actionFailureReason"]; + } + } + return null; + } + + /** + * Sets the actionFailureReason + * The reason for the revoke licenses action failure. Possible values are: none, appleFailure, internalError, expiredVppToken, expiredApplePushNotificationCertificate. + * + * @param VppTokenActionFailureReason $val The value to assign to the actionFailureReason + * + * @return VppTokenRevokeLicensesActionResult The VppTokenRevokeLicensesActionResult + */ + public function setActionFailureReason($val) + { + $this->_propDict["actionFailureReason"] = $val; + return $this; + } + /** + * Gets the failedLicensesCount + * A count of the number of licenses that failed to revoke. + * + * @return int|null The failedLicensesCount + */ + public function getFailedLicensesCount() + { + if (array_key_exists("failedLicensesCount", $this->_propDict)) { + return $this->_propDict["failedLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the failedLicensesCount + * A count of the number of licenses that failed to revoke. + * + * @param int $val The value of the failedLicensesCount + * + * @return VppTokenRevokeLicensesActionResult + */ + public function setFailedLicensesCount($val) + { + $this->_propDict["failedLicensesCount"] = $val; + return $this; + } + /** + * Gets the totalLicensesCount + * A count of the number of licenses that were attempted to revoke. + * + * @return int|null The totalLicensesCount + */ + public function getTotalLicensesCount() + { + if (array_key_exists("totalLicensesCount", $this->_propDict)) { + return $this->_propDict["totalLicensesCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicensesCount + * A count of the number of licenses that were attempted to revoke. + * + * @param int $val The value of the totalLicensesCount + * + * @return VppTokenRevokeLicensesActionResult + */ + public function setTotalLicensesCount($val) + { + $this->_propDict["totalLicensesCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenState.php new file mode 100644 index 0000000..1315c8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["cve"]; + } else { + return null; + } + } + + /** + * Sets the cve + * Common Vulnerabilities and Exposures (CVE) for the vulnerability. + * + * @param string $val The value of the cve + * + * @return VulnerabilityState + */ + public function setCve($val) + { + $this->_propDict["cve"] = $val; + return $this; + } + /** + * Gets the severity + * Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability. + * + * @return string|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + return $this->_propDict["severity"]; + } else { + return null; + } + } + + /** + * Sets the severity + * Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability. + * + * @param string $val The value of the severity + * + * @return VulnerabilityState + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + /** + * Gets the wasRunning + * Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk. + * + * @return bool|null The wasRunning + */ + public function getWasRunning() + { + if (array_key_exists("wasRunning", $this->_propDict)) { + return $this->_propDict["wasRunning"]; + } else { + return null; + } + } + + /** + * Sets the wasRunning + * Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk. + * + * @param bool $val The value of the wasRunning + * + * @return VulnerabilityState + */ + public function setWasRunning($val) + { + $this->_propDict["wasRunning"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VulnerableManagedDevice.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VulnerableManagedDevice.php new file mode 100644 index 0000000..461aacc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VulnerableManagedDevice.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The device name. + * + * @param string $val The displayName + * + * @return VulnerableManagedDevice + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The last sync date. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The last sync date. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return VulnerableManagedDevice + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * The Intune managed device ID. + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * The Intune managed device ID. + * + * @param string $val The managedDeviceId + * + * @return VulnerableManagedDevice + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WarrantyOffer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WarrantyOffer.php new file mode 100644 index 0000000..266d07f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WarrantyOffer.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Warranty offer description + * + * @param string $val The value of the description + * + * @return WarrantyOffer + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Warranty offer end date + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Warranty offer end date + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return WarrantyOffer The WarrantyOffer + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Warranty offer start date + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Warranty offer start date + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return WarrantyOffer The WarrantyOffer + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * Warranty offer type. Possible values are: unknown, manufacturer, contractual, unknownFutureValue. + * + * @return WarrantyType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\WarrantyType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new WarrantyType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Warranty offer type. Possible values are: unknown, manufacturer, contractual, unknownFutureValue. + * + * @param WarrantyType $val The value to assign to the type + * + * @return WarrantyOffer The WarrantyOffer + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WarrantyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WarrantyType.php new file mode 100644 index 0000000..546fef0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WarrantyType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Contains the description the user has provided for the account on the service being referenced. + * + * @param string $val The description + * + * @return WebAccount + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the service + * Contains basic detail about the service that is being associated. + * + * @return ServiceInformation|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\ServiceInformation") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new ServiceInformation($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * Contains basic detail about the service that is being associated. + * + * @param ServiceInformation $val The service + * + * @return WebAccount + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the statusMessage + * Contains a status message from the cloud service if provided or synchronized. + * + * @return string|null The statusMessage + */ + public function getStatusMessage() + { + if (array_key_exists("statusMessage", $this->_propDict)) { + return $this->_propDict["statusMessage"]; + } else { + return null; + } + } + + /** + * Sets the statusMessage + * Contains a status message from the cloud service if provided or synchronized. + * + * @param string $val The statusMessage + * + * @return WebAccount + */ + public function setStatusMessage($val) + { + $this->_propDict["statusMessage"] = $val; + return $this; + } + + /** + * Gets the thumbnailUrl + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * + * @param string $val The thumbnailUrl + * + * @return WebAccount + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } + + /** + * Gets the userId + * The user name displayed for the webaccount. + * + * @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 + * The user name displayed for the webaccount. + * + * @param string $val The userId + * + * @return WebAccount + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Contains a link to the user's profile on the cloud service if one exists. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Contains a link to the user's profile on the cloud service if one exists. + * + * @param string $val The webUrl + * + * @return WebAccount + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApp.php new file mode 100644 index 0000000..cb67cf7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApp.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["appUrl"]; + } else { + return null; + } + } + + /** + * Sets the appUrl + * The web app URL. This property cannot be PATCHed. + * + * @param string $val The appUrl + * + * @return WebApp + */ + public function setAppUrl($val) + { + $this->_propDict["appUrl"] = $val; + return $this; + } + + /** + * Gets the useManagedBrowser + * Whether or not to use managed browser. This property is only applicable for Android and IOS. + * + * @return bool|null The useManagedBrowser + */ + public function getUseManagedBrowser() + { + if (array_key_exists("useManagedBrowser", $this->_propDict)) { + return $this->_propDict["useManagedBrowser"]; + } else { + return null; + } + } + + /** + * Sets the useManagedBrowser + * Whether or not to use managed browser. This property is only applicable for Android and IOS. + * + * @param bool $val The useManagedBrowser + * + * @return WebApp + */ + public function setUseManagedBrowser($val) + { + $this->_propDict["useManagedBrowser"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApplication.php new file mode 100644 index 0000000..0f4ca7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApplication.php @@ -0,0 +1,202 @@ +_propDict)) { + return $this->_propDict["homePageUrl"]; + } else { + return null; + } + } + + /** + * Sets the homePageUrl + * Home page or landing page of the application. + * + * @param string $val The value of the homePageUrl + * + * @return WebApplication + */ + public function setHomePageUrl($val) + { + $this->_propDict["homePageUrl"] = $val; + return $this; + } + + /** + * Gets the implicitGrantSettings + * Specifies whether this web application can request tokens using the OAuth 2.0 implicit flow. + * + * @return ImplicitGrantSettings|null The implicitGrantSettings + */ + public function getImplicitGrantSettings() + { + if (array_key_exists("implicitGrantSettings", $this->_propDict)) { + if (is_a($this->_propDict["implicitGrantSettings"], "\Beta\Microsoft\Graph\Model\ImplicitGrantSettings") || is_null($this->_propDict["implicitGrantSettings"])) { + return $this->_propDict["implicitGrantSettings"]; + } else { + $this->_propDict["implicitGrantSettings"] = new ImplicitGrantSettings($this->_propDict["implicitGrantSettings"]); + return $this->_propDict["implicitGrantSettings"]; + } + } + return null; + } + + /** + * Sets the implicitGrantSettings + * Specifies whether this web application can request tokens using the OAuth 2.0 implicit flow. + * + * @param ImplicitGrantSettings $val The value to assign to the implicitGrantSettings + * + * @return WebApplication The WebApplication + */ + public function setImplicitGrantSettings($val) + { + $this->_propDict["implicitGrantSettings"] = $val; + return $this; + } + /** + * Gets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. + * + * @return string|null The logoutUrl + */ + public function getLogoutUrl() + { + if (array_key_exists("logoutUrl", $this->_propDict)) { + return $this->_propDict["logoutUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. + * + * @param string $val The value of the logoutUrl + * + * @return WebApplication + */ + public function setLogoutUrl($val) + { + $this->_propDict["logoutUrl"] = $val; + return $this; + } + /** + * Gets the oauth2AllowImplicitFlow + * + * @return bool|null The oauth2AllowImplicitFlow + */ + public function getOauth2AllowImplicitFlow() + { + if (array_key_exists("oauth2AllowImplicitFlow", $this->_propDict)) { + return $this->_propDict["oauth2AllowImplicitFlow"]; + } else { + return null; + } + } + + /** + * Sets the oauth2AllowImplicitFlow + * + * @param bool $val The value of the oauth2AllowImplicitFlow + * + * @return WebApplication + */ + public function setOauth2AllowImplicitFlow($val) + { + $this->_propDict["oauth2AllowImplicitFlow"] = $val; + return $this; + } + /** + * Gets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @return string|null The redirectUris + */ + public function getRedirectUris() + { + if (array_key_exists("redirectUris", $this->_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @param string $val The value of the redirectUris + * + * @return WebApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } + + /** + * Gets the redirectUriSettings + * Specifies the index of the URLs where user tokens are sent for sign-in. This is only valid for applications using SAML. + * + * @return RedirectUriSettings|null The redirectUriSettings + */ + public function getRedirectUriSettings() + { + if (array_key_exists("redirectUriSettings", $this->_propDict)) { + if (is_a($this->_propDict["redirectUriSettings"], "\Beta\Microsoft\Graph\Model\RedirectUriSettings") || is_null($this->_propDict["redirectUriSettings"])) { + return $this->_propDict["redirectUriSettings"]; + } else { + $this->_propDict["redirectUriSettings"] = new RedirectUriSettings($this->_propDict["redirectUriSettings"]); + return $this->_propDict["redirectUriSettings"]; + } + } + return null; + } + + /** + * Sets the redirectUriSettings + * Specifies the index of the URLs where user tokens are sent for sign-in. This is only valid for applications using SAML. + * + * @param RedirectUriSettings $val The value to assign to the redirectUriSettings + * + * @return WebApplication The WebApplication + */ + public function setRedirectUriSettings($val) + { + $this->_propDict["redirectUriSettings"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebBrowserCookieSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebBrowserCookieSettings.php new file mode 100644 index 0000000..745ba01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebBrowserCookieSettings.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\SitePageData") || is_null($this->_propDict["data"])) { + return $this->_propDict["data"]; + } else { + $this->_propDict["data"] = new SitePageData($this->_propDict["data"]); + return $this->_propDict["data"]; + } + } + return null; + } + + /** + * Sets the data + * The required properties for the webPart (varies by webPart) + * + * @param SitePageData $val The value to assign to the data + * + * @return WebPart The WebPart + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } + /** + * Gets the type + * A unique identifier specifying the webPart type. Read-only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * A unique identifier specifying the webPart type. Read-only. + * + * @param string $val The value of the type + * + * @return WebPart + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Website.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Website.php new file mode 100644 index 0000000..cde4452 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Website.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The URL of the website. + * + * @param string $val The value of the address + * + * @return Website + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the web site. + * + * @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 + * The display name of the web site. + * + * @param string $val The value of the displayName + * + * @return Website + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the type + * Possible values are: other, home, work, blog, profile. + * + * @return WebsiteType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\WebsiteType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new WebsiteType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Possible values are: other, home, work, blog, profile. + * + * @param WebsiteType $val The value to assign to the type + * + * @return Website The Website + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebsiteType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebsiteType.php new file mode 100644 index 0000000..d7dfa66 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebsiteType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["wellKnownListName"], "\Beta\Microsoft\Graph\Model\WellKnownListName_v2") || is_null($this->_propDict["wellKnownListName"])) { + return $this->_propDict["wellKnownListName"]; + } else { + $this->_propDict["wellKnownListName"] = new WellKnownListName_v2($this->_propDict["wellKnownListName"]); + return $this->_propDict["wellKnownListName"]; + } + } + return null; + } + + /** + * Sets the wellKnownListName + * Property indicating the list name if the given list is a well-known list.. The possible values are: none, defaultList, flaggedEmails, unknownFutureValue. + * + * @param WellKnownListName_v2 $val The wellKnownListName + * + * @return WellKnownTaskList + */ + public function setWellKnownListName($val) + { + $this->_propDict["wellKnownListName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WellknownListName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WellknownListName.php new file mode 100644 index 0000000..374984c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WellknownListName.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitectures"])) { + return $this->_propDict["applicableArchitectures"]; + } else { + $this->_propDict["applicableArchitectures"] = new WindowsArchitecture($this->_propDict["applicableArchitectures"]); + return $this->_propDict["applicableArchitectures"]; + } + } + return null; + } + + /** + * Sets the applicableArchitectures + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The applicableArchitectures + * + * @return Win32LobApp + */ + public function setApplicableArchitectures($val) + { + $this->_propDict["applicableArchitectures"] = $val; + return $this; + } + + + /** + * Gets the detectionRules + * The detection rules to detect Win32 Line of Business (LoB) app. + * + * @return array|null The detectionRules + */ + public function getDetectionRules() + { + if (array_key_exists("detectionRules", $this->_propDict)) { + return $this->_propDict["detectionRules"]; + } else { + return null; + } + } + + /** + * Sets the detectionRules + * The detection rules to detect Win32 Line of Business (LoB) app. + * + * @param Win32LobAppDetection[] $val The detectionRules + * + * @return Win32LobApp + */ + public function setDetectionRules($val) + { + $this->_propDict["detectionRules"] = $val; + return $this; + } + + /** + * Gets the displayVersion + * The version displayed in the UX for this app. + * + * @return string|null The displayVersion + */ + public function getDisplayVersion() + { + if (array_key_exists("displayVersion", $this->_propDict)) { + return $this->_propDict["displayVersion"]; + } else { + return null; + } + } + + /** + * Sets the displayVersion + * The version displayed in the UX for this app. + * + * @param string $val The displayVersion + * + * @return Win32LobApp + */ + public function setDisplayVersion($val) + { + $this->_propDict["displayVersion"] = $val; + return $this; + } + + /** + * Gets the installCommandLine + * The command line to install this app + * + * @return string|null The installCommandLine + */ + public function getInstallCommandLine() + { + if (array_key_exists("installCommandLine", $this->_propDict)) { + return $this->_propDict["installCommandLine"]; + } else { + return null; + } + } + + /** + * Sets the installCommandLine + * The command line to install this app + * + * @param string $val The installCommandLine + * + * @return Win32LobApp + */ + public function setInstallCommandLine($val) + { + $this->_propDict["installCommandLine"] = $val; + return $this; + } + + /** + * Gets the installExperience + * The install experience for this app. + * + * @return Win32LobAppInstallExperience|null The installExperience + */ + public function getInstallExperience() + { + if (array_key_exists("installExperience", $this->_propDict)) { + if (is_a($this->_propDict["installExperience"], "\Beta\Microsoft\Graph\Model\Win32LobAppInstallExperience") || is_null($this->_propDict["installExperience"])) { + return $this->_propDict["installExperience"]; + } else { + $this->_propDict["installExperience"] = new Win32LobAppInstallExperience($this->_propDict["installExperience"]); + return $this->_propDict["installExperience"]; + } + } + return null; + } + + /** + * Sets the installExperience + * The install experience for this app. + * + * @param Win32LobAppInstallExperience $val The installExperience + * + * @return Win32LobApp + */ + public function setInstallExperience($val) + { + $this->_propDict["installExperience"] = $val; + return $this; + } + + /** + * Gets the minimumCpuSpeedInMHz + * The value for the minimum CPU speed which is required to install this app. + * + * @return int|null The minimumCpuSpeedInMHz + */ + public function getMinimumCpuSpeedInMHz() + { + if (array_key_exists("minimumCpuSpeedInMHz", $this->_propDict)) { + return $this->_propDict["minimumCpuSpeedInMHz"]; + } else { + return null; + } + } + + /** + * Sets the minimumCpuSpeedInMHz + * The value for the minimum CPU speed which is required to install this app. + * + * @param int $val The minimumCpuSpeedInMHz + * + * @return Win32LobApp + */ + public function setMinimumCpuSpeedInMHz($val) + { + $this->_propDict["minimumCpuSpeedInMHz"] = intval($val); + return $this; + } + + /** + * Gets the minimumFreeDiskSpaceInMB + * The value for the minimum free disk space which is required to install this app. + * + * @return int|null The minimumFreeDiskSpaceInMB + */ + public function getMinimumFreeDiskSpaceInMB() + { + if (array_key_exists("minimumFreeDiskSpaceInMB", $this->_propDict)) { + return $this->_propDict["minimumFreeDiskSpaceInMB"]; + } else { + return null; + } + } + + /** + * Sets the minimumFreeDiskSpaceInMB + * The value for the minimum free disk space which is required to install this app. + * + * @param int $val The minimumFreeDiskSpaceInMB + * + * @return Win32LobApp + */ + public function setMinimumFreeDiskSpaceInMB($val) + { + $this->_propDict["minimumFreeDiskSpaceInMB"] = intval($val); + return $this; + } + + /** + * Gets the minimumMemoryInMB + * The value for the minimum physical memory which is required to install this app. + * + * @return int|null The minimumMemoryInMB + */ + public function getMinimumMemoryInMB() + { + if (array_key_exists("minimumMemoryInMB", $this->_propDict)) { + return $this->_propDict["minimumMemoryInMB"]; + } else { + return null; + } + } + + /** + * Sets the minimumMemoryInMB + * The value for the minimum physical memory which is required to install this app. + * + * @param int $val The minimumMemoryInMB + * + * @return Win32LobApp + */ + public function setMinimumMemoryInMB($val) + { + $this->_propDict["minimumMemoryInMB"] = intval($val); + return $this; + } + + /** + * Gets the minimumNumberOfProcessors + * The value for the minimum number of processors which is required to install this app. + * + * @return int|null The minimumNumberOfProcessors + */ + public function getMinimumNumberOfProcessors() + { + if (array_key_exists("minimumNumberOfProcessors", $this->_propDict)) { + return $this->_propDict["minimumNumberOfProcessors"]; + } else { + return null; + } + } + + /** + * Sets the minimumNumberOfProcessors + * The value for the minimum number of processors which is required to install this app. + * + * @param int $val The minimumNumberOfProcessors + * + * @return Win32LobApp + */ + public function setMinimumNumberOfProcessors($val) + { + $this->_propDict["minimumNumberOfProcessors"] = intval($val); + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return Win32LobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedWindowsRelease + * The value for the minimum supported windows release. + * + * @return string|null The minimumSupportedWindowsRelease + */ + public function getMinimumSupportedWindowsRelease() + { + if (array_key_exists("minimumSupportedWindowsRelease", $this->_propDict)) { + return $this->_propDict["minimumSupportedWindowsRelease"]; + } else { + return null; + } + } + + /** + * Sets the minimumSupportedWindowsRelease + * The value for the minimum supported windows release. + * + * @param string $val The minimumSupportedWindowsRelease + * + * @return Win32LobApp + */ + public function setMinimumSupportedWindowsRelease($val) + { + $this->_propDict["minimumSupportedWindowsRelease"] = $val; + return $this; + } + + /** + * Gets the msiInformation + * The MSI details if this Win32 app is an MSI app. + * + * @return Win32LobAppMsiInformation|null The msiInformation + */ + public function getMsiInformation() + { + if (array_key_exists("msiInformation", $this->_propDict)) { + if (is_a($this->_propDict["msiInformation"], "\Beta\Microsoft\Graph\Model\Win32LobAppMsiInformation") || is_null($this->_propDict["msiInformation"])) { + return $this->_propDict["msiInformation"]; + } else { + $this->_propDict["msiInformation"] = new Win32LobAppMsiInformation($this->_propDict["msiInformation"]); + return $this->_propDict["msiInformation"]; + } + } + return null; + } + + /** + * Sets the msiInformation + * The MSI details if this Win32 app is an MSI app. + * + * @param Win32LobAppMsiInformation $val The msiInformation + * + * @return Win32LobApp + */ + public function setMsiInformation($val) + { + $this->_propDict["msiInformation"] = $val; + return $this; + } + + + /** + * Gets the requirementRules + * The requirement rules to detect Win32 Line of Business (LoB) app. + * + * @return array|null The requirementRules + */ + public function getRequirementRules() + { + if (array_key_exists("requirementRules", $this->_propDict)) { + return $this->_propDict["requirementRules"]; + } else { + return null; + } + } + + /** + * Sets the requirementRules + * The requirement rules to detect Win32 Line of Business (LoB) app. + * + * @param Win32LobAppRequirement[] $val The requirementRules + * + * @return Win32LobApp + */ + public function setRequirementRules($val) + { + $this->_propDict["requirementRules"] = $val; + return $this; + } + + + /** + * Gets the returnCodes + * The return codes for post installation behavior. + * + * @return array|null The returnCodes + */ + public function getReturnCodes() + { + if (array_key_exists("returnCodes", $this->_propDict)) { + return $this->_propDict["returnCodes"]; + } else { + return null; + } + } + + /** + * Sets the returnCodes + * The return codes for post installation behavior. + * + * @param Win32LobAppReturnCode[] $val The returnCodes + * + * @return Win32LobApp + */ + public function setReturnCodes($val) + { + $this->_propDict["returnCodes"] = $val; + return $this; + } + + + /** + * Gets the rules + * The detection and requirement rules for this app. + * + * @return array|null The rules + */ + public function getRules() + { + if (array_key_exists("rules", $this->_propDict)) { + return $this->_propDict["rules"]; + } else { + return null; + } + } + + /** + * Sets the rules + * The detection and requirement rules for this app. + * + * @param Win32LobAppRule[] $val The rules + * + * @return Win32LobApp + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } + + /** + * Gets the setupFilePath + * The relative path of the setup file in the encrypted Win32LobApp package. + * + * @return string|null The setupFilePath + */ + public function getSetupFilePath() + { + if (array_key_exists("setupFilePath", $this->_propDict)) { + return $this->_propDict["setupFilePath"]; + } else { + return null; + } + } + + /** + * Sets the setupFilePath + * The relative path of the setup file in the encrypted Win32LobApp package. + * + * @param string $val The setupFilePath + * + * @return Win32LobApp + */ + public function setSetupFilePath($val) + { + $this->_propDict["setupFilePath"] = $val; + return $this; + } + + /** + * Gets the uninstallCommandLine + * The command line to uninstall this app + * + * @return string|null The uninstallCommandLine + */ + public function getUninstallCommandLine() + { + if (array_key_exists("uninstallCommandLine", $this->_propDict)) { + return $this->_propDict["uninstallCommandLine"]; + } else { + return null; + } + } + + /** + * Sets the uninstallCommandLine + * The command line to uninstall this app + * + * @param string $val The uninstallCommandLine + * + * @return Win32LobApp + */ + public function setUninstallCommandLine($val) + { + $this->_propDict["uninstallCommandLine"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppAssignmentSettings.php new file mode 100644 index 0000000..dce0db5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppAssignmentSettings.php @@ -0,0 +1,169 @@ +setODataType("#microsoft.graph.win32LobAppAssignmentSettings"); + } + + + /** + * Gets the deliveryOptimizationPriority + * The delivery optimization priority for this app assignment. This setting is not supported in National Cloud environments. Possible values are: notConfigured, foreground. + * + * @return Win32LobAppDeliveryOptimizationPriority|null The deliveryOptimizationPriority + */ + public function getDeliveryOptimizationPriority() + { + if (array_key_exists("deliveryOptimizationPriority", $this->_propDict)) { + if (is_a($this->_propDict["deliveryOptimizationPriority"], "\Beta\Microsoft\Graph\Model\Win32LobAppDeliveryOptimizationPriority") || is_null($this->_propDict["deliveryOptimizationPriority"])) { + return $this->_propDict["deliveryOptimizationPriority"]; + } else { + $this->_propDict["deliveryOptimizationPriority"] = new Win32LobAppDeliveryOptimizationPriority($this->_propDict["deliveryOptimizationPriority"]); + return $this->_propDict["deliveryOptimizationPriority"]; + } + } + return null; + } + + /** + * Sets the deliveryOptimizationPriority + * The delivery optimization priority for this app assignment. This setting is not supported in National Cloud environments. Possible values are: notConfigured, foreground. + * + * @param Win32LobAppDeliveryOptimizationPriority $val The value to assign to the deliveryOptimizationPriority + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setDeliveryOptimizationPriority($val) + { + $this->_propDict["deliveryOptimizationPriority"] = $val; + return $this; + } + + /** + * Gets the installTimeSettings + * The install time settings to apply for this app assignment. + * + * @return MobileAppInstallTimeSettings|null The installTimeSettings + */ + public function getInstallTimeSettings() + { + if (array_key_exists("installTimeSettings", $this->_propDict)) { + if (is_a($this->_propDict["installTimeSettings"], "\Beta\Microsoft\Graph\Model\MobileAppInstallTimeSettings") || is_null($this->_propDict["installTimeSettings"])) { + return $this->_propDict["installTimeSettings"]; + } else { + $this->_propDict["installTimeSettings"] = new MobileAppInstallTimeSettings($this->_propDict["installTimeSettings"]); + return $this->_propDict["installTimeSettings"]; + } + } + return null; + } + + /** + * Sets the installTimeSettings + * The install time settings to apply for this app assignment. + * + * @param MobileAppInstallTimeSettings $val The value to assign to the installTimeSettings + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setInstallTimeSettings($val) + { + $this->_propDict["installTimeSettings"] = $val; + return $this; + } + + /** + * Gets the notifications + * The notification status for this app assignment. Possible values are: showAll, showReboot, hideAll. + * + * @return Win32LobAppNotification|null The notifications + */ + public function getNotifications() + { + if (array_key_exists("notifications", $this->_propDict)) { + if (is_a($this->_propDict["notifications"], "\Beta\Microsoft\Graph\Model\Win32LobAppNotification") || is_null($this->_propDict["notifications"])) { + return $this->_propDict["notifications"]; + } else { + $this->_propDict["notifications"] = new Win32LobAppNotification($this->_propDict["notifications"]); + return $this->_propDict["notifications"]; + } + } + return null; + } + + /** + * Sets the notifications + * The notification status for this app assignment. Possible values are: showAll, showReboot, hideAll. + * + * @param Win32LobAppNotification $val The value to assign to the notifications + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setNotifications($val) + { + $this->_propDict["notifications"] = $val; + return $this; + } + + /** + * Gets the restartSettings + * The reboot settings to apply for this app assignment. + * + * @return Win32LobAppRestartSettings|null The restartSettings + */ + public function getRestartSettings() + { + if (array_key_exists("restartSettings", $this->_propDict)) { + if (is_a($this->_propDict["restartSettings"], "\Beta\Microsoft\Graph\Model\Win32LobAppRestartSettings") || is_null($this->_propDict["restartSettings"])) { + return $this->_propDict["restartSettings"]; + } else { + $this->_propDict["restartSettings"] = new Win32LobAppRestartSettings($this->_propDict["restartSettings"]); + return $this->_propDict["restartSettings"]; + } + } + return null; + } + + /** + * Sets the restartSettings + * The reboot settings to apply for this app assignment. + * + * @param Win32LobAppRestartSettings $val The value to assign to the restartSettings + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setRestartSettings($val) + { + $this->_propDict["restartSettings"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppDeliveryOptimizationPriority.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppDeliveryOptimizationPriority.php new file mode 100644 index 0000000..34b41fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppDeliveryOptimizationPriority.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.win32LobAppFileSystemDetection"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether this file or folder is for checking 32-bit app on 64-bit system + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether this file or folder is for checking 32-bit app on 64-bit system + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppFileSystemDetection + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + + /** + * Gets the detectionType + * The file system detection type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @return Win32LobAppFileSystemDetectionType|null The detectionType + */ + public function getDetectionType() + { + if (array_key_exists("detectionType", $this->_propDict)) { + if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemDetectionType") || is_null($this->_propDict["detectionType"])) { + return $this->_propDict["detectionType"]; + } else { + $this->_propDict["detectionType"] = new Win32LobAppFileSystemDetectionType($this->_propDict["detectionType"]); + return $this->_propDict["detectionType"]; + } + } + return null; + } + + /** + * Sets the detectionType + * The file system detection type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @param Win32LobAppFileSystemDetectionType $val The value to assign to the detectionType + * + * @return Win32LobAppFileSystemDetection The Win32LobAppFileSystemDetection + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the detectionValue + * The file or folder detection value + * + * @return string|null The detectionValue + */ + public function getDetectionValue() + { + if (array_key_exists("detectionValue", $this->_propDict)) { + return $this->_propDict["detectionValue"]; + } else { + return null; + } + } + + /** + * Sets the detectionValue + * The file or folder detection value + * + * @param string $val The value of the detectionValue + * + * @return Win32LobAppFileSystemDetection + */ + public function setDetectionValue($val) + { + $this->_propDict["detectionValue"] = $val; + return $this; + } + /** + * Gets the fileOrFolderName + * The file or folder name to detect Win32 Line of Business (LoB) app + * + * @return string|null The fileOrFolderName + */ + public function getFileOrFolderName() + { + if (array_key_exists("fileOrFolderName", $this->_propDict)) { + return $this->_propDict["fileOrFolderName"]; + } else { + return null; + } + } + + /** + * Sets the fileOrFolderName + * The file or folder name to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the fileOrFolderName + * + * @return Win32LobAppFileSystemDetection + */ + public function setFileOrFolderName($val) + { + $this->_propDict["fileOrFolderName"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppDetectionOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppDetectionOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppDetectionOperator $val The value to assign to the operator + * + * @return Win32LobAppFileSystemDetection The Win32LobAppFileSystemDetection + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the path + * The file or folder path to detect Win32 Line of Business (LoB) app + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * The file or folder path to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the path + * + * @return Win32LobAppFileSystemDetection + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemDetectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemDetectionType.php new file mode 100644 index 0000000..df9335a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemDetectionType.php @@ -0,0 +1,39 @@ +setODataType("#microsoft.graph.win32LobAppFileSystemRequirement"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether this file or folder is for checking 32-bit app on 64-bit system + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether this file or folder is for checking 32-bit app on 64-bit system + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppFileSystemRequirement + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + + /** + * Gets the detectionType + * The file system detection type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @return Win32LobAppFileSystemDetectionType|null The detectionType + */ + public function getDetectionType() + { + if (array_key_exists("detectionType", $this->_propDict)) { + if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemDetectionType") || is_null($this->_propDict["detectionType"])) { + return $this->_propDict["detectionType"]; + } else { + $this->_propDict["detectionType"] = new Win32LobAppFileSystemDetectionType($this->_propDict["detectionType"]); + return $this->_propDict["detectionType"]; + } + } + return null; + } + + /** + * Sets the detectionType + * The file system detection type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @param Win32LobAppFileSystemDetectionType $val The value to assign to the detectionType + * + * @return Win32LobAppFileSystemRequirement The Win32LobAppFileSystemRequirement + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the fileOrFolderName + * The file or folder name to detect Win32 Line of Business (LoB) app + * + * @return string|null The fileOrFolderName + */ + public function getFileOrFolderName() + { + if (array_key_exists("fileOrFolderName", $this->_propDict)) { + return $this->_propDict["fileOrFolderName"]; + } else { + return null; + } + } + + /** + * Sets the fileOrFolderName + * The file or folder name to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the fileOrFolderName + * + * @return Win32LobAppFileSystemRequirement + */ + public function setFileOrFolderName($val) + { + $this->_propDict["fileOrFolderName"] = $val; + return $this; + } + /** + * Gets the path + * The file or folder path to detect Win32 Line of Business (LoB) app + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * The file or folder path to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the path + * + * @return Win32LobAppFileSystemRequirement + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemRule.php new file mode 100644 index 0000000..6566959 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemRule.php @@ -0,0 +1,215 @@ +setODataType("#microsoft.graph.win32LobAppFileSystemRule"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems. + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems. + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppFileSystemRule + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + /** + * Gets the comparisonValue + * The file or folder comparison value. + * + * @return string|null The comparisonValue + */ + public function getComparisonValue() + { + if (array_key_exists("comparisonValue", $this->_propDict)) { + return $this->_propDict["comparisonValue"]; + } else { + return null; + } + } + + /** + * Sets the comparisonValue + * The file or folder comparison value. + * + * @param string $val The value of the comparisonValue + * + * @return Win32LobAppFileSystemRule + */ + public function setComparisonValue($val) + { + $this->_propDict["comparisonValue"] = $val; + return $this; + } + /** + * Gets the fileOrFolderName + * The file or folder name to look up. + * + * @return string|null The fileOrFolderName + */ + public function getFileOrFolderName() + { + if (array_key_exists("fileOrFolderName", $this->_propDict)) { + return $this->_propDict["fileOrFolderName"]; + } else { + return null; + } + } + + /** + * Sets the fileOrFolderName + * The file or folder name to look up. + * + * @param string $val The value of the fileOrFolderName + * + * @return Win32LobAppFileSystemRule + */ + public function setFileOrFolderName($val) + { + $this->_propDict["fileOrFolderName"] = $val; + return $this; + } + + /** + * Gets the operationType + * The file system operation type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @return Win32LobAppFileSystemOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new Win32LobAppFileSystemOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The file system operation type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @param Win32LobAppFileSystemOperationType $val The value to assign to the operationType + * + * @return Win32LobAppFileSystemRule The Win32LobAppFileSystemRule + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppRuleOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the operator + * + * @return Win32LobAppFileSystemRule The Win32LobAppFileSystemRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the path + * The file or folder path to look up. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * The file or folder path to look up. + * + * @param string $val The value of the path + * + * @return Win32LobAppFileSystemRule + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php new file mode 100644 index 0000000..1de9607 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["deviceRestartBehavior"], "\Beta\Microsoft\Graph\Model\Win32LobAppRestartBehavior") || is_null($this->_propDict["deviceRestartBehavior"])) { + return $this->_propDict["deviceRestartBehavior"]; + } else { + $this->_propDict["deviceRestartBehavior"] = new Win32LobAppRestartBehavior($this->_propDict["deviceRestartBehavior"]); + return $this->_propDict["deviceRestartBehavior"]; + } + } + return null; + } + + /** + * Sets the deviceRestartBehavior + * Device restart behavior. Possible values are: basedOnReturnCode, allow, suppress, force. + * + * @param Win32LobAppRestartBehavior $val The value to assign to the deviceRestartBehavior + * + * @return Win32LobAppInstallExperience The Win32LobAppInstallExperience + */ + public function setDeviceRestartBehavior($val) + { + $this->_propDict["deviceRestartBehavior"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context the app runs in. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context the app runs in. Possible values are: system, user. + * + * @param RunAsAccountType $val The value to assign to the runAsAccount + * + * @return Win32LobAppInstallExperience The Win32LobAppInstallExperience + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiInformation.php new file mode 100644 index 0000000..f8ce8e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiInformation.php @@ -0,0 +1,227 @@ +_propDict)) { + if (is_a($this->_propDict["packageType"], "\Beta\Microsoft\Graph\Model\Win32LobAppMsiPackageType") || is_null($this->_propDict["packageType"])) { + return $this->_propDict["packageType"]; + } else { + $this->_propDict["packageType"] = new Win32LobAppMsiPackageType($this->_propDict["packageType"]); + return $this->_propDict["packageType"]; + } + } + return null; + } + + /** + * Sets the packageType + * The MSI package type. Possible values are: perMachine, perUser, dualPurpose. + * + * @param Win32LobAppMsiPackageType $val The value to assign to the packageType + * + * @return Win32LobAppMsiInformation The Win32LobAppMsiInformation + */ + public function setPackageType($val) + { + $this->_propDict["packageType"] = $val; + return $this; + } + /** + * Gets the productCode + * The MSI product code. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The MSI product code. + * + * @param string $val The value of the productCode + * + * @return Win32LobAppMsiInformation + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + /** + * Gets the productName + * The MSI product name. + * + * @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 MSI product name. + * + * @param string $val The value of the productName + * + * @return Win32LobAppMsiInformation + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + /** + * Gets the productVersion + * The MSI product version. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The MSI product version. + * + * @param string $val The value of the productVersion + * + * @return Win32LobAppMsiInformation + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + /** + * Gets the publisher + * The MSI publisher. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The MSI publisher. + * + * @param string $val The value of the publisher + * + * @return Win32LobAppMsiInformation + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + /** + * Gets the requiresReboot + * Whether the MSI app requires the machine to reboot to complete installation. + * + * @return bool|null The requiresReboot + */ + public function getRequiresReboot() + { + if (array_key_exists("requiresReboot", $this->_propDict)) { + return $this->_propDict["requiresReboot"]; + } else { + return null; + } + } + + /** + * Sets the requiresReboot + * Whether the MSI app requires the machine to reboot to complete installation. + * + * @param bool $val The value of the requiresReboot + * + * @return Win32LobAppMsiInformation + */ + public function setRequiresReboot($val) + { + $this->_propDict["requiresReboot"] = $val; + return $this; + } + /** + * Gets the upgradeCode + * The MSI upgrade code. + * + * @return string|null The upgradeCode + */ + public function getUpgradeCode() + { + if (array_key_exists("upgradeCode", $this->_propDict)) { + return $this->_propDict["upgradeCode"]; + } else { + return null; + } + } + + /** + * Sets the upgradeCode + * The MSI upgrade code. + * + * @param string $val The value of the upgradeCode + * + * @return Win32LobAppMsiInformation + */ + public function setUpgradeCode($val) + { + $this->_propDict["upgradeCode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiPackageType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiPackageType.php new file mode 100644 index 0000000..1074f4b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiPackageType.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.win32LobAppPowerShellScriptDetection"); + } + + /** + * Gets the enforceSignatureCheck + * A value indicating whether signature check is enforced + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * A value indicating whether signature check is enforced + * + * @param bool $val The value of the enforceSignatureCheck + * + * @return Win32LobAppPowerShellScriptDetection + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = $val; + return $this; + } + /** + * Gets the runAs32Bit + * A value indicating whether this script should run as 32-bit + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * A value indicating whether this script should run as 32-bit + * + * @param bool $val The value of the runAs32Bit + * + * @return Win32LobAppPowerShellScriptDetection + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = $val; + return $this; + } + /** + * Gets the scriptContent + * The base64 encoded script content to detect Win32 Line of Business (LoB) app + * + * @return string|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + return $this->_propDict["scriptContent"]; + } else { + return null; + } + } + + /** + * Sets the scriptContent + * The base64 encoded script content to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the scriptContent + * + * @return Win32LobAppPowerShellScriptDetection + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptDetectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptDetectionType.php new file mode 100644 index 0000000..d965c69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptDetectionType.php @@ -0,0 +1,39 @@ +setODataType("#microsoft.graph.win32LobAppPowerShellScriptRequirement"); + } + + + /** + * Gets the detectionType + * The detection type for script output. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean. + * + * @return Win32LobAppPowerShellScriptDetectionType|null The detectionType + */ + public function getDetectionType() + { + if (array_key_exists("detectionType", $this->_propDict)) { + if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppPowerShellScriptDetectionType") || is_null($this->_propDict["detectionType"])) { + return $this->_propDict["detectionType"]; + } else { + $this->_propDict["detectionType"] = new Win32LobAppPowerShellScriptDetectionType($this->_propDict["detectionType"]); + return $this->_propDict["detectionType"]; + } + } + return null; + } + + /** + * Sets the detectionType + * The detection type for script output. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean. + * + * @param Win32LobAppPowerShellScriptDetectionType $val The value to assign to the detectionType + * + * @return Win32LobAppPowerShellScriptRequirement The Win32LobAppPowerShellScriptRequirement + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the displayName + * The unique display name for this rule + * + * @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 + * The unique display name for this rule + * + * @param string $val The value of the displayName + * + * @return Win32LobAppPowerShellScriptRequirement + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the enforceSignatureCheck + * A value indicating whether signature check is enforced + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * A value indicating whether signature check is enforced + * + * @param bool $val The value of the enforceSignatureCheck + * + * @return Win32LobAppPowerShellScriptRequirement + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = $val; + return $this; + } + /** + * Gets the runAs32Bit + * A value indicating whether this script should run as 32-bit + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * A value indicating whether this script should run as 32-bit + * + * @param bool $val The value of the runAs32Bit + * + * @return Win32LobAppPowerShellScriptRequirement + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context the script runs in. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context the script runs in. Possible values are: system, user. + * + * @param RunAsAccountType $val The value to assign to the runAsAccount + * + * @return Win32LobAppPowerShellScriptRequirement The Win32LobAppPowerShellScriptRequirement + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + /** + * Gets the scriptContent + * The base64 encoded script content to detect Win32 Line of Business (LoB) app + * + * @return string|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + return $this->_propDict["scriptContent"]; + } else { + return null; + } + } + + /** + * Sets the scriptContent + * The base64 encoded script content to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the scriptContent + * + * @return Win32LobAppPowerShellScriptRequirement + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRule.php new file mode 100644 index 0000000..4777922 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRule.php @@ -0,0 +1,276 @@ +setODataType("#microsoft.graph.win32LobAppPowerShellScriptRule"); + } + + /** + * Gets the comparisonValue + * The script output comparison value. Do not specify a value if the rule is used for detection. + * + * @return string|null The comparisonValue + */ + public function getComparisonValue() + { + if (array_key_exists("comparisonValue", $this->_propDict)) { + return $this->_propDict["comparisonValue"]; + } else { + return null; + } + } + + /** + * Sets the comparisonValue + * The script output comparison value. Do not specify a value if the rule is used for detection. + * + * @param string $val The value of the comparisonValue + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setComparisonValue($val) + { + $this->_propDict["comparisonValue"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the rule. Do not specify this value if the rule is used for detection. + * + * @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 + * The display name for the rule. Do not specify this value if the rule is used for detection. + * + * @param string $val The value of the displayName + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the enforceSignatureCheck + * A value indicating whether a signature check is enforced. + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * A value indicating whether a signature check is enforced. + * + * @param bool $val The value of the enforceSignatureCheck + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = $val; + return $this; + } + + /** + * Gets the operationType + * The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean. + * + * @return Win32LobAppPowerShellScriptRuleOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\Win32LobAppPowerShellScriptRuleOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new Win32LobAppPowerShellScriptRuleOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean. + * + * @param Win32LobAppPowerShellScriptRuleOperationType $val The value to assign to the operationType + * + * @return Win32LobAppPowerShellScriptRule The Win32LobAppPowerShellScriptRule + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the operator + * The script output operator. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppRuleOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The script output operator. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the operator + * + * @return Win32LobAppPowerShellScriptRule The Win32LobAppPowerShellScriptRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the runAs32Bit + * A value indicating whether the script should run as 32-bit. + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * A value indicating whether the script should run as 32-bit. + * + * @param bool $val The value of the runAs32Bit + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user. + * + * @param RunAsAccountType $val The value to assign to the runAsAccount + * + * @return Win32LobAppPowerShellScriptRule The Win32LobAppPowerShellScriptRule + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + /** + * Gets the scriptContent + * The base64-encoded script content. + * + * @return string|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + return $this->_propDict["scriptContent"]; + } else { + return null; + } + } + + /** + * Sets the scriptContent + * The base64-encoded script content. + * + * @param string $val The value of the scriptContent + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRuleOperationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRuleOperationType.php new file mode 100644 index 0000000..31695c1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRuleOperationType.php @@ -0,0 +1,39 @@ +setODataType("#microsoft.graph.win32LobAppProductCodeDetection"); + } + + /** + * Gets the productCode + * The product code of Win32 Line of Business (LoB) app. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The product code of Win32 Line of Business (LoB) app. + * + * @param string $val The value of the productCode + * + * @return Win32LobAppProductCodeDetection + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + /** + * Gets the productVersion + * The product version of Win32 Line of Business (LoB) app. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The product version of Win32 Line of Business (LoB) app. + * + * @param string $val The value of the productVersion + * + * @return Win32LobAppProductCodeDetection + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + + /** + * Gets the productVersionOperator + * The operator to detect product version. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppDetectionOperator|null The productVersionOperator + */ + public function getProductVersionOperator() + { + if (array_key_exists("productVersionOperator", $this->_propDict)) { + if (is_a($this->_propDict["productVersionOperator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator") || is_null($this->_propDict["productVersionOperator"])) { + return $this->_propDict["productVersionOperator"]; + } else { + $this->_propDict["productVersionOperator"] = new Win32LobAppDetectionOperator($this->_propDict["productVersionOperator"]); + return $this->_propDict["productVersionOperator"]; + } + } + return null; + } + + /** + * Sets the productVersionOperator + * The operator to detect product version. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppDetectionOperator $val The value to assign to the productVersionOperator + * + * @return Win32LobAppProductCodeDetection The Win32LobAppProductCodeDetection + */ + public function setProductVersionOperator($val) + { + $this->_propDict["productVersionOperator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppProductCodeRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppProductCodeRule.php new file mode 100644 index 0000000..dbf3f41 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppProductCodeRule.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.win32LobAppProductCodeRule"); + } + + /** + * Gets the productCode + * The product code of the app. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The product code of the app. + * + * @param string $val The value of the productCode + * + * @return Win32LobAppProductCodeRule + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + /** + * Gets the productVersion + * The product version comparison value. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The product version comparison value. + * + * @param string $val The value of the productVersion + * + * @return Win32LobAppProductCodeRule + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + + /** + * Gets the productVersionOperator + * The product version comparison operator. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The productVersionOperator + */ + public function getProductVersionOperator() + { + if (array_key_exists("productVersionOperator", $this->_propDict)) { + if (is_a($this->_propDict["productVersionOperator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["productVersionOperator"])) { + return $this->_propDict["productVersionOperator"]; + } else { + $this->_propDict["productVersionOperator"] = new Win32LobAppRuleOperator($this->_propDict["productVersionOperator"]); + return $this->_propDict["productVersionOperator"]; + } + } + return null; + } + + /** + * Sets the productVersionOperator + * The product version comparison operator. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the productVersionOperator + * + * @return Win32LobAppProductCodeRule The Win32LobAppProductCodeRule + */ + public function setProductVersionOperator($val) + { + $this->_propDict["productVersionOperator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetection.php new file mode 100644 index 0000000..28ae417 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetection.php @@ -0,0 +1,215 @@ +setODataType("#microsoft.graph.win32LobAppRegistryDetection"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether this registry path is for checking 32-bit app on 64-bit system + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether this registry path is for checking 32-bit app on 64-bit system + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppRegistryDetection + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + + /** + * Gets the detectionType + * The registry data detection type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @return Win32LobAppRegistryDetectionType|null The detectionType + */ + public function getDetectionType() + { + if (array_key_exists("detectionType", $this->_propDict)) { + if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRegistryDetectionType") || is_null($this->_propDict["detectionType"])) { + return $this->_propDict["detectionType"]; + } else { + $this->_propDict["detectionType"] = new Win32LobAppRegistryDetectionType($this->_propDict["detectionType"]); + return $this->_propDict["detectionType"]; + } + } + return null; + } + + /** + * Sets the detectionType + * The registry data detection type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @param Win32LobAppRegistryDetectionType $val The value to assign to the detectionType + * + * @return Win32LobAppRegistryDetection The Win32LobAppRegistryDetection + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the detectionValue + * The registry detection value + * + * @return string|null The detectionValue + */ + public function getDetectionValue() + { + if (array_key_exists("detectionValue", $this->_propDict)) { + return $this->_propDict["detectionValue"]; + } else { + return null; + } + } + + /** + * Sets the detectionValue + * The registry detection value + * + * @param string $val The value of the detectionValue + * + * @return Win32LobAppRegistryDetection + */ + public function setDetectionValue($val) + { + $this->_propDict["detectionValue"] = $val; + return $this; + } + /** + * Gets the keyPath + * The registry key path to detect Win32 Line of Business (LoB) app + * + * @return string|null The keyPath + */ + public function getKeyPath() + { + if (array_key_exists("keyPath", $this->_propDict)) { + return $this->_propDict["keyPath"]; + } else { + return null; + } + } + + /** + * Sets the keyPath + * The registry key path to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the keyPath + * + * @return Win32LobAppRegistryDetection + */ + public function setKeyPath($val) + { + $this->_propDict["keyPath"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for registry data detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppDetectionOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppDetectionOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for registry data detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppDetectionOperator $val The value to assign to the operator + * + * @return Win32LobAppRegistryDetection The Win32LobAppRegistryDetection + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the valueName + * The registry value name + * + * @return string|null The valueName + */ + public function getValueName() + { + if (array_key_exists("valueName", $this->_propDict)) { + return $this->_propDict["valueName"]; + } else { + return null; + } + } + + /** + * Sets the valueName + * The registry value name + * + * @param string $val The value of the valueName + * + * @return Win32LobAppRegistryDetection + */ + public function setValueName($val) + { + $this->_propDict["valueName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetectionType.php new file mode 100644 index 0000000..348d9c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetectionType.php @@ -0,0 +1,38 @@ +setODataType("#microsoft.graph.win32LobAppRegistryRequirement"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether this registry path is for checking 32-bit app on 64-bit system + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether this registry path is for checking 32-bit app on 64-bit system + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppRegistryRequirement + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + + /** + * Gets the detectionType + * The registry data detection type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @return Win32LobAppRegistryDetectionType|null The detectionType + */ + public function getDetectionType() + { + if (array_key_exists("detectionType", $this->_propDict)) { + if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRegistryDetectionType") || is_null($this->_propDict["detectionType"])) { + return $this->_propDict["detectionType"]; + } else { + $this->_propDict["detectionType"] = new Win32LobAppRegistryDetectionType($this->_propDict["detectionType"]); + return $this->_propDict["detectionType"]; + } + } + return null; + } + + /** + * Sets the detectionType + * The registry data detection type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @param Win32LobAppRegistryDetectionType $val The value to assign to the detectionType + * + * @return Win32LobAppRegistryRequirement The Win32LobAppRegistryRequirement + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the keyPath + * The registry key path to detect Win32 Line of Business (LoB) app + * + * @return string|null The keyPath + */ + public function getKeyPath() + { + if (array_key_exists("keyPath", $this->_propDict)) { + return $this->_propDict["keyPath"]; + } else { + return null; + } + } + + /** + * Sets the keyPath + * The registry key path to detect Win32 Line of Business (LoB) app + * + * @param string $val The value of the keyPath + * + * @return Win32LobAppRegistryRequirement + */ + public function setKeyPath($val) + { + $this->_propDict["keyPath"] = $val; + return $this; + } + /** + * Gets the valueName + * The registry value name + * + * @return string|null The valueName + */ + public function getValueName() + { + if (array_key_exists("valueName", $this->_propDict)) { + return $this->_propDict["valueName"]; + } else { + return null; + } + } + + /** + * Sets the valueName + * The registry value name + * + * @param string $val The value of the valueName + * + * @return Win32LobAppRegistryRequirement + */ + public function setValueName($val) + { + $this->_propDict["valueName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRule.php new file mode 100644 index 0000000..dc302b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRule.php @@ -0,0 +1,215 @@ +setODataType("#microsoft.graph.win32LobAppRegistryRule"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether to search the 32-bit registry on 64-bit systems. + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether to search the 32-bit registry on 64-bit systems. + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppRegistryRule + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + /** + * Gets the comparisonValue + * The registry comparison value. + * + * @return string|null The comparisonValue + */ + public function getComparisonValue() + { + if (array_key_exists("comparisonValue", $this->_propDict)) { + return $this->_propDict["comparisonValue"]; + } else { + return null; + } + } + + /** + * Sets the comparisonValue + * The registry comparison value. + * + * @param string $val The value of the comparisonValue + * + * @return Win32LobAppRegistryRule + */ + public function setComparisonValue($val) + { + $this->_propDict["comparisonValue"] = $val; + return $this; + } + /** + * Gets the keyPath + * The full path of the registry entry containing the value to detect. + * + * @return string|null The keyPath + */ + public function getKeyPath() + { + if (array_key_exists("keyPath", $this->_propDict)) { + return $this->_propDict["keyPath"]; + } else { + return null; + } + } + + /** + * Sets the keyPath + * The full path of the registry entry containing the value to detect. + * + * @param string $val The value of the keyPath + * + * @return Win32LobAppRegistryRule + */ + public function setKeyPath($val) + { + $this->_propDict["keyPath"] = $val; + return $this; + } + + /** + * Gets the operationType + * The registry operation type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @return Win32LobAppRegistryRuleOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRegistryRuleOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new Win32LobAppRegistryRuleOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The registry operation type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @param Win32LobAppRegistryRuleOperationType $val The value to assign to the operationType + * + * @return Win32LobAppRegistryRule The Win32LobAppRegistryRule + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for registry detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppRuleOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for registry detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the operator + * + * @return Win32LobAppRegistryRule The Win32LobAppRegistryRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the valueName + * The name of the registry value to detect. + * + * @return string|null The valueName + */ + public function getValueName() + { + if (array_key_exists("valueName", $this->_propDict)) { + return $this->_propDict["valueName"]; + } else { + return null; + } + } + + /** + * Sets the valueName + * The name of the registry value to detect. + * + * @param string $val The value of the valueName + * + * @return Win32LobAppRegistryRule + */ + public function setValueName($val) + { + $this->_propDict["valueName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRuleOperationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRuleOperationType.php new file mode 100644 index 0000000..2ffd61f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRuleOperationType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["detectionValue"]; + } else { + return null; + } + } + + /** + * Sets the detectionValue + * The detection value + * + * @param string $val The value of the detectionValue + * + * @return Win32LobAppRequirement + */ + public function setDetectionValue($val) + { + $this->_propDict["detectionValue"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppDetectionOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppDetectionOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppDetectionOperator $val The value to assign to the operator + * + * @return Win32LobAppRequirement The Win32LobAppRequirement + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRestartBehavior.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRestartBehavior.php new file mode 100644 index 0000000..710384c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRestartBehavior.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["countdownDisplayBeforeRestartInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the countdownDisplayBeforeRestartInMinutes + * The number of minutes before the restart time to display the countdown dialog for pending restarts. + * + * @param int $val The value of the countdownDisplayBeforeRestartInMinutes + * + * @return Win32LobAppRestartSettings + */ + public function setCountdownDisplayBeforeRestartInMinutes($val) + { + $this->_propDict["countdownDisplayBeforeRestartInMinutes"] = $val; + return $this; + } + /** + * Gets the gracePeriodInMinutes + * The number of minutes to wait before restarting the device after an app installation. + * + * @return int|null The gracePeriodInMinutes + */ + public function getGracePeriodInMinutes() + { + if (array_key_exists("gracePeriodInMinutes", $this->_propDict)) { + return $this->_propDict["gracePeriodInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the gracePeriodInMinutes + * The number of minutes to wait before restarting the device after an app installation. + * + * @param int $val The value of the gracePeriodInMinutes + * + * @return Win32LobAppRestartSettings + */ + public function setGracePeriodInMinutes($val) + { + $this->_propDict["gracePeriodInMinutes"] = $val; + return $this; + } + /** + * Gets the restartNotificationSnoozeDurationInMinutes + * The number of minutes to snooze the restart notification dialog when the snooze button is selected. + * + * @return int|null The restartNotificationSnoozeDurationInMinutes + */ + public function getRestartNotificationSnoozeDurationInMinutes() + { + if (array_key_exists("restartNotificationSnoozeDurationInMinutes", $this->_propDict)) { + return $this->_propDict["restartNotificationSnoozeDurationInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the restartNotificationSnoozeDurationInMinutes + * The number of minutes to snooze the restart notification dialog when the snooze button is selected. + * + * @param int $val The value of the restartNotificationSnoozeDurationInMinutes + * + * @return Win32LobAppRestartSettings + */ + public function setRestartNotificationSnoozeDurationInMinutes($val) + { + $this->_propDict["restartNotificationSnoozeDurationInMinutes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCode.php new file mode 100644 index 0000000..dd662b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCode.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["returnCode"]; + } else { + return null; + } + } + + /** + * Sets the returnCode + * Return code. + * + * @param int $val The value of the returnCode + * + * @return Win32LobAppReturnCode + */ + public function setReturnCode($val) + { + $this->_propDict["returnCode"] = $val; + return $this; + } + + /** + * Gets the type + * The type of return code. Possible values are: failed, success, softReboot, hardReboot, retry. + * + * @return Win32LobAppReturnCodeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\Win32LobAppReturnCodeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new Win32LobAppReturnCodeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of return code. Possible values are: failed, success, softReboot, hardReboot, retry. + * + * @param Win32LobAppReturnCodeType $val The value to assign to the type + * + * @return Win32LobAppReturnCode The Win32LobAppReturnCode + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCodeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCodeType.php new file mode 100644 index 0000000..475e3fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCodeType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleType") || is_null($this->_propDict["ruleType"])) { + return $this->_propDict["ruleType"]; + } else { + $this->_propDict["ruleType"] = new Win32LobAppRuleType($this->_propDict["ruleType"]); + return $this->_propDict["ruleType"]; + } + } + return null; + } + + /** + * Sets the ruleType + * The rule type indicating the purpose of the rule. Possible values are: detection, requirement. + * + * @param Win32LobAppRuleType $val The value to assign to the ruleType + * + * @return Win32LobAppRule The Win32LobAppRule + */ + public function setRuleType($val) + { + $this->_propDict["ruleType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRuleOperator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRuleOperator.php new file mode 100644 index 0000000..c13a30c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRuleOperator.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\Windows10AppsUpdateRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new Windows10AppsUpdateRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Recurrence schedule. Possible values are: none, daily, weekly, monthly. + * + * @param Windows10AppsUpdateRecurrence $val The value to assign to the recurrence + * + * @return Windows10AppsForceUpdateSchedule The Windows10AppsForceUpdateSchedule + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + /** + * Gets the runImmediatelyIfAfterStartDateTime + * If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence. + * + * @return bool|null The runImmediatelyIfAfterStartDateTime + */ + public function getRunImmediatelyIfAfterStartDateTime() + { + if (array_key_exists("runImmediatelyIfAfterStartDateTime", $this->_propDict)) { + return $this->_propDict["runImmediatelyIfAfterStartDateTime"]; + } else { + return null; + } + } + + /** + * Sets the runImmediatelyIfAfterStartDateTime + * If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence. + * + * @param bool $val The value of the runImmediatelyIfAfterStartDateTime + * + * @return Windows10AppsForceUpdateSchedule + */ + public function setRunImmediatelyIfAfterStartDateTime($val) + { + $this->_propDict["runImmediatelyIfAfterStartDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time for the force restart. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time for the force restart. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return Windows10AppsForceUpdateSchedule The Windows10AppsForceUpdateSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10AppsUpdateRecurrence.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10AppsUpdateRecurrence.php new file mode 100644 index 0000000..ec250d6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10AppsUpdateRecurrence.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["appType"], "\Beta\Microsoft\Graph\Model\Windows10AppType") || is_null($this->_propDict["appType"])) { + return $this->_propDict["appType"]; + } else { + $this->_propDict["appType"] = new Windows10AppType($this->_propDict["appType"]); + return $this->_propDict["appType"]; + } + } + return null; + } + + /** + * Sets the appType + * Application type. Possible values are: desktop, universal. + * + * @param Windows10AppType $val The value to assign to the appType + * + * @return Windows10AssociatedApps The Windows10AssociatedApps + */ + public function setAppType($val) + { + $this->_propDict["appType"] = $val; + return $this; + } + /** + * Gets the identifier + * Identifier. + * + * @return string|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * Identifier. + * + * @param string $val The value of the identifier + * + * @return Windows10AssociatedApps + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CertificateProfileBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CertificateProfileBase.php new file mode 100644 index 0000000..4f7f67c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CertificateProfileBase.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["activeFirewallRequired"]; + } else { + return null; + } + } + + /** + * Sets the activeFirewallRequired + * Require active firewall on Windows devices. + * + * @param bool $val The activeFirewallRequired + * + * @return Windows10CompliancePolicy + */ + public function setActiveFirewallRequired($val) + { + $this->_propDict["activeFirewallRequired"] = boolval($val); + return $this; + } + + /** + * Gets the antiSpywareRequired + * Require any AntiSpyware solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender). + * + * @return bool|null The antiSpywareRequired + */ + public function getAntiSpywareRequired() + { + if (array_key_exists("antiSpywareRequired", $this->_propDict)) { + return $this->_propDict["antiSpywareRequired"]; + } else { + return null; + } + } + + /** + * Sets the antiSpywareRequired + * Require any AntiSpyware solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender). + * + * @param bool $val The antiSpywareRequired + * + * @return Windows10CompliancePolicy + */ + public function setAntiSpywareRequired($val) + { + $this->_propDict["antiSpywareRequired"] = boolval($val); + return $this; + } + + /** + * Gets the antivirusRequired + * Require any Antivirus solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender). + * + * @return bool|null The antivirusRequired + */ + public function getAntivirusRequired() + { + if (array_key_exists("antivirusRequired", $this->_propDict)) { + return $this->_propDict["antivirusRequired"]; + } else { + return null; + } + } + + /** + * Sets the antivirusRequired + * Require any Antivirus solution registered with Windows Decurity Center to be on and monitoring (e.g. Symantec, Windows Defender). + * + * @param bool $val The antivirusRequired + * + * @return Windows10CompliancePolicy + */ + public function setAntivirusRequired($val) + { + $this->_propDict["antivirusRequired"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerEnabled + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + * + * @return bool|null The bitLockerEnabled + */ + public function getBitLockerEnabled() + { + if (array_key_exists("bitLockerEnabled", $this->_propDict)) { + return $this->_propDict["bitLockerEnabled"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEnabled + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + * + * @param bool $val The bitLockerEnabled + * + * @return Windows10CompliancePolicy + */ + public function setBitLockerEnabled($val) + { + $this->_propDict["bitLockerEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @return bool|null The codeIntegrityEnabled + */ + public function getCodeIntegrityEnabled() + { + if (array_key_exists("codeIntegrityEnabled", $this->_propDict)) { + return $this->_propDict["codeIntegrityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @param bool $val The codeIntegrityEnabled + * + * @return Windows10CompliancePolicy + */ + public function setCodeIntegrityEnabled($val) + { + $this->_propDict["codeIntegrityEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the configurationManagerComplianceRequired + * Require to consider SCCM Compliance state into consideration for Intune Compliance State. + * + * @return bool|null The configurationManagerComplianceRequired + */ + public function getConfigurationManagerComplianceRequired() + { + if (array_key_exists("configurationManagerComplianceRequired", $this->_propDict)) { + return $this->_propDict["configurationManagerComplianceRequired"]; + } else { + return null; + } + } + + /** + * Sets the configurationManagerComplianceRequired + * Require to consider SCCM Compliance state into consideration for Intune Compliance State. + * + * @param bool $val The configurationManagerComplianceRequired + * + * @return Windows10CompliancePolicy + */ + public function setConfigurationManagerComplianceRequired($val) + { + $this->_propDict["configurationManagerComplianceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the defenderEnabled + * Require Windows Defender Antimalware on Windows devices. + * + * @return bool|null The defenderEnabled + */ + public function getDefenderEnabled() + { + if (array_key_exists("defenderEnabled", $this->_propDict)) { + return $this->_propDict["defenderEnabled"]; + } else { + return null; + } + } + + /** + * Sets the defenderEnabled + * Require Windows Defender Antimalware on Windows devices. + * + * @param bool $val The defenderEnabled + * + * @return Windows10CompliancePolicy + */ + public function setDefenderEnabled($val) + { + $this->_propDict["defenderEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the defenderVersion + * Require Windows Defender Antimalware minimum version on Windows devices. + * + * @return string|null The defenderVersion + */ + public function getDefenderVersion() + { + if (array_key_exists("defenderVersion", $this->_propDict)) { + return $this->_propDict["defenderVersion"]; + } else { + return null; + } + } + + /** + * Sets the defenderVersion + * Require Windows Defender Antimalware minimum version on Windows devices. + * + * @param string $val The defenderVersion + * + * @return Windows10CompliancePolicy + */ + public function setDefenderVersion($val) + { + $this->_propDict["defenderVersion"] = $val; + return $this; + } + + /** + * Gets the deviceCompliancePolicyScript + * Not yet documented + * + * @return DeviceCompliancePolicyScript|null The deviceCompliancePolicyScript + */ + public function getDeviceCompliancePolicyScript() + { + if (array_key_exists("deviceCompliancePolicyScript", $this->_propDict)) { + if (is_a($this->_propDict["deviceCompliancePolicyScript"], "\Beta\Microsoft\Graph\Model\DeviceCompliancePolicyScript") || is_null($this->_propDict["deviceCompliancePolicyScript"])) { + return $this->_propDict["deviceCompliancePolicyScript"]; + } else { + $this->_propDict["deviceCompliancePolicyScript"] = new DeviceCompliancePolicyScript($this->_propDict["deviceCompliancePolicyScript"]); + return $this->_propDict["deviceCompliancePolicyScript"]; + } + } + return null; + } + + /** + * Sets the deviceCompliancePolicyScript + * Not yet documented + * + * @param DeviceCompliancePolicyScript $val The deviceCompliancePolicyScript + * + * @return Windows10CompliancePolicy + */ + public function setDeviceCompliancePolicyScript($val) + { + $this->_propDict["deviceCompliancePolicyScript"] = $val; + return $this; + } + + /** + * Gets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @return bool|null The deviceThreatProtectionEnabled + */ + public function getDeviceThreatProtectionEnabled() + { + if (array_key_exists("deviceThreatProtectionEnabled", $this->_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return Windows10CompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Device Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Device Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return Windows10CompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @return bool|null The earlyLaunchAntiMalwareDriverEnabled + */ + public function getEarlyLaunchAntiMalwareDriverEnabled() + { + if (array_key_exists("earlyLaunchAntiMalwareDriverEnabled", $this->_propDict)) { + return $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"]; + } else { + return null; + } + } + + /** + * Sets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @param bool $val The earlyLaunchAntiMalwareDriverEnabled + * + * @return Windows10CompliancePolicy + */ + public function setEarlyLaunchAntiMalwareDriverEnabled($val) + { + $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the mobileOsMaximumVersion + * Maximum Windows Phone version. + * + * @return string|null The mobileOsMaximumVersion + */ + public function getMobileOsMaximumVersion() + { + if (array_key_exists("mobileOsMaximumVersion", $this->_propDict)) { + return $this->_propDict["mobileOsMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the mobileOsMaximumVersion + * Maximum Windows Phone version. + * + * @param string $val The mobileOsMaximumVersion + * + * @return Windows10CompliancePolicy + */ + public function setMobileOsMaximumVersion($val) + { + $this->_propDict["mobileOsMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the mobileOsMinimumVersion + * Minimum Windows Phone version. + * + * @return string|null The mobileOsMinimumVersion + */ + public function getMobileOsMinimumVersion() + { + if (array_key_exists("mobileOsMinimumVersion", $this->_propDict)) { + return $this->_propDict["mobileOsMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the mobileOsMinimumVersion + * Minimum Windows Phone version. + * + * @param string $val The mobileOsMinimumVersion + * + * @return Windows10CompliancePolicy + */ + public function setMobileOsMinimumVersion($val) + { + $this->_propDict["mobileOsMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Windows 10 version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows 10 version. + * + * @param string $val The osMaximumVersion + * + * @return Windows10CompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows 10 version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows 10 version. + * + * @param string $val The osMinimumVersion + * + * @return Windows10CompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows10CompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * The password expiration in days. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * The password expiration in days. + * + * @param int $val The passwordExpirationDays + * + * @return Windows10CompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows10CompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. + * + * @param int $val The passwordMinimumLength + * + * @return Windows10CompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return Windows10CompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows10CompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock Windows device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock Windows device. + * + * @param bool $val The passwordRequired + * + * @return Windows10CompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @return bool|null The passwordRequiredToUnlockFromIdle + */ + public function getPasswordRequiredToUnlockFromIdle() + { + if (array_key_exists("passwordRequiredToUnlockFromIdle", $this->_propDict)) { + return $this->_propDict["passwordRequiredToUnlockFromIdle"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequiredToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @param bool $val The passwordRequiredToUnlockFromIdle + * + * @return Windows10CompliancePolicy + */ + public function setPasswordRequiredToUnlockFromIdle($val) + { + $this->_propDict["passwordRequiredToUnlockFromIdle"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows10CompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the requireHealthyDeviceReport + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @return bool|null The requireHealthyDeviceReport + */ + public function getRequireHealthyDeviceReport() + { + if (array_key_exists("requireHealthyDeviceReport", $this->_propDict)) { + return $this->_propDict["requireHealthyDeviceReport"]; + } else { + return null; + } + } + + /** + * Sets the requireHealthyDeviceReport + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @param bool $val The requireHealthyDeviceReport + * + * @return Windows10CompliancePolicy + */ + public function setRequireHealthyDeviceReport($val) + { + $this->_propDict["requireHealthyDeviceReport"] = boolval($val); + return $this; + } + + /** + * Gets the rtpEnabled + * Require Windows Defender Antimalware Real-Time Protection on Windows devices. + * + * @return bool|null The rtpEnabled + */ + public function getRtpEnabled() + { + if (array_key_exists("rtpEnabled", $this->_propDict)) { + return $this->_propDict["rtpEnabled"]; + } else { + return null; + } + } + + /** + * Sets the rtpEnabled + * Require Windows Defender Antimalware Real-Time Protection on Windows devices. + * + * @param bool $val The rtpEnabled + * + * @return Windows10CompliancePolicy + */ + public function setRtpEnabled($val) + { + $this->_propDict["rtpEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @return bool|null The secureBootEnabled + */ + public function getSecureBootEnabled() + { + if (array_key_exists("secureBootEnabled", $this->_propDict)) { + return $this->_propDict["secureBootEnabled"]; + } else { + return null; + } + } + + /** + * Sets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @param bool $val The secureBootEnabled + * + * @return Windows10CompliancePolicy + */ + public function setSecureBootEnabled($val) + { + $this->_propDict["secureBootEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the signatureOutOfDate + * Require Windows Defender Antimalware Signature to be up to date on Windows devices. + * + * @return bool|null The signatureOutOfDate + */ + public function getSignatureOutOfDate() + { + if (array_key_exists("signatureOutOfDate", $this->_propDict)) { + return $this->_propDict["signatureOutOfDate"]; + } else { + return null; + } + } + + /** + * Sets the signatureOutOfDate + * Require Windows Defender Antimalware Signature to be up to date on Windows devices. + * + * @param bool $val The signatureOutOfDate + * + * @return Windows10CompliancePolicy + */ + public function setSignatureOutOfDate($val) + { + $this->_propDict["signatureOutOfDate"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on windows devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on windows devices. + * + * @param bool $val The storageRequireEncryption + * + * @return Windows10CompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the tpmRequired + * Require Trusted Platform Module(TPM) to be present. + * + * @return bool|null The tpmRequired + */ + public function getTpmRequired() + { + if (array_key_exists("tpmRequired", $this->_propDict)) { + return $this->_propDict["tpmRequired"]; + } else { + return null; + } + } + + /** + * Sets the tpmRequired + * Require Trusted Platform Module(TPM) to be present. + * + * @param bool $val The tpmRequired + * + * @return Windows10CompliancePolicy + */ + public function setTpmRequired($val) + { + $this->_propDict["tpmRequired"] = boolval($val); + return $this; + } + + + /** + * Gets the validOperatingSystemBuildRanges + * The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements. + * + * @return array|null The validOperatingSystemBuildRanges + */ + public function getValidOperatingSystemBuildRanges() + { + if (array_key_exists("validOperatingSystemBuildRanges", $this->_propDict)) { + return $this->_propDict["validOperatingSystemBuildRanges"]; + } else { + return null; + } + } + + /** + * Sets the validOperatingSystemBuildRanges + * The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements. + * + * @param OperatingSystemVersionRange[] $val The validOperatingSystemBuildRanges + * + * @return Windows10CompliancePolicy + */ + public function setValidOperatingSystemBuildRanges($val) + { + $this->_propDict["validOperatingSystemBuildRanges"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CustomConfiguration.php new file mode 100644 index 0000000..e064081 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CustomConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 1000 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return Windows10CustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceFirmwareConfigurationInterface.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceFirmwareConfigurationInterface.php new file mode 100644 index 0000000..cf610ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceFirmwareConfigurationInterface.php @@ -0,0 +1,324 @@ +_propDict)) { + if (is_a($this->_propDict["bootFromBuiltInNetworkAdapters"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["bootFromBuiltInNetworkAdapters"])) { + return $this->_propDict["bootFromBuiltInNetworkAdapters"]; + } else { + $this->_propDict["bootFromBuiltInNetworkAdapters"] = new Enablement($this->_propDict["bootFromBuiltInNetworkAdapters"]); + return $this->_propDict["bootFromBuiltInNetworkAdapters"]; + } + } + return null; + } + + /** + * Sets the bootFromBuiltInNetworkAdapters + * Defines whether a user is allowed to boot from built-in network adapters. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The bootFromBuiltInNetworkAdapters + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setBootFromBuiltInNetworkAdapters($val) + { + $this->_propDict["bootFromBuiltInNetworkAdapters"] = $val; + return $this; + } + + /** + * Gets the bootFromExternalMedia + * Defines whether a user is allowed to boot from external media. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The bootFromExternalMedia + */ + public function getBootFromExternalMedia() + { + if (array_key_exists("bootFromExternalMedia", $this->_propDict)) { + if (is_a($this->_propDict["bootFromExternalMedia"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["bootFromExternalMedia"])) { + return $this->_propDict["bootFromExternalMedia"]; + } else { + $this->_propDict["bootFromExternalMedia"] = new Enablement($this->_propDict["bootFromExternalMedia"]); + return $this->_propDict["bootFromExternalMedia"]; + } + } + return null; + } + + /** + * Sets the bootFromExternalMedia + * Defines whether a user is allowed to boot from external media. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The bootFromExternalMedia + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setBootFromExternalMedia($val) + { + $this->_propDict["bootFromExternalMedia"] = $val; + return $this; + } + + /** + * Gets the cameras + * Defines whether built-in cameras are enabled. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The cameras + */ + public function getCameras() + { + if (array_key_exists("cameras", $this->_propDict)) { + if (is_a($this->_propDict["cameras"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["cameras"])) { + return $this->_propDict["cameras"]; + } else { + $this->_propDict["cameras"] = new Enablement($this->_propDict["cameras"]); + return $this->_propDict["cameras"]; + } + } + return null; + } + + /** + * Sets the cameras + * Defines whether built-in cameras are enabled. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The cameras + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setCameras($val) + { + $this->_propDict["cameras"] = $val; + return $this; + } + + /** + * Gets the changeUefiSettingsPermission + * Defines the permission level granted to users to change UEFI settings. Possible values are: notConfiguredOnly, none. + * + * @return ChangeUefiSettingsPermission|null The changeUefiSettingsPermission + */ + public function getChangeUefiSettingsPermission() + { + if (array_key_exists("changeUefiSettingsPermission", $this->_propDict)) { + if (is_a($this->_propDict["changeUefiSettingsPermission"], "\Beta\Microsoft\Graph\Model\ChangeUefiSettingsPermission") || is_null($this->_propDict["changeUefiSettingsPermission"])) { + return $this->_propDict["changeUefiSettingsPermission"]; + } else { + $this->_propDict["changeUefiSettingsPermission"] = new ChangeUefiSettingsPermission($this->_propDict["changeUefiSettingsPermission"]); + return $this->_propDict["changeUefiSettingsPermission"]; + } + } + return null; + } + + /** + * Sets the changeUefiSettingsPermission + * Defines the permission level granted to users to change UEFI settings. Possible values are: notConfiguredOnly, none. + * + * @param ChangeUefiSettingsPermission $val The changeUefiSettingsPermission + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setChangeUefiSettingsPermission($val) + { + $this->_propDict["changeUefiSettingsPermission"] = $val; + return $this; + } + + /** + * Gets the microphonesAndSpeakers + * Defines whether built-in microphones or speakers are enabled. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The microphonesAndSpeakers + */ + public function getMicrophonesAndSpeakers() + { + if (array_key_exists("microphonesAndSpeakers", $this->_propDict)) { + if (is_a($this->_propDict["microphonesAndSpeakers"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["microphonesAndSpeakers"])) { + return $this->_propDict["microphonesAndSpeakers"]; + } else { + $this->_propDict["microphonesAndSpeakers"] = new Enablement($this->_propDict["microphonesAndSpeakers"]); + return $this->_propDict["microphonesAndSpeakers"]; + } + } + return null; + } + + /** + * Sets the microphonesAndSpeakers + * Defines whether built-in microphones or speakers are enabled. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The microphonesAndSpeakers + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setMicrophonesAndSpeakers($val) + { + $this->_propDict["microphonesAndSpeakers"] = $val; + return $this; + } + + /** + * Gets the radios + * Defines whether built-in radios e.g. WIFI, NFC, Bluetooth, are enabled. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The radios + */ + public function getRadios() + { + if (array_key_exists("radios", $this->_propDict)) { + if (is_a($this->_propDict["radios"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["radios"])) { + return $this->_propDict["radios"]; + } else { + $this->_propDict["radios"] = new Enablement($this->_propDict["radios"]); + return $this->_propDict["radios"]; + } + } + return null; + } + + /** + * Sets the radios + * Defines whether built-in radios e.g. WIFI, NFC, Bluetooth, are enabled. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The radios + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setRadios($val) + { + $this->_propDict["radios"] = $val; + return $this; + } + + /** + * Gets the simultaneousMultiThreading + * Defines whether a user is allowed to enable Simultaneous MultiThreading. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The simultaneousMultiThreading + */ + public function getSimultaneousMultiThreading() + { + if (array_key_exists("simultaneousMultiThreading", $this->_propDict)) { + if (is_a($this->_propDict["simultaneousMultiThreading"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["simultaneousMultiThreading"])) { + return $this->_propDict["simultaneousMultiThreading"]; + } else { + $this->_propDict["simultaneousMultiThreading"] = new Enablement($this->_propDict["simultaneousMultiThreading"]); + return $this->_propDict["simultaneousMultiThreading"]; + } + } + return null; + } + + /** + * Sets the simultaneousMultiThreading + * Defines whether a user is allowed to enable Simultaneous MultiThreading. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The simultaneousMultiThreading + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setSimultaneousMultiThreading($val) + { + $this->_propDict["simultaneousMultiThreading"] = $val; + return $this; + } + + /** + * Gets the virtualizationOfCpuAndIO + * Defines whether CPU and IO virtualization is enabled. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The virtualizationOfCpuAndIO + */ + public function getVirtualizationOfCpuAndIO() + { + if (array_key_exists("virtualizationOfCpuAndIO", $this->_propDict)) { + if (is_a($this->_propDict["virtualizationOfCpuAndIO"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["virtualizationOfCpuAndIO"])) { + return $this->_propDict["virtualizationOfCpuAndIO"]; + } else { + $this->_propDict["virtualizationOfCpuAndIO"] = new Enablement($this->_propDict["virtualizationOfCpuAndIO"]); + return $this->_propDict["virtualizationOfCpuAndIO"]; + } + } + return null; + } + + /** + * Sets the virtualizationOfCpuAndIO + * Defines whether CPU and IO virtualization is enabled. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The virtualizationOfCpuAndIO + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setVirtualizationOfCpuAndIO($val) + { + $this->_propDict["virtualizationOfCpuAndIO"] = $val; + return $this; + } + + /** + * Gets the windowsPlatformBinaryTable + * Defines whether a user is allowed to enable Windows Platform Binary Table. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The windowsPlatformBinaryTable + */ + public function getWindowsPlatformBinaryTable() + { + if (array_key_exists("windowsPlatformBinaryTable", $this->_propDict)) { + if (is_a($this->_propDict["windowsPlatformBinaryTable"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["windowsPlatformBinaryTable"])) { + return $this->_propDict["windowsPlatformBinaryTable"]; + } else { + $this->_propDict["windowsPlatformBinaryTable"] = new Enablement($this->_propDict["windowsPlatformBinaryTable"]); + return $this->_propDict["windowsPlatformBinaryTable"]; + } + } + return null; + } + + /** + * Sets the windowsPlatformBinaryTable + * Defines whether a user is allowed to enable Windows Platform Binary Table. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The windowsPlatformBinaryTable + * + * @return Windows10DeviceFirmwareConfigurationInterface + */ + public function setWindowsPlatformBinaryTable($val) + { + $this->_propDict["windowsPlatformBinaryTable"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceModeType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceModeType.php new file mode 100644 index 0000000..a43eb9a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceModeType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Account name. + * + * @param string $val The accountName + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + + /** + * Gets the durationOfEmailToSync + * Duration of email to sync. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @return EmailSyncDuration|null The durationOfEmailToSync + */ + public function getDurationOfEmailToSync() + { + if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { + if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration") || is_null($this->_propDict["durationOfEmailToSync"])) { + return $this->_propDict["durationOfEmailToSync"]; + } else { + $this->_propDict["durationOfEmailToSync"] = new EmailSyncDuration($this->_propDict["durationOfEmailToSync"]); + return $this->_propDict["durationOfEmailToSync"]; + } + } + return null; + } + + /** + * Sets the durationOfEmailToSync + * Duration of email to sync. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @param EmailSyncDuration $val The durationOfEmailToSync + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setDurationOfEmailToSync($val) + { + $this->_propDict["durationOfEmailToSync"] = $val; + return $this; + } + + /** + * Gets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The emailAddressSource + */ + public function getEmailAddressSource() + { + if (array_key_exists("emailAddressSource", $this->_propDict)) { + if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["emailAddressSource"])) { + return $this->_propDict["emailAddressSource"]; + } else { + $this->_propDict["emailAddressSource"] = new UserEmailSource($this->_propDict["emailAddressSource"]); + return $this->_propDict["emailAddressSource"]; + } + } + return null; + } + + /** + * Sets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The emailAddressSource + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setEmailAddressSource($val) + { + $this->_propDict["emailAddressSource"] = $val; + return $this; + } + + /** + * Gets the emailSyncSchedule + * Email sync schedule. Possible values are: userDefined, asMessagesArrive, manual, fifteenMinutes, thirtyMinutes, sixtyMinutes, basedOnMyUsage. + * + * @return EmailSyncSchedule|null The emailSyncSchedule + */ + public function getEmailSyncSchedule() + { + if (array_key_exists("emailSyncSchedule", $this->_propDict)) { + if (is_a($this->_propDict["emailSyncSchedule"], "\Beta\Microsoft\Graph\Model\EmailSyncSchedule") || is_null($this->_propDict["emailSyncSchedule"])) { + return $this->_propDict["emailSyncSchedule"]; + } else { + $this->_propDict["emailSyncSchedule"] = new EmailSyncSchedule($this->_propDict["emailSyncSchedule"]); + return $this->_propDict["emailSyncSchedule"]; + } + } + return null; + } + + /** + * Sets the emailSyncSchedule + * Email sync schedule. Possible values are: userDefined, asMessagesArrive, manual, fifteenMinutes, thirtyMinutes, sixtyMinutes, basedOnMyUsage. + * + * @param EmailSyncSchedule $val The emailSyncSchedule + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setEmailSyncSchedule($val) + { + $this->_propDict["emailSyncSchedule"] = $val; + return $this; + } + + /** + * Gets the hostName + * Exchange location that (URL) that the native mail app connects to. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * Exchange location that (URL) that the native mail app connects to. + * + * @param string $val The hostName + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + + /** + * Gets the requireSsl + * Indicates whether or not to use SSL. + * + * @return bool|null The requireSsl + */ + public function getRequireSsl() + { + if (array_key_exists("requireSsl", $this->_propDict)) { + return $this->_propDict["requireSsl"]; + } else { + return null; + } + } + + /** + * Sets the requireSsl + * Indicates whether or not to use SSL. + * + * @param bool $val The requireSsl + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setRequireSsl($val) + { + $this->_propDict["requireSsl"] = boolval($val); + return $this; + } + + /** + * Gets the syncCalendar + * Whether or not to sync the calendar. + * + * @return bool|null The syncCalendar + */ + public function getSyncCalendar() + { + if (array_key_exists("syncCalendar", $this->_propDict)) { + return $this->_propDict["syncCalendar"]; + } else { + return null; + } + } + + /** + * Sets the syncCalendar + * Whether or not to sync the calendar. + * + * @param bool $val The syncCalendar + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setSyncCalendar($val) + { + $this->_propDict["syncCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the syncContacts + * Whether or not to sync contacts. + * + * @return bool|null The syncContacts + */ + public function getSyncContacts() + { + if (array_key_exists("syncContacts", $this->_propDict)) { + return $this->_propDict["syncContacts"]; + } else { + return null; + } + } + + /** + * Sets the syncContacts + * Whether or not to sync contacts. + * + * @param bool $val The syncContacts + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setSyncContacts($val) + { + $this->_propDict["syncContacts"] = boolval($val); + return $this; + } + + /** + * Gets the syncTasks + * Whether or not to sync tasks. + * + * @return bool|null The syncTasks + */ + public function getSyncTasks() + { + if (array_key_exists("syncTasks", $this->_propDict)) { + return $this->_propDict["syncTasks"]; + } else { + return null; + } + } + + /** + * Sets the syncTasks + * Whether or not to sync tasks. + * + * @param bool $val The syncTasks + * + * @return Windows10EasEmailProfileConfiguration + */ + public function setSyncTasks($val) + { + $this->_propDict["syncTasks"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EditionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EditionType.php new file mode 100644 index 0000000..53da9de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EditionType.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["applicationGuardAllowCameraMicrophoneRedirection"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowCameraMicrophoneRedirection + * Gets or sets whether applications inside Microsoft Defender Application Guard can access the device’s camera and microphone. + * + * @param bool $val The applicationGuardAllowCameraMicrophoneRedirection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowCameraMicrophoneRedirection($val) + { + $this->_propDict["applicationGuardAllowCameraMicrophoneRedirection"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowFileSaveOnHost + * Allow users to download files from Edge in the application guard container and save them on the host file system + * + * @return bool|null The applicationGuardAllowFileSaveOnHost + */ + public function getApplicationGuardAllowFileSaveOnHost() + { + if (array_key_exists("applicationGuardAllowFileSaveOnHost", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowFileSaveOnHost"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowFileSaveOnHost + * Allow users to download files from Edge in the application guard container and save them on the host file system + * + * @param bool $val The applicationGuardAllowFileSaveOnHost + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowFileSaveOnHost($val) + { + $this->_propDict["applicationGuardAllowFileSaveOnHost"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPersistence + * Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.) + * + * @return bool|null The applicationGuardAllowPersistence + */ + public function getApplicationGuardAllowPersistence() + { + if (array_key_exists("applicationGuardAllowPersistence", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPersistence"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPersistence + * Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.) + * + * @param bool $val The applicationGuardAllowPersistence + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPersistence($val) + { + $this->_propDict["applicationGuardAllowPersistence"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToLocalPrinters + * Allow printing to Local Printers from Container + * + * @return bool|null The applicationGuardAllowPrintToLocalPrinters + */ + public function getApplicationGuardAllowPrintToLocalPrinters() + { + if (array_key_exists("applicationGuardAllowPrintToLocalPrinters", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToLocalPrinters"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToLocalPrinters + * Allow printing to Local Printers from Container + * + * @param bool $val The applicationGuardAllowPrintToLocalPrinters + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToLocalPrinters($val) + { + $this->_propDict["applicationGuardAllowPrintToLocalPrinters"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToNetworkPrinters + * Allow printing to Network Printers from Container + * + * @return bool|null The applicationGuardAllowPrintToNetworkPrinters + */ + public function getApplicationGuardAllowPrintToNetworkPrinters() + { + if (array_key_exists("applicationGuardAllowPrintToNetworkPrinters", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToNetworkPrinters"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToNetworkPrinters + * Allow printing to Network Printers from Container + * + * @param bool $val The applicationGuardAllowPrintToNetworkPrinters + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToNetworkPrinters($val) + { + $this->_propDict["applicationGuardAllowPrintToNetworkPrinters"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToPDF + * Allow printing to PDF from Container + * + * @return bool|null The applicationGuardAllowPrintToPDF + */ + public function getApplicationGuardAllowPrintToPDF() + { + if (array_key_exists("applicationGuardAllowPrintToPDF", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToPDF"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToPDF + * Allow printing to PDF from Container + * + * @param bool $val The applicationGuardAllowPrintToPDF + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToPDF($val) + { + $this->_propDict["applicationGuardAllowPrintToPDF"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToXPS + * Allow printing to XPS from Container + * + * @return bool|null The applicationGuardAllowPrintToXPS + */ + public function getApplicationGuardAllowPrintToXPS() + { + if (array_key_exists("applicationGuardAllowPrintToXPS", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToXPS"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToXPS + * Allow printing to XPS from Container + * + * @param bool $val The applicationGuardAllowPrintToXPS + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToXPS($val) + { + $this->_propDict["applicationGuardAllowPrintToXPS"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowVirtualGPU + * Allow application guard to use virtual GPU + * + * @return bool|null The applicationGuardAllowVirtualGPU + */ + public function getApplicationGuardAllowVirtualGPU() + { + if (array_key_exists("applicationGuardAllowVirtualGPU", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowVirtualGPU"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowVirtualGPU + * Allow application guard to use virtual GPU + * + * @param bool $val The applicationGuardAllowVirtualGPU + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowVirtualGPU($val) + { + $this->_propDict["applicationGuardAllowVirtualGPU"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardBlockClipboardSharing + * Block clipboard to share data from Host to Container, or from Container to Host, or both ways, or neither ways. Possible values are: notConfigured, blockBoth, blockHostToContainer, blockContainerToHost, blockNone. + * + * @return ApplicationGuardBlockClipboardSharingType|null The applicationGuardBlockClipboardSharing + */ + public function getApplicationGuardBlockClipboardSharing() + { + if (array_key_exists("applicationGuardBlockClipboardSharing", $this->_propDict)) { + if (is_a($this->_propDict["applicationGuardBlockClipboardSharing"], "\Beta\Microsoft\Graph\Model\ApplicationGuardBlockClipboardSharingType") || is_null($this->_propDict["applicationGuardBlockClipboardSharing"])) { + return $this->_propDict["applicationGuardBlockClipboardSharing"]; + } else { + $this->_propDict["applicationGuardBlockClipboardSharing"] = new ApplicationGuardBlockClipboardSharingType($this->_propDict["applicationGuardBlockClipboardSharing"]); + return $this->_propDict["applicationGuardBlockClipboardSharing"]; + } + } + return null; + } + + /** + * Sets the applicationGuardBlockClipboardSharing + * Block clipboard to share data from Host to Container, or from Container to Host, or both ways, or neither ways. Possible values are: notConfigured, blockBoth, blockHostToContainer, blockContainerToHost, blockNone. + * + * @param ApplicationGuardBlockClipboardSharingType $val The applicationGuardBlockClipboardSharing + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardBlockClipboardSharing($val) + { + $this->_propDict["applicationGuardBlockClipboardSharing"] = $val; + return $this; + } + + /** + * Gets the applicationGuardBlockFileTransfer + * Block clipboard to transfer image file, text file or neither of them. Possible values are: notConfigured, blockImageAndTextFile, blockImageFile, blockNone, blockTextFile. + * + * @return ApplicationGuardBlockFileTransferType|null The applicationGuardBlockFileTransfer + */ + public function getApplicationGuardBlockFileTransfer() + { + if (array_key_exists("applicationGuardBlockFileTransfer", $this->_propDict)) { + if (is_a($this->_propDict["applicationGuardBlockFileTransfer"], "\Beta\Microsoft\Graph\Model\ApplicationGuardBlockFileTransferType") || is_null($this->_propDict["applicationGuardBlockFileTransfer"])) { + return $this->_propDict["applicationGuardBlockFileTransfer"]; + } else { + $this->_propDict["applicationGuardBlockFileTransfer"] = new ApplicationGuardBlockFileTransferType($this->_propDict["applicationGuardBlockFileTransfer"]); + return $this->_propDict["applicationGuardBlockFileTransfer"]; + } + } + return null; + } + + /** + * Sets the applicationGuardBlockFileTransfer + * Block clipboard to transfer image file, text file or neither of them. Possible values are: notConfigured, blockImageAndTextFile, blockImageFile, blockNone, blockTextFile. + * + * @param ApplicationGuardBlockFileTransferType $val The applicationGuardBlockFileTransfer + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardBlockFileTransfer($val) + { + $this->_propDict["applicationGuardBlockFileTransfer"] = $val; + return $this; + } + + /** + * Gets the applicationGuardBlockNonEnterpriseContent + * Block enterprise sites to load non-enterprise content, such as third party plug-ins + * + * @return bool|null The applicationGuardBlockNonEnterpriseContent + */ + public function getApplicationGuardBlockNonEnterpriseContent() + { + if (array_key_exists("applicationGuardBlockNonEnterpriseContent", $this->_propDict)) { + return $this->_propDict["applicationGuardBlockNonEnterpriseContent"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardBlockNonEnterpriseContent + * Block enterprise sites to load non-enterprise content, such as third party plug-ins + * + * @param bool $val The applicationGuardBlockNonEnterpriseContent + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardBlockNonEnterpriseContent($val) + { + $this->_propDict["applicationGuardBlockNonEnterpriseContent"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardCertificateThumbprints + * Allows certain device level Root Certificates to be shared with the Microsoft Defender Application Guard container. + * + * @return string|null The applicationGuardCertificateThumbprints + */ + public function getApplicationGuardCertificateThumbprints() + { + if (array_key_exists("applicationGuardCertificateThumbprints", $this->_propDict)) { + return $this->_propDict["applicationGuardCertificateThumbprints"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardCertificateThumbprints + * Allows certain device level Root Certificates to be shared with the Microsoft Defender Application Guard container. + * + * @param string $val The applicationGuardCertificateThumbprints + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardCertificateThumbprints($val) + { + $this->_propDict["applicationGuardCertificateThumbprints"] = $val; + return $this; + } + + /** + * Gets the applicationGuardEnabled + * Enable Windows Defender Application Guard + * + * @return bool|null The applicationGuardEnabled + */ + public function getApplicationGuardEnabled() + { + if (array_key_exists("applicationGuardEnabled", $this->_propDict)) { + return $this->_propDict["applicationGuardEnabled"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardEnabled + * Enable Windows Defender Application Guard + * + * @param bool $val The applicationGuardEnabled + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardEnabled($val) + { + $this->_propDict["applicationGuardEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardEnabledOptions + * Enable Windows Defender Application Guard for newer Windows builds. Possible values are: notConfigured, enabledForEdge, enabledForOffice, enabledForEdgeAndOffice. + * + * @return ApplicationGuardEnabledOptions|null The applicationGuardEnabledOptions + */ + public function getApplicationGuardEnabledOptions() + { + if (array_key_exists("applicationGuardEnabledOptions", $this->_propDict)) { + if (is_a($this->_propDict["applicationGuardEnabledOptions"], "\Beta\Microsoft\Graph\Model\ApplicationGuardEnabledOptions") || is_null($this->_propDict["applicationGuardEnabledOptions"])) { + return $this->_propDict["applicationGuardEnabledOptions"]; + } else { + $this->_propDict["applicationGuardEnabledOptions"] = new ApplicationGuardEnabledOptions($this->_propDict["applicationGuardEnabledOptions"]); + return $this->_propDict["applicationGuardEnabledOptions"]; + } + } + return null; + } + + /** + * Sets the applicationGuardEnabledOptions + * Enable Windows Defender Application Guard for newer Windows builds. Possible values are: notConfigured, enabledForEdge, enabledForOffice, enabledForEdgeAndOffice. + * + * @param ApplicationGuardEnabledOptions $val The applicationGuardEnabledOptions + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardEnabledOptions($val) + { + $this->_propDict["applicationGuardEnabledOptions"] = $val; + return $this; + } + + /** + * Gets the applicationGuardForceAuditing + * Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.) + * + * @return bool|null The applicationGuardForceAuditing + */ + public function getApplicationGuardForceAuditing() + { + if (array_key_exists("applicationGuardForceAuditing", $this->_propDict)) { + return $this->_propDict["applicationGuardForceAuditing"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardForceAuditing + * Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.) + * + * @param bool $val The applicationGuardForceAuditing + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardForceAuditing($val) + { + $this->_propDict["applicationGuardForceAuditing"] = boolval($val); + return $this; + } + + /** + * Gets the appLockerApplicationControl + * Enables the Admin to choose what types of app to allow on devices. Possible values are: notConfigured, enforceComponentsAndStoreApps, auditComponentsAndStoreApps, enforceComponentsStoreAppsAndSmartlocker, auditComponentsStoreAppsAndSmartlocker. + * + * @return AppLockerApplicationControlType|null The appLockerApplicationControl + */ + public function getAppLockerApplicationControl() + { + if (array_key_exists("appLockerApplicationControl", $this->_propDict)) { + if (is_a($this->_propDict["appLockerApplicationControl"], "\Beta\Microsoft\Graph\Model\AppLockerApplicationControlType") || is_null($this->_propDict["appLockerApplicationControl"])) { + return $this->_propDict["appLockerApplicationControl"]; + } else { + $this->_propDict["appLockerApplicationControl"] = new AppLockerApplicationControlType($this->_propDict["appLockerApplicationControl"]); + return $this->_propDict["appLockerApplicationControl"]; + } + } + return null; + } + + /** + * Sets the appLockerApplicationControl + * Enables the Admin to choose what types of app to allow on devices. Possible values are: notConfigured, enforceComponentsAndStoreApps, auditComponentsAndStoreApps, enforceComponentsStoreAppsAndSmartlocker, auditComponentsStoreAppsAndSmartlocker. + * + * @param AppLockerApplicationControlType $val The appLockerApplicationControl + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setAppLockerApplicationControl($val) + { + $this->_propDict["appLockerApplicationControl"] = $val; + return $this; + } + + /** + * Gets the bitLockerAllowStandardUserEncryption + * Allows the admin to allow standard users to enable encrpytion during Azure AD Join. + * + * @return bool|null The bitLockerAllowStandardUserEncryption + */ + public function getBitLockerAllowStandardUserEncryption() + { + if (array_key_exists("bitLockerAllowStandardUserEncryption", $this->_propDict)) { + return $this->_propDict["bitLockerAllowStandardUserEncryption"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerAllowStandardUserEncryption + * Allows the admin to allow standard users to enable encrpytion during Azure AD Join. + * + * @param bool $val The bitLockerAllowStandardUserEncryption + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerAllowStandardUserEncryption($val) + { + $this->_propDict["bitLockerAllowStandardUserEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerDisableWarningForOtherDiskEncryption + * Allows the Admin to disable the warning prompt for other disk encryption on the user machines. + * + * @return bool|null The bitLockerDisableWarningForOtherDiskEncryption + */ + public function getBitLockerDisableWarningForOtherDiskEncryption() + { + if (array_key_exists("bitLockerDisableWarningForOtherDiskEncryption", $this->_propDict)) { + return $this->_propDict["bitLockerDisableWarningForOtherDiskEncryption"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerDisableWarningForOtherDiskEncryption + * Allows the Admin to disable the warning prompt for other disk encryption on the user machines. + * + * @param bool $val The bitLockerDisableWarningForOtherDiskEncryption + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerDisableWarningForOtherDiskEncryption($val) + { + $this->_propDict["bitLockerDisableWarningForOtherDiskEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerEnableStorageCardEncryptionOnMobile + * Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU. + * + * @return bool|null The bitLockerEnableStorageCardEncryptionOnMobile + */ + public function getBitLockerEnableStorageCardEncryptionOnMobile() + { + if (array_key_exists("bitLockerEnableStorageCardEncryptionOnMobile", $this->_propDict)) { + return $this->_propDict["bitLockerEnableStorageCardEncryptionOnMobile"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEnableStorageCardEncryptionOnMobile + * Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU. + * + * @param bool $val The bitLockerEnableStorageCardEncryptionOnMobile + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerEnableStorageCardEncryptionOnMobile($val) + { + $this->_propDict["bitLockerEnableStorageCardEncryptionOnMobile"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerEncryptDevice + * Allows the admin to require encryption to be turned on using BitLocker. + * + * @return bool|null The bitLockerEncryptDevice + */ + public function getBitLockerEncryptDevice() + { + if (array_key_exists("bitLockerEncryptDevice", $this->_propDict)) { + return $this->_propDict["bitLockerEncryptDevice"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEncryptDevice + * Allows the admin to require encryption to be turned on using BitLocker. + * + * @param bool $val The bitLockerEncryptDevice + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerEncryptDevice($val) + { + $this->_propDict["bitLockerEncryptDevice"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerFixedDrivePolicy + * BitLocker Fixed Drive Policy. + * + * @return BitLockerFixedDrivePolicy|null The bitLockerFixedDrivePolicy + */ + public function getBitLockerFixedDrivePolicy() + { + if (array_key_exists("bitLockerFixedDrivePolicy", $this->_propDict)) { + if (is_a($this->_propDict["bitLockerFixedDrivePolicy"], "\Beta\Microsoft\Graph\Model\BitLockerFixedDrivePolicy") || is_null($this->_propDict["bitLockerFixedDrivePolicy"])) { + return $this->_propDict["bitLockerFixedDrivePolicy"]; + } else { + $this->_propDict["bitLockerFixedDrivePolicy"] = new BitLockerFixedDrivePolicy($this->_propDict["bitLockerFixedDrivePolicy"]); + return $this->_propDict["bitLockerFixedDrivePolicy"]; + } + } + return null; + } + + /** + * Sets the bitLockerFixedDrivePolicy + * BitLocker Fixed Drive Policy. + * + * @param BitLockerFixedDrivePolicy $val The bitLockerFixedDrivePolicy + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerFixedDrivePolicy($val) + { + $this->_propDict["bitLockerFixedDrivePolicy"] = $val; + return $this; + } + + /** + * Gets the bitLockerRecoveryPasswordRotation + * This setting initiates a client-driven recovery password rotation after an OS drive recovery (either by using bootmgr or WinRE). Possible values are: notConfigured, disabled, enabledForAzureAd, enabledForAzureAdAndHybrid. + * + * @return BitLockerRecoveryPasswordRotationType|null The bitLockerRecoveryPasswordRotation + */ + public function getBitLockerRecoveryPasswordRotation() + { + if (array_key_exists("bitLockerRecoveryPasswordRotation", $this->_propDict)) { + if (is_a($this->_propDict["bitLockerRecoveryPasswordRotation"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryPasswordRotationType") || is_null($this->_propDict["bitLockerRecoveryPasswordRotation"])) { + return $this->_propDict["bitLockerRecoveryPasswordRotation"]; + } else { + $this->_propDict["bitLockerRecoveryPasswordRotation"] = new BitLockerRecoveryPasswordRotationType($this->_propDict["bitLockerRecoveryPasswordRotation"]); + return $this->_propDict["bitLockerRecoveryPasswordRotation"]; + } + } + return null; + } + + /** + * Sets the bitLockerRecoveryPasswordRotation + * This setting initiates a client-driven recovery password rotation after an OS drive recovery (either by using bootmgr or WinRE). Possible values are: notConfigured, disabled, enabledForAzureAd, enabledForAzureAdAndHybrid. + * + * @param BitLockerRecoveryPasswordRotationType $val The bitLockerRecoveryPasswordRotation + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerRecoveryPasswordRotation($val) + { + $this->_propDict["bitLockerRecoveryPasswordRotation"] = $val; + return $this; + } + + /** + * Gets the bitLockerRemovableDrivePolicy + * BitLocker Removable Drive Policy. + * + * @return BitLockerRemovableDrivePolicy|null The bitLockerRemovableDrivePolicy + */ + public function getBitLockerRemovableDrivePolicy() + { + if (array_key_exists("bitLockerRemovableDrivePolicy", $this->_propDict)) { + if (is_a($this->_propDict["bitLockerRemovableDrivePolicy"], "\Beta\Microsoft\Graph\Model\BitLockerRemovableDrivePolicy") || is_null($this->_propDict["bitLockerRemovableDrivePolicy"])) { + return $this->_propDict["bitLockerRemovableDrivePolicy"]; + } else { + $this->_propDict["bitLockerRemovableDrivePolicy"] = new BitLockerRemovableDrivePolicy($this->_propDict["bitLockerRemovableDrivePolicy"]); + return $this->_propDict["bitLockerRemovableDrivePolicy"]; + } + } + return null; + } + + /** + * Sets the bitLockerRemovableDrivePolicy + * BitLocker Removable Drive Policy. + * + * @param BitLockerRemovableDrivePolicy $val The bitLockerRemovableDrivePolicy + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerRemovableDrivePolicy($val) + { + $this->_propDict["bitLockerRemovableDrivePolicy"] = $val; + return $this; + } + + /** + * Gets the bitLockerSystemDrivePolicy + * BitLocker System Drive Policy. + * + * @return BitLockerSystemDrivePolicy|null The bitLockerSystemDrivePolicy + */ + public function getBitLockerSystemDrivePolicy() + { + if (array_key_exists("bitLockerSystemDrivePolicy", $this->_propDict)) { + if (is_a($this->_propDict["bitLockerSystemDrivePolicy"], "\Beta\Microsoft\Graph\Model\BitLockerSystemDrivePolicy") || is_null($this->_propDict["bitLockerSystemDrivePolicy"])) { + return $this->_propDict["bitLockerSystemDrivePolicy"]; + } else { + $this->_propDict["bitLockerSystemDrivePolicy"] = new BitLockerSystemDrivePolicy($this->_propDict["bitLockerSystemDrivePolicy"]); + return $this->_propDict["bitLockerSystemDrivePolicy"]; + } + } + return null; + } + + /** + * Sets the bitLockerSystemDrivePolicy + * BitLocker System Drive Policy. + * + * @param BitLockerSystemDrivePolicy $val The bitLockerSystemDrivePolicy + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerSystemDrivePolicy($val) + { + $this->_propDict["bitLockerSystemDrivePolicy"] = $val; + return $this; + } + + /** + * Gets the defenderAdditionalGuardedFolders + * List of folder paths to be added to the list of protected folders + * + * @return string|null The defenderAdditionalGuardedFolders + */ + public function getDefenderAdditionalGuardedFolders() + { + if (array_key_exists("defenderAdditionalGuardedFolders", $this->_propDict)) { + return $this->_propDict["defenderAdditionalGuardedFolders"]; + } else { + return null; + } + } + + /** + * Sets the defenderAdditionalGuardedFolders + * List of folder paths to be added to the list of protected folders + * + * @param string $val The defenderAdditionalGuardedFolders + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAdditionalGuardedFolders($val) + { + $this->_propDict["defenderAdditionalGuardedFolders"] = $val; + return $this; + } + + /** + * Gets the defenderAdobeReaderLaunchChildProcess + * Value indicating the behavior of Adobe Reader from creating child processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderAdobeReaderLaunchChildProcess + */ + public function getDefenderAdobeReaderLaunchChildProcess() + { + if (array_key_exists("defenderAdobeReaderLaunchChildProcess", $this->_propDict)) { + if (is_a($this->_propDict["defenderAdobeReaderLaunchChildProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderAdobeReaderLaunchChildProcess"])) { + return $this->_propDict["defenderAdobeReaderLaunchChildProcess"]; + } else { + $this->_propDict["defenderAdobeReaderLaunchChildProcess"] = new DefenderProtectionType($this->_propDict["defenderAdobeReaderLaunchChildProcess"]); + return $this->_propDict["defenderAdobeReaderLaunchChildProcess"]; + } + } + return null; + } + + /** + * Sets the defenderAdobeReaderLaunchChildProcess + * Value indicating the behavior of Adobe Reader from creating child processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderAdobeReaderLaunchChildProcess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAdobeReaderLaunchChildProcess($val) + { + $this->_propDict["defenderAdobeReaderLaunchChildProcess"] = $val; + return $this; + } + + /** + * Gets the defenderAdvancedRansomewareProtectionType + * Value indicating use of advanced protection against ransomeware. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderAdvancedRansomewareProtectionType + */ + public function getDefenderAdvancedRansomewareProtectionType() + { + if (array_key_exists("defenderAdvancedRansomewareProtectionType", $this->_propDict)) { + if (is_a($this->_propDict["defenderAdvancedRansomewareProtectionType"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderAdvancedRansomewareProtectionType"])) { + return $this->_propDict["defenderAdvancedRansomewareProtectionType"]; + } else { + $this->_propDict["defenderAdvancedRansomewareProtectionType"] = new DefenderProtectionType($this->_propDict["defenderAdvancedRansomewareProtectionType"]); + return $this->_propDict["defenderAdvancedRansomewareProtectionType"]; + } + } + return null; + } + + /** + * Sets the defenderAdvancedRansomewareProtectionType + * Value indicating use of advanced protection against ransomeware. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderAdvancedRansomewareProtectionType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAdvancedRansomewareProtectionType($val) + { + $this->_propDict["defenderAdvancedRansomewareProtectionType"] = $val; + return $this; + } + + /** + * Gets the defenderAllowBehaviorMonitoring + * Allows or disallows Windows Defender Behavior Monitoring functionality. + * + * @return bool|null The defenderAllowBehaviorMonitoring + */ + public function getDefenderAllowBehaviorMonitoring() + { + if (array_key_exists("defenderAllowBehaviorMonitoring", $this->_propDict)) { + return $this->_propDict["defenderAllowBehaviorMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowBehaviorMonitoring + * Allows or disallows Windows Defender Behavior Monitoring functionality. + * + * @param bool $val The defenderAllowBehaviorMonitoring + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowBehaviorMonitoring($val) + { + $this->_propDict["defenderAllowBehaviorMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowCloudProtection + * To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. + * + * @return bool|null The defenderAllowCloudProtection + */ + public function getDefenderAllowCloudProtection() + { + if (array_key_exists("defenderAllowCloudProtection", $this->_propDict)) { + return $this->_propDict["defenderAllowCloudProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowCloudProtection + * To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. + * + * @param bool $val The defenderAllowCloudProtection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowCloudProtection($val) + { + $this->_propDict["defenderAllowCloudProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowEndUserAccess + * Allows or disallows user access to the Windows Defender UI. If disallowed, all Windows Defender notifications will also be suppressed. + * + * @return bool|null The defenderAllowEndUserAccess + */ + public function getDefenderAllowEndUserAccess() + { + if (array_key_exists("defenderAllowEndUserAccess", $this->_propDict)) { + return $this->_propDict["defenderAllowEndUserAccess"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowEndUserAccess + * Allows or disallows user access to the Windows Defender UI. If disallowed, all Windows Defender notifications will also be suppressed. + * + * @param bool $val The defenderAllowEndUserAccess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowEndUserAccess($val) + { + $this->_propDict["defenderAllowEndUserAccess"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowIntrusionPreventionSystem + * Allows or disallows Windows Defender Intrusion Prevention functionality. + * + * @return bool|null The defenderAllowIntrusionPreventionSystem + */ + public function getDefenderAllowIntrusionPreventionSystem() + { + if (array_key_exists("defenderAllowIntrusionPreventionSystem", $this->_propDict)) { + return $this->_propDict["defenderAllowIntrusionPreventionSystem"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowIntrusionPreventionSystem + * Allows or disallows Windows Defender Intrusion Prevention functionality. + * + * @param bool $val The defenderAllowIntrusionPreventionSystem + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowIntrusionPreventionSystem($val) + { + $this->_propDict["defenderAllowIntrusionPreventionSystem"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowOnAccessProtection + * Allows or disallows Windows Defender On Access Protection functionality. + * + * @return bool|null The defenderAllowOnAccessProtection + */ + public function getDefenderAllowOnAccessProtection() + { + if (array_key_exists("defenderAllowOnAccessProtection", $this->_propDict)) { + return $this->_propDict["defenderAllowOnAccessProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowOnAccessProtection + * Allows or disallows Windows Defender On Access Protection functionality. + * + * @param bool $val The defenderAllowOnAccessProtection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowOnAccessProtection($val) + { + $this->_propDict["defenderAllowOnAccessProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowRealTimeMonitoring + * Allows or disallows Windows Defender Realtime Monitoring functionality. + * + * @return bool|null The defenderAllowRealTimeMonitoring + */ + public function getDefenderAllowRealTimeMonitoring() + { + if (array_key_exists("defenderAllowRealTimeMonitoring", $this->_propDict)) { + return $this->_propDict["defenderAllowRealTimeMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowRealTimeMonitoring + * Allows or disallows Windows Defender Realtime Monitoring functionality. + * + * @param bool $val The defenderAllowRealTimeMonitoring + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowRealTimeMonitoring($val) + { + $this->_propDict["defenderAllowRealTimeMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowScanArchiveFiles + * Allows or disallows scanning of archives. + * + * @return bool|null The defenderAllowScanArchiveFiles + */ + public function getDefenderAllowScanArchiveFiles() + { + if (array_key_exists("defenderAllowScanArchiveFiles", $this->_propDict)) { + return $this->_propDict["defenderAllowScanArchiveFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowScanArchiveFiles + * Allows or disallows scanning of archives. + * + * @param bool $val The defenderAllowScanArchiveFiles + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowScanArchiveFiles($val) + { + $this->_propDict["defenderAllowScanArchiveFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowScanDownloads + * Allows or disallows Windows Defender IOAVP Protection functionality. + * + * @return bool|null The defenderAllowScanDownloads + */ + public function getDefenderAllowScanDownloads() + { + if (array_key_exists("defenderAllowScanDownloads", $this->_propDict)) { + return $this->_propDict["defenderAllowScanDownloads"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowScanDownloads + * Allows or disallows Windows Defender IOAVP Protection functionality. + * + * @param bool $val The defenderAllowScanDownloads + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowScanDownloads($val) + { + $this->_propDict["defenderAllowScanDownloads"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowScanNetworkFiles + * Allows or disallows a scanning of network files. + * + * @return bool|null The defenderAllowScanNetworkFiles + */ + public function getDefenderAllowScanNetworkFiles() + { + if (array_key_exists("defenderAllowScanNetworkFiles", $this->_propDict)) { + return $this->_propDict["defenderAllowScanNetworkFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowScanNetworkFiles + * Allows or disallows a scanning of network files. + * + * @param bool $val The defenderAllowScanNetworkFiles + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowScanNetworkFiles($val) + { + $this->_propDict["defenderAllowScanNetworkFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowScanRemovableDrivesDuringFullScan + * Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. + * + * @return bool|null The defenderAllowScanRemovableDrivesDuringFullScan + */ + public function getDefenderAllowScanRemovableDrivesDuringFullScan() + { + if (array_key_exists("defenderAllowScanRemovableDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderAllowScanRemovableDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowScanRemovableDrivesDuringFullScan + * Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. + * + * @param bool $val The defenderAllowScanRemovableDrivesDuringFullScan + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowScanRemovableDrivesDuringFullScan($val) + { + $this->_propDict["defenderAllowScanRemovableDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAllowScanScriptsLoadedInInternetExplorer + * Allows or disallows Windows Defender Script Scanning functionality. + * + * @return bool|null The defenderAllowScanScriptsLoadedInInternetExplorer + */ + public function getDefenderAllowScanScriptsLoadedInInternetExplorer() + { + if (array_key_exists("defenderAllowScanScriptsLoadedInInternetExplorer", $this->_propDict)) { + return $this->_propDict["defenderAllowScanScriptsLoadedInInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the defenderAllowScanScriptsLoadedInInternetExplorer + * Allows or disallows Windows Defender Script Scanning functionality. + * + * @param bool $val The defenderAllowScanScriptsLoadedInInternetExplorer + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAllowScanScriptsLoadedInInternetExplorer($val) + { + $this->_propDict["defenderAllowScanScriptsLoadedInInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the defenderAttackSurfaceReductionExcludedPaths + * List of exe files and folders to be excluded from attack surface reduction rules + * + * @return string|null The defenderAttackSurfaceReductionExcludedPaths + */ + public function getDefenderAttackSurfaceReductionExcludedPaths() + { + if (array_key_exists("defenderAttackSurfaceReductionExcludedPaths", $this->_propDict)) { + return $this->_propDict["defenderAttackSurfaceReductionExcludedPaths"]; + } else { + return null; + } + } + + /** + * Sets the defenderAttackSurfaceReductionExcludedPaths + * List of exe files and folders to be excluded from attack surface reduction rules + * + * @param string $val The defenderAttackSurfaceReductionExcludedPaths + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAttackSurfaceReductionExcludedPaths($val) + { + $this->_propDict["defenderAttackSurfaceReductionExcludedPaths"] = $val; + return $this; + } + + /** + * Gets the defenderBlockEndUserAccess + * Allows or disallows user access to the Windows Defender UI. If disallowed, all Windows Defender notifications will also be suppressed. + * + * @return bool|null The defenderBlockEndUserAccess + */ + public function getDefenderBlockEndUserAccess() + { + if (array_key_exists("defenderBlockEndUserAccess", $this->_propDict)) { + return $this->_propDict["defenderBlockEndUserAccess"]; + } else { + return null; + } + } + + /** + * Sets the defenderBlockEndUserAccess + * Allows or disallows user access to the Windows Defender UI. If disallowed, all Windows Defender notifications will also be suppressed. + * + * @param bool $val The defenderBlockEndUserAccess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderBlockEndUserAccess($val) + { + $this->_propDict["defenderBlockEndUserAccess"] = boolval($val); + return $this; + } + + /** + * Gets the defenderBlockPersistenceThroughWmiType + * Value indicating the behavior of Block persistence through WMI event subscription. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderBlockPersistenceThroughWmiType + */ + public function getDefenderBlockPersistenceThroughWmiType() + { + if (array_key_exists("defenderBlockPersistenceThroughWmiType", $this->_propDict)) { + if (is_a($this->_propDict["defenderBlockPersistenceThroughWmiType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderBlockPersistenceThroughWmiType"])) { + return $this->_propDict["defenderBlockPersistenceThroughWmiType"]; + } else { + $this->_propDict["defenderBlockPersistenceThroughWmiType"] = new DefenderAttackSurfaceType($this->_propDict["defenderBlockPersistenceThroughWmiType"]); + return $this->_propDict["defenderBlockPersistenceThroughWmiType"]; + } + } + return null; + } + + /** + * Sets the defenderBlockPersistenceThroughWmiType + * Value indicating the behavior of Block persistence through WMI event subscription. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderBlockPersistenceThroughWmiType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderBlockPersistenceThroughWmiType($val) + { + $this->_propDict["defenderBlockPersistenceThroughWmiType"] = $val; + return $this; + } + + /** + * Gets the defenderCheckForSignaturesBeforeRunningScan + * This policy setting allows you to manage whether a check for new virus and spyware definitions will occur before running a scan. + * + * @return bool|null The defenderCheckForSignaturesBeforeRunningScan + */ + public function getDefenderCheckForSignaturesBeforeRunningScan() + { + if (array_key_exists("defenderCheckForSignaturesBeforeRunningScan", $this->_propDict)) { + return $this->_propDict["defenderCheckForSignaturesBeforeRunningScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderCheckForSignaturesBeforeRunningScan + * This policy setting allows you to manage whether a check for new virus and spyware definitions will occur before running a scan. + * + * @param bool $val The defenderCheckForSignaturesBeforeRunningScan + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderCheckForSignaturesBeforeRunningScan($val) + { + $this->_propDict["defenderCheckForSignaturesBeforeRunningScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderCloudBlockLevel + * Added in Windows 10, version 1709. This policy setting determines how aggressive Windows Defender Antivirus will be in blocking and scanning suspicious files. Value type is integer. This feature requires the 'Join Microsoft MAPS' setting enabled in order to function. Possible values are: notConfigured, high, highPlus, zeroTolerance. + * + * @return DefenderCloudBlockLevelType|null The defenderCloudBlockLevel + */ + public function getDefenderCloudBlockLevel() + { + if (array_key_exists("defenderCloudBlockLevel", $this->_propDict)) { + if (is_a($this->_propDict["defenderCloudBlockLevel"], "\Beta\Microsoft\Graph\Model\DefenderCloudBlockLevelType") || is_null($this->_propDict["defenderCloudBlockLevel"])) { + return $this->_propDict["defenderCloudBlockLevel"]; + } else { + $this->_propDict["defenderCloudBlockLevel"] = new DefenderCloudBlockLevelType($this->_propDict["defenderCloudBlockLevel"]); + return $this->_propDict["defenderCloudBlockLevel"]; + } + } + return null; + } + + /** + * Sets the defenderCloudBlockLevel + * Added in Windows 10, version 1709. This policy setting determines how aggressive Windows Defender Antivirus will be in blocking and scanning suspicious files. Value type is integer. This feature requires the 'Join Microsoft MAPS' setting enabled in order to function. Possible values are: notConfigured, high, highPlus, zeroTolerance. + * + * @param DefenderCloudBlockLevelType $val The defenderCloudBlockLevel + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderCloudBlockLevel($val) + { + $this->_propDict["defenderCloudBlockLevel"] = $val; + return $this; + } + + /** + * Gets the defenderCloudExtendedTimeoutInSeconds + * Added in Windows 10, version 1709. This feature allows Windows Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe. Value type is integer, range is 0 - 50. This feature depends on three other MAPS settings the must all be enabled- 'Configure the 'Block at First Sight' feature; 'Join Microsoft MAPS'; 'Send file samples when further analysis is required'. Valid values 0 to 50 + * + * @return int|null The defenderCloudExtendedTimeoutInSeconds + */ + public function getDefenderCloudExtendedTimeoutInSeconds() + { + if (array_key_exists("defenderCloudExtendedTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["defenderCloudExtendedTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the defenderCloudExtendedTimeoutInSeconds + * Added in Windows 10, version 1709. This feature allows Windows Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe. Value type is integer, range is 0 - 50. This feature depends on three other MAPS settings the must all be enabled- 'Configure the 'Block at First Sight' feature; 'Join Microsoft MAPS'; 'Send file samples when further analysis is required'. Valid values 0 to 50 + * + * @param int $val The defenderCloudExtendedTimeoutInSeconds + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderCloudExtendedTimeoutInSeconds($val) + { + $this->_propDict["defenderCloudExtendedTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the defenderDaysBeforeDeletingQuarantinedMalware + * Time period (in days) that quarantine items will be stored on the system. Valid values 0 to 90 + * + * @return int|null The defenderDaysBeforeDeletingQuarantinedMalware + */ + public function getDefenderDaysBeforeDeletingQuarantinedMalware() + { + if (array_key_exists("defenderDaysBeforeDeletingQuarantinedMalware", $this->_propDict)) { + return $this->_propDict["defenderDaysBeforeDeletingQuarantinedMalware"]; + } else { + return null; + } + } + + /** + * Sets the defenderDaysBeforeDeletingQuarantinedMalware + * Time period (in days) that quarantine items will be stored on the system. Valid values 0 to 90 + * + * @param int $val The defenderDaysBeforeDeletingQuarantinedMalware + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDaysBeforeDeletingQuarantinedMalware($val) + { + $this->_propDict["defenderDaysBeforeDeletingQuarantinedMalware"] = intval($val); + return $this; + } + + /** + * Gets the defenderDetectedMalwareActions + * Allows an administrator to specify any valid threat severity levels and the corresponding default action ID to take. + * + * @return DefenderDetectedMalwareActions|null The defenderDetectedMalwareActions + */ + public function getDefenderDetectedMalwareActions() + { + if (array_key_exists("defenderDetectedMalwareActions", $this->_propDict)) { + if (is_a($this->_propDict["defenderDetectedMalwareActions"], "\Beta\Microsoft\Graph\Model\DefenderDetectedMalwareActions") || is_null($this->_propDict["defenderDetectedMalwareActions"])) { + return $this->_propDict["defenderDetectedMalwareActions"]; + } else { + $this->_propDict["defenderDetectedMalwareActions"] = new DefenderDetectedMalwareActions($this->_propDict["defenderDetectedMalwareActions"]); + return $this->_propDict["defenderDetectedMalwareActions"]; + } + } + return null; + } + + /** + * Sets the defenderDetectedMalwareActions + * Allows an administrator to specify any valid threat severity levels and the corresponding default action ID to take. + * + * @param DefenderDetectedMalwareActions $val The defenderDetectedMalwareActions + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDetectedMalwareActions($val) + { + $this->_propDict["defenderDetectedMalwareActions"] = $val; + return $this; + } + + /** + * Gets the defenderDisableBehaviorMonitoring + * Allows or disallows Windows Defender Behavior Monitoring functionality. + * + * @return bool|null The defenderDisableBehaviorMonitoring + */ + public function getDefenderDisableBehaviorMonitoring() + { + if (array_key_exists("defenderDisableBehaviorMonitoring", $this->_propDict)) { + return $this->_propDict["defenderDisableBehaviorMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableBehaviorMonitoring + * Allows or disallows Windows Defender Behavior Monitoring functionality. + * + * @param bool $val The defenderDisableBehaviorMonitoring + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableBehaviorMonitoring($val) + { + $this->_propDict["defenderDisableBehaviorMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableCatchupFullScan + * This policy setting allows you to configure catch-up scans for scheduled full scans. A catch-up scan is a scan that is initiated because a regularly scheduled scan was missed. Usually these scheduled scans are missed because the computer was turned off at the scheduled time. + * + * @return bool|null The defenderDisableCatchupFullScan + */ + public function getDefenderDisableCatchupFullScan() + { + if (array_key_exists("defenderDisableCatchupFullScan", $this->_propDict)) { + return $this->_propDict["defenderDisableCatchupFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableCatchupFullScan + * This policy setting allows you to configure catch-up scans for scheduled full scans. A catch-up scan is a scan that is initiated because a regularly scheduled scan was missed. Usually these scheduled scans are missed because the computer was turned off at the scheduled time. + * + * @param bool $val The defenderDisableCatchupFullScan + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableCatchupFullScan($val) + { + $this->_propDict["defenderDisableCatchupFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableCatchupQuickScan + * This policy setting allows you to configure catch-up scans for scheduled quick scans. A catch-up scan is a scan that is initiated because a regularly scheduled scan was missed. Usually these scheduled scans are missed because the computer was turned off at the scheduled time. + * + * @return bool|null The defenderDisableCatchupQuickScan + */ + public function getDefenderDisableCatchupQuickScan() + { + if (array_key_exists("defenderDisableCatchupQuickScan", $this->_propDict)) { + return $this->_propDict["defenderDisableCatchupQuickScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableCatchupQuickScan + * This policy setting allows you to configure catch-up scans for scheduled quick scans. A catch-up scan is a scan that is initiated because a regularly scheduled scan was missed. Usually these scheduled scans are missed because the computer was turned off at the scheduled time. + * + * @param bool $val The defenderDisableCatchupQuickScan + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableCatchupQuickScan($val) + { + $this->_propDict["defenderDisableCatchupQuickScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableCloudProtection + * To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. + * + * @return bool|null The defenderDisableCloudProtection + */ + public function getDefenderDisableCloudProtection() + { + if (array_key_exists("defenderDisableCloudProtection", $this->_propDict)) { + return $this->_propDict["defenderDisableCloudProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableCloudProtection + * To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. + * + * @param bool $val The defenderDisableCloudProtection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableCloudProtection($val) + { + $this->_propDict["defenderDisableCloudProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableIntrusionPreventionSystem + * Allows or disallows Windows Defender Intrusion Prevention functionality. + * + * @return bool|null The defenderDisableIntrusionPreventionSystem + */ + public function getDefenderDisableIntrusionPreventionSystem() + { + if (array_key_exists("defenderDisableIntrusionPreventionSystem", $this->_propDict)) { + return $this->_propDict["defenderDisableIntrusionPreventionSystem"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableIntrusionPreventionSystem + * Allows or disallows Windows Defender Intrusion Prevention functionality. + * + * @param bool $val The defenderDisableIntrusionPreventionSystem + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableIntrusionPreventionSystem($val) + { + $this->_propDict["defenderDisableIntrusionPreventionSystem"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableOnAccessProtection + * Allows or disallows Windows Defender On Access Protection functionality. + * + * @return bool|null The defenderDisableOnAccessProtection + */ + public function getDefenderDisableOnAccessProtection() + { + if (array_key_exists("defenderDisableOnAccessProtection", $this->_propDict)) { + return $this->_propDict["defenderDisableOnAccessProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableOnAccessProtection + * Allows or disallows Windows Defender On Access Protection functionality. + * + * @param bool $val The defenderDisableOnAccessProtection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableOnAccessProtection($val) + { + $this->_propDict["defenderDisableOnAccessProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableRealTimeMonitoring + * Allows or disallows Windows Defender Realtime Monitoring functionality. + * + * @return bool|null The defenderDisableRealTimeMonitoring + */ + public function getDefenderDisableRealTimeMonitoring() + { + if (array_key_exists("defenderDisableRealTimeMonitoring", $this->_propDict)) { + return $this->_propDict["defenderDisableRealTimeMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableRealTimeMonitoring + * Allows or disallows Windows Defender Realtime Monitoring functionality. + * + * @param bool $val The defenderDisableRealTimeMonitoring + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableRealTimeMonitoring($val) + { + $this->_propDict["defenderDisableRealTimeMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableScanArchiveFiles + * Allows or disallows scanning of archives. + * + * @return bool|null The defenderDisableScanArchiveFiles + */ + public function getDefenderDisableScanArchiveFiles() + { + if (array_key_exists("defenderDisableScanArchiveFiles", $this->_propDict)) { + return $this->_propDict["defenderDisableScanArchiveFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableScanArchiveFiles + * Allows or disallows scanning of archives. + * + * @param bool $val The defenderDisableScanArchiveFiles + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableScanArchiveFiles($val) + { + $this->_propDict["defenderDisableScanArchiveFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableScanDownloads + * Allows or disallows Windows Defender IOAVP Protection functionality. + * + * @return bool|null The defenderDisableScanDownloads + */ + public function getDefenderDisableScanDownloads() + { + if (array_key_exists("defenderDisableScanDownloads", $this->_propDict)) { + return $this->_propDict["defenderDisableScanDownloads"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableScanDownloads + * Allows or disallows Windows Defender IOAVP Protection functionality. + * + * @param bool $val The defenderDisableScanDownloads + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableScanDownloads($val) + { + $this->_propDict["defenderDisableScanDownloads"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableScanNetworkFiles + * Allows or disallows a scanning of network files. + * + * @return bool|null The defenderDisableScanNetworkFiles + */ + public function getDefenderDisableScanNetworkFiles() + { + if (array_key_exists("defenderDisableScanNetworkFiles", $this->_propDict)) { + return $this->_propDict["defenderDisableScanNetworkFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableScanNetworkFiles + * Allows or disallows a scanning of network files. + * + * @param bool $val The defenderDisableScanNetworkFiles + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableScanNetworkFiles($val) + { + $this->_propDict["defenderDisableScanNetworkFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableScanRemovableDrivesDuringFullScan + * Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. + * + * @return bool|null The defenderDisableScanRemovableDrivesDuringFullScan + */ + public function getDefenderDisableScanRemovableDrivesDuringFullScan() + { + if (array_key_exists("defenderDisableScanRemovableDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderDisableScanRemovableDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableScanRemovableDrivesDuringFullScan + * Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. + * + * @param bool $val The defenderDisableScanRemovableDrivesDuringFullScan + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableScanRemovableDrivesDuringFullScan($val) + { + $this->_propDict["defenderDisableScanRemovableDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableScanScriptsLoadedInInternetExplorer + * Allows or disallows Windows Defender Script Scanning functionality. + * + * @return bool|null The defenderDisableScanScriptsLoadedInInternetExplorer + */ + public function getDefenderDisableScanScriptsLoadedInInternetExplorer() + { + if (array_key_exists("defenderDisableScanScriptsLoadedInInternetExplorer", $this->_propDict)) { + return $this->_propDict["defenderDisableScanScriptsLoadedInInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableScanScriptsLoadedInInternetExplorer + * Allows or disallows Windows Defender Script Scanning functionality. + * + * @param bool $val The defenderDisableScanScriptsLoadedInInternetExplorer + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderDisableScanScriptsLoadedInInternetExplorer($val) + { + $this->_propDict["defenderDisableScanScriptsLoadedInInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the defenderEmailContentExecution + * Value indicating if execution of executable content (exe, dll, ps, js, vbs, etc) should be dropped from email (webmail/mail-client). Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderEmailContentExecution + */ + public function getDefenderEmailContentExecution() + { + if (array_key_exists("defenderEmailContentExecution", $this->_propDict)) { + if (is_a($this->_propDict["defenderEmailContentExecution"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderEmailContentExecution"])) { + return $this->_propDict["defenderEmailContentExecution"]; + } else { + $this->_propDict["defenderEmailContentExecution"] = new DefenderProtectionType($this->_propDict["defenderEmailContentExecution"]); + return $this->_propDict["defenderEmailContentExecution"]; + } + } + return null; + } + + /** + * Sets the defenderEmailContentExecution + * Value indicating if execution of executable content (exe, dll, ps, js, vbs, etc) should be dropped from email (webmail/mail-client). Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderEmailContentExecution + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderEmailContentExecution($val) + { + $this->_propDict["defenderEmailContentExecution"] = $val; + return $this; + } + + /** + * Gets the defenderEmailContentExecutionType + * Value indicating if execution of executable content (exe, dll, ps, js, vbs, etc) should be dropped from email (webmail/mail-client). Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderEmailContentExecutionType + */ + public function getDefenderEmailContentExecutionType() + { + if (array_key_exists("defenderEmailContentExecutionType", $this->_propDict)) { + if (is_a($this->_propDict["defenderEmailContentExecutionType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderEmailContentExecutionType"])) { + return $this->_propDict["defenderEmailContentExecutionType"]; + } else { + $this->_propDict["defenderEmailContentExecutionType"] = new DefenderAttackSurfaceType($this->_propDict["defenderEmailContentExecutionType"]); + return $this->_propDict["defenderEmailContentExecutionType"]; + } + } + return null; + } + + /** + * Sets the defenderEmailContentExecutionType + * Value indicating if execution of executable content (exe, dll, ps, js, vbs, etc) should be dropped from email (webmail/mail-client). Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderEmailContentExecutionType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderEmailContentExecutionType($val) + { + $this->_propDict["defenderEmailContentExecutionType"] = $val; + return $this; + } + + /** + * Gets the defenderEnableLowCpuPriority + * This policy setting allows you to enable or disable low CPU priority for scheduled scans. + * + * @return bool|null The defenderEnableLowCpuPriority + */ + public function getDefenderEnableLowCpuPriority() + { + if (array_key_exists("defenderEnableLowCpuPriority", $this->_propDict)) { + return $this->_propDict["defenderEnableLowCpuPriority"]; + } else { + return null; + } + } + + /** + * Sets the defenderEnableLowCpuPriority + * This policy setting allows you to enable or disable low CPU priority for scheduled scans. + * + * @param bool $val The defenderEnableLowCpuPriority + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderEnableLowCpuPriority($val) + { + $this->_propDict["defenderEnableLowCpuPriority"] = boolval($val); + return $this; + } + + /** + * Gets the defenderEnableScanIncomingMail + * Allows or disallows scanning of email. + * + * @return bool|null The defenderEnableScanIncomingMail + */ + public function getDefenderEnableScanIncomingMail() + { + if (array_key_exists("defenderEnableScanIncomingMail", $this->_propDict)) { + return $this->_propDict["defenderEnableScanIncomingMail"]; + } else { + return null; + } + } + + /** + * Sets the defenderEnableScanIncomingMail + * Allows or disallows scanning of email. + * + * @param bool $val The defenderEnableScanIncomingMail + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderEnableScanIncomingMail($val) + { + $this->_propDict["defenderEnableScanIncomingMail"] = boolval($val); + return $this; + } + + /** + * Gets the defenderEnableScanMappedNetworkDrivesDuringFullScan + * Allows or disallows a full scan of mapped network drives. + * + * @return bool|null The defenderEnableScanMappedNetworkDrivesDuringFullScan + */ + public function getDefenderEnableScanMappedNetworkDrivesDuringFullScan() + { + if (array_key_exists("defenderEnableScanMappedNetworkDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderEnableScanMappedNetworkDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderEnableScanMappedNetworkDrivesDuringFullScan + * Allows or disallows a full scan of mapped network drives. + * + * @param bool $val The defenderEnableScanMappedNetworkDrivesDuringFullScan + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderEnableScanMappedNetworkDrivesDuringFullScan($val) + { + $this->_propDict["defenderEnableScanMappedNetworkDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderExploitProtectionXml + * Xml content containing information regarding exploit protection details. + * + * @return \GuzzleHttp\Psr7\Stream|null The defenderExploitProtectionXml + */ + public function getDefenderExploitProtectionXml() + { + if (array_key_exists("defenderExploitProtectionXml", $this->_propDict)) { + if (is_a($this->_propDict["defenderExploitProtectionXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["defenderExploitProtectionXml"])) { + return $this->_propDict["defenderExploitProtectionXml"]; + } else { + $this->_propDict["defenderExploitProtectionXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["defenderExploitProtectionXml"]); + return $this->_propDict["defenderExploitProtectionXml"]; + } + } + return null; + } + + /** + * Sets the defenderExploitProtectionXml + * Xml content containing information regarding exploit protection details. + * + * @param \GuzzleHttp\Psr7\Stream $val The defenderExploitProtectionXml + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderExploitProtectionXml($val) + { + $this->_propDict["defenderExploitProtectionXml"] = $val; + return $this; + } + + /** + * Gets the defenderExploitProtectionXmlFileName + * Name of the file from which DefenderExploitProtectionXml was obtained. + * + * @return string|null The defenderExploitProtectionXmlFileName + */ + public function getDefenderExploitProtectionXmlFileName() + { + if (array_key_exists("defenderExploitProtectionXmlFileName", $this->_propDict)) { + return $this->_propDict["defenderExploitProtectionXmlFileName"]; + } else { + return null; + } + } + + /** + * Sets the defenderExploitProtectionXmlFileName + * Name of the file from which DefenderExploitProtectionXml was obtained. + * + * @param string $val The defenderExploitProtectionXmlFileName + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderExploitProtectionXmlFileName($val) + { + $this->_propDict["defenderExploitProtectionXmlFileName"] = $val; + return $this; + } + + /** + * Gets the defenderFileExtensionsToExclude + * File extensions to exclude from scans and real time protection. + * + * @return string|null The defenderFileExtensionsToExclude + */ + public function getDefenderFileExtensionsToExclude() + { + if (array_key_exists("defenderFileExtensionsToExclude", $this->_propDict)) { + return $this->_propDict["defenderFileExtensionsToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderFileExtensionsToExclude + * File extensions to exclude from scans and real time protection. + * + * @param string $val The defenderFileExtensionsToExclude + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderFileExtensionsToExclude($val) + { + $this->_propDict["defenderFileExtensionsToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderFilesAndFoldersToExclude + * Files and folder to exclude from scans and real time protection. + * + * @return string|null The defenderFilesAndFoldersToExclude + */ + public function getDefenderFilesAndFoldersToExclude() + { + if (array_key_exists("defenderFilesAndFoldersToExclude", $this->_propDict)) { + return $this->_propDict["defenderFilesAndFoldersToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderFilesAndFoldersToExclude + * Files and folder to exclude from scans and real time protection. + * + * @param string $val The defenderFilesAndFoldersToExclude + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderFilesAndFoldersToExclude($val) + { + $this->_propDict["defenderFilesAndFoldersToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderGuardedFoldersAllowedAppPaths + * List of paths to exe that are allowed to access protected folders + * + * @return string|null The defenderGuardedFoldersAllowedAppPaths + */ + public function getDefenderGuardedFoldersAllowedAppPaths() + { + if (array_key_exists("defenderGuardedFoldersAllowedAppPaths", $this->_propDict)) { + return $this->_propDict["defenderGuardedFoldersAllowedAppPaths"]; + } else { + return null; + } + } + + /** + * Sets the defenderGuardedFoldersAllowedAppPaths + * List of paths to exe that are allowed to access protected folders + * + * @param string $val The defenderGuardedFoldersAllowedAppPaths + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderGuardedFoldersAllowedAppPaths($val) + { + $this->_propDict["defenderGuardedFoldersAllowedAppPaths"] = $val; + return $this; + } + + /** + * Gets the defenderGuardMyFoldersType + * Value indicating the behavior of protected folders. Possible values are: userDefined, enable, auditMode, blockDiskModification, auditDiskModification. + * + * @return FolderProtectionType|null The defenderGuardMyFoldersType + */ + public function getDefenderGuardMyFoldersType() + { + if (array_key_exists("defenderGuardMyFoldersType", $this->_propDict)) { + if (is_a($this->_propDict["defenderGuardMyFoldersType"], "\Beta\Microsoft\Graph\Model\FolderProtectionType") || is_null($this->_propDict["defenderGuardMyFoldersType"])) { + return $this->_propDict["defenderGuardMyFoldersType"]; + } else { + $this->_propDict["defenderGuardMyFoldersType"] = new FolderProtectionType($this->_propDict["defenderGuardMyFoldersType"]); + return $this->_propDict["defenderGuardMyFoldersType"]; + } + } + return null; + } + + /** + * Sets the defenderGuardMyFoldersType + * Value indicating the behavior of protected folders. Possible values are: userDefined, enable, auditMode, blockDiskModification, auditDiskModification. + * + * @param FolderProtectionType $val The defenderGuardMyFoldersType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderGuardMyFoldersType($val) + { + $this->_propDict["defenderGuardMyFoldersType"] = $val; + return $this; + } + + /** + * Gets the defenderNetworkProtectionType + * Value indicating the behavior of NetworkProtection. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderNetworkProtectionType + */ + public function getDefenderNetworkProtectionType() + { + if (array_key_exists("defenderNetworkProtectionType", $this->_propDict)) { + if (is_a($this->_propDict["defenderNetworkProtectionType"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderNetworkProtectionType"])) { + return $this->_propDict["defenderNetworkProtectionType"]; + } else { + $this->_propDict["defenderNetworkProtectionType"] = new DefenderProtectionType($this->_propDict["defenderNetworkProtectionType"]); + return $this->_propDict["defenderNetworkProtectionType"]; + } + } + return null; + } + + /** + * Sets the defenderNetworkProtectionType + * Value indicating the behavior of NetworkProtection. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderNetworkProtectionType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderNetworkProtectionType($val) + { + $this->_propDict["defenderNetworkProtectionType"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeAppsExecutableContentCreationOrLaunch + * Value indicating the behavior of Office applications/macros creating or launching executable content. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderOfficeAppsExecutableContentCreationOrLaunch + */ + public function getDefenderOfficeAppsExecutableContentCreationOrLaunch() + { + if (array_key_exists("defenderOfficeAppsExecutableContentCreationOrLaunch", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"])) { + return $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"]; + } else { + $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"] = new DefenderProtectionType($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"]); + return $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeAppsExecutableContentCreationOrLaunch + * Value indicating the behavior of Office applications/macros creating or launching executable content. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderOfficeAppsExecutableContentCreationOrLaunch + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeAppsExecutableContentCreationOrLaunch($val) + { + $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeAppsExecutableContentCreationOrLaunchType + * Value indicating the behavior of Office applications/macros creating or launching executable content. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderOfficeAppsExecutableContentCreationOrLaunchType + */ + public function getDefenderOfficeAppsExecutableContentCreationOrLaunchType() + { + if (array_key_exists("defenderOfficeAppsExecutableContentCreationOrLaunchType", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"])) { + return $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"]; + } else { + $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"] = new DefenderAttackSurfaceType($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"]); + return $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeAppsExecutableContentCreationOrLaunchType + * Value indicating the behavior of Office applications/macros creating or launching executable content. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderOfficeAppsExecutableContentCreationOrLaunchType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeAppsExecutableContentCreationOrLaunchType($val) + { + $this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeAppsLaunchChildProcess + * Value indicating the behavior of Office application launching child processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderOfficeAppsLaunchChildProcess + */ + public function getDefenderOfficeAppsLaunchChildProcess() + { + if (array_key_exists("defenderOfficeAppsLaunchChildProcess", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeAppsLaunchChildProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderOfficeAppsLaunchChildProcess"])) { + return $this->_propDict["defenderOfficeAppsLaunchChildProcess"]; + } else { + $this->_propDict["defenderOfficeAppsLaunchChildProcess"] = new DefenderProtectionType($this->_propDict["defenderOfficeAppsLaunchChildProcess"]); + return $this->_propDict["defenderOfficeAppsLaunchChildProcess"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeAppsLaunchChildProcess + * Value indicating the behavior of Office application launching child processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderOfficeAppsLaunchChildProcess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeAppsLaunchChildProcess($val) + { + $this->_propDict["defenderOfficeAppsLaunchChildProcess"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeAppsLaunchChildProcessType + * Value indicating the behavior of Office application launching child processes. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderOfficeAppsLaunchChildProcessType + */ + public function getDefenderOfficeAppsLaunchChildProcessType() + { + if (array_key_exists("defenderOfficeAppsLaunchChildProcessType", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeAppsLaunchChildProcessType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderOfficeAppsLaunchChildProcessType"])) { + return $this->_propDict["defenderOfficeAppsLaunchChildProcessType"]; + } else { + $this->_propDict["defenderOfficeAppsLaunchChildProcessType"] = new DefenderAttackSurfaceType($this->_propDict["defenderOfficeAppsLaunchChildProcessType"]); + return $this->_propDict["defenderOfficeAppsLaunchChildProcessType"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeAppsLaunchChildProcessType + * Value indicating the behavior of Office application launching child processes. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderOfficeAppsLaunchChildProcessType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeAppsLaunchChildProcessType($val) + { + $this->_propDict["defenderOfficeAppsLaunchChildProcessType"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeAppsOtherProcessInjection + * Value indicating the behavior of  Office applications injecting into other processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderOfficeAppsOtherProcessInjection + */ + public function getDefenderOfficeAppsOtherProcessInjection() + { + if (array_key_exists("defenderOfficeAppsOtherProcessInjection", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeAppsOtherProcessInjection"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderOfficeAppsOtherProcessInjection"])) { + return $this->_propDict["defenderOfficeAppsOtherProcessInjection"]; + } else { + $this->_propDict["defenderOfficeAppsOtherProcessInjection"] = new DefenderProtectionType($this->_propDict["defenderOfficeAppsOtherProcessInjection"]); + return $this->_propDict["defenderOfficeAppsOtherProcessInjection"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeAppsOtherProcessInjection + * Value indicating the behavior of  Office applications injecting into other processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderOfficeAppsOtherProcessInjection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeAppsOtherProcessInjection($val) + { + $this->_propDict["defenderOfficeAppsOtherProcessInjection"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeAppsOtherProcessInjectionType + * Value indicating the behavior of Office applications injecting into other processes. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderOfficeAppsOtherProcessInjectionType + */ + public function getDefenderOfficeAppsOtherProcessInjectionType() + { + if (array_key_exists("defenderOfficeAppsOtherProcessInjectionType", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeAppsOtherProcessInjectionType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderOfficeAppsOtherProcessInjectionType"])) { + return $this->_propDict["defenderOfficeAppsOtherProcessInjectionType"]; + } else { + $this->_propDict["defenderOfficeAppsOtherProcessInjectionType"] = new DefenderAttackSurfaceType($this->_propDict["defenderOfficeAppsOtherProcessInjectionType"]); + return $this->_propDict["defenderOfficeAppsOtherProcessInjectionType"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeAppsOtherProcessInjectionType + * Value indicating the behavior of Office applications injecting into other processes. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderOfficeAppsOtherProcessInjectionType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeAppsOtherProcessInjectionType($val) + { + $this->_propDict["defenderOfficeAppsOtherProcessInjectionType"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeCommunicationAppsLaunchChildProcess + * Value indicating the behavior of Office communication applications, including Microsoft Outlook, from creating child processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderOfficeCommunicationAppsLaunchChildProcess + */ + public function getDefenderOfficeCommunicationAppsLaunchChildProcess() + { + if (array_key_exists("defenderOfficeCommunicationAppsLaunchChildProcess", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"])) { + return $this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"]; + } else { + $this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"] = new DefenderProtectionType($this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"]); + return $this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeCommunicationAppsLaunchChildProcess + * Value indicating the behavior of Office communication applications, including Microsoft Outlook, from creating child processes. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderOfficeCommunicationAppsLaunchChildProcess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeCommunicationAppsLaunchChildProcess($val) + { + $this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeMacroCodeAllowWin32Imports + * Value indicating the behavior of Win32 imports from Macro code in Office. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderOfficeMacroCodeAllowWin32Imports + */ + public function getDefenderOfficeMacroCodeAllowWin32Imports() + { + if (array_key_exists("defenderOfficeMacroCodeAllowWin32Imports", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"])) { + return $this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"]; + } else { + $this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"] = new DefenderProtectionType($this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"]); + return $this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeMacroCodeAllowWin32Imports + * Value indicating the behavior of Win32 imports from Macro code in Office. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderOfficeMacroCodeAllowWin32Imports + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeMacroCodeAllowWin32Imports($val) + { + $this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"] = $val; + return $this; + } + + /** + * Gets the defenderOfficeMacroCodeAllowWin32ImportsType + * Value indicating the behavior of Win32 imports from Macro code in Office. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderOfficeMacroCodeAllowWin32ImportsType + */ + public function getDefenderOfficeMacroCodeAllowWin32ImportsType() + { + if (array_key_exists("defenderOfficeMacroCodeAllowWin32ImportsType", $this->_propDict)) { + if (is_a($this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"])) { + return $this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"]; + } else { + $this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"] = new DefenderAttackSurfaceType($this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"]); + return $this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"]; + } + } + return null; + } + + /** + * Sets the defenderOfficeMacroCodeAllowWin32ImportsType + * Value indicating the behavior of Win32 imports from Macro code in Office. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderOfficeMacroCodeAllowWin32ImportsType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderOfficeMacroCodeAllowWin32ImportsType($val) + { + $this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"] = $val; + return $this; + } + + /** + * Gets the defenderPotentiallyUnwantedAppAction + * Added in Windows 10, version 1607. Specifies the level of detection for potentially unwanted applications (PUAs). Windows Defender alerts you when potentially unwanted software is being downloaded or attempts to install itself on your computer. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderPotentiallyUnwantedAppAction + */ + public function getDefenderPotentiallyUnwantedAppAction() + { + if (array_key_exists("defenderPotentiallyUnwantedAppAction", $this->_propDict)) { + if (is_a($this->_propDict["defenderPotentiallyUnwantedAppAction"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderPotentiallyUnwantedAppAction"])) { + return $this->_propDict["defenderPotentiallyUnwantedAppAction"]; + } else { + $this->_propDict["defenderPotentiallyUnwantedAppAction"] = new DefenderProtectionType($this->_propDict["defenderPotentiallyUnwantedAppAction"]); + return $this->_propDict["defenderPotentiallyUnwantedAppAction"]; + } + } + return null; + } + + /** + * Sets the defenderPotentiallyUnwantedAppAction + * Added in Windows 10, version 1607. Specifies the level of detection for potentially unwanted applications (PUAs). Windows Defender alerts you when potentially unwanted software is being downloaded or attempts to install itself on your computer. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderPotentiallyUnwantedAppAction + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderPotentiallyUnwantedAppAction($val) + { + $this->_propDict["defenderPotentiallyUnwantedAppAction"] = $val; + return $this; + } + + /** + * Gets the defenderPreventCredentialStealingType + * Value indicating if credential stealing from the Windows local security authority subsystem is permitted. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderPreventCredentialStealingType + */ + public function getDefenderPreventCredentialStealingType() + { + if (array_key_exists("defenderPreventCredentialStealingType", $this->_propDict)) { + if (is_a($this->_propDict["defenderPreventCredentialStealingType"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderPreventCredentialStealingType"])) { + return $this->_propDict["defenderPreventCredentialStealingType"]; + } else { + $this->_propDict["defenderPreventCredentialStealingType"] = new DefenderProtectionType($this->_propDict["defenderPreventCredentialStealingType"]); + return $this->_propDict["defenderPreventCredentialStealingType"]; + } + } + return null; + } + + /** + * Sets the defenderPreventCredentialStealingType + * Value indicating if credential stealing from the Windows local security authority subsystem is permitted. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderPreventCredentialStealingType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderPreventCredentialStealingType($val) + { + $this->_propDict["defenderPreventCredentialStealingType"] = $val; + return $this; + } + + /** + * Gets the defenderProcessCreation + * Value indicating response to process creations originating from PSExec and WMI commands. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderProcessCreation + */ + public function getDefenderProcessCreation() + { + if (array_key_exists("defenderProcessCreation", $this->_propDict)) { + if (is_a($this->_propDict["defenderProcessCreation"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderProcessCreation"])) { + return $this->_propDict["defenderProcessCreation"]; + } else { + $this->_propDict["defenderProcessCreation"] = new DefenderProtectionType($this->_propDict["defenderProcessCreation"]); + return $this->_propDict["defenderProcessCreation"]; + } + } + return null; + } + + /** + * Sets the defenderProcessCreation + * Value indicating response to process creations originating from PSExec and WMI commands. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderProcessCreation + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderProcessCreation($val) + { + $this->_propDict["defenderProcessCreation"] = $val; + return $this; + } + + /** + * Gets the defenderProcessCreationType + * Value indicating response to process creations originating from PSExec and WMI commands. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderProcessCreationType + */ + public function getDefenderProcessCreationType() + { + if (array_key_exists("defenderProcessCreationType", $this->_propDict)) { + if (is_a($this->_propDict["defenderProcessCreationType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderProcessCreationType"])) { + return $this->_propDict["defenderProcessCreationType"]; + } else { + $this->_propDict["defenderProcessCreationType"] = new DefenderAttackSurfaceType($this->_propDict["defenderProcessCreationType"]); + return $this->_propDict["defenderProcessCreationType"]; + } + } + return null; + } + + /** + * Sets the defenderProcessCreationType + * Value indicating response to process creations originating from PSExec and WMI commands. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderProcessCreationType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderProcessCreationType($val) + { + $this->_propDict["defenderProcessCreationType"] = $val; + return $this; + } + + /** + * Gets the defenderProcessesToExclude + * Processes to exclude from scans and real time protection. + * + * @return string|null The defenderProcessesToExclude + */ + public function getDefenderProcessesToExclude() + { + if (array_key_exists("defenderProcessesToExclude", $this->_propDict)) { + return $this->_propDict["defenderProcessesToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderProcessesToExclude + * Processes to exclude from scans and real time protection. + * + * @param string $val The defenderProcessesToExclude + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderProcessesToExclude($val) + { + $this->_propDict["defenderProcessesToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderScanDirection + * Controls which sets of files should be monitored. Possible values are: monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + * + * @return DefenderRealtimeScanDirection|null The defenderScanDirection + */ + public function getDefenderScanDirection() + { + if (array_key_exists("defenderScanDirection", $this->_propDict)) { + if (is_a($this->_propDict["defenderScanDirection"], "\Beta\Microsoft\Graph\Model\DefenderRealtimeScanDirection") || is_null($this->_propDict["defenderScanDirection"])) { + return $this->_propDict["defenderScanDirection"]; + } else { + $this->_propDict["defenderScanDirection"] = new DefenderRealtimeScanDirection($this->_propDict["defenderScanDirection"]); + return $this->_propDict["defenderScanDirection"]; + } + } + return null; + } + + /** + * Sets the defenderScanDirection + * Controls which sets of files should be monitored. Possible values are: monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + * + * @param DefenderRealtimeScanDirection $val The defenderScanDirection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScanDirection($val) + { + $this->_propDict["defenderScanDirection"] = $val; + return $this; + } + + /** + * Gets the defenderScanMaxCpuPercentage + * Represents the average CPU load factor for the Windows Defender scan (in percent). The default value is 50. Valid values 0 to 100 + * + * @return int|null The defenderScanMaxCpuPercentage + */ + public function getDefenderScanMaxCpuPercentage() + { + if (array_key_exists("defenderScanMaxCpuPercentage", $this->_propDict)) { + return $this->_propDict["defenderScanMaxCpuPercentage"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanMaxCpuPercentage + * Represents the average CPU load factor for the Windows Defender scan (in percent). The default value is 50. Valid values 0 to 100 + * + * @param int $val The defenderScanMaxCpuPercentage + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScanMaxCpuPercentage($val) + { + $this->_propDict["defenderScanMaxCpuPercentage"] = intval($val); + return $this; + } + + /** + * Gets the defenderScanType + * Selects whether to perform a quick scan or full scan. Possible values are: userDefined, disabled, quick, full. + * + * @return DefenderScanType|null The defenderScanType + */ + public function getDefenderScanType() + { + if (array_key_exists("defenderScanType", $this->_propDict)) { + if (is_a($this->_propDict["defenderScanType"], "\Beta\Microsoft\Graph\Model\DefenderScanType") || is_null($this->_propDict["defenderScanType"])) { + return $this->_propDict["defenderScanType"]; + } else { + $this->_propDict["defenderScanType"] = new DefenderScanType($this->_propDict["defenderScanType"]); + return $this->_propDict["defenderScanType"]; + } + } + return null; + } + + /** + * Sets the defenderScanType + * Selects whether to perform a quick scan or full scan. Possible values are: userDefined, disabled, quick, full. + * + * @param DefenderScanType $val The defenderScanType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScanType($val) + { + $this->_propDict["defenderScanType"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledQuickScanTime + * Selects the time of day that the Windows Defender quick scan should run. For example, a value of 0=12:00AM, a value of 60=1:00AM, a value of 120=2:00, and so on, up to a value of 1380=11:00PM. The default value is 120 + * + * @return TimeOfDay|null The defenderScheduledQuickScanTime + */ + public function getDefenderScheduledQuickScanTime() + { + if (array_key_exists("defenderScheduledQuickScanTime", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledQuickScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["defenderScheduledQuickScanTime"])) { + return $this->_propDict["defenderScheduledQuickScanTime"]; + } else { + $this->_propDict["defenderScheduledQuickScanTime"] = new TimeOfDay($this->_propDict["defenderScheduledQuickScanTime"]); + return $this->_propDict["defenderScheduledQuickScanTime"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledQuickScanTime + * Selects the time of day that the Windows Defender quick scan should run. For example, a value of 0=12:00AM, a value of 60=1:00AM, a value of 120=2:00, and so on, up to a value of 1380=11:00PM. The default value is 120 + * + * @param TimeOfDay $val The defenderScheduledQuickScanTime + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScheduledQuickScanTime($val) + { + $this->_propDict["defenderScheduledQuickScanTime"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledScanDay + * Selects the day that the Windows Defender scan should run. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @return WeeklySchedule|null The defenderScheduledScanDay + */ + public function getDefenderScheduledScanDay() + { + if (array_key_exists("defenderScheduledScanDay", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledScanDay"], "\Beta\Microsoft\Graph\Model\WeeklySchedule") || is_null($this->_propDict["defenderScheduledScanDay"])) { + return $this->_propDict["defenderScheduledScanDay"]; + } else { + $this->_propDict["defenderScheduledScanDay"] = new WeeklySchedule($this->_propDict["defenderScheduledScanDay"]); + return $this->_propDict["defenderScheduledScanDay"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledScanDay + * Selects the day that the Windows Defender scan should run. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @param WeeklySchedule $val The defenderScheduledScanDay + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScheduledScanDay($val) + { + $this->_propDict["defenderScheduledScanDay"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledScanTime + * Selects the time of day that the Windows Defender scan should run. + * + * @return TimeOfDay|null The defenderScheduledScanTime + */ + public function getDefenderScheduledScanTime() + { + if (array_key_exists("defenderScheduledScanTime", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["defenderScheduledScanTime"])) { + return $this->_propDict["defenderScheduledScanTime"]; + } else { + $this->_propDict["defenderScheduledScanTime"] = new TimeOfDay($this->_propDict["defenderScheduledScanTime"]); + return $this->_propDict["defenderScheduledScanTime"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledScanTime + * Selects the time of day that the Windows Defender scan should run. + * + * @param TimeOfDay $val The defenderScheduledScanTime + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScheduledScanTime($val) + { + $this->_propDict["defenderScheduledScanTime"] = $val; + return $this; + } + + /** + * Gets the defenderScriptDownloadedPayloadExecution + * Value indicating the behavior of js/vbs executing payload downloaded from Internet. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderScriptDownloadedPayloadExecution + */ + public function getDefenderScriptDownloadedPayloadExecution() + { + if (array_key_exists("defenderScriptDownloadedPayloadExecution", $this->_propDict)) { + if (is_a($this->_propDict["defenderScriptDownloadedPayloadExecution"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderScriptDownloadedPayloadExecution"])) { + return $this->_propDict["defenderScriptDownloadedPayloadExecution"]; + } else { + $this->_propDict["defenderScriptDownloadedPayloadExecution"] = new DefenderProtectionType($this->_propDict["defenderScriptDownloadedPayloadExecution"]); + return $this->_propDict["defenderScriptDownloadedPayloadExecution"]; + } + } + return null; + } + + /** + * Sets the defenderScriptDownloadedPayloadExecution + * Value indicating the behavior of js/vbs executing payload downloaded from Internet. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderScriptDownloadedPayloadExecution + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScriptDownloadedPayloadExecution($val) + { + $this->_propDict["defenderScriptDownloadedPayloadExecution"] = $val; + return $this; + } + + /** + * Gets the defenderScriptDownloadedPayloadExecutionType + * Value indicating the behavior of js/vbs executing payload downloaded from Internet. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderScriptDownloadedPayloadExecutionType + */ + public function getDefenderScriptDownloadedPayloadExecutionType() + { + if (array_key_exists("defenderScriptDownloadedPayloadExecutionType", $this->_propDict)) { + if (is_a($this->_propDict["defenderScriptDownloadedPayloadExecutionType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderScriptDownloadedPayloadExecutionType"])) { + return $this->_propDict["defenderScriptDownloadedPayloadExecutionType"]; + } else { + $this->_propDict["defenderScriptDownloadedPayloadExecutionType"] = new DefenderAttackSurfaceType($this->_propDict["defenderScriptDownloadedPayloadExecutionType"]); + return $this->_propDict["defenderScriptDownloadedPayloadExecutionType"]; + } + } + return null; + } + + /** + * Sets the defenderScriptDownloadedPayloadExecutionType + * Value indicating the behavior of js/vbs executing payload downloaded from Internet. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderScriptDownloadedPayloadExecutionType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScriptDownloadedPayloadExecutionType($val) + { + $this->_propDict["defenderScriptDownloadedPayloadExecutionType"] = $val; + return $this; + } + + /** + * Gets the defenderScriptObfuscatedMacroCode + * Value indicating the behavior of obfuscated js/vbs/ps/macro code. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderScriptObfuscatedMacroCode + */ + public function getDefenderScriptObfuscatedMacroCode() + { + if (array_key_exists("defenderScriptObfuscatedMacroCode", $this->_propDict)) { + if (is_a($this->_propDict["defenderScriptObfuscatedMacroCode"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderScriptObfuscatedMacroCode"])) { + return $this->_propDict["defenderScriptObfuscatedMacroCode"]; + } else { + $this->_propDict["defenderScriptObfuscatedMacroCode"] = new DefenderProtectionType($this->_propDict["defenderScriptObfuscatedMacroCode"]); + return $this->_propDict["defenderScriptObfuscatedMacroCode"]; + } + } + return null; + } + + /** + * Sets the defenderScriptObfuscatedMacroCode + * Value indicating the behavior of obfuscated js/vbs/ps/macro code. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderScriptObfuscatedMacroCode + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScriptObfuscatedMacroCode($val) + { + $this->_propDict["defenderScriptObfuscatedMacroCode"] = $val; + return $this; + } + + /** + * Gets the defenderScriptObfuscatedMacroCodeType + * Value indicating the behavior of obfuscated js/vbs/ps/macro code. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderScriptObfuscatedMacroCodeType + */ + public function getDefenderScriptObfuscatedMacroCodeType() + { + if (array_key_exists("defenderScriptObfuscatedMacroCodeType", $this->_propDict)) { + if (is_a($this->_propDict["defenderScriptObfuscatedMacroCodeType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderScriptObfuscatedMacroCodeType"])) { + return $this->_propDict["defenderScriptObfuscatedMacroCodeType"]; + } else { + $this->_propDict["defenderScriptObfuscatedMacroCodeType"] = new DefenderAttackSurfaceType($this->_propDict["defenderScriptObfuscatedMacroCodeType"]); + return $this->_propDict["defenderScriptObfuscatedMacroCodeType"]; + } + } + return null; + } + + /** + * Sets the defenderScriptObfuscatedMacroCodeType + * Value indicating the behavior of obfuscated js/vbs/ps/macro code. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderScriptObfuscatedMacroCodeType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderScriptObfuscatedMacroCodeType($val) + { + $this->_propDict["defenderScriptObfuscatedMacroCodeType"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterBlockExploitProtectionOverride + * Indicates whether or not to block user from overriding Exploit Protection settings. + * + * @return bool|null The defenderSecurityCenterBlockExploitProtectionOverride + */ + public function getDefenderSecurityCenterBlockExploitProtectionOverride() + { + if (array_key_exists("defenderSecurityCenterBlockExploitProtectionOverride", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterBlockExploitProtectionOverride"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterBlockExploitProtectionOverride + * Indicates whether or not to block user from overriding Exploit Protection settings. + * + * @param bool $val The defenderSecurityCenterBlockExploitProtectionOverride + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterBlockExploitProtectionOverride($val) + { + $this->_propDict["defenderSecurityCenterBlockExploitProtectionOverride"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableAccountUI + * Used to disable the display of the account protection area. + * + * @return bool|null The defenderSecurityCenterDisableAccountUI + */ + public function getDefenderSecurityCenterDisableAccountUI() + { + if (array_key_exists("defenderSecurityCenterDisableAccountUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableAccountUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableAccountUI + * Used to disable the display of the account protection area. + * + * @param bool $val The defenderSecurityCenterDisableAccountUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableAccountUI($val) + { + $this->_propDict["defenderSecurityCenterDisableAccountUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableAppBrowserUI + * Used to disable the display of the app and browser protection area. + * + * @return bool|null The defenderSecurityCenterDisableAppBrowserUI + */ + public function getDefenderSecurityCenterDisableAppBrowserUI() + { + if (array_key_exists("defenderSecurityCenterDisableAppBrowserUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableAppBrowserUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableAppBrowserUI + * Used to disable the display of the app and browser protection area. + * + * @param bool $val The defenderSecurityCenterDisableAppBrowserUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableAppBrowserUI($val) + { + $this->_propDict["defenderSecurityCenterDisableAppBrowserUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableClearTpmUI + * Used to disable the display of the Clear TPM button. + * + * @return bool|null The defenderSecurityCenterDisableClearTpmUI + */ + public function getDefenderSecurityCenterDisableClearTpmUI() + { + if (array_key_exists("defenderSecurityCenterDisableClearTpmUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableClearTpmUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableClearTpmUI + * Used to disable the display of the Clear TPM button. + * + * @param bool $val The defenderSecurityCenterDisableClearTpmUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableClearTpmUI($val) + { + $this->_propDict["defenderSecurityCenterDisableClearTpmUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableFamilyUI + * Used to disable the display of the family options area. + * + * @return bool|null The defenderSecurityCenterDisableFamilyUI + */ + public function getDefenderSecurityCenterDisableFamilyUI() + { + if (array_key_exists("defenderSecurityCenterDisableFamilyUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableFamilyUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableFamilyUI + * Used to disable the display of the family options area. + * + * @param bool $val The defenderSecurityCenterDisableFamilyUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableFamilyUI($val) + { + $this->_propDict["defenderSecurityCenterDisableFamilyUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableHardwareUI + * Used to disable the display of the hardware protection area. + * + * @return bool|null The defenderSecurityCenterDisableHardwareUI + */ + public function getDefenderSecurityCenterDisableHardwareUI() + { + if (array_key_exists("defenderSecurityCenterDisableHardwareUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableHardwareUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableHardwareUI + * Used to disable the display of the hardware protection area. + * + * @param bool $val The defenderSecurityCenterDisableHardwareUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableHardwareUI($val) + { + $this->_propDict["defenderSecurityCenterDisableHardwareUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableHealthUI + * Used to disable the display of the device performance and health area. + * + * @return bool|null The defenderSecurityCenterDisableHealthUI + */ + public function getDefenderSecurityCenterDisableHealthUI() + { + if (array_key_exists("defenderSecurityCenterDisableHealthUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableHealthUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableHealthUI + * Used to disable the display of the device performance and health area. + * + * @param bool $val The defenderSecurityCenterDisableHealthUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableHealthUI($val) + { + $this->_propDict["defenderSecurityCenterDisableHealthUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableNetworkUI + * Used to disable the display of the firewall and network protection area. + * + * @return bool|null The defenderSecurityCenterDisableNetworkUI + */ + public function getDefenderSecurityCenterDisableNetworkUI() + { + if (array_key_exists("defenderSecurityCenterDisableNetworkUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableNetworkUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableNetworkUI + * Used to disable the display of the firewall and network protection area. + * + * @param bool $val The defenderSecurityCenterDisableNetworkUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableNetworkUI($val) + { + $this->_propDict["defenderSecurityCenterDisableNetworkUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableNotificationAreaUI + * Used to disable the display of the notification area control. The user needs to either sign out and sign in or reboot the computer for this setting to take effect. + * + * @return bool|null The defenderSecurityCenterDisableNotificationAreaUI + */ + public function getDefenderSecurityCenterDisableNotificationAreaUI() + { + if (array_key_exists("defenderSecurityCenterDisableNotificationAreaUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableNotificationAreaUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableNotificationAreaUI + * Used to disable the display of the notification area control. The user needs to either sign out and sign in or reboot the computer for this setting to take effect. + * + * @param bool $val The defenderSecurityCenterDisableNotificationAreaUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableNotificationAreaUI($val) + { + $this->_propDict["defenderSecurityCenterDisableNotificationAreaUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableRansomwareUI + * Used to disable the display of the ransomware protection area. + * + * @return bool|null The defenderSecurityCenterDisableRansomwareUI + */ + public function getDefenderSecurityCenterDisableRansomwareUI() + { + if (array_key_exists("defenderSecurityCenterDisableRansomwareUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableRansomwareUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableRansomwareUI + * Used to disable the display of the ransomware protection area. + * + * @param bool $val The defenderSecurityCenterDisableRansomwareUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableRansomwareUI($val) + { + $this->_propDict["defenderSecurityCenterDisableRansomwareUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableSecureBootUI + * Used to disable the display of the secure boot area under Device security. + * + * @return bool|null The defenderSecurityCenterDisableSecureBootUI + */ + public function getDefenderSecurityCenterDisableSecureBootUI() + { + if (array_key_exists("defenderSecurityCenterDisableSecureBootUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableSecureBootUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableSecureBootUI + * Used to disable the display of the secure boot area under Device security. + * + * @param bool $val The defenderSecurityCenterDisableSecureBootUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableSecureBootUI($val) + { + $this->_propDict["defenderSecurityCenterDisableSecureBootUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableTroubleshootingUI + * Used to disable the display of the security process troubleshooting under Device security. + * + * @return bool|null The defenderSecurityCenterDisableTroubleshootingUI + */ + public function getDefenderSecurityCenterDisableTroubleshootingUI() + { + if (array_key_exists("defenderSecurityCenterDisableTroubleshootingUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableTroubleshootingUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableTroubleshootingUI + * Used to disable the display of the security process troubleshooting under Device security. + * + * @param bool $val The defenderSecurityCenterDisableTroubleshootingUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableTroubleshootingUI($val) + { + $this->_propDict["defenderSecurityCenterDisableTroubleshootingUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableVirusUI + * Used to disable the display of the virus and threat protection area. + * + * @return bool|null The defenderSecurityCenterDisableVirusUI + */ + public function getDefenderSecurityCenterDisableVirusUI() + { + if (array_key_exists("defenderSecurityCenterDisableVirusUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableVirusUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableVirusUI + * Used to disable the display of the virus and threat protection area. + * + * @param bool $val The defenderSecurityCenterDisableVirusUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableVirusUI($val) + { + $this->_propDict["defenderSecurityCenterDisableVirusUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI + * Used to disable the display of update TPM Firmware when a vulnerable firmware is detected. + * + * @return bool|null The defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI + */ + public function getDefenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI() + { + if (array_key_exists("defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI + * Used to disable the display of update TPM Firmware when a vulnerable firmware is detected. + * + * @param bool $val The defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI($val) + { + $this->_propDict["defenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSecurityCenterHelpEmail + * The email address that is displayed to users. + * + * @return string|null The defenderSecurityCenterHelpEmail + */ + public function getDefenderSecurityCenterHelpEmail() + { + if (array_key_exists("defenderSecurityCenterHelpEmail", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterHelpEmail"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterHelpEmail + * The email address that is displayed to users. + * + * @param string $val The defenderSecurityCenterHelpEmail + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterHelpEmail($val) + { + $this->_propDict["defenderSecurityCenterHelpEmail"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterHelpPhone + * The phone number or Skype ID that is displayed to users. + * + * @return string|null The defenderSecurityCenterHelpPhone + */ + public function getDefenderSecurityCenterHelpPhone() + { + if (array_key_exists("defenderSecurityCenterHelpPhone", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterHelpPhone"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterHelpPhone + * The phone number or Skype ID that is displayed to users. + * + * @param string $val The defenderSecurityCenterHelpPhone + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterHelpPhone($val) + { + $this->_propDict["defenderSecurityCenterHelpPhone"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterHelpURL + * The help portal URL this is displayed to users. + * + * @return string|null The defenderSecurityCenterHelpURL + */ + public function getDefenderSecurityCenterHelpURL() + { + if (array_key_exists("defenderSecurityCenterHelpURL", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterHelpURL"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterHelpURL + * The help portal URL this is displayed to users. + * + * @param string $val The defenderSecurityCenterHelpURL + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterHelpURL($val) + { + $this->_propDict["defenderSecurityCenterHelpURL"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterITContactDisplay + * Configure where to display IT contact information to end users. Possible values are: notConfigured, displayInAppAndInNotifications, displayOnlyInApp, displayOnlyInNotifications. + * + * @return DefenderSecurityCenterITContactDisplayType|null The defenderSecurityCenterITContactDisplay + */ + public function getDefenderSecurityCenterITContactDisplay() + { + if (array_key_exists("defenderSecurityCenterITContactDisplay", $this->_propDict)) { + if (is_a($this->_propDict["defenderSecurityCenterITContactDisplay"], "\Beta\Microsoft\Graph\Model\DefenderSecurityCenterITContactDisplayType") || is_null($this->_propDict["defenderSecurityCenterITContactDisplay"])) { + return $this->_propDict["defenderSecurityCenterITContactDisplay"]; + } else { + $this->_propDict["defenderSecurityCenterITContactDisplay"] = new DefenderSecurityCenterITContactDisplayType($this->_propDict["defenderSecurityCenterITContactDisplay"]); + return $this->_propDict["defenderSecurityCenterITContactDisplay"]; + } + } + return null; + } + + /** + * Sets the defenderSecurityCenterITContactDisplay + * Configure where to display IT contact information to end users. Possible values are: notConfigured, displayInAppAndInNotifications, displayOnlyInApp, displayOnlyInNotifications. + * + * @param DefenderSecurityCenterITContactDisplayType $val The defenderSecurityCenterITContactDisplay + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterITContactDisplay($val) + { + $this->_propDict["defenderSecurityCenterITContactDisplay"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterNotificationsFromApp + * Notifications to show from the displayed areas of app. Possible values are: notConfigured, blockNoncriticalNotifications, blockAllNotifications. + * + * @return DefenderSecurityCenterNotificationsFromAppType|null The defenderSecurityCenterNotificationsFromApp + */ + public function getDefenderSecurityCenterNotificationsFromApp() + { + if (array_key_exists("defenderSecurityCenterNotificationsFromApp", $this->_propDict)) { + if (is_a($this->_propDict["defenderSecurityCenterNotificationsFromApp"], "\Beta\Microsoft\Graph\Model\DefenderSecurityCenterNotificationsFromAppType") || is_null($this->_propDict["defenderSecurityCenterNotificationsFromApp"])) { + return $this->_propDict["defenderSecurityCenterNotificationsFromApp"]; + } else { + $this->_propDict["defenderSecurityCenterNotificationsFromApp"] = new DefenderSecurityCenterNotificationsFromAppType($this->_propDict["defenderSecurityCenterNotificationsFromApp"]); + return $this->_propDict["defenderSecurityCenterNotificationsFromApp"]; + } + } + return null; + } + + /** + * Sets the defenderSecurityCenterNotificationsFromApp + * Notifications to show from the displayed areas of app. Possible values are: notConfigured, blockNoncriticalNotifications, blockAllNotifications. + * + * @param DefenderSecurityCenterNotificationsFromAppType $val The defenderSecurityCenterNotificationsFromApp + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterNotificationsFromApp($val) + { + $this->_propDict["defenderSecurityCenterNotificationsFromApp"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterOrganizationDisplayName + * The company name that is displayed to the users. + * + * @return string|null The defenderSecurityCenterOrganizationDisplayName + */ + public function getDefenderSecurityCenterOrganizationDisplayName() + { + if (array_key_exists("defenderSecurityCenterOrganizationDisplayName", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterOrganizationDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterOrganizationDisplayName + * The company name that is displayed to the users. + * + * @param string $val The defenderSecurityCenterOrganizationDisplayName + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterOrganizationDisplayName($val) + { + $this->_propDict["defenderSecurityCenterOrganizationDisplayName"] = $val; + return $this; + } + + /** + * Gets the defenderSignatureUpdateIntervalInHours + * Specifies the interval (in hours) that will be used to check for signatures, so instead of using the ScheduleDay and ScheduleTime the check for new signatures will be set according to the interval. Valid values 0 to 24 + * + * @return int|null The defenderSignatureUpdateIntervalInHours + */ + public function getDefenderSignatureUpdateIntervalInHours() + { + if (array_key_exists("defenderSignatureUpdateIntervalInHours", $this->_propDict)) { + return $this->_propDict["defenderSignatureUpdateIntervalInHours"]; + } else { + return null; + } + } + + /** + * Sets the defenderSignatureUpdateIntervalInHours + * Specifies the interval (in hours) that will be used to check for signatures, so instead of using the ScheduleDay and ScheduleTime the check for new signatures will be set according to the interval. Valid values 0 to 24 + * + * @param int $val The defenderSignatureUpdateIntervalInHours + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSignatureUpdateIntervalInHours($val) + { + $this->_propDict["defenderSignatureUpdateIntervalInHours"] = intval($val); + return $this; + } + + /** + * Gets the defenderSubmitSamplesConsentType + * Checks for the user consent level in Windows Defender to send data. Possible values are: sendSafeSamplesAutomatically, alwaysPrompt, neverSend, sendAllSamplesAutomatically. + * + * @return DefenderSubmitSamplesConsentType|null The defenderSubmitSamplesConsentType + */ + public function getDefenderSubmitSamplesConsentType() + { + if (array_key_exists("defenderSubmitSamplesConsentType", $this->_propDict)) { + if (is_a($this->_propDict["defenderSubmitSamplesConsentType"], "\Beta\Microsoft\Graph\Model\DefenderSubmitSamplesConsentType") || is_null($this->_propDict["defenderSubmitSamplesConsentType"])) { + return $this->_propDict["defenderSubmitSamplesConsentType"]; + } else { + $this->_propDict["defenderSubmitSamplesConsentType"] = new DefenderSubmitSamplesConsentType($this->_propDict["defenderSubmitSamplesConsentType"]); + return $this->_propDict["defenderSubmitSamplesConsentType"]; + } + } + return null; + } + + /** + * Sets the defenderSubmitSamplesConsentType + * Checks for the user consent level in Windows Defender to send data. Possible values are: sendSafeSamplesAutomatically, alwaysPrompt, neverSend, sendAllSamplesAutomatically. + * + * @param DefenderSubmitSamplesConsentType $val The defenderSubmitSamplesConsentType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSubmitSamplesConsentType($val) + { + $this->_propDict["defenderSubmitSamplesConsentType"] = $val; + return $this; + } + + /** + * Gets the defenderUntrustedExecutable + * Value indicating response to executables that don't meet a prevalence, age, or trusted list criteria. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderUntrustedExecutable + */ + public function getDefenderUntrustedExecutable() + { + if (array_key_exists("defenderUntrustedExecutable", $this->_propDict)) { + if (is_a($this->_propDict["defenderUntrustedExecutable"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderUntrustedExecutable"])) { + return $this->_propDict["defenderUntrustedExecutable"]; + } else { + $this->_propDict["defenderUntrustedExecutable"] = new DefenderProtectionType($this->_propDict["defenderUntrustedExecutable"]); + return $this->_propDict["defenderUntrustedExecutable"]; + } + } + return null; + } + + /** + * Sets the defenderUntrustedExecutable + * Value indicating response to executables that don't meet a prevalence, age, or trusted list criteria. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderUntrustedExecutable + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderUntrustedExecutable($val) + { + $this->_propDict["defenderUntrustedExecutable"] = $val; + return $this; + } + + /** + * Gets the defenderUntrustedExecutableType + * Value indicating response to executables that don't meet a prevalence, age, or trusted list criteria. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderUntrustedExecutableType + */ + public function getDefenderUntrustedExecutableType() + { + if (array_key_exists("defenderUntrustedExecutableType", $this->_propDict)) { + if (is_a($this->_propDict["defenderUntrustedExecutableType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderUntrustedExecutableType"])) { + return $this->_propDict["defenderUntrustedExecutableType"]; + } else { + $this->_propDict["defenderUntrustedExecutableType"] = new DefenderAttackSurfaceType($this->_propDict["defenderUntrustedExecutableType"]); + return $this->_propDict["defenderUntrustedExecutableType"]; + } + } + return null; + } + + /** + * Sets the defenderUntrustedExecutableType + * Value indicating response to executables that don't meet a prevalence, age, or trusted list criteria. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderUntrustedExecutableType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderUntrustedExecutableType($val) + { + $this->_propDict["defenderUntrustedExecutableType"] = $val; + return $this; + } + + /** + * Gets the defenderUntrustedUSBProcess + * Value indicating response to untrusted and unsigned processes that run from USB. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderUntrustedUSBProcess + */ + public function getDefenderUntrustedUSBProcess() + { + if (array_key_exists("defenderUntrustedUSBProcess", $this->_propDict)) { + if (is_a($this->_propDict["defenderUntrustedUSBProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderUntrustedUSBProcess"])) { + return $this->_propDict["defenderUntrustedUSBProcess"]; + } else { + $this->_propDict["defenderUntrustedUSBProcess"] = new DefenderProtectionType($this->_propDict["defenderUntrustedUSBProcess"]); + return $this->_propDict["defenderUntrustedUSBProcess"]; + } + } + return null; + } + + /** + * Sets the defenderUntrustedUSBProcess + * Value indicating response to untrusted and unsigned processes that run from USB. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderUntrustedUSBProcess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderUntrustedUSBProcess($val) + { + $this->_propDict["defenderUntrustedUSBProcess"] = $val; + return $this; + } + + /** + * Gets the defenderUntrustedUSBProcessType + * Value indicating response to untrusted and unsigned processes that run from USB. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @return DefenderAttackSurfaceType|null The defenderUntrustedUSBProcessType + */ + public function getDefenderUntrustedUSBProcessType() + { + if (array_key_exists("defenderUntrustedUSBProcessType", $this->_propDict)) { + if (is_a($this->_propDict["defenderUntrustedUSBProcessType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType") || is_null($this->_propDict["defenderUntrustedUSBProcessType"])) { + return $this->_propDict["defenderUntrustedUSBProcessType"]; + } else { + $this->_propDict["defenderUntrustedUSBProcessType"] = new DefenderAttackSurfaceType($this->_propDict["defenderUntrustedUSBProcessType"]); + return $this->_propDict["defenderUntrustedUSBProcessType"]; + } + } + return null; + } + + /** + * Sets the defenderUntrustedUSBProcessType + * Value indicating response to untrusted and unsigned processes that run from USB. Possible values are: userDefined, block, auditMode, warn, disable. + * + * @param DefenderAttackSurfaceType $val The defenderUntrustedUSBProcessType + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderUntrustedUSBProcessType($val) + { + $this->_propDict["defenderUntrustedUSBProcessType"] = $val; + return $this; + } + + /** + * Gets the deviceGuardEnableSecureBootWithDMA + * This property will be deprecated in May 2019 and will be replaced with property DeviceGuardSecureBootWithDMA. Specifies whether Platform Security Level is enabled at next reboot. + * + * @return bool|null The deviceGuardEnableSecureBootWithDMA + */ + public function getDeviceGuardEnableSecureBootWithDMA() + { + if (array_key_exists("deviceGuardEnableSecureBootWithDMA", $this->_propDict)) { + return $this->_propDict["deviceGuardEnableSecureBootWithDMA"]; + } else { + return null; + } + } + + /** + * Sets the deviceGuardEnableSecureBootWithDMA + * This property will be deprecated in May 2019 and will be replaced with property DeviceGuardSecureBootWithDMA. Specifies whether Platform Security Level is enabled at next reboot. + * + * @param bool $val The deviceGuardEnableSecureBootWithDMA + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDeviceGuardEnableSecureBootWithDMA($val) + { + $this->_propDict["deviceGuardEnableSecureBootWithDMA"] = boolval($val); + return $this; + } + + /** + * Gets the deviceGuardEnableVirtualizationBasedSecurity + * Turns On Virtualization Based Security(VBS). + * + * @return bool|null The deviceGuardEnableVirtualizationBasedSecurity + */ + public function getDeviceGuardEnableVirtualizationBasedSecurity() + { + if (array_key_exists("deviceGuardEnableVirtualizationBasedSecurity", $this->_propDict)) { + return $this->_propDict["deviceGuardEnableVirtualizationBasedSecurity"]; + } else { + return null; + } + } + + /** + * Sets the deviceGuardEnableVirtualizationBasedSecurity + * Turns On Virtualization Based Security(VBS). + * + * @param bool $val The deviceGuardEnableVirtualizationBasedSecurity + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDeviceGuardEnableVirtualizationBasedSecurity($val) + { + $this->_propDict["deviceGuardEnableVirtualizationBasedSecurity"] = boolval($val); + return $this; + } + + /** + * Gets the deviceGuardLaunchSystemGuard + * Allows the IT admin to configure the launch of System Guard. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The deviceGuardLaunchSystemGuard + */ + public function getDeviceGuardLaunchSystemGuard() + { + if (array_key_exists("deviceGuardLaunchSystemGuard", $this->_propDict)) { + if (is_a($this->_propDict["deviceGuardLaunchSystemGuard"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["deviceGuardLaunchSystemGuard"])) { + return $this->_propDict["deviceGuardLaunchSystemGuard"]; + } else { + $this->_propDict["deviceGuardLaunchSystemGuard"] = new Enablement($this->_propDict["deviceGuardLaunchSystemGuard"]); + return $this->_propDict["deviceGuardLaunchSystemGuard"]; + } + } + return null; + } + + /** + * Sets the deviceGuardLaunchSystemGuard + * Allows the IT admin to configure the launch of System Guard. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The deviceGuardLaunchSystemGuard + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDeviceGuardLaunchSystemGuard($val) + { + $this->_propDict["deviceGuardLaunchSystemGuard"] = $val; + return $this; + } + + /** + * Gets the deviceGuardLocalSystemAuthorityCredentialGuardSettings + * Turn on Credential Guard when Platform Security Level with Secure Boot and Virtualization Based Security are both enabled. Possible values are: notConfigured, enableWithUEFILock, enableWithoutUEFILock, disable. + * + * @return DeviceGuardLocalSystemAuthorityCredentialGuardType|null The deviceGuardLocalSystemAuthorityCredentialGuardSettings + */ + public function getDeviceGuardLocalSystemAuthorityCredentialGuardSettings() + { + if (array_key_exists("deviceGuardLocalSystemAuthorityCredentialGuardSettings", $this->_propDict)) { + if (is_a($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"], "\Beta\Microsoft\Graph\Model\DeviceGuardLocalSystemAuthorityCredentialGuardType") || is_null($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"])) { + return $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"]; + } else { + $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"] = new DeviceGuardLocalSystemAuthorityCredentialGuardType($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"]); + return $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"]; + } + } + return null; + } + + /** + * Sets the deviceGuardLocalSystemAuthorityCredentialGuardSettings + * Turn on Credential Guard when Platform Security Level with Secure Boot and Virtualization Based Security are both enabled. Possible values are: notConfigured, enableWithUEFILock, enableWithoutUEFILock, disable. + * + * @param DeviceGuardLocalSystemAuthorityCredentialGuardType $val The deviceGuardLocalSystemAuthorityCredentialGuardSettings + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDeviceGuardLocalSystemAuthorityCredentialGuardSettings($val) + { + $this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"] = $val; + return $this; + } + + /** + * Gets the deviceGuardSecureBootWithDMA + * Specifies whether Platform Security Level is enabled at next reboot. Possible values are: notConfigured, withoutDMA, withDMA. + * + * @return SecureBootWithDMAType|null The deviceGuardSecureBootWithDMA + */ + public function getDeviceGuardSecureBootWithDMA() + { + if (array_key_exists("deviceGuardSecureBootWithDMA", $this->_propDict)) { + if (is_a($this->_propDict["deviceGuardSecureBootWithDMA"], "\Beta\Microsoft\Graph\Model\SecureBootWithDMAType") || is_null($this->_propDict["deviceGuardSecureBootWithDMA"])) { + return $this->_propDict["deviceGuardSecureBootWithDMA"]; + } else { + $this->_propDict["deviceGuardSecureBootWithDMA"] = new SecureBootWithDMAType($this->_propDict["deviceGuardSecureBootWithDMA"]); + return $this->_propDict["deviceGuardSecureBootWithDMA"]; + } + } + return null; + } + + /** + * Sets the deviceGuardSecureBootWithDMA + * Specifies whether Platform Security Level is enabled at next reboot. Possible values are: notConfigured, withoutDMA, withDMA. + * + * @param SecureBootWithDMAType $val The deviceGuardSecureBootWithDMA + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDeviceGuardSecureBootWithDMA($val) + { + $this->_propDict["deviceGuardSecureBootWithDMA"] = $val; + return $this; + } + + /** + * Gets the dmaGuardDeviceEnumerationPolicy + * This policy is intended to provide additional security against external DMA capable devices. It allows for more control over the enumeration of external DMA capable devices incompatible with DMA Remapping/device memory isolation and sandboxing. This policy only takes effect when Kernel DMA Protection is supported and enabled by the system firmware. Kernel DMA Protection is a platform feature that cannot be controlled via policy or by end user. It has to be supported by the system at the time of manufacturing. To check if the system supports Kernel DMA Protection, please check the Kernel DMA Protection field in the Summary page of MSINFO32.exe. + * + * @return DmaGuardDeviceEnumerationPolicyType|null The dmaGuardDeviceEnumerationPolicy + */ + public function getDmaGuardDeviceEnumerationPolicy() + { + if (array_key_exists("dmaGuardDeviceEnumerationPolicy", $this->_propDict)) { + if (is_a($this->_propDict["dmaGuardDeviceEnumerationPolicy"], "\Beta\Microsoft\Graph\Model\DmaGuardDeviceEnumerationPolicyType") || is_null($this->_propDict["dmaGuardDeviceEnumerationPolicy"])) { + return $this->_propDict["dmaGuardDeviceEnumerationPolicy"]; + } else { + $this->_propDict["dmaGuardDeviceEnumerationPolicy"] = new DmaGuardDeviceEnumerationPolicyType($this->_propDict["dmaGuardDeviceEnumerationPolicy"]); + return $this->_propDict["dmaGuardDeviceEnumerationPolicy"]; + } + } + return null; + } + + /** + * Sets the dmaGuardDeviceEnumerationPolicy + * This policy is intended to provide additional security against external DMA capable devices. It allows for more control over the enumeration of external DMA capable devices incompatible with DMA Remapping/device memory isolation and sandboxing. This policy only takes effect when Kernel DMA Protection is supported and enabled by the system firmware. Kernel DMA Protection is a platform feature that cannot be controlled via policy or by end user. It has to be supported by the system at the time of manufacturing. To check if the system supports Kernel DMA Protection, please check the Kernel DMA Protection field in the Summary page of MSINFO32.exe. + * + * @param DmaGuardDeviceEnumerationPolicyType $val The dmaGuardDeviceEnumerationPolicy + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDmaGuardDeviceEnumerationPolicy($val) + { + $this->_propDict["dmaGuardDeviceEnumerationPolicy"] = $val; + return $this; + } + + /** + * Gets the firewallBlockStatefulFTP + * Blocks stateful FTP connections to the device + * + * @return bool|null The firewallBlockStatefulFTP + */ + public function getFirewallBlockStatefulFTP() + { + if (array_key_exists("firewallBlockStatefulFTP", $this->_propDict)) { + return $this->_propDict["firewallBlockStatefulFTP"]; + } else { + return null; + } + } + + /** + * Sets the firewallBlockStatefulFTP + * Blocks stateful FTP connections to the device + * + * @param bool $val The firewallBlockStatefulFTP + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallBlockStatefulFTP($val) + { + $this->_propDict["firewallBlockStatefulFTP"] = boolval($val); + return $this; + } + + /** + * Gets the firewallCertificateRevocationListCheckMethod + * Specify how the certificate revocation list is to be enforced. Possible values are: deviceDefault, none, attempt, require. + * + * @return FirewallCertificateRevocationListCheckMethodType|null The firewallCertificateRevocationListCheckMethod + */ + public function getFirewallCertificateRevocationListCheckMethod() + { + if (array_key_exists("firewallCertificateRevocationListCheckMethod", $this->_propDict)) { + if (is_a($this->_propDict["firewallCertificateRevocationListCheckMethod"], "\Beta\Microsoft\Graph\Model\FirewallCertificateRevocationListCheckMethodType") || is_null($this->_propDict["firewallCertificateRevocationListCheckMethod"])) { + return $this->_propDict["firewallCertificateRevocationListCheckMethod"]; + } else { + $this->_propDict["firewallCertificateRevocationListCheckMethod"] = new FirewallCertificateRevocationListCheckMethodType($this->_propDict["firewallCertificateRevocationListCheckMethod"]); + return $this->_propDict["firewallCertificateRevocationListCheckMethod"]; + } + } + return null; + } + + /** + * Sets the firewallCertificateRevocationListCheckMethod + * Specify how the certificate revocation list is to be enforced. Possible values are: deviceDefault, none, attempt, require. + * + * @param FirewallCertificateRevocationListCheckMethodType $val The firewallCertificateRevocationListCheckMethod + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallCertificateRevocationListCheckMethod($val) + { + $this->_propDict["firewallCertificateRevocationListCheckMethod"] = $val; + return $this; + } + + /** + * Gets the firewallIdleTimeoutForSecurityAssociationInSeconds + * Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600 + * + * @return int|null The firewallIdleTimeoutForSecurityAssociationInSeconds + */ + public function getFirewallIdleTimeoutForSecurityAssociationInSeconds() + { + if (array_key_exists("firewallIdleTimeoutForSecurityAssociationInSeconds", $this->_propDict)) { + return $this->_propDict["firewallIdleTimeoutForSecurityAssociationInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the firewallIdleTimeoutForSecurityAssociationInSeconds + * Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600 + * + * @param int $val The firewallIdleTimeoutForSecurityAssociationInSeconds + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIdleTimeoutForSecurityAssociationInSeconds($val) + { + $this->_propDict["firewallIdleTimeoutForSecurityAssociationInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowDHCP + * Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic + * + * @return bool|null The firewallIPSecExemptionsAllowDHCP + */ + public function getFirewallIPSecExemptionsAllowDHCP() + { + if (array_key_exists("firewallIPSecExemptionsAllowDHCP", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowDHCP"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowDHCP + * Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic + * + * @param bool $val The firewallIPSecExemptionsAllowDHCP + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowDHCP($val) + { + $this->_propDict["firewallIPSecExemptionsAllowDHCP"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowICMP + * Configures IPSec exemptions to allow ICMP + * + * @return bool|null The firewallIPSecExemptionsAllowICMP + */ + public function getFirewallIPSecExemptionsAllowICMP() + { + if (array_key_exists("firewallIPSecExemptionsAllowICMP", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowICMP"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowICMP + * Configures IPSec exemptions to allow ICMP + * + * @param bool $val The firewallIPSecExemptionsAllowICMP + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowICMP($val) + { + $this->_propDict["firewallIPSecExemptionsAllowICMP"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowNeighborDiscovery + * Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes + * + * @return bool|null The firewallIPSecExemptionsAllowNeighborDiscovery + */ + public function getFirewallIPSecExemptionsAllowNeighborDiscovery() + { + if (array_key_exists("firewallIPSecExemptionsAllowNeighborDiscovery", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowNeighborDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowNeighborDiscovery + * Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes + * + * @param bool $val The firewallIPSecExemptionsAllowNeighborDiscovery + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowNeighborDiscovery($val) + { + $this->_propDict["firewallIPSecExemptionsAllowNeighborDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowRouterDiscovery + * Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes + * + * @return bool|null The firewallIPSecExemptionsAllowRouterDiscovery + */ + public function getFirewallIPSecExemptionsAllowRouterDiscovery() + { + if (array_key_exists("firewallIPSecExemptionsAllowRouterDiscovery", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowRouterDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowRouterDiscovery + * Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes + * + * @param bool $val The firewallIPSecExemptionsAllowRouterDiscovery + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowRouterDiscovery($val) + { + $this->_propDict["firewallIPSecExemptionsAllowRouterDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsNone + * Configures IPSec exemptions to no exemptions + * + * @return bool|null The firewallIPSecExemptionsNone + */ + public function getFirewallIPSecExemptionsNone() + { + if (array_key_exists("firewallIPSecExemptionsNone", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsNone"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsNone + * Configures IPSec exemptions to no exemptions + * + * @param bool $val The firewallIPSecExemptionsNone + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsNone($val) + { + $this->_propDict["firewallIPSecExemptionsNone"] = boolval($val); + return $this; + } + + /** + * Gets the firewallMergeKeyingModuleSettings + * If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set + * + * @return bool|null The firewallMergeKeyingModuleSettings + */ + public function getFirewallMergeKeyingModuleSettings() + { + if (array_key_exists("firewallMergeKeyingModuleSettings", $this->_propDict)) { + return $this->_propDict["firewallMergeKeyingModuleSettings"]; + } else { + return null; + } + } + + /** + * Sets the firewallMergeKeyingModuleSettings + * If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set + * + * @param bool $val The firewallMergeKeyingModuleSettings + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallMergeKeyingModuleSettings($val) + { + $this->_propDict["firewallMergeKeyingModuleSettings"] = boolval($val); + return $this; + } + + /** + * Gets the firewallPacketQueueingMethod + * Configures how packet queueing should be applied in the tunnel gateway scenario. Possible values are: deviceDefault, disabled, queueInbound, queueOutbound, queueBoth. + * + * @return FirewallPacketQueueingMethodType|null The firewallPacketQueueingMethod + */ + public function getFirewallPacketQueueingMethod() + { + if (array_key_exists("firewallPacketQueueingMethod", $this->_propDict)) { + if (is_a($this->_propDict["firewallPacketQueueingMethod"], "\Beta\Microsoft\Graph\Model\FirewallPacketQueueingMethodType") || is_null($this->_propDict["firewallPacketQueueingMethod"])) { + return $this->_propDict["firewallPacketQueueingMethod"]; + } else { + $this->_propDict["firewallPacketQueueingMethod"] = new FirewallPacketQueueingMethodType($this->_propDict["firewallPacketQueueingMethod"]); + return $this->_propDict["firewallPacketQueueingMethod"]; + } + } + return null; + } + + /** + * Sets the firewallPacketQueueingMethod + * Configures how packet queueing should be applied in the tunnel gateway scenario. Possible values are: deviceDefault, disabled, queueInbound, queueOutbound, queueBoth. + * + * @param FirewallPacketQueueingMethodType $val The firewallPacketQueueingMethod + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallPacketQueueingMethod($val) + { + $this->_propDict["firewallPacketQueueingMethod"] = $val; + return $this; + } + + /** + * Gets the firewallPreSharedKeyEncodingMethod + * Select the preshared key encoding to be used. Possible values are: deviceDefault, none, utF8. + * + * @return FirewallPreSharedKeyEncodingMethodType|null The firewallPreSharedKeyEncodingMethod + */ + public function getFirewallPreSharedKeyEncodingMethod() + { + if (array_key_exists("firewallPreSharedKeyEncodingMethod", $this->_propDict)) { + if (is_a($this->_propDict["firewallPreSharedKeyEncodingMethod"], "\Beta\Microsoft\Graph\Model\FirewallPreSharedKeyEncodingMethodType") || is_null($this->_propDict["firewallPreSharedKeyEncodingMethod"])) { + return $this->_propDict["firewallPreSharedKeyEncodingMethod"]; + } else { + $this->_propDict["firewallPreSharedKeyEncodingMethod"] = new FirewallPreSharedKeyEncodingMethodType($this->_propDict["firewallPreSharedKeyEncodingMethod"]); + return $this->_propDict["firewallPreSharedKeyEncodingMethod"]; + } + } + return null; + } + + /** + * Sets the firewallPreSharedKeyEncodingMethod + * Select the preshared key encoding to be used. Possible values are: deviceDefault, none, utF8. + * + * @param FirewallPreSharedKeyEncodingMethodType $val The firewallPreSharedKeyEncodingMethod + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallPreSharedKeyEncodingMethod($val) + { + $this->_propDict["firewallPreSharedKeyEncodingMethod"] = $val; + return $this; + } + + /** + * Gets the firewallProfileDomain + * Configures the firewall profile settings for domain networks + * + * @return WindowsFirewallNetworkProfile|null The firewallProfileDomain + */ + public function getFirewallProfileDomain() + { + if (array_key_exists("firewallProfileDomain", $this->_propDict)) { + if (is_a($this->_propDict["firewallProfileDomain"], "\Beta\Microsoft\Graph\Model\WindowsFirewallNetworkProfile") || is_null($this->_propDict["firewallProfileDomain"])) { + return $this->_propDict["firewallProfileDomain"]; + } else { + $this->_propDict["firewallProfileDomain"] = new WindowsFirewallNetworkProfile($this->_propDict["firewallProfileDomain"]); + return $this->_propDict["firewallProfileDomain"]; + } + } + return null; + } + + /** + * Sets the firewallProfileDomain + * Configures the firewall profile settings for domain networks + * + * @param WindowsFirewallNetworkProfile $val The firewallProfileDomain + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallProfileDomain($val) + { + $this->_propDict["firewallProfileDomain"] = $val; + return $this; + } + + /** + * Gets the firewallProfilePrivate + * Configures the firewall profile settings for private networks + * + * @return WindowsFirewallNetworkProfile|null The firewallProfilePrivate + */ + public function getFirewallProfilePrivate() + { + if (array_key_exists("firewallProfilePrivate", $this->_propDict)) { + if (is_a($this->_propDict["firewallProfilePrivate"], "\Beta\Microsoft\Graph\Model\WindowsFirewallNetworkProfile") || is_null($this->_propDict["firewallProfilePrivate"])) { + return $this->_propDict["firewallProfilePrivate"]; + } else { + $this->_propDict["firewallProfilePrivate"] = new WindowsFirewallNetworkProfile($this->_propDict["firewallProfilePrivate"]); + return $this->_propDict["firewallProfilePrivate"]; + } + } + return null; + } + + /** + * Sets the firewallProfilePrivate + * Configures the firewall profile settings for private networks + * + * @param WindowsFirewallNetworkProfile $val The firewallProfilePrivate + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallProfilePrivate($val) + { + $this->_propDict["firewallProfilePrivate"] = $val; + return $this; + } + + /** + * Gets the firewallProfilePublic + * Configures the firewall profile settings for public networks + * + * @return WindowsFirewallNetworkProfile|null The firewallProfilePublic + */ + public function getFirewallProfilePublic() + { + if (array_key_exists("firewallProfilePublic", $this->_propDict)) { + if (is_a($this->_propDict["firewallProfilePublic"], "\Beta\Microsoft\Graph\Model\WindowsFirewallNetworkProfile") || is_null($this->_propDict["firewallProfilePublic"])) { + return $this->_propDict["firewallProfilePublic"]; + } else { + $this->_propDict["firewallProfilePublic"] = new WindowsFirewallNetworkProfile($this->_propDict["firewallProfilePublic"]); + return $this->_propDict["firewallProfilePublic"]; + } + } + return null; + } + + /** + * Sets the firewallProfilePublic + * Configures the firewall profile settings for public networks + * + * @param WindowsFirewallNetworkProfile $val The firewallProfilePublic + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallProfilePublic($val) + { + $this->_propDict["firewallProfilePublic"] = $val; + return $this; + } + + + /** + * Gets the firewallRules + * Configures the firewall rule settings. This collection can contain a maximum of 150 elements. + * + * @return array|null The firewallRules + */ + public function getFirewallRules() + { + if (array_key_exists("firewallRules", $this->_propDict)) { + return $this->_propDict["firewallRules"]; + } else { + return null; + } + } + + /** + * Sets the firewallRules + * Configures the firewall rule settings. This collection can contain a maximum of 150 elements. + * + * @param WindowsFirewallRule[] $val The firewallRules + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallRules($val) + { + $this->_propDict["firewallRules"] = $val; + return $this; + } + + /** + * Gets the lanManagerAuthenticationLevel + * This security setting determines which challenge/response authentication protocol is used for network logons. Possible values are: lmAndNltm, lmNtlmAndNtlmV2, lmAndNtlmOnly, lmAndNtlmV2, lmNtlmV2AndNotLm, lmNtlmV2AndNotLmOrNtm. + * + * @return LanManagerAuthenticationLevel|null The lanManagerAuthenticationLevel + */ + public function getLanManagerAuthenticationLevel() + { + if (array_key_exists("lanManagerAuthenticationLevel", $this->_propDict)) { + if (is_a($this->_propDict["lanManagerAuthenticationLevel"], "\Beta\Microsoft\Graph\Model\LanManagerAuthenticationLevel") || is_null($this->_propDict["lanManagerAuthenticationLevel"])) { + return $this->_propDict["lanManagerAuthenticationLevel"]; + } else { + $this->_propDict["lanManagerAuthenticationLevel"] = new LanManagerAuthenticationLevel($this->_propDict["lanManagerAuthenticationLevel"]); + return $this->_propDict["lanManagerAuthenticationLevel"]; + } + } + return null; + } + + /** + * Sets the lanManagerAuthenticationLevel + * This security setting determines which challenge/response authentication protocol is used for network logons. Possible values are: lmAndNltm, lmNtlmAndNtlmV2, lmAndNtlmOnly, lmAndNtlmV2, lmNtlmV2AndNotLm, lmNtlmV2AndNotLmOrNtm. + * + * @param LanManagerAuthenticationLevel $val The lanManagerAuthenticationLevel + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLanManagerAuthenticationLevel($val) + { + $this->_propDict["lanManagerAuthenticationLevel"] = $val; + return $this; + } + + /** + * Gets the lanManagerWorkstationDisableInsecureGuestLogons + * If enabled,the SMB client will allow insecure guest logons. If not configured, the SMB client will reject insecure guest logons. + * + * @return bool|null The lanManagerWorkstationDisableInsecureGuestLogons + */ + public function getLanManagerWorkstationDisableInsecureGuestLogons() + { + if (array_key_exists("lanManagerWorkstationDisableInsecureGuestLogons", $this->_propDict)) { + return $this->_propDict["lanManagerWorkstationDisableInsecureGuestLogons"]; + } else { + return null; + } + } + + /** + * Sets the lanManagerWorkstationDisableInsecureGuestLogons + * If enabled,the SMB client will allow insecure guest logons. If not configured, the SMB client will reject insecure guest logons. + * + * @param bool $val The lanManagerWorkstationDisableInsecureGuestLogons + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLanManagerWorkstationDisableInsecureGuestLogons($val) + { + $this->_propDict["lanManagerWorkstationDisableInsecureGuestLogons"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAdministratorAccountName + * Define a different account name to be associated with the security identifier (SID) for the account 'Administrator'. + * + * @return string|null The localSecurityOptionsAdministratorAccountName + */ + public function getLocalSecurityOptionsAdministratorAccountName() + { + if (array_key_exists("localSecurityOptionsAdministratorAccountName", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAdministratorAccountName"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAdministratorAccountName + * Define a different account name to be associated with the security identifier (SID) for the account 'Administrator'. + * + * @param string $val The localSecurityOptionsAdministratorAccountName + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAdministratorAccountName($val) + { + $this->_propDict["localSecurityOptionsAdministratorAccountName"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsAdministratorElevationPromptBehavior + * Define the behavior of the elevation prompt for admins in Admin Approval Mode. Possible values are: notConfigured, elevateWithoutPrompting, promptForCredentialsOnTheSecureDesktop, promptForConsentOnTheSecureDesktop, promptForCredentials, promptForConsent, promptForConsentForNonWindowsBinaries. + * + * @return LocalSecurityOptionsAdministratorElevationPromptBehaviorType|null The localSecurityOptionsAdministratorElevationPromptBehavior + */ + public function getLocalSecurityOptionsAdministratorElevationPromptBehavior() + { + if (array_key_exists("localSecurityOptionsAdministratorElevationPromptBehavior", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsAdministratorElevationPromptBehaviorType") || is_null($this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"])) { + return $this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"]; + } else { + $this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"] = new LocalSecurityOptionsAdministratorElevationPromptBehaviorType($this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"]); + return $this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsAdministratorElevationPromptBehavior + * Define the behavior of the elevation prompt for admins in Admin Approval Mode. Possible values are: notConfigured, elevateWithoutPrompting, promptForCredentialsOnTheSecureDesktop, promptForConsentOnTheSecureDesktop, promptForCredentials, promptForConsent, promptForConsentForNonWindowsBinaries. + * + * @param LocalSecurityOptionsAdministratorElevationPromptBehaviorType $val The localSecurityOptionsAdministratorElevationPromptBehavior + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAdministratorElevationPromptBehavior($val) + { + $this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares + * This security setting determines whether to allows anonymous users to perform certain activities, such as enumerating the names of domain accounts and network shares. + * + * @return bool|null The localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares + */ + public function getLocalSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares() + { + if (array_key_exists("localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares + * This security setting determines whether to allows anonymous users to perform certain activities, such as enumerating the names of domain accounts and network shares. + * + * @param bool $val The localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares($val) + { + $this->_propDict["localSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAllowPKU2UAuthenticationRequests + * Block PKU2U authentication requests to this device to use online identities. + * + * @return bool|null The localSecurityOptionsAllowPKU2UAuthenticationRequests + */ + public function getLocalSecurityOptionsAllowPKU2UAuthenticationRequests() + { + if (array_key_exists("localSecurityOptionsAllowPKU2UAuthenticationRequests", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowPKU2UAuthenticationRequests"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowPKU2UAuthenticationRequests + * Block PKU2U authentication requests to this device to use online identities. + * + * @param bool $val The localSecurityOptionsAllowPKU2UAuthenticationRequests + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowPKU2UAuthenticationRequests($val) + { + $this->_propDict["localSecurityOptionsAllowPKU2UAuthenticationRequests"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager + * Edit the default Security Descriptor Definition Language string to allow or deny users and groups to make remote calls to the SAM. + * + * @return string|null The localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager + */ + public function getLocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManager() + { + if (array_key_exists("localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager + * Edit the default Security Descriptor Definition Language string to allow or deny users and groups to make remote calls to the SAM. + * + * @param string $val The localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManager($val) + { + $this->_propDict["localSecurityOptionsAllowRemoteCallsToSecurityAccountsManager"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool + * UI helper boolean for LocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManager entity + * + * @return bool|null The localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool + */ + public function getLocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool() + { + if (array_key_exists("localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool + * UI helper boolean for LocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManager entity + * + * @param bool $val The localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool($val) + { + $this->_propDict["localSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn + * This security setting determines whether a computer can be shut down without having to log on to Windows. + * + * @return bool|null The localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn + */ + public function getLocalSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn() + { + if (array_key_exists("localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn + * This security setting determines whether a computer can be shut down without having to log on to Windows. + * + * @param bool $val The localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn($val) + { + $this->_propDict["localSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAllowUIAccessApplicationElevation + * Allow UIAccess apps to prompt for elevation without using the secure desktop. + * + * @return bool|null The localSecurityOptionsAllowUIAccessApplicationElevation + */ + public function getLocalSecurityOptionsAllowUIAccessApplicationElevation() + { + if (array_key_exists("localSecurityOptionsAllowUIAccessApplicationElevation", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowUIAccessApplicationElevation"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowUIAccessApplicationElevation + * Allow UIAccess apps to prompt for elevation without using the secure desktop. + * + * @param bool $val The localSecurityOptionsAllowUIAccessApplicationElevation + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowUIAccessApplicationElevation($val) + { + $this->_propDict["localSecurityOptionsAllowUIAccessApplicationElevation"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAllowUIAccessApplicationsForSecureLocations + * Allow UIAccess apps to prompt for elevation without using the secure desktop.Default is enabled + * + * @return bool|null The localSecurityOptionsAllowUIAccessApplicationsForSecureLocations + */ + public function getLocalSecurityOptionsAllowUIAccessApplicationsForSecureLocations() + { + if (array_key_exists("localSecurityOptionsAllowUIAccessApplicationsForSecureLocations", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowUIAccessApplicationsForSecureLocations"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowUIAccessApplicationsForSecureLocations + * Allow UIAccess apps to prompt for elevation without using the secure desktop.Default is enabled + * + * @param bool $val The localSecurityOptionsAllowUIAccessApplicationsForSecureLocations + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowUIAccessApplicationsForSecureLocations($val) + { + $this->_propDict["localSecurityOptionsAllowUIAccessApplicationsForSecureLocations"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsAllowUndockWithoutHavingToLogon + * Prevent a portable computer from being undocked without having to log in. + * + * @return bool|null The localSecurityOptionsAllowUndockWithoutHavingToLogon + */ + public function getLocalSecurityOptionsAllowUndockWithoutHavingToLogon() + { + if (array_key_exists("localSecurityOptionsAllowUndockWithoutHavingToLogon", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsAllowUndockWithoutHavingToLogon"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsAllowUndockWithoutHavingToLogon + * Prevent a portable computer from being undocked without having to log in. + * + * @param bool $val The localSecurityOptionsAllowUndockWithoutHavingToLogon + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsAllowUndockWithoutHavingToLogon($val) + { + $this->_propDict["localSecurityOptionsAllowUndockWithoutHavingToLogon"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsBlockMicrosoftAccounts + * Prevent users from adding new Microsoft accounts to this computer. + * + * @return bool|null The localSecurityOptionsBlockMicrosoftAccounts + */ + public function getLocalSecurityOptionsBlockMicrosoftAccounts() + { + if (array_key_exists("localSecurityOptionsBlockMicrosoftAccounts", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsBlockMicrosoftAccounts"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsBlockMicrosoftAccounts + * Prevent users from adding new Microsoft accounts to this computer. + * + * @param bool $val The localSecurityOptionsBlockMicrosoftAccounts + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsBlockMicrosoftAccounts($val) + { + $this->_propDict["localSecurityOptionsBlockMicrosoftAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsBlockRemoteLogonWithBlankPassword + * Enable Local accounts that are not password protected to log on from locations other than the physical device.Default is enabled + * + * @return bool|null The localSecurityOptionsBlockRemoteLogonWithBlankPassword + */ + public function getLocalSecurityOptionsBlockRemoteLogonWithBlankPassword() + { + if (array_key_exists("localSecurityOptionsBlockRemoteLogonWithBlankPassword", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsBlockRemoteLogonWithBlankPassword"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsBlockRemoteLogonWithBlankPassword + * Enable Local accounts that are not password protected to log on from locations other than the physical device.Default is enabled + * + * @param bool $val The localSecurityOptionsBlockRemoteLogonWithBlankPassword + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsBlockRemoteLogonWithBlankPassword($val) + { + $this->_propDict["localSecurityOptionsBlockRemoteLogonWithBlankPassword"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsBlockRemoteOpticalDriveAccess + * Enabling this settings allows only interactively logged on user to access CD-ROM media. + * + * @return bool|null The localSecurityOptionsBlockRemoteOpticalDriveAccess + */ + public function getLocalSecurityOptionsBlockRemoteOpticalDriveAccess() + { + if (array_key_exists("localSecurityOptionsBlockRemoteOpticalDriveAccess", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsBlockRemoteOpticalDriveAccess"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsBlockRemoteOpticalDriveAccess + * Enabling this settings allows only interactively logged on user to access CD-ROM media. + * + * @param bool $val The localSecurityOptionsBlockRemoteOpticalDriveAccess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsBlockRemoteOpticalDriveAccess($val) + { + $this->_propDict["localSecurityOptionsBlockRemoteOpticalDriveAccess"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsBlockUsersInstallingPrinterDrivers + * Restrict installing printer drivers as part of connecting to a shared printer to admins only. + * + * @return bool|null The localSecurityOptionsBlockUsersInstallingPrinterDrivers + */ + public function getLocalSecurityOptionsBlockUsersInstallingPrinterDrivers() + { + if (array_key_exists("localSecurityOptionsBlockUsersInstallingPrinterDrivers", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsBlockUsersInstallingPrinterDrivers"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsBlockUsersInstallingPrinterDrivers + * Restrict installing printer drivers as part of connecting to a shared printer to admins only. + * + * @param bool $val The localSecurityOptionsBlockUsersInstallingPrinterDrivers + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsBlockUsersInstallingPrinterDrivers($val) + { + $this->_propDict["localSecurityOptionsBlockUsersInstallingPrinterDrivers"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsClearVirtualMemoryPageFile + * This security setting determines whether the virtual memory pagefile is cleared when the system is shut down. + * + * @return bool|null The localSecurityOptionsClearVirtualMemoryPageFile + */ + public function getLocalSecurityOptionsClearVirtualMemoryPageFile() + { + if (array_key_exists("localSecurityOptionsClearVirtualMemoryPageFile", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsClearVirtualMemoryPageFile"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsClearVirtualMemoryPageFile + * This security setting determines whether the virtual memory pagefile is cleared when the system is shut down. + * + * @param bool $val The localSecurityOptionsClearVirtualMemoryPageFile + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsClearVirtualMemoryPageFile($val) + { + $this->_propDict["localSecurityOptionsClearVirtualMemoryPageFile"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsClientDigitallySignCommunicationsAlways + * This security setting determines whether packet signing is required by the SMB client component. + * + * @return bool|null The localSecurityOptionsClientDigitallySignCommunicationsAlways + */ + public function getLocalSecurityOptionsClientDigitallySignCommunicationsAlways() + { + if (array_key_exists("localSecurityOptionsClientDigitallySignCommunicationsAlways", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsClientDigitallySignCommunicationsAlways"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsClientDigitallySignCommunicationsAlways + * This security setting determines whether packet signing is required by the SMB client component. + * + * @param bool $val The localSecurityOptionsClientDigitallySignCommunicationsAlways + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsClientDigitallySignCommunicationsAlways($val) + { + $this->_propDict["localSecurityOptionsClientDigitallySignCommunicationsAlways"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers + * If this security setting is enabled, the Server Message Block (SMB) redirector is allowed to send plaintext passwords to non-Microsoft SMB servers that do not support password encryption during authentication. + * + * @return bool|null The localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers + */ + public function getLocalSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers() + { + if (array_key_exists("localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers + * If this security setting is enabled, the Server Message Block (SMB) redirector is allowed to send plaintext passwords to non-Microsoft SMB servers that do not support password encryption during authentication. + * + * @param bool $val The localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers($val) + { + $this->_propDict["localSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation + * App installations requiring elevated privileges will prompt for admin credentials.Default is enabled + * + * @return bool|null The localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation + */ + public function getLocalSecurityOptionsDetectApplicationInstallationsAndPromptForElevation() + { + if (array_key_exists("localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation + * App installations requiring elevated privileges will prompt for admin credentials.Default is enabled + * + * @param bool $val The localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDetectApplicationInstallationsAndPromptForElevation($val) + { + $this->_propDict["localSecurityOptionsDetectApplicationInstallationsAndPromptForElevation"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDisableAdministratorAccount + * Determines whether the Local Administrator account is enabled or disabled. + * + * @return bool|null The localSecurityOptionsDisableAdministratorAccount + */ + public function getLocalSecurityOptionsDisableAdministratorAccount() + { + if (array_key_exists("localSecurityOptionsDisableAdministratorAccount", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDisableAdministratorAccount"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDisableAdministratorAccount + * Determines whether the Local Administrator account is enabled or disabled. + * + * @param bool $val The localSecurityOptionsDisableAdministratorAccount + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDisableAdministratorAccount($val) + { + $this->_propDict["localSecurityOptionsDisableAdministratorAccount"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees + * This security setting determines whether the SMB client attempts to negotiate SMB packet signing. + * + * @return bool|null The localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees + */ + public function getLocalSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees() + { + if (array_key_exists("localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees + * This security setting determines whether the SMB client attempts to negotiate SMB packet signing. + * + * @param bool $val The localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees($val) + { + $this->_propDict["localSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDisableGuestAccount + * Determines if the Guest account is enabled or disabled. + * + * @return bool|null The localSecurityOptionsDisableGuestAccount + */ + public function getLocalSecurityOptionsDisableGuestAccount() + { + if (array_key_exists("localSecurityOptionsDisableGuestAccount", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDisableGuestAccount"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDisableGuestAccount + * Determines if the Guest account is enabled or disabled. + * + * @param bool $val The localSecurityOptionsDisableGuestAccount + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDisableGuestAccount($val) + { + $this->_propDict["localSecurityOptionsDisableGuestAccount"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDisableServerDigitallySignCommunicationsAlways + * This security setting determines whether packet signing is required by the SMB server component. + * + * @return bool|null The localSecurityOptionsDisableServerDigitallySignCommunicationsAlways + */ + public function getLocalSecurityOptionsDisableServerDigitallySignCommunicationsAlways() + { + if (array_key_exists("localSecurityOptionsDisableServerDigitallySignCommunicationsAlways", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDisableServerDigitallySignCommunicationsAlways"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDisableServerDigitallySignCommunicationsAlways + * This security setting determines whether packet signing is required by the SMB server component. + * + * @param bool $val The localSecurityOptionsDisableServerDigitallySignCommunicationsAlways + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDisableServerDigitallySignCommunicationsAlways($val) + { + $this->_propDict["localSecurityOptionsDisableServerDigitallySignCommunicationsAlways"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees + * This security setting determines whether the SMB server will negotiate SMB packet signing with clients that request it. + * + * @return bool|null The localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees + */ + public function getLocalSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees() + { + if (array_key_exists("localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees + * This security setting determines whether the SMB server will negotiate SMB packet signing with clients that request it. + * + * @param bool $val The localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees($val) + { + $this->_propDict["localSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts + * This security setting determines what additional permissions will be granted for anonymous connections to the computer. + * + * @return bool|null The localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts + */ + public function getLocalSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts() + { + if (array_key_exists("localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts + * This security setting determines what additional permissions will be granted for anonymous connections to the computer. + * + * @param bool $val The localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts($val) + { + $this->_propDict["localSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDoNotRequireCtrlAltDel + * Require CTRL+ALT+DEL to be pressed before a user can log on. + * + * @return bool|null The localSecurityOptionsDoNotRequireCtrlAltDel + */ + public function getLocalSecurityOptionsDoNotRequireCtrlAltDel() + { + if (array_key_exists("localSecurityOptionsDoNotRequireCtrlAltDel", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDoNotRequireCtrlAltDel"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDoNotRequireCtrlAltDel + * Require CTRL+ALT+DEL to be pressed before a user can log on. + * + * @param bool $val The localSecurityOptionsDoNotRequireCtrlAltDel + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDoNotRequireCtrlAltDel($val) + { + $this->_propDict["localSecurityOptionsDoNotRequireCtrlAltDel"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange + * This security setting determines if, at the next password change, the LAN Manager (LM) hash value for the new password is stored. It’s not stored by default. + * + * @return bool|null The localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange + */ + public function getLocalSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange() + { + if (array_key_exists("localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange + * This security setting determines if, at the next password change, the LAN Manager (LM) hash value for the new password is stored. It’s not stored by default. + * + * @param bool $val The localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange($val) + { + $this->_propDict["localSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser + * Define who is allowed to format and eject removable NTFS media. Possible values are: notConfigured, administrators, administratorsAndPowerUsers, administratorsAndInteractiveUsers. + * + * @return LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType|null The localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser + */ + public function getLocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser() + { + if (array_key_exists("localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType") || is_null($this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"])) { + return $this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"]; + } else { + $this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"] = new LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType($this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"]); + return $this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser + * Define who is allowed to format and eject removable NTFS media. Possible values are: notConfigured, administrators, administratorsAndPowerUsers, administratorsAndInteractiveUsers. + * + * @param LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType $val The localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser($val) + { + $this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsGuestAccountName + * Define a different account name to be associated with the security identifier (SID) for the account 'Guest'. + * + * @return string|null The localSecurityOptionsGuestAccountName + */ + public function getLocalSecurityOptionsGuestAccountName() + { + if (array_key_exists("localSecurityOptionsGuestAccountName", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsGuestAccountName"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsGuestAccountName + * Define a different account name to be associated with the security identifier (SID) for the account 'Guest'. + * + * @param string $val The localSecurityOptionsGuestAccountName + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsGuestAccountName($val) + { + $this->_propDict["localSecurityOptionsGuestAccountName"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsHideLastSignedInUser + * Do not display the username of the last person who signed in on this device. + * + * @return bool|null The localSecurityOptionsHideLastSignedInUser + */ + public function getLocalSecurityOptionsHideLastSignedInUser() + { + if (array_key_exists("localSecurityOptionsHideLastSignedInUser", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsHideLastSignedInUser"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsHideLastSignedInUser + * Do not display the username of the last person who signed in on this device. + * + * @param bool $val The localSecurityOptionsHideLastSignedInUser + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsHideLastSignedInUser($val) + { + $this->_propDict["localSecurityOptionsHideLastSignedInUser"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsHideUsernameAtSignIn + * Do not display the username of the person signing in to this device after credentials are entered and before the device’s desktop is shown. + * + * @return bool|null The localSecurityOptionsHideUsernameAtSignIn + */ + public function getLocalSecurityOptionsHideUsernameAtSignIn() + { + if (array_key_exists("localSecurityOptionsHideUsernameAtSignIn", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsHideUsernameAtSignIn"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsHideUsernameAtSignIn + * Do not display the username of the person signing in to this device after credentials are entered and before the device’s desktop is shown. + * + * @param bool $val The localSecurityOptionsHideUsernameAtSignIn + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsHideUsernameAtSignIn($val) + { + $this->_propDict["localSecurityOptionsHideUsernameAtSignIn"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsInformationDisplayedOnLockScreen + * Configure the user information that is displayed when the session is locked. If not configured, user display name, domain and username are shown. Possible values are: notConfigured, administrators, administratorsAndPowerUsers, administratorsAndInteractiveUsers. + * + * @return LocalSecurityOptionsInformationDisplayedOnLockScreenType|null The localSecurityOptionsInformationDisplayedOnLockScreen + */ + public function getLocalSecurityOptionsInformationDisplayedOnLockScreen() + { + if (array_key_exists("localSecurityOptionsInformationDisplayedOnLockScreen", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsInformationDisplayedOnLockScreenType") || is_null($this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"])) { + return $this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"]; + } else { + $this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"] = new LocalSecurityOptionsInformationDisplayedOnLockScreenType($this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"]); + return $this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsInformationDisplayedOnLockScreen + * Configure the user information that is displayed when the session is locked. If not configured, user display name, domain and username are shown. Possible values are: notConfigured, administrators, administratorsAndPowerUsers, administratorsAndInteractiveUsers. + * + * @param LocalSecurityOptionsInformationDisplayedOnLockScreenType $val The localSecurityOptionsInformationDisplayedOnLockScreen + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsInformationDisplayedOnLockScreen($val) + { + $this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsInformationShownOnLockScreen + * Configure the user information that is displayed when the session is locked. If not configured, user display name, domain and username are shown. Possible values are: notConfigured, userDisplayNameDomainUser, userDisplayNameOnly, doNotDisplayUser. + * + * @return LocalSecurityOptionsInformationShownOnLockScreenType|null The localSecurityOptionsInformationShownOnLockScreen + */ + public function getLocalSecurityOptionsInformationShownOnLockScreen() + { + if (array_key_exists("localSecurityOptionsInformationShownOnLockScreen", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsInformationShownOnLockScreen"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsInformationShownOnLockScreenType") || is_null($this->_propDict["localSecurityOptionsInformationShownOnLockScreen"])) { + return $this->_propDict["localSecurityOptionsInformationShownOnLockScreen"]; + } else { + $this->_propDict["localSecurityOptionsInformationShownOnLockScreen"] = new LocalSecurityOptionsInformationShownOnLockScreenType($this->_propDict["localSecurityOptionsInformationShownOnLockScreen"]); + return $this->_propDict["localSecurityOptionsInformationShownOnLockScreen"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsInformationShownOnLockScreen + * Configure the user information that is displayed when the session is locked. If not configured, user display name, domain and username are shown. Possible values are: notConfigured, userDisplayNameDomainUser, userDisplayNameOnly, doNotDisplayUser. + * + * @param LocalSecurityOptionsInformationShownOnLockScreenType $val The localSecurityOptionsInformationShownOnLockScreen + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsInformationShownOnLockScreen($val) + { + $this->_propDict["localSecurityOptionsInformationShownOnLockScreen"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsLogOnMessageText + * Set message text for users attempting to log in. + * + * @return string|null The localSecurityOptionsLogOnMessageText + */ + public function getLocalSecurityOptionsLogOnMessageText() + { + if (array_key_exists("localSecurityOptionsLogOnMessageText", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsLogOnMessageText"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsLogOnMessageText + * Set message text for users attempting to log in. + * + * @param string $val The localSecurityOptionsLogOnMessageText + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsLogOnMessageText($val) + { + $this->_propDict["localSecurityOptionsLogOnMessageText"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsLogOnMessageTitle + * Set message title for users attempting to log in. + * + * @return string|null The localSecurityOptionsLogOnMessageTitle + */ + public function getLocalSecurityOptionsLogOnMessageTitle() + { + if (array_key_exists("localSecurityOptionsLogOnMessageTitle", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsLogOnMessageTitle"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsLogOnMessageTitle + * Set message title for users attempting to log in. + * + * @param string $val The localSecurityOptionsLogOnMessageTitle + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsLogOnMessageTitle($val) + { + $this->_propDict["localSecurityOptionsLogOnMessageTitle"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsMachineInactivityLimit + * Define maximum minutes of inactivity on the interactive desktop’s login screen until the screen saver runs. Valid values 0 to 9999 + * + * @return int|null The localSecurityOptionsMachineInactivityLimit + */ + public function getLocalSecurityOptionsMachineInactivityLimit() + { + if (array_key_exists("localSecurityOptionsMachineInactivityLimit", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsMachineInactivityLimit"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsMachineInactivityLimit + * Define maximum minutes of inactivity on the interactive desktop’s login screen until the screen saver runs. Valid values 0 to 9999 + * + * @param int $val The localSecurityOptionsMachineInactivityLimit + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsMachineInactivityLimit($val) + { + $this->_propDict["localSecurityOptionsMachineInactivityLimit"] = intval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsMachineInactivityLimitInMinutes + * Define maximum minutes of inactivity on the interactive desktop’s login screen until the screen saver runs. Valid values 0 to 9999 + * + * @return int|null The localSecurityOptionsMachineInactivityLimitInMinutes + */ + public function getLocalSecurityOptionsMachineInactivityLimitInMinutes() + { + if (array_key_exists("localSecurityOptionsMachineInactivityLimitInMinutes", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsMachineInactivityLimitInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsMachineInactivityLimitInMinutes + * Define maximum minutes of inactivity on the interactive desktop’s login screen until the screen saver runs. Valid values 0 to 9999 + * + * @param int $val The localSecurityOptionsMachineInactivityLimitInMinutes + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsMachineInactivityLimitInMinutes($val) + { + $this->_propDict["localSecurityOptionsMachineInactivityLimitInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients + * This security setting allows a client to require the negotiation of 128-bit encryption and/or NTLMv2 session security. Possible values are: none, requireNtmlV2SessionSecurity, require128BitEncryption, ntlmV2And128BitEncryption. + * + * @return LocalSecurityOptionsMinimumSessionSecurity|null The localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients + */ + public function getLocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients() + { + if (array_key_exists("localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsMinimumSessionSecurity") || is_null($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"])) { + return $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"]; + } else { + $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"] = new LocalSecurityOptionsMinimumSessionSecurity($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"]); + return $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients + * This security setting allows a client to require the negotiation of 128-bit encryption and/or NTLMv2 session security. Possible values are: none, requireNtmlV2SessionSecurity, require128BitEncryption, ntlmV2And128BitEncryption. + * + * @param LocalSecurityOptionsMinimumSessionSecurity $val The localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients($val) + { + $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers + * This security setting allows a server to require the negotiation of 128-bit encryption and/or NTLMv2 session security. Possible values are: none, requireNtmlV2SessionSecurity, require128BitEncryption, ntlmV2And128BitEncryption. + * + * @return LocalSecurityOptionsMinimumSessionSecurity|null The localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers + */ + public function getLocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers() + { + if (array_key_exists("localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsMinimumSessionSecurity") || is_null($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"])) { + return $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"]; + } else { + $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"] = new LocalSecurityOptionsMinimumSessionSecurity($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"]); + return $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers + * This security setting allows a server to require the negotiation of 128-bit encryption and/or NTLMv2 session security. Possible values are: none, requireNtmlV2SessionSecurity, require128BitEncryption, ntlmV2And128BitEncryption. + * + * @param LocalSecurityOptionsMinimumSessionSecurity $val The localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers($val) + { + $this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsOnlyElevateSignedExecutables + * Enforce PKI certification path validation for a given executable file before it is permitted to run. + * + * @return bool|null The localSecurityOptionsOnlyElevateSignedExecutables + */ + public function getLocalSecurityOptionsOnlyElevateSignedExecutables() + { + if (array_key_exists("localSecurityOptionsOnlyElevateSignedExecutables", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsOnlyElevateSignedExecutables"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsOnlyElevateSignedExecutables + * Enforce PKI certification path validation for a given executable file before it is permitted to run. + * + * @param bool $val The localSecurityOptionsOnlyElevateSignedExecutables + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsOnlyElevateSignedExecutables($val) + { + $this->_propDict["localSecurityOptionsOnlyElevateSignedExecutables"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares + * By default, this security setting restricts anonymous access to shares and pipes to the settings for named pipes that can be accessed anonymously and Shares that can be accessed anonymously + * + * @return bool|null The localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares + */ + public function getLocalSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares() + { + if (array_key_exists("localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares + * By default, this security setting restricts anonymous access to shares and pipes to the settings for named pipes that can be accessed anonymously and Shares that can be accessed anonymously + * + * @param bool $val The localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares($val) + { + $this->_propDict["localSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsSmartCardRemovalBehavior + * This security setting determines what happens when the smart card for a logged-on user is removed from the smart card reader. Possible values are: noAction, lockWorkstation, forceLogoff, disconnectRemoteDesktopSession. + * + * @return LocalSecurityOptionsSmartCardRemovalBehaviorType|null The localSecurityOptionsSmartCardRemovalBehavior + */ + public function getLocalSecurityOptionsSmartCardRemovalBehavior() + { + if (array_key_exists("localSecurityOptionsSmartCardRemovalBehavior", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsSmartCardRemovalBehaviorType") || is_null($this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"])) { + return $this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"]; + } else { + $this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"] = new LocalSecurityOptionsSmartCardRemovalBehaviorType($this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"]); + return $this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsSmartCardRemovalBehavior + * This security setting determines what happens when the smart card for a logged-on user is removed from the smart card reader. Possible values are: noAction, lockWorkstation, forceLogoff, disconnectRemoteDesktopSession. + * + * @param LocalSecurityOptionsSmartCardRemovalBehaviorType $val The localSecurityOptionsSmartCardRemovalBehavior + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsSmartCardRemovalBehavior($val) + { + $this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsStandardUserElevationPromptBehavior + * Define the behavior of the elevation prompt for standard users. Possible values are: notConfigured, automaticallyDenyElevationRequests, promptForCredentialsOnTheSecureDesktop, promptForCredentials. + * + * @return LocalSecurityOptionsStandardUserElevationPromptBehaviorType|null The localSecurityOptionsStandardUserElevationPromptBehavior + */ + public function getLocalSecurityOptionsStandardUserElevationPromptBehavior() + { + if (array_key_exists("localSecurityOptionsStandardUserElevationPromptBehavior", $this->_propDict)) { + if (is_a($this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsStandardUserElevationPromptBehaviorType") || is_null($this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"])) { + return $this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"]; + } else { + $this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"] = new LocalSecurityOptionsStandardUserElevationPromptBehaviorType($this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"]); + return $this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"]; + } + } + return null; + } + + /** + * Sets the localSecurityOptionsStandardUserElevationPromptBehavior + * Define the behavior of the elevation prompt for standard users. Possible values are: notConfigured, automaticallyDenyElevationRequests, promptForCredentialsOnTheSecureDesktop, promptForCredentials. + * + * @param LocalSecurityOptionsStandardUserElevationPromptBehaviorType $val The localSecurityOptionsStandardUserElevationPromptBehavior + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsStandardUserElevationPromptBehavior($val) + { + $this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"] = $val; + return $this; + } + + /** + * Gets the localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation + * Enable all elevation requests to go to the interactive user's desktop rather than the secure desktop. Prompt behavior policy settings for admins and standard users are used. + * + * @return bool|null The localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation + */ + public function getLocalSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation() + { + if (array_key_exists("localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation + * Enable all elevation requests to go to the interactive user's desktop rather than the secure desktop. Prompt behavior policy settings for admins and standard users are used. + * + * @param bool $val The localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation($val) + { + $this->_propDict["localSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsUseAdminApprovalMode + * Defines whether the built-in admin account uses Admin Approval Mode or runs all apps with full admin privileges.Default is enabled + * + * @return bool|null The localSecurityOptionsUseAdminApprovalMode + */ + public function getLocalSecurityOptionsUseAdminApprovalMode() + { + if (array_key_exists("localSecurityOptionsUseAdminApprovalMode", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsUseAdminApprovalMode"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsUseAdminApprovalMode + * Defines whether the built-in admin account uses Admin Approval Mode or runs all apps with full admin privileges.Default is enabled + * + * @param bool $val The localSecurityOptionsUseAdminApprovalMode + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsUseAdminApprovalMode($val) + { + $this->_propDict["localSecurityOptionsUseAdminApprovalMode"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsUseAdminApprovalModeForAdministrators + * Define whether Admin Approval Mode and all UAC policy settings are enabled, default is enabled + * + * @return bool|null The localSecurityOptionsUseAdminApprovalModeForAdministrators + */ + public function getLocalSecurityOptionsUseAdminApprovalModeForAdministrators() + { + if (array_key_exists("localSecurityOptionsUseAdminApprovalModeForAdministrators", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsUseAdminApprovalModeForAdministrators"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsUseAdminApprovalModeForAdministrators + * Define whether Admin Approval Mode and all UAC policy settings are enabled, default is enabled + * + * @param bool $val The localSecurityOptionsUseAdminApprovalModeForAdministrators + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsUseAdminApprovalModeForAdministrators($val) + { + $this->_propDict["localSecurityOptionsUseAdminApprovalModeForAdministrators"] = boolval($val); + return $this; + } + + /** + * Gets the localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations + * Virtualize file and registry write failures to per user locations + * + * @return bool|null The localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations + */ + public function getLocalSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations() + { + if (array_key_exists("localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations", $this->_propDict)) { + return $this->_propDict["localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations"]; + } else { + return null; + } + } + + /** + * Sets the localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations + * Virtualize file and registry write failures to per user locations + * + * @param bool $val The localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setLocalSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations($val) + { + $this->_propDict["localSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenBlockOverrideForFiles + * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + * + * @return bool|null The smartScreenBlockOverrideForFiles + */ + public function getSmartScreenBlockOverrideForFiles() + { + if (array_key_exists("smartScreenBlockOverrideForFiles", $this->_propDict)) { + return $this->_propDict["smartScreenBlockOverrideForFiles"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenBlockOverrideForFiles + * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + * + * @param bool $val The smartScreenBlockOverrideForFiles + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setSmartScreenBlockOverrideForFiles($val) + { + $this->_propDict["smartScreenBlockOverrideForFiles"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenEnableInShell + * Allows IT Admins to configure SmartScreen for Windows. + * + * @return bool|null The smartScreenEnableInShell + */ + public function getSmartScreenEnableInShell() + { + if (array_key_exists("smartScreenEnableInShell", $this->_propDict)) { + return $this->_propDict["smartScreenEnableInShell"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenEnableInShell + * Allows IT Admins to configure SmartScreen for Windows. + * + * @param bool $val The smartScreenEnableInShell + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setSmartScreenEnableInShell($val) + { + $this->_propDict["smartScreenEnableInShell"] = boolval($val); + return $this; + } + + /** + * Gets the userRightsAccessCredentialManagerAsTrustedCaller + * This user right is used by Credential Manager during Backup/Restore. Users' saved credentials might be compromised if this privilege is given to other entities. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsAccessCredentialManagerAsTrustedCaller + */ + public function getUserRightsAccessCredentialManagerAsTrustedCaller() + { + if (array_key_exists("userRightsAccessCredentialManagerAsTrustedCaller", $this->_propDict)) { + if (is_a($this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"])) { + return $this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"]; + } else { + $this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"]); + return $this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"]; + } + } + return null; + } + + /** + * Sets the userRightsAccessCredentialManagerAsTrustedCaller + * This user right is used by Credential Manager during Backup/Restore. Users' saved credentials might be compromised if this privilege is given to other entities. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsAccessCredentialManagerAsTrustedCaller + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsAccessCredentialManagerAsTrustedCaller($val) + { + $this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"] = $val; + return $this; + } + + /** + * Gets the userRightsActAsPartOfTheOperatingSystem + * This user right allows a process to impersonate any user without authentication. The process can therefore gain access to the same local resources as that user. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsActAsPartOfTheOperatingSystem + */ + public function getUserRightsActAsPartOfTheOperatingSystem() + { + if (array_key_exists("userRightsActAsPartOfTheOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["userRightsActAsPartOfTheOperatingSystem"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsActAsPartOfTheOperatingSystem"])) { + return $this->_propDict["userRightsActAsPartOfTheOperatingSystem"]; + } else { + $this->_propDict["userRightsActAsPartOfTheOperatingSystem"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsActAsPartOfTheOperatingSystem"]); + return $this->_propDict["userRightsActAsPartOfTheOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the userRightsActAsPartOfTheOperatingSystem + * This user right allows a process to impersonate any user without authentication. The process can therefore gain access to the same local resources as that user. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsActAsPartOfTheOperatingSystem + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsActAsPartOfTheOperatingSystem($val) + { + $this->_propDict["userRightsActAsPartOfTheOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the userRightsAllowAccessFromNetwork + * This user right determines which users and groups are allowed to connect to the computer over the network. State Allowed is supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsAllowAccessFromNetwork + */ + public function getUserRightsAllowAccessFromNetwork() + { + if (array_key_exists("userRightsAllowAccessFromNetwork", $this->_propDict)) { + if (is_a($this->_propDict["userRightsAllowAccessFromNetwork"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsAllowAccessFromNetwork"])) { + return $this->_propDict["userRightsAllowAccessFromNetwork"]; + } else { + $this->_propDict["userRightsAllowAccessFromNetwork"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsAllowAccessFromNetwork"]); + return $this->_propDict["userRightsAllowAccessFromNetwork"]; + } + } + return null; + } + + /** + * Sets the userRightsAllowAccessFromNetwork + * This user right determines which users and groups are allowed to connect to the computer over the network. State Allowed is supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsAllowAccessFromNetwork + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsAllowAccessFromNetwork($val) + { + $this->_propDict["userRightsAllowAccessFromNetwork"] = $val; + return $this; + } + + /** + * Gets the userRightsBackupData + * This user right determines which users can bypass file, directory, registry, and other persistent objects permissions when backing up files and directories. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsBackupData + */ + public function getUserRightsBackupData() + { + if (array_key_exists("userRightsBackupData", $this->_propDict)) { + if (is_a($this->_propDict["userRightsBackupData"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsBackupData"])) { + return $this->_propDict["userRightsBackupData"]; + } else { + $this->_propDict["userRightsBackupData"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsBackupData"]); + return $this->_propDict["userRightsBackupData"]; + } + } + return null; + } + + /** + * Sets the userRightsBackupData + * This user right determines which users can bypass file, directory, registry, and other persistent objects permissions when backing up files and directories. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsBackupData + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsBackupData($val) + { + $this->_propDict["userRightsBackupData"] = $val; + return $this; + } + + /** + * Gets the userRightsBlockAccessFromNetwork + * This user right determines which users and groups are block from connecting to the computer over the network. State Block is supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsBlockAccessFromNetwork + */ + public function getUserRightsBlockAccessFromNetwork() + { + if (array_key_exists("userRightsBlockAccessFromNetwork", $this->_propDict)) { + if (is_a($this->_propDict["userRightsBlockAccessFromNetwork"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsBlockAccessFromNetwork"])) { + return $this->_propDict["userRightsBlockAccessFromNetwork"]; + } else { + $this->_propDict["userRightsBlockAccessFromNetwork"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsBlockAccessFromNetwork"]); + return $this->_propDict["userRightsBlockAccessFromNetwork"]; + } + } + return null; + } + + /** + * Sets the userRightsBlockAccessFromNetwork + * This user right determines which users and groups are block from connecting to the computer over the network. State Block is supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsBlockAccessFromNetwork + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsBlockAccessFromNetwork($val) + { + $this->_propDict["userRightsBlockAccessFromNetwork"] = $val; + return $this; + } + + /** + * Gets the userRightsChangeSystemTime + * This user right determines which users and groups can change the time and date on the internal clock of the computer. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsChangeSystemTime + */ + public function getUserRightsChangeSystemTime() + { + if (array_key_exists("userRightsChangeSystemTime", $this->_propDict)) { + if (is_a($this->_propDict["userRightsChangeSystemTime"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsChangeSystemTime"])) { + return $this->_propDict["userRightsChangeSystemTime"]; + } else { + $this->_propDict["userRightsChangeSystemTime"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsChangeSystemTime"]); + return $this->_propDict["userRightsChangeSystemTime"]; + } + } + return null; + } + + /** + * Sets the userRightsChangeSystemTime + * This user right determines which users and groups can change the time and date on the internal clock of the computer. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsChangeSystemTime + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsChangeSystemTime($val) + { + $this->_propDict["userRightsChangeSystemTime"] = $val; + return $this; + } + + /** + * Gets the userRightsCreateGlobalObjects + * This security setting determines whether users can create global objects that are available to all sessions. Users who can create global objects could affect processes that run under other users' sessions, which could lead to application failure or data corruption. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsCreateGlobalObjects + */ + public function getUserRightsCreateGlobalObjects() + { + if (array_key_exists("userRightsCreateGlobalObjects", $this->_propDict)) { + if (is_a($this->_propDict["userRightsCreateGlobalObjects"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsCreateGlobalObjects"])) { + return $this->_propDict["userRightsCreateGlobalObjects"]; + } else { + $this->_propDict["userRightsCreateGlobalObjects"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsCreateGlobalObjects"]); + return $this->_propDict["userRightsCreateGlobalObjects"]; + } + } + return null; + } + + /** + * Sets the userRightsCreateGlobalObjects + * This security setting determines whether users can create global objects that are available to all sessions. Users who can create global objects could affect processes that run under other users' sessions, which could lead to application failure or data corruption. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsCreateGlobalObjects + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsCreateGlobalObjects($val) + { + $this->_propDict["userRightsCreateGlobalObjects"] = $val; + return $this; + } + + /** + * Gets the userRightsCreatePageFile + * This user right determines which users and groups can call an internal API to create and change the size of a page file. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsCreatePageFile + */ + public function getUserRightsCreatePageFile() + { + if (array_key_exists("userRightsCreatePageFile", $this->_propDict)) { + if (is_a($this->_propDict["userRightsCreatePageFile"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsCreatePageFile"])) { + return $this->_propDict["userRightsCreatePageFile"]; + } else { + $this->_propDict["userRightsCreatePageFile"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsCreatePageFile"]); + return $this->_propDict["userRightsCreatePageFile"]; + } + } + return null; + } + + /** + * Sets the userRightsCreatePageFile + * This user right determines which users and groups can call an internal API to create and change the size of a page file. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsCreatePageFile + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsCreatePageFile($val) + { + $this->_propDict["userRightsCreatePageFile"] = $val; + return $this; + } + + /** + * Gets the userRightsCreatePermanentSharedObjects + * This user right determines which accounts can be used by processes to create a directory object using the object manager. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsCreatePermanentSharedObjects + */ + public function getUserRightsCreatePermanentSharedObjects() + { + if (array_key_exists("userRightsCreatePermanentSharedObjects", $this->_propDict)) { + if (is_a($this->_propDict["userRightsCreatePermanentSharedObjects"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsCreatePermanentSharedObjects"])) { + return $this->_propDict["userRightsCreatePermanentSharedObjects"]; + } else { + $this->_propDict["userRightsCreatePermanentSharedObjects"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsCreatePermanentSharedObjects"]); + return $this->_propDict["userRightsCreatePermanentSharedObjects"]; + } + } + return null; + } + + /** + * Sets the userRightsCreatePermanentSharedObjects + * This user right determines which accounts can be used by processes to create a directory object using the object manager. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsCreatePermanentSharedObjects + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsCreatePermanentSharedObjects($val) + { + $this->_propDict["userRightsCreatePermanentSharedObjects"] = $val; + return $this; + } + + /** + * Gets the userRightsCreateSymbolicLinks + * This user right determines if the user can create a symbolic link from the computer to which they are logged on. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsCreateSymbolicLinks + */ + public function getUserRightsCreateSymbolicLinks() + { + if (array_key_exists("userRightsCreateSymbolicLinks", $this->_propDict)) { + if (is_a($this->_propDict["userRightsCreateSymbolicLinks"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsCreateSymbolicLinks"])) { + return $this->_propDict["userRightsCreateSymbolicLinks"]; + } else { + $this->_propDict["userRightsCreateSymbolicLinks"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsCreateSymbolicLinks"]); + return $this->_propDict["userRightsCreateSymbolicLinks"]; + } + } + return null; + } + + /** + * Sets the userRightsCreateSymbolicLinks + * This user right determines if the user can create a symbolic link from the computer to which they are logged on. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsCreateSymbolicLinks + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsCreateSymbolicLinks($val) + { + $this->_propDict["userRightsCreateSymbolicLinks"] = $val; + return $this; + } + + /** + * Gets the userRightsCreateToken + * This user right determines which users/groups can be used by processes to create a token that can then be used to get access to any local resources when the process uses an internal API to create an access token. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsCreateToken + */ + public function getUserRightsCreateToken() + { + if (array_key_exists("userRightsCreateToken", $this->_propDict)) { + if (is_a($this->_propDict["userRightsCreateToken"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsCreateToken"])) { + return $this->_propDict["userRightsCreateToken"]; + } else { + $this->_propDict["userRightsCreateToken"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsCreateToken"]); + return $this->_propDict["userRightsCreateToken"]; + } + } + return null; + } + + /** + * Sets the userRightsCreateToken + * This user right determines which users/groups can be used by processes to create a token that can then be used to get access to any local resources when the process uses an internal API to create an access token. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsCreateToken + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsCreateToken($val) + { + $this->_propDict["userRightsCreateToken"] = $val; + return $this; + } + + /** + * Gets the userRightsDebugPrograms + * This user right determines which users can attach a debugger to any process or to the kernel. Only states NotConfigured and Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsDebugPrograms + */ + public function getUserRightsDebugPrograms() + { + if (array_key_exists("userRightsDebugPrograms", $this->_propDict)) { + if (is_a($this->_propDict["userRightsDebugPrograms"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsDebugPrograms"])) { + return $this->_propDict["userRightsDebugPrograms"]; + } else { + $this->_propDict["userRightsDebugPrograms"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsDebugPrograms"]); + return $this->_propDict["userRightsDebugPrograms"]; + } + } + return null; + } + + /** + * Sets the userRightsDebugPrograms + * This user right determines which users can attach a debugger to any process or to the kernel. Only states NotConfigured and Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsDebugPrograms + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsDebugPrograms($val) + { + $this->_propDict["userRightsDebugPrograms"] = $val; + return $this; + } + + /** + * Gets the userRightsDelegation + * This user right determines which users can set the Trusted for Delegation setting on a user or computer object. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsDelegation + */ + public function getUserRightsDelegation() + { + if (array_key_exists("userRightsDelegation", $this->_propDict)) { + if (is_a($this->_propDict["userRightsDelegation"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsDelegation"])) { + return $this->_propDict["userRightsDelegation"]; + } else { + $this->_propDict["userRightsDelegation"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsDelegation"]); + return $this->_propDict["userRightsDelegation"]; + } + } + return null; + } + + /** + * Sets the userRightsDelegation + * This user right determines which users can set the Trusted for Delegation setting on a user or computer object. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsDelegation + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsDelegation($val) + { + $this->_propDict["userRightsDelegation"] = $val; + return $this; + } + + /** + * Gets the userRightsDenyLocalLogOn + * This user right determines which users cannot log on to the computer. States NotConfigured, Blocked are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsDenyLocalLogOn + */ + public function getUserRightsDenyLocalLogOn() + { + if (array_key_exists("userRightsDenyLocalLogOn", $this->_propDict)) { + if (is_a($this->_propDict["userRightsDenyLocalLogOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsDenyLocalLogOn"])) { + return $this->_propDict["userRightsDenyLocalLogOn"]; + } else { + $this->_propDict["userRightsDenyLocalLogOn"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsDenyLocalLogOn"]); + return $this->_propDict["userRightsDenyLocalLogOn"]; + } + } + return null; + } + + /** + * Sets the userRightsDenyLocalLogOn + * This user right determines which users cannot log on to the computer. States NotConfigured, Blocked are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsDenyLocalLogOn + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsDenyLocalLogOn($val) + { + $this->_propDict["userRightsDenyLocalLogOn"] = $val; + return $this; + } + + /** + * Gets the userRightsGenerateSecurityAudits + * This user right determines which accounts can be used by a process to add entries to the security log. The security log is used to trace unauthorized system access. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsGenerateSecurityAudits + */ + public function getUserRightsGenerateSecurityAudits() + { + if (array_key_exists("userRightsGenerateSecurityAudits", $this->_propDict)) { + if (is_a($this->_propDict["userRightsGenerateSecurityAudits"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsGenerateSecurityAudits"])) { + return $this->_propDict["userRightsGenerateSecurityAudits"]; + } else { + $this->_propDict["userRightsGenerateSecurityAudits"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsGenerateSecurityAudits"]); + return $this->_propDict["userRightsGenerateSecurityAudits"]; + } + } + return null; + } + + /** + * Sets the userRightsGenerateSecurityAudits + * This user right determines which accounts can be used by a process to add entries to the security log. The security log is used to trace unauthorized system access. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsGenerateSecurityAudits + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsGenerateSecurityAudits($val) + { + $this->_propDict["userRightsGenerateSecurityAudits"] = $val; + return $this; + } + + /** + * Gets the userRightsImpersonateClient + * Assigning this user right to a user allows programs running on behalf of that user to impersonate a client. Requiring this user right for this kind of impersonation prevents an unauthorized user from convincing a client to connect to a service that they have created and then impersonating that client, which can elevate the unauthorized user's permissions to administrative or system levels. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsImpersonateClient + */ + public function getUserRightsImpersonateClient() + { + if (array_key_exists("userRightsImpersonateClient", $this->_propDict)) { + if (is_a($this->_propDict["userRightsImpersonateClient"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsImpersonateClient"])) { + return $this->_propDict["userRightsImpersonateClient"]; + } else { + $this->_propDict["userRightsImpersonateClient"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsImpersonateClient"]); + return $this->_propDict["userRightsImpersonateClient"]; + } + } + return null; + } + + /** + * Sets the userRightsImpersonateClient + * Assigning this user right to a user allows programs running on behalf of that user to impersonate a client. Requiring this user right for this kind of impersonation prevents an unauthorized user from convincing a client to connect to a service that they have created and then impersonating that client, which can elevate the unauthorized user's permissions to administrative or system levels. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsImpersonateClient + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsImpersonateClient($val) + { + $this->_propDict["userRightsImpersonateClient"] = $val; + return $this; + } + + /** + * Gets the userRightsIncreaseSchedulingPriority + * This user right determines which accounts can use a process with Write Property access to another process to increase the execution priority assigned to the other process. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsIncreaseSchedulingPriority + */ + public function getUserRightsIncreaseSchedulingPriority() + { + if (array_key_exists("userRightsIncreaseSchedulingPriority", $this->_propDict)) { + if (is_a($this->_propDict["userRightsIncreaseSchedulingPriority"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsIncreaseSchedulingPriority"])) { + return $this->_propDict["userRightsIncreaseSchedulingPriority"]; + } else { + $this->_propDict["userRightsIncreaseSchedulingPriority"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsIncreaseSchedulingPriority"]); + return $this->_propDict["userRightsIncreaseSchedulingPriority"]; + } + } + return null; + } + + /** + * Sets the userRightsIncreaseSchedulingPriority + * This user right determines which accounts can use a process with Write Property access to another process to increase the execution priority assigned to the other process. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsIncreaseSchedulingPriority + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsIncreaseSchedulingPriority($val) + { + $this->_propDict["userRightsIncreaseSchedulingPriority"] = $val; + return $this; + } + + /** + * Gets the userRightsLoadUnloadDrivers + * This user right determines which users can dynamically load and unload device drivers or other code in to kernel mode. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsLoadUnloadDrivers + */ + public function getUserRightsLoadUnloadDrivers() + { + if (array_key_exists("userRightsLoadUnloadDrivers", $this->_propDict)) { + if (is_a($this->_propDict["userRightsLoadUnloadDrivers"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsLoadUnloadDrivers"])) { + return $this->_propDict["userRightsLoadUnloadDrivers"]; + } else { + $this->_propDict["userRightsLoadUnloadDrivers"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsLoadUnloadDrivers"]); + return $this->_propDict["userRightsLoadUnloadDrivers"]; + } + } + return null; + } + + /** + * Sets the userRightsLoadUnloadDrivers + * This user right determines which users can dynamically load and unload device drivers or other code in to kernel mode. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsLoadUnloadDrivers + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsLoadUnloadDrivers($val) + { + $this->_propDict["userRightsLoadUnloadDrivers"] = $val; + return $this; + } + + /** + * Gets the userRightsLocalLogOn + * This user right determines which users can log on to the computer. States NotConfigured, Allowed are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsLocalLogOn + */ + public function getUserRightsLocalLogOn() + { + if (array_key_exists("userRightsLocalLogOn", $this->_propDict)) { + if (is_a($this->_propDict["userRightsLocalLogOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsLocalLogOn"])) { + return $this->_propDict["userRightsLocalLogOn"]; + } else { + $this->_propDict["userRightsLocalLogOn"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsLocalLogOn"]); + return $this->_propDict["userRightsLocalLogOn"]; + } + } + return null; + } + + /** + * Sets the userRightsLocalLogOn + * This user right determines which users can log on to the computer. States NotConfigured, Allowed are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsLocalLogOn + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsLocalLogOn($val) + { + $this->_propDict["userRightsLocalLogOn"] = $val; + return $this; + } + + /** + * Gets the userRightsLockMemory + * This user right determines which accounts can use a process to keep data in physical memory, which prevents the system from paging the data to virtual memory on disk. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsLockMemory + */ + public function getUserRightsLockMemory() + { + if (array_key_exists("userRightsLockMemory", $this->_propDict)) { + if (is_a($this->_propDict["userRightsLockMemory"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsLockMemory"])) { + return $this->_propDict["userRightsLockMemory"]; + } else { + $this->_propDict["userRightsLockMemory"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsLockMemory"]); + return $this->_propDict["userRightsLockMemory"]; + } + } + return null; + } + + /** + * Sets the userRightsLockMemory + * This user right determines which accounts can use a process to keep data in physical memory, which prevents the system from paging the data to virtual memory on disk. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsLockMemory + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsLockMemory($val) + { + $this->_propDict["userRightsLockMemory"] = $val; + return $this; + } + + /** + * Gets the userRightsManageAuditingAndSecurityLogs + * This user right determines which users can specify object access auditing options for individual resources, such as files, Active Directory objects, and registry keys. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsManageAuditingAndSecurityLogs + */ + public function getUserRightsManageAuditingAndSecurityLogs() + { + if (array_key_exists("userRightsManageAuditingAndSecurityLogs", $this->_propDict)) { + if (is_a($this->_propDict["userRightsManageAuditingAndSecurityLogs"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsManageAuditingAndSecurityLogs"])) { + return $this->_propDict["userRightsManageAuditingAndSecurityLogs"]; + } else { + $this->_propDict["userRightsManageAuditingAndSecurityLogs"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsManageAuditingAndSecurityLogs"]); + return $this->_propDict["userRightsManageAuditingAndSecurityLogs"]; + } + } + return null; + } + + /** + * Sets the userRightsManageAuditingAndSecurityLogs + * This user right determines which users can specify object access auditing options for individual resources, such as files, Active Directory objects, and registry keys. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsManageAuditingAndSecurityLogs + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsManageAuditingAndSecurityLogs($val) + { + $this->_propDict["userRightsManageAuditingAndSecurityLogs"] = $val; + return $this; + } + + /** + * Gets the userRightsManageVolumes + * This user right determines which users and groups can run maintenance tasks on a volume, such as remote defragmentation. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsManageVolumes + */ + public function getUserRightsManageVolumes() + { + if (array_key_exists("userRightsManageVolumes", $this->_propDict)) { + if (is_a($this->_propDict["userRightsManageVolumes"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsManageVolumes"])) { + return $this->_propDict["userRightsManageVolumes"]; + } else { + $this->_propDict["userRightsManageVolumes"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsManageVolumes"]); + return $this->_propDict["userRightsManageVolumes"]; + } + } + return null; + } + + /** + * Sets the userRightsManageVolumes + * This user right determines which users and groups can run maintenance tasks on a volume, such as remote defragmentation. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsManageVolumes + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsManageVolumes($val) + { + $this->_propDict["userRightsManageVolumes"] = $val; + return $this; + } + + /** + * Gets the userRightsModifyFirmwareEnvironment + * This user right determines who can modify firmware environment values. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsModifyFirmwareEnvironment + */ + public function getUserRightsModifyFirmwareEnvironment() + { + if (array_key_exists("userRightsModifyFirmwareEnvironment", $this->_propDict)) { + if (is_a($this->_propDict["userRightsModifyFirmwareEnvironment"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsModifyFirmwareEnvironment"])) { + return $this->_propDict["userRightsModifyFirmwareEnvironment"]; + } else { + $this->_propDict["userRightsModifyFirmwareEnvironment"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsModifyFirmwareEnvironment"]); + return $this->_propDict["userRightsModifyFirmwareEnvironment"]; + } + } + return null; + } + + /** + * Sets the userRightsModifyFirmwareEnvironment + * This user right determines who can modify firmware environment values. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsModifyFirmwareEnvironment + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsModifyFirmwareEnvironment($val) + { + $this->_propDict["userRightsModifyFirmwareEnvironment"] = $val; + return $this; + } + + /** + * Gets the userRightsModifyObjectLabels + * This user right determines which user accounts can modify the integrity label of objects, such as files, registry keys, or processes owned by other users. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsModifyObjectLabels + */ + public function getUserRightsModifyObjectLabels() + { + if (array_key_exists("userRightsModifyObjectLabels", $this->_propDict)) { + if (is_a($this->_propDict["userRightsModifyObjectLabels"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsModifyObjectLabels"])) { + return $this->_propDict["userRightsModifyObjectLabels"]; + } else { + $this->_propDict["userRightsModifyObjectLabels"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsModifyObjectLabels"]); + return $this->_propDict["userRightsModifyObjectLabels"]; + } + } + return null; + } + + /** + * Sets the userRightsModifyObjectLabels + * This user right determines which user accounts can modify the integrity label of objects, such as files, registry keys, or processes owned by other users. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsModifyObjectLabels + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsModifyObjectLabels($val) + { + $this->_propDict["userRightsModifyObjectLabels"] = $val; + return $this; + } + + /** + * Gets the userRightsProfileSingleProcess + * This user right determines which users can use performance monitoring tools to monitor the performance of system processes. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsProfileSingleProcess + */ + public function getUserRightsProfileSingleProcess() + { + if (array_key_exists("userRightsProfileSingleProcess", $this->_propDict)) { + if (is_a($this->_propDict["userRightsProfileSingleProcess"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsProfileSingleProcess"])) { + return $this->_propDict["userRightsProfileSingleProcess"]; + } else { + $this->_propDict["userRightsProfileSingleProcess"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsProfileSingleProcess"]); + return $this->_propDict["userRightsProfileSingleProcess"]; + } + } + return null; + } + + /** + * Sets the userRightsProfileSingleProcess + * This user right determines which users can use performance monitoring tools to monitor the performance of system processes. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsProfileSingleProcess + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsProfileSingleProcess($val) + { + $this->_propDict["userRightsProfileSingleProcess"] = $val; + return $this; + } + + /** + * Gets the userRightsRemoteDesktopServicesLogOn + * This user right determines which users and groups are prohibited from logging on as a Remote Desktop Services client. Only states NotConfigured and Blocked are supported + * + * @return DeviceManagementUserRightsSetting|null The userRightsRemoteDesktopServicesLogOn + */ + public function getUserRightsRemoteDesktopServicesLogOn() + { + if (array_key_exists("userRightsRemoteDesktopServicesLogOn", $this->_propDict)) { + if (is_a($this->_propDict["userRightsRemoteDesktopServicesLogOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsRemoteDesktopServicesLogOn"])) { + return $this->_propDict["userRightsRemoteDesktopServicesLogOn"]; + } else { + $this->_propDict["userRightsRemoteDesktopServicesLogOn"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsRemoteDesktopServicesLogOn"]); + return $this->_propDict["userRightsRemoteDesktopServicesLogOn"]; + } + } + return null; + } + + /** + * Sets the userRightsRemoteDesktopServicesLogOn + * This user right determines which users and groups are prohibited from logging on as a Remote Desktop Services client. Only states NotConfigured and Blocked are supported + * + * @param DeviceManagementUserRightsSetting $val The userRightsRemoteDesktopServicesLogOn + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsRemoteDesktopServicesLogOn($val) + { + $this->_propDict["userRightsRemoteDesktopServicesLogOn"] = $val; + return $this; + } + + /** + * Gets the userRightsRemoteShutdown + * This user right determines which users are allowed to shut down a computer from a remote location on the network. Misuse of this user right can result in a denial of service. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsRemoteShutdown + */ + public function getUserRightsRemoteShutdown() + { + if (array_key_exists("userRightsRemoteShutdown", $this->_propDict)) { + if (is_a($this->_propDict["userRightsRemoteShutdown"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsRemoteShutdown"])) { + return $this->_propDict["userRightsRemoteShutdown"]; + } else { + $this->_propDict["userRightsRemoteShutdown"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsRemoteShutdown"]); + return $this->_propDict["userRightsRemoteShutdown"]; + } + } + return null; + } + + /** + * Sets the userRightsRemoteShutdown + * This user right determines which users are allowed to shut down a computer from a remote location on the network. Misuse of this user right can result in a denial of service. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsRemoteShutdown + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsRemoteShutdown($val) + { + $this->_propDict["userRightsRemoteShutdown"] = $val; + return $this; + } + + /** + * Gets the userRightsRestoreData + * This user right determines which users can bypass file, directory, registry, and other persistent objects permissions when restoring backed up files and directories, and determines which users can set any valid security principal as the owner of an object. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsRestoreData + */ + public function getUserRightsRestoreData() + { + if (array_key_exists("userRightsRestoreData", $this->_propDict)) { + if (is_a($this->_propDict["userRightsRestoreData"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsRestoreData"])) { + return $this->_propDict["userRightsRestoreData"]; + } else { + $this->_propDict["userRightsRestoreData"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsRestoreData"]); + return $this->_propDict["userRightsRestoreData"]; + } + } + return null; + } + + /** + * Sets the userRightsRestoreData + * This user right determines which users can bypass file, directory, registry, and other persistent objects permissions when restoring backed up files and directories, and determines which users can set any valid security principal as the owner of an object. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsRestoreData + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsRestoreData($val) + { + $this->_propDict["userRightsRestoreData"] = $val; + return $this; + } + + /** + * Gets the userRightsTakeOwnership + * This user right determines which users can take ownership of any securable object in the system, including Active Directory objects, files and folders, printers, registry keys, processes, and threads. Only states NotConfigured and Allowed are supported. + * + * @return DeviceManagementUserRightsSetting|null The userRightsTakeOwnership + */ + public function getUserRightsTakeOwnership() + { + if (array_key_exists("userRightsTakeOwnership", $this->_propDict)) { + if (is_a($this->_propDict["userRightsTakeOwnership"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting") || is_null($this->_propDict["userRightsTakeOwnership"])) { + return $this->_propDict["userRightsTakeOwnership"]; + } else { + $this->_propDict["userRightsTakeOwnership"] = new DeviceManagementUserRightsSetting($this->_propDict["userRightsTakeOwnership"]); + return $this->_propDict["userRightsTakeOwnership"]; + } + } + return null; + } + + /** + * Sets the userRightsTakeOwnership + * This user right determines which users can take ownership of any securable object in the system, including Active Directory objects, files and folders, printers, registry keys, processes, and threads. Only states NotConfigured and Allowed are supported. + * + * @param DeviceManagementUserRightsSetting $val The userRightsTakeOwnership + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setUserRightsTakeOwnership($val) + { + $this->_propDict["userRightsTakeOwnership"] = $val; + return $this; + } + + /** + * Gets the windowsDefenderTamperProtection + * Configure windows defender TamperProtection settings. Possible values are: notConfigured, enable, disable. + * + * @return WindowsDefenderTamperProtectionOptions|null The windowsDefenderTamperProtection + */ + public function getWindowsDefenderTamperProtection() + { + if (array_key_exists("windowsDefenderTamperProtection", $this->_propDict)) { + if (is_a($this->_propDict["windowsDefenderTamperProtection"], "\Beta\Microsoft\Graph\Model\WindowsDefenderTamperProtectionOptions") || is_null($this->_propDict["windowsDefenderTamperProtection"])) { + return $this->_propDict["windowsDefenderTamperProtection"]; + } else { + $this->_propDict["windowsDefenderTamperProtection"] = new WindowsDefenderTamperProtectionOptions($this->_propDict["windowsDefenderTamperProtection"]); + return $this->_propDict["windowsDefenderTamperProtection"]; + } + } + return null; + } + + /** + * Sets the windowsDefenderTamperProtection + * Configure windows defender TamperProtection settings. Possible values are: notConfigured, enable, disable. + * + * @param WindowsDefenderTamperProtectionOptions $val The windowsDefenderTamperProtection + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setWindowsDefenderTamperProtection($val) + { + $this->_propDict["windowsDefenderTamperProtection"] = $val; + return $this; + } + + /** + * Gets the xboxServicesAccessoryManagementServiceStartupMode + * This setting determines whether the Accessory management service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @return ServiceStartType|null The xboxServicesAccessoryManagementServiceStartupMode + */ + public function getXboxServicesAccessoryManagementServiceStartupMode() + { + if (array_key_exists("xboxServicesAccessoryManagementServiceStartupMode", $this->_propDict)) { + if (is_a($this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType") || is_null($this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"])) { + return $this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"]; + } else { + $this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"] = new ServiceStartType($this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"]); + return $this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"]; + } + } + return null; + } + + /** + * Sets the xboxServicesAccessoryManagementServiceStartupMode + * This setting determines whether the Accessory management service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @param ServiceStartType $val The xboxServicesAccessoryManagementServiceStartupMode + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setXboxServicesAccessoryManagementServiceStartupMode($val) + { + $this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"] = $val; + return $this; + } + + /** + * Gets the xboxServicesEnableXboxGameSaveTask + * This setting determines whether xbox game save is enabled (1) or disabled (0). + * + * @return bool|null The xboxServicesEnableXboxGameSaveTask + */ + public function getXboxServicesEnableXboxGameSaveTask() + { + if (array_key_exists("xboxServicesEnableXboxGameSaveTask", $this->_propDict)) { + return $this->_propDict["xboxServicesEnableXboxGameSaveTask"]; + } else { + return null; + } + } + + /** + * Sets the xboxServicesEnableXboxGameSaveTask + * This setting determines whether xbox game save is enabled (1) or disabled (0). + * + * @param bool $val The xboxServicesEnableXboxGameSaveTask + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setXboxServicesEnableXboxGameSaveTask($val) + { + $this->_propDict["xboxServicesEnableXboxGameSaveTask"] = boolval($val); + return $this; + } + + /** + * Gets the xboxServicesLiveAuthManagerServiceStartupMode + * This setting determines whether Live Auth Manager service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @return ServiceStartType|null The xboxServicesLiveAuthManagerServiceStartupMode + */ + public function getXboxServicesLiveAuthManagerServiceStartupMode() + { + if (array_key_exists("xboxServicesLiveAuthManagerServiceStartupMode", $this->_propDict)) { + if (is_a($this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType") || is_null($this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"])) { + return $this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"]; + } else { + $this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"] = new ServiceStartType($this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"]); + return $this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"]; + } + } + return null; + } + + /** + * Sets the xboxServicesLiveAuthManagerServiceStartupMode + * This setting determines whether Live Auth Manager service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @param ServiceStartType $val The xboxServicesLiveAuthManagerServiceStartupMode + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setXboxServicesLiveAuthManagerServiceStartupMode($val) + { + $this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"] = $val; + return $this; + } + + /** + * Gets the xboxServicesLiveGameSaveServiceStartupMode + * This setting determines whether Live Game save service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @return ServiceStartType|null The xboxServicesLiveGameSaveServiceStartupMode + */ + public function getXboxServicesLiveGameSaveServiceStartupMode() + { + if (array_key_exists("xboxServicesLiveGameSaveServiceStartupMode", $this->_propDict)) { + if (is_a($this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType") || is_null($this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"])) { + return $this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"]; + } else { + $this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"] = new ServiceStartType($this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"]); + return $this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"]; + } + } + return null; + } + + /** + * Sets the xboxServicesLiveGameSaveServiceStartupMode + * This setting determines whether Live Game save service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @param ServiceStartType $val The xboxServicesLiveGameSaveServiceStartupMode + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setXboxServicesLiveGameSaveServiceStartupMode($val) + { + $this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"] = $val; + return $this; + } + + /** + * Gets the xboxServicesLiveNetworkingServiceStartupMode + * This setting determines whether Networking service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @return ServiceStartType|null The xboxServicesLiveNetworkingServiceStartupMode + */ + public function getXboxServicesLiveNetworkingServiceStartupMode() + { + if (array_key_exists("xboxServicesLiveNetworkingServiceStartupMode", $this->_propDict)) { + if (is_a($this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType") || is_null($this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"])) { + return $this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"]; + } else { + $this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"] = new ServiceStartType($this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"]); + return $this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"]; + } + } + return null; + } + + /** + * Sets the xboxServicesLiveNetworkingServiceStartupMode + * This setting determines whether Networking service's start type is Automatic(2), Manual(3), Disabled(4). Default: Manual. Possible values are: manual, automatic, disabled. + * + * @param ServiceStartType $val The xboxServicesLiveNetworkingServiceStartupMode + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setXboxServicesLiveNetworkingServiceStartupMode($val) + { + $this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfiguration.php new file mode 100644 index 0000000..26b2ea7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfiguration.php @@ -0,0 +1,317 @@ +_propDict)) { + return $this->_propDict["allowDeviceResetOnInstallFailure"]; + } else { + return null; + } + } + + /** + * Sets the allowDeviceResetOnInstallFailure + * Allow or block device reset on installation failure + * + * @param bool $val The allowDeviceResetOnInstallFailure + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setAllowDeviceResetOnInstallFailure($val) + { + $this->_propDict["allowDeviceResetOnInstallFailure"] = boolval($val); + return $this; + } + + /** + * Gets the allowDeviceUseOnInstallFailure + * Allow the user to continue using the device on installation failure + * + * @return bool|null The allowDeviceUseOnInstallFailure + */ + public function getAllowDeviceUseOnInstallFailure() + { + if (array_key_exists("allowDeviceUseOnInstallFailure", $this->_propDict)) { + return $this->_propDict["allowDeviceUseOnInstallFailure"]; + } else { + return null; + } + } + + /** + * Sets the allowDeviceUseOnInstallFailure + * Allow the user to continue using the device on installation failure + * + * @param bool $val The allowDeviceUseOnInstallFailure + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setAllowDeviceUseOnInstallFailure($val) + { + $this->_propDict["allowDeviceUseOnInstallFailure"] = boolval($val); + return $this; + } + + /** + * Gets the allowLogCollectionOnInstallFailure + * Allow or block log collection on installation failure + * + * @return bool|null The allowLogCollectionOnInstallFailure + */ + public function getAllowLogCollectionOnInstallFailure() + { + if (array_key_exists("allowLogCollectionOnInstallFailure", $this->_propDict)) { + return $this->_propDict["allowLogCollectionOnInstallFailure"]; + } else { + return null; + } + } + + /** + * Sets the allowLogCollectionOnInstallFailure + * Allow or block log collection on installation failure + * + * @param bool $val The allowLogCollectionOnInstallFailure + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setAllowLogCollectionOnInstallFailure($val) + { + $this->_propDict["allowLogCollectionOnInstallFailure"] = boolval($val); + return $this; + } + + /** + * Gets the blockDeviceSetupRetryByUser + * Allow the user to retry the setup on installation failure + * + * @return bool|null The blockDeviceSetupRetryByUser + */ + public function getBlockDeviceSetupRetryByUser() + { + if (array_key_exists("blockDeviceSetupRetryByUser", $this->_propDict)) { + return $this->_propDict["blockDeviceSetupRetryByUser"]; + } else { + return null; + } + } + + /** + * Sets the blockDeviceSetupRetryByUser + * Allow the user to retry the setup on installation failure + * + * @param bool $val The blockDeviceSetupRetryByUser + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setBlockDeviceSetupRetryByUser($val) + { + $this->_propDict["blockDeviceSetupRetryByUser"] = boolval($val); + return $this; + } + + /** + * Gets the customErrorMessage + * Set custom error message to show upon installation failure + * + * @return string|null The customErrorMessage + */ + public function getCustomErrorMessage() + { + if (array_key_exists("customErrorMessage", $this->_propDict)) { + return $this->_propDict["customErrorMessage"]; + } else { + return null; + } + } + + /** + * Sets the customErrorMessage + * Set custom error message to show upon installation failure + * + * @param string $val The customErrorMessage + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setCustomErrorMessage($val) + { + $this->_propDict["customErrorMessage"] = $val; + return $this; + } + + /** + * Gets the disableUserStatusTrackingAfterFirstUser + * Only show installation progress for first user post enrollment + * + * @return bool|null The disableUserStatusTrackingAfterFirstUser + */ + public function getDisableUserStatusTrackingAfterFirstUser() + { + if (array_key_exists("disableUserStatusTrackingAfterFirstUser", $this->_propDict)) { + return $this->_propDict["disableUserStatusTrackingAfterFirstUser"]; + } else { + return null; + } + } + + /** + * Sets the disableUserStatusTrackingAfterFirstUser + * Only show installation progress for first user post enrollment + * + * @param bool $val The disableUserStatusTrackingAfterFirstUser + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setDisableUserStatusTrackingAfterFirstUser($val) + { + $this->_propDict["disableUserStatusTrackingAfterFirstUser"] = boolval($val); + return $this; + } + + /** + * Gets the installProgressTimeoutInMinutes + * Set installation progress timeout in minutes + * + * @return int|null The installProgressTimeoutInMinutes + */ + public function getInstallProgressTimeoutInMinutes() + { + if (array_key_exists("installProgressTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["installProgressTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the installProgressTimeoutInMinutes + * Set installation progress timeout in minutes + * + * @param int $val The installProgressTimeoutInMinutes + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setInstallProgressTimeoutInMinutes($val) + { + $this->_propDict["installProgressTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the selectedMobileAppIds + * Selected applications to track the installation status + * + * @return string|null The selectedMobileAppIds + */ + public function getSelectedMobileAppIds() + { + if (array_key_exists("selectedMobileAppIds", $this->_propDict)) { + return $this->_propDict["selectedMobileAppIds"]; + } else { + return null; + } + } + + /** + * Sets the selectedMobileAppIds + * Selected applications to track the installation status + * + * @param string $val The selectedMobileAppIds + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setSelectedMobileAppIds($val) + { + $this->_propDict["selectedMobileAppIds"] = $val; + return $this; + } + + /** + * Gets the showInstallationProgress + * Show or hide installation progress to user + * + * @return bool|null The showInstallationProgress + */ + public function getShowInstallationProgress() + { + if (array_key_exists("showInstallationProgress", $this->_propDict)) { + return $this->_propDict["showInstallationProgress"]; + } else { + return null; + } + } + + /** + * Sets the showInstallationProgress + * Show or hide installation progress to user + * + * @param bool $val The showInstallationProgress + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setShowInstallationProgress($val) + { + $this->_propDict["showInstallationProgress"] = boolval($val); + return $this; + } + + /** + * Gets the trackInstallProgressForAutopilotOnly + * Only show installation progress for Autopilot enrollment scenarios + * + * @return bool|null The trackInstallProgressForAutopilotOnly + */ + public function getTrackInstallProgressForAutopilotOnly() + { + if (array_key_exists("trackInstallProgressForAutopilotOnly", $this->_propDict)) { + return $this->_propDict["trackInstallProgressForAutopilotOnly"]; + } else { + return null; + } + } + + /** + * Sets the trackInstallProgressForAutopilotOnly + * Only show installation progress for Autopilot enrollment scenarios + * + * @param bool $val The trackInstallProgressForAutopilotOnly + * + * @return Windows10EnrollmentCompletionPageConfiguration + */ + public function setTrackInstallProgressForAutopilotOnly($val) + { + $this->_propDict["trackInstallProgressForAutopilotOnly"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfigurationPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfigurationPolicySetItem.php new file mode 100644 index 0000000..eea69e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfigurationPolicySetItem.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority of the Windows10EnrollmentCompletionPageConfigurationPolicySetItem. + * + * @param int $val The priority + * + * @return Windows10EnrollmentCompletionPageConfigurationPolicySetItem + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnterpriseModernAppManagementConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnterpriseModernAppManagementConfiguration.php new file mode 100644 index 0000000..3c0c462 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnterpriseModernAppManagementConfiguration.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["uninstallBuiltInApps"]; + } else { + return null; + } + } + + /** + * Sets the uninstallBuiltInApps + * Indicates whether or not to uninstall a fixed list of built-in Windows apps. + * + * @param bool $val The uninstallBuiltInApps + * + * @return Windows10EnterpriseModernAppManagementConfiguration + */ + public function setUninstallBuiltInApps($val) + { + $this->_propDict["uninstallBuiltInApps"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10GeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10GeneralConfiguration.php new file mode 100644 index 0000000..462c2c3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10GeneralConfiguration.php @@ -0,0 +1,8475 @@ +_propDict)) { + return $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"]; + } else { + return null; + } + } + + /** + * Sets the accountsBlockAddingNonMicrosoftAccountEmail + * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. + * + * @param bool $val The accountsBlockAddingNonMicrosoftAccountEmail + * + * @return Windows10GeneralConfiguration + */ + public function setAccountsBlockAddingNonMicrosoftAccountEmail($val) + { + $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"] = boolval($val); + return $this; + } + + /** + * Gets the activateAppsWithVoice + * Specifies if Windows apps can be activated by voice. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The activateAppsWithVoice + */ + public function getActivateAppsWithVoice() + { + if (array_key_exists("activateAppsWithVoice", $this->_propDict)) { + if (is_a($this->_propDict["activateAppsWithVoice"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["activateAppsWithVoice"])) { + return $this->_propDict["activateAppsWithVoice"]; + } else { + $this->_propDict["activateAppsWithVoice"] = new Enablement($this->_propDict["activateAppsWithVoice"]); + return $this->_propDict["activateAppsWithVoice"]; + } + } + return null; + } + + /** + * Sets the activateAppsWithVoice + * Specifies if Windows apps can be activated by voice. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The activateAppsWithVoice + * + * @return Windows10GeneralConfiguration + */ + public function setActivateAppsWithVoice($val) + { + $this->_propDict["activateAppsWithVoice"] = $val; + return $this; + } + + /** + * Gets the antiTheftModeBlocked + * Indicates whether or not to block the user from selecting an AntiTheft mode preference (Windows 10 Mobile only). + * + * @return bool|null The antiTheftModeBlocked + */ + public function getAntiTheftModeBlocked() + { + if (array_key_exists("antiTheftModeBlocked", $this->_propDict)) { + return $this->_propDict["antiTheftModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the antiTheftModeBlocked + * Indicates whether or not to block the user from selecting an AntiTheft mode preference (Windows 10 Mobile only). + * + * @param bool $val The antiTheftModeBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setAntiTheftModeBlocked($val) + { + $this->_propDict["antiTheftModeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appManagementMSIAllowUserControlOverInstall + * This policy setting permits users to change installation options that typically are available only to system administrators. + * + * @return bool|null The appManagementMSIAllowUserControlOverInstall + */ + public function getAppManagementMSIAllowUserControlOverInstall() + { + if (array_key_exists("appManagementMSIAllowUserControlOverInstall", $this->_propDict)) { + return $this->_propDict["appManagementMSIAllowUserControlOverInstall"]; + } else { + return null; + } + } + + /** + * Sets the appManagementMSIAllowUserControlOverInstall + * This policy setting permits users to change installation options that typically are available only to system administrators. + * + * @param bool $val The appManagementMSIAllowUserControlOverInstall + * + * @return Windows10GeneralConfiguration + */ + public function setAppManagementMSIAllowUserControlOverInstall($val) + { + $this->_propDict["appManagementMSIAllowUserControlOverInstall"] = boolval($val); + return $this; + } + + /** + * Gets the appManagementMSIAlwaysInstallWithElevatedPrivileges + * This policy setting directs Windows Installer to use elevated permissions when it installs any program on the system. + * + * @return bool|null The appManagementMSIAlwaysInstallWithElevatedPrivileges + */ + public function getAppManagementMSIAlwaysInstallWithElevatedPrivileges() + { + if (array_key_exists("appManagementMSIAlwaysInstallWithElevatedPrivileges", $this->_propDict)) { + return $this->_propDict["appManagementMSIAlwaysInstallWithElevatedPrivileges"]; + } else { + return null; + } + } + + /** + * Sets the appManagementMSIAlwaysInstallWithElevatedPrivileges + * This policy setting directs Windows Installer to use elevated permissions when it installs any program on the system. + * + * @param bool $val The appManagementMSIAlwaysInstallWithElevatedPrivileges + * + * @return Windows10GeneralConfiguration + */ + public function setAppManagementMSIAlwaysInstallWithElevatedPrivileges($val) + { + $this->_propDict["appManagementMSIAlwaysInstallWithElevatedPrivileges"] = boolval($val); + return $this; + } + + /** + * Gets the appManagementPackageFamilyNamesToLaunchAfterLogOn + * List of semi-colon delimited Package Family Names of Windows apps. Listed Windows apps are to be launched after logon.​ + * + * @return string|null The appManagementPackageFamilyNamesToLaunchAfterLogOn + */ + public function getAppManagementPackageFamilyNamesToLaunchAfterLogOn() + { + if (array_key_exists("appManagementPackageFamilyNamesToLaunchAfterLogOn", $this->_propDict)) { + return $this->_propDict["appManagementPackageFamilyNamesToLaunchAfterLogOn"]; + } else { + return null; + } + } + + /** + * Sets the appManagementPackageFamilyNamesToLaunchAfterLogOn + * List of semi-colon delimited Package Family Names of Windows apps. Listed Windows apps are to be launched after logon.​ + * + * @param string $val The appManagementPackageFamilyNamesToLaunchAfterLogOn + * + * @return Windows10GeneralConfiguration + */ + public function setAppManagementPackageFamilyNamesToLaunchAfterLogOn($val) + { + $this->_propDict["appManagementPackageFamilyNamesToLaunchAfterLogOn"] = $val; + return $this; + } + + /** + * Gets the appsAllowTrustedAppsSideloading + * Indicates whether apps from AppX packages signed with a trusted certificate can be side loaded. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The appsAllowTrustedAppsSideloading + */ + public function getAppsAllowTrustedAppsSideloading() + { + if (array_key_exists("appsAllowTrustedAppsSideloading", $this->_propDict)) { + if (is_a($this->_propDict["appsAllowTrustedAppsSideloading"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["appsAllowTrustedAppsSideloading"])) { + return $this->_propDict["appsAllowTrustedAppsSideloading"]; + } else { + $this->_propDict["appsAllowTrustedAppsSideloading"] = new StateManagementSetting($this->_propDict["appsAllowTrustedAppsSideloading"]); + return $this->_propDict["appsAllowTrustedAppsSideloading"]; + } + } + return null; + } + + /** + * Sets the appsAllowTrustedAppsSideloading + * Indicates whether apps from AppX packages signed with a trusted certificate can be side loaded. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The appsAllowTrustedAppsSideloading + * + * @return Windows10GeneralConfiguration + */ + public function setAppsAllowTrustedAppsSideloading($val) + { + $this->_propDict["appsAllowTrustedAppsSideloading"] = $val; + return $this; + } + + /** + * Gets the appsBlockWindowsStoreOriginatedApps + * Indicates whether or not to disable the launch of all apps from Windows Store that came pre-installed or were downloaded. + * + * @return bool|null The appsBlockWindowsStoreOriginatedApps + */ + public function getAppsBlockWindowsStoreOriginatedApps() + { + if (array_key_exists("appsBlockWindowsStoreOriginatedApps", $this->_propDict)) { + return $this->_propDict["appsBlockWindowsStoreOriginatedApps"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockWindowsStoreOriginatedApps + * Indicates whether or not to disable the launch of all apps from Windows Store that came pre-installed or were downloaded. + * + * @param bool $val The appsBlockWindowsStoreOriginatedApps + * + * @return Windows10GeneralConfiguration + */ + public function setAppsBlockWindowsStoreOriginatedApps($val) + { + $this->_propDict["appsBlockWindowsStoreOriginatedApps"] = boolval($val); + return $this; + } + + /** + * Gets the authenticationAllowSecondaryDevice + * Allows secondary authentication devices to work with Windows. + * + * @return bool|null The authenticationAllowSecondaryDevice + */ + public function getAuthenticationAllowSecondaryDevice() + { + if (array_key_exists("authenticationAllowSecondaryDevice", $this->_propDict)) { + return $this->_propDict["authenticationAllowSecondaryDevice"]; + } else { + return null; + } + } + + /** + * Sets the authenticationAllowSecondaryDevice + * Allows secondary authentication devices to work with Windows. + * + * @param bool $val The authenticationAllowSecondaryDevice + * + * @return Windows10GeneralConfiguration + */ + public function setAuthenticationAllowSecondaryDevice($val) + { + $this->_propDict["authenticationAllowSecondaryDevice"] = boolval($val); + return $this; + } + + /** + * Gets the authenticationPreferredAzureADTenantDomainName + * Specifies the preferred domain among available domains in the Azure AD tenant. + * + * @return string|null The authenticationPreferredAzureADTenantDomainName + */ + public function getAuthenticationPreferredAzureADTenantDomainName() + { + if (array_key_exists("authenticationPreferredAzureADTenantDomainName", $this->_propDict)) { + return $this->_propDict["authenticationPreferredAzureADTenantDomainName"]; + } else { + return null; + } + } + + /** + * Sets the authenticationPreferredAzureADTenantDomainName + * Specifies the preferred domain among available domains in the Azure AD tenant. + * + * @param string $val The authenticationPreferredAzureADTenantDomainName + * + * @return Windows10GeneralConfiguration + */ + public function setAuthenticationPreferredAzureADTenantDomainName($val) + { + $this->_propDict["authenticationPreferredAzureADTenantDomainName"] = $val; + return $this; + } + + /** + * Gets the authenticationWebSignIn + * Indicates whether or not Web Credential Provider will be enabled. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The authenticationWebSignIn + */ + public function getAuthenticationWebSignIn() + { + if (array_key_exists("authenticationWebSignIn", $this->_propDict)) { + if (is_a($this->_propDict["authenticationWebSignIn"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["authenticationWebSignIn"])) { + return $this->_propDict["authenticationWebSignIn"]; + } else { + $this->_propDict["authenticationWebSignIn"] = new Enablement($this->_propDict["authenticationWebSignIn"]); + return $this->_propDict["authenticationWebSignIn"]; + } + } + return null; + } + + /** + * Sets the authenticationWebSignIn + * Indicates whether or not Web Credential Provider will be enabled. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The authenticationWebSignIn + * + * @return Windows10GeneralConfiguration + */ + public function setAuthenticationWebSignIn($val) + { + $this->_propDict["authenticationWebSignIn"] = $val; + return $this; + } + + /** + * Gets the bluetoothAllowedServices + * Specify a list of allowed Bluetooth services and profiles in hex formatted strings. + * + * @return string|null The bluetoothAllowedServices + */ + public function getBluetoothAllowedServices() + { + if (array_key_exists("bluetoothAllowedServices", $this->_propDict)) { + return $this->_propDict["bluetoothAllowedServices"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothAllowedServices + * Specify a list of allowed Bluetooth services and profiles in hex formatted strings. + * + * @param string $val The bluetoothAllowedServices + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothAllowedServices($val) + { + $this->_propDict["bluetoothAllowedServices"] = $val; + return $this; + } + + /** + * Gets the bluetoothBlockAdvertising + * Whether or not to Block the user from using bluetooth advertising. + * + * @return bool|null The bluetoothBlockAdvertising + */ + public function getBluetoothBlockAdvertising() + { + if (array_key_exists("bluetoothBlockAdvertising", $this->_propDict)) { + return $this->_propDict["bluetoothBlockAdvertising"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockAdvertising + * Whether or not to Block the user from using bluetooth advertising. + * + * @param bool $val The bluetoothBlockAdvertising + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockAdvertising($val) + { + $this->_propDict["bluetoothBlockAdvertising"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockDiscoverableMode + * Whether or not to Block the user from using bluetooth discoverable mode. + * + * @return bool|null The bluetoothBlockDiscoverableMode + */ + public function getBluetoothBlockDiscoverableMode() + { + if (array_key_exists("bluetoothBlockDiscoverableMode", $this->_propDict)) { + return $this->_propDict["bluetoothBlockDiscoverableMode"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockDiscoverableMode + * Whether or not to Block the user from using bluetooth discoverable mode. + * + * @param bool $val The bluetoothBlockDiscoverableMode + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockDiscoverableMode($val) + { + $this->_propDict["bluetoothBlockDiscoverableMode"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlocked + * Whether or not to Block the user from using bluetooth. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Whether or not to Block the user from using bluetooth. + * + * @param bool $val The bluetoothBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockPrePairing + * Whether or not to block specific bundled Bluetooth peripherals to automatically pair with the host device. + * + * @return bool|null The bluetoothBlockPrePairing + */ + public function getBluetoothBlockPrePairing() + { + if (array_key_exists("bluetoothBlockPrePairing", $this->_propDict)) { + return $this->_propDict["bluetoothBlockPrePairing"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockPrePairing + * Whether or not to block specific bundled Bluetooth peripherals to automatically pair with the host device. + * + * @param bool $val The bluetoothBlockPrePairing + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockPrePairing($val) + { + $this->_propDict["bluetoothBlockPrePairing"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockPromptedProximalConnections + * Whether or not to block the users from using Swift Pair and other proximity based scenarios. + * + * @return bool|null The bluetoothBlockPromptedProximalConnections + */ + public function getBluetoothBlockPromptedProximalConnections() + { + if (array_key_exists("bluetoothBlockPromptedProximalConnections", $this->_propDict)) { + return $this->_propDict["bluetoothBlockPromptedProximalConnections"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockPromptedProximalConnections + * Whether or not to block the users from using Swift Pair and other proximity based scenarios. + * + * @param bool $val The bluetoothBlockPromptedProximalConnections + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockPromptedProximalConnections($val) + { + $this->_propDict["bluetoothBlockPromptedProximalConnections"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Whether or not to Block the user from accessing the camera of the device. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Whether or not to Block the user from accessing the camera of the device. + * + * @param bool $val The cameraBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockDataWhenRoaming + * Whether or not to Block the user from using data over cellular while roaming. + * + * @return bool|null The cellularBlockDataWhenRoaming + */ + public function getCellularBlockDataWhenRoaming() + { + if (array_key_exists("cellularBlockDataWhenRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataWhenRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataWhenRoaming + * Whether or not to Block the user from using data over cellular while roaming. + * + * @param bool $val The cellularBlockDataWhenRoaming + * + * @return Windows10GeneralConfiguration + */ + public function setCellularBlockDataWhenRoaming($val) + { + $this->_propDict["cellularBlockDataWhenRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVpn + * Whether or not to Block the user from using VPN over cellular. + * + * @return bool|null The cellularBlockVpn + */ + public function getCellularBlockVpn() + { + if (array_key_exists("cellularBlockVpn", $this->_propDict)) { + return $this->_propDict["cellularBlockVpn"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVpn + * Whether or not to Block the user from using VPN over cellular. + * + * @param bool $val The cellularBlockVpn + * + * @return Windows10GeneralConfiguration + */ + public function setCellularBlockVpn($val) + { + $this->_propDict["cellularBlockVpn"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVpnWhenRoaming + * Whether or not to Block the user from using VPN when roaming over cellular. + * + * @return bool|null The cellularBlockVpnWhenRoaming + */ + public function getCellularBlockVpnWhenRoaming() + { + if (array_key_exists("cellularBlockVpnWhenRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockVpnWhenRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVpnWhenRoaming + * Whether or not to Block the user from using VPN when roaming over cellular. + * + * @param bool $val The cellularBlockVpnWhenRoaming + * + * @return Windows10GeneralConfiguration + */ + public function setCellularBlockVpnWhenRoaming($val) + { + $this->_propDict["cellularBlockVpnWhenRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularData + * Whether or not to allow the cellular data channel on the device. If not configured, the cellular data channel is allowed and the user can turn it off. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The cellularData + */ + public function getCellularData() + { + if (array_key_exists("cellularData", $this->_propDict)) { + if (is_a($this->_propDict["cellularData"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["cellularData"])) { + return $this->_propDict["cellularData"]; + } else { + $this->_propDict["cellularData"] = new ConfigurationUsage($this->_propDict["cellularData"]); + return $this->_propDict["cellularData"]; + } + } + return null; + } + + /** + * Sets the cellularData + * Whether or not to allow the cellular data channel on the device. If not configured, the cellular data channel is allowed and the user can turn it off. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The cellularData + * + * @return Windows10GeneralConfiguration + */ + public function setCellularData($val) + { + $this->_propDict["cellularData"] = $val; + return $this; + } + + /** + * Gets the certificatesBlockManualRootCertificateInstallation + * Whether or not to Block the user from doing manual root certificate installation. + * + * @return bool|null The certificatesBlockManualRootCertificateInstallation + */ + public function getCertificatesBlockManualRootCertificateInstallation() + { + if (array_key_exists("certificatesBlockManualRootCertificateInstallation", $this->_propDict)) { + return $this->_propDict["certificatesBlockManualRootCertificateInstallation"]; + } else { + return null; + } + } + + /** + * Sets the certificatesBlockManualRootCertificateInstallation + * Whether or not to Block the user from doing manual root certificate installation. + * + * @param bool $val The certificatesBlockManualRootCertificateInstallation + * + * @return Windows10GeneralConfiguration + */ + public function setCertificatesBlockManualRootCertificateInstallation($val) + { + $this->_propDict["certificatesBlockManualRootCertificateInstallation"] = boolval($val); + return $this; + } + + /** + * Gets the configureTimeZone + * Specifies the time zone to be applied to the device. This is the standard Windows name for the target time zone. + * + * @return string|null The configureTimeZone + */ + public function getConfigureTimeZone() + { + if (array_key_exists("configureTimeZone", $this->_propDict)) { + return $this->_propDict["configureTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the configureTimeZone + * Specifies the time zone to be applied to the device. This is the standard Windows name for the target time zone. + * + * @param string $val The configureTimeZone + * + * @return Windows10GeneralConfiguration + */ + public function setConfigureTimeZone($val) + { + $this->_propDict["configureTimeZone"] = $val; + return $this; + } + + /** + * Gets the connectedDevicesServiceBlocked + * Whether or not to block Connected Devices Service which enables discovery and connection to other devices, remote messaging, remote app sessions and other cross-device experiences. + * + * @return bool|null The connectedDevicesServiceBlocked + */ + public function getConnectedDevicesServiceBlocked() + { + if (array_key_exists("connectedDevicesServiceBlocked", $this->_propDict)) { + return $this->_propDict["connectedDevicesServiceBlocked"]; + } else { + return null; + } + } + + /** + * Sets the connectedDevicesServiceBlocked + * Whether or not to block Connected Devices Service which enables discovery and connection to other devices, remote messaging, remote app sessions and other cross-device experiences. + * + * @param bool $val The connectedDevicesServiceBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setConnectedDevicesServiceBlocked($val) + { + $this->_propDict["connectedDevicesServiceBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the copyPasteBlocked + * Whether or not to Block the user from using copy paste. + * + * @return bool|null The copyPasteBlocked + */ + public function getCopyPasteBlocked() + { + if (array_key_exists("copyPasteBlocked", $this->_propDict)) { + return $this->_propDict["copyPasteBlocked"]; + } else { + return null; + } + } + + /** + * Sets the copyPasteBlocked + * Whether or not to Block the user from using copy paste. + * + * @param bool $val The copyPasteBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setCopyPasteBlocked($val) + { + $this->_propDict["copyPasteBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cortanaBlocked + * Whether or not to Block the user from using Cortana. + * + * @return bool|null The cortanaBlocked + */ + public function getCortanaBlocked() + { + if (array_key_exists("cortanaBlocked", $this->_propDict)) { + return $this->_propDict["cortanaBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cortanaBlocked + * Whether or not to Block the user from using Cortana. + * + * @param bool $val The cortanaBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setCortanaBlocked($val) + { + $this->_propDict["cortanaBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cryptographyAllowFipsAlgorithmPolicy + * Specify whether to allow or disallow the Federal Information Processing Standard (FIPS) policy. + * + * @return bool|null The cryptographyAllowFipsAlgorithmPolicy + */ + public function getCryptographyAllowFipsAlgorithmPolicy() + { + if (array_key_exists("cryptographyAllowFipsAlgorithmPolicy", $this->_propDict)) { + return $this->_propDict["cryptographyAllowFipsAlgorithmPolicy"]; + } else { + return null; + } + } + + /** + * Sets the cryptographyAllowFipsAlgorithmPolicy + * Specify whether to allow or disallow the Federal Information Processing Standard (FIPS) policy. + * + * @param bool $val The cryptographyAllowFipsAlgorithmPolicy + * + * @return Windows10GeneralConfiguration + */ + public function setCryptographyAllowFipsAlgorithmPolicy($val) + { + $this->_propDict["cryptographyAllowFipsAlgorithmPolicy"] = boolval($val); + return $this; + } + + /** + * Gets the dataProtectionBlockDirectMemoryAccess + * This policy setting allows you to block direct memory access (DMA) for all hot pluggable PCI downstream ports until a user logs into Windows. + * + * @return bool|null The dataProtectionBlockDirectMemoryAccess + */ + public function getDataProtectionBlockDirectMemoryAccess() + { + if (array_key_exists("dataProtectionBlockDirectMemoryAccess", $this->_propDict)) { + return $this->_propDict["dataProtectionBlockDirectMemoryAccess"]; + } else { + return null; + } + } + + /** + * Sets the dataProtectionBlockDirectMemoryAccess + * This policy setting allows you to block direct memory access (DMA) for all hot pluggable PCI downstream ports until a user logs into Windows. + * + * @param bool $val The dataProtectionBlockDirectMemoryAccess + * + * @return Windows10GeneralConfiguration + */ + public function setDataProtectionBlockDirectMemoryAccess($val) + { + $this->_propDict["dataProtectionBlockDirectMemoryAccess"] = boolval($val); + return $this; + } + + /** + * Gets the defenderBlockEndUserAccess + * Whether or not to block end user access to Defender. + * + * @return bool|null The defenderBlockEndUserAccess + */ + public function getDefenderBlockEndUserAccess() + { + if (array_key_exists("defenderBlockEndUserAccess", $this->_propDict)) { + return $this->_propDict["defenderBlockEndUserAccess"]; + } else { + return null; + } + } + + /** + * Sets the defenderBlockEndUserAccess + * Whether or not to block end user access to Defender. + * + * @param bool $val The defenderBlockEndUserAccess + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderBlockEndUserAccess($val) + { + $this->_propDict["defenderBlockEndUserAccess"] = boolval($val); + return $this; + } + + /** + * Gets the defenderBlockOnAccessProtection + * Allows or disallows Windows Defender On Access Protection functionality. + * + * @return bool|null The defenderBlockOnAccessProtection + */ + public function getDefenderBlockOnAccessProtection() + { + if (array_key_exists("defenderBlockOnAccessProtection", $this->_propDict)) { + return $this->_propDict["defenderBlockOnAccessProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderBlockOnAccessProtection + * Allows or disallows Windows Defender On Access Protection functionality. + * + * @param bool $val The defenderBlockOnAccessProtection + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderBlockOnAccessProtection($val) + { + $this->_propDict["defenderBlockOnAccessProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderCloudBlockLevel + * Specifies the level of cloud-delivered protection. Possible values are: notConfigured, high, highPlus, zeroTolerance. + * + * @return DefenderCloudBlockLevelType|null The defenderCloudBlockLevel + */ + public function getDefenderCloudBlockLevel() + { + if (array_key_exists("defenderCloudBlockLevel", $this->_propDict)) { + if (is_a($this->_propDict["defenderCloudBlockLevel"], "\Beta\Microsoft\Graph\Model\DefenderCloudBlockLevelType") || is_null($this->_propDict["defenderCloudBlockLevel"])) { + return $this->_propDict["defenderCloudBlockLevel"]; + } else { + $this->_propDict["defenderCloudBlockLevel"] = new DefenderCloudBlockLevelType($this->_propDict["defenderCloudBlockLevel"]); + return $this->_propDict["defenderCloudBlockLevel"]; + } + } + return null; + } + + /** + * Sets the defenderCloudBlockLevel + * Specifies the level of cloud-delivered protection. Possible values are: notConfigured, high, highPlus, zeroTolerance. + * + * @param DefenderCloudBlockLevelType $val The defenderCloudBlockLevel + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderCloudBlockLevel($val) + { + $this->_propDict["defenderCloudBlockLevel"] = $val; + return $this; + } + + /** + * Gets the defenderCloudExtendedTimeout + * Timeout extension for file scanning by the cloud. Valid values 0 to 50 + * + * @return int|null The defenderCloudExtendedTimeout + */ + public function getDefenderCloudExtendedTimeout() + { + if (array_key_exists("defenderCloudExtendedTimeout", $this->_propDict)) { + return $this->_propDict["defenderCloudExtendedTimeout"]; + } else { + return null; + } + } + + /** + * Sets the defenderCloudExtendedTimeout + * Timeout extension for file scanning by the cloud. Valid values 0 to 50 + * + * @param int $val The defenderCloudExtendedTimeout + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderCloudExtendedTimeout($val) + { + $this->_propDict["defenderCloudExtendedTimeout"] = intval($val); + return $this; + } + + /** + * Gets the defenderCloudExtendedTimeoutInSeconds + * Timeout extension for file scanning by the cloud. Valid values 0 to 50 + * + * @return int|null The defenderCloudExtendedTimeoutInSeconds + */ + public function getDefenderCloudExtendedTimeoutInSeconds() + { + if (array_key_exists("defenderCloudExtendedTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["defenderCloudExtendedTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the defenderCloudExtendedTimeoutInSeconds + * Timeout extension for file scanning by the cloud. Valid values 0 to 50 + * + * @param int $val The defenderCloudExtendedTimeoutInSeconds + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderCloudExtendedTimeoutInSeconds($val) + { + $this->_propDict["defenderCloudExtendedTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the defenderDaysBeforeDeletingQuarantinedMalware + * Number of days before deleting quarantined malware. Valid values 0 to 90 + * + * @return int|null The defenderDaysBeforeDeletingQuarantinedMalware + */ + public function getDefenderDaysBeforeDeletingQuarantinedMalware() + { + if (array_key_exists("defenderDaysBeforeDeletingQuarantinedMalware", $this->_propDict)) { + return $this->_propDict["defenderDaysBeforeDeletingQuarantinedMalware"]; + } else { + return null; + } + } + + /** + * Sets the defenderDaysBeforeDeletingQuarantinedMalware + * Number of days before deleting quarantined malware. Valid values 0 to 90 + * + * @param int $val The defenderDaysBeforeDeletingQuarantinedMalware + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderDaysBeforeDeletingQuarantinedMalware($val) + { + $this->_propDict["defenderDaysBeforeDeletingQuarantinedMalware"] = intval($val); + return $this; + } + + /** + * Gets the defenderDetectedMalwareActions + * Gets or sets Defender’s actions to take on detected Malware per threat level. + * + * @return DefenderDetectedMalwareActions|null The defenderDetectedMalwareActions + */ + public function getDefenderDetectedMalwareActions() + { + if (array_key_exists("defenderDetectedMalwareActions", $this->_propDict)) { + if (is_a($this->_propDict["defenderDetectedMalwareActions"], "\Beta\Microsoft\Graph\Model\DefenderDetectedMalwareActions") || is_null($this->_propDict["defenderDetectedMalwareActions"])) { + return $this->_propDict["defenderDetectedMalwareActions"]; + } else { + $this->_propDict["defenderDetectedMalwareActions"] = new DefenderDetectedMalwareActions($this->_propDict["defenderDetectedMalwareActions"]); + return $this->_propDict["defenderDetectedMalwareActions"]; + } + } + return null; + } + + /** + * Sets the defenderDetectedMalwareActions + * Gets or sets Defender’s actions to take on detected Malware per threat level. + * + * @param DefenderDetectedMalwareActions $val The defenderDetectedMalwareActions + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderDetectedMalwareActions($val) + { + $this->_propDict["defenderDetectedMalwareActions"] = $val; + return $this; + } + + /** + * Gets the defenderDisableCatchupFullScan + * When blocked, catch-up scans for scheduled full scans will be turned off. + * + * @return bool|null The defenderDisableCatchupFullScan + */ + public function getDefenderDisableCatchupFullScan() + { + if (array_key_exists("defenderDisableCatchupFullScan", $this->_propDict)) { + return $this->_propDict["defenderDisableCatchupFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableCatchupFullScan + * When blocked, catch-up scans for scheduled full scans will be turned off. + * + * @param bool $val The defenderDisableCatchupFullScan + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderDisableCatchupFullScan($val) + { + $this->_propDict["defenderDisableCatchupFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderDisableCatchupQuickScan + * When blocked, catch-up scans for scheduled quick scans will be turned off. + * + * @return bool|null The defenderDisableCatchupQuickScan + */ + public function getDefenderDisableCatchupQuickScan() + { + if (array_key_exists("defenderDisableCatchupQuickScan", $this->_propDict)) { + return $this->_propDict["defenderDisableCatchupQuickScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderDisableCatchupQuickScan + * When blocked, catch-up scans for scheduled quick scans will be turned off. + * + * @param bool $val The defenderDisableCatchupQuickScan + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderDisableCatchupQuickScan($val) + { + $this->_propDict["defenderDisableCatchupQuickScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderFileExtensionsToExclude + * File extensions to exclude from scans and real time protection. + * + * @return string|null The defenderFileExtensionsToExclude + */ + public function getDefenderFileExtensionsToExclude() + { + if (array_key_exists("defenderFileExtensionsToExclude", $this->_propDict)) { + return $this->_propDict["defenderFileExtensionsToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderFileExtensionsToExclude + * File extensions to exclude from scans and real time protection. + * + * @param string $val The defenderFileExtensionsToExclude + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderFileExtensionsToExclude($val) + { + $this->_propDict["defenderFileExtensionsToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderFilesAndFoldersToExclude + * Files and folder to exclude from scans and real time protection. + * + * @return string|null The defenderFilesAndFoldersToExclude + */ + public function getDefenderFilesAndFoldersToExclude() + { + if (array_key_exists("defenderFilesAndFoldersToExclude", $this->_propDict)) { + return $this->_propDict["defenderFilesAndFoldersToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderFilesAndFoldersToExclude + * Files and folder to exclude from scans and real time protection. + * + * @param string $val The defenderFilesAndFoldersToExclude + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderFilesAndFoldersToExclude($val) + { + $this->_propDict["defenderFilesAndFoldersToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderMonitorFileActivity + * Value for monitoring file activity. Possible values are: userDefined, disable, monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + * + * @return DefenderMonitorFileActivity|null The defenderMonitorFileActivity + */ + public function getDefenderMonitorFileActivity() + { + if (array_key_exists("defenderMonitorFileActivity", $this->_propDict)) { + if (is_a($this->_propDict["defenderMonitorFileActivity"], "\Beta\Microsoft\Graph\Model\DefenderMonitorFileActivity") || is_null($this->_propDict["defenderMonitorFileActivity"])) { + return $this->_propDict["defenderMonitorFileActivity"]; + } else { + $this->_propDict["defenderMonitorFileActivity"] = new DefenderMonitorFileActivity($this->_propDict["defenderMonitorFileActivity"]); + return $this->_propDict["defenderMonitorFileActivity"]; + } + } + return null; + } + + /** + * Sets the defenderMonitorFileActivity + * Value for monitoring file activity. Possible values are: userDefined, disable, monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + * + * @param DefenderMonitorFileActivity $val The defenderMonitorFileActivity + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderMonitorFileActivity($val) + { + $this->_propDict["defenderMonitorFileActivity"] = $val; + return $this; + } + + /** + * Gets the defenderPotentiallyUnwantedAppAction + * Gets or sets Defender’s action to take on Potentially Unwanted Application (PUA), which includes software with behaviors of ad-injection, software bundling, persistent solicitation for payment or subscription, etc. Defender alerts user when PUA is being downloaded or attempts to install itself. Added in Windows 10 for desktop. Possible values are: deviceDefault, block, audit. + * + * @return DefenderPotentiallyUnwantedAppAction|null The defenderPotentiallyUnwantedAppAction + */ + public function getDefenderPotentiallyUnwantedAppAction() + { + if (array_key_exists("defenderPotentiallyUnwantedAppAction", $this->_propDict)) { + if (is_a($this->_propDict["defenderPotentiallyUnwantedAppAction"], "\Beta\Microsoft\Graph\Model\DefenderPotentiallyUnwantedAppAction") || is_null($this->_propDict["defenderPotentiallyUnwantedAppAction"])) { + return $this->_propDict["defenderPotentiallyUnwantedAppAction"]; + } else { + $this->_propDict["defenderPotentiallyUnwantedAppAction"] = new DefenderPotentiallyUnwantedAppAction($this->_propDict["defenderPotentiallyUnwantedAppAction"]); + return $this->_propDict["defenderPotentiallyUnwantedAppAction"]; + } + } + return null; + } + + /** + * Sets the defenderPotentiallyUnwantedAppAction + * Gets or sets Defender’s action to take on Potentially Unwanted Application (PUA), which includes software with behaviors of ad-injection, software bundling, persistent solicitation for payment or subscription, etc. Defender alerts user when PUA is being downloaded or attempts to install itself. Added in Windows 10 for desktop. Possible values are: deviceDefault, block, audit. + * + * @param DefenderPotentiallyUnwantedAppAction $val The defenderPotentiallyUnwantedAppAction + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderPotentiallyUnwantedAppAction($val) + { + $this->_propDict["defenderPotentiallyUnwantedAppAction"] = $val; + return $this; + } + + /** + * Gets the defenderPotentiallyUnwantedAppActionSetting + * Gets or sets Defender’s action to take on Potentially Unwanted Application (PUA), which includes software with behaviors of ad-injection, software bundling, persistent solicitation for payment or subscription, etc. Defender alerts user when PUA is being downloaded or attempts to install itself. Added in Windows 10 for desktop. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @return DefenderProtectionType|null The defenderPotentiallyUnwantedAppActionSetting + */ + public function getDefenderPotentiallyUnwantedAppActionSetting() + { + if (array_key_exists("defenderPotentiallyUnwantedAppActionSetting", $this->_propDict)) { + if (is_a($this->_propDict["defenderPotentiallyUnwantedAppActionSetting"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType") || is_null($this->_propDict["defenderPotentiallyUnwantedAppActionSetting"])) { + return $this->_propDict["defenderPotentiallyUnwantedAppActionSetting"]; + } else { + $this->_propDict["defenderPotentiallyUnwantedAppActionSetting"] = new DefenderProtectionType($this->_propDict["defenderPotentiallyUnwantedAppActionSetting"]); + return $this->_propDict["defenderPotentiallyUnwantedAppActionSetting"]; + } + } + return null; + } + + /** + * Sets the defenderPotentiallyUnwantedAppActionSetting + * Gets or sets Defender’s action to take on Potentially Unwanted Application (PUA), which includes software with behaviors of ad-injection, software bundling, persistent solicitation for payment or subscription, etc. Defender alerts user when PUA is being downloaded or attempts to install itself. Added in Windows 10 for desktop. Possible values are: userDefined, enable, auditMode, warn, notConfigured. + * + * @param DefenderProtectionType $val The defenderPotentiallyUnwantedAppActionSetting + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderPotentiallyUnwantedAppActionSetting($val) + { + $this->_propDict["defenderPotentiallyUnwantedAppActionSetting"] = $val; + return $this; + } + + /** + * Gets the defenderProcessesToExclude + * Processes to exclude from scans and real time protection. + * + * @return string|null The defenderProcessesToExclude + */ + public function getDefenderProcessesToExclude() + { + if (array_key_exists("defenderProcessesToExclude", $this->_propDict)) { + return $this->_propDict["defenderProcessesToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderProcessesToExclude + * Processes to exclude from scans and real time protection. + * + * @param string $val The defenderProcessesToExclude + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderProcessesToExclude($val) + { + $this->_propDict["defenderProcessesToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderPromptForSampleSubmission + * The configuration for how to prompt user for sample submission. Possible values are: userDefined, alwaysPrompt, promptBeforeSendingPersonalData, neverSendData, sendAllDataWithoutPrompting. + * + * @return DefenderPromptForSampleSubmission|null The defenderPromptForSampleSubmission + */ + public function getDefenderPromptForSampleSubmission() + { + if (array_key_exists("defenderPromptForSampleSubmission", $this->_propDict)) { + if (is_a($this->_propDict["defenderPromptForSampleSubmission"], "\Beta\Microsoft\Graph\Model\DefenderPromptForSampleSubmission") || is_null($this->_propDict["defenderPromptForSampleSubmission"])) { + return $this->_propDict["defenderPromptForSampleSubmission"]; + } else { + $this->_propDict["defenderPromptForSampleSubmission"] = new DefenderPromptForSampleSubmission($this->_propDict["defenderPromptForSampleSubmission"]); + return $this->_propDict["defenderPromptForSampleSubmission"]; + } + } + return null; + } + + /** + * Sets the defenderPromptForSampleSubmission + * The configuration for how to prompt user for sample submission. Possible values are: userDefined, alwaysPrompt, promptBeforeSendingPersonalData, neverSendData, sendAllDataWithoutPrompting. + * + * @param DefenderPromptForSampleSubmission $val The defenderPromptForSampleSubmission + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderPromptForSampleSubmission($val) + { + $this->_propDict["defenderPromptForSampleSubmission"] = $val; + return $this; + } + + /** + * Gets the defenderRequireBehaviorMonitoring + * Indicates whether or not to require behavior monitoring. + * + * @return bool|null The defenderRequireBehaviorMonitoring + */ + public function getDefenderRequireBehaviorMonitoring() + { + if (array_key_exists("defenderRequireBehaviorMonitoring", $this->_propDict)) { + return $this->_propDict["defenderRequireBehaviorMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireBehaviorMonitoring + * Indicates whether or not to require behavior monitoring. + * + * @param bool $val The defenderRequireBehaviorMonitoring + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireBehaviorMonitoring($val) + { + $this->_propDict["defenderRequireBehaviorMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderRequireCloudProtection + * Indicates whether or not to require cloud protection. + * + * @return bool|null The defenderRequireCloudProtection + */ + public function getDefenderRequireCloudProtection() + { + if (array_key_exists("defenderRequireCloudProtection", $this->_propDict)) { + return $this->_propDict["defenderRequireCloudProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireCloudProtection + * Indicates whether or not to require cloud protection. + * + * @param bool $val The defenderRequireCloudProtection + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireCloudProtection($val) + { + $this->_propDict["defenderRequireCloudProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderRequireNetworkInspectionSystem + * Indicates whether or not to require network inspection system. + * + * @return bool|null The defenderRequireNetworkInspectionSystem + */ + public function getDefenderRequireNetworkInspectionSystem() + { + if (array_key_exists("defenderRequireNetworkInspectionSystem", $this->_propDict)) { + return $this->_propDict["defenderRequireNetworkInspectionSystem"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireNetworkInspectionSystem + * Indicates whether or not to require network inspection system. + * + * @param bool $val The defenderRequireNetworkInspectionSystem + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireNetworkInspectionSystem($val) + { + $this->_propDict["defenderRequireNetworkInspectionSystem"] = boolval($val); + return $this; + } + + /** + * Gets the defenderRequireRealTimeMonitoring + * Indicates whether or not to require real time monitoring. + * + * @return bool|null The defenderRequireRealTimeMonitoring + */ + public function getDefenderRequireRealTimeMonitoring() + { + if (array_key_exists("defenderRequireRealTimeMonitoring", $this->_propDict)) { + return $this->_propDict["defenderRequireRealTimeMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireRealTimeMonitoring + * Indicates whether or not to require real time monitoring. + * + * @param bool $val The defenderRequireRealTimeMonitoring + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireRealTimeMonitoring($val) + { + $this->_propDict["defenderRequireRealTimeMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanArchiveFiles + * Indicates whether or not to scan archive files. + * + * @return bool|null The defenderScanArchiveFiles + */ + public function getDefenderScanArchiveFiles() + { + if (array_key_exists("defenderScanArchiveFiles", $this->_propDict)) { + return $this->_propDict["defenderScanArchiveFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanArchiveFiles + * Indicates whether or not to scan archive files. + * + * @param bool $val The defenderScanArchiveFiles + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanArchiveFiles($val) + { + $this->_propDict["defenderScanArchiveFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanDownloads + * Indicates whether or not to scan downloads. + * + * @return bool|null The defenderScanDownloads + */ + public function getDefenderScanDownloads() + { + if (array_key_exists("defenderScanDownloads", $this->_propDict)) { + return $this->_propDict["defenderScanDownloads"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanDownloads + * Indicates whether or not to scan downloads. + * + * @param bool $val The defenderScanDownloads + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanDownloads($val) + { + $this->_propDict["defenderScanDownloads"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanIncomingMail + * Indicates whether or not to scan incoming mail messages. + * + * @return bool|null The defenderScanIncomingMail + */ + public function getDefenderScanIncomingMail() + { + if (array_key_exists("defenderScanIncomingMail", $this->_propDict)) { + return $this->_propDict["defenderScanIncomingMail"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanIncomingMail + * Indicates whether or not to scan incoming mail messages. + * + * @param bool $val The defenderScanIncomingMail + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanIncomingMail($val) + { + $this->_propDict["defenderScanIncomingMail"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanMappedNetworkDrivesDuringFullScan + * Indicates whether or not to scan mapped network drives during full scan. + * + * @return bool|null The defenderScanMappedNetworkDrivesDuringFullScan + */ + public function getDefenderScanMappedNetworkDrivesDuringFullScan() + { + if (array_key_exists("defenderScanMappedNetworkDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderScanMappedNetworkDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanMappedNetworkDrivesDuringFullScan + * Indicates whether or not to scan mapped network drives during full scan. + * + * @param bool $val The defenderScanMappedNetworkDrivesDuringFullScan + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanMappedNetworkDrivesDuringFullScan($val) + { + $this->_propDict["defenderScanMappedNetworkDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanMaxCpu + * Max CPU usage percentage during scan. Valid values 0 to 100 + * + * @return int|null The defenderScanMaxCpu + */ + public function getDefenderScanMaxCpu() + { + if (array_key_exists("defenderScanMaxCpu", $this->_propDict)) { + return $this->_propDict["defenderScanMaxCpu"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanMaxCpu + * Max CPU usage percentage during scan. Valid values 0 to 100 + * + * @param int $val The defenderScanMaxCpu + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanMaxCpu($val) + { + $this->_propDict["defenderScanMaxCpu"] = intval($val); + return $this; + } + + /** + * Gets the defenderScanNetworkFiles + * Indicates whether or not to scan files opened from a network folder. + * + * @return bool|null The defenderScanNetworkFiles + */ + public function getDefenderScanNetworkFiles() + { + if (array_key_exists("defenderScanNetworkFiles", $this->_propDict)) { + return $this->_propDict["defenderScanNetworkFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanNetworkFiles + * Indicates whether or not to scan files opened from a network folder. + * + * @param bool $val The defenderScanNetworkFiles + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanNetworkFiles($val) + { + $this->_propDict["defenderScanNetworkFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanRemovableDrivesDuringFullScan + * Indicates whether or not to scan removable drives during full scan. + * + * @return bool|null The defenderScanRemovableDrivesDuringFullScan + */ + public function getDefenderScanRemovableDrivesDuringFullScan() + { + if (array_key_exists("defenderScanRemovableDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderScanRemovableDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanRemovableDrivesDuringFullScan + * Indicates whether or not to scan removable drives during full scan. + * + * @param bool $val The defenderScanRemovableDrivesDuringFullScan + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanRemovableDrivesDuringFullScan($val) + { + $this->_propDict["defenderScanRemovableDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanScriptsLoadedInInternetExplorer + * Indicates whether or not to scan scripts loaded in Internet Explorer browser. + * + * @return bool|null The defenderScanScriptsLoadedInInternetExplorer + */ + public function getDefenderScanScriptsLoadedInInternetExplorer() + { + if (array_key_exists("defenderScanScriptsLoadedInInternetExplorer", $this->_propDict)) { + return $this->_propDict["defenderScanScriptsLoadedInInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanScriptsLoadedInInternetExplorer + * Indicates whether or not to scan scripts loaded in Internet Explorer browser. + * + * @param bool $val The defenderScanScriptsLoadedInInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanScriptsLoadedInInternetExplorer($val) + { + $this->_propDict["defenderScanScriptsLoadedInInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanType + * The defender system scan type. Possible values are: userDefined, disabled, quick, full. + * + * @return DefenderScanType|null The defenderScanType + */ + public function getDefenderScanType() + { + if (array_key_exists("defenderScanType", $this->_propDict)) { + if (is_a($this->_propDict["defenderScanType"], "\Beta\Microsoft\Graph\Model\DefenderScanType") || is_null($this->_propDict["defenderScanType"])) { + return $this->_propDict["defenderScanType"]; + } else { + $this->_propDict["defenderScanType"] = new DefenderScanType($this->_propDict["defenderScanType"]); + return $this->_propDict["defenderScanType"]; + } + } + return null; + } + + /** + * Sets the defenderScanType + * The defender system scan type. Possible values are: userDefined, disabled, quick, full. + * + * @param DefenderScanType $val The defenderScanType + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanType($val) + { + $this->_propDict["defenderScanType"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledQuickScanTime + * The time to perform a daily quick scan. + * + * @return TimeOfDay|null The defenderScheduledQuickScanTime + */ + public function getDefenderScheduledQuickScanTime() + { + if (array_key_exists("defenderScheduledQuickScanTime", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledQuickScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["defenderScheduledQuickScanTime"])) { + return $this->_propDict["defenderScheduledQuickScanTime"]; + } else { + $this->_propDict["defenderScheduledQuickScanTime"] = new TimeOfDay($this->_propDict["defenderScheduledQuickScanTime"]); + return $this->_propDict["defenderScheduledQuickScanTime"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledQuickScanTime + * The time to perform a daily quick scan. + * + * @param TimeOfDay $val The defenderScheduledQuickScanTime + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScheduledQuickScanTime($val) + { + $this->_propDict["defenderScheduledQuickScanTime"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledScanTime + * The defender time for the system scan. + * + * @return TimeOfDay|null The defenderScheduledScanTime + */ + public function getDefenderScheduledScanTime() + { + if (array_key_exists("defenderScheduledScanTime", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["defenderScheduledScanTime"])) { + return $this->_propDict["defenderScheduledScanTime"]; + } else { + $this->_propDict["defenderScheduledScanTime"] = new TimeOfDay($this->_propDict["defenderScheduledScanTime"]); + return $this->_propDict["defenderScheduledScanTime"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledScanTime + * The defender time for the system scan. + * + * @param TimeOfDay $val The defenderScheduledScanTime + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScheduledScanTime($val) + { + $this->_propDict["defenderScheduledScanTime"] = $val; + return $this; + } + + /** + * Gets the defenderScheduleScanEnableLowCpuPriority + * When enabled, low CPU priority will be used during scheduled scans. + * + * @return bool|null The defenderScheduleScanEnableLowCpuPriority + */ + public function getDefenderScheduleScanEnableLowCpuPriority() + { + if (array_key_exists("defenderScheduleScanEnableLowCpuPriority", $this->_propDict)) { + return $this->_propDict["defenderScheduleScanEnableLowCpuPriority"]; + } else { + return null; + } + } + + /** + * Sets the defenderScheduleScanEnableLowCpuPriority + * When enabled, low CPU priority will be used during scheduled scans. + * + * @param bool $val The defenderScheduleScanEnableLowCpuPriority + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScheduleScanEnableLowCpuPriority($val) + { + $this->_propDict["defenderScheduleScanEnableLowCpuPriority"] = boolval($val); + return $this; + } + + /** + * Gets the defenderSignatureUpdateIntervalInHours + * The signature update interval in hours. Specify 0 not to check. Valid values 0 to 24 + * + * @return int|null The defenderSignatureUpdateIntervalInHours + */ + public function getDefenderSignatureUpdateIntervalInHours() + { + if (array_key_exists("defenderSignatureUpdateIntervalInHours", $this->_propDict)) { + return $this->_propDict["defenderSignatureUpdateIntervalInHours"]; + } else { + return null; + } + } + + /** + * Sets the defenderSignatureUpdateIntervalInHours + * The signature update interval in hours. Specify 0 not to check. Valid values 0 to 24 + * + * @param int $val The defenderSignatureUpdateIntervalInHours + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderSignatureUpdateIntervalInHours($val) + { + $this->_propDict["defenderSignatureUpdateIntervalInHours"] = intval($val); + return $this; + } + + /** + * Gets the defenderSubmitSamplesConsentType + * Checks for the user consent level in Windows Defender to send data. Possible values are: sendSafeSamplesAutomatically, alwaysPrompt, neverSend, sendAllSamplesAutomatically. + * + * @return DefenderSubmitSamplesConsentType|null The defenderSubmitSamplesConsentType + */ + public function getDefenderSubmitSamplesConsentType() + { + if (array_key_exists("defenderSubmitSamplesConsentType", $this->_propDict)) { + if (is_a($this->_propDict["defenderSubmitSamplesConsentType"], "\Beta\Microsoft\Graph\Model\DefenderSubmitSamplesConsentType") || is_null($this->_propDict["defenderSubmitSamplesConsentType"])) { + return $this->_propDict["defenderSubmitSamplesConsentType"]; + } else { + $this->_propDict["defenderSubmitSamplesConsentType"] = new DefenderSubmitSamplesConsentType($this->_propDict["defenderSubmitSamplesConsentType"]); + return $this->_propDict["defenderSubmitSamplesConsentType"]; + } + } + return null; + } + + /** + * Sets the defenderSubmitSamplesConsentType + * Checks for the user consent level in Windows Defender to send data. Possible values are: sendSafeSamplesAutomatically, alwaysPrompt, neverSend, sendAllSamplesAutomatically. + * + * @param DefenderSubmitSamplesConsentType $val The defenderSubmitSamplesConsentType + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderSubmitSamplesConsentType($val) + { + $this->_propDict["defenderSubmitSamplesConsentType"] = $val; + return $this; + } + + /** + * Gets the defenderSystemScanSchedule + * Defender day of the week for the system scan. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @return WeeklySchedule|null The defenderSystemScanSchedule + */ + public function getDefenderSystemScanSchedule() + { + if (array_key_exists("defenderSystemScanSchedule", $this->_propDict)) { + if (is_a($this->_propDict["defenderSystemScanSchedule"], "\Beta\Microsoft\Graph\Model\WeeklySchedule") || is_null($this->_propDict["defenderSystemScanSchedule"])) { + return $this->_propDict["defenderSystemScanSchedule"]; + } else { + $this->_propDict["defenderSystemScanSchedule"] = new WeeklySchedule($this->_propDict["defenderSystemScanSchedule"]); + return $this->_propDict["defenderSystemScanSchedule"]; + } + } + return null; + } + + /** + * Sets the defenderSystemScanSchedule + * Defender day of the week for the system scan. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @param WeeklySchedule $val The defenderSystemScanSchedule + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderSystemScanSchedule($val) + { + $this->_propDict["defenderSystemScanSchedule"] = $val; + return $this; + } + + /** + * Gets the developerUnlockSetting + * Indicates whether or not to allow developer unlock. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The developerUnlockSetting + */ + public function getDeveloperUnlockSetting() + { + if (array_key_exists("developerUnlockSetting", $this->_propDict)) { + if (is_a($this->_propDict["developerUnlockSetting"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["developerUnlockSetting"])) { + return $this->_propDict["developerUnlockSetting"]; + } else { + $this->_propDict["developerUnlockSetting"] = new StateManagementSetting($this->_propDict["developerUnlockSetting"]); + return $this->_propDict["developerUnlockSetting"]; + } + } + return null; + } + + /** + * Sets the developerUnlockSetting + * Indicates whether or not to allow developer unlock. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The developerUnlockSetting + * + * @return Windows10GeneralConfiguration + */ + public function setDeveloperUnlockSetting($val) + { + $this->_propDict["developerUnlockSetting"] = $val; + return $this; + } + + /** + * Gets the deviceManagementBlockFactoryResetOnMobile + * Indicates whether or not to Block the user from resetting their phone. + * + * @return bool|null The deviceManagementBlockFactoryResetOnMobile + */ + public function getDeviceManagementBlockFactoryResetOnMobile() + { + if (array_key_exists("deviceManagementBlockFactoryResetOnMobile", $this->_propDict)) { + return $this->_propDict["deviceManagementBlockFactoryResetOnMobile"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementBlockFactoryResetOnMobile + * Indicates whether or not to Block the user from resetting their phone. + * + * @param bool $val The deviceManagementBlockFactoryResetOnMobile + * + * @return Windows10GeneralConfiguration + */ + public function setDeviceManagementBlockFactoryResetOnMobile($val) + { + $this->_propDict["deviceManagementBlockFactoryResetOnMobile"] = boolval($val); + return $this; + } + + /** + * Gets the deviceManagementBlockManualUnenroll + * Indicates whether or not to Block the user from doing manual un-enrollment from device management. + * + * @return bool|null The deviceManagementBlockManualUnenroll + */ + public function getDeviceManagementBlockManualUnenroll() + { + if (array_key_exists("deviceManagementBlockManualUnenroll", $this->_propDict)) { + return $this->_propDict["deviceManagementBlockManualUnenroll"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementBlockManualUnenroll + * Indicates whether or not to Block the user from doing manual un-enrollment from device management. + * + * @param bool $val The deviceManagementBlockManualUnenroll + * + * @return Windows10GeneralConfiguration + */ + public function setDeviceManagementBlockManualUnenroll($val) + { + $this->_propDict["deviceManagementBlockManualUnenroll"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticsDataSubmissionMode + * Gets or sets a value allowing the device to send diagnostic and usage telemetry data, such as Watson. Possible values are: userDefined, none, basic, enhanced, full. + * + * @return DiagnosticDataSubmissionMode|null The diagnosticsDataSubmissionMode + */ + public function getDiagnosticsDataSubmissionMode() + { + if (array_key_exists("diagnosticsDataSubmissionMode", $this->_propDict)) { + if (is_a($this->_propDict["diagnosticsDataSubmissionMode"], "\Beta\Microsoft\Graph\Model\DiagnosticDataSubmissionMode") || is_null($this->_propDict["diagnosticsDataSubmissionMode"])) { + return $this->_propDict["diagnosticsDataSubmissionMode"]; + } else { + $this->_propDict["diagnosticsDataSubmissionMode"] = new DiagnosticDataSubmissionMode($this->_propDict["diagnosticsDataSubmissionMode"]); + return $this->_propDict["diagnosticsDataSubmissionMode"]; + } + } + return null; + } + + /** + * Sets the diagnosticsDataSubmissionMode + * Gets or sets a value allowing the device to send diagnostic and usage telemetry data, such as Watson. Possible values are: userDefined, none, basic, enhanced, full. + * + * @param DiagnosticDataSubmissionMode $val The diagnosticsDataSubmissionMode + * + * @return Windows10GeneralConfiguration + */ + public function setDiagnosticsDataSubmissionMode($val) + { + $this->_propDict["diagnosticsDataSubmissionMode"] = $val; + return $this; + } + + /** + * Gets the displayAppListWithGdiDPIScalingTurnedOff + * List of legacy applications that have GDI DPI Scaling turned off. + * + * @return string|null The displayAppListWithGdiDPIScalingTurnedOff + */ + public function getDisplayAppListWithGdiDPIScalingTurnedOff() + { + if (array_key_exists("displayAppListWithGdiDPIScalingTurnedOff", $this->_propDict)) { + return $this->_propDict["displayAppListWithGdiDPIScalingTurnedOff"]; + } else { + return null; + } + } + + /** + * Sets the displayAppListWithGdiDPIScalingTurnedOff + * List of legacy applications that have GDI DPI Scaling turned off. + * + * @param string $val The displayAppListWithGdiDPIScalingTurnedOff + * + * @return Windows10GeneralConfiguration + */ + public function setDisplayAppListWithGdiDPIScalingTurnedOff($val) + { + $this->_propDict["displayAppListWithGdiDPIScalingTurnedOff"] = $val; + return $this; + } + + /** + * Gets the displayAppListWithGdiDPIScalingTurnedOn + * List of legacy applications that have GDI DPI Scaling turned on. + * + * @return string|null The displayAppListWithGdiDPIScalingTurnedOn + */ + public function getDisplayAppListWithGdiDPIScalingTurnedOn() + { + if (array_key_exists("displayAppListWithGdiDPIScalingTurnedOn", $this->_propDict)) { + return $this->_propDict["displayAppListWithGdiDPIScalingTurnedOn"]; + } else { + return null; + } + } + + /** + * Sets the displayAppListWithGdiDPIScalingTurnedOn + * List of legacy applications that have GDI DPI Scaling turned on. + * + * @param string $val The displayAppListWithGdiDPIScalingTurnedOn + * + * @return Windows10GeneralConfiguration + */ + public function setDisplayAppListWithGdiDPIScalingTurnedOn($val) + { + $this->_propDict["displayAppListWithGdiDPIScalingTurnedOn"] = $val; + return $this; + } + + /** + * Gets the edgeAllowStartPagesModification + * Allow users to change Start pages on Edge. Use the EdgeHomepageUrls to specify the Start pages that the user would see by default when they open Edge. + * + * @return bool|null The edgeAllowStartPagesModification + */ + public function getEdgeAllowStartPagesModification() + { + if (array_key_exists("edgeAllowStartPagesModification", $this->_propDict)) { + return $this->_propDict["edgeAllowStartPagesModification"]; + } else { + return null; + } + } + + /** + * Sets the edgeAllowStartPagesModification + * Allow users to change Start pages on Edge. Use the EdgeHomepageUrls to specify the Start pages that the user would see by default when they open Edge. + * + * @param bool $val The edgeAllowStartPagesModification + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeAllowStartPagesModification($val) + { + $this->_propDict["edgeAllowStartPagesModification"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockAccessToAboutFlags + * Indicates whether or not to prevent access to about flags on Edge browser. + * + * @return bool|null The edgeBlockAccessToAboutFlags + */ + public function getEdgeBlockAccessToAboutFlags() + { + if (array_key_exists("edgeBlockAccessToAboutFlags", $this->_propDict)) { + return $this->_propDict["edgeBlockAccessToAboutFlags"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockAccessToAboutFlags + * Indicates whether or not to prevent access to about flags on Edge browser. + * + * @param bool $val The edgeBlockAccessToAboutFlags + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockAccessToAboutFlags($val) + { + $this->_propDict["edgeBlockAccessToAboutFlags"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockAddressBarDropdown + * Block the address bar dropdown functionality in Microsoft Edge. Disable this settings to minimize network connections from Microsoft Edge to Microsoft services. + * + * @return bool|null The edgeBlockAddressBarDropdown + */ + public function getEdgeBlockAddressBarDropdown() + { + if (array_key_exists("edgeBlockAddressBarDropdown", $this->_propDict)) { + return $this->_propDict["edgeBlockAddressBarDropdown"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockAddressBarDropdown + * Block the address bar dropdown functionality in Microsoft Edge. Disable this settings to minimize network connections from Microsoft Edge to Microsoft services. + * + * @param bool $val The edgeBlockAddressBarDropdown + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockAddressBarDropdown($val) + { + $this->_propDict["edgeBlockAddressBarDropdown"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockAutofill + * Indicates whether or not to block auto fill. + * + * @return bool|null The edgeBlockAutofill + */ + public function getEdgeBlockAutofill() + { + if (array_key_exists("edgeBlockAutofill", $this->_propDict)) { + return $this->_propDict["edgeBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockAutofill + * Indicates whether or not to block auto fill. + * + * @param bool $val The edgeBlockAutofill + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockAutofill($val) + { + $this->_propDict["edgeBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockCompatibilityList + * Block Microsoft compatibility list in Microsoft Edge. This list from Microsoft helps Edge properly display sites with known compatibility issues. + * + * @return bool|null The edgeBlockCompatibilityList + */ + public function getEdgeBlockCompatibilityList() + { + if (array_key_exists("edgeBlockCompatibilityList", $this->_propDict)) { + return $this->_propDict["edgeBlockCompatibilityList"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockCompatibilityList + * Block Microsoft compatibility list in Microsoft Edge. This list from Microsoft helps Edge properly display sites with known compatibility issues. + * + * @param bool $val The edgeBlockCompatibilityList + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockCompatibilityList($val) + { + $this->_propDict["edgeBlockCompatibilityList"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockDeveloperTools + * Indicates whether or not to block developer tools in the Edge browser. + * + * @return bool|null The edgeBlockDeveloperTools + */ + public function getEdgeBlockDeveloperTools() + { + if (array_key_exists("edgeBlockDeveloperTools", $this->_propDict)) { + return $this->_propDict["edgeBlockDeveloperTools"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockDeveloperTools + * Indicates whether or not to block developer tools in the Edge browser. + * + * @param bool $val The edgeBlockDeveloperTools + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockDeveloperTools($val) + { + $this->_propDict["edgeBlockDeveloperTools"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlocked + * Indicates whether or not to Block the user from using the Edge browser. + * + * @return bool|null The edgeBlocked + */ + public function getEdgeBlocked() + { + if (array_key_exists("edgeBlocked", $this->_propDict)) { + return $this->_propDict["edgeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlocked + * Indicates whether or not to Block the user from using the Edge browser. + * + * @param bool $val The edgeBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlocked($val) + { + $this->_propDict["edgeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockEditFavorites + * Indicates whether or not to Block the user from making changes to Favorites. + * + * @return bool|null The edgeBlockEditFavorites + */ + public function getEdgeBlockEditFavorites() + { + if (array_key_exists("edgeBlockEditFavorites", $this->_propDict)) { + return $this->_propDict["edgeBlockEditFavorites"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockEditFavorites + * Indicates whether or not to Block the user from making changes to Favorites. + * + * @param bool $val The edgeBlockEditFavorites + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockEditFavorites($val) + { + $this->_propDict["edgeBlockEditFavorites"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockExtensions + * Indicates whether or not to block extensions in the Edge browser. + * + * @return bool|null The edgeBlockExtensions + */ + public function getEdgeBlockExtensions() + { + if (array_key_exists("edgeBlockExtensions", $this->_propDict)) { + return $this->_propDict["edgeBlockExtensions"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockExtensions + * Indicates whether or not to block extensions in the Edge browser. + * + * @param bool $val The edgeBlockExtensions + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockExtensions($val) + { + $this->_propDict["edgeBlockExtensions"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockFullScreenMode + * Allow or prevent Edge from entering the full screen mode. + * + * @return bool|null The edgeBlockFullScreenMode + */ + public function getEdgeBlockFullScreenMode() + { + if (array_key_exists("edgeBlockFullScreenMode", $this->_propDict)) { + return $this->_propDict["edgeBlockFullScreenMode"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockFullScreenMode + * Allow or prevent Edge from entering the full screen mode. + * + * @param bool $val The edgeBlockFullScreenMode + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockFullScreenMode($val) + { + $this->_propDict["edgeBlockFullScreenMode"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockInPrivateBrowsing + * Indicates whether or not to block InPrivate browsing on corporate networks, in the Edge browser. + * + * @return bool|null The edgeBlockInPrivateBrowsing + */ + public function getEdgeBlockInPrivateBrowsing() + { + if (array_key_exists("edgeBlockInPrivateBrowsing", $this->_propDict)) { + return $this->_propDict["edgeBlockInPrivateBrowsing"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockInPrivateBrowsing + * Indicates whether or not to block InPrivate browsing on corporate networks, in the Edge browser. + * + * @param bool $val The edgeBlockInPrivateBrowsing + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockInPrivateBrowsing($val) + { + $this->_propDict["edgeBlockInPrivateBrowsing"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @return bool|null The edgeBlockJavaScript + */ + public function getEdgeBlockJavaScript() + { + if (array_key_exists("edgeBlockJavaScript", $this->_propDict)) { + return $this->_propDict["edgeBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @param bool $val The edgeBlockJavaScript + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockJavaScript($val) + { + $this->_propDict["edgeBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockLiveTileDataCollection + * Block the collection of information by Microsoft for live tile creation when users pin a site to Start from Microsoft Edge. + * + * @return bool|null The edgeBlockLiveTileDataCollection + */ + public function getEdgeBlockLiveTileDataCollection() + { + if (array_key_exists("edgeBlockLiveTileDataCollection", $this->_propDict)) { + return $this->_propDict["edgeBlockLiveTileDataCollection"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockLiveTileDataCollection + * Block the collection of information by Microsoft for live tile creation when users pin a site to Start from Microsoft Edge. + * + * @param bool $val The edgeBlockLiveTileDataCollection + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockLiveTileDataCollection($val) + { + $this->_propDict["edgeBlockLiveTileDataCollection"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockPasswordManager + * Indicates whether or not to Block password manager. + * + * @return bool|null The edgeBlockPasswordManager + */ + public function getEdgeBlockPasswordManager() + { + if (array_key_exists("edgeBlockPasswordManager", $this->_propDict)) { + return $this->_propDict["edgeBlockPasswordManager"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockPasswordManager + * Indicates whether or not to Block password manager. + * + * @param bool $val The edgeBlockPasswordManager + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockPasswordManager($val) + { + $this->_propDict["edgeBlockPasswordManager"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockPopups + * Indicates whether or not to block popups. + * + * @return bool|null The edgeBlockPopups + */ + public function getEdgeBlockPopups() + { + if (array_key_exists("edgeBlockPopups", $this->_propDict)) { + return $this->_propDict["edgeBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockPopups + * Indicates whether or not to block popups. + * + * @param bool $val The edgeBlockPopups + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockPopups($val) + { + $this->_propDict["edgeBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockPrelaunch + * Decide whether Microsoft Edge is prelaunched at Windows startup. + * + * @return bool|null The edgeBlockPrelaunch + */ + public function getEdgeBlockPrelaunch() + { + if (array_key_exists("edgeBlockPrelaunch", $this->_propDict)) { + return $this->_propDict["edgeBlockPrelaunch"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockPrelaunch + * Decide whether Microsoft Edge is prelaunched at Windows startup. + * + * @param bool $val The edgeBlockPrelaunch + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockPrelaunch($val) + { + $this->_propDict["edgeBlockPrelaunch"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockPrinting + * Configure Edge to allow or block printing. + * + * @return bool|null The edgeBlockPrinting + */ + public function getEdgeBlockPrinting() + { + if (array_key_exists("edgeBlockPrinting", $this->_propDict)) { + return $this->_propDict["edgeBlockPrinting"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockPrinting + * Configure Edge to allow or block printing. + * + * @param bool $val The edgeBlockPrinting + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockPrinting($val) + { + $this->_propDict["edgeBlockPrinting"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSavingHistory + * Configure Edge to allow browsing history to be saved or to never save browsing history. + * + * @return bool|null The edgeBlockSavingHistory + */ + public function getEdgeBlockSavingHistory() + { + if (array_key_exists("edgeBlockSavingHistory", $this->_propDict)) { + return $this->_propDict["edgeBlockSavingHistory"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSavingHistory + * Configure Edge to allow browsing history to be saved or to never save browsing history. + * + * @param bool $val The edgeBlockSavingHistory + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSavingHistory($val) + { + $this->_propDict["edgeBlockSavingHistory"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSearchEngineCustomization + * Indicates whether or not to block the user from adding new search engine or changing the default search engine. + * + * @return bool|null The edgeBlockSearchEngineCustomization + */ + public function getEdgeBlockSearchEngineCustomization() + { + if (array_key_exists("edgeBlockSearchEngineCustomization", $this->_propDict)) { + return $this->_propDict["edgeBlockSearchEngineCustomization"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSearchEngineCustomization + * Indicates whether or not to block the user from adding new search engine or changing the default search engine. + * + * @param bool $val The edgeBlockSearchEngineCustomization + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSearchEngineCustomization($val) + { + $this->_propDict["edgeBlockSearchEngineCustomization"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSearchSuggestions + * Indicates whether or not to block the user from using the search suggestions in the address bar. + * + * @return bool|null The edgeBlockSearchSuggestions + */ + public function getEdgeBlockSearchSuggestions() + { + if (array_key_exists("edgeBlockSearchSuggestions", $this->_propDict)) { + return $this->_propDict["edgeBlockSearchSuggestions"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSearchSuggestions + * Indicates whether or not to block the user from using the search suggestions in the address bar. + * + * @param bool $val The edgeBlockSearchSuggestions + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSearchSuggestions($val) + { + $this->_propDict["edgeBlockSearchSuggestions"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @return bool|null The edgeBlockSendingDoNotTrackHeader + */ + public function getEdgeBlockSendingDoNotTrackHeader() + { + if (array_key_exists("edgeBlockSendingDoNotTrackHeader", $this->_propDict)) { + return $this->_propDict["edgeBlockSendingDoNotTrackHeader"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @param bool $val The edgeBlockSendingDoNotTrackHeader + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSendingDoNotTrackHeader($val) + { + $this->_propDict["edgeBlockSendingDoNotTrackHeader"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSendingIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. Note: the name of this property is misleading; the property is obsolete, use EdgeSendIntranetTrafficToInternetExplorer instead. + * + * @return bool|null The edgeBlockSendingIntranetTrafficToInternetExplorer + */ + public function getEdgeBlockSendingIntranetTrafficToInternetExplorer() + { + if (array_key_exists("edgeBlockSendingIntranetTrafficToInternetExplorer", $this->_propDict)) { + return $this->_propDict["edgeBlockSendingIntranetTrafficToInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSendingIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. Note: the name of this property is misleading; the property is obsolete, use EdgeSendIntranetTrafficToInternetExplorer instead. + * + * @param bool $val The edgeBlockSendingIntranetTrafficToInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSendingIntranetTrafficToInternetExplorer($val) + { + $this->_propDict["edgeBlockSendingIntranetTrafficToInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSideloadingExtensions + * Indicates whether the user can sideload extensions. + * + * @return bool|null The edgeBlockSideloadingExtensions + */ + public function getEdgeBlockSideloadingExtensions() + { + if (array_key_exists("edgeBlockSideloadingExtensions", $this->_propDict)) { + return $this->_propDict["edgeBlockSideloadingExtensions"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSideloadingExtensions + * Indicates whether the user can sideload extensions. + * + * @param bool $val The edgeBlockSideloadingExtensions + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSideloadingExtensions($val) + { + $this->_propDict["edgeBlockSideloadingExtensions"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockTabPreloading + * Configure whether Edge preloads the new tab page at Windows startup. + * + * @return bool|null The edgeBlockTabPreloading + */ + public function getEdgeBlockTabPreloading() + { + if (array_key_exists("edgeBlockTabPreloading", $this->_propDict)) { + return $this->_propDict["edgeBlockTabPreloading"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockTabPreloading + * Configure whether Edge preloads the new tab page at Windows startup. + * + * @param bool $val The edgeBlockTabPreloading + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockTabPreloading($val) + { + $this->_propDict["edgeBlockTabPreloading"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockWebContentOnNewTabPage + * Configure to load a blank page in Edge instead of the default New tab page and prevent users from changing it. + * + * @return bool|null The edgeBlockWebContentOnNewTabPage + */ + public function getEdgeBlockWebContentOnNewTabPage() + { + if (array_key_exists("edgeBlockWebContentOnNewTabPage", $this->_propDict)) { + return $this->_propDict["edgeBlockWebContentOnNewTabPage"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockWebContentOnNewTabPage + * Configure to load a blank page in Edge instead of the default New tab page and prevent users from changing it. + * + * @param bool $val The edgeBlockWebContentOnNewTabPage + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockWebContentOnNewTabPage($val) + { + $this->_propDict["edgeBlockWebContentOnNewTabPage"] = boolval($val); + return $this; + } + + /** + * Gets the edgeClearBrowsingDataOnExit + * Clear browsing data on exiting Microsoft Edge. + * + * @return bool|null The edgeClearBrowsingDataOnExit + */ + public function getEdgeClearBrowsingDataOnExit() + { + if (array_key_exists("edgeClearBrowsingDataOnExit", $this->_propDict)) { + return $this->_propDict["edgeClearBrowsingDataOnExit"]; + } else { + return null; + } + } + + /** + * Sets the edgeClearBrowsingDataOnExit + * Clear browsing data on exiting Microsoft Edge. + * + * @param bool $val The edgeClearBrowsingDataOnExit + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeClearBrowsingDataOnExit($val) + { + $this->_propDict["edgeClearBrowsingDataOnExit"] = boolval($val); + return $this; + } + + /** + * Gets the edgeCookiePolicy + * Indicates which cookies to block in the Edge browser. Possible values are: userDefined, allow, blockThirdParty, blockAll. + * + * @return EdgeCookiePolicy|null The edgeCookiePolicy + */ + public function getEdgeCookiePolicy() + { + if (array_key_exists("edgeCookiePolicy", $this->_propDict)) { + if (is_a($this->_propDict["edgeCookiePolicy"], "\Beta\Microsoft\Graph\Model\EdgeCookiePolicy") || is_null($this->_propDict["edgeCookiePolicy"])) { + return $this->_propDict["edgeCookiePolicy"]; + } else { + $this->_propDict["edgeCookiePolicy"] = new EdgeCookiePolicy($this->_propDict["edgeCookiePolicy"]); + return $this->_propDict["edgeCookiePolicy"]; + } + } + return null; + } + + /** + * Sets the edgeCookiePolicy + * Indicates which cookies to block in the Edge browser. Possible values are: userDefined, allow, blockThirdParty, blockAll. + * + * @param EdgeCookiePolicy $val The edgeCookiePolicy + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeCookiePolicy($val) + { + $this->_propDict["edgeCookiePolicy"] = $val; + return $this; + } + + /** + * Gets the edgeDisableFirstRunPage + * Block the Microsoft web page that opens on the first use of Microsoft Edge. This policy allows enterprises, like those enrolled in zero emissions configurations, to block this page. + * + * @return bool|null The edgeDisableFirstRunPage + */ + public function getEdgeDisableFirstRunPage() + { + if (array_key_exists("edgeDisableFirstRunPage", $this->_propDict)) { + return $this->_propDict["edgeDisableFirstRunPage"]; + } else { + return null; + } + } + + /** + * Sets the edgeDisableFirstRunPage + * Block the Microsoft web page that opens on the first use of Microsoft Edge. This policy allows enterprises, like those enrolled in zero emissions configurations, to block this page. + * + * @param bool $val The edgeDisableFirstRunPage + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeDisableFirstRunPage($val) + { + $this->_propDict["edgeDisableFirstRunPage"] = boolval($val); + return $this; + } + + /** + * Gets the edgeEnterpriseModeSiteListLocation + * Indicates the enterprise mode site list location. Could be a local file, local network or http location. + * + * @return string|null The edgeEnterpriseModeSiteListLocation + */ + public function getEdgeEnterpriseModeSiteListLocation() + { + if (array_key_exists("edgeEnterpriseModeSiteListLocation", $this->_propDict)) { + return $this->_propDict["edgeEnterpriseModeSiteListLocation"]; + } else { + return null; + } + } + + /** + * Sets the edgeEnterpriseModeSiteListLocation + * Indicates the enterprise mode site list location. Could be a local file, local network or http location. + * + * @param string $val The edgeEnterpriseModeSiteListLocation + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeEnterpriseModeSiteListLocation($val) + { + $this->_propDict["edgeEnterpriseModeSiteListLocation"] = $val; + return $this; + } + + /** + * Gets the edgeFavoritesBarVisibility + * Get or set a value that specifies whether to set the favorites bar to always be visible or hidden on any page. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The edgeFavoritesBarVisibility + */ + public function getEdgeFavoritesBarVisibility() + { + if (array_key_exists("edgeFavoritesBarVisibility", $this->_propDict)) { + if (is_a($this->_propDict["edgeFavoritesBarVisibility"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["edgeFavoritesBarVisibility"])) { + return $this->_propDict["edgeFavoritesBarVisibility"]; + } else { + $this->_propDict["edgeFavoritesBarVisibility"] = new VisibilitySetting($this->_propDict["edgeFavoritesBarVisibility"]); + return $this->_propDict["edgeFavoritesBarVisibility"]; + } + } + return null; + } + + /** + * Sets the edgeFavoritesBarVisibility + * Get or set a value that specifies whether to set the favorites bar to always be visible or hidden on any page. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The edgeFavoritesBarVisibility + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeFavoritesBarVisibility($val) + { + $this->_propDict["edgeFavoritesBarVisibility"] = $val; + return $this; + } + + /** + * Gets the edgeFavoritesListLocation + * The location of the favorites list to provision. Could be a local file, local network or http location. + * + * @return string|null The edgeFavoritesListLocation + */ + public function getEdgeFavoritesListLocation() + { + if (array_key_exists("edgeFavoritesListLocation", $this->_propDict)) { + return $this->_propDict["edgeFavoritesListLocation"]; + } else { + return null; + } + } + + /** + * Sets the edgeFavoritesListLocation + * The location of the favorites list to provision. Could be a local file, local network or http location. + * + * @param string $val The edgeFavoritesListLocation + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeFavoritesListLocation($val) + { + $this->_propDict["edgeFavoritesListLocation"] = $val; + return $this; + } + + /** + * Gets the edgeFirstRunUrl + * The first run URL for when Edge browser is opened for the first time. + * + * @return string|null The edgeFirstRunUrl + */ + public function getEdgeFirstRunUrl() + { + if (array_key_exists("edgeFirstRunUrl", $this->_propDict)) { + return $this->_propDict["edgeFirstRunUrl"]; + } else { + return null; + } + } + + /** + * Sets the edgeFirstRunUrl + * The first run URL for when Edge browser is opened for the first time. + * + * @param string $val The edgeFirstRunUrl + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeFirstRunUrl($val) + { + $this->_propDict["edgeFirstRunUrl"] = $val; + return $this; + } + + /** + * Gets the edgeHomeButtonConfiguration + * Causes the Home button to either hide, load the default Start page, load a New tab page, or a custom URL + * + * @return EdgeHomeButtonConfiguration|null The edgeHomeButtonConfiguration + */ + public function getEdgeHomeButtonConfiguration() + { + if (array_key_exists("edgeHomeButtonConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["edgeHomeButtonConfiguration"], "\Beta\Microsoft\Graph\Model\EdgeHomeButtonConfiguration") || is_null($this->_propDict["edgeHomeButtonConfiguration"])) { + return $this->_propDict["edgeHomeButtonConfiguration"]; + } else { + $this->_propDict["edgeHomeButtonConfiguration"] = new EdgeHomeButtonConfiguration($this->_propDict["edgeHomeButtonConfiguration"]); + return $this->_propDict["edgeHomeButtonConfiguration"]; + } + } + return null; + } + + /** + * Sets the edgeHomeButtonConfiguration + * Causes the Home button to either hide, load the default Start page, load a New tab page, or a custom URL + * + * @param EdgeHomeButtonConfiguration $val The edgeHomeButtonConfiguration + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeHomeButtonConfiguration($val) + { + $this->_propDict["edgeHomeButtonConfiguration"] = $val; + return $this; + } + + /** + * Gets the edgeHomeButtonConfigurationEnabled + * Enable the Home button configuration. + * + * @return bool|null The edgeHomeButtonConfigurationEnabled + */ + public function getEdgeHomeButtonConfigurationEnabled() + { + if (array_key_exists("edgeHomeButtonConfigurationEnabled", $this->_propDict)) { + return $this->_propDict["edgeHomeButtonConfigurationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the edgeHomeButtonConfigurationEnabled + * Enable the Home button configuration. + * + * @param bool $val The edgeHomeButtonConfigurationEnabled + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeHomeButtonConfigurationEnabled($val) + { + $this->_propDict["edgeHomeButtonConfigurationEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the edgeHomepageUrls + * The list of URLs for homepages shodwn on MDM-enrolled devices on Edge browser. + * + * @return string|null The edgeHomepageUrls + */ + public function getEdgeHomepageUrls() + { + if (array_key_exists("edgeHomepageUrls", $this->_propDict)) { + return $this->_propDict["edgeHomepageUrls"]; + } else { + return null; + } + } + + /** + * Sets the edgeHomepageUrls + * The list of URLs for homepages shodwn on MDM-enrolled devices on Edge browser. + * + * @param string $val The edgeHomepageUrls + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeHomepageUrls($val) + { + $this->_propDict["edgeHomepageUrls"] = $val; + return $this; + } + + /** + * Gets the edgeKioskModeRestriction + * Controls how the Microsoft Edge settings are restricted based on the configure kiosk mode. Possible values are: notConfigured, digitalSignage, normalMode, publicBrowsingSingleApp, publicBrowsingMultiApp. + * + * @return EdgeKioskModeRestrictionType|null The edgeKioskModeRestriction + */ + public function getEdgeKioskModeRestriction() + { + if (array_key_exists("edgeKioskModeRestriction", $this->_propDict)) { + if (is_a($this->_propDict["edgeKioskModeRestriction"], "\Beta\Microsoft\Graph\Model\EdgeKioskModeRestrictionType") || is_null($this->_propDict["edgeKioskModeRestriction"])) { + return $this->_propDict["edgeKioskModeRestriction"]; + } else { + $this->_propDict["edgeKioskModeRestriction"] = new EdgeKioskModeRestrictionType($this->_propDict["edgeKioskModeRestriction"]); + return $this->_propDict["edgeKioskModeRestriction"]; + } + } + return null; + } + + /** + * Sets the edgeKioskModeRestriction + * Controls how the Microsoft Edge settings are restricted based on the configure kiosk mode. Possible values are: notConfigured, digitalSignage, normalMode, publicBrowsingSingleApp, publicBrowsingMultiApp. + * + * @param EdgeKioskModeRestrictionType $val The edgeKioskModeRestriction + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeKioskModeRestriction($val) + { + $this->_propDict["edgeKioskModeRestriction"] = $val; + return $this; + } + + /** + * Gets the edgeKioskResetAfterIdleTimeInMinutes + * Specifies the time in minutes from the last user activity before Microsoft Edge kiosk resets. Valid values are 0-1440. The default is 5. 0 indicates no reset. Valid values 0 to 1440 + * + * @return int|null The edgeKioskResetAfterIdleTimeInMinutes + */ + public function getEdgeKioskResetAfterIdleTimeInMinutes() + { + if (array_key_exists("edgeKioskResetAfterIdleTimeInMinutes", $this->_propDict)) { + return $this->_propDict["edgeKioskResetAfterIdleTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the edgeKioskResetAfterIdleTimeInMinutes + * Specifies the time in minutes from the last user activity before Microsoft Edge kiosk resets. Valid values are 0-1440. The default is 5. 0 indicates no reset. Valid values 0 to 1440 + * + * @param int $val The edgeKioskResetAfterIdleTimeInMinutes + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeKioskResetAfterIdleTimeInMinutes($val) + { + $this->_propDict["edgeKioskResetAfterIdleTimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the edgeNewTabPageURL + * Specify the page opened when new tabs are created. + * + * @return string|null The edgeNewTabPageURL + */ + public function getEdgeNewTabPageURL() + { + if (array_key_exists("edgeNewTabPageURL", $this->_propDict)) { + return $this->_propDict["edgeNewTabPageURL"]; + } else { + return null; + } + } + + /** + * Sets the edgeNewTabPageURL + * Specify the page opened when new tabs are created. + * + * @param string $val The edgeNewTabPageURL + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeNewTabPageURL($val) + { + $this->_propDict["edgeNewTabPageURL"] = $val; + return $this; + } + + /** + * Gets the edgeOpensWith + * Specify what kind of pages are open at start. Possible values are: notConfigured, startPage, newTabPage, previousPages, specificPages. + * + * @return EdgeOpenOptions|null The edgeOpensWith + */ + public function getEdgeOpensWith() + { + if (array_key_exists("edgeOpensWith", $this->_propDict)) { + if (is_a($this->_propDict["edgeOpensWith"], "\Beta\Microsoft\Graph\Model\EdgeOpenOptions") || is_null($this->_propDict["edgeOpensWith"])) { + return $this->_propDict["edgeOpensWith"]; + } else { + $this->_propDict["edgeOpensWith"] = new EdgeOpenOptions($this->_propDict["edgeOpensWith"]); + return $this->_propDict["edgeOpensWith"]; + } + } + return null; + } + + /** + * Sets the edgeOpensWith + * Specify what kind of pages are open at start. Possible values are: notConfigured, startPage, newTabPage, previousPages, specificPages. + * + * @param EdgeOpenOptions $val The edgeOpensWith + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeOpensWith($val) + { + $this->_propDict["edgeOpensWith"] = $val; + return $this; + } + + /** + * Gets the edgePreventCertificateErrorOverride + * Allow or prevent users from overriding certificate errors. + * + * @return bool|null The edgePreventCertificateErrorOverride + */ + public function getEdgePreventCertificateErrorOverride() + { + if (array_key_exists("edgePreventCertificateErrorOverride", $this->_propDict)) { + return $this->_propDict["edgePreventCertificateErrorOverride"]; + } else { + return null; + } + } + + /** + * Sets the edgePreventCertificateErrorOverride + * Allow or prevent users from overriding certificate errors. + * + * @param bool $val The edgePreventCertificateErrorOverride + * + * @return Windows10GeneralConfiguration + */ + public function setEdgePreventCertificateErrorOverride($val) + { + $this->_propDict["edgePreventCertificateErrorOverride"] = boolval($val); + return $this; + } + + /** + * Gets the edgeRequiredExtensionPackageFamilyNames + * Specify the list of package family names of browser extensions that are required and cannot be turned off by the user. + * + * @return string|null The edgeRequiredExtensionPackageFamilyNames + */ + public function getEdgeRequiredExtensionPackageFamilyNames() + { + if (array_key_exists("edgeRequiredExtensionPackageFamilyNames", $this->_propDict)) { + return $this->_propDict["edgeRequiredExtensionPackageFamilyNames"]; + } else { + return null; + } + } + + /** + * Sets the edgeRequiredExtensionPackageFamilyNames + * Specify the list of package family names of browser extensions that are required and cannot be turned off by the user. + * + * @param string $val The edgeRequiredExtensionPackageFamilyNames + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeRequiredExtensionPackageFamilyNames($val) + { + $this->_propDict["edgeRequiredExtensionPackageFamilyNames"] = $val; + return $this; + } + + /** + * Gets the edgeRequireSmartScreen + * Indicates whether or not to Require the user to use the smart screen filter. + * + * @return bool|null The edgeRequireSmartScreen + */ + public function getEdgeRequireSmartScreen() + { + if (array_key_exists("edgeRequireSmartScreen", $this->_propDict)) { + return $this->_propDict["edgeRequireSmartScreen"]; + } else { + return null; + } + } + + /** + * Sets the edgeRequireSmartScreen + * Indicates whether or not to Require the user to use the smart screen filter. + * + * @param bool $val The edgeRequireSmartScreen + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeRequireSmartScreen($val) + { + $this->_propDict["edgeRequireSmartScreen"] = boolval($val); + return $this; + } + + /** + * Gets the edgeSearchEngine + * Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. + * + * @return EdgeSearchEngineBase|null The edgeSearchEngine + */ + public function getEdgeSearchEngine() + { + if (array_key_exists("edgeSearchEngine", $this->_propDict)) { + if (is_a($this->_propDict["edgeSearchEngine"], "\Beta\Microsoft\Graph\Model\EdgeSearchEngineBase") || is_null($this->_propDict["edgeSearchEngine"])) { + return $this->_propDict["edgeSearchEngine"]; + } else { + $this->_propDict["edgeSearchEngine"] = new EdgeSearchEngineBase($this->_propDict["edgeSearchEngine"]); + return $this->_propDict["edgeSearchEngine"]; + } + } + return null; + } + + /** + * Sets the edgeSearchEngine + * Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. + * + * @param EdgeSearchEngineBase $val The edgeSearchEngine + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeSearchEngine($val) + { + $this->_propDict["edgeSearchEngine"] = $val; + return $this; + } + + /** + * Gets the edgeSendIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. + * + * @return bool|null The edgeSendIntranetTrafficToInternetExplorer + */ + public function getEdgeSendIntranetTrafficToInternetExplorer() + { + if (array_key_exists("edgeSendIntranetTrafficToInternetExplorer", $this->_propDict)) { + return $this->_propDict["edgeSendIntranetTrafficToInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the edgeSendIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. + * + * @param bool $val The edgeSendIntranetTrafficToInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeSendIntranetTrafficToInternetExplorer($val) + { + $this->_propDict["edgeSendIntranetTrafficToInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the edgeShowMessageWhenOpeningInternetExplorerSites + * Controls the message displayed by Edge before switching to Internet Explorer. Possible values are: notConfigured, disabled, enabled, keepGoing. + * + * @return InternetExplorerMessageSetting|null The edgeShowMessageWhenOpeningInternetExplorerSites + */ + public function getEdgeShowMessageWhenOpeningInternetExplorerSites() + { + if (array_key_exists("edgeShowMessageWhenOpeningInternetExplorerSites", $this->_propDict)) { + if (is_a($this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"], "\Beta\Microsoft\Graph\Model\InternetExplorerMessageSetting") || is_null($this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"])) { + return $this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"]; + } else { + $this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"] = new InternetExplorerMessageSetting($this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"]); + return $this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"]; + } + } + return null; + } + + /** + * Sets the edgeShowMessageWhenOpeningInternetExplorerSites + * Controls the message displayed by Edge before switching to Internet Explorer. Possible values are: notConfigured, disabled, enabled, keepGoing. + * + * @param InternetExplorerMessageSetting $val The edgeShowMessageWhenOpeningInternetExplorerSites + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeShowMessageWhenOpeningInternetExplorerSites($val) + { + $this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"] = $val; + return $this; + } + + /** + * Gets the edgeSyncFavoritesWithInternetExplorer + * Enable favorites sync between Internet Explorer and Microsoft Edge. Additions, deletions, modifications and order changes to favorites are shared between browsers. + * + * @return bool|null The edgeSyncFavoritesWithInternetExplorer + */ + public function getEdgeSyncFavoritesWithInternetExplorer() + { + if (array_key_exists("edgeSyncFavoritesWithInternetExplorer", $this->_propDict)) { + return $this->_propDict["edgeSyncFavoritesWithInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the edgeSyncFavoritesWithInternetExplorer + * Enable favorites sync between Internet Explorer and Microsoft Edge. Additions, deletions, modifications and order changes to favorites are shared between browsers. + * + * @param bool $val The edgeSyncFavoritesWithInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeSyncFavoritesWithInternetExplorer($val) + { + $this->_propDict["edgeSyncFavoritesWithInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the edgeTelemetryForMicrosoft365Analytics + * Specifies what type of telemetry data (none, intranet, internet, both) is sent to Microsoft 365 Analytics. Possible values are: notConfigured, intranet, internet, intranetAndInternet. + * + * @return EdgeTelemetryMode|null The edgeTelemetryForMicrosoft365Analytics + */ + public function getEdgeTelemetryForMicrosoft365Analytics() + { + if (array_key_exists("edgeTelemetryForMicrosoft365Analytics", $this->_propDict)) { + if (is_a($this->_propDict["edgeTelemetryForMicrosoft365Analytics"], "\Beta\Microsoft\Graph\Model\EdgeTelemetryMode") || is_null($this->_propDict["edgeTelemetryForMicrosoft365Analytics"])) { + return $this->_propDict["edgeTelemetryForMicrosoft365Analytics"]; + } else { + $this->_propDict["edgeTelemetryForMicrosoft365Analytics"] = new EdgeTelemetryMode($this->_propDict["edgeTelemetryForMicrosoft365Analytics"]); + return $this->_propDict["edgeTelemetryForMicrosoft365Analytics"]; + } + } + return null; + } + + /** + * Sets the edgeTelemetryForMicrosoft365Analytics + * Specifies what type of telemetry data (none, intranet, internet, both) is sent to Microsoft 365 Analytics. Possible values are: notConfigured, intranet, internet, intranetAndInternet. + * + * @param EdgeTelemetryMode $val The edgeTelemetryForMicrosoft365Analytics + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeTelemetryForMicrosoft365Analytics($val) + { + $this->_propDict["edgeTelemetryForMicrosoft365Analytics"] = $val; + return $this; + } + + /** + * Gets the enableAutomaticRedeployment + * Allow users with administrative rights to delete all user data and settings using CTRL + Win + R at the device lock screen so that the device can be automatically re-configured and re-enrolled into management. + * + * @return bool|null The enableAutomaticRedeployment + */ + public function getEnableAutomaticRedeployment() + { + if (array_key_exists("enableAutomaticRedeployment", $this->_propDict)) { + return $this->_propDict["enableAutomaticRedeployment"]; + } else { + return null; + } + } + + /** + * Sets the enableAutomaticRedeployment + * Allow users with administrative rights to delete all user data and settings using CTRL + Win + R at the device lock screen so that the device can be automatically re-configured and re-enrolled into management. + * + * @param bool $val The enableAutomaticRedeployment + * + * @return Windows10GeneralConfiguration + */ + public function setEnableAutomaticRedeployment($val) + { + $this->_propDict["enableAutomaticRedeployment"] = boolval($val); + return $this; + } + + /** + * Gets the energySaverOnBatteryThresholdPercentage + * This setting allows you to specify battery charge level at which Energy Saver is turned on. While on battery, Energy Saver is automatically turned on at (and below) the specified battery charge level. Valid input range (0-100). Valid values 0 to 100 + * + * @return int|null The energySaverOnBatteryThresholdPercentage + */ + public function getEnergySaverOnBatteryThresholdPercentage() + { + if (array_key_exists("energySaverOnBatteryThresholdPercentage", $this->_propDict)) { + return $this->_propDict["energySaverOnBatteryThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the energySaverOnBatteryThresholdPercentage + * This setting allows you to specify battery charge level at which Energy Saver is turned on. While on battery, Energy Saver is automatically turned on at (and below) the specified battery charge level. Valid input range (0-100). Valid values 0 to 100 + * + * @param int $val The energySaverOnBatteryThresholdPercentage + * + * @return Windows10GeneralConfiguration + */ + public function setEnergySaverOnBatteryThresholdPercentage($val) + { + $this->_propDict["energySaverOnBatteryThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the energySaverPluggedInThresholdPercentage + * This setting allows you to specify battery charge level at which Energy Saver is turned on. While plugged in, Energy Saver is automatically turned on at (and below) the specified battery charge level. Valid input range (0-100). Valid values 0 to 100 + * + * @return int|null The energySaverPluggedInThresholdPercentage + */ + public function getEnergySaverPluggedInThresholdPercentage() + { + if (array_key_exists("energySaverPluggedInThresholdPercentage", $this->_propDict)) { + return $this->_propDict["energySaverPluggedInThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the energySaverPluggedInThresholdPercentage + * This setting allows you to specify battery charge level at which Energy Saver is turned on. While plugged in, Energy Saver is automatically turned on at (and below) the specified battery charge level. Valid input range (0-100). Valid values 0 to 100 + * + * @param int $val The energySaverPluggedInThresholdPercentage + * + * @return Windows10GeneralConfiguration + */ + public function setEnergySaverPluggedInThresholdPercentage($val) + { + $this->_propDict["energySaverPluggedInThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the enterpriseCloudPrintDiscoveryEndPoint + * Endpoint for discovering cloud printers. + * + * @return string|null The enterpriseCloudPrintDiscoveryEndPoint + */ + public function getEnterpriseCloudPrintDiscoveryEndPoint() + { + if (array_key_exists("enterpriseCloudPrintDiscoveryEndPoint", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintDiscoveryEndPoint"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintDiscoveryEndPoint + * Endpoint for discovering cloud printers. + * + * @param string $val The enterpriseCloudPrintDiscoveryEndPoint + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintDiscoveryEndPoint($val) + { + $this->_propDict["enterpriseCloudPrintDiscoveryEndPoint"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintDiscoveryMaxLimit + * Maximum number of printers that should be queried from a discovery endpoint. This is a mobile only setting. Valid values 1 to 65535 + * + * @return int|null The enterpriseCloudPrintDiscoveryMaxLimit + */ + public function getEnterpriseCloudPrintDiscoveryMaxLimit() + { + if (array_key_exists("enterpriseCloudPrintDiscoveryMaxLimit", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintDiscoveryMaxLimit"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintDiscoveryMaxLimit + * Maximum number of printers that should be queried from a discovery endpoint. This is a mobile only setting. Valid values 1 to 65535 + * + * @param int $val The enterpriseCloudPrintDiscoveryMaxLimit + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintDiscoveryMaxLimit($val) + { + $this->_propDict["enterpriseCloudPrintDiscoveryMaxLimit"] = intval($val); + return $this; + } + + /** + * Gets the enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + * OAuth resource URI for printer discovery service as configured in Azure portal. + * + * @return string|null The enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + */ + public function getEnterpriseCloudPrintMopriaDiscoveryResourceIdentifier() + { + if (array_key_exists("enterpriseCloudPrintMopriaDiscoveryResourceIdentifier", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintMopriaDiscoveryResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + * OAuth resource URI for printer discovery service as configured in Azure portal. + * + * @param string $val The enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintMopriaDiscoveryResourceIdentifier($val) + { + $this->_propDict["enterpriseCloudPrintMopriaDiscoveryResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintOAuthAuthority + * Authentication endpoint for acquiring OAuth tokens. + * + * @return string|null The enterpriseCloudPrintOAuthAuthority + */ + public function getEnterpriseCloudPrintOAuthAuthority() + { + if (array_key_exists("enterpriseCloudPrintOAuthAuthority", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintOAuthAuthority"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintOAuthAuthority + * Authentication endpoint for acquiring OAuth tokens. + * + * @param string $val The enterpriseCloudPrintOAuthAuthority + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintOAuthAuthority($val) + { + $this->_propDict["enterpriseCloudPrintOAuthAuthority"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintOAuthClientIdentifier + * GUID of a client application authorized to retrieve OAuth tokens from the OAuth Authority. + * + * @return string|null The enterpriseCloudPrintOAuthClientIdentifier + */ + public function getEnterpriseCloudPrintOAuthClientIdentifier() + { + if (array_key_exists("enterpriseCloudPrintOAuthClientIdentifier", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintOAuthClientIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintOAuthClientIdentifier + * GUID of a client application authorized to retrieve OAuth tokens from the OAuth Authority. + * + * @param string $val The enterpriseCloudPrintOAuthClientIdentifier + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintOAuthClientIdentifier($val) + { + $this->_propDict["enterpriseCloudPrintOAuthClientIdentifier"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintResourceIdentifier + * OAuth resource URI for print service as configured in the Azure portal. + * + * @return string|null The enterpriseCloudPrintResourceIdentifier + */ + public function getEnterpriseCloudPrintResourceIdentifier() + { + if (array_key_exists("enterpriseCloudPrintResourceIdentifier", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintResourceIdentifier + * OAuth resource URI for print service as configured in the Azure portal. + * + * @param string $val The enterpriseCloudPrintResourceIdentifier + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintResourceIdentifier($val) + { + $this->_propDict["enterpriseCloudPrintResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the experienceBlockDeviceDiscovery + * Indicates whether or not to enable device discovery UX. + * + * @return bool|null The experienceBlockDeviceDiscovery + */ + public function getExperienceBlockDeviceDiscovery() + { + if (array_key_exists("experienceBlockDeviceDiscovery", $this->_propDict)) { + return $this->_propDict["experienceBlockDeviceDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the experienceBlockDeviceDiscovery + * Indicates whether or not to enable device discovery UX. + * + * @param bool $val The experienceBlockDeviceDiscovery + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceBlockDeviceDiscovery($val) + { + $this->_propDict["experienceBlockDeviceDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the experienceBlockErrorDialogWhenNoSIM + * Indicates whether or not to allow the error dialog from displaying if no SIM card is detected. + * + * @return bool|null The experienceBlockErrorDialogWhenNoSIM + */ + public function getExperienceBlockErrorDialogWhenNoSIM() + { + if (array_key_exists("experienceBlockErrorDialogWhenNoSIM", $this->_propDict)) { + return $this->_propDict["experienceBlockErrorDialogWhenNoSIM"]; + } else { + return null; + } + } + + /** + * Sets the experienceBlockErrorDialogWhenNoSIM + * Indicates whether or not to allow the error dialog from displaying if no SIM card is detected. + * + * @param bool $val The experienceBlockErrorDialogWhenNoSIM + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceBlockErrorDialogWhenNoSIM($val) + { + $this->_propDict["experienceBlockErrorDialogWhenNoSIM"] = boolval($val); + return $this; + } + + /** + * Gets the experienceBlockTaskSwitcher + * Indicates whether or not to enable task switching on the device. + * + * @return bool|null The experienceBlockTaskSwitcher + */ + public function getExperienceBlockTaskSwitcher() + { + if (array_key_exists("experienceBlockTaskSwitcher", $this->_propDict)) { + return $this->_propDict["experienceBlockTaskSwitcher"]; + } else { + return null; + } + } + + /** + * Sets the experienceBlockTaskSwitcher + * Indicates whether or not to enable task switching on the device. + * + * @param bool $val The experienceBlockTaskSwitcher + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceBlockTaskSwitcher($val) + { + $this->_propDict["experienceBlockTaskSwitcher"] = boolval($val); + return $this; + } + + /** + * Gets the experienceDoNotSyncBrowserSettings + * Allow or prevent the syncing of Microsoft Edge Browser settings. Option for IT admins to prevent syncing across devices, but allow user override. Possible values are: notConfigured, blockedWithUserOverride, blocked. + * + * @return BrowserSyncSetting|null The experienceDoNotSyncBrowserSettings + */ + public function getExperienceDoNotSyncBrowserSettings() + { + if (array_key_exists("experienceDoNotSyncBrowserSettings", $this->_propDict)) { + if (is_a($this->_propDict["experienceDoNotSyncBrowserSettings"], "\Beta\Microsoft\Graph\Model\BrowserSyncSetting") || is_null($this->_propDict["experienceDoNotSyncBrowserSettings"])) { + return $this->_propDict["experienceDoNotSyncBrowserSettings"]; + } else { + $this->_propDict["experienceDoNotSyncBrowserSettings"] = new BrowserSyncSetting($this->_propDict["experienceDoNotSyncBrowserSettings"]); + return $this->_propDict["experienceDoNotSyncBrowserSettings"]; + } + } + return null; + } + + /** + * Sets the experienceDoNotSyncBrowserSettings + * Allow or prevent the syncing of Microsoft Edge Browser settings. Option for IT admins to prevent syncing across devices, but allow user override. Possible values are: notConfigured, blockedWithUserOverride, blocked. + * + * @param BrowserSyncSetting $val The experienceDoNotSyncBrowserSettings + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceDoNotSyncBrowserSettings($val) + { + $this->_propDict["experienceDoNotSyncBrowserSettings"] = $val; + return $this; + } + + /** + * Gets the findMyFiles + * Controls if the user can configure search to Find My Files mode, which searches files in secondary hard drives and also outside of the user profile. Find My Files does not allow users to search files or locations to which they do not have access. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The findMyFiles + */ + public function getFindMyFiles() + { + if (array_key_exists("findMyFiles", $this->_propDict)) { + if (is_a($this->_propDict["findMyFiles"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["findMyFiles"])) { + return $this->_propDict["findMyFiles"]; + } else { + $this->_propDict["findMyFiles"] = new Enablement($this->_propDict["findMyFiles"]); + return $this->_propDict["findMyFiles"]; + } + } + return null; + } + + /** + * Sets the findMyFiles + * Controls if the user can configure search to Find My Files mode, which searches files in secondary hard drives and also outside of the user profile. Find My Files does not allow users to search files or locations to which they do not have access. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The findMyFiles + * + * @return Windows10GeneralConfiguration + */ + public function setFindMyFiles($val) + { + $this->_propDict["findMyFiles"] = $val; + return $this; + } + + /** + * Gets the gameDvrBlocked + * Indicates whether or not to block DVR and broadcasting. + * + * @return bool|null The gameDvrBlocked + */ + public function getGameDvrBlocked() + { + if (array_key_exists("gameDvrBlocked", $this->_propDict)) { + return $this->_propDict["gameDvrBlocked"]; + } else { + return null; + } + } + + /** + * Sets the gameDvrBlocked + * Indicates whether or not to block DVR and broadcasting. + * + * @param bool $val The gameDvrBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setGameDvrBlocked($val) + { + $this->_propDict["gameDvrBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the inkWorkspaceAccess + * Controls the user access to the ink workspace, from the desktop and from above the lock screen. Possible values are: notConfigured, enabled, disabled. + * + * @return InkAccessSetting|null The inkWorkspaceAccess + */ + public function getInkWorkspaceAccess() + { + if (array_key_exists("inkWorkspaceAccess", $this->_propDict)) { + if (is_a($this->_propDict["inkWorkspaceAccess"], "\Beta\Microsoft\Graph\Model\InkAccessSetting") || is_null($this->_propDict["inkWorkspaceAccess"])) { + return $this->_propDict["inkWorkspaceAccess"]; + } else { + $this->_propDict["inkWorkspaceAccess"] = new InkAccessSetting($this->_propDict["inkWorkspaceAccess"]); + return $this->_propDict["inkWorkspaceAccess"]; + } + } + return null; + } + + /** + * Sets the inkWorkspaceAccess + * Controls the user access to the ink workspace, from the desktop and from above the lock screen. Possible values are: notConfigured, enabled, disabled. + * + * @param InkAccessSetting $val The inkWorkspaceAccess + * + * @return Windows10GeneralConfiguration + */ + public function setInkWorkspaceAccess($val) + { + $this->_propDict["inkWorkspaceAccess"] = $val; + return $this; + } + + /** + * Gets the inkWorkspaceAccessState + * Controls the user access to the ink workspace, from the desktop and from above the lock screen. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The inkWorkspaceAccessState + */ + public function getInkWorkspaceAccessState() + { + if (array_key_exists("inkWorkspaceAccessState", $this->_propDict)) { + if (is_a($this->_propDict["inkWorkspaceAccessState"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["inkWorkspaceAccessState"])) { + return $this->_propDict["inkWorkspaceAccessState"]; + } else { + $this->_propDict["inkWorkspaceAccessState"] = new StateManagementSetting($this->_propDict["inkWorkspaceAccessState"]); + return $this->_propDict["inkWorkspaceAccessState"]; + } + } + return null; + } + + /** + * Sets the inkWorkspaceAccessState + * Controls the user access to the ink workspace, from the desktop and from above the lock screen. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The inkWorkspaceAccessState + * + * @return Windows10GeneralConfiguration + */ + public function setInkWorkspaceAccessState($val) + { + $this->_propDict["inkWorkspaceAccessState"] = $val; + return $this; + } + + /** + * Gets the inkWorkspaceBlockSuggestedApps + * Specify whether to show recommended app suggestions in the ink workspace. + * + * @return bool|null The inkWorkspaceBlockSuggestedApps + */ + public function getInkWorkspaceBlockSuggestedApps() + { + if (array_key_exists("inkWorkspaceBlockSuggestedApps", $this->_propDict)) { + return $this->_propDict["inkWorkspaceBlockSuggestedApps"]; + } else { + return null; + } + } + + /** + * Sets the inkWorkspaceBlockSuggestedApps + * Specify whether to show recommended app suggestions in the ink workspace. + * + * @param bool $val The inkWorkspaceBlockSuggestedApps + * + * @return Windows10GeneralConfiguration + */ + public function setInkWorkspaceBlockSuggestedApps($val) + { + $this->_propDict["inkWorkspaceBlockSuggestedApps"] = boolval($val); + return $this; + } + + /** + * Gets the internetSharingBlocked + * Indicates whether or not to Block the user from using internet sharing. + * + * @return bool|null The internetSharingBlocked + */ + public function getInternetSharingBlocked() + { + if (array_key_exists("internetSharingBlocked", $this->_propDict)) { + return $this->_propDict["internetSharingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the internetSharingBlocked + * Indicates whether or not to Block the user from using internet sharing. + * + * @param bool $val The internetSharingBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setInternetSharingBlocked($val) + { + $this->_propDict["internetSharingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the locationServicesBlocked + * Indicates whether or not to Block the user from location services. + * + * @return bool|null The locationServicesBlocked + */ + public function getLocationServicesBlocked() + { + if (array_key_exists("locationServicesBlocked", $this->_propDict)) { + return $this->_propDict["locationServicesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the locationServicesBlocked + * Indicates whether or not to Block the user from location services. + * + * @param bool $val The locationServicesBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setLocationServicesBlocked($val) + { + $this->_propDict["locationServicesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenActivateAppsWithVoice + * This policy setting specifies whether Windows apps can be activated by voice while the system is locked. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The lockScreenActivateAppsWithVoice + */ + public function getLockScreenActivateAppsWithVoice() + { + if (array_key_exists("lockScreenActivateAppsWithVoice", $this->_propDict)) { + if (is_a($this->_propDict["lockScreenActivateAppsWithVoice"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["lockScreenActivateAppsWithVoice"])) { + return $this->_propDict["lockScreenActivateAppsWithVoice"]; + } else { + $this->_propDict["lockScreenActivateAppsWithVoice"] = new Enablement($this->_propDict["lockScreenActivateAppsWithVoice"]); + return $this->_propDict["lockScreenActivateAppsWithVoice"]; + } + } + return null; + } + + /** + * Sets the lockScreenActivateAppsWithVoice + * This policy setting specifies whether Windows apps can be activated by voice while the system is locked. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The lockScreenActivateAppsWithVoice + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenActivateAppsWithVoice($val) + { + $this->_propDict["lockScreenActivateAppsWithVoice"] = $val; + return $this; + } + + /** + * Gets the lockScreenAllowTimeoutConfiguration + * Specify whether to show a user-configurable setting to control the screen timeout while on the lock screen of Windows 10 Mobile devices. If this policy is set to Allow, the value set by lockScreenTimeoutInSeconds is ignored. + * + * @return bool|null The lockScreenAllowTimeoutConfiguration + */ + public function getLockScreenAllowTimeoutConfiguration() + { + if (array_key_exists("lockScreenAllowTimeoutConfiguration", $this->_propDict)) { + return $this->_propDict["lockScreenAllowTimeoutConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenAllowTimeoutConfiguration + * Specify whether to show a user-configurable setting to control the screen timeout while on the lock screen of Windows 10 Mobile devices. If this policy is set to Allow, the value set by lockScreenTimeoutInSeconds is ignored. + * + * @param bool $val The lockScreenAllowTimeoutConfiguration + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenAllowTimeoutConfiguration($val) + { + $this->_propDict["lockScreenAllowTimeoutConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockActionCenterNotifications + * Indicates whether or not to block action center notifications over lock screen. + * + * @return bool|null The lockScreenBlockActionCenterNotifications + */ + public function getLockScreenBlockActionCenterNotifications() + { + if (array_key_exists("lockScreenBlockActionCenterNotifications", $this->_propDict)) { + return $this->_propDict["lockScreenBlockActionCenterNotifications"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockActionCenterNotifications + * Indicates whether or not to block action center notifications over lock screen. + * + * @param bool $val The lockScreenBlockActionCenterNotifications + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenBlockActionCenterNotifications($val) + { + $this->_propDict["lockScreenBlockActionCenterNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockCortana + * Indicates whether or not the user can interact with Cortana using speech while the system is locked. + * + * @return bool|null The lockScreenBlockCortana + */ + public function getLockScreenBlockCortana() + { + if (array_key_exists("lockScreenBlockCortana", $this->_propDict)) { + return $this->_propDict["lockScreenBlockCortana"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockCortana + * Indicates whether or not the user can interact with Cortana using speech while the system is locked. + * + * @param bool $val The lockScreenBlockCortana + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenBlockCortana($val) + { + $this->_propDict["lockScreenBlockCortana"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockToastNotifications + * Indicates whether to allow toast notifications above the device lock screen. + * + * @return bool|null The lockScreenBlockToastNotifications + */ + public function getLockScreenBlockToastNotifications() + { + if (array_key_exists("lockScreenBlockToastNotifications", $this->_propDict)) { + return $this->_propDict["lockScreenBlockToastNotifications"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockToastNotifications + * Indicates whether to allow toast notifications above the device lock screen. + * + * @param bool $val The lockScreenBlockToastNotifications + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenBlockToastNotifications($val) + { + $this->_propDict["lockScreenBlockToastNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenTimeoutInSeconds + * Set the duration (in seconds) from the screen locking to the screen turning off for Windows 10 Mobile devices. Supported values are 11-1800. Valid values 11 to 1800 + * + * @return int|null The lockScreenTimeoutInSeconds + */ + public function getLockScreenTimeoutInSeconds() + { + if (array_key_exists("lockScreenTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["lockScreenTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenTimeoutInSeconds + * Set the duration (in seconds) from the screen locking to the screen turning off for Windows 10 Mobile devices. Supported values are 11-1800. Valid values 11 to 1800 + * + * @param int $val The lockScreenTimeoutInSeconds + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenTimeoutInSeconds($val) + { + $this->_propDict["lockScreenTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the logonBlockFastUserSwitching + * Disables the ability to quickly switch between users that are logged on simultaneously without logging off. + * + * @return bool|null The logonBlockFastUserSwitching + */ + public function getLogonBlockFastUserSwitching() + { + if (array_key_exists("logonBlockFastUserSwitching", $this->_propDict)) { + return $this->_propDict["logonBlockFastUserSwitching"]; + } else { + return null; + } + } + + /** + * Sets the logonBlockFastUserSwitching + * Disables the ability to quickly switch between users that are logged on simultaneously without logging off. + * + * @param bool $val The logonBlockFastUserSwitching + * + * @return Windows10GeneralConfiguration + */ + public function setLogonBlockFastUserSwitching($val) + { + $this->_propDict["logonBlockFastUserSwitching"] = boolval($val); + return $this; + } + + /** + * Gets the messagingBlockMMS + * Indicates whether or not to block the MMS send/receive functionality on the device. + * + * @return bool|null The messagingBlockMMS + */ + public function getMessagingBlockMMS() + { + if (array_key_exists("messagingBlockMMS", $this->_propDict)) { + return $this->_propDict["messagingBlockMMS"]; + } else { + return null; + } + } + + /** + * Sets the messagingBlockMMS + * Indicates whether or not to block the MMS send/receive functionality on the device. + * + * @param bool $val The messagingBlockMMS + * + * @return Windows10GeneralConfiguration + */ + public function setMessagingBlockMMS($val) + { + $this->_propDict["messagingBlockMMS"] = boolval($val); + return $this; + } + + /** + * Gets the messagingBlockRichCommunicationServices + * Indicates whether or not to block the RCS send/receive functionality on the device. + * + * @return bool|null The messagingBlockRichCommunicationServices + */ + public function getMessagingBlockRichCommunicationServices() + { + if (array_key_exists("messagingBlockRichCommunicationServices", $this->_propDict)) { + return $this->_propDict["messagingBlockRichCommunicationServices"]; + } else { + return null; + } + } + + /** + * Sets the messagingBlockRichCommunicationServices + * Indicates whether or not to block the RCS send/receive functionality on the device. + * + * @param bool $val The messagingBlockRichCommunicationServices + * + * @return Windows10GeneralConfiguration + */ + public function setMessagingBlockRichCommunicationServices($val) + { + $this->_propDict["messagingBlockRichCommunicationServices"] = boolval($val); + return $this; + } + + /** + * Gets the messagingBlockSync + * Indicates whether or not to block text message back up and restore and Messaging Everywhere. + * + * @return bool|null The messagingBlockSync + */ + public function getMessagingBlockSync() + { + if (array_key_exists("messagingBlockSync", $this->_propDict)) { + return $this->_propDict["messagingBlockSync"]; + } else { + return null; + } + } + + /** + * Sets the messagingBlockSync + * Indicates whether or not to block text message back up and restore and Messaging Everywhere. + * + * @param bool $val The messagingBlockSync + * + * @return Windows10GeneralConfiguration + */ + public function setMessagingBlockSync($val) + { + $this->_propDict["messagingBlockSync"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountBlocked + * Indicates whether or not to Block a Microsoft account. + * + * @return bool|null The microsoftAccountBlocked + */ + public function getMicrosoftAccountBlocked() + { + if (array_key_exists("microsoftAccountBlocked", $this->_propDict)) { + return $this->_propDict["microsoftAccountBlocked"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAccountBlocked + * Indicates whether or not to Block a Microsoft account. + * + * @param bool $val The microsoftAccountBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setMicrosoftAccountBlocked($val) + { + $this->_propDict["microsoftAccountBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountBlockSettingsSync + * Indicates whether or not to Block Microsoft account settings sync. + * + * @return bool|null The microsoftAccountBlockSettingsSync + */ + public function getMicrosoftAccountBlockSettingsSync() + { + if (array_key_exists("microsoftAccountBlockSettingsSync", $this->_propDict)) { + return $this->_propDict["microsoftAccountBlockSettingsSync"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAccountBlockSettingsSync + * Indicates whether or not to Block Microsoft account settings sync. + * + * @param bool $val The microsoftAccountBlockSettingsSync + * + * @return Windows10GeneralConfiguration + */ + public function setMicrosoftAccountBlockSettingsSync($val) + { + $this->_propDict["microsoftAccountBlockSettingsSync"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountSignInAssistantSettings + * Controls the Microsoft Account Sign-In Assistant (wlidsvc) NT service. Possible values are: notConfigured, disabled. + * + * @return SignInAssistantOptions|null The microsoftAccountSignInAssistantSettings + */ + public function getMicrosoftAccountSignInAssistantSettings() + { + if (array_key_exists("microsoftAccountSignInAssistantSettings", $this->_propDict)) { + if (is_a($this->_propDict["microsoftAccountSignInAssistantSettings"], "\Beta\Microsoft\Graph\Model\SignInAssistantOptions") || is_null($this->_propDict["microsoftAccountSignInAssistantSettings"])) { + return $this->_propDict["microsoftAccountSignInAssistantSettings"]; + } else { + $this->_propDict["microsoftAccountSignInAssistantSettings"] = new SignInAssistantOptions($this->_propDict["microsoftAccountSignInAssistantSettings"]); + return $this->_propDict["microsoftAccountSignInAssistantSettings"]; + } + } + return null; + } + + /** + * Sets the microsoftAccountSignInAssistantSettings + * Controls the Microsoft Account Sign-In Assistant (wlidsvc) NT service. Possible values are: notConfigured, disabled. + * + * @param SignInAssistantOptions $val The microsoftAccountSignInAssistantSettings + * + * @return Windows10GeneralConfiguration + */ + public function setMicrosoftAccountSignInAssistantSettings($val) + { + $this->_propDict["microsoftAccountSignInAssistantSettings"] = $val; + return $this; + } + + /** + * Gets the networkProxyApplySettingsDeviceWide + * If set, proxy settings will be applied to all processes and accounts in the device. Otherwise, it will be applied to the user account that’s enrolled into MDM. + * + * @return bool|null The networkProxyApplySettingsDeviceWide + */ + public function getNetworkProxyApplySettingsDeviceWide() + { + if (array_key_exists("networkProxyApplySettingsDeviceWide", $this->_propDict)) { + return $this->_propDict["networkProxyApplySettingsDeviceWide"]; + } else { + return null; + } + } + + /** + * Sets the networkProxyApplySettingsDeviceWide + * If set, proxy settings will be applied to all processes and accounts in the device. Otherwise, it will be applied to the user account that’s enrolled into MDM. + * + * @param bool $val The networkProxyApplySettingsDeviceWide + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyApplySettingsDeviceWide($val) + { + $this->_propDict["networkProxyApplySettingsDeviceWide"] = boolval($val); + return $this; + } + + /** + * Gets the networkProxyAutomaticConfigurationUrl + * Address to the proxy auto-config (PAC) script you want to use. + * + * @return string|null The networkProxyAutomaticConfigurationUrl + */ + public function getNetworkProxyAutomaticConfigurationUrl() + { + if (array_key_exists("networkProxyAutomaticConfigurationUrl", $this->_propDict)) { + return $this->_propDict["networkProxyAutomaticConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the networkProxyAutomaticConfigurationUrl + * Address to the proxy auto-config (PAC) script you want to use. + * + * @param string $val The networkProxyAutomaticConfigurationUrl + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyAutomaticConfigurationUrl($val) + { + $this->_propDict["networkProxyAutomaticConfigurationUrl"] = $val; + return $this; + } + + /** + * Gets the networkProxyDisableAutoDetect + * Disable automatic detection of settings. If enabled, the system will try to find the path to a proxy auto-config (PAC) script. + * + * @return bool|null The networkProxyDisableAutoDetect + */ + public function getNetworkProxyDisableAutoDetect() + { + if (array_key_exists("networkProxyDisableAutoDetect", $this->_propDict)) { + return $this->_propDict["networkProxyDisableAutoDetect"]; + } else { + return null; + } + } + + /** + * Sets the networkProxyDisableAutoDetect + * Disable automatic detection of settings. If enabled, the system will try to find the path to a proxy auto-config (PAC) script. + * + * @param bool $val The networkProxyDisableAutoDetect + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyDisableAutoDetect($val) + { + $this->_propDict["networkProxyDisableAutoDetect"] = boolval($val); + return $this; + } + + /** + * Gets the networkProxyServer + * Specifies manual proxy server settings. + * + * @return Windows10NetworkProxyServer|null The networkProxyServer + */ + public function getNetworkProxyServer() + { + if (array_key_exists("networkProxyServer", $this->_propDict)) { + if (is_a($this->_propDict["networkProxyServer"], "\Beta\Microsoft\Graph\Model\Windows10NetworkProxyServer") || is_null($this->_propDict["networkProxyServer"])) { + return $this->_propDict["networkProxyServer"]; + } else { + $this->_propDict["networkProxyServer"] = new Windows10NetworkProxyServer($this->_propDict["networkProxyServer"]); + return $this->_propDict["networkProxyServer"]; + } + } + return null; + } + + /** + * Sets the networkProxyServer + * Specifies manual proxy server settings. + * + * @param Windows10NetworkProxyServer $val The networkProxyServer + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyServer($val) + { + $this->_propDict["networkProxyServer"] = $val; + return $this; + } + + /** + * Gets the nfcBlocked + * Indicates whether or not to Block the user from using near field communication. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Indicates whether or not to Block the user from using near field communication. + * + * @param bool $val The nfcBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the oneDriveDisableFileSync + * Gets or sets a value allowing IT admins to prevent apps and features from working with files on OneDrive. + * + * @return bool|null The oneDriveDisableFileSync + */ + public function getOneDriveDisableFileSync() + { + if (array_key_exists("oneDriveDisableFileSync", $this->_propDict)) { + return $this->_propDict["oneDriveDisableFileSync"]; + } else { + return null; + } + } + + /** + * Sets the oneDriveDisableFileSync + * Gets or sets a value allowing IT admins to prevent apps and features from working with files on OneDrive. + * + * @param bool $val The oneDriveDisableFileSync + * + * @return Windows10GeneralConfiguration + */ + public function setOneDriveDisableFileSync($val) + { + $this->_propDict["oneDriveDisableFileSync"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockSimple + * Specify whether PINs or passwords such as '1111' or '1234' are allowed. For Windows 10 desktops, it also controls the use of picture passwords. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Specify whether PINs or passwords such as '1111' or '1234' are allowed. For Windows 10 desktops, it also controls the use of picture passwords. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * The password expiration in days. Valid values 0 to 730 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * The password expiration in days. Valid values 0 to 730 + * + * @param int $val The passwordExpirationDays + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumAgeInDays + * This security setting determines the period of time (in days) that a password must be used before the user can change it. Valid values 0 to 998 + * + * @return int|null The passwordMinimumAgeInDays + */ + public function getPasswordMinimumAgeInDays() + { + if (array_key_exists("passwordMinimumAgeInDays", $this->_propDict)) { + return $this->_propDict["passwordMinimumAgeInDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumAgeInDays + * This security setting determines the period of time (in days) that a password must be used before the user can change it. Valid values 0 to 998 + * + * @param int $val The passwordMinimumAgeInDays + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinimumAgeInDays($val) + { + $this->_propDict["passwordMinimumAgeInDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent reuse of. Valid values 0 to 50 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent reuse of. Valid values 0 to 50 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Indicates whether or not to require the user to have a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Indicates whether or not to require the user to have a password. + * + * @param bool $val The passwordRequired + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordRequireWhenResumeFromIdleState + * Indicates whether or not to require a password upon resuming from an idle state. + * + * @return bool|null The passwordRequireWhenResumeFromIdleState + */ + public function getPasswordRequireWhenResumeFromIdleState() + { + if (array_key_exists("passwordRequireWhenResumeFromIdleState", $this->_propDict)) { + return $this->_propDict["passwordRequireWhenResumeFromIdleState"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireWhenResumeFromIdleState + * Indicates whether or not to require a password upon resuming from an idle state. + * + * @param bool $val The passwordRequireWhenResumeFromIdleState + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordRequireWhenResumeFromIdleState($val) + { + $this->_propDict["passwordRequireWhenResumeFromIdleState"] = boolval($val); + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. Valid values 0 to 999 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. Valid values 0 to 999 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the personalizationDesktopImageUrl + * A http or https Url to a jpg, jpeg or png image that needs to be downloaded and used as the Desktop Image or a file Url to a local image on the file system that needs to used as the Desktop Image. + * + * @return string|null The personalizationDesktopImageUrl + */ + public function getPersonalizationDesktopImageUrl() + { + if (array_key_exists("personalizationDesktopImageUrl", $this->_propDict)) { + return $this->_propDict["personalizationDesktopImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the personalizationDesktopImageUrl + * A http or https Url to a jpg, jpeg or png image that needs to be downloaded and used as the Desktop Image or a file Url to a local image on the file system that needs to used as the Desktop Image. + * + * @param string $val The personalizationDesktopImageUrl + * + * @return Windows10GeneralConfiguration + */ + public function setPersonalizationDesktopImageUrl($val) + { + $this->_propDict["personalizationDesktopImageUrl"] = $val; + return $this; + } + + /** + * Gets the personalizationLockScreenImageUrl + * A http or https Url to a jpg, jpeg or png image that neeeds to be downloaded and used as the Lock Screen Image or a file Url to a local image on the file system that needs to be used as the Lock Screen Image. + * + * @return string|null The personalizationLockScreenImageUrl + */ + public function getPersonalizationLockScreenImageUrl() + { + if (array_key_exists("personalizationLockScreenImageUrl", $this->_propDict)) { + return $this->_propDict["personalizationLockScreenImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the personalizationLockScreenImageUrl + * A http or https Url to a jpg, jpeg or png image that neeeds to be downloaded and used as the Lock Screen Image or a file Url to a local image on the file system that needs to be used as the Lock Screen Image. + * + * @param string $val The personalizationLockScreenImageUrl + * + * @return Windows10GeneralConfiguration + */ + public function setPersonalizationLockScreenImageUrl($val) + { + $this->_propDict["personalizationLockScreenImageUrl"] = $val; + return $this; + } + + /** + * Gets the powerButtonActionOnBattery + * This setting specifies the action that Windows takes when a user presses the Power button while on battery. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @return PowerActionType|null The powerButtonActionOnBattery + */ + public function getPowerButtonActionOnBattery() + { + if (array_key_exists("powerButtonActionOnBattery", $this->_propDict)) { + if (is_a($this->_propDict["powerButtonActionOnBattery"], "\Beta\Microsoft\Graph\Model\PowerActionType") || is_null($this->_propDict["powerButtonActionOnBattery"])) { + return $this->_propDict["powerButtonActionOnBattery"]; + } else { + $this->_propDict["powerButtonActionOnBattery"] = new PowerActionType($this->_propDict["powerButtonActionOnBattery"]); + return $this->_propDict["powerButtonActionOnBattery"]; + } + } + return null; + } + + /** + * Sets the powerButtonActionOnBattery + * This setting specifies the action that Windows takes when a user presses the Power button while on battery. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @param PowerActionType $val The powerButtonActionOnBattery + * + * @return Windows10GeneralConfiguration + */ + public function setPowerButtonActionOnBattery($val) + { + $this->_propDict["powerButtonActionOnBattery"] = $val; + return $this; + } + + /** + * Gets the powerButtonActionPluggedIn + * This setting specifies the action that Windows takes when a user presses the Power button while plugged in. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @return PowerActionType|null The powerButtonActionPluggedIn + */ + public function getPowerButtonActionPluggedIn() + { + if (array_key_exists("powerButtonActionPluggedIn", $this->_propDict)) { + if (is_a($this->_propDict["powerButtonActionPluggedIn"], "\Beta\Microsoft\Graph\Model\PowerActionType") || is_null($this->_propDict["powerButtonActionPluggedIn"])) { + return $this->_propDict["powerButtonActionPluggedIn"]; + } else { + $this->_propDict["powerButtonActionPluggedIn"] = new PowerActionType($this->_propDict["powerButtonActionPluggedIn"]); + return $this->_propDict["powerButtonActionPluggedIn"]; + } + } + return null; + } + + /** + * Sets the powerButtonActionPluggedIn + * This setting specifies the action that Windows takes when a user presses the Power button while plugged in. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @param PowerActionType $val The powerButtonActionPluggedIn + * + * @return Windows10GeneralConfiguration + */ + public function setPowerButtonActionPluggedIn($val) + { + $this->_propDict["powerButtonActionPluggedIn"] = $val; + return $this; + } + + /** + * Gets the powerHybridSleepOnBattery + * This setting allows you to turn off hybrid sleep while on battery. If you set this setting to disable, a hiberfile is not generated when the system transitions to sleep (Stand By). If you set this setting to enable or do not configure this policy setting, users control this setting. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The powerHybridSleepOnBattery + */ + public function getPowerHybridSleepOnBattery() + { + if (array_key_exists("powerHybridSleepOnBattery", $this->_propDict)) { + if (is_a($this->_propDict["powerHybridSleepOnBattery"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["powerHybridSleepOnBattery"])) { + return $this->_propDict["powerHybridSleepOnBattery"]; + } else { + $this->_propDict["powerHybridSleepOnBattery"] = new Enablement($this->_propDict["powerHybridSleepOnBattery"]); + return $this->_propDict["powerHybridSleepOnBattery"]; + } + } + return null; + } + + /** + * Sets the powerHybridSleepOnBattery + * This setting allows you to turn off hybrid sleep while on battery. If you set this setting to disable, a hiberfile is not generated when the system transitions to sleep (Stand By). If you set this setting to enable or do not configure this policy setting, users control this setting. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The powerHybridSleepOnBattery + * + * @return Windows10GeneralConfiguration + */ + public function setPowerHybridSleepOnBattery($val) + { + $this->_propDict["powerHybridSleepOnBattery"] = $val; + return $this; + } + + /** + * Gets the powerHybridSleepPluggedIn + * This setting allows you to turn off hybrid sleep while plugged in. If you set this setting to disable, a hiberfile is not generated when the system transitions to sleep (Stand By). If you set this setting to enable or do not configure this policy setting, users control this setting. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The powerHybridSleepPluggedIn + */ + public function getPowerHybridSleepPluggedIn() + { + if (array_key_exists("powerHybridSleepPluggedIn", $this->_propDict)) { + if (is_a($this->_propDict["powerHybridSleepPluggedIn"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["powerHybridSleepPluggedIn"])) { + return $this->_propDict["powerHybridSleepPluggedIn"]; + } else { + $this->_propDict["powerHybridSleepPluggedIn"] = new Enablement($this->_propDict["powerHybridSleepPluggedIn"]); + return $this->_propDict["powerHybridSleepPluggedIn"]; + } + } + return null; + } + + /** + * Sets the powerHybridSleepPluggedIn + * This setting allows you to turn off hybrid sleep while plugged in. If you set this setting to disable, a hiberfile is not generated when the system transitions to sleep (Stand By). If you set this setting to enable or do not configure this policy setting, users control this setting. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The powerHybridSleepPluggedIn + * + * @return Windows10GeneralConfiguration + */ + public function setPowerHybridSleepPluggedIn($val) + { + $this->_propDict["powerHybridSleepPluggedIn"] = $val; + return $this; + } + + /** + * Gets the powerLidCloseActionOnBattery + * This setting specifies the action that Windows takes when a user closes the lid on a mobile PC while on battery. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @return PowerActionType|null The powerLidCloseActionOnBattery + */ + public function getPowerLidCloseActionOnBattery() + { + if (array_key_exists("powerLidCloseActionOnBattery", $this->_propDict)) { + if (is_a($this->_propDict["powerLidCloseActionOnBattery"], "\Beta\Microsoft\Graph\Model\PowerActionType") || is_null($this->_propDict["powerLidCloseActionOnBattery"])) { + return $this->_propDict["powerLidCloseActionOnBattery"]; + } else { + $this->_propDict["powerLidCloseActionOnBattery"] = new PowerActionType($this->_propDict["powerLidCloseActionOnBattery"]); + return $this->_propDict["powerLidCloseActionOnBattery"]; + } + } + return null; + } + + /** + * Sets the powerLidCloseActionOnBattery + * This setting specifies the action that Windows takes when a user closes the lid on a mobile PC while on battery. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @param PowerActionType $val The powerLidCloseActionOnBattery + * + * @return Windows10GeneralConfiguration + */ + public function setPowerLidCloseActionOnBattery($val) + { + $this->_propDict["powerLidCloseActionOnBattery"] = $val; + return $this; + } + + /** + * Gets the powerLidCloseActionPluggedIn + * This setting specifies the action that Windows takes when a user closes the lid on a mobile PC while plugged in. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @return PowerActionType|null The powerLidCloseActionPluggedIn + */ + public function getPowerLidCloseActionPluggedIn() + { + if (array_key_exists("powerLidCloseActionPluggedIn", $this->_propDict)) { + if (is_a($this->_propDict["powerLidCloseActionPluggedIn"], "\Beta\Microsoft\Graph\Model\PowerActionType") || is_null($this->_propDict["powerLidCloseActionPluggedIn"])) { + return $this->_propDict["powerLidCloseActionPluggedIn"]; + } else { + $this->_propDict["powerLidCloseActionPluggedIn"] = new PowerActionType($this->_propDict["powerLidCloseActionPluggedIn"]); + return $this->_propDict["powerLidCloseActionPluggedIn"]; + } + } + return null; + } + + /** + * Sets the powerLidCloseActionPluggedIn + * This setting specifies the action that Windows takes when a user closes the lid on a mobile PC while plugged in. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @param PowerActionType $val The powerLidCloseActionPluggedIn + * + * @return Windows10GeneralConfiguration + */ + public function setPowerLidCloseActionPluggedIn($val) + { + $this->_propDict["powerLidCloseActionPluggedIn"] = $val; + return $this; + } + + /** + * Gets the powerSleepButtonActionOnBattery + * This setting specifies the action that Windows takes when a user presses the Sleep button while on battery. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @return PowerActionType|null The powerSleepButtonActionOnBattery + */ + public function getPowerSleepButtonActionOnBattery() + { + if (array_key_exists("powerSleepButtonActionOnBattery", $this->_propDict)) { + if (is_a($this->_propDict["powerSleepButtonActionOnBattery"], "\Beta\Microsoft\Graph\Model\PowerActionType") || is_null($this->_propDict["powerSleepButtonActionOnBattery"])) { + return $this->_propDict["powerSleepButtonActionOnBattery"]; + } else { + $this->_propDict["powerSleepButtonActionOnBattery"] = new PowerActionType($this->_propDict["powerSleepButtonActionOnBattery"]); + return $this->_propDict["powerSleepButtonActionOnBattery"]; + } + } + return null; + } + + /** + * Sets the powerSleepButtonActionOnBattery + * This setting specifies the action that Windows takes when a user presses the Sleep button while on battery. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @param PowerActionType $val The powerSleepButtonActionOnBattery + * + * @return Windows10GeneralConfiguration + */ + public function setPowerSleepButtonActionOnBattery($val) + { + $this->_propDict["powerSleepButtonActionOnBattery"] = $val; + return $this; + } + + /** + * Gets the powerSleepButtonActionPluggedIn + * This setting specifies the action that Windows takes when a user presses the Sleep button while plugged in. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @return PowerActionType|null The powerSleepButtonActionPluggedIn + */ + public function getPowerSleepButtonActionPluggedIn() + { + if (array_key_exists("powerSleepButtonActionPluggedIn", $this->_propDict)) { + if (is_a($this->_propDict["powerSleepButtonActionPluggedIn"], "\Beta\Microsoft\Graph\Model\PowerActionType") || is_null($this->_propDict["powerSleepButtonActionPluggedIn"])) { + return $this->_propDict["powerSleepButtonActionPluggedIn"]; + } else { + $this->_propDict["powerSleepButtonActionPluggedIn"] = new PowerActionType($this->_propDict["powerSleepButtonActionPluggedIn"]); + return $this->_propDict["powerSleepButtonActionPluggedIn"]; + } + } + return null; + } + + /** + * Sets the powerSleepButtonActionPluggedIn + * This setting specifies the action that Windows takes when a user presses the Sleep button while plugged in. Possible values are: notConfigured, noAction, sleep, hibernate, shutdown. + * + * @param PowerActionType $val The powerSleepButtonActionPluggedIn + * + * @return Windows10GeneralConfiguration + */ + public function setPowerSleepButtonActionPluggedIn($val) + { + $this->_propDict["powerSleepButtonActionPluggedIn"] = $val; + return $this; + } + + /** + * Gets the printerBlockAddition + * Prevent user installation of additional printers from printers settings. + * + * @return bool|null The printerBlockAddition + */ + public function getPrinterBlockAddition() + { + if (array_key_exists("printerBlockAddition", $this->_propDict)) { + return $this->_propDict["printerBlockAddition"]; + } else { + return null; + } + } + + /** + * Sets the printerBlockAddition + * Prevent user installation of additional printers from printers settings. + * + * @param bool $val The printerBlockAddition + * + * @return Windows10GeneralConfiguration + */ + public function setPrinterBlockAddition($val) + { + $this->_propDict["printerBlockAddition"] = boolval($val); + return $this; + } + + /** + * Gets the printerDefaultName + * Name (network host name) of an installed printer. + * + * @return string|null The printerDefaultName + */ + public function getPrinterDefaultName() + { + if (array_key_exists("printerDefaultName", $this->_propDict)) { + return $this->_propDict["printerDefaultName"]; + } else { + return null; + } + } + + /** + * Sets the printerDefaultName + * Name (network host name) of an installed printer. + * + * @param string $val The printerDefaultName + * + * @return Windows10GeneralConfiguration + */ + public function setPrinterDefaultName($val) + { + $this->_propDict["printerDefaultName"] = $val; + return $this; + } + + /** + * Gets the printerNames + * Automatically provision printers based on their names (network host names). + * + * @return string|null The printerNames + */ + public function getPrinterNames() + { + if (array_key_exists("printerNames", $this->_propDict)) { + return $this->_propDict["printerNames"]; + } else { + return null; + } + } + + /** + * Sets the printerNames + * Automatically provision printers based on their names (network host names). + * + * @param string $val The printerNames + * + * @return Windows10GeneralConfiguration + */ + public function setPrinterNames($val) + { + $this->_propDict["printerNames"] = $val; + return $this; + } + + /** + * Gets the privacyAdvertisingId + * Enables or disables the use of advertising ID. Added in Windows 10, version 1607. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The privacyAdvertisingId + */ + public function getPrivacyAdvertisingId() + { + if (array_key_exists("privacyAdvertisingId", $this->_propDict)) { + if (is_a($this->_propDict["privacyAdvertisingId"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["privacyAdvertisingId"])) { + return $this->_propDict["privacyAdvertisingId"]; + } else { + $this->_propDict["privacyAdvertisingId"] = new StateManagementSetting($this->_propDict["privacyAdvertisingId"]); + return $this->_propDict["privacyAdvertisingId"]; + } + } + return null; + } + + /** + * Sets the privacyAdvertisingId + * Enables or disables the use of advertising ID. Added in Windows 10, version 1607. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The privacyAdvertisingId + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyAdvertisingId($val) + { + $this->_propDict["privacyAdvertisingId"] = $val; + return $this; + } + + /** + * Gets the privacyAutoAcceptPairingAndConsentPrompts + * Indicates whether or not to allow the automatic acceptance of the pairing and privacy user consent dialog when launching apps. + * + * @return bool|null The privacyAutoAcceptPairingAndConsentPrompts + */ + public function getPrivacyAutoAcceptPairingAndConsentPrompts() + { + if (array_key_exists("privacyAutoAcceptPairingAndConsentPrompts", $this->_propDict)) { + return $this->_propDict["privacyAutoAcceptPairingAndConsentPrompts"]; + } else { + return null; + } + } + + /** + * Sets the privacyAutoAcceptPairingAndConsentPrompts + * Indicates whether or not to allow the automatic acceptance of the pairing and privacy user consent dialog when launching apps. + * + * @param bool $val The privacyAutoAcceptPairingAndConsentPrompts + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyAutoAcceptPairingAndConsentPrompts($val) + { + $this->_propDict["privacyAutoAcceptPairingAndConsentPrompts"] = boolval($val); + return $this; + } + + /** + * Gets the privacyBlockActivityFeed + * Blocks the usage of cloud based speech services for Cortana, Dictation, or Store applications. + * + * @return bool|null The privacyBlockActivityFeed + */ + public function getPrivacyBlockActivityFeed() + { + if (array_key_exists("privacyBlockActivityFeed", $this->_propDict)) { + return $this->_propDict["privacyBlockActivityFeed"]; + } else { + return null; + } + } + + /** + * Sets the privacyBlockActivityFeed + * Blocks the usage of cloud based speech services for Cortana, Dictation, or Store applications. + * + * @param bool $val The privacyBlockActivityFeed + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyBlockActivityFeed($val) + { + $this->_propDict["privacyBlockActivityFeed"] = boolval($val); + return $this; + } + + /** + * Gets the privacyBlockInputPersonalization + * Indicates whether or not to block the usage of cloud based speech services for Cortana, Dictation, or Store applications. + * + * @return bool|null The privacyBlockInputPersonalization + */ + public function getPrivacyBlockInputPersonalization() + { + if (array_key_exists("privacyBlockInputPersonalization", $this->_propDict)) { + return $this->_propDict["privacyBlockInputPersonalization"]; + } else { + return null; + } + } + + /** + * Sets the privacyBlockInputPersonalization + * Indicates whether or not to block the usage of cloud based speech services for Cortana, Dictation, or Store applications. + * + * @param bool $val The privacyBlockInputPersonalization + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyBlockInputPersonalization($val) + { + $this->_propDict["privacyBlockInputPersonalization"] = boolval($val); + return $this; + } + + /** + * Gets the privacyBlockPublishUserActivities + * Blocks the shared experiences/discovery of recently used resources in task switcher etc. + * + * @return bool|null The privacyBlockPublishUserActivities + */ + public function getPrivacyBlockPublishUserActivities() + { + if (array_key_exists("privacyBlockPublishUserActivities", $this->_propDict)) { + return $this->_propDict["privacyBlockPublishUserActivities"]; + } else { + return null; + } + } + + /** + * Sets the privacyBlockPublishUserActivities + * Blocks the shared experiences/discovery of recently used resources in task switcher etc. + * + * @param bool $val The privacyBlockPublishUserActivities + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyBlockPublishUserActivities($val) + { + $this->_propDict["privacyBlockPublishUserActivities"] = boolval($val); + return $this; + } + + /** + * Gets the privacyDisableLaunchExperience + * This policy prevents the privacy experience from launching during user logon for new and upgraded users.​ + * + * @return bool|null The privacyDisableLaunchExperience + */ + public function getPrivacyDisableLaunchExperience() + { + if (array_key_exists("privacyDisableLaunchExperience", $this->_propDict)) { + return $this->_propDict["privacyDisableLaunchExperience"]; + } else { + return null; + } + } + + /** + * Sets the privacyDisableLaunchExperience + * This policy prevents the privacy experience from launching during user logon for new and upgraded users.​ + * + * @param bool $val The privacyDisableLaunchExperience + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyDisableLaunchExperience($val) + { + $this->_propDict["privacyDisableLaunchExperience"] = boolval($val); + return $this; + } + + /** + * Gets the resetProtectionModeBlocked + * Indicates whether or not to Block the user from reset protection mode. + * + * @return bool|null The resetProtectionModeBlocked + */ + public function getResetProtectionModeBlocked() + { + if (array_key_exists("resetProtectionModeBlocked", $this->_propDict)) { + return $this->_propDict["resetProtectionModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the resetProtectionModeBlocked + * Indicates whether or not to Block the user from reset protection mode. + * + * @param bool $val The resetProtectionModeBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setResetProtectionModeBlocked($val) + { + $this->_propDict["resetProtectionModeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the safeSearchFilter + * Specifies what filter level of safe search is required. Possible values are: userDefined, strict, moderate. + * + * @return SafeSearchFilterType|null The safeSearchFilter + */ + public function getSafeSearchFilter() + { + if (array_key_exists("safeSearchFilter", $this->_propDict)) { + if (is_a($this->_propDict["safeSearchFilter"], "\Beta\Microsoft\Graph\Model\SafeSearchFilterType") || is_null($this->_propDict["safeSearchFilter"])) { + return $this->_propDict["safeSearchFilter"]; + } else { + $this->_propDict["safeSearchFilter"] = new SafeSearchFilterType($this->_propDict["safeSearchFilter"]); + return $this->_propDict["safeSearchFilter"]; + } + } + return null; + } + + /** + * Sets the safeSearchFilter + * Specifies what filter level of safe search is required. Possible values are: userDefined, strict, moderate. + * + * @param SafeSearchFilterType $val The safeSearchFilter + * + * @return Windows10GeneralConfiguration + */ + public function setSafeSearchFilter($val) + { + $this->_propDict["safeSearchFilter"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to Block the user from taking Screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to Block the user from taking Screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the searchBlockDiacritics + * Specifies if search can use diacritics. + * + * @return bool|null The searchBlockDiacritics + */ + public function getSearchBlockDiacritics() + { + if (array_key_exists("searchBlockDiacritics", $this->_propDict)) { + return $this->_propDict["searchBlockDiacritics"]; + } else { + return null; + } + } + + /** + * Sets the searchBlockDiacritics + * Specifies if search can use diacritics. + * + * @param bool $val The searchBlockDiacritics + * + * @return Windows10GeneralConfiguration + */ + public function setSearchBlockDiacritics($val) + { + $this->_propDict["searchBlockDiacritics"] = boolval($val); + return $this; + } + + /** + * Gets the searchBlockWebResults + * Indicates whether or not to block the web search. + * + * @return bool|null The searchBlockWebResults + */ + public function getSearchBlockWebResults() + { + if (array_key_exists("searchBlockWebResults", $this->_propDict)) { + return $this->_propDict["searchBlockWebResults"]; + } else { + return null; + } + } + + /** + * Sets the searchBlockWebResults + * Indicates whether or not to block the web search. + * + * @param bool $val The searchBlockWebResults + * + * @return Windows10GeneralConfiguration + */ + public function setSearchBlockWebResults($val) + { + $this->_propDict["searchBlockWebResults"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableAutoLanguageDetection + * Specifies whether to use automatic language detection when indexing content and properties. + * + * @return bool|null The searchDisableAutoLanguageDetection + */ + public function getSearchDisableAutoLanguageDetection() + { + if (array_key_exists("searchDisableAutoLanguageDetection", $this->_propDict)) { + return $this->_propDict["searchDisableAutoLanguageDetection"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableAutoLanguageDetection + * Specifies whether to use automatic language detection when indexing content and properties. + * + * @param bool $val The searchDisableAutoLanguageDetection + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableAutoLanguageDetection($val) + { + $this->_propDict["searchDisableAutoLanguageDetection"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableIndexerBackoff + * Indicates whether or not to disable the search indexer backoff feature. + * + * @return bool|null The searchDisableIndexerBackoff + */ + public function getSearchDisableIndexerBackoff() + { + if (array_key_exists("searchDisableIndexerBackoff", $this->_propDict)) { + return $this->_propDict["searchDisableIndexerBackoff"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableIndexerBackoff + * Indicates whether or not to disable the search indexer backoff feature. + * + * @param bool $val The searchDisableIndexerBackoff + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableIndexerBackoff($val) + { + $this->_propDict["searchDisableIndexerBackoff"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableIndexingEncryptedItems + * Indicates whether or not to block indexing of WIP-protected items to prevent them from appearing in search results for Cortana or Explorer. + * + * @return bool|null The searchDisableIndexingEncryptedItems + */ + public function getSearchDisableIndexingEncryptedItems() + { + if (array_key_exists("searchDisableIndexingEncryptedItems", $this->_propDict)) { + return $this->_propDict["searchDisableIndexingEncryptedItems"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableIndexingEncryptedItems + * Indicates whether or not to block indexing of WIP-protected items to prevent them from appearing in search results for Cortana or Explorer. + * + * @param bool $val The searchDisableIndexingEncryptedItems + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableIndexingEncryptedItems($val) + { + $this->_propDict["searchDisableIndexingEncryptedItems"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableIndexingRemovableDrive + * Indicates whether or not to allow users to add locations on removable drives to libraries and to be indexed. + * + * @return bool|null The searchDisableIndexingRemovableDrive + */ + public function getSearchDisableIndexingRemovableDrive() + { + if (array_key_exists("searchDisableIndexingRemovableDrive", $this->_propDict)) { + return $this->_propDict["searchDisableIndexingRemovableDrive"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableIndexingRemovableDrive + * Indicates whether or not to allow users to add locations on removable drives to libraries and to be indexed. + * + * @param bool $val The searchDisableIndexingRemovableDrive + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableIndexingRemovableDrive($val) + { + $this->_propDict["searchDisableIndexingRemovableDrive"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableLocation + * Specifies if search can use location information. + * + * @return bool|null The searchDisableLocation + */ + public function getSearchDisableLocation() + { + if (array_key_exists("searchDisableLocation", $this->_propDict)) { + return $this->_propDict["searchDisableLocation"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableLocation + * Specifies if search can use location information. + * + * @param bool $val The searchDisableLocation + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableLocation($val) + { + $this->_propDict["searchDisableLocation"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableUseLocation + * Specifies if search can use location information. + * + * @return bool|null The searchDisableUseLocation + */ + public function getSearchDisableUseLocation() + { + if (array_key_exists("searchDisableUseLocation", $this->_propDict)) { + return $this->_propDict["searchDisableUseLocation"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableUseLocation + * Specifies if search can use location information. + * + * @param bool $val The searchDisableUseLocation + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableUseLocation($val) + { + $this->_propDict["searchDisableUseLocation"] = boolval($val); + return $this; + } + + /** + * Gets the searchEnableAutomaticIndexSizeManangement + * Specifies minimum amount of hard drive space on the same drive as the index location before indexing stops. + * + * @return bool|null The searchEnableAutomaticIndexSizeManangement + */ + public function getSearchEnableAutomaticIndexSizeManangement() + { + if (array_key_exists("searchEnableAutomaticIndexSizeManangement", $this->_propDict)) { + return $this->_propDict["searchEnableAutomaticIndexSizeManangement"]; + } else { + return null; + } + } + + /** + * Sets the searchEnableAutomaticIndexSizeManangement + * Specifies minimum amount of hard drive space on the same drive as the index location before indexing stops. + * + * @param bool $val The searchEnableAutomaticIndexSizeManangement + * + * @return Windows10GeneralConfiguration + */ + public function setSearchEnableAutomaticIndexSizeManangement($val) + { + $this->_propDict["searchEnableAutomaticIndexSizeManangement"] = boolval($val); + return $this; + } + + /** + * Gets the searchEnableRemoteQueries + * Indicates whether or not to block remote queries of this computer’s index. + * + * @return bool|null The searchEnableRemoteQueries + */ + public function getSearchEnableRemoteQueries() + { + if (array_key_exists("searchEnableRemoteQueries", $this->_propDict)) { + return $this->_propDict["searchEnableRemoteQueries"]; + } else { + return null; + } + } + + /** + * Sets the searchEnableRemoteQueries + * Indicates whether or not to block remote queries of this computer’s index. + * + * @param bool $val The searchEnableRemoteQueries + * + * @return Windows10GeneralConfiguration + */ + public function setSearchEnableRemoteQueries($val) + { + $this->_propDict["searchEnableRemoteQueries"] = boolval($val); + return $this; + } + + /** + * Gets the securityBlockAzureADJoinedDevicesAutoEncryption + * Specify whether to allow automatic device encryption during OOBE when the device is Azure AD joined (desktop only). + * + * @return bool|null The securityBlockAzureADJoinedDevicesAutoEncryption + */ + public function getSecurityBlockAzureADJoinedDevicesAutoEncryption() + { + if (array_key_exists("securityBlockAzureADJoinedDevicesAutoEncryption", $this->_propDict)) { + return $this->_propDict["securityBlockAzureADJoinedDevicesAutoEncryption"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockAzureADJoinedDevicesAutoEncryption + * Specify whether to allow automatic device encryption during OOBE when the device is Azure AD joined (desktop only). + * + * @param bool $val The securityBlockAzureADJoinedDevicesAutoEncryption + * + * @return Windows10GeneralConfiguration + */ + public function setSecurityBlockAzureADJoinedDevicesAutoEncryption($val) + { + $this->_propDict["securityBlockAzureADJoinedDevicesAutoEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockAccountsPage + * Indicates whether or not to block access to Accounts in Settings app. + * + * @return bool|null The settingsBlockAccountsPage + */ + public function getSettingsBlockAccountsPage() + { + if (array_key_exists("settingsBlockAccountsPage", $this->_propDict)) { + return $this->_propDict["settingsBlockAccountsPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockAccountsPage + * Indicates whether or not to block access to Accounts in Settings app. + * + * @param bool $val The settingsBlockAccountsPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockAccountsPage($val) + { + $this->_propDict["settingsBlockAccountsPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockAddProvisioningPackage + * Indicates whether or not to block the user from installing provisioning packages. + * + * @return bool|null The settingsBlockAddProvisioningPackage + */ + public function getSettingsBlockAddProvisioningPackage() + { + if (array_key_exists("settingsBlockAddProvisioningPackage", $this->_propDict)) { + return $this->_propDict["settingsBlockAddProvisioningPackage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockAddProvisioningPackage + * Indicates whether or not to block the user from installing provisioning packages. + * + * @param bool $val The settingsBlockAddProvisioningPackage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockAddProvisioningPackage($val) + { + $this->_propDict["settingsBlockAddProvisioningPackage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockAppsPage + * Indicates whether or not to block access to Apps in Settings app. + * + * @return bool|null The settingsBlockAppsPage + */ + public function getSettingsBlockAppsPage() + { + if (array_key_exists("settingsBlockAppsPage", $this->_propDict)) { + return $this->_propDict["settingsBlockAppsPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockAppsPage + * Indicates whether or not to block access to Apps in Settings app. + * + * @param bool $val The settingsBlockAppsPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockAppsPage($val) + { + $this->_propDict["settingsBlockAppsPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangeLanguage + * Indicates whether or not to block the user from changing the language settings. + * + * @return bool|null The settingsBlockChangeLanguage + */ + public function getSettingsBlockChangeLanguage() + { + if (array_key_exists("settingsBlockChangeLanguage", $this->_propDict)) { + return $this->_propDict["settingsBlockChangeLanguage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangeLanguage + * Indicates whether or not to block the user from changing the language settings. + * + * @param bool $val The settingsBlockChangeLanguage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangeLanguage($val) + { + $this->_propDict["settingsBlockChangeLanguage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangePowerSleep + * Indicates whether or not to block the user from changing power and sleep settings. + * + * @return bool|null The settingsBlockChangePowerSleep + */ + public function getSettingsBlockChangePowerSleep() + { + if (array_key_exists("settingsBlockChangePowerSleep", $this->_propDict)) { + return $this->_propDict["settingsBlockChangePowerSleep"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangePowerSleep + * Indicates whether or not to block the user from changing power and sleep settings. + * + * @param bool $val The settingsBlockChangePowerSleep + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangePowerSleep($val) + { + $this->_propDict["settingsBlockChangePowerSleep"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangeRegion + * Indicates whether or not to block the user from changing the region settings. + * + * @return bool|null The settingsBlockChangeRegion + */ + public function getSettingsBlockChangeRegion() + { + if (array_key_exists("settingsBlockChangeRegion", $this->_propDict)) { + return $this->_propDict["settingsBlockChangeRegion"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangeRegion + * Indicates whether or not to block the user from changing the region settings. + * + * @param bool $val The settingsBlockChangeRegion + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangeRegion($val) + { + $this->_propDict["settingsBlockChangeRegion"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangeSystemTime + * Indicates whether or not to block the user from changing date and time settings. + * + * @return bool|null The settingsBlockChangeSystemTime + */ + public function getSettingsBlockChangeSystemTime() + { + if (array_key_exists("settingsBlockChangeSystemTime", $this->_propDict)) { + return $this->_propDict["settingsBlockChangeSystemTime"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangeSystemTime + * Indicates whether or not to block the user from changing date and time settings. + * + * @param bool $val The settingsBlockChangeSystemTime + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangeSystemTime($val) + { + $this->_propDict["settingsBlockChangeSystemTime"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockDevicesPage + * Indicates whether or not to block access to Devices in Settings app. + * + * @return bool|null The settingsBlockDevicesPage + */ + public function getSettingsBlockDevicesPage() + { + if (array_key_exists("settingsBlockDevicesPage", $this->_propDict)) { + return $this->_propDict["settingsBlockDevicesPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockDevicesPage + * Indicates whether or not to block access to Devices in Settings app. + * + * @param bool $val The settingsBlockDevicesPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockDevicesPage($val) + { + $this->_propDict["settingsBlockDevicesPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockEaseOfAccessPage + * Indicates whether or not to block access to Ease of Access in Settings app. + * + * @return bool|null The settingsBlockEaseOfAccessPage + */ + public function getSettingsBlockEaseOfAccessPage() + { + if (array_key_exists("settingsBlockEaseOfAccessPage", $this->_propDict)) { + return $this->_propDict["settingsBlockEaseOfAccessPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockEaseOfAccessPage + * Indicates whether or not to block access to Ease of Access in Settings app. + * + * @param bool $val The settingsBlockEaseOfAccessPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockEaseOfAccessPage($val) + { + $this->_propDict["settingsBlockEaseOfAccessPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockEditDeviceName + * Indicates whether or not to block the user from editing the device name. + * + * @return bool|null The settingsBlockEditDeviceName + */ + public function getSettingsBlockEditDeviceName() + { + if (array_key_exists("settingsBlockEditDeviceName", $this->_propDict)) { + return $this->_propDict["settingsBlockEditDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockEditDeviceName + * Indicates whether or not to block the user from editing the device name. + * + * @param bool $val The settingsBlockEditDeviceName + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockEditDeviceName($val) + { + $this->_propDict["settingsBlockEditDeviceName"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockGamingPage + * Indicates whether or not to block access to Gaming in Settings app. + * + * @return bool|null The settingsBlockGamingPage + */ + public function getSettingsBlockGamingPage() + { + if (array_key_exists("settingsBlockGamingPage", $this->_propDict)) { + return $this->_propDict["settingsBlockGamingPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockGamingPage + * Indicates whether or not to block access to Gaming in Settings app. + * + * @param bool $val The settingsBlockGamingPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockGamingPage($val) + { + $this->_propDict["settingsBlockGamingPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockNetworkInternetPage + * Indicates whether or not to block access to Network & Internet in Settings app. + * + * @return bool|null The settingsBlockNetworkInternetPage + */ + public function getSettingsBlockNetworkInternetPage() + { + if (array_key_exists("settingsBlockNetworkInternetPage", $this->_propDict)) { + return $this->_propDict["settingsBlockNetworkInternetPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockNetworkInternetPage + * Indicates whether or not to block access to Network & Internet in Settings app. + * + * @param bool $val The settingsBlockNetworkInternetPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockNetworkInternetPage($val) + { + $this->_propDict["settingsBlockNetworkInternetPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockPersonalizationPage + * Indicates whether or not to block access to Personalization in Settings app. + * + * @return bool|null The settingsBlockPersonalizationPage + */ + public function getSettingsBlockPersonalizationPage() + { + if (array_key_exists("settingsBlockPersonalizationPage", $this->_propDict)) { + return $this->_propDict["settingsBlockPersonalizationPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockPersonalizationPage + * Indicates whether or not to block access to Personalization in Settings app. + * + * @param bool $val The settingsBlockPersonalizationPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockPersonalizationPage($val) + { + $this->_propDict["settingsBlockPersonalizationPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockPrivacyPage + * Indicates whether or not to block access to Privacy in Settings app. + * + * @return bool|null The settingsBlockPrivacyPage + */ + public function getSettingsBlockPrivacyPage() + { + if (array_key_exists("settingsBlockPrivacyPage", $this->_propDict)) { + return $this->_propDict["settingsBlockPrivacyPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockPrivacyPage + * Indicates whether or not to block access to Privacy in Settings app. + * + * @param bool $val The settingsBlockPrivacyPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockPrivacyPage($val) + { + $this->_propDict["settingsBlockPrivacyPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockRemoveProvisioningPackage + * Indicates whether or not to block the runtime configuration agent from removing provisioning packages. + * + * @return bool|null The settingsBlockRemoveProvisioningPackage + */ + public function getSettingsBlockRemoveProvisioningPackage() + { + if (array_key_exists("settingsBlockRemoveProvisioningPackage", $this->_propDict)) { + return $this->_propDict["settingsBlockRemoveProvisioningPackage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockRemoveProvisioningPackage + * Indicates whether or not to block the runtime configuration agent from removing provisioning packages. + * + * @param bool $val The settingsBlockRemoveProvisioningPackage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockRemoveProvisioningPackage($val) + { + $this->_propDict["settingsBlockRemoveProvisioningPackage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSettingsApp + * Indicates whether or not to block access to Settings app. + * + * @return bool|null The settingsBlockSettingsApp + */ + public function getSettingsBlockSettingsApp() + { + if (array_key_exists("settingsBlockSettingsApp", $this->_propDict)) { + return $this->_propDict["settingsBlockSettingsApp"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSettingsApp + * Indicates whether or not to block access to Settings app. + * + * @param bool $val The settingsBlockSettingsApp + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockSettingsApp($val) + { + $this->_propDict["settingsBlockSettingsApp"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSystemPage + * Indicates whether or not to block access to System in Settings app. + * + * @return bool|null The settingsBlockSystemPage + */ + public function getSettingsBlockSystemPage() + { + if (array_key_exists("settingsBlockSystemPage", $this->_propDict)) { + return $this->_propDict["settingsBlockSystemPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSystemPage + * Indicates whether or not to block access to System in Settings app. + * + * @param bool $val The settingsBlockSystemPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockSystemPage($val) + { + $this->_propDict["settingsBlockSystemPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockTimeLanguagePage + * Indicates whether or not to block access to Time & Language in Settings app. + * + * @return bool|null The settingsBlockTimeLanguagePage + */ + public function getSettingsBlockTimeLanguagePage() + { + if (array_key_exists("settingsBlockTimeLanguagePage", $this->_propDict)) { + return $this->_propDict["settingsBlockTimeLanguagePage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockTimeLanguagePage + * Indicates whether or not to block access to Time & Language in Settings app. + * + * @param bool $val The settingsBlockTimeLanguagePage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockTimeLanguagePage($val) + { + $this->_propDict["settingsBlockTimeLanguagePage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockUpdateSecurityPage + * Indicates whether or not to block access to Update & Security in Settings app. + * + * @return bool|null The settingsBlockUpdateSecurityPage + */ + public function getSettingsBlockUpdateSecurityPage() + { + if (array_key_exists("settingsBlockUpdateSecurityPage", $this->_propDict)) { + return $this->_propDict["settingsBlockUpdateSecurityPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockUpdateSecurityPage + * Indicates whether or not to block access to Update & Security in Settings app. + * + * @param bool $val The settingsBlockUpdateSecurityPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockUpdateSecurityPage($val) + { + $this->_propDict["settingsBlockUpdateSecurityPage"] = boolval($val); + return $this; + } + + /** + * Gets the sharedUserAppDataAllowed + * Indicates whether or not to block multiple users of the same app to share data. + * + * @return bool|null The sharedUserAppDataAllowed + */ + public function getSharedUserAppDataAllowed() + { + if (array_key_exists("sharedUserAppDataAllowed", $this->_propDict)) { + return $this->_propDict["sharedUserAppDataAllowed"]; + } else { + return null; + } + } + + /** + * Sets the sharedUserAppDataAllowed + * Indicates whether or not to block multiple users of the same app to share data. + * + * @param bool $val The sharedUserAppDataAllowed + * + * @return Windows10GeneralConfiguration + */ + public function setSharedUserAppDataAllowed($val) + { + $this->_propDict["sharedUserAppDataAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenAppInstallControl + * Added in Windows 10, version 1703. Allows IT Admins to control whether users are allowed to install apps from places other than the Store. Possible values are: notConfigured, anywhere, storeOnly, recommendations, preferStore. + * + * @return AppInstallControlType|null The smartScreenAppInstallControl + */ + public function getSmartScreenAppInstallControl() + { + if (array_key_exists("smartScreenAppInstallControl", $this->_propDict)) { + if (is_a($this->_propDict["smartScreenAppInstallControl"], "\Beta\Microsoft\Graph\Model\AppInstallControlType") || is_null($this->_propDict["smartScreenAppInstallControl"])) { + return $this->_propDict["smartScreenAppInstallControl"]; + } else { + $this->_propDict["smartScreenAppInstallControl"] = new AppInstallControlType($this->_propDict["smartScreenAppInstallControl"]); + return $this->_propDict["smartScreenAppInstallControl"]; + } + } + return null; + } + + /** + * Sets the smartScreenAppInstallControl + * Added in Windows 10, version 1703. Allows IT Admins to control whether users are allowed to install apps from places other than the Store. Possible values are: notConfigured, anywhere, storeOnly, recommendations, preferStore. + * + * @param AppInstallControlType $val The smartScreenAppInstallControl + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenAppInstallControl($val) + { + $this->_propDict["smartScreenAppInstallControl"] = $val; + return $this; + } + + /** + * Gets the smartScreenBlockPromptOverride + * Indicates whether or not users can override SmartScreen Filter warnings about potentially malicious websites. + * + * @return bool|null The smartScreenBlockPromptOverride + */ + public function getSmartScreenBlockPromptOverride() + { + if (array_key_exists("smartScreenBlockPromptOverride", $this->_propDict)) { + return $this->_propDict["smartScreenBlockPromptOverride"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenBlockPromptOverride + * Indicates whether or not users can override SmartScreen Filter warnings about potentially malicious websites. + * + * @param bool $val The smartScreenBlockPromptOverride + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenBlockPromptOverride($val) + { + $this->_propDict["smartScreenBlockPromptOverride"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenBlockPromptOverrideForFiles + * Indicates whether or not users can override the SmartScreen Filter warnings about downloading unverified files + * + * @return bool|null The smartScreenBlockPromptOverrideForFiles + */ + public function getSmartScreenBlockPromptOverrideForFiles() + { + if (array_key_exists("smartScreenBlockPromptOverrideForFiles", $this->_propDict)) { + return $this->_propDict["smartScreenBlockPromptOverrideForFiles"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenBlockPromptOverrideForFiles + * Indicates whether or not users can override the SmartScreen Filter warnings about downloading unverified files + * + * @param bool $val The smartScreenBlockPromptOverrideForFiles + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenBlockPromptOverrideForFiles($val) + { + $this->_propDict["smartScreenBlockPromptOverrideForFiles"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenEnableAppInstallControl + * This property will be deprecated in July 2019 and will be replaced by property SmartScreenAppInstallControl. Allows IT Admins to control whether users are allowed to install apps from places other than the Store. + * + * @return bool|null The smartScreenEnableAppInstallControl + */ + public function getSmartScreenEnableAppInstallControl() + { + if (array_key_exists("smartScreenEnableAppInstallControl", $this->_propDict)) { + return $this->_propDict["smartScreenEnableAppInstallControl"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenEnableAppInstallControl + * This property will be deprecated in July 2019 and will be replaced by property SmartScreenAppInstallControl. Allows IT Admins to control whether users are allowed to install apps from places other than the Store. + * + * @param bool $val The smartScreenEnableAppInstallControl + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenEnableAppInstallControl($val) + { + $this->_propDict["smartScreenEnableAppInstallControl"] = boolval($val); + return $this; + } + + /** + * Gets the startBlockUnpinningAppsFromTaskbar + * Indicates whether or not to block the user from unpinning apps from taskbar. + * + * @return bool|null The startBlockUnpinningAppsFromTaskbar + */ + public function getStartBlockUnpinningAppsFromTaskbar() + { + if (array_key_exists("startBlockUnpinningAppsFromTaskbar", $this->_propDict)) { + return $this->_propDict["startBlockUnpinningAppsFromTaskbar"]; + } else { + return null; + } + } + + /** + * Sets the startBlockUnpinningAppsFromTaskbar + * Indicates whether or not to block the user from unpinning apps from taskbar. + * + * @param bool $val The startBlockUnpinningAppsFromTaskbar + * + * @return Windows10GeneralConfiguration + */ + public function setStartBlockUnpinningAppsFromTaskbar($val) + { + $this->_propDict["startBlockUnpinningAppsFromTaskbar"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuAppListVisibility + * Setting the value of this collapses the app list, removes the app list entirely, or disables the corresponding toggle in the Settings app. Possible values are: userDefined, collapse, remove, disableSettingsApp. + * + * @return WindowsStartMenuAppListVisibilityType|null The startMenuAppListVisibility + */ + public function getStartMenuAppListVisibility() + { + if (array_key_exists("startMenuAppListVisibility", $this->_propDict)) { + if (is_a($this->_propDict["startMenuAppListVisibility"], "\Beta\Microsoft\Graph\Model\WindowsStartMenuAppListVisibilityType") || is_null($this->_propDict["startMenuAppListVisibility"])) { + return $this->_propDict["startMenuAppListVisibility"]; + } else { + $this->_propDict["startMenuAppListVisibility"] = new WindowsStartMenuAppListVisibilityType($this->_propDict["startMenuAppListVisibility"]); + return $this->_propDict["startMenuAppListVisibility"]; + } + } + return null; + } + + /** + * Sets the startMenuAppListVisibility + * Setting the value of this collapses the app list, removes the app list entirely, or disables the corresponding toggle in the Settings app. Possible values are: userDefined, collapse, remove, disableSettingsApp. + * + * @param WindowsStartMenuAppListVisibilityType $val The startMenuAppListVisibility + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuAppListVisibility($val) + { + $this->_propDict["startMenuAppListVisibility"] = $val; + return $this; + } + + /** + * Gets the startMenuHideChangeAccountSettings + * Enabling this policy hides the change account setting from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideChangeAccountSettings + */ + public function getStartMenuHideChangeAccountSettings() + { + if (array_key_exists("startMenuHideChangeAccountSettings", $this->_propDict)) { + return $this->_propDict["startMenuHideChangeAccountSettings"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideChangeAccountSettings + * Enabling this policy hides the change account setting from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideChangeAccountSettings + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideChangeAccountSettings($val) + { + $this->_propDict["startMenuHideChangeAccountSettings"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideFrequentlyUsedApps + * Enabling this policy hides the most used apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @return bool|null The startMenuHideFrequentlyUsedApps + */ + public function getStartMenuHideFrequentlyUsedApps() + { + if (array_key_exists("startMenuHideFrequentlyUsedApps", $this->_propDict)) { + return $this->_propDict["startMenuHideFrequentlyUsedApps"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideFrequentlyUsedApps + * Enabling this policy hides the most used apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @param bool $val The startMenuHideFrequentlyUsedApps + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideFrequentlyUsedApps($val) + { + $this->_propDict["startMenuHideFrequentlyUsedApps"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideHibernate + * Enabling this policy hides hibernate from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideHibernate + */ + public function getStartMenuHideHibernate() + { + if (array_key_exists("startMenuHideHibernate", $this->_propDict)) { + return $this->_propDict["startMenuHideHibernate"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideHibernate + * Enabling this policy hides hibernate from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideHibernate + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideHibernate($val) + { + $this->_propDict["startMenuHideHibernate"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideLock + * Enabling this policy hides lock from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideLock + */ + public function getStartMenuHideLock() + { + if (array_key_exists("startMenuHideLock", $this->_propDict)) { + return $this->_propDict["startMenuHideLock"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideLock + * Enabling this policy hides lock from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideLock + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideLock($val) + { + $this->_propDict["startMenuHideLock"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHidePowerButton + * Enabling this policy hides the power button from appearing in the start menu. + * + * @return bool|null The startMenuHidePowerButton + */ + public function getStartMenuHidePowerButton() + { + if (array_key_exists("startMenuHidePowerButton", $this->_propDict)) { + return $this->_propDict["startMenuHidePowerButton"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHidePowerButton + * Enabling this policy hides the power button from appearing in the start menu. + * + * @param bool $val The startMenuHidePowerButton + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHidePowerButton($val) + { + $this->_propDict["startMenuHidePowerButton"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideRecentJumpLists + * Enabling this policy hides recent jump lists from appearing on the start menu/taskbar and disables the corresponding toggle in the Settings app. + * + * @return bool|null The startMenuHideRecentJumpLists + */ + public function getStartMenuHideRecentJumpLists() + { + if (array_key_exists("startMenuHideRecentJumpLists", $this->_propDict)) { + return $this->_propDict["startMenuHideRecentJumpLists"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideRecentJumpLists + * Enabling this policy hides recent jump lists from appearing on the start menu/taskbar and disables the corresponding toggle in the Settings app. + * + * @param bool $val The startMenuHideRecentJumpLists + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideRecentJumpLists($val) + { + $this->_propDict["startMenuHideRecentJumpLists"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideRecentlyAddedApps + * Enabling this policy hides recently added apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @return bool|null The startMenuHideRecentlyAddedApps + */ + public function getStartMenuHideRecentlyAddedApps() + { + if (array_key_exists("startMenuHideRecentlyAddedApps", $this->_propDict)) { + return $this->_propDict["startMenuHideRecentlyAddedApps"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideRecentlyAddedApps + * Enabling this policy hides recently added apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @param bool $val The startMenuHideRecentlyAddedApps + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideRecentlyAddedApps($val) + { + $this->_propDict["startMenuHideRecentlyAddedApps"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideRestartOptions + * Enabling this policy hides 'Restart/Update and Restart' from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideRestartOptions + */ + public function getStartMenuHideRestartOptions() + { + if (array_key_exists("startMenuHideRestartOptions", $this->_propDict)) { + return $this->_propDict["startMenuHideRestartOptions"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideRestartOptions + * Enabling this policy hides 'Restart/Update and Restart' from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideRestartOptions + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideRestartOptions($val) + { + $this->_propDict["startMenuHideRestartOptions"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideShutDown + * Enabling this policy hides shut down/update and shut down from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideShutDown + */ + public function getStartMenuHideShutDown() + { + if (array_key_exists("startMenuHideShutDown", $this->_propDict)) { + return $this->_propDict["startMenuHideShutDown"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideShutDown + * Enabling this policy hides shut down/update and shut down from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideShutDown + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideShutDown($val) + { + $this->_propDict["startMenuHideShutDown"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideSignOut + * Enabling this policy hides sign out from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideSignOut + */ + public function getStartMenuHideSignOut() + { + if (array_key_exists("startMenuHideSignOut", $this->_propDict)) { + return $this->_propDict["startMenuHideSignOut"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideSignOut + * Enabling this policy hides sign out from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideSignOut + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideSignOut($val) + { + $this->_propDict["startMenuHideSignOut"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideSleep + * Enabling this policy hides sleep from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideSleep + */ + public function getStartMenuHideSleep() + { + if (array_key_exists("startMenuHideSleep", $this->_propDict)) { + return $this->_propDict["startMenuHideSleep"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideSleep + * Enabling this policy hides sleep from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideSleep + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideSleep($val) + { + $this->_propDict["startMenuHideSleep"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideSwitchAccount + * Enabling this policy hides switch account from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideSwitchAccount + */ + public function getStartMenuHideSwitchAccount() + { + if (array_key_exists("startMenuHideSwitchAccount", $this->_propDict)) { + return $this->_propDict["startMenuHideSwitchAccount"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideSwitchAccount + * Enabling this policy hides switch account from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideSwitchAccount + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideSwitchAccount($val) + { + $this->_propDict["startMenuHideSwitchAccount"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideUserTile + * Enabling this policy hides the user tile from appearing in the start menu. + * + * @return bool|null The startMenuHideUserTile + */ + public function getStartMenuHideUserTile() + { + if (array_key_exists("startMenuHideUserTile", $this->_propDict)) { + return $this->_propDict["startMenuHideUserTile"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideUserTile + * Enabling this policy hides the user tile from appearing in the start menu. + * + * @param bool $val The startMenuHideUserTile + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideUserTile($val) + { + $this->_propDict["startMenuHideUserTile"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuLayoutEdgeAssetsXml + * This policy setting allows you to import Edge assets to be used with startMenuLayoutXml policy. Start layout can contain secondary tile from Edge app which looks for Edge local asset file. Edge local asset would not exist and cause Edge secondary tile to appear empty in this case. This policy only gets applied when startMenuLayoutXml policy is modified. The value should be a UTF-8 Base64 encoded byte array. + * + * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutEdgeAssetsXml + */ + public function getStartMenuLayoutEdgeAssetsXml() + { + if (array_key_exists("startMenuLayoutEdgeAssetsXml", $this->_propDict)) { + if (is_a($this->_propDict["startMenuLayoutEdgeAssetsXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutEdgeAssetsXml"])) { + return $this->_propDict["startMenuLayoutEdgeAssetsXml"]; + } else { + $this->_propDict["startMenuLayoutEdgeAssetsXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutEdgeAssetsXml"]); + return $this->_propDict["startMenuLayoutEdgeAssetsXml"]; + } + } + return null; + } + + /** + * Sets the startMenuLayoutEdgeAssetsXml + * This policy setting allows you to import Edge assets to be used with startMenuLayoutXml policy. Start layout can contain secondary tile from Edge app which looks for Edge local asset file. Edge local asset would not exist and cause Edge secondary tile to appear empty in this case. This policy only gets applied when startMenuLayoutXml policy is modified. The value should be a UTF-8 Base64 encoded byte array. + * + * @param \GuzzleHttp\Psr7\Stream $val The startMenuLayoutEdgeAssetsXml + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuLayoutEdgeAssetsXml($val) + { + $this->_propDict["startMenuLayoutEdgeAssetsXml"] = $val; + return $this; + } + + /** + * Gets the startMenuLayoutXml + * Allows admins to override the default Start menu layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in a UTF8 encoded byte array format. + * + * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutXml + */ + public function getStartMenuLayoutXml() + { + if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { + if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutXml"])) { + return $this->_propDict["startMenuLayoutXml"]; + } else { + $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutXml"]); + return $this->_propDict["startMenuLayoutXml"]; + } + } + return null; + } + + /** + * Sets the startMenuLayoutXml + * Allows admins to override the default Start menu layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in a UTF8 encoded byte array format. + * + * @param \GuzzleHttp\Psr7\Stream $val The startMenuLayoutXml + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuLayoutXml($val) + { + $this->_propDict["startMenuLayoutXml"] = $val; + return $this; + } + + /** + * Gets the startMenuMode + * Allows admins to decide how the Start menu is displayed. Possible values are: userDefined, fullScreen, nonFullScreen. + * + * @return WindowsStartMenuModeType|null The startMenuMode + */ + public function getStartMenuMode() + { + if (array_key_exists("startMenuMode", $this->_propDict)) { + if (is_a($this->_propDict["startMenuMode"], "\Beta\Microsoft\Graph\Model\WindowsStartMenuModeType") || is_null($this->_propDict["startMenuMode"])) { + return $this->_propDict["startMenuMode"]; + } else { + $this->_propDict["startMenuMode"] = new WindowsStartMenuModeType($this->_propDict["startMenuMode"]); + return $this->_propDict["startMenuMode"]; + } + } + return null; + } + + /** + * Sets the startMenuMode + * Allows admins to decide how the Start menu is displayed. Possible values are: userDefined, fullScreen, nonFullScreen. + * + * @param WindowsStartMenuModeType $val The startMenuMode + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuMode($val) + { + $this->_propDict["startMenuMode"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderDocuments + * Enforces the visibility (Show/Hide) of the Documents folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderDocuments + */ + public function getStartMenuPinnedFolderDocuments() + { + if (array_key_exists("startMenuPinnedFolderDocuments", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderDocuments"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderDocuments"])) { + return $this->_propDict["startMenuPinnedFolderDocuments"]; + } else { + $this->_propDict["startMenuPinnedFolderDocuments"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderDocuments"]); + return $this->_propDict["startMenuPinnedFolderDocuments"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderDocuments + * Enforces the visibility (Show/Hide) of the Documents folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderDocuments + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderDocuments($val) + { + $this->_propDict["startMenuPinnedFolderDocuments"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderDownloads + * Enforces the visibility (Show/Hide) of the Downloads folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderDownloads + */ + public function getStartMenuPinnedFolderDownloads() + { + if (array_key_exists("startMenuPinnedFolderDownloads", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderDownloads"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderDownloads"])) { + return $this->_propDict["startMenuPinnedFolderDownloads"]; + } else { + $this->_propDict["startMenuPinnedFolderDownloads"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderDownloads"]); + return $this->_propDict["startMenuPinnedFolderDownloads"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderDownloads + * Enforces the visibility (Show/Hide) of the Downloads folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderDownloads + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderDownloads($val) + { + $this->_propDict["startMenuPinnedFolderDownloads"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderFileExplorer + * Enforces the visibility (Show/Hide) of the FileExplorer shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderFileExplorer + */ + public function getStartMenuPinnedFolderFileExplorer() + { + if (array_key_exists("startMenuPinnedFolderFileExplorer", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderFileExplorer"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderFileExplorer"])) { + return $this->_propDict["startMenuPinnedFolderFileExplorer"]; + } else { + $this->_propDict["startMenuPinnedFolderFileExplorer"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderFileExplorer"]); + return $this->_propDict["startMenuPinnedFolderFileExplorer"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderFileExplorer + * Enforces the visibility (Show/Hide) of the FileExplorer shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderFileExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderFileExplorer($val) + { + $this->_propDict["startMenuPinnedFolderFileExplorer"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderHomeGroup + * Enforces the visibility (Show/Hide) of the HomeGroup folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderHomeGroup + */ + public function getStartMenuPinnedFolderHomeGroup() + { + if (array_key_exists("startMenuPinnedFolderHomeGroup", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderHomeGroup"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderHomeGroup"])) { + return $this->_propDict["startMenuPinnedFolderHomeGroup"]; + } else { + $this->_propDict["startMenuPinnedFolderHomeGroup"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderHomeGroup"]); + return $this->_propDict["startMenuPinnedFolderHomeGroup"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderHomeGroup + * Enforces the visibility (Show/Hide) of the HomeGroup folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderHomeGroup + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderHomeGroup($val) + { + $this->_propDict["startMenuPinnedFolderHomeGroup"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderMusic + * Enforces the visibility (Show/Hide) of the Music folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderMusic + */ + public function getStartMenuPinnedFolderMusic() + { + if (array_key_exists("startMenuPinnedFolderMusic", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderMusic"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderMusic"])) { + return $this->_propDict["startMenuPinnedFolderMusic"]; + } else { + $this->_propDict["startMenuPinnedFolderMusic"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderMusic"]); + return $this->_propDict["startMenuPinnedFolderMusic"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderMusic + * Enforces the visibility (Show/Hide) of the Music folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderMusic + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderMusic($val) + { + $this->_propDict["startMenuPinnedFolderMusic"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderNetwork + * Enforces the visibility (Show/Hide) of the Network folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderNetwork + */ + public function getStartMenuPinnedFolderNetwork() + { + if (array_key_exists("startMenuPinnedFolderNetwork", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderNetwork"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderNetwork"])) { + return $this->_propDict["startMenuPinnedFolderNetwork"]; + } else { + $this->_propDict["startMenuPinnedFolderNetwork"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderNetwork"]); + return $this->_propDict["startMenuPinnedFolderNetwork"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderNetwork + * Enforces the visibility (Show/Hide) of the Network folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderNetwork + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderNetwork($val) + { + $this->_propDict["startMenuPinnedFolderNetwork"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderPersonalFolder + * Enforces the visibility (Show/Hide) of the PersonalFolder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderPersonalFolder + */ + public function getStartMenuPinnedFolderPersonalFolder() + { + if (array_key_exists("startMenuPinnedFolderPersonalFolder", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderPersonalFolder"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderPersonalFolder"])) { + return $this->_propDict["startMenuPinnedFolderPersonalFolder"]; + } else { + $this->_propDict["startMenuPinnedFolderPersonalFolder"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderPersonalFolder"]); + return $this->_propDict["startMenuPinnedFolderPersonalFolder"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderPersonalFolder + * Enforces the visibility (Show/Hide) of the PersonalFolder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderPersonalFolder + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderPersonalFolder($val) + { + $this->_propDict["startMenuPinnedFolderPersonalFolder"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderPictures + * Enforces the visibility (Show/Hide) of the Pictures folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderPictures + */ + public function getStartMenuPinnedFolderPictures() + { + if (array_key_exists("startMenuPinnedFolderPictures", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderPictures"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderPictures"])) { + return $this->_propDict["startMenuPinnedFolderPictures"]; + } else { + $this->_propDict["startMenuPinnedFolderPictures"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderPictures"]); + return $this->_propDict["startMenuPinnedFolderPictures"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderPictures + * Enforces the visibility (Show/Hide) of the Pictures folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderPictures + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderPictures($val) + { + $this->_propDict["startMenuPinnedFolderPictures"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderSettings + * Enforces the visibility (Show/Hide) of the Settings folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderSettings + */ + public function getStartMenuPinnedFolderSettings() + { + if (array_key_exists("startMenuPinnedFolderSettings", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderSettings"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderSettings"])) { + return $this->_propDict["startMenuPinnedFolderSettings"]; + } else { + $this->_propDict["startMenuPinnedFolderSettings"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderSettings"]); + return $this->_propDict["startMenuPinnedFolderSettings"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderSettings + * Enforces the visibility (Show/Hide) of the Settings folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderSettings + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderSettings($val) + { + $this->_propDict["startMenuPinnedFolderSettings"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderVideos + * Enforces the visibility (Show/Hide) of the Videos folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderVideos + */ + public function getStartMenuPinnedFolderVideos() + { + if (array_key_exists("startMenuPinnedFolderVideos", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderVideos"], "\Beta\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderVideos"])) { + return $this->_propDict["startMenuPinnedFolderVideos"]; + } else { + $this->_propDict["startMenuPinnedFolderVideos"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderVideos"]); + return $this->_propDict["startMenuPinnedFolderVideos"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderVideos + * Enforces the visibility (Show/Hide) of the Videos folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderVideos + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderVideos($val) + { + $this->_propDict["startMenuPinnedFolderVideos"] = $val; + return $this; + } + + /** + * Gets the storageBlockRemovableStorage + * Indicates whether or not to Block the user from using removable storage. + * + * @return bool|null The storageBlockRemovableStorage + */ + public function getStorageBlockRemovableStorage() + { + if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) { + return $this->_propDict["storageBlockRemovableStorage"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockRemovableStorage + * Indicates whether or not to Block the user from using removable storage. + * + * @param bool $val The storageBlockRemovableStorage + * + * @return Windows10GeneralConfiguration + */ + public function setStorageBlockRemovableStorage($val) + { + $this->_propDict["storageBlockRemovableStorage"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireMobileDeviceEncryption + * Indicating whether or not to require encryption on a mobile device. + * + * @return bool|null The storageRequireMobileDeviceEncryption + */ + public function getStorageRequireMobileDeviceEncryption() + { + if (array_key_exists("storageRequireMobileDeviceEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireMobileDeviceEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireMobileDeviceEncryption + * Indicating whether or not to require encryption on a mobile device. + * + * @param bool $val The storageRequireMobileDeviceEncryption + * + * @return Windows10GeneralConfiguration + */ + public function setStorageRequireMobileDeviceEncryption($val) + { + $this->_propDict["storageRequireMobileDeviceEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the storageRestrictAppDataToSystemVolume + * Indicates whether application data is restricted to the system drive. + * + * @return bool|null The storageRestrictAppDataToSystemVolume + */ + public function getStorageRestrictAppDataToSystemVolume() + { + if (array_key_exists("storageRestrictAppDataToSystemVolume", $this->_propDict)) { + return $this->_propDict["storageRestrictAppDataToSystemVolume"]; + } else { + return null; + } + } + + /** + * Sets the storageRestrictAppDataToSystemVolume + * Indicates whether application data is restricted to the system drive. + * + * @param bool $val The storageRestrictAppDataToSystemVolume + * + * @return Windows10GeneralConfiguration + */ + public function setStorageRestrictAppDataToSystemVolume($val) + { + $this->_propDict["storageRestrictAppDataToSystemVolume"] = boolval($val); + return $this; + } + + /** + * Gets the storageRestrictAppInstallToSystemVolume + * Indicates whether the installation of applications is restricted to the system drive. + * + * @return bool|null The storageRestrictAppInstallToSystemVolume + */ + public function getStorageRestrictAppInstallToSystemVolume() + { + if (array_key_exists("storageRestrictAppInstallToSystemVolume", $this->_propDict)) { + return $this->_propDict["storageRestrictAppInstallToSystemVolume"]; + } else { + return null; + } + } + + /** + * Sets the storageRestrictAppInstallToSystemVolume + * Indicates whether the installation of applications is restricted to the system drive. + * + * @param bool $val The storageRestrictAppInstallToSystemVolume + * + * @return Windows10GeneralConfiguration + */ + public function setStorageRestrictAppInstallToSystemVolume($val) + { + $this->_propDict["storageRestrictAppInstallToSystemVolume"] = boolval($val); + return $this; + } + + /** + * Gets the systemTelemetryProxyServer + * Gets or sets the fully qualified domain name (FQDN) or IP address of a proxy server to forward Connected User Experiences and Telemetry requests. + * + * @return string|null The systemTelemetryProxyServer + */ + public function getSystemTelemetryProxyServer() + { + if (array_key_exists("systemTelemetryProxyServer", $this->_propDict)) { + return $this->_propDict["systemTelemetryProxyServer"]; + } else { + return null; + } + } + + /** + * Sets the systemTelemetryProxyServer + * Gets or sets the fully qualified domain name (FQDN) or IP address of a proxy server to forward Connected User Experiences and Telemetry requests. + * + * @param string $val The systemTelemetryProxyServer + * + * @return Windows10GeneralConfiguration + */ + public function setSystemTelemetryProxyServer($val) + { + $this->_propDict["systemTelemetryProxyServer"] = $val; + return $this; + } + + /** + * Gets the taskManagerBlockEndTask + * Specify whether non-administrators can use Task Manager to end tasks. + * + * @return bool|null The taskManagerBlockEndTask + */ + public function getTaskManagerBlockEndTask() + { + if (array_key_exists("taskManagerBlockEndTask", $this->_propDict)) { + return $this->_propDict["taskManagerBlockEndTask"]; + } else { + return null; + } + } + + /** + * Sets the taskManagerBlockEndTask + * Specify whether non-administrators can use Task Manager to end tasks. + * + * @param bool $val The taskManagerBlockEndTask + * + * @return Windows10GeneralConfiguration + */ + public function setTaskManagerBlockEndTask($val) + { + $this->_propDict["taskManagerBlockEndTask"] = boolval($val); + return $this; + } + + /** + * Gets the tenantLockdownRequireNetworkDuringOutOfBoxExperience + * Whether the device is required to connect to the network. + * + * @return bool|null The tenantLockdownRequireNetworkDuringOutOfBoxExperience + */ + public function getTenantLockdownRequireNetworkDuringOutOfBoxExperience() + { + if (array_key_exists("tenantLockdownRequireNetworkDuringOutOfBoxExperience", $this->_propDict)) { + return $this->_propDict["tenantLockdownRequireNetworkDuringOutOfBoxExperience"]; + } else { + return null; + } + } + + /** + * Sets the tenantLockdownRequireNetworkDuringOutOfBoxExperience + * Whether the device is required to connect to the network. + * + * @param bool $val The tenantLockdownRequireNetworkDuringOutOfBoxExperience + * + * @return Windows10GeneralConfiguration + */ + public function setTenantLockdownRequireNetworkDuringOutOfBoxExperience($val) + { + $this->_propDict["tenantLockdownRequireNetworkDuringOutOfBoxExperience"] = boolval($val); + return $this; + } + + /** + * Gets the uninstallBuiltInApps + * Indicates whether or not to uninstall a fixed list of built-in Windows apps. + * + * @return bool|null The uninstallBuiltInApps + */ + public function getUninstallBuiltInApps() + { + if (array_key_exists("uninstallBuiltInApps", $this->_propDict)) { + return $this->_propDict["uninstallBuiltInApps"]; + } else { + return null; + } + } + + /** + * Sets the uninstallBuiltInApps + * Indicates whether or not to uninstall a fixed list of built-in Windows apps. + * + * @param bool $val The uninstallBuiltInApps + * + * @return Windows10GeneralConfiguration + */ + public function setUninstallBuiltInApps($val) + { + $this->_propDict["uninstallBuiltInApps"] = boolval($val); + return $this; + } + + /** + * Gets the usbBlocked + * Indicates whether or not to Block the user from USB connection. + * + * @return bool|null The usbBlocked + */ + public function getUsbBlocked() + { + if (array_key_exists("usbBlocked", $this->_propDict)) { + return $this->_propDict["usbBlocked"]; + } else { + return null; + } + } + + /** + * Sets the usbBlocked + * Indicates whether or not to Block the user from USB connection. + * + * @param bool $val The usbBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setUsbBlocked($val) + { + $this->_propDict["usbBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the voiceRecordingBlocked + * Indicates whether or not to Block the user from voice recording. + * + * @return bool|null The voiceRecordingBlocked + */ + public function getVoiceRecordingBlocked() + { + if (array_key_exists("voiceRecordingBlocked", $this->_propDict)) { + return $this->_propDict["voiceRecordingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceRecordingBlocked + * Indicates whether or not to Block the user from voice recording. + * + * @param bool $val The voiceRecordingBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setVoiceRecordingBlocked($val) + { + $this->_propDict["voiceRecordingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the webRtcBlockLocalhostIpAddress + * Indicates whether or not user's localhost IP address is displayed while making phone calls using the WebRTC + * + * @return bool|null The webRtcBlockLocalhostIpAddress + */ + public function getWebRtcBlockLocalhostIpAddress() + { + if (array_key_exists("webRtcBlockLocalhostIpAddress", $this->_propDict)) { + return $this->_propDict["webRtcBlockLocalhostIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the webRtcBlockLocalhostIpAddress + * Indicates whether or not user's localhost IP address is displayed while making phone calls using the WebRTC + * + * @param bool $val The webRtcBlockLocalhostIpAddress + * + * @return Windows10GeneralConfiguration + */ + public function setWebRtcBlockLocalhostIpAddress($val) + { + $this->_propDict["webRtcBlockLocalhostIpAddress"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiBlockAutomaticConnectHotspots + * Indicating whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The wiFiBlockAutomaticConnectHotspots + */ + public function getWiFiBlockAutomaticConnectHotspots() + { + if (array_key_exists("wiFiBlockAutomaticConnectHotspots", $this->_propDict)) { + return $this->_propDict["wiFiBlockAutomaticConnectHotspots"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlockAutomaticConnectHotspots + * Indicating whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The wiFiBlockAutomaticConnectHotspots + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiBlockAutomaticConnectHotspots($val) + { + $this->_propDict["wiFiBlockAutomaticConnectHotspots"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiBlocked + * Indicates whether or not to Block the user from using Wi-Fi. + * + * @return bool|null The wiFiBlocked + */ + public function getWiFiBlocked() + { + if (array_key_exists("wiFiBlocked", $this->_propDict)) { + return $this->_propDict["wiFiBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlocked + * Indicates whether or not to Block the user from using Wi-Fi. + * + * @param bool $val The wiFiBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiBlocked($val) + { + $this->_propDict["wiFiBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiBlockManualConfiguration + * Indicates whether or not to Block the user from using Wi-Fi manual configuration. + * + * @return bool|null The wiFiBlockManualConfiguration + */ + public function getWiFiBlockManualConfiguration() + { + if (array_key_exists("wiFiBlockManualConfiguration", $this->_propDict)) { + return $this->_propDict["wiFiBlockManualConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlockManualConfiguration + * Indicates whether or not to Block the user from using Wi-Fi manual configuration. + * + * @param bool $val The wiFiBlockManualConfiguration + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiBlockManualConfiguration($val) + { + $this->_propDict["wiFiBlockManualConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiScanInterval + * Specify how often devices scan for Wi-Fi networks. Supported values are 1-500, where 100 = default, and 500 = low frequency. Valid values 1 to 500 + * + * @return int|null The wiFiScanInterval + */ + public function getWiFiScanInterval() + { + if (array_key_exists("wiFiScanInterval", $this->_propDict)) { + return $this->_propDict["wiFiScanInterval"]; + } else { + return null; + } + } + + /** + * Sets the wiFiScanInterval + * Specify how often devices scan for Wi-Fi networks. Supported values are 1-500, where 100 = default, and 500 = low frequency. Valid values 1 to 500 + * + * @param int $val The wiFiScanInterval + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiScanInterval($val) + { + $this->_propDict["wiFiScanInterval"] = intval($val); + return $this; + } + + /** + * Gets the windows10AppsForceUpdateSchedule + * Windows 10 force update schedule for Apps. + * + * @return Windows10AppsForceUpdateSchedule|null The windows10AppsForceUpdateSchedule + */ + public function getWindows10AppsForceUpdateSchedule() + { + if (array_key_exists("windows10AppsForceUpdateSchedule", $this->_propDict)) { + if (is_a($this->_propDict["windows10AppsForceUpdateSchedule"], "\Beta\Microsoft\Graph\Model\Windows10AppsForceUpdateSchedule") || is_null($this->_propDict["windows10AppsForceUpdateSchedule"])) { + return $this->_propDict["windows10AppsForceUpdateSchedule"]; + } else { + $this->_propDict["windows10AppsForceUpdateSchedule"] = new Windows10AppsForceUpdateSchedule($this->_propDict["windows10AppsForceUpdateSchedule"]); + return $this->_propDict["windows10AppsForceUpdateSchedule"]; + } + } + return null; + } + + /** + * Sets the windows10AppsForceUpdateSchedule + * Windows 10 force update schedule for Apps. + * + * @param Windows10AppsForceUpdateSchedule $val The windows10AppsForceUpdateSchedule + * + * @return Windows10GeneralConfiguration + */ + public function setWindows10AppsForceUpdateSchedule($val) + { + $this->_propDict["windows10AppsForceUpdateSchedule"] = $val; + return $this; + } + + /** + * Gets the windowsSpotlightBlockConsumerSpecificFeatures + * Allows IT admins to block experiences that are typically for consumers only, such as Start suggestions, Membership notifications, Post-OOBE app install and redirect tiles. + * + * @return bool|null The windowsSpotlightBlockConsumerSpecificFeatures + */ + public function getWindowsSpotlightBlockConsumerSpecificFeatures() + { + if (array_key_exists("windowsSpotlightBlockConsumerSpecificFeatures", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockConsumerSpecificFeatures"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockConsumerSpecificFeatures + * Allows IT admins to block experiences that are typically for consumers only, such as Start suggestions, Membership notifications, Post-OOBE app install and redirect tiles. + * + * @param bool $val The windowsSpotlightBlockConsumerSpecificFeatures + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockConsumerSpecificFeatures($val) + { + $this->_propDict["windowsSpotlightBlockConsumerSpecificFeatures"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlocked + * Allows IT admins to turn off all Windows Spotlight features + * + * @return bool|null The windowsSpotlightBlocked + */ + public function getWindowsSpotlightBlocked() + { + if (array_key_exists("windowsSpotlightBlocked", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlocked + * Allows IT admins to turn off all Windows Spotlight features + * + * @param bool $val The windowsSpotlightBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlocked($val) + { + $this->_propDict["windowsSpotlightBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockOnActionCenter + * Block suggestions from Microsoft that show after each OS clean install, upgrade or in an on-going basis to introduce users to what is new or changed + * + * @return bool|null The windowsSpotlightBlockOnActionCenter + */ + public function getWindowsSpotlightBlockOnActionCenter() + { + if (array_key_exists("windowsSpotlightBlockOnActionCenter", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockOnActionCenter"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockOnActionCenter + * Block suggestions from Microsoft that show after each OS clean install, upgrade or in an on-going basis to introduce users to what is new or changed + * + * @param bool $val The windowsSpotlightBlockOnActionCenter + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockOnActionCenter($val) + { + $this->_propDict["windowsSpotlightBlockOnActionCenter"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockTailoredExperiences + * Block personalized content in Windows spotlight based on user’s device usage. + * + * @return bool|null The windowsSpotlightBlockTailoredExperiences + */ + public function getWindowsSpotlightBlockTailoredExperiences() + { + if (array_key_exists("windowsSpotlightBlockTailoredExperiences", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockTailoredExperiences"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockTailoredExperiences + * Block personalized content in Windows spotlight based on user’s device usage. + * + * @param bool $val The windowsSpotlightBlockTailoredExperiences + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockTailoredExperiences($val) + { + $this->_propDict["windowsSpotlightBlockTailoredExperiences"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockThirdPartyNotifications + * Block third party content delivered via Windows Spotlight + * + * @return bool|null The windowsSpotlightBlockThirdPartyNotifications + */ + public function getWindowsSpotlightBlockThirdPartyNotifications() + { + if (array_key_exists("windowsSpotlightBlockThirdPartyNotifications", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockThirdPartyNotifications"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockThirdPartyNotifications + * Block third party content delivered via Windows Spotlight + * + * @param bool $val The windowsSpotlightBlockThirdPartyNotifications + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockThirdPartyNotifications($val) + { + $this->_propDict["windowsSpotlightBlockThirdPartyNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockWelcomeExperience + * Block Windows Spotlight Windows welcome experience + * + * @return bool|null The windowsSpotlightBlockWelcomeExperience + */ + public function getWindowsSpotlightBlockWelcomeExperience() + { + if (array_key_exists("windowsSpotlightBlockWelcomeExperience", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockWelcomeExperience"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockWelcomeExperience + * Block Windows Spotlight Windows welcome experience + * + * @param bool $val The windowsSpotlightBlockWelcomeExperience + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockWelcomeExperience($val) + { + $this->_propDict["windowsSpotlightBlockWelcomeExperience"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockWindowsTips + * Allows IT admins to turn off the popup of Windows Tips. + * + * @return bool|null The windowsSpotlightBlockWindowsTips + */ + public function getWindowsSpotlightBlockWindowsTips() + { + if (array_key_exists("windowsSpotlightBlockWindowsTips", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockWindowsTips"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockWindowsTips + * Allows IT admins to turn off the popup of Windows Tips. + * + * @param bool $val The windowsSpotlightBlockWindowsTips + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockWindowsTips($val) + { + $this->_propDict["windowsSpotlightBlockWindowsTips"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightConfigureOnLockScreen + * Specifies the type of Spotlight. Possible values are: notConfigured, disabled, enabled. + * + * @return WindowsSpotlightEnablementSettings|null The windowsSpotlightConfigureOnLockScreen + */ + public function getWindowsSpotlightConfigureOnLockScreen() + { + if (array_key_exists("windowsSpotlightConfigureOnLockScreen", $this->_propDict)) { + if (is_a($this->_propDict["windowsSpotlightConfigureOnLockScreen"], "\Beta\Microsoft\Graph\Model\WindowsSpotlightEnablementSettings") || is_null($this->_propDict["windowsSpotlightConfigureOnLockScreen"])) { + return $this->_propDict["windowsSpotlightConfigureOnLockScreen"]; + } else { + $this->_propDict["windowsSpotlightConfigureOnLockScreen"] = new WindowsSpotlightEnablementSettings($this->_propDict["windowsSpotlightConfigureOnLockScreen"]); + return $this->_propDict["windowsSpotlightConfigureOnLockScreen"]; + } + } + return null; + } + + /** + * Sets the windowsSpotlightConfigureOnLockScreen + * Specifies the type of Spotlight. Possible values are: notConfigured, disabled, enabled. + * + * @param WindowsSpotlightEnablementSettings $val The windowsSpotlightConfigureOnLockScreen + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightConfigureOnLockScreen($val) + { + $this->_propDict["windowsSpotlightConfigureOnLockScreen"] = $val; + return $this; + } + + /** + * Gets the windowsStoreBlockAutoUpdate + * Indicates whether or not to block automatic update of apps from Windows Store. + * + * @return bool|null The windowsStoreBlockAutoUpdate + */ + public function getWindowsStoreBlockAutoUpdate() + { + if (array_key_exists("windowsStoreBlockAutoUpdate", $this->_propDict)) { + return $this->_propDict["windowsStoreBlockAutoUpdate"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreBlockAutoUpdate + * Indicates whether or not to block automatic update of apps from Windows Store. + * + * @param bool $val The windowsStoreBlockAutoUpdate + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsStoreBlockAutoUpdate($val) + { + $this->_propDict["windowsStoreBlockAutoUpdate"] = boolval($val); + return $this; + } + + /** + * Gets the windowsStoreBlocked + * Indicates whether or not to Block the user from using the Windows store. + * + * @return bool|null The windowsStoreBlocked + */ + public function getWindowsStoreBlocked() + { + if (array_key_exists("windowsStoreBlocked", $this->_propDict)) { + return $this->_propDict["windowsStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreBlocked + * Indicates whether or not to Block the user from using the Windows store. + * + * @param bool $val The windowsStoreBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsStoreBlocked($val) + { + $this->_propDict["windowsStoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the windowsStoreEnablePrivateStoreOnly + * Indicates whether or not to enable Private Store Only. + * + * @return bool|null The windowsStoreEnablePrivateStoreOnly + */ + public function getWindowsStoreEnablePrivateStoreOnly() + { + if (array_key_exists("windowsStoreEnablePrivateStoreOnly", $this->_propDict)) { + return $this->_propDict["windowsStoreEnablePrivateStoreOnly"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreEnablePrivateStoreOnly + * Indicates whether or not to enable Private Store Only. + * + * @param bool $val The windowsStoreEnablePrivateStoreOnly + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsStoreEnablePrivateStoreOnly($val) + { + $this->_propDict["windowsStoreEnablePrivateStoreOnly"] = boolval($val); + return $this; + } + + /** + * Gets the wirelessDisplayBlockProjectionToThisDevice + * Indicates whether or not to allow other devices from discovering this PC for projection. + * + * @return bool|null The wirelessDisplayBlockProjectionToThisDevice + */ + public function getWirelessDisplayBlockProjectionToThisDevice() + { + if (array_key_exists("wirelessDisplayBlockProjectionToThisDevice", $this->_propDict)) { + return $this->_propDict["wirelessDisplayBlockProjectionToThisDevice"]; + } else { + return null; + } + } + + /** + * Sets the wirelessDisplayBlockProjectionToThisDevice + * Indicates whether or not to allow other devices from discovering this PC for projection. + * + * @param bool $val The wirelessDisplayBlockProjectionToThisDevice + * + * @return Windows10GeneralConfiguration + */ + public function setWirelessDisplayBlockProjectionToThisDevice($val) + { + $this->_propDict["wirelessDisplayBlockProjectionToThisDevice"] = boolval($val); + return $this; + } + + /** + * Gets the wirelessDisplayBlockUserInputFromReceiver + * Indicates whether or not to allow user input from wireless display receiver. + * + * @return bool|null The wirelessDisplayBlockUserInputFromReceiver + */ + public function getWirelessDisplayBlockUserInputFromReceiver() + { + if (array_key_exists("wirelessDisplayBlockUserInputFromReceiver", $this->_propDict)) { + return $this->_propDict["wirelessDisplayBlockUserInputFromReceiver"]; + } else { + return null; + } + } + + /** + * Sets the wirelessDisplayBlockUserInputFromReceiver + * Indicates whether or not to allow user input from wireless display receiver. + * + * @param bool $val The wirelessDisplayBlockUserInputFromReceiver + * + * @return Windows10GeneralConfiguration + */ + public function setWirelessDisplayBlockUserInputFromReceiver($val) + { + $this->_propDict["wirelessDisplayBlockUserInputFromReceiver"] = boolval($val); + return $this; + } + + /** + * Gets the wirelessDisplayRequirePinForPairing + * Indicates whether or not to require a PIN for new devices to initiate pairing. + * + * @return bool|null The wirelessDisplayRequirePinForPairing + */ + public function getWirelessDisplayRequirePinForPairing() + { + if (array_key_exists("wirelessDisplayRequirePinForPairing", $this->_propDict)) { + return $this->_propDict["wirelessDisplayRequirePinForPairing"]; + } else { + return null; + } + } + + /** + * Sets the wirelessDisplayRequirePinForPairing + * Indicates whether or not to require a PIN for new devices to initiate pairing. + * + * @param bool $val The wirelessDisplayRequirePinForPairing + * + * @return Windows10GeneralConfiguration + */ + public function setWirelessDisplayRequirePinForPairing($val) + { + $this->_propDict["wirelessDisplayRequirePinForPairing"] = boolval($val); + return $this; + } + + + /** + * Gets the privacyAccessControls + * Indicates a list of applications with their access control levels over privacy data categories, and/or the default access levels per category. This collection can contain a maximum of 500 elements. + * + * @return array|null The privacyAccessControls + */ + public function getPrivacyAccessControls() + { + if (array_key_exists("privacyAccessControls", $this->_propDict)) { + return $this->_propDict["privacyAccessControls"]; + } else { + return null; + } + } + + /** + * Sets the privacyAccessControls + * Indicates a list of applications with their access control levels over privacy data categories, and/or the default access levels per category. This collection can contain a maximum of 500 elements. + * + * @param WindowsPrivacyDataAccessControlItem[] $val The privacyAccessControls + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyAccessControls($val) + { + $this->_propDict["privacyAccessControls"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10ImportedPFXCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10ImportedPFXCertificateProfile.php new file mode 100644 index 0000000..68f5441 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10ImportedPFXCertificateProfile.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return Windows10ImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return Windows10ImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10MobileCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10MobileCompliancePolicy.php new file mode 100644 index 0000000..b44f7da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10MobileCompliancePolicy.php @@ -0,0 +1,554 @@ +_propDict)) { + return $this->_propDict["activeFirewallRequired"]; + } else { + return null; + } + } + + /** + * Sets the activeFirewallRequired + * Require active firewall on Windows devices. + * + * @param bool $val The activeFirewallRequired + * + * @return Windows10MobileCompliancePolicy + */ + public function setActiveFirewallRequired($val) + { + $this->_propDict["activeFirewallRequired"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerEnabled + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + * + * @return bool|null The bitLockerEnabled + */ + public function getBitLockerEnabled() + { + if (array_key_exists("bitLockerEnabled", $this->_propDict)) { + return $this->_propDict["bitLockerEnabled"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEnabled + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + * + * @param bool $val The bitLockerEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setBitLockerEnabled($val) + { + $this->_propDict["bitLockerEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @return bool|null The codeIntegrityEnabled + */ + public function getCodeIntegrityEnabled() + { + if (array_key_exists("codeIntegrityEnabled", $this->_propDict)) { + return $this->_propDict["codeIntegrityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @param bool $val The codeIntegrityEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setCodeIntegrityEnabled($val) + { + $this->_propDict["codeIntegrityEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @return bool|null The earlyLaunchAntiMalwareDriverEnabled + */ + public function getEarlyLaunchAntiMalwareDriverEnabled() + { + if (array_key_exists("earlyLaunchAntiMalwareDriverEnabled", $this->_propDict)) { + return $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"]; + } else { + return null; + } + } + + /** + * Sets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @param bool $val The earlyLaunchAntiMalwareDriverEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setEarlyLaunchAntiMalwareDriverEnabled($val) + { + $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Windows Phone version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows Phone version. + * + * @param string $val The osMaximumVersion + * + * @return Windows10MobileCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows Phone version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows Phone version. + * + * @param string $val The osMinimumVersion + * + * @return Windows10MobileCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before password expiration. Valid values 1 to 255 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before password expiration. Valid values 1 to 255 + * + * @param int $val The passwordExpirationDays + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock Windows Phone device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock Windows Phone device. + * + * @param bool $val The passwordRequired + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordRequireToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @return bool|null The passwordRequireToUnlockFromIdle + */ + public function getPasswordRequireToUnlockFromIdle() + { + if (array_key_exists("passwordRequireToUnlockFromIdle", $this->_propDict)) { + return $this->_propDict["passwordRequireToUnlockFromIdle"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @param bool $val The passwordRequireToUnlockFromIdle + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordRequireToUnlockFromIdle($val) + { + $this->_propDict["passwordRequireToUnlockFromIdle"] = boolval($val); + return $this; + } + + /** + * Gets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @return bool|null The secureBootEnabled + */ + public function getSecureBootEnabled() + { + if (array_key_exists("secureBootEnabled", $this->_propDict)) { + return $this->_propDict["secureBootEnabled"]; + } else { + return null; + } + } + + /** + * Sets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @param bool $val The secureBootEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setSecureBootEnabled($val) + { + $this->_propDict["secureBootEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on windows devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on windows devices. + * + * @param bool $val The storageRequireEncryption + * + * @return Windows10MobileCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + + + /** + * Gets the validOperatingSystemBuildRanges + * The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements. + * + * @return array|null The validOperatingSystemBuildRanges + */ + public function getValidOperatingSystemBuildRanges() + { + if (array_key_exists("validOperatingSystemBuildRanges", $this->_propDict)) { + return $this->_propDict["validOperatingSystemBuildRanges"]; + } else { + return null; + } + } + + /** + * Sets the validOperatingSystemBuildRanges + * The valid operating system build ranges on Windows devices. This collection can contain a maximum of 10000 elements. + * + * @param OperatingSystemVersionRange[] $val The validOperatingSystemBuildRanges + * + * @return Windows10MobileCompliancePolicy + */ + public function setValidOperatingSystemBuildRanges($val) + { + $this->_propDict["validOperatingSystemBuildRanges"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkBoundaryConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkBoundaryConfiguration.php new file mode 100644 index 0000000..4fd0874 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkBoundaryConfiguration.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["windowsNetworkIsolationPolicy"], "\Beta\Microsoft\Graph\Model\WindowsNetworkIsolationPolicy") || is_null($this->_propDict["windowsNetworkIsolationPolicy"])) { + return $this->_propDict["windowsNetworkIsolationPolicy"]; + } else { + $this->_propDict["windowsNetworkIsolationPolicy"] = new WindowsNetworkIsolationPolicy($this->_propDict["windowsNetworkIsolationPolicy"]); + return $this->_propDict["windowsNetworkIsolationPolicy"]; + } + } + return null; + } + + /** + * Sets the windowsNetworkIsolationPolicy + * Windows Network Isolation Policy + * + * @param WindowsNetworkIsolationPolicy $val The windowsNetworkIsolationPolicy + * + * @return Windows10NetworkBoundaryConfiguration + */ + public function setWindowsNetworkIsolationPolicy($val) + { + $this->_propDict["windowsNetworkIsolationPolicy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkProxyServer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkProxyServer.php new file mode 100644 index 0000000..ce833b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkProxyServer.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * Address to the proxy server. Specify an address in the format [':'] + * + * @param string $val The value of the address + * + * @return Windows10NetworkProxyServer + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the exceptions + * Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node. + * + * @return string|null The exceptions + */ + public function getExceptions() + { + if (array_key_exists("exceptions", $this->_propDict)) { + return $this->_propDict["exceptions"]; + } else { + return null; + } + } + + /** + * Sets the exceptions + * Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node. + * + * @param string $val The value of the exceptions + * + * @return Windows10NetworkProxyServer + */ + public function setExceptions($val) + { + $this->_propDict["exceptions"] = $val; + return $this; + } + /** + * Gets the useForLocalAddresses + * Specifies whether the proxy server should be used for local (intranet) addresses. + * + * @return bool|null The useForLocalAddresses + */ + public function getUseForLocalAddresses() + { + if (array_key_exists("useForLocalAddresses", $this->_propDict)) { + return $this->_propDict["useForLocalAddresses"]; + } else { + return null; + } + } + + /** + * Sets the useForLocalAddresses + * Specifies whether the proxy server should be used for local (intranet) addresses. + * + * @param bool $val The value of the useForLocalAddresses + * + * @return Windows10NetworkProxyServer + */ + public function setUseForLocalAddresses($val) + { + $this->_propDict["useForLocalAddresses"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PFXImportCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PFXImportCertificateProfile.php new file mode 100644 index 0000000..f6cb558 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PFXImportCertificateProfile.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption") || is_null($this->_propDict["keyStorageProvider"])) { + return $this->_propDict["keyStorageProvider"]; + } else { + $this->_propDict["keyStorageProvider"] = new KeyStorageProviderOption($this->_propDict["keyStorageProvider"]); + return $this->_propDict["keyStorageProvider"]; + } + } + return null; + } + + /** + * Sets the keyStorageProvider + * Not yet documented. Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @param KeyStorageProviderOption $val The keyStorageProvider + * + * @return Windows10PFXImportCertificateProfile + */ + public function setKeyStorageProvider($val) + { + $this->_propDict["keyStorageProvider"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PkcsCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PkcsCertificateProfile.php new file mode 100644 index 0000000..1ab44e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PkcsCertificateProfile.php @@ -0,0 +1,295 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return Windows10PkcsCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateTemplateName + * PKCS Certificate Template Name + * + * @return string|null The certificateTemplateName + */ + public function getCertificateTemplateName() + { + if (array_key_exists("certificateTemplateName", $this->_propDict)) { + return $this->_propDict["certificateTemplateName"]; + } else { + return null; + } + } + + /** + * Sets the certificateTemplateName + * PKCS Certificate Template Name + * + * @param string $val The certificateTemplateName + * + * @return Windows10PkcsCertificateProfile + */ + public function setCertificateTemplateName($val) + { + $this->_propDict["certificateTemplateName"] = $val; + return $this; + } + + /** + * Gets the certificationAuthority + * PKCS Certification Authority + * + * @return string|null The certificationAuthority + */ + public function getCertificationAuthority() + { + if (array_key_exists("certificationAuthority", $this->_propDict)) { + return $this->_propDict["certificationAuthority"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthority + * PKCS Certification Authority + * + * @param string $val The certificationAuthority + * + * @return Windows10PkcsCertificateProfile + */ + public function setCertificationAuthority($val) + { + $this->_propDict["certificationAuthority"] = $val; + return $this; + } + + /** + * Gets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @return string|null The certificationAuthorityName + */ + public function getCertificationAuthorityName() + { + if (array_key_exists("certificationAuthorityName", $this->_propDict)) { + return $this->_propDict["certificationAuthorityName"]; + } else { + return null; + } + } + + /** + * Sets the certificationAuthorityName + * PKCS Certification Authority Name + * + * @param string $val The certificationAuthorityName + * + * @return Windows10PkcsCertificateProfile + */ + public function setCertificationAuthorityName($val) + { + $this->_propDict["certificationAuthorityName"] = $val; + return $this; + } + + + /** + * Gets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The customSubjectAlternativeNames + */ + public function getCustomSubjectAlternativeNames() + { + if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return Windows10PkcsCertificateProfile + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return Windows10PkcsCertificateProfile + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return Windows10PkcsCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return Windows10PkcsCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return Windows10PkcsCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10SecureAssessmentConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10SecureAssessmentConfiguration.php new file mode 100644 index 0000000..6f31cc1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10SecureAssessmentConfiguration.php @@ -0,0 +1,263 @@ +_propDict)) { + return $this->_propDict["allowPrinting"]; + } else { + return null; + } + } + + /** + * Sets the allowPrinting + * Indicates whether or not to allow the app from printing during the test. + * + * @param bool $val The allowPrinting + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAllowPrinting($val) + { + $this->_propDict["allowPrinting"] = boolval($val); + return $this; + } + + /** + * Gets the allowScreenCapture + * Indicates whether or not to allow screen capture capability during a test. + * + * @return bool|null The allowScreenCapture + */ + public function getAllowScreenCapture() + { + if (array_key_exists("allowScreenCapture", $this->_propDict)) { + return $this->_propDict["allowScreenCapture"]; + } else { + return null; + } + } + + /** + * Sets the allowScreenCapture + * Indicates whether or not to allow screen capture capability during a test. + * + * @param bool $val The allowScreenCapture + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAllowScreenCapture($val) + { + $this->_propDict["allowScreenCapture"] = boolval($val); + return $this; + } + + /** + * Gets the allowTextSuggestion + * Indicates whether or not to allow text suggestions during the test. + * + * @return bool|null The allowTextSuggestion + */ + public function getAllowTextSuggestion() + { + if (array_key_exists("allowTextSuggestion", $this->_propDict)) { + return $this->_propDict["allowTextSuggestion"]; + } else { + return null; + } + } + + /** + * Sets the allowTextSuggestion + * Indicates whether or not to allow text suggestions during the test. + * + * @param bool $val The allowTextSuggestion + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAllowTextSuggestion($val) + { + $this->_propDict["allowTextSuggestion"] = boolval($val); + return $this; + } + + /** + * Gets the assessmentAppUserModelId + * Specifies the application user model ID of the assessment app launched when a user signs in to a secure assessment with a local guest account. Important notice: this property must be set with localGuestAccountName in order to make the local guest account sign-in experience work properly for secure assessments. + * + * @return string|null The assessmentAppUserModelId + */ + public function getAssessmentAppUserModelId() + { + if (array_key_exists("assessmentAppUserModelId", $this->_propDict)) { + return $this->_propDict["assessmentAppUserModelId"]; + } else { + return null; + } + } + + /** + * Sets the assessmentAppUserModelId + * Specifies the application user model ID of the assessment app launched when a user signs in to a secure assessment with a local guest account. Important notice: this property must be set with localGuestAccountName in order to make the local guest account sign-in experience work properly for secure assessments. + * + * @param string $val The assessmentAppUserModelId + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAssessmentAppUserModelId($val) + { + $this->_propDict["assessmentAppUserModelId"] = $val; + return $this; + } + + /** + * Gets the configurationAccount + * The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account (username@tenant.com) or a local account (username). + * + * @return string|null The configurationAccount + */ + public function getConfigurationAccount() + { + if (array_key_exists("configurationAccount", $this->_propDict)) { + return $this->_propDict["configurationAccount"]; + } else { + return null; + } + } + + /** + * Sets the configurationAccount + * The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account (username@tenant.com) or a local account (username). + * + * @param string $val The configurationAccount + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setConfigurationAccount($val) + { + $this->_propDict["configurationAccount"] = $val; + return $this; + } + + /** + * Gets the configurationAccountType + * The account type used to by ConfigurationAccount. Possible values are: azureADAccount, domainAccount, localAccount, localGuestAccount. + * + * @return SecureAssessmentAccountType|null The configurationAccountType + */ + public function getConfigurationAccountType() + { + if (array_key_exists("configurationAccountType", $this->_propDict)) { + if (is_a($this->_propDict["configurationAccountType"], "\Beta\Microsoft\Graph\Model\SecureAssessmentAccountType") || is_null($this->_propDict["configurationAccountType"])) { + return $this->_propDict["configurationAccountType"]; + } else { + $this->_propDict["configurationAccountType"] = new SecureAssessmentAccountType($this->_propDict["configurationAccountType"]); + return $this->_propDict["configurationAccountType"]; + } + } + return null; + } + + /** + * Sets the configurationAccountType + * The account type used to by ConfigurationAccount. Possible values are: azureADAccount, domainAccount, localAccount, localGuestAccount. + * + * @param SecureAssessmentAccountType $val The configurationAccountType + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setConfigurationAccountType($val) + { + $this->_propDict["configurationAccountType"] = $val; + return $this; + } + + /** + * Gets the launchUri + * Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/). + * + * @return string|null The launchUri + */ + public function getLaunchUri() + { + if (array_key_exists("launchUri", $this->_propDict)) { + return $this->_propDict["launchUri"]; + } else { + return null; + } + } + + /** + * Sets the launchUri + * Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/). + * + * @param string $val The launchUri + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setLaunchUri($val) + { + $this->_propDict["launchUri"] = $val; + return $this; + } + + /** + * Gets the localGuestAccountName + * Specifies the display text for the local guest account shown on the sign-in screen. Typically is the name of an assessment. When the user clicks the local guest account on the sign-in screen, an assessment app is launched with a specified assessment URL. Secure assessments can only be configured with local guest account sign-in on devices running Windows 10, version 1903 or later. Important notice: this property must be set with assessmentAppUserModelID in order to make the local guest account sign-in experience work properly for secure assessments. + * + * @return string|null The localGuestAccountName + */ + public function getLocalGuestAccountName() + { + if (array_key_exists("localGuestAccountName", $this->_propDict)) { + return $this->_propDict["localGuestAccountName"]; + } else { + return null; + } + } + + /** + * Sets the localGuestAccountName + * Specifies the display text for the local guest account shown on the sign-in screen. Typically is the name of an assessment. When the user clicks the local guest account on the sign-in screen, an assessment app is launched with a specified assessment URL. Secure assessments can only be configured with local guest account sign-in on devices running Windows 10, version 1903 or later. Important notice: this property must be set with assessmentAppUserModelID in order to make the local guest account sign-in experience work properly for secure assessments. + * + * @param string $val The localGuestAccountName + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setLocalGuestAccountName($val) + { + $this->_propDict["localGuestAccountName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10TeamGeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10TeamGeneralConfiguration.php new file mode 100644 index 0000000..2df5b5b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10TeamGeneralConfiguration.php @@ -0,0 +1,619 @@ +_propDict)) { + return $this->_propDict["azureOperationalInsightsBlockTelemetry"]; + } else { + return null; + } + } + + /** + * Sets the azureOperationalInsightsBlockTelemetry + * Indicates whether or not to Block Azure Operational Insights. + * + * @param bool $val The azureOperationalInsightsBlockTelemetry + * + * @return Windows10TeamGeneralConfiguration + */ + public function setAzureOperationalInsightsBlockTelemetry($val) + { + $this->_propDict["azureOperationalInsightsBlockTelemetry"] = boolval($val); + return $this; + } + + /** + * Gets the azureOperationalInsightsWorkspaceId + * The Azure Operational Insights workspace id. + * + * @return string|null The azureOperationalInsightsWorkspaceId + */ + public function getAzureOperationalInsightsWorkspaceId() + { + if (array_key_exists("azureOperationalInsightsWorkspaceId", $this->_propDict)) { + return $this->_propDict["azureOperationalInsightsWorkspaceId"]; + } else { + return null; + } + } + + /** + * Sets the azureOperationalInsightsWorkspaceId + * The Azure Operational Insights workspace id. + * + * @param string $val The azureOperationalInsightsWorkspaceId + * + * @return Windows10TeamGeneralConfiguration + */ + public function setAzureOperationalInsightsWorkspaceId($val) + { + $this->_propDict["azureOperationalInsightsWorkspaceId"] = $val; + return $this; + } + + /** + * Gets the azureOperationalInsightsWorkspaceKey + * The Azure Operational Insights Workspace key. + * + * @return string|null The azureOperationalInsightsWorkspaceKey + */ + public function getAzureOperationalInsightsWorkspaceKey() + { + if (array_key_exists("azureOperationalInsightsWorkspaceKey", $this->_propDict)) { + return $this->_propDict["azureOperationalInsightsWorkspaceKey"]; + } else { + return null; + } + } + + /** + * Sets the azureOperationalInsightsWorkspaceKey + * The Azure Operational Insights Workspace key. + * + * @param string $val The azureOperationalInsightsWorkspaceKey + * + * @return Windows10TeamGeneralConfiguration + */ + public function setAzureOperationalInsightsWorkspaceKey($val) + { + $this->_propDict["azureOperationalInsightsWorkspaceKey"] = $val; + return $this; + } + + /** + * Gets the connectAppBlockAutoLaunch + * Specifies whether to automatically launch the Connect app whenever a projection is initiated. + * + * @return bool|null The connectAppBlockAutoLaunch + */ + public function getConnectAppBlockAutoLaunch() + { + if (array_key_exists("connectAppBlockAutoLaunch", $this->_propDict)) { + return $this->_propDict["connectAppBlockAutoLaunch"]; + } else { + return null; + } + } + + /** + * Sets the connectAppBlockAutoLaunch + * Specifies whether to automatically launch the Connect app whenever a projection is initiated. + * + * @param bool $val The connectAppBlockAutoLaunch + * + * @return Windows10TeamGeneralConfiguration + */ + public function setConnectAppBlockAutoLaunch($val) + { + $this->_propDict["connectAppBlockAutoLaunch"] = boolval($val); + return $this; + } + + /** + * Gets the maintenanceWindowBlocked + * Indicates whether or not to Block setting a maintenance window for device updates. + * + * @return bool|null The maintenanceWindowBlocked + */ + public function getMaintenanceWindowBlocked() + { + if (array_key_exists("maintenanceWindowBlocked", $this->_propDict)) { + return $this->_propDict["maintenanceWindowBlocked"]; + } else { + return null; + } + } + + /** + * Sets the maintenanceWindowBlocked + * Indicates whether or not to Block setting a maintenance window for device updates. + * + * @param bool $val The maintenanceWindowBlocked + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMaintenanceWindowBlocked($val) + { + $this->_propDict["maintenanceWindowBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the maintenanceWindowDurationInHours + * Maintenance window duration for device updates. Valid values 0 to 5 + * + * @return int|null The maintenanceWindowDurationInHours + */ + public function getMaintenanceWindowDurationInHours() + { + if (array_key_exists("maintenanceWindowDurationInHours", $this->_propDict)) { + return $this->_propDict["maintenanceWindowDurationInHours"]; + } else { + return null; + } + } + + /** + * Sets the maintenanceWindowDurationInHours + * Maintenance window duration for device updates. Valid values 0 to 5 + * + * @param int $val The maintenanceWindowDurationInHours + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMaintenanceWindowDurationInHours($val) + { + $this->_propDict["maintenanceWindowDurationInHours"] = intval($val); + return $this; + } + + /** + * Gets the maintenanceWindowStartTime + * Maintenance window start time for device updates. + * + * @return TimeOfDay|null The maintenanceWindowStartTime + */ + public function getMaintenanceWindowStartTime() + { + if (array_key_exists("maintenanceWindowStartTime", $this->_propDict)) { + if (is_a($this->_propDict["maintenanceWindowStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["maintenanceWindowStartTime"])) { + return $this->_propDict["maintenanceWindowStartTime"]; + } else { + $this->_propDict["maintenanceWindowStartTime"] = new TimeOfDay($this->_propDict["maintenanceWindowStartTime"]); + return $this->_propDict["maintenanceWindowStartTime"]; + } + } + return null; + } + + /** + * Sets the maintenanceWindowStartTime + * Maintenance window start time for device updates. + * + * @param TimeOfDay $val The maintenanceWindowStartTime + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMaintenanceWindowStartTime($val) + { + $this->_propDict["maintenanceWindowStartTime"] = $val; + return $this; + } + + /** + * Gets the miracastBlocked + * Indicates whether or not to Block wireless projection. + * + * @return bool|null The miracastBlocked + */ + public function getMiracastBlocked() + { + if (array_key_exists("miracastBlocked", $this->_propDict)) { + return $this->_propDict["miracastBlocked"]; + } else { + return null; + } + } + + /** + * Sets the miracastBlocked + * Indicates whether or not to Block wireless projection. + * + * @param bool $val The miracastBlocked + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMiracastBlocked($val) + { + $this->_propDict["miracastBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the miracastChannel + * The channel. Possible values are: userDefined, one, two, three, four, five, six, seven, eight, nine, ten, eleven, thirtySix, forty, fortyFour, fortyEight, oneHundredFortyNine, oneHundredFiftyThree, oneHundredFiftySeven, oneHundredSixtyOne, oneHundredSixtyFive. + * + * @return MiracastChannel|null The miracastChannel + */ + public function getMiracastChannel() + { + if (array_key_exists("miracastChannel", $this->_propDict)) { + if (is_a($this->_propDict["miracastChannel"], "\Beta\Microsoft\Graph\Model\MiracastChannel") || is_null($this->_propDict["miracastChannel"])) { + return $this->_propDict["miracastChannel"]; + } else { + $this->_propDict["miracastChannel"] = new MiracastChannel($this->_propDict["miracastChannel"]); + return $this->_propDict["miracastChannel"]; + } + } + return null; + } + + /** + * Sets the miracastChannel + * The channel. Possible values are: userDefined, one, two, three, four, five, six, seven, eight, nine, ten, eleven, thirtySix, forty, fortyFour, fortyEight, oneHundredFortyNine, oneHundredFiftyThree, oneHundredFiftySeven, oneHundredSixtyOne, oneHundredSixtyFive. + * + * @param MiracastChannel $val The miracastChannel + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMiracastChannel($val) + { + $this->_propDict["miracastChannel"] = $val; + return $this; + } + + /** + * Gets the miracastRequirePin + * Indicates whether or not to require a pin for wireless projection. + * + * @return bool|null The miracastRequirePin + */ + public function getMiracastRequirePin() + { + if (array_key_exists("miracastRequirePin", $this->_propDict)) { + return $this->_propDict["miracastRequirePin"]; + } else { + return null; + } + } + + /** + * Sets the miracastRequirePin + * Indicates whether or not to require a pin for wireless projection. + * + * @param bool $val The miracastRequirePin + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMiracastRequirePin($val) + { + $this->_propDict["miracastRequirePin"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockMyMeetingsAndFiles + * Specifies whether to disable the 'My meetings and files' feature in the Start menu, which shows the signed-in user's meetings and files from Office 365. + * + * @return bool|null The settingsBlockMyMeetingsAndFiles + */ + public function getSettingsBlockMyMeetingsAndFiles() + { + if (array_key_exists("settingsBlockMyMeetingsAndFiles", $this->_propDict)) { + return $this->_propDict["settingsBlockMyMeetingsAndFiles"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockMyMeetingsAndFiles + * Specifies whether to disable the 'My meetings and files' feature in the Start menu, which shows the signed-in user's meetings and files from Office 365. + * + * @param bool $val The settingsBlockMyMeetingsAndFiles + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsBlockMyMeetingsAndFiles($val) + { + $this->_propDict["settingsBlockMyMeetingsAndFiles"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSessionResume + * Specifies whether to allow the ability to resume a session when the session times out. + * + * @return bool|null The settingsBlockSessionResume + */ + public function getSettingsBlockSessionResume() + { + if (array_key_exists("settingsBlockSessionResume", $this->_propDict)) { + return $this->_propDict["settingsBlockSessionResume"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSessionResume + * Specifies whether to allow the ability to resume a session when the session times out. + * + * @param bool $val The settingsBlockSessionResume + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsBlockSessionResume($val) + { + $this->_propDict["settingsBlockSessionResume"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSigninSuggestions + * Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings. + * + * @return bool|null The settingsBlockSigninSuggestions + */ + public function getSettingsBlockSigninSuggestions() + { + if (array_key_exists("settingsBlockSigninSuggestions", $this->_propDict)) { + return $this->_propDict["settingsBlockSigninSuggestions"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSigninSuggestions + * Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings. + * + * @param bool $val The settingsBlockSigninSuggestions + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsBlockSigninSuggestions($val) + { + $this->_propDict["settingsBlockSigninSuggestions"] = boolval($val); + return $this; + } + + /** + * Gets the settingsDefaultVolume + * Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100 + * + * @return int|null The settingsDefaultVolume + */ + public function getSettingsDefaultVolume() + { + if (array_key_exists("settingsDefaultVolume", $this->_propDict)) { + return $this->_propDict["settingsDefaultVolume"]; + } else { + return null; + } + } + + /** + * Sets the settingsDefaultVolume + * Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100 + * + * @param int $val The settingsDefaultVolume + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsDefaultVolume($val) + { + $this->_propDict["settingsDefaultVolume"] = intval($val); + return $this; + } + + /** + * Gets the settingsScreenTimeoutInMinutes + * Specifies the number of minutes until the Hub screen turns off. + * + * @return int|null The settingsScreenTimeoutInMinutes + */ + public function getSettingsScreenTimeoutInMinutes() + { + if (array_key_exists("settingsScreenTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["settingsScreenTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the settingsScreenTimeoutInMinutes + * Specifies the number of minutes until the Hub screen turns off. + * + * @param int $val The settingsScreenTimeoutInMinutes + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsScreenTimeoutInMinutes($val) + { + $this->_propDict["settingsScreenTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the settingsSessionTimeoutInMinutes + * Specifies the number of minutes until the session times out. + * + * @return int|null The settingsSessionTimeoutInMinutes + */ + public function getSettingsSessionTimeoutInMinutes() + { + if (array_key_exists("settingsSessionTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["settingsSessionTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the settingsSessionTimeoutInMinutes + * Specifies the number of minutes until the session times out. + * + * @param int $val The settingsSessionTimeoutInMinutes + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsSessionTimeoutInMinutes($val) + { + $this->_propDict["settingsSessionTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the settingsSleepTimeoutInMinutes + * Specifies the number of minutes until the Hub enters sleep mode. + * + * @return int|null The settingsSleepTimeoutInMinutes + */ + public function getSettingsSleepTimeoutInMinutes() + { + if (array_key_exists("settingsSleepTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["settingsSleepTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the settingsSleepTimeoutInMinutes + * Specifies the number of minutes until the Hub enters sleep mode. + * + * @param int $val The settingsSleepTimeoutInMinutes + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsSleepTimeoutInMinutes($val) + { + $this->_propDict["settingsSleepTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the welcomeScreenBackgroundImageUrl + * The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image. + * + * @return string|null The welcomeScreenBackgroundImageUrl + */ + public function getWelcomeScreenBackgroundImageUrl() + { + if (array_key_exists("welcomeScreenBackgroundImageUrl", $this->_propDict)) { + return $this->_propDict["welcomeScreenBackgroundImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the welcomeScreenBackgroundImageUrl + * The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image. + * + * @param string $val The welcomeScreenBackgroundImageUrl + * + * @return Windows10TeamGeneralConfiguration + */ + public function setWelcomeScreenBackgroundImageUrl($val) + { + $this->_propDict["welcomeScreenBackgroundImageUrl"] = $val; + return $this; + } + + /** + * Gets the welcomeScreenBlockAutomaticWakeUp + * Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room. + * + * @return bool|null The welcomeScreenBlockAutomaticWakeUp + */ + public function getWelcomeScreenBlockAutomaticWakeUp() + { + if (array_key_exists("welcomeScreenBlockAutomaticWakeUp", $this->_propDict)) { + return $this->_propDict["welcomeScreenBlockAutomaticWakeUp"]; + } else { + return null; + } + } + + /** + * Sets the welcomeScreenBlockAutomaticWakeUp + * Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room. + * + * @param bool $val The welcomeScreenBlockAutomaticWakeUp + * + * @return Windows10TeamGeneralConfiguration + */ + public function setWelcomeScreenBlockAutomaticWakeUp($val) + { + $this->_propDict["welcomeScreenBlockAutomaticWakeUp"] = boolval($val); + return $this; + } + + /** + * Gets the welcomeScreenMeetingInformation + * The welcome screen meeting information shown. Possible values are: userDefined, showOrganizerAndTimeOnly, showOrganizerAndTimeAndSubject. + * + * @return WelcomeScreenMeetingInformation|null The welcomeScreenMeetingInformation + */ + public function getWelcomeScreenMeetingInformation() + { + if (array_key_exists("welcomeScreenMeetingInformation", $this->_propDict)) { + if (is_a($this->_propDict["welcomeScreenMeetingInformation"], "\Beta\Microsoft\Graph\Model\WelcomeScreenMeetingInformation") || is_null($this->_propDict["welcomeScreenMeetingInformation"])) { + return $this->_propDict["welcomeScreenMeetingInformation"]; + } else { + $this->_propDict["welcomeScreenMeetingInformation"] = new WelcomeScreenMeetingInformation($this->_propDict["welcomeScreenMeetingInformation"]); + return $this->_propDict["welcomeScreenMeetingInformation"]; + } + } + return null; + } + + /** + * Sets the welcomeScreenMeetingInformation + * The welcome screen meeting information shown. Possible values are: userDefined, showOrganizerAndTimeOnly, showOrganizerAndTimeAndSubject. + * + * @param WelcomeScreenMeetingInformation $val The welcomeScreenMeetingInformation + * + * @return Windows10TeamGeneralConfiguration + */ + public function setWelcomeScreenMeetingInformation($val) + { + $this->_propDict["welcomeScreenMeetingInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnAuthenticationMethod.php new file mode 100644 index 0000000..487d6cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnAuthenticationMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["associatedApps"]; + } else { + return null; + } + } + + /** + * Sets the associatedApps + * Associated Apps. This collection can contain a maximum of 10000 elements. + * + * @param Windows10AssociatedApps[] $val The associatedApps + * + * @return Windows10VpnConfiguration + */ + public function setAssociatedApps($val) + { + $this->_propDict["associatedApps"] = $val; + return $this; + } + + /** + * Gets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, customEapXml, derivedCredential. + * + * @return Windows10VpnAuthenticationMethod|null The authenticationMethod + */ + public function getAuthenticationMethod() + { + if (array_key_exists("authenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\Windows10VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new Windows10VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, customEapXml, derivedCredential. + * + * @param Windows10VpnAuthenticationMethod $val The authenticationMethod + * + * @return Windows10VpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, automatic, ikEv2, l2tp, pptp, citrix, paloAltoGlobalProtect, ciscoAnyConnect, unknownFutureValue, microsoftTunnel. + * + * @return Windows10VpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\Windows10VpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new Windows10VpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn, automatic, ikEv2, l2tp, pptp, citrix, paloAltoGlobalProtect, ciscoAnyConnect, unknownFutureValue, microsoftTunnel. + * + * @param Windows10VpnConnectionType $val The connectionType + * + * @return Windows10VpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + /** + * Gets the cryptographySuite + * Cryptography Suite security settings for IKEv2 VPN in Windows10 and above + * + * @return CryptographySuite|null The cryptographySuite + */ + public function getCryptographySuite() + { + if (array_key_exists("cryptographySuite", $this->_propDict)) { + if (is_a($this->_propDict["cryptographySuite"], "\Beta\Microsoft\Graph\Model\CryptographySuite") || is_null($this->_propDict["cryptographySuite"])) { + return $this->_propDict["cryptographySuite"]; + } else { + $this->_propDict["cryptographySuite"] = new CryptographySuite($this->_propDict["cryptographySuite"]); + return $this->_propDict["cryptographySuite"]; + } + } + return null; + } + + /** + * Sets the cryptographySuite + * Cryptography Suite security settings for IKEv2 VPN in Windows10 and above + * + * @param CryptographySuite $val The cryptographySuite + * + * @return Windows10VpnConfiguration + */ + public function setCryptographySuite($val) + { + $this->_propDict["cryptographySuite"] = $val; + return $this; + } + + + /** + * Gets the dnsRules + * DNS rules. This collection can contain a maximum of 1000 elements. + * + * @return array|null The dnsRules + */ + public function getDnsRules() + { + if (array_key_exists("dnsRules", $this->_propDict)) { + return $this->_propDict["dnsRules"]; + } else { + return null; + } + } + + /** + * Sets the dnsRules + * DNS rules. This collection can contain a maximum of 1000 elements. + * + * @param VpnDnsRule[] $val The dnsRules + * + * @return Windows10VpnConfiguration + */ + public function setDnsRules($val) + { + $this->_propDict["dnsRules"] = $val; + return $this; + } + + /** + * Gets the dnsSuffixes + * Specify DNS suffixes to add to the DNS search list to properly route short names. + * + * @return string|null The dnsSuffixes + */ + public function getDnsSuffixes() + { + if (array_key_exists("dnsSuffixes", $this->_propDict)) { + return $this->_propDict["dnsSuffixes"]; + } else { + return null; + } + } + + /** + * Sets the dnsSuffixes + * Specify DNS suffixes to add to the DNS search list to properly route short names. + * + * @param string $val The dnsSuffixes + * + * @return Windows10VpnConfiguration + */ + public function setDnsSuffixes($val) + { + $this->_propDict["dnsSuffixes"] = $val; + return $this; + } + + /** + * Gets the eapXml + * Extensible Authentication Protocol (EAP) XML. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The eapXml + */ + public function getEapXml() + { + if (array_key_exists("eapXml", $this->_propDict)) { + if (is_a($this->_propDict["eapXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["eapXml"])) { + return $this->_propDict["eapXml"]; + } else { + $this->_propDict["eapXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["eapXml"]); + return $this->_propDict["eapXml"]; + } + } + return null; + } + + /** + * Sets the eapXml + * Extensible Authentication Protocol (EAP) XML. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The eapXml + * + * @return Windows10VpnConfiguration + */ + public function setEapXml($val) + { + $this->_propDict["eapXml"] = $val; + return $this; + } + + /** + * Gets the enableAlwaysOn + * Enable Always On mode. + * + * @return bool|null The enableAlwaysOn + */ + public function getEnableAlwaysOn() + { + if (array_key_exists("enableAlwaysOn", $this->_propDict)) { + return $this->_propDict["enableAlwaysOn"]; + } else { + return null; + } + } + + /** + * Sets the enableAlwaysOn + * Enable Always On mode. + * + * @param bool $val The enableAlwaysOn + * + * @return Windows10VpnConfiguration + */ + public function setEnableAlwaysOn($val) + { + $this->_propDict["enableAlwaysOn"] = boolval($val); + return $this; + } + + /** + * Gets the enableConditionalAccess + * Enable conditional access. + * + * @return bool|null The enableConditionalAccess + */ + public function getEnableConditionalAccess() + { + if (array_key_exists("enableConditionalAccess", $this->_propDict)) { + return $this->_propDict["enableConditionalAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableConditionalAccess + * Enable conditional access. + * + * @param bool $val The enableConditionalAccess + * + * @return Windows10VpnConfiguration + */ + public function setEnableConditionalAccess($val) + { + $this->_propDict["enableConditionalAccess"] = boolval($val); + return $this; + } + + /** + * Gets the enableDeviceTunnel + * Enable device tunnel. + * + * @return bool|null The enableDeviceTunnel + */ + public function getEnableDeviceTunnel() + { + if (array_key_exists("enableDeviceTunnel", $this->_propDict)) { + return $this->_propDict["enableDeviceTunnel"]; + } else { + return null; + } + } + + /** + * Sets the enableDeviceTunnel + * Enable device tunnel. + * + * @param bool $val The enableDeviceTunnel + * + * @return Windows10VpnConfiguration + */ + public function setEnableDeviceTunnel($val) + { + $this->_propDict["enableDeviceTunnel"] = boolval($val); + return $this; + } + + /** + * Gets the enableDnsRegistration + * Enable IP address registration with internal DNS. + * + * @return bool|null The enableDnsRegistration + */ + public function getEnableDnsRegistration() + { + if (array_key_exists("enableDnsRegistration", $this->_propDict)) { + return $this->_propDict["enableDnsRegistration"]; + } else { + return null; + } + } + + /** + * Sets the enableDnsRegistration + * Enable IP address registration with internal DNS. + * + * @param bool $val The enableDnsRegistration + * + * @return Windows10VpnConfiguration + */ + public function setEnableDnsRegistration($val) + { + $this->_propDict["enableDnsRegistration"] = boolval($val); + return $this; + } + + /** + * Gets the enableSingleSignOnWithAlternateCertificate + * Enable single sign-on (SSO) with alternate certificate. + * + * @return bool|null The enableSingleSignOnWithAlternateCertificate + */ + public function getEnableSingleSignOnWithAlternateCertificate() + { + if (array_key_exists("enableSingleSignOnWithAlternateCertificate", $this->_propDict)) { + return $this->_propDict["enableSingleSignOnWithAlternateCertificate"]; + } else { + return null; + } + } + + /** + * Sets the enableSingleSignOnWithAlternateCertificate + * Enable single sign-on (SSO) with alternate certificate. + * + * @param bool $val The enableSingleSignOnWithAlternateCertificate + * + * @return Windows10VpnConfiguration + */ + public function setEnableSingleSignOnWithAlternateCertificate($val) + { + $this->_propDict["enableSingleSignOnWithAlternateCertificate"] = boolval($val); + return $this; + } + + /** + * Gets the enableSplitTunneling + * Enable split tunneling. + * + * @return bool|null The enableSplitTunneling + */ + public function getEnableSplitTunneling() + { + if (array_key_exists("enableSplitTunneling", $this->_propDict)) { + return $this->_propDict["enableSplitTunneling"]; + } else { + return null; + } + } + + /** + * Sets the enableSplitTunneling + * Enable split tunneling. + * + * @param bool $val The enableSplitTunneling + * + * @return Windows10VpnConfiguration + */ + public function setEnableSplitTunneling($val) + { + $this->_propDict["enableSplitTunneling"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftTunnelSiteId + * ID of the Microsoft Tunnel site associated with the VPN profile. + * + * @return string|null The microsoftTunnelSiteId + */ + public function getMicrosoftTunnelSiteId() + { + if (array_key_exists("microsoftTunnelSiteId", $this->_propDict)) { + return $this->_propDict["microsoftTunnelSiteId"]; + } else { + return null; + } + } + + /** + * Sets the microsoftTunnelSiteId + * ID of the Microsoft Tunnel site associated with the VPN profile. + * + * @param string $val The microsoftTunnelSiteId + * + * @return Windows10VpnConfiguration + */ + public function setMicrosoftTunnelSiteId($val) + { + $this->_propDict["microsoftTunnelSiteId"] = $val; + return $this; + } + + /** + * Gets the onlyAssociatedAppsCanUseConnection + * Only associated Apps can use connection (per-app VPN). + * + * @return bool|null The onlyAssociatedAppsCanUseConnection + */ + public function getOnlyAssociatedAppsCanUseConnection() + { + if (array_key_exists("onlyAssociatedAppsCanUseConnection", $this->_propDict)) { + return $this->_propDict["onlyAssociatedAppsCanUseConnection"]; + } else { + return null; + } + } + + /** + * Sets the onlyAssociatedAppsCanUseConnection + * Only associated Apps can use connection (per-app VPN). + * + * @param bool $val The onlyAssociatedAppsCanUseConnection + * + * @return Windows10VpnConfiguration + */ + public function setOnlyAssociatedAppsCanUseConnection($val) + { + $this->_propDict["onlyAssociatedAppsCanUseConnection"] = boolval($val); + return $this; + } + + /** + * Gets the profileTarget + * Profile target type. Possible values are: user, device, autoPilotDevice. + * + * @return Windows10VpnProfileTarget|null The profileTarget + */ + public function getProfileTarget() + { + if (array_key_exists("profileTarget", $this->_propDict)) { + if (is_a($this->_propDict["profileTarget"], "\Beta\Microsoft\Graph\Model\Windows10VpnProfileTarget") || is_null($this->_propDict["profileTarget"])) { + return $this->_propDict["profileTarget"]; + } else { + $this->_propDict["profileTarget"] = new Windows10VpnProfileTarget($this->_propDict["profileTarget"]); + return $this->_propDict["profileTarget"]; + } + } + return null; + } + + /** + * Sets the profileTarget + * Profile target type. Possible values are: user, device, autoPilotDevice. + * + * @param Windows10VpnProfileTarget $val The profileTarget + * + * @return Windows10VpnConfiguration + */ + public function setProfileTarget($val) + { + $this->_propDict["profileTarget"] = $val; + return $this; + } + + /** + * Gets the proxyServer + * Proxy Server. + * + * @return Windows10VpnProxyServer|null The proxyServer + */ + public function getProxyServer() + { + if (array_key_exists("proxyServer", $this->_propDict)) { + if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\Windows10VpnProxyServer") || is_null($this->_propDict["proxyServer"])) { + return $this->_propDict["proxyServer"]; + } else { + $this->_propDict["proxyServer"] = new Windows10VpnProxyServer($this->_propDict["proxyServer"]); + return $this->_propDict["proxyServer"]; + } + } + return null; + } + + /** + * Sets the proxyServer + * Proxy Server. + * + * @param Windows10VpnProxyServer $val The proxyServer + * + * @return Windows10VpnConfiguration + */ + public function setProxyServer($val) + { + $this->_propDict["proxyServer"] = $val; + return $this; + } + + /** + * Gets the rememberUserCredentials + * Remember user credentials. + * + * @return bool|null The rememberUserCredentials + */ + public function getRememberUserCredentials() + { + if (array_key_exists("rememberUserCredentials", $this->_propDict)) { + return $this->_propDict["rememberUserCredentials"]; + } else { + return null; + } + } + + /** + * Sets the rememberUserCredentials + * Remember user credentials. + * + * @param bool $val The rememberUserCredentials + * + * @return Windows10VpnConfiguration + */ + public function setRememberUserCredentials($val) + { + $this->_propDict["rememberUserCredentials"] = boolval($val); + return $this; + } + + + /** + * Gets the routes + * Routes (optional for third-party providers). This collection can contain a maximum of 1000 elements. + * + * @return array|null The routes + */ + public function getRoutes() + { + if (array_key_exists("routes", $this->_propDict)) { + return $this->_propDict["routes"]; + } else { + return null; + } + } + + /** + * Sets the routes + * Routes (optional for third-party providers). This collection can contain a maximum of 1000 elements. + * + * @param VpnRoute[] $val The routes + * + * @return Windows10VpnConfiguration + */ + public function setRoutes($val) + { + $this->_propDict["routes"] = $val; + return $this; + } + + /** + * Gets the singleSignOnEku + * Single sign-on Extended Key Usage (EKU). + * + * @return ExtendedKeyUsage|null The singleSignOnEku + */ + public function getSingleSignOnEku() + { + if (array_key_exists("singleSignOnEku", $this->_propDict)) { + if (is_a($this->_propDict["singleSignOnEku"], "\Beta\Microsoft\Graph\Model\ExtendedKeyUsage") || is_null($this->_propDict["singleSignOnEku"])) { + return $this->_propDict["singleSignOnEku"]; + } else { + $this->_propDict["singleSignOnEku"] = new ExtendedKeyUsage($this->_propDict["singleSignOnEku"]); + return $this->_propDict["singleSignOnEku"]; + } + } + return null; + } + + /** + * Sets the singleSignOnEku + * Single sign-on Extended Key Usage (EKU). + * + * @param ExtendedKeyUsage $val The singleSignOnEku + * + * @return Windows10VpnConfiguration + */ + public function setSingleSignOnEku($val) + { + $this->_propDict["singleSignOnEku"] = $val; + return $this; + } + + /** + * Gets the singleSignOnIssuerHash + * Single sign-on issuer hash. + * + * @return string|null The singleSignOnIssuerHash + */ + public function getSingleSignOnIssuerHash() + { + if (array_key_exists("singleSignOnIssuerHash", $this->_propDict)) { + return $this->_propDict["singleSignOnIssuerHash"]; + } else { + return null; + } + } + + /** + * Sets the singleSignOnIssuerHash + * Single sign-on issuer hash. + * + * @param string $val The singleSignOnIssuerHash + * + * @return Windows10VpnConfiguration + */ + public function setSingleSignOnIssuerHash($val) + { + $this->_propDict["singleSignOnIssuerHash"] = $val; + return $this; + } + + + /** + * Gets the trafficRules + * Traffic rules. This collection can contain a maximum of 1000 elements. + * + * @return array|null The trafficRules + */ + public function getTrafficRules() + { + if (array_key_exists("trafficRules", $this->_propDict)) { + return $this->_propDict["trafficRules"]; + } else { + return null; + } + } + + /** + * Sets the trafficRules + * Traffic rules. This collection can contain a maximum of 1000 elements. + * + * @param VpnTrafficRule[] $val The trafficRules + * + * @return Windows10VpnConfiguration + */ + public function setTrafficRules($val) + { + $this->_propDict["trafficRules"] = $val; + return $this; + } + + /** + * Gets the trustedNetworkDomains + * Trusted Network Domains + * + * @return string|null The trustedNetworkDomains + */ + public function getTrustedNetworkDomains() + { + if (array_key_exists("trustedNetworkDomains", $this->_propDict)) { + return $this->_propDict["trustedNetworkDomains"]; + } else { + return null; + } + } + + /** + * Sets the trustedNetworkDomains + * Trusted Network Domains + * + * @param string $val The trustedNetworkDomains + * + * @return Windows10VpnConfiguration + */ + public function setTrustedNetworkDomains($val) + { + $this->_propDict["trustedNetworkDomains"] = $val; + return $this; + } + + /** + * Gets the windowsInformationProtectionDomain + * Windows Information Protection (WIP) domain to associate with this connection. + * + * @return string|null The windowsInformationProtectionDomain + */ + public function getWindowsInformationProtectionDomain() + { + if (array_key_exists("windowsInformationProtectionDomain", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionDomain"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionDomain + * Windows Information Protection (WIP) domain to associate with this connection. + * + * @param string $val The windowsInformationProtectionDomain + * + * @return Windows10VpnConfiguration + */ + public function setWindowsInformationProtectionDomain($val) + { + $this->_propDict["windowsInformationProtectionDomain"] = $val; + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return WindowsCertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\WindowsCertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new WindowsCertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param WindowsCertificateProfileBase $val The identityCertificate + * + * @return Windows10VpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnConnectionType.php new file mode 100644 index 0000000..0b33f3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnConnectionType.php @@ -0,0 +1,45 @@ +_propDict)) { + return $this->_propDict["bypassProxyServerForLocalAddress"]; + } else { + return null; + } + } + + /** + * Sets the bypassProxyServerForLocalAddress + * Bypass proxy server for local address. + * + * @param bool $val The value of the bypassProxyServerForLocalAddress + * + * @return Windows10VpnProxyServer + */ + public function setBypassProxyServerForLocalAddress($val) + { + $this->_propDict["bypassProxyServerForLocalAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XCertificateProfile.php new file mode 100644 index 0000000..a1f9bd0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XCertificateProfile.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Custom SAN Name + * + * @param string $val The value of the name + * + * @return Windows10XCustomSubjectAlternativeName + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the sanType + * Custom SAN Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The sanType + */ + public function getSanType() + { + if (array_key_exists("sanType", $this->_propDict)) { + if (is_a($this->_propDict["sanType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["sanType"])) { + return $this->_propDict["sanType"]; + } else { + $this->_propDict["sanType"] = new SubjectAlternativeNameType($this->_propDict["sanType"]); + return $this->_propDict["sanType"]; + } + } + return null; + } + + /** + * Sets the sanType + * Custom SAN Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The value to assign to the sanType + * + * @return Windows10XCustomSubjectAlternativeName The Windows10XCustomSubjectAlternativeName + */ + public function setSanType($val) + { + $this->_propDict["sanType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XSCEPCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XSCEPCertificateProfile.php new file mode 100644 index 0000000..f847ab9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XSCEPCertificateProfile.php @@ -0,0 +1,427 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return Windows10XSCEPCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @return CertificateValidityPeriodScale|null The certificateValidityPeriodScale + */ + public function getCertificateValidityPeriodScale() + { + if (array_key_exists("certificateValidityPeriodScale", $this->_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return Windows10XSCEPCertificateProfile + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period + * + * @param int $val The certificateValidityPeriodValue + * + * @return Windows10XSCEPCertificateProfile + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return Windows10XSCEPCertificateProfile + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. + * + * @return array|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + return $this->_propDict["hashAlgorithm"]; + } else { + return null; + } + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. + * + * @param HashAlgorithms[] $val The hashAlgorithm + * + * @return Windows10XSCEPCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return Windows10XSCEPCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyStorageProvider + * Key Storage Provider (KSP). Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @return KeyStorageProviderOption|null The keyStorageProvider + */ + public function getKeyStorageProvider() + { + if (array_key_exists("keyStorageProvider", $this->_propDict)) { + if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption") || is_null($this->_propDict["keyStorageProvider"])) { + return $this->_propDict["keyStorageProvider"]; + } else { + $this->_propDict["keyStorageProvider"] = new KeyStorageProviderOption($this->_propDict["keyStorageProvider"]); + return $this->_propDict["keyStorageProvider"]; + } + } + return null; + } + + /** + * Sets the keyStorageProvider + * Key Storage Provider (KSP). Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @param KeyStorageProviderOption $val The keyStorageProvider + * + * @return Windows10XSCEPCertificateProfile + */ + public function setKeyStorageProvider($val) + { + $this->_propDict["keyStorageProvider"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return Windows10XSCEPCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage + * + * @param int $val The renewalThresholdPercentage + * + * @return Windows10XSCEPCertificateProfile + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the rootCertificateId + * Trusted Root Certificate ID + * + * @return string|null The rootCertificateId + */ + public function getRootCertificateId() + { + if (array_key_exists("rootCertificateId", $this->_propDict)) { + return $this->_propDict["rootCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the rootCertificateId + * Trusted Root Certificate ID + * + * @param string $val The rootCertificateId + * + * @return Windows10XSCEPCertificateProfile + */ + public function setRootCertificateId($val) + { + $this->_propDict["rootCertificateId"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s). + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s). + * + * @param string $val The scepServerUrls + * + * @return Windows10XSCEPCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + + /** + * Gets the subjectAlternativeNameFormats + * Custom AAD Attributes. + * + * @return array|null The subjectAlternativeNameFormats + */ + public function getSubjectAlternativeNameFormats() + { + if (array_key_exists("subjectAlternativeNameFormats", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormats"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormats + * Custom AAD Attributes. + * + * @param Windows10XCustomSubjectAlternativeName[] $val The subjectAlternativeNameFormats + * + * @return Windows10XSCEPCertificateProfile + */ + public function setSubjectAlternativeNameFormats($val) + { + $this->_propDict["subjectAlternativeNameFormats"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return Windows10XSCEPCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XTrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XTrustedRootCertificate.php new file mode 100644 index 0000000..1e3b920 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XTrustedRootCertificate.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return Windows10XTrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the destinationStore + * Destination store location for the Trusted Root Certificate. Possible values are: computerCertStoreRoot, computerCertStoreIntermediate, userCertStoreIntermediate. + * + * @return CertificateDestinationStore|null The destinationStore + */ + public function getDestinationStore() + { + if (array_key_exists("destinationStore", $this->_propDict)) { + if (is_a($this->_propDict["destinationStore"], "\Beta\Microsoft\Graph\Model\CertificateDestinationStore") || is_null($this->_propDict["destinationStore"])) { + return $this->_propDict["destinationStore"]; + } else { + $this->_propDict["destinationStore"] = new CertificateDestinationStore($this->_propDict["destinationStore"]); + return $this->_propDict["destinationStore"]; + } + } + return null; + } + + /** + * Sets the destinationStore + * Destination store location for the Trusted Root Certificate. Possible values are: computerCertStoreRoot, computerCertStoreIntermediate, userCertStoreIntermediate. + * + * @param CertificateDestinationStore $val The destinationStore + * + * @return Windows10XTrustedRootCertificate + */ + public function setDestinationStore($val) + { + $this->_propDict["destinationStore"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return Windows10XTrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XVpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XVpnConfiguration.php new file mode 100644 index 0000000..4c86fa4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XVpnConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["authenticationCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the authenticationCertificateId + * ID to the Authentication Certificate + * + * @param string $val The authenticationCertificateId + * + * @return Windows10XVpnConfiguration + */ + public function setAuthenticationCertificateId($val) + { + $this->_propDict["authenticationCertificateId"] = $val; + return $this; + } + + /** + * Gets the customXml + * Custom XML commands that configures the VPN connection. (UTF8 byte encoding) + * + * @return \GuzzleHttp\Psr7\Stream|null The customXml + */ + public function getCustomXml() + { + if (array_key_exists("customXml", $this->_propDict)) { + if (is_a($this->_propDict["customXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customXml"])) { + return $this->_propDict["customXml"]; + } else { + $this->_propDict["customXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customXml"]); + return $this->_propDict["customXml"]; + } + } + return null; + } + + /** + * Sets the customXml + * Custom XML commands that configures the VPN connection. (UTF8 byte encoding) + * + * @param \GuzzleHttp\Psr7\Stream $val The customXml + * + * @return Windows10XVpnConfiguration + */ + public function setCustomXml($val) + { + $this->_propDict["customXml"] = $val; + return $this; + } + + /** + * Gets the customXmlFileName + * Custom Xml file name. + * + * @return string|null The customXmlFileName + */ + public function getCustomXmlFileName() + { + if (array_key_exists("customXmlFileName", $this->_propDict)) { + return $this->_propDict["customXmlFileName"]; + } else { + return null; + } + } + + /** + * Sets the customXmlFileName + * Custom Xml file name. + * + * @param string $val The customXmlFileName + * + * @return Windows10XVpnConfiguration + */ + public function setCustomXmlFileName($val) + { + $this->_propDict["customXmlFileName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XWifiConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XWifiConfiguration.php new file mode 100644 index 0000000..758abf8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XWifiConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["authenticationCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the authenticationCertificateId + * ID to the Authentication Certificate + * + * @param string $val The authenticationCertificateId + * + * @return Windows10XWifiConfiguration + */ + public function setAuthenticationCertificateId($val) + { + $this->_propDict["authenticationCertificateId"] = $val; + return $this; + } + + /** + * Gets the customXml + * Custom XML commands that configures the VPN connection. (UTF8 byte encoding) + * + * @return \GuzzleHttp\Psr7\Stream|null The customXml + */ + public function getCustomXml() + { + if (array_key_exists("customXml", $this->_propDict)) { + if (is_a($this->_propDict["customXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customXml"])) { + return $this->_propDict["customXml"]; + } else { + $this->_propDict["customXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customXml"]); + return $this->_propDict["customXml"]; + } + } + return null; + } + + /** + * Sets the customXml + * Custom XML commands that configures the VPN connection. (UTF8 byte encoding) + * + * @param \GuzzleHttp\Psr7\Stream $val The customXml + * + * @return Windows10XWifiConfiguration + */ + public function setCustomXml($val) + { + $this->_propDict["customXml"] = $val; + return $this; + } + + /** + * Gets the customXmlFileName + * Custom Xml file name. + * + * @return string|null The customXmlFileName + */ + public function getCustomXmlFileName() + { + if (array_key_exists("customXmlFileName", $this->_propDict)) { + return $this->_propDict["customXmlFileName"]; + } else { + return null; + } + } + + /** + * Sets the customXmlFileName + * Custom Xml file name. + * + * @param string $val The customXmlFileName + * + * @return Windows10XWifiConfiguration + */ + public function setCustomXmlFileName($val) + { + $this->_propDict["customXmlFileName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CertificateProfileBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CertificateProfileBase.php new file mode 100644 index 0000000..6e4ba0f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CertificateProfileBase.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["customSubjectAlternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the customSubjectAlternativeNames + * Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements. + * + * @param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames + * + * @return Windows81CertificateProfileBase + */ + public function setCustomSubjectAlternativeNames($val) + { + $this->_propDict["customSubjectAlternativeNames"] = $val; + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return Windows81CertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CompliancePolicy.php new file mode 100644 index 0000000..678b36c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CompliancePolicy.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows 8.1 version. + * + * @param string $val The osMaximumVersion + * + * @return Windows81CompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows 8.1 version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows 8.1 version. + * + * @param string $val The osMinimumVersion + * + * @return Windows81CompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows81CompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Password expiration in days. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Password expiration in days. + * + * @param int $val The passwordExpirationDays + * + * @return Windows81CompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows81CompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. + * + * @param int $val The passwordMinimumLength + * + * @return Windows81CompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return Windows81CompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows81CompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock Windows device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock Windows device. + * + * @param bool $val The passwordRequired + * + * @return Windows81CompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows81CompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the storageRequireEncryption + * Indicates whether or not to require encryption on a windows 8.1 device. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Indicates whether or not to require encryption on a windows 8.1 device. + * + * @param bool $val The storageRequireEncryption + * + * @return Windows81CompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81GeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81GeneralConfiguration.php new file mode 100644 index 0000000..3ec0709 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81GeneralConfiguration.php @@ -0,0 +1,1070 @@ +_propDict)) { + return $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"]; + } else { + return null; + } + } + + /** + * Sets the accountsBlockAddingNonMicrosoftAccountEmail + * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. + * + * @param bool $val The accountsBlockAddingNonMicrosoftAccountEmail + * + * @return Windows81GeneralConfiguration + */ + public function setAccountsBlockAddingNonMicrosoftAccountEmail($val) + { + $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"] = boolval($val); + return $this; + } + + /** + * Gets the applyOnlyToWindows81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @return bool|null The applyOnlyToWindows81 + */ + public function getApplyOnlyToWindows81() + { + if (array_key_exists("applyOnlyToWindows81", $this->_propDict)) { + return $this->_propDict["applyOnlyToWindows81"]; + } else { + return null; + } + } + + /** + * Sets the applyOnlyToWindows81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @param bool $val The applyOnlyToWindows81 + * + * @return Windows81GeneralConfiguration + */ + public function setApplyOnlyToWindows81($val) + { + $this->_propDict["applyOnlyToWindows81"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockAutofill + * Indicates whether or not to block auto fill. + * + * @return bool|null The browserBlockAutofill + */ + public function getBrowserBlockAutofill() + { + if (array_key_exists("browserBlockAutofill", $this->_propDict)) { + return $this->_propDict["browserBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockAutofill + * Indicates whether or not to block auto fill. + * + * @param bool $val The browserBlockAutofill + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockAutofill($val) + { + $this->_propDict["browserBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockAutomaticDetectionOfIntranetSites + * Indicates whether or not to block automatic detection of Intranet sites. + * + * @return bool|null The browserBlockAutomaticDetectionOfIntranetSites + */ + public function getBrowserBlockAutomaticDetectionOfIntranetSites() + { + if (array_key_exists("browserBlockAutomaticDetectionOfIntranetSites", $this->_propDict)) { + return $this->_propDict["browserBlockAutomaticDetectionOfIntranetSites"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockAutomaticDetectionOfIntranetSites + * Indicates whether or not to block automatic detection of Intranet sites. + * + * @param bool $val The browserBlockAutomaticDetectionOfIntranetSites + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockAutomaticDetectionOfIntranetSites($val) + { + $this->_propDict["browserBlockAutomaticDetectionOfIntranetSites"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockEnterpriseModeAccess + * Indicates whether or not to block enterprise mode access. + * + * @return bool|null The browserBlockEnterpriseModeAccess + */ + public function getBrowserBlockEnterpriseModeAccess() + { + if (array_key_exists("browserBlockEnterpriseModeAccess", $this->_propDict)) { + return $this->_propDict["browserBlockEnterpriseModeAccess"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockEnterpriseModeAccess + * Indicates whether or not to block enterprise mode access. + * + * @param bool $val The browserBlockEnterpriseModeAccess + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockEnterpriseModeAccess($val) + { + $this->_propDict["browserBlockEnterpriseModeAccess"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @return bool|null The browserBlockJavaScript + */ + public function getBrowserBlockJavaScript() + { + if (array_key_exists("browserBlockJavaScript", $this->_propDict)) { + return $this->_propDict["browserBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @param bool $val The browserBlockJavaScript + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockJavaScript($val) + { + $this->_propDict["browserBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockPlugins + * Indicates whether or not to block plug-ins. + * + * @return bool|null The browserBlockPlugins + */ + public function getBrowserBlockPlugins() + { + if (array_key_exists("browserBlockPlugins", $this->_propDict)) { + return $this->_propDict["browserBlockPlugins"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockPlugins + * Indicates whether or not to block plug-ins. + * + * @param bool $val The browserBlockPlugins + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockPlugins($val) + { + $this->_propDict["browserBlockPlugins"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockPopups + * Indicates whether or not to block popups. + * + * @return bool|null The browserBlockPopups + */ + public function getBrowserBlockPopups() + { + if (array_key_exists("browserBlockPopups", $this->_propDict)) { + return $this->_propDict["browserBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockPopups + * Indicates whether or not to block popups. + * + * @param bool $val The browserBlockPopups + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockPopups($val) + { + $this->_propDict["browserBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @return bool|null The browserBlockSendingDoNotTrackHeader + */ + public function getBrowserBlockSendingDoNotTrackHeader() + { + if (array_key_exists("browserBlockSendingDoNotTrackHeader", $this->_propDict)) { + return $this->_propDict["browserBlockSendingDoNotTrackHeader"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @param bool $val The browserBlockSendingDoNotTrackHeader + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockSendingDoNotTrackHeader($val) + { + $this->_propDict["browserBlockSendingDoNotTrackHeader"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockSingleWordEntryOnIntranetSites + * Indicates whether or not to block a single word entry on Intranet sites. + * + * @return bool|null The browserBlockSingleWordEntryOnIntranetSites + */ + public function getBrowserBlockSingleWordEntryOnIntranetSites() + { + if (array_key_exists("browserBlockSingleWordEntryOnIntranetSites", $this->_propDict)) { + return $this->_propDict["browserBlockSingleWordEntryOnIntranetSites"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockSingleWordEntryOnIntranetSites + * Indicates whether or not to block a single word entry on Intranet sites. + * + * @param bool $val The browserBlockSingleWordEntryOnIntranetSites + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockSingleWordEntryOnIntranetSites($val) + { + $this->_propDict["browserBlockSingleWordEntryOnIntranetSites"] = boolval($val); + return $this; + } + + /** + * Gets the browserEnterpriseModeSiteListLocation + * The enterprise mode site list location. Could be a local file, local network or http location. + * + * @return string|null The browserEnterpriseModeSiteListLocation + */ + public function getBrowserEnterpriseModeSiteListLocation() + { + if (array_key_exists("browserEnterpriseModeSiteListLocation", $this->_propDict)) { + return $this->_propDict["browserEnterpriseModeSiteListLocation"]; + } else { + return null; + } + } + + /** + * Sets the browserEnterpriseModeSiteListLocation + * The enterprise mode site list location. Could be a local file, local network or http location. + * + * @param string $val The browserEnterpriseModeSiteListLocation + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserEnterpriseModeSiteListLocation($val) + { + $this->_propDict["browserEnterpriseModeSiteListLocation"] = $val; + return $this; + } + + /** + * Gets the browserInternetSecurityLevel + * The internet security level. Possible values are: userDefined, medium, mediumHigh, high. + * + * @return InternetSiteSecurityLevel|null The browserInternetSecurityLevel + */ + public function getBrowserInternetSecurityLevel() + { + if (array_key_exists("browserInternetSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["browserInternetSecurityLevel"], "\Beta\Microsoft\Graph\Model\InternetSiteSecurityLevel") || is_null($this->_propDict["browserInternetSecurityLevel"])) { + return $this->_propDict["browserInternetSecurityLevel"]; + } else { + $this->_propDict["browserInternetSecurityLevel"] = new InternetSiteSecurityLevel($this->_propDict["browserInternetSecurityLevel"]); + return $this->_propDict["browserInternetSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the browserInternetSecurityLevel + * The internet security level. Possible values are: userDefined, medium, mediumHigh, high. + * + * @param InternetSiteSecurityLevel $val The browserInternetSecurityLevel + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserInternetSecurityLevel($val) + { + $this->_propDict["browserInternetSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the browserIntranetSecurityLevel + * The Intranet security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @return SiteSecurityLevel|null The browserIntranetSecurityLevel + */ + public function getBrowserIntranetSecurityLevel() + { + if (array_key_exists("browserIntranetSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["browserIntranetSecurityLevel"], "\Beta\Microsoft\Graph\Model\SiteSecurityLevel") || is_null($this->_propDict["browserIntranetSecurityLevel"])) { + return $this->_propDict["browserIntranetSecurityLevel"]; + } else { + $this->_propDict["browserIntranetSecurityLevel"] = new SiteSecurityLevel($this->_propDict["browserIntranetSecurityLevel"]); + return $this->_propDict["browserIntranetSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the browserIntranetSecurityLevel + * The Intranet security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @param SiteSecurityLevel $val The browserIntranetSecurityLevel + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserIntranetSecurityLevel($val) + { + $this->_propDict["browserIntranetSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the browserLoggingReportLocation + * The logging report location. + * + * @return string|null The browserLoggingReportLocation + */ + public function getBrowserLoggingReportLocation() + { + if (array_key_exists("browserLoggingReportLocation", $this->_propDict)) { + return $this->_propDict["browserLoggingReportLocation"]; + } else { + return null; + } + } + + /** + * Sets the browserLoggingReportLocation + * The logging report location. + * + * @param string $val The browserLoggingReportLocation + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserLoggingReportLocation($val) + { + $this->_propDict["browserLoggingReportLocation"] = $val; + return $this; + } + + /** + * Gets the browserRequireFirewall + * Indicates whether or not to require a firewall. + * + * @return bool|null The browserRequireFirewall + */ + public function getBrowserRequireFirewall() + { + if (array_key_exists("browserRequireFirewall", $this->_propDict)) { + return $this->_propDict["browserRequireFirewall"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireFirewall + * Indicates whether or not to require a firewall. + * + * @param bool $val The browserRequireFirewall + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireFirewall($val) + { + $this->_propDict["browserRequireFirewall"] = boolval($val); + return $this; + } + + /** + * Gets the browserRequireFraudWarning + * Indicates whether or not to require fraud warning. + * + * @return bool|null The browserRequireFraudWarning + */ + public function getBrowserRequireFraudWarning() + { + if (array_key_exists("browserRequireFraudWarning", $this->_propDict)) { + return $this->_propDict["browserRequireFraudWarning"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireFraudWarning + * Indicates whether or not to require fraud warning. + * + * @param bool $val The browserRequireFraudWarning + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireFraudWarning($val) + { + $this->_propDict["browserRequireFraudWarning"] = boolval($val); + return $this; + } + + /** + * Gets the browserRequireHighSecurityForRestrictedSites + * Indicates whether or not to require high security for restricted sites. + * + * @return bool|null The browserRequireHighSecurityForRestrictedSites + */ + public function getBrowserRequireHighSecurityForRestrictedSites() + { + if (array_key_exists("browserRequireHighSecurityForRestrictedSites", $this->_propDict)) { + return $this->_propDict["browserRequireHighSecurityForRestrictedSites"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireHighSecurityForRestrictedSites + * Indicates whether or not to require high security for restricted sites. + * + * @param bool $val The browserRequireHighSecurityForRestrictedSites + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireHighSecurityForRestrictedSites($val) + { + $this->_propDict["browserRequireHighSecurityForRestrictedSites"] = boolval($val); + return $this; + } + + /** + * Gets the browserRequireSmartScreen + * Indicates whether or not to require the user to use the smart screen filter. + * + * @return bool|null The browserRequireSmartScreen + */ + public function getBrowserRequireSmartScreen() + { + if (array_key_exists("browserRequireSmartScreen", $this->_propDict)) { + return $this->_propDict["browserRequireSmartScreen"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireSmartScreen + * Indicates whether or not to require the user to use the smart screen filter. + * + * @param bool $val The browserRequireSmartScreen + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireSmartScreen($val) + { + $this->_propDict["browserRequireSmartScreen"] = boolval($val); + return $this; + } + + /** + * Gets the browserTrustedSitesSecurityLevel + * The trusted sites security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @return SiteSecurityLevel|null The browserTrustedSitesSecurityLevel + */ + public function getBrowserTrustedSitesSecurityLevel() + { + if (array_key_exists("browserTrustedSitesSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["browserTrustedSitesSecurityLevel"], "\Beta\Microsoft\Graph\Model\SiteSecurityLevel") || is_null($this->_propDict["browserTrustedSitesSecurityLevel"])) { + return $this->_propDict["browserTrustedSitesSecurityLevel"]; + } else { + $this->_propDict["browserTrustedSitesSecurityLevel"] = new SiteSecurityLevel($this->_propDict["browserTrustedSitesSecurityLevel"]); + return $this->_propDict["browserTrustedSitesSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the browserTrustedSitesSecurityLevel + * The trusted sites security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @param SiteSecurityLevel $val The browserTrustedSitesSecurityLevel + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserTrustedSitesSecurityLevel($val) + { + $this->_propDict["browserTrustedSitesSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @return bool|null The cellularBlockDataRoaming + */ + public function getCellularBlockDataRoaming() + { + if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @param bool $val The cellularBlockDataRoaming + * + * @return Windows81GeneralConfiguration + */ + public function setCellularBlockDataRoaming($val) + { + $this->_propDict["cellularBlockDataRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticsBlockDataSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticsBlockDataSubmission + */ + public function getDiagnosticsBlockDataSubmission() + { + if (array_key_exists("diagnosticsBlockDataSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticsBlockDataSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticsBlockDataSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticsBlockDataSubmission + * + * @return Windows81GeneralConfiguration + */ + public function setDiagnosticsBlockDataSubmission($val) + { + $this->_propDict["diagnosticsBlockDataSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the minimumAutoInstallClassification + * The minimum update classification to install automatically. Possible values are: userDefined, recommendedAndImportant, important, none. + * + * @return UpdateClassification|null The minimumAutoInstallClassification + */ + public function getMinimumAutoInstallClassification() + { + if (array_key_exists("minimumAutoInstallClassification", $this->_propDict)) { + if (is_a($this->_propDict["minimumAutoInstallClassification"], "\Beta\Microsoft\Graph\Model\UpdateClassification") || is_null($this->_propDict["minimumAutoInstallClassification"])) { + return $this->_propDict["minimumAutoInstallClassification"]; + } else { + $this->_propDict["minimumAutoInstallClassification"] = new UpdateClassification($this->_propDict["minimumAutoInstallClassification"]); + return $this->_propDict["minimumAutoInstallClassification"]; + } + } + return null; + } + + /** + * Sets the minimumAutoInstallClassification + * The minimum update classification to install automatically. Possible values are: userDefined, recommendedAndImportant, important, none. + * + * @param UpdateClassification $val The minimumAutoInstallClassification + * + * @return Windows81GeneralConfiguration + */ + public function setMinimumAutoInstallClassification($val) + { + $this->_propDict["minimumAutoInstallClassification"] = $val; + return $this; + } + + /** + * Gets the passwordBlockPicturePasswordAndPin + * Indicates whether or not to Block the user from using a pictures password and pin. + * + * @return bool|null The passwordBlockPicturePasswordAndPin + */ + public function getPasswordBlockPicturePasswordAndPin() + { + if (array_key_exists("passwordBlockPicturePasswordAndPin", $this->_propDict)) { + return $this->_propDict["passwordBlockPicturePasswordAndPin"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockPicturePasswordAndPin + * Indicates whether or not to Block the user from using a pictures password and pin. + * + * @param bool $val The passwordBlockPicturePasswordAndPin + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordBlockPicturePasswordAndPin($val) + { + $this->_propDict["passwordBlockPicturePasswordAndPin"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Password expiration in days. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Password expiration in days. + * + * @param int $val The passwordExpirationDays + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. + * + * @param int $val The passwordMinimumLength + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the storageRequireDeviceEncryption + * Indicates whether or not to require encryption on a mobile device. + * + * @return bool|null The storageRequireDeviceEncryption + */ + public function getStorageRequireDeviceEncryption() + { + if (array_key_exists("storageRequireDeviceEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireDeviceEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireDeviceEncryption + * Indicates whether or not to require encryption on a mobile device. + * + * @param bool $val The storageRequireDeviceEncryption + * + * @return Windows81GeneralConfiguration + */ + public function setStorageRequireDeviceEncryption($val) + { + $this->_propDict["storageRequireDeviceEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the updatesMinimumAutoInstallClassification + * The minimum update classification to install automatically. Possible values are: userDefined, recommendedAndImportant, important, none. + * + * @return UpdateClassification|null The updatesMinimumAutoInstallClassification + */ + public function getUpdatesMinimumAutoInstallClassification() + { + if (array_key_exists("updatesMinimumAutoInstallClassification", $this->_propDict)) { + if (is_a($this->_propDict["updatesMinimumAutoInstallClassification"], "\Beta\Microsoft\Graph\Model\UpdateClassification") || is_null($this->_propDict["updatesMinimumAutoInstallClassification"])) { + return $this->_propDict["updatesMinimumAutoInstallClassification"]; + } else { + $this->_propDict["updatesMinimumAutoInstallClassification"] = new UpdateClassification($this->_propDict["updatesMinimumAutoInstallClassification"]); + return $this->_propDict["updatesMinimumAutoInstallClassification"]; + } + } + return null; + } + + /** + * Sets the updatesMinimumAutoInstallClassification + * The minimum update classification to install automatically. Possible values are: userDefined, recommendedAndImportant, important, none. + * + * @param UpdateClassification $val The updatesMinimumAutoInstallClassification + * + * @return Windows81GeneralConfiguration + */ + public function setUpdatesMinimumAutoInstallClassification($val) + { + $this->_propDict["updatesMinimumAutoInstallClassification"] = $val; + return $this; + } + + /** + * Gets the updatesRequireAutomaticUpdates + * Indicates whether or not to require automatic updates. + * + * @return bool|null The updatesRequireAutomaticUpdates + */ + public function getUpdatesRequireAutomaticUpdates() + { + if (array_key_exists("updatesRequireAutomaticUpdates", $this->_propDict)) { + return $this->_propDict["updatesRequireAutomaticUpdates"]; + } else { + return null; + } + } + + /** + * Sets the updatesRequireAutomaticUpdates + * Indicates whether or not to require automatic updates. + * + * @param bool $val The updatesRequireAutomaticUpdates + * + * @return Windows81GeneralConfiguration + */ + public function setUpdatesRequireAutomaticUpdates($val) + { + $this->_propDict["updatesRequireAutomaticUpdates"] = boolval($val); + return $this; + } + + /** + * Gets the userAccountControlSettings + * The user account control settings. Possible values are: userDefined, alwaysNotify, notifyOnAppChanges, notifyOnAppChangesWithoutDimming, neverNotify. + * + * @return WindowsUserAccountControlSettings|null The userAccountControlSettings + */ + public function getUserAccountControlSettings() + { + if (array_key_exists("userAccountControlSettings", $this->_propDict)) { + if (is_a($this->_propDict["userAccountControlSettings"], "\Beta\Microsoft\Graph\Model\WindowsUserAccountControlSettings") || is_null($this->_propDict["userAccountControlSettings"])) { + return $this->_propDict["userAccountControlSettings"]; + } else { + $this->_propDict["userAccountControlSettings"] = new WindowsUserAccountControlSettings($this->_propDict["userAccountControlSettings"]); + return $this->_propDict["userAccountControlSettings"]; + } + } + return null; + } + + /** + * Sets the userAccountControlSettings + * The user account control settings. Possible values are: userDefined, alwaysNotify, notifyOnAppChanges, notifyOnAppChangesWithoutDimming, neverNotify. + * + * @param WindowsUserAccountControlSettings $val The userAccountControlSettings + * + * @return Windows81GeneralConfiguration + */ + public function setUserAccountControlSettings($val) + { + $this->_propDict["userAccountControlSettings"] = $val; + return $this; + } + + /** + * Gets the workFoldersUrl + * The work folders url. + * + * @return string|null The workFoldersUrl + */ + public function getWorkFoldersUrl() + { + if (array_key_exists("workFoldersUrl", $this->_propDict)) { + return $this->_propDict["workFoldersUrl"]; + } else { + return null; + } + } + + /** + * Sets the workFoldersUrl + * The work folders url. + * + * @param string $val The workFoldersUrl + * + * @return Windows81GeneralConfiguration + */ + public function setWorkFoldersUrl($val) + { + $this->_propDict["workFoldersUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81SCEPCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81SCEPCertificateProfile.php new file mode 100644 index 0000000..9f22878 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81SCEPCertificateProfile.php @@ -0,0 +1,309 @@ +_propDict)) { + if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) { + return $this->_propDict["certificateStore"]; + } else { + $this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]); + return $this->_propDict["certificateStore"]; + } + } + return null; + } + + /** + * Sets the certificateStore + * Target store certificate. Possible values are: user, machine. + * + * @param CertificateStore $val The certificateStore + * + * @return Windows81SCEPCertificateProfile + */ + public function setCertificateStore($val) + { + $this->_propDict["certificateStore"] = $val; + return $this; + } + + /** + * Gets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @return HashAlgorithms|null The hashAlgorithm + */ + public function getHashAlgorithm() + { + if (array_key_exists("hashAlgorithm", $this->_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return Windows81SCEPCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return Windows81SCEPCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return Windows81SCEPCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s). + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s). + * + * @param string $val The scepServerUrls + * + * @return Windows81SCEPCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return Windows81SCEPCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return Windows81SCEPCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return Windows81SCEPCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate + * + * @return Windows81TrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\Windows81TrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new Windows81TrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate + * + * @param Windows81TrustedRootCertificate $val The rootCertificate + * + * @return Windows81SCEPCertificateProfile + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81TrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81TrustedRootCertificate.php new file mode 100644 index 0000000..343127e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81TrustedRootCertificate.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return Windows81TrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the destinationStore + * Destination store location for the Trusted Root Certificate. Possible values are: computerCertStoreRoot, computerCertStoreIntermediate, userCertStoreIntermediate. + * + * @return CertificateDestinationStore|null The destinationStore + */ + public function getDestinationStore() + { + if (array_key_exists("destinationStore", $this->_propDict)) { + if (is_a($this->_propDict["destinationStore"], "\Beta\Microsoft\Graph\Model\CertificateDestinationStore") || is_null($this->_propDict["destinationStore"])) { + return $this->_propDict["destinationStore"]; + } else { + $this->_propDict["destinationStore"] = new CertificateDestinationStore($this->_propDict["destinationStore"]); + return $this->_propDict["destinationStore"]; + } + } + return null; + } + + /** + * Sets the destinationStore + * Destination store location for the Trusted Root Certificate. Possible values are: computerCertStoreRoot, computerCertStoreIntermediate, userCertStoreIntermediate. + * + * @param CertificateDestinationStore $val The destinationStore + * + * @return Windows81TrustedRootCertificate + */ + public function setDestinationStore($val) + { + $this->_propDict["destinationStore"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return Windows81TrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnConfiguration.php new file mode 100644 index 0000000..57b3885 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnConfiguration.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["applyOnlyToWindows81"]; + } else { + return null; + } + } + + /** + * Sets the applyOnlyToWindows81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @param bool $val The applyOnlyToWindows81 + * + * @return Windows81VpnConfiguration + */ + public function setApplyOnlyToWindows81($val) + { + $this->_propDict["applyOnlyToWindows81"] = boolval($val); + return $this; + } + + /** + * Gets the connectionType + * Connection type. Possible values are: pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn. + * + * @return WindowsVpnConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\WindowsVpnConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new WindowsVpnConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Connection type. Possible values are: pulseSecure, f5EdgeClient, dellSonicWallMobileConnect, checkPointCapsuleVpn. + * + * @param WindowsVpnConnectionType $val The connectionType + * + * @return Windows81VpnConfiguration + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + + /** + * Gets the enableSplitTunneling + * Enable split tunneling for the VPN. + * + * @return bool|null The enableSplitTunneling + */ + public function getEnableSplitTunneling() + { + if (array_key_exists("enableSplitTunneling", $this->_propDict)) { + return $this->_propDict["enableSplitTunneling"]; + } else { + return null; + } + } + + /** + * Sets the enableSplitTunneling + * Enable split tunneling for the VPN. + * + * @param bool $val The enableSplitTunneling + * + * @return Windows81VpnConfiguration + */ + public function setEnableSplitTunneling($val) + { + $this->_propDict["enableSplitTunneling"] = boolval($val); + return $this; + } + + /** + * Gets the loginGroupOrDomain + * Login group or domain when connection type is set to Dell SonicWALL Mobile Connection. + * + * @return string|null The loginGroupOrDomain + */ + public function getLoginGroupOrDomain() + { + if (array_key_exists("loginGroupOrDomain", $this->_propDict)) { + return $this->_propDict["loginGroupOrDomain"]; + } else { + return null; + } + } + + /** + * Sets the loginGroupOrDomain + * Login group or domain when connection type is set to Dell SonicWALL Mobile Connection. + * + * @param string $val The loginGroupOrDomain + * + * @return Windows81VpnConfiguration + */ + public function setLoginGroupOrDomain($val) + { + $this->_propDict["loginGroupOrDomain"] = $val; + return $this; + } + + /** + * Gets the proxyServer + * Proxy Server. + * + * @return Windows81VpnProxyServer|null The proxyServer + */ + public function getProxyServer() + { + if (array_key_exists("proxyServer", $this->_propDict)) { + if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\Windows81VpnProxyServer") || is_null($this->_propDict["proxyServer"])) { + return $this->_propDict["proxyServer"]; + } else { + $this->_propDict["proxyServer"] = new Windows81VpnProxyServer($this->_propDict["proxyServer"]); + return $this->_propDict["proxyServer"]; + } + } + return null; + } + + /** + * Sets the proxyServer + * Proxy Server. + * + * @param Windows81VpnProxyServer $val The proxyServer + * + * @return Windows81VpnConfiguration + */ + public function setProxyServer($val) + { + $this->_propDict["proxyServer"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnProxyServer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnProxyServer.php new file mode 100644 index 0000000..2f313bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnProxyServer.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["automaticallyDetectProxySettings"]; + } else { + return null; + } + } + + /** + * Sets the automaticallyDetectProxySettings + * Automatically detect proxy settings. + * + * @param bool $val The value of the automaticallyDetectProxySettings + * + * @return Windows81VpnProxyServer + */ + public function setAutomaticallyDetectProxySettings($val) + { + $this->_propDict["automaticallyDetectProxySettings"] = $val; + return $this; + } + /** + * Gets the bypassProxyServerForLocalAddress + * Bypass proxy server for local address. + * + * @return bool|null The bypassProxyServerForLocalAddress + */ + public function getBypassProxyServerForLocalAddress() + { + if (array_key_exists("bypassProxyServerForLocalAddress", $this->_propDict)) { + return $this->_propDict["bypassProxyServerForLocalAddress"]; + } else { + return null; + } + } + + /** + * Sets the bypassProxyServerForLocalAddress + * Bypass proxy server for local address. + * + * @param bool $val The value of the bypassProxyServerForLocalAddress + * + * @return Windows81VpnProxyServer + */ + public function setBypassProxyServerForLocalAddress($val) + { + $this->_propDict["bypassProxyServerForLocalAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81WifiImportConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81WifiImportConfiguration.php new file mode 100644 index 0000000..47ff860 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81WifiImportConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * Payload. (UTF8 encoded byte array). This is the XML file saved on the device you used to connect to the Wi-Fi endpoint. + * + * @param \GuzzleHttp\Psr7\Stream $val The payload + * + * @return Windows81WifiImportConfiguration + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the payloadFileName + * Payload file name (.xml). + * + * @return string|null The payloadFileName + */ + public function getPayloadFileName() + { + if (array_key_exists("payloadFileName", $this->_propDict)) { + return $this->_propDict["payloadFileName"]; + } else { + return null; + } + } + + /** + * Sets the payloadFileName + * Payload file name (.xml). + * + * @param string $val The payloadFileName + * + * @return Windows81WifiImportConfiguration + */ + public function setPayloadFileName($val) + { + $this->_propDict["payloadFileName"] = $val; + return $this; + } + + /** + * Gets the profileName + * Profile name displayed in the UI. + * + * @return string|null The profileName + */ + public function getProfileName() + { + if (array_key_exists("profileName", $this->_propDict)) { + return $this->_propDict["profileName"]; + } else { + return null; + } + } + + /** + * Sets the profileName + * Profile name displayed in the UI. + * + * @param string $val The profileName + * + * @return Windows81WifiImportConfiguration + */ + public function setProfileName($val) + { + $this->_propDict["profileName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppIdentifier.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppIdentifier.php new file mode 100644 index 0000000..2352e97 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppIdentifier.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.windowsAppIdentifier"); + } + + /** + * Gets the windowsAppId + * The identifier for an app, as specified in the app store. + * + * @return string|null The windowsAppId + */ + public function getWindowsAppId() + { + if (array_key_exists("windowsAppId", $this->_propDict)) { + return $this->_propDict["windowsAppId"]; + } else { + return null; + } + } + + /** + * Sets the windowsAppId + * The identifier for an app, as specified in the app store. + * + * @param string $val The value of the windowsAppId + * + * @return WindowsAppIdentifier + */ + public function setWindowsAppId($val) + { + $this->_propDict["windowsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppStartLayoutTileSize.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppStartLayoutTileSize.php new file mode 100644 index 0000000..be6c5ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppStartLayoutTileSize.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitectures"])) { + return $this->_propDict["applicableArchitectures"]; + } else { + $this->_propDict["applicableArchitectures"] = new WindowsArchitecture($this->_propDict["applicableArchitectures"]); + return $this->_propDict["applicableArchitectures"]; + } + } + return null; + } + + /** + * Sets the applicableArchitectures + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The applicableArchitectures + * + * @return WindowsAppX + */ + public function setApplicableArchitectures($val) + { + $this->_propDict["applicableArchitectures"] = $val; + return $this; + } + + /** + * Gets the identityName + * The Identity Name. + * + * @return string|null The identityName + */ + public function getIdentityName() + { + if (array_key_exists("identityName", $this->_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The identityName + * + * @return WindowsAppX + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + + /** + * Gets the identityPublisherHash + * The Identity Publisher Hash. + * + * @return string|null The identityPublisherHash + */ + public function getIdentityPublisherHash() + { + if (array_key_exists("identityPublisherHash", $this->_propDict)) { + return $this->_propDict["identityPublisherHash"]; + } else { + return null; + } + } + + /** + * Sets the identityPublisherHash + * The Identity Publisher Hash. + * + * @param string $val The identityPublisherHash + * + * @return WindowsAppX + */ + public function setIdentityPublisherHash($val) + { + $this->_propDict["identityPublisherHash"] = $val; + return $this; + } + + /** + * Gets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @return string|null The identityResourceIdentifier + */ + public function getIdentityResourceIdentifier() + { + if (array_key_exists("identityResourceIdentifier", $this->_propDict)) { + return $this->_propDict["identityResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @param string $val The identityResourceIdentifier + * + * @return WindowsAppX + */ + public function setIdentityResourceIdentifier($val) + { + $this->_propDict["identityResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return WindowsAppX + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the isBundle + * Whether or not the app is a bundle. + * + * @return bool|null The isBundle + */ + public function getIsBundle() + { + if (array_key_exists("isBundle", $this->_propDict)) { + return $this->_propDict["isBundle"]; + } else { + return null; + } + } + + /** + * Sets the isBundle + * Whether or not the app is a bundle. + * + * @param bool $val The isBundle + * + * @return WindowsAppX + */ + public function setIsBundle($val) + { + $this->_propDict["isBundle"] = boolval($val); + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return WindowsAppX + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php new file mode 100644 index 0000000..35c1517 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.windowsAppXAppAssignmentSettings"); + } + + /** + * Gets the useDeviceContext + * Whether or not to use device execution context for Windows AppX mobile app. + * + * @return bool|null The useDeviceContext + */ + public function getUseDeviceContext() + { + if (array_key_exists("useDeviceContext", $this->_propDict)) { + return $this->_propDict["useDeviceContext"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceContext + * Whether or not to use device execution context for Windows AppX mobile app. + * + * @param bool $val The value of the useDeviceContext + * + * @return WindowsAppXAppAssignmentSettings + */ + public function setUseDeviceContext($val) + { + $this->_propDict["useDeviceContext"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsApplication.php new file mode 100644 index 0000000..13ec209 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsApplication.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["packageSid"]; + } else { + return null; + } + } + + /** + * Sets the packageSid + * The package security identifier that Microsoft has assigned the application. Optional. Read-only. + * + * @param string $val The value of the packageSid + * + * @return WindowsApplication + */ + public function setPackageSid($val) + { + $this->_propDict["packageSid"] = $val; + return $this; + } + /** + * Gets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. Only available for applications that support the PersonalMicrosoftAccount signInAudience. + * + * @return string|null The redirectUris + */ + public function getRedirectUris() + { + if (array_key_exists("redirectUris", $this->_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. Only available for applications that support the PersonalMicrosoftAccount signInAudience. + * + * @param string $val The value of the redirectUris + * + * @return WindowsApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsArchitecture.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsArchitecture.php new file mode 100644 index 0000000..51a1814 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsArchitecture.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["appUserModelIds"]; + } else { + return null; + } + } + + /** + * Sets the appUserModelIds + * These are the only Windows Store Apps that will be available to launch from the Start menu. + * + * @param string $val The appUserModelIds + * + * @return WindowsAssignedAccessProfile + */ + public function setAppUserModelIds($val) + { + $this->_propDict["appUserModelIds"] = $val; + return $this; + } + + /** + * Gets the desktopAppPaths + * These are the paths of the Desktop Apps that will be available on the Start menu and the only apps the user will be able to launch. + * + * @return string|null The desktopAppPaths + */ + public function getDesktopAppPaths() + { + if (array_key_exists("desktopAppPaths", $this->_propDict)) { + return $this->_propDict["desktopAppPaths"]; + } else { + return null; + } + } + + /** + * Sets the desktopAppPaths + * These are the paths of the Desktop Apps that will be available on the Start menu and the only apps the user will be able to launch. + * + * @param string $val The desktopAppPaths + * + * @return WindowsAssignedAccessProfile + */ + public function setDesktopAppPaths($val) + { + $this->_propDict["desktopAppPaths"] = $val; + return $this; + } + + /** + * Gets the profileName + * This is a friendly name used to identify a group of applications, the layout of these apps on the start menu and the users to whom this kiosk configuration is assigned. + * + * @return string|null The profileName + */ + public function getProfileName() + { + if (array_key_exists("profileName", $this->_propDict)) { + return $this->_propDict["profileName"]; + } else { + return null; + } + } + + /** + * Sets the profileName + * This is a friendly name used to identify a group of applications, the layout of these apps on the start menu and the users to whom this kiosk configuration is assigned. + * + * @param string $val The profileName + * + * @return WindowsAssignedAccessProfile + */ + public function setProfileName($val) + { + $this->_propDict["profileName"] = $val; + return $this; + } + + /** + * Gets the showTaskBar + * This setting allows the admin to specify whether the Task Bar is shown or not. + * + * @return bool|null The showTaskBar + */ + public function getShowTaskBar() + { + if (array_key_exists("showTaskBar", $this->_propDict)) { + return $this->_propDict["showTaskBar"]; + } else { + return null; + } + } + + /** + * Sets the showTaskBar + * This setting allows the admin to specify whether the Task Bar is shown or not. + * + * @param bool $val The showTaskBar + * + * @return WindowsAssignedAccessProfile + */ + public function setShowTaskBar($val) + { + $this->_propDict["showTaskBar"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuLayoutXml + * Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format. + * + * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutXml + */ + public function getStartMenuLayoutXml() + { + if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { + if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutXml"])) { + return $this->_propDict["startMenuLayoutXml"]; + } else { + $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutXml"]); + return $this->_propDict["startMenuLayoutXml"]; + } + } + return null; + } + + /** + * Sets the startMenuLayoutXml + * Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format. + * + * @param \GuzzleHttp\Psr7\Stream $val The startMenuLayoutXml + * + * @return WindowsAssignedAccessProfile + */ + public function setStartMenuLayoutXml($val) + { + $this->_propDict["startMenuLayoutXml"] = $val; + return $this; + } + + /** + * Gets the userAccounts + * The user accounts that will be locked to this kiosk configuration. + * + * @return string|null The userAccounts + */ + public function getUserAccounts() + { + if (array_key_exists("userAccounts", $this->_propDict)) { + return $this->_propDict["userAccounts"]; + } else { + return null; + } + } + + /** + * Sets the userAccounts + * The user accounts that will be locked to this kiosk configuration. + * + * @param string $val The userAccounts + * + * @return WindowsAssignedAccessProfile + */ + public function setUserAccounts($val) + { + $this->_propDict["userAccounts"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfile.php new file mode 100644 index 0000000..b019df3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfile.php @@ -0,0 +1,484 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Profile creation time + * + * @param \DateTime $val The createdDateTime + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the profile + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the profile + * + * @param string $val The description + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceNameTemplate + * The template used to name the AutoPilot Device. This can be a custom text and can also contain either the serial number of the device, or a randomly generated number. The total length of the text generated by the template can be no more than 15 characters. + * + * @return string|null The deviceNameTemplate + */ + public function getDeviceNameTemplate() + { + if (array_key_exists("deviceNameTemplate", $this->_propDict)) { + return $this->_propDict["deviceNameTemplate"]; + } else { + return null; + } + } + + /** + * Sets the deviceNameTemplate + * The template used to name the AutoPilot Device. This can be a custom text and can also contain either the serial number of the device, or a randomly generated number. The total length of the text generated by the template can be no more than 15 characters. + * + * @param string $val The deviceNameTemplate + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setDeviceNameTemplate($val) + { + $this->_propDict["deviceNameTemplate"] = $val; + return $this; + } + + /** + * Gets the deviceType + * The AutoPilot device type that this profile is applicable to. Possible values are: windowsPc, surfaceHub2. + * + * @return WindowsAutopilotDeviceType|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeviceType") || is_null($this->_propDict["deviceType"])) { + return $this->_propDict["deviceType"]; + } else { + $this->_propDict["deviceType"] = new WindowsAutopilotDeviceType($this->_propDict["deviceType"]); + return $this->_propDict["deviceType"]; + } + } + return null; + } + + /** + * Sets the deviceType + * The AutoPilot device type that this profile is applicable to. Possible values are: windowsPc, surfaceHub2. + * + * @param WindowsAutopilotDeviceType $val The deviceType + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the profile + * + * @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 + * Name of the profile + * + * @param string $val The displayName + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enableWhiteGlove + * Enable Autopilot White Glove for the profile. + * + * @return bool|null The enableWhiteGlove + */ + public function getEnableWhiteGlove() + { + if (array_key_exists("enableWhiteGlove", $this->_propDict)) { + return $this->_propDict["enableWhiteGlove"]; + } else { + return null; + } + } + + /** + * Sets the enableWhiteGlove + * Enable Autopilot White Glove for the profile. + * + * @param bool $val The enableWhiteGlove + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setEnableWhiteGlove($val) + { + $this->_propDict["enableWhiteGlove"] = boolval($val); + return $this; + } + + /** + * Gets the enrollmentStatusScreenSettings + * Enrollment status screen setting + * + * @return WindowsEnrollmentStatusScreenSettings|null The enrollmentStatusScreenSettings + */ + public function getEnrollmentStatusScreenSettings() + { + if (array_key_exists("enrollmentStatusScreenSettings", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentStatusScreenSettings"], "\Beta\Microsoft\Graph\Model\WindowsEnrollmentStatusScreenSettings") || is_null($this->_propDict["enrollmentStatusScreenSettings"])) { + return $this->_propDict["enrollmentStatusScreenSettings"]; + } else { + $this->_propDict["enrollmentStatusScreenSettings"] = new WindowsEnrollmentStatusScreenSettings($this->_propDict["enrollmentStatusScreenSettings"]); + return $this->_propDict["enrollmentStatusScreenSettings"]; + } + } + return null; + } + + /** + * Sets the enrollmentStatusScreenSettings + * Enrollment status screen setting + * + * @param WindowsEnrollmentStatusScreenSettings $val The enrollmentStatusScreenSettings + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setEnrollmentStatusScreenSettings($val) + { + $this->_propDict["enrollmentStatusScreenSettings"] = $val; + return $this; + } + + /** + * Gets the extractHardwareHash + * HardwareHash Extraction for the profile + * + * @return bool|null The extractHardwareHash + */ + public function getExtractHardwareHash() + { + if (array_key_exists("extractHardwareHash", $this->_propDict)) { + return $this->_propDict["extractHardwareHash"]; + } else { + return null; + } + } + + /** + * Sets the extractHardwareHash + * HardwareHash Extraction for the profile + * + * @param bool $val The extractHardwareHash + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setExtractHardwareHash($val) + { + $this->_propDict["extractHardwareHash"] = boolval($val); + return $this; + } + + /** + * Gets the language + * Language configured on the device + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * Language configured on the device + * + * @param string $val The language + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Profile last modified time + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Profile last modified time + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the managementServiceAppId + * AzureAD management app ID used during client device-based enrollment discovery + * + * @return string|null The managementServiceAppId + */ + public function getManagementServiceAppId() + { + if (array_key_exists("managementServiceAppId", $this->_propDict)) { + return $this->_propDict["managementServiceAppId"]; + } else { + return null; + } + } + + /** + * Sets the managementServiceAppId + * AzureAD management app ID used during client device-based enrollment discovery + * + * @param string $val The managementServiceAppId + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setManagementServiceAppId($val) + { + $this->_propDict["managementServiceAppId"] = $val; + return $this; + } + + /** + * Gets the outOfBoxExperienceSettings + * Out of box experience setting + * + * @return OutOfBoxExperienceSettings|null The outOfBoxExperienceSettings + */ + public function getOutOfBoxExperienceSettings() + { + if (array_key_exists("outOfBoxExperienceSettings", $this->_propDict)) { + if (is_a($this->_propDict["outOfBoxExperienceSettings"], "\Beta\Microsoft\Graph\Model\OutOfBoxExperienceSettings") || is_null($this->_propDict["outOfBoxExperienceSettings"])) { + return $this->_propDict["outOfBoxExperienceSettings"]; + } else { + $this->_propDict["outOfBoxExperienceSettings"] = new OutOfBoxExperienceSettings($this->_propDict["outOfBoxExperienceSettings"]); + return $this->_propDict["outOfBoxExperienceSettings"]; + } + } + return null; + } + + /** + * Sets the outOfBoxExperienceSettings + * Out of box experience setting + * + * @param OutOfBoxExperienceSettings $val The outOfBoxExperienceSettings + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setOutOfBoxExperienceSettings($val) + { + $this->_propDict["outOfBoxExperienceSettings"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * Scope tags for the profile. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * Scope tags for the profile. + * + * @param string $val The roleScopeTagIds + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + + /** + * Gets the assignedDevices + * The list of assigned devices for the profile. + * + * @return array|null The assignedDevices + */ + public function getAssignedDevices() + { + if (array_key_exists("assignedDevices", $this->_propDict)) { + return $this->_propDict["assignedDevices"]; + } else { + return null; + } + } + + /** + * Sets the assignedDevices + * The list of assigned devices for the profile. + * + * @param WindowsAutopilotDeviceIdentity[] $val The assignedDevices + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setAssignedDevices($val) + { + $this->_propDict["assignedDevices"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the profile. + * + * @param WindowsAutopilotDeploymentProfileAssignment[] $val The assignments + * + * @return WindowsAutopilotDeploymentProfile + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfileAssignment.php new file mode 100644 index 0000000..27f1602 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfileAssignment.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new DeviceAndAppManagementAssignmentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Type of resource used for deployment to a group, direct or parcel/policySet. Possible values are: direct, policySets. + * + * @param DeviceAndAppManagementAssignmentSource $val The source + * + * @return WindowsAutopilotDeploymentProfileAssignment + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the sourceId + * Identifier for resource used for deployment to a group + * + * @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 + * Identifier for resource used for deployment to a group + * + * @param string $val The sourceId + * + * @return WindowsAutopilotDeploymentProfileAssignment + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for the Windows Autopilot deployment profile. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the Windows Autopilot deployment profile. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return WindowsAutopilotDeploymentProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfilePolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfilePolicySetItem.php new file mode 100644 index 0000000..cda16f3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfilePolicySetItem.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["addressableUserName"]; + } else { + return null; + } + } + + /** + * Sets the addressableUserName + * Addressable user name. + * + * @param string $val The addressableUserName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setAddressableUserName($val) + { + $this->_propDict["addressableUserName"] = $val; + return $this; + } + + /** + * Gets the azureActiveDirectoryDeviceId + * AAD Device ID - to be deprecated + * + * @return string|null The azureActiveDirectoryDeviceId + */ + public function getAzureActiveDirectoryDeviceId() + { + if (array_key_exists("azureActiveDirectoryDeviceId", $this->_propDict)) { + return $this->_propDict["azureActiveDirectoryDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureActiveDirectoryDeviceId + * AAD Device ID - to be deprecated + * + * @param string $val The azureActiveDirectoryDeviceId + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setAzureActiveDirectoryDeviceId($val) + { + $this->_propDict["azureActiveDirectoryDeviceId"] = $val; + return $this; + } + + /** + * Gets the azureAdDeviceId + * AAD Device ID + * + * @return string|null The azureAdDeviceId + */ + public function getAzureAdDeviceId() + { + if (array_key_exists("azureAdDeviceId", $this->_propDict)) { + return $this->_propDict["azureAdDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureAdDeviceId + * AAD Device ID + * + * @param string $val The azureAdDeviceId + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setAzureAdDeviceId($val) + { + $this->_propDict["azureAdDeviceId"] = $val; + return $this; + } + + /** + * Gets the deploymentProfileAssignedDateTime + * Profile set time of the Windows autopilot device. + * + * @return \DateTime|null The deploymentProfileAssignedDateTime + */ + public function getDeploymentProfileAssignedDateTime() + { + if (array_key_exists("deploymentProfileAssignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deploymentProfileAssignedDateTime"], "\DateTime") || is_null($this->_propDict["deploymentProfileAssignedDateTime"])) { + return $this->_propDict["deploymentProfileAssignedDateTime"]; + } else { + $this->_propDict["deploymentProfileAssignedDateTime"] = new \DateTime($this->_propDict["deploymentProfileAssignedDateTime"]); + return $this->_propDict["deploymentProfileAssignedDateTime"]; + } + } + return null; + } + + /** + * Sets the deploymentProfileAssignedDateTime + * Profile set time of the Windows autopilot device. + * + * @param \DateTime $val The deploymentProfileAssignedDateTime + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeploymentProfileAssignedDateTime($val) + { + $this->_propDict["deploymentProfileAssignedDateTime"] = $val; + return $this; + } + + /** + * Gets the deploymentProfileAssignmentDetailedStatus + * Profile assignment detailed status of the Windows autopilot device. Possible values are: none, hardwareRequirementsNotMet, surfaceHubProfileNotSupported, holoLensProfileNotSupported, windowsPcProfileNotSupported, surfaceHub2SProfileNotSupported, unknownFutureValue. + * + * @return WindowsAutopilotProfileAssignmentDetailedStatus|null The deploymentProfileAssignmentDetailedStatus + */ + public function getDeploymentProfileAssignmentDetailedStatus() + { + if (array_key_exists("deploymentProfileAssignmentDetailedStatus", $this->_propDict)) { + if (is_a($this->_propDict["deploymentProfileAssignmentDetailedStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotProfileAssignmentDetailedStatus") || is_null($this->_propDict["deploymentProfileAssignmentDetailedStatus"])) { + return $this->_propDict["deploymentProfileAssignmentDetailedStatus"]; + } else { + $this->_propDict["deploymentProfileAssignmentDetailedStatus"] = new WindowsAutopilotProfileAssignmentDetailedStatus($this->_propDict["deploymentProfileAssignmentDetailedStatus"]); + return $this->_propDict["deploymentProfileAssignmentDetailedStatus"]; + } + } + return null; + } + + /** + * Sets the deploymentProfileAssignmentDetailedStatus + * Profile assignment detailed status of the Windows autopilot device. Possible values are: none, hardwareRequirementsNotMet, surfaceHubProfileNotSupported, holoLensProfileNotSupported, windowsPcProfileNotSupported, surfaceHub2SProfileNotSupported, unknownFutureValue. + * + * @param WindowsAutopilotProfileAssignmentDetailedStatus $val The deploymentProfileAssignmentDetailedStatus + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeploymentProfileAssignmentDetailedStatus($val) + { + $this->_propDict["deploymentProfileAssignmentDetailedStatus"] = $val; + return $this; + } + + /** + * Gets the deploymentProfileAssignmentStatus + * Profile assignment status of the Windows autopilot device. Possible values are: unknown, assignedInSync, assignedOutOfSync, assignedUnkownSyncState, notAssigned, pending, failed. + * + * @return WindowsAutopilotProfileAssignmentStatus|null The deploymentProfileAssignmentStatus + */ + public function getDeploymentProfileAssignmentStatus() + { + if (array_key_exists("deploymentProfileAssignmentStatus", $this->_propDict)) { + if (is_a($this->_propDict["deploymentProfileAssignmentStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotProfileAssignmentStatus") || is_null($this->_propDict["deploymentProfileAssignmentStatus"])) { + return $this->_propDict["deploymentProfileAssignmentStatus"]; + } else { + $this->_propDict["deploymentProfileAssignmentStatus"] = new WindowsAutopilotProfileAssignmentStatus($this->_propDict["deploymentProfileAssignmentStatus"]); + return $this->_propDict["deploymentProfileAssignmentStatus"]; + } + } + return null; + } + + /** + * Sets the deploymentProfileAssignmentStatus + * Profile assignment status of the Windows autopilot device. Possible values are: unknown, assignedInSync, assignedOutOfSync, assignedUnkownSyncState, notAssigned, pending, failed. + * + * @param WindowsAutopilotProfileAssignmentStatus $val The deploymentProfileAssignmentStatus + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeploymentProfileAssignmentStatus($val) + { + $this->_propDict["deploymentProfileAssignmentStatus"] = $val; + return $this; + } + + /** + * Gets the deviceAccountPassword + * Surface Hub Device Account Password + * + * @return string|null The deviceAccountPassword + */ + public function getDeviceAccountPassword() + { + if (array_key_exists("deviceAccountPassword", $this->_propDict)) { + return $this->_propDict["deviceAccountPassword"]; + } else { + return null; + } + } + + /** + * Sets the deviceAccountPassword + * Surface Hub Device Account Password + * + * @param string $val The deviceAccountPassword + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeviceAccountPassword($val) + { + $this->_propDict["deviceAccountPassword"] = $val; + return $this; + } + + /** + * Gets the deviceAccountUpn + * Surface Hub Device Account Upn + * + * @return string|null The deviceAccountUpn + */ + public function getDeviceAccountUpn() + { + if (array_key_exists("deviceAccountUpn", $this->_propDict)) { + return $this->_propDict["deviceAccountUpn"]; + } else { + return null; + } + } + + /** + * Sets the deviceAccountUpn + * Surface Hub Device Account Upn + * + * @param string $val The deviceAccountUpn + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeviceAccountUpn($val) + { + $this->_propDict["deviceAccountUpn"] = $val; + return $this; + } + + /** + * Gets the deviceFriendlyName + * Surface Hub Device Friendly Name + * + * @return string|null The deviceFriendlyName + */ + public function getDeviceFriendlyName() + { + if (array_key_exists("deviceFriendlyName", $this->_propDict)) { + return $this->_propDict["deviceFriendlyName"]; + } else { + return null; + } + } + + /** + * Sets the deviceFriendlyName + * Surface Hub Device Friendly Name + * + * @param string $val The deviceFriendlyName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeviceFriendlyName($val) + { + $this->_propDict["deviceFriendlyName"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display Name + * + * @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 + * Display Name + * + * @param string $val The displayName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enrollmentState + * Intune enrollment state of the Windows autopilot device. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @return EnrollmentState|null The enrollmentState + */ + public function getEnrollmentState() + { + if (array_key_exists("enrollmentState", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\EnrollmentState") || is_null($this->_propDict["enrollmentState"])) { + return $this->_propDict["enrollmentState"]; + } else { + $this->_propDict["enrollmentState"] = new EnrollmentState($this->_propDict["enrollmentState"]); + return $this->_propDict["enrollmentState"]; + } + } + return null; + } + + /** + * Sets the enrollmentState + * Intune enrollment state of the Windows autopilot device. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @param EnrollmentState $val The enrollmentState + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setEnrollmentState($val) + { + $this->_propDict["enrollmentState"] = $val; + return $this; + } + + /** + * Gets the groupTag + * Group Tag of the Windows autopilot device. + * + * @return string|null The groupTag + */ + public function getGroupTag() + { + if (array_key_exists("groupTag", $this->_propDict)) { + return $this->_propDict["groupTag"]; + } else { + return null; + } + } + + /** + * Sets the groupTag + * Group Tag of the Windows autopilot device. + * + * @param string $val The groupTag + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setGroupTag($val) + { + $this->_propDict["groupTag"] = $val; + return $this; + } + + /** + * Gets the lastContactedDateTime + * Intune Last Contacted Date Time of the Windows autopilot device. + * + * @return \DateTime|null The lastContactedDateTime + */ + public function getLastContactedDateTime() + { + if (array_key_exists("lastContactedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime") || is_null($this->_propDict["lastContactedDateTime"])) { + return $this->_propDict["lastContactedDateTime"]; + } else { + $this->_propDict["lastContactedDateTime"] = new \DateTime($this->_propDict["lastContactedDateTime"]); + return $this->_propDict["lastContactedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastContactedDateTime + * Intune Last Contacted Date Time of the Windows autopilot device. + * + * @param \DateTime $val The lastContactedDateTime + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setLastContactedDateTime($val) + { + $this->_propDict["lastContactedDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * Managed Device ID + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Managed Device ID + * + * @param string $val The managedDeviceId + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * Oem manufacturer of the Windows autopilot device. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Oem manufacturer of the Windows autopilot device. + * + * @param string $val The manufacturer + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * Model name of the Windows autopilot device. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model name of the Windows autopilot device. + * + * @param string $val The model + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the productKey + * Product Key of the Windows autopilot device. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Product Key of the Windows autopilot device. + * + * @param string $val The productKey + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the purchaseOrderIdentifier + * Purchase Order Identifier of the Windows autopilot device. + * + * @return string|null The purchaseOrderIdentifier + */ + public function getPurchaseOrderIdentifier() + { + if (array_key_exists("purchaseOrderIdentifier", $this->_propDict)) { + return $this->_propDict["purchaseOrderIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the purchaseOrderIdentifier + * Purchase Order Identifier of the Windows autopilot device. + * + * @param string $val The purchaseOrderIdentifier + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setPurchaseOrderIdentifier($val) + { + $this->_propDict["purchaseOrderIdentifier"] = $val; + return $this; + } + + /** + * Gets the remediationState + * Device Remediation State. Possible values are: unknown, noRemediationRequired, automaticRemediationRequired, manualRemediationRequired, unknownFutureValue. + * + * @return WindowsAutopilotDeviceRemediationState|null The remediationState + */ + public function getRemediationState() + { + if (array_key_exists("remediationState", $this->_propDict)) { + if (is_a($this->_propDict["remediationState"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeviceRemediationState") || is_null($this->_propDict["remediationState"])) { + return $this->_propDict["remediationState"]; + } else { + $this->_propDict["remediationState"] = new WindowsAutopilotDeviceRemediationState($this->_propDict["remediationState"]); + return $this->_propDict["remediationState"]; + } + } + return null; + } + + /** + * Sets the remediationState + * Device Remediation State. Possible values are: unknown, noRemediationRequired, automaticRemediationRequired, manualRemediationRequired, unknownFutureValue. + * + * @param WindowsAutopilotDeviceRemediationState $val The remediationState + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setRemediationState($val) + { + $this->_propDict["remediationState"] = $val; + return $this; + } + + /** + * Gets the remediationStateLastModifiedDateTime + * RemediationState set time of Autopilot device. + * + * @return \DateTime|null The remediationStateLastModifiedDateTime + */ + public function getRemediationStateLastModifiedDateTime() + { + if (array_key_exists("remediationStateLastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["remediationStateLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["remediationStateLastModifiedDateTime"])) { + return $this->_propDict["remediationStateLastModifiedDateTime"]; + } else { + $this->_propDict["remediationStateLastModifiedDateTime"] = new \DateTime($this->_propDict["remediationStateLastModifiedDateTime"]); + return $this->_propDict["remediationStateLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the remediationStateLastModifiedDateTime + * RemediationState set time of Autopilot device. + * + * @param \DateTime $val The remediationStateLastModifiedDateTime + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setRemediationStateLastModifiedDateTime($val) + { + $this->_propDict["remediationStateLastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceName + * Resource Name. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * Resource Name. + * + * @param string $val The resourceName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * Serial number of the Windows autopilot device. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Serial number of the Windows autopilot device. + * + * @param string $val The serialNumber + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the skuNumber + * SKU Number + * + * @return string|null The skuNumber + */ + public function getSkuNumber() + { + if (array_key_exists("skuNumber", $this->_propDict)) { + return $this->_propDict["skuNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuNumber + * SKU Number + * + * @param string $val The skuNumber + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setSkuNumber($val) + { + $this->_propDict["skuNumber"] = $val; + return $this; + } + + /** + * Gets the systemFamily + * System Family + * + * @return string|null The systemFamily + */ + public function getSystemFamily() + { + if (array_key_exists("systemFamily", $this->_propDict)) { + return $this->_propDict["systemFamily"]; + } else { + return null; + } + } + + /** + * Sets the systemFamily + * System Family + * + * @param string $val The systemFamily + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setSystemFamily($val) + { + $this->_propDict["systemFamily"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name. + * + * @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 + * User Principal Name. + * + * @param string $val The userPrincipalName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the deploymentProfile + * Deployment profile currently assigned to the Windows autopilot device. + * + * @return WindowsAutopilotDeploymentProfile|null The deploymentProfile + */ + public function getDeploymentProfile() + { + if (array_key_exists("deploymentProfile", $this->_propDict)) { + if (is_a($this->_propDict["deploymentProfile"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentProfile") || is_null($this->_propDict["deploymentProfile"])) { + return $this->_propDict["deploymentProfile"]; + } else { + $this->_propDict["deploymentProfile"] = new WindowsAutopilotDeploymentProfile($this->_propDict["deploymentProfile"]); + return $this->_propDict["deploymentProfile"]; + } + } + return null; + } + + /** + * Sets the deploymentProfile + * Deployment profile currently assigned to the Windows autopilot device. + * + * @param WindowsAutopilotDeploymentProfile $val The deploymentProfile + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDeploymentProfile($val) + { + $this->_propDict["deploymentProfile"] = $val; + return $this; + } + + /** + * Gets the intendedDeploymentProfile + * Deployment profile intended to be assigned to the Windows autopilot device. + * + * @return WindowsAutopilotDeploymentProfile|null The intendedDeploymentProfile + */ + public function getIntendedDeploymentProfile() + { + if (array_key_exists("intendedDeploymentProfile", $this->_propDict)) { + if (is_a($this->_propDict["intendedDeploymentProfile"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentProfile") || is_null($this->_propDict["intendedDeploymentProfile"])) { + return $this->_propDict["intendedDeploymentProfile"]; + } else { + $this->_propDict["intendedDeploymentProfile"] = new WindowsAutopilotDeploymentProfile($this->_propDict["intendedDeploymentProfile"]); + return $this->_propDict["intendedDeploymentProfile"]; + } + } + return null; + } + + /** + * Sets the intendedDeploymentProfile + * Deployment profile intended to be assigned to the Windows autopilot device. + * + * @param WindowsAutopilotDeploymentProfile $val The intendedDeploymentProfile + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setIntendedDeploymentProfile($val) + { + $this->_propDict["intendedDeploymentProfile"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceRemediationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceRemediationState.php new file mode 100644 index 0000000..9ac8938 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceRemediationState.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["lastManualSyncTriggerDateTime"], "\DateTime") || is_null($this->_propDict["lastManualSyncTriggerDateTime"])) { + return $this->_propDict["lastManualSyncTriggerDateTime"]; + } else { + $this->_propDict["lastManualSyncTriggerDateTime"] = new \DateTime($this->_propDict["lastManualSyncTriggerDateTime"]); + return $this->_propDict["lastManualSyncTriggerDateTime"]; + } + } + return null; + } + + /** + * Sets the lastManualSyncTriggerDateTime + * Last data sync date time with DDS service. + * + * @param \DateTime $val The lastManualSyncTriggerDateTime + * + * @return WindowsAutopilotSettings + */ + public function setLastManualSyncTriggerDateTime($val) + { + $this->_propDict["lastManualSyncTriggerDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last data sync date time with DDS service. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last data sync date time with DDS service. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return WindowsAutopilotSettings + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the syncStatus + * Indicates the status of sync with Device data sync (DDS) service. Possible values are: unknown, inProgress, completed, failed. + * + * @return WindowsAutopilotSyncStatus|null The syncStatus + */ + public function getSyncStatus() + { + if (array_key_exists("syncStatus", $this->_propDict)) { + if (is_a($this->_propDict["syncStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotSyncStatus") || is_null($this->_propDict["syncStatus"])) { + return $this->_propDict["syncStatus"]; + } else { + $this->_propDict["syncStatus"] = new WindowsAutopilotSyncStatus($this->_propDict["syncStatus"]); + return $this->_propDict["syncStatus"]; + } + } + return null; + } + + /** + * Sets the syncStatus + * Indicates the status of sync with Device data sync (DDS) service. Possible values are: unknown, inProgress, completed, failed. + * + * @param WindowsAutopilotSyncStatus $val The syncStatus + * + * @return WindowsAutopilotSettings + */ + public function setSyncStatus($val) + { + $this->_propDict["syncStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotSyncStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotSyncStatus.php new file mode 100644 index 0000000..c630baa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotSyncStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return WindowsCertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validity Period + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validity Period + * + * @param int $val The certificateValidityPeriodValue + * + * @return WindowsCertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + /** + * Gets the keyStorageProvider + * Key Storage Provider (KSP). Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @return KeyStorageProviderOption|null The keyStorageProvider + */ + public function getKeyStorageProvider() + { + if (array_key_exists("keyStorageProvider", $this->_propDict)) { + if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption") || is_null($this->_propDict["keyStorageProvider"])) { + return $this->_propDict["keyStorageProvider"]; + } else { + $this->_propDict["keyStorageProvider"] = new KeyStorageProviderOption($this->_propDict["keyStorageProvider"]); + return $this->_propDict["keyStorageProvider"]; + } + } + return null; + } + + /** + * Sets the keyStorageProvider + * Key Storage Provider (KSP). Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @param KeyStorageProviderOption $val The keyStorageProvider + * + * @return WindowsCertificateProfileBase + */ + public function setKeyStorageProvider($val) + { + $this->_propDict["keyStorageProvider"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. Valid values 1 to 99 + * + * @param int $val The renewalThresholdPercentage + * + * @return WindowsCertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return WindowsCertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return WindowsCertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php new file mode 100644 index 0000000..d33ee33 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php @@ -0,0 +1,230 @@ +_propDict)) { + return $this->_propDict["advancedThreatProtectionAutoPopulateOnboardingBlob"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionAutoPopulateOnboardingBlob + * Auto populate onboarding blob programmatically from Advanced Threat protection service + * + * @param bool $val The advancedThreatProtectionAutoPopulateOnboardingBlob + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAdvancedThreatProtectionAutoPopulateOnboardingBlob($val) + { + $this->_propDict["advancedThreatProtectionAutoPopulateOnboardingBlob"] = boolval($val); + return $this; + } + + /** + * Gets the advancedThreatProtectionOffboardingBlob + * Windows Defender AdvancedThreatProtection Offboarding Blob. + * + * @return string|null The advancedThreatProtectionOffboardingBlob + */ + public function getAdvancedThreatProtectionOffboardingBlob() + { + if (array_key_exists("advancedThreatProtectionOffboardingBlob", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionOffboardingBlob"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionOffboardingBlob + * Windows Defender AdvancedThreatProtection Offboarding Blob. + * + * @param string $val The advancedThreatProtectionOffboardingBlob + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAdvancedThreatProtectionOffboardingBlob($val) + { + $this->_propDict["advancedThreatProtectionOffboardingBlob"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionOffboardingFilename + * Name of the file from which AdvancedThreatProtectionOffboardingBlob was obtained. + * + * @return string|null The advancedThreatProtectionOffboardingFilename + */ + public function getAdvancedThreatProtectionOffboardingFilename() + { + if (array_key_exists("advancedThreatProtectionOffboardingFilename", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionOffboardingFilename"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionOffboardingFilename + * Name of the file from which AdvancedThreatProtectionOffboardingBlob was obtained. + * + * @param string $val The advancedThreatProtectionOffboardingFilename + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAdvancedThreatProtectionOffboardingFilename($val) + { + $this->_propDict["advancedThreatProtectionOffboardingFilename"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionOnboardingBlob + * Windows Defender AdvancedThreatProtection Onboarding Blob. + * + * @return string|null The advancedThreatProtectionOnboardingBlob + */ + public function getAdvancedThreatProtectionOnboardingBlob() + { + if (array_key_exists("advancedThreatProtectionOnboardingBlob", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionOnboardingBlob"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionOnboardingBlob + * Windows Defender AdvancedThreatProtection Onboarding Blob. + * + * @param string $val The advancedThreatProtectionOnboardingBlob + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAdvancedThreatProtectionOnboardingBlob($val) + { + $this->_propDict["advancedThreatProtectionOnboardingBlob"] = $val; + return $this; + } + + /** + * Gets the advancedThreatProtectionOnboardingFilename + * Name of the file from which AdvancedThreatProtectionOnboardingBlob was obtained. + * + * @return string|null The advancedThreatProtectionOnboardingFilename + */ + public function getAdvancedThreatProtectionOnboardingFilename() + { + if (array_key_exists("advancedThreatProtectionOnboardingFilename", $this->_propDict)) { + return $this->_propDict["advancedThreatProtectionOnboardingFilename"]; + } else { + return null; + } + } + + /** + * Sets the advancedThreatProtectionOnboardingFilename + * Name of the file from which AdvancedThreatProtectionOnboardingBlob was obtained. + * + * @param string $val The advancedThreatProtectionOnboardingFilename + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAdvancedThreatProtectionOnboardingFilename($val) + { + $this->_propDict["advancedThreatProtectionOnboardingFilename"] = $val; + return $this; + } + + /** + * Gets the allowSampleSharing + * Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule + * + * @return bool|null The allowSampleSharing + */ + public function getAllowSampleSharing() + { + if (array_key_exists("allowSampleSharing", $this->_propDict)) { + return $this->_propDict["allowSampleSharing"]; + } else { + return null; + } + } + + /** + * Sets the allowSampleSharing + * Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule + * + * @param bool $val The allowSampleSharing + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAllowSampleSharing($val) + { + $this->_propDict["allowSampleSharing"] = boolval($val); + return $this; + } + + /** + * Gets the enableExpeditedTelemetryReporting + * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. + * + * @return bool|null The enableExpeditedTelemetryReporting + */ + public function getEnableExpeditedTelemetryReporting() + { + if (array_key_exists("enableExpeditedTelemetryReporting", $this->_propDict)) { + return $this->_propDict["enableExpeditedTelemetryReporting"]; + } else { + return null; + } + } + + /** + * Sets the enableExpeditedTelemetryReporting + * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. + * + * @param bool $val The enableExpeditedTelemetryReporting + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setEnableExpeditedTelemetryReporting($val) + { + $this->_propDict["enableExpeditedTelemetryReporting"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicy.php new file mode 100644 index 0000000..b96a29a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicy.php @@ -0,0 +1,364 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The WindowsDefenderApplicationControl supplemental policy content in byte array format. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentFileName + * The WindowsDefenderApplicationControl supplemental policy content's file name. + * + * @return string|null The contentFileName + */ + public function getContentFileName() + { + if (array_key_exists("contentFileName", $this->_propDict)) { + return $this->_propDict["contentFileName"]; + } else { + return null; + } + } + + /** + * Sets the contentFileName + * The WindowsDefenderApplicationControl supplemental policy content's file name. + * + * @param string $val The contentFileName + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setContentFileName($val) + { + $this->_propDict["contentFileName"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * The date and time when the WindowsDefenderApplicationControl supplemental policy was uploaded. + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * The date and time when the WindowsDefenderApplicationControl supplemental policy was uploaded. + * + * @param \DateTime $val The creationDateTime + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of WindowsDefenderApplicationControl supplemental policy. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of WindowsDefenderApplicationControl supplemental policy. + * + * @param string $val The description + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of WindowsDefenderApplicationControl supplemental policy. + * + * @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 + * The display name of WindowsDefenderApplicationControl supplemental policy. + * + * @param string $val The displayName + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the WindowsDefenderApplicationControl supplemental policy was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the WindowsDefenderApplicationControl supplemental policy was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this WindowsDefenderApplicationControl supplemental policy entity. + * + * @param string $val The roleScopeTagIds + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the version + * The WindowsDefenderApplicationControl supplemental policy's version. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The WindowsDefenderApplicationControl supplemental policy's version. + * + * @param string $val The version + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The associated group assignments for this WindowsDefenderApplicationControl supplemental policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The associated group assignments for this WindowsDefenderApplicationControl supplemental policy. + * + * @param WindowsDefenderApplicationControlSupplementalPolicyAssignment[] $val The assignments + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the deploySummary + * WindowsDefenderApplicationControl supplemental policy deployment summary. + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary|null The deploySummary + */ + public function getDeploySummary() + { + if (array_key_exists("deploySummary", $this->_propDict)) { + if (is_a($this->_propDict["deploySummary"], "\Beta\Microsoft\Graph\Model\WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary") || is_null($this->_propDict["deploySummary"])) { + return $this->_propDict["deploySummary"]; + } else { + $this->_propDict["deploySummary"] = new WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary($this->_propDict["deploySummary"]); + return $this->_propDict["deploySummary"]; + } + } + return null; + } + + /** + * Sets the deploySummary + * WindowsDefenderApplicationControl supplemental policy deployment summary. + * + * @param WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary $val The deploySummary + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setDeploySummary($val) + { + $this->_propDict["deploySummary"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * The list of device deployment states for this WindowsDefenderApplicationControl supplemental policy. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * The list of device deployment states for this WindowsDefenderApplicationControl supplemental policy. + * + * @param WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus[] $val The deviceStatuses + * + * @return WindowsDefenderApplicationControlSupplementalPolicy + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyAssignment.php new file mode 100644 index 0000000..782ff29 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target group assignment defined by the admin. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return WindowsDefenderApplicationControlSupplementalPolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.php new file mode 100644 index 0000000..23ad65b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.php @@ -0,0 +1,329 @@ +_propDict)) { + if (is_a($this->_propDict["deploymentStatus"], "\Beta\Microsoft\Graph\Model\WindowsDefenderApplicationControlSupplementalPolicyStatuses") || is_null($this->_propDict["deploymentStatus"])) { + return $this->_propDict["deploymentStatus"]; + } else { + $this->_propDict["deploymentStatus"] = new WindowsDefenderApplicationControlSupplementalPolicyStatuses($this->_propDict["deploymentStatus"]); + return $this->_propDict["deploymentStatus"]; + } + } + return null; + } + + /** + * Sets the deploymentStatus + * The deployment state of the policy. Possible values are: unknown, success, tokenError, notAuthorizedByToken, policyNotFound. + * + * @param WindowsDefenderApplicationControlSupplementalPolicyStatuses $val The deploymentStatus + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setDeploymentStatus($val) + { + $this->_propDict["deploymentStatus"] = $val; + return $this; + } + + /** + * Gets the deviceId + * Device ID. + * + * @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 + * Device ID. + * + * @param string $val The deviceId + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name. + * + * @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 + * Device name. + * + * @param string $val The deviceName + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last sync date time. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last sync date time. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the osDescription + * Windows OS Version Description. + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * Windows OS Version Description. + * + * @param string $val The osDescription + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Windows OS Version. + * + * @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 + * Windows OS Version. + * + * @param string $val The osVersion + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the policyVersion + * Human readable version of the WindowsDefenderApplicationControl supplemental policy. + * + * @return string|null The policyVersion + */ + public function getPolicyVersion() + { + if (array_key_exists("policyVersion", $this->_propDict)) { + return $this->_propDict["policyVersion"]; + } else { + return null; + } + } + + /** + * Sets the policyVersion + * Human readable version of the WindowsDefenderApplicationControl supplemental policy. + * + * @param string $val The policyVersion + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setPolicyVersion($val) + { + $this->_propDict["policyVersion"] = $val; + return $this; + } + + /** + * Gets the userName + * The name of the user of this device. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The name of the user of this device. + * + * @param string $val The userName + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name. + * + * @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 + * User Principal Name. + * + * @param string $val The userPrincipalName + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the policy + * The navigation link to the WindowsDefenderApplicationControl supplemental policy. + * + * @return WindowsDefenderApplicationControlSupplementalPolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\WindowsDefenderApplicationControlSupplementalPolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new WindowsDefenderApplicationControlSupplementalPolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * The navigation link to the WindowsDefenderApplicationControl supplemental policy. + * + * @param WindowsDefenderApplicationControlSupplementalPolicy $val The policy + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.php new file mode 100644 index 0000000..1bb2770 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["deployedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedDeviceCount + * Number of Devices that have successfully deployed this WindowsDefenderApplicationControl supplemental policy. + * + * @param int $val The deployedDeviceCount + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary + */ + public function setDeployedDeviceCount($val) + { + $this->_propDict["deployedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the failedDeviceCount + * Number of Devices that have failed to deploy this WindowsDefenderApplicationControl supplemental policy. + * + * @return int|null The failedDeviceCount + */ + public function getFailedDeviceCount() + { + if (array_key_exists("failedDeviceCount", $this->_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Number of Devices that have failed to deploy this WindowsDefenderApplicationControl supplemental policy. + * + * @param int $val The failedDeviceCount + * + * @return WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyStatuses.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyStatuses.php new file mode 100644 index 0000000..3751f0e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyStatuses.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["scanType"]; + } else { + return null; + } + } + + /** + * Sets the scanType + * Scan type either full scan or quick scan + * + * @param string $val The value of the scanType + * + * @return WindowsDefenderScanActionResult + */ + public function setScanType($val) + { + $this->_propDict["scanType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderTamperProtectionOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderTamperProtectionOptions.php new file mode 100644 index 0000000..d506c79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderTamperProtectionOptions.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["backgroundDownloadFromHttpDelayInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the backgroundDownloadFromHttpDelayInSeconds + * Specifies number of seconds to delay an HTTP source in a background download that is allowed to use peer-to-peer. Valid values 0 to 4294967295 + * + * @param int $val The backgroundDownloadFromHttpDelayInSeconds + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setBackgroundDownloadFromHttpDelayInSeconds($val) + { + $this->_propDict["backgroundDownloadFromHttpDelayInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the bandwidthMode + * Specifies foreground and background bandwidth usage using percentages, absolutes, or hours. + * + * @return DeliveryOptimizationBandwidth|null The bandwidthMode + */ + public function getBandwidthMode() + { + if (array_key_exists("bandwidthMode", $this->_propDict)) { + if (is_a($this->_propDict["bandwidthMode"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidth") || is_null($this->_propDict["bandwidthMode"])) { + return $this->_propDict["bandwidthMode"]; + } else { + $this->_propDict["bandwidthMode"] = new DeliveryOptimizationBandwidth($this->_propDict["bandwidthMode"]); + return $this->_propDict["bandwidthMode"]; + } + } + return null; + } + + /** + * Sets the bandwidthMode + * Specifies foreground and background bandwidth usage using percentages, absolutes, or hours. + * + * @param DeliveryOptimizationBandwidth $val The bandwidthMode + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setBandwidthMode($val) + { + $this->_propDict["bandwidthMode"] = $val; + return $this; + } + + /** + * Gets the cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds + * Specifies number of seconds to delay a fall back from cache servers to an HTTP source for a background download. Valid values 0 to 2592000. + * + * @return int|null The cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds + */ + public function getCacheServerBackgroundDownloadFallbackToHttpDelayInSeconds() + { + if (array_key_exists("cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds", $this->_propDict)) { + return $this->_propDict["cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds + * Specifies number of seconds to delay a fall back from cache servers to an HTTP source for a background download. Valid values 0 to 2592000. + * + * @param int $val The cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setCacheServerBackgroundDownloadFallbackToHttpDelayInSeconds($val) + { + $this->_propDict["cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the cacheServerForegroundDownloadFallbackToHttpDelayInSeconds + * Specifies number of seconds to delay a fall back from cache servers to an HTTP source for a foreground download. Valid values 0 to 2592000.​ + * + * @return int|null The cacheServerForegroundDownloadFallbackToHttpDelayInSeconds + */ + public function getCacheServerForegroundDownloadFallbackToHttpDelayInSeconds() + { + if (array_key_exists("cacheServerForegroundDownloadFallbackToHttpDelayInSeconds", $this->_propDict)) { + return $this->_propDict["cacheServerForegroundDownloadFallbackToHttpDelayInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the cacheServerForegroundDownloadFallbackToHttpDelayInSeconds + * Specifies number of seconds to delay a fall back from cache servers to an HTTP source for a foreground download. Valid values 0 to 2592000.​ + * + * @param int $val The cacheServerForegroundDownloadFallbackToHttpDelayInSeconds + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setCacheServerForegroundDownloadFallbackToHttpDelayInSeconds($val) + { + $this->_propDict["cacheServerForegroundDownloadFallbackToHttpDelayInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the cacheServerHostNames + * Specifies cache servers host names. + * + * @return string|null The cacheServerHostNames + */ + public function getCacheServerHostNames() + { + if (array_key_exists("cacheServerHostNames", $this->_propDict)) { + return $this->_propDict["cacheServerHostNames"]; + } else { + return null; + } + } + + /** + * Sets the cacheServerHostNames + * Specifies cache servers host names. + * + * @param string $val The cacheServerHostNames + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setCacheServerHostNames($val) + { + $this->_propDict["cacheServerHostNames"] = $val; + return $this; + } + + /** + * Gets the deliveryOptimizationMode + * Specifies the download method that delivery optimization can use to manage network bandwidth consumption for large content distribution scenarios. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + * + * @return WindowsDeliveryOptimizationMode|null The deliveryOptimizationMode + */ + public function getDeliveryOptimizationMode() + { + if (array_key_exists("deliveryOptimizationMode", $this->_propDict)) { + if (is_a($this->_propDict["deliveryOptimizationMode"], "\Beta\Microsoft\Graph\Model\WindowsDeliveryOptimizationMode") || is_null($this->_propDict["deliveryOptimizationMode"])) { + return $this->_propDict["deliveryOptimizationMode"]; + } else { + $this->_propDict["deliveryOptimizationMode"] = new WindowsDeliveryOptimizationMode($this->_propDict["deliveryOptimizationMode"]); + return $this->_propDict["deliveryOptimizationMode"]; + } + } + return null; + } + + /** + * Sets the deliveryOptimizationMode + * Specifies the download method that delivery optimization can use to manage network bandwidth consumption for large content distribution scenarios. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + * + * @param WindowsDeliveryOptimizationMode $val The deliveryOptimizationMode + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setDeliveryOptimizationMode($val) + { + $this->_propDict["deliveryOptimizationMode"] = $val; + return $this; + } + + /** + * Gets the foregroundDownloadFromHttpDelayInSeconds + * Specifying 0 sets Delivery Optimization to manage this setting using the cloud service. Valid values 0 to 86400 + * + * @return int|null The foregroundDownloadFromHttpDelayInSeconds + */ + public function getForegroundDownloadFromHttpDelayInSeconds() + { + if (array_key_exists("foregroundDownloadFromHttpDelayInSeconds", $this->_propDict)) { + return $this->_propDict["foregroundDownloadFromHttpDelayInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the foregroundDownloadFromHttpDelayInSeconds + * Specifying 0 sets Delivery Optimization to manage this setting using the cloud service. Valid values 0 to 86400 + * + * @param int $val The foregroundDownloadFromHttpDelayInSeconds + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setForegroundDownloadFromHttpDelayInSeconds($val) + { + $this->_propDict["foregroundDownloadFromHttpDelayInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the groupIdSource + * The options set in this policy only apply to Delivery Optimization mode Group (2) download mode. If Group (2) isn't set as Download mode, this policy will be ignored. For option 3 - DHCP Option ID, the client will query DHCP Option ID 234 and use the returned GUID value as the Group ID. + * + * @return DeliveryOptimizationGroupIdSource|null The groupIdSource + */ + public function getGroupIdSource() + { + if (array_key_exists("groupIdSource", $this->_propDict)) { + if (is_a($this->_propDict["groupIdSource"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationGroupIdSource") || is_null($this->_propDict["groupIdSource"])) { + return $this->_propDict["groupIdSource"]; + } else { + $this->_propDict["groupIdSource"] = new DeliveryOptimizationGroupIdSource($this->_propDict["groupIdSource"]); + return $this->_propDict["groupIdSource"]; + } + } + return null; + } + + /** + * Sets the groupIdSource + * The options set in this policy only apply to Delivery Optimization mode Group (2) download mode. If Group (2) isn't set as Download mode, this policy will be ignored. For option 3 - DHCP Option ID, the client will query DHCP Option ID 234 and use the returned GUID value as the Group ID. + * + * @param DeliveryOptimizationGroupIdSource $val The groupIdSource + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setGroupIdSource($val) + { + $this->_propDict["groupIdSource"] = $val; + return $this; + } + + /** + * Gets the maximumCacheAgeInDays + * Specifies the maximum time in days that each file is held in the Delivery Optimization cache after downloading successfully (0-3650). Valid values 0 to 3650 + * + * @return int|null The maximumCacheAgeInDays + */ + public function getMaximumCacheAgeInDays() + { + if (array_key_exists("maximumCacheAgeInDays", $this->_propDict)) { + return $this->_propDict["maximumCacheAgeInDays"]; + } else { + return null; + } + } + + /** + * Sets the maximumCacheAgeInDays + * Specifies the maximum time in days that each file is held in the Delivery Optimization cache after downloading successfully (0-3650). Valid values 0 to 3650 + * + * @param int $val The maximumCacheAgeInDays + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setMaximumCacheAgeInDays($val) + { + $this->_propDict["maximumCacheAgeInDays"] = intval($val); + return $this; + } + + /** + * Gets the maximumCacheSize + * Specifies the maximum cache size that Delivery Optimization either as a percentage or in GB. + * + * @return DeliveryOptimizationMaxCacheSize|null The maximumCacheSize + */ + public function getMaximumCacheSize() + { + if (array_key_exists("maximumCacheSize", $this->_propDict)) { + if (is_a($this->_propDict["maximumCacheSize"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationMaxCacheSize") || is_null($this->_propDict["maximumCacheSize"])) { + return $this->_propDict["maximumCacheSize"]; + } else { + $this->_propDict["maximumCacheSize"] = new DeliveryOptimizationMaxCacheSize($this->_propDict["maximumCacheSize"]); + return $this->_propDict["maximumCacheSize"]; + } + } + return null; + } + + /** + * Sets the maximumCacheSize + * Specifies the maximum cache size that Delivery Optimization either as a percentage or in GB. + * + * @param DeliveryOptimizationMaxCacheSize $val The maximumCacheSize + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setMaximumCacheSize($val) + { + $this->_propDict["maximumCacheSize"] = $val; + return $this; + } + + /** + * Gets the minimumBatteryPercentageAllowedToUpload + * The default value is 0. The value 0 (zero) means "not limited" and the cloud service default value will be used. Valid values 0 to 100 + * + * @return int|null The minimumBatteryPercentageAllowedToUpload + */ + public function getMinimumBatteryPercentageAllowedToUpload() + { + if (array_key_exists("minimumBatteryPercentageAllowedToUpload", $this->_propDict)) { + return $this->_propDict["minimumBatteryPercentageAllowedToUpload"]; + } else { + return null; + } + } + + /** + * Sets the minimumBatteryPercentageAllowedToUpload + * The default value is 0. The value 0 (zero) means "not limited" and the cloud service default value will be used. Valid values 0 to 100 + * + * @param int $val The minimumBatteryPercentageAllowedToUpload + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setMinimumBatteryPercentageAllowedToUpload($val) + { + $this->_propDict["minimumBatteryPercentageAllowedToUpload"] = intval($val); + return $this; + } + + /** + * Gets the minimumDiskSizeAllowedToPeerInGigabytes + * Recommended values: 64 GB to 256 GB. Valid values 1 to 100000 + * + * @return int|null The minimumDiskSizeAllowedToPeerInGigabytes + */ + public function getMinimumDiskSizeAllowedToPeerInGigabytes() + { + if (array_key_exists("minimumDiskSizeAllowedToPeerInGigabytes", $this->_propDict)) { + return $this->_propDict["minimumDiskSizeAllowedToPeerInGigabytes"]; + } else { + return null; + } + } + + /** + * Sets the minimumDiskSizeAllowedToPeerInGigabytes + * Recommended values: 64 GB to 256 GB. Valid values 1 to 100000 + * + * @param int $val The minimumDiskSizeAllowedToPeerInGigabytes + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setMinimumDiskSizeAllowedToPeerInGigabytes($val) + { + $this->_propDict["minimumDiskSizeAllowedToPeerInGigabytes"] = intval($val); + return $this; + } + + /** + * Gets the minimumFileSizeToCacheInMegabytes + * Recommended values: 1 MB to 100,000 MB. Valid values 1 to 100000 + * + * @return int|null The minimumFileSizeToCacheInMegabytes + */ + public function getMinimumFileSizeToCacheInMegabytes() + { + if (array_key_exists("minimumFileSizeToCacheInMegabytes", $this->_propDict)) { + return $this->_propDict["minimumFileSizeToCacheInMegabytes"]; + } else { + return null; + } + } + + /** + * Sets the minimumFileSizeToCacheInMegabytes + * Recommended values: 1 MB to 100,000 MB. Valid values 1 to 100000 + * + * @param int $val The minimumFileSizeToCacheInMegabytes + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setMinimumFileSizeToCacheInMegabytes($val) + { + $this->_propDict["minimumFileSizeToCacheInMegabytes"] = intval($val); + return $this; + } + + /** + * Gets the minimumRamAllowedToPeerInGigabytes + * Specifies the minimum RAM size in GB to use Peer Caching (1-100000). Valid values 1 to 100000 + * + * @return int|null The minimumRamAllowedToPeerInGigabytes + */ + public function getMinimumRamAllowedToPeerInGigabytes() + { + if (array_key_exists("minimumRamAllowedToPeerInGigabytes", $this->_propDict)) { + return $this->_propDict["minimumRamAllowedToPeerInGigabytes"]; + } else { + return null; + } + } + + /** + * Sets the minimumRamAllowedToPeerInGigabytes + * Specifies the minimum RAM size in GB to use Peer Caching (1-100000). Valid values 1 to 100000 + * + * @param int $val The minimumRamAllowedToPeerInGigabytes + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setMinimumRamAllowedToPeerInGigabytes($val) + { + $this->_propDict["minimumRamAllowedToPeerInGigabytes"] = intval($val); + return $this; + } + + /** + * Gets the modifyCacheLocation + * Specifies the drive that Delivery Optimization should use for its cache. + * + * @return string|null The modifyCacheLocation + */ + public function getModifyCacheLocation() + { + if (array_key_exists("modifyCacheLocation", $this->_propDict)) { + return $this->_propDict["modifyCacheLocation"]; + } else { + return null; + } + } + + /** + * Sets the modifyCacheLocation + * Specifies the drive that Delivery Optimization should use for its cache. + * + * @param string $val The modifyCacheLocation + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setModifyCacheLocation($val) + { + $this->_propDict["modifyCacheLocation"] = $val; + return $this; + } + + /** + * Gets the restrictPeerSelectionBy + * Option 1 (Subnet mask) only applies to Delivery Optimization modes Download Mode LAN (1) and Group (2). + * + * @return DeliveryOptimizationRestrictPeerSelectionByOptions|null The restrictPeerSelectionBy + */ + public function getRestrictPeerSelectionBy() + { + if (array_key_exists("restrictPeerSelectionBy", $this->_propDict)) { + if (is_a($this->_propDict["restrictPeerSelectionBy"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationRestrictPeerSelectionByOptions") || is_null($this->_propDict["restrictPeerSelectionBy"])) { + return $this->_propDict["restrictPeerSelectionBy"]; + } else { + $this->_propDict["restrictPeerSelectionBy"] = new DeliveryOptimizationRestrictPeerSelectionByOptions($this->_propDict["restrictPeerSelectionBy"]); + return $this->_propDict["restrictPeerSelectionBy"]; + } + } + return null; + } + + /** + * Sets the restrictPeerSelectionBy + * Option 1 (Subnet mask) only applies to Delivery Optimization modes Download Mode LAN (1) and Group (2). + * + * @param DeliveryOptimizationRestrictPeerSelectionByOptions $val The restrictPeerSelectionBy + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setRestrictPeerSelectionBy($val) + { + $this->_propDict["restrictPeerSelectionBy"] = $val; + return $this; + } + + /** + * Gets the vpnPeerCaching + * Specifies whether the device is allowed to participate in Peer Caching while connected via VPN to the domain network. + * + * @return Enablement|null The vpnPeerCaching + */ + public function getVpnPeerCaching() + { + if (array_key_exists("vpnPeerCaching", $this->_propDict)) { + if (is_a($this->_propDict["vpnPeerCaching"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["vpnPeerCaching"])) { + return $this->_propDict["vpnPeerCaching"]; + } else { + $this->_propDict["vpnPeerCaching"] = new Enablement($this->_propDict["vpnPeerCaching"]); + return $this->_propDict["vpnPeerCaching"]; + } + } + return null; + } + + /** + * Sets the vpnPeerCaching + * Specifies whether the device is allowed to participate in Peer Caching while connected via VPN to the domain network. + * + * @param Enablement $val The vpnPeerCaching + * + * @return WindowsDeliveryOptimizationConfiguration + */ + public function setVpnPeerCaching($val) + { + $this->_propDict["vpnPeerCaching"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeliveryOptimizationMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeliveryOptimizationMode.php new file mode 100644 index 0000000..93e4ebc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeliveryOptimizationMode.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * Not yet documented + * + * @param string $val The value of the domainName + * + * @return WindowsDeviceADAccount + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + /** + * Gets the userName + * Not yet documented + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * Not yet documented + * + * @param string $val The value of the userName + * + * @return WindowsDeviceADAccount + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAccount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAccount.php new file mode 100644 index 0000000..5010687 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAccount.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * Not yet documented + * + * @param string $val The value of the password + * + * @return WindowsDeviceAccount + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAzureADAccount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAzureADAccount.php new file mode 100644 index 0000000..9430096 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAzureADAccount.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * Not yet documented + * + * @param string $val The value of the userPrincipalName + * + * @return WindowsDeviceAzureADAccount + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceHealthState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceHealthState.php new file mode 100644 index 0000000..314fb40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceHealthState.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["additionalInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformationUrl + * Information URL to learn more about the malware + * + * @param string $val The additionalInformationUrl + * + * @return WindowsDeviceMalwareState + */ + public function setAdditionalInformationUrl($val) + { + $this->_propDict["additionalInformationUrl"] = $val; + return $this; + } + + /** + * Gets the category + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * + * @return WindowsMalwareCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new WindowsMalwareCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * + * @param WindowsMalwareCategory $val The category + * + * @return WindowsDeviceMalwareState + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the detectionCount + * Number of times the malware is detected + * + * @return int|null The detectionCount + */ + public function getDetectionCount() + { + if (array_key_exists("detectionCount", $this->_propDict)) { + return $this->_propDict["detectionCount"]; + } else { + return null; + } + } + + /** + * Sets the detectionCount + * Number of times the malware is detected + * + * @param int $val The detectionCount + * + * @return WindowsDeviceMalwareState + */ + public function setDetectionCount($val) + { + $this->_propDict["detectionCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * Malware name + * + * @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 + * Malware name + * + * @param string $val The displayName + * + * @return WindowsDeviceMalwareState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the executionState + * Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning. + * + * @return WindowsMalwareExecutionState|null The executionState + */ + public function getExecutionState() + { + if (array_key_exists("executionState", $this->_propDict)) { + if (is_a($this->_propDict["executionState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionState") || is_null($this->_propDict["executionState"])) { + return $this->_propDict["executionState"]; + } else { + $this->_propDict["executionState"] = new WindowsMalwareExecutionState($this->_propDict["executionState"]); + return $this->_propDict["executionState"]; + } + } + return null; + } + + /** + * Sets the executionState + * Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning. + * + * @param WindowsMalwareExecutionState $val The executionState + * + * @return WindowsDeviceMalwareState + */ + public function setExecutionState($val) + { + $this->_propDict["executionState"] = $val; + return $this; + } + + /** + * Gets the initialDetectionDateTime + * Initial detection datetime of the malware + * + * @return \DateTime|null The initialDetectionDateTime + */ + public function getInitialDetectionDateTime() + { + if (array_key_exists("initialDetectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["initialDetectionDateTime"], "\DateTime") || is_null($this->_propDict["initialDetectionDateTime"])) { + return $this->_propDict["initialDetectionDateTime"]; + } else { + $this->_propDict["initialDetectionDateTime"] = new \DateTime($this->_propDict["initialDetectionDateTime"]); + return $this->_propDict["initialDetectionDateTime"]; + } + } + return null; + } + + /** + * Sets the initialDetectionDateTime + * Initial detection datetime of the malware + * + * @param \DateTime $val The initialDetectionDateTime + * + * @return WindowsDeviceMalwareState + */ + public function setInitialDetectionDateTime($val) + { + $this->_propDict["initialDetectionDateTime"] = $val; + return $this; + } + + /** + * Gets the lastStateChangeDateTime + * The last time this particular threat was changed + * + * @return \DateTime|null The lastStateChangeDateTime + */ + public function getLastStateChangeDateTime() + { + if (array_key_exists("lastStateChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastStateChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastStateChangeDateTime"])) { + return $this->_propDict["lastStateChangeDateTime"]; + } else { + $this->_propDict["lastStateChangeDateTime"] = new \DateTime($this->_propDict["lastStateChangeDateTime"]); + return $this->_propDict["lastStateChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the lastStateChangeDateTime + * The last time this particular threat was changed + * + * @param \DateTime $val The lastStateChangeDateTime + * + * @return WindowsDeviceMalwareState + */ + public function setLastStateChangeDateTime($val) + { + $this->_propDict["lastStateChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the severity + * Severity of the malware. Possible values are: unknown, low, moderate, high, severe. + * + * @return WindowsMalwareSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new WindowsMalwareSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * Severity of the malware. Possible values are: unknown, low, moderate, high, severe. + * + * @param WindowsMalwareSeverity $val The severity + * + * @return WindowsDeviceMalwareState + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + + /** + * Gets the state + * Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: unknown, detected, cleaned, quarantined, removed, allowed, blocked, cleanFailed, quarantineFailed, removeFailed, allowFailed, abandoned, blockFailed. + * + * @return WindowsMalwareState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\WindowsMalwareState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new WindowsMalwareState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: unknown, detected, cleaned, quarantined, removed, allowed, blocked, cleanFailed, quarantineFailed, removeFailed, allowFailed, abandoned, blockFailed. + * + * @param WindowsMalwareState $val The state + * + * @return WindowsDeviceMalwareState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the threatState + * Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. + * + * @return WindowsMalwareThreatState|null The threatState + */ + public function getThreatState() + { + if (array_key_exists("threatState", $this->_propDict)) { + if (is_a($this->_propDict["threatState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareThreatState") || is_null($this->_propDict["threatState"])) { + return $this->_propDict["threatState"]; + } else { + $this->_propDict["threatState"] = new WindowsMalwareThreatState($this->_propDict["threatState"]); + return $this->_propDict["threatState"]; + } + } + return null; + } + + /** + * Sets the threatState + * Current status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. + * + * @param WindowsMalwareThreatState $val The threatState + * + * @return WindowsDeviceMalwareState + */ + public function setThreatState($val) + { + $this->_propDict["threatState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php new file mode 100644 index 0000000..8b641b7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["activeDirectoryDomainName"]; + } else { + return null; + } + } + + /** + * Sets the activeDirectoryDomainName + * Active Directory domain name to join. + * + * @param string $val The activeDirectoryDomainName + * + * @return WindowsDomainJoinConfiguration + */ + public function setActiveDirectoryDomainName($val) + { + $this->_propDict["activeDirectoryDomainName"] = $val; + return $this; + } + + /** + * Gets the computerNameStaticPrefix + * Fixed prefix to be used for computer name. + * + * @return string|null The computerNameStaticPrefix + */ + public function getComputerNameStaticPrefix() + { + if (array_key_exists("computerNameStaticPrefix", $this->_propDict)) { + return $this->_propDict["computerNameStaticPrefix"]; + } else { + return null; + } + } + + /** + * Sets the computerNameStaticPrefix + * Fixed prefix to be used for computer name. + * + * @param string $val The computerNameStaticPrefix + * + * @return WindowsDomainJoinConfiguration + */ + public function setComputerNameStaticPrefix($val) + { + $this->_propDict["computerNameStaticPrefix"] = $val; + return $this; + } + + /** + * Gets the computerNameSuffixRandomCharCount + * Dynamically generated characters used as suffix for computer name. Valid values 3 to 14 + * + * @return int|null The computerNameSuffixRandomCharCount + */ + public function getComputerNameSuffixRandomCharCount() + { + if (array_key_exists("computerNameSuffixRandomCharCount", $this->_propDict)) { + return $this->_propDict["computerNameSuffixRandomCharCount"]; + } else { + return null; + } + } + + /** + * Sets the computerNameSuffixRandomCharCount + * Dynamically generated characters used as suffix for computer name. Valid values 3 to 14 + * + * @param int $val The computerNameSuffixRandomCharCount + * + * @return WindowsDomainJoinConfiguration + */ + public function setComputerNameSuffixRandomCharCount($val) + { + $this->_propDict["computerNameSuffixRandomCharCount"] = intval($val); + return $this; + } + + /** + * Gets the organizationalUnit + * Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain. + * + * @return string|null The organizationalUnit + */ + public function getOrganizationalUnit() + { + if (array_key_exists("organizationalUnit", $this->_propDict)) { + return $this->_propDict["organizationalUnit"]; + } else { + return null; + } + } + + /** + * Sets the organizationalUnit + * Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain. + * + * @param string $val The organizationalUnit + * + * @return WindowsDomainJoinConfiguration + */ + public function setOrganizationalUnit($val) + { + $this->_propDict["organizationalUnit"] = $val; + return $this; + } + + + /** + * Gets the networkAccessConfigurations + * Reference to device configurations required for network connectivity + * + * @return array|null The networkAccessConfigurations + */ + public function getNetworkAccessConfigurations() + { + if (array_key_exists("networkAccessConfigurations", $this->_propDict)) { + return $this->_propDict["networkAccessConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the networkAccessConfigurations + * Reference to device configurations required for network connectivity + * + * @param DeviceConfiguration[] $val The networkAccessConfigurations + * + * @return WindowsDomainJoinConfiguration + */ + public function setNetworkAccessConfigurations($val) + { + $this->_propDict["networkAccessConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateInventory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateInventory.php new file mode 100644 index 0000000..fb96ee9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateInventory.php @@ -0,0 +1,304 @@ +_propDict)) { + return $this->_propDict["applicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the applicableDeviceCount + * The number of devices for which this driver is applicable. + * + * @param int $val The applicableDeviceCount + * + * @return WindowsDriverUpdateInventory + */ + public function setApplicableDeviceCount($val) + { + $this->_propDict["applicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the approvalStatus + * The approval status for this driver. Possible values are: needsReview, declined, approved, suspended. + * + * @return DriverApprovalStatus|null The approvalStatus + */ + public function getApprovalStatus() + { + if (array_key_exists("approvalStatus", $this->_propDict)) { + if (is_a($this->_propDict["approvalStatus"], "\Beta\Microsoft\Graph\Model\DriverApprovalStatus") || is_null($this->_propDict["approvalStatus"])) { + return $this->_propDict["approvalStatus"]; + } else { + $this->_propDict["approvalStatus"] = new DriverApprovalStatus($this->_propDict["approvalStatus"]); + return $this->_propDict["approvalStatus"]; + } + } + return null; + } + + /** + * Sets the approvalStatus + * The approval status for this driver. Possible values are: needsReview, declined, approved, suspended. + * + * @param DriverApprovalStatus $val The approvalStatus + * + * @return WindowsDriverUpdateInventory + */ + public function setApprovalStatus($val) + { + $this->_propDict["approvalStatus"] = $val; + return $this; + } + + /** + * Gets the category + * The category for this driver. Possible values are: recommended, previouslyApproved, other. + * + * @return DriverCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\DriverCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new DriverCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The category for this driver. Possible values are: recommended, previouslyApproved, other. + * + * @param DriverCategory $val The category + * + * @return WindowsDriverUpdateInventory + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the deployDateTime + * The date time when a driver should be deployed if approvalStatus is approved. + * + * @return \DateTime|null The deployDateTime + */ + public function getDeployDateTime() + { + if (array_key_exists("deployDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deployDateTime"], "\DateTime") || is_null($this->_propDict["deployDateTime"])) { + return $this->_propDict["deployDateTime"]; + } else { + $this->_propDict["deployDateTime"] = new \DateTime($this->_propDict["deployDateTime"]); + return $this->_propDict["deployDateTime"]; + } + } + return null; + } + + /** + * Sets the deployDateTime + * The date time when a driver should be deployed if approvalStatus is approved. + * + * @param \DateTime $val The deployDateTime + * + * @return WindowsDriverUpdateInventory + */ + public function setDeployDateTime($val) + { + $this->_propDict["deployDateTime"] = $val; + return $this; + } + + /** + * Gets the driverClass + * The class of the driver. + * + * @return string|null The driverClass + */ + public function getDriverClass() + { + if (array_key_exists("driverClass", $this->_propDict)) { + return $this->_propDict["driverClass"]; + } else { + return null; + } + } + + /** + * Sets the driverClass + * The class of the driver. + * + * @param string $val The driverClass + * + * @return WindowsDriverUpdateInventory + */ + public function setDriverClass($val) + { + $this->_propDict["driverClass"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The manufacturer of the driver. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The manufacturer of the driver. + * + * @param string $val The manufacturer + * + * @return WindowsDriverUpdateInventory + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the name + * The name of the driver. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the driver. + * + * @param string $val The name + * + * @return WindowsDriverUpdateInventory + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * The release date time of the driver. + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * The release date time of the driver. + * + * @param \DateTime $val The releaseDateTime + * + * @return WindowsDriverUpdateInventory + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the driver. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the driver. + * + * @param string $val The version + * + * @return WindowsDriverUpdateInventory + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfile.php new file mode 100644 index 0000000..afb5584 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfile.php @@ -0,0 +1,393 @@ +_propDict)) { + if (is_a($this->_propDict["approvalType"], "\Beta\Microsoft\Graph\Model\DriverUpdateProfileApprovalType") || is_null($this->_propDict["approvalType"])) { + return $this->_propDict["approvalType"]; + } else { + $this->_propDict["approvalType"] = new DriverUpdateProfileApprovalType($this->_propDict["approvalType"]); + return $this->_propDict["approvalType"]; + } + } + return null; + } + + /** + * Sets the approvalType + * Driver update profile approval type. For example, manual or automatic approval. Possible values are: manual, automatic. + * + * @param DriverUpdateProfileApprovalType $val The approvalType + * + * @return WindowsDriverUpdateProfile + */ + public function setApprovalType($val) + { + $this->_propDict["approvalType"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date time that the profile was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date time that the profile was created. + * + * @param \DateTime $val The createdDateTime + * + * @return WindowsDriverUpdateProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deploymentDeferralInDays + * Deployment deferral settings in days, only applicable when ApprovalType is set to automatic approval. + * + * @return int|null The deploymentDeferralInDays + */ + public function getDeploymentDeferralInDays() + { + if (array_key_exists("deploymentDeferralInDays", $this->_propDict)) { + return $this->_propDict["deploymentDeferralInDays"]; + } else { + return null; + } + } + + /** + * Sets the deploymentDeferralInDays + * Deployment deferral settings in days, only applicable when ApprovalType is set to automatic approval. + * + * @param int $val The deploymentDeferralInDays + * + * @return WindowsDriverUpdateProfile + */ + public function setDeploymentDeferralInDays($val) + { + $this->_propDict["deploymentDeferralInDays"] = intval($val); + return $this; + } + + /** + * Gets the description + * The description of the profile which is specified by the user. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the profile which is specified by the user. + * + * @param string $val The description + * + * @return WindowsDriverUpdateProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the deviceReporting + * Number of devices reporting for this profile + * + * @return int|null The deviceReporting + */ + public function getDeviceReporting() + { + if (array_key_exists("deviceReporting", $this->_propDict)) { + return $this->_propDict["deviceReporting"]; + } else { + return null; + } + } + + /** + * Sets the deviceReporting + * Number of devices reporting for this profile + * + * @param int $val The deviceReporting + * + * @return WindowsDriverUpdateProfile + */ + public function setDeviceReporting($val) + { + $this->_propDict["deviceReporting"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The display name for the profile. + * + * @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 + * The display name for the profile. + * + * @param string $val The displayName + * + * @return WindowsDriverUpdateProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the inventorySyncStatus + * Driver inventory sync status for this profile. + * + * @return WindowsDriverUpdateProfileInventorySyncStatus|null The inventorySyncStatus + */ + public function getInventorySyncStatus() + { + if (array_key_exists("inventorySyncStatus", $this->_propDict)) { + if (is_a($this->_propDict["inventorySyncStatus"], "\Beta\Microsoft\Graph\Model\WindowsDriverUpdateProfileInventorySyncStatus") || is_null($this->_propDict["inventorySyncStatus"])) { + return $this->_propDict["inventorySyncStatus"]; + } else { + $this->_propDict["inventorySyncStatus"] = new WindowsDriverUpdateProfileInventorySyncStatus($this->_propDict["inventorySyncStatus"]); + return $this->_propDict["inventorySyncStatus"]; + } + } + return null; + } + + /** + * Sets the inventorySyncStatus + * Driver inventory sync status for this profile. + * + * @param WindowsDriverUpdateProfileInventorySyncStatus $val The inventorySyncStatus + * + * @return WindowsDriverUpdateProfile + */ + public function setInventorySyncStatus($val) + { + $this->_propDict["inventorySyncStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date time that the profile was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date time that the profile was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return WindowsDriverUpdateProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the newUpdates + * Number of new driver updates available for this profile. + * + * @return int|null The newUpdates + */ + public function getNewUpdates() + { + if (array_key_exists("newUpdates", $this->_propDict)) { + return $this->_propDict["newUpdates"]; + } else { + return null; + } + } + + /** + * Sets the newUpdates + * Number of new driver updates available for this profile. + * + * @param int $val The newUpdates + * + * @return WindowsDriverUpdateProfile + */ + public function setNewUpdates($val) + { + $this->_propDict["newUpdates"] = intval($val); + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Driver Update entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Driver Update entity. + * + * @param string $val The roleScopeTagIds + * + * @return WindowsDriverUpdateProfile + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments of the profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments of the profile. + * + * @param WindowsDriverUpdateProfileAssignment[] $val The assignments + * + * @return WindowsDriverUpdateProfile + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the driverInventories + * Driver inventories for this profile. + * + * @return array|null The driverInventories + */ + public function getDriverInventories() + { + if (array_key_exists("driverInventories", $this->_propDict)) { + return $this->_propDict["driverInventories"]; + } else { + return null; + } + } + + /** + * Sets the driverInventories + * Driver inventories for this profile. + * + * @param WindowsDriverUpdateInventory[] $val The driverInventories + * + * @return WindowsDriverUpdateProfile + */ + public function setDriverInventories($val) + { + $this->_propDict["driverInventories"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfileAssignment.php new file mode 100644 index 0000000..d5fb7a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfileAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target that the driver update profile is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return WindowsDriverUpdateProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfileInventorySyncState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfileInventorySyncState.php new file mode 100644 index 0000000..fa326b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDriverUpdateProfileInventorySyncState.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["driverInventorySyncState"], "\Beta\Microsoft\Graph\Model\WindowsDriverUpdateProfileInventorySyncState") || is_null($this->_propDict["driverInventorySyncState"])) { + return $this->_propDict["driverInventorySyncState"]; + } else { + $this->_propDict["driverInventorySyncState"] = new WindowsDriverUpdateProfileInventorySyncState($this->_propDict["driverInventorySyncState"]); + return $this->_propDict["driverInventorySyncState"]; + } + } + return null; + } + + /** + * Sets the driverInventorySyncState + * The state of the latest sync. Possible values are: pending, success, failure. + * + * @param WindowsDriverUpdateProfileInventorySyncState $val The value to assign to the driverInventorySyncState + * + * @return WindowsDriverUpdateProfileInventorySyncStatus The WindowsDriverUpdateProfileInventorySyncStatus + */ + public function setDriverInventorySyncState($val) + { + $this->_propDict["driverInventorySyncState"] = $val; + return $this; + } + + /** + * Gets the lastSuccessfulSyncDateTime + * The last successful sync date and time in UTC. + * + * @return \DateTime|null The lastSuccessfulSyncDateTime + */ + public function getLastSuccessfulSyncDateTime() + { + if (array_key_exists("lastSuccessfulSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSuccessfulSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSuccessfulSyncDateTime"])) { + return $this->_propDict["lastSuccessfulSyncDateTime"]; + } else { + $this->_propDict["lastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["lastSuccessfulSyncDateTime"]); + return $this->_propDict["lastSuccessfulSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSuccessfulSyncDateTime + * The last successful sync date and time in UTC. + * + * @param \DateTime $val The value to assign to the lastSuccessfulSyncDateTime + * + * @return WindowsDriverUpdateProfileInventorySyncStatus The WindowsDriverUpdateProfileInventorySyncStatus + */ + public function setLastSuccessfulSyncDateTime($val) + { + $this->_propDict["lastSuccessfulSyncDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsEdgeKioskType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsEdgeKioskType.php new file mode 100644 index 0000000..f57d599 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsEdgeKioskType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["allowDeviceUseBeforeProfileAndAppInstallComplete"]; + } else { + return null; + } + } + + /** + * Sets the allowDeviceUseBeforeProfileAndAppInstallComplete + * Allow or block user to use device before profile and app installation complete + * + * @param bool $val The value of the allowDeviceUseBeforeProfileAndAppInstallComplete + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setAllowDeviceUseBeforeProfileAndAppInstallComplete($val) + { + $this->_propDict["allowDeviceUseBeforeProfileAndAppInstallComplete"] = $val; + return $this; + } + /** + * Gets the allowDeviceUseOnInstallFailure + * Allow the user to continue using the device on installation failure + * + * @return bool|null The allowDeviceUseOnInstallFailure + */ + public function getAllowDeviceUseOnInstallFailure() + { + if (array_key_exists("allowDeviceUseOnInstallFailure", $this->_propDict)) { + return $this->_propDict["allowDeviceUseOnInstallFailure"]; + } else { + return null; + } + } + + /** + * Sets the allowDeviceUseOnInstallFailure + * Allow the user to continue using the device on installation failure + * + * @param bool $val The value of the allowDeviceUseOnInstallFailure + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setAllowDeviceUseOnInstallFailure($val) + { + $this->_propDict["allowDeviceUseOnInstallFailure"] = $val; + return $this; + } + /** + * Gets the allowLogCollectionOnInstallFailure + * Allow or block log collection on installation failure + * + * @return bool|null The allowLogCollectionOnInstallFailure + */ + public function getAllowLogCollectionOnInstallFailure() + { + if (array_key_exists("allowLogCollectionOnInstallFailure", $this->_propDict)) { + return $this->_propDict["allowLogCollectionOnInstallFailure"]; + } else { + return null; + } + } + + /** + * Sets the allowLogCollectionOnInstallFailure + * Allow or block log collection on installation failure + * + * @param bool $val The value of the allowLogCollectionOnInstallFailure + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setAllowLogCollectionOnInstallFailure($val) + { + $this->_propDict["allowLogCollectionOnInstallFailure"] = $val; + return $this; + } + /** + * Gets the blockDeviceSetupRetryByUser + * Allow the user to retry the setup on installation failure + * + * @return bool|null The blockDeviceSetupRetryByUser + */ + public function getBlockDeviceSetupRetryByUser() + { + if (array_key_exists("blockDeviceSetupRetryByUser", $this->_propDict)) { + return $this->_propDict["blockDeviceSetupRetryByUser"]; + } else { + return null; + } + } + + /** + * Sets the blockDeviceSetupRetryByUser + * Allow the user to retry the setup on installation failure + * + * @param bool $val The value of the blockDeviceSetupRetryByUser + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setBlockDeviceSetupRetryByUser($val) + { + $this->_propDict["blockDeviceSetupRetryByUser"] = $val; + return $this; + } + /** + * Gets the customErrorMessage + * Set custom error message to show upon installation failure + * + * @return string|null The customErrorMessage + */ + public function getCustomErrorMessage() + { + if (array_key_exists("customErrorMessage", $this->_propDict)) { + return $this->_propDict["customErrorMessage"]; + } else { + return null; + } + } + + /** + * Sets the customErrorMessage + * Set custom error message to show upon installation failure + * + * @param string $val The value of the customErrorMessage + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setCustomErrorMessage($val) + { + $this->_propDict["customErrorMessage"] = $val; + return $this; + } + /** + * Gets the hideInstallationProgress + * Show or hide installation progress to user + * + * @return bool|null The hideInstallationProgress + */ + public function getHideInstallationProgress() + { + if (array_key_exists("hideInstallationProgress", $this->_propDict)) { + return $this->_propDict["hideInstallationProgress"]; + } else { + return null; + } + } + + /** + * Sets the hideInstallationProgress + * Show or hide installation progress to user + * + * @param bool $val The value of the hideInstallationProgress + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setHideInstallationProgress($val) + { + $this->_propDict["hideInstallationProgress"] = $val; + return $this; + } + /** + * Gets the installProgressTimeoutInMinutes + * Set installation progress timeout in minutes + * + * @return int|null The installProgressTimeoutInMinutes + */ + public function getInstallProgressTimeoutInMinutes() + { + if (array_key_exists("installProgressTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["installProgressTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the installProgressTimeoutInMinutes + * Set installation progress timeout in minutes + * + * @param int $val The value of the installProgressTimeoutInMinutes + * + * @return WindowsEnrollmentStatusScreenSettings + */ + public function setInstallProgressTimeoutInMinutes($val) + { + $this->_propDict["installProgressTimeoutInMinutes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateCatalogItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateCatalogItem.php new file mode 100644 index 0000000..efc500a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateCatalogItem.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The feature update version + * + * @param string $val The version + * + * @return WindowsFeatureUpdateCatalogItem + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfile.php new file mode 100644 index 0000000..ddc1f31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfile.php @@ -0,0 +1,334 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date time that the profile was created. + * + * @param \DateTime $val The createdDateTime + * + * @return WindowsFeatureUpdateProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deployableContentDisplayName + * Friendly display name of the quality update profile deployable content + * + * @return string|null The deployableContentDisplayName + */ + public function getDeployableContentDisplayName() + { + if (array_key_exists("deployableContentDisplayName", $this->_propDict)) { + return $this->_propDict["deployableContentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deployableContentDisplayName + * Friendly display name of the quality update profile deployable content + * + * @param string $val The deployableContentDisplayName + * + * @return WindowsFeatureUpdateProfile + */ + public function setDeployableContentDisplayName($val) + { + $this->_propDict["deployableContentDisplayName"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the profile which is specified by the user. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the profile which is specified by the user. + * + * @param string $val The description + * + * @return WindowsFeatureUpdateProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the profile. + * + * @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 + * The display name of the profile. + * + * @param string $val The displayName + * + * @return WindowsFeatureUpdateProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endOfSupportDate + * The last supported date for a feature update + * + * @return \DateTime|null The endOfSupportDate + */ + public function getEndOfSupportDate() + { + if (array_key_exists("endOfSupportDate", $this->_propDict)) { + if (is_a($this->_propDict["endOfSupportDate"], "\DateTime") || is_null($this->_propDict["endOfSupportDate"])) { + return $this->_propDict["endOfSupportDate"]; + } else { + $this->_propDict["endOfSupportDate"] = new \DateTime($this->_propDict["endOfSupportDate"]); + return $this->_propDict["endOfSupportDate"]; + } + } + return null; + } + + /** + * Sets the endOfSupportDate + * The last supported date for a feature update + * + * @param \DateTime $val The endOfSupportDate + * + * @return WindowsFeatureUpdateProfile + */ + public function setEndOfSupportDate($val) + { + $this->_propDict["endOfSupportDate"] = $val; + return $this; + } + + /** + * Gets the featureUpdateVersion + * The feature update version that will be deployed to the devices targeted by this profile. The version could be any supported version for example 1709, 1803 or 1809 and so on. + * + * @return string|null The featureUpdateVersion + */ + public function getFeatureUpdateVersion() + { + if (array_key_exists("featureUpdateVersion", $this->_propDict)) { + return $this->_propDict["featureUpdateVersion"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdateVersion + * The feature update version that will be deployed to the devices targeted by this profile. The version could be any supported version for example 1709, 1803 or 1809 and so on. + * + * @param string $val The featureUpdateVersion + * + * @return WindowsFeatureUpdateProfile + */ + public function setFeatureUpdateVersion($val) + { + $this->_propDict["featureUpdateVersion"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date time that the profile was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date time that the profile was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return WindowsFeatureUpdateProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Feature Update entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Feature Update entity. + * + * @param string $val The roleScopeTagIds + * + * @return WindowsFeatureUpdateProfile + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + /** + * Gets the rolloutSettings + * The windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers. + * + * @return WindowsUpdateRolloutSettings|null The rolloutSettings + */ + public function getRolloutSettings() + { + if (array_key_exists("rolloutSettings", $this->_propDict)) { + if (is_a($this->_propDict["rolloutSettings"], "\Beta\Microsoft\Graph\Model\WindowsUpdateRolloutSettings") || is_null($this->_propDict["rolloutSettings"])) { + return $this->_propDict["rolloutSettings"]; + } else { + $this->_propDict["rolloutSettings"] = new WindowsUpdateRolloutSettings($this->_propDict["rolloutSettings"]); + return $this->_propDict["rolloutSettings"]; + } + } + return null; + } + + /** + * Sets the rolloutSettings + * The windows update rollout settings, including offer start date time, offer end date time, and days between each set of offers. + * + * @param WindowsUpdateRolloutSettings $val The rolloutSettings + * + * @return WindowsFeatureUpdateProfile + */ + public function setRolloutSettings($val) + { + $this->_propDict["rolloutSettings"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments of the profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments of the profile. + * + * @param WindowsFeatureUpdateProfileAssignment[] $val The assignments + * + * @return WindowsFeatureUpdateProfile + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfileAssignment.php new file mode 100644 index 0000000..04034aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfileAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target that the feature update profile is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return WindowsFeatureUpdateProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallNetworkProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallNetworkProfile.php new file mode 100644 index 0000000..2031d65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallNetworkProfile.php @@ -0,0 +1,675 @@ +_propDict)) { + return $this->_propDict["authorizedApplicationRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the authorizedApplicationRulesFromGroupPolicyMerged + * Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the authorizedApplicationRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setAuthorizedApplicationRulesFromGroupPolicyMerged($val) + { + $this->_propDict["authorizedApplicationRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the authorizedApplicationRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The authorizedApplicationRulesFromGroupPolicyNotMerged + */ + public function getAuthorizedApplicationRulesFromGroupPolicyNotMerged() + { + if (array_key_exists("authorizedApplicationRulesFromGroupPolicyNotMerged", $this->_propDict)) { + return $this->_propDict["authorizedApplicationRulesFromGroupPolicyNotMerged"]; + } else { + return null; + } + } + + /** + * Sets the authorizedApplicationRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the authorizedApplicationRulesFromGroupPolicyNotMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setAuthorizedApplicationRulesFromGroupPolicyNotMerged($val) + { + $this->_propDict["authorizedApplicationRulesFromGroupPolicyNotMerged"] = $val; + return $this; + } + /** + * Gets the connectionSecurityRulesFromGroupPolicyMerged + * Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The connectionSecurityRulesFromGroupPolicyMerged + */ + public function getConnectionSecurityRulesFromGroupPolicyMerged() + { + if (array_key_exists("connectionSecurityRulesFromGroupPolicyMerged", $this->_propDict)) { + return $this->_propDict["connectionSecurityRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the connectionSecurityRulesFromGroupPolicyMerged + * Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the connectionSecurityRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setConnectionSecurityRulesFromGroupPolicyMerged($val) + { + $this->_propDict["connectionSecurityRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the connectionSecurityRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The connectionSecurityRulesFromGroupPolicyNotMerged + */ + public function getConnectionSecurityRulesFromGroupPolicyNotMerged() + { + if (array_key_exists("connectionSecurityRulesFromGroupPolicyNotMerged", $this->_propDict)) { + return $this->_propDict["connectionSecurityRulesFromGroupPolicyNotMerged"]; + } else { + return null; + } + } + + /** + * Sets the connectionSecurityRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the connectionSecurityRulesFromGroupPolicyNotMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setConnectionSecurityRulesFromGroupPolicyNotMerged($val) + { + $this->_propDict["connectionSecurityRulesFromGroupPolicyNotMerged"] = $val; + return $this; + } + + /** + * Gets the firewallEnabled + * Configures the host device to allow or block the firewall and advanced security enforcement for the network profile. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The firewallEnabled + */ + public function getFirewallEnabled() + { + if (array_key_exists("firewallEnabled", $this->_propDict)) { + if (is_a($this->_propDict["firewallEnabled"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["firewallEnabled"])) { + return $this->_propDict["firewallEnabled"]; + } else { + $this->_propDict["firewallEnabled"] = new StateManagementSetting($this->_propDict["firewallEnabled"]); + return $this->_propDict["firewallEnabled"]; + } + } + return null; + } + + /** + * Sets the firewallEnabled + * Configures the host device to allow or block the firewall and advanced security enforcement for the network profile. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The value to assign to the firewallEnabled + * + * @return WindowsFirewallNetworkProfile The WindowsFirewallNetworkProfile + */ + public function setFirewallEnabled($val) + { + $this->_propDict["firewallEnabled"] = $val; + return $this; + } + /** + * Gets the globalPortRulesFromGroupPolicyMerged + * Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The globalPortRulesFromGroupPolicyMerged + */ + public function getGlobalPortRulesFromGroupPolicyMerged() + { + if (array_key_exists("globalPortRulesFromGroupPolicyMerged", $this->_propDict)) { + return $this->_propDict["globalPortRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the globalPortRulesFromGroupPolicyMerged + * Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the globalPortRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setGlobalPortRulesFromGroupPolicyMerged($val) + { + $this->_propDict["globalPortRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the globalPortRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The globalPortRulesFromGroupPolicyNotMerged + */ + public function getGlobalPortRulesFromGroupPolicyNotMerged() + { + if (array_key_exists("globalPortRulesFromGroupPolicyNotMerged", $this->_propDict)) { + return $this->_propDict["globalPortRulesFromGroupPolicyNotMerged"]; + } else { + return null; + } + } + + /** + * Sets the globalPortRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the globalPortRulesFromGroupPolicyNotMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setGlobalPortRulesFromGroupPolicyNotMerged($val) + { + $this->_propDict["globalPortRulesFromGroupPolicyNotMerged"] = $val; + return $this; + } + /** + * Gets the inboundConnectionsBlocked + * Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + * + * @return bool|null The inboundConnectionsBlocked + */ + public function getInboundConnectionsBlocked() + { + if (array_key_exists("inboundConnectionsBlocked", $this->_propDict)) { + return $this->_propDict["inboundConnectionsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the inboundConnectionsBlocked + * Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + * + * @param bool $val The value of the inboundConnectionsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setInboundConnectionsBlocked($val) + { + $this->_propDict["inboundConnectionsBlocked"] = $val; + return $this; + } + /** + * Gets the inboundConnectionsRequired + * Configures the firewall to allow all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + * + * @return bool|null The inboundConnectionsRequired + */ + public function getInboundConnectionsRequired() + { + if (array_key_exists("inboundConnectionsRequired", $this->_propDict)) { + return $this->_propDict["inboundConnectionsRequired"]; + } else { + return null; + } + } + + /** + * Sets the inboundConnectionsRequired + * Configures the firewall to allow all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + * + * @param bool $val The value of the inboundConnectionsRequired + * + * @return WindowsFirewallNetworkProfile + */ + public function setInboundConnectionsRequired($val) + { + $this->_propDict["inboundConnectionsRequired"] = $val; + return $this; + } + /** + * Gets the inboundNotificationsBlocked + * Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + * + * @return bool|null The inboundNotificationsBlocked + */ + public function getInboundNotificationsBlocked() + { + if (array_key_exists("inboundNotificationsBlocked", $this->_propDict)) { + return $this->_propDict["inboundNotificationsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the inboundNotificationsBlocked + * Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + * + * @param bool $val The value of the inboundNotificationsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setInboundNotificationsBlocked($val) + { + $this->_propDict["inboundNotificationsBlocked"] = $val; + return $this; + } + /** + * Gets the inboundNotificationsRequired + * Allows the firewall to display notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + * + * @return bool|null The inboundNotificationsRequired + */ + public function getInboundNotificationsRequired() + { + if (array_key_exists("inboundNotificationsRequired", $this->_propDict)) { + return $this->_propDict["inboundNotificationsRequired"]; + } else { + return null; + } + } + + /** + * Sets the inboundNotificationsRequired + * Allows the firewall to display notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + * + * @param bool $val The value of the inboundNotificationsRequired + * + * @return WindowsFirewallNetworkProfile + */ + public function setInboundNotificationsRequired($val) + { + $this->_propDict["inboundNotificationsRequired"] = $val; + return $this; + } + /** + * Gets the incomingTrafficBlocked + * Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + * + * @return bool|null The incomingTrafficBlocked + */ + public function getIncomingTrafficBlocked() + { + if (array_key_exists("incomingTrafficBlocked", $this->_propDict)) { + return $this->_propDict["incomingTrafficBlocked"]; + } else { + return null; + } + } + + /** + * Sets the incomingTrafficBlocked + * Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + * + * @param bool $val The value of the incomingTrafficBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setIncomingTrafficBlocked($val) + { + $this->_propDict["incomingTrafficBlocked"] = $val; + return $this; + } + /** + * Gets the incomingTrafficRequired + * Configures the firewall to allow incoming traffic pursuant to other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + * + * @return bool|null The incomingTrafficRequired + */ + public function getIncomingTrafficRequired() + { + if (array_key_exists("incomingTrafficRequired", $this->_propDict)) { + return $this->_propDict["incomingTrafficRequired"]; + } else { + return null; + } + } + + /** + * Sets the incomingTrafficRequired + * Configures the firewall to allow incoming traffic pursuant to other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + * + * @param bool $val The value of the incomingTrafficRequired + * + * @return WindowsFirewallNetworkProfile + */ + public function setIncomingTrafficRequired($val) + { + $this->_propDict["incomingTrafficRequired"] = $val; + return $this; + } + /** + * Gets the outboundConnectionsBlocked + * Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above. + * + * @return bool|null The outboundConnectionsBlocked + */ + public function getOutboundConnectionsBlocked() + { + if (array_key_exists("outboundConnectionsBlocked", $this->_propDict)) { + return $this->_propDict["outboundConnectionsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the outboundConnectionsBlocked + * Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above. + * + * @param bool $val The value of the outboundConnectionsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setOutboundConnectionsBlocked($val) + { + $this->_propDict["outboundConnectionsBlocked"] = $val; + return $this; + } + /** + * Gets the outboundConnectionsRequired + * Configures the firewall to allow all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above. + * + * @return bool|null The outboundConnectionsRequired + */ + public function getOutboundConnectionsRequired() + { + if (array_key_exists("outboundConnectionsRequired", $this->_propDict)) { + return $this->_propDict["outboundConnectionsRequired"]; + } else { + return null; + } + } + + /** + * Sets the outboundConnectionsRequired + * Configures the firewall to allow all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above. + * + * @param bool $val The value of the outboundConnectionsRequired + * + * @return WindowsFirewallNetworkProfile + */ + public function setOutboundConnectionsRequired($val) + { + $this->_propDict["outboundConnectionsRequired"] = $val; + return $this; + } + /** + * Gets the policyRulesFromGroupPolicyMerged + * Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The policyRulesFromGroupPolicyMerged + */ + public function getPolicyRulesFromGroupPolicyMerged() + { + if (array_key_exists("policyRulesFromGroupPolicyMerged", $this->_propDict)) { + return $this->_propDict["policyRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the policyRulesFromGroupPolicyMerged + * Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the policyRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setPolicyRulesFromGroupPolicyMerged($val) + { + $this->_propDict["policyRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the policyRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The policyRulesFromGroupPolicyNotMerged + */ + public function getPolicyRulesFromGroupPolicyNotMerged() + { + if (array_key_exists("policyRulesFromGroupPolicyNotMerged", $this->_propDict)) { + return $this->_propDict["policyRulesFromGroupPolicyNotMerged"]; + } else { + return null; + } + } + + /** + * Sets the policyRulesFromGroupPolicyNotMerged + * Configures the firewall to prevent merging Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the policyRulesFromGroupPolicyNotMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setPolicyRulesFromGroupPolicyNotMerged($val) + { + $this->_propDict["policyRulesFromGroupPolicyNotMerged"] = $val; + return $this; + } + /** + * Gets the securedPacketExemptionAllowed + * Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + * + * @return bool|null The securedPacketExemptionAllowed + */ + public function getSecuredPacketExemptionAllowed() + { + if (array_key_exists("securedPacketExemptionAllowed", $this->_propDict)) { + return $this->_propDict["securedPacketExemptionAllowed"]; + } else { + return null; + } + } + + /** + * Sets the securedPacketExemptionAllowed + * Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + * + * @param bool $val The value of the securedPacketExemptionAllowed + * + * @return WindowsFirewallNetworkProfile + */ + public function setSecuredPacketExemptionAllowed($val) + { + $this->_propDict["securedPacketExemptionAllowed"] = $val; + return $this; + } + /** + * Gets the securedPacketExemptionBlocked + * Configures the firewall to block the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + * + * @return bool|null The securedPacketExemptionBlocked + */ + public function getSecuredPacketExemptionBlocked() + { + if (array_key_exists("securedPacketExemptionBlocked", $this->_propDict)) { + return $this->_propDict["securedPacketExemptionBlocked"]; + } else { + return null; + } + } + + /** + * Sets the securedPacketExemptionBlocked + * Configures the firewall to block the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + * + * @param bool $val The value of the securedPacketExemptionBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setSecuredPacketExemptionBlocked($val) + { + $this->_propDict["securedPacketExemptionBlocked"] = $val; + return $this; + } + /** + * Gets the stealthModeBlocked + * Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + * + * @return bool|null The stealthModeBlocked + */ + public function getStealthModeBlocked() + { + if (array_key_exists("stealthModeBlocked", $this->_propDict)) { + return $this->_propDict["stealthModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the stealthModeBlocked + * Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + * + * @param bool $val The value of the stealthModeBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setStealthModeBlocked($val) + { + $this->_propDict["stealthModeBlocked"] = $val; + return $this; + } + /** + * Gets the stealthModeRequired + * Allow the server to operate in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + * + * @return bool|null The stealthModeRequired + */ + public function getStealthModeRequired() + { + if (array_key_exists("stealthModeRequired", $this->_propDict)) { + return $this->_propDict["stealthModeRequired"]; + } else { + return null; + } + } + + /** + * Sets the stealthModeRequired + * Allow the server to operate in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + * + * @param bool $val The value of the stealthModeRequired + * + * @return WindowsFirewallNetworkProfile + */ + public function setStealthModeRequired($val) + { + $this->_propDict["stealthModeRequired"] = $val; + return $this; + } + /** + * Gets the unicastResponsesToMulticastBroadcastsBlocked + * Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + * + * @return bool|null The unicastResponsesToMulticastBroadcastsBlocked + */ + public function getUnicastResponsesToMulticastBroadcastsBlocked() + { + if (array_key_exists("unicastResponsesToMulticastBroadcastsBlocked", $this->_propDict)) { + return $this->_propDict["unicastResponsesToMulticastBroadcastsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the unicastResponsesToMulticastBroadcastsBlocked + * Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + * + * @param bool $val The value of the unicastResponsesToMulticastBroadcastsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setUnicastResponsesToMulticastBroadcastsBlocked($val) + { + $this->_propDict["unicastResponsesToMulticastBroadcastsBlocked"] = $val; + return $this; + } + /** + * Gets the unicastResponsesToMulticastBroadcastsRequired + * Configures the firewall to allow unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + * + * @return bool|null The unicastResponsesToMulticastBroadcastsRequired + */ + public function getUnicastResponsesToMulticastBroadcastsRequired() + { + if (array_key_exists("unicastResponsesToMulticastBroadcastsRequired", $this->_propDict)) { + return $this->_propDict["unicastResponsesToMulticastBroadcastsRequired"]; + } else { + return null; + } + } + + /** + * Sets the unicastResponsesToMulticastBroadcastsRequired + * Configures the firewall to allow unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + * + * @param bool $val The value of the unicastResponsesToMulticastBroadcastsRequired + * + * @return WindowsFirewallNetworkProfile + */ + public function setUnicastResponsesToMulticastBroadcastsRequired($val) + { + $this->_propDict["unicastResponsesToMulticastBroadcastsRequired"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRule.php new file mode 100644 index 0000000..7b57fab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRule.php @@ -0,0 +1,499 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new StateManagementSetting($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action the rule enforces. If not specified, the default is Allowed. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The value to assign to the action + * + * @return WindowsFirewallRule The WindowsFirewallRule + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + /** + * Gets the description + * The description of the rule. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the rule. + * + * @param string $val The value of the description + * + * @return WindowsFirewallRule + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the rule. Does not need to be unique. + * + * @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 + * The display name of the rule. Does not need to be unique. + * + * @param string $val The value of the displayName + * + * @return WindowsFirewallRule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the edgeTraversal + * Indicates whether edge traversal is enabled or disabled for this rule. The EdgeTraversal setting indicates that specific inbound traffic is allowed to tunnel through NATs and other edge devices using the Teredo tunneling technology. In order for this setting to work correctly, the application or service with the inbound firewall rule needs to support IPv6. The primary application of this setting allows listeners on the host to be globally addressable through a Teredo IPv6 address. New rules have the EdgeTraversal property disabled by default. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The edgeTraversal + */ + public function getEdgeTraversal() + { + if (array_key_exists("edgeTraversal", $this->_propDict)) { + if (is_a($this->_propDict["edgeTraversal"], "\Beta\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["edgeTraversal"])) { + return $this->_propDict["edgeTraversal"]; + } else { + $this->_propDict["edgeTraversal"] = new StateManagementSetting($this->_propDict["edgeTraversal"]); + return $this->_propDict["edgeTraversal"]; + } + } + return null; + } + + /** + * Sets the edgeTraversal + * Indicates whether edge traversal is enabled or disabled for this rule. The EdgeTraversal setting indicates that specific inbound traffic is allowed to tunnel through NATs and other edge devices using the Teredo tunneling technology. In order for this setting to work correctly, the application or service with the inbound firewall rule needs to support IPv6. The primary application of this setting allows listeners on the host to be globally addressable through a Teredo IPv6 address. New rules have the EdgeTraversal property disabled by default. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The value to assign to the edgeTraversal + * + * @return WindowsFirewallRule The WindowsFirewallRule + */ + public function setEdgeTraversal($val) + { + $this->_propDict["edgeTraversal"] = $val; + return $this; + } + /** + * Gets the filePath + * The full file path of an app that's affected by the firewall rule. + * + * @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 an app that's affected by the firewall rule. + * + * @param string $val The value of the filePath + * + * @return WindowsFirewallRule + */ + public function setFilePath($val) + { + $this->_propDict["filePath"] = $val; + return $this; + } + + /** + * Gets the interfaceTypes + * The interface types of the rule. Possible values are: notConfigured, remoteAccess, wireless, lan. + * + * @return WindowsFirewallRuleInterfaceTypes|null The interfaceTypes + */ + public function getInterfaceTypes() + { + if (array_key_exists("interfaceTypes", $this->_propDict)) { + if (is_a($this->_propDict["interfaceTypes"], "\Beta\Microsoft\Graph\Model\WindowsFirewallRuleInterfaceTypes") || is_null($this->_propDict["interfaceTypes"])) { + return $this->_propDict["interfaceTypes"]; + } else { + $this->_propDict["interfaceTypes"] = new WindowsFirewallRuleInterfaceTypes($this->_propDict["interfaceTypes"]); + return $this->_propDict["interfaceTypes"]; + } + } + return null; + } + + /** + * Sets the interfaceTypes + * The interface types of the rule. Possible values are: notConfigured, remoteAccess, wireless, lan. + * + * @param WindowsFirewallRuleInterfaceTypes $val The value to assign to the interfaceTypes + * + * @return WindowsFirewallRule The WindowsFirewallRule + */ + public function setInterfaceTypes($val) + { + $this->_propDict["interfaceTypes"] = $val; + return $this; + } + /** + * Gets the localAddressRanges + * List of local addresses covered by the rule. Default is any address. Valid tokens include:'' indicates any local address. If present, this must be the only token included.A subnet can be specified using either the subnet mask or network prefix notation. If neither a subnet mask nor a network prefix is specified, the subnet mask defaults to 255.255.255.255.A valid IPv6 address.An IPv4 address range in the format of 'start address - end address' with no spaces included.An IPv6 address range in the format of 'start address - end address' with no spaces included. + * + * @return string|null The localAddressRanges + */ + public function getLocalAddressRanges() + { + if (array_key_exists("localAddressRanges", $this->_propDict)) { + return $this->_propDict["localAddressRanges"]; + } else { + return null; + } + } + + /** + * Sets the localAddressRanges + * List of local addresses covered by the rule. Default is any address. Valid tokens include:'' indicates any local address. If present, this must be the only token included.A subnet can be specified using either the subnet mask or network prefix notation. If neither a subnet mask nor a network prefix is specified, the subnet mask defaults to 255.255.255.255.A valid IPv6 address.An IPv4 address range in the format of 'start address - end address' with no spaces included.An IPv6 address range in the format of 'start address - end address' with no spaces included. + * + * @param string $val The value of the localAddressRanges + * + * @return WindowsFirewallRule + */ + public function setLocalAddressRanges($val) + { + $this->_propDict["localAddressRanges"] = $val; + return $this; + } + /** + * Gets the localPortRanges + * List of local port ranges. For example, '100-120', '200', '300-320'. If not specified, the default is All. + * + * @return string|null The localPortRanges + */ + public function getLocalPortRanges() + { + if (array_key_exists("localPortRanges", $this->_propDict)) { + return $this->_propDict["localPortRanges"]; + } else { + return null; + } + } + + /** + * Sets the localPortRanges + * List of local port ranges. For example, '100-120', '200', '300-320'. If not specified, the default is All. + * + * @param string $val The value of the localPortRanges + * + * @return WindowsFirewallRule + */ + public function setLocalPortRanges($val) + { + $this->_propDict["localPortRanges"] = $val; + return $this; + } + /** + * Gets the localUserAuthorizations + * Specifies the list of authorized local users for the app container. This is a string in Security Descriptor Definition Language (SDDL) format. + * + * @return string|null The localUserAuthorizations + */ + public function getLocalUserAuthorizations() + { + if (array_key_exists("localUserAuthorizations", $this->_propDict)) { + return $this->_propDict["localUserAuthorizations"]; + } else { + return null; + } + } + + /** + * Sets the localUserAuthorizations + * Specifies the list of authorized local users for the app container. This is a string in Security Descriptor Definition Language (SDDL) format. + * + * @param string $val The value of the localUserAuthorizations + * + * @return WindowsFirewallRule + */ + public function setLocalUserAuthorizations($val) + { + $this->_propDict["localUserAuthorizations"] = $val; + return $this; + } + /** + * Gets the packageFamilyName + * The package family name of a Microsoft Store application that's affected by the firewall rule. + * + * @return string|null The packageFamilyName + */ + public function getPackageFamilyName() + { + if (array_key_exists("packageFamilyName", $this->_propDict)) { + return $this->_propDict["packageFamilyName"]; + } else { + return null; + } + } + + /** + * Sets the packageFamilyName + * The package family name of a Microsoft Store application that's affected by the firewall rule. + * + * @param string $val The value of the packageFamilyName + * + * @return WindowsFirewallRule + */ + public function setPackageFamilyName($val) + { + $this->_propDict["packageFamilyName"] = $val; + return $this; + } + + /** + * Gets the profileTypes + * Specifies the profiles to which the rule belongs. If not specified, the default is All. Possible values are: notConfigured, domain, private, public. + * + * @return WindowsFirewallRuleNetworkProfileTypes|null The profileTypes + */ + public function getProfileTypes() + { + if (array_key_exists("profileTypes", $this->_propDict)) { + if (is_a($this->_propDict["profileTypes"], "\Beta\Microsoft\Graph\Model\WindowsFirewallRuleNetworkProfileTypes") || is_null($this->_propDict["profileTypes"])) { + return $this->_propDict["profileTypes"]; + } else { + $this->_propDict["profileTypes"] = new WindowsFirewallRuleNetworkProfileTypes($this->_propDict["profileTypes"]); + return $this->_propDict["profileTypes"]; + } + } + return null; + } + + /** + * Sets the profileTypes + * Specifies the profiles to which the rule belongs. If not specified, the default is All. Possible values are: notConfigured, domain, private, public. + * + * @param WindowsFirewallRuleNetworkProfileTypes $val The value to assign to the profileTypes + * + * @return WindowsFirewallRule The WindowsFirewallRule + */ + public function setProfileTypes($val) + { + $this->_propDict["profileTypes"] = $val; + return $this; + } + /** + * Gets the protocol + * 0-255 number representing the IP protocol (TCP = 6, UDP = 17). If not specified, the default is All. Valid values 0 to 255 + * + * @return int|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + return $this->_propDict["protocol"]; + } else { + return null; + } + } + + /** + * Sets the protocol + * 0-255 number representing the IP protocol (TCP = 6, UDP = 17). If not specified, the default is All. Valid values 0 to 255 + * + * @param int $val The value of the protocol + * + * @return WindowsFirewallRule + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the remoteAddressRanges + * List of tokens specifying the remote addresses covered by the rule. Tokens are case insensitive. Default is any address. Valid tokens include:'' indicates any remote address. If present, this must be the only token included.'Defaultgateway''DHCP''DNS''WINS''Intranet' (supported on Windows versions 1809+)'RmtIntranet' (supported on Windows versions 1809+)'Internet' (supported on Windows versions 1809+)'Ply2Renders' (supported on Windows versions 1809+)'LocalSubnet' indicates any local address on the local subnet.A subnet can be specified using either the subnet mask or network prefix notation. If neither a subnet mask nor a network prefix is specified, the subnet mask defaults to 255.255.255.255.A valid IPv6 address.An IPv4 address range in the format of 'start address - end address' with no spaces included.An IPv6 address range in the format of 'start address - end address' with no spaces included. + * + * @return string|null The remoteAddressRanges + */ + public function getRemoteAddressRanges() + { + if (array_key_exists("remoteAddressRanges", $this->_propDict)) { + return $this->_propDict["remoteAddressRanges"]; + } else { + return null; + } + } + + /** + * Sets the remoteAddressRanges + * List of tokens specifying the remote addresses covered by the rule. Tokens are case insensitive. Default is any address. Valid tokens include:'' indicates any remote address. If present, this must be the only token included.'Defaultgateway''DHCP''DNS''WINS''Intranet' (supported on Windows versions 1809+)'RmtIntranet' (supported on Windows versions 1809+)'Internet' (supported on Windows versions 1809+)'Ply2Renders' (supported on Windows versions 1809+)'LocalSubnet' indicates any local address on the local subnet.A subnet can be specified using either the subnet mask or network prefix notation. If neither a subnet mask nor a network prefix is specified, the subnet mask defaults to 255.255.255.255.A valid IPv6 address.An IPv4 address range in the format of 'start address - end address' with no spaces included.An IPv6 address range in the format of 'start address - end address' with no spaces included. + * + * @param string $val The value of the remoteAddressRanges + * + * @return WindowsFirewallRule + */ + public function setRemoteAddressRanges($val) + { + $this->_propDict["remoteAddressRanges"] = $val; + return $this; + } + /** + * Gets the remotePortRanges + * List of remote port ranges. For example, '100-120', '200', '300-320'. If not specified, the default is All. + * + * @return string|null The remotePortRanges + */ + public function getRemotePortRanges() + { + if (array_key_exists("remotePortRanges", $this->_propDict)) { + return $this->_propDict["remotePortRanges"]; + } else { + return null; + } + } + + /** + * Sets the remotePortRanges + * List of remote port ranges. For example, '100-120', '200', '300-320'. If not specified, the default is All. + * + * @param string $val The value of the remotePortRanges + * + * @return WindowsFirewallRule + */ + public function setRemotePortRanges($val) + { + $this->_propDict["remotePortRanges"] = $val; + return $this; + } + /** + * Gets the serviceName + * The name used in cases when a service, not an application, is sending or receiving traffic. + * + * @return string|null The serviceName + */ + public function getServiceName() + { + if (array_key_exists("serviceName", $this->_propDict)) { + return $this->_propDict["serviceName"]; + } else { + return null; + } + } + + /** + * Sets the serviceName + * The name used in cases when a service, not an application, is sending or receiving traffic. + * + * @param string $val The value of the serviceName + * + * @return WindowsFirewallRule + */ + public function setServiceName($val) + { + $this->_propDict["serviceName"] = $val; + return $this; + } + + /** + * Gets the trafficDirection + * The traffic direction that the rule is enabled for. If not specified, the default is Out. Possible values are: notConfigured, out, in. + * + * @return WindowsFirewallRuleTrafficDirectionType|null The trafficDirection + */ + public function getTrafficDirection() + { + if (array_key_exists("trafficDirection", $this->_propDict)) { + if (is_a($this->_propDict["trafficDirection"], "\Beta\Microsoft\Graph\Model\WindowsFirewallRuleTrafficDirectionType") || is_null($this->_propDict["trafficDirection"])) { + return $this->_propDict["trafficDirection"]; + } else { + $this->_propDict["trafficDirection"] = new WindowsFirewallRuleTrafficDirectionType($this->_propDict["trafficDirection"]); + return $this->_propDict["trafficDirection"]; + } + } + return null; + } + + /** + * Sets the trafficDirection + * The traffic direction that the rule is enabled for. If not specified, the default is Out. Possible values are: notConfigured, out, in. + * + * @param WindowsFirewallRuleTrafficDirectionType $val The value to assign to the trafficDirection + * + * @return WindowsFirewallRule The WindowsFirewallRule + */ + public function setTrafficDirection($val) + { + $this->_propDict["trafficDirection"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRuleInterfaceTypes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRuleInterfaceTypes.php new file mode 100644 index 0000000..8d662a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRuleInterfaceTypes.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["allowDeviceHealthMonitoring"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["allowDeviceHealthMonitoring"])) { + return $this->_propDict["allowDeviceHealthMonitoring"]; + } else { + $this->_propDict["allowDeviceHealthMonitoring"] = new Enablement($this->_propDict["allowDeviceHealthMonitoring"]); + return $this->_propDict["allowDeviceHealthMonitoring"]; + } + } + return null; + } + + /** + * Sets the allowDeviceHealthMonitoring + * Enables device health monitoring on the device. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The allowDeviceHealthMonitoring + * + * @return WindowsHealthMonitoringConfiguration + */ + public function setAllowDeviceHealthMonitoring($val) + { + $this->_propDict["allowDeviceHealthMonitoring"] = $val; + return $this; + } + + /** + * Gets the configDeviceHealthMonitoringCustomScope + * Specifies custom set of events collected from the device where health monitoring is enabled + * + * @return string|null The configDeviceHealthMonitoringCustomScope + */ + public function getConfigDeviceHealthMonitoringCustomScope() + { + if (array_key_exists("configDeviceHealthMonitoringCustomScope", $this->_propDict)) { + return $this->_propDict["configDeviceHealthMonitoringCustomScope"]; + } else { + return null; + } + } + + /** + * Sets the configDeviceHealthMonitoringCustomScope + * Specifies custom set of events collected from the device where health monitoring is enabled + * + * @param string $val The configDeviceHealthMonitoringCustomScope + * + * @return WindowsHealthMonitoringConfiguration + */ + public function setConfigDeviceHealthMonitoringCustomScope($val) + { + $this->_propDict["configDeviceHealthMonitoringCustomScope"] = $val; + return $this; + } + + /** + * Gets the configDeviceHealthMonitoringScope + * Specifies set of events collected from the device where health monitoring is enabled. Possible values are: undefined, healthMonitoring, bootPerformance, windowsUpdates. + * + * @return WindowsHealthMonitoringScope|null The configDeviceHealthMonitoringScope + */ + public function getConfigDeviceHealthMonitoringScope() + { + if (array_key_exists("configDeviceHealthMonitoringScope", $this->_propDict)) { + if (is_a($this->_propDict["configDeviceHealthMonitoringScope"], "\Beta\Microsoft\Graph\Model\WindowsHealthMonitoringScope") || is_null($this->_propDict["configDeviceHealthMonitoringScope"])) { + return $this->_propDict["configDeviceHealthMonitoringScope"]; + } else { + $this->_propDict["configDeviceHealthMonitoringScope"] = new WindowsHealthMonitoringScope($this->_propDict["configDeviceHealthMonitoringScope"]); + return $this->_propDict["configDeviceHealthMonitoringScope"]; + } + } + return null; + } + + /** + * Sets the configDeviceHealthMonitoringScope + * Specifies set of events collected from the device where health monitoring is enabled. Possible values are: undefined, healthMonitoring, bootPerformance, windowsUpdates. + * + * @param WindowsHealthMonitoringScope $val The configDeviceHealthMonitoringScope + * + * @return WindowsHealthMonitoringConfiguration + */ + public function setConfigDeviceHealthMonitoringScope($val) + { + $this->_propDict["configDeviceHealthMonitoringScope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHealthMonitoringScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHealthMonitoringScope.php new file mode 100644 index 0000000..e32254d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHealthMonitoringScope.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time that this Windows Hello for Business key was registered. + * + * @param \DateTime $val The createdDateTime + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the device on which Windows Hello for Business is registered + * + * @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 + * The name of the device on which Windows Hello for Business is registered + * + * @param string $val The displayName + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the keyStrength + * Key strength of this Windows Hello for Business key. Possible values are: normal, weak, unknown. + * + * @return AuthenticationMethodKeyStrength|null The keyStrength + */ + public function getKeyStrength() + { + if (array_key_exists("keyStrength", $this->_propDict)) { + if (is_a($this->_propDict["keyStrength"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodKeyStrength") || is_null($this->_propDict["keyStrength"])) { + return $this->_propDict["keyStrength"]; + } else { + $this->_propDict["keyStrength"] = new AuthenticationMethodKeyStrength($this->_propDict["keyStrength"]); + return $this->_propDict["keyStrength"]; + } + } + return null; + } + + /** + * Sets the keyStrength + * Key strength of this Windows Hello for Business key. Possible values are: normal, weak, unknown. + * + * @param AuthenticationMethodKeyStrength $val The keyStrength + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setKeyStrength($val) + { + $this->_propDict["keyStrength"] = $val; + return $this; + } + + /** + * Gets the device + * The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. + * + * @return Device|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\Device") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Device($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. + * + * @param Device $val The device + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHelloForBusinessPinUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHelloForBusinessPinUsage.php new file mode 100644 index 0000000..864840d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHelloForBusinessPinUsage.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["enhancedAntiSpoofingForFacialFeaturesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the enhancedAntiSpoofingForFacialFeaturesEnabled + * Boolean value used to enable enhanced anti-spoofing for facial feature recognition on Windows Hello face authentication. + * + * @param bool $val The enhancedAntiSpoofingForFacialFeaturesEnabled + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setEnhancedAntiSpoofingForFacialFeaturesEnabled($val) + { + $this->_propDict["enhancedAntiSpoofingForFacialFeaturesEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the pinExpirationInDays + * Integer value specifies the period (in days) that a PIN can be used before the system requires the user to change it. Valid values are 0 to 730 inclusive. Valid values 0 to 730 + * + * @return int|null The pinExpirationInDays + */ + public function getPinExpirationInDays() + { + if (array_key_exists("pinExpirationInDays", $this->_propDict)) { + return $this->_propDict["pinExpirationInDays"]; + } else { + return null; + } + } + + /** + * Sets the pinExpirationInDays + * Integer value specifies the period (in days) that a PIN can be used before the system requires the user to change it. Valid values are 0 to 730 inclusive. Valid values 0 to 730 + * + * @param int $val The pinExpirationInDays + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinExpirationInDays($val) + { + $this->_propDict["pinExpirationInDays"] = intval($val); + return $this; + } + + /** + * Gets the pinLowercaseCharactersUsage + * This value configures the use of lowercase characters in the Windows Hello for Business PIN. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The pinLowercaseCharactersUsage + */ + public function getPinLowercaseCharactersUsage() + { + if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["pinLowercaseCharactersUsage"])) { + return $this->_propDict["pinLowercaseCharactersUsage"]; + } else { + $this->_propDict["pinLowercaseCharactersUsage"] = new ConfigurationUsage($this->_propDict["pinLowercaseCharactersUsage"]); + return $this->_propDict["pinLowercaseCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinLowercaseCharactersUsage + * This value configures the use of lowercase characters in the Windows Hello for Business PIN. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The pinLowercaseCharactersUsage + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinLowercaseCharactersUsage($val) + { + $this->_propDict["pinLowercaseCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the pinMaximumLength + * Integer value that sets the maximum number of characters allowed for the work PIN. Valid values are 4 to 127 inclusive and greater than or equal to the value set for the minimum PIN. Valid values 4 to 127 + * + * @return int|null The pinMaximumLength + */ + public function getPinMaximumLength() + { + if (array_key_exists("pinMaximumLength", $this->_propDict)) { + return $this->_propDict["pinMaximumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMaximumLength + * Integer value that sets the maximum number of characters allowed for the work PIN. Valid values are 4 to 127 inclusive and greater than or equal to the value set for the minimum PIN. Valid values 4 to 127 + * + * @param int $val The pinMaximumLength + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinMaximumLength($val) + { + $this->_propDict["pinMaximumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinMinimumLength + * Integer value that sets the minimum number of characters required for the Windows Hello for Business PIN. Valid values are 4 to 127 inclusive and less than or equal to the value set for the maximum PIN. Valid values 4 to 127 + * + * @return int|null The pinMinimumLength + */ + public function getPinMinimumLength() + { + if (array_key_exists("pinMinimumLength", $this->_propDict)) { + return $this->_propDict["pinMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMinimumLength + * Integer value that sets the minimum number of characters required for the Windows Hello for Business PIN. Valid values are 4 to 127 inclusive and less than or equal to the value set for the maximum PIN. Valid values 4 to 127 + * + * @param int $val The pinMinimumLength + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinMinimumLength($val) + { + $this->_propDict["pinMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinPreviousBlockCount + * Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset. Valid values 0 to 50 + * + * @return int|null The pinPreviousBlockCount + */ + public function getPinPreviousBlockCount() + { + if (array_key_exists("pinPreviousBlockCount", $this->_propDict)) { + return $this->_propDict["pinPreviousBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the pinPreviousBlockCount + * Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset. Valid values 0 to 50 + * + * @param int $val The pinPreviousBlockCount + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinPreviousBlockCount($val) + { + $this->_propDict["pinPreviousBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the pinRecoveryEnabled + * Boolean value that enables a user to change their PIN by using the Windows Hello for Business PIN recovery service. + * + * @return bool|null The pinRecoveryEnabled + */ + public function getPinRecoveryEnabled() + { + if (array_key_exists("pinRecoveryEnabled", $this->_propDict)) { + return $this->_propDict["pinRecoveryEnabled"]; + } else { + return null; + } + } + + /** + * Sets the pinRecoveryEnabled + * Boolean value that enables a user to change their PIN by using the Windows Hello for Business PIN recovery service. + * + * @param bool $val The pinRecoveryEnabled + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinRecoveryEnabled($val) + { + $this->_propDict["pinRecoveryEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the pinSpecialCharactersUsage + * Controls the ability to use special characters in the Windows Hello for Business PIN. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The pinSpecialCharactersUsage + */ + public function getPinSpecialCharactersUsage() + { + if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinSpecialCharactersUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["pinSpecialCharactersUsage"])) { + return $this->_propDict["pinSpecialCharactersUsage"]; + } else { + $this->_propDict["pinSpecialCharactersUsage"] = new ConfigurationUsage($this->_propDict["pinSpecialCharactersUsage"]); + return $this->_propDict["pinSpecialCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinSpecialCharactersUsage + * Controls the ability to use special characters in the Windows Hello for Business PIN. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The pinSpecialCharactersUsage + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinSpecialCharactersUsage($val) + { + $this->_propDict["pinSpecialCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the pinUppercaseCharactersUsage + * This value configures the use of uppercase characters in the Windows Hello for Business PIN. Possible values are: blocked, required, allowed, notConfigured. + * + * @return ConfigurationUsage|null The pinUppercaseCharactersUsage + */ + public function getPinUppercaseCharactersUsage() + { + if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage") || is_null($this->_propDict["pinUppercaseCharactersUsage"])) { + return $this->_propDict["pinUppercaseCharactersUsage"]; + } else { + $this->_propDict["pinUppercaseCharactersUsage"] = new ConfigurationUsage($this->_propDict["pinUppercaseCharactersUsage"]); + return $this->_propDict["pinUppercaseCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinUppercaseCharactersUsage + * This value configures the use of uppercase characters in the Windows Hello for Business PIN. Possible values are: blocked, required, allowed, notConfigured. + * + * @param ConfigurationUsage $val The pinUppercaseCharactersUsage + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setPinUppercaseCharactersUsage($val) + { + $this->_propDict["pinUppercaseCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the securityDeviceRequired + * Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM. + * + * @return bool|null The securityDeviceRequired + */ + public function getSecurityDeviceRequired() + { + if (array_key_exists("securityDeviceRequired", $this->_propDict)) { + return $this->_propDict["securityDeviceRequired"]; + } else { + return null; + } + } + + /** + * Sets the securityDeviceRequired + * Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM. + * + * @param bool $val The securityDeviceRequired + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setSecurityDeviceRequired($val) + { + $this->_propDict["securityDeviceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the unlockWithBiometricsEnabled + * Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures. + * + * @return bool|null The unlockWithBiometricsEnabled + */ + public function getUnlockWithBiometricsEnabled() + { + if (array_key_exists("unlockWithBiometricsEnabled", $this->_propDict)) { + return $this->_propDict["unlockWithBiometricsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the unlockWithBiometricsEnabled + * Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures. + * + * @param bool $val The unlockWithBiometricsEnabled + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setUnlockWithBiometricsEnabled($val) + { + $this->_propDict["unlockWithBiometricsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the useCertificatesForOnPremisesAuthEnabled + * Boolean value that enables Windows Hello for Business to use certificates to authenticate on-premise resources. + * + * @return bool|null The useCertificatesForOnPremisesAuthEnabled + */ + public function getUseCertificatesForOnPremisesAuthEnabled() + { + if (array_key_exists("useCertificatesForOnPremisesAuthEnabled", $this->_propDict)) { + return $this->_propDict["useCertificatesForOnPremisesAuthEnabled"]; + } else { + return null; + } + } + + /** + * Sets the useCertificatesForOnPremisesAuthEnabled + * Boolean value that enables Windows Hello for Business to use certificates to authenticate on-premise resources. + * + * @param bool $val The useCertificatesForOnPremisesAuthEnabled + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setUseCertificatesForOnPremisesAuthEnabled($val) + { + $this->_propDict["useCertificatesForOnPremisesAuthEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the useSecurityKeyForSignin + * Boolean value used to enable the Windows Hello security key as a logon credential. + * + * @return bool|null The useSecurityKeyForSignin + */ + public function getUseSecurityKeyForSignin() + { + if (array_key_exists("useSecurityKeyForSignin", $this->_propDict)) { + return $this->_propDict["useSecurityKeyForSignin"]; + } else { + return null; + } + } + + /** + * Sets the useSecurityKeyForSignin + * Boolean value used to enable the Windows Hello security key as a logon credential. + * + * @param bool $val The useSecurityKeyForSignin + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setUseSecurityKeyForSignin($val) + { + $this->_propDict["useSecurityKeyForSignin"] = boolval($val); + return $this; + } + + /** + * Gets the windowsHelloForBusinessBlocked + * Boolean value that blocks Windows Hello for Business as a method for signing into Windows. + * + * @return bool|null The windowsHelloForBusinessBlocked + */ + public function getWindowsHelloForBusinessBlocked() + { + if (array_key_exists("windowsHelloForBusinessBlocked", $this->_propDict)) { + return $this->_propDict["windowsHelloForBusinessBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsHelloForBusinessBlocked + * Boolean value that blocks Windows Hello for Business as a method for signing into Windows. + * + * @param bool $val The windowsHelloForBusinessBlocked + * + * @return WindowsIdentityProtectionConfiguration + */ + public function setWindowsHelloForBusinessBlocked($val) + { + $this->_propDict["windowsHelloForBusinessBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtection.php new file mode 100644 index 0000000..4057c7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtection.php @@ -0,0 +1,773 @@ +_propDict)) { + return $this->_propDict["azureRightsManagementServicesAllowed"]; + } else { + return null; + } + } + + /** + * Sets the azureRightsManagementServicesAllowed + * Specifies whether to allow Azure RMS encryption for WIP + * + * @param bool $val The azureRightsManagementServicesAllowed + * + * @return WindowsInformationProtection + */ + public function setAzureRightsManagementServicesAllowed($val) + { + $this->_propDict["azureRightsManagementServicesAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the dataRecoveryCertificate + * Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) + * + * @return WindowsInformationProtectionDataRecoveryCertificate|null The dataRecoveryCertificate + */ + public function getDataRecoveryCertificate() + { + if (array_key_exists("dataRecoveryCertificate", $this->_propDict)) { + if (is_a($this->_propDict["dataRecoveryCertificate"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionDataRecoveryCertificate") || is_null($this->_propDict["dataRecoveryCertificate"])) { + return $this->_propDict["dataRecoveryCertificate"]; + } else { + $this->_propDict["dataRecoveryCertificate"] = new WindowsInformationProtectionDataRecoveryCertificate($this->_propDict["dataRecoveryCertificate"]); + return $this->_propDict["dataRecoveryCertificate"]; + } + } + return null; + } + + /** + * Sets the dataRecoveryCertificate + * Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) + * + * @param WindowsInformationProtectionDataRecoveryCertificate $val The dataRecoveryCertificate + * + * @return WindowsInformationProtection + */ + public function setDataRecoveryCertificate($val) + { + $this->_propDict["dataRecoveryCertificate"] = $val; + return $this; + } + + /** + * Gets the enforcementLevel + * WIP enforcement level.See the Enum definition for supported values. Possible values are: noProtection, encryptAndAuditOnly, encryptAuditAndPrompt, encryptAuditAndBlock. + * + * @return WindowsInformationProtectionEnforcementLevel|null The enforcementLevel + */ + public function getEnforcementLevel() + { + if (array_key_exists("enforcementLevel", $this->_propDict)) { + if (is_a($this->_propDict["enforcementLevel"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionEnforcementLevel") || is_null($this->_propDict["enforcementLevel"])) { + return $this->_propDict["enforcementLevel"]; + } else { + $this->_propDict["enforcementLevel"] = new WindowsInformationProtectionEnforcementLevel($this->_propDict["enforcementLevel"]); + return $this->_propDict["enforcementLevel"]; + } + } + return null; + } + + /** + * Sets the enforcementLevel + * WIP enforcement level.See the Enum definition for supported values. Possible values are: noProtection, encryptAndAuditOnly, encryptAuditAndPrompt, encryptAuditAndBlock. + * + * @param WindowsInformationProtectionEnforcementLevel $val The enforcementLevel + * + * @return WindowsInformationProtection + */ + public function setEnforcementLevel($val) + { + $this->_propDict["enforcementLevel"] = $val; + return $this; + } + + /** + * Gets the enterpriseDomain + * Primary enterprise domain + * + * @return string|null The enterpriseDomain + */ + public function getEnterpriseDomain() + { + if (array_key_exists("enterpriseDomain", $this->_propDict)) { + return $this->_propDict["enterpriseDomain"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseDomain + * Primary enterprise domain + * + * @param string $val The enterpriseDomain + * + * @return WindowsInformationProtection + */ + public function setEnterpriseDomain($val) + { + $this->_propDict["enterpriseDomain"] = $val; + return $this; + } + + + /** + * Gets the enterpriseInternalProxyServers + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies + * + * @return array|null The enterpriseInternalProxyServers + */ + public function getEnterpriseInternalProxyServers() + { + if (array_key_exists("enterpriseInternalProxyServers", $this->_propDict)) { + return $this->_propDict["enterpriseInternalProxyServers"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseInternalProxyServers + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseInternalProxyServers + * + * @return WindowsInformationProtection + */ + public function setEnterpriseInternalProxyServers($val) + { + $this->_propDict["enterpriseInternalProxyServers"] = $val; + return $this; + } + + + /** + * Gets the enterpriseIPRanges + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to + * + * @return array|null The enterpriseIPRanges + */ + public function getEnterpriseIPRanges() + { + if (array_key_exists("enterpriseIPRanges", $this->_propDict)) { + return $this->_propDict["enterpriseIPRanges"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseIPRanges + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to + * + * @param WindowsInformationProtectionIPRangeCollection[] $val The enterpriseIPRanges + * + * @return WindowsInformationProtection + */ + public function setEnterpriseIPRanges($val) + { + $this->_propDict["enterpriseIPRanges"] = $val; + return $this; + } + + /** + * Gets the enterpriseIPRangesAreAuthoritative + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false + * + * @return bool|null The enterpriseIPRangesAreAuthoritative + */ + public function getEnterpriseIPRangesAreAuthoritative() + { + if (array_key_exists("enterpriseIPRangesAreAuthoritative", $this->_propDict)) { + return $this->_propDict["enterpriseIPRangesAreAuthoritative"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseIPRangesAreAuthoritative + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false + * + * @param bool $val The enterpriseIPRangesAreAuthoritative + * + * @return WindowsInformationProtection + */ + public function setEnterpriseIPRangesAreAuthoritative($val) + { + $this->_propDict["enterpriseIPRangesAreAuthoritative"] = boolval($val); + return $this; + } + + + /** + * Gets the enterpriseNetworkDomainNames + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to + * + * @return array|null The enterpriseNetworkDomainNames + */ + public function getEnterpriseNetworkDomainNames() + { + if (array_key_exists("enterpriseNetworkDomainNames", $this->_propDict)) { + return $this->_propDict["enterpriseNetworkDomainNames"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseNetworkDomainNames + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseNetworkDomainNames + * + * @return WindowsInformationProtection + */ + public function setEnterpriseNetworkDomainNames($val) + { + $this->_propDict["enterpriseNetworkDomainNames"] = $val; + return $this; + } + + + /** + * Gets the enterpriseProtectedDomainNames + * List of enterprise domains to be protected + * + * @return array|null The enterpriseProtectedDomainNames + */ + public function getEnterpriseProtectedDomainNames() + { + if (array_key_exists("enterpriseProtectedDomainNames", $this->_propDict)) { + return $this->_propDict["enterpriseProtectedDomainNames"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProtectedDomainNames + * List of enterprise domains to be protected + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseProtectedDomainNames + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProtectedDomainNames($val) + { + $this->_propDict["enterpriseProtectedDomainNames"] = $val; + return $this; + } + + + /** + * Gets the enterpriseProxiedDomains + * Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy + * + * @return array|null The enterpriseProxiedDomains + */ + public function getEnterpriseProxiedDomains() + { + if (array_key_exists("enterpriseProxiedDomains", $this->_propDict)) { + return $this->_propDict["enterpriseProxiedDomains"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxiedDomains + * Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy + * + * @param WindowsInformationProtectionProxiedDomainCollection[] $val The enterpriseProxiedDomains + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProxiedDomains($val) + { + $this->_propDict["enterpriseProxiedDomains"] = $val; + return $this; + } + + + /** + * Gets the enterpriseProxyServers + * This is a list of proxy servers. Any server not on this list is considered non-enterprise + * + * @return array|null The enterpriseProxyServers + */ + public function getEnterpriseProxyServers() + { + if (array_key_exists("enterpriseProxyServers", $this->_propDict)) { + return $this->_propDict["enterpriseProxyServers"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxyServers + * This is a list of proxy servers. Any server not on this list is considered non-enterprise + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseProxyServers + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProxyServers($val) + { + $this->_propDict["enterpriseProxyServers"] = $val; + return $this; + } + + /** + * Gets the enterpriseProxyServersAreAuthoritative + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + * + * @return bool|null The enterpriseProxyServersAreAuthoritative + */ + public function getEnterpriseProxyServersAreAuthoritative() + { + if (array_key_exists("enterpriseProxyServersAreAuthoritative", $this->_propDict)) { + return $this->_propDict["enterpriseProxyServersAreAuthoritative"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxyServersAreAuthoritative + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + * + * @param bool $val The enterpriseProxyServersAreAuthoritative + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProxyServersAreAuthoritative($val) + { + $this->_propDict["enterpriseProxyServersAreAuthoritative"] = boolval($val); + return $this; + } + + + /** + * Gets the exemptApps + * Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. + * + * @return array|null The exemptApps + */ + public function getExemptApps() + { + if (array_key_exists("exemptApps", $this->_propDict)) { + return $this->_propDict["exemptApps"]; + } else { + return null; + } + } + + /** + * Sets the exemptApps + * Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. + * + * @param WindowsInformationProtectionApp[] $val The exemptApps + * + * @return WindowsInformationProtection + */ + public function setExemptApps($val) + { + $this->_propDict["exemptApps"] = $val; + return $this; + } + + /** + * Gets the iconsVisible + * Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app + * + * @return bool|null The iconsVisible + */ + public function getIconsVisible() + { + if (array_key_exists("iconsVisible", $this->_propDict)) { + return $this->_propDict["iconsVisible"]; + } else { + return null; + } + } + + /** + * Sets the iconsVisible + * Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app + * + * @param bool $val The iconsVisible + * + * @return WindowsInformationProtection + */ + public function setIconsVisible($val) + { + $this->_propDict["iconsVisible"] = boolval($val); + return $this; + } + + /** + * Gets the indexingEncryptedStoresOrItemsBlocked + * This switch is for the Windows Search Indexer, to allow or disallow indexing of items + * + * @return bool|null The indexingEncryptedStoresOrItemsBlocked + */ + public function getIndexingEncryptedStoresOrItemsBlocked() + { + if (array_key_exists("indexingEncryptedStoresOrItemsBlocked", $this->_propDict)) { + return $this->_propDict["indexingEncryptedStoresOrItemsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the indexingEncryptedStoresOrItemsBlocked + * This switch is for the Windows Search Indexer, to allow or disallow indexing of items + * + * @param bool $val The indexingEncryptedStoresOrItemsBlocked + * + * @return WindowsInformationProtection + */ + public function setIndexingEncryptedStoresOrItemsBlocked($val) + { + $this->_propDict["indexingEncryptedStoresOrItemsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @param bool $val The isAssigned + * + * @return WindowsInformationProtection + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + + /** + * Gets the neutralDomainResources + * List of domain names that can used for work or personal resource + * + * @return array|null The neutralDomainResources + */ + public function getNeutralDomainResources() + { + if (array_key_exists("neutralDomainResources", $this->_propDict)) { + return $this->_propDict["neutralDomainResources"]; + } else { + return null; + } + } + + /** + * Sets the neutralDomainResources + * List of domain names that can used for work or personal resource + * + * @param WindowsInformationProtectionResourceCollection[] $val The neutralDomainResources + * + * @return WindowsInformationProtection + */ + public function setNeutralDomainResources($val) + { + $this->_propDict["neutralDomainResources"] = $val; + return $this; + } + + + /** + * Gets the protectedApps + * Protected applications can access enterprise data and the data handled by those applications are protected with encryption + * + * @return array|null The protectedApps + */ + public function getProtectedApps() + { + if (array_key_exists("protectedApps", $this->_propDict)) { + return $this->_propDict["protectedApps"]; + } else { + return null; + } + } + + /** + * Sets the protectedApps + * Protected applications can access enterprise data and the data handled by those applications are protected with encryption + * + * @param WindowsInformationProtectionApp[] $val The protectedApps + * + * @return WindowsInformationProtection + */ + public function setProtectedApps($val) + { + $this->_propDict["protectedApps"] = $val; + return $this; + } + + /** + * Gets the protectionUnderLockConfigRequired + * Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured + * + * @return bool|null The protectionUnderLockConfigRequired + */ + public function getProtectionUnderLockConfigRequired() + { + if (array_key_exists("protectionUnderLockConfigRequired", $this->_propDict)) { + return $this->_propDict["protectionUnderLockConfigRequired"]; + } else { + return null; + } + } + + /** + * Sets the protectionUnderLockConfigRequired + * Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured + * + * @param bool $val The protectionUnderLockConfigRequired + * + * @return WindowsInformationProtection + */ + public function setProtectionUnderLockConfigRequired($val) + { + $this->_propDict["protectionUnderLockConfigRequired"] = boolval($val); + return $this; + } + + /** + * Gets the revokeOnUnenrollDisabled + * This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. + * + * @return bool|null The revokeOnUnenrollDisabled + */ + public function getRevokeOnUnenrollDisabled() + { + if (array_key_exists("revokeOnUnenrollDisabled", $this->_propDict)) { + return $this->_propDict["revokeOnUnenrollDisabled"]; + } else { + return null; + } + } + + /** + * Sets the revokeOnUnenrollDisabled + * This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. + * + * @param bool $val The revokeOnUnenrollDisabled + * + * @return WindowsInformationProtection + */ + public function setRevokeOnUnenrollDisabled($val) + { + $this->_propDict["revokeOnUnenrollDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the rightsManagementServicesTemplateId + * TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access + * + * @return string|null The rightsManagementServicesTemplateId + */ + public function getRightsManagementServicesTemplateId() + { + if (array_key_exists("rightsManagementServicesTemplateId", $this->_propDict)) { + return $this->_propDict["rightsManagementServicesTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the rightsManagementServicesTemplateId + * TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access + * + * @param string $val The rightsManagementServicesTemplateId + * + * @return WindowsInformationProtection + */ + public function setRightsManagementServicesTemplateId($val) + { + $this->_propDict["rightsManagementServicesTemplateId"] = $val; + return $this; + } + + + /** + * Gets the smbAutoEncryptedFileExtensions + * Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary + * + * @return array|null The smbAutoEncryptedFileExtensions + */ + public function getSmbAutoEncryptedFileExtensions() + { + if (array_key_exists("smbAutoEncryptedFileExtensions", $this->_propDict)) { + return $this->_propDict["smbAutoEncryptedFileExtensions"]; + } else { + return null; + } + } + + /** + * Sets the smbAutoEncryptedFileExtensions + * Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary + * + * @param WindowsInformationProtectionResourceCollection[] $val The smbAutoEncryptedFileExtensions + * + * @return WindowsInformationProtection + */ + public function setSmbAutoEncryptedFileExtensions($val) + { + $this->_propDict["smbAutoEncryptedFileExtensions"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Navigation property to list of security groups targeted for policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigation property to list of security groups targeted for policy. + * + * @param TargetedManagedAppPolicyAssignment[] $val The assignments + * + * @return WindowsInformationProtection + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the exemptAppLockerFiles + * Another way to input exempt apps through xml files + * + * @return array|null The exemptAppLockerFiles + */ + public function getExemptAppLockerFiles() + { + if (array_key_exists("exemptAppLockerFiles", $this->_propDict)) { + return $this->_propDict["exemptAppLockerFiles"]; + } else { + return null; + } + } + + /** + * Sets the exemptAppLockerFiles + * Another way to input exempt apps through xml files + * + * @param WindowsInformationProtectionAppLockerFile[] $val The exemptAppLockerFiles + * + * @return WindowsInformationProtection + */ + public function setExemptAppLockerFiles($val) + { + $this->_propDict["exemptAppLockerFiles"] = $val; + return $this; + } + + + /** + * Gets the protectedAppLockerFiles + * Another way to input protected apps through xml files + * + * @return array|null The protectedAppLockerFiles + */ + public function getProtectedAppLockerFiles() + { + if (array_key_exists("protectedAppLockerFiles", $this->_propDict)) { + return $this->_propDict["protectedAppLockerFiles"]; + } else { + return null; + } + } + + /** + * Sets the protectedAppLockerFiles + * Another way to input protected apps through xml files + * + * @param WindowsInformationProtectionAppLockerFile[] $val The protectedAppLockerFiles + * + * @return WindowsInformationProtection + */ + public function setProtectedAppLockerFiles($val) + { + $this->_propDict["protectedAppLockerFiles"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionApp.php new file mode 100644 index 0000000..5129a75 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionApp.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["denied"]; + } else { + return null; + } + } + + /** + * Sets the denied + * If true, app is denied protection or exemption. + * + * @param bool $val The value of the denied + * + * @return WindowsInformationProtectionApp + */ + public function setDenied($val) + { + $this->_propDict["denied"] = $val; + return $this; + } + /** + * Gets the description + * The app's description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The app's description. + * + * @param string $val The value of the description + * + * @return WindowsInformationProtectionApp + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * App display name. + * + * @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 + * App display name. + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the productName + * The product name. + * + * @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. + * + * @param string $val The value of the productName + * + * @return WindowsInformationProtectionApp + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + /** + * Gets the publisherName + * The publisher name + * + * @return string|null The publisherName + */ + public function getPublisherName() + { + if (array_key_exists("publisherName", $this->_propDict)) { + return $this->_propDict["publisherName"]; + } else { + return null; + } + } + + /** + * Sets the publisherName + * The publisher name + * + * @param string $val The value of the publisherName + * + * @return WindowsInformationProtectionApp + */ + public function setPublisherName($val) + { + $this->_propDict["publisherName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLearningSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLearningSummary.php new file mode 100644 index 0000000..60f1333 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLearningSummary.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Application Name + * + * @param string $val The applicationName + * + * @return WindowsInformationProtectionAppLearningSummary + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + + /** + * Gets the applicationType + * Application Type. Possible values are: universal, desktop. + * + * @return ApplicationType|null The applicationType + */ + public function getApplicationType() + { + if (array_key_exists("applicationType", $this->_propDict)) { + if (is_a($this->_propDict["applicationType"], "\Beta\Microsoft\Graph\Model\ApplicationType") || is_null($this->_propDict["applicationType"])) { + return $this->_propDict["applicationType"]; + } else { + $this->_propDict["applicationType"] = new ApplicationType($this->_propDict["applicationType"]); + return $this->_propDict["applicationType"]; + } + } + return null; + } + + /** + * Sets the applicationType + * Application Type. Possible values are: universal, desktop. + * + * @param ApplicationType $val The applicationType + * + * @return WindowsInformationProtectionAppLearningSummary + */ + public function setApplicationType($val) + { + $this->_propDict["applicationType"] = $val; + return $this; + } + + /** + * Gets the deviceCount + * Device Count + * + * @return int|null The deviceCount + */ + public function getDeviceCount() + { + if (array_key_exists("deviceCount", $this->_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Device Count + * + * @param int $val The deviceCount + * + * @return WindowsInformationProtectionAppLearningSummary + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLockerFile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLockerFile.php new file mode 100644 index 0000000..1ac816f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLockerFile.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The friendly name + * + * @param string $val The displayName + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the file + * File as a byte array + * + * @return \GuzzleHttp\Psr7\Stream|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * File as a byte array + * + * @param \GuzzleHttp\Psr7\Stream $val The file + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the fileHash + * SHA256 hash of the file + * + * @return string|null The fileHash + */ + public function getFileHash() + { + if (array_key_exists("fileHash", $this->_propDict)) { + return $this->_propDict["fileHash"]; + } else { + return null; + } + } + + /** + * Sets the fileHash + * SHA256 hash of the file + * + * @param string $val The fileHash + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setFileHash($val) + { + $this->_propDict["fileHash"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDataRecoveryCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDataRecoveryCertificate.php new file mode 100644 index 0000000..dae55a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDataRecoveryCertificate.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["certificate"])) { + return $this->_propDict["certificate"]; + } else { + $this->_propDict["certificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["certificate"]); + return $this->_propDict["certificate"]; + } + } + return null; + } + + /** + * Sets the certificate + * Data recovery Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the certificate + * + * @return WindowsInformationProtectionDataRecoveryCertificate The WindowsInformationProtectionDataRecoveryCertificate + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + /** + * Gets the description + * Data recovery Certificate description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Data recovery Certificate description + * + * @param string $val The value of the description + * + * @return WindowsInformationProtectionDataRecoveryCertificate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Data recovery Certificate expiration datetime + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Data recovery Certificate expiration datetime + * + * @param \DateTime $val The value to assign to the expirationDateTime + * + * @return WindowsInformationProtectionDataRecoveryCertificate The WindowsInformationProtectionDataRecoveryCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + /** + * Gets the subjectName + * Data recovery Certificate subject name + * + * @return string|null The subjectName + */ + public function getSubjectName() + { + if (array_key_exists("subjectName", $this->_propDict)) { + return $this->_propDict["subjectName"]; + } else { + return null; + } + } + + /** + * Sets the subjectName + * Data recovery Certificate subject name + * + * @param string $val The value of the subjectName + * + * @return WindowsInformationProtectionDataRecoveryCertificate + */ + public function setSubjectName($val) + { + $this->_propDict["subjectName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDesktopApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDesktopApp.php new file mode 100644 index 0000000..96930f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDesktopApp.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.windowsInformationProtectionDesktopApp"); + } + + /** + * Gets the binaryName + * The binary name. + * + * @return string|null The binaryName + */ + public function getBinaryName() + { + if (array_key_exists("binaryName", $this->_propDict)) { + return $this->_propDict["binaryName"]; + } else { + return null; + } + } + + /** + * Sets the binaryName + * The binary name. + * + * @param string $val The value of the binaryName + * + * @return WindowsInformationProtectionDesktopApp + */ + public function setBinaryName($val) + { + $this->_propDict["binaryName"] = $val; + return $this; + } + /** + * Gets the binaryVersionHigh + * The high binary version. + * + * @return string|null The binaryVersionHigh + */ + public function getBinaryVersionHigh() + { + if (array_key_exists("binaryVersionHigh", $this->_propDict)) { + return $this->_propDict["binaryVersionHigh"]; + } else { + return null; + } + } + + /** + * Sets the binaryVersionHigh + * The high binary version. + * + * @param string $val The value of the binaryVersionHigh + * + * @return WindowsInformationProtectionDesktopApp + */ + public function setBinaryVersionHigh($val) + { + $this->_propDict["binaryVersionHigh"] = $val; + return $this; + } + /** + * Gets the binaryVersionLow + * The lower binary version. + * + * @return string|null The binaryVersionLow + */ + public function getBinaryVersionLow() + { + if (array_key_exists("binaryVersionLow", $this->_propDict)) { + return $this->_propDict["binaryVersionLow"]; + } else { + return null; + } + } + + /** + * Sets the binaryVersionLow + * The lower binary version. + * + * @param string $val The value of the binaryVersionLow + * + * @return WindowsInformationProtectionDesktopApp + */ + public function setBinaryVersionLow($val) + { + $this->_propDict["binaryVersionLow"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDeviceRegistration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDeviceRegistration.php new file mode 100644 index 0000000..7721002 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDeviceRegistration.php @@ -0,0 +1,205 @@ +_propDict)) { + return $this->_propDict["deviceMacAddress"]; + } else { + return null; + } + } + + /** + * Sets the deviceMacAddress + * Device Mac address. + * + * @param string $val The deviceMacAddress + * + * @return WindowsInformationProtectionDeviceRegistration + */ + public function setDeviceMacAddress($val) + { + $this->_propDict["deviceMacAddress"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name. + * + * @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 + * Device name. + * + * @param string $val The deviceName + * + * @return WindowsInformationProtectionDeviceRegistration + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceRegistrationId + * Device identifier for this device registration record. + * + * @return string|null The deviceRegistrationId + */ + public function getDeviceRegistrationId() + { + if (array_key_exists("deviceRegistrationId", $this->_propDict)) { + return $this->_propDict["deviceRegistrationId"]; + } else { + return null; + } + } + + /** + * Sets the deviceRegistrationId + * Device identifier for this device registration record. + * + * @param string $val The deviceRegistrationId + * + * @return WindowsInformationProtectionDeviceRegistration + */ + public function setDeviceRegistrationId($val) + { + $this->_propDict["deviceRegistrationId"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Device type, for example, Windows laptop VS Windows phone. + * + * @return string|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + return $this->_propDict["deviceType"]; + } else { + return null; + } + } + + /** + * Sets the deviceType + * Device type, for example, Windows laptop VS Windows phone. + * + * @param string $val The deviceType + * + * @return WindowsInformationProtectionDeviceRegistration + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + /** + * Gets the lastCheckInDateTime + * Last checkin time of the device. + * + * @return \DateTime|null The lastCheckInDateTime + */ + public function getLastCheckInDateTime() + { + if (array_key_exists("lastCheckInDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckInDateTime"])) { + return $this->_propDict["lastCheckInDateTime"]; + } else { + $this->_propDict["lastCheckInDateTime"] = new \DateTime($this->_propDict["lastCheckInDateTime"]); + return $this->_propDict["lastCheckInDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckInDateTime + * Last checkin time of the device. + * + * @param \DateTime $val The lastCheckInDateTime + * + * @return WindowsInformationProtectionDeviceRegistration + */ + public function setLastCheckInDateTime($val) + { + $this->_propDict["lastCheckInDateTime"] = $val; + return $this; + } + + /** + * Gets the userId + * UserId associated with this device registration record. + * + * @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 + * UserId associated with this device registration record. + * + * @param string $val The userId + * + * @return WindowsInformationProtectionDeviceRegistration + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionEnforcementLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionEnforcementLevel.php new file mode 100644 index 0000000..0d0db50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionEnforcementLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionIPRangeCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the ranges + * Collection of ip ranges + * + * @return IpRange|null The ranges + */ + public function getRanges() + { + if (array_key_exists("ranges", $this->_propDict)) { + if (is_a($this->_propDict["ranges"], "\Beta\Microsoft\Graph\Model\IpRange") || is_null($this->_propDict["ranges"])) { + return $this->_propDict["ranges"]; + } else { + $this->_propDict["ranges"] = new IpRange($this->_propDict["ranges"]); + return $this->_propDict["ranges"]; + } + } + return null; + } + + /** + * Sets the ranges + * Collection of ip ranges + * + * @param IpRange $val The value to assign to the ranges + * + * @return WindowsInformationProtectionIPRangeCollection The WindowsInformationProtectionIPRangeCollection + */ + public function setRanges($val) + { + $this->_propDict["ranges"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionNetworkLearningSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionNetworkLearningSummary.php new file mode 100644 index 0000000..b230305 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionNetworkLearningSummary.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Device Count + * + * @param int $val The deviceCount + * + * @return WindowsInformationProtectionNetworkLearningSummary + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the url + * Website url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * Website url + * + * @param string $val The url + * + * @return WindowsInformationProtectionNetworkLearningSummary + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionPinCharacterRequirements.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionPinCharacterRequirements.php new file mode 100644 index 0000000..dcdc920 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionPinCharacterRequirements.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["daysWithoutContactBeforeUnenroll"]; + } else { + return null; + } + } + + /** + * Sets the daysWithoutContactBeforeUnenroll + * Offline interval before app data is wiped (days) + * + * @param int $val The daysWithoutContactBeforeUnenroll + * + * @return WindowsInformationProtectionPolicy + */ + public function setDaysWithoutContactBeforeUnenroll($val) + { + $this->_propDict["daysWithoutContactBeforeUnenroll"] = intval($val); + return $this; + } + + /** + * Gets the mdmEnrollmentUrl + * Enrollment url for the MDM + * + * @return string|null The mdmEnrollmentUrl + */ + public function getMdmEnrollmentUrl() + { + if (array_key_exists("mdmEnrollmentUrl", $this->_propDict)) { + return $this->_propDict["mdmEnrollmentUrl"]; + } else { + return null; + } + } + + /** + * Sets the mdmEnrollmentUrl + * Enrollment url for the MDM + * + * @param string $val The mdmEnrollmentUrl + * + * @return WindowsInformationProtectionPolicy + */ + public function setMdmEnrollmentUrl($val) + { + $this->_propDict["mdmEnrollmentUrl"] = $val; + return $this; + } + + /** + * Gets the minutesOfInactivityBeforeDeviceLock + * Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 &lt;= X &lt;= 999. + * + * @return int|null The minutesOfInactivityBeforeDeviceLock + */ + public function getMinutesOfInactivityBeforeDeviceLock() + { + if (array_key_exists("minutesOfInactivityBeforeDeviceLock", $this->_propDict)) { + return $this->_propDict["minutesOfInactivityBeforeDeviceLock"]; + } else { + return null; + } + } + + /** + * Sets the minutesOfInactivityBeforeDeviceLock + * Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 &lt;= X &lt;= 999. + * + * @param int $val The minutesOfInactivityBeforeDeviceLock + * + * @return WindowsInformationProtectionPolicy + */ + public function setMinutesOfInactivityBeforeDeviceLock($val) + { + $this->_propDict["minutesOfInactivityBeforeDeviceLock"] = intval($val); + return $this; + } + + /** + * Gets the numberOfPastPinsRemembered + * Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. + * + * @return int|null The numberOfPastPinsRemembered + */ + public function getNumberOfPastPinsRemembered() + { + if (array_key_exists("numberOfPastPinsRemembered", $this->_propDict)) { + return $this->_propDict["numberOfPastPinsRemembered"]; + } else { + return null; + } + } + + /** + * Sets the numberOfPastPinsRemembered + * Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. + * + * @param int $val The numberOfPastPinsRemembered + * + * @return WindowsInformationProtectionPolicy + */ + public function setNumberOfPastPinsRemembered($val) + { + $this->_propDict["numberOfPastPinsRemembered"] = intval($val); + return $this; + } + + /** + * Gets the passwordMaximumAttemptCount + * The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 &lt;= X &lt;= 16 for desktop and 0 &lt;= X &lt;= 999 for mobile devices. + * + * @return int|null The passwordMaximumAttemptCount + */ + public function getPasswordMaximumAttemptCount() + { + if (array_key_exists("passwordMaximumAttemptCount", $this->_propDict)) { + return $this->_propDict["passwordMaximumAttemptCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMaximumAttemptCount + * The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 &lt;= X &lt;= 16 for desktop and 0 &lt;= X &lt;= 999 for mobile devices. + * + * @param int $val The passwordMaximumAttemptCount + * + * @return WindowsInformationProtectionPolicy + */ + public function setPasswordMaximumAttemptCount($val) + { + $this->_propDict["passwordMaximumAttemptCount"] = intval($val); + return $this; + } + + /** + * Gets the pinExpirationDays + * Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. + * + * @return int|null The pinExpirationDays + */ + public function getPinExpirationDays() + { + if (array_key_exists("pinExpirationDays", $this->_propDict)) { + return $this->_propDict["pinExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the pinExpirationDays + * Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. + * + * @param int $val The pinExpirationDays + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinExpirationDays($val) + { + $this->_propDict["pinExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the pinLowercaseLetters + * Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @return WindowsInformationProtectionPinCharacterRequirements|null The pinLowercaseLetters + */ + public function getPinLowercaseLetters() + { + if (array_key_exists("pinLowercaseLetters", $this->_propDict)) { + if (is_a($this->_propDict["pinLowercaseLetters"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements") || is_null($this->_propDict["pinLowercaseLetters"])) { + return $this->_propDict["pinLowercaseLetters"]; + } else { + $this->_propDict["pinLowercaseLetters"] = new WindowsInformationProtectionPinCharacterRequirements($this->_propDict["pinLowercaseLetters"]); + return $this->_propDict["pinLowercaseLetters"]; + } + } + return null; + } + + /** + * Sets the pinLowercaseLetters + * Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @param WindowsInformationProtectionPinCharacterRequirements $val The pinLowercaseLetters + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinLowercaseLetters($val) + { + $this->_propDict["pinLowercaseLetters"] = $val; + return $this; + } + + /** + * Gets the pinMinimumLength + * Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. + * + * @return int|null The pinMinimumLength + */ + public function getPinMinimumLength() + { + if (array_key_exists("pinMinimumLength", $this->_propDict)) { + return $this->_propDict["pinMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMinimumLength + * Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. + * + * @param int $val The pinMinimumLength + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinMinimumLength($val) + { + $this->_propDict["pinMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinSpecialCharacters + * Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! ' # $ % & ' ( ) + , - . / : ; &lt; = &gt; ? @ [ / ] ^ ` { + * + * @return WindowsInformationProtectionPinCharacterRequirements|null The pinSpecialCharacters + */ + public function getPinSpecialCharacters() + { + if (array_key_exists("pinSpecialCharacters", $this->_propDict)) { + if (is_a($this->_propDict["pinSpecialCharacters"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements") || is_null($this->_propDict["pinSpecialCharacters"])) { + return $this->_propDict["pinSpecialCharacters"]; + } else { + $this->_propDict["pinSpecialCharacters"] = new WindowsInformationProtectionPinCharacterRequirements($this->_propDict["pinSpecialCharacters"]); + return $this->_propDict["pinSpecialCharacters"]; + } + } + return null; + } + + /** + * Sets the pinSpecialCharacters + * Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! ' # $ % & ' ( ) + , - . / : ; &lt; = &gt; ? @ [ / ] ^ ` { + * + * @param WindowsInformationProtectionPinCharacterRequirements $val The pinSpecialCharacters + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinSpecialCharacters($val) + { + $this->_propDict["pinSpecialCharacters"] = $val; + return $this; + } + + /** + * Gets the pinUppercaseLetters + * Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @return WindowsInformationProtectionPinCharacterRequirements|null The pinUppercaseLetters + */ + public function getPinUppercaseLetters() + { + if (array_key_exists("pinUppercaseLetters", $this->_propDict)) { + if (is_a($this->_propDict["pinUppercaseLetters"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements") || is_null($this->_propDict["pinUppercaseLetters"])) { + return $this->_propDict["pinUppercaseLetters"]; + } else { + $this->_propDict["pinUppercaseLetters"] = new WindowsInformationProtectionPinCharacterRequirements($this->_propDict["pinUppercaseLetters"]); + return $this->_propDict["pinUppercaseLetters"]; + } + } + return null; + } + + /** + * Sets the pinUppercaseLetters + * Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @param WindowsInformationProtectionPinCharacterRequirements $val The pinUppercaseLetters + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinUppercaseLetters($val) + { + $this->_propDict["pinUppercaseLetters"] = $val; + return $this; + } + + /** + * Gets the revokeOnMdmHandoffDisabled + * New property in RS2, pending documentation + * + * @return bool|null The revokeOnMdmHandoffDisabled + */ + public function getRevokeOnMdmHandoffDisabled() + { + if (array_key_exists("revokeOnMdmHandoffDisabled", $this->_propDict)) { + return $this->_propDict["revokeOnMdmHandoffDisabled"]; + } else { + return null; + } + } + + /** + * Sets the revokeOnMdmHandoffDisabled + * New property in RS2, pending documentation + * + * @param bool $val The revokeOnMdmHandoffDisabled + * + * @return WindowsInformationProtectionPolicy + */ + public function setRevokeOnMdmHandoffDisabled($val) + { + $this->_propDict["revokeOnMdmHandoffDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the windowsHelloForBusinessBlocked + * Boolean value that sets Windows Hello for Business as a method for signing into Windows. + * + * @return bool|null The windowsHelloForBusinessBlocked + */ + public function getWindowsHelloForBusinessBlocked() + { + if (array_key_exists("windowsHelloForBusinessBlocked", $this->_propDict)) { + return $this->_propDict["windowsHelloForBusinessBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsHelloForBusinessBlocked + * Boolean value that sets Windows Hello for Business as a method for signing into Windows. + * + * @param bool $val The windowsHelloForBusinessBlocked + * + * @return WindowsInformationProtectionPolicy + */ + public function setWindowsHelloForBusinessBlocked($val) + { + $this->_propDict["windowsHelloForBusinessBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionProxiedDomainCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionProxiedDomainCollection.php new file mode 100644 index 0000000..dd94d07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionProxiedDomainCollection.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionProxiedDomainCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the proxiedDomains + * Collection of proxied domains + * + * @return ProxiedDomain|null The proxiedDomains + */ + public function getProxiedDomains() + { + if (array_key_exists("proxiedDomains", $this->_propDict)) { + if (is_a($this->_propDict["proxiedDomains"], "\Beta\Microsoft\Graph\Model\ProxiedDomain") || is_null($this->_propDict["proxiedDomains"])) { + return $this->_propDict["proxiedDomains"]; + } else { + $this->_propDict["proxiedDomains"] = new ProxiedDomain($this->_propDict["proxiedDomains"]); + return $this->_propDict["proxiedDomains"]; + } + } + return null; + } + + /** + * Sets the proxiedDomains + * Collection of proxied domains + * + * @param ProxiedDomain $val The value to assign to the proxiedDomains + * + * @return WindowsInformationProtectionProxiedDomainCollection The WindowsInformationProtectionProxiedDomainCollection + */ + public function setProxiedDomains($val) + { + $this->_propDict["proxiedDomains"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionResourceCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionResourceCollection.php new file mode 100644 index 0000000..ca3fd09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionResourceCollection.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionResourceCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the resources + * Collection of resources + * + * @return string|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Collection of resources + * + * @param string $val The value of the resources + * + * @return WindowsInformationProtectionResourceCollection + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionStoreApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionStoreApp.php new file mode 100644 index 0000000..4df7b74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionStoreApp.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.windowsInformationProtectionStoreApp"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionWipeAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionWipeAction.php new file mode 100644 index 0000000..b415174 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionWipeAction.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckInDateTime"])) { + return $this->_propDict["lastCheckInDateTime"]; + } else { + $this->_propDict["lastCheckInDateTime"] = new \DateTime($this->_propDict["lastCheckInDateTime"]); + return $this->_propDict["lastCheckInDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckInDateTime + * Last checkin time of the device that was targeted by this wipe action. + * + * @param \DateTime $val The lastCheckInDateTime + * + * @return WindowsInformationProtectionWipeAction + */ + public function setLastCheckInDateTime($val) + { + $this->_propDict["lastCheckInDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Wipe action status. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ActionState($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Wipe action status. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The status + * + * @return WindowsInformationProtectionWipeAction + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the targetedDeviceMacAddress + * Targeted device Mac address. + * + * @return string|null The targetedDeviceMacAddress + */ + public function getTargetedDeviceMacAddress() + { + if (array_key_exists("targetedDeviceMacAddress", $this->_propDict)) { + return $this->_propDict["targetedDeviceMacAddress"]; + } else { + return null; + } + } + + /** + * Sets the targetedDeviceMacAddress + * Targeted device Mac address. + * + * @param string $val The targetedDeviceMacAddress + * + * @return WindowsInformationProtectionWipeAction + */ + public function setTargetedDeviceMacAddress($val) + { + $this->_propDict["targetedDeviceMacAddress"] = $val; + return $this; + } + + /** + * Gets the targetedDeviceName + * Targeted device name. + * + * @return string|null The targetedDeviceName + */ + public function getTargetedDeviceName() + { + if (array_key_exists("targetedDeviceName", $this->_propDict)) { + return $this->_propDict["targetedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the targetedDeviceName + * Targeted device name. + * + * @param string $val The targetedDeviceName + * + * @return WindowsInformationProtectionWipeAction + */ + public function setTargetedDeviceName($val) + { + $this->_propDict["targetedDeviceName"] = $val; + return $this; + } + + /** + * Gets the targetedDeviceRegistrationId + * The DeviceRegistrationId being targeted by this wipe action. + * + * @return string|null The targetedDeviceRegistrationId + */ + public function getTargetedDeviceRegistrationId() + { + if (array_key_exists("targetedDeviceRegistrationId", $this->_propDict)) { + return $this->_propDict["targetedDeviceRegistrationId"]; + } else { + return null; + } + } + + /** + * Sets the targetedDeviceRegistrationId + * The DeviceRegistrationId being targeted by this wipe action. + * + * @param string $val The targetedDeviceRegistrationId + * + * @return WindowsInformationProtectionWipeAction + */ + public function setTargetedDeviceRegistrationId($val) + { + $this->_propDict["targetedDeviceRegistrationId"] = $val; + return $this; + } + + /** + * Gets the targetedUserId + * The UserId being targeted by this wipe action. + * + * @return string|null The targetedUserId + */ + public function getTargetedUserId() + { + if (array_key_exists("targetedUserId", $this->_propDict)) { + return $this->_propDict["targetedUserId"]; + } else { + return null; + } + } + + /** + * Sets the targetedUserId + * The UserId being targeted by this wipe action. + * + * @param string $val The targetedUserId + * + * @return WindowsInformationProtectionWipeAction + */ + public function setTargetedUserId($val) + { + $this->_propDict["targetedUserId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskActiveDirectoryGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskActiveDirectoryGroup.php new file mode 100644 index 0000000..49b0e29 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskActiveDirectoryGroup.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["groupName"]; + } else { + return null; + } + } + + /** + * Sets the groupName + * The name of the AD group that will be locked to this kiosk configuration + * + * @param string $val The value of the groupName + * + * @return WindowsKioskActiveDirectoryGroup + */ + public function setGroupName($val) + { + $this->_propDict["groupName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppBase.php new file mode 100644 index 0000000..f34dee5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppBase.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["appType"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppType") || is_null($this->_propDict["appType"])) { + return $this->_propDict["appType"]; + } else { + $this->_propDict["appType"] = new WindowsKioskAppType($this->_propDict["appType"]); + return $this->_propDict["appType"]; + } + } + return null; + } + + /** + * Sets the appType + * The app type. Possible values are: unknown, store, desktop, aumId. + * + * @param WindowsKioskAppType $val The value to assign to the appType + * + * @return WindowsKioskAppBase The WindowsKioskAppBase + */ + public function setAppType($val) + { + $this->_propDict["appType"] = $val; + return $this; + } + /** + * Gets the autoLaunch + * Allow the app to be auto-launched in multi-app kiosk mode + * + * @return bool|null The autoLaunch + */ + public function getAutoLaunch() + { + if (array_key_exists("autoLaunch", $this->_propDict)) { + return $this->_propDict["autoLaunch"]; + } else { + return null; + } + } + + /** + * Sets the autoLaunch + * Allow the app to be auto-launched in multi-app kiosk mode + * + * @param bool $val The value of the autoLaunch + * + * @return WindowsKioskAppBase + */ + public function setAutoLaunch($val) + { + $this->_propDict["autoLaunch"] = $val; + return $this; + } + /** + * Gets the name + * Represents the friendly name of an app + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the friendly name of an app + * + * @param string $val The value of the name + * + * @return WindowsKioskAppBase + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the startLayoutTileSize + * The app tile size for the start layout. Possible values are: hidden, small, medium, wide, large. + * + * @return WindowsAppStartLayoutTileSize|null The startLayoutTileSize + */ + public function getStartLayoutTileSize() + { + if (array_key_exists("startLayoutTileSize", $this->_propDict)) { + if (is_a($this->_propDict["startLayoutTileSize"], "\Beta\Microsoft\Graph\Model\WindowsAppStartLayoutTileSize") || is_null($this->_propDict["startLayoutTileSize"])) { + return $this->_propDict["startLayoutTileSize"]; + } else { + $this->_propDict["startLayoutTileSize"] = new WindowsAppStartLayoutTileSize($this->_propDict["startLayoutTileSize"]); + return $this->_propDict["startLayoutTileSize"]; + } + } + return null; + } + + /** + * Sets the startLayoutTileSize + * The app tile size for the start layout. Possible values are: hidden, small, medium, wide, large. + * + * @param WindowsAppStartLayoutTileSize $val The value to assign to the startLayoutTileSize + * + * @return WindowsKioskAppBase The WindowsKioskAppBase + */ + public function setStartLayoutTileSize($val) + { + $this->_propDict["startLayoutTileSize"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppConfiguration.php new file mode 100644 index 0000000..5888ed4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppConfiguration.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the AzureAD group that will be locked to this kiosk configuration + * + * @param string $val The value of the displayName + * + * @return WindowsKioskAzureADGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the groupId + * The ID of the AzureAD group that will be locked to this kiosk configuration + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The ID of the AzureAD group that will be locked to this kiosk configuration + * + * @param string $val The value of the groupId + * + * @return WindowsKioskAzureADGroup + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAzureADUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAzureADUser.php new file mode 100644 index 0000000..8e9e442 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAzureADUser.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * The ID of the AzureAD user that will be locked to this kiosk configuration + * + * @param string $val The value of the userId + * + * @return WindowsKioskAzureADUser + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * The user accounts that will be locked to this kiosk configuration + * + * @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 + * The user accounts that will be locked to this kiosk configuration + * + * @param string $val The value of the userPrincipalName + * + * @return WindowsKioskAzureADUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskConfiguration.php new file mode 100644 index 0000000..36cdef1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskConfiguration.php @@ -0,0 +1,322 @@ +_propDict)) { + return $this->_propDict["edgeKioskEnablePublicBrowsing"]; + } else { + return null; + } + } + + /** + * Sets the edgeKioskEnablePublicBrowsing + * Enable public browsing kiosk mode for the Microsoft Edge browser. The Default is false. + * + * @param bool $val The edgeKioskEnablePublicBrowsing + * + * @return WindowsKioskConfiguration + */ + public function setEdgeKioskEnablePublicBrowsing($val) + { + $this->_propDict["edgeKioskEnablePublicBrowsing"] = boolval($val); + return $this; + } + + /** + * Gets the kioskBrowserBlockedUrlExceptions + * Specify URLs that the kiosk browser is allowed to navigate to + * + * @return string|null The kioskBrowserBlockedUrlExceptions + */ + public function getKioskBrowserBlockedUrlExceptions() + { + if (array_key_exists("kioskBrowserBlockedUrlExceptions", $this->_propDict)) { + return $this->_propDict["kioskBrowserBlockedUrlExceptions"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserBlockedUrlExceptions + * Specify URLs that the kiosk browser is allowed to navigate to + * + * @param string $val The kioskBrowserBlockedUrlExceptions + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserBlockedUrlExceptions($val) + { + $this->_propDict["kioskBrowserBlockedUrlExceptions"] = $val; + return $this; + } + + /** + * Gets the kioskBrowserBlockedURLs + * Specify URLs that the kiosk browsers should not navigate to + * + * @return string|null The kioskBrowserBlockedURLs + */ + public function getKioskBrowserBlockedURLs() + { + if (array_key_exists("kioskBrowserBlockedURLs", $this->_propDict)) { + return $this->_propDict["kioskBrowserBlockedURLs"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserBlockedURLs + * Specify URLs that the kiosk browsers should not navigate to + * + * @param string $val The kioskBrowserBlockedURLs + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserBlockedURLs($val) + { + $this->_propDict["kioskBrowserBlockedURLs"] = $val; + return $this; + } + + /** + * Gets the kioskBrowserDefaultUrl + * Specify the default URL the browser should navigate to on launch. + * + * @return string|null The kioskBrowserDefaultUrl + */ + public function getKioskBrowserDefaultUrl() + { + if (array_key_exists("kioskBrowserDefaultUrl", $this->_propDict)) { + return $this->_propDict["kioskBrowserDefaultUrl"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserDefaultUrl + * Specify the default URL the browser should navigate to on launch. + * + * @param string $val The kioskBrowserDefaultUrl + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserDefaultUrl($val) + { + $this->_propDict["kioskBrowserDefaultUrl"] = $val; + return $this; + } + + /** + * Gets the kioskBrowserEnableEndSessionButton + * Enable the kiosk browser's end session button. By default, the end session button is disabled. + * + * @return bool|null The kioskBrowserEnableEndSessionButton + */ + public function getKioskBrowserEnableEndSessionButton() + { + if (array_key_exists("kioskBrowserEnableEndSessionButton", $this->_propDict)) { + return $this->_propDict["kioskBrowserEnableEndSessionButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserEnableEndSessionButton + * Enable the kiosk browser's end session button. By default, the end session button is disabled. + * + * @param bool $val The kioskBrowserEnableEndSessionButton + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserEnableEndSessionButton($val) + { + $this->_propDict["kioskBrowserEnableEndSessionButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskBrowserEnableHomeButton + * Enable the kiosk browser's home button. By default, the home button is disabled. + * + * @return bool|null The kioskBrowserEnableHomeButton + */ + public function getKioskBrowserEnableHomeButton() + { + if (array_key_exists("kioskBrowserEnableHomeButton", $this->_propDict)) { + return $this->_propDict["kioskBrowserEnableHomeButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserEnableHomeButton + * Enable the kiosk browser's home button. By default, the home button is disabled. + * + * @param bool $val The kioskBrowserEnableHomeButton + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserEnableHomeButton($val) + { + $this->_propDict["kioskBrowserEnableHomeButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskBrowserEnableNavigationButtons + * Enable the kiosk browser's navigation buttons(forward/back). By default, the navigation buttons are disabled. + * + * @return bool|null The kioskBrowserEnableNavigationButtons + */ + public function getKioskBrowserEnableNavigationButtons() + { + if (array_key_exists("kioskBrowserEnableNavigationButtons", $this->_propDict)) { + return $this->_propDict["kioskBrowserEnableNavigationButtons"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserEnableNavigationButtons + * Enable the kiosk browser's navigation buttons(forward/back). By default, the navigation buttons are disabled. + * + * @param bool $val The kioskBrowserEnableNavigationButtons + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserEnableNavigationButtons($val) + { + $this->_propDict["kioskBrowserEnableNavigationButtons"] = boolval($val); + return $this; + } + + /** + * Gets the kioskBrowserRestartOnIdleTimeInMinutes + * Specify the number of minutes the session is idle until the kiosk browser restarts in a fresh state. Valid values are 1-1440. Valid values 1 to 1440 + * + * @return int|null The kioskBrowserRestartOnIdleTimeInMinutes + */ + public function getKioskBrowserRestartOnIdleTimeInMinutes() + { + if (array_key_exists("kioskBrowserRestartOnIdleTimeInMinutes", $this->_propDict)) { + return $this->_propDict["kioskBrowserRestartOnIdleTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the kioskBrowserRestartOnIdleTimeInMinutes + * Specify the number of minutes the session is idle until the kiosk browser restarts in a fresh state. Valid values are 1-1440. Valid values 1 to 1440 + * + * @param int $val The kioskBrowserRestartOnIdleTimeInMinutes + * + * @return WindowsKioskConfiguration + */ + public function setKioskBrowserRestartOnIdleTimeInMinutes($val) + { + $this->_propDict["kioskBrowserRestartOnIdleTimeInMinutes"] = intval($val); + return $this; + } + + + /** + * Gets the kioskProfiles + * This policy setting allows to define a list of Kiosk profiles for a Kiosk configuration. This collection can contain a maximum of 3 elements. + * + * @return array|null The kioskProfiles + */ + public function getKioskProfiles() + { + if (array_key_exists("kioskProfiles", $this->_propDict)) { + return $this->_propDict["kioskProfiles"]; + } else { + return null; + } + } + + /** + * Sets the kioskProfiles + * This policy setting allows to define a list of Kiosk profiles for a Kiosk configuration. This collection can contain a maximum of 3 elements. + * + * @param WindowsKioskProfile[] $val The kioskProfiles + * + * @return WindowsKioskConfiguration + */ + public function setKioskProfiles($val) + { + $this->_propDict["kioskProfiles"] = $val; + return $this; + } + + /** + * Gets the windowsKioskForceUpdateSchedule + * force update schedule for Kiosk devices. + * + * @return WindowsKioskForceUpdateSchedule|null The windowsKioskForceUpdateSchedule + */ + public function getWindowsKioskForceUpdateSchedule() + { + if (array_key_exists("windowsKioskForceUpdateSchedule", $this->_propDict)) { + if (is_a($this->_propDict["windowsKioskForceUpdateSchedule"], "\Beta\Microsoft\Graph\Model\WindowsKioskForceUpdateSchedule") || is_null($this->_propDict["windowsKioskForceUpdateSchedule"])) { + return $this->_propDict["windowsKioskForceUpdateSchedule"]; + } else { + $this->_propDict["windowsKioskForceUpdateSchedule"] = new WindowsKioskForceUpdateSchedule($this->_propDict["windowsKioskForceUpdateSchedule"]); + return $this->_propDict["windowsKioskForceUpdateSchedule"]; + } + } + return null; + } + + /** + * Sets the windowsKioskForceUpdateSchedule + * force update schedule for Kiosk devices. + * + * @param WindowsKioskForceUpdateSchedule $val The windowsKioskForceUpdateSchedule + * + * @return WindowsKioskConfiguration + */ + public function setWindowsKioskForceUpdateSchedule($val) + { + $this->_propDict["windowsKioskForceUpdateSchedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskDesktopApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskDesktopApp.php new file mode 100644 index 0000000..2372de6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskDesktopApp.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["desktopApplicationId"]; + } else { + return null; + } + } + + /** + * Sets the desktopApplicationId + * Define the DesktopApplicationID of the app + * + * @param string $val The value of the desktopApplicationId + * + * @return WindowsKioskDesktopApp + */ + public function setDesktopApplicationId($val) + { + $this->_propDict["desktopApplicationId"] = $val; + return $this; + } + /** + * Gets the desktopApplicationLinkPath + * Define the DesktopApplicationLinkPath of the app + * + * @return string|null The desktopApplicationLinkPath + */ + public function getDesktopApplicationLinkPath() + { + if (array_key_exists("desktopApplicationLinkPath", $this->_propDict)) { + return $this->_propDict["desktopApplicationLinkPath"]; + } else { + return null; + } + } + + /** + * Sets the desktopApplicationLinkPath + * Define the DesktopApplicationLinkPath of the app + * + * @param string $val The value of the desktopApplicationLinkPath + * + * @return WindowsKioskDesktopApp + */ + public function setDesktopApplicationLinkPath($val) + { + $this->_propDict["desktopApplicationLinkPath"] = $val; + return $this; + } + /** + * Gets the path + * Define the path of a desktop app + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Define the path of a desktop app + * + * @param string $val The value of the path + * + * @return WindowsKioskDesktopApp + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskForceUpdateSchedule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskForceUpdateSchedule.php new file mode 100644 index 0000000..4ddb517 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskForceUpdateSchedule.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["dayofMonth"]; + } else { + return null; + } + } + + /** + * Sets the dayofMonth + * Day of month. Valid values 1 to 31 + * + * @param int $val The value of the dayofMonth + * + * @return WindowsKioskForceUpdateSchedule + */ + public function setDayofMonth($val) + { + $this->_propDict["dayofMonth"] = $val; + return $this; + } + + /** + * Gets the dayofWeek + * Day of week. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @return DayOfWeek|null The dayofWeek + */ + public function getDayofWeek() + { + if (array_key_exists("dayofWeek", $this->_propDict)) { + if (is_a($this->_propDict["dayofWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["dayofWeek"])) { + return $this->_propDict["dayofWeek"]; + } else { + $this->_propDict["dayofWeek"] = new DayOfWeek($this->_propDict["dayofWeek"]); + return $this->_propDict["dayofWeek"]; + } + } + return null; + } + + /** + * Sets the dayofWeek + * Day of week. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @param DayOfWeek $val The value to assign to the dayofWeek + * + * @return WindowsKioskForceUpdateSchedule The WindowsKioskForceUpdateSchedule + */ + public function setDayofWeek($val) + { + $this->_propDict["dayofWeek"] = $val; + return $this; + } + + /** + * Gets the recurrence + * Recurrence schedule. Possible values are: none, daily, weekly, monthly. + * + * @return Windows10AppsUpdateRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\Windows10AppsUpdateRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new Windows10AppsUpdateRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Recurrence schedule. Possible values are: none, daily, weekly, monthly. + * + * @param Windows10AppsUpdateRecurrence $val The value to assign to the recurrence + * + * @return WindowsKioskForceUpdateSchedule The WindowsKioskForceUpdateSchedule + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + /** + * Gets the runImmediatelyIfAfterStartDateTime + * If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence. + * + * @return bool|null The runImmediatelyIfAfterStartDateTime + */ + public function getRunImmediatelyIfAfterStartDateTime() + { + if (array_key_exists("runImmediatelyIfAfterStartDateTime", $this->_propDict)) { + return $this->_propDict["runImmediatelyIfAfterStartDateTime"]; + } else { + return null; + } + } + + /** + * Sets the runImmediatelyIfAfterStartDateTime + * If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence. + * + * @param bool $val The value of the runImmediatelyIfAfterStartDateTime + * + * @return WindowsKioskForceUpdateSchedule + */ + public function setRunImmediatelyIfAfterStartDateTime($val) + { + $this->_propDict["runImmediatelyIfAfterStartDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time for the force restart. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time for the force restart. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return WindowsKioskForceUpdateSchedule The WindowsKioskForceUpdateSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalGroup.php new file mode 100644 index 0000000..09eb5b1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalGroup.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["groupName"]; + } else { + return null; + } + } + + /** + * Sets the groupName + * The name of the local group that will be locked to this kiosk configuration + * + * @param string $val The value of the groupName + * + * @return WindowsKioskLocalGroup + */ + public function setGroupName($val) + { + $this->_propDict["groupName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalUser.php new file mode 100644 index 0000000..a918943 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalUser.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The local user that will be locked to this kiosk configuration + * + * @param string $val The value of the userName + * + * @return WindowsKioskLocalUser + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskMultipleApps.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskMultipleApps.php new file mode 100644 index 0000000..88a98de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskMultipleApps.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["allowAccessToDownloadsFolder"]; + } else { + return null; + } + } + + /** + * Sets the allowAccessToDownloadsFolder + * This setting allows access to Downloads folder in file explorer. + * + * @param bool $val The value of the allowAccessToDownloadsFolder + * + * @return WindowsKioskMultipleApps + */ + public function setAllowAccessToDownloadsFolder($val) + { + $this->_propDict["allowAccessToDownloadsFolder"] = $val; + return $this; + } + + /** + * Gets the apps + * These are the only Windows Store Apps that will be available to launch from the Start menu. This collection can contain a maximum of 128 elements. + * + * @return WindowsKioskAppBase|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + if (is_a($this->_propDict["apps"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppBase") || is_null($this->_propDict["apps"])) { + return $this->_propDict["apps"]; + } else { + $this->_propDict["apps"] = new WindowsKioskAppBase($this->_propDict["apps"]); + return $this->_propDict["apps"]; + } + } + return null; + } + + /** + * Sets the apps + * These are the only Windows Store Apps that will be available to launch from the Start menu. This collection can contain a maximum of 128 elements. + * + * @param WindowsKioskAppBase $val The value to assign to the apps + * + * @return WindowsKioskMultipleApps The WindowsKioskMultipleApps + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + /** + * Gets the disallowDesktopApps + * This setting indicates that desktop apps are allowed. Default to true. + * + * @return bool|null The disallowDesktopApps + */ + public function getDisallowDesktopApps() + { + if (array_key_exists("disallowDesktopApps", $this->_propDict)) { + return $this->_propDict["disallowDesktopApps"]; + } else { + return null; + } + } + + /** + * Sets the disallowDesktopApps + * This setting indicates that desktop apps are allowed. Default to true. + * + * @param bool $val The value of the disallowDesktopApps + * + * @return WindowsKioskMultipleApps + */ + public function setDisallowDesktopApps($val) + { + $this->_propDict["disallowDesktopApps"] = $val; + return $this; + } + /** + * Gets the showTaskBar + * This setting allows the admin to specify whether the Task Bar is shown or not. + * + * @return bool|null The showTaskBar + */ + public function getShowTaskBar() + { + if (array_key_exists("showTaskBar", $this->_propDict)) { + return $this->_propDict["showTaskBar"]; + } else { + return null; + } + } + + /** + * Sets the showTaskBar + * This setting allows the admin to specify whether the Task Bar is shown or not. + * + * @param bool $val The value of the showTaskBar + * + * @return WindowsKioskMultipleApps + */ + public function setShowTaskBar($val) + { + $this->_propDict["showTaskBar"] = $val; + return $this; + } + + /** + * Gets the startMenuLayoutXml + * Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format. + * + * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutXml + */ + public function getStartMenuLayoutXml() + { + if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { + if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutXml"])) { + return $this->_propDict["startMenuLayoutXml"]; + } else { + $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutXml"]); + return $this->_propDict["startMenuLayoutXml"]; + } + } + return null; + } + + /** + * Sets the startMenuLayoutXml + * Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the startMenuLayoutXml + * + * @return WindowsKioskMultipleApps The WindowsKioskMultipleApps + */ + public function setStartMenuLayoutXml($val) + { + $this->_propDict["startMenuLayoutXml"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskProfile.php new file mode 100644 index 0000000..9ff3ad7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskProfile.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["appConfiguration"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppConfiguration") || is_null($this->_propDict["appConfiguration"])) { + return $this->_propDict["appConfiguration"]; + } else { + $this->_propDict["appConfiguration"] = new WindowsKioskAppConfiguration($this->_propDict["appConfiguration"]); + return $this->_propDict["appConfiguration"]; + } + } + return null; + } + + /** + * Sets the appConfiguration + * The App configuration that will be used for this kiosk configuration. + * + * @param WindowsKioskAppConfiguration $val The value to assign to the appConfiguration + * + * @return WindowsKioskProfile The WindowsKioskProfile + */ + public function setAppConfiguration($val) + { + $this->_propDict["appConfiguration"] = $val; + return $this; + } + /** + * Gets the profileId + * Key of the entity. + * + * @return string|null The profileId + */ + public function getProfileId() + { + if (array_key_exists("profileId", $this->_propDict)) { + return $this->_propDict["profileId"]; + } else { + return null; + } + } + + /** + * Sets the profileId + * Key of the entity. + * + * @param string $val The value of the profileId + * + * @return WindowsKioskProfile + */ + public function setProfileId($val) + { + $this->_propDict["profileId"] = $val; + return $this; + } + /** + * Gets the profileName + * This is a friendly name used to identify a group of applications, the layout of these apps on the start menu and the users to whom this kiosk configuration is assigned. + * + * @return string|null The profileName + */ + public function getProfileName() + { + if (array_key_exists("profileName", $this->_propDict)) { + return $this->_propDict["profileName"]; + } else { + return null; + } + } + + /** + * Sets the profileName + * This is a friendly name used to identify a group of applications, the layout of these apps on the start menu and the users to whom this kiosk configuration is assigned. + * + * @param string $val The value of the profileName + * + * @return WindowsKioskProfile + */ + public function setProfileName($val) + { + $this->_propDict["profileName"] = $val; + return $this; + } + + /** + * Gets the userAccountsConfiguration + * The user accounts that will be locked to this kiosk configuration. This collection can contain a maximum of 100 elements. + * + * @return WindowsKioskUser|null The userAccountsConfiguration + */ + public function getUserAccountsConfiguration() + { + if (array_key_exists("userAccountsConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["userAccountsConfiguration"], "\Beta\Microsoft\Graph\Model\WindowsKioskUser") || is_null($this->_propDict["userAccountsConfiguration"])) { + return $this->_propDict["userAccountsConfiguration"]; + } else { + $this->_propDict["userAccountsConfiguration"] = new WindowsKioskUser($this->_propDict["userAccountsConfiguration"]); + return $this->_propDict["userAccountsConfiguration"]; + } + } + return null; + } + + /** + * Sets the userAccountsConfiguration + * The user accounts that will be locked to this kiosk configuration. This collection can contain a maximum of 100 elements. + * + * @param WindowsKioskUser $val The value to assign to the userAccountsConfiguration + * + * @return WindowsKioskProfile The WindowsKioskProfile + */ + public function setUserAccountsConfiguration($val) + { + $this->_propDict["userAccountsConfiguration"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleUWPApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleUWPApp.php new file mode 100644 index 0000000..16c68f8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleUWPApp.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["uwpApp"], "\Beta\Microsoft\Graph\Model\WindowsKioskUWPApp") || is_null($this->_propDict["uwpApp"])) { + return $this->_propDict["uwpApp"]; + } else { + $this->_propDict["uwpApp"] = new WindowsKioskUWPApp($this->_propDict["uwpApp"]); + return $this->_propDict["uwpApp"]; + } + } + return null; + } + + /** + * Sets the uwpApp + * This is the only Application User Model ID (AUMID) that will be available to launch use while in Kiosk Mode + * + * @param WindowsKioskUWPApp $val The value to assign to the uwpApp + * + * @return WindowsKioskSingleUWPApp The WindowsKioskSingleUWPApp + */ + public function setUwpApp($val) + { + $this->_propDict["uwpApp"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleWin32App.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleWin32App.php new file mode 100644 index 0000000..cb0e786 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleWin32App.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["win32App"], "\Beta\Microsoft\Graph\Model\WindowsKioskWin32App") || is_null($this->_propDict["win32App"])) { + return $this->_propDict["win32App"]; + } else { + $this->_propDict["win32App"] = new WindowsKioskWin32App($this->_propDict["win32App"]); + return $this->_propDict["win32App"]; + } + } + return null; + } + + /** + * Sets the win32App + * This is the win32 app that will be available to launch use while in Kiosk Mode + * + * @param WindowsKioskWin32App $val The value to assign to the win32App + * + * @return WindowsKioskSingleWin32App The WindowsKioskSingleWin32App + */ + public function setWin32App($val) + { + $this->_propDict["win32App"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUWPApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUWPApp.php new file mode 100644 index 0000000..8f99c7f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUWPApp.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * This references an Intune App that will be target to the same assignments as Kiosk configuration + * + * @param string $val The value of the appId + * + * @return WindowsKioskUWPApp + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the appUserModelId + * This is the only Application User Model ID (AUMID) that will be available to launch use while in Kiosk Mode + * + * @return string|null The appUserModelId + */ + public function getAppUserModelId() + { + if (array_key_exists("appUserModelId", $this->_propDict)) { + return $this->_propDict["appUserModelId"]; + } else { + return null; + } + } + + /** + * Sets the appUserModelId + * This is the only Application User Model ID (AUMID) that will be available to launch use while in Kiosk Mode + * + * @param string $val The value of the appUserModelId + * + * @return WindowsKioskUWPApp + */ + public function setAppUserModelId($val) + { + $this->_propDict["appUserModelId"] = $val; + return $this; + } + /** + * Gets the containedAppId + * This references an contained App from an Intune App + * + * @return string|null The containedAppId + */ + public function getContainedAppId() + { + if (array_key_exists("containedAppId", $this->_propDict)) { + return $this->_propDict["containedAppId"]; + } else { + return null; + } + } + + /** + * Sets the containedAppId + * This references an contained App from an Intune App + * + * @param string $val The value of the containedAppId + * + * @return WindowsKioskUWPApp + */ + public function setContainedAppId($val) + { + $this->_propDict["containedAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUser.php new file mode 100644 index 0000000..725ab79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUser.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["classicAppPath"]; + } else { + return null; + } + } + + /** + * Sets the classicAppPath + * This is the classicapppath to be used by v4 Win32 app while in Kiosk Mode + * + * @param string $val The value of the classicAppPath + * + * @return WindowsKioskWin32App + */ + public function setClassicAppPath($val) + { + $this->_propDict["classicAppPath"] = $val; + return $this; + } + /** + * Gets the edgeKiosk + * Edge kiosk (url) for Edge kiosk mode + * + * @return string|null The edgeKiosk + */ + public function getEdgeKiosk() + { + if (array_key_exists("edgeKiosk", $this->_propDict)) { + return $this->_propDict["edgeKiosk"]; + } else { + return null; + } + } + + /** + * Sets the edgeKiosk + * Edge kiosk (url) for Edge kiosk mode + * + * @param string $val The value of the edgeKiosk + * + * @return WindowsKioskWin32App + */ + public function setEdgeKiosk($val) + { + $this->_propDict["edgeKiosk"] = $val; + return $this; + } + /** + * Gets the edgeKioskIdleTimeoutMinutes + * Edge kiosk idle timeout in minutes for Edge kiosk mode. Valid values 0 to 1440 + * + * @return int|null The edgeKioskIdleTimeoutMinutes + */ + public function getEdgeKioskIdleTimeoutMinutes() + { + if (array_key_exists("edgeKioskIdleTimeoutMinutes", $this->_propDict)) { + return $this->_propDict["edgeKioskIdleTimeoutMinutes"]; + } else { + return null; + } + } + + /** + * Sets the edgeKioskIdleTimeoutMinutes + * Edge kiosk idle timeout in minutes for Edge kiosk mode. Valid values 0 to 1440 + * + * @param int $val The value of the edgeKioskIdleTimeoutMinutes + * + * @return WindowsKioskWin32App + */ + public function setEdgeKioskIdleTimeoutMinutes($val) + { + $this->_propDict["edgeKioskIdleTimeoutMinutes"] = $val; + return $this; + } + + /** + * Gets the edgeKioskType + * Edge kiosk type for Edge kiosk mode. Possible values are: publicBrowsing, fullScreen. + * + * @return WindowsEdgeKioskType|null The edgeKioskType + */ + public function getEdgeKioskType() + { + if (array_key_exists("edgeKioskType", $this->_propDict)) { + if (is_a($this->_propDict["edgeKioskType"], "\Beta\Microsoft\Graph\Model\WindowsEdgeKioskType") || is_null($this->_propDict["edgeKioskType"])) { + return $this->_propDict["edgeKioskType"]; + } else { + $this->_propDict["edgeKioskType"] = new WindowsEdgeKioskType($this->_propDict["edgeKioskType"]); + return $this->_propDict["edgeKioskType"]; + } + } + return null; + } + + /** + * Sets the edgeKioskType + * Edge kiosk type for Edge kiosk mode. Possible values are: publicBrowsing, fullScreen. + * + * @param WindowsEdgeKioskType $val The value to assign to the edgeKioskType + * + * @return WindowsKioskWin32App The WindowsKioskWin32App + */ + public function setEdgeKioskType($val) + { + $this->_propDict["edgeKioskType"] = $val; + return $this; + } + /** + * Gets the edgeNoFirstRun + * Edge first run flag for Edge kiosk mode + * + * @return bool|null The edgeNoFirstRun + */ + public function getEdgeNoFirstRun() + { + if (array_key_exists("edgeNoFirstRun", $this->_propDict)) { + return $this->_propDict["edgeNoFirstRun"]; + } else { + return null; + } + } + + /** + * Sets the edgeNoFirstRun + * Edge first run flag for Edge kiosk mode + * + * @param bool $val The value of the edgeNoFirstRun + * + * @return WindowsKioskWin32App + */ + public function setEdgeNoFirstRun($val) + { + $this->_propDict["edgeNoFirstRun"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategory.php new file mode 100644 index 0000000..20e4b63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategory.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["activeMalwareDetectionCount"]; + } else { + return null; + } + } + + /** + * Sets the activeMalwareDetectionCount + * Count of active malware detections for this malware category. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the activeMalwareDetectionCount + * + * @return WindowsMalwareCategoryCount + */ + public function setActiveMalwareDetectionCount($val) + { + $this->_propDict["activeMalwareDetectionCount"] = $val; + return $this; + } + + /** + * Gets the category + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * + * @return WindowsMalwareCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new WindowsMalwareCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * Malware category. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * + * @param WindowsMalwareCategory $val The value to assign to the category + * + * @return WindowsMalwareCategoryCount The WindowsMalwareCategoryCount + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + /** + * Gets the deviceCount + * Count of devices with malware detections for this malware category + * + * @return int|null The deviceCount + */ + public function getDeviceCount() + { + if (array_key_exists("deviceCount", $this->_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Count of devices with malware detections for this malware category + * + * @param int $val The value of the deviceCount + * + * @return WindowsMalwareCategoryCount + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + /** + * Gets the distinctActiveMalwareCount + * Count of distinct active malwares for this malware category. Valid values -2147483648 to 2147483647 + * + * @return int|null The distinctActiveMalwareCount + */ + public function getDistinctActiveMalwareCount() + { + if (array_key_exists("distinctActiveMalwareCount", $this->_propDict)) { + return $this->_propDict["distinctActiveMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the distinctActiveMalwareCount + * Count of distinct active malwares for this malware category. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the distinctActiveMalwareCount + * + * @return WindowsMalwareCategoryCount + */ + public function setDistinctActiveMalwareCount($val) + { + $this->_propDict["distinctActiveMalwareCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @param \DateTime $val The value to assign to the lastUpdateDateTime + * + * @return WindowsMalwareCategoryCount The WindowsMalwareCategoryCount + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareExecutionState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareExecutionState.php new file mode 100644 index 0000000..1f83e0b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareExecutionState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Count of devices with malware detections for this malware execution state + * + * @param int $val The value of the deviceCount + * + * @return WindowsMalwareExecutionStateCount + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + + /** + * Gets the executionState + * Malware execution state. Possible values are: unknown, blocked, allowed, running, notRunning. + * + * @return WindowsMalwareExecutionState|null The executionState + */ + public function getExecutionState() + { + if (array_key_exists("executionState", $this->_propDict)) { + if (is_a($this->_propDict["executionState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionState") || is_null($this->_propDict["executionState"])) { + return $this->_propDict["executionState"]; + } else { + $this->_propDict["executionState"] = new WindowsMalwareExecutionState($this->_propDict["executionState"]); + return $this->_propDict["executionState"]; + } + } + return null; + } + + /** + * Sets the executionState + * Malware execution state. Possible values are: unknown, blocked, allowed, running, notRunning. + * + * @param WindowsMalwareExecutionState $val The value to assign to the executionState + * + * @return WindowsMalwareExecutionStateCount The WindowsMalwareExecutionStateCount + */ + public function setExecutionState($val) + { + $this->_propDict["executionState"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @param \DateTime $val The value to assign to the lastUpdateDateTime + * + * @return WindowsMalwareExecutionStateCount The WindowsMalwareExecutionStateCount + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php new file mode 100644 index 0000000..78e2281 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php @@ -0,0 +1,214 @@ +_propDict)) { + return $this->_propDict["additionalInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformationUrl + * Information URL to learn more about the malware + * + * @param string $val The additionalInformationUrl + * + * @return WindowsMalwareInformation + */ + public function setAdditionalInformationUrl($val) + { + $this->_propDict["additionalInformationUrl"] = $val; + return $this; + } + + /** + * Gets the category + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * + * @return WindowsMalwareCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new WindowsMalwareCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * Category of the malware. Possible values are: invalid, adware, spyware, passwordStealer, trojanDownloader, worm, backdoor, remoteAccessTrojan, trojan, emailFlooder, keylogger, dialer, monitoringSoftware, browserModifier, cookie, browserPlugin, aolExploit, nuker, securityDisabler, jokeProgram, hostileActiveXControl, softwareBundler, stealthNotifier, settingsModifier, toolBar, remoteControlSoftware, trojanFtp, potentialUnwantedSoftware, icqExploit, trojanTelnet, exploit, filesharingProgram, malwareCreationTool, remote_Control_Software, tool, trojanDenialOfService, trojanDropper, trojanMassMailer, trojanMonitoringSoftware, trojanProxyServer, virus, known, unknown, spp, behavior, vulnerability, policy, enterpriseUnwantedSoftware, ransom, hipsRule. + * + * @param WindowsMalwareCategory $val The category + * + * @return WindowsMalwareInformation + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the displayName + * Malware name + * + * @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 + * Malware name + * + * @param string $val The displayName + * + * @return WindowsMalwareInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastDetectionDateTime + * The last time the malware is detected + * + * @return \DateTime|null The lastDetectionDateTime + */ + public function getLastDetectionDateTime() + { + if (array_key_exists("lastDetectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDetectionDateTime"], "\DateTime") || is_null($this->_propDict["lastDetectionDateTime"])) { + return $this->_propDict["lastDetectionDateTime"]; + } else { + $this->_propDict["lastDetectionDateTime"] = new \DateTime($this->_propDict["lastDetectionDateTime"]); + return $this->_propDict["lastDetectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDetectionDateTime + * The last time the malware is detected + * + * @param \DateTime $val The lastDetectionDateTime + * + * @return WindowsMalwareInformation + */ + public function setLastDetectionDateTime($val) + { + $this->_propDict["lastDetectionDateTime"] = $val; + return $this; + } + + /** + * Gets the severity + * Severity of the malware. Possible values are: unknown, low, moderate, high, severe. + * + * @return WindowsMalwareSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new WindowsMalwareSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * Severity of the malware. Possible values are: unknown, low, moderate, high, severe. + * + * @param WindowsMalwareSeverity $val The severity + * + * @return WindowsMalwareInformation + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + + + /** + * Gets the deviceMalwareStates + * List of devices affected by current malware with the malware state on each device + * + * @return array|null The deviceMalwareStates + */ + public function getDeviceMalwareStates() + { + if (array_key_exists("deviceMalwareStates", $this->_propDict)) { + return $this->_propDict["deviceMalwareStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceMalwareStates + * List of devices affected by current malware with the malware state on each device + * + * @param MalwareStateForWindowsDevice[] $val The deviceMalwareStates + * + * @return WindowsMalwareInformation + */ + public function setDeviceMalwareStates($val) + { + $this->_propDict["deviceMalwareStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareNameCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareNameCount.php new file mode 100644 index 0000000..f115719 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareNameCount.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Count of devices with malware dectected for this malware + * + * @param int $val The value of the deviceCount + * + * @return WindowsMalwareNameCount + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @param \DateTime $val The value to assign to the lastUpdateDateTime + * + * @return WindowsMalwareNameCount The WindowsMalwareNameCount + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + /** + * Gets the malwareIdentifier + * The unique identifier. This is malware identifier + * + * @return string|null The malwareIdentifier + */ + public function getMalwareIdentifier() + { + if (array_key_exists("malwareIdentifier", $this->_propDict)) { + return $this->_propDict["malwareIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the malwareIdentifier + * The unique identifier. This is malware identifier + * + * @param string $val The value of the malwareIdentifier + * + * @return WindowsMalwareNameCount + */ + public function setMalwareIdentifier($val) + { + $this->_propDict["malwareIdentifier"] = $val; + return $this; + } + /** + * Gets the name + * Malware name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Malware name + * + * @param string $val The value of the name + * + * @return WindowsMalwareNameCount + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareOverview.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareOverview.php new file mode 100644 index 0000000..6049692 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareOverview.php @@ -0,0 +1,308 @@ +_propDict)) { + if (is_a($this->_propDict["malwareCategorySummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategoryCount") || is_null($this->_propDict["malwareCategorySummary"])) { + return $this->_propDict["malwareCategorySummary"]; + } else { + $this->_propDict["malwareCategorySummary"] = new WindowsMalwareCategoryCount($this->_propDict["malwareCategorySummary"]); + return $this->_propDict["malwareCategorySummary"]; + } + } + return null; + } + + /** + * Sets the malwareCategorySummary + * Count of devices per malware category + * + * @param WindowsMalwareCategoryCount $val The value to assign to the malwareCategorySummary + * + * @return WindowsMalwareOverview The WindowsMalwareOverview + */ + public function setMalwareCategorySummary($val) + { + $this->_propDict["malwareCategorySummary"] = $val; + return $this; + } + /** + * Gets the malwareDetectedDeviceCount + * Count of devices with malware detected in the last 30 days + * + * @return int|null The malwareDetectedDeviceCount + */ + public function getMalwareDetectedDeviceCount() + { + if (array_key_exists("malwareDetectedDeviceCount", $this->_propDict)) { + return $this->_propDict["malwareDetectedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the malwareDetectedDeviceCount + * Count of devices with malware detected in the last 30 days + * + * @param int $val The value of the malwareDetectedDeviceCount + * + * @return WindowsMalwareOverview + */ + public function setMalwareDetectedDeviceCount($val) + { + $this->_propDict["malwareDetectedDeviceCount"] = $val; + return $this; + } + + /** + * Gets the malwareExecutionStateSummary + * Count of devices per malware execution state + * + * @return WindowsMalwareExecutionStateCount|null The malwareExecutionStateSummary + */ + public function getMalwareExecutionStateSummary() + { + if (array_key_exists("malwareExecutionStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["malwareExecutionStateSummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionStateCount") || is_null($this->_propDict["malwareExecutionStateSummary"])) { + return $this->_propDict["malwareExecutionStateSummary"]; + } else { + $this->_propDict["malwareExecutionStateSummary"] = new WindowsMalwareExecutionStateCount($this->_propDict["malwareExecutionStateSummary"]); + return $this->_propDict["malwareExecutionStateSummary"]; + } + } + return null; + } + + /** + * Sets the malwareExecutionStateSummary + * Count of devices per malware execution state + * + * @param WindowsMalwareExecutionStateCount $val The value to assign to the malwareExecutionStateSummary + * + * @return WindowsMalwareOverview The WindowsMalwareOverview + */ + public function setMalwareExecutionStateSummary($val) + { + $this->_propDict["malwareExecutionStateSummary"] = $val; + return $this; + } + + /** + * Gets the malwareNameSummary + * Count of devices per malware + * + * @return WindowsMalwareNameCount|null The malwareNameSummary + */ + public function getMalwareNameSummary() + { + if (array_key_exists("malwareNameSummary", $this->_propDict)) { + if (is_a($this->_propDict["malwareNameSummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareNameCount") || is_null($this->_propDict["malwareNameSummary"])) { + return $this->_propDict["malwareNameSummary"]; + } else { + $this->_propDict["malwareNameSummary"] = new WindowsMalwareNameCount($this->_propDict["malwareNameSummary"]); + return $this->_propDict["malwareNameSummary"]; + } + } + return null; + } + + /** + * Sets the malwareNameSummary + * Count of devices per malware + * + * @param WindowsMalwareNameCount $val The value to assign to the malwareNameSummary + * + * @return WindowsMalwareOverview The WindowsMalwareOverview + */ + public function setMalwareNameSummary($val) + { + $this->_propDict["malwareNameSummary"] = $val; + return $this; + } + + /** + * Gets the malwareSeveritySummary + * Count of active malware per malware severity + * + * @return WindowsMalwareSeverityCount|null The malwareSeveritySummary + */ + public function getMalwareSeveritySummary() + { + if (array_key_exists("malwareSeveritySummary", $this->_propDict)) { + if (is_a($this->_propDict["malwareSeveritySummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverityCount") || is_null($this->_propDict["malwareSeveritySummary"])) { + return $this->_propDict["malwareSeveritySummary"]; + } else { + $this->_propDict["malwareSeveritySummary"] = new WindowsMalwareSeverityCount($this->_propDict["malwareSeveritySummary"]); + return $this->_propDict["malwareSeveritySummary"]; + } + } + return null; + } + + /** + * Sets the malwareSeveritySummary + * Count of active malware per malware severity + * + * @param WindowsMalwareSeverityCount $val The value to assign to the malwareSeveritySummary + * + * @return WindowsMalwareOverview The WindowsMalwareOverview + */ + public function setMalwareSeveritySummary($val) + { + $this->_propDict["malwareSeveritySummary"] = $val; + return $this; + } + + /** + * Gets the malwareStateSummary + * Count of devices per malware state + * + * @return WindowsMalwareStateCount|null The malwareStateSummary + */ + public function getMalwareStateSummary() + { + if (array_key_exists("malwareStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["malwareStateSummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareStateCount") || is_null($this->_propDict["malwareStateSummary"])) { + return $this->_propDict["malwareStateSummary"]; + } else { + $this->_propDict["malwareStateSummary"] = new WindowsMalwareStateCount($this->_propDict["malwareStateSummary"]); + return $this->_propDict["malwareStateSummary"]; + } + } + return null; + } + + /** + * Sets the malwareStateSummary + * Count of devices per malware state + * + * @param WindowsMalwareStateCount $val The value to assign to the malwareStateSummary + * + * @return WindowsMalwareOverview The WindowsMalwareOverview + */ + public function setMalwareStateSummary($val) + { + $this->_propDict["malwareStateSummary"] = $val; + return $this; + } + + /** + * Gets the osVersionsSummary + * Count of devices with malware per windows OS version + * + * @return OsVersionCount|null The osVersionsSummary + */ + public function getOsVersionsSummary() + { + if (array_key_exists("osVersionsSummary", $this->_propDict)) { + if (is_a($this->_propDict["osVersionsSummary"], "\Beta\Microsoft\Graph\Model\OsVersionCount") || is_null($this->_propDict["osVersionsSummary"])) { + return $this->_propDict["osVersionsSummary"]; + } else { + $this->_propDict["osVersionsSummary"] = new OsVersionCount($this->_propDict["osVersionsSummary"]); + return $this->_propDict["osVersionsSummary"]; + } + } + return null; + } + + /** + * Sets the osVersionsSummary + * Count of devices with malware per windows OS version + * + * @param OsVersionCount $val The value to assign to the osVersionsSummary + * + * @return WindowsMalwareOverview The WindowsMalwareOverview + */ + public function setOsVersionsSummary($val) + { + $this->_propDict["osVersionsSummary"] = $val; + return $this; + } + /** + * Gets the totalDistinctMalwareCount + * Count of all distinct malwares detected across all devices. Valid values -2147483648 to 2147483647 + * + * @return int|null The totalDistinctMalwareCount + */ + public function getTotalDistinctMalwareCount() + { + if (array_key_exists("totalDistinctMalwareCount", $this->_propDict)) { + return $this->_propDict["totalDistinctMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the totalDistinctMalwareCount + * Count of all distinct malwares detected across all devices. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the totalDistinctMalwareCount + * + * @return WindowsMalwareOverview + */ + public function setTotalDistinctMalwareCount($val) + { + $this->_propDict["totalDistinctMalwareCount"] = $val; + return $this; + } + /** + * Gets the totalMalwareCount + * Count of all malware detections across all devices. Valid values -2147483648 to 2147483647 + * + * @return int|null The totalMalwareCount + */ + public function getTotalMalwareCount() + { + if (array_key_exists("totalMalwareCount", $this->_propDict)) { + return $this->_propDict["totalMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the totalMalwareCount + * Count of all malware detections across all devices. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the totalMalwareCount + * + * @return WindowsMalwareOverview + */ + public function setTotalMalwareCount($val) + { + $this->_propDict["totalMalwareCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareSeverity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareSeverity.php new file mode 100644 index 0000000..75dbaa7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareSeverity.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["distinctMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the distinctMalwareCount + * Count of distinct malwares for this malware State. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the distinctMalwareCount + * + * @return WindowsMalwareSeverityCount + */ + public function setDistinctMalwareCount($val) + { + $this->_propDict["distinctMalwareCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update for the WindowsMalwareSeverityCount in UTC + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update for the WindowsMalwareSeverityCount in UTC + * + * @param \DateTime $val The value to assign to the lastUpdateDateTime + * + * @return WindowsMalwareSeverityCount The WindowsMalwareSeverityCount + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + /** + * Gets the malwareDetectionCount + * Count of threats detections for this malware severity. Valid values -2147483648 to 2147483647 + * + * @return int|null The malwareDetectionCount + */ + public function getMalwareDetectionCount() + { + if (array_key_exists("malwareDetectionCount", $this->_propDict)) { + return $this->_propDict["malwareDetectionCount"]; + } else { + return null; + } + } + + /** + * Sets the malwareDetectionCount + * Count of threats detections for this malware severity. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the malwareDetectionCount + * + * @return WindowsMalwareSeverityCount + */ + public function setMalwareDetectionCount($val) + { + $this->_propDict["malwareDetectionCount"] = $val; + return $this; + } + + /** + * Gets the severity + * Malware Threat Severity. Possible values are: unknown, low, moderate, high, severe. + * + * @return WindowsMalwareSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new WindowsMalwareSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * Malware Threat Severity. Possible values are: unknown, low, moderate, high, severe. + * + * @param WindowsMalwareSeverity $val The value to assign to the severity + * + * @return WindowsMalwareSeverityCount The WindowsMalwareSeverityCount + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareState.php new file mode 100644 index 0000000..e2a5b01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareState.php @@ -0,0 +1,45 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Count of devices with malware detections for this malware State + * + * @param int $val The value of the deviceCount + * + * @return WindowsMalwareStateCount + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = $val; + return $this; + } + /** + * Gets the distinctMalwareCount + * Count of distinct malwares for this malware State. Valid values -2147483648 to 2147483647 + * + * @return int|null The distinctMalwareCount + */ + public function getDistinctMalwareCount() + { + if (array_key_exists("distinctMalwareCount", $this->_propDict)) { + return $this->_propDict["distinctMalwareCount"]; + } else { + return null; + } + } + + /** + * Sets the distinctMalwareCount + * Count of distinct malwares for this malware State. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the distinctMalwareCount + * + * @return WindowsMalwareStateCount + */ + public function setDistinctMalwareCount($val) + { + $this->_propDict["distinctMalwareCount"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update for the device count in UTC + * + * @param \DateTime $val The value to assign to the lastUpdateDateTime + * + * @return WindowsMalwareStateCount The WindowsMalwareStateCount + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + /** + * Gets the malwareDetectionCount + * Count of total malware detections for this malware State. Valid values -2147483648 to 2147483647 + * + * @return int|null The malwareDetectionCount + */ + public function getMalwareDetectionCount() + { + if (array_key_exists("malwareDetectionCount", $this->_propDict)) { + return $this->_propDict["malwareDetectionCount"]; + } else { + return null; + } + } + + /** + * Sets the malwareDetectionCount + * Count of total malware detections for this malware State. Valid values -2147483648 to 2147483647 + * + * @param int $val The value of the malwareDetectionCount + * + * @return WindowsMalwareStateCount + */ + public function setMalwareDetectionCount($val) + { + $this->_propDict["malwareDetectionCount"] = $val; + return $this; + } + + /** + * Gets the state + * Malware Threat State. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. + * + * @return WindowsMalwareThreatState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\WindowsMalwareThreatState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new WindowsMalwareThreatState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Malware Threat State. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. + * + * @param WindowsMalwareThreatState $val The value to assign to the state + * + * @return WindowsMalwareStateCount The WindowsMalwareStateCount + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareThreatState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareThreatState.php new file mode 100644 index 0000000..608aa67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareThreatState.php @@ -0,0 +1,43 @@ +_propDict)) { + return $this->_propDict["availableVersion"]; + } else { + return null; + } + } + + /** + * Sets the availableVersion + * Windows management app available version. + * + * @param string $val The availableVersion + * + * @return WindowsManagementApp + */ + public function setAvailableVersion($val) + { + $this->_propDict["availableVersion"] = $val; + return $this; + } + + /** + * Gets the managedInstaller + * Managed Installer Status. Possible values are: disabled, enabled. + * + * @return ManagedInstallerStatus|null The managedInstaller + */ + public function getManagedInstaller() + { + if (array_key_exists("managedInstaller", $this->_propDict)) { + if (is_a($this->_propDict["managedInstaller"], "\Beta\Microsoft\Graph\Model\ManagedInstallerStatus") || is_null($this->_propDict["managedInstaller"])) { + return $this->_propDict["managedInstaller"]; + } else { + $this->_propDict["managedInstaller"] = new ManagedInstallerStatus($this->_propDict["managedInstaller"]); + return $this->_propDict["managedInstaller"]; + } + } + return null; + } + + /** + * Sets the managedInstaller + * Managed Installer Status. Possible values are: disabled, enabled. + * + * @param ManagedInstallerStatus $val The managedInstaller + * + * @return WindowsManagementApp + */ + public function setManagedInstaller($val) + { + $this->_propDict["managedInstaller"] = $val; + return $this; + } + + /** + * Gets the managedInstallerConfiguredDateTime + * Managed Installer Configured Date Time + * + * @return string|null The managedInstallerConfiguredDateTime + */ + public function getManagedInstallerConfiguredDateTime() + { + if (array_key_exists("managedInstallerConfiguredDateTime", $this->_propDict)) { + return $this->_propDict["managedInstallerConfiguredDateTime"]; + } else { + return null; + } + } + + /** + * Sets the managedInstallerConfiguredDateTime + * Managed Installer Configured Date Time + * + * @param string $val The managedInstallerConfiguredDateTime + * + * @return WindowsManagementApp + */ + public function setManagedInstallerConfiguredDateTime($val) + { + $this->_propDict["managedInstallerConfiguredDateTime"] = $val; + return $this; + } + + + /** + * Gets the healthStates + * The list of health states for installed Windows management app. + * + * @return array|null The healthStates + */ + public function getHealthStates() + { + if (array_key_exists("healthStates", $this->_propDict)) { + return $this->_propDict["healthStates"]; + } else { + return null; + } + } + + /** + * Sets the healthStates + * The list of health states for installed Windows management app. + * + * @param WindowsManagementAppHealthState[] $val The healthStates + * + * @return WindowsManagementApp + */ + public function setHealthStates($val) + { + $this->_propDict["healthStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthState.php new file mode 100644 index 0000000..c66eba9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthState.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["deviceName"]; + } else { + return null; + } + } + + /** + * Sets the deviceName + * Name of the device on which Windows management app is installed. + * + * @param string $val The deviceName + * + * @return WindowsManagementAppHealthState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceOSVersion + * Windows 10 OS version of the device on which Windows management app is installed. + * + * @return string|null The deviceOSVersion + */ + public function getDeviceOSVersion() + { + if (array_key_exists("deviceOSVersion", $this->_propDict)) { + return $this->_propDict["deviceOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the deviceOSVersion + * Windows 10 OS version of the device on which Windows management app is installed. + * + * @param string $val The deviceOSVersion + * + * @return WindowsManagementAppHealthState + */ + public function setDeviceOSVersion($val) + { + $this->_propDict["deviceOSVersion"] = $val; + return $this; + } + + /** + * Gets the healthState + * Windows management app health state. Possible values are: unknown, healthy, unhealthy. + * + * @return HealthState|null The healthState + */ + public function getHealthState() + { + if (array_key_exists("healthState", $this->_propDict)) { + if (is_a($this->_propDict["healthState"], "\Beta\Microsoft\Graph\Model\HealthState") || is_null($this->_propDict["healthState"])) { + return $this->_propDict["healthState"]; + } else { + $this->_propDict["healthState"] = new HealthState($this->_propDict["healthState"]); + return $this->_propDict["healthState"]; + } + } + return null; + } + + /** + * Sets the healthState + * Windows management app health state. Possible values are: unknown, healthy, unhealthy. + * + * @param HealthState $val The healthState + * + * @return WindowsManagementAppHealthState + */ + public function setHealthState($val) + { + $this->_propDict["healthState"] = $val; + return $this; + } + + /** + * Gets the installedVersion + * Windows management app installed version. + * + * @return string|null The installedVersion + */ + public function getInstalledVersion() + { + if (array_key_exists("installedVersion", $this->_propDict)) { + return $this->_propDict["installedVersion"]; + } else { + return null; + } + } + + /** + * Sets the installedVersion + * Windows management app installed version. + * + * @param string $val The installedVersion + * + * @return WindowsManagementAppHealthState + */ + public function setInstalledVersion($val) + { + $this->_propDict["installedVersion"] = $val; + return $this; + } + + /** + * Gets the lastCheckInDateTime + * Windows management app last check-in time. + * + * @return \DateTime|null The lastCheckInDateTime + */ + public function getLastCheckInDateTime() + { + if (array_key_exists("lastCheckInDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime") || is_null($this->_propDict["lastCheckInDateTime"])) { + return $this->_propDict["lastCheckInDateTime"]; + } else { + $this->_propDict["lastCheckInDateTime"] = new \DateTime($this->_propDict["lastCheckInDateTime"]); + return $this->_propDict["lastCheckInDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCheckInDateTime + * Windows management app last check-in time. + * + * @param \DateTime $val The lastCheckInDateTime + * + * @return WindowsManagementAppHealthState + */ + public function setLastCheckInDateTime($val) + { + $this->_propDict["lastCheckInDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthSummary.php new file mode 100644 index 0000000..ba41853 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthSummary.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["healthyDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the healthyDeviceCount + * Healthy device count. + * + * @param int $val The healthyDeviceCount + * + * @return WindowsManagementAppHealthSummary + */ + public function setHealthyDeviceCount($val) + { + $this->_propDict["healthyDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unhealthyDeviceCount + * Unhealthy device count. + * + * @return int|null The unhealthyDeviceCount + */ + public function getUnhealthyDeviceCount() + { + if (array_key_exists("unhealthyDeviceCount", $this->_propDict)) { + return $this->_propDict["unhealthyDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unhealthyDeviceCount + * Unhealthy device count. + * + * @param int $val The unhealthyDeviceCount + * + * @return WindowsManagementAppHealthSummary + */ + public function setUnhealthyDeviceCount($val) + { + $this->_propDict["unhealthyDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Unknown device count. + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Unknown device count. + * + * @param int $val The unknownDeviceCount + * + * @return WindowsManagementAppHealthSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMicrosoftEdgeApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMicrosoftEdgeApp.php new file mode 100644 index 0000000..5afaf30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMicrosoftEdgeApp.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["channel"], "\Beta\Microsoft\Graph\Model\MicrosoftEdgeChannel") || is_null($this->_propDict["channel"])) { + return $this->_propDict["channel"]; + } else { + $this->_propDict["channel"] = new MicrosoftEdgeChannel($this->_propDict["channel"]); + return $this->_propDict["channel"]; + } + } + return null; + } + + /** + * Sets the channel + * The channel to install on target devices. Possible values are: dev, beta, stable. + * + * @param MicrosoftEdgeChannel $val The channel + * + * @return WindowsMicrosoftEdgeApp + */ + public function setChannel($val) + { + $this->_propDict["channel"] = $val; + return $this; + } + + /** + * Gets the displayLanguageLocale + * The language locale to use when the Edge app displays text to the user. + * + * @return string|null The displayLanguageLocale + */ + public function getDisplayLanguageLocale() + { + if (array_key_exists("displayLanguageLocale", $this->_propDict)) { + return $this->_propDict["displayLanguageLocale"]; + } else { + return null; + } + } + + /** + * Sets the displayLanguageLocale + * The language locale to use when the Edge app displays text to the user. + * + * @param string $val The displayLanguageLocale + * + * @return WindowsMicrosoftEdgeApp + */ + public function setDisplayLanguageLocale($val) + { + $this->_propDict["displayLanguageLocale"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMinimumOperatingSystem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMinimumOperatingSystem.php new file mode 100644 index 0000000..a2e068d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMinimumOperatingSystem.php @@ -0,0 +1,390 @@ +_propDict)) { + return $this->_propDict["v100"]; + } else { + return null; + } + } + + /** + * Sets the v10_0 + * Windows version 10.0 or later. + * + * @param bool $val The value of the v10_0 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_0($val) + { + $this->_propDict["v100"] = $val; + return $this; + } + /** + * Gets the v10_1607 + * Windows 10 1607 or later. + * + * @return bool|null The v10_1607 + */ + public function getV10_1607() + { + if (array_key_exists("v101607", $this->_propDict)) { + return $this->_propDict["v101607"]; + } else { + return null; + } + } + + /** + * Sets the v10_1607 + * Windows 10 1607 or later. + * + * @param bool $val The value of the v10_1607 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1607($val) + { + $this->_propDict["v101607"] = $val; + return $this; + } + /** + * Gets the v10_1703 + * Windows 10 1703 or later. + * + * @return bool|null The v10_1703 + */ + public function getV10_1703() + { + if (array_key_exists("v101703", $this->_propDict)) { + return $this->_propDict["v101703"]; + } else { + return null; + } + } + + /** + * Sets the v10_1703 + * Windows 10 1703 or later. + * + * @param bool $val The value of the v10_1703 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1703($val) + { + $this->_propDict["v101703"] = $val; + return $this; + } + /** + * Gets the v10_1709 + * Windows 10 1709 or later. + * + * @return bool|null The v10_1709 + */ + public function getV10_1709() + { + if (array_key_exists("v101709", $this->_propDict)) { + return $this->_propDict["v101709"]; + } else { + return null; + } + } + + /** + * Sets the v10_1709 + * Windows 10 1709 or later. + * + * @param bool $val The value of the v10_1709 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1709($val) + { + $this->_propDict["v101709"] = $val; + return $this; + } + /** + * Gets the v10_1803 + * Windows 10 1803 or later. + * + * @return bool|null The v10_1803 + */ + public function getV10_1803() + { + if (array_key_exists("v101803", $this->_propDict)) { + return $this->_propDict["v101803"]; + } else { + return null; + } + } + + /** + * Sets the v10_1803 + * Windows 10 1803 or later. + * + * @param bool $val The value of the v10_1803 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1803($val) + { + $this->_propDict["v101803"] = $val; + return $this; + } + /** + * Gets the v10_1809 + * Windows 10 1809 or later. + * + * @return bool|null The v10_1809 + */ + public function getV10_1809() + { + if (array_key_exists("v101809", $this->_propDict)) { + return $this->_propDict["v101809"]; + } else { + return null; + } + } + + /** + * Sets the v10_1809 + * Windows 10 1809 or later. + * + * @param bool $val The value of the v10_1809 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1809($val) + { + $this->_propDict["v101809"] = $val; + return $this; + } + /** + * Gets the v10_1903 + * Windows 10 1903 or later. + * + * @return bool|null The v10_1903 + */ + public function getV10_1903() + { + if (array_key_exists("v101903", $this->_propDict)) { + return $this->_propDict["v101903"]; + } else { + return null; + } + } + + /** + * Sets the v10_1903 + * Windows 10 1903 or later. + * + * @param bool $val The value of the v10_1903 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1903($val) + { + $this->_propDict["v101903"] = $val; + return $this; + } + /** + * Gets the v10_1909 + * Windows 10 1909 or later. + * + * @return bool|null The v10_1909 + */ + public function getV10_1909() + { + if (array_key_exists("v101909", $this->_propDict)) { + return $this->_propDict["v101909"]; + } else { + return null; + } + } + + /** + * Sets the v10_1909 + * Windows 10 1909 or later. + * + * @param bool $val The value of the v10_1909 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_1909($val) + { + $this->_propDict["v101909"] = $val; + return $this; + } + /** + * Gets the v10_2004 + * Windows 10 2004 or later. + * + * @return bool|null The v10_2004 + */ + public function getV10_2004() + { + if (array_key_exists("v102004", $this->_propDict)) { + return $this->_propDict["v102004"]; + } else { + return null; + } + } + + /** + * Sets the v10_2004 + * Windows 10 2004 or later. + * + * @param bool $val The value of the v10_2004 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_2004($val) + { + $this->_propDict["v102004"] = $val; + return $this; + } + /** + * Gets the v10_21H1 + * Windows 10 21H1 or later. + * + * @return bool|null The v10_21H1 + */ + public function getV10_21H1() + { + if (array_key_exists("v1021H1", $this->_propDict)) { + return $this->_propDict["v1021H1"]; + } else { + return null; + } + } + + /** + * Sets the v10_21H1 + * Windows 10 21H1 or later. + * + * @param bool $val The value of the v10_21H1 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_21H1($val) + { + $this->_propDict["v1021H1"] = $val; + return $this; + } + /** + * Gets the v10_2H20 + * Windows 10 2H20 or later. + * + * @return bool|null The v10_2H20 + */ + public function getV10_2H20() + { + if (array_key_exists("v102H20", $this->_propDict)) { + return $this->_propDict["v102H20"]; + } else { + return null; + } + } + + /** + * Sets the v10_2H20 + * Windows 10 2H20 or later. + * + * @param bool $val The value of the v10_2H20 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_2H20($val) + { + $this->_propDict["v102H20"] = $val; + return $this; + } + /** + * Gets the v8_0 + * Windows version 8.0 or later. + * + * @return bool|null The v8_0 + */ + public function getV8_0() + { + if (array_key_exists("v80", $this->_propDict)) { + return $this->_propDict["v80"]; + } else { + return null; + } + } + + /** + * Sets the v8_0 + * Windows version 8.0 or later. + * + * @param bool $val The value of the v8_0 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV8_0($val) + { + $this->_propDict["v80"] = $val; + return $this; + } + /** + * Gets the v8_1 + * Windows version 8.1 or later. + * + * @return bool|null The v8_1 + */ + public function getV8_1() + { + if (array_key_exists("v81", $this->_propDict)) { + return $this->_propDict["v81"]; + } else { + return null; + } + } + + /** + * Sets the v8_1 + * Windows version 8.1 or later. + * + * @param bool $val The value of the v8_1 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV8_1($val) + { + $this->_propDict["v81"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMobileMSI.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMobileMSI.php new file mode 100644 index 0000000..e5b7dd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMobileMSI.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["commandLine"]; + } else { + return null; + } + } + + /** + * Sets the commandLine + * The command line. + * + * @param string $val The commandLine + * + * @return WindowsMobileMSI + */ + public function setCommandLine($val) + { + $this->_propDict["commandLine"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return WindowsMobileMSI + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the ignoreVersionDetection + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature. + * + * @return bool|null The ignoreVersionDetection + */ + public function getIgnoreVersionDetection() + { + if (array_key_exists("ignoreVersionDetection", $this->_propDict)) { + return $this->_propDict["ignoreVersionDetection"]; + } else { + return null; + } + } + + /** + * Sets the ignoreVersionDetection + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature. + * + * @param bool $val The ignoreVersionDetection + * + * @return WindowsMobileMSI + */ + public function setIgnoreVersionDetection($val) + { + $this->_propDict["ignoreVersionDetection"] = boolval($val); + return $this; + } + + /** + * Gets the productCode + * The product code. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The product code. + * + * @param string $val The productCode + * + * @return WindowsMobileMSI + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + + /** + * Gets the productVersion + * The product version of Windows Mobile MSI Line of Business (LoB) app. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The product version of Windows Mobile MSI Line of Business (LoB) app. + * + * @param string $val The productVersion + * + * @return WindowsMobileMSI + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + + /** + * Gets the useDeviceContext + * Indicates whether to install a dual-mode MSI in the device context. If true, app will be installed for all users. If false, app will be installed per-user. If null, service will use the MSI package's default install context. In case of dual-mode MSI, this default will be per-user. Cannot be set for non-dual-mode apps. Cannot be changed after initial creation of the application. + * + * @return bool|null The useDeviceContext + */ + public function getUseDeviceContext() + { + if (array_key_exists("useDeviceContext", $this->_propDict)) { + return $this->_propDict["useDeviceContext"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceContext + * Indicates whether to install a dual-mode MSI in the device context. If true, app will be installed for all users. If false, app will be installed per-user. If null, service will use the MSI package's default install context. In case of dual-mode MSI, this default will be per-user. Cannot be set for non-dual-mode apps. Cannot be changed after initial creation of the application. + * + * @param bool $val The useDeviceContext + * + * @return WindowsMobileMSI + */ + public function setUseDeviceContext($val) + { + $this->_propDict["useDeviceContext"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsNetworkIsolationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsNetworkIsolationPolicy.php new file mode 100644 index 0000000..01a6e79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsNetworkIsolationPolicy.php @@ -0,0 +1,260 @@ +_propDict)) { + if (is_a($this->_propDict["enterpriseCloudResources"], "\Beta\Microsoft\Graph\Model\ProxiedDomain") || is_null($this->_propDict["enterpriseCloudResources"])) { + return $this->_propDict["enterpriseCloudResources"]; + } else { + $this->_propDict["enterpriseCloudResources"] = new ProxiedDomain($this->_propDict["enterpriseCloudResources"]); + return $this->_propDict["enterpriseCloudResources"]; + } + } + return null; + } + + /** + * Sets the enterpriseCloudResources + * Contains a list of enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy. This collection can contain a maximum of 500 elements. + * + * @param ProxiedDomain $val The value to assign to the enterpriseCloudResources + * + * @return WindowsNetworkIsolationPolicy The WindowsNetworkIsolationPolicy + */ + public function setEnterpriseCloudResources($val) + { + $this->_propDict["enterpriseCloudResources"] = $val; + return $this; + } + /** + * Gets the enterpriseInternalProxyServers + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseCloudResources policy to force traffic to the matched cloud resources through these proxies. + * + * @return string|null The enterpriseInternalProxyServers + */ + public function getEnterpriseInternalProxyServers() + { + if (array_key_exists("enterpriseInternalProxyServers", $this->_propDict)) { + return $this->_propDict["enterpriseInternalProxyServers"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseInternalProxyServers + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseCloudResources policy to force traffic to the matched cloud resources through these proxies. + * + * @param string $val The value of the enterpriseInternalProxyServers + * + * @return WindowsNetworkIsolationPolicy + */ + public function setEnterpriseInternalProxyServers($val) + { + $this->_propDict["enterpriseInternalProxyServers"] = $val; + return $this; + } + + /** + * Gets the enterpriseIPRanges + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to. This collection can contain a maximum of 500 elements. + * + * @return IpRange|null The enterpriseIPRanges + */ + public function getEnterpriseIPRanges() + { + if (array_key_exists("enterpriseIPRanges", $this->_propDict)) { + if (is_a($this->_propDict["enterpriseIPRanges"], "\Beta\Microsoft\Graph\Model\IpRange") || is_null($this->_propDict["enterpriseIPRanges"])) { + return $this->_propDict["enterpriseIPRanges"]; + } else { + $this->_propDict["enterpriseIPRanges"] = new IpRange($this->_propDict["enterpriseIPRanges"]); + return $this->_propDict["enterpriseIPRanges"]; + } + } + return null; + } + + /** + * Sets the enterpriseIPRanges + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to. This collection can contain a maximum of 500 elements. + * + * @param IpRange $val The value to assign to the enterpriseIPRanges + * + * @return WindowsNetworkIsolationPolicy The WindowsNetworkIsolationPolicy + */ + public function setEnterpriseIPRanges($val) + { + $this->_propDict["enterpriseIPRanges"] = $val; + return $this; + } + /** + * Gets the enterpriseIPRangesAreAuthoritative + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false. + * + * @return bool|null The enterpriseIPRangesAreAuthoritative + */ + public function getEnterpriseIPRangesAreAuthoritative() + { + if (array_key_exists("enterpriseIPRangesAreAuthoritative", $this->_propDict)) { + return $this->_propDict["enterpriseIPRangesAreAuthoritative"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseIPRangesAreAuthoritative + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false. + * + * @param bool $val The value of the enterpriseIPRangesAreAuthoritative + * + * @return WindowsNetworkIsolationPolicy + */ + public function setEnterpriseIPRangesAreAuthoritative($val) + { + $this->_propDict["enterpriseIPRangesAreAuthoritative"] = $val; + return $this; + } + /** + * Gets the enterpriseNetworkDomainNames + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected. These locations will be considered a safe destination for enterprise data to be shared to. + * + * @return string|null The enterpriseNetworkDomainNames + */ + public function getEnterpriseNetworkDomainNames() + { + if (array_key_exists("enterpriseNetworkDomainNames", $this->_propDict)) { + return $this->_propDict["enterpriseNetworkDomainNames"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseNetworkDomainNames + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected. These locations will be considered a safe destination for enterprise data to be shared to. + * + * @param string $val The value of the enterpriseNetworkDomainNames + * + * @return WindowsNetworkIsolationPolicy + */ + public function setEnterpriseNetworkDomainNames($val) + { + $this->_propDict["enterpriseNetworkDomainNames"] = $val; + return $this; + } + /** + * Gets the enterpriseProxyServers + * This is a list of proxy servers. Any server not on this list is considered non-enterprise. + * + * @return string|null The enterpriseProxyServers + */ + public function getEnterpriseProxyServers() + { + if (array_key_exists("enterpriseProxyServers", $this->_propDict)) { + return $this->_propDict["enterpriseProxyServers"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxyServers + * This is a list of proxy servers. Any server not on this list is considered non-enterprise. + * + * @param string $val The value of the enterpriseProxyServers + * + * @return WindowsNetworkIsolationPolicy + */ + public function setEnterpriseProxyServers($val) + { + $this->_propDict["enterpriseProxyServers"] = $val; + return $this; + } + /** + * Gets the enterpriseProxyServersAreAuthoritative + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + * + * @return bool|null The enterpriseProxyServersAreAuthoritative + */ + public function getEnterpriseProxyServersAreAuthoritative() + { + if (array_key_exists("enterpriseProxyServersAreAuthoritative", $this->_propDict)) { + return $this->_propDict["enterpriseProxyServersAreAuthoritative"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxyServersAreAuthoritative + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + * + * @param bool $val The value of the enterpriseProxyServersAreAuthoritative + * + * @return WindowsNetworkIsolationPolicy + */ + public function setEnterpriseProxyServersAreAuthoritative($val) + { + $this->_propDict["enterpriseProxyServersAreAuthoritative"] = $val; + return $this; + } + /** + * Gets the neutralDomainResources + * List of domain names that can used for work or personal resource. + * + * @return string|null The neutralDomainResources + */ + public function getNeutralDomainResources() + { + if (array_key_exists("neutralDomainResources", $this->_propDict)) { + return $this->_propDict["neutralDomainResources"]; + } else { + return null; + } + } + + /** + * Sets the neutralDomainResources + * List of domain names that can used for work or personal resource. + * + * @param string $val The value of the neutralDomainResources + * + * @return WindowsNetworkIsolationPolicy + */ + public function setNeutralDomainResources($val) + { + $this->_propDict["neutralDomainResources"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php new file mode 100644 index 0000000..a2acb3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitecture"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitecture"])) { + return $this->_propDict["applicableArchitecture"]; + } else { + $this->_propDict["applicableArchitecture"] = new WindowsArchitecture($this->_propDict["applicableArchitecture"]); + return $this->_propDict["applicableArchitecture"]; + } + } + return null; + } + + /** + * Sets the applicableArchitecture + * The Windows architecture for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The value to assign to the applicableArchitecture + * + * @return WindowsPackageInformation The WindowsPackageInformation + */ + public function setApplicableArchitecture($val) + { + $this->_propDict["applicableArchitecture"] = $val; + return $this; + } + /** + * Gets the displayName + * The Display Name. + * + * @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 + * The Display Name. + * + * @param string $val The value of the displayName + * + * @return WindowsPackageInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the identityName + * The Identity Name. + * + * @return string|null The identityName + */ + public function getIdentityName() + { + if (array_key_exists("identityName", $this->_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The value of the identityName + * + * @return WindowsPackageInformation + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + /** + * Gets the identityPublisher + * The Identity Publisher. + * + * @return string|null The identityPublisher + */ + public function getIdentityPublisher() + { + if (array_key_exists("identityPublisher", $this->_propDict)) { + return $this->_propDict["identityPublisher"]; + } else { + return null; + } + } + + /** + * Sets the identityPublisher + * The Identity Publisher. + * + * @param string $val The value of the identityPublisher + * + * @return WindowsPackageInformation + */ + public function setIdentityPublisher($val) + { + $this->_propDict["identityPublisher"] = $val; + return $this; + } + /** + * Gets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @return string|null The identityResourceIdentifier + */ + public function getIdentityResourceIdentifier() + { + if (array_key_exists("identityResourceIdentifier", $this->_propDict)) { + return $this->_propDict["identityResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @param string $val The value of the identityResourceIdentifier + * + * @return WindowsPackageInformation + */ + public function setIdentityResourceIdentifier($val) + { + $this->_propDict["identityResourceIdentifier"] = $val; + return $this; + } + /** + * Gets the identityVersion + * The Identity Version. + * + * @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. + * + * @param string $val The value of the identityVersion + * + * @return WindowsPackageInformation + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The value to assign to the minimumSupportedOperatingSystem + * + * @return WindowsPackageInformation The WindowsPackageInformation + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppX.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppX.php new file mode 100644 index 0000000..76c0449 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppX.php @@ -0,0 +1,267 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitectures"])) { + return $this->_propDict["applicableArchitectures"]; + } else { + $this->_propDict["applicableArchitectures"] = new WindowsArchitecture($this->_propDict["applicableArchitectures"]); + return $this->_propDict["applicableArchitectures"]; + } + } + return null; + } + + /** + * Sets the applicableArchitectures + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The applicableArchitectures + * + * @return WindowsPhone81AppX + */ + public function setApplicableArchitectures($val) + { + $this->_propDict["applicableArchitectures"] = $val; + return $this; + } + + /** + * Gets the identityName + * The Identity Name. + * + * @return string|null The identityName + */ + public function getIdentityName() + { + if (array_key_exists("identityName", $this->_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The identityName + * + * @return WindowsPhone81AppX + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + + /** + * Gets the identityPublisherHash + * The Identity Publisher Hash. + * + * @return string|null The identityPublisherHash + */ + public function getIdentityPublisherHash() + { + if (array_key_exists("identityPublisherHash", $this->_propDict)) { + return $this->_propDict["identityPublisherHash"]; + } else { + return null; + } + } + + /** + * Sets the identityPublisherHash + * The Identity Publisher Hash. + * + * @param string $val The identityPublisherHash + * + * @return WindowsPhone81AppX + */ + public function setIdentityPublisherHash($val) + { + $this->_propDict["identityPublisherHash"] = $val; + return $this; + } + + /** + * Gets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @return string|null The identityResourceIdentifier + */ + public function getIdentityResourceIdentifier() + { + if (array_key_exists("identityResourceIdentifier", $this->_propDict)) { + return $this->_propDict["identityResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @param string $val The identityResourceIdentifier + * + * @return WindowsPhone81AppX + */ + public function setIdentityResourceIdentifier($val) + { + $this->_propDict["identityResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return WindowsPhone81AppX + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return WindowsPhone81AppX + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the phoneProductIdentifier + * The Phone Product Identifier. + * + * @return string|null The phoneProductIdentifier + */ + public function getPhoneProductIdentifier() + { + if (array_key_exists("phoneProductIdentifier", $this->_propDict)) { + return $this->_propDict["phoneProductIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the phoneProductIdentifier + * The Phone Product Identifier. + * + * @param string $val The phoneProductIdentifier + * + * @return WindowsPhone81AppX + */ + public function setPhoneProductIdentifier($val) + { + $this->_propDict["phoneProductIdentifier"] = $val; + return $this; + } + + /** + * Gets the phonePublisherId + * The Phone Publisher Id. + * + * @return string|null The phonePublisherId + */ + public function getPhonePublisherId() + { + if (array_key_exists("phonePublisherId", $this->_propDict)) { + return $this->_propDict["phonePublisherId"]; + } else { + return null; + } + } + + /** + * Sets the phonePublisherId + * The Phone Publisher Id. + * + * @param string $val The phonePublisherId + * + * @return WindowsPhone81AppX + */ + public function setPhonePublisherId($val) + { + $this->_propDict["phonePublisherId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppXBundle.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppXBundle.php new file mode 100644 index 0000000..fce22f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppXBundle.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["appXPackageInformationList"]; + } else { + return null; + } + } + + /** + * Sets the appXPackageInformationList + * The list of AppX Package Information. + * + * @param WindowsPackageInformation[] $val The appXPackageInformationList + * + * @return WindowsPhone81AppXBundle + */ + public function setAppXPackageInformationList($val) + { + $this->_propDict["appXPackageInformationList"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CertificateProfileBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CertificateProfileBase.php new file mode 100644 index 0000000..d362067 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CertificateProfileBase.php @@ -0,0 +1,247 @@ +_propDict)) { + if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodScale"])) { + return $this->_propDict["certificateValidityPeriodScale"]; + } else { + $this->_propDict["certificateValidityPeriodScale"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodScale"]); + return $this->_propDict["certificateValidityPeriodScale"]; + } + } + return null; + } + + /** + * Sets the certificateValidityPeriodScale + * Scale for the Certificate Validity Period. Possible values are: days, months, years. + * + * @param CertificateValidityPeriodScale $val The certificateValidityPeriodScale + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setCertificateValidityPeriodScale($val) + { + $this->_propDict["certificateValidityPeriodScale"] = $val; + return $this; + } + + /** + * Gets the certificateValidityPeriodValue + * Value for the Certificate Validtiy Period. + * + * @return int|null The certificateValidityPeriodValue + */ + public function getCertificateValidityPeriodValue() + { + if (array_key_exists("certificateValidityPeriodValue", $this->_propDict)) { + return $this->_propDict["certificateValidityPeriodValue"]; + } else { + return null; + } + } + + /** + * Sets the certificateValidityPeriodValue + * Value for the Certificate Validtiy Period. + * + * @param int $val The certificateValidityPeriodValue + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setCertificateValidityPeriodValue($val) + { + $this->_propDict["certificateValidityPeriodValue"] = intval($val); + return $this; + } + + + /** + * Gets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @return array|null The extendedKeyUsages + */ + public function getExtendedKeyUsages() + { + if (array_key_exists("extendedKeyUsages", $this->_propDict)) { + return $this->_propDict["extendedKeyUsages"]; + } else { + return null; + } + } + + /** + * Sets the extendedKeyUsages + * Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements. + * + * @param ExtendedKeyUsage[] $val The extendedKeyUsages + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setExtendedKeyUsages($val) + { + $this->_propDict["extendedKeyUsages"] = $val; + return $this; + } + + /** + * Gets the keyStorageProvider + * Key Storage Provider (KSP). Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @return KeyStorageProviderOption|null The keyStorageProvider + */ + public function getKeyStorageProvider() + { + if (array_key_exists("keyStorageProvider", $this->_propDict)) { + if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption") || is_null($this->_propDict["keyStorageProvider"])) { + return $this->_propDict["keyStorageProvider"]; + } else { + $this->_propDict["keyStorageProvider"] = new KeyStorageProviderOption($this->_propDict["keyStorageProvider"]); + return $this->_propDict["keyStorageProvider"]; + } + } + return null; + } + + /** + * Sets the keyStorageProvider + * Key Storage Provider (KSP). Possible values are: useTpmKspOtherwiseUseSoftwareKsp, useTpmKspOtherwiseFail, usePassportForWorkKspOtherwiseFail, useSoftwareKsp. + * + * @param KeyStorageProviderOption $val The keyStorageProvider + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setKeyStorageProvider($val) + { + $this->_propDict["keyStorageProvider"] = $val; + return $this; + } + + /** + * Gets the renewalThresholdPercentage + * Certificate renewal threshold percentage. + * + * @return int|null The renewalThresholdPercentage + */ + public function getRenewalThresholdPercentage() + { + if (array_key_exists("renewalThresholdPercentage", $this->_propDict)) { + return $this->_propDict["renewalThresholdPercentage"]; + } else { + return null; + } + } + + /** + * Sets the renewalThresholdPercentage + * Certificate renewal threshold percentage. + * + * @param int $val The renewalThresholdPercentage + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setRenewalThresholdPercentage($val) + { + $this->_propDict["renewalThresholdPercentage"] = intval($val); + return $this; + } + + /** + * Gets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @return SubjectAlternativeNameType|null The subjectAlternativeNameType + */ + public function getSubjectAlternativeNameType() + { + if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { + if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["subjectAlternativeNameType"])) { + return $this->_propDict["subjectAlternativeNameType"]; + } else { + $this->_propDict["subjectAlternativeNameType"] = new SubjectAlternativeNameType($this->_propDict["subjectAlternativeNameType"]); + return $this->_propDict["subjectAlternativeNameType"]; + } + } + return null; + } + + /** + * Sets the subjectAlternativeNameType + * Certificate Subject Alternative Name Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. + * + * @param SubjectAlternativeNameType $val The subjectAlternativeNameType + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setSubjectAlternativeNameType($val) + { + $this->_propDict["subjectAlternativeNameType"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @return SubjectNameFormat|null The subjectNameFormat + */ + public function getSubjectNameFormat() + { + if (array_key_exists("subjectNameFormat", $this->_propDict)) { + if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat") || is_null($this->_propDict["subjectNameFormat"])) { + return $this->_propDict["subjectNameFormat"]; + } else { + $this->_propDict["subjectNameFormat"] = new SubjectNameFormat($this->_propDict["subjectNameFormat"]); + return $this->_propDict["subjectNameFormat"]; + } + } + return null; + } + + /** + * Sets the subjectNameFormat + * Certificate Subject Name Format. Possible values are: commonName, commonNameIncludingEmail, commonNameAsEmail, custom, commonNameAsIMEI, commonNameAsSerialNumber, commonNameAsAadDeviceId, commonNameAsIntuneDeviceId, commonNameAsDurableDeviceId. + * + * @param SubjectNameFormat $val The subjectNameFormat + * + * @return WindowsPhone81CertificateProfileBase + */ + public function setSubjectNameFormat($val) + { + $this->_propDict["subjectNameFormat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CompliancePolicy.php new file mode 100644 index 0000000..066badd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CompliancePolicy.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows Phone version. + * + * @param string $val The osMaximumVersion + * + * @return WindowsPhone81CompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows Phone version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows Phone version. + * + * @param string $val The osMinimumVersion + * + * @return WindowsPhone81CompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @param bool $val The passwordBlockSimple + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. + * + * @param int $val The passwordExpirationDays + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. + * + * @param int $val The passwordMinimumLength + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on windows phone devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on windows phone devices. + * + * @param bool $val The storageRequireEncryption + * + * @return WindowsPhone81CompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CustomConfiguration.php new file mode 100644 index 0000000..1fb9fdc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CustomConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 1000 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return WindowsPhone81CustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81GeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81GeneralConfiguration.php new file mode 100644 index 0000000..1d069fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81GeneralConfiguration.php @@ -0,0 +1,877 @@ +_propDict)) { + return $this->_propDict["applyOnlyToWindowsPhone81"]; + } else { + return null; + } + } + + /** + * Sets the applyOnlyToWindowsPhone81 + * Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only. + * + * @param bool $val The applyOnlyToWindowsPhone81 + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setApplyOnlyToWindowsPhone81($val) + { + $this->_propDict["applyOnlyToWindowsPhone81"] = boolval($val); + return $this; + } + + /** + * Gets the appsBlockCopyPaste + * Indicates whether or not to block copy paste. + * + * @return bool|null The appsBlockCopyPaste + */ + public function getAppsBlockCopyPaste() + { + if (array_key_exists("appsBlockCopyPaste", $this->_propDict)) { + return $this->_propDict["appsBlockCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockCopyPaste + * Indicates whether or not to block copy paste. + * + * @param bool $val The appsBlockCopyPaste + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setAppsBlockCopyPaste($val) + { + $this->_propDict["appsBlockCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlocked + * Indicates whether or not to block bluetooth. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Indicates whether or not to block bluetooth. + * + * @param bool $val The bluetoothBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block camera. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block camera. + * + * @param bool $val The cameraBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockWifiTethering + * Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The cellularBlockWifiTethering + */ + public function getCellularBlockWifiTethering() + { + if (array_key_exists("cellularBlockWifiTethering", $this->_propDict)) { + return $this->_propDict["cellularBlockWifiTethering"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockWifiTethering + * Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The cellularBlockWifiTethering + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCellularBlockWifiTethering($val) + { + $this->_propDict["cellularBlockWifiTethering"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticDataBlockSubmission + */ + public function getDiagnosticDataBlockSubmission() + { + if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticDataBlockSubmission + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setDiagnosticDataBlockSubmission($val) + { + $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the emailBlockAddingAccounts + * Indicates whether or not to block custom email accounts. + * + * @return bool|null The emailBlockAddingAccounts + */ + public function getEmailBlockAddingAccounts() + { + if (array_key_exists("emailBlockAddingAccounts", $this->_propDict)) { + return $this->_propDict["emailBlockAddingAccounts"]; + } else { + return null; + } + } + + /** + * Sets the emailBlockAddingAccounts + * Indicates whether or not to block custom email accounts. + * + * @param bool $val The emailBlockAddingAccounts + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setEmailBlockAddingAccounts($val) + { + $this->_propDict["emailBlockAddingAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @return bool|null The locationServicesBlocked + */ + public function getLocationServicesBlocked() + { + if (array_key_exists("locationServicesBlocked", $this->_propDict)) { + return $this->_propDict["locationServicesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @param bool $val The locationServicesBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setLocationServicesBlocked($val) + { + $this->_propDict["locationServicesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountBlocked + * Indicates whether or not to block using a Microsoft Account. + * + * @return bool|null The microsoftAccountBlocked + */ + public function getMicrosoftAccountBlocked() + { + if (array_key_exists("microsoftAccountBlocked", $this->_propDict)) { + return $this->_propDict["microsoftAccountBlocked"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAccountBlocked + * Indicates whether or not to block using a Microsoft Account. + * + * @param bool $val The microsoftAccountBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setMicrosoftAccountBlocked($val) + { + $this->_propDict["microsoftAccountBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @param bool $val The nfcBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block syncing the calendar. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block syncing the calendar. + * + * @param bool $val The passwordBlockSimple + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. + * + * @param int $val The passwordExpirationDays + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. + * + * @param int $val The passwordMinimumLength + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before screen timeout. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before screen timeout. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Indicates whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Indicates whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Password type that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Password type that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage. + * + * @return bool|null The storageBlockRemovableStorage + */ + public function getStorageBlockRemovableStorage() + { + if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) { + return $this->_propDict["storageBlockRemovableStorage"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage. + * + * @param bool $val The storageBlockRemovableStorage + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setStorageBlockRemovableStorage($val) + { + $this->_propDict["storageBlockRemovableStorage"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Indicates whether or not to require encryption. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Indicates whether or not to require encryption. + * + * @param bool $val The storageRequireEncryption + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @return bool|null The webBrowserBlocked + */ + public function getWebBrowserBlocked() + { + if (array_key_exists("webBrowserBlocked", $this->_propDict)) { + return $this->_propDict["webBrowserBlocked"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @param bool $val The webBrowserBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWebBrowserBlocked($val) + { + $this->_propDict["webBrowserBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlockAutomaticConnectHotspots + * Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The wifiBlockAutomaticConnectHotspots + */ + public function getWifiBlockAutomaticConnectHotspots() + { + if (array_key_exists("wifiBlockAutomaticConnectHotspots", $this->_propDict)) { + return $this->_propDict["wifiBlockAutomaticConnectHotspots"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockAutomaticConnectHotspots + * Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The wifiBlockAutomaticConnectHotspots + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWifiBlockAutomaticConnectHotspots($val) + { + $this->_propDict["wifiBlockAutomaticConnectHotspots"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlocked + * Indicates whether or not to block Wi-Fi. + * + * @return bool|null The wifiBlocked + */ + public function getWifiBlocked() + { + if (array_key_exists("wifiBlocked", $this->_propDict)) { + return $this->_propDict["wifiBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlocked + * Indicates whether or not to block Wi-Fi. + * + * @param bool $val The wifiBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWifiBlocked($val) + { + $this->_propDict["wifiBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlockHotspotReporting + * Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The wifiBlockHotspotReporting + */ + public function getWifiBlockHotspotReporting() + { + if (array_key_exists("wifiBlockHotspotReporting", $this->_propDict)) { + return $this->_propDict["wifiBlockHotspotReporting"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockHotspotReporting + * Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The wifiBlockHotspotReporting + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWifiBlockHotspotReporting($val) + { + $this->_propDict["wifiBlockHotspotReporting"] = boolval($val); + return $this; + } + + /** + * Gets the windowsStoreBlocked + * Indicates whether or not to block the Windows Store. + * + * @return bool|null The windowsStoreBlocked + */ + public function getWindowsStoreBlocked() + { + if (array_key_exists("windowsStoreBlocked", $this->_propDict)) { + return $this->_propDict["windowsStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreBlocked + * Indicates whether or not to block the Windows Store. + * + * @param bool $val The windowsStoreBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWindowsStoreBlocked($val) + { + $this->_propDict["windowsStoreBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81ImportedPFXCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81ImportedPFXCertificateProfile.php new file mode 100644 index 0000000..a0f83a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81ImportedPFXCertificateProfile.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\IntendedPurpose") || is_null($this->_propDict["intendedPurpose"])) { + return $this->_propDict["intendedPurpose"]; + } else { + $this->_propDict["intendedPurpose"] = new IntendedPurpose($this->_propDict["intendedPurpose"]); + return $this->_propDict["intendedPurpose"]; + } + } + return null; + } + + /** + * Sets the intendedPurpose + * Intended Purpose of the Certificate Profile - which could be Unassigned, SmimeEncryption, SmimeSigning etc. Possible values are: unassigned, smimeEncryption, smimeSigning, vpn, wifi. + * + * @param IntendedPurpose $val The intendedPurpose + * + * @return WindowsPhone81ImportedPFXCertificateProfile + */ + public function setIntendedPurpose($val) + { + $this->_propDict["intendedPurpose"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return WindowsPhone81ImportedPFXCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81SCEPCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81SCEPCertificateProfile.php new file mode 100644 index 0000000..bb3ad19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81SCEPCertificateProfile.php @@ -0,0 +1,276 @@ +_propDict)) { + if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms") || is_null($this->_propDict["hashAlgorithm"])) { + return $this->_propDict["hashAlgorithm"]; + } else { + $this->_propDict["hashAlgorithm"] = new HashAlgorithms($this->_propDict["hashAlgorithm"]); + return $this->_propDict["hashAlgorithm"]; + } + } + return null; + } + + /** + * Sets the hashAlgorithm + * SCEP Hash Algorithm. Possible values are: sha1, sha2. + * + * @param HashAlgorithms $val The hashAlgorithm + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setHashAlgorithm($val) + { + $this->_propDict["hashAlgorithm"] = $val; + return $this; + } + + /** + * Gets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @return KeySize|null The keySize + */ + public function getKeySize() + { + if (array_key_exists("keySize", $this->_propDict)) { + if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\KeySize") || is_null($this->_propDict["keySize"])) { + return $this->_propDict["keySize"]; + } else { + $this->_propDict["keySize"] = new KeySize($this->_propDict["keySize"]); + return $this->_propDict["keySize"]; + } + } + return null; + } + + /** + * Sets the keySize + * SCEP Key Size. Possible values are: size1024, size2048, size4096. + * + * @param KeySize $val The keySize + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setKeySize($val) + { + $this->_propDict["keySize"] = $val; + return $this; + } + + /** + * Gets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @return KeyUsages|null The keyUsage + */ + public function getKeyUsage() + { + if (array_key_exists("keyUsage", $this->_propDict)) { + if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages") || is_null($this->_propDict["keyUsage"])) { + return $this->_propDict["keyUsage"]; + } else { + $this->_propDict["keyUsage"] = new KeyUsages($this->_propDict["keyUsage"]); + return $this->_propDict["keyUsage"]; + } + } + return null; + } + + /** + * Sets the keyUsage + * SCEP Key Usage. Possible values are: keyEncipherment, digitalSignature. + * + * @param KeyUsages $val The keyUsage + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setKeyUsage($val) + { + $this->_propDict["keyUsage"] = $val; + return $this; + } + + /** + * Gets the scepServerUrls + * SCEP Server Url(s). + * + * @return string|null The scepServerUrls + */ + public function getScepServerUrls() + { + if (array_key_exists("scepServerUrls", $this->_propDict)) { + return $this->_propDict["scepServerUrls"]; + } else { + return null; + } + } + + /** + * Sets the scepServerUrls + * SCEP Server Url(s). + * + * @param string $val The scepServerUrls + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setScepServerUrls($val) + { + $this->_propDict["scepServerUrls"] = $val; + return $this; + } + + /** + * Gets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @return string|null The subjectAlternativeNameFormatString + */ + public function getSubjectAlternativeNameFormatString() + { + if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectAlternativeNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectAlternativeNameFormatString + * Custom String that defines the AAD Attribute. + * + * @param string $val The subjectAlternativeNameFormatString + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setSubjectAlternativeNameFormatString($val) + { + $this->_propDict["subjectAlternativeNameFormatString"] = $val; + return $this; + } + + /** + * Gets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @return string|null The subjectNameFormatString + */ + public function getSubjectNameFormatString() + { + if (array_key_exists("subjectNameFormatString", $this->_propDict)) { + return $this->_propDict["subjectNameFormatString"]; + } else { + return null; + } + } + + /** + * Sets the subjectNameFormatString + * Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US + * + * @param string $val The subjectNameFormatString + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setSubjectNameFormatString($val) + { + $this->_propDict["subjectNameFormatString"] = $val; + return $this; + } + + + /** + * Gets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @return array|null The managedDeviceCertificateStates + */ + public function getManagedDeviceCertificateStates() + { + if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) { + return $this->_propDict["managedDeviceCertificateStates"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceCertificateStates + * Certificate state for devices. This collection can contain a maximum of 2147483647 elements. + * + * @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setManagedDeviceCertificateStates($val) + { + $this->_propDict["managedDeviceCertificateStates"] = $val; + return $this; + } + + /** + * Gets the rootCertificate + * Trusted Root Certificate. + * + * @return WindowsPhone81TrustedRootCertificate|null The rootCertificate + */ + public function getRootCertificate() + { + if (array_key_exists("rootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\WindowsPhone81TrustedRootCertificate") || is_null($this->_propDict["rootCertificate"])) { + return $this->_propDict["rootCertificate"]; + } else { + $this->_propDict["rootCertificate"] = new WindowsPhone81TrustedRootCertificate($this->_propDict["rootCertificate"]); + return $this->_propDict["rootCertificate"]; + } + } + return null; + } + + /** + * Sets the rootCertificate + * Trusted Root Certificate. + * + * @param WindowsPhone81TrustedRootCertificate $val The rootCertificate + * + * @return WindowsPhone81SCEPCertificateProfile + */ + public function setRootCertificate($val) + { + $this->_propDict["rootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81StoreApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81StoreApp.php new file mode 100644 index 0000000..6a0b7cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81StoreApp.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Windows Phone 8.1 app store URL. + * + * @param string $val The appStoreUrl + * + * @return WindowsPhone81StoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81TrustedRootCertificate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81TrustedRootCertificate.php new file mode 100644 index 0000000..543526d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81TrustedRootCertificate.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certFileName"]; + } else { + return null; + } + } + + /** + * Sets the certFileName + * File name to display in UI. + * + * @param string $val The certFileName + * + * @return WindowsPhone81TrustedRootCertificate + */ + public function setCertFileName($val) + { + $this->_propDict["certFileName"] = $val; + return $this; + } + + /** + * Gets the trustedRootCertificate + * Trusted Root Certificate + * + * @return \GuzzleHttp\Psr7\Stream|null The trustedRootCertificate + */ + public function getTrustedRootCertificate() + { + if (array_key_exists("trustedRootCertificate", $this->_propDict)) { + if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["trustedRootCertificate"])) { + return $this->_propDict["trustedRootCertificate"]; + } else { + $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["trustedRootCertificate"]); + return $this->_propDict["trustedRootCertificate"]; + } + } + return null; + } + + /** + * Sets the trustedRootCertificate + * Trusted Root Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The trustedRootCertificate + * + * @return WindowsPhone81TrustedRootCertificate + */ + public function setTrustedRootCertificate($val) + { + $this->_propDict["trustedRootCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81VpnConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81VpnConfiguration.php new file mode 100644 index 0000000..f076b67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81VpnConfiguration.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new VpnAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Authentication method. Possible values are: certificate, usernameAndPassword, sharedSecret, derivedCredential, azureAD. + * + * @param VpnAuthenticationMethod $val The authenticationMethod + * + * @return WindowsPhone81VpnConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the bypassVpnOnCompanyWifi + * Bypass VPN on company Wi-Fi. + * + * @return bool|null The bypassVpnOnCompanyWifi + */ + public function getBypassVpnOnCompanyWifi() + { + if (array_key_exists("bypassVpnOnCompanyWifi", $this->_propDict)) { + return $this->_propDict["bypassVpnOnCompanyWifi"]; + } else { + return null; + } + } + + /** + * Sets the bypassVpnOnCompanyWifi + * Bypass VPN on company Wi-Fi. + * + * @param bool $val The bypassVpnOnCompanyWifi + * + * @return WindowsPhone81VpnConfiguration + */ + public function setBypassVpnOnCompanyWifi($val) + { + $this->_propDict["bypassVpnOnCompanyWifi"] = boolval($val); + return $this; + } + + /** + * Gets the bypassVpnOnHomeWifi + * Bypass VPN on home Wi-Fi. + * + * @return bool|null The bypassVpnOnHomeWifi + */ + public function getBypassVpnOnHomeWifi() + { + if (array_key_exists("bypassVpnOnHomeWifi", $this->_propDict)) { + return $this->_propDict["bypassVpnOnHomeWifi"]; + } else { + return null; + } + } + + /** + * Sets the bypassVpnOnHomeWifi + * Bypass VPN on home Wi-Fi. + * + * @param bool $val The bypassVpnOnHomeWifi + * + * @return WindowsPhone81VpnConfiguration + */ + public function setBypassVpnOnHomeWifi($val) + { + $this->_propDict["bypassVpnOnHomeWifi"] = boolval($val); + return $this; + } + + /** + * Gets the dnsSuffixSearchList + * DNS suffix search list. + * + * @return string|null The dnsSuffixSearchList + */ + public function getDnsSuffixSearchList() + { + if (array_key_exists("dnsSuffixSearchList", $this->_propDict)) { + return $this->_propDict["dnsSuffixSearchList"]; + } else { + return null; + } + } + + /** + * Sets the dnsSuffixSearchList + * DNS suffix search list. + * + * @param string $val The dnsSuffixSearchList + * + * @return WindowsPhone81VpnConfiguration + */ + public function setDnsSuffixSearchList($val) + { + $this->_propDict["dnsSuffixSearchList"] = $val; + return $this; + } + + /** + * Gets the rememberUserCredentials + * Remember user credentials. + * + * @return bool|null The rememberUserCredentials + */ + public function getRememberUserCredentials() + { + if (array_key_exists("rememberUserCredentials", $this->_propDict)) { + return $this->_propDict["rememberUserCredentials"]; + } else { + return null; + } + } + + /** + * Sets the rememberUserCredentials + * Remember user credentials. + * + * @param bool $val The rememberUserCredentials + * + * @return WindowsPhone81VpnConfiguration + */ + public function setRememberUserCredentials($val) + { + $this->_propDict["rememberUserCredentials"] = boolval($val); + return $this; + } + + /** + * Gets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @return WindowsPhone81CertificateProfileBase|null The identityCertificate + */ + public function getIdentityCertificate() + { + if (array_key_exists("identityCertificate", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\WindowsPhone81CertificateProfileBase") || is_null($this->_propDict["identityCertificate"])) { + return $this->_propDict["identityCertificate"]; + } else { + $this->_propDict["identityCertificate"] = new WindowsPhone81CertificateProfileBase($this->_propDict["identityCertificate"]); + return $this->_propDict["identityCertificate"]; + } + } + return null; + } + + /** + * Sets the identityCertificate + * Identity certificate for client authentication when authentication method is certificate. + * + * @param WindowsPhone81CertificateProfileBase $val The identityCertificate + * + * @return WindowsPhone81VpnConfiguration + */ + public function setIdentityCertificate($val) + { + $this->_propDict["identityCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneEASEmailProfileConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneEASEmailProfileConfiguration.php new file mode 100644 index 0000000..38a68a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneEASEmailProfileConfiguration.php @@ -0,0 +1,329 @@ +_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Account name. + * + * @param string $val The accountName + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + + /** + * Gets the applyOnlyToWindowsPhone81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @return bool|null The applyOnlyToWindowsPhone81 + */ + public function getApplyOnlyToWindowsPhone81() + { + if (array_key_exists("applyOnlyToWindowsPhone81", $this->_propDict)) { + return $this->_propDict["applyOnlyToWindowsPhone81"]; + } else { + return null; + } + } + + /** + * Sets the applyOnlyToWindowsPhone81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @param bool $val The applyOnlyToWindowsPhone81 + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setApplyOnlyToWindowsPhone81($val) + { + $this->_propDict["applyOnlyToWindowsPhone81"] = boolval($val); + return $this; + } + + /** + * Gets the durationOfEmailToSync + * Duration of email to sync. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @return EmailSyncDuration|null The durationOfEmailToSync + */ + public function getDurationOfEmailToSync() + { + if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { + if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration") || is_null($this->_propDict["durationOfEmailToSync"])) { + return $this->_propDict["durationOfEmailToSync"]; + } else { + $this->_propDict["durationOfEmailToSync"] = new EmailSyncDuration($this->_propDict["durationOfEmailToSync"]); + return $this->_propDict["durationOfEmailToSync"]; + } + } + return null; + } + + /** + * Sets the durationOfEmailToSync + * Duration of email to sync. Possible values are: userDefined, oneDay, threeDays, oneWeek, twoWeeks, oneMonth, unlimited. + * + * @param EmailSyncDuration $val The durationOfEmailToSync + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setDurationOfEmailToSync($val) + { + $this->_propDict["durationOfEmailToSync"] = $val; + return $this; + } + + /** + * Gets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @return UserEmailSource|null The emailAddressSource + */ + public function getEmailAddressSource() + { + if (array_key_exists("emailAddressSource", $this->_propDict)) { + if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource") || is_null($this->_propDict["emailAddressSource"])) { + return $this->_propDict["emailAddressSource"]; + } else { + $this->_propDict["emailAddressSource"] = new UserEmailSource($this->_propDict["emailAddressSource"]); + return $this->_propDict["emailAddressSource"]; + } + } + return null; + } + + /** + * Sets the emailAddressSource + * Email attribute that is picked from AAD and injected into this profile before installing on the device. Possible values are: userPrincipalName, primarySmtpAddress. + * + * @param UserEmailSource $val The emailAddressSource + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setEmailAddressSource($val) + { + $this->_propDict["emailAddressSource"] = $val; + return $this; + } + + /** + * Gets the emailSyncSchedule + * Email sync schedule. Possible values are: userDefined, asMessagesArrive, manual, fifteenMinutes, thirtyMinutes, sixtyMinutes, basedOnMyUsage. + * + * @return EmailSyncSchedule|null The emailSyncSchedule + */ + public function getEmailSyncSchedule() + { + if (array_key_exists("emailSyncSchedule", $this->_propDict)) { + if (is_a($this->_propDict["emailSyncSchedule"], "\Beta\Microsoft\Graph\Model\EmailSyncSchedule") || is_null($this->_propDict["emailSyncSchedule"])) { + return $this->_propDict["emailSyncSchedule"]; + } else { + $this->_propDict["emailSyncSchedule"] = new EmailSyncSchedule($this->_propDict["emailSyncSchedule"]); + return $this->_propDict["emailSyncSchedule"]; + } + } + return null; + } + + /** + * Sets the emailSyncSchedule + * Email sync schedule. Possible values are: userDefined, asMessagesArrive, manual, fifteenMinutes, thirtyMinutes, sixtyMinutes, basedOnMyUsage. + * + * @param EmailSyncSchedule $val The emailSyncSchedule + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setEmailSyncSchedule($val) + { + $this->_propDict["emailSyncSchedule"] = $val; + return $this; + } + + /** + * Gets the hostName + * Exchange location that (URL) that the native mail app connects to. + * + * @return string|null The hostName + */ + public function getHostName() + { + if (array_key_exists("hostName", $this->_propDict)) { + return $this->_propDict["hostName"]; + } else { + return null; + } + } + + /** + * Sets the hostName + * Exchange location that (URL) that the native mail app connects to. + * + * @param string $val The hostName + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setHostName($val) + { + $this->_propDict["hostName"] = $val; + return $this; + } + + /** + * Gets the requireSsl + * Indicates whether or not to use SSL. + * + * @return bool|null The requireSsl + */ + public function getRequireSsl() + { + if (array_key_exists("requireSsl", $this->_propDict)) { + return $this->_propDict["requireSsl"]; + } else { + return null; + } + } + + /** + * Sets the requireSsl + * Indicates whether or not to use SSL. + * + * @param bool $val The requireSsl + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setRequireSsl($val) + { + $this->_propDict["requireSsl"] = boolval($val); + return $this; + } + + /** + * Gets the syncCalendar + * Whether or not to sync the calendar. + * + * @return bool|null The syncCalendar + */ + public function getSyncCalendar() + { + if (array_key_exists("syncCalendar", $this->_propDict)) { + return $this->_propDict["syncCalendar"]; + } else { + return null; + } + } + + /** + * Sets the syncCalendar + * Whether or not to sync the calendar. + * + * @param bool $val The syncCalendar + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setSyncCalendar($val) + { + $this->_propDict["syncCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the syncContacts + * Whether or not to sync contacts. + * + * @return bool|null The syncContacts + */ + public function getSyncContacts() + { + if (array_key_exists("syncContacts", $this->_propDict)) { + return $this->_propDict["syncContacts"]; + } else { + return null; + } + } + + /** + * Sets the syncContacts + * Whether or not to sync contacts. + * + * @param bool $val The syncContacts + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setSyncContacts($val) + { + $this->_propDict["syncContacts"] = boolval($val); + return $this; + } + + /** + * Gets the syncTasks + * Whether or not to sync tasks. + * + * @return bool|null The syncTasks + */ + public function getSyncTasks() + { + if (array_key_exists("syncTasks", $this->_propDict)) { + return $this->_propDict["syncTasks"]; + } else { + return null; + } + } + + /** + * Sets the syncTasks + * Whether or not to sync tasks. + * + * @param bool $val The syncTasks + * + * @return WindowsPhoneEASEmailProfileConfiguration + */ + public function setSyncTasks($val) + { + $this->_propDict["syncTasks"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneXAP.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneXAP.php new file mode 100644 index 0000000..813a875 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneXAP.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["identityVersion"]; + } else { + return null; + } + } + + /** + * Sets the identityVersion + * The identity version. + * + * @param string $val The identityVersion + * + * @return WindowsPhoneXAP + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return WindowsPhoneXAP + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the productIdentifier + * The Product Identifier. + * + * @return string|null The productIdentifier + */ + public function getProductIdentifier() + { + if (array_key_exists("productIdentifier", $this->_propDict)) { + return $this->_propDict["productIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the productIdentifier + * The Product Identifier. + * + * @param string $val The productIdentifier + * + * @return WindowsPhoneXAP + */ + public function setProductIdentifier($val) + { + $this->_propDict["productIdentifier"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessControlItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessControlItem.php new file mode 100644 index 0000000..43dd9c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessControlItem.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["accessLevel"], "\Beta\Microsoft\Graph\Model\WindowsPrivacyDataAccessLevel") || is_null($this->_propDict["accessLevel"])) { + return $this->_propDict["accessLevel"]; + } else { + $this->_propDict["accessLevel"] = new WindowsPrivacyDataAccessLevel($this->_propDict["accessLevel"]); + return $this->_propDict["accessLevel"]; + } + } + return null; + } + + /** + * Sets the accessLevel + * This indicates an access level for the privacy data category to which the specified application will be given to. Possible values are: notConfigured, forceAllow, forceDeny, userInControl. + * + * @param WindowsPrivacyDataAccessLevel $val The accessLevel + * + * @return WindowsPrivacyDataAccessControlItem + */ + public function setAccessLevel($val) + { + $this->_propDict["accessLevel"] = $val; + return $this; + } + + /** + * Gets the appDisplayName + * The Package Family Name of a Windows app. When set, the access level applies to the specified application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The Package Family Name of a Windows app. When set, the access level applies to the specified application. + * + * @param string $val The appDisplayName + * + * @return WindowsPrivacyDataAccessControlItem + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appPackageFamilyName + * The Package Family Name of a Windows app. When set, the access level applies to the specified application. + * + * @return string|null The appPackageFamilyName + */ + public function getAppPackageFamilyName() + { + if (array_key_exists("appPackageFamilyName", $this->_propDict)) { + return $this->_propDict["appPackageFamilyName"]; + } else { + return null; + } + } + + /** + * Sets the appPackageFamilyName + * The Package Family Name of a Windows app. When set, the access level applies to the specified application. + * + * @param string $val The appPackageFamilyName + * + * @return WindowsPrivacyDataAccessControlItem + */ + public function setAppPackageFamilyName($val) + { + $this->_propDict["appPackageFamilyName"] = $val; + return $this; + } + + /** + * Gets the dataCategory + * This indicates a privacy data category to which the specific access control will apply. Possible values are: notConfigured, accountInfo, appsRunInBackground, calendar, callHistory, camera, contacts, diagnosticsInfo, email, location, messaging, microphone, motion, notifications, phone, radios, tasks, syncWithDevices, trustedDevices. + * + * @return WindowsPrivacyDataCategory|null The dataCategory + */ + public function getDataCategory() + { + if (array_key_exists("dataCategory", $this->_propDict)) { + if (is_a($this->_propDict["dataCategory"], "\Beta\Microsoft\Graph\Model\WindowsPrivacyDataCategory") || is_null($this->_propDict["dataCategory"])) { + return $this->_propDict["dataCategory"]; + } else { + $this->_propDict["dataCategory"] = new WindowsPrivacyDataCategory($this->_propDict["dataCategory"]); + return $this->_propDict["dataCategory"]; + } + } + return null; + } + + /** + * Sets the dataCategory + * This indicates a privacy data category to which the specific access control will apply. Possible values are: notConfigured, accountInfo, appsRunInBackground, calendar, callHistory, camera, contacts, diagnosticsInfo, email, location, messaging, microphone, motion, notifications, phone, radios, tasks, syncWithDevices, trustedDevices. + * + * @param WindowsPrivacyDataCategory $val The dataCategory + * + * @return WindowsPrivacyDataAccessControlItem + */ + public function setDataCategory($val) + { + $this->_propDict["dataCategory"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessLevel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessLevel.php new file mode 100644 index 0000000..3984e19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["antiMalwareVersion"]; + } else { + return null; + } + } + + /** + * Sets the antiMalwareVersion + * Current anti malware version + * + * @param string $val The antiMalwareVersion + * + * @return WindowsProtectionState + */ + public function setAntiMalwareVersion($val) + { + $this->_propDict["antiMalwareVersion"] = $val; + return $this; + } + + /** + * Gets the deviceState + * Computer's state (like clean or pending full scan or pending reboot etc). Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. + * + * @return WindowsDeviceHealthState|null The deviceState + */ + public function getDeviceState() + { + if (array_key_exists("deviceState", $this->_propDict)) { + if (is_a($this->_propDict["deviceState"], "\Beta\Microsoft\Graph\Model\WindowsDeviceHealthState") || is_null($this->_propDict["deviceState"])) { + return $this->_propDict["deviceState"]; + } else { + $this->_propDict["deviceState"] = new WindowsDeviceHealthState($this->_propDict["deviceState"]); + return $this->_propDict["deviceState"]; + } + } + return null; + } + + /** + * Sets the deviceState + * Computer's state (like clean or pending full scan or pending reboot etc). Possible values are: clean, fullScanPending, rebootPending, manualStepsPending, offlineScanPending, critical. + * + * @param WindowsDeviceHealthState $val The deviceState + * + * @return WindowsProtectionState + */ + public function setDeviceState($val) + { + $this->_propDict["deviceState"] = $val; + return $this; + } + + /** + * Gets the engineVersion + * Current endpoint protection engine's version + * + * @return string|null The engineVersion + */ + public function getEngineVersion() + { + if (array_key_exists("engineVersion", $this->_propDict)) { + return $this->_propDict["engineVersion"]; + } else { + return null; + } + } + + /** + * Sets the engineVersion + * Current endpoint protection engine's version + * + * @param string $val The engineVersion + * + * @return WindowsProtectionState + */ + public function setEngineVersion($val) + { + $this->_propDict["engineVersion"] = $val; + return $this; + } + + /** + * Gets the fullScanOverdue + * Full scan overdue or not? + * + * @return bool|null The fullScanOverdue + */ + public function getFullScanOverdue() + { + if (array_key_exists("fullScanOverdue", $this->_propDict)) { + return $this->_propDict["fullScanOverdue"]; + } else { + return null; + } + } + + /** + * Sets the fullScanOverdue + * Full scan overdue or not? + * + * @param bool $val The fullScanOverdue + * + * @return WindowsProtectionState + */ + public function setFullScanOverdue($val) + { + $this->_propDict["fullScanOverdue"] = boolval($val); + return $this; + } + + /** + * Gets the fullScanRequired + * Full scan required or not? + * + * @return bool|null The fullScanRequired + */ + public function getFullScanRequired() + { + if (array_key_exists("fullScanRequired", $this->_propDict)) { + return $this->_propDict["fullScanRequired"]; + } else { + return null; + } + } + + /** + * Sets the fullScanRequired + * Full scan required or not? + * + * @param bool $val The fullScanRequired + * + * @return WindowsProtectionState + */ + public function setFullScanRequired($val) + { + $this->_propDict["fullScanRequired"] = boolval($val); + return $this; + } + + /** + * Gets the isVirtualMachine + * Indicates whether the device is a virtual machine. + * + * @return bool|null The isVirtualMachine + */ + public function getIsVirtualMachine() + { + if (array_key_exists("isVirtualMachine", $this->_propDict)) { + return $this->_propDict["isVirtualMachine"]; + } else { + return null; + } + } + + /** + * Sets the isVirtualMachine + * Indicates whether the device is a virtual machine. + * + * @param bool $val The isVirtualMachine + * + * @return WindowsProtectionState + */ + public function setIsVirtualMachine($val) + { + $this->_propDict["isVirtualMachine"] = boolval($val); + return $this; + } + + /** + * Gets the lastFullScanDateTime + * Last quick scan datetime + * + * @return \DateTime|null The lastFullScanDateTime + */ + public function getLastFullScanDateTime() + { + if (array_key_exists("lastFullScanDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastFullScanDateTime"], "\DateTime") || is_null($this->_propDict["lastFullScanDateTime"])) { + return $this->_propDict["lastFullScanDateTime"]; + } else { + $this->_propDict["lastFullScanDateTime"] = new \DateTime($this->_propDict["lastFullScanDateTime"]); + return $this->_propDict["lastFullScanDateTime"]; + } + } + return null; + } + + /** + * Sets the lastFullScanDateTime + * Last quick scan datetime + * + * @param \DateTime $val The lastFullScanDateTime + * + * @return WindowsProtectionState + */ + public function setLastFullScanDateTime($val) + { + $this->_propDict["lastFullScanDateTime"] = $val; + return $this; + } + + /** + * Gets the lastFullScanSignatureVersion + * Last full scan signature version + * + * @return string|null The lastFullScanSignatureVersion + */ + public function getLastFullScanSignatureVersion() + { + if (array_key_exists("lastFullScanSignatureVersion", $this->_propDict)) { + return $this->_propDict["lastFullScanSignatureVersion"]; + } else { + return null; + } + } + + /** + * Sets the lastFullScanSignatureVersion + * Last full scan signature version + * + * @param string $val The lastFullScanSignatureVersion + * + * @return WindowsProtectionState + */ + public function setLastFullScanSignatureVersion($val) + { + $this->_propDict["lastFullScanSignatureVersion"] = $val; + return $this; + } + + /** + * Gets the lastQuickScanDateTime + * Last quick scan datetime + * + * @return \DateTime|null The lastQuickScanDateTime + */ + public function getLastQuickScanDateTime() + { + if (array_key_exists("lastQuickScanDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastQuickScanDateTime"], "\DateTime") || is_null($this->_propDict["lastQuickScanDateTime"])) { + return $this->_propDict["lastQuickScanDateTime"]; + } else { + $this->_propDict["lastQuickScanDateTime"] = new \DateTime($this->_propDict["lastQuickScanDateTime"]); + return $this->_propDict["lastQuickScanDateTime"]; + } + } + return null; + } + + /** + * Sets the lastQuickScanDateTime + * Last quick scan datetime + * + * @param \DateTime $val The lastQuickScanDateTime + * + * @return WindowsProtectionState + */ + public function setLastQuickScanDateTime($val) + { + $this->_propDict["lastQuickScanDateTime"] = $val; + return $this; + } + + /** + * Gets the lastQuickScanSignatureVersion + * Last quick scan signature version + * + * @return string|null The lastQuickScanSignatureVersion + */ + public function getLastQuickScanSignatureVersion() + { + if (array_key_exists("lastQuickScanSignatureVersion", $this->_propDict)) { + return $this->_propDict["lastQuickScanSignatureVersion"]; + } else { + return null; + } + } + + /** + * Sets the lastQuickScanSignatureVersion + * Last quick scan signature version + * + * @param string $val The lastQuickScanSignatureVersion + * + * @return WindowsProtectionState + */ + public function setLastQuickScanSignatureVersion($val) + { + $this->_propDict["lastQuickScanSignatureVersion"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last device health status reported time + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last device health status reported time + * + * @param \DateTime $val The lastReportedDateTime + * + * @return WindowsProtectionState + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the malwareProtectionEnabled + * Anti malware is enabled or not + * + * @return bool|null The malwareProtectionEnabled + */ + public function getMalwareProtectionEnabled() + { + if (array_key_exists("malwareProtectionEnabled", $this->_propDict)) { + return $this->_propDict["malwareProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the malwareProtectionEnabled + * Anti malware is enabled or not + * + * @param bool $val The malwareProtectionEnabled + * + * @return WindowsProtectionState + */ + public function setMalwareProtectionEnabled($val) + { + $this->_propDict["malwareProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the networkInspectionSystemEnabled + * Network inspection system enabled or not? + * + * @return bool|null The networkInspectionSystemEnabled + */ + public function getNetworkInspectionSystemEnabled() + { + if (array_key_exists("networkInspectionSystemEnabled", $this->_propDict)) { + return $this->_propDict["networkInspectionSystemEnabled"]; + } else { + return null; + } + } + + /** + * Sets the networkInspectionSystemEnabled + * Network inspection system enabled or not? + * + * @param bool $val The networkInspectionSystemEnabled + * + * @return WindowsProtectionState + */ + public function setNetworkInspectionSystemEnabled($val) + { + $this->_propDict["networkInspectionSystemEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the productStatus + * Product Status of Windows Defender Antivirus. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. + * + * @return WindowsDefenderProductStatus|null The productStatus + */ + public function getProductStatus() + { + if (array_key_exists("productStatus", $this->_propDict)) { + if (is_a($this->_propDict["productStatus"], "\Beta\Microsoft\Graph\Model\WindowsDefenderProductStatus") || is_null($this->_propDict["productStatus"])) { + return $this->_propDict["productStatus"]; + } else { + $this->_propDict["productStatus"] = new WindowsDefenderProductStatus($this->_propDict["productStatus"]); + return $this->_propDict["productStatus"]; + } + } + return null; + } + + /** + * Sets the productStatus + * Product Status of Windows Defender Antivirus. Possible values are: noStatus, serviceNotRunning, serviceStartedWithoutMalwareProtection, pendingFullScanDueToThreatAction, pendingRebootDueToThreatAction, pendingManualStepsDueToThreatAction, avSignaturesOutOfDate, asSignaturesOutOfDate, noQuickScanHappenedForSpecifiedPeriod, noFullScanHappenedForSpecifiedPeriod, systemInitiatedScanInProgress, systemInitiatedCleanInProgress, samplesPendingSubmission, productRunningInEvaluationMode, productRunningInNonGenuineMode, productExpired, offlineScanRequired, serviceShutdownAsPartOfSystemShutdown, threatRemediationFailedCritically, threatRemediationFailedNonCritically, noStatusFlagsSet, platformOutOfDate, platformUpdateInProgress, platformAboutToBeOutdated, signatureOrPlatformEndOfLifeIsPastOrIsImpending, windowsSModeSignaturesInUseOnNonWin10SInstall. + * + * @param WindowsDefenderProductStatus $val The productStatus + * + * @return WindowsProtectionState + */ + public function setProductStatus($val) + { + $this->_propDict["productStatus"] = $val; + return $this; + } + + /** + * Gets the quickScanOverdue + * Quick scan overdue or not? + * + * @return bool|null The quickScanOverdue + */ + public function getQuickScanOverdue() + { + if (array_key_exists("quickScanOverdue", $this->_propDict)) { + return $this->_propDict["quickScanOverdue"]; + } else { + return null; + } + } + + /** + * Sets the quickScanOverdue + * Quick scan overdue or not? + * + * @param bool $val The quickScanOverdue + * + * @return WindowsProtectionState + */ + public function setQuickScanOverdue($val) + { + $this->_propDict["quickScanOverdue"] = boolval($val); + return $this; + } + + /** + * Gets the realTimeProtectionEnabled + * Real time protection is enabled or not? + * + * @return bool|null The realTimeProtectionEnabled + */ + public function getRealTimeProtectionEnabled() + { + if (array_key_exists("realTimeProtectionEnabled", $this->_propDict)) { + return $this->_propDict["realTimeProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the realTimeProtectionEnabled + * Real time protection is enabled or not? + * + * @param bool $val The realTimeProtectionEnabled + * + * @return WindowsProtectionState + */ + public function setRealTimeProtectionEnabled($val) + { + $this->_propDict["realTimeProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the rebootRequired + * Reboot required or not? + * + * @return bool|null The rebootRequired + */ + public function getRebootRequired() + { + if (array_key_exists("rebootRequired", $this->_propDict)) { + return $this->_propDict["rebootRequired"]; + } else { + return null; + } + } + + /** + * Sets the rebootRequired + * Reboot required or not? + * + * @param bool $val The rebootRequired + * + * @return WindowsProtectionState + */ + public function setRebootRequired($val) + { + $this->_propDict["rebootRequired"] = boolval($val); + return $this; + } + + /** + * Gets the signatureUpdateOverdue + * Signature out of date or not? + * + * @return bool|null The signatureUpdateOverdue + */ + public function getSignatureUpdateOverdue() + { + if (array_key_exists("signatureUpdateOverdue", $this->_propDict)) { + return $this->_propDict["signatureUpdateOverdue"]; + } else { + return null; + } + } + + /** + * Sets the signatureUpdateOverdue + * Signature out of date or not? + * + * @param bool $val The signatureUpdateOverdue + * + * @return WindowsProtectionState + */ + public function setSignatureUpdateOverdue($val) + { + $this->_propDict["signatureUpdateOverdue"] = boolval($val); + return $this; + } + + /** + * Gets the signatureVersion + * Current malware definitions version + * + * @return string|null The signatureVersion + */ + public function getSignatureVersion() + { + if (array_key_exists("signatureVersion", $this->_propDict)) { + return $this->_propDict["signatureVersion"]; + } else { + return null; + } + } + + /** + * Sets the signatureVersion + * Current malware definitions version + * + * @param string $val The signatureVersion + * + * @return WindowsProtectionState + */ + public function setSignatureVersion($val) + { + $this->_propDict["signatureVersion"] = $val; + return $this; + } + + /** + * Gets the tamperProtectionEnabled + * Indicates whether the Windows Defender tamper protection feature is enabled. + * + * @return bool|null The tamperProtectionEnabled + */ + public function getTamperProtectionEnabled() + { + if (array_key_exists("tamperProtectionEnabled", $this->_propDict)) { + return $this->_propDict["tamperProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the tamperProtectionEnabled + * Indicates whether the Windows Defender tamper protection feature is enabled. + * + * @param bool $val The tamperProtectionEnabled + * + * @return WindowsProtectionState + */ + public function setTamperProtectionEnabled($val) + { + $this->_propDict["tamperProtectionEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the detectedMalwareState + * Device malware list + * + * @return array|null The detectedMalwareState + */ + public function getDetectedMalwareState() + { + if (array_key_exists("detectedMalwareState", $this->_propDict)) { + return $this->_propDict["detectedMalwareState"]; + } else { + return null; + } + } + + /** + * Sets the detectedMalwareState + * Device malware list + * + * @param WindowsDeviceMalwareState[] $val The detectedMalwareState + * + * @return WindowsProtectionState + */ + public function setDetectedMalwareState($val) + { + $this->_propDict["detectedMalwareState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateCatalogItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateCatalogItem.php new file mode 100644 index 0000000..37ba97e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateCatalogItem.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\WindowsQualityUpdateClassification") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new WindowsQualityUpdateClassification($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * Classification of the quality update. Possible values are: all, security, nonSecurity. + * + * @param WindowsQualityUpdateClassification $val The classification + * + * @return WindowsQualityUpdateCatalogItem + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the isExpeditable + * Flag indicating if update qualifies for expedite + * + * @return bool|null The isExpeditable + */ + public function getIsExpeditable() + { + if (array_key_exists("isExpeditable", $this->_propDict)) { + return $this->_propDict["isExpeditable"]; + } else { + return null; + } + } + + /** + * Sets the isExpeditable + * Flag indicating if update qualifies for expedite + * + * @param bool $val The isExpeditable + * + * @return WindowsQualityUpdateCatalogItem + */ + public function setIsExpeditable($val) + { + $this->_propDict["isExpeditable"] = boolval($val); + return $this; + } + + /** + * Gets the kbArticleId + * Knowledge base article id + * + * @return string|null The kbArticleId + */ + public function getKbArticleId() + { + if (array_key_exists("kbArticleId", $this->_propDict)) { + return $this->_propDict["kbArticleId"]; + } else { + return null; + } + } + + /** + * Sets the kbArticleId + * Knowledge base article id + * + * @param string $val The kbArticleId + * + * @return WindowsQualityUpdateCatalogItem + */ + public function setKbArticleId($val) + { + $this->_propDict["kbArticleId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateClassification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateClassification.php new file mode 100644 index 0000000..4984980 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateClassification.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date time that the profile was created. + * + * @param \DateTime $val The createdDateTime + * + * @return WindowsQualityUpdateProfile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deployableContentDisplayName + * Friendly display name of the quality update profile deployable content + * + * @return string|null The deployableContentDisplayName + */ + public function getDeployableContentDisplayName() + { + if (array_key_exists("deployableContentDisplayName", $this->_propDict)) { + return $this->_propDict["deployableContentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deployableContentDisplayName + * Friendly display name of the quality update profile deployable content + * + * @param string $val The deployableContentDisplayName + * + * @return WindowsQualityUpdateProfile + */ + public function setDeployableContentDisplayName($val) + { + $this->_propDict["deployableContentDisplayName"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the profile which is specified by the user. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the profile which is specified by the user. + * + * @param string $val The description + * + * @return WindowsQualityUpdateProfile + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the profile. + * + * @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 + * The display name for the profile. + * + * @param string $val The displayName + * + * @return WindowsQualityUpdateProfile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expeditedUpdateSettings + * Expedited update settings. + * + * @return ExpeditedWindowsQualityUpdateSettings|null The expeditedUpdateSettings + */ + public function getExpeditedUpdateSettings() + { + if (array_key_exists("expeditedUpdateSettings", $this->_propDict)) { + if (is_a($this->_propDict["expeditedUpdateSettings"], "\Beta\Microsoft\Graph\Model\ExpeditedWindowsQualityUpdateSettings") || is_null($this->_propDict["expeditedUpdateSettings"])) { + return $this->_propDict["expeditedUpdateSettings"]; + } else { + $this->_propDict["expeditedUpdateSettings"] = new ExpeditedWindowsQualityUpdateSettings($this->_propDict["expeditedUpdateSettings"]); + return $this->_propDict["expeditedUpdateSettings"]; + } + } + return null; + } + + /** + * Sets the expeditedUpdateSettings + * Expedited update settings. + * + * @param ExpeditedWindowsQualityUpdateSettings $val The expeditedUpdateSettings + * + * @return WindowsQualityUpdateProfile + */ + public function setExpeditedUpdateSettings($val) + { + $this->_propDict["expeditedUpdateSettings"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date time that the profile was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date time that the profile was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return WindowsQualityUpdateProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the releaseDateDisplayName + * Friendly release date to display for a Quality Update release + * + * @return string|null The releaseDateDisplayName + */ + public function getReleaseDateDisplayName() + { + if (array_key_exists("releaseDateDisplayName", $this->_propDict)) { + return $this->_propDict["releaseDateDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the releaseDateDisplayName + * Friendly release date to display for a Quality Update release + * + * @param string $val The releaseDateDisplayName + * + * @return WindowsQualityUpdateProfile + */ + public function setReleaseDateDisplayName($val) + { + $this->_propDict["releaseDateDisplayName"] = $val; + return $this; + } + + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Quality Update entity. + * + * @return string|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Quality Update entity. + * + * @param string $val The roleScopeTagIds + * + * @return WindowsQualityUpdateProfile + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments of the profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments of the profile. + * + * @param WindowsQualityUpdateProfileAssignment[] $val The assignments + * + * @return WindowsQualityUpdateProfile + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateProfileAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateProfileAssignment.php new file mode 100644 index 0000000..f45b3a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateProfileAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target that the quality update profile is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return WindowsQualityUpdateProfileAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsSModeConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsSModeConfiguration.php new file mode 100644 index 0000000..6ea3502 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsSModeConfiguration.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Windows app store URL. + * + * @param string $val The appStoreUrl + * + * @return WindowsStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php new file mode 100644 index 0000000..1fc423c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php @@ -0,0 +1,301 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitectures"])) { + return $this->_propDict["applicableArchitectures"]; + } else { + $this->_propDict["applicableArchitectures"] = new WindowsArchitecture($this->_propDict["applicableArchitectures"]); + return $this->_propDict["applicableArchitectures"]; + } + } + return null; + } + + /** + * Sets the applicableArchitectures + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The applicableArchitectures + * + * @return WindowsUniversalAppX + */ + public function setApplicableArchitectures($val) + { + $this->_propDict["applicableArchitectures"] = $val; + return $this; + } + + /** + * Gets the applicableDeviceTypes + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + * + * @return WindowsDeviceType|null The applicableDeviceTypes + */ + public function getApplicableDeviceTypes() + { + if (array_key_exists("applicableDeviceTypes", $this->_propDict)) { + if (is_a($this->_propDict["applicableDeviceTypes"], "\Beta\Microsoft\Graph\Model\WindowsDeviceType") || is_null($this->_propDict["applicableDeviceTypes"])) { + return $this->_propDict["applicableDeviceTypes"]; + } else { + $this->_propDict["applicableDeviceTypes"] = new WindowsDeviceType($this->_propDict["applicableDeviceTypes"]); + return $this->_propDict["applicableDeviceTypes"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceTypes + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + * + * @param WindowsDeviceType $val The applicableDeviceTypes + * + * @return WindowsUniversalAppX + */ + public function setApplicableDeviceTypes($val) + { + $this->_propDict["applicableDeviceTypes"] = $val; + return $this; + } + + /** + * Gets the identityName + * The Identity Name. + * + * @return string|null The identityName + */ + public function getIdentityName() + { + if (array_key_exists("identityName", $this->_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The identityName + * + * @return WindowsUniversalAppX + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + + /** + * Gets the identityPublisherHash + * The Identity Publisher Hash. + * + * @return string|null The identityPublisherHash + */ + public function getIdentityPublisherHash() + { + if (array_key_exists("identityPublisherHash", $this->_propDict)) { + return $this->_propDict["identityPublisherHash"]; + } else { + return null; + } + } + + /** + * Sets the identityPublisherHash + * The Identity Publisher Hash. + * + * @param string $val The identityPublisherHash + * + * @return WindowsUniversalAppX + */ + public function setIdentityPublisherHash($val) + { + $this->_propDict["identityPublisherHash"] = $val; + return $this; + } + + /** + * Gets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @return string|null The identityResourceIdentifier + */ + public function getIdentityResourceIdentifier() + { + if (array_key_exists("identityResourceIdentifier", $this->_propDict)) { + return $this->_propDict["identityResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @param string $val The identityResourceIdentifier + * + * @return WindowsUniversalAppX + */ + public function setIdentityResourceIdentifier($val) + { + $this->_propDict["identityResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return WindowsUniversalAppX + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the isBundle + * Whether or not the app is a bundle. + * + * @return bool|null The isBundle + */ + public function getIsBundle() + { + if (array_key_exists("isBundle", $this->_propDict)) { + return $this->_propDict["isBundle"]; + } else { + return null; + } + } + + /** + * Sets the isBundle + * Whether or not the app is a bundle. + * + * @param bool $val The isBundle + * + * @return WindowsUniversalAppX + */ + public function setIsBundle($val) + { + $this->_propDict["isBundle"] = boolval($val); + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return WindowsUniversalAppX + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + + /** + * Gets the committedContainedApps + * The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + * + * @return array|null The committedContainedApps + */ + public function getCommittedContainedApps() + { + if (array_key_exists("committedContainedApps", $this->_propDict)) { + return $this->_propDict["committedContainedApps"]; + } else { + return null; + } + } + + /** + * Sets the committedContainedApps + * The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. + * + * @param MobileContainedApp[] $val The committedContainedApps + * + * @return WindowsUniversalAppX + */ + public function setCommittedContainedApps($val) + { + $this->_propDict["committedContainedApps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php new file mode 100644 index 0000000..3de3dcf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.windowsUniversalAppXAppAssignmentSettings"); + } + + /** + * Gets the useDeviceContext + * Whether or not to use device execution context for Windows Universal AppX mobile app. + * + * @return bool|null The useDeviceContext + */ + public function getUseDeviceContext() + { + if (array_key_exists("useDeviceContext", $this->_propDict)) { + return $this->_propDict["useDeviceContext"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceContext + * Whether or not to use device execution context for Windows Universal AppX mobile app. + * + * @param bool $val The value of the useDeviceContext + * + * @return WindowsUniversalAppXAppAssignmentSettings + */ + public function setUseDeviceContext($val) + { + $this->_propDict["useDeviceContext"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXContainedApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXContainedApp.php new file mode 100644 index 0000000..84f9725 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXContainedApp.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["appUserModelId"]; + } else { + return null; + } + } + + /** + * Sets the appUserModelId + * The app user model ID of the contained app of a WindowsUniversalAppX app. + * + * @param string $val The appUserModelId + * + * @return WindowsUniversalAppXContainedApp + */ + public function setAppUserModelId($val) + { + $this->_propDict["appUserModelId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateActiveHoursInstall.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateActiveHoursInstall.php new file mode 100644 index 0000000..3a202d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateActiveHoursInstall.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.windowsUpdateActiveHoursInstall"); + } + + + /** + * Gets the activeHoursEnd + * Active Hours End + * + * @return TimeOfDay|null The activeHoursEnd + */ + public function getActiveHoursEnd() + { + if (array_key_exists("activeHoursEnd", $this->_propDict)) { + if (is_a($this->_propDict["activeHoursEnd"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursEnd"])) { + return $this->_propDict["activeHoursEnd"]; + } else { + $this->_propDict["activeHoursEnd"] = new TimeOfDay($this->_propDict["activeHoursEnd"]); + return $this->_propDict["activeHoursEnd"]; + } + } + return null; + } + + /** + * Sets the activeHoursEnd + * Active Hours End + * + * @param TimeOfDay $val The value to assign to the activeHoursEnd + * + * @return WindowsUpdateActiveHoursInstall The WindowsUpdateActiveHoursInstall + */ + public function setActiveHoursEnd($val) + { + $this->_propDict["activeHoursEnd"] = $val; + return $this; + } + + /** + * Gets the activeHoursStart + * Active Hours Start + * + * @return TimeOfDay|null The activeHoursStart + */ + public function getActiveHoursStart() + { + if (array_key_exists("activeHoursStart", $this->_propDict)) { + if (is_a($this->_propDict["activeHoursStart"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursStart"])) { + return $this->_propDict["activeHoursStart"]; + } else { + $this->_propDict["activeHoursStart"] = new TimeOfDay($this->_propDict["activeHoursStart"]); + return $this->_propDict["activeHoursStart"]; + } + } + return null; + } + + /** + * Sets the activeHoursStart + * Active Hours Start + * + * @param TimeOfDay $val The value to assign to the activeHoursStart + * + * @return WindowsUpdateActiveHoursInstall The WindowsUpdateActiveHoursInstall + */ + public function setActiveHoursStart($val) + { + $this->_propDict["activeHoursStart"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateCatalogItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateCatalogItem.php new file mode 100644 index 0000000..ee96134 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateCatalogItem.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the catalog item. + * + * @param string $val The displayName + * + * @return WindowsUpdateCatalogItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endOfSupportDate + * The last supported date for a catalog item + * + * @return \DateTime|null The endOfSupportDate + */ + public function getEndOfSupportDate() + { + if (array_key_exists("endOfSupportDate", $this->_propDict)) { + if (is_a($this->_propDict["endOfSupportDate"], "\DateTime") || is_null($this->_propDict["endOfSupportDate"])) { + return $this->_propDict["endOfSupportDate"]; + } else { + $this->_propDict["endOfSupportDate"] = new \DateTime($this->_propDict["endOfSupportDate"]); + return $this->_propDict["endOfSupportDate"]; + } + } + return null; + } + + /** + * Sets the endOfSupportDate + * The last supported date for a catalog item + * + * @param \DateTime $val The endOfSupportDate + * + * @return WindowsUpdateCatalogItem + */ + public function setEndOfSupportDate($val) + { + $this->_propDict["endOfSupportDate"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * The date the catalog item was released + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * The date the catalog item was released + * + * @param \DateTime $val The releaseDateTime + * + * @return WindowsUpdateCatalogItem + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessConfiguration.php new file mode 100644 index 0000000..91c6184 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessConfiguration.php @@ -0,0 +1,1165 @@ +_propDict)) { + return $this->_propDict["allowWindows11Upgrade"]; + } else { + return null; + } + } + + /** + * Sets the allowWindows11Upgrade + * Allow eligible Windows 10 devices to upgrade to the latest version of Windows 11. + * + * @param bool $val The allowWindows11Upgrade + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setAllowWindows11Upgrade($val) + { + $this->_propDict["allowWindows11Upgrade"] = boolval($val); + return $this; + } + + /** + * Gets the automaticUpdateMode + * Automatic update mode. Possible values are: userDefined, notifyDownload, autoInstallAtMaintenanceTime, autoInstallAndRebootAtMaintenanceTime, autoInstallAndRebootAtScheduledTime, autoInstallAndRebootWithoutEndUserControl, windowsDefault. + * + * @return AutomaticUpdateMode|null The automaticUpdateMode + */ + public function getAutomaticUpdateMode() + { + if (array_key_exists("automaticUpdateMode", $this->_propDict)) { + if (is_a($this->_propDict["automaticUpdateMode"], "\Beta\Microsoft\Graph\Model\AutomaticUpdateMode") || is_null($this->_propDict["automaticUpdateMode"])) { + return $this->_propDict["automaticUpdateMode"]; + } else { + $this->_propDict["automaticUpdateMode"] = new AutomaticUpdateMode($this->_propDict["automaticUpdateMode"]); + return $this->_propDict["automaticUpdateMode"]; + } + } + return null; + } + + /** + * Sets the automaticUpdateMode + * Automatic update mode. Possible values are: userDefined, notifyDownload, autoInstallAtMaintenanceTime, autoInstallAndRebootAtMaintenanceTime, autoInstallAndRebootAtScheduledTime, autoInstallAndRebootWithoutEndUserControl, windowsDefault. + * + * @param AutomaticUpdateMode $val The automaticUpdateMode + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setAutomaticUpdateMode($val) + { + $this->_propDict["automaticUpdateMode"] = $val; + return $this; + } + + /** + * Gets the autoRestartNotificationDismissal + * Specify the method by which the auto-restart required notification is dismissed. Possible values are: notConfigured, automatic, user. + * + * @return AutoRestartNotificationDismissalMethod|null The autoRestartNotificationDismissal + */ + public function getAutoRestartNotificationDismissal() + { + if (array_key_exists("autoRestartNotificationDismissal", $this->_propDict)) { + if (is_a($this->_propDict["autoRestartNotificationDismissal"], "\Beta\Microsoft\Graph\Model\AutoRestartNotificationDismissalMethod") || is_null($this->_propDict["autoRestartNotificationDismissal"])) { + return $this->_propDict["autoRestartNotificationDismissal"]; + } else { + $this->_propDict["autoRestartNotificationDismissal"] = new AutoRestartNotificationDismissalMethod($this->_propDict["autoRestartNotificationDismissal"]); + return $this->_propDict["autoRestartNotificationDismissal"]; + } + } + return null; + } + + /** + * Sets the autoRestartNotificationDismissal + * Specify the method by which the auto-restart required notification is dismissed. Possible values are: notConfigured, automatic, user. + * + * @param AutoRestartNotificationDismissalMethod $val The autoRestartNotificationDismissal + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setAutoRestartNotificationDismissal($val) + { + $this->_propDict["autoRestartNotificationDismissal"] = $val; + return $this; + } + + /** + * Gets the businessReadyUpdatesOnly + * Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. + * + * @return WindowsUpdateType|null The businessReadyUpdatesOnly + */ + public function getBusinessReadyUpdatesOnly() + { + if (array_key_exists("businessReadyUpdatesOnly", $this->_propDict)) { + if (is_a($this->_propDict["businessReadyUpdatesOnly"], "\Beta\Microsoft\Graph\Model\WindowsUpdateType") || is_null($this->_propDict["businessReadyUpdatesOnly"])) { + return $this->_propDict["businessReadyUpdatesOnly"]; + } else { + $this->_propDict["businessReadyUpdatesOnly"] = new WindowsUpdateType($this->_propDict["businessReadyUpdatesOnly"]); + return $this->_propDict["businessReadyUpdatesOnly"]; + } + } + return null; + } + + /** + * Sets the businessReadyUpdatesOnly + * Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. + * + * @param WindowsUpdateType $val The businessReadyUpdatesOnly + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setBusinessReadyUpdatesOnly($val) + { + $this->_propDict["businessReadyUpdatesOnly"] = $val; + return $this; + } + + /** + * Gets the deadlineForFeatureUpdatesInDays + * Number of days before feature updates are installed automatically with valid range from 2 to 30 days + * + * @return int|null The deadlineForFeatureUpdatesInDays + */ + public function getDeadlineForFeatureUpdatesInDays() + { + if (array_key_exists("deadlineForFeatureUpdatesInDays", $this->_propDict)) { + return $this->_propDict["deadlineForFeatureUpdatesInDays"]; + } else { + return null; + } + } + + /** + * Sets the deadlineForFeatureUpdatesInDays + * Number of days before feature updates are installed automatically with valid range from 2 to 30 days + * + * @param int $val The deadlineForFeatureUpdatesInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDeadlineForFeatureUpdatesInDays($val) + { + $this->_propDict["deadlineForFeatureUpdatesInDays"] = intval($val); + return $this; + } + + /** + * Gets the deadlineForQualityUpdatesInDays + * Number of days before quality updates are installed automatically with valid range from 2 to 30 days + * + * @return int|null The deadlineForQualityUpdatesInDays + */ + public function getDeadlineForQualityUpdatesInDays() + { + if (array_key_exists("deadlineForQualityUpdatesInDays", $this->_propDict)) { + return $this->_propDict["deadlineForQualityUpdatesInDays"]; + } else { + return null; + } + } + + /** + * Sets the deadlineForQualityUpdatesInDays + * Number of days before quality updates are installed automatically with valid range from 2 to 30 days + * + * @param int $val The deadlineForQualityUpdatesInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDeadlineForQualityUpdatesInDays($val) + { + $this->_propDict["deadlineForQualityUpdatesInDays"] = intval($val); + return $this; + } + + /** + * Gets the deadlineGracePeriodInDays + * Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days + * + * @return int|null The deadlineGracePeriodInDays + */ + public function getDeadlineGracePeriodInDays() + { + if (array_key_exists("deadlineGracePeriodInDays", $this->_propDict)) { + return $this->_propDict["deadlineGracePeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the deadlineGracePeriodInDays + * Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days + * + * @param int $val The deadlineGracePeriodInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDeadlineGracePeriodInDays($val) + { + $this->_propDict["deadlineGracePeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the deliveryOptimizationMode + * Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + * + * @return WindowsDeliveryOptimizationMode|null The deliveryOptimizationMode + */ + public function getDeliveryOptimizationMode() + { + if (array_key_exists("deliveryOptimizationMode", $this->_propDict)) { + if (is_a($this->_propDict["deliveryOptimizationMode"], "\Beta\Microsoft\Graph\Model\WindowsDeliveryOptimizationMode") || is_null($this->_propDict["deliveryOptimizationMode"])) { + return $this->_propDict["deliveryOptimizationMode"]; + } else { + $this->_propDict["deliveryOptimizationMode"] = new WindowsDeliveryOptimizationMode($this->_propDict["deliveryOptimizationMode"]); + return $this->_propDict["deliveryOptimizationMode"]; + } + } + return null; + } + + /** + * Sets the deliveryOptimizationMode + * Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + * + * @param WindowsDeliveryOptimizationMode $val The deliveryOptimizationMode + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDeliveryOptimizationMode($val) + { + $this->_propDict["deliveryOptimizationMode"] = $val; + return $this; + } + + /** + * Gets the driversExcluded + * Exclude Windows update Drivers + * + * @return bool|null The driversExcluded + */ + public function getDriversExcluded() + { + if (array_key_exists("driversExcluded", $this->_propDict)) { + return $this->_propDict["driversExcluded"]; + } else { + return null; + } + } + + /** + * Sets the driversExcluded + * Exclude Windows update Drivers + * + * @param bool $val The driversExcluded + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDriversExcluded($val) + { + $this->_propDict["driversExcluded"] = boolval($val); + return $this; + } + + /** + * Gets the engagedRestartDeadlineInDays + * Deadline in days before automatically scheduling and executing a pending restart outside of active hours, with valid range from 2 to 30 days + * + * @return int|null The engagedRestartDeadlineInDays + */ + public function getEngagedRestartDeadlineInDays() + { + if (array_key_exists("engagedRestartDeadlineInDays", $this->_propDict)) { + return $this->_propDict["engagedRestartDeadlineInDays"]; + } else { + return null; + } + } + + /** + * Sets the engagedRestartDeadlineInDays + * Deadline in days before automatically scheduling and executing a pending restart outside of active hours, with valid range from 2 to 30 days + * + * @param int $val The engagedRestartDeadlineInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setEngagedRestartDeadlineInDays($val) + { + $this->_propDict["engagedRestartDeadlineInDays"] = intval($val); + return $this; + } + + /** + * Gets the engagedRestartSnoozeScheduleInDays + * Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days + * + * @return int|null The engagedRestartSnoozeScheduleInDays + */ + public function getEngagedRestartSnoozeScheduleInDays() + { + if (array_key_exists("engagedRestartSnoozeScheduleInDays", $this->_propDict)) { + return $this->_propDict["engagedRestartSnoozeScheduleInDays"]; + } else { + return null; + } + } + + /** + * Sets the engagedRestartSnoozeScheduleInDays + * Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days + * + * @param int $val The engagedRestartSnoozeScheduleInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setEngagedRestartSnoozeScheduleInDays($val) + { + $this->_propDict["engagedRestartSnoozeScheduleInDays"] = intval($val); + return $this; + } + + /** + * Gets the engagedRestartTransitionScheduleInDays + * Number of days before transitioning from Auto Restarts scheduled outside of active hours to Engaged Restart, which requires the user to schedule, with valid range from 0 to 30 days + * + * @return int|null The engagedRestartTransitionScheduleInDays + */ + public function getEngagedRestartTransitionScheduleInDays() + { + if (array_key_exists("engagedRestartTransitionScheduleInDays", $this->_propDict)) { + return $this->_propDict["engagedRestartTransitionScheduleInDays"]; + } else { + return null; + } + } + + /** + * Sets the engagedRestartTransitionScheduleInDays + * Number of days before transitioning from Auto Restarts scheduled outside of active hours to Engaged Restart, which requires the user to schedule, with valid range from 0 to 30 days + * + * @param int $val The engagedRestartTransitionScheduleInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setEngagedRestartTransitionScheduleInDays($val) + { + $this->_propDict["engagedRestartTransitionScheduleInDays"] = intval($val); + return $this; + } + + /** + * Gets the featureUpdatesDeferralPeriodInDays + * Defer Feature Updates by these many days + * + * @return int|null The featureUpdatesDeferralPeriodInDays + */ + public function getFeatureUpdatesDeferralPeriodInDays() + { + if (array_key_exists("featureUpdatesDeferralPeriodInDays", $this->_propDict)) { + return $this->_propDict["featureUpdatesDeferralPeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdatesDeferralPeriodInDays + * Defer Feature Updates by these many days + * + * @param int $val The featureUpdatesDeferralPeriodInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesDeferralPeriodInDays($val) + { + $this->_propDict["featureUpdatesDeferralPeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the featureUpdatesPaused + * Pause Feature Updates + * + * @return bool|null The featureUpdatesPaused + */ + public function getFeatureUpdatesPaused() + { + if (array_key_exists("featureUpdatesPaused", $this->_propDict)) { + return $this->_propDict["featureUpdatesPaused"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdatesPaused + * Pause Feature Updates + * + * @param bool $val The featureUpdatesPaused + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesPaused($val) + { + $this->_propDict["featureUpdatesPaused"] = boolval($val); + return $this; + } + + /** + * Gets the featureUpdatesPauseExpiryDateTime + * Feature Updates Pause Expiry datetime + * + * @return \DateTime|null The featureUpdatesPauseExpiryDateTime + */ + public function getFeatureUpdatesPauseExpiryDateTime() + { + if (array_key_exists("featureUpdatesPauseExpiryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["featureUpdatesPauseExpiryDateTime"], "\DateTime") || is_null($this->_propDict["featureUpdatesPauseExpiryDateTime"])) { + return $this->_propDict["featureUpdatesPauseExpiryDateTime"]; + } else { + $this->_propDict["featureUpdatesPauseExpiryDateTime"] = new \DateTime($this->_propDict["featureUpdatesPauseExpiryDateTime"]); + return $this->_propDict["featureUpdatesPauseExpiryDateTime"]; + } + } + return null; + } + + /** + * Sets the featureUpdatesPauseExpiryDateTime + * Feature Updates Pause Expiry datetime + * + * @param \DateTime $val The featureUpdatesPauseExpiryDateTime + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesPauseExpiryDateTime($val) + { + $this->_propDict["featureUpdatesPauseExpiryDateTime"] = $val; + return $this; + } + + /** + * Gets the featureUpdatesPauseStartDate + * Feature Updates Pause start date. This property is read-only. + * + * @return \DateTime|null The featureUpdatesPauseStartDate + */ + public function getFeatureUpdatesPauseStartDate() + { + if (array_key_exists("featureUpdatesPauseStartDate", $this->_propDict)) { + if (is_a($this->_propDict["featureUpdatesPauseStartDate"], "\DateTime") || is_null($this->_propDict["featureUpdatesPauseStartDate"])) { + return $this->_propDict["featureUpdatesPauseStartDate"]; + } else { + $this->_propDict["featureUpdatesPauseStartDate"] = new \DateTime($this->_propDict["featureUpdatesPauseStartDate"]); + return $this->_propDict["featureUpdatesPauseStartDate"]; + } + } + return null; + } + + /** + * Sets the featureUpdatesPauseStartDate + * Feature Updates Pause start date. This property is read-only. + * + * @param \DateTime $val The featureUpdatesPauseStartDate + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesPauseStartDate($val) + { + $this->_propDict["featureUpdatesPauseStartDate"] = $val; + return $this; + } + + /** + * Gets the featureUpdatesRollbackStartDateTime + * Feature Updates Rollback Start datetime + * + * @return \DateTime|null The featureUpdatesRollbackStartDateTime + */ + public function getFeatureUpdatesRollbackStartDateTime() + { + if (array_key_exists("featureUpdatesRollbackStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["featureUpdatesRollbackStartDateTime"], "\DateTime") || is_null($this->_propDict["featureUpdatesRollbackStartDateTime"])) { + return $this->_propDict["featureUpdatesRollbackStartDateTime"]; + } else { + $this->_propDict["featureUpdatesRollbackStartDateTime"] = new \DateTime($this->_propDict["featureUpdatesRollbackStartDateTime"]); + return $this->_propDict["featureUpdatesRollbackStartDateTime"]; + } + } + return null; + } + + /** + * Sets the featureUpdatesRollbackStartDateTime + * Feature Updates Rollback Start datetime + * + * @param \DateTime $val The featureUpdatesRollbackStartDateTime + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesRollbackStartDateTime($val) + { + $this->_propDict["featureUpdatesRollbackStartDateTime"] = $val; + return $this; + } + + /** + * Gets the featureUpdatesRollbackWindowInDays + * The number of days after a Feature Update for which a rollback is valid + * + * @return int|null The featureUpdatesRollbackWindowInDays + */ + public function getFeatureUpdatesRollbackWindowInDays() + { + if (array_key_exists("featureUpdatesRollbackWindowInDays", $this->_propDict)) { + return $this->_propDict["featureUpdatesRollbackWindowInDays"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdatesRollbackWindowInDays + * The number of days after a Feature Update for which a rollback is valid + * + * @param int $val The featureUpdatesRollbackWindowInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesRollbackWindowInDays($val) + { + $this->_propDict["featureUpdatesRollbackWindowInDays"] = intval($val); + return $this; + } + + /** + * Gets the featureUpdatesWillBeRolledBack + * Specifies whether to rollback Feature Updates on the next device check in + * + * @return bool|null The featureUpdatesWillBeRolledBack + */ + public function getFeatureUpdatesWillBeRolledBack() + { + if (array_key_exists("featureUpdatesWillBeRolledBack", $this->_propDict)) { + return $this->_propDict["featureUpdatesWillBeRolledBack"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdatesWillBeRolledBack + * Specifies whether to rollback Feature Updates on the next device check in + * + * @param bool $val The featureUpdatesWillBeRolledBack + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesWillBeRolledBack($val) + { + $this->_propDict["featureUpdatesWillBeRolledBack"] = boolval($val); + return $this; + } + + /** + * Gets the installationSchedule + * Installation schedule + * + * @return WindowsUpdateInstallScheduleType|null The installationSchedule + */ + public function getInstallationSchedule() + { + if (array_key_exists("installationSchedule", $this->_propDict)) { + if (is_a($this->_propDict["installationSchedule"], "\Beta\Microsoft\Graph\Model\WindowsUpdateInstallScheduleType") || is_null($this->_propDict["installationSchedule"])) { + return $this->_propDict["installationSchedule"]; + } else { + $this->_propDict["installationSchedule"] = new WindowsUpdateInstallScheduleType($this->_propDict["installationSchedule"]); + return $this->_propDict["installationSchedule"]; + } + } + return null; + } + + /** + * Sets the installationSchedule + * Installation schedule + * + * @param WindowsUpdateInstallScheduleType $val The installationSchedule + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setInstallationSchedule($val) + { + $this->_propDict["installationSchedule"] = $val; + return $this; + } + + /** + * Gets the microsoftUpdateServiceAllowed + * Allow Microsoft Update Service + * + * @return bool|null The microsoftUpdateServiceAllowed + */ + public function getMicrosoftUpdateServiceAllowed() + { + if (array_key_exists("microsoftUpdateServiceAllowed", $this->_propDict)) { + return $this->_propDict["microsoftUpdateServiceAllowed"]; + } else { + return null; + } + } + + /** + * Sets the microsoftUpdateServiceAllowed + * Allow Microsoft Update Service + * + * @param bool $val The microsoftUpdateServiceAllowed + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setMicrosoftUpdateServiceAllowed($val) + { + $this->_propDict["microsoftUpdateServiceAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the postponeRebootUntilAfterDeadline + * Specifies if the device should wait until deadline for rebooting outside of active hours + * + * @return bool|null The postponeRebootUntilAfterDeadline + */ + public function getPostponeRebootUntilAfterDeadline() + { + if (array_key_exists("postponeRebootUntilAfterDeadline", $this->_propDict)) { + return $this->_propDict["postponeRebootUntilAfterDeadline"]; + } else { + return null; + } + } + + /** + * Sets the postponeRebootUntilAfterDeadline + * Specifies if the device should wait until deadline for rebooting outside of active hours + * + * @param bool $val The postponeRebootUntilAfterDeadline + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setPostponeRebootUntilAfterDeadline($val) + { + $this->_propDict["postponeRebootUntilAfterDeadline"] = boolval($val); + return $this; + } + + /** + * Gets the prereleaseFeatures + * The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. + * + * @return PrereleaseFeatures|null The prereleaseFeatures + */ + public function getPrereleaseFeatures() + { + if (array_key_exists("prereleaseFeatures", $this->_propDict)) { + if (is_a($this->_propDict["prereleaseFeatures"], "\Beta\Microsoft\Graph\Model\PrereleaseFeatures") || is_null($this->_propDict["prereleaseFeatures"])) { + return $this->_propDict["prereleaseFeatures"]; + } else { + $this->_propDict["prereleaseFeatures"] = new PrereleaseFeatures($this->_propDict["prereleaseFeatures"]); + return $this->_propDict["prereleaseFeatures"]; + } + } + return null; + } + + /** + * Sets the prereleaseFeatures + * The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. + * + * @param PrereleaseFeatures $val The prereleaseFeatures + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setPrereleaseFeatures($val) + { + $this->_propDict["prereleaseFeatures"] = $val; + return $this; + } + + /** + * Gets the qualityUpdatesDeferralPeriodInDays + * Defer Quality Updates by these many days + * + * @return int|null The qualityUpdatesDeferralPeriodInDays + */ + public function getQualityUpdatesDeferralPeriodInDays() + { + if (array_key_exists("qualityUpdatesDeferralPeriodInDays", $this->_propDict)) { + return $this->_propDict["qualityUpdatesDeferralPeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdatesDeferralPeriodInDays + * Defer Quality Updates by these many days + * + * @param int $val The qualityUpdatesDeferralPeriodInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesDeferralPeriodInDays($val) + { + $this->_propDict["qualityUpdatesDeferralPeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the qualityUpdatesPaused + * Pause Quality Updates + * + * @return bool|null The qualityUpdatesPaused + */ + public function getQualityUpdatesPaused() + { + if (array_key_exists("qualityUpdatesPaused", $this->_propDict)) { + return $this->_propDict["qualityUpdatesPaused"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdatesPaused + * Pause Quality Updates + * + * @param bool $val The qualityUpdatesPaused + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesPaused($val) + { + $this->_propDict["qualityUpdatesPaused"] = boolval($val); + return $this; + } + + /** + * Gets the qualityUpdatesPauseExpiryDateTime + * Quality Updates Pause Expiry datetime + * + * @return \DateTime|null The qualityUpdatesPauseExpiryDateTime + */ + public function getQualityUpdatesPauseExpiryDateTime() + { + if (array_key_exists("qualityUpdatesPauseExpiryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["qualityUpdatesPauseExpiryDateTime"], "\DateTime") || is_null($this->_propDict["qualityUpdatesPauseExpiryDateTime"])) { + return $this->_propDict["qualityUpdatesPauseExpiryDateTime"]; + } else { + $this->_propDict["qualityUpdatesPauseExpiryDateTime"] = new \DateTime($this->_propDict["qualityUpdatesPauseExpiryDateTime"]); + return $this->_propDict["qualityUpdatesPauseExpiryDateTime"]; + } + } + return null; + } + + /** + * Sets the qualityUpdatesPauseExpiryDateTime + * Quality Updates Pause Expiry datetime + * + * @param \DateTime $val The qualityUpdatesPauseExpiryDateTime + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesPauseExpiryDateTime($val) + { + $this->_propDict["qualityUpdatesPauseExpiryDateTime"] = $val; + return $this; + } + + /** + * Gets the qualityUpdatesPauseStartDate + * Quality Updates Pause start date. This property is read-only. + * + * @return \DateTime|null The qualityUpdatesPauseStartDate + */ + public function getQualityUpdatesPauseStartDate() + { + if (array_key_exists("qualityUpdatesPauseStartDate", $this->_propDict)) { + if (is_a($this->_propDict["qualityUpdatesPauseStartDate"], "\DateTime") || is_null($this->_propDict["qualityUpdatesPauseStartDate"])) { + return $this->_propDict["qualityUpdatesPauseStartDate"]; + } else { + $this->_propDict["qualityUpdatesPauseStartDate"] = new \DateTime($this->_propDict["qualityUpdatesPauseStartDate"]); + return $this->_propDict["qualityUpdatesPauseStartDate"]; + } + } + return null; + } + + /** + * Sets the qualityUpdatesPauseStartDate + * Quality Updates Pause start date. This property is read-only. + * + * @param \DateTime $val The qualityUpdatesPauseStartDate + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesPauseStartDate($val) + { + $this->_propDict["qualityUpdatesPauseStartDate"] = $val; + return $this; + } + + /** + * Gets the qualityUpdatesRollbackStartDateTime + * Quality Updates Rollback Start datetime + * + * @return \DateTime|null The qualityUpdatesRollbackStartDateTime + */ + public function getQualityUpdatesRollbackStartDateTime() + { + if (array_key_exists("qualityUpdatesRollbackStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["qualityUpdatesRollbackStartDateTime"], "\DateTime") || is_null($this->_propDict["qualityUpdatesRollbackStartDateTime"])) { + return $this->_propDict["qualityUpdatesRollbackStartDateTime"]; + } else { + $this->_propDict["qualityUpdatesRollbackStartDateTime"] = new \DateTime($this->_propDict["qualityUpdatesRollbackStartDateTime"]); + return $this->_propDict["qualityUpdatesRollbackStartDateTime"]; + } + } + return null; + } + + /** + * Sets the qualityUpdatesRollbackStartDateTime + * Quality Updates Rollback Start datetime + * + * @param \DateTime $val The qualityUpdatesRollbackStartDateTime + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesRollbackStartDateTime($val) + { + $this->_propDict["qualityUpdatesRollbackStartDateTime"] = $val; + return $this; + } + + /** + * Gets the qualityUpdatesWillBeRolledBack + * Specifies whether to rollback Quality Updates on the next device check in + * + * @return bool|null The qualityUpdatesWillBeRolledBack + */ + public function getQualityUpdatesWillBeRolledBack() + { + if (array_key_exists("qualityUpdatesWillBeRolledBack", $this->_propDict)) { + return $this->_propDict["qualityUpdatesWillBeRolledBack"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdatesWillBeRolledBack + * Specifies whether to rollback Quality Updates on the next device check in + * + * @param bool $val The qualityUpdatesWillBeRolledBack + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesWillBeRolledBack($val) + { + $this->_propDict["qualityUpdatesWillBeRolledBack"] = boolval($val); + return $this; + } + + /** + * Gets the scheduleImminentRestartWarningInMinutes + * Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). + * + * @return int|null The scheduleImminentRestartWarningInMinutes + */ + public function getScheduleImminentRestartWarningInMinutes() + { + if (array_key_exists("scheduleImminentRestartWarningInMinutes", $this->_propDict)) { + return $this->_propDict["scheduleImminentRestartWarningInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the scheduleImminentRestartWarningInMinutes + * Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). + * + * @param int $val The scheduleImminentRestartWarningInMinutes + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setScheduleImminentRestartWarningInMinutes($val) + { + $this->_propDict["scheduleImminentRestartWarningInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the scheduleRestartWarningInHours + * Specify the period for auto-restart warning reminder notifications. Supported values: 2, 4, 8, 12 or 24 (hours). + * + * @return int|null The scheduleRestartWarningInHours + */ + public function getScheduleRestartWarningInHours() + { + if (array_key_exists("scheduleRestartWarningInHours", $this->_propDict)) { + return $this->_propDict["scheduleRestartWarningInHours"]; + } else { + return null; + } + } + + /** + * Sets the scheduleRestartWarningInHours + * Specify the period for auto-restart warning reminder notifications. Supported values: 2, 4, 8, 12 or 24 (hours). + * + * @param int $val The scheduleRestartWarningInHours + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setScheduleRestartWarningInHours($val) + { + $this->_propDict["scheduleRestartWarningInHours"] = intval($val); + return $this; + } + + /** + * Gets the skipChecksBeforeRestart + * Set to skip all check before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc. + * + * @return bool|null The skipChecksBeforeRestart + */ + public function getSkipChecksBeforeRestart() + { + if (array_key_exists("skipChecksBeforeRestart", $this->_propDict)) { + return $this->_propDict["skipChecksBeforeRestart"]; + } else { + return null; + } + } + + /** + * Sets the skipChecksBeforeRestart + * Set to skip all check before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc. + * + * @param bool $val The skipChecksBeforeRestart + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setSkipChecksBeforeRestart($val) + { + $this->_propDict["skipChecksBeforeRestart"] = boolval($val); + return $this; + } + + /** + * Gets the updateNotificationLevel + * Specifies what Windows Update notifications users see. Possible values are: notConfigured, defaultNotifications, restartWarningsOnly, disableAllNotifications. + * + * @return WindowsUpdateNotificationDisplayOption|null The updateNotificationLevel + */ + public function getUpdateNotificationLevel() + { + if (array_key_exists("updateNotificationLevel", $this->_propDict)) { + if (is_a($this->_propDict["updateNotificationLevel"], "\Beta\Microsoft\Graph\Model\WindowsUpdateNotificationDisplayOption") || is_null($this->_propDict["updateNotificationLevel"])) { + return $this->_propDict["updateNotificationLevel"]; + } else { + $this->_propDict["updateNotificationLevel"] = new WindowsUpdateNotificationDisplayOption($this->_propDict["updateNotificationLevel"]); + return $this->_propDict["updateNotificationLevel"]; + } + } + return null; + } + + /** + * Sets the updateNotificationLevel + * Specifies what Windows Update notifications users see. Possible values are: notConfigured, defaultNotifications, restartWarningsOnly, disableAllNotifications. + * + * @param WindowsUpdateNotificationDisplayOption $val The updateNotificationLevel + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setUpdateNotificationLevel($val) + { + $this->_propDict["updateNotificationLevel"] = $val; + return $this; + } + + /** + * Gets the updateWeeks + * Scheduled the update installation on the weeks of the month. Possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek. + * + * @return WindowsUpdateForBusinessUpdateWeeks|null The updateWeeks + */ + public function getUpdateWeeks() + { + if (array_key_exists("updateWeeks", $this->_propDict)) { + if (is_a($this->_propDict["updateWeeks"], "\Beta\Microsoft\Graph\Model\WindowsUpdateForBusinessUpdateWeeks") || is_null($this->_propDict["updateWeeks"])) { + return $this->_propDict["updateWeeks"]; + } else { + $this->_propDict["updateWeeks"] = new WindowsUpdateForBusinessUpdateWeeks($this->_propDict["updateWeeks"]); + return $this->_propDict["updateWeeks"]; + } + } + return null; + } + + /** + * Sets the updateWeeks + * Scheduled the update installation on the weeks of the month. Possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek. + * + * @param WindowsUpdateForBusinessUpdateWeeks $val The updateWeeks + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setUpdateWeeks($val) + { + $this->_propDict["updateWeeks"] = $val; + return $this; + } + + /** + * Gets the userPauseAccess + * Specifies whether to enable end user’s access to pause software updates. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The userPauseAccess + */ + public function getUserPauseAccess() + { + if (array_key_exists("userPauseAccess", $this->_propDict)) { + if (is_a($this->_propDict["userPauseAccess"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["userPauseAccess"])) { + return $this->_propDict["userPauseAccess"]; + } else { + $this->_propDict["userPauseAccess"] = new Enablement($this->_propDict["userPauseAccess"]); + return $this->_propDict["userPauseAccess"]; + } + } + return null; + } + + /** + * Sets the userPauseAccess + * Specifies whether to enable end user’s access to pause software updates. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The userPauseAccess + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setUserPauseAccess($val) + { + $this->_propDict["userPauseAccess"] = $val; + return $this; + } + + /** + * Gets the userWindowsUpdateScanAccess + * Specifies whether to disable user’s access to scan Windows Update. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The userWindowsUpdateScanAccess + */ + public function getUserWindowsUpdateScanAccess() + { + if (array_key_exists("userWindowsUpdateScanAccess", $this->_propDict)) { + if (is_a($this->_propDict["userWindowsUpdateScanAccess"], "\Beta\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["userWindowsUpdateScanAccess"])) { + return $this->_propDict["userWindowsUpdateScanAccess"]; + } else { + $this->_propDict["userWindowsUpdateScanAccess"] = new Enablement($this->_propDict["userWindowsUpdateScanAccess"]); + return $this->_propDict["userWindowsUpdateScanAccess"]; + } + } + return null; + } + + /** + * Sets the userWindowsUpdateScanAccess + * Specifies whether to disable user’s access to scan Windows Update. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The userWindowsUpdateScanAccess + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setUserWindowsUpdateScanAccess($val) + { + $this->_propDict["userWindowsUpdateScanAccess"] = $val; + return $this; + } + + + /** + * Gets the deviceUpdateStates + * Windows update for business configuration device states. This collection can contain a maximum of 500 elements. + * + * @return array|null The deviceUpdateStates + */ + public function getDeviceUpdateStates() + { + if (array_key_exists("deviceUpdateStates", $this->_propDict)) { + return $this->_propDict["deviceUpdateStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceUpdateStates + * Windows update for business configuration device states. This collection can contain a maximum of 500 elements. + * + * @param WindowsUpdateState[] $val The deviceUpdateStates + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDeviceUpdateStates($val) + { + $this->_propDict["deviceUpdateStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessUpdateWeeks.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessUpdateWeeks.php new file mode 100644 index 0000000..0ea0771 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessUpdateWeeks.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["offerEndDateTimeInUTC"], "\DateTime") || is_null($this->_propDict["offerEndDateTimeInUTC"])) { + return $this->_propDict["offerEndDateTimeInUTC"]; + } else { + $this->_propDict["offerEndDateTimeInUTC"] = new \DateTime($this->_propDict["offerEndDateTimeInUTC"]); + return $this->_propDict["offerEndDateTimeInUTC"]; + } + } + return null; + } + + /** + * Sets the offerEndDateTimeInUTC + * The feature update's ending of release date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z. + * + * @param \DateTime $val The value to assign to the offerEndDateTimeInUTC + * + * @return WindowsUpdateRolloutSettings The WindowsUpdateRolloutSettings + */ + public function setOfferEndDateTimeInUTC($val) + { + $this->_propDict["offerEndDateTimeInUTC"] = $val; + return $this; + } + /** + * Gets the offerIntervalInDays + * The number of day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers. + * + * @return int|null The offerIntervalInDays + */ + public function getOfferIntervalInDays() + { + if (array_key_exists("offerIntervalInDays", $this->_propDict)) { + return $this->_propDict["offerIntervalInDays"]; + } else { + return null; + } + } + + /** + * Sets the offerIntervalInDays + * The number of day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers. + * + * @param int $val The value of the offerIntervalInDays + * + * @return WindowsUpdateRolloutSettings + */ + public function setOfferIntervalInDays($val) + { + $this->_propDict["offerIntervalInDays"] = $val; + return $this; + } + + /** + * Gets the offerStartDateTimeInUTC + * The feature update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z. + * + * @return \DateTime|null The offerStartDateTimeInUTC + */ + public function getOfferStartDateTimeInUTC() + { + if (array_key_exists("offerStartDateTimeInUTC", $this->_propDict)) { + if (is_a($this->_propDict["offerStartDateTimeInUTC"], "\DateTime") || is_null($this->_propDict["offerStartDateTimeInUTC"])) { + return $this->_propDict["offerStartDateTimeInUTC"]; + } else { + $this->_propDict["offerStartDateTimeInUTC"] = new \DateTime($this->_propDict["offerStartDateTimeInUTC"]); + return $this->_propDict["offerStartDateTimeInUTC"]; + } + } + return null; + } + + /** + * Sets the offerStartDateTimeInUTC + * The feature update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z. + * + * @param \DateTime $val The value to assign to the offerStartDateTimeInUTC + * + * @return WindowsUpdateRolloutSettings The WindowsUpdateRolloutSettings + */ + public function setOfferStartDateTimeInUTC($val) + { + $this->_propDict["offerStartDateTimeInUTC"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateScheduledInstall.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateScheduledInstall.php new file mode 100644 index 0000000..78d5fa6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateScheduledInstall.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.windowsUpdateScheduledInstall"); + } + + + /** + * Gets the scheduledInstallDay + * Scheduled Install Day in week. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @return WeeklySchedule|null The scheduledInstallDay + */ + public function getScheduledInstallDay() + { + if (array_key_exists("scheduledInstallDay", $this->_propDict)) { + if (is_a($this->_propDict["scheduledInstallDay"], "\Beta\Microsoft\Graph\Model\WeeklySchedule") || is_null($this->_propDict["scheduledInstallDay"])) { + return $this->_propDict["scheduledInstallDay"]; + } else { + $this->_propDict["scheduledInstallDay"] = new WeeklySchedule($this->_propDict["scheduledInstallDay"]); + return $this->_propDict["scheduledInstallDay"]; + } + } + return null; + } + + /** + * Sets the scheduledInstallDay + * Scheduled Install Day in week. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @param WeeklySchedule $val The value to assign to the scheduledInstallDay + * + * @return WindowsUpdateScheduledInstall The WindowsUpdateScheduledInstall + */ + public function setScheduledInstallDay($val) + { + $this->_propDict["scheduledInstallDay"] = $val; + return $this; + } + + /** + * Gets the scheduledInstallTime + * Scheduled Install Time during day + * + * @return TimeOfDay|null The scheduledInstallTime + */ + public function getScheduledInstallTime() + { + if (array_key_exists("scheduledInstallTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledInstallTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["scheduledInstallTime"])) { + return $this->_propDict["scheduledInstallTime"]; + } else { + $this->_propDict["scheduledInstallTime"] = new TimeOfDay($this->_propDict["scheduledInstallTime"]); + return $this->_propDict["scheduledInstallTime"]; + } + } + return null; + } + + /** + * Sets the scheduledInstallTime + * Scheduled Install Time during day + * + * @param TimeOfDay $val The value to assign to the scheduledInstallTime + * + * @return WindowsUpdateScheduledInstall The WindowsUpdateScheduledInstall + */ + public function setScheduledInstallTime($val) + { + $this->_propDict["scheduledInstallTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateState.php new file mode 100644 index 0000000..719ae05 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateState.php @@ -0,0 +1,300 @@ +_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device display name. + * + * @param string $val The deviceDisplayName + * + * @return WindowsUpdateState + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The id of the device. + * + * @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 id of the device. + * + * @param string $val The deviceId + * + * @return WindowsUpdateState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the featureUpdateVersion + * The current feature update version of the device. + * + * @return string|null The featureUpdateVersion + */ + public function getFeatureUpdateVersion() + { + if (array_key_exists("featureUpdateVersion", $this->_propDict)) { + return $this->_propDict["featureUpdateVersion"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdateVersion + * The current feature update version of the device. + * + * @param string $val The featureUpdateVersion + * + * @return WindowsUpdateState + */ + public function setFeatureUpdateVersion($val) + { + $this->_propDict["featureUpdateVersion"] = $val; + return $this; + } + + /** + * Gets the lastScanDateTime + * The date time that the Windows Update Agent did a successful scan. + * + * @return \DateTime|null The lastScanDateTime + */ + public function getLastScanDateTime() + { + if (array_key_exists("lastScanDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastScanDateTime"], "\DateTime") || is_null($this->_propDict["lastScanDateTime"])) { + return $this->_propDict["lastScanDateTime"]; + } else { + $this->_propDict["lastScanDateTime"] = new \DateTime($this->_propDict["lastScanDateTime"]); + return $this->_propDict["lastScanDateTime"]; + } + } + return null; + } + + /** + * Sets the lastScanDateTime + * The date time that the Windows Update Agent did a successful scan. + * + * @param \DateTime $val The lastScanDateTime + * + * @return WindowsUpdateState + */ + public function setLastScanDateTime($val) + { + $this->_propDict["lastScanDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last date time that the device sync with with Microsoft Intune. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last date time that the device sync with with Microsoft Intune. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return WindowsUpdateState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the qualityUpdateVersion + * The Quality Update Version of the device. + * + * @return string|null The qualityUpdateVersion + */ + public function getQualityUpdateVersion() + { + if (array_key_exists("qualityUpdateVersion", $this->_propDict)) { + return $this->_propDict["qualityUpdateVersion"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdateVersion + * The Quality Update Version of the device. + * + * @param string $val The qualityUpdateVersion + * + * @return WindowsUpdateState + */ + public function setQualityUpdateVersion($val) + { + $this->_propDict["qualityUpdateVersion"] = $val; + return $this; + } + + /** + * Gets the status + * Windows udpate status. Possible values are: upToDate, pendingInstallation, pendingReboot, failed. + * + * @return WindowsUpdateStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\WindowsUpdateStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new WindowsUpdateStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Windows udpate status. Possible values are: upToDate, pendingInstallation, pendingReboot, failed. + * + * @param WindowsUpdateStatus $val The status + * + * @return WindowsUpdateState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userId + * The id of the user. + * + * @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 + * The id of the user. + * + * @param string $val The userId + * + * @return WindowsUpdateState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User principal name. + * + * @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 + * User principal name. + * + * @param string $val The userPrincipalName + * + * @return WindowsUpdateState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateStatus.php new file mode 100644 index 0000000..51ec21a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["connectionName"]; + } else { + return null; + } + } + + /** + * Sets the connectionName + * Connection name displayed to the user. + * + * @param string $val The connectionName + * + * @return WindowsVpnConfiguration + */ + public function setConnectionName($val) + { + $this->_propDict["connectionName"] = $val; + return $this; + } + + /** + * Gets the customXml + * Custom XML commands that configures the VPN connection. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The customXml + */ + public function getCustomXml() + { + if (array_key_exists("customXml", $this->_propDict)) { + if (is_a($this->_propDict["customXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customXml"])) { + return $this->_propDict["customXml"]; + } else { + $this->_propDict["customXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customXml"]); + return $this->_propDict["customXml"]; + } + } + return null; + } + + /** + * Sets the customXml + * Custom XML commands that configures the VPN connection. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The customXml + * + * @return WindowsVpnConfiguration + */ + public function setCustomXml($val) + { + $this->_propDict["customXml"] = $val; + return $this; + } + + + /** + * Gets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @return array|null The servers + */ + public function getServers() + { + if (array_key_exists("servers", $this->_propDict)) { + return $this->_propDict["servers"]; + } else { + return null; + } + } + + /** + * Sets the servers + * List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. + * + * @param VpnServer[] $val The servers + * + * @return WindowsVpnConfiguration + */ + public function setServers($val) + { + $this->_propDict["servers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsVpnConnectionType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsVpnConnectionType.php new file mode 100644 index 0000000..986cc8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsVpnConnectionType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["connectAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the connectAutomatically + * Specify whether the wifi connection should connect automatically when in range. + * + * @param bool $val The connectAutomatically + * + * @return WindowsWifiConfiguration + */ + public function setConnectAutomatically($val) + { + $this->_propDict["connectAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the connectToPreferredNetwork + * Specify whether the wifi connection should connect to more preferred networks when already connected to this one. Requires ConnectAutomatically to be true. + * + * @return bool|null The connectToPreferredNetwork + */ + public function getConnectToPreferredNetwork() + { + if (array_key_exists("connectToPreferredNetwork", $this->_propDict)) { + return $this->_propDict["connectToPreferredNetwork"]; + } else { + return null; + } + } + + /** + * Sets the connectToPreferredNetwork + * Specify whether the wifi connection should connect to more preferred networks when already connected to this one. Requires ConnectAutomatically to be true. + * + * @param bool $val The connectToPreferredNetwork + * + * @return WindowsWifiConfiguration + */ + public function setConnectToPreferredNetwork($val) + { + $this->_propDict["connectToPreferredNetwork"] = boolval($val); + return $this; + } + + /** + * Gets the connectWhenNetworkNameIsHidden + * Specify whether the wifi connection should connect automatically even when the SSID is not broadcasting. + * + * @return bool|null The connectWhenNetworkNameIsHidden + */ + public function getConnectWhenNetworkNameIsHidden() + { + if (array_key_exists("connectWhenNetworkNameIsHidden", $this->_propDict)) { + return $this->_propDict["connectWhenNetworkNameIsHidden"]; + } else { + return null; + } + } + + /** + * Sets the connectWhenNetworkNameIsHidden + * Specify whether the wifi connection should connect automatically even when the SSID is not broadcasting. + * + * @param bool $val The connectWhenNetworkNameIsHidden + * + * @return WindowsWifiConfiguration + */ + public function setConnectWhenNetworkNameIsHidden($val) + { + $this->_propDict["connectWhenNetworkNameIsHidden"] = boolval($val); + return $this; + } + + /** + * Gets the forceFIPSCompliance + * Specify whether to force FIPS compliance. + * + * @return bool|null The forceFIPSCompliance + */ + public function getForceFIPSCompliance() + { + if (array_key_exists("forceFIPSCompliance", $this->_propDict)) { + return $this->_propDict["forceFIPSCompliance"]; + } else { + return null; + } + } + + /** + * Sets the forceFIPSCompliance + * Specify whether to force FIPS compliance. + * + * @param bool $val The forceFIPSCompliance + * + * @return WindowsWifiConfiguration + */ + public function setForceFIPSCompliance($val) + { + $this->_propDict["forceFIPSCompliance"] = boolval($val); + return $this; + } + + /** + * Gets the meteredConnectionLimit + * Specify the metered connection limit type for the wifi connection. Possible values are: unrestricted, fixed, variable. + * + * @return MeteredConnectionLimitType|null The meteredConnectionLimit + */ + public function getMeteredConnectionLimit() + { + if (array_key_exists("meteredConnectionLimit", $this->_propDict)) { + if (is_a($this->_propDict["meteredConnectionLimit"], "\Beta\Microsoft\Graph\Model\MeteredConnectionLimitType") || is_null($this->_propDict["meteredConnectionLimit"])) { + return $this->_propDict["meteredConnectionLimit"]; + } else { + $this->_propDict["meteredConnectionLimit"] = new MeteredConnectionLimitType($this->_propDict["meteredConnectionLimit"]); + return $this->_propDict["meteredConnectionLimit"]; + } + } + return null; + } + + /** + * Sets the meteredConnectionLimit + * Specify the metered connection limit type for the wifi connection. Possible values are: unrestricted, fixed, variable. + * + * @param MeteredConnectionLimitType $val The meteredConnectionLimit + * + * @return WindowsWifiConfiguration + */ + public function setMeteredConnectionLimit($val) + { + $this->_propDict["meteredConnectionLimit"] = $val; + return $this; + } + + /** + * Gets the networkName + * Specify the network configuration name. + * + * @return string|null The networkName + */ + public function getNetworkName() + { + if (array_key_exists("networkName", $this->_propDict)) { + return $this->_propDict["networkName"]; + } else { + return null; + } + } + + /** + * Sets the networkName + * Specify the network configuration name. + * + * @param string $val The networkName + * + * @return WindowsWifiConfiguration + */ + public function setNetworkName($val) + { + $this->_propDict["networkName"] = $val; + return $this; + } + + /** + * Gets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @return string|null The preSharedKey + */ + public function getPreSharedKey() + { + if (array_key_exists("preSharedKey", $this->_propDict)) { + return $this->_propDict["preSharedKey"]; + } else { + return null; + } + } + + /** + * Sets the preSharedKey + * This is the pre-shared key for WPA Personal Wi-Fi network. + * + * @param string $val The preSharedKey + * + * @return WindowsWifiConfiguration + */ + public function setPreSharedKey($val) + { + $this->_propDict["preSharedKey"] = $val; + return $this; + } + + /** + * Gets the proxyAutomaticConfigurationUrl + * Specify the URL for the proxy server configuration script. + * + * @return string|null The proxyAutomaticConfigurationUrl + */ + public function getProxyAutomaticConfigurationUrl() + { + if (array_key_exists("proxyAutomaticConfigurationUrl", $this->_propDict)) { + return $this->_propDict["proxyAutomaticConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the proxyAutomaticConfigurationUrl + * Specify the URL for the proxy server configuration script. + * + * @param string $val The proxyAutomaticConfigurationUrl + * + * @return WindowsWifiConfiguration + */ + public function setProxyAutomaticConfigurationUrl($val) + { + $this->_propDict["proxyAutomaticConfigurationUrl"] = $val; + return $this; + } + + /** + * Gets the proxyManualAddress + * Specify the IP address for the proxy server. + * + * @return string|null The proxyManualAddress + */ + public function getProxyManualAddress() + { + if (array_key_exists("proxyManualAddress", $this->_propDict)) { + return $this->_propDict["proxyManualAddress"]; + } else { + return null; + } + } + + /** + * Sets the proxyManualAddress + * Specify the IP address for the proxy server. + * + * @param string $val The proxyManualAddress + * + * @return WindowsWifiConfiguration + */ + public function setProxyManualAddress($val) + { + $this->_propDict["proxyManualAddress"] = $val; + return $this; + } + + /** + * Gets the proxyManualPort + * Specify the port for the proxy server. + * + * @return int|null The proxyManualPort + */ + public function getProxyManualPort() + { + if (array_key_exists("proxyManualPort", $this->_propDict)) { + return $this->_propDict["proxyManualPort"]; + } else { + return null; + } + } + + /** + * Sets the proxyManualPort + * Specify the port for the proxy server. + * + * @param int $val The proxyManualPort + * + * @return WindowsWifiConfiguration + */ + public function setProxyManualPort($val) + { + $this->_propDict["proxyManualPort"] = intval($val); + return $this; + } + + /** + * Gets the proxySetting + * Specify the proxy setting for Wi-Fi configuration. Possible values are: none, manual, automatic. + * + * @return WiFiProxySetting|null The proxySetting + */ + public function getProxySetting() + { + if (array_key_exists("proxySetting", $this->_propDict)) { + if (is_a($this->_propDict["proxySetting"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting") || is_null($this->_propDict["proxySetting"])) { + return $this->_propDict["proxySetting"]; + } else { + $this->_propDict["proxySetting"] = new WiFiProxySetting($this->_propDict["proxySetting"]); + return $this->_propDict["proxySetting"]; + } + } + return null; + } + + /** + * Sets the proxySetting + * Specify the proxy setting for Wi-Fi configuration. Possible values are: none, manual, automatic. + * + * @param WiFiProxySetting $val The proxySetting + * + * @return WindowsWifiConfiguration + */ + public function setProxySetting($val) + { + $this->_propDict["proxySetting"] = $val; + return $this; + } + + /** + * Gets the ssid + * Specify the SSID of the wifi connection. + * + * @return string|null The ssid + */ + public function getSsid() + { + if (array_key_exists("ssid", $this->_propDict)) { + return $this->_propDict["ssid"]; + } else { + return null; + } + } + + /** + * Sets the ssid + * Specify the SSID of the wifi connection. + * + * @param string $val The ssid + * + * @return WindowsWifiConfiguration + */ + public function setSsid($val) + { + $this->_propDict["ssid"] = $val; + return $this; + } + + /** + * Gets the wifiSecurityType + * Specify the Wifi Security Type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + * + * @return WiFiSecurityType|null The wifiSecurityType + */ + public function getWifiSecurityType() + { + if (array_key_exists("wifiSecurityType", $this->_propDict)) { + if (is_a($this->_propDict["wifiSecurityType"], "\Beta\Microsoft\Graph\Model\WiFiSecurityType") || is_null($this->_propDict["wifiSecurityType"])) { + return $this->_propDict["wifiSecurityType"]; + } else { + $this->_propDict["wifiSecurityType"] = new WiFiSecurityType($this->_propDict["wifiSecurityType"]); + return $this->_propDict["wifiSecurityType"]; + } + } + return null; + } + + /** + * Sets the wifiSecurityType + * Specify the Wifi Security Type. Possible values are: open, wpaPersonal, wpaEnterprise, wep, wpa2Personal, wpa2Enterprise. + * + * @param WiFiSecurityType $val The wifiSecurityType + * + * @return WindowsWifiConfiguration + */ + public function setWifiSecurityType($val) + { + $this->_propDict["wifiSecurityType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWifiEnterpriseEAPConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWifiEnterpriseEAPConfiguration.php new file mode 100644 index 0000000..b322c98 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWifiEnterpriseEAPConfiguration.php @@ -0,0 +1,839 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiFiAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Specify the authentication method. Possible values are: certificate, usernameAndPassword, derivedCredential. + * + * @param WiFiAuthenticationMethod $val The authenticationMethod + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the authenticationPeriodInSeconds + * Specify the number of seconds for the client to wait after an authentication attempt before failing. Valid range 1-3600. + * + * @return int|null The authenticationPeriodInSeconds + */ + public function getAuthenticationPeriodInSeconds() + { + if (array_key_exists("authenticationPeriodInSeconds", $this->_propDict)) { + return $this->_propDict["authenticationPeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the authenticationPeriodInSeconds + * Specify the number of seconds for the client to wait after an authentication attempt before failing. Valid range 1-3600. + * + * @param int $val The authenticationPeriodInSeconds + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setAuthenticationPeriodInSeconds($val) + { + $this->_propDict["authenticationPeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the authenticationRetryDelayPeriodInSeconds + * Specify the number of seconds between a failed authentication and the next authentication attempt. Valid range 1-3600. + * + * @return int|null The authenticationRetryDelayPeriodInSeconds + */ + public function getAuthenticationRetryDelayPeriodInSeconds() + { + if (array_key_exists("authenticationRetryDelayPeriodInSeconds", $this->_propDict)) { + return $this->_propDict["authenticationRetryDelayPeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the authenticationRetryDelayPeriodInSeconds + * Specify the number of seconds between a failed authentication and the next authentication attempt. Valid range 1-3600. + * + * @param int $val The authenticationRetryDelayPeriodInSeconds + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setAuthenticationRetryDelayPeriodInSeconds($val) + { + $this->_propDict["authenticationRetryDelayPeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the authenticationType + * Specify whether to authenticate the user, the device, either, or to use guest authentication (none). If you’re using certificate authentication, make sure the certificate type matches the authentication type. Possible values are: none, user, machine, machineOrUser, guest. + * + * @return WifiAuthenticationType|null The authenticationType + */ + public function getAuthenticationType() + { + if (array_key_exists("authenticationType", $this->_propDict)) { + if (is_a($this->_propDict["authenticationType"], "\Beta\Microsoft\Graph\Model\WifiAuthenticationType") || is_null($this->_propDict["authenticationType"])) { + return $this->_propDict["authenticationType"]; + } else { + $this->_propDict["authenticationType"] = new WifiAuthenticationType($this->_propDict["authenticationType"]); + return $this->_propDict["authenticationType"]; + } + } + return null; + } + + /** + * Sets the authenticationType + * Specify whether to authenticate the user, the device, either, or to use guest authentication (none). If you’re using certificate authentication, make sure the certificate type matches the authentication type. Possible values are: none, user, machine, machineOrUser, guest. + * + * @param WifiAuthenticationType $val The authenticationType + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setAuthenticationType($val) + { + $this->_propDict["authenticationType"] = $val; + return $this; + } + + /** + * Gets the cacheCredentials + * Specify whether to cache user credentials on the device so that users don’t need to keep entering them each time they connect. + * + * @return bool|null The cacheCredentials + */ + public function getCacheCredentials() + { + if (array_key_exists("cacheCredentials", $this->_propDict)) { + return $this->_propDict["cacheCredentials"]; + } else { + return null; + } + } + + /** + * Sets the cacheCredentials + * Specify whether to cache user credentials on the device so that users don’t need to keep entering them each time they connect. + * + * @param bool $val The cacheCredentials + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setCacheCredentials($val) + { + $this->_propDict["cacheCredentials"] = boolval($val); + return $this; + } + + /** + * Gets the disableUserPromptForServerValidation + * Specify whether to prevent the user from being prompted to authorize new servers for trusted certification authorities when EAP type is selected as PEAP. + * + * @return bool|null The disableUserPromptForServerValidation + */ + public function getDisableUserPromptForServerValidation() + { + if (array_key_exists("disableUserPromptForServerValidation", $this->_propDict)) { + return $this->_propDict["disableUserPromptForServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the disableUserPromptForServerValidation + * Specify whether to prevent the user from being prompted to authorize new servers for trusted certification authorities when EAP type is selected as PEAP. + * + * @param bool $val The disableUserPromptForServerValidation + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setDisableUserPromptForServerValidation($val) + { + $this->_propDict["disableUserPromptForServerValidation"] = boolval($val); + return $this; + } + + /** + * Gets the eapolStartPeriodInSeconds + * Specify the number of seconds to wait before sending an EAPOL (Extensible Authentication Protocol over LAN) Start message. Valid range 1-3600. + * + * @return int|null The eapolStartPeriodInSeconds + */ + public function getEapolStartPeriodInSeconds() + { + if (array_key_exists("eapolStartPeriodInSeconds", $this->_propDict)) { + return $this->_propDict["eapolStartPeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the eapolStartPeriodInSeconds + * Specify the number of seconds to wait before sending an EAPOL (Extensible Authentication Protocol over LAN) Start message. Valid range 1-3600. + * + * @param int $val The eapolStartPeriodInSeconds + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setEapolStartPeriodInSeconds($val) + { + $this->_propDict["eapolStartPeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @return EapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\EapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new EapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @param EapType $val The eapType + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the enablePairwiseMasterKeyCaching + * Specify whether the wifi connection should enable pairwise master key caching. + * + * @return bool|null The enablePairwiseMasterKeyCaching + */ + public function getEnablePairwiseMasterKeyCaching() + { + if (array_key_exists("enablePairwiseMasterKeyCaching", $this->_propDict)) { + return $this->_propDict["enablePairwiseMasterKeyCaching"]; + } else { + return null; + } + } + + /** + * Sets the enablePairwiseMasterKeyCaching + * Specify whether the wifi connection should enable pairwise master key caching. + * + * @param bool $val The enablePairwiseMasterKeyCaching + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setEnablePairwiseMasterKeyCaching($val) + { + $this->_propDict["enablePairwiseMasterKeyCaching"] = boolval($val); + return $this; + } + + /** + * Gets the enablePreAuthentication + * Specify whether pre-authentication should be enabled. + * + * @return bool|null The enablePreAuthentication + */ + public function getEnablePreAuthentication() + { + if (array_key_exists("enablePreAuthentication", $this->_propDict)) { + return $this->_propDict["enablePreAuthentication"]; + } else { + return null; + } + } + + /** + * Sets the enablePreAuthentication + * Specify whether pre-authentication should be enabled. + * + * @param bool $val The enablePreAuthentication + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setEnablePreAuthentication($val) + { + $this->_propDict["enablePreAuthentication"] = boolval($val); + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEAPTTLS + * Specify inner authentication protocol for EAP TTLS. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEAPTTLS + */ + public function getInnerAuthenticationProtocolForEAPTTLS() + { + if (array_key_exists("innerAuthenticationProtocolForEAPTTLS", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEAPTTLS"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEAPTTLS"])) { + return $this->_propDict["innerAuthenticationProtocolForEAPTTLS"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEAPTTLS"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEAPTTLS"]); + return $this->_propDict["innerAuthenticationProtocolForEAPTTLS"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEAPTTLS + * Specify inner authentication protocol for EAP TTLS. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEAPTTLS + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setInnerAuthenticationProtocolForEAPTTLS($val) + { + $this->_propDict["innerAuthenticationProtocolForEAPTTLS"] = $val; + return $this; + } + + /** + * Gets the maximumAuthenticationFailures + * Specify the maximum authentication failures allowed for a set of credentials. Valid range 1-100. + * + * @return int|null The maximumAuthenticationFailures + */ + public function getMaximumAuthenticationFailures() + { + if (array_key_exists("maximumAuthenticationFailures", $this->_propDict)) { + return $this->_propDict["maximumAuthenticationFailures"]; + } else { + return null; + } + } + + /** + * Sets the maximumAuthenticationFailures + * Specify the maximum authentication failures allowed for a set of credentials. Valid range 1-100. + * + * @param int $val The maximumAuthenticationFailures + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setMaximumAuthenticationFailures($val) + { + $this->_propDict["maximumAuthenticationFailures"] = intval($val); + return $this; + } + + /** + * Gets the maximumAuthenticationTimeoutInSeconds + * Specify maximum authentication timeout (in seconds). Valid range: 1-120 + * + * @return int|null The maximumAuthenticationTimeoutInSeconds + */ + public function getMaximumAuthenticationTimeoutInSeconds() + { + if (array_key_exists("maximumAuthenticationTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["maximumAuthenticationTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the maximumAuthenticationTimeoutInSeconds + * Specify maximum authentication timeout (in seconds). Valid range: 1-120 + * + * @param int $val The maximumAuthenticationTimeoutInSeconds + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setMaximumAuthenticationTimeoutInSeconds($val) + { + $this->_propDict["maximumAuthenticationTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the maximumEAPOLStartMessages + * Specifiy the maximum number of EAPOL (Extensible Authentication Protocol over LAN) Start messages to be sent before returning failure. Valid range 1-100. + * + * @return int|null The maximumEAPOLStartMessages + */ + public function getMaximumEAPOLStartMessages() + { + if (array_key_exists("maximumEAPOLStartMessages", $this->_propDict)) { + return $this->_propDict["maximumEAPOLStartMessages"]; + } else { + return null; + } + } + + /** + * Sets the maximumEAPOLStartMessages + * Specifiy the maximum number of EAPOL (Extensible Authentication Protocol over LAN) Start messages to be sent before returning failure. Valid range 1-100. + * + * @param int $val The maximumEAPOLStartMessages + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setMaximumEAPOLStartMessages($val) + { + $this->_propDict["maximumEAPOLStartMessages"] = intval($val); + return $this; + } + + /** + * Gets the maximumNumberOfPairwiseMasterKeysInCache + * Specify maximum number of pairwise master keys in cache. Valid range: 1-255 + * + * @return int|null The maximumNumberOfPairwiseMasterKeysInCache + */ + public function getMaximumNumberOfPairwiseMasterKeysInCache() + { + if (array_key_exists("maximumNumberOfPairwiseMasterKeysInCache", $this->_propDict)) { + return $this->_propDict["maximumNumberOfPairwiseMasterKeysInCache"]; + } else { + return null; + } + } + + /** + * Sets the maximumNumberOfPairwiseMasterKeysInCache + * Specify maximum number of pairwise master keys in cache. Valid range: 1-255 + * + * @param int $val The maximumNumberOfPairwiseMasterKeysInCache + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setMaximumNumberOfPairwiseMasterKeysInCache($val) + { + $this->_propDict["maximumNumberOfPairwiseMasterKeysInCache"] = intval($val); + return $this; + } + + /** + * Gets the maximumPairwiseMasterKeyCacheTimeInMinutes + * Specify maximum pairwise master key cache time (in minutes). Valid range: 5-1440 + * + * @return int|null The maximumPairwiseMasterKeyCacheTimeInMinutes + */ + public function getMaximumPairwiseMasterKeyCacheTimeInMinutes() + { + if (array_key_exists("maximumPairwiseMasterKeyCacheTimeInMinutes", $this->_propDict)) { + return $this->_propDict["maximumPairwiseMasterKeyCacheTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the maximumPairwiseMasterKeyCacheTimeInMinutes + * Specify maximum pairwise master key cache time (in minutes). Valid range: 5-1440 + * + * @param int $val The maximumPairwiseMasterKeyCacheTimeInMinutes + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setMaximumPairwiseMasterKeyCacheTimeInMinutes($val) + { + $this->_propDict["maximumPairwiseMasterKeyCacheTimeInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the maximumPreAuthenticationAttempts + * Specify maximum pre-authentication attempts. Valid range: 1-16 + * + * @return int|null The maximumPreAuthenticationAttempts + */ + public function getMaximumPreAuthenticationAttempts() + { + if (array_key_exists("maximumPreAuthenticationAttempts", $this->_propDict)) { + return $this->_propDict["maximumPreAuthenticationAttempts"]; + } else { + return null; + } + } + + /** + * Sets the maximumPreAuthenticationAttempts + * Specify maximum pre-authentication attempts. Valid range: 1-16 + * + * @param int $val The maximumPreAuthenticationAttempts + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setMaximumPreAuthenticationAttempts($val) + { + $this->_propDict["maximumPreAuthenticationAttempts"] = intval($val); + return $this; + } + + /** + * Gets the networkSingleSignOn + * Specify the network single sign on type. Possible values are: disabled, prelogon, postlogon. + * + * @return NetworkSingleSignOnType|null The networkSingleSignOn + */ + public function getNetworkSingleSignOn() + { + if (array_key_exists("networkSingleSignOn", $this->_propDict)) { + if (is_a($this->_propDict["networkSingleSignOn"], "\Beta\Microsoft\Graph\Model\NetworkSingleSignOnType") || is_null($this->_propDict["networkSingleSignOn"])) { + return $this->_propDict["networkSingleSignOn"]; + } else { + $this->_propDict["networkSingleSignOn"] = new NetworkSingleSignOnType($this->_propDict["networkSingleSignOn"]); + return $this->_propDict["networkSingleSignOn"]; + } + } + return null; + } + + /** + * Sets the networkSingleSignOn + * Specify the network single sign on type. Possible values are: disabled, prelogon, postlogon. + * + * @param NetworkSingleSignOnType $val The networkSingleSignOn + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setNetworkSingleSignOn($val) + { + $this->_propDict["networkSingleSignOn"] = $val; + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Specify the string to replace usernames for privacy when using EAP TTLS or PEAP. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Specify the string to replace usernames for privacy when using EAP TTLS or PEAP. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the performServerValidation + * Specify whether to enable verification of server's identity by validating the certificate when EAP type is selected as PEAP. + * + * @return bool|null The performServerValidation + */ + public function getPerformServerValidation() + { + if (array_key_exists("performServerValidation", $this->_propDict)) { + return $this->_propDict["performServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the performServerValidation + * Specify whether to enable verification of server's identity by validating the certificate when EAP type is selected as PEAP. + * + * @param bool $val The performServerValidation + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setPerformServerValidation($val) + { + $this->_propDict["performServerValidation"] = boolval($val); + return $this; + } + + /** + * Gets the promptForAdditionalAuthenticationCredentials + * Specify whether the wifi connection should prompt for additional authentication credentials. + * + * @return bool|null The promptForAdditionalAuthenticationCredentials + */ + public function getPromptForAdditionalAuthenticationCredentials() + { + if (array_key_exists("promptForAdditionalAuthenticationCredentials", $this->_propDict)) { + return $this->_propDict["promptForAdditionalAuthenticationCredentials"]; + } else { + return null; + } + } + + /** + * Sets the promptForAdditionalAuthenticationCredentials + * Specify whether the wifi connection should prompt for additional authentication credentials. + * + * @param bool $val The promptForAdditionalAuthenticationCredentials + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setPromptForAdditionalAuthenticationCredentials($val) + { + $this->_propDict["promptForAdditionalAuthenticationCredentials"] = boolval($val); + return $this; + } + + /** + * Gets the requireCryptographicBinding + * Specify whether to enable cryptographic binding when EAP type is selected as PEAP. + * + * @return bool|null The requireCryptographicBinding + */ + public function getRequireCryptographicBinding() + { + if (array_key_exists("requireCryptographicBinding", $this->_propDict)) { + return $this->_propDict["requireCryptographicBinding"]; + } else { + return null; + } + } + + /** + * Sets the requireCryptographicBinding + * Specify whether to enable cryptographic binding when EAP type is selected as PEAP. + * + * @param bool $val The requireCryptographicBinding + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setRequireCryptographicBinding($val) + { + $this->_propDict["requireCryptographicBinding"] = boolval($val); + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Specify trusted server certificate names. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Specify trusted server certificate names. + * + * @param string $val The trustedServerCertificateNames + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the userBasedVirtualLan + * Specifiy whether to change the virtual LAN used by the device based on the user’s credentials. Cannot be used when NetworkSingleSignOnType is set to ​Disabled. + * + * @return bool|null The userBasedVirtualLan + */ + public function getUserBasedVirtualLan() + { + if (array_key_exists("userBasedVirtualLan", $this->_propDict)) { + return $this->_propDict["userBasedVirtualLan"]; + } else { + return null; + } + } + + /** + * Sets the userBasedVirtualLan + * Specifiy whether to change the virtual LAN used by the device based on the user’s credentials. Cannot be used when NetworkSingleSignOnType is set to ​Disabled. + * + * @param bool $val The userBasedVirtualLan + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setUserBasedVirtualLan($val) + { + $this->_propDict["userBasedVirtualLan"] = boolval($val); + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Specify identity certificate for client authentication. + * + * @return WindowsCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\WindowsCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new WindowsCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Specify identity certificate for client authentication. + * + * @param WindowsCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForClientValidation + * Specify root certificate for client validation. + * + * @return Windows81TrustedRootCertificate|null The rootCertificateForClientValidation + */ + public function getRootCertificateForClientValidation() + { + if (array_key_exists("rootCertificateForClientValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForClientValidation"], "\Beta\Microsoft\Graph\Model\Windows81TrustedRootCertificate") || is_null($this->_propDict["rootCertificateForClientValidation"])) { + return $this->_propDict["rootCertificateForClientValidation"]; + } else { + $this->_propDict["rootCertificateForClientValidation"] = new Windows81TrustedRootCertificate($this->_propDict["rootCertificateForClientValidation"]); + return $this->_propDict["rootCertificateForClientValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForClientValidation + * Specify root certificate for client validation. + * + * @param Windows81TrustedRootCertificate $val The rootCertificateForClientValidation + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setRootCertificateForClientValidation($val) + { + $this->_propDict["rootCertificateForClientValidation"] = $val; + return $this; + } + + + /** + * Gets the rootCertificatesForServerValidation + * Specify root certificate for server validation. This collection can contain a maximum of 500 elements. + * + * @return array|null The rootCertificatesForServerValidation + */ + public function getRootCertificatesForServerValidation() + { + if (array_key_exists("rootCertificatesForServerValidation", $this->_propDict)) { + return $this->_propDict["rootCertificatesForServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the rootCertificatesForServerValidation + * Specify root certificate for server validation. This collection can contain a maximum of 500 elements. + * + * @param Windows81TrustedRootCertificate[] $val The rootCertificatesForServerValidation + * + * @return WindowsWifiEnterpriseEAPConfiguration + */ + public function setRootCertificatesForServerValidation($val) + { + $this->_propDict["rootCertificatesForServerValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWiredNetworkConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWiredNetworkConfiguration.php new file mode 100644 index 0000000..f8f7231 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWiredNetworkConfiguration.php @@ -0,0 +1,760 @@ +_propDict)) { + return $this->_propDict["authenticationBlockPeriodInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the authenticationBlockPeriodInMinutes + * Specify the duration for which automatic authentication attempts will be blocked from occuring after a failed authentication attempt. + * + * @param int $val The authenticationBlockPeriodInMinutes + * + * @return WindowsWiredNetworkConfiguration + */ + public function setAuthenticationBlockPeriodInMinutes($val) + { + $this->_propDict["authenticationBlockPeriodInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the authenticationMethod + * Specify the authentication method. Possible values are: certificate, usernameAndPassword, derivedCredential. Possible values are: certificate, usernameAndPassword, derivedCredential, unknownFutureValue. + * + * @return WiredNetworkAuthenticationMethod|null The authenticationMethod + */ + public function getAuthenticationMethod() + { + if (array_key_exists("authenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiredNetworkAuthenticationMethod") || is_null($this->_propDict["authenticationMethod"])) { + return $this->_propDict["authenticationMethod"]; + } else { + $this->_propDict["authenticationMethod"] = new WiredNetworkAuthenticationMethod($this->_propDict["authenticationMethod"]); + return $this->_propDict["authenticationMethod"]; + } + } + return null; + } + + /** + * Sets the authenticationMethod + * Specify the authentication method. Possible values are: certificate, usernameAndPassword, derivedCredential. Possible values are: certificate, usernameAndPassword, derivedCredential, unknownFutureValue. + * + * @param WiredNetworkAuthenticationMethod $val The authenticationMethod + * + * @return WindowsWiredNetworkConfiguration + */ + public function setAuthenticationMethod($val) + { + $this->_propDict["authenticationMethod"] = $val; + return $this; + } + + /** + * Gets the authenticationPeriodInSeconds + * Specify the number of seconds for the client to wait after an authentication attempt before failing. Valid range 1-3600. + * + * @return int|null The authenticationPeriodInSeconds + */ + public function getAuthenticationPeriodInSeconds() + { + if (array_key_exists("authenticationPeriodInSeconds", $this->_propDict)) { + return $this->_propDict["authenticationPeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the authenticationPeriodInSeconds + * Specify the number of seconds for the client to wait after an authentication attempt before failing. Valid range 1-3600. + * + * @param int $val The authenticationPeriodInSeconds + * + * @return WindowsWiredNetworkConfiguration + */ + public function setAuthenticationPeriodInSeconds($val) + { + $this->_propDict["authenticationPeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the authenticationRetryDelayPeriodInSeconds + * Specify the number of seconds between a failed authentication and the next authentication attempt. Valid range 1-3600. + * + * @return int|null The authenticationRetryDelayPeriodInSeconds + */ + public function getAuthenticationRetryDelayPeriodInSeconds() + { + if (array_key_exists("authenticationRetryDelayPeriodInSeconds", $this->_propDict)) { + return $this->_propDict["authenticationRetryDelayPeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the authenticationRetryDelayPeriodInSeconds + * Specify the number of seconds between a failed authentication and the next authentication attempt. Valid range 1-3600. + * + * @param int $val The authenticationRetryDelayPeriodInSeconds + * + * @return WindowsWiredNetworkConfiguration + */ + public function setAuthenticationRetryDelayPeriodInSeconds($val) + { + $this->_propDict["authenticationRetryDelayPeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the authenticationType + * Specify whether to authenticate the user, the device, either, or to use guest authentication (none). If you're using certificate authentication, make sure the certificate type matches the authentication type. Possible values are: none, user, machine, machineOrUser, guest. Possible values are: none, user, machine, machineOrUser, guest, unknownFutureValue. + * + * @return WiredNetworkAuthenticationType|null The authenticationType + */ + public function getAuthenticationType() + { + if (array_key_exists("authenticationType", $this->_propDict)) { + if (is_a($this->_propDict["authenticationType"], "\Beta\Microsoft\Graph\Model\WiredNetworkAuthenticationType") || is_null($this->_propDict["authenticationType"])) { + return $this->_propDict["authenticationType"]; + } else { + $this->_propDict["authenticationType"] = new WiredNetworkAuthenticationType($this->_propDict["authenticationType"]); + return $this->_propDict["authenticationType"]; + } + } + return null; + } + + /** + * Sets the authenticationType + * Specify whether to authenticate the user, the device, either, or to use guest authentication (none). If you're using certificate authentication, make sure the certificate type matches the authentication type. Possible values are: none, user, machine, machineOrUser, guest. Possible values are: none, user, machine, machineOrUser, guest, unknownFutureValue. + * + * @param WiredNetworkAuthenticationType $val The authenticationType + * + * @return WindowsWiredNetworkConfiguration + */ + public function setAuthenticationType($val) + { + $this->_propDict["authenticationType"] = $val; + return $this; + } + + /** + * Gets the cacheCredentials + * When TRUE, caches user credentials on the device so that users don't need to keep entering them each time they connect. When FALSE, do not cache credentials. Default value is FALSE. + * + * @return bool|null The cacheCredentials + */ + public function getCacheCredentials() + { + if (array_key_exists("cacheCredentials", $this->_propDict)) { + return $this->_propDict["cacheCredentials"]; + } else { + return null; + } + } + + /** + * Sets the cacheCredentials + * When TRUE, caches user credentials on the device so that users don't need to keep entering them each time they connect. When FALSE, do not cache credentials. Default value is FALSE. + * + * @param bool $val The cacheCredentials + * + * @return WindowsWiredNetworkConfiguration + */ + public function setCacheCredentials($val) + { + $this->_propDict["cacheCredentials"] = boolval($val); + return $this; + } + + /** + * Gets the disableUserPromptForServerValidation + * When TRUE, prevents the user from being prompted to authorize new servers for trusted certification authorities when EAP type is selected as PEAP. When FALSE, does not prevent the user from being prompted. Default value is FALSE. + * + * @return bool|null The disableUserPromptForServerValidation + */ + public function getDisableUserPromptForServerValidation() + { + if (array_key_exists("disableUserPromptForServerValidation", $this->_propDict)) { + return $this->_propDict["disableUserPromptForServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the disableUserPromptForServerValidation + * When TRUE, prevents the user from being prompted to authorize new servers for trusted certification authorities when EAP type is selected as PEAP. When FALSE, does not prevent the user from being prompted. Default value is FALSE. + * + * @param bool $val The disableUserPromptForServerValidation + * + * @return WindowsWiredNetworkConfiguration + */ + public function setDisableUserPromptForServerValidation($val) + { + $this->_propDict["disableUserPromptForServerValidation"] = boolval($val); + return $this; + } + + /** + * Gets the eapolStartPeriodInSeconds + * Specify the number of seconds to wait before sending an EAPOL (Extensible Authentication Protocol over LAN) Start message. Valid range 1-3600. + * + * @return int|null The eapolStartPeriodInSeconds + */ + public function getEapolStartPeriodInSeconds() + { + if (array_key_exists("eapolStartPeriodInSeconds", $this->_propDict)) { + return $this->_propDict["eapolStartPeriodInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the eapolStartPeriodInSeconds + * Specify the number of seconds to wait before sending an EAPOL (Extensible Authentication Protocol over LAN) Start message. Valid range 1-3600. + * + * @param int $val The eapolStartPeriodInSeconds + * + * @return WindowsWiredNetworkConfiguration + */ + public function setEapolStartPeriodInSeconds($val) + { + $this->_propDict["eapolStartPeriodInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @return EapType|null The eapType + */ + public function getEapType() + { + if (array_key_exists("eapType", $this->_propDict)) { + if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\EapType") || is_null($this->_propDict["eapType"])) { + return $this->_propDict["eapType"]; + } else { + $this->_propDict["eapType"] = new EapType($this->_propDict["eapType"]); + return $this->_propDict["eapType"]; + } + } + return null; + } + + /** + * Sets the eapType + * Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the Wi-Fi endpoint (router). Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. Possible values are: eapTls, leap, eapSim, eapTtls, peap, eapFast, teap. + * + * @param EapType $val The eapType + * + * @return WindowsWiredNetworkConfiguration + */ + public function setEapType($val) + { + $this->_propDict["eapType"] = $val; + return $this; + } + + /** + * Gets the enforce8021X + * When TRUE, the automatic configuration service for wired networks requires the use of 802.1X for port authentication. When FALSE, 802.1X is not required. Default value is FALSE. + * + * @return bool|null The enforce8021X + */ + public function getEnforce8021X() + { + if (array_key_exists("enforce8021X", $this->_propDict)) { + return $this->_propDict["enforce8021X"]; + } else { + return null; + } + } + + /** + * Sets the enforce8021X + * When TRUE, the automatic configuration service for wired networks requires the use of 802.1X for port authentication. When FALSE, 802.1X is not required. Default value is FALSE. + * + * @param bool $val The enforce8021X + * + * @return WindowsWiredNetworkConfiguration + */ + public function setEnforce8021X($val) + { + $this->_propDict["enforce8021X"] = boolval($val); + return $this; + } + + /** + * Gets the forceFIPSCompliance + * When TRUE, forces FIPS compliance. When FALSE, does not enable FIPS compliance. Default value is FALSE. + * + * @return bool|null The forceFIPSCompliance + */ + public function getForceFIPSCompliance() + { + if (array_key_exists("forceFIPSCompliance", $this->_propDict)) { + return $this->_propDict["forceFIPSCompliance"]; + } else { + return null; + } + } + + /** + * Sets the forceFIPSCompliance + * When TRUE, forces FIPS compliance. When FALSE, does not enable FIPS compliance. Default value is FALSE. + * + * @param bool $val The forceFIPSCompliance + * + * @return WindowsWiredNetworkConfiguration + */ + public function setForceFIPSCompliance($val) + { + $this->_propDict["forceFIPSCompliance"] = boolval($val); + return $this; + } + + /** + * Gets the innerAuthenticationProtocolForEAPTTLS + * Specify inner authentication protocol for EAP TTLS. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @return NonEapAuthenticationMethodForEapTtlsType|null The innerAuthenticationProtocolForEAPTTLS + */ + public function getInnerAuthenticationProtocolForEAPTTLS() + { + if (array_key_exists("innerAuthenticationProtocolForEAPTTLS", $this->_propDict)) { + if (is_a($this->_propDict["innerAuthenticationProtocolForEAPTTLS"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType") || is_null($this->_propDict["innerAuthenticationProtocolForEAPTTLS"])) { + return $this->_propDict["innerAuthenticationProtocolForEAPTTLS"]; + } else { + $this->_propDict["innerAuthenticationProtocolForEAPTTLS"] = new NonEapAuthenticationMethodForEapTtlsType($this->_propDict["innerAuthenticationProtocolForEAPTTLS"]); + return $this->_propDict["innerAuthenticationProtocolForEAPTTLS"]; + } + } + return null; + } + + /** + * Sets the innerAuthenticationProtocolForEAPTTLS + * Specify inner authentication protocol for EAP TTLS. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. Possible values are: unencryptedPassword, challengeHandshakeAuthenticationProtocol, microsoftChap, microsoftChapVersionTwo. + * + * @param NonEapAuthenticationMethodForEapTtlsType $val The innerAuthenticationProtocolForEAPTTLS + * + * @return WindowsWiredNetworkConfiguration + */ + public function setInnerAuthenticationProtocolForEAPTTLS($val) + { + $this->_propDict["innerAuthenticationProtocolForEAPTTLS"] = $val; + return $this; + } + + /** + * Gets the maximumAuthenticationFailures + * Specify the maximum authentication failures allowed for a set of credentials. Valid range 1-100. + * + * @return int|null The maximumAuthenticationFailures + */ + public function getMaximumAuthenticationFailures() + { + if (array_key_exists("maximumAuthenticationFailures", $this->_propDict)) { + return $this->_propDict["maximumAuthenticationFailures"]; + } else { + return null; + } + } + + /** + * Sets the maximumAuthenticationFailures + * Specify the maximum authentication failures allowed for a set of credentials. Valid range 1-100. + * + * @param int $val The maximumAuthenticationFailures + * + * @return WindowsWiredNetworkConfiguration + */ + public function setMaximumAuthenticationFailures($val) + { + $this->_propDict["maximumAuthenticationFailures"] = intval($val); + return $this; + } + + /** + * Gets the maximumEAPOLStartMessages + * Specify the maximum number of EAPOL (Extensible Authentication Protocol over LAN) Start messages to be sent before returning failure. Valid range 1-100. + * + * @return int|null The maximumEAPOLStartMessages + */ + public function getMaximumEAPOLStartMessages() + { + if (array_key_exists("maximumEAPOLStartMessages", $this->_propDict)) { + return $this->_propDict["maximumEAPOLStartMessages"]; + } else { + return null; + } + } + + /** + * Sets the maximumEAPOLStartMessages + * Specify the maximum number of EAPOL (Extensible Authentication Protocol over LAN) Start messages to be sent before returning failure. Valid range 1-100. + * + * @param int $val The maximumEAPOLStartMessages + * + * @return WindowsWiredNetworkConfiguration + */ + public function setMaximumEAPOLStartMessages($val) + { + $this->_propDict["maximumEAPOLStartMessages"] = intval($val); + return $this; + } + + /** + * Gets the outerIdentityPrivacyTemporaryValue + * Specify the string to replace usernames for privacy when using EAP TTLS or PEAP. + * + * @return string|null The outerIdentityPrivacyTemporaryValue + */ + public function getOuterIdentityPrivacyTemporaryValue() + { + if (array_key_exists("outerIdentityPrivacyTemporaryValue", $this->_propDict)) { + return $this->_propDict["outerIdentityPrivacyTemporaryValue"]; + } else { + return null; + } + } + + /** + * Sets the outerIdentityPrivacyTemporaryValue + * Specify the string to replace usernames for privacy when using EAP TTLS or PEAP. + * + * @param string $val The outerIdentityPrivacyTemporaryValue + * + * @return WindowsWiredNetworkConfiguration + */ + public function setOuterIdentityPrivacyTemporaryValue($val) + { + $this->_propDict["outerIdentityPrivacyTemporaryValue"] = $val; + return $this; + } + + /** + * Gets the performServerValidation + * When TRUE, enables verification of server's identity by validating the certificate when EAP type is selected as PEAP. When FALSE, the certificate is not validated. Default value is TRUE. + * + * @return bool|null The performServerValidation + */ + public function getPerformServerValidation() + { + if (array_key_exists("performServerValidation", $this->_propDict)) { + return $this->_propDict["performServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the performServerValidation + * When TRUE, enables verification of server's identity by validating the certificate when EAP type is selected as PEAP. When FALSE, the certificate is not validated. Default value is TRUE. + * + * @param bool $val The performServerValidation + * + * @return WindowsWiredNetworkConfiguration + */ + public function setPerformServerValidation($val) + { + $this->_propDict["performServerValidation"] = boolval($val); + return $this; + } + + /** + * Gets the requireCryptographicBinding + * When TRUE, enables cryptographic binding when EAP type is selected as PEAP. When FALSE, does not enable cryptogrpahic binding. Default value is TRUE. + * + * @return bool|null The requireCryptographicBinding + */ + public function getRequireCryptographicBinding() + { + if (array_key_exists("requireCryptographicBinding", $this->_propDict)) { + return $this->_propDict["requireCryptographicBinding"]; + } else { + return null; + } + } + + /** + * Sets the requireCryptographicBinding + * When TRUE, enables cryptographic binding when EAP type is selected as PEAP. When FALSE, does not enable cryptogrpahic binding. Default value is TRUE. + * + * @param bool $val The requireCryptographicBinding + * + * @return WindowsWiredNetworkConfiguration + */ + public function setRequireCryptographicBinding($val) + { + $this->_propDict["requireCryptographicBinding"] = boolval($val); + return $this; + } + + /** + * Gets the secondaryAuthenticationMethod + * Specify the secondary authentication method. Possible values are: certificate, usernameAndPassword, derivedCredential. Possible values are: certificate, usernameAndPassword, derivedCredential, unknownFutureValue. + * + * @return WiredNetworkAuthenticationMethod|null The secondaryAuthenticationMethod + */ + public function getSecondaryAuthenticationMethod() + { + if (array_key_exists("secondaryAuthenticationMethod", $this->_propDict)) { + if (is_a($this->_propDict["secondaryAuthenticationMethod"], "\Beta\Microsoft\Graph\Model\WiredNetworkAuthenticationMethod") || is_null($this->_propDict["secondaryAuthenticationMethod"])) { + return $this->_propDict["secondaryAuthenticationMethod"]; + } else { + $this->_propDict["secondaryAuthenticationMethod"] = new WiredNetworkAuthenticationMethod($this->_propDict["secondaryAuthenticationMethod"]); + return $this->_propDict["secondaryAuthenticationMethod"]; + } + } + return null; + } + + /** + * Sets the secondaryAuthenticationMethod + * Specify the secondary authentication method. Possible values are: certificate, usernameAndPassword, derivedCredential. Possible values are: certificate, usernameAndPassword, derivedCredential, unknownFutureValue. + * + * @param WiredNetworkAuthenticationMethod $val The secondaryAuthenticationMethod + * + * @return WindowsWiredNetworkConfiguration + */ + public function setSecondaryAuthenticationMethod($val) + { + $this->_propDict["secondaryAuthenticationMethod"] = $val; + return $this; + } + + /** + * Gets the trustedServerCertificateNames + * Specify trusted server certificate names. + * + * @return string|null The trustedServerCertificateNames + */ + public function getTrustedServerCertificateNames() + { + if (array_key_exists("trustedServerCertificateNames", $this->_propDict)) { + return $this->_propDict["trustedServerCertificateNames"]; + } else { + return null; + } + } + + /** + * Sets the trustedServerCertificateNames + * Specify trusted server certificate names. + * + * @param string $val The trustedServerCertificateNames + * + * @return WindowsWiredNetworkConfiguration + */ + public function setTrustedServerCertificateNames($val) + { + $this->_propDict["trustedServerCertificateNames"] = $val; + return $this; + } + + /** + * Gets the identityCertificateForClientAuthentication + * Specify identity certificate for client authentication. + * + * @return WindowsCertificateProfileBase|null The identityCertificateForClientAuthentication + */ + public function getIdentityCertificateForClientAuthentication() + { + if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\WindowsCertificateProfileBase") || is_null($this->_propDict["identityCertificateForClientAuthentication"])) { + return $this->_propDict["identityCertificateForClientAuthentication"]; + } else { + $this->_propDict["identityCertificateForClientAuthentication"] = new WindowsCertificateProfileBase($this->_propDict["identityCertificateForClientAuthentication"]); + return $this->_propDict["identityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the identityCertificateForClientAuthentication + * Specify identity certificate for client authentication. + * + * @param WindowsCertificateProfileBase $val The identityCertificateForClientAuthentication + * + * @return WindowsWiredNetworkConfiguration + */ + public function setIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["identityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the rootCertificateForClientValidation + * Specify root certificate for client validation. + * + * @return Windows81TrustedRootCertificate|null The rootCertificateForClientValidation + */ + public function getRootCertificateForClientValidation() + { + if (array_key_exists("rootCertificateForClientValidation", $this->_propDict)) { + if (is_a($this->_propDict["rootCertificateForClientValidation"], "\Beta\Microsoft\Graph\Model\Windows81TrustedRootCertificate") || is_null($this->_propDict["rootCertificateForClientValidation"])) { + return $this->_propDict["rootCertificateForClientValidation"]; + } else { + $this->_propDict["rootCertificateForClientValidation"] = new Windows81TrustedRootCertificate($this->_propDict["rootCertificateForClientValidation"]); + return $this->_propDict["rootCertificateForClientValidation"]; + } + } + return null; + } + + /** + * Sets the rootCertificateForClientValidation + * Specify root certificate for client validation. + * + * @param Windows81TrustedRootCertificate $val The rootCertificateForClientValidation + * + * @return WindowsWiredNetworkConfiguration + */ + public function setRootCertificateForClientValidation($val) + { + $this->_propDict["rootCertificateForClientValidation"] = $val; + return $this; + } + + + /** + * Gets the rootCertificatesForServerValidation + * Specify root certificates for server validation. This collection can contain a maximum of 500 elements. + * + * @return array|null The rootCertificatesForServerValidation + */ + public function getRootCertificatesForServerValidation() + { + if (array_key_exists("rootCertificatesForServerValidation", $this->_propDict)) { + return $this->_propDict["rootCertificatesForServerValidation"]; + } else { + return null; + } + } + + /** + * Sets the rootCertificatesForServerValidation + * Specify root certificates for server validation. This collection can contain a maximum of 500 elements. + * + * @param Windows81TrustedRootCertificate[] $val The rootCertificatesForServerValidation + * + * @return WindowsWiredNetworkConfiguration + */ + public function setRootCertificatesForServerValidation($val) + { + $this->_propDict["rootCertificatesForServerValidation"] = $val; + return $this; + } + + /** + * Gets the secondaryIdentityCertificateForClientAuthentication + * Specify secondary identity certificate for client authentication. + * + * @return WindowsCertificateProfileBase|null The secondaryIdentityCertificateForClientAuthentication + */ + public function getSecondaryIdentityCertificateForClientAuthentication() + { + if (array_key_exists("secondaryIdentityCertificateForClientAuthentication", $this->_propDict)) { + if (is_a($this->_propDict["secondaryIdentityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\WindowsCertificateProfileBase") || is_null($this->_propDict["secondaryIdentityCertificateForClientAuthentication"])) { + return $this->_propDict["secondaryIdentityCertificateForClientAuthentication"]; + } else { + $this->_propDict["secondaryIdentityCertificateForClientAuthentication"] = new WindowsCertificateProfileBase($this->_propDict["secondaryIdentityCertificateForClientAuthentication"]); + return $this->_propDict["secondaryIdentityCertificateForClientAuthentication"]; + } + } + return null; + } + + /** + * Sets the secondaryIdentityCertificateForClientAuthentication + * Specify secondary identity certificate for client authentication. + * + * @param WindowsCertificateProfileBase $val The secondaryIdentityCertificateForClientAuthentication + * + * @return WindowsWiredNetworkConfiguration + */ + public function setSecondaryIdentityCertificateForClientAuthentication($val) + { + $this->_propDict["secondaryIdentityCertificateForClientAuthentication"] = $val; + return $this; + } + + /** + * Gets the secondaryRootCertificateForClientValidation + * Specify secondary root certificate for client validation. + * + * @return Windows81TrustedRootCertificate|null The secondaryRootCertificateForClientValidation + */ + public function getSecondaryRootCertificateForClientValidation() + { + if (array_key_exists("secondaryRootCertificateForClientValidation", $this->_propDict)) { + if (is_a($this->_propDict["secondaryRootCertificateForClientValidation"], "\Beta\Microsoft\Graph\Model\Windows81TrustedRootCertificate") || is_null($this->_propDict["secondaryRootCertificateForClientValidation"])) { + return $this->_propDict["secondaryRootCertificateForClientValidation"]; + } else { + $this->_propDict["secondaryRootCertificateForClientValidation"] = new Windows81TrustedRootCertificate($this->_propDict["secondaryRootCertificateForClientValidation"]); + return $this->_propDict["secondaryRootCertificateForClientValidation"]; + } + } + return null; + } + + /** + * Sets the secondaryRootCertificateForClientValidation + * Specify secondary root certificate for client validation. + * + * @param Windows81TrustedRootCertificate $val The secondaryRootCertificateForClientValidation + * + * @return WindowsWiredNetworkConfiguration + */ + public function setSecondaryRootCertificateForClientValidation($val) + { + $this->_propDict["secondaryRootCertificateForClientValidation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WiredNetworkAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WiredNetworkAuthenticationMethod.php new file mode 100644 index 0000000..9c6f33d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WiredNetworkAuthenticationMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Categories that the user has associated with this position. + * + * @param string $val The categories + * + * @return WorkPosition + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the colleagues + * Colleagues that are associated with this position. + * + * @return array|null The colleagues + */ + public function getColleagues() + { + if (array_key_exists("colleagues", $this->_propDict)) { + return $this->_propDict["colleagues"]; + } else { + return null; + } + } + + /** + * Sets the colleagues + * Colleagues that are associated with this position. + * + * @param RelatedPerson[] $val The colleagues + * + * @return WorkPosition + */ + public function setColleagues($val) + { + $this->_propDict["colleagues"] = $val; + return $this; + } + + /** + * Gets the detail + * Contains detailed information about the position. + * + * @return PositionDetail|null The detail + */ + public function getDetail() + { + if (array_key_exists("detail", $this->_propDict)) { + if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PositionDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new PositionDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * Contains detailed information about the position. + * + * @param PositionDetail $val The detail + * + * @return WorkPosition + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the isCurrent + * Denotes whether or not the position is current. + * + * @return bool|null The isCurrent + */ + public function getIsCurrent() + { + if (array_key_exists("isCurrent", $this->_propDict)) { + return $this->_propDict["isCurrent"]; + } else { + return null; + } + } + + /** + * Sets the isCurrent + * Denotes whether or not the position is current. + * + * @param bool $val The isCurrent + * + * @return WorkPosition + */ + public function setIsCurrent($val) + { + $this->_propDict["isCurrent"] = boolval($val); + return $this; + } + + /** + * Gets the manager + * Contains detail of the user's manager in this position. + * + * @return RelatedPerson|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\RelatedPerson") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new RelatedPerson($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * Contains detail of the user's manager in this position. + * + * @param RelatedPerson $val The manager + * + * @return WorkPosition + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Workbook.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Workbook.php new file mode 100644 index 0000000..d353fb5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Workbook.php @@ -0,0 +1,237 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\WorkbookApplication") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new WorkbookApplication($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * + * @param WorkbookApplication $val The application + * + * @return Workbook + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + + /** + * Gets the comments + * + * @return array|null The comments + */ + public function getComments() + { + if (array_key_exists("comments", $this->_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * + * @param WorkbookComment[] $val The comments + * + * @return Workbook + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + + /** + * Gets the functions + * + * @return WorkbookFunctions|null The functions + */ + public function getFunctions() + { + if (array_key_exists("functions", $this->_propDict)) { + if (is_a($this->_propDict["functions"], "\Beta\Microsoft\Graph\Model\WorkbookFunctions") || is_null($this->_propDict["functions"])) { + return $this->_propDict["functions"]; + } else { + $this->_propDict["functions"] = new WorkbookFunctions($this->_propDict["functions"]); + return $this->_propDict["functions"]; + } + } + return null; + } + + /** + * Sets the functions + * + * @param WorkbookFunctions $val The functions + * + * @return Workbook + */ + public function setFunctions($val) + { + $this->_propDict["functions"] = $val; + return $this; + } + + + /** + * Gets the names + * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. + * + * @return array|null The names + */ + public function getNames() + { + if (array_key_exists("names", $this->_propDict)) { + return $this->_propDict["names"]; + } else { + return null; + } + } + + /** + * Sets the names + * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. + * + * @param WorkbookNamedItem[] $val The names + * + * @return Workbook + */ + public function setNames($val) + { + $this->_propDict["names"] = $val; + return $this; + } + + + /** + * Gets the operations + * The status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. + * + * @param WorkbookOperation[] $val The operations + * + * @return Workbook + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the tables + * Represents a collection of tables associated with the workbook. Read-only. + * + * @return array|null The tables + */ + public function getTables() + { + if (array_key_exists("tables", $this->_propDict)) { + return $this->_propDict["tables"]; + } else { + return null; + } + } + + /** + * Sets the tables + * Represents a collection of tables associated with the workbook. Read-only. + * + * @param WorkbookTable[] $val The tables + * + * @return Workbook + */ + public function setTables($val) + { + $this->_propDict["tables"] = $val; + return $this; + } + + + /** + * Gets the worksheets + * Represents a collection of worksheets associated with the workbook. Read-only. + * + * @return array|null The worksheets + */ + public function getWorksheets() + { + if (array_key_exists("worksheets", $this->_propDict)) { + return $this->_propDict["worksheets"]; + } else { + return null; + } + } + + /** + * Sets the worksheets + * Represents a collection of worksheets associated with the workbook. Read-only. + * + * @param WorkbookWorksheet[] $val The worksheets + * + * @return Workbook + */ + public function setWorksheets($val) + { + $this->_propDict["worksheets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookApplication.php new file mode 100644 index 0000000..50d6b3e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookApplication.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["calculationMode"]; + } else { + return null; + } + } + + /** + * Sets the calculationMode + * Returns the calculation mode used in the workbook. Possible values are: Automatic, AutomaticExceptTables, Manual. + * + * @param string $val The calculationMode + * + * @return WorkbookApplication + */ + public function setCalculationMode($val) + { + $this->_propDict["calculationMode"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChart.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChart.php new file mode 100644 index 0000000..6be6dbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChart.php @@ -0,0 +1,400 @@ +_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * Represents the height, in points, of the chart object. + * + * @param float $val The height + * + * @return WorkbookChart + */ + public function setHeight($val) + { + $this->_propDict["height"] = floatval($val); + return $this; + } + + /** + * Gets the left + * The distance, in points, from the left side of the chart to the worksheet origin. + * + * @return float|null The left + */ + public function getLeft() + { + if (array_key_exists("left", $this->_propDict)) { + return $this->_propDict["left"]; + } else { + return null; + } + } + + /** + * Sets the left + * The distance, in points, from the left side of the chart to the worksheet origin. + * + * @param float $val The left + * + * @return WorkbookChart + */ + public function setLeft($val) + { + $this->_propDict["left"] = floatval($val); + return $this; + } + + /** + * Gets the name + * Represents the name of a chart object. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the name of a chart object. + * + * @param string $val The name + * + * @return WorkbookChart + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the top + * Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). + * + * @return float|null The top + */ + public function getTop() + { + if (array_key_exists("top", $this->_propDict)) { + return $this->_propDict["top"]; + } else { + return null; + } + } + + /** + * Sets the top + * Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). + * + * @param float $val The top + * + * @return WorkbookChart + */ + public function setTop($val) + { + $this->_propDict["top"] = floatval($val); + return $this; + } + + /** + * Gets the width + * Represents the width, in points, of the chart object. + * + * @return float|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * Represents the width, in points, of the chart object. + * + * @param float $val The width + * + * @return WorkbookChart + */ + public function setWidth($val) + { + $this->_propDict["width"] = floatval($val); + return $this; + } + + /** + * Gets the axes + * Represents chart axes. Read-only. + * + * @return WorkbookChartAxes|null The axes + */ + public function getAxes() + { + if (array_key_exists("axes", $this->_propDict)) { + if (is_a($this->_propDict["axes"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxes") || is_null($this->_propDict["axes"])) { + return $this->_propDict["axes"]; + } else { + $this->_propDict["axes"] = new WorkbookChartAxes($this->_propDict["axes"]); + return $this->_propDict["axes"]; + } + } + return null; + } + + /** + * Sets the axes + * Represents chart axes. Read-only. + * + * @param WorkbookChartAxes $val The axes + * + * @return WorkbookChart + */ + public function setAxes($val) + { + $this->_propDict["axes"] = $val; + return $this; + } + + /** + * Gets the dataLabels + * Represents the datalabels on the chart. Read-only. + * + * @return WorkbookChartDataLabels|null The dataLabels + */ + public function getDataLabels() + { + if (array_key_exists("dataLabels", $this->_propDict)) { + if (is_a($this->_propDict["dataLabels"], "\Beta\Microsoft\Graph\Model\WorkbookChartDataLabels") || is_null($this->_propDict["dataLabels"])) { + return $this->_propDict["dataLabels"]; + } else { + $this->_propDict["dataLabels"] = new WorkbookChartDataLabels($this->_propDict["dataLabels"]); + return $this->_propDict["dataLabels"]; + } + } + return null; + } + + /** + * Sets the dataLabels + * Represents the datalabels on the chart. Read-only. + * + * @param WorkbookChartDataLabels $val The dataLabels + * + * @return WorkbookChart + */ + public function setDataLabels($val) + { + $this->_propDict["dataLabels"] = $val; + return $this; + } + + /** + * Gets the format + * Encapsulates the format properties for the chart area. Read-only. + * + * @return WorkbookChartAreaFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartAreaFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartAreaFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Encapsulates the format properties for the chart area. Read-only. + * + * @param WorkbookChartAreaFormat $val The format + * + * @return WorkbookChart + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the legend + * Represents the legend for the chart. Read-only. + * + * @return WorkbookChartLegend|null The legend + */ + public function getLegend() + { + if (array_key_exists("legend", $this->_propDict)) { + if (is_a($this->_propDict["legend"], "\Beta\Microsoft\Graph\Model\WorkbookChartLegend") || is_null($this->_propDict["legend"])) { + return $this->_propDict["legend"]; + } else { + $this->_propDict["legend"] = new WorkbookChartLegend($this->_propDict["legend"]); + return $this->_propDict["legend"]; + } + } + return null; + } + + /** + * Sets the legend + * Represents the legend for the chart. Read-only. + * + * @param WorkbookChartLegend $val The legend + * + * @return WorkbookChart + */ + public function setLegend($val) + { + $this->_propDict["legend"] = $val; + return $this; + } + + + /** + * Gets the series + * Represents either a single series or collection of series in the chart. Read-only. + * + * @return array|null The series + */ + public function getSeries() + { + if (array_key_exists("series", $this->_propDict)) { + return $this->_propDict["series"]; + } else { + return null; + } + } + + /** + * Sets the series + * Represents either a single series or collection of series in the chart. Read-only. + * + * @param WorkbookChartSeries[] $val The series + * + * @return WorkbookChart + */ + public function setSeries($val) + { + $this->_propDict["series"] = $val; + return $this; + } + + /** + * Gets the title + * Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + * + * @return WorkbookChartTitle|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + if (is_a($this->_propDict["title"], "\Beta\Microsoft\Graph\Model\WorkbookChartTitle") || is_null($this->_propDict["title"])) { + return $this->_propDict["title"]; + } else { + $this->_propDict["title"] = new WorkbookChartTitle($this->_propDict["title"]); + return $this->_propDict["title"]; + } + } + return null; + } + + /** + * Sets the title + * Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + * + * @param WorkbookChartTitle $val The title + * + * @return WorkbookChart + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current chart. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current chart. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookChart + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAreaFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAreaFormat.php new file mode 100644 index 0000000..0350caf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAreaFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of an object, which includes background formatting information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartAreaFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartAreaFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxes.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxes.php new file mode 100644 index 0000000..ba2a55e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxes.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["categoryAxis"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxis") || is_null($this->_propDict["categoryAxis"])) { + return $this->_propDict["categoryAxis"]; + } else { + $this->_propDict["categoryAxis"] = new WorkbookChartAxis($this->_propDict["categoryAxis"]); + return $this->_propDict["categoryAxis"]; + } + } + return null; + } + + /** + * Sets the categoryAxis + * Represents the category axis in a chart. Read-only. + * + * @param WorkbookChartAxis $val The categoryAxis + * + * @return WorkbookChartAxes + */ + public function setCategoryAxis($val) + { + $this->_propDict["categoryAxis"] = $val; + return $this; + } + + /** + * Gets the seriesAxis + * Represents the series axis of a 3-dimensional chart. Read-only. + * + * @return WorkbookChartAxis|null The seriesAxis + */ + public function getSeriesAxis() + { + if (array_key_exists("seriesAxis", $this->_propDict)) { + if (is_a($this->_propDict["seriesAxis"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxis") || is_null($this->_propDict["seriesAxis"])) { + return $this->_propDict["seriesAxis"]; + } else { + $this->_propDict["seriesAxis"] = new WorkbookChartAxis($this->_propDict["seriesAxis"]); + return $this->_propDict["seriesAxis"]; + } + } + return null; + } + + /** + * Sets the seriesAxis + * Represents the series axis of a 3-dimensional chart. Read-only. + * + * @param WorkbookChartAxis $val The seriesAxis + * + * @return WorkbookChartAxes + */ + public function setSeriesAxis($val) + { + $this->_propDict["seriesAxis"] = $val; + return $this; + } + + /** + * Gets the valueAxis + * Represents the value axis in an axis. Read-only. + * + * @return WorkbookChartAxis|null The valueAxis + */ + public function getValueAxis() + { + if (array_key_exists("valueAxis", $this->_propDict)) { + if (is_a($this->_propDict["valueAxis"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxis") || is_null($this->_propDict["valueAxis"])) { + return $this->_propDict["valueAxis"]; + } else { + $this->_propDict["valueAxis"] = new WorkbookChartAxis($this->_propDict["valueAxis"]); + return $this->_propDict["valueAxis"]; + } + } + return null; + } + + /** + * Sets the valueAxis + * Represents the value axis in an axis. Read-only. + * + * @param WorkbookChartAxis $val The valueAxis + * + * @return WorkbookChartAxes + */ + public function setValueAxis($val) + { + $this->_propDict["valueAxis"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxis.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxis.php new file mode 100644 index 0000000..16c67cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxis.php @@ -0,0 +1,275 @@ +_propDict)) { + return $this->_propDict["majorUnit"]; + } else { + return null; + } + } + + /** + * Sets the majorUnit + * Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number. + * + * @param string $val The majorUnit + * + * @return WorkbookChartAxis + */ + public function setMajorUnit($val) + { + $this->_propDict["majorUnit"] = $val; + return $this; + } + + /** + * Gets the maximum + * Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @return string|null The maximum + */ + public function getMaximum() + { + if (array_key_exists("maximum", $this->_propDict)) { + return $this->_propDict["maximum"]; + } else { + return null; + } + } + + /** + * Sets the maximum + * Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @param string $val The maximum + * + * @return WorkbookChartAxis + */ + public function setMaximum($val) + { + $this->_propDict["maximum"] = $val; + return $this; + } + + /** + * Gets the minimum + * Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @return string|null The minimum + */ + public function getMinimum() + { + if (array_key_exists("minimum", $this->_propDict)) { + return $this->_propDict["minimum"]; + } else { + return null; + } + } + + /** + * Sets the minimum + * Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @param string $val The minimum + * + * @return WorkbookChartAxis + */ + public function setMinimum($val) + { + $this->_propDict["minimum"] = $val; + return $this; + } + + /** + * Gets the minorUnit + * Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @return string|null The minorUnit + */ + public function getMinorUnit() + { + if (array_key_exists("minorUnit", $this->_propDict)) { + return $this->_propDict["minorUnit"]; + } else { + return null; + } + } + + /** + * Sets the minorUnit + * Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @param string $val The minorUnit + * + * @return WorkbookChartAxis + */ + public function setMinorUnit($val) + { + $this->_propDict["minorUnit"] = $val; + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart object, which includes line and font formatting. Read-only. + * + * @return WorkbookChartAxisFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxisFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartAxisFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart object, which includes line and font formatting. Read-only. + * + * @param WorkbookChartAxisFormat $val The format + * + * @return WorkbookChartAxis + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the majorGridlines + * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. + * + * @return WorkbookChartGridlines|null The majorGridlines + */ + public function getMajorGridlines() + { + if (array_key_exists("majorGridlines", $this->_propDict)) { + if (is_a($this->_propDict["majorGridlines"], "\Beta\Microsoft\Graph\Model\WorkbookChartGridlines") || is_null($this->_propDict["majorGridlines"])) { + return $this->_propDict["majorGridlines"]; + } else { + $this->_propDict["majorGridlines"] = new WorkbookChartGridlines($this->_propDict["majorGridlines"]); + return $this->_propDict["majorGridlines"]; + } + } + return null; + } + + /** + * Sets the majorGridlines + * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. + * + * @param WorkbookChartGridlines $val The majorGridlines + * + * @return WorkbookChartAxis + */ + public function setMajorGridlines($val) + { + $this->_propDict["majorGridlines"] = $val; + return $this; + } + + /** + * Gets the minorGridlines + * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. + * + * @return WorkbookChartGridlines|null The minorGridlines + */ + public function getMinorGridlines() + { + if (array_key_exists("minorGridlines", $this->_propDict)) { + if (is_a($this->_propDict["minorGridlines"], "\Beta\Microsoft\Graph\Model\WorkbookChartGridlines") || is_null($this->_propDict["minorGridlines"])) { + return $this->_propDict["minorGridlines"]; + } else { + $this->_propDict["minorGridlines"] = new WorkbookChartGridlines($this->_propDict["minorGridlines"]); + return $this->_propDict["minorGridlines"]; + } + } + return null; + } + + /** + * Sets the minorGridlines + * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. + * + * @param WorkbookChartGridlines $val The minorGridlines + * + * @return WorkbookChartAxis + */ + public function setMinorGridlines($val) + { + $this->_propDict["minorGridlines"] = $val; + return $this; + } + + /** + * Gets the title + * Represents the axis title. Read-only. + * + * @return WorkbookChartAxisTitle|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + if (is_a($this->_propDict["title"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxisTitle") || is_null($this->_propDict["title"])) { + return $this->_propDict["title"]; + } else { + $this->_propDict["title"] = new WorkbookChartAxisTitle($this->_propDict["title"]); + return $this->_propDict["title"]; + } + } + return null; + } + + /** + * Sets the title + * Represents the axis title. Read-only. + * + * @param WorkbookChartAxisTitle $val The title + * + * @return WorkbookChartAxis + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisFormat.php new file mode 100644 index 0000000..258730a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartAxisFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + + /** + * Gets the line + * Represents chart line formatting. Read-only. + * + * @return WorkbookChartLineFormat|null The line + */ + public function getLine() + { + if (array_key_exists("line", $this->_propDict)) { + if (is_a($this->_propDict["line"], "\Beta\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { + return $this->_propDict["line"]; + } else { + $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); + return $this->_propDict["line"]; + } + } + return null; + } + + /** + * Sets the line + * Represents chart line formatting. Read-only. + * + * @param WorkbookChartLineFormat $val The line + * + * @return WorkbookChartAxisFormat + */ + public function setLine($val) + { + $this->_propDict["line"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitle.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitle.php new file mode 100644 index 0000000..252b1b6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitle.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Represents the axis title. + * + * @param string $val The text + * + * @return WorkbookChartAxisTitle + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the visible + * A boolean that specifies the visibility of an axis title. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * A boolean that specifies the visibility of an axis title. + * + * @param bool $val The visible + * + * @return WorkbookChartAxisTitle + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of chart axis title. Read-only. + * + * @return WorkbookChartAxisTitleFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxisTitleFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartAxisTitleFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of chart axis title. Read-only. + * + * @param WorkbookChartAxisTitleFormat $val The format + * + * @return WorkbookChartAxisTitle + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitleFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitleFormat.php new file mode 100644 index 0000000..145f081 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitleFormat.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartAxisTitleFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabelFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabelFormat.php new file mode 100644 index 0000000..d4a58ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabelFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of the current chart data label. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartDataLabelFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartDataLabelFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabels.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabels.php new file mode 100644 index 0000000..2ef6593 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabels.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout. + * + * @param string $val The position + * + * @return WorkbookChartDataLabels + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } + + /** + * Gets the separator + * String representing the separator used for the data labels on a chart. + * + * @return string|null The separator + */ + public function getSeparator() + { + if (array_key_exists("separator", $this->_propDict)) { + return $this->_propDict["separator"]; + } else { + return null; + } + } + + /** + * Sets the separator + * String representing the separator used for the data labels on a chart. + * + * @param string $val The separator + * + * @return WorkbookChartDataLabels + */ + public function setSeparator($val) + { + $this->_propDict["separator"] = $val; + return $this; + } + + /** + * Gets the showBubbleSize + * Boolean value representing if the data label bubble size is visible or not. + * + * @return bool|null The showBubbleSize + */ + public function getShowBubbleSize() + { + if (array_key_exists("showBubbleSize", $this->_propDict)) { + return $this->_propDict["showBubbleSize"]; + } else { + return null; + } + } + + /** + * Sets the showBubbleSize + * Boolean value representing if the data label bubble size is visible or not. + * + * @param bool $val The showBubbleSize + * + * @return WorkbookChartDataLabels + */ + public function setShowBubbleSize($val) + { + $this->_propDict["showBubbleSize"] = boolval($val); + return $this; + } + + /** + * Gets the showCategoryName + * Boolean value representing if the data label category name is visible or not. + * + * @return bool|null The showCategoryName + */ + public function getShowCategoryName() + { + if (array_key_exists("showCategoryName", $this->_propDict)) { + return $this->_propDict["showCategoryName"]; + } else { + return null; + } + } + + /** + * Sets the showCategoryName + * Boolean value representing if the data label category name is visible or not. + * + * @param bool $val The showCategoryName + * + * @return WorkbookChartDataLabels + */ + public function setShowCategoryName($val) + { + $this->_propDict["showCategoryName"] = boolval($val); + return $this; + } + + /** + * Gets the showLegendKey + * Boolean value representing if the data label legend key is visible or not. + * + * @return bool|null The showLegendKey + */ + public function getShowLegendKey() + { + if (array_key_exists("showLegendKey", $this->_propDict)) { + return $this->_propDict["showLegendKey"]; + } else { + return null; + } + } + + /** + * Sets the showLegendKey + * Boolean value representing if the data label legend key is visible or not. + * + * @param bool $val The showLegendKey + * + * @return WorkbookChartDataLabels + */ + public function setShowLegendKey($val) + { + $this->_propDict["showLegendKey"] = boolval($val); + return $this; + } + + /** + * Gets the showPercentage + * Boolean value representing if the data label percentage is visible or not. + * + * @return bool|null The showPercentage + */ + public function getShowPercentage() + { + if (array_key_exists("showPercentage", $this->_propDict)) { + return $this->_propDict["showPercentage"]; + } else { + return null; + } + } + + /** + * Sets the showPercentage + * Boolean value representing if the data label percentage is visible or not. + * + * @param bool $val The showPercentage + * + * @return WorkbookChartDataLabels + */ + public function setShowPercentage($val) + { + $this->_propDict["showPercentage"] = boolval($val); + return $this; + } + + /** + * Gets the showSeriesName + * Boolean value representing if the data label series name is visible or not. + * + * @return bool|null The showSeriesName + */ + public function getShowSeriesName() + { + if (array_key_exists("showSeriesName", $this->_propDict)) { + return $this->_propDict["showSeriesName"]; + } else { + return null; + } + } + + /** + * Sets the showSeriesName + * Boolean value representing if the data label series name is visible or not. + * + * @param bool $val The showSeriesName + * + * @return WorkbookChartDataLabels + */ + public function setShowSeriesName($val) + { + $this->_propDict["showSeriesName"] = boolval($val); + return $this; + } + + /** + * Gets the showValue + * Boolean value representing if the data label value is visible or not. + * + * @return bool|null The showValue + */ + public function getShowValue() + { + if (array_key_exists("showValue", $this->_propDict)) { + return $this->_propDict["showValue"]; + } else { + return null; + } + } + + /** + * Sets the showValue + * Boolean value representing if the data label value is visible or not. + * + * @param bool $val The showValue + * + * @return WorkbookChartDataLabels + */ + public function setShowValue($val) + { + $this->_propDict["showValue"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the format of chart data labels, which includes fill and font formatting. Read-only. + * + * @return WorkbookChartDataLabelFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartDataLabelFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartDataLabelFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the format of chart data labels, which includes fill and font formatting. Read-only. + * + * @param WorkbookChartDataLabelFormat $val The format + * + * @return WorkbookChartDataLabels + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartFill.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartFill.php new file mode 100644 index 0000000..ba3b048 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartFill.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["bold"]; + } else { + return null; + } + } + + /** + * Sets the bold + * Represents the bold status of font. + * + * @param bool $val The bold + * + * @return WorkbookChartFont + */ + public function setBold($val) + { + $this->_propDict["bold"] = boolval($val); + return $this; + } + + /** + * Gets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @return string|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @param string $val The color + * + * @return WorkbookChartFont + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the italic + * Represents the italic status of the font. + * + * @return bool|null The italic + */ + public function getItalic() + { + if (array_key_exists("italic", $this->_propDict)) { + return $this->_propDict["italic"]; + } else { + return null; + } + } + + /** + * Sets the italic + * Represents the italic status of the font. + * + * @param bool $val The italic + * + * @return WorkbookChartFont + */ + public function setItalic($val) + { + $this->_propDict["italic"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Font name (e.g. 'Calibri') + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Font name (e.g. 'Calibri') + * + * @param string $val The name + * + * @return WorkbookChartFont + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * Size of the font (e.g. 11) + * + * @return float|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the font (e.g. 11) + * + * @param float $val The size + * + * @return WorkbookChartFont + */ + public function setSize($val) + { + $this->_propDict["size"] = floatval($val); + return $this; + } + + /** + * Gets the underline + * Type of underline applied to the font. The possible values are: None, Single. + * + * @return string|null The underline + */ + public function getUnderline() + { + if (array_key_exists("underline", $this->_propDict)) { + return $this->_propDict["underline"]; + } else { + return null; + } + } + + /** + * Sets the underline + * Type of underline applied to the font. The possible values are: None, Single. + * + * @param string $val The underline + * + * @return WorkbookChartFont + */ + public function setUnderline($val) + { + $this->_propDict["underline"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlines.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlines.php new file mode 100644 index 0000000..fd7aab9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlines.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * Boolean value representing if the axis gridlines are visible or not. + * + * @param bool $val The visible + * + * @return WorkbookChartGridlines + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of chart gridlines. Read-only. + * + * @return WorkbookChartGridlinesFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartGridlinesFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartGridlinesFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of chart gridlines. Read-only. + * + * @param WorkbookChartGridlinesFormat $val The format + * + * @return WorkbookChartGridlines + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlinesFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlinesFormat.php new file mode 100644 index 0000000..f326dbf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlinesFormat.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["line"], "\Beta\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { + return $this->_propDict["line"]; + } else { + $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); + return $this->_propDict["line"]; + } + } + return null; + } + + /** + * Sets the line + * Represents chart line formatting. Read-only. + * + * @param WorkbookChartLineFormat $val The line + * + * @return WorkbookChartGridlinesFormat + */ + public function setLine($val) + { + $this->_propDict["line"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegend.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegend.php new file mode 100644 index 0000000..42a0049 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegend.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["overlay"]; + } else { + return null; + } + } + + /** + * Sets the overlay + * Boolean value for whether the chart legend should overlap with the main body of the chart. + * + * @param bool $val The overlay + * + * @return WorkbookChartLegend + */ + public function setOverlay($val) + { + $this->_propDict["overlay"] = boolval($val); + return $this; + } + + /** + * Gets the position + * Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom. + * + * @return string|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom. + * + * @param string $val The position + * + * @return WorkbookChartLegend + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } + + /** + * Gets the visible + * A boolean value the represents the visibility of a ChartLegend object. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * A boolean value the represents the visibility of a ChartLegend object. + * + * @param bool $val The visible + * + * @return WorkbookChartLegend + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. + * + * @return WorkbookChartLegendFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartLegendFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartLegendFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. + * + * @param WorkbookChartLegendFormat $val The format + * + * @return WorkbookChartLegend + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegendFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegendFormat.php new file mode 100644 index 0000000..ea648f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegendFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of an object, which includes background formating information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartLegendFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartLegendFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLineFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLineFormat.php new file mode 100644 index 0000000..1fa8ccb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLineFormat.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representing the color of lines in the chart. + * + * @param string $val The color + * + * @return WorkbookChartLineFormat + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPoint.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPoint.php new file mode 100644 index 0000000..ec80a8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPoint.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Returns the value of a chart point. Read-only. + * + * @param string $val The value + * + * @return WorkbookChartPoint + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + + /** + * Gets the format + * Encapsulates the format properties chart point. Read-only. + * + * @return WorkbookChartPointFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartPointFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartPointFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Encapsulates the format properties chart point. Read-only. + * + * @param WorkbookChartPointFormat $val The format + * + * @return WorkbookChartPoint + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPointFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPointFormat.php new file mode 100644 index 0000000..4e525ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPointFormat.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of a chart, which includes background formating information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartPointFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeries.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeries.php new file mode 100644 index 0000000..b8aa64a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeries.php @@ -0,0 +1,119 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the name of a series in a chart. + * + * @param string $val The name + * + * @return WorkbookChartSeries + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * + * @return WorkbookChartSeriesFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartSeriesFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartSeriesFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * + * @param WorkbookChartSeriesFormat $val The format + * + * @return WorkbookChartSeries + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + + /** + * Gets the points + * Represents a collection of all points in the series. Read-only. + * + * @return array|null The points + */ + public function getPoints() + { + if (array_key_exists("points", $this->_propDict)) { + return $this->_propDict["points"]; + } else { + return null; + } + } + + /** + * Sets the points + * Represents a collection of all points in the series. Read-only. + * + * @param WorkbookChartPoint[] $val The points + * + * @return WorkbookChartSeries + */ + public function setPoints($val) + { + $this->_propDict["points"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeriesFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeriesFormat.php new file mode 100644 index 0000000..520b44b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeriesFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of a chart series, which includes background formating information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartSeriesFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the line + * Represents line formatting. Read-only. + * + * @return WorkbookChartLineFormat|null The line + */ + public function getLine() + { + if (array_key_exists("line", $this->_propDict)) { + if (is_a($this->_propDict["line"], "\Beta\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { + return $this->_propDict["line"]; + } else { + $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); + return $this->_propDict["line"]; + } + } + return null; + } + + /** + * Sets the line + * Represents line formatting. Read-only. + * + * @param WorkbookChartLineFormat $val The line + * + * @return WorkbookChartSeriesFormat + */ + public function setLine($val) + { + $this->_propDict["line"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitle.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitle.php new file mode 100644 index 0000000..c2007bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitle.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["overlay"]; + } else { + return null; + } + } + + /** + * Sets the overlay + * Boolean value representing if the chart title will overlay the chart or not. + * + * @param bool $val The overlay + * + * @return WorkbookChartTitle + */ + public function setOverlay($val) + { + $this->_propDict["overlay"] = boolval($val); + return $this; + } + + /** + * Gets the text + * Represents the title text of a chart. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Represents the title text of a chart. + * + * @param string $val The text + * + * @return WorkbookChartTitle + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the visible + * A boolean value the represents the visibility of a chart title object. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * A boolean value the represents the visibility of a chart title object. + * + * @param bool $val The visible + * + * @return WorkbookChartTitle + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * + * @return WorkbookChartTitleFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartTitleFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartTitleFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * + * @param WorkbookChartTitleFormat $val The format + * + * @return WorkbookChartTitle + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitleFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitleFormat.php new file mode 100644 index 0000000..e6ee2cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitleFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of an object, which includes background formatting information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartTitleFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartTitleFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookComment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookComment.php new file mode 100644 index 0000000..6750819 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookComment.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of the comment. + * + * @param string $val The content + * + * @return WorkbookComment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * Indicates the type for the comment. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * Indicates the type for the comment. + * + * @param string $val The contentType + * + * @return WorkbookComment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + + /** + * Gets the replies + * Read-only. Nullable. + * + * @return array|null The replies + */ + public function getReplies() + { + if (array_key_exists("replies", $this->_propDict)) { + return $this->_propDict["replies"]; + } else { + return null; + } + } + + /** + * Sets the replies + * Read-only. Nullable. + * + * @param WorkbookCommentReply[] $val The replies + * + * @return WorkbookComment + */ + public function setReplies($val) + { + $this->_propDict["replies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php new file mode 100644 index 0000000..b3dcc48 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of replied comment. + * + * @param string $val The content + * + * @return WorkbookCommentReply + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * Indicates the type for the replied comment. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * Indicates the type for the replied comment. + * + * @param string $val The contentType + * + * @return WorkbookCommentReply + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilter.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilter.php new file mode 100644 index 0000000..f827cba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilter.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["criteria"], "\Beta\Microsoft\Graph\Model\WorkbookFilterCriteria") || is_null($this->_propDict["criteria"])) { + return $this->_propDict["criteria"]; + } else { + $this->_propDict["criteria"] = new WorkbookFilterCriteria($this->_propDict["criteria"]); + return $this->_propDict["criteria"]; + } + } + return null; + } + + /** + * Sets the criteria + * The currently applied filter on the given column. Read-only. + * + * @param WorkbookFilterCriteria $val The criteria + * + * @return WorkbookFilter + */ + public function setCriteria($val) + { + $this->_propDict["criteria"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterCriteria.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterCriteria.php new file mode 100644 index 0000000..5e2e042 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterCriteria.php @@ -0,0 +1,239 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * + * @param string $val The value of the color + * + * @return WorkbookFilterCriteria + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + /** + * Gets the criterion1 + * + * @return string|null The criterion1 + */ + public function getCriterion1() + { + if (array_key_exists("criterion1", $this->_propDict)) { + return $this->_propDict["criterion1"]; + } else { + return null; + } + } + + /** + * Sets the criterion1 + * + * @param string $val The value of the criterion1 + * + * @return WorkbookFilterCriteria + */ + public function setCriterion1($val) + { + $this->_propDict["criterion1"] = $val; + return $this; + } + /** + * Gets the criterion2 + * + * @return string|null The criterion2 + */ + public function getCriterion2() + { + if (array_key_exists("criterion2", $this->_propDict)) { + return $this->_propDict["criterion2"]; + } else { + return null; + } + } + + /** + * Sets the criterion2 + * + * @param string $val The value of the criterion2 + * + * @return WorkbookFilterCriteria + */ + public function setCriterion2($val) + { + $this->_propDict["criterion2"] = $val; + return $this; + } + /** + * Gets the dynamicCriteria + * + * @return string|null The dynamicCriteria + */ + public function getDynamicCriteria() + { + if (array_key_exists("dynamicCriteria", $this->_propDict)) { + return $this->_propDict["dynamicCriteria"]; + } else { + return null; + } + } + + /** + * Sets the dynamicCriteria + * + * @param string $val The value of the dynamicCriteria + * + * @return WorkbookFilterCriteria + */ + public function setDynamicCriteria($val) + { + $this->_propDict["dynamicCriteria"] = $val; + return $this; + } + /** + * Gets the filterOn + * + * @return string|null The filterOn + */ + public function getFilterOn() + { + if (array_key_exists("filterOn", $this->_propDict)) { + return $this->_propDict["filterOn"]; + } else { + return null; + } + } + + /** + * Sets the filterOn + * + * @param string $val The value of the filterOn + * + * @return WorkbookFilterCriteria + */ + public function setFilterOn($val) + { + $this->_propDict["filterOn"] = $val; + return $this; + } + + /** + * Gets the icon + * + * @return WorkbookIcon|null The icon + */ + public function getIcon() + { + if (array_key_exists("icon", $this->_propDict)) { + if (is_a($this->_propDict["icon"], "\Beta\Microsoft\Graph\Model\WorkbookIcon") || is_null($this->_propDict["icon"])) { + return $this->_propDict["icon"]; + } else { + $this->_propDict["icon"] = new WorkbookIcon($this->_propDict["icon"]); + return $this->_propDict["icon"]; + } + } + return null; + } + + /** + * Sets the icon + * + * @param WorkbookIcon $val The value to assign to the icon + * + * @return WorkbookFilterCriteria The WorkbookFilterCriteria + */ + public function setIcon($val) + { + $this->_propDict["icon"] = $val; + return $this; + } + /** + * Gets the operator + * + * @return string|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + return $this->_propDict["operator"]; + } else { + return null; + } + } + + /** + * Sets the operator + * + * @param string $val The value of the operator + * + * @return WorkbookFilterCriteria + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the values + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * + * @param string $val The value of the values + * + * @return WorkbookFilterCriteria + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterDatetime.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterDatetime.php new file mode 100644 index 0000000..0ab05f3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterDatetime.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["date"]; + } else { + return null; + } + } + + /** + * Sets the date + * + * @param string $val The value of the date + * + * @return WorkbookFilterDatetime + */ + public function setDate($val) + { + $this->_propDict["date"] = $val; + return $this; + } + /** + * Gets the specificity + * + * @return string|null The specificity + */ + public function getSpecificity() + { + if (array_key_exists("specificity", $this->_propDict)) { + return $this->_propDict["specificity"]; + } else { + return null; + } + } + + /** + * Sets the specificity + * + * @param string $val The value of the specificity + * + * @return WorkbookFilterDatetime + */ + public function setSpecificity($val) + { + $this->_propDict["specificity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFormatProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFormatProtection.php new file mode 100644 index 0000000..4f04c3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFormatProtection.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["formulaHidden"]; + } else { + return null; + } + } + + /** + * Sets the formulaHidden + * Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. + * + * @param bool $val The formulaHidden + * + * @return WorkbookFormatProtection + */ + public function setFormulaHidden($val) + { + $this->_propDict["formulaHidden"] = boolval($val); + return $this; + } + + /** + * Gets the locked + * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + * + * @return bool|null The locked + */ + public function getLocked() + { + if (array_key_exists("locked", $this->_propDict)) { + return $this->_propDict["locked"]; + } else { + return null; + } + } + + /** + * Sets the locked + * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + * + * @param bool $val The locked + * + * @return WorkbookFormatProtection + */ + public function setLocked($val) + { + $this->_propDict["locked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctionResult.php new file mode 100644 index 0000000..479403f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctionResult.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * + * @param string $val The error + * + * @return WorkbookFunctionResult + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value + * + * @return WorkbookFunctionResult + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctions.php new file mode 100644 index 0000000..257b76b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctions.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Represents the index of the icon in the given set. + * + * @param int $val The value of the index + * + * @return WorkbookIcon + */ + public function setIndex($val) + { + $this->_propDict["index"] = $val; + return $this; + } + /** + * Gets the set + * Represents the set that the icon is part of. Possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. + * + * @return string|null The set + */ + public function getSet() + { + if (array_key_exists("set", $this->_propDict)) { + return $this->_propDict["set"]; + } else { + return null; + } + } + + /** + * Sets the set + * Represents the set that the icon is part of. Possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. + * + * @param string $val The value of the set + * + * @return WorkbookIcon + */ + public function setSet($val) + { + $this->_propDict["set"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookNamedItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookNamedItem.php new file mode 100644 index 0000000..ae8c727 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookNamedItem.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * Represents the comment associated with this name. + * + * @param string $val The comment + * + * @return WorkbookNamedItem + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + + /** + * Gets the name + * The name of the object. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the object. Read-only. + * + * @param string $val The name + * + * @return WorkbookNamedItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the scope + * Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only. + * + * @param string $val The scope + * + * @return WorkbookNamedItem + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the type + * Indicates what type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Indicates what type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. + * + * @param string $val The type + * + * @return WorkbookNamedItem + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the value + * Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + * + * @param string $val The value + * + * @return WorkbookNamedItem + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + + /** + * Gets the visible + * Specifies whether the object is visible or not. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * Specifies whether the object is visible or not. + * + * @param bool $val The visible + * + * @return WorkbookNamedItem + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the worksheet + * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookNamedItem + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperation.php new file mode 100644 index 0000000..af6ed77 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperation.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\WorkbookOperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new WorkbookOperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The error returned by the operation. + * + * @param WorkbookOperationError $val The error + * + * @return WorkbookOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the resourceLocation + * The resource URI for the result. + * + * @return string|null The resourceLocation + */ + public function getResourceLocation() + { + if (array_key_exists("resourceLocation", $this->_propDict)) { + return $this->_propDict["resourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the resourceLocation + * The resource URI for the result. + * + * @param string $val The resourceLocation + * + * @return WorkbookOperation + */ + public function setResourceLocation($val) + { + $this->_propDict["resourceLocation"] = $val; + return $this; + } + + /** + * Gets the status + * The current status of the operation. Possible values are: notStarted, running, succeeded, failed. + * + * @return WorkbookOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\WorkbookOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new WorkbookOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The current status of the operation. Possible values are: notStarted, running, succeeded, failed. + * + * @param WorkbookOperationStatus $val The status + * + * @return WorkbookOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationError.php new file mode 100644 index 0000000..39294b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationError.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return WorkbookOperationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the innerError + * + * @return WorkbookOperationError|null The innerError + */ + public function getInnerError() + { + if (array_key_exists("innerError", $this->_propDict)) { + if (is_a($this->_propDict["innerError"], "\Beta\Microsoft\Graph\Model\WorkbookOperationError") || is_null($this->_propDict["innerError"])) { + return $this->_propDict["innerError"]; + } else { + $this->_propDict["innerError"] = new WorkbookOperationError($this->_propDict["innerError"]); + return $this->_propDict["innerError"]; + } + } + return null; + } + + /** + * Sets the innerError + * + * @param WorkbookOperationError $val The value to assign to the innerError + * + * @return WorkbookOperationError The WorkbookOperationError + */ + public function setInnerError($val) + { + $this->_propDict["innerError"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return WorkbookOperationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationStatus.php new file mode 100644 index 0000000..1e1a1ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the PivotTable. + * + * @param string $val The name + * + * @return WorkbookPivotTable + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current PivotTable. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current PivotTable. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookPivotTable + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRange.php new file mode 100644 index 0000000..5bb7001 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRange.php @@ -0,0 +1,619 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. + * + * @param string $val The address + * + * @return WorkbookRange + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the addressLocal + * Represents range reference for the specified range in the language of the user. Read-only. + * + * @return string|null The addressLocal + */ + public function getAddressLocal() + { + if (array_key_exists("addressLocal", $this->_propDict)) { + return $this->_propDict["addressLocal"]; + } else { + return null; + } + } + + /** + * Sets the addressLocal + * Represents range reference for the specified range in the language of the user. Read-only. + * + * @param string $val The addressLocal + * + * @return WorkbookRange + */ + public function setAddressLocal($val) + { + $this->_propDict["addressLocal"] = $val; + return $this; + } + + /** + * Gets the cellCount + * Number of cells in the range. Read-only. + * + * @return int|null The cellCount + */ + public function getCellCount() + { + if (array_key_exists("cellCount", $this->_propDict)) { + return $this->_propDict["cellCount"]; + } else { + return null; + } + } + + /** + * Sets the cellCount + * Number of cells in the range. Read-only. + * + * @param int $val The cellCount + * + * @return WorkbookRange + */ + public function setCellCount($val) + { + $this->_propDict["cellCount"] = intval($val); + return $this; + } + + /** + * Gets the columnCount + * Represents the total number of columns in the range. Read-only. + * + * @return int|null The columnCount + */ + public function getColumnCount() + { + if (array_key_exists("columnCount", $this->_propDict)) { + return $this->_propDict["columnCount"]; + } else { + return null; + } + } + + /** + * Sets the columnCount + * Represents the total number of columns in the range. Read-only. + * + * @param int $val The columnCount + * + * @return WorkbookRange + */ + public function setColumnCount($val) + { + $this->_propDict["columnCount"] = intval($val); + return $this; + } + + /** + * Gets the columnHidden + * Represents if all columns of the current range are hidden. + * + * @return bool|null The columnHidden + */ + public function getColumnHidden() + { + if (array_key_exists("columnHidden", $this->_propDict)) { + return $this->_propDict["columnHidden"]; + } else { + return null; + } + } + + /** + * Sets the columnHidden + * Represents if all columns of the current range are hidden. + * + * @param bool $val The columnHidden + * + * @return WorkbookRange + */ + public function setColumnHidden($val) + { + $this->_propDict["columnHidden"] = boolval($val); + return $this; + } + + /** + * Gets the columnIndex + * Represents the column number of the first cell in the range. Zero-indexed. Read-only. + * + * @return int|null The columnIndex + */ + public function getColumnIndex() + { + if (array_key_exists("columnIndex", $this->_propDict)) { + return $this->_propDict["columnIndex"]; + } else { + return null; + } + } + + /** + * Sets the columnIndex + * Represents the column number of the first cell in the range. Zero-indexed. Read-only. + * + * @param int $val The columnIndex + * + * @return WorkbookRange + */ + public function setColumnIndex($val) + { + $this->_propDict["columnIndex"] = intval($val); + return $this; + } + + /** + * Gets the formulas + * Represents the formula in A1-style notation. + * + * @return string|null The formulas + */ + public function getFormulas() + { + if (array_key_exists("formulas", $this->_propDict)) { + return $this->_propDict["formulas"]; + } else { + return null; + } + } + + /** + * Sets the formulas + * Represents the formula in A1-style notation. + * + * @param string $val The formulas + * + * @return WorkbookRange + */ + public function setFormulas($val) + { + $this->_propDict["formulas"] = $val; + return $this; + } + + /** + * Gets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @return string|null The formulasLocal + */ + public function getFormulasLocal() + { + if (array_key_exists("formulasLocal", $this->_propDict)) { + return $this->_propDict["formulasLocal"]; + } else { + return null; + } + } + + /** + * Sets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @param string $val The formulasLocal + * + * @return WorkbookRange + */ + public function setFormulasLocal($val) + { + $this->_propDict["formulasLocal"] = $val; + return $this; + } + + /** + * Gets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @return string|null The formulasR1C1 + */ + public function getFormulasR1C1() + { + if (array_key_exists("formulasR1C1", $this->_propDict)) { + return $this->_propDict["formulasR1C1"]; + } else { + return null; + } + } + + /** + * Sets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @param string $val The formulasR1C1 + * + * @return WorkbookRange + */ + public function setFormulasR1C1($val) + { + $this->_propDict["formulasR1C1"] = $val; + return $this; + } + + /** + * Gets the hidden + * Represents if all cells of the current range are hidden. Read-only. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Represents if all cells of the current range are hidden. Read-only. + * + * @param bool $val The hidden + * + * @return WorkbookRange + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = boolval($val); + return $this; + } + + /** + * Gets the numberFormat + * Represents Excel's number format code for the given cell. + * + * @return string|null The numberFormat + */ + public function getNumberFormat() + { + if (array_key_exists("numberFormat", $this->_propDict)) { + return $this->_propDict["numberFormat"]; + } else { + return null; + } + } + + /** + * Sets the numberFormat + * Represents Excel's number format code for the given cell. + * + * @param string $val The numberFormat + * + * @return WorkbookRange + */ + public function setNumberFormat($val) + { + $this->_propDict["numberFormat"] = $val; + return $this; + } + + /** + * Gets the rowCount + * Returns the total number of rows in the range. Read-only. + * + * @return int|null The rowCount + */ + public function getRowCount() + { + if (array_key_exists("rowCount", $this->_propDict)) { + return $this->_propDict["rowCount"]; + } else { + return null; + } + } + + /** + * Sets the rowCount + * Returns the total number of rows in the range. Read-only. + * + * @param int $val The rowCount + * + * @return WorkbookRange + */ + public function setRowCount($val) + { + $this->_propDict["rowCount"] = intval($val); + return $this; + } + + /** + * Gets the rowHidden + * Represents if all rows of the current range are hidden. + * + * @return bool|null The rowHidden + */ + public function getRowHidden() + { + if (array_key_exists("rowHidden", $this->_propDict)) { + return $this->_propDict["rowHidden"]; + } else { + return null; + } + } + + /** + * Sets the rowHidden + * Represents if all rows of the current range are hidden. + * + * @param bool $val The rowHidden + * + * @return WorkbookRange + */ + public function setRowHidden($val) + { + $this->_propDict["rowHidden"] = boolval($val); + return $this; + } + + /** + * Gets the rowIndex + * Returns the row number of the first cell in the range. Zero-indexed. Read-only. + * + * @return int|null The rowIndex + */ + public function getRowIndex() + { + if (array_key_exists("rowIndex", $this->_propDict)) { + return $this->_propDict["rowIndex"]; + } else { + return null; + } + } + + /** + * Sets the rowIndex + * Returns the row number of the first cell in the range. Zero-indexed. Read-only. + * + * @param int $val The rowIndex + * + * @return WorkbookRange + */ + public function setRowIndex($val) + { + $this->_propDict["rowIndex"] = intval($val); + return $this; + } + + /** + * Gets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @param string $val The text + * + * @return WorkbookRange + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookRange + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the valueTypes + * Represents the type of data of each cell. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. + * + * @return string|null The valueTypes + */ + public function getValueTypes() + { + if (array_key_exists("valueTypes", $this->_propDict)) { + return $this->_propDict["valueTypes"]; + } else { + return null; + } + } + + /** + * Sets the valueTypes + * Represents the type of data of each cell. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. + * + * @param string $val The valueTypes + * + * @return WorkbookRange + */ + public function setValueTypes($val) + { + $this->_propDict["valueTypes"] = $val; + return $this; + } + + /** + * Gets the format + * Returns a format object, encapsulating the range's font, fill, borders, alignment, and other properties. Read-only. + * + * @return WorkbookRangeFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookRangeFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookRangeFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Returns a format object, encapsulating the range's font, fill, borders, alignment, and other properties. Read-only. + * + * @param WorkbookRangeFormat $val The format + * + * @return WorkbookRange + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the sort + * The worksheet containing the current range. Read-only. + * + * @return WorkbookRangeSort|null The sort + */ + public function getSort() + { + if (array_key_exists("sort", $this->_propDict)) { + if (is_a($this->_propDict["sort"], "\Beta\Microsoft\Graph\Model\WorkbookRangeSort") || is_null($this->_propDict["sort"])) { + return $this->_propDict["sort"]; + } else { + $this->_propDict["sort"] = new WorkbookRangeSort($this->_propDict["sort"]); + return $this->_propDict["sort"]; + } + } + return null; + } + + /** + * Sets the sort + * The worksheet containing the current range. Read-only. + * + * @param WorkbookRangeSort $val The sort + * + * @return WorkbookRange + */ + public function setSort($val) + { + $this->_propDict["sort"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current range. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current range. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookRange + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeBorder.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeBorder.php new file mode 100644 index 0000000..85be358 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeBorder.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). + * + * @param string $val The color + * + * @return WorkbookRangeBorder + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the sideIndex + * Constant value that indicates the specific side of the border. Possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + * + * @return string|null The sideIndex + */ + public function getSideIndex() + { + if (array_key_exists("sideIndex", $this->_propDict)) { + return $this->_propDict["sideIndex"]; + } else { + return null; + } + } + + /** + * Sets the sideIndex + * Constant value that indicates the specific side of the border. Possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + * + * @param string $val The sideIndex + * + * @return WorkbookRangeBorder + */ + public function setSideIndex($val) + { + $this->_propDict["sideIndex"] = $val; + return $this; + } + + /** + * Gets the style + * One of the constants of line style specifying the line style for the border. Possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. + * + * @return string|null The style + */ + public function getStyle() + { + if (array_key_exists("style", $this->_propDict)) { + return $this->_propDict["style"]; + } else { + return null; + } + } + + /** + * Sets the style + * One of the constants of line style specifying the line style for the border. Possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. + * + * @param string $val The style + * + * @return WorkbookRangeBorder + */ + public function setStyle($val) + { + $this->_propDict["style"] = $val; + return $this; + } + + /** + * Gets the weight + * Specifies the weight of the border around a range. Possible values are: Hairline, Thin, Medium, Thick. + * + * @return string|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * Specifies the weight of the border around a range. Possible values are: Hairline, Thin, Medium, Thick. + * + * @param string $val The weight + * + * @return WorkbookRangeBorder + */ + public function setWeight($val) + { + $this->_propDict["weight"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFill.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFill.php new file mode 100644 index 0000000..cbe97ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFill.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange') + * + * @param string $val The color + * + * @return WorkbookRangeFill + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFont.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFont.php new file mode 100644 index 0000000..5ec41d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFont.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["bold"]; + } else { + return null; + } + } + + /** + * Sets the bold + * Represents the bold status of font. + * + * @param bool $val The bold + * + * @return WorkbookRangeFont + */ + public function setBold($val) + { + $this->_propDict["bold"] = boolval($val); + return $this; + } + + /** + * Gets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @return string|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @param string $val The color + * + * @return WorkbookRangeFont + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the italic + * Represents the italic status of the font. + * + * @return bool|null The italic + */ + public function getItalic() + { + if (array_key_exists("italic", $this->_propDict)) { + return $this->_propDict["italic"]; + } else { + return null; + } + } + + /** + * Sets the italic + * Represents the italic status of the font. + * + * @param bool $val The italic + * + * @return WorkbookRangeFont + */ + public function setItalic($val) + { + $this->_propDict["italic"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Font name (e.g. 'Calibri') + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Font name (e.g. 'Calibri') + * + * @param string $val The name + * + * @return WorkbookRangeFont + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * Font size. + * + * @return float|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Font size. + * + * @param float $val The size + * + * @return WorkbookRangeFont + */ + public function setSize($val) + { + $this->_propDict["size"] = floatval($val); + return $this; + } + + /** + * Gets the underline + * Type of underline applied to the font. Possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + * + * @return string|null The underline + */ + public function getUnderline() + { + if (array_key_exists("underline", $this->_propDict)) { + return $this->_propDict["underline"]; + } else { + return null; + } + } + + /** + * Sets the underline + * Type of underline applied to the font. Possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + * + * @param string $val The underline + * + * @return WorkbookRangeFont + */ + public function setUnderline($val) + { + $this->_propDict["underline"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFormat.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFormat.php new file mode 100644 index 0000000..649aa78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFormat.php @@ -0,0 +1,301 @@ +_propDict)) { + return $this->_propDict["columnWidth"]; + } else { + return null; + } + } + + /** + * Sets the columnWidth + * Gets or sets the width of all colums within the range. If the column widths are not uniform, null will be returned. + * + * @param float $val The columnWidth + * + * @return WorkbookRangeFormat + */ + public function setColumnWidth($val) + { + $this->_propDict["columnWidth"] = floatval($val); + return $this; + } + + /** + * Gets the horizontalAlignment + * Represents the horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + * + * @return string|null The horizontalAlignment + */ + public function getHorizontalAlignment() + { + if (array_key_exists("horizontalAlignment", $this->_propDict)) { + return $this->_propDict["horizontalAlignment"]; + } else { + return null; + } + } + + /** + * Sets the horizontalAlignment + * Represents the horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + * + * @param string $val The horizontalAlignment + * + * @return WorkbookRangeFormat + */ + public function setHorizontalAlignment($val) + { + $this->_propDict["horizontalAlignment"] = $val; + return $this; + } + + /** + * Gets the rowHeight + * Gets or sets the height of all rows in the range. If the row heights are not uniform null will be returned. + * + * @return float|null The rowHeight + */ + public function getRowHeight() + { + if (array_key_exists("rowHeight", $this->_propDict)) { + return $this->_propDict["rowHeight"]; + } else { + return null; + } + } + + /** + * Sets the rowHeight + * Gets or sets the height of all rows in the range. If the row heights are not uniform null will be returned. + * + * @param float $val The rowHeight + * + * @return WorkbookRangeFormat + */ + public function setRowHeight($val) + { + $this->_propDict["rowHeight"] = floatval($val); + return $this; + } + + /** + * Gets the verticalAlignment + * Represents the vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. + * + * @return string|null The verticalAlignment + */ + public function getVerticalAlignment() + { + if (array_key_exists("verticalAlignment", $this->_propDict)) { + return $this->_propDict["verticalAlignment"]; + } else { + return null; + } + } + + /** + * Sets the verticalAlignment + * Represents the vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. + * + * @param string $val The verticalAlignment + * + * @return WorkbookRangeFormat + */ + public function setVerticalAlignment($val) + { + $this->_propDict["verticalAlignment"] = $val; + return $this; + } + + /** + * Gets the wrapText + * Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + * + * @return bool|null The wrapText + */ + public function getWrapText() + { + if (array_key_exists("wrapText", $this->_propDict)) { + return $this->_propDict["wrapText"]; + } else { + return null; + } + } + + /** + * Sets the wrapText + * Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + * + * @param bool $val The wrapText + * + * @return WorkbookRangeFormat + */ + public function setWrapText($val) + { + $this->_propDict["wrapText"] = boolval($val); + return $this; + } + + + /** + * Gets the borders + * Collection of border objects that apply to the overall range selected Read-only. + * + * @return array|null The borders + */ + public function getBorders() + { + if (array_key_exists("borders", $this->_propDict)) { + return $this->_propDict["borders"]; + } else { + return null; + } + } + + /** + * Sets the borders + * Collection of border objects that apply to the overall range selected Read-only. + * + * @param WorkbookRangeBorder[] $val The borders + * + * @return WorkbookRangeFormat + */ + public function setBorders($val) + { + $this->_propDict["borders"] = $val; + return $this; + } + + /** + * Gets the fill + * Returns the fill object defined on the overall range. Read-only. + * + * @return WorkbookRangeFill|null The fill + */ + public function getFill() + { + if (array_key_exists("fill", $this->_propDict)) { + if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookRangeFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookRangeFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Returns the fill object defined on the overall range. Read-only. + * + * @param WorkbookRangeFill $val The fill + * + * @return WorkbookRangeFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Returns the font object defined on the overall range selected Read-only. + * + * @return WorkbookRangeFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookRangeFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookRangeFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Returns the font object defined on the overall range selected Read-only. + * + * @param WorkbookRangeFont $val The font + * + * @return WorkbookRangeFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + + /** + * Gets the protection + * Returns the format protection object for a range. Read-only. + * + * @return WorkbookFormatProtection|null The protection + */ + public function getProtection() + { + if (array_key_exists("protection", $this->_propDict)) { + if (is_a($this->_propDict["protection"], "\Beta\Microsoft\Graph\Model\WorkbookFormatProtection") || is_null($this->_propDict["protection"])) { + return $this->_propDict["protection"]; + } else { + $this->_propDict["protection"] = new WorkbookFormatProtection($this->_propDict["protection"]); + return $this->_propDict["protection"]; + } + } + return null; + } + + /** + * Sets the protection + * Returns the format protection object for a range. Read-only. + * + * @param WorkbookFormatProtection $val The protection + * + * @return WorkbookRangeFormat + */ + public function setProtection($val) + { + $this->_propDict["protection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeReference.php new file mode 100644 index 0000000..03d7e2d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeReference.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * + * @param string $val The value of the address + * + * @return WorkbookRangeReference + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeSort.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeSort.php new file mode 100644 index 0000000..4593250 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeSort.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["cellAddresses"]; + } else { + return null; + } + } + + /** + * Sets the cellAddresses + * Represents the cell addresses + * + * @param string $val The cellAddresses + * + * @return WorkbookRangeView + */ + public function setCellAddresses($val) + { + $this->_propDict["cellAddresses"] = $val; + return $this; + } + + /** + * Gets the columnCount + * Returns the number of visible columns. Read-only. + * + * @return int|null The columnCount + */ + public function getColumnCount() + { + if (array_key_exists("columnCount", $this->_propDict)) { + return $this->_propDict["columnCount"]; + } else { + return null; + } + } + + /** + * Sets the columnCount + * Returns the number of visible columns. Read-only. + * + * @param int $val The columnCount + * + * @return WorkbookRangeView + */ + public function setColumnCount($val) + { + $this->_propDict["columnCount"] = intval($val); + return $this; + } + + /** + * Gets the formulas + * Represents the formula in A1-style notation. + * + * @return string|null The formulas + */ + public function getFormulas() + { + if (array_key_exists("formulas", $this->_propDict)) { + return $this->_propDict["formulas"]; + } else { + return null; + } + } + + /** + * Sets the formulas + * Represents the formula in A1-style notation. + * + * @param string $val The formulas + * + * @return WorkbookRangeView + */ + public function setFormulas($val) + { + $this->_propDict["formulas"] = $val; + return $this; + } + + /** + * Gets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @return string|null The formulasLocal + */ + public function getFormulasLocal() + { + if (array_key_exists("formulasLocal", $this->_propDict)) { + return $this->_propDict["formulasLocal"]; + } else { + return null; + } + } + + /** + * Sets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @param string $val The formulasLocal + * + * @return WorkbookRangeView + */ + public function setFormulasLocal($val) + { + $this->_propDict["formulasLocal"] = $val; + return $this; + } + + /** + * Gets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @return string|null The formulasR1C1 + */ + public function getFormulasR1C1() + { + if (array_key_exists("formulasR1C1", $this->_propDict)) { + return $this->_propDict["formulasR1C1"]; + } else { + return null; + } + } + + /** + * Sets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @param string $val The formulasR1C1 + * + * @return WorkbookRangeView + */ + public function setFormulasR1C1($val) + { + $this->_propDict["formulasR1C1"] = $val; + return $this; + } + + /** + * Gets the index + * Index of the range. + * + * @return int|null The index + */ + public function getIndex() + { + if (array_key_exists("index", $this->_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Index of the range. + * + * @param int $val The index + * + * @return WorkbookRangeView + */ + public function setIndex($val) + { + $this->_propDict["index"] = intval($val); + return $this; + } + + /** + * Gets the numberFormat + * Represents Excel's number format code for the given cell. Read-only. + * + * @return string|null The numberFormat + */ + public function getNumberFormat() + { + if (array_key_exists("numberFormat", $this->_propDict)) { + return $this->_propDict["numberFormat"]; + } else { + return null; + } + } + + /** + * Sets the numberFormat + * Represents Excel's number format code for the given cell. Read-only. + * + * @param string $val The numberFormat + * + * @return WorkbookRangeView + */ + public function setNumberFormat($val) + { + $this->_propDict["numberFormat"] = $val; + return $this; + } + + /** + * Gets the rowCount + * Returns the number of visible rows. Read-only. + * + * @return int|null The rowCount + */ + public function getRowCount() + { + if (array_key_exists("rowCount", $this->_propDict)) { + return $this->_propDict["rowCount"]; + } else { + return null; + } + } + + /** + * Sets the rowCount + * Returns the number of visible rows. Read-only. + * + * @param int $val The rowCount + * + * @return WorkbookRangeView + */ + public function setRowCount($val) + { + $this->_propDict["rowCount"] = intval($val); + return $this; + } + + /** + * Gets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @param string $val The text + * + * @return WorkbookRangeView + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookRangeView + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the valueTypes + * Represents the type of data of each cell. Read-only. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. + * + * @return string|null The valueTypes + */ + public function getValueTypes() + { + if (array_key_exists("valueTypes", $this->_propDict)) { + return $this->_propDict["valueTypes"]; + } else { + return null; + } + } + + /** + * Sets the valueTypes + * Represents the type of data of each cell. Read-only. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. + * + * @param string $val The valueTypes + * + * @return WorkbookRangeView + */ + public function setValueTypes($val) + { + $this->_propDict["valueTypes"] = $val; + return $this; + } + + + /** + * Gets the rows + * Represents a collection of range views associated with the range. Read-only. Read-only. + * + * @return array|null The rows + */ + public function getRows() + { + if (array_key_exists("rows", $this->_propDict)) { + return $this->_propDict["rows"]; + } else { + return null; + } + } + + /** + * Sets the rows + * Represents a collection of range views associated with the range. Read-only. Read-only. + * + * @param WorkbookRangeView[] $val The rows + * + * @return WorkbookRangeView + */ + public function setRows($val) + { + $this->_propDict["rows"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSessionInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSessionInfo.php new file mode 100644 index 0000000..091db1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSessionInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * Id of the workbook session. + * + * @param string $val The value of the id + * + * @return WorkbookSessionInfo + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the persistChanges + * true for persistent session. false for non-persistent session (view mode) + * + * @return bool|null The persistChanges + */ + public function getPersistChanges() + { + if (array_key_exists("persistChanges", $this->_propDict)) { + return $this->_propDict["persistChanges"]; + } else { + return null; + } + } + + /** + * Sets the persistChanges + * true for persistent session. false for non-persistent session (view mode) + * + * @param bool $val The value of the persistChanges + * + * @return WorkbookSessionInfo + */ + public function setPersistChanges($val) + { + $this->_propDict["persistChanges"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSortField.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSortField.php new file mode 100644 index 0000000..cdb68eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSortField.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["ascending"]; + } else { + return null; + } + } + + /** + * Sets the ascending + * Represents whether the sorting is done in an ascending fashion. + * + * @param bool $val The value of the ascending + * + * @return WorkbookSortField + */ + public function setAscending($val) + { + $this->_propDict["ascending"] = $val; + return $this; + } + /** + * Gets the color + * Represents the color that is the target of the condition if the sorting is on font or cell color. + * + * @return string|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * Represents the color that is the target of the condition if the sorting is on font or cell color. + * + * @param string $val The value of the color + * + * @return WorkbookSortField + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + /** + * Gets the dataOption + * Represents additional sorting options for this field. Possible values are: Normal, TextAsNumber. + * + * @return string|null The dataOption + */ + public function getDataOption() + { + if (array_key_exists("dataOption", $this->_propDict)) { + return $this->_propDict["dataOption"]; + } else { + return null; + } + } + + /** + * Sets the dataOption + * Represents additional sorting options for this field. Possible values are: Normal, TextAsNumber. + * + * @param string $val The value of the dataOption + * + * @return WorkbookSortField + */ + public function setDataOption($val) + { + $this->_propDict["dataOption"] = $val; + return $this; + } + + /** + * Gets the icon + * Represents the icon that is the target of the condition if the sorting is on the cell's icon. + * + * @return WorkbookIcon|null The icon + */ + public function getIcon() + { + if (array_key_exists("icon", $this->_propDict)) { + if (is_a($this->_propDict["icon"], "\Beta\Microsoft\Graph\Model\WorkbookIcon") || is_null($this->_propDict["icon"])) { + return $this->_propDict["icon"]; + } else { + $this->_propDict["icon"] = new WorkbookIcon($this->_propDict["icon"]); + return $this->_propDict["icon"]; + } + } + return null; + } + + /** + * Sets the icon + * Represents the icon that is the target of the condition if the sorting is on the cell's icon. + * + * @param WorkbookIcon $val The value to assign to the icon + * + * @return WorkbookSortField The WorkbookSortField + */ + public function setIcon($val) + { + $this->_propDict["icon"] = $val; + return $this; + } + /** + * Gets the key + * Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row). + * + * @return int|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row). + * + * @param int $val The value of the key + * + * @return WorkbookSortField + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the sortOn + * Represents the type of sorting of this condition. Possible values are: Value, CellColor, FontColor, Icon. + * + * @return string|null The sortOn + */ + public function getSortOn() + { + if (array_key_exists("sortOn", $this->_propDict)) { + return $this->_propDict["sortOn"]; + } else { + return null; + } + } + + /** + * Sets the sortOn + * Represents the type of sorting of this condition. Possible values are: Value, CellColor, FontColor, Icon. + * + * @param string $val The value of the sortOn + * + * @return WorkbookSortField + */ + public function setSortOn($val) + { + $this->_propDict["sortOn"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTable.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTable.php new file mode 100644 index 0000000..6dc9395 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTable.php @@ -0,0 +1,443 @@ +_propDict)) { + return $this->_propDict["highlightFirstColumn"]; + } else { + return null; + } + } + + /** + * Sets the highlightFirstColumn + * Indicates whether the first column contains special formatting. + * + * @param bool $val The highlightFirstColumn + * + * @return WorkbookTable + */ + public function setHighlightFirstColumn($val) + { + $this->_propDict["highlightFirstColumn"] = boolval($val); + return $this; + } + + /** + * Gets the highlightLastColumn + * Indicates whether the last column contains special formatting. + * + * @return bool|null The highlightLastColumn + */ + public function getHighlightLastColumn() + { + if (array_key_exists("highlightLastColumn", $this->_propDict)) { + return $this->_propDict["highlightLastColumn"]; + } else { + return null; + } + } + + /** + * Sets the highlightLastColumn + * Indicates whether the last column contains special formatting. + * + * @param bool $val The highlightLastColumn + * + * @return WorkbookTable + */ + public function setHighlightLastColumn($val) + { + $this->_propDict["highlightLastColumn"] = boolval($val); + return $this; + } + + /** + * Gets the legacyId + * Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. + * + * @return string|null The legacyId + */ + public function getLegacyId() + { + if (array_key_exists("legacyId", $this->_propDict)) { + return $this->_propDict["legacyId"]; + } else { + return null; + } + } + + /** + * Sets the legacyId + * Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. + * + * @param string $val The legacyId + * + * @return WorkbookTable + */ + public function setLegacyId($val) + { + $this->_propDict["legacyId"] = $val; + return $this; + } + + /** + * Gets the name + * Name of the table. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the table. + * + * @param string $val The name + * + * @return WorkbookTable + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the showBandedColumns + * Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier. + * + * @return bool|null The showBandedColumns + */ + public function getShowBandedColumns() + { + if (array_key_exists("showBandedColumns", $this->_propDict)) { + return $this->_propDict["showBandedColumns"]; + } else { + return null; + } + } + + /** + * Sets the showBandedColumns + * Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier. + * + * @param bool $val The showBandedColumns + * + * @return WorkbookTable + */ + public function setShowBandedColumns($val) + { + $this->_propDict["showBandedColumns"] = boolval($val); + return $this; + } + + /** + * Gets the showBandedRows + * Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier. + * + * @return bool|null The showBandedRows + */ + public function getShowBandedRows() + { + if (array_key_exists("showBandedRows", $this->_propDict)) { + return $this->_propDict["showBandedRows"]; + } else { + return null; + } + } + + /** + * Sets the showBandedRows + * Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier. + * + * @param bool $val The showBandedRows + * + * @return WorkbookTable + */ + public function setShowBandedRows($val) + { + $this->_propDict["showBandedRows"] = boolval($val); + return $this; + } + + /** + * Gets the showFilterButton + * Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row. + * + * @return bool|null The showFilterButton + */ + public function getShowFilterButton() + { + if (array_key_exists("showFilterButton", $this->_propDict)) { + return $this->_propDict["showFilterButton"]; + } else { + return null; + } + } + + /** + * Sets the showFilterButton + * Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row. + * + * @param bool $val The showFilterButton + * + * @return WorkbookTable + */ + public function setShowFilterButton($val) + { + $this->_propDict["showFilterButton"] = boolval($val); + return $this; + } + + /** + * Gets the showHeaders + * Indicates whether the header row is visible or not. This value can be set to show or remove the header row. + * + * @return bool|null The showHeaders + */ + public function getShowHeaders() + { + if (array_key_exists("showHeaders", $this->_propDict)) { + return $this->_propDict["showHeaders"]; + } else { + return null; + } + } + + /** + * Sets the showHeaders + * Indicates whether the header row is visible or not. This value can be set to show or remove the header row. + * + * @param bool $val The showHeaders + * + * @return WorkbookTable + */ + public function setShowHeaders($val) + { + $this->_propDict["showHeaders"] = boolval($val); + return $this; + } + + /** + * Gets the showTotals + * Indicates whether the total row is visible or not. This value can be set to show or remove the total row. + * + * @return bool|null The showTotals + */ + public function getShowTotals() + { + if (array_key_exists("showTotals", $this->_propDict)) { + return $this->_propDict["showTotals"]; + } else { + return null; + } + } + + /** + * Sets the showTotals + * Indicates whether the total row is visible or not. This value can be set to show or remove the total row. + * + * @param bool $val The showTotals + * + * @return WorkbookTable + */ + public function setShowTotals($val) + { + $this->_propDict["showTotals"] = boolval($val); + return $this; + } + + /** + * Gets the style + * Constant value that represents the Table style. Possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * + * @return string|null The style + */ + public function getStyle() + { + if (array_key_exists("style", $this->_propDict)) { + return $this->_propDict["style"]; + } else { + return null; + } + } + + /** + * Sets the style + * Constant value that represents the Table style. Possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * + * @param string $val The style + * + * @return WorkbookTable + */ + public function setStyle($val) + { + $this->_propDict["style"] = $val; + return $this; + } + + + /** + * Gets the columns + * Represents a collection of all the columns in the table. Read-only. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * Represents a collection of all the columns in the table. Read-only. + * + * @param WorkbookTableColumn[] $val The columns + * + * @return WorkbookTable + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + + /** + * Gets the rows + * Represents a collection of all the rows in the table. Read-only. + * + * @return array|null The rows + */ + public function getRows() + { + if (array_key_exists("rows", $this->_propDict)) { + return $this->_propDict["rows"]; + } else { + return null; + } + } + + /** + * Sets the rows + * Represents a collection of all the rows in the table. Read-only. + * + * @param WorkbookTableRow[] $val The rows + * + * @return WorkbookTable + */ + public function setRows($val) + { + $this->_propDict["rows"] = $val; + return $this; + } + + /** + * Gets the sort + * Represents the sorting for the table. Read-only. + * + * @return WorkbookTableSort|null The sort + */ + public function getSort() + { + if (array_key_exists("sort", $this->_propDict)) { + if (is_a($this->_propDict["sort"], "\Beta\Microsoft\Graph\Model\WorkbookTableSort") || is_null($this->_propDict["sort"])) { + return $this->_propDict["sort"]; + } else { + $this->_propDict["sort"] = new WorkbookTableSort($this->_propDict["sort"]); + return $this->_propDict["sort"]; + } + } + return null; + } + + /** + * Sets the sort + * Represents the sorting for the table. Read-only. + * + * @param WorkbookTableSort $val The sort + * + * @return WorkbookTable + */ + public function setSort($val) + { + $this->_propDict["sort"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current table. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current table. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookTable + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableColumn.php new file mode 100644 index 0000000..c163711 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableColumn.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Returns the index number of the column within the columns collection of the table. Zero-indexed. Read-only. + * + * @param int $val The index + * + * @return WorkbookTableColumn + */ + public function setIndex($val) + { + $this->_propDict["index"] = intval($val); + return $this; + } + + /** + * Gets the name + * Returns the name of the table column. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Returns the name of the table column. + * + * @param string $val The name + * + * @return WorkbookTableColumn + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookTableColumn + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the filter + * Retrieve the filter applied to the column. Read-only. + * + * @return WorkbookFilter|null The filter + */ + public function getFilter() + { + if (array_key_exists("filter", $this->_propDict)) { + if (is_a($this->_propDict["filter"], "\Beta\Microsoft\Graph\Model\WorkbookFilter") || is_null($this->_propDict["filter"])) { + return $this->_propDict["filter"]; + } else { + $this->_propDict["filter"] = new WorkbookFilter($this->_propDict["filter"]); + return $this->_propDict["filter"]; + } + } + return null; + } + + /** + * Sets the filter + * Retrieve the filter applied to the column. Read-only. + * + * @param WorkbookFilter $val The filter + * + * @return WorkbookTableColumn + */ + public function setFilter($val) + { + $this->_propDict["filter"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableRow.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableRow.php new file mode 100644 index 0000000..b661e02 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableRow.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Returns the index number of the row within the rows collection of the table. Zero-indexed. Read-only. + * + * @param int $val The index + * + * @return WorkbookTableRow + */ + public function setIndex($val) + { + $this->_propDict["index"] = intval($val); + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookTableRow + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableSort.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableSort.php new file mode 100644 index 0000000..7dbf6a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableSort.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["fields"]; + } else { + return null; + } + } + + /** + * Sets the fields + * Represents the current conditions used to last sort the table. Read-only. + * + * @param WorkbookSortField[] $val The fields + * + * @return WorkbookTableSort + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + + /** + * Gets the matchCase + * Represents whether the casing impacted the last sort of the table. Read-only. + * + * @return bool|null The matchCase + */ + public function getMatchCase() + { + if (array_key_exists("matchCase", $this->_propDict)) { + return $this->_propDict["matchCase"]; + } else { + return null; + } + } + + /** + * Sets the matchCase + * Represents whether the casing impacted the last sort of the table. Read-only. + * + * @param bool $val The matchCase + * + * @return WorkbookTableSort + */ + public function setMatchCase($val) + { + $this->_propDict["matchCase"] = boolval($val); + return $this; + } + + /** + * Gets the method + * Represents Chinese character ordering method last used to sort the table. Possible values are: PinYin, StrokeCount. Read-only. + * + * @return string|null The method + */ + public function getMethod() + { + if (array_key_exists("method", $this->_propDict)) { + return $this->_propDict["method"]; + } else { + return null; + } + } + + /** + * Sets the method + * Represents Chinese character ordering method last used to sort the table. Possible values are: PinYin, StrokeCount. Read-only. + * + * @param string $val The method + * + * @return WorkbookTableSort + */ + public function setMethod($val) + { + $this->_propDict["method"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php new file mode 100644 index 0000000..c399438 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the worksheet. + * + * @param string $val The name + * + * @return WorkbookWorksheet + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the position + * The zero-based position of the worksheet within the workbook. + * + * @return int|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * The zero-based position of the worksheet within the workbook. + * + * @param int $val The position + * + * @return WorkbookWorksheet + */ + public function setPosition($val) + { + $this->_propDict["position"] = intval($val); + return $this; + } + + /** + * Gets the visibility + * The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + * + * @return string|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + return $this->_propDict["visibility"]; + } else { + return null; + } + } + + /** + * Sets the visibility + * The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + * + * @param string $val The visibility + * + * @return WorkbookWorksheet + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + + /** + * Gets the charts + * Returns collection of charts that are part of the worksheet. Read-only. + * + * @return array|null The charts + */ + public function getCharts() + { + if (array_key_exists("charts", $this->_propDict)) { + return $this->_propDict["charts"]; + } else { + return null; + } + } + + /** + * Sets the charts + * Returns collection of charts that are part of the worksheet. Read-only. + * + * @param WorkbookChart[] $val The charts + * + * @return WorkbookWorksheet + */ + public function setCharts($val) + { + $this->_propDict["charts"] = $val; + return $this; + } + + + /** + * Gets the names + * Returns collection of names that are associated with the worksheet. Read-only. + * + * @return array|null The names + */ + public function getNames() + { + if (array_key_exists("names", $this->_propDict)) { + return $this->_propDict["names"]; + } else { + return null; + } + } + + /** + * Sets the names + * Returns collection of names that are associated with the worksheet. Read-only. + * + * @param WorkbookNamedItem[] $val The names + * + * @return WorkbookWorksheet + */ + public function setNames($val) + { + $this->_propDict["names"] = $val; + return $this; + } + + + /** + * Gets the pivotTables + * Collection of PivotTables that are part of the worksheet. + * + * @return array|null The pivotTables + */ + public function getPivotTables() + { + if (array_key_exists("pivotTables", $this->_propDict)) { + return $this->_propDict["pivotTables"]; + } else { + return null; + } + } + + /** + * Sets the pivotTables + * Collection of PivotTables that are part of the worksheet. + * + * @param WorkbookPivotTable[] $val The pivotTables + * + * @return WorkbookWorksheet + */ + public function setPivotTables($val) + { + $this->_propDict["pivotTables"] = $val; + return $this; + } + + /** + * Gets the protection + * Returns sheet protection object for a worksheet. Read-only. + * + * @return WorkbookWorksheetProtection|null The protection + */ + public function getProtection() + { + if (array_key_exists("protection", $this->_propDict)) { + if (is_a($this->_propDict["protection"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheetProtection") || is_null($this->_propDict["protection"])) { + return $this->_propDict["protection"]; + } else { + $this->_propDict["protection"] = new WorkbookWorksheetProtection($this->_propDict["protection"]); + return $this->_propDict["protection"]; + } + } + return null; + } + + /** + * Sets the protection + * Returns sheet protection object for a worksheet. Read-only. + * + * @param WorkbookWorksheetProtection $val The protection + * + * @return WorkbookWorksheet + */ + public function setProtection($val) + { + $this->_propDict["protection"] = $val; + return $this; + } + + + /** + * Gets the tables + * Collection of tables that are part of the worksheet. Read-only. + * + * @return array|null The tables + */ + public function getTables() + { + if (array_key_exists("tables", $this->_propDict)) { + return $this->_propDict["tables"]; + } else { + return null; + } + } + + /** + * Sets the tables + * Collection of tables that are part of the worksheet. Read-only. + * + * @param WorkbookTable[] $val The tables + * + * @return WorkbookWorksheet + */ + public function setTables($val) + { + $this->_propDict["tables"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtection.php new file mode 100644 index 0000000..18c8f4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtection.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["options"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheetProtectionOptions") || is_null($this->_propDict["options"])) { + return $this->_propDict["options"]; + } else { + $this->_propDict["options"] = new WorkbookWorksheetProtectionOptions($this->_propDict["options"]); + return $this->_propDict["options"]; + } + } + return null; + } + + /** + * Sets the options + * Sheet protection options. Read-only. + * + * @param WorkbookWorksheetProtectionOptions $val The options + * + * @return WorkbookWorksheetProtection + */ + public function setOptions($val) + { + $this->_propDict["options"] = $val; + return $this; + } + + /** + * Gets the protected + * Indicates if the worksheet is protected. Read-only. + * + * @return bool|null The protected + */ + public function getProtected() + { + if (array_key_exists("protected", $this->_propDict)) { + return $this->_propDict["protected"]; + } else { + return null; + } + } + + /** + * Sets the protected + * Indicates if the worksheet is protected. Read-only. + * + * @param bool $val The protected + * + * @return WorkbookWorksheetProtection + */ + public function setProtected($val) + { + $this->_propDict["protected"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtectionOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtectionOptions.php new file mode 100644 index 0000000..4ece9d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtectionOptions.php @@ -0,0 +1,334 @@ +_propDict)) { + return $this->_propDict["allowAutoFilter"]; + } else { + return null; + } + } + + /** + * Sets the allowAutoFilter + * Represents the worksheet protection option of allowing using auto filter feature. + * + * @param bool $val The value of the allowAutoFilter + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowAutoFilter($val) + { + $this->_propDict["allowAutoFilter"] = $val; + return $this; + } + /** + * Gets the allowDeleteColumns + * Represents the worksheet protection option of allowing deleting columns. + * + * @return bool|null The allowDeleteColumns + */ + public function getAllowDeleteColumns() + { + if (array_key_exists("allowDeleteColumns", $this->_propDict)) { + return $this->_propDict["allowDeleteColumns"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteColumns + * Represents the worksheet protection option of allowing deleting columns. + * + * @param bool $val The value of the allowDeleteColumns + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowDeleteColumns($val) + { + $this->_propDict["allowDeleteColumns"] = $val; + return $this; + } + /** + * Gets the allowDeleteRows + * Represents the worksheet protection option of allowing deleting rows. + * + * @return bool|null The allowDeleteRows + */ + public function getAllowDeleteRows() + { + if (array_key_exists("allowDeleteRows", $this->_propDict)) { + return $this->_propDict["allowDeleteRows"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteRows + * Represents the worksheet protection option of allowing deleting rows. + * + * @param bool $val The value of the allowDeleteRows + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowDeleteRows($val) + { + $this->_propDict["allowDeleteRows"] = $val; + return $this; + } + /** + * Gets the allowFormatCells + * Represents the worksheet protection option of allowing formatting cells. + * + * @return bool|null The allowFormatCells + */ + public function getAllowFormatCells() + { + if (array_key_exists("allowFormatCells", $this->_propDict)) { + return $this->_propDict["allowFormatCells"]; + } else { + return null; + } + } + + /** + * Sets the allowFormatCells + * Represents the worksheet protection option of allowing formatting cells. + * + * @param bool $val The value of the allowFormatCells + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowFormatCells($val) + { + $this->_propDict["allowFormatCells"] = $val; + return $this; + } + /** + * Gets the allowFormatColumns + * Represents the worksheet protection option of allowing formatting columns. + * + * @return bool|null The allowFormatColumns + */ + public function getAllowFormatColumns() + { + if (array_key_exists("allowFormatColumns", $this->_propDict)) { + return $this->_propDict["allowFormatColumns"]; + } else { + return null; + } + } + + /** + * Sets the allowFormatColumns + * Represents the worksheet protection option of allowing formatting columns. + * + * @param bool $val The value of the allowFormatColumns + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowFormatColumns($val) + { + $this->_propDict["allowFormatColumns"] = $val; + return $this; + } + /** + * Gets the allowFormatRows + * Represents the worksheet protection option of allowing formatting rows. + * + * @return bool|null The allowFormatRows + */ + public function getAllowFormatRows() + { + if (array_key_exists("allowFormatRows", $this->_propDict)) { + return $this->_propDict["allowFormatRows"]; + } else { + return null; + } + } + + /** + * Sets the allowFormatRows + * Represents the worksheet protection option of allowing formatting rows. + * + * @param bool $val The value of the allowFormatRows + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowFormatRows($val) + { + $this->_propDict["allowFormatRows"] = $val; + return $this; + } + /** + * Gets the allowInsertColumns + * Represents the worksheet protection option of allowing inserting columns. + * + * @return bool|null The allowInsertColumns + */ + public function getAllowInsertColumns() + { + if (array_key_exists("allowInsertColumns", $this->_propDict)) { + return $this->_propDict["allowInsertColumns"]; + } else { + return null; + } + } + + /** + * Sets the allowInsertColumns + * Represents the worksheet protection option of allowing inserting columns. + * + * @param bool $val The value of the allowInsertColumns + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowInsertColumns($val) + { + $this->_propDict["allowInsertColumns"] = $val; + return $this; + } + /** + * Gets the allowInsertHyperlinks + * Represents the worksheet protection option of allowing inserting hyperlinks. + * + * @return bool|null The allowInsertHyperlinks + */ + public function getAllowInsertHyperlinks() + { + if (array_key_exists("allowInsertHyperlinks", $this->_propDict)) { + return $this->_propDict["allowInsertHyperlinks"]; + } else { + return null; + } + } + + /** + * Sets the allowInsertHyperlinks + * Represents the worksheet protection option of allowing inserting hyperlinks. + * + * @param bool $val The value of the allowInsertHyperlinks + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowInsertHyperlinks($val) + { + $this->_propDict["allowInsertHyperlinks"] = $val; + return $this; + } + /** + * Gets the allowInsertRows + * Represents the worksheet protection option of allowing inserting rows. + * + * @return bool|null The allowInsertRows + */ + public function getAllowInsertRows() + { + if (array_key_exists("allowInsertRows", $this->_propDict)) { + return $this->_propDict["allowInsertRows"]; + } else { + return null; + } + } + + /** + * Sets the allowInsertRows + * Represents the worksheet protection option of allowing inserting rows. + * + * @param bool $val The value of the allowInsertRows + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowInsertRows($val) + { + $this->_propDict["allowInsertRows"] = $val; + return $this; + } + /** + * Gets the allowPivotTables + * Represents the worksheet protection option of allowing using pivot table feature. + * + * @return bool|null The allowPivotTables + */ + public function getAllowPivotTables() + { + if (array_key_exists("allowPivotTables", $this->_propDict)) { + return $this->_propDict["allowPivotTables"]; + } else { + return null; + } + } + + /** + * Sets the allowPivotTables + * Represents the worksheet protection option of allowing using pivot table feature. + * + * @param bool $val The value of the allowPivotTables + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowPivotTables($val) + { + $this->_propDict["allowPivotTables"] = $val; + return $this; + } + /** + * Gets the allowSort + * Represents the worksheet protection option of allowing using sort feature. + * + * @return bool|null The allowSort + */ + public function getAllowSort() + { + if (array_key_exists("allowSort", $this->_propDict)) { + return $this->_propDict["allowSort"]; + } else { + return null; + } + } + + /** + * Sets the allowSort + * Represents the worksheet protection option of allowing using sort feature. + * + * @param bool $val The value of the allowSort + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowSort($val) + { + $this->_propDict["allowSort"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegration.php new file mode 100644 index 0000000..0ca3a68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegration.php @@ -0,0 +1,273 @@ +_propDict)) { + return $this->_propDict["apiVersion"]; + } else { + return null; + } + } + + /** + * Sets the apiVersion + * API version for the call back URL. Start with 1. + * + * @param int $val The apiVersion + * + * @return WorkforceIntegration + */ + public function setApiVersion($val) + { + $this->_propDict["apiVersion"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * Name of the workforce integration. + * + * @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 + * Name of the workforce integration. + * + * @param string $val The displayName + * + * @return WorkforceIntegration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the eligibilityFilteringEnabledEntities + * + * @return EligibilityFilteringEnabledEntities|null The eligibilityFilteringEnabledEntities + */ + public function getEligibilityFilteringEnabledEntities() + { + if (array_key_exists("eligibilityFilteringEnabledEntities", $this->_propDict)) { + if (is_a($this->_propDict["eligibilityFilteringEnabledEntities"], "\Beta\Microsoft\Graph\Model\EligibilityFilteringEnabledEntities") || is_null($this->_propDict["eligibilityFilteringEnabledEntities"])) { + return $this->_propDict["eligibilityFilteringEnabledEntities"]; + } else { + $this->_propDict["eligibilityFilteringEnabledEntities"] = new EligibilityFilteringEnabledEntities($this->_propDict["eligibilityFilteringEnabledEntities"]); + return $this->_propDict["eligibilityFilteringEnabledEntities"]; + } + } + return null; + } + + /** + * Sets the eligibilityFilteringEnabledEntities + * + * @param EligibilityFilteringEnabledEntities $val The eligibilityFilteringEnabledEntities + * + * @return WorkforceIntegration + */ + public function setEligibilityFilteringEnabledEntities($val) + { + $this->_propDict["eligibilityFilteringEnabledEntities"] = $val; + return $this; + } + + /** + * Gets the encryption + * The workforce integration encryption resource. + * + * @return WorkforceIntegrationEncryption|null The encryption + */ + public function getEncryption() + { + if (array_key_exists("encryption", $this->_propDict)) { + if (is_a($this->_propDict["encryption"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationEncryption") || is_null($this->_propDict["encryption"])) { + return $this->_propDict["encryption"]; + } else { + $this->_propDict["encryption"] = new WorkforceIntegrationEncryption($this->_propDict["encryption"]); + return $this->_propDict["encryption"]; + } + } + return null; + } + + /** + * Sets the encryption + * The workforce integration encryption resource. + * + * @param WorkforceIntegrationEncryption $val The encryption + * + * @return WorkforceIntegration + */ + public function setEncryption($val) + { + $this->_propDict["encryption"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether this workforce integration is currently active and available. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether this workforce integration is currently active and available. + * + * @param bool $val The isActive + * + * @return WorkforceIntegration + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the supportedEntities + * This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + * + * @return WorkforceIntegrationSupportedEntities|null The supportedEntities + */ + public function getSupportedEntities() + { + if (array_key_exists("supportedEntities", $this->_propDict)) { + if (is_a($this->_propDict["supportedEntities"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities") || is_null($this->_propDict["supportedEntities"])) { + return $this->_propDict["supportedEntities"]; + } else { + $this->_propDict["supportedEntities"] = new WorkforceIntegrationSupportedEntities($this->_propDict["supportedEntities"]); + return $this->_propDict["supportedEntities"]; + } + } + return null; + } + + /** + * Sets the supportedEntities + * This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + * + * @param WorkforceIntegrationSupportedEntities $val The supportedEntities + * + * @return WorkforceIntegration + */ + public function setSupportedEntities($val) + { + $this->_propDict["supportedEntities"] = $val; + return $this; + } + + /** + * Gets the supports + * The Shifts entities supported for synchronous change notifications. Shifts will make a call back to the url provided on client changes on those entities added here. By default, no entities are supported for change notifications. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + * + * @return WorkforceIntegrationSupportedEntities|null The supports + */ + public function getSupports() + { + if (array_key_exists("supports", $this->_propDict)) { + if (is_a($this->_propDict["supports"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities") || is_null($this->_propDict["supports"])) { + return $this->_propDict["supports"]; + } else { + $this->_propDict["supports"] = new WorkforceIntegrationSupportedEntities($this->_propDict["supports"]); + return $this->_propDict["supports"]; + } + } + return null; + } + + /** + * Sets the supports + * The Shifts entities supported for synchronous change notifications. Shifts will make a call back to the url provided on client changes on those entities added here. By default, no entities are supported for change notifications. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + * + * @param WorkforceIntegrationSupportedEntities $val The supports + * + * @return WorkforceIntegration + */ + public function setSupports($val) + { + $this->_propDict["supports"] = $val; + return $this; + } + + /** + * Gets the url + * Workforce Integration URL for callbacks from the Shifts service. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * Workforce Integration URL for callbacks from the Shifts service. + * + * @param string $val The url + * + * @return WorkforceIntegration + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryption.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryption.php new file mode 100644 index 0000000..6ecae34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryption.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["protocol"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationEncryptionProtocol") || is_null($this->_propDict["protocol"])) { + return $this->_propDict["protocol"]; + } else { + $this->_propDict["protocol"] = new WorkforceIntegrationEncryptionProtocol($this->_propDict["protocol"]); + return $this->_propDict["protocol"]; + } + } + return null; + } + + /** + * Sets the protocol + * Possible values are: sharedSecret, unknownFutureValue. + * + * @param WorkforceIntegrationEncryptionProtocol $val The value to assign to the protocol + * + * @return WorkforceIntegrationEncryption The WorkforceIntegrationEncryption + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the secret + * Encryption shared secret. + * + * @return string|null The secret + */ + public function getSecret() + { + if (array_key_exists("secret", $this->_propDict)) { + return $this->_propDict["secret"]; + } else { + return null; + } + } + + /** + * Sets the secret + * Encryption shared secret. + * + * @param string $val The value of the secret + * + * @return WorkforceIntegrationEncryption + */ + public function setSecret($val) + { + $this->_propDict["secret"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryptionProtocol.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryptionProtocol.php new file mode 100644 index 0000000..6794bdb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryptionProtocol.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["daysOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["daysOfWeek"])) { + return $this->_propDict["daysOfWeek"]; + } else { + $this->_propDict["daysOfWeek"] = new DayOfWeek($this->_propDict["daysOfWeek"]); + return $this->_propDict["daysOfWeek"]; + } + } + return null; + } + + /** + * Sets the daysOfWeek + * The days of the week on which the user works. + * + * @param DayOfWeek $val The value to assign to the daysOfWeek + * + * @return WorkingHours The WorkingHours + */ + public function setDaysOfWeek($val) + { + $this->_propDict["daysOfWeek"] = $val; + return $this; + } + + /** + * Gets the endTime + * The time of the day that the user stops working. + * + * @return TimeOfDay|null The endTime + */ + public function getEndTime() + { + if (array_key_exists("endTime", $this->_propDict)) { + if (is_a($this->_propDict["endTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { + return $this->_propDict["endTime"]; + } else { + $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); + return $this->_propDict["endTime"]; + } + } + return null; + } + + /** + * Sets the endTime + * The time of the day that the user stops working. + * + * @param TimeOfDay $val The value to assign to the endTime + * + * @return WorkingHours The WorkingHours + */ + public function setEndTime($val) + { + $this->_propDict["endTime"] = $val; + return $this; + } + + /** + * Gets the startTime + * The time of the day that the user starts working. + * + * @return TimeOfDay|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * The time of the day that the user starts working. + * + * @param TimeOfDay $val The value to assign to the startTime + * + * @return WorkingHours The WorkingHours + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } + + /** + * Gets the timeZone + * The time zone to which the working hours apply. + * + * @return TimeZoneBase|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + if (is_a($this->_propDict["timeZone"], "\Beta\Microsoft\Graph\Model\TimeZoneBase") || is_null($this->_propDict["timeZone"])) { + return $this->_propDict["timeZone"]; + } else { + $this->_propDict["timeZone"] = new TimeZoneBase($this->_propDict["timeZone"]); + return $this->_propDict["timeZone"]; + } + } + return null; + } + + /** + * Sets the timeZone + * The time zone to which the working hours apply. + * + * @param TimeZoneBase $val The value to assign to the timeZone + * + * @return WorkingHours The WorkingHours + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..eb0ca8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateAuthenticationMethodConfiguration.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationModeConfiguration"], "\Beta\Microsoft\Graph\Model\X509CertificateAuthenticationModeConfiguration") || is_null($this->_propDict["authenticationModeConfiguration"])) { + return $this->_propDict["authenticationModeConfiguration"]; + } else { + $this->_propDict["authenticationModeConfiguration"] = new X509CertificateAuthenticationModeConfiguration($this->_propDict["authenticationModeConfiguration"]); + return $this->_propDict["authenticationModeConfiguration"]; + } + } + return null; + } + + /** + * Sets the authenticationModeConfiguration + * Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. + * + * @param X509CertificateAuthenticationModeConfiguration $val The authenticationModeConfiguration + * + * @return X509CertificateAuthenticationMethodConfiguration + */ + public function setAuthenticationModeConfiguration($val) + { + $this->_propDict["authenticationModeConfiguration"] = $val; + return $this; + } + + + /** + * Gets the certificateUserBindings + * Defines fields in the X.509 certificate that map to attributes of the Azure AD user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. + * + * @return array|null The certificateUserBindings + */ + public function getCertificateUserBindings() + { + if (array_key_exists("certificateUserBindings", $this->_propDict)) { + return $this->_propDict["certificateUserBindings"]; + } else { + return null; + } + } + + /** + * Sets the certificateUserBindings + * Defines fields in the X.509 certificate that map to attributes of the Azure AD user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. + * + * @param X509CertificateUserBinding[] $val The certificateUserBindings + * + * @return X509CertificateAuthenticationMethodConfiguration + */ + public function setCertificateUserBindings($val) + { + $this->_propDict["certificateUserBindings"] = $val; + return $this; + } + + + /** + * Gets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @return array|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return X509CertificateAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateAuthenticationMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateAuthenticationMode.php new file mode 100644 index 0000000..df1683b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateAuthenticationMode.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["rules"], "\Beta\Microsoft\Graph\Model\X509CertificateRule") || is_null($this->_propDict["rules"])) { + return $this->_propDict["rules"]; + } else { + $this->_propDict["rules"] = new X509CertificateRule($this->_propDict["rules"]); + return $this->_propDict["rules"]; + } + } + return null; + } + + /** + * Sets the rules + * Rules are configured in addition to the authentication mode to bind a specific x509CertificateRuleType to an x509CertificateAuthenticationMode. For example, bind the policyOID with identifier 1.32.132.343 to x509CertificateMultiFactor authentication mode. + * + * @param X509CertificateRule $val The value to assign to the rules + * + * @return X509CertificateAuthenticationModeConfiguration The X509CertificateAuthenticationModeConfiguration + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } + + /** + * Gets the x509CertificateAuthenticationDefaultMode + * The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. + * + * @return X509CertificateAuthenticationMode|null The x509CertificateAuthenticationDefaultMode + */ + public function getX509CertificateAuthenticationDefaultMode() + { + if (array_key_exists("x509CertificateAuthenticationDefaultMode", $this->_propDict)) { + if (is_a($this->_propDict["x509CertificateAuthenticationDefaultMode"], "\Beta\Microsoft\Graph\Model\X509CertificateAuthenticationMode") || is_null($this->_propDict["x509CertificateAuthenticationDefaultMode"])) { + return $this->_propDict["x509CertificateAuthenticationDefaultMode"]; + } else { + $this->_propDict["x509CertificateAuthenticationDefaultMode"] = new X509CertificateAuthenticationMode($this->_propDict["x509CertificateAuthenticationDefaultMode"]); + return $this->_propDict["x509CertificateAuthenticationDefaultMode"]; + } + } + return null; + } + + /** + * Sets the x509CertificateAuthenticationDefaultMode + * The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. + * + * @param X509CertificateAuthenticationMode $val The value to assign to the x509CertificateAuthenticationDefaultMode + * + * @return X509CertificateAuthenticationModeConfiguration The X509CertificateAuthenticationModeConfiguration + */ + public function setX509CertificateAuthenticationDefaultMode($val) + { + $this->_propDict["x509CertificateAuthenticationDefaultMode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateRule.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateRule.php new file mode 100644 index 0000000..73d9f1e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateRule.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * The identifier of the X.509 certificate. Required. + * + * @param string $val The value of the identifier + * + * @return X509CertificateRule + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the x509CertificateAuthenticationMode + * The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required. + * + * @return X509CertificateAuthenticationMode|null The x509CertificateAuthenticationMode + */ + public function getX509CertificateAuthenticationMode() + { + if (array_key_exists("x509CertificateAuthenticationMode", $this->_propDict)) { + if (is_a($this->_propDict["x509CertificateAuthenticationMode"], "\Beta\Microsoft\Graph\Model\X509CertificateAuthenticationMode") || is_null($this->_propDict["x509CertificateAuthenticationMode"])) { + return $this->_propDict["x509CertificateAuthenticationMode"]; + } else { + $this->_propDict["x509CertificateAuthenticationMode"] = new X509CertificateAuthenticationMode($this->_propDict["x509CertificateAuthenticationMode"]); + return $this->_propDict["x509CertificateAuthenticationMode"]; + } + } + return null; + } + + /** + * Sets the x509CertificateAuthenticationMode + * The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required. + * + * @param X509CertificateAuthenticationMode $val The value to assign to the x509CertificateAuthenticationMode + * + * @return X509CertificateRule The X509CertificateRule + */ + public function setX509CertificateAuthenticationMode($val) + { + $this->_propDict["x509CertificateAuthenticationMode"] = $val; + return $this; + } + + /** + * Gets the x509CertificateRuleType + * The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required. + * + * @return X509CertificateRuleType|null The x509CertificateRuleType + */ + public function getX509CertificateRuleType() + { + if (array_key_exists("x509CertificateRuleType", $this->_propDict)) { + if (is_a($this->_propDict["x509CertificateRuleType"], "\Beta\Microsoft\Graph\Model\X509CertificateRuleType") || is_null($this->_propDict["x509CertificateRuleType"])) { + return $this->_propDict["x509CertificateRuleType"]; + } else { + $this->_propDict["x509CertificateRuleType"] = new X509CertificateRuleType($this->_propDict["x509CertificateRuleType"]); + return $this->_propDict["x509CertificateRuleType"]; + } + } + return null; + } + + /** + * Sets the x509CertificateRuleType + * The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required. + * + * @param X509CertificateRuleType $val The value to assign to the x509CertificateRuleType + * + * @return X509CertificateRule The X509CertificateRule + */ + public function setX509CertificateRuleType($val) + { + $this->_propDict["x509CertificateRuleType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateRuleType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateRuleType.php new file mode 100644 index 0000000..cc534ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/X509CertificateRuleType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * The priority of the binding. Azure AD uses the binding with the highest priority. This value must be a non-negative integer and unique in the collection of objects in the certificateUserBindings property of an x509CertificateAuthenticationMethodConfiguration object. Required + * + * @param int $val The value of the priority + * + * @return X509CertificateUserBinding + */ + public function setPriority($val) + { + $this->_propDict["priority"] = $val; + return $this; + } + /** + * Gets the userProperty + * Defines the Azure AD user property of the user object to use for the binding. The possible values are: userPrincipalName, onPremisesUserPrincipalName, email. Required. + * + * @return string|null The userProperty + */ + public function getUserProperty() + { + if (array_key_exists("userProperty", $this->_propDict)) { + return $this->_propDict["userProperty"]; + } else { + return null; + } + } + + /** + * Sets the userProperty + * Defines the Azure AD user property of the user object to use for the binding. The possible values are: userPrincipalName, onPremisesUserPrincipalName, email. Required. + * + * @param string $val The value of the userProperty + * + * @return X509CertificateUserBinding + */ + public function setUserProperty($val) + { + $this->_propDict["userProperty"] = $val; + return $this; + } + /** + * Gets the x509CertificateField + * The field on the X.509 certificate to use for the binding. The possible values are: PrincipalName, RFC822Name. + * + * @return string|null The x509CertificateField + */ + public function getX509CertificateField() + { + if (array_key_exists("x509CertificateField", $this->_propDict)) { + return $this->_propDict["x509CertificateField"]; + } else { + return null; + } + } + + /** + * Sets the x509CertificateField + * The field on the X.509 certificate to use for the binding. The possible values are: PrincipalName, RFC822Name. + * + * @param string $val The value of the x509CertificateField + * + * @return X509CertificateUserBinding + */ + public function setX509CertificateField($val) + { + $this->_propDict["x509CertificateField"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaArtifact.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaArtifact.php new file mode 100644 index 0000000..44abc9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaArtifact.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["boardSupportPackageVersion"]; + } else { + return null; + } + } + + /** + * Sets the boardSupportPackageVersion + * The version of the Board Support Package. + * + * @param string $val The boardSupportPackageVersion + * + * @return ZebraFotaArtifact + */ + public function setBoardSupportPackageVersion($val) + { + $this->_propDict["boardSupportPackageVersion"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * Artifact device model. + * + * @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 + * Artifact device model. + * + * @param string $val The deviceModel + * + * @return ZebraFotaArtifact + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Artifact OS version. + * + * @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 + * Artifact OS version. + * + * @param string $val The osVersion + * + * @return ZebraFotaArtifact + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the patchVersion + * Artifact patch version. + * + * @return string|null The patchVersion + */ + public function getPatchVersion() + { + if (array_key_exists("patchVersion", $this->_propDict)) { + return $this->_propDict["patchVersion"]; + } else { + return null; + } + } + + /** + * Sets the patchVersion + * Artifact patch version. + * + * @param string $val The patchVersion + * + * @return ZebraFotaArtifact + */ + public function setPatchVersion($val) + { + $this->_propDict["patchVersion"] = $val; + return $this; + } + + /** + * Gets the releaseNotesUrl + * Artifact release notes URL. + * + * @return string|null The releaseNotesUrl + */ + public function getReleaseNotesUrl() + { + if (array_key_exists("releaseNotesUrl", $this->_propDict)) { + return $this->_propDict["releaseNotesUrl"]; + } else { + return null; + } + } + + /** + * Sets the releaseNotesUrl + * Artifact release notes URL. + * + * @param string $val The releaseNotesUrl + * + * @return ZebraFotaArtifact + */ + public function setReleaseNotesUrl($val) + { + $this->_propDict["releaseNotesUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php new file mode 100644 index 0000000..cd93acb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaConnector.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["enrollmentAuthorizationUrl"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentAuthorizationUrl + * Complete account enrollment authorization URL. This corresponds to verification_uri_complete in the Zebra API documentations. + * + * @param string $val The enrollmentAuthorizationUrl + * + * @return ZebraFotaConnector + */ + public function setEnrollmentAuthorizationUrl($val) + { + $this->_propDict["enrollmentAuthorizationUrl"] = $val; + return $this; + } + + /** + * Gets the enrollmentToken + * Tenant enrollment token from Zebra. The token is used to enroll Zebra devices in the FOTA Service via app config. + * + * @return string|null The enrollmentToken + */ + public function getEnrollmentToken() + { + if (array_key_exists("enrollmentToken", $this->_propDict)) { + return $this->_propDict["enrollmentToken"]; + } else { + return null; + } + } + + /** + * Sets the enrollmentToken + * Tenant enrollment token from Zebra. The token is used to enroll Zebra devices in the FOTA Service via app config. + * + * @param string $val The enrollmentToken + * + * @return ZebraFotaConnector + */ + public function setEnrollmentToken($val) + { + $this->_propDict["enrollmentToken"] = $val; + return $this; + } + + /** + * Gets the fotaAppsApproved + * Flag indicating if required Firmware Over-the-Air (FOTA) Apps have been approved. + * + * @return bool|null The fotaAppsApproved + */ + public function getFotaAppsApproved() + { + if (array_key_exists("fotaAppsApproved", $this->_propDict)) { + return $this->_propDict["fotaAppsApproved"]; + } else { + return null; + } + } + + /** + * Sets the fotaAppsApproved + * Flag indicating if required Firmware Over-the-Air (FOTA) Apps have been approved. + * + * @param bool $val The fotaAppsApproved + * + * @return ZebraFotaConnector + */ + public function setFotaAppsApproved($val) + { + $this->_propDict["fotaAppsApproved"] = boolval($val); + return $this; + } + + /** + * Gets the lastSyncDateTime + * Date and time when the account was last synched with Zebra + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Date and time when the account was last synched with Zebra + * + * @param \DateTime $val The lastSyncDateTime + * + * @return ZebraFotaConnector + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The Zebra connector state. Possible values are: none, connected, disconnected, unknownFutureValue. + * + * @return ZebraFotaConnectorState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ZebraFotaConnectorState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ZebraFotaConnectorState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The Zebra connector state. Possible values are: none, connected, disconnected, unknownFutureValue. + * + * @param ZebraFotaConnectorState $val The state + * + * @return ZebraFotaConnector + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaConnectorState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaConnectorState.php new file mode 100644 index 0000000..261fd37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaConnectorState.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["deploymentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the deploymentAssignments + * Collection of Android FOTA Assignment + * + * @param AndroidFotaDeploymentAssignment[] $val The deploymentAssignments + * + * @return ZebraFotaDeployment + */ + public function setDeploymentAssignments($val) + { + $this->_propDict["deploymentAssignments"] = $val; + return $this; + } + + /** + * Gets the deploymentSettings + * Represents settings required to create a deployment such as deployment type, artifact info, download and installation + * + * @return ZebraFotaDeploymentSettings|null The deploymentSettings + */ + public function getDeploymentSettings() + { + if (array_key_exists("deploymentSettings", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSettings"], "\Beta\Microsoft\Graph\Model\ZebraFotaDeploymentSettings") || is_null($this->_propDict["deploymentSettings"])) { + return $this->_propDict["deploymentSettings"]; + } else { + $this->_propDict["deploymentSettings"] = new ZebraFotaDeploymentSettings($this->_propDict["deploymentSettings"]); + return $this->_propDict["deploymentSettings"]; + } + } + return null; + } + + /** + * Sets the deploymentSettings + * Represents settings required to create a deployment such as deployment type, artifact info, download and installation + * + * @param ZebraFotaDeploymentSettings $val The deploymentSettings + * + * @return ZebraFotaDeployment + */ + public function setDeploymentSettings($val) + { + $this->_propDict["deploymentSettings"] = $val; + return $this; + } + + /** + * Gets the deploymentStatus + * Represents the deployment status from Zebra. The status is a high level status of the deployment as opposed being a detailed status per device. + * + * @return ZebraFotaDeploymentStatus|null The deploymentStatus + */ + public function getDeploymentStatus() + { + if (array_key_exists("deploymentStatus", $this->_propDict)) { + if (is_a($this->_propDict["deploymentStatus"], "\Beta\Microsoft\Graph\Model\ZebraFotaDeploymentStatus") || is_null($this->_propDict["deploymentStatus"])) { + return $this->_propDict["deploymentStatus"]; + } else { + $this->_propDict["deploymentStatus"] = new ZebraFotaDeploymentStatus($this->_propDict["deploymentStatus"]); + return $this->_propDict["deploymentStatus"]; + } + } + return null; + } + + /** + * Sets the deploymentStatus + * Represents the deployment status from Zebra. The status is a high level status of the deployment as opposed being a detailed status per device. + * + * @param ZebraFotaDeploymentStatus $val The deploymentStatus + * + * @return ZebraFotaDeployment + */ + public function setDeploymentStatus($val) + { + $this->_propDict["deploymentStatus"] = $val; + return $this; + } + + /** + * Gets the description + * A human readable description of the deployment. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human readable description of the deployment. + * + * @param string $val The description + * + * @return ZebraFotaDeployment + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * A human readable name of the deployment. + * + * @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 + * A human readable name of the deployment. + * + * @param string $val The displayName + * + * @return ZebraFotaDeployment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaDeploymentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaDeploymentSettings.php new file mode 100644 index 0000000..df74ed3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaDeploymentSettings.php @@ -0,0 +1,481 @@ +_propDict)) { + return $this->_propDict["batteryRuleMinimumBatteryLevelPercentage"]; + } else { + return null; + } + } + + /** + * Sets the batteryRuleMinimumBatteryLevelPercentage + * Minimum battery level (%) required for both download and installation. Default: -1 (System defaults). Maximum is 100. + * + * @param int $val The value of the batteryRuleMinimumBatteryLevelPercentage + * + * @return ZebraFotaDeploymentSettings + */ + public function setBatteryRuleMinimumBatteryLevelPercentage($val) + { + $this->_propDict["batteryRuleMinimumBatteryLevelPercentage"] = $val; + return $this; + } + /** + * Gets the batteryRuleRequireCharger + * Flag indicating if charger is required. When set to false, the client can install updates whether the device is in or out of the charger. Applied only for installation. Defaults to false. + * + * @return bool|null The batteryRuleRequireCharger + */ + public function getBatteryRuleRequireCharger() + { + if (array_key_exists("batteryRuleRequireCharger", $this->_propDict)) { + return $this->_propDict["batteryRuleRequireCharger"]; + } else { + return null; + } + } + + /** + * Sets the batteryRuleRequireCharger + * Flag indicating if charger is required. When set to false, the client can install updates whether the device is in or out of the charger. Applied only for installation. Defaults to false. + * + * @param bool $val The value of the batteryRuleRequireCharger + * + * @return ZebraFotaDeploymentSettings + */ + public function setBatteryRuleRequireCharger($val) + { + $this->_propDict["batteryRuleRequireCharger"] = $val; + return $this; + } + /** + * Gets the deviceModel + * Deploy update for devices with this model only. + * + * @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 + * Deploy update for devices with this model only. + * + * @param string $val The value of the deviceModel + * + * @return ZebraFotaDeploymentSettings + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the downloadRuleNetworkType + * Download network type as described in 'zebraFotaNetworkType'. Default: any. Possible values are: any, wifi, cellular, wifiAndCellular, unknownFutureValue. + * + * @return ZebraFotaNetworkType|null The downloadRuleNetworkType + */ + public function getDownloadRuleNetworkType() + { + if (array_key_exists("downloadRuleNetworkType", $this->_propDict)) { + if (is_a($this->_propDict["downloadRuleNetworkType"], "\Beta\Microsoft\Graph\Model\ZebraFotaNetworkType") || is_null($this->_propDict["downloadRuleNetworkType"])) { + return $this->_propDict["downloadRuleNetworkType"]; + } else { + $this->_propDict["downloadRuleNetworkType"] = new ZebraFotaNetworkType($this->_propDict["downloadRuleNetworkType"]); + return $this->_propDict["downloadRuleNetworkType"]; + } + } + return null; + } + + /** + * Sets the downloadRuleNetworkType + * Download network type as described in 'zebraFotaNetworkType'. Default: any. Possible values are: any, wifi, cellular, wifiAndCellular, unknownFutureValue. + * + * @param ZebraFotaNetworkType $val The value to assign to the downloadRuleNetworkType + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setDownloadRuleNetworkType($val) + { + $this->_propDict["downloadRuleNetworkType"] = $val; + return $this; + } + + /** + * Gets the downloadRuleStartDateTime + * Date and time in the device time zone when the download will start (e.g., 2018-07-25T10:20:32). The default value is UTC now and the maximum is 10 days from deployment creation. + * + * @return \DateTime|null The downloadRuleStartDateTime + */ + public function getDownloadRuleStartDateTime() + { + if (array_key_exists("downloadRuleStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["downloadRuleStartDateTime"], "\DateTime") || is_null($this->_propDict["downloadRuleStartDateTime"])) { + return $this->_propDict["downloadRuleStartDateTime"]; + } else { + $this->_propDict["downloadRuleStartDateTime"] = new \DateTime($this->_propDict["downloadRuleStartDateTime"]); + return $this->_propDict["downloadRuleStartDateTime"]; + } + } + return null; + } + + /** + * Sets the downloadRuleStartDateTime + * Date and time in the device time zone when the download will start (e.g., 2018-07-25T10:20:32). The default value is UTC now and the maximum is 10 days from deployment creation. + * + * @param \DateTime $val The value to assign to the downloadRuleStartDateTime + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setDownloadRuleStartDateTime($val) + { + $this->_propDict["downloadRuleStartDateTime"] = $val; + return $this; + } + /** + * Gets the firmwareTargetBoardSupportPackageVersion + * Deployment's Board Support Package (BSP. E.g.: '01.18.02.00'). Required only for custom update type. + * + * @return string|null The firmwareTargetBoardSupportPackageVersion + */ + public function getFirmwareTargetBoardSupportPackageVersion() + { + if (array_key_exists("firmwareTargetBoardSupportPackageVersion", $this->_propDict)) { + return $this->_propDict["firmwareTargetBoardSupportPackageVersion"]; + } else { + return null; + } + } + + /** + * Sets the firmwareTargetBoardSupportPackageVersion + * Deployment's Board Support Package (BSP. E.g.: '01.18.02.00'). Required only for custom update type. + * + * @param string $val The value of the firmwareTargetBoardSupportPackageVersion + * + * @return ZebraFotaDeploymentSettings + */ + public function setFirmwareTargetBoardSupportPackageVersion($val) + { + $this->_propDict["firmwareTargetBoardSupportPackageVersion"] = $val; + return $this; + } + /** + * Gets the firmwareTargetOsVersion + * Target OS Version (e.g.: '8.1.0'). Required only for custom update type. + * + * @return string|null The firmwareTargetOsVersion + */ + public function getFirmwareTargetOsVersion() + { + if (array_key_exists("firmwareTargetOsVersion", $this->_propDict)) { + return $this->_propDict["firmwareTargetOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the firmwareTargetOsVersion + * Target OS Version (e.g.: '8.1.0'). Required only for custom update type. + * + * @param string $val The value of the firmwareTargetOsVersion + * + * @return ZebraFotaDeploymentSettings + */ + public function setFirmwareTargetOsVersion($val) + { + $this->_propDict["firmwareTargetOsVersion"] = $val; + return $this; + } + /** + * Gets the firmwareTargetPatch + * Target patch name (e.g.: 'U06'). Required only for custom update type. + * + * @return string|null The firmwareTargetPatch + */ + public function getFirmwareTargetPatch() + { + if (array_key_exists("firmwareTargetPatch", $this->_propDict)) { + return $this->_propDict["firmwareTargetPatch"]; + } else { + return null; + } + } + + /** + * Sets the firmwareTargetPatch + * Target patch name (e.g.: 'U06'). Required only for custom update type. + * + * @param string $val The value of the firmwareTargetPatch + * + * @return ZebraFotaDeploymentSettings + */ + public function setFirmwareTargetPatch($val) + { + $this->_propDict["firmwareTargetPatch"] = $val; + return $this; + } + + /** + * Gets the installRuleStartDateTime + * Date and time in device time zone when the install will start. Default - download startDate if configured, otherwise defaults to NOW. Ignored when deployment update type was set to auto. + * + * @return \DateTime|null The installRuleStartDateTime + */ + public function getInstallRuleStartDateTime() + { + if (array_key_exists("installRuleStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["installRuleStartDateTime"], "\DateTime") || is_null($this->_propDict["installRuleStartDateTime"])) { + return $this->_propDict["installRuleStartDateTime"]; + } else { + $this->_propDict["installRuleStartDateTime"] = new \DateTime($this->_propDict["installRuleStartDateTime"]); + return $this->_propDict["installRuleStartDateTime"]; + } + } + return null; + } + + /** + * Sets the installRuleStartDateTime + * Date and time in device time zone when the install will start. Default - download startDate if configured, otherwise defaults to NOW. Ignored when deployment update type was set to auto. + * + * @param \DateTime $val The value to assign to the installRuleStartDateTime + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setInstallRuleStartDateTime($val) + { + $this->_propDict["installRuleStartDateTime"] = $val; + return $this; + } + + /** + * Gets the installRuleWindowEndTime + * Time of day after which the install cannot start. Possible range is 00:30:00 to 23:59:59. Should be greater than 'installRuleWindowStartTime' by 30 mins. The time is expressed in a 24-hour format, as hh:mm, and is in the device time zone. Default - 23:59:59. Respected for all values of update type, including AUTO. + * + * @return TimeOfDay|null The installRuleWindowEndTime + */ + public function getInstallRuleWindowEndTime() + { + if (array_key_exists("installRuleWindowEndTime", $this->_propDict)) { + if (is_a($this->_propDict["installRuleWindowEndTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["installRuleWindowEndTime"])) { + return $this->_propDict["installRuleWindowEndTime"]; + } else { + $this->_propDict["installRuleWindowEndTime"] = new TimeOfDay($this->_propDict["installRuleWindowEndTime"]); + return $this->_propDict["installRuleWindowEndTime"]; + } + } + return null; + } + + /** + * Sets the installRuleWindowEndTime + * Time of day after which the install cannot start. Possible range is 00:30:00 to 23:59:59. Should be greater than 'installRuleWindowStartTime' by 30 mins. The time is expressed in a 24-hour format, as hh:mm, and is in the device time zone. Default - 23:59:59. Respected for all values of update type, including AUTO. + * + * @param TimeOfDay $val The value to assign to the installRuleWindowEndTime + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setInstallRuleWindowEndTime($val) + { + $this->_propDict["installRuleWindowEndTime"] = $val; + return $this; + } + + /** + * Gets the installRuleWindowStartTime + * Time of day (00:00:00 - 23:30:00) when installation should begin. The time is expressed in a 24-hour format, as hh:mm, and is in the device time zone. Default - 00:00:00. Respected for all values of update type, including AUTO. + * + * @return TimeOfDay|null The installRuleWindowStartTime + */ + public function getInstallRuleWindowStartTime() + { + if (array_key_exists("installRuleWindowStartTime", $this->_propDict)) { + if (is_a($this->_propDict["installRuleWindowStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["installRuleWindowStartTime"])) { + return $this->_propDict["installRuleWindowStartTime"]; + } else { + $this->_propDict["installRuleWindowStartTime"] = new TimeOfDay($this->_propDict["installRuleWindowStartTime"]); + return $this->_propDict["installRuleWindowStartTime"]; + } + } + return null; + } + + /** + * Sets the installRuleWindowStartTime + * Time of day (00:00:00 - 23:30:00) when installation should begin. The time is expressed in a 24-hour format, as hh:mm, and is in the device time zone. Default - 00:00:00. Respected for all values of update type, including AUTO. + * + * @param TimeOfDay $val The value to assign to the installRuleWindowStartTime + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setInstallRuleWindowStartTime($val) + { + $this->_propDict["installRuleWindowStartTime"] = $val; + return $this; + } + /** + * Gets the scheduleDurationInDays + * Maximum 28 days. Default is 28 days. Sequence of dates are: 1) Download start date. 2) Install start date. 3) Schedule end date. If any of the values are not provided, the date provided in the preceding step of the sequence is used. If no values are provided, the string value of the current UTC is used. + * + * @return int|null The scheduleDurationInDays + */ + public function getScheduleDurationInDays() + { + if (array_key_exists("scheduleDurationInDays", $this->_propDict)) { + return $this->_propDict["scheduleDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the scheduleDurationInDays + * Maximum 28 days. Default is 28 days. Sequence of dates are: 1) Download start date. 2) Install start date. 3) Schedule end date. If any of the values are not provided, the date provided in the preceding step of the sequence is used. If no values are provided, the string value of the current UTC is used. + * + * @param int $val The value of the scheduleDurationInDays + * + * @return ZebraFotaDeploymentSettings + */ + public function setScheduleDurationInDays($val) + { + $this->_propDict["scheduleDurationInDays"] = $val; + return $this; + } + + /** + * Gets the scheduleMode + * Deployment installation schedule mode. Default is installNow. All scheduled deployments date and time are in the device’s timezone. For Install Now, the date and time are in UTC (same date and time anywhere in the world). Possible values are: installNow, scheduled, unknownFutureValue. + * + * @return ZebraFotaScheduleMode|null The scheduleMode + */ + public function getScheduleMode() + { + if (array_key_exists("scheduleMode", $this->_propDict)) { + if (is_a($this->_propDict["scheduleMode"], "\Beta\Microsoft\Graph\Model\ZebraFotaScheduleMode") || is_null($this->_propDict["scheduleMode"])) { + return $this->_propDict["scheduleMode"]; + } else { + $this->_propDict["scheduleMode"] = new ZebraFotaScheduleMode($this->_propDict["scheduleMode"]); + return $this->_propDict["scheduleMode"]; + } + } + return null; + } + + /** + * Sets the scheduleMode + * Deployment installation schedule mode. Default is installNow. All scheduled deployments date and time are in the device’s timezone. For Install Now, the date and time are in UTC (same date and time anywhere in the world). Possible values are: installNow, scheduled, unknownFutureValue. + * + * @param ZebraFotaScheduleMode $val The value to assign to the scheduleMode + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setScheduleMode($val) + { + $this->_propDict["scheduleMode"] = $val; + return $this; + } + /** + * Gets the timeZoneOffsetInMinutes + * This attribute indicates the deployment time offset (e.g.180 represents an offset of +03:00, and -270 represents an offset of -04:30). The time offset is the time timezone where the devices are located. The deployment start and end data uses this timezone + * + * @return int|null The timeZoneOffsetInMinutes + */ + public function getTimeZoneOffsetInMinutes() + { + if (array_key_exists("timeZoneOffsetInMinutes", $this->_propDict)) { + return $this->_propDict["timeZoneOffsetInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the timeZoneOffsetInMinutes + * This attribute indicates the deployment time offset (e.g.180 represents an offset of +03:00, and -270 represents an offset of -04:30). The time offset is the time timezone where the devices are located. The deployment start and end data uses this timezone + * + * @param int $val The value of the timeZoneOffsetInMinutes + * + * @return ZebraFotaDeploymentSettings + */ + public function setTimeZoneOffsetInMinutes($val) + { + $this->_propDict["timeZoneOffsetInMinutes"] = $val; + return $this; + } + + /** + * Gets the updateType + * The deployment's update type. Possible values are custom, latest, and auto. When custom mode is set, the request must provide artifact values. When latest type is set, the latest released update becomes the target OS. If latest is specified, the firmware target values are not required. Note: latest may update the device to a new Android version. When the value is set to auto, the device always looks for the latest package available and tries to update whenever a new package is available. This continues until the admin cancels the auto update. While other modes return an ID starting with FOTA-x, auto mode returns an ID starting with AUTO-x. Possible values are: custom, latest, auto, unknownFutureValue. + * + * @return ZebraFotaUpdateType|null The updateType + */ + public function getUpdateType() + { + if (array_key_exists("updateType", $this->_propDict)) { + if (is_a($this->_propDict["updateType"], "\Beta\Microsoft\Graph\Model\ZebraFotaUpdateType") || is_null($this->_propDict["updateType"])) { + return $this->_propDict["updateType"]; + } else { + $this->_propDict["updateType"] = new ZebraFotaUpdateType($this->_propDict["updateType"]); + return $this->_propDict["updateType"]; + } + } + return null; + } + + /** + * Sets the updateType + * The deployment's update type. Possible values are custom, latest, and auto. When custom mode is set, the request must provide artifact values. When latest type is set, the latest released update becomes the target OS. If latest is specified, the firmware target values are not required. Note: latest may update the device to a new Android version. When the value is set to auto, the device always looks for the latest package available and tries to update whenever a new package is available. This continues until the admin cancels the auto update. While other modes return an ID starting with FOTA-x, auto mode returns an ID starting with AUTO-x. Possible values are: custom, latest, auto, unknownFutureValue. + * + * @param ZebraFotaUpdateType $val The value to assign to the updateType + * + * @return ZebraFotaDeploymentSettings The ZebraFotaDeploymentSettings + */ + public function setUpdateType($val) + { + $this->_propDict["updateType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaDeploymentState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaDeploymentState.php new file mode 100644 index 0000000..d0b5c03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaDeploymentState.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["cancelRequested"]; + } else { + return null; + } + } + + /** + * Sets the cancelRequested + * A boolean that indicates if a cancellation was requested on the deployment. NOTE: A cancellation request does not guarantee that the deployment was canceled. + * + * @param bool $val The value of the cancelRequested + * + * @return ZebraFotaDeploymentStatus + */ + public function setCancelRequested($val) + { + $this->_propDict["cancelRequested"] = $val; + return $this; + } + + /** + * Gets the completeOrCanceledDateTime + * The date and time when this deployment was completed or canceled. The actual date time is determined by the value of state. If the state is canceled, this property holds the cancellation date/time. If the the state is completed, this property holds the completion date/time. If the deployment is not completed before the deployment end date, then completed date/time and end date/time are the same. This is always in the deployment timezone. Note: An installation that is in progress can continue past the deployment end date. + * + * @return \DateTime|null The completeOrCanceledDateTime + */ + public function getCompleteOrCanceledDateTime() + { + if (array_key_exists("completeOrCanceledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completeOrCanceledDateTime"], "\DateTime") || is_null($this->_propDict["completeOrCanceledDateTime"])) { + return $this->_propDict["completeOrCanceledDateTime"]; + } else { + $this->_propDict["completeOrCanceledDateTime"] = new \DateTime($this->_propDict["completeOrCanceledDateTime"]); + return $this->_propDict["completeOrCanceledDateTime"]; + } + } + return null; + } + + /** + * Sets the completeOrCanceledDateTime + * The date and time when this deployment was completed or canceled. The actual date time is determined by the value of state. If the state is canceled, this property holds the cancellation date/time. If the the state is completed, this property holds the completion date/time. If the deployment is not completed before the deployment end date, then completed date/time and end date/time are the same. This is always in the deployment timezone. Note: An installation that is in progress can continue past the deployment end date. + * + * @param \DateTime $val The value to assign to the completeOrCanceledDateTime + * + * @return ZebraFotaDeploymentStatus The ZebraFotaDeploymentStatus + */ + public function setCompleteOrCanceledDateTime($val) + { + $this->_propDict["completeOrCanceledDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Date and time when the deployment status was updated from Zebra + * + * @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 + * Date and time when the deployment status was updated from Zebra + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return ZebraFotaDeploymentStatus The ZebraFotaDeploymentStatus + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * See zebraFotaDeploymentState enum for possible values. Possible values are: pendingCreation, createFailed, created, inProgress, completed, pendingCancel, canceled, unknownFutureValue. + * + * @return ZebraFotaDeploymentState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ZebraFotaDeploymentState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ZebraFotaDeploymentState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * See zebraFotaDeploymentState enum for possible values. Possible values are: pendingCreation, createFailed, created, inProgress, completed, pendingCancel, canceled, unknownFutureValue. + * + * @param ZebraFotaDeploymentState $val The value to assign to the state + * + * @return ZebraFotaDeploymentStatus The ZebraFotaDeploymentStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the totalAwaitingInstall + * An integer that indicates the total number of devices where installation was successful. + * + * @return int|null The totalAwaitingInstall + */ + public function getTotalAwaitingInstall() + { + if (array_key_exists("totalAwaitingInstall", $this->_propDict)) { + return $this->_propDict["totalAwaitingInstall"]; + } else { + return null; + } + } + + /** + * Sets the totalAwaitingInstall + * An integer that indicates the total number of devices where installation was successful. + * + * @param int $val The value of the totalAwaitingInstall + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalAwaitingInstall($val) + { + $this->_propDict["totalAwaitingInstall"] = $val; + return $this; + } + /** + * Gets the totalCanceled + * An integer that indicates the total number of devices where installation was canceled. + * + * @return int|null The totalCanceled + */ + public function getTotalCanceled() + { + if (array_key_exists("totalCanceled", $this->_propDict)) { + return $this->_propDict["totalCanceled"]; + } else { + return null; + } + } + + /** + * Sets the totalCanceled + * An integer that indicates the total number of devices where installation was canceled. + * + * @param int $val The value of the totalCanceled + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalCanceled($val) + { + $this->_propDict["totalCanceled"] = $val; + return $this; + } + /** + * Gets the totalCreated + * An integer that indicates the total number of devices that have a job in the CREATED state. Typically indicates jobs that did not reach the devices. + * + * @return int|null The totalCreated + */ + public function getTotalCreated() + { + if (array_key_exists("totalCreated", $this->_propDict)) { + return $this->_propDict["totalCreated"]; + } else { + return null; + } + } + + /** + * Sets the totalCreated + * An integer that indicates the total number of devices that have a job in the CREATED state. Typically indicates jobs that did not reach the devices. + * + * @param int $val The value of the totalCreated + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalCreated($val) + { + $this->_propDict["totalCreated"] = $val; + return $this; + } + /** + * Gets the totalDevices + * An integer that indicates the total number of devices in the deployment. + * + * @return int|null The totalDevices + */ + public function getTotalDevices() + { + if (array_key_exists("totalDevices", $this->_propDict)) { + return $this->_propDict["totalDevices"]; + } else { + return null; + } + } + + /** + * Sets the totalDevices + * An integer that indicates the total number of devices in the deployment. + * + * @param int $val The value of the totalDevices + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalDevices($val) + { + $this->_propDict["totalDevices"] = $val; + return $this; + } + /** + * Gets the totalDownloading + * An integer that indicates the total number of devices where installation was successful. + * + * @return int|null The totalDownloading + */ + public function getTotalDownloading() + { + if (array_key_exists("totalDownloading", $this->_propDict)) { + return $this->_propDict["totalDownloading"]; + } else { + return null; + } + } + + /** + * Sets the totalDownloading + * An integer that indicates the total number of devices where installation was successful. + * + * @param int $val The value of the totalDownloading + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalDownloading($val) + { + $this->_propDict["totalDownloading"] = $val; + return $this; + } + /** + * Gets the totalFailedDownload + * An integer that indicates the total number of devices that have failed to download the new OS file. + * + * @return int|null The totalFailedDownload + */ + public function getTotalFailedDownload() + { + if (array_key_exists("totalFailedDownload", $this->_propDict)) { + return $this->_propDict["totalFailedDownload"]; + } else { + return null; + } + } + + /** + * Sets the totalFailedDownload + * An integer that indicates the total number of devices that have failed to download the new OS file. + * + * @param int $val The value of the totalFailedDownload + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalFailedDownload($val) + { + $this->_propDict["totalFailedDownload"] = $val; + return $this; + } + /** + * Gets the totalFailedInstall + * An integer that indicates the total number of devices that have failed to install the new OS file. + * + * @return int|null The totalFailedInstall + */ + public function getTotalFailedInstall() + { + if (array_key_exists("totalFailedInstall", $this->_propDict)) { + return $this->_propDict["totalFailedInstall"]; + } else { + return null; + } + } + + /** + * Sets the totalFailedInstall + * An integer that indicates the total number of devices that have failed to install the new OS file. + * + * @param int $val The value of the totalFailedInstall + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalFailedInstall($val) + { + $this->_propDict["totalFailedInstall"] = $val; + return $this; + } + /** + * Gets the totalScheduled + * An integer that indicates the total number of devices that received the json and are scheduled. + * + * @return int|null The totalScheduled + */ + public function getTotalScheduled() + { + if (array_key_exists("totalScheduled", $this->_propDict)) { + return $this->_propDict["totalScheduled"]; + } else { + return null; + } + } + + /** + * Sets the totalScheduled + * An integer that indicates the total number of devices that received the json and are scheduled. + * + * @param int $val The value of the totalScheduled + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalScheduled($val) + { + $this->_propDict["totalScheduled"] = $val; + return $this; + } + /** + * Gets the totalSucceededInstall + * An integer that indicates the total number of devices where installation was successful. + * + * @return int|null The totalSucceededInstall + */ + public function getTotalSucceededInstall() + { + if (array_key_exists("totalSucceededInstall", $this->_propDict)) { + return $this->_propDict["totalSucceededInstall"]; + } else { + return null; + } + } + + /** + * Sets the totalSucceededInstall + * An integer that indicates the total number of devices where installation was successful. + * + * @param int $val The value of the totalSucceededInstall + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalSucceededInstall($val) + { + $this->_propDict["totalSucceededInstall"] = $val; + return $this; + } + /** + * Gets the totalUnknown + * An integer that indicates the total number of devices where no deployment status or end state has not received, even after the scheduled end date was reached. + * + * @return int|null The totalUnknown + */ + public function getTotalUnknown() + { + if (array_key_exists("totalUnknown", $this->_propDict)) { + return $this->_propDict["totalUnknown"]; + } else { + return null; + } + } + + /** + * Sets the totalUnknown + * An integer that indicates the total number of devices where no deployment status or end state has not received, even after the scheduled end date was reached. + * + * @param int $val The value of the totalUnknown + * + * @return ZebraFotaDeploymentStatus + */ + public function setTotalUnknown($val) + { + $this->_propDict["totalUnknown"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaNetworkType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaNetworkType.php new file mode 100644 index 0000000..c2de082 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ZebraFotaNetworkType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["standsFor"]; + } else { + return null; + } + } + + /** + * Sets the standsFor + * What the acronym stands for. + * + * @param string $val The standsFor + * + * @return Acronym + */ + public function setStandsFor($val) + { + $this->_propDict["standsFor"] = $val; + return $this; + } + + /** + * Gets the state + * State of the acronym. Possible values are: published, draft, excluded, or unknownFutureValue. + * + * @return AnswerState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Search\Model\AnswerState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AnswerState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * State of the acronym. Possible values are: published, draft, excluded, or unknownFutureValue. + * + * @param AnswerState $val The state + * + * @return Acronym + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/AnswerKeyword.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/AnswerKeyword.php new file mode 100644 index 0000000..6f9cd95 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/AnswerKeyword.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["keywords"]; + } else { + return null; + } + } + + /** + * Sets the keywords + * A collection of keywords used to trigger the search answer. + * + * @param string $val The value of the keywords + * + * @return AnswerKeyword + */ + public function setKeywords($val) + { + $this->_propDict["keywords"] = $val; + return $this; + } + /** + * Gets the matchSimilarKeywords + * If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. + * + * @return bool|null The matchSimilarKeywords + */ + public function getMatchSimilarKeywords() + { + if (array_key_exists("matchSimilarKeywords", $this->_propDict)) { + return $this->_propDict["matchSimilarKeywords"]; + } else { + return null; + } + } + + /** + * Sets the matchSimilarKeywords + * If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. + * + * @param bool $val The value of the matchSimilarKeywords + * + * @return AnswerKeyword + */ + public function setMatchSimilarKeywords($val) + { + $this->_propDict["matchSimilarKeywords"] = $val; + return $this; + } + /** + * Gets the reservedKeywords + * Unique keywords that will guarantee the search answer is triggered. + * + * @return string|null The reservedKeywords + */ + public function getReservedKeywords() + { + if (array_key_exists("reservedKeywords", $this->_propDict)) { + return $this->_propDict["reservedKeywords"]; + } else { + return null; + } + } + + /** + * Sets the reservedKeywords + * Unique keywords that will guarantee the search answer is triggered. + * + * @param string $val The value of the reservedKeywords + * + * @return AnswerKeyword + */ + public function setReservedKeywords($val) + { + $this->_propDict["reservedKeywords"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/AnswerState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/AnswerState.php new file mode 100644 index 0000000..e8dacdd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/AnswerState.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Answer variation description shown on search results page. + * + * @param string $val The value of the description + * + * @return AnswerVariant + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Answer variation name displayed in search results. + * + * @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 + * Answer variation name displayed in search results. + * + * @param string $val The value of the displayName + * + * @return AnswerVariant + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the languageTag + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * + * @param string $val The value of the languageTag + * + * @return AnswerVariant + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + + /** + * Gets the platform + * + * @return \Beta\Microsoft\Graph\Model\DevicePlatformType|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new \Beta\Microsoft\Graph\Model\DevicePlatformType($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * + * @param \Beta\Microsoft\Graph\Model\DevicePlatformType $val The value to assign to the platform + * + * @return AnswerVariant The AnswerVariant + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + /** + * Gets the webUrl + * Answer variation URL link. When users click this answer variation in search results, they will go to this URL. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Answer variation URL link. When users click this answer variation in search results, they will go to this URL. + * + * @param string $val The value of the webUrl + * + * @return AnswerVariant + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Bookmark.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Bookmark.php new file mode 100644 index 0000000..170f491 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Bookmark.php @@ -0,0 +1,364 @@ +_propDict)) { + if (is_a($this->_propDict["availabilityEndDateTime"], "\DateTime") || is_null($this->_propDict["availabilityEndDateTime"])) { + return $this->_propDict["availabilityEndDateTime"]; + } else { + $this->_propDict["availabilityEndDateTime"] = new \DateTime($this->_propDict["availabilityEndDateTime"]); + return $this->_propDict["availabilityEndDateTime"]; + } + } + return null; + } + + /** + * Sets the availabilityEndDateTime + * Timestamp of when the bookmark will stop to appear as a search result. Set as null for always available. + * + * @param \DateTime $val The availabilityEndDateTime + * + * @return Bookmark + */ + public function setAvailabilityEndDateTime($val) + { + $this->_propDict["availabilityEndDateTime"] = $val; + return $this; + } + + /** + * Gets the availabilityStartDateTime + * Timestamp of when the bookmark will start to appear as a search result. Set as null for always available. + * + * @return \DateTime|null The availabilityStartDateTime + */ + public function getAvailabilityStartDateTime() + { + if (array_key_exists("availabilityStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["availabilityStartDateTime"], "\DateTime") || is_null($this->_propDict["availabilityStartDateTime"])) { + return $this->_propDict["availabilityStartDateTime"]; + } else { + $this->_propDict["availabilityStartDateTime"] = new \DateTime($this->_propDict["availabilityStartDateTime"]); + return $this->_propDict["availabilityStartDateTime"]; + } + } + return null; + } + + /** + * Sets the availabilityStartDateTime + * Timestamp of when the bookmark will start to appear as a search result. Set as null for always available. + * + * @param \DateTime $val The availabilityStartDateTime + * + * @return Bookmark + */ + public function setAvailabilityStartDateTime($val) + { + $this->_propDict["availabilityStartDateTime"] = $val; + return $this; + } + + /** + * Gets the categories + * Categories commonly used to describe this bookmark. For example, IT and HR. + * + * @return string|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Categories commonly used to describe this bookmark. For example, IT and HR. + * + * @param string $val The categories + * + * @return Bookmark + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the groupIds + * List of security groups able to view this bookmark. + * + * @return string|null The groupIds + */ + public function getGroupIds() + { + if (array_key_exists("groupIds", $this->_propDict)) { + return $this->_propDict["groupIds"]; + } else { + return null; + } + } + + /** + * Sets the groupIds + * List of security groups able to view this bookmark. + * + * @param string $val The groupIds + * + * @return Bookmark + */ + public function setGroupIds($val) + { + $this->_propDict["groupIds"] = $val; + return $this; + } + + /** + * Gets the isSuggested + * True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. + * + * @return bool|null The isSuggested + */ + public function getIsSuggested() + { + if (array_key_exists("isSuggested", $this->_propDict)) { + return $this->_propDict["isSuggested"]; + } else { + return null; + } + } + + /** + * Sets the isSuggested + * True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. + * + * @param bool $val The isSuggested + * + * @return Bookmark + */ + public function setIsSuggested($val) + { + $this->_propDict["isSuggested"] = boolval($val); + return $this; + } + + /** + * Gets the keywords + * Keywords that trigger this bookmark to appear in search results. + * + * @return AnswerKeyword|null The keywords + */ + public function getKeywords() + { + if (array_key_exists("keywords", $this->_propDict)) { + if (is_a($this->_propDict["keywords"], "\Beta\Microsoft\Graph\Search\Model\AnswerKeyword") || is_null($this->_propDict["keywords"])) { + return $this->_propDict["keywords"]; + } else { + $this->_propDict["keywords"] = new AnswerKeyword($this->_propDict["keywords"]); + return $this->_propDict["keywords"]; + } + } + return null; + } + + /** + * Sets the keywords + * Keywords that trigger this bookmark to appear in search results. + * + * @param AnswerKeyword $val The keywords + * + * @return Bookmark + */ + public function setKeywords($val) + { + $this->_propDict["keywords"] = $val; + return $this; + } + + /** + * Gets the languageTags + * A list of language names that are geographically specific and that this bookmark can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. + * + * @return string|null The languageTags + */ + public function getLanguageTags() + { + if (array_key_exists("languageTags", $this->_propDict)) { + return $this->_propDict["languageTags"]; + } else { + return null; + } + } + + /** + * Sets the languageTags + * A list of language names that are geographically specific and that this bookmark can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. + * + * @param string $val The languageTags + * + * @return Bookmark + */ + public function setLanguageTags($val) + { + $this->_propDict["languageTags"] = $val; + return $this; + } + + + /** + * Gets the platforms + * List of devices and operating systems able to view this bookmark. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. + * + * @return array|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + return $this->_propDict["platforms"]; + } else { + return null; + } + } + + /** + * Sets the platforms + * List of devices and operating systems able to view this bookmark. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. + * + * @param \Beta\Microsoft\Graph\Model\DevicePlatformType[] $val The platforms + * + * @return Bookmark + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the powerAppIds + * List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. + * + * @return string|null The powerAppIds + */ + public function getPowerAppIds() + { + if (array_key_exists("powerAppIds", $this->_propDict)) { + return $this->_propDict["powerAppIds"]; + } else { + return null; + } + } + + /** + * Sets the powerAppIds + * List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. + * + * @param string $val The powerAppIds + * + * @return Bookmark + */ + public function setPowerAppIds($val) + { + $this->_propDict["powerAppIds"] = $val; + return $this; + } + + /** + * Gets the state + * State of the bookmark. Possible values are: published, draft, excluded, or unknownFutureValue. + * + * @return AnswerState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Search\Model\AnswerState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AnswerState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * State of the bookmark. Possible values are: published, draft, excluded, or unknownFutureValue. + * + * @param AnswerState $val The state + * + * @return Bookmark + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the targetedVariations + * Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. + * + * @return array|null The targetedVariations + */ + public function getTargetedVariations() + { + if (array_key_exists("targetedVariations", $this->_propDict)) { + return $this->_propDict["targetedVariations"]; + } else { + return null; + } + } + + /** + * Sets the targetedVariations + * Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. + * + * @param AnswerVariant[] $val The targetedVariations + * + * @return Bookmark + */ + public function setTargetedVariations($val) + { + $this->_propDict["targetedVariations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Identity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Identity.php new file mode 100644 index 0000000..cfbe3e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Identity.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return Identity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $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 Identity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/IdentitySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/IdentitySet.php new file mode 100644 index 0000000..03be723 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/IdentitySet.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Search\Model\Identity") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Identity($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * + * @param Identity $val The value to assign to the application + * + * @return IdentitySet The IdentitySet + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + /** + * Gets the device + * + * @return Identity|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Search\Model\Identity") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Identity($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * + * @param Identity $val The value to assign to the device + * + * @return IdentitySet The IdentitySet + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + + /** + * Gets the user + * + * @return Identity|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Search\Model\Identity") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new Identity($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * + * @param Identity $val The value to assign to the user + * + * @return IdentitySet The IdentitySet + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Qna.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Qna.php new file mode 100644 index 0000000..b21698b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/Qna.php @@ -0,0 +1,306 @@ +_propDict)) { + if (is_a($this->_propDict["availabilityEndDateTime"], "\DateTime") || is_null($this->_propDict["availabilityEndDateTime"])) { + return $this->_propDict["availabilityEndDateTime"]; + } else { + $this->_propDict["availabilityEndDateTime"] = new \DateTime($this->_propDict["availabilityEndDateTime"]); + return $this->_propDict["availabilityEndDateTime"]; + } + } + return null; + } + + /** + * Sets the availabilityEndDateTime + * Timestamp of when the qna will stop to appear as a search result. Set as null for always available. + * + * @param \DateTime $val The availabilityEndDateTime + * + * @return Qna + */ + public function setAvailabilityEndDateTime($val) + { + $this->_propDict["availabilityEndDateTime"] = $val; + return $this; + } + + /** + * Gets the availabilityStartDateTime + * Timestamp of when the qna will start to appear as a search result. Set as null for always available. + * + * @return \DateTime|null The availabilityStartDateTime + */ + public function getAvailabilityStartDateTime() + { + if (array_key_exists("availabilityStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["availabilityStartDateTime"], "\DateTime") || is_null($this->_propDict["availabilityStartDateTime"])) { + return $this->_propDict["availabilityStartDateTime"]; + } else { + $this->_propDict["availabilityStartDateTime"] = new \DateTime($this->_propDict["availabilityStartDateTime"]); + return $this->_propDict["availabilityStartDateTime"]; + } + } + return null; + } + + /** + * Sets the availabilityStartDateTime + * Timestamp of when the qna will start to appear as a search result. Set as null for always available. + * + * @param \DateTime $val The availabilityStartDateTime + * + * @return Qna + */ + public function setAvailabilityStartDateTime($val) + { + $this->_propDict["availabilityStartDateTime"] = $val; + return $this; + } + + /** + * Gets the groupIds + * List of security groups able to view this qna. + * + * @return string|null The groupIds + */ + public function getGroupIds() + { + if (array_key_exists("groupIds", $this->_propDict)) { + return $this->_propDict["groupIds"]; + } else { + return null; + } + } + + /** + * Sets the groupIds + * List of security groups able to view this qna. + * + * @param string $val The groupIds + * + * @return Qna + */ + public function setGroupIds($val) + { + $this->_propDict["groupIds"] = $val; + return $this; + } + + /** + * Gets the isSuggested + * True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. + * + * @return bool|null The isSuggested + */ + public function getIsSuggested() + { + if (array_key_exists("isSuggested", $this->_propDict)) { + return $this->_propDict["isSuggested"]; + } else { + return null; + } + } + + /** + * Sets the isSuggested + * True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. + * + * @param bool $val The isSuggested + * + * @return Qna + */ + public function setIsSuggested($val) + { + $this->_propDict["isSuggested"] = boolval($val); + return $this; + } + + /** + * Gets the keywords + * Keywords that trigger this qna to appear in search results. + * + * @return AnswerKeyword|null The keywords + */ + public function getKeywords() + { + if (array_key_exists("keywords", $this->_propDict)) { + if (is_a($this->_propDict["keywords"], "\Beta\Microsoft\Graph\Search\Model\AnswerKeyword") || is_null($this->_propDict["keywords"])) { + return $this->_propDict["keywords"]; + } else { + $this->_propDict["keywords"] = new AnswerKeyword($this->_propDict["keywords"]); + return $this->_propDict["keywords"]; + } + } + return null; + } + + /** + * Sets the keywords + * Keywords that trigger this qna to appear in search results. + * + * @param AnswerKeyword $val The keywords + * + * @return Qna + */ + public function setKeywords($val) + { + $this->_propDict["keywords"] = $val; + return $this; + } + + /** + * Gets the languageTags + * A list of language names that are geographically specific and that this QnA can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. + * + * @return string|null The languageTags + */ + public function getLanguageTags() + { + if (array_key_exists("languageTags", $this->_propDict)) { + return $this->_propDict["languageTags"]; + } else { + return null; + } + } + + /** + * Sets the languageTags + * A list of language names that are geographically specific and that this QnA can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. + * + * @param string $val The languageTags + * + * @return Qna + */ + public function setLanguageTags($val) + { + $this->_propDict["languageTags"] = $val; + return $this; + } + + + /** + * Gets the platforms + * List of devices and operating systems able to view this qna. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. + * + * @return array|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + return $this->_propDict["platforms"]; + } else { + return null; + } + } + + /** + * Sets the platforms + * List of devices and operating systems able to view this qna. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. + * + * @param \Beta\Microsoft\Graph\Model\DevicePlatformType[] $val The platforms + * + * @return Qna + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the state + * State of the qna. Possible values are: published, draft, excluded, or unknownFutureValue. + * + * @return AnswerState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Search\Model\AnswerState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AnswerState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * State of the qna. Possible values are: published, draft, excluded, or unknownFutureValue. + * + * @param AnswerState $val The state + * + * @return Qna + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the targetedVariations + * Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. + * + * @return array|null The targetedVariations + */ + public function getTargetedVariations() + { + if (array_key_exists("targetedVariations", $this->_propDict)) { + return $this->_propDict["targetedVariations"]; + } else { + return null; + } + } + + /** + * Sets the targetedVariations + * Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. + * + * @param AnswerVariant[] $val The targetedVariations + * + * @return Qna + */ + public function setTargetedVariations($val) + { + $this->_propDict["targetedVariations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/SearchAnswer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/SearchAnswer.php new file mode 100644 index 0000000..ff41903 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Search/Model/SearchAnswer.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Search answer description shown on search results page. + * + * @param string $val The description + * + * @return SearchAnswer + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Search answer name displayed in search results. + * + * @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 + * Search answer name displayed in search results. + * + * @param string $val The displayName + * + * @return SearchAnswer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Details of the user that created or last modified the search answer. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Search\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Details of the user that created or last modified the search answer. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return SearchAnswer + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Timestamp of when the search answer is created or edited. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Timestamp of when the search answer is created or edited. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SearchAnswer + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Search answer URL link. When users click this search answer in search results, they will go to this URL. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Search answer URL link. When users click this search answer in search results, they will go to this URL. + * + * @param string $val The webUrl + * + * @return SearchAnswer + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ActionSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ActionSource.php new file mode 100644 index 0000000..2072ef2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ActionSource.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContentAlignment") || is_null($this->_propDict["alignment"])) { + return $this->_propDict["alignment"]; + } else { + $this->_propDict["alignment"] = new ContentAlignment($this->_propDict["alignment"]); + return $this->_propDict["alignment"]; + } + } + return null; + } + + /** + * Sets the alignment + * + * @param ContentAlignment $val The value to assign to the alignment + * + * @return AddContentFooterAction The AddContentFooterAction + */ + public function setAlignment($val) + { + $this->_propDict["alignment"] = $val; + return $this; + } + /** + * Gets the fontColor + * + * @return string|null The fontColor + */ + public function getFontColor() + { + if (array_key_exists("fontColor", $this->_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * + * @param string $val The value of the fontColor + * + * @return AddContentFooterAction + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontName + * + * @return string|null The fontName + */ + public function getFontName() + { + if (array_key_exists("fontName", $this->_propDict)) { + return $this->_propDict["fontName"]; + } else { + return null; + } + } + + /** + * Sets the fontName + * + * @param string $val The value of the fontName + * + * @return AddContentFooterAction + */ + public function setFontName($val) + { + $this->_propDict["fontName"] = $val; + return $this; + } + /** + * Gets the fontSize + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * + * @param int $val The value of the fontSize + * + * @return AddContentFooterAction + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + /** + * Gets the margin + * + * @return int|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + return $this->_propDict["margin"]; + } else { + return null; + } + } + + /** + * Sets the margin + * + * @param int $val The value of the margin + * + * @return AddContentFooterAction + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The value of the text + * + * @return AddContentFooterAction + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the uiElementName + * + * @return string|null The uiElementName + */ + public function getUiElementName() + { + if (array_key_exists("uiElementName", $this->_propDict)) { + return $this->_propDict["uiElementName"]; + } else { + return null; + } + } + + /** + * Sets the uiElementName + * + * @param string $val The value of the uiElementName + * + * @return AddContentFooterAction + */ + public function setUiElementName($val) + { + $this->_propDict["uiElementName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AddContentHeaderAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AddContentHeaderAction.php new file mode 100644 index 0000000..da239ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AddContentHeaderAction.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContentAlignment") || is_null($this->_propDict["alignment"])) { + return $this->_propDict["alignment"]; + } else { + $this->_propDict["alignment"] = new ContentAlignment($this->_propDict["alignment"]); + return $this->_propDict["alignment"]; + } + } + return null; + } + + /** + * Sets the alignment + * + * @param ContentAlignment $val The value to assign to the alignment + * + * @return AddContentHeaderAction The AddContentHeaderAction + */ + public function setAlignment($val) + { + $this->_propDict["alignment"] = $val; + return $this; + } + /** + * Gets the fontColor + * + * @return string|null The fontColor + */ + public function getFontColor() + { + if (array_key_exists("fontColor", $this->_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * + * @param string $val The value of the fontColor + * + * @return AddContentHeaderAction + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontName + * + * @return string|null The fontName + */ + public function getFontName() + { + if (array_key_exists("fontName", $this->_propDict)) { + return $this->_propDict["fontName"]; + } else { + return null; + } + } + + /** + * Sets the fontName + * + * @param string $val The value of the fontName + * + * @return AddContentHeaderAction + */ + public function setFontName($val) + { + $this->_propDict["fontName"] = $val; + return $this; + } + /** + * Gets the fontSize + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * + * @param int $val The value of the fontSize + * + * @return AddContentHeaderAction + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + /** + * Gets the margin + * + * @return int|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + return $this->_propDict["margin"]; + } else { + return null; + } + } + + /** + * Sets the margin + * + * @param int $val The value of the margin + * + * @return AddContentHeaderAction + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The value of the text + * + * @return AddContentHeaderAction + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the uiElementName + * + * @return string|null The uiElementName + */ + public function getUiElementName() + { + if (array_key_exists("uiElementName", $this->_propDict)) { + return $this->_propDict["uiElementName"]; + } else { + return null; + } + } + + /** + * Sets the uiElementName + * + * @param string $val The value of the uiElementName + * + * @return AddContentHeaderAction + */ + public function setUiElementName($val) + { + $this->_propDict["uiElementName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AddWatermarkAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AddWatermarkAction.php new file mode 100644 index 0000000..9760a40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AddWatermarkAction.php @@ -0,0 +1,187 @@ +_propDict)) { + return $this->_propDict["fontColor"]; + } else { + return null; + } + } + + /** + * Sets the fontColor + * + * @param string $val The value of the fontColor + * + * @return AddWatermarkAction + */ + public function setFontColor($val) + { + $this->_propDict["fontColor"] = $val; + return $this; + } + /** + * Gets the fontName + * + * @return string|null The fontName + */ + public function getFontName() + { + if (array_key_exists("fontName", $this->_propDict)) { + return $this->_propDict["fontName"]; + } else { + return null; + } + } + + /** + * Sets the fontName + * + * @param string $val The value of the fontName + * + * @return AddWatermarkAction + */ + public function setFontName($val) + { + $this->_propDict["fontName"] = $val; + return $this; + } + /** + * Gets the fontSize + * + * @return int|null The fontSize + */ + public function getFontSize() + { + if (array_key_exists("fontSize", $this->_propDict)) { + return $this->_propDict["fontSize"]; + } else { + return null; + } + } + + /** + * Sets the fontSize + * + * @param int $val The value of the fontSize + * + * @return AddWatermarkAction + */ + public function setFontSize($val) + { + $this->_propDict["fontSize"] = $val; + return $this; + } + + /** + * Gets the layout + * + * @return WatermarkLayout|null The layout + */ + public function getLayout() + { + if (array_key_exists("layout", $this->_propDict)) { + if (is_a($this->_propDict["layout"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\WatermarkLayout") || is_null($this->_propDict["layout"])) { + return $this->_propDict["layout"]; + } else { + $this->_propDict["layout"] = new WatermarkLayout($this->_propDict["layout"]); + return $this->_propDict["layout"]; + } + } + return null; + } + + /** + * Sets the layout + * + * @param WatermarkLayout $val The value to assign to the layout + * + * @return AddWatermarkAction The AddWatermarkAction + */ + public function setLayout($val) + { + $this->_propDict["layout"] = $val; + return $this; + } + /** + * Gets the text + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * + * @param string $val The value of the text + * + * @return AddWatermarkAction + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + /** + * Gets the uiElementName + * + * @return string|null The uiElementName + */ + public function getUiElementName() + { + if (array_key_exists("uiElementName", $this->_propDict)) { + return $this->_propDict["uiElementName"]; + } else { + return null; + } + } + + /** + * Sets the uiElementName + * + * @param string $val The value of the uiElementName + * + * @return AddWatermarkAction + */ + public function setUiElementName($val) + { + $this->_propDict["uiElementName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AdditionalDataOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AdditionalDataOptions.php new file mode 100644 index 0000000..d0d6607 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AdditionalDataOptions.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtectionAction") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new InformationProtectionAction($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * + * @param InformationProtectionAction $val The value to assign to the actions + * + * @return ApplyLabelAction The ApplyLabelAction + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the actionSource + * + * @return ActionSource|null The actionSource + */ + public function getActionSource() + { + if (array_key_exists("actionSource", $this->_propDict)) { + if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ActionSource") || is_null($this->_propDict["actionSource"])) { + return $this->_propDict["actionSource"]; + } else { + $this->_propDict["actionSource"] = new ActionSource($this->_propDict["actionSource"]); + return $this->_propDict["actionSource"]; + } + } + return null; + } + + /** + * Sets the actionSource + * + * @param ActionSource $val The value to assign to the actionSource + * + * @return ApplyLabelAction The ApplyLabelAction + */ + public function setActionSource($val) + { + $this->_propDict["actionSource"] = $val; + return $this; + } + /** + * Gets the responsibleSensitiveTypeIds + * + * @return string|null The responsibleSensitiveTypeIds + */ + public function getResponsibleSensitiveTypeIds() + { + if (array_key_exists("responsibleSensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["responsibleSensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the responsibleSensitiveTypeIds + * + * @param string $val The value of the responsibleSensitiveTypeIds + * + * @return ApplyLabelAction + */ + public function setResponsibleSensitiveTypeIds($val) + { + $this->_propDict["responsibleSensitiveTypeIds"] = $val; + return $this; + } + /** + * Gets the sensitivityLabelId + * + * @return string|null The sensitivityLabelId + */ + public function getSensitivityLabelId() + { + if (array_key_exists("sensitivityLabelId", $this->_propDict)) { + return $this->_propDict["sensitivityLabelId"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabelId + * + * @param string $val The value of the sensitivityLabelId + * + * @return ApplyLabelAction + */ + public function setSensitivityLabelId($val) + { + $this->_propDict["sensitivityLabelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AssignmentMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AssignmentMethod.php new file mode 100644 index 0000000..7b5b69e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/AssignmentMethod.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["decryptedBuffer"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["decryptedBuffer"])) { + return $this->_propDict["decryptedBuffer"]; + } else { + $this->_propDict["decryptedBuffer"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["decryptedBuffer"]); + return $this->_propDict["decryptedBuffer"]; + } + } + return null; + } + + /** + * Sets the decryptedBuffer + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the decryptedBuffer + * + * @return BufferDecryptionResult The BufferDecryptionResult + */ + public function setDecryptedBuffer($val) + { + $this->_propDict["decryptedBuffer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BufferEncryptionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BufferEncryptionResult.php new file mode 100644 index 0000000..eb4d904 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/BufferEncryptionResult.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["encryptedBuffer"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptedBuffer"])) { + return $this->_propDict["encryptedBuffer"]; + } else { + $this->_propDict["encryptedBuffer"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptedBuffer"]); + return $this->_propDict["encryptedBuffer"]; + } + } + return null; + } + + /** + * Sets the encryptedBuffer + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the encryptedBuffer + * + * @return BufferEncryptionResult The BufferEncryptionResult + */ + public function setEncryptedBuffer($val) + { + $this->_propDict["encryptedBuffer"] = $val; + return $this; + } + + /** + * Gets the publishingLicense + * + * @return \GuzzleHttp\Psr7\Stream|null The publishingLicense + */ + public function getPublishingLicense() + { + if (array_key_exists("publishingLicense", $this->_propDict)) { + if (is_a($this->_propDict["publishingLicense"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["publishingLicense"])) { + return $this->_propDict["publishingLicense"]; + } else { + $this->_propDict["publishingLicense"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["publishingLicense"]); + return $this->_propDict["publishingLicense"]; + } + } + return null; + } + + /** + * Sets the publishingLicense + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the publishingLicense + * + * @return BufferEncryptionResult The BufferEncryptionResult + */ + public function setPublishingLicense($val) + { + $this->_propDict["publishingLicense"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CaseAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CaseAction.php new file mode 100644 index 0000000..f614460 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CaseAction.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\CaseAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new CaseAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * + * @param CaseAction $val The action + * + * @return CaseOperation + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * + * @param \DateTime $val The completedDateTime + * + * @return CaseOperation + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return CaseOperation + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return CaseOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the percentProgress + * + * @return int|null The percentProgress + */ + public function getPercentProgress() + { + if (array_key_exists("percentProgress", $this->_propDict)) { + return $this->_propDict["percentProgress"]; + } else { + return null; + } + } + + /** + * Sets the percentProgress + * + * @param int $val The percentProgress + * + * @return CaseOperation + */ + public function setPercentProgress($val) + { + $this->_propDict["percentProgress"] = intval($val); + return $this; + } + + /** + * Gets the resultInfo + * + * @return \Beta\Microsoft\Graph\Model\ResultInfo|null The resultInfo + */ + public function getResultInfo() + { + if (array_key_exists("resultInfo", $this->_propDict)) { + if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["resultInfo"])) { + return $this->_propDict["resultInfo"]; + } else { + $this->_propDict["resultInfo"] = new \Beta\Microsoft\Graph\Model\ResultInfo($this->_propDict["resultInfo"]); + return $this->_propDict["resultInfo"]; + } + } + return null; + } + + /** + * Sets the resultInfo + * + * @param \Beta\Microsoft\Graph\Model\ResultInfo $val The resultInfo + * + * @return CaseOperation + */ + public function setResultInfo($val) + { + $this->_propDict["resultInfo"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return CaseOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\CaseOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CaseOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param CaseOperationStatus $val The status + * + * @return CaseOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CaseOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CaseOperationStatus.php new file mode 100644 index 0000000..74a53fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/CaseOperationStatus.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["ediscoveryCases"]; + } else { + return null; + } + } + + /** + * Sets the ediscoveryCases + * + * @param EdiscoveryCase[] $val The ediscoveryCases + * + * @return CasesRoot + */ + public function setEdiscoveryCases($val) + { + $this->_propDict["ediscoveryCases"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ChildSelectability.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ChildSelectability.php new file mode 100644 index 0000000..af12cc6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ChildSelectability.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["confidenceLevel"]; + } else { + return null; + } + } + + /** + * Sets the confidenceLevel + * + * @param int $val The value of the confidenceLevel + * + * @return ClassificationResult + */ + public function setConfidenceLevel($val) + { + $this->_propDict["confidenceLevel"] = $val; + return $this; + } + /** + * Gets the count + * + * @return int|null The count + */ + public function getCount() + { + if (array_key_exists("count", $this->_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * + * @param int $val The value of the count + * + * @return ClassificationResult + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + /** + * Gets the sensitiveTypeId + * + * @return string|null The sensitiveTypeId + */ + public function getSensitiveTypeId() + { + if (array_key_exists("sensitiveTypeId", $this->_propDict)) { + return $this->_propDict["sensitiveTypeId"]; + } else { + return null; + } + } + + /** + * Sets the sensitiveTypeId + * + * @param string $val The value of the sensitiveTypeId + * + * @return ClassificationResult + */ + public function setSensitiveTypeId($val) + { + $this->_propDict["sensitiveTypeId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentAlignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentAlignment.php new file mode 100644 index 0000000..638d577 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentAlignment.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["contentFormat"]; + } else { + return null; + } + } + + /** + * Sets the contentFormat + * + * @param string $val The value of the contentFormat + * + * @return ContentInfo + */ + public function setContentFormat($val) + { + $this->_propDict["contentFormat"] = $val; + return $this; + } + /** + * Gets the identifier + * + * @return string|null The identifier + */ + public function getIdentifier() + { + if (array_key_exists("identifier", $this->_propDict)) { + return $this->_propDict["identifier"]; + } else { + return null; + } + } + + /** + * Sets the identifier + * + * @param string $val The value of the identifier + * + * @return ContentInfo + */ + public function setIdentifier($val) + { + $this->_propDict["identifier"] = $val; + return $this; + } + + /** + * Gets the metadata + * + * @return KeyValuePair|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KeyValuePair") || is_null($this->_propDict["metadata"])) { + return $this->_propDict["metadata"]; + } else { + $this->_propDict["metadata"] = new KeyValuePair($this->_propDict["metadata"]); + return $this->_propDict["metadata"]; + } + } + return null; + } + + /** + * Sets the metadata + * + * @param KeyValuePair $val The value to assign to the metadata + * + * @return ContentInfo The ContentInfo + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return ContentState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ContentState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ContentState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param ContentState $val The value to assign to the state + * + * @return ContentInfo The ContentInfo + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentLabel.php new file mode 100644 index 0000000..82f35e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentLabel.php @@ -0,0 +1,114 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\AssignmentMethod") || is_null($this->_propDict["assignmentMethod"])) { + return $this->_propDict["assignmentMethod"]; + } else { + $this->_propDict["assignmentMethod"] = new AssignmentMethod($this->_propDict["assignmentMethod"]); + return $this->_propDict["assignmentMethod"]; + } + } + return null; + } + + /** + * Sets the assignmentMethod + * + * @param AssignmentMethod $val The value to assign to the assignmentMethod + * + * @return ContentLabel The ContentLabel + */ + public function setAssignmentMethod($val) + { + $this->_propDict["assignmentMethod"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ContentLabel The ContentLabel + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the sensitivityLabelId + * + * @return string|null The sensitivityLabelId + */ + public function getSensitivityLabelId() + { + if (array_key_exists("sensitivityLabelId", $this->_propDict)) { + return $this->_propDict["sensitivityLabelId"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabelId + * + * @param string $val The value of the sensitivityLabelId + * + * @return ContentLabel + */ + public function setSensitivityLabelId($val) + { + $this->_propDict["sensitivityLabelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentState.php new file mode 100644 index 0000000..6bed140 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ContentState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return CustomAction + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the customActionProperties + * + * @return KeyValuePair|null The customActionProperties + */ + public function getCustomActionProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KeyValuePair") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new KeyValuePair($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the customActionProperties + * + * @param KeyValuePair $val The value to assign to the properties + * + * @return CustomAction The CustomAction + */ + public function setCustomActionProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSet.php new file mode 100644 index 0000000..a15e189 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSet.php @@ -0,0 +1,116 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return DataSet + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return DataSet + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return DataSet + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSource.php new file mode 100644 index 0000000..e22fea5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSource.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return DataSource + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return DataSource + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return DataSource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the holdStatus + * + * @return DataSourceHoldStatus|null The holdStatus + */ + public function getHoldStatus() + { + if (array_key_exists("holdStatus", $this->_propDict)) { + if (is_a($this->_propDict["holdStatus"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DataSourceHoldStatus") || is_null($this->_propDict["holdStatus"])) { + return $this->_propDict["holdStatus"]; + } else { + $this->_propDict["holdStatus"] = new DataSourceHoldStatus($this->_propDict["holdStatus"]); + return $this->_propDict["holdStatus"]; + } + } + return null; + } + + /** + * Sets the holdStatus + * + * @param DataSourceHoldStatus $val The holdStatus + * + * @return DataSource + */ + public function setHoldStatus($val) + { + $this->_propDict["holdStatus"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSourceContainer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSourceContainer.php new file mode 100644 index 0000000..5d715fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSourceContainer.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return DataSourceContainer + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return DataSourceContainer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the holdStatus + * + * @return DataSourceHoldStatus|null The holdStatus + */ + public function getHoldStatus() + { + if (array_key_exists("holdStatus", $this->_propDict)) { + if (is_a($this->_propDict["holdStatus"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DataSourceHoldStatus") || is_null($this->_propDict["holdStatus"])) { + return $this->_propDict["holdStatus"]; + } else { + $this->_propDict["holdStatus"] = new DataSourceHoldStatus($this->_propDict["holdStatus"]); + return $this->_propDict["holdStatus"]; + } + } + return null; + } + + /** + * Sets the holdStatus + * + * @param DataSourceHoldStatus $val The holdStatus + * + * @return DataSourceContainer + */ + public function setHoldStatus($val) + { + $this->_propDict["holdStatus"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DataSourceContainer + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the releasedDateTime + * + * @return \DateTime|null The releasedDateTime + */ + public function getReleasedDateTime() + { + if (array_key_exists("releasedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releasedDateTime"], "\DateTime") || is_null($this->_propDict["releasedDateTime"])) { + return $this->_propDict["releasedDateTime"]; + } else { + $this->_propDict["releasedDateTime"] = new \DateTime($this->_propDict["releasedDateTime"]); + return $this->_propDict["releasedDateTime"]; + } + } + return null; + } + + /** + * Sets the releasedDateTime + * + * @param \DateTime $val The releasedDateTime + * + * @return DataSourceContainer + */ + public function setReleasedDateTime($val) + { + $this->_propDict["releasedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return DataSourceContainerStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DataSourceContainerStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DataSourceContainerStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param DataSourceContainerStatus $val The status + * + * @return DataSourceContainer + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSourceContainerStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSourceContainerStatus.php new file mode 100644 index 0000000..9f228ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/DataSourceContainerStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["isDowngradeJustified"]; + } else { + return null; + } + } + + /** + * Sets the isDowngradeJustified + * + * @param bool $val The value of the isDowngradeJustified + * + * @return DowngradeJustification + */ + public function setIsDowngradeJustified($val) + { + $this->_propDict["isDowngradeJustified"] = $val; + return $this; + } + /** + * Gets the justificationMessage + * + * @return string|null The justificationMessage + */ + public function getJustificationMessage() + { + if (array_key_exists("justificationMessage", $this->_propDict)) { + return $this->_propDict["justificationMessage"]; + } else { + return null; + } + } + + /** + * Sets the justificationMessage + * + * @param string $val The value of the justificationMessage + * + * @return DowngradeJustification + */ + public function setJustificationMessage($val) + { + $this->_propDict["justificationMessage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryAddToReviewSetOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryAddToReviewSetOperation.php new file mode 100644 index 0000000..defe1c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryAddToReviewSetOperation.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryReviewSet") || is_null($this->_propDict["reviewSet"])) { + return $this->_propDict["reviewSet"]; + } else { + $this->_propDict["reviewSet"] = new EdiscoveryReviewSet($this->_propDict["reviewSet"]); + return $this->_propDict["reviewSet"]; + } + } + return null; + } + + /** + * Sets the reviewSet + * + * @param EdiscoveryReviewSet $val The reviewSet + * + * @return EdiscoveryAddToReviewSetOperation + */ + public function setReviewSet($val) + { + $this->_propDict["reviewSet"] = $val; + return $this; + } + + /** + * Gets the search + * + * @return EdiscoverySearch|null The search + */ + public function getSearch() + { + if (array_key_exists("search", $this->_propDict)) { + if (is_a($this->_propDict["search"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoverySearch") || is_null($this->_propDict["search"])) { + return $this->_propDict["search"]; + } else { + $this->_propDict["search"] = new EdiscoverySearch($this->_propDict["search"]); + return $this->_propDict["search"]; + } + } + return null; + } + + /** + * Sets the search + * + * @param EdiscoverySearch $val The search + * + * @return EdiscoveryAddToReviewSetOperation + */ + public function setSearch($val) + { + $this->_propDict["search"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCase.php new file mode 100644 index 0000000..f8b97a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCase.php @@ -0,0 +1,343 @@ +_propDict)) { + if (is_a($this->_propDict["closedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["closedBy"])) { + return $this->_propDict["closedBy"]; + } else { + $this->_propDict["closedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["closedBy"]); + return $this->_propDict["closedBy"]; + } + } + return null; + } + + /** + * Sets the closedBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The closedBy + * + * @return EdiscoveryCase + */ + public function setClosedBy($val) + { + $this->_propDict["closedBy"] = $val; + return $this; + } + + /** + * Gets the closedDateTime + * + * @return \DateTime|null The closedDateTime + */ + public function getClosedDateTime() + { + if (array_key_exists("closedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { + return $this->_propDict["closedDateTime"]; + } else { + $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); + return $this->_propDict["closedDateTime"]; + } + } + return null; + } + + /** + * Sets the closedDateTime + * + * @param \DateTime $val The closedDateTime + * + * @return EdiscoveryCase + */ + public function setClosedDateTime($val) + { + $this->_propDict["closedDateTime"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return EdiscoveryCase + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + + /** + * Gets the custodians + * + * @return array|null The custodians + */ + public function getCustodians() + { + if (array_key_exists("custodians", $this->_propDict)) { + return $this->_propDict["custodians"]; + } else { + return null; + } + } + + /** + * Sets the custodians + * + * @param EdiscoveryCustodian[] $val The custodians + * + * @return EdiscoveryCase + */ + public function setCustodians($val) + { + $this->_propDict["custodians"] = $val; + return $this; + } + + + /** + * Gets the legalHolds + * + * @return array|null The legalHolds + */ + public function getLegalHolds() + { + if (array_key_exists("legalHolds", $this->_propDict)) { + return $this->_propDict["legalHolds"]; + } else { + return null; + } + } + + /** + * Sets the legalHolds + * + * @param EdiscoveryHoldPolicy[] $val The legalHolds + * + * @return EdiscoveryCase + */ + public function setLegalHolds($val) + { + $this->_propDict["legalHolds"] = $val; + return $this; + } + + + /** + * Gets the noncustodialDataSources + * + * @return array|null The noncustodialDataSources + */ + public function getNoncustodialDataSources() + { + if (array_key_exists("noncustodialDataSources", $this->_propDict)) { + return $this->_propDict["noncustodialDataSources"]; + } else { + return null; + } + } + + /** + * Sets the noncustodialDataSources + * + * @param EdiscoveryNoncustodialDataSource[] $val The noncustodialDataSources + * + * @return EdiscoveryCase + */ + public function setNoncustodialDataSources($val) + { + $this->_propDict["noncustodialDataSources"] = $val; + return $this; + } + + + /** + * Gets the operations + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * + * @param CaseOperation[] $val The operations + * + * @return EdiscoveryCase + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the reviewSets + * + * @return array|null The reviewSets + */ + public function getReviewSets() + { + if (array_key_exists("reviewSets", $this->_propDict)) { + return $this->_propDict["reviewSets"]; + } else { + return null; + } + } + + /** + * Sets the reviewSets + * + * @param EdiscoveryReviewSet[] $val The reviewSets + * + * @return EdiscoveryCase + */ + public function setReviewSets($val) + { + $this->_propDict["reviewSets"] = $val; + return $this; + } + + + /** + * Gets the searches + * + * @return array|null The searches + */ + public function getSearches() + { + if (array_key_exists("searches", $this->_propDict)) { + return $this->_propDict["searches"]; + } else { + return null; + } + } + + /** + * Sets the searches + * + * @param EdiscoverySearch[] $val The searches + * + * @return EdiscoveryCase + */ + public function setSearches($val) + { + $this->_propDict["searches"] = $val; + return $this; + } + + /** + * Gets the settings + * + * @return EdiscoveryCaseSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryCaseSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new EdiscoveryCaseSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * + * @param EdiscoveryCaseSettings $val The settings + * + * @return EdiscoveryCase + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the tags + * + * @return array|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param EdiscoveryReviewTag[] $val The tags + * + * @return EdiscoveryCase + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCaseSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCaseSettings.php new file mode 100644 index 0000000..9cbf798 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCaseSettings.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["ocr"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\OcrSettings") || is_null($this->_propDict["ocr"])) { + return $this->_propDict["ocr"]; + } else { + $this->_propDict["ocr"] = new OcrSettings($this->_propDict["ocr"]); + return $this->_propDict["ocr"]; + } + } + return null; + } + + /** + * Sets the ocr + * + * @param OcrSettings $val The ocr + * + * @return EdiscoveryCaseSettings + */ + public function setOcr($val) + { + $this->_propDict["ocr"] = $val; + return $this; + } + + /** + * Gets the redundancyDetection + * + * @return RedundancyDetectionSettings|null The redundancyDetection + */ + public function getRedundancyDetection() + { + if (array_key_exists("redundancyDetection", $this->_propDict)) { + if (is_a($this->_propDict["redundancyDetection"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\RedundancyDetectionSettings") || is_null($this->_propDict["redundancyDetection"])) { + return $this->_propDict["redundancyDetection"]; + } else { + $this->_propDict["redundancyDetection"] = new RedundancyDetectionSettings($this->_propDict["redundancyDetection"]); + return $this->_propDict["redundancyDetection"]; + } + } + return null; + } + + /** + * Sets the redundancyDetection + * + * @param RedundancyDetectionSettings $val The redundancyDetection + * + * @return EdiscoveryCaseSettings + */ + public function setRedundancyDetection($val) + { + $this->_propDict["redundancyDetection"] = $val; + return $this; + } + + /** + * Gets the topicModeling + * + * @return TopicModelingSettings|null The topicModeling + */ + public function getTopicModeling() + { + if (array_key_exists("topicModeling", $this->_propDict)) { + if (is_a($this->_propDict["topicModeling"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\TopicModelingSettings") || is_null($this->_propDict["topicModeling"])) { + return $this->_propDict["topicModeling"]; + } else { + $this->_propDict["topicModeling"] = new TopicModelingSettings($this->_propDict["topicModeling"]); + return $this->_propDict["topicModeling"]; + } + } + return null; + } + + /** + * Sets the topicModeling + * + * @param TopicModelingSettings $val The topicModeling + * + * @return EdiscoveryCaseSettings + */ + public function setTopicModeling($val) + { + $this->_propDict["topicModeling"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCustodian.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCustodian.php new file mode 100644 index 0000000..7266dbb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryCustodian.php @@ -0,0 +1,200 @@ +_propDict)) { + if (is_a($this->_propDict["acknowledgedDateTime"], "\DateTime") || is_null($this->_propDict["acknowledgedDateTime"])) { + return $this->_propDict["acknowledgedDateTime"]; + } else { + $this->_propDict["acknowledgedDateTime"] = new \DateTime($this->_propDict["acknowledgedDateTime"]); + return $this->_propDict["acknowledgedDateTime"]; + } + } + return null; + } + + /** + * Sets the acknowledgedDateTime + * + * @param \DateTime $val The acknowledgedDateTime + * + * @return EdiscoveryCustodian + */ + public function setAcknowledgedDateTime($val) + { + $this->_propDict["acknowledgedDateTime"] = $val; + return $this; + } + + /** + * Gets the email + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return EdiscoveryCustodian + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the lastIndexOperation + * + * @return EdiscoveryIndexOperation|null The lastIndexOperation + */ + public function getLastIndexOperation() + { + if (array_key_exists("lastIndexOperation", $this->_propDict)) { + if (is_a($this->_propDict["lastIndexOperation"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryIndexOperation") || is_null($this->_propDict["lastIndexOperation"])) { + return $this->_propDict["lastIndexOperation"]; + } else { + $this->_propDict["lastIndexOperation"] = new EdiscoveryIndexOperation($this->_propDict["lastIndexOperation"]); + return $this->_propDict["lastIndexOperation"]; + } + } + return null; + } + + /** + * Sets the lastIndexOperation + * + * @param EdiscoveryIndexOperation $val The lastIndexOperation + * + * @return EdiscoveryCustodian + */ + public function setLastIndexOperation($val) + { + $this->_propDict["lastIndexOperation"] = $val; + return $this; + } + + + /** + * Gets the siteSources + * + * @return array|null The siteSources + */ + public function getSiteSources() + { + if (array_key_exists("siteSources", $this->_propDict)) { + return $this->_propDict["siteSources"]; + } else { + return null; + } + } + + /** + * Sets the siteSources + * + * @param SiteSource[] $val The siteSources + * + * @return EdiscoveryCustodian + */ + public function setSiteSources($val) + { + $this->_propDict["siteSources"] = $val; + return $this; + } + + + /** + * Gets the unifiedGroupSources + * + * @return array|null The unifiedGroupSources + */ + public function getUnifiedGroupSources() + { + if (array_key_exists("unifiedGroupSources", $this->_propDict)) { + return $this->_propDict["unifiedGroupSources"]; + } else { + return null; + } + } + + /** + * Sets the unifiedGroupSources + * + * @param UnifiedGroupSource[] $val The unifiedGroupSources + * + * @return EdiscoveryCustodian + */ + public function setUnifiedGroupSources($val) + { + $this->_propDict["unifiedGroupSources"] = $val; + return $this; + } + + + /** + * Gets the userSources + * + * @return array|null The userSources + */ + public function getUserSources() + { + if (array_key_exists("userSources", $this->_propDict)) { + return $this->_propDict["userSources"]; + } else { + return null; + } + } + + /** + * Sets the userSources + * + * @param UserSource[] $val The userSources + * + * @return EdiscoveryCustodian + */ + public function setUserSources($val) + { + $this->_propDict["userSources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryEstimateOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryEstimateOperation.php new file mode 100644 index 0000000..cc5b8d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryEstimateOperation.php @@ -0,0 +1,220 @@ +_propDict)) { + return $this->_propDict["indexedItemCount"]; + } else { + return null; + } + } + + /** + * Sets the indexedItemCount + * + * @param int $val The indexedItemCount + * + * @return EdiscoveryEstimateOperation + */ + public function setIndexedItemCount($val) + { + $this->_propDict["indexedItemCount"] = intval($val); + return $this; + } + + /** + * Gets the indexedItemsSize + * + * @return int|null The indexedItemsSize + */ + public function getIndexedItemsSize() + { + if (array_key_exists("indexedItemsSize", $this->_propDict)) { + return $this->_propDict["indexedItemsSize"]; + } else { + return null; + } + } + + /** + * Sets the indexedItemsSize + * + * @param int $val The indexedItemsSize + * + * @return EdiscoveryEstimateOperation + */ + public function setIndexedItemsSize($val) + { + $this->_propDict["indexedItemsSize"] = intval($val); + return $this; + } + + /** + * Gets the mailboxCount + * + * @return int|null The mailboxCount + */ + public function getMailboxCount() + { + if (array_key_exists("mailboxCount", $this->_propDict)) { + return $this->_propDict["mailboxCount"]; + } else { + return null; + } + } + + /** + * Sets the mailboxCount + * + * @param int $val The mailboxCount + * + * @return EdiscoveryEstimateOperation + */ + public function setMailboxCount($val) + { + $this->_propDict["mailboxCount"] = intval($val); + return $this; + } + + /** + * Gets the siteCount + * + * @return int|null The siteCount + */ + public function getSiteCount() + { + if (array_key_exists("siteCount", $this->_propDict)) { + return $this->_propDict["siteCount"]; + } else { + return null; + } + } + + /** + * Sets the siteCount + * + * @param int $val The siteCount + * + * @return EdiscoveryEstimateOperation + */ + public function setSiteCount($val) + { + $this->_propDict["siteCount"] = intval($val); + return $this; + } + + /** + * Gets the unindexedItemCount + * + * @return int|null The unindexedItemCount + */ + public function getUnindexedItemCount() + { + if (array_key_exists("unindexedItemCount", $this->_propDict)) { + return $this->_propDict["unindexedItemCount"]; + } else { + return null; + } + } + + /** + * Sets the unindexedItemCount + * + * @param int $val The unindexedItemCount + * + * @return EdiscoveryEstimateOperation + */ + public function setUnindexedItemCount($val) + { + $this->_propDict["unindexedItemCount"] = intval($val); + return $this; + } + + /** + * Gets the unindexedItemsSize + * + * @return int|null The unindexedItemsSize + */ + public function getUnindexedItemsSize() + { + if (array_key_exists("unindexedItemsSize", $this->_propDict)) { + return $this->_propDict["unindexedItemsSize"]; + } else { + return null; + } + } + + /** + * Sets the unindexedItemsSize + * + * @param int $val The unindexedItemsSize + * + * @return EdiscoveryEstimateOperation + */ + public function setUnindexedItemsSize($val) + { + $this->_propDict["unindexedItemsSize"] = intval($val); + return $this; + } + + /** + * Gets the search + * + * @return EdiscoverySearch|null The search + */ + public function getSearch() + { + if (array_key_exists("search", $this->_propDict)) { + if (is_a($this->_propDict["search"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoverySearch") || is_null($this->_propDict["search"])) { + return $this->_propDict["search"]; + } else { + $this->_propDict["search"] = new EdiscoverySearch($this->_propDict["search"]); + return $this->_propDict["search"]; + } + } + return null; + } + + /** + * Sets the search + * + * @param EdiscoverySearch $val The search + * + * @return EdiscoveryEstimateOperation + */ + public function setSearch($val) + { + $this->_propDict["search"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php new file mode 100644 index 0000000..8abedc6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryExportOperation.php @@ -0,0 +1,286 @@ +_propDict)) { + return $this->_propDict["azureBlobContainer"]; + } else { + return null; + } + } + + /** + * Sets the azureBlobContainer + * + * @param string $val The azureBlobContainer + * + * @return EdiscoveryExportOperation + */ + public function setAzureBlobContainer($val) + { + $this->_propDict["azureBlobContainer"] = $val; + return $this; + } + + /** + * Gets the azureBlobToken + * + * @return string|null The azureBlobToken + */ + public function getAzureBlobToken() + { + if (array_key_exists("azureBlobToken", $this->_propDict)) { + return $this->_propDict["azureBlobToken"]; + } else { + return null; + } + } + + /** + * Sets the azureBlobToken + * + * @param string $val The azureBlobToken + * + * @return EdiscoveryExportOperation + */ + public function setAzureBlobToken($val) + { + $this->_propDict["azureBlobToken"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return EdiscoveryExportOperation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the exportOptions + * + * @return ExportOptions|null The exportOptions + */ + public function getExportOptions() + { + if (array_key_exists("exportOptions", $this->_propDict)) { + if (is_a($this->_propDict["exportOptions"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ExportOptions") || is_null($this->_propDict["exportOptions"])) { + return $this->_propDict["exportOptions"]; + } else { + $this->_propDict["exportOptions"] = new ExportOptions($this->_propDict["exportOptions"]); + return $this->_propDict["exportOptions"]; + } + } + return null; + } + + /** + * Sets the exportOptions + * + * @param ExportOptions $val The exportOptions + * + * @return EdiscoveryExportOperation + */ + public function setExportOptions($val) + { + $this->_propDict["exportOptions"] = $val; + return $this; + } + + /** + * Gets the exportStructure + * + * @return ExportFileStructure|null The exportStructure + */ + public function getExportStructure() + { + if (array_key_exists("exportStructure", $this->_propDict)) { + if (is_a($this->_propDict["exportStructure"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ExportFileStructure") || is_null($this->_propDict["exportStructure"])) { + return $this->_propDict["exportStructure"]; + } else { + $this->_propDict["exportStructure"] = new ExportFileStructure($this->_propDict["exportStructure"]); + return $this->_propDict["exportStructure"]; + } + } + return null; + } + + /** + * Sets the exportStructure + * + * @param ExportFileStructure $val The exportStructure + * + * @return EdiscoveryExportOperation + */ + public function setExportStructure($val) + { + $this->_propDict["exportStructure"] = $val; + return $this; + } + + /** + * Gets the outputFolderId + * + * @return string|null The outputFolderId + */ + public function getOutputFolderId() + { + if (array_key_exists("outputFolderId", $this->_propDict)) { + return $this->_propDict["outputFolderId"]; + } else { + return null; + } + } + + /** + * Sets the outputFolderId + * + * @param string $val The outputFolderId + * + * @return EdiscoveryExportOperation + */ + public function setOutputFolderId($val) + { + $this->_propDict["outputFolderId"] = $val; + return $this; + } + + /** + * Gets the outputName + * + * @return string|null The outputName + */ + public function getOutputName() + { + if (array_key_exists("outputName", $this->_propDict)) { + return $this->_propDict["outputName"]; + } else { + return null; + } + } + + /** + * Sets the outputName + * + * @param string $val The outputName + * + * @return EdiscoveryExportOperation + */ + public function setOutputName($val) + { + $this->_propDict["outputName"] = $val; + return $this; + } + + /** + * Gets the reviewSet + * + * @return EdiscoveryReviewSet|null The reviewSet + */ + public function getReviewSet() + { + if (array_key_exists("reviewSet", $this->_propDict)) { + if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryReviewSet") || is_null($this->_propDict["reviewSet"])) { + return $this->_propDict["reviewSet"]; + } else { + $this->_propDict["reviewSet"] = new EdiscoveryReviewSet($this->_propDict["reviewSet"]); + return $this->_propDict["reviewSet"]; + } + } + return null; + } + + /** + * Sets the reviewSet + * + * @param EdiscoveryReviewSet $val The reviewSet + * + * @return EdiscoveryExportOperation + */ + public function setReviewSet($val) + { + $this->_propDict["reviewSet"] = $val; + return $this; + } + + /** + * Gets the reviewSetQuery + * + * @return EdiscoveryReviewSetQuery|null The reviewSetQuery + */ + public function getReviewSetQuery() + { + if (array_key_exists("reviewSetQuery", $this->_propDict)) { + if (is_a($this->_propDict["reviewSetQuery"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryReviewSetQuery") || is_null($this->_propDict["reviewSetQuery"])) { + return $this->_propDict["reviewSetQuery"]; + } else { + $this->_propDict["reviewSetQuery"] = new EdiscoveryReviewSetQuery($this->_propDict["reviewSetQuery"]); + return $this->_propDict["reviewSetQuery"]; + } + } + return null; + } + + /** + * Sets the reviewSetQuery + * + * @param EdiscoveryReviewSetQuery $val The reviewSetQuery + * + * @return EdiscoveryExportOperation + */ + public function setReviewSetQuery($val) + { + $this->_propDict["reviewSetQuery"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php new file mode 100644 index 0000000..80e0028 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryFile.php @@ -0,0 +1,86 @@ +_propDict)) { + if (is_a($this->_propDict["custodian"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryCustodian") || is_null($this->_propDict["custodian"])) { + return $this->_propDict["custodian"]; + } else { + $this->_propDict["custodian"] = new EdiscoveryCustodian($this->_propDict["custodian"]); + return $this->_propDict["custodian"]; + } + } + return null; + } + + /** + * Sets the custodian + * + * @param EdiscoveryCustodian $val The custodian + * + * @return EdiscoveryFile + */ + public function setCustodian($val) + { + $this->_propDict["custodian"] = $val; + return $this; + } + + + /** + * Gets the tags + * + * @return array|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param EdiscoveryReviewTag[] $val The tags + * + * @return EdiscoveryFile + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryHoldOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryHoldOperation.php new file mode 100644 index 0000000..24b576e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryHoldOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * + * @param string $val The contentQuery + * + * @return EdiscoveryHoldPolicy + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + + /** + * Gets the errors + * + * @return string|null The errors + */ + public function getErrors() + { + if (array_key_exists("errors", $this->_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * + * @param string $val The errors + * + * @return EdiscoveryHoldPolicy + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + 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 EdiscoveryHoldPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the siteSources + * + * @return array|null The siteSources + */ + public function getSiteSources() + { + if (array_key_exists("siteSources", $this->_propDict)) { + return $this->_propDict["siteSources"]; + } else { + return null; + } + } + + /** + * Sets the siteSources + * + * @param SiteSource[] $val The siteSources + * + * @return EdiscoveryHoldPolicy + */ + public function setSiteSources($val) + { + $this->_propDict["siteSources"] = $val; + return $this; + } + + + /** + * Gets the userSources + * + * @return array|null The userSources + */ + public function getUserSources() + { + if (array_key_exists("userSources", $this->_propDict)) { + return $this->_propDict["userSources"]; + } else { + return null; + } + } + + /** + * Sets the userSources + * + * @param UserSource[] $val The userSources + * + * @return EdiscoveryHoldPolicy + */ + public function setUserSources($val) + { + $this->_propDict["userSources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryIndexOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryIndexOperation.php new file mode 100644 index 0000000..b48d3c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryIndexOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["dataSource"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DataSource") || is_null($this->_propDict["dataSource"])) { + return $this->_propDict["dataSource"]; + } else { + $this->_propDict["dataSource"] = new DataSource($this->_propDict["dataSource"]); + return $this->_propDict["dataSource"]; + } + } + return null; + } + + /** + * Sets the dataSource + * + * @param DataSource $val The dataSource + * + * @return EdiscoveryNoncustodialDataSource + */ + public function setDataSource($val) + { + $this->_propDict["dataSource"] = $val; + return $this; + } + + /** + * Gets the lastIndexOperation + * + * @return EdiscoveryIndexOperation|null The lastIndexOperation + */ + public function getLastIndexOperation() + { + if (array_key_exists("lastIndexOperation", $this->_propDict)) { + if (is_a($this->_propDict["lastIndexOperation"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryIndexOperation") || is_null($this->_propDict["lastIndexOperation"])) { + return $this->_propDict["lastIndexOperation"]; + } else { + $this->_propDict["lastIndexOperation"] = new EdiscoveryIndexOperation($this->_propDict["lastIndexOperation"]); + return $this->_propDict["lastIndexOperation"]; + } + } + return null; + } + + /** + * Sets the lastIndexOperation + * + * @param EdiscoveryIndexOperation $val The lastIndexOperation + * + * @return EdiscoveryNoncustodialDataSource + */ + public function setLastIndexOperation($val) + { + $this->_propDict["lastIndexOperation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryPurgeDataOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryPurgeDataOperation.php new file mode 100644 index 0000000..a7ad12e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryPurgeDataOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["files"]; + } else { + return null; + } + } + + /** + * Sets the files + * + * @param EdiscoveryFile[] $val The files + * + * @return EdiscoveryReviewSet + */ + public function setFiles($val) + { + $this->_propDict["files"] = $val; + return $this; + } + + + /** + * Gets the queries + * + * @return array|null The queries + */ + public function getQueries() + { + if (array_key_exists("queries", $this->_propDict)) { + return $this->_propDict["queries"]; + } else { + return null; + } + } + + /** + * Sets the queries + * + * @param EdiscoveryReviewSetQuery[] $val The queries + * + * @return EdiscoveryReviewSet + */ + public function setQueries($val) + { + $this->_propDict["queries"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryReviewSetQuery.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryReviewSetQuery.php new file mode 100644 index 0000000..844c85b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryReviewSetQuery.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["childSelectability"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ChildSelectability") || is_null($this->_propDict["childSelectability"])) { + return $this->_propDict["childSelectability"]; + } else { + $this->_propDict["childSelectability"] = new ChildSelectability($this->_propDict["childSelectability"]); + return $this->_propDict["childSelectability"]; + } + } + return null; + } + + /** + * Sets the childSelectability + * + * @param ChildSelectability $val The childSelectability + * + * @return EdiscoveryReviewTag + */ + public function setChildSelectability($val) + { + $this->_propDict["childSelectability"] = $val; + return $this; + } + + + /** + * Gets the childTags + * + * @return array|null The childTags + */ + public function getChildTags() + { + if (array_key_exists("childTags", $this->_propDict)) { + return $this->_propDict["childTags"]; + } else { + return null; + } + } + + /** + * Sets the childTags + * + * @param EdiscoveryReviewTag[] $val The childTags + * + * @return EdiscoveryReviewTag + */ + public function setChildTags($val) + { + $this->_propDict["childTags"] = $val; + return $this; + } + + /** + * Gets the parent + * + * @return EdiscoveryReviewTag|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryReviewTag") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new EdiscoveryReviewTag($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * + * @param EdiscoveryReviewTag $val The parent + * + * @return EdiscoveryReviewTag + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoverySearch.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoverySearch.php new file mode 100644 index 0000000..58dc9fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoverySearch.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["dataSourceScopes"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DataSourceScopes") || is_null($this->_propDict["dataSourceScopes"])) { + return $this->_propDict["dataSourceScopes"]; + } else { + $this->_propDict["dataSourceScopes"] = new DataSourceScopes($this->_propDict["dataSourceScopes"]); + return $this->_propDict["dataSourceScopes"]; + } + } + return null; + } + + /** + * Sets the dataSourceScopes + * + * @param DataSourceScopes $val The dataSourceScopes + * + * @return EdiscoverySearch + */ + public function setDataSourceScopes($val) + { + $this->_propDict["dataSourceScopes"] = $val; + return $this; + } + + + /** + * Gets the additionalSources + * + * @return array|null The additionalSources + */ + public function getAdditionalSources() + { + if (array_key_exists("additionalSources", $this->_propDict)) { + return $this->_propDict["additionalSources"]; + } else { + return null; + } + } + + /** + * Sets the additionalSources + * + * @param DataSource[] $val The additionalSources + * + * @return EdiscoverySearch + */ + public function setAdditionalSources($val) + { + $this->_propDict["additionalSources"] = $val; + return $this; + } + + /** + * Gets the addToReviewSetOperation + * + * @return EdiscoveryAddToReviewSetOperation|null The addToReviewSetOperation + */ + public function getAddToReviewSetOperation() + { + if (array_key_exists("addToReviewSetOperation", $this->_propDict)) { + if (is_a($this->_propDict["addToReviewSetOperation"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryAddToReviewSetOperation") || is_null($this->_propDict["addToReviewSetOperation"])) { + return $this->_propDict["addToReviewSetOperation"]; + } else { + $this->_propDict["addToReviewSetOperation"] = new EdiscoveryAddToReviewSetOperation($this->_propDict["addToReviewSetOperation"]); + return $this->_propDict["addToReviewSetOperation"]; + } + } + return null; + } + + /** + * Sets the addToReviewSetOperation + * + * @param EdiscoveryAddToReviewSetOperation $val The addToReviewSetOperation + * + * @return EdiscoverySearch + */ + public function setAddToReviewSetOperation($val) + { + $this->_propDict["addToReviewSetOperation"] = $val; + return $this; + } + + + /** + * Gets the custodianSources + * + * @return array|null The custodianSources + */ + public function getCustodianSources() + { + if (array_key_exists("custodianSources", $this->_propDict)) { + return $this->_propDict["custodianSources"]; + } else { + return null; + } + } + + /** + * Sets the custodianSources + * + * @param DataSource[] $val The custodianSources + * + * @return EdiscoverySearch + */ + public function setCustodianSources($val) + { + $this->_propDict["custodianSources"] = $val; + return $this; + } + + /** + * Gets the lastEstimateStatisticsOperation + * + * @return EdiscoveryEstimateOperation|null The lastEstimateStatisticsOperation + */ + public function getLastEstimateStatisticsOperation() + { + if (array_key_exists("lastEstimateStatisticsOperation", $this->_propDict)) { + if (is_a($this->_propDict["lastEstimateStatisticsOperation"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryEstimateOperation") || is_null($this->_propDict["lastEstimateStatisticsOperation"])) { + return $this->_propDict["lastEstimateStatisticsOperation"]; + } else { + $this->_propDict["lastEstimateStatisticsOperation"] = new EdiscoveryEstimateOperation($this->_propDict["lastEstimateStatisticsOperation"]); + return $this->_propDict["lastEstimateStatisticsOperation"]; + } + } + return null; + } + + /** + * Sets the lastEstimateStatisticsOperation + * + * @param EdiscoveryEstimateOperation $val The lastEstimateStatisticsOperation + * + * @return EdiscoverySearch + */ + public function setLastEstimateStatisticsOperation($val) + { + $this->_propDict["lastEstimateStatisticsOperation"] = $val; + return $this; + } + + + /** + * Gets the noncustodialSources + * + * @return array|null The noncustodialSources + */ + public function getNoncustodialSources() + { + if (array_key_exists("noncustodialSources", $this->_propDict)) { + return $this->_propDict["noncustodialSources"]; + } else { + return null; + } + } + + /** + * Sets the noncustodialSources + * + * @param EdiscoveryNoncustodialDataSource[] $val The noncustodialSources + * + * @return EdiscoverySearch + */ + public function setNoncustodialSources($val) + { + $this->_propDict["noncustodialSources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryTagOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryTagOperation.php new file mode 100644 index 0000000..03ec9f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/EdiscoveryTagOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return File + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the dateTime + * + * @return \DateTime|null The dateTime + */ + public function getDateTime() + { + if (array_key_exists("dateTime", $this->_propDict)) { + if (is_a($this->_propDict["dateTime"], "\DateTime") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new \DateTime($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * + * @param \DateTime $val The dateTime + * + * @return File + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + + /** + * Gets the extension + * + * @return string|null The extension + */ + public function getExtension() + { + if (array_key_exists("extension", $this->_propDict)) { + return $this->_propDict["extension"]; + } else { + return null; + } + } + + /** + * Sets the extension + * + * @param string $val The extension + * + * @return File + */ + public function setExtension($val) + { + $this->_propDict["extension"] = $val; + return $this; + } + + /** + * Gets the extractedTextContent + * + * @return \GuzzleHttp\Psr7\Stream|null The extractedTextContent + */ + public function getExtractedTextContent() + { + if (array_key_exists("extractedTextContent", $this->_propDict)) { + if (is_a($this->_propDict["extractedTextContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["extractedTextContent"])) { + return $this->_propDict["extractedTextContent"]; + } else { + $this->_propDict["extractedTextContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["extractedTextContent"]); + return $this->_propDict["extractedTextContent"]; + } + } + return null; + } + + /** + * Sets the extractedTextContent + * + * @param \GuzzleHttp\Psr7\Stream $val The extractedTextContent + * + * @return File + */ + public function setExtractedTextContent($val) + { + $this->_propDict["extractedTextContent"] = $val; + return $this; + } + + /** + * Gets the mediaType + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * + * @param string $val The mediaType + * + * @return File + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return File + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the otherProperties + * + * @return StringValueDictionary|null The otherProperties + */ + public function getOtherProperties() + { + if (array_key_exists("otherProperties", $this->_propDict)) { + if (is_a($this->_propDict["otherProperties"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\StringValueDictionary") || is_null($this->_propDict["otherProperties"])) { + return $this->_propDict["otherProperties"]; + } else { + $this->_propDict["otherProperties"] = new StringValueDictionary($this->_propDict["otherProperties"]); + return $this->_propDict["otherProperties"]; + } + } + return null; + } + + /** + * Sets the otherProperties + * + * @param StringValueDictionary $val The otherProperties + * + * @return File + */ + public function setOtherProperties($val) + { + $this->_propDict["otherProperties"] = $val; + return $this; + } + + /** + * Gets the processingStatus + * + * @return FileProcessingStatus|null The processingStatus + */ + public function getProcessingStatus() + { + if (array_key_exists("processingStatus", $this->_propDict)) { + if (is_a($this->_propDict["processingStatus"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\FileProcessingStatus") || is_null($this->_propDict["processingStatus"])) { + return $this->_propDict["processingStatus"]; + } else { + $this->_propDict["processingStatus"] = new FileProcessingStatus($this->_propDict["processingStatus"]); + return $this->_propDict["processingStatus"]; + } + } + return null; + } + + /** + * Sets the processingStatus + * + * @param FileProcessingStatus $val The processingStatus + * + * @return File + */ + public function setProcessingStatus($val) + { + $this->_propDict["processingStatus"] = $val; + return $this; + } + + /** + * Gets the senderOrAuthors + * + * @return string|null The senderOrAuthors + */ + public function getSenderOrAuthors() + { + if (array_key_exists("senderOrAuthors", $this->_propDict)) { + return $this->_propDict["senderOrAuthors"]; + } else { + return null; + } + } + + /** + * Sets the senderOrAuthors + * + * @param string $val The senderOrAuthors + * + * @return File + */ + public function setSenderOrAuthors($val) + { + $this->_propDict["senderOrAuthors"] = $val; + return $this; + } + + /** + * Gets the size + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * + * @param int $val The size + * + * @return File + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the sourceType + * + * @return SourceType|null The sourceType + */ + public function getSourceType() + { + if (array_key_exists("sourceType", $this->_propDict)) { + if (is_a($this->_propDict["sourceType"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SourceType") || is_null($this->_propDict["sourceType"])) { + return $this->_propDict["sourceType"]; + } else { + $this->_propDict["sourceType"] = new SourceType($this->_propDict["sourceType"]); + return $this->_propDict["sourceType"]; + } + } + return null; + } + + /** + * Sets the sourceType + * + * @param SourceType $val The sourceType + * + * @return File + */ + public function setSourceType($val) + { + $this->_propDict["sourceType"] = $val; + return $this; + } + + /** + * Gets the subjectTitle + * + * @return string|null The subjectTitle + */ + public function getSubjectTitle() + { + if (array_key_exists("subjectTitle", $this->_propDict)) { + return $this->_propDict["subjectTitle"]; + } else { + return null; + } + } + + /** + * Sets the subjectTitle + * + * @param string $val The subjectTitle + * + * @return File + */ + public function setSubjectTitle($val) + { + $this->_propDict["subjectTitle"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileProcessingStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileProcessingStatus.php new file mode 100644 index 0000000..32235b5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/FileProcessingStatus.php @@ -0,0 +1,51 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return GraphCase + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return GraphCase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return GraphCase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return GraphCase + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return GraphCase + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return CaseStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\CaseStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CaseStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param CaseStatus $val The status + * + * @return GraphCase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InformationProtection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InformationProtection.php new file mode 100644 index 0000000..e14848a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InformationProtection.php @@ -0,0 +1,86 @@ +_propDict)) { + if (is_a($this->_propDict["labelPolicySettings"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtectionPolicySetting") || is_null($this->_propDict["labelPolicySettings"])) { + return $this->_propDict["labelPolicySettings"]; + } else { + $this->_propDict["labelPolicySettings"] = new InformationProtectionPolicySetting($this->_propDict["labelPolicySettings"]); + return $this->_propDict["labelPolicySettings"]; + } + } + return null; + } + + /** + * Sets the labelPolicySettings + * + * @param InformationProtectionPolicySetting $val The labelPolicySettings + * + * @return InformationProtection + */ + public function setLabelPolicySettings($val) + { + $this->_propDict["labelPolicySettings"] = $val; + return $this; + } + + + /** + * Gets the sensitivityLabels + * + * @return array|null The sensitivityLabels + */ + public function getSensitivityLabels() + { + if (array_key_exists("sensitivityLabels", $this->_propDict)) { + return $this->_propDict["sensitivityLabels"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabels + * + * @param SensitivityLabel[] $val The sensitivityLabels + * + * @return InformationProtection + */ + public function setSensitivityLabels($val) + { + $this->_propDict["sensitivityLabels"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InformationProtectionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InformationProtectionAction.php new file mode 100644 index 0000000..ffe6fe5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/InformationProtectionAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["defaultLabelId"]; + } else { + return null; + } + } + + /** + * Sets the defaultLabelId + * + * @param string $val The defaultLabelId + * + * @return InformationProtectionPolicySetting + */ + public function setDefaultLabelId($val) + { + $this->_propDict["defaultLabelId"] = $val; + return $this; + } + + /** + * Gets the isDowngradeJustificationRequired + * + * @return bool|null The isDowngradeJustificationRequired + */ + public function getIsDowngradeJustificationRequired() + { + if (array_key_exists("isDowngradeJustificationRequired", $this->_propDict)) { + return $this->_propDict["isDowngradeJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isDowngradeJustificationRequired + * + * @param bool $val The isDowngradeJustificationRequired + * + * @return InformationProtectionPolicySetting + */ + public function setIsDowngradeJustificationRequired($val) + { + $this->_propDict["isDowngradeJustificationRequired"] = boolval($val); + return $this; + } + + /** + * Gets the isMandatory + * + * @return bool|null The isMandatory + */ + public function getIsMandatory() + { + if (array_key_exists("isMandatory", $this->_propDict)) { + return $this->_propDict["isMandatory"]; + } else { + return null; + } + } + + /** + * Sets the isMandatory + * + * @param bool $val The isMandatory + * + * @return InformationProtectionPolicySetting + */ + public function setIsMandatory($val) + { + $this->_propDict["isMandatory"] = boolval($val); + return $this; + } + + /** + * Gets the moreInfoUrl + * + * @return string|null The moreInfoUrl + */ + public function getMoreInfoUrl() + { + if (array_key_exists("moreInfoUrl", $this->_propDict)) { + return $this->_propDict["moreInfoUrl"]; + } else { + return null; + } + } + + /** + * Sets the moreInfoUrl + * + * @param string $val The moreInfoUrl + * + * @return InformationProtectionPolicySetting + */ + public function setMoreInfoUrl($val) + { + $this->_propDict["moreInfoUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/JustifyAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/JustifyAction.php new file mode 100644 index 0000000..f28900b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/JustifyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return KeyValuePair + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return KeyValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/LabelingOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/LabelingOptions.php new file mode 100644 index 0000000..1178928 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/LabelingOptions.php @@ -0,0 +1,145 @@ +_propDict)) { + if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\AssignmentMethod") || is_null($this->_propDict["assignmentMethod"])) { + return $this->_propDict["assignmentMethod"]; + } else { + $this->_propDict["assignmentMethod"] = new AssignmentMethod($this->_propDict["assignmentMethod"]); + return $this->_propDict["assignmentMethod"]; + } + } + return null; + } + + /** + * Sets the assignmentMethod + * + * @param AssignmentMethod $val The value to assign to the assignmentMethod + * + * @return LabelingOptions The LabelingOptions + */ + public function setAssignmentMethod($val) + { + $this->_propDict["assignmentMethod"] = $val; + return $this; + } + + /** + * Gets the downgradeJustification + * + * @return DowngradeJustification|null The downgradeJustification + */ + public function getDowngradeJustification() + { + if (array_key_exists("downgradeJustification", $this->_propDict)) { + if (is_a($this->_propDict["downgradeJustification"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\DowngradeJustification") || is_null($this->_propDict["downgradeJustification"])) { + return $this->_propDict["downgradeJustification"]; + } else { + $this->_propDict["downgradeJustification"] = new DowngradeJustification($this->_propDict["downgradeJustification"]); + return $this->_propDict["downgradeJustification"]; + } + } + return null; + } + + /** + * Sets the downgradeJustification + * + * @param DowngradeJustification $val The value to assign to the downgradeJustification + * + * @return LabelingOptions The LabelingOptions + */ + public function setDowngradeJustification($val) + { + $this->_propDict["downgradeJustification"] = $val; + return $this; + } + + /** + * Gets the extendedProperties + * + * @return KeyValuePair|null The extendedProperties + */ + public function getExtendedProperties() + { + if (array_key_exists("extendedProperties", $this->_propDict)) { + if (is_a($this->_propDict["extendedProperties"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KeyValuePair") || is_null($this->_propDict["extendedProperties"])) { + return $this->_propDict["extendedProperties"]; + } else { + $this->_propDict["extendedProperties"] = new KeyValuePair($this->_propDict["extendedProperties"]); + return $this->_propDict["extendedProperties"]; + } + } + return null; + } + + /** + * Sets the extendedProperties + * + * @param KeyValuePair $val The value to assign to the extendedProperties + * + * @return LabelingOptions The LabelingOptions + */ + public function setExtendedProperties($val) + { + $this->_propDict["extendedProperties"] = $val; + return $this; + } + /** + * Gets the labelId + * + * @return string|null The labelId + */ + public function getLabelId() + { + if (array_key_exists("labelId", $this->_propDict)) { + return $this->_propDict["labelId"]; + } else { + return null; + } + } + + /** + * Sets the labelId + * + * @param string $val The value of the labelId + * + * @return LabelingOptions + */ + public function setLabelId($val) + { + $this->_propDict["labelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MetadataAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MetadataAction.php new file mode 100644 index 0000000..76de9e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/MetadataAction.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["metadataToAdd"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\KeyValuePair") || is_null($this->_propDict["metadataToAdd"])) { + return $this->_propDict["metadataToAdd"]; + } else { + $this->_propDict["metadataToAdd"] = new KeyValuePair($this->_propDict["metadataToAdd"]); + return $this->_propDict["metadataToAdd"]; + } + } + return null; + } + + /** + * Sets the metadataToAdd + * + * @param KeyValuePair $val The value to assign to the metadataToAdd + * + * @return MetadataAction The MetadataAction + */ + public function setMetadataToAdd($val) + { + $this->_propDict["metadataToAdd"] = $val; + return $this; + } + /** + * Gets the metadataToRemove + * + * @return string|null The metadataToRemove + */ + public function getMetadataToRemove() + { + if (array_key_exists("metadataToRemove", $this->_propDict)) { + return $this->_propDict["metadataToRemove"]; + } else { + return null; + } + } + + /** + * Sets the metadataToRemove + * + * @param string $val The value of the metadataToRemove + * + * @return MetadataAction + */ + public function setMetadataToRemove($val) + { + $this->_propDict["metadataToRemove"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/OcrSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/OcrSettings.php new file mode 100644 index 0000000..9429aee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/OcrSettings.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * + * @param bool $val The value of the isEnabled + * + * @return OcrSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the maxImageSize + * + * @return int|null The maxImageSize + */ + public function getMaxImageSize() + { + if (array_key_exists("maxImageSize", $this->_propDict)) { + return $this->_propDict["maxImageSize"]; + } else { + return null; + } + } + + /** + * Sets the maxImageSize + * + * @param int $val The value of the maxImageSize + * + * @return OcrSettings + */ + public function setMaxImageSize($val) + { + $this->_propDict["maxImageSize"] = $val; + return $this; + } + + /** + * Gets the timeout + * + * @return \DateInterval|null The timeout + */ + public function getTimeout() + { + if (array_key_exists("timeout", $this->_propDict)) { + if (is_a($this->_propDict["timeout"], "\DateInterval") || is_null($this->_propDict["timeout"])) { + return $this->_propDict["timeout"]; + } else { + $this->_propDict["timeout"] = new \DateInterval($this->_propDict["timeout"]); + return $this->_propDict["timeout"]; + } + } + return null; + } + + /** + * Sets the timeout + * + * @param \DateInterval $val The value to assign to the timeout + * + * @return OcrSettings The OcrSettings + */ + public function setTimeout($val) + { + $this->_propDict["timeout"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/PolicyBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/PolicyBase.php new file mode 100644 index 0000000..959ed5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/PolicyBase.php @@ -0,0 +1,236 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return PolicyBase + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return PolicyBase + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return PolicyBase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return PolicyBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return PolicyBase + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return PolicyBase + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return PolicyStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\PolicyStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PolicyStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param PolicyStatus $val The status + * + * @return PolicyBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/PolicyStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/PolicyStatus.php new file mode 100644 index 0000000..53ad1ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/PolicyStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * + * @param string $val The value of the templateId + * + * @return ProtectByTemplateAction + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectDoNotForwardAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectDoNotForwardAction.php new file mode 100644 index 0000000..aea7405 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/ProtectDoNotForwardAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtectionAction") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new InformationProtectionAction($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * + * @param InformationProtectionAction $val The value to assign to the actions + * + * @return RecommendLabelAction The RecommendLabelAction + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the actionSource + * + * @return ActionSource|null The actionSource + */ + public function getActionSource() + { + if (array_key_exists("actionSource", $this->_propDict)) { + if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ActionSource") || is_null($this->_propDict["actionSource"])) { + return $this->_propDict["actionSource"]; + } else { + $this->_propDict["actionSource"] = new ActionSource($this->_propDict["actionSource"]); + return $this->_propDict["actionSource"]; + } + } + return null; + } + + /** + * Sets the actionSource + * + * @param ActionSource $val The value to assign to the actionSource + * + * @return RecommendLabelAction The RecommendLabelAction + */ + public function setActionSource($val) + { + $this->_propDict["actionSource"] = $val; + return $this; + } + /** + * Gets the responsibleSensitiveTypeIds + * + * @return string|null The responsibleSensitiveTypeIds + */ + public function getResponsibleSensitiveTypeIds() + { + if (array_key_exists("responsibleSensitiveTypeIds", $this->_propDict)) { + return $this->_propDict["responsibleSensitiveTypeIds"]; + } else { + return null; + } + } + + /** + * Sets the responsibleSensitiveTypeIds + * + * @param string $val The value of the responsibleSensitiveTypeIds + * + * @return RecommendLabelAction + */ + public function setResponsibleSensitiveTypeIds($val) + { + $this->_propDict["responsibleSensitiveTypeIds"] = $val; + return $this; + } + /** + * Gets the sensitivityLabelId + * + * @return string|null The sensitivityLabelId + */ + public function getSensitivityLabelId() + { + if (array_key_exists("sensitivityLabelId", $this->_propDict)) { + return $this->_propDict["sensitivityLabelId"]; + } else { + return null; + } + } + + /** + * Sets the sensitivityLabelId + * + * @param string $val The value of the sensitivityLabelId + * + * @return RecommendLabelAction + */ + public function setSensitivityLabelId($val) + { + $this->_propDict["sensitivityLabelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RedundancyDetectionSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RedundancyDetectionSettings.php new file mode 100644 index 0000000..665b6ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RedundancyDetectionSettings.php @@ -0,0 +1,130 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * + * @param bool $val The value of the isEnabled + * + * @return RedundancyDetectionSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the maxWords + * + * @return int|null The maxWords + */ + public function getMaxWords() + { + if (array_key_exists("maxWords", $this->_propDict)) { + return $this->_propDict["maxWords"]; + } else { + return null; + } + } + + /** + * Sets the maxWords + * + * @param int $val The value of the maxWords + * + * @return RedundancyDetectionSettings + */ + public function setMaxWords($val) + { + $this->_propDict["maxWords"] = $val; + return $this; + } + /** + * Gets the minWords + * + * @return int|null The minWords + */ + public function getMinWords() + { + if (array_key_exists("minWords", $this->_propDict)) { + return $this->_propDict["minWords"]; + } else { + return null; + } + } + + /** + * Sets the minWords + * + * @param int $val The value of the minWords + * + * @return RedundancyDetectionSettings + */ + public function setMinWords($val) + { + $this->_propDict["minWords"] = $val; + return $this; + } + /** + * Gets the similarityThreshold + * + * @return int|null The similarityThreshold + */ + public function getSimilarityThreshold() + { + if (array_key_exists("similarityThreshold", $this->_propDict)) { + return $this->_propDict["similarityThreshold"]; + } else { + return null; + } + } + + /** + * Sets the similarityThreshold + * + * @param int $val The value of the similarityThreshold + * + * @return RedundancyDetectionSettings + */ + public function setSimilarityThreshold($val) + { + $this->_propDict["similarityThreshold"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveContentFooterAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveContentFooterAction.php new file mode 100644 index 0000000..b5429ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveContentFooterAction.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["uiElementNames"]; + } else { + return null; + } + } + + /** + * Sets the uiElementNames + * + * @param string $val The value of the uiElementNames + * + * @return RemoveContentFooterAction + */ + public function setUiElementNames($val) + { + $this->_propDict["uiElementNames"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveContentHeaderAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveContentHeaderAction.php new file mode 100644 index 0000000..f60efd5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveContentHeaderAction.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["uiElementNames"]; + } else { + return null; + } + } + + /** + * Sets the uiElementNames + * + * @param string $val The value of the uiElementNames + * + * @return RemoveContentHeaderAction + */ + public function setUiElementNames($val) + { + $this->_propDict["uiElementNames"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveProtectionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveProtectionAction.php new file mode 100644 index 0000000..163bc50 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/RemoveProtectionAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["uiElementNames"]; + } else { + return null; + } + } + + /** + * Sets the uiElementNames + * + * @param string $val The value of the uiElementNames + * + * @return RemoveWatermarkAction + */ + public function setUiElementNames($val) + { + $this->_propDict["uiElementNames"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Search.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Search.php new file mode 100644 index 0000000..8b9f85d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Search.php @@ -0,0 +1,232 @@ +_propDict)) { + return $this->_propDict["contentQuery"]; + } else { + return null; + } + } + + /** + * Sets the contentQuery + * + * @param string $val The contentQuery + * + * @return Search + */ + public function setContentQuery($val) + { + $this->_propDict["contentQuery"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return Search + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return Search + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return Search + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Search + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return \Beta\Microsoft\Graph\Model\IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The lastModifiedBy + * + * @return Search + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Search + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Security.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Security.php new file mode 100644 index 0000000..96c4dd3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/Security.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["informationProtection"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection") || is_null($this->_propDict["informationProtection"])) { + return $this->_propDict["informationProtection"]; + } else { + $this->_propDict["informationProtection"] = new InformationProtection($this->_propDict["informationProtection"]); + return $this->_propDict["informationProtection"]; + } + } + return null; + } + + /** + * Sets the informationProtection + * + * @param InformationProtection $val The informationProtection + * + * @return Security + */ + public function setInformationProtection($val) + { + $this->_propDict["informationProtection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SensitivityLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SensitivityLabel.php new file mode 100644 index 0000000..ed6e3fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SensitivityLabel.php @@ -0,0 +1,301 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * + * @param string $val The color + * + * @return SensitivityLabel + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the contentFormats + * + * @return string|null The contentFormats + */ + public function getContentFormats() + { + if (array_key_exists("contentFormats", $this->_propDict)) { + return $this->_propDict["contentFormats"]; + } else { + return null; + } + } + + /** + * Sets the contentFormats + * + * @param string $val The contentFormats + * + * @return SensitivityLabel + */ + public function setContentFormats($val) + { + $this->_propDict["contentFormats"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return SensitivityLabel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the hasProtection + * + * @return bool|null The hasProtection + */ + public function getHasProtection() + { + if (array_key_exists("hasProtection", $this->_propDict)) { + return $this->_propDict["hasProtection"]; + } else { + return null; + } + } + + /** + * Sets the hasProtection + * + * @param bool $val The hasProtection + * + * @return SensitivityLabel + */ + public function setHasProtection($val) + { + $this->_propDict["hasProtection"] = boolval($val); + return $this; + } + + /** + * Gets the isActive + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * + * @param bool $val The isActive + * + * @return SensitivityLabel + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the isAppliable + * + * @return bool|null The isAppliable + */ + public function getIsAppliable() + { + if (array_key_exists("isAppliable", $this->_propDict)) { + return $this->_propDict["isAppliable"]; + } else { + return null; + } + } + + /** + * Sets the isAppliable + * + * @param bool $val The isAppliable + * + * @return SensitivityLabel + */ + public function setIsAppliable($val) + { + $this->_propDict["isAppliable"] = boolval($val); + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return SensitivityLabel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * + * @return int|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + return $this->_propDict["sensitivity"]; + } else { + return null; + } + } + + /** + * Sets the sensitivity + * + * @param int $val The sensitivity + * + * @return SensitivityLabel + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = intval($val); + return $this; + } + + /** + * Gets the tooltip + * + * @return string|null The tooltip + */ + public function getTooltip() + { + if (array_key_exists("tooltip", $this->_propDict)) { + return $this->_propDict["tooltip"]; + } else { + return null; + } + } + + /** + * Sets the tooltip + * + * @param string $val The tooltip + * + * @return SensitivityLabel + */ + public function setTooltip($val) + { + $this->_propDict["tooltip"] = $val; + return $this; + } + + /** + * Gets the parent + * + * @return SensitivityLabel|null The parent + */ + public function getParent() + { + if (array_key_exists("parent", $this->_propDict)) { + if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SensitivityLabel") || is_null($this->_propDict["parent"])) { + return $this->_propDict["parent"]; + } else { + $this->_propDict["parent"] = new SensitivityLabel($this->_propDict["parent"]); + return $this->_propDict["parent"]; + } + } + return null; + } + + /** + * Sets the parent + * + * @param SensitivityLabel $val The parent + * + * @return SensitivityLabel + */ + public function setParent($val) + { + $this->_propDict["parent"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SigningResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SigningResult.php new file mode 100644 index 0000000..c9f1bbe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SigningResult.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["signature"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["signature"])) { + return $this->_propDict["signature"]; + } else { + $this->_propDict["signature"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["signature"]); + return $this->_propDict["signature"]; + } + } + return null; + } + + /** + * Sets the signature + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the signature + * + * @return SigningResult The SigningResult + */ + public function setSignature($val) + { + $this->_propDict["signature"] = $val; + return $this; + } + /** + * Gets the signingKeyId + * + * @return string|null The signingKeyId + */ + public function getSigningKeyId() + { + if (array_key_exists("signingKeyId", $this->_propDict)) { + return $this->_propDict["signingKeyId"]; + } else { + return null; + } + } + + /** + * Sets the signingKeyId + * + * @param string $val The value of the signingKeyId + * + * @return SigningResult + */ + public function setSigningKeyId($val) + { + $this->_propDict["signingKeyId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SiteSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SiteSource.php new file mode 100644 index 0000000..e89aa8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SiteSource.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["site"], "\Beta\Microsoft\Graph\Model\Site") || is_null($this->_propDict["site"])) { + return $this->_propDict["site"]; + } else { + $this->_propDict["site"] = new \Beta\Microsoft\Graph\Model\Site($this->_propDict["site"]); + return $this->_propDict["site"]; + } + } + return null; + } + + /** + * Sets the site + * + * @param \Beta\Microsoft\Graph\Model\Site $val The site + * + * @return SiteSource + */ + public function setSite($val) + { + $this->_propDict["site"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SourceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SourceType.php new file mode 100644 index 0000000..0887e31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/SourceType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new \Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param \Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy + * + * @return Tag + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return Tag + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * 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 displayName + * + * @return Tag + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Tag + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/TopicModelingSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/TopicModelingSettings.php new file mode 100644 index 0000000..753367e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/TopicModelingSettings.php @@ -0,0 +1,130 @@ +_propDict)) { + return $this->_propDict["dynamicallyAdjustTopicCount"]; + } else { + return null; + } + } + + /** + * Sets the dynamicallyAdjustTopicCount + * + * @param bool $val The value of the dynamicallyAdjustTopicCount + * + * @return TopicModelingSettings + */ + public function setDynamicallyAdjustTopicCount($val) + { + $this->_propDict["dynamicallyAdjustTopicCount"] = $val; + return $this; + } + /** + * Gets the ignoreNumbers + * + * @return bool|null The ignoreNumbers + */ + public function getIgnoreNumbers() + { + if (array_key_exists("ignoreNumbers", $this->_propDict)) { + return $this->_propDict["ignoreNumbers"]; + } else { + return null; + } + } + + /** + * Sets the ignoreNumbers + * + * @param bool $val The value of the ignoreNumbers + * + * @return TopicModelingSettings + */ + public function setIgnoreNumbers($val) + { + $this->_propDict["ignoreNumbers"] = $val; + 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 value of the isEnabled + * + * @return TopicModelingSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the topicCount + * + * @return int|null The topicCount + */ + public function getTopicCount() + { + if (array_key_exists("topicCount", $this->_propDict)) { + return $this->_propDict["topicCount"]; + } else { + return null; + } + } + + /** + * Sets the topicCount + * + * @param int $val The value of the topicCount + * + * @return TopicModelingSettings + */ + public function setTopicCount($val) + { + $this->_propDict["topicCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UnifiedGroupSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UnifiedGroupSource.php new file mode 100644 index 0000000..aaa313a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UnifiedGroupSource.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["includedSources"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SourceType") || is_null($this->_propDict["includedSources"])) { + return $this->_propDict["includedSources"]; + } else { + $this->_propDict["includedSources"] = new SourceType($this->_propDict["includedSources"]); + return $this->_propDict["includedSources"]; + } + } + return null; + } + + /** + * Sets the includedSources + * + * @param SourceType $val The includedSources + * + * @return UnifiedGroupSource + */ + public function setIncludedSources($val) + { + $this->_propDict["includedSources"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return \Beta\Microsoft\Graph\Model\Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new \Beta\Microsoft\Graph\Model\Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param \Beta\Microsoft\Graph\Model\Group $val The group + * + * @return UnifiedGroupSource + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserSource.php new file mode 100644 index 0000000..787acec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/UserSource.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * + * @param string $val The email + * + * @return UserSource + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the includedSources + * + * @return SourceType|null The includedSources + */ + public function getIncludedSources() + { + if (array_key_exists("includedSources", $this->_propDict)) { + if (is_a($this->_propDict["includedSources"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\SourceType") || is_null($this->_propDict["includedSources"])) { + return $this->_propDict["includedSources"]; + } else { + $this->_propDict["includedSources"] = new SourceType($this->_propDict["includedSources"]); + return $this->_propDict["includedSources"]; + } + } + return null; + } + + /** + * Sets the includedSources + * + * @param SourceType $val The includedSources + * + * @return UserSource + */ + public function setIncludedSources($val) + { + $this->_propDict["includedSources"] = $val; + return $this; + } + + /** + * Gets the siteWebUrl + * + * @return string|null The siteWebUrl + */ + public function getSiteWebUrl() + { + if (array_key_exists("siteWebUrl", $this->_propDict)) { + return $this->_propDict["siteWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the siteWebUrl + * + * @param string $val The siteWebUrl + * + * @return UserSource + */ + public function setSiteWebUrl($val) + { + $this->_propDict["siteWebUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/VerificationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/VerificationResult.php new file mode 100644 index 0000000..b57ffa2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/VerificationResult.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["signatureValid"]; + } else { + return null; + } + } + + /** + * Sets the signatureValid + * + * @param bool $val The value of the signatureValid + * + * @return VerificationResult + */ + public function setSignatureValid($val) + { + $this->_propDict["signatureValid"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WatermarkLayout.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WatermarkLayout.php new file mode 100644 index 0000000..ab7235f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/SecurityNamespace/Model/WatermarkLayout.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of the group creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Group + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description that gives details on the term usage. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description that gives details on the term usage. + * + * @param string $val The description + * + * @return Group + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the group. + * + * @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 + * Name of the group. + * + * @param string $val The displayName + * + * @return Group + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the parentSiteId + * ID of the parent site of this group. + * + * @return string|null The parentSiteId + */ + public function getParentSiteId() + { + if (array_key_exists("parentSiteId", $this->_propDict)) { + return $this->_propDict["parentSiteId"]; + } else { + return null; + } + } + + /** + * Sets the parentSiteId + * ID of the parent site of this group. + * + * @param string $val The parentSiteId + * + * @return Group + */ + public function setParentSiteId($val) + { + $this->_propDict["parentSiteId"] = $val; + return $this; + } + + /** + * Gets the scope + * Returns the type of the group. Possible values are global, system, and siteCollection. + * + * @return TermGroupScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\TermStore\Model\TermGroupScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new TermGroupScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Returns the type of the group. Possible values are global, system, and siteCollection. + * + * @param TermGroupScope $val The scope + * + * @return Group + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + + /** + * Gets the sets + * All sets under the group in a term [store]. + * + * @return array|null The sets + */ + public function getSets() + { + if (array_key_exists("sets", $this->_propDict)) { + return $this->_propDict["sets"]; + } else { + return null; + } + } + + /** + * Sets the sets + * All sets under the group in a term [store]. + * + * @param Set[] $val The sets + * + * @return Group + */ + public function setSets($val) + { + $this->_propDict["sets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedDescription.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedDescription.php new file mode 100644 index 0000000..9142578 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedDescription.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description in the localized language. + * + * @param string $val The value of the description + * + * @return LocalizedDescription + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the languageTag + * The language tag for the label. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the label. + * + * @param string $val The value of the languageTag + * + * @return LocalizedDescription + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedLabel.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedLabel.php new file mode 100644 index 0000000..8d37f73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedLabel.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates whether the label is the default label. + * + * @param bool $val The value of the isDefault + * + * @return LocalizedLabel + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the languageTag + * The language tag for the label. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the label. + * + * @param string $val The value of the languageTag + * + * @return LocalizedLabel + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + /** + * Gets the name + * The name of the label. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the label. + * + * @param string $val The value of the name + * + * @return LocalizedLabel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedName.php new file mode 100644 index 0000000..7ac3486 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedName.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the label. + * + * @param string $val The value of the languageTag + * + * @return LocalizedName + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + /** + * Gets the name + * The name in the localized language. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name in the localized language. + * + * @param string $val The value of the name + * + * @return LocalizedName + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Relation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Relation.php new file mode 100644 index 0000000..726b4d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Relation.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["relationship"], "\Beta\Microsoft\Graph\TermStore\Model\RelationType") || is_null($this->_propDict["relationship"])) { + return $this->_propDict["relationship"]; + } else { + $this->_propDict["relationship"] = new RelationType($this->_propDict["relationship"]); + return $this->_propDict["relationship"]; + } + } + return null; + } + + /** + * Sets the relationship + * The type of relation. Possible values are: pin, reuse. + * + * @param RelationType $val The relationship + * + * @return Relation + */ + public function setRelationship($val) + { + $this->_propDict["relationship"] = $val; + return $this; + } + + /** + * Gets the fromTerm + * The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. + * + * @return Term|null The fromTerm + */ + public function getFromTerm() + { + if (array_key_exists("fromTerm", $this->_propDict)) { + if (is_a($this->_propDict["fromTerm"], "\Beta\Microsoft\Graph\TermStore\Model\Term") || is_null($this->_propDict["fromTerm"])) { + return $this->_propDict["fromTerm"]; + } else { + $this->_propDict["fromTerm"] = new Term($this->_propDict["fromTerm"]); + return $this->_propDict["fromTerm"]; + } + } + return null; + } + + /** + * Sets the fromTerm + * The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. + * + * @param Term $val The fromTerm + * + * @return Relation + */ + public function setFromTerm($val) + { + $this->_propDict["fromTerm"] = $val; + return $this; + } + + /** + * Gets the set + * The [set] in which the relation is relevant. + * + * @return Set|null The set + */ + public function getSet() + { + if (array_key_exists("set", $this->_propDict)) { + if (is_a($this->_propDict["set"], "\Beta\Microsoft\Graph\TermStore\Model\Set") || is_null($this->_propDict["set"])) { + return $this->_propDict["set"]; + } else { + $this->_propDict["set"] = new Set($this->_propDict["set"]); + return $this->_propDict["set"]; + } + } + return null; + } + + /** + * Sets the set + * The [set] in which the relation is relevant. + * + * @param Set $val The set + * + * @return Relation + */ + public function setSet($val) + { + $this->_propDict["set"] = $val; + return $this; + } + + /** + * Gets the toTerm + * The to [term] of the relation. The term to which the relationship is defined. + * + * @return Term|null The toTerm + */ + public function getToTerm() + { + if (array_key_exists("toTerm", $this->_propDict)) { + if (is_a($this->_propDict["toTerm"], "\Beta\Microsoft\Graph\TermStore\Model\Term") || is_null($this->_propDict["toTerm"])) { + return $this->_propDict["toTerm"]; + } else { + $this->_propDict["toTerm"] = new Term($this->_propDict["toTerm"]); + return $this->_propDict["toTerm"]; + } + } + return null; + } + + /** + * Sets the toTerm + * The to [term] of the relation. The term to which the relationship is defined. + * + * @param Term $val The toTerm + * + * @return Relation + */ + public function setToTerm($val) + { + $this->_propDict["toTerm"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/RelationType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/RelationType.php new file mode 100644 index 0000000..7d5c896 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/RelationType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of set creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Set + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description giving details on the term usage. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description giving details on the term usage. + * + * @param string $val The description + * + * @return Set + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + + /** + * Gets the localizedNames + * Name of the set for each languageTag. + * + * @return array|null The localizedNames + */ + public function getLocalizedNames() + { + if (array_key_exists("localizedNames", $this->_propDict)) { + return $this->_propDict["localizedNames"]; + } else { + return null; + } + } + + /** + * Sets the localizedNames + * Name of the set for each languageTag. + * + * @param LocalizedName[] $val The localizedNames + * + * @return Set + */ + public function setLocalizedNames($val) + { + $this->_propDict["localizedNames"] = $val; + return $this; + } + + + /** + * Gets the setProperties + * Custom properties for the set. + * + * @return array|null The setProperties + */ + public function getSetProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the setProperties + * Custom properties for the set. + * + * @param \Beta\Microsoft\Graph\Model\KeyValue[] $val The setProperties + * + * @return Set + */ + public function setSetProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + + + /** + * Gets the children + * Children terms of set in term [store]. + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * Children terms of set in term [store]. + * + * @param Term[] $val The children + * + * @return Set + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the parentGroup + * The parent [group] that contains the set. + * + * @return Group|null The parentGroup + */ + public function getParentGroup() + { + if (array_key_exists("parentGroup", $this->_propDict)) { + if (is_a($this->_propDict["parentGroup"], "\Beta\Microsoft\Graph\TermStore\Model\Group") || is_null($this->_propDict["parentGroup"])) { + return $this->_propDict["parentGroup"]; + } else { + $this->_propDict["parentGroup"] = new Group($this->_propDict["parentGroup"]); + return $this->_propDict["parentGroup"]; + } + } + return null; + } + + /** + * Sets the parentGroup + * The parent [group] that contains the set. + * + * @param Group $val The parentGroup + * + * @return Set + */ + public function setParentGroup($val) + { + $this->_propDict["parentGroup"] = $val; + return $this; + } + + + /** + * Gets the relations + * Indicates which terms have been pinned or reused directly under the set. + * + * @return array|null The relations + */ + public function getRelations() + { + if (array_key_exists("relations", $this->_propDict)) { + return $this->_propDict["relations"]; + } else { + return null; + } + } + + /** + * Sets the relations + * Indicates which terms have been pinned or reused directly under the set. + * + * @param Relation[] $val The relations + * + * @return Set + */ + public function setRelations($val) + { + $this->_propDict["relations"] = $val; + return $this; + } + + + /** + * Gets the terms + * All the terms under the set. + * + * @return array|null The terms + */ + public function getTerms() + { + if (array_key_exists("terms", $this->_propDict)) { + return $this->_propDict["terms"]; + } else { + return null; + } + } + + /** + * Sets the terms + * All the terms under the set. + * + * @param Term[] $val The terms + * + * @return Set + */ + public function setTerms($val) + { + $this->_propDict["terms"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Store.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Store.php new file mode 100644 index 0000000..5ef8b8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Store.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["defaultLanguageTag"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguageTag + * Default language of the term store. + * + * @param string $val The defaultLanguageTag + * + * @return Store + */ + public function setDefaultLanguageTag($val) + { + $this->_propDict["defaultLanguageTag"] = $val; + return $this; + } + + /** + * Gets the languageTags + * List of languages for the term store. + * + * @return string|null The languageTags + */ + public function getLanguageTags() + { + if (array_key_exists("languageTags", $this->_propDict)) { + return $this->_propDict["languageTags"]; + } else { + return null; + } + } + + /** + * Sets the languageTags + * List of languages for the term store. + * + * @param string $val The languageTags + * + * @return Store + */ + public function setLanguageTags($val) + { + $this->_propDict["languageTags"] = $val; + return $this; + } + + + /** + * Gets the groups + * Collection of all groups available in the term store. + * + * @return array|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * Collection of all groups available in the term store. + * + * @param Group[] $val The groups + * + * @return Store + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + + /** + * Gets the sets + * Collection of all sets available in the term store. + * + * @return array|null The sets + */ + public function getSets() + { + if (array_key_exists("sets", $this->_propDict)) { + return $this->_propDict["sets"]; + } else { + return null; + } + } + + /** + * Sets the sets + * Collection of all sets available in the term store. + * + * @param Set[] $val The sets + * + * @return Store + */ + public function setSets($val) + { + $this->_propDict["sets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Term.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Term.php new file mode 100644 index 0000000..cd5a96b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Term.php @@ -0,0 +1,276 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of term creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Term + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the descriptions + * Description about term that is dependent on the languageTag. + * + * @return array|null The descriptions + */ + public function getDescriptions() + { + if (array_key_exists("descriptions", $this->_propDict)) { + return $this->_propDict["descriptions"]; + } else { + return null; + } + } + + /** + * Sets the descriptions + * Description about term that is dependent on the languageTag. + * + * @param LocalizedDescription[] $val The descriptions + * + * @return Term + */ + public function setDescriptions($val) + { + $this->_propDict["descriptions"] = $val; + return $this; + } + + + /** + * Gets the labels + * Label metadata for a term. + * + * @return array|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + return $this->_propDict["labels"]; + } else { + return null; + } + } + + /** + * Sets the labels + * Label metadata for a term. + * + * @param LocalizedLabel[] $val The labels + * + * @return Term + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last date and time of term modification. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last date and time of term modification. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Term + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the termProperties + * Collection of properties on the term. + * + * @return array|null The termProperties + */ + public function getTermProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the termProperties + * Collection of properties on the term. + * + * @param \Beta\Microsoft\Graph\Model\KeyValue[] $val The termProperties + * + * @return Term + */ + public function setTermProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + + + /** + * Gets the children + * Children of current term. + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * Children of current term. + * + * @param Term[] $val The children + * + * @return Term + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + + /** + * Gets the relations + * To indicate which terms are related to the current term as either pinned or reused. + * + * @return array|null The relations + */ + public function getRelations() + { + if (array_key_exists("relations", $this->_propDict)) { + return $this->_propDict["relations"]; + } else { + return null; + } + } + + /** + * Sets the relations + * To indicate which terms are related to the current term as either pinned or reused. + * + * @param Relation[] $val The relations + * + * @return Term + */ + public function setRelations($val) + { + $this->_propDict["relations"] = $val; + return $this; + } + + /** + * Gets the set + * The [set] in which the term is created. + * + * @return Set|null The set + */ + public function getSet() + { + if (array_key_exists("set", $this->_propDict)) { + if (is_a($this->_propDict["set"], "\Beta\Microsoft\Graph\TermStore\Model\Set") || is_null($this->_propDict["set"])) { + return $this->_propDict["set"]; + } else { + $this->_propDict["set"] = new Set($this->_propDict["set"]); + return $this->_propDict["set"]; + } + } + return null; + } + + /** + * Sets the set + * The [set] in which the term is created. + * + * @param Set $val The set + * + * @return Term + */ + public function setSet($val) + { + $this->_propDict["set"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/TermGroupScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/TermGroupScope.php new file mode 100644 index 0000000..763ed78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/TermGroupScope.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["enrollments"]; + } else { + return null; + } + } + + /** + * Sets the enrollments + * Specifies areas of the service in which the device is enrolled. Read-only. Returned by default. + * + * @param UpdatableAssetEnrollment[] $val The enrollments + * + * @return AzureADDevice + */ + public function setEnrollments($val) + { + $this->_propDict["enrollments"] = $val; + return $this; + } + + + /** + * Gets the errors + * Specifies any errors that prevent the device from being enrolled in update management or receving deployed content. Read-only. Returned by default. + * + * @return array|null The errors + */ + public function getErrors() + { + if (array_key_exists("errors", $this->_propDict)) { + return $this->_propDict["errors"]; + } else { + return null; + } + } + + /** + * Sets the errors + * Specifies any errors that prevent the device from being enrolled in update management or receving deployed content. Read-only. Returned by default. + * + * @param UpdatableAssetError[] $val The errors + * + * @return AzureADDevice + */ + public function setErrors($val) + { + $this->_propDict["errors"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/AzureADDeviceRegistrationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/AzureADDeviceRegistrationError.php new file mode 100644 index 0000000..7614c7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/AzureADDeviceRegistrationError.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.windowsUpdates.azureADDeviceRegistrationError"); + } + + + /** + * Gets the reason + * The reason why the registration encountered an error. Possible values are: invalidGlobalDeviceId, invalidAzureADDeviceId, missingTrustType, invalidAzureADJoin, unknownFutureValue. + * + * @return AzureADDeviceRegistrationErrorReason|null The reason + */ + public function getReason() + { + if (array_key_exists("reason", $this->_propDict)) { + if (is_a($this->_propDict["reason"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\AzureADDeviceRegistrationErrorReason") || is_null($this->_propDict["reason"])) { + return $this->_propDict["reason"]; + } else { + $this->_propDict["reason"] = new AzureADDeviceRegistrationErrorReason($this->_propDict["reason"]); + return $this->_propDict["reason"]; + } + } + return null; + } + + /** + * Sets the reason + * The reason why the registration encountered an error. Possible values are: invalidGlobalDeviceId, invalidAzureADDeviceId, missingTrustType, invalidAzureADJoin, unknownFutureValue. + * + * @param AzureADDeviceRegistrationErrorReason $val The value to assign to the reason + * + * @return AzureADDeviceRegistrationError The AzureADDeviceRegistrationError + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/AzureADDeviceRegistrationErrorReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/AzureADDeviceRegistrationErrorReason.php new file mode 100644 index 0000000..5b8fe47 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/AzureADDeviceRegistrationErrorReason.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["entries"]; + } else { + return null; + } + } + + /** + * Sets the entries + * Lists the content that you can approve for deployment. Read-only. + * + * @param CatalogEntry[] $val The entries + * + * @return Catalog + */ + public function setEntries($val) + { + $this->_propDict["entries"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CatalogEntry.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CatalogEntry.php new file mode 100644 index 0000000..379ba9a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/CatalogEntry.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["deployableUntilDateTime"], "\DateTime") || is_null($this->_propDict["deployableUntilDateTime"])) { + return $this->_propDict["deployableUntilDateTime"]; + } else { + $this->_propDict["deployableUntilDateTime"] = new \DateTime($this->_propDict["deployableUntilDateTime"]); + return $this->_propDict["deployableUntilDateTime"]; + } + } + return null; + } + + /** + * Sets the deployableUntilDateTime + * The date on which the content is no longer available to deploy using the service. Read-only. + * + * @param \DateTime $val The deployableUntilDateTime + * + * @return CatalogEntry + */ + public function setDeployableUntilDateTime($val) + { + $this->_propDict["deployableUntilDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the content. Read-only. + * + * @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 + * The display name of the content. Read-only. + * + * @param string $val The displayName + * + * @return CatalogEntry + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * The release date for the content. Read-only. + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * The release date for the content. Read-only. + * + * @param \DateTime $val The releaseDateTime + * + * @return CatalogEntry + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeployableContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeployableContent.php new file mode 100644 index 0000000..f2b4abf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeployableContent.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeployableContent") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = new DeployableContent($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * Specifies what content to deploy. Cannot be changed. Returned by default. + * + * @param DeployableContent $val The content + * + * @return Deployment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the deployment was created. Returned by default. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the deployment was created. Returned by default. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Deployment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the deployment was last modified. Returned by default. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the deployment was last modified. Returned by default. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Deployment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the settings + * Settings specified on the specific deployment governing how to deploy content. Returned by default. + * + * @return DeploymentSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new DeploymentSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Settings specified on the specific deployment governing how to deploy content. Returned by default. + * + * @param DeploymentSettings $val The settings + * + * @return Deployment + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the state + * Execution status of the deployment. Returned by default. + * + * @return DeploymentState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new DeploymentState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Execution status of the deployment. Returned by default. + * + * @param DeploymentState $val The state + * + * @return Deployment + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the audience + * Specifies the audience to which content is deployed. + * + * @return DeploymentAudience|null The audience + */ + public function getAudience() + { + if (array_key_exists("audience", $this->_propDict)) { + if (is_a($this->_propDict["audience"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentAudience") || is_null($this->_propDict["audience"])) { + return $this->_propDict["audience"]; + } else { + $this->_propDict["audience"] = new DeploymentAudience($this->_propDict["audience"]); + return $this->_propDict["audience"]; + } + } + return null; + } + + /** + * Sets the audience + * Specifies the audience to which content is deployed. + * + * @param DeploymentAudience $val The audience + * + * @return Deployment + */ + public function setAudience($val) + { + $this->_propDict["audience"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentAudience.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentAudience.php new file mode 100644 index 0000000..133c313 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentAudience.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["exclusions"]; + } else { + return null; + } + } + + /** + * Sets the exclusions + * Specifies the assets to exclude from the audience. + * + * @param UpdatableAsset[] $val The exclusions + * + * @return DeploymentAudience + */ + public function setExclusions($val) + { + $this->_propDict["exclusions"] = $val; + return $this; + } + + + /** + * Gets the members + * Specifies the assets to include in the audience. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Specifies the assets to include in the audience. + * + * @param UpdatableAsset[] $val The members + * + * @return DeploymentAudience + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentSettings.php new file mode 100644 index 0000000..8227e35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentSettings.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["monitoring"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\MonitoringSettings") || is_null($this->_propDict["monitoring"])) { + return $this->_propDict["monitoring"]; + } else { + $this->_propDict["monitoring"] = new MonitoringSettings($this->_propDict["monitoring"]); + return $this->_propDict["monitoring"]; + } + } + return null; + } + + /** + * Sets the monitoring + * Settings governing conditions to monitor and automated actions to take. + * + * @param MonitoringSettings $val The value to assign to the monitoring + * + * @return DeploymentSettings The DeploymentSettings + */ + public function setMonitoring($val) + { + $this->_propDict["monitoring"] = $val; + return $this; + } + + /** + * Gets the rollout + * Settings governing how the content is rolled out. + * + * @return RolloutSettings|null The rollout + */ + public function getRollout() + { + if (array_key_exists("rollout", $this->_propDict)) { + if (is_a($this->_propDict["rollout"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\RolloutSettings") || is_null($this->_propDict["rollout"])) { + return $this->_propDict["rollout"]; + } else { + $this->_propDict["rollout"] = new RolloutSettings($this->_propDict["rollout"]); + return $this->_propDict["rollout"]; + } + } + return null; + } + + /** + * Sets the rollout + * Settings governing how the content is rolled out. + * + * @param RolloutSettings $val The value to assign to the rollout + * + * @return DeploymentSettings The DeploymentSettings + */ + public function setRollout($val) + { + $this->_propDict["rollout"] = $val; + return $this; + } + + /** + * Gets the safeguard + * Settings governing safeguard holds on offering content. + * + * @return SafeguardSettings|null The safeguard + */ + public function getSafeguard() + { + if (array_key_exists("safeguard", $this->_propDict)) { + if (is_a($this->_propDict["safeguard"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\SafeguardSettings") || is_null($this->_propDict["safeguard"])) { + return $this->_propDict["safeguard"]; + } else { + $this->_propDict["safeguard"] = new SafeguardSettings($this->_propDict["safeguard"]); + return $this->_propDict["safeguard"]; + } + } + return null; + } + + /** + * Sets the safeguard + * Settings governing safeguard holds on offering content. + * + * @param SafeguardSettings $val The value to assign to the safeguard + * + * @return DeploymentSettings The DeploymentSettings + */ + public function setSafeguard($val) + { + $this->_propDict["safeguard"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php new file mode 100644 index 0000000..2097a7f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["reasons"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateReason") || is_null($this->_propDict["reasons"])) { + return $this->_propDict["reasons"]; + } else { + $this->_propDict["reasons"] = new DeploymentStateReason($this->_propDict["reasons"]); + return $this->_propDict["reasons"]; + } + } + return null; + } + + /** + * Sets the reasons + * Specifies the reasons the deployment has its state value. Read-only. + * + * @param DeploymentStateReason $val The value to assign to the reasons + * + * @return DeploymentState The DeploymentState + */ + public function setReasons($val) + { + $this->_propDict["reasons"] = $val; + return $this; + } + + /** + * Gets the requestedValue + * Specifies the requested state of the deployment. Supports a subset of the values for requestedDeploymentStateValue. Possible values are: none, paused, unknownFutureValue. + * + * @return RequestedDeploymentStateValue|null The requestedValue + */ + public function getRequestedValue() + { + if (array_key_exists("requestedValue", $this->_propDict)) { + if (is_a($this->_propDict["requestedValue"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\RequestedDeploymentStateValue") || is_null($this->_propDict["requestedValue"])) { + return $this->_propDict["requestedValue"]; + } else { + $this->_propDict["requestedValue"] = new RequestedDeploymentStateValue($this->_propDict["requestedValue"]); + return $this->_propDict["requestedValue"]; + } + } + return null; + } + + /** + * Sets the requestedValue + * Specifies the requested state of the deployment. Supports a subset of the values for requestedDeploymentStateValue. Possible values are: none, paused, unknownFutureValue. + * + * @param RequestedDeploymentStateValue $val The value to assign to the requestedValue + * + * @return DeploymentState The DeploymentState + */ + public function setRequestedValue($val) + { + $this->_propDict["requestedValue"] = $val; + return $this; + } + + /** + * Gets the value + * Specifies the state of the deployment. Supports a subset of the values for deploymentStateValue. Possible values are: scheduled, offering, paused, unknownFutureValue. Read-only. + * + * @return DeploymentStateValue|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateValue") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new DeploymentStateValue($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * Specifies the state of the deployment. Supports a subset of the values for deploymentStateValue. Possible values are: scheduled, offering, paused, unknownFutureValue. Read-only. + * + * @param DeploymentStateValue $val The value to assign to the value + * + * @return DeploymentState The DeploymentState + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentStateReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentStateReason.php new file mode 100644 index 0000000..d1ba823 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentStateReason.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateReasonValue") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new DeploymentStateReasonValue($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * Specifies a reason for the deployment state. Possible values are: scheduledByOfferWindow, offeringByRequest, pausedByRequest, pausedByMonitoring. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: faultedByContentOutdated. Read-only. + * + * @param DeploymentStateReasonValue $val The value to assign to the value + * + * @return DeploymentStateReason The DeploymentStateReason + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentStateReasonValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentStateReasonValue.php new file mode 100644 index 0000000..27a763c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentStateReasonValue.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["equivalentContent"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\EquivalentContentOption") || is_null($this->_propDict["equivalentContent"])) { + return $this->_propDict["equivalentContent"]; + } else { + $this->_propDict["equivalentContent"] = new EquivalentContentOption($this->_propDict["equivalentContent"]); + return $this->_propDict["equivalentContent"]; + } + } + return null; + } + + /** + * Sets the equivalentContent + * Specifies other content to consider as equivalent. Supports a subset of the values for equivalentContentOption. Default value is latestSecurity. Possible values are: latestSecurity, unknownFutureValue. + * + * @param EquivalentContentOption $val The value to assign to the equivalentContent + * + * @return ExpeditedQualityUpdateReference The ExpeditedQualityUpdateReference + */ + public function setEquivalentContent($val) + { + $this->_propDict["equivalentContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/FeatureUpdateCatalogEntry.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/FeatureUpdateCatalogEntry.php new file mode 100644 index 0000000..f720007 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/FeatureUpdateCatalogEntry.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the feature update. Read-only. + * + * @param string $val The version + * + * @return FeatureUpdateCatalogEntry + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/FeatureUpdateReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/FeatureUpdateReference.php new file mode 100644 index 0000000..10a4258 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/FeatureUpdateReference.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Specifies a feature update by version. + * + * @param string $val The value of the version + * + * @return FeatureUpdateReference + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringAction.php new file mode 100644 index 0000000..a8a0f55 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringAction.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\MonitoringAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new MonitoringAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action triggered when the threshold for the given signal is met. Possible values are: alertError, pauseDeployment, unknownFutureValue. + * + * @param MonitoringAction $val The value to assign to the action + * + * @return MonitoringRule The MonitoringRule + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the signal + * The signal to monitor. Possible values are: rollback, unknownFutureValue. + * + * @return MonitoringSignal|null The signal + */ + public function getSignal() + { + if (array_key_exists("signal", $this->_propDict)) { + if (is_a($this->_propDict["signal"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\MonitoringSignal") || is_null($this->_propDict["signal"])) { + return $this->_propDict["signal"]; + } else { + $this->_propDict["signal"] = new MonitoringSignal($this->_propDict["signal"]); + return $this->_propDict["signal"]; + } + } + return null; + } + + /** + * Sets the signal + * The signal to monitor. Possible values are: rollback, unknownFutureValue. + * + * @param MonitoringSignal $val The value to assign to the signal + * + * @return MonitoringRule The MonitoringRule + */ + public function setSignal($val) + { + $this->_propDict["signal"] = $val; + return $this; + } + /** + * Gets the threshold + * The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). + * + * @return int|null The threshold + */ + public function getThreshold() + { + if (array_key_exists("threshold", $this->_propDict)) { + return $this->_propDict["threshold"]; + } else { + return null; + } + } + + /** + * Sets the threshold + * The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). + * + * @param int $val The value of the threshold + * + * @return MonitoringRule + */ + public function setThreshold($val) + { + $this->_propDict["threshold"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringSettings.php new file mode 100644 index 0000000..ea14adc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringSettings.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["monitoringRules"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\MonitoringRule") || is_null($this->_propDict["monitoringRules"])) { + return $this->_propDict["monitoringRules"]; + } else { + $this->_propDict["monitoringRules"] = new MonitoringRule($this->_propDict["monitoringRules"]); + return $this->_propDict["monitoringRules"]; + } + } + return null; + } + + /** + * Sets the monitoringRules + * Specifies the rules through which monitoring signals can trigger actions on the deployment. Rules are combined using 'or'. + * + * @param MonitoringRule $val The value to assign to the monitoringRules + * + * @return MonitoringSettings The MonitoringSettings + */ + public function setMonitoringRules($val) + { + $this->_propDict["monitoringRules"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringSignal.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringSignal.php new file mode 100644 index 0000000..fbc9e3e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/MonitoringSignal.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["isExpeditable"]; + } else { + return null; + } + } + + /** + * Sets the isExpeditable + * Indicates whether the content can be deployed as an expedited quality update. Read-only. + * + * @param bool $val The isExpeditable + * + * @return QualityUpdateCatalogEntry + */ + public function setIsExpeditable($val) + { + $this->_propDict["isExpeditable"] = boolval($val); + return $this; + } + + /** + * Gets the qualityUpdateClassification + * The classification on the quality update. Possible values are: all, security, nonSecurity, unknownFutureValue. Read-only. + * + * @return QualityUpdateClassification|null The qualityUpdateClassification + */ + public function getQualityUpdateClassification() + { + if (array_key_exists("qualityUpdateClassification", $this->_propDict)) { + if (is_a($this->_propDict["qualityUpdateClassification"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\QualityUpdateClassification") || is_null($this->_propDict["qualityUpdateClassification"])) { + return $this->_propDict["qualityUpdateClassification"]; + } else { + $this->_propDict["qualityUpdateClassification"] = new QualityUpdateClassification($this->_propDict["qualityUpdateClassification"]); + return $this->_propDict["qualityUpdateClassification"]; + } + } + return null; + } + + /** + * Sets the qualityUpdateClassification + * The classification on the quality update. Possible values are: all, security, nonSecurity, unknownFutureValue. Read-only. + * + * @param QualityUpdateClassification $val The qualityUpdateClassification + * + * @return QualityUpdateCatalogEntry + */ + public function setQualityUpdateClassification($val) + { + $this->_propDict["qualityUpdateClassification"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateClassification.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateClassification.php new file mode 100644 index 0000000..71bed3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/QualityUpdateClassification.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\QualityUpdateClassification") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new QualityUpdateClassification($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * Specifies the classification of the referenced content. Supports a subset of the values for qualityUpdateClassification. Possible values are: security, unknownFutureValue. + * + * @param QualityUpdateClassification $val The value to assign to the classification + * + * @return QualityUpdateReference The QualityUpdateReference + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * Specifies a quality update in the given servicingChannel with the given classification by date (i.e. the last update published on the specified date). Default value is security. + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * Specifies a quality update in the given servicingChannel with the given classification by date (i.e. the last update published on the specified date). Default value is security. + * + * @param \DateTime $val The value to assign to the releaseDateTime + * + * @return QualityUpdateReference The QualityUpdateReference + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/RequestedDeploymentStateValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/RequestedDeploymentStateValue.php new file mode 100644 index 0000000..05fba99 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/RequestedDeploymentStateValue.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["devicesPerOffer"]; + } else { + return null; + } + } + + /** + * Sets the devicesPerOffer + * Specifies the number of devices that are offered at the same time. Has no effect when endDateTime is set. When endDateTime and devicesPerOffer are both not set, all devices in the deployment are offered content at the same time. + * + * @param int $val The value of the devicesPerOffer + * + * @return RolloutSettings + */ + public function setDevicesPerOffer($val) + { + $this->_propDict["devicesPerOffer"] = $val; + return $this; + } + /** + * Gets the durationBetweenOffers + * Specifies duration between each set of devices being offered the update. Has an effect when endDateTime or devicesPerOffer are defined. Default value is P1D (1 day). + * + * @return string|null The durationBetweenOffers + */ + public function getDurationBetweenOffers() + { + if (array_key_exists("durationBetweenOffers", $this->_propDict)) { + return $this->_propDict["durationBetweenOffers"]; + } else { + return null; + } + } + + /** + * Sets the durationBetweenOffers + * Specifies duration between each set of devices being offered the update. Has an effect when endDateTime or devicesPerOffer are defined. Default value is P1D (1 day). + * + * @param string $val The value of the durationBetweenOffers + * + * @return RolloutSettings + */ + public function setDurationBetweenOffers($val) + { + $this->_propDict["durationBetweenOffers"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When endDateTime and devicesPerOffer are both not set, all devices in the deployment are offered content at the same time. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When endDateTime and devicesPerOffer are both not set, all devices in the deployment are offered content at the same time. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return RolloutSettings The RolloutSettings + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Date on which devices in the deployment start receiving the update. When not set, the deployment starts as soon as devices are assigned. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return RolloutSettings The RolloutSettings + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SafeguardCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SafeguardCategory.php new file mode 100644 index 0000000..4dfe8d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SafeguardCategory.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\SafeguardCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new SafeguardCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * Specifies the category of safeguards. The possible values are: likelyIssues, unknownFutureValue. + * + * @param SafeguardCategory $val The value to assign to the category + * + * @return SafeguardProfile The SafeguardProfile + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SafeguardSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SafeguardSettings.php new file mode 100644 index 0000000..3d1d486 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SafeguardSettings.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["disabledSafeguardProfiles"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\SafeguardProfile") || is_null($this->_propDict["disabledSafeguardProfiles"])) { + return $this->_propDict["disabledSafeguardProfiles"]; + } else { + $this->_propDict["disabledSafeguardProfiles"] = new SafeguardProfile($this->_propDict["disabledSafeguardProfiles"]); + return $this->_propDict["disabledSafeguardProfiles"]; + } + } + return null; + } + + /** + * Sets the disabledSafeguardProfiles + * List of safeguards to ignore per device. + * + * @param SafeguardProfile $val The value to assign to the disabledSafeguardProfiles + * + * @return SafeguardSettings The SafeguardSettings + */ + public function setDisabledSafeguardProfiles($val) + { + $this->_propDict["disabledSafeguardProfiles"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SoftwareUpdateCatalogEntry.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SoftwareUpdateCatalogEntry.php new file mode 100644 index 0000000..a215813 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/SoftwareUpdateCatalogEntry.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Members of the group. Read-only. + * + * @param UpdatableAsset[] $val The members + * + * @return UpdatableAssetGroup + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/UpdateCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/UpdateCategory.php new file mode 100644 index 0000000..d0d9cdc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/UpdateCategory.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.windowsUpdates.updateManagementEnrollment"); + } + + + /** + * Gets the updateCategory + * The category of updates that the service manages. Supports a subset of the values for updateCategory. Possible values are: feature, unknownFutureValue. + * + * @return UpdateCategory|null The updateCategory + */ + public function getUpdateCategory() + { + if (array_key_exists("updateCategory", $this->_propDict)) { + if (is_a($this->_propDict["updateCategory"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\UpdateCategory") || is_null($this->_propDict["updateCategory"])) { + return $this->_propDict["updateCategory"]; + } else { + $this->_propDict["updateCategory"] = new UpdateCategory($this->_propDict["updateCategory"]); + return $this->_propDict["updateCategory"]; + } + } + return null; + } + + /** + * Sets the updateCategory + * The category of updates that the service manages. Supports a subset of the values for updateCategory. Possible values are: feature, unknownFutureValue. + * + * @param UpdateCategory $val The value to assign to the updateCategory + * + * @return UpdateManagementEnrollment The UpdateManagementEnrollment + */ + public function setUpdateCategory($val) + { + $this->_propDict["updateCategory"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/Updates.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/Updates.php new file mode 100644 index 0000000..a660c3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/Updates.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["catalog"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\Catalog") || is_null($this->_propDict["catalog"])) { + return $this->_propDict["catalog"]; + } else { + $this->_propDict["catalog"] = new Catalog($this->_propDict["catalog"]); + return $this->_propDict["catalog"]; + } + } + return null; + } + + /** + * Sets the catalog + * Catalog of content that can be approved for deployment by the deployment service. Read-only. + * + * @param Catalog $val The catalog + * + * @return Updates + */ + public function setCatalog($val) + { + $this->_propDict["catalog"] = $val; + return $this; + } + + + /** + * Gets the deployments + * Deployments created using the deployment service. Read-only. + * + * @return array|null The deployments + */ + public function getDeployments() + { + if (array_key_exists("deployments", $this->_propDict)) { + return $this->_propDict["deployments"]; + } else { + return null; + } + } + + /** + * Sets the deployments + * Deployments created using the deployment service. Read-only. + * + * @param Deployment[] $val The deployments + * + * @return Updates + */ + public function setDeployments($val) + { + $this->_propDict["deployments"] = $val; + return $this; + } + + + /** + * Gets the updatableAssets + * Assets registered with the deployment service that can receive updates. Read-only. + * + * @return array|null The updatableAssets + */ + public function getUpdatableAssets() + { + if (array_key_exists("updatableAssets", $this->_propDict)) { + return $this->_propDict["updatableAssets"]; + } else { + return null; + } + } + + /** + * Sets the updatableAssets + * Assets registered with the deployment service that can receive updates. Read-only. + * + * @param UpdatableAsset[] $val The updatableAssets + * + * @return Updates + */ + public function setUpdatableAssets($val) + { + $this->_propDict["updatableAssets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/UserExperienceSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/UserExperienceSettings.php new file mode 100644 index 0000000..77820c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/UserExperienceSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["daysUntilForcedReboot"]; + } else { + return null; + } + } + + /** + * Sets the daysUntilForcedReboot + * Specifies the number of days after an update is installed, during which the user of the device can control when the device restarts. + * + * @param int $val The value of the daysUntilForcedReboot + * + * @return UserExperienceSettings + */ + public function setDaysUntilForcedReboot($val) + { + $this->_propDict["daysUntilForcedReboot"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/Windows.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/Windows.php new file mode 100644 index 0000000..456ecee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/Windows.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["updates"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\Updates") || is_null($this->_propDict["updates"])) { + return $this->_propDict["updates"]; + } else { + $this->_propDict["updates"] = new Updates($this->_propDict["updates"]); + return $this->_propDict["updates"]; + } + } + return null; + } + + /** + * Sets the updates + * Entity that acts as a container for the functionality of the Windows Update for Business deployment service. Read-only. + * + * @param Updates $val The updates + * + * @return Windows + */ + public function setUpdates($val) + { + $this->_propDict["updates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/WindowsDeploymentSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/WindowsDeploymentSettings.php new file mode 100644 index 0000000..31c0eff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/WindowsDeploymentSettings.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["userExperience"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\UserExperienceSettings") || is_null($this->_propDict["userExperience"])) { + return $this->_propDict["userExperience"]; + } else { + $this->_propDict["userExperience"] = new UserExperienceSettings($this->_propDict["userExperience"]); + return $this->_propDict["userExperience"]; + } + } + return null; + } + + /** + * Sets the userExperience + * Settings governing the user's update experience on a device. + * + * @param UserExperienceSettings $val The value to assign to the userExperience + * + * @return WindowsDeploymentSettings The WindowsDeploymentSettings + */ + public function setUserExperience($val) + { + $this->_propDict["userExperience"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/WindowsUpdateReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/WindowsUpdateReference.php new file mode 100644 index 0000000..1378fcc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/WindowsUpdateReference.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the last user left the call. The DateTimeOffset 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 endDateTime + * + * @return CallRecord + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the joinWebUrl + * Meeting URL associated to the call. May not be available for a peerToPeer call record type. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * Meeting URL associated to the call. May not be available for a peerToPeer call record type. + * + * @param string $val The joinWebUrl + * + * @return CallRecord + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * UTC time when the call record was created. The DatetimeOffset 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * UTC time when the call record was created. The DatetimeOffset 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 lastModifiedDateTime + * + * @return CallRecord + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the modalities + * List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @return array|null The modalities + */ + public function getModalities() + { + if (array_key_exists("modalities", $this->_propDict)) { + return $this->_propDict["modalities"]; + } else { + return null; + } + } + + /** + * Sets the modalities + * List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @param Modality[] $val The modalities + * + * @return CallRecord + */ + public function setModalities($val) + { + $this->_propDict["modalities"] = $val; + return $this; + } + + /** + * Gets the organizer + * The organizing party's identity. + * + * @return \Microsoft\Graph\Model\IdentitySet|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new \Microsoft\Graph\Model\IdentitySet($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * The organizing party's identity. + * + * @param \Microsoft\Graph\Model\IdentitySet $val The organizer + * + * @return CallRecord + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } + + + /** + * Gets the participants + * List of distinct identities involved in the call. + * + * @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 + * List of distinct identities involved in the call. + * + * @param \Microsoft\Graph\Model\IdentitySet[] $val The participants + * + * @return CallRecord + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC time when the first user joined the call. The DatetimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC time when the first user joined the call. The DatetimeOffset 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 startDateTime + * + * @return CallRecord + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue. + * + * @return CallType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\CallRecords\Model\CallType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CallType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue. + * + * @param CallType $val The type + * + * @return CallRecord + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the version + * Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. + * + * @param int $val The version + * + * @return CallRecord + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the sessions + * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. + * + * @return array|null The sessions + */ + public function getSessions() + { + if (array_key_exists("sessions", $this->_propDict)) { + return $this->_propDict["sessions"]; + } else { + return null; + } + } + + /** + * Sets the sessions + * List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. + * + * @param Session[] $val The sessions + * + * @return CallRecord + */ + public function setSessions($val) + { + $this->_propDict["sessions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/CallType.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/CallType.php new file mode 100644 index 0000000..3981989 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/CallType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["platform"], "\Microsoft\Graph\CallRecords\Model\ClientPlatform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new ClientPlatform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue. + * + * @param ClientPlatform $val The value to assign to the platform + * + * @return ClientUserAgent The ClientUserAgent + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the productFamily + * Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue, azureCommunicationServices. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: azureCommunicationServices. + * + * @return ProductFamily|null The productFamily + */ + public function getProductFamily() + { + if (array_key_exists("productFamily", $this->_propDict)) { + if (is_a($this->_propDict["productFamily"], "\Microsoft\Graph\CallRecords\Model\ProductFamily") || is_null($this->_propDict["productFamily"])) { + return $this->_propDict["productFamily"]; + } else { + $this->_propDict["productFamily"] = new ProductFamily($this->_propDict["productFamily"]); + return $this->_propDict["productFamily"]; + } + } + return null; + } + + /** + * Sets the productFamily + * Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue, azureCommunicationServices. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: azureCommunicationServices. + * + * @param ProductFamily $val The value to assign to the productFamily + * + * @return ClientUserAgent The ClientUserAgent + */ + public function setProductFamily($val) + { + $this->_propDict["productFamily"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DeviceInfo.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DeviceInfo.php new file mode 100644 index 0000000..1c03ad3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DeviceInfo.php @@ -0,0 +1,614 @@ +_propDict)) { + return $this->_propDict["captureDeviceDriver"]; + } else { + return null; + } + } + + /** + * Sets the captureDeviceDriver + * Name of the capture device driver used by the media endpoint. + * + * @param string $val The value of the captureDeviceDriver + * + * @return DeviceInfo + */ + public function setCaptureDeviceDriver($val) + { + $this->_propDict["captureDeviceDriver"] = $val; + return $this; + } + /** + * Gets the captureDeviceName + * Name of the capture device used by the media endpoint. + * + * @return string|null The captureDeviceName + */ + public function getCaptureDeviceName() + { + if (array_key_exists("captureDeviceName", $this->_propDict)) { + return $this->_propDict["captureDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the captureDeviceName + * Name of the capture device used by the media endpoint. + * + * @param string $val The value of the captureDeviceName + * + * @return DeviceInfo + */ + public function setCaptureDeviceName($val) + { + $this->_propDict["captureDeviceName"] = $val; + return $this; + } + /** + * Gets the captureNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the capture device was not working properly. + * + * @return float|null The captureNotFunctioningEventRatio + */ + public function getCaptureNotFunctioningEventRatio() + { + if (array_key_exists("captureNotFunctioningEventRatio", $this->_propDict)) { + return $this->_propDict["captureNotFunctioningEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the captureNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the capture device was not working properly. + * + * @param float $val The value of the captureNotFunctioningEventRatio + * + * @return DeviceInfo + */ + public function setCaptureNotFunctioningEventRatio($val) + { + $this->_propDict["captureNotFunctioningEventRatio"] = $val; + return $this; + } + /** + * Gets the cpuInsufficentEventRatio + * Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. + * + * @return float|null The cpuInsufficentEventRatio + */ + public function getCpuInsufficentEventRatio() + { + if (array_key_exists("cpuInsufficentEventRatio", $this->_propDict)) { + return $this->_propDict["cpuInsufficentEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the cpuInsufficentEventRatio + * Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received. + * + * @param float $val The value of the cpuInsufficentEventRatio + * + * @return DeviceInfo + */ + public function setCpuInsufficentEventRatio($val) + { + $this->_propDict["cpuInsufficentEventRatio"] = $val; + return $this; + } + /** + * Gets the deviceClippingEventRatio + * Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. + * + * @return float|null The deviceClippingEventRatio + */ + public function getDeviceClippingEventRatio() + { + if (array_key_exists("deviceClippingEventRatio", $this->_propDict)) { + return $this->_propDict["deviceClippingEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the deviceClippingEventRatio + * Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent. + * + * @param float $val The value of the deviceClippingEventRatio + * + * @return DeviceInfo + */ + public function setDeviceClippingEventRatio($val) + { + $this->_propDict["deviceClippingEventRatio"] = $val; + return $this; + } + /** + * Gets the deviceGlitchEventRatio + * Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. + * + * @return float|null The deviceGlitchEventRatio + */ + public function getDeviceGlitchEventRatio() + { + if (array_key_exists("deviceGlitchEventRatio", $this->_propDict)) { + return $this->_propDict["deviceGlitchEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the deviceGlitchEventRatio + * Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received. + * + * @param float $val The value of the deviceGlitchEventRatio + * + * @return DeviceInfo + */ + public function setDeviceGlitchEventRatio($val) + { + $this->_propDict["deviceGlitchEventRatio"] = $val; + return $this; + } + /** + * Gets the howlingEventCount + * Number of times during the call that the media endpoint detected howling or screeching audio. + * + * @return int|null The howlingEventCount + */ + public function getHowlingEventCount() + { + if (array_key_exists("howlingEventCount", $this->_propDict)) { + return $this->_propDict["howlingEventCount"]; + } else { + return null; + } + } + + /** + * Sets the howlingEventCount + * Number of times during the call that the media endpoint detected howling or screeching audio. + * + * @param int $val The value of the howlingEventCount + * + * @return DeviceInfo + */ + public function setHowlingEventCount($val) + { + $this->_propDict["howlingEventCount"] = $val; + return $this; + } + /** + * Gets the initialSignalLevelRootMeanSquare + * The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. + * + * @return float|null The initialSignalLevelRootMeanSquare + */ + public function getInitialSignalLevelRootMeanSquare() + { + if (array_key_exists("initialSignalLevelRootMeanSquare", $this->_propDict)) { + return $this->_propDict["initialSignalLevelRootMeanSquare"]; + } else { + return null; + } + } + + /** + * Sets the initialSignalLevelRootMeanSquare + * The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call. + * + * @param float $val The value of the initialSignalLevelRootMeanSquare + * + * @return DeviceInfo + */ + public function setInitialSignalLevelRootMeanSquare($val) + { + $this->_propDict["initialSignalLevelRootMeanSquare"] = $val; + return $this; + } + /** + * Gets the lowSpeechLevelEventRatio + * Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. + * + * @return float|null The lowSpeechLevelEventRatio + */ + public function getLowSpeechLevelEventRatio() + { + if (array_key_exists("lowSpeechLevelEventRatio", $this->_propDict)) { + return $this->_propDict["lowSpeechLevelEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowSpeechLevelEventRatio + * Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent. + * + * @param float $val The value of the lowSpeechLevelEventRatio + * + * @return DeviceInfo + */ + public function setLowSpeechLevelEventRatio($val) + { + $this->_propDict["lowSpeechLevelEventRatio"] = $val; + return $this; + } + /** + * Gets the lowSpeechToNoiseEventRatio + * Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. + * + * @return float|null The lowSpeechToNoiseEventRatio + */ + public function getLowSpeechToNoiseEventRatio() + { + if (array_key_exists("lowSpeechToNoiseEventRatio", $this->_propDict)) { + return $this->_propDict["lowSpeechToNoiseEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowSpeechToNoiseEventRatio + * Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent. + * + * @param float $val The value of the lowSpeechToNoiseEventRatio + * + * @return DeviceInfo + */ + public function setLowSpeechToNoiseEventRatio($val) + { + $this->_propDict["lowSpeechToNoiseEventRatio"] = $val; + return $this; + } + /** + * Gets the micGlitchRate + * Glitches per 5 minute interval for the media endpoint's microphone. + * + * @return float|null The micGlitchRate + */ + public function getMicGlitchRate() + { + if (array_key_exists("micGlitchRate", $this->_propDict)) { + return $this->_propDict["micGlitchRate"]; + } else { + return null; + } + } + + /** + * Sets the micGlitchRate + * Glitches per 5 minute interval for the media endpoint's microphone. + * + * @param float $val The value of the micGlitchRate + * + * @return DeviceInfo + */ + public function setMicGlitchRate($val) + { + $this->_propDict["micGlitchRate"] = $val; + return $this; + } + /** + * Gets the receivedNoiseLevel + * Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @return int|null The receivedNoiseLevel + */ + public function getReceivedNoiseLevel() + { + if (array_key_exists("receivedNoiseLevel", $this->_propDict)) { + return $this->_propDict["receivedNoiseLevel"]; + } else { + return null; + } + } + + /** + * Sets the receivedNoiseLevel + * Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @param int $val The value of the receivedNoiseLevel + * + * @return DeviceInfo + */ + public function setReceivedNoiseLevel($val) + { + $this->_propDict["receivedNoiseLevel"] = $val; + return $this; + } + /** + * Gets the receivedSignalLevel + * Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @return int|null The receivedSignalLevel + */ + public function getReceivedSignalLevel() + { + if (array_key_exists("receivedSignalLevel", $this->_propDict)) { + return $this->_propDict["receivedSignalLevel"]; + } else { + return null; + } + } + + /** + * Sets the receivedSignalLevel + * Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @param int $val The value of the receivedSignalLevel + * + * @return DeviceInfo + */ + public function setReceivedSignalLevel($val) + { + $this->_propDict["receivedSignalLevel"] = $val; + return $this; + } + /** + * Gets the renderDeviceDriver + * Name of the render device driver used by the media endpoint. + * + * @return string|null The renderDeviceDriver + */ + public function getRenderDeviceDriver() + { + if (array_key_exists("renderDeviceDriver", $this->_propDict)) { + return $this->_propDict["renderDeviceDriver"]; + } else { + return null; + } + } + + /** + * Sets the renderDeviceDriver + * Name of the render device driver used by the media endpoint. + * + * @param string $val The value of the renderDeviceDriver + * + * @return DeviceInfo + */ + public function setRenderDeviceDriver($val) + { + $this->_propDict["renderDeviceDriver"] = $val; + return $this; + } + /** + * Gets the renderDeviceName + * Name of the render device used by the media endpoint. + * + * @return string|null The renderDeviceName + */ + public function getRenderDeviceName() + { + if (array_key_exists("renderDeviceName", $this->_propDict)) { + return $this->_propDict["renderDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the renderDeviceName + * Name of the render device used by the media endpoint. + * + * @param string $val The value of the renderDeviceName + * + * @return DeviceInfo + */ + public function setRenderDeviceName($val) + { + $this->_propDict["renderDeviceName"] = $val; + return $this; + } + /** + * Gets the renderMuteEventRatio + * Fraction of the call that media endpoint detected device render is muted. + * + * @return float|null The renderMuteEventRatio + */ + public function getRenderMuteEventRatio() + { + if (array_key_exists("renderMuteEventRatio", $this->_propDict)) { + return $this->_propDict["renderMuteEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the renderMuteEventRatio + * Fraction of the call that media endpoint detected device render is muted. + * + * @param float $val The value of the renderMuteEventRatio + * + * @return DeviceInfo + */ + public function setRenderMuteEventRatio($val) + { + $this->_propDict["renderMuteEventRatio"] = $val; + return $this; + } + /** + * Gets the renderNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the render device was not working properly. + * + * @return float|null The renderNotFunctioningEventRatio + */ + public function getRenderNotFunctioningEventRatio() + { + if (array_key_exists("renderNotFunctioningEventRatio", $this->_propDict)) { + return $this->_propDict["renderNotFunctioningEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the renderNotFunctioningEventRatio + * Fraction of the call that the media endpoint detected the render device was not working properly. + * + * @param float $val The value of the renderNotFunctioningEventRatio + * + * @return DeviceInfo + */ + public function setRenderNotFunctioningEventRatio($val) + { + $this->_propDict["renderNotFunctioningEventRatio"] = $val; + return $this; + } + /** + * Gets the renderZeroVolumeEventRatio + * Fraction of the call that media endpoint detected device render volume is set to 0. + * + * @return float|null The renderZeroVolumeEventRatio + */ + public function getRenderZeroVolumeEventRatio() + { + if (array_key_exists("renderZeroVolumeEventRatio", $this->_propDict)) { + return $this->_propDict["renderZeroVolumeEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the renderZeroVolumeEventRatio + * Fraction of the call that media endpoint detected device render volume is set to 0. + * + * @param float $val The value of the renderZeroVolumeEventRatio + * + * @return DeviceInfo + */ + public function setRenderZeroVolumeEventRatio($val) + { + $this->_propDict["renderZeroVolumeEventRatio"] = $val; + return $this; + } + /** + * Gets the sentNoiseLevel + * Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @return int|null The sentNoiseLevel + */ + public function getSentNoiseLevel() + { + if (array_key_exists("sentNoiseLevel", $this->_propDict)) { + return $this->_propDict["sentNoiseLevel"]; + } else { + return null; + } + } + + /** + * Sets the sentNoiseLevel + * Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint. + * + * @param int $val The value of the sentNoiseLevel + * + * @return DeviceInfo + */ + public function setSentNoiseLevel($val) + { + $this->_propDict["sentNoiseLevel"] = $val; + return $this; + } + /** + * Gets the sentSignalLevel + * Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @return int|null The sentSignalLevel + */ + public function getSentSignalLevel() + { + if (array_key_exists("sentSignalLevel", $this->_propDict)) { + return $this->_propDict["sentSignalLevel"]; + } else { + return null; + } + } + + /** + * Sets the sentSignalLevel + * Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint. + * + * @param int $val The value of the sentSignalLevel + * + * @return DeviceInfo + */ + public function setSentSignalLevel($val) + { + $this->_propDict["sentSignalLevel"] = $val; + return $this; + } + /** + * Gets the speakerGlitchRate + * Glitches per 5 minute internal for the media endpoint's loudspeaker. + * + * @return float|null The speakerGlitchRate + */ + public function getSpeakerGlitchRate() + { + if (array_key_exists("speakerGlitchRate", $this->_propDict)) { + return $this->_propDict["speakerGlitchRate"]; + } else { + return null; + } + } + + /** + * Sets the speakerGlitchRate + * Glitches per 5 minute internal for the media endpoint's loudspeaker. + * + * @param float $val The value of the speakerGlitchRate + * + * @return DeviceInfo + */ + public function setSpeakerGlitchRate($val) + { + $this->_propDict["speakerGlitchRate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php new file mode 100644 index 0000000..5e546c8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php @@ -0,0 +1,634 @@ +_propDict)) { + return $this->_propDict["calleeNumber"]; + } else { + return null; + } + } + + /** + * Sets the calleeNumber + * Number of the user or bot who received the call. E.164 format, but may include additional data. + * + * @param string $val The value of the calleeNumber + * + * @return DirectRoutingLogRow + */ + public function setCalleeNumber($val) + { + $this->_propDict["calleeNumber"] = $val; + return $this; + } + /** + * Gets the callEndSubReason + * In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue. + * + * @return int|null The callEndSubReason + */ + public function getCallEndSubReason() + { + if (array_key_exists("callEndSubReason", $this->_propDict)) { + return $this->_propDict["callEndSubReason"]; + } else { + return null; + } + } + + /** + * Sets the callEndSubReason + * In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue. + * + * @param int $val The value of the callEndSubReason + * + * @return DirectRoutingLogRow + */ + public function setCallEndSubReason($val) + { + $this->_propDict["callEndSubReason"] = $val; + return $this; + } + /** + * Gets the callerNumber + * Number of the user or bot who made the call. E.164 format, but may include additional data. + * + * @return string|null The callerNumber + */ + public function getCallerNumber() + { + if (array_key_exists("callerNumber", $this->_propDict)) { + return $this->_propDict["callerNumber"]; + } else { + return null; + } + } + + /** + * Sets the callerNumber + * Number of the user or bot who made the call. E.164 format, but may include additional data. + * + * @param string $val The value of the callerNumber + * + * @return DirectRoutingLogRow + */ + public function setCallerNumber($val) + { + $this->_propDict["callerNumber"] = $val; + return $this; + } + /** + * Gets the callType + * Call type and direction. + * + * @return string|null The callType + */ + public function getCallType() + { + if (array_key_exists("callType", $this->_propDict)) { + return $this->_propDict["callType"]; + } else { + return null; + } + } + + /** + * Sets the callType + * Call type and direction. + * + * @param string $val The value of the callType + * + * @return DirectRoutingLogRow + */ + public function setCallType($val) + { + $this->_propDict["callType"] = $val; + return $this; + } + /** + * Gets the correlationId + * Identifier for the call that you can use when calling Microsoft Support. GUID. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Identifier for the call that you can use when calling Microsoft Support. GUID. + * + * @param string $val The value of the correlationId + * + * @return DirectRoutingLogRow + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + /** + * Gets the duration + * Duration of the call in seconds. + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * Duration of the call in seconds. + * + * @param int $val The value of the duration + * + * @return DirectRoutingLogRow + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Only exists for successful (fully established) calls. Time when call ended. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Only exists for successful (fully established) calls. Time when call ended. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the failureDateTime + * Only exists for failed (not fully established) calls. + * + * @return \DateTime|null The failureDateTime + */ + public function getFailureDateTime() + { + if (array_key_exists("failureDateTime", $this->_propDict)) { + if (is_a($this->_propDict["failureDateTime"], "\DateTime") || is_null($this->_propDict["failureDateTime"])) { + return $this->_propDict["failureDateTime"]; + } else { + $this->_propDict["failureDateTime"] = new \DateTime($this->_propDict["failureDateTime"]); + return $this->_propDict["failureDateTime"]; + } + } + return null; + } + + /** + * Sets the failureDateTime + * Only exists for failed (not fully established) calls. + * + * @param \DateTime $val The value to assign to the failureDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setFailureDateTime($val) + { + $this->_propDict["failureDateTime"] = $val; + return $this; + } + /** + * Gets the finalSipCode + * The code with which the call ended, RFC 3261. + * + * @return int|null The finalSipCode + */ + public function getFinalSipCode() + { + if (array_key_exists("finalSipCode", $this->_propDict)) { + return $this->_propDict["finalSipCode"]; + } else { + return null; + } + } + + /** + * Sets the finalSipCode + * The code with which the call ended, RFC 3261. + * + * @param int $val The value of the finalSipCode + * + * @return DirectRoutingLogRow + */ + public function setFinalSipCode($val) + { + $this->_propDict["finalSipCode"] = $val; + return $this; + } + /** + * Gets the finalSipCodePhrase + * Description of the SIP code and Microsoft subcode. + * + * @return string|null The finalSipCodePhrase + */ + public function getFinalSipCodePhrase() + { + if (array_key_exists("finalSipCodePhrase", $this->_propDict)) { + return $this->_propDict["finalSipCodePhrase"]; + } else { + return null; + } + } + + /** + * Sets the finalSipCodePhrase + * Description of the SIP code and Microsoft subcode. + * + * @param string $val The value of the finalSipCodePhrase + * + * @return DirectRoutingLogRow + */ + public function setFinalSipCodePhrase($val) + { + $this->_propDict["finalSipCodePhrase"] = $val; + return $this; + } + /** + * Gets the id + * Unique call identifier. GUID. + * + * @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 + * Unique call identifier. GUID. + * + * @param string $val The value of the id + * + * @return DirectRoutingLogRow + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the inviteDateTime + * When the initial invite was sent. + * + * @return \DateTime|null The inviteDateTime + */ + public function getInviteDateTime() + { + if (array_key_exists("inviteDateTime", $this->_propDict)) { + if (is_a($this->_propDict["inviteDateTime"], "\DateTime") || is_null($this->_propDict["inviteDateTime"])) { + return $this->_propDict["inviteDateTime"]; + } else { + $this->_propDict["inviteDateTime"] = new \DateTime($this->_propDict["inviteDateTime"]); + return $this->_propDict["inviteDateTime"]; + } + } + return null; + } + + /** + * Sets the inviteDateTime + * When the initial invite was sent. + * + * @param \DateTime $val The value to assign to the inviteDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setInviteDateTime($val) + { + $this->_propDict["inviteDateTime"] = $val; + return $this; + } + /** + * Gets the mediaBypassEnabled + * Indicates if the trunk was enabled for media bypass or not. + * + * @return bool|null The mediaBypassEnabled + */ + public function getMediaBypassEnabled() + { + if (array_key_exists("mediaBypassEnabled", $this->_propDict)) { + return $this->_propDict["mediaBypassEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mediaBypassEnabled + * Indicates if the trunk was enabled for media bypass or not. + * + * @param bool $val The value of the mediaBypassEnabled + * + * @return DirectRoutingLogRow + */ + public function setMediaBypassEnabled($val) + { + $this->_propDict["mediaBypassEnabled"] = $val; + return $this; + } + /** + * Gets the mediaPathLocation + * The datacenter used for media path in non-bypass call. + * + * @return string|null The mediaPathLocation + */ + public function getMediaPathLocation() + { + if (array_key_exists("mediaPathLocation", $this->_propDict)) { + return $this->_propDict["mediaPathLocation"]; + } else { + return null; + } + } + + /** + * Sets the mediaPathLocation + * The datacenter used for media path in non-bypass call. + * + * @param string $val The value of the mediaPathLocation + * + * @return DirectRoutingLogRow + */ + public function setMediaPathLocation($val) + { + $this->_propDict["mediaPathLocation"] = $val; + return $this; + } + /** + * Gets the signalingLocation + * The datacenter used for signaling for both bypass and non-bypass calls. + * + * @return string|null The signalingLocation + */ + public function getSignalingLocation() + { + if (array_key_exists("signalingLocation", $this->_propDict)) { + return $this->_propDict["signalingLocation"]; + } else { + return null; + } + } + + /** + * Sets the signalingLocation + * The datacenter used for signaling for both bypass and non-bypass calls. + * + * @param string $val The value of the signalingLocation + * + * @return DirectRoutingLogRow + */ + public function setSignalingLocation($val) + { + $this->_propDict["signalingLocation"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Call start time.For failed and unanswered calls, this can be equal to invite or failure time. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Call start time.For failed and unanswered calls, this can be equal to invite or failure time. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return DirectRoutingLogRow The DirectRoutingLogRow + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the successfulCall + * Success or attempt. + * + * @return bool|null The successfulCall + */ + public function getSuccessfulCall() + { + if (array_key_exists("successfulCall", $this->_propDict)) { + return $this->_propDict["successfulCall"]; + } else { + return null; + } + } + + /** + * Sets the successfulCall + * Success or attempt. + * + * @param bool $val The value of the successfulCall + * + * @return DirectRoutingLogRow + */ + public function setSuccessfulCall($val) + { + $this->_propDict["successfulCall"] = $val; + return $this; + } + /** + * Gets the trunkFullyQualifiedDomainName + * Fully qualified domain name of the session border controller. + * + * @return string|null The trunkFullyQualifiedDomainName + */ + public function getTrunkFullyQualifiedDomainName() + { + if (array_key_exists("trunkFullyQualifiedDomainName", $this->_propDict)) { + return $this->_propDict["trunkFullyQualifiedDomainName"]; + } else { + return null; + } + } + + /** + * Sets the trunkFullyQualifiedDomainName + * Fully qualified domain name of the session border controller. + * + * @param string $val The value of the trunkFullyQualifiedDomainName + * + * @return DirectRoutingLogRow + */ + public function setTrunkFullyQualifiedDomainName($val) + { + $this->_propDict["trunkFullyQualifiedDomainName"] = $val; + return $this; + } + /** + * Gets the userDisplayName + * Display name of the user. + * + * @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 + * Display name of the user. + * + * @param string $val The value of the userDisplayName + * + * @return DirectRoutingLogRow + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + /** + * Gets the userId + * Calling user's ID in Graph. This and other user info will be null/empty for bot call types. GUID. + * + * @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 + * Calling user's ID in Graph. This and other user info will be null/empty for bot call types. GUID. + * + * @param string $val The value of the userId + * + * @return DirectRoutingLogRow + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @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 + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @param string $val The value of the userPrincipalName + * + * @return DirectRoutingLogRow + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Endpoint.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Endpoint.php new file mode 100644 index 0000000..18902eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Endpoint.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["userAgent"], "\Microsoft\Graph\CallRecords\Model\UserAgent") || is_null($this->_propDict["userAgent"])) { + return $this->_propDict["userAgent"]; + } else { + $this->_propDict["userAgent"] = new UserAgent($this->_propDict["userAgent"]); + return $this->_propDict["userAgent"]; + } + } + return null; + } + + /** + * Sets the userAgent + * User-agent reported by this endpoint. + * + * @param UserAgent $val The value to assign to the userAgent + * + * @return Endpoint The Endpoint + */ + public function setUserAgent($val) + { + $this->_propDict["userAgent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php new file mode 100644 index 0000000..3624e5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["reason"]; + } else { + return null; + } + } + + /** + * Sets the reason + * Classification of why a call or portion of a call failed. + * + * @param string $val The value of the reason + * + * @return FailureInfo + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the stage + * The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. + * + * @return FailureStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Microsoft\Graph\CallRecords\Model\FailureStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new FailureStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * The stage when the failure occurred. Possible values are: unknown, callSetup, midcall, unknownFutureValue. + * + * @param FailureStage $val The value to assign to the stage + * + * @return FailureInfo The FailureInfo + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureStage.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureStage.php new file mode 100644 index 0000000..5aeb430 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureStage.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["calleeDevice"], "\Microsoft\Graph\CallRecords\Model\DeviceInfo") || is_null($this->_propDict["calleeDevice"])) { + return $this->_propDict["calleeDevice"]; + } else { + $this->_propDict["calleeDevice"] = new DeviceInfo($this->_propDict["calleeDevice"]); + return $this->_propDict["calleeDevice"]; + } + } + return null; + } + + /** + * Sets the calleeDevice + * Device information associated with the callee endpoint of this media. + * + * @param DeviceInfo $val The value to assign to the calleeDevice + * + * @return Media The Media + */ + public function setCalleeDevice($val) + { + $this->_propDict["calleeDevice"] = $val; + return $this; + } + + /** + * Gets the calleeNetwork + * Network information associated with the callee endpoint of this media. + * + * @return NetworkInfo|null The calleeNetwork + */ + public function getCalleeNetwork() + { + if (array_key_exists("calleeNetwork", $this->_propDict)) { + if (is_a($this->_propDict["calleeNetwork"], "\Microsoft\Graph\CallRecords\Model\NetworkInfo") || is_null($this->_propDict["calleeNetwork"])) { + return $this->_propDict["calleeNetwork"]; + } else { + $this->_propDict["calleeNetwork"] = new NetworkInfo($this->_propDict["calleeNetwork"]); + return $this->_propDict["calleeNetwork"]; + } + } + return null; + } + + /** + * Sets the calleeNetwork + * Network information associated with the callee endpoint of this media. + * + * @param NetworkInfo $val The value to assign to the calleeNetwork + * + * @return Media The Media + */ + public function setCalleeNetwork($val) + { + $this->_propDict["calleeNetwork"] = $val; + return $this; + } + + /** + * Gets the callerDevice + * Device information associated with the caller endpoint of this media. + * + * @return DeviceInfo|null The callerDevice + */ + public function getCallerDevice() + { + if (array_key_exists("callerDevice", $this->_propDict)) { + if (is_a($this->_propDict["callerDevice"], "\Microsoft\Graph\CallRecords\Model\DeviceInfo") || is_null($this->_propDict["callerDevice"])) { + return $this->_propDict["callerDevice"]; + } else { + $this->_propDict["callerDevice"] = new DeviceInfo($this->_propDict["callerDevice"]); + return $this->_propDict["callerDevice"]; + } + } + return null; + } + + /** + * Sets the callerDevice + * Device information associated with the caller endpoint of this media. + * + * @param DeviceInfo $val The value to assign to the callerDevice + * + * @return Media The Media + */ + public function setCallerDevice($val) + { + $this->_propDict["callerDevice"] = $val; + return $this; + } + + /** + * Gets the callerNetwork + * Network information associated with the caller endpoint of this media. + * + * @return NetworkInfo|null The callerNetwork + */ + public function getCallerNetwork() + { + if (array_key_exists("callerNetwork", $this->_propDict)) { + if (is_a($this->_propDict["callerNetwork"], "\Microsoft\Graph\CallRecords\Model\NetworkInfo") || is_null($this->_propDict["callerNetwork"])) { + return $this->_propDict["callerNetwork"]; + } else { + $this->_propDict["callerNetwork"] = new NetworkInfo($this->_propDict["callerNetwork"]); + return $this->_propDict["callerNetwork"]; + } + } + return null; + } + + /** + * Sets the callerNetwork + * Network information associated with the caller endpoint of this media. + * + * @param NetworkInfo $val The value to assign to the callerNetwork + * + * @return Media The Media + */ + public function setCallerNetwork($val) + { + $this->_propDict["callerNetwork"] = $val; + return $this; + } + /** + * Gets the label + * How the media was identified during media negotiation stage. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * How the media was identified during media negotiation stage. + * + * @param string $val The value of the label + * + * @return Media + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the streams + * Network streams associated with this media. + * + * @return MediaStream|null The streams + */ + public function getStreams() + { + if (array_key_exists("streams", $this->_propDict)) { + if (is_a($this->_propDict["streams"], "\Microsoft\Graph\CallRecords\Model\MediaStream") || is_null($this->_propDict["streams"])) { + return $this->_propDict["streams"]; + } else { + $this->_propDict["streams"] = new MediaStream($this->_propDict["streams"]); + return $this->_propDict["streams"]; + } + } + return null; + } + + /** + * Sets the streams + * Network streams associated with this media. + * + * @param MediaStream $val The value to assign to the streams + * + * @return Media The Media + */ + public function setStreams($val) + { + $this->_propDict["streams"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStream.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStream.php new file mode 100644 index 0000000..ac27a2a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStream.php @@ -0,0 +1,771 @@ +_propDict)) { + return $this->_propDict["averageAudioDegradation"]; + } else { + return null; + } + } + + /** + * Sets the averageAudioDegradation + * Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio. + * + * @param float $val The value of the averageAudioDegradation + * + * @return MediaStream + */ + public function setAverageAudioDegradation($val) + { + $this->_propDict["averageAudioDegradation"] = $val; + return $this; + } + + /** + * Gets the averageAudioNetworkJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The averageAudioNetworkJitter + */ + public function getAverageAudioNetworkJitter() + { + if (array_key_exists("averageAudioNetworkJitter", $this->_propDict)) { + if (is_a($this->_propDict["averageAudioNetworkJitter"], "\DateInterval") || is_null($this->_propDict["averageAudioNetworkJitter"])) { + return $this->_propDict["averageAudioNetworkJitter"]; + } else { + $this->_propDict["averageAudioNetworkJitter"] = new \DateInterval($this->_propDict["averageAudioNetworkJitter"]); + return $this->_propDict["averageAudioNetworkJitter"]; + } + } + return null; + } + + /** + * Sets the averageAudioNetworkJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the averageAudioNetworkJitter + * + * @return MediaStream The MediaStream + */ + public function setAverageAudioNetworkJitter($val) + { + $this->_propDict["averageAudioNetworkJitter"] = $val; + return $this; + } + /** + * Gets the averageBandwidthEstimate + * Average estimated bandwidth available between two endpoints in bits per second. + * + * @return int|null The averageBandwidthEstimate + */ + public function getAverageBandwidthEstimate() + { + if (array_key_exists("averageBandwidthEstimate", $this->_propDict)) { + return $this->_propDict["averageBandwidthEstimate"]; + } else { + return null; + } + } + + /** + * Sets the averageBandwidthEstimate + * Average estimated bandwidth available between two endpoints in bits per second. + * + * @param int $val The value of the averageBandwidthEstimate + * + * @return MediaStream + */ + public function setAverageBandwidthEstimate($val) + { + $this->_propDict["averageBandwidthEstimate"] = $val; + return $this; + } + + /** + * Gets the averageJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The averageJitter + */ + public function getAverageJitter() + { + if (array_key_exists("averageJitter", $this->_propDict)) { + if (is_a($this->_propDict["averageJitter"], "\DateInterval") || is_null($this->_propDict["averageJitter"])) { + return $this->_propDict["averageJitter"]; + } else { + $this->_propDict["averageJitter"] = new \DateInterval($this->_propDict["averageJitter"]); + return $this->_propDict["averageJitter"]; + } + } + return null; + } + + /** + * Sets the averageJitter + * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the averageJitter + * + * @return MediaStream The MediaStream + */ + public function setAverageJitter($val) + { + $this->_propDict["averageJitter"] = $val; + return $this; + } + /** + * Gets the averagePacketLossRate + * Average packet loss rate for stream. + * + * @return float|null The averagePacketLossRate + */ + public function getAveragePacketLossRate() + { + if (array_key_exists("averagePacketLossRate", $this->_propDict)) { + return $this->_propDict["averagePacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the averagePacketLossRate + * Average packet loss rate for stream. + * + * @param float $val The value of the averagePacketLossRate + * + * @return MediaStream + */ + public function setAveragePacketLossRate($val) + { + $this->_propDict["averagePacketLossRate"] = $val; + return $this; + } + /** + * Gets the averageRatioOfConcealedSamples + * Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. + * + * @return float|null The averageRatioOfConcealedSamples + */ + public function getAverageRatioOfConcealedSamples() + { + if (array_key_exists("averageRatioOfConcealedSamples", $this->_propDict)) { + return $this->_propDict["averageRatioOfConcealedSamples"]; + } else { + return null; + } + } + + /** + * Sets the averageRatioOfConcealedSamples + * Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames. + * + * @param float $val The value of the averageRatioOfConcealedSamples + * + * @return MediaStream + */ + public function setAverageRatioOfConcealedSamples($val) + { + $this->_propDict["averageRatioOfConcealedSamples"] = $val; + return $this; + } + /** + * Gets the averageReceivedFrameRate + * Average frames per second received for all video streams computed over the duration of the session. + * + * @return float|null The averageReceivedFrameRate + */ + public function getAverageReceivedFrameRate() + { + if (array_key_exists("averageReceivedFrameRate", $this->_propDict)) { + return $this->_propDict["averageReceivedFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageReceivedFrameRate + * Average frames per second received for all video streams computed over the duration of the session. + * + * @param float $val The value of the averageReceivedFrameRate + * + * @return MediaStream + */ + public function setAverageReceivedFrameRate($val) + { + $this->_propDict["averageReceivedFrameRate"] = $val; + return $this; + } + + /** + * Gets the averageRoundTripTime + * Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The averageRoundTripTime + */ + public function getAverageRoundTripTime() + { + if (array_key_exists("averageRoundTripTime", $this->_propDict)) { + if (is_a($this->_propDict["averageRoundTripTime"], "\DateInterval") || is_null($this->_propDict["averageRoundTripTime"])) { + return $this->_propDict["averageRoundTripTime"]; + } else { + $this->_propDict["averageRoundTripTime"] = new \DateInterval($this->_propDict["averageRoundTripTime"]); + return $this->_propDict["averageRoundTripTime"]; + } + } + return null; + } + + /** + * Sets the averageRoundTripTime + * Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the averageRoundTripTime + * + * @return MediaStream The MediaStream + */ + public function setAverageRoundTripTime($val) + { + $this->_propDict["averageRoundTripTime"] = $val; + return $this; + } + /** + * Gets the averageVideoFrameLossPercentage + * Average percentage of video frames lost as displayed to the user. + * + * @return float|null The averageVideoFrameLossPercentage + */ + public function getAverageVideoFrameLossPercentage() + { + if (array_key_exists("averageVideoFrameLossPercentage", $this->_propDict)) { + return $this->_propDict["averageVideoFrameLossPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageVideoFrameLossPercentage + * Average percentage of video frames lost as displayed to the user. + * + * @param float $val The value of the averageVideoFrameLossPercentage + * + * @return MediaStream + */ + public function setAverageVideoFrameLossPercentage($val) + { + $this->_propDict["averageVideoFrameLossPercentage"] = $val; + return $this; + } + /** + * Gets the averageVideoFrameRate + * Average frames per second received for a video stream, computed over the duration of the session. + * + * @return float|null The averageVideoFrameRate + */ + public function getAverageVideoFrameRate() + { + if (array_key_exists("averageVideoFrameRate", $this->_propDict)) { + return $this->_propDict["averageVideoFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageVideoFrameRate + * Average frames per second received for a video stream, computed over the duration of the session. + * + * @param float $val The value of the averageVideoFrameRate + * + * @return MediaStream + */ + public function setAverageVideoFrameRate($val) + { + $this->_propDict["averageVideoFrameRate"] = $val; + return $this; + } + /** + * Gets the averageVideoPacketLossRate + * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. + * + * @return float|null The averageVideoPacketLossRate + */ + public function getAverageVideoPacketLossRate() + { + if (array_key_exists("averageVideoPacketLossRate", $this->_propDict)) { + return $this->_propDict["averageVideoPacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the averageVideoPacketLossRate + * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. + * + * @param float $val The value of the averageVideoPacketLossRate + * + * @return MediaStream + */ + public function setAverageVideoPacketLossRate($val) + { + $this->_propDict["averageVideoPacketLossRate"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * UTC time when the stream ended. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the stream ended. The DateTimeOffset 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 endDateTime + * + * @return MediaStream The MediaStream + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the lowFrameRateRatio + * Fraction of the call where frame rate is less than 7.5 frames per second. + * + * @return float|null The lowFrameRateRatio + */ + public function getLowFrameRateRatio() + { + if (array_key_exists("lowFrameRateRatio", $this->_propDict)) { + return $this->_propDict["lowFrameRateRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowFrameRateRatio + * Fraction of the call where frame rate is less than 7.5 frames per second. + * + * @param float $val The value of the lowFrameRateRatio + * + * @return MediaStream + */ + public function setLowFrameRateRatio($val) + { + $this->_propDict["lowFrameRateRatio"] = $val; + return $this; + } + /** + * Gets the lowVideoProcessingCapabilityRatio + * Fraction of the call that the client is running less than 70% expected video processing capability. + * + * @return float|null The lowVideoProcessingCapabilityRatio + */ + public function getLowVideoProcessingCapabilityRatio() + { + if (array_key_exists("lowVideoProcessingCapabilityRatio", $this->_propDict)) { + return $this->_propDict["lowVideoProcessingCapabilityRatio"]; + } else { + return null; + } + } + + /** + * Sets the lowVideoProcessingCapabilityRatio + * Fraction of the call that the client is running less than 70% expected video processing capability. + * + * @param float $val The value of the lowVideoProcessingCapabilityRatio + * + * @return MediaStream + */ + public function setLowVideoProcessingCapabilityRatio($val) + { + $this->_propDict["lowVideoProcessingCapabilityRatio"] = $val; + return $this; + } + + /** + * Gets the maxAudioNetworkJitter + * Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The maxAudioNetworkJitter + */ + public function getMaxAudioNetworkJitter() + { + if (array_key_exists("maxAudioNetworkJitter", $this->_propDict)) { + if (is_a($this->_propDict["maxAudioNetworkJitter"], "\DateInterval") || is_null($this->_propDict["maxAudioNetworkJitter"])) { + return $this->_propDict["maxAudioNetworkJitter"]; + } else { + $this->_propDict["maxAudioNetworkJitter"] = new \DateInterval($this->_propDict["maxAudioNetworkJitter"]); + return $this->_propDict["maxAudioNetworkJitter"]; + } + } + return null; + } + + /** + * Sets the maxAudioNetworkJitter + * Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the maxAudioNetworkJitter + * + * @return MediaStream The MediaStream + */ + public function setMaxAudioNetworkJitter($val) + { + $this->_propDict["maxAudioNetworkJitter"] = $val; + return $this; + } + + /** + * Gets the maxJitter + * Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The maxJitter + */ + public function getMaxJitter() + { + if (array_key_exists("maxJitter", $this->_propDict)) { + if (is_a($this->_propDict["maxJitter"], "\DateInterval") || is_null($this->_propDict["maxJitter"])) { + return $this->_propDict["maxJitter"]; + } else { + $this->_propDict["maxJitter"] = new \DateInterval($this->_propDict["maxJitter"]); + return $this->_propDict["maxJitter"]; + } + } + return null; + } + + /** + * Sets the maxJitter + * Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the maxJitter + * + * @return MediaStream The MediaStream + */ + public function setMaxJitter($val) + { + $this->_propDict["maxJitter"] = $val; + return $this; + } + /** + * Gets the maxPacketLossRate + * Maximum packet loss rate for the stream. + * + * @return float|null The maxPacketLossRate + */ + public function getMaxPacketLossRate() + { + if (array_key_exists("maxPacketLossRate", $this->_propDict)) { + return $this->_propDict["maxPacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the maxPacketLossRate + * Maximum packet loss rate for the stream. + * + * @param float $val The value of the maxPacketLossRate + * + * @return MediaStream + */ + public function setMaxPacketLossRate($val) + { + $this->_propDict["maxPacketLossRate"] = $val; + return $this; + } + /** + * Gets the maxRatioOfConcealedSamples + * Maximum ratio of packets concealed by the healer. + * + * @return float|null The maxRatioOfConcealedSamples + */ + public function getMaxRatioOfConcealedSamples() + { + if (array_key_exists("maxRatioOfConcealedSamples", $this->_propDict)) { + return $this->_propDict["maxRatioOfConcealedSamples"]; + } else { + return null; + } + } + + /** + * Sets the maxRatioOfConcealedSamples + * Maximum ratio of packets concealed by the healer. + * + * @param float $val The value of the maxRatioOfConcealedSamples + * + * @return MediaStream + */ + public function setMaxRatioOfConcealedSamples($val) + { + $this->_propDict["maxRatioOfConcealedSamples"] = $val; + return $this; + } + + /** + * Gets the maxRoundTripTime + * Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @return \DateInterval|null The maxRoundTripTime + */ + public function getMaxRoundTripTime() + { + if (array_key_exists("maxRoundTripTime", $this->_propDict)) { + if (is_a($this->_propDict["maxRoundTripTime"], "\DateInterval") || is_null($this->_propDict["maxRoundTripTime"])) { + return $this->_propDict["maxRoundTripTime"]; + } else { + $this->_propDict["maxRoundTripTime"] = new \DateInterval($this->_propDict["maxRoundTripTime"]); + return $this->_propDict["maxRoundTripTime"]; + } + } + return null; + } + + /** + * Sets the maxRoundTripTime + * Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. + * + * @param \DateInterval $val The value to assign to the maxRoundTripTime + * + * @return MediaStream The MediaStream + */ + public function setMaxRoundTripTime($val) + { + $this->_propDict["maxRoundTripTime"] = $val; + return $this; + } + /** + * Gets the packetUtilization + * Packet count for the stream. + * + * @return int|null The packetUtilization + */ + public function getPacketUtilization() + { + if (array_key_exists("packetUtilization", $this->_propDict)) { + return $this->_propDict["packetUtilization"]; + } else { + return null; + } + } + + /** + * Sets the packetUtilization + * Packet count for the stream. + * + * @param int $val The value of the packetUtilization + * + * @return MediaStream + */ + public function setPacketUtilization($val) + { + $this->_propDict["packetUtilization"] = $val; + return $this; + } + /** + * Gets the postForwardErrorCorrectionPacketLossRate + * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. + * + * @return float|null The postForwardErrorCorrectionPacketLossRate + */ + public function getPostForwardErrorCorrectionPacketLossRate() + { + if (array_key_exists("postForwardErrorCorrectionPacketLossRate", $this->_propDict)) { + return $this->_propDict["postForwardErrorCorrectionPacketLossRate"]; + } else { + return null; + } + } + + /** + * Sets the postForwardErrorCorrectionPacketLossRate + * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. + * + * @param float $val The value of the postForwardErrorCorrectionPacketLossRate + * + * @return MediaStream + */ + public function setPostForwardErrorCorrectionPacketLossRate($val) + { + $this->_propDict["postForwardErrorCorrectionPacketLossRate"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC time when the stream started. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC time when the stream started. The DateTimeOffset 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 startDateTime + * + * @return MediaStream The MediaStream + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the streamDirection + * Indicates the direction of the media stream. Possible values are: callerToCallee, calleeToCaller. + * + * @return MediaStreamDirection|null The streamDirection + */ + public function getStreamDirection() + { + if (array_key_exists("streamDirection", $this->_propDict)) { + if (is_a($this->_propDict["streamDirection"], "\Microsoft\Graph\CallRecords\Model\MediaStreamDirection") || is_null($this->_propDict["streamDirection"])) { + return $this->_propDict["streamDirection"]; + } else { + $this->_propDict["streamDirection"] = new MediaStreamDirection($this->_propDict["streamDirection"]); + return $this->_propDict["streamDirection"]; + } + } + return null; + } + + /** + * Sets the streamDirection + * Indicates the direction of the media stream. Possible values are: callerToCallee, calleeToCaller. + * + * @param MediaStreamDirection $val The value to assign to the streamDirection + * + * @return MediaStream The MediaStream + */ + public function setStreamDirection($val) + { + $this->_propDict["streamDirection"] = $val; + return $this; + } + /** + * Gets the streamId + * Unique identifier for the stream. + * + * @return string|null The streamId + */ + public function getStreamId() + { + if (array_key_exists("streamId", $this->_propDict)) { + return $this->_propDict["streamId"]; + } else { + return null; + } + } + + /** + * Sets the streamId + * Unique identifier for the stream. + * + * @param string $val The value of the streamId + * + * @return MediaStream + */ + public function setStreamId($val) + { + $this->_propDict["streamId"] = $val; + return $this; + } + /** + * Gets the wasMediaBypassed + * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. + * + * @return bool|null The wasMediaBypassed + */ + public function getWasMediaBypassed() + { + if (array_key_exists("wasMediaBypassed", $this->_propDict)) { + return $this->_propDict["wasMediaBypassed"]; + } else { + return null; + } + } + + /** + * Sets the wasMediaBypassed + * True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise. + * + * @param bool $val The value of the wasMediaBypassed + * + * @return MediaStream + */ + public function setWasMediaBypassed($val) + { + $this->_propDict["wasMediaBypassed"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStreamDirection.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStreamDirection.php new file mode 100644 index 0000000..caeb0cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStreamDirection.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["bandwidthLowEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the bandwidthLowEventRatio + * Fraction of the call that the media endpoint detected the available bandwidth or bandwidth policy was low enough to cause poor quality of the audio sent. + * + * @param float $val The value of the bandwidthLowEventRatio + * + * @return NetworkInfo + */ + public function setBandwidthLowEventRatio($val) + { + $this->_propDict["bandwidthLowEventRatio"] = $val; + return $this; + } + /** + * Gets the basicServiceSetIdentifier + * The wireless LAN basic service set identifier of the media endpoint used to connect to the network. + * + * @return string|null The basicServiceSetIdentifier + */ + public function getBasicServiceSetIdentifier() + { + if (array_key_exists("basicServiceSetIdentifier", $this->_propDict)) { + return $this->_propDict["basicServiceSetIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the basicServiceSetIdentifier + * The wireless LAN basic service set identifier of the media endpoint used to connect to the network. + * + * @param string $val The value of the basicServiceSetIdentifier + * + * @return NetworkInfo + */ + public function setBasicServiceSetIdentifier($val) + { + $this->_propDict["basicServiceSetIdentifier"] = $val; + return $this; + } + + /** + * Gets the connectionType + * Type of network used by the media endpoint. Possible values are: unknown, wired, wifi, mobile, tunnel, unknownFutureValue. + * + * @return NetworkConnectionType|null The connectionType + */ + public function getConnectionType() + { + if (array_key_exists("connectionType", $this->_propDict)) { + if (is_a($this->_propDict["connectionType"], "\Microsoft\Graph\CallRecords\Model\NetworkConnectionType") || is_null($this->_propDict["connectionType"])) { + return $this->_propDict["connectionType"]; + } else { + $this->_propDict["connectionType"] = new NetworkConnectionType($this->_propDict["connectionType"]); + return $this->_propDict["connectionType"]; + } + } + return null; + } + + /** + * Sets the connectionType + * Type of network used by the media endpoint. Possible values are: unknown, wired, wifi, mobile, tunnel, unknownFutureValue. + * + * @param NetworkConnectionType $val The value to assign to the connectionType + * + * @return NetworkInfo The NetworkInfo + */ + public function setConnectionType($val) + { + $this->_propDict["connectionType"] = $val; + return $this; + } + /** + * Gets the delayEventRatio + * Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. + * + * @return float|null The delayEventRatio + */ + public function getDelayEventRatio() + { + if (array_key_exists("delayEventRatio", $this->_propDict)) { + return $this->_propDict["delayEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the delayEventRatio + * Fraction of the call that the media endpoint detected the network delay was significant enough to impact the ability to have real-time two-way communication. + * + * @param float $val The value of the delayEventRatio + * + * @return NetworkInfo + */ + public function setDelayEventRatio($val) + { + $this->_propDict["delayEventRatio"] = $val; + return $this; + } + /** + * Gets the dnsSuffix + * DNS suffix associated with the network adapter of the media endpoint. + * + * @return string|null The dnsSuffix + */ + public function getDnsSuffix() + { + if (array_key_exists("dnsSuffix", $this->_propDict)) { + return $this->_propDict["dnsSuffix"]; + } else { + return null; + } + } + + /** + * Sets the dnsSuffix + * DNS suffix associated with the network adapter of the media endpoint. + * + * @param string $val The value of the dnsSuffix + * + * @return NetworkInfo + */ + public function setDnsSuffix($val) + { + $this->_propDict["dnsSuffix"] = $val; + return $this; + } + /** + * Gets the ipAddress + * IP address of the media endpoint. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * IP address of the media endpoint. + * + * @param string $val The value of the ipAddress + * + * @return NetworkInfo + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the linkSpeed + * Link speed in bits per second reported by the network adapter used by the media endpoint. + * + * @return int|null The linkSpeed + */ + public function getLinkSpeed() + { + if (array_key_exists("linkSpeed", $this->_propDict)) { + return $this->_propDict["linkSpeed"]; + } else { + return null; + } + } + + /** + * Sets the linkSpeed + * Link speed in bits per second reported by the network adapter used by the media endpoint. + * + * @param int $val The value of the linkSpeed + * + * @return NetworkInfo + */ + public function setLinkSpeed($val) + { + $this->_propDict["linkSpeed"] = $val; + return $this; + } + /** + * Gets the macAddress + * The media access control (MAC) address of the media endpoint's network device. + * + * @return string|null The macAddress + */ + public function getMacAddress() + { + if (array_key_exists("macAddress", $this->_propDict)) { + return $this->_propDict["macAddress"]; + } else { + return null; + } + } + + /** + * Sets the macAddress + * The media access control (MAC) address of the media endpoint's network device. + * + * @param string $val The value of the macAddress + * + * @return NetworkInfo + */ + public function setMacAddress($val) + { + $this->_propDict["macAddress"] = $val; + return $this; + } + /** + * Gets the port + * Network port number used by media endpoint. + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * Network port number used by media endpoint. + * + * @param int $val The value of the port + * + * @return NetworkInfo + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } + /** + * Gets the receivedQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. + * + * @return float|null The receivedQualityEventRatio + */ + public function getReceivedQualityEventRatio() + { + if (array_key_exists("receivedQualityEventRatio", $this->_propDict)) { + return $this->_propDict["receivedQualityEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the receivedQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio received. + * + * @param float $val The value of the receivedQualityEventRatio + * + * @return NetworkInfo + */ + public function setReceivedQualityEventRatio($val) + { + $this->_propDict["receivedQualityEventRatio"] = $val; + return $this; + } + /** + * Gets the reflexiveIPAddress + * IP address of the media endpoint as seen by the media relay server. This is typically the public internet IP address associated to the endpoint. + * + * @return string|null The reflexiveIPAddress + */ + public function getReflexiveIPAddress() + { + if (array_key_exists("reflexiveIPAddress", $this->_propDict)) { + return $this->_propDict["reflexiveIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the reflexiveIPAddress + * IP address of the media endpoint as seen by the media relay server. This is typically the public internet IP address associated to the endpoint. + * + * @param string $val The value of the reflexiveIPAddress + * + * @return NetworkInfo + */ + public function setReflexiveIPAddress($val) + { + $this->_propDict["reflexiveIPAddress"] = $val; + return $this; + } + /** + * Gets the relayIPAddress + * IP address of the media relay server allocated by the media endpoint. + * + * @return string|null The relayIPAddress + */ + public function getRelayIPAddress() + { + if (array_key_exists("relayIPAddress", $this->_propDict)) { + return $this->_propDict["relayIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the relayIPAddress + * IP address of the media relay server allocated by the media endpoint. + * + * @param string $val The value of the relayIPAddress + * + * @return NetworkInfo + */ + public function setRelayIPAddress($val) + { + $this->_propDict["relayIPAddress"] = $val; + return $this; + } + /** + * Gets the relayPort + * Network port number allocated on the media relay server by the media endpoint. + * + * @return int|null The relayPort + */ + public function getRelayPort() + { + if (array_key_exists("relayPort", $this->_propDict)) { + return $this->_propDict["relayPort"]; + } else { + return null; + } + } + + /** + * Sets the relayPort + * Network port number allocated on the media relay server by the media endpoint. + * + * @param int $val The value of the relayPort + * + * @return NetworkInfo + */ + public function setRelayPort($val) + { + $this->_propDict["relayPort"] = $val; + return $this; + } + /** + * Gets the sentQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. + * + * @return float|null The sentQualityEventRatio + */ + public function getSentQualityEventRatio() + { + if (array_key_exists("sentQualityEventRatio", $this->_propDict)) { + return $this->_propDict["sentQualityEventRatio"]; + } else { + return null; + } + } + + /** + * Sets the sentQualityEventRatio + * Fraction of the call that the media endpoint detected the network was causing poor quality of the audio sent. + * + * @param float $val The value of the sentQualityEventRatio + * + * @return NetworkInfo + */ + public function setSentQualityEventRatio($val) + { + $this->_propDict["sentQualityEventRatio"] = $val; + return $this; + } + /** + * Gets the subnet + * Subnet used for media stream by the media endpoint. + * + * @return string|null The subnet + */ + public function getSubnet() + { + if (array_key_exists("subnet", $this->_propDict)) { + return $this->_propDict["subnet"]; + } else { + return null; + } + } + + /** + * Sets the subnet + * Subnet used for media stream by the media endpoint. + * + * @param string $val The value of the subnet + * + * @return NetworkInfo + */ + public function setSubnet($val) + { + $this->_propDict["subnet"] = $val; + return $this; + } + + /** + * Gets the wifiBand + * WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue. + * + * @return WifiBand|null The wifiBand + */ + public function getWifiBand() + { + if (array_key_exists("wifiBand", $this->_propDict)) { + if (is_a($this->_propDict["wifiBand"], "\Microsoft\Graph\CallRecords\Model\WifiBand") || is_null($this->_propDict["wifiBand"])) { + return $this->_propDict["wifiBand"]; + } else { + $this->_propDict["wifiBand"] = new WifiBand($this->_propDict["wifiBand"]); + return $this->_propDict["wifiBand"]; + } + } + return null; + } + + /** + * Sets the wifiBand + * WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue. + * + * @param WifiBand $val The value to assign to the wifiBand + * + * @return NetworkInfo The NetworkInfo + */ + public function setWifiBand($val) + { + $this->_propDict["wifiBand"] = $val; + return $this; + } + /** + * Gets the wifiBatteryCharge + * Estimated remaining battery charge in percentage reported by the media endpoint. + * + * @return int|null The wifiBatteryCharge + */ + public function getWifiBatteryCharge() + { + if (array_key_exists("wifiBatteryCharge", $this->_propDict)) { + return $this->_propDict["wifiBatteryCharge"]; + } else { + return null; + } + } + + /** + * Sets the wifiBatteryCharge + * Estimated remaining battery charge in percentage reported by the media endpoint. + * + * @param int $val The value of the wifiBatteryCharge + * + * @return NetworkInfo + */ + public function setWifiBatteryCharge($val) + { + $this->_propDict["wifiBatteryCharge"] = $val; + return $this; + } + /** + * Gets the wifiChannel + * WiFi channel used by the media endpoint. + * + * @return int|null The wifiChannel + */ + public function getWifiChannel() + { + if (array_key_exists("wifiChannel", $this->_propDict)) { + return $this->_propDict["wifiChannel"]; + } else { + return null; + } + } + + /** + * Sets the wifiChannel + * WiFi channel used by the media endpoint. + * + * @param int $val The value of the wifiChannel + * + * @return NetworkInfo + */ + public function setWifiChannel($val) + { + $this->_propDict["wifiChannel"] = $val; + return $this; + } + /** + * Gets the wifiMicrosoftDriver + * Name of the Microsoft WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @return string|null The wifiMicrosoftDriver + */ + public function getWifiMicrosoftDriver() + { + if (array_key_exists("wifiMicrosoftDriver", $this->_propDict)) { + return $this->_propDict["wifiMicrosoftDriver"]; + } else { + return null; + } + } + + /** + * Sets the wifiMicrosoftDriver + * Name of the Microsoft WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @param string $val The value of the wifiMicrosoftDriver + * + * @return NetworkInfo + */ + public function setWifiMicrosoftDriver($val) + { + $this->_propDict["wifiMicrosoftDriver"] = $val; + return $this; + } + /** + * Gets the wifiMicrosoftDriverVersion + * Version of the Microsoft WiFi driver used by the media endpoint. + * + * @return string|null The wifiMicrosoftDriverVersion + */ + public function getWifiMicrosoftDriverVersion() + { + if (array_key_exists("wifiMicrosoftDriverVersion", $this->_propDict)) { + return $this->_propDict["wifiMicrosoftDriverVersion"]; + } else { + return null; + } + } + + /** + * Sets the wifiMicrosoftDriverVersion + * Version of the Microsoft WiFi driver used by the media endpoint. + * + * @param string $val The value of the wifiMicrosoftDriverVersion + * + * @return NetworkInfo + */ + public function setWifiMicrosoftDriverVersion($val) + { + $this->_propDict["wifiMicrosoftDriverVersion"] = $val; + return $this; + } + + /** + * Gets the wifiRadioType + * Type of WiFi radio used by the media endpoint. Possible values are: unknown, wifi80211a, wifi80211b, wifi80211g, wifi80211n, wifi80211ac, wifi80211ax, unknownFutureValue. + * + * @return WifiRadioType|null The wifiRadioType + */ + public function getWifiRadioType() + { + if (array_key_exists("wifiRadioType", $this->_propDict)) { + if (is_a($this->_propDict["wifiRadioType"], "\Microsoft\Graph\CallRecords\Model\WifiRadioType") || is_null($this->_propDict["wifiRadioType"])) { + return $this->_propDict["wifiRadioType"]; + } else { + $this->_propDict["wifiRadioType"] = new WifiRadioType($this->_propDict["wifiRadioType"]); + return $this->_propDict["wifiRadioType"]; + } + } + return null; + } + + /** + * Sets the wifiRadioType + * Type of WiFi radio used by the media endpoint. Possible values are: unknown, wifi80211a, wifi80211b, wifi80211g, wifi80211n, wifi80211ac, wifi80211ax, unknownFutureValue. + * + * @param WifiRadioType $val The value to assign to the wifiRadioType + * + * @return NetworkInfo The NetworkInfo + */ + public function setWifiRadioType($val) + { + $this->_propDict["wifiRadioType"] = $val; + return $this; + } + /** + * Gets the wifiSignalStrength + * WiFi signal strength in percentage reported by the media endpoint. + * + * @return int|null The wifiSignalStrength + */ + public function getWifiSignalStrength() + { + if (array_key_exists("wifiSignalStrength", $this->_propDict)) { + return $this->_propDict["wifiSignalStrength"]; + } else { + return null; + } + } + + /** + * Sets the wifiSignalStrength + * WiFi signal strength in percentage reported by the media endpoint. + * + * @param int $val The value of the wifiSignalStrength + * + * @return NetworkInfo + */ + public function setWifiSignalStrength($val) + { + $this->_propDict["wifiSignalStrength"] = $val; + return $this; + } + /** + * Gets the wifiVendorDriver + * Name of the WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @return string|null The wifiVendorDriver + */ + public function getWifiVendorDriver() + { + if (array_key_exists("wifiVendorDriver", $this->_propDict)) { + return $this->_propDict["wifiVendorDriver"]; + } else { + return null; + } + } + + /** + * Sets the wifiVendorDriver + * Name of the WiFi driver used by the media endpoint. Value may be localized based on the language used by endpoint. + * + * @param string $val The value of the wifiVendorDriver + * + * @return NetworkInfo + */ + public function setWifiVendorDriver($val) + { + $this->_propDict["wifiVendorDriver"] = $val; + return $this; + } + /** + * Gets the wifiVendorDriverVersion + * Version of the WiFi driver used by the media endpoint. + * + * @return string|null The wifiVendorDriverVersion + */ + public function getWifiVendorDriverVersion() + { + if (array_key_exists("wifiVendorDriverVersion", $this->_propDict)) { + return $this->_propDict["wifiVendorDriverVersion"]; + } else { + return null; + } + } + + /** + * Sets the wifiVendorDriverVersion + * Version of the WiFi driver used by the media endpoint. + * + * @param string $val The value of the wifiVendorDriverVersion + * + * @return NetworkInfo + */ + public function setWifiVendorDriverVersion($val) + { + $this->_propDict["wifiVendorDriverVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ParticipantEndpoint.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ParticipantEndpoint.php new file mode 100644 index 0000000..b7b065f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ParticipantEndpoint.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\CallRecords\Model\UserFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new UserFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * The feedback provided by the user of this endpoint about the quality of the session. + * + * @param UserFeedback $val The value to assign to the feedback + * + * @return ParticipantEndpoint The ParticipantEndpoint + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + /** + * Gets the identity + * Identity associated with the endpoint. + * + * @return \Microsoft\Graph\Model\IdentitySet|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new \Microsoft\Graph\Model\IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity associated with the endpoint. + * + * @param \Microsoft\Graph\Model\IdentitySet $val The value to assign to the identity + * + * @return ParticipantEndpoint The ParticipantEndpoint + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ProductFamily.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ProductFamily.php new file mode 100644 index 0000000..268f30b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ProductFamily.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["callDurationSource"], "\Microsoft\Graph\CallRecords\Model\PstnCallDurationSource") || is_null($this->_propDict["callDurationSource"])) { + return $this->_propDict["callDurationSource"]; + } else { + $this->_propDict["callDurationSource"] = new PstnCallDurationSource($this->_propDict["callDurationSource"]); + return $this->_propDict["callDurationSource"]; + } + } + return null; + } + + /** + * Sets the callDurationSource + * The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator may provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft. + * + * @param PstnCallDurationSource $val The value to assign to the callDurationSource + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setCallDurationSource($val) + { + $this->_propDict["callDurationSource"] = $val; + return $this; + } + /** + * Gets the calleeNumber + * Number dialed in E.164 format. + * + * @return string|null The calleeNumber + */ + public function getCalleeNumber() + { + if (array_key_exists("calleeNumber", $this->_propDict)) { + return $this->_propDict["calleeNumber"]; + } else { + return null; + } + } + + /** + * Sets the calleeNumber + * Number dialed in E.164 format. + * + * @param string $val The value of the calleeNumber + * + * @return PstnCallLogRow + */ + public function setCalleeNumber($val) + { + $this->_propDict["calleeNumber"] = $val; + return $this; + } + /** + * Gets the callerNumber + * Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format. + * + * @return string|null The callerNumber + */ + public function getCallerNumber() + { + if (array_key_exists("callerNumber", $this->_propDict)) { + return $this->_propDict["callerNumber"]; + } else { + return null; + } + } + + /** + * Sets the callerNumber + * Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format. + * + * @param string $val The value of the callerNumber + * + * @return PstnCallLogRow + */ + public function setCallerNumber($val) + { + $this->_propDict["callerNumber"] = $val; + return $this; + } + /** + * Gets the callId + * Call identifier. Not guaranteed to be unique. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Call identifier. Not guaranteed to be unique. + * + * @param string $val The value of the callId + * + * @return PstnCallLogRow + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + /** + * Gets the callType + * Whether the call was a PSTN outbound or inbound call and the type of call such as a call placed by a user or an audio conference. + * + * @return string|null The callType + */ + public function getCallType() + { + if (array_key_exists("callType", $this->_propDict)) { + return $this->_propDict["callType"]; + } else { + return null; + } + } + + /** + * Sets the callType + * Whether the call was a PSTN outbound or inbound call and the type of call such as a call placed by a user or an audio conference. + * + * @param string $val The value of the callType + * + * @return PstnCallLogRow + */ + public function setCallType($val) + { + $this->_propDict["callType"] = $val; + return $this; + } + + /** + * Gets the charge + * Amount of money or cost of the call that is charged to your account. + * + * @return \Microsoft\Graph\Model\Decimal|null The charge + */ + public function getCharge() + { + if (array_key_exists("charge", $this->_propDict)) { + if (is_a($this->_propDict["charge"], "\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["charge"])) { + return $this->_propDict["charge"]; + } else { + $this->_propDict["charge"] = new \Microsoft\Graph\Model\Decimal($this->_propDict["charge"]); + return $this->_propDict["charge"]; + } + } + return null; + } + + /** + * Sets the charge + * Amount of money or cost of the call that is charged to your account. + * + * @param \Microsoft\Graph\Model\Decimal $val The value to assign to the charge + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setCharge($val) + { + $this->_propDict["charge"] = $val; + return $this; + } + /** + * Gets the conferenceId + * ID of the audio conference. + * + * @return string|null The conferenceId + */ + public function getConferenceId() + { + if (array_key_exists("conferenceId", $this->_propDict)) { + return $this->_propDict["conferenceId"]; + } else { + return null; + } + } + + /** + * Sets the conferenceId + * ID of the audio conference. + * + * @param string $val The value of the conferenceId + * + * @return PstnCallLogRow + */ + public function setConferenceId($val) + { + $this->_propDict["conferenceId"] = $val; + return $this; + } + + /** + * Gets the connectionCharge + * Connection fee price. + * + * @return \Microsoft\Graph\Model\Decimal|null The connectionCharge + */ + public function getConnectionCharge() + { + if (array_key_exists("connectionCharge", $this->_propDict)) { + if (is_a($this->_propDict["connectionCharge"], "\Microsoft\Graph\Model\Decimal") || is_null($this->_propDict["connectionCharge"])) { + return $this->_propDict["connectionCharge"]; + } else { + $this->_propDict["connectionCharge"] = new \Microsoft\Graph\Model\Decimal($this->_propDict["connectionCharge"]); + return $this->_propDict["connectionCharge"]; + } + } + return null; + } + + /** + * Sets the connectionCharge + * Connection fee price. + * + * @param \Microsoft\Graph\Model\Decimal $val The value to assign to the connectionCharge + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setConnectionCharge($val) + { + $this->_propDict["connectionCharge"] = $val; + return $this; + } + /** + * Gets the currency + * Type of currency used to calculate the cost of the call (ISO 4217). + * + * @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 + * Type of currency used to calculate the cost of the call (ISO 4217). + * + * @param string $val The value of the currency + * + * @return PstnCallLogRow + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + /** + * Gets the destinationContext + * Whether the call was domestic (within a country or region) or international (outside a country or region) based on the user's location. + * + * @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 + * Whether the call was domestic (within a country or region) or international (outside a country or region) based on the user's location. + * + * @param string $val The value of the destinationContext + * + * @return PstnCallLogRow + */ + public function setDestinationContext($val) + { + $this->_propDict["destinationContext"] = $val; + return $this; + } + /** + * Gets the destinationName + * Country or region dialed. + * + * @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 + * Country or region dialed. + * + * @param string $val The value of the destinationName + * + * @return PstnCallLogRow + */ + public function setDestinationName($val) + { + $this->_propDict["destinationName"] = $val; + return $this; + } + /** + * Gets the duration + * How long the call was connected, in seconds. + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * How long the call was connected, in seconds. + * + * @param int $val The value of the duration + * + * @return PstnCallLogRow + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Call end time. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Call end time. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the id + * Unique call identifier. GUID. + * + * @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 + * Unique call identifier. GUID. + * + * @param string $val The value of the id + * + * @return PstnCallLogRow + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the inventoryType + * User's phone number type, such as a service of toll-free number. + * + * @return string|null The inventoryType + */ + public function getInventoryType() + { + if (array_key_exists("inventoryType", $this->_propDict)) { + return $this->_propDict["inventoryType"]; + } else { + return null; + } + } + + /** + * Sets the inventoryType + * User's phone number type, such as a service of toll-free number. + * + * @param string $val The value of the inventoryType + * + * @return PstnCallLogRow + */ + public function setInventoryType($val) + { + $this->_propDict["inventoryType"] = $val; + return $this; + } + /** + * Gets the licenseCapability + * The license used for the call. + * + * @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 + * The license used for the call. + * + * @param string $val The value of the licenseCapability + * + * @return PstnCallLogRow + */ + public function setLicenseCapability($val) + { + $this->_propDict["licenseCapability"] = $val; + return $this; + } + /** + * Gets the operator + * The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. + * + * @return string|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + return $this->_propDict["operator"]; + } else { + return null; + } + } + + /** + * Sets the operator + * The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. + * + * @param string $val The value of the operator + * + * @return PstnCallLogRow + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Call start time. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Call start time. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return PstnCallLogRow The PstnCallLogRow + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the tenantCountryCode + * Country code of the tenant, ISO 3166-1 alpha-2. + * + * @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 + * Country code of the tenant, ISO 3166-1 alpha-2. + * + * @param string $val The value of the tenantCountryCode + * + * @return PstnCallLogRow + */ + public function setTenantCountryCode($val) + { + $this->_propDict["tenantCountryCode"] = $val; + return $this; + } + /** + * Gets the usageCountryCode + * Country code of the user, ISO 3166-1 alpha-2. + * + * @return string|null The usageCountryCode + */ + public function getUsageCountryCode() + { + if (array_key_exists("usageCountryCode", $this->_propDict)) { + return $this->_propDict["usageCountryCode"]; + } else { + return null; + } + } + + /** + * Sets the usageCountryCode + * Country code of the user, ISO 3166-1 alpha-2. + * + * @param string $val The value of the usageCountryCode + * + * @return PstnCallLogRow + */ + public function setUsageCountryCode($val) + { + $this->_propDict["usageCountryCode"] = $val; + return $this; + } + /** + * Gets the userDisplayName + * Display name of the user. + * + * @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 + * Display name of the user. + * + * @param string $val The value of the userDisplayName + * + * @return PstnCallLogRow + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + /** + * Gets the userId + * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * + * @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 + * Calling user's ID in Graph. GUID. This and other user info will be null/empty for bot call types (ucap_in, ucap_out). + * + * @param string $val The value of the userId + * + * @return PstnCallLogRow + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @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 + * UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address. + * + * @param string $val The value of the userPrincipalName + * + * @return PstnCallLogRow + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Segment.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Segment.php new file mode 100644 index 0000000..e0f66f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Segment.php @@ -0,0 +1,222 @@ +_propDict)) { + if (is_a($this->_propDict["callee"], "\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["callee"])) { + return $this->_propDict["callee"]; + } else { + $this->_propDict["callee"] = new Endpoint($this->_propDict["callee"]); + return $this->_propDict["callee"]; + } + } + return null; + } + + /** + * Sets the callee + * Endpoint that answered this segment. + * + * @param Endpoint $val The callee + * + * @return Segment + */ + public function setCallee($val) + { + $this->_propDict["callee"] = $val; + return $this; + } + + /** + * Gets the caller + * Endpoint that initiated this segment. + * + * @return Endpoint|null The caller + */ + public function getCaller() + { + if (array_key_exists("caller", $this->_propDict)) { + if (is_a($this->_propDict["caller"], "\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["caller"])) { + return $this->_propDict["caller"]; + } else { + $this->_propDict["caller"] = new Endpoint($this->_propDict["caller"]); + return $this->_propDict["caller"]; + } + } + return null; + } + + /** + * Sets the caller + * Endpoint that initiated this segment. + * + * @param Endpoint $val The caller + * + * @return Segment + */ + public function setCaller($val) + { + $this->_propDict["caller"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * UTC time when the segment ended. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the segment ended. The DateTimeOffset 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 endDateTime + * + * @return Segment + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the failureInfo + * Failure information associated with the segment if it failed. + * + * @return FailureInfo|null The failureInfo + */ + public function getFailureInfo() + { + if (array_key_exists("failureInfo", $this->_propDict)) { + if (is_a($this->_propDict["failureInfo"], "\Microsoft\Graph\CallRecords\Model\FailureInfo") || is_null($this->_propDict["failureInfo"])) { + return $this->_propDict["failureInfo"]; + } else { + $this->_propDict["failureInfo"] = new FailureInfo($this->_propDict["failureInfo"]); + return $this->_propDict["failureInfo"]; + } + } + return null; + } + + /** + * Sets the failureInfo + * Failure information associated with the segment if it failed. + * + * @param FailureInfo $val The failureInfo + * + * @return Segment + */ + public function setFailureInfo($val) + { + $this->_propDict["failureInfo"] = $val; + return $this; + } + + + /** + * Gets the media + * Media associated with this segment. + * + * @return array|null The media + */ + public function getMedia() + { + if (array_key_exists("media", $this->_propDict)) { + return $this->_propDict["media"]; + } else { + return null; + } + } + + /** + * Sets the media + * Media associated with this segment. + * + * @param Media[] $val The media + * + * @return Segment + */ + public function setMedia($val) + { + $this->_propDict["media"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC time when the segment started. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC time when the segment started. The DateTimeOffset 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 startDateTime + * + * @return Segment + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ServiceEndpoint.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ServiceEndpoint.php new file mode 100644 index 0000000..307a1ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ServiceEndpoint.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["role"], "\Microsoft\Graph\CallRecords\Model\ServiceRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new ServiceRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * Identifies the role of the service used by this endpoint. Possible values are: unknown, customBot, skypeForBusinessMicrosoftTeamsGateway, skypeForBusinessAudioVideoMcu, skypeForBusinessApplicationSharingMcu, skypeForBusinessCallQueues, skypeForBusinessAutoAttendant, mediationServer, mediationServerCloudConnectorEdition, exchangeUnifiedMessagingService, mediaController, conferencingAnnouncementService, conferencingAttendant, audioTeleconferencerController, skypeForBusinessUnifiedCommunicationApplicationPlatform, responseGroupServiceAnnouncementService, gateway, skypeTranslator, skypeForBusinessAttendant, responseGroupService, voicemail, unknownFutureValue. + * + * @param ServiceRole $val The value to assign to the role + * + * @return ServiceUserAgent The ServiceUserAgent + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Session.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Session.php new file mode 100644 index 0000000..faf97fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Session.php @@ -0,0 +1,252 @@ +_propDict)) { + if (is_a($this->_propDict["callee"], "\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["callee"])) { + return $this->_propDict["callee"]; + } else { + $this->_propDict["callee"] = new Endpoint($this->_propDict["callee"]); + return $this->_propDict["callee"]; + } + } + return null; + } + + /** + * Sets the callee + * Endpoint that answered the session. + * + * @param Endpoint $val The callee + * + * @return Session + */ + public function setCallee($val) + { + $this->_propDict["callee"] = $val; + return $this; + } + + /** + * Gets the caller + * Endpoint that initiated the session. + * + * @return Endpoint|null The caller + */ + public function getCaller() + { + if (array_key_exists("caller", $this->_propDict)) { + if (is_a($this->_propDict["caller"], "\Microsoft\Graph\CallRecords\Model\Endpoint") || is_null($this->_propDict["caller"])) { + return $this->_propDict["caller"]; + } else { + $this->_propDict["caller"] = new Endpoint($this->_propDict["caller"]); + return $this->_propDict["caller"]; + } + } + return null; + } + + /** + * Sets the caller + * Endpoint that initiated the session. + * + * @param Endpoint $val The caller + * + * @return Session + */ + public function setCaller($val) + { + $this->_propDict["caller"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * UTC time when the last user left the session. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * UTC time when the last user left the session. The DateTimeOffset 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 endDateTime + * + * @return Session + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the failureInfo + * Failure information associated with the session if the session failed. + * + * @return FailureInfo|null The failureInfo + */ + public function getFailureInfo() + { + if (array_key_exists("failureInfo", $this->_propDict)) { + if (is_a($this->_propDict["failureInfo"], "\Microsoft\Graph\CallRecords\Model\FailureInfo") || is_null($this->_propDict["failureInfo"])) { + return $this->_propDict["failureInfo"]; + } else { + $this->_propDict["failureInfo"] = new FailureInfo($this->_propDict["failureInfo"]); + return $this->_propDict["failureInfo"]; + } + } + return null; + } + + /** + * Sets the failureInfo + * Failure information associated with the session if the session failed. + * + * @param FailureInfo $val The failureInfo + * + * @return Session + */ + public function setFailureInfo($val) + { + $this->_propDict["failureInfo"] = $val; + return $this; + } + + + /** + * Gets the modalities + * List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @return array|null The modalities + */ + public function getModalities() + { + if (array_key_exists("modalities", $this->_propDict)) { + return $this->_propDict["modalities"]; + } else { + return null; + } + } + + /** + * Sets the modalities + * List of modalities present in the session. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue. + * + * @param Modality[] $val The modalities + * + * @return Session + */ + public function setModalities($val) + { + $this->_propDict["modalities"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * UTC fime when the first user joined the session. The DateTimeOffset 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * UTC fime when the first user joined the session. The DateTimeOffset 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 startDateTime + * + * @return Session + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + + /** + * Gets the segments + * The list of segments involved in the session. Read-only. Nullable. + * + * @return array|null The segments + */ + public function getSegments() + { + if (array_key_exists("segments", $this->_propDict)) { + return $this->_propDict["segments"]; + } else { + return null; + } + } + + /** + * Sets the segments + * The list of segments involved in the session. Read-only. Nullable. + * + * @param Segment[] $val The segments + * + * @return Session + */ + public function setSegments($val) + { + $this->_propDict["segments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserAgent.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserAgent.php new file mode 100644 index 0000000..cf3daf1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserAgent.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["applicationVersion"]; + } else { + return null; + } + } + + /** + * Sets the applicationVersion + * Identifies the version of application software used by this endpoint. + * + * @param string $val The value of the applicationVersion + * + * @return UserAgent + */ + public function setApplicationVersion($val) + { + $this->_propDict["applicationVersion"] = $val; + return $this; + } + /** + * Gets the headerValue + * User-agent header value reported by this endpoint. + * + * @return string|null The headerValue + */ + public function getHeaderValue() + { + if (array_key_exists("headerValue", $this->_propDict)) { + return $this->_propDict["headerValue"]; + } else { + return null; + } + } + + /** + * Sets the headerValue + * User-agent header value reported by this endpoint. + * + * @param string $val The value of the headerValue + * + * @return UserAgent + */ + public function setHeaderValue($val) + { + $this->_propDict["headerValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedback.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedback.php new file mode 100644 index 0000000..be11fd8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedback.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["rating"], "\Microsoft\Graph\CallRecords\Model\UserFeedbackRating") || is_null($this->_propDict["rating"])) { + return $this->_propDict["rating"]; + } else { + $this->_propDict["rating"] = new UserFeedbackRating($this->_propDict["rating"]); + return $this->_propDict["rating"]; + } + } + return null; + } + + /** + * Sets the rating + * The rating provided by the user of this endpoint about the quality of this Session. Possible values are: notRated, bad, poor, fair, good, excellent, unknownFutureValue. + * + * @param UserFeedbackRating $val The value to assign to the rating + * + * @return UserFeedback The UserFeedback + */ + public function setRating($val) + { + $this->_propDict["rating"] = $val; + return $this; + } + /** + * Gets the text + * The feedback text provided by the user of this endpoint for the session. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * The feedback text provided by the user of this endpoint for the session. + * + * @param string $val The value of the text + * + * @return UserFeedback + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the tokens + * The set of feedback tokens provided by the user of this endpoint for the session. This is a set of Boolean properties. The property names should not be relied upon since they may change depending on what tokens are offered to the user. + * + * @return FeedbackTokenSet|null The tokens + */ + public function getTokens() + { + if (array_key_exists("tokens", $this->_propDict)) { + if (is_a($this->_propDict["tokens"], "\Microsoft\Graph\CallRecords\Model\FeedbackTokenSet") || is_null($this->_propDict["tokens"])) { + return $this->_propDict["tokens"]; + } else { + $this->_propDict["tokens"] = new FeedbackTokenSet($this->_propDict["tokens"]); + return $this->_propDict["tokens"]; + } + } + return null; + } + + /** + * Sets the tokens + * The set of feedback tokens provided by the user of this endpoint for the session. This is a set of Boolean properties. The property names should not be relied upon since they may change depending on what tokens are offered to the user. + * + * @param FeedbackTokenSet $val The value to assign to the tokens + * + * @return UserFeedback The UserFeedback + */ + public function setTokens($val) + { + $this->_propDict["tokens"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedbackRating.php b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedbackRating.php new file mode 100644 index 0000000..3c87662 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedbackRating.php @@ -0,0 +1,39 @@ +_value = $value; + } + + /** + * Check if the enum has the given value + * + * @param string $value + * @return bool the enum has the value + */ + public function has($value) + { + return in_array($value, self::toArray(), true); + } + + /** + * Check if the enum is defined + * + * @param string $value the value of the enum + * + * @return bool True if the value is defined + */ + public function is($value) + { + return $this->_value === $value; + } + + /** + * Create a new class for the enum in question + * + * @return mixed + * @throws \ReflectionException + */ + public function toArray() + { + $class = get_called_class(); + + if (!(array_key_exists($class, self::$constants))) + { + $reflectionObj = new \ReflectionClass($class); + self::$constants[$class] = $reflectionObj->getConstants(); + } + return self::$constants[$class]; + } + + /** + * Get the value of the enum + * + * @return string value of the enum + */ + public function value() + { + return $this->_value; + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/Core/ExceptionWrapper.php b/vendor/microsoft/microsoft-graph/src/Core/ExceptionWrapper.php new file mode 100644 index 0000000..574b79d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Core/ExceptionWrapper.php @@ -0,0 +1,77 @@ +getResponse(); + + // Safety check for Guzzle < 7.0 + if (!$response) { + return $ex; + } + + /** @see \GuzzleHttp\Exception\RequestException::create() */ + if (preg_match('/^(.+: `.+ .+` resulted in a `.+ .+` response):\n/U', $ex->getMessage(), $match)) { + $message = $match[1]; + + $body = $response->getBody(); + + if (!$body->isSeekable() || !$body->isReadable()) { + return $ex; + } + + $summary = $body->getContents(); + $body->rewind(); + + if ($summary !== '') { + $message .= ":\n{$summary}\n"; + + //return new $ex($message, $ex->getRequest(), $ex->getResponse(), $ex, $ex->getHandlerContext()); + // Better: modify internal message inside original exception object (preserves the stack trace) + (new class() extends \Exception { + public static function overwriteProtectedMessage(\Exception $ex, $message) + { + $ex->message = $message; + } + })::overwriteProtectedMessage($ex, $message); + } + } + + return $ex; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php b/vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php new file mode 100644 index 0000000..4eebaa9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php @@ -0,0 +1,46 @@ +code}]: {$this->message}\n"; + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/AccessType.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/AccessType.php new file mode 100644 index 0000000..c678ae3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/AccessType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["accessType"], "\Microsoft\Graph\ExternalConnectors\Model\AccessType") || is_null($this->_propDict["accessType"])) { + return $this->_propDict["accessType"]; + } else { + $this->_propDict["accessType"] = new AccessType($this->_propDict["accessType"]); + return $this->_propDict["accessType"]; + } + } + return null; + } + + /** + * Sets the accessType + * The access granted to the identity. Possible values are: grant, deny. + * + * @param AccessType $val The value to assign to the accessType + * + * @return Acl The Acl + */ + public function setAccessType($val) + { + $this->_propDict["accessType"] = $val; + return $this; + } + + /** + * Gets the type + * The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external. + * + * @return AclType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\ExternalConnectors\Model\AclType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AclType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external. + * + * @param AclType $val The value to assign to the type + * + * @return Acl The Acl + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. + * + * @param string $val The value of the value + * + * @return Acl + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/AclType.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/AclType.php new file mode 100644 index 0000000..3420e58 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/AclType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["authorizedAppIds"]; + } else { + return null; + } + } + + /** + * Sets the authorizedAppIds + * A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection. + * + * @param string $val The value of the authorizedAppIds + * + * @return Configuration + */ + public function setAuthorizedAppIds($val) + { + $this->_propDict["authorizedAppIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ConnectionOperation.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ConnectionOperation.php new file mode 100644 index 0000000..07bb4a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ConnectionOperation.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new \Microsoft\Graph\Model\PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * If status is failed, provides more information about the error that caused the failure. + * + * @param \Microsoft\Graph\Model\PublicError $val The error + * + * @return ConnectionOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed. + * + * @return ConnectionOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\ExternalConnectors\Model\ConnectionOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ConnectionOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed. + * + * @param ConnectionOperationStatus $val The status + * + * @return ConnectionOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ConnectionOperationStatus.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ConnectionOperationStatus.php new file mode 100644 index 0000000..3181a30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ConnectionOperationStatus.php @@ -0,0 +1,37 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the External + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the connections + * + * @return array|null The connections + */ + public function getConnections() + { + if (array_key_exists("connections", $this->_propDict)) { + return $this->_propDict["connections"]; + } else { + return null; + } + } + + /** + * Sets the connections + * + * @param ExternalConnection[] $val The connections + * + * @return External + */ + public function setConnections($val) + { + $this->_propDict["connections"] = $val; + 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 External + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php new file mode 100644 index 0000000..7f3dcc2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php @@ -0,0 +1,274 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Microsoft\Graph\ExternalConnectors\Model\Configuration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new Configuration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional. + * + * @param Configuration $val The configuration + * + * @return ExternalConnection + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the connection displayed in the Microsoft 365 admin center. Optional. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the connection displayed in the Microsoft 365 admin center. Optional. + * + * @param string $val The description + * + * @return ExternalConnection + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the name + * The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. + * + * @param string $val The name + * + * @return ExternalConnection + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the state + * Indicates the current state of the connection. Possible values are draft, ready, obsolete, and limitExceeded. Required. + * + * @return ConnectionState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\ExternalConnectors\Model\ConnectionState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConnectionState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Indicates the current state of the connection. Possible values are draft, ready, obsolete, and limitExceeded. Required. + * + * @param ConnectionState $val The state + * + * @return ExternalConnection + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the groups + * Read-only. Nullable. + * + * @return array|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * Read-only. Nullable. + * + * @param ExternalGroup[] $val The groups + * + * @return ExternalConnection + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + + /** + * Gets the items + * Read-only. Nullable. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Read-only. Nullable. + * + * @param ExternalItem[] $val The items + * + * @return ExternalConnection + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the operations + * Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Read-only. Nullable. + * + * @param ConnectionOperation[] $val The operations + * + * @return ExternalConnection + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + /** + * Gets the schema + * Read-only. Nullable. + * + * @return Schema|null The schema + */ + public function getSchema() + { + if (array_key_exists("schema", $this->_propDict)) { + if (is_a($this->_propDict["schema"], "\Microsoft\Graph\ExternalConnectors\Model\Schema") || is_null($this->_propDict["schema"])) { + return $this->_propDict["schema"]; + } else { + $this->_propDict["schema"] = new Schema($this->_propDict["schema"]); + return $this->_propDict["schema"]; + } + } + return null; + } + + /** + * Sets the schema + * Read-only. Nullable. + * + * @param Schema $val The schema + * + * @return ExternalConnection + */ + public function setSchema($val) + { + $this->_propDict["schema"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalGroup.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalGroup.php new file mode 100644 index 0000000..b8c06b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalGroup.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the external group. Optional. + * + * @param string $val The description + * + * @return ExternalGroup + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The friendly name of the external group. Optional. + * + * @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 + * The friendly name of the external group. Optional. + * + * @param string $val The displayName + * + * @return ExternalGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the members + * A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. + * + * @param Identity[] $val The members + * + * @return ExternalGroup + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItem.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItem.php new file mode 100644 index 0000000..58b6208 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItem.php @@ -0,0 +1,123 @@ +_propDict)) { + return $this->_propDict["acl"]; + } else { + return null; + } + } + + /** + * Sets the acl + * An array of access control entries. Each entry specifies the access granted to a user or group. Required. + * + * @param Acl[] $val The acl + * + * @return ExternalItem + */ + public function setAcl($val) + { + $this->_propDict["acl"] = $val; + return $this; + } + + /** + * Gets the content + * A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional. + * + * @return ExternalItemContent|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContent") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = new ExternalItemContent($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional. + * + * @param ExternalItemContent $val The content + * + * @return ExternalItem + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the externalItemProperties + * A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required. + * + * @return Properties|null The externalItemProperties + */ + public function getExternalItemProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Microsoft\Graph\ExternalConnectors\Model\Properties") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new Properties($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the externalItemProperties + * A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required. + * + * @param Properties $val The externalItemProperties + * + * @return ExternalItem + */ + public function setExternalItemProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItemContent.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItemContent.php new file mode 100644 index 0000000..eb45fd0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItemContent.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContentType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ExternalItemContentType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of content in the value property. Possible values are text and html. These are the content types that the indexer supports, and not the file extension types allowed. Required. + * + * @param ExternalItemContentType $val The value to assign to the type + * + * @return ExternalItemContent The ExternalItemContent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The content for the externalItem. Required. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The content for the externalItem. Required. + * + * @param string $val The value of the value + * + * @return ExternalItemContent + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItemContentType.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItemContentType.php new file mode 100644 index 0000000..3fc4d00 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalItemContentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\ExternalConnectors\Model\IdentityType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new IdentityType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of identity. Possible values are: user or group for Azure AD identities and externalgroup for groups in an external system. + * + * @param IdentityType $val The type + * + * @return Identity + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/IdentityType.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/IdentityType.php new file mode 100644 index 0000000..cbc7dce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/IdentityType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["aliases"]; + } else { + return null; + } + } + + /** + * Sets the aliases + * A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, `, ^. Optional. + * + * @param string $val The value of the aliases + * + * @return Property + */ + public function setAliases($val) + { + $this->_propDict["aliases"] = $val; + return $this; + } + /** + * Gets the isQueryable + * Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. + * + * @return bool|null The isQueryable + */ + public function getIsQueryable() + { + if (array_key_exists("isQueryable", $this->_propDict)) { + return $this->_propDict["isQueryable"]; + } else { + return null; + } + } + + /** + * Sets the isQueryable + * Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. + * + * @param bool $val The value of the isQueryable + * + * @return Property + */ + public function setIsQueryable($val) + { + $this->_propDict["isQueryable"] = $val; + return $this; + } + /** + * Gets the isRefinable + * Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. + * + * @return bool|null The isRefinable + */ + public function getIsRefinable() + { + if (array_key_exists("isRefinable", $this->_propDict)) { + return $this->_propDict["isRefinable"]; + } else { + return null; + } + } + + /** + * Sets the isRefinable + * Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. + * + * @param bool $val The value of the isRefinable + * + * @return Property + */ + public function setIsRefinable($val) + { + $this->_propDict["isRefinable"] = $val; + return $this; + } + /** + * Gets the isRetrievable + * Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. + * + * @return bool|null The isRetrievable + */ + public function getIsRetrievable() + { + if (array_key_exists("isRetrievable", $this->_propDict)) { + return $this->_propDict["isRetrievable"]; + } else { + return null; + } + } + + /** + * Sets the isRetrievable + * Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. + * + * @param bool $val The value of the isRetrievable + * + * @return Property + */ + public function setIsRetrievable($val) + { + $this->_propDict["isRetrievable"] = $val; + return $this; + } + /** + * Gets the isSearchable + * Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. + * + * @return bool|null The isSearchable + */ + public function getIsSearchable() + { + if (array_key_exists("isSearchable", $this->_propDict)) { + return $this->_propDict["isSearchable"]; + } else { + return null; + } + } + + /** + * Sets the isSearchable + * Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. + * + * @param bool $val The value of the isSearchable + * + * @return Property + */ + public function setIsSearchable($val) + { + $this->_propDict["isSearchable"] = $val; + return $this; + } + + /** + * Gets the labels + * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + * + * @return Label|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + if (is_a($this->_propDict["labels"], "\Microsoft\Graph\ExternalConnectors\Model\Label") || is_null($this->_propDict["labels"])) { + return $this->_propDict["labels"]; + } else { + $this->_propDict["labels"] = new Label($this->_propDict["labels"]); + return $this->_propDict["labels"]; + } + } + return null; + } + + /** + * Sets the labels + * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. + * + * @param Label $val The value to assign to the labels + * + * @return Property The Property + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + /** + * Gets the name + * The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, `, ^. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, `, ^. Required. + * + * @param string $val The value of the name + * + * @return Property + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the type + * The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required. + * + * @return PropertyType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\ExternalConnectors\Model\PropertyType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PropertyType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required. + * + * @param PropertyType $val The value to assign to the type + * + * @return Property The Property + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/PropertyType.php b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/PropertyType.php new file mode 100644 index 0000000..3dd137b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/PropertyType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["baseType"]; + } else { + return null; + } + } + + /** + * Sets the baseType + * Must be set to microsoft.graph.externalItem. Required. + * + * @param string $val The baseType + * + * @return Schema + */ + public function setBaseType($val) + { + $this->_propDict["baseType"] = $val; + return $this; + } + + + /** + * Gets the schemaProperties + * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. + * + * @return array|null The schemaProperties + */ + public function getSchemaProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the schemaProperties + * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. + * + * @param Property[] $val The schemaProperties + * + * @return Schema + */ + public function setSchemaProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Graph.php b/vendor/microsoft/microsoft-graph/src/Graph.php new file mode 100644 index 0000000..03c49a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Graph.php @@ -0,0 +1,184 @@ +_apiVersion = GraphConstants::API_VERSION; + $this->_baseUrl = GraphConstants::REST_ENDPOINT; + } + + /** + * Sets the Base URL to call (defaults to https://graph.microsoft.com) + * + * @param string $baseUrl The URL to call + * + * @return Graph object + */ + public function setBaseUrl($baseUrl) + { + $this->_baseUrl = $baseUrl; + return $this; + } + + /** + * Sets the API version to use, e.g. "beta" (defaults to v1.0) + * + * @param string $apiVersion The API version to use + * + * @return Graph object + */ + public function setApiVersion($apiVersion) + { + $this->_apiVersion = $apiVersion; + return $this; + } + + /** + * Sets the access token. A valid access token is required + * to run queries against Graph + * + * @param string $accessToken The user's access token, retrieved from + * MS auth + * + * @return Graph object + */ + public function setAccessToken($accessToken) + { + $this->_accessToken = $accessToken; + return $this; + } + + /** + * Sets the proxy port. This allows you + * to use tools such as Fiddler to view + * requests and responses made with Guzzle + * + * @param string port The port number to use + * @param bool $verifySSL Whether SSL verification should be enabled + * + * @return Graph object + */ + public function setProxyPort($port, $verifySSL = false) + { + $this->_proxyPort = $port; + $this->_proxyVerifySSL = $verifySSL; + + return $this; + } + + /** + * Creates a new request object with the given Graph information + * + * @param string $requestType The HTTP method to use, e.g. "GET" or "POST" + * @param string $endpoint The Graph endpoint to call + * + * @return GraphRequest The request object, which can be used to + * make queries against Graph + * @throws Exception\GraphException + */ + public function createRequest($requestType, $endpoint) + { + return new GraphRequest( + $requestType, + $endpoint, + $this->_accessToken, + $this->_baseUrl, + $this->_apiVersion, + $this->_proxyPort, + $this->_proxyVerifySSL + ); + } + + /** + * Creates a new collection request object with the given + * Graph information + * + * @param string $requestType The HTTP method to use, e.g. "GET" or "POST" + * @param string $endpoint The Graph endpoint to call + * + * @return GraphCollectionRequest The request object, which can be + * used to make queries against Graph + * @throws Exception\GraphException + */ + public function createCollectionRequest($requestType, $endpoint) + { + return new GraphCollectionRequest( + $requestType, + $endpoint, + $this->_accessToken, + $this->_baseUrl, + $this->_apiVersion, + $this->_proxyPort, + $this->_proxyVerifySSL + ); + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php b/vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php new file mode 100644 index 0000000..8512d88 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php @@ -0,0 +1,241 @@ +end = false; + } + + /** + * Gets the number of entries in the collection + * + * @return int the number of entries + * @throws GraphException + * @throws \GuzzleHttp\Exception\GuzzleException + */ + public function count() + { + $query = '$count=true'; + $request = new GraphRequest( + $this->requestType, + $this->endpoint . $this->getConcatenator() . $query, + $this->accessToken, + $this->baseUrl, + $this->apiVersion, + $this->proxyPort + ); + $result = $request->execute()->getBody(); + + if (array_key_exists("@odata.count", $result)) { + return $result['@odata.count']; + } + + /* The $count query parameter for the Graph API + is available on several models but not all */ + trigger_error('Count unavailable for this collection'); + } + + /** + * Sets the number of results to return with each call + * to "getPage()" + * + * @param int $pageSize The page size + * + * @throws GraphException if the requested page size exceeds + * the Graph's defined page size limit + * @return GraphCollectionRequest object + */ + public function setPageSize($pageSize) + { + if ($pageSize > GraphConstants::MAX_PAGE_SIZE) { + throw new GraphException(GraphConstants::MAX_PAGE_SIZE_ERROR); + } + $this->pageSize = $pageSize; + return $this; + } + + /** + * Gets the next page of results + * + * @return array of objects of class $returnType + * @throws \GuzzleHttp\Exception\GuzzleException + */ + public function getPage() + { + $this->setPageCallInfo(); + $response = $this->execute(); + + return $this->processPageCallReturn($response); + } + + /** + * Sets the required query information to get a new page + * + * @return GraphCollectionRequest + */ + public function setPageCallInfo() + { + // Store these to add temporary query data to request + $this->originalReturnType = $this->returnType; + + /* This allows processPageCallReturn to receive + all of the response data, not just the objects */ + $this->returnType = null; + + if ($this->end) { + trigger_error('Reached end of collection'); + } + + if ($this->nextLink) { + $this->endpoint = "/" . implode("/", array_slice(explode("/", $this->nextLink), 4)); + } else { + // This is the first request to the endpoint + if ($this->pageSize) { + $this->endpoint .= $this->getConcatenator() . '$top=' . $this->pageSize; + } + } + return $this; + } + + /** + * Clean up after making a page call request + * + * @param GraphResponse $response The GraphResponse returned + * after making a page call + * + * @return mixed result of the call, formatted according + * to the returnType set by the user + */ + public function processPageCallReturn($response) + { + $this->nextLink = $response->getNextLink(); + $this->deltaLink = $response->getDeltaLink(); + + /* If no skip token is returned, we have reached the end + of the collection */ + if (!$this->nextLink) { + $this->end = true; + } + + $result = $response->getBody(); + + // Cast as user-defined model + if ($this->originalReturnType) { + $result = $response->getResponseAsObject($this->originalReturnType); + } + + // Restore user-defined parameters + $this->returnType = $this->originalReturnType; + + return $result; + } + + /** + * Gets whether the user has reached the end of the collection + * + * @return bool The end + */ + public function isEnd() + { + return $this->end; + } + + /** + * Gets a delta link to use with subsequent + * calls to /delta + * + * @return string|null The delta link + */ + public function getDeltaLink() + { + return $this->deltaLink; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php b/vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php new file mode 100644 index 0000000..a2cd360 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php @@ -0,0 +1,555 @@ + string) + */ + protected $headers; + /** + * The body of the request (optional) + * + * @var string + */ + protected $requestBody; + /** + * The type of request to make ("GET", "POST", etc.) + * + * @var object + */ + protected $requestType; + /** + * True if the response should be returned as + * a stream + * + * @var bool + */ + protected $returnsStream; + /** + * The return type to cast the response as + * + * @var object + */ + protected $returnType; + /** + * The timeout, in seconds + * + * @var string + */ + protected $timeout; + /** + * The proxy port to use. Null to disable + * + * @var string + */ + protected $proxyPort; + /** + * Whether SSL verification should be used for proxy requests + * + * @var bool + */ + protected $proxyVerifySSL; + /** + * Request options to decide if Guzzle Client should throw exceptions when http code is 4xx or 5xx + * + * @var bool + */ + protected $http_errors; + + /** + * Constructs a new Graph Request object + * + * @param string $requestType The HTTP method to use, e.g. "GET" or "POST" + * @param string $endpoint The Graph endpoint to call + * @param string $accessToken A valid access token to validate the Graph call + * @param string $baseUrl The base URL to call + * @param string $apiVersion The API version to use + * @param string $proxyPort The url where to proxy through + * @param bool $proxyVerifySSL Whether the proxy requests should perform SSL verification + * @throws GraphException when no access token is provided + */ + public function __construct($requestType, $endpoint, $accessToken, $baseUrl, $apiVersion, $proxyPort = null, $proxyVerifySSL = false) + { + $this->requestType = $requestType; + $this->endpoint = $endpoint; + $this->accessToken = $accessToken; + $this->http_errors = true; + + if (!$this->accessToken) { + throw new GraphException(GraphConstants::NO_ACCESS_TOKEN); + } + + $this->baseUrl = $baseUrl; + $this->apiVersion = $apiVersion; + $this->timeout = 100; + $this->headers = $this->_getDefaultHeaders(); + $this->proxyPort = $proxyPort; + $this->proxyVerifySSL = $proxyVerifySSL; + } + + /** + * Gets the Base URL the request is made to + * + * @return string + */ + public function getBaseUrl() + { + return $this->baseUrl; + } + + /** + * Gets the API version in use for the request + * + * @return string + */ + public function getApiVersion() + { + return $this->apiVersion; + } + + /** + * Gets whether request returns a stream or not + * + * @return boolean + */ + public function getReturnsStream() + { + return $this->returnsStream; + } + + /** + * Sets a http errors option + * + * @param string $http_errors A bool option to the Graph call + * + * @return $this object + */ + public function setHttpErrors($http_errors) + { + $this->http_errors = $http_errors; + return $this; + } + + /** + * Sets a new accessToken + * + * @param string $accessToken A valid access token to validate the Graph call + * + * @return $this object + */ + public function setAccessToken($accessToken) + { + $this->accessToken = $accessToken; + $this->headers['Authorization'] = 'Bearer ' . $this->accessToken; + return $this; + } + + /** + * Sets the return type of the response object + * + * @param mixed $returnClass The object class to use + * + * @return $this object + */ + public function setReturnType($returnClass) + { + $this->returnType = $returnClass; + if ($this->returnType == "GuzzleHttp\Psr7\Stream" || $this->returnType === \Psr\Http\Message\StreamInterface::class) { + $this->returnsStream = true; + } else { + $this->returnsStream = false; + } + return $this; + } + + /** + * Adds custom headers to the request + * + * @param array $headers An array of custom headers + * + * @return $this object + */ + public function addHeaders($headers) + { + $this->headers = array_merge($this->headers, $headers); + return $this; + } + + /** + * Get the request headers + * + * @return array of headers + */ + public function getHeaders() + { + return $this->headers; + } + + /** + * Attach a body to the request. Will JSON encode + * any Microsoft\Graph\Model objects as well as arrays + * + * @param mixed $obj The object to include in the request + * + * @return $this object + */ + public function attachBody($obj) + { + // Attach streams & JSON automatically + if (is_string($obj) || is_a($obj, \Psr\Http\Message\StreamInterface::class)) { + $this->requestBody = $obj; + } + // By default, JSON-encode + else { + $this->requestBody = json_encode($obj); + } + return $this; + } + + /** + * Get the body of the request + * + * @return mixed request body of any type + */ + public function getBody() + { + return $this->requestBody; + } + + /** + * Sets the timeout limit of the cURL request + * + * @param string $timeout The timeout in seconds + * + * @return $this object + */ + public function setTimeout($timeout) + { + $this->timeout = $timeout; + return $this; + } + + /** + * Gets the timeout value of the request + * + * @return string + */ + public function getTimeout() + { + return $this->timeout; + } + + /** + * Executes the HTTP request using Guzzle + * + * @param mixed $client The client to use in the request + * + * @throws \GuzzleHttp\Exception\GuzzleException + * + * @return mixed object or array of objects + * of class $returnType + */ + public function execute($client = null) + { + if (is_null($client)) { + $client = $this->createGuzzleClient(); + } + + try { + $result = $client->request( + $this->requestType, + $this->_getRequestUrl(), + [ + 'body' => $this->requestBody, + 'timeout' => $this->timeout + ] + ); + } catch(BadResponseException $e) { + throw ExceptionWrapper::wrapGuzzleBadResponseException($e); + } + + // Check to see if returnType is a stream, if so return it immediately + if($this->returnsStream) { + return $result->getBody(); + } + + // Wrap response in GraphResponse layer + $response = new GraphResponse( + $this, + $result->getBody(), + $result->getStatusCode(), + $result->getHeaders() + ); + + // If no return type is specified, return GraphResponse + $returnObj = $response; + + if ($this->returnType) { + $returnObj = $response->getResponseAsObject($this->returnType); + } + return $returnObj; + } + + /** + * Executes the HTTP request asynchronously using Guzzle + * + * @param mixed $client The client to use in the request + * + * @return mixed object or array of objects + * of class $returnType + */ + public function executeAsync($client = null) + { + if (is_null($client)) { + $client = $this->createGuzzleClient(); + } + + $promise = $client->requestAsync( + $this->requestType, + $this->_getRequestUrl(), + [ + 'body' => $this->requestBody, + 'timeout' => $this->timeout + ] + )->then( + // On success, return the result/response + function ($result) { + + // Check to see if returnType is a stream, if so return it immediately + if($this->returnsStream) { + return $result->getBody(); + } + + $response = new GraphResponse( + $this, + $result->getBody(), + $result->getStatusCode(), + $result->getHeaders() + ); + $returnObject = $response; + if ($this->returnType) { + $returnObject = $response->getResponseAsObject( + $this->returnType + ); + } + return $returnObject; + }, + // On fail, log the error and return null + function ($reason) { + if ($reason instanceof BadResponseException) { + $reason = ExceptionWrapper::wrapGuzzleBadResponseException($reason); + } + trigger_error("Async call failed: " . $reason->getMessage()); + return null; + } + ); + return $promise; + } + + /** + * Download a file from OneDrive to a given location + * + * @param string $path The path to download the file to + * @param mixed $client The client to use in the request + * + * @throws GraphException if file path is invalid + * @throws \GuzzleHttp\Exception\GuzzleException + * + * @return null + */ + public function download($path, $client = null) + { + if (is_null($client)) { + $client = $this->createGuzzleClient(); + } + try { + $file = fopen($path, 'w'); + if (!$file) { + throw new GraphException(GraphConstants::INVALID_FILE); + } + + $client->request( + $this->requestType, + $this->_getRequestUrl(), + [ + 'body' => $this->requestBody, + 'sink' => $file, + 'timeout' => $this->timeout + ] + ); + if(is_resource($file)){ + fclose($file); + } + + } catch(GraphException $e) { + throw new GraphException(GraphConstants::INVALID_FILE); + } catch(BadResponseException $e) { + throw ExceptionWrapper::wrapGuzzleBadResponseException($e); + } + + return null; + } + + /** + * Upload a file to OneDrive from a given location + * + * @param string $path The path of the file to upload + * @param mixed $client The client to use in the request + * + * @throws GraphException if file is invalid + * @throws \GuzzleHttp\Exception\GuzzleException + * + * @return mixed DriveItem or array of DriveItems + */ + public function upload($path, $client = null) + { + if (is_null($client)) { + $client = $this->createGuzzleClient(); + } + try { + if (file_exists($path) && is_readable($path)) { + $file = fopen($path, 'r'); + $stream = \GuzzleHttp\Psr7\Utils::streamFor($file); + $this->requestBody = $stream; + return $this->execute($client); + } else { + throw new GraphException(GraphConstants::INVALID_FILE); + } + } catch(GraphException $e) { + throw new GraphException(GraphConstants::INVALID_FILE); + } + } + + /** + * Get a list of headers for the request + * + * @return array The headers for the request + */ + private function _getDefaultHeaders() + { + return [ + 'Host' => $this->baseUrl, + 'Content-Type' => 'application/json', + 'SdkVersion' => 'Graph-php-' . GraphConstants::SDK_VERSION, + 'Authorization' => 'Bearer ' . $this->accessToken + ]; + } + + /** + * Get the concatenated request URL + * + * @return string request URL + */ + private function _getRequestUrl() + { + //Send request with opaque URL + if (stripos($this->endpoint, "http") === 0) { + return $this->endpoint; + } + + return $this->apiVersion . $this->endpoint; + } + + /** + * Checks whether the endpoint currently contains query + * parameters and returns the relevant concatenator for + * the new query string + * + * @return string "?" or "&" + */ + protected function getConcatenator() + { + if (stripos($this->endpoint, "?") === false) { + return "?"; + } + return "&"; + } + + /** + * Create a new Guzzle client + * To allow for user flexibility, the + * client is not reused. This allows the user + * to set and change headers on a per-request + * basis + * + * If a proxyPort was passed in the constructor, all + * requests will be forwared through this proxy. + * + * @return \GuzzleHttp\Client The new client + */ + protected function createGuzzleClient() + { + $clientSettings = [ + 'base_uri' => $this->baseUrl, + 'http_errors' => $this->http_errors, + 'headers' => $this->headers + ]; + if ($this->proxyPort !== null) { + $clientSettings['verify'] = $this->proxyVerifySSL; + $clientSettings['proxy'] = $this->proxyPort; + } + if (extension_loaded('curl') && defined('CURL_VERSION_HTTP2') && (curl_version()["features"] & CURL_VERSION_HTTP2 !== 0)) { + + // Enable HTTP/2 if curl lib exists and supports it + $clientSettings['version'] = '2'; + } + return new Client($clientSettings); + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php b/vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php new file mode 100644 index 0000000..e316b4e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php @@ -0,0 +1,188 @@ +_request = $request; + $this->_body = $body; + $this->_httpStatusCode = $httpStatusCode; + $this->_headers = $headers; + $this->_decodedBody = $this->_decodeBody(); + } + + /** + * Decode the JSON response into an array + * + * @return array The decoded response + */ + private function _decodeBody() + { + $decodedBody = json_decode($this->_body, true); + if ($decodedBody === null) { + $decodedBody = array(); + } + return $decodedBody; + } + + /** + * Get the decoded body of the HTTP response + * + * @return array The decoded body + */ + public function getBody() + { + return $this->_decodedBody; + } + + /** + * Get the undecoded body of the HTTP response + * + * @return StreamInterface|null The undecoded body + */ + public function getRawBody() + { + return $this->_body; + } + + /** + * Get the status of the HTTP response + * + * @return string|null The HTTP status + */ + public function getStatus() + { + return $this->_httpStatusCode; + } + + /** + * Get the headers of the response + * + * @return array|null The response headers + */ + public function getHeaders() + { + return $this->_headers; + } + + /** + * Converts the response JSON object to a Graph SDK object + * + * @param mixed $returnType The type to convert the object(s) to + * + * @return mixed object or array of objects of type $returnType + */ + public function getResponseAsObject($returnType) + { + $class = $returnType; + $result = $this->getBody(); + + //If more than one object is returned + if (array_key_exists('value', $result)) { + $values = $result['value']; + + //Check that this is an object array instead of a value called "value" + if (is_array($values)) { + $objArray = array(); + foreach ($values as $obj) { + $objArray[] = new $class($obj); + } + return $objArray; + } + } + + return new $class($result); + } + + /** + * Gets the next link of a response object from OData + * If the nextLink is null, there are no more pages + * + * @return string|null nextLink, if provided + */ + public function getNextLink() + { + if (array_key_exists("@odata.nextLink", $this->getBody())) { + $nextLink = $this->getBody()['@odata.nextLink']; + return $nextLink; + } + return null; + } + + /** + * Gets the delta link of a response object from OData + * If the deltaLink is null, there are more pages in the collection; + * use nextLink to obtain more + * + * @return string|null deltaLink + */ + public function getDeltaLink() + { + if (array_key_exists("@odata.deltaLink", $this->getBody())) { + $deltaLink = $this->getBody()['@odata.deltaLink']; + return $deltaLink; + } + return null; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMember.php b/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMember.php new file mode 100644 index 0000000..3bf3e22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMember.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address of the user. + * + * @param string $val The email + * + * @return AadUserConversationMember + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the tenantId + * TenantId which the Azure AD user belongs to. + * + * @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 + * TenantId which the Azure AD user belongs to. + * + * @param string $val The tenantId + * + * @return AadUserConversationMember + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the userId + * The GUID of the user. + * + * @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 + * The GUID of the user. + * + * @param string $val The userId + * + * @return AadUserConversationMember + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the user + * + * @return User|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\User") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new User($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * + * @param User $val The user + * + * @return AadUserConversationMember + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMemberResult.php b/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMemberResult.php new file mode 100644 index 0000000..bd15691 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMemberResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * The user object ID of the Azure AD user that was being added as part of the bulk operation. + * + * @param string $val The value of the userId + * + * @return AadUserConversationMemberResult + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AadUserNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/AadUserNotificationRecipient.php new file mode 100644 index 0000000..4bc77b7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AadUserNotificationRecipient.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * Azure AD user identifier. Use the List users method to get this ID. + * + * @param string $val The value of the userId + * + * @return AadUserNotificationRecipient + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AcceptJoinResponse.php b/vendor/microsoft/microsoft-graph/src/Model/AcceptJoinResponse.php new file mode 100644 index 0000000..1a908db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AcceptJoinResponse.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackage + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the access package. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the access package. + * + * @param string $val The description + * + * @return AccessPackage + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the access package. Supports $filter (eq, contains). + * + * @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 + * The display name of the access package. Supports $filter (eq, contains). + * + * @param string $val The displayName + * + * @return AccessPackage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isHidden + * Whether the access package is hidden from the requestor. + * + * @return bool|null The isHidden + */ + public function getIsHidden() + { + if (array_key_exists("isHidden", $this->_propDict)) { + return $this->_propDict["isHidden"]; + } else { + return null; + } + } + + /** + * Sets the isHidden + * Whether the access package is hidden from the requestor. + * + * @param bool $val The isHidden + * + * @return AccessPackage + */ + public function setIsHidden($val) + { + $this->_propDict["isHidden"] = boolval($val); + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackage + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the assignmentPolicies + * Read-only. Nullable. + * + * @return array|null The assignmentPolicies + */ + public function getAssignmentPolicies() + { + if (array_key_exists("assignmentPolicies", $this->_propDict)) { + return $this->_propDict["assignmentPolicies"]; + } else { + return null; + } + } + + /** + * Sets the assignmentPolicies + * Read-only. Nullable. + * + * @param AccessPackageAssignmentPolicy[] $val The assignmentPolicies + * + * @return AccessPackage + */ + public function setAssignmentPolicies($val) + { + $this->_propDict["assignmentPolicies"] = $val; + return $this; + } + + /** + * Gets the catalog + * Read-only. Nullable. + * + * @return AccessPackageCatalog|null The catalog + */ + public function getCatalog() + { + if (array_key_exists("catalog", $this->_propDict)) { + if (is_a($this->_propDict["catalog"], "\Microsoft\Graph\Model\AccessPackageCatalog") || is_null($this->_propDict["catalog"])) { + return $this->_propDict["catalog"]; + } else { + $this->_propDict["catalog"] = new AccessPackageCatalog($this->_propDict["catalog"]); + return $this->_propDict["catalog"]; + } + } + return null; + } + + /** + * Sets the catalog + * Read-only. Nullable. + * + * @param AccessPackageCatalog $val The catalog + * + * @return AccessPackage + */ + public function setCatalog($val) + { + $this->_propDict["catalog"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageApprovalStage.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageApprovalStage.php new file mode 100644 index 0000000..5b4caf6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageApprovalStage.php @@ -0,0 +1,280 @@ +_propDict)) { + if (is_a($this->_propDict["durationBeforeAutomaticDenial"], "\DateInterval") || is_null($this->_propDict["durationBeforeAutomaticDenial"])) { + return $this->_propDict["durationBeforeAutomaticDenial"]; + } else { + $this->_propDict["durationBeforeAutomaticDenial"] = new \DateInterval($this->_propDict["durationBeforeAutomaticDenial"]); + return $this->_propDict["durationBeforeAutomaticDenial"]; + } + } + return null; + } + + /** + * Sets the durationBeforeAutomaticDenial + * The number of days that a request can be pending a response before it is automatically denied. + * + * @param \DateInterval $val The value to assign to the durationBeforeAutomaticDenial + * + * @return AccessPackageApprovalStage The AccessPackageApprovalStage + */ + public function setDurationBeforeAutomaticDenial($val) + { + $this->_propDict["durationBeforeAutomaticDenial"] = $val; + return $this; + } + + /** + * Gets the durationBeforeEscalation + * If escalation is required, the time a request can be pending a response from a primary approver. + * + * @return \DateInterval|null The durationBeforeEscalation + */ + public function getDurationBeforeEscalation() + { + if (array_key_exists("durationBeforeEscalation", $this->_propDict)) { + if (is_a($this->_propDict["durationBeforeEscalation"], "\DateInterval") || is_null($this->_propDict["durationBeforeEscalation"])) { + return $this->_propDict["durationBeforeEscalation"]; + } else { + $this->_propDict["durationBeforeEscalation"] = new \DateInterval($this->_propDict["durationBeforeEscalation"]); + return $this->_propDict["durationBeforeEscalation"]; + } + } + return null; + } + + /** + * Sets the durationBeforeEscalation + * If escalation is required, the time a request can be pending a response from a primary approver. + * + * @param \DateInterval $val The value to assign to the durationBeforeEscalation + * + * @return AccessPackageApprovalStage The AccessPackageApprovalStage + */ + public function setDurationBeforeEscalation($val) + { + $this->_propDict["durationBeforeEscalation"] = $val; + return $this; + } + + /** + * Gets the escalationApprovers + * If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + * + * @return SubjectSet|null The escalationApprovers + */ + public function getEscalationApprovers() + { + if (array_key_exists("escalationApprovers", $this->_propDict)) { + if (is_a($this->_propDict["escalationApprovers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["escalationApprovers"])) { + return $this->_propDict["escalationApprovers"]; + } else { + $this->_propDict["escalationApprovers"] = new SubjectSet($this->_propDict["escalationApprovers"]); + return $this->_propDict["escalationApprovers"]; + } + } + return null; + } + + /** + * Sets the escalationApprovers + * If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + * + * @param SubjectSet $val The value to assign to the escalationApprovers + * + * @return AccessPackageApprovalStage The AccessPackageApprovalStage + */ + public function setEscalationApprovers($val) + { + $this->_propDict["escalationApprovers"] = $val; + return $this; + } + + /** + * Gets the fallbackEscalationApprovers + * The subjects, typically users, who are the fallback escalation approvers. + * + * @return SubjectSet|null The fallbackEscalationApprovers + */ + public function getFallbackEscalationApprovers() + { + if (array_key_exists("fallbackEscalationApprovers", $this->_propDict)) { + if (is_a($this->_propDict["fallbackEscalationApprovers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["fallbackEscalationApprovers"])) { + return $this->_propDict["fallbackEscalationApprovers"]; + } else { + $this->_propDict["fallbackEscalationApprovers"] = new SubjectSet($this->_propDict["fallbackEscalationApprovers"]); + return $this->_propDict["fallbackEscalationApprovers"]; + } + } + return null; + } + + /** + * Sets the fallbackEscalationApprovers + * The subjects, typically users, who are the fallback escalation approvers. + * + * @param SubjectSet $val The value to assign to the fallbackEscalationApprovers + * + * @return AccessPackageApprovalStage The AccessPackageApprovalStage + */ + public function setFallbackEscalationApprovers($val) + { + $this->_propDict["fallbackEscalationApprovers"] = $val; + return $this; + } + + /** + * Gets the fallbackPrimaryApprovers + * The subjects, typically users, who are the fallback primary approvers. + * + * @return SubjectSet|null The fallbackPrimaryApprovers + */ + public function getFallbackPrimaryApprovers() + { + if (array_key_exists("fallbackPrimaryApprovers", $this->_propDict)) { + if (is_a($this->_propDict["fallbackPrimaryApprovers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["fallbackPrimaryApprovers"])) { + return $this->_propDict["fallbackPrimaryApprovers"]; + } else { + $this->_propDict["fallbackPrimaryApprovers"] = new SubjectSet($this->_propDict["fallbackPrimaryApprovers"]); + return $this->_propDict["fallbackPrimaryApprovers"]; + } + } + return null; + } + + /** + * Sets the fallbackPrimaryApprovers + * The subjects, typically users, who are the fallback primary approvers. + * + * @param SubjectSet $val The value to assign to the fallbackPrimaryApprovers + * + * @return AccessPackageApprovalStage The AccessPackageApprovalStage + */ + public function setFallbackPrimaryApprovers($val) + { + $this->_propDict["fallbackPrimaryApprovers"] = $val; + return $this; + } + /** + * Gets the isApproverJustificationRequired + * Indicates whether the approver is required to provide a justification for approving a request. + * + * @return bool|null The isApproverJustificationRequired + */ + public function getIsApproverJustificationRequired() + { + if (array_key_exists("isApproverJustificationRequired", $this->_propDict)) { + return $this->_propDict["isApproverJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApproverJustificationRequired + * Indicates whether the approver is required to provide a justification for approving a request. + * + * @param bool $val The value of the isApproverJustificationRequired + * + * @return AccessPackageApprovalStage + */ + public function setIsApproverJustificationRequired($val) + { + $this->_propDict["isApproverJustificationRequired"] = $val; + return $this; + } + /** + * Gets the isEscalationEnabled + * If true, then one or more escalationApprovers are configured in this approval stage. + * + * @return bool|null The isEscalationEnabled + */ + public function getIsEscalationEnabled() + { + if (array_key_exists("isEscalationEnabled", $this->_propDict)) { + return $this->_propDict["isEscalationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEscalationEnabled + * If true, then one or more escalationApprovers are configured in this approval stage. + * + * @param bool $val The value of the isEscalationEnabled + * + * @return AccessPackageApprovalStage + */ + public function setIsEscalationEnabled($val) + { + $this->_propDict["isEscalationEnabled"] = $val; + return $this; + } + + /** + * Gets the primaryApprovers + * The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors or externalSponsors. + * + * @return SubjectSet|null The primaryApprovers + */ + public function getPrimaryApprovers() + { + if (array_key_exists("primaryApprovers", $this->_propDict)) { + if (is_a($this->_propDict["primaryApprovers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["primaryApprovers"])) { + return $this->_propDict["primaryApprovers"]; + } else { + $this->_propDict["primaryApprovers"] = new SubjectSet($this->_propDict["primaryApprovers"]); + return $this->_propDict["primaryApprovers"]; + } + } + return null; + } + + /** + * Sets the primaryApprovers + * The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors or externalSponsors. + * + * @param SubjectSet $val The value to assign to the primaryApprovers + * + * @return AccessPackageApprovalStage The AccessPackageApprovalStage + */ + public function setPrimaryApprovers($val) + { + $this->_propDict["primaryApprovers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignment.php new file mode 100644 index 0000000..5d91ecf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignment.php @@ -0,0 +1,254 @@ +_propDict)) { + if (is_a($this->_propDict["expiredDateTime"], "\DateTime") || is_null($this->_propDict["expiredDateTime"])) { + return $this->_propDict["expiredDateTime"]; + } else { + $this->_propDict["expiredDateTime"] = new \DateTime($this->_propDict["expiredDateTime"]); + return $this->_propDict["expiredDateTime"]; + } + } + return null; + } + + /** + * Sets the expiredDateTime + * 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 expiredDateTime + * + * @return AccessPackageAssignment + */ + public function setExpiredDateTime($val) + { + $this->_propDict["expiredDateTime"] = $val; + return $this; + } + + /** + * Gets the schedule + * When the access assignment is to be in place. Read-only. + * + * @return EntitlementManagementSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\EntitlementManagementSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new EntitlementManagementSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * When the access assignment is to be in place. Read-only. + * + * @param EntitlementManagementSchedule $val The schedule + * + * @return AccessPackageAssignment + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the state + * The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq). + * + * @return AccessPackageAssignmentState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AccessPackageAssignmentState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AccessPackageAssignmentState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq). + * + * @param AccessPackageAssignmentState $val The state + * + * @return AccessPackageAssignment + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the status + * More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * More information about the assignment lifecycle. Possible values include Delivering, Delivered, NearExpiry1DayNotificationTriggered, or ExpiredNotificationTriggered. Read-only. + * + * @param string $val The status + * + * @return AccessPackageAssignment + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the accessPackage + * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. + * + * @return AccessPackage|null The accessPackage + */ + public function getAccessPackage() + { + if (array_key_exists("accessPackage", $this->_propDict)) { + if (is_a($this->_propDict["accessPackage"], "\Microsoft\Graph\Model\AccessPackage") || is_null($this->_propDict["accessPackage"])) { + return $this->_propDict["accessPackage"]; + } else { + $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); + return $this->_propDict["accessPackage"]; + } + } + return null; + } + + /** + * Sets the accessPackage + * Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. + * + * @param AccessPackage $val The accessPackage + * + * @return AccessPackageAssignment + */ + public function setAccessPackage($val) + { + $this->_propDict["accessPackage"] = $val; + return $this; + } + + /** + * Gets the assignmentPolicy + * Read-only. Supports $filter (eq) on the id property and $expand query parameters. + * + * @return AccessPackageAssignmentPolicy|null The assignmentPolicy + */ + public function getAssignmentPolicy() + { + if (array_key_exists("assignmentPolicy", $this->_propDict)) { + if (is_a($this->_propDict["assignmentPolicy"], "\Microsoft\Graph\Model\AccessPackageAssignmentPolicy") || is_null($this->_propDict["assignmentPolicy"])) { + return $this->_propDict["assignmentPolicy"]; + } else { + $this->_propDict["assignmentPolicy"] = new AccessPackageAssignmentPolicy($this->_propDict["assignmentPolicy"]); + return $this->_propDict["assignmentPolicy"]; + } + } + return null; + } + + /** + * Sets the assignmentPolicy + * Read-only. Supports $filter (eq) on the id property and $expand query parameters. + * + * @param AccessPackageAssignmentPolicy $val The assignmentPolicy + * + * @return AccessPackageAssignment + */ + public function setAssignmentPolicy($val) + { + $this->_propDict["assignmentPolicy"] = $val; + return $this; + } + + /** + * Gets the target + * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. + * + * @return AccessPackageSubject|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\AccessPackageSubject") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new AccessPackageSubject($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. + * + * @param AccessPackageSubject $val The target + * + * @return AccessPackageAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentApprovalSettings.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentApprovalSettings.php new file mode 100644 index 0000000..94d0e9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentApprovalSettings.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["isApprovalRequiredForAdd"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForAdd + * If false, then approval is not required for new requests in this policy. + * + * @param bool $val The value of the isApprovalRequiredForAdd + * + * @return AccessPackageAssignmentApprovalSettings + */ + public function setIsApprovalRequiredForAdd($val) + { + $this->_propDict["isApprovalRequiredForAdd"] = $val; + return $this; + } + /** + * Gets the isApprovalRequiredForUpdate + * If false, then approval is not required for updates to requests in this policy. + * + * @return bool|null The isApprovalRequiredForUpdate + */ + public function getIsApprovalRequiredForUpdate() + { + if (array_key_exists("isApprovalRequiredForUpdate", $this->_propDict)) { + return $this->_propDict["isApprovalRequiredForUpdate"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForUpdate + * If false, then approval is not required for updates to requests in this policy. + * + * @param bool $val The value of the isApprovalRequiredForUpdate + * + * @return AccessPackageAssignmentApprovalSettings + */ + public function setIsApprovalRequiredForUpdate($val) + { + $this->_propDict["isApprovalRequiredForUpdate"] = $val; + return $this; + } + + /** + * Gets the stages + * If approval is required, the one, two or three elements of this collection define each of the stages of approval. An empty array is present if no approval is required. + * + * @return AccessPackageApprovalStage|null The stages + */ + public function getStages() + { + if (array_key_exists("stages", $this->_propDict)) { + if (is_a($this->_propDict["stages"], "\Microsoft\Graph\Model\AccessPackageApprovalStage") || is_null($this->_propDict["stages"])) { + return $this->_propDict["stages"]; + } else { + $this->_propDict["stages"] = new AccessPackageApprovalStage($this->_propDict["stages"]); + return $this->_propDict["stages"]; + } + } + return null; + } + + /** + * Sets the stages + * If approval is required, the one, two or three elements of this collection define each of the stages of approval. An empty array is present if no approval is required. + * + * @param AccessPackageApprovalStage $val The value to assign to the stages + * + * @return AccessPackageAssignmentApprovalSettings The AccessPackageAssignmentApprovalSettings + */ + public function setStages($val) + { + $this->_propDict["stages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php new file mode 100644 index 0000000..fd9bfb1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["allowedTargetScope"], "\Microsoft\Graph\Model\AllowedTargetScope") || is_null($this->_propDict["allowedTargetScope"])) { + return $this->_propDict["allowedTargetScope"]; + } else { + $this->_propDict["allowedTargetScope"] = new AllowedTargetScope($this->_propDict["allowedTargetScope"]); + return $this->_propDict["allowedTargetScope"]; + } + } + return null; + } + + /** + * Sets the allowedTargetScope + * Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue. + * + * @param AllowedTargetScope $val The allowedTargetScope + * + * @return AccessPackageAssignmentPolicy + */ + public function setAllowedTargetScope($val) + { + $this->_propDict["allowedTargetScope"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageAssignmentPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the policy. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the policy. + * + * @param string $val The description + * + * @return AccessPackageAssignmentPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the policy. Supports $filter (eq). + * + * @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 + * The display name of the policy. Supports $filter (eq). + * + * @param string $val The displayName + * + * @return AccessPackageAssignmentPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expiration + * The expiration date for assignments created in this policy. + * + * @return ExpirationPattern|null The expiration + */ + public function getExpiration() + { + if (array_key_exists("expiration", $this->_propDict)) { + if (is_a($this->_propDict["expiration"], "\Microsoft\Graph\Model\ExpirationPattern") || is_null($this->_propDict["expiration"])) { + return $this->_propDict["expiration"]; + } else { + $this->_propDict["expiration"] = new ExpirationPattern($this->_propDict["expiration"]); + return $this->_propDict["expiration"]; + } + } + return null; + } + + /** + * Sets the expiration + * The expiration date for assignments created in this policy. + * + * @param ExpirationPattern $val The expiration + * + * @return AccessPackageAssignmentPolicy + */ + public function setExpiration($val) + { + $this->_propDict["expiration"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackageAssignmentPolicy + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the requestApprovalSettings + * Who must approve requests for access package in this policy. + * + * @return AccessPackageAssignmentApprovalSettings|null The requestApprovalSettings + */ + public function getRequestApprovalSettings() + { + if (array_key_exists("requestApprovalSettings", $this->_propDict)) { + if (is_a($this->_propDict["requestApprovalSettings"], "\Microsoft\Graph\Model\AccessPackageAssignmentApprovalSettings") || is_null($this->_propDict["requestApprovalSettings"])) { + return $this->_propDict["requestApprovalSettings"]; + } else { + $this->_propDict["requestApprovalSettings"] = new AccessPackageAssignmentApprovalSettings($this->_propDict["requestApprovalSettings"]); + return $this->_propDict["requestApprovalSettings"]; + } + } + return null; + } + + /** + * Sets the requestApprovalSettings + * Who must approve requests for access package in this policy. + * + * @param AccessPackageAssignmentApprovalSettings $val The requestApprovalSettings + * + * @return AccessPackageAssignmentPolicy + */ + public function setRequestApprovalSettings($val) + { + $this->_propDict["requestApprovalSettings"] = $val; + return $this; + } + + /** + * Gets the requestorSettings + * Who can request this access package from this policy. + * + * @return AccessPackageAssignmentRequestorSettings|null The requestorSettings + */ + public function getRequestorSettings() + { + if (array_key_exists("requestorSettings", $this->_propDict)) { + if (is_a($this->_propDict["requestorSettings"], "\Microsoft\Graph\Model\AccessPackageAssignmentRequestorSettings") || is_null($this->_propDict["requestorSettings"])) { + return $this->_propDict["requestorSettings"]; + } else { + $this->_propDict["requestorSettings"] = new AccessPackageAssignmentRequestorSettings($this->_propDict["requestorSettings"]); + return $this->_propDict["requestorSettings"]; + } + } + return null; + } + + /** + * Sets the requestorSettings + * Who can request this access package from this policy. + * + * @param AccessPackageAssignmentRequestorSettings $val The requestorSettings + * + * @return AccessPackageAssignmentPolicy + */ + public function setRequestorSettings($val) + { + $this->_propDict["requestorSettings"] = $val; + return $this; + } + + /** + * Gets the reviewSettings + * Settings for access reviews of assignments through this policy. + * + * @return AccessPackageAssignmentReviewSettings|null The reviewSettings + */ + public function getReviewSettings() + { + if (array_key_exists("reviewSettings", $this->_propDict)) { + if (is_a($this->_propDict["reviewSettings"], "\Microsoft\Graph\Model\AccessPackageAssignmentReviewSettings") || is_null($this->_propDict["reviewSettings"])) { + return $this->_propDict["reviewSettings"]; + } else { + $this->_propDict["reviewSettings"] = new AccessPackageAssignmentReviewSettings($this->_propDict["reviewSettings"]); + return $this->_propDict["reviewSettings"]; + } + } + return null; + } + + /** + * Sets the reviewSettings + * Settings for access reviews of assignments through this policy. + * + * @param AccessPackageAssignmentReviewSettings $val The reviewSettings + * + * @return AccessPackageAssignmentPolicy + */ + public function setReviewSettings($val) + { + $this->_propDict["reviewSettings"] = $val; + return $this; + } + + + /** + * Gets the specificAllowedTargets + * The principals that can be assigned access from an access package through this policy. + * + * @return array|null The specificAllowedTargets + */ + public function getSpecificAllowedTargets() + { + if (array_key_exists("specificAllowedTargets", $this->_propDict)) { + return $this->_propDict["specificAllowedTargets"]; + } else { + return null; + } + } + + /** + * Sets the specificAllowedTargets + * The principals that can be assigned access from an access package through this policy. + * + * @param SubjectSet[] $val The specificAllowedTargets + * + * @return AccessPackageAssignmentPolicy + */ + public function setSpecificAllowedTargets($val) + { + $this->_propDict["specificAllowedTargets"] = $val; + return $this; + } + + /** + * Gets the accessPackage + * The access package with this policy. Read-only. Nullable. Supports $expand. + * + * @return AccessPackage|null The accessPackage + */ + public function getAccessPackage() + { + if (array_key_exists("accessPackage", $this->_propDict)) { + if (is_a($this->_propDict["accessPackage"], "\Microsoft\Graph\Model\AccessPackage") || is_null($this->_propDict["accessPackage"])) { + return $this->_propDict["accessPackage"]; + } else { + $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); + return $this->_propDict["accessPackage"]; + } + } + return null; + } + + /** + * Sets the accessPackage + * The access package with this policy. Read-only. Nullable. Supports $expand. + * + * @param AccessPackage $val The accessPackage + * + * @return AccessPackageAssignmentPolicy + */ + public function setAccessPackage($val) + { + $this->_propDict["accessPackage"] = $val; + return $this; + } + + /** + * Gets the catalog + * Catalog of the access package containing this policy. Read-only. + * + * @return AccessPackageCatalog|null The catalog + */ + public function getCatalog() + { + if (array_key_exists("catalog", $this->_propDict)) { + if (is_a($this->_propDict["catalog"], "\Microsoft\Graph\Model\AccessPackageCatalog") || is_null($this->_propDict["catalog"])) { + return $this->_propDict["catalog"]; + } else { + $this->_propDict["catalog"] = new AccessPackageCatalog($this->_propDict["catalog"]); + return $this->_propDict["catalog"]; + } + } + return null; + } + + /** + * Sets the catalog + * Catalog of the access package containing this policy. Read-only. + * + * @param AccessPackageCatalog $val The catalog + * + * @return AccessPackageAssignmentPolicy + */ + public function setCatalog($val) + { + $this->_propDict["catalog"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequest.php new file mode 100644 index 0000000..c01b526 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequest.php @@ -0,0 +1,320 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date of the end of processing, either successful or failure, of a request. 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 completedDateTime + * + * @return AccessPackageAssignmentRequest + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageAssignmentRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the requestType + * One of UserAdd, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd or UserRemove. Read-only. + * + * @return AccessPackageRequestType|null The requestType + */ + public function getRequestType() + { + if (array_key_exists("requestType", $this->_propDict)) { + if (is_a($this->_propDict["requestType"], "\Microsoft\Graph\Model\AccessPackageRequestType") || is_null($this->_propDict["requestType"])) { + return $this->_propDict["requestType"]; + } else { + $this->_propDict["requestType"] = new AccessPackageRequestType($this->_propDict["requestType"]); + return $this->_propDict["requestType"]; + } + } + return null; + } + + /** + * Sets the requestType + * One of UserAdd, UserRemove, AdminAdd, AdminRemove or SystemRemove. A request from the user themselves would have requestType of UserAdd or UserRemove. Read-only. + * + * @param AccessPackageRequestType $val The requestType + * + * @return AccessPackageAssignmentRequest + */ + public function setRequestType($val) + { + $this->_propDict["requestType"] = $val; + return $this; + } + + /** + * Gets the schedule + * The range of dates that access is to be assigned to the requestor. Read-only. + * + * @return EntitlementManagementSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\EntitlementManagementSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new EntitlementManagementSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * The range of dates that access is to be assigned to the requestor. Read-only. + * + * @param EntitlementManagementSchedule $val The schedule + * + * @return AccessPackageAssignmentRequest + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + + /** + * Gets the state + * The state of the request. The possible values are: submitted, pendingApproval, delivering, delivered, deliveryFailed, denied, scheduled, canceled, partiallyDelivered, unknownFutureValue. Read-only. + * + * @return AccessPackageRequestState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AccessPackageRequestState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AccessPackageRequestState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the request. The possible values are: submitted, pendingApproval, delivering, delivered, deliveryFailed, denied, scheduled, canceled, partiallyDelivered, unknownFutureValue. Read-only. + * + * @param AccessPackageRequestState $val The state + * + * @return AccessPackageAssignmentRequest + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the status + * More information on the request processing status. Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * More information on the request processing status. Read-only. + * + * @param string $val The status + * + * @return AccessPackageAssignmentRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the accessPackage + * The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. + * + * @return AccessPackage|null The accessPackage + */ + public function getAccessPackage() + { + if (array_key_exists("accessPackage", $this->_propDict)) { + if (is_a($this->_propDict["accessPackage"], "\Microsoft\Graph\Model\AccessPackage") || is_null($this->_propDict["accessPackage"])) { + return $this->_propDict["accessPackage"]; + } else { + $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); + return $this->_propDict["accessPackage"]; + } + } + return null; + } + + /** + * Sets the accessPackage + * The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. + * + * @param AccessPackage $val The accessPackage + * + * @return AccessPackageAssignmentRequest + */ + public function setAccessPackage($val) + { + $this->_propDict["accessPackage"] = $val; + return $this; + } + + /** + * Gets the assignment + * For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. + * + * @return AccessPackageAssignment|null The assignment + */ + public function getAssignment() + { + if (array_key_exists("assignment", $this->_propDict)) { + if (is_a($this->_propDict["assignment"], "\Microsoft\Graph\Model\AccessPackageAssignment") || is_null($this->_propDict["assignment"])) { + return $this->_propDict["assignment"]; + } else { + $this->_propDict["assignment"] = new AccessPackageAssignment($this->_propDict["assignment"]); + return $this->_propDict["assignment"]; + } + } + return null; + } + + /** + * Sets the assignment + * For a requestType of UserAdd or AdminAdd, this is an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove or SystemRemove, this has the id property of an existing assignment to be removed. Supports $expand. + * + * @param AccessPackageAssignment $val The assignment + * + * @return AccessPackageAssignmentRequest + */ + public function setAssignment($val) + { + $this->_propDict["assignment"] = $val; + return $this; + } + + /** + * Gets the requestor + * The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. + * + * @return AccessPackageSubject|null The requestor + */ + public function getRequestor() + { + if (array_key_exists("requestor", $this->_propDict)) { + if (is_a($this->_propDict["requestor"], "\Microsoft\Graph\Model\AccessPackageSubject") || is_null($this->_propDict["requestor"])) { + return $this->_propDict["requestor"]; + } else { + $this->_propDict["requestor"] = new AccessPackageSubject($this->_propDict["requestor"]); + return $this->_propDict["requestor"]; + } + } + return null; + } + + /** + * Sets the requestor + * The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. + * + * @param AccessPackageSubject $val The requestor + * + * @return AccessPackageAssignmentRequest + */ + public function setRequestor($val) + { + $this->_propDict["requestor"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php new file mode 100644 index 0000000..f39250b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["allowCustomAssignmentSchedule"]; + } else { + return null; + } + } + + /** + * Sets the allowCustomAssignmentSchedule + * Indicates whether the requestor is allowed to set a custom schedule. + * + * @param bool $val The value of the allowCustomAssignmentSchedule + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setAllowCustomAssignmentSchedule($val) + { + $this->_propDict["allowCustomAssignmentSchedule"] = $val; + return $this; + } + /** + * Gets the isApprovalRequiredForAdd + * Indicates whether a request to add must be approved by an approver. + * + * @return bool|null The isApprovalRequiredForAdd + */ + public function getIsApprovalRequiredForAdd() + { + if (array_key_exists("isApprovalRequiredForAdd", $this->_propDict)) { + return $this->_propDict["isApprovalRequiredForAdd"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForAdd + * Indicates whether a request to add must be approved by an approver. + * + * @param bool $val The value of the isApprovalRequiredForAdd + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setIsApprovalRequiredForAdd($val) + { + $this->_propDict["isApprovalRequiredForAdd"] = $val; + return $this; + } + /** + * Gets the isApprovalRequiredForUpdate + * Indicates whether a request to update must be approved by an approver. + * + * @return bool|null The isApprovalRequiredForUpdate + */ + public function getIsApprovalRequiredForUpdate() + { + if (array_key_exists("isApprovalRequiredForUpdate", $this->_propDict)) { + return $this->_propDict["isApprovalRequiredForUpdate"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForUpdate + * Indicates whether a request to update must be approved by an approver. + * + * @param bool $val The value of the isApprovalRequiredForUpdate + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setIsApprovalRequiredForUpdate($val) + { + $this->_propDict["isApprovalRequiredForUpdate"] = $val; + return $this; + } + /** + * Gets the policyDescription + * The description of the policy that the user is trying to request access using. + * + * @return string|null The policyDescription + */ + public function getPolicyDescription() + { + if (array_key_exists("policyDescription", $this->_propDict)) { + return $this->_propDict["policyDescription"]; + } else { + return null; + } + } + + /** + * Sets the policyDescription + * The description of the policy that the user is trying to request access using. + * + * @param string $val The value of the policyDescription + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setPolicyDescription($val) + { + $this->_propDict["policyDescription"] = $val; + return $this; + } + /** + * Gets the policyDisplayName + * The display name of the policy that the user is trying to request access using. + * + * @return string|null The policyDisplayName + */ + public function getPolicyDisplayName() + { + if (array_key_exists("policyDisplayName", $this->_propDict)) { + return $this->_propDict["policyDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the policyDisplayName + * The display name of the policy that the user is trying to request access using. + * + * @param string $val The value of the policyDisplayName + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setPolicyDisplayName($val) + { + $this->_propDict["policyDisplayName"] = $val; + return $this; + } + /** + * Gets the policyId + * The identifier of the policy that these requirements are associated with. This identifier can be used when creating a new assignment request. + * + * @return string|null The policyId + */ + public function getPolicyId() + { + if (array_key_exists("policyId", $this->_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * The identifier of the policy that these requirements are associated with. This identifier can be used when creating a new assignment request. + * + * @param string $val The value of the policyId + * + * @return AccessPackageAssignmentRequestRequirements + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + + /** + * Gets the schedule + * Schedule restrictions enforced, if any. + * + * @return EntitlementManagementSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\EntitlementManagementSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new EntitlementManagementSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * Schedule restrictions enforced, if any. + * + * @param EntitlementManagementSchedule $val The value to assign to the schedule + * + * @return AccessPackageAssignmentRequestRequirements The AccessPackageAssignmentRequestRequirements + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequestorSettings.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequestorSettings.php new file mode 100644 index 0000000..54d251a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentRequestorSettings.php @@ -0,0 +1,255 @@ +_propDict)) { + return $this->_propDict["allowCustomAssignmentSchedule"]; + } else { + return null; + } + } + + /** + * Sets the allowCustomAssignmentSchedule + * If false, the requestor is not permitted to include a schedule in their request. + * + * @param bool $val The value of the allowCustomAssignmentSchedule + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setAllowCustomAssignmentSchedule($val) + { + $this->_propDict["allowCustomAssignmentSchedule"] = $val; + return $this; + } + /** + * Gets the enableOnBehalfRequestorsToAddAccess + * If true, allows on-behalf-of requestors to create a request to add access for another principal. + * + * @return bool|null The enableOnBehalfRequestorsToAddAccess + */ + public function getEnableOnBehalfRequestorsToAddAccess() + { + if (array_key_exists("enableOnBehalfRequestorsToAddAccess", $this->_propDict)) { + return $this->_propDict["enableOnBehalfRequestorsToAddAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableOnBehalfRequestorsToAddAccess + * If true, allows on-behalf-of requestors to create a request to add access for another principal. + * + * @param bool $val The value of the enableOnBehalfRequestorsToAddAccess + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setEnableOnBehalfRequestorsToAddAccess($val) + { + $this->_propDict["enableOnBehalfRequestorsToAddAccess"] = $val; + return $this; + } + /** + * Gets the enableOnBehalfRequestorsToRemoveAccess + * If true, allows on-behalf-of requestors to create a request to remove access for another principal. + * + * @return bool|null The enableOnBehalfRequestorsToRemoveAccess + */ + public function getEnableOnBehalfRequestorsToRemoveAccess() + { + if (array_key_exists("enableOnBehalfRequestorsToRemoveAccess", $this->_propDict)) { + return $this->_propDict["enableOnBehalfRequestorsToRemoveAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableOnBehalfRequestorsToRemoveAccess + * If true, allows on-behalf-of requestors to create a request to remove access for another principal. + * + * @param bool $val The value of the enableOnBehalfRequestorsToRemoveAccess + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setEnableOnBehalfRequestorsToRemoveAccess($val) + { + $this->_propDict["enableOnBehalfRequestorsToRemoveAccess"] = $val; + return $this; + } + /** + * Gets the enableOnBehalfRequestorsToUpdateAccess + * If true, allows on-behalf-of requestors to create a request to update access for another principal. + * + * @return bool|null The enableOnBehalfRequestorsToUpdateAccess + */ + public function getEnableOnBehalfRequestorsToUpdateAccess() + { + if (array_key_exists("enableOnBehalfRequestorsToUpdateAccess", $this->_propDict)) { + return $this->_propDict["enableOnBehalfRequestorsToUpdateAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableOnBehalfRequestorsToUpdateAccess + * If true, allows on-behalf-of requestors to create a request to update access for another principal. + * + * @param bool $val The value of the enableOnBehalfRequestorsToUpdateAccess + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setEnableOnBehalfRequestorsToUpdateAccess($val) + { + $this->_propDict["enableOnBehalfRequestorsToUpdateAccess"] = $val; + return $this; + } + /** + * Gets the enableTargetsToSelfAddAccess + * If true, allows requestors to create a request to add access for themselves. + * + * @return bool|null The enableTargetsToSelfAddAccess + */ + public function getEnableTargetsToSelfAddAccess() + { + if (array_key_exists("enableTargetsToSelfAddAccess", $this->_propDict)) { + return $this->_propDict["enableTargetsToSelfAddAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableTargetsToSelfAddAccess + * If true, allows requestors to create a request to add access for themselves. + * + * @param bool $val The value of the enableTargetsToSelfAddAccess + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setEnableTargetsToSelfAddAccess($val) + { + $this->_propDict["enableTargetsToSelfAddAccess"] = $val; + return $this; + } + /** + * Gets the enableTargetsToSelfRemoveAccess + * If true, allows requestors to create a request to remove their access. + * + * @return bool|null The enableTargetsToSelfRemoveAccess + */ + public function getEnableTargetsToSelfRemoveAccess() + { + if (array_key_exists("enableTargetsToSelfRemoveAccess", $this->_propDict)) { + return $this->_propDict["enableTargetsToSelfRemoveAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableTargetsToSelfRemoveAccess + * If true, allows requestors to create a request to remove their access. + * + * @param bool $val The value of the enableTargetsToSelfRemoveAccess + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setEnableTargetsToSelfRemoveAccess($val) + { + $this->_propDict["enableTargetsToSelfRemoveAccess"] = $val; + return $this; + } + /** + * Gets the enableTargetsToSelfUpdateAccess + * If true, allows requestors to create a request to update their access. + * + * @return bool|null The enableTargetsToSelfUpdateAccess + */ + public function getEnableTargetsToSelfUpdateAccess() + { + if (array_key_exists("enableTargetsToSelfUpdateAccess", $this->_propDict)) { + return $this->_propDict["enableTargetsToSelfUpdateAccess"]; + } else { + return null; + } + } + + /** + * Sets the enableTargetsToSelfUpdateAccess + * If true, allows requestors to create a request to update their access. + * + * @param bool $val The value of the enableTargetsToSelfUpdateAccess + * + * @return AccessPackageAssignmentRequestorSettings + */ + public function setEnableTargetsToSelfUpdateAccess($val) + { + $this->_propDict["enableTargetsToSelfUpdateAccess"] = $val; + return $this; + } + + /** + * Gets the onBehalfRequestors + * The principals who can request on-behalf-of others. + * + * @return SubjectSet|null The onBehalfRequestors + */ + public function getOnBehalfRequestors() + { + if (array_key_exists("onBehalfRequestors", $this->_propDict)) { + if (is_a($this->_propDict["onBehalfRequestors"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["onBehalfRequestors"])) { + return $this->_propDict["onBehalfRequestors"]; + } else { + $this->_propDict["onBehalfRequestors"] = new SubjectSet($this->_propDict["onBehalfRequestors"]); + return $this->_propDict["onBehalfRequestors"]; + } + } + return null; + } + + /** + * Sets the onBehalfRequestors + * The principals who can request on-behalf-of others. + * + * @param SubjectSet $val The value to assign to the onBehalfRequestors + * + * @return AccessPackageAssignmentRequestorSettings The AccessPackageAssignmentRequestorSettings + */ + public function setOnBehalfRequestors($val) + { + $this->_propDict["onBehalfRequestors"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentReviewSettings.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentReviewSettings.php new file mode 100644 index 0000000..8eadb04 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentReviewSettings.php @@ -0,0 +1,270 @@ +_propDict)) { + if (is_a($this->_propDict["expirationBehavior"], "\Microsoft\Graph\Model\AccessReviewExpirationBehavior") || is_null($this->_propDict["expirationBehavior"])) { + return $this->_propDict["expirationBehavior"]; + } else { + $this->_propDict["expirationBehavior"] = new AccessReviewExpirationBehavior($this->_propDict["expirationBehavior"]); + return $this->_propDict["expirationBehavior"]; + } + } + return null; + } + + /** + * Sets the expirationBehavior + * The default decision to apply if the access is not reviewed. The possible values are: keepAccess, removeAccess, acceptAccessRecommendation, unknownFutureValue. + * + * @param AccessReviewExpirationBehavior $val The value to assign to the expirationBehavior + * + * @return AccessPackageAssignmentReviewSettings The AccessPackageAssignmentReviewSettings + */ + public function setExpirationBehavior($val) + { + $this->_propDict["expirationBehavior"] = $val; + return $this; + } + + /** + * Gets the fallbackReviewers + * This collection specifies the users who will be the fallback reviewers when the primary reviewers don't respond. + * + * @return SubjectSet|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + if (is_a($this->_propDict["fallbackReviewers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["fallbackReviewers"])) { + return $this->_propDict["fallbackReviewers"]; + } else { + $this->_propDict["fallbackReviewers"] = new SubjectSet($this->_propDict["fallbackReviewers"]); + return $this->_propDict["fallbackReviewers"]; + } + } + return null; + } + + /** + * Sets the fallbackReviewers + * This collection specifies the users who will be the fallback reviewers when the primary reviewers don't respond. + * + * @param SubjectSet $val The value to assign to the fallbackReviewers + * + * @return AccessPackageAssignmentReviewSettings The AccessPackageAssignmentReviewSettings + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + /** + * Gets the isEnabled + * If true, access reviews are required for assignments through this policy. + * + * @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 + * If true, access reviews are required for assignments through this policy. + * + * @param bool $val The value of the isEnabled + * + * @return AccessPackageAssignmentReviewSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the isRecommendationEnabled + * Specifies whether to display recommendations to the reviewer. The default value is true. + * + * @return bool|null The isRecommendationEnabled + */ + public function getIsRecommendationEnabled() + { + if (array_key_exists("isRecommendationEnabled", $this->_propDict)) { + return $this->_propDict["isRecommendationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isRecommendationEnabled + * Specifies whether to display recommendations to the reviewer. The default value is true. + * + * @param bool $val The value of the isRecommendationEnabled + * + * @return AccessPackageAssignmentReviewSettings + */ + public function setIsRecommendationEnabled($val) + { + $this->_propDict["isRecommendationEnabled"] = $val; + return $this; + } + /** + * Gets the isReviewerJustificationRequired + * Specifies whether the reviewer must provide justification for the approval. The default value is true. + * + * @return bool|null The isReviewerJustificationRequired + */ + public function getIsReviewerJustificationRequired() + { + if (array_key_exists("isReviewerJustificationRequired", $this->_propDict)) { + return $this->_propDict["isReviewerJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isReviewerJustificationRequired + * Specifies whether the reviewer must provide justification for the approval. The default value is true. + * + * @param bool $val The value of the isReviewerJustificationRequired + * + * @return AccessPackageAssignmentReviewSettings + */ + public function setIsReviewerJustificationRequired($val) + { + $this->_propDict["isReviewerJustificationRequired"] = $val; + return $this; + } + /** + * Gets the isSelfReview + * Specifies whether the principals can review their own assignments. + * + * @return bool|null The isSelfReview + */ + public function getIsSelfReview() + { + if (array_key_exists("isSelfReview", $this->_propDict)) { + return $this->_propDict["isSelfReview"]; + } else { + return null; + } + } + + /** + * Sets the isSelfReview + * Specifies whether the principals can review their own assignments. + * + * @param bool $val The value of the isSelfReview + * + * @return AccessPackageAssignmentReviewSettings + */ + public function setIsSelfReview($val) + { + $this->_propDict["isSelfReview"] = $val; + return $this; + } + + /** + * Gets the primaryReviewers + * This collection specifies the users or group of users who will review the access package assignments. + * + * @return SubjectSet|null The primaryReviewers + */ + public function getPrimaryReviewers() + { + if (array_key_exists("primaryReviewers", $this->_propDict)) { + if (is_a($this->_propDict["primaryReviewers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["primaryReviewers"])) { + return $this->_propDict["primaryReviewers"]; + } else { + $this->_propDict["primaryReviewers"] = new SubjectSet($this->_propDict["primaryReviewers"]); + return $this->_propDict["primaryReviewers"]; + } + } + return null; + } + + /** + * Sets the primaryReviewers + * This collection specifies the users or group of users who will review the access package assignments. + * + * @param SubjectSet $val The value to assign to the primaryReviewers + * + * @return AccessPackageAssignmentReviewSettings The AccessPackageAssignmentReviewSettings + */ + public function setPrimaryReviewers($val) + { + $this->_propDict["primaryReviewers"] = $val; + return $this; + } + + /** + * Gets the schedule + * When the first review should start and how often it should recur. + * + * @return EntitlementManagementSchedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\EntitlementManagementSchedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new EntitlementManagementSchedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * When the first review should start and how often it should recur. + * + * @param EntitlementManagementSchedule $val The value to assign to the schedule + * + * @return AccessPackageAssignmentReviewSettings The AccessPackageAssignmentReviewSettings + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentState.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentState.php new file mode 100644 index 0000000..cec52d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageAssignmentState.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["catalogType"], "\Microsoft\Graph\Model\AccessPackageCatalogType") || is_null($this->_propDict["catalogType"])) { + return $this->_propDict["catalogType"]; + } else { + $this->_propDict["catalogType"] = new AccessPackageCatalogType($this->_propDict["catalogType"]); + return $this->_propDict["catalogType"]; + } + } + return null; + } + + /** + * Sets the catalogType + * One of UserManaged or ServiceDefault. + * + * @param AccessPackageCatalogType $val The catalogType + * + * @return AccessPackageCatalog + */ + public function setCatalogType($val) + { + $this->_propDict["catalogType"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return AccessPackageCatalog + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the access package catalog. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the access package catalog. + * + * @param string $val The description + * + * @return AccessPackageCatalog + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the access package catalog. Supports $filter (eq, contains). + * + * @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 + * The display name of the access package catalog. Supports $filter (eq, contains). + * + * @param string $val The displayName + * + * @return AccessPackageCatalog + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isExternallyVisible + * Whether the access packages in this catalog can be requested by users outside of the tenant. + * + * @return bool|null The isExternallyVisible + */ + public function getIsExternallyVisible() + { + if (array_key_exists("isExternallyVisible", $this->_propDict)) { + return $this->_propDict["isExternallyVisible"]; + } else { + return null; + } + } + + /** + * Sets the isExternallyVisible + * Whether the access packages in this catalog can be requested by users outside of the tenant. + * + * @param bool $val The isExternallyVisible + * + * @return AccessPackageCatalog + */ + public function setIsExternallyVisible($val) + { + $this->_propDict["isExternallyVisible"] = boolval($val); + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return AccessPackageCatalog + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Has the value published if the access packages are available for management. The possible values are: unpublished, published, unknownFutureValue. + * + * @return AccessPackageCatalogState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AccessPackageCatalogState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AccessPackageCatalogState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Has the value published if the access packages are available for management. The possible values are: unpublished, published, unknownFutureValue. + * + * @param AccessPackageCatalogState $val The state + * + * @return AccessPackageCatalog + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the accessPackages + * The access packages in this catalog. Read-only. Nullable. Supports $expand. + * + * @return array|null The accessPackages + */ + public function getAccessPackages() + { + if (array_key_exists("accessPackages", $this->_propDict)) { + return $this->_propDict["accessPackages"]; + } else { + return null; + } + } + + /** + * Sets the accessPackages + * The access packages in this catalog. Read-only. Nullable. Supports $expand. + * + * @param AccessPackage[] $val The accessPackages + * + * @return AccessPackageCatalog + */ + public function setAccessPackages($val) + { + $this->_propDict["accessPackages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageCatalogState.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageCatalogState.php new file mode 100644 index 0000000..d691271 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageCatalogState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the subject. + * + * @param string $val The displayName + * + * @return AccessPackageSubject + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * The email address of the subject. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address of the subject. + * + * @param string $val The email + * + * @return AccessPackageSubject + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the objectId + * The object identifier of the subject. null if the subject is not yet a user in the tenant. + * + * @return string|null The objectId + */ + public function getObjectId() + { + if (array_key_exists("objectId", $this->_propDict)) { + return $this->_propDict["objectId"]; + } else { + return null; + } + } + + /** + * Sets the objectId + * The object identifier of the subject. null if the subject is not yet a user in the tenant. + * + * @param string $val The objectId + * + * @return AccessPackageSubject + */ + public function setObjectId($val) + { + $this->_propDict["objectId"] = $val; + return $this; + } + + /** + * Gets the onPremisesSecurityIdentifier + * A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier. + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * A string representation of the principal's security identifier, if known, or null if the subject does not have a security identifier. + * + * @param string $val The onPremisesSecurityIdentifier + * + * @return AccessPackageSubject + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + + /** + * Gets the principalName + * The principal name, if known, of the subject. + * + * @return string|null The principalName + */ + public function getPrincipalName() + { + if (array_key_exists("principalName", $this->_propDict)) { + return $this->_propDict["principalName"]; + } else { + return null; + } + } + + /** + * Sets the principalName + * The principal name, if known, of the subject. + * + * @param string $val The principalName + * + * @return AccessPackageSubject + */ + public function setPrincipalName($val) + { + $this->_propDict["principalName"] = $val; + return $this; + } + + /** + * Gets the subjectType + * The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue. + * + * @return AccessPackageSubjectType|null The subjectType + */ + public function getSubjectType() + { + if (array_key_exists("subjectType", $this->_propDict)) { + if (is_a($this->_propDict["subjectType"], "\Microsoft\Graph\Model\AccessPackageSubjectType") || is_null($this->_propDict["subjectType"])) { + return $this->_propDict["subjectType"]; + } else { + $this->_propDict["subjectType"] = new AccessPackageSubjectType($this->_propDict["subjectType"]); + return $this->_propDict["subjectType"]; + } + } + return null; + } + + /** + * Sets the subjectType + * The resource type of the subject. The possible values are: notSpecified, user, servicePrincipal, unknownFutureValue. + * + * @param AccessPackageSubjectType $val The subjectType + * + * @return AccessPackageSubject + */ + public function setSubjectType($val) + { + $this->_propDict["subjectType"] = $val; + return $this; + } + + /** + * Gets the connectedOrganization + * The connected organization of the subject. Read-only. Nullable. + * + * @return ConnectedOrganization|null The connectedOrganization + */ + public function getConnectedOrganization() + { + if (array_key_exists("connectedOrganization", $this->_propDict)) { + if (is_a($this->_propDict["connectedOrganization"], "\Microsoft\Graph\Model\ConnectedOrganization") || is_null($this->_propDict["connectedOrganization"])) { + return $this->_propDict["connectedOrganization"]; + } else { + $this->_propDict["connectedOrganization"] = new ConnectedOrganization($this->_propDict["connectedOrganization"]); + return $this->_propDict["connectedOrganization"]; + } + } + return null; + } + + /** + * Sets the connectedOrganization + * The connected organization of the subject. Read-only. Nullable. + * + * @param ConnectedOrganization $val The connectedOrganization + * + * @return AccessPackageSubject + */ + public function setConnectedOrganization($val) + { + $this->_propDict["connectedOrganization"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessPackageSubjectType.php b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageSubjectType.php new file mode 100644 index 0000000..4a895de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessPackageSubjectType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * User who created this review history definition. + * + * @param UserIdentity $val The createdBy + * + * @return AccessReviewHistoryDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp when the access review definition was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp when the access review definition was created. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the decisions + * Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. + * + * @return array|null The decisions + */ + public function getDecisions() + { + if (array_key_exists("decisions", $this->_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. + * + * @param AccessReviewHistoryDecisionFilter[] $val The decisions + * + * @return AccessReviewHistoryDefinition + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name for the access review history data collection. Required. + * + * @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 + * Name for the access review history data collection. Required. + * + * @param string $val The displayName + * + * @return AccessReviewHistoryDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodEndDateTime + * A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @return \DateTime|null The reviewHistoryPeriodEndDateTime + */ + public function getReviewHistoryPeriodEndDateTime() + { + if (array_key_exists("reviewHistoryPeriodEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodEndDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodEndDateTime"])) { + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodEndDateTime"]); + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodEndDateTime + * A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @param \DateTime $val The reviewHistoryPeriodEndDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setReviewHistoryPeriodEndDateTime($val) + { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodStartDateTime + * A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @return \DateTime|null The reviewHistoryPeriodStartDateTime + */ + public function getReviewHistoryPeriodStartDateTime() + { + if (array_key_exists("reviewHistoryPeriodStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodStartDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodStartDateTime"])) { + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodStartDateTime"]); + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodStartDateTime + * A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. + * + * @param \DateTime $val The reviewHistoryPeriodStartDateTime + * + * @return AccessReviewHistoryDefinition + */ + public function setReviewHistoryPeriodStartDateTime($val) + { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = $val; + return $this; + } + + /** + * Gets the scheduleSettings + * The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. + * + * @return AccessReviewHistoryScheduleSettings|null The scheduleSettings + */ + public function getScheduleSettings() + { + if (array_key_exists("scheduleSettings", $this->_propDict)) { + if (is_a($this->_propDict["scheduleSettings"], "\Microsoft\Graph\Model\AccessReviewHistoryScheduleSettings") || is_null($this->_propDict["scheduleSettings"])) { + return $this->_propDict["scheduleSettings"]; + } else { + $this->_propDict["scheduleSettings"] = new AccessReviewHistoryScheduleSettings($this->_propDict["scheduleSettings"]); + return $this->_propDict["scheduleSettings"]; + } + } + return null; + } + + /** + * Sets the scheduleSettings + * The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. + * + * @param AccessReviewHistoryScheduleSettings $val The scheduleSettings + * + * @return AccessReviewHistoryDefinition + */ + public function setScheduleSettings($val) + { + $this->_propDict["scheduleSettings"] = $val; + return $this; + } + + + /** + * Gets the scopes + * Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required. + * + * @return array|null The scopes + */ + public function getScopes() + { + if (array_key_exists("scopes", $this->_propDict)) { + return $this->_propDict["scopes"]; + } else { + return null; + } + } + + /** + * Sets the scopes + * Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required. + * + * @param AccessReviewScope[] $val The scopes + * + * @return AccessReviewHistoryDefinition + */ + public function setScopes($val) + { + $this->_propDict["scopes"] = $val; + return $this; + } + + /** + * Gets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. + * + * @return AccessReviewHistoryStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AccessReviewHistoryStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AccessReviewHistoryStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. + * + * @param AccessReviewHistoryStatus $val The status + * + * @return AccessReviewHistoryDefinition + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the instances + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. + * + * @param AccessReviewHistoryInstance[] $val The instances + * + * @return AccessReviewHistoryDefinition + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryInstance.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryInstance.php new file mode 100644 index 0000000..77eee1a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryInstance.php @@ -0,0 +1,254 @@ +_propDict)) { + return $this->_propDict["downloadUri"]; + } else { + return null; + } + } + + /** + * Sets the downloadUri + * Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. + * + * @param string $val The downloadUri + * + * @return AccessReviewHistoryInstance + */ + public function setDownloadUri($val) + { + $this->_propDict["downloadUri"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Timestamp when this instance and associated data expires and the history is deleted. Required. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Timestamp when this instance and associated data expires and the history is deleted. Required. + * + * @param \DateTime $val The expirationDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fulfilledDateTime + * Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. + * + * @return \DateTime|null The fulfilledDateTime + */ + public function getFulfilledDateTime() + { + if (array_key_exists("fulfilledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["fulfilledDateTime"], "\DateTime") || is_null($this->_propDict["fulfilledDateTime"])) { + return $this->_propDict["fulfilledDateTime"]; + } else { + $this->_propDict["fulfilledDateTime"] = new \DateTime($this->_propDict["fulfilledDateTime"]); + return $this->_propDict["fulfilledDateTime"]; + } + } + return null; + } + + /** + * Sets the fulfilledDateTime + * Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to done. Required. + * + * @param \DateTime $val The fulfilledDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setFulfilledDateTime($val) + { + $this->_propDict["fulfilledDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodEndDateTime + * Timestamp, reviews ending on or before this date will be included in the fetched history data. + * + * @return \DateTime|null The reviewHistoryPeriodEndDateTime + */ + public function getReviewHistoryPeriodEndDateTime() + { + if (array_key_exists("reviewHistoryPeriodEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodEndDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodEndDateTime"])) { + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodEndDateTime"]); + return $this->_propDict["reviewHistoryPeriodEndDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodEndDateTime + * Timestamp, reviews ending on or before this date will be included in the fetched history data. + * + * @param \DateTime $val The reviewHistoryPeriodEndDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setReviewHistoryPeriodEndDateTime($val) + { + $this->_propDict["reviewHistoryPeriodEndDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewHistoryPeriodStartDateTime + * Timestamp, reviews starting on or after this date will be included in the fetched history data. + * + * @return \DateTime|null The reviewHistoryPeriodStartDateTime + */ + public function getReviewHistoryPeriodStartDateTime() + { + if (array_key_exists("reviewHistoryPeriodStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewHistoryPeriodStartDateTime"], "\DateTime") || is_null($this->_propDict["reviewHistoryPeriodStartDateTime"])) { + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } else { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = new \DateTime($this->_propDict["reviewHistoryPeriodStartDateTime"]); + return $this->_propDict["reviewHistoryPeriodStartDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewHistoryPeriodStartDateTime + * Timestamp, reviews starting on or after this date will be included in the fetched history data. + * + * @param \DateTime $val The reviewHistoryPeriodStartDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setReviewHistoryPeriodStartDateTime($val) + { + $this->_propDict["reviewHistoryPeriodStartDateTime"] = $val; + return $this; + } + + /** + * Gets the runDateTime + * Timestamp when the instance's history data is scheduled to be generated. + * + * @return \DateTime|null The runDateTime + */ + public function getRunDateTime() + { + if (array_key_exists("runDateTime", $this->_propDict)) { + if (is_a($this->_propDict["runDateTime"], "\DateTime") || is_null($this->_propDict["runDateTime"])) { + return $this->_propDict["runDateTime"]; + } else { + $this->_propDict["runDateTime"] = new \DateTime($this->_propDict["runDateTime"]); + return $this->_propDict["runDateTime"]; + } + } + return null; + } + + /** + * Sets the runDateTime + * Timestamp when the instance's history data is scheduled to be generated. + * + * @param \DateTime $val The runDateTime + * + * @return AccessReviewHistoryInstance + */ + public function setRunDateTime($val) + { + $this->_propDict["runDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance's data by calling generateDownloadUri method. + * + * @return AccessReviewHistoryStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AccessReviewHistoryStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AccessReviewHistoryStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. Once the status has been marked as done, a link can be generated to retrieve the instance's data by calling generateDownloadUri method. + * + * @param AccessReviewHistoryStatus $val The status + * + * @return AccessReviewHistoryInstance + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryScheduleSettings.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryScheduleSettings.php new file mode 100644 index 0000000..ca5622e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryScheduleSettings.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. Required. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return AccessReviewHistoryScheduleSettings The AccessReviewHistoryScheduleSettings + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + /** + * Gets the reportRange + * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. + * + * @return string|null The reportRange + */ + public function getReportRange() + { + if (array_key_exists("reportRange", $this->_propDict)) { + return $this->_propDict["reportRange"]; + } else { + return null; + } + } + + /** + * Sets the reportRange + * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. + * + * @param string $val The value of the reportRange + * + * @return AccessReviewHistoryScheduleSettings + */ + public function setReportRange($val) + { + $this->_propDict["reportRange"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryStatus.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryStatus.php new file mode 100644 index 0000000..6ad88ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewHistoryStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["inactiveDuration"], "\DateInterval") || is_null($this->_propDict["inactiveDuration"])) { + return $this->_propDict["inactiveDuration"]; + } else { + $this->_propDict["inactiveDuration"] = new \DateInterval($this->_propDict["inactiveDuration"]); + return $this->_propDict["inactiveDuration"]; + } + } + return null; + } + + /** + * Sets the inactiveDuration + * Defines the duration of inactivity. Inactivity is based on the last sign in date of the user compared to the access review instance's start date. If this property is not specified, it's assigned the default value PT0S. + * + * @param \DateInterval $val The value to assign to the inactiveDuration + * + * @return AccessReviewInactiveUsersQueryScope The AccessReviewInactiveUsersQueryScope + */ + public function setInactiveDuration($val) + { + $this->_propDict["inactiveDuration"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstance.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstance.php new file mode 100644 index 0000000..3c88c8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstance.php @@ -0,0 +1,275 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * DateTime when review instance is scheduled to end.The DatetimeOffset 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. Supports $select. Read-only. + * + * @param \DateTime $val The endDateTime + * + * @return AccessReviewInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + + /** + * Gets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. + * + * @return array|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + return $this->_propDict["fallbackReviewers"]; + } else { + return null; + } + } + + /** + * Sets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. + * + * @param AccessReviewReviewerScope[] $val The fallbackReviewers + * + * @return AccessReviewInstance + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + + + /** + * Gets the reviewers + * This collection of access review scopes is used to define who the reviewers are. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * This collection of access review scopes is used to define who the reviewers are. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AccessReviewInstance + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the scope + * Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. Supports $select and $filter (contains only). Read-only. + * + * @return AccessReviewScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new AccessReviewScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. Supports $select and $filter (contains only). Read-only. + * + * @param AccessReviewScope $val The scope + * + * @return AccessReviewInstance + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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. Supports $select. Read-only. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset 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. Supports $select. Read-only. + * + * @param \DateTime $val The startDateTime + * + * @return AccessReviewInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The status + * + * @return AccessReviewInstance + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the contactedReviewers + * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * + * @return array|null The contactedReviewers + */ + public function getContactedReviewers() + { + if (array_key_exists("contactedReviewers", $this->_propDict)) { + return $this->_propDict["contactedReviewers"]; + } else { + return null; + } + } + + /** + * Sets the contactedReviewers + * Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. + * + * @param AccessReviewReviewer[] $val The contactedReviewers + * + * @return AccessReviewInstance + */ + public function setContactedReviewers($val) + { + $this->_propDict["contactedReviewers"] = $val; + return $this; + } + + + /** + * Gets the decisions + * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * + * @return array|null The decisions + */ + public function getDecisions() + { + if (array_key_exists("decisions", $this->_propDict)) { + return $this->_propDict["decisions"]; + } else { + return null; + } + } + + /** + * Sets the decisions + * Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. + * + * @param AccessReviewInstanceDecisionItem[] $val The decisions + * + * @return AccessReviewInstance + */ + public function setDecisions($val) + { + $this->_propDict["decisions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItem.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItem.php new file mode 100644 index 0000000..d02c26d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItem.php @@ -0,0 +1,428 @@ +_propDict)) { + return $this->_propDict["accessReviewId"]; + } else { + return null; + } + } + + /** + * Sets the accessReviewId + * The identifier of the accessReviewInstance parent. Supports $select. Read-only. + * + * @param string $val The accessReviewId + * + * @return AccessReviewInstanceDecisionItem + */ + public function setAccessReviewId($val) + { + $this->_propDict["accessReviewId"] = $val; + return $this; + } + + /** + * Gets the appliedBy + * The identifier of the user who applied the decision. Read-only. + * + * @return UserIdentity|null The appliedBy + */ + public function getAppliedBy() + { + if (array_key_exists("appliedBy", $this->_propDict)) { + if (is_a($this->_propDict["appliedBy"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["appliedBy"])) { + return $this->_propDict["appliedBy"]; + } else { + $this->_propDict["appliedBy"] = new UserIdentity($this->_propDict["appliedBy"]); + return $this->_propDict["appliedBy"]; + } + } + return null; + } + + /** + * Sets the appliedBy + * The identifier of the user who applied the decision. Read-only. + * + * @param UserIdentity $val The appliedBy + * + * @return AccessReviewInstanceDecisionItem + */ + public function setAppliedBy($val) + { + $this->_propDict["appliedBy"] = $val; + return $this; + } + + /** + * Gets the appliedDateTime + * The timestamp when the approval decision was applied. The DatetimeOffset 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. Supports $select. Read-only. + * + * @return \DateTime|null The appliedDateTime + */ + public function getAppliedDateTime() + { + if (array_key_exists("appliedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["appliedDateTime"], "\DateTime") || is_null($this->_propDict["appliedDateTime"])) { + return $this->_propDict["appliedDateTime"]; + } else { + $this->_propDict["appliedDateTime"] = new \DateTime($this->_propDict["appliedDateTime"]); + return $this->_propDict["appliedDateTime"]; + } + } + return null; + } + + /** + * Sets the appliedDateTime + * The timestamp when the approval decision was applied. The DatetimeOffset 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. Supports $select. Read-only. + * + * @param \DateTime $val The appliedDateTime + * + * @return AccessReviewInstanceDecisionItem + */ + public function setAppliedDateTime($val) + { + $this->_propDict["appliedDateTime"] = $val; + return $this; + } + + /** + * Gets the applyResult + * The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The applyResult + */ + public function getApplyResult() + { + if (array_key_exists("applyResult", $this->_propDict)) { + return $this->_propDict["applyResult"]; + } else { + return null; + } + } + + /** + * Sets the applyResult + * The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The applyResult + * + * @return AccessReviewInstanceDecisionItem + */ + public function setApplyResult($val) + { + $this->_propDict["applyResult"] = $val; + return $this; + } + + /** + * Gets the decision + * Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only). + * + * @return string|null The decision + */ + public function getDecision() + { + if (array_key_exists("decision", $this->_propDict)) { + return $this->_propDict["decision"]; + } else { + return null; + } + } + + /** + * Sets the decision + * Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only). + * + * @param string $val The decision + * + * @return AccessReviewInstanceDecisionItem + */ + public function setDecision($val) + { + $this->_propDict["decision"] = $val; + return $this; + } + + /** + * Gets the justification + * Justification left by the reviewer when they made the decision. + * + * @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 + * Justification left by the reviewer when they made the decision. + * + * @param string $val The justification + * + * @return AccessReviewInstanceDecisionItem + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the principal + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. + * + * @return Identity|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new Identity($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only. + * + * @param Identity $val The principal + * + * @return AccessReviewInstanceDecisionItem + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the principalLink + * Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only. + * + * @return string|null The principalLink + */ + public function getPrincipalLink() + { + if (array_key_exists("principalLink", $this->_propDict)) { + return $this->_propDict["principalLink"]; + } else { + return null; + } + } + + /** + * Sets the principalLink + * Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only. + * + * @param string $val The principalLink + * + * @return AccessReviewInstanceDecisionItem + */ + public function setPrincipalLink($val) + { + $this->_propDict["principalLink"] = $val; + return $this; + } + + /** + * Gets the recommendation + * A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The recommendation + */ + public function getRecommendation() + { + if (array_key_exists("recommendation", $this->_propDict)) { + return $this->_propDict["recommendation"]; + } else { + return null; + } + } + + /** + * Sets the recommendation + * A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The recommendation + * + * @return AccessReviewInstanceDecisionItem + */ + public function setRecommendation($val) + { + $this->_propDict["recommendation"] = $val; + return $this; + } + + /** + * Gets the resource + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only. + * + * @return AccessReviewInstanceDecisionItemResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new AccessReviewInstanceDecisionItemResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only. + * + * @param AccessReviewInstanceDecisionItemResource $val The resource + * + * @return AccessReviewInstanceDecisionItem + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceLink + * A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only. + * + * @return string|null The resourceLink + */ + public function getResourceLink() + { + if (array_key_exists("resourceLink", $this->_propDict)) { + return $this->_propDict["resourceLink"]; + } else { + return null; + } + } + + /** + * Sets the resourceLink + * A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only. + * + * @param string $val The resourceLink + * + * @return AccessReviewInstanceDecisionItem + */ + public function setResourceLink($val) + { + $this->_propDict["resourceLink"] = $val; + return $this; + } + + /** + * Gets the reviewedBy + * The identifier of the reviewer. Supports $select. Read-only. + * + * @return UserIdentity|null The reviewedBy + */ + public function getReviewedBy() + { + if (array_key_exists("reviewedBy", $this->_propDict)) { + if (is_a($this->_propDict["reviewedBy"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["reviewedBy"])) { + return $this->_propDict["reviewedBy"]; + } else { + $this->_propDict["reviewedBy"] = new UserIdentity($this->_propDict["reviewedBy"]); + return $this->_propDict["reviewedBy"]; + } + } + return null; + } + + /** + * Sets the reviewedBy + * The identifier of the reviewer. Supports $select. Read-only. + * + * @param UserIdentity $val The reviewedBy + * + * @return AccessReviewInstanceDecisionItem + */ + public function setReviewedBy($val) + { + $this->_propDict["reviewedBy"] = $val; + return $this; + } + + /** + * Gets the reviewedDateTime + * The timestamp when the review decision occurred. Supports $select. Read-only. + * + * @return \DateTime|null The reviewedDateTime + */ + public function getReviewedDateTime() + { + if (array_key_exists("reviewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewedDateTime"], "\DateTime") || is_null($this->_propDict["reviewedDateTime"])) { + return $this->_propDict["reviewedDateTime"]; + } else { + $this->_propDict["reviewedDateTime"] = new \DateTime($this->_propDict["reviewedDateTime"]); + return $this->_propDict["reviewedDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewedDateTime + * The timestamp when the review decision occurred. Supports $select. Read-only. + * + * @param \DateTime $val The reviewedDateTime + * + * @return AccessReviewInstanceDecisionItem + */ + public function setReviewedDateTime($val) + { + $this->_propDict["reviewedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.php new file mode 100644 index 0000000..5e28cd9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["accessPackageDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageDisplayName + * Display name of the access package to which access has been granted. + * + * @param string $val The value of the accessPackageDisplayName + * + * @return AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource + */ + public function setAccessPackageDisplayName($val) + { + $this->_propDict["accessPackageDisplayName"] = $val; + return $this; + } + /** + * Gets the accessPackageId + * Identifier of the access package to which access has been granted. + * + * @return string|null The accessPackageId + */ + public function getAccessPackageId() + { + if (array_key_exists("accessPackageId", $this->_propDict)) { + return $this->_propDict["accessPackageId"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageId + * Identifier of the access package to which access has been granted. + * + * @param string $val The value of the accessPackageId + * + * @return AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource + */ + public function setAccessPackageId($val) + { + $this->_propDict["accessPackageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemAzureRoleResource.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemAzureRoleResource.php new file mode 100644 index 0000000..3c40c22 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemAzureRoleResource.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["scope"], "\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemResource") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new AccessReviewInstanceDecisionItemResource($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Details of the scope this role is associated with. + * + * @param AccessReviewInstanceDecisionItemResource $val The value to assign to the scope + * + * @return AccessReviewInstanceDecisionItemAzureRoleResource The AccessReviewInstanceDecisionItemAzureRoleResource + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemFilterByCurrentUserOptions.php new file mode 100644 index 0000000..bd6b185 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the resource + * + * @param string $val The value of the displayName + * + * @return AccessReviewInstanceDecisionItemResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Resource 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 + * Resource ID + * + * @param string $val The value of the id + * + * @return AccessReviewInstanceDecisionItemResource + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the type + * Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy. + * + * @param string $val The value of the type + * + * @return AccessReviewInstanceDecisionItemResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemServicePrincipalResource.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemServicePrincipalResource.php new file mode 100644 index 0000000..6a93e19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceDecisionItemServicePrincipalResource.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * + * @param string $val The value of the appId + * + * @return AccessReviewInstanceDecisionItemServicePrincipalResource + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceFilterByCurrentUserOptions.php new file mode 100644 index 0000000..f72e046 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewInstanceFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["notificationRecipientScope"], "\Microsoft\Graph\Model\AccessReviewNotificationRecipientScope") || is_null($this->_propDict["notificationRecipientScope"])) { + return $this->_propDict["notificationRecipientScope"]; + } else { + $this->_propDict["notificationRecipientScope"] = new AccessReviewNotificationRecipientScope($this->_propDict["notificationRecipientScope"]); + return $this->_propDict["notificationRecipientScope"]; + } + } + return null; + } + + /** + * Sets the notificationRecipientScope + * Determines the recipient of the notification email. + * + * @param AccessReviewNotificationRecipientScope $val The value to assign to the notificationRecipientScope + * + * @return AccessReviewNotificationRecipientItem The AccessReviewNotificationRecipientItem + */ + public function setNotificationRecipientScope($val) + { + $this->_propDict["notificationRecipientScope"] = $val; + return $this; + } + /** + * Gets the notificationTemplateType + * Indicates the type of access review email to be sent. Supported template type is CompletedAdditionalRecipients which sends review completion notifications to the recipients. + * + * @return string|null The notificationTemplateType + */ + public function getNotificationTemplateType() + { + if (array_key_exists("notificationTemplateType", $this->_propDict)) { + return $this->_propDict["notificationTemplateType"]; + } else { + return null; + } + } + + /** + * Sets the notificationTemplateType + * Indicates the type of access review email to be sent. Supported template type is CompletedAdditionalRecipients which sends review completion notifications to the recipients. + * + * @param string $val The value of the notificationTemplateType + * + * @return AccessReviewNotificationRecipientItem + */ + public function setNotificationTemplateType($val) + { + $this->_propDict["notificationTemplateType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewNotificationRecipientQueryScope.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewNotificationRecipientQueryScope.php new file mode 100644 index 0000000..35fc863 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewNotificationRecipientQueryScope.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * This represents the query for who the recipients are. For example, /groups/{group id}/members for group members and /users/{user id} for a specific user. + * + * @param string $val The value of the query + * + * @return AccessReviewNotificationRecipientQueryScope + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + /** + * Gets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query that is, ./manager) is specified. + * + * @return string|null The queryRoot + */ + public function getQueryRoot() + { + if (array_key_exists("queryRoot", $this->_propDict)) { + return $this->_propDict["queryRoot"]; + } else { + return null; + } + } + + /** + * Sets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query that is, ./manager) is specified. + * + * @param string $val The value of the queryRoot + * + * @return AccessReviewNotificationRecipientQueryScope + */ + public function setQueryRoot($val) + { + $this->_propDict["queryRoot"] = $val; + return $this; + } + /** + * Gets the queryType + * Indicates the type of query. Allowed value is MicrosoftGraph. + * + * @return string|null The queryType + */ + public function getQueryType() + { + if (array_key_exists("queryType", $this->_propDict)) { + return $this->_propDict["queryType"]; + } else { + return null; + } + } + + /** + * Sets the queryType + * Indicates the type of query. Allowed value is MicrosoftGraph. + * + * @param string $val The value of the queryType + * + * @return AccessReviewNotificationRecipientQueryScope + */ + public function setQueryType($val) + { + $this->_propDict["queryType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewNotificationRecipientScope.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewNotificationRecipientScope.php new file mode 100644 index 0000000..c87a580 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewNotificationRecipientScope.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * The query representing what will be reviewed in an access review. + * + * @param string $val The value of the query + * + * @return AccessReviewQueryScope + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + /** + * Gets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query is specified. For example, ./manager. + * + * @return string|null The queryRoot + */ + public function getQueryRoot() + { + if (array_key_exists("queryRoot", $this->_propDict)) { + return $this->_propDict["queryRoot"]; + } else { + return null; + } + } + + /** + * Sets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query is specified. For example, ./manager. + * + * @param string $val The value of the queryRoot + * + * @return AccessReviewQueryScope + */ + public function setQueryRoot($val) + { + $this->_propDict["queryRoot"] = $val; + return $this; + } + /** + * Gets the queryType + * Indicates the type of query. Types include MicrosoftGraph and ARM. + * + * @return string|null The queryType + */ + public function getQueryType() + { + if (array_key_exists("queryType", $this->_propDict)) { + return $this->_propDict["queryType"]; + } else { + return null; + } + } + + /** + * Sets the queryType + * Indicates the type of query. Types include MicrosoftGraph and ARM. + * + * @param string $val The value of the queryType + * + * @return AccessReviewQueryScope + */ + public function setQueryType($val) + { + $this->_propDict["queryType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewReviewer.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewReviewer.php new file mode 100644 index 0000000..c51193e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewReviewer.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date when the reviewer was added for the access review. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessReviewReviewer + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of reviewer. + * + * @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 + * Name of reviewer. + * + * @param string $val The displayName + * + * @return AccessReviewReviewer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User principal name of the user. + * + * @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 + * User principal name of the user. + * + * @param string $val The userPrincipalName + * + * @return AccessReviewReviewer + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewReviewerScope.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewReviewerScope.php new file mode 100644 index 0000000..4354dae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewReviewerScope.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["query"]; + } else { + return null; + } + } + + /** + * Sets the query + * The query specifying who will be the reviewer. See table for examples. + * + * @param string $val The value of the query + * + * @return AccessReviewReviewerScope + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + /** + * Gets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions. + * + * @return string|null The queryRoot + */ + public function getQueryRoot() + { + if (array_key_exists("queryRoot", $this->_propDict)) { + return $this->_propDict["queryRoot"]; + } else { + return null; + } + } + + /** + * Sets the queryRoot + * In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions. + * + * @param string $val The value of the queryRoot + * + * @return AccessReviewReviewerScope + */ + public function setQueryRoot($val) + { + $this->_propDict["queryRoot"] = $val; + return $this; + } + /** + * Gets the queryType + * The type of query. Examples include MicrosoftGraph and ARM. + * + * @return string|null The queryType + */ + public function getQueryType() + { + if (array_key_exists("queryType", $this->_propDict)) { + return $this->_propDict["queryType"]; + } else { + return null; + } + } + + /** + * Sets the queryType + * The type of query. Examples include MicrosoftGraph and ARM. + * + * @param string $val The value of the queryType + * + * @return AccessReviewReviewerScope + */ + public function setQueryType($val) + { + $this->_propDict["queryType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScheduleDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScheduleDefinition.php new file mode 100644 index 0000000..77bc3f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScheduleDefinition.php @@ -0,0 +1,461 @@ +_propDict)) { + return $this->_propDict["additionalNotificationRecipients"]; + } else { + return null; + } + } + + /** + * Sets the additionalNotificationRecipients + * Defines the list of additional users or group members to be notified of the access review progress. + * + * @param AccessReviewNotificationRecipientItem[] $val The additionalNotificationRecipients + * + * @return AccessReviewScheduleDefinition + */ + public function setAdditionalNotificationRecipients($val) + { + $this->_propDict["additionalNotificationRecipients"] = $val; + return $this; + } + + /** + * Gets the createdBy + * User who created this review. Read-only. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * User who created this review. Read-only. + * + * @param UserIdentity $val The createdBy + * + * @return AccessReviewScheduleDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp when the access review series was created. Supports $select. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp when the access review series was created. Supports $select. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return AccessReviewScheduleDefinition + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the descriptionForAdmins + * Description provided by review creators to provide more context of the review to admins. Supports $select. + * + * @return string|null The descriptionForAdmins + */ + public function getDescriptionForAdmins() + { + if (array_key_exists("descriptionForAdmins", $this->_propDict)) { + return $this->_propDict["descriptionForAdmins"]; + } else { + return null; + } + } + + /** + * Sets the descriptionForAdmins + * Description provided by review creators to provide more context of the review to admins. Supports $select. + * + * @param string $val The descriptionForAdmins + * + * @return AccessReviewScheduleDefinition + */ + public function setDescriptionForAdmins($val) + { + $this->_propDict["descriptionForAdmins"] = $val; + return $this; + } + + /** + * Gets the descriptionForReviewers + * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review. Email notifications support up to 256 characters. Supports $select. + * + * @return string|null The descriptionForReviewers + */ + public function getDescriptionForReviewers() + { + if (array_key_exists("descriptionForReviewers", $this->_propDict)) { + return $this->_propDict["descriptionForReviewers"]; + } else { + return null; + } + } + + /** + * Sets the descriptionForReviewers + * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review. Email notifications support up to 256 characters. Supports $select. + * + * @param string $val The descriptionForReviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setDescriptionForReviewers($val) + { + $this->_propDict["descriptionForReviewers"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the access review series. Supports $select and $orderBy. Required on create. + * + * @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 + * Name of the access review series. Supports $select and $orderBy. Required on create. + * + * @param string $val The displayName + * + * @return AccessReviewScheduleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. NOTE: The value of this property will be ignored if fallback reviewers are assigned through the stageSettings property. + * + * @return array|null The fallbackReviewers + */ + public function getFallbackReviewers() + { + if (array_key_exists("fallbackReviewers", $this->_propDict)) { + return $this->_propDict["fallbackReviewers"]; + } else { + return null; + } + } + + /** + * Sets the fallbackReviewers + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select. NOTE: The value of this property will be ignored if fallback reviewers are assigned through the stageSettings property. + * + * @param AccessReviewReviewerScope[] $val The fallbackReviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setFallbackReviewers($val) + { + $this->_propDict["fallbackReviewers"] = $val; + return $this; + } + + /** + * Gets the instanceEnumerationScope + * This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @return AccessReviewScope|null The instanceEnumerationScope + */ + public function getInstanceEnumerationScope() + { + if (array_key_exists("instanceEnumerationScope", $this->_propDict)) { + if (is_a($this->_propDict["instanceEnumerationScope"], "\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["instanceEnumerationScope"])) { + return $this->_propDict["instanceEnumerationScope"]; + } else { + $this->_propDict["instanceEnumerationScope"] = new AccessReviewScope($this->_propDict["instanceEnumerationScope"]); + return $this->_propDict["instanceEnumerationScope"]; + } + } + return null; + } + + /** + * Sets the instanceEnumerationScope + * This property is required when scoping a review to guest users' access across all Microsoft 365 groups and determines which Microsoft 365 groups are reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. Supports $select. For examples of options for configuring instanceEnumerationScope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @param AccessReviewScope $val The instanceEnumerationScope + * + * @return AccessReviewScheduleDefinition + */ + public function setInstanceEnumerationScope($val) + { + $this->_propDict["instanceEnumerationScope"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Timestamp when the access review series was last modified. Supports $select. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Timestamp when the access review series was last modified. Supports $select. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AccessReviewScheduleDefinition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the reviewers + * This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will be ignored if reviewers are assigned through the stageSettings property. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will be ignored if reviewers are assigned through the stageSettings property. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AccessReviewScheduleDefinition + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the scope + * Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @return AccessReviewScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new AccessReviewScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Defines the entities whose access is reviewed. For supported scopes, see accessReviewScope. Required on create. Supports $select and $filter (contains only). For examples of options for configuring scope, see Configure the scope of your access review definition using the Microsoft Graph API. + * + * @param AccessReviewScope $val The scope + * + * @return AccessReviewScheduleDefinition + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings for an access review series, see type definition below. Supports $select. Required on create. + * + * @return AccessReviewScheduleSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\AccessReviewScheduleSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new AccessReviewScheduleSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings for an access review series, see type definition below. Supports $select. Required on create. + * + * @param AccessReviewScheduleSettings $val The settings + * + * @return AccessReviewScheduleDefinition + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the status + * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only. + * + * @param string $val The status + * + * @return AccessReviewScheduleDefinition + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the instances + * Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there is an instance for each recurrence. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there is an instance for each recurrence. + * + * @param AccessReviewInstance[] $val The instances + * + * @return AccessReviewScheduleDefinition + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScheduleDefinitionFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScheduleDefinitionFilterByCurrentUserOptions.php new file mode 100644 index 0000000..74510a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScheduleDefinitionFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["applyActions"], "\Microsoft\Graph\Model\AccessReviewApplyAction") || is_null($this->_propDict["applyActions"])) { + return $this->_propDict["applyActions"]; + } else { + $this->_propDict["applyActions"] = new AccessReviewApplyAction($this->_propDict["applyActions"]); + return $this->_propDict["applyActions"]; + } + } + return null; + } + + /** + * Sets the applyActions + * Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction. + * + * @param AccessReviewApplyAction $val The value to assign to the applyActions + * + * @return AccessReviewScheduleSettings The AccessReviewScheduleSettings + */ + public function setApplyActions($val) + { + $this->_propDict["applyActions"] = $val; + return $this; + } + /** + * 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. + * + * @return bool|null The autoApplyDecisionsEnabled + */ + public function getAutoApplyDecisionsEnabled() + { + if (array_key_exists("autoApplyDecisionsEnabled", $this->_propDict)) { + return $this->_propDict["autoApplyDecisionsEnabled"]; + } else { + return null; + } + } + + /** + * 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. + * + * @param bool $val The value of the autoApplyDecisionsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setAutoApplyDecisionsEnabled($val) + { + $this->_propDict["autoApplyDecisionsEnabled"] = $val; + return $this; + } + /** + * Gets the defaultDecision + * Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation. + * + * @return string|null The defaultDecision + */ + public function getDefaultDecision() + { + if (array_key_exists("defaultDecision", $this->_propDict)) { + return $this->_propDict["defaultDecision"]; + } else { + return null; + } + } + + /** + * Sets the defaultDecision + * Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation. + * + * @param string $val The value of the defaultDecision + * + * @return AccessReviewScheduleSettings + */ + public function setDefaultDecision($val) + { + $this->_propDict["defaultDecision"] = $val; + return $this; + } + /** + * Gets the defaultDecisionEnabled + * Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + * + * @return bool|null The defaultDecisionEnabled + */ + public function getDefaultDecisionEnabled() + { + if (array_key_exists("defaultDecisionEnabled", $this->_propDict)) { + return $this->_propDict["defaultDecisionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the defaultDecisionEnabled + * Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + * + * @param bool $val The value of the defaultDecisionEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setDefaultDecisionEnabled($val) + { + $this->_propDict["defaultDecisionEnabled"] = $val; + return $this; + } + /** + * Gets the instanceDurationInDays + * Duration of each recurrence of review (accessReviewInstance) in number of days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property. + * + * @return int|null The instanceDurationInDays + */ + public function getInstanceDurationInDays() + { + if (array_key_exists("instanceDurationInDays", $this->_propDict)) { + return $this->_propDict["instanceDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the instanceDurationInDays + * Duration of each recurrence of review (accessReviewInstance) in number of days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property. + * + * @param int $val The value of the instanceDurationInDays + * + * @return AccessReviewScheduleSettings + */ + public function setInstanceDurationInDays($val) + { + $this->_propDict["instanceDurationInDays"] = $val; + return $this; + } + /** + * Gets the justificationRequiredOnApproval + * Indicates whether reviewers are required to provide justification with their decision. Default value is false. + * + * @return bool|null The justificationRequiredOnApproval + */ + public function getJustificationRequiredOnApproval() + { + if (array_key_exists("justificationRequiredOnApproval", $this->_propDict)) { + return $this->_propDict["justificationRequiredOnApproval"]; + } else { + return null; + } + } + + /** + * Sets the justificationRequiredOnApproval + * Indicates whether reviewers are required to provide justification with their decision. Default value is false. + * + * @param bool $val The value of the justificationRequiredOnApproval + * + * @return AccessReviewScheduleSettings + */ + public function setJustificationRequiredOnApproval($val) + { + $this->_propDict["justificationRequiredOnApproval"] = $val; + return $this; + } + /** + * Gets the mailNotificationsEnabled + * Indicates whether emails are enabled or disabled. Default value is false. + * + * @return bool|null The mailNotificationsEnabled + */ + public function getMailNotificationsEnabled() + { + if (array_key_exists("mailNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["mailNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mailNotificationsEnabled + * Indicates whether emails are enabled or disabled. Default value is false. + * + * @param bool $val The value of the mailNotificationsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setMailNotificationsEnabled($val) + { + $this->_propDict["mailNotificationsEnabled"] = $val; + return $this; + } + /** + * Gets the recommendationsEnabled + * Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property. + * + * @return bool|null The recommendationsEnabled + */ + public function getRecommendationsEnabled() + { + if (array_key_exists("recommendationsEnabled", $this->_propDict)) { + return $this->_propDict["recommendationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the recommendationsEnabled + * Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property. + * + * @param bool $val The value of the recommendationsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setRecommendationsEnabled($val) + { + $this->_propDict["recommendationsEnabled"] = $val; + return $this; + } + + /** + * Gets the recurrence + * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return AccessReviewScheduleSettings The AccessReviewScheduleSettings + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + /** + * Gets the reminderNotificationsEnabled + * Indicates whether reminders are enabled or disabled. Default value is false. + * + * @return bool|null The reminderNotificationsEnabled + */ + public function getReminderNotificationsEnabled() + { + if (array_key_exists("reminderNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["reminderNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the reminderNotificationsEnabled + * Indicates whether reminders are enabled or disabled. Default value is false. + * + * @param bool $val The value of the reminderNotificationsEnabled + * + * @return AccessReviewScheduleSettings + */ + public function setReminderNotificationsEnabled($val) + { + $this->_propDict["reminderNotificationsEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScope.php b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScope.php new file mode 100644 index 0000000..9e2abfd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AccessReviewScope.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["definitions"]; + } else { + return null; + } + } + + /** + * Sets the definitions + * Represents the template and scheduling for an access review. + * + * @param AccessReviewScheduleDefinition[] $val The definitions + * + * @return AccessReviewSet + */ + public function setDefinitions($val) + { + $this->_propDict["definitions"] = $val; + return $this; + } + + + /** + * Gets the historyDefinitions + * Represents a collection of access review history data and the scopes used to collect that data. + * + * @return array|null The historyDefinitions + */ + public function getHistoryDefinitions() + { + if (array_key_exists("historyDefinitions", $this->_propDict)) { + return $this->_propDict["historyDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the historyDefinitions + * Represents a collection of access review history data and the scopes used to collect that data. + * + * @param AccessReviewHistoryDefinition[] $val The historyDefinitions + * + * @return AccessReviewSet + */ + public function setHistoryDefinitions($val) + { + $this->_propDict["historyDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ActionResultPart.php b/vendor/microsoft/microsoft-graph/src/Model/ActionResultPart.php new file mode 100644 index 0000000..13b1b29 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ActionResultPart.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The error that occurred, if any, during the course of the bulk operation. + * + * @param PublicError $val The value to assign to the error + * + * @return ActionResultPart The ActionResultPart + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ActionState.php b/vendor/microsoft/microsoft-graph/src/Model/ActionState.php new file mode 100644 index 0000000..a15df52 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ActionState.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["activeDurationSeconds"]; + } else { + return null; + } + } + + /** + * Sets the activeDurationSeconds + * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. + * + * @param int $val The activeDurationSeconds + * + * @return ActivityHistoryItem + */ + public function setActiveDurationSeconds($val) + { + $this->_propDict["activeDurationSeconds"] = intval($val); + return $this; + } + + /** + * Gets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @param \DateTime $val The createdDateTime + * + * @return ActivityHistoryItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. + * + * @param \DateTime $val The expirationDateTime + * + * @return ActivityHistoryItem + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActiveDateTime + * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + * + * @return \DateTime|null The lastActiveDateTime + */ + public function getLastActiveDateTime() + { + if (array_key_exists("lastActiveDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActiveDateTime"], "\DateTime") || is_null($this->_propDict["lastActiveDateTime"])) { + return $this->_propDict["lastActiveDateTime"]; + } else { + $this->_propDict["lastActiveDateTime"] = new \DateTime($this->_propDict["lastActiveDateTime"]); + return $this->_propDict["lastActiveDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActiveDateTime + * Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. + * + * @param \DateTime $val The lastActiveDateTime + * + * @return ActivityHistoryItem + */ + public function setLastActiveDateTime($val) + { + $this->_propDict["lastActiveDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ActivityHistoryItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the startedDateTime + * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + * + * @return \DateTime|null The startedDateTime + */ + public function getStartedDateTime() + { + if (array_key_exists("startedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startedDateTime"], "\DateTime") || is_null($this->_propDict["startedDateTime"])) { + return $this->_propDict["startedDateTime"]; + } else { + $this->_propDict["startedDateTime"] = new \DateTime($this->_propDict["startedDateTime"]); + return $this->_propDict["startedDateTime"]; + } + } + return null; + } + + /** + * Sets the startedDateTime + * Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. + * + * @param \DateTime $val The startedDateTime + * + * @return ActivityHistoryItem + */ + public function setStartedDateTime($val) + { + $this->_propDict["startedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @return Status|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\Status") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new Status($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @param Status $val The status + * + * @return ActivityHistoryItem + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. + * + * @return string|null The userTimezone + */ + public function getUserTimezone() + { + if (array_key_exists("userTimezone", $this->_propDict)) { + return $this->_propDict["userTimezone"]; + } else { + return null; + } + } + + /** + * Sets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. + * + * @param string $val The userTimezone + * + * @return ActivityHistoryItem + */ + public function setUserTimezone($val) + { + $this->_propDict["userTimezone"] = $val; + return $this; + } + + /** + * Gets the activity + * Optional. NavigationProperty/Containment; navigation property to the associated activity. + * + * @return UserActivity|null The activity + */ + public function getActivity() + { + if (array_key_exists("activity", $this->_propDict)) { + if (is_a($this->_propDict["activity"], "\Microsoft\Graph\Model\UserActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new UserActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * Optional. NavigationProperty/Containment; navigation property to the associated activity. + * + * @param UserActivity $val The activity + * + * @return ActivityHistoryItem + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ActivityType.php b/vendor/microsoft/microsoft-graph/src/Model/ActivityType.php new file mode 100644 index 0000000..e9aec8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ActivityType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * + * @param string $val The value of the id + * + * @return AddIn + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the addInProperties + * + * @return KeyValue|null The addInProperties + */ + public function getAddInProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + if (is_a($this->_propDict["properties"], "\Microsoft\Graph\Model\KeyValue") || is_null($this->_propDict["properties"])) { + return $this->_propDict["properties"]; + } else { + $this->_propDict["properties"] = new KeyValue($this->_propDict["properties"]); + return $this->_propDict["properties"]; + } + } + return null; + } + + /** + * Sets the addInProperties + * + * @param KeyValue $val The value to assign to the properties + * + * @return AddIn The AddIn + */ + public function setAddInProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + /** + * Gets the type + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return AddIn + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Admin.php b/vendor/microsoft/microsoft-graph/src/Model/Admin.php new file mode 100644 index 0000000..0f26230 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Admin.php @@ -0,0 +1,137 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Admin + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the serviceAnnouncement + * A container for service communications resources. Read-only. + * + * @return ServiceAnnouncement|null The serviceAnnouncement + */ + public function getServiceAnnouncement() + { + if (array_key_exists("serviceAnnouncement", $this->_propDict)) { + if (is_a($this->_propDict["serviceAnnouncement"], "\Microsoft\Graph\Model\ServiceAnnouncement") || is_null($this->_propDict["serviceAnnouncement"])) { + return $this->_propDict["serviceAnnouncement"]; + } else { + $this->_propDict["serviceAnnouncement"] = new ServiceAnnouncement($this->_propDict["serviceAnnouncement"]); + return $this->_propDict["serviceAnnouncement"]; + } + } + return null; + } + + /** + * Sets the serviceAnnouncement + * A container for service communications resources. Read-only. + * + * @param ServiceAnnouncement $val The serviceAnnouncement + * + * @return Admin + */ + public function setServiceAnnouncement($val) + { + $this->_propDict["serviceAnnouncement"] = $val; + 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 Admin + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AdminConsentRequestPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/AdminConsentRequestPolicy.php new file mode 100644 index 0000000..888b53d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AdminConsentRequestPolicy.php @@ -0,0 +1,202 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Specifies whether the admin consent request feature is enabled or disabled. Required. + * + * @param bool $val The isEnabled + * + * @return AdminConsentRequestPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the notifyReviewers + * Specifies whether reviewers will receive notifications. Required. + * + * @return bool|null The notifyReviewers + */ + public function getNotifyReviewers() + { + if (array_key_exists("notifyReviewers", $this->_propDict)) { + return $this->_propDict["notifyReviewers"]; + } else { + return null; + } + } + + /** + * Sets the notifyReviewers + * Specifies whether reviewers will receive notifications. Required. + * + * @param bool $val The notifyReviewers + * + * @return AdminConsentRequestPolicy + */ + public function setNotifyReviewers($val) + { + $this->_propDict["notifyReviewers"] = boolval($val); + return $this; + } + + /** + * Gets the remindersEnabled + * Specifies whether reviewers will receive reminder emails. Required. + * + * @return bool|null The remindersEnabled + */ + public function getRemindersEnabled() + { + if (array_key_exists("remindersEnabled", $this->_propDict)) { + return $this->_propDict["remindersEnabled"]; + } else { + return null; + } + } + + /** + * Sets the remindersEnabled + * Specifies whether reviewers will receive reminder emails. Required. + * + * @param bool $val The remindersEnabled + * + * @return AdminConsentRequestPolicy + */ + public function setRemindersEnabled($val) + { + $this->_propDict["remindersEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the requestDurationInDays + * Specifies the duration the request is active before it automatically expires if no decision is applied. + * + * @return int|null The requestDurationInDays + */ + public function getRequestDurationInDays() + { + if (array_key_exists("requestDurationInDays", $this->_propDict)) { + return $this->_propDict["requestDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the requestDurationInDays + * Specifies the duration the request is active before it automatically expires if no decision is applied. + * + * @param int $val The requestDurationInDays + * + * @return AdminConsentRequestPolicy + */ + public function setRequestDurationInDays($val) + { + $this->_propDict["requestDurationInDays"] = intval($val); + return $this; + } + + + /** + * Gets the reviewers + * Required. + * + * @return array|null The reviewers + */ + public function getReviewers() + { + if (array_key_exists("reviewers", $this->_propDict)) { + return $this->_propDict["reviewers"]; + } else { + return null; + } + } + + /** + * Sets the reviewers + * Required. + * + * @param AccessReviewReviewerScope[] $val The reviewers + * + * @return AdminConsentRequestPolicy + */ + public function setReviewers($val) + { + $this->_propDict["reviewers"] = $val; + return $this; + } + + /** + * Gets the version + * Specifies the version of this policy. When the policy is updated, this version is updated. Read-only. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Specifies the version of this policy. When the policy is updated, this version is updated. Read-only. + * + * @param int $val The version + * + * @return AdminConsentRequestPolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AdministrativeUnit.php b/vendor/microsoft/microsoft-graph/src/Model/AdministrativeUnit.php new file mode 100644 index 0000000..fd4766c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AdministrativeUnit.php @@ -0,0 +1,204 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search. + * + * @param string $val The description + * + * @return AdministrativeUnit + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return AdministrativeUnit + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the visibility + * Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. + * + * @return string|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + return $this->_propDict["visibility"]; + } else { + return null; + } + } + + /** + * Sets the visibility + * Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. + * + * @param string $val The visibility + * + * @return AdministrativeUnit + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + + /** + * Gets the members + * Users and groups that are members of this administrative unit. Supports $expand. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Users and groups that are members of this administrative unit. Supports $expand. + * + * @param DirectoryObject[] $val The members + * + * @return AdministrativeUnit + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the scopedRoleMembers + * Scoped-role members of this administrative unit. + * + * @return array|null The scopedRoleMembers + */ + public function getScopedRoleMembers() + { + if (array_key_exists("scopedRoleMembers", $this->_propDict)) { + return $this->_propDict["scopedRoleMembers"]; + } else { + return null; + } + } + + /** + * Sets the scopedRoleMembers + * Scoped-role members of this administrative unit. + * + * @param ScopedRoleMembership[] $val The scopedRoleMembers + * + * @return AdministrativeUnit + */ + public function setScopedRoleMembers($val) + { + $this->_propDict["scopedRoleMembers"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for this administrative unit. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for this administrative unit. Nullable. + * + * @param Extension[] $val The extensions + * + * @return AdministrativeUnit + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AdvancedConfigState.php b/vendor/microsoft/microsoft-graph/src/Model/AdvancedConfigState.php new file mode 100644 index 0000000..0e91382 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AdvancedConfigState.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["bucketDefinition"], "\Microsoft\Graph\Model\BucketAggregationDefinition") || is_null($this->_propDict["bucketDefinition"])) { + return $this->_propDict["bucketDefinition"]; + } else { + $this->_propDict["bucketDefinition"] = new BucketAggregationDefinition($this->_propDict["bucketDefinition"]); + return $this->_propDict["bucketDefinition"]; + } + } + return null; + } + + /** + * Sets the bucketDefinition + * Specifies the criteria to compute an aggregation. Optional. + * + * @param BucketAggregationDefinition $val The value to assign to the bucketDefinition + * + * @return AggregationOption The AggregationOption + */ + public function setBucketDefinition($val) + { + $this->_propDict["bucketDefinition"] = $val; + return $this; + } + /** + * Gets the field + * Computes aggregation on the field while the field exists in current entity type. Required. + * + * @return string|null The field + */ + public function getField() + { + if (array_key_exists("field", $this->_propDict)) { + return $this->_propDict["field"]; + } else { + return null; + } + } + + /** + * Sets the field + * Computes aggregation on the field while the field exists in current entity type. Required. + * + * @param string $val The value of the field + * + * @return AggregationOption + */ + public function setField($val) + { + $this->_propDict["field"] = $val; + return $this; + } + /** + * Gets the size + * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * + * @param int $val The value of the size + * + * @return AggregationOption + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Agreement.php b/vendor/microsoft/microsoft-graph/src/Model/Agreement.php new file mode 100644 index 0000000..eca919b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Agreement.php @@ -0,0 +1,273 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the agreement. The display name is used for internal tracking of the agreement but is not shown to end users who view the agreement. Supports $filter (eq). + * + * @param string $val The displayName + * + * @return Agreement + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isPerDeviceAcceptanceRequired + * This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so. Supports $filter (eq). + * + * @return bool|null The isPerDeviceAcceptanceRequired + */ + public function getIsPerDeviceAcceptanceRequired() + { + if (array_key_exists("isPerDeviceAcceptanceRequired", $this->_propDict)) { + return $this->_propDict["isPerDeviceAcceptanceRequired"]; + } else { + return null; + } + } + + /** + * Sets the isPerDeviceAcceptanceRequired + * This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Azure AD, if they haven't already done so. Supports $filter (eq). + * + * @param bool $val The isPerDeviceAcceptanceRequired + * + * @return Agreement + */ + public function setIsPerDeviceAcceptanceRequired($val) + { + $this->_propDict["isPerDeviceAcceptanceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the isViewingBeforeAcceptanceRequired + * Indicates whether the user has to expand the agreement before accepting. Supports $filter (eq). + * + * @return bool|null The isViewingBeforeAcceptanceRequired + */ + public function getIsViewingBeforeAcceptanceRequired() + { + if (array_key_exists("isViewingBeforeAcceptanceRequired", $this->_propDict)) { + return $this->_propDict["isViewingBeforeAcceptanceRequired"]; + } else { + return null; + } + } + + /** + * Sets the isViewingBeforeAcceptanceRequired + * Indicates whether the user has to expand the agreement before accepting. Supports $filter (eq). + * + * @param bool $val The isViewingBeforeAcceptanceRequired + * + * @return Agreement + */ + public function setIsViewingBeforeAcceptanceRequired($val) + { + $this->_propDict["isViewingBeforeAcceptanceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the termsExpiration + * Expiration schedule and frequency of agreement for all users. Supports $filter (eq). + * + * @return TermsExpiration|null The termsExpiration + */ + public function getTermsExpiration() + { + if (array_key_exists("termsExpiration", $this->_propDict)) { + if (is_a($this->_propDict["termsExpiration"], "\Microsoft\Graph\Model\TermsExpiration") || is_null($this->_propDict["termsExpiration"])) { + return $this->_propDict["termsExpiration"]; + } else { + $this->_propDict["termsExpiration"] = new TermsExpiration($this->_propDict["termsExpiration"]); + return $this->_propDict["termsExpiration"]; + } + } + return null; + } + + /** + * Sets the termsExpiration + * Expiration schedule and frequency of agreement for all users. Supports $filter (eq). + * + * @param TermsExpiration $val The termsExpiration + * + * @return Agreement + */ + public function setTermsExpiration($val) + { + $this->_propDict["termsExpiration"] = $val; + return $this; + } + + /** + * Gets the userReacceptRequiredFrequency + * The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations. + * + * @return \DateInterval|null The userReacceptRequiredFrequency + */ + public function getUserReacceptRequiredFrequency() + { + if (array_key_exists("userReacceptRequiredFrequency", $this->_propDict)) { + if (is_a($this->_propDict["userReacceptRequiredFrequency"], "\DateInterval") || is_null($this->_propDict["userReacceptRequiredFrequency"])) { + return $this->_propDict["userReacceptRequiredFrequency"]; + } else { + $this->_propDict["userReacceptRequiredFrequency"] = new \DateInterval($this->_propDict["userReacceptRequiredFrequency"]); + return $this->_propDict["userReacceptRequiredFrequency"]; + } + } + return null; + } + + /** + * Sets the userReacceptRequiredFrequency + * The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations. + * + * @param \DateInterval $val The userReacceptRequiredFrequency + * + * @return Agreement + */ + public function setUserReacceptRequiredFrequency($val) + { + $this->_propDict["userReacceptRequiredFrequency"] = $val; + return $this; + } + + + /** + * Gets the acceptances + * Read-only. Information about acceptances of this agreement. + * + * @return array|null The acceptances + */ + public function getAcceptances() + { + if (array_key_exists("acceptances", $this->_propDict)) { + return $this->_propDict["acceptances"]; + } else { + return null; + } + } + + /** + * Sets the acceptances + * Read-only. Information about acceptances of this agreement. + * + * @param AgreementAcceptance[] $val The acceptances + * + * @return Agreement + */ + public function setAcceptances($val) + { + $this->_propDict["acceptances"] = $val; + return $this; + } + + /** + * Gets the file + * Default PDF linked to this agreement. + * + * @return AgreementFile|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\Microsoft\Graph\Model\AgreementFile") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = new AgreementFile($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * Default PDF linked to this agreement. + * + * @param AgreementFile $val The file + * + * @return Agreement + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + + /** + * Gets the files + * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. + * + * @return array|null The files + */ + public function getFiles() + { + if (array_key_exists("files", $this->_propDict)) { + return $this->_propDict["files"]; + } else { + return null; + } + } + + /** + * Sets the files + * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. + * + * @param AgreementFileLocalization[] $val The files + * + * @return Agreement + */ + public function setFiles($val) + { + $this->_propDict["files"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptance.php b/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptance.php new file mode 100644 index 0000000..d85e771 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptance.php @@ -0,0 +1,416 @@ +_propDict)) { + return $this->_propDict["agreementFileId"]; + } else { + return null; + } + } + + /** + * Sets the agreementFileId + * ID of the agreement file accepted by the user. + * + * @param string $val The agreementFileId + * + * @return AgreementAcceptance + */ + public function setAgreementFileId($val) + { + $this->_propDict["agreementFileId"] = $val; + return $this; + } + + /** + * Gets the agreementId + * ID of the agreement. + * + * @return string|null The agreementId + */ + public function getAgreementId() + { + if (array_key_exists("agreementId", $this->_propDict)) { + return $this->_propDict["agreementId"]; + } else { + return null; + } + } + + /** + * Sets the agreementId + * ID of the agreement. + * + * @param string $val The agreementId + * + * @return AgreementAcceptance + */ + public function setAgreementId($val) + { + $this->_propDict["agreementId"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * The display name of the device used for accepting the agreement. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * The display name of the device used for accepting the agreement. + * + * @param string $val The deviceDisplayName + * + * @return AgreementAcceptance + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The unique identifier of the device used for accepting the agreement. + * + * @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 unique identifier of the device used for accepting the agreement. + * + * @param string $val The deviceId + * + * @return AgreementAcceptance + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceOSType + * The operating system used for accepting the agreement. + * + * @return string|null The deviceOSType + */ + public function getDeviceOSType() + { + if (array_key_exists("deviceOSType", $this->_propDict)) { + return $this->_propDict["deviceOSType"]; + } else { + return null; + } + } + + /** + * Sets the deviceOSType + * The operating system used for accepting the agreement. + * + * @param string $val The deviceOSType + * + * @return AgreementAcceptance + */ + public function setDeviceOSType($val) + { + $this->_propDict["deviceOSType"] = $val; + return $this; + } + + /** + * Gets the deviceOSVersion + * The operating system version of the device used for accepting the agreement. + * + * @return string|null The deviceOSVersion + */ + public function getDeviceOSVersion() + { + if (array_key_exists("deviceOSVersion", $this->_propDict)) { + return $this->_propDict["deviceOSVersion"]; + } else { + return null; + } + } + + /** + * Sets the deviceOSVersion + * The operating system version of the device used for accepting the agreement. + * + * @param string $val The deviceOSVersion + * + * @return AgreementAcceptance + */ + public function setDeviceOSVersion($val) + { + $this->_propDict["deviceOSVersion"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date time of the acceptance. 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 expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date time of the acceptance. 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 expirationDateTime + * + * @return AgreementAcceptance + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the recordedDateTime + * 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 recordedDateTime + */ + public function getRecordedDateTime() + { + if (array_key_exists("recordedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["recordedDateTime"], "\DateTime") || is_null($this->_propDict["recordedDateTime"])) { + return $this->_propDict["recordedDateTime"]; + } else { + $this->_propDict["recordedDateTime"] = new \DateTime($this->_propDict["recordedDateTime"]); + return $this->_propDict["recordedDateTime"]; + } + } + return null; + } + + /** + * Sets the recordedDateTime + * 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 recordedDateTime + * + * @return AgreementAcceptance + */ + public function setRecordedDateTime($val) + { + $this->_propDict["recordedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Possible values are: accepted, declined. Supports $filter (eq). + * + * @return AgreementAcceptanceState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AgreementAcceptanceState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AgreementAcceptanceState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Possible values are: accepted, declined. Supports $filter (eq). + * + * @param AgreementAcceptanceState $val The state + * + * @return AgreementAcceptance + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * Display name of the user when the acceptance was recorded. + * + * @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 + * Display name of the user when the acceptance was recorded. + * + * @param string $val The userDisplayName + * + * @return AgreementAcceptance + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userEmail + * Email of the user when the acceptance was recorded. + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * Email of the user when the acceptance was recorded. + * + * @param string $val The userEmail + * + * @return AgreementAcceptance + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user who accepted the agreement. + * + * @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 + * ID of the user who accepted the agreement. + * + * @param string $val The userId + * + * @return AgreementAcceptance + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * UPN of the user when the acceptance was recorded. + * + * @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 + * UPN of the user when the acceptance was recorded. + * + * @param string $val The userPrincipalName + * + * @return AgreementAcceptance + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptanceState.php b/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptanceState.php new file mode 100644 index 0000000..055b074 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptanceState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["localizations"]; + } else { + return null; + } + } + + /** + * Sets the localizations + * The localized version of the terms of use agreement files attached to the agreement. + * + * @param AgreementFileLocalization[] $val The localizations + * + * @return AgreementFile + */ + public function setLocalizations($val) + { + $this->_propDict["localizations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileData.php b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileData.php new file mode 100644 index 0000000..eaf338c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileData.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["data"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["data"])) { + return $this->_propDict["data"]; + } else { + $this->_propDict["data"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["data"]); + return $this->_propDict["data"]; + } + } + return null; + } + + /** + * Sets the data + * Data that represents the terms of use PDF document. Read-only. Note: You can use the .NET Convert.ToBase64String method to convert your file to binary data for uploading using the Create agreements API. A sample syntax using this method in PowerShell is [convert]::ToBase64String((Get-Content -path 'your_file_path' -Encoding byte)). + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the data + * + * @return AgreementFileData The AgreementFileData + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileLocalization.php b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileLocalization.php new file mode 100644 index 0000000..1e3bf05 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileLocalization.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. + * + * @param AgreementFileVersion[] $val The versions + * + * @return AgreementFileLocalization + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileProperties.php b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileProperties.php new file mode 100644 index 0000000..394a2f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileProperties.php @@ -0,0 +1,238 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date time representing when the file was created.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 createdDateTime + * + * @return AgreementFileProperties + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Localized display name of the policy file of an agreement. The localized display name is shown to end users who view the agreement. + * + * @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 + * Localized display name of the policy file of an agreement. The localized display name is shown to end users who view the agreement. + * + * @param string $val The displayName + * + * @return AgreementFileProperties + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fileData + * Data that represents the terms of use PDF document. Read-only. + * + * @return AgreementFileData|null The fileData + */ + public function getFileData() + { + if (array_key_exists("fileData", $this->_propDict)) { + if (is_a($this->_propDict["fileData"], "\Microsoft\Graph\Model\AgreementFileData") || is_null($this->_propDict["fileData"])) { + return $this->_propDict["fileData"]; + } else { + $this->_propDict["fileData"] = new AgreementFileData($this->_propDict["fileData"]); + return $this->_propDict["fileData"]; + } + } + return null; + } + + /** + * Sets the fileData + * Data that represents the terms of use PDF document. Read-only. + * + * @param AgreementFileData $val The fileData + * + * @return AgreementFileProperties + */ + public function setFileData($val) + { + $this->_propDict["fileData"] = $val; + return $this; + } + + /** + * Gets the fileName + * Name of the agreement file (for example, TOU.pdf). Read-only. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Name of the agreement file (for example, TOU.pdf). Read-only. + * + * @param string $val The fileName + * + * @return AgreementFileProperties + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the isDefault + * If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only. + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only. + * + * @param bool $val The isDefault + * + * @return AgreementFileProperties + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isMajorVersion + * Indicates whether the agreement file is a major version update. Major version updates invalidate the agreement's acceptances on the corresponding language. + * + * @return bool|null The isMajorVersion + */ + public function getIsMajorVersion() + { + if (array_key_exists("isMajorVersion", $this->_propDict)) { + return $this->_propDict["isMajorVersion"]; + } else { + return null; + } + } + + /** + * Sets the isMajorVersion + * Indicates whether the agreement file is a major version update. Major version updates invalidate the agreement's acceptances on the corresponding language. + * + * @param bool $val The isMajorVersion + * + * @return AgreementFileProperties + */ + public function setIsMajorVersion($val) + { + $this->_propDict["isMajorVersion"] = boolval($val); + return $this; + } + + /** + * Gets the language + * The language of the agreement file in the format 'languagecode2-country/regioncode2'. 'languagecode2' is a lowercase two-letter code derived from ISO 639-1, while 'country/regioncode2' is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag. For example, U.S. English is en-US. Read-only. + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * The language of the agreement file in the format 'languagecode2-country/regioncode2'. 'languagecode2' is a lowercase two-letter code derived from ISO 639-1, while 'country/regioncode2' is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag. For example, U.S. English is en-US. Read-only. + * + * @param string $val The language + * + * @return AgreementFileProperties + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileVersion.php b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileVersion.php new file mode 100644 index 0000000..4b72990 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AgreementFileVersion.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["coverImageItemId"]; + } else { + return null; + } + } + + /** + * Sets the coverImageItemId + * Unique identifier of the [driveItem][] that is the cover of the album. + * + * @param string $val The value of the coverImageItemId + * + * @return Album + */ + public function setCoverImageItemId($val) + { + $this->_propDict["coverImageItemId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Alert.php b/vendor/microsoft/microsoft-graph/src/Model/Alert.php new file mode 100644 index 0000000..70a4301 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Alert.php @@ -0,0 +1,1200 @@ +_propDict)) { + return $this->_propDict["activityGroupName"]; + } else { + return null; + } + } + + /** + * Sets the activityGroupName + * Name or alias of the activity group (attacker) this alert is attributed to. + * + * @param string $val The activityGroupName + * + * @return Alert + */ + public function setActivityGroupName($val) + { + $this->_propDict["activityGroupName"] = $val; + return $this; + } + + + /** + * Gets the alertDetections + * + * @return array|null The alertDetections + */ + public function getAlertDetections() + { + if (array_key_exists("alertDetections", $this->_propDict)) { + return $this->_propDict["alertDetections"]; + } else { + return null; + } + } + + /** + * Sets the alertDetections + * + * @param AlertDetection[] $val The alertDetections + * + * @return Alert + */ + public function setAlertDetections($val) + { + $this->_propDict["alertDetections"] = $val; + return $this; + } + + /** + * Gets the assignedTo + * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). + * + * @return string|null The assignedTo + */ + public function getAssignedTo() + { + if (array_key_exists("assignedTo", $this->_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update). + * + * @param string $val The assignedTo + * + * @return Alert + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the azureSubscriptionId + * Azure subscription ID, present if this alert is related to an Azure resource. + * + * @return string|null The azureSubscriptionId + */ + public function getAzureSubscriptionId() + { + if (array_key_exists("azureSubscriptionId", $this->_propDict)) { + return $this->_propDict["azureSubscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the azureSubscriptionId + * Azure subscription ID, present if this alert is related to an Azure resource. + * + * @param string $val The azureSubscriptionId + * + * @return Alert + */ + public function setAzureSubscriptionId($val) + { + $this->_propDict["azureSubscriptionId"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * Azure Active Directory tenant ID. Required. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * Azure Active Directory tenant ID. Required. + * + * @param string $val The azureTenantId + * + * @return Alert + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + /** + * Gets the category + * Category of the alert (for example, credentialTheft, ransomware, etc.). + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Category of the alert (for example, credentialTheft, ransomware, etc.). + * + * @param string $val The category + * + * @return Alert + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the closedDateTime + * Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update). + * + * @return \DateTime|null The closedDateTime + */ + public function getClosedDateTime() + { + if (array_key_exists("closedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { + return $this->_propDict["closedDateTime"]; + } else { + $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); + return $this->_propDict["closedDateTime"]; + } + } + return null; + } + + /** + * Sets the closedDateTime + * Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update). + * + * @param \DateTime $val The closedDateTime + * + * @return Alert + */ + public function setClosedDateTime($val) + { + $this->_propDict["closedDateTime"] = $val; + return $this; + } + + + /** + * Gets the cloudAppStates + * Security-related stateful information generated by the provider about the cloud application/s related to this alert. + * + * @return array|null The cloudAppStates + */ + public function getCloudAppStates() + { + if (array_key_exists("cloudAppStates", $this->_propDict)) { + return $this->_propDict["cloudAppStates"]; + } else { + return null; + } + } + + /** + * Sets the cloudAppStates + * Security-related stateful information generated by the provider about the cloud application/s related to this alert. + * + * @param CloudAppSecurityState[] $val The cloudAppStates + * + * @return Alert + */ + public function setCloudAppStates($val) + { + $this->_propDict["cloudAppStates"] = $val; + return $this; + } + + /** + * Gets the comments + * Customer-provided comments on alert (for customer alert management) (supports update). + * + * @return string|null The comments + */ + public function getComments() + { + if (array_key_exists("comments", $this->_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * Customer-provided comments on alert (for customer alert management) (supports update). + * + * @param string $val The comments + * + * @return Alert + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + + /** + * Gets the confidence + * Confidence of the detection logic (percentage between 1-100). + * + * @return int|null The confidence + */ + public function getConfidence() + { + if (array_key_exists("confidence", $this->_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * Confidence of the detection logic (percentage between 1-100). + * + * @param int $val The confidence + * + * @return Alert + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = intval($val); + return $this; + } + + /** + * Gets the createdDateTime + * Time at which the alert was created by the alert provider. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time at which the alert was created by the alert provider. 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 createdDateTime + * + * @return Alert + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Alert description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Alert description. + * + * @param string $val The description + * + * @return Alert + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the detectionIds + * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). + * + * @return string|null The detectionIds + */ + public function getDetectionIds() + { + if (array_key_exists("detectionIds", $this->_propDict)) { + return $this->_propDict["detectionIds"]; + } else { + return null; + } + } + + /** + * Sets the detectionIds + * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). + * + * @param string $val The detectionIds + * + * @return Alert + */ + public function setDetectionIds($val) + { + $this->_propDict["detectionIds"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 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 + * Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 eventDateTime + * + * @return Alert + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the feedback + * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) + * + * @return AlertFeedback|null The feedback + */ + public function getFeedback() + { + if (array_key_exists("feedback", $this->_propDict)) { + if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\AlertFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) + * + * @param AlertFeedback $val The feedback + * + * @return Alert + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + + /** + * Gets the fileStates + * Security-related stateful information generated by the provider about the file(s) related to this alert. + * + * @return array|null The fileStates + */ + public function getFileStates() + { + if (array_key_exists("fileStates", $this->_propDict)) { + return $this->_propDict["fileStates"]; + } else { + return null; + } + } + + /** + * Sets the fileStates + * Security-related stateful information generated by the provider about the file(s) related to this alert. + * + * @param FileSecurityState[] $val The fileStates + * + * @return Alert + */ + public function setFileStates($val) + { + $this->_propDict["fileStates"] = $val; + return $this; + } + + + /** + * Gets the historyStates + * A collection of alertHistoryStates comprising an audit log of all updates made to an alert. + * + * @return array|null The historyStates + */ + public function getHistoryStates() + { + if (array_key_exists("historyStates", $this->_propDict)) { + return $this->_propDict["historyStates"]; + } else { + return null; + } + } + + /** + * Sets the historyStates + * A collection of alertHistoryStates comprising an audit log of all updates made to an alert. + * + * @param AlertHistoryState[] $val The historyStates + * + * @return Alert + */ + public function setHistoryStates($val) + { + $this->_propDict["historyStates"] = $val; + return $this; + } + + + /** + * Gets the hostStates + * Security-related stateful information generated by the provider about the host(s) related to this alert. + * + * @return array|null The hostStates + */ + public function getHostStates() + { + if (array_key_exists("hostStates", $this->_propDict)) { + return $this->_propDict["hostStates"]; + } else { + return null; + } + } + + /** + * Sets the hostStates + * Security-related stateful information generated by the provider about the host(s) related to this alert. + * + * @param HostSecurityState[] $val The hostStates + * + * @return Alert + */ + public function setHostStates($val) + { + $this->_propDict["hostStates"] = $val; + return $this; + } + + /** + * Gets the incidentIds + * IDs of incidents related to current alert. + * + * @return string|null The incidentIds + */ + public function getIncidentIds() + { + if (array_key_exists("incidentIds", $this->_propDict)) { + return $this->_propDict["incidentIds"]; + } else { + return null; + } + } + + /** + * Sets the incidentIds + * IDs of incidents related to current alert. + * + * @param string $val The incidentIds + * + * @return Alert + */ + public function setIncidentIds($val) + { + $this->_propDict["incidentIds"] = $val; + return $this; + } + + + /** + * Gets the investigationSecurityStates + * + * @return array|null The investigationSecurityStates + */ + public function getInvestigationSecurityStates() + { + if (array_key_exists("investigationSecurityStates", $this->_propDict)) { + return $this->_propDict["investigationSecurityStates"]; + } else { + return null; + } + } + + /** + * Sets the investigationSecurityStates + * + * @param InvestigationSecurityState[] $val The investigationSecurityStates + * + * @return Alert + */ + public function setInvestigationSecurityStates($val) + { + $this->_propDict["investigationSecurityStates"] = $val; + return $this; + } + + /** + * Gets the lastEventDateTime + * + * @return \DateTime|null The lastEventDateTime + */ + public function getLastEventDateTime() + { + if (array_key_exists("lastEventDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastEventDateTime"], "\DateTime") || is_null($this->_propDict["lastEventDateTime"])) { + return $this->_propDict["lastEventDateTime"]; + } else { + $this->_propDict["lastEventDateTime"] = new \DateTime($this->_propDict["lastEventDateTime"]); + return $this->_propDict["lastEventDateTime"]; + } + } + return null; + } + + /** + * Sets the lastEventDateTime + * + * @param \DateTime $val The lastEventDateTime + * + * @return Alert + */ + public function setLastEventDateTime($val) + { + $this->_propDict["lastEventDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Alert + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the malwareStates + * Threat Intelligence pertaining to malware related to this alert. + * + * @return array|null The malwareStates + */ + public function getMalwareStates() + { + if (array_key_exists("malwareStates", $this->_propDict)) { + return $this->_propDict["malwareStates"]; + } else { + return null; + } + } + + /** + * Sets the malwareStates + * Threat Intelligence pertaining to malware related to this alert. + * + * @param MalwareState[] $val The malwareStates + * + * @return Alert + */ + public function setMalwareStates($val) + { + $this->_propDict["malwareStates"] = $val; + return $this; + } + + + /** + * Gets the messageSecurityStates + * + * @return array|null The messageSecurityStates + */ + public function getMessageSecurityStates() + { + if (array_key_exists("messageSecurityStates", $this->_propDict)) { + return $this->_propDict["messageSecurityStates"]; + } else { + return null; + } + } + + /** + * Sets the messageSecurityStates + * + * @param MessageSecurityState[] $val The messageSecurityStates + * + * @return Alert + */ + public function setMessageSecurityStates($val) + { + $this->_propDict["messageSecurityStates"] = $val; + return $this; + } + + + /** + * Gets the networkConnections + * Security-related stateful information generated by the provider about the network connection(s) related to this alert. + * + * @return array|null The networkConnections + */ + public function getNetworkConnections() + { + if (array_key_exists("networkConnections", $this->_propDict)) { + return $this->_propDict["networkConnections"]; + } else { + return null; + } + } + + /** + * Sets the networkConnections + * Security-related stateful information generated by the provider about the network connection(s) related to this alert. + * + * @param NetworkConnection[] $val The networkConnections + * + * @return Alert + */ + public function setNetworkConnections($val) + { + $this->_propDict["networkConnections"] = $val; + return $this; + } + + + /** + * Gets the processes + * Security-related stateful information generated by the provider about the process or processes related to this alert. + * + * @return array|null The processes + */ + public function getProcesses() + { + if (array_key_exists("processes", $this->_propDict)) { + return $this->_propDict["processes"]; + } else { + return null; + } + } + + /** + * Sets the processes + * Security-related stateful information generated by the provider about the process or processes related to this alert. + * + * @param Process[] $val The processes + * + * @return Alert + */ + public function setProcesses($val) + { + $this->_propDict["processes"] = $val; + return $this; + } + + /** + * Gets the recommendedActions + * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + * + * @return string|null The recommendedActions + */ + public function getRecommendedActions() + { + if (array_key_exists("recommendedActions", $this->_propDict)) { + return $this->_propDict["recommendedActions"]; + } else { + return null; + } + } + + /** + * Sets the recommendedActions + * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + * + * @param string $val The recommendedActions + * + * @return Alert + */ + public function setRecommendedActions($val) + { + $this->_propDict["recommendedActions"] = $val; + return $this; + } + + + /** + * Gets the registryKeyStates + * Security-related stateful information generated by the provider about the registry keys related to this alert. + * + * @return array|null The registryKeyStates + */ + public function getRegistryKeyStates() + { + if (array_key_exists("registryKeyStates", $this->_propDict)) { + return $this->_propDict["registryKeyStates"]; + } else { + return null; + } + } + + /** + * Sets the registryKeyStates + * Security-related stateful information generated by the provider about the registry keys related to this alert. + * + * @param RegistryKeyState[] $val The registryKeyStates + * + * @return Alert + */ + public function setRegistryKeyStates($val) + { + $this->_propDict["registryKeyStates"] = $val; + return $this; + } + + + /** + * Gets the securityResources + * Resources related to current alert. For example, for some alerts this can have the Azure Resource value. + * + * @return array|null The securityResources + */ + public function getSecurityResources() + { + if (array_key_exists("securityResources", $this->_propDict)) { + return $this->_propDict["securityResources"]; + } else { + return null; + } + } + + /** + * Sets the securityResources + * Resources related to current alert. For example, for some alerts this can have the Azure Resource value. + * + * @param SecurityResource[] $val The securityResources + * + * @return Alert + */ + public function setSecurityResources($val) + { + $this->_propDict["securityResources"] = $val; + return $this; + } + + /** + * Gets the severity + * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required. + * + * @return AlertSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Microsoft\Graph\Model\AlertSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new AlertSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * Alert severity - set by vendor/provider. Possible values are: unknown, informational, low, medium, high. Required. + * + * @param AlertSeverity $val The severity + * + * @return Alert + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + + /** + * Gets the sourceMaterials + * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. + * + * @return string|null The sourceMaterials + */ + public function getSourceMaterials() + { + if (array_key_exists("sourceMaterials", $this->_propDict)) { + return $this->_propDict["sourceMaterials"]; + } else { + return null; + } + } + + /** + * Sets the sourceMaterials + * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. + * + * @param string $val The sourceMaterials + * + * @return Alert + */ + public function setSourceMaterials($val) + { + $this->_propDict["sourceMaterials"] = $val; + return $this; + } + + /** + * Gets the status + * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required. + * + * @return AlertStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AlertStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AlertStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Alert lifecycle status (stage). Possible values are: unknown, newAlert, inProgress, resolved. (supports update). Required. + * + * @param AlertStatus $val The status + * + * @return Alert + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the tags + * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). + * + * @param string $val The tags + * + * @return Alert + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the title + * Alert title. Required. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Alert title. Required. + * + * @param string $val The title + * + * @return Alert + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the triggers + * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation. + * + * @return array|null The triggers + */ + public function getTriggers() + { + if (array_key_exists("triggers", $this->_propDict)) { + return $this->_propDict["triggers"]; + } else { + return null; + } + } + + /** + * Sets the triggers + * Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation. + * + * @param AlertTrigger[] $val The triggers + * + * @return Alert + */ + public function setTriggers($val) + { + $this->_propDict["triggers"] = $val; + return $this; + } + + + /** + * Gets the uriClickSecurityStates + * + * @return array|null The uriClickSecurityStates + */ + public function getUriClickSecurityStates() + { + if (array_key_exists("uriClickSecurityStates", $this->_propDict)) { + return $this->_propDict["uriClickSecurityStates"]; + } else { + return null; + } + } + + /** + * Sets the uriClickSecurityStates + * + * @param UriClickSecurityState[] $val The uriClickSecurityStates + * + * @return Alert + */ + public function setUriClickSecurityStates($val) + { + $this->_propDict["uriClickSecurityStates"] = $val; + return $this; + } + + + /** + * Gets the userStates + * Security-related stateful information generated by the provider about the user accounts related to this alert. + * + * @return array|null The userStates + */ + public function getUserStates() + { + if (array_key_exists("userStates", $this->_propDict)) { + return $this->_propDict["userStates"]; + } else { + return null; + } + } + + /** + * Sets the userStates + * Security-related stateful information generated by the provider about the user accounts related to this alert. + * + * @param UserSecurityState[] $val The userStates + * + * @return Alert + */ + public function setUserStates($val) + { + $this->_propDict["userStates"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required. + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required. + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return Alert + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + + + /** + * Gets the vulnerabilityStates + * Threat intelligence pertaining to one or more vulnerabilities related to this alert. + * + * @return array|null The vulnerabilityStates + */ + public function getVulnerabilityStates() + { + if (array_key_exists("vulnerabilityStates", $this->_propDict)) { + return $this->_propDict["vulnerabilityStates"]; + } else { + return null; + } + } + + /** + * Sets the vulnerabilityStates + * Threat intelligence pertaining to one or more vulnerabilities related to this alert. + * + * @param VulnerabilityState[] $val The vulnerabilityStates + * + * @return Alert + */ + public function setVulnerabilityStates($val) + { + $this->_propDict["vulnerabilityStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AlertDetection.php b/vendor/microsoft/microsoft-graph/src/Model/AlertDetection.php new file mode 100644 index 0000000..4e9331b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AlertDetection.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["detectionType"]; + } else { + return null; + } + } + + /** + * Sets the detectionType + * + * @param string $val The value of the detectionType + * + * @return AlertDetection + */ + public function setDetectionType($val) + { + $this->_propDict["detectionType"] = $val; + return $this; + } + /** + * Gets the method + * + * @return string|null The method + */ + public function getMethod() + { + if (array_key_exists("method", $this->_propDict)) { + return $this->_propDict["method"]; + } else { + return null; + } + } + + /** + * Sets the method + * + * @param string $val The value of the method + * + * @return AlertDetection + */ + public function setMethod($val) + { + $this->_propDict["method"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return AlertDetection + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AlertFeedback.php b/vendor/microsoft/microsoft-graph/src/Model/AlertFeedback.php new file mode 100644 index 0000000..885e3b6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AlertFeedback.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The Application ID of the calling application that submitted an update (PATCH) to the alert. The appId should be extracted from the auth token and not entered manually by the calling application. + * + * @param string $val The value of the appId + * + * @return AlertHistoryState + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the assignedTo + * UPN of user the alert was assigned to (note: alert.assignedTo only stores the last value/UPN). + * + * @return string|null The assignedTo + */ + public function getAssignedTo() + { + if (array_key_exists("assignedTo", $this->_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * UPN of user the alert was assigned to (note: alert.assignedTo only stores the last value/UPN). + * + * @param string $val The value of the assignedTo + * + * @return AlertHistoryState + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + /** + * Gets the comments + * Comment entered by signed-in user. + * + * @return string|null The comments + */ + public function getComments() + { + if (array_key_exists("comments", $this->_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * Comment entered by signed-in user. + * + * @param string $val The value of the comments + * + * @return AlertHistoryState + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + + /** + * Gets the feedback + * Analyst feedback on the alert in this update. Possible values are: unknown, truePositive, falsePositive, benignPositive. + * + * @return AlertFeedback|null The feedback + */ + public function getFeedback() + { + if (array_key_exists("feedback", $this->_propDict)) { + if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\AlertFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new AlertFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Analyst feedback on the alert in this update. Possible values are: unknown, truePositive, falsePositive, benignPositive. + * + * @param AlertFeedback $val The value to assign to the feedback + * + * @return AlertHistoryState The AlertHistoryState + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + /** + * Gets the status + * Alert status value (if updated). Possible values are: unknown, newAlert, inProgress, resolved, dismissed. + * + * @return AlertStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AlertStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AlertStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Alert status value (if updated). Possible values are: unknown, newAlert, inProgress, resolved, dismissed. + * + * @param AlertStatus $val The value to assign to the status + * + * @return AlertHistoryState The AlertHistoryState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the updatedDateTime + * Date and time of the alert update. 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 updatedDateTime + */ + public function getUpdatedDateTime() + { + if (array_key_exists("updatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["updatedDateTime"], "\DateTime") || is_null($this->_propDict["updatedDateTime"])) { + return $this->_propDict["updatedDateTime"]; + } else { + $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); + return $this->_propDict["updatedDateTime"]; + } + } + return null; + } + + /** + * Sets the updatedDateTime + * Date and time of the alert update. 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 updatedDateTime + * + * @return AlertHistoryState The AlertHistoryState + */ + public function setUpdatedDateTime($val) + { + $this->_propDict["updatedDateTime"] = $val; + return $this; + } + /** + * Gets the user + * UPN of the signed-in user that updated the alert (taken from the bearer token - if in user/delegated auth mode). + * + * @return string|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + return $this->_propDict["user"]; + } else { + return null; + } + } + + /** + * Sets the user + * UPN of the signed-in user that updated the alert (taken from the bearer token - if in user/delegated auth mode). + * + * @param string $val The value of the user + * + * @return AlertHistoryState + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AlertSeverity.php b/vendor/microsoft/microsoft-graph/src/Model/AlertSeverity.php new file mode 100644 index 0000000..e5596fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AlertSeverity.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the property serving as a detection trigger. + * + * @param string $val The value of the name + * + * @return AlertTrigger + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * Type of the property in the key:value pair for interpretation. For example, String, Boolean etc. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the property in the key:value pair for interpretation. For example, String, Boolean etc. + * + * @param string $val The value of the type + * + * @return AlertTrigger + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * Value of the property serving as a detection trigger. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the property serving as a detection trigger. + * + * @param string $val The value of the value + * + * @return AlertTrigger + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AllDevicesAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/AllDevicesAssignmentTarget.php new file mode 100644 index 0000000..26c16d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AllDevicesAssignmentTarget.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.allDevicesAssignmentTarget"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php new file mode 100644 index 0000000..899db7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.allLicensedUsersAssignmentTarget"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AllowInvitesFrom.php b/vendor/microsoft/microsoft-graph/src/Model/AllowInvitesFrom.php new file mode 100644 index 0000000..84e3946 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AllowInvitesFrom.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["originalQueryString"]; + } else { + return null; + } + } + + /** + * Sets the originalQueryString + * Defines the original user query string. + * + * @param string $val The value of the originalQueryString + * + * @return AlterationResponse + */ + public function setOriginalQueryString($val) + { + $this->_propDict["originalQueryString"] = $val; + return $this; + } + + /** + * Gets the queryAlteration + * Defines the details of alteration information for the spelling correction. + * + * @return SearchAlteration|null The queryAlteration + */ + public function getQueryAlteration() + { + if (array_key_exists("queryAlteration", $this->_propDict)) { + if (is_a($this->_propDict["queryAlteration"], "\Microsoft\Graph\Model\SearchAlteration") || is_null($this->_propDict["queryAlteration"])) { + return $this->_propDict["queryAlteration"]; + } else { + $this->_propDict["queryAlteration"] = new SearchAlteration($this->_propDict["queryAlteration"]); + return $this->_propDict["queryAlteration"]; + } + } + return null; + } + + /** + * Sets the queryAlteration + * Defines the details of alteration information for the spelling correction. + * + * @param SearchAlteration $val The value to assign to the queryAlteration + * + * @return AlterationResponse The AlterationResponse + */ + public function setQueryAlteration($val) + { + $this->_propDict["queryAlteration"] = $val; + return $this; + } + + /** + * Gets the queryAlterationType + * Defines the type of the spelling correction. Possible values are suggestion, modification. + * + * @return SearchAlterationType|null The queryAlterationType + */ + public function getQueryAlterationType() + { + if (array_key_exists("queryAlterationType", $this->_propDict)) { + if (is_a($this->_propDict["queryAlterationType"], "\Microsoft\Graph\Model\SearchAlterationType") || is_null($this->_propDict["queryAlterationType"])) { + return $this->_propDict["queryAlterationType"]; + } else { + $this->_propDict["queryAlterationType"] = new SearchAlterationType($this->_propDict["queryAlterationType"]); + return $this->_propDict["queryAlterationType"]; + } + } + return null; + } + + /** + * Sets the queryAlterationType + * Defines the type of the spelling correction. Possible values are suggestion, modification. + * + * @param SearchAlterationType $val The value to assign to the queryAlterationType + * + * @return AlterationResponse The AlterationResponse + */ + public function setQueryAlterationType($val) + { + $this->_propDict["queryAlterationType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AlteredQueryToken.php b/vendor/microsoft/microsoft-graph/src/Model/AlteredQueryToken.php new file mode 100644 index 0000000..020a91e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AlteredQueryToken.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["length"]; + } else { + return null; + } + } + + /** + * Sets the length + * Defines the length of a changed segment. + * + * @param int $val The value of the length + * + * @return AlteredQueryToken + */ + public function setLength($val) + { + $this->_propDict["length"] = $val; + return $this; + } + /** + * Gets the offset + * Defines the offset of a changed segment. + * + * @return int|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + return $this->_propDict["offset"]; + } else { + return null; + } + } + + /** + * Sets the offset + * Defines the offset of a changed segment. + * + * @param int $val The value of the offset + * + * @return AlteredQueryToken + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } + /** + * Gets the suggestion + * Represents the corrected segment string. + * + * @return string|null The suggestion + */ + public function getSuggestion() + { + if (array_key_exists("suggestion", $this->_propDict)) { + return $this->_propDict["suggestion"]; + } else { + return null; + } + } + + /** + * Sets the suggestion + * Represents the corrected segment string. + * + * @param string $val The value of the suggestion + * + * @return AlteredQueryToken + */ + public function setSuggestion($val) + { + $this->_propDict["suggestion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AlternativeSecurityId.php b/vendor/microsoft/microsoft-graph/src/Model/AlternativeSecurityId.php new file mode 100644 index 0000000..331bf90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AlternativeSecurityId.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["identityProvider"]; + } else { + return null; + } + } + + /** + * Sets the identityProvider + * For internal use only + * + * @param string $val The value of the identityProvider + * + * @return AlternativeSecurityId + */ + public function setIdentityProvider($val) + { + $this->_propDict["identityProvider"] = $val; + return $this; + } + + /** + * Gets the key + * For internal use only + * + * @return \GuzzleHttp\Psr7\Stream|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * For internal use only + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key + * + * @return AlternativeSecurityId The AlternativeSecurityId + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the type + * For internal use only + * + * @return int|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * For internal use only + * + * @param int $val The value of the type + * + * @return AlternativeSecurityId + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidCompliancePolicy.php new file mode 100644 index 0000000..acecc77 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidCompliancePolicy.php @@ -0,0 +1,644 @@ +_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return AndroidCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return AndroidCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @return string|null The minAndroidSecurityPatchLevel + */ + public function getMinAndroidSecurityPatchLevel() + { + if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AndroidCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AndroidCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AndroidCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AndroidCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AndroidCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return AndroidCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + + /** + * Gets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @return bool|null The securityDisableUsbDebugging + */ + public function getSecurityDisableUsbDebugging() + { + if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) { + return $this->_propDict["securityDisableUsbDebugging"]; + } else { + return null; + } + } + + /** + * Sets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @param bool $val The securityDisableUsbDebugging + * + * @return AndroidCompliancePolicy + */ + public function setSecurityDisableUsbDebugging($val) + { + $this->_propDict["securityDisableUsbDebugging"] = boolval($val); + return $this; + } + + /** + * Gets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @return bool|null The securityPreventInstallAppsFromUnknownSources + */ + public function getSecurityPreventInstallAppsFromUnknownSources() + { + if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["securityPreventInstallAppsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @param bool $val The securityPreventInstallAppsFromUnknownSources + * + * @return AndroidCompliancePolicy + */ + public function setSecurityPreventInstallAppsFromUnknownSources($val) + { + $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @return bool|null The securityRequireCompanyPortalAppIntegrity + */ + public function getSecurityRequireCompanyPortalAppIntegrity() + { + if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireCompanyPortalAppIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @param bool $val The securityRequireCompanyPortalAppIntegrity + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireCompanyPortalAppIntegrity($val) + { + $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @return bool|null The securityRequireGooglePlayServices + */ + public function getSecurityRequireGooglePlayServices() + { + if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) { + return $this->_propDict["securityRequireGooglePlayServices"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @param bool $val The securityRequireGooglePlayServices + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireGooglePlayServices($val) + { + $this->_propDict["securityRequireGooglePlayServices"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @return bool|null The securityRequireSafetyNetAttestationBasicIntegrity + */ + public function getSecurityRequireSafetyNetAttestationBasicIntegrity() + { + if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val) + { + $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @return bool|null The securityRequireSafetyNetAttestationCertifiedDevice + */ + public function getSecurityRequireSafetyNetAttestationCertifiedDevice() + { + if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val) + { + $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @return bool|null The securityRequireUpToDateSecurityProviders + */ + public function getSecurityRequireUpToDateSecurityProviders() + { + if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) { + return $this->_propDict["securityRequireUpToDateSecurityProviders"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @param bool $val The securityRequireUpToDateSecurityProviders + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireUpToDateSecurityProviders($val) + { + $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidCompliancePolicy + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AndroidCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidCustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidCustomConfiguration.php new file mode 100644 index 0000000..44fbaaa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidCustomConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 1000 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return AndroidCustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidGeneralDeviceConfiguration.php new file mode 100644 index 0000000..8f9736f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidGeneralDeviceConfiguration.php @@ -0,0 +1,1436 @@ +_propDict)) { + return $this->_propDict["appsBlockClipboardSharing"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockClipboardSharing + * Indicates whether or not to block clipboard sharing to copy and paste between applications. + * + * @param bool $val The appsBlockClipboardSharing + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsBlockClipboardSharing($val) + { + $this->_propDict["appsBlockClipboardSharing"] = boolval($val); + return $this; + } + + /** + * Gets the appsBlockCopyPaste + * Indicates whether or not to block copy and paste within applications. + * + * @return bool|null The appsBlockCopyPaste + */ + public function getAppsBlockCopyPaste() + { + if (array_key_exists("appsBlockCopyPaste", $this->_propDict)) { + return $this->_propDict["appsBlockCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockCopyPaste + * Indicates whether or not to block copy and paste within applications. + * + * @param bool $val The appsBlockCopyPaste + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsBlockCopyPaste($val) + { + $this->_propDict["appsBlockCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the appsBlockYouTube + * Indicates whether or not to block the YouTube app. + * + * @return bool|null The appsBlockYouTube + */ + public function getAppsBlockYouTube() + { + if (array_key_exists("appsBlockYouTube", $this->_propDict)) { + return $this->_propDict["appsBlockYouTube"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockYouTube + * Indicates whether or not to block the YouTube app. + * + * @param bool $val The appsBlockYouTube + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsBlockYouTube($val) + { + $this->_propDict["appsBlockYouTube"] = boolval($val); + return $this; + } + + + /** + * Gets the appsHideList + * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsHideList + */ + public function getAppsHideList() + { + if (array_key_exists("appsHideList", $this->_propDict)) { + return $this->_propDict["appsHideList"]; + } else { + return null; + } + } + + /** + * Sets the appsHideList + * List of apps to be hidden on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsHideList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsHideList($val) + { + $this->_propDict["appsHideList"] = $val; + return $this; + } + + + /** + * Gets the appsInstallAllowList + * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsInstallAllowList + */ + public function getAppsInstallAllowList() + { + if (array_key_exists("appsInstallAllowList", $this->_propDict)) { + return $this->_propDict["appsInstallAllowList"]; + } else { + return null; + } + } + + /** + * Sets the appsInstallAllowList + * List of apps which can be installed on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsInstallAllowList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsInstallAllowList($val) + { + $this->_propDict["appsInstallAllowList"] = $val; + return $this; + } + + + /** + * Gets the appsLaunchBlockList + * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsLaunchBlockList + */ + public function getAppsLaunchBlockList() + { + if (array_key_exists("appsLaunchBlockList", $this->_propDict)) { + return $this->_propDict["appsLaunchBlockList"]; + } else { + return null; + } + } + + /** + * Sets the appsLaunchBlockList + * List of apps which are blocked from being launched on the KNOX device. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsLaunchBlockList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setAppsLaunchBlockList($val) + { + $this->_propDict["appsLaunchBlockList"] = $val; + return $this; + } + + /** + * Gets the bluetoothBlocked + * Indicates whether or not to block Bluetooth. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Indicates whether or not to block Bluetooth. + * + * @param bool $val The bluetoothBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block the use of the camera. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block the use of the camera. + * + * @param bool $val The cameraBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @return bool|null The cellularBlockDataRoaming + */ + public function getCellularBlockDataRoaming() + { + if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @param bool $val The cellularBlockDataRoaming + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockDataRoaming($val) + { + $this->_propDict["cellularBlockDataRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockMessaging + * Indicates whether or not to block SMS/MMS messaging. + * + * @return bool|null The cellularBlockMessaging + */ + public function getCellularBlockMessaging() + { + if (array_key_exists("cellularBlockMessaging", $this->_propDict)) { + return $this->_propDict["cellularBlockMessaging"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockMessaging + * Indicates whether or not to block SMS/MMS messaging. + * + * @param bool $val The cellularBlockMessaging + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockMessaging($val) + { + $this->_propDict["cellularBlockMessaging"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @return bool|null The cellularBlockVoiceRoaming + */ + public function getCellularBlockVoiceRoaming() + { + if (array_key_exists("cellularBlockVoiceRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockVoiceRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @param bool $val The cellularBlockVoiceRoaming + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockVoiceRoaming($val) + { + $this->_propDict["cellularBlockVoiceRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockWiFiTethering + * Indicates whether or not to block syncing Wi-Fi tethering. + * + * @return bool|null The cellularBlockWiFiTethering + */ + public function getCellularBlockWiFiTethering() + { + if (array_key_exists("cellularBlockWiFiTethering", $this->_propDict)) { + return $this->_propDict["cellularBlockWiFiTethering"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockWiFiTethering + * Indicates whether or not to block syncing Wi-Fi tethering. + * + * @param bool $val The cellularBlockWiFiTethering + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCellularBlockWiFiTethering($val) + { + $this->_propDict["cellularBlockWiFiTethering"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * Type of list that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the deviceSharingAllowed + * Indicates whether or not to allow device sharing mode. + * + * @return bool|null The deviceSharingAllowed + */ + public function getDeviceSharingAllowed() + { + if (array_key_exists("deviceSharingAllowed", $this->_propDict)) { + return $this->_propDict["deviceSharingAllowed"]; + } else { + return null; + } + } + + /** + * Sets the deviceSharingAllowed + * Indicates whether or not to allow device sharing mode. + * + * @param bool $val The deviceSharingAllowed + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setDeviceSharingAllowed($val) + { + $this->_propDict["deviceSharingAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticDataBlockSubmission + */ + public function getDiagnosticDataBlockSubmission() + { + if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticDataBlockSubmission + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setDiagnosticDataBlockSubmission($val) + { + $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the factoryResetBlocked + * Indicates whether or not to block user performing a factory reset. + * + * @return bool|null The factoryResetBlocked + */ + public function getFactoryResetBlocked() + { + if (array_key_exists("factoryResetBlocked", $this->_propDict)) { + return $this->_propDict["factoryResetBlocked"]; + } else { + return null; + } + } + + /** + * Sets the factoryResetBlocked + * Indicates whether or not to block user performing a factory reset. + * + * @param bool $val The factoryResetBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setFactoryResetBlocked($val) + { + $this->_propDict["factoryResetBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the googleAccountBlockAutoSync + * Indicates whether or not to block Google account auto sync. + * + * @return bool|null The googleAccountBlockAutoSync + */ + public function getGoogleAccountBlockAutoSync() + { + if (array_key_exists("googleAccountBlockAutoSync", $this->_propDict)) { + return $this->_propDict["googleAccountBlockAutoSync"]; + } else { + return null; + } + } + + /** + * Sets the googleAccountBlockAutoSync + * Indicates whether or not to block Google account auto sync. + * + * @param bool $val The googleAccountBlockAutoSync + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setGoogleAccountBlockAutoSync($val) + { + $this->_propDict["googleAccountBlockAutoSync"] = boolval($val); + return $this; + } + + /** + * Gets the googlePlayStoreBlocked + * Indicates whether or not to block the Google Play store. + * + * @return bool|null The googlePlayStoreBlocked + */ + public function getGooglePlayStoreBlocked() + { + if (array_key_exists("googlePlayStoreBlocked", $this->_propDict)) { + return $this->_propDict["googlePlayStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the googlePlayStoreBlocked + * Indicates whether or not to block the Google Play store. + * + * @param bool $val The googlePlayStoreBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setGooglePlayStoreBlocked($val) + { + $this->_propDict["googlePlayStoreBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the kioskModeApps + * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @return array|null The kioskModeApps + */ + public function getKioskModeApps() + { + if (array_key_exists("kioskModeApps", $this->_propDict)) { + return $this->_propDict["kioskModeApps"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeApps + * A list of apps that will be allowed to run when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The kioskModeApps + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setKioskModeApps($val) + { + $this->_propDict["kioskModeApps"] = $val; + return $this; + } + + /** + * Gets the kioskModeBlockSleepButton + * Indicates whether or not to block the screen sleep button while in Kiosk Mode. + * + * @return bool|null The kioskModeBlockSleepButton + */ + public function getKioskModeBlockSleepButton() + { + if (array_key_exists("kioskModeBlockSleepButton", $this->_propDict)) { + return $this->_propDict["kioskModeBlockSleepButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockSleepButton + * Indicates whether or not to block the screen sleep button while in Kiosk Mode. + * + * @param bool $val The kioskModeBlockSleepButton + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setKioskModeBlockSleepButton($val) + { + $this->_propDict["kioskModeBlockSleepButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeBlockVolumeButtons + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + * + * @return bool|null The kioskModeBlockVolumeButtons + */ + public function getKioskModeBlockVolumeButtons() + { + if (array_key_exists("kioskModeBlockVolumeButtons", $this->_propDict)) { + return $this->_propDict["kioskModeBlockVolumeButtons"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBlockVolumeButtons + * Indicates whether or not to block the volume buttons while in Kiosk Mode. + * + * @param bool $val The kioskModeBlockVolumeButtons + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setKioskModeBlockVolumeButtons($val) + { + $this->_propDict["kioskModeBlockVolumeButtons"] = boolval($val); + return $this; + } + + /** + * Gets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @return bool|null The locationServicesBlocked + */ + public function getLocationServicesBlocked() + { + if (array_key_exists("locationServicesBlocked", $this->_propDict)) { + return $this->_propDict["locationServicesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @param bool $val The locationServicesBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setLocationServicesBlocked($val) + { + $this->_propDict["locationServicesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @param bool $val The nfcBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passwordBlockFingerprintUnlock + */ + public function getPasswordBlockFingerprintUnlock() + { + if (array_key_exists("passwordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passwordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passwordBlockFingerprintUnlock + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordBlockFingerprintUnlock($val) + { + $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @return bool|null The passwordBlockTrustAgents + */ + public function getPasswordBlockTrustAgents() + { + if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["passwordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @param bool $val The passwordBlockTrustAgents + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordBlockTrustAgents($val) + { + $this->_propDict["passwordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Indicates whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Indicates whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the powerOffBlocked + * Indicates whether or not to block powering off the device. + * + * @return bool|null The powerOffBlocked + */ + public function getPowerOffBlocked() + { + if (array_key_exists("powerOffBlocked", $this->_propDict)) { + return $this->_propDict["powerOffBlocked"]; + } else { + return null; + } + } + + /** + * Sets the powerOffBlocked + * Indicates whether or not to block powering off the device. + * + * @param bool $val The powerOffBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setPowerOffBlocked($val) + { + $this->_propDict["powerOffBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockGoogleBackup + * Indicates whether or not to block Google Backup. + * + * @return bool|null The storageBlockGoogleBackup + */ + public function getStorageBlockGoogleBackup() + { + if (array_key_exists("storageBlockGoogleBackup", $this->_propDict)) { + return $this->_propDict["storageBlockGoogleBackup"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockGoogleBackup + * Indicates whether or not to block Google Backup. + * + * @param bool $val The storageBlockGoogleBackup + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageBlockGoogleBackup($val) + { + $this->_propDict["storageBlockGoogleBackup"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage usage. + * + * @return bool|null The storageBlockRemovableStorage + */ + public function getStorageBlockRemovableStorage() + { + if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) { + return $this->_propDict["storageBlockRemovableStorage"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage usage. + * + * @param bool $val The storageBlockRemovableStorage + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageBlockRemovableStorage($val) + { + $this->_propDict["storageBlockRemovableStorage"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireDeviceEncryption + * Indicates whether or not to require device encryption. + * + * @return bool|null The storageRequireDeviceEncryption + */ + public function getStorageRequireDeviceEncryption() + { + if (array_key_exists("storageRequireDeviceEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireDeviceEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireDeviceEncryption + * Indicates whether or not to require device encryption. + * + * @param bool $val The storageRequireDeviceEncryption + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageRequireDeviceEncryption($val) + { + $this->_propDict["storageRequireDeviceEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireRemovableStorageEncryption + * Indicates whether or not to require removable storage encryption. + * + * @return bool|null The storageRequireRemovableStorageEncryption + */ + public function getStorageRequireRemovableStorageEncryption() + { + if (array_key_exists("storageRequireRemovableStorageEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireRemovableStorageEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireRemovableStorageEncryption + * Indicates whether or not to require removable storage encryption. + * + * @param bool $val The storageRequireRemovableStorageEncryption + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setStorageRequireRemovableStorageEncryption($val) + { + $this->_propDict["storageRequireRemovableStorageEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the voiceAssistantBlocked + * Indicates whether or not to block the use of the Voice Assistant. + * + * @return bool|null The voiceAssistantBlocked + */ + public function getVoiceAssistantBlocked() + { + if (array_key_exists("voiceAssistantBlocked", $this->_propDict)) { + return $this->_propDict["voiceAssistantBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceAssistantBlocked + * Indicates whether or not to block the use of the Voice Assistant. + * + * @param bool $val The voiceAssistantBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setVoiceAssistantBlocked($val) + { + $this->_propDict["voiceAssistantBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @return bool|null The voiceDialingBlocked + */ + public function getVoiceDialingBlocked() + { + if (array_key_exists("voiceDialingBlocked", $this->_propDict)) { + return $this->_propDict["voiceDialingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @param bool $val The voiceDialingBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setVoiceDialingBlocked($val) + { + $this->_propDict["voiceDialingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlockAutofill + * Indicates whether or not to block the web browser's auto fill feature. + * + * @return bool|null The webBrowserBlockAutofill + */ + public function getWebBrowserBlockAutofill() + { + if (array_key_exists("webBrowserBlockAutofill", $this->_propDict)) { + return $this->_propDict["webBrowserBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlockAutofill + * Indicates whether or not to block the web browser's auto fill feature. + * + * @param bool $val The webBrowserBlockAutofill + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlockAutofill($val) + { + $this->_propDict["webBrowserBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @return bool|null The webBrowserBlocked + */ + public function getWebBrowserBlocked() + { + if (array_key_exists("webBrowserBlocked", $this->_propDict)) { + return $this->_propDict["webBrowserBlocked"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @param bool $val The webBrowserBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlocked($val) + { + $this->_propDict["webBrowserBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlockJavaScript + * Indicates whether or not to block JavaScript within the web browser. + * + * @return bool|null The webBrowserBlockJavaScript + */ + public function getWebBrowserBlockJavaScript() + { + if (array_key_exists("webBrowserBlockJavaScript", $this->_propDict)) { + return $this->_propDict["webBrowserBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlockJavaScript + * Indicates whether or not to block JavaScript within the web browser. + * + * @param bool $val The webBrowserBlockJavaScript + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlockJavaScript($val) + { + $this->_propDict["webBrowserBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlockPopups + * Indicates whether or not to block popups within the web browser. + * + * @return bool|null The webBrowserBlockPopups + */ + public function getWebBrowserBlockPopups() + { + if (array_key_exists("webBrowserBlockPopups", $this->_propDict)) { + return $this->_propDict["webBrowserBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlockPopups + * Indicates whether or not to block popups within the web browser. + * + * @param bool $val The webBrowserBlockPopups + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserBlockPopups($val) + { + $this->_propDict["webBrowserBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserCookieSettings + * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @return WebBrowserCookieSettings|null The webBrowserCookieSettings + */ + public function getWebBrowserCookieSettings() + { + if (array_key_exists("webBrowserCookieSettings", $this->_propDict)) { + if (is_a($this->_propDict["webBrowserCookieSettings"], "\Microsoft\Graph\Model\WebBrowserCookieSettings") || is_null($this->_propDict["webBrowserCookieSettings"])) { + return $this->_propDict["webBrowserCookieSettings"]; + } else { + $this->_propDict["webBrowserCookieSettings"] = new WebBrowserCookieSettings($this->_propDict["webBrowserCookieSettings"]); + return $this->_propDict["webBrowserCookieSettings"]; + } + } + return null; + } + + /** + * Sets the webBrowserCookieSettings + * Cookie settings within the web browser. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @param WebBrowserCookieSettings $val The webBrowserCookieSettings + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWebBrowserCookieSettings($val) + { + $this->_propDict["webBrowserCookieSettings"] = $val; + return $this; + } + + /** + * Gets the wiFiBlocked + * Indicates whether or not to block syncing Wi-Fi. + * + * @return bool|null The wiFiBlocked + */ + public function getWiFiBlocked() + { + if (array_key_exists("wiFiBlocked", $this->_propDict)) { + return $this->_propDict["wiFiBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlocked + * Indicates whether or not to block syncing Wi-Fi. + * + * @param bool $val The wiFiBlocked + * + * @return AndroidGeneralDeviceConfiguration + */ + public function setWiFiBlocked($val) + { + $this->_propDict["wiFiBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidLobApp.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidLobApp.php new file mode 100644 index 0000000..fe24822 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidLobApp.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return AndroidLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return AndroidLobApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the versionCode + * The version code of Android Line of Business (LoB) app. + * + * @return string|null The versionCode + */ + public function getVersionCode() + { + if (array_key_exists("versionCode", $this->_propDict)) { + return $this->_propDict["versionCode"]; + } else { + return null; + } + } + + /** + * Sets the versionCode + * The version code of Android Line of Business (LoB) app. + * + * @param string $val The versionCode + * + * @return AndroidLobApp + */ + public function setVersionCode($val) + { + $this->_propDict["versionCode"] = $val; + return $this; + } + + /** + * Gets the versionName + * The version name of Android Line of Business (LoB) app. + * + * @return string|null The versionName + */ + public function getVersionName() + { + if (array_key_exists("versionName", $this->_propDict)) { + return $this->_propDict["versionName"]; + } else { + return null; + } + } + + /** + * Sets the versionName + * The version name of Android Line of Business (LoB) app. + * + * @param string $val The versionName + * + * @return AndroidLobApp + */ + public function setVersionName($val) + { + $this->_propDict["versionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppProtection.php new file mode 100644 index 0000000..60a07d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppProtection.php @@ -0,0 +1,322 @@ +_propDict)) { + return $this->_propDict["customBrowserDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserDisplayName + * Friendly name of the preferred custom browser to open weblink on Android. + * + * @param string $val The customBrowserDisplayName + * + * @return AndroidManagedAppProtection + */ + public function setCustomBrowserDisplayName($val) + { + $this->_propDict["customBrowserDisplayName"] = $val; + return $this; + } + + /** + * Gets the customBrowserPackageId + * Unique identifier of a custom browser to open weblink on Android. + * + * @return string|null The customBrowserPackageId + */ + public function getCustomBrowserPackageId() + { + if (array_key_exists("customBrowserPackageId", $this->_propDict)) { + return $this->_propDict["customBrowserPackageId"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserPackageId + * Unique identifier of a custom browser to open weblink on Android. + * + * @param string $val The customBrowserPackageId + * + * @return AndroidManagedAppProtection + */ + public function setCustomBrowserPackageId($val) + { + $this->_propDict["customBrowserPackageId"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return AndroidManagedAppProtection + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled + * + * @return bool|null The disableAppEncryptionIfDeviceEncryptionIsEnabled + */ + public function getDisableAppEncryptionIfDeviceEncryptionIsEnabled() + { + if (array_key_exists("disableAppEncryptionIfDeviceEncryptionIsEnabled", $this->_propDict)) { + return $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled + * + * @param bool $val The disableAppEncryptionIfDeviceEncryptionIsEnabled + * + * @return AndroidManagedAppProtection + */ + public function setDisableAppEncryptionIfDeviceEncryptionIsEnabled($val) + { + $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the encryptAppData + * Indicates whether application data for managed apps should be encrypted + * + * @return bool|null The encryptAppData + */ + public function getEncryptAppData() + { + if (array_key_exists("encryptAppData", $this->_propDict)) { + return $this->_propDict["encryptAppData"]; + } else { + return null; + } + } + + /** + * Sets the encryptAppData + * Indicates whether application data for managed apps should be encrypted + * + * @param bool $val The encryptAppData + * + * @return AndroidManagedAppProtection + */ + public function setEncryptAppData($val) + { + $this->_propDict["encryptAppData"] = boolval($val); + return $this; + } + + /** + * Gets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. + * + * @return string|null The minimumRequiredPatchVersion + */ + public function getMinimumRequiredPatchVersion() + { + if (array_key_exists("minimumRequiredPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. + * + * @param string $val The minimumRequiredPatchVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumRequiredPatchVersion($val) + { + $this->_propDict["minimumRequiredPatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. + * + * @return string|null The minimumWarningPatchVersion + */ + public function getMinimumWarningPatchVersion() + { + if (array_key_exists("minimumWarningPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. + * + * @param string $val The minimumWarningPatchVersion + * + * @return AndroidManagedAppProtection + */ + public function setMinimumWarningPatchVersion($val) + { + $this->_propDict["minimumWarningPatchVersion"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether a managed user can take screen captures of managed apps + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether a managed user can take screen captures of managed apps + * + * @param bool $val The screenCaptureBlocked + * + * @return AndroidManagedAppProtection + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return AndroidManagedAppProtection + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return AndroidManagedAppProtection + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppRegistration.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppRegistration.php new file mode 100644 index 0000000..ac79c20 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppRegistration.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["v100"]; + } else { + return null; + } + } + + /** + * Sets the v10_0 + * Version 10.0 or later. + * + * @param bool $val The value of the v10_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV10_0($val) + { + $this->_propDict["v100"] = $val; + return $this; + } + /** + * Gets the v11_0 + * Version 11.0 or later. + * + * @return bool|null The v11_0 + */ + public function getV11_0() + { + if (array_key_exists("v110", $this->_propDict)) { + return $this->_propDict["v110"]; + } else { + return null; + } + } + + /** + * Sets the v11_0 + * Version 11.0 or later. + * + * @param bool $val The value of the v11_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV11_0($val) + { + $this->_propDict["v110"] = $val; + return $this; + } + /** + * Gets the v4_0 + * Version 4.0 or later. + * + * @return bool|null The v4_0 + */ + public function getV4_0() + { + if (array_key_exists("v40", $this->_propDict)) { + return $this->_propDict["v40"]; + } else { + return null; + } + } + + /** + * Sets the v4_0 + * Version 4.0 or later. + * + * @param bool $val The value of the v4_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_0($val) + { + $this->_propDict["v40"] = $val; + return $this; + } + /** + * Gets the v4_0_3 + * Version 4.0.3 or later. + * + * @return bool|null The v4_0_3 + */ + public function getV4_0_3() + { + if (array_key_exists("v403", $this->_propDict)) { + return $this->_propDict["v403"]; + } else { + return null; + } + } + + /** + * Sets the v4_0_3 + * Version 4.0.3 or later. + * + * @param bool $val The value of the v4_0_3 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_0_3($val) + { + $this->_propDict["v403"] = $val; + return $this; + } + /** + * Gets the v4_1 + * Version 4.1 or later. + * + * @return bool|null The v4_1 + */ + public function getV4_1() + { + if (array_key_exists("v41", $this->_propDict)) { + return $this->_propDict["v41"]; + } else { + return null; + } + } + + /** + * Sets the v4_1 + * Version 4.1 or later. + * + * @param bool $val The value of the v4_1 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_1($val) + { + $this->_propDict["v41"] = $val; + return $this; + } + /** + * Gets the v4_2 + * Version 4.2 or later. + * + * @return bool|null The v4_2 + */ + public function getV4_2() + { + if (array_key_exists("v42", $this->_propDict)) { + return $this->_propDict["v42"]; + } else { + return null; + } + } + + /** + * Sets the v4_2 + * Version 4.2 or later. + * + * @param bool $val The value of the v4_2 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_2($val) + { + $this->_propDict["v42"] = $val; + return $this; + } + /** + * Gets the v4_3 + * Version 4.3 or later. + * + * @return bool|null The v4_3 + */ + public function getV4_3() + { + if (array_key_exists("v43", $this->_propDict)) { + return $this->_propDict["v43"]; + } else { + return null; + } + } + + /** + * Sets the v4_3 + * Version 4.3 or later. + * + * @param bool $val The value of the v4_3 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_3($val) + { + $this->_propDict["v43"] = $val; + return $this; + } + /** + * Gets the v4_4 + * Version 4.4 or later. + * + * @return bool|null The v4_4 + */ + public function getV4_4() + { + if (array_key_exists("v44", $this->_propDict)) { + return $this->_propDict["v44"]; + } else { + return null; + } + } + + /** + * Sets the v4_4 + * Version 4.4 or later. + * + * @param bool $val The value of the v4_4 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV4_4($val) + { + $this->_propDict["v44"] = $val; + return $this; + } + /** + * Gets the v5_0 + * Version 5.0 or later. + * + * @return bool|null The v5_0 + */ + public function getV5_0() + { + if (array_key_exists("v50", $this->_propDict)) { + return $this->_propDict["v50"]; + } else { + return null; + } + } + + /** + * Sets the v5_0 + * Version 5.0 or later. + * + * @param bool $val The value of the v5_0 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV5_0($val) + { + $this->_propDict["v50"] = $val; + return $this; + } + /** + * Gets the v5_1 + * Version 5.1 or later. + * + * @return bool|null The v5_1 + */ + public function getV5_1() + { + if (array_key_exists("v51", $this->_propDict)) { + return $this->_propDict["v51"]; + } else { + return null; + } + } + + /** + * Sets the v5_1 + * Version 5.1 or later. + * + * @param bool $val The value of the v5_1 + * + * @return AndroidMinimumOperatingSystem + */ + public function setV5_1($val) + { + $this->_propDict["v51"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidMobileAppIdentifier.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidMobileAppIdentifier.php new file mode 100644 index 0000000..35c5cf0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidMobileAppIdentifier.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.androidMobileAppIdentifier"); + } + + /** + * Gets the packageId + * The identifier for an app, as specified in the play store. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The identifier for an app, as specified in the play store. + * + * @param string $val The value of the packageId + * + * @return AndroidMobileAppIdentifier + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidRequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidRequiredPasswordType.php new file mode 100644 index 0000000..0da6ff4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidRequiredPasswordType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Android app store URL. + * + * @param string $val The appStoreUrl + * + * @return AndroidStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return AndroidStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return AndroidStoreApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCompliancePolicy.php new file mode 100644 index 0000000..5b9f5ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCompliancePolicy.php @@ -0,0 +1,644 @@ +_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @return string|null The minAndroidSecurityPatchLevel + */ + public function getMinAndroidSecurityPatchLevel() + { + if (array_key_exists("minAndroidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["minAndroidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the minAndroidSecurityPatchLevel + * Minimum Android security patch level. + * + * @param string $val The minAndroidSecurityPatchLevel + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setMinAndroidSecurityPatchLevel($val) + { + $this->_propDict["minAndroidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Android version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Android version. + * + * @param string $val The osMaximumVersion + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Android version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Android version. + * + * @param string $val The osMinimumVersion + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock device. + * + * @param bool $val The passwordRequired + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @return AndroidRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of characters in password. Possible values are: deviceDefault, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, numeric, numericComplex, any. + * + * @param AndroidRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + + /** + * Gets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @return bool|null The securityDisableUsbDebugging + */ + public function getSecurityDisableUsbDebugging() + { + if (array_key_exists("securityDisableUsbDebugging", $this->_propDict)) { + return $this->_propDict["securityDisableUsbDebugging"]; + } else { + return null; + } + } + + /** + * Sets the securityDisableUsbDebugging + * Disable USB debugging on Android devices. + * + * @param bool $val The securityDisableUsbDebugging + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityDisableUsbDebugging($val) + { + $this->_propDict["securityDisableUsbDebugging"] = boolval($val); + return $this; + } + + /** + * Gets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @return bool|null The securityPreventInstallAppsFromUnknownSources + */ + public function getSecurityPreventInstallAppsFromUnknownSources() + { + if (array_key_exists("securityPreventInstallAppsFromUnknownSources", $this->_propDict)) { + return $this->_propDict["securityPreventInstallAppsFromUnknownSources"]; + } else { + return null; + } + } + + /** + * Sets the securityPreventInstallAppsFromUnknownSources + * Require that devices disallow installation of apps from unknown sources. + * + * @param bool $val The securityPreventInstallAppsFromUnknownSources + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityPreventInstallAppsFromUnknownSources($val) + { + $this->_propDict["securityPreventInstallAppsFromUnknownSources"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @return bool|null The securityRequireCompanyPortalAppIntegrity + */ + public function getSecurityRequireCompanyPortalAppIntegrity() + { + if (array_key_exists("securityRequireCompanyPortalAppIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireCompanyPortalAppIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireCompanyPortalAppIntegrity + * Require the device to pass the Company Portal client app runtime integrity check. + * + * @param bool $val The securityRequireCompanyPortalAppIntegrity + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireCompanyPortalAppIntegrity($val) + { + $this->_propDict["securityRequireCompanyPortalAppIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @return bool|null The securityRequireGooglePlayServices + */ + public function getSecurityRequireGooglePlayServices() + { + if (array_key_exists("securityRequireGooglePlayServices", $this->_propDict)) { + return $this->_propDict["securityRequireGooglePlayServices"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireGooglePlayServices + * Require Google Play Services to be installed and enabled on the device. + * + * @param bool $val The securityRequireGooglePlayServices + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireGooglePlayServices($val) + { + $this->_propDict["securityRequireGooglePlayServices"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @return bool|null The securityRequireSafetyNetAttestationBasicIntegrity + */ + public function getSecurityRequireSafetyNetAttestationBasicIntegrity() + { + if (array_key_exists("securityRequireSafetyNetAttestationBasicIntegrity", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationBasicIntegrity + * Require the device to pass the SafetyNet basic integrity check. + * + * @param bool $val The securityRequireSafetyNetAttestationBasicIntegrity + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationBasicIntegrity($val) + { + $this->_propDict["securityRequireSafetyNetAttestationBasicIntegrity"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @return bool|null The securityRequireSafetyNetAttestationCertifiedDevice + */ + public function getSecurityRequireSafetyNetAttestationCertifiedDevice() + { + if (array_key_exists("securityRequireSafetyNetAttestationCertifiedDevice", $this->_propDict)) { + return $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireSafetyNetAttestationCertifiedDevice + * Require the device to pass the SafetyNet certified device check. + * + * @param bool $val The securityRequireSafetyNetAttestationCertifiedDevice + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireSafetyNetAttestationCertifiedDevice($val) + { + $this->_propDict["securityRequireSafetyNetAttestationCertifiedDevice"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @return bool|null The securityRequireUpToDateSecurityProviders + */ + public function getSecurityRequireUpToDateSecurityProviders() + { + if (array_key_exists("securityRequireUpToDateSecurityProviders", $this->_propDict)) { + return $this->_propDict["securityRequireUpToDateSecurityProviders"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireUpToDateSecurityProviders + * Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. + * + * @param bool $val The securityRequireUpToDateSecurityProviders + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireUpToDateSecurityProviders($val) + { + $this->_propDict["securityRequireUpToDateSecurityProviders"] = boolval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Android devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Android devices. + * + * @param bool $val The storageRequireEncryption + * + * @return AndroidWorkProfileCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCrossProfileDataSharingType.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCrossProfileDataSharingType.php new file mode 100644 index 0000000..d96f01b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCrossProfileDataSharingType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 500 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return AndroidWorkProfileCustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php new file mode 100644 index 0000000..b978cc8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["passwordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passwordBlockFingerprintUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordBlockFingerprintUnlock($val) + { + $this->_propDict["passwordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @return bool|null The passwordBlockTrustAgents + */ + public function getPasswordBlockTrustAgents() + { + if (array_key_exists("passwordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["passwordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents. + * + * @param bool $val The passwordBlockTrustAgents + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordBlockTrustAgents($val) + { + $this->_propDict["passwordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 365 + * + * @param int $val The passwordExpirationDays + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @return AndroidWorkProfileRequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new AndroidWorkProfileRequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @param AndroidWorkProfileRequiredPasswordType $val The passwordRequiredType + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. Valid values 1 to 16 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @return bool|null The securityRequireVerifyApps + */ + public function getSecurityRequireVerifyApps() + { + if (array_key_exists("securityRequireVerifyApps", $this->_propDict)) { + return $this->_propDict["securityRequireVerifyApps"]; + } else { + return null; + } + } + + /** + * Sets the securityRequireVerifyApps + * Require the Android Verify apps feature is turned on. + * + * @param bool $val The securityRequireVerifyApps + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setSecurityRequireVerifyApps($val) + { + $this->_propDict["securityRequireVerifyApps"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockAddingAccounts + * Block users from adding/removing accounts in work profile. + * + * @return bool|null The workProfileBlockAddingAccounts + */ + public function getWorkProfileBlockAddingAccounts() + { + if (array_key_exists("workProfileBlockAddingAccounts", $this->_propDict)) { + return $this->_propDict["workProfileBlockAddingAccounts"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockAddingAccounts + * Block users from adding/removing accounts in work profile. + * + * @param bool $val The workProfileBlockAddingAccounts + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockAddingAccounts($val) + { + $this->_propDict["workProfileBlockAddingAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCamera + * Block work profile camera. + * + * @return bool|null The workProfileBlockCamera + */ + public function getWorkProfileBlockCamera() + { + if (array_key_exists("workProfileBlockCamera", $this->_propDict)) { + return $this->_propDict["workProfileBlockCamera"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCamera + * Block work profile camera. + * + * @param bool $val The workProfileBlockCamera + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCamera($val) + { + $this->_propDict["workProfileBlockCamera"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileCallerId + * Block display work profile caller ID in personal profile. + * + * @return bool|null The workProfileBlockCrossProfileCallerId + */ + public function getWorkProfileBlockCrossProfileCallerId() + { + if (array_key_exists("workProfileBlockCrossProfileCallerId", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileCallerId"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileCallerId + * Block display work profile caller ID in personal profile. + * + * @param bool $val The workProfileBlockCrossProfileCallerId + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileCallerId($val) + { + $this->_propDict["workProfileBlockCrossProfileCallerId"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileContactsSearch + * Block work profile contacts availability in personal profile. + * + * @return bool|null The workProfileBlockCrossProfileContactsSearch + */ + public function getWorkProfileBlockCrossProfileContactsSearch() + { + if (array_key_exists("workProfileBlockCrossProfileContactsSearch", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileContactsSearch"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileContactsSearch + * Block work profile contacts availability in personal profile. + * + * @param bool $val The workProfileBlockCrossProfileContactsSearch + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileContactsSearch($val) + { + $this->_propDict["workProfileBlockCrossProfileContactsSearch"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockCrossProfileCopyPaste + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + * + * @return bool|null The workProfileBlockCrossProfileCopyPaste + */ + public function getWorkProfileBlockCrossProfileCopyPaste() + { + if (array_key_exists("workProfileBlockCrossProfileCopyPaste", $this->_propDict)) { + return $this->_propDict["workProfileBlockCrossProfileCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockCrossProfileCopyPaste + * Boolean that indicates if the setting disallow cross profile copy/paste is enabled. + * + * @param bool $val The workProfileBlockCrossProfileCopyPaste + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockCrossProfileCopyPaste($val) + { + $this->_propDict["workProfileBlockCrossProfileCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockNotificationsWhileDeviceLocked + * Indicates whether or not to block notifications while device locked. + * + * @return bool|null The workProfileBlockNotificationsWhileDeviceLocked + */ + public function getWorkProfileBlockNotificationsWhileDeviceLocked() + { + if (array_key_exists("workProfileBlockNotificationsWhileDeviceLocked", $this->_propDict)) { + return $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockNotificationsWhileDeviceLocked + * Indicates whether or not to block notifications while device locked. + * + * @param bool $val The workProfileBlockNotificationsWhileDeviceLocked + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockNotificationsWhileDeviceLocked($val) + { + $this->_propDict["workProfileBlockNotificationsWhileDeviceLocked"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBlockScreenCapture + * Block screen capture in work profile. + * + * @return bool|null The workProfileBlockScreenCapture + */ + public function getWorkProfileBlockScreenCapture() + { + if (array_key_exists("workProfileBlockScreenCapture", $this->_propDict)) { + return $this->_propDict["workProfileBlockScreenCapture"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBlockScreenCapture + * Block screen capture in work profile. + * + * @param bool $val The workProfileBlockScreenCapture + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBlockScreenCapture($val) + { + $this->_propDict["workProfileBlockScreenCapture"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileBluetoothEnableContactSharing + * Allow bluetooth devices to access enterprise contacts. + * + * @return bool|null The workProfileBluetoothEnableContactSharing + */ + public function getWorkProfileBluetoothEnableContactSharing() + { + if (array_key_exists("workProfileBluetoothEnableContactSharing", $this->_propDict)) { + return $this->_propDict["workProfileBluetoothEnableContactSharing"]; + } else { + return null; + } + } + + /** + * Sets the workProfileBluetoothEnableContactSharing + * Allow bluetooth devices to access enterprise contacts. + * + * @param bool $val The workProfileBluetoothEnableContactSharing + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileBluetoothEnableContactSharing($val) + { + $this->_propDict["workProfileBluetoothEnableContactSharing"] = boolval($val); + return $this; + } + + /** + * Gets the workProfileDataSharingType + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * + * @return AndroidWorkProfileCrossProfileDataSharingType|null The workProfileDataSharingType + */ + public function getWorkProfileDataSharingType() + { + if (array_key_exists("workProfileDataSharingType", $this->_propDict)) { + if (is_a($this->_propDict["workProfileDataSharingType"], "\Microsoft\Graph\Model\AndroidWorkProfileCrossProfileDataSharingType") || is_null($this->_propDict["workProfileDataSharingType"])) { + return $this->_propDict["workProfileDataSharingType"]; + } else { + $this->_propDict["workProfileDataSharingType"] = new AndroidWorkProfileCrossProfileDataSharingType($this->_propDict["workProfileDataSharingType"]); + return $this->_propDict["workProfileDataSharingType"]; + } + } + return null; + } + + /** + * Sets the workProfileDataSharingType + * Type of data sharing that is allowed. Possible values are: deviceDefault, preventAny, allowPersonalToWork, noRestrictions. + * + * @param AndroidWorkProfileCrossProfileDataSharingType $val The workProfileDataSharingType + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileDataSharingType($val) + { + $this->_propDict["workProfileDataSharingType"] = $val; + return $this; + } + + /** + * Gets the workProfileDefaultAppPermissionPolicy + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @return AndroidWorkProfileDefaultAppPermissionPolicyType|null The workProfileDefaultAppPermissionPolicy + */ + public function getWorkProfileDefaultAppPermissionPolicy() + { + if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) { + if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "\Microsoft\Graph\Model\AndroidWorkProfileDefaultAppPermissionPolicyType") || is_null($this->_propDict["workProfileDefaultAppPermissionPolicy"])) { + return $this->_propDict["workProfileDefaultAppPermissionPolicy"]; + } else { + $this->_propDict["workProfileDefaultAppPermissionPolicy"] = new AndroidWorkProfileDefaultAppPermissionPolicyType($this->_propDict["workProfileDefaultAppPermissionPolicy"]); + return $this->_propDict["workProfileDefaultAppPermissionPolicy"]; + } + } + return null; + } + + /** + * Sets the workProfileDefaultAppPermissionPolicy + * Type of password that is required. Possible values are: deviceDefault, prompt, autoGrant, autoDeny. + * + * @param AndroidWorkProfileDefaultAppPermissionPolicyType $val The workProfileDefaultAppPermissionPolicy + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileDefaultAppPermissionPolicy($val) + { + $this->_propDict["workProfileDefaultAppPermissionPolicy"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock for work profile. + * + * @return bool|null The workProfilePasswordBlockFingerprintUnlock + */ + public function getWorkProfilePasswordBlockFingerprintUnlock() + { + if (array_key_exists("workProfilePasswordBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock for work profile. + * + * @param bool $val The workProfilePasswordBlockFingerprintUnlock + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockFingerprintUnlock($val) + { + $this->_propDict["workProfilePasswordBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + * + * @return bool|null The workProfilePasswordBlockTrustAgents + */ + public function getWorkProfilePasswordBlockTrustAgents() + { + if (array_key_exists("workProfilePasswordBlockTrustAgents", $this->_propDict)) { + return $this->_propDict["workProfilePasswordBlockTrustAgents"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordBlockTrustAgents + * Indicates whether or not to block Smart Lock and other trust agents for work profile. + * + * @param bool $val The workProfilePasswordBlockTrustAgents + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordBlockTrustAgents($val) + { + $this->_propDict["workProfilePasswordBlockTrustAgents"] = boolval($val); + return $this; + } + + /** + * Gets the workProfilePasswordExpirationDays + * Number of days before the work profile password expires. Valid values 1 to 365 + * + * @return int|null The workProfilePasswordExpirationDays + */ + public function getWorkProfilePasswordExpirationDays() + { + if (array_key_exists("workProfilePasswordExpirationDays", $this->_propDict)) { + return $this->_propDict["workProfilePasswordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordExpirationDays + * Number of days before the work profile password expires. Valid values 1 to 365 + * + * @param int $val The workProfilePasswordExpirationDays + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordExpirationDays($val) + { + $this->_propDict["workProfilePasswordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinimumLength + * Minimum length of work profile password. Valid values 4 to 16 + * + * @return int|null The workProfilePasswordMinimumLength + */ + public function getWorkProfilePasswordMinimumLength() + { + if (array_key_exists("workProfilePasswordMinimumLength", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinimumLength + * Minimum length of work profile password. Valid values 4 to 16 + * + * @param int $val The workProfilePasswordMinimumLength + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinimumLength($val) + { + $this->_propDict["workProfilePasswordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinLetterCharacters + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinLetterCharacters + */ + public function getWorkProfilePasswordMinLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinLetterCharacters + * Minimum # of letter characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinLetterCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinLowerCaseCharacters + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinLowerCaseCharacters + */ + public function getWorkProfilePasswordMinLowerCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinLowerCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinLowerCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinLowerCaseCharacters + * Minimum # of lower-case characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinLowerCaseCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinLowerCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinLowerCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinNonLetterCharacters + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinNonLetterCharacters + */ + public function getWorkProfilePasswordMinNonLetterCharacters() + { + if (array_key_exists("workProfilePasswordMinNonLetterCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinNonLetterCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinNonLetterCharacters + * Minimum # of non-letter characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinNonLetterCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinNonLetterCharacters($val) + { + $this->_propDict["workProfilePasswordMinNonLetterCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinNumericCharacters + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinNumericCharacters + */ + public function getWorkProfilePasswordMinNumericCharacters() + { + if (array_key_exists("workProfilePasswordMinNumericCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinNumericCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinNumericCharacters + * Minimum # of numeric characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinNumericCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinNumericCharacters($val) + { + $this->_propDict["workProfilePasswordMinNumericCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinSymbolCharacters + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinSymbolCharacters + */ + public function getWorkProfilePasswordMinSymbolCharacters() + { + if (array_key_exists("workProfilePasswordMinSymbolCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinSymbolCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinSymbolCharacters + * Minimum # of symbols required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinSymbolCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinSymbolCharacters($val) + { + $this->_propDict["workProfilePasswordMinSymbolCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinUpperCaseCharacters + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * + * @return int|null The workProfilePasswordMinUpperCaseCharacters + */ + public function getWorkProfilePasswordMinUpperCaseCharacters() + { + if (array_key_exists("workProfilePasswordMinUpperCaseCharacters", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinUpperCaseCharacters"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinUpperCaseCharacters + * Minimum # of upper-case characters required in work profile password. Valid values 1 to 10 + * + * @param int $val The workProfilePasswordMinUpperCaseCharacters + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinUpperCaseCharacters($val) + { + $this->_propDict["workProfilePasswordMinUpperCaseCharacters"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + */ + public function getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("workProfilePasswordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The workProfilePasswordMinutesOfInactivityBeforeScreenTimeout + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["workProfilePasswordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordPreviousPasswordBlockCount + * Number of previous work profile passwords to block. Valid values 0 to 24 + * + * @return int|null The workProfilePasswordPreviousPasswordBlockCount + */ + public function getWorkProfilePasswordPreviousPasswordBlockCount() + { + if (array_key_exists("workProfilePasswordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordPreviousPasswordBlockCount + * Number of previous work profile passwords to block. Valid values 0 to 24 + * + * @param int $val The workProfilePasswordPreviousPasswordBlockCount + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["workProfilePasswordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the workProfilePasswordRequiredType + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @return AndroidWorkProfileRequiredPasswordType|null The workProfilePasswordRequiredType + */ + public function getWorkProfilePasswordRequiredType() + { + if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType") || is_null($this->_propDict["workProfilePasswordRequiredType"])) { + return $this->_propDict["workProfilePasswordRequiredType"]; + } else { + $this->_propDict["workProfilePasswordRequiredType"] = new AndroidWorkProfileRequiredPasswordType($this->_propDict["workProfilePasswordRequiredType"]); + return $this->_propDict["workProfilePasswordRequiredType"]; + } + } + return null; + } + + /** + * Sets the workProfilePasswordRequiredType + * Type of work profile password that is required. Possible values are: deviceDefault, lowSecurityBiometric, required, atLeastNumeric, numericComplex, atLeastAlphabetic, atLeastAlphanumeric, alphanumericWithSymbols. + * + * @param AndroidWorkProfileRequiredPasswordType $val The workProfilePasswordRequiredType + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordRequiredType($val) + { + $this->_propDict["workProfilePasswordRequiredType"] = $val; + return $this; + } + + /** + * Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 + * + * @return int|null The workProfilePasswordSignInFailureCountBeforeFactoryReset + */ + public function getWorkProfilePasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("workProfilePasswordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16 + * + * @param int $val The workProfilePasswordSignInFailureCountBeforeFactoryReset + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfilePasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["workProfilePasswordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the workProfileRequirePassword + * Password is required or not for work profile + * + * @return bool|null The workProfileRequirePassword + */ + public function getWorkProfileRequirePassword() + { + if (array_key_exists("workProfileRequirePassword", $this->_propDict)) { + return $this->_propDict["workProfileRequirePassword"]; + } else { + return null; + } + } + + /** + * Sets the workProfileRequirePassword + * Password is required or not for work profile + * + * @param bool $val The workProfileRequirePassword + * + * @return AndroidWorkProfileGeneralDeviceConfiguration + */ + public function setWorkProfileRequirePassword($val) + { + $this->_propDict["workProfileRequirePassword"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileRequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileRequiredPasswordType.php new file mode 100644 index 0000000..29fc3a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileRequiredPasswordType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["acceptMappedClaims"]; + } else { + return null; + } + } + + /** + * Sets the acceptMappedClaims + * When true, allows an application to use claims mapping without specifying a custom signing key. + * + * @param bool $val The value of the acceptMappedClaims + * + * @return ApiApplication + */ + public function setAcceptMappedClaims($val) + { + $this->_propDict["acceptMappedClaims"] = $val; + return $this; + } + /** + * Gets the knownClientApplications + * Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant. + * + * @return string|null The knownClientApplications + */ + public function getKnownClientApplications() + { + if (array_key_exists("knownClientApplications", $this->_propDict)) { + return $this->_propDict["knownClientApplications"]; + } else { + return null; + } + } + + /** + * Sets the knownClientApplications + * Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant. + * + * @param string $val The value of the knownClientApplications + * + * @return ApiApplication + */ + public function setKnownClientApplications($val) + { + $this->_propDict["knownClientApplications"] = $val; + return $this; + } + + /** + * Gets the oauth2PermissionScopes + * The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + * + * @return PermissionScope|null The oauth2PermissionScopes + */ + public function getOauth2PermissionScopes() + { + if (array_key_exists("oauth2PermissionScopes", $this->_propDict)) { + if (is_a($this->_propDict["oauth2PermissionScopes"], "\Microsoft\Graph\Model\PermissionScope") || is_null($this->_propDict["oauth2PermissionScopes"])) { + return $this->_propDict["oauth2PermissionScopes"]; + } else { + $this->_propDict["oauth2PermissionScopes"] = new PermissionScope($this->_propDict["oauth2PermissionScopes"]); + return $this->_propDict["oauth2PermissionScopes"]; + } + } + return null; + } + + /** + * Sets the oauth2PermissionScopes + * The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + * + * @param PermissionScope $val The value to assign to the oauth2PermissionScopes + * + * @return ApiApplication The ApiApplication + */ + public function setOauth2PermissionScopes($val) + { + $this->_propDict["oauth2PermissionScopes"] = $val; + return $this; + } + + /** + * Gets the preAuthorizedApplications + * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. + * + * @return PreAuthorizedApplication|null The preAuthorizedApplications + */ + public function getPreAuthorizedApplications() + { + if (array_key_exists("preAuthorizedApplications", $this->_propDict)) { + if (is_a($this->_propDict["preAuthorizedApplications"], "\Microsoft\Graph\Model\PreAuthorizedApplication") || is_null($this->_propDict["preAuthorizedApplications"])) { + return $this->_propDict["preAuthorizedApplications"]; + } else { + $this->_propDict["preAuthorizedApplications"] = new PreAuthorizedApplication($this->_propDict["preAuthorizedApplications"]); + return $this->_propDict["preAuthorizedApplications"]; + } + } + return null; + } + + /** + * Sets the preAuthorizedApplications + * Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent. + * + * @param PreAuthorizedApplication $val The value to assign to the preAuthorizedApplications + * + * @return ApiApplication The ApiApplication + */ + public function setPreAuthorizedApplications($val) + { + $this->_propDict["preAuthorizedApplications"] = $val; + return $this; + } + /** + * Gets the requestedAccessTokenVersion + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * + * @return int|null The requestedAccessTokenVersion + */ + public function getRequestedAccessTokenVersion() + { + if (array_key_exists("requestedAccessTokenVersion", $this->_propDict)) { + return $this->_propDict["requestedAccessTokenVersion"]; + } else { + return null; + } + } + + /** + * Sets the requestedAccessTokenVersion + * Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2 + * + * @param int $val The value of the requestedAccessTokenVersion + * + * @return ApiApplication + */ + public function setRequestedAccessTokenVersion($val) + { + $this->_propDict["requestedAccessTokenVersion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApiAuthenticationConfigurationBase.php b/vendor/microsoft/microsoft-graph/src/Model/ApiAuthenticationConfigurationBase.php new file mode 100644 index 0000000..5228e08 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApiAuthenticationConfigurationBase.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["teamsApps"]; + } else { + return null; + } + } + + /** + * Sets the teamsApps + * + * @param TeamsApp[] $val The teamsApps + * + * @return AppCatalogs + */ + public function setTeamsApps($val) + { + $this->_propDict["teamsApps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppConfigurationSettingItem.php b/vendor/microsoft/microsoft-graph/src/Model/AppConfigurationSettingItem.php new file mode 100644 index 0000000..3ff4a3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppConfigurationSettingItem.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["appConfigKey"]; + } else { + return null; + } + } + + /** + * Sets the appConfigKey + * app configuration key. + * + * @param string $val The value of the appConfigKey + * + * @return AppConfigurationSettingItem + */ + public function setAppConfigKey($val) + { + $this->_propDict["appConfigKey"] = $val; + return $this; + } + + /** + * Gets the appConfigKeyType + * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType. + * + * @return MdmAppConfigKeyType|null The appConfigKeyType + */ + public function getAppConfigKeyType() + { + if (array_key_exists("appConfigKeyType", $this->_propDict)) { + if (is_a($this->_propDict["appConfigKeyType"], "\Microsoft\Graph\Model\MdmAppConfigKeyType") || is_null($this->_propDict["appConfigKeyType"])) { + return $this->_propDict["appConfigKeyType"]; + } else { + $this->_propDict["appConfigKeyType"] = new MdmAppConfigKeyType($this->_propDict["appConfigKeyType"]); + return $this->_propDict["appConfigKeyType"]; + } + } + return null; + } + + /** + * Sets the appConfigKeyType + * app configuration key type. Possible values are: stringType, integerType, realType, booleanType, tokenType. + * + * @param MdmAppConfigKeyType $val The value to assign to the appConfigKeyType + * + * @return AppConfigurationSettingItem The AppConfigurationSettingItem + */ + public function setAppConfigKeyType($val) + { + $this->_propDict["appConfigKeyType"] = $val; + return $this; + } + /** + * Gets the appConfigKeyValue + * app configuration key value. + * + * @return string|null The appConfigKeyValue + */ + public function getAppConfigKeyValue() + { + if (array_key_exists("appConfigKeyValue", $this->_propDict)) { + return $this->_propDict["appConfigKeyValue"]; + } else { + return null; + } + } + + /** + * Sets the appConfigKeyValue + * app configuration key value. + * + * @param string $val The value of the appConfigKeyValue + * + * @return AppConfigurationSettingItem + */ + public function setAppConfigKeyValue($val) + { + $this->_propDict["appConfigKeyValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppConsentApprovalRoute.php b/vendor/microsoft/microsoft-graph/src/Model/AppConsentApprovalRoute.php new file mode 100644 index 0000000..aac38d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppConsentApprovalRoute.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["appConsentRequests"]; + } else { + return null; + } + } + + /** + * Sets the appConsentRequests + * A collection of userConsentRequest objects for a specific application. + * + * @param AppConsentRequest[] $val The appConsentRequests + * + * @return AppConsentApprovalRoute + */ + public function setAppConsentRequests($val) + { + $this->_propDict["appConsentRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequest.php new file mode 100644 index 0000000..277bf6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequest.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby. + * + * @param string $val The appDisplayName + * + * @return AppConsentRequest + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * The identifier of the application. Required. Supports $filter (eq only) and $orderby. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The identifier of the application. Required. Supports $filter (eq only) and $orderby. + * + * @param string $val The appId + * + * @return AppConsentRequest + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + + /** + * Gets the pendingScopes + * A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required. + * + * @return array|null The pendingScopes + */ + public function getPendingScopes() + { + if (array_key_exists("pendingScopes", $this->_propDict)) { + return $this->_propDict["pendingScopes"]; + } else { + return null; + } + } + + /** + * Sets the pendingScopes + * A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required. + * + * @param AppConsentRequestScope[] $val The pendingScopes + * + * @return AppConsentRequest + */ + public function setPendingScopes($val) + { + $this->_propDict["pendingScopes"] = $val; + return $this; + } + + + /** + * Gets the userConsentRequests + * A list of pending user consent requests. + * + * @return array|null The userConsentRequests + */ + public function getUserConsentRequests() + { + if (array_key_exists("userConsentRequests", $this->_propDict)) { + return $this->_propDict["userConsentRequests"]; + } else { + return null; + } + } + + /** + * Sets the userConsentRequests + * A list of pending user consent requests. + * + * @param UserConsentRequest[] $val The userConsentRequests + * + * @return AppConsentRequest + */ + public function setUserConsentRequests($val) + { + $this->_propDict["userConsentRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequestScope.php b/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequestScope.php new file mode 100644 index 0000000..da8672a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequestScope.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the scope. + * + * @param string $val The value of the displayName + * + * @return AppConsentRequestScope + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppHostedMediaConfig.php b/vendor/microsoft/microsoft-graph/src/Model/AppHostedMediaConfig.php new file mode 100644 index 0000000..9b67b75 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppHostedMediaConfig.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.appHostedMediaConfig"); + } + + /** + * Gets the blob + * The media configuration blob generated by smart media agent. + * + * @return string|null The blob + */ + public function getBlob() + { + if (array_key_exists("blob", $this->_propDict)) { + return $this->_propDict["blob"]; + } else { + return null; + } + } + + /** + * Sets the blob + * The media configuration blob generated by smart media agent. + * + * @param string $val The value of the blob + * + * @return AppHostedMediaConfig + */ + public function setBlob($val) + { + $this->_propDict["blob"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/AppIdentity.php new file mode 100644 index 0000000..ff16660 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppIdentity.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * Refers to the unique identifier representing Application Id in the Azure Active Directory. + * + * @param string $val The value of the appId + * + * @return AppIdentity + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the displayName + * Refers to the Application Name displayed in the Azure Portal. + * + * @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 + * Refers to the Application Name displayed in the Azure Portal. + * + * @param string $val The value of the displayName + * + * @return AppIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the servicePrincipalId + * Refers to the unique identifier indicating Service Principal Id in Azure Active Directory for the corresponding App. + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * Refers to the unique identifier indicating Service Principal Id in Azure Active Directory for the corresponding App. + * + * @param string $val The value of the servicePrincipalId + * + * @return AppIdentity + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } + /** + * Gets the servicePrincipalName + * Refers to the Service Principal Name is the Application name in the tenant. + * + * @return string|null The servicePrincipalName + */ + public function getServicePrincipalName() + { + if (array_key_exists("servicePrincipalName", $this->_propDict)) { + return $this->_propDict["servicePrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalName + * Refers to the Service Principal Name is the Application name in the tenant. + * + * @param string $val The value of the servicePrincipalName + * + * @return AppIdentity + */ + public function setServicePrincipalName($val) + { + $this->_propDict["servicePrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php b/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php new file mode 100644 index 0000000..1940676 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application or bundle identifier of the application + * + * @param string $val The value of the appId + * + * @return AppListItem + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the appStoreUrl + * The Store URL of the application + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Store URL of the application + * + * @param string $val The value of the appStoreUrl + * + * @return AppListItem + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + /** + * Gets the name + * The application name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The application name + * + * @param string $val The value of the name + * + * @return AppListItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the publisher + * The publisher of the application + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher of the application + * + * @param string $val The value of the publisher + * + * @return AppListItem + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppListType.php b/vendor/microsoft/microsoft-graph/src/Model/AppListType.php new file mode 100644 index 0000000..7977d74 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppListType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["allowedMemberTypes"]; + } else { + return null; + } + } + + /** + * Sets the allowedMemberTypes + * Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities. + * + * @param string $val The value of the allowedMemberTypes + * + * @return AppRole + */ + public function setAllowedMemberTypes($val) + { + $this->_propDict["allowedMemberTypes"] = $val; + return $this; + } + /** + * Gets the description + * The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during consent experiences. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during consent experiences. + * + * @param string $val The value of the description + * + * @return AppRole + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name for the permission that appears in the app role assignment and consent experiences. + * + * @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 + * Display name for the permission that appears in the app role assignment and consent experiences. + * + * @param string $val The value of the displayName + * + * @return AppRole + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided. + * + * @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 + * Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided. + * + * @param string $val The value of the id + * + * @return AppRole + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEnabled + * When creating or updating an app role, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed. + * + * @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 + * When creating or updating an app role, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed. + * + * @param bool $val The value of the isEnabled + * + * @return AppRole + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the origin + * Specifies if the app role is defined on the application object or on the servicePrincipal entity. Must not be included in any POST or PATCH requests. Read-only. + * + * @return string|null The origin + */ + public function getOrigin() + { + if (array_key_exists("origin", $this->_propDict)) { + return $this->_propDict["origin"]; + } else { + return null; + } + } + + /** + * Sets the origin + * Specifies if the app role is defined on the application object or on the servicePrincipal entity. Must not be included in any POST or PATCH requests. Read-only. + * + * @param string $val The value of the origin + * + * @return AppRole + */ + public function setOrigin($val) + { + $this->_propDict["origin"] = $val; + return $this; + } + /** + * Gets the value + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @param string $val The value of the value + * + * @return AppRole + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/AppRoleAssignment.php new file mode 100644 index 0000000..752f8db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppRoleAssignment.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["appRoleId"]; + } else { + return null; + } + } + + /** + * Sets the appRoleId + * The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create. + * + * @param string $val The appRoleId + * + * @return AppRoleAssignment + */ + public function setAppRoleId($val) + { + $this->_propDict["appRoleId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The time when the app role assignment was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time when the app role assignment was created. 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 createdDateTime + * + * @return AppRoleAssignment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the principalDisplayName + * The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). + * + * @return string|null The principalDisplayName + */ + public function getPrincipalDisplayName() + { + if (array_key_exists("principalDisplayName", $this->_propDict)) { + return $this->_propDict["principalDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the principalDisplayName + * The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). + * + * @param string $val The principalDisplayName + * + * @return AppRoleAssignment + */ + public function setPrincipalDisplayName($val) + { + $this->_propDict["principalDisplayName"] = $val; + return $this; + } + + /** + * Gets the principalId + * The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create. + * + * @param string $val The principalId + * + * @return AppRoleAssignment + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the principalType + * The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only. + * + * @return string|null The principalType + */ + public function getPrincipalType() + { + if (array_key_exists("principalType", $this->_propDict)) { + return $this->_propDict["principalType"]; + } else { + return null; + } + } + + /** + * Sets the principalType + * The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only. + * + * @param string $val The principalType + * + * @return AppRoleAssignment + */ + public function setPrincipalType($val) + { + $this->_propDict["principalType"] = $val; + return $this; + } + + /** + * Gets the resourceDisplayName + * The display name of the resource app's service principal to which the assignment is made. + * + * @return string|null The resourceDisplayName + */ + public function getResourceDisplayName() + { + if (array_key_exists("resourceDisplayName", $this->_propDict)) { + return $this->_propDict["resourceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the resourceDisplayName + * The display name of the resource app's service principal to which the assignment is made. + * + * @param string $val The resourceDisplayName + * + * @return AppRoleAssignment + */ + public function setResourceDisplayName($val) + { + $this->_propDict["resourceDisplayName"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only). + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only). + * + * @param string $val The resourceId + * + * @return AppRoleAssignment + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppScope.php b/vendor/microsoft/microsoft-graph/src/Model/AppScope.php new file mode 100644 index 0000000..c9b35cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppScope.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable id. This property is read only. + * + * @param string $val The displayName + * + * @return AppScope + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the type + * Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. + * + * @param string $val The type + * + * @return AppScope + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppleDeviceFeaturesConfigurationBase.php b/vendor/microsoft/microsoft-graph/src/Model/AppleDeviceFeaturesConfigurationBase.php new file mode 100644 index 0000000..3cb8d2a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppleDeviceFeaturesConfigurationBase.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["certificateData"]; + } else { + return null; + } + } + + /** + * Sets the certificateData + * The certificate data which is a long string of text from the certificate, can be null. + * + * @param string $val The certificateData + * + * @return AppleManagedIdentityProvider + */ + public function setCertificateData($val) + { + $this->_propDict["certificateData"] = $val; + return $this; + } + + /** + * Gets the developerId + * The Apple developer identifier. Required. + * + * @return string|null The developerId + */ + public function getDeveloperId() + { + if (array_key_exists("developerId", $this->_propDict)) { + return $this->_propDict["developerId"]; + } else { + return null; + } + } + + /** + * Sets the developerId + * The Apple developer identifier. Required. + * + * @param string $val The developerId + * + * @return AppleManagedIdentityProvider + */ + public function setDeveloperId($val) + { + $this->_propDict["developerId"] = $val; + return $this; + } + + /** + * Gets the keyId + * The Apple key identifier. Required. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The Apple key identifier. Required. + * + * @param string $val The keyId + * + * @return AppleManagedIdentityProvider + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + + /** + * Gets the serviceId + * The Apple service identifier. Required. + * + * @return string|null The serviceId + */ + public function getServiceId() + { + if (array_key_exists("serviceId", $this->_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * The Apple service identifier. Required. + * + * @param string $val The serviceId + * + * @return AppleManagedIdentityProvider + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApplePushNotificationCertificate.php b/vendor/microsoft/microsoft-graph/src/Model/ApplePushNotificationCertificate.php new file mode 100644 index 0000000..c8ff9ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApplePushNotificationCertificate.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["appleIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the appleIdentifier + * Apple Id of the account used to create the MDM push certificate. + * + * @param string $val The appleIdentifier + * + * @return ApplePushNotificationCertificate + */ + public function setAppleIdentifier($val) + { + $this->_propDict["appleIdentifier"] = $val; + return $this; + } + + /** + * Gets the certificate + * Not yet documented + * + * @return string|null The certificate + */ + public function getCertificate() + { + if (array_key_exists("certificate", $this->_propDict)) { + return $this->_propDict["certificate"]; + } else { + return null; + } + } + + /** + * Sets the certificate + * Not yet documented + * + * @param string $val The certificate + * + * @return ApplePushNotificationCertificate + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + + /** + * Gets the certificateSerialNumber + * Certificate serial number. This property is read-only. + * + * @return string|null The certificateSerialNumber + */ + public function getCertificateSerialNumber() + { + if (array_key_exists("certificateSerialNumber", $this->_propDict)) { + return $this->_propDict["certificateSerialNumber"]; + } else { + return null; + } + } + + /** + * Sets the certificateSerialNumber + * Certificate serial number. This property is read-only. + * + * @param string $val The certificateSerialNumber + * + * @return ApplePushNotificationCertificate + */ + public function setCertificateSerialNumber($val) + { + $this->_propDict["certificateSerialNumber"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date and time for Apple push notification certificate. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date and time for Apple push notification certificate. + * + * @param \DateTime $val The expirationDateTime + * + * @return ApplePushNotificationCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified date and time for Apple push notification certificate. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified date and time for Apple push notification certificate. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ApplePushNotificationCertificate + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the topicIdentifier + * Topic Id. + * + * @return string|null The topicIdentifier + */ + public function getTopicIdentifier() + { + if (array_key_exists("topicIdentifier", $this->_propDict)) { + return $this->_propDict["topicIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the topicIdentifier + * Topic Id. + * + * @param string $val The topicIdentifier + * + * @return ApplePushNotificationCertificate + */ + public function setTopicIdentifier($val) + { + $this->_propDict["topicIdentifier"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Application.php b/vendor/microsoft/microsoft-graph/src/Model/Application.php new file mode 100644 index 0000000..3e7660d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Application.php @@ -0,0 +1,1148 @@ +_propDict)) { + return $this->_propDict["addIns"]; + } else { + return null; + } + } + + /** + * Sets the addIns + * Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Office 365 call the application in the context of a document the user is working on. + * + * @param AddIn[] $val The addIns + * + * @return Application + */ + public function setAddIns($val) + { + $this->_propDict["addIns"] = $val; + return $this; + } + + /** + * Gets the api + * Specifies settings for an application that implements a web API. + * + * @return ApiApplication|null The api + */ + public function getApi() + { + if (array_key_exists("api", $this->_propDict)) { + if (is_a($this->_propDict["api"], "\Microsoft\Graph\Model\ApiApplication") || is_null($this->_propDict["api"])) { + return $this->_propDict["api"]; + } else { + $this->_propDict["api"] = new ApiApplication($this->_propDict["api"]); + return $this->_propDict["api"]; + } + } + return null; + } + + /** + * Sets the api + * Specifies settings for an application that implements a web API. + * + * @param ApiApplication $val The api + * + * @return Application + */ + public function setApi($val) + { + $this->_propDict["api"] = $val; + return $this; + } + + /** + * Gets the appId + * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. + * + * @param string $val The appId + * + * @return Application + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the applicationTemplateId + * Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne). + * + * @return string|null The applicationTemplateId + */ + public function getApplicationTemplateId() + { + if (array_key_exists("applicationTemplateId", $this->_propDict)) { + return $this->_propDict["applicationTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the applicationTemplateId + * Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne). + * + * @param string $val The applicationTemplateId + * + * @return Application + */ + public function setApplicationTemplateId($val) + { + $this->_propDict["applicationTemplateId"] = $val; + return $this; + } + + + /** + * Gets the appRoles + * The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + * + * @return array|null The appRoles + */ + public function getAppRoles() + { + if (array_key_exists("appRoles", $this->_propDict)) { + return $this->_propDict["appRoles"]; + } else { + return null; + } + } + + /** + * Sets the appRoles + * The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + * + * @param AppRole[] $val The appRoles + * + * @return Application + */ + public function setAppRoles($val) + { + $this->_propDict["appRoles"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the application was registered. The DateTimeOffset 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. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the application was registered. The DateTimeOffset 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. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + * + * @param \DateTime $val The createdDateTime + * + * @return Application + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @param string $val The description + * + * @return Application + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @return string|null The disabledByMicrosoftStatus + */ + public function getDisabledByMicrosoftStatus() + { + if (array_key_exists("disabledByMicrosoftStatus", $this->_propDict)) { + return $this->_propDict["disabledByMicrosoftStatus"]; + } else { + return null; + } + } + + /** + * Sets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @param string $val The disabledByMicrosoftStatus + * + * @return Application + */ + public function setDisabledByMicrosoftStatus($val) + { + $this->_propDict["disabledByMicrosoftStatus"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return Application + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the groupMembershipClaims + * Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of). + * + * @return string|null The groupMembershipClaims + */ + public function getGroupMembershipClaims() + { + if (array_key_exists("groupMembershipClaims", $this->_propDict)) { + return $this->_propDict["groupMembershipClaims"]; + } else { + return null; + } + } + + /** + * Sets the groupMembershipClaims + * Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of). + * + * @param string $val The groupMembershipClaims + * + * @return Application + */ + public function setGroupMembershipClaims($val) + { + $this->_propDict["groupMembershipClaims"] = $val; + return $this; + } + + /** + * Gets the identifierUris + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * + * @return string|null The identifierUris + */ + public function getIdentifierUris() + { + if (array_key_exists("identifierUris", $this->_propDict)) { + return $this->_propDict["identifierUris"]; + } else { + return null; + } + } + + /** + * Sets the identifierUris + * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * + * @param string $val The identifierUris + * + * @return Application + */ + public function setIdentifierUris($val) + { + $this->_propDict["identifierUris"] = $val; + return $this; + } + + /** + * Gets the info + * Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @return InformationalUrl|null The info + */ + public function getInfo() + { + if (array_key_exists("info", $this->_propDict)) { + if (is_a($this->_propDict["info"], "\Microsoft\Graph\Model\InformationalUrl") || is_null($this->_propDict["info"])) { + return $this->_propDict["info"]; + } else { + $this->_propDict["info"] = new InformationalUrl($this->_propDict["info"]); + return $this->_propDict["info"]; + } + } + return null; + } + + /** + * Sets the info + * Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @param InformationalUrl $val The info + * + * @return Application + */ + public function setInfo($val) + { + $this->_propDict["info"] = $val; + return $this; + } + + /** + * Gets the isDeviceOnlyAuthSupported + * Specifies whether this application supports device authentication without a user. The default is false. + * + * @return bool|null The isDeviceOnlyAuthSupported + */ + public function getIsDeviceOnlyAuthSupported() + { + if (array_key_exists("isDeviceOnlyAuthSupported", $this->_propDict)) { + return $this->_propDict["isDeviceOnlyAuthSupported"]; + } else { + return null; + } + } + + /** + * Sets the isDeviceOnlyAuthSupported + * Specifies whether this application supports device authentication without a user. The default is false. + * + * @param bool $val The isDeviceOnlyAuthSupported + * + * @return Application + */ + public function setIsDeviceOnlyAuthSupported($val) + { + $this->_propDict["isDeviceOnlyAuthSupported"] = boolval($val); + return $this; + } + + /** + * Gets the isFallbackPublicClient + * Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property. + * + * @return bool|null The isFallbackPublicClient + */ + public function getIsFallbackPublicClient() + { + if (array_key_exists("isFallbackPublicClient", $this->_propDict)) { + return $this->_propDict["isFallbackPublicClient"]; + } else { + return null; + } + } + + /** + * Sets the isFallbackPublicClient + * Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property. + * + * @param bool $val The isFallbackPublicClient + * + * @return Application + */ + public function setIsFallbackPublicClient($val) + { + $this->_propDict["isFallbackPublicClient"] = boolval($val); + return $this; + } + + + /** + * Gets the keyCredentials + * The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The keyCredentials + */ + public function getKeyCredentials() + { + if (array_key_exists("keyCredentials", $this->_propDict)) { + return $this->_propDict["keyCredentials"]; + } else { + return null; + } + } + + /** + * Sets the keyCredentials + * The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param KeyCredential[] $val The keyCredentials + * + * @return Application + */ + public function setKeyCredentials($val) + { + $this->_propDict["keyCredentials"] = $val; + return $this; + } + + /** + * Gets the logo + * The main logo for the application. Not nullable. + * + * @return \GuzzleHttp\Psr7\Stream|null The logo + */ + public function getLogo() + { + if (array_key_exists("logo", $this->_propDict)) { + if (is_a($this->_propDict["logo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["logo"])) { + return $this->_propDict["logo"]; + } else { + $this->_propDict["logo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["logo"]); + return $this->_propDict["logo"]; + } + } + return null; + } + + /** + * Sets the logo + * The main logo for the application. Not nullable. + * + * @param \GuzzleHttp\Psr7\Stream $val The logo + * + * @return Application + */ + public function setLogo($val) + { + $this->_propDict["logo"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes relevant for the management of the application. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes relevant for the management of the application. + * + * @param string $val The notes + * + * @return Application + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the oauth2RequirePostResponse + * + * @return bool|null The oauth2RequirePostResponse + */ + public function getOauth2RequirePostResponse() + { + if (array_key_exists("oauth2RequirePostResponse", $this->_propDict)) { + return $this->_propDict["oauth2RequirePostResponse"]; + } else { + return null; + } + } + + /** + * Sets the oauth2RequirePostResponse + * + * @param bool $val The oauth2RequirePostResponse + * + * @return Application + */ + public function setOauth2RequirePostResponse($val) + { + $this->_propDict["oauth2RequirePostResponse"] = boolval($val); + return $this; + } + + /** + * Gets the optionalClaims + * Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app. + * + * @return OptionalClaims|null The optionalClaims + */ + public function getOptionalClaims() + { + if (array_key_exists("optionalClaims", $this->_propDict)) { + if (is_a($this->_propDict["optionalClaims"], "\Microsoft\Graph\Model\OptionalClaims") || is_null($this->_propDict["optionalClaims"])) { + return $this->_propDict["optionalClaims"]; + } else { + $this->_propDict["optionalClaims"] = new OptionalClaims($this->_propDict["optionalClaims"]); + return $this->_propDict["optionalClaims"]; + } + } + return null; + } + + /** + * Sets the optionalClaims + * Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app. + * + * @param OptionalClaims $val The optionalClaims + * + * @return Application + */ + public function setOptionalClaims($val) + { + $this->_propDict["optionalClaims"] = $val; + return $this; + } + + /** + * Gets the parentalControlSettings + * Specifies parental control settings for an application. + * + * @return ParentalControlSettings|null The parentalControlSettings + */ + public function getParentalControlSettings() + { + if (array_key_exists("parentalControlSettings", $this->_propDict)) { + if (is_a($this->_propDict["parentalControlSettings"], "\Microsoft\Graph\Model\ParentalControlSettings") || is_null($this->_propDict["parentalControlSettings"])) { + return $this->_propDict["parentalControlSettings"]; + } else { + $this->_propDict["parentalControlSettings"] = new ParentalControlSettings($this->_propDict["parentalControlSettings"]); + return $this->_propDict["parentalControlSettings"]; + } + } + return null; + } + + /** + * Sets the parentalControlSettings + * Specifies parental control settings for an application. + * + * @param ParentalControlSettings $val The parentalControlSettings + * + * @return Application + */ + public function setParentalControlSettings($val) + { + $this->_propDict["parentalControlSettings"] = $val; + return $this; + } + + + /** + * Gets the passwordCredentials + * The collection of password credentials associated with the application. Not nullable. + * + * @return array|null The passwordCredentials + */ + public function getPasswordCredentials() + { + if (array_key_exists("passwordCredentials", $this->_propDict)) { + return $this->_propDict["passwordCredentials"]; + } else { + return null; + } + } + + /** + * Sets the passwordCredentials + * The collection of password credentials associated with the application. Not nullable. + * + * @param PasswordCredential[] $val The passwordCredentials + * + * @return Application + */ + public function setPasswordCredentials($val) + { + $this->_propDict["passwordCredentials"] = $val; + return $this; + } + + /** + * Gets the publicClient + * Specifies settings for installed clients such as desktop or mobile devices. + * + * @return PublicClientApplication|null The publicClient + */ + public function getPublicClient() + { + if (array_key_exists("publicClient", $this->_propDict)) { + if (is_a($this->_propDict["publicClient"], "\Microsoft\Graph\Model\PublicClientApplication") || is_null($this->_propDict["publicClient"])) { + return $this->_propDict["publicClient"]; + } else { + $this->_propDict["publicClient"] = new PublicClientApplication($this->_propDict["publicClient"]); + return $this->_propDict["publicClient"]; + } + } + return null; + } + + /** + * Sets the publicClient + * Specifies settings for installed clients such as desktop or mobile devices. + * + * @param PublicClientApplication $val The publicClient + * + * @return Application + */ + public function setPublicClient($val) + { + $this->_propDict["publicClient"] = $val; + return $this; + } + + /** + * Gets the publisherDomain + * The verified publisher domain for the application. Read-only. Supports $filter (eq, ne, ge, le, startsWith). + * + * @return string|null The publisherDomain + */ + public function getPublisherDomain() + { + if (array_key_exists("publisherDomain", $this->_propDict)) { + return $this->_propDict["publisherDomain"]; + } else { + return null; + } + } + + /** + * Sets the publisherDomain + * The verified publisher domain for the application. Read-only. Supports $filter (eq, ne, ge, le, startsWith). + * + * @param string $val The publisherDomain + * + * @return Application + */ + public function setPublisherDomain($val) + { + $this->_propDict["publisherDomain"] = $val; + return $this; + } + + + /** + * Gets the requiredResourceAccess + * Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The requiredResourceAccess + */ + public function getRequiredResourceAccess() + { + if (array_key_exists("requiredResourceAccess", $this->_propDict)) { + return $this->_propDict["requiredResourceAccess"]; + } else { + return null; + } + } + + /** + * Sets the requiredResourceAccess + * Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param RequiredResourceAccess[] $val The requiredResourceAccess + * + * @return Application + */ + public function setRequiredResourceAccess($val) + { + $this->_propDict["requiredResourceAccess"] = $val; + return $this; + } + + /** + * Gets the serviceManagementReference + * References application or service contact information from a Service or Asset Management database. Nullable. + * + * @return string|null The serviceManagementReference + */ + public function getServiceManagementReference() + { + if (array_key_exists("serviceManagementReference", $this->_propDict)) { + return $this->_propDict["serviceManagementReference"]; + } else { + return null; + } + } + + /** + * Sets the serviceManagementReference + * References application or service contact information from a Service or Asset Management database. Nullable. + * + * @param string $val The serviceManagementReference + * + * @return Application + */ + public function setServiceManagementReference($val) + { + $this->_propDict["serviceManagementReference"] = $val; + return $this; + } + + /** + * Gets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not). + * + * @return string|null The signInAudience + */ + public function getSignInAudience() + { + if (array_key_exists("signInAudience", $this->_propDict)) { + return $this->_propDict["signInAudience"]; + } else { + return null; + } + } + + /** + * Sets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not). + * + * @param string $val The signInAudience + * + * @return Application + */ + public function setSignInAudience($val) + { + $this->_propDict["signInAudience"] = $val; + return $this; + } + + /** + * Gets the spa + * Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. + * + * @return SpaApplication|null The spa + */ + public function getSpa() + { + if (array_key_exists("spa", $this->_propDict)) { + if (is_a($this->_propDict["spa"], "\Microsoft\Graph\Model\SpaApplication") || is_null($this->_propDict["spa"])) { + return $this->_propDict["spa"]; + } else { + $this->_propDict["spa"] = new SpaApplication($this->_propDict["spa"]); + return $this->_propDict["spa"]; + } + } + return null; + } + + /** + * Sets the spa + * Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. + * + * @param SpaApplication $val The spa + * + * @return Application + */ + public function setSpa($val) + { + $this->_propDict["spa"] = $val; + return $this; + } + + /** + * Gets the tags + * Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The tags + * + * @return Application + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @return string|null The tokenEncryptionKeyId + */ + public function getTokenEncryptionKeyId() + { + if (array_key_exists("tokenEncryptionKeyId", $this->_propDict)) { + return $this->_propDict["tokenEncryptionKeyId"]; + } else { + return null; + } + } + + /** + * Sets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @param string $val The tokenEncryptionKeyId + * + * @return Application + */ + public function setTokenEncryptionKeyId($val) + { + $this->_propDict["tokenEncryptionKeyId"] = $val; + return $this; + } + + /** + * Gets the verifiedPublisher + * Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification. + * + * @return VerifiedPublisher|null The verifiedPublisher + */ + public function getVerifiedPublisher() + { + if (array_key_exists("verifiedPublisher", $this->_propDict)) { + if (is_a($this->_propDict["verifiedPublisher"], "\Microsoft\Graph\Model\VerifiedPublisher") || is_null($this->_propDict["verifiedPublisher"])) { + return $this->_propDict["verifiedPublisher"]; + } else { + $this->_propDict["verifiedPublisher"] = new VerifiedPublisher($this->_propDict["verifiedPublisher"]); + return $this->_propDict["verifiedPublisher"]; + } + } + return null; + } + + /** + * Sets the verifiedPublisher + * Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification. + * + * @param VerifiedPublisher $val The verifiedPublisher + * + * @return Application + */ + public function setVerifiedPublisher($val) + { + $this->_propDict["verifiedPublisher"] = $val; + return $this; + } + + /** + * Gets the web + * Specifies settings for a web application. + * + * @return WebApplication|null The web + */ + public function getWeb() + { + if (array_key_exists("web", $this->_propDict)) { + if (is_a($this->_propDict["web"], "\Microsoft\Graph\Model\WebApplication") || is_null($this->_propDict["web"])) { + return $this->_propDict["web"]; + } else { + $this->_propDict["web"] = new WebApplication($this->_propDict["web"]); + return $this->_propDict["web"]; + } + } + return null; + } + + /** + * Sets the web + * Specifies settings for a web application. + * + * @param WebApplication $val The web + * + * @return Application + */ + public function setWeb($val) + { + $this->_propDict["web"] = $val; + return $this; + } + + /** + * Gets the createdOnBehalfOf + * Read-only. + * + * @return DirectoryObject|null The createdOnBehalfOf + */ + public function getCreatedOnBehalfOf() + { + if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["createdOnBehalfOf"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["createdOnBehalfOf"])) { + return $this->_propDict["createdOnBehalfOf"]; + } else { + $this->_propDict["createdOnBehalfOf"] = new DirectoryObject($this->_propDict["createdOnBehalfOf"]); + return $this->_propDict["createdOnBehalfOf"]; + } + } + return null; + } + + /** + * Sets the createdOnBehalfOf + * Read-only. + * + * @param DirectoryObject $val The createdOnBehalfOf + * + * @return Application + */ + public function setCreatedOnBehalfOf($val) + { + $this->_propDict["createdOnBehalfOf"] = $val; + return $this; + } + + + /** + * Gets the extensionProperties + * Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections). + * + * @return array|null The extensionProperties + */ + public function getExtensionProperties() + { + if (array_key_exists("extensionProperties", $this->_propDict)) { + return $this->_propDict["extensionProperties"]; + } else { + return null; + } + } + + /** + * Sets the extensionProperties + * Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections). + * + * @param ExtensionProperty[] $val The extensionProperties + * + * @return Application + */ + public function setExtensionProperties($val) + { + $this->_propDict["extensionProperties"] = $val; + return $this; + } + + + /** + * Gets the homeRealmDiscoveryPolicies + * + * @return array|null The homeRealmDiscoveryPolicies + */ + public function getHomeRealmDiscoveryPolicies() + { + if (array_key_exists("homeRealmDiscoveryPolicies", $this->_propDict)) { + return $this->_propDict["homeRealmDiscoveryPolicies"]; + } else { + return null; + } + } + + /** + * Sets the homeRealmDiscoveryPolicies + * + * @param HomeRealmDiscoveryPolicy[] $val The homeRealmDiscoveryPolicies + * + * @return Application + */ + public function setHomeRealmDiscoveryPolicies($val) + { + $this->_propDict["homeRealmDiscoveryPolicies"] = $val; + return $this; + } + + + /** + * Gets the owners + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand. + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * Directory objects that are owners of the application. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The owners + * + * @return Application + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the tokenIssuancePolicies + * + * @return array|null The tokenIssuancePolicies + */ + public function getTokenIssuancePolicies() + { + if (array_key_exists("tokenIssuancePolicies", $this->_propDict)) { + return $this->_propDict["tokenIssuancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuancePolicies + * + * @param TokenIssuancePolicy[] $val The tokenIssuancePolicies + * + * @return Application + */ + public function setTokenIssuancePolicies($val) + { + $this->_propDict["tokenIssuancePolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this application. Supports $expand. + * + * @return array|null The tokenLifetimePolicies + */ + public function getTokenLifetimePolicies() + { + if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { + return $this->_propDict["tokenLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this application. Supports $expand. + * + * @param TokenLifetimePolicy[] $val The tokenLifetimePolicies + * + * @return Application + */ + public function setTokenLifetimePolicies($val) + { + $this->_propDict["tokenLifetimePolicies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApplicationEnforcedRestrictionsSessionControl.php b/vendor/microsoft/microsoft-graph/src/Model/ApplicationEnforcedRestrictionsSessionControl.php new file mode 100644 index 0000000..fd0480a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApplicationEnforcedRestrictionsSessionControl.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\Application") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Application($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * + * @param Application $val The value to assign to the application + * + * @return ApplicationServicePrincipal The ApplicationServicePrincipal + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + /** + * Gets the servicePrincipal + * + * @return ServicePrincipal|null The servicePrincipal + */ + public function getServicePrincipal() + { + if (array_key_exists("servicePrincipal", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipal"], "\Microsoft\Graph\Model\ServicePrincipal") || is_null($this->_propDict["servicePrincipal"])) { + return $this->_propDict["servicePrincipal"]; + } else { + $this->_propDict["servicePrincipal"] = new ServicePrincipal($this->_propDict["servicePrincipal"]); + return $this->_propDict["servicePrincipal"]; + } + } + return null; + } + + /** + * Sets the servicePrincipal + * + * @param ServicePrincipal $val The value to assign to the servicePrincipal + * + * @return ApplicationServicePrincipal The ApplicationServicePrincipal + */ + public function setServicePrincipal($val) + { + $this->_propDict["servicePrincipal"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApplicationTemplate.php b/vendor/microsoft/microsoft-graph/src/Model/ApplicationTemplate.php new file mode 100644 index 0000000..5a0b771 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApplicationTemplate.php @@ -0,0 +1,259 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. + * + * @param string $val The categories + * + * @return ApplicationTemplate + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the description + * A description of the application. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description of the application. + * + * @param string $val The description + * + * @return ApplicationTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the application. + * + * @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 + * The name of the application. + * + * @param string $val The displayName + * + * @return ApplicationTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the homePageUrl + * The home page URL of the application. + * + * @return string|null The homePageUrl + */ + public function getHomePageUrl() + { + if (array_key_exists("homePageUrl", $this->_propDict)) { + return $this->_propDict["homePageUrl"]; + } else { + return null; + } + } + + /** + * Sets the homePageUrl + * The home page URL of the application. + * + * @param string $val The homePageUrl + * + * @return ApplicationTemplate + */ + public function setHomePageUrl($val) + { + $this->_propDict["homePageUrl"] = $val; + return $this; + } + + /** + * Gets the logoUrl + * The URL to get the logo for this application. + * + * @return string|null The logoUrl + */ + public function getLogoUrl() + { + if (array_key_exists("logoUrl", $this->_propDict)) { + return $this->_propDict["logoUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoUrl + * The URL to get the logo for this application. + * + * @param string $val The logoUrl + * + * @return ApplicationTemplate + */ + public function setLogoUrl($val) + { + $this->_propDict["logoUrl"] = $val; + return $this; + } + + /** + * Gets the publisher + * The name of the publisher for this application. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The name of the publisher for this application. + * + * @param string $val The publisher + * + * @return ApplicationTemplate + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the supportedProvisioningTypes + * The list of provisioning modes supported by this application. The only valid value is sync. + * + * @return string|null The supportedProvisioningTypes + */ + public function getSupportedProvisioningTypes() + { + if (array_key_exists("supportedProvisioningTypes", $this->_propDict)) { + return $this->_propDict["supportedProvisioningTypes"]; + } else { + return null; + } + } + + /** + * Sets the supportedProvisioningTypes + * The list of provisioning modes supported by this application. The only valid value is sync. + * + * @param string $val The supportedProvisioningTypes + * + * @return ApplicationTemplate + */ + public function setSupportedProvisioningTypes($val) + { + $this->_propDict["supportedProvisioningTypes"] = $val; + return $this; + } + + /** + * Gets the supportedSingleSignOnModes + * The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported. + * + * @return string|null The supportedSingleSignOnModes + */ + public function getSupportedSingleSignOnModes() + { + if (array_key_exists("supportedSingleSignOnModes", $this->_propDict)) { + return $this->_propDict["supportedSingleSignOnModes"]; + } else { + return null; + } + } + + /** + * Sets the supportedSingleSignOnModes + * The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported. + * + * @param string $val The supportedSingleSignOnModes + * + * @return ApplicationTemplate + */ + public function setSupportedSingleSignOnModes($val) + { + $this->_propDict["supportedSingleSignOnModes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApplicationType.php b/vendor/microsoft/microsoft-graph/src/Model/ApplicationType.php new file mode 100644 index 0000000..9d82e80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApplicationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the conditional access policy. + * + * @param string $val The value of the displayName + * + * @return AppliedConditionalAccessPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the enforcedGrantControls + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * + * @return string|null The enforcedGrantControls + */ + public function getEnforcedGrantControls() + { + if (array_key_exists("enforcedGrantControls", $this->_propDict)) { + return $this->_propDict["enforcedGrantControls"]; + } else { + return null; + } + } + + /** + * Sets the enforcedGrantControls + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * + * @param string $val The value of the enforcedGrantControls + * + * @return AppliedConditionalAccessPolicy + */ + public function setEnforcedGrantControls($val) + { + $this->_propDict["enforcedGrantControls"] = $val; + return $this; + } + /** + * Gets the enforcedSessionControls + * Refers to the session controls enforced by the conditional access policy (example: 'Require app enforced controls'). + * + * @return string|null The enforcedSessionControls + */ + public function getEnforcedSessionControls() + { + if (array_key_exists("enforcedSessionControls", $this->_propDict)) { + return $this->_propDict["enforcedSessionControls"]; + } else { + return null; + } + } + + /** + * Sets the enforcedSessionControls + * Refers to the session controls enforced by the conditional access policy (example: 'Require app enforced controls'). + * + * @param string $val The value of the enforcedSessionControls + * + * @return AppliedConditionalAccessPolicy + */ + public function setEnforcedSessionControls($val) + { + $this->_propDict["enforcedSessionControls"] = $val; + return $this; + } + /** + * Gets the id + * Identifier of the conditional access policy. + * + * @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 + * Identifier of the conditional access policy. + * + * @param string $val The value of the id + * + * @return AppliedConditionalAccessPolicy + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the result + * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * + * @return AppliedConditionalAccessPolicyResult|null The result + */ + public function getResult() + { + if (array_key_exists("result", $this->_propDict)) { + if (is_a($this->_propDict["result"], "\Microsoft\Graph\Model\AppliedConditionalAccessPolicyResult") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new AppliedConditionalAccessPolicyResult($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * + * @param AppliedConditionalAccessPolicyResult $val The value to assign to the result + * + * @return AppliedConditionalAccessPolicy The AppliedConditionalAccessPolicy + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicyResult.php b/vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicyResult.php new file mode 100644 index 0000000..cdf9736 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicyResult.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["stages"]; + } else { + return null; + } + } + + /** + * Sets the stages + * Used for the approvalStages property of approval settings in the requestApprovalSettings property of an access package assignment policy. Specifies the primary, fallback, and escalation approvers of each stage. + * + * @param ApprovalStage[] $val The stages + * + * @return Approval + */ + public function setStages($val) + { + $this->_propDict["stages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApprovalFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/ApprovalFilterByCurrentUserOptions.php new file mode 100644 index 0000000..0b819d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApprovalFilterByCurrentUserOptions.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["approvalMode"]; + } else { + return null; + } + } + + /** + * Sets the approvalMode + * One of NoApproval, SingleStage or Serial. The NoApproval is used when isApprovalRequired is false. + * + * @param string $val The value of the approvalMode + * + * @return ApprovalSettings + */ + public function setApprovalMode($val) + { + $this->_propDict["approvalMode"] = $val; + return $this; + } + + /** + * Gets the approvalStages + * If approval is required, the one or two elements of this collection define each of the stages of approval. An empty array if no approval is required. + * + * @return UnifiedApprovalStage|null The approvalStages + */ + public function getApprovalStages() + { + if (array_key_exists("approvalStages", $this->_propDict)) { + if (is_a($this->_propDict["approvalStages"], "\Microsoft\Graph\Model\UnifiedApprovalStage") || is_null($this->_propDict["approvalStages"])) { + return $this->_propDict["approvalStages"]; + } else { + $this->_propDict["approvalStages"] = new UnifiedApprovalStage($this->_propDict["approvalStages"]); + return $this->_propDict["approvalStages"]; + } + } + return null; + } + + /** + * Sets the approvalStages + * If approval is required, the one or two elements of this collection define each of the stages of approval. An empty array if no approval is required. + * + * @param UnifiedApprovalStage $val The value to assign to the approvalStages + * + * @return ApprovalSettings The ApprovalSettings + */ + public function setApprovalStages($val) + { + $this->_propDict["approvalStages"] = $val; + return $this; + } + /** + * Gets the isApprovalRequired + * If false, then approval is not required for requests in this policy. + * + * @return bool|null The isApprovalRequired + */ + public function getIsApprovalRequired() + { + if (array_key_exists("isApprovalRequired", $this->_propDict)) { + return $this->_propDict["isApprovalRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequired + * If false, then approval is not required for requests in this policy. + * + * @param bool $val The value of the isApprovalRequired + * + * @return ApprovalSettings + */ + public function setIsApprovalRequired($val) + { + $this->_propDict["isApprovalRequired"] = $val; + return $this; + } + /** + * Gets the isApprovalRequiredForExtension + * If false, then approval is not required for a user who already has an assignment to extend their assignment. + * + * @return bool|null The isApprovalRequiredForExtension + */ + public function getIsApprovalRequiredForExtension() + { + if (array_key_exists("isApprovalRequiredForExtension", $this->_propDict)) { + return $this->_propDict["isApprovalRequiredForExtension"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequiredForExtension + * If false, then approval is not required for a user who already has an assignment to extend their assignment. + * + * @param bool $val The value of the isApprovalRequiredForExtension + * + * @return ApprovalSettings + */ + public function setIsApprovalRequiredForExtension($val) + { + $this->_propDict["isApprovalRequiredForExtension"] = $val; + return $this; + } + /** + * Gets the isRequestorJustificationRequired + * Indicates whether the requestor is required to supply a justification in their request. + * + * @return bool|null The isRequestorJustificationRequired + */ + public function getIsRequestorJustificationRequired() + { + if (array_key_exists("isRequestorJustificationRequired", $this->_propDict)) { + return $this->_propDict["isRequestorJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequestorJustificationRequired + * Indicates whether the requestor is required to supply a justification in their request. + * + * @param bool $val The value of the isRequestorJustificationRequired + * + * @return ApprovalSettings + */ + public function setIsRequestorJustificationRequired($val) + { + $this->_propDict["isRequestorJustificationRequired"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ApprovalStage.php b/vendor/microsoft/microsoft-graph/src/Model/ApprovalStage.php new file mode 100644 index 0000000..b9bc5df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ApprovalStage.php @@ -0,0 +1,238 @@ +_propDict)) { + return $this->_propDict["assignedToMe"]; + } else { + return null; + } + } + + /** + * Sets the assignedToMe + * Indicates whether the stage is assigned to the calling user to review. Read-only. + * + * @param bool $val The assignedToMe + * + * @return ApprovalStage + */ + public function setAssignedToMe($val) + { + $this->_propDict["assignedToMe"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * The label provided by the policy creator to identify an approval stage. Read-only. + * + * @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 + * The label provided by the policy creator to identify an approval stage. Read-only. + * + * @param string $val The displayName + * + * @return ApprovalStage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the justification + * The justification associated with the approval stage decision. + * + * @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 associated with the approval stage decision. + * + * @param string $val The justification + * + * @return ApprovalStage + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the reviewedBy + * The identifier of the reviewer. Read-only. + * + * @return Identity|null The reviewedBy + */ + public function getReviewedBy() + { + if (array_key_exists("reviewedBy", $this->_propDict)) { + if (is_a($this->_propDict["reviewedBy"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["reviewedBy"])) { + return $this->_propDict["reviewedBy"]; + } else { + $this->_propDict["reviewedBy"] = new Identity($this->_propDict["reviewedBy"]); + return $this->_propDict["reviewedBy"]; + } + } + return null; + } + + /** + * Sets the reviewedBy + * The identifier of the reviewer. Read-only. + * + * @param Identity $val The reviewedBy + * + * @return ApprovalStage + */ + public function setReviewedBy($val) + { + $this->_propDict["reviewedBy"] = $val; + return $this; + } + + /** + * Gets the reviewedDateTime + * The date and time when a decision was recorded. The date and time information uses 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 reviewedDateTime + */ + public function getReviewedDateTime() + { + if (array_key_exists("reviewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reviewedDateTime"], "\DateTime") || is_null($this->_propDict["reviewedDateTime"])) { + return $this->_propDict["reviewedDateTime"]; + } else { + $this->_propDict["reviewedDateTime"] = new \DateTime($this->_propDict["reviewedDateTime"]); + return $this->_propDict["reviewedDateTime"]; + } + } + return null; + } + + /** + * Sets the reviewedDateTime + * The date and time when a decision was recorded. The date and time information uses 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 reviewedDateTime + * + * @return ApprovalStage + */ + public function setReviewedDateTime($val) + { + $this->_propDict["reviewedDateTime"] = $val; + return $this; + } + + /** + * Gets the reviewResult + * The result of this approval record. Possible values include: NotReviewed, Approved, Denied. + * + * @return string|null The reviewResult + */ + public function getReviewResult() + { + if (array_key_exists("reviewResult", $this->_propDict)) { + return $this->_propDict["reviewResult"]; + } else { + return null; + } + } + + /** + * Sets the reviewResult + * The result of this approval record. Possible values include: NotReviewed, Approved, Denied. + * + * @param string $val The reviewResult + * + * @return ApprovalStage + */ + public function setReviewResult($val) + { + $this->_propDict["reviewResult"] = $val; + return $this; + } + + /** + * Gets the status + * The stage status. Possible values: InProgress, Initializing, Completed, Expired. Read-only. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The stage status. Possible values: InProgress, Initializing, Completed, Expired. Read-only. + * + * @param string $val The status + * + * @return ApprovalStage + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ArchivedPrintJob.php b/vendor/microsoft/microsoft-graph/src/Model/ArchivedPrintJob.php new file mode 100644 index 0000000..0ca93e9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ArchivedPrintJob.php @@ -0,0 +1,303 @@ +_propDict)) { + return $this->_propDict["acquiredByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the acquiredByPrinter + * True if the job was acquired by a printer; false otherwise. Read-only. + * + * @param bool $val The value of the acquiredByPrinter + * + * @return ArchivedPrintJob + */ + public function setAcquiredByPrinter($val) + { + $this->_propDict["acquiredByPrinter"] = $val; + return $this; + } + + /** + * Gets the acquiredDateTime + * The dateTimeOffset when the job was acquired by the printer, if any. Read-only. + * + * @return \DateTime|null The acquiredDateTime + */ + public function getAcquiredDateTime() + { + if (array_key_exists("acquiredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["acquiredDateTime"], "\DateTime") || is_null($this->_propDict["acquiredDateTime"])) { + return $this->_propDict["acquiredDateTime"]; + } else { + $this->_propDict["acquiredDateTime"] = new \DateTime($this->_propDict["acquiredDateTime"]); + return $this->_propDict["acquiredDateTime"]; + } + } + return null; + } + + /** + * Sets the acquiredDateTime + * The dateTimeOffset when the job was acquired by the printer, if any. Read-only. + * + * @param \DateTime $val The value to assign to the acquiredDateTime + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setAcquiredDateTime($val) + { + $this->_propDict["acquiredDateTime"] = $val; + return $this; + } + + /** + * Gets the completionDateTime + * The dateTimeOffset when the job was completed, canceled or aborted. Read-only. + * + * @return \DateTime|null The completionDateTime + */ + public function getCompletionDateTime() + { + if (array_key_exists("completionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * The dateTimeOffset when the job was completed, canceled or aborted. Read-only. + * + * @param \DateTime $val The value to assign to the completionDateTime + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + /** + * Gets the copiesPrinted + * The number of copies that were printed. Read-only. + * + * @return int|null The copiesPrinted + */ + public function getCopiesPrinted() + { + if (array_key_exists("copiesPrinted", $this->_propDict)) { + return $this->_propDict["copiesPrinted"]; + } else { + return null; + } + } + + /** + * Sets the copiesPrinted + * The number of copies that were printed. Read-only. + * + * @param int $val The value of the copiesPrinted + * + * @return ArchivedPrintJob + */ + public function setCopiesPrinted($val) + { + $this->_propDict["copiesPrinted"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created the print job. Read-only. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created the print job. Read-only. + * + * @param UserIdentity $val The value to assign to the createdBy + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The dateTimeOffset when the job was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The dateTimeOffset when the job was created. Read-only. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the id + * The archived print job's GUID. Read-only. + * + * @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 + * The archived print job's GUID. Read-only. + * + * @param string $val The value of the id + * + * @return ArchivedPrintJob + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the printerId + * The printer ID that the job was queued for. Read-only. + * + * @return string|null The printerId + */ + public function getPrinterId() + { + if (array_key_exists("printerId", $this->_propDict)) { + return $this->_propDict["printerId"]; + } else { + return null; + } + } + + /** + * Sets the printerId + * The printer ID that the job was queued for. Read-only. + * + * @param string $val The value of the printerId + * + * @return ArchivedPrintJob + */ + public function setPrinterId($val) + { + $this->_propDict["printerId"] = $val; + return $this; + } + + /** + * Gets the processingState + * The print job's final processing state. Read-only. + * + * @return PrintJobProcessingState|null The processingState + */ + public function getProcessingState() + { + if (array_key_exists("processingState", $this->_propDict)) { + if (is_a($this->_propDict["processingState"], "\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["processingState"])) { + return $this->_propDict["processingState"]; + } else { + $this->_propDict["processingState"] = new PrintJobProcessingState($this->_propDict["processingState"]); + return $this->_propDict["processingState"]; + } + } + return null; + } + + /** + * Sets the processingState + * The print job's final processing state. Read-only. + * + * @param PrintJobProcessingState $val The value to assign to the processingState + * + * @return ArchivedPrintJob The ArchivedPrintJob + */ + public function setProcessingState($val) + { + $this->_propDict["processingState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AssignedLabel.php b/vendor/microsoft/microsoft-graph/src/Model/AssignedLabel.php new file mode 100644 index 0000000..b13ba44 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AssignedLabel.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the label. Read-only. + * + * @param string $val The value of the displayName + * + * @return AssignedLabel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the labelId + * The unique identifier of the label. + * + * @return string|null The labelId + */ + public function getLabelId() + { + if (array_key_exists("labelId", $this->_propDict)) { + return $this->_propDict["labelId"]; + } else { + return null; + } + } + + /** + * Sets the labelId + * The unique identifier of the label. + * + * @param string $val The value of the labelId + * + * @return AssignedLabel + */ + public function setLabelId($val) + { + $this->_propDict["labelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AssignedLicense.php b/vendor/microsoft/microsoft-graph/src/Model/AssignedLicense.php new file mode 100644 index 0000000..16f23a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AssignedLicense.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["disabledPlans"]; + } else { + return null; + } + } + + /** + * Sets the disabledPlans + * A collection of the unique identifiers for plans that have been disabled. + * + * @param string $val The value of the disabledPlans + * + * @return AssignedLicense + */ + public function setDisabledPlans($val) + { + $this->_propDict["disabledPlans"] = $val; + return $this; + } + /** + * Gets the skuId + * The unique identifier for the SKU. + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * The unique identifier for the SKU. + * + * @param string $val The value of the skuId + * + * @return AssignedLicense + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AssignedPlan.php b/vendor/microsoft/microsoft-graph/src/Model/AssignedPlan.php new file mode 100644 index 0000000..3a3ce46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AssignedPlan.php @@ -0,0 +1,143 @@ +_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. 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 assignedDateTime + * + * @return AssignedPlan The AssignedPlan + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + /** + * Gets the capabilityStatus + * Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. + * + * @return string|null The capabilityStatus + */ + public function getCapabilityStatus() + { + if (array_key_exists("capabilityStatus", $this->_propDict)) { + return $this->_propDict["capabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the capabilityStatus + * Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut. + * + * @param string $val The value of the capabilityStatus + * + * @return AssignedPlan + */ + public function setCapabilityStatus($val) + { + $this->_propDict["capabilityStatus"] = $val; + return $this; + } + /** + * Gets the service + * The name of the service; for example, exchange. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The name of the service; for example, exchange. + * + * @param string $val The value of the service + * + * @return AssignedPlan + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + /** + * Gets the servicePlanId + * A GUID that identifies the service plan. For a complete list of GUIDs and their equivalent friendly service names, see Product names and service plan identifiers for licensing. + * + * @return string|null The servicePlanId + */ + public function getServicePlanId() + { + if (array_key_exists("servicePlanId", $this->_propDict)) { + return $this->_propDict["servicePlanId"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanId + * A GUID that identifies the service plan. For a complete list of GUIDs and their equivalent friendly service names, see Product names and service plan identifiers for licensing. + * + * @param string $val The value of the servicePlanId + * + * @return AssignedPlan + */ + public function setServicePlanId($val) + { + $this->_propDict["servicePlanId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AssignmentOrder.php b/vendor/microsoft/microsoft-graph/src/Model/AssignmentOrder.php new file mode 100644 index 0000000..2d0156e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AssignmentOrder.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * A list of identityUserFlowAttribute IDs provided to determine the order in which attributes should be collected within a user flow. + * + * @param string $val The value of the order + * + * @return AssignmentOrder + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Attachment.php b/vendor/microsoft/microsoft-graph/src/Model/Attachment.php new file mode 100644 index 0000000..1fb4436 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Attachment.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The MIME type. + * + * @param string $val The contentType + * + * @return Attachment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the isInline + * true if the attachment is an inline attachment; otherwise, false. + * + * @return bool|null The isInline + */ + public function getIsInline() + { + if (array_key_exists("isInline", $this->_propDict)) { + return $this->_propDict["isInline"]; + } else { + return null; + } + } + + /** + * Sets the isInline + * true if the attachment is an inline attachment; otherwise, false. + * + * @param bool $val The isInline + * + * @return Attachment + */ + public function setIsInline($val) + { + $this->_propDict["isInline"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return Attachment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * The display name of the attachment. This does not need to be the actual file name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the attachment. This does not need to be the actual file name. + * + * @param string $val The name + * + * @return Attachment + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * The length of the attachment in bytes. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The length of the attachment in bytes. + * + * @param int $val The size + * + * @return Attachment + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AttachmentItem.php b/vendor/microsoft/microsoft-graph/src/Model/AttachmentItem.php new file mode 100644 index 0000000..98b9a11 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AttachmentItem.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["attachmentType"], "\Microsoft\Graph\Model\AttachmentType") || is_null($this->_propDict["attachmentType"])) { + return $this->_propDict["attachmentType"]; + } else { + $this->_propDict["attachmentType"] = new AttachmentType($this->_propDict["attachmentType"]); + return $this->_propDict["attachmentType"]; + } + } + return null; + } + + /** + * Sets the attachmentType + * The type of attachment. Possible values are: file, item, reference. Required. + * + * @param AttachmentType $val The value to assign to the attachmentType + * + * @return AttachmentItem The AttachmentItem + */ + public function setAttachmentType($val) + { + $this->_propDict["attachmentType"] = $val; + return $this; + } + /** + * Gets the contentId + * The CID or Content-Id of the attachment for referencing in case of in-line attachments using &lt;img src='cid:contentId'&gt; tag in HTML messages. Optional. + * + * @return string|null The contentId + */ + public function getContentId() + { + if (array_key_exists("contentId", $this->_propDict)) { + return $this->_propDict["contentId"]; + } else { + return null; + } + } + + /** + * Sets the contentId + * The CID or Content-Id of the attachment for referencing in case of in-line attachments using &lt;img src='cid:contentId'&gt; tag in HTML messages. Optional. + * + * @param string $val The value of the contentId + * + * @return AttachmentItem + */ + public function setContentId($val) + { + $this->_propDict["contentId"] = $val; + return $this; + } + /** + * Gets the contentType + * The nature of the data in the attachment. Optional. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The nature of the data in the attachment. Optional. + * + * @param string $val The value of the contentType + * + * @return AttachmentItem + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the isInline + * true if the attachment is an inline attachment; otherwise, false. Optional. + * + * @return bool|null The isInline + */ + public function getIsInline() + { + if (array_key_exists("isInline", $this->_propDict)) { + return $this->_propDict["isInline"]; + } else { + return null; + } + } + + /** + * Sets the isInline + * true if the attachment is an inline attachment; otherwise, false. Optional. + * + * @param bool $val The value of the isInline + * + * @return AttachmentItem + */ + public function setIsInline($val) + { + $this->_propDict["isInline"] = $val; + return $this; + } + /** + * Gets the name + * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * + * @param string $val The value of the name + * + * @return AttachmentItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the size + * The length of the attachment in bytes. Required. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The length of the attachment in bytes. Required. + * + * @param int $val The value of the size + * + * @return AttachmentItem + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AttachmentType.php b/vendor/microsoft/microsoft-graph/src/Model/AttachmentType.php new file mode 100644 index 0000000..8e52a80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AttachmentType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["durationInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the durationInSeconds + * Duration of the meeting interval in seconds; that is, the difference between joinDateTime and leaveDateTime. + * + * @param int $val The value of the durationInSeconds + * + * @return AttendanceInterval + */ + public function setDurationInSeconds($val) + { + $this->_propDict["durationInSeconds"] = $val; + return $this; + } + + /** + * Gets the joinDateTime + * The time the attendee joined in UTC. + * + * @return \DateTime|null The joinDateTime + */ + public function getJoinDateTime() + { + if (array_key_exists("joinDateTime", $this->_propDict)) { + if (is_a($this->_propDict["joinDateTime"], "\DateTime") || is_null($this->_propDict["joinDateTime"])) { + return $this->_propDict["joinDateTime"]; + } else { + $this->_propDict["joinDateTime"] = new \DateTime($this->_propDict["joinDateTime"]); + return $this->_propDict["joinDateTime"]; + } + } + return null; + } + + /** + * Sets the joinDateTime + * The time the attendee joined in UTC. + * + * @param \DateTime $val The value to assign to the joinDateTime + * + * @return AttendanceInterval The AttendanceInterval + */ + public function setJoinDateTime($val) + { + $this->_propDict["joinDateTime"] = $val; + return $this; + } + + /** + * Gets the leaveDateTime + * The time the attendee left in UTC. + * + * @return \DateTime|null The leaveDateTime + */ + public function getLeaveDateTime() + { + if (array_key_exists("leaveDateTime", $this->_propDict)) { + if (is_a($this->_propDict["leaveDateTime"], "\DateTime") || is_null($this->_propDict["leaveDateTime"])) { + return $this->_propDict["leaveDateTime"]; + } else { + $this->_propDict["leaveDateTime"] = new \DateTime($this->_propDict["leaveDateTime"]); + return $this->_propDict["leaveDateTime"]; + } + } + return null; + } + + /** + * Sets the leaveDateTime + * The time the attendee left in UTC. + * + * @param \DateTime $val The value to assign to the leaveDateTime + * + * @return AttendanceInterval The AttendanceInterval + */ + public function setLeaveDateTime($val) + { + $this->_propDict["leaveDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AttendanceRecord.php b/vendor/microsoft/microsoft-graph/src/Model/AttendanceRecord.php new file mode 100644 index 0000000..0d662b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AttendanceRecord.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["attendanceIntervals"]; + } else { + return null; + } + } + + /** + * Sets the attendanceIntervals + * List of time periods between joining and leaving a meeting. + * + * @param AttendanceInterval[] $val The attendanceIntervals + * + * @return AttendanceRecord + */ + public function setAttendanceIntervals($val) + { + $this->_propDict["attendanceIntervals"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Email address of the user associated with this atttendance record. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email address of the user associated with this atttendance record. + * + * @param string $val The emailAddress + * + * @return AttendanceRecord + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the identity + * Identity of the user associated with this atttendance record. + * + * @return Identity|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new Identity($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity of the user associated with this atttendance record. + * + * @param Identity $val The identity + * + * @return AttendanceRecord + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + + /** + * Gets the role + * Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. + * + * @return string|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + return $this->_propDict["role"]; + } else { + return null; + } + } + + /** + * Sets the role + * Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. + * + * @param string $val The role + * + * @return AttendanceRecord + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the totalAttendanceInSeconds + * Total duration of the attendances in seconds. + * + * @return int|null The totalAttendanceInSeconds + */ + public function getTotalAttendanceInSeconds() + { + if (array_key_exists("totalAttendanceInSeconds", $this->_propDict)) { + return $this->_propDict["totalAttendanceInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the totalAttendanceInSeconds + * Total duration of the attendances in seconds. + * + * @param int $val The totalAttendanceInSeconds + * + * @return AttendanceRecord + */ + public function setTotalAttendanceInSeconds($val) + { + $this->_propDict["totalAttendanceInSeconds"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Attendee.php b/vendor/microsoft/microsoft-graph/src/Model/Attendee.php new file mode 100644 index 0000000..7482926 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Attendee.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["proposedNewTime"], "\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["proposedNewTime"])) { + return $this->_propDict["proposedNewTime"]; + } else { + $this->_propDict["proposedNewTime"] = new TimeSlot($this->_propDict["proposedNewTime"]); + return $this->_propDict["proposedNewTime"]; + } + } + return null; + } + + /** + * Sets the proposedNewTime + * An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. + * + * @param TimeSlot $val The value to assign to the proposedNewTime + * + * @return Attendee The Attendee + */ + public function setProposedNewTime($val) + { + $this->_propDict["proposedNewTime"] = $val; + return $this; + } + + /** + * Gets the status + * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. + * + * @return ResponseStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ResponseStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ResponseStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent. + * + * @param ResponseStatus $val The value to assign to the status + * + * @return Attendee The Attendee + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AttendeeAvailability.php b/vendor/microsoft/microsoft-graph/src/Model/AttendeeAvailability.php new file mode 100644 index 0000000..a8ea3fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AttendeeAvailability.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["attendee"], "\Microsoft\Graph\Model\AttendeeBase") || is_null($this->_propDict["attendee"])) { + return $this->_propDict["attendee"]; + } else { + $this->_propDict["attendee"] = new AttendeeBase($this->_propDict["attendee"]); + return $this->_propDict["attendee"]; + } + } + return null; + } + + /** + * Sets the attendee + * The email address and type of attendee - whether it's a person or a resource, and whether required or optional if it's a person. + * + * @param AttendeeBase $val The value to assign to the attendee + * + * @return AttendeeAvailability The AttendeeAvailability + */ + public function setAttendee($val) + { + $this->_propDict["attendee"] = $val; + return $this; + } + + /** + * Gets the availability + * The availability status of the attendee. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @return FreeBusyStatus|null The availability + */ + public function getAvailability() + { + if (array_key_exists("availability", $this->_propDict)) { + if (is_a($this->_propDict["availability"], "\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["availability"])) { + return $this->_propDict["availability"]; + } else { + $this->_propDict["availability"] = new FreeBusyStatus($this->_propDict["availability"]); + return $this->_propDict["availability"]; + } + } + return null; + } + + /** + * Sets the availability + * The availability status of the attendee. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @param FreeBusyStatus $val The value to assign to the availability + * + * @return AttendeeAvailability The AttendeeAvailability + */ + public function setAvailability($val) + { + $this->_propDict["availability"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AttendeeBase.php b/vendor/microsoft/microsoft-graph/src/Model/AttendeeBase.php new file mode 100644 index 0000000..7558b37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AttendeeBase.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttendeeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttendeeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of attendee. Possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type. + * + * @param AttendeeType $val The value to assign to the type + * + * @return AttendeeBase The AttendeeBase + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AttendeeType.php b/vendor/microsoft/microsoft-graph/src/Model/AttendeeType.php new file mode 100644 index 0000000..f94e4a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AttendeeType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["album"]; + } else { + return null; + } + } + + /** + * Sets the album + * The title of the album for this audio file. + * + * @param string $val The value of the album + * + * @return Audio + */ + public function setAlbum($val) + { + $this->_propDict["album"] = $val; + return $this; + } + /** + * Gets the albumArtist + * The artist named on the album for the audio file. + * + * @return string|null The albumArtist + */ + public function getAlbumArtist() + { + if (array_key_exists("albumArtist", $this->_propDict)) { + return $this->_propDict["albumArtist"]; + } else { + return null; + } + } + + /** + * Sets the albumArtist + * The artist named on the album for the audio file. + * + * @param string $val The value of the albumArtist + * + * @return Audio + */ + public function setAlbumArtist($val) + { + $this->_propDict["albumArtist"] = $val; + return $this; + } + /** + * Gets the artist + * The performing artist for the audio file. + * + * @return string|null The artist + */ + public function getArtist() + { + if (array_key_exists("artist", $this->_propDict)) { + return $this->_propDict["artist"]; + } else { + return null; + } + } + + /** + * Sets the artist + * The performing artist for the audio file. + * + * @param string $val The value of the artist + * + * @return Audio + */ + public function setArtist($val) + { + $this->_propDict["artist"] = $val; + return $this; + } + /** + * Gets the bitrate + * Bitrate expressed in kbps. + * + * @return int|null The bitrate + */ + public function getBitrate() + { + if (array_key_exists("bitrate", $this->_propDict)) { + return $this->_propDict["bitrate"]; + } else { + return null; + } + } + + /** + * Sets the bitrate + * Bitrate expressed in kbps. + * + * @param int $val The value of the bitrate + * + * @return Audio + */ + public function setBitrate($val) + { + $this->_propDict["bitrate"] = $val; + return $this; + } + /** + * Gets the composers + * The name of the composer of the audio file. + * + * @return string|null The composers + */ + public function getComposers() + { + if (array_key_exists("composers", $this->_propDict)) { + return $this->_propDict["composers"]; + } else { + return null; + } + } + + /** + * Sets the composers + * The name of the composer of the audio file. + * + * @param string $val The value of the composers + * + * @return Audio + */ + public function setComposers($val) + { + $this->_propDict["composers"] = $val; + return $this; + } + /** + * Gets the copyright + * Copyright information for the audio file. + * + * @return string|null The copyright + */ + public function getCopyright() + { + if (array_key_exists("copyright", $this->_propDict)) { + return $this->_propDict["copyright"]; + } else { + return null; + } + } + + /** + * Sets the copyright + * Copyright information for the audio file. + * + * @param string $val The value of the copyright + * + * @return Audio + */ + public function setCopyright($val) + { + $this->_propDict["copyright"] = $val; + return $this; + } + /** + * Gets the disc + * The number of the disc this audio file came from. + * + * @return int|null The disc + */ + public function getDisc() + { + if (array_key_exists("disc", $this->_propDict)) { + return $this->_propDict["disc"]; + } else { + return null; + } + } + + /** + * Sets the disc + * The number of the disc this audio file came from. + * + * @param int $val The value of the disc + * + * @return Audio + */ + public function setDisc($val) + { + $this->_propDict["disc"] = $val; + return $this; + } + /** + * Gets the discCount + * The total number of discs in this album. + * + * @return int|null The discCount + */ + public function getDiscCount() + { + if (array_key_exists("discCount", $this->_propDict)) { + return $this->_propDict["discCount"]; + } else { + return null; + } + } + + /** + * Sets the discCount + * The total number of discs in this album. + * + * @param int $val The value of the discCount + * + * @return Audio + */ + public function setDiscCount($val) + { + $this->_propDict["discCount"] = $val; + return $this; + } + /** + * Gets the duration + * Duration of the audio file, expressed in milliseconds + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * Duration of the audio file, expressed in milliseconds + * + * @param int $val The value of the duration + * + * @return Audio + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + /** + * Gets the genre + * The genre of this audio file. + * + * @return string|null The genre + */ + public function getGenre() + { + if (array_key_exists("genre", $this->_propDict)) { + return $this->_propDict["genre"]; + } else { + return null; + } + } + + /** + * Sets the genre + * The genre of this audio file. + * + * @param string $val The value of the genre + * + * @return Audio + */ + public function setGenre($val) + { + $this->_propDict["genre"] = $val; + return $this; + } + /** + * Gets the hasDrm + * Indicates if the file is protected with digital rights management. + * + * @return bool|null The hasDrm + */ + public function getHasDrm() + { + if (array_key_exists("hasDrm", $this->_propDict)) { + return $this->_propDict["hasDrm"]; + } else { + return null; + } + } + + /** + * Sets the hasDrm + * Indicates if the file is protected with digital rights management. + * + * @param bool $val The value of the hasDrm + * + * @return Audio + */ + public function setHasDrm($val) + { + $this->_propDict["hasDrm"] = $val; + return $this; + } + /** + * Gets the isVariableBitrate + * Indicates if the file is encoded with a variable bitrate. + * + * @return bool|null The isVariableBitrate + */ + public function getIsVariableBitrate() + { + if (array_key_exists("isVariableBitrate", $this->_propDict)) { + return $this->_propDict["isVariableBitrate"]; + } else { + return null; + } + } + + /** + * Sets the isVariableBitrate + * Indicates if the file is encoded with a variable bitrate. + * + * @param bool $val The value of the isVariableBitrate + * + * @return Audio + */ + public function setIsVariableBitrate($val) + { + $this->_propDict["isVariableBitrate"] = $val; + return $this; + } + /** + * Gets the title + * The title of the audio file. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the audio file. + * + * @param string $val The value of the title + * + * @return Audio + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + /** + * Gets the track + * The number of the track on the original disc for this audio file. + * + * @return int|null The track + */ + public function getTrack() + { + if (array_key_exists("track", $this->_propDict)) { + return $this->_propDict["track"]; + } else { + return null; + } + } + + /** + * Sets the track + * The number of the track on the original disc for this audio file. + * + * @param int $val The value of the track + * + * @return Audio + */ + public function setTrack($val) + { + $this->_propDict["track"] = $val; + return $this; + } + /** + * Gets the trackCount + * The total number of tracks on the original disc for this audio file. + * + * @return int|null The trackCount + */ + public function getTrackCount() + { + if (array_key_exists("trackCount", $this->_propDict)) { + return $this->_propDict["trackCount"]; + } else { + return null; + } + } + + /** + * Sets the trackCount + * The total number of tracks on the original disc for this audio file. + * + * @param int $val The value of the trackCount + * + * @return Audio + */ + public function setTrackCount($val) + { + $this->_propDict["trackCount"] = $val; + return $this; + } + /** + * Gets the year + * The year the audio file was recorded. + * + * @return int|null The year + */ + public function getYear() + { + if (array_key_exists("year", $this->_propDict)) { + return $this->_propDict["year"]; + } else { + return null; + } + } + + /** + * Sets the year + * The year the audio file was recorded. + * + * @param int $val The value of the year + * + * @return Audio + */ + public function setYear($val) + { + $this->_propDict["year"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AudioConferencing.php b/vendor/microsoft/microsoft-graph/src/Model/AudioConferencing.php new file mode 100644 index 0000000..c5bd0af --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AudioConferencing.php @@ -0,0 +1,190 @@ +_propDict)) { + return $this->_propDict["conferenceId"]; + } else { + return null; + } + } + + /** + * Sets the conferenceId + * The conference id of the online meeting. + * + * @param string $val The value of the conferenceId + * + * @return AudioConferencing + */ + public function setConferenceId($val) + { + $this->_propDict["conferenceId"] = $val; + return $this; + } + /** + * Gets the dialinUrl + * A URL to the externally-accessible web page that contains dial-in information. + * + * @return string|null The dialinUrl + */ + public function getDialinUrl() + { + if (array_key_exists("dialinUrl", $this->_propDict)) { + return $this->_propDict["dialinUrl"]; + } else { + return null; + } + } + + /** + * Sets the dialinUrl + * A URL to the externally-accessible web page that contains dial-in information. + * + * @param string $val The value of the dialinUrl + * + * @return AudioConferencing + */ + public function setDialinUrl($val) + { + $this->_propDict["dialinUrl"] = $val; + return $this; + } + /** + * Gets the tollFreeNumber + * + * @return string|null The tollFreeNumber + */ + public function getTollFreeNumber() + { + if (array_key_exists("tollFreeNumber", $this->_propDict)) { + return $this->_propDict["tollFreeNumber"]; + } else { + return null; + } + } + + /** + * Sets the tollFreeNumber + * + * @param string $val The value of the tollFreeNumber + * + * @return AudioConferencing + */ + public function setTollFreeNumber($val) + { + $this->_propDict["tollFreeNumber"] = $val; + return $this; + } + /** + * Gets the tollFreeNumbers + * List of toll-free numbers that are displayed in the meeting invite. + * + * @return string|null The tollFreeNumbers + */ + public function getTollFreeNumbers() + { + if (array_key_exists("tollFreeNumbers", $this->_propDict)) { + return $this->_propDict["tollFreeNumbers"]; + } else { + return null; + } + } + + /** + * Sets the tollFreeNumbers + * List of toll-free numbers that are displayed in the meeting invite. + * + * @param string $val The value of the tollFreeNumbers + * + * @return AudioConferencing + */ + public function setTollFreeNumbers($val) + { + $this->_propDict["tollFreeNumbers"] = $val; + return $this; + } + /** + * Gets the tollNumber + * + * @return string|null The tollNumber + */ + public function getTollNumber() + { + if (array_key_exists("tollNumber", $this->_propDict)) { + return $this->_propDict["tollNumber"]; + } else { + return null; + } + } + + /** + * Sets the tollNumber + * + * @param string $val The value of the tollNumber + * + * @return AudioConferencing + */ + public function setTollNumber($val) + { + $this->_propDict["tollNumber"] = $val; + return $this; + } + /** + * Gets the tollNumbers + * List of toll numbers that are displayed in the meeting invite. + * + * @return string|null The tollNumbers + */ + public function getTollNumbers() + { + if (array_key_exists("tollNumbers", $this->_propDict)) { + return $this->_propDict["tollNumbers"]; + } else { + return null; + } + } + + /** + * Sets the tollNumbers + * List of toll numbers that are displayed in the meeting invite. + * + * @param string $val The value of the tollNumbers + * + * @return AudioConferencing + */ + public function setTollNumbers($val) + { + $this->_propDict["tollNumbers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AudioRoutingGroup.php b/vendor/microsoft/microsoft-graph/src/Model/AudioRoutingGroup.php new file mode 100644 index 0000000..3309bcc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AudioRoutingGroup.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["receivers"]; + } else { + return null; + } + } + + /** + * Sets the receivers + * List of receiving participant ids. + * + * @param string $val The receivers + * + * @return AudioRoutingGroup + */ + public function setReceivers($val) + { + $this->_propDict["receivers"] = $val; + return $this; + } + + /** + * Gets the routingMode + * Routing group mode. Possible values are: oneToOne, multicast. + * + * @return RoutingMode|null The routingMode + */ + public function getRoutingMode() + { + if (array_key_exists("routingMode", $this->_propDict)) { + if (is_a($this->_propDict["routingMode"], "\Microsoft\Graph\Model\RoutingMode") || is_null($this->_propDict["routingMode"])) { + return $this->_propDict["routingMode"]; + } else { + $this->_propDict["routingMode"] = new RoutingMode($this->_propDict["routingMode"]); + return $this->_propDict["routingMode"]; + } + } + return null; + } + + /** + * Sets the routingMode + * Routing group mode. Possible values are: oneToOne, multicast. + * + * @param RoutingMode $val The routingMode + * + * @return AudioRoutingGroup + */ + public function setRoutingMode($val) + { + $this->_propDict["routingMode"] = $val; + return $this; + } + + /** + * Gets the sources + * List of source participant ids. + * + * @return string|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + return $this->_propDict["sources"]; + } else { + return null; + } + } + + /** + * Sets the sources + * List of source participant ids. + * + * @param string $val The sources + * + * @return AudioRoutingGroup + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php b/vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php new file mode 100644 index 0000000..fb3f0de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["app"], "\Microsoft\Graph\Model\AppIdentity") || is_null($this->_propDict["app"])) { + return $this->_propDict["app"]; + } else { + $this->_propDict["app"] = new AppIdentity($this->_propDict["app"]); + return $this->_propDict["app"]; + } + } + return null; + } + + /** + * Sets the app + * If the actor initiating the activity is an app, this property indicates all its identification information including appId, displayName, servicePrincipalId, and servicePrincipalName. + * + * @param AppIdentity $val The value to assign to the app + * + * @return AuditActivityInitiator The AuditActivityInitiator + */ + public function setApp($val) + { + $this->_propDict["app"] = $val; + return $this; + } + + /** + * Gets the user + * If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + * + * @return UserIdentity|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new UserIdentity($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + * + * @param UserIdentity $val The value to assign to the user + * + * @return AuditActivityInitiator The AuditActivityInitiator + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuditLogRoot.php b/vendor/microsoft/microsoft-graph/src/Model/AuditLogRoot.php new file mode 100644 index 0000000..b0bf6bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuditLogRoot.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["directoryAudits"]; + } else { + return null; + } + } + + /** + * Sets the directoryAudits + * Read-only. Nullable. + * + * @param DirectoryAudit[] $val The directoryAudits + * + * @return AuditLogRoot + */ + public function setDirectoryAudits($val) + { + $this->_propDict["directoryAudits"] = $val; + return $this; + } + + + /** + * Gets the provisioning + * + * @return array|null The provisioning + */ + public function getProvisioning() + { + if (array_key_exists("provisioning", $this->_propDict)) { + return $this->_propDict["provisioning"]; + } else { + return null; + } + } + + /** + * Sets the provisioning + * + * @param ProvisioningObjectSummary[] $val The provisioning + * + * @return AuditLogRoot + */ + public function setProvisioning($val) + { + $this->_propDict["provisioning"] = $val; + return $this; + } + + + /** + * Gets the restrictedSignIns + * + * @return array|null The restrictedSignIns + */ + public function getRestrictedSignIns() + { + if (array_key_exists("restrictedSignIns", $this->_propDict)) { + return $this->_propDict["restrictedSignIns"]; + } else { + return null; + } + } + + /** + * Sets the restrictedSignIns + * + * @param RestrictedSignIn[] $val The restrictedSignIns + * + * @return AuditLogRoot + */ + public function setRestrictedSignIns($val) + { + $this->_propDict["restrictedSignIns"] = $val; + return $this; + } + + + /** + * Gets the signIns + * Read-only. Nullable. + * + * @return array|null The signIns + */ + public function getSignIns() + { + if (array_key_exists("signIns", $this->_propDict)) { + return $this->_propDict["signIns"]; + } else { + return null; + } + } + + /** + * Sets the signIns + * Read-only. Nullable. + * + * @param SignIn[] $val The signIns + * + * @return AuditLogRoot + */ + public function setSignIns($val) + { + $this->_propDict["signIns"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Authentication.php b/vendor/microsoft/microsoft-graph/src/Model/Authentication.php new file mode 100644 index 0000000..8aeb133 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Authentication.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["fido2Methods"]; + } else { + return null; + } + } + + /** + * Sets the fido2Methods + * Represents the FIDO2 security keys registered to a user for authentication. + * + * @param Fido2AuthenticationMethod[] $val The fido2Methods + * + * @return Authentication + */ + public function setFido2Methods($val) + { + $this->_propDict["fido2Methods"] = $val; + return $this; + } + + + /** + * Gets the methods + * Represents all authentication methods registered to a user. + * + * @return array|null The methods + */ + public function getMethods() + { + if (array_key_exists("methods", $this->_propDict)) { + return $this->_propDict["methods"]; + } else { + return null; + } + } + + /** + * Sets the methods + * Represents all authentication methods registered to a user. + * + * @param AuthenticationMethod[] $val The methods + * + * @return Authentication + */ + public function setMethods($val) + { + $this->_propDict["methods"] = $val; + return $this; + } + + + /** + * Gets the microsoftAuthenticatorMethods + * The details of the Microsoft Authenticator app registered to a user for authentication. + * + * @return array|null The microsoftAuthenticatorMethods + */ + public function getMicrosoftAuthenticatorMethods() + { + if (array_key_exists("microsoftAuthenticatorMethods", $this->_propDict)) { + return $this->_propDict["microsoftAuthenticatorMethods"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAuthenticatorMethods + * The details of the Microsoft Authenticator app registered to a user for authentication. + * + * @param MicrosoftAuthenticatorAuthenticationMethod[] $val The microsoftAuthenticatorMethods + * + * @return Authentication + */ + public function setMicrosoftAuthenticatorMethods($val) + { + $this->_propDict["microsoftAuthenticatorMethods"] = $val; + return $this; + } + + + /** + * Gets the windowsHelloForBusinessMethods + * Represents the Windows Hello for Business authentication method registered to a user for authentication. + * + * @return array|null The windowsHelloForBusinessMethods + */ + public function getWindowsHelloForBusinessMethods() + { + if (array_key_exists("windowsHelloForBusinessMethods", $this->_propDict)) { + return $this->_propDict["windowsHelloForBusinessMethods"]; + } else { + return null; + } + } + + /** + * Sets the windowsHelloForBusinessMethods + * Represents the Windows Hello for Business authentication method registered to a user for authentication. + * + * @param WindowsHelloForBusinessAuthenticationMethod[] $val The windowsHelloForBusinessMethods + * + * @return Authentication + */ + public function setWindowsHelloForBusinessMethods($val) + { + $this->_propDict["windowsHelloForBusinessMethods"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationFlowsPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationFlowsPolicy.php new file mode 100644 index 0000000..b628edd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationFlowsPolicy.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Inherited property. A description of the policy. This property is not a key. Optional. Read-only. + * + * @param string $val The description + * + * @return AuthenticationFlowsPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Inherited property. The human-readable name of the policy. This property is not a key. Optional. Read-only. + * + * @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 + * Inherited property. The human-readable name of the policy. This property is not a key. Optional. Read-only. + * + * @param string $val The displayName + * + * @return AuthenticationFlowsPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the selfServiceSignUp + * Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property is not a key. Optional. Read-only. + * + * @return SelfServiceSignUpAuthenticationFlowConfiguration|null The selfServiceSignUp + */ + public function getSelfServiceSignUp() + { + if (array_key_exists("selfServiceSignUp", $this->_propDict)) { + if (is_a($this->_propDict["selfServiceSignUp"], "\Microsoft\Graph\Model\SelfServiceSignUpAuthenticationFlowConfiguration") || is_null($this->_propDict["selfServiceSignUp"])) { + return $this->_propDict["selfServiceSignUp"]; + } else { + $this->_propDict["selfServiceSignUp"] = new SelfServiceSignUpAuthenticationFlowConfiguration($this->_propDict["selfServiceSignUp"]); + return $this->_propDict["selfServiceSignUp"]; + } + } + return null; + } + + /** + * Sets the selfServiceSignUp + * Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property is not a key. Optional. Read-only. + * + * @param SelfServiceSignUpAuthenticationFlowConfiguration $val The selfServiceSignUp + * + * @return AuthenticationFlowsPolicy + */ + public function setSelfServiceSignUp($val) + { + $this->_propDict["selfServiceSignUp"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethod.php new file mode 100644 index 0000000..f274317 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethod.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AuthenticationMethodState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AuthenticationMethodState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of the policy. Possible values are: enabled, disabled. + * + * @param AuthenticationMethodState $val The state + * + * @return AuthenticationMethodConfiguration + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodKeyStrength.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodKeyStrength.php new file mode 100644 index 0000000..49eb651 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodKeyStrength.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["isRegistrationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRegistrationRequired + * Determines if the user is enforced to register the authentication method. + * + * @param bool $val The isRegistrationRequired + * + * @return AuthenticationMethodTarget + */ + public function setIsRegistrationRequired($val) + { + $this->_propDict["isRegistrationRequired"] = boolval($val); + return $this; + } + + /** + * Gets the targetType + * Possible values are: user, group, and unknownFutureValue. + * + * @return AuthenticationMethodTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * Possible values are: user, group, and unknownFutureValue. + * + * @param AuthenticationMethodTargetType $val The targetType + * + * @return AuthenticationMethodTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodTargetType.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodTargetType.php new file mode 100644 index 0000000..55790fe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodTargetType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description of the policy. + * + * @param string $val The description + * + * @return AuthenticationMethodsPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the policy. + * + * @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 + * The name of the policy. + * + * @param string $val The displayName + * + * @return AuthenticationMethodsPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time of the last update to the policy. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time of the last update to the policy. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return AuthenticationMethodsPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the policyVersion + * The version of the policy in use. + * + * @return string|null The policyVersion + */ + public function getPolicyVersion() + { + if (array_key_exists("policyVersion", $this->_propDict)) { + return $this->_propDict["policyVersion"]; + } else { + return null; + } + } + + /** + * Sets the policyVersion + * The version of the policy in use. + * + * @param string $val The policyVersion + * + * @return AuthenticationMethodsPolicy + */ + public function setPolicyVersion($val) + { + $this->_propDict["policyVersion"] = $val; + return $this; + } + + /** + * Gets the reconfirmationInDays + * + * @return int|null The reconfirmationInDays + */ + public function getReconfirmationInDays() + { + if (array_key_exists("reconfirmationInDays", $this->_propDict)) { + return $this->_propDict["reconfirmationInDays"]; + } else { + return null; + } + } + + /** + * Sets the reconfirmationInDays + * + * @param int $val The reconfirmationInDays + * + * @return AuthenticationMethodsPolicy + */ + public function setReconfirmationInDays($val) + { + $this->_propDict["reconfirmationInDays"] = intval($val); + return $this; + } + + /** + * Gets the registrationEnforcement + * Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods. + * + * @return RegistrationEnforcement|null The registrationEnforcement + */ + public function getRegistrationEnforcement() + { + if (array_key_exists("registrationEnforcement", $this->_propDict)) { + if (is_a($this->_propDict["registrationEnforcement"], "\Microsoft\Graph\Model\RegistrationEnforcement") || is_null($this->_propDict["registrationEnforcement"])) { + return $this->_propDict["registrationEnforcement"]; + } else { + $this->_propDict["registrationEnforcement"] = new RegistrationEnforcement($this->_propDict["registrationEnforcement"]); + return $this->_propDict["registrationEnforcement"]; + } + } + return null; + } + + /** + * Sets the registrationEnforcement + * Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods. + * + * @param RegistrationEnforcement $val The registrationEnforcement + * + * @return AuthenticationMethodsPolicy + */ + public function setRegistrationEnforcement($val) + { + $this->_propDict["registrationEnforcement"] = $val; + return $this; + } + + + /** + * Gets the authenticationMethodConfigurations + * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * + * @return array|null The authenticationMethodConfigurations + */ + public function getAuthenticationMethodConfigurations() + { + if (array_key_exists("authenticationMethodConfigurations", $this->_propDict)) { + return $this->_propDict["authenticationMethodConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the authenticationMethodConfigurations + * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * + * @param AuthenticationMethodConfiguration[] $val The authenticationMethodConfigurations + * + * @return AuthenticationMethodsPolicy + */ + public function setAuthenticationMethodConfigurations($val) + { + $this->_propDict["authenticationMethodConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodsRegistrationCampaign.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodsRegistrationCampaign.php new file mode 100644 index 0000000..22983c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodsRegistrationCampaign.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["excludeTargets"], "\Microsoft\Graph\Model\ExcludeTarget") || is_null($this->_propDict["excludeTargets"])) { + return $this->_propDict["excludeTargets"]; + } else { + $this->_propDict["excludeTargets"] = new ExcludeTarget($this->_propDict["excludeTargets"]); + return $this->_propDict["excludeTargets"]; + } + } + return null; + } + + /** + * Sets the excludeTargets + * Users and groups of users that are excluded from being prompted to set up the authentication method. + * + * @param ExcludeTarget $val The value to assign to the excludeTargets + * + * @return AuthenticationMethodsRegistrationCampaign The AuthenticationMethodsRegistrationCampaign + */ + public function setExcludeTargets($val) + { + $this->_propDict["excludeTargets"] = $val; + return $this; + } + + /** + * Gets the includeTargets + * Users and groups of users that are prompted to set up the authentication method. + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + if (is_a($this->_propDict["includeTargets"], "\Microsoft\Graph\Model\AuthenticationMethodsRegistrationCampaignIncludeTarget") || is_null($this->_propDict["includeTargets"])) { + return $this->_propDict["includeTargets"]; + } else { + $this->_propDict["includeTargets"] = new AuthenticationMethodsRegistrationCampaignIncludeTarget($this->_propDict["includeTargets"]); + return $this->_propDict["includeTargets"]; + } + } + return null; + } + + /** + * Sets the includeTargets + * Users and groups of users that are prompted to set up the authentication method. + * + * @param AuthenticationMethodsRegistrationCampaignIncludeTarget $val The value to assign to the includeTargets + * + * @return AuthenticationMethodsRegistrationCampaign The AuthenticationMethodsRegistrationCampaign + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + /** + * Gets the snoozeDurationInDays + * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + * + * @return int|null The snoozeDurationInDays + */ + public function getSnoozeDurationInDays() + { + if (array_key_exists("snoozeDurationInDays", $this->_propDict)) { + return $this->_propDict["snoozeDurationInDays"]; + } else { + return null; + } + } + + /** + * Sets the snoozeDurationInDays + * Specifies the number of days that the user sees a prompt again if they select 'Not now' and snoozes the prompt. Minimum 0 days. Maximum: 14 days. If the value is '0' – The user is prompted during every MFA attempt. + * + * @param int $val The value of the snoozeDurationInDays + * + * @return AuthenticationMethodsRegistrationCampaign + */ + public function setSnoozeDurationInDays($val) + { + $this->_propDict["snoozeDurationInDays"] = $val; + return $this; + } + + /** + * Gets the state + * Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled. + * + * @return AdvancedConfigState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new AdvancedConfigState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled. + * + * @param AdvancedConfigState $val The value to assign to the state + * + * @return AuthenticationMethodsRegistrationCampaign The AuthenticationMethodsRegistrationCampaign + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodsRegistrationCampaignIncludeTarget.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodsRegistrationCampaignIncludeTarget.php new file mode 100644 index 0000000..9cd388c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodsRegistrationCampaignIncludeTarget.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The object identifier of an Azure AD user or group. + * + * @param string $val The value of the id + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the targetedAuthenticationMethod + * The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. + * + * @return string|null The targetedAuthenticationMethod + */ + public function getTargetedAuthenticationMethod() + { + if (array_key_exists("targetedAuthenticationMethod", $this->_propDict)) { + return $this->_propDict["targetedAuthenticationMethod"]; + } else { + return null; + } + } + + /** + * Sets the targetedAuthenticationMethod + * The authentication method that the user is prompted to register. The value must be microsoftAuthenticator. + * + * @param string $val The value of the targetedAuthenticationMethod + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget + */ + public function setTargetedAuthenticationMethod($val) + { + $this->_propDict["targetedAuthenticationMethod"] = $val; + return $this; + } + + /** + * Gets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @return AuthenticationMethodTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @param AuthenticationMethodTargetType $val The value to assign to the targetType + * + * @return AuthenticationMethodsRegistrationCampaignIncludeTarget The AuthenticationMethodsRegistrationCampaignIncludeTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationProtocol.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationProtocol.php new file mode 100644 index 0000000..43c3cc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationProtocol.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["author"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["author"])) { + return $this->_propDict["author"]; + } else { + $this->_propDict["author"] = new Identity($this->_propDict["author"]); + return $this->_propDict["author"]; + } + } + return null; + } + + /** + * Sets the author + * Identity information about the note's author. + * + * @param Identity $val The author + * + * @return AuthoredNote + */ + public function setAuthor($val) + { + $this->_propDict["author"] = $val; + return $this; + } + + /** + * Gets the content + * The content of the note. + * + * @return ItemBody|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = new ItemBody($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content of the note. + * + * @param ItemBody $val The content + * + * @return AuthoredNote + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the entity was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the entity was created. 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 createdDateTime + * + * @return AuthoredNote + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuthorizationPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/AuthorizationPolicy.php new file mode 100644 index 0000000..616351c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AuthorizationPolicy.php @@ -0,0 +1,238 @@ +_propDict)) { + return $this->_propDict["allowedToSignUpEmailBasedSubscriptions"]; + } else { + return null; + } + } + + /** + * Sets the allowedToSignUpEmailBasedSubscriptions + * Indicates whether users can sign up for email based subscriptions. + * + * @param bool $val The allowedToSignUpEmailBasedSubscriptions + * + * @return AuthorizationPolicy + */ + public function setAllowedToSignUpEmailBasedSubscriptions($val) + { + $this->_propDict["allowedToSignUpEmailBasedSubscriptions"] = boolval($val); + return $this; + } + + /** + * Gets the allowedToUseSSPR + * Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant. + * + * @return bool|null The allowedToUseSSPR + */ + public function getAllowedToUseSSPR() + { + if (array_key_exists("allowedToUseSSPR", $this->_propDict)) { + return $this->_propDict["allowedToUseSSPR"]; + } else { + return null; + } + } + + /** + * Sets the allowedToUseSSPR + * Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant. + * + * @param bool $val The allowedToUseSSPR + * + * @return AuthorizationPolicy + */ + public function setAllowedToUseSSPR($val) + { + $this->_propDict["allowedToUseSSPR"] = boolval($val); + return $this; + } + + /** + * Gets the allowEmailVerifiedUsersToJoinOrganization + * Indicates whether a user can join the tenant by email validation. + * + * @return bool|null The allowEmailVerifiedUsersToJoinOrganization + */ + public function getAllowEmailVerifiedUsersToJoinOrganization() + { + if (array_key_exists("allowEmailVerifiedUsersToJoinOrganization", $this->_propDict)) { + return $this->_propDict["allowEmailVerifiedUsersToJoinOrganization"]; + } else { + return null; + } + } + + /** + * Sets the allowEmailVerifiedUsersToJoinOrganization + * Indicates whether a user can join the tenant by email validation. + * + * @param bool $val The allowEmailVerifiedUsersToJoinOrganization + * + * @return AuthorizationPolicy + */ + public function setAllowEmailVerifiedUsersToJoinOrganization($val) + { + $this->_propDict["allowEmailVerifiedUsersToJoinOrganization"] = boolval($val); + return $this; + } + + /** + * Gets the allowInvitesFrom + * Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below. + * + * @return AllowInvitesFrom|null The allowInvitesFrom + */ + public function getAllowInvitesFrom() + { + if (array_key_exists("allowInvitesFrom", $this->_propDict)) { + if (is_a($this->_propDict["allowInvitesFrom"], "\Microsoft\Graph\Model\AllowInvitesFrom") || is_null($this->_propDict["allowInvitesFrom"])) { + return $this->_propDict["allowInvitesFrom"]; + } else { + $this->_propDict["allowInvitesFrom"] = new AllowInvitesFrom($this->_propDict["allowInvitesFrom"]); + return $this->_propDict["allowInvitesFrom"]; + } + } + return null; + } + + /** + * Sets the allowInvitesFrom + * Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below. + * + * @param AllowInvitesFrom $val The allowInvitesFrom + * + * @return AuthorizationPolicy + */ + public function setAllowInvitesFrom($val) + { + $this->_propDict["allowInvitesFrom"] = $val; + return $this; + } + + /** + * Gets the blockMsolPowerShell + * To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph. + * + * @return bool|null The blockMsolPowerShell + */ + public function getBlockMsolPowerShell() + { + if (array_key_exists("blockMsolPowerShell", $this->_propDict)) { + return $this->_propDict["blockMsolPowerShell"]; + } else { + return null; + } + } + + /** + * Sets the blockMsolPowerShell + * To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph. + * + * @param bool $val The blockMsolPowerShell + * + * @return AuthorizationPolicy + */ + public function setBlockMsolPowerShell($val) + { + $this->_propDict["blockMsolPowerShell"] = boolval($val); + return $this; + } + + /** + * Gets the defaultUserRolePermissions + * Specifies certain customizable permissions for default user role. + * + * @return DefaultUserRolePermissions|null The defaultUserRolePermissions + */ + public function getDefaultUserRolePermissions() + { + if (array_key_exists("defaultUserRolePermissions", $this->_propDict)) { + if (is_a($this->_propDict["defaultUserRolePermissions"], "\Microsoft\Graph\Model\DefaultUserRolePermissions") || is_null($this->_propDict["defaultUserRolePermissions"])) { + return $this->_propDict["defaultUserRolePermissions"]; + } else { + $this->_propDict["defaultUserRolePermissions"] = new DefaultUserRolePermissions($this->_propDict["defaultUserRolePermissions"]); + return $this->_propDict["defaultUserRolePermissions"]; + } + } + return null; + } + + /** + * Sets the defaultUserRolePermissions + * Specifies certain customizable permissions for default user role. + * + * @param DefaultUserRolePermissions $val The defaultUserRolePermissions + * + * @return AuthorizationPolicy + */ + public function setDefaultUserRolePermissions($val) + { + $this->_propDict["defaultUserRolePermissions"] = $val; + return $this; + } + + /** + * Gets the guestUserRoleId + * Represents role templateId for the role that should be granted to guest user. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). + * + * @return string|null The guestUserRoleId + */ + public function getGuestUserRoleId() + { + if (array_key_exists("guestUserRoleId", $this->_propDict)) { + return $this->_propDict["guestUserRoleId"]; + } else { + return null; + } + } + + /** + * Sets the guestUserRoleId + * Represents role templateId for the role that should be granted to guest user. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). + * + * @param string $val The guestUserRoleId + * + * @return AuthorizationPolicy + */ + public function setGuestUserRoleId($val) + { + $this->_propDict["guestUserRoleId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php new file mode 100644 index 0000000..3688aac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The automatic reply message. + * + * @param string $val The value of the message + * + * @return AutomaticRepliesMailTips + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the messageLanguage + * The language that the automatic reply message is in. + * + * @return LocaleInfo|null The messageLanguage + */ + public function getMessageLanguage() + { + if (array_key_exists("messageLanguage", $this->_propDict)) { + if (is_a($this->_propDict["messageLanguage"], "\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["messageLanguage"])) { + return $this->_propDict["messageLanguage"]; + } else { + $this->_propDict["messageLanguage"] = new LocaleInfo($this->_propDict["messageLanguage"]); + return $this->_propDict["messageLanguage"]; + } + } + return null; + } + + /** + * Sets the messageLanguage + * The language that the automatic reply message is in. + * + * @param LocaleInfo $val The value to assign to the messageLanguage + * + * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips + */ + public function setMessageLanguage($val) + { + $this->_propDict["messageLanguage"] = $val; + return $this; + } + + /** + * Gets the scheduledEndTime + * The date and time that automatic replies are set to end. + * + * @return DateTimeTimeZone|null The scheduledEndTime + */ + public function getScheduledEndTime() + { + if (array_key_exists("scheduledEndTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledEndTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledEndTime"])) { + return $this->_propDict["scheduledEndTime"]; + } else { + $this->_propDict["scheduledEndTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndTime"]); + return $this->_propDict["scheduledEndTime"]; + } + } + return null; + } + + /** + * Sets the scheduledEndTime + * The date and time that automatic replies are set to end. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledEndTime + * + * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips + */ + public function setScheduledEndTime($val) + { + $this->_propDict["scheduledEndTime"] = $val; + return $this; + } + + /** + * Gets the scheduledStartTime + * The date and time that automatic replies are set to begin. + * + * @return DateTimeTimeZone|null The scheduledStartTime + */ + public function getScheduledStartTime() + { + if (array_key_exists("scheduledStartTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledStartTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledStartTime"])) { + return $this->_propDict["scheduledStartTime"]; + } else { + $this->_propDict["scheduledStartTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartTime"]); + return $this->_propDict["scheduledStartTime"]; + } + } + return null; + } + + /** + * Sets the scheduledStartTime + * The date and time that automatic replies are set to begin. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledStartTime + * + * @return AutomaticRepliesMailTips The AutomaticRepliesMailTips + */ + public function setScheduledStartTime($val) + { + $this->_propDict["scheduledStartTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesSetting.php b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesSetting.php new file mode 100644 index 0000000..01711eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesSetting.php @@ -0,0 +1,214 @@ +_propDict)) { + if (is_a($this->_propDict["externalAudience"], "\Microsoft\Graph\Model\ExternalAudienceScope") || is_null($this->_propDict["externalAudience"])) { + return $this->_propDict["externalAudience"]; + } else { + $this->_propDict["externalAudience"] = new ExternalAudienceScope($this->_propDict["externalAudience"]); + return $this->_propDict["externalAudience"]; + } + } + return null; + } + + /** + * Sets the externalAudience + * The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. Possible values are: none, contactsOnly, all. + * + * @param ExternalAudienceScope $val The value to assign to the externalAudience + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setExternalAudience($val) + { + $this->_propDict["externalAudience"] = $val; + return $this; + } + /** + * Gets the externalReplyMessage + * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. + * + * @return string|null The externalReplyMessage + */ + public function getExternalReplyMessage() + { + if (array_key_exists("externalReplyMessage", $this->_propDict)) { + return $this->_propDict["externalReplyMessage"]; + } else { + return null; + } + } + + /** + * Sets the externalReplyMessage + * The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled. + * + * @param string $val The value of the externalReplyMessage + * + * @return AutomaticRepliesSetting + */ + public function setExternalReplyMessage($val) + { + $this->_propDict["externalReplyMessage"] = $val; + return $this; + } + /** + * Gets the internalReplyMessage + * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + * + * @return string|null The internalReplyMessage + */ + public function getInternalReplyMessage() + { + if (array_key_exists("internalReplyMessage", $this->_propDict)) { + return $this->_propDict["internalReplyMessage"]; + } else { + return null; + } + } + + /** + * Sets the internalReplyMessage + * The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled. + * + * @param string $val The value of the internalReplyMessage + * + * @return AutomaticRepliesSetting + */ + public function setInternalReplyMessage($val) + { + $this->_propDict["internalReplyMessage"] = $val; + return $this; + } + + /** + * Gets the scheduledEndDateTime + * The date and time that automatic replies are set to end, if Status is set to Scheduled. + * + * @return DateTimeTimeZone|null The scheduledEndDateTime + */ + public function getScheduledEndDateTime() + { + if (array_key_exists("scheduledEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledEndDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledEndDateTime"])) { + return $this->_propDict["scheduledEndDateTime"]; + } else { + $this->_propDict["scheduledEndDateTime"] = new DateTimeTimeZone($this->_propDict["scheduledEndDateTime"]); + return $this->_propDict["scheduledEndDateTime"]; + } + } + return null; + } + + /** + * Sets the scheduledEndDateTime + * The date and time that automatic replies are set to end, if Status is set to Scheduled. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledEndDateTime + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setScheduledEndDateTime($val) + { + $this->_propDict["scheduledEndDateTime"] = $val; + return $this; + } + + /** + * Gets the scheduledStartDateTime + * The date and time that automatic replies are set to begin, if Status is set to Scheduled. + * + * @return DateTimeTimeZone|null The scheduledStartDateTime + */ + public function getScheduledStartDateTime() + { + if (array_key_exists("scheduledStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledStartDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["scheduledStartDateTime"])) { + return $this->_propDict["scheduledStartDateTime"]; + } else { + $this->_propDict["scheduledStartDateTime"] = new DateTimeTimeZone($this->_propDict["scheduledStartDateTime"]); + return $this->_propDict["scheduledStartDateTime"]; + } + } + return null; + } + + /** + * Sets the scheduledStartDateTime + * The date and time that automatic replies are set to begin, if Status is set to Scheduled. + * + * @param DateTimeTimeZone $val The value to assign to the scheduledStartDateTime + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setScheduledStartDateTime($val) + { + $this->_propDict["scheduledStartDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Configurations status for automatic replies. Possible values are: disabled, alwaysEnabled, scheduled. + * + * @return AutomaticRepliesStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AutomaticRepliesStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new AutomaticRepliesStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Configurations status for automatic replies. Possible values are: disabled, alwaysEnabled, scheduled. + * + * @param AutomaticRepliesStatus $val The value to assign to the status + * + * @return AutomaticRepliesSetting The AutomaticRepliesSetting + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesStatus.php b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesStatus.php new file mode 100644 index 0000000..a081560 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["averageScore"]; + } else { + return null; + } + } + + /** + * Sets the averageScore + * Average score within specified basis. + * + * @param float $val The value of the averageScore + * + * @return AverageComparativeScore + */ + public function setAverageScore($val) + { + $this->_propDict["averageScore"] = $val; + return $this; + } + /** + * Gets the basis + * Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes. + * + * @return string|null The basis + */ + public function getBasis() + { + if (array_key_exists("basis", $this->_propDict)) { + return $this->_propDict["basis"]; + } else { + return null; + } + } + + /** + * Sets the basis + * Scope type. The possible values are: AllTenants, TotalSeats, IndustryTypes. + * + * @param string $val The value of the basis + * + * @return AverageComparativeScore + */ + public function setBasis($val) + { + $this->_propDict["basis"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AzureActiveDirectoryTenant.php b/vendor/microsoft/microsoft-graph/src/Model/AzureActiveDirectoryTenant.php new file mode 100644 index 0000000..9309166 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/AzureActiveDirectoryTenant.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.azureActiveDirectoryTenant"); + } + + /** + * Gets the displayName + * The name of the Azure Active Directory tenant. Read only. + * + * @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 + * The name of the Azure Active Directory tenant. Read only. + * + * @param string $val The value of the displayName + * + * @return AzureActiveDirectoryTenant + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the tenantId + * The ID of the Azure Active Directory tenant. Read only. + * + * @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 + * The ID of the Azure Active Directory tenant. Read only. + * + * @param string $val The value of the tenantId + * + * @return AzureActiveDirectoryTenant + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/B2xIdentityUserFlow.php b/vendor/microsoft/microsoft-graph/src/Model/B2xIdentityUserFlow.php new file mode 100644 index 0000000..298fd12 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/B2xIdentityUserFlow.php @@ -0,0 +1,178 @@ +_propDict)) { + if (is_a($this->_propDict["apiConnectorConfiguration"], "\Microsoft\Graph\Model\UserFlowApiConnectorConfiguration") || is_null($this->_propDict["apiConnectorConfiguration"])) { + return $this->_propDict["apiConnectorConfiguration"]; + } else { + $this->_propDict["apiConnectorConfiguration"] = new UserFlowApiConnectorConfiguration($this->_propDict["apiConnectorConfiguration"]); + return $this->_propDict["apiConnectorConfiguration"]; + } + } + return null; + } + + /** + * Sets the apiConnectorConfiguration + * Configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. + * + * @param UserFlowApiConnectorConfiguration $val The apiConnectorConfiguration + * + * @return B2xIdentityUserFlow + */ + public function setApiConnectorConfiguration($val) + { + $this->_propDict["apiConnectorConfiguration"] = $val; + return $this; + } + + + /** + * Gets the identityProviders + * The identity providers included in the user flow. + * + * @return array|null The identityProviders + */ + public function getIdentityProviders() + { + if (array_key_exists("identityProviders", $this->_propDict)) { + return $this->_propDict["identityProviders"]; + } else { + return null; + } + } + + /** + * Sets the identityProviders + * The identity providers included in the user flow. + * + * @param IdentityProvider[] $val The identityProviders + * + * @return B2xIdentityUserFlow + */ + public function setIdentityProviders($val) + { + $this->_propDict["identityProviders"] = $val; + return $this; + } + + + /** + * Gets the languages + * The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. + * + * @return array|null The languages + */ + public function getLanguages() + { + if (array_key_exists("languages", $this->_propDict)) { + return $this->_propDict["languages"]; + } else { + return null; + } + } + + /** + * Sets the languages + * The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. + * + * @param UserFlowLanguageConfiguration[] $val The languages + * + * @return B2xIdentityUserFlow + */ + public function setLanguages($val) + { + $this->_propDict["languages"] = $val; + return $this; + } + + + /** + * Gets the userAttributeAssignments + * The user attribute assignments included in the user flow. + * + * @return array|null The userAttributeAssignments + */ + public function getUserAttributeAssignments() + { + if (array_key_exists("userAttributeAssignments", $this->_propDict)) { + return $this->_propDict["userAttributeAssignments"]; + } else { + return null; + } + } + + /** + * Sets the userAttributeAssignments + * The user attribute assignments included in the user flow. + * + * @param IdentityUserFlowAttributeAssignment[] $val The userAttributeAssignments + * + * @return B2xIdentityUserFlow + */ + public function setUserAttributeAssignments($val) + { + $this->_propDict["userAttributeAssignments"] = $val; + return $this; + } + + + /** + * Gets the userFlowIdentityProviders + * + * @return array|null The userFlowIdentityProviders + */ + public function getUserFlowIdentityProviders() + { + if (array_key_exists("userFlowIdentityProviders", $this->_propDict)) { + return $this->_propDict["userFlowIdentityProviders"]; + } else { + return null; + } + } + + /** + * Sets the userFlowIdentityProviders + * + * @param IdentityProviderBase[] $val The userFlowIdentityProviders + * + * @return B2xIdentityUserFlow + */ + public function setUserFlowIdentityProviders($val) + { + $this->_propDict["userFlowIdentityProviders"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BaseItem.php b/vendor/microsoft/microsoft-graph/src/Model/BaseItem.php new file mode 100644 index 0000000..43f1258 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BaseItem.php @@ -0,0 +1,374 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user, device, or application which created the item. Read-only. + * + * @param IdentitySet $val The createdBy + * + * @return BaseItem + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of item creation. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of item creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return BaseItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Provides a user-visible description of the item. Optional. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Provides a user-visible description of the item. Optional. + * + * @param string $val The description + * + * @return BaseItem + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the eTag + * ETag for the item. Read-only. + * + * @return string|null The eTag + */ + public function getETag() + { + if (array_key_exists("eTag", $this->_propDict)) { + return $this->_propDict["eTag"]; + } else { + return null; + } + } + + /** + * Sets the eTag + * ETag for the item. Read-only. + * + * @param string $val The eTag + * + * @return BaseItem + */ + public function setETag($val) + { + $this->_propDict["eTag"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return BaseItem + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return BaseItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * The name of the item. Read-write. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item. Read-write. + * + * @param string $val The name + * + * @return BaseItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parentReference + * Parent information, if the item has a parent. Read-write. + * + * @return ItemReference|null The parentReference + */ + public function getParentReference() + { + if (array_key_exists("parentReference", $this->_propDict)) { + if (is_a($this->_propDict["parentReference"], "\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["parentReference"])) { + return $this->_propDict["parentReference"]; + } else { + $this->_propDict["parentReference"] = new ItemReference($this->_propDict["parentReference"]); + return $this->_propDict["parentReference"]; + } + } + return null; + } + + /** + * Sets the parentReference + * Parent information, if the item has a parent. Read-write. + * + * @param ItemReference $val The parentReference + * + * @return BaseItem + */ + public function setParentReference($val) + { + $this->_propDict["parentReference"] = $val; + return $this; + } + + /** + * Gets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @param string $val The webUrl + * + * @return BaseItem + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the createdByUser + * Identity of the user who created the item. Read-only. + * + * @return User|null The createdByUser + */ + public function getCreatedByUser() + { + if (array_key_exists("createdByUser", $this->_propDict)) { + if (is_a($this->_propDict["createdByUser"], "\Microsoft\Graph\Model\User") || is_null($this->_propDict["createdByUser"])) { + return $this->_propDict["createdByUser"]; + } else { + $this->_propDict["createdByUser"] = new User($this->_propDict["createdByUser"]); + return $this->_propDict["createdByUser"]; + } + } + return null; + } + + /** + * Sets the createdByUser + * Identity of the user who created the item. Read-only. + * + * @param User $val The createdByUser + * + * @return BaseItem + */ + public function setCreatedByUser($val) + { + $this->_propDict["createdByUser"] = $val; + return $this; + } + + /** + * Gets the lastModifiedByUser + * Identity of the user who last modified the item. Read-only. + * + * @return User|null The lastModifiedByUser + */ + public function getLastModifiedByUser() + { + if (array_key_exists("lastModifiedByUser", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedByUser"], "\Microsoft\Graph\Model\User") || is_null($this->_propDict["lastModifiedByUser"])) { + return $this->_propDict["lastModifiedByUser"]; + } else { + $this->_propDict["lastModifiedByUser"] = new User($this->_propDict["lastModifiedByUser"]); + return $this->_propDict["lastModifiedByUser"]; + } + } + return null; + } + + /** + * Sets the lastModifiedByUser + * Identity of the user who last modified the item. Read-only. + * + * @param User $val The lastModifiedByUser + * + * @return BaseItem + */ + public function setLastModifiedByUser($val) + { + $this->_propDict["lastModifiedByUser"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BaseItemVersion.php b/vendor/microsoft/microsoft-graph/src/Model/BaseItemVersion.php new file mode 100644 index 0000000..200305b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BaseItemVersion.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user which last modified the version. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return BaseItemVersion + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time the version was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time the version was last modified. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return BaseItemVersion + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the publication + * Indicates the publication status of this particular version. Read-only. + * + * @return PublicationFacet|null The publication + */ + public function getPublication() + { + if (array_key_exists("publication", $this->_propDict)) { + if (is_a($this->_propDict["publication"], "\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publication"])) { + return $this->_propDict["publication"]; + } else { + $this->_propDict["publication"] = new PublicationFacet($this->_propDict["publication"]); + return $this->_propDict["publication"]; + } + } + return null; + } + + /** + * Sets the publication + * Indicates the publication status of this particular version. Read-only. + * + * @param PublicationFacet $val The publication + * + * @return BaseItemVersion + */ + public function setPublication($val) + { + $this->_propDict["publication"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BasicAuthentication.php b/vendor/microsoft/microsoft-graph/src/Model/BasicAuthentication.php new file mode 100644 index 0000000..9eceb94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BasicAuthentication.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.basicAuthentication"); + } + + /** + * Gets the password + * The password. It is not returned in the responses. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * The password. It is not returned in the responses. + * + * @param string $val The value of the password + * + * @return BasicAuthentication + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } + /** + * Gets the username + * The username. + * + * @return string|null The username + */ + public function getUsername() + { + if (array_key_exists("username", $this->_propDict)) { + return $this->_propDict["username"]; + } else { + return null; + } + } + + /** + * Sets the username + * The username. + * + * @param string $val The value of the username + * + * @return BasicAuthentication + */ + public function setUsername($val) + { + $this->_propDict["username"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php b/vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php new file mode 100644 index 0000000..d605018 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["blockCrossOrganizationWriteAccess"]; + } else { + return null; + } + } + + /** + * Sets the blockCrossOrganizationWriteAccess + * This policy setting determines whether BitLocker protection is required for removable data drives to be writable on a computer. + * + * @param bool $val The value of the blockCrossOrganizationWriteAccess + * + * @return BitLockerRemovableDrivePolicy + */ + public function setBlockCrossOrganizationWriteAccess($val) + { + $this->_propDict["blockCrossOrganizationWriteAccess"] = $val; + return $this; + } + + /** + * Gets the encryptionMethod + * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + * + * @return BitLockerEncryptionMethod|null The encryptionMethod + */ + public function getEncryptionMethod() + { + if (array_key_exists("encryptionMethod", $this->_propDict)) { + if (is_a($this->_propDict["encryptionMethod"], "\Microsoft\Graph\Model\BitLockerEncryptionMethod") || is_null($this->_propDict["encryptionMethod"])) { + return $this->_propDict["encryptionMethod"]; + } else { + $this->_propDict["encryptionMethod"] = new BitLockerEncryptionMethod($this->_propDict["encryptionMethod"]); + return $this->_propDict["encryptionMethod"]; + } + } + return null; + } + + /** + * Sets the encryptionMethod + * Select the encryption method for removable drives. Possible values are: aesCbc128, aesCbc256, xtsAes128, xtsAes256. + * + * @param BitLockerEncryptionMethod $val The value to assign to the encryptionMethod + * + * @return BitLockerRemovableDrivePolicy The BitLockerRemovableDrivePolicy + */ + public function setEncryptionMethod($val) + { + $this->_propDict["encryptionMethod"] = $val; + return $this; + } + /** + * Gets the requireEncryptionForWriteAccess + * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect. + * + * @return bool|null The requireEncryptionForWriteAccess + */ + public function getRequireEncryptionForWriteAccess() + { + if (array_key_exists("requireEncryptionForWriteAccess", $this->_propDict)) { + return $this->_propDict["requireEncryptionForWriteAccess"]; + } else { + return null; + } + } + + /** + * Sets the requireEncryptionForWriteAccess + * Indicates whether to block write access to devices configured in another organization. If requireEncryptionForWriteAccess is false, this value does not affect. + * + * @param bool $val The value of the requireEncryptionForWriteAccess + * + * @return BitLockerRemovableDrivePolicy + */ + public function setRequireEncryptionForWriteAccess($val) + { + $this->_propDict["requireEncryptionForWriteAccess"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Bitlocker.php b/vendor/microsoft/microsoft-graph/src/Model/Bitlocker.php new file mode 100644 index 0000000..6ef918d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Bitlocker.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["recoveryKeys"]; + } else { + return null; + } + } + + /** + * Sets the recoveryKeys + * The recovery keys associated with the bitlocker entity. + * + * @param BitlockerRecoveryKey[] $val The recoveryKeys + * + * @return Bitlocker + */ + public function setRecoveryKeys($val) + { + $this->_propDict["recoveryKeys"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BitlockerRecoveryKey.php b/vendor/microsoft/microsoft-graph/src/Model/BitlockerRecoveryKey.php new file mode 100644 index 0000000..556b589 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BitlockerRecoveryKey.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the key was originally backed up to Azure Active Directory. + * + * @param \DateTime $val The createdDateTime + * + * @return BitlockerRecoveryKey + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceId + * ID of the device the BitLocker key is originally backed up from. + * + * @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 + * ID of the device the BitLocker key is originally backed up from. + * + * @param string $val The deviceId + * + * @return BitlockerRecoveryKey + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the key + * The BitLocker recovery key. + * + * @return string|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * The BitLocker recovery key. + * + * @param string $val The key + * + * @return BitlockerRecoveryKey + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + + /** + * Gets the volumeType + * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * + * @return VolumeType|null The volumeType + */ + public function getVolumeType() + { + if (array_key_exists("volumeType", $this->_propDict)) { + if (is_a($this->_propDict["volumeType"], "\Microsoft\Graph\Model\VolumeType") || is_null($this->_propDict["volumeType"])) { + return $this->_propDict["volumeType"]; + } else { + $this->_propDict["volumeType"] = new VolumeType($this->_propDict["volumeType"]); + return $this->_propDict["volumeType"]; + } + } + return null; + } + + /** + * Sets the volumeType + * Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue. + * + * @param VolumeType $val The volumeType + * + * @return BitlockerRecoveryKey + */ + public function setVolumeType($val) + { + $this->_propDict["volumeType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BodyType.php b/vendor/microsoft/microsoft-graph/src/Model/BodyType.php new file mode 100644 index 0000000..aa03464 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BodyType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * Additional information that is sent to the customer when an appointment is confirmed. + * + * @param string $val The additionalInformation + * + * @return BookingAppointment + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + + /** + * Gets the customers + * It lists down the customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. + * + * @return array|null The customers + */ + public function getCustomers() + { + if (array_key_exists("customers", $this->_propDict)) { + return $this->_propDict["customers"]; + } else { + return null; + } + } + + /** + * Sets the customers + * It lists down the customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. + * + * @param BookingCustomerInformationBase[] $val The customers + * + * @return BookingAppointment + */ + public function setCustomers($val) + { + $this->_propDict["customers"] = $val; + return $this; + } + + /** + * Gets the customerTimeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @return string|null The customerTimeZone + */ + public function getCustomerTimeZone() + { + if (array_key_exists("customerTimeZone", $this->_propDict)) { + return $this->_propDict["customerTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the customerTimeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @param string $val The customerTimeZone + * + * @return BookingAppointment + */ + public function setCustomerTimeZone($val) + { + $this->_propDict["customerTimeZone"] = $val; + return $this; + } + + /** + * Gets the duration + * The length of the appointment, denoted in ISO8601 format. + * + * @return \DateInterval|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * The length of the appointment, denoted in ISO8601 format. + * + * @param \DateInterval $val The duration + * + * @return BookingAppointment + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date, time, and time zone that the appointment ends. + * + * @return DateTimeTimeZone|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new DateTimeTimeZone($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date, time, and time zone that the appointment ends. + * + * @param DateTimeTimeZone $val The endDateTime + * + * @return BookingAppointment + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the filledAttendeesCount + * The current number of customers in the appointment. + * + * @return int|null The filledAttendeesCount + */ + public function getFilledAttendeesCount() + { + if (array_key_exists("filledAttendeesCount", $this->_propDict)) { + return $this->_propDict["filledAttendeesCount"]; + } else { + return null; + } + } + + /** + * Sets the filledAttendeesCount + * The current number of customers in the appointment. + * + * @param int $val The filledAttendeesCount + * + * @return BookingAppointment + */ + public function setFilledAttendeesCount($val) + { + $this->_propDict["filledAttendeesCount"] = intval($val); + return $this; + } + + /** + * Gets the isLocationOnline + * True indicates that the appointment will be held online. Default value is false. + * + * @return bool|null The isLocationOnline + */ + public function getIsLocationOnline() + { + if (array_key_exists("isLocationOnline", $this->_propDict)) { + return $this->_propDict["isLocationOnline"]; + } else { + return null; + } + } + + /** + * Sets the isLocationOnline + * True indicates that the appointment will be held online. Default value is false. + * + * @param bool $val The isLocationOnline + * + * @return BookingAppointment + */ + public function setIsLocationOnline($val) + { + $this->_propDict["isLocationOnline"] = boolval($val); + return $this; + } + + /** + * Gets the joinWebUrl + * The URL of the online meeting for the appointment. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * The URL of the online meeting for the appointment. + * + * @param string $val The joinWebUrl + * + * @return BookingAppointment + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the maximumAttendeesCount + * The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @return int|null The maximumAttendeesCount + */ + public function getMaximumAttendeesCount() + { + if (array_key_exists("maximumAttendeesCount", $this->_propDict)) { + return $this->_propDict["maximumAttendeesCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumAttendeesCount + * The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @param int $val The maximumAttendeesCount + * + * @return BookingAppointment + */ + public function setMaximumAttendeesCount($val) + { + $this->_propDict["maximumAttendeesCount"] = intval($val); + return $this; + } + + /** + * Gets the optOutOfCustomerEmail + * True indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this appointment. + * + * @return bool|null The optOutOfCustomerEmail + */ + public function getOptOutOfCustomerEmail() + { + if (array_key_exists("optOutOfCustomerEmail", $this->_propDict)) { + return $this->_propDict["optOutOfCustomerEmail"]; + } else { + return null; + } + } + + /** + * Sets the optOutOfCustomerEmail + * True indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this appointment. + * + * @param bool $val The optOutOfCustomerEmail + * + * @return BookingAppointment + */ + public function setOptOutOfCustomerEmail($val) + { + $this->_propDict["optOutOfCustomerEmail"] = boolval($val); + return $this; + } + + /** + * Gets the postBuffer + * The amount of time to reserve after the appointment ends, for cleaning up, as an example. The value is expressed in ISO8601 format. + * + * @return \DateInterval|null The postBuffer + */ + public function getPostBuffer() + { + if (array_key_exists("postBuffer", $this->_propDict)) { + if (is_a($this->_propDict["postBuffer"], "\DateInterval") || is_null($this->_propDict["postBuffer"])) { + return $this->_propDict["postBuffer"]; + } else { + $this->_propDict["postBuffer"] = new \DateInterval($this->_propDict["postBuffer"]); + return $this->_propDict["postBuffer"]; + } + } + return null; + } + + /** + * Sets the postBuffer + * The amount of time to reserve after the appointment ends, for cleaning up, as an example. The value is expressed in ISO8601 format. + * + * @param \DateInterval $val The postBuffer + * + * @return BookingAppointment + */ + public function setPostBuffer($val) + { + $this->_propDict["postBuffer"] = $val; + return $this; + } + + /** + * Gets the preBuffer + * The amount of time to reserve before the appointment begins, for preparation, as an example. The value is expressed in ISO8601 format. + * + * @return \DateInterval|null The preBuffer + */ + public function getPreBuffer() + { + if (array_key_exists("preBuffer", $this->_propDict)) { + if (is_a($this->_propDict["preBuffer"], "\DateInterval") || is_null($this->_propDict["preBuffer"])) { + return $this->_propDict["preBuffer"]; + } else { + $this->_propDict["preBuffer"] = new \DateInterval($this->_propDict["preBuffer"]); + return $this->_propDict["preBuffer"]; + } + } + return null; + } + + /** + * Sets the preBuffer + * The amount of time to reserve before the appointment begins, for preparation, as an example. The value is expressed in ISO8601 format. + * + * @param \DateInterval $val The preBuffer + * + * @return BookingAppointment + */ + public function setPreBuffer($val) + { + $this->_propDict["preBuffer"] = $val; + return $this; + } + + /** + * Gets the price + * The regular price for an appointment for the specified bookingService. + * + * @return float|null The price + */ + public function getPrice() + { + if (array_key_exists("price", $this->_propDict)) { + return $this->_propDict["price"]; + } else { + return null; + } + } + + /** + * Sets the price + * The regular price for an appointment for the specified bookingService. + * + * @param float $val The price + * + * @return BookingAppointment + */ + public function setPrice($val) + { + $this->_propDict["price"] = floatval($val); + return $this; + } + + /** + * Gets the priceType + * A setting to provide flexibility for the pricing structure of services. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @return BookingPriceType|null The priceType + */ + public function getPriceType() + { + if (array_key_exists("priceType", $this->_propDict)) { + if (is_a($this->_propDict["priceType"], "\Microsoft\Graph\Model\BookingPriceType") || is_null($this->_propDict["priceType"])) { + return $this->_propDict["priceType"]; + } else { + $this->_propDict["priceType"] = new BookingPriceType($this->_propDict["priceType"]); + return $this->_propDict["priceType"]; + } + } + return null; + } + + /** + * Sets the priceType + * A setting to provide flexibility for the pricing structure of services. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @param BookingPriceType $val The priceType + * + * @return BookingAppointment + */ + public function setPriceType($val) + { + $this->_propDict["priceType"] = $val; + return $this; + } + + + /** + * Gets the reminders + * The value of this property is only available when reading an individual booking appointment by id. + * + * @return array|null The reminders + */ + public function getReminders() + { + if (array_key_exists("reminders", $this->_propDict)) { + return $this->_propDict["reminders"]; + } else { + return null; + } + } + + /** + * Sets the reminders + * The value of this property is only available when reading an individual booking appointment by id. + * + * @param BookingReminder[] $val The reminders + * + * @return BookingAppointment + */ + public function setReminders($val) + { + $this->_propDict["reminders"] = $val; + return $this; + } + + /** + * Gets the selfServiceAppointmentId + * An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. + * + * @return string|null The selfServiceAppointmentId + */ + public function getSelfServiceAppointmentId() + { + if (array_key_exists("selfServiceAppointmentId", $this->_propDict)) { + return $this->_propDict["selfServiceAppointmentId"]; + } else { + return null; + } + } + + /** + * Sets the selfServiceAppointmentId + * An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the scheduling page, as opposed to by a staff member on the behalf of the customer. + * + * @param string $val The selfServiceAppointmentId + * + * @return BookingAppointment + */ + public function setSelfServiceAppointmentId($val) + { + $this->_propDict["selfServiceAppointmentId"] = $val; + return $this; + } + + /** + * Gets the serviceId + * The ID of the bookingService associated with this appointment. + * + * @return string|null The serviceId + */ + public function getServiceId() + { + if (array_key_exists("serviceId", $this->_propDict)) { + return $this->_propDict["serviceId"]; + } else { + return null; + } + } + + /** + * Sets the serviceId + * The ID of the bookingService associated with this appointment. + * + * @param string $val The serviceId + * + * @return BookingAppointment + */ + public function setServiceId($val) + { + $this->_propDict["serviceId"] = $val; + return $this; + } + + /** + * Gets the serviceLocation + * The location where the service is delivered. + * + * @return Location|null The serviceLocation + */ + public function getServiceLocation() + { + if (array_key_exists("serviceLocation", $this->_propDict)) { + if (is_a($this->_propDict["serviceLocation"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["serviceLocation"])) { + return $this->_propDict["serviceLocation"]; + } else { + $this->_propDict["serviceLocation"] = new Location($this->_propDict["serviceLocation"]); + return $this->_propDict["serviceLocation"]; + } + } + return null; + } + + /** + * Sets the serviceLocation + * The location where the service is delivered. + * + * @param Location $val The serviceLocation + * + * @return BookingAppointment + */ + public function setServiceLocation($val) + { + $this->_propDict["serviceLocation"] = $val; + return $this; + } + + /** + * Gets the serviceName + * This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id. + * + * @return string|null The serviceName + */ + public function getServiceName() + { + if (array_key_exists("serviceName", $this->_propDict)) { + return $this->_propDict["serviceName"]; + } else { + return null; + } + } + + /** + * Sets the serviceName + * This property is optional when creating a new appointment. If not specified, it is computed from the service associated with the appointment by the service id. + * + * @param string $val The serviceName + * + * @return BookingAppointment + */ + public function setServiceName($val) + { + $this->_propDict["serviceName"] = $val; + return $this; + } + + /** + * Gets the serviceNotes + * The value of this property is only available when reading an individual booking appointment by id. + * + * @return string|null The serviceNotes + */ + public function getServiceNotes() + { + if (array_key_exists("serviceNotes", $this->_propDict)) { + return $this->_propDict["serviceNotes"]; + } else { + return null; + } + } + + /** + * Sets the serviceNotes + * The value of this property is only available when reading an individual booking appointment by id. + * + * @param string $val The serviceNotes + * + * @return BookingAppointment + */ + public function setServiceNotes($val) + { + $this->_propDict["serviceNotes"] = $val; + return $this; + } + + /** + * Gets the smsNotificationsEnabled + * True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. + * + * @return bool|null The smsNotificationsEnabled + */ + public function getSmsNotificationsEnabled() + { + if (array_key_exists("smsNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["smsNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smsNotificationsEnabled + * True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. + * + * @param bool $val The smsNotificationsEnabled + * + * @return BookingAppointment + */ + public function setSmsNotificationsEnabled($val) + { + $this->_propDict["smsNotificationsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the staffMemberIds + * The ID of each bookingStaffMember who is scheduled in this appointment. + * + * @return string|null The staffMemberIds + */ + public function getStaffMemberIds() + { + if (array_key_exists("staffMemberIds", $this->_propDict)) { + return $this->_propDict["staffMemberIds"]; + } else { + return null; + } + } + + /** + * Sets the staffMemberIds + * The ID of each bookingStaffMember who is scheduled in this appointment. + * + * @param string $val The staffMemberIds + * + * @return BookingAppointment + */ + public function setStaffMemberIds($val) + { + $this->_propDict["staffMemberIds"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date, time, and time zone that the appointment begins. + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date, time, and time zone that the appointment begins. + * + * @param DateTimeTimeZone $val The startDateTime + * + * @return BookingAppointment + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingBusiness.php b/vendor/microsoft/microsoft-graph/src/Model/BookingBusiness.php new file mode 100644 index 0000000..127c47e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingBusiness.php @@ -0,0 +1,535 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The street address of the business. The address property, together with phone and webSiteUrl, appear in the footer of a business scheduling page. + * + * @param PhysicalAddress $val The address + * + * @return BookingBusiness + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + + /** + * Gets the businessHours + * The hours of operation for the business. + * + * @return array|null The businessHours + */ + public function getBusinessHours() + { + if (array_key_exists("businessHours", $this->_propDict)) { + return $this->_propDict["businessHours"]; + } else { + return null; + } + } + + /** + * Sets the businessHours + * The hours of operation for the business. + * + * @param BookingWorkHours[] $val The businessHours + * + * @return BookingBusiness + */ + public function setBusinessHours($val) + { + $this->_propDict["businessHours"] = $val; + return $this; + } + + /** + * Gets the businessType + * The type of business. + * + * @return string|null The businessType + */ + public function getBusinessType() + { + if (array_key_exists("businessType", $this->_propDict)) { + return $this->_propDict["businessType"]; + } else { + return null; + } + } + + /** + * Sets the businessType + * The type of business. + * + * @param string $val The businessType + * + * @return BookingBusiness + */ + public function setBusinessType($val) + { + $this->_propDict["businessType"] = $val; + return $this; + } + + /** + * Gets the defaultCurrencyIso + * The code for the currency that the business operates in on Microsoft Bookings. + * + * @return string|null The defaultCurrencyIso + */ + public function getDefaultCurrencyIso() + { + if (array_key_exists("defaultCurrencyIso", $this->_propDict)) { + return $this->_propDict["defaultCurrencyIso"]; + } else { + return null; + } + } + + /** + * Sets the defaultCurrencyIso + * The code for the currency that the business operates in on Microsoft Bookings. + * + * @param string $val The defaultCurrencyIso + * + * @return BookingBusiness + */ + public function setDefaultCurrencyIso($val) + { + $this->_propDict["defaultCurrencyIso"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name is suitable for human-readable interfaces. + * + * @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 + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingBusiness + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * The email address for the business. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for the business. + * + * @param string $val The email + * + * @return BookingBusiness + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the isPublished + * The scheduling page has been made available to external customers. Use the publish and unpublish actions to set this property. Read-only. + * + * @return bool|null The isPublished + */ + public function getIsPublished() + { + if (array_key_exists("isPublished", $this->_propDict)) { + return $this->_propDict["isPublished"]; + } else { + return null; + } + } + + /** + * Sets the isPublished + * The scheduling page has been made available to external customers. Use the publish and unpublish actions to set this property. Read-only. + * + * @param bool $val The isPublished + * + * @return BookingBusiness + */ + public function setIsPublished($val) + { + $this->_propDict["isPublished"] = boolval($val); + return $this; + } + + /** + * Gets the phone + * The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. + * + * @param string $val The phone + * + * @return BookingBusiness + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + + /** + * Gets the publicUrl + * The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only. + * + * @return string|null The publicUrl + */ + public function getPublicUrl() + { + if (array_key_exists("publicUrl", $this->_propDict)) { + return $this->_propDict["publicUrl"]; + } else { + return null; + } + } + + /** + * Sets the publicUrl + * The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only. + * + * @param string $val The publicUrl + * + * @return BookingBusiness + */ + public function setPublicUrl($val) + { + $this->_propDict["publicUrl"] = $val; + return $this; + } + + /** + * Gets the schedulingPolicy + * Specifies how bookings can be created for this business. + * + * @return BookingSchedulingPolicy|null The schedulingPolicy + */ + public function getSchedulingPolicy() + { + if (array_key_exists("schedulingPolicy", $this->_propDict)) { + if (is_a($this->_propDict["schedulingPolicy"], "\Microsoft\Graph\Model\BookingSchedulingPolicy") || is_null($this->_propDict["schedulingPolicy"])) { + return $this->_propDict["schedulingPolicy"]; + } else { + $this->_propDict["schedulingPolicy"] = new BookingSchedulingPolicy($this->_propDict["schedulingPolicy"]); + return $this->_propDict["schedulingPolicy"]; + } + } + return null; + } + + /** + * Sets the schedulingPolicy + * Specifies how bookings can be created for this business. + * + * @param BookingSchedulingPolicy $val The schedulingPolicy + * + * @return BookingBusiness + */ + public function setSchedulingPolicy($val) + { + $this->_propDict["schedulingPolicy"] = $val; + return $this; + } + + /** + * Gets the webSiteUrl + * Example: https://www.contoso.com + * + * @return string|null The webSiteUrl + */ + public function getWebSiteUrl() + { + if (array_key_exists("webSiteUrl", $this->_propDict)) { + return $this->_propDict["webSiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the webSiteUrl + * Example: https://www.contoso.com + * + * @param string $val The webSiteUrl + * + * @return BookingBusiness + */ + public function setWebSiteUrl($val) + { + $this->_propDict["webSiteUrl"] = $val; + return $this; + } + + + /** + * Gets the appointments + * All the appointments of this business. Read-only. Nullable. + * + * @return array|null The appointments + */ + public function getAppointments() + { + if (array_key_exists("appointments", $this->_propDict)) { + return $this->_propDict["appointments"]; + } else { + return null; + } + } + + /** + * Sets the appointments + * All the appointments of this business. Read-only. Nullable. + * + * @param BookingAppointment[] $val The appointments + * + * @return BookingBusiness + */ + public function setAppointments($val) + { + $this->_propDict["appointments"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The set of appointments of this business in a specified date range. Read-only. Nullable. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The set of appointments of this business in a specified date range. Read-only. Nullable. + * + * @param BookingAppointment[] $val The calendarView + * + * @return BookingBusiness + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the customers + * All the customers of this business. Read-only. Nullable. + * + * @return array|null The customers + */ + public function getCustomers() + { + if (array_key_exists("customers", $this->_propDict)) { + return $this->_propDict["customers"]; + } else { + return null; + } + } + + /** + * Sets the customers + * All the customers of this business. Read-only. Nullable. + * + * @param BookingCustomerBase[] $val The customers + * + * @return BookingBusiness + */ + public function setCustomers($val) + { + $this->_propDict["customers"] = $val; + return $this; + } + + + /** + * Gets the customQuestions + * All the custom questions of this business. Read-only. Nullable. + * + * @return array|null The customQuestions + */ + public function getCustomQuestions() + { + if (array_key_exists("customQuestions", $this->_propDict)) { + return $this->_propDict["customQuestions"]; + } else { + return null; + } + } + + /** + * Sets the customQuestions + * All the custom questions of this business. Read-only. Nullable. + * + * @param BookingCustomQuestion[] $val The customQuestions + * + * @return BookingBusiness + */ + public function setCustomQuestions($val) + { + $this->_propDict["customQuestions"] = $val; + return $this; + } + + + /** + * Gets the services + * All the services offered by this business. Read-only. Nullable. + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * All the services offered by this business. Read-only. Nullable. + * + * @param BookingService[] $val The services + * + * @return BookingBusiness + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + + + /** + * Gets the staffMembers + * All the staff members that provide services in this business. Read-only. Nullable. + * + * @return array|null The staffMembers + */ + public function getStaffMembers() + { + if (array_key_exists("staffMembers", $this->_propDict)) { + return $this->_propDict["staffMembers"]; + } else { + return null; + } + } + + /** + * Sets the staffMembers + * All the staff members that provide services in this business. Read-only. Nullable. + * + * @param BookingStaffMemberBase[] $val The staffMembers + * + * @return BookingBusiness + */ + public function setStaffMembers($val) + { + $this->_propDict["staffMembers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingCurrency.php b/vendor/microsoft/microsoft-graph/src/Model/BookingCurrency.php new file mode 100644 index 0000000..87d9e6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingCurrency.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["symbol"]; + } else { + return null; + } + } + + /** + * Sets the symbol + * The currency symbol. For example, the currency symbol for the US dollar and for the Australian dollar is $. + * + * @param string $val The symbol + * + * @return BookingCurrency + */ + public function setSymbol($val) + { + $this->_propDict["symbol"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingCustomQuestion.php b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomQuestion.php new file mode 100644 index 0000000..2073ab9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomQuestion.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["answerInputType"], "\Microsoft\Graph\Model\AnswerInputType") || is_null($this->_propDict["answerInputType"])) { + return $this->_propDict["answerInputType"]; + } else { + $this->_propDict["answerInputType"] = new AnswerInputType($this->_propDict["answerInputType"]); + return $this->_propDict["answerInputType"]; + } + } + return null; + } + + /** + * Sets the answerInputType + * The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + * + * @param AnswerInputType $val The answerInputType + * + * @return BookingCustomQuestion + */ + public function setAnswerInputType($val) + { + $this->_propDict["answerInputType"] = $val; + return $this; + } + + /** + * Gets the answerOptions + * List of possible answer values. + * + * @return string|null The answerOptions + */ + public function getAnswerOptions() + { + if (array_key_exists("answerOptions", $this->_propDict)) { + return $this->_propDict["answerOptions"]; + } else { + return null; + } + } + + /** + * Sets the answerOptions + * List of possible answer values. + * + * @param string $val The answerOptions + * + * @return BookingCustomQuestion + */ + public function setAnswerOptions($val) + { + $this->_propDict["answerOptions"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name is suitable for human-readable interfaces. + * + * @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 + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingCustomQuestion + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingCustomer.php b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomer.php new file mode 100644 index 0000000..68df19d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomer.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["addresses"]; + } else { + return null; + } + } + + /** + * Sets the addresses + * Addresses associated with the customer, including home, business and other addresses. + * + * @param PhysicalAddress[] $val The addresses + * + * @return BookingCustomer + */ + public function setAddresses($val) + { + $this->_propDict["addresses"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name is suitable for human-readable interfaces. + * + * @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 + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingCustomer + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * The SMTP address of the customer. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The SMTP address of the customer. + * + * @param string $val The emailAddress + * + * @return BookingCustomer + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + + /** + * Gets the phones + * Phone numbers associated with the customer, including home, business and mobile numbers. + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * Phone numbers associated with the customer, including home, business and mobile numbers. + * + * @param Phone[] $val The phones + * + * @return BookingCustomer + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingCustomerBase.php b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomerBase.php new file mode 100644 index 0000000..8b0a859 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomerBase.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.bookingCustomerInformation"); + } + + /** + * Gets the customerId + * The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable. + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable. + * + * @param string $val The value of the customerId + * + * @return BookingCustomerInformation + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the customQuestionAnswers + * It consists of the list of custom questions and answers given by the customer as part of the appointment. + * + * @return BookingQuestionAnswer|null The customQuestionAnswers + */ + public function getCustomQuestionAnswers() + { + if (array_key_exists("customQuestionAnswers", $this->_propDict)) { + if (is_a($this->_propDict["customQuestionAnswers"], "\Microsoft\Graph\Model\BookingQuestionAnswer") || is_null($this->_propDict["customQuestionAnswers"])) { + return $this->_propDict["customQuestionAnswers"]; + } else { + $this->_propDict["customQuestionAnswers"] = new BookingQuestionAnswer($this->_propDict["customQuestionAnswers"]); + return $this->_propDict["customQuestionAnswers"]; + } + } + return null; + } + + /** + * Sets the customQuestionAnswers + * It consists of the list of custom questions and answers given by the customer as part of the appointment. + * + * @param BookingQuestionAnswer $val The value to assign to the customQuestionAnswers + * + * @return BookingCustomerInformation The BookingCustomerInformation + */ + public function setCustomQuestionAnswers($val) + { + $this->_propDict["customQuestionAnswers"] = $val; + return $this; + } + /** + * Gets the emailAddress + * The SMTP address of the bookingCustomer who is booking the appointment. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The SMTP address of the bookingCustomer who is booking the appointment. + * + * @param string $val The value of the emailAddress + * + * @return BookingCustomerInformation + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the location + * Represents location information for the bookingCustomer who is booking the appointment. + * + * @return Location|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new Location($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Represents location information for the bookingCustomer who is booking the appointment. + * + * @param Location $val The value to assign to the location + * + * @return BookingCustomerInformation The BookingCustomerInformation + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + /** + * Gets the name + * The customer's name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The customer's name. + * + * @param string $val The value of the name + * + * @return BookingCustomerInformation + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the notes + * Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes from the customer associated with this appointment. You can get the value only when reading this bookingAppointment by its ID. You can set this property only when initially creating an appointment with a new customer. After that point, the value is computed from the customer represented by the customerId. + * + * @param string $val The value of the notes + * + * @return BookingCustomerInformation + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + /** + * Gets the phone + * The customer's phone number. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The customer's phone number. + * + * @param string $val The value of the phone + * + * @return BookingCustomerInformation + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + /** + * Gets the timeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The time zone of the customer. For a list of possible values, see dateTimeTimeZone. + * + * @param string $val The value of the timeZone + * + * @return BookingCustomerInformation + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingCustomerInformationBase.php b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomerInformationBase.php new file mode 100644 index 0000000..4d742d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingCustomerInformationBase.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["answer"]; + } else { + return null; + } + } + + /** + * Sets the answer + * The answer given by the user in case the answerInputType is text. + * + * @param string $val The value of the answer + * + * @return BookingQuestionAnswer + */ + public function setAnswer($val) + { + $this->_propDict["answer"] = $val; + return $this; + } + + /** + * Gets the answerInputType + * The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + * + * @return AnswerInputType|null The answerInputType + */ + public function getAnswerInputType() + { + if (array_key_exists("answerInputType", $this->_propDict)) { + if (is_a($this->_propDict["answerInputType"], "\Microsoft\Graph\Model\AnswerInputType") || is_null($this->_propDict["answerInputType"])) { + return $this->_propDict["answerInputType"]; + } else { + $this->_propDict["answerInputType"] = new AnswerInputType($this->_propDict["answerInputType"]); + return $this->_propDict["answerInputType"]; + } + } + return null; + } + + /** + * Sets the answerInputType + * The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + * + * @param AnswerInputType $val The value to assign to the answerInputType + * + * @return BookingQuestionAnswer The BookingQuestionAnswer + */ + public function setAnswerInputType($val) + { + $this->_propDict["answerInputType"] = $val; + return $this; + } + /** + * Gets the answerOptions + * In case the answerInputType is radioButton, this will consists of a list of possible answer values. + * + * @return string|null The answerOptions + */ + public function getAnswerOptions() + { + if (array_key_exists("answerOptions", $this->_propDict)) { + return $this->_propDict["answerOptions"]; + } else { + return null; + } + } + + /** + * Sets the answerOptions + * In case the answerInputType is radioButton, this will consists of a list of possible answer values. + * + * @param string $val The value of the answerOptions + * + * @return BookingQuestionAnswer + */ + public function setAnswerOptions($val) + { + $this->_propDict["answerOptions"] = $val; + return $this; + } + /** + * Gets the isRequired + * Indicates whether it is mandatory to answer the custom question. + * + * @return bool|null The isRequired + */ + public function getIsRequired() + { + if (array_key_exists("isRequired", $this->_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates whether it is mandatory to answer the custom question. + * + * @param bool $val The value of the isRequired + * + * @return BookingQuestionAnswer + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the question + * The question. + * + * @return string|null The question + */ + public function getQuestion() + { + if (array_key_exists("question", $this->_propDict)) { + return $this->_propDict["question"]; + } else { + return null; + } + } + + /** + * Sets the question + * The question. + * + * @param string $val The value of the question + * + * @return BookingQuestionAnswer + */ + public function setQuestion($val) + { + $this->_propDict["question"] = $val; + return $this; + } + /** + * Gets the questionId + * The ID of the custom question. + * + * @return string|null The questionId + */ + public function getQuestionId() + { + if (array_key_exists("questionId", $this->_propDict)) { + return $this->_propDict["questionId"]; + } else { + return null; + } + } + + /** + * Sets the questionId + * The ID of the custom question. + * + * @param string $val The value of the questionId + * + * @return BookingQuestionAnswer + */ + public function setQuestionId($val) + { + $this->_propDict["questionId"] = $val; + return $this; + } + /** + * Gets the selectedOptions + * The answers selected by the user. + * + * @return string|null The selectedOptions + */ + public function getSelectedOptions() + { + if (array_key_exists("selectedOptions", $this->_propDict)) { + return $this->_propDict["selectedOptions"]; + } else { + return null; + } + } + + /** + * Sets the selectedOptions + * The answers selected by the user. + * + * @param string $val The value of the selectedOptions + * + * @return BookingQuestionAnswer + */ + public function setSelectedOptions($val) + { + $this->_propDict["selectedOptions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingQuestionAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/BookingQuestionAssignment.php new file mode 100644 index 0000000..b49387e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingQuestionAssignment.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * Indicates whether it is mandatory to answer the custom question. + * + * @param bool $val The value of the isRequired + * + * @return BookingQuestionAssignment + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + /** + * Gets the questionId + * If it is mandatory to answer the custom question. + * + * @return string|null The questionId + */ + public function getQuestionId() + { + if (array_key_exists("questionId", $this->_propDict)) { + return $this->_propDict["questionId"]; + } else { + return null; + } + } + + /** + * Sets the questionId + * If it is mandatory to answer the custom question. + * + * @param string $val The value of the questionId + * + * @return BookingQuestionAssignment + */ + public function setQuestionId($val) + { + $this->_propDict["questionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingReminder.php b/vendor/microsoft/microsoft-graph/src/Model/BookingReminder.php new file mode 100644 index 0000000..2ae36b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingReminder.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The message in the reminder. + * + * @param string $val The value of the message + * + * @return BookingReminder + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the offset + * The amount of time before the start of an appointment that the reminder should be sent. It's denoted in ISO 8601 format. + * + * @return \DateInterval|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + if (is_a($this->_propDict["offset"], "\DateInterval") || is_null($this->_propDict["offset"])) { + return $this->_propDict["offset"]; + } else { + $this->_propDict["offset"] = new \DateInterval($this->_propDict["offset"]); + return $this->_propDict["offset"]; + } + } + return null; + } + + /** + * Sets the offset + * The amount of time before the start of an appointment that the reminder should be sent. It's denoted in ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the offset + * + * @return BookingReminder The BookingReminder + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } + + /** + * Gets the recipients + * The persons who should receive the reminder. Possible values are: allAttendees, staff, customer and unknownFutureValue. + * + * @return BookingReminderRecipients|null The recipients + */ + public function getRecipients() + { + if (array_key_exists("recipients", $this->_propDict)) { + if (is_a($this->_propDict["recipients"], "\Microsoft\Graph\Model\BookingReminderRecipients") || is_null($this->_propDict["recipients"])) { + return $this->_propDict["recipients"]; + } else { + $this->_propDict["recipients"] = new BookingReminderRecipients($this->_propDict["recipients"]); + return $this->_propDict["recipients"]; + } + } + return null; + } + + /** + * Sets the recipients + * The persons who should receive the reminder. Possible values are: allAttendees, staff, customer and unknownFutureValue. + * + * @param BookingReminderRecipients $val The value to assign to the recipients + * + * @return BookingReminder The BookingReminder + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingReminderRecipients.php b/vendor/microsoft/microsoft-graph/src/Model/BookingReminderRecipients.php new file mode 100644 index 0000000..da96e40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingReminderRecipients.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["allowStaffSelection"]; + } else { + return null; + } + } + + /** + * Sets the allowStaffSelection + * True if to allow customers to choose a specific person for the booking. + * + * @param bool $val The value of the allowStaffSelection + * + * @return BookingSchedulingPolicy + */ + public function setAllowStaffSelection($val) + { + $this->_propDict["allowStaffSelection"] = $val; + return $this; + } + + /** + * Gets the maximumAdvance + * Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. + * + * @return \DateInterval|null The maximumAdvance + */ + public function getMaximumAdvance() + { + if (array_key_exists("maximumAdvance", $this->_propDict)) { + if (is_a($this->_propDict["maximumAdvance"], "\DateInterval") || is_null($this->_propDict["maximumAdvance"])) { + return $this->_propDict["maximumAdvance"]; + } else { + $this->_propDict["maximumAdvance"] = new \DateInterval($this->_propDict["maximumAdvance"]); + return $this->_propDict["maximumAdvance"]; + } + } + return null; + } + + /** + * Sets the maximumAdvance + * Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the maximumAdvance + * + * @return BookingSchedulingPolicy The BookingSchedulingPolicy + */ + public function setMaximumAdvance($val) + { + $this->_propDict["maximumAdvance"] = $val; + return $this; + } + + /** + * Gets the minimumLeadTime + * The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format. + * + * @return \DateInterval|null The minimumLeadTime + */ + public function getMinimumLeadTime() + { + if (array_key_exists("minimumLeadTime", $this->_propDict)) { + if (is_a($this->_propDict["minimumLeadTime"], "\DateInterval") || is_null($this->_propDict["minimumLeadTime"])) { + return $this->_propDict["minimumLeadTime"]; + } else { + $this->_propDict["minimumLeadTime"] = new \DateInterval($this->_propDict["minimumLeadTime"]); + return $this->_propDict["minimumLeadTime"]; + } + } + return null; + } + + /** + * Sets the minimumLeadTime + * The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the minimumLeadTime + * + * @return BookingSchedulingPolicy The BookingSchedulingPolicy + */ + public function setMinimumLeadTime($val) + { + $this->_propDict["minimumLeadTime"] = $val; + return $this; + } + /** + * Gets the sendConfirmationsToOwner + * True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business. + * + * @return bool|null The sendConfirmationsToOwner + */ + public function getSendConfirmationsToOwner() + { + if (array_key_exists("sendConfirmationsToOwner", $this->_propDict)) { + return $this->_propDict["sendConfirmationsToOwner"]; + } else { + return null; + } + } + + /** + * Sets the sendConfirmationsToOwner + * True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business. + * + * @param bool $val The value of the sendConfirmationsToOwner + * + * @return BookingSchedulingPolicy + */ + public function setSendConfirmationsToOwner($val) + { + $this->_propDict["sendConfirmationsToOwner"] = $val; + return $this; + } + + /** + * Gets the timeSlotInterval + * Duration of each time slot, denoted in ISO 8601 format. + * + * @return \DateInterval|null The timeSlotInterval + */ + public function getTimeSlotInterval() + { + if (array_key_exists("timeSlotInterval", $this->_propDict)) { + if (is_a($this->_propDict["timeSlotInterval"], "\DateInterval") || is_null($this->_propDict["timeSlotInterval"])) { + return $this->_propDict["timeSlotInterval"]; + } else { + $this->_propDict["timeSlotInterval"] = new \DateInterval($this->_propDict["timeSlotInterval"]); + return $this->_propDict["timeSlotInterval"]; + } + } + return null; + } + + /** + * Sets the timeSlotInterval + * Duration of each time slot, denoted in ISO 8601 format. + * + * @param \DateInterval $val The value to assign to the timeSlotInterval + * + * @return BookingSchedulingPolicy The BookingSchedulingPolicy + */ + public function setTimeSlotInterval($val) + { + $this->_propDict["timeSlotInterval"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingService.php b/vendor/microsoft/microsoft-graph/src/Model/BookingService.php new file mode 100644 index 0000000..8d0157b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingService.php @@ -0,0 +1,604 @@ +_propDict)) { + return $this->_propDict["additionalInformation"]; + } else { + return null; + } + } + + /** + * Sets the additionalInformation + * Additional information that is sent to the customer when an appointment is confirmed. + * + * @param string $val The additionalInformation + * + * @return BookingService + */ + public function setAdditionalInformation($val) + { + $this->_propDict["additionalInformation"] = $val; + return $this; + } + + + /** + * Gets the customQuestions + * Contains the set of custom questions associated with a particular service. + * + * @return array|null The customQuestions + */ + public function getCustomQuestions() + { + if (array_key_exists("customQuestions", $this->_propDict)) { + return $this->_propDict["customQuestions"]; + } else { + return null; + } + } + + /** + * Sets the customQuestions + * Contains the set of custom questions associated with a particular service. + * + * @param BookingQuestionAssignment[] $val The customQuestions + * + * @return BookingService + */ + public function setCustomQuestions($val) + { + $this->_propDict["customQuestions"] = $val; + return $this; + } + + /** + * Gets the defaultDuration + * The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S. + * + * @return \DateInterval|null The defaultDuration + */ + public function getDefaultDuration() + { + if (array_key_exists("defaultDuration", $this->_propDict)) { + if (is_a($this->_propDict["defaultDuration"], "\DateInterval") || is_null($this->_propDict["defaultDuration"])) { + return $this->_propDict["defaultDuration"]; + } else { + $this->_propDict["defaultDuration"] = new \DateInterval($this->_propDict["defaultDuration"]); + return $this->_propDict["defaultDuration"]; + } + } + return null; + } + + /** + * Sets the defaultDuration + * The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S. + * + * @param \DateInterval $val The defaultDuration + * + * @return BookingService + */ + public function setDefaultDuration($val) + { + $this->_propDict["defaultDuration"] = $val; + return $this; + } + + /** + * Gets the defaultLocation + * The default physical location for the service. + * + * @return Location|null The defaultLocation + */ + public function getDefaultLocation() + { + if (array_key_exists("defaultLocation", $this->_propDict)) { + if (is_a($this->_propDict["defaultLocation"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["defaultLocation"])) { + return $this->_propDict["defaultLocation"]; + } else { + $this->_propDict["defaultLocation"] = new Location($this->_propDict["defaultLocation"]); + return $this->_propDict["defaultLocation"]; + } + } + return null; + } + + /** + * Sets the defaultLocation + * The default physical location for the service. + * + * @param Location $val The defaultLocation + * + * @return BookingService + */ + public function setDefaultLocation($val) + { + $this->_propDict["defaultLocation"] = $val; + return $this; + } + + /** + * Gets the defaultPrice + * The default monetary price for the service. + * + * @return float|null The defaultPrice + */ + public function getDefaultPrice() + { + if (array_key_exists("defaultPrice", $this->_propDict)) { + return $this->_propDict["defaultPrice"]; + } else { + return null; + } + } + + /** + * Sets the defaultPrice + * The default monetary price for the service. + * + * @param float $val The defaultPrice + * + * @return BookingService + */ + public function setDefaultPrice($val) + { + $this->_propDict["defaultPrice"] = floatval($val); + return $this; + } + + /** + * Gets the defaultPriceType + * The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @return BookingPriceType|null The defaultPriceType + */ + public function getDefaultPriceType() + { + if (array_key_exists("defaultPriceType", $this->_propDict)) { + if (is_a($this->_propDict["defaultPriceType"], "\Microsoft\Graph\Model\BookingPriceType") || is_null($this->_propDict["defaultPriceType"])) { + return $this->_propDict["defaultPriceType"]; + } else { + $this->_propDict["defaultPriceType"] = new BookingPriceType($this->_propDict["defaultPriceType"]); + return $this->_propDict["defaultPriceType"]; + } + } + return null; + } + + /** + * Sets the defaultPriceType + * The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. + * + * @param BookingPriceType $val The defaultPriceType + * + * @return BookingService + */ + public function setDefaultPriceType($val) + { + $this->_propDict["defaultPriceType"] = $val; + return $this; + } + + + /** + * Gets the defaultReminders + * The value of this property is only available when reading an individual booking service by id. + * + * @return array|null The defaultReminders + */ + public function getDefaultReminders() + { + if (array_key_exists("defaultReminders", $this->_propDict)) { + return $this->_propDict["defaultReminders"]; + } else { + return null; + } + } + + /** + * Sets the defaultReminders + * The value of this property is only available when reading an individual booking service by id. + * + * @param BookingReminder[] $val The defaultReminders + * + * @return BookingService + */ + public function setDefaultReminders($val) + { + $this->_propDict["defaultReminders"] = $val; + return $this; + } + + /** + * Gets the description + * A text description for the service. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A text description for the service. + * + * @param string $val The description + * + * @return BookingService + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name is suitable for human-readable interfaces. + * + * @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 + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingService + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isHiddenFromCustomers + * True means this service is not available to customers for booking. + * + * @return bool|null The isHiddenFromCustomers + */ + public function getIsHiddenFromCustomers() + { + if (array_key_exists("isHiddenFromCustomers", $this->_propDict)) { + return $this->_propDict["isHiddenFromCustomers"]; + } else { + return null; + } + } + + /** + * Sets the isHiddenFromCustomers + * True means this service is not available to customers for booking. + * + * @param bool $val The isHiddenFromCustomers + * + * @return BookingService + */ + public function setIsHiddenFromCustomers($val) + { + $this->_propDict["isHiddenFromCustomers"] = boolval($val); + return $this; + } + + /** + * Gets the isLocationOnline + * True indicates that the appointments for the service will be held online. Default value is false. + * + * @return bool|null The isLocationOnline + */ + public function getIsLocationOnline() + { + if (array_key_exists("isLocationOnline", $this->_propDict)) { + return $this->_propDict["isLocationOnline"]; + } else { + return null; + } + } + + /** + * Sets the isLocationOnline + * True indicates that the appointments for the service will be held online. Default value is false. + * + * @param bool $val The isLocationOnline + * + * @return BookingService + */ + public function setIsLocationOnline($val) + { + $this->_propDict["isLocationOnline"] = boolval($val); + return $this; + } + + /** + * Gets the maximumAttendeesCount + * The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @return int|null The maximumAttendeesCount + */ + public function getMaximumAttendeesCount() + { + if (array_key_exists("maximumAttendeesCount", $this->_propDict)) { + return $this->_propDict["maximumAttendeesCount"]; + } else { + return null; + } + } + + /** + * Sets the maximumAttendeesCount + * The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. + * + * @param int $val The maximumAttendeesCount + * + * @return BookingService + */ + public function setMaximumAttendeesCount($val) + { + $this->_propDict["maximumAttendeesCount"] = intval($val); + return $this; + } + + /** + * Gets the notes + * Additional information about this service. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Additional information about this service. + * + * @param string $val The notes + * + * @return BookingService + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the postBuffer + * The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked. + * + * @return \DateInterval|null The postBuffer + */ + public function getPostBuffer() + { + if (array_key_exists("postBuffer", $this->_propDict)) { + if (is_a($this->_propDict["postBuffer"], "\DateInterval") || is_null($this->_propDict["postBuffer"])) { + return $this->_propDict["postBuffer"]; + } else { + $this->_propDict["postBuffer"] = new \DateInterval($this->_propDict["postBuffer"]); + return $this->_propDict["postBuffer"]; + } + } + return null; + } + + /** + * Sets the postBuffer + * The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked. + * + * @param \DateInterval $val The postBuffer + * + * @return BookingService + */ + public function setPostBuffer($val) + { + $this->_propDict["postBuffer"] = $val; + return $this; + } + + /** + * Gets the preBuffer + * The time to buffer before an appointment for this service can start. + * + * @return \DateInterval|null The preBuffer + */ + public function getPreBuffer() + { + if (array_key_exists("preBuffer", $this->_propDict)) { + if (is_a($this->_propDict["preBuffer"], "\DateInterval") || is_null($this->_propDict["preBuffer"])) { + return $this->_propDict["preBuffer"]; + } else { + $this->_propDict["preBuffer"] = new \DateInterval($this->_propDict["preBuffer"]); + return $this->_propDict["preBuffer"]; + } + } + return null; + } + + /** + * Sets the preBuffer + * The time to buffer before an appointment for this service can start. + * + * @param \DateInterval $val The preBuffer + * + * @return BookingService + */ + public function setPreBuffer($val) + { + $this->_propDict["preBuffer"] = $val; + return $this; + } + + /** + * Gets the schedulingPolicy + * The set of policies that determine how appointments for this type of service should be created and managed. + * + * @return BookingSchedulingPolicy|null The schedulingPolicy + */ + public function getSchedulingPolicy() + { + if (array_key_exists("schedulingPolicy", $this->_propDict)) { + if (is_a($this->_propDict["schedulingPolicy"], "\Microsoft\Graph\Model\BookingSchedulingPolicy") || is_null($this->_propDict["schedulingPolicy"])) { + return $this->_propDict["schedulingPolicy"]; + } else { + $this->_propDict["schedulingPolicy"] = new BookingSchedulingPolicy($this->_propDict["schedulingPolicy"]); + return $this->_propDict["schedulingPolicy"]; + } + } + return null; + } + + /** + * Sets the schedulingPolicy + * The set of policies that determine how appointments for this type of service should be created and managed. + * + * @param BookingSchedulingPolicy $val The schedulingPolicy + * + * @return BookingService + */ + public function setSchedulingPolicy($val) + { + $this->_propDict["schedulingPolicy"] = $val; + return $this; + } + + /** + * Gets the smsNotificationsEnabled + * True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false. + * + * @return bool|null The smsNotificationsEnabled + */ + public function getSmsNotificationsEnabled() + { + if (array_key_exists("smsNotificationsEnabled", $this->_propDict)) { + return $this->_propDict["smsNotificationsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the smsNotificationsEnabled + * True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false. + * + * @param bool $val The smsNotificationsEnabled + * + * @return BookingService + */ + public function setSmsNotificationsEnabled($val) + { + $this->_propDict["smsNotificationsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the staffMemberIds + * Represents those staff members who provide this service. + * + * @return string|null The staffMemberIds + */ + public function getStaffMemberIds() + { + if (array_key_exists("staffMemberIds", $this->_propDict)) { + return $this->_propDict["staffMemberIds"]; + } else { + return null; + } + } + + /** + * Sets the staffMemberIds + * Represents those staff members who provide this service. + * + * @param string $val The staffMemberIds + * + * @return BookingService + */ + public function setStaffMemberIds($val) + { + $this->_propDict["staffMemberIds"] = $val; + return $this; + } + + /** + * Gets the webUrl + * The URL a customer uses to access the service. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The URL a customer uses to access the service. + * + * @param string $val The webUrl + * + * @return BookingService + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingStaffMember.php b/vendor/microsoft/microsoft-graph/src/Model/BookingStaffMember.php new file mode 100644 index 0000000..91bde98 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingStaffMember.php @@ -0,0 +1,235 @@ +_propDict)) { + return $this->_propDict["availabilityIsAffectedByPersonalCalendar"]; + } else { + return null; + } + } + + /** + * Sets the availabilityIsAffectedByPersonalCalendar + * True means that if the staff member is a Microsoft 365 user, the Bookings API would verify the staff member's availability in their personal calendar in Microsoft 365, before making a booking. + * + * @param bool $val The availabilityIsAffectedByPersonalCalendar + * + * @return BookingStaffMember + */ + public function setAvailabilityIsAffectedByPersonalCalendar($val) + { + $this->_propDict["availabilityIsAffectedByPersonalCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * The display name is suitable for human-readable interfaces. + * + * @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 + * The display name is suitable for human-readable interfaces. + * + * @param string $val The displayName + * + * @return BookingStaffMember + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * The email address of the staff member. This can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The email address of the staff member. This can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. + * + * @param string $val The emailAddress + * + * @return BookingStaffMember + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the role + * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required. + * + * @return BookingStaffRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Microsoft\Graph\Model\BookingStaffRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new BookingStaffRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required. + * + * @param BookingStaffRole $val The role + * + * @return BookingStaffMember + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + + /** + * Gets the timeZone + * The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. + * + * @param string $val The timeZone + * + * @return BookingStaffMember + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } + + /** + * Gets the useBusinessHours + * True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting. + * + * @return bool|null The useBusinessHours + */ + public function getUseBusinessHours() + { + if (array_key_exists("useBusinessHours", $this->_propDict)) { + return $this->_propDict["useBusinessHours"]; + } else { + return null; + } + } + + /** + * Sets the useBusinessHours + * True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting. + * + * @param bool $val The useBusinessHours + * + * @return BookingStaffMember + */ + public function setUseBusinessHours($val) + { + $this->_propDict["useBusinessHours"] = boolval($val); + return $this; + } + + + /** + * Gets the workingHours + * The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. + * + * @return array|null The workingHours + */ + public function getWorkingHours() + { + if (array_key_exists("workingHours", $this->_propDict)) { + return $this->_propDict["workingHours"]; + } else { + return null; + } + } + + /** + * Sets the workingHours + * The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. + * + * @param BookingWorkHours[] $val The workingHours + * + * @return BookingStaffMember + */ + public function setWorkingHours($val) + { + $this->_propDict["workingHours"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingStaffMemberBase.php b/vendor/microsoft/microsoft-graph/src/Model/BookingStaffMemberBase.php new file mode 100644 index 0000000..36554c1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingStaffMemberBase.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["day"], "\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["day"])) { + return $this->_propDict["day"]; + } else { + $this->_propDict["day"] = new DayOfWeek($this->_propDict["day"]); + return $this->_propDict["day"]; + } + } + return null; + } + + /** + * Sets the day + * The day of the week represented by this instance. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + * + * @param DayOfWeek $val The value to assign to the day + * + * @return BookingWorkHours The BookingWorkHours + */ + public function setDay($val) + { + $this->_propDict["day"] = $val; + return $this; + } + + /** + * Gets the timeSlots + * A list of start/end times during a day. + * + * @return BookingWorkTimeSlot|null The timeSlots + */ + public function getTimeSlots() + { + if (array_key_exists("timeSlots", $this->_propDict)) { + if (is_a($this->_propDict["timeSlots"], "\Microsoft\Graph\Model\BookingWorkTimeSlot") || is_null($this->_propDict["timeSlots"])) { + return $this->_propDict["timeSlots"]; + } else { + $this->_propDict["timeSlots"] = new BookingWorkTimeSlot($this->_propDict["timeSlots"]); + return $this->_propDict["timeSlots"]; + } + } + return null; + } + + /** + * Sets the timeSlots + * A list of start/end times during a day. + * + * @param BookingWorkTimeSlot $val The value to assign to the timeSlots + * + * @return BookingWorkHours The BookingWorkHours + */ + public function setTimeSlots($val) + { + $this->_propDict["timeSlots"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BookingWorkTimeSlot.php b/vendor/microsoft/microsoft-graph/src/Model/BookingWorkTimeSlot.php new file mode 100644 index 0000000..99f7602 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BookingWorkTimeSlot.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { + return $this->_propDict["endTime"]; + } else { + $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); + return $this->_propDict["endTime"]; + } + } + return null; + } + + /** + * Sets the endTime + * The time of the day when work stops. For example, 17:00:00.0000000. + * + * @param TimeOfDay $val The value to assign to the endTime + * + * @return BookingWorkTimeSlot The BookingWorkTimeSlot + */ + public function setEndTime($val) + { + $this->_propDict["endTime"] = $val; + return $this; + } + + /** + * Gets the startTime + * The time of the day when work starts. For example, 08:00:00.0000000. + * + * @return TimeOfDay|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * The time of the day when work starts. For example, 08:00:00.0000000. + * + * @param TimeOfDay $val The value to assign to the startTime + * + * @return BookingWorkTimeSlot The BookingWorkTimeSlot + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BooleanColumn.php b/vendor/microsoft/microsoft-graph/src/Model/BooleanColumn.php new file mode 100644 index 0000000..fad138a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BooleanColumn.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["allowedAudience"], "\Microsoft\Graph\Model\BroadcastMeetingAudience") || is_null($this->_propDict["allowedAudience"])) { + return $this->_propDict["allowedAudience"]; + } else { + $this->_propDict["allowedAudience"] = new BroadcastMeetingAudience($this->_propDict["allowedAudience"]); + return $this->_propDict["allowedAudience"]; + } + } + return null; + } + + /** + * Sets the allowedAudience + * Defines who can join the Teams live event. Possible values are listed in the following table. + * + * @param BroadcastMeetingAudience $val The value to assign to the allowedAudience + * + * @return BroadcastMeetingSettings The BroadcastMeetingSettings + */ + public function setAllowedAudience($val) + { + $this->_propDict["allowedAudience"] = $val; + return $this; + } + /** + * Gets the isAttendeeReportEnabled + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isAttendeeReportEnabled + */ + public function getIsAttendeeReportEnabled() + { + if (array_key_exists("isAttendeeReportEnabled", $this->_propDict)) { + return $this->_propDict["isAttendeeReportEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isAttendeeReportEnabled + * Indicates whether attendee report is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isAttendeeReportEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsAttendeeReportEnabled($val) + { + $this->_propDict["isAttendeeReportEnabled"] = $val; + return $this; + } + /** + * Gets the isQuestionAndAnswerEnabled + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isQuestionAndAnswerEnabled + */ + public function getIsQuestionAndAnswerEnabled() + { + if (array_key_exists("isQuestionAndAnswerEnabled", $this->_propDict)) { + return $this->_propDict["isQuestionAndAnswerEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isQuestionAndAnswerEnabled + * Indicates whether Q&A is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isQuestionAndAnswerEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsQuestionAndAnswerEnabled($val) + { + $this->_propDict["isQuestionAndAnswerEnabled"] = $val; + return $this; + } + /** + * Gets the isRecordingEnabled + * Indicates whether recording is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isRecordingEnabled + */ + public function getIsRecordingEnabled() + { + if (array_key_exists("isRecordingEnabled", $this->_propDict)) { + return $this->_propDict["isRecordingEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isRecordingEnabled + * Indicates whether recording is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isRecordingEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsRecordingEnabled($val) + { + $this->_propDict["isRecordingEnabled"] = $val; + return $this; + } + /** + * Gets the isVideoOnDemandEnabled + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. + * + * @return bool|null The isVideoOnDemandEnabled + */ + public function getIsVideoOnDemandEnabled() + { + if (array_key_exists("isVideoOnDemandEnabled", $this->_propDict)) { + return $this->_propDict["isVideoOnDemandEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isVideoOnDemandEnabled + * Indicates whether video on demand is enabled for this Teams live event. Default value is false. + * + * @param bool $val The value of the isVideoOnDemandEnabled + * + * @return BroadcastMeetingSettings + */ + public function setIsVideoOnDemandEnabled($val) + { + $this->_propDict["isVideoOnDemandEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php new file mode 100644 index 0000000..029db7d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["isDescending"]; + } else { + return null; + } + } + + /** + * Sets the isDescending + * True to specify the sort order as descending. The default is false, with the sort order as ascending. Optional. + * + * @param bool $val The value of the isDescending + * + * @return BucketAggregationDefinition + */ + public function setIsDescending($val) + { + $this->_propDict["isDescending"] = $val; + return $this; + } + /** + * Gets the minimumCount + * The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. + * + * @return int|null The minimumCount + */ + public function getMinimumCount() + { + if (array_key_exists("minimumCount", $this->_propDict)) { + return $this->_propDict["minimumCount"]; + } else { + return null; + } + } + + /** + * Sets the minimumCount + * The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. + * + * @param int $val The value of the minimumCount + * + * @return BucketAggregationDefinition + */ + public function setMinimumCount($val) + { + $this->_propDict["minimumCount"] = $val; + return $this; + } + /** + * Gets the prefixFilter + * A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. + * + * @return string|null The prefixFilter + */ + public function getPrefixFilter() + { + if (array_key_exists("prefixFilter", $this->_propDict)) { + return $this->_propDict["prefixFilter"]; + } else { + return null; + } + } + + /** + * Sets the prefixFilter + * A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. + * + * @param string $val The value of the prefixFilter + * + * @return BucketAggregationDefinition + */ + public function setPrefixFilter($val) + { + $this->_propDict["prefixFilter"] = $val; + return $this; + } + + /** + * Gets the ranges + * Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. + * + * @return BucketAggregationRange|null The ranges + */ + public function getRanges() + { + if (array_key_exists("ranges", $this->_propDict)) { + if (is_a($this->_propDict["ranges"], "\Microsoft\Graph\Model\BucketAggregationRange") || is_null($this->_propDict["ranges"])) { + return $this->_propDict["ranges"]; + } else { + $this->_propDict["ranges"] = new BucketAggregationRange($this->_propDict["ranges"]); + return $this->_propDict["ranges"]; + } + } + return null; + } + + /** + * Sets the ranges + * Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. + * + * @param BucketAggregationRange $val The value to assign to the ranges + * + * @return BucketAggregationDefinition The BucketAggregationDefinition + */ + public function setRanges($val) + { + $this->_propDict["ranges"] = $val; + return $this; + } + + /** + * Gets the sortBy + * The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required. + * + * @return BucketAggregationSortProperty|null The sortBy + */ + public function getSortBy() + { + if (array_key_exists("sortBy", $this->_propDict)) { + if (is_a($this->_propDict["sortBy"], "\Microsoft\Graph\Model\BucketAggregationSortProperty") || is_null($this->_propDict["sortBy"])) { + return $this->_propDict["sortBy"]; + } else { + $this->_propDict["sortBy"] = new BucketAggregationSortProperty($this->_propDict["sortBy"]); + return $this->_propDict["sortBy"]; + } + } + return null; + } + + /** + * Sets the sortBy + * The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required. + * + * @param BucketAggregationSortProperty $val The value to assign to the sortBy + * + * @return BucketAggregationDefinition The BucketAggregationDefinition + */ + public function setSortBy($val) + { + $this->_propDict["sortBy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationRange.php b/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationRange.php new file mode 100644 index 0000000..ec104ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationRange.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["from"]; + } else { + return null; + } + } + + /** + * Sets the from + * Defines the lower bound from which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. + * + * @param string $val The value of the from + * + * @return BucketAggregationRange + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + /** + * Gets the to + * Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. + * + * @return string|null The to + */ + public function getTo() + { + if (array_key_exists("to", $this->_propDict)) { + return $this->_propDict["to"]; + } else { + return null; + } + } + + /** + * Sets the to + * Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. + * + * @param string $val The value of the to + * + * @return BucketAggregationRange + */ + public function setTo($val) + { + $this->_propDict["to"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationSortProperty.php b/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationSortProperty.php new file mode 100644 index 0000000..35963d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationSortProperty.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["identityProviderType"]; + } else { + return null; + } + } + + /** + * Sets the identityProviderType + * The identity provider type. For a B2B scenario, possible values: AADSignup, MicrosoftAccount, EmailOTP. Required. + * + * @param string $val The identityProviderType + * + * @return BuiltInIdentityProvider + */ + public function setIdentityProviderType($val) + { + $this->_propDict["identityProviderType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Bundle.php b/vendor/microsoft/microsoft-graph/src/Model/Bundle.php new file mode 100644 index 0000000..764d054 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Bundle.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["album"], "\Microsoft\Graph\Model\Album") || is_null($this->_propDict["album"])) { + return $this->_propDict["album"]; + } else { + $this->_propDict["album"] = new Album($this->_propDict["album"]); + return $this->_propDict["album"]; + } + } + return null; + } + + /** + * Sets the album + * If the bundle is an [album][], then the album property is included + * + * @param Album $val The value to assign to the album + * + * @return Bundle The Bundle + */ + public function setAlbum($val) + { + $this->_propDict["album"] = $val; + return $this; + } + /** + * Gets the childCount + * Number of children contained immediately within this container. + * + * @return int|null The childCount + */ + public function getChildCount() + { + if (array_key_exists("childCount", $this->_propDict)) { + return $this->_propDict["childCount"]; + } else { + return null; + } + } + + /** + * Sets the childCount + * Number of children contained immediately within this container. + * + * @param int $val The value of the childCount + * + * @return Bundle + */ + public function setChildCount($val) + { + $this->_propDict["childCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php b/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php new file mode 100644 index 0000000..7957fc0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CalculatedColumn.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["format"]; + } else { + return null; + } + } + + /** + * Sets the format + * For dateTime output types, the format of the value. Must be one of dateOnly or dateTime. + * + * @param string $val The value of the format + * + * @return CalculatedColumn + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + /** + * Gets the formula + * The formula used to compute the value for this column. + * + * @return string|null The formula + */ + public function getFormula() + { + if (array_key_exists("formula", $this->_propDict)) { + return $this->_propDict["formula"]; + } else { + return null; + } + } + + /** + * Sets the formula + * The formula used to compute the value for this column. + * + * @param string $val The value of the formula + * + * @return CalculatedColumn + */ + public function setFormula($val) + { + $this->_propDict["formula"] = $val; + return $this; + } + /** + * Gets the outputType + * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. + * + * @return string|null The outputType + */ + public function getOutputType() + { + if (array_key_exists("outputType", $this->_propDict)) { + return $this->_propDict["outputType"]; + } else { + return null; + } + } + + /** + * Sets the outputType + * The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text. + * + * @param string $val The value of the outputType + * + * @return CalculatedColumn + */ + public function setOutputType($val) + { + $this->_propDict["outputType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Calendar.php b/vendor/microsoft/microsoft-graph/src/Model/Calendar.php new file mode 100644 index 0000000..ccc3021 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Calendar.php @@ -0,0 +1,567 @@ +_propDict)) { + return $this->_propDict["allowedOnlineMeetingProviders"]; + } else { + return null; + } + } + + /** + * Sets the allowedOnlineMeetingProviders + * Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * + * @param OnlineMeetingProviderType[] $val The allowedOnlineMeetingProviders + * + * @return Calendar + */ + public function setAllowedOnlineMeetingProviders($val) + { + $this->_propDict["allowedOnlineMeetingProviders"] = $val; + return $this; + } + + /** + * Gets the canEdit + * true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access, through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @return bool|null The canEdit + */ + public function getCanEdit() + { + if (array_key_exists("canEdit", $this->_propDict)) { + return $this->_propDict["canEdit"]; + } else { + return null; + } + } + + /** + * Sets the canEdit + * true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access, through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @param bool $val The canEdit + * + * @return Calendar + */ + public function setCanEdit($val) + { + $this->_propDict["canEdit"] = boolval($val); + return $this; + } + + /** + * Gets the canShare + * true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. Read-only. + * + * @return bool|null The canShare + */ + public function getCanShare() + { + if (array_key_exists("canShare", $this->_propDict)) { + return $this->_propDict["canShare"]; + } else { + return null; + } + } + + /** + * Sets the canShare + * true if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it. Read-only. + * + * @param bool $val The canShare + * + * @return Calendar + */ + public function setCanShare($val) + { + $this->_propDict["canShare"] = boolval($val); + return $this; + } + + /** + * Gets the canViewPrivateItems + * true if the user can read calendar items that have been marked private, false otherwise. This property is set through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @return bool|null The canViewPrivateItems + */ + public function getCanViewPrivateItems() + { + if (array_key_exists("canViewPrivateItems", $this->_propDict)) { + return $this->_propDict["canViewPrivateItems"]; + } else { + return null; + } + } + + /** + * Sets the canViewPrivateItems + * true if the user can read calendar items that have been marked private, false otherwise. This property is set through an Outlook client or the corresponding calendarPermission resource. Read-only. + * + * @param bool $val The canViewPrivateItems + * + * @return Calendar + */ + public function setCanViewPrivateItems($val) + { + $this->_propDict["canViewPrivateItems"] = boolval($val); + return $this; + } + + /** + * Gets the changeKey + * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @return string|null The changeKey + */ + public function getChangeKey() + { + if (array_key_exists("changeKey", $this->_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @param string $val The changeKey + * + * @return Calendar + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the color + * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. + * + * @return CalendarColor|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + if (is_a($this->_propDict["color"], "\Microsoft\Graph\Model\CalendarColor") || is_null($this->_propDict["color"])) { + return $this->_propDict["color"]; + } else { + $this->_propDict["color"] = new CalendarColor($this->_propDict["color"]); + return $this->_propDict["color"]; + } + } + return null; + } + + /** + * Sets the color + * Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: auto, lightBlue, lightGreen, lightOrange, lightGray, lightYellow, lightTeal, lightPink, lightBrown, lightRed, maxColor. + * + * @param CalendarColor $val The color + * + * @return Calendar + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the defaultOnlineMeetingProvider + * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * + * @return OnlineMeetingProviderType|null The defaultOnlineMeetingProvider + */ + public function getDefaultOnlineMeetingProvider() + { + if (array_key_exists("defaultOnlineMeetingProvider", $this->_propDict)) { + if (is_a($this->_propDict["defaultOnlineMeetingProvider"], "\Microsoft\Graph\Model\OnlineMeetingProviderType") || is_null($this->_propDict["defaultOnlineMeetingProvider"])) { + return $this->_propDict["defaultOnlineMeetingProvider"]; + } else { + $this->_propDict["defaultOnlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["defaultOnlineMeetingProvider"]); + return $this->_propDict["defaultOnlineMeetingProvider"]; + } + } + return null; + } + + /** + * Sets the defaultOnlineMeetingProvider + * The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness. + * + * @param OnlineMeetingProviderType $val The defaultOnlineMeetingProvider + * + * @return Calendar + */ + public function setDefaultOnlineMeetingProvider($val) + { + $this->_propDict["defaultOnlineMeetingProvider"] = $val; + return $this; + } + + /** + * Gets the hexColor + * The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. + * + * @return string|null The hexColor + */ + public function getHexColor() + { + if (array_key_exists("hexColor", $this->_propDict)) { + return $this->_propDict["hexColor"]; + } else { + return null; + } + } + + /** + * Sets the hexColor + * The calendar color, expressed in a hex color code of three hexadecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. + * + * @param string $val The hexColor + * + * @return Calendar + */ + public function setHexColor($val) + { + $this->_propDict["hexColor"] = $val; + return $this; + } + + /** + * Gets the isDefaultCalendar + * true if this is the default calendar where new events are created by default, false otherwise. + * + * @return bool|null The isDefaultCalendar + */ + public function getIsDefaultCalendar() + { + if (array_key_exists("isDefaultCalendar", $this->_propDict)) { + return $this->_propDict["isDefaultCalendar"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultCalendar + * true if this is the default calendar where new events are created by default, false otherwise. + * + * @param bool $val The isDefaultCalendar + * + * @return Calendar + */ + public function setIsDefaultCalendar($val) + { + $this->_propDict["isDefaultCalendar"] = boolval($val); + return $this; + } + + /** + * Gets the isRemovable + * Indicates whether this user calendar can be deleted from the user mailbox. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * Indicates whether this user calendar can be deleted from the user mailbox. + * + * @param bool $val The isRemovable + * + * @return Calendar + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = boolval($val); + return $this; + } + + /** + * Gets the isTallyingResponses + * Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. + * + * @return bool|null The isTallyingResponses + */ + public function getIsTallyingResponses() + { + if (array_key_exists("isTallyingResponses", $this->_propDict)) { + return $this->_propDict["isTallyingResponses"]; + } else { + return null; + } + } + + /** + * Sets the isTallyingResponses + * Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses. + * + * @param bool $val The isTallyingResponses + * + * @return Calendar + */ + public function setIsTallyingResponses($val) + { + $this->_propDict["isTallyingResponses"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The calendar name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The calendar name. + * + * @param string $val The name + * + * @return Calendar + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the owner + * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. Read-only. + * + * @return EmailAddress|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new EmailAddress($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user. Read-only. + * + * @param EmailAddress $val The owner + * + * @return Calendar + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + + /** + * Gets the calendarPermissions + * The permissions of the users with whom the calendar is shared. + * + * @return array|null The calendarPermissions + */ + public function getCalendarPermissions() + { + if (array_key_exists("calendarPermissions", $this->_propDict)) { + return $this->_propDict["calendarPermissions"]; + } else { + return null; + } + } + + /** + * Sets the calendarPermissions + * The permissions of the users with whom the calendar is shared. + * + * @param CalendarPermission[] $val The calendarPermissions + * + * @return Calendar + */ + public function setCalendarPermissions($val) + { + $this->_propDict["calendarPermissions"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The calendar view for the calendar. Navigation property. Read-only. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The calendar view for the calendar. Navigation property. Read-only. + * + * @param Event[] $val The calendarView + * + * @return Calendar + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the events + * The events in the calendar. Navigation property. Read-only. + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * The events in the calendar. Navigation property. Read-only. + * + * @param Event[] $val The events + * + * @return Calendar + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the calendar. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Calendar + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the calendar. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Calendar + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CalendarColor.php b/vendor/microsoft/microsoft-graph/src/Model/CalendarColor.php new file mode 100644 index 0000000..21bb046 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CalendarColor.php @@ -0,0 +1,43 @@ +_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @param string $val The changeKey + * + * @return CalendarGroup + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the classId + * The class identifier. Read-only. + * + * @return string|null The classId + */ + public function getClassId() + { + if (array_key_exists("classId", $this->_propDict)) { + return $this->_propDict["classId"]; + } else { + return null; + } + } + + /** + * Sets the classId + * The class identifier. Read-only. + * + * @param string $val The classId + * + * @return CalendarGroup + */ + public function setClassId($val) + { + $this->_propDict["classId"] = $val; + return $this; + } + + /** + * Gets the name + * The group name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The group name. + * + * @param string $val The name + * + * @return CalendarGroup + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + + /** + * Gets the calendars + * The calendars in the calendar group. Navigation property. Read-only. Nullable. + * + * @return array|null The calendars + */ + public function getCalendars() + { + if (array_key_exists("calendars", $this->_propDict)) { + return $this->_propDict["calendars"]; + } else { + return null; + } + } + + /** + * Sets the calendars + * The calendars in the calendar group. Navigation property. Read-only. Nullable. + * + * @param Calendar[] $val The calendars + * + * @return CalendarGroup + */ + public function setCalendars($val) + { + $this->_propDict["calendars"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php b/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php new file mode 100644 index 0000000..a39af0b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["allowedRoles"]; + } else { + return null; + } + } + + /** + * Sets the allowedRoles + * List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom. + * + * @param CalendarRoleType[] $val The allowedRoles + * + * @return CalendarPermission + */ + public function setAllowedRoles($val) + { + $this->_propDict["allowedRoles"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * + * @return EmailAddress|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) { + return $this->_propDict["emailAddress"]; + } else { + $this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]); + return $this->_propDict["emailAddress"]; + } + } + return null; + } + + /** + * Sets the emailAddress + * Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. + * + * @param EmailAddress $val The emailAddress + * + * @return CalendarPermission + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the isInsideOrganization + * True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. + * + * @return bool|null The isInsideOrganization + */ + public function getIsInsideOrganization() + { + if (array_key_exists("isInsideOrganization", $this->_propDict)) { + return $this->_propDict["isInsideOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isInsideOrganization + * True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. + * + * @param bool $val The isInsideOrganization + * + * @return CalendarPermission + */ + public function setIsInsideOrganization($val) + { + $this->_propDict["isInsideOrganization"] = boolval($val); + return $this; + } + + /** + * Gets the isRemovable + * True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * + * @return bool|null The isRemovable + */ + public function getIsRemovable() + { + if (array_key_exists("isRemovable", $this->_propDict)) { + return $this->_propDict["isRemovable"]; + } else { + return null; + } + } + + /** + * Sets the isRemovable + * True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. + * + * @param bool $val The isRemovable + * + * @return CalendarPermission + */ + public function setIsRemovable($val) + { + $this->_propDict["isRemovable"] = boolval($val); + return $this; + } + + /** + * Gets the role + * Current permission level of the calendar sharee or delegate. + * + * @return CalendarRoleType|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Microsoft\Graph\Model\CalendarRoleType") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new CalendarRoleType($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * Current permission level of the calendar sharee or delegate. + * + * @param CalendarRoleType $val The role + * + * @return CalendarPermission + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CalendarRoleType.php b/vendor/microsoft/microsoft-graph/src/Model/CalendarRoleType.php new file mode 100644 index 0000000..4e23b7a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CalendarRoleType.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["canAccept"]; + } else { + return null; + } + } + + /** + * Sets the canAccept + * + * @param bool $val The canAccept + * + * @return CalendarSharingMessage + */ + public function setCanAccept($val) + { + $this->_propDict["canAccept"] = boolval($val); + return $this; + } + + /** + * Gets the sharingMessageAction + * + * @return CalendarSharingMessageAction|null The sharingMessageAction + */ + public function getSharingMessageAction() + { + if (array_key_exists("sharingMessageAction", $this->_propDict)) { + if (is_a($this->_propDict["sharingMessageAction"], "\Microsoft\Graph\Model\CalendarSharingMessageAction") || is_null($this->_propDict["sharingMessageAction"])) { + return $this->_propDict["sharingMessageAction"]; + } else { + $this->_propDict["sharingMessageAction"] = new CalendarSharingMessageAction($this->_propDict["sharingMessageAction"]); + return $this->_propDict["sharingMessageAction"]; + } + } + return null; + } + + /** + * Sets the sharingMessageAction + * + * @param CalendarSharingMessageAction $val The sharingMessageAction + * + * @return CalendarSharingMessage + */ + public function setSharingMessageAction($val) + { + $this->_propDict["sharingMessageAction"] = $val; + return $this; + } + + + /** + * Gets the sharingMessageActions + * + * @return array|null The sharingMessageActions + */ + public function getSharingMessageActions() + { + if (array_key_exists("sharingMessageActions", $this->_propDict)) { + return $this->_propDict["sharingMessageActions"]; + } else { + return null; + } + } + + /** + * Sets the sharingMessageActions + * + * @param CalendarSharingMessageAction[] $val The sharingMessageActions + * + * @return CalendarSharingMessage + */ + public function setSharingMessageActions($val) + { + $this->_propDict["sharingMessageActions"] = $val; + return $this; + } + + /** + * Gets the suggestedCalendarName + * + * @return string|null The suggestedCalendarName + */ + public function getSuggestedCalendarName() + { + if (array_key_exists("suggestedCalendarName", $this->_propDict)) { + return $this->_propDict["suggestedCalendarName"]; + } else { + return null; + } + } + + /** + * Sets the suggestedCalendarName + * + * @param string $val The suggestedCalendarName + * + * @return CalendarSharingMessage + */ + public function setSuggestedCalendarName($val) + { + $this->_propDict["suggestedCalendarName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CalendarSharingMessageAction.php b/vendor/microsoft/microsoft-graph/src/Model/CalendarSharingMessageAction.php new file mode 100644 index 0000000..a3fd489 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CalendarSharingMessageAction.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\CalendarSharingAction") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new CalendarSharingAction($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * + * @param CalendarSharingAction $val The value to assign to the action + * + * @return CalendarSharingMessageAction The CalendarSharingMessageAction + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the actionType + * + * @return CalendarSharingActionType|null The actionType + */ + public function getActionType() + { + if (array_key_exists("actionType", $this->_propDict)) { + if (is_a($this->_propDict["actionType"], "\Microsoft\Graph\Model\CalendarSharingActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new CalendarSharingActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * + * @param CalendarSharingActionType $val The value to assign to the actionType + * + * @return CalendarSharingMessageAction The CalendarSharingMessageAction + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the importance + * + * @return CalendarSharingActionImportance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\CalendarSharingActionImportance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new CalendarSharingActionImportance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param CalendarSharingActionImportance $val The value to assign to the importance + * + * @return CalendarSharingMessageAction The CalendarSharingMessageAction + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Call.php b/vendor/microsoft/microsoft-graph/src/Model/Call.php new file mode 100644 index 0000000..ff22fd0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Call.php @@ -0,0 +1,730 @@ +_propDict)) { + return $this->_propDict["callbackUri"]; + } else { + return null; + } + } + + /** + * Sets the callbackUri + * The callback URL on which callbacks will be delivered. Must be https. + * + * @param string $val The callbackUri + * + * @return Call + */ + public function setCallbackUri($val) + { + $this->_propDict["callbackUri"] = $val; + return $this; + } + + /** + * Gets the callChainId + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + * + * @return string|null The callChainId + */ + public function getCallChainId() + { + if (array_key_exists("callChainId", $this->_propDict)) { + return $this->_propDict["callChainId"]; + } else { + return null; + } + } + + /** + * Sets the callChainId + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + * + * @param string $val The callChainId + * + * @return Call + */ + public function setCallChainId($val) + { + $this->_propDict["callChainId"] = $val; + return $this; + } + + /** + * Gets the callOptions + * Contains the optional features for the call. + * + * @return CallOptions|null The callOptions + */ + public function getCallOptions() + { + if (array_key_exists("callOptions", $this->_propDict)) { + if (is_a($this->_propDict["callOptions"], "\Microsoft\Graph\Model\CallOptions") || is_null($this->_propDict["callOptions"])) { + return $this->_propDict["callOptions"]; + } else { + $this->_propDict["callOptions"] = new CallOptions($this->_propDict["callOptions"]); + return $this->_propDict["callOptions"]; + } + } + return null; + } + + /** + * Sets the callOptions + * Contains the optional features for the call. + * + * @param CallOptions $val The callOptions + * + * @return Call + */ + public function setCallOptions($val) + { + $this->_propDict["callOptions"] = $val; + return $this; + } + + + /** + * Gets the callRoutes + * The routing information on how the call was retargeted. Read-only. + * + * @return array|null The callRoutes + */ + public function getCallRoutes() + { + if (array_key_exists("callRoutes", $this->_propDict)) { + return $this->_propDict["callRoutes"]; + } else { + return null; + } + } + + /** + * Sets the callRoutes + * The routing information on how the call was retargeted. Read-only. + * + * @param CallRoute[] $val The callRoutes + * + * @return Call + */ + public function setCallRoutes($val) + { + $this->_propDict["callRoutes"] = $val; + return $this; + } + + /** + * Gets the chatInfo + * The chat information. Required information for meeting scenarios. + * + * @return ChatInfo|null The chatInfo + */ + public function getChatInfo() + { + if (array_key_exists("chatInfo", $this->_propDict)) { + if (is_a($this->_propDict["chatInfo"], "\Microsoft\Graph\Model\ChatInfo") || is_null($this->_propDict["chatInfo"])) { + return $this->_propDict["chatInfo"]; + } else { + $this->_propDict["chatInfo"] = new ChatInfo($this->_propDict["chatInfo"]); + return $this->_propDict["chatInfo"]; + } + } + return null; + } + + /** + * Sets the chatInfo + * The chat information. Required information for meeting scenarios. + * + * @param ChatInfo $val The chatInfo + * + * @return Call + */ + public function setChatInfo($val) + { + $this->_propDict["chatInfo"] = $val; + return $this; + } + + /** + * Gets the direction + * The direction of the call. The possible value are incoming or outgoing. Read-only. + * + * @return CallDirection|null The direction + */ + public function getDirection() + { + if (array_key_exists("direction", $this->_propDict)) { + if (is_a($this->_propDict["direction"], "\Microsoft\Graph\Model\CallDirection") || is_null($this->_propDict["direction"])) { + return $this->_propDict["direction"]; + } else { + $this->_propDict["direction"] = new CallDirection($this->_propDict["direction"]); + return $this->_propDict["direction"]; + } + } + return null; + } + + /** + * Sets the direction + * The direction of the call. The possible value are incoming or outgoing. Read-only. + * + * @param CallDirection $val The direction + * + * @return Call + */ + public function setDirection($val) + { + $this->_propDict["direction"] = $val; + return $this; + } + + /** + * Gets the incomingContext + * The context associated with an incoming call. Read-only. Server generated. + * + * @return IncomingContext|null The incomingContext + */ + public function getIncomingContext() + { + if (array_key_exists("incomingContext", $this->_propDict)) { + if (is_a($this->_propDict["incomingContext"], "\Microsoft\Graph\Model\IncomingContext") || is_null($this->_propDict["incomingContext"])) { + return $this->_propDict["incomingContext"]; + } else { + $this->_propDict["incomingContext"] = new IncomingContext($this->_propDict["incomingContext"]); + return $this->_propDict["incomingContext"]; + } + } + return null; + } + + /** + * Sets the incomingContext + * The context associated with an incoming call. Read-only. Server generated. + * + * @param IncomingContext $val The incomingContext + * + * @return Call + */ + public function setIncomingContext($val) + { + $this->_propDict["incomingContext"] = $val; + return $this; + } + + /** + * Gets the mediaConfig + * The media configuration. Required information for creating peer to peer calls or joining meetings. + * + * @return MediaConfig|null The mediaConfig + */ + public function getMediaConfig() + { + if (array_key_exists("mediaConfig", $this->_propDict)) { + if (is_a($this->_propDict["mediaConfig"], "\Microsoft\Graph\Model\MediaConfig") || is_null($this->_propDict["mediaConfig"])) { + return $this->_propDict["mediaConfig"]; + } else { + $this->_propDict["mediaConfig"] = new MediaConfig($this->_propDict["mediaConfig"]); + return $this->_propDict["mediaConfig"]; + } + } + return null; + } + + /** + * Sets the mediaConfig + * The media configuration. Required information for creating peer to peer calls or joining meetings. + * + * @param MediaConfig $val The mediaConfig + * + * @return Call + */ + public function setMediaConfig($val) + { + $this->_propDict["mediaConfig"] = $val; + return $this; + } + + /** + * Gets the mediaState + * Read-only. The call media state. + * + * @return CallMediaState|null The mediaState + */ + public function getMediaState() + { + if (array_key_exists("mediaState", $this->_propDict)) { + if (is_a($this->_propDict["mediaState"], "\Microsoft\Graph\Model\CallMediaState") || is_null($this->_propDict["mediaState"])) { + return $this->_propDict["mediaState"]; + } else { + $this->_propDict["mediaState"] = new CallMediaState($this->_propDict["mediaState"]); + return $this->_propDict["mediaState"]; + } + } + return null; + } + + /** + * Sets the mediaState + * Read-only. The call media state. + * + * @param CallMediaState $val The mediaState + * + * @return Call + */ + public function setMediaState($val) + { + $this->_propDict["mediaState"] = $val; + return $this; + } + + /** + * Gets the meetingInfo + * The meeting information. Required information for meeting scenarios. + * + * @return MeetingInfo|null The meetingInfo + */ + public function getMeetingInfo() + { + if (array_key_exists("meetingInfo", $this->_propDict)) { + if (is_a($this->_propDict["meetingInfo"], "\Microsoft\Graph\Model\MeetingInfo") || is_null($this->_propDict["meetingInfo"])) { + return $this->_propDict["meetingInfo"]; + } else { + $this->_propDict["meetingInfo"] = new MeetingInfo($this->_propDict["meetingInfo"]); + return $this->_propDict["meetingInfo"]; + } + } + return null; + } + + /** + * Sets the meetingInfo + * The meeting information. Required information for meeting scenarios. + * + * @param MeetingInfo $val The meetingInfo + * + * @return Call + */ + public function setMeetingInfo($val) + { + $this->_propDict["meetingInfo"] = $val; + return $this; + } + + /** + * Gets the myParticipantId + * + * @return string|null The myParticipantId + */ + public function getMyParticipantId() + { + if (array_key_exists("myParticipantId", $this->_propDict)) { + return $this->_propDict["myParticipantId"]; + } else { + return null; + } + } + + /** + * Sets the myParticipantId + * + * @param string $val The myParticipantId + * + * @return Call + */ + public function setMyParticipantId($val) + { + $this->_propDict["myParticipantId"] = $val; + return $this; + } + + + /** + * Gets the requestedModalities + * + * @return array|null The requestedModalities + */ + public function getRequestedModalities() + { + if (array_key_exists("requestedModalities", $this->_propDict)) { + return $this->_propDict["requestedModalities"]; + } else { + return null; + } + } + + /** + * Sets the requestedModalities + * + * @param Modality[] $val The requestedModalities + * + * @return Call + */ + public function setRequestedModalities($val) + { + $this->_propDict["requestedModalities"] = $val; + return $this; + } + + /** + * Gets the resultInfo + * + * @return ResultInfo|null The resultInfo + */ + public function getResultInfo() + { + if (array_key_exists("resultInfo", $this->_propDict)) { + if (is_a($this->_propDict["resultInfo"], "\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["resultInfo"])) { + return $this->_propDict["resultInfo"]; + } else { + $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]); + return $this->_propDict["resultInfo"]; + } + } + return null; + } + + /** + * Sets the resultInfo + * + * @param ResultInfo $val The resultInfo + * + * @return Call + */ + public function setResultInfo($val) + { + $this->_propDict["resultInfo"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return ParticipantInfo|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\ParticipantInfo") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new ParticipantInfo($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param ParticipantInfo $val The source + * + * @return Call + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return CallState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\CallState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new CallState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param CallState $val The state + * + * @return Call + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Call + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the targets + * + * @return array|null The targets + */ + public function getTargets() + { + if (array_key_exists("targets", $this->_propDict)) { + return $this->_propDict["targets"]; + } else { + return null; + } + } + + /** + * Sets the targets + * + * @param InvitationParticipantInfo[] $val The targets + * + * @return Call + */ + public function setTargets($val) + { + $this->_propDict["targets"] = $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 Call + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the toneInfo + * + * @return ToneInfo|null The toneInfo + */ + public function getToneInfo() + { + if (array_key_exists("toneInfo", $this->_propDict)) { + if (is_a($this->_propDict["toneInfo"], "\Microsoft\Graph\Model\ToneInfo") || is_null($this->_propDict["toneInfo"])) { + return $this->_propDict["toneInfo"]; + } else { + $this->_propDict["toneInfo"] = new ToneInfo($this->_propDict["toneInfo"]); + return $this->_propDict["toneInfo"]; + } + } + return null; + } + + /** + * Sets the toneInfo + * + * @param ToneInfo $val The toneInfo + * + * @return Call + */ + public function setToneInfo($val) + { + $this->_propDict["toneInfo"] = $val; + return $this; + } + + /** + * Gets the transcription + * The transcription information for the call. Read-only. + * + * @return CallTranscriptionInfo|null The transcription + */ + public function getTranscription() + { + if (array_key_exists("transcription", $this->_propDict)) { + if (is_a($this->_propDict["transcription"], "\Microsoft\Graph\Model\CallTranscriptionInfo") || is_null($this->_propDict["transcription"])) { + return $this->_propDict["transcription"]; + } else { + $this->_propDict["transcription"] = new CallTranscriptionInfo($this->_propDict["transcription"]); + return $this->_propDict["transcription"]; + } + } + return null; + } + + /** + * Sets the transcription + * The transcription information for the call. Read-only. + * + * @param CallTranscriptionInfo $val The transcription + * + * @return Call + */ + public function setTranscription($val) + { + $this->_propDict["transcription"] = $val; + return $this; + } + + + /** + * Gets the audioRoutingGroups + * Read-only. Nullable. + * + * @return array|null The audioRoutingGroups + */ + public function getAudioRoutingGroups() + { + if (array_key_exists("audioRoutingGroups", $this->_propDict)) { + return $this->_propDict["audioRoutingGroups"]; + } else { + return null; + } + } + + /** + * Sets the audioRoutingGroups + * Read-only. Nullable. + * + * @param AudioRoutingGroup[] $val The audioRoutingGroups + * + * @return Call + */ + public function setAudioRoutingGroups($val) + { + $this->_propDict["audioRoutingGroups"] = $val; + return $this; + } + + + /** + * Gets the operations + * Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Read-only. Nullable. + * + * @param CommsOperation[] $val The operations + * + * @return Call + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the participants + * Read-only. Nullable. + * + * @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 + * Read-only. Nullable. + * + * @param Participant[] $val The participants + * + * @return Call + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallDirection.php b/vendor/microsoft/microsoft-graph/src/Model/CallDirection.php new file mode 100644 index 0000000..be95bfc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallDirection.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.callEndedEventMessageDetail"); + } + + + /** + * Gets the callDuration + * Duration of the call. + * + * @return \DateInterval|null The callDuration + */ + public function getCallDuration() + { + if (array_key_exists("callDuration", $this->_propDict)) { + if (is_a($this->_propDict["callDuration"], "\DateInterval") || is_null($this->_propDict["callDuration"])) { + return $this->_propDict["callDuration"]; + } else { + $this->_propDict["callDuration"] = new \DateInterval($this->_propDict["callDuration"]); + return $this->_propDict["callDuration"]; + } + } + return null; + } + + /** + * Sets the callDuration + * Duration of the call. + * + * @param \DateInterval $val The value to assign to the callDuration + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setCallDuration($val) + { + $this->_propDict["callDuration"] = $val; + return $this; + } + + /** + * Gets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @return TeamworkCallEventType|null The callEventType + */ + public function getCallEventType() + { + if (array_key_exists("callEventType", $this->_propDict)) { + if (is_a($this->_propDict["callEventType"], "\Microsoft\Graph\Model\TeamworkCallEventType") || is_null($this->_propDict["callEventType"])) { + return $this->_propDict["callEventType"]; + } else { + $this->_propDict["callEventType"] = new TeamworkCallEventType($this->_propDict["callEventType"]); + return $this->_propDict["callEventType"]; + } + } + return null; + } + + /** + * Sets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @param TeamworkCallEventType $val The value to assign to the callEventType + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setCallEventType($val) + { + $this->_propDict["callEventType"] = $val; + return $this; + } + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallEndedEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + + /** + * Gets the callParticipants + * List of call participants. + * + * @return CallParticipantInfo|null The callParticipants + */ + public function getCallParticipants() + { + if (array_key_exists("callParticipants", $this->_propDict)) { + if (is_a($this->_propDict["callParticipants"], "\Microsoft\Graph\Model\CallParticipantInfo") || is_null($this->_propDict["callParticipants"])) { + return $this->_propDict["callParticipants"]; + } else { + $this->_propDict["callParticipants"] = new CallParticipantInfo($this->_propDict["callParticipants"]); + return $this->_propDict["callParticipants"]; + } + } + return null; + } + + /** + * Sets the callParticipants + * List of call participants. + * + * @param CallParticipantInfo $val The value to assign to the callParticipants + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setCallParticipants($val) + { + $this->_propDict["callParticipants"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return CallEndedEventMessageDetail The CallEndedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallMediaState.php b/vendor/microsoft/microsoft-graph/src/Model/CallMediaState.php new file mode 100644 index 0000000..e339521 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallMediaState.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["audio"], "\Microsoft\Graph\Model\MediaState") || is_null($this->_propDict["audio"])) { + return $this->_propDict["audio"]; + } else { + $this->_propDict["audio"] = new MediaState($this->_propDict["audio"]); + return $this->_propDict["audio"]; + } + } + return null; + } + + /** + * Sets the audio + * The audio media state. Possible values are: active, inactive, unknownFutureValue. + * + * @param MediaState $val The value to assign to the audio + * + * @return CallMediaState The CallMediaState + */ + public function setAudio($val) + { + $this->_propDict["audio"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallOptions.php b/vendor/microsoft/microsoft-graph/src/Model/CallOptions.php new file mode 100644 index 0000000..39d4572 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallOptions.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["hideBotAfterEscalation"]; + } else { + return null; + } + } + + /** + * Sets the hideBotAfterEscalation + * + * @param bool $val The value of the hideBotAfterEscalation + * + * @return CallOptions + */ + public function setHideBotAfterEscalation($val) + { + $this->_propDict["hideBotAfterEscalation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallParticipantInfo.php b/vendor/microsoft/microsoft-graph/src/Model/CallParticipantInfo.php new file mode 100644 index 0000000..a85808e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallParticipantInfo.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["participant"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["participant"])) { + return $this->_propDict["participant"]; + } else { + $this->_propDict["participant"] = new IdentitySet($this->_propDict["participant"]); + return $this->_propDict["participant"]; + } + } + return null; + } + + /** + * Sets the participant + * Identity of the call participant. + * + * @param IdentitySet $val The value to assign to the participant + * + * @return CallParticipantInfo The CallParticipantInfo + */ + public function setParticipant($val) + { + $this->_propDict["participant"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallRecordingEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/CallRecordingEventMessageDetail.php new file mode 100644 index 0000000..e613f40 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallRecordingEventMessageDetail.php @@ -0,0 +1,253 @@ +setODataType("#microsoft.graph.callRecordingEventMessageDetail"); + } + + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallRecordingEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + /** + * Gets the callRecordingDisplayName + * Display name for the call recording. + * + * @return string|null The callRecordingDisplayName + */ + public function getCallRecordingDisplayName() + { + if (array_key_exists("callRecordingDisplayName", $this->_propDict)) { + return $this->_propDict["callRecordingDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the callRecordingDisplayName + * Display name for the call recording. + * + * @param string $val The value of the callRecordingDisplayName + * + * @return CallRecordingEventMessageDetail + */ + public function setCallRecordingDisplayName($val) + { + $this->_propDict["callRecordingDisplayName"] = $val; + return $this; + } + + /** + * Gets the callRecordingDuration + * Duration of the call recording. + * + * @return \DateInterval|null The callRecordingDuration + */ + public function getCallRecordingDuration() + { + if (array_key_exists("callRecordingDuration", $this->_propDict)) { + if (is_a($this->_propDict["callRecordingDuration"], "\DateInterval") || is_null($this->_propDict["callRecordingDuration"])) { + return $this->_propDict["callRecordingDuration"]; + } else { + $this->_propDict["callRecordingDuration"] = new \DateInterval($this->_propDict["callRecordingDuration"]); + return $this->_propDict["callRecordingDuration"]; + } + } + return null; + } + + /** + * Sets the callRecordingDuration + * Duration of the call recording. + * + * @param \DateInterval $val The value to assign to the callRecordingDuration + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setCallRecordingDuration($val) + { + $this->_propDict["callRecordingDuration"] = $val; + return $this; + } + + /** + * Gets the callRecordingStatus + * Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue. + * + * @return CallRecordingStatus|null The callRecordingStatus + */ + public function getCallRecordingStatus() + { + if (array_key_exists("callRecordingStatus", $this->_propDict)) { + if (is_a($this->_propDict["callRecordingStatus"], "\Microsoft\Graph\Model\CallRecordingStatus") || is_null($this->_propDict["callRecordingStatus"])) { + return $this->_propDict["callRecordingStatus"]; + } else { + $this->_propDict["callRecordingStatus"] = new CallRecordingStatus($this->_propDict["callRecordingStatus"]); + return $this->_propDict["callRecordingStatus"]; + } + } + return null; + } + + /** + * Sets the callRecordingStatus + * Status of the call recording. Possible values are: success, failure, initial, chunkFinished, unknownFutureValue. + * + * @param CallRecordingStatus $val The value to assign to the callRecordingStatus + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setCallRecordingStatus($val) + { + $this->_propDict["callRecordingStatus"] = $val; + return $this; + } + /** + * Gets the callRecordingUrl + * Call recording URL. + * + * @return string|null The callRecordingUrl + */ + public function getCallRecordingUrl() + { + if (array_key_exists("callRecordingUrl", $this->_propDict)) { + return $this->_propDict["callRecordingUrl"]; + } else { + return null; + } + } + + /** + * Sets the callRecordingUrl + * Call recording URL. + * + * @param string $val The value of the callRecordingUrl + * + * @return CallRecordingEventMessageDetail + */ + public function setCallRecordingUrl($val) + { + $this->_propDict["callRecordingUrl"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizer + * Organizer of the meeting. + * + * @return IdentitySet|null The meetingOrganizer + */ + public function getMeetingOrganizer() + { + if (array_key_exists("meetingOrganizer", $this->_propDict)) { + if (is_a($this->_propDict["meetingOrganizer"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["meetingOrganizer"])) { + return $this->_propDict["meetingOrganizer"]; + } else { + $this->_propDict["meetingOrganizer"] = new IdentitySet($this->_propDict["meetingOrganizer"]); + return $this->_propDict["meetingOrganizer"]; + } + } + return null; + } + + /** + * Sets the meetingOrganizer + * Organizer of the meeting. + * + * @param IdentitySet $val The value to assign to the meetingOrganizer + * + * @return CallRecordingEventMessageDetail The CallRecordingEventMessageDetail + */ + public function setMeetingOrganizer($val) + { + $this->_propDict["meetingOrganizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallRecordingStatus.php b/vendor/microsoft/microsoft-graph/src/Model/CallRecordingStatus.php new file mode 100644 index 0000000..edf9c81 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallRecordingStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["final"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["final"])) { + return $this->_propDict["final"]; + } else { + $this->_propDict["final"] = new IdentitySet($this->_propDict["final"]); + return $this->_propDict["final"]; + } + } + return null; + } + + /** + * Sets the final + * The identity that was resolved to in the call. + * + * @param IdentitySet $val The value to assign to the final + * + * @return CallRoute The CallRoute + */ + public function setFinal($val) + { + $this->_propDict["final"] = $val; + return $this; + } + + /** + * Gets the original + * The identity that was originally used in the call. + * + * @return IdentitySet|null The original + */ + public function getOriginal() + { + if (array_key_exists("original", $this->_propDict)) { + if (is_a($this->_propDict["original"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["original"])) { + return $this->_propDict["original"]; + } else { + $this->_propDict["original"] = new IdentitySet($this->_propDict["original"]); + return $this->_propDict["original"]; + } + } + return null; + } + + /** + * Sets the original + * The identity that was originally used in the call. + * + * @param IdentitySet $val The value to assign to the original + * + * @return CallRoute The CallRoute + */ + public function setOriginal($val) + { + $this->_propDict["original"] = $val; + return $this; + } + + /** + * Gets the routingType + * Possible values are: forwarded, lookup, selfFork. + * + * @return RoutingType|null The routingType + */ + public function getRoutingType() + { + if (array_key_exists("routingType", $this->_propDict)) { + if (is_a($this->_propDict["routingType"], "\Microsoft\Graph\Model\RoutingType") || is_null($this->_propDict["routingType"])) { + return $this->_propDict["routingType"]; + } else { + $this->_propDict["routingType"] = new RoutingType($this->_propDict["routingType"]); + return $this->_propDict["routingType"]; + } + } + return null; + } + + /** + * Sets the routingType + * Possible values are: forwarded, lookup, selfFork. + * + * @param RoutingType $val The value to assign to the routingType + * + * @return CallRoute The CallRoute + */ + public function setRoutingType($val) + { + $this->_propDict["routingType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallStartedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/CallStartedEventMessageDetail.php new file mode 100644 index 0000000..485323b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallStartedEventMessageDetail.php @@ -0,0 +1,131 @@ +setODataType("#microsoft.graph.callStartedEventMessageDetail"); + } + + + /** + * Gets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @return TeamworkCallEventType|null The callEventType + */ + public function getCallEventType() + { + if (array_key_exists("callEventType", $this->_propDict)) { + if (is_a($this->_propDict["callEventType"], "\Microsoft\Graph\Model\TeamworkCallEventType") || is_null($this->_propDict["callEventType"])) { + return $this->_propDict["callEventType"]; + } else { + $this->_propDict["callEventType"] = new TeamworkCallEventType($this->_propDict["callEventType"]); + return $this->_propDict["callEventType"]; + } + } + return null; + } + + /** + * Sets the callEventType + * Represents the call event type. Possible values are: call, meeting, screenShare, unknownFutureValue. + * + * @param TeamworkCallEventType $val The value to assign to the callEventType + * + * @return CallStartedEventMessageDetail The CallStartedEventMessageDetail + */ + public function setCallEventType($val) + { + $this->_propDict["callEventType"] = $val; + return $this; + } + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallStartedEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return CallStartedEventMessageDetail The CallStartedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallState.php b/vendor/microsoft/microsoft-graph/src/Model/CallState.php new file mode 100644 index 0000000..67d0840 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallState.php @@ -0,0 +1,42 @@ +setODataType("#microsoft.graph.callTranscriptEventMessageDetail"); + } + + /** + * Gets the callId + * Unique identifier of the call. + * + * @return string|null The callId + */ + public function getCallId() + { + if (array_key_exists("callId", $this->_propDict)) { + return $this->_propDict["callId"]; + } else { + return null; + } + } + + /** + * Sets the callId + * Unique identifier of the call. + * + * @param string $val The value of the callId + * + * @return CallTranscriptEventMessageDetail + */ + public function setCallId($val) + { + $this->_propDict["callId"] = $val; + return $this; + } + /** + * Gets the callTranscriptICalUid + * Unique identifier for a call transcript. + * + * @return string|null The callTranscriptICalUid + */ + public function getCallTranscriptICalUid() + { + if (array_key_exists("callTranscriptICalUid", $this->_propDict)) { + return $this->_propDict["callTranscriptICalUid"]; + } else { + return null; + } + } + + /** + * Sets the callTranscriptICalUid + * Unique identifier for a call transcript. + * + * @param string $val The value of the callTranscriptICalUid + * + * @return CallTranscriptEventMessageDetail + */ + public function setCallTranscriptICalUid($val) + { + $this->_propDict["callTranscriptICalUid"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizer + * The organizer of the meeting. + * + * @return IdentitySet|null The meetingOrganizer + */ + public function getMeetingOrganizer() + { + if (array_key_exists("meetingOrganizer", $this->_propDict)) { + if (is_a($this->_propDict["meetingOrganizer"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["meetingOrganizer"])) { + return $this->_propDict["meetingOrganizer"]; + } else { + $this->_propDict["meetingOrganizer"] = new IdentitySet($this->_propDict["meetingOrganizer"]); + return $this->_propDict["meetingOrganizer"]; + } + } + return null; + } + + /** + * Sets the meetingOrganizer + * The organizer of the meeting. + * + * @param IdentitySet $val The value to assign to the meetingOrganizer + * + * @return CallTranscriptEventMessageDetail The CallTranscriptEventMessageDetail + */ + public function setMeetingOrganizer($val) + { + $this->_propDict["meetingOrganizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionInfo.php b/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionInfo.php new file mode 100644 index 0000000..1cf77cc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionInfo.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The state modified time in UTC. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return CallTranscriptionInfo The CallTranscriptionInfo + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * Possible values are: notStarted, active, inactive. + * + * @return CallTranscriptionState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\CallTranscriptionState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new CallTranscriptionState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Possible values are: notStarted, active, inactive. + * + * @param CallTranscriptionState $val The value to assign to the state + * + * @return CallTranscriptionInfo The CallTranscriptionInfo + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionState.php b/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionState.php new file mode 100644 index 0000000..d37fa57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionState.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["certificate"])) { + return $this->_propDict["certificate"]; + } else { + $this->_propDict["certificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["certificate"]); + return $this->_propDict["certificate"]; + } + } + return null; + } + + /** + * Sets the certificate + * Required. The base64 encoded string representing the public certificate. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the certificate + * + * @return CertificateAuthority The CertificateAuthority + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + /** + * Gets the certificateRevocationListUrl + * The URL of the certificate revocation list. + * + * @return string|null The certificateRevocationListUrl + */ + public function getCertificateRevocationListUrl() + { + if (array_key_exists("certificateRevocationListUrl", $this->_propDict)) { + return $this->_propDict["certificateRevocationListUrl"]; + } else { + return null; + } + } + + /** + * Sets the certificateRevocationListUrl + * The URL of the certificate revocation list. + * + * @param string $val The value of the certificateRevocationListUrl + * + * @return CertificateAuthority + */ + public function setCertificateRevocationListUrl($val) + { + $this->_propDict["certificateRevocationListUrl"] = $val; + return $this; + } + /** + * Gets the deltaCertificateRevocationListUrl + * The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created. + * + * @return string|null The deltaCertificateRevocationListUrl + */ + public function getDeltaCertificateRevocationListUrl() + { + if (array_key_exists("deltaCertificateRevocationListUrl", $this->_propDict)) { + return $this->_propDict["deltaCertificateRevocationListUrl"]; + } else { + return null; + } + } + + /** + * Sets the deltaCertificateRevocationListUrl + * The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created. + * + * @param string $val The value of the deltaCertificateRevocationListUrl + * + * @return CertificateAuthority + */ + public function setDeltaCertificateRevocationListUrl($val) + { + $this->_propDict["deltaCertificateRevocationListUrl"] = $val; + return $this; + } + /** + * Gets the isRootAuthority + * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority. + * + * @return bool|null The isRootAuthority + */ + public function getIsRootAuthority() + { + if (array_key_exists("isRootAuthority", $this->_propDict)) { + return $this->_propDict["isRootAuthority"]; + } else { + return null; + } + } + + /** + * Sets the isRootAuthority + * Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority. + * + * @param bool $val The value of the isRootAuthority + * + * @return CertificateAuthority + */ + public function setIsRootAuthority($val) + { + $this->_propDict["isRootAuthority"] = $val; + return $this; + } + /** + * Gets the issuer + * The issuer of the certificate, calculated from the certificate value. Read-only. + * + * @return string|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * The issuer of the certificate, calculated from the certificate value. Read-only. + * + * @param string $val The value of the issuer + * + * @return CertificateAuthority + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + /** + * Gets the issuerSki + * The subject key identifier of the certificate, calculated from the certificate value. Read-only. + * + * @return string|null The issuerSki + */ + public function getIssuerSki() + { + if (array_key_exists("issuerSki", $this->_propDict)) { + return $this->_propDict["issuerSki"]; + } else { + return null; + } + } + + /** + * Sets the issuerSki + * The subject key identifier of the certificate, calculated from the certificate value. Read-only. + * + * @param string $val The value of the issuerSki + * + * @return CertificateAuthority + */ + public function setIssuerSki($val) + { + $this->_propDict["issuerSki"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CertificateBasedAuthConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/CertificateBasedAuthConfiguration.php new file mode 100644 index 0000000..0e05084 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CertificateBasedAuthConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["certificateAuthorities"]; + } else { + return null; + } + } + + /** + * Sets the certificateAuthorities + * Collection of certificate authorities which creates a trusted certificate chain. + * + * @param CertificateAuthority[] $val The certificateAuthorities + * + * @return CertificateBasedAuthConfiguration + */ + public function setCertificateAuthorities($val) + { + $this->_propDict["certificateAuthorities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CertificationControl.php b/vendor/microsoft/microsoft-graph/src/Model/CertificationControl.php new file mode 100644 index 0000000..999abcc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CertificationControl.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Certification control name + * + * @param string $val The value of the name + * + * @return CertificationControl + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the url + * URL for the Microsoft Service Trust Portal + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * URL for the Microsoft Service Trust Portal + * + * @param string $val The value of the url + * + * @return CertificationControl + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChangeNotification.php b/vendor/microsoft/microsoft-graph/src/Model/ChangeNotification.php new file mode 100644 index 0000000..69db8ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChangeNotification.php @@ -0,0 +1,331 @@ +_propDict)) { + if (is_a($this->_propDict["changeType"], "\Microsoft\Graph\Model\ChangeType") || is_null($this->_propDict["changeType"])) { + return $this->_propDict["changeType"]; + } else { + $this->_propDict["changeType"] = new ChangeType($this->_propDict["changeType"]); + return $this->_propDict["changeType"]; + } + } + return null; + } + + /** + * Sets the changeType + * Indicates the type of change that will raise the change notification. The supported values are: created, updated, deleted. Required. + * + * @param ChangeType $val The value to assign to the changeType + * + * @return ChangeNotification The ChangeNotification + */ + public function setChangeType($val) + { + $this->_propDict["changeType"] = $val; + return $this; + } + /** + * Gets the clientState + * Value of the clientState property sent specified in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional. + * + * @return string|null The clientState + */ + public function getClientState() + { + if (array_key_exists("clientState", $this->_propDict)) { + return $this->_propDict["clientState"]; + } else { + return null; + } + } + + /** + * Sets the clientState + * Value of the clientState property sent specified in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional. + * + * @param string $val The value of the clientState + * + * @return ChangeNotification + */ + public function setClientState($val) + { + $this->_propDict["clientState"] = $val; + return $this; + } + + /** + * Gets the encryptedContent + * (Preview) Encrypted content attached with the change notification. Only provided if encryptionCertificate and includeResourceData were defined during the subscription request and if the resource supports it. Optional. + * + * @return ChangeNotificationEncryptedContent|null The encryptedContent + */ + public function getEncryptedContent() + { + if (array_key_exists("encryptedContent", $this->_propDict)) { + if (is_a($this->_propDict["encryptedContent"], "\Microsoft\Graph\Model\ChangeNotificationEncryptedContent") || is_null($this->_propDict["encryptedContent"])) { + return $this->_propDict["encryptedContent"]; + } else { + $this->_propDict["encryptedContent"] = new ChangeNotificationEncryptedContent($this->_propDict["encryptedContent"]); + return $this->_propDict["encryptedContent"]; + } + } + return null; + } + + /** + * Sets the encryptedContent + * (Preview) Encrypted content attached with the change notification. Only provided if encryptionCertificate and includeResourceData were defined during the subscription request and if the resource supports it. Optional. + * + * @param ChangeNotificationEncryptedContent $val The value to assign to the encryptedContent + * + * @return ChangeNotification The ChangeNotification + */ + public function setEncryptedContent($val) + { + $this->_propDict["encryptedContent"] = $val; + return $this; + } + /** + * Gets the id + * Unique ID for the notification. Optional. + * + * @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 + * Unique ID for the notification. Optional. + * + * @param string $val The value of the id + * + * @return ChangeNotification + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the lifecycleEvent + * The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired. Optional. + * + * @return LifecycleEventType|null The lifecycleEvent + */ + public function getLifecycleEvent() + { + if (array_key_exists("lifecycleEvent", $this->_propDict)) { + if (is_a($this->_propDict["lifecycleEvent"], "\Microsoft\Graph\Model\LifecycleEventType") || is_null($this->_propDict["lifecycleEvent"])) { + return $this->_propDict["lifecycleEvent"]; + } else { + $this->_propDict["lifecycleEvent"] = new LifecycleEventType($this->_propDict["lifecycleEvent"]); + return $this->_propDict["lifecycleEvent"]; + } + } + return null; + } + + /** + * Sets the lifecycleEvent + * The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired. Optional. + * + * @param LifecycleEventType $val The value to assign to the lifecycleEvent + * + * @return ChangeNotification The ChangeNotification + */ + public function setLifecycleEvent($val) + { + $this->_propDict["lifecycleEvent"] = $val; + return $this; + } + /** + * Gets the resource + * The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required. + * + * @return string|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required. + * + * @param string $val The value of the resource + * + * @return ChangeNotification + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceData + * The content of this property depends on the type of resource being subscribed to. Optional. + * + * @return ResourceData|null The resourceData + */ + public function getResourceData() + { + if (array_key_exists("resourceData", $this->_propDict)) { + if (is_a($this->_propDict["resourceData"], "\Microsoft\Graph\Model\ResourceData") || is_null($this->_propDict["resourceData"])) { + return $this->_propDict["resourceData"]; + } else { + $this->_propDict["resourceData"] = new ResourceData($this->_propDict["resourceData"]); + return $this->_propDict["resourceData"]; + } + } + return null; + } + + /** + * Sets the resourceData + * The content of this property depends on the type of resource being subscribed to. Optional. + * + * @param ResourceData $val The value to assign to the resourceData + * + * @return ChangeNotification The ChangeNotification + */ + public function setResourceData($val) + { + $this->_propDict["resourceData"] = $val; + return $this; + } + + /** + * Gets the subscriptionExpirationDateTime + * The expiration time for the subscription. Required. + * + * @return \DateTime|null The subscriptionExpirationDateTime + */ + public function getSubscriptionExpirationDateTime() + { + if (array_key_exists("subscriptionExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["subscriptionExpirationDateTime"], "\DateTime") || is_null($this->_propDict["subscriptionExpirationDateTime"])) { + return $this->_propDict["subscriptionExpirationDateTime"]; + } else { + $this->_propDict["subscriptionExpirationDateTime"] = new \DateTime($this->_propDict["subscriptionExpirationDateTime"]); + return $this->_propDict["subscriptionExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the subscriptionExpirationDateTime + * The expiration time for the subscription. Required. + * + * @param \DateTime $val The value to assign to the subscriptionExpirationDateTime + * + * @return ChangeNotification The ChangeNotification + */ + public function setSubscriptionExpirationDateTime($val) + { + $this->_propDict["subscriptionExpirationDateTime"] = $val; + return $this; + } + /** + * Gets the subscriptionId + * The unique identifier of the subscription that generated the notification. Required. + * + * @return string|null The subscriptionId + */ + public function getSubscriptionId() + { + if (array_key_exists("subscriptionId", $this->_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * The unique identifier of the subscription that generated the notification. Required. + * + * @param string $val The value of the subscriptionId + * + * @return ChangeNotification + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } + /** + * Gets the tenantId + * The unique identifier of the tenant from which the change notification originated. Required. + * + * @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 + * The unique identifier of the tenant from which the change notification originated. Required. + * + * @param string $val The value of the tenantId + * + * @return ChangeNotification + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationCollection.php b/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationCollection.php new file mode 100644 index 0000000..54a8824 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationCollection.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["validationTokens"]; + } else { + return null; + } + } + + /** + * Sets the validationTokens + * Contains an array of JWT tokens generated by Microsoft Graph for the application to validate the origin of the notifications. Microsoft Graph generates a single token for each distinct app and tenant pair for an item if it exists in the value array. Keep in mind that notifications can contain a mix of items for various apps and tenants that subscribed using the same notification URL. Only provided for change notifications with resource data Optional. + * + * @param string $val The value of the validationTokens + * + * @return ChangeNotificationCollection + */ + public function setValidationTokens($val) + { + $this->_propDict["validationTokens"] = $val; + return $this; + } + + /** + * Gets the value + * The set of notifications being sent to the notification URL. Required. + * + * @return ChangeNotification|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\ChangeNotification") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new ChangeNotification($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The set of notifications being sent to the notification URL. Required. + * + * @param ChangeNotification $val The value to assign to the value + * + * @return ChangeNotificationCollection The ChangeNotificationCollection + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationEncryptedContent.php b/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationEncryptedContent.php new file mode 100644 index 0000000..f167a6c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationEncryptedContent.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["data"]; + } else { + return null; + } + } + + /** + * Sets the data + * Base64-encoded encrypted data that produces a full resource respresented as JSON. The data has been encrypted with the provided dataKey using an AES/CBC/PKCS5PADDING cipher suite. + * + * @param string $val The value of the data + * + * @return ChangeNotificationEncryptedContent + */ + public function setData($val) + { + $this->_propDict["data"] = $val; + return $this; + } + /** + * Gets the dataKey + * Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding. + * + * @return string|null The dataKey + */ + public function getDataKey() + { + if (array_key_exists("dataKey", $this->_propDict)) { + return $this->_propDict["dataKey"]; + } else { + return null; + } + } + + /** + * Sets the dataKey + * Base64-encoded symmetric key generated by Microsoft Graph to encrypt the data value and to generate the data signature. This key is encrypted with the certificate public key that was provided during the subscription. It must be decrypted with the certificate private key before it can be used to decrypt the data or verify the signature. This key has been encrypted with the following cipher suite: RSA/ECB/OAEPWithSHA1AndMGF1Padding. + * + * @param string $val The value of the dataKey + * + * @return ChangeNotificationEncryptedContent + */ + public function setDataKey($val) + { + $this->_propDict["dataKey"] = $val; + return $this; + } + /** + * Gets the dataSignature + * Base64-encoded HMAC-SHA256 hash of the data for validation purposes. + * + * @return string|null The dataSignature + */ + public function getDataSignature() + { + if (array_key_exists("dataSignature", $this->_propDict)) { + return $this->_propDict["dataSignature"]; + } else { + return null; + } + } + + /** + * Sets the dataSignature + * Base64-encoded HMAC-SHA256 hash of the data for validation purposes. + * + * @param string $val The value of the dataSignature + * + * @return ChangeNotificationEncryptedContent + */ + public function setDataSignature($val) + { + $this->_propDict["dataSignature"] = $val; + return $this; + } + /** + * Gets the encryptionCertificateId + * ID of the certificate used to encrypt the dataKey. + * + * @return string|null The encryptionCertificateId + */ + public function getEncryptionCertificateId() + { + if (array_key_exists("encryptionCertificateId", $this->_propDict)) { + return $this->_propDict["encryptionCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificateId + * ID of the certificate used to encrypt the dataKey. + * + * @param string $val The value of the encryptionCertificateId + * + * @return ChangeNotificationEncryptedContent + */ + public function setEncryptionCertificateId($val) + { + $this->_propDict["encryptionCertificateId"] = $val; + return $this; + } + /** + * Gets the encryptionCertificateThumbprint + * Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey. + * + * @return string|null The encryptionCertificateThumbprint + */ + public function getEncryptionCertificateThumbprint() + { + if (array_key_exists("encryptionCertificateThumbprint", $this->_propDict)) { + return $this->_propDict["encryptionCertificateThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificateThumbprint + * Hexadecimal representation of the thumbprint of the certificate used to encrypt the dataKey. + * + * @param string $val The value of the encryptionCertificateThumbprint + * + * @return ChangeNotificationEncryptedContent + */ + public function setEncryptionCertificateThumbprint($val) + { + $this->_propDict["encryptionCertificateThumbprint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChangeTrackedEntity.php b/vendor/microsoft/microsoft-graph/src/Model/ChangeTrackedEntity.php new file mode 100644 index 0000000..ed17ddf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChangeTrackedEntity.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ChangeTrackedEntity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the person who last modified the entity. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the person who last modified the entity. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return ChangeTrackedEntity + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return ChangeTrackedEntity + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChangeType.php b/vendor/microsoft/microsoft-graph/src/Model/ChangeType.php new file mode 100644 index 0000000..4573b4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChangeType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read only. Timestamp at which the channel was created. + * + * @param \DateTime $val The createdDateTime + * + * @return Channel + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Optional textual description for the channel. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional textual description for the channel. + * + * @param string $val The description + * + * @return Channel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Channel name as it will appear to the user in Microsoft Teams. + * + * @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 + * Channel name as it will appear to the user in Microsoft Teams. + * + * @param string $val The displayName + * + * @return Channel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the email + * The email address for sending messages to the channel. Read-only. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for sending messages to the channel. Read-only. + * + * @param string $val The email + * + * @return Channel + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the isFavoriteByDefault + * Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false. + * + * @return bool|null The isFavoriteByDefault + */ + public function getIsFavoriteByDefault() + { + if (array_key_exists("isFavoriteByDefault", $this->_propDict)) { + return $this->_propDict["isFavoriteByDefault"]; + } else { + return null; + } + } + + /** + * Sets the isFavoriteByDefault + * Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false. + * + * @param bool $val The isFavoriteByDefault + * + * @return Channel + */ + public function setIsFavoriteByDefault($val) + { + $this->_propDict["isFavoriteByDefault"] = boolval($val); + return $this; + } + + /** + * Gets the membershipType + * The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + * + * @return ChannelMembershipType|null The membershipType + */ + public function getMembershipType() + { + if (array_key_exists("membershipType", $this->_propDict)) { + if (is_a($this->_propDict["membershipType"], "\Microsoft\Graph\Model\ChannelMembershipType") || is_null($this->_propDict["membershipType"])) { + return $this->_propDict["membershipType"]; + } else { + $this->_propDict["membershipType"] = new ChannelMembershipType($this->_propDict["membershipType"]); + return $this->_propDict["membershipType"]; + } + } + return null; + } + + /** + * Sets the membershipType + * The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. + * + * @param ChannelMembershipType $val The membershipType + * + * @return Channel + */ + public function setMembershipType($val) + { + $this->_propDict["membershipType"] = $val; + return $this; + } + + /** + * Gets the webUrl + * A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @param string $val The webUrl + * + * @return Channel + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the filesFolder + * Metadata for the location where the channel's files are stored. + * + * @return DriveItem|null The filesFolder + */ + public function getFilesFolder() + { + if (array_key_exists("filesFolder", $this->_propDict)) { + if (is_a($this->_propDict["filesFolder"], "\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["filesFolder"])) { + return $this->_propDict["filesFolder"]; + } else { + $this->_propDict["filesFolder"] = new DriveItem($this->_propDict["filesFolder"]); + return $this->_propDict["filesFolder"]; + } + } + return null; + } + + /** + * Sets the filesFolder + * Metadata for the location where the channel's files are stored. + * + * @param DriveItem $val The filesFolder + * + * @return Channel + */ + public function setFilesFolder($val) + { + $this->_propDict["filesFolder"] = $val; + return $this; + } + + + /** + * Gets the members + * A collection of membership records associated with the channel. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * A collection of membership records associated with the channel. + * + * @param ConversationMember[] $val The members + * + * @return Channel + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the messages + * A collection of all the messages in the channel. A navigation property. Nullable. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * A collection of all the messages in the channel. A navigation property. Nullable. + * + * @param ChatMessage[] $val The messages + * + * @return Channel + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + + /** + * Gets the tabs + * A collection of all the tabs in the channel. A navigation property. + * + * @return array|null The tabs + */ + public function getTabs() + { + if (array_key_exists("tabs", $this->_propDict)) { + return $this->_propDict["tabs"]; + } else { + return null; + } + } + + /** + * Sets the tabs + * A collection of all the tabs in the channel. A navigation property. + * + * @param TeamsTab[] $val The tabs + * + * @return Channel + */ + public function setTabs($val) + { + $this->_propDict["tabs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelAddedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelAddedEventMessageDetail.php new file mode 100644 index 0000000..f0b8a47 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelAddedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelAddedEventMessageDetail"); + } + + /** + * Gets the channelDisplayName + * Display name of the channel. + * + * @return string|null The channelDisplayName + */ + public function getChannelDisplayName() + { + if (array_key_exists("channelDisplayName", $this->_propDict)) { + return $this->_propDict["channelDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the channelDisplayName + * Display name of the channel. + * + * @param string $val The value of the channelDisplayName + * + * @return ChannelAddedEventMessageDetail + */ + public function setChannelDisplayName($val) + { + $this->_propDict["channelDisplayName"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelAddedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelAddedEventMessageDetail The ChannelAddedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelDeletedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelDeletedEventMessageDetail.php new file mode 100644 index 0000000..9273632 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelDeletedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelDeletedEventMessageDetail"); + } + + /** + * Gets the channelDisplayName + * Display name of the channel. + * + * @return string|null The channelDisplayName + */ + public function getChannelDisplayName() + { + if (array_key_exists("channelDisplayName", $this->_propDict)) { + return $this->_propDict["channelDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the channelDisplayName + * Display name of the channel. + * + * @param string $val The value of the channelDisplayName + * + * @return ChannelDeletedEventMessageDetail + */ + public function setChannelDisplayName($val) + { + $this->_propDict["channelDisplayName"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelDeletedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelDeletedEventMessageDetail The ChannelDeletedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelDescriptionUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelDescriptionUpdatedEventMessageDetail.php new file mode 100644 index 0000000..f0ee23d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelDescriptionUpdatedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.channelDescriptionUpdatedEventMessageDetail"); + } + + /** + * Gets the channelDescription + * The updated description of the channel. + * + * @return string|null The channelDescription + */ + public function getChannelDescription() + { + if (array_key_exists("channelDescription", $this->_propDict)) { + return $this->_propDict["channelDescription"]; + } else { + return null; + } + } + + /** + * Sets the channelDescription + * The updated description of the channel. + * + * @param string $val The value of the channelDescription + * + * @return ChannelDescriptionUpdatedEventMessageDetail + */ + public function setChannelDescription($val) + { + $this->_propDict["channelDescription"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelDescriptionUpdatedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelDescriptionUpdatedEventMessageDetail The ChannelDescriptionUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelIdentity.php new file mode 100644 index 0000000..4cf02b5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelIdentity.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * The identity of the channel in which the message was posted. + * + * @param string $val The value of the channelId + * + * @return ChannelIdentity + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + /** + * Gets the teamId + * The identity of the team in which the message was posted. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * The identity of the team in which the message was posted. + * + * @param string $val The value of the teamId + * + * @return ChannelIdentity + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelMembershipType.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelMembershipType.php new file mode 100644 index 0000000..b49bbf3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelMembershipType.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.channelRenamedEventMessageDetail"); + } + + /** + * Gets the channelDisplayName + * The updated name of the channel. + * + * @return string|null The channelDisplayName + */ + public function getChannelDisplayName() + { + if (array_key_exists("channelDisplayName", $this->_propDict)) { + return $this->_propDict["channelDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the channelDisplayName + * The updated name of the channel. + * + * @param string $val The value of the channelDisplayName + * + * @return ChannelRenamedEventMessageDetail + */ + public function setChannelDisplayName($val) + { + $this->_propDict["channelDisplayName"] = $val; + return $this; + } + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelRenamedEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelRenamedEventMessageDetail The ChannelRenamedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelSetAsFavoriteByDefaultEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelSetAsFavoriteByDefaultEventMessageDetail.php new file mode 100644 index 0000000..291e993 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelSetAsFavoriteByDefaultEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.channelSetAsFavoriteByDefaultEventMessageDetail"); + } + + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelSetAsFavoriteByDefaultEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelSetAsFavoriteByDefaultEventMessageDetail The ChannelSetAsFavoriteByDefaultEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php new file mode 100644 index 0000000..0d3a376 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChannelUnsetAsFavoriteByDefaultEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.channelUnsetAsFavoriteByDefaultEventMessageDetail"); + } + + /** + * Gets the channelId + * Unique identifier of the channel. + * + * @return string|null The channelId + */ + public function getChannelId() + { + if (array_key_exists("channelId", $this->_propDict)) { + return $this->_propDict["channelId"]; + } else { + return null; + } + } + + /** + * Sets the channelId + * Unique identifier of the channel. + * + * @param string $val The value of the channelId + * + * @return ChannelUnsetAsFavoriteByDefaultEventMessageDetail + */ + public function setChannelId($val) + { + $this->_propDict["channelId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChannelUnsetAsFavoriteByDefaultEventMessageDetail The ChannelUnsetAsFavoriteByDefaultEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Chat.php b/vendor/microsoft/microsoft-graph/src/Model/Chat.php new file mode 100644 index 0000000..5e7595a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Chat.php @@ -0,0 +1,366 @@ +_propDict)) { + if (is_a($this->_propDict["chatType"], "\Microsoft\Graph\Model\ChatType") || is_null($this->_propDict["chatType"])) { + return $this->_propDict["chatType"]; + } else { + $this->_propDict["chatType"] = new ChatType($this->_propDict["chatType"]); + return $this->_propDict["chatType"]; + } + } + return null; + } + + /** + * Sets the chatType + * Specifies the type of chat. Possible values are: group, oneOnOne, meeting, unknownFutureValue. + * + * @param ChatType $val The chatType + * + * @return Chat + */ + public function setChatType($val) + { + $this->_propDict["chatType"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time at which the chat was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time at which the chat was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Chat + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Date and time at which the chat was renamed or list of members were last changed. Read-only. + * + * @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 + * Date and time at which the chat was renamed or list of members were last changed. Read-only. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return Chat + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the onlineMeetingInfo + * Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. + * + * @return TeamworkOnlineMeetingInfo|null The onlineMeetingInfo + */ + public function getOnlineMeetingInfo() + { + if (array_key_exists("onlineMeetingInfo", $this->_propDict)) { + if (is_a($this->_propDict["onlineMeetingInfo"], "\Microsoft\Graph\Model\TeamworkOnlineMeetingInfo") || is_null($this->_propDict["onlineMeetingInfo"])) { + return $this->_propDict["onlineMeetingInfo"]; + } else { + $this->_propDict["onlineMeetingInfo"] = new TeamworkOnlineMeetingInfo($this->_propDict["onlineMeetingInfo"]); + return $this->_propDict["onlineMeetingInfo"]; + } + } + return null; + } + + /** + * Sets the onlineMeetingInfo + * Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. + * + * @param TeamworkOnlineMeetingInfo $val The onlineMeetingInfo + * + * @return Chat + */ + public function setOnlineMeetingInfo($val) + { + $this->_propDict["onlineMeetingInfo"] = $val; + return $this; + } + + /** + * Gets the tenantId + * The identifier of the tenant in which the chat was created. Read-only. + * + * @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 + * The identifier of the tenant in which the chat was created. Read-only. + * + * @param string $val The tenantId + * + * @return Chat + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the topic + * (Optional) Subject or topic for the chat. Only available for group chats. + * + * @return string|null The topic + */ + public function getTopic() + { + if (array_key_exists("topic", $this->_propDict)) { + return $this->_propDict["topic"]; + } else { + return null; + } + } + + /** + * Sets the topic + * (Optional) Subject or topic for the chat. Only available for group chats. + * + * @param string $val The topic + * + * @return Chat + */ + public function setTopic($val) + { + $this->_propDict["topic"] = $val; + return $this; + } + + /** + * Gets the webUrl + * The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. + * + * @param string $val The webUrl + * + * @return Chat + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the installedApps + * A collection of all the apps in the chat. Nullable. + * + * @return array|null The installedApps + */ + public function getInstalledApps() + { + if (array_key_exists("installedApps", $this->_propDict)) { + return $this->_propDict["installedApps"]; + } else { + return null; + } + } + + /** + * Sets the installedApps + * A collection of all the apps in the chat. Nullable. + * + * @param TeamsAppInstallation[] $val The installedApps + * + * @return Chat + */ + public function setInstalledApps($val) + { + $this->_propDict["installedApps"] = $val; + return $this; + } + + + /** + * Gets the members + * A collection of all the members in the chat. Nullable. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * A collection of all the members in the chat. Nullable. + * + * @param ConversationMember[] $val The members + * + * @return Chat + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the messages + * A collection of all the messages in the chat. Nullable. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * A collection of all the messages in the chat. Nullable. + * + * @param ChatMessage[] $val The messages + * + * @return Chat + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + + /** + * Gets the tabs + * A collection of all the tabs in the chat. Nullable. + * + * @return array|null The tabs + */ + public function getTabs() + { + if (array_key_exists("tabs", $this->_propDict)) { + return $this->_propDict["tabs"]; + } else { + return null; + } + } + + /** + * Sets the tabs + * A collection of all the tabs in the chat. Nullable. + * + * @param TeamsTab[] $val The tabs + * + * @return Chat + */ + public function setTabs($val) + { + $this->_propDict["tabs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ChatInfo.php new file mode 100644 index 0000000..43191e5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatInfo.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["messageId"]; + } else { + return null; + } + } + + /** + * Sets the messageId + * The unique identifier for a message in a Microsoft Teams channel. + * + * @param string $val The value of the messageId + * + * @return ChatInfo + */ + public function setMessageId($val) + { + $this->_propDict["messageId"] = $val; + return $this; + } + /** + * Gets the replyChainMessageId + * The ID of the reply message. + * + * @return string|null The replyChainMessageId + */ + public function getReplyChainMessageId() + { + if (array_key_exists("replyChainMessageId", $this->_propDict)) { + return $this->_propDict["replyChainMessageId"]; + } else { + return null; + } + } + + /** + * Sets the replyChainMessageId + * The ID of the reply message. + * + * @param string $val The value of the replyChainMessageId + * + * @return ChatInfo + */ + public function setReplyChainMessageId($val) + { + $this->_propDict["replyChainMessageId"] = $val; + return $this; + } + /** + * Gets the threadId + * The unique identifier for a thread in Microsoft Teams. + * + * @return string|null The threadId + */ + public function getThreadId() + { + if (array_key_exists("threadId", $this->_propDict)) { + return $this->_propDict["threadId"]; + } else { + return null; + } + } + + /** + * Sets the threadId + * The unique identifier for a thread in Microsoft Teams. + * + * @param string $val The value of the threadId + * + * @return ChatInfo + */ + public function setThreadId($val) + { + $this->_propDict["threadId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessage.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessage.php new file mode 100644 index 0000000..ee52ef9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessage.php @@ -0,0 +1,743 @@ +_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * References to attached objects like files, tabs, meetings etc. + * + * @param ChatMessageAttachment[] $val The attachments + * + * @return ChatMessage + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + /** + * Gets the body + * Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * Plaintext/HTML representation of the content of the chat message. Representation is specified by the contentType inside the body. The content is always in HTML if the chat message contains a chatMessageMention. + * + * @param ItemBody $val The body + * + * @return ChatMessage + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the channelIdentity + * If the message was sent in a channel, represents identity of the channel. + * + * @return ChannelIdentity|null The channelIdentity + */ + public function getChannelIdentity() + { + if (array_key_exists("channelIdentity", $this->_propDict)) { + if (is_a($this->_propDict["channelIdentity"], "\Microsoft\Graph\Model\ChannelIdentity") || is_null($this->_propDict["channelIdentity"])) { + return $this->_propDict["channelIdentity"]; + } else { + $this->_propDict["channelIdentity"] = new ChannelIdentity($this->_propDict["channelIdentity"]); + return $this->_propDict["channelIdentity"]; + } + } + return null; + } + + /** + * Sets the channelIdentity + * If the message was sent in a channel, represents identity of the channel. + * + * @param ChannelIdentity $val The channelIdentity + * + * @return ChatMessage + */ + public function setChannelIdentity($val) + { + $this->_propDict["channelIdentity"] = $val; + return $this; + } + + /** + * Gets the chatId + * If the message was sent in a chat, represents the identity of the chat. + * + * @return string|null The chatId + */ + public function getChatId() + { + if (array_key_exists("chatId", $this->_propDict)) { + return $this->_propDict["chatId"]; + } else { + return null; + } + } + + /** + * Sets the chatId + * If the message was sent in a chat, represents the identity of the chat. + * + * @param string $val The chatId + * + * @return ChatMessage + */ + public function setChatId($val) + { + $this->_propDict["chatId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp of when the chat message was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp of when the chat message was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ChatMessage + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deletedDateTime + * Read only. Timestamp at which the chat message was deleted, or null if not deleted. + * + * @return \DateTime|null The deletedDateTime + */ + public function getDeletedDateTime() + { + if (array_key_exists("deletedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { + return $this->_propDict["deletedDateTime"]; + } else { + $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); + return $this->_propDict["deletedDateTime"]; + } + } + return null; + } + + /** + * Sets the deletedDateTime + * Read only. Timestamp at which the chat message was deleted, or null if not deleted. + * + * @param \DateTime $val The deletedDateTime + * + * @return ChatMessage + */ + public function setDeletedDateTime($val) + { + $this->_propDict["deletedDateTime"] = $val; + return $this; + } + + /** + * Gets the etag + * Read-only. Version number of the chat message. + * + * @return string|null The etag + */ + public function getEtag() + { + if (array_key_exists("etag", $this->_propDict)) { + return $this->_propDict["etag"]; + } else { + return null; + } + } + + /** + * Sets the etag + * Read-only. Version number of the chat message. + * + * @param string $val The etag + * + * @return ChatMessage + */ + public function setEtag($val) + { + $this->_propDict["etag"] = $val; + return $this; + } + + /** + * Gets the eventDetail + * Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, adding new members. For event messages, the messageType property will be set to systemEventMessage. + * + * @return EventMessageDetail|null The eventDetail + */ + public function getEventDetail() + { + if (array_key_exists("eventDetail", $this->_propDict)) { + if (is_a($this->_propDict["eventDetail"], "\Microsoft\Graph\Model\EventMessageDetail") || is_null($this->_propDict["eventDetail"])) { + return $this->_propDict["eventDetail"]; + } else { + $this->_propDict["eventDetail"] = new EventMessageDetail($this->_propDict["eventDetail"]); + return $this->_propDict["eventDetail"]; + } + } + return null; + } + + /** + * Sets the eventDetail + * Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, adding new members. For event messages, the messageType property will be set to systemEventMessage. + * + * @param EventMessageDetail $val The eventDetail + * + * @return ChatMessage + */ + public function setEventDetail($val) + { + $this->_propDict["eventDetail"] = $val; + return $this; + } + + /** + * Gets the from + * Details of the sender of the chat message. Can only be set during migration. + * + * @return ChatMessageFromIdentitySet|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\ChatMessageFromIdentitySet") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new ChatMessageFromIdentitySet($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * Details of the sender of the chat message. Can only be set during migration. + * + * @param ChatMessageFromIdentitySet $val The from + * + * @return ChatMessage + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance of the chat message. The possible values are: normal, high, urgent. + * + * @return ChatMessageImportance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\ChatMessageImportance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new ChatMessageImportance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance of the chat message. The possible values are: normal, high, urgent. + * + * @param ChatMessageImportance $val The importance + * + * @return ChatMessage + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the lastEditedDateTime + * Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. + * + * @return \DateTime|null The lastEditedDateTime + */ + public function getLastEditedDateTime() + { + if (array_key_exists("lastEditedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastEditedDateTime"], "\DateTime") || is_null($this->_propDict["lastEditedDateTime"])) { + return $this->_propDict["lastEditedDateTime"]; + } else { + $this->_propDict["lastEditedDateTime"] = new \DateTime($this->_propDict["lastEditedDateTime"]); + return $this->_propDict["lastEditedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastEditedDateTime + * Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. + * + * @param \DateTime $val The lastEditedDateTime + * + * @return ChatMessage + */ + public function setLastEditedDateTime($val) + { + $this->_propDict["lastEditedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ChatMessage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the locale + * Locale of the chat message set by the client. Always set to en-us. + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * Locale of the chat message set by the client. Always set to en-us. + * + * @param string $val The locale + * + * @return ChatMessage + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + + + /** + * Gets the mentions + * List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, and tag. + * + * @return array|null The mentions + */ + public function getMentions() + { + if (array_key_exists("mentions", $this->_propDict)) { + return $this->_propDict["mentions"]; + } else { + return null; + } + } + + /** + * Sets the mentions + * List of entities mentioned in the chat message. Supported entities are: user, bot, team, channel, and tag. + * + * @param ChatMessageMention[] $val The mentions + * + * @return ChatMessage + */ + public function setMentions($val) + { + $this->_propDict["mentions"] = $val; + return $this; + } + + /** + * Gets the messageType + * The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage. + * + * @return ChatMessageType|null The messageType + */ + public function getMessageType() + { + if (array_key_exists("messageType", $this->_propDict)) { + if (is_a($this->_propDict["messageType"], "\Microsoft\Graph\Model\ChatMessageType") || is_null($this->_propDict["messageType"])) { + return $this->_propDict["messageType"]; + } else { + $this->_propDict["messageType"] = new ChatMessageType($this->_propDict["messageType"]); + return $this->_propDict["messageType"]; + } + } + return null; + } + + /** + * Sets the messageType + * The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage. + * + * @param ChatMessageType $val The messageType + * + * @return ChatMessage + */ + public function setMessageType($val) + { + $this->_propDict["messageType"] = $val; + return $this; + } + + /** + * Gets the policyViolation + * Defines the properties of a policy violation set by a data loss prevention (DLP) application. + * + * @return ChatMessagePolicyViolation|null The policyViolation + */ + public function getPolicyViolation() + { + if (array_key_exists("policyViolation", $this->_propDict)) { + if (is_a($this->_propDict["policyViolation"], "\Microsoft\Graph\Model\ChatMessagePolicyViolation") || is_null($this->_propDict["policyViolation"])) { + return $this->_propDict["policyViolation"]; + } else { + $this->_propDict["policyViolation"] = new ChatMessagePolicyViolation($this->_propDict["policyViolation"]); + return $this->_propDict["policyViolation"]; + } + } + return null; + } + + /** + * Sets the policyViolation + * Defines the properties of a policy violation set by a data loss prevention (DLP) application. + * + * @param ChatMessagePolicyViolation $val The policyViolation + * + * @return ChatMessage + */ + public function setPolicyViolation($val) + { + $this->_propDict["policyViolation"] = $val; + return $this; + } + + + /** + * Gets the reactions + * Reactions for this chat message (for example, Like). + * + * @return array|null The reactions + */ + public function getReactions() + { + if (array_key_exists("reactions", $this->_propDict)) { + return $this->_propDict["reactions"]; + } else { + return null; + } + } + + /** + * Sets the reactions + * Reactions for this chat message (for example, Like). + * + * @param ChatMessageReaction[] $val The reactions + * + * @return ChatMessage + */ + public function setReactions($val) + { + $this->_propDict["reactions"] = $val; + return $this; + } + + /** + * Gets the replyToId + * Read-only. ID of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels, not chats.) + * + * @return string|null The replyToId + */ + public function getReplyToId() + { + if (array_key_exists("replyToId", $this->_propDict)) { + return $this->_propDict["replyToId"]; + } else { + return null; + } + } + + /** + * Sets the replyToId + * Read-only. ID of the parent chat message or root chat message of the thread. (Only applies to chat messages in channels, not chats.) + * + * @param string $val The replyToId + * + * @return ChatMessage + */ + public function setReplyToId($val) + { + $this->_propDict["replyToId"] = $val; + return $this; + } + + /** + * Gets the subject + * The subject of the chat message, in plaintext. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The subject of the chat message, in plaintext. + * + * @param string $val The subject + * + * @return ChatMessage + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the summary + * Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. + * + * @return string|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + return $this->_propDict["summary"]; + } else { + return null; + } + } + + /** + * Sets the summary + * Summary text of the chat message that could be used for push notifications and summary views or fall back views. Only applies to channel chat messages, not chat messages in a chat. + * + * @param string $val The summary + * + * @return ChatMessage + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Read-only. Link to the message in Microsoft Teams. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Read-only. Link to the message in Microsoft Teams. + * + * @param string $val The webUrl + * + * @return ChatMessage + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the hostedContents + * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * + * @return array|null The hostedContents + */ + public function getHostedContents() + { + if (array_key_exists("hostedContents", $this->_propDict)) { + return $this->_propDict["hostedContents"]; + } else { + return null; + } + } + + /** + * Sets the hostedContents + * Content in a message hosted by Microsoft Teams - for example, images or code snippets. + * + * @param ChatMessageHostedContent[] $val The hostedContents + * + * @return ChatMessage + */ + public function setHostedContents($val) + { + $this->_propDict["hostedContents"] = $val; + return $this; + } + + + /** + * Gets the replies + * Replies for a specified message. Supports $expand for channel messages. + * + * @return array|null The replies + */ + public function getReplies() + { + if (array_key_exists("replies", $this->_propDict)) { + return $this->_propDict["replies"]; + } else { + return null; + } + } + + /** + * Sets the replies + * Replies for a specified message. Supports $expand for channel messages. + * + * @param ChatMessage[] $val The replies + * + * @return ChatMessage + */ + public function setReplies($val) + { + $this->_propDict["replies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageAttachment.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageAttachment.php new file mode 100644 index 0000000..e10dfff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageAttachment.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive. + * + * @param string $val The value of the content + * + * @return ChatMessageAttachment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the contentType + * The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentTypes supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The media type of the content attachment. It can have the following values: reference: Attachment is a link to another file. Populate the contentURL with the link to the object.Any contentTypes supported by the Bot Framework's Attachment objectapplication/vnd.microsoft.card.codesnippet: A code snippet. application/vnd.microsoft.card.announcement: An announcement header. + * + * @param string $val The value of the contentType + * + * @return ChatMessageAttachment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the contentUrl + * URL for the content of the attachment. Supported protocols: http, https, file and data. + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * URL for the content of the attachment. Supported protocols: http, https, file and data. + * + * @param string $val The value of the contentUrl + * + * @return ChatMessageAttachment + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + /** + * Gets the id + * Read-only. Unique id of the attachment. + * + * @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 + * Read-only. Unique id of the attachment. + * + * @param string $val The value of the id + * + * @return ChatMessageAttachment + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * Name of the attachment. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the attachment. + * + * @param string $val The value of the name + * + * @return ChatMessageAttachment + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the thumbnailUrl + * URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user clicks the image, the channel would open the document. + * + * @return string|null The thumbnailUrl + */ + public function getThumbnailUrl() + { + if (array_key_exists("thumbnailUrl", $this->_propDict)) { + return $this->_propDict["thumbnailUrl"]; + } else { + return null; + } + } + + /** + * Sets the thumbnailUrl + * URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user clicks the image, the channel would open the document. + * + * @param string $val The value of the thumbnailUrl + * + * @return ChatMessageAttachment + */ + public function setThumbnailUrl($val) + { + $this->_propDict["thumbnailUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageFromIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageFromIdentitySet.php new file mode 100644 index 0000000..9a09226 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageFromIdentitySet.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding &lt;at id='{index}'&gt; tag in the message body. + * + * @param int $val The value of the id + * + * @return ChatMessageMention + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the mentioned + * The entity (user, application, team, or channel) that was @mentioned. + * + * @return ChatMessageMentionedIdentitySet|null The mentioned + */ + public function getMentioned() + { + if (array_key_exists("mentioned", $this->_propDict)) { + if (is_a($this->_propDict["mentioned"], "\Microsoft\Graph\Model\ChatMessageMentionedIdentitySet") || is_null($this->_propDict["mentioned"])) { + return $this->_propDict["mentioned"]; + } else { + $this->_propDict["mentioned"] = new ChatMessageMentionedIdentitySet($this->_propDict["mentioned"]); + return $this->_propDict["mentioned"]; + } + } + return null; + } + + /** + * Sets the mentioned + * The entity (user, application, team, or channel) that was @mentioned. + * + * @param ChatMessageMentionedIdentitySet $val The value to assign to the mentioned + * + * @return ChatMessageMention The ChatMessageMention + */ + public function setMentioned($val) + { + $this->_propDict["mentioned"] = $val; + return $this; + } + /** + * Gets the mentionText + * String used to represent the mention. For example, a user's display name, a team name. + * + * @return string|null The mentionText + */ + public function getMentionText() + { + if (array_key_exists("mentionText", $this->_propDict)) { + return $this->_propDict["mentionText"]; + } else { + return null; + } + } + + /** + * Sets the mentionText + * String used to represent the mention. For example, a user's display name, a team name. + * + * @param string $val The value of the mentionText + * + * @return ChatMessageMention + */ + public function setMentionText($val) + { + $this->_propDict["mentionText"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageMentionedIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageMentionedIdentitySet.php new file mode 100644 index 0000000..a6e4d2e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageMentionedIdentitySet.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["conversation"], "\Microsoft\Graph\Model\TeamworkConversationIdentity") || is_null($this->_propDict["conversation"])) { + return $this->_propDict["conversation"]; + } else { + $this->_propDict["conversation"] = new TeamworkConversationIdentity($this->_propDict["conversation"]); + return $this->_propDict["conversation"]; + } + } + return null; + } + + /** + * Sets the conversation + * If present, represents a conversation (for example, team or channel) @mentioned in a message. + * + * @param TeamworkConversationIdentity $val The value to assign to the conversation + * + * @return ChatMessageMentionedIdentitySet The ChatMessageMentionedIdentitySet + */ + public function setConversation($val) + { + $this->_propDict["conversation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolation.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolation.php new file mode 100644 index 0000000..cde2917 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolation.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["dlpAction"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationDlpActionTypes") || is_null($this->_propDict["dlpAction"])) { + return $this->_propDict["dlpAction"]; + } else { + $this->_propDict["dlpAction"] = new ChatMessagePolicyViolationDlpActionTypes($this->_propDict["dlpAction"]); + return $this->_propDict["dlpAction"]; + } + } + return null; + } + + /** + * Sets the dlpAction + * The action taken by the DLP provider on the message with sensitive content. Supported values are: NoneNotifySender -- Inform the sender of the violation but allow readers to read the message.BlockAccess -- Block readers from reading the message.BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message. + * + * @param ChatMessagePolicyViolationDlpActionTypes $val The value to assign to the dlpAction + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setDlpAction($val) + { + $this->_propDict["dlpAction"] = $val; + return $this; + } + /** + * Gets the justificationText + * Justification text provided by the sender of the message when overriding a policy violation. + * + * @return string|null The justificationText + */ + public function getJustificationText() + { + if (array_key_exists("justificationText", $this->_propDict)) { + return $this->_propDict["justificationText"]; + } else { + return null; + } + } + + /** + * Sets the justificationText + * Justification text provided by the sender of the message when overriding a policy violation. + * + * @param string $val The value of the justificationText + * + * @return ChatMessagePolicyViolation + */ + public function setJustificationText($val) + { + $this->_propDict["justificationText"] = $val; + return $this; + } + + /** + * Gets the policyTip + * Information to display to the message sender about why the message was flagged as a violation. + * + * @return ChatMessagePolicyViolationPolicyTip|null The policyTip + */ + public function getPolicyTip() + { + if (array_key_exists("policyTip", $this->_propDict)) { + if (is_a($this->_propDict["policyTip"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationPolicyTip") || is_null($this->_propDict["policyTip"])) { + return $this->_propDict["policyTip"]; + } else { + $this->_propDict["policyTip"] = new ChatMessagePolicyViolationPolicyTip($this->_propDict["policyTip"]); + return $this->_propDict["policyTip"]; + } + } + return null; + } + + /** + * Sets the policyTip + * Information to display to the message sender about why the message was flagged as a violation. + * + * @param ChatMessagePolicyViolationPolicyTip $val The value to assign to the policyTip + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setPolicyTip($val) + { + $this->_propDict["policyTip"] = $val; + return $this; + } + + /** + * Gets the userAction + * Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. + * + * @return ChatMessagePolicyViolationUserActionTypes|null The userAction + */ + public function getUserAction() + { + if (array_key_exists("userAction", $this->_propDict)) { + if (is_a($this->_propDict["userAction"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationUserActionTypes") || is_null($this->_propDict["userAction"])) { + return $this->_propDict["userAction"]; + } else { + $this->_propDict["userAction"] = new ChatMessagePolicyViolationUserActionTypes($this->_propDict["userAction"]); + return $this->_propDict["userAction"]; + } + } + return null; + } + + /** + * Sets the userAction + * Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. + * + * @param ChatMessagePolicyViolationUserActionTypes $val The value to assign to the userAction + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setUserAction($val) + { + $this->_propDict["userAction"] = $val; + return $this; + } + + /** + * Gets the verdictDetails + * Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. + * + * @return ChatMessagePolicyViolationVerdictDetailsTypes|null The verdictDetails + */ + public function getVerdictDetails() + { + if (array_key_exists("verdictDetails", $this->_propDict)) { + if (is_a($this->_propDict["verdictDetails"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationVerdictDetailsTypes") || is_null($this->_propDict["verdictDetails"])) { + return $this->_propDict["verdictDetails"]; + } else { + $this->_propDict["verdictDetails"] = new ChatMessagePolicyViolationVerdictDetailsTypes($this->_propDict["verdictDetails"]); + return $this->_propDict["verdictDetails"]; + } + } + return null; + } + + /** + * Sets the verdictDetails + * Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. + * + * @param ChatMessagePolicyViolationVerdictDetailsTypes $val The value to assign to the verdictDetails + * + * @return ChatMessagePolicyViolation The ChatMessagePolicyViolation + */ + public function setVerdictDetails($val) + { + $this->_propDict["verdictDetails"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationDlpActionTypes.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationDlpActionTypes.php new file mode 100644 index 0000000..f88caa0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationDlpActionTypes.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["complianceUrl"]; + } else { + return null; + } + } + + /** + * Sets the complianceUrl + * The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats) + * + * @param string $val The value of the complianceUrl + * + * @return ChatMessagePolicyViolationPolicyTip + */ + public function setComplianceUrl($val) + { + $this->_propDict["complianceUrl"] = $val; + return $this; + } + /** + * Gets the generalText + * Explanatory text shown to the sender of the message. + * + * @return string|null The generalText + */ + public function getGeneralText() + { + if (array_key_exists("generalText", $this->_propDict)) { + return $this->_propDict["generalText"]; + } else { + return null; + } + } + + /** + * Sets the generalText + * Explanatory text shown to the sender of the message. + * + * @param string $val The value of the generalText + * + * @return ChatMessagePolicyViolationPolicyTip + */ + public function setGeneralText($val) + { + $this->_propDict["generalText"] = $val; + return $this; + } + /** + * Gets the matchedConditionDescriptions + * The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'. + * + * @return string|null The matchedConditionDescriptions + */ + public function getMatchedConditionDescriptions() + { + if (array_key_exists("matchedConditionDescriptions", $this->_propDict)) { + return $this->_propDict["matchedConditionDescriptions"]; + } else { + return null; + } + } + + /** + * Sets the matchedConditionDescriptions + * The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'. + * + * @param string $val The value of the matchedConditionDescriptions + * + * @return ChatMessagePolicyViolationPolicyTip + */ + public function setMatchedConditionDescriptions($val) + { + $this->_propDict["matchedConditionDescriptions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationUserActionTypes.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationUserActionTypes.php new file mode 100644 index 0000000..0625b5a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationUserActionTypes.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ChatMessageReaction The ChatMessageReaction + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the reactionType + * Supported values are like, angry, sad, laugh, heart, surprised. + * + * @return string|null The reactionType + */ + public function getReactionType() + { + if (array_key_exists("reactionType", $this->_propDict)) { + return $this->_propDict["reactionType"]; + } else { + return null; + } + } + + /** + * Sets the reactionType + * Supported values are like, angry, sad, laugh, heart, surprised. + * + * @param string $val The value of the reactionType + * + * @return ChatMessageReaction + */ + public function setReactionType($val) + { + $this->_propDict["reactionType"] = $val; + return $this; + } + + /** + * Gets the user + * The user who reacted to the message. + * + * @return ChatMessageReactionIdentitySet|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\ChatMessageReactionIdentitySet") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new ChatMessageReactionIdentitySet($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * The user who reacted to the message. + * + * @param ChatMessageReactionIdentitySet $val The value to assign to the user + * + * @return ChatMessageReaction The ChatMessageReaction + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageReactionIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageReactionIdentitySet.php new file mode 100644 index 0000000..81aa1ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageReactionIdentitySet.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.chatRenamedEventMessageDetail"); + } + + /** + * Gets the chatDisplayName + * The updated name of the chat. + * + * @return string|null The chatDisplayName + */ + public function getChatDisplayName() + { + if (array_key_exists("chatDisplayName", $this->_propDict)) { + return $this->_propDict["chatDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the chatDisplayName + * The updated name of the chat. + * + * @param string $val The value of the chatDisplayName + * + * @return ChatRenamedEventMessageDetail + */ + public function setChatDisplayName($val) + { + $this->_propDict["chatDisplayName"] = $val; + return $this; + } + /** + * Gets the chatId + * Unique identifier of the chat. + * + * @return string|null The chatId + */ + public function getChatId() + { + if (array_key_exists("chatId", $this->_propDict)) { + return $this->_propDict["chatId"]; + } else { + return null; + } + } + + /** + * Sets the chatId + * Unique identifier of the chat. + * + * @param string $val The value of the chatId + * + * @return ChatRenamedEventMessageDetail + */ + public function setChatId($val) + { + $this->_propDict["chatId"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ChatRenamedEventMessageDetail The ChatRenamedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChatType.php b/vendor/microsoft/microsoft-graph/src/Model/ChatType.php new file mode 100644 index 0000000..a651cbf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChatType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["checkedDateTime"], "\DateTime") || is_null($this->_propDict["checkedDateTime"])) { + return $this->_propDict["checkedDateTime"]; + } else { + $this->_propDict["checkedDateTime"] = new \DateTime($this->_propDict["checkedDateTime"]); + return $this->_propDict["checkedDateTime"]; + } + } + return null; + } + + /** + * Sets the checkedDateTime + * The date and time when the checklistItem was finished. + * + * @param \DateTime $val The checkedDateTime + * + * @return ChecklistItem + */ + public function setCheckedDateTime($val) + { + $this->_propDict["checkedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the checklistItem was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the checklistItem was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ChecklistItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Field indicating the title of checklistItem. + * + * @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 + * Field indicating the title of checklistItem. + * + * @param string $val The displayName + * + * @return ChecklistItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isChecked + * State indicating whether the item is checked off or not. + * + * @return bool|null The isChecked + */ + public function getIsChecked() + { + if (array_key_exists("isChecked", $this->_propDict)) { + return $this->_propDict["isChecked"]; + } else { + return null; + } + } + + /** + * Sets the isChecked + * State indicating whether the item is checked off or not. + * + * @param bool $val The isChecked + * + * @return ChecklistItem + */ + public function setIsChecked($val) + { + $this->_propDict["isChecked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ChoiceColumn.php b/vendor/microsoft/microsoft-graph/src/Model/ChoiceColumn.php new file mode 100644 index 0000000..4662205 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ChoiceColumn.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["allowTextEntry"]; + } else { + return null; + } + } + + /** + * Sets the allowTextEntry + * If true, allows custom values that aren't in the configured choices. + * + * @param bool $val The value of the allowTextEntry + * + * @return ChoiceColumn + */ + public function setAllowTextEntry($val) + { + $this->_propDict["allowTextEntry"] = $val; + return $this; + } + /** + * Gets the choices + * The list of values available for this column. + * + * @return string|null The choices + */ + public function getChoices() + { + if (array_key_exists("choices", $this->_propDict)) { + return $this->_propDict["choices"]; + } else { + return null; + } + } + + /** + * Sets the choices + * The list of values available for this column. + * + * @param string $val The value of the choices + * + * @return ChoiceColumn + */ + public function setChoices($val) + { + $this->_propDict["choices"] = $val; + return $this; + } + /** + * Gets the displayAs + * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons + * + * @return string|null The displayAs + */ + public function getDisplayAs() + { + if (array_key_exists("displayAs", $this->_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons + * + * @param string $val The value of the displayAs + * + * @return ChoiceColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ClaimsMappingPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/ClaimsMappingPolicy.php new file mode 100644 index 0000000..48a627c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ClaimsMappingPolicy.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.clientCertificateAuthentication"); + } + + + /** + * Gets the certificateList + * The list of certificates uploaded for this API connector. + * + * @return Pkcs12CertificateInformation|null The certificateList + */ + public function getCertificateList() + { + if (array_key_exists("certificateList", $this->_propDict)) { + if (is_a($this->_propDict["certificateList"], "\Microsoft\Graph\Model\Pkcs12CertificateInformation") || is_null($this->_propDict["certificateList"])) { + return $this->_propDict["certificateList"]; + } else { + $this->_propDict["certificateList"] = new Pkcs12CertificateInformation($this->_propDict["certificateList"]); + return $this->_propDict["certificateList"]; + } + } + return null; + } + + /** + * Sets the certificateList + * The list of certificates uploaded for this API connector. + * + * @param Pkcs12CertificateInformation $val The value to assign to the certificateList + * + * @return ClientCertificateAuthentication The ClientCertificateAuthentication + */ + public function setCertificateList($val) + { + $this->_propDict["certificateList"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ClonableTeamParts.php b/vendor/microsoft/microsoft-graph/src/Model/ClonableTeamParts.php new file mode 100644 index 0000000..fd8182b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ClonableTeamParts.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["cloudAppSecurityType"], "\Microsoft\Graph\Model\CloudAppSecuritySessionControlType") || is_null($this->_propDict["cloudAppSecurityType"])) { + return $this->_propDict["cloudAppSecurityType"]; + } else { + $this->_propDict["cloudAppSecurityType"] = new CloudAppSecuritySessionControlType($this->_propDict["cloudAppSecurityType"]); + return $this->_propDict["cloudAppSecurityType"]; + } + } + return null; + } + + /** + * Sets the cloudAppSecurityType + * Possible values are: mcasConfigured, monitorOnly, blockDownloads. To learn more about these values, Deploy Conditional Access App Control for featured apps. + * + * @param CloudAppSecuritySessionControlType $val The value to assign to the cloudAppSecurityType + * + * @return CloudAppSecuritySessionControl The CloudAppSecuritySessionControl + */ + public function setCloudAppSecurityType($val) + { + $this->_propDict["cloudAppSecurityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CloudAppSecuritySessionControlType.php b/vendor/microsoft/microsoft-graph/src/Model/CloudAppSecuritySessionControlType.php new file mode 100644 index 0000000..49933c5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CloudAppSecuritySessionControlType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["destinationServiceIp"]; + } else { + return null; + } + } + + /** + * Sets the destinationServiceIp + * Destination IP Address of the connection to the cloud application/service. + * + * @param string $val The value of the destinationServiceIp + * + * @return CloudAppSecurityState + */ + public function setDestinationServiceIp($val) + { + $this->_propDict["destinationServiceIp"] = $val; + return $this; + } + /** + * Gets the destinationServiceName + * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.). + * + * @return string|null The destinationServiceName + */ + public function getDestinationServiceName() + { + if (array_key_exists("destinationServiceName", $this->_propDict)) { + return $this->_propDict["destinationServiceName"]; + } else { + return null; + } + } + + /** + * Sets the destinationServiceName + * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.). + * + * @param string $val The value of the destinationServiceName + * + * @return CloudAppSecurityState + */ + public function setDestinationServiceName($val) + { + $this->_propDict["destinationServiceName"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return CloudAppSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CloudCommunications.php b/vendor/microsoft/microsoft-graph/src/Model/CloudCommunications.php new file mode 100644 index 0000000..448362d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CloudCommunications.php @@ -0,0 +1,139 @@ +_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 callRecords + * + * @return array|null The callRecords + */ + public function getCallRecords() + { + if (array_key_exists("callRecords", $this->_propDict)) { + return $this->_propDict["callRecords"]; + } else { + return null; + } + } + + /** + * Sets the callRecords + * + * @param \Microsoft\Graph\CallRecords\Model\CallRecord[] $val The callRecords + * + * @return CloudCommunications + */ + public function setCallRecords($val) + { + $this->_propDict["callRecords"] = $val; + return $this; + } + + + /** + * Gets the onlineMeetings + * + * @return array|null The onlineMeetings + */ + public function getOnlineMeetings() + { + if (array_key_exists("onlineMeetings", $this->_propDict)) { + return $this->_propDict["onlineMeetings"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetings + * + * @param OnlineMeeting[] $val The onlineMeetings + * + * @return CloudCommunications + */ + public function setOnlineMeetings($val) + { + $this->_propDict["onlineMeetings"] = $val; + return $this; + } + + + /** + * Gets the presences + * + * @return array|null The presences + */ + public function getPresences() + { + if (array_key_exists("presences", $this->_propDict)) { + return $this->_propDict["presences"]; + } else { + return null; + } + } + + /** + * Sets the presences + * + * @param Presence[] $val The presences + * + * @return CloudCommunications + */ + public function setPresences($val) + { + $this->_propDict["presences"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ColumnDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/ColumnDefinition.php new file mode 100644 index 0000000..2e1fb1d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ColumnDefinition.php @@ -0,0 +1,1031 @@ +_propDict)) { + if (is_a($this->_propDict["boolean"], "\Microsoft\Graph\Model\BooleanColumn") || is_null($this->_propDict["boolean"])) { + return $this->_propDict["boolean"]; + } else { + $this->_propDict["boolean"] = new BooleanColumn($this->_propDict["boolean"]); + return $this->_propDict["boolean"]; + } + } + return null; + } + + /** + * Sets the boolean + * This column stores boolean values. + * + * @param BooleanColumn $val The boolean + * + * @return ColumnDefinition + */ + public function setBoolean($val) + { + $this->_propDict["boolean"] = $val; + return $this; + } + + /** + * Gets the calculated + * This column's data is calculated based on other columns. + * + * @return CalculatedColumn|null The calculated + */ + public function getCalculated() + { + if (array_key_exists("calculated", $this->_propDict)) { + if (is_a($this->_propDict["calculated"], "\Microsoft\Graph\Model\CalculatedColumn") || is_null($this->_propDict["calculated"])) { + return $this->_propDict["calculated"]; + } else { + $this->_propDict["calculated"] = new CalculatedColumn($this->_propDict["calculated"]); + return $this->_propDict["calculated"]; + } + } + return null; + } + + /** + * Sets the calculated + * This column's data is calculated based on other columns. + * + * @param CalculatedColumn $val The calculated + * + * @return ColumnDefinition + */ + public function setCalculated($val) + { + $this->_propDict["calculated"] = $val; + return $this; + } + + /** + * Gets the choice + * This column stores data from a list of choices. + * + * @return ChoiceColumn|null The choice + */ + public function getChoice() + { + if (array_key_exists("choice", $this->_propDict)) { + if (is_a($this->_propDict["choice"], "\Microsoft\Graph\Model\ChoiceColumn") || is_null($this->_propDict["choice"])) { + return $this->_propDict["choice"]; + } else { + $this->_propDict["choice"] = new ChoiceColumn($this->_propDict["choice"]); + return $this->_propDict["choice"]; + } + } + return null; + } + + /** + * Sets the choice + * This column stores data from a list of choices. + * + * @param ChoiceColumn $val The choice + * + * @return ColumnDefinition + */ + public function setChoice($val) + { + $this->_propDict["choice"] = $val; + return $this; + } + + /** + * Gets the columnGroup + * For site columns, the name of the group this column belongs to. Helps organize related columns. + * + * @return string|null The columnGroup + */ + public function getColumnGroup() + { + if (array_key_exists("columnGroup", $this->_propDict)) { + return $this->_propDict["columnGroup"]; + } else { + return null; + } + } + + /** + * Sets the columnGroup + * For site columns, the name of the group this column belongs to. Helps organize related columns. + * + * @param string $val The columnGroup + * + * @return ColumnDefinition + */ + public function setColumnGroup($val) + { + $this->_propDict["columnGroup"] = $val; + return $this; + } + + /** + * Gets the contentApprovalStatus + * This column stores content approval status. + * + * @return ContentApprovalStatusColumn|null The contentApprovalStatus + */ + public function getContentApprovalStatus() + { + if (array_key_exists("contentApprovalStatus", $this->_propDict)) { + if (is_a($this->_propDict["contentApprovalStatus"], "\Microsoft\Graph\Model\ContentApprovalStatusColumn") || is_null($this->_propDict["contentApprovalStatus"])) { + return $this->_propDict["contentApprovalStatus"]; + } else { + $this->_propDict["contentApprovalStatus"] = new ContentApprovalStatusColumn($this->_propDict["contentApprovalStatus"]); + return $this->_propDict["contentApprovalStatus"]; + } + } + return null; + } + + /** + * Sets the contentApprovalStatus + * This column stores content approval status. + * + * @param ContentApprovalStatusColumn $val The contentApprovalStatus + * + * @return ColumnDefinition + */ + public function setContentApprovalStatus($val) + { + $this->_propDict["contentApprovalStatus"] = $val; + return $this; + } + + /** + * Gets the currency + * This column stores currency values. + * + * @return CurrencyColumn|null The currency + */ + public function getCurrency() + { + if (array_key_exists("currency", $this->_propDict)) { + if (is_a($this->_propDict["currency"], "\Microsoft\Graph\Model\CurrencyColumn") || is_null($this->_propDict["currency"])) { + return $this->_propDict["currency"]; + } else { + $this->_propDict["currency"] = new CurrencyColumn($this->_propDict["currency"]); + return $this->_propDict["currency"]; + } + } + return null; + } + + /** + * Sets the currency + * This column stores currency values. + * + * @param CurrencyColumn $val The currency + * + * @return ColumnDefinition + */ + public function setCurrency($val) + { + $this->_propDict["currency"] = $val; + return $this; + } + + /** + * Gets the dateTime + * This column stores DateTime values. + * + * @return DateTimeColumn|null The dateTime + */ + public function getDateTime() + { + if (array_key_exists("dateTime", $this->_propDict)) { + if (is_a($this->_propDict["dateTime"], "\Microsoft\Graph\Model\DateTimeColumn") || is_null($this->_propDict["dateTime"])) { + return $this->_propDict["dateTime"]; + } else { + $this->_propDict["dateTime"] = new DateTimeColumn($this->_propDict["dateTime"]); + return $this->_propDict["dateTime"]; + } + } + return null; + } + + /** + * Sets the dateTime + * This column stores DateTime values. + * + * @param DateTimeColumn $val The dateTime + * + * @return ColumnDefinition + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + + /** + * Gets the defaultValue + * The default value for this column. + * + * @return DefaultColumnValue|null The defaultValue + */ + public function getDefaultValue() + { + if (array_key_exists("defaultValue", $this->_propDict)) { + if (is_a($this->_propDict["defaultValue"], "\Microsoft\Graph\Model\DefaultColumnValue") || is_null($this->_propDict["defaultValue"])) { + return $this->_propDict["defaultValue"]; + } else { + $this->_propDict["defaultValue"] = new DefaultColumnValue($this->_propDict["defaultValue"]); + return $this->_propDict["defaultValue"]; + } + } + return null; + } + + /** + * Sets the defaultValue + * The default value for this column. + * + * @param DefaultColumnValue $val The defaultValue + * + * @return ColumnDefinition + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + + /** + * Gets the description + * The user-facing description of the column. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The user-facing description of the column. + * + * @param string $val The description + * + * @return ColumnDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The user-facing name of the column. + * + * @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 + * The user-facing name of the column. + * + * @param string $val The displayName + * + * @return ColumnDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enforceUniqueValues + * If true, no two list items may have the same value for this column. + * + * @return bool|null The enforceUniqueValues + */ + public function getEnforceUniqueValues() + { + if (array_key_exists("enforceUniqueValues", $this->_propDict)) { + return $this->_propDict["enforceUniqueValues"]; + } else { + return null; + } + } + + /** + * Sets the enforceUniqueValues + * If true, no two list items may have the same value for this column. + * + * @param bool $val The enforceUniqueValues + * + * @return ColumnDefinition + */ + public function setEnforceUniqueValues($val) + { + $this->_propDict["enforceUniqueValues"] = boolval($val); + return $this; + } + + /** + * Gets the geolocation + * This column stores a geolocation. + * + * @return GeolocationColumn|null The geolocation + */ + public function getGeolocation() + { + if (array_key_exists("geolocation", $this->_propDict)) { + if (is_a($this->_propDict["geolocation"], "\Microsoft\Graph\Model\GeolocationColumn") || is_null($this->_propDict["geolocation"])) { + return $this->_propDict["geolocation"]; + } else { + $this->_propDict["geolocation"] = new GeolocationColumn($this->_propDict["geolocation"]); + return $this->_propDict["geolocation"]; + } + } + return null; + } + + /** + * Sets the geolocation + * This column stores a geolocation. + * + * @param GeolocationColumn $val The geolocation + * + * @return ColumnDefinition + */ + public function setGeolocation($val) + { + $this->_propDict["geolocation"] = $val; + return $this; + } + + /** + * Gets the hidden + * Specifies whether the column is displayed in the user interface. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Specifies whether the column is displayed in the user interface. + * + * @param bool $val The hidden + * + * @return ColumnDefinition + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = boolval($val); + return $this; + } + + /** + * Gets the hyperlinkOrPicture + * This column stores hyperlink or picture values. + * + * @return HyperlinkOrPictureColumn|null The hyperlinkOrPicture + */ + public function getHyperlinkOrPicture() + { + if (array_key_exists("hyperlinkOrPicture", $this->_propDict)) { + if (is_a($this->_propDict["hyperlinkOrPicture"], "\Microsoft\Graph\Model\HyperlinkOrPictureColumn") || is_null($this->_propDict["hyperlinkOrPicture"])) { + return $this->_propDict["hyperlinkOrPicture"]; + } else { + $this->_propDict["hyperlinkOrPicture"] = new HyperlinkOrPictureColumn($this->_propDict["hyperlinkOrPicture"]); + return $this->_propDict["hyperlinkOrPicture"]; + } + } + return null; + } + + /** + * Sets the hyperlinkOrPicture + * This column stores hyperlink or picture values. + * + * @param HyperlinkOrPictureColumn $val The hyperlinkOrPicture + * + * @return ColumnDefinition + */ + public function setHyperlinkOrPicture($val) + { + $this->_propDict["hyperlinkOrPicture"] = $val; + return $this; + } + + /** + * Gets the indexed + * Specifies whether the column values can used for sorting and searching. + * + * @return bool|null The indexed + */ + public function getIndexed() + { + if (array_key_exists("indexed", $this->_propDict)) { + return $this->_propDict["indexed"]; + } else { + return null; + } + } + + /** + * Sets the indexed + * Specifies whether the column values can used for sorting and searching. + * + * @param bool $val The indexed + * + * @return ColumnDefinition + */ + public function setIndexed($val) + { + $this->_propDict["indexed"] = boolval($val); + return $this; + } + + /** + * Gets the isDeletable + * Indicates whether this column can be deleted. + * + * @return bool|null The isDeletable + */ + public function getIsDeletable() + { + if (array_key_exists("isDeletable", $this->_propDict)) { + return $this->_propDict["isDeletable"]; + } else { + return null; + } + } + + /** + * Sets the isDeletable + * Indicates whether this column can be deleted. + * + * @param bool $val The isDeletable + * + * @return ColumnDefinition + */ + public function setIsDeletable($val) + { + $this->_propDict["isDeletable"] = boolval($val); + return $this; + } + + /** + * Gets the isReorderable + * Indicates whether values in the column can be reordered. Read-only. + * + * @return bool|null The isReorderable + */ + public function getIsReorderable() + { + if (array_key_exists("isReorderable", $this->_propDict)) { + return $this->_propDict["isReorderable"]; + } else { + return null; + } + } + + /** + * Sets the isReorderable + * Indicates whether values in the column can be reordered. Read-only. + * + * @param bool $val The isReorderable + * + * @return ColumnDefinition + */ + public function setIsReorderable($val) + { + $this->_propDict["isReorderable"] = boolval($val); + return $this; + } + + /** + * Gets the isSealed + * Specifies whether the column can be changed. + * + * @return bool|null The isSealed + */ + public function getIsSealed() + { + if (array_key_exists("isSealed", $this->_propDict)) { + return $this->_propDict["isSealed"]; + } else { + return null; + } + } + + /** + * Sets the isSealed + * Specifies whether the column can be changed. + * + * @param bool $val The isSealed + * + * @return ColumnDefinition + */ + public function setIsSealed($val) + { + $this->_propDict["isSealed"] = boolval($val); + return $this; + } + + /** + * Gets the lookup + * This column's data is looked up from another source in the site. + * + * @return LookupColumn|null The lookup + */ + public function getLookup() + { + if (array_key_exists("lookup", $this->_propDict)) { + if (is_a($this->_propDict["lookup"], "\Microsoft\Graph\Model\LookupColumn") || is_null($this->_propDict["lookup"])) { + return $this->_propDict["lookup"]; + } else { + $this->_propDict["lookup"] = new LookupColumn($this->_propDict["lookup"]); + return $this->_propDict["lookup"]; + } + } + return null; + } + + /** + * Sets the lookup + * This column's data is looked up from another source in the site. + * + * @param LookupColumn $val The lookup + * + * @return ColumnDefinition + */ + public function setLookup($val) + { + $this->_propDict["lookup"] = $val; + return $this; + } + + /** + * Gets the name + * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. + * + * @param string $val The name + * + * @return ColumnDefinition + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the number + * This column stores number values. + * + * @return NumberColumn|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + if (is_a($this->_propDict["number"], "\Microsoft\Graph\Model\NumberColumn") || is_null($this->_propDict["number"])) { + return $this->_propDict["number"]; + } else { + $this->_propDict["number"] = new NumberColumn($this->_propDict["number"]); + return $this->_propDict["number"]; + } + } + return null; + } + + /** + * Sets the number + * This column stores number values. + * + * @param NumberColumn $val The number + * + * @return ColumnDefinition + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + + /** + * Gets the personOrGroup + * This column stores Person or Group values. + * + * @return PersonOrGroupColumn|null The personOrGroup + */ + public function getPersonOrGroup() + { + if (array_key_exists("personOrGroup", $this->_propDict)) { + if (is_a($this->_propDict["personOrGroup"], "\Microsoft\Graph\Model\PersonOrGroupColumn") || is_null($this->_propDict["personOrGroup"])) { + return $this->_propDict["personOrGroup"]; + } else { + $this->_propDict["personOrGroup"] = new PersonOrGroupColumn($this->_propDict["personOrGroup"]); + return $this->_propDict["personOrGroup"]; + } + } + return null; + } + + /** + * Sets the personOrGroup + * This column stores Person or Group values. + * + * @param PersonOrGroupColumn $val The personOrGroup + * + * @return ColumnDefinition + */ + public function setPersonOrGroup($val) + { + $this->_propDict["personOrGroup"] = $val; + return $this; + } + + /** + * Gets the propagateChanges + * If true, changes to this column will be propagated to lists that implement the column. + * + * @return bool|null The propagateChanges + */ + public function getPropagateChanges() + { + if (array_key_exists("propagateChanges", $this->_propDict)) { + return $this->_propDict["propagateChanges"]; + } else { + return null; + } + } + + /** + * Sets the propagateChanges + * If true, changes to this column will be propagated to lists that implement the column. + * + * @param bool $val The propagateChanges + * + * @return ColumnDefinition + */ + public function setPropagateChanges($val) + { + $this->_propDict["propagateChanges"] = boolval($val); + return $this; + } + + /** + * Gets the readOnly + * Specifies whether the column values can be modified. + * + * @return bool|null The readOnly + */ + public function getReadOnly() + { + if (array_key_exists("readOnly", $this->_propDict)) { + return $this->_propDict["readOnly"]; + } else { + return null; + } + } + + /** + * Sets the readOnly + * Specifies whether the column values can be modified. + * + * @param bool $val The readOnly + * + * @return ColumnDefinition + */ + public function setReadOnly($val) + { + $this->_propDict["readOnly"] = boolval($val); + return $this; + } + + /** + * Gets the required + * Specifies whether the column value isn't optional. + * + * @return bool|null The required + */ + public function getRequired() + { + if (array_key_exists("required", $this->_propDict)) { + return $this->_propDict["required"]; + } else { + return null; + } + } + + /** + * Sets the required + * Specifies whether the column value isn't optional. + * + * @param bool $val The required + * + * @return ColumnDefinition + */ + public function setRequired($val) + { + $this->_propDict["required"] = boolval($val); + return $this; + } + + /** + * Gets the sourceContentType + * ContentType from which this column is inherited from. Used only to fetch contentTypes columns. + * + * @return ContentTypeInfo|null The sourceContentType + */ + public function getSourceContentType() + { + if (array_key_exists("sourceContentType", $this->_propDict)) { + if (is_a($this->_propDict["sourceContentType"], "\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["sourceContentType"])) { + return $this->_propDict["sourceContentType"]; + } else { + $this->_propDict["sourceContentType"] = new ContentTypeInfo($this->_propDict["sourceContentType"]); + return $this->_propDict["sourceContentType"]; + } + } + return null; + } + + /** + * Sets the sourceContentType + * ContentType from which this column is inherited from. Used only to fetch contentTypes columns. + * + * @param ContentTypeInfo $val The sourceContentType + * + * @return ColumnDefinition + */ + public function setSourceContentType($val) + { + $this->_propDict["sourceContentType"] = $val; + return $this; + } + + /** + * Gets the term + * This column stores taxonomy terms. + * + * @return TermColumn|null The term + */ + public function getTerm() + { + if (array_key_exists("term", $this->_propDict)) { + if (is_a($this->_propDict["term"], "\Microsoft\Graph\Model\TermColumn") || is_null($this->_propDict["term"])) { + return $this->_propDict["term"]; + } else { + $this->_propDict["term"] = new TermColumn($this->_propDict["term"]); + return $this->_propDict["term"]; + } + } + return null; + } + + /** + * Sets the term + * This column stores taxonomy terms. + * + * @param TermColumn $val The term + * + * @return ColumnDefinition + */ + public function setTerm($val) + { + $this->_propDict["term"] = $val; + return $this; + } + + /** + * Gets the text + * This column stores text values. + * + * @return TextColumn|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + if (is_a($this->_propDict["text"], "\Microsoft\Graph\Model\TextColumn") || is_null($this->_propDict["text"])) { + return $this->_propDict["text"]; + } else { + $this->_propDict["text"] = new TextColumn($this->_propDict["text"]); + return $this->_propDict["text"]; + } + } + return null; + } + + /** + * Sets the text + * This column stores text values. + * + * @param TextColumn $val The text + * + * @return ColumnDefinition + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the thumbnail + * This column stores thumbnail values. + * + * @return ThumbnailColumn|null The thumbnail + */ + public function getThumbnail() + { + if (array_key_exists("thumbnail", $this->_propDict)) { + if (is_a($this->_propDict["thumbnail"], "\Microsoft\Graph\Model\ThumbnailColumn") || is_null($this->_propDict["thumbnail"])) { + return $this->_propDict["thumbnail"]; + } else { + $this->_propDict["thumbnail"] = new ThumbnailColumn($this->_propDict["thumbnail"]); + return $this->_propDict["thumbnail"]; + } + } + return null; + } + + /** + * Sets the thumbnail + * This column stores thumbnail values. + * + * @param ThumbnailColumn $val The thumbnail + * + * @return ColumnDefinition + */ + public function setThumbnail($val) + { + $this->_propDict["thumbnail"] = $val; + return $this; + } + + /** + * Gets the type + * For site columns, the type of column. Read-only. + * + * @return ColumnTypes|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\ColumnTypes") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ColumnTypes($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * For site columns, the type of column. Read-only. + * + * @param ColumnTypes $val The type + * + * @return ColumnDefinition + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the validation + * This column stores validation formula and message for the column. + * + * @return ColumnValidation|null The validation + */ + public function getValidation() + { + if (array_key_exists("validation", $this->_propDict)) { + if (is_a($this->_propDict["validation"], "\Microsoft\Graph\Model\ColumnValidation") || is_null($this->_propDict["validation"])) { + return $this->_propDict["validation"]; + } else { + $this->_propDict["validation"] = new ColumnValidation($this->_propDict["validation"]); + return $this->_propDict["validation"]; + } + } + return null; + } + + /** + * Sets the validation + * This column stores validation formula and message for the column. + * + * @param ColumnValidation $val The validation + * + * @return ColumnDefinition + */ + public function setValidation($val) + { + $this->_propDict["validation"] = $val; + return $this; + } + + /** + * Gets the sourceColumn + * The source column for content type column. + * + * @return ColumnDefinition|null The sourceColumn + */ + public function getSourceColumn() + { + if (array_key_exists("sourceColumn", $this->_propDict)) { + if (is_a($this->_propDict["sourceColumn"], "\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["sourceColumn"])) { + return $this->_propDict["sourceColumn"]; + } else { + $this->_propDict["sourceColumn"] = new ColumnDefinition($this->_propDict["sourceColumn"]); + return $this->_propDict["sourceColumn"]; + } + } + return null; + } + + /** + * Sets the sourceColumn + * The source column for content type column. + * + * @param ColumnDefinition $val The sourceColumn + * + * @return ColumnDefinition + */ + public function setSourceColumn($val) + { + $this->_propDict["sourceColumn"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php b/vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php new file mode 100644 index 0000000..0aac51a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the column in this content type. + * + * @param string $val The name + * + * @return ColumnLink + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ColumnTypes.php b/vendor/microsoft/microsoft-graph/src/Model/ColumnTypes.php new file mode 100644 index 0000000..ad09695 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ColumnTypes.php @@ -0,0 +1,51 @@ +_propDict)) { + return $this->_propDict["defaultLanguage"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguage + * Default BCP 47 language tag for the description. + * + * @param string $val The value of the defaultLanguage + * + * @return ColumnValidation + */ + public function setDefaultLanguage($val) + { + $this->_propDict["defaultLanguage"] = $val; + return $this; + } + + /** + * Gets the descriptions + * Localized messages that explain what is needed for this column's value to be considered valid. User will be prompted with this message if validation fails. + * + * @return DisplayNameLocalization|null The descriptions + */ + public function getDescriptions() + { + if (array_key_exists("descriptions", $this->_propDict)) { + if (is_a($this->_propDict["descriptions"], "\Microsoft\Graph\Model\DisplayNameLocalization") || is_null($this->_propDict["descriptions"])) { + return $this->_propDict["descriptions"]; + } else { + $this->_propDict["descriptions"] = new DisplayNameLocalization($this->_propDict["descriptions"]); + return $this->_propDict["descriptions"]; + } + } + return null; + } + + /** + * Sets the descriptions + * Localized messages that explain what is needed for this column's value to be considered valid. User will be prompted with this message if validation fails. + * + * @param DisplayNameLocalization $val The value to assign to the descriptions + * + * @return ColumnValidation The ColumnValidation + */ + public function setDescriptions($val) + { + $this->_propDict["descriptions"] = $val; + return $this; + } + /** + * Gets the formula + * The formula to validate column value. For examples, see Examples of common formulas in lists + * + * @return string|null The formula + */ + public function getFormula() + { + if (array_key_exists("formula", $this->_propDict)) { + return $this->_propDict["formula"]; + } else { + return null; + } + } + + /** + * Sets the formula + * The formula to validate column value. For examples, see Examples of common formulas in lists + * + * @param string $val The value of the formula + * + * @return ColumnValidation + */ + public function setFormula($val) + { + $this->_propDict["formula"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php b/vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php new file mode 100644 index 0000000..b90383f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["changeType"], "\Microsoft\Graph\Model\ChangeType") || is_null($this->_propDict["changeType"])) { + return $this->_propDict["changeType"]; + } else { + $this->_propDict["changeType"] = new ChangeType($this->_propDict["changeType"]); + return $this->_propDict["changeType"]; + } + } + return null; + } + + /** + * Sets the changeType + * Possible values are: created, updated, deleted. + * + * @param ChangeType $val The value to assign to the changeType + * + * @return CommsNotification The CommsNotification + */ + public function setChangeType($val) + { + $this->_propDict["changeType"] = $val; + return $this; + } + /** + * Gets the resourceUrl + * URI of the resource that was changed. + * + * @return string|null The resourceUrl + */ + public function getResourceUrl() + { + if (array_key_exists("resourceUrl", $this->_propDict)) { + return $this->_propDict["resourceUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourceUrl + * URI of the resource that was changed. + * + * @param string $val The value of the resourceUrl + * + * @return CommsNotification + */ + public function setResourceUrl($val) + { + $this->_propDict["resourceUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CommsNotifications.php b/vendor/microsoft/microsoft-graph/src/Model/CommsNotifications.php new file mode 100644 index 0000000..8280904 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CommsNotifications.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\CommsNotification") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new CommsNotification($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The notification of a change in the resource. + * + * @param CommsNotification $val The value to assign to the value + * + * @return CommsNotifications The CommsNotifications + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CommsOperation.php b/vendor/microsoft/microsoft-graph/src/Model/CommsOperation.php new file mode 100644 index 0000000..071bb29 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CommsOperation.php @@ -0,0 +1,122 @@ +_propDict)) { + return $this->_propDict["clientContext"]; + } else { + return null; + } + } + + /** + * Sets the clientContext + * Unique Client Context string. Max limit is 256 chars. + * + * @param string $val The clientContext + * + * @return CommsOperation + */ + public function setClientContext($val) + { + $this->_propDict["clientContext"] = $val; + return $this; + } + + /** + * Gets the resultInfo + * The result information. Read-only. + * + * @return ResultInfo|null The resultInfo + */ + public function getResultInfo() + { + if (array_key_exists("resultInfo", $this->_propDict)) { + if (is_a($this->_propDict["resultInfo"], "\Microsoft\Graph\Model\ResultInfo") || is_null($this->_propDict["resultInfo"])) { + return $this->_propDict["resultInfo"]; + } else { + $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]); + return $this->_propDict["resultInfo"]; + } + } + return null; + } + + /** + * Sets the resultInfo + * The result information. Read-only. + * + * @param ResultInfo $val The resultInfo + * + * @return CommsOperation + */ + public function setResultInfo($val) + { + $this->_propDict["resultInfo"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @return OperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @param OperationStatus $val The status + * + * @return CommsOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ComplexExtensionValue.php b/vendor/microsoft/microsoft-graph/src/Model/ComplexExtensionValue.php new file mode 100644 index 0000000..c0ee896 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ComplexExtensionValue.php @@ -0,0 +1,26 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Compliance + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * 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 Compliance + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ComplianceInformation.php b/vendor/microsoft/microsoft-graph/src/Model/ComplianceInformation.php new file mode 100644 index 0000000..31163d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ComplianceInformation.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["certificationControls"], "\Microsoft\Graph\Model\CertificationControl") || is_null($this->_propDict["certificationControls"])) { + return $this->_propDict["certificationControls"]; + } else { + $this->_propDict["certificationControls"] = new CertificationControl($this->_propDict["certificationControls"]); + return $this->_propDict["certificationControls"]; + } + } + return null; + } + + /** + * Sets the certificationControls + * Collection of the certification controls associated with certification + * + * @param CertificationControl $val The value to assign to the certificationControls + * + * @return ComplianceInformation The ComplianceInformation + */ + public function setCertificationControls($val) + { + $this->_propDict["certificationControls"] = $val; + return $this; + } + /** + * Gets the certificationName + * Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171) + * + * @return string|null The certificationName + */ + public function getCertificationName() + { + if (array_key_exists("certificationName", $this->_propDict)) { + return $this->_propDict["certificationName"]; + } else { + return null; + } + } + + /** + * Sets the certificationName + * Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171) + * + * @param string $val The value of the certificationName + * + * @return ComplianceInformation + */ + public function setCertificationName($val) + { + $this->_propDict["certificationName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartner.php b/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartner.php new file mode 100644 index 0000000..d4157f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartner.php @@ -0,0 +1,299 @@ +_propDict)) { + return $this->_propDict["androidEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the androidEnrollmentAssignments + * User groups which enroll Android devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The androidEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setAndroidEnrollmentAssignments($val) + { + $this->_propDict["androidEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the androidOnboarded + * Partner onboarded for Android devices. + * + * @return bool|null The androidOnboarded + */ + public function getAndroidOnboarded() + { + if (array_key_exists("androidOnboarded", $this->_propDict)) { + return $this->_propDict["androidOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the androidOnboarded + * Partner onboarded for Android devices. + * + * @param bool $val The androidOnboarded + * + * @return ComplianceManagementPartner + */ + public function setAndroidOnboarded($val) + { + $this->_propDict["androidOnboarded"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * Partner display name + * + * @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 + * Partner display name + * + * @param string $val The displayName + * + * @return ComplianceManagementPartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the iosEnrollmentAssignments + * User groups which enroll ios devices through partner. + * + * @return array|null The iosEnrollmentAssignments + */ + public function getIosEnrollmentAssignments() + { + if (array_key_exists("iosEnrollmentAssignments", $this->_propDict)) { + return $this->_propDict["iosEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the iosEnrollmentAssignments + * User groups which enroll ios devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The iosEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setIosEnrollmentAssignments($val) + { + $this->_propDict["iosEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the iosOnboarded + * Partner onboarded for ios devices. + * + * @return bool|null The iosOnboarded + */ + public function getIosOnboarded() + { + if (array_key_exists("iosOnboarded", $this->_propDict)) { + return $this->_propDict["iosOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the iosOnboarded + * Partner onboarded for ios devices. + * + * @param bool $val The iosOnboarded + * + * @return ComplianceManagementPartner + */ + public function setIosOnboarded($val) + { + $this->_propDict["iosOnboarded"] = boolval($val); + return $this; + } + + /** + * Gets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin onboarded to the compliance management partner + * + * @return \DateTime|null The lastHeartbeatDateTime + */ + public function getLastHeartbeatDateTime() + { + if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) { + return $this->_propDict["lastHeartbeatDateTime"]; + } else { + $this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]); + return $this->_propDict["lastHeartbeatDateTime"]; + } + } + return null; + } + + /** + * Sets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin onboarded to the compliance management partner + * + * @param \DateTime $val The lastHeartbeatDateTime + * + * @return ComplianceManagementPartner + */ + public function setLastHeartbeatDateTime($val) + { + $this->_propDict["lastHeartbeatDateTime"] = $val; + return $this; + } + + + /** + * Gets the macOsEnrollmentAssignments + * User groups which enroll Mac devices through partner. + * + * @return array|null The macOsEnrollmentAssignments + */ + public function getMacOsEnrollmentAssignments() + { + if (array_key_exists("macOsEnrollmentAssignments", $this->_propDict)) { + return $this->_propDict["macOsEnrollmentAssignments"]; + } else { + return null; + } + } + + /** + * Sets the macOsEnrollmentAssignments + * User groups which enroll Mac devices through partner. + * + * @param ComplianceManagementPartnerAssignment[] $val The macOsEnrollmentAssignments + * + * @return ComplianceManagementPartner + */ + public function setMacOsEnrollmentAssignments($val) + { + $this->_propDict["macOsEnrollmentAssignments"] = $val; + return $this; + } + + /** + * Gets the macOsOnboarded + * Partner onboarded for Mac devices. + * + * @return bool|null The macOsOnboarded + */ + public function getMacOsOnboarded() + { + if (array_key_exists("macOsOnboarded", $this->_propDict)) { + return $this->_propDict["macOsOnboarded"]; + } else { + return null; + } + } + + /** + * Sets the macOsOnboarded + * Partner onboarded for Mac devices. + * + * @param bool $val The macOsOnboarded + * + * @return ComplianceManagementPartner + */ + public function setMacOsOnboarded($val) + { + $this->_propDict["macOsOnboarded"] = boolval($val); + return $this; + } + + /** + * Gets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @return DeviceManagementPartnerTenantState|null The partnerState + */ + public function getPartnerState() + { + if (array_key_exists("partnerState", $this->_propDict)) { + if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\DeviceManagementPartnerTenantState") || is_null($this->_propDict["partnerState"])) { + return $this->_propDict["partnerState"]; + } else { + $this->_propDict["partnerState"] = new DeviceManagementPartnerTenantState($this->_propDict["partnerState"]); + return $this->_propDict["partnerState"]; + } + } + return null; + } + + /** + * Sets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @param DeviceManagementPartnerTenantState $val The partnerState + * + * @return ComplianceManagementPartner + */ + public function setPartnerState($val) + { + $this->_propDict["partnerState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartnerAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartnerAssignment.php new file mode 100644 index 0000000..43aff64 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartnerAssignment.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Group assignment target. + * + * @param DeviceAndAppManagementAssignmentTarget $val The value to assign to the target + * + * @return ComplianceManagementPartnerAssignment The ComplianceManagementPartnerAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ComplianceState.php b/vendor/microsoft/microsoft-graph/src/Model/ComplianceState.php new file mode 100644 index 0000000..7cb7845 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ComplianceState.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["excludeApplications"]; + } else { + return null; + } + } + + /** + * Sets the excludeApplications + * The list of application IDs explicitly excluded from the policy. + * + * @param string $val The value of the excludeApplications + * + * @return ConditionalAccessApplications + */ + public function setExcludeApplications($val) + { + $this->_propDict["excludeApplications"] = $val; + return $this; + } + /** + * Gets the includeApplications + * The list of application IDs the policy applies to, unless explicitly excluded (in excludeApplications). Can also be set to All. + * + * @return string|null The includeApplications + */ + public function getIncludeApplications() + { + if (array_key_exists("includeApplications", $this->_propDict)) { + return $this->_propDict["includeApplications"]; + } else { + return null; + } + } + + /** + * Sets the includeApplications + * The list of application IDs the policy applies to, unless explicitly excluded (in excludeApplications). Can also be set to All. + * + * @param string $val The value of the includeApplications + * + * @return ConditionalAccessApplications + */ + public function setIncludeApplications($val) + { + $this->_propDict["includeApplications"] = $val; + return $this; + } + /** + * Gets the includeAuthenticationContextClassReferences + * Authentication context class references include. Supported values are c1 through c25. + * + * @return string|null The includeAuthenticationContextClassReferences + */ + public function getIncludeAuthenticationContextClassReferences() + { + if (array_key_exists("includeAuthenticationContextClassReferences", $this->_propDict)) { + return $this->_propDict["includeAuthenticationContextClassReferences"]; + } else { + return null; + } + } + + /** + * Sets the includeAuthenticationContextClassReferences + * Authentication context class references include. Supported values are c1 through c25. + * + * @param string $val The value of the includeAuthenticationContextClassReferences + * + * @return ConditionalAccessApplications + */ + public function setIncludeAuthenticationContextClassReferences($val) + { + $this->_propDict["includeAuthenticationContextClassReferences"] = $val; + return $this; + } + /** + * Gets the includeUserActions + * User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice + * + * @return string|null The includeUserActions + */ + public function getIncludeUserActions() + { + if (array_key_exists("includeUserActions", $this->_propDict)) { + return $this->_propDict["includeUserActions"]; + } else { + return null; + } + } + + /** + * Sets the includeUserActions + * User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice + * + * @param string $val The value of the includeUserActions + * + * @return ConditionalAccessApplications + */ + public function setIncludeUserActions($val) + { + $this->_propDict["includeUserActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessClientApp.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessClientApp.php new file mode 100644 index 0000000..2feeac1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessClientApp.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["excludeServicePrincipals"]; + } else { + return null; + } + } + + /** + * Sets the excludeServicePrincipals + * Service principal IDs excluded from the policy scope. + * + * @param string $val The value of the excludeServicePrincipals + * + * @return ConditionalAccessClientApplications + */ + public function setExcludeServicePrincipals($val) + { + $this->_propDict["excludeServicePrincipals"] = $val; + return $this; + } + /** + * Gets the includeServicePrincipals + * Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant. + * + * @return string|null The includeServicePrincipals + */ + public function getIncludeServicePrincipals() + { + if (array_key_exists("includeServicePrincipals", $this->_propDict)) { + return $this->_propDict["includeServicePrincipals"]; + } else { + return null; + } + } + + /** + * Sets the includeServicePrincipals + * Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant. + * + * @param string $val The value of the includeServicePrincipals + * + * @return ConditionalAccessClientApplications + */ + public function setIncludeServicePrincipals($val) + { + $this->_propDict["includeServicePrincipals"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessConditionSet.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessConditionSet.php new file mode 100644 index 0000000..dc1245e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessConditionSet.php @@ -0,0 +1,323 @@ +_propDict)) { + if (is_a($this->_propDict["applications"], "\Microsoft\Graph\Model\ConditionalAccessApplications") || is_null($this->_propDict["applications"])) { + return $this->_propDict["applications"]; + } else { + $this->_propDict["applications"] = new ConditionalAccessApplications($this->_propDict["applications"]); + return $this->_propDict["applications"]; + } + } + return null; + } + + /** + * Sets the applications + * Applications and user actions included in and excluded from the policy. Required. + * + * @param ConditionalAccessApplications $val The value to assign to the applications + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setApplications($val) + { + $this->_propDict["applications"] = $val; + return $this; + } + + /** + * Gets the clientApplications + * Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. + * + * @return ConditionalAccessClientApplications|null The clientApplications + */ + public function getClientApplications() + { + if (array_key_exists("clientApplications", $this->_propDict)) { + if (is_a($this->_propDict["clientApplications"], "\Microsoft\Graph\Model\ConditionalAccessClientApplications") || is_null($this->_propDict["clientApplications"])) { + return $this->_propDict["clientApplications"]; + } else { + $this->_propDict["clientApplications"] = new ConditionalAccessClientApplications($this->_propDict["clientApplications"]); + return $this->_propDict["clientApplications"]; + } + } + return null; + } + + /** + * Sets the clientApplications + * Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. + * + * @param ConditionalAccessClientApplications $val The value to assign to the clientApplications + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setClientApplications($val) + { + $this->_propDict["clientApplications"] = $val; + return $this; + } + + /** + * Gets the clientAppTypes + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. + * + * @return ConditionalAccessClientApp|null The clientAppTypes + */ + public function getClientAppTypes() + { + if (array_key_exists("clientAppTypes", $this->_propDict)) { + if (is_a($this->_propDict["clientAppTypes"], "\Microsoft\Graph\Model\ConditionalAccessClientApp") || is_null($this->_propDict["clientAppTypes"])) { + return $this->_propDict["clientAppTypes"]; + } else { + $this->_propDict["clientAppTypes"] = new ConditionalAccessClientApp($this->_propDict["clientAppTypes"]); + return $this->_propDict["clientAppTypes"]; + } + } + return null; + } + + /** + * Sets the clientAppTypes + * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. + * + * @param ConditionalAccessClientApp $val The value to assign to the clientAppTypes + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setClientAppTypes($val) + { + $this->_propDict["clientAppTypes"] = $val; + return $this; + } + + /** + * Gets the devices + * Devices in the policy. + * + * @return ConditionalAccessDevices|null The devices + */ + public function getDevices() + { + if (array_key_exists("devices", $this->_propDict)) { + if (is_a($this->_propDict["devices"], "\Microsoft\Graph\Model\ConditionalAccessDevices") || is_null($this->_propDict["devices"])) { + return $this->_propDict["devices"]; + } else { + $this->_propDict["devices"] = new ConditionalAccessDevices($this->_propDict["devices"]); + return $this->_propDict["devices"]; + } + } + return null; + } + + /** + * Sets the devices + * Devices in the policy. + * + * @param ConditionalAccessDevices $val The value to assign to the devices + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setDevices($val) + { + $this->_propDict["devices"] = $val; + return $this; + } + + /** + * Gets the locations + * Locations included in and excluded from the policy. + * + * @return ConditionalAccessLocations|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + if (is_a($this->_propDict["locations"], "\Microsoft\Graph\Model\ConditionalAccessLocations") || is_null($this->_propDict["locations"])) { + return $this->_propDict["locations"]; + } else { + $this->_propDict["locations"] = new ConditionalAccessLocations($this->_propDict["locations"]); + return $this->_propDict["locations"]; + } + } + return null; + } + + /** + * Sets the locations + * Locations included in and excluded from the policy. + * + * @param ConditionalAccessLocations $val The value to assign to the locations + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + + /** + * Gets the platforms + * Platforms included in and excluded from the policy. + * + * @return ConditionalAccessPlatforms|null The platforms + */ + public function getPlatforms() + { + if (array_key_exists("platforms", $this->_propDict)) { + if (is_a($this->_propDict["platforms"], "\Microsoft\Graph\Model\ConditionalAccessPlatforms") || is_null($this->_propDict["platforms"])) { + return $this->_propDict["platforms"]; + } else { + $this->_propDict["platforms"] = new ConditionalAccessPlatforms($this->_propDict["platforms"]); + return $this->_propDict["platforms"]; + } + } + return null; + } + + /** + * Sets the platforms + * Platforms included in and excluded from the policy. + * + * @param ConditionalAccessPlatforms $val The value to assign to the platforms + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setPlatforms($val) + { + $this->_propDict["platforms"] = $val; + return $this; + } + + /** + * Gets the signInRiskLevels + * Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @return RiskLevel|null The signInRiskLevels + */ + public function getSignInRiskLevels() + { + if (array_key_exists("signInRiskLevels", $this->_propDict)) { + if (is_a($this->_propDict["signInRiskLevels"], "\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["signInRiskLevels"])) { + return $this->_propDict["signInRiskLevels"]; + } else { + $this->_propDict["signInRiskLevels"] = new RiskLevel($this->_propDict["signInRiskLevels"]); + return $this->_propDict["signInRiskLevels"]; + } + } + return null; + } + + /** + * Sets the signInRiskLevels + * Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @param RiskLevel $val The value to assign to the signInRiskLevels + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setSignInRiskLevels($val) + { + $this->_propDict["signInRiskLevels"] = $val; + return $this; + } + + /** + * Gets the userRiskLevels + * User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @return RiskLevel|null The userRiskLevels + */ + public function getUserRiskLevels() + { + if (array_key_exists("userRiskLevels", $this->_propDict)) { + if (is_a($this->_propDict["userRiskLevels"], "\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["userRiskLevels"])) { + return $this->_propDict["userRiskLevels"]; + } else { + $this->_propDict["userRiskLevels"] = new RiskLevel($this->_propDict["userRiskLevels"]); + return $this->_propDict["userRiskLevels"]; + } + } + return null; + } + + /** + * Sets the userRiskLevels + * User risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required. + * + * @param RiskLevel $val The value to assign to the userRiskLevels + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setUserRiskLevels($val) + { + $this->_propDict["userRiskLevels"] = $val; + return $this; + } + + /** + * Gets the users + * Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required. + * + * @return ConditionalAccessUsers|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + if (is_a($this->_propDict["users"], "\Microsoft\Graph\Model\ConditionalAccessUsers") || is_null($this->_propDict["users"])) { + return $this->_propDict["users"]; + } else { + $this->_propDict["users"] = new ConditionalAccessUsers($this->_propDict["users"]); + return $this->_propDict["users"]; + } + } + return null; + } + + /** + * Sets the users + * Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required. + * + * @param ConditionalAccessUsers $val The value to assign to the users + * + * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessDevicePlatform.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessDevicePlatform.php new file mode 100644 index 0000000..6dbdf54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessDevicePlatform.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["deviceFilter"], "\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["deviceFilter"])) { + return $this->_propDict["deviceFilter"]; + } else { + $this->_propDict["deviceFilter"] = new ConditionalAccessFilter($this->_propDict["deviceFilter"]); + return $this->_propDict["deviceFilter"]; + } + } + return null; + } + + /** + * Sets the deviceFilter + * Filter that defines the dynamic-device-syntax rule to include/exclude devices. A filter can use device properties (such as extension attributes) to include/exclude them. Cannot be set if includeDevices or excludeDevices is set. + * + * @param ConditionalAccessFilter $val The value to assign to the deviceFilter + * + * @return ConditionalAccessDevices The ConditionalAccessDevices + */ + public function setDeviceFilter($val) + { + $this->_propDict["deviceFilter"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessFilter.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessFilter.php new file mode 100644 index 0000000..3141418 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessFilter.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["mode"], "\Microsoft\Graph\Model\FilterMode") || is_null($this->_propDict["mode"])) { + return $this->_propDict["mode"]; + } else { + $this->_propDict["mode"] = new FilterMode($this->_propDict["mode"]); + return $this->_propDict["mode"]; + } + } + return null; + } + + /** + * Sets the mode + * Mode to use for the filter. Possible values are include or exclude. + * + * @param FilterMode $val The value to assign to the mode + * + * @return ConditionalAccessFilter The ConditionalAccessFilter + */ + public function setMode($val) + { + $this->_propDict["mode"] = $val; + return $this; + } + /** + * Gets the rule + * Rule syntax is similar to that used for membership rules for groups in Azure Active Directory. For details, see rules with multiple expressions + * + * @return string|null The rule + */ + public function getRule() + { + if (array_key_exists("rule", $this->_propDict)) { + return $this->_propDict["rule"]; + } else { + return null; + } + } + + /** + * Sets the rule + * Rule syntax is similar to that used for membership rules for groups in Azure Active Directory. For details, see rules with multiple expressions + * + * @param string $val The value of the rule + * + * @return ConditionalAccessFilter + */ + public function setRule($val) + { + $this->_propDict["rule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessGrantControl.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessGrantControl.php new file mode 100644 index 0000000..0f92ffd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessGrantControl.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["builtInControls"], "\Microsoft\Graph\Model\ConditionalAccessGrantControl") || is_null($this->_propDict["builtInControls"])) { + return $this->_propDict["builtInControls"]; + } else { + $this->_propDict["builtInControls"] = new ConditionalAccessGrantControl($this->_propDict["builtInControls"]); + return $this->_propDict["builtInControls"]; + } + } + return null; + } + + /** + * Sets the builtInControls + * List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + * + * @param ConditionalAccessGrantControl $val The value to assign to the builtInControls + * + * @return ConditionalAccessGrantControls The ConditionalAccessGrantControls + */ + public function setBuiltInControls($val) + { + $this->_propDict["builtInControls"] = $val; + return $this; + } + /** + * Gets the customAuthenticationFactors + * List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + * + * @return string|null The customAuthenticationFactors + */ + public function getCustomAuthenticationFactors() + { + if (array_key_exists("customAuthenticationFactors", $this->_propDict)) { + return $this->_propDict["customAuthenticationFactors"]; + } else { + return null; + } + } + + /** + * Sets the customAuthenticationFactors + * List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). + * + * @param string $val The value of the customAuthenticationFactors + * + * @return ConditionalAccessGrantControls + */ + public function setCustomAuthenticationFactors($val) + { + $this->_propDict["customAuthenticationFactors"] = $val; + return $this; + } + /** + * Gets the operator + * Defines the relationship of the grant controls. Possible values: AND, OR. + * + * @return string|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + return $this->_propDict["operator"]; + } else { + return null; + } + } + + /** + * Sets the operator + * Defines the relationship of the grant controls. Possible values: AND, OR. + * + * @param string $val The value of the operator + * + * @return ConditionalAccessGrantControls + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the termsOfUse + * List of terms of use IDs required by the policy. + * + * @return string|null The termsOfUse + */ + public function getTermsOfUse() + { + if (array_key_exists("termsOfUse", $this->_propDict)) { + return $this->_propDict["termsOfUse"]; + } else { + return null; + } + } + + /** + * Sets the termsOfUse + * List of terms of use IDs required by the policy. + * + * @param string $val The value of the termsOfUse + * + * @return ConditionalAccessGrantControls + */ + public function setTermsOfUse($val) + { + $this->_propDict["termsOfUse"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessLocations.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessLocations.php new file mode 100644 index 0000000..11e24f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessLocations.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["excludeLocations"]; + } else { + return null; + } + } + + /** + * Sets the excludeLocations + * Location IDs excluded from scope of policy. + * + * @param string $val The value of the excludeLocations + * + * @return ConditionalAccessLocations + */ + public function setExcludeLocations($val) + { + $this->_propDict["excludeLocations"] = $val; + return $this; + } + /** + * Gets the includeLocations + * Location IDs in scope of policy unless explicitly excluded, All, or AllTrusted. + * + * @return string|null The includeLocations + */ + public function getIncludeLocations() + { + if (array_key_exists("includeLocations", $this->_propDict)) { + return $this->_propDict["includeLocations"]; + } else { + return null; + } + } + + /** + * Sets the includeLocations + * Location IDs in scope of policy unless explicitly excluded, All, or AllTrusted. + * + * @param string $val The value of the includeLocations + * + * @return ConditionalAccessLocations + */ + public function setIncludeLocations($val) + { + $this->_propDict["includeLocations"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPlatforms.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPlatforms.php new file mode 100644 index 0000000..7486410 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPlatforms.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["excludePlatforms"], "\Microsoft\Graph\Model\ConditionalAccessDevicePlatform") || is_null($this->_propDict["excludePlatforms"])) { + return $this->_propDict["excludePlatforms"]; + } else { + $this->_propDict["excludePlatforms"] = new ConditionalAccessDevicePlatform($this->_propDict["excludePlatforms"]); + return $this->_propDict["excludePlatforms"]; + } + } + return null; + } + + /** + * Sets the excludePlatforms + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue, linux. + * + * @param ConditionalAccessDevicePlatform $val The value to assign to the excludePlatforms + * + * @return ConditionalAccessPlatforms The ConditionalAccessPlatforms + */ + public function setExcludePlatforms($val) + { + $this->_propDict["excludePlatforms"] = $val; + return $this; + } + + /** + * Gets the includePlatforms + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * + * @return ConditionalAccessDevicePlatform|null The includePlatforms + */ + public function getIncludePlatforms() + { + if (array_key_exists("includePlatforms", $this->_propDict)) { + if (is_a($this->_propDict["includePlatforms"], "\Microsoft\Graph\Model\ConditionalAccessDevicePlatform") || is_null($this->_propDict["includePlatforms"])) { + return $this->_propDict["includePlatforms"]; + } else { + $this->_propDict["includePlatforms"] = new ConditionalAccessDevicePlatform($this->_propDict["includePlatforms"]); + return $this->_propDict["includePlatforms"]; + } + } + return null; + } + + /** + * Sets the includePlatforms + * Possible values are: android, iOS, windows, windowsPhone, macOS, all, unknownFutureValue,linux``. + * + * @param ConditionalAccessDevicePlatform $val The value to assign to the includePlatforms + * + * @return ConditionalAccessPlatforms The ConditionalAccessPlatforms + */ + public function setIncludePlatforms($val) + { + $this->_propDict["includePlatforms"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicy.php new file mode 100644 index 0000000..335d202 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicy.php @@ -0,0 +1,283 @@ +_propDict)) { + if (is_a($this->_propDict["conditions"], "\Microsoft\Graph\Model\ConditionalAccessConditionSet") || is_null($this->_propDict["conditions"])) { + return $this->_propDict["conditions"]; + } else { + $this->_propDict["conditions"] = new ConditionalAccessConditionSet($this->_propDict["conditions"]); + return $this->_propDict["conditions"]; + } + } + return null; + } + + /** + * Sets the conditions + * Specifies the rules that must be met for the policy to apply. Required. + * + * @param ConditionalAccessConditionSet $val The conditions + * + * @return ConditionalAccessPolicy + */ + public function setConditions($val) + { + $this->_propDict["conditions"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @param \DateTime $val The createdDateTime + * + * @return ConditionalAccessPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Not used. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Not used. + * + * @param string $val The description + * + * @return ConditionalAccessPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Specifies a display name for the conditionalAccessPolicy object. + * + * @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 + * Specifies a display name for the conditionalAccessPolicy object. + * + * @param string $val The displayName + * + * @return ConditionalAccessPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the grantControls + * Specifies the grant controls that must be fulfilled to pass the policy. + * + * @return ConditionalAccessGrantControls|null The grantControls + */ + public function getGrantControls() + { + if (array_key_exists("grantControls", $this->_propDict)) { + if (is_a($this->_propDict["grantControls"], "\Microsoft\Graph\Model\ConditionalAccessGrantControls") || is_null($this->_propDict["grantControls"])) { + return $this->_propDict["grantControls"]; + } else { + $this->_propDict["grantControls"] = new ConditionalAccessGrantControls($this->_propDict["grantControls"]); + return $this->_propDict["grantControls"]; + } + } + return null; + } + + /** + * Sets the grantControls + * Specifies the grant controls that must be fulfilled to pass the policy. + * + * @param ConditionalAccessGrantControls $val The grantControls + * + * @return ConditionalAccessPolicy + */ + public function setGrantControls($val) + { + $this->_propDict["grantControls"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. + * + * @param \DateTime $val The modifiedDateTime + * + * @return ConditionalAccessPolicy + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the sessionControls + * Specifies the session controls that are enforced after sign-in. + * + * @return ConditionalAccessSessionControls|null The sessionControls + */ + public function getSessionControls() + { + if (array_key_exists("sessionControls", $this->_propDict)) { + if (is_a($this->_propDict["sessionControls"], "\Microsoft\Graph\Model\ConditionalAccessSessionControls") || is_null($this->_propDict["sessionControls"])) { + return $this->_propDict["sessionControls"]; + } else { + $this->_propDict["sessionControls"] = new ConditionalAccessSessionControls($this->_propDict["sessionControls"]); + return $this->_propDict["sessionControls"]; + } + } + return null; + } + + /** + * Sets the sessionControls + * Specifies the session controls that are enforced after sign-in. + * + * @param ConditionalAccessSessionControls $val The sessionControls + * + * @return ConditionalAccessPolicy + */ + public function setSessionControls($val) + { + $this->_propDict["sessionControls"] = $val; + return $this; + } + + /** + * Gets the state + * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. + * + * @return ConditionalAccessPolicyState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ConditionalAccessPolicyState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConditionalAccessPolicyState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. + * + * @param ConditionalAccessPolicyState $val The state + * + * @return ConditionalAccessPolicy + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicyState.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicyState.php new file mode 100644 index 0000000..e22a480 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicyState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["namedLocations"]; + } else { + return null; + } + } + + /** + * Sets the namedLocations + * Read-only. Nullable. Returns a collection of the specified named locations. + * + * @param NamedLocation[] $val The namedLocations + * + * @return ConditionalAccessRoot + */ + public function setNamedLocations($val) + { + $this->_propDict["namedLocations"] = $val; + return $this; + } + + + /** + * Gets the policies + * Read-only. Nullable. Returns a collection of the specified Conditional Access policies. + * + * @return array|null The policies + */ + public function getPolicies() + { + if (array_key_exists("policies", $this->_propDict)) { + return $this->_propDict["policies"]; + } else { + return null; + } + } + + /** + * Sets the policies + * Read-only. Nullable. Returns a collection of the specified Conditional Access policies. + * + * @param ConditionalAccessPolicy[] $val The policies + * + * @return ConditionalAccessRoot + */ + public function setPolicies($val) + { + $this->_propDict["policies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControl.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControl.php new file mode 100644 index 0000000..6180bb2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControl.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Specifies whether the session control is enabled. + * + * @param bool $val The value of the isEnabled + * + * @return ConditionalAccessSessionControl + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControls.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControls.php new file mode 100644 index 0000000..c6302f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControls.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["applicationEnforcedRestrictions"], "\Microsoft\Graph\Model\ApplicationEnforcedRestrictionsSessionControl") || is_null($this->_propDict["applicationEnforcedRestrictions"])) { + return $this->_propDict["applicationEnforcedRestrictions"]; + } else { + $this->_propDict["applicationEnforcedRestrictions"] = new ApplicationEnforcedRestrictionsSessionControl($this->_propDict["applicationEnforcedRestrictions"]); + return $this->_propDict["applicationEnforcedRestrictions"]; + } + } + return null; + } + + /** + * Sets the applicationEnforcedRestrictions + * Session control to enforce application restrictions. Only Exchange Online and Sharepoint Online support this session control. + * + * @param ApplicationEnforcedRestrictionsSessionControl $val The value to assign to the applicationEnforcedRestrictions + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setApplicationEnforcedRestrictions($val) + { + $this->_propDict["applicationEnforcedRestrictions"] = $val; + return $this; + } + + /** + * Gets the cloudAppSecurity + * Session control to apply cloud app security. + * + * @return CloudAppSecuritySessionControl|null The cloudAppSecurity + */ + public function getCloudAppSecurity() + { + if (array_key_exists("cloudAppSecurity", $this->_propDict)) { + if (is_a($this->_propDict["cloudAppSecurity"], "\Microsoft\Graph\Model\CloudAppSecuritySessionControl") || is_null($this->_propDict["cloudAppSecurity"])) { + return $this->_propDict["cloudAppSecurity"]; + } else { + $this->_propDict["cloudAppSecurity"] = new CloudAppSecuritySessionControl($this->_propDict["cloudAppSecurity"]); + return $this->_propDict["cloudAppSecurity"]; + } + } + return null; + } + + /** + * Sets the cloudAppSecurity + * Session control to apply cloud app security. + * + * @param CloudAppSecuritySessionControl $val The value to assign to the cloudAppSecurity + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setCloudAppSecurity($val) + { + $this->_propDict["cloudAppSecurity"] = $val; + return $this; + } + /** + * Gets the disableResilienceDefaults + * Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. + * + * @return bool|null The disableResilienceDefaults + */ + public function getDisableResilienceDefaults() + { + if (array_key_exists("disableResilienceDefaults", $this->_propDict)) { + return $this->_propDict["disableResilienceDefaults"]; + } else { + return null; + } + } + + /** + * Sets the disableResilienceDefaults + * Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. + * + * @param bool $val The value of the disableResilienceDefaults + * + * @return ConditionalAccessSessionControls + */ + public function setDisableResilienceDefaults($val) + { + $this->_propDict["disableResilienceDefaults"] = $val; + return $this; + } + + /** + * Gets the persistentBrowser + * Session control to define whether to persist cookies or not. All apps should be selected for this session control to work correctly. + * + * @return PersistentBrowserSessionControl|null The persistentBrowser + */ + public function getPersistentBrowser() + { + if (array_key_exists("persistentBrowser", $this->_propDict)) { + if (is_a($this->_propDict["persistentBrowser"], "\Microsoft\Graph\Model\PersistentBrowserSessionControl") || is_null($this->_propDict["persistentBrowser"])) { + return $this->_propDict["persistentBrowser"]; + } else { + $this->_propDict["persistentBrowser"] = new PersistentBrowserSessionControl($this->_propDict["persistentBrowser"]); + return $this->_propDict["persistentBrowser"]; + } + } + return null; + } + + /** + * Sets the persistentBrowser + * Session control to define whether to persist cookies or not. All apps should be selected for this session control to work correctly. + * + * @param PersistentBrowserSessionControl $val The value to assign to the persistentBrowser + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setPersistentBrowser($val) + { + $this->_propDict["persistentBrowser"] = $val; + return $this; + } + + /** + * Gets the signInFrequency + * Session control to enforce signin frequency. + * + * @return SignInFrequencySessionControl|null The signInFrequency + */ + public function getSignInFrequency() + { + if (array_key_exists("signInFrequency", $this->_propDict)) { + if (is_a($this->_propDict["signInFrequency"], "\Microsoft\Graph\Model\SignInFrequencySessionControl") || is_null($this->_propDict["signInFrequency"])) { + return $this->_propDict["signInFrequency"]; + } else { + $this->_propDict["signInFrequency"] = new SignInFrequencySessionControl($this->_propDict["signInFrequency"]); + return $this->_propDict["signInFrequency"]; + } + } + return null; + } + + /** + * Sets the signInFrequency + * Session control to enforce signin frequency. + * + * @param SignInFrequencySessionControl $val The value to assign to the signInFrequency + * + * @return ConditionalAccessSessionControls The ConditionalAccessSessionControls + */ + public function setSignInFrequency($val) + { + $this->_propDict["signInFrequency"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessStatus.php new file mode 100644 index 0000000..bc59d39 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["excludeGroups"]; + } else { + return null; + } + } + + /** + * Sets the excludeGroups + * Group IDs excluded from scope of policy. + * + * @param string $val The value of the excludeGroups + * + * @return ConditionalAccessUsers + */ + public function setExcludeGroups($val) + { + $this->_propDict["excludeGroups"] = $val; + return $this; + } + /** + * Gets the excludeRoles + * Role IDs excluded from scope of policy. + * + * @return string|null The excludeRoles + */ + public function getExcludeRoles() + { + if (array_key_exists("excludeRoles", $this->_propDict)) { + return $this->_propDict["excludeRoles"]; + } else { + return null; + } + } + + /** + * Sets the excludeRoles + * Role IDs excluded from scope of policy. + * + * @param string $val The value of the excludeRoles + * + * @return ConditionalAccessUsers + */ + public function setExcludeRoles($val) + { + $this->_propDict["excludeRoles"] = $val; + return $this; + } + /** + * Gets the excludeUsers + * User IDs excluded from scope of policy and/or GuestsOrExternalUsers. + * + * @return string|null The excludeUsers + */ + public function getExcludeUsers() + { + if (array_key_exists("excludeUsers", $this->_propDict)) { + return $this->_propDict["excludeUsers"]; + } else { + return null; + } + } + + /** + * Sets the excludeUsers + * User IDs excluded from scope of policy and/or GuestsOrExternalUsers. + * + * @param string $val The value of the excludeUsers + * + * @return ConditionalAccessUsers + */ + public function setExcludeUsers($val) + { + $this->_propDict["excludeUsers"] = $val; + return $this; + } + /** + * Gets the includeGroups + * Group IDs in scope of policy unless explicitly excluded, or All. + * + * @return string|null The includeGroups + */ + public function getIncludeGroups() + { + if (array_key_exists("includeGroups", $this->_propDict)) { + return $this->_propDict["includeGroups"]; + } else { + return null; + } + } + + /** + * Sets the includeGroups + * Group IDs in scope of policy unless explicitly excluded, or All. + * + * @param string $val The value of the includeGroups + * + * @return ConditionalAccessUsers + */ + public function setIncludeGroups($val) + { + $this->_propDict["includeGroups"] = $val; + return $this; + } + /** + * Gets the includeRoles + * Role IDs in scope of policy unless explicitly excluded, or All. + * + * @return string|null The includeRoles + */ + public function getIncludeRoles() + { + if (array_key_exists("includeRoles", $this->_propDict)) { + return $this->_propDict["includeRoles"]; + } else { + return null; + } + } + + /** + * Sets the includeRoles + * Role IDs in scope of policy unless explicitly excluded, or All. + * + * @param string $val The value of the includeRoles + * + * @return ConditionalAccessUsers + */ + public function setIncludeRoles($val) + { + $this->_propDict["includeRoles"] = $val; + return $this; + } + /** + * Gets the includeUsers + * User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + * + * @return string|null The includeUsers + */ + public function getIncludeUsers() + { + if (array_key_exists("includeUsers", $this->_propDict)) { + return $this->_propDict["includeUsers"]; + } else { + return null; + } + } + + /** + * Sets the includeUsers + * User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + * + * @param string $val The value of the includeUsers + * + * @return ConditionalAccessUsers + */ + public function setIncludeUsers($val) + { + $this->_propDict["includeUsers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerClientEnabledFeatures.php b/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerClientEnabledFeatures.php new file mode 100644 index 0000000..5a2a74e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerClientEnabledFeatures.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["compliancePolicy"]; + } else { + return null; + } + } + + /** + * Sets the compliancePolicy + * Whether compliance policy is managed by Intune + * + * @param bool $val The value of the compliancePolicy + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setCompliancePolicy($val) + { + $this->_propDict["compliancePolicy"] = $val; + return $this; + } + /** + * Gets the deviceConfiguration + * Whether device configuration is managed by Intune + * + * @return bool|null The deviceConfiguration + */ + public function getDeviceConfiguration() + { + if (array_key_exists("deviceConfiguration", $this->_propDict)) { + return $this->_propDict["deviceConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfiguration + * Whether device configuration is managed by Intune + * + * @param bool $val The value of the deviceConfiguration + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setDeviceConfiguration($val) + { + $this->_propDict["deviceConfiguration"] = $val; + return $this; + } + /** + * Gets the inventory + * Whether inventory is managed by Intune + * + * @return bool|null The inventory + */ + public function getInventory() + { + if (array_key_exists("inventory", $this->_propDict)) { + return $this->_propDict["inventory"]; + } else { + return null; + } + } + + /** + * Sets the inventory + * Whether inventory is managed by Intune + * + * @param bool $val The value of the inventory + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setInventory($val) + { + $this->_propDict["inventory"] = $val; + return $this; + } + /** + * Gets the modernApps + * Whether modern application is managed by Intune + * + * @return bool|null The modernApps + */ + public function getModernApps() + { + if (array_key_exists("modernApps", $this->_propDict)) { + return $this->_propDict["modernApps"]; + } else { + return null; + } + } + + /** + * Sets the modernApps + * Whether modern application is managed by Intune + * + * @param bool $val The value of the modernApps + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setModernApps($val) + { + $this->_propDict["modernApps"] = $val; + return $this; + } + /** + * Gets the resourceAccess + * Whether resource access is managed by Intune + * + * @return bool|null The resourceAccess + */ + public function getResourceAccess() + { + if (array_key_exists("resourceAccess", $this->_propDict)) { + return $this->_propDict["resourceAccess"]; + } else { + return null; + } + } + + /** + * Sets the resourceAccess + * Whether resource access is managed by Intune + * + * @param bool $val The value of the resourceAccess + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setResourceAccess($val) + { + $this->_propDict["resourceAccess"] = $val; + return $this; + } + /** + * Gets the windowsUpdateForBusiness + * Whether Windows Update for Business is managed by Intune + * + * @return bool|null The windowsUpdateForBusiness + */ + public function getWindowsUpdateForBusiness() + { + if (array_key_exists("windowsUpdateForBusiness", $this->_propDict)) { + return $this->_propDict["windowsUpdateForBusiness"]; + } else { + return null; + } + } + + /** + * Sets the windowsUpdateForBusiness + * Whether Windows Update for Business is managed by Intune + * + * @param bool $val The value of the windowsUpdateForBusiness + * + * @return ConfigurationManagerClientEnabledFeatures + */ + public function setWindowsUpdateForBusiness($val) + { + $this->_propDict["windowsUpdateForBusiness"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerCollectionAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerCollectionAssignmentTarget.php new file mode 100644 index 0000000..4aba704 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerCollectionAssignmentTarget.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.configurationManagerCollectionAssignmentTarget"); + } + + /** + * Gets the collectionId + * The collection Id that is the target of the assignment. + * + * @return string|null The collectionId + */ + public function getCollectionId() + { + if (array_key_exists("collectionId", $this->_propDict)) { + return $this->_propDict["collectionId"]; + } else { + return null; + } + } + + /** + * Sets the collectionId + * The collection Id that is the target of the assignment. + * + * @param string $val The value of the collectionId + * + * @return ConfigurationManagerCollectionAssignmentTarget + */ + public function setCollectionId($val) + { + $this->_propDict["collectionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganization.php b/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganization.php new file mode 100644 index 0000000..12f97cd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganization.php @@ -0,0 +1,274 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ConnectedOrganization + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the connected organization. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the connected organization. + * + * @param string $val The description + * + * @return ConnectedOrganization + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the connected organization. Supports $filter (eq). + * + * @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 + * The display name of the connected organization. Supports $filter (eq). + * + * @param string $val The displayName + * + * @return ConnectedOrganization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the identitySources + * The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f'). + * + * @return array|null The identitySources + */ + public function getIdentitySources() + { + if (array_key_exists("identitySources", $this->_propDict)) { + return $this->_propDict["identitySources"]; + } else { + return null; + } + } + + /** + * Sets the identitySources + * The identity sources in this connected organization, one of azureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f'). + * + * @param IdentitySource[] $val The identitySources + * + * @return ConnectedOrganization + */ + public function setIdentitySources($val) + { + $this->_propDict["identitySources"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * 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 modifiedDateTime + * + * @return ConnectedOrganization + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. Possible values are: configured, proposed. + * + * @return ConnectedOrganizationState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ConnectedOrganizationState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ConnectedOrganizationState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The state of a connected organization defines whether assignment policies with requestor scope type AllConfiguredConnectedOrganizationSubjects are applicable or not. Possible values are: configured, proposed. + * + * @param ConnectedOrganizationState $val The state + * + * @return ConnectedOrganization + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + + /** + * Gets the externalSponsors + * Nullable. + * + * @return array|null The externalSponsors + */ + public function getExternalSponsors() + { + if (array_key_exists("externalSponsors", $this->_propDict)) { + return $this->_propDict["externalSponsors"]; + } else { + return null; + } + } + + /** + * Sets the externalSponsors + * Nullable. + * + * @param DirectoryObject[] $val The externalSponsors + * + * @return ConnectedOrganization + */ + public function setExternalSponsors($val) + { + $this->_propDict["externalSponsors"] = $val; + return $this; + } + + + /** + * Gets the internalSponsors + * Nullable. + * + * @return array|null The internalSponsors + */ + public function getInternalSponsors() + { + if (array_key_exists("internalSponsors", $this->_propDict)) { + return $this->_propDict["internalSponsors"]; + } else { + return null; + } + } + + /** + * Sets the internalSponsors + * Nullable. + * + * @param DirectoryObject[] $val The internalSponsors + * + * @return ConnectedOrganization + */ + public function setInternalSponsors($val) + { + $this->_propDict["internalSponsors"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganizationMembers.php b/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganizationMembers.php new file mode 100644 index 0000000..cdbcc60 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganizationMembers.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.connectedOrganizationMembers"); + } + + /** + * Gets the connectedOrganizationId + * The ID of the connected organization in entitlement management. + * + * @return string|null The connectedOrganizationId + */ + public function getConnectedOrganizationId() + { + if (array_key_exists("connectedOrganizationId", $this->_propDict)) { + return $this->_propDict["connectedOrganizationId"]; + } else { + return null; + } + } + + /** + * Sets the connectedOrganizationId + * The ID of the connected organization in entitlement management. + * + * @param string $val The value of the connectedOrganizationId + * + * @return ConnectedOrganizationMembers + */ + public function setConnectedOrganizationId($val) + { + $this->_propDict["connectedOrganizationId"] = $val; + return $this; + } + /** + * Gets the description + * The name of the connected organization. Read only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The name of the connected organization. Read only. + * + * @param string $val The value of the description + * + * @return ConnectedOrganizationMembers + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganizationState.php b/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganizationState.php new file mode 100644 index 0000000..76fb328 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConnectedOrganizationState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The endpoint that is used by Entitlement Management to communicate with the access package resource. + * + * @param string $val The value of the url + * + * @return ConnectionInfo + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConnectionStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ConnectionStatus.php new file mode 100644 index 0000000..5fa21ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConnectionStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["assistantName"]; + } else { + return null; + } + } + + /** + * Sets the assistantName + * The name of the contact's assistant. + * + * @param string $val The assistantName + * + * @return Contact + */ + public function setAssistantName($val) + { + $this->_propDict["assistantName"] = $val; + return $this; + } + + /** + * Gets the birthday + * The contact's birthday. 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 birthday + */ + public function getBirthday() + { + if (array_key_exists("birthday", $this->_propDict)) { + if (is_a($this->_propDict["birthday"], "\DateTime") || is_null($this->_propDict["birthday"])) { + return $this->_propDict["birthday"]; + } else { + $this->_propDict["birthday"] = new \DateTime($this->_propDict["birthday"]); + return $this->_propDict["birthday"]; + } + } + return null; + } + + /** + * Sets the birthday + * The contact's birthday. 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 birthday + * + * @return Contact + */ + public function setBirthday($val) + { + $this->_propDict["birthday"] = $val; + return $this; + } + + /** + * Gets the businessAddress + * The contact's business address. + * + * @return PhysicalAddress|null The businessAddress + */ + public function getBusinessAddress() + { + if (array_key_exists("businessAddress", $this->_propDict)) { + if (is_a($this->_propDict["businessAddress"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["businessAddress"])) { + return $this->_propDict["businessAddress"]; + } else { + $this->_propDict["businessAddress"] = new PhysicalAddress($this->_propDict["businessAddress"]); + return $this->_propDict["businessAddress"]; + } + } + return null; + } + + /** + * Sets the businessAddress + * The contact's business address. + * + * @param PhysicalAddress $val The businessAddress + * + * @return Contact + */ + public function setBusinessAddress($val) + { + $this->_propDict["businessAddress"] = $val; + return $this; + } + + /** + * Gets the businessHomePage + * The business home page of the contact. + * + * @return string|null The businessHomePage + */ + public function getBusinessHomePage() + { + if (array_key_exists("businessHomePage", $this->_propDict)) { + return $this->_propDict["businessHomePage"]; + } else { + return null; + } + } + + /** + * Sets the businessHomePage + * The business home page of the contact. + * + * @param string $val The businessHomePage + * + * @return Contact + */ + public function setBusinessHomePage($val) + { + $this->_propDict["businessHomePage"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * The contact's business phone numbers. + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * The contact's business phone numbers. + * + * @param string $val The businessPhones + * + * @return Contact + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the children + * The names of the contact's children. + * + * @return string|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * The names of the contact's children. + * + * @param string $val The children + * + * @return Contact + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the companyName + * The name of the contact's company. + * + * @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 name of the contact's company. + * + * @param string $val The companyName + * + * @return Contact + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the department + * The contact's department. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The contact's department. + * + * @param string $val The department + * + * @return Contact + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. + * + * @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 + * The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation. + * + * @param string $val The displayName + * + * @return Contact + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the emailAddresses + * The contact's email addresses. + * + * @return array|null The emailAddresses + */ + public function getEmailAddresses() + { + if (array_key_exists("emailAddresses", $this->_propDict)) { + return $this->_propDict["emailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the emailAddresses + * The contact's email addresses. + * + * @param EmailAddress[] $val The emailAddresses + * + * @return Contact + */ + public function setEmailAddresses($val) + { + $this->_propDict["emailAddresses"] = $val; + return $this; + } + + /** + * Gets the fileAs + * The name the contact is filed under. + * + * @return string|null The fileAs + */ + public function getFileAs() + { + if (array_key_exists("fileAs", $this->_propDict)) { + return $this->_propDict["fileAs"]; + } else { + return null; + } + } + + /** + * Sets the fileAs + * The name the contact is filed under. + * + * @param string $val The fileAs + * + * @return Contact + */ + public function setFileAs($val) + { + $this->_propDict["fileAs"] = $val; + return $this; + } + + /** + * Gets the generation + * The contact's generation. + * + * @return string|null The generation + */ + public function getGeneration() + { + if (array_key_exists("generation", $this->_propDict)) { + return $this->_propDict["generation"]; + } else { + return null; + } + } + + /** + * Sets the generation + * The contact's generation. + * + * @param string $val The generation + * + * @return Contact + */ + public function setGeneration($val) + { + $this->_propDict["generation"] = $val; + return $this; + } + + /** + * Gets the givenName + * The contact's given name. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The contact's given name. + * + * @param string $val The givenName + * + * @return Contact + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the homeAddress + * The contact's home address. + * + * @return PhysicalAddress|null The homeAddress + */ + public function getHomeAddress() + { + if (array_key_exists("homeAddress", $this->_propDict)) { + if (is_a($this->_propDict["homeAddress"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["homeAddress"])) { + return $this->_propDict["homeAddress"]; + } else { + $this->_propDict["homeAddress"] = new PhysicalAddress($this->_propDict["homeAddress"]); + return $this->_propDict["homeAddress"]; + } + } + return null; + } + + /** + * Sets the homeAddress + * The contact's home address. + * + * @param PhysicalAddress $val The homeAddress + * + * @return Contact + */ + public function setHomeAddress($val) + { + $this->_propDict["homeAddress"] = $val; + return $this; + } + + /** + * Gets the homePhones + * The contact's home phone numbers. + * + * @return string|null The homePhones + */ + public function getHomePhones() + { + if (array_key_exists("homePhones", $this->_propDict)) { + return $this->_propDict["homePhones"]; + } else { + return null; + } + } + + /** + * Sets the homePhones + * The contact's home phone numbers. + * + * @param string $val The homePhones + * + * @return Contact + */ + public function setHomePhones($val) + { + $this->_propDict["homePhones"] = $val; + return $this; + } + + /** + * Gets the imAddresses + * + * @return string|null The imAddresses + */ + public function getImAddresses() + { + if (array_key_exists("imAddresses", $this->_propDict)) { + return $this->_propDict["imAddresses"]; + } else { + return null; + } + } + + /** + * Sets the imAddresses + * + * @param string $val The imAddresses + * + * @return Contact + */ + public function setImAddresses($val) + { + $this->_propDict["imAddresses"] = $val; + return $this; + } + + /** + * Gets the initials + * + * @return string|null The initials + */ + public function getInitials() + { + if (array_key_exists("initials", $this->_propDict)) { + return $this->_propDict["initials"]; + } else { + return null; + } + } + + /** + * Sets the initials + * + * @param string $val The initials + * + * @return Contact + */ + public function setInitials($val) + { + $this->_propDict["initials"] = $val; + return $this; + } + + /** + * Gets the jobTitle + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * + * @param string $val The jobTitle + * + * @return Contact + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the manager + * + * @return string|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + return $this->_propDict["manager"]; + } else { + return null; + } + } + + /** + * Sets the manager + * + * @param string $val The manager + * + * @return Contact + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + /** + * Gets the middleName + * + * @return string|null The middleName + */ + public function getMiddleName() + { + if (array_key_exists("middleName", $this->_propDict)) { + return $this->_propDict["middleName"]; + } else { + return null; + } + } + + /** + * Sets the middleName + * + * @param string $val The middleName + * + * @return Contact + */ + public function setMiddleName($val) + { + $this->_propDict["middleName"] = $val; + return $this; + } + + /** + * Gets the mobilePhone + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * + * @param string $val The mobilePhone + * + * @return Contact + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the nickName + * + * @return string|null The nickName + */ + public function getNickName() + { + if (array_key_exists("nickName", $this->_propDict)) { + return $this->_propDict["nickName"]; + } else { + return null; + } + } + + /** + * Sets the nickName + * + * @param string $val The nickName + * + * @return Contact + */ + public function setNickName($val) + { + $this->_propDict["nickName"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * + * @param string $val The officeLocation + * + * @return Contact + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the otherAddress + * + * @return PhysicalAddress|null The otherAddress + */ + public function getOtherAddress() + { + if (array_key_exists("otherAddress", $this->_propDict)) { + if (is_a($this->_propDict["otherAddress"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["otherAddress"])) { + return $this->_propDict["otherAddress"]; + } else { + $this->_propDict["otherAddress"] = new PhysicalAddress($this->_propDict["otherAddress"]); + return $this->_propDict["otherAddress"]; + } + } + return null; + } + + /** + * Sets the otherAddress + * + * @param PhysicalAddress $val The otherAddress + * + * @return Contact + */ + public function setOtherAddress($val) + { + $this->_propDict["otherAddress"] = $val; + return $this; + } + + /** + * Gets the parentFolderId + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * + * @param string $val The parentFolderId + * + * @return Contact + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the personalNotes + * + * @return string|null The personalNotes + */ + public function getPersonalNotes() + { + if (array_key_exists("personalNotes", $this->_propDict)) { + return $this->_propDict["personalNotes"]; + } else { + return null; + } + } + + /** + * Sets the personalNotes + * + * @param string $val The personalNotes + * + * @return Contact + */ + public function setPersonalNotes($val) + { + $this->_propDict["personalNotes"] = $val; + return $this; + } + + /** + * Gets the profession + * + * @return string|null The profession + */ + public function getProfession() + { + if (array_key_exists("profession", $this->_propDict)) { + return $this->_propDict["profession"]; + } else { + return null; + } + } + + /** + * Sets the profession + * + * @param string $val The profession + * + * @return Contact + */ + public function setProfession($val) + { + $this->_propDict["profession"] = $val; + return $this; + } + + /** + * Gets the spouseName + * + * @return string|null The spouseName + */ + public function getSpouseName() + { + if (array_key_exists("spouseName", $this->_propDict)) { + return $this->_propDict["spouseName"]; + } else { + return null; + } + } + + /** + * Sets the spouseName + * + * @param string $val The spouseName + * + * @return Contact + */ + public function setSpouseName($val) + { + $this->_propDict["spouseName"] = $val; + return $this; + } + + /** + * Gets the surname + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * + * @param string $val The surname + * + * @return Contact + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the title + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * + * @param string $val The title + * + * @return Contact + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the yomiCompanyName + * + * @return string|null The yomiCompanyName + */ + public function getYomiCompanyName() + { + if (array_key_exists("yomiCompanyName", $this->_propDict)) { + return $this->_propDict["yomiCompanyName"]; + } else { + return null; + } + } + + /** + * Sets the yomiCompanyName + * + * @param string $val The yomiCompanyName + * + * @return Contact + */ + public function setYomiCompanyName($val) + { + $this->_propDict["yomiCompanyName"] = $val; + return $this; + } + + /** + * Gets the yomiGivenName + * + * @return string|null The yomiGivenName + */ + public function getYomiGivenName() + { + if (array_key_exists("yomiGivenName", $this->_propDict)) { + return $this->_propDict["yomiGivenName"]; + } else { + return null; + } + } + + /** + * Sets the yomiGivenName + * + * @param string $val The yomiGivenName + * + * @return Contact + */ + public function setYomiGivenName($val) + { + $this->_propDict["yomiGivenName"] = $val; + return $this; + } + + /** + * Gets the yomiSurname + * + * @return string|null The yomiSurname + */ + public function getYomiSurname() + { + if (array_key_exists("yomiSurname", $this->_propDict)) { + return $this->_propDict["yomiSurname"]; + } else { + return null; + } + } + + /** + * Sets the yomiSurname + * + * @param string $val The yomiSurname + * + * @return Contact + */ + public function setYomiSurname($val) + { + $this->_propDict["yomiSurname"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the contact. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the contact. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Contact + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contact. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contact. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Contact + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + /** + * Gets the photo + * Optional contact picture. You can get or set a photo for a contact. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * Optional contact picture. You can get or set a photo for a contact. + * + * @param ProfilePhoto $val The photo + * + * @return Contact + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contact. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contact. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Contact + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ContactFolder.php b/vendor/microsoft/microsoft-graph/src/Model/ContactFolder.php new file mode 100644 index 0000000..2b0fe0b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ContactFolder.php @@ -0,0 +1,205 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The folder's display name. + * + * @param string $val The displayName + * + * @return ContactFolder + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the parentFolderId + * The ID of the folder's parent folder. + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * The ID of the folder's parent folder. + * + * @param string $val The parentFolderId + * + * @return ContactFolder + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + + /** + * Gets the childFolders + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * + * @return array|null The childFolders + */ + public function getChildFolders() + { + if (array_key_exists("childFolders", $this->_propDict)) { + return $this->_propDict["childFolders"]; + } else { + return null; + } + } + + /** + * Sets the childFolders + * The collection of child folders in the folder. Navigation property. Read-only. Nullable. + * + * @param ContactFolder[] $val The childFolders + * + * @return ContactFolder + */ + public function setChildFolders($val) + { + $this->_propDict["childFolders"] = $val; + return $this; + } + + + /** + * Gets the contacts + * The contacts in the folder. Navigation property. Read-only. Nullable. + * + * @return array|null The contacts + */ + public function getContacts() + { + if (array_key_exists("contacts", $this->_propDict)) { + return $this->_propDict["contacts"]; + } else { + return null; + } + } + + /** + * Sets the contacts + * The contacts in the folder. Navigation property. Read-only. Nullable. + * + * @param Contact[] $val The contacts + * + * @return ContactFolder + */ + public function setContacts($val) + { + $this->_propDict["contacts"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return ContactFolder + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return ContactFolder + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ContactRelationship.php b/vendor/microsoft/microsoft-graph/src/Model/ContactRelationship.php new file mode 100644 index 0000000..1da4640 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ContactRelationship.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["associatedHubsUrls"]; + } else { + return null; + } + } + + /** + * Sets the associatedHubsUrls + * List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. + * + * @param string $val The associatedHubsUrls + * + * @return ContentType + */ + public function setAssociatedHubsUrls($val) + { + $this->_propDict["associatedHubsUrls"] = $val; + return $this; + } + + /** + * Gets the description + * The descriptive text for the item. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The descriptive text for the item. + * + * @param string $val The description + * + * @return ContentType + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the documentSet + * Document Set metadata. + * + * @return DocumentSet|null The documentSet + */ + public function getDocumentSet() + { + if (array_key_exists("documentSet", $this->_propDict)) { + if (is_a($this->_propDict["documentSet"], "\Microsoft\Graph\Model\DocumentSet") || is_null($this->_propDict["documentSet"])) { + return $this->_propDict["documentSet"]; + } else { + $this->_propDict["documentSet"] = new DocumentSet($this->_propDict["documentSet"]); + return $this->_propDict["documentSet"]; + } + } + return null; + } + + /** + * Sets the documentSet + * Document Set metadata. + * + * @param DocumentSet $val The documentSet + * + * @return ContentType + */ + public function setDocumentSet($val) + { + $this->_propDict["documentSet"] = $val; + return $this; + } + + /** + * Gets the documentTemplate + * Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type. + * + * @return DocumentSetContent|null The documentTemplate + */ + public function getDocumentTemplate() + { + if (array_key_exists("documentTemplate", $this->_propDict)) { + if (is_a($this->_propDict["documentTemplate"], "\Microsoft\Graph\Model\DocumentSetContent") || is_null($this->_propDict["documentTemplate"])) { + return $this->_propDict["documentTemplate"]; + } else { + $this->_propDict["documentTemplate"] = new DocumentSetContent($this->_propDict["documentTemplate"]); + return $this->_propDict["documentTemplate"]; + } + } + return null; + } + + /** + * Sets the documentTemplate + * Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type. + * + * @param DocumentSetContent $val The documentTemplate + * + * @return ContentType + */ + public function setDocumentTemplate($val) + { + $this->_propDict["documentTemplate"] = $val; + return $this; + } + + /** + * Gets the group + * The name of the group this content type belongs to. Helps organize related content types. + * + * @return string|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + return $this->_propDict["group"]; + } else { + return null; + } + } + + /** + * Sets the group + * The name of the group this content type belongs to. Helps organize related content types. + * + * @param string $val The group + * + * @return ContentType + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the hidden + * Indicates whether the content type is hidden in the list's 'New' menu. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Indicates whether the content type is hidden in the list's 'New' menu. + * + * @param bool $val The hidden + * + * @return ContentType + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = boolval($val); + return $this; + } + + /** + * Gets the inheritedFrom + * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined. + * + * @return ItemReference|null The inheritedFrom + */ + public function getInheritedFrom() + { + if (array_key_exists("inheritedFrom", $this->_propDict)) { + if (is_a($this->_propDict["inheritedFrom"], "\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["inheritedFrom"])) { + return $this->_propDict["inheritedFrom"]; + } else { + $this->_propDict["inheritedFrom"] = new ItemReference($this->_propDict["inheritedFrom"]); + return $this->_propDict["inheritedFrom"]; + } + } + return null; + } + + /** + * Sets the inheritedFrom + * If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined. + * + * @param ItemReference $val The inheritedFrom + * + * @return ContentType + */ + public function setInheritedFrom($val) + { + $this->_propDict["inheritedFrom"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Specifies if a content type is a built-in content type. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Specifies if a content type is a built-in content type. + * + * @param bool $val The isBuiltIn + * + * @return ContentType + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the name + * The name of the content type. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the content type. + * + * @param string $val The name + * + * @return ContentType + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the order + * Specifies the order in which the content type appears in the selection UI. + * + * @return ContentTypeOrder|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + if (is_a($this->_propDict["order"], "\Microsoft\Graph\Model\ContentTypeOrder") || is_null($this->_propDict["order"])) { + return $this->_propDict["order"]; + } else { + $this->_propDict["order"] = new ContentTypeOrder($this->_propDict["order"]); + return $this->_propDict["order"]; + } + } + return null; + } + + /** + * Sets the order + * Specifies the order in which the content type appears in the selection UI. + * + * @param ContentTypeOrder $val The order + * + * @return ContentType + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } + + /** + * Gets the parentId + * The unique identifier of the content type. + * + * @return string|null The parentId + */ + public function getParentId() + { + if (array_key_exists("parentId", $this->_propDict)) { + return $this->_propDict["parentId"]; + } else { + return null; + } + } + + /** + * Sets the parentId + * The unique identifier of the content type. + * + * @param string $val The parentId + * + * @return ContentType + */ + public function setParentId($val) + { + $this->_propDict["parentId"] = $val; + return $this; + } + + /** + * Gets the propagateChanges + * If true, any changes made to the content type will be pushed to inherited content types and lists that implement the content type. + * + * @return bool|null The propagateChanges + */ + public function getPropagateChanges() + { + if (array_key_exists("propagateChanges", $this->_propDict)) { + return $this->_propDict["propagateChanges"]; + } else { + return null; + } + } + + /** + * Sets the propagateChanges + * If true, any changes made to the content type will be pushed to inherited content types and lists that implement the content type. + * + * @param bool $val The propagateChanges + * + * @return ContentType + */ + public function setPropagateChanges($val) + { + $this->_propDict["propagateChanges"] = boolval($val); + return $this; + } + + /** + * Gets the readOnly + * If true, the content type cannot be modified unless this value is first set to false. + * + * @return bool|null The readOnly + */ + public function getReadOnly() + { + if (array_key_exists("readOnly", $this->_propDict)) { + return $this->_propDict["readOnly"]; + } else { + return null; + } + } + + /** + * Sets the readOnly + * If true, the content type cannot be modified unless this value is first set to false. + * + * @param bool $val The readOnly + * + * @return ContentType + */ + public function setReadOnly($val) + { + $this->_propDict["readOnly"] = boolval($val); + return $this; + } + + /** + * Gets the sealed + * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. + * + * @return bool|null The sealed + */ + public function getSealed() + { + if (array_key_exists("sealed", $this->_propDict)) { + return $this->_propDict["sealed"]; + } else { + return null; + } + } + + /** + * Sets the sealed + * If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. + * + * @param bool $val The sealed + * + * @return ContentType + */ + public function setSealed($val) + { + $this->_propDict["sealed"] = boolval($val); + return $this; + } + + /** + * Gets the base + * Parent contentType from which this content type is derived. + * + * @return ContentType|null The base + */ + public function getBase() + { + if (array_key_exists("base", $this->_propDict)) { + if (is_a($this->_propDict["base"], "\Microsoft\Graph\Model\ContentType") || is_null($this->_propDict["base"])) { + return $this->_propDict["base"]; + } else { + $this->_propDict["base"] = new ContentType($this->_propDict["base"]); + return $this->_propDict["base"]; + } + } + return null; + } + + /** + * Sets the base + * Parent contentType from which this content type is derived. + * + * @param ContentType $val The base + * + * @return ContentType + */ + public function setBase($val) + { + $this->_propDict["base"] = $val; + return $this; + } + + + /** + * Gets the baseTypes + * The collection of content types that are ancestors of this content type. + * + * @return array|null The baseTypes + */ + public function getBaseTypes() + { + if (array_key_exists("baseTypes", $this->_propDict)) { + return $this->_propDict["baseTypes"]; + } else { + return null; + } + } + + /** + * Sets the baseTypes + * The collection of content types that are ancestors of this content type. + * + * @param ContentType[] $val The baseTypes + * + * @return ContentType + */ + public function setBaseTypes($val) + { + $this->_propDict["baseTypes"] = $val; + return $this; + } + + + /** + * Gets the columnLinks + * The collection of columns that are required by this content type + * + * @return array|null The columnLinks + */ + public function getColumnLinks() + { + if (array_key_exists("columnLinks", $this->_propDict)) { + return $this->_propDict["columnLinks"]; + } else { + return null; + } + } + + /** + * Sets the columnLinks + * The collection of columns that are required by this content type + * + * @param ColumnLink[] $val The columnLinks + * + * @return ContentType + */ + public function setColumnLinks($val) + { + $this->_propDict["columnLinks"] = $val; + return $this; + } + + + /** + * Gets the columnPositions + * Column order information in a content type. + * + * @return array|null The columnPositions + */ + public function getColumnPositions() + { + if (array_key_exists("columnPositions", $this->_propDict)) { + return $this->_propDict["columnPositions"]; + } else { + return null; + } + } + + /** + * Sets the columnPositions + * Column order information in a content type. + * + * @param ColumnDefinition[] $val The columnPositions + * + * @return ContentType + */ + public function setColumnPositions($val) + { + $this->_propDict["columnPositions"] = $val; + return $this; + } + + + /** + * Gets the columns + * The collection of column definitions for this contentType. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * The collection of column definitions for this contentType. + * + * @param ColumnDefinition[] $val The columns + * + * @return ContentType + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php new file mode 100644 index 0000000..912eff8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The id of the content type. + * + * @param string $val The value of the id + * + * @return ContentTypeInfo + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * The name of the content type. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the content type. + * + * @param string $val The value of the name + * + * @return ContentTypeInfo + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ContentTypeOrder.php b/vendor/microsoft/microsoft-graph/src/Model/ContentTypeOrder.php new file mode 100644 index 0000000..a5d5e19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ContentTypeOrder.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["default"]; + } else { + return null; + } + } + + /** + * Sets the default + * Whether this is the default Content Type + * + * @param bool $val The value of the default + * + * @return ContentTypeOrder + */ + public function setDefault($val) + { + $this->_propDict["default"] = $val; + return $this; + } + /** + * Gets the position + * Specifies the position in which the Content Type appears in the selection UI. + * + * @return int|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * Specifies the position in which the Content Type appears in the selection UI. + * + * @param int $val The value of the position + * + * @return ContentTypeOrder + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Contract.php b/vendor/microsoft/microsoft-graph/src/Model/Contract.php new file mode 100644 index 0000000..056c0c4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Contract.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["contractType"]; + } else { + return null; + } + } + + /** + * Sets the contractType + * Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below. + * + * @param string $val The contractType + * + * @return Contract + */ + public function setContractType($val) + { + $this->_propDict["contractType"] = $val; + return $this; + } + + /** + * Gets the customerId + * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. + * + * @return string|null The customerId + */ + public function getCustomerId() + { + if (array_key_exists("customerId", $this->_propDict)) { + return $this->_propDict["customerId"]; + } else { + return null; + } + } + + /** + * Sets the customerId + * The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource. + * + * @param string $val The customerId + * + * @return Contract + */ + public function setCustomerId($val) + { + $this->_propDict["customerId"] = $val; + return $this; + } + + /** + * Gets the defaultDomainName + * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + * + * @return string|null The defaultDomainName + */ + public function getDefaultDomainName() + { + if (array_key_exists("defaultDomainName", $this->_propDict)) { + return $this->_propDict["defaultDomainName"]; + } else { + return null; + } + } + + /** + * Sets the defaultDomainName + * A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. + * + * @param string $val The defaultDomainName + * + * @return Contract + */ + public function setDefaultDomainName($val) + { + $this->_propDict["defaultDomainName"] = $val; + return $this; + } + + /** + * Gets the displayName + * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. + * + * @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 + * A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. + * + * @param string $val The displayName + * + * @return Contract + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ControlScore.php b/vendor/microsoft/microsoft-graph/src/Model/ControlScore.php new file mode 100644 index 0000000..e2cb505 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ControlScore.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["controlCategory"]; + } else { + return null; + } + } + + /** + * Sets the controlCategory + * Control action category (Identity, Data, Device, Apps, Infrastructure). + * + * @param string $val The value of the controlCategory + * + * @return ControlScore + */ + public function setControlCategory($val) + { + $this->_propDict["controlCategory"] = $val; + return $this; + } + /** + * Gets the controlName + * Control unique name. + * + * @return string|null The controlName + */ + public function getControlName() + { + if (array_key_exists("controlName", $this->_propDict)) { + return $this->_propDict["controlName"]; + } else { + return null; + } + } + + /** + * Sets the controlName + * Control unique name. + * + * @param string $val The value of the controlName + * + * @return ControlScore + */ + public function setControlName($val) + { + $this->_propDict["controlName"] = $val; + return $this; + } + /** + * Gets the description + * Description of the control. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the control. + * + * @param string $val The value of the description + * + * @return ControlScore + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the score + * Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). + * + * @return float|null The score + */ + public function getScore() + { + if (array_key_exists("score", $this->_propDict)) { + return $this->_propDict["score"]; + } else { + return null; + } + } + + /** + * Sets the score + * Tenant achieved score for the control (it varies day by day depending on tenant operations on the control). + * + * @param float $val The value of the score + * + * @return ControlScore + */ + public function setScore($val) + { + $this->_propDict["score"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Conversation.php b/vendor/microsoft/microsoft-graph/src/Model/Conversation.php new file mode 100644 index 0000000..4270ace --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Conversation.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether any of the posts within this Conversation has at least one attachment. Supports $filter (eq, ne) and $search. + * + * @param bool $val The hasAttachments + * + * @return Conversation + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the lastDeliveredDateTime + * 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. Supports $filter (eq, ne, le, ge). + * + * @return \DateTime|null The lastDeliveredDateTime + */ + public function getLastDeliveredDateTime() + { + if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime") || is_null($this->_propDict["lastDeliveredDateTime"])) { + return $this->_propDict["lastDeliveredDateTime"]; + } else { + $this->_propDict["lastDeliveredDateTime"] = new \DateTime($this->_propDict["lastDeliveredDateTime"]); + return $this->_propDict["lastDeliveredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDeliveredDateTime + * 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. Supports $filter (eq, ne, le, ge). + * + * @param \DateTime $val The lastDeliveredDateTime + * + * @return Conversation + */ + public function setLastDeliveredDateTime($val) + { + $this->_propDict["lastDeliveredDateTime"] = $val; + return $this; + } + + /** + * Gets the preview + * A short summary from the body of the latest post in this conversation. + * + * @return string|null The preview + */ + public function getPreview() + { + if (array_key_exists("preview", $this->_propDict)) { + return $this->_propDict["preview"]; + } else { + return null; + } + } + + /** + * Sets the preview + * A short summary from the body of the latest post in this conversation. + * + * @param string $val The preview + * + * @return Conversation + */ + public function setPreview($val) + { + $this->_propDict["preview"] = $val; + return $this; + } + + /** + * Gets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + * + * @return string|null The topic + */ + public function getTopic() + { + if (array_key_exists("topic", $this->_propDict)) { + return $this->_propDict["topic"]; + } else { + return null; + } + } + + /** + * Sets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. + * + * @param string $val The topic + * + * @return Conversation + */ + public function setTopic($val) + { + $this->_propDict["topic"] = $val; + return $this; + } + + /** + * Gets the uniqueSenders + * All the users that sent a message to this Conversation. + * + * @return string|null The uniqueSenders + */ + public function getUniqueSenders() + { + if (array_key_exists("uniqueSenders", $this->_propDict)) { + return $this->_propDict["uniqueSenders"]; + } else { + return null; + } + } + + /** + * Sets the uniqueSenders + * All the users that sent a message to this Conversation. + * + * @param string $val The uniqueSenders + * + * @return Conversation + */ + public function setUniqueSenders($val) + { + $this->_propDict["uniqueSenders"] = $val; + return $this; + } + + + /** + * Gets the threads + * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. + * + * @return array|null The threads + */ + public function getThreads() + { + if (array_key_exists("threads", $this->_propDict)) { + return $this->_propDict["threads"]; + } else { + return null; + } + } + + /** + * Sets the threads + * A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. + * + * @param ConversationThread[] $val The threads + * + * @return Conversation + */ + public function setThreads($val) + { + $this->_propDict["threads"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConversationMember.php b/vendor/microsoft/microsoft-graph/src/Model/ConversationMember.php new file mode 100644 index 0000000..8d32a18 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConversationMember.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the user. + * + * @param string $val The displayName + * + * @return ConversationMember + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the roles + * The roles for that user. + * + * @return string|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * The roles for that user. + * + * @param string $val The roles + * + * @return ConversationMember + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + /** + * Gets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat. + * + * @return \DateTime|null The visibleHistoryStartDateTime + */ + public function getVisibleHistoryStartDateTime() + { + if (array_key_exists("visibleHistoryStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["visibleHistoryStartDateTime"], "\DateTime") || is_null($this->_propDict["visibleHistoryStartDateTime"])) { + return $this->_propDict["visibleHistoryStartDateTime"]; + } else { + $this->_propDict["visibleHistoryStartDateTime"] = new \DateTime($this->_propDict["visibleHistoryStartDateTime"]); + return $this->_propDict["visibleHistoryStartDateTime"]; + } + } + return null; + } + + /** + * Sets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat. + * + * @param \DateTime $val The visibleHistoryStartDateTime + * + * @return ConversationMember + */ + public function setVisibleHistoryStartDateTime($val) + { + $this->_propDict["visibleHistoryStartDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConversationMemberRoleUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/ConversationMemberRoleUpdatedEventMessageDetail.php new file mode 100644 index 0000000..c196086 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConversationMemberRoleUpdatedEventMessageDetail.php @@ -0,0 +1,131 @@ +setODataType("#microsoft.graph.conversationMemberRoleUpdatedEventMessageDetail"); + } + + /** + * Gets the conversationMemberRoles + * Roles for the coversation member user. + * + * @return string|null The conversationMemberRoles + */ + public function getConversationMemberRoles() + { + if (array_key_exists("conversationMemberRoles", $this->_propDict)) { + return $this->_propDict["conversationMemberRoles"]; + } else { + return null; + } + } + + /** + * Sets the conversationMemberRoles + * Roles for the coversation member user. + * + * @param string $val The value of the conversationMemberRoles + * + * @return ConversationMemberRoleUpdatedEventMessageDetail + */ + public function setConversationMemberRoles($val) + { + $this->_propDict["conversationMemberRoles"] = $val; + return $this; + } + + /** + * Gets the conversationMemberUser + * Identity of the conversation member user. + * + * @return TeamworkUserIdentity|null The conversationMemberUser + */ + public function getConversationMemberUser() + { + if (array_key_exists("conversationMemberUser", $this->_propDict)) { + if (is_a($this->_propDict["conversationMemberUser"], "\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["conversationMemberUser"])) { + return $this->_propDict["conversationMemberUser"]; + } else { + $this->_propDict["conversationMemberUser"] = new TeamworkUserIdentity($this->_propDict["conversationMemberUser"]); + return $this->_propDict["conversationMemberUser"]; + } + } + return null; + } + + /** + * Sets the conversationMemberUser + * Identity of the conversation member user. + * + * @param TeamworkUserIdentity $val The value to assign to the conversationMemberUser + * + * @return ConversationMemberRoleUpdatedEventMessageDetail The ConversationMemberRoleUpdatedEventMessageDetail + */ + public function setConversationMemberUser($val) + { + $this->_propDict["conversationMemberUser"] = $val; + return $this; + } + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return ConversationMemberRoleUpdatedEventMessageDetail The ConversationMemberRoleUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php b/vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php new file mode 100644 index 0000000..e15e3ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php @@ -0,0 +1,295 @@ +_propDict)) { + return $this->_propDict["ccRecipients"]; + } else { + return null; + } + } + + /** + * Sets the ccRecipients + * The Cc: recipients for the thread. Returned only on $select. + * + * @param Recipient[] $val The ccRecipients + * + * @return ConversationThread + */ + public function setCcRecipients($val) + { + $this->_propDict["ccRecipients"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether any of the posts within this thread has at least one attachment. Returned by default. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether any of the posts within this thread has at least one attachment. Returned by default. + * + * @param bool $val The hasAttachments + * + * @return ConversationThread + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the isLocked + * Indicates if the thread is locked. Returned by default. + * + * @return bool|null The isLocked + */ + public function getIsLocked() + { + if (array_key_exists("isLocked", $this->_propDict)) { + return $this->_propDict["isLocked"]; + } else { + return null; + } + } + + /** + * Sets the isLocked + * Indicates if the thread is locked. Returned by default. + * + * @param bool $val The isLocked + * + * @return ConversationThread + */ + public function setIsLocked($val) + { + $this->_propDict["isLocked"] = boolval($val); + return $this; + } + + /** + * Gets the lastDeliveredDateTime + * 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. Returned by default. + * + * @return \DateTime|null The lastDeliveredDateTime + */ + public function getLastDeliveredDateTime() + { + if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime") || is_null($this->_propDict["lastDeliveredDateTime"])) { + return $this->_propDict["lastDeliveredDateTime"]; + } else { + $this->_propDict["lastDeliveredDateTime"] = new \DateTime($this->_propDict["lastDeliveredDateTime"]); + return $this->_propDict["lastDeliveredDateTime"]; + } + } + return null; + } + + /** + * Sets the lastDeliveredDateTime + * 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. Returned by default. + * + * @param \DateTime $val The lastDeliveredDateTime + * + * @return ConversationThread + */ + public function setLastDeliveredDateTime($val) + { + $this->_propDict["lastDeliveredDateTime"] = $val; + return $this; + } + + /** + * Gets the preview + * A short summary from the body of the latest post in this conversation. Returned by default. + * + * @return string|null The preview + */ + public function getPreview() + { + if (array_key_exists("preview", $this->_propDict)) { + return $this->_propDict["preview"]; + } else { + return null; + } + } + + /** + * Sets the preview + * A short summary from the body of the latest post in this conversation. Returned by default. + * + * @param string $val The preview + * + * @return ConversationThread + */ + public function setPreview($val) + { + $this->_propDict["preview"] = $val; + return $this; + } + + /** + * Gets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default. + * + * @return string|null The topic + */ + public function getTopic() + { + if (array_key_exists("topic", $this->_propDict)) { + return $this->_propDict["topic"]; + } else { + return null; + } + } + + /** + * Sets the topic + * The topic of the conversation. This property can be set when the conversation is created, but it cannot be updated. Returned by default. + * + * @param string $val The topic + * + * @return ConversationThread + */ + public function setTopic($val) + { + $this->_propDict["topic"] = $val; + return $this; + } + + + /** + * Gets the toRecipients + * The To: recipients for the thread. Returned only on $select. + * + * @return array|null The toRecipients + */ + public function getToRecipients() + { + if (array_key_exists("toRecipients", $this->_propDict)) { + return $this->_propDict["toRecipients"]; + } else { + return null; + } + } + + /** + * Sets the toRecipients + * The To: recipients for the thread. Returned only on $select. + * + * @param Recipient[] $val The toRecipients + * + * @return ConversationThread + */ + public function setToRecipients($val) + { + $this->_propDict["toRecipients"] = $val; + return $this; + } + + /** + * Gets the uniqueSenders + * All the users that sent a message to this thread. Returned by default. + * + * @return string|null The uniqueSenders + */ + public function getUniqueSenders() + { + if (array_key_exists("uniqueSenders", $this->_propDict)) { + return $this->_propDict["uniqueSenders"]; + } else { + return null; + } + } + + /** + * Sets the uniqueSenders + * All the users that sent a message to this thread. Returned by default. + * + * @param string $val The uniqueSenders + * + * @return ConversationThread + */ + public function setUniqueSenders($val) + { + $this->_propDict["uniqueSenders"] = $val; + return $this; + } + + + /** + * Gets the posts + * Read-only. Nullable. + * + * @return array|null The posts + */ + public function getPosts() + { + if (array_key_exists("posts", $this->_propDict)) { + return $this->_propDict["posts"]; + } else { + return null; + } + } + + /** + * Sets the posts + * Read-only. Nullable. + * + * @param Post[] $val The posts + * + * @return ConversationThread + */ + public function setPosts($val) + { + $this->_propDict["posts"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ConvertIdResult.php b/vendor/microsoft/microsoft-graph/src/Model/ConvertIdResult.php new file mode 100644 index 0000000..9561723 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ConvertIdResult.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["errorDetails"], "\Microsoft\Graph\Model\GenericError") || is_null($this->_propDict["errorDetails"])) { + return $this->_propDict["errorDetails"]; + } else { + $this->_propDict["errorDetails"] = new GenericError($this->_propDict["errorDetails"]); + return $this->_propDict["errorDetails"]; + } + } + return null; + } + + /** + * Sets the errorDetails + * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + * + * @param GenericError $val The value to assign to the errorDetails + * + * @return ConvertIdResult The ConvertIdResult + */ + public function setErrorDetails($val) + { + $this->_propDict["errorDetails"] = $val; + return $this; + } + /** + * Gets the sourceId + * The identifier that was converted. This value is the original, un-converted identifier. + * + * @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 + * The identifier that was converted. This value is the original, un-converted identifier. + * + * @param string $val The value of the sourceId + * + * @return ConvertIdResult + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + /** + * Gets the targetId + * The converted identifier. This value is not present if the conversion failed. + * + * @return string|null The targetId + */ + public function getTargetId() + { + if (array_key_exists("targetId", $this->_propDict)) { + return $this->_propDict["targetId"]; + } else { + return null; + } + } + + /** + * Sets the targetId + * The converted identifier. This value is not present if the conversion failed. + * + * @param string $val The value of the targetId + * + * @return ConvertIdResult + */ + public function setTargetId($val) + { + $this->_propDict["targetId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CopyNotebookModel.php b/vendor/microsoft/microsoft-graph/src/Model/CopyNotebookModel.php new file mode 100644 index 0000000..176334c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CopyNotebookModel.php @@ -0,0 +1,446 @@ +_propDict)) { + return $this->_propDict["createdBy"]; + } else { + return null; + } + } + + /** + * Sets the createdBy + * + * @param string $val The value of the createdBy + * + * @return CopyNotebookModel + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdByIdentity + * + * @return IdentitySet|null The createdByIdentity + */ + public function getCreatedByIdentity() + { + if (array_key_exists("createdByIdentity", $this->_propDict)) { + if (is_a($this->_propDict["createdByIdentity"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdByIdentity"])) { + return $this->_propDict["createdByIdentity"]; + } else { + $this->_propDict["createdByIdentity"] = new IdentitySet($this->_propDict["createdByIdentity"]); + return $this->_propDict["createdByIdentity"]; + } + } + return null; + } + + /** + * Sets the createdByIdentity + * + * @param IdentitySet $val The value to assign to the createdByIdentity + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setCreatedByIdentity($val) + { + $this->_propDict["createdByIdentity"] = $val; + return $this; + } + + /** + * Gets the createdTime + * + * @return \DateTime|null The createdTime + */ + public function getCreatedTime() + { + if (array_key_exists("createdTime", $this->_propDict)) { + if (is_a($this->_propDict["createdTime"], "\DateTime") || is_null($this->_propDict["createdTime"])) { + return $this->_propDict["createdTime"]; + } else { + $this->_propDict["createdTime"] = new \DateTime($this->_propDict["createdTime"]); + return $this->_propDict["createdTime"]; + } + } + return null; + } + + /** + * Sets the createdTime + * + * @param \DateTime $val The value to assign to the createdTime + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setCreatedTime($val) + { + $this->_propDict["createdTime"] = $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 CopyNotebookModel + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isDefault + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * + * @param bool $val The value of the isDefault + * + * @return CopyNotebookModel + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the isShared + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * + * @param bool $val The value of the isShared + * + * @return CopyNotebookModel + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = $val; + return $this; + } + /** + * Gets the lastModifiedBy + * + * @return string|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + return $this->_propDict["lastModifiedBy"]; + } else { + return null; + } + } + + /** + * Sets the lastModifiedBy + * + * @param string $val The value of the lastModifiedBy + * + * @return CopyNotebookModel + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedByIdentity + * + * @return IdentitySet|null The lastModifiedByIdentity + */ + public function getLastModifiedByIdentity() + { + if (array_key_exists("lastModifiedByIdentity", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedByIdentity"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedByIdentity"])) { + return $this->_propDict["lastModifiedByIdentity"]; + } else { + $this->_propDict["lastModifiedByIdentity"] = new IdentitySet($this->_propDict["lastModifiedByIdentity"]); + return $this->_propDict["lastModifiedByIdentity"]; + } + } + return null; + } + + /** + * Sets the lastModifiedByIdentity + * + * @param IdentitySet $val The value to assign to the lastModifiedByIdentity + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setLastModifiedByIdentity($val) + { + $this->_propDict["lastModifiedByIdentity"] = $val; + return $this; + } + + /** + * Gets the lastModifiedTime + * + * @return \DateTime|null The lastModifiedTime + */ + public function getLastModifiedTime() + { + if (array_key_exists("lastModifiedTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedTime"], "\DateTime") || is_null($this->_propDict["lastModifiedTime"])) { + return $this->_propDict["lastModifiedTime"]; + } else { + $this->_propDict["lastModifiedTime"] = new \DateTime($this->_propDict["lastModifiedTime"]); + return $this->_propDict["lastModifiedTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedTime + * + * @param \DateTime $val The value to assign to the lastModifiedTime + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setLastModifiedTime($val) + { + $this->_propDict["lastModifiedTime"] = $val; + return $this; + } + + /** + * Gets the links + * + * @return NotebookLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\NotebookLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new NotebookLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * + * @param NotebookLinks $val The value to assign to the links + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return CopyNotebookModel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the sectionGroupsUrl + * + * @return string|null The sectionGroupsUrl + */ + public function getSectionGroupsUrl() + { + if (array_key_exists("sectionGroupsUrl", $this->_propDict)) { + return $this->_propDict["sectionGroupsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroupsUrl + * + * @param string $val The value of the sectionGroupsUrl + * + * @return CopyNotebookModel + */ + public function setSectionGroupsUrl($val) + { + $this->_propDict["sectionGroupsUrl"] = $val; + return $this; + } + /** + * Gets the sectionsUrl + * + * @return string|null The sectionsUrl + */ + public function getSectionsUrl() + { + if (array_key_exists("sectionsUrl", $this->_propDict)) { + return $this->_propDict["sectionsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionsUrl + * + * @param string $val The value of the sectionsUrl + * + * @return CopyNotebookModel + */ + public function setSectionsUrl($val) + { + $this->_propDict["sectionsUrl"] = $val; + return $this; + } + /** + * Gets the self + * + * @return string|null The self + */ + public function getSelf() + { + if (array_key_exists("self", $this->_propDict)) { + return $this->_propDict["self"]; + } else { + return null; + } + } + + /** + * Sets the self + * + * @param string $val The value of the self + * + * @return CopyNotebookModel + */ + public function setSelf($val) + { + $this->_propDict["self"] = $val; + return $this; + } + + /** + * Gets the userRole + * + * @return OnenoteUserRole|null The userRole + */ + public function getUserRole() + { + if (array_key_exists("userRole", $this->_propDict)) { + if (is_a($this->_propDict["userRole"], "\Microsoft\Graph\Model\OnenoteUserRole") || is_null($this->_propDict["userRole"])) { + return $this->_propDict["userRole"]; + } else { + $this->_propDict["userRole"] = new OnenoteUserRole($this->_propDict["userRole"]); + return $this->_propDict["userRole"]; + } + } + return null; + } + + /** + * Sets the userRole + * + * @param OnenoteUserRole $val The value to assign to the userRole + * + * @return CopyNotebookModel The CopyNotebookModel + */ + public function setUserRole($val) + { + $this->_propDict["userRole"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CountryLookupMethodType.php b/vendor/microsoft/microsoft-graph/src/Model/CountryLookupMethodType.php new file mode 100644 index 0000000..938345a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CountryLookupMethodType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["countriesAndRegions"]; + } else { + return null; + } + } + + /** + * Sets the countriesAndRegions + * List of countries and/or regions in two-letter format specified by ISO 3166-2. + * + * @param string $val The countriesAndRegions + * + * @return CountryNamedLocation + */ + public function setCountriesAndRegions($val) + { + $this->_propDict["countriesAndRegions"] = $val; + return $this; + } + + /** + * Gets the countryLookupMethod + * Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. + * + * @return CountryLookupMethodType|null The countryLookupMethod + */ + public function getCountryLookupMethod() + { + if (array_key_exists("countryLookupMethod", $this->_propDict)) { + if (is_a($this->_propDict["countryLookupMethod"], "\Microsoft\Graph\Model\CountryLookupMethodType") || is_null($this->_propDict["countryLookupMethod"])) { + return $this->_propDict["countryLookupMethod"]; + } else { + $this->_propDict["countryLookupMethod"] = new CountryLookupMethodType($this->_propDict["countryLookupMethod"]); + return $this->_propDict["countryLookupMethod"]; + } + } + return null; + } + + /** + * Sets the countryLookupMethod + * Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. + * + * @param CountryLookupMethodType $val The countryLookupMethod + * + * @return CountryNamedLocation + */ + public function setCountryLookupMethod($val) + { + $this->_propDict["countryLookupMethod"] = $val; + return $this; + } + + /** + * Gets the includeUnknownCountriesAndRegions + * true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. + * + * @return bool|null The includeUnknownCountriesAndRegions + */ + public function getIncludeUnknownCountriesAndRegions() + { + if (array_key_exists("includeUnknownCountriesAndRegions", $this->_propDict)) { + return $this->_propDict["includeUnknownCountriesAndRegions"]; + } else { + return null; + } + } + + /** + * Sets the includeUnknownCountriesAndRegions + * true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. + * + * @param bool $val The includeUnknownCountriesAndRegions + * + * @return CountryNamedLocation + */ + public function setIncludeUnknownCountriesAndRegions($val) + { + $this->_propDict["includeUnknownCountriesAndRegions"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CurrencyColumn.php b/vendor/microsoft/microsoft-graph/src/Model/CurrencyColumn.php new file mode 100644 index 0000000..087d124 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CurrencyColumn.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * Specifies the locale from which to infer the currency symbol. + * + * @param string $val The value of the locale + * + * @return CurrencyColumn + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/CustomTimeZone.php b/vendor/microsoft/microsoft-graph/src/Model/CustomTimeZone.php new file mode 100644 index 0000000..64d7bea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/CustomTimeZone.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["bias"]; + } else { + return null; + } + } + + /** + * Sets the bias + * The time offset of the time zone from Coordinated Universal Time (UTC). This value is in minutes. Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset. + * + * @param int $val The value of the bias + * + * @return CustomTimeZone + */ + public function setBias($val) + { + $this->_propDict["bias"] = $val; + return $this; + } + + /** + * Gets the daylightOffset + * Specifies when the time zone switches from standard time to daylight saving time. + * + * @return DaylightTimeZoneOffset|null The daylightOffset + */ + public function getDaylightOffset() + { + if (array_key_exists("daylightOffset", $this->_propDict)) { + if (is_a($this->_propDict["daylightOffset"], "\Microsoft\Graph\Model\DaylightTimeZoneOffset") || is_null($this->_propDict["daylightOffset"])) { + return $this->_propDict["daylightOffset"]; + } else { + $this->_propDict["daylightOffset"] = new DaylightTimeZoneOffset($this->_propDict["daylightOffset"]); + return $this->_propDict["daylightOffset"]; + } + } + return null; + } + + /** + * Sets the daylightOffset + * Specifies when the time zone switches from standard time to daylight saving time. + * + * @param DaylightTimeZoneOffset $val The value to assign to the daylightOffset + * + * @return CustomTimeZone The CustomTimeZone + */ + public function setDaylightOffset($val) + { + $this->_propDict["daylightOffset"] = $val; + return $this; + } + + /** + * Gets the standardOffset + * Specifies when the time zone switches from daylight saving time to standard time. + * + * @return StandardTimeZoneOffset|null The standardOffset + */ + public function getStandardOffset() + { + if (array_key_exists("standardOffset", $this->_propDict)) { + if (is_a($this->_propDict["standardOffset"], "\Microsoft\Graph\Model\StandardTimeZoneOffset") || is_null($this->_propDict["standardOffset"])) { + return $this->_propDict["standardOffset"]; + } else { + $this->_propDict["standardOffset"] = new StandardTimeZoneOffset($this->_propDict["standardOffset"]); + return $this->_propDict["standardOffset"]; + } + } + return null; + } + + /** + * Sets the standardOffset + * Specifies when the time zone switches from daylight saving time to standard time. + * + * @param StandardTimeZoneOffset $val The value to assign to the standardOffset + * + * @return CustomTimeZone The CustomTimeZone + */ + public function setStandardOffset($val) + { + $this->_propDict["standardOffset"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperation.php b/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperation.php new file mode 100644 index 0000000..6039a57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperation.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Represents when the request for this data policy operation was completed, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Null until the operation completes. + * + * @param \DateTime $val The completedDateTime + * + * @return DataPolicyOperation + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the progress + * Specifies the progress of an operation. + * + * @return float|null The progress + */ + public function getProgress() + { + if (array_key_exists("progress", $this->_propDict)) { + return $this->_propDict["progress"]; + } else { + return null; + } + } + + /** + * Sets the progress + * Specifies the progress of an operation. + * + * @param float $val The progress + * + * @return DataPolicyOperation + */ + public function setProgress($val) + { + $this->_propDict["progress"] = floatval($val); + return $this; + } + + /** + * Gets the status + * Possible values are: notStarted, running, complete, failed, unknownFutureValue. + * + * @return DataPolicyOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\DataPolicyOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DataPolicyOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: notStarted, running, complete, failed, unknownFutureValue. + * + * @param DataPolicyOperationStatus $val The status + * + * @return DataPolicyOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the storageLocation + * The URL location to where data is being exported for export requests. + * + * @return string|null The storageLocation + */ + public function getStorageLocation() + { + if (array_key_exists("storageLocation", $this->_propDict)) { + return $this->_propDict["storageLocation"]; + } else { + return null; + } + } + + /** + * Sets the storageLocation + * The URL location to where data is being exported for export requests. + * + * @param string $val The storageLocation + * + * @return DataPolicyOperation + */ + public function setStorageLocation($val) + { + $this->_propDict["storageLocation"] = $val; + return $this; + } + + /** + * Gets the submittedDateTime + * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The submittedDateTime + */ + public function getSubmittedDateTime() + { + if (array_key_exists("submittedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["submittedDateTime"], "\DateTime") || is_null($this->_propDict["submittedDateTime"])) { + return $this->_propDict["submittedDateTime"]; + } else { + $this->_propDict["submittedDateTime"] = new \DateTime($this->_propDict["submittedDateTime"]); + return $this->_propDict["submittedDateTime"]; + } + } + return null; + } + + /** + * Sets the submittedDateTime + * Represents when the request for this data operation was submitted, in UTC time, using the ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The submittedDateTime + * + * @return DataPolicyOperation + */ + public function setSubmittedDateTime($val) + { + $this->_propDict["submittedDateTime"] = $val; + return $this; + } + + /** + * Gets the userId + * The id for the user on whom the operation is performed. + * + * @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 + * The id for the user on whom the operation is performed. + * + * @param string $val The userId + * + * @return DataPolicyOperation + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperationStatus.php new file mode 100644 index 0000000..f7e9239 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperationStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Email of the data subject. + * + * @param string $val The value of the email + * + * @return DataSubject + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the firstName + * First name of the data subject. + * + * @return string|null The firstName + */ + public function getFirstName() + { + if (array_key_exists("firstName", $this->_propDict)) { + return $this->_propDict["firstName"]; + } else { + return null; + } + } + + /** + * Sets the firstName + * First name of the data subject. + * + * @param string $val The value of the firstName + * + * @return DataSubject + */ + public function setFirstName($val) + { + $this->_propDict["firstName"] = $val; + return $this; + } + /** + * Gets the lastName + * Last Name of the data subject. + * + * @return string|null The lastName + */ + public function getLastName() + { + if (array_key_exists("lastName", $this->_propDict)) { + return $this->_propDict["lastName"]; + } else { + return null; + } + } + + /** + * Sets the lastName + * Last Name of the data subject. + * + * @param string $val The value of the lastName + * + * @return DataSubject + */ + public function setLastName($val) + { + $this->_propDict["lastName"] = $val; + return $this; + } + /** + * Gets the residency + * The country/region of residency. The residency information is uesed only for internal reporting but not for the content search. + * + * @return string|null The residency + */ + public function getResidency() + { + if (array_key_exists("residency", $this->_propDict)) { + return $this->_propDict["residency"]; + } else { + return null; + } + } + + /** + * Sets the residency + * The country/region of residency. The residency information is uesed only for internal reporting but not for the content search. + * + * @param string $val The value of the residency + * + * @return DataSubject + */ + public function setResidency($val) + { + $this->_propDict["residency"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DataSubjectType.php b/vendor/microsoft/microsoft-graph/src/Model/DataSubjectType.php new file mode 100644 index 0000000..03a19ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DataSubjectType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default. + * + * @param string $val The value of the displayAs + * + * @return DateTimeColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } + /** + * Gets the format + * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime + * + * @return string|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + return $this->_propDict["format"]; + } else { + return null; + } + } + + /** + * Sets the format + * Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime + * + * @param string $val The value of the format + * + * @return DateTimeColumn + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DateTimeTimeZone.php b/vendor/microsoft/microsoft-graph/src/Model/DateTimeTimeZone.php new file mode 100644 index 0000000..31da747 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DateTimeTimeZone.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["dateTime"]; + } else { + return null; + } + } + + /** + * Sets the dateTime + * A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'. + * + * @param string $val The value of the dateTime + * + * @return DateTimeTimeZone + */ + public function setDateTime($val) + { + $this->_propDict["dateTime"] = $val; + return $this; + } + /** + * Gets the timeZone + * Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values. + * + * @param string $val The value of the timeZone + * + * @return DateTimeTimeZone + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DayOfWeek.php b/vendor/microsoft/microsoft-graph/src/Model/DayOfWeek.php new file mode 100644 index 0000000..273359b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DayOfWeek.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["daylightBias"]; + } else { + return null; + } + } + + /** + * Sets the daylightBias + * The time offset from Coordinated Universal Time (UTC) for daylight saving time. This value is in minutes. + * + * @param int $val The value of the daylightBias + * + * @return DaylightTimeZoneOffset + */ + public function setDaylightBias($val) + { + $this->_propDict["daylightBias"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DefaultColumnValue.php b/vendor/microsoft/microsoft-graph/src/Model/DefaultColumnValue.php new file mode 100644 index 0000000..08f9612 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DefaultColumnValue.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["formula"]; + } else { + return null; + } + } + + /** + * Sets the formula + * The formula used to compute the default value for this column. + * + * @param string $val The value of the formula + * + * @return DefaultColumnValue + */ + public function setFormula($val) + { + $this->_propDict["formula"] = $val; + return $this; + } + /** + * Gets the value + * The direct value to use as the default value for this column. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The direct value to use as the default value for this column. + * + * @param string $val The value of the value + * + * @return DefaultColumnValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DefaultManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Model/DefaultManagedAppProtection.php new file mode 100644 index 0000000..e9e1016 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DefaultManagedAppProtection.php @@ -0,0 +1,385 @@ +_propDict)) { + if (is_a($this->_propDict["appDataEncryptionType"], "\Microsoft\Graph\Model\ManagedAppDataEncryptionType") || is_null($this->_propDict["appDataEncryptionType"])) { + return $this->_propDict["appDataEncryptionType"]; + } else { + $this->_propDict["appDataEncryptionType"] = new ManagedAppDataEncryptionType($this->_propDict["appDataEncryptionType"]); + return $this->_propDict["appDataEncryptionType"]; + } + } + return null; + } + + /** + * Sets the appDataEncryptionType + * Type of encryption which should be used for data in a managed app. (iOS Only). Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * + * @param ManagedAppDataEncryptionType $val The appDataEncryptionType + * + * @return DefaultManagedAppProtection + */ + public function setAppDataEncryptionType($val) + { + $this->_propDict["appDataEncryptionType"] = $val; + return $this; + } + + + /** + * Gets the customSettings + * A set of string key and string value pairs to be sent to the affected users, unalterned by this service + * + * @return array|null The customSettings + */ + public function getCustomSettings() + { + if (array_key_exists("customSettings", $this->_propDict)) { + return $this->_propDict["customSettings"]; + } else { + return null; + } + } + + /** + * Sets the customSettings + * A set of string key and string value pairs to be sent to the affected users, unalterned by this service + * + * @param KeyValuePair[] $val The customSettings + * + * @return DefaultManagedAppProtection + */ + public function setCustomSettings($val) + { + $this->_propDict["customSettings"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return DefaultManagedAppProtection + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) + * + * @return bool|null The disableAppEncryptionIfDeviceEncryptionIsEnabled + */ + public function getDisableAppEncryptionIfDeviceEncryptionIsEnabled() + { + if (array_key_exists("disableAppEncryptionIfDeviceEncryptionIsEnabled", $this->_propDict)) { + return $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the disableAppEncryptionIfDeviceEncryptionIsEnabled + * When this setting is enabled, app level encryption is disabled if device level encryption is enabled. (Android only) + * + * @param bool $val The disableAppEncryptionIfDeviceEncryptionIsEnabled + * + * @return DefaultManagedAppProtection + */ + public function setDisableAppEncryptionIfDeviceEncryptionIsEnabled($val) + { + $this->_propDict["disableAppEncryptionIfDeviceEncryptionIsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the encryptAppData + * Indicates whether managed-app data should be encrypted. (Android only) + * + * @return bool|null The encryptAppData + */ + public function getEncryptAppData() + { + if (array_key_exists("encryptAppData", $this->_propDict)) { + return $this->_propDict["encryptAppData"]; + } else { + return null; + } + } + + /** + * Sets the encryptAppData + * Indicates whether managed-app data should be encrypted. (Android only) + * + * @param bool $val The encryptAppData + * + * @return DefaultManagedAppProtection + */ + public function setEncryptAppData($val) + { + $this->_propDict["encryptAppData"] = boolval($val); + return $this; + } + + /** + * Gets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) + * + * @return bool|null The faceIdBlocked + */ + public function getFaceIdBlocked() + { + if (array_key_exists("faceIdBlocked", $this->_propDict)) { + return $this->_propDict["faceIdBlocked"]; + } else { + return null; + } + } + + /** + * Sets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. (iOS Only) + * + * @param bool $val The faceIdBlocked + * + * @return DefaultManagedAppProtection + */ + public function setFaceIdBlocked($val) + { + $this->_propDict["faceIdBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) + * + * @return string|null The minimumRequiredPatchVersion + */ + public function getMinimumRequiredPatchVersion() + { + if (array_key_exists("minimumRequiredPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredPatchVersion + * Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) + * + * @param string $val The minimumRequiredPatchVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumRequiredPatchVersion($val) + { + $this->_propDict["minimumRequiredPatchVersion"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) + * + * @return string|null The minimumRequiredSdkVersion + */ + public function getMinimumRequiredSdkVersion() + { + if (array_key_exists("minimumRequiredSdkVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. (iOS Only) + * + * @param string $val The minimumRequiredSdkVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumRequiredSdkVersion($val) + { + $this->_propDict["minimumRequiredSdkVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + * + * @return string|null The minimumWarningPatchVersion + */ + public function getMinimumWarningPatchVersion() + { + if (array_key_exists("minimumWarningPatchVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningPatchVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningPatchVersion + * Define the oldest recommended Android security patch level a user can have for secure access to the app. (Android only) + * + * @param string $val The minimumWarningPatchVersion + * + * @return DefaultManagedAppProtection + */ + public function setMinimumWarningPatchVersion($val) + { + $this->_propDict["minimumWarningPatchVersion"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether screen capture is blocked. (Android only) + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether screen capture is blocked. (Android only) + * + * @param bool $val The screenCaptureBlocked + * + * @return DefaultManagedAppProtection + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return DefaultManagedAppProtection + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return DefaultManagedAppProtection + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DefaultUserRolePermissions.php b/vendor/microsoft/microsoft-graph/src/Model/DefaultUserRolePermissions.php new file mode 100644 index 0000000..ed4ee6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DefaultUserRolePermissions.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["allowedToCreateApps"]; + } else { + return null; + } + } + + /** + * Sets the allowedToCreateApps + * Indicates whether the default user role can create applications. + * + * @param bool $val The value of the allowedToCreateApps + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToCreateApps($val) + { + $this->_propDict["allowedToCreateApps"] = $val; + return $this; + } + /** + * Gets the allowedToCreateSecurityGroups + * Indicates whether the default user role can create security groups. + * + * @return bool|null The allowedToCreateSecurityGroups + */ + public function getAllowedToCreateSecurityGroups() + { + if (array_key_exists("allowedToCreateSecurityGroups", $this->_propDict)) { + return $this->_propDict["allowedToCreateSecurityGroups"]; + } else { + return null; + } + } + + /** + * Sets the allowedToCreateSecurityGroups + * Indicates whether the default user role can create security groups. + * + * @param bool $val The value of the allowedToCreateSecurityGroups + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToCreateSecurityGroups($val) + { + $this->_propDict["allowedToCreateSecurityGroups"] = $val; + return $this; + } + /** + * Gets the allowedToReadOtherUsers + * Indicates whether the default user role can read other users. + * + * @return bool|null The allowedToReadOtherUsers + */ + public function getAllowedToReadOtherUsers() + { + if (array_key_exists("allowedToReadOtherUsers", $this->_propDict)) { + return $this->_propDict["allowedToReadOtherUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowedToReadOtherUsers + * Indicates whether the default user role can read other users. + * + * @param bool $val The value of the allowedToReadOtherUsers + * + * @return DefaultUserRolePermissions + */ + public function setAllowedToReadOtherUsers($val) + { + $this->_propDict["allowedToReadOtherUsers"] = $val; + return $this; + } + /** + * Gets the permissionGrantPoliciesAssigned + * Indicates if user consent to apps is allowed, and if it is, which permission to grant consent and which app consent policy (permissionGrantPolicy) govern the permission for users to grant consent. Value should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. + * + * @return string|null The permissionGrantPoliciesAssigned + */ + public function getPermissionGrantPoliciesAssigned() + { + if (array_key_exists("permissionGrantPoliciesAssigned", $this->_propDict)) { + return $this->_propDict["permissionGrantPoliciesAssigned"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrantPoliciesAssigned + * Indicates if user consent to apps is allowed, and if it is, which permission to grant consent and which app consent policy (permissionGrantPolicy) govern the permission for users to grant consent. Value should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. + * + * @param string $val The value of the permissionGrantPoliciesAssigned + * + * @return DefaultUserRolePermissions + */ + public function setPermissionGrantPoliciesAssigned($val) + { + $this->_propDict["permissionGrantPoliciesAssigned"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DefenderCloudBlockLevelType.php b/vendor/microsoft/microsoft-graph/src/Model/DefenderCloudBlockLevelType.php new file mode 100644 index 0000000..9f141a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DefenderCloudBlockLevelType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["highSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["highSeverity"])) { + return $this->_propDict["highSeverity"]; + } else { + $this->_propDict["highSeverity"] = new DefenderThreatAction($this->_propDict["highSeverity"]); + return $this->_propDict["highSeverity"]; + } + } + return null; + } + + /** + * Sets the highSeverity + * Indicates a Defender action to take for high severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the highSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setHighSeverity($val) + { + $this->_propDict["highSeverity"] = $val; + return $this; + } + + /** + * Gets the lowSeverity + * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @return DefenderThreatAction|null The lowSeverity + */ + public function getLowSeverity() + { + if (array_key_exists("lowSeverity", $this->_propDict)) { + if (is_a($this->_propDict["lowSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["lowSeverity"])) { + return $this->_propDict["lowSeverity"]; + } else { + $this->_propDict["lowSeverity"] = new DefenderThreatAction($this->_propDict["lowSeverity"]); + return $this->_propDict["lowSeverity"]; + } + } + return null; + } + + /** + * Sets the lowSeverity + * Indicates a Defender action to take for low severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the lowSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setLowSeverity($val) + { + $this->_propDict["lowSeverity"] = $val; + return $this; + } + + /** + * Gets the moderateSeverity + * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @return DefenderThreatAction|null The moderateSeverity + */ + public function getModerateSeverity() + { + if (array_key_exists("moderateSeverity", $this->_propDict)) { + if (is_a($this->_propDict["moderateSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["moderateSeverity"])) { + return $this->_propDict["moderateSeverity"]; + } else { + $this->_propDict["moderateSeverity"] = new DefenderThreatAction($this->_propDict["moderateSeverity"]); + return $this->_propDict["moderateSeverity"]; + } + } + return null; + } + + /** + * Sets the moderateSeverity + * Indicates a Defender action to take for moderate severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the moderateSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setModerateSeverity($val) + { + $this->_propDict["moderateSeverity"] = $val; + return $this; + } + + /** + * Gets the severeSeverity + * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @return DefenderThreatAction|null The severeSeverity + */ + public function getSevereSeverity() + { + if (array_key_exists("severeSeverity", $this->_propDict)) { + if (is_a($this->_propDict["severeSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction") || is_null($this->_propDict["severeSeverity"])) { + return $this->_propDict["severeSeverity"]; + } else { + $this->_propDict["severeSeverity"] = new DefenderThreatAction($this->_propDict["severeSeverity"]); + return $this->_propDict["severeSeverity"]; + } + } + return null; + } + + /** + * Sets the severeSeverity + * Indicates a Defender action to take for severe severity Malware threat detected. Possible values are: deviceDefault, clean, quarantine, remove, allow, userDefined, block. + * + * @param DefenderThreatAction $val The value to assign to the severeSeverity + * + * @return DefenderDetectedMalwareActions The DefenderDetectedMalwareActions + */ + public function setSevereSeverity($val) + { + $this->_propDict["severeSeverity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DefenderMonitorFileActivity.php b/vendor/microsoft/microsoft-graph/src/Model/DefenderMonitorFileActivity.php new file mode 100644 index 0000000..7cf2d21 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DefenderMonitorFileActivity.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Microsoft\Graph\Model\PermissionClassificationType") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new PermissionClassificationType($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * The classification value being given. Possible value: low. Does not support $filter. + * + * @param PermissionClassificationType $val The classification + * + * @return DelegatedPermissionClassification + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the permissionId + * The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. + * + * @return string|null The permissionId + */ + public function getPermissionId() + { + if (array_key_exists("permissionId", $this->_propDict)) { + return $this->_propDict["permissionId"]; + } else { + return null; + } + } + + /** + * Sets the permissionId + * The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. + * + * @param string $val The permissionId + * + * @return DelegatedPermissionClassification + */ + public function setPermissionId($val) + { + $this->_propDict["permissionId"] = $val; + return $this; + } + + /** + * Gets the permissionName + * The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Does not support $filter. + * + * @return string|null The permissionName + */ + public function getPermissionName() + { + if (array_key_exists("permissionName", $this->_propDict)) { + return $this->_propDict["permissionName"]; + } else { + return null; + } + } + + /** + * Sets the permissionName + * The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Does not support $filter. + * + * @param string $val The permissionName + * + * @return DelegatedPermissionClassification + */ + public function setPermissionName($val) + { + $this->_propDict["permissionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeleteUserFromSharedAppleDeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Model/DeleteUserFromSharedAppleDeviceActionResult.php new file mode 100644 index 0000000..93c347a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeleteUserFromSharedAppleDeviceActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * User principal name of the user to be deleted + * + * @param string $val The value of the userPrincipalName + * + * @return DeleteUserFromSharedAppleDeviceActionResult + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Deleted.php b/vendor/microsoft/microsoft-graph/src/Model/Deleted.php new file mode 100644 index 0000000..2685d72 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Deleted.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Represents the state of the deleted item. + * + * @param string $val The value of the state + * + * @return Deleted + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DetailsInfo.php b/vendor/microsoft/microsoft-graph/src/Model/DetailsInfo.php new file mode 100644 index 0000000..4f0ac0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DetailsInfo.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * The number of devices that have installed this application + * + * @param int $val The deviceCount + * + * @return DetectedApp + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * Name of the discovered application. Read-only + * + * @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 + * Name of the discovered application. Read-only + * + * @param string $val The displayName + * + * @return DetectedApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the sizeInByte + * Discovered application size in bytes. Read-only + * + * @return int|null The sizeInByte + */ + public function getSizeInByte() + { + if (array_key_exists("sizeInByte", $this->_propDict)) { + return $this->_propDict["sizeInByte"]; + } else { + return null; + } + } + + /** + * Sets the sizeInByte + * Discovered application size in bytes. Read-only + * + * @param int $val The sizeInByte + * + * @return DetectedApp + */ + public function setSizeInByte($val) + { + $this->_propDict["sizeInByte"] = intval($val); + return $this; + } + + /** + * Gets the version + * Version of the discovered application. Read-only + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the discovered application. Read-only + * + * @param string $val The version + * + * @return DetectedApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The devices that have the discovered application installed + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The devices that have the discovered application installed + * + * @param ManagedDevice[] $val The managedDevices + * + * @return DetectedApp + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Device.php b/vendor/microsoft/microsoft-graph/src/Model/Device.php new file mode 100644 index 0000000..ee8f0b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Device.php @@ -0,0 +1,741 @@ +_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the account is enabled; otherwise, false. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property. + * + * @param bool $val The accountEnabled + * + * @return Device + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the alternativeSecurityIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The alternativeSecurityIds + */ + public function getAlternativeSecurityIds() + { + if (array_key_exists("alternativeSecurityIds", $this->_propDict)) { + return $this->_propDict["alternativeSecurityIds"]; + } else { + return null; + } + } + + /** + * Sets the alternativeSecurityIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param AlternativeSecurityId[] $val The alternativeSecurityIds + * + * @return Device + */ + public function setAlternativeSecurityIds($val) + { + $this->_propDict["alternativeSecurityIds"] = $val; + return $this; + } + + /** + * Gets the approximateLastSignInDateTime + * 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. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + * + * @return \DateTime|null The approximateLastSignInDateTime + */ + public function getApproximateLastSignInDateTime() + { + if (array_key_exists("approximateLastSignInDateTime", $this->_propDict)) { + if (is_a($this->_propDict["approximateLastSignInDateTime"], "\DateTime") || is_null($this->_propDict["approximateLastSignInDateTime"])) { + return $this->_propDict["approximateLastSignInDateTime"]; + } else { + $this->_propDict["approximateLastSignInDateTime"] = new \DateTime($this->_propDict["approximateLastSignInDateTime"]); + return $this->_propDict["approximateLastSignInDateTime"]; + } + } + return null; + } + + /** + * Sets the approximateLastSignInDateTime + * 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. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + * + * @param \DateTime $val The approximateLastSignInDateTime + * + * @return Device + */ + public function setApproximateLastSignInDateTime($val) + { + $this->_propDict["approximateLastSignInDateTime"] = $val; + return $this; + } + + /** + * Gets the complianceExpirationDateTime + * The timestamp when the device is no longer deemed compliant. 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 complianceExpirationDateTime + */ + public function getComplianceExpirationDateTime() + { + if (array_key_exists("complianceExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["complianceExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceExpirationDateTime"])) { + return $this->_propDict["complianceExpirationDateTime"]; + } else { + $this->_propDict["complianceExpirationDateTime"] = new \DateTime($this->_propDict["complianceExpirationDateTime"]); + return $this->_propDict["complianceExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceExpirationDateTime + * The timestamp when the device is no longer deemed compliant. 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 complianceExpirationDateTime + * + * @return Device + */ + public function setComplianceExpirationDateTime($val) + { + $this->_propDict["complianceExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceId + * Identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith). + * + * @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 + * Identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith). + * + * @param string $val The deviceId + * + * @return Device + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceMetadata + * For internal use only. Set to null. + * + * @return string|null The deviceMetadata + */ + public function getDeviceMetadata() + { + if (array_key_exists("deviceMetadata", $this->_propDict)) { + return $this->_propDict["deviceMetadata"]; + } else { + return null; + } + } + + /** + * Sets the deviceMetadata + * For internal use only. Set to null. + * + * @param string $val The deviceMetadata + * + * @return Device + */ + public function setDeviceMetadata($val) + { + $this->_propDict["deviceMetadata"] = $val; + return $this; + } + + /** + * Gets the deviceVersion + * For internal use only. + * + * @return int|null The deviceVersion + */ + public function getDeviceVersion() + { + if (array_key_exists("deviceVersion", $this->_propDict)) { + return $this->_propDict["deviceVersion"]; + } else { + return null; + } + } + + /** + * Sets the deviceVersion + * For internal use only. + * + * @param int $val The deviceVersion + * + * @return Device + */ + public function setDeviceVersion($val) + { + $this->_propDict["deviceVersion"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return Device + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isCompliant + * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @return bool|null The isCompliant + */ + public function getIsCompliant() + { + if (array_key_exists("isCompliant", $this->_propDict)) { + return $this->_propDict["isCompliant"]; + } else { + return null; + } + } + + /** + * Sets the isCompliant + * true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @param bool $val The isCompliant + * + * @return Device + */ + public function setIsCompliant($val) + { + $this->_propDict["isCompliant"] = boolval($val); + return $this; + } + + /** + * Gets the isManaged + * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @return bool|null The isManaged + */ + public function getIsManaged() + { + if (array_key_exists("isManaged", $this->_propDict)) { + return $this->_propDict["isManaged"]; + } else { + return null; + } + } + + /** + * Sets the isManaged + * true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices. Supports $filter (eq, ne, not). + * + * @param bool $val The isManaged + * + * @return Device + */ + public function setIsManaged($val) + { + $this->_propDict["isManaged"] = boolval($val); + return $this; + } + + /** + * Gets the mdmAppId + * Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith). + * + * @return string|null The mdmAppId + */ + public function getMdmAppId() + { + if (array_key_exists("mdmAppId", $this->_propDict)) { + return $this->_propDict["mdmAppId"]; + } else { + return null; + } + } + + /** + * Sets the mdmAppId + * Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith). + * + * @param string $val The mdmAppId + * + * @return Device + */ + public function setMdmAppId($val) + { + $this->_propDict["mdmAppId"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * The last time at which the object was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * The last time at which the object was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return Device + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return Device + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the operatingSystem + * The type of operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * The type of operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @param string $val The operatingSystem + * + * @return Device + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the operatingSystemVersion + * Operating system version of the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @return string|null The operatingSystemVersion + */ + public function getOperatingSystemVersion() + { + if (array_key_exists("operatingSystemVersion", $this->_propDict)) { + return $this->_propDict["operatingSystemVersion"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemVersion + * Operating system version of the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values). + * + * @param string $val The operatingSystemVersion + * + * @return Device + */ + public function setOperatingSystemVersion($val) + { + $this->_propDict["operatingSystemVersion"] = $val; + return $this; + } + + /** + * Gets the physicalIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @return string|null The physicalIds + */ + public function getPhysicalIds() + { + if (array_key_exists("physicalIds", $this->_propDict)) { + return $this->_propDict["physicalIds"]; + } else { + return null; + } + } + + /** + * Sets the physicalIds + * For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @param string $val The physicalIds + * + * @return Device + */ + public function setPhysicalIds($val) + { + $this->_propDict["physicalIds"] = $val; + return $this; + } + + /** + * Gets the profileType + * The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT. + * + * @return string|null The profileType + */ + public function getProfileType() + { + if (array_key_exists("profileType", $this->_propDict)) { + return $this->_propDict["profileType"]; + } else { + return null; + } + } + + /** + * Sets the profileType + * The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT. + * + * @param string $val The profileType + * + * @return Device + */ + public function setProfileType($val) + { + $this->_propDict["profileType"] = $val; + return $this; + } + + /** + * Gets the systemLabels + * List of labels applied to the device by the system. Supports $filter (eq when counting empty collections). + * + * @return string|null The systemLabels + */ + public function getSystemLabels() + { + if (array_key_exists("systemLabels", $this->_propDict)) { + return $this->_propDict["systemLabels"]; + } else { + return null; + } + } + + /** + * Sets the systemLabels + * List of labels applied to the device by the system. Supports $filter (eq when counting empty collections). + * + * @param string $val The systemLabels + * + * @return Device + */ + public function setSystemLabels($val) + { + $this->_propDict["systemLabels"] = $val; + return $this; + } + + /** + * Gets the trustType + * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + * + * @return string|null The trustType + */ + public function getTrustType() + { + if (array_key_exists("trustType", $this->_propDict)) { + return $this->_propDict["trustType"]; + } else { + return null; + } + } + + /** + * Sets the trustType + * Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + * + * @param string $val The trustType + * + * @return Device + */ + public function setTrustType($val) + { + $this->_propDict["trustType"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return Device + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the registeredOwners + * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. Supports $expand. + * + * @return array|null The registeredOwners + */ + public function getRegisteredOwners() + { + if (array_key_exists("registeredOwners", $this->_propDict)) { + return $this->_propDict["registeredOwners"]; + } else { + return null; + } + } + + /** + * Sets the registeredOwners + * The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The registeredOwners + * + * @return Device + */ + public function setRegisteredOwners($val) + { + $this->_propDict["registeredOwners"] = $val; + return $this; + } + + + /** + * Gets the registeredUsers + * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + * + * @return array|null The registeredUsers + */ + public function getRegisteredUsers() + { + if (array_key_exists("registeredUsers", $this->_propDict)) { + return $this->_propDict["registeredUsers"]; + } else { + return null; + } + } + + /** + * Sets the registeredUsers + * Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The registeredUsers + * + * @return Device + */ + public function setRegisteredUsers($val) + { + $this->_propDict["registeredUsers"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * Groups and administrative units that this device is a member of. This operation is transitive. Supports $expand. + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * Groups and administrative units that this device is a member of. This operation is transitive. Supports $expand. + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return Device + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the device. Read-only. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the device. Read-only. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Device + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceActionResult.php new file mode 100644 index 0000000..2606769 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceActionResult.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Action name + * + * @param string $val The value of the actionName + * + * @return DeviceActionResult + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @return ActionState|null The actionState + */ + public function getActionState() + { + if (array_key_exists("actionState", $this->_propDict)) { + if (is_a($this->_propDict["actionState"], "\Microsoft\Graph\Model\ActionState") || is_null($this->_propDict["actionState"])) { + return $this->_propDict["actionState"]; + } else { + $this->_propDict["actionState"] = new ActionState($this->_propDict["actionState"]); + return $this->_propDict["actionState"]; + } + } + return null; + } + + /** + * Sets the actionState + * State of the action. Possible values are: none, pending, canceled, active, done, failed, notSupported. + * + * @param ActionState $val The value to assign to the actionState + * + * @return DeviceActionResult The DeviceActionResult + */ + public function setActionState($val) + { + $this->_propDict["actionState"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Time the action state was last updated + * + * @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 + * Time the action state was last updated + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return DeviceActionResult The DeviceActionResult + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time the action was initiated + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time the action was initiated + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return DeviceActionResult The DeviceActionResult + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementAssignmentTarget.php new file mode 100644 index 0000000..1f23632 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementAssignmentTarget.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * The list of ids of role member security groups. These are IDs from Azure Active Directory. + * + * @param string $val The members + * + * @return DeviceAndAppManagementRoleAssignment + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleDefinition.php new file mode 100644 index 0000000..12230c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleDefinition.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["isEnabledForMicrosoftStoreForBusiness"]; + } else { + return null; + } + } + + /** + * Sets the isEnabledForMicrosoftStoreForBusiness + * Whether the account is enabled for syncing applications from the Microsoft Store for Business. + * + * @param bool $val The isEnabledForMicrosoftStoreForBusiness + * + * @return DeviceAppManagement + */ + public function setIsEnabledForMicrosoftStoreForBusiness($val) + { + $this->_propDict["isEnabledForMicrosoftStoreForBusiness"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftStoreForBusinessLanguage + * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&lt;country/regioncode2&gt;, where is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture. + * + * @return string|null The microsoftStoreForBusinessLanguage + */ + public function getMicrosoftStoreForBusinessLanguage() + { + if (array_key_exists("microsoftStoreForBusinessLanguage", $this->_propDict)) { + return $this->_propDict["microsoftStoreForBusinessLanguage"]; + } else { + return null; + } + } + + /** + * Sets the microsoftStoreForBusinessLanguage + * The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is -&lt;country/regioncode2&gt;, where is a lowercase two-letter code derived from ISO 639-1 and &lt;country/regioncode2&gt; is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture. + * + * @param string $val The microsoftStoreForBusinessLanguage + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessLanguage($val) + { + $this->_propDict["microsoftStoreForBusinessLanguage"] = $val; + return $this; + } + + /** + * Gets the microsoftStoreForBusinessLastCompletedApplicationSyncTime + * The last time an application sync from the Microsoft Store for Business was completed. + * + * @return \DateTime|null The microsoftStoreForBusinessLastCompletedApplicationSyncTime + */ + public function getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime() + { + if (array_key_exists("microsoftStoreForBusinessLastCompletedApplicationSyncTime", $this->_propDict)) { + if (is_a($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"], "\DateTime") || is_null($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"])) { + return $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]; + } else { + $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"] = new \DateTime($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]); + return $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"]; + } + } + return null; + } + + /** + * Sets the microsoftStoreForBusinessLastCompletedApplicationSyncTime + * The last time an application sync from the Microsoft Store for Business was completed. + * + * @param \DateTime $val The microsoftStoreForBusinessLastCompletedApplicationSyncTime + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessLastCompletedApplicationSyncTime($val) + { + $this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"] = $val; + return $this; + } + + /** + * Gets the microsoftStoreForBusinessLastSuccessfulSyncDateTime + * The last time the apps from the Microsoft Store for Business were synced successfully for the account. + * + * @return \DateTime|null The microsoftStoreForBusinessLastSuccessfulSyncDateTime + */ + public function getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime() + { + if (array_key_exists("microsoftStoreForBusinessLastSuccessfulSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"], "\DateTime") || is_null($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"])) { + return $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]; + } else { + $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]); + return $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the microsoftStoreForBusinessLastSuccessfulSyncDateTime + * The last time the apps from the Microsoft Store for Business were synced successfully for the account. + * + * @param \DateTime $val The microsoftStoreForBusinessLastSuccessfulSyncDateTime + * + * @return DeviceAppManagement + */ + public function setMicrosoftStoreForBusinessLastSuccessfulSyncDateTime($val) + { + $this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"] = $val; + return $this; + } + + + /** + * Gets the managedEBooks + * The Managed eBook. + * + * @return array|null The managedEBooks + */ + public function getManagedEBooks() + { + if (array_key_exists("managedEBooks", $this->_propDict)) { + return $this->_propDict["managedEBooks"]; + } else { + return null; + } + } + + /** + * Sets the managedEBooks + * The Managed eBook. + * + * @param ManagedEBook[] $val The managedEBooks + * + * @return DeviceAppManagement + */ + public function setManagedEBooks($val) + { + $this->_propDict["managedEBooks"] = $val; + return $this; + } + + + /** + * Gets the mobileAppCategories + * The mobile app categories. + * + * @return array|null The mobileAppCategories + */ + public function getMobileAppCategories() + { + if (array_key_exists("mobileAppCategories", $this->_propDict)) { + return $this->_propDict["mobileAppCategories"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppCategories + * The mobile app categories. + * + * @param MobileAppCategory[] $val The mobileAppCategories + * + * @return DeviceAppManagement + */ + public function setMobileAppCategories($val) + { + $this->_propDict["mobileAppCategories"] = $val; + return $this; + } + + + /** + * Gets the mobileAppConfigurations + * The Managed Device Mobile Application Configurations. + * + * @return array|null The mobileAppConfigurations + */ + public function getMobileAppConfigurations() + { + if (array_key_exists("mobileAppConfigurations", $this->_propDict)) { + return $this->_propDict["mobileAppConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the mobileAppConfigurations + * The Managed Device Mobile Application Configurations. + * + * @param ManagedDeviceMobileAppConfiguration[] $val The mobileAppConfigurations + * + * @return DeviceAppManagement + */ + public function setMobileAppConfigurations($val) + { + $this->_propDict["mobileAppConfigurations"] = $val; + return $this; + } + + + /** + * Gets the mobileApps + * The mobile apps. + * + * @return array|null The mobileApps + */ + public function getMobileApps() + { + if (array_key_exists("mobileApps", $this->_propDict)) { + return $this->_propDict["mobileApps"]; + } else { + return null; + } + } + + /** + * Sets the mobileApps + * The mobile apps. + * + * @param MobileApp[] $val The mobileApps + * + * @return DeviceAppManagement + */ + public function setMobileApps($val) + { + $this->_propDict["mobileApps"] = $val; + return $this; + } + + + /** + * Gets the vppTokens + * List of Vpp tokens for this organization. + * + * @return array|null The vppTokens + */ + public function getVppTokens() + { + if (array_key_exists("vppTokens", $this->_propDict)) { + return $this->_propDict["vppTokens"]; + } else { + return null; + } + } + + /** + * Sets the vppTokens + * List of Vpp tokens for this organization. + * + * @param VppToken[] $val The vppTokens + * + * @return DeviceAppManagement + */ + public function setVppTokens($val) + { + $this->_propDict["vppTokens"] = $val; + return $this; + } + + + /** + * Gets the androidManagedAppProtections + * Android managed app policies. + * + * @return array|null The androidManagedAppProtections + */ + public function getAndroidManagedAppProtections() + { + if (array_key_exists("androidManagedAppProtections", $this->_propDict)) { + return $this->_propDict["androidManagedAppProtections"]; + } else { + return null; + } + } + + /** + * Sets the androidManagedAppProtections + * Android managed app policies. + * + * @param AndroidManagedAppProtection[] $val The androidManagedAppProtections + * + * @return DeviceAppManagement + */ + public function setAndroidManagedAppProtections($val) + { + $this->_propDict["androidManagedAppProtections"] = $val; + return $this; + } + + + /** + * Gets the defaultManagedAppProtections + * Default managed app policies. + * + * @return array|null The defaultManagedAppProtections + */ + public function getDefaultManagedAppProtections() + { + if (array_key_exists("defaultManagedAppProtections", $this->_propDict)) { + return $this->_propDict["defaultManagedAppProtections"]; + } else { + return null; + } + } + + /** + * Sets the defaultManagedAppProtections + * Default managed app policies. + * + * @param DefaultManagedAppProtection[] $val The defaultManagedAppProtections + * + * @return DeviceAppManagement + */ + public function setDefaultManagedAppProtections($val) + { + $this->_propDict["defaultManagedAppProtections"] = $val; + return $this; + } + + + /** + * Gets the iosManagedAppProtections + * iOS managed app policies. + * + * @return array|null The iosManagedAppProtections + */ + public function getIosManagedAppProtections() + { + if (array_key_exists("iosManagedAppProtections", $this->_propDict)) { + return $this->_propDict["iosManagedAppProtections"]; + } else { + return null; + } + } + + /** + * Sets the iosManagedAppProtections + * iOS managed app policies. + * + * @param IosManagedAppProtection[] $val The iosManagedAppProtections + * + * @return DeviceAppManagement + */ + public function setIosManagedAppProtections($val) + { + $this->_propDict["iosManagedAppProtections"] = $val; + return $this; + } + + + /** + * Gets the managedAppPolicies + * Managed app policies. + * + * @return array|null The managedAppPolicies + */ + public function getManagedAppPolicies() + { + if (array_key_exists("managedAppPolicies", $this->_propDict)) { + return $this->_propDict["managedAppPolicies"]; + } else { + return null; + } + } + + /** + * Sets the managedAppPolicies + * Managed app policies. + * + * @param ManagedAppPolicy[] $val The managedAppPolicies + * + * @return DeviceAppManagement + */ + public function setManagedAppPolicies($val) + { + $this->_propDict["managedAppPolicies"] = $val; + return $this; + } + + + /** + * Gets the managedAppRegistrations + * The managed app registrations. + * + * @return array|null The managedAppRegistrations + */ + public function getManagedAppRegistrations() + { + if (array_key_exists("managedAppRegistrations", $this->_propDict)) { + return $this->_propDict["managedAppRegistrations"]; + } else { + return null; + } + } + + /** + * Sets the managedAppRegistrations + * The managed app registrations. + * + * @param ManagedAppRegistration[] $val The managedAppRegistrations + * + * @return DeviceAppManagement + */ + public function setManagedAppRegistrations($val) + { + $this->_propDict["managedAppRegistrations"] = $val; + return $this; + } + + + /** + * Gets the managedAppStatuses + * The managed app statuses. + * + * @return array|null The managedAppStatuses + */ + public function getManagedAppStatuses() + { + if (array_key_exists("managedAppStatuses", $this->_propDict)) { + return $this->_propDict["managedAppStatuses"]; + } else { + return null; + } + } + + /** + * Sets the managedAppStatuses + * The managed app statuses. + * + * @param ManagedAppStatus[] $val The managedAppStatuses + * + * @return DeviceAppManagement + */ + public function setManagedAppStatuses($val) + { + $this->_propDict["managedAppStatuses"] = $val; + return $this; + } + + + /** + * Gets the mdmWindowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are MDM enrolled. + * + * @return array|null The mdmWindowsInformationProtectionPolicies + */ + public function getMdmWindowsInformationProtectionPolicies() + { + if (array_key_exists("mdmWindowsInformationProtectionPolicies", $this->_propDict)) { + return $this->_propDict["mdmWindowsInformationProtectionPolicies"]; + } else { + return null; + } + } + + /** + * Sets the mdmWindowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are MDM enrolled. + * + * @param MdmWindowsInformationProtectionPolicy[] $val The mdmWindowsInformationProtectionPolicies + * + * @return DeviceAppManagement + */ + public function setMdmWindowsInformationProtectionPolicies($val) + { + $this->_propDict["mdmWindowsInformationProtectionPolicies"] = $val; + return $this; + } + + + /** + * Gets the targetedManagedAppConfigurations + * Targeted managed app configurations. + * + * @return array|null The targetedManagedAppConfigurations + */ + public function getTargetedManagedAppConfigurations() + { + if (array_key_exists("targetedManagedAppConfigurations", $this->_propDict)) { + return $this->_propDict["targetedManagedAppConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the targetedManagedAppConfigurations + * Targeted managed app configurations. + * + * @param TargetedManagedAppConfiguration[] $val The targetedManagedAppConfigurations + * + * @return DeviceAppManagement + */ + public function setTargetedManagedAppConfigurations($val) + { + $this->_propDict["targetedManagedAppConfigurations"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are not MDM enrolled. + * + * @return array|null The windowsInformationProtectionPolicies + */ + public function getWindowsInformationProtectionPolicies() + { + if (array_key_exists("windowsInformationProtectionPolicies", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionPolicies"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionPolicies + * Windows information protection for apps running on devices which are not MDM enrolled. + * + * @param WindowsInformationProtectionPolicy[] $val The windowsInformationProtectionPolicies + * + * @return DeviceAppManagement + */ + public function setWindowsInformationProtectionPolicies($val) + { + $this->_propDict["windowsInformationProtectionPolicies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCategory.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCategory.php new file mode 100644 index 0000000..093a3a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCategory.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional description for the device category. + * + * @param string $val The description + * + * @return DeviceCategory + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the device category. + * + * @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 + * Display name for the device category. + * + * @param string $val The displayName + * + * @return DeviceCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionItem.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionItem.php new file mode 100644 index 0000000..31e9c47 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionItem.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["actionType"], "\Microsoft\Graph\Model\DeviceComplianceActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new DeviceComplianceActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification, remoteLock. + * + * @param DeviceComplianceActionType $val The actionType + * + * @return DeviceComplianceActionItem + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the gracePeriodHours + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + * + * @return int|null The gracePeriodHours + */ + public function getGracePeriodHours() + { + if (array_key_exists("gracePeriodHours", $this->_propDict)) { + return $this->_propDict["gracePeriodHours"]; + } else { + return null; + } + } + + /** + * Sets the gracePeriodHours + * Number of hours to wait till the action will be enforced. Valid values 0 to 8760 + * + * @param int $val The gracePeriodHours + * + * @return DeviceComplianceActionItem + */ + public function setGracePeriodHours($val) + { + $this->_propDict["gracePeriodHours"] = intval($val); + return $this; + } + + /** + * Gets the notificationMessageCCList + * A list of group IDs to speicify who to CC this notification message to. + * + * @return string|null The notificationMessageCCList + */ + public function getNotificationMessageCCList() + { + if (array_key_exists("notificationMessageCCList", $this->_propDict)) { + return $this->_propDict["notificationMessageCCList"]; + } else { + return null; + } + } + + /** + * Sets the notificationMessageCCList + * A list of group IDs to speicify who to CC this notification message to. + * + * @param string $val The notificationMessageCCList + * + * @return DeviceComplianceActionItem + */ + public function setNotificationMessageCCList($val) + { + $this->_propDict["notificationMessageCCList"] = $val; + return $this; + } + + /** + * Gets the notificationTemplateId + * What notification Message template to use + * + * @return string|null The notificationTemplateId + */ + public function getNotificationTemplateId() + { + if (array_key_exists("notificationTemplateId", $this->_propDict)) { + return $this->_propDict["notificationTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the notificationTemplateId + * What notification Message template to use + * + * @param string $val The notificationTemplateId + * + * @return DeviceComplianceActionItem + */ + public function setNotificationTemplateId($val) + { + $this->_propDict["notificationTemplateId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionType.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionType.php new file mode 100644 index 0000000..b2859ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionType.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceComplianceDeviceOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceComplianceDeviceOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending devices + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending devices + * + * @param int $val The pendingCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return DeviceComplianceDeviceOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceStatus.php new file mode 100644 index 0000000..c7daec6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceStatus.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return DeviceComplianceDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return DeviceComplianceDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return DeviceComplianceDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceComplianceDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceComplianceDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return DeviceComplianceDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceComplianceDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicy.php new file mode 100644 index 0000000..5a99b34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicy.php @@ -0,0 +1,396 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceCompliancePolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return DeviceCompliancePolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return DeviceCompliancePolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceCompliancePolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return DeviceCompliancePolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The collection of assignments for this compliance policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The collection of assignments for this compliance policy. + * + * @param DeviceCompliancePolicyAssignment[] $val The assignments + * + * @return DeviceCompliancePolicy + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceSettingStateSummaries + * Compliance Setting State Device Summary + * + * @return array|null The deviceSettingStateSummaries + */ + public function getDeviceSettingStateSummaries() + { + if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceSettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceSettingStateSummaries + * Compliance Setting State Device Summary + * + * @param SettingStateDeviceSummary[] $val The deviceSettingStateSummaries + * + * @return DeviceCompliancePolicy + */ + public function setDeviceSettingStateSummaries($val) + { + $this->_propDict["deviceSettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * List of DeviceComplianceDeviceStatus. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * List of DeviceComplianceDeviceStatus. + * + * @param DeviceComplianceDeviceStatus[] $val The deviceStatuses + * + * @return DeviceCompliancePolicy + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the deviceStatusOverview + * Device compliance devices status overview + * + * @return DeviceComplianceDeviceOverview|null The deviceStatusOverview + */ + public function getDeviceStatusOverview() + { + if (array_key_exists("deviceStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatusOverview"], "\Microsoft\Graph\Model\DeviceComplianceDeviceOverview") || is_null($this->_propDict["deviceStatusOverview"])) { + return $this->_propDict["deviceStatusOverview"]; + } else { + $this->_propDict["deviceStatusOverview"] = new DeviceComplianceDeviceOverview($this->_propDict["deviceStatusOverview"]); + return $this->_propDict["deviceStatusOverview"]; + } + } + return null; + } + + /** + * Sets the deviceStatusOverview + * Device compliance devices status overview + * + * @param DeviceComplianceDeviceOverview $val The deviceStatusOverview + * + * @return DeviceCompliancePolicy + */ + public function setDeviceStatusOverview($val) + { + $this->_propDict["deviceStatusOverview"] = $val; + return $this; + } + + + /** + * Gets the scheduledActionsForRule + * The list of scheduled action for this rule + * + * @return array|null The scheduledActionsForRule + */ + public function getScheduledActionsForRule() + { + if (array_key_exists("scheduledActionsForRule", $this->_propDict)) { + return $this->_propDict["scheduledActionsForRule"]; + } else { + return null; + } + } + + /** + * Sets the scheduledActionsForRule + * The list of scheduled action for this rule + * + * @param DeviceComplianceScheduledActionForRule[] $val The scheduledActionsForRule + * + * @return DeviceCompliancePolicy + */ + public function setScheduledActionsForRule($val) + { + $this->_propDict["scheduledActionsForRule"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * List of DeviceComplianceUserStatus. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * List of DeviceComplianceUserStatus. + * + * @param DeviceComplianceUserStatus[] $val The userStatuses + * + * @return DeviceCompliancePolicy + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + + /** + * Gets the userStatusOverview + * Device compliance users status overview + * + * @return DeviceComplianceUserOverview|null The userStatusOverview + */ + public function getUserStatusOverview() + { + if (array_key_exists("userStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["userStatusOverview"], "\Microsoft\Graph\Model\DeviceComplianceUserOverview") || is_null($this->_propDict["userStatusOverview"])) { + return $this->_propDict["userStatusOverview"]; + } else { + $this->_propDict["userStatusOverview"] = new DeviceComplianceUserOverview($this->_propDict["userStatusOverview"]); + return $this->_propDict["userStatusOverview"]; + } + } + return null; + } + + /** + * Sets the userStatusOverview + * Device compliance users status overview + * + * @param DeviceComplianceUserOverview $val The userStatusOverview + * + * @return DeviceCompliancePolicy + */ + public function setUserStatusOverview($val) + { + $this->_propDict["userStatusOverview"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyAssignment.php new file mode 100644 index 0000000..eb106d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Target for the compliance policy assignment. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceCompliancePolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyDeviceStateSummary.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyDeviceStateSummary.php new file mode 100644 index 0000000..33d4311 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyDeviceStateSummary.php @@ -0,0 +1,288 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the configManagerCount + * Number of devices that have compliance managed by System Center Configuration Manager + * + * @return int|null The configManagerCount + */ + public function getConfigManagerCount() + { + if (array_key_exists("configManagerCount", $this->_propDict)) { + return $this->_propDict["configManagerCount"]; + } else { + return null; + } + } + + /** + * Sets the configManagerCount + * Number of devices that have compliance managed by System Center Configuration Manager + * + * @param int $val The configManagerCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setConfigManagerCount($val) + { + $this->_propDict["configManagerCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the inGracePeriodCount + * Number of devices that are in grace period + * + * @return int|null The inGracePeriodCount + */ + public function getInGracePeriodCount() + { + if (array_key_exists("inGracePeriodCount", $this->_propDict)) { + return $this->_propDict["inGracePeriodCount"]; + } else { + return null; + } + } + + /** + * Sets the inGracePeriodCount + * Number of devices that are in grace period + * + * @param int $val The inGracePeriodCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setInGracePeriodCount($val) + { + $this->_propDict["inGracePeriodCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return DeviceCompliancePolicyDeviceStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingState.php new file mode 100644 index 0000000..c157a00 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingState.php @@ -0,0 +1,372 @@ +_propDict)) { + return $this->_propDict["currentValue"]; + } else { + return null; + } + } + + /** + * Sets the currentValue + * Current value of setting on device + * + * @param string $val The value of the currentValue + * + * @return DeviceCompliancePolicySettingState + */ + public function setCurrentValue($val) + { + $this->_propDict["currentValue"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code for the setting + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the setting + * + * @param int $val The value of the errorCode + * + * @return DeviceCompliancePolicySettingState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the errorDescription + * Error description + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * Error description + * + * @param string $val The value of the errorDescription + * + * @return DeviceCompliancePolicySettingState + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + /** + * Gets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @return string|null The instanceDisplayName + */ + public function getInstanceDisplayName() + { + if (array_key_exists("instanceDisplayName", $this->_propDict)) { + return $this->_propDict["instanceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @param string $val The value of the instanceDisplayName + * + * @return DeviceCompliancePolicySettingState + */ + public function setInstanceDisplayName($val) + { + $this->_propDict["instanceDisplayName"] = $val; + return $this; + } + /** + * Gets the setting + * The setting that is being reported + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting that is being reported + * + * @param string $val The value of the setting + * + * @return DeviceCompliancePolicySettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + /** + * Gets the settingName + * Localized/user friendly setting name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Localized/user friendly setting name that is being reported + * + * @param string $val The value of the settingName + * + * @return DeviceCompliancePolicySettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the sources + * Contributing policies + * + * @return SettingSource|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + if (is_a($this->_propDict["sources"], "\Microsoft\Graph\Model\SettingSource") || is_null($this->_propDict["sources"])) { + return $this->_propDict["sources"]; + } else { + $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]); + return $this->_propDict["sources"]; + } + } + return null; + } + + /** + * Sets the sources + * Contributing policies + * + * @param SettingSource $val The value to assign to the sources + * + * @return DeviceCompliancePolicySettingState The DeviceCompliancePolicySettingState + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The value to assign to the state + * + * @return DeviceCompliancePolicySettingState The DeviceCompliancePolicySettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the userEmail + * UserEmail + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * UserEmail + * + * @param string $val The value of the userEmail + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + /** + * Gets the userId + * 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 + * UserId + * + * @param string $val The value of the userId + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userName + * UserName + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * UserName + * + * @param string $val The value of the userName + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The value of the userPrincipalName + * + * @return DeviceCompliancePolicySettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingStateSummary.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingStateSummary.php new file mode 100644 index 0000000..7532d93 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingStateSummary.php @@ -0,0 +1,351 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the platformType + * Setting platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Setting platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, windows10XProfile, androidAOSP, all. + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the setting + * The setting class name and property name. + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting class name and property name. + * + * @param string $val The setting + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + + /** + * Gets the settingName + * Name of the setting. + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Name of the setting. + * + * @param string $val The settingName + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + + + /** + * Gets the deviceComplianceSettingStates + * Not yet documented + * + * @return array|null The deviceComplianceSettingStates + */ + public function getDeviceComplianceSettingStates() + { + if (array_key_exists("deviceComplianceSettingStates", $this->_propDict)) { + return $this->_propDict["deviceComplianceSettingStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceSettingStates + * Not yet documented + * + * @param DeviceComplianceSettingState[] $val The deviceComplianceSettingStates + * + * @return DeviceCompliancePolicySettingStateSummary + */ + public function setDeviceComplianceSettingStates($val) + { + $this->_propDict["deviceComplianceSettingStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyState.php new file mode 100644 index 0000000..ca6be21 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyState.php @@ -0,0 +1,208 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the policy for this policyBase + * + * @param string $val The displayName + * + * @return DeviceCompliancePolicyState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type that the policy applies to + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type that the policy applies to + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceCompliancePolicyState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Count of how many setting a policy holds + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Count of how many setting a policy holds + * + * @param int $val The settingCount + * + * @return DeviceCompliancePolicyState + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + + /** + * Gets the settingStates + * + * @return array|null The settingStates + */ + public function getSettingStates() + { + if (array_key_exists("settingStates", $this->_propDict)) { + return $this->_propDict["settingStates"]; + } else { + return null; + } + } + + /** + * Sets the settingStates + * + * @param DeviceCompliancePolicySettingState[] $val The settingStates + * + * @return DeviceCompliancePolicyState + */ + public function setSettingStates($val) + { + $this->_propDict["settingStates"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the policy + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the policy + * + * @param ComplianceStatus $val The state + * + * @return DeviceCompliancePolicyState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the policy + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the policy + * + * @param int $val The version + * + * @return DeviceCompliancePolicyState + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceScheduledActionForRule.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceScheduledActionForRule.php new file mode 100644 index 0000000..d05cf3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceScheduledActionForRule.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["ruleName"]; + } else { + return null; + } + } + + /** + * Sets the ruleName + * Name of the rule which this scheduled action applies to. Currently scheduled actions are created per policy instead of per rule, thus RuleName is always set to default value PasswordRequired. + * + * @param string $val The ruleName + * + * @return DeviceComplianceScheduledActionForRule + */ + public function setRuleName($val) + { + $this->_propDict["ruleName"] = $val; + return $this; + } + + + /** + * Gets the scheduledActionConfigurations + * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * + * @return array|null The scheduledActionConfigurations + */ + public function getScheduledActionConfigurations() + { + if (array_key_exists("scheduledActionConfigurations", $this->_propDict)) { + return $this->_propDict["scheduledActionConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the scheduledActionConfigurations + * The list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. + * + * @param DeviceComplianceActionItem[] $val The scheduledActionConfigurations + * + * @return DeviceComplianceScheduledActionForRule + */ + public function setScheduledActionConfigurations($val) + { + $this->_propDict["scheduledActionConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceSettingState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceSettingState.php new file mode 100644 index 0000000..1a3f87c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceSettingState.php @@ -0,0 +1,354 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return DeviceComplianceSettingState + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The Device Id that is being reported + * + * @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 Device Id that is being reported + * + * @param string $val The deviceId + * + * @return DeviceComplianceSettingState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return DeviceComplianceSettingState + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the deviceName + * The Device Name that is being reported + * + * @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 Device Name that is being reported + * + * @param string $val The deviceName + * + * @return DeviceComplianceSettingState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the setting + * The setting class name and property name. + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting class name and property name. + * + * @param string $val The setting + * + * @return DeviceComplianceSettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + + /** + * Gets the settingName + * The Setting Name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * The Setting Name that is being reported + * + * @param string $val The settingName + * + * @return DeviceComplianceSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The state + * + * @return DeviceComplianceSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the userEmail + * The User email address that is being reported + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * The User email address that is being reported + * + * @param string $val The userEmail + * + * @return DeviceComplianceSettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + + /** + * Gets the userId + * The user Id that is being reported + * + * @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 + * The user Id that is being reported + * + * @param string $val The userId + * + * @return DeviceComplianceSettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return DeviceComplianceSettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The User PrincipalName that is being reported + * + * @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 + * The User PrincipalName that is being reported + * + * @param string $val The userPrincipalName + * + * @return DeviceComplianceSettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserOverview.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserOverview.php new file mode 100644 index 0000000..ffc77ab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserOverview.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceComplianceUserOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error Users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error Users + * + * @param int $val The errorCount + * + * @return DeviceComplianceUserOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed Users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed Users + * + * @param int $val The failedCount + * + * @return DeviceComplianceUserOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceComplianceUserOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return DeviceComplianceUserOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending Users + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending Users + * + * @param int $val The pendingCount + * + * @return DeviceComplianceUserOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded Users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded Users + * + * @param int $val The successCount + * + * @return DeviceComplianceUserOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserStatus.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserStatus.php new file mode 100644 index 0000000..c2d8236 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["devicesCount"]; + } else { + return null; + } + } + + /** + * Sets the devicesCount + * Devices count for that user. + * + * @param int $val The devicesCount + * + * @return DeviceComplianceUserStatus + */ + public function setDevicesCount($val) + { + $this->_propDict["devicesCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceComplianceUserStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceComplianceUserStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User name of the DevicePolicyStatus. + * + * @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 + * User name of the DevicePolicyStatus. + * + * @param string $val The userDisplayName + * + * @return DeviceComplianceUserStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceComplianceUserStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfiguration.php new file mode 100644 index 0000000..30e61cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfiguration.php @@ -0,0 +1,366 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return DeviceConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return DeviceConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return DeviceConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for the device configuration profile. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for the device configuration profile. + * + * @param DeviceConfigurationAssignment[] $val The assignments + * + * @return DeviceConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceSettingStateSummaries + * Device Configuration Setting State Device Summary + * + * @return array|null The deviceSettingStateSummaries + */ + public function getDeviceSettingStateSummaries() + { + if (array_key_exists("deviceSettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceSettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceSettingStateSummaries + * Device Configuration Setting State Device Summary + * + * @param SettingStateDeviceSummary[] $val The deviceSettingStateSummaries + * + * @return DeviceConfiguration + */ + public function setDeviceSettingStateSummaries($val) + { + $this->_propDict["deviceSettingStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * Device configuration installation status by device. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * Device configuration installation status by device. + * + * @param DeviceConfigurationDeviceStatus[] $val The deviceStatuses + * + * @return DeviceConfiguration + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the deviceStatusOverview + * Device Configuration devices status overview + * + * @return DeviceConfigurationDeviceOverview|null The deviceStatusOverview + */ + public function getDeviceStatusOverview() + { + if (array_key_exists("deviceStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatusOverview"], "\Microsoft\Graph\Model\DeviceConfigurationDeviceOverview") || is_null($this->_propDict["deviceStatusOverview"])) { + return $this->_propDict["deviceStatusOverview"]; + } else { + $this->_propDict["deviceStatusOverview"] = new DeviceConfigurationDeviceOverview($this->_propDict["deviceStatusOverview"]); + return $this->_propDict["deviceStatusOverview"]; + } + } + return null; + } + + /** + * Sets the deviceStatusOverview + * Device Configuration devices status overview + * + * @param DeviceConfigurationDeviceOverview $val The deviceStatusOverview + * + * @return DeviceConfiguration + */ + public function setDeviceStatusOverview($val) + { + $this->_propDict["deviceStatusOverview"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * Device configuration installation status by user. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * Device configuration installation status by user. + * + * @param DeviceConfigurationUserStatus[] $val The userStatuses + * + * @return DeviceConfiguration + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + + /** + * Gets the userStatusOverview + * Device Configuration users status overview + * + * @return DeviceConfigurationUserOverview|null The userStatusOverview + */ + public function getUserStatusOverview() + { + if (array_key_exists("userStatusOverview", $this->_propDict)) { + if (is_a($this->_propDict["userStatusOverview"], "\Microsoft\Graph\Model\DeviceConfigurationUserOverview") || is_null($this->_propDict["userStatusOverview"])) { + return $this->_propDict["userStatusOverview"]; + } else { + $this->_propDict["userStatusOverview"] = new DeviceConfigurationUserOverview($this->_propDict["userStatusOverview"]); + return $this->_propDict["userStatusOverview"]; + } + } + return null; + } + + /** + * Sets the userStatusOverview + * Device Configuration users status overview + * + * @param DeviceConfigurationUserOverview $val The userStatusOverview + * + * @return DeviceConfiguration + */ + public function setUserStatusOverview($val) + { + $this->_propDict["userStatusOverview"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationAssignment.php new file mode 100644 index 0000000..d4d99d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for the device configuration. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return DeviceConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceOverview.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceOverview.php new file mode 100644 index 0000000..7c90190 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceOverview.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceConfigurationDeviceOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceConfigurationDeviceOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending devices + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending devices + * + * @param int $val The pendingCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return DeviceConfigurationDeviceOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStateSummary.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStateSummary.php new file mode 100644 index 0000000..4c7b832 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStateSummary.php @@ -0,0 +1,230 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices + * + * @param int $val The compliantDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices + * + * @param int $val The conflictDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of error devices + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of error devices + * + * @param int $val The errorDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of NonCompliant devices + * + * @param int $val The nonCompliantDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices + * + * @param int $val The notApplicableDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices + * + * @param int $val The remediatedDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices + * + * @param int $val The unknownDeviceCount + * + * @return DeviceConfigurationDeviceStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStatus.php new file mode 100644 index 0000000..61c0558 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStatus.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return DeviceConfigurationDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return DeviceConfigurationDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return DeviceConfigurationDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceConfigurationDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceConfigurationDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return DeviceConfigurationDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceConfigurationDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationSettingState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationSettingState.php new file mode 100644 index 0000000..9f636df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationSettingState.php @@ -0,0 +1,372 @@ +_propDict)) { + return $this->_propDict["currentValue"]; + } else { + return null; + } + } + + /** + * Sets the currentValue + * Current value of setting on device + * + * @param string $val The value of the currentValue + * + * @return DeviceConfigurationSettingState + */ + public function setCurrentValue($val) + { + $this->_propDict["currentValue"] = $val; + return $this; + } + /** + * Gets the errorCode + * Error code for the setting + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Error code for the setting + * + * @param int $val The value of the errorCode + * + * @return DeviceConfigurationSettingState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the errorDescription + * Error description + * + * @return string|null The errorDescription + */ + public function getErrorDescription() + { + if (array_key_exists("errorDescription", $this->_propDict)) { + return $this->_propDict["errorDescription"]; + } else { + return null; + } + } + + /** + * Sets the errorDescription + * Error description + * + * @param string $val The value of the errorDescription + * + * @return DeviceConfigurationSettingState + */ + public function setErrorDescription($val) + { + $this->_propDict["errorDescription"] = $val; + return $this; + } + /** + * Gets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @return string|null The instanceDisplayName + */ + public function getInstanceDisplayName() + { + if (array_key_exists("instanceDisplayName", $this->_propDict)) { + return $this->_propDict["instanceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the instanceDisplayName + * Name of setting instance that is being reported. + * + * @param string $val The value of the instanceDisplayName + * + * @return DeviceConfigurationSettingState + */ + public function setInstanceDisplayName($val) + { + $this->_propDict["instanceDisplayName"] = $val; + return $this; + } + /** + * Gets the setting + * The setting that is being reported + * + * @return string|null The setting + */ + public function getSetting() + { + if (array_key_exists("setting", $this->_propDict)) { + return $this->_propDict["setting"]; + } else { + return null; + } + } + + /** + * Sets the setting + * The setting that is being reported + * + * @param string $val The value of the setting + * + * @return DeviceConfigurationSettingState + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + /** + * Gets the settingName + * Localized/user friendly setting name that is being reported + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Localized/user friendly setting name that is being reported + * + * @param string $val The value of the settingName + * + * @return DeviceConfigurationSettingState + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the sources + * Contributing policies + * + * @return SettingSource|null The sources + */ + public function getSources() + { + if (array_key_exists("sources", $this->_propDict)) { + if (is_a($this->_propDict["sources"], "\Microsoft\Graph\Model\SettingSource") || is_null($this->_propDict["sources"])) { + return $this->_propDict["sources"]; + } else { + $this->_propDict["sources"] = new SettingSource($this->_propDict["sources"]); + return $this->_propDict["sources"]; + } + } + return null; + } + + /** + * Sets the sources + * Contributing policies + * + * @param SettingSource $val The value to assign to the sources + * + * @return DeviceConfigurationSettingState The DeviceConfigurationSettingState + */ + public function setSources($val) + { + $this->_propDict["sources"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The value to assign to the state + * + * @return DeviceConfigurationSettingState The DeviceConfigurationSettingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the userEmail + * UserEmail + * + * @return string|null The userEmail + */ + public function getUserEmail() + { + if (array_key_exists("userEmail", $this->_propDict)) { + return $this->_propDict["userEmail"]; + } else { + return null; + } + } + + /** + * Sets the userEmail + * UserEmail + * + * @param string $val The value of the userEmail + * + * @return DeviceConfigurationSettingState + */ + public function setUserEmail($val) + { + $this->_propDict["userEmail"] = $val; + return $this; + } + /** + * Gets the userId + * 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 + * UserId + * + * @param string $val The value of the userId + * + * @return DeviceConfigurationSettingState + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + /** + * Gets the userName + * UserName + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * UserName + * + * @param string $val The value of the userName + * + * @return DeviceConfigurationSettingState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The value of the userPrincipalName + * + * @return DeviceConfigurationSettingState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationState.php new file mode 100644 index 0000000..0ad7c65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationState.php @@ -0,0 +1,208 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the policy for this policyBase + * + * @param string $val The displayName + * + * @return DeviceConfigurationState + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the platformType + * Platform type that the policy applies to + * + * @return PolicyPlatformType|null The platformType + */ + public function getPlatformType() + { + if (array_key_exists("platformType", $this->_propDict)) { + if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType") || is_null($this->_propDict["platformType"])) { + return $this->_propDict["platformType"]; + } else { + $this->_propDict["platformType"] = new PolicyPlatformType($this->_propDict["platformType"]); + return $this->_propDict["platformType"]; + } + } + return null; + } + + /** + * Sets the platformType + * Platform type that the policy applies to + * + * @param PolicyPlatformType $val The platformType + * + * @return DeviceConfigurationState + */ + public function setPlatformType($val) + { + $this->_propDict["platformType"] = $val; + return $this; + } + + /** + * Gets the settingCount + * Count of how many setting a policy holds + * + * @return int|null The settingCount + */ + public function getSettingCount() + { + if (array_key_exists("settingCount", $this->_propDict)) { + return $this->_propDict["settingCount"]; + } else { + return null; + } + } + + /** + * Sets the settingCount + * Count of how many setting a policy holds + * + * @param int $val The settingCount + * + * @return DeviceConfigurationState + */ + public function setSettingCount($val) + { + $this->_propDict["settingCount"] = intval($val); + return $this; + } + + + /** + * Gets the settingStates + * + * @return array|null The settingStates + */ + public function getSettingStates() + { + if (array_key_exists("settingStates", $this->_propDict)) { + return $this->_propDict["settingStates"]; + } else { + return null; + } + } + + /** + * Sets the settingStates + * + * @param DeviceConfigurationSettingState[] $val The settingStates + * + * @return DeviceConfigurationState + */ + public function setSettingStates($val) + { + $this->_propDict["settingStates"] = $val; + return $this; + } + + /** + * Gets the state + * The compliance state of the policy + * + * @return ComplianceStatus|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ComplianceStatus($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The compliance state of the policy + * + * @param ComplianceStatus $val The state + * + * @return DeviceConfigurationState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the policy + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the policy + * + * @param int $val The version + * + * @return DeviceConfigurationState + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserOverview.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserOverview.php new file mode 100644 index 0000000..01ad7be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserOverview.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return DeviceConfigurationUserOverview + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error Users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error Users + * + * @param int $val The errorCount + * + * @return DeviceConfigurationUserOverview + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed Users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed Users + * + * @param int $val The failedCount + * + * @return DeviceConfigurationUserOverview + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return DeviceConfigurationUserOverview + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return DeviceConfigurationUserOverview + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending Users + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending Users + * + * @param int $val The pendingCount + * + * @return DeviceConfigurationUserOverview + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded Users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded Users + * + * @param int $val The successCount + * + * @return DeviceConfigurationUserOverview + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserStatus.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserStatus.php new file mode 100644 index 0000000..fc710f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["devicesCount"]; + } else { + return null; + } + } + + /** + * Sets the devicesCount + * Devices count for that user. + * + * @param int $val The devicesCount + * + * @return DeviceConfigurationUserStatus + */ + public function setDevicesCount($val) + { + $this->_propDict["devicesCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return DeviceConfigurationUserStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return DeviceConfigurationUserStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User name of the DevicePolicyStatus. + * + * @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 + * User name of the DevicePolicyStatus. + * + * @param string $val The userDisplayName + * + * @return DeviceConfigurationUserStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return DeviceConfigurationUserStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceDetail.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceDetail.php new file mode 100644 index 0000000..a2256cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceDetail.php @@ -0,0 +1,222 @@ +_propDict)) { + return $this->_propDict["browser"]; + } else { + return null; + } + } + + /** + * Sets the browser + * Indicates the browser information of the used for signing-in. + * + * @param string $val The value of the browser + * + * @return DeviceDetail + */ + public function setBrowser($val) + { + $this->_propDict["browser"] = $val; + return $this; + } + /** + * Gets the deviceId + * Refers to the UniqueID of the device used for signing-in. + * + * @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 + * Refers to the UniqueID of the device used for signing-in. + * + * @param string $val The value of the deviceId + * + * @return DeviceDetail + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + /** + * Gets the displayName + * Refers to the name of the device used for signing-in. + * + * @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 + * Refers to the name of the device used for signing-in. + * + * @param string $val The value of the displayName + * + * @return DeviceDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the isCompliant + * Indicates whether the device is compliant or not. + * + * @return bool|null The isCompliant + */ + public function getIsCompliant() + { + if (array_key_exists("isCompliant", $this->_propDict)) { + return $this->_propDict["isCompliant"]; + } else { + return null; + } + } + + /** + * Sets the isCompliant + * Indicates whether the device is compliant or not. + * + * @param bool $val The value of the isCompliant + * + * @return DeviceDetail + */ + public function setIsCompliant($val) + { + $this->_propDict["isCompliant"] = $val; + return $this; + } + /** + * Gets the isManaged + * Indicates if the device is managed or not. + * + * @return bool|null The isManaged + */ + public function getIsManaged() + { + if (array_key_exists("isManaged", $this->_propDict)) { + return $this->_propDict["isManaged"]; + } else { + return null; + } + } + + /** + * Sets the isManaged + * Indicates if the device is managed or not. + * + * @param bool $val The value of the isManaged + * + * @return DeviceDetail + */ + public function setIsManaged($val) + { + $this->_propDict["isManaged"] = $val; + return $this; + } + /** + * Gets the operatingSystem + * Indicates the OS name and version used for signing-in. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * Indicates the OS name and version used for signing-in. + * + * @param string $val The value of the operatingSystem + * + * @return DeviceDetail + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + /** + * Gets the trustType + * Indicates information on whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined. + * + * @return string|null The trustType + */ + public function getTrustType() + { + if (array_key_exists("trustType", $this->_propDict)) { + return $this->_propDict["trustType"]; + } else { + return null; + } + } + + /** + * Sets the trustType + * Indicates information on whether the signed-in device is Workplace Joined, AzureAD Joined, Domain Joined. + * + * @param string $val The value of the trustType + * + * @return DeviceDetail + */ + public function setTrustType($val) + { + $this->_propDict["trustType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentConfiguration.php new file mode 100644 index 0000000..dd0ac83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentConfiguration.php @@ -0,0 +1,239 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Created date time in UTC of the device enrollment configuration + * + * @param \DateTime $val The createdDateTime + * + * @return DeviceEnrollmentConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the device enrollment configuration + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the device enrollment configuration + * + * @param string $val The description + * + * @return DeviceEnrollmentConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the device enrollment configuration + * + * @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 + * The display name of the device enrollment configuration + * + * @param string $val The displayName + * + * @return DeviceEnrollmentConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modified date time in UTC of the device enrollment configuration + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modified date time in UTC of the device enrollment configuration + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return DeviceEnrollmentConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the priority + * Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. + * + * @param int $val The priority + * + * @return DeviceEnrollmentConfiguration + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the version + * The version of the device enrollment configuration + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the device enrollment configuration + * + * @param int $val The version + * + * @return DeviceEnrollmentConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for the device configuration profile + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for the device configuration profile + * + * @param EnrollmentConfigurationAssignment[] $val The assignments + * + * @return DeviceEnrollmentConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentFailureReason.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentFailureReason.php new file mode 100644 index 0000000..c9f5338 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentFailureReason.php @@ -0,0 +1,44 @@ +_propDict)) { + return $this->_propDict["limit"]; + } else { + return null; + } + } + + /** + * Sets the limit + * The maximum number of devices that a user can enroll + * + * @param int $val The limit + * + * @return DeviceEnrollmentLimitConfiguration + */ + public function setLimit($val) + { + $this->_propDict["limit"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestriction.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestriction.php new file mode 100644 index 0000000..3ab9078 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestriction.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Max OS version supported + * + * @param string $val The value of the osMaximumVersion + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + /** + * Gets the osMinimumVersion + * Min OS version supported + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Min OS version supported + * + * @param string $val The value of the osMinimumVersion + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + /** + * Gets the personalDeviceEnrollmentBlocked + * Block personally owned devices from enrolling + * + * @return bool|null The personalDeviceEnrollmentBlocked + */ + public function getPersonalDeviceEnrollmentBlocked() + { + if (array_key_exists("personalDeviceEnrollmentBlocked", $this->_propDict)) { + return $this->_propDict["personalDeviceEnrollmentBlocked"]; + } else { + return null; + } + } + + /** + * Sets the personalDeviceEnrollmentBlocked + * Block personally owned devices from enrolling + * + * @param bool $val The value of the personalDeviceEnrollmentBlocked + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setPersonalDeviceEnrollmentBlocked($val) + { + $this->_propDict["personalDeviceEnrollmentBlocked"] = $val; + return $this; + } + /** + * Gets the platformBlocked + * Block the platform from enrolling + * + * @return bool|null The platformBlocked + */ + public function getPlatformBlocked() + { + if (array_key_exists("platformBlocked", $this->_propDict)) { + return $this->_propDict["platformBlocked"]; + } else { + return null; + } + } + + /** + * Sets the platformBlocked + * Block the platform from enrolling + * + * @param bool $val The value of the platformBlocked + * + * @return DeviceEnrollmentPlatformRestriction + */ + public function setPlatformBlocked($val) + { + $this->_propDict["platformBlocked"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php new file mode 100644 index 0000000..22902f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php @@ -0,0 +1,192 @@ +_propDict)) { + if (is_a($this->_propDict["androidRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["androidRestriction"])) { + return $this->_propDict["androidRestriction"]; + } else { + $this->_propDict["androidRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["androidRestriction"]); + return $this->_propDict["androidRestriction"]; + } + } + return null; + } + + /** + * Sets the androidRestriction + * Android restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The androidRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setAndroidRestriction($val) + { + $this->_propDict["androidRestriction"] = $val; + return $this; + } + + /** + * Gets the iosRestriction + * Ios restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The iosRestriction + */ + public function getIosRestriction() + { + if (array_key_exists("iosRestriction", $this->_propDict)) { + if (is_a($this->_propDict["iosRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["iosRestriction"])) { + return $this->_propDict["iosRestriction"]; + } else { + $this->_propDict["iosRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["iosRestriction"]); + return $this->_propDict["iosRestriction"]; + } + } + return null; + } + + /** + * Sets the iosRestriction + * Ios restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The iosRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setIosRestriction($val) + { + $this->_propDict["iosRestriction"] = $val; + return $this; + } + + /** + * Gets the macOSRestriction + * Mac restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The macOSRestriction + */ + public function getMacOSRestriction() + { + if (array_key_exists("macOSRestriction", $this->_propDict)) { + if (is_a($this->_propDict["macOSRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["macOSRestriction"])) { + return $this->_propDict["macOSRestriction"]; + } else { + $this->_propDict["macOSRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["macOSRestriction"]); + return $this->_propDict["macOSRestriction"]; + } + } + return null; + } + + /** + * Sets the macOSRestriction + * Mac restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The macOSRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setMacOSRestriction($val) + { + $this->_propDict["macOSRestriction"] = $val; + return $this; + } + + /** + * Gets the windowsMobileRestriction + * Windows mobile restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The windowsMobileRestriction + */ + public function getWindowsMobileRestriction() + { + if (array_key_exists("windowsMobileRestriction", $this->_propDict)) { + if (is_a($this->_propDict["windowsMobileRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["windowsMobileRestriction"])) { + return $this->_propDict["windowsMobileRestriction"]; + } else { + $this->_propDict["windowsMobileRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsMobileRestriction"]); + return $this->_propDict["windowsMobileRestriction"]; + } + } + return null; + } + + /** + * Sets the windowsMobileRestriction + * Windows mobile restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The windowsMobileRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setWindowsMobileRestriction($val) + { + $this->_propDict["windowsMobileRestriction"] = $val; + return $this; + } + + /** + * Gets the windowsRestriction + * Windows restrictions based on platform, platform operating system version, and device ownership + * + * @return DeviceEnrollmentPlatformRestriction|null The windowsRestriction + */ + public function getWindowsRestriction() + { + if (array_key_exists("windowsRestriction", $this->_propDict)) { + if (is_a($this->_propDict["windowsRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction") || is_null($this->_propDict["windowsRestriction"])) { + return $this->_propDict["windowsRestriction"]; + } else { + $this->_propDict["windowsRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["windowsRestriction"]); + return $this->_propDict["windowsRestriction"]; + } + } + return null; + } + + /** + * Sets the windowsRestriction + * Windows restrictions based on platform, platform operating system version, and device ownership + * + * @param DeviceEnrollmentPlatformRestriction $val The windowsRestriction + * + * @return DeviceEnrollmentPlatformRestrictionsConfiguration + */ + public function setWindowsRestriction($val) + { + $this->_propDict["windowsRestriction"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentType.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentType.php new file mode 100644 index 0000000..f55c14f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentType.php @@ -0,0 +1,45 @@ +_propDict)) { + if (is_a($this->_propDict["enhancedBiometricsState"], "\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["enhancedBiometricsState"])) { + return $this->_propDict["enhancedBiometricsState"]; + } else { + $this->_propDict["enhancedBiometricsState"] = new Enablement($this->_propDict["enhancedBiometricsState"]); + return $this->_propDict["enhancedBiometricsState"]; + } + } + return null; + } + + /** + * Sets the enhancedBiometricsState + * Controls the ability to use the anti-spoofing features for facial recognition on devices which support it. If set to disabled, anti-spoofing features are not allowed. If set to Not Configured, the user can choose whether they want to use anti-spoofing. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The enhancedBiometricsState + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setEnhancedBiometricsState($val) + { + $this->_propDict["enhancedBiometricsState"] = $val; + return $this; + } + + /** + * Gets the pinExpirationInDays + * Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire + * + * @return int|null The pinExpirationInDays + */ + public function getPinExpirationInDays() + { + if (array_key_exists("pinExpirationInDays", $this->_propDict)) { + return $this->_propDict["pinExpirationInDays"]; + } else { + return null; + } + } + + /** + * Sets the pinExpirationInDays + * Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire + * + * @param int $val The pinExpirationInDays + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinExpirationInDays($val) + { + $this->_propDict["pinExpirationInDays"] = intval($val); + return $this; + } + + /** + * Gets the pinLowercaseCharactersUsage + * Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @return WindowsHelloForBusinessPinUsage|null The pinLowercaseCharactersUsage + */ + public function getPinLowercaseCharactersUsage() + { + if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage") || is_null($this->_propDict["pinLowercaseCharactersUsage"])) { + return $this->_propDict["pinLowercaseCharactersUsage"]; + } else { + $this->_propDict["pinLowercaseCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinLowercaseCharactersUsage"]); + return $this->_propDict["pinLowercaseCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinLowercaseCharactersUsage + * Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @param WindowsHelloForBusinessPinUsage $val The pinLowercaseCharactersUsage + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinLowercaseCharactersUsage($val) + { + $this->_propDict["pinLowercaseCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the pinMaximumLength + * Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN. + * + * @return int|null The pinMaximumLength + */ + public function getPinMaximumLength() + { + if (array_key_exists("pinMaximumLength", $this->_propDict)) { + return $this->_propDict["pinMaximumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMaximumLength + * Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN. + * + * @param int $val The pinMaximumLength + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinMaximumLength($val) + { + $this->_propDict["pinMaximumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinMinimumLength + * Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN. + * + * @return int|null The pinMinimumLength + */ + public function getPinMinimumLength() + { + if (array_key_exists("pinMinimumLength", $this->_propDict)) { + return $this->_propDict["pinMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMinimumLength + * Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN. + * + * @param int $val The pinMinimumLength + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinMinimumLength($val) + { + $this->_propDict["pinMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinPreviousBlockCount + * Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset. + * + * @return int|null The pinPreviousBlockCount + */ + public function getPinPreviousBlockCount() + { + if (array_key_exists("pinPreviousBlockCount", $this->_propDict)) { + return $this->_propDict["pinPreviousBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the pinPreviousBlockCount + * Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset. + * + * @param int $val The pinPreviousBlockCount + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinPreviousBlockCount($val) + { + $this->_propDict["pinPreviousBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the pinSpecialCharactersUsage + * Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted. Possible values are: allowed, required, disallowed. + * + * @return WindowsHelloForBusinessPinUsage|null The pinSpecialCharactersUsage + */ + public function getPinSpecialCharactersUsage() + { + if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinSpecialCharactersUsage"], "\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage") || is_null($this->_propDict["pinSpecialCharactersUsage"])) { + return $this->_propDict["pinSpecialCharactersUsage"]; + } else { + $this->_propDict["pinSpecialCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinSpecialCharactersUsage"]); + return $this->_propDict["pinSpecialCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinSpecialCharactersUsage + * Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted. Possible values are: allowed, required, disallowed. + * + * @param WindowsHelloForBusinessPinUsage $val The pinSpecialCharactersUsage + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinSpecialCharactersUsage($val) + { + $this->_propDict["pinSpecialCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the pinUppercaseCharactersUsage + * Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @return WindowsHelloForBusinessPinUsage|null The pinUppercaseCharactersUsage + */ + public function getPinUppercaseCharactersUsage() + { + if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) { + if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage") || is_null($this->_propDict["pinUppercaseCharactersUsage"])) { + return $this->_propDict["pinUppercaseCharactersUsage"]; + } else { + $this->_propDict["pinUppercaseCharactersUsage"] = new WindowsHelloForBusinessPinUsage($this->_propDict["pinUppercaseCharactersUsage"]); + return $this->_propDict["pinUppercaseCharactersUsage"]; + } + } + return null; + } + + /** + * Sets the pinUppercaseCharactersUsage + * Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted. Possible values are: allowed, required, disallowed. + * + * @param WindowsHelloForBusinessPinUsage $val The pinUppercaseCharactersUsage + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setPinUppercaseCharactersUsage($val) + { + $this->_propDict["pinUppercaseCharactersUsage"] = $val; + return $this; + } + + /** + * Gets the remotePassportEnabled + * Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN. + * + * @return bool|null The remotePassportEnabled + */ + public function getRemotePassportEnabled() + { + if (array_key_exists("remotePassportEnabled", $this->_propDict)) { + return $this->_propDict["remotePassportEnabled"]; + } else { + return null; + } + } + + /** + * Sets the remotePassportEnabled + * Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN. + * + * @param bool $val The remotePassportEnabled + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setRemotePassportEnabled($val) + { + $this->_propDict["remotePassportEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the securityDeviceRequired + * Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM. + * + * @return bool|null The securityDeviceRequired + */ + public function getSecurityDeviceRequired() + { + if (array_key_exists("securityDeviceRequired", $this->_propDict)) { + return $this->_propDict["securityDeviceRequired"]; + } else { + return null; + } + } + + /** + * Sets the securityDeviceRequired + * Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM. + * + * @param bool $val The securityDeviceRequired + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setSecurityDeviceRequired($val) + { + $this->_propDict["securityDeviceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the state + * Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults. Possible values are: notConfigured, enabled, disabled. + * + * @return Enablement|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\Enablement") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new Enablement($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults. Possible values are: notConfigured, enabled, disabled. + * + * @param Enablement $val The state + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the unlockWithBiometricsEnabled + * Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures. + * + * @return bool|null The unlockWithBiometricsEnabled + */ + public function getUnlockWithBiometricsEnabled() + { + if (array_key_exists("unlockWithBiometricsEnabled", $this->_propDict)) { + return $this->_propDict["unlockWithBiometricsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the unlockWithBiometricsEnabled + * Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures. + * + * @param bool $val The unlockWithBiometricsEnabled + * + * @return DeviceEnrollmentWindowsHelloForBusinessConfiguration + */ + public function setUnlockWithBiometricsEnabled($val) + { + $this->_propDict["unlockWithBiometricsEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceExchangeAccessStateSummary.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceExchangeAccessStateSummary.php new file mode 100644 index 0000000..bfbacd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceExchangeAccessStateSummary.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allowedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the allowedDeviceCount + * Total count of devices with Exchange Access State: Allowed. + * + * @param int $val The value of the allowedDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setAllowedDeviceCount($val) + { + $this->_propDict["allowedDeviceCount"] = $val; + return $this; + } + /** + * Gets the blockedDeviceCount + * Total count of devices with Exchange Access State: Blocked. + * + * @return int|null The blockedDeviceCount + */ + public function getBlockedDeviceCount() + { + if (array_key_exists("blockedDeviceCount", $this->_propDict)) { + return $this->_propDict["blockedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the blockedDeviceCount + * Total count of devices with Exchange Access State: Blocked. + * + * @param int $val The value of the blockedDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setBlockedDeviceCount($val) + { + $this->_propDict["blockedDeviceCount"] = $val; + return $this; + } + /** + * Gets the quarantinedDeviceCount + * Total count of devices with Exchange Access State: Quarantined. + * + * @return int|null The quarantinedDeviceCount + */ + public function getQuarantinedDeviceCount() + { + if (array_key_exists("quarantinedDeviceCount", $this->_propDict)) { + return $this->_propDict["quarantinedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the quarantinedDeviceCount + * Total count of devices with Exchange Access State: Quarantined. + * + * @param int $val The value of the quarantinedDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setQuarantinedDeviceCount($val) + { + $this->_propDict["quarantinedDeviceCount"] = $val; + return $this; + } + /** + * Gets the unavailableDeviceCount + * Total count of devices for which no Exchange Access State could be found. + * + * @return int|null The unavailableDeviceCount + */ + public function getUnavailableDeviceCount() + { + if (array_key_exists("unavailableDeviceCount", $this->_propDict)) { + return $this->_propDict["unavailableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unavailableDeviceCount + * Total count of devices for which no Exchange Access State could be found. + * + * @param int $val The value of the unavailableDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setUnavailableDeviceCount($val) + { + $this->_propDict["unavailableDeviceCount"] = $val; + return $this; + } + /** + * Gets the unknownDeviceCount + * Total count of devices with Exchange Access State: Unknown. + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Total count of devices with Exchange Access State: Unknown. + * + * @param int $val The value of the unknownDeviceCount + * + * @return DeviceExchangeAccessStateSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceGeoLocation.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceGeoLocation.php new file mode 100644 index 0000000..3b6d237 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceGeoLocation.php @@ -0,0 +1,255 @@ +_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * Altitude, given in meters above sea level + * + * @param float $val The value of the altitude + * + * @return DeviceGeoLocation + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** + * Gets the heading + * Heading in degrees from true north + * + * @return float|null The heading + */ + public function getHeading() + { + if (array_key_exists("heading", $this->_propDict)) { + return $this->_propDict["heading"]; + } else { + return null; + } + } + + /** + * Sets the heading + * Heading in degrees from true north + * + * @param float $val The value of the heading + * + * @return DeviceGeoLocation + */ + public function setHeading($val) + { + $this->_propDict["heading"] = $val; + return $this; + } + /** + * Gets the horizontalAccuracy + * Accuracy of longitude and latitude in meters + * + * @return float|null The horizontalAccuracy + */ + public function getHorizontalAccuracy() + { + if (array_key_exists("horizontalAccuracy", $this->_propDict)) { + return $this->_propDict["horizontalAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the horizontalAccuracy + * Accuracy of longitude and latitude in meters + * + * @param float $val The value of the horizontalAccuracy + * + * @return DeviceGeoLocation + */ + public function setHorizontalAccuracy($val) + { + $this->_propDict["horizontalAccuracy"] = $val; + return $this; + } + + /** + * Gets the lastCollectedDateTime + * Time at which location was recorded, relative to UTC + * + * @return \DateTime|null The lastCollectedDateTime + */ + public function getLastCollectedDateTime() + { + if (array_key_exists("lastCollectedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCollectedDateTime"], "\DateTime") || is_null($this->_propDict["lastCollectedDateTime"])) { + return $this->_propDict["lastCollectedDateTime"]; + } else { + $this->_propDict["lastCollectedDateTime"] = new \DateTime($this->_propDict["lastCollectedDateTime"]); + return $this->_propDict["lastCollectedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCollectedDateTime + * Time at which location was recorded, relative to UTC + * + * @param \DateTime $val The value to assign to the lastCollectedDateTime + * + * @return DeviceGeoLocation The DeviceGeoLocation + */ + public function setLastCollectedDateTime($val) + { + $this->_propDict["lastCollectedDateTime"] = $val; + return $this; + } + /** + * Gets the latitude + * Latitude coordinate of the device's location + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * Latitude coordinate of the device's location + * + * @param float $val The value of the latitude + * + * @return DeviceGeoLocation + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * Longitude coordinate of the device's location + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * Longitude coordinate of the device's location + * + * @param float $val The value of the longitude + * + * @return DeviceGeoLocation + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } + /** + * Gets the speed + * Speed the device is traveling in meters per second + * + * @return float|null The speed + */ + public function getSpeed() + { + if (array_key_exists("speed", $this->_propDict)) { + return $this->_propDict["speed"]; + } else { + return null; + } + } + + /** + * Sets the speed + * Speed the device is traveling in meters per second + * + * @param float $val The value of the speed + * + * @return DeviceGeoLocation + */ + public function setSpeed($val) + { + $this->_propDict["speed"] = $val; + return $this; + } + /** + * Gets the verticalAccuracy + * Accuracy of altitude in meters + * + * @return float|null The verticalAccuracy + */ + public function getVerticalAccuracy() + { + if (array_key_exists("verticalAccuracy", $this->_propDict)) { + return $this->_propDict["verticalAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the verticalAccuracy + * Accuracy of altitude in meters + * + * @param float $val The value of the verticalAccuracy + * + * @return DeviceGeoLocation + */ + public function setVerticalAccuracy($val) + { + $this->_propDict["verticalAccuracy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceHealthAttestationState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceHealthAttestationState.php new file mode 100644 index 0000000..06c833c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceHealthAttestationState.php @@ -0,0 +1,927 @@ +_propDict)) { + return $this->_propDict["attestationIdentityKey"]; + } else { + return null; + } + } + + /** + * Sets the attestationIdentityKey + * TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate. + * + * @param string $val The value of the attestationIdentityKey + * + * @return DeviceHealthAttestationState + */ + public function setAttestationIdentityKey($val) + { + $this->_propDict["attestationIdentityKey"] = $val; + return $this; + } + /** + * Gets the bitLockerStatus + * On or Off of BitLocker Drive Encryption + * + * @return string|null The bitLockerStatus + */ + public function getBitLockerStatus() + { + if (array_key_exists("bitLockerStatus", $this->_propDict)) { + return $this->_propDict["bitLockerStatus"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerStatus + * On or Off of BitLocker Drive Encryption + * + * @param string $val The value of the bitLockerStatus + * + * @return DeviceHealthAttestationState + */ + public function setBitLockerStatus($val) + { + $this->_propDict["bitLockerStatus"] = $val; + return $this; + } + /** + * Gets the bootAppSecurityVersion + * The security version number of the Boot Application + * + * @return string|null The bootAppSecurityVersion + */ + public function getBootAppSecurityVersion() + { + if (array_key_exists("bootAppSecurityVersion", $this->_propDict)) { + return $this->_propDict["bootAppSecurityVersion"]; + } else { + return null; + } + } + + /** + * Sets the bootAppSecurityVersion + * The security version number of the Boot Application + * + * @param string $val The value of the bootAppSecurityVersion + * + * @return DeviceHealthAttestationState + */ + public function setBootAppSecurityVersion($val) + { + $this->_propDict["bootAppSecurityVersion"] = $val; + return $this; + } + /** + * Gets the bootDebugging + * When bootDebugging is enabled, the device is used in development and testing + * + * @return string|null The bootDebugging + */ + public function getBootDebugging() + { + if (array_key_exists("bootDebugging", $this->_propDict)) { + return $this->_propDict["bootDebugging"]; + } else { + return null; + } + } + + /** + * Sets the bootDebugging + * When bootDebugging is enabled, the device is used in development and testing + * + * @param string $val The value of the bootDebugging + * + * @return DeviceHealthAttestationState + */ + public function setBootDebugging($val) + { + $this->_propDict["bootDebugging"] = $val; + return $this; + } + /** + * Gets the bootManagerSecurityVersion + * The security version number of the Boot Application + * + * @return string|null The bootManagerSecurityVersion + */ + public function getBootManagerSecurityVersion() + { + if (array_key_exists("bootManagerSecurityVersion", $this->_propDict)) { + return $this->_propDict["bootManagerSecurityVersion"]; + } else { + return null; + } + } + + /** + * Sets the bootManagerSecurityVersion + * The security version number of the Boot Application + * + * @param string $val The value of the bootManagerSecurityVersion + * + * @return DeviceHealthAttestationState + */ + public function setBootManagerSecurityVersion($val) + { + $this->_propDict["bootManagerSecurityVersion"] = $val; + return $this; + } + /** + * Gets the bootManagerVersion + * The version of the Boot Manager + * + * @return string|null The bootManagerVersion + */ + public function getBootManagerVersion() + { + if (array_key_exists("bootManagerVersion", $this->_propDict)) { + return $this->_propDict["bootManagerVersion"]; + } else { + return null; + } + } + + /** + * Sets the bootManagerVersion + * The version of the Boot Manager + * + * @param string $val The value of the bootManagerVersion + * + * @return DeviceHealthAttestationState + */ + public function setBootManagerVersion($val) + { + $this->_propDict["bootManagerVersion"] = $val; + return $this; + } + /** + * Gets the bootRevisionListInfo + * The Boot Revision List that was loaded during initial boot on the attested device + * + * @return string|null The bootRevisionListInfo + */ + public function getBootRevisionListInfo() + { + if (array_key_exists("bootRevisionListInfo", $this->_propDict)) { + return $this->_propDict["bootRevisionListInfo"]; + } else { + return null; + } + } + + /** + * Sets the bootRevisionListInfo + * The Boot Revision List that was loaded during initial boot on the attested device + * + * @param string $val The value of the bootRevisionListInfo + * + * @return DeviceHealthAttestationState + */ + public function setBootRevisionListInfo($val) + { + $this->_propDict["bootRevisionListInfo"] = $val; + return $this; + } + /** + * Gets the codeIntegrity + * When code integrity is enabled, code execution is restricted to integrity verified code + * + * @return string|null The codeIntegrity + */ + public function getCodeIntegrity() + { + if (array_key_exists("codeIntegrity", $this->_propDict)) { + return $this->_propDict["codeIntegrity"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrity + * When code integrity is enabled, code execution is restricted to integrity verified code + * + * @param string $val The value of the codeIntegrity + * + * @return DeviceHealthAttestationState + */ + public function setCodeIntegrity($val) + { + $this->_propDict["codeIntegrity"] = $val; + return $this; + } + /** + * Gets the codeIntegrityCheckVersion + * The version of the Boot Manager + * + * @return string|null The codeIntegrityCheckVersion + */ + public function getCodeIntegrityCheckVersion() + { + if (array_key_exists("codeIntegrityCheckVersion", $this->_propDict)) { + return $this->_propDict["codeIntegrityCheckVersion"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityCheckVersion + * The version of the Boot Manager + * + * @param string $val The value of the codeIntegrityCheckVersion + * + * @return DeviceHealthAttestationState + */ + public function setCodeIntegrityCheckVersion($val) + { + $this->_propDict["codeIntegrityCheckVersion"] = $val; + return $this; + } + /** + * Gets the codeIntegrityPolicy + * The Code Integrity policy that is controlling the security of the boot environment + * + * @return string|null The codeIntegrityPolicy + */ + public function getCodeIntegrityPolicy() + { + if (array_key_exists("codeIntegrityPolicy", $this->_propDict)) { + return $this->_propDict["codeIntegrityPolicy"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityPolicy + * The Code Integrity policy that is controlling the security of the boot environment + * + * @param string $val The value of the codeIntegrityPolicy + * + * @return DeviceHealthAttestationState + */ + public function setCodeIntegrityPolicy($val) + { + $this->_propDict["codeIntegrityPolicy"] = $val; + return $this; + } + /** + * Gets the contentNamespaceUrl + * The DHA report version. (Namespace version) + * + * @return string|null The contentNamespaceUrl + */ + public function getContentNamespaceUrl() + { + if (array_key_exists("contentNamespaceUrl", $this->_propDict)) { + return $this->_propDict["contentNamespaceUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentNamespaceUrl + * The DHA report version. (Namespace version) + * + * @param string $val The value of the contentNamespaceUrl + * + * @return DeviceHealthAttestationState + */ + public function setContentNamespaceUrl($val) + { + $this->_propDict["contentNamespaceUrl"] = $val; + return $this; + } + /** + * Gets the contentVersion + * The HealthAttestation state schema version + * + * @return string|null The contentVersion + */ + public function getContentVersion() + { + if (array_key_exists("contentVersion", $this->_propDict)) { + return $this->_propDict["contentVersion"]; + } else { + return null; + } + } + + /** + * Sets the contentVersion + * The HealthAttestation state schema version + * + * @param string $val The value of the contentVersion + * + * @return DeviceHealthAttestationState + */ + public function setContentVersion($val) + { + $this->_propDict["contentVersion"] = $val; + return $this; + } + /** + * Gets the dataExcutionPolicy + * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory + * + * @return string|null The dataExcutionPolicy + */ + public function getDataExcutionPolicy() + { + if (array_key_exists("dataExcutionPolicy", $this->_propDict)) { + return $this->_propDict["dataExcutionPolicy"]; + } else { + return null; + } + } + + /** + * Sets the dataExcutionPolicy + * DEP Policy defines a set of hardware and software technologies that perform additional checks on memory + * + * @param string $val The value of the dataExcutionPolicy + * + * @return DeviceHealthAttestationState + */ + public function setDataExcutionPolicy($val) + { + $this->_propDict["dataExcutionPolicy"] = $val; + return $this; + } + /** + * Gets the deviceHealthAttestationStatus + * The DHA report version. (Namespace version) + * + * @return string|null The deviceHealthAttestationStatus + */ + public function getDeviceHealthAttestationStatus() + { + if (array_key_exists("deviceHealthAttestationStatus", $this->_propDict)) { + return $this->_propDict["deviceHealthAttestationStatus"]; + } else { + return null; + } + } + + /** + * Sets the deviceHealthAttestationStatus + * The DHA report version. (Namespace version) + * + * @param string $val The value of the deviceHealthAttestationStatus + * + * @return DeviceHealthAttestationState + */ + public function setDeviceHealthAttestationStatus($val) + { + $this->_propDict["deviceHealthAttestationStatus"] = $val; + return $this; + } + /** + * Gets the earlyLaunchAntiMalwareDriverProtection + * ELAM provides protection for the computers in your network when they start up + * + * @return string|null The earlyLaunchAntiMalwareDriverProtection + */ + public function getEarlyLaunchAntiMalwareDriverProtection() + { + if (array_key_exists("earlyLaunchAntiMalwareDriverProtection", $this->_propDict)) { + return $this->_propDict["earlyLaunchAntiMalwareDriverProtection"]; + } else { + return null; + } + } + + /** + * Sets the earlyLaunchAntiMalwareDriverProtection + * ELAM provides protection for the computers in your network when they start up + * + * @param string $val The value of the earlyLaunchAntiMalwareDriverProtection + * + * @return DeviceHealthAttestationState + */ + public function setEarlyLaunchAntiMalwareDriverProtection($val) + { + $this->_propDict["earlyLaunchAntiMalwareDriverProtection"] = $val; + return $this; + } + /** + * Gets the healthAttestationSupportedStatus + * This attribute indicates if DHA is supported for the device + * + * @return string|null The healthAttestationSupportedStatus + */ + public function getHealthAttestationSupportedStatus() + { + if (array_key_exists("healthAttestationSupportedStatus", $this->_propDict)) { + return $this->_propDict["healthAttestationSupportedStatus"]; + } else { + return null; + } + } + + /** + * Sets the healthAttestationSupportedStatus + * This attribute indicates if DHA is supported for the device + * + * @param string $val The value of the healthAttestationSupportedStatus + * + * @return DeviceHealthAttestationState + */ + public function setHealthAttestationSupportedStatus($val) + { + $this->_propDict["healthAttestationSupportedStatus"] = $val; + return $this; + } + /** + * Gets the healthStatusMismatchInfo + * This attribute appears if DHA-Service detects an integrity issue + * + * @return string|null The healthStatusMismatchInfo + */ + public function getHealthStatusMismatchInfo() + { + if (array_key_exists("healthStatusMismatchInfo", $this->_propDict)) { + return $this->_propDict["healthStatusMismatchInfo"]; + } else { + return null; + } + } + + /** + * Sets the healthStatusMismatchInfo + * This attribute appears if DHA-Service detects an integrity issue + * + * @param string $val The value of the healthStatusMismatchInfo + * + * @return DeviceHealthAttestationState + */ + public function setHealthStatusMismatchInfo($val) + { + $this->_propDict["healthStatusMismatchInfo"] = $val; + return $this; + } + + /** + * Gets the issuedDateTime + * The DateTime when device was evaluated or issued to MDM + * + * @return \DateTime|null The issuedDateTime + */ + public function getIssuedDateTime() + { + if (array_key_exists("issuedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["issuedDateTime"], "\DateTime") || is_null($this->_propDict["issuedDateTime"])) { + return $this->_propDict["issuedDateTime"]; + } else { + $this->_propDict["issuedDateTime"] = new \DateTime($this->_propDict["issuedDateTime"]); + return $this->_propDict["issuedDateTime"]; + } + } + return null; + } + + /** + * Sets the issuedDateTime + * The DateTime when device was evaluated or issued to MDM + * + * @param \DateTime $val The value to assign to the issuedDateTime + * + * @return DeviceHealthAttestationState The DeviceHealthAttestationState + */ + public function setIssuedDateTime($val) + { + $this->_propDict["issuedDateTime"] = $val; + return $this; + } + /** + * Gets the lastUpdateDateTime + * The Timestamp of the last update. + * + * @return string|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + return null; + } + } + + /** + * Sets the lastUpdateDateTime + * The Timestamp of the last update. + * + * @param string $val The value of the lastUpdateDateTime + * + * @return DeviceHealthAttestationState + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + /** + * Gets the operatingSystemKernelDebugging + * When operatingSystemKernelDebugging is enabled, the device is used in development and testing + * + * @return string|null The operatingSystemKernelDebugging + */ + public function getOperatingSystemKernelDebugging() + { + if (array_key_exists("operatingSystemKernelDebugging", $this->_propDict)) { + return $this->_propDict["operatingSystemKernelDebugging"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemKernelDebugging + * When operatingSystemKernelDebugging is enabled, the device is used in development and testing + * + * @param string $val The value of the operatingSystemKernelDebugging + * + * @return DeviceHealthAttestationState + */ + public function setOperatingSystemKernelDebugging($val) + { + $this->_propDict["operatingSystemKernelDebugging"] = $val; + return $this; + } + /** + * Gets the operatingSystemRevListInfo + * The Operating System Revision List that was loaded during initial boot on the attested device + * + * @return string|null The operatingSystemRevListInfo + */ + public function getOperatingSystemRevListInfo() + { + if (array_key_exists("operatingSystemRevListInfo", $this->_propDict)) { + return $this->_propDict["operatingSystemRevListInfo"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystemRevListInfo + * The Operating System Revision List that was loaded during initial boot on the attested device + * + * @param string $val The value of the operatingSystemRevListInfo + * + * @return DeviceHealthAttestationState + */ + public function setOperatingSystemRevListInfo($val) + { + $this->_propDict["operatingSystemRevListInfo"] = $val; + return $this; + } + /** + * Gets the pcr0 + * The measurement that is captured in PCR[0] + * + * @return string|null The pcr0 + */ + public function getPcr0() + { + if (array_key_exists("pcr0", $this->_propDict)) { + return $this->_propDict["pcr0"]; + } else { + return null; + } + } + + /** + * Sets the pcr0 + * The measurement that is captured in PCR[0] + * + * @param string $val The value of the pcr0 + * + * @return DeviceHealthAttestationState + */ + public function setPcr0($val) + { + $this->_propDict["pcr0"] = $val; + return $this; + } + /** + * Gets the pcrHashAlgorithm + * Informational attribute that identifies the HASH algorithm that was used by TPM + * + * @return string|null The pcrHashAlgorithm + */ + public function getPcrHashAlgorithm() + { + if (array_key_exists("pcrHashAlgorithm", $this->_propDict)) { + return $this->_propDict["pcrHashAlgorithm"]; + } else { + return null; + } + } + + /** + * Sets the pcrHashAlgorithm + * Informational attribute that identifies the HASH algorithm that was used by TPM + * + * @param string $val The value of the pcrHashAlgorithm + * + * @return DeviceHealthAttestationState + */ + public function setPcrHashAlgorithm($val) + { + $this->_propDict["pcrHashAlgorithm"] = $val; + return $this; + } + /** + * Gets the resetCount + * The number of times a PC device has hibernated or resumed + * + * @return int|null The resetCount + */ + public function getResetCount() + { + if (array_key_exists("resetCount", $this->_propDict)) { + return $this->_propDict["resetCount"]; + } else { + return null; + } + } + + /** + * Sets the resetCount + * The number of times a PC device has hibernated or resumed + * + * @param int $val The value of the resetCount + * + * @return DeviceHealthAttestationState + */ + public function setResetCount($val) + { + $this->_propDict["resetCount"] = $val; + return $this; + } + /** + * Gets the restartCount + * The number of times a PC device has rebooted + * + * @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 + * The number of times a PC device has rebooted + * + * @param int $val The value of the restartCount + * + * @return DeviceHealthAttestationState + */ + public function setRestartCount($val) + { + $this->_propDict["restartCount"] = $val; + return $this; + } + /** + * Gets the safeMode + * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state + * + * @return string|null The safeMode + */ + public function getSafeMode() + { + if (array_key_exists("safeMode", $this->_propDict)) { + return $this->_propDict["safeMode"]; + } else { + return null; + } + } + + /** + * Sets the safeMode + * Safe mode is a troubleshooting option for Windows that starts your computer in a limited state + * + * @param string $val The value of the safeMode + * + * @return DeviceHealthAttestationState + */ + public function setSafeMode($val) + { + $this->_propDict["safeMode"] = $val; + return $this; + } + /** + * Gets the secureBoot + * When Secure Boot is enabled, the core components must have the correct cryptographic signatures + * + * @return string|null The secureBoot + */ + public function getSecureBoot() + { + if (array_key_exists("secureBoot", $this->_propDict)) { + return $this->_propDict["secureBoot"]; + } else { + return null; + } + } + + /** + * Sets the secureBoot + * When Secure Boot is enabled, the core components must have the correct cryptographic signatures + * + * @param string $val The value of the secureBoot + * + * @return DeviceHealthAttestationState + */ + public function setSecureBoot($val) + { + $this->_propDict["secureBoot"] = $val; + return $this; + } + /** + * Gets the secureBootConfigurationPolicyFingerPrint + * Fingerprint of the Custom Secure Boot Configuration Policy + * + * @return string|null The secureBootConfigurationPolicyFingerPrint + */ + public function getSecureBootConfigurationPolicyFingerPrint() + { + if (array_key_exists("secureBootConfigurationPolicyFingerPrint", $this->_propDict)) { + return $this->_propDict["secureBootConfigurationPolicyFingerPrint"]; + } else { + return null; + } + } + + /** + * Sets the secureBootConfigurationPolicyFingerPrint + * Fingerprint of the Custom Secure Boot Configuration Policy + * + * @param string $val The value of the secureBootConfigurationPolicyFingerPrint + * + * @return DeviceHealthAttestationState + */ + public function setSecureBootConfigurationPolicyFingerPrint($val) + { + $this->_propDict["secureBootConfigurationPolicyFingerPrint"] = $val; + return $this; + } + /** + * Gets the testSigning + * When test signing is allowed, the device does not enforce signature validation during boot + * + * @return string|null The testSigning + */ + public function getTestSigning() + { + if (array_key_exists("testSigning", $this->_propDict)) { + return $this->_propDict["testSigning"]; + } else { + return null; + } + } + + /** + * Sets the testSigning + * When test signing is allowed, the device does not enforce signature validation during boot + * + * @param string $val The value of the testSigning + * + * @return DeviceHealthAttestationState + */ + public function setTestSigning($val) + { + $this->_propDict["testSigning"] = $val; + return $this; + } + /** + * Gets the tpmVersion + * The security version number of the Boot Application + * + * @return string|null The tpmVersion + */ + public function getTpmVersion() + { + if (array_key_exists("tpmVersion", $this->_propDict)) { + return $this->_propDict["tpmVersion"]; + } else { + return null; + } + } + + /** + * Sets the tpmVersion + * The security version number of the Boot Application + * + * @param string $val The value of the tpmVersion + * + * @return DeviceHealthAttestationState + */ + public function setTpmVersion($val) + { + $this->_propDict["tpmVersion"] = $val; + return $this; + } + /** + * Gets the virtualSecureMode + * VSM is a container that protects high value assets from a compromised kernel + * + * @return string|null The virtualSecureMode + */ + public function getVirtualSecureMode() + { + if (array_key_exists("virtualSecureMode", $this->_propDict)) { + return $this->_propDict["virtualSecureMode"]; + } else { + return null; + } + } + + /** + * Sets the virtualSecureMode + * VSM is a container that protects high value assets from a compromised kernel + * + * @param string $val The value of the virtualSecureMode + * + * @return DeviceHealthAttestationState + */ + public function setVirtualSecureMode($val) + { + $this->_propDict["virtualSecureMode"] = $val; + return $this; + } + /** + * Gets the windowsPE + * Operating system running with limited services that is used to prepare a computer for Windows + * + * @return string|null The windowsPE + */ + public function getWindowsPE() + { + if (array_key_exists("windowsPE", $this->_propDict)) { + return $this->_propDict["windowsPE"]; + } else { + return null; + } + } + + /** + * Sets the windowsPE + * Operating system running with limited services that is used to prepare a computer for Windows + * + * @param string $val The value of the windowsPE + * + * @return DeviceHealthAttestationState + */ + public function setWindowsPE($val) + { + $this->_propDict["windowsPE"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceInstallState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceInstallState.php new file mode 100644 index 0000000..8437312 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceInstallState.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * Device Id. + * + * @param string $val The deviceId + * + * @return DeviceInstallState + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Device name. + * + * @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 + * Device name. + * + * @param string $val The deviceName + * + * @return DeviceInstallState + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the errorCode + * The error code for install failures. + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * The error code for install failures. + * + * @param string $val The errorCode + * + * @return DeviceInstallState + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + + /** + * Gets the installState + * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. + * + * @return InstallState|null The installState + */ + public function getInstallState() + { + if (array_key_exists("installState", $this->_propDict)) { + if (is_a($this->_propDict["installState"], "\Microsoft\Graph\Model\InstallState") || is_null($this->_propDict["installState"])) { + return $this->_propDict["installState"]; + } else { + $this->_propDict["installState"] = new InstallState($this->_propDict["installState"]); + return $this->_propDict["installState"]; + } + } + return null; + } + + /** + * Sets the installState + * The install state of the eBook. Possible values are: notApplicable, installed, failed, notInstalled, uninstallFailed, unknown. + * + * @param InstallState $val The installState + * + * @return DeviceInstallState + */ + public function setInstallState($val) + { + $this->_propDict["installState"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last sync date and time. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last sync date and time. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return DeviceInstallState + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the osDescription + * OS Description. + * + * @return string|null The osDescription + */ + public function getOsDescription() + { + if (array_key_exists("osDescription", $this->_propDict)) { + return $this->_propDict["osDescription"]; + } else { + return null; + } + } + + /** + * Sets the osDescription + * OS Description. + * + * @param string $val The osDescription + * + * @return DeviceInstallState + */ + public function setOsDescription($val) + { + $this->_propDict["osDescription"] = $val; + return $this; + } + + /** + * Gets the osVersion + * OS Version. + * + * @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 + * OS Version. + * + * @param string $val The osVersion + * + * @return DeviceInstallState + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the userName + * Device User Name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * Device User Name. + * + * @param string $val The userName + * + * @return DeviceInstallState + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagement.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagement.php new file mode 100644 index 0000000..7c99999 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagement.php @@ -0,0 +1,1106 @@ +_propDict)) { + return $this->_propDict["intuneAccountId"]; + } else { + return null; + } + } + + /** + * Sets the intuneAccountId + * Intune Account ID for given tenant + * + * @param string $val The intuneAccountId + * + * @return DeviceManagement + */ + public function setIntuneAccountId($val) + { + $this->_propDict["intuneAccountId"] = $val; + return $this; + } + + /** + * Gets the settings + * Account level settings. + * + * @return DeviceManagementSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\DeviceManagementSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new DeviceManagementSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Account level settings. + * + * @param DeviceManagementSettings $val The settings + * + * @return DeviceManagement + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the intuneBrand + * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. + * + * @return IntuneBrand|null The intuneBrand + */ + public function getIntuneBrand() + { + if (array_key_exists("intuneBrand", $this->_propDict)) { + if (is_a($this->_propDict["intuneBrand"], "\Microsoft\Graph\Model\IntuneBrand") || is_null($this->_propDict["intuneBrand"])) { + return $this->_propDict["intuneBrand"]; + } else { + $this->_propDict["intuneBrand"] = new IntuneBrand($this->_propDict["intuneBrand"]); + return $this->_propDict["intuneBrand"]; + } + } + return null; + } + + /** + * Sets the intuneBrand + * intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal. + * + * @param IntuneBrand $val The intuneBrand + * + * @return DeviceManagement + */ + public function setIntuneBrand($val) + { + $this->_propDict["intuneBrand"] = $val; + return $this; + } + + /** + * Gets the subscriptionState + * Tenant mobile device management subscription state. Possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + * + * @return DeviceManagementSubscriptionState|null The subscriptionState + */ + public function getSubscriptionState() + { + if (array_key_exists("subscriptionState", $this->_propDict)) { + if (is_a($this->_propDict["subscriptionState"], "\Microsoft\Graph\Model\DeviceManagementSubscriptionState") || is_null($this->_propDict["subscriptionState"])) { + return $this->_propDict["subscriptionState"]; + } else { + $this->_propDict["subscriptionState"] = new DeviceManagementSubscriptionState($this->_propDict["subscriptionState"]); + return $this->_propDict["subscriptionState"]; + } + } + return null; + } + + /** + * Sets the subscriptionState + * Tenant mobile device management subscription state. Possible values are: pending, active, warning, disabled, deleted, blocked, lockedOut. + * + * @param DeviceManagementSubscriptionState $val The subscriptionState + * + * @return DeviceManagement + */ + public function setSubscriptionState($val) + { + $this->_propDict["subscriptionState"] = $val; + return $this; + } + + + /** + * Gets the termsAndConditions + * The terms and conditions associated with device management of the company. + * + * @return array|null The termsAndConditions + */ + public function getTermsAndConditions() + { + if (array_key_exists("termsAndConditions", $this->_propDict)) { + return $this->_propDict["termsAndConditions"]; + } else { + return null; + } + } + + /** + * Sets the termsAndConditions + * The terms and conditions associated with device management of the company. + * + * @param TermsAndConditions[] $val The termsAndConditions + * + * @return DeviceManagement + */ + public function setTermsAndConditions($val) + { + $this->_propDict["termsAndConditions"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicies + * The device compliance policies. + * + * @return array|null The deviceCompliancePolicies + */ + public function getDeviceCompliancePolicies() + { + if (array_key_exists("deviceCompliancePolicies", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicies + * The device compliance policies. + * + * @param DeviceCompliancePolicy[] $val The deviceCompliancePolicies + * + * @return DeviceManagement + */ + public function setDeviceCompliancePolicies($val) + { + $this->_propDict["deviceCompliancePolicies"] = $val; + return $this; + } + + /** + * Gets the deviceCompliancePolicyDeviceStateSummary + * The device compliance state summary for this account. + * + * @return DeviceCompliancePolicyDeviceStateSummary|null The deviceCompliancePolicyDeviceStateSummary + */ + public function getDeviceCompliancePolicyDeviceStateSummary() + { + if (array_key_exists("deviceCompliancePolicyDeviceStateSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceCompliancePolicyDeviceStateSummary"], "\Microsoft\Graph\Model\DeviceCompliancePolicyDeviceStateSummary") || is_null($this->_propDict["deviceCompliancePolicyDeviceStateSummary"])) { + return $this->_propDict["deviceCompliancePolicyDeviceStateSummary"]; + } else { + $this->_propDict["deviceCompliancePolicyDeviceStateSummary"] = new DeviceCompliancePolicyDeviceStateSummary($this->_propDict["deviceCompliancePolicyDeviceStateSummary"]); + return $this->_propDict["deviceCompliancePolicyDeviceStateSummary"]; + } + } + return null; + } + + /** + * Sets the deviceCompliancePolicyDeviceStateSummary + * The device compliance state summary for this account. + * + * @param DeviceCompliancePolicyDeviceStateSummary $val The deviceCompliancePolicyDeviceStateSummary + * + * @return DeviceManagement + */ + public function setDeviceCompliancePolicyDeviceStateSummary($val) + { + $this->_propDict["deviceCompliancePolicyDeviceStateSummary"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicySettingStateSummaries + * The summary states of compliance policy settings for this account. + * + * @return array|null The deviceCompliancePolicySettingStateSummaries + */ + public function getDeviceCompliancePolicySettingStateSummaries() + { + if (array_key_exists("deviceCompliancePolicySettingStateSummaries", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicySettingStateSummaries"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicySettingStateSummaries + * The summary states of compliance policy settings for this account. + * + * @param DeviceCompliancePolicySettingStateSummary[] $val The deviceCompliancePolicySettingStateSummaries + * + * @return DeviceManagement + */ + public function setDeviceCompliancePolicySettingStateSummaries($val) + { + $this->_propDict["deviceCompliancePolicySettingStateSummaries"] = $val; + return $this; + } + + /** + * Gets the deviceConfigurationDeviceStateSummaries + * The device configuration device state summary for this account. + * + * @return DeviceConfigurationDeviceStateSummary|null The deviceConfigurationDeviceStateSummaries + */ + public function getDeviceConfigurationDeviceStateSummaries() + { + if (array_key_exists("deviceConfigurationDeviceStateSummaries", $this->_propDict)) { + if (is_a($this->_propDict["deviceConfigurationDeviceStateSummaries"], "\Microsoft\Graph\Model\DeviceConfigurationDeviceStateSummary") || is_null($this->_propDict["deviceConfigurationDeviceStateSummaries"])) { + return $this->_propDict["deviceConfigurationDeviceStateSummaries"]; + } else { + $this->_propDict["deviceConfigurationDeviceStateSummaries"] = new DeviceConfigurationDeviceStateSummary($this->_propDict["deviceConfigurationDeviceStateSummaries"]); + return $this->_propDict["deviceConfigurationDeviceStateSummaries"]; + } + } + return null; + } + + /** + * Sets the deviceConfigurationDeviceStateSummaries + * The device configuration device state summary for this account. + * + * @param DeviceConfigurationDeviceStateSummary $val The deviceConfigurationDeviceStateSummaries + * + * @return DeviceManagement + */ + public function setDeviceConfigurationDeviceStateSummaries($val) + { + $this->_propDict["deviceConfigurationDeviceStateSummaries"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurations + * The device configurations. + * + * @return array|null The deviceConfigurations + */ + public function getDeviceConfigurations() + { + if (array_key_exists("deviceConfigurations", $this->_propDict)) { + return $this->_propDict["deviceConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurations + * The device configurations. + * + * @param DeviceConfiguration[] $val The deviceConfigurations + * + * @return DeviceManagement + */ + public function setDeviceConfigurations($val) + { + $this->_propDict["deviceConfigurations"] = $val; + return $this; + } + + + /** + * Gets the iosUpdateStatuses + * The IOS software update installation statuses for this account. + * + * @return array|null The iosUpdateStatuses + */ + public function getIosUpdateStatuses() + { + if (array_key_exists("iosUpdateStatuses", $this->_propDict)) { + return $this->_propDict["iosUpdateStatuses"]; + } else { + return null; + } + } + + /** + * Sets the iosUpdateStatuses + * The IOS software update installation statuses for this account. + * + * @param IosUpdateDeviceStatus[] $val The iosUpdateStatuses + * + * @return DeviceManagement + */ + public function setIosUpdateStatuses($val) + { + $this->_propDict["iosUpdateStatuses"] = $val; + return $this; + } + + /** + * Gets the softwareUpdateStatusSummary + * The software update status summary. + * + * @return SoftwareUpdateStatusSummary|null The softwareUpdateStatusSummary + */ + public function getSoftwareUpdateStatusSummary() + { + if (array_key_exists("softwareUpdateStatusSummary", $this->_propDict)) { + if (is_a($this->_propDict["softwareUpdateStatusSummary"], "\Microsoft\Graph\Model\SoftwareUpdateStatusSummary") || is_null($this->_propDict["softwareUpdateStatusSummary"])) { + return $this->_propDict["softwareUpdateStatusSummary"]; + } else { + $this->_propDict["softwareUpdateStatusSummary"] = new SoftwareUpdateStatusSummary($this->_propDict["softwareUpdateStatusSummary"]); + return $this->_propDict["softwareUpdateStatusSummary"]; + } + } + return null; + } + + /** + * Sets the softwareUpdateStatusSummary + * The software update status summary. + * + * @param SoftwareUpdateStatusSummary $val The softwareUpdateStatusSummary + * + * @return DeviceManagement + */ + public function setSoftwareUpdateStatusSummary($val) + { + $this->_propDict["softwareUpdateStatusSummary"] = $val; + return $this; + } + + + /** + * Gets the complianceManagementPartners + * The list of Compliance Management Partners configured by the tenant. + * + * @return array|null The complianceManagementPartners + */ + public function getComplianceManagementPartners() + { + if (array_key_exists("complianceManagementPartners", $this->_propDict)) { + return $this->_propDict["complianceManagementPartners"]; + } else { + return null; + } + } + + /** + * Sets the complianceManagementPartners + * The list of Compliance Management Partners configured by the tenant. + * + * @param ComplianceManagementPartner[] $val The complianceManagementPartners + * + * @return DeviceManagement + */ + public function setComplianceManagementPartners($val) + { + $this->_propDict["complianceManagementPartners"] = $val; + return $this; + } + + /** + * Gets the conditionalAccessSettings + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * + * @return OnPremisesConditionalAccessSettings|null The conditionalAccessSettings + */ + public function getConditionalAccessSettings() + { + if (array_key_exists("conditionalAccessSettings", $this->_propDict)) { + if (is_a($this->_propDict["conditionalAccessSettings"], "\Microsoft\Graph\Model\OnPremisesConditionalAccessSettings") || is_null($this->_propDict["conditionalAccessSettings"])) { + return $this->_propDict["conditionalAccessSettings"]; + } else { + $this->_propDict["conditionalAccessSettings"] = new OnPremisesConditionalAccessSettings($this->_propDict["conditionalAccessSettings"]); + return $this->_propDict["conditionalAccessSettings"]; + } + } + return null; + } + + /** + * Sets the conditionalAccessSettings + * The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access + * + * @param OnPremisesConditionalAccessSettings $val The conditionalAccessSettings + * + * @return DeviceManagement + */ + public function setConditionalAccessSettings($val) + { + $this->_propDict["conditionalAccessSettings"] = $val; + return $this; + } + + + /** + * Gets the deviceCategories + * The list of device categories with the tenant. + * + * @return array|null The deviceCategories + */ + public function getDeviceCategories() + { + if (array_key_exists("deviceCategories", $this->_propDict)) { + return $this->_propDict["deviceCategories"]; + } else { + return null; + } + } + + /** + * Sets the deviceCategories + * The list of device categories with the tenant. + * + * @param DeviceCategory[] $val The deviceCategories + * + * @return DeviceManagement + */ + public function setDeviceCategories($val) + { + $this->_propDict["deviceCategories"] = $val; + return $this; + } + + + /** + * Gets the deviceEnrollmentConfigurations + * The list of device enrollment configurations + * + * @return array|null The deviceEnrollmentConfigurations + */ + public function getDeviceEnrollmentConfigurations() + { + if (array_key_exists("deviceEnrollmentConfigurations", $this->_propDict)) { + return $this->_propDict["deviceEnrollmentConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the deviceEnrollmentConfigurations + * The list of device enrollment configurations + * + * @param DeviceEnrollmentConfiguration[] $val The deviceEnrollmentConfigurations + * + * @return DeviceManagement + */ + public function setDeviceEnrollmentConfigurations($val) + { + $this->_propDict["deviceEnrollmentConfigurations"] = $val; + return $this; + } + + + /** + * Gets the deviceManagementPartners + * The list of Device Management Partners configured by the tenant. + * + * @return array|null The deviceManagementPartners + */ + public function getDeviceManagementPartners() + { + if (array_key_exists("deviceManagementPartners", $this->_propDict)) { + return $this->_propDict["deviceManagementPartners"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementPartners + * The list of Device Management Partners configured by the tenant. + * + * @param DeviceManagementPartner[] $val The deviceManagementPartners + * + * @return DeviceManagement + */ + public function setDeviceManagementPartners($val) + { + $this->_propDict["deviceManagementPartners"] = $val; + return $this; + } + + + /** + * Gets the exchangeConnectors + * The list of Exchange Connectors configured by the tenant. + * + * @return array|null The exchangeConnectors + */ + public function getExchangeConnectors() + { + if (array_key_exists("exchangeConnectors", $this->_propDict)) { + return $this->_propDict["exchangeConnectors"]; + } else { + return null; + } + } + + /** + * Sets the exchangeConnectors + * The list of Exchange Connectors configured by the tenant. + * + * @param DeviceManagementExchangeConnector[] $val The exchangeConnectors + * + * @return DeviceManagement + */ + public function setExchangeConnectors($val) + { + $this->_propDict["exchangeConnectors"] = $val; + return $this; + } + + + /** + * Gets the mobileThreatDefenseConnectors + * The list of Mobile threat Defense connectors configured by the tenant. + * + * @return array|null The mobileThreatDefenseConnectors + */ + public function getMobileThreatDefenseConnectors() + { + if (array_key_exists("mobileThreatDefenseConnectors", $this->_propDict)) { + return $this->_propDict["mobileThreatDefenseConnectors"]; + } else { + return null; + } + } + + /** + * Sets the mobileThreatDefenseConnectors + * The list of Mobile threat Defense connectors configured by the tenant. + * + * @param MobileThreatDefenseConnector[] $val The mobileThreatDefenseConnectors + * + * @return DeviceManagement + */ + public function setMobileThreatDefenseConnectors($val) + { + $this->_propDict["mobileThreatDefenseConnectors"] = $val; + return $this; + } + + /** + * Gets the applePushNotificationCertificate + * Apple push notification certificate. + * + * @return ApplePushNotificationCertificate|null The applePushNotificationCertificate + */ + public function getApplePushNotificationCertificate() + { + if (array_key_exists("applePushNotificationCertificate", $this->_propDict)) { + if (is_a($this->_propDict["applePushNotificationCertificate"], "\Microsoft\Graph\Model\ApplePushNotificationCertificate") || is_null($this->_propDict["applePushNotificationCertificate"])) { + return $this->_propDict["applePushNotificationCertificate"]; + } else { + $this->_propDict["applePushNotificationCertificate"] = new ApplePushNotificationCertificate($this->_propDict["applePushNotificationCertificate"]); + return $this->_propDict["applePushNotificationCertificate"]; + } + } + return null; + } + + /** + * Sets the applePushNotificationCertificate + * Apple push notification certificate. + * + * @param ApplePushNotificationCertificate $val The applePushNotificationCertificate + * + * @return DeviceManagement + */ + public function setApplePushNotificationCertificate($val) + { + $this->_propDict["applePushNotificationCertificate"] = $val; + return $this; + } + + + /** + * Gets the detectedApps + * The list of detected apps associated with a device. + * + * @return array|null The detectedApps + */ + public function getDetectedApps() + { + if (array_key_exists("detectedApps", $this->_propDict)) { + return $this->_propDict["detectedApps"]; + } else { + return null; + } + } + + /** + * Sets the detectedApps + * The list of detected apps associated with a device. + * + * @param DetectedApp[] $val The detectedApps + * + * @return DeviceManagement + */ + public function setDetectedApps($val) + { + $this->_propDict["detectedApps"] = $val; + return $this; + } + + /** + * Gets the managedDeviceOverview + * Device overview + * + * @return ManagedDeviceOverview|null The managedDeviceOverview + */ + public function getManagedDeviceOverview() + { + if (array_key_exists("managedDeviceOverview", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceOverview"], "\Microsoft\Graph\Model\ManagedDeviceOverview") || is_null($this->_propDict["managedDeviceOverview"])) { + return $this->_propDict["managedDeviceOverview"]; + } else { + $this->_propDict["managedDeviceOverview"] = new ManagedDeviceOverview($this->_propDict["managedDeviceOverview"]); + return $this->_propDict["managedDeviceOverview"]; + } + } + return null; + } + + /** + * Sets the managedDeviceOverview + * Device overview + * + * @param ManagedDeviceOverview $val The managedDeviceOverview + * + * @return DeviceManagement + */ + public function setManagedDeviceOverview($val) + { + $this->_propDict["managedDeviceOverview"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The list of managed devices. + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The list of managed devices. + * + * @param ManagedDevice[] $val The managedDevices + * + * @return DeviceManagement + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + + + /** + * Gets the importedWindowsAutopilotDeviceIdentities + * Collection of imported Windows autopilot devices. + * + * @return array|null The importedWindowsAutopilotDeviceIdentities + */ + public function getImportedWindowsAutopilotDeviceIdentities() + { + if (array_key_exists("importedWindowsAutopilotDeviceIdentities", $this->_propDict)) { + return $this->_propDict["importedWindowsAutopilotDeviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the importedWindowsAutopilotDeviceIdentities + * Collection of imported Windows autopilot devices. + * + * @param ImportedWindowsAutopilotDeviceIdentity[] $val The importedWindowsAutopilotDeviceIdentities + * + * @return DeviceManagement + */ + public function setImportedWindowsAutopilotDeviceIdentities($val) + { + $this->_propDict["importedWindowsAutopilotDeviceIdentities"] = $val; + return $this; + } + + + /** + * Gets the windowsAutopilotDeviceIdentities + * The Windows autopilot device identities contained collection. + * + * @return array|null The windowsAutopilotDeviceIdentities + */ + public function getWindowsAutopilotDeviceIdentities() + { + if (array_key_exists("windowsAutopilotDeviceIdentities", $this->_propDict)) { + return $this->_propDict["windowsAutopilotDeviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the windowsAutopilotDeviceIdentities + * The Windows autopilot device identities contained collection. + * + * @param WindowsAutopilotDeviceIdentity[] $val The windowsAutopilotDeviceIdentities + * + * @return DeviceManagement + */ + public function setWindowsAutopilotDeviceIdentities($val) + { + $this->_propDict["windowsAutopilotDeviceIdentities"] = $val; + return $this; + } + + + /** + * Gets the notificationMessageTemplates + * The Notification Message Templates. + * + * @return array|null The notificationMessageTemplates + */ + public function getNotificationMessageTemplates() + { + if (array_key_exists("notificationMessageTemplates", $this->_propDict)) { + return $this->_propDict["notificationMessageTemplates"]; + } else { + return null; + } + } + + /** + * Sets the notificationMessageTemplates + * The Notification Message Templates. + * + * @param NotificationMessageTemplate[] $val The notificationMessageTemplates + * + * @return DeviceManagement + */ + public function setNotificationMessageTemplates($val) + { + $this->_propDict["notificationMessageTemplates"] = $val; + return $this; + } + + + /** + * Gets the resourceOperations + * The Resource Operations. + * + * @return array|null The resourceOperations + */ + public function getResourceOperations() + { + if (array_key_exists("resourceOperations", $this->_propDict)) { + return $this->_propDict["resourceOperations"]; + } else { + return null; + } + } + + /** + * Sets the resourceOperations + * The Resource Operations. + * + * @param ResourceOperation[] $val The resourceOperations + * + * @return DeviceManagement + */ + public function setResourceOperations($val) + { + $this->_propDict["resourceOperations"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * The Role Assignments. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * The Role Assignments. + * + * @param DeviceAndAppManagementRoleAssignment[] $val The roleAssignments + * + * @return DeviceManagement + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * The Role Definitions. + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * The Role Definitions. + * + * @param RoleDefinition[] $val The roleDefinitions + * + * @return DeviceManagement + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the remoteAssistancePartners + * The remote assist partners. + * + * @return array|null The remoteAssistancePartners + */ + public function getRemoteAssistancePartners() + { + if (array_key_exists("remoteAssistancePartners", $this->_propDict)) { + return $this->_propDict["remoteAssistancePartners"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistancePartners + * The remote assist partners. + * + * @param RemoteAssistancePartner[] $val The remoteAssistancePartners + * + * @return DeviceManagement + */ + public function setRemoteAssistancePartners($val) + { + $this->_propDict["remoteAssistancePartners"] = $val; + return $this; + } + + /** + * Gets the reports + * Reports singleton + * + * @return DeviceManagementReports|null The reports + */ + public function getReports() + { + if (array_key_exists("reports", $this->_propDict)) { + if (is_a($this->_propDict["reports"], "\Microsoft\Graph\Model\DeviceManagementReports") || is_null($this->_propDict["reports"])) { + return $this->_propDict["reports"]; + } else { + $this->_propDict["reports"] = new DeviceManagementReports($this->_propDict["reports"]); + return $this->_propDict["reports"]; + } + } + return null; + } + + /** + * Sets the reports + * Reports singleton + * + * @param DeviceManagementReports $val The reports + * + * @return DeviceManagement + */ + public function setReports($val) + { + $this->_propDict["reports"] = $val; + return $this; + } + + + /** + * Gets the telecomExpenseManagementPartners + * The telecom expense management partners. + * + * @return array|null The telecomExpenseManagementPartners + */ + public function getTelecomExpenseManagementPartners() + { + if (array_key_exists("telecomExpenseManagementPartners", $this->_propDict)) { + return $this->_propDict["telecomExpenseManagementPartners"]; + } else { + return null; + } + } + + /** + * Sets the telecomExpenseManagementPartners + * The telecom expense management partners. + * + * @param TelecomExpenseManagementPartner[] $val The telecomExpenseManagementPartners + * + * @return DeviceManagement + */ + public function setTelecomExpenseManagementPartners($val) + { + $this->_propDict["telecomExpenseManagementPartners"] = $val; + return $this; + } + + + /** + * Gets the troubleshootingEvents + * The list of troubleshooting events for the tenant. + * + * @return array|null The troubleshootingEvents + */ + public function getTroubleshootingEvents() + { + if (array_key_exists("troubleshootingEvents", $this->_propDict)) { + return $this->_propDict["troubleshootingEvents"]; + } else { + return null; + } + } + + /** + * Sets the troubleshootingEvents + * The list of troubleshooting events for the tenant. + * + * @param DeviceManagementTroubleshootingEvent[] $val The troubleshootingEvents + * + * @return DeviceManagement + */ + public function setTroubleshootingEvents($val) + { + $this->_propDict["troubleshootingEvents"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionAppLearningSummaries + * The windows information protection app learning summaries. + * + * @return array|null The windowsInformationProtectionAppLearningSummaries + */ + public function getWindowsInformationProtectionAppLearningSummaries() + { + if (array_key_exists("windowsInformationProtectionAppLearningSummaries", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionAppLearningSummaries"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionAppLearningSummaries + * The windows information protection app learning summaries. + * + * @param WindowsInformationProtectionAppLearningSummary[] $val The windowsInformationProtectionAppLearningSummaries + * + * @return DeviceManagement + */ + public function setWindowsInformationProtectionAppLearningSummaries($val) + { + $this->_propDict["windowsInformationProtectionAppLearningSummaries"] = $val; + return $this; + } + + + /** + * Gets the windowsInformationProtectionNetworkLearningSummaries + * The windows information protection network learning summaries. + * + * @return array|null The windowsInformationProtectionNetworkLearningSummaries + */ + public function getWindowsInformationProtectionNetworkLearningSummaries() + { + if (array_key_exists("windowsInformationProtectionNetworkLearningSummaries", $this->_propDict)) { + return $this->_propDict["windowsInformationProtectionNetworkLearningSummaries"]; + } else { + return null; + } + } + + /** + * Sets the windowsInformationProtectionNetworkLearningSummaries + * The windows information protection network learning summaries. + * + * @param WindowsInformationProtectionNetworkLearningSummary[] $val The windowsInformationProtectionNetworkLearningSummaries + * + * @return DeviceManagement + */ + public function setWindowsInformationProtectionNetworkLearningSummaries($val) + { + $this->_propDict["windowsInformationProtectionNetworkLearningSummaries"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeAccessState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeAccessState.php new file mode 100644 index 0000000..e50c608 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeAccessState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["connectorServerName"]; + } else { + return null; + } + } + + /** + * Sets the connectorServerName + * The name of the server hosting the Exchange Connector. + * + * @param string $val The connectorServerName + * + * @return DeviceManagementExchangeConnector + */ + public function setConnectorServerName($val) + { + $this->_propDict["connectorServerName"] = $val; + return $this; + } + + /** + * Gets the exchangeAlias + * An alias assigned to the Exchange server + * + * @return string|null The exchangeAlias + */ + public function getExchangeAlias() + { + if (array_key_exists("exchangeAlias", $this->_propDict)) { + return $this->_propDict["exchangeAlias"]; + } else { + return null; + } + } + + /** + * Sets the exchangeAlias + * An alias assigned to the Exchange server + * + * @param string $val The exchangeAlias + * + * @return DeviceManagementExchangeConnector + */ + public function setExchangeAlias($val) + { + $this->_propDict["exchangeAlias"] = $val; + return $this; + } + + /** + * Gets the exchangeConnectorType + * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. + * + * @return DeviceManagementExchangeConnectorType|null The exchangeConnectorType + */ + public function getExchangeConnectorType() + { + if (array_key_exists("exchangeConnectorType", $this->_propDict)) { + if (is_a($this->_propDict["exchangeConnectorType"], "\Microsoft\Graph\Model\DeviceManagementExchangeConnectorType") || is_null($this->_propDict["exchangeConnectorType"])) { + return $this->_propDict["exchangeConnectorType"]; + } else { + $this->_propDict["exchangeConnectorType"] = new DeviceManagementExchangeConnectorType($this->_propDict["exchangeConnectorType"]); + return $this->_propDict["exchangeConnectorType"]; + } + } + return null; + } + + /** + * Sets the exchangeConnectorType + * The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated. + * + * @param DeviceManagementExchangeConnectorType $val The exchangeConnectorType + * + * @return DeviceManagementExchangeConnector + */ + public function setExchangeConnectorType($val) + { + $this->_propDict["exchangeConnectorType"] = $val; + return $this; + } + + /** + * Gets the exchangeOrganization + * Exchange Organization to the Exchange server + * + * @return string|null The exchangeOrganization + */ + public function getExchangeOrganization() + { + if (array_key_exists("exchangeOrganization", $this->_propDict)) { + return $this->_propDict["exchangeOrganization"]; + } else { + return null; + } + } + + /** + * Sets the exchangeOrganization + * Exchange Organization to the Exchange server + * + * @param string $val The exchangeOrganization + * + * @return DeviceManagementExchangeConnector + */ + public function setExchangeOrganization($val) + { + $this->_propDict["exchangeOrganization"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Last sync time for the Exchange Connector + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Last sync time for the Exchange Connector + * + * @param \DateTime $val The lastSyncDateTime + * + * @return DeviceManagementExchangeConnector + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the primarySmtpAddress + * Email address used to configure the Service To Service Exchange Connector. + * + * @return string|null The primarySmtpAddress + */ + public function getPrimarySmtpAddress() + { + if (array_key_exists("primarySmtpAddress", $this->_propDict)) { + return $this->_propDict["primarySmtpAddress"]; + } else { + return null; + } + } + + /** + * Sets the primarySmtpAddress + * Email address used to configure the Service To Service Exchange Connector. + * + * @param string $val The primarySmtpAddress + * + * @return DeviceManagementExchangeConnector + */ + public function setPrimarySmtpAddress($val) + { + $this->_propDict["primarySmtpAddress"] = $val; + return $this; + } + + /** + * Gets the serverName + * The name of the Exchange server. + * + * @return string|null The serverName + */ + public function getServerName() + { + if (array_key_exists("serverName", $this->_propDict)) { + return $this->_propDict["serverName"]; + } else { + return null; + } + } + + /** + * Sets the serverName + * The name of the Exchange server. + * + * @param string $val The serverName + * + * @return DeviceManagementExchangeConnector + */ + public function setServerName($val) + { + $this->_propDict["serverName"] = $val; + return $this; + } + + /** + * Gets the status + * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. + * + * @return DeviceManagementExchangeConnectorStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\DeviceManagementExchangeConnectorStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceManagementExchangeConnectorStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected. + * + * @param DeviceManagementExchangeConnectorStatus $val The status + * + * @return DeviceManagementExchangeConnector + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the version + * The version of the ExchangeConnectorAgent + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version of the ExchangeConnectorAgent + * + * @param string $val The version + * + * @return DeviceManagementExchangeConnector + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnectorStatus.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnectorStatus.php new file mode 100644 index 0000000..bed0767 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnectorStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Time that the exported report expires + * + * @param \DateTime $val The expirationDateTime + * + * @return DeviceManagementExportJob + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the filter + * Filters applied on the report + * + * @return string|null The filter + */ + public function getFilter() + { + if (array_key_exists("filter", $this->_propDict)) { + return $this->_propDict["filter"]; + } else { + return null; + } + } + + /** + * Sets the filter + * Filters applied on the report + * + * @param string $val The filter + * + * @return DeviceManagementExportJob + */ + public function setFilter($val) + { + $this->_propDict["filter"] = $val; + return $this; + } + + /** + * Gets the format + * Format of the exported report. Possible values are: csv, pdf. + * + * @return DeviceManagementReportFileFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\DeviceManagementReportFileFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new DeviceManagementReportFileFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Format of the exported report. Possible values are: csv, pdf. + * + * @param DeviceManagementReportFileFormat $val The format + * + * @return DeviceManagementExportJob + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the localizationType + * Configures how the requested export job is localized. Possible values are: localizedValuesAsAdditionalColumn, replaceLocalizableValues. + * + * @return DeviceManagementExportJobLocalizationType|null The localizationType + */ + public function getLocalizationType() + { + if (array_key_exists("localizationType", $this->_propDict)) { + if (is_a($this->_propDict["localizationType"], "\Microsoft\Graph\Model\DeviceManagementExportJobLocalizationType") || is_null($this->_propDict["localizationType"])) { + return $this->_propDict["localizationType"]; + } else { + $this->_propDict["localizationType"] = new DeviceManagementExportJobLocalizationType($this->_propDict["localizationType"]); + return $this->_propDict["localizationType"]; + } + } + return null; + } + + /** + * Sets the localizationType + * Configures how the requested export job is localized. Possible values are: localizedValuesAsAdditionalColumn, replaceLocalizableValues. + * + * @param DeviceManagementExportJobLocalizationType $val The localizationType + * + * @return DeviceManagementExportJob + */ + public function setLocalizationType($val) + { + $this->_propDict["localizationType"] = $val; + return $this; + } + + /** + * Gets the reportName + * Name of the report + * + * @return string|null The reportName + */ + public function getReportName() + { + if (array_key_exists("reportName", $this->_propDict)) { + return $this->_propDict["reportName"]; + } else { + return null; + } + } + + /** + * Sets the reportName + * Name of the report + * + * @param string $val The reportName + * + * @return DeviceManagementExportJob + */ + public function setReportName($val) + { + $this->_propDict["reportName"] = $val; + return $this; + } + + /** + * Gets the requestDateTime + * Time that the exported report was requested + * + * @return \DateTime|null The requestDateTime + */ + public function getRequestDateTime() + { + if (array_key_exists("requestDateTime", $this->_propDict)) { + if (is_a($this->_propDict["requestDateTime"], "\DateTime") || is_null($this->_propDict["requestDateTime"])) { + return $this->_propDict["requestDateTime"]; + } else { + $this->_propDict["requestDateTime"] = new \DateTime($this->_propDict["requestDateTime"]); + return $this->_propDict["requestDateTime"]; + } + } + return null; + } + + /** + * Sets the requestDateTime + * Time that the exported report was requested + * + * @param \DateTime $val The requestDateTime + * + * @return DeviceManagementExportJob + */ + public function setRequestDateTime($val) + { + $this->_propDict["requestDateTime"] = $val; + return $this; + } + + /** + * Gets the select + * Columns selected from the report + * + * @return string|null The select + */ + public function getSelect() + { + if (array_key_exists("select", $this->_propDict)) { + return $this->_propDict["select"]; + } else { + return null; + } + } + + /** + * Sets the select + * Columns selected from the report + * + * @param string $val The select + * + * @return DeviceManagementExportJob + */ + public function setSelect($val) + { + $this->_propDict["select"] = $val; + return $this; + } + + /** + * Gets the snapshotId + * A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. + * + * @return string|null The snapshotId + */ + public function getSnapshotId() + { + if (array_key_exists("snapshotId", $this->_propDict)) { + return $this->_propDict["snapshotId"]; + } else { + return null; + } + } + + /** + * Sets the snapshotId + * A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. + * + * @param string $val The snapshotId + * + * @return DeviceManagementExportJob + */ + public function setSnapshotId($val) + { + $this->_propDict["snapshotId"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the export job. Possible values are: unknown, notStarted, inProgress, completed, failed. + * + * @return DeviceManagementReportStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\DeviceManagementReportStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DeviceManagementReportStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the export job. Possible values are: unknown, notStarted, inProgress, completed, failed. + * + * @param DeviceManagementReportStatus $val The status + * + * @return DeviceManagementExportJob + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the url + * Temporary location of the exported report + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * Temporary location of the exported report + * + * @param string $val The url + * + * @return DeviceManagementExportJob + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExportJobLocalizationType.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExportJobLocalizationType.php new file mode 100644 index 0000000..0bf0e69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExportJobLocalizationType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Partner display name + * + * @param string $val The displayName + * + * @return DeviceManagementPartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isConfigured + * Whether device management partner is configured or not + * + * @return bool|null The isConfigured + */ + public function getIsConfigured() + { + if (array_key_exists("isConfigured", $this->_propDict)) { + return $this->_propDict["isConfigured"]; + } else { + return null; + } + } + + /** + * Sets the isConfigured + * Whether device management partner is configured or not + * + * @param bool $val The isConfigured + * + * @return DeviceManagementPartner + */ + public function setIsConfigured($val) + { + $this->_propDict["isConfigured"] = boolval($val); + return $this; + } + + /** + * Gets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner + * + * @return \DateTime|null The lastHeartbeatDateTime + */ + public function getLastHeartbeatDateTime() + { + if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) { + return $this->_propDict["lastHeartbeatDateTime"]; + } else { + $this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]); + return $this->_propDict["lastHeartbeatDateTime"]; + } + } + return null; + } + + /** + * Sets the lastHeartbeatDateTime + * Timestamp of last heartbeat after admin enabled option Connect to Device management Partner + * + * @param \DateTime $val The lastHeartbeatDateTime + * + * @return DeviceManagementPartner + */ + public function setLastHeartbeatDateTime($val) + { + $this->_propDict["lastHeartbeatDateTime"] = $val; + return $this; + } + + /** + * Gets the partnerAppType + * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. + * + * @return DeviceManagementPartnerAppType|null The partnerAppType + */ + public function getPartnerAppType() + { + if (array_key_exists("partnerAppType", $this->_propDict)) { + if (is_a($this->_propDict["partnerAppType"], "\Microsoft\Graph\Model\DeviceManagementPartnerAppType") || is_null($this->_propDict["partnerAppType"])) { + return $this->_propDict["partnerAppType"]; + } else { + $this->_propDict["partnerAppType"] = new DeviceManagementPartnerAppType($this->_propDict["partnerAppType"]); + return $this->_propDict["partnerAppType"]; + } + } + return null; + } + + /** + * Sets the partnerAppType + * Partner App type. Possible values are: unknown, singleTenantApp, multiTenantApp. + * + * @param DeviceManagementPartnerAppType $val The partnerAppType + * + * @return DeviceManagementPartner + */ + public function setPartnerAppType($val) + { + $this->_propDict["partnerAppType"] = $val; + return $this; + } + + /** + * Gets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @return DeviceManagementPartnerTenantState|null The partnerState + */ + public function getPartnerState() + { + if (array_key_exists("partnerState", $this->_propDict)) { + if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\DeviceManagementPartnerTenantState") || is_null($this->_propDict["partnerState"])) { + return $this->_propDict["partnerState"]; + } else { + $this->_propDict["partnerState"] = new DeviceManagementPartnerTenantState($this->_propDict["partnerState"]); + return $this->_propDict["partnerState"]; + } + } + return null; + } + + /** + * Sets the partnerState + * Partner state of this tenant. Possible values are: unknown, unavailable, enabled, terminated, rejected, unresponsive. + * + * @param DeviceManagementPartnerTenantState $val The partnerState + * + * @return DeviceManagementPartner + */ + public function setPartnerState($val) + { + $this->_propDict["partnerState"] = $val; + return $this; + } + + /** + * Gets the singleTenantAppId + * Partner Single tenant App id + * + * @return string|null The singleTenantAppId + */ + public function getSingleTenantAppId() + { + if (array_key_exists("singleTenantAppId", $this->_propDict)) { + return $this->_propDict["singleTenantAppId"]; + } else { + return null; + } + } + + /** + * Sets the singleTenantAppId + * Partner Single tenant App id + * + * @param string $val The singleTenantAppId + * + * @return DeviceManagementPartner + */ + public function setSingleTenantAppId($val) + { + $this->_propDict["singleTenantAppId"] = $val; + return $this; + } + + /** + * Gets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + * DateTime in UTC when PartnerDevices will be marked as NonCompliant + * + * @return \DateTime|null The whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + */ + public function getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime() + { + if (array_key_exists("whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime", $this->_propDict)) { + if (is_a($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"], "\DateTime") || is_null($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"])) { + return $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"]; + } else { + $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"] = new \DateTime($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"]); + return $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"]; + } + } + return null; + } + + /** + * Sets the whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + * DateTime in UTC when PartnerDevices will be marked as NonCompliant + * + * @param \DateTime $val The whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime + * + * @return DeviceManagementPartner + */ + public function setWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime($val) + { + $this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"] = $val; + return $this; + } + + /** + * Gets the whenPartnerDevicesWillBeRemovedDateTime + * DateTime in UTC when PartnerDevices will be removed + * + * @return \DateTime|null The whenPartnerDevicesWillBeRemovedDateTime + */ + public function getWhenPartnerDevicesWillBeRemovedDateTime() + { + if (array_key_exists("whenPartnerDevicesWillBeRemovedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"], "\DateTime") || is_null($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"])) { + return $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"]; + } else { + $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"] = new \DateTime($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"]); + return $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"]; + } + } + return null; + } + + /** + * Sets the whenPartnerDevicesWillBeRemovedDateTime + * DateTime in UTC when PartnerDevices will be removed + * + * @param \DateTime $val The whenPartnerDevicesWillBeRemovedDateTime + * + * @return DeviceManagementPartner + */ + public function setWhenPartnerDevicesWillBeRemovedDateTime($val) + { + $this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementPartnerAppType.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementPartnerAppType.php new file mode 100644 index 0000000..0bb602c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementPartnerAppType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["exportJobs"]; + } else { + return null; + } + } + + /** + * Sets the exportJobs + * Entity representing a job to export a report + * + * @param DeviceManagementExportJob[] $val The exportJobs + * + * @return DeviceManagementReports + */ + public function setExportJobs($val) + { + $this->_propDict["exportJobs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSettings.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSettings.php new file mode 100644 index 0000000..9f8dbbe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSettings.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["deviceComplianceCheckinThresholdDays"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceCheckinThresholdDays + * The number of days a device is allowed to go without checking in to remain compliant. + * + * @param int $val The value of the deviceComplianceCheckinThresholdDays + * + * @return DeviceManagementSettings + */ + public function setDeviceComplianceCheckinThresholdDays($val) + { + $this->_propDict["deviceComplianceCheckinThresholdDays"] = $val; + return $this; + } + /** + * Gets the isScheduledActionEnabled + * Is feature enabled or not for scheduled action for rule. + * + * @return bool|null The isScheduledActionEnabled + */ + public function getIsScheduledActionEnabled() + { + if (array_key_exists("isScheduledActionEnabled", $this->_propDict)) { + return $this->_propDict["isScheduledActionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isScheduledActionEnabled + * Is feature enabled or not for scheduled action for rule. + * + * @param bool $val The value of the isScheduledActionEnabled + * + * @return DeviceManagementSettings + */ + public function setIsScheduledActionEnabled($val) + { + $this->_propDict["isScheduledActionEnabled"] = $val; + return $this; + } + /** + * Gets the secureByDefault + * Device should be noncompliant when there is no compliance policy targeted when this is true + * + * @return bool|null The secureByDefault + */ + public function getSecureByDefault() + { + if (array_key_exists("secureByDefault", $this->_propDict)) { + return $this->_propDict["secureByDefault"]; + } else { + return null; + } + } + + /** + * Sets the secureByDefault + * Device should be noncompliant when there is no compliance policy targeted when this is true + * + * @param bool $val The value of the secureByDefault + * + * @return DeviceManagementSettings + */ + public function setSecureByDefault($val) + { + $this->_propDict["secureByDefault"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSubscriptionState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSubscriptionState.php new file mode 100644 index 0000000..cacf6ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSubscriptionState.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Id used for tracing the failure in the service. + * + * @param string $val The correlationId + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Time when the event occurred . + * + * @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 + * Time when the event occurred . + * + * @param \DateTime $val The eventDateTime + * + * @return DeviceManagementTroubleshootingEvent + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceOperatingSystemSummary.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceOperatingSystemSummary.php new file mode 100644 index 0000000..b1fac33 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceOperatingSystemSummary.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["androidCount"]; + } else { + return null; + } + } + + /** + * Sets the androidCount + * Number of android device count. + * + * @param int $val The value of the androidCount + * + * @return DeviceOperatingSystemSummary + */ + public function setAndroidCount($val) + { + $this->_propDict["androidCount"] = $val; + return $this; + } + /** + * Gets the iosCount + * Number of iOS device count. + * + * @return int|null The iosCount + */ + public function getIosCount() + { + if (array_key_exists("iosCount", $this->_propDict)) { + return $this->_propDict["iosCount"]; + } else { + return null; + } + } + + /** + * Sets the iosCount + * Number of iOS device count. + * + * @param int $val The value of the iosCount + * + * @return DeviceOperatingSystemSummary + */ + public function setIosCount($val) + { + $this->_propDict["iosCount"] = $val; + return $this; + } + /** + * Gets the macOSCount + * Number of Mac OS X device count. + * + * @return int|null The macOSCount + */ + public function getMacOSCount() + { + if (array_key_exists("macOSCount", $this->_propDict)) { + return $this->_propDict["macOSCount"]; + } else { + return null; + } + } + + /** + * Sets the macOSCount + * Number of Mac OS X device count. + * + * @param int $val The value of the macOSCount + * + * @return DeviceOperatingSystemSummary + */ + public function setMacOSCount($val) + { + $this->_propDict["macOSCount"] = $val; + return $this; + } + /** + * Gets the unknownCount + * Number of unknown device count. + * + * @return int|null The unknownCount + */ + public function getUnknownCount() + { + if (array_key_exists("unknownCount", $this->_propDict)) { + return $this->_propDict["unknownCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownCount + * Number of unknown device count. + * + * @param int $val The value of the unknownCount + * + * @return DeviceOperatingSystemSummary + */ + public function setUnknownCount($val) + { + $this->_propDict["unknownCount"] = $val; + return $this; + } + /** + * Gets the windowsCount + * Number of Windows device count. + * + * @return int|null The windowsCount + */ + public function getWindowsCount() + { + if (array_key_exists("windowsCount", $this->_propDict)) { + return $this->_propDict["windowsCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsCount + * Number of Windows device count. + * + * @param int $val The value of the windowsCount + * + * @return DeviceOperatingSystemSummary + */ + public function setWindowsCount($val) + { + $this->_propDict["windowsCount"] = $val; + return $this; + } + /** + * Gets the windowsMobileCount + * Number of Windows mobile device count. + * + * @return int|null The windowsMobileCount + */ + public function getWindowsMobileCount() + { + if (array_key_exists("windowsMobileCount", $this->_propDict)) { + return $this->_propDict["windowsMobileCount"]; + } else { + return null; + } + } + + /** + * Sets the windowsMobileCount + * Number of Windows mobile device count. + * + * @param int $val The value of the windowsMobileCount + * + * @return DeviceOperatingSystemSummary + */ + public function setWindowsMobileCount($val) + { + $this->_propDict["windowsMobileCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DeviceRegistrationState.php b/vendor/microsoft/microsoft-graph/src/Model/DeviceRegistrationState.php new file mode 100644 index 0000000..214ded4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DeviceRegistrationState.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The message describing the condition that triggered the error or warning. + * + * @param string $val The value of the message + * + * @return Diagnostic + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the url + * The link to the documentation for this issue. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The link to the documentation for this issue. + * + * @param string $val The value of the url + * + * @return Diagnostic + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DiagnosticDataSubmissionMode.php b/vendor/microsoft/microsoft-graph/src/Model/DiagnosticDataSubmissionMode.php new file mode 100644 index 0000000..a95121f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DiagnosticDataSubmissionMode.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["administrativeUnits"]; + } else { + return null; + } + } + + /** + * Sets the administrativeUnits + * Conceptual container for user and group directory objects. + * + * @param AdministrativeUnit[] $val The administrativeUnits + * + * @return Directory + */ + public function setAdministrativeUnits($val) + { + $this->_propDict["administrativeUnits"] = $val; + return $this; + } + + + /** + * Gets the deletedItems + * Recently deleted items. Read-only. Nullable. + * + * @return array|null The deletedItems + */ + public function getDeletedItems() + { + if (array_key_exists("deletedItems", $this->_propDict)) { + return $this->_propDict["deletedItems"]; + } else { + return null; + } + } + + /** + * Sets the deletedItems + * Recently deleted items. Read-only. Nullable. + * + * @param DirectoryObject[] $val The deletedItems + * + * @return Directory + */ + public function setDeletedItems($val) + { + $this->_propDict["deletedItems"] = $val; + return $this; + } + + + /** + * Gets the federationConfigurations + * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. + * + * @return array|null The federationConfigurations + */ + public function getFederationConfigurations() + { + if (array_key_exists("federationConfigurations", $this->_propDict)) { + return $this->_propDict["federationConfigurations"]; + } else { + return null; + } + } + + /** + * Sets the federationConfigurations + * Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. + * + * @param IdentityProviderBase[] $val The federationConfigurations + * + * @return Directory + */ + public function setFederationConfigurations($val) + { + $this->_propDict["federationConfigurations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DirectoryAudit.php b/vendor/microsoft/microsoft-graph/src/Model/DirectoryAudit.php new file mode 100644 index 0000000..557bef1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DirectoryAudit.php @@ -0,0 +1,360 @@ +_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The activityDateTime + * + * @return DirectoryAudit + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the activityDisplayName + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure Ad activity list. + * + * @return string|null The activityDisplayName + */ + public function getActivityDisplayName() + { + if (array_key_exists("activityDisplayName", $this->_propDict)) { + return $this->_propDict["activityDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the activityDisplayName + * Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities logged, refer to Azure Ad activity list. + * + * @param string $val The activityDisplayName + * + * @return DirectoryAudit + */ + public function setActivityDisplayName($val) + { + $this->_propDict["activityDisplayName"] = $val; + return $this; + } + + + /** + * Gets the additionalDetails + * Indicates additional details on the activity. + * + * @return array|null The additionalDetails + */ + public function getAdditionalDetails() + { + if (array_key_exists("additionalDetails", $this->_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Indicates additional details on the activity. + * + * @param KeyValue[] $val The additionalDetails + * + * @return DirectoryAudit + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + + /** + * Gets the category + * Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..) + * + * @return string|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..) + * + * @param string $val The category + * + * @return DirectoryAudit + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the correlationId + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. + * + * @param string $val The correlationId + * + * @return DirectoryAudit + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the initiatedBy + * Indicates information about the user or app initiated the activity. + * + * @return AuditActivityInitiator|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + if (is_a($this->_propDict["initiatedBy"], "\Microsoft\Graph\Model\AuditActivityInitiator") || is_null($this->_propDict["initiatedBy"])) { + return $this->_propDict["initiatedBy"]; + } else { + $this->_propDict["initiatedBy"] = new AuditActivityInitiator($this->_propDict["initiatedBy"]); + return $this->_propDict["initiatedBy"]; + } + } + return null; + } + + /** + * Sets the initiatedBy + * Indicates information about the user or app initiated the activity. + * + * @param AuditActivityInitiator $val The initiatedBy + * + * @return DirectoryAudit + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the loggedByService + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * + * @return string|null The loggedByService + */ + public function getLoggedByService() + { + if (array_key_exists("loggedByService", $this->_propDict)) { + return $this->_propDict["loggedByService"]; + } else { + return null; + } + } + + /** + * Sets the loggedByService + * Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. + * + * @param string $val The loggedByService + * + * @return DirectoryAudit + */ + public function setLoggedByService($val) + { + $this->_propDict["loggedByService"] = $val; + return $this; + } + + /** + * Gets the operationType + * Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete. + * + * @return string|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + return $this->_propDict["operationType"]; + } else { + return null; + } + } + + /** + * Sets the operationType + * Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete. + * + * @param string $val The operationType + * + * @return DirectoryAudit + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the result + * Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. + * + * @return OperationResult|null The result + */ + public function getResult() + { + if (array_key_exists("result", $this->_propDict)) { + if (is_a($this->_propDict["result"], "\Microsoft\Graph\Model\OperationResult") || is_null($this->_propDict["result"])) { + return $this->_propDict["result"]; + } else { + $this->_propDict["result"] = new OperationResult($this->_propDict["result"]); + return $this->_propDict["result"]; + } + } + return null; + } + + /** + * Sets the result + * Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. + * + * @param OperationResult $val The result + * + * @return DirectoryAudit + */ + public function setResult($val) + { + $this->_propDict["result"] = $val; + return $this; + } + + /** + * Gets the resultReason + * Indicates the reason for failure if the result is failure or timeout. + * + * @return string|null The resultReason + */ + public function getResultReason() + { + if (array_key_exists("resultReason", $this->_propDict)) { + return $this->_propDict["resultReason"]; + } else { + return null; + } + } + + /** + * Sets the resultReason + * Indicates the reason for failure if the result is failure or timeout. + * + * @param string $val The resultReason + * + * @return DirectoryAudit + */ + public function setResultReason($val) + { + $this->_propDict["resultReason"] = $val; + return $this; + } + + + /** + * Gets the targetResources + * Information about the resource that changed due to the activity. + * + * @return array|null The targetResources + */ + public function getTargetResources() + { + if (array_key_exists("targetResources", $this->_propDict)) { + return $this->_propDict["targetResources"]; + } else { + return null; + } + } + + /** + * Sets the targetResources + * Information about the resource that changed due to the activity. + * + * @param TargetResource[] $val The targetResources + * + * @return DirectoryAudit + */ + public function setTargetResources($val) + { + $this->_propDict["targetResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DirectoryObject.php b/vendor/microsoft/microsoft-graph/src/Model/DirectoryObject.php new file mode 100644 index 0000000..1d436e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DirectoryObject.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { + return $this->_propDict["deletedDateTime"]; + } else { + $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); + return $this->_propDict["deletedDateTime"]; + } + } + return null; + } + + /** + * Sets the deletedDateTime + * Date and time when this object was deleted. Always null when the object hasn't been deleted. + * + * @param \DateTime $val The deletedDateTime + * + * @return DirectoryObject + */ + public function setDeletedDateTime($val) + { + $this->_propDict["deletedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DirectoryObjectPartnerReference.php b/vendor/microsoft/microsoft-graph/src/Model/DirectoryObjectPartnerReference.php new file mode 100644 index 0000000..ee167a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DirectoryObjectPartnerReference.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the object returned. Read-only. + * + * @param string $val The description + * + * @return DirectoryObjectPartnerReference + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of directory object being returned, like group or application. Read-only. + * + * @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 + * Name of directory object being returned, like group or application. Read-only. + * + * @param string $val The displayName + * + * @return DirectoryObjectPartnerReference + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalPartnerTenantId + * The tenant identifier for the partner tenant. Read-only. + * + * @return string|null The externalPartnerTenantId + */ + public function getExternalPartnerTenantId() + { + if (array_key_exists("externalPartnerTenantId", $this->_propDict)) { + return $this->_propDict["externalPartnerTenantId"]; + } else { + return null; + } + } + + /** + * Sets the externalPartnerTenantId + * The tenant identifier for the partner tenant. Read-only. + * + * @param string $val The externalPartnerTenantId + * + * @return DirectoryObjectPartnerReference + */ + public function setExternalPartnerTenantId($val) + { + $this->_propDict["externalPartnerTenantId"] = $val; + return $this; + } + + /** + * Gets the objectType + * The type of the referenced object in the partner tenant. Read-only. + * + * @return string|null The objectType + */ + public function getObjectType() + { + if (array_key_exists("objectType", $this->_propDict)) { + return $this->_propDict["objectType"]; + } else { + return null; + } + } + + /** + * Sets the objectType + * The type of the referenced object in the partner tenant. Read-only. + * + * @param string $val The objectType + * + * @return DirectoryObjectPartnerReference + */ + public function setObjectType($val) + { + $this->_propDict["objectType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DirectoryRole.php b/vendor/microsoft/microsoft-graph/src/Model/DirectoryRole.php new file mode 100644 index 0000000..11c0728 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DirectoryRole.php @@ -0,0 +1,174 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the directory role. Read-only. Supports $filter (eq), $search, $select. + * + * @param string $val The description + * + * @return DirectoryRole + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the directory role. Read-only. Supports $filter (eq), $search, $select. + * + * @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 + * The display name for the directory role. Read-only. Supports $filter (eq), $search, $select. + * + * @param string $val The displayName + * + * @return DirectoryRole + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the roleTemplateId + * The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. + * + * @return string|null The roleTemplateId + */ + public function getRoleTemplateId() + { + if (array_key_exists("roleTemplateId", $this->_propDict)) { + return $this->_propDict["roleTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the roleTemplateId + * The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. + * + * @param string $val The roleTemplateId + * + * @return DirectoryRole + */ + public function setRoleTemplateId($val) + { + $this->_propDict["roleTemplateId"] = $val; + return $this; + } + + + /** + * Gets the members + * Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The members + * + * @return DirectoryRole + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the scopedMembers + * Members of this directory role that are scoped to administrative units. Read-only. Nullable. + * + * @return array|null The scopedMembers + */ + public function getScopedMembers() + { + if (array_key_exists("scopedMembers", $this->_propDict)) { + return $this->_propDict["scopedMembers"]; + } else { + return null; + } + } + + /** + * Sets the scopedMembers + * Members of this directory role that are scoped to administrative units. Read-only. Nullable. + * + * @param ScopedRoleMembership[] $val The scopedMembers + * + * @return DirectoryRole + */ + public function setScopedMembers($val) + { + $this->_propDict["scopedMembers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DirectoryRoleTemplate.php b/vendor/microsoft/microsoft-graph/src/Model/DirectoryRoleTemplate.php new file mode 100644 index 0000000..9a15768 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DirectoryRoleTemplate.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description to set for the directory role. Read-only. + * + * @param string $val The description + * + * @return DirectoryRoleTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name to set for the directory role. Read-only. + * + * @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 + * The display name to set for the directory role. Read-only. + * + * @param string $val The displayName + * + * @return DirectoryRoleTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DisableAndDeleteUserApplyAction.php b/vendor/microsoft/microsoft-graph/src/Model/DisableAndDeleteUserApplyAction.php new file mode 100644 index 0000000..80b90fa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DisableAndDeleteUserApplyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * If present, the value of this field contains the displayName string that has been set for the language present in the languageTag field. + * + * @param string $val The value of the displayName + * + * @return DisplayNameLocalization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the languageTag + * Provides the language culture-code and friendly name of the language that the displayName field has been provided in. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * Provides the language culture-code and friendly name of the language that the displayName field has been provided in. + * + * @param string $val The value of the languageTag + * + * @return DisplayNameLocalization + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DocumentSet.php b/vendor/microsoft/microsoft-graph/src/Model/DocumentSet.php new file mode 100644 index 0000000..ba235d2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DocumentSet.php @@ -0,0 +1,238 @@ +_propDict)) { + if (is_a($this->_propDict["allowedContentTypes"], "\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["allowedContentTypes"])) { + return $this->_propDict["allowedContentTypes"]; + } else { + $this->_propDict["allowedContentTypes"] = new ContentTypeInfo($this->_propDict["allowedContentTypes"]); + return $this->_propDict["allowedContentTypes"]; + } + } + return null; + } + + /** + * Sets the allowedContentTypes + * Content types allowed in document set. + * + * @param ContentTypeInfo $val The value to assign to the allowedContentTypes + * + * @return DocumentSet The DocumentSet + */ + public function setAllowedContentTypes($val) + { + $this->_propDict["allowedContentTypes"] = $val; + return $this; + } + + /** + * Gets the defaultContents + * Default contents of document set. + * + * @return DocumentSetContent|null The defaultContents + */ + public function getDefaultContents() + { + if (array_key_exists("defaultContents", $this->_propDict)) { + if (is_a($this->_propDict["defaultContents"], "\Microsoft\Graph\Model\DocumentSetContent") || is_null($this->_propDict["defaultContents"])) { + return $this->_propDict["defaultContents"]; + } else { + $this->_propDict["defaultContents"] = new DocumentSetContent($this->_propDict["defaultContents"]); + return $this->_propDict["defaultContents"]; + } + } + return null; + } + + /** + * Sets the defaultContents + * Default contents of document set. + * + * @param DocumentSetContent $val The value to assign to the defaultContents + * + * @return DocumentSet The DocumentSet + */ + public function setDefaultContents($val) + { + $this->_propDict["defaultContents"] = $val; + return $this; + } + /** + * Gets the propagateWelcomePageChanges + * Indicates whether to add the name of the document set to each file name. + * + * @return bool|null The propagateWelcomePageChanges + */ + public function getPropagateWelcomePageChanges() + { + if (array_key_exists("propagateWelcomePageChanges", $this->_propDict)) { + return $this->_propDict["propagateWelcomePageChanges"]; + } else { + return null; + } + } + + /** + * Sets the propagateWelcomePageChanges + * Indicates whether to add the name of the document set to each file name. + * + * @param bool $val The value of the propagateWelcomePageChanges + * + * @return DocumentSet + */ + public function setPropagateWelcomePageChanges($val) + { + $this->_propDict["propagateWelcomePageChanges"] = $val; + return $this; + } + /** + * Gets the shouldPrefixNameToFile + * Add the name of the Document Set to each file name. + * + * @return bool|null The shouldPrefixNameToFile + */ + public function getShouldPrefixNameToFile() + { + if (array_key_exists("shouldPrefixNameToFile", $this->_propDict)) { + return $this->_propDict["shouldPrefixNameToFile"]; + } else { + return null; + } + } + + /** + * Sets the shouldPrefixNameToFile + * Add the name of the Document Set to each file name. + * + * @param bool $val The value of the shouldPrefixNameToFile + * + * @return DocumentSet + */ + public function setShouldPrefixNameToFile($val) + { + $this->_propDict["shouldPrefixNameToFile"] = $val; + return $this; + } + /** + * Gets the welcomePageUrl + * Welcome page absolute URL. + * + * @return string|null The welcomePageUrl + */ + public function getWelcomePageUrl() + { + if (array_key_exists("welcomePageUrl", $this->_propDict)) { + return $this->_propDict["welcomePageUrl"]; + } else { + return null; + } + } + + /** + * Sets the welcomePageUrl + * Welcome page absolute URL. + * + * @param string $val The value of the welcomePageUrl + * + * @return DocumentSet + */ + public function setWelcomePageUrl($val) + { + $this->_propDict["welcomePageUrl"] = $val; + return $this; + } + + /** + * Gets the sharedColumns + * + * @return ColumnDefinition|null The sharedColumns + */ + public function getSharedColumns() + { + if (array_key_exists("sharedColumns", $this->_propDict)) { + if (is_a($this->_propDict["sharedColumns"], "\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["sharedColumns"])) { + return $this->_propDict["sharedColumns"]; + } else { + $this->_propDict["sharedColumns"] = new ColumnDefinition($this->_propDict["sharedColumns"]); + return $this->_propDict["sharedColumns"]; + } + } + return null; + } + + /** + * Sets the sharedColumns + * + * @param ColumnDefinition $val The value to assign to the sharedColumns + * + * @return DocumentSet The DocumentSet + */ + public function setSharedColumns($val) + { + $this->_propDict["sharedColumns"] = $val; + return $this; + } + + /** + * Gets the welcomePageColumns + * + * @return ColumnDefinition|null The welcomePageColumns + */ + public function getWelcomePageColumns() + { + if (array_key_exists("welcomePageColumns", $this->_propDict)) { + if (is_a($this->_propDict["welcomePageColumns"], "\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["welcomePageColumns"])) { + return $this->_propDict["welcomePageColumns"]; + } else { + $this->_propDict["welcomePageColumns"] = new ColumnDefinition($this->_propDict["welcomePageColumns"]); + return $this->_propDict["welcomePageColumns"]; + } + } + return null; + } + + /** + * Sets the welcomePageColumns + * + * @param ColumnDefinition $val The value to assign to the welcomePageColumns + * + * @return DocumentSet The DocumentSet + */ + public function setWelcomePageColumns($val) + { + $this->_propDict["welcomePageColumns"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DocumentSetContent.php b/vendor/microsoft/microsoft-graph/src/Model/DocumentSetContent.php new file mode 100644 index 0000000..44bfe61 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DocumentSetContent.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * Content type information of the file. + * + * @param ContentTypeInfo $val The value to assign to the contentType + * + * @return DocumentSetContent The DocumentSetContent + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the fileName + * Name of the file in resource folder that should be added as a default content or a template in the document set + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * Name of the file in resource folder that should be added as a default content or a template in the document set + * + * @param string $val The value of the fileName + * + * @return DocumentSetContent + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + /** + * Gets the folderName + * Folder name in which the file will be placed when a new document set is created in the library. + * + * @return string|null The folderName + */ + public function getFolderName() + { + if (array_key_exists("folderName", $this->_propDict)) { + return $this->_propDict["folderName"]; + } else { + return null; + } + } + + /** + * Sets the folderName + * Folder name in which the file will be placed when a new document set is created in the library. + * + * @param string $val The value of the folderName + * + * @return DocumentSetContent + */ + public function setFolderName($val) + { + $this->_propDict["folderName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Domain.php b/vendor/microsoft/microsoft-graph/src/Model/Domain.php new file mode 100644 index 0000000..48112be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Domain.php @@ -0,0 +1,524 @@ +_propDict)) { + return $this->_propDict["authenticationType"]; + } else { + return null; + } + } + + /** + * Sets the authenticationType + * Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable. + * + * @param string $val The authenticationType + * + * @return Domain + */ + public function setAuthenticationType($val) + { + $this->_propDict["authenticationType"] = $val; + return $this; + } + + /** + * Gets the availabilityStatus + * This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled. + * + * @return string|null The availabilityStatus + */ + public function getAvailabilityStatus() + { + if (array_key_exists("availabilityStatus", $this->_propDict)) { + return $this->_propDict["availabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the availabilityStatus + * This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled. + * + * @param string $val The availabilityStatus + * + * @return Domain + */ + public function setAvailabilityStatus($val) + { + $this->_propDict["availabilityStatus"] = $val; + return $this; + } + + /** + * Gets the isAdminManaged + * The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable + * + * @return bool|null The isAdminManaged + */ + public function getIsAdminManaged() + { + if (array_key_exists("isAdminManaged", $this->_propDict)) { + return $this->_propDict["isAdminManaged"]; + } else { + return null; + } + } + + /** + * Sets the isAdminManaged + * The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable + * + * @param bool $val The isAdminManaged + * + * @return Domain + */ + public function setIsAdminManaged($val) + { + $this->_propDict["isAdminManaged"] = boolval($val); + return $this; + } + + /** + * Gets the isDefault + * true if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * true if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable + * + * @param bool $val The isDefault + * + * @return Domain + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isInitial + * true if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable + * + * @return bool|null The isInitial + */ + public function getIsInitial() + { + if (array_key_exists("isInitial", $this->_propDict)) { + return $this->_propDict["isInitial"]; + } else { + return null; + } + } + + /** + * Sets the isInitial + * true if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable + * + * @param bool $val The isInitial + * + * @return Domain + */ + public function setIsInitial($val) + { + $this->_propDict["isInitial"] = boolval($val); + return $this; + } + + /** + * Gets the isRoot + * true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable + * + * @return bool|null The isRoot + */ + public function getIsRoot() + { + if (array_key_exists("isRoot", $this->_propDict)) { + return $this->_propDict["isRoot"]; + } else { + return null; + } + } + + /** + * Sets the isRoot + * true if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable + * + * @param bool $val The isRoot + * + * @return Domain + */ + public function setIsRoot($val) + { + $this->_propDict["isRoot"] = boolval($val); + return $this; + } + + /** + * Gets the isVerified + * true if the domain has completed domain ownership verification. Not nullable + * + * @return bool|null The isVerified + */ + public function getIsVerified() + { + if (array_key_exists("isVerified", $this->_propDict)) { + return $this->_propDict["isVerified"]; + } else { + return null; + } + } + + /** + * Sets the isVerified + * true if the domain has completed domain ownership verification. Not nullable + * + * @param bool $val The isVerified + * + * @return Domain + */ + public function setIsVerified($val) + { + $this->_propDict["isVerified"] = boolval($val); + return $this; + } + + /** + * Gets the manufacturer + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * + * @param string $val The manufacturer + * + * @return Domain + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * + * @param string $val The model + * + * @return Domain + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the passwordNotificationWindowInDays + * Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used. + * + * @return int|null The passwordNotificationWindowInDays + */ + public function getPasswordNotificationWindowInDays() + { + if (array_key_exists("passwordNotificationWindowInDays", $this->_propDict)) { + return $this->_propDict["passwordNotificationWindowInDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordNotificationWindowInDays + * Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used. + * + * @param int $val The passwordNotificationWindowInDays + * + * @return Domain + */ + public function setPasswordNotificationWindowInDays($val) + { + $this->_propDict["passwordNotificationWindowInDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordValidityPeriodInDays + * Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used. + * + * @return int|null The passwordValidityPeriodInDays + */ + public function getPasswordValidityPeriodInDays() + { + if (array_key_exists("passwordValidityPeriodInDays", $this->_propDict)) { + return $this->_propDict["passwordValidityPeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordValidityPeriodInDays + * Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used. + * + * @param int $val The passwordValidityPeriodInDays + * + * @return Domain + */ + public function setPasswordValidityPeriodInDays($val) + { + $this->_propDict["passwordValidityPeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the state + * Status of asynchronous operations scheduled for the domain. + * + * @return DomainState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\DomainState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new DomainState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Status of asynchronous operations scheduled for the domain. + * + * @param DomainState $val The state + * + * @return Domain + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the supportedServices + * The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. + * + * @return string|null The supportedServices + */ + public function getSupportedServices() + { + if (array_key_exists("supportedServices", $this->_propDict)) { + return $this->_propDict["supportedServices"]; + } else { + return null; + } + } + + /** + * Sets the supportedServices + * The capabilities assigned to the domain. Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline,SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, Yammer. Not nullable. + * + * @param string $val The supportedServices + * + * @return Domain + */ + public function setSupportedServices($val) + { + $this->_propDict["supportedServices"] = $val; + return $this; + } + + + /** + * Gets the domainNameReferences + * The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + * + * @return array|null The domainNameReferences + */ + public function getDomainNameReferences() + { + if (array_key_exists("domainNameReferences", $this->_propDict)) { + return $this->_propDict["domainNameReferences"]; + } else { + return null; + } + } + + /** + * Sets the domainNameReferences + * The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. + * + * @param DirectoryObject[] $val The domainNameReferences + * + * @return Domain + */ + public function setDomainNameReferences($val) + { + $this->_propDict["domainNameReferences"] = $val; + return $this; + } + + + /** + * Gets the federationConfiguration + * Domain settings configured by customer when federated with Azure AD. Supports $expand. + * + * @return array|null The federationConfiguration + */ + public function getFederationConfiguration() + { + if (array_key_exists("federationConfiguration", $this->_propDict)) { + return $this->_propDict["federationConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the federationConfiguration + * Domain settings configured by customer when federated with Azure AD. Supports $expand. + * + * @param InternalDomainFederation[] $val The federationConfiguration + * + * @return Domain + */ + public function setFederationConfiguration($val) + { + $this->_propDict["federationConfiguration"] = $val; + return $this; + } + + + /** + * Gets the serviceConfigurationRecords + * DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. + * + * @return array|null The serviceConfigurationRecords + */ + public function getServiceConfigurationRecords() + { + if (array_key_exists("serviceConfigurationRecords", $this->_propDict)) { + return $this->_propDict["serviceConfigurationRecords"]; + } else { + return null; + } + } + + /** + * Sets the serviceConfigurationRecords + * DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. + * + * @param DomainDnsRecord[] $val The serviceConfigurationRecords + * + * @return Domain + */ + public function setServiceConfigurationRecords($val) + { + $this->_propDict["serviceConfigurationRecords"] = $val; + return $this; + } + + + /** + * Gets the verificationDnsRecords + * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand. + * + * @return array|null The verificationDnsRecords + */ + public function getVerificationDnsRecords() + { + if (array_key_exists("verificationDnsRecords", $this->_propDict)) { + return $this->_propDict["verificationDnsRecords"]; + } else { + return null; + } + } + + /** + * Sets the verificationDnsRecords + * DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand. + * + * @param DomainDnsRecord[] $val The verificationDnsRecords + * + * @return Domain + */ + public function setVerificationDnsRecords($val) + { + $this->_propDict["verificationDnsRecords"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsCnameRecord.php b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsCnameRecord.php new file mode 100644 index 0000000..02c2f97 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsCnameRecord.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["canonicalName"]; + } else { + return null; + } + } + + /** + * Sets the canonicalName + * The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host. + * + * @param string $val The canonicalName + * + * @return DomainDnsCnameRecord + */ + public function setCanonicalName($val) + { + $this->_propDict["canonicalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsMxRecord.php b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsMxRecord.php new file mode 100644 index 0000000..f4a2815 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsMxRecord.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["mailExchange"]; + } else { + return null; + } + } + + /** + * Sets the mailExchange + * Value used when configuring the answer/destination/value of the MX record at the DNS host. + * + * @param string $val The mailExchange + * + * @return DomainDnsMxRecord + */ + public function setMailExchange($val) + { + $this->_propDict["mailExchange"] = $val; + return $this; + } + + /** + * Gets the preference + * Value used when configuring the Preference/Priority property of the MX record at the DNS host. + * + * @return int|null The preference + */ + public function getPreference() + { + if (array_key_exists("preference", $this->_propDict)) { + return $this->_propDict["preference"]; + } else { + return null; + } + } + + /** + * Sets the preference + * Value used when configuring the Preference/Priority property of the MX record at the DNS host. + * + * @param int $val The preference + * + * @return DomainDnsMxRecord + */ + public function setPreference($val) + { + $this->_propDict["preference"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsRecord.php b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsRecord.php new file mode 100644 index 0000000..7d5f562 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsRecord.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["isOptional"]; + } else { + return null; + } + } + + /** + * Sets the isOptional + * If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain. + * + * @param bool $val The isOptional + * + * @return DomainDnsRecord + */ + public function setIsOptional($val) + { + $this->_propDict["isOptional"] = boolval($val); + return $this; + } + + /** + * Gets the label + * Value used when configuring the name of the DNS record at the DNS host. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * Value used when configuring the name of the DNS record at the DNS host. + * + * @param string $val The label + * + * @return DomainDnsRecord + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the recordType + * Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. + * + * @return string|null The recordType + */ + public function getRecordType() + { + if (array_key_exists("recordType", $this->_propDict)) { + return $this->_propDict["recordType"]; + } else { + return null; + } + } + + /** + * Sets the recordType + * Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. + * + * @param string $val The recordType + * + * @return DomainDnsRecord + */ + public function setRecordType($val) + { + $this->_propDict["recordType"] = $val; + return $this; + } + + /** + * Gets the supportedService + * Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. + * + * @return string|null The supportedService + */ + public function getSupportedService() + { + if (array_key_exists("supportedService", $this->_propDict)) { + return $this->_propDict["supportedService"]; + } else { + return null; + } + } + + /** + * Sets the supportedService + * Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. + * + * @param string $val The supportedService + * + * @return DomainDnsRecord + */ + public function setSupportedService($val) + { + $this->_propDict["supportedService"] = $val; + return $this; + } + + /** + * Gets the ttl + * Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable. + * + * @return int|null The ttl + */ + public function getTtl() + { + if (array_key_exists("ttl", $this->_propDict)) { + return $this->_propDict["ttl"]; + } else { + return null; + } + } + + /** + * Sets the ttl + * Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable. + * + * @param int $val The ttl + * + * @return DomainDnsRecord + */ + public function setTtl($val) + { + $this->_propDict["ttl"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsSrvRecord.php b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsSrvRecord.php new file mode 100644 index 0000000..9d449fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsSrvRecord.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["nameTarget"]; + } else { + return null; + } + } + + /** + * Sets the nameTarget + * Value to use when configuring the Target property of the SRV record at the DNS host. + * + * @param string $val The nameTarget + * + * @return DomainDnsSrvRecord + */ + public function setNameTarget($val) + { + $this->_propDict["nameTarget"] = $val; + return $this; + } + + /** + * Gets the port + * Value to use when configuring the port property of the SRV record at the DNS host. + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * Value to use when configuring the port property of the SRV record at the DNS host. + * + * @param int $val The port + * + * @return DomainDnsSrvRecord + */ + public function setPort($val) + { + $this->_propDict["port"] = intval($val); + return $this; + } + + /** + * Gets the priority + * Value to use when configuring the priority property of the SRV record at the DNS host. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Value to use when configuring the priority property of the SRV record at the DNS host. + * + * @param int $val The priority + * + * @return DomainDnsSrvRecord + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the protocol + * Value to use when configuring the protocol property of the SRV record at the DNS host. + * + * @return string|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + return $this->_propDict["protocol"]; + } else { + return null; + } + } + + /** + * Sets the protocol + * Value to use when configuring the protocol property of the SRV record at the DNS host. + * + * @param string $val The protocol + * + * @return DomainDnsSrvRecord + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + + /** + * Gets the service + * Value to use when configuring the service property of the SRV record at the DNS host. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * Value to use when configuring the service property of the SRV record at the DNS host. + * + * @param string $val The service + * + * @return DomainDnsSrvRecord + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the weight + * Value to use when configuring the weight property of the SRV record at the DNS host. + * + * @return int|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * Value to use when configuring the weight property of the SRV record at the DNS host. + * + * @param int $val The weight + * + * @return DomainDnsSrvRecord + */ + public function setWeight($val) + { + $this->_propDict["weight"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsTxtRecord.php b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsTxtRecord.php new file mode 100644 index 0000000..58856dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsTxtRecord.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Value used when configuring the text property at the DNS host. + * + * @param string $val The text + * + * @return DomainDnsTxtRecord + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsUnavailableRecord.php b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsUnavailableRecord.php new file mode 100644 index 0000000..07b395c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainDnsUnavailableRecord.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Provides the reason why the DomainDnsUnavailableRecord entity is returned. + * + * @param string $val The description + * + * @return DomainDnsUnavailableRecord + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainIdentitySource.php b/vendor/microsoft/microsoft-graph/src/Model/DomainIdentitySource.php new file mode 100644 index 0000000..22f4eaa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainIdentitySource.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.domainIdentitySource"); + } + + /** + * Gets the displayName + * The name of the identity source, typically also the domain name. Read only. + * + * @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 + * The name of the identity source, typically also the domain name. Read only. + * + * @param string $val The value of the displayName + * + * @return DomainIdentitySource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the domainName + * The domain name. Read only. + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * The domain name. Read only. + * + * @param string $val The value of the domainName + * + * @return DomainIdentitySource + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DomainState.php b/vendor/microsoft/microsoft-graph/src/Model/DomainState.php new file mode 100644 index 0000000..0ade981 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DomainState.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * Timestamp for when the last activity occurred. The value is updated when an operation is scheduled, the asynchronous task starts, and when the operation completes. + * + * @param \DateTime $val The value to assign to the lastActionDateTime + * + * @return DomainState The DomainState + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + /** + * Gets the operation + * Type of asynchronous operation. The values can be ForceDelete or Verification + * + * @return string|null The operation + */ + public function getOperation() + { + if (array_key_exists("operation", $this->_propDict)) { + return $this->_propDict["operation"]; + } else { + return null; + } + } + + /** + * Sets the operation + * Type of asynchronous operation. The values can be ForceDelete or Verification + * + * @param string $val The value of the operation + * + * @return DomainState + */ + public function setOperation($val) + { + $this->_propDict["operation"] = $val; + return $this; + } + /** + * Gets the status + * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Current status of the operation. Scheduled - Operation has been scheduled but has not started. InProgress - Task has started and is in progress. Failed - Operation has failed. + * + * @param string $val The value of the status + * + * @return DomainState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Drive.php b/vendor/microsoft/microsoft-graph/src/Model/Drive.php new file mode 100644 index 0000000..7dc170a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Drive.php @@ -0,0 +1,372 @@ +_propDict)) { + return $this->_propDict["driveType"]; + } else { + return null; + } + } + + /** + * Sets the driveType + * Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only. + * + * @param string $val The driveType + * + * @return Drive + */ + public function setDriveType($val) + { + $this->_propDict["driveType"] = $val; + return $this; + } + + /** + * Gets the owner + * Optional. The user account that owns the drive. Read-only. + * + * @return IdentitySet|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new IdentitySet($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * Optional. The user account that owns the drive. Read-only. + * + * @param IdentitySet $val The owner + * + * @return Drive + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the quota + * Optional. Information about the drive's storage space quota. Read-only. + * + * @return Quota|null The quota + */ + public function getQuota() + { + if (array_key_exists("quota", $this->_propDict)) { + if (is_a($this->_propDict["quota"], "\Microsoft\Graph\Model\Quota") || is_null($this->_propDict["quota"])) { + return $this->_propDict["quota"]; + } else { + $this->_propDict["quota"] = new Quota($this->_propDict["quota"]); + return $this->_propDict["quota"]; + } + } + return null; + } + + /** + * Sets the quota + * Optional. Information about the drive's storage space quota. Read-only. + * + * @param Quota $val The quota + * + * @return Drive + */ + public function setQuota($val) + { + $this->_propDict["quota"] = $val; + return $this; + } + + /** + * Gets the sharePointIds + * + * @return SharepointIds|null The sharePointIds + */ + public function getSharePointIds() + { + if (array_key_exists("sharePointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharePointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharePointIds"])) { + return $this->_propDict["sharePointIds"]; + } else { + $this->_propDict["sharePointIds"] = new SharepointIds($this->_propDict["sharePointIds"]); + return $this->_propDict["sharePointIds"]; + } + } + return null; + } + + /** + * Sets the sharePointIds + * + * @param SharepointIds $val The sharePointIds + * + * @return Drive + */ + public function setSharePointIds($val) + { + $this->_propDict["sharePointIds"] = $val; + return $this; + } + + /** + * Gets the system + * If present, indicates that this is a system-managed drive. Read-only. + * + * @return SystemFacet|null The system + */ + public function getSystem() + { + if (array_key_exists("system", $this->_propDict)) { + if (is_a($this->_propDict["system"], "\Microsoft\Graph\Model\SystemFacet") || is_null($this->_propDict["system"])) { + return $this->_propDict["system"]; + } else { + $this->_propDict["system"] = new SystemFacet($this->_propDict["system"]); + return $this->_propDict["system"]; + } + } + return null; + } + + /** + * Sets the system + * If present, indicates that this is a system-managed drive. Read-only. + * + * @param SystemFacet $val The system + * + * @return Drive + */ + public function setSystem($val) + { + $this->_propDict["system"] = $val; + return $this; + } + + + /** + * Gets the bundles + * Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + * + * @return array|null The bundles + */ + public function getBundles() + { + if (array_key_exists("bundles", $this->_propDict)) { + return $this->_propDict["bundles"]; + } else { + return null; + } + } + + /** + * Sets the bundles + * Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. + * + * @param DriveItem[] $val The bundles + * + * @return Drive + */ + public function setBundles($val) + { + $this->_propDict["bundles"] = $val; + return $this; + } + + + /** + * Gets the following + * The list of items the user is following. Only in OneDrive for Business. + * + * @return array|null The following + */ + public function getFollowing() + { + if (array_key_exists("following", $this->_propDict)) { + return $this->_propDict["following"]; + } else { + return null; + } + } + + /** + * Sets the following + * The list of items the user is following. Only in OneDrive for Business. + * + * @param DriveItem[] $val The following + * + * @return Drive + */ + public function setFollowing($val) + { + $this->_propDict["following"] = $val; + return $this; + } + + + /** + * Gets the items + * All items contained in the drive. Read-only. Nullable. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * All items contained in the drive. Read-only. Nullable. + * + * @param DriveItem[] $val The items + * + * @return Drive + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + /** + * Gets the list + * For drives in SharePoint, the underlying document library list. Read-only. Nullable. + * + * @return GraphList|null The list + */ + public function getList() + { + if (array_key_exists("list", $this->_propDict)) { + if (is_a($this->_propDict["list"], "\Microsoft\Graph\Model\GraphList") || is_null($this->_propDict["list"])) { + return $this->_propDict["list"]; + } else { + $this->_propDict["list"] = new GraphList($this->_propDict["list"]); + return $this->_propDict["list"]; + } + } + return null; + } + + /** + * Sets the list + * For drives in SharePoint, the underlying document library list. Read-only. Nullable. + * + * @param GraphList $val The list + * + * @return Drive + */ + public function setList($val) + { + $this->_propDict["list"] = $val; + return $this; + } + + /** + * Gets the root + * The root folder of the drive. Read-only. + * + * @return DriveItem|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new DriveItem($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * The root folder of the drive. Read-only. + * + * @param DriveItem $val The root + * + * @return Drive + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + + /** + * Gets the special + * Collection of common folders available in OneDrive. Read-only. Nullable. + * + * @return array|null The special + */ + public function getSpecial() + { + if (array_key_exists("special", $this->_propDict)) { + return $this->_propDict["special"]; + } else { + return null; + } + } + + /** + * Sets the special + * Collection of common folders available in OneDrive. Read-only. Nullable. + * + * @param DriveItem[] $val The special + * + * @return Drive + */ + public function setSpecial($val) + { + $this->_propDict["special"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DriveItem.php b/vendor/microsoft/microsoft-graph/src/Model/DriveItem.php new file mode 100644 index 0000000..be545f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DriveItem.php @@ -0,0 +1,1056 @@ +_propDict)) { + if (is_a($this->_propDict["audio"], "\Microsoft\Graph\Model\Audio") || is_null($this->_propDict["audio"])) { + return $this->_propDict["audio"]; + } else { + $this->_propDict["audio"] = new Audio($this->_propDict["audio"]); + return $this->_propDict["audio"]; + } + } + return null; + } + + /** + * Sets the audio + * Audio metadata, if the item is an audio file. Read-only. Only on OneDrive Personal. + * + * @param Audio $val The audio + * + * @return DriveItem + */ + public function setAudio($val) + { + $this->_propDict["audio"] = $val; + return $this; + } + + /** + * Gets the bundle + * Bundle metadata, if the item is a bundle. Read-only. + * + * @return Bundle|null The bundle + */ + public function getBundle() + { + if (array_key_exists("bundle", $this->_propDict)) { + if (is_a($this->_propDict["bundle"], "\Microsoft\Graph\Model\Bundle") || is_null($this->_propDict["bundle"])) { + return $this->_propDict["bundle"]; + } else { + $this->_propDict["bundle"] = new Bundle($this->_propDict["bundle"]); + return $this->_propDict["bundle"]; + } + } + return null; + } + + /** + * Sets the bundle + * Bundle metadata, if the item is a bundle. Read-only. + * + * @param Bundle $val The bundle + * + * @return DriveItem + */ + public function setBundle($val) + { + $this->_propDict["bundle"] = $val; + return $this; + } + + /** + * Gets the content + * The content stream, if the item represents a file. + * + * @return \GuzzleHttp\Psr7\Stream|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content stream, if the item represents a file. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return DriveItem + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the cTag + * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * + * @return string|null The cTag + */ + public function getCTag() + { + if (array_key_exists("cTag", $this->_propDict)) { + return $this->_propDict["cTag"]; + } else { + return null; + } + } + + /** + * Sets the cTag + * An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. + * + * @param string $val The cTag + * + * @return DriveItem + */ + public function setCTag($val) + { + $this->_propDict["cTag"] = $val; + return $this; + } + + /** + * Gets the deleted + * Information about the deleted state of the item. Read-only. + * + * @return Deleted|null The deleted + */ + public function getDeleted() + { + if (array_key_exists("deleted", $this->_propDict)) { + if (is_a($this->_propDict["deleted"], "\Microsoft\Graph\Model\Deleted") || is_null($this->_propDict["deleted"])) { + return $this->_propDict["deleted"]; + } else { + $this->_propDict["deleted"] = new Deleted($this->_propDict["deleted"]); + return $this->_propDict["deleted"]; + } + } + return null; + } + + /** + * Sets the deleted + * Information about the deleted state of the item. Read-only. + * + * @param Deleted $val The deleted + * + * @return DriveItem + */ + public function setDeleted($val) + { + $this->_propDict["deleted"] = $val; + return $this; + } + + /** + * Gets the file + * File metadata, if the item is a file. Read-only. + * + * @return File|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\Microsoft\Graph\Model\File") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = new File($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * File metadata, if the item is a file. Read-only. + * + * @param File $val The file + * + * @return DriveItem + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the fileSystemInfo + * File system information on client. Read-write. + * + * @return FileSystemInfo|null The fileSystemInfo + */ + public function getFileSystemInfo() + { + if (array_key_exists("fileSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["fileSystemInfo"], "\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) { + return $this->_propDict["fileSystemInfo"]; + } else { + $this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]); + return $this->_propDict["fileSystemInfo"]; + } + } + return null; + } + + /** + * Sets the fileSystemInfo + * File system information on client. Read-write. + * + * @param FileSystemInfo $val The fileSystemInfo + * + * @return DriveItem + */ + public function setFileSystemInfo($val) + { + $this->_propDict["fileSystemInfo"] = $val; + return $this; + } + + /** + * Gets the folder + * Folder metadata, if the item is a folder. Read-only. + * + * @return Folder|null The folder + */ + public function getFolder() + { + if (array_key_exists("folder", $this->_propDict)) { + if (is_a($this->_propDict["folder"], "\Microsoft\Graph\Model\Folder") || is_null($this->_propDict["folder"])) { + return $this->_propDict["folder"]; + } else { + $this->_propDict["folder"] = new Folder($this->_propDict["folder"]); + return $this->_propDict["folder"]; + } + } + return null; + } + + /** + * Sets the folder + * Folder metadata, if the item is a folder. Read-only. + * + * @param Folder $val The folder + * + * @return DriveItem + */ + public function setFolder($val) + { + $this->_propDict["folder"] = $val; + return $this; + } + + /** + * Gets the image + * Image metadata, if the item is an image. Read-only. + * + * @return Image|null The image + */ + public function getImage() + { + if (array_key_exists("image", $this->_propDict)) { + if (is_a($this->_propDict["image"], "\Microsoft\Graph\Model\Image") || is_null($this->_propDict["image"])) { + return $this->_propDict["image"]; + } else { + $this->_propDict["image"] = new Image($this->_propDict["image"]); + return $this->_propDict["image"]; + } + } + return null; + } + + /** + * Sets the image + * Image metadata, if the item is an image. Read-only. + * + * @param Image $val The image + * + * @return DriveItem + */ + public function setImage($val) + { + $this->_propDict["image"] = $val; + return $this; + } + + /** + * Gets the location + * Location metadata, if the item has location data. Read-only. + * + * @return GeoCoordinates|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new GeoCoordinates($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Location metadata, if the item has location data. Read-only. + * + * @param GeoCoordinates $val The location + * + * @return DriveItem + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the malware + * Malware metadata, if the item was detected to contain malware. Read-only. + * + * @return Malware|null The malware + */ + public function getMalware() + { + if (array_key_exists("malware", $this->_propDict)) { + if (is_a($this->_propDict["malware"], "\Microsoft\Graph\Model\Malware") || is_null($this->_propDict["malware"])) { + return $this->_propDict["malware"]; + } else { + $this->_propDict["malware"] = new Malware($this->_propDict["malware"]); + return $this->_propDict["malware"]; + } + } + return null; + } + + /** + * Sets the malware + * Malware metadata, if the item was detected to contain malware. Read-only. + * + * @param Malware $val The malware + * + * @return DriveItem + */ + public function setMalware($val) + { + $this->_propDict["malware"] = $val; + return $this; + } + + /** + * Gets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @return Package|null The package + */ + public function getPackage() + { + if (array_key_exists("package", $this->_propDict)) { + if (is_a($this->_propDict["package"], "\Microsoft\Graph\Model\Package") || is_null($this->_propDict["package"])) { + return $this->_propDict["package"]; + } else { + $this->_propDict["package"] = new Package($this->_propDict["package"]); + return $this->_propDict["package"]; + } + } + return null; + } + + /** + * Sets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @param Package $val The package + * + * @return DriveItem + */ + public function setPackage($val) + { + $this->_propDict["package"] = $val; + return $this; + } + + /** + * Gets the pendingOperations + * If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only. + * + * @return PendingOperations|null The pendingOperations + */ + public function getPendingOperations() + { + if (array_key_exists("pendingOperations", $this->_propDict)) { + if (is_a($this->_propDict["pendingOperations"], "\Microsoft\Graph\Model\PendingOperations") || is_null($this->_propDict["pendingOperations"])) { + return $this->_propDict["pendingOperations"]; + } else { + $this->_propDict["pendingOperations"] = new PendingOperations($this->_propDict["pendingOperations"]); + return $this->_propDict["pendingOperations"]; + } + } + return null; + } + + /** + * Sets the pendingOperations + * If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only. + * + * @param PendingOperations $val The pendingOperations + * + * @return DriveItem + */ + public function setPendingOperations($val) + { + $this->_propDict["pendingOperations"] = $val; + return $this; + } + + /** + * Gets the photo + * Photo metadata, if the item is a photo. Read-only. + * + * @return Photo|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\Photo") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new Photo($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * Photo metadata, if the item is a photo. Read-only. + * + * @param Photo $val The photo + * + * @return DriveItem + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + /** + * Gets the publication + * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * + * @return PublicationFacet|null The publication + */ + public function getPublication() + { + if (array_key_exists("publication", $this->_propDict)) { + if (is_a($this->_propDict["publication"], "\Microsoft\Graph\Model\PublicationFacet") || is_null($this->_propDict["publication"])) { + return $this->_propDict["publication"]; + } else { + $this->_propDict["publication"] = new PublicationFacet($this->_propDict["publication"]); + return $this->_propDict["publication"]; + } + } + return null; + } + + /** + * Sets the publication + * Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. + * + * @param PublicationFacet $val The publication + * + * @return DriveItem + */ + public function setPublication($val) + { + $this->_propDict["publication"] = $val; + return $this; + } + + /** + * Gets the remoteItem + * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. + * + * @return RemoteItem|null The remoteItem + */ + public function getRemoteItem() + { + if (array_key_exists("remoteItem", $this->_propDict)) { + if (is_a($this->_propDict["remoteItem"], "\Microsoft\Graph\Model\RemoteItem") || is_null($this->_propDict["remoteItem"])) { + return $this->_propDict["remoteItem"]; + } else { + $this->_propDict["remoteItem"] = new RemoteItem($this->_propDict["remoteItem"]); + return $this->_propDict["remoteItem"]; + } + } + return null; + } + + /** + * Sets the remoteItem + * Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. + * + * @param RemoteItem $val The remoteItem + * + * @return DriveItem + */ + public function setRemoteItem($val) + { + $this->_propDict["remoteItem"] = $val; + return $this; + } + + /** + * Gets the root + * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. + * + * @return Root|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new Root($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. + * + * @param Root $val The root + * + * @return DriveItem + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + /** + * Gets the searchResult + * Search metadata, if the item is from a search result. Read-only. + * + * @return SearchResult|null The searchResult + */ + public function getSearchResult() + { + if (array_key_exists("searchResult", $this->_propDict)) { + if (is_a($this->_propDict["searchResult"], "\Microsoft\Graph\Model\SearchResult") || is_null($this->_propDict["searchResult"])) { + return $this->_propDict["searchResult"]; + } else { + $this->_propDict["searchResult"] = new SearchResult($this->_propDict["searchResult"]); + return $this->_propDict["searchResult"]; + } + } + return null; + } + + /** + * Sets the searchResult + * Search metadata, if the item is from a search result. Read-only. + * + * @param SearchResult $val The searchResult + * + * @return DriveItem + */ + public function setSearchResult($val) + { + $this->_propDict["searchResult"] = $val; + return $this; + } + + /** + * Gets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @return Shared|null The shared + */ + public function getShared() + { + if (array_key_exists("shared", $this->_propDict)) { + if (is_a($this->_propDict["shared"], "\Microsoft\Graph\Model\Shared") || is_null($this->_propDict["shared"])) { + return $this->_propDict["shared"]; + } else { + $this->_propDict["shared"] = new Shared($this->_propDict["shared"]); + return $this->_propDict["shared"]; + } + } + return null; + } + + /** + * Sets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @param Shared $val The shared + * + * @return DriveItem + */ + public function setShared($val) + { + $this->_propDict["shared"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return DriveItem + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the size + * Size of the item in bytes. Read-only. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the item in bytes. Read-only. + * + * @param int $val The size + * + * @return DriveItem + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @return SpecialFolder|null The specialFolder + */ + public function getSpecialFolder() + { + if (array_key_exists("specialFolder", $this->_propDict)) { + if (is_a($this->_propDict["specialFolder"], "\Microsoft\Graph\Model\SpecialFolder") || is_null($this->_propDict["specialFolder"])) { + return $this->_propDict["specialFolder"]; + } else { + $this->_propDict["specialFolder"] = new SpecialFolder($this->_propDict["specialFolder"]); + return $this->_propDict["specialFolder"]; + } + } + return null; + } + + /** + * Sets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @param SpecialFolder $val The specialFolder + * + * @return DriveItem + */ + public function setSpecialFolder($val) + { + $this->_propDict["specialFolder"] = $val; + return $this; + } + + /** + * Gets the video + * Video metadata, if the item is a video. Read-only. + * + * @return Video|null The video + */ + public function getVideo() + { + if (array_key_exists("video", $this->_propDict)) { + if (is_a($this->_propDict["video"], "\Microsoft\Graph\Model\Video") || is_null($this->_propDict["video"])) { + return $this->_propDict["video"]; + } else { + $this->_propDict["video"] = new Video($this->_propDict["video"]); + return $this->_propDict["video"]; + } + } + return null; + } + + /** + * Sets the video + * Video metadata, if the item is a video. Read-only. + * + * @param Video $val The video + * + * @return DriveItem + */ + public function setVideo($val) + { + $this->_propDict["video"] = $val; + return $this; + } + + /** + * Gets the webDavUrl + * WebDAV compatible URL for the item. + * + * @return string|null The webDavUrl + */ + public function getWebDavUrl() + { + if (array_key_exists("webDavUrl", $this->_propDict)) { + return $this->_propDict["webDavUrl"]; + } else { + return null; + } + } + + /** + * Sets the webDavUrl + * WebDAV compatible URL for the item. + * + * @param string $val The webDavUrl + * + * @return DriveItem + */ + public function setWebDavUrl($val) + { + $this->_propDict["webDavUrl"] = $val; + return $this; + } + + /** + * Gets the workbook + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * + * @return Workbook|null The workbook + */ + public function getWorkbook() + { + if (array_key_exists("workbook", $this->_propDict)) { + if (is_a($this->_propDict["workbook"], "\Microsoft\Graph\Model\Workbook") || is_null($this->_propDict["workbook"])) { + return $this->_propDict["workbook"]; + } else { + $this->_propDict["workbook"] = new Workbook($this->_propDict["workbook"]); + return $this->_propDict["workbook"]; + } + } + return null; + } + + /** + * Sets the workbook + * For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. + * + * @param Workbook $val The workbook + * + * @return DriveItem + */ + public function setWorkbook($val) + { + $this->_propDict["workbook"] = $val; + return $this; + } + + /** + * Gets the analytics + * Analytics about the view activities that took place on this item. + * + * @return ItemAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * Analytics about the view activities that took place on this item. + * + * @param ItemAnalytics $val The analytics + * + * @return DriveItem + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + + /** + * Gets the children + * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. + * + * @param DriveItem[] $val The children + * + * @return DriveItem + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the listItem + * For drives in SharePoint, the associated document library list item. Read-only. Nullable. + * + * @return ListItem|null The listItem + */ + public function getListItem() + { + if (array_key_exists("listItem", $this->_propDict)) { + if (is_a($this->_propDict["listItem"], "\Microsoft\Graph\Model\ListItem") || is_null($this->_propDict["listItem"])) { + return $this->_propDict["listItem"]; + } else { + $this->_propDict["listItem"] = new ListItem($this->_propDict["listItem"]); + return $this->_propDict["listItem"]; + } + } + return null; + } + + /** + * Sets the listItem + * For drives in SharePoint, the associated document library list item. Read-only. Nullable. + * + * @param ListItem $val The listItem + * + * @return DriveItem + */ + public function setListItem($val) + { + $this->_propDict["listItem"] = $val; + return $this; + } + + + /** + * Gets the permissions + * The set of permissions for the item. Read-only. Nullable. + * + * @return array|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * The set of permissions for the item. Read-only. Nullable. + * + * @param Permission[] $val The permissions + * + * @return DriveItem + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + + /** + * Gets the subscriptions + * The set of subscriptions on the item. Only supported on the root of a drive. + * + * @return array|null The subscriptions + */ + public function getSubscriptions() + { + if (array_key_exists("subscriptions", $this->_propDict)) { + return $this->_propDict["subscriptions"]; + } else { + return null; + } + } + + /** + * Sets the subscriptions + * The set of subscriptions on the item. Only supported on the root of a drive. + * + * @param Subscription[] $val The subscriptions + * + * @return DriveItem + */ + public function setSubscriptions($val) + { + $this->_propDict["subscriptions"] = $val; + return $this; + } + + + /** + * Gets the thumbnails + * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * + * @return array|null The thumbnails + */ + public function getThumbnails() + { + if (array_key_exists("thumbnails", $this->_propDict)) { + return $this->_propDict["thumbnails"]; + } else { + return null; + } + } + + /** + * Sets the thumbnails + * Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + * + * @param ThumbnailSet[] $val The thumbnails + * + * @return DriveItem + */ + public function setThumbnails($val) + { + $this->_propDict["thumbnails"] = $val; + return $this; + } + + + /** + * Gets the versions + * The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. + * + * @return array|null The versions + */ + public function getVersions() + { + if (array_key_exists("versions", $this->_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. + * + * @param DriveItemVersion[] $val The versions + * + * @return DriveItem + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DriveItemUploadableProperties.php b/vendor/microsoft/microsoft-graph/src/Model/DriveItemUploadableProperties.php new file mode 100644 index 0000000..0d22f70 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DriveItemUploadableProperties.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Provides a user-visible description of the item. Read-write. Only on OneDrive Personal. + * + * @param string $val The value of the description + * + * @return DriveItemUploadableProperties + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the fileSize + * Provides an expected file size to perform a quota check prior to upload. Only on OneDrive Personal. + * + * @return int|null The fileSize + */ + public function getFileSize() + { + if (array_key_exists("fileSize", $this->_propDict)) { + return $this->_propDict["fileSize"]; + } else { + return null; + } + } + + /** + * Sets the fileSize + * Provides an expected file size to perform a quota check prior to upload. Only on OneDrive Personal. + * + * @param int $val The value of the fileSize + * + * @return DriveItemUploadableProperties + */ + public function setFileSize($val) + { + $this->_propDict["fileSize"] = $val; + return $this; + } + + /** + * Gets the fileSystemInfo + * File system information on client. Read-write. + * + * @return FileSystemInfo|null The fileSystemInfo + */ + public function getFileSystemInfo() + { + if (array_key_exists("fileSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["fileSystemInfo"], "\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) { + return $this->_propDict["fileSystemInfo"]; + } else { + $this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]); + return $this->_propDict["fileSystemInfo"]; + } + } + return null; + } + + /** + * Sets the fileSystemInfo + * File system information on client. Read-write. + * + * @param FileSystemInfo $val The value to assign to the fileSystemInfo + * + * @return DriveItemUploadableProperties The DriveItemUploadableProperties + */ + public function setFileSystemInfo($val) + { + $this->_propDict["fileSystemInfo"] = $val; + return $this; + } + /** + * Gets the name + * The name of the item (filename and extension). Read-write. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item (filename and extension). Read-write. + * + * @param string $val The value of the name + * + * @return DriveItemUploadableProperties + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DriveItemVersion.php b/vendor/microsoft/microsoft-graph/src/Model/DriveItemVersion.php new file mode 100644 index 0000000..106b2b5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DriveItemVersion.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return DriveItemVersion + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the size + * Indicates the size of the content stream for this version of the item. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Indicates the size of the content stream for this version of the item. + * + * @param int $val The size + * + * @return DriveItemVersion + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DriveRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/DriveRecipient.php new file mode 100644 index 0000000..be61b70 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/DriveRecipient.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["alias"]; + } else { + return null; + } + } + + /** + * Sets the alias + * The alias of the domain object, for cases where an email address is unavailable (e.g. security groups). + * + * @param string $val The value of the alias + * + * @return DriveRecipient + */ + public function setAlias($val) + { + $this->_propDict["alias"] = $val; + return $this; + } + /** + * Gets the email + * The email address for the recipient, if the recipient has an associated email address. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address for the recipient, if the recipient has an associated email address. + * + * @param string $val The value of the email + * + * @return DriveRecipient + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the objectId + * The unique identifier for the recipient in the directory. + * + * @return string|null The objectId + */ + public function getObjectId() + { + if (array_key_exists("objectId", $this->_propDict)) { + return $this->_propDict["objectId"]; + } else { + return null; + } + } + + /** + * Sets the objectId + * The unique identifier for the recipient in the directory. + * + * @param string $val The value of the objectId + * + * @return DriveRecipient + */ + public function setObjectId($val) + { + $this->_propDict["objectId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EBookInstallSummary.php b/vendor/microsoft/microsoft-graph/src/Model/EBookInstallSummary.php new file mode 100644 index 0000000..1469022 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EBookInstallSummary.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Number of Devices that have failed to install this book. + * + * @param int $val The failedDeviceCount + * + * @return EBookInstallSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the failedUserCount + * Number of Users that have 1 or more device that failed to install this book. + * + * @return int|null The failedUserCount + */ + public function getFailedUserCount() + { + if (array_key_exists("failedUserCount", $this->_propDict)) { + return $this->_propDict["failedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the failedUserCount + * Number of Users that have 1 or more device that failed to install this book. + * + * @param int $val The failedUserCount + * + * @return EBookInstallSummary + */ + public function setFailedUserCount($val) + { + $this->_propDict["failedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the installedDeviceCount + * Number of Devices that have successfully installed this book. + * + * @return int|null The installedDeviceCount + */ + public function getInstalledDeviceCount() + { + if (array_key_exists("installedDeviceCount", $this->_propDict)) { + return $this->_propDict["installedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the installedDeviceCount + * Number of Devices that have successfully installed this book. + * + * @param int $val The installedDeviceCount + * + * @return EBookInstallSummary + */ + public function setInstalledDeviceCount($val) + { + $this->_propDict["installedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the installedUserCount + * Number of Users whose devices have all succeeded to install this book. + * + * @return int|null The installedUserCount + */ + public function getInstalledUserCount() + { + if (array_key_exists("installedUserCount", $this->_propDict)) { + return $this->_propDict["installedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the installedUserCount + * Number of Users whose devices have all succeeded to install this book. + * + * @param int $val The installedUserCount + * + * @return EBookInstallSummary + */ + public function setInstalledUserCount($val) + { + $this->_propDict["installedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledDeviceCount + * Number of Devices that does not have this book installed. + * + * @return int|null The notInstalledDeviceCount + */ + public function getNotInstalledDeviceCount() + { + if (array_key_exists("notInstalledDeviceCount", $this->_propDict)) { + return $this->_propDict["notInstalledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledDeviceCount + * Number of Devices that does not have this book installed. + * + * @param int $val The notInstalledDeviceCount + * + * @return EBookInstallSummary + */ + public function setNotInstalledDeviceCount($val) + { + $this->_propDict["notInstalledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledUserCount + * Number of Users that did not install this book. + * + * @return int|null The notInstalledUserCount + */ + public function getNotInstalledUserCount() + { + if (array_key_exists("notInstalledUserCount", $this->_propDict)) { + return $this->_propDict["notInstalledUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledUserCount + * Number of Users that did not install this book. + * + * @param int $val The notInstalledUserCount + * + * @return EBookInstallSummary + */ + public function setNotInstalledUserCount($val) + { + $this->_propDict["notInstalledUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EdgeCookiePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/EdgeCookiePolicy.php new file mode 100644 index 0000000..9db502f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EdgeCookiePolicy.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.edgeSearchEngine"); + } + + + /** + * Gets the edgeSearchEngineType + * Allows IT admins to set a predefined default search engine for MDM-Controlled devices. Possible values are: default, bing. + * + * @return EdgeSearchEngineType|null The edgeSearchEngineType + */ + public function getEdgeSearchEngineType() + { + if (array_key_exists("edgeSearchEngineType", $this->_propDict)) { + if (is_a($this->_propDict["edgeSearchEngineType"], "\Microsoft\Graph\Model\EdgeSearchEngineType") || is_null($this->_propDict["edgeSearchEngineType"])) { + return $this->_propDict["edgeSearchEngineType"]; + } else { + $this->_propDict["edgeSearchEngineType"] = new EdgeSearchEngineType($this->_propDict["edgeSearchEngineType"]); + return $this->_propDict["edgeSearchEngineType"]; + } + } + return null; + } + + /** + * Sets the edgeSearchEngineType + * Allows IT admins to set a predefined default search engine for MDM-Controlled devices. Possible values are: default, bing. + * + * @param EdgeSearchEngineType $val The value to assign to the edgeSearchEngineType + * + * @return EdgeSearchEngine The EdgeSearchEngine + */ + public function setEdgeSearchEngineType($val) + { + $this->_propDict["edgeSearchEngineType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineBase.php b/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineBase.php new file mode 100644 index 0000000..5e1f75f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineBase.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.edgeSearchEngineCustom"); + } + + /** + * Gets the edgeSearchEngineOpenSearchXmlUrl + * Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. + * + * @return string|null The edgeSearchEngineOpenSearchXmlUrl + */ + public function getEdgeSearchEngineOpenSearchXmlUrl() + { + if (array_key_exists("edgeSearchEngineOpenSearchXmlUrl", $this->_propDict)) { + return $this->_propDict["edgeSearchEngineOpenSearchXmlUrl"]; + } else { + return null; + } + } + + /** + * Sets the edgeSearchEngineOpenSearchXmlUrl + * Points to a https link containing the OpenSearch xml file that contains, at minimum, the short name and the URL to the search Engine. + * + * @param string $val The value of the edgeSearchEngineOpenSearchXmlUrl + * + * @return EdgeSearchEngineCustom + */ + public function setEdgeSearchEngineOpenSearchXmlUrl($val) + { + $this->_propDict["edgeSearchEngineOpenSearchXmlUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineType.php b/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineType.php new file mode 100644 index 0000000..d6dc983 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["license"]; + } else { + return null; + } + } + + /** + * Sets the license + * Edition Upgrade License File Content. + * + * @param string $val The license + * + * @return EditionUpgradeConfiguration + */ + public function setLicense($val) + { + $this->_propDict["license"] = $val; + return $this; + } + + /** + * Gets the licenseType + * Edition Upgrade License Type. Possible values are: productKey, licenseFile, notConfigured. + * + * @return EditionUpgradeLicenseType|null The licenseType + */ + public function getLicenseType() + { + if (array_key_exists("licenseType", $this->_propDict)) { + if (is_a($this->_propDict["licenseType"], "\Microsoft\Graph\Model\EditionUpgradeLicenseType") || is_null($this->_propDict["licenseType"])) { + return $this->_propDict["licenseType"]; + } else { + $this->_propDict["licenseType"] = new EditionUpgradeLicenseType($this->_propDict["licenseType"]); + return $this->_propDict["licenseType"]; + } + } + return null; + } + + /** + * Sets the licenseType + * Edition Upgrade License Type. Possible values are: productKey, licenseFile, notConfigured. + * + * @param EditionUpgradeLicenseType $val The licenseType + * + * @return EditionUpgradeConfiguration + */ + public function setLicenseType($val) + { + $this->_propDict["licenseType"] = $val; + return $this; + } + + /** + * Gets the productKey + * Edition Upgrade Product Key. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Edition Upgrade Product Key. + * + * @param string $val The productKey + * + * @return EditionUpgradeConfiguration + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the targetEdition + * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN, notConfigured, windows10Home, windows10HomeChina, windows10HomeN, windows10HomeSingleLanguage, windows10Mobile, windows10IoTCore, windows10IoTCoreCommercial. + * + * @return Windows10EditionType|null The targetEdition + */ + public function getTargetEdition() + { + if (array_key_exists("targetEdition", $this->_propDict)) { + if (is_a($this->_propDict["targetEdition"], "\Microsoft\Graph\Model\Windows10EditionType") || is_null($this->_propDict["targetEdition"])) { + return $this->_propDict["targetEdition"]; + } else { + $this->_propDict["targetEdition"] = new Windows10EditionType($this->_propDict["targetEdition"]); + return $this->_propDict["targetEdition"]; + } + } + return null; + } + + /** + * Sets the targetEdition + * Edition Upgrade Target Edition. Possible values are: windows10Enterprise, windows10EnterpriseN, windows10Education, windows10EducationN, windows10MobileEnterprise, windows10HolographicEnterprise, windows10Professional, windows10ProfessionalN, windows10ProfessionalEducation, windows10ProfessionalEducationN, windows10ProfessionalWorkstation, windows10ProfessionalWorkstationN, notConfigured, windows10Home, windows10HomeChina, windows10HomeN, windows10HomeSingleLanguage, windows10Mobile, windows10IoTCore, windows10IoTCoreCommercial. + * + * @param Windows10EditionType $val The targetEdition + * + * @return EditionUpgradeConfiguration + */ + public function setTargetEdition($val) + { + $this->_propDict["targetEdition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EditionUpgradeLicenseType.php b/vendor/microsoft/microsoft-graph/src/Model/EditionUpgradeLicenseType.php new file mode 100644 index 0000000..2c7a1bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EditionUpgradeLicenseType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["addedStudentAction"], "\Microsoft\Graph\Model\EducationAddedStudentAction") || is_null($this->_propDict["addedStudentAction"])) { + return $this->_propDict["addedStudentAction"]; + } else { + $this->_propDict["addedStudentAction"] = new EducationAddedStudentAction($this->_propDict["addedStudentAction"]); + return $this->_propDict["addedStudentAction"]; + } + } + return null; + } + + /** + * Sets the addedStudentAction + * Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none value. Currently supports only two values: none or assignIfOpen. + * + * @param EducationAddedStudentAction $val The addedStudentAction + * + * @return EducationAssignment + */ + public function setAddedStudentAction($val) + { + $this->_propDict["addedStudentAction"] = $val; + return $this; + } + + /** + * Gets the addToCalendarAction + * Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @return EducationAddToCalendarOptions|null The addToCalendarAction + */ + public function getAddToCalendarAction() + { + if (array_key_exists("addToCalendarAction", $this->_propDict)) { + if (is_a($this->_propDict["addToCalendarAction"], "\Microsoft\Graph\Model\EducationAddToCalendarOptions") || is_null($this->_propDict["addToCalendarAction"])) { + return $this->_propDict["addToCalendarAction"]; + } else { + $this->_propDict["addToCalendarAction"] = new EducationAddToCalendarOptions($this->_propDict["addToCalendarAction"]); + return $this->_propDict["addToCalendarAction"]; + } + } + return null; + } + + /** + * Sets the addToCalendarAction + * Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @param EducationAddToCalendarOptions $val The addToCalendarAction + * + * @return EducationAssignment + */ + public function setAddToCalendarAction($val) + { + $this->_propDict["addToCalendarAction"] = $val; + return $this; + } + + /** + * Gets the allowLateSubmissions + * Identifies whether students can submit after the due date. If this property is not specified during create, it defaults to true. + * + * @return bool|null The allowLateSubmissions + */ + public function getAllowLateSubmissions() + { + if (array_key_exists("allowLateSubmissions", $this->_propDict)) { + return $this->_propDict["allowLateSubmissions"]; + } else { + return null; + } + } + + /** + * Sets the allowLateSubmissions + * Identifies whether students can submit after the due date. If this property is not specified during create, it defaults to true. + * + * @param bool $val The allowLateSubmissions + * + * @return EducationAssignment + */ + public function setAllowLateSubmissions($val) + { + $this->_propDict["allowLateSubmissions"] = boolval($val); + return $this; + } + + /** + * Gets the allowStudentsToAddResourcesToSubmission + * Identifies whether students can add their own resources to a submission or if they can only modify resources added by the teacher. + * + * @return bool|null The allowStudentsToAddResourcesToSubmission + */ + public function getAllowStudentsToAddResourcesToSubmission() + { + if (array_key_exists("allowStudentsToAddResourcesToSubmission", $this->_propDict)) { + return $this->_propDict["allowStudentsToAddResourcesToSubmission"]; + } else { + return null; + } + } + + /** + * Sets the allowStudentsToAddResourcesToSubmission + * Identifies whether students can add their own resources to a submission or if they can only modify resources added by the teacher. + * + * @param bool $val The allowStudentsToAddResourcesToSubmission + * + * @return EducationAssignment + */ + public function setAllowStudentsToAddResourcesToSubmission($val) + { + $this->_propDict["allowStudentsToAddResourcesToSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the assignDateTime + * The date when the assignment should become active. If in the future, the assignment is not shown to the student until this date. 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 assignDateTime + */ + public function getAssignDateTime() + { + if (array_key_exists("assignDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignDateTime"], "\DateTime") || is_null($this->_propDict["assignDateTime"])) { + return $this->_propDict["assignDateTime"]; + } else { + $this->_propDict["assignDateTime"] = new \DateTime($this->_propDict["assignDateTime"]); + return $this->_propDict["assignDateTime"]; + } + } + return null; + } + + /** + * Sets the assignDateTime + * The date when the assignment should become active. If in the future, the assignment is not shown to the student until this date. 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 assignDateTime + * + * @return EducationAssignment + */ + public function setAssignDateTime($val) + { + $this->_propDict["assignDateTime"] = $val; + return $this; + } + + /** + * Gets the assignedDateTime + * The moment that the assignment was published to students and the assignment shows up on the students timeline. 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 assignedDateTime + */ + public function getAssignedDateTime() + { + if (array_key_exists("assignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * The moment that the assignment was published to students and the assignment shows up on the students timeline. 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 assignedDateTime + * + * @return EducationAssignment + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + + /** + * Gets the assignTo + * Which users, or whole class should receive a submission object once the assignment is published. + * + * @return EducationAssignmentRecipient|null The assignTo + */ + public function getAssignTo() + { + if (array_key_exists("assignTo", $this->_propDict)) { + if (is_a($this->_propDict["assignTo"], "\Microsoft\Graph\Model\EducationAssignmentRecipient") || is_null($this->_propDict["assignTo"])) { + return $this->_propDict["assignTo"]; + } else { + $this->_propDict["assignTo"] = new EducationAssignmentRecipient($this->_propDict["assignTo"]); + return $this->_propDict["assignTo"]; + } + } + return null; + } + + /** + * Sets the assignTo + * Which users, or whole class should receive a submission object once the assignment is published. + * + * @param EducationAssignmentRecipient $val The assignTo + * + * @return EducationAssignment + */ + public function setAssignTo($val) + { + $this->_propDict["assignTo"] = $val; + return $this; + } + + /** + * Gets the classId + * Class which this assignment belongs. + * + * @return string|null The classId + */ + public function getClassId() + { + if (array_key_exists("classId", $this->_propDict)) { + return $this->_propDict["classId"]; + } else { + return null; + } + } + + /** + * Sets the classId + * Class which this assignment belongs. + * + * @param string $val The classId + * + * @return EducationAssignment + */ + public function setClassId($val) + { + $this->_propDict["classId"] = $val; + return $this; + } + + /** + * Gets the closeDateTime + * Date when the assignment will be closed for submissions. This is an optional field that can be null if the assignment does not allowLateSubmissions or when the closeDateTime is the same as the dueDateTime. But if specified, then the closeDateTime must be greater than or equal to the dueDateTime. 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 closeDateTime + */ + public function getCloseDateTime() + { + if (array_key_exists("closeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closeDateTime"], "\DateTime") || is_null($this->_propDict["closeDateTime"])) { + return $this->_propDict["closeDateTime"]; + } else { + $this->_propDict["closeDateTime"] = new \DateTime($this->_propDict["closeDateTime"]); + return $this->_propDict["closeDateTime"]; + } + } + return null; + } + + /** + * Sets the closeDateTime + * Date when the assignment will be closed for submissions. This is an optional field that can be null if the assignment does not allowLateSubmissions or when the closeDateTime is the same as the dueDateTime. But if specified, then the closeDateTime must be greater than or equal to the dueDateTime. 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 closeDateTime + * + * @return EducationAssignment + */ + public function setCloseDateTime($val) + { + $this->_propDict["closeDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Who created the assignment. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Who created the assignment. + * + * @param IdentitySet $val The createdBy + * + * @return EducationAssignment + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Moment when the assignment was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Moment when the assignment was created. 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 createdDateTime + * + * @return EducationAssignment + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the assignment. + * + * @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 + * Name of the assignment. + * + * @param string $val The displayName + * + * @return EducationAssignment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * Date when the students assignment is due. 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 dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * Date when the students assignment is due. 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 dueDateTime + * + * @return EducationAssignment + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the grading + * How the assignment will be graded. + * + * @return EducationAssignmentGradeType|null The grading + */ + public function getGrading() + { + if (array_key_exists("grading", $this->_propDict)) { + if (is_a($this->_propDict["grading"], "\Microsoft\Graph\Model\EducationAssignmentGradeType") || is_null($this->_propDict["grading"])) { + return $this->_propDict["grading"]; + } else { + $this->_propDict["grading"] = new EducationAssignmentGradeType($this->_propDict["grading"]); + return $this->_propDict["grading"]; + } + } + return null; + } + + /** + * Sets the grading + * How the assignment will be graded. + * + * @param EducationAssignmentGradeType $val The grading + * + * @return EducationAssignment + */ + public function setGrading($val) + { + $this->_propDict["grading"] = $val; + return $this; + } + + /** + * Gets the instructions + * Instructions for the assignment. This along with the display name tell the student what to do. + * + * @return EducationItemBody|null The instructions + */ + public function getInstructions() + { + if (array_key_exists("instructions", $this->_propDict)) { + if (is_a($this->_propDict["instructions"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["instructions"])) { + return $this->_propDict["instructions"]; + } else { + $this->_propDict["instructions"] = new EducationItemBody($this->_propDict["instructions"]); + return $this->_propDict["instructions"]; + } + } + return null; + } + + /** + * Sets the instructions + * Instructions for the assignment. This along with the display name tell the student what to do. + * + * @param EducationItemBody $val The instructions + * + * @return EducationAssignment + */ + public function setInstructions($val) + { + $this->_propDict["instructions"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Who last modified the assignment. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Who last modified the assignment. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationAssignment + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment when the assignment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment when the assignment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationAssignment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the notificationChannelUrl + * Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl is not allowed after the assignment has been published. + * + * @return string|null The notificationChannelUrl + */ + public function getNotificationChannelUrl() + { + if (array_key_exists("notificationChannelUrl", $this->_propDict)) { + return $this->_propDict["notificationChannelUrl"]; + } else { + return null; + } + } + + /** + * Sets the notificationChannelUrl + * Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl is not allowed after the assignment has been published. + * + * @param string $val The notificationChannelUrl + * + * @return EducationAssignment + */ + public function setNotificationChannelUrl($val) + { + $this->_propDict["notificationChannelUrl"] = $val; + return $this; + } + + /** + * Gets the resourcesFolderUrl + * Folder URL where all the file resources for this assignment are stored. + * + * @return string|null The resourcesFolderUrl + */ + public function getResourcesFolderUrl() + { + if (array_key_exists("resourcesFolderUrl", $this->_propDict)) { + return $this->_propDict["resourcesFolderUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourcesFolderUrl + * Folder URL where all the file resources for this assignment are stored. + * + * @param string $val The resourcesFolderUrl + * + * @return EducationAssignment + */ + public function setResourcesFolderUrl($val) + { + $this->_propDict["resourcesFolderUrl"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned. + * + * @return EducationAssignmentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\EducationAssignmentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationAssignmentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned. + * + * @param EducationAssignmentStatus $val The status + * + * @return EducationAssignment + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the webUrl + * The deep link URL for the given assignment. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The deep link URL for the given assignment. + * + * @param string $val The webUrl + * + * @return EducationAssignment + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the categories + * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * When set, enables users to easily find assignments of a given type. Read-only. Nullable. + * + * @param EducationCategory[] $val The categories + * + * @return EducationAssignment + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + + /** + * Gets the resources + * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. + * + * @param EducationAssignmentResource[] $val The resources + * + * @return EducationAssignment + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + /** + * Gets the rubric + * When set, the grading rubric attached to this assignment. + * + * @return EducationRubric|null The rubric + */ + public function getRubric() + { + if (array_key_exists("rubric", $this->_propDict)) { + if (is_a($this->_propDict["rubric"], "\Microsoft\Graph\Model\EducationRubric") || is_null($this->_propDict["rubric"])) { + return $this->_propDict["rubric"]; + } else { + $this->_propDict["rubric"] = new EducationRubric($this->_propDict["rubric"]); + return $this->_propDict["rubric"]; + } + } + return null; + } + + /** + * Sets the rubric + * When set, the grading rubric attached to this assignment. + * + * @param EducationRubric $val The rubric + * + * @return EducationAssignment + */ + public function setRubric($val) + { + $this->_propDict["rubric"] = $val; + return $this; + } + + + /** + * Gets the submissions + * Once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. + * + * @return array|null The submissions + */ + public function getSubmissions() + { + if (array_key_exists("submissions", $this->_propDict)) { + return $this->_propDict["submissions"]; + } else { + return null; + } + } + + /** + * Sets the submissions + * Once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. + * + * @param EducationSubmission[] $val The submissions + * + * @return EducationAssignment + */ + public function setSubmissions($val) + { + $this->_propDict["submissions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentClassRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentClassRecipient.php new file mode 100644 index 0000000..6f6c684 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentClassRecipient.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.educationAssignmentClassRecipient"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentDefaults.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentDefaults.php new file mode 100644 index 0000000..740f109 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentDefaults.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["addedStudentAction"], "\Microsoft\Graph\Model\EducationAddedStudentAction") || is_null($this->_propDict["addedStudentAction"])) { + return $this->_propDict["addedStudentAction"]; + } else { + $this->_propDict["addedStudentAction"] = new EducationAddedStudentAction($this->_propDict["addedStudentAction"]); + return $this->_propDict["addedStudentAction"]; + } + } + return null; + } + + /** + * Sets the addedStudentAction + * Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen. + * + * @param EducationAddedStudentAction $val The addedStudentAction + * + * @return EducationAssignmentDefaults + */ + public function setAddedStudentAction($val) + { + $this->_propDict["addedStudentAction"] = $val; + return $this; + } + + /** + * Gets the addToCalendarAction + * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @return EducationAddToCalendarOptions|null The addToCalendarAction + */ + public function getAddToCalendarAction() + { + if (array_key_exists("addToCalendarAction", $this->_propDict)) { + if (is_a($this->_propDict["addToCalendarAction"], "\Microsoft\Graph\Model\EducationAddToCalendarOptions") || is_null($this->_propDict["addToCalendarAction"])) { + return $this->_propDict["addToCalendarAction"]; + } else { + $this->_propDict["addToCalendarAction"] = new EducationAddToCalendarOptions($this->_propDict["addToCalendarAction"]); + return $this->_propDict["addToCalendarAction"]; + } + } + return null; + } + + /** + * Sets the addToCalendarAction + * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * + * @param EducationAddToCalendarOptions $val The addToCalendarAction + * + * @return EducationAssignmentDefaults + */ + public function setAddToCalendarAction($val) + { + $this->_propDict["addToCalendarAction"] = $val; + return $this; + } + + /** + * Gets the dueTime + * Class-level default value for due time field. Default value is 23:59:00. + * + * @return TimeOfDay|null The dueTime + */ + public function getDueTime() + { + if (array_key_exists("dueTime", $this->_propDict)) { + if (is_a($this->_propDict["dueTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["dueTime"])) { + return $this->_propDict["dueTime"]; + } else { + $this->_propDict["dueTime"] = new TimeOfDay($this->_propDict["dueTime"]); + return $this->_propDict["dueTime"]; + } + } + return null; + } + + /** + * Sets the dueTime + * Class-level default value for due time field. Default value is 23:59:00. + * + * @param TimeOfDay $val The dueTime + * + * @return EducationAssignmentDefaults + */ + public function setDueTime($val) + { + $this->_propDict["dueTime"] = $val; + return $this; + } + + /** + * Gets the notificationChannelUrl + * Default Teams channel to which notifications will be sent. Default value is null. + * + * @return string|null The notificationChannelUrl + */ + public function getNotificationChannelUrl() + { + if (array_key_exists("notificationChannelUrl", $this->_propDict)) { + return $this->_propDict["notificationChannelUrl"]; + } else { + return null; + } + } + + /** + * Sets the notificationChannelUrl + * Default Teams channel to which notifications will be sent. Default value is null. + * + * @param string $val The notificationChannelUrl + * + * @return EducationAssignmentDefaults + */ + public function setNotificationChannelUrl($val) + { + $this->_propDict["notificationChannelUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentGrade.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentGrade.php new file mode 100644 index 0000000..679b443 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentGrade.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["gradedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["gradedBy"])) { + return $this->_propDict["gradedBy"]; + } else { + $this->_propDict["gradedBy"] = new IdentitySet($this->_propDict["gradedBy"]); + return $this->_propDict["gradedBy"]; + } + } + return null; + } + + /** + * Sets the gradedBy + * User who did the grading. + * + * @param IdentitySet $val The value to assign to the gradedBy + * + * @return EducationAssignmentGrade The EducationAssignmentGrade + */ + public function setGradedBy($val) + { + $this->_propDict["gradedBy"] = $val; + return $this; + } + + /** + * Gets the gradedDateTime + * Moment in time when the grade was applied to this submission object. 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 gradedDateTime + */ + public function getGradedDateTime() + { + if (array_key_exists("gradedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["gradedDateTime"], "\DateTime") || is_null($this->_propDict["gradedDateTime"])) { + return $this->_propDict["gradedDateTime"]; + } else { + $this->_propDict["gradedDateTime"] = new \DateTime($this->_propDict["gradedDateTime"]); + return $this->_propDict["gradedDateTime"]; + } + } + return null; + } + + /** + * Sets the gradedDateTime + * Moment in time when the grade was applied to this submission object. 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 gradedDateTime + * + * @return EducationAssignmentGrade The EducationAssignmentGrade + */ + public function setGradedDateTime($val) + { + $this->_propDict["gradedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentGradeType.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentGradeType.php new file mode 100644 index 0000000..c2bf323 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentGradeType.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.educationAssignmentGroupRecipient"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentIndividualRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentIndividualRecipient.php new file mode 100644 index 0000000..17cae3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentIndividualRecipient.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationAssignmentIndividualRecipient"); + } + + /** + * Gets the recipients + * A collection of ids of the recipients. + * + * @return string|null The recipients + */ + public function getRecipients() + { + if (array_key_exists("recipients", $this->_propDict)) { + return $this->_propDict["recipients"]; + } else { + return null; + } + } + + /** + * Sets the recipients + * A collection of ids of the recipients. + * + * @param string $val The value of the recipients + * + * @return EducationAssignmentIndividualRecipient + */ + public function setRecipients($val) + { + $this->_propDict["recipients"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentPointsGrade.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentPointsGrade.php new file mode 100644 index 0000000..25e1d83 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentPointsGrade.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["points"]; + } else { + return null; + } + } + + /** + * Sets the points + * Number of points a teacher is giving this submission object. + * + * @param float $val The value of the points + * + * @return EducationAssignmentPointsGrade + */ + public function setPoints($val) + { + $this->_propDict["points"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentPointsGradeType.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentPointsGradeType.php new file mode 100644 index 0000000..54b9456 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentPointsGradeType.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationAssignmentPointsGradeType"); + } + + /** + * Gets the maxPoints + * Max points possible for this assignment. + * + * @return float|null The maxPoints + */ + public function getMaxPoints() + { + if (array_key_exists("maxPoints", $this->_propDict)) { + return $this->_propDict["maxPoints"]; + } else { + return null; + } + } + + /** + * Sets the maxPoints + * Max points possible for this assignment. + * + * @param float $val The value of the maxPoints + * + * @return EducationAssignmentPointsGradeType + */ + public function setMaxPoints($val) + { + $this->_propDict["maxPoints"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentRecipient.php new file mode 100644 index 0000000..8dd8ee4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentRecipient.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["distributeForStudentWork"]; + } else { + return null; + } + } + + /** + * Sets the distributeForStudentWork + * Indicates whether this resource should be copied to each student submission for modification and submission. Required + * + * @param bool $val The distributeForStudentWork + * + * @return EducationAssignmentResource + */ + public function setDistributeForStudentWork($val) + { + $this->_propDict["distributeForStudentWork"] = boolval($val); + return $this; + } + + /** + * Gets the resource + * Resource object that has been associated with this assignment. + * + * @return EducationResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Resource object that has been associated with this assignment. + * + * @param EducationResource $val The resource + * + * @return EducationAssignmentResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentSettings.php new file mode 100644 index 0000000..14f670e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentSettings.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["submissionAnimationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the submissionAnimationDisabled + * Indicates whether turn-in celebration animation will be shown. A value of true indicates that the animation will not be shown. Default value is false. + * + * @param bool $val The submissionAnimationDisabled + * + * @return EducationAssignmentSettings + */ + public function setSubmissionAnimationDisabled($val) + { + $this->_propDict["submissionAnimationDisabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentStatus.php b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentStatus.php new file mode 100644 index 0000000..1812ea3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationAssignmentStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Unique identifier for the category. + * + * @param string $val The displayName + * + * @return EducationCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationClass.php b/vendor/microsoft/microsoft-graph/src/Model/EducationClass.php new file mode 100644 index 0000000..f342c35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationClass.php @@ -0,0 +1,640 @@ +_propDict)) { + return $this->_propDict["classCode"]; + } else { + return null; + } + } + + /** + * Sets the classCode + * Class code used by the school to identify the class. + * + * @param string $val The classCode + * + * @return EducationClass + */ + public function setClassCode($val) + { + $this->_propDict["classCode"] = $val; + return $this; + } + + /** + * Gets the course + * Course information for the class. + * + * @return EducationCourse|null The course + */ + public function getCourse() + { + if (array_key_exists("course", $this->_propDict)) { + if (is_a($this->_propDict["course"], "\Microsoft\Graph\Model\EducationCourse") || is_null($this->_propDict["course"])) { + return $this->_propDict["course"]; + } else { + $this->_propDict["course"] = new EducationCourse($this->_propDict["course"]); + return $this->_propDict["course"]; + } + } + return null; + } + + /** + * Sets the course + * Course information for the class. + * + * @param EducationCourse $val The course + * + * @return EducationClass + */ + public function setCourse($val) + { + $this->_propDict["course"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Entity who created the class. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Entity who created the class. + * + * @param IdentitySet $val The createdBy + * + * @return EducationClass + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the class. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the class. + * + * @param string $val The description + * + * @return EducationClass + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the class. + * + * @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 + * Name of the class. + * + * @param string $val The displayName + * + * @return EducationClass + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * ID of the class from the syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of the class from the syncing system. + * + * @param string $val The externalId + * + * @return EducationClass + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the externalName + * Name of the class in the syncing system. + * + * @return string|null The externalName + */ + public function getExternalName() + { + if (array_key_exists("externalName", $this->_propDict)) { + return $this->_propDict["externalName"]; + } else { + return null; + } + } + + /** + * Sets the externalName + * Name of the class in the syncing system. + * + * @param string $val The externalName + * + * @return EducationClass + */ + public function setExternalName($val) + { + $this->_propDict["externalName"] = $val; + return $this; + } + + /** + * Gets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @return EducationExternalSource|null The externalSource + */ + public function getExternalSource() + { + if (array_key_exists("externalSource", $this->_propDict)) { + if (is_a($this->_propDict["externalSource"], "\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) { + return $this->_propDict["externalSource"]; + } else { + $this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]); + return $this->_propDict["externalSource"]; + } + } + return null; + } + + /** + * Sets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @param EducationExternalSource $val The externalSource + * + * @return EducationClass + */ + public function setExternalSource($val) + { + $this->_propDict["externalSource"] = $val; + return $this; + } + + /** + * Gets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @return string|null The externalSourceDetail + */ + public function getExternalSourceDetail() + { + if (array_key_exists("externalSourceDetail", $this->_propDict)) { + return $this->_propDict["externalSourceDetail"]; + } else { + return null; + } + } + + /** + * Sets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @param string $val The externalSourceDetail + * + * @return EducationClass + */ + public function setExternalSourceDetail($val) + { + $this->_propDict["externalSourceDetail"] = $val; + return $this; + } + + /** + * Gets the grade + * Grade level of the class. + * + * @return string|null The grade + */ + public function getGrade() + { + if (array_key_exists("grade", $this->_propDict)) { + return $this->_propDict["grade"]; + } else { + return null; + } + } + + /** + * Sets the grade + * Grade level of the class. + * + * @param string $val The grade + * + * @return EducationClass + */ + public function setGrade($val) + { + $this->_propDict["grade"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * Mail name for sending email to all members, if this is enabled. + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * Mail name for sending email to all members, if this is enabled. + * + * @param string $val The mailNickname + * + * @return EducationClass + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the term + * Term for the class. + * + * @return EducationTerm|null The term + */ + public function getTerm() + { + if (array_key_exists("term", $this->_propDict)) { + if (is_a($this->_propDict["term"], "\Microsoft\Graph\Model\EducationTerm") || is_null($this->_propDict["term"])) { + return $this->_propDict["term"]; + } else { + $this->_propDict["term"] = new EducationTerm($this->_propDict["term"]); + return $this->_propDict["term"]; + } + } + return null; + } + + /** + * Sets the term + * Term for the class. + * + * @param EducationTerm $val The term + * + * @return EducationClass + */ + public function setTerm($val) + { + $this->_propDict["term"] = $val; + return $this; + } + + + /** + * Gets the assignmentCategories + * All categories associated with this class. Nullable. + * + * @return array|null The assignmentCategories + */ + public function getAssignmentCategories() + { + if (array_key_exists("assignmentCategories", $this->_propDict)) { + return $this->_propDict["assignmentCategories"]; + } else { + return null; + } + } + + /** + * Sets the assignmentCategories + * All categories associated with this class. Nullable. + * + * @param EducationCategory[] $val The assignmentCategories + * + * @return EducationClass + */ + public function setAssignmentCategories($val) + { + $this->_propDict["assignmentCategories"] = $val; + return $this; + } + + /** + * Gets the assignmentDefaults + * Specifies class-level defaults respected by new assignments created in the class. + * + * @return EducationAssignmentDefaults|null The assignmentDefaults + */ + public function getAssignmentDefaults() + { + if (array_key_exists("assignmentDefaults", $this->_propDict)) { + if (is_a($this->_propDict["assignmentDefaults"], "\Microsoft\Graph\Model\EducationAssignmentDefaults") || is_null($this->_propDict["assignmentDefaults"])) { + return $this->_propDict["assignmentDefaults"]; + } else { + $this->_propDict["assignmentDefaults"] = new EducationAssignmentDefaults($this->_propDict["assignmentDefaults"]); + return $this->_propDict["assignmentDefaults"]; + } + } + return null; + } + + /** + * Sets the assignmentDefaults + * Specifies class-level defaults respected by new assignments created in the class. + * + * @param EducationAssignmentDefaults $val The assignmentDefaults + * + * @return EducationClass + */ + public function setAssignmentDefaults($val) + { + $this->_propDict["assignmentDefaults"] = $val; + return $this; + } + + + /** + * Gets the assignments + * All assignments associated with this class. Nullable. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * All assignments associated with this class. Nullable. + * + * @param EducationAssignment[] $val The assignments + * + * @return EducationClass + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the assignmentSettings + * Specifies class-level assignments settings. + * + * @return EducationAssignmentSettings|null The assignmentSettings + */ + public function getAssignmentSettings() + { + if (array_key_exists("assignmentSettings", $this->_propDict)) { + if (is_a($this->_propDict["assignmentSettings"], "\Microsoft\Graph\Model\EducationAssignmentSettings") || is_null($this->_propDict["assignmentSettings"])) { + return $this->_propDict["assignmentSettings"]; + } else { + $this->_propDict["assignmentSettings"] = new EducationAssignmentSettings($this->_propDict["assignmentSettings"]); + return $this->_propDict["assignmentSettings"]; + } + } + return null; + } + + /** + * Sets the assignmentSettings + * Specifies class-level assignments settings. + * + * @param EducationAssignmentSettings $val The assignmentSettings + * + * @return EducationClass + */ + public function setAssignmentSettings($val) + { + $this->_propDict["assignmentSettings"] = $val; + return $this; + } + + /** + * Gets the group + * The underlying Microsoft 365 group object. + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * The underlying Microsoft 365 group object. + * + * @param Group $val The group + * + * @return EducationClass + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + + /** + * Gets the members + * All users in the class. Nullable. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * All users in the class. Nullable. + * + * @param EducationUser[] $val The members + * + * @return EducationClass + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the schools + * All schools that this class is associated with. Nullable. + * + * @return array|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * All schools that this class is associated with. Nullable. + * + * @param EducationSchool[] $val The schools + * + * @return EducationClass + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + + /** + * Gets the teachers + * All teachers in the class. Nullable. + * + * @return array|null The teachers + */ + public function getTeachers() + { + if (array_key_exists("teachers", $this->_propDict)) { + return $this->_propDict["teachers"]; + } else { + return null; + } + } + + /** + * Sets the teachers + * All teachers in the class. Nullable. + * + * @param EducationUser[] $val The teachers + * + * @return EducationClass + */ + public function setTeachers($val) + { + $this->_propDict["teachers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationCourse.php b/vendor/microsoft/microsoft-graph/src/Model/EducationCourse.php new file mode 100644 index 0000000..90e279c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationCourse.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["courseNumber"]; + } else { + return null; + } + } + + /** + * Sets the courseNumber + * Unique identifier for the course. + * + * @param string $val The value of the courseNumber + * + * @return EducationCourse + */ + public function setCourseNumber($val) + { + $this->_propDict["courseNumber"] = $val; + return $this; + } + /** + * Gets the description + * Description of the course. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the course. + * + * @param string $val The value of the description + * + * @return EducationCourse + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the course. + * + * @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 + * Name of the course. + * + * @param string $val The value of the displayName + * + * @return EducationCourse + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the externalId + * ID of the course from the syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of the course from the syncing system. + * + * @param string $val The value of the externalId + * + * @return EducationCourse + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + /** + * Gets the subject + * Subject of the course. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * Subject of the course. + * + * @param string $val The value of the subject + * + * @return EducationCourse + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationExcelResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationExcelResource.php new file mode 100644 index 0000000..4200988 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationExcelResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationExcelResource"); + } + + /** + * Gets the fileUrl + * Pointer to the Excel file object. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Pointer to the Excel file object. + * + * @param string $val The value of the fileUrl + * + * @return EducationExcelResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationExternalResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationExternalResource.php new file mode 100644 index 0000000..5161649 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationExternalResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationExternalResource"); + } + + /** + * Gets the webUrl + * Location of the resource. Required. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Location of the resource. Required. + * + * @param string $val The value of the webUrl + * + * @return EducationExternalResource + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationExternalSource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationExternalSource.php new file mode 100644 index 0000000..3dc30c1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationExternalSource.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["feedbackBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["feedbackBy"])) { + return $this->_propDict["feedbackBy"]; + } else { + $this->_propDict["feedbackBy"] = new IdentitySet($this->_propDict["feedbackBy"]); + return $this->_propDict["feedbackBy"]; + } + } + return null; + } + + /** + * Sets the feedbackBy + * User who created the feedback. + * + * @param IdentitySet $val The value to assign to the feedbackBy + * + * @return EducationFeedback The EducationFeedback + */ + public function setFeedbackBy($val) + { + $this->_propDict["feedbackBy"] = $val; + return $this; + } + + /** + * Gets the feedbackDateTime + * Moment in time when the feedback was given. 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 feedbackDateTime + */ + public function getFeedbackDateTime() + { + if (array_key_exists("feedbackDateTime", $this->_propDict)) { + if (is_a($this->_propDict["feedbackDateTime"], "\DateTime") || is_null($this->_propDict["feedbackDateTime"])) { + return $this->_propDict["feedbackDateTime"]; + } else { + $this->_propDict["feedbackDateTime"] = new \DateTime($this->_propDict["feedbackDateTime"]); + return $this->_propDict["feedbackDateTime"]; + } + } + return null; + } + + /** + * Sets the feedbackDateTime + * Moment in time when the feedback was given. 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 feedbackDateTime + * + * @return EducationFeedback The EducationFeedback + */ + public function setFeedbackDateTime($val) + { + $this->_propDict["feedbackDateTime"] = $val; + return $this; + } + + /** + * Gets the text + * Feedback. + * + * @return EducationItemBody|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + if (is_a($this->_propDict["text"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["text"])) { + return $this->_propDict["text"]; + } else { + $this->_propDict["text"] = new EducationItemBody($this->_propDict["text"]); + return $this->_propDict["text"]; + } + } + return null; + } + + /** + * Sets the text + * Feedback. + * + * @param EducationItemBody $val The value to assign to the text + * + * @return EducationFeedback The EducationFeedback + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationFeedbackOutcome.php b/vendor/microsoft/microsoft-graph/src/Model/EducationFeedbackOutcome.php new file mode 100644 index 0000000..ab8f955 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationFeedbackOutcome.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\EducationFeedback") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new EducationFeedback($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Teacher's written feedback to the student. + * + * @param EducationFeedback $val The feedback + * + * @return EducationFeedbackOutcome + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + + /** + * Gets the publishedFeedback + * A copy of the feedback property that is made when the grade is released to the student. + * + * @return EducationFeedback|null The publishedFeedback + */ + public function getPublishedFeedback() + { + if (array_key_exists("publishedFeedback", $this->_propDict)) { + if (is_a($this->_propDict["publishedFeedback"], "\Microsoft\Graph\Model\EducationFeedback") || is_null($this->_propDict["publishedFeedback"])) { + return $this->_propDict["publishedFeedback"]; + } else { + $this->_propDict["publishedFeedback"] = new EducationFeedback($this->_propDict["publishedFeedback"]); + return $this->_propDict["publishedFeedback"]; + } + } + return null; + } + + /** + * Sets the publishedFeedback + * A copy of the feedback property that is made when the grade is released to the student. + * + * @param EducationFeedback $val The publishedFeedback + * + * @return EducationFeedbackOutcome + */ + public function setPublishedFeedback($val) + { + $this->_propDict["publishedFeedback"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationFileResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationFileResource.php new file mode 100644 index 0000000..a078477 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationFileResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationFileResource"); + } + + /** + * Gets the fileUrl + * Location on disk of the file resource. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location on disk of the file resource. + * + * @param string $val The value of the fileUrl + * + * @return EducationFileResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationGender.php b/vendor/microsoft/microsoft-graph/src/Model/EducationGender.php new file mode 100644 index 0000000..594ce9e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationGender.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The value of the content + * + * @return EducationItemBody + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * + * @return BodyType|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\BodyType") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new BodyType($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * + * @param BodyType $val The value to assign to the contentType + * + * @return EducationItemBody The EducationItemBody + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationLinkResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationLinkResource.php new file mode 100644 index 0000000..610ca43 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationLinkResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationLinkResource"); + } + + /** + * Gets the link + * URL to the resource. + * + * @return string|null The link + */ + public function getLink() + { + if (array_key_exists("link", $this->_propDict)) { + return $this->_propDict["link"]; + } else { + return null; + } + } + + /** + * Sets the link + * URL to the resource. + * + * @param string $val The value of the link + * + * @return EducationLinkResource + */ + public function setLink($val) + { + $this->_propDict["link"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationMediaResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationMediaResource.php new file mode 100644 index 0000000..d251c44 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationMediaResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationMediaResource"); + } + + /** + * Gets the fileUrl + * Location of the file on shared point folder. Required + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location of the file on shared point folder. Required + * + * @param string $val The value of the fileUrl + * + * @return EducationMediaResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationOnPremisesInfo.php b/vendor/microsoft/microsoft-graph/src/Model/EducationOnPremisesInfo.php new file mode 100644 index 0000000..f9e3357 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationOnPremisesInfo.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["immutableId"]; + } else { + return null; + } + } + + /** + * Sets the immutableId + * Unique identifier for the user object in Active Directory. + * + * @param string $val The value of the immutableId + * + * @return EducationOnPremisesInfo + */ + public function setImmutableId($val) + { + $this->_propDict["immutableId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationOrganization.php b/vendor/microsoft/microsoft-graph/src/Model/EducationOrganization.php new file mode 100644 index 0000000..bc792f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationOrganization.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Organization description. + * + * @param string $val The description + * + * @return EducationOrganization + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Organization display name. + * + * @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 + * Organization display name. + * + * @param string $val The displayName + * + * @return EducationOrganization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalSource + * Where this user was created from. Possible values are: sis, lms, or manual. + * + * @return EducationExternalSource|null The externalSource + */ + public function getExternalSource() + { + if (array_key_exists("externalSource", $this->_propDict)) { + if (is_a($this->_propDict["externalSource"], "\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) { + return $this->_propDict["externalSource"]; + } else { + $this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]); + return $this->_propDict["externalSource"]; + } + } + return null; + } + + /** + * Sets the externalSource + * Where this user was created from. Possible values are: sis, lms, or manual. + * + * @param EducationExternalSource $val The externalSource + * + * @return EducationOrganization + */ + public function setExternalSource($val) + { + $this->_propDict["externalSource"] = $val; + return $this; + } + + /** + * Gets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @return string|null The externalSourceDetail + */ + public function getExternalSourceDetail() + { + if (array_key_exists("externalSourceDetail", $this->_propDict)) { + return $this->_propDict["externalSourceDetail"]; + } else { + return null; + } + } + + /** + * Sets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @param string $val The externalSourceDetail + * + * @return EducationOrganization + */ + public function setExternalSourceDetail($val) + { + $this->_propDict["externalSourceDetail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationOutcome.php b/vendor/microsoft/microsoft-graph/src/Model/EducationOutcome.php new file mode 100644 index 0000000..0b397d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationOutcome.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The individual who updated the resource. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationOutcome + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationOutcome + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationPointsOutcome.php b/vendor/microsoft/microsoft-graph/src/Model/EducationPointsOutcome.php new file mode 100644 index 0000000..5c89418 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationPointsOutcome.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["points"], "\Microsoft\Graph\Model\EducationAssignmentPointsGrade") || is_null($this->_propDict["points"])) { + return $this->_propDict["points"]; + } else { + $this->_propDict["points"] = new EducationAssignmentPointsGrade($this->_propDict["points"]); + return $this->_propDict["points"]; + } + } + return null; + } + + /** + * Sets the points + * The numeric grade the teacher has given the student for this assignment. + * + * @param EducationAssignmentPointsGrade $val The points + * + * @return EducationPointsOutcome + */ + public function setPoints($val) + { + $this->_propDict["points"] = $val; + return $this; + } + + /** + * Gets the publishedPoints + * A copy of the points property that is made when the grade is released to the student. + * + * @return EducationAssignmentPointsGrade|null The publishedPoints + */ + public function getPublishedPoints() + { + if (array_key_exists("publishedPoints", $this->_propDict)) { + if (is_a($this->_propDict["publishedPoints"], "\Microsoft\Graph\Model\EducationAssignmentPointsGrade") || is_null($this->_propDict["publishedPoints"])) { + return $this->_propDict["publishedPoints"]; + } else { + $this->_propDict["publishedPoints"] = new EducationAssignmentPointsGrade($this->_propDict["publishedPoints"]); + return $this->_propDict["publishedPoints"]; + } + } + return null; + } + + /** + * Sets the publishedPoints + * A copy of the points property that is made when the grade is released to the student. + * + * @param EducationAssignmentPointsGrade $val The publishedPoints + * + * @return EducationPointsOutcome + */ + public function setPublishedPoints($val) + { + $this->_propDict["publishedPoints"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationPowerPointResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationPowerPointResource.php new file mode 100644 index 0000000..3b12811 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationPowerPointResource.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationPowerPointResource"); + } + + /** + * Gets the fileUrl + * Location of the file on disk. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location of the file on disk. + * + * @param string $val The value of the fileUrl + * + * @return EducationPowerPointResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationResource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationResource.php new file mode 100644 index 0000000..3a55148 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationResource.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Who created the resource. + * + * @param IdentitySet $val The value to assign to the createdBy + * + * @return EducationResource The EducationResource + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return EducationResource The EducationResource + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + /** + * Gets the displayName + * Display name of resource. + * + * @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 + * Display name of resource. + * + * @param string $val The value of the displayName + * + * @return EducationResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Who was the last user to modify the resource. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Who was the last user to modify the resource. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return EducationResource The EducationResource + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return EducationResource The EducationResource + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationRoot.php b/vendor/microsoft/microsoft-graph/src/Model/EducationRoot.php new file mode 100644 index 0000000..b258632 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationRoot.php @@ -0,0 +1,219 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the EducationRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the classes + * + * @return array|null The classes + */ + public function getClasses() + { + if (array_key_exists("classes", $this->_propDict)) { + return $this->_propDict["classes"]; + } else { + return null; + } + } + + /** + * Sets the classes + * + * @param EducationClass[] $val The classes + * + * @return EducationRoot + */ + public function setClasses($val) + { + $this->_propDict["classes"] = $val; + return $this; + } + + /** + * Gets the me + * + * @return EducationUser|null The me + */ + public function getMe() + { + if (array_key_exists("me", $this->_propDict)) { + if (is_a($this->_propDict["me"], "\Microsoft\Graph\Model\EducationUser") || is_null($this->_propDict["me"])) { + return $this->_propDict["me"]; + } else { + $this->_propDict["me"] = new EducationUser($this->_propDict["me"]); + return $this->_propDict["me"]; + } + } + return null; + } + + /** + * Sets the me + * + * @param EducationUser $val The me + * + * @return EducationRoot + */ + public function setMe($val) + { + $this->_propDict["me"] = $val; + return $this; + } + + + /** + * Gets the schools + * + * @return array|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * + * @param EducationSchool[] $val The schools + * + * @return EducationRoot + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + + /** + * Gets the users + * + * @return array|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + return $this->_propDict["users"]; + } else { + return null; + } + } + + /** + * Sets the users + * + * @param EducationUser[] $val The users + * + * @return EducationRoot + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + 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 EducationRoot + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationRubric.php b/vendor/microsoft/microsoft-graph/src/Model/EducationRubric.php new file mode 100644 index 0000000..f1f5f8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationRubric.php @@ -0,0 +1,314 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created this resource. + * + * @param IdentitySet $val The createdBy + * + * @return EducationRubric + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return EducationRubric + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of this rubric. + * + * @return EducationItemBody|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + if (is_a($this->_propDict["description"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this rubric. + * + * @param EducationItemBody $val The description + * + * @return EducationRubric + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of this rubric. + * + * @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 + * The name of this rubric. + * + * @param string $val The displayName + * + * @return EducationRubric + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the grading + * The grading type of this rubric -- null for a no-points rubric, or educationAssignmentPointsGradeType for a points rubric. + * + * @return EducationAssignmentGradeType|null The grading + */ + public function getGrading() + { + if (array_key_exists("grading", $this->_propDict)) { + if (is_a($this->_propDict["grading"], "\Microsoft\Graph\Model\EducationAssignmentGradeType") || is_null($this->_propDict["grading"])) { + return $this->_propDict["grading"]; + } else { + $this->_propDict["grading"] = new EducationAssignmentGradeType($this->_propDict["grading"]); + return $this->_propDict["grading"]; + } + } + return null; + } + + /** + * Sets the grading + * The grading type of this rubric -- null for a no-points rubric, or educationAssignmentPointsGradeType for a points rubric. + * + * @param EducationAssignmentGradeType $val The grading + * + * @return EducationRubric + */ + public function setGrading($val) + { + $this->_propDict["grading"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * The last user to modify the resource. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The last user to modify the resource. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return EducationRubric + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EducationRubric + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the levels + * The collection of levels making up this rubric. + * + * @return array|null The levels + */ + public function getLevels() + { + if (array_key_exists("levels", $this->_propDict)) { + return $this->_propDict["levels"]; + } else { + return null; + } + } + + /** + * Sets the levels + * The collection of levels making up this rubric. + * + * @param RubricLevel[] $val The levels + * + * @return EducationRubric + */ + public function setLevels($val) + { + $this->_propDict["levels"] = $val; + return $this; + } + + + /** + * Gets the qualities + * The collection of qualities making up this rubric. + * + * @return array|null The qualities + */ + public function getQualities() + { + if (array_key_exists("qualities", $this->_propDict)) { + return $this->_propDict["qualities"]; + } else { + return null; + } + } + + /** + * Sets the qualities + * The collection of qualities making up this rubric. + * + * @param RubricQuality[] $val The qualities + * + * @return EducationRubric + */ + public function setQualities($val) + { + $this->_propDict["qualities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationRubricOutcome.php b/vendor/microsoft/microsoft-graph/src/Model/EducationRubricOutcome.php new file mode 100644 index 0000000..5577413 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationRubricOutcome.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["publishedRubricQualityFeedback"]; + } else { + return null; + } + } + + /** + * Sets the publishedRubricQualityFeedback + * A copy of the rubricQualityFeedback property that is made when the grade is released to the student. + * + * @param RubricQualityFeedbackModel[] $val The publishedRubricQualityFeedback + * + * @return EducationRubricOutcome + */ + public function setPublishedRubricQualityFeedback($val) + { + $this->_propDict["publishedRubricQualityFeedback"] = $val; + return $this; + } + + + /** + * Gets the publishedRubricQualitySelectedLevels + * A copy of the rubricQualitySelectedLevels property that is made when the grade is released to the student. + * + * @return array|null The publishedRubricQualitySelectedLevels + */ + public function getPublishedRubricQualitySelectedLevels() + { + if (array_key_exists("publishedRubricQualitySelectedLevels", $this->_propDict)) { + return $this->_propDict["publishedRubricQualitySelectedLevels"]; + } else { + return null; + } + } + + /** + * Sets the publishedRubricQualitySelectedLevels + * A copy of the rubricQualitySelectedLevels property that is made when the grade is released to the student. + * + * @param RubricQualitySelectedColumnModel[] $val The publishedRubricQualitySelectedLevels + * + * @return EducationRubricOutcome + */ + public function setPublishedRubricQualitySelectedLevels($val) + { + $this->_propDict["publishedRubricQualitySelectedLevels"] = $val; + return $this; + } + + + /** + * Gets the rubricQualityFeedback + * A collection of specific feedback for each quality of this rubric. + * + * @return array|null The rubricQualityFeedback + */ + public function getRubricQualityFeedback() + { + if (array_key_exists("rubricQualityFeedback", $this->_propDict)) { + return $this->_propDict["rubricQualityFeedback"]; + } else { + return null; + } + } + + /** + * Sets the rubricQualityFeedback + * A collection of specific feedback for each quality of this rubric. + * + * @param RubricQualityFeedbackModel[] $val The rubricQualityFeedback + * + * @return EducationRubricOutcome + */ + public function setRubricQualityFeedback($val) + { + $this->_propDict["rubricQualityFeedback"] = $val; + return $this; + } + + + /** + * Gets the rubricQualitySelectedLevels + * The level that the teacher has selected for each quality while grading this assignment. + * + * @return array|null The rubricQualitySelectedLevels + */ + public function getRubricQualitySelectedLevels() + { + if (array_key_exists("rubricQualitySelectedLevels", $this->_propDict)) { + return $this->_propDict["rubricQualitySelectedLevels"]; + } else { + return null; + } + } + + /** + * Sets the rubricQualitySelectedLevels + * The level that the teacher has selected for each quality while grading this assignment. + * + * @param RubricQualitySelectedColumnModel[] $val The rubricQualitySelectedLevels + * + * @return EducationRubricOutcome + */ + public function setRubricQualitySelectedLevels($val) + { + $this->_propDict["rubricQualitySelectedLevels"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationSchool.php b/vendor/microsoft/microsoft-graph/src/Model/EducationSchool.php new file mode 100644 index 0000000..255940b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationSchool.php @@ -0,0 +1,445 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * Address of the school. + * + * @param PhysicalAddress $val The address + * + * @return EducationSchool + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Entity who created the school. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Entity who created the school. + * + * @param IdentitySet $val The createdBy + * + * @return EducationSchool + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the externalId + * ID of school in syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of school in syncing system. + * + * @param string $val The externalId + * + * @return EducationSchool + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the externalPrincipalId + * ID of principal in syncing system. + * + * @return string|null The externalPrincipalId + */ + public function getExternalPrincipalId() + { + if (array_key_exists("externalPrincipalId", $this->_propDict)) { + return $this->_propDict["externalPrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the externalPrincipalId + * ID of principal in syncing system. + * + * @param string $val The externalPrincipalId + * + * @return EducationSchool + */ + public function setExternalPrincipalId($val) + { + $this->_propDict["externalPrincipalId"] = $val; + return $this; + } + + /** + * Gets the fax + * + * @return string|null The fax + */ + public function getFax() + { + if (array_key_exists("fax", $this->_propDict)) { + return $this->_propDict["fax"]; + } else { + return null; + } + } + + /** + * Sets the fax + * + * @param string $val The fax + * + * @return EducationSchool + */ + public function setFax($val) + { + $this->_propDict["fax"] = $val; + return $this; + } + + /** + * Gets the highestGrade + * Highest grade taught. + * + * @return string|null The highestGrade + */ + public function getHighestGrade() + { + if (array_key_exists("highestGrade", $this->_propDict)) { + return $this->_propDict["highestGrade"]; + } else { + return null; + } + } + + /** + * Sets the highestGrade + * Highest grade taught. + * + * @param string $val The highestGrade + * + * @return EducationSchool + */ + public function setHighestGrade($val) + { + $this->_propDict["highestGrade"] = $val; + return $this; + } + + /** + * Gets the lowestGrade + * Lowest grade taught. + * + * @return string|null The lowestGrade + */ + public function getLowestGrade() + { + if (array_key_exists("lowestGrade", $this->_propDict)) { + return $this->_propDict["lowestGrade"]; + } else { + return null; + } + } + + /** + * Sets the lowestGrade + * Lowest grade taught. + * + * @param string $val The lowestGrade + * + * @return EducationSchool + */ + public function setLowestGrade($val) + { + $this->_propDict["lowestGrade"] = $val; + return $this; + } + + /** + * Gets the phone + * Phone number of school. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * Phone number of school. + * + * @param string $val The phone + * + * @return EducationSchool + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + + /** + * Gets the principalEmail + * Email address of the principal. + * + * @return string|null The principalEmail + */ + public function getPrincipalEmail() + { + if (array_key_exists("principalEmail", $this->_propDict)) { + return $this->_propDict["principalEmail"]; + } else { + return null; + } + } + + /** + * Sets the principalEmail + * Email address of the principal. + * + * @param string $val The principalEmail + * + * @return EducationSchool + */ + public function setPrincipalEmail($val) + { + $this->_propDict["principalEmail"] = $val; + return $this; + } + + /** + * Gets the principalName + * Name of the principal. + * + * @return string|null The principalName + */ + public function getPrincipalName() + { + if (array_key_exists("principalName", $this->_propDict)) { + return $this->_propDict["principalName"]; + } else { + return null; + } + } + + /** + * Sets the principalName + * Name of the principal. + * + * @param string $val The principalName + * + * @return EducationSchool + */ + public function setPrincipalName($val) + { + $this->_propDict["principalName"] = $val; + return $this; + } + + /** + * Gets the schoolNumber + * School Number. + * + * @return string|null The schoolNumber + */ + public function getSchoolNumber() + { + if (array_key_exists("schoolNumber", $this->_propDict)) { + return $this->_propDict["schoolNumber"]; + } else { + return null; + } + } + + /** + * Sets the schoolNumber + * School Number. + * + * @param string $val The schoolNumber + * + * @return EducationSchool + */ + public function setSchoolNumber($val) + { + $this->_propDict["schoolNumber"] = $val; + return $this; + } + + /** + * Gets the administrativeUnit + * The underlying administrativeUnit for this school. + * + * @return AdministrativeUnit|null The administrativeUnit + */ + public function getAdministrativeUnit() + { + if (array_key_exists("administrativeUnit", $this->_propDict)) { + if (is_a($this->_propDict["administrativeUnit"], "\Microsoft\Graph\Model\AdministrativeUnit") || is_null($this->_propDict["administrativeUnit"])) { + return $this->_propDict["administrativeUnit"]; + } else { + $this->_propDict["administrativeUnit"] = new AdministrativeUnit($this->_propDict["administrativeUnit"]); + return $this->_propDict["administrativeUnit"]; + } + } + return null; + } + + /** + * Sets the administrativeUnit + * The underlying administrativeUnit for this school. + * + * @param AdministrativeUnit $val The administrativeUnit + * + * @return EducationSchool + */ + public function setAdministrativeUnit($val) + { + $this->_propDict["administrativeUnit"] = $val; + return $this; + } + + + /** + * Gets the classes + * Classes taught at the school. Nullable. + * + * @return array|null The classes + */ + public function getClasses() + { + if (array_key_exists("classes", $this->_propDict)) { + return $this->_propDict["classes"]; + } else { + return null; + } + } + + /** + * Sets the classes + * Classes taught at the school. Nullable. + * + * @param EducationClass[] $val The classes + * + * @return EducationSchool + */ + public function setClasses($val) + { + $this->_propDict["classes"] = $val; + return $this; + } + + + /** + * Gets the users + * Users in the school. Nullable. + * + * @return array|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + return $this->_propDict["users"]; + } else { + return null; + } + } + + /** + * Sets the users + * Users in the school. Nullable. + * + * @param EducationUser[] $val The users + * + * @return EducationSchool + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationStudent.php b/vendor/microsoft/microsoft-graph/src/Model/EducationStudent.php new file mode 100644 index 0000000..a3f3552 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationStudent.php @@ -0,0 +1,204 @@ +_propDict)) { + if (is_a($this->_propDict["birthDate"], "\DateTime") || is_null($this->_propDict["birthDate"])) { + return $this->_propDict["birthDate"]; + } else { + $this->_propDict["birthDate"] = new \DateTime($this->_propDict["birthDate"]); + return $this->_propDict["birthDate"]; + } + } + return null; + } + + /** + * Sets the birthDate + * Birth date of the student. + * + * @param \DateTime $val The value to assign to the birthDate + * + * @return EducationStudent The EducationStudent + */ + public function setBirthDate($val) + { + $this->_propDict["birthDate"] = $val; + return $this; + } + /** + * Gets the externalId + * ID of the student in the source system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of the student in the source system. + * + * @param string $val The value of the externalId + * + * @return EducationStudent + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the gender + * Possible values are: female, male, other. + * + * @return EducationGender|null The gender + */ + public function getGender() + { + if (array_key_exists("gender", $this->_propDict)) { + if (is_a($this->_propDict["gender"], "\Microsoft\Graph\Model\EducationGender") || is_null($this->_propDict["gender"])) { + return $this->_propDict["gender"]; + } else { + $this->_propDict["gender"] = new EducationGender($this->_propDict["gender"]); + return $this->_propDict["gender"]; + } + } + return null; + } + + /** + * Sets the gender + * Possible values are: female, male, other. + * + * @param EducationGender $val The value to assign to the gender + * + * @return EducationStudent The EducationStudent + */ + public function setGender($val) + { + $this->_propDict["gender"] = $val; + return $this; + } + /** + * Gets the grade + * Current grade level of the student. + * + * @return string|null The grade + */ + public function getGrade() + { + if (array_key_exists("grade", $this->_propDict)) { + return $this->_propDict["grade"]; + } else { + return null; + } + } + + /** + * Sets the grade + * Current grade level of the student. + * + * @param string $val The value of the grade + * + * @return EducationStudent + */ + public function setGrade($val) + { + $this->_propDict["grade"] = $val; + return $this; + } + /** + * Gets the graduationYear + * Year the student is graduating from the school. + * + * @return string|null The graduationYear + */ + public function getGraduationYear() + { + if (array_key_exists("graduationYear", $this->_propDict)) { + return $this->_propDict["graduationYear"]; + } else { + return null; + } + } + + /** + * Sets the graduationYear + * Year the student is graduating from the school. + * + * @param string $val The value of the graduationYear + * + * @return EducationStudent + */ + public function setGraduationYear($val) + { + $this->_propDict["graduationYear"] = $val; + return $this; + } + /** + * Gets the studentNumber + * Student Number. + * + * @return string|null The studentNumber + */ + public function getStudentNumber() + { + if (array_key_exists("studentNumber", $this->_propDict)) { + return $this->_propDict["studentNumber"]; + } else { + return null; + } + } + + /** + * Sets the studentNumber + * Student Number. + * + * @param string $val The value of the studentNumber + * + * @return EducationStudent + */ + public function setStudentNumber($val) + { + $this->_propDict["studentNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationSubmission.php b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmission.php new file mode 100644 index 0000000..9015df9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmission.php @@ -0,0 +1,476 @@ +_propDict)) { + if (is_a($this->_propDict["reassignedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["reassignedBy"])) { + return $this->_propDict["reassignedBy"]; + } else { + $this->_propDict["reassignedBy"] = new IdentitySet($this->_propDict["reassignedBy"]); + return $this->_propDict["reassignedBy"]; + } + } + return null; + } + + /** + * Sets the reassignedBy + * User who moved the status of this submission to reassigned. + * + * @param IdentitySet $val The reassignedBy + * + * @return EducationSubmission + */ + public function setReassignedBy($val) + { + $this->_propDict["reassignedBy"] = $val; + return $this; + } + + /** + * Gets the reassignedDateTime + * Moment in time when the submission was reassigned. 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 reassignedDateTime + */ + public function getReassignedDateTime() + { + if (array_key_exists("reassignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reassignedDateTime"], "\DateTime") || is_null($this->_propDict["reassignedDateTime"])) { + return $this->_propDict["reassignedDateTime"]; + } else { + $this->_propDict["reassignedDateTime"] = new \DateTime($this->_propDict["reassignedDateTime"]); + return $this->_propDict["reassignedDateTime"]; + } + } + return null; + } + + /** + * Sets the reassignedDateTime + * Moment in time when the submission was reassigned. 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 reassignedDateTime + * + * @return EducationSubmission + */ + public function setReassignedDateTime($val) + { + $this->_propDict["reassignedDateTime"] = $val; + return $this; + } + + /** + * Gets the recipient + * Who this submission is assigned to. + * + * @return EducationSubmissionRecipient|null The recipient + */ + public function getRecipient() + { + if (array_key_exists("recipient", $this->_propDict)) { + if (is_a($this->_propDict["recipient"], "\Microsoft\Graph\Model\EducationSubmissionRecipient") || is_null($this->_propDict["recipient"])) { + return $this->_propDict["recipient"]; + } else { + $this->_propDict["recipient"] = new EducationSubmissionRecipient($this->_propDict["recipient"]); + return $this->_propDict["recipient"]; + } + } + return null; + } + + /** + * Sets the recipient + * Who this submission is assigned to. + * + * @param EducationSubmissionRecipient $val The recipient + * + * @return EducationSubmission + */ + public function setRecipient($val) + { + $this->_propDict["recipient"] = $val; + return $this; + } + + /** + * Gets the resourcesFolderUrl + * Folder where all file resources for this submission need to be stored. + * + * @return string|null The resourcesFolderUrl + */ + public function getResourcesFolderUrl() + { + if (array_key_exists("resourcesFolderUrl", $this->_propDict)) { + return $this->_propDict["resourcesFolderUrl"]; + } else { + return null; + } + } + + /** + * Sets the resourcesFolderUrl + * Folder where all file resources for this submission need to be stored. + * + * @param string $val The resourcesFolderUrl + * + * @return EducationSubmission + */ + public function setResourcesFolderUrl($val) + { + $this->_propDict["resourcesFolderUrl"] = $val; + return $this; + } + + /** + * Gets the returnedBy + * User who moved the status of this submission to returned. + * + * @return IdentitySet|null The returnedBy + */ + public function getReturnedBy() + { + if (array_key_exists("returnedBy", $this->_propDict)) { + if (is_a($this->_propDict["returnedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["returnedBy"])) { + return $this->_propDict["returnedBy"]; + } else { + $this->_propDict["returnedBy"] = new IdentitySet($this->_propDict["returnedBy"]); + return $this->_propDict["returnedBy"]; + } + } + return null; + } + + /** + * Sets the returnedBy + * User who moved the status of this submission to returned. + * + * @param IdentitySet $val The returnedBy + * + * @return EducationSubmission + */ + public function setReturnedBy($val) + { + $this->_propDict["returnedBy"] = $val; + return $this; + } + + /** + * Gets the returnedDateTime + * Moment in time when the submission was returned. 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 returnedDateTime + */ + public function getReturnedDateTime() + { + if (array_key_exists("returnedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["returnedDateTime"], "\DateTime") || is_null($this->_propDict["returnedDateTime"])) { + return $this->_propDict["returnedDateTime"]; + } else { + $this->_propDict["returnedDateTime"] = new \DateTime($this->_propDict["returnedDateTime"]); + return $this->_propDict["returnedDateTime"]; + } + } + return null; + } + + /** + * Sets the returnedDateTime + * Moment in time when the submission was returned. 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 returnedDateTime + * + * @return EducationSubmission + */ + public function setReturnedDateTime($val) + { + $this->_propDict["returnedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Read-only. Possible values are: working, submitted, released, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + * + * @return EducationSubmissionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\EducationSubmissionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new EducationSubmissionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Read-only. Possible values are: working, submitted, released, returned, unknownFutureValue and reassigned. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned. + * + * @param EducationSubmissionStatus $val The status + * + * @return EducationSubmission + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the submittedBy + * User who moved the resource into the submitted state. + * + * @return IdentitySet|null The submittedBy + */ + public function getSubmittedBy() + { + if (array_key_exists("submittedBy", $this->_propDict)) { + if (is_a($this->_propDict["submittedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["submittedBy"])) { + return $this->_propDict["submittedBy"]; + } else { + $this->_propDict["submittedBy"] = new IdentitySet($this->_propDict["submittedBy"]); + return $this->_propDict["submittedBy"]; + } + } + return null; + } + + /** + * Sets the submittedBy + * User who moved the resource into the submitted state. + * + * @param IdentitySet $val The submittedBy + * + * @return EducationSubmission + */ + public function setSubmittedBy($val) + { + $this->_propDict["submittedBy"] = $val; + return $this; + } + + /** + * Gets the submittedDateTime + * Moment in time when the submission was moved into the submitted state. 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 submittedDateTime + */ + public function getSubmittedDateTime() + { + if (array_key_exists("submittedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["submittedDateTime"], "\DateTime") || is_null($this->_propDict["submittedDateTime"])) { + return $this->_propDict["submittedDateTime"]; + } else { + $this->_propDict["submittedDateTime"] = new \DateTime($this->_propDict["submittedDateTime"]); + return $this->_propDict["submittedDateTime"]; + } + } + return null; + } + + /** + * Sets the submittedDateTime + * Moment in time when the submission was moved into the submitted state. 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 submittedDateTime + * + * @return EducationSubmission + */ + public function setSubmittedDateTime($val) + { + $this->_propDict["submittedDateTime"] = $val; + return $this; + } + + /** + * Gets the unsubmittedBy + * User who moved the resource from submitted into the working state. + * + * @return IdentitySet|null The unsubmittedBy + */ + public function getUnsubmittedBy() + { + if (array_key_exists("unsubmittedBy", $this->_propDict)) { + if (is_a($this->_propDict["unsubmittedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["unsubmittedBy"])) { + return $this->_propDict["unsubmittedBy"]; + } else { + $this->_propDict["unsubmittedBy"] = new IdentitySet($this->_propDict["unsubmittedBy"]); + return $this->_propDict["unsubmittedBy"]; + } + } + return null; + } + + /** + * Sets the unsubmittedBy + * User who moved the resource from submitted into the working state. + * + * @param IdentitySet $val The unsubmittedBy + * + * @return EducationSubmission + */ + public function setUnsubmittedBy($val) + { + $this->_propDict["unsubmittedBy"] = $val; + return $this; + } + + /** + * Gets the unsubmittedDateTime + * Moment in time when the submission was moved from submitted into the working state. 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 unsubmittedDateTime + */ + public function getUnsubmittedDateTime() + { + if (array_key_exists("unsubmittedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["unsubmittedDateTime"], "\DateTime") || is_null($this->_propDict["unsubmittedDateTime"])) { + return $this->_propDict["unsubmittedDateTime"]; + } else { + $this->_propDict["unsubmittedDateTime"] = new \DateTime($this->_propDict["unsubmittedDateTime"]); + return $this->_propDict["unsubmittedDateTime"]; + } + } + return null; + } + + /** + * Sets the unsubmittedDateTime + * Moment in time when the submission was moved from submitted into the working state. 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 unsubmittedDateTime + * + * @return EducationSubmission + */ + public function setUnsubmittedDateTime($val) + { + $this->_propDict["unsubmittedDateTime"] = $val; + return $this; + } + + + /** + * Gets the outcomes + * Read-Write. Nullable. + * + * @return array|null The outcomes + */ + public function getOutcomes() + { + if (array_key_exists("outcomes", $this->_propDict)) { + return $this->_propDict["outcomes"]; + } else { + return null; + } + } + + /** + * Sets the outcomes + * Read-Write. Nullable. + * + * @param EducationOutcome[] $val The outcomes + * + * @return EducationSubmission + */ + public function setOutcomes($val) + { + $this->_propDict["outcomes"] = $val; + return $this; + } + + + /** + * Gets the resources + * Nullable. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Nullable. + * + * @param EducationSubmissionResource[] $val The resources + * + * @return EducationSubmission + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the submittedResources + * Read-only. Nullable. + * + * @return array|null The submittedResources + */ + public function getSubmittedResources() + { + if (array_key_exists("submittedResources", $this->_propDict)) { + return $this->_propDict["submittedResources"]; + } else { + return null; + } + } + + /** + * Sets the submittedResources + * Read-only. Nullable. + * + * @param EducationSubmissionResource[] $val The submittedResources + * + * @return EducationSubmission + */ + public function setSubmittedResources($val) + { + $this->_propDict["submittedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionIndividualRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionIndividualRecipient.php new file mode 100644 index 0000000..c4e767c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionIndividualRecipient.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.educationSubmissionIndividualRecipient"); + } + + /** + * Gets the userId + * User ID of the user to whom the submission is assigned. + * + * @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 + * User ID of the user to whom the submission is assigned. + * + * @param string $val The value of the userId + * + * @return EducationSubmissionIndividualRecipient + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionRecipient.php new file mode 100644 index 0000000..9a920e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionRecipient.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["assignmentResourceUrl"]; + } else { + return null; + } + } + + /** + * Sets the assignmentResourceUrl + * Pointer to the assignment from which this resource was copied. If this is null, the student uploaded the resource. + * + * @param string $val The assignmentResourceUrl + * + * @return EducationSubmissionResource + */ + public function setAssignmentResourceUrl($val) + { + $this->_propDict["assignmentResourceUrl"] = $val; + return $this; + } + + /** + * Gets the resource + * Resource object. + * + * @return EducationResource|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\EducationResource") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new EducationResource($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Resource object. + * + * @param EducationResource $val The resource + * + * @return EducationSubmissionResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionStatus.php b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionStatus.php new file mode 100644 index 0000000..1444ca8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationSubmissionStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * Id of the Teacher in external source system. + * + * @param string $val The value of the externalId + * + * @return EducationTeacher + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + /** + * Gets the teacherNumber + * Teacher number. + * + * @return string|null The teacherNumber + */ + public function getTeacherNumber() + { + if (array_key_exists("teacherNumber", $this->_propDict)) { + return $this->_propDict["teacherNumber"]; + } else { + return null; + } + } + + /** + * Sets the teacherNumber + * Teacher number. + * + * @param string $val The value of the teacherNumber + * + * @return EducationTeacher + */ + public function setTeacherNumber($val) + { + $this->_propDict["teacherNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationTerm.php b/vendor/microsoft/microsoft-graph/src/Model/EducationTerm.php new file mode 100644 index 0000000..f5608a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationTerm.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the term. + * + * @param string $val The value of the displayName + * + * @return EducationTerm + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDate + * End of the term. + * + * @return \DateTime|null The endDate + */ + public function getEndDate() + { + if (array_key_exists("endDate", $this->_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * End of the term. + * + * @param \DateTime $val The value to assign to the endDate + * + * @return EducationTerm The EducationTerm + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + /** + * Gets the externalId + * ID of term in the syncing system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * ID of term in the syncing system. + * + * @param string $val The value of the externalId + * + * @return EducationTerm + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the startDate + * Start of the term. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * Start of the term. + * + * @param \DateTime $val The value to assign to the startDate + * + * @return EducationTerm The EducationTerm + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationUser.php b/vendor/microsoft/microsoft-graph/src/Model/EducationUser.php new file mode 100644 index 0000000..f672e3b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationUser.php @@ -0,0 +1,1178 @@ +_propDict)) { + return $this->_propDict["relatedContacts"]; + } else { + return null; + } + } + + /** + * Sets the relatedContacts + * Related records related to the user. Possible relationships are parent, relative, aide, doctor, guardian, child, other, unknownFutureValue + * + * @param RelatedContact[] $val The relatedContacts + * + * @return EducationUser + */ + public function setRelatedContacts($val) + { + $this->_propDict["relatedContacts"] = $val; + return $this; + } + + /** + * Gets the accountEnabled + * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports /$filter. + * + * @return bool|null The accountEnabled + */ + public function getAccountEnabled() + { + if (array_key_exists("accountEnabled", $this->_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * True if the account is enabled; otherwise, false. This property is required when a user is created. Supports /$filter. + * + * @param bool $val The accountEnabled + * + * @return EducationUser + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses that are assigned to the user. Not nullable. + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses that are assigned to the user. Not nullable. + * + * @param AssignedLicense[] $val The assignedLicenses + * + * @return EducationUser + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + + + /** + * Gets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable. + * + * @return array|null The assignedPlans + */ + public function getAssignedPlans() + { + if (array_key_exists("assignedPlans", $this->_propDict)) { + return $this->_propDict["assignedPlans"]; + } else { + return null; + } + } + + /** + * Sets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable. + * + * @param AssignedPlan[] $val The assignedPlans + * + * @return EducationUser + */ + public function setAssignedPlans($val) + { + $this->_propDict["assignedPlans"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property. + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property. + * + * @param string $val The businessPhones + * + * @return EducationUser + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Entity who created the user. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Entity who created the user. + * + * @param IdentitySet $val The createdBy + * + * @return EducationUser + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the department + * The name for the department in which the user works. Supports /$filter. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The name for the department in which the user works. Supports /$filter. + * + * @param string $val The department + * + * @return EducationUser + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name displayed in the address book for the user. Supports $filter and $orderby. + * + * @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 + * The name displayed in the address book for the user. Supports $filter and $orderby. + * + * @param string $val The displayName + * + * @return EducationUser + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @return EducationExternalSource|null The externalSource + */ + public function getExternalSource() + { + if (array_key_exists("externalSource", $this->_propDict)) { + if (is_a($this->_propDict["externalSource"], "\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) { + return $this->_propDict["externalSource"]; + } else { + $this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]); + return $this->_propDict["externalSource"]; + } + } + return null; + } + + /** + * Sets the externalSource + * The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual. + * + * @param EducationExternalSource $val The externalSource + * + * @return EducationUser + */ + public function setExternalSource($val) + { + $this->_propDict["externalSource"] = $val; + return $this; + } + + /** + * Gets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @return string|null The externalSourceDetail + */ + public function getExternalSourceDetail() + { + if (array_key_exists("externalSourceDetail", $this->_propDict)) { + return $this->_propDict["externalSourceDetail"]; + } else { + return null; + } + } + + /** + * Sets the externalSourceDetail + * The name of the external source this resources was generated from. + * + * @param string $val The externalSourceDetail + * + * @return EducationUser + */ + public function setExternalSourceDetail($val) + { + $this->_propDict["externalSourceDetail"] = $val; + return $this; + } + + /** + * Gets the givenName + * The given name (first name) of the user. Supports /$filter. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The given name (first name) of the user. Supports /$filter. + * + * @param string $val The givenName + * + * @return EducationUser + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports /$filter. + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports /$filter. + * + * @param string $val The mail + * + * @return EducationUser + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailingAddress + * Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @return PhysicalAddress|null The mailingAddress + */ + public function getMailingAddress() + { + if (array_key_exists("mailingAddress", $this->_propDict)) { + if (is_a($this->_propDict["mailingAddress"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["mailingAddress"])) { + return $this->_propDict["mailingAddress"]; + } else { + $this->_propDict["mailingAddress"] = new PhysicalAddress($this->_propDict["mailingAddress"]); + return $this->_propDict["mailingAddress"]; + } + } + return null; + } + + /** + * Sets the mailingAddress + * Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @param PhysicalAddress $val The mailingAddress + * + * @return EducationUser + */ + public function setMailingAddress($val) + { + $this->_propDict["mailingAddress"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Supports /$filter. + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Supports /$filter. + * + * @param string $val The mailNickname + * + * @return EducationUser + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the middleName + * The middle name of user. + * + * @return string|null The middleName + */ + public function getMiddleName() + { + if (array_key_exists("middleName", $this->_propDict)) { + return $this->_propDict["middleName"]; + } else { + return null; + } + } + + /** + * Sets the middleName + * The middle name of user. + * + * @param string $val The middleName + * + * @return EducationUser + */ + public function setMiddleName($val) + { + $this->_propDict["middleName"] = $val; + return $this; + } + + /** + * Gets the mobilePhone + * The primary cellular telephone number for the user. + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * The primary cellular telephone number for the user. + * + * @param string $val The mobilePhone + * + * @return EducationUser + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * + * @param string $val The officeLocation + * + * @return EducationUser + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the onPremisesInfo + * Additional information used to associate the AAD user with it's Active Directory counterpart. + * + * @return EducationOnPremisesInfo|null The onPremisesInfo + */ + public function getOnPremisesInfo() + { + if (array_key_exists("onPremisesInfo", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesInfo"], "\Microsoft\Graph\Model\EducationOnPremisesInfo") || is_null($this->_propDict["onPremisesInfo"])) { + return $this->_propDict["onPremisesInfo"]; + } else { + $this->_propDict["onPremisesInfo"] = new EducationOnPremisesInfo($this->_propDict["onPremisesInfo"]); + return $this->_propDict["onPremisesInfo"]; + } + } + return null; + } + + /** + * Sets the onPremisesInfo + * Additional information used to associate the AAD user with it's Active Directory counterpart. + * + * @param EducationOnPremisesInfo $val The onPremisesInfo + * + * @return EducationUser + */ + public function setOnPremisesInfo($val) + { + $this->_propDict["onPremisesInfo"] = $val; + return $this; + } + + /** + * Gets the passwordPolicies + * Specifies password policies for the user. See standard [user] resource for additional details. + * + * @return string|null The passwordPolicies + */ + public function getPasswordPolicies() + { + if (array_key_exists("passwordPolicies", $this->_propDict)) { + return $this->_propDict["passwordPolicies"]; + } else { + return null; + } + } + + /** + * Sets the passwordPolicies + * Specifies password policies for the user. See standard [user] resource for additional details. + * + * @param string $val The passwordPolicies + * + * @return EducationUser + */ + public function setPasswordPolicies($val) + { + $this->_propDict["passwordPolicies"] = $val; + return $this; + } + + /** + * Gets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details. + * + * @return PasswordProfile|null The passwordProfile + */ + public function getPasswordProfile() + { + if (array_key_exists("passwordProfile", $this->_propDict)) { + if (is_a($this->_propDict["passwordProfile"], "\Microsoft\Graph\Model\PasswordProfile") || is_null($this->_propDict["passwordProfile"])) { + return $this->_propDict["passwordProfile"]; + } else { + $this->_propDict["passwordProfile"] = new PasswordProfile($this->_propDict["passwordProfile"]); + return $this->_propDict["passwordProfile"]; + } + } + return null; + } + + /** + * Sets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details. + * + * @param PasswordProfile $val The passwordProfile + * + * @return EducationUser + */ + public function setPasswordProfile($val) + { + $this->_propDict["passwordProfile"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'. + * + * @param string $val The preferredLanguage + * + * @return EducationUser + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + /** + * Gets the primaryRole + * Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, faculty. Supports /$filter. + * + * @return EducationUserRole|null The primaryRole + */ + public function getPrimaryRole() + { + if (array_key_exists("primaryRole", $this->_propDict)) { + if (is_a($this->_propDict["primaryRole"], "\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["primaryRole"])) { + return $this->_propDict["primaryRole"]; + } else { + $this->_propDict["primaryRole"] = new EducationUserRole($this->_propDict["primaryRole"]); + return $this->_propDict["primaryRole"]; + } + } + return null; + } + + /** + * Sets the primaryRole + * Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, faculty. Supports /$filter. + * + * @param EducationUserRole $val The primaryRole + * + * @return EducationUser + */ + public function setPrimaryRole($val) + { + $this->_propDict["primaryRole"] = $val; + return $this; + } + + + /** + * Gets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. + * + * @return array|null The provisionedPlans + */ + public function getProvisionedPlans() + { + if (array_key_exists("provisionedPlans", $this->_propDict)) { + return $this->_propDict["provisionedPlans"]; + } else { + return null; + } + } + + /** + * Sets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. + * + * @param ProvisionedPlan[] $val The provisionedPlans + * + * @return EducationUser + */ + public function setProvisionedPlans($val) + { + $this->_propDict["provisionedPlans"] = $val; + return $this; + } + + /** + * Gets the refreshTokensValidFromDateTime + * + * @return \DateTime|null The refreshTokensValidFromDateTime + */ + public function getRefreshTokensValidFromDateTime() + { + if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) { + if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime") || is_null($this->_propDict["refreshTokensValidFromDateTime"])) { + return $this->_propDict["refreshTokensValidFromDateTime"]; + } else { + $this->_propDict["refreshTokensValidFromDateTime"] = new \DateTime($this->_propDict["refreshTokensValidFromDateTime"]); + return $this->_propDict["refreshTokensValidFromDateTime"]; + } + } + return null; + } + + /** + * Sets the refreshTokensValidFromDateTime + * + * @param \DateTime $val The refreshTokensValidFromDateTime + * + * @return EducationUser + */ + public function setRefreshTokensValidFromDateTime($val) + { + $this->_propDict["refreshTokensValidFromDateTime"] = $val; + return $this; + } + + /** + * Gets the residenceAddress + * Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @return PhysicalAddress|null The residenceAddress + */ + public function getResidenceAddress() + { + if (array_key_exists("residenceAddress", $this->_propDict)) { + if (is_a($this->_propDict["residenceAddress"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["residenceAddress"])) { + return $this->_propDict["residenceAddress"]; + } else { + $this->_propDict["residenceAddress"] = new PhysicalAddress($this->_propDict["residenceAddress"]); + return $this->_propDict["residenceAddress"]; + } + } + return null; + } + + /** + * Sets the residenceAddress + * Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources. + * + * @param PhysicalAddress $val The residenceAddress + * + * @return EducationUser + */ + public function setResidenceAddress($val) + { + $this->_propDict["residenceAddress"] = $val; + return $this; + } + + /** + * Gets the showInAddressList + * True if the Outlook Global Address List should contain this user; otherwise, false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false. + * + * @return bool|null The showInAddressList + */ + public function getShowInAddressList() + { + if (array_key_exists("showInAddressList", $this->_propDict)) { + return $this->_propDict["showInAddressList"]; + } else { + return null; + } + } + + /** + * Sets the showInAddressList + * True if the Outlook Global Address List should contain this user; otherwise, false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false. + * + * @param bool $val The showInAddressList + * + * @return EducationUser + */ + public function setShowInAddressList($val) + { + $this->_propDict["showInAddressList"] = boolval($val); + return $this; + } + + /** + * Gets the student + * If the primary role is student, this block will contain student specific data. + * + * @return EducationStudent|null The student + */ + public function getStudent() + { + if (array_key_exists("student", $this->_propDict)) { + if (is_a($this->_propDict["student"], "\Microsoft\Graph\Model\EducationStudent") || is_null($this->_propDict["student"])) { + return $this->_propDict["student"]; + } else { + $this->_propDict["student"] = new EducationStudent($this->_propDict["student"]); + return $this->_propDict["student"]; + } + } + return null; + } + + /** + * Sets the student + * If the primary role is student, this block will contain student specific data. + * + * @param EducationStudent $val The student + * + * @return EducationUser + */ + public function setStudent($val) + { + $this->_propDict["student"] = $val; + return $this; + } + + /** + * Gets the surname + * The user's surname (family name or last name). Supports /$filter. + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The user's surname (family name or last name). Supports /$filter. + * + * @param string $val The surname + * + * @return EducationUser + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the teacher + * If the primary role is teacher, this block will contain teacher specific data. + * + * @return EducationTeacher|null The teacher + */ + public function getTeacher() + { + if (array_key_exists("teacher", $this->_propDict)) { + if (is_a($this->_propDict["teacher"], "\Microsoft\Graph\Model\EducationTeacher") || is_null($this->_propDict["teacher"])) { + return $this->_propDict["teacher"]; + } else { + $this->_propDict["teacher"] = new EducationTeacher($this->_propDict["teacher"]); + return $this->_propDict["teacher"]; + } + } + return null; + } + + /** + * Sets the teacher + * If the primary role is teacher, this block will contain teacher specific data. + * + * @param EducationTeacher $val The teacher + * + * @return EducationUser + */ + public function setTeacher($val) + { + $this->_propDict["teacher"] = $val; + return $this; + } + + /** + * Gets the usageLocation + * A two-letter country code ([ISO 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter. + * + * @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 + * A two-letter country code ([ISO 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter. + * + * @param string $val The usageLocation + * + * @return EducationUser + */ + public function setUsageLocation($val) + { + $this->_propDict["usageLocation"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details. + * + * @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 + * The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details. + * + * @param string $val The userPrincipalName + * + * @return EducationUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userType + * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports /$filter. + * + * @return string|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + return $this->_propDict["userType"]; + } else { + return null; + } + } + + /** + * Sets the userType + * A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports /$filter. + * + * @param string $val The userType + * + * @return EducationUser + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } + + + /** + * Gets the assignments + * List of assignments for the user. Nullable. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * List of assignments for the user. Nullable. + * + * @param EducationAssignment[] $val The assignments + * + * @return EducationUser + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the rubrics + * When set, the grading rubric attached to the assignment. + * + * @return array|null The rubrics + */ + public function getRubrics() + { + if (array_key_exists("rubrics", $this->_propDict)) { + return $this->_propDict["rubrics"]; + } else { + return null; + } + } + + /** + * Sets the rubrics + * When set, the grading rubric attached to the assignment. + * + * @param EducationRubric[] $val The rubrics + * + * @return EducationUser + */ + public function setRubrics($val) + { + $this->_propDict["rubrics"] = $val; + return $this; + } + + + /** + * Gets the classes + * Classes to which the user belongs. Nullable. + * + * @return array|null The classes + */ + public function getClasses() + { + if (array_key_exists("classes", $this->_propDict)) { + return $this->_propDict["classes"]; + } else { + return null; + } + } + + /** + * Sets the classes + * Classes to which the user belongs. Nullable. + * + * @param EducationClass[] $val The classes + * + * @return EducationUser + */ + public function setClasses($val) + { + $this->_propDict["classes"] = $val; + return $this; + } + + + /** + * Gets the schools + * Schools to which the user belongs. Nullable. + * + * @return array|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * Schools to which the user belongs. Nullable. + * + * @param EducationSchool[] $val The schools + * + * @return EducationUser + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + + /** + * Gets the taughtClasses + * Classes for which the user is a teacher. + * + * @return array|null The taughtClasses + */ + public function getTaughtClasses() + { + if (array_key_exists("taughtClasses", $this->_propDict)) { + return $this->_propDict["taughtClasses"]; + } else { + return null; + } + } + + /** + * Sets the taughtClasses + * Classes for which the user is a teacher. + * + * @param EducationClass[] $val The taughtClasses + * + * @return EducationUser + */ + public function setTaughtClasses($val) + { + $this->_propDict["taughtClasses"] = $val; + return $this; + } + + /** + * Gets the user + * The directory user that corresponds to this user. + * + * @return User|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\User") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new User($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * The directory user that corresponds to this user. + * + * @param User $val The user + * + * @return EducationUser + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationUserRole.php b/vendor/microsoft/microsoft-graph/src/Model/EducationUserRole.php new file mode 100644 index 0000000..859cbb5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EducationUserRole.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.educationWordResource"); + } + + /** + * Gets the fileUrl + * Location of the file on disk. + * + * @return string|null The fileUrl + */ + public function getFileUrl() + { + if (array_key_exists("fileUrl", $this->_propDict)) { + return $this->_propDict["fileUrl"]; + } else { + return null; + } + } + + /** + * Sets the fileUrl + * Location of the file on disk. + * + * @param string $val The value of the fileUrl + * + * @return EducationWordResource + */ + public function setFileUrl($val) + { + $this->_propDict["fileUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EmailAddress.php b/vendor/microsoft/microsoft-graph/src/Model/EmailAddress.php new file mode 100644 index 0000000..59adfb8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EmailAddress.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address of an entity instance. + * + * @param string $val The value of the address + * + * @return EmailAddress + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the name + * The display name of an entity instance. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of an entity instance. + * + * @param string $val The value of the name + * + * @return EmailAddress + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EmailAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/EmailAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..2dd9ef3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EmailAuthenticationMethodConfiguration.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["allowExternalIdToUseEmailOtp"], "\Microsoft\Graph\Model\ExternalEmailOtpState") || is_null($this->_propDict["allowExternalIdToUseEmailOtp"])) { + return $this->_propDict["allowExternalIdToUseEmailOtp"]; + } else { + $this->_propDict["allowExternalIdToUseEmailOtp"] = new ExternalEmailOtpState($this->_propDict["allowExternalIdToUseEmailOtp"]); + return $this->_propDict["allowExternalIdToUseEmailOtp"]; + } + } + return null; + } + + /** + * Sets the allowExternalIdToUseEmailOtp + * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who did not use public preview will automatically have email OTP enabled beginning in October 2021. + * + * @param ExternalEmailOtpState $val The allowExternalIdToUseEmailOtp + * + * @return EmailAuthenticationMethodConfiguration + */ + public function setAllowExternalIdToUseEmailOtp($val) + { + $this->_propDict["allowExternalIdToUseEmailOtp"] = $val; + return $this; + } + + + /** + * Gets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @return array|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return EmailAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EmailFileAssessmentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/EmailFileAssessmentRequest.php new file mode 100644 index 0000000..fed2e7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EmailFileAssessmentRequest.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["contentData"]; + } else { + return null; + } + } + + /** + * Sets the contentData + * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * + * @param string $val The contentData + * + * @return EmailFileAssessmentRequest + */ + public function setContentData($val) + { + $this->_propDict["contentData"] = $val; + return $this; + } + + /** + * Gets the destinationRoutingReason + * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. + * + * @return MailDestinationRoutingReason|null The destinationRoutingReason + */ + public function getDestinationRoutingReason() + { + if (array_key_exists("destinationRoutingReason", $this->_propDict)) { + if (is_a($this->_propDict["destinationRoutingReason"], "\Microsoft\Graph\Model\MailDestinationRoutingReason") || is_null($this->_propDict["destinationRoutingReason"])) { + return $this->_propDict["destinationRoutingReason"]; + } else { + $this->_propDict["destinationRoutingReason"] = new MailDestinationRoutingReason($this->_propDict["destinationRoutingReason"]); + return $this->_propDict["destinationRoutingReason"]; + } + } + return null; + } + + /** + * Sets the destinationRoutingReason + * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. + * + * @param MailDestinationRoutingReason $val The destinationRoutingReason + * + * @return EmailFileAssessmentRequest + */ + public function setDestinationRoutingReason($val) + { + $this->_propDict["destinationRoutingReason"] = $val; + return $this; + } + + /** + * Gets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @return string|null The recipientEmail + */ + public function getRecipientEmail() + { + if (array_key_exists("recipientEmail", $this->_propDict)) { + return $this->_propDict["recipientEmail"]; + } else { + return null; + } + } + + /** + * Sets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @param string $val The recipientEmail + * + * @return EmailFileAssessmentRequest + */ + public function setRecipientEmail($val) + { + $this->_propDict["recipientEmail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EmailRole.php b/vendor/microsoft/microsoft-graph/src/Model/EmailRole.php new file mode 100644 index 0000000..67e9c51 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EmailRole.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["costCenter"]; + } else { + return null; + } + } + + /** + * Sets the costCenter + * The cost center associated with the user. Returned only on $select. Supports $filter. + * + * @param string $val The value of the costCenter + * + * @return EmployeeOrgData + */ + public function setCostCenter($val) + { + $this->_propDict["costCenter"] = $val; + return $this; + } + /** + * Gets the division + * The name of the division in which the user works. Returned only on $select. Supports $filter. + * + * @return string|null The division + */ + public function getDivision() + { + if (array_key_exists("division", $this->_propDict)) { + return $this->_propDict["division"]; + } else { + return null; + } + } + + /** + * Sets the division + * The name of the division in which the user works. Returned only on $select. Supports $filter. + * + * @param string $val The value of the division + * + * @return EmployeeOrgData + */ + public function setDivision($val) + { + $this->_propDict["division"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Enablement.php b/vendor/microsoft/microsoft-graph/src/Model/Enablement.php new file mode 100644 index 0000000..3f58f60 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Enablement.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["capability"]; + } else { + return null; + } + } + + /** + * Sets the capability + * Describes the capability that is associated with this resource. (e.g. Messages, Conversations, etc.) Not nullable. Read-only. + * + * @param string $val The capability + * + * @return Endpoint + */ + public function setCapability($val) + { + $this->_propDict["capability"] = $val; + return $this; + } + + /** + * Gets the providerId + * Application id of the publishing underlying service. Not nullable. Read-only. + * + * @return string|null The providerId + */ + public function getProviderId() + { + if (array_key_exists("providerId", $this->_propDict)) { + return $this->_propDict["providerId"]; + } else { + return null; + } + } + + /** + * Sets the providerId + * Application id of the publishing underlying service. Not nullable. Read-only. + * + * @param string $val The providerId + * + * @return Endpoint + */ + public function setProviderId($val) + { + $this->_propDict["providerId"] = $val; + return $this; + } + + /** + * Gets the providerName + * Name of the publishing underlying service. Read-only. + * + * @return string|null The providerName + */ + public function getProviderName() + { + if (array_key_exists("providerName", $this->_propDict)) { + return $this->_propDict["providerName"]; + } else { + return null; + } + } + + /** + * Sets the providerName + * Name of the publishing underlying service. Read-only. + * + * @param string $val The providerName + * + * @return Endpoint + */ + public function setProviderName($val) + { + $this->_propDict["providerName"] = $val; + return $this; + } + + /** + * Gets the providerResourceId + * For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only. + * + * @return string|null The providerResourceId + */ + public function getProviderResourceId() + { + if (array_key_exists("providerResourceId", $this->_propDict)) { + return $this->_propDict["providerResourceId"]; + } else { + return null; + } + } + + /** + * Sets the providerResourceId + * For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only. + * + * @param string $val The providerResourceId + * + * @return Endpoint + */ + public function setProviderResourceId($val) + { + $this->_propDict["providerResourceId"] = $val; + return $this; + } + + /** + * Gets the uri + * URL of the published resource. Not nullable. Read-only. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * URL of the published resource. Not nullable. Read-only. + * + * @param string $val The uri + * + * @return Endpoint + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EndpointType.php b/vendor/microsoft/microsoft-graph/src/Model/EndpointType.php new file mode 100644 index 0000000..8c48648 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EndpointType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Represents an assignment to managed devices in the tenant + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return EnrollmentConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EnrollmentState.php b/vendor/microsoft/microsoft-graph/src/Model/EnrollmentState.php new file mode 100644 index 0000000..629c9ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EnrollmentState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * Azure AD device identifier. + * + * @param string $val The deviceId + * + * @return EnrollmentTroubleshootingEvent + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the enrollmentType + * Type of the enrollment. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @return DeviceEnrollmentType|null The enrollmentType + */ + public function getEnrollmentType() + { + if (array_key_exists("enrollmentType", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentType"], "\Microsoft\Graph\Model\DeviceEnrollmentType") || is_null($this->_propDict["enrollmentType"])) { + return $this->_propDict["enrollmentType"]; + } else { + $this->_propDict["enrollmentType"] = new DeviceEnrollmentType($this->_propDict["enrollmentType"]); + return $this->_propDict["enrollmentType"]; + } + } + return null; + } + + /** + * Sets the enrollmentType + * Type of the enrollment. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @param DeviceEnrollmentType $val The enrollmentType + * + * @return EnrollmentTroubleshootingEvent + */ + public function setEnrollmentType($val) + { + $this->_propDict["enrollmentType"] = $val; + return $this; + } + + /** + * Gets the failureCategory + * Highlevel failure category. Possible values are: unknown, authentication, authorization, accountValidation, userValidation, deviceNotSupported, inMaintenance, badRequest, featureNotSupported, enrollmentRestrictionsEnforced, clientDisconnected, userAbandonment. + * + * @return DeviceEnrollmentFailureReason|null The failureCategory + */ + public function getFailureCategory() + { + if (array_key_exists("failureCategory", $this->_propDict)) { + if (is_a($this->_propDict["failureCategory"], "\Microsoft\Graph\Model\DeviceEnrollmentFailureReason") || is_null($this->_propDict["failureCategory"])) { + return $this->_propDict["failureCategory"]; + } else { + $this->_propDict["failureCategory"] = new DeviceEnrollmentFailureReason($this->_propDict["failureCategory"]); + return $this->_propDict["failureCategory"]; + } + } + return null; + } + + /** + * Sets the failureCategory + * Highlevel failure category. Possible values are: unknown, authentication, authorization, accountValidation, userValidation, deviceNotSupported, inMaintenance, badRequest, featureNotSupported, enrollmentRestrictionsEnforced, clientDisconnected, userAbandonment. + * + * @param DeviceEnrollmentFailureReason $val The failureCategory + * + * @return EnrollmentTroubleshootingEvent + */ + public function setFailureCategory($val) + { + $this->_propDict["failureCategory"] = $val; + return $this; + } + + /** + * Gets the failureReason + * Detailed failure reason. + * + * @return string|null The failureReason + */ + public function getFailureReason() + { + if (array_key_exists("failureReason", $this->_propDict)) { + return $this->_propDict["failureReason"]; + } else { + return null; + } + } + + /** + * Sets the failureReason + * Detailed failure reason. + * + * @param string $val The failureReason + * + * @return EnrollmentTroubleshootingEvent + */ + public function setFailureReason($val) + { + $this->_propDict["failureReason"] = $val; + return $this; + } + + /** + * Gets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @return string|null The managedDeviceIdentifier + */ + public function getManagedDeviceIdentifier() + { + if (array_key_exists("managedDeviceIdentifier", $this->_propDict)) { + return $this->_propDict["managedDeviceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceIdentifier + * Device identifier created or collected by Intune. + * + * @param string $val The managedDeviceIdentifier + * + * @return EnrollmentTroubleshootingEvent + */ + public function setManagedDeviceIdentifier($val) + { + $this->_propDict["managedDeviceIdentifier"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * Operating System. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * Operating System. + * + * @param string $val The operatingSystem + * + * @return EnrollmentTroubleshootingEvent + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the osVersion + * OS Version. + * + * @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 + * OS Version. + * + * @param string $val The osVersion + * + * @return EnrollmentTroubleshootingEvent + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the userId + * Identifier for the user that tried to enroll the device. + * + * @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 + * Identifier for the user that tried to enroll the device. + * + * @param string $val The userId + * + * @return EnrollmentTroubleshootingEvent + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagement.php b/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagement.php new file mode 100644 index 0000000..0b03098 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagement.php @@ -0,0 +1,270 @@ +_propDict)) { + return $this->_propDict["accessPackageAssignmentApprovals"]; + } else { + return null; + } + } + + /** + * Sets the accessPackageAssignmentApprovals + * Approval stages for assignment requests. + * + * @param Approval[] $val The accessPackageAssignmentApprovals + * + * @return EntitlementManagement + */ + public function setAccessPackageAssignmentApprovals($val) + { + $this->_propDict["accessPackageAssignmentApprovals"] = $val; + return $this; + } + + + /** + * Gets the accessPackages + * Represents access package objects. + * + * @return array|null The accessPackages + */ + public function getAccessPackages() + { + if (array_key_exists("accessPackages", $this->_propDict)) { + return $this->_propDict["accessPackages"]; + } else { + return null; + } + } + + /** + * Sets the accessPackages + * Represents access package objects. + * + * @param AccessPackage[] $val The accessPackages + * + * @return EntitlementManagement + */ + public function setAccessPackages($val) + { + $this->_propDict["accessPackages"] = $val; + return $this; + } + + + /** + * Gets the assignmentPolicies + * Access package assignment policies. + * + * @return array|null The assignmentPolicies + */ + public function getAssignmentPolicies() + { + if (array_key_exists("assignmentPolicies", $this->_propDict)) { + return $this->_propDict["assignmentPolicies"]; + } else { + return null; + } + } + + /** + * Sets the assignmentPolicies + * Access package assignment policies. + * + * @param AccessPackageAssignmentPolicy[] $val The assignmentPolicies + * + * @return EntitlementManagement + */ + public function setAssignmentPolicies($val) + { + $this->_propDict["assignmentPolicies"] = $val; + return $this; + } + + + /** + * Gets the assignmentRequests + * Represents access package assignment requests created by or on behalf of a user. + * + * @return array|null The assignmentRequests + */ + public function getAssignmentRequests() + { + if (array_key_exists("assignmentRequests", $this->_propDict)) { + return $this->_propDict["assignmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the assignmentRequests + * Represents access package assignment requests created by or on behalf of a user. + * + * @param AccessPackageAssignmentRequest[] $val The assignmentRequests + * + * @return EntitlementManagement + */ + public function setAssignmentRequests($val) + { + $this->_propDict["assignmentRequests"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Represents the grant of an access package to a subject (user or group). + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Represents the grant of an access package to a subject (user or group). + * + * @param AccessPackageAssignment[] $val The assignments + * + * @return EntitlementManagement + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the catalogs + * Represents a collection of access packages. + * + * @return array|null The catalogs + */ + public function getCatalogs() + { + if (array_key_exists("catalogs", $this->_propDict)) { + return $this->_propDict["catalogs"]; + } else { + return null; + } + } + + /** + * Sets the catalogs + * Represents a collection of access packages. + * + * @param AccessPackageCatalog[] $val The catalogs + * + * @return EntitlementManagement + */ + public function setCatalogs($val) + { + $this->_propDict["catalogs"] = $val; + return $this; + } + + + /** + * Gets the connectedOrganizations + * Represents references to a directory or domain of another organization whose users can request access. + * + * @return array|null The connectedOrganizations + */ + public function getConnectedOrganizations() + { + if (array_key_exists("connectedOrganizations", $this->_propDict)) { + return $this->_propDict["connectedOrganizations"]; + } else { + return null; + } + } + + /** + * Sets the connectedOrganizations + * Represents references to a directory or domain of another organization whose users can request access. + * + * @param ConnectedOrganization[] $val The connectedOrganizations + * + * @return EntitlementManagement + */ + public function setConnectedOrganizations($val) + { + $this->_propDict["connectedOrganizations"] = $val; + return $this; + } + + /** + * Gets the settings + * Represents the settings that control the behavior of Azure AD entitlement management. + * + * @return EntitlementManagementSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\EntitlementManagementSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new EntitlementManagementSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Represents the settings that control the behavior of Azure AD entitlement management. + * + * @param EntitlementManagementSettings $val The settings + * + * @return EntitlementManagement + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagementSchedule.php b/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagementSchedule.php new file mode 100644 index 0000000..0ee8066 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagementSchedule.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["expiration"], "\Microsoft\Graph\Model\ExpirationPattern") || is_null($this->_propDict["expiration"])) { + return $this->_propDict["expiration"]; + } else { + $this->_propDict["expiration"] = new ExpirationPattern($this->_propDict["expiration"]); + return $this->_propDict["expiration"]; + } + } + return null; + } + + /** + * Sets the expiration + * When the access should expire. + * + * @param ExpirationPattern $val The value to assign to the expiration + * + * @return EntitlementManagementSchedule The EntitlementManagementSchedule + */ + public function setExpiration($val) + { + $this->_propDict["expiration"] = $val; + return $this; + } + + /** + * Gets the recurrence + * For recurring access reviews. Not used in access requests. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * For recurring access reviews. Not used in access requests. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return EntitlementManagementSchedule The EntitlementManagementSchedule + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return EntitlementManagementSchedule The EntitlementManagementSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagementSettings.php b/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagementSettings.php new file mode 100644 index 0000000..231ac57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EntitlementManagementSettings.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["durationUntilExternalUserDeletedAfterBlocked"], "\DateInterval") || is_null($this->_propDict["durationUntilExternalUserDeletedAfterBlocked"])) { + return $this->_propDict["durationUntilExternalUserDeletedAfterBlocked"]; + } else { + $this->_propDict["durationUntilExternalUserDeletedAfterBlocked"] = new \DateInterval($this->_propDict["durationUntilExternalUserDeletedAfterBlocked"]); + return $this->_propDict["durationUntilExternalUserDeletedAfterBlocked"]; + } + } + return null; + } + + /** + * Sets the durationUntilExternalUserDeletedAfterBlocked + * If externalUserLifecycleAction is blockSignInAndDelete, the duration, typically a number of days, after an external user is blocked from sign in before their account is deleted. + * + * @param \DateInterval $val The durationUntilExternalUserDeletedAfterBlocked + * + * @return EntitlementManagementSettings + */ + public function setDurationUntilExternalUserDeletedAfterBlocked($val) + { + $this->_propDict["durationUntilExternalUserDeletedAfterBlocked"] = $val; + return $this; + } + + /** + * Gets the externalUserLifecycleAction + * One of None, BlockSignIn, or BlockSignInAndDelete. + * + * @return AccessPackageExternalUserLifecycleAction|null The externalUserLifecycleAction + */ + public function getExternalUserLifecycleAction() + { + if (array_key_exists("externalUserLifecycleAction", $this->_propDict)) { + if (is_a($this->_propDict["externalUserLifecycleAction"], "\Microsoft\Graph\Model\AccessPackageExternalUserLifecycleAction") || is_null($this->_propDict["externalUserLifecycleAction"])) { + return $this->_propDict["externalUserLifecycleAction"]; + } else { + $this->_propDict["externalUserLifecycleAction"] = new AccessPackageExternalUserLifecycleAction($this->_propDict["externalUserLifecycleAction"]); + return $this->_propDict["externalUserLifecycleAction"]; + } + } + return null; + } + + /** + * Sets the externalUserLifecycleAction + * One of None, BlockSignIn, or BlockSignInAndDelete. + * + * @param AccessPackageExternalUserLifecycleAction $val The externalUserLifecycleAction + * + * @return EntitlementManagementSettings + */ + public function setExternalUserLifecycleAction($val) + { + $this->_propDict["externalUserLifecycleAction"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Entity.php b/vendor/microsoft/microsoft-graph/src/Model/Entity.php new file mode 100644 index 0000000..f01e026 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Entity.php @@ -0,0 +1,133 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Entity + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the id + * Read-only. + * + * @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 + * Read-only. + * + * @param string $val The id + * + * @return Entity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + 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 Entity + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EntityType.php b/vendor/microsoft/microsoft-graph/src/Model/EntityType.php new file mode 100644 index 0000000..a7365a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EntityType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["allowNewTimeProposals"]; + } else { + return null; + } + } + + /** + * Sets the allowNewTimeProposals + * true if the meeting organizer allows invitees to propose a new time when responding; otherwise false. Optional. Default is true. + * + * @param bool $val The allowNewTimeProposals + * + * @return Event + */ + public function setAllowNewTimeProposals($val) + { + $this->_propDict["allowNewTimeProposals"] = boolval($val); + return $this; + } + + + /** + * Gets the attendees + * The collection of attendees for the event. + * + * @return array|null The attendees + */ + public function getAttendees() + { + if (array_key_exists("attendees", $this->_propDict)) { + return $this->_propDict["attendees"]; + } else { + return null; + } + } + + /** + * Sets the attendees + * The collection of attendees for the event. + * + * @param Attendee[] $val The attendees + * + * @return Event + */ + public function setAttendees($val) + { + $this->_propDict["attendees"] = $val; + return $this; + } + + /** + * Gets the body + * The body of the message associated with the event. It can be in HTML or text format. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The body of the message associated with the event. It can be in HTML or text format. + * + * @param ItemBody $val The body + * + * @return Event + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the bodyPreview + * The preview of the message associated with the event. It is in text format. + * + * @return string|null The bodyPreview + */ + public function getBodyPreview() + { + if (array_key_exists("bodyPreview", $this->_propDict)) { + return $this->_propDict["bodyPreview"]; + } else { + return null; + } + } + + /** + * Sets the bodyPreview + * The preview of the message associated with the event. It is in text format. + * + * @param string $val The bodyPreview + * + * @return Event + */ + public function setBodyPreview($val) + { + $this->_propDict["bodyPreview"] = $val; + return $this; + } + + /** + * Gets the end + * The date, time, and time zone that the event ends. By default, the end time is in UTC. + * + * @return DateTimeTimeZone|null The end + */ + public function getEnd() + { + if (array_key_exists("end", $this->_propDict)) { + if (is_a($this->_propDict["end"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that the event ends. By default, the end time is in UTC. + * + * @param DateTimeTimeZone $val The end + * + * @return Event + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Set to true if the event has attachments. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Set to true if the event has attachments. + * + * @param bool $val The hasAttachments + * + * @return Event + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the hideAttendees + * When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false. + * + * @return bool|null The hideAttendees + */ + public function getHideAttendees() + { + if (array_key_exists("hideAttendees", $this->_propDict)) { + return $this->_propDict["hideAttendees"]; + } else { + return null; + } + } + + /** + * Sets the hideAttendees + * When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false. + * + * @param bool $val The hideAttendees + * + * @return Event + */ + public function setHideAttendees($val) + { + $this->_propDict["hideAttendees"] = boolval($val); + return $this; + } + + /** + * Gets the iCalUId + * A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only. + * + * @return string|null The iCalUId + */ + public function getICalUId() + { + if (array_key_exists("iCalUId", $this->_propDict)) { + return $this->_propDict["iCalUId"]; + } else { + return null; + } + } + + /** + * Sets the iCalUId + * A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only. + * + * @param string $val The iCalUId + * + * @return Event + */ + public function setICalUId($val) + { + $this->_propDict["iCalUId"] = $val; + return $this; + } + + /** + * Gets the importance + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param Importance $val The importance + * + * @return Event + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the isAllDay + * + * @return bool|null The isAllDay + */ + public function getIsAllDay() + { + if (array_key_exists("isAllDay", $this->_propDict)) { + return $this->_propDict["isAllDay"]; + } else { + return null; + } + } + + /** + * Sets the isAllDay + * + * @param bool $val The isAllDay + * + * @return Event + */ + public function setIsAllDay($val) + { + $this->_propDict["isAllDay"] = boolval($val); + return $this; + } + + /** + * Gets the isCancelled + * + * @return bool|null The isCancelled + */ + public function getIsCancelled() + { + if (array_key_exists("isCancelled", $this->_propDict)) { + return $this->_propDict["isCancelled"]; + } else { + return null; + } + } + + /** + * Sets the isCancelled + * + * @param bool $val The isCancelled + * + * @return Event + */ + public function setIsCancelled($val) + { + $this->_propDict["isCancelled"] = boolval($val); + return $this; + } + + /** + * Gets the isDraft + * + * @return bool|null The isDraft + */ + public function getIsDraft() + { + if (array_key_exists("isDraft", $this->_propDict)) { + return $this->_propDict["isDraft"]; + } else { + return null; + } + } + + /** + * Sets the isDraft + * + * @param bool $val The isDraft + * + * @return Event + */ + public function setIsDraft($val) + { + $this->_propDict["isDraft"] = boolval($val); + return $this; + } + + /** + * Gets the isOnlineMeeting + * + * @return bool|null The isOnlineMeeting + */ + public function getIsOnlineMeeting() + { + if (array_key_exists("isOnlineMeeting", $this->_propDict)) { + return $this->_propDict["isOnlineMeeting"]; + } else { + return null; + } + } + + /** + * Sets the isOnlineMeeting + * + * @param bool $val The isOnlineMeeting + * + * @return Event + */ + public function setIsOnlineMeeting($val) + { + $this->_propDict["isOnlineMeeting"] = boolval($val); + return $this; + } + + /** + * Gets the isOrganizer + * + * @return bool|null The isOrganizer + */ + public function getIsOrganizer() + { + if (array_key_exists("isOrganizer", $this->_propDict)) { + return $this->_propDict["isOrganizer"]; + } else { + return null; + } + } + + /** + * Sets the isOrganizer + * + * @param bool $val The isOrganizer + * + * @return Event + */ + public function setIsOrganizer($val) + { + $this->_propDict["isOrganizer"] = boolval($val); + return $this; + } + + /** + * Gets the isReminderOn + * + * @return bool|null The isReminderOn + */ + public function getIsReminderOn() + { + if (array_key_exists("isReminderOn", $this->_propDict)) { + return $this->_propDict["isReminderOn"]; + } else { + return null; + } + } + + /** + * Sets the isReminderOn + * + * @param bool $val The isReminderOn + * + * @return Event + */ + public function setIsReminderOn($val) + { + $this->_propDict["isReminderOn"] = boolval($val); + return $this; + } + + /** + * Gets the location + * + * @return Location|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new Location($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * + * @param Location $val The location + * + * @return Event + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + + /** + * Gets the locations + * + * @return array|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + return $this->_propDict["locations"]; + } else { + return null; + } + } + + /** + * Sets the locations + * + * @param Location[] $val The locations + * + * @return Event + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + + /** + * Gets the onlineMeeting + * + * @return OnlineMeetingInfo|null The onlineMeeting + */ + public function getOnlineMeeting() + { + if (array_key_exists("onlineMeeting", $this->_propDict)) { + if (is_a($this->_propDict["onlineMeeting"], "\Microsoft\Graph\Model\OnlineMeetingInfo") || is_null($this->_propDict["onlineMeeting"])) { + return $this->_propDict["onlineMeeting"]; + } else { + $this->_propDict["onlineMeeting"] = new OnlineMeetingInfo($this->_propDict["onlineMeeting"]); + return $this->_propDict["onlineMeeting"]; + } + } + return null; + } + + /** + * Sets the onlineMeeting + * + * @param OnlineMeetingInfo $val The onlineMeeting + * + * @return Event + */ + public function setOnlineMeeting($val) + { + $this->_propDict["onlineMeeting"] = $val; + return $this; + } + + /** + * Gets the onlineMeetingProvider + * + * @return OnlineMeetingProviderType|null The onlineMeetingProvider + */ + public function getOnlineMeetingProvider() + { + if (array_key_exists("onlineMeetingProvider", $this->_propDict)) { + if (is_a($this->_propDict["onlineMeetingProvider"], "\Microsoft\Graph\Model\OnlineMeetingProviderType") || is_null($this->_propDict["onlineMeetingProvider"])) { + return $this->_propDict["onlineMeetingProvider"]; + } else { + $this->_propDict["onlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["onlineMeetingProvider"]); + return $this->_propDict["onlineMeetingProvider"]; + } + } + return null; + } + + /** + * Sets the onlineMeetingProvider + * + * @param OnlineMeetingProviderType $val The onlineMeetingProvider + * + * @return Event + */ + public function setOnlineMeetingProvider($val) + { + $this->_propDict["onlineMeetingProvider"] = $val; + return $this; + } + + /** + * Gets the onlineMeetingUrl + * + * @return string|null The onlineMeetingUrl + */ + public function getOnlineMeetingUrl() + { + if (array_key_exists("onlineMeetingUrl", $this->_propDict)) { + return $this->_propDict["onlineMeetingUrl"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetingUrl + * + * @param string $val The onlineMeetingUrl + * + * @return Event + */ + public function setOnlineMeetingUrl($val) + { + $this->_propDict["onlineMeetingUrl"] = $val; + return $this; + } + + /** + * Gets the organizer + * + * @return Recipient|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new Recipient($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * + * @param Recipient $val The organizer + * + * @return Event + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } + + /** + * Gets the originalEndTimeZone + * + * @return string|null The originalEndTimeZone + */ + public function getOriginalEndTimeZone() + { + if (array_key_exists("originalEndTimeZone", $this->_propDict)) { + return $this->_propDict["originalEndTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the originalEndTimeZone + * + * @param string $val The originalEndTimeZone + * + * @return Event + */ + public function setOriginalEndTimeZone($val) + { + $this->_propDict["originalEndTimeZone"] = $val; + return $this; + } + + /** + * Gets the originalStart + * + * @return \DateTime|null The originalStart + */ + public function getOriginalStart() + { + if (array_key_exists("originalStart", $this->_propDict)) { + if (is_a($this->_propDict["originalStart"], "\DateTime") || is_null($this->_propDict["originalStart"])) { + return $this->_propDict["originalStart"]; + } else { + $this->_propDict["originalStart"] = new \DateTime($this->_propDict["originalStart"]); + return $this->_propDict["originalStart"]; + } + } + return null; + } + + /** + * Sets the originalStart + * + * @param \DateTime $val The originalStart + * + * @return Event + */ + public function setOriginalStart($val) + { + $this->_propDict["originalStart"] = $val; + return $this; + } + + /** + * Gets the originalStartTimeZone + * + * @return string|null The originalStartTimeZone + */ + public function getOriginalStartTimeZone() + { + if (array_key_exists("originalStartTimeZone", $this->_propDict)) { + return $this->_propDict["originalStartTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the originalStartTimeZone + * + * @param string $val The originalStartTimeZone + * + * @return Event + */ + public function setOriginalStartTimeZone($val) + { + $this->_propDict["originalStartTimeZone"] = $val; + return $this; + } + + /** + * Gets the recurrence + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * + * @param PatternedRecurrence $val The recurrence + * + * @return Event + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the reminderMinutesBeforeStart + * + * @return int|null The reminderMinutesBeforeStart + */ + public function getReminderMinutesBeforeStart() + { + if (array_key_exists("reminderMinutesBeforeStart", $this->_propDict)) { + return $this->_propDict["reminderMinutesBeforeStart"]; + } else { + return null; + } + } + + /** + * Sets the reminderMinutesBeforeStart + * + * @param int $val The reminderMinutesBeforeStart + * + * @return Event + */ + public function setReminderMinutesBeforeStart($val) + { + $this->_propDict["reminderMinutesBeforeStart"] = intval($val); + return $this; + } + + /** + * Gets the responseRequested + * + * @return bool|null The responseRequested + */ + public function getResponseRequested() + { + if (array_key_exists("responseRequested", $this->_propDict)) { + return $this->_propDict["responseRequested"]; + } else { + return null; + } + } + + /** + * Sets the responseRequested + * + * @param bool $val The responseRequested + * + * @return Event + */ + public function setResponseRequested($val) + { + $this->_propDict["responseRequested"] = boolval($val); + return $this; + } + + /** + * Gets the responseStatus + * + * @return ResponseStatus|null The responseStatus + */ + public function getResponseStatus() + { + if (array_key_exists("responseStatus", $this->_propDict)) { + if (is_a($this->_propDict["responseStatus"], "\Microsoft\Graph\Model\ResponseStatus") || is_null($this->_propDict["responseStatus"])) { + return $this->_propDict["responseStatus"]; + } else { + $this->_propDict["responseStatus"] = new ResponseStatus($this->_propDict["responseStatus"]); + return $this->_propDict["responseStatus"]; + } + } + return null; + } + + /** + * Sets the responseStatus + * + * @param ResponseStatus $val The responseStatus + * + * @return Event + */ + public function setResponseStatus($val) + { + $this->_propDict["responseStatus"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * + * @return Sensitivity|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + if (is_a($this->_propDict["sensitivity"], "\Microsoft\Graph\Model\Sensitivity") || is_null($this->_propDict["sensitivity"])) { + return $this->_propDict["sensitivity"]; + } else { + $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); + return $this->_propDict["sensitivity"]; + } + } + return null; + } + + /** + * Sets the sensitivity + * + * @param Sensitivity $val The sensitivity + * + * @return Event + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = $val; + return $this; + } + + /** + * Gets the seriesMasterId + * + * @return string|null The seriesMasterId + */ + public function getSeriesMasterId() + { + if (array_key_exists("seriesMasterId", $this->_propDict)) { + return $this->_propDict["seriesMasterId"]; + } else { + return null; + } + } + + /** + * Sets the seriesMasterId + * + * @param string $val The seriesMasterId + * + * @return Event + */ + public function setSeriesMasterId($val) + { + $this->_propDict["seriesMasterId"] = $val; + return $this; + } + + /** + * Gets the showAs + * + * @return FreeBusyStatus|null The showAs + */ + public function getShowAs() + { + if (array_key_exists("showAs", $this->_propDict)) { + if (is_a($this->_propDict["showAs"], "\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["showAs"])) { + return $this->_propDict["showAs"]; + } else { + $this->_propDict["showAs"] = new FreeBusyStatus($this->_propDict["showAs"]); + return $this->_propDict["showAs"]; + } + } + return null; + } + + /** + * Sets the showAs + * + * @param FreeBusyStatus $val The showAs + * + * @return Event + */ + public function setShowAs($val) + { + $this->_propDict["showAs"] = $val; + return $this; + } + + /** + * Gets the start + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * + * @param DateTimeTimeZone $val The start + * + * @return Event + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Event + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the transactionId + * + * @return string|null The transactionId + */ + public function getTransactionId() + { + if (array_key_exists("transactionId", $this->_propDict)) { + return $this->_propDict["transactionId"]; + } else { + return null; + } + } + + /** + * Sets the transactionId + * + * @param string $val The transactionId + * + * @return Event + */ + public function setTransactionId($val) + { + $this->_propDict["transactionId"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return EventType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\EventType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new EventType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param EventType $val The type + * + * @return Event + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the webLink + * + * @return string|null The webLink + */ + public function getWebLink() + { + if (array_key_exists("webLink", $this->_propDict)) { + return $this->_propDict["webLink"]; + } else { + return null; + } + } + + /** + * Sets the webLink + * + * @param string $val The webLink + * + * @return Event + */ + public function setWebLink($val) + { + $this->_propDict["webLink"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. + * + * @param Attachment[] $val The attachments + * + * @return Event + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + /** + * Gets the calendar + * The calendar that contains the event. Navigation property. Read-only. + * + * @return Calendar|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Microsoft\Graph\Model\Calendar") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * The calendar that contains the event. Navigation property. Read-only. + * + * @param Calendar $val The calendar + * + * @return Event + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the event. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the event. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Event + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the instances + * The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. + * + * @return array|null The instances + */ + public function getInstances() + { + if (array_key_exists("instances", $this->_propDict)) { + return $this->_propDict["instances"]; + } else { + return null; + } + } + + /** + * Sets the instances + * The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. + * + * @param Event[] $val The instances + * + * @return Event + */ + public function setInstances($val) + { + $this->_propDict["instances"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the event. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Event + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the event. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Event + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EventMessage.php b/vendor/microsoft/microsoft-graph/src/Model/EventMessage.php new file mode 100644 index 0000000..da20fd6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EventMessage.php @@ -0,0 +1,329 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new DateTimeTimeZone($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the requested meeting. + * + * @param DateTimeTimeZone $val The endDateTime + * + * @return EventMessage + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the isAllDay + * + * @return bool|null The isAllDay + */ + public function getIsAllDay() + { + if (array_key_exists("isAllDay", $this->_propDict)) { + return $this->_propDict["isAllDay"]; + } else { + return null; + } + } + + /** + * Sets the isAllDay + * + * @param bool $val The isAllDay + * + * @return EventMessage + */ + public function setIsAllDay($val) + { + $this->_propDict["isAllDay"] = boolval($val); + return $this; + } + + /** + * Gets the isDelegated + * + * @return bool|null The isDelegated + */ + public function getIsDelegated() + { + if (array_key_exists("isDelegated", $this->_propDict)) { + return $this->_propDict["isDelegated"]; + } else { + return null; + } + } + + /** + * Sets the isDelegated + * + * @param bool $val The isDelegated + * + * @return EventMessage + */ + public function setIsDelegated($val) + { + $this->_propDict["isDelegated"] = boolval($val); + return $this; + } + + /** + * Gets the isOutOfDate + * + * @return bool|null The isOutOfDate + */ + public function getIsOutOfDate() + { + if (array_key_exists("isOutOfDate", $this->_propDict)) { + return $this->_propDict["isOutOfDate"]; + } else { + return null; + } + } + + /** + * Sets the isOutOfDate + * + * @param bool $val The isOutOfDate + * + * @return EventMessage + */ + public function setIsOutOfDate($val) + { + $this->_propDict["isOutOfDate"] = boolval($val); + return $this; + } + + /** + * Gets the location + * + * @return Location|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new Location($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * + * @param Location $val The location + * + * @return EventMessage + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the meetingMessageType + * + * @return MeetingMessageType|null The meetingMessageType + */ + public function getMeetingMessageType() + { + if (array_key_exists("meetingMessageType", $this->_propDict)) { + if (is_a($this->_propDict["meetingMessageType"], "\Microsoft\Graph\Model\MeetingMessageType") || is_null($this->_propDict["meetingMessageType"])) { + return $this->_propDict["meetingMessageType"]; + } else { + $this->_propDict["meetingMessageType"] = new MeetingMessageType($this->_propDict["meetingMessageType"]); + return $this->_propDict["meetingMessageType"]; + } + } + return null; + } + + /** + * Sets the meetingMessageType + * + * @param MeetingMessageType $val The meetingMessageType + * + * @return EventMessage + */ + public function setMeetingMessageType($val) + { + $this->_propDict["meetingMessageType"] = $val; + return $this; + } + + /** + * Gets the recurrence + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * + * @param PatternedRecurrence $val The recurrence + * + * @return EventMessage + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param DateTimeTimeZone $val The startDateTime + * + * @return EventMessage + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return EventType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\EventType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new EventType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param EventType $val The type + * + * @return EventMessage + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the event + * The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. + * + * @return Event|null The event + */ + public function getEvent() + { + if (array_key_exists("event", $this->_propDict)) { + if (is_a($this->_propDict["event"], "\Microsoft\Graph\Model\Event") || is_null($this->_propDict["event"])) { + return $this->_propDict["event"]; + } else { + $this->_propDict["event"] = new Event($this->_propDict["event"]); + return $this->_propDict["event"]; + } + } + return null; + } + + /** + * Sets the event + * The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only. + * + * @param Event $val The event + * + * @return EventMessage + */ + public function setEvent($val) + { + $this->_propDict["event"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/EventMessageDetail.php new file mode 100644 index 0000000..6603bcf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EventMessageDetail.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["allowNewTimeProposals"]; + } else { + return null; + } + } + + /** + * Sets the allowNewTimeProposals + * True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true. + * + * @param bool $val The allowNewTimeProposals + * + * @return EventMessageRequest + */ + public function setAllowNewTimeProposals($val) + { + $this->_propDict["allowNewTimeProposals"] = boolval($val); + return $this; + } + + /** + * Gets the meetingRequestType + * + * @return MeetingRequestType|null The meetingRequestType + */ + public function getMeetingRequestType() + { + if (array_key_exists("meetingRequestType", $this->_propDict)) { + if (is_a($this->_propDict["meetingRequestType"], "\Microsoft\Graph\Model\MeetingRequestType") || is_null($this->_propDict["meetingRequestType"])) { + return $this->_propDict["meetingRequestType"]; + } else { + $this->_propDict["meetingRequestType"] = new MeetingRequestType($this->_propDict["meetingRequestType"]); + return $this->_propDict["meetingRequestType"]; + } + } + return null; + } + + /** + * Sets the meetingRequestType + * + * @param MeetingRequestType $val The meetingRequestType + * + * @return EventMessageRequest + */ + public function setMeetingRequestType($val) + { + $this->_propDict["meetingRequestType"] = $val; + return $this; + } + + /** + * Gets the previousEndDateTime + * If the meeting update changes the meeting end time, this property specifies the previous meeting end time. + * + * @return DateTimeTimeZone|null The previousEndDateTime + */ + public function getPreviousEndDateTime() + { + if (array_key_exists("previousEndDateTime", $this->_propDict)) { + if (is_a($this->_propDict["previousEndDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["previousEndDateTime"])) { + return $this->_propDict["previousEndDateTime"]; + } else { + $this->_propDict["previousEndDateTime"] = new DateTimeTimeZone($this->_propDict["previousEndDateTime"]); + return $this->_propDict["previousEndDateTime"]; + } + } + return null; + } + + /** + * Sets the previousEndDateTime + * If the meeting update changes the meeting end time, this property specifies the previous meeting end time. + * + * @param DateTimeTimeZone $val The previousEndDateTime + * + * @return EventMessageRequest + */ + public function setPreviousEndDateTime($val) + { + $this->_propDict["previousEndDateTime"] = $val; + return $this; + } + + /** + * Gets the previousLocation + * If the meeting update changes the meeting location, this property specifies the previous meeting location. + * + * @return Location|null The previousLocation + */ + public function getPreviousLocation() + { + if (array_key_exists("previousLocation", $this->_propDict)) { + if (is_a($this->_propDict["previousLocation"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["previousLocation"])) { + return $this->_propDict["previousLocation"]; + } else { + $this->_propDict["previousLocation"] = new Location($this->_propDict["previousLocation"]); + return $this->_propDict["previousLocation"]; + } + } + return null; + } + + /** + * Sets the previousLocation + * If the meeting update changes the meeting location, this property specifies the previous meeting location. + * + * @param Location $val The previousLocation + * + * @return EventMessageRequest + */ + public function setPreviousLocation($val) + { + $this->_propDict["previousLocation"] = $val; + return $this; + } + + /** + * Gets the previousStartDateTime + * If the meeting update changes the meeting start time, this property specifies the previous meeting start time. + * + * @return DateTimeTimeZone|null The previousStartDateTime + */ + public function getPreviousStartDateTime() + { + if (array_key_exists("previousStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["previousStartDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["previousStartDateTime"])) { + return $this->_propDict["previousStartDateTime"]; + } else { + $this->_propDict["previousStartDateTime"] = new DateTimeTimeZone($this->_propDict["previousStartDateTime"]); + return $this->_propDict["previousStartDateTime"]; + } + } + return null; + } + + /** + * Sets the previousStartDateTime + * If the meeting update changes the meeting start time, this property specifies the previous meeting start time. + * + * @param DateTimeTimeZone $val The previousStartDateTime + * + * @return EventMessageRequest + */ + public function setPreviousStartDateTime($val) + { + $this->_propDict["previousStartDateTime"] = $val; + return $this; + } + + /** + * Gets the responseRequested + * Set to true if the sender would like the invitee to send a response to the requested meeting. + * + * @return bool|null The responseRequested + */ + public function getResponseRequested() + { + if (array_key_exists("responseRequested", $this->_propDict)) { + return $this->_propDict["responseRequested"]; + } else { + return null; + } + } + + /** + * Sets the responseRequested + * Set to true if the sender would like the invitee to send a response to the requested meeting. + * + * @param bool $val The responseRequested + * + * @return EventMessageRequest + */ + public function setResponseRequested($val) + { + $this->_propDict["responseRequested"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EventMessageResponse.php b/vendor/microsoft/microsoft-graph/src/Model/EventMessageResponse.php new file mode 100644 index 0000000..5c5b03e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EventMessageResponse.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["proposedNewTime"], "\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["proposedNewTime"])) { + return $this->_propDict["proposedNewTime"]; + } else { + $this->_propDict["proposedNewTime"] = new TimeSlot($this->_propDict["proposedNewTime"]); + return $this->_propDict["proposedNewTime"]; + } + } + return null; + } + + /** + * Sets the proposedNewTime + * + * @param TimeSlot $val The proposedNewTime + * + * @return EventMessageResponse + */ + public function setProposedNewTime($val) + { + $this->_propDict["proposedNewTime"] = $val; + return $this; + } + + /** + * Gets the responseType + * + * @return ResponseType|null The responseType + */ + public function getResponseType() + { + if (array_key_exists("responseType", $this->_propDict)) { + if (is_a($this->_propDict["responseType"], "\Microsoft\Graph\Model\ResponseType") || is_null($this->_propDict["responseType"])) { + return $this->_propDict["responseType"]; + } else { + $this->_propDict["responseType"] = new ResponseType($this->_propDict["responseType"]); + return $this->_propDict["responseType"]; + } + } + return null; + } + + /** + * Sets the responseType + * + * @param ResponseType $val The responseType + * + * @return EventMessageResponse + */ + public function setResponseType($val) + { + $this->_propDict["responseType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EventType.php b/vendor/microsoft/microsoft-graph/src/Model/EventType.php new file mode 100644 index 0000000..d9a6273 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/EventType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The object identifier of an Azure AD user or group. + * + * @param string $val The value of the id + * + * @return ExcludeTarget + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @return AuthenticationMethodTargetType|null The targetType + */ + public function getTargetType() + { + if (array_key_exists("targetType", $this->_propDict)) { + if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { + return $this->_propDict["targetType"]; + } else { + $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); + return $this->_propDict["targetType"]; + } + } + return null; + } + + /** + * Sets the targetType + * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. + * + * @param AuthenticationMethodTargetType $val The value to assign to the targetType + * + * @return ExcludeTarget The ExcludeTarget + */ + public function setTargetType($val) + { + $this->_propDict["targetType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ExclusionGroupAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/ExclusionGroupAssignmentTarget.php new file mode 100644 index 0000000..16af6ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ExclusionGroupAssignmentTarget.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) { + return $this->_propDict["duration"]; + } else { + $this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]); + return $this->_propDict["duration"]; + } + } + return null; + } + + /** + * Sets the duration + * The requestor's desired duration of access represented in ISO 8601 format for durations. For example, PT3H refers to three hours. If specified in a request, endDateTime should not be present and the type property should be set to afterDuration. + * + * @param \DateInterval $val The value to assign to the duration + * + * @return ExpirationPattern The ExpirationPattern + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Timestamp of 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Timestamp of 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 endDateTime + * + * @return ExpirationPattern The ExpirationPattern + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the type + * The requestor's desired expiration pattern type. + * + * @return ExpirationPatternType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\ExpirationPatternType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new ExpirationPatternType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The requestor's desired expiration pattern type. + * + * @param ExpirationPatternType $val The value to assign to the type + * + * @return ExpirationPattern The ExpirationPattern + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ExpirationPatternType.php b/vendor/microsoft/microsoft-graph/src/Model/ExpirationPatternType.php new file mode 100644 index 0000000..b3e6822 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ExpirationPatternType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * Display name of the application object on which this extension property is defined. Read-only. + * + * @param string $val The appDisplayName + * + * @return ExtensionProperty + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the dataType + * Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum + * + * @return string|null The dataType + */ + public function getDataType() + { + if (array_key_exists("dataType", $this->_propDict)) { + return $this->_propDict["dataType"]; + } else { + return null; + } + } + + /** + * Sets the dataType + * Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum + * + * @param string $val The dataType + * + * @return ExtensionProperty + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + + /** + * Gets the isSyncedFromOnPremises + * Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only. + * + * @return bool|null The isSyncedFromOnPremises + */ + public function getIsSyncedFromOnPremises() + { + if (array_key_exists("isSyncedFromOnPremises", $this->_propDict)) { + return $this->_propDict["isSyncedFromOnPremises"]; + } else { + return null; + } + } + + /** + * Sets the isSyncedFromOnPremises + * Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only. + * + * @param bool $val The isSyncedFromOnPremises + * + * @return ExtensionProperty + */ + public function setIsSyncedFromOnPremises($val) + { + $this->_propDict["isSyncedFromOnPremises"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Name of the extension property. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the extension property. Not nullable. + * + * @param string $val The name + * + * @return ExtensionProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the targetObjects + * Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication + * + * @return string|null The targetObjects + */ + public function getTargetObjects() + { + if (array_key_exists("targetObjects", $this->_propDict)) { + return $this->_propDict["targetObjects"]; + } else { + return null; + } + } + + /** + * Sets the targetObjects + * Following values are supported. Not nullable. UserGroupOrganizationDeviceApplication + * + * @param string $val The targetObjects + * + * @return ExtensionProperty + */ + public function setTargetObjects($val) + { + $this->_propDict["targetObjects"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ExtensionSchemaProperty.php b/vendor/microsoft/microsoft-graph/src/Model/ExtensionSchemaProperty.php new file mode 100644 index 0000000..b96c0aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ExtensionSchemaProperty.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the strongly typed property defined as part of a schema extension. + * + * @param string $val The value of the name + * + * @return ExtensionSchemaProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + * + * @param string $val The value of the type + * + * @return ExtensionSchemaProperty + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ExternalAudienceScope.php b/vendor/microsoft/microsoft-graph/src/Model/ExternalAudienceScope.php new file mode 100644 index 0000000..97d835e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ExternalAudienceScope.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.externalDomainFederation"); + } + + /** + * Gets the displayName + * The name of the identity source, typically also the domain name. Read only. + * + * @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 + * The name of the identity source, typically also the domain name. Read only. + * + * @param string $val The value of the displayName + * + * @return ExternalDomainFederation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the domainName + * The domain name. Read only. + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * The domain name. Read only. + * + * @param string $val The value of the domainName + * + * @return ExternalDomainFederation + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + /** + * Gets the issuerUri + * The issuerURI of the incoming federation. Read only. + * + * @return string|null The issuerUri + */ + public function getIssuerUri() + { + if (array_key_exists("issuerUri", $this->_propDict)) { + return $this->_propDict["issuerUri"]; + } else { + return null; + } + } + + /** + * Sets the issuerUri + * The issuerURI of the incoming federation. Read only. + * + * @param string $val The value of the issuerUri + * + * @return ExternalDomainFederation + */ + public function setIssuerUri($val) + { + $this->_propDict["issuerUri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ExternalDomainName.php b/vendor/microsoft/microsoft-graph/src/Model/ExternalDomainName.php new file mode 100644 index 0000000..a4cf8d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ExternalDomainName.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["href"]; + } else { + return null; + } + } + + /** + * Sets the href + * The url of the link. + * + * @param string $val The value of the href + * + * @return ExternalLink + */ + public function setHref($val) + { + $this->_propDict["href"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ExternalSponsors.php b/vendor/microsoft/microsoft-graph/src/Model/ExternalSponsors.php new file mode 100644 index 0000000..b87b4d6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ExternalSponsors.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.externalSponsors"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FeatureRolloutPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/FeatureRolloutPolicy.php new file mode 100644 index 0000000..4d25f08 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FeatureRolloutPolicy.php @@ -0,0 +1,206 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A description for this feature rollout policy. + * + * @param string $val The description + * + * @return FeatureRolloutPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for this feature rollout policy. + * + * @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 + * The display name for this feature rollout policy. + * + * @param string $val The displayName + * + * @return FeatureRolloutPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the feature + * Possible values are: passthroughAuthentication, seamlessSso, passwordHashSync, emailAsAlternateId, unknownFutureValue. + * + * @return StagedFeatureName|null The feature + */ + public function getFeature() + { + if (array_key_exists("feature", $this->_propDict)) { + if (is_a($this->_propDict["feature"], "\Microsoft\Graph\Model\StagedFeatureName") || is_null($this->_propDict["feature"])) { + return $this->_propDict["feature"]; + } else { + $this->_propDict["feature"] = new StagedFeatureName($this->_propDict["feature"]); + return $this->_propDict["feature"]; + } + } + return null; + } + + /** + * Sets the feature + * Possible values are: passthroughAuthentication, seamlessSso, passwordHashSync, emailAsAlternateId, unknownFutureValue. + * + * @param StagedFeatureName $val The feature + * + * @return FeatureRolloutPolicy + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + + /** + * Gets the isAppliedToOrganization + * Indicates whether this feature rollout policy should be applied to the entire organization. + * + * @return bool|null The isAppliedToOrganization + */ + public function getIsAppliedToOrganization() + { + if (array_key_exists("isAppliedToOrganization", $this->_propDict)) { + return $this->_propDict["isAppliedToOrganization"]; + } else { + return null; + } + } + + /** + * Sets the isAppliedToOrganization + * Indicates whether this feature rollout policy should be applied to the entire organization. + * + * @param bool $val The isAppliedToOrganization + * + * @return FeatureRolloutPolicy + */ + public function setIsAppliedToOrganization($val) + { + $this->_propDict["isAppliedToOrganization"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the feature rollout is enabled. + * + * @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 + * Indicates whether the feature rollout is enabled. + * + * @param bool $val The isEnabled + * + * @return FeatureRolloutPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the appliesTo + * Nullable. Specifies a list of directoryObjects that feature is enabled for. + * + * @return array|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * Nullable. Specifies a list of directoryObjects that feature is enabled for. + * + * @param DirectoryObject[] $val The appliesTo + * + * @return FeatureRolloutPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FederatedIdpMfaBehavior.php b/vendor/microsoft/microsoft-graph/src/Model/FederatedIdpMfaBehavior.php new file mode 100644 index 0000000..7bc65bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FederatedIdpMfaBehavior.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["aaGuid"]; + } else { + return null; + } + } + + /** + * Sets the aaGuid + * Authenticator Attestation GUID, an identifier that indicates the type (e.g. make and model) of the authenticator. + * + * @param string $val The aaGuid + * + * @return Fido2AuthenticationMethod + */ + public function setAaGuid($val) + { + $this->_propDict["aaGuid"] = $val; + return $this; + } + + /** + * Gets the attestationCertificates + * The attestation certificate(s) attached to this security key. + * + * @return string|null The attestationCertificates + */ + public function getAttestationCertificates() + { + if (array_key_exists("attestationCertificates", $this->_propDict)) { + return $this->_propDict["attestationCertificates"]; + } else { + return null; + } + } + + /** + * Sets the attestationCertificates + * The attestation certificate(s) attached to this security key. + * + * @param string $val The attestationCertificates + * + * @return Fido2AuthenticationMethod + */ + public function setAttestationCertificates($val) + { + $this->_propDict["attestationCertificates"] = $val; + return $this; + } + + /** + * Gets the attestationLevel + * The attestation level of this FIDO2 security key. Possible values are: attested, notAttested, unknownFutureValue. + * + * @return AttestationLevel|null The attestationLevel + */ + public function getAttestationLevel() + { + if (array_key_exists("attestationLevel", $this->_propDict)) { + if (is_a($this->_propDict["attestationLevel"], "\Microsoft\Graph\Model\AttestationLevel") || is_null($this->_propDict["attestationLevel"])) { + return $this->_propDict["attestationLevel"]; + } else { + $this->_propDict["attestationLevel"] = new AttestationLevel($this->_propDict["attestationLevel"]); + return $this->_propDict["attestationLevel"]; + } + } + return null; + } + + /** + * Sets the attestationLevel + * The attestation level of this FIDO2 security key. Possible values are: attested, notAttested, unknownFutureValue. + * + * @param AttestationLevel $val The attestationLevel + * + * @return Fido2AuthenticationMethod + */ + public function setAttestationLevel($val) + { + $this->_propDict["attestationLevel"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The timestamp when this key was registered to the user. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The timestamp when this key was registered to the user. + * + * @param \DateTime $val The createdDateTime + * + * @return Fido2AuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the key as given by the user. + * + * @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 + * The display name of the key as given by the user. + * + * @param string $val The displayName + * + * @return Fido2AuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the model + * The manufacturer-assigned model of the FIDO2 security key. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The manufacturer-assigned model of the FIDO2 security key. + * + * @param string $val The model + * + * @return Fido2AuthenticationMethod + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Fido2AuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Fido2AuthenticationMethodConfiguration.php new file mode 100644 index 0000000..117f63b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Fido2AuthenticationMethodConfiguration.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["isAttestationEnforced"]; + } else { + return null; + } + } + + /** + * Sets the isAttestationEnforced + * Determines whether attestation must be enforced for FIDO2 security key registration. + * + * @param bool $val The isAttestationEnforced + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setIsAttestationEnforced($val) + { + $this->_propDict["isAttestationEnforced"] = boolval($val); + return $this; + } + + /** + * Gets the isSelfServiceRegistrationAllowed + * Determines if users can register new FIDO2 security keys. + * + * @return bool|null The isSelfServiceRegistrationAllowed + */ + public function getIsSelfServiceRegistrationAllowed() + { + if (array_key_exists("isSelfServiceRegistrationAllowed", $this->_propDict)) { + return $this->_propDict["isSelfServiceRegistrationAllowed"]; + } else { + return null; + } + } + + /** + * Sets the isSelfServiceRegistrationAllowed + * Determines if users can register new FIDO2 security keys. + * + * @param bool $val The isSelfServiceRegistrationAllowed + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setIsSelfServiceRegistrationAllowed($val) + { + $this->_propDict["isSelfServiceRegistrationAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the keyRestrictions + * Controls whether key restrictions are enforced on FIDO2 security keys, either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (e.g. make and model) of the authenticator. + * + * @return Fido2KeyRestrictions|null The keyRestrictions + */ + public function getKeyRestrictions() + { + if (array_key_exists("keyRestrictions", $this->_propDict)) { + if (is_a($this->_propDict["keyRestrictions"], "\Microsoft\Graph\Model\Fido2KeyRestrictions") || is_null($this->_propDict["keyRestrictions"])) { + return $this->_propDict["keyRestrictions"]; + } else { + $this->_propDict["keyRestrictions"] = new Fido2KeyRestrictions($this->_propDict["keyRestrictions"]); + return $this->_propDict["keyRestrictions"]; + } + } + return null; + } + + /** + * Sets the keyRestrictions + * Controls whether key restrictions are enforced on FIDO2 security keys, either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (e.g. make and model) of the authenticator. + * + * @param Fido2KeyRestrictions $val The keyRestrictions + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setKeyRestrictions($val) + { + $this->_propDict["keyRestrictions"] = $val; + return $this; + } + + + /** + * Gets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @return array|null The includeTargets + */ + public function getIncludeTargets() + { + if (array_key_exists("includeTargets", $this->_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param AuthenticationMethodTarget[] $val The includeTargets + * + * @return Fido2AuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Fido2KeyRestrictions.php b/vendor/microsoft/microsoft-graph/src/Model/Fido2KeyRestrictions.php new file mode 100644 index 0000000..ac9c719 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Fido2KeyRestrictions.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["aaGuids"]; + } else { + return null; + } + } + + /** + * Sets the aaGuids + * A collection of Authenticator Attestation GUIDs. AADGUIDs define key types and manufacturers. + * + * @param string $val The value of the aaGuids + * + * @return Fido2KeyRestrictions + */ + public function setAaGuids($val) + { + $this->_propDict["aaGuids"] = $val; + return $this; + } + + /** + * Gets the enforcementType + * Enforcement type. Possible values are: allow, block. + * + * @return Fido2RestrictionEnforcementType|null The enforcementType + */ + public function getEnforcementType() + { + if (array_key_exists("enforcementType", $this->_propDict)) { + if (is_a($this->_propDict["enforcementType"], "\Microsoft\Graph\Model\Fido2RestrictionEnforcementType") || is_null($this->_propDict["enforcementType"])) { + return $this->_propDict["enforcementType"]; + } else { + $this->_propDict["enforcementType"] = new Fido2RestrictionEnforcementType($this->_propDict["enforcementType"]); + return $this->_propDict["enforcementType"]; + } + } + return null; + } + + /** + * Sets the enforcementType + * Enforcement type. Possible values are: allow, block. + * + * @param Fido2RestrictionEnforcementType $val The value to assign to the enforcementType + * + * @return Fido2KeyRestrictions The Fido2KeyRestrictions + */ + public function setEnforcementType($val) + { + $this->_propDict["enforcementType"] = $val; + return $this; + } + /** + * Gets the isEnforced + * Determines if the configured key enforcement is enabled. + * + * @return bool|null The isEnforced + */ + public function getIsEnforced() + { + if (array_key_exists("isEnforced", $this->_propDict)) { + return $this->_propDict["isEnforced"]; + } else { + return null; + } + } + + /** + * Sets the isEnforced + * Determines if the configured key enforcement is enabled. + * + * @param bool $val The value of the isEnforced + * + * @return Fido2KeyRestrictions + */ + public function setIsEnforced($val) + { + $this->_propDict["isEnforced"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Fido2RestrictionEnforcementType.php b/vendor/microsoft/microsoft-graph/src/Model/Fido2RestrictionEnforcementType.php new file mode 100644 index 0000000..d7843da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Fido2RestrictionEnforcementType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["hashes"], "\Microsoft\Graph\Model\Hashes") || is_null($this->_propDict["hashes"])) { + return $this->_propDict["hashes"]; + } else { + $this->_propDict["hashes"] = new Hashes($this->_propDict["hashes"]); + return $this->_propDict["hashes"]; + } + } + return null; + } + + /** + * Sets the hashes + * Hashes of the file's binary content, if available. Read-only. + * + * @param Hashes $val The value to assign to the hashes + * + * @return File The File + */ + public function setHashes($val) + { + $this->_propDict["hashes"] = $val; + return $this; + } + /** + * Gets the mimeType + * The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. + * + * @return string|null The mimeType + */ + public function getMimeType() + { + if (array_key_exists("mimeType", $this->_propDict)) { + return $this->_propDict["mimeType"]; + } else { + return null; + } + } + + /** + * Sets the mimeType + * The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only. + * + * @param string $val The value of the mimeType + * + * @return File + */ + public function setMimeType($val) + { + $this->_propDict["mimeType"] = $val; + return $this; + } + /** + * Gets the processingMetadata + * + * @return bool|null The processingMetadata + */ + public function getProcessingMetadata() + { + if (array_key_exists("processingMetadata", $this->_propDict)) { + return $this->_propDict["processingMetadata"]; + } else { + return null; + } + } + + /** + * Sets the processingMetadata + * + * @param bool $val The value of the processingMetadata + * + * @return File + */ + public function setProcessingMetadata($val) + { + $this->_propDict["processingMetadata"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FileAssessmentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/FileAssessmentRequest.php new file mode 100644 index 0000000..c5cc965 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FileAssessmentRequest.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["contentData"]; + } else { + return null; + } + } + + /** + * Sets the contentData + * Base64 encoded file content. The file content cannot fetch back because it isn't stored. + * + * @param string $val The contentData + * + * @return FileAssessmentRequest + */ + public function setContentData($val) + { + $this->_propDict["contentData"] = $val; + return $this; + } + + /** + * Gets the fileName + * The file name. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The file name. + * + * @param string $val The fileName + * + * @return FileAssessmentRequest + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FileAttachment.php b/vendor/microsoft/microsoft-graph/src/Model/FileAttachment.php new file mode 100644 index 0000000..c306a1f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FileAttachment.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["contentBytes"])) { + return $this->_propDict["contentBytes"]; + } else { + $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["contentBytes"]); + return $this->_propDict["contentBytes"]; + } + } + return null; + } + + /** + * Sets the contentBytes + * The base64-encoded contents of the file. + * + * @param \GuzzleHttp\Psr7\Stream $val The contentBytes + * + * @return FileAttachment + */ + public function setContentBytes($val) + { + $this->_propDict["contentBytes"] = $val; + return $this; + } + + /** + * Gets the contentId + * The ID of the attachment in the Exchange store. + * + * @return string|null The contentId + */ + public function getContentId() + { + if (array_key_exists("contentId", $this->_propDict)) { + return $this->_propDict["contentId"]; + } else { + return null; + } + } + + /** + * Sets the contentId + * The ID of the attachment in the Exchange store. + * + * @param string $val The contentId + * + * @return FileAttachment + */ + public function setContentId($val) + { + $this->_propDict["contentId"] = $val; + return $this; + } + + /** + * Gets the contentLocation + * Do not use this property as it is not supported. + * + * @return string|null The contentLocation + */ + public function getContentLocation() + { + if (array_key_exists("contentLocation", $this->_propDict)) { + return $this->_propDict["contentLocation"]; + } else { + return null; + } + } + + /** + * Sets the contentLocation + * Do not use this property as it is not supported. + * + * @param string $val The contentLocation + * + * @return FileAttachment + */ + public function setContentLocation($val) + { + $this->_propDict["contentLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FileEncryptionInfo.php b/vendor/microsoft/microsoft-graph/src/Model/FileEncryptionInfo.php new file mode 100644 index 0000000..5cdaeec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FileEncryptionInfo.php @@ -0,0 +1,247 @@ +_propDict)) { + if (is_a($this->_propDict["encryptionKey"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encryptionKey"])) { + return $this->_propDict["encryptionKey"]; + } else { + $this->_propDict["encryptionKey"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encryptionKey"]); + return $this->_propDict["encryptionKey"]; + } + } + return null; + } + + /** + * Sets the encryptionKey + * The key used to encrypt the file content. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the encryptionKey + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setEncryptionKey($val) + { + $this->_propDict["encryptionKey"] = $val; + return $this; + } + + /** + * Gets the fileDigest + * The file digest prior to encryption. + * + * @return \GuzzleHttp\Psr7\Stream|null The fileDigest + */ + public function getFileDigest() + { + if (array_key_exists("fileDigest", $this->_propDict)) { + if (is_a($this->_propDict["fileDigest"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["fileDigest"])) { + return $this->_propDict["fileDigest"]; + } else { + $this->_propDict["fileDigest"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["fileDigest"]); + return $this->_propDict["fileDigest"]; + } + } + return null; + } + + /** + * Sets the fileDigest + * The file digest prior to encryption. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the fileDigest + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setFileDigest($val) + { + $this->_propDict["fileDigest"] = $val; + return $this; + } + /** + * Gets the fileDigestAlgorithm + * The file digest algorithm. + * + * @return string|null The fileDigestAlgorithm + */ + public function getFileDigestAlgorithm() + { + if (array_key_exists("fileDigestAlgorithm", $this->_propDict)) { + return $this->_propDict["fileDigestAlgorithm"]; + } else { + return null; + } + } + + /** + * Sets the fileDigestAlgorithm + * The file digest algorithm. + * + * @param string $val The value of the fileDigestAlgorithm + * + * @return FileEncryptionInfo + */ + public function setFileDigestAlgorithm($val) + { + $this->_propDict["fileDigestAlgorithm"] = $val; + return $this; + } + + /** + * Gets the initializationVector + * The initialization vector used for the encryption algorithm. + * + * @return \GuzzleHttp\Psr7\Stream|null The initializationVector + */ + public function getInitializationVector() + { + if (array_key_exists("initializationVector", $this->_propDict)) { + if (is_a($this->_propDict["initializationVector"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["initializationVector"])) { + return $this->_propDict["initializationVector"]; + } else { + $this->_propDict["initializationVector"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["initializationVector"]); + return $this->_propDict["initializationVector"]; + } + } + return null; + } + + /** + * Sets the initializationVector + * The initialization vector used for the encryption algorithm. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the initializationVector + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setInitializationVector($val) + { + $this->_propDict["initializationVector"] = $val; + return $this; + } + + /** + * Gets the mac + * The hash of the encrypted file content + IV (content hash). + * + * @return \GuzzleHttp\Psr7\Stream|null The mac + */ + public function getMac() + { + if (array_key_exists("mac", $this->_propDict)) { + if (is_a($this->_propDict["mac"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["mac"])) { + return $this->_propDict["mac"]; + } else { + $this->_propDict["mac"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["mac"]); + return $this->_propDict["mac"]; + } + } + return null; + } + + /** + * Sets the mac + * The hash of the encrypted file content + IV (content hash). + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the mac + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setMac($val) + { + $this->_propDict["mac"] = $val; + return $this; + } + + /** + * Gets the macKey + * The key used to get mac. + * + * @return \GuzzleHttp\Psr7\Stream|null The macKey + */ + public function getMacKey() + { + if (array_key_exists("macKey", $this->_propDict)) { + if (is_a($this->_propDict["macKey"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["macKey"])) { + return $this->_propDict["macKey"]; + } else { + $this->_propDict["macKey"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["macKey"]); + return $this->_propDict["macKey"]; + } + } + return null; + } + + /** + * Sets the macKey + * The key used to get mac. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the macKey + * + * @return FileEncryptionInfo The FileEncryptionInfo + */ + public function setMacKey($val) + { + $this->_propDict["macKey"] = $val; + return $this; + } + /** + * Gets the profileIdentifier + * The the profile identifier. + * + * @return string|null The profileIdentifier + */ + public function getProfileIdentifier() + { + if (array_key_exists("profileIdentifier", $this->_propDict)) { + return $this->_propDict["profileIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the profileIdentifier + * The the profile identifier. + * + * @param string $val The value of the profileIdentifier + * + * @return FileEncryptionInfo + */ + public function setProfileIdentifier($val) + { + $this->_propDict["profileIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FileHash.php b/vendor/microsoft/microsoft-graph/src/Model/FileHash.php new file mode 100644 index 0000000..48c7864 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FileHash.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["hashType"], "\Microsoft\Graph\Model\FileHashType") || is_null($this->_propDict["hashType"])) { + return $this->_propDict["hashType"]; + } else { + $this->_propDict["hashType"] = new FileHashType($this->_propDict["hashType"]); + return $this->_propDict["hashType"]; + } + } + return null; + } + + /** + * Sets the hashType + * File hash type. Possible values are: unknown, sha1, sha256, md5, authenticodeHash256, lsHash, ctph, peSha1, peSha256. + * + * @param FileHashType $val The value to assign to the hashType + * + * @return FileHash The FileHash + */ + public function setHashType($val) + { + $this->_propDict["hashType"] = $val; + return $this; + } + /** + * Gets the hashValue + * Value of the file hash. + * + * @return string|null The hashValue + */ + public function getHashValue() + { + if (array_key_exists("hashValue", $this->_propDict)) { + return $this->_propDict["hashValue"]; + } else { + return null; + } + } + + /** + * Sets the hashValue + * Value of the file hash. + * + * @param string $val The value of the hashValue + * + * @return FileHash + */ + public function setHashValue($val) + { + $this->_propDict["hashValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FileHashType.php b/vendor/microsoft/microsoft-graph/src/Model/FileHashType.php new file mode 100644 index 0000000..9fedda5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FileHashType.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["fileHash"], "\Microsoft\Graph\Model\FileHash") || is_null($this->_propDict["fileHash"])) { + return $this->_propDict["fileHash"]; + } else { + $this->_propDict["fileHash"] = new FileHash($this->_propDict["fileHash"]); + return $this->_propDict["fileHash"]; + } + } + return null; + } + + /** + * Sets the fileHash + * Complex type containing file hashes (cryptographic and location-sensitive). + * + * @param FileHash $val The value to assign to the fileHash + * + * @return FileSecurityState The FileSecurityState + */ + public function setFileHash($val) + { + $this->_propDict["fileHash"] = $val; + return $this; + } + /** + * Gets the name + * File name (without path). + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * File name (without path). + * + * @param string $val The value of the name + * + * @return FileSecurityState + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the path + * Full file path of the file/imageFile. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Full file path of the file/imageFile. + * + * @param string $val The value of the path + * + * @return FileSecurityState + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider generated/calculated risk score of the alert file. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return FileSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FileSystemInfo.php b/vendor/microsoft/microsoft-graph/src/Model/FileSystemInfo.php new file mode 100644 index 0000000..73bf0f3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FileSystemInfo.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The UTC date and time the file was created on a client. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return FileSystemInfo The FileSystemInfo + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastAccessedDateTime + * The UTC date and time the file was last accessed. Available for the recent file list only. + * + * @return \DateTime|null The lastAccessedDateTime + */ + public function getLastAccessedDateTime() + { + if (array_key_exists("lastAccessedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessedDateTime"])) { + return $this->_propDict["lastAccessedDateTime"]; + } else { + $this->_propDict["lastAccessedDateTime"] = new \DateTime($this->_propDict["lastAccessedDateTime"]); + return $this->_propDict["lastAccessedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedDateTime + * The UTC date and time the file was last accessed. Available for the recent file list only. + * + * @param \DateTime $val The value to assign to the lastAccessedDateTime + * + * @return FileSystemInfo The FileSystemInfo + */ + public function setLastAccessedDateTime($val) + { + $this->_propDict["lastAccessedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The UTC date and time the file was last modified on a client. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The UTC date and time the file was last modified on a client. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return FileSystemInfo The FileSystemInfo + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FilterMode.php b/vendor/microsoft/microsoft-graph/src/Model/FilterMode.php new file mode 100644 index 0000000..8b6d6ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FilterMode.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["childCount"]; + } else { + return null; + } + } + + /** + * Sets the childCount + * Number of children contained immediately within this container. + * + * @param int $val The value of the childCount + * + * @return Folder + */ + public function setChildCount($val) + { + $this->_propDict["childCount"] = $val; + return $this; + } + + /** + * Gets the view + * A collection of properties defining the recommended view for the folder. + * + * @return FolderView|null The view + */ + public function getView() + { + if (array_key_exists("view", $this->_propDict)) { + if (is_a($this->_propDict["view"], "\Microsoft\Graph\Model\FolderView") || is_null($this->_propDict["view"])) { + return $this->_propDict["view"]; + } else { + $this->_propDict["view"] = new FolderView($this->_propDict["view"]); + return $this->_propDict["view"]; + } + } + return null; + } + + /** + * Sets the view + * A collection of properties defining the recommended view for the folder. + * + * @param FolderView $val The value to assign to the view + * + * @return Folder The Folder + */ + public function setView($val) + { + $this->_propDict["view"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FolderView.php b/vendor/microsoft/microsoft-graph/src/Model/FolderView.php new file mode 100644 index 0000000..10d56bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FolderView.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["sortBy"]; + } else { + return null; + } + } + + /** + * Sets the sortBy + * The method by which the folder should be sorted. + * + * @param string $val The value of the sortBy + * + * @return FolderView + */ + public function setSortBy($val) + { + $this->_propDict["sortBy"] = $val; + return $this; + } + /** + * Gets the sortOrder + * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. + * + * @return string|null The sortOrder + */ + public function getSortOrder() + { + if (array_key_exists("sortOrder", $this->_propDict)) { + return $this->_propDict["sortOrder"]; + } else { + return null; + } + } + + /** + * Sets the sortOrder + * If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending. + * + * @param string $val The value of the sortOrder + * + * @return FolderView + */ + public function setSortOrder($val) + { + $this->_propDict["sortOrder"] = $val; + return $this; + } + /** + * Gets the viewType + * The type of view that should be used to represent the folder. + * + * @return string|null The viewType + */ + public function getViewType() + { + if (array_key_exists("viewType", $this->_propDict)) { + return $this->_propDict["viewType"]; + } else { + return null; + } + } + + /** + * Sets the viewType + * The type of view that should be used to represent the folder. + * + * @param string $val The value of the viewType + * + * @return FolderView + */ + public function setViewType($val) + { + $this->_propDict["viewType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FollowupFlag.php b/vendor/microsoft/microsoft-graph/src/Model/FollowupFlag.php new file mode 100644 index 0000000..693cf48 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FollowupFlag.php @@ -0,0 +1,158 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new DateTimeTimeZone($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date and time that the follow-up was finished. + * + * @param DateTimeTimeZone $val The value to assign to the completedDateTime + * + * @return FollowupFlag The FollowupFlag + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. + * + * @param DateTimeTimeZone $val The value to assign to the dueDateTime + * + * @return FollowupFlag The FollowupFlag + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the flagStatus + * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. + * + * @return FollowupFlagStatus|null The flagStatus + */ + public function getFlagStatus() + { + if (array_key_exists("flagStatus", $this->_propDict)) { + if (is_a($this->_propDict["flagStatus"], "\Microsoft\Graph\Model\FollowupFlagStatus") || is_null($this->_propDict["flagStatus"])) { + return $this->_propDict["flagStatus"]; + } else { + $this->_propDict["flagStatus"] = new FollowupFlagStatus($this->_propDict["flagStatus"]); + return $this->_propDict["flagStatus"]; + } + } + return null; + } + + /** + * Sets the flagStatus + * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. + * + * @param FollowupFlagStatus $val The value to assign to the flagStatus + * + * @return FollowupFlag The FollowupFlag + */ + public function setFlagStatus($val) + { + $this->_propDict["flagStatus"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time that the follow-up is to begin. + * + * @return DateTimeTimeZone|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time that the follow-up is to begin. + * + * @param DateTimeTimeZone $val The value to assign to the startDateTime + * + * @return FollowupFlag The FollowupFlag + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FollowupFlagStatus.php b/vendor/microsoft/microsoft-graph/src/Model/FollowupFlagStatus.php new file mode 100644 index 0000000..898a1e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FollowupFlagStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * Describes the error. + * + * @param string $val The value of the message + * + * @return FreeBusyError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the responseCode + * The response code from querying for the availability of the user, distribution list, or resource. + * + * @return string|null The responseCode + */ + public function getResponseCode() + { + if (array_key_exists("responseCode", $this->_propDict)) { + return $this->_propDict["responseCode"]; + } else { + return null; + } + } + + /** + * Sets the responseCode + * The response code from querying for the availability of the user, distribution list, or resource. + * + * @param string $val The value of the responseCode + * + * @return FreeBusyError + */ + public function setResponseCode($val) + { + $this->_propDict["responseCode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/FreeBusyStatus.php b/vendor/microsoft/microsoft-graph/src/Model/FreeBusyStatus.php new file mode 100644 index 0000000..d19ac88 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/FreeBusyStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return GenericError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return GenericError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GeoCoordinates.php b/vendor/microsoft/microsoft-graph/src/Model/GeoCoordinates.php new file mode 100644 index 0000000..98c6a91 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GeoCoordinates.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * Optional. The altitude (height), in feet, above sea level for the item. Read-only. + * + * @param float $val The value of the altitude + * + * @return GeoCoordinates + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** + * Gets the latitude + * Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @param float $val The value of the latitude + * + * @return GeoCoordinates + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. + * + * @param float $val The value of the longitude + * + * @return GeoCoordinates + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GeolocationColumn.php b/vendor/microsoft/microsoft-graph/src/Model/GeolocationColumn.php new file mode 100644 index 0000000..96cbe1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GeolocationColumn.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The displayable title of the list. + * + * @param string $val The displayName + * + * @return GraphList + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the list + * Provides additional details about the list. + * + * @return ListInfo|null The list + */ + public function getList() + { + if (array_key_exists("list", $this->_propDict)) { + if (is_a($this->_propDict["list"], "\Microsoft\Graph\Model\ListInfo") || is_null($this->_propDict["list"])) { + return $this->_propDict["list"]; + } else { + $this->_propDict["list"] = new ListInfo($this->_propDict["list"]); + return $this->_propDict["list"]; + } + } + return null; + } + + /** + * Sets the list + * Provides additional details about the list. + * + * @param ListInfo $val The list + * + * @return GraphList + */ + public function setList($val) + { + $this->_propDict["list"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return GraphList + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the system + * If present, indicates that this is a system-managed list. Read-only. + * + * @return SystemFacet|null The system + */ + public function getSystem() + { + if (array_key_exists("system", $this->_propDict)) { + if (is_a($this->_propDict["system"], "\Microsoft\Graph\Model\SystemFacet") || is_null($this->_propDict["system"])) { + return $this->_propDict["system"]; + } else { + $this->_propDict["system"] = new SystemFacet($this->_propDict["system"]); + return $this->_propDict["system"]; + } + } + return null; + } + + /** + * Sets the system + * If present, indicates that this is a system-managed list. Read-only. + * + * @param SystemFacet $val The system + * + * @return GraphList + */ + public function setSystem($val) + { + $this->_propDict["system"] = $val; + return $this; + } + + + /** + * Gets the columns + * The collection of field definitions for this list. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * The collection of field definitions for this list. + * + * @param ColumnDefinition[] $val The columns + * + * @return GraphList + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + + /** + * Gets the contentTypes + * The collection of content types present in this list. + * + * @return array|null The contentTypes + */ + public function getContentTypes() + { + if (array_key_exists("contentTypes", $this->_propDict)) { + return $this->_propDict["contentTypes"]; + } else { + return null; + } + } + + /** + * Sets the contentTypes + * The collection of content types present in this list. + * + * @param ContentType[] $val The contentTypes + * + * @return GraphList + */ + public function setContentTypes($val) + { + $this->_propDict["contentTypes"] = $val; + return $this; + } + + /** + * Gets the drive + * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. + * + * @param Drive $val The drive + * + * @return GraphList + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the items + * All items contained in the list. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * All items contained in the list. + * + * @param ListItem[] $val The items + * + * @return GraphList + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the operations + * The collection of long running operations for the list. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The collection of long running operations for the list. + * + * @param RichLongRunningOperation[] $val The operations + * + * @return GraphList + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the subscriptions + * The set of subscriptions on the list. + * + * @return array|null The subscriptions + */ + public function getSubscriptions() + { + if (array_key_exists("subscriptions", $this->_propDict)) { + return $this->_propDict["subscriptions"]; + } else { + return null; + } + } + + /** + * Sets the subscriptions + * The set of subscriptions on the list. + * + * @param Subscription[] $val The subscriptions + * + * @return GraphList + */ + public function setSubscriptions($val) + { + $this->_propDict["subscriptions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GraphPrint.php b/vendor/microsoft/microsoft-graph/src/Model/GraphPrint.php new file mode 100644 index 0000000..9df34eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GraphPrint.php @@ -0,0 +1,317 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Print + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the settings + * Tenant-wide settings for the Universal Print service. + * + * @return PrintSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\PrintSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new PrintSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Tenant-wide settings for the Universal Print service. + * + * @param PrintSettings $val The settings + * + * @return GraphPrint + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the connectors + * The list of available print connectors. + * + * @return array|null The connectors + */ + public function getConnectors() + { + if (array_key_exists("connectors", $this->_propDict)) { + return $this->_propDict["connectors"]; + } else { + return null; + } + } + + /** + * Sets the connectors + * The list of available print connectors. + * + * @param PrintConnector[] $val The connectors + * + * @return GraphPrint + */ + public function setConnectors($val) + { + $this->_propDict["connectors"] = $val; + return $this; + } + + + /** + * Gets the operations + * The list of print long running operations. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The list of print long running operations. + * + * @param PrintOperation[] $val The operations + * + * @return GraphPrint + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the printers + * The list of printers registered in the tenant. + * + * @return array|null The printers + */ + public function getPrinters() + { + if (array_key_exists("printers", $this->_propDict)) { + return $this->_propDict["printers"]; + } else { + return null; + } + } + + /** + * Sets the printers + * The list of printers registered in the tenant. + * + * @param Printer[] $val The printers + * + * @return GraphPrint + */ + public function setPrinters($val) + { + $this->_propDict["printers"] = $val; + return $this; + } + + + /** + * Gets the services + * The list of available Universal Print service endpoints. + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * The list of available Universal Print service endpoints. + * + * @param PrintService[] $val The services + * + * @return GraphPrint + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + + + /** + * Gets the shares + * The list of printer shares registered in the tenant. + * + * @return array|null The shares + */ + public function getShares() + { + if (array_key_exists("shares", $this->_propDict)) { + return $this->_propDict["shares"]; + } else { + return null; + } + } + + /** + * Sets the shares + * The list of printer shares registered in the tenant. + * + * @param PrinterShare[] $val The shares + * + * @return GraphPrint + */ + public function setShares($val) + { + $this->_propDict["shares"] = $val; + return $this; + } + + + /** + * Gets the taskDefinitions + * List of abstract definition for a task that can be triggered when various events occur within Universal Print. + * + * @return array|null The taskDefinitions + */ + public function getTaskDefinitions() + { + if (array_key_exists("taskDefinitions", $this->_propDict)) { + return $this->_propDict["taskDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the taskDefinitions + * List of abstract definition for a task that can be triggered when various events occur within Universal Print. + * + * @param PrintTaskDefinition[] $val The taskDefinitions + * + * @return GraphPrint + */ + public function setTaskDefinitions($val) + { + $this->_propDict["taskDefinitions"] = $val; + 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 GraphPrint + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Group.php b/vendor/microsoft/microsoft-graph/src/Model/Group.php new file mode 100644 index 0000000..fe9f994 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Group.php @@ -0,0 +1,1979 @@ +_propDict)) { + return $this->_propDict["assignedLabels"]; + } else { + return null; + } + } + + /** + * Sets the assignedLabels + * The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Returned only on $select. + * + * @param AssignedLabel[] $val The assignedLabels + * + * @return Group + */ + public function setAssignedLabels($val) + { + $this->_propDict["assignedLabels"] = $val; + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses that are assigned to the group. Returned only on $select. Supports $filter (eq). Read-only. + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses that are assigned to the group. Returned only on $select. Supports $filter (eq). Read-only. + * + * @param AssignedLicense[] $val The assignedLicenses + * + * @return Group + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + + /** + * Gets the classification + * Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @return string|null The classification + */ + public function getClassification() + { + if (array_key_exists("classification", $this->_propDict)) { + return $this->_propDict["classification"]; + } else { + return null; + } + } + + /** + * Sets the classification + * Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @param string $val The classification + * + * @return Group + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Group + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @param string $val The description + * + * @return Group + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the group. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the group. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return Group + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @param \DateTime $val The expirationDateTime + * + * @return Group + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the groupTypes + * Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + * + * @return string|null The groupTypes + */ + public function getGroupTypes() + { + if (array_key_exists("groupTypes", $this->_propDict)) { + return $this->_propDict["groupTypes"]; + } else { + return null; + } + } + + /** + * Sets the groupTypes + * Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + * + * @param string $val The groupTypes + * + * @return Group + */ + public function setGroupTypes($val) + { + $this->_propDict["groupTypes"] = $val; + return $this; + } + + /** + * Gets the hasMembersWithLicenseErrors + * Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). Supports $filter (eq). + * + * @return bool|null The hasMembersWithLicenseErrors + */ + public function getHasMembersWithLicenseErrors() + { + if (array_key_exists("hasMembersWithLicenseErrors", $this->_propDict)) { + return $this->_propDict["hasMembersWithLicenseErrors"]; + } else { + return null; + } + } + + /** + * Sets the hasMembersWithLicenseErrors + * Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). Supports $filter (eq). + * + * @param bool $val The hasMembersWithLicenseErrors + * + * @return Group + */ + public function setHasMembersWithLicenseErrors($val) + { + $this->_propDict["hasMembersWithLicenseErrors"] = boolval($val); + return $this; + } + + /** + * Gets the isAssignableToRole + * Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not). + * + * @return bool|null The isAssignableToRole + */ + public function getIsAssignableToRole() + { + if (array_key_exists("isAssignableToRole", $this->_propDict)) { + return $this->_propDict["isAssignableToRole"]; + } else { + return null; + } + } + + /** + * Sets the isAssignableToRole + * Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not). + * + * @param bool $val The isAssignableToRole + * + * @return Group + */ + public function setIsAssignableToRole($val) + { + $this->_propDict["isAssignableToRole"] = boolval($val); + return $this; + } + + /** + * Gets the licenseProcessingState + * Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. + * + * @return LicenseProcessingState|null The licenseProcessingState + */ + public function getLicenseProcessingState() + { + if (array_key_exists("licenseProcessingState", $this->_propDict)) { + if (is_a($this->_propDict["licenseProcessingState"], "\Microsoft\Graph\Model\LicenseProcessingState") || is_null($this->_propDict["licenseProcessingState"])) { + return $this->_propDict["licenseProcessingState"]; + } else { + $this->_propDict["licenseProcessingState"] = new LicenseProcessingState($this->_propDict["licenseProcessingState"]); + return $this->_propDict["licenseProcessingState"]; + } + } + return null; + } + + /** + * Sets the licenseProcessingState + * Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. + * + * @param LicenseProcessingState $val The licenseProcessingState + * + * @return Group + */ + public function setLicenseProcessingState($val) + { + $this->_propDict["licenseProcessingState"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mail + * + * @return Group + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailEnabled + * Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not, and eq on null values). + * + * @return bool|null The mailEnabled + */ + public function getMailEnabled() + { + if (array_key_exists("mailEnabled", $this->_propDict)) { + return $this->_propDict["mailEnabled"]; + } else { + return null; + } + } + + /** + * Sets the mailEnabled + * Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not, and eq on null values). + * + * @param bool $val The mailEnabled + * + * @return Group + */ + public function setMailEnabled($val) + { + $this->_propDict["mailEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the mailNickname + * The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . &lt;&gt; , SPACE. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . &lt;&gt; , SPACE. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @param string $val The mailNickname + * + * @return Group + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the membershipRule + * The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @return string|null The membershipRule + */ + public function getMembershipRule() + { + if (array_key_exists("membershipRule", $this->_propDict)) { + return $this->_propDict["membershipRule"]; + } else { + return null; + } + } + + /** + * Sets the membershipRule + * The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith). + * + * @param string $val The membershipRule + * + * @return Group + */ + public function setMembershipRule($val) + { + $this->_propDict["membershipRule"] = $val; + return $this; + } + + /** + * Gets the membershipRuleProcessingState + * Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in). + * + * @return string|null The membershipRuleProcessingState + */ + public function getMembershipRuleProcessingState() + { + if (array_key_exists("membershipRuleProcessingState", $this->_propDict)) { + return $this->_propDict["membershipRuleProcessingState"]; + } else { + return null; + } + } + + /** + * Sets the membershipRuleProcessingState + * Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in). + * + * @param string $val The membershipRuleProcessingState + * + * @return Group + */ + public function setMembershipRuleProcessingState($val) + { + $this->_propDict["membershipRuleProcessingState"] = $val; + return $this; + } + + /** + * Gets the onPremisesDomainName + * Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @return string|null The onPremisesDomainName + */ + public function getOnPremisesDomainName() + { + if (array_key_exists("onPremisesDomainName", $this->_propDict)) { + return $this->_propDict["onPremisesDomainName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesDomainName + * Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @param string $val The onPremisesDomainName + * + * @return Group + */ + public function setOnPremisesDomainName($val) + { + $this->_propDict["onPremisesDomainName"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * Indicates the last time at which the group was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * Indicates the last time at which the group was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return Group + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the onPremisesNetBiosName + * Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @return string|null The onPremisesNetBiosName + */ + public function getOnPremisesNetBiosName() + { + if (array_key_exists("onPremisesNetBiosName", $this->_propDict)) { + return $this->_propDict["onPremisesNetBiosName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesNetBiosName + * Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only. + * + * @param string $val The onPremisesNetBiosName + * + * @return Group + */ + public function setOnPremisesNetBiosName($val) + { + $this->_propDict["onPremisesNetBiosName"] = $val; + return $this; + } + + + /** + * Gets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Returned by default. Supports $filter (eq, not). + * + * @return array|null The onPremisesProvisioningErrors + */ + public function getOnPremisesProvisioningErrors() + { + if (array_key_exists("onPremisesProvisioningErrors", $this->_propDict)) { + return $this->_propDict["onPremisesProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Returned by default. Supports $filter (eq, not). + * + * @param OnPremisesProvisioningError[] $val The onPremisesProvisioningErrors + * + * @return Group + */ + public function setOnPremisesProvisioningErrors($val) + { + $this->_propDict["onPremisesProvisioningErrors"] = $val; + return $this; + } + + /** + * Gets the onPremisesSamAccountName + * Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + * + * @return string|null The onPremisesSamAccountName + */ + public function getOnPremisesSamAccountName() + { + if (array_key_exists("onPremisesSamAccountName", $this->_propDict)) { + return $this->_propDict["onPremisesSamAccountName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSamAccountName + * Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + * + * @param string $val The onPremisesSamAccountName + * + * @return Group + */ + public function setOnPremisesSamAccountName($val) + { + $this->_propDict["onPremisesSamAccountName"] = $val; + return $this; + } + + /** + * Gets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + * + * @param string $val The onPremisesSecurityIdentifier + * + * @return Group + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return Group + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the preferredDataLocation + * The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling user must be assigned one of the following Azure AD roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default. + * + * @return string|null The preferredDataLocation + */ + public function getPreferredDataLocation() + { + if (array_key_exists("preferredDataLocation", $this->_propDict)) { + return $this->_propDict["preferredDataLocation"]; + } else { + return null; + } + } + + /** + * Sets the preferredDataLocation + * The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling user must be assigned one of the following Azure AD roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo. Nullable. Returned by default. + * + * @param string $val The preferredDataLocation + * + * @return Group + */ + public function setPreferredDataLocation($val) + { + $this->_propDict["preferredDataLocation"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The preferredLanguage + * + * @return Group + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + /** + * Gets the proxyAddresses + * Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @return string|null The proxyAddresses + */ + public function getProxyAddresses() + { + if (array_key_exists("proxyAddresses", $this->_propDict)) { + return $this->_propDict["proxyAddresses"]; + } else { + return null; + } + } + + /** + * Sets the proxyAddresses + * Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @param string $val The proxyAddresses + * + * @return Group + */ + public function setProxyAddresses($val) + { + $this->_propDict["proxyAddresses"] = $val; + return $this; + } + + /** + * Gets the renewedDateTime + * Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @return \DateTime|null The renewedDateTime + */ + public function getRenewedDateTime() + { + if (array_key_exists("renewedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["renewedDateTime"], "\DateTime") || is_null($this->_propDict["renewedDateTime"])) { + return $this->_propDict["renewedDateTime"]; + } else { + $this->_propDict["renewedDateTime"] = new \DateTime($this->_propDict["renewedDateTime"]); + return $this->_propDict["renewedDateTime"]; + } + } + return null; + } + + /** + * Sets the renewedDateTime + * Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + * + * @param \DateTime $val The renewedDateTime + * + * @return Group + */ + public function setRenewedDateTime($val) + { + $this->_propDict["renewedDateTime"] = $val; + return $this; + } + + /** + * Gets the securityEnabled + * Specifies whether the group is a security group. Required.Returned by default. Supports $filter (eq, ne, not, in). + * + * @return bool|null The securityEnabled + */ + public function getSecurityEnabled() + { + if (array_key_exists("securityEnabled", $this->_propDict)) { + return $this->_propDict["securityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the securityEnabled + * Specifies whether the group is a security group. Required.Returned by default. Supports $filter (eq, ne, not, in). + * + * @param bool $val The securityEnabled + * + * @return Group + */ + public function setSecurityEnabled($val) + { + $this->_propDict["securityEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the securityIdentifier + * Security identifier of the group, used in Windows scenarios. Returned by default. + * + * @return string|null The securityIdentifier + */ + public function getSecurityIdentifier() + { + if (array_key_exists("securityIdentifier", $this->_propDict)) { + return $this->_propDict["securityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the securityIdentifier + * Security identifier of the group, used in Windows scenarios. Returned by default. + * + * @param string $val The securityIdentifier + * + * @return Group + */ + public function setSecurityIdentifier($val) + { + $this->_propDict["securityIdentifier"] = $val; + return $this; + } + + /** + * Gets the theme + * Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default. + * + * @return string|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + return $this->_propDict["theme"]; + } else { + return null; + } + } + + /** + * Sets the theme + * Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default. + * + * @param string $val The theme + * + * @return Group + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } + + /** + * Gets the visibility + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or Hiddenmembership. Hiddenmembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * + * @return string|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + return $this->_propDict["visibility"]; + } else { + return null; + } + } + + /** + * Sets the visibility + * Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or Hiddenmembership. Hiddenmembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. See group visibility options to learn more. Returned by default. Nullable. + * + * @param string $val The visibility + * + * @return Group + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + /** + * Gets the allowExternalSenders + * Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The allowExternalSenders + */ + public function getAllowExternalSenders() + { + if (array_key_exists("allowExternalSenders", $this->_propDict)) { + return $this->_propDict["allowExternalSenders"]; + } else { + return null; + } + } + + /** + * Sets the allowExternalSenders + * Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The allowExternalSenders + * + * @return Group + */ + public function setAllowExternalSenders($val) + { + $this->_propDict["allowExternalSenders"] = boolval($val); + return $this; + } + + /** + * Gets the autoSubscribeNewMembers + * Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The autoSubscribeNewMembers + */ + public function getAutoSubscribeNewMembers() + { + if (array_key_exists("autoSubscribeNewMembers", $this->_propDict)) { + return $this->_propDict["autoSubscribeNewMembers"]; + } else { + return null; + } + } + + /** + * Sets the autoSubscribeNewMembers + * Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The autoSubscribeNewMembers + * + * @return Group + */ + public function setAutoSubscribeNewMembers($val) + { + $this->_propDict["autoSubscribeNewMembers"] = boolval($val); + return $this; + } + + /** + * Gets the hideFromAddressLists + * true if the group is not displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The hideFromAddressLists + */ + public function getHideFromAddressLists() + { + if (array_key_exists("hideFromAddressLists", $this->_propDict)) { + return $this->_propDict["hideFromAddressLists"]; + } else { + return null; + } + } + + /** + * Sets the hideFromAddressLists + * true if the group is not displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The hideFromAddressLists + * + * @return Group + */ + public function setHideFromAddressLists($val) + { + $this->_propDict["hideFromAddressLists"] = boolval($val); + return $this; + } + + /** + * Gets the hideFromOutlookClients + * true if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The hideFromOutlookClients + */ + public function getHideFromOutlookClients() + { + if (array_key_exists("hideFromOutlookClients", $this->_propDict)) { + return $this->_propDict["hideFromOutlookClients"]; + } else { + return null; + } + } + + /** + * Sets the hideFromOutlookClients + * true if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The hideFromOutlookClients + * + * @return Group + */ + public function setHideFromOutlookClients($val) + { + $this->_propDict["hideFromOutlookClients"] = boolval($val); + return $this; + } + + /** + * Gets the isSubscribedByMail + * Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return bool|null The isSubscribedByMail + */ + public function getIsSubscribedByMail() + { + if (array_key_exists("isSubscribedByMail", $this->_propDict)) { + return $this->_propDict["isSubscribedByMail"]; + } else { + return null; + } + } + + /** + * Sets the isSubscribedByMail + * Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param bool $val The isSubscribedByMail + * + * @return Group + */ + public function setIsSubscribedByMail($val) + { + $this->_propDict["isSubscribedByMail"] = boolval($val); + return $this; + } + + /** + * Gets the unseenCount + * Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @return int|null The unseenCount + */ + public function getUnseenCount() + { + if (array_key_exists("unseenCount", $this->_propDict)) { + return $this->_propDict["unseenCount"]; + } else { + return null; + } + } + + /** + * Sets the unseenCount + * Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + * + * @param int $val The unseenCount + * + * @return Group + */ + public function setUnseenCount($val) + { + $this->_propDict["unseenCount"] = intval($val); + return $this; + } + + /** + * Gets the isArchived + * When a group is associated with a team, this property determines whether the team is in read-only mode. + * + * @return bool|null The isArchived + */ + public function getIsArchived() + { + if (array_key_exists("isArchived", $this->_propDict)) { + return $this->_propDict["isArchived"]; + } else { + return null; + } + } + + /** + * Sets the isArchived + * When a group is associated with a team, this property determines whether the team is in read-only mode. + * + * @param bool $val The isArchived + * + * @return Group + */ + public function setIsArchived($val) + { + $this->_propDict["isArchived"] = boolval($val); + return $this; + } + + + /** + * Gets the appRoleAssignments + * Represents the app roles a group has been granted for an application. Supports $expand. + * + * @return array|null The appRoleAssignments + */ + public function getAppRoleAssignments() + { + if (array_key_exists("appRoleAssignments", $this->_propDict)) { + return $this->_propDict["appRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignments + * Represents the app roles a group has been granted for an application. Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignments + * + * @return Group + */ + public function setAppRoleAssignments($val) + { + $this->_propDict["appRoleAssignments"] = $val; + return $this; + } + + /** + * Gets the createdOnBehalfOf + * The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + * + * @return DirectoryObject|null The createdOnBehalfOf + */ + public function getCreatedOnBehalfOf() + { + if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["createdOnBehalfOf"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["createdOnBehalfOf"])) { + return $this->_propDict["createdOnBehalfOf"]; + } else { + $this->_propDict["createdOnBehalfOf"] = new DirectoryObject($this->_propDict["createdOnBehalfOf"]); + return $this->_propDict["createdOnBehalfOf"]; + } + } + return null; + } + + /** + * Sets the createdOnBehalfOf + * The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + * + * @param DirectoryObject $val The createdOnBehalfOf + * + * @return Group + */ + public function setCreatedOnBehalfOf($val) + { + $this->_propDict["createdOnBehalfOf"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return Group + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the members + * Members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + * + * @param DirectoryObject[] $val The members + * + * @return Group + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the membersWithLicenseErrors + * A list of group members with license errors from this group-based license assignment. Read-only. + * + * @return array|null The membersWithLicenseErrors + */ + public function getMembersWithLicenseErrors() + { + if (array_key_exists("membersWithLicenseErrors", $this->_propDict)) { + return $this->_propDict["membersWithLicenseErrors"]; + } else { + return null; + } + } + + /** + * Sets the membersWithLicenseErrors + * A list of group members with license errors from this group-based license assignment. Read-only. + * + * @param DirectoryObject[] $val The membersWithLicenseErrors + * + * @return Group + */ + public function setMembersWithLicenseErrors($val) + { + $this->_propDict["membersWithLicenseErrors"] = $val; + return $this; + } + + + /** + * Gets the owners + * The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + * + * @param DirectoryObject[] $val The owners + * + * @return Group + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the permissionGrants + * The permissions that have been granted for a group to a specific application. Supports $expand. + * + * @return array|null The permissionGrants + */ + public function getPermissionGrants() + { + if (array_key_exists("permissionGrants", $this->_propDict)) { + return $this->_propDict["permissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrants + * The permissions that have been granted for a group to a specific application. Supports $expand. + * + * @param ResourceSpecificPermissionGrant[] $val The permissionGrants + * + * @return Group + */ + public function setPermissionGrants($val) + { + $this->_propDict["permissionGrants"] = $val; + return $this; + } + + + /** + * Gets the settings + * Settings that can govern this group's behavior, like whether members can invite guest users to the group. Nullable. + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * Settings that can govern this group's behavior, like whether members can invite guest users to the group. Nullable. + * + * @param GroupSetting[] $val The settings + * + * @return Group + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return Group + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveMembers + * + * @return array|null The transitiveMembers + */ + public function getTransitiveMembers() + { + if (array_key_exists("transitiveMembers", $this->_propDict)) { + return $this->_propDict["transitiveMembers"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMembers + * + * @param DirectoryObject[] $val The transitiveMembers + * + * @return Group + */ + public function setTransitiveMembers($val) + { + $this->_propDict["transitiveMembers"] = $val; + return $this; + } + + + /** + * Gets the acceptedSenders + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * + * @return array|null The acceptedSenders + */ + public function getAcceptedSenders() + { + if (array_key_exists("acceptedSenders", $this->_propDict)) { + return $this->_propDict["acceptedSenders"]; + } else { + return null; + } + } + + /** + * Sets the acceptedSenders + * The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + * + * @param DirectoryObject[] $val The acceptedSenders + * + * @return Group + */ + public function setAcceptedSenders($val) + { + $this->_propDict["acceptedSenders"] = $val; + return $this; + } + + /** + * Gets the calendar + * The group's calendar. Read-only. + * + * @return Calendar|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Microsoft\Graph\Model\Calendar") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * The group's calendar. Read-only. + * + * @param Calendar $val The calendar + * + * @return Group + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The calendar view for the calendar. Read-only. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The calendar view for the calendar. Read-only. + * + * @param Event[] $val The calendarView + * + * @return Group + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the conversations + * The group's conversations. + * + * @return array|null The conversations + */ + public function getConversations() + { + if (array_key_exists("conversations", $this->_propDict)) { + return $this->_propDict["conversations"]; + } else { + return null; + } + } + + /** + * Sets the conversations + * The group's conversations. + * + * @param Conversation[] $val The conversations + * + * @return Group + */ + public function setConversations($val) + { + $this->_propDict["conversations"] = $val; + return $this; + } + + + /** + * Gets the events + * The group's events. + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * The group's events. + * + * @param Event[] $val The events + * + * @return Group + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + /** + * Gets the photo + * The group's profile photo. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * The group's profile photo. + * + * @param ProfilePhoto $val The photo + * + * @return Group + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + + /** + * Gets the photos + * The profile photos owned by the group. Read-only. Nullable. + * + * @return array|null The photos + */ + public function getPhotos() + { + if (array_key_exists("photos", $this->_propDict)) { + return $this->_propDict["photos"]; + } else { + return null; + } + } + + /** + * Sets the photos + * The profile photos owned by the group. Read-only. Nullable. + * + * @param ProfilePhoto[] $val The photos + * + * @return Group + */ + public function setPhotos($val) + { + $this->_propDict["photos"] = $val; + return $this; + } + + + /** + * Gets the rejectedSenders + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * + * @return array|null The rejectedSenders + */ + public function getRejectedSenders() + { + if (array_key_exists("rejectedSenders", $this->_propDict)) { + return $this->_propDict["rejectedSenders"]; + } else { + return null; + } + } + + /** + * Sets the rejectedSenders + * The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + * + * @param DirectoryObject[] $val The rejectedSenders + * + * @return Group + */ + public function setRejectedSenders($val) + { + $this->_propDict["rejectedSenders"] = $val; + return $this; + } + + + /** + * Gets the threads + * The group's conversation threads. Nullable. + * + * @return array|null The threads + */ + public function getThreads() + { + if (array_key_exists("threads", $this->_propDict)) { + return $this->_propDict["threads"]; + } else { + return null; + } + } + + /** + * Sets the threads + * The group's conversation threads. Nullable. + * + * @param ConversationThread[] $val The threads + * + * @return Group + */ + public function setThreads($val) + { + $this->_propDict["threads"] = $val; + return $this; + } + + /** + * Gets the drive + * The group's default drive. Read-only. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * The group's default drive. Read-only. + * + * @param Drive $val The drive + * + * @return Group + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the drives + * The group's drives. Read-only. + * + * @return array|null The drives + */ + public function getDrives() + { + if (array_key_exists("drives", $this->_propDict)) { + return $this->_propDict["drives"]; + } else { + return null; + } + } + + /** + * Sets the drives + * The group's drives. Read-only. + * + * @param Drive[] $val The drives + * + * @return Group + */ + public function setDrives($val) + { + $this->_propDict["drives"] = $val; + return $this; + } + + + /** + * Gets the sites + * The list of SharePoint sites in this group. Access the default site with /sites/root. + * + * @return array|null The sites + */ + public function getSites() + { + if (array_key_exists("sites", $this->_propDict)) { + return $this->_propDict["sites"]; + } else { + return null; + } + } + + /** + * Sets the sites + * The list of SharePoint sites in this group. Access the default site with /sites/root. + * + * @param Site[] $val The sites + * + * @return Group + */ + public function setSites($val) + { + $this->_propDict["sites"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the group. Read-only. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the group. Read-only. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Group + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the groupLifecyclePolicies + * The collection of lifecycle policies for this group. Read-only. Nullable. + * + * @return array|null The groupLifecyclePolicies + */ + public function getGroupLifecyclePolicies() + { + if (array_key_exists("groupLifecyclePolicies", $this->_propDict)) { + return $this->_propDict["groupLifecyclePolicies"]; + } else { + return null; + } + } + + /** + * Sets the groupLifecyclePolicies + * The collection of lifecycle policies for this group. Read-only. Nullable. + * + * @param GroupLifecyclePolicy[] $val The groupLifecyclePolicies + * + * @return Group + */ + public function setGroupLifecyclePolicies($val) + { + $this->_propDict["groupLifecyclePolicies"] = $val; + return $this; + } + + /** + * Gets the planner + * Selective Planner services available to the group. Read-only. Nullable. + * + * @return PlannerGroup|null The planner + */ + public function getPlanner() + { + if (array_key_exists("planner", $this->_propDict)) { + if (is_a($this->_propDict["planner"], "\Microsoft\Graph\Model\PlannerGroup") || is_null($this->_propDict["planner"])) { + return $this->_propDict["planner"]; + } else { + $this->_propDict["planner"] = new PlannerGroup($this->_propDict["planner"]); + return $this->_propDict["planner"]; + } + } + return null; + } + + /** + * Sets the planner + * Selective Planner services available to the group. Read-only. Nullable. + * + * @param PlannerGroup $val The planner + * + * @return Group + */ + public function setPlanner($val) + { + $this->_propDict["planner"] = $val; + return $this; + } + + /** + * Gets the onenote + * Read-only. + * + * @return Onenote|null The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "\Microsoft\Graph\Model\Onenote") || is_null($this->_propDict["onenote"])) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Read-only. + * + * @param Onenote $val The onenote + * + * @return Group + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + + /** + * Gets the team + * The team associated with this group. + * + * @return Team|null The team + */ + public function getTeam() + { + if (array_key_exists("team", $this->_propDict)) { + if (is_a($this->_propDict["team"], "\Microsoft\Graph\Model\Team") || is_null($this->_propDict["team"])) { + return $this->_propDict["team"]; + } else { + $this->_propDict["team"] = new Team($this->_propDict["team"]); + return $this->_propDict["team"]; + } + } + return null; + } + + /** + * Sets the team + * The team associated with this group. + * + * @param Team $val The team + * + * @return Group + */ + public function setTeam($val) + { + $this->_propDict["team"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GroupAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/GroupAssignmentTarget.php new file mode 100644 index 0000000..17a56a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GroupAssignmentTarget.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.groupAssignmentTarget"); + } + + /** + * Gets the groupId + * The group Id that is the target of the assignment. + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The group Id that is the target of the assignment. + * + * @param string $val The value of the groupId + * + * @return GroupAssignmentTarget + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GroupLifecyclePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/GroupLifecyclePolicy.php new file mode 100644 index 0000000..a48b6d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GroupLifecyclePolicy.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["alternateNotificationEmails"]; + } else { + return null; + } + } + + /** + * Sets the alternateNotificationEmails + * List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon. + * + * @param string $val The alternateNotificationEmails + * + * @return GroupLifecyclePolicy + */ + public function setAlternateNotificationEmails($val) + { + $this->_propDict["alternateNotificationEmails"] = $val; + return $this; + } + + /** + * Gets the groupLifetimeInDays + * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. + * + * @return int|null The groupLifetimeInDays + */ + public function getGroupLifetimeInDays() + { + if (array_key_exists("groupLifetimeInDays", $this->_propDict)) { + return $this->_propDict["groupLifetimeInDays"]; + } else { + return null; + } + } + + /** + * Sets the groupLifetimeInDays + * Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined. + * + * @param int $val The groupLifetimeInDays + * + * @return GroupLifecyclePolicy + */ + public function setGroupLifetimeInDays($val) + { + $this->_propDict["groupLifetimeInDays"] = intval($val); + return $this; + } + + /** + * Gets the managedGroupTypes + * The group type for which the expiration policy applies. Possible values are All, Selected or None. + * + * @return string|null The managedGroupTypes + */ + public function getManagedGroupTypes() + { + if (array_key_exists("managedGroupTypes", $this->_propDict)) { + return $this->_propDict["managedGroupTypes"]; + } else { + return null; + } + } + + /** + * Sets the managedGroupTypes + * The group type for which the expiration policy applies. Possible values are All, Selected or None. + * + * @param string $val The managedGroupTypes + * + * @return GroupLifecyclePolicy + */ + public function setManagedGroupTypes($val) + { + $this->_propDict["managedGroupTypes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GroupMembers.php b/vendor/microsoft/microsoft-graph/src/Model/GroupMembers.php new file mode 100644 index 0000000..2a7c163 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GroupMembers.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.groupMembers"); + } + + /** + * Gets the description + * The name of the group in Azure AD. Read only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The name of the group in Azure AD. Read only. + * + * @param string $val The value of the description + * + * @return GroupMembers + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the groupId + * The ID of the group in Azure AD. + * + * @return string|null The groupId + */ + public function getGroupId() + { + if (array_key_exists("groupId", $this->_propDict)) { + return $this->_propDict["groupId"]; + } else { + return null; + } + } + + /** + * Sets the groupId + * The ID of the group in Azure AD. + * + * @param string $val The value of the groupId + * + * @return GroupMembers + */ + public function setGroupId($val) + { + $this->_propDict["groupId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GroupSetting.php b/vendor/microsoft/microsoft-graph/src/Model/GroupSetting.php new file mode 100644 index 0000000..4c8f8e4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GroupSetting.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of this group of settings, which comes from the associated template. + * + * @param string $val The displayName + * + * @return GroupSetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the templateId + * Unique identifier for the tenant-level groupSettingTemplates object that's been customized for this group-level settings object. Read-only. + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * Unique identifier for the tenant-level groupSettingTemplates object that's been customized for this group-level settings object. Read-only. + * + * @param string $val The templateId + * + * @return GroupSetting + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + + /** + * Gets the values + * Collection of name-value pairs corresponding to the name and defaultValue properties in the referenced groupSettingTemplates object. + * + * @return array|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Collection of name-value pairs corresponding to the name and defaultValue properties in the referenced groupSettingTemplates object. + * + * @param SettingValue[] $val The values + * + * @return GroupSetting + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GroupSettingTemplate.php b/vendor/microsoft/microsoft-graph/src/Model/GroupSettingTemplate.php new file mode 100644 index 0000000..09f4d32 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GroupSettingTemplate.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the template. + * + * @param string $val The description + * + * @return GroupSettingTemplate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name of the template. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + * + * @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 + * Display name of the template. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. + * + * @param string $val The displayName + * + * @return GroupSettingTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the values + * Collection of settingTemplateValues that list the set of available settings, defaults and types that make up this template. + * + * @return array|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Collection of settingTemplateValues that list the set of available settings, defaults and types that make up this template. + * + * @param SettingTemplateValue[] $val The values + * + * @return GroupSettingTemplate + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/GroupType.php b/vendor/microsoft/microsoft-graph/src/Model/GroupType.php new file mode 100644 index 0000000..3d0aaf6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/GroupType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["crc32Hash"]; + } else { + return null; + } + } + + /** + * Sets the crc32Hash + * The CRC32 value of the file (if available). Read-only. + * + * @param string $val The value of the crc32Hash + * + * @return Hashes + */ + public function setCrc32Hash($val) + { + $this->_propDict["crc32Hash"] = $val; + return $this; + } + /** + * Gets the quickXorHash + * A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only. + * + * @return string|null The quickXorHash + */ + public function getQuickXorHash() + { + if (array_key_exists("quickXorHash", $this->_propDict)) { + return $this->_propDict["quickXorHash"]; + } else { + return null; + } + } + + /** + * Sets the quickXorHash + * A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only. + * + * @param string $val The value of the quickXorHash + * + * @return Hashes + */ + public function setQuickXorHash($val) + { + $this->_propDict["quickXorHash"] = $val; + return $this; + } + /** + * Gets the sha1Hash + * SHA1 hash for the contents of the file (if available). Read-only. + * + * @return string|null The sha1Hash + */ + public function getSha1Hash() + { + if (array_key_exists("sha1Hash", $this->_propDict)) { + return $this->_propDict["sha1Hash"]; + } else { + return null; + } + } + + /** + * Sets the sha1Hash + * SHA1 hash for the contents of the file (if available). Read-only. + * + * @param string $val The value of the sha1Hash + * + * @return Hashes + */ + public function setSha1Hash($val) + { + $this->_propDict["sha1Hash"] = $val; + return $this; + } + /** + * Gets the sha256Hash + * SHA256 hash for the contents of the file (if available). Read-only. + * + * @return string|null The sha256Hash + */ + public function getSha256Hash() + { + if (array_key_exists("sha256Hash", $this->_propDict)) { + return $this->_propDict["sha256Hash"]; + } else { + return null; + } + } + + /** + * Sets the sha256Hash + * SHA256 hash for the contents of the file (if available). Read-only. + * + * @param string $val The value of the sha256Hash + * + * @return Hashes + */ + public function setSha256Hash($val) + { + $this->_propDict["sha256Hash"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/HomeRealmDiscoveryPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/HomeRealmDiscoveryPolicy.php new file mode 100644 index 0000000..c51d24b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/HomeRealmDiscoveryPolicy.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["fqdn"]; + } else { + return null; + } + } + + /** + * Sets the fqdn + * Host FQDN (Fully Qualified Domain Name) (for example, machine.company.com). + * + * @param string $val The value of the fqdn + * + * @return HostSecurityState + */ + public function setFqdn($val) + { + $this->_propDict["fqdn"] = $val; + return $this; + } + /** + * Gets the isAzureAdJoined + * + * @return bool|null The isAzureAdJoined + */ + public function getIsAzureAdJoined() + { + if (array_key_exists("isAzureAdJoined", $this->_propDict)) { + return $this->_propDict["isAzureAdJoined"]; + } else { + return null; + } + } + + /** + * Sets the isAzureAdJoined + * + * @param bool $val The value of the isAzureAdJoined + * + * @return HostSecurityState + */ + public function setIsAzureAdJoined($val) + { + $this->_propDict["isAzureAdJoined"] = $val; + return $this; + } + /** + * Gets the isAzureAdRegistered + * + * @return bool|null The isAzureAdRegistered + */ + public function getIsAzureAdRegistered() + { + if (array_key_exists("isAzureAdRegistered", $this->_propDict)) { + return $this->_propDict["isAzureAdRegistered"]; + } else { + return null; + } + } + + /** + * Sets the isAzureAdRegistered + * + * @param bool $val The value of the isAzureAdRegistered + * + * @return HostSecurityState + */ + public function setIsAzureAdRegistered($val) + { + $this->_propDict["isAzureAdRegistered"] = $val; + return $this; + } + /** + * Gets the isHybridAzureDomainJoined + * True if the host is domain joined to an on-premises Active Directory domain. + * + * @return bool|null The isHybridAzureDomainJoined + */ + public function getIsHybridAzureDomainJoined() + { + if (array_key_exists("isHybridAzureDomainJoined", $this->_propDict)) { + return $this->_propDict["isHybridAzureDomainJoined"]; + } else { + return null; + } + } + + /** + * Sets the isHybridAzureDomainJoined + * True if the host is domain joined to an on-premises Active Directory domain. + * + * @param bool $val The value of the isHybridAzureDomainJoined + * + * @return HostSecurityState + */ + public function setIsHybridAzureDomainJoined($val) + { + $this->_propDict["isHybridAzureDomainJoined"] = $val; + return $this; + } + /** + * Gets the netBiosName + * The local host name, without the DNS domain name. + * + * @return string|null The netBiosName + */ + public function getNetBiosName() + { + if (array_key_exists("netBiosName", $this->_propDict)) { + return $this->_propDict["netBiosName"]; + } else { + return null; + } + } + + /** + * Sets the netBiosName + * The local host name, without the DNS domain name. + * + * @param string $val The value of the netBiosName + * + * @return HostSecurityState + */ + public function setNetBiosName($val) + { + $this->_propDict["netBiosName"] = $val; + return $this; + } + /** + * Gets the os + * Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). + * + * @return string|null The os + */ + public function getOs() + { + if (array_key_exists("os", $this->_propDict)) { + return $this->_propDict["os"]; + } else { + return null; + } + } + + /** + * Sets the os + * Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). + * + * @param string $val The value of the os + * + * @return HostSecurityState + */ + public function setOs($val) + { + $this->_propDict["os"] = $val; + return $this; + } + /** + * Gets the privateIpAddress + * Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert. + * + * @return string|null The privateIpAddress + */ + public function getPrivateIpAddress() + { + if (array_key_exists("privateIpAddress", $this->_propDict)) { + return $this->_propDict["privateIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the privateIpAddress + * Private (not routable) IPv4 or IPv6 address (see RFC 1918) at the time of the alert. + * + * @param string $val The value of the privateIpAddress + * + * @return HostSecurityState + */ + public function setPrivateIpAddress($val) + { + $this->_propDict["privateIpAddress"] = $val; + return $this; + } + /** + * Gets the publicIpAddress + * Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert. + * + * @return string|null The publicIpAddress + */ + public function getPublicIpAddress() + { + if (array_key_exists("publicIpAddress", $this->_propDict)) { + return $this->_propDict["publicIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the publicIpAddress + * Publicly routable IPv4 or IPv6 address (see RFC 1918) at time of the alert. + * + * @param string $val The value of the publicIpAddress + * + * @return HostSecurityState + */ + public function setPublicIpAddress($val) + { + $this->_propDict["publicIpAddress"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider-generated/calculated risk score of the host. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return HostSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/HyperlinkOrPictureColumn.php b/vendor/microsoft/microsoft-graph/src/Model/HyperlinkOrPictureColumn.php new file mode 100644 index 0000000..959f655 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/HyperlinkOrPictureColumn.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isPicture"]; + } else { + return null; + } + } + + /** + * Sets the isPicture + * Specifies whether the display format used for URL columns is an image or a hyperlink. + * + * @param bool $val The value of the isPicture + * + * @return HyperlinkOrPictureColumn + */ + public function setIsPicture($val) + { + $this->_propDict["isPicture"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IPv4CidrRange.php b/vendor/microsoft/microsoft-graph/src/Model/IPv4CidrRange.php new file mode 100644 index 0000000..0b8551e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IPv4CidrRange.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iPv4CidrRange"); + } + + /** + * Gets the cidrAddress + * IPv4 address in CIDR notation. Not nullable. + * + * @return string|null The cidrAddress + */ + public function getCidrAddress() + { + if (array_key_exists("cidrAddress", $this->_propDict)) { + return $this->_propDict["cidrAddress"]; + } else { + return null; + } + } + + /** + * Sets the cidrAddress + * IPv4 address in CIDR notation. Not nullable. + * + * @param string $val The value of the cidrAddress + * + * @return IPv4CidrRange + */ + public function setCidrAddress($val) + { + $this->_propDict["cidrAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IPv4Range.php b/vendor/microsoft/microsoft-graph/src/Model/IPv4Range.php new file mode 100644 index 0000000..5d2e35b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IPv4Range.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.iPv4Range"); + } + + /** + * Gets the lowerAddress + * Lower address. + * + * @return string|null The lowerAddress + */ + public function getLowerAddress() + { + if (array_key_exists("lowerAddress", $this->_propDict)) { + return $this->_propDict["lowerAddress"]; + } else { + return null; + } + } + + /** + * Sets the lowerAddress + * Lower address. + * + * @param string $val The value of the lowerAddress + * + * @return IPv4Range + */ + public function setLowerAddress($val) + { + $this->_propDict["lowerAddress"] = $val; + return $this; + } + /** + * Gets the upperAddress + * Upper address. + * + * @return string|null The upperAddress + */ + public function getUpperAddress() + { + if (array_key_exists("upperAddress", $this->_propDict)) { + return $this->_propDict["upperAddress"]; + } else { + return null; + } + } + + /** + * Sets the upperAddress + * Upper address. + * + * @param string $val The value of the upperAddress + * + * @return IPv4Range + */ + public function setUpperAddress($val) + { + $this->_propDict["upperAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IPv6CidrRange.php b/vendor/microsoft/microsoft-graph/src/Model/IPv6CidrRange.php new file mode 100644 index 0000000..4f1837d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IPv6CidrRange.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iPv6CidrRange"); + } + + /** + * Gets the cidrAddress + * IPv6 address in CIDR notation. Not nullable. + * + * @return string|null The cidrAddress + */ + public function getCidrAddress() + { + if (array_key_exists("cidrAddress", $this->_propDict)) { + return $this->_propDict["cidrAddress"]; + } else { + return null; + } + } + + /** + * Sets the cidrAddress + * IPv6 address in CIDR notation. Not nullable. + * + * @param string $val The value of the cidrAddress + * + * @return IPv6CidrRange + */ + public function setCidrAddress($val) + { + $this->_propDict["cidrAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IPv6Range.php b/vendor/microsoft/microsoft-graph/src/Model/IPv6Range.php new file mode 100644 index 0000000..583c9a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IPv6Range.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.iPv6Range"); + } + + /** + * Gets the lowerAddress + * Lower address. + * + * @return string|null The lowerAddress + */ + public function getLowerAddress() + { + if (array_key_exists("lowerAddress", $this->_propDict)) { + return $this->_propDict["lowerAddress"]; + } else { + return null; + } + } + + /** + * Sets the lowerAddress + * Lower address. + * + * @param string $val The value of the lowerAddress + * + * @return IPv6Range + */ + public function setLowerAddress($val) + { + $this->_propDict["lowerAddress"] = $val; + return $this; + } + /** + * Gets the upperAddress + * Upper address. + * + * @return string|null The upperAddress + */ + public function getUpperAddress() + { + if (array_key_exists("upperAddress", $this->_propDict)) { + return $this->_propDict["upperAddress"]; + } else { + return null; + } + } + + /** + * Sets the upperAddress + * Upper address. + * + * @param string $val The value of the upperAddress + * + * @return IPv6Range + */ + public function setUpperAddress($val) + { + $this->_propDict["upperAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Identity.php b/vendor/microsoft/microsoft-graph/src/Model/Identity.php new file mode 100644 index 0000000..6578577 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Identity.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + * + * @param string $val The value of the displayName + * + * @return Identity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier for the identity. + * + * @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 + * Unique identifier for the identity. + * + * @param string $val The value of the id + * + * @return Identity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityApiConnector.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityApiConnector.php new file mode 100644 index 0000000..3e5130f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityApiConnector.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationConfiguration"], "\Microsoft\Graph\Model\ApiAuthenticationConfigurationBase") || is_null($this->_propDict["authenticationConfiguration"])) { + return $this->_propDict["authenticationConfiguration"]; + } else { + $this->_propDict["authenticationConfiguration"] = new ApiAuthenticationConfigurationBase($this->_propDict["authenticationConfiguration"]); + return $this->_propDict["authenticationConfiguration"]; + } + } + return null; + } + + /** + * Sets the authenticationConfiguration + * The object which describes the authentication configuration details for calling the API. Basic and PKCS 12 client certificate are supported. + * + * @param ApiAuthenticationConfigurationBase $val The authenticationConfiguration + * + * @return IdentityApiConnector + */ + public function setAuthenticationConfiguration($val) + { + $this->_propDict["authenticationConfiguration"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the API connector. + * + * @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 + * The name of the API connector. + * + * @param string $val The displayName + * + * @return IdentityApiConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the targetUrl + * The URL of the API endpoint to call. + * + * @return string|null The targetUrl + */ + public function getTargetUrl() + { + if (array_key_exists("targetUrl", $this->_propDict)) { + return $this->_propDict["targetUrl"]; + } else { + return null; + } + } + + /** + * Sets the targetUrl + * The URL of the API endpoint to call. + * + * @param string $val The targetUrl + * + * @return IdentityApiConnector + */ + public function setTargetUrl($val) + { + $this->_propDict["targetUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityBuiltInUserFlowAttribute.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityBuiltInUserFlowAttribute.php new file mode 100644 index 0000000..e13307b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityBuiltInUserFlowAttribute.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["conditionalAccess"], "\Microsoft\Graph\Model\ConditionalAccessRoot") || is_null($this->_propDict["conditionalAccess"])) { + return $this->_propDict["conditionalAccess"]; + } else { + $this->_propDict["conditionalAccess"] = new ConditionalAccessRoot($this->_propDict["conditionalAccess"]); + return $this->_propDict["conditionalAccess"]; + } + } + return null; + } + + /** + * Sets the conditionalAccess + * the entry point for the Conditional Access (CA) object model. + * + * @param ConditionalAccessRoot $val The conditionalAccess + * + * @return IdentityContainer + */ + public function setConditionalAccess($val) + { + $this->_propDict["conditionalAccess"] = $val; + return $this; + } + + + /** + * Gets the apiConnectors + * Represents entry point for API connectors. + * + * @return array|null The apiConnectors + */ + public function getApiConnectors() + { + if (array_key_exists("apiConnectors", $this->_propDict)) { + return $this->_propDict["apiConnectors"]; + } else { + return null; + } + } + + /** + * Sets the apiConnectors + * Represents entry point for API connectors. + * + * @param IdentityApiConnector[] $val The apiConnectors + * + * @return IdentityContainer + */ + public function setApiConnectors($val) + { + $this->_propDict["apiConnectors"] = $val; + return $this; + } + + + /** + * Gets the b2xUserFlows + * Represents entry point for B2X and self-service sign-up identity userflows. + * + * @return array|null The b2xUserFlows + */ + public function getB2xUserFlows() + { + if (array_key_exists("b2xUserFlows", $this->_propDict)) { + return $this->_propDict["b2xUserFlows"]; + } else { + return null; + } + } + + /** + * Sets the b2xUserFlows + * Represents entry point for B2X and self-service sign-up identity userflows. + * + * @param B2xIdentityUserFlow[] $val The b2xUserFlows + * + * @return IdentityContainer + */ + public function setB2xUserFlows($val) + { + $this->_propDict["b2xUserFlows"] = $val; + return $this; + } + + + /** + * Gets the identityProviders + * Represents entry point for identity provider base. + * + * @return array|null The identityProviders + */ + public function getIdentityProviders() + { + if (array_key_exists("identityProviders", $this->_propDict)) { + return $this->_propDict["identityProviders"]; + } else { + return null; + } + } + + /** + * Sets the identityProviders + * Represents entry point for identity provider base. + * + * @param IdentityProviderBase[] $val The identityProviders + * + * @return IdentityContainer + */ + public function setIdentityProviders($val) + { + $this->_propDict["identityProviders"] = $val; + return $this; + } + + + /** + * Gets the userFlowAttributes + * Represents entry point for identity userflow attributes. + * + * @return array|null The userFlowAttributes + */ + public function getUserFlowAttributes() + { + if (array_key_exists("userFlowAttributes", $this->_propDict)) { + return $this->_propDict["userFlowAttributes"]; + } else { + return null; + } + } + + /** + * Sets the userFlowAttributes + * Represents entry point for identity userflow attributes. + * + * @param IdentityUserFlowAttribute[] $val The userFlowAttributes + * + * @return IdentityContainer + */ + public function setUserFlowAttributes($val) + { + $this->_propDict["userFlowAttributes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityCustomUserFlowAttribute.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityCustomUserFlowAttribute.php new file mode 100644 index 0000000..0e13747 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityCustomUserFlowAttribute.php @@ -0,0 +1,27 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the IdentityGovernance + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the accessReviews + * + * @return AccessReviewSet|null The accessReviews + */ + public function getAccessReviews() + { + if (array_key_exists("accessReviews", $this->_propDict)) { + if (is_a($this->_propDict["accessReviews"], "\Microsoft\Graph\Model\AccessReviewSet") || is_null($this->_propDict["accessReviews"])) { + return $this->_propDict["accessReviews"]; + } else { + $this->_propDict["accessReviews"] = new AccessReviewSet($this->_propDict["accessReviews"]); + return $this->_propDict["accessReviews"]; + } + } + return null; + } + + /** + * Sets the accessReviews + * + * @param AccessReviewSet $val The accessReviews + * + * @return IdentityGovernance + */ + public function setAccessReviews($val) + { + $this->_propDict["accessReviews"] = $val; + return $this; + } + + /** + * Gets the appConsent + * + * @return AppConsentApprovalRoute|null The appConsent + */ + public function getAppConsent() + { + if (array_key_exists("appConsent", $this->_propDict)) { + if (is_a($this->_propDict["appConsent"], "\Microsoft\Graph\Model\AppConsentApprovalRoute") || is_null($this->_propDict["appConsent"])) { + return $this->_propDict["appConsent"]; + } else { + $this->_propDict["appConsent"] = new AppConsentApprovalRoute($this->_propDict["appConsent"]); + return $this->_propDict["appConsent"]; + } + } + return null; + } + + /** + * Sets the appConsent + * + * @param AppConsentApprovalRoute $val The appConsent + * + * @return IdentityGovernance + */ + public function setAppConsent($val) + { + $this->_propDict["appConsent"] = $val; + return $this; + } + + /** + * Gets the termsOfUse + * + * @return TermsOfUseContainer|null The termsOfUse + */ + public function getTermsOfUse() + { + if (array_key_exists("termsOfUse", $this->_propDict)) { + if (is_a($this->_propDict["termsOfUse"], "\Microsoft\Graph\Model\TermsOfUseContainer") || is_null($this->_propDict["termsOfUse"])) { + return $this->_propDict["termsOfUse"]; + } else { + $this->_propDict["termsOfUse"] = new TermsOfUseContainer($this->_propDict["termsOfUse"]); + return $this->_propDict["termsOfUse"]; + } + } + return null; + } + + /** + * Sets the termsOfUse + * + * @param TermsOfUseContainer $val The termsOfUse + * + * @return IdentityGovernance + */ + public function setTermsOfUse($val) + { + $this->_propDict["termsOfUse"] = $val; + return $this; + } + + /** + * Gets the entitlementManagement + * + * @return EntitlementManagement|null The entitlementManagement + */ + public function getEntitlementManagement() + { + if (array_key_exists("entitlementManagement", $this->_propDict)) { + if (is_a($this->_propDict["entitlementManagement"], "\Microsoft\Graph\Model\EntitlementManagement") || is_null($this->_propDict["entitlementManagement"])) { + return $this->_propDict["entitlementManagement"]; + } else { + $this->_propDict["entitlementManagement"] = new EntitlementManagement($this->_propDict["entitlementManagement"]); + return $this->_propDict["entitlementManagement"]; + } + } + return null; + } + + /** + * Sets the entitlementManagement + * + * @param EntitlementManagement $val The entitlementManagement + * + * @return IdentityGovernance + */ + public function setEntitlementManagement($val) + { + $this->_propDict["entitlementManagement"] = $val; + 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 IdentityGovernance + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityProtectionRoot.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityProtectionRoot.php new file mode 100644 index 0000000..5d3a94f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityProtectionRoot.php @@ -0,0 +1,164 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the IdentityProtectionRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the riskDetections + * Risk detection in Azure AD Identity Protection and the associated information about the detection. + * + * @return array|null The riskDetections + */ + public function getRiskDetections() + { + if (array_key_exists("riskDetections", $this->_propDict)) { + return $this->_propDict["riskDetections"]; + } else { + return null; + } + } + + /** + * Sets the riskDetections + * Risk detection in Azure AD Identity Protection and the associated information about the detection. + * + * @param RiskDetection[] $val The riskDetections + * + * @return IdentityProtectionRoot + */ + public function setRiskDetections($val) + { + $this->_propDict["riskDetections"] = $val; + return $this; + } + + + /** + * Gets the riskyUsers + * Users that are flagged as at-risk by Azure AD Identity Protection. + * + * @return array|null The riskyUsers + */ + public function getRiskyUsers() + { + if (array_key_exists("riskyUsers", $this->_propDict)) { + return $this->_propDict["riskyUsers"]; + } else { + return null; + } + } + + /** + * Sets the riskyUsers + * Users that are flagged as at-risk by Azure AD Identity Protection. + * + * @param RiskyUser[] $val The riskyUsers + * + * @return IdentityProtectionRoot + */ + public function setRiskyUsers($val) + { + $this->_propDict["riskyUsers"] = $val; + 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 IdentityProtectionRoot + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityProvider.php new file mode 100644 index 0000000..1db6a0e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityProvider.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The client ID for the application obtained when registering the application with the identity provider. This is a required field. Required. Not nullable. + * + * @param string $val The clientId + * + * @return IdentityProvider + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the clientSecret + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return ****. This is a required field. Required. Not nullable. + * + * @param string $val The clientSecret + * + * @return IdentityProvider + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } + + /** + * Gets the name + * The display name of the identity provider. Not nullable. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the identity provider. Not nullable. + * + * @param string $val The name + * + * @return IdentityProvider + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the type + * The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo,QQ, WeChat, OpenIDConnect. Not nullable. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo,QQ, WeChat, OpenIDConnect. Not nullable. + * + * @param string $val The type + * + * @return IdentityProvider + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityProviderBase.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityProviderBase.php new file mode 100644 index 0000000..0c36152 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityProviderBase.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the identity provider. + * + * @param string $val The displayName + * + * @return IdentityProviderBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentitySecurityDefaultsEnforcementPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/IdentitySecurityDefaultsEnforcementPolicy.php new file mode 100644 index 0000000..eb24c07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentitySecurityDefaultsEnforcementPolicy.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * If set to true, Azure Active Directory security defaults is enabled for the tenant. + * + * @param bool $val The isEnabled + * + * @return IdentitySecurityDefaultsEnforcementPolicy + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentitySet.php b/vendor/microsoft/microsoft-graph/src/Model/IdentitySet.php new file mode 100644 index 0000000..89d0ec8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentitySet.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Identity($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * The Identity of the Application. This property is read-only. + * + * @param Identity $val The value to assign to the application + * + * @return IdentitySet The IdentitySet + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + /** + * Gets the device + * The Identity of the Device. This property is read-only. + * + * @return Identity|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Identity($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * The Identity of the Device. This property is read-only. + * + * @param Identity $val The value to assign to the device + * + * @return IdentitySet The IdentitySet + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + + /** + * Gets the user + * The Identity of the User. This property is read-only. + * + * @return Identity|null The user + */ + public function getUser() + { + if (array_key_exists("user", $this->_propDict)) { + if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["user"])) { + return $this->_propDict["user"]; + } else { + $this->_propDict["user"] = new Identity($this->_propDict["user"]); + return $this->_propDict["user"]; + } + } + return null; + } + + /** + * Sets the user + * The Identity of the User. This property is read-only. + * + * @param Identity $val The value to assign to the user + * + * @return IdentitySet The IdentitySet + */ + public function setUser($val) + { + $this->_propDict["user"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentitySource.php b/vendor/microsoft/microsoft-graph/src/Model/IdentitySource.php new file mode 100644 index 0000000..3019939 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentitySource.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["userFlowType"], "\Microsoft\Graph\Model\UserFlowType") || is_null($this->_propDict["userFlowType"])) { + return $this->_propDict["userFlowType"]; + } else { + $this->_propDict["userFlowType"] = new UserFlowType($this->_propDict["userFlowType"]); + return $this->_propDict["userFlowType"]; + } + } + return null; + } + + /** + * Sets the userFlowType + * + * @param UserFlowType $val The userFlowType + * + * @return IdentityUserFlow + */ + public function setUserFlowType($val) + { + $this->_propDict["userFlowType"] = $val; + return $this; + } + + /** + * Gets the userFlowTypeVersion + * + * @return float|null The userFlowTypeVersion + */ + public function getUserFlowTypeVersion() + { + if (array_key_exists("userFlowTypeVersion", $this->_propDict)) { + return $this->_propDict["userFlowTypeVersion"]; + } else { + return null; + } + } + + /** + * Sets the userFlowTypeVersion + * + * @param float $val The userFlowTypeVersion + * + * @return IdentityUserFlow + */ + public function setUserFlowTypeVersion($val) + { + $this->_propDict["userFlowTypeVersion"] = floatval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttribute.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttribute.php new file mode 100644 index 0000000..365ee6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttribute.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["dataType"], "\Microsoft\Graph\Model\IdentityUserFlowAttributeDataType") || is_null($this->_propDict["dataType"])) { + return $this->_propDict["dataType"]; + } else { + $this->_propDict["dataType"] = new IdentityUserFlowAttributeDataType($this->_propDict["dataType"]); + return $this->_propDict["dataType"]; + } + } + return null; + } + + /** + * Sets the dataType + * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime. + * + * @param IdentityUserFlowAttributeDataType $val The dataType + * + * @return IdentityUserFlowAttribute + */ + public function setDataType($val) + { + $this->_propDict["dataType"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the user flow attribute that's shown to the user at the time of sign-up. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the user flow attribute that's shown to the user at the time of sign-up. + * + * @param string $val The description + * + * @return IdentityUserFlowAttribute + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the user flow attribute. + * + * @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 + * The display name of the user flow attribute. + * + * @param string $val The displayName + * + * @return IdentityUserFlowAttribute + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the userFlowAttributeType + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, or required. + * + * @return IdentityUserFlowAttributeType|null The userFlowAttributeType + */ + public function getUserFlowAttributeType() + { + if (array_key_exists("userFlowAttributeType", $this->_propDict)) { + if (is_a($this->_propDict["userFlowAttributeType"], "\Microsoft\Graph\Model\IdentityUserFlowAttributeType") || is_null($this->_propDict["userFlowAttributeType"])) { + return $this->_propDict["userFlowAttributeType"]; + } else { + $this->_propDict["userFlowAttributeType"] = new IdentityUserFlowAttributeType($this->_propDict["userFlowAttributeType"]); + return $this->_propDict["userFlowAttributeType"]; + } + } + return null; + } + + /** + * Sets the userFlowAttributeType + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, or required. + * + * @param IdentityUserFlowAttributeType $val The userFlowAttributeType + * + * @return IdentityUserFlowAttribute + */ + public function setUserFlowAttributeType($val) + { + $this->_propDict["userFlowAttributeType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttributeAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttributeAssignment.php new file mode 100644 index 0000000..9d0ef6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttributeAssignment.php @@ -0,0 +1,210 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name of the identityUserFlowAttribute within a user flow. + * + * @param string $val The displayName + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isOptional + * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user cannot complete sign-up without providing a value. + * + * @return bool|null The isOptional + */ + public function getIsOptional() + { + if (array_key_exists("isOptional", $this->_propDict)) { + return $this->_propDict["isOptional"]; + } else { + return null; + } + } + + /** + * Sets the isOptional + * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user cannot complete sign-up without providing a value. + * + * @param bool $val The isOptional + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setIsOptional($val) + { + $this->_propDict["isOptional"] = boolval($val); + return $this; + } + + /** + * Gets the requiresVerification + * Determines whether the identityUserFlowAttribute requires verification. This is only used for verifying the user's phone number or email address. + * + * @return bool|null The requiresVerification + */ + public function getRequiresVerification() + { + if (array_key_exists("requiresVerification", $this->_propDict)) { + return $this->_propDict["requiresVerification"]; + } else { + return null; + } + } + + /** + * Sets the requiresVerification + * Determines whether the identityUserFlowAttribute requires verification. This is only used for verifying the user's phone number or email address. + * + * @param bool $val The requiresVerification + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setRequiresVerification($val) + { + $this->_propDict["requiresVerification"] = boolval($val); + return $this; + } + + + /** + * Gets the userAttributeValues + * The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect. + * + * @return array|null The userAttributeValues + */ + public function getUserAttributeValues() + { + if (array_key_exists("userAttributeValues", $this->_propDict)) { + return $this->_propDict["userAttributeValues"]; + } else { + return null; + } + } + + /** + * Sets the userAttributeValues + * The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect. + * + * @param UserAttributeValuesItem[] $val The userAttributeValues + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setUserAttributeValues($val) + { + $this->_propDict["userAttributeValues"] = $val; + return $this; + } + + /** + * Gets the userInputType + * The input type of the user flow attribute. Possible values are: textBox, dateTimeDropdown, radioSingleSelect, dropdownSingleSelect, emailBox, checkboxMultiSelect. + * + * @return IdentityUserFlowAttributeInputType|null The userInputType + */ + public function getUserInputType() + { + if (array_key_exists("userInputType", $this->_propDict)) { + if (is_a($this->_propDict["userInputType"], "\Microsoft\Graph\Model\IdentityUserFlowAttributeInputType") || is_null($this->_propDict["userInputType"])) { + return $this->_propDict["userInputType"]; + } else { + $this->_propDict["userInputType"] = new IdentityUserFlowAttributeInputType($this->_propDict["userInputType"]); + return $this->_propDict["userInputType"]; + } + } + return null; + } + + /** + * Sets the userInputType + * The input type of the user flow attribute. Possible values are: textBox, dateTimeDropdown, radioSingleSelect, dropdownSingleSelect, emailBox, checkboxMultiSelect. + * + * @param IdentityUserFlowAttributeInputType $val The userInputType + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setUserInputType($val) + { + $this->_propDict["userInputType"] = $val; + return $this; + } + + /** + * Gets the userAttribute + * The user attribute that you want to add to your user flow. + * + * @return IdentityUserFlowAttribute|null The userAttribute + */ + public function getUserAttribute() + { + if (array_key_exists("userAttribute", $this->_propDict)) { + if (is_a($this->_propDict["userAttribute"], "\Microsoft\Graph\Model\IdentityUserFlowAttribute") || is_null($this->_propDict["userAttribute"])) { + return $this->_propDict["userAttribute"]; + } else { + $this->_propDict["userAttribute"] = new IdentityUserFlowAttribute($this->_propDict["userAttribute"]); + return $this->_propDict["userAttribute"]; + } + } + return null; + } + + /** + * Sets the userAttribute + * The user attribute that you want to add to your user flow. + * + * @param IdentityUserFlowAttribute $val The userAttribute + * + * @return IdentityUserFlowAttributeAssignment + */ + public function setUserAttribute($val) + { + $this->_propDict["userAttribute"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttributeDataType.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttributeDataType.php new file mode 100644 index 0000000..e2a31ec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IdentityUserFlowAttributeDataType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * Optional. Height of the image, in pixels. Read-only. + * + * @param int $val The value of the height + * + * @return Image + */ + public function setHeight($val) + { + $this->_propDict["height"] = $val; + return $this; + } + /** + * Gets the width + * Optional. Width of the image, in pixels. Read-only. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * Optional. Width of the image, in pixels. Read-only. + * + * @param int $val The value of the width + * + * @return Image + */ + public function setWidth($val) + { + $this->_propDict["width"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ImageInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ImageInfo.php new file mode 100644 index 0000000..382c621 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ImageInfo.php @@ -0,0 +1,136 @@ +_propDict)) { + return $this->_propDict["addImageQuery"]; + } else { + return null; + } + } + + /** + * Sets the addImageQuery + * Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image + * + * @param bool $val The value of the addImageQuery + * + * @return ImageInfo + */ + public function setAddImageQuery($val) + { + $this->_propDict["addImageQuery"] = $val; + return $this; + } + /** + * Gets the alternateText + * Optional; alt-text accessible content for the image + * + * @return string|null The alternateText + */ + public function getAlternateText() + { + if (array_key_exists("alternateText", $this->_propDict)) { + return $this->_propDict["alternateText"]; + } else { + return null; + } + } + + /** + * Sets the alternateText + * Optional; alt-text accessible content for the image + * + * @param string $val The value of the alternateText + * + * @return ImageInfo + */ + public function setAlternateText($val) + { + $this->_propDict["alternateText"] = $val; + return $this; + } + /** + * Gets the alternativeText + * + * @return string|null The alternativeText + */ + public function getAlternativeText() + { + if (array_key_exists("alternativeText", $this->_propDict)) { + return $this->_propDict["alternativeText"]; + } else { + return null; + } + } + + /** + * Sets the alternativeText + * + * @param string $val The value of the alternativeText + * + * @return ImageInfo + */ + public function setAlternativeText($val) + { + $this->_propDict["alternativeText"] = $val; + return $this; + } + /** + * Gets the iconUrl + * Optional; URI that points to an icon which represents the application used to generate the activity + * + * @return string|null The iconUrl + */ + public function getIconUrl() + { + if (array_key_exists("iconUrl", $this->_propDict)) { + return $this->_propDict["iconUrl"]; + } else { + return null; + } + } + + /** + * Sets the iconUrl + * Optional; URI that points to an icon which represents the application used to generate the activity + * + * @param string $val The value of the iconUrl + * + * @return ImageInfo + */ + public function setIconUrl($val) + { + $this->_propDict["iconUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ImplicitGrantSettings.php b/vendor/microsoft/microsoft-graph/src/Model/ImplicitGrantSettings.php new file mode 100644 index 0000000..69e5c88 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ImplicitGrantSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["enableAccessTokenIssuance"]; + } else { + return null; + } + } + + /** + * Sets the enableAccessTokenIssuance + * Specifies whether this web application can request an access token using the OAuth 2.0 implicit flow. + * + * @param bool $val The value of the enableAccessTokenIssuance + * + * @return ImplicitGrantSettings + */ + public function setEnableAccessTokenIssuance($val) + { + $this->_propDict["enableAccessTokenIssuance"] = $val; + return $this; + } + /** + * Gets the enableIdTokenIssuance + * Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow. + * + * @return bool|null The enableIdTokenIssuance + */ + public function getEnableIdTokenIssuance() + { + if (array_key_exists("enableIdTokenIssuance", $this->_propDict)) { + return $this->_propDict["enableIdTokenIssuance"]; + } else { + return null; + } + } + + /** + * Sets the enableIdTokenIssuance + * Specifies whether this web application can request an ID token using the OAuth 2.0 implicit flow. + * + * @param bool $val The value of the enableIdTokenIssuance + * + * @return ImplicitGrantSettings + */ + public function setEnableIdTokenIssuance($val) + { + $this->_propDict["enableIdTokenIssuance"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Importance.php b/vendor/microsoft/microsoft-graph/src/Model/Importance.php new file mode 100644 index 0000000..afbffc7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Importance.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["assignedUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the assignedUserPrincipalName + * UPN of the user the device will be assigned + * + * @param string $val The assignedUserPrincipalName + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setAssignedUserPrincipalName($val) + { + $this->_propDict["assignedUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the groupTag + * Group Tag of the Windows autopilot device. + * + * @return string|null The groupTag + */ + public function getGroupTag() + { + if (array_key_exists("groupTag", $this->_propDict)) { + return $this->_propDict["groupTag"]; + } else { + return null; + } + } + + /** + * Sets the groupTag + * Group Tag of the Windows autopilot device. + * + * @param string $val The groupTag + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setGroupTag($val) + { + $this->_propDict["groupTag"] = $val; + return $this; + } + + /** + * Gets the hardwareIdentifier + * Hardware Blob of the Windows autopilot device. + * + * @return \GuzzleHttp\Psr7\Stream|null The hardwareIdentifier + */ + public function getHardwareIdentifier() + { + if (array_key_exists("hardwareIdentifier", $this->_propDict)) { + if (is_a($this->_propDict["hardwareIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["hardwareIdentifier"])) { + return $this->_propDict["hardwareIdentifier"]; + } else { + $this->_propDict["hardwareIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["hardwareIdentifier"]); + return $this->_propDict["hardwareIdentifier"]; + } + } + return null; + } + + /** + * Sets the hardwareIdentifier + * Hardware Blob of the Windows autopilot device. + * + * @param \GuzzleHttp\Psr7\Stream $val The hardwareIdentifier + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setHardwareIdentifier($val) + { + $this->_propDict["hardwareIdentifier"] = $val; + return $this; + } + + /** + * Gets the importId + * The Import Id of the Windows autopilot device. + * + * @return string|null The importId + */ + public function getImportId() + { + if (array_key_exists("importId", $this->_propDict)) { + return $this->_propDict["importId"]; + } else { + return null; + } + } + + /** + * Sets the importId + * The Import Id of the Windows autopilot device. + * + * @param string $val The importId + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setImportId($val) + { + $this->_propDict["importId"] = $val; + return $this; + } + + /** + * Gets the productKey + * Product Key of the Windows autopilot device. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Product Key of the Windows autopilot device. + * + * @param string $val The productKey + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * Serial number of the Windows autopilot device. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Serial number of the Windows autopilot device. + * + * @param string $val The serialNumber + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the state + * Current state of the imported device. + * + * @return ImportedWindowsAutopilotDeviceIdentityState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ImportedWindowsAutopilotDeviceIdentityState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Current state of the imported device. + * + * @param ImportedWindowsAutopilotDeviceIdentityState $val The state + * + * @return ImportedWindowsAutopilotDeviceIdentity + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php new file mode 100644 index 0000000..4299daf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["deviceErrorCode"]; + } else { + return null; + } + } + + /** + * Sets the deviceErrorCode + * Device error code reported by Device Directory Service(DDS). + * + * @param int $val The value of the deviceErrorCode + * + * @return ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceErrorCode($val) + { + $this->_propDict["deviceErrorCode"] = $val; + return $this; + } + /** + * Gets the deviceErrorName + * Device error name reported by Device Directory Service(DDS). + * + * @return string|null The deviceErrorName + */ + public function getDeviceErrorName() + { + if (array_key_exists("deviceErrorName", $this->_propDict)) { + return $this->_propDict["deviceErrorName"]; + } else { + return null; + } + } + + /** + * Sets the deviceErrorName + * Device error name reported by Device Directory Service(DDS). + * + * @param string $val The value of the deviceErrorName + * + * @return ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceErrorName($val) + { + $this->_propDict["deviceErrorName"] = $val; + return $this; + } + + /** + * Gets the deviceImportStatus + * Device status reported by Device Directory Service(DDS). Possible values are: unknown, pending, partial, complete, error. + * + * @return ImportedWindowsAutopilotDeviceIdentityImportStatus|null The deviceImportStatus + */ + public function getDeviceImportStatus() + { + if (array_key_exists("deviceImportStatus", $this->_propDict)) { + if (is_a($this->_propDict["deviceImportStatus"], "\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityImportStatus") || is_null($this->_propDict["deviceImportStatus"])) { + return $this->_propDict["deviceImportStatus"]; + } else { + $this->_propDict["deviceImportStatus"] = new ImportedWindowsAutopilotDeviceIdentityImportStatus($this->_propDict["deviceImportStatus"]); + return $this->_propDict["deviceImportStatus"]; + } + } + return null; + } + + /** + * Sets the deviceImportStatus + * Device status reported by Device Directory Service(DDS). Possible values are: unknown, pending, partial, complete, error. + * + * @param ImportedWindowsAutopilotDeviceIdentityImportStatus $val The value to assign to the deviceImportStatus + * + * @return ImportedWindowsAutopilotDeviceIdentityState The ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceImportStatus($val) + { + $this->_propDict["deviceImportStatus"] = $val; + return $this; + } + /** + * Gets the deviceRegistrationId + * Device Registration ID for successfully added device reported by Device Directory Service(DDS). + * + * @return string|null The deviceRegistrationId + */ + public function getDeviceRegistrationId() + { + if (array_key_exists("deviceRegistrationId", $this->_propDict)) { + return $this->_propDict["deviceRegistrationId"]; + } else { + return null; + } + } + + /** + * Sets the deviceRegistrationId + * Device Registration ID for successfully added device reported by Device Directory Service(DDS). + * + * @param string $val The value of the deviceRegistrationId + * + * @return ImportedWindowsAutopilotDeviceIdentityState + */ + public function setDeviceRegistrationId($val) + { + $this->_propDict["deviceRegistrationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php b/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php new file mode 100644 index 0000000..084f806 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php @@ -0,0 +1,123 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTimeUtc"], "\DateTime") || is_null($this->_propDict["createdDateTimeUtc"])) { + return $this->_propDict["createdDateTimeUtc"]; + } else { + $this->_propDict["createdDateTimeUtc"] = new \DateTime($this->_propDict["createdDateTimeUtc"]); + return $this->_propDict["createdDateTimeUtc"]; + } + } + return null; + } + + /** + * Sets the createdDateTimeUtc + * DateTime when the entity is created. + * + * @param \DateTime $val The createdDateTimeUtc + * + * @return ImportedWindowsAutopilotDeviceIdentityUpload + */ + public function setCreatedDateTimeUtc($val) + { + $this->_propDict["createdDateTimeUtc"] = $val; + return $this; + } + + /** + * Gets the status + * Upload status. + * + * @return ImportedWindowsAutopilotDeviceIdentityUploadStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityUploadStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ImportedWindowsAutopilotDeviceIdentityUploadStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Upload status. + * + * @param ImportedWindowsAutopilotDeviceIdentityUploadStatus $val The status + * + * @return ImportedWindowsAutopilotDeviceIdentityUpload + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the deviceIdentities + * Collection of all Autopilot devices as a part of this upload. + * + * @return array|null The deviceIdentities + */ + public function getDeviceIdentities() + { + if (array_key_exists("deviceIdentities", $this->_propDict)) { + return $this->_propDict["deviceIdentities"]; + } else { + return null; + } + } + + /** + * Sets the deviceIdentities + * Collection of all Autopilot devices as a part of this upload. + * + * @param ImportedWindowsAutopilotDeviceIdentity[] $val The deviceIdentities + * + * @return ImportedWindowsAutopilotDeviceIdentityUpload + */ + public function setDeviceIdentities($val) + { + $this->_propDict["deviceIdentities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php new file mode 100644 index 0000000..d6fefc1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.incomingCallOptions"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IncomingContext.php b/vendor/microsoft/microsoft-graph/src/Model/IncomingContext.php new file mode 100644 index 0000000..f9243e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IncomingContext.php @@ -0,0 +1,148 @@ +_propDict)) { + return $this->_propDict["observedParticipantId"]; + } else { + return null; + } + } + + /** + * Sets the observedParticipantId + * The id of the participant that is under observation. Read-only. + * + * @param string $val The value of the observedParticipantId + * + * @return IncomingContext + */ + public function setObservedParticipantId($val) + { + $this->_propDict["observedParticipantId"] = $val; + return $this; + } + + /** + * Gets the onBehalfOf + * The identity that the call is happening on behalf of. + * + * @return IdentitySet|null The onBehalfOf + */ + public function getOnBehalfOf() + { + if (array_key_exists("onBehalfOf", $this->_propDict)) { + if (is_a($this->_propDict["onBehalfOf"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["onBehalfOf"])) { + return $this->_propDict["onBehalfOf"]; + } else { + $this->_propDict["onBehalfOf"] = new IdentitySet($this->_propDict["onBehalfOf"]); + return $this->_propDict["onBehalfOf"]; + } + } + return null; + } + + /** + * Sets the onBehalfOf + * The identity that the call is happening on behalf of. + * + * @param IdentitySet $val The value to assign to the onBehalfOf + * + * @return IncomingContext The IncomingContext + */ + public function setOnBehalfOf($val) + { + $this->_propDict["onBehalfOf"] = $val; + return $this; + } + /** + * Gets the sourceParticipantId + * The id of the participant that triggered the incoming call. Read-only. + * + * @return string|null The sourceParticipantId + */ + public function getSourceParticipantId() + { + if (array_key_exists("sourceParticipantId", $this->_propDict)) { + return $this->_propDict["sourceParticipantId"]; + } else { + return null; + } + } + + /** + * Sets the sourceParticipantId + * The id of the participant that triggered the incoming call. Read-only. + * + * @param string $val The value of the sourceParticipantId + * + * @return IncomingContext + */ + public function setSourceParticipantId($val) + { + $this->_propDict["sourceParticipantId"] = $val; + return $this; + } + + /** + * Gets the transferor + * The identity that transferred the call. + * + * @return IdentitySet|null The transferor + */ + public function getTransferor() + { + if (array_key_exists("transferor", $this->_propDict)) { + if (is_a($this->_propDict["transferor"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["transferor"])) { + return $this->_propDict["transferor"]; + } else { + $this->_propDict["transferor"] = new IdentitySet($this->_propDict["transferor"]); + return $this->_propDict["transferor"]; + } + } + return null; + } + + /** + * Sets the transferor + * The identity that transferred the call. + * + * @param IdentitySet $val The value to assign to the transferor + * + * @return IncomingContext The IncomingContext + */ + public function setTransferor($val) + { + $this->_propDict["transferor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IncompleteData.php b/vendor/microsoft/microsoft-graph/src/Model/IncompleteData.php new file mode 100644 index 0000000..858ed4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IncompleteData.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["missingDataBeforeDateTime"], "\DateTime") || is_null($this->_propDict["missingDataBeforeDateTime"])) { + return $this->_propDict["missingDataBeforeDateTime"]; + } else { + $this->_propDict["missingDataBeforeDateTime"] = new \DateTime($this->_propDict["missingDataBeforeDateTime"]); + return $this->_propDict["missingDataBeforeDateTime"]; + } + } + return null; + } + + /** + * Sets the missingDataBeforeDateTime + * The service does not have source data before the specified time. + * + * @param \DateTime $val The value to assign to the missingDataBeforeDateTime + * + * @return IncompleteData The IncompleteData + */ + public function setMissingDataBeforeDateTime($val) + { + $this->_propDict["missingDataBeforeDateTime"] = $val; + return $this; + } + /** + * Gets the wasThrottled + * Some data was not recorded due to excessive activity. + * + * @return bool|null The wasThrottled + */ + public function getWasThrottled() + { + if (array_key_exists("wasThrottled", $this->_propDict)) { + return $this->_propDict["wasThrottled"]; + } else { + return null; + } + } + + /** + * Sets the wasThrottled + * Some data was not recorded due to excessive activity. + * + * @param bool $val The value of the wasThrottled + * + * @return IncompleteData + */ + public function setWasThrottled($val) + { + $this->_propDict["wasThrottled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InferenceClassification.php b/vendor/microsoft/microsoft-graph/src/Model/InferenceClassification.php new file mode 100644 index 0000000..76cbffb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InferenceClassification.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["overrides"]; + } else { + return null; + } + } + + /** + * Sets the overrides + * A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. + * + * @param InferenceClassificationOverride[] $val The overrides + * + * @return InferenceClassification + */ + public function setOverrides($val) + { + $this->_propDict["overrides"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationOverride.php b/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationOverride.php new file mode 100644 index 0000000..b56f22c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationOverride.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["classifyAs"], "\Microsoft\Graph\Model\InferenceClassificationType") || is_null($this->_propDict["classifyAs"])) { + return $this->_propDict["classifyAs"]; + } else { + $this->_propDict["classifyAs"] = new InferenceClassificationType($this->_propDict["classifyAs"]); + return $this->_propDict["classifyAs"]; + } + } + return null; + } + + /** + * Sets the classifyAs + * Specifies how incoming messages from a specific sender should always be classified as. Possible values are: focused, other. + * + * @param InferenceClassificationType $val The classifyAs + * + * @return InferenceClassificationOverride + */ + public function setClassifyAs($val) + { + $this->_propDict["classifyAs"] = $val; + return $this; + } + + /** + * Gets the senderEmailAddress + * The email address information of the sender for whom the override is created. + * + * @return EmailAddress|null The senderEmailAddress + */ + public function getSenderEmailAddress() + { + if (array_key_exists("senderEmailAddress", $this->_propDict)) { + if (is_a($this->_propDict["senderEmailAddress"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["senderEmailAddress"])) { + return $this->_propDict["senderEmailAddress"]; + } else { + $this->_propDict["senderEmailAddress"] = new EmailAddress($this->_propDict["senderEmailAddress"]); + return $this->_propDict["senderEmailAddress"]; + } + } + return null; + } + + /** + * Sets the senderEmailAddress + * The email address information of the sender for whom the override is created. + * + * @param EmailAddress $val The senderEmailAddress + * + * @return InferenceClassificationOverride + */ + public function setSenderEmailAddress($val) + { + $this->_propDict["senderEmailAddress"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationType.php b/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationType.php new file mode 100644 index 0000000..07bbceb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["bitlocker"], "\Microsoft\Graph\Model\Bitlocker") || is_null($this->_propDict["bitlocker"])) { + return $this->_propDict["bitlocker"]; + } else { + $this->_propDict["bitlocker"] = new Bitlocker($this->_propDict["bitlocker"]); + return $this->_propDict["bitlocker"]; + } + } + return null; + } + + /** + * Sets the bitlocker + * + * @param Bitlocker $val The bitlocker + * + * @return InformationProtection + */ + public function setBitlocker($val) + { + $this->_propDict["bitlocker"] = $val; + return $this; + } + + + /** + * Gets the threatAssessmentRequests + * + * @return array|null The threatAssessmentRequests + */ + public function getThreatAssessmentRequests() + { + if (array_key_exists("threatAssessmentRequests", $this->_propDict)) { + return $this->_propDict["threatAssessmentRequests"]; + } else { + return null; + } + } + + /** + * Sets the threatAssessmentRequests + * + * @param ThreatAssessmentRequest[] $val The threatAssessmentRequests + * + * @return InformationProtection + */ + public function setThreatAssessmentRequests($val) + { + $this->_propDict["threatAssessmentRequests"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InformationalUrl.php b/vendor/microsoft/microsoft-graph/src/Model/InformationalUrl.php new file mode 100644 index 0000000..ca9694c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InformationalUrl.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["logoUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoUrl + * CDN URL to the application's logo, Read-only. + * + * @param string $val The value of the logoUrl + * + * @return InformationalUrl + */ + public function setLogoUrl($val) + { + $this->_propDict["logoUrl"] = $val; + return $this; + } + /** + * Gets the marketingUrl + * Link to the application's marketing page. For example, https://www.contoso.com/app/marketing + * + * @return string|null The marketingUrl + */ + public function getMarketingUrl() + { + if (array_key_exists("marketingUrl", $this->_propDict)) { + return $this->_propDict["marketingUrl"]; + } else { + return null; + } + } + + /** + * Sets the marketingUrl + * Link to the application's marketing page. For example, https://www.contoso.com/app/marketing + * + * @param string $val The value of the marketingUrl + * + * @return InformationalUrl + */ + public function setMarketingUrl($val) + { + $this->_propDict["marketingUrl"] = $val; + return $this; + } + /** + * Gets the privacyStatementUrl + * Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy + * + * @return string|null The privacyStatementUrl + */ + public function getPrivacyStatementUrl() + { + if (array_key_exists("privacyStatementUrl", $this->_propDict)) { + return $this->_propDict["privacyStatementUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyStatementUrl + * Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy + * + * @param string $val The value of the privacyStatementUrl + * + * @return InformationalUrl + */ + public function setPrivacyStatementUrl($val) + { + $this->_propDict["privacyStatementUrl"] = $val; + return $this; + } + /** + * Gets the supportUrl + * Link to the application's support page. For example, https://www.contoso.com/app/support + * + * @return string|null The supportUrl + */ + public function getSupportUrl() + { + if (array_key_exists("supportUrl", $this->_propDict)) { + return $this->_propDict["supportUrl"]; + } else { + return null; + } + } + + /** + * Sets the supportUrl + * Link to the application's support page. For example, https://www.contoso.com/app/support + * + * @param string $val The value of the supportUrl + * + * @return InformationalUrl + */ + public function setSupportUrl($val) + { + $this->_propDict["supportUrl"] = $val; + return $this; + } + /** + * Gets the termsOfServiceUrl + * Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice + * + * @return string|null The termsOfServiceUrl + */ + public function getTermsOfServiceUrl() + { + if (array_key_exists("termsOfServiceUrl", $this->_propDict)) { + return $this->_propDict["termsOfServiceUrl"]; + } else { + return null; + } + } + + /** + * Sets the termsOfServiceUrl + * Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice + * + * @param string $val The value of the termsOfServiceUrl + * + * @return InformationalUrl + */ + public function setTermsOfServiceUrl($val) + { + $this->_propDict["termsOfServiceUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Initiator.php b/vendor/microsoft/microsoft-graph/src/Model/Initiator.php new file mode 100644 index 0000000..eb48b87 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Initiator.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["initiatorType"], "\Microsoft\Graph\Model\InitiatorType") || is_null($this->_propDict["initiatorType"])) { + return $this->_propDict["initiatorType"]; + } else { + $this->_propDict["initiatorType"] = new InitiatorType($this->_propDict["initiatorType"]); + return $this->_propDict["initiatorType"]; + } + } + return null; + } + + /** + * Sets the initiatorType + * Type of initiator. Possible values are: user, application, system, unknownFutureValue. + * + * @param InitiatorType $val The value to assign to the initiatorType + * + * @return Initiator The Initiator + */ + public function setInitiatorType($val) + { + $this->_propDict["initiatorType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InitiatorType.php b/vendor/microsoft/microsoft-graph/src/Model/InitiatorType.php new file mode 100644 index 0000000..1fd3c35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InitiatorType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address of the user who shared the item. + * + * @param string $val The value of the address + * + * @return InsightIdentity + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the user who shared the item. + * + * @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 + * The display name of the user who shared the item. + * + * @param string $val The value of the displayName + * + * @return InsightIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * The id of the user who shared the item. + * + * @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 + * The id of the user who shared the item. + * + * @param string $val The value of the id + * + * @return InsightIdentity + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InstallIntent.php b/vendor/microsoft/microsoft-graph/src/Model/InstallIntent.php new file mode 100644 index 0000000..d7e293b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InstallIntent.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["permissions"], "\Microsoft\Graph\Model\ResourcePermission") || is_null($this->_propDict["permissions"])) { + return $this->_propDict["permissions"]; + } else { + $this->_propDict["permissions"] = new ResourcePermission($this->_propDict["permissions"]); + return $this->_propDict["permissions"]; + } + } + return null; + } + + /** + * Sets the permissions + * + * @param ResourcePermission $val The value to assign to the permissions + * + * @return InstanceResourceAccess The InstanceResourceAccess + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + /** + * Gets the resourceAppId + * + * @return string|null The resourceAppId + */ + public function getResourceAppId() + { + if (array_key_exists("resourceAppId", $this->_propDict)) { + return $this->_propDict["resourceAppId"]; + } else { + return null; + } + } + + /** + * Sets the resourceAppId + * + * @param string $val The value of the resourceAppId + * + * @return InstanceResourceAccess + */ + public function setResourceAppId($val) + { + $this->_propDict["resourceAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IntegerRange.php b/vendor/microsoft/microsoft-graph/src/Model/IntegerRange.php new file mode 100644 index 0000000..13f5e65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IntegerRange.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["end"]; + } else { + return null; + } + } + + /** + * Sets the end + * The inclusive upper bound of the integer range. + * + * @param int $val The value of the end + * + * @return IntegerRange + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + /** + * Gets the start + * The inclusive lower bound of the integer range. + * + * @return int|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + return $this->_propDict["start"]; + } else { + return null; + } + } + + /** + * Sets the start + * The inclusive lower bound of the integer range. + * + * @param int $val The value of the start + * + * @return IntegerRange + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InternalDomainFederation.php b/vendor/microsoft/microsoft-graph/src/Model/InternalDomainFederation.php new file mode 100644 index 0000000..b3f96a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InternalDomainFederation.php @@ -0,0 +1,242 @@ +_propDict)) { + return $this->_propDict["activeSignInUri"]; + } else { + return null; + } + } + + /** + * Sets the activeSignInUri + * URL of the endpoint used by active clients when authenticating with federated domains set up for single sign-on in Azure Active Directory (Azure AD). Corresponds to the ActiveLogOnUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. + * + * @param string $val The activeSignInUri + * + * @return InternalDomainFederation + */ + public function setActiveSignInUri($val) + { + $this->_propDict["activeSignInUri"] = $val; + return $this; + } + + /** + * Gets the federatedIdpMfaBehavior + * Determines whether Azure AD accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values. + * + * @return FederatedIdpMfaBehavior|null The federatedIdpMfaBehavior + */ + public function getFederatedIdpMfaBehavior() + { + if (array_key_exists("federatedIdpMfaBehavior", $this->_propDict)) { + if (is_a($this->_propDict["federatedIdpMfaBehavior"], "\Microsoft\Graph\Model\FederatedIdpMfaBehavior") || is_null($this->_propDict["federatedIdpMfaBehavior"])) { + return $this->_propDict["federatedIdpMfaBehavior"]; + } else { + $this->_propDict["federatedIdpMfaBehavior"] = new FederatedIdpMfaBehavior($this->_propDict["federatedIdpMfaBehavior"]); + return $this->_propDict["federatedIdpMfaBehavior"]; + } + } + return null; + } + + /** + * Sets the federatedIdpMfaBehavior + * Determines whether Azure AD accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values. + * + * @param FederatedIdpMfaBehavior $val The federatedIdpMfaBehavior + * + * @return InternalDomainFederation + */ + public function setFederatedIdpMfaBehavior($val) + { + $this->_propDict["federatedIdpMfaBehavior"] = $val; + return $this; + } + + /** + * Gets the isSignedAuthenticationRequestRequired + * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * + * @return bool|null The isSignedAuthenticationRequestRequired + */ + public function getIsSignedAuthenticationRequestRequired() + { + if (array_key_exists("isSignedAuthenticationRequestRequired", $this->_propDict)) { + return $this->_propDict["isSignedAuthenticationRequestRequired"]; + } else { + return null; + } + } + + /** + * Sets the isSignedAuthenticationRequestRequired + * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * + * @param bool $val The isSignedAuthenticationRequestRequired + * + * @return InternalDomainFederation + */ + public function setIsSignedAuthenticationRequestRequired($val) + { + $this->_propDict["isSignedAuthenticationRequestRequired"] = boolval($val); + return $this; + } + + /** + * Gets the nextSigningCertificate + * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * + * @return string|null The nextSigningCertificate + */ + public function getNextSigningCertificate() + { + if (array_key_exists("nextSigningCertificate", $this->_propDict)) { + return $this->_propDict["nextSigningCertificate"]; + } else { + return null; + } + } + + /** + * Sets the nextSigningCertificate + * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * + * @param string $val The nextSigningCertificate + * + * @return InternalDomainFederation + */ + public function setNextSigningCertificate($val) + { + $this->_propDict["nextSigningCertificate"] = $val; + return $this; + } + + /** + * Gets the promptLoginBehavior + * Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. + * + * @return PromptLoginBehavior|null The promptLoginBehavior + */ + public function getPromptLoginBehavior() + { + if (array_key_exists("promptLoginBehavior", $this->_propDict)) { + if (is_a($this->_propDict["promptLoginBehavior"], "\Microsoft\Graph\Model\PromptLoginBehavior") || is_null($this->_propDict["promptLoginBehavior"])) { + return $this->_propDict["promptLoginBehavior"]; + } else { + $this->_propDict["promptLoginBehavior"] = new PromptLoginBehavior($this->_propDict["promptLoginBehavior"]); + return $this->_propDict["promptLoginBehavior"]; + } + } + return null; + } + + /** + * Sets the promptLoginBehavior + * Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. + * + * @param PromptLoginBehavior $val The promptLoginBehavior + * + * @return InternalDomainFederation + */ + public function setPromptLoginBehavior($val) + { + $this->_propDict["promptLoginBehavior"] = $val; + return $this; + } + + /** + * Gets the signingCertificateUpdateStatus + * Provides status and timestamp of the last update of the signing certificate. + * + * @return SigningCertificateUpdateStatus|null The signingCertificateUpdateStatus + */ + public function getSigningCertificateUpdateStatus() + { + if (array_key_exists("signingCertificateUpdateStatus", $this->_propDict)) { + if (is_a($this->_propDict["signingCertificateUpdateStatus"], "\Microsoft\Graph\Model\SigningCertificateUpdateStatus") || is_null($this->_propDict["signingCertificateUpdateStatus"])) { + return $this->_propDict["signingCertificateUpdateStatus"]; + } else { + $this->_propDict["signingCertificateUpdateStatus"] = new SigningCertificateUpdateStatus($this->_propDict["signingCertificateUpdateStatus"]); + return $this->_propDict["signingCertificateUpdateStatus"]; + } + } + return null; + } + + /** + * Sets the signingCertificateUpdateStatus + * Provides status and timestamp of the last update of the signing certificate. + * + * @param SigningCertificateUpdateStatus $val The signingCertificateUpdateStatus + * + * @return InternalDomainFederation + */ + public function setSigningCertificateUpdateStatus($val) + { + $this->_propDict["signingCertificateUpdateStatus"] = $val; + return $this; + } + + /** + * Gets the signOutUri + * URI that clients are redirected to when they sign out of Azure AD services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. + * + * @return string|null The signOutUri + */ + public function getSignOutUri() + { + if (array_key_exists("signOutUri", $this->_propDict)) { + return $this->_propDict["signOutUri"]; + } else { + return null; + } + } + + /** + * Sets the signOutUri + * URI that clients are redirected to when they sign out of Azure AD services. Corresponds to the LogOffUri property of the Set-MsolDomainFederationSettings MSOnline v1 PowerShell cmdlet. + * + * @param string $val The signOutUri + * + * @return InternalDomainFederation + */ + public function setSignOutUri($val) + { + $this->_propDict["signOutUri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InternalSponsors.php b/vendor/microsoft/microsoft-graph/src/Model/InternalSponsors.php new file mode 100644 index 0000000..72878fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InternalSponsors.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.internalSponsors"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InternetMessageHeader.php b/vendor/microsoft/microsoft-graph/src/Model/InternetMessageHeader.php new file mode 100644 index 0000000..ed62c46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InternetMessageHeader.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the key in a key-value pair. + * + * @param string $val The value of the name + * + * @return InternetMessageHeader + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * The value in a key-value pair. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value in a key-value pair. + * + * @param string $val The value of the value + * + * @return InternetMessageHeader + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InternetSiteSecurityLevel.php b/vendor/microsoft/microsoft-graph/src/Model/InternetSiteSecurityLevel.php new file mode 100644 index 0000000..158c265 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InternetSiteSecurityLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["contactITEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the contactITEmailAddress + * Email address of the person/organization responsible for IT support. + * + * @param string $val The value of the contactITEmailAddress + * + * @return IntuneBrand + */ + public function setContactITEmailAddress($val) + { + $this->_propDict["contactITEmailAddress"] = $val; + return $this; + } + /** + * Gets the contactITName + * Name of the person/organization responsible for IT support. + * + * @return string|null The contactITName + */ + public function getContactITName() + { + if (array_key_exists("contactITName", $this->_propDict)) { + return $this->_propDict["contactITName"]; + } else { + return null; + } + } + + /** + * Sets the contactITName + * Name of the person/organization responsible for IT support. + * + * @param string $val The value of the contactITName + * + * @return IntuneBrand + */ + public function setContactITName($val) + { + $this->_propDict["contactITName"] = $val; + return $this; + } + /** + * Gets the contactITNotes + * Text comments regarding the person/organization responsible for IT support. + * + * @return string|null The contactITNotes + */ + public function getContactITNotes() + { + if (array_key_exists("contactITNotes", $this->_propDict)) { + return $this->_propDict["contactITNotes"]; + } else { + return null; + } + } + + /** + * Sets the contactITNotes + * Text comments regarding the person/organization responsible for IT support. + * + * @param string $val The value of the contactITNotes + * + * @return IntuneBrand + */ + public function setContactITNotes($val) + { + $this->_propDict["contactITNotes"] = $val; + return $this; + } + /** + * Gets the contactITPhoneNumber + * Phone number of the person/organization responsible for IT support. + * + * @return string|null The contactITPhoneNumber + */ + public function getContactITPhoneNumber() + { + if (array_key_exists("contactITPhoneNumber", $this->_propDict)) { + return $this->_propDict["contactITPhoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the contactITPhoneNumber + * Phone number of the person/organization responsible for IT support. + * + * @param string $val The value of the contactITPhoneNumber + * + * @return IntuneBrand + */ + public function setContactITPhoneNumber($val) + { + $this->_propDict["contactITPhoneNumber"] = $val; + return $this; + } + + /** + * Gets the darkBackgroundLogo + * Logo image displayed in Company Portal apps which have a dark background behind the logo. + * + * @return MimeContent|null The darkBackgroundLogo + */ + public function getDarkBackgroundLogo() + { + if (array_key_exists("darkBackgroundLogo", $this->_propDict)) { + if (is_a($this->_propDict["darkBackgroundLogo"], "\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["darkBackgroundLogo"])) { + return $this->_propDict["darkBackgroundLogo"]; + } else { + $this->_propDict["darkBackgroundLogo"] = new MimeContent($this->_propDict["darkBackgroundLogo"]); + return $this->_propDict["darkBackgroundLogo"]; + } + } + return null; + } + + /** + * Sets the darkBackgroundLogo + * Logo image displayed in Company Portal apps which have a dark background behind the logo. + * + * @param MimeContent $val The value to assign to the darkBackgroundLogo + * + * @return IntuneBrand The IntuneBrand + */ + public function setDarkBackgroundLogo($val) + { + $this->_propDict["darkBackgroundLogo"] = $val; + return $this; + } + /** + * Gets the displayName + * Company/organization name that is displayed to end users. + * + * @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 + * Company/organization name that is displayed to end users. + * + * @param string $val The value of the displayName + * + * @return IntuneBrand + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lightBackgroundLogo + * Logo image displayed in Company Portal apps which have a light background behind the logo. + * + * @return MimeContent|null The lightBackgroundLogo + */ + public function getLightBackgroundLogo() + { + if (array_key_exists("lightBackgroundLogo", $this->_propDict)) { + if (is_a($this->_propDict["lightBackgroundLogo"], "\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["lightBackgroundLogo"])) { + return $this->_propDict["lightBackgroundLogo"]; + } else { + $this->_propDict["lightBackgroundLogo"] = new MimeContent($this->_propDict["lightBackgroundLogo"]); + return $this->_propDict["lightBackgroundLogo"]; + } + } + return null; + } + + /** + * Sets the lightBackgroundLogo + * Logo image displayed in Company Portal apps which have a light background behind the logo. + * + * @param MimeContent $val The value to assign to the lightBackgroundLogo + * + * @return IntuneBrand The IntuneBrand + */ + public function setLightBackgroundLogo($val) + { + $this->_propDict["lightBackgroundLogo"] = $val; + return $this; + } + /** + * Gets the onlineSupportSiteName + * Display name of the company/organization’s IT helpdesk site. + * + * @return string|null The onlineSupportSiteName + */ + public function getOnlineSupportSiteName() + { + if (array_key_exists("onlineSupportSiteName", $this->_propDict)) { + return $this->_propDict["onlineSupportSiteName"]; + } else { + return null; + } + } + + /** + * Sets the onlineSupportSiteName + * Display name of the company/organization’s IT helpdesk site. + * + * @param string $val The value of the onlineSupportSiteName + * + * @return IntuneBrand + */ + public function setOnlineSupportSiteName($val) + { + $this->_propDict["onlineSupportSiteName"] = $val; + return $this; + } + /** + * Gets the onlineSupportSiteUrl + * URL to the company/organization’s IT helpdesk site. + * + * @return string|null The onlineSupportSiteUrl + */ + public function getOnlineSupportSiteUrl() + { + if (array_key_exists("onlineSupportSiteUrl", $this->_propDict)) { + return $this->_propDict["onlineSupportSiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the onlineSupportSiteUrl + * URL to the company/organization’s IT helpdesk site. + * + * @param string $val The value of the onlineSupportSiteUrl + * + * @return IntuneBrand + */ + public function setOnlineSupportSiteUrl($val) + { + $this->_propDict["onlineSupportSiteUrl"] = $val; + return $this; + } + /** + * Gets the privacyUrl + * URL to the company/organization’s privacy policy. + * + * @return string|null The privacyUrl + */ + public function getPrivacyUrl() + { + if (array_key_exists("privacyUrl", $this->_propDict)) { + return $this->_propDict["privacyUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyUrl + * URL to the company/organization’s privacy policy. + * + * @param string $val The value of the privacyUrl + * + * @return IntuneBrand + */ + public function setPrivacyUrl($val) + { + $this->_propDict["privacyUrl"] = $val; + return $this; + } + /** + * Gets the showDisplayNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @return bool|null The showDisplayNameNextToLogo + */ + public function getShowDisplayNameNextToLogo() + { + if (array_key_exists("showDisplayNameNextToLogo", $this->_propDict)) { + return $this->_propDict["showDisplayNameNextToLogo"]; + } else { + return null; + } + } + + /** + * Sets the showDisplayNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @param bool $val The value of the showDisplayNameNextToLogo + * + * @return IntuneBrand + */ + public function setShowDisplayNameNextToLogo($val) + { + $this->_propDict["showDisplayNameNextToLogo"] = $val; + return $this; + } + /** + * Gets the showLogo + * Boolean that represents whether the administrator-supplied logo images are shown or not shown. + * + * @return bool|null The showLogo + */ + public function getShowLogo() + { + if (array_key_exists("showLogo", $this->_propDict)) { + return $this->_propDict["showLogo"]; + } else { + return null; + } + } + + /** + * Sets the showLogo + * Boolean that represents whether the administrator-supplied logo images are shown or not shown. + * + * @param bool $val The value of the showLogo + * + * @return IntuneBrand + */ + public function setShowLogo($val) + { + $this->_propDict["showLogo"] = $val; + return $this; + } + /** + * Gets the showNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @return bool|null The showNameNextToLogo + */ + public function getShowNameNextToLogo() + { + if (array_key_exists("showNameNextToLogo", $this->_propDict)) { + return $this->_propDict["showNameNextToLogo"]; + } else { + return null; + } + } + + /** + * Sets the showNameNextToLogo + * Boolean that represents whether the administrator-supplied display name will be shown next to the logo image. + * + * @param bool $val The value of the showNameNextToLogo + * + * @return IntuneBrand + */ + public function setShowNameNextToLogo($val) + { + $this->_propDict["showNameNextToLogo"] = $val; + return $this; + } + + /** + * Gets the themeColor + * Primary theme color used in the Company Portal applications and web portal. + * + * @return RgbColor|null The themeColor + */ + public function getThemeColor() + { + if (array_key_exists("themeColor", $this->_propDict)) { + if (is_a($this->_propDict["themeColor"], "\Microsoft\Graph\Model\RgbColor") || is_null($this->_propDict["themeColor"])) { + return $this->_propDict["themeColor"]; + } else { + $this->_propDict["themeColor"] = new RgbColor($this->_propDict["themeColor"]); + return $this->_propDict["themeColor"]; + } + } + return null; + } + + /** + * Sets the themeColor + * Primary theme color used in the Company Portal applications and web portal. + * + * @param RgbColor $val The value to assign to the themeColor + * + * @return IntuneBrand The IntuneBrand + */ + public function setThemeColor($val) + { + $this->_propDict["themeColor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InvestigationSecurityState.php b/vendor/microsoft/microsoft-graph/src/Model/InvestigationSecurityState.php new file mode 100644 index 0000000..a4e1890 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InvestigationSecurityState.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The value of the name + * + * @return InvestigationSecurityState + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the status + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * + * @param string $val The value of the status + * + * @return InvestigationSecurityState + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Invitation.php b/vendor/microsoft/microsoft-graph/src/Model/Invitation.php new file mode 100644 index 0000000..e1ae786 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Invitation.php @@ -0,0 +1,296 @@ +_propDict)) { + return $this->_propDict["invitedUserDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserDisplayName + * The display name of the user being invited. + * + * @param string $val The invitedUserDisplayName + * + * @return Invitation + */ + public function setInvitedUserDisplayName($val) + { + $this->_propDict["invitedUserDisplayName"] = $val; + return $this; + } + + /** + * Gets the invitedUserEmailAddress + * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` + * + * @return string|null The invitedUserEmailAddress + */ + public function getInvitedUserEmailAddress() + { + if (array_key_exists("invitedUserEmailAddress", $this->_propDict)) { + return $this->_propDict["invitedUserEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserEmailAddress + * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` + * + * @param string $val The invitedUserEmailAddress + * + * @return Invitation + */ + public function setInvitedUserEmailAddress($val) + { + $this->_propDict["invitedUserEmailAddress"] = $val; + return $this; + } + + /** + * Gets the invitedUserMessageInfo + * Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. + * + * @return InvitedUserMessageInfo|null The invitedUserMessageInfo + */ + public function getInvitedUserMessageInfo() + { + if (array_key_exists("invitedUserMessageInfo", $this->_propDict)) { + if (is_a($this->_propDict["invitedUserMessageInfo"], "\Microsoft\Graph\Model\InvitedUserMessageInfo") || is_null($this->_propDict["invitedUserMessageInfo"])) { + return $this->_propDict["invitedUserMessageInfo"]; + } else { + $this->_propDict["invitedUserMessageInfo"] = new InvitedUserMessageInfo($this->_propDict["invitedUserMessageInfo"]); + return $this->_propDict["invitedUserMessageInfo"]; + } + } + return null; + } + + /** + * Sets the invitedUserMessageInfo + * Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. + * + * @param InvitedUserMessageInfo $val The invitedUserMessageInfo + * + * @return Invitation + */ + public function setInvitedUserMessageInfo($val) + { + $this->_propDict["invitedUserMessageInfo"] = $val; + return $this; + } + + /** + * Gets the invitedUserType + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false. + * + * @return string|null The invitedUserType + */ + public function getInvitedUserType() + { + if (array_key_exists("invitedUserType", $this->_propDict)) { + return $this->_propDict["invitedUserType"]; + } else { + return null; + } + } + + /** + * Sets the invitedUserType + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false. + * + * @param string $val The invitedUserType + * + * @return Invitation + */ + public function setInvitedUserType($val) + { + $this->_propDict["invitedUserType"] = $val; + return $this; + } + + /** + * Gets the inviteRedeemUrl + * The URL the user can use to redeem their invitation. Read-only. + * + * @return string|null The inviteRedeemUrl + */ + public function getInviteRedeemUrl() + { + if (array_key_exists("inviteRedeemUrl", $this->_propDict)) { + return $this->_propDict["inviteRedeemUrl"]; + } else { + return null; + } + } + + /** + * Sets the inviteRedeemUrl + * The URL the user can use to redeem their invitation. Read-only. + * + * @param string $val The inviteRedeemUrl + * + * @return Invitation + */ + public function setInviteRedeemUrl($val) + { + $this->_propDict["inviteRedeemUrl"] = $val; + return $this; + } + + /** + * Gets the inviteRedirectUrl + * The URL user should be redirected to once the invitation is redeemed. Required. + * + * @return string|null The inviteRedirectUrl + */ + public function getInviteRedirectUrl() + { + if (array_key_exists("inviteRedirectUrl", $this->_propDict)) { + return $this->_propDict["inviteRedirectUrl"]; + } else { + return null; + } + } + + /** + * Sets the inviteRedirectUrl + * The URL user should be redirected to once the invitation is redeemed. Required. + * + * @param string $val The inviteRedirectUrl + * + * @return Invitation + */ + public function setInviteRedirectUrl($val) + { + $this->_propDict["inviteRedirectUrl"] = $val; + return $this; + } + + /** + * Gets the sendInvitationMessage + * Indicates whether an email should be sent to the user being invited. The default is false. + * + * @return bool|null The sendInvitationMessage + */ + public function getSendInvitationMessage() + { + if (array_key_exists("sendInvitationMessage", $this->_propDict)) { + return $this->_propDict["sendInvitationMessage"]; + } else { + return null; + } + } + + /** + * Sets the sendInvitationMessage + * Indicates whether an email should be sent to the user being invited. The default is false. + * + * @param bool $val The sendInvitationMessage + * + * @return Invitation + */ + public function setSendInvitationMessage($val) + { + $this->_propDict["sendInvitationMessage"] = boolval($val); + return $this; + } + + /** + * Gets the status + * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error + * + * @param string $val The status + * + * @return Invitation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the invitedUser + * The user created as part of the invitation creation. Read-Only + * + * @return User|null The invitedUser + */ + public function getInvitedUser() + { + if (array_key_exists("invitedUser", $this->_propDict)) { + if (is_a($this->_propDict["invitedUser"], "\Microsoft\Graph\Model\User") || is_null($this->_propDict["invitedUser"])) { + return $this->_propDict["invitedUser"]; + } else { + $this->_propDict["invitedUser"] = new User($this->_propDict["invitedUser"]); + return $this->_propDict["invitedUser"]; + } + } + return null; + } + + /** + * Sets the invitedUser + * The user created as part of the invitation creation. Read-Only + * + * @param User $val The invitedUser + * + * @return Invitation + */ + public function setInvitedUser($val) + { + $this->_propDict["invitedUser"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InvitationParticipantInfo.php b/vendor/microsoft/microsoft-graph/src/Model/InvitationParticipantInfo.php new file mode 100644 index 0000000..860ebec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InvitationParticipantInfo.php @@ -0,0 +1,167 @@ +_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * + * @param bool $val The value of the hidden + * + * @return InvitationParticipantInfo + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = $val; + return $this; + } + + /** + * Gets the identity + * The identitySet associated with this invitation. + * + * @return IdentitySet|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * The identitySet associated with this invitation. + * + * @param IdentitySet $val The value to assign to the identity + * + * @return InvitationParticipantInfo The InvitationParticipantInfo + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + /** + * Gets the participantId + * Optional. The ID of the target participant. + * + * @return string|null The participantId + */ + public function getParticipantId() + { + if (array_key_exists("participantId", $this->_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * Optional. The ID of the target participant. + * + * @param string $val The value of the participantId + * + * @return InvitationParticipantInfo + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } + /** + * Gets the removeFromDefaultAudioRoutingGroup + * + * @return bool|null The removeFromDefaultAudioRoutingGroup + */ + public function getRemoveFromDefaultAudioRoutingGroup() + { + if (array_key_exists("removeFromDefaultAudioRoutingGroup", $this->_propDict)) { + return $this->_propDict["removeFromDefaultAudioRoutingGroup"]; + } else { + return null; + } + } + + /** + * Sets the removeFromDefaultAudioRoutingGroup + * + * @param bool $val The value of the removeFromDefaultAudioRoutingGroup + * + * @return InvitationParticipantInfo + */ + public function setRemoveFromDefaultAudioRoutingGroup($val) + { + $this->_propDict["removeFromDefaultAudioRoutingGroup"] = $val; + return $this; + } + /** + * Gets the replacesCallId + * Optional. The call which the target identity is currently a part of. For peer-to-peer case, the call will be dropped once the participant is added successfully. + * + * @return string|null The replacesCallId + */ + public function getReplacesCallId() + { + if (array_key_exists("replacesCallId", $this->_propDict)) { + return $this->_propDict["replacesCallId"]; + } else { + return null; + } + } + + /** + * Sets the replacesCallId + * Optional. The call which the target identity is currently a part of. For peer-to-peer case, the call will be dropped once the participant is added successfully. + * + * @param string $val The value of the replacesCallId + * + * @return InvitationParticipantInfo + */ + public function setReplacesCallId($val) + { + $this->_propDict["replacesCallId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InviteNewBotResponse.php b/vendor/microsoft/microsoft-graph/src/Model/InviteNewBotResponse.php new file mode 100644 index 0000000..159fa90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InviteNewBotResponse.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["inviteUri"]; + } else { + return null; + } + } + + /** + * Sets the inviteUri + * URI to receive new incoming call notification. + * + * @param string $val The value of the inviteUri + * + * @return InviteNewBotResponse + */ + public function setInviteUri($val) + { + $this->_propDict["inviteUri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InviteParticipantsOperation.php b/vendor/microsoft/microsoft-graph/src/Model/InviteParticipantsOperation.php new file mode 100644 index 0000000..f18e6f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InviteParticipantsOperation.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["participants"]; + } else { + return null; + } + } + + /** + * Sets the participants + * The participants to invite. + * + * @param InvitationParticipantInfo[] $val The participants + * + * @return InviteParticipantsOperation + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/InvitedUserMessageInfo.php b/vendor/microsoft/microsoft-graph/src/Model/InvitedUserMessageInfo.php new file mode 100644 index 0000000..3a41eab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/InvitedUserMessageInfo.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["ccRecipients"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["ccRecipients"])) { + return $this->_propDict["ccRecipients"]; + } else { + $this->_propDict["ccRecipients"] = new Recipient($this->_propDict["ccRecipients"]); + return $this->_propDict["ccRecipients"]; + } + } + return null; + } + + /** + * Sets the ccRecipients + * Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. + * + * @param Recipient $val The value to assign to the ccRecipients + * + * @return InvitedUserMessageInfo The InvitedUserMessageInfo + */ + public function setCcRecipients($val) + { + $this->_propDict["ccRecipients"] = $val; + return $this; + } + /** + * Gets the customizedMessageBody + * Customized message body you want to send if you don't want the default message. + * + * @return string|null The customizedMessageBody + */ + public function getCustomizedMessageBody() + { + if (array_key_exists("customizedMessageBody", $this->_propDict)) { + return $this->_propDict["customizedMessageBody"]; + } else { + return null; + } + } + + /** + * Sets the customizedMessageBody + * Customized message body you want to send if you don't want the default message. + * + * @param string $val The value of the customizedMessageBody + * + * @return InvitedUserMessageInfo + */ + public function setCustomizedMessageBody($val) + { + $this->_propDict["customizedMessageBody"] = $val; + return $this; + } + /** + * Gets the messageLanguage + * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. + * + * @return string|null The messageLanguage + */ + public function getMessageLanguage() + { + if (array_key_exists("messageLanguage", $this->_propDict)) { + return $this->_propDict["messageLanguage"]; + } else { + return null; + } + } + + /** + * Sets the messageLanguage + * The language you want to send the default message in. If the customizedMessageBody is specified, this property is ignored, and the message is sent using the customizedMessageBody. The language format should be in ISO 639. The default is en-US. + * + * @param string $val The value of the messageLanguage + * + * @return InvitedUserMessageInfo + */ + public function setMessageLanguage($val) + { + $this->_propDict["messageLanguage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosCertificateProfile.php b/vendor/microsoft/microsoft-graph/src/Model/IosCertificateProfile.php new file mode 100644 index 0000000..0851ddd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosCertificateProfile.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection . + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return IosCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return IosCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the managedEmailProfileRequired + * Indicates whether or not to require a managed email profile. + * + * @return bool|null The managedEmailProfileRequired + */ + public function getManagedEmailProfileRequired() + { + if (array_key_exists("managedEmailProfileRequired", $this->_propDict)) { + return $this->_propDict["managedEmailProfileRequired"]; + } else { + return null; + } + } + + /** + * Sets the managedEmailProfileRequired + * Indicates whether or not to require a managed email profile. + * + * @param bool $val The managedEmailProfileRequired + * + * @return IosCompliancePolicy + */ + public function setManagedEmailProfileRequired($val) + { + $this->_propDict["managedEmailProfileRequired"] = boolval($val); + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum IOS version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum IOS version. + * + * @param string $val The osMaximumVersion + * + * @return IosCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum IOS version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum IOS version. + * + * @param string $val The osMinimumVersion + * + * @return IosCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @return bool|null The passcodeBlockSimple + */ + public function getPasscodeBlockSimple() + { + if (array_key_exists("passcodeBlockSimple", $this->_propDict)) { + return $this->_propDict["passcodeBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @param bool $val The passcodeBlockSimple + * + * @return IosCompliancePolicy + */ + public function setPasscodeBlockSimple($val) + { + $this->_propDict["passcodeBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @return int|null The passcodeExpirationDays + */ + public function getPasscodeExpirationDays() + { + if (array_key_exists("passcodeExpirationDays", $this->_propDict)) { + return $this->_propDict["passcodeExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @param int $val The passcodeExpirationDays + * + * @return IosCompliancePolicy + */ + public function setPasscodeExpirationDays($val) + { + $this->_propDict["passcodeExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passcodeMinimumCharacterSetCount + */ + public function getPasscodeMinimumCharacterSetCount() + { + if (array_key_exists("passcodeMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passcodeMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passcodeMinimumCharacterSetCount + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinimumCharacterSetCount($val) + { + $this->_propDict["passcodeMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @return int|null The passcodeMinimumLength + */ + public function getPasscodeMinimumLength() + { + if (array_key_exists("passcodeMinimumLength", $this->_propDict)) { + return $this->_propDict["passcodeMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @param int $val The passcodeMinimumLength + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinimumLength($val) + { + $this->_propDict["passcodeMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @return int|null The passcodeMinutesOfInactivityBeforeLock + */ + public function getPasscodeMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @param int $val The passcodeMinutesOfInactivityBeforeLock + * + * @return IosCompliancePolicy + */ + public function setPasscodeMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @return int|null The passcodePreviousPasscodeBlockCount + */ + public function getPasscodePreviousPasscodeBlockCount() + { + if (array_key_exists("passcodePreviousPasscodeBlockCount", $this->_propDict)) { + return $this->_propDict["passcodePreviousPasscodeBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @param int $val The passcodePreviousPasscodeBlockCount + * + * @return IosCompliancePolicy + */ + public function setPasscodePreviousPasscodeBlockCount($val) + { + $this->_propDict["passcodePreviousPasscodeBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @return bool|null The passcodeRequired + */ + public function getPasscodeRequired() + { + if (array_key_exists("passcodeRequired", $this->_propDict)) { + return $this->_propDict["passcodeRequired"]; + } else { + return null; + } + } + + /** + * Sets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @param bool $val The passcodeRequired + * + * @return IosCompliancePolicy + */ + public function setPasscodeRequired($val) + { + $this->_propDict["passcodeRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeRequiredType + * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passcodeRequiredType + */ + public function getPasscodeRequiredType() + { + if (array_key_exists("passcodeRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passcodeRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passcodeRequiredType"])) { + return $this->_propDict["passcodeRequiredType"]; + } else { + $this->_propDict["passcodeRequiredType"] = new RequiredPasswordType($this->_propDict["passcodeRequiredType"]); + return $this->_propDict["passcodeRequiredType"]; + } + } + return null; + } + + /** + * Sets the passcodeRequiredType + * The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passcodeRequiredType + * + * @return IosCompliancePolicy + */ + public function setPasscodeRequiredType($val) + { + $this->_propDict["passcodeRequiredType"] = $val; + return $this; + } + + /** + * Gets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @return bool|null The securityBlockJailbrokenDevices + */ + public function getSecurityBlockJailbrokenDevices() + { + if (array_key_exists("securityBlockJailbrokenDevices", $this->_propDict)) { + return $this->_propDict["securityBlockJailbrokenDevices"]; + } else { + return null; + } + } + + /** + * Sets the securityBlockJailbrokenDevices + * Devices must not be jailbroken or rooted. + * + * @param bool $val The securityBlockJailbrokenDevices + * + * @return IosCompliancePolicy + */ + public function setSecurityBlockJailbrokenDevices($val) + { + $this->_propDict["securityBlockJailbrokenDevices"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosCustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/IosCustomConfiguration.php new file mode 100644 index 0000000..6ca82bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosCustomConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * Payload. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The payload + * + * @return IosCustomConfiguration + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the payloadFileName + * Payload file name (.mobileconfig + * + * @return string|null The payloadFileName + */ + public function getPayloadFileName() + { + if (array_key_exists("payloadFileName", $this->_propDict)) { + return $this->_propDict["payloadFileName"]; + } else { + return null; + } + } + + /** + * Sets the payloadFileName + * Payload file name (.mobileconfig + * + * @param string $val The payloadFileName + * + * @return IosCustomConfiguration + */ + public function setPayloadFileName($val) + { + $this->_propDict["payloadFileName"] = $val; + return $this; + } + + /** + * Gets the payloadName + * Name that is displayed to the user. + * + * @return string|null The payloadName + */ + public function getPayloadName() + { + if (array_key_exists("payloadName", $this->_propDict)) { + return $this->_propDict["payloadName"]; + } else { + return null; + } + } + + /** + * Sets the payloadName + * Name that is displayed to the user. + * + * @param string $val The payloadName + * + * @return IosCustomConfiguration + */ + public function setPayloadName($val) + { + $this->_propDict["payloadName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosDeviceFeaturesConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/IosDeviceFeaturesConfiguration.php new file mode 100644 index 0000000..ba60811 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosDeviceFeaturesConfiguration.php @@ -0,0 +1,175 @@ +_propDict)) { + return $this->_propDict["assetTagTemplate"]; + } else { + return null; + } + } + + /** + * Sets the assetTagTemplate + * Asset tag information for the device, displayed on the login window and lock screen. + * + * @param string $val The assetTagTemplate + * + * @return IosDeviceFeaturesConfiguration + */ + public function setAssetTagTemplate($val) + { + $this->_propDict["assetTagTemplate"] = $val; + return $this; + } + + + /** + * Gets the homeScreenDockIcons + * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. + * + * @return array|null The homeScreenDockIcons + */ + public function getHomeScreenDockIcons() + { + if (array_key_exists("homeScreenDockIcons", $this->_propDict)) { + return $this->_propDict["homeScreenDockIcons"]; + } else { + return null; + } + } + + /** + * Sets the homeScreenDockIcons + * A list of app and folders to appear on the Home Screen Dock. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenItem[] $val The homeScreenDockIcons + * + * @return IosDeviceFeaturesConfiguration + */ + public function setHomeScreenDockIcons($val) + { + $this->_propDict["homeScreenDockIcons"] = $val; + return $this; + } + + + /** + * Gets the homeScreenPages + * A list of pages on the Home Screen. This collection can contain a maximum of 500 elements. + * + * @return array|null The homeScreenPages + */ + public function getHomeScreenPages() + { + if (array_key_exists("homeScreenPages", $this->_propDict)) { + return $this->_propDict["homeScreenPages"]; + } else { + return null; + } + } + + /** + * Sets the homeScreenPages + * A list of pages on the Home Screen. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenPage[] $val The homeScreenPages + * + * @return IosDeviceFeaturesConfiguration + */ + public function setHomeScreenPages($val) + { + $this->_propDict["homeScreenPages"] = $val; + return $this; + } + + /** + * Gets the lockScreenFootnote + * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. + * + * @return string|null The lockScreenFootnote + */ + public function getLockScreenFootnote() + { + if (array_key_exists("lockScreenFootnote", $this->_propDict)) { + return $this->_propDict["lockScreenFootnote"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenFootnote + * A footnote displayed on the login window and lock screen. Available in iOS 9.3.1 and later. + * + * @param string $val The lockScreenFootnote + * + * @return IosDeviceFeaturesConfiguration + */ + public function setLockScreenFootnote($val) + { + $this->_propDict["lockScreenFootnote"] = $val; + return $this; + } + + + /** + * Gets the notificationSettings + * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. + * + * @return array|null The notificationSettings + */ + public function getNotificationSettings() + { + if (array_key_exists("notificationSettings", $this->_propDict)) { + return $this->_propDict["notificationSettings"]; + } else { + return null; + } + } + + /** + * Sets the notificationSettings + * Notification settings for each bundle id. Applicable to devices in supervised mode only (iOS 9.3 and later). This collection can contain a maximum of 500 elements. + * + * @param IosNotificationSettings[] $val The notificationSettings + * + * @return IosDeviceFeaturesConfiguration + */ + public function setNotificationSettings($val) + { + $this->_propDict["notificationSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosDeviceType.php b/vendor/microsoft/microsoft-graph/src/Model/IosDeviceType.php new file mode 100644 index 0000000..013ed7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosDeviceType.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["iPad"]; + } else { + return null; + } + } + + /** + * Sets the iPad + * Whether the app should run on iPads. + * + * @param bool $val The value of the iPad + * + * @return IosDeviceType + */ + public function setIPad($val) + { + $this->_propDict["iPad"] = $val; + return $this; + } + /** + * Gets the iPhoneAndIPod + * Whether the app should run on iPhones and iPods. + * + * @return bool|null The iPhoneAndIPod + */ + public function getIPhoneAndIPod() + { + if (array_key_exists("iPhoneAndIPod", $this->_propDict)) { + return $this->_propDict["iPhoneAndIPod"]; + } else { + return null; + } + } + + /** + * Sets the iPhoneAndIPod + * Whether the app should run on iPhones and iPods. + * + * @param bool $val The value of the iPhoneAndIPod + * + * @return IosDeviceType + */ + public function setIPhoneAndIPod($val) + { + $this->_propDict["iPhoneAndIPod"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/IosGeneralDeviceConfiguration.php new file mode 100644 index 0000000..4858710 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosGeneralDeviceConfiguration.php @@ -0,0 +1,3886 @@ +_propDict)) { + return $this->_propDict["accountBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the accountBlockModification + * Indicates whether or not to allow account modification when the device is in supervised mode. + * + * @param bool $val The accountBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setAccountBlockModification($val) + { + $this->_propDict["accountBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the activationLockAllowWhenSupervised + * Indicates whether or not to allow activation lock when the device is in the supervised mode. + * + * @return bool|null The activationLockAllowWhenSupervised + */ + public function getActivationLockAllowWhenSupervised() + { + if (array_key_exists("activationLockAllowWhenSupervised", $this->_propDict)) { + return $this->_propDict["activationLockAllowWhenSupervised"]; + } else { + return null; + } + } + + /** + * Sets the activationLockAllowWhenSupervised + * Indicates whether or not to allow activation lock when the device is in the supervised mode. + * + * @param bool $val The activationLockAllowWhenSupervised + * + * @return IosGeneralDeviceConfiguration + */ + public function setActivationLockAllowWhenSupervised($val) + { + $this->_propDict["activationLockAllowWhenSupervised"] = boolval($val); + return $this; + } + + /** + * Gets the airDropBlocked + * Indicates whether or not to allow AirDrop when the device is in supervised mode. + * + * @return bool|null The airDropBlocked + */ + public function getAirDropBlocked() + { + if (array_key_exists("airDropBlocked", $this->_propDict)) { + return $this->_propDict["airDropBlocked"]; + } else { + return null; + } + } + + /** + * Sets the airDropBlocked + * Indicates whether or not to allow AirDrop when the device is in supervised mode. + * + * @param bool $val The airDropBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirDropBlocked($val) + { + $this->_propDict["airDropBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the airDropForceUnmanagedDropTarget + * Indicates whether or not to cause AirDrop to be considered an unmanaged drop target (iOS 9.0 and later). + * + * @return bool|null The airDropForceUnmanagedDropTarget + */ + public function getAirDropForceUnmanagedDropTarget() + { + if (array_key_exists("airDropForceUnmanagedDropTarget", $this->_propDict)) { + return $this->_propDict["airDropForceUnmanagedDropTarget"]; + } else { + return null; + } + } + + /** + * Sets the airDropForceUnmanagedDropTarget + * Indicates whether or not to cause AirDrop to be considered an unmanaged drop target (iOS 9.0 and later). + * + * @param bool $val The airDropForceUnmanagedDropTarget + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirDropForceUnmanagedDropTarget($val) + { + $this->_propDict["airDropForceUnmanagedDropTarget"] = boolval($val); + return $this; + } + + /** + * Gets the airPlayForcePairingPasswordForOutgoingRequests + * Indicates whether or not to enforce all devices receiving AirPlay requests from this device to use a pairing password. + * + * @return bool|null The airPlayForcePairingPasswordForOutgoingRequests + */ + public function getAirPlayForcePairingPasswordForOutgoingRequests() + { + if (array_key_exists("airPlayForcePairingPasswordForOutgoingRequests", $this->_propDict)) { + return $this->_propDict["airPlayForcePairingPasswordForOutgoingRequests"]; + } else { + return null; + } + } + + /** + * Sets the airPlayForcePairingPasswordForOutgoingRequests + * Indicates whether or not to enforce all devices receiving AirPlay requests from this device to use a pairing password. + * + * @param bool $val The airPlayForcePairingPasswordForOutgoingRequests + * + * @return IosGeneralDeviceConfiguration + */ + public function setAirPlayForcePairingPasswordForOutgoingRequests($val) + { + $this->_propDict["airPlayForcePairingPasswordForOutgoingRequests"] = boolval($val); + return $this; + } + + /** + * Gets the appleNewsBlocked + * Indicates whether or not to block the user from using News when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The appleNewsBlocked + */ + public function getAppleNewsBlocked() + { + if (array_key_exists("appleNewsBlocked", $this->_propDict)) { + return $this->_propDict["appleNewsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the appleNewsBlocked + * Indicates whether or not to block the user from using News when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The appleNewsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppleNewsBlocked($val) + { + $this->_propDict["appleNewsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appleWatchBlockPairing + * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The appleWatchBlockPairing + */ + public function getAppleWatchBlockPairing() + { + if (array_key_exists("appleWatchBlockPairing", $this->_propDict)) { + return $this->_propDict["appleWatchBlockPairing"]; + } else { + return null; + } + } + + /** + * Sets the appleWatchBlockPairing + * Indicates whether or not to allow Apple Watch pairing when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The appleWatchBlockPairing + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppleWatchBlockPairing($val) + { + $this->_propDict["appleWatchBlockPairing"] = boolval($val); + return $this; + } + + /** + * Gets the appleWatchForceWristDetection + * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). + * + * @return bool|null The appleWatchForceWristDetection + */ + public function getAppleWatchForceWristDetection() + { + if (array_key_exists("appleWatchForceWristDetection", $this->_propDict)) { + return $this->_propDict["appleWatchForceWristDetection"]; + } else { + return null; + } + } + + /** + * Sets the appleWatchForceWristDetection + * Indicates whether or not to force a paired Apple Watch to use Wrist Detection (iOS 8.2 and later). + * + * @param bool $val The appleWatchForceWristDetection + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppleWatchForceWristDetection($val) + { + $this->_propDict["appleWatchForceWristDetection"] = boolval($val); + return $this; + } + + + /** + * Gets the appsSingleAppModeList + * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + * + * @return array|null The appsSingleAppModeList + */ + public function getAppsSingleAppModeList() + { + if (array_key_exists("appsSingleAppModeList", $this->_propDict)) { + return $this->_propDict["appsSingleAppModeList"]; + } else { + return null; + } + } + + /** + * Sets the appsSingleAppModeList + * Gets or sets the list of iOS apps allowed to autonomously enter Single App Mode. Supervised only. iOS 7.0 and later. This collection can contain a maximum of 500 elements. + * + * @param AppListItem[] $val The appsSingleAppModeList + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppsSingleAppModeList($val) + { + $this->_propDict["appsSingleAppModeList"] = $val; + return $this; + } + + /** + * Gets the appStoreBlockAutomaticDownloads + * Indicates whether or not to block the automatic downloading of apps purchased on other devices when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The appStoreBlockAutomaticDownloads + */ + public function getAppStoreBlockAutomaticDownloads() + { + if (array_key_exists("appStoreBlockAutomaticDownloads", $this->_propDict)) { + return $this->_propDict["appStoreBlockAutomaticDownloads"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlockAutomaticDownloads + * Indicates whether or not to block the automatic downloading of apps purchased on other devices when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The appStoreBlockAutomaticDownloads + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlockAutomaticDownloads($val) + { + $this->_propDict["appStoreBlockAutomaticDownloads"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreBlocked + * Indicates whether or not to block the user from using the App Store. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The appStoreBlocked + */ + public function getAppStoreBlocked() + { + if (array_key_exists("appStoreBlocked", $this->_propDict)) { + return $this->_propDict["appStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlocked + * Indicates whether or not to block the user from using the App Store. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The appStoreBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlocked($val) + { + $this->_propDict["appStoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreBlockInAppPurchases + * Indicates whether or not to block the user from making in app purchases. + * + * @return bool|null The appStoreBlockInAppPurchases + */ + public function getAppStoreBlockInAppPurchases() + { + if (array_key_exists("appStoreBlockInAppPurchases", $this->_propDict)) { + return $this->_propDict["appStoreBlockInAppPurchases"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlockInAppPurchases + * Indicates whether or not to block the user from making in app purchases. + * + * @param bool $val The appStoreBlockInAppPurchases + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlockInAppPurchases($val) + { + $this->_propDict["appStoreBlockInAppPurchases"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreBlockUIAppInstallation + * Indicates whether or not to block the App Store app, not restricting installation through Host apps. Applies to supervised mode only (iOS 9.0 and later). + * + * @return bool|null The appStoreBlockUIAppInstallation + */ + public function getAppStoreBlockUIAppInstallation() + { + if (array_key_exists("appStoreBlockUIAppInstallation", $this->_propDict)) { + return $this->_propDict["appStoreBlockUIAppInstallation"]; + } else { + return null; + } + } + + /** + * Sets the appStoreBlockUIAppInstallation + * Indicates whether or not to block the App Store app, not restricting installation through Host apps. Applies to supervised mode only (iOS 9.0 and later). + * + * @param bool $val The appStoreBlockUIAppInstallation + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreBlockUIAppInstallation($val) + { + $this->_propDict["appStoreBlockUIAppInstallation"] = boolval($val); + return $this; + } + + /** + * Gets the appStoreRequirePassword + * Indicates whether or not to require a password when using the app store. + * + * @return bool|null The appStoreRequirePassword + */ + public function getAppStoreRequirePassword() + { + if (array_key_exists("appStoreRequirePassword", $this->_propDict)) { + return $this->_propDict["appStoreRequirePassword"]; + } else { + return null; + } + } + + /** + * Sets the appStoreRequirePassword + * Indicates whether or not to require a password when using the app store. + * + * @param bool $val The appStoreRequirePassword + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppStoreRequirePassword($val) + { + $this->_propDict["appStoreRequirePassword"] = boolval($val); + return $this; + } + + + /** + * Gets the appsVisibilityList + * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + * + * @return array|null The appsVisibilityList + */ + public function getAppsVisibilityList() + { + if (array_key_exists("appsVisibilityList", $this->_propDict)) { + return $this->_propDict["appsVisibilityList"]; + } else { + return null; + } + } + + /** + * Sets the appsVisibilityList + * List of apps in the visibility list (either visible/launchable apps list or hidden/unlaunchable apps list, controlled by AppsVisibilityListType) (iOS 9.3 and later). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The appsVisibilityList + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppsVisibilityList($val) + { + $this->_propDict["appsVisibilityList"] = $val; + return $this; + } + + /** + * Gets the appsVisibilityListType + * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The appsVisibilityListType + */ + public function getAppsVisibilityListType() + { + if (array_key_exists("appsVisibilityListType", $this->_propDict)) { + if (is_a($this->_propDict["appsVisibilityListType"], "\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["appsVisibilityListType"])) { + return $this->_propDict["appsVisibilityListType"]; + } else { + $this->_propDict["appsVisibilityListType"] = new AppListType($this->_propDict["appsVisibilityListType"]); + return $this->_propDict["appsVisibilityListType"]; + } + } + return null; + } + + /** + * Sets the appsVisibilityListType + * Type of list that is in the AppsVisibilityList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The appsVisibilityListType + * + * @return IosGeneralDeviceConfiguration + */ + public function setAppsVisibilityListType($val) + { + $this->_propDict["appsVisibilityListType"] = $val; + return $this; + } + + /** + * Gets the bluetoothBlockModification + * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). + * + * @return bool|null The bluetoothBlockModification + */ + public function getBluetoothBlockModification() + { + if (array_key_exists("bluetoothBlockModification", $this->_propDict)) { + return $this->_propDict["bluetoothBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockModification + * Indicates whether or not to allow modification of Bluetooth settings when the device is in supervised mode (iOS 10.0 and later). + * + * @param bool $val The bluetoothBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setBluetoothBlockModification($val) + { + $this->_propDict["bluetoothBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block the user from accessing the camera of the device. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block the user from accessing the camera of the device. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The cameraBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @return bool|null The cellularBlockDataRoaming + */ + public function getCellularBlockDataRoaming() + { + if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @param bool $val The cellularBlockDataRoaming + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockDataRoaming($val) + { + $this->_propDict["cellularBlockDataRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockGlobalBackgroundFetchWhileRoaming + * Indicates whether or not to block global background fetch while roaming. + * + * @return bool|null The cellularBlockGlobalBackgroundFetchWhileRoaming + */ + public function getCellularBlockGlobalBackgroundFetchWhileRoaming() + { + if (array_key_exists("cellularBlockGlobalBackgroundFetchWhileRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockGlobalBackgroundFetchWhileRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockGlobalBackgroundFetchWhileRoaming + * Indicates whether or not to block global background fetch while roaming. + * + * @param bool $val The cellularBlockGlobalBackgroundFetchWhileRoaming + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockGlobalBackgroundFetchWhileRoaming($val) + { + $this->_propDict["cellularBlockGlobalBackgroundFetchWhileRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockPerAppDataModification + * Indicates whether or not to allow changes to cellular app data usage settings when the device is in supervised mode. + * + * @return bool|null The cellularBlockPerAppDataModification + */ + public function getCellularBlockPerAppDataModification() + { + if (array_key_exists("cellularBlockPerAppDataModification", $this->_propDict)) { + return $this->_propDict["cellularBlockPerAppDataModification"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockPerAppDataModification + * Indicates whether or not to allow changes to cellular app data usage settings when the device is in supervised mode. + * + * @param bool $val The cellularBlockPerAppDataModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockPerAppDataModification($val) + { + $this->_propDict["cellularBlockPerAppDataModification"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockPersonalHotspot + * Indicates whether or not to block Personal Hotspot. + * + * @return bool|null The cellularBlockPersonalHotspot + */ + public function getCellularBlockPersonalHotspot() + { + if (array_key_exists("cellularBlockPersonalHotspot", $this->_propDict)) { + return $this->_propDict["cellularBlockPersonalHotspot"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockPersonalHotspot + * Indicates whether or not to block Personal Hotspot. + * + * @param bool $val The cellularBlockPersonalHotspot + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockPersonalHotspot($val) + { + $this->_propDict["cellularBlockPersonalHotspot"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @return bool|null The cellularBlockVoiceRoaming + */ + public function getCellularBlockVoiceRoaming() + { + if (array_key_exists("cellularBlockVoiceRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockVoiceRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVoiceRoaming + * Indicates whether or not to block voice roaming. + * + * @param bool $val The cellularBlockVoiceRoaming + * + * @return IosGeneralDeviceConfiguration + */ + public function setCellularBlockVoiceRoaming($val) + { + $this->_propDict["cellularBlockVoiceRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the certificatesBlockUntrustedTlsCertificates + * Indicates whether or not to block untrusted TLS certificates. + * + * @return bool|null The certificatesBlockUntrustedTlsCertificates + */ + public function getCertificatesBlockUntrustedTlsCertificates() + { + if (array_key_exists("certificatesBlockUntrustedTlsCertificates", $this->_propDict)) { + return $this->_propDict["certificatesBlockUntrustedTlsCertificates"]; + } else { + return null; + } + } + + /** + * Sets the certificatesBlockUntrustedTlsCertificates + * Indicates whether or not to block untrusted TLS certificates. + * + * @param bool $val The certificatesBlockUntrustedTlsCertificates + * + * @return IosGeneralDeviceConfiguration + */ + public function setCertificatesBlockUntrustedTlsCertificates($val) + { + $this->_propDict["certificatesBlockUntrustedTlsCertificates"] = boolval($val); + return $this; + } + + /** + * Gets the classroomAppBlockRemoteScreenObservation + * Indicates whether or not to allow remote screen observation by Classroom app when the device is in supervised mode (iOS 9.3 and later). + * + * @return bool|null The classroomAppBlockRemoteScreenObservation + */ + public function getClassroomAppBlockRemoteScreenObservation() + { + if (array_key_exists("classroomAppBlockRemoteScreenObservation", $this->_propDict)) { + return $this->_propDict["classroomAppBlockRemoteScreenObservation"]; + } else { + return null; + } + } + + /** + * Sets the classroomAppBlockRemoteScreenObservation + * Indicates whether or not to allow remote screen observation by Classroom app when the device is in supervised mode (iOS 9.3 and later). + * + * @param bool $val The classroomAppBlockRemoteScreenObservation + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomAppBlockRemoteScreenObservation($val) + { + $this->_propDict["classroomAppBlockRemoteScreenObservation"] = boolval($val); + return $this; + } + + /** + * Gets the classroomAppForceUnpromptedScreenObservation + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting when the device is in supervised mode. + * + * @return bool|null The classroomAppForceUnpromptedScreenObservation + */ + public function getClassroomAppForceUnpromptedScreenObservation() + { + if (array_key_exists("classroomAppForceUnpromptedScreenObservation", $this->_propDict)) { + return $this->_propDict["classroomAppForceUnpromptedScreenObservation"]; + } else { + return null; + } + } + + /** + * Sets the classroomAppForceUnpromptedScreenObservation + * Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting when the device is in supervised mode. + * + * @param bool $val The classroomAppForceUnpromptedScreenObservation + * + * @return IosGeneralDeviceConfiguration + */ + public function setClassroomAppForceUnpromptedScreenObservation($val) + { + $this->_propDict["classroomAppForceUnpromptedScreenObservation"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return IosGeneralDeviceConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return IosGeneralDeviceConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the configurationProfileBlockChanges + * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. + * + * @return bool|null The configurationProfileBlockChanges + */ + public function getConfigurationProfileBlockChanges() + { + if (array_key_exists("configurationProfileBlockChanges", $this->_propDict)) { + return $this->_propDict["configurationProfileBlockChanges"]; + } else { + return null; + } + } + + /** + * Sets the configurationProfileBlockChanges + * Indicates whether or not to block the user from installing configuration profiles and certificates interactively when the device is in supervised mode. + * + * @param bool $val The configurationProfileBlockChanges + * + * @return IosGeneralDeviceConfiguration + */ + public function setConfigurationProfileBlockChanges($val) + { + $this->_propDict["configurationProfileBlockChanges"] = boolval($val); + return $this; + } + + /** + * Gets the definitionLookupBlocked + * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). + * + * @return bool|null The definitionLookupBlocked + */ + public function getDefinitionLookupBlocked() + { + if (array_key_exists("definitionLookupBlocked", $this->_propDict)) { + return $this->_propDict["definitionLookupBlocked"]; + } else { + return null; + } + } + + /** + * Sets the definitionLookupBlocked + * Indicates whether or not to block definition lookup when the device is in supervised mode (iOS 8.1.3 and later ). + * + * @param bool $val The definitionLookupBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setDefinitionLookupBlocked($val) + { + $this->_propDict["definitionLookupBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the deviceBlockEnableRestrictions + * Indicates whether or not to allow the user to enables restrictions in the device settings when the device is in supervised mode. + * + * @return bool|null The deviceBlockEnableRestrictions + */ + public function getDeviceBlockEnableRestrictions() + { + if (array_key_exists("deviceBlockEnableRestrictions", $this->_propDict)) { + return $this->_propDict["deviceBlockEnableRestrictions"]; + } else { + return null; + } + } + + /** + * Sets the deviceBlockEnableRestrictions + * Indicates whether or not to allow the user to enables restrictions in the device settings when the device is in supervised mode. + * + * @param bool $val The deviceBlockEnableRestrictions + * + * @return IosGeneralDeviceConfiguration + */ + public function setDeviceBlockEnableRestrictions($val) + { + $this->_propDict["deviceBlockEnableRestrictions"] = boolval($val); + return $this; + } + + /** + * Gets the deviceBlockEraseContentAndSettings + * Indicates whether or not to allow the use of the 'Erase all content and settings' option on the device when the device is in supervised mode. + * + * @return bool|null The deviceBlockEraseContentAndSettings + */ + public function getDeviceBlockEraseContentAndSettings() + { + if (array_key_exists("deviceBlockEraseContentAndSettings", $this->_propDict)) { + return $this->_propDict["deviceBlockEraseContentAndSettings"]; + } else { + return null; + } + } + + /** + * Sets the deviceBlockEraseContentAndSettings + * Indicates whether or not to allow the use of the 'Erase all content and settings' option on the device when the device is in supervised mode. + * + * @param bool $val The deviceBlockEraseContentAndSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setDeviceBlockEraseContentAndSettings($val) + { + $this->_propDict["deviceBlockEraseContentAndSettings"] = boolval($val); + return $this; + } + + /** + * Gets the deviceBlockNameModification + * Indicates whether or not to allow device name modification when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The deviceBlockNameModification + */ + public function getDeviceBlockNameModification() + { + if (array_key_exists("deviceBlockNameModification", $this->_propDict)) { + return $this->_propDict["deviceBlockNameModification"]; + } else { + return null; + } + } + + /** + * Sets the deviceBlockNameModification + * Indicates whether or not to allow device name modification when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The deviceBlockNameModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setDeviceBlockNameModification($val) + { + $this->_propDict["deviceBlockNameModification"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticDataBlockSubmission + */ + public function getDiagnosticDataBlockSubmission() + { + if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticDataBlockSubmission + * + * @return IosGeneralDeviceConfiguration + */ + public function setDiagnosticDataBlockSubmission($val) + { + $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmissionModification + * Indicates whether or not to allow diagnostics submission settings modification when the device is in supervised mode (iOS 9.3.2 and later). + * + * @return bool|null The diagnosticDataBlockSubmissionModification + */ + public function getDiagnosticDataBlockSubmissionModification() + { + if (array_key_exists("diagnosticDataBlockSubmissionModification", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmissionModification"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmissionModification + * Indicates whether or not to allow diagnostics submission settings modification when the device is in supervised mode (iOS 9.3.2 and later). + * + * @param bool $val The diagnosticDataBlockSubmissionModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setDiagnosticDataBlockSubmissionModification($val) + { + $this->_propDict["diagnosticDataBlockSubmissionModification"] = boolval($val); + return $this; + } + + /** + * Gets the documentsBlockManagedDocumentsInUnmanagedApps + * Indicates whether or not to block the user from viewing managed documents in unmanaged apps. + * + * @return bool|null The documentsBlockManagedDocumentsInUnmanagedApps + */ + public function getDocumentsBlockManagedDocumentsInUnmanagedApps() + { + if (array_key_exists("documentsBlockManagedDocumentsInUnmanagedApps", $this->_propDict)) { + return $this->_propDict["documentsBlockManagedDocumentsInUnmanagedApps"]; + } else { + return null; + } + } + + /** + * Sets the documentsBlockManagedDocumentsInUnmanagedApps + * Indicates whether or not to block the user from viewing managed documents in unmanaged apps. + * + * @param bool $val The documentsBlockManagedDocumentsInUnmanagedApps + * + * @return IosGeneralDeviceConfiguration + */ + public function setDocumentsBlockManagedDocumentsInUnmanagedApps($val) + { + $this->_propDict["documentsBlockManagedDocumentsInUnmanagedApps"] = boolval($val); + return $this; + } + + /** + * Gets the documentsBlockUnmanagedDocumentsInManagedApps + * Indicates whether or not to block the user from viewing unmanaged documents in managed apps. + * + * @return bool|null The documentsBlockUnmanagedDocumentsInManagedApps + */ + public function getDocumentsBlockUnmanagedDocumentsInManagedApps() + { + if (array_key_exists("documentsBlockUnmanagedDocumentsInManagedApps", $this->_propDict)) { + return $this->_propDict["documentsBlockUnmanagedDocumentsInManagedApps"]; + } else { + return null; + } + } + + /** + * Sets the documentsBlockUnmanagedDocumentsInManagedApps + * Indicates whether or not to block the user from viewing unmanaged documents in managed apps. + * + * @param bool $val The documentsBlockUnmanagedDocumentsInManagedApps + * + * @return IosGeneralDeviceConfiguration + */ + public function setDocumentsBlockUnmanagedDocumentsInManagedApps($val) + { + $this->_propDict["documentsBlockUnmanagedDocumentsInManagedApps"] = boolval($val); + return $this; + } + + /** + * Gets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @return string|null The emailInDomainSuffixes + */ + public function getEmailInDomainSuffixes() + { + if (array_key_exists("emailInDomainSuffixes", $this->_propDict)) { + return $this->_propDict["emailInDomainSuffixes"]; + } else { + return null; + } + } + + /** + * Sets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @param string $val The emailInDomainSuffixes + * + * @return IosGeneralDeviceConfiguration + */ + public function setEmailInDomainSuffixes($val) + { + $this->_propDict["emailInDomainSuffixes"] = $val; + return $this; + } + + /** + * Gets the enterpriseAppBlockTrust + * Indicates whether or not to block the user from trusting an enterprise app. + * + * @return bool|null The enterpriseAppBlockTrust + */ + public function getEnterpriseAppBlockTrust() + { + if (array_key_exists("enterpriseAppBlockTrust", $this->_propDict)) { + return $this->_propDict["enterpriseAppBlockTrust"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseAppBlockTrust + * Indicates whether or not to block the user from trusting an enterprise app. + * + * @param bool $val The enterpriseAppBlockTrust + * + * @return IosGeneralDeviceConfiguration + */ + public function setEnterpriseAppBlockTrust($val) + { + $this->_propDict["enterpriseAppBlockTrust"] = boolval($val); + return $this; + } + + /** + * Gets the enterpriseAppBlockTrustModification + * [Deprecated] Configuring this setting and setting the value to 'true' has no effect on the device. + * + * @return bool|null The enterpriseAppBlockTrustModification + */ + public function getEnterpriseAppBlockTrustModification() + { + if (array_key_exists("enterpriseAppBlockTrustModification", $this->_propDict)) { + return $this->_propDict["enterpriseAppBlockTrustModification"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseAppBlockTrustModification + * [Deprecated] Configuring this setting and setting the value to 'true' has no effect on the device. + * + * @param bool $val The enterpriseAppBlockTrustModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setEnterpriseAppBlockTrustModification($val) + { + $this->_propDict["enterpriseAppBlockTrustModification"] = boolval($val); + return $this; + } + + /** + * Gets the faceTimeBlocked + * Indicates whether or not to block the user from using FaceTime. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The faceTimeBlocked + */ + public function getFaceTimeBlocked() + { + if (array_key_exists("faceTimeBlocked", $this->_propDict)) { + return $this->_propDict["faceTimeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the faceTimeBlocked + * Indicates whether or not to block the user from using FaceTime. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The faceTimeBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFaceTimeBlocked($val) + { + $this->_propDict["faceTimeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the findMyFriendsBlocked + * Indicates whether or not to block changes to Find My Friends when the device is in supervised mode. + * + * @return bool|null The findMyFriendsBlocked + */ + public function getFindMyFriendsBlocked() + { + if (array_key_exists("findMyFriendsBlocked", $this->_propDict)) { + return $this->_propDict["findMyFriendsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the findMyFriendsBlocked + * Indicates whether or not to block changes to Find My Friends when the device is in supervised mode. + * + * @param bool $val The findMyFriendsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setFindMyFriendsBlocked($val) + { + $this->_propDict["findMyFriendsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the gameCenterBlocked + * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. + * + * @return bool|null The gameCenterBlocked + */ + public function getGameCenterBlocked() + { + if (array_key_exists("gameCenterBlocked", $this->_propDict)) { + return $this->_propDict["gameCenterBlocked"]; + } else { + return null; + } + } + + /** + * Sets the gameCenterBlocked + * Indicates whether or not to block the user from using Game Center when the device is in supervised mode. + * + * @param bool $val The gameCenterBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setGameCenterBlocked($val) + { + $this->_propDict["gameCenterBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the gamingBlockGameCenterFriends + * Indicates whether or not to block the user from having friends in Game Center. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The gamingBlockGameCenterFriends + */ + public function getGamingBlockGameCenterFriends() + { + if (array_key_exists("gamingBlockGameCenterFriends", $this->_propDict)) { + return $this->_propDict["gamingBlockGameCenterFriends"]; + } else { + return null; + } + } + + /** + * Sets the gamingBlockGameCenterFriends + * Indicates whether or not to block the user from having friends in Game Center. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The gamingBlockGameCenterFriends + * + * @return IosGeneralDeviceConfiguration + */ + public function setGamingBlockGameCenterFriends($val) + { + $this->_propDict["gamingBlockGameCenterFriends"] = boolval($val); + return $this; + } + + /** + * Gets the gamingBlockMultiplayer + * Indicates whether or not to block the user from using multiplayer gaming. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The gamingBlockMultiplayer + */ + public function getGamingBlockMultiplayer() + { + if (array_key_exists("gamingBlockMultiplayer", $this->_propDict)) { + return $this->_propDict["gamingBlockMultiplayer"]; + } else { + return null; + } + } + + /** + * Sets the gamingBlockMultiplayer + * Indicates whether or not to block the user from using multiplayer gaming. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The gamingBlockMultiplayer + * + * @return IosGeneralDeviceConfiguration + */ + public function setGamingBlockMultiplayer($val) + { + $this->_propDict["gamingBlockMultiplayer"] = boolval($val); + return $this; + } + + /** + * Gets the hostPairingBlocked + * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. + * + * @return bool|null The hostPairingBlocked + */ + public function getHostPairingBlocked() + { + if (array_key_exists("hostPairingBlocked", $this->_propDict)) { + return $this->_propDict["hostPairingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the hostPairingBlocked + * indicates whether or not to allow host pairing to control the devices an iOS device can pair with when the iOS device is in supervised mode. + * + * @param bool $val The hostPairingBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setHostPairingBlocked($val) + { + $this->_propDict["hostPairingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iBooksStoreBlocked + * Indicates whether or not to block the user from using the iBooks Store when the device is in supervised mode. + * + * @return bool|null The iBooksStoreBlocked + */ + public function getIBooksStoreBlocked() + { + if (array_key_exists("iBooksStoreBlocked", $this->_propDict)) { + return $this->_propDict["iBooksStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the iBooksStoreBlocked + * Indicates whether or not to block the user from using the iBooks Store when the device is in supervised mode. + * + * @param bool $val The iBooksStoreBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setIBooksStoreBlocked($val) + { + $this->_propDict["iBooksStoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the iBooksStoreBlockErotica + * Indicates whether or not to block the user from downloading media from the iBookstore that has been tagged as erotica. + * + * @return bool|null The iBooksStoreBlockErotica + */ + public function getIBooksStoreBlockErotica() + { + if (array_key_exists("iBooksStoreBlockErotica", $this->_propDict)) { + return $this->_propDict["iBooksStoreBlockErotica"]; + } else { + return null; + } + } + + /** + * Sets the iBooksStoreBlockErotica + * Indicates whether or not to block the user from downloading media from the iBookstore that has been tagged as erotica. + * + * @param bool $val The iBooksStoreBlockErotica + * + * @return IosGeneralDeviceConfiguration + */ + public function setIBooksStoreBlockErotica($val) + { + $this->_propDict["iBooksStoreBlockErotica"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockActivityContinuation + * Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device. + * + * @return bool|null The iCloudBlockActivityContinuation + */ + public function getICloudBlockActivityContinuation() + { + if (array_key_exists("iCloudBlockActivityContinuation", $this->_propDict)) { + return $this->_propDict["iCloudBlockActivityContinuation"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockActivityContinuation + * Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device. + * + * @param bool $val The iCloudBlockActivityContinuation + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockActivityContinuation($val) + { + $this->_propDict["iCloudBlockActivityContinuation"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockBackup + * Indicates whether or not to block iCloud backup. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iCloudBlockBackup + */ + public function getICloudBlockBackup() + { + if (array_key_exists("iCloudBlockBackup", $this->_propDict)) { + return $this->_propDict["iCloudBlockBackup"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockBackup + * Indicates whether or not to block iCloud backup. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iCloudBlockBackup + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockBackup($val) + { + $this->_propDict["iCloudBlockBackup"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockDocumentSync + * Indicates whether or not to block iCloud document sync. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iCloudBlockDocumentSync + */ + public function getICloudBlockDocumentSync() + { + if (array_key_exists("iCloudBlockDocumentSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockDocumentSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockDocumentSync + * Indicates whether or not to block iCloud document sync. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iCloudBlockDocumentSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockDocumentSync($val) + { + $this->_propDict["iCloudBlockDocumentSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockManagedAppsSync + * Indicates whether or not to block Managed Apps Cloud Sync. + * + * @return bool|null The iCloudBlockManagedAppsSync + */ + public function getICloudBlockManagedAppsSync() + { + if (array_key_exists("iCloudBlockManagedAppsSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockManagedAppsSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockManagedAppsSync + * Indicates whether or not to block Managed Apps Cloud Sync. + * + * @param bool $val The iCloudBlockManagedAppsSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockManagedAppsSync($val) + { + $this->_propDict["iCloudBlockManagedAppsSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockPhotoLibrary + * Indicates whether or not to block iCloud Photo Library. + * + * @return bool|null The iCloudBlockPhotoLibrary + */ + public function getICloudBlockPhotoLibrary() + { + if (array_key_exists("iCloudBlockPhotoLibrary", $this->_propDict)) { + return $this->_propDict["iCloudBlockPhotoLibrary"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockPhotoLibrary + * Indicates whether or not to block iCloud Photo Library. + * + * @param bool $val The iCloudBlockPhotoLibrary + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockPhotoLibrary($val) + { + $this->_propDict["iCloudBlockPhotoLibrary"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockPhotoStreamSync + * Indicates whether or not to block iCloud Photo Stream Sync. + * + * @return bool|null The iCloudBlockPhotoStreamSync + */ + public function getICloudBlockPhotoStreamSync() + { + if (array_key_exists("iCloudBlockPhotoStreamSync", $this->_propDict)) { + return $this->_propDict["iCloudBlockPhotoStreamSync"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockPhotoStreamSync + * Indicates whether or not to block iCloud Photo Stream Sync. + * + * @param bool $val The iCloudBlockPhotoStreamSync + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockPhotoStreamSync($val) + { + $this->_propDict["iCloudBlockPhotoStreamSync"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudBlockSharedPhotoStream + * Indicates whether or not to block Shared Photo Stream. + * + * @return bool|null The iCloudBlockSharedPhotoStream + */ + public function getICloudBlockSharedPhotoStream() + { + if (array_key_exists("iCloudBlockSharedPhotoStream", $this->_propDict)) { + return $this->_propDict["iCloudBlockSharedPhotoStream"]; + } else { + return null; + } + } + + /** + * Sets the iCloudBlockSharedPhotoStream + * Indicates whether or not to block Shared Photo Stream. + * + * @param bool $val The iCloudBlockSharedPhotoStream + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudBlockSharedPhotoStream($val) + { + $this->_propDict["iCloudBlockSharedPhotoStream"] = boolval($val); + return $this; + } + + /** + * Gets the iCloudRequireEncryptedBackup + * Indicates whether or not to require backups to iCloud be encrypted. + * + * @return bool|null The iCloudRequireEncryptedBackup + */ + public function getICloudRequireEncryptedBackup() + { + if (array_key_exists("iCloudRequireEncryptedBackup", $this->_propDict)) { + return $this->_propDict["iCloudRequireEncryptedBackup"]; + } else { + return null; + } + } + + /** + * Sets the iCloudRequireEncryptedBackup + * Indicates whether or not to require backups to iCloud be encrypted. + * + * @param bool $val The iCloudRequireEncryptedBackup + * + * @return IosGeneralDeviceConfiguration + */ + public function setICloudRequireEncryptedBackup($val) + { + $this->_propDict["iCloudRequireEncryptedBackup"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockExplicitContent + * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The iTunesBlockExplicitContent + */ + public function getITunesBlockExplicitContent() + { + if (array_key_exists("iTunesBlockExplicitContent", $this->_propDict)) { + return $this->_propDict["iTunesBlockExplicitContent"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockExplicitContent + * Indicates whether or not to block the user from accessing explicit content in iTunes and the App Store. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The iTunesBlockExplicitContent + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlockExplicitContent($val) + { + $this->_propDict["iTunesBlockExplicitContent"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockMusicService + * Indicates whether or not to block Music service and revert Music app to classic mode when the device is in supervised mode (iOS 9.3 and later and macOS 10.12 and later). + * + * @return bool|null The iTunesBlockMusicService + */ + public function getITunesBlockMusicService() + { + if (array_key_exists("iTunesBlockMusicService", $this->_propDict)) { + return $this->_propDict["iTunesBlockMusicService"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockMusicService + * Indicates whether or not to block Music service and revert Music app to classic mode when the device is in supervised mode (iOS 9.3 and later and macOS 10.12 and later). + * + * @param bool $val The iTunesBlockMusicService + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlockMusicService($val) + { + $this->_propDict["iTunesBlockMusicService"] = boolval($val); + return $this; + } + + /** + * Gets the iTunesBlockRadio + * Indicates whether or not to block the user from using iTunes Radio when the device is in supervised mode (iOS 9.3 and later). + * + * @return bool|null The iTunesBlockRadio + */ + public function getITunesBlockRadio() + { + if (array_key_exists("iTunesBlockRadio", $this->_propDict)) { + return $this->_propDict["iTunesBlockRadio"]; + } else { + return null; + } + } + + /** + * Sets the iTunesBlockRadio + * Indicates whether or not to block the user from using iTunes Radio when the device is in supervised mode (iOS 9.3 and later). + * + * @param bool $val The iTunesBlockRadio + * + * @return IosGeneralDeviceConfiguration + */ + public function setITunesBlockRadio($val) + { + $this->_propDict["iTunesBlockRadio"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockAutoCorrect + * Indicates whether or not to block keyboard auto-correction when the device is in supervised mode (iOS 8.1.3 and later). + * + * @return bool|null The keyboardBlockAutoCorrect + */ + public function getKeyboardBlockAutoCorrect() + { + if (array_key_exists("keyboardBlockAutoCorrect", $this->_propDict)) { + return $this->_propDict["keyboardBlockAutoCorrect"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockAutoCorrect + * Indicates whether or not to block keyboard auto-correction when the device is in supervised mode (iOS 8.1.3 and later). + * + * @param bool $val The keyboardBlockAutoCorrect + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockAutoCorrect($val) + { + $this->_propDict["keyboardBlockAutoCorrect"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockDictation + * Indicates whether or not to block the user from using dictation input when the device is in supervised mode. + * + * @return bool|null The keyboardBlockDictation + */ + public function getKeyboardBlockDictation() + { + if (array_key_exists("keyboardBlockDictation", $this->_propDict)) { + return $this->_propDict["keyboardBlockDictation"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockDictation + * Indicates whether or not to block the user from using dictation input when the device is in supervised mode. + * + * @param bool $val The keyboardBlockDictation + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockDictation($val) + { + $this->_propDict["keyboardBlockDictation"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockPredictive + * Indicates whether or not to block predictive keyboards when device is in supervised mode (iOS 8.1.3 and later). + * + * @return bool|null The keyboardBlockPredictive + */ + public function getKeyboardBlockPredictive() + { + if (array_key_exists("keyboardBlockPredictive", $this->_propDict)) { + return $this->_propDict["keyboardBlockPredictive"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockPredictive + * Indicates whether or not to block predictive keyboards when device is in supervised mode (iOS 8.1.3 and later). + * + * @param bool $val The keyboardBlockPredictive + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockPredictive($val) + { + $this->_propDict["keyboardBlockPredictive"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockShortcuts + * Indicates whether or not to block keyboard shortcuts when the device is in supervised mode (iOS 9.0 and later). + * + * @return bool|null The keyboardBlockShortcuts + */ + public function getKeyboardBlockShortcuts() + { + if (array_key_exists("keyboardBlockShortcuts", $this->_propDict)) { + return $this->_propDict["keyboardBlockShortcuts"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockShortcuts + * Indicates whether or not to block keyboard shortcuts when the device is in supervised mode (iOS 9.0 and later). + * + * @param bool $val The keyboardBlockShortcuts + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockShortcuts($val) + { + $this->_propDict["keyboardBlockShortcuts"] = boolval($val); + return $this; + } + + /** + * Gets the keyboardBlockSpellCheck + * Indicates whether or not to block keyboard spell-checking when the device is in supervised mode (iOS 8.1.3 and later). + * + * @return bool|null The keyboardBlockSpellCheck + */ + public function getKeyboardBlockSpellCheck() + { + if (array_key_exists("keyboardBlockSpellCheck", $this->_propDict)) { + return $this->_propDict["keyboardBlockSpellCheck"]; + } else { + return null; + } + } + + /** + * Sets the keyboardBlockSpellCheck + * Indicates whether or not to block keyboard spell-checking when the device is in supervised mode (iOS 8.1.3 and later). + * + * @param bool $val The keyboardBlockSpellCheck + * + * @return IosGeneralDeviceConfiguration + */ + public function setKeyboardBlockSpellCheck($val) + { + $this->_propDict["keyboardBlockSpellCheck"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowAssistiveSpeak + * Indicates whether or not to allow assistive speak while in kiosk mode. + * + * @return bool|null The kioskModeAllowAssistiveSpeak + */ + public function getKioskModeAllowAssistiveSpeak() + { + if (array_key_exists("kioskModeAllowAssistiveSpeak", $this->_propDict)) { + return $this->_propDict["kioskModeAllowAssistiveSpeak"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowAssistiveSpeak + * Indicates whether or not to allow assistive speak while in kiosk mode. + * + * @param bool $val The kioskModeAllowAssistiveSpeak + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowAssistiveSpeak($val) + { + $this->_propDict["kioskModeAllowAssistiveSpeak"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowAssistiveTouchSettings + * Indicates whether or not to allow access to the Assistive Touch Settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowAssistiveTouchSettings + */ + public function getKioskModeAllowAssistiveTouchSettings() + { + if (array_key_exists("kioskModeAllowAssistiveTouchSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowAssistiveTouchSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowAssistiveTouchSettings + * Indicates whether or not to allow access to the Assistive Touch Settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowAssistiveTouchSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowAssistiveTouchSettings($val) + { + $this->_propDict["kioskModeAllowAssistiveTouchSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowAutoLock + * Indicates whether or not to allow device auto lock while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockAutoLock instead. + * + * @return bool|null The kioskModeAllowAutoLock + */ + public function getKioskModeAllowAutoLock() + { + if (array_key_exists("kioskModeAllowAutoLock", $this->_propDict)) { + return $this->_propDict["kioskModeAllowAutoLock"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowAutoLock + * Indicates whether or not to allow device auto lock while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockAutoLock instead. + * + * @param bool $val The kioskModeAllowAutoLock + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowAutoLock($val) + { + $this->_propDict["kioskModeAllowAutoLock"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowColorInversionSettings + * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowColorInversionSettings + */ + public function getKioskModeAllowColorInversionSettings() + { + if (array_key_exists("kioskModeAllowColorInversionSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowColorInversionSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowColorInversionSettings + * Indicates whether or not to allow access to the Color Inversion Settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowColorInversionSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowColorInversionSettings($val) + { + $this->_propDict["kioskModeAllowColorInversionSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowRingerSwitch + * Indicates whether or not to allow use of the ringer switch while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockRingerSwitch instead. + * + * @return bool|null The kioskModeAllowRingerSwitch + */ + public function getKioskModeAllowRingerSwitch() + { + if (array_key_exists("kioskModeAllowRingerSwitch", $this->_propDict)) { + return $this->_propDict["kioskModeAllowRingerSwitch"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowRingerSwitch + * Indicates whether or not to allow use of the ringer switch while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockRingerSwitch instead. + * + * @param bool $val The kioskModeAllowRingerSwitch + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowRingerSwitch($val) + { + $this->_propDict["kioskModeAllowRingerSwitch"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowScreenRotation + * Indicates whether or not to allow screen rotation while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockScreenRotation instead. + * + * @return bool|null The kioskModeAllowScreenRotation + */ + public function getKioskModeAllowScreenRotation() + { + if (array_key_exists("kioskModeAllowScreenRotation", $this->_propDict)) { + return $this->_propDict["kioskModeAllowScreenRotation"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowScreenRotation + * Indicates whether or not to allow screen rotation while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockScreenRotation instead. + * + * @param bool $val The kioskModeAllowScreenRotation + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowScreenRotation($val) + { + $this->_propDict["kioskModeAllowScreenRotation"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowSleepButton + * Indicates whether or not to allow use of the sleep button while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockSleepButton instead. + * + * @return bool|null The kioskModeAllowSleepButton + */ + public function getKioskModeAllowSleepButton() + { + if (array_key_exists("kioskModeAllowSleepButton", $this->_propDict)) { + return $this->_propDict["kioskModeAllowSleepButton"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowSleepButton + * Indicates whether or not to allow use of the sleep button while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockSleepButton instead. + * + * @param bool $val The kioskModeAllowSleepButton + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowSleepButton($val) + { + $this->_propDict["kioskModeAllowSleepButton"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowTouchscreen + * Indicates whether or not to allow use of the touchscreen while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockTouchscreen instead. + * + * @return bool|null The kioskModeAllowTouchscreen + */ + public function getKioskModeAllowTouchscreen() + { + if (array_key_exists("kioskModeAllowTouchscreen", $this->_propDict)) { + return $this->_propDict["kioskModeAllowTouchscreen"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowTouchscreen + * Indicates whether or not to allow use of the touchscreen while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockTouchscreen instead. + * + * @param bool $val The kioskModeAllowTouchscreen + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowTouchscreen($val) + { + $this->_propDict["kioskModeAllowTouchscreen"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowVoiceOverSettings + * Indicates whether or not to allow access to the voice over settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowVoiceOverSettings + */ + public function getKioskModeAllowVoiceOverSettings() + { + if (array_key_exists("kioskModeAllowVoiceOverSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowVoiceOverSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowVoiceOverSettings + * Indicates whether or not to allow access to the voice over settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowVoiceOverSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowVoiceOverSettings($val) + { + $this->_propDict["kioskModeAllowVoiceOverSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowVolumeButtons + * Indicates whether or not to allow use of the volume buttons while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockVolumeButtons instead. + * + * @return bool|null The kioskModeAllowVolumeButtons + */ + public function getKioskModeAllowVolumeButtons() + { + if (array_key_exists("kioskModeAllowVolumeButtons", $this->_propDict)) { + return $this->_propDict["kioskModeAllowVolumeButtons"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowVolumeButtons + * Indicates whether or not to allow use of the volume buttons while in kiosk mode. This property's functionality is redundant with the OS default and is deprecated. Use KioskModeBlockVolumeButtons instead. + * + * @param bool $val The kioskModeAllowVolumeButtons + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowVolumeButtons($val) + { + $this->_propDict["kioskModeAllowVolumeButtons"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAllowZoomSettings + * Indicates whether or not to allow access to the zoom settings while in kiosk mode. + * + * @return bool|null The kioskModeAllowZoomSettings + */ + public function getKioskModeAllowZoomSettings() + { + if (array_key_exists("kioskModeAllowZoomSettings", $this->_propDict)) { + return $this->_propDict["kioskModeAllowZoomSettings"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAllowZoomSettings + * Indicates whether or not to allow access to the zoom settings while in kiosk mode. + * + * @param bool $val The kioskModeAllowZoomSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAllowZoomSettings($val) + { + $this->_propDict["kioskModeAllowZoomSettings"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeAppStoreUrl + * URL in the app store to the app to use for kiosk mode. Use if KioskModeManagedAppId is not known. + * + * @return string|null The kioskModeAppStoreUrl + */ + public function getKioskModeAppStoreUrl() + { + if (array_key_exists("kioskModeAppStoreUrl", $this->_propDict)) { + return $this->_propDict["kioskModeAppStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeAppStoreUrl + * URL in the app store to the app to use for kiosk mode. Use if KioskModeManagedAppId is not known. + * + * @param string $val The kioskModeAppStoreUrl + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeAppStoreUrl($val) + { + $this->_propDict["kioskModeAppStoreUrl"] = $val; + return $this; + } + + /** + * Gets the kioskModeBuiltInAppId + * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. + * + * @return string|null The kioskModeBuiltInAppId + */ + public function getKioskModeBuiltInAppId() + { + if (array_key_exists("kioskModeBuiltInAppId", $this->_propDict)) { + return $this->_propDict["kioskModeBuiltInAppId"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeBuiltInAppId + * ID for built-in apps to use for kiosk mode. Used when KioskModeManagedAppId and KioskModeAppStoreUrl are not set. + * + * @param string $val The kioskModeBuiltInAppId + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeBuiltInAppId($val) + { + $this->_propDict["kioskModeBuiltInAppId"] = $val; + return $this; + } + + /** + * Gets the kioskModeManagedAppId + * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. + * + * @return string|null The kioskModeManagedAppId + */ + public function getKioskModeManagedAppId() + { + if (array_key_exists("kioskModeManagedAppId", $this->_propDict)) { + return $this->_propDict["kioskModeManagedAppId"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeManagedAppId + * Managed app id of the app to use for kiosk mode. If KioskModeManagedAppId is specified then KioskModeAppStoreUrl will be ignored. + * + * @param string $val The kioskModeManagedAppId + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeManagedAppId($val) + { + $this->_propDict["kioskModeManagedAppId"] = $val; + return $this; + } + + /** + * Gets the kioskModeRequireAssistiveTouch + * Indicates whether or not to require assistive touch while in kiosk mode. + * + * @return bool|null The kioskModeRequireAssistiveTouch + */ + public function getKioskModeRequireAssistiveTouch() + { + if (array_key_exists("kioskModeRequireAssistiveTouch", $this->_propDict)) { + return $this->_propDict["kioskModeRequireAssistiveTouch"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireAssistiveTouch + * Indicates whether or not to require assistive touch while in kiosk mode. + * + * @param bool $val The kioskModeRequireAssistiveTouch + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireAssistiveTouch($val) + { + $this->_propDict["kioskModeRequireAssistiveTouch"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireColorInversion + * Indicates whether or not to require color inversion while in kiosk mode. + * + * @return bool|null The kioskModeRequireColorInversion + */ + public function getKioskModeRequireColorInversion() + { + if (array_key_exists("kioskModeRequireColorInversion", $this->_propDict)) { + return $this->_propDict["kioskModeRequireColorInversion"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireColorInversion + * Indicates whether or not to require color inversion while in kiosk mode. + * + * @param bool $val The kioskModeRequireColorInversion + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireColorInversion($val) + { + $this->_propDict["kioskModeRequireColorInversion"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireMonoAudio + * Indicates whether or not to require mono audio while in kiosk mode. + * + * @return bool|null The kioskModeRequireMonoAudio + */ + public function getKioskModeRequireMonoAudio() + { + if (array_key_exists("kioskModeRequireMonoAudio", $this->_propDict)) { + return $this->_propDict["kioskModeRequireMonoAudio"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireMonoAudio + * Indicates whether or not to require mono audio while in kiosk mode. + * + * @param bool $val The kioskModeRequireMonoAudio + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireMonoAudio($val) + { + $this->_propDict["kioskModeRequireMonoAudio"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireVoiceOver + * Indicates whether or not to require voice over while in kiosk mode. + * + * @return bool|null The kioskModeRequireVoiceOver + */ + public function getKioskModeRequireVoiceOver() + { + if (array_key_exists("kioskModeRequireVoiceOver", $this->_propDict)) { + return $this->_propDict["kioskModeRequireVoiceOver"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireVoiceOver + * Indicates whether or not to require voice over while in kiosk mode. + * + * @param bool $val The kioskModeRequireVoiceOver + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireVoiceOver($val) + { + $this->_propDict["kioskModeRequireVoiceOver"] = boolval($val); + return $this; + } + + /** + * Gets the kioskModeRequireZoom + * Indicates whether or not to require zoom while in kiosk mode. + * + * @return bool|null The kioskModeRequireZoom + */ + public function getKioskModeRequireZoom() + { + if (array_key_exists("kioskModeRequireZoom", $this->_propDict)) { + return $this->_propDict["kioskModeRequireZoom"]; + } else { + return null; + } + } + + /** + * Sets the kioskModeRequireZoom + * Indicates whether or not to require zoom while in kiosk mode. + * + * @param bool $val The kioskModeRequireZoom + * + * @return IosGeneralDeviceConfiguration + */ + public function setKioskModeRequireZoom($val) + { + $this->_propDict["kioskModeRequireZoom"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockControlCenter + * Indicates whether or not to block the user from using control center on the lock screen. + * + * @return bool|null The lockScreenBlockControlCenter + */ + public function getLockScreenBlockControlCenter() + { + if (array_key_exists("lockScreenBlockControlCenter", $this->_propDict)) { + return $this->_propDict["lockScreenBlockControlCenter"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockControlCenter + * Indicates whether or not to block the user from using control center on the lock screen. + * + * @param bool $val The lockScreenBlockControlCenter + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockControlCenter($val) + { + $this->_propDict["lockScreenBlockControlCenter"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockNotificationView + * Indicates whether or not to block the user from using the notification view on the lock screen. + * + * @return bool|null The lockScreenBlockNotificationView + */ + public function getLockScreenBlockNotificationView() + { + if (array_key_exists("lockScreenBlockNotificationView", $this->_propDict)) { + return $this->_propDict["lockScreenBlockNotificationView"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockNotificationView + * Indicates whether or not to block the user from using the notification view on the lock screen. + * + * @param bool $val The lockScreenBlockNotificationView + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockNotificationView($val) + { + $this->_propDict["lockScreenBlockNotificationView"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockPassbook + * Indicates whether or not to block the user from using passbook when the device is locked. + * + * @return bool|null The lockScreenBlockPassbook + */ + public function getLockScreenBlockPassbook() + { + if (array_key_exists("lockScreenBlockPassbook", $this->_propDict)) { + return $this->_propDict["lockScreenBlockPassbook"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockPassbook + * Indicates whether or not to block the user from using passbook when the device is locked. + * + * @param bool $val The lockScreenBlockPassbook + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockPassbook($val) + { + $this->_propDict["lockScreenBlockPassbook"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockTodayView + * Indicates whether or not to block the user from using the Today View on the lock screen. + * + * @return bool|null The lockScreenBlockTodayView + */ + public function getLockScreenBlockTodayView() + { + if (array_key_exists("lockScreenBlockTodayView", $this->_propDict)) { + return $this->_propDict["lockScreenBlockTodayView"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockTodayView + * Indicates whether or not to block the user from using the Today View on the lock screen. + * + * @param bool $val The lockScreenBlockTodayView + * + * @return IosGeneralDeviceConfiguration + */ + public function setLockScreenBlockTodayView($val) + { + $this->_propDict["lockScreenBlockTodayView"] = boolval($val); + return $this; + } + + /** + * Gets the mediaContentRatingApps + * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. + * + * @return RatingAppsType|null The mediaContentRatingApps + */ + public function getMediaContentRatingApps() + { + if (array_key_exists("mediaContentRatingApps", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingApps"], "\Microsoft\Graph\Model\RatingAppsType") || is_null($this->_propDict["mediaContentRatingApps"])) { + return $this->_propDict["mediaContentRatingApps"]; + } else { + $this->_propDict["mediaContentRatingApps"] = new RatingAppsType($this->_propDict["mediaContentRatingApps"]); + return $this->_propDict["mediaContentRatingApps"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingApps + * Media content rating settings for Apps. Possible values are: allAllowed, allBlocked, agesAbove4, agesAbove9, agesAbove12, agesAbove17. + * + * @param RatingAppsType $val The mediaContentRatingApps + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingApps($val) + { + $this->_propDict["mediaContentRatingApps"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingAustralia + * Media content rating settings for Australia + * + * @return MediaContentRatingAustralia|null The mediaContentRatingAustralia + */ + public function getMediaContentRatingAustralia() + { + if (array_key_exists("mediaContentRatingAustralia", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingAustralia"], "\Microsoft\Graph\Model\MediaContentRatingAustralia") || is_null($this->_propDict["mediaContentRatingAustralia"])) { + return $this->_propDict["mediaContentRatingAustralia"]; + } else { + $this->_propDict["mediaContentRatingAustralia"] = new MediaContentRatingAustralia($this->_propDict["mediaContentRatingAustralia"]); + return $this->_propDict["mediaContentRatingAustralia"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingAustralia + * Media content rating settings for Australia + * + * @param MediaContentRatingAustralia $val The mediaContentRatingAustralia + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingAustralia($val) + { + $this->_propDict["mediaContentRatingAustralia"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingCanada + * Media content rating settings for Canada + * + * @return MediaContentRatingCanada|null The mediaContentRatingCanada + */ + public function getMediaContentRatingCanada() + { + if (array_key_exists("mediaContentRatingCanada", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingCanada"], "\Microsoft\Graph\Model\MediaContentRatingCanada") || is_null($this->_propDict["mediaContentRatingCanada"])) { + return $this->_propDict["mediaContentRatingCanada"]; + } else { + $this->_propDict["mediaContentRatingCanada"] = new MediaContentRatingCanada($this->_propDict["mediaContentRatingCanada"]); + return $this->_propDict["mediaContentRatingCanada"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingCanada + * Media content rating settings for Canada + * + * @param MediaContentRatingCanada $val The mediaContentRatingCanada + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingCanada($val) + { + $this->_propDict["mediaContentRatingCanada"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingFrance + * Media content rating settings for France + * + * @return MediaContentRatingFrance|null The mediaContentRatingFrance + */ + public function getMediaContentRatingFrance() + { + if (array_key_exists("mediaContentRatingFrance", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingFrance"], "\Microsoft\Graph\Model\MediaContentRatingFrance") || is_null($this->_propDict["mediaContentRatingFrance"])) { + return $this->_propDict["mediaContentRatingFrance"]; + } else { + $this->_propDict["mediaContentRatingFrance"] = new MediaContentRatingFrance($this->_propDict["mediaContentRatingFrance"]); + return $this->_propDict["mediaContentRatingFrance"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingFrance + * Media content rating settings for France + * + * @param MediaContentRatingFrance $val The mediaContentRatingFrance + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingFrance($val) + { + $this->_propDict["mediaContentRatingFrance"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingGermany + * Media content rating settings for Germany + * + * @return MediaContentRatingGermany|null The mediaContentRatingGermany + */ + public function getMediaContentRatingGermany() + { + if (array_key_exists("mediaContentRatingGermany", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingGermany"], "\Microsoft\Graph\Model\MediaContentRatingGermany") || is_null($this->_propDict["mediaContentRatingGermany"])) { + return $this->_propDict["mediaContentRatingGermany"]; + } else { + $this->_propDict["mediaContentRatingGermany"] = new MediaContentRatingGermany($this->_propDict["mediaContentRatingGermany"]); + return $this->_propDict["mediaContentRatingGermany"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingGermany + * Media content rating settings for Germany + * + * @param MediaContentRatingGermany $val The mediaContentRatingGermany + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingGermany($val) + { + $this->_propDict["mediaContentRatingGermany"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingIreland + * Media content rating settings for Ireland + * + * @return MediaContentRatingIreland|null The mediaContentRatingIreland + */ + public function getMediaContentRatingIreland() + { + if (array_key_exists("mediaContentRatingIreland", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingIreland"], "\Microsoft\Graph\Model\MediaContentRatingIreland") || is_null($this->_propDict["mediaContentRatingIreland"])) { + return $this->_propDict["mediaContentRatingIreland"]; + } else { + $this->_propDict["mediaContentRatingIreland"] = new MediaContentRatingIreland($this->_propDict["mediaContentRatingIreland"]); + return $this->_propDict["mediaContentRatingIreland"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingIreland + * Media content rating settings for Ireland + * + * @param MediaContentRatingIreland $val The mediaContentRatingIreland + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingIreland($val) + { + $this->_propDict["mediaContentRatingIreland"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingJapan + * Media content rating settings for Japan + * + * @return MediaContentRatingJapan|null The mediaContentRatingJapan + */ + public function getMediaContentRatingJapan() + { + if (array_key_exists("mediaContentRatingJapan", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingJapan"], "\Microsoft\Graph\Model\MediaContentRatingJapan") || is_null($this->_propDict["mediaContentRatingJapan"])) { + return $this->_propDict["mediaContentRatingJapan"]; + } else { + $this->_propDict["mediaContentRatingJapan"] = new MediaContentRatingJapan($this->_propDict["mediaContentRatingJapan"]); + return $this->_propDict["mediaContentRatingJapan"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingJapan + * Media content rating settings for Japan + * + * @param MediaContentRatingJapan $val The mediaContentRatingJapan + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingJapan($val) + { + $this->_propDict["mediaContentRatingJapan"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingNewZealand + * Media content rating settings for New Zealand + * + * @return MediaContentRatingNewZealand|null The mediaContentRatingNewZealand + */ + public function getMediaContentRatingNewZealand() + { + if (array_key_exists("mediaContentRatingNewZealand", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingNewZealand"], "\Microsoft\Graph\Model\MediaContentRatingNewZealand") || is_null($this->_propDict["mediaContentRatingNewZealand"])) { + return $this->_propDict["mediaContentRatingNewZealand"]; + } else { + $this->_propDict["mediaContentRatingNewZealand"] = new MediaContentRatingNewZealand($this->_propDict["mediaContentRatingNewZealand"]); + return $this->_propDict["mediaContentRatingNewZealand"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingNewZealand + * Media content rating settings for New Zealand + * + * @param MediaContentRatingNewZealand $val The mediaContentRatingNewZealand + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingNewZealand($val) + { + $this->_propDict["mediaContentRatingNewZealand"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingUnitedKingdom + * Media content rating settings for United Kingdom + * + * @return MediaContentRatingUnitedKingdom|null The mediaContentRatingUnitedKingdom + */ + public function getMediaContentRatingUnitedKingdom() + { + if (array_key_exists("mediaContentRatingUnitedKingdom", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingUnitedKingdom"], "\Microsoft\Graph\Model\MediaContentRatingUnitedKingdom") || is_null($this->_propDict["mediaContentRatingUnitedKingdom"])) { + return $this->_propDict["mediaContentRatingUnitedKingdom"]; + } else { + $this->_propDict["mediaContentRatingUnitedKingdom"] = new MediaContentRatingUnitedKingdom($this->_propDict["mediaContentRatingUnitedKingdom"]); + return $this->_propDict["mediaContentRatingUnitedKingdom"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingUnitedKingdom + * Media content rating settings for United Kingdom + * + * @param MediaContentRatingUnitedKingdom $val The mediaContentRatingUnitedKingdom + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingUnitedKingdom($val) + { + $this->_propDict["mediaContentRatingUnitedKingdom"] = $val; + return $this; + } + + /** + * Gets the mediaContentRatingUnitedStates + * Media content rating settings for United States + * + * @return MediaContentRatingUnitedStates|null The mediaContentRatingUnitedStates + */ + public function getMediaContentRatingUnitedStates() + { + if (array_key_exists("mediaContentRatingUnitedStates", $this->_propDict)) { + if (is_a($this->_propDict["mediaContentRatingUnitedStates"], "\Microsoft\Graph\Model\MediaContentRatingUnitedStates") || is_null($this->_propDict["mediaContentRatingUnitedStates"])) { + return $this->_propDict["mediaContentRatingUnitedStates"]; + } else { + $this->_propDict["mediaContentRatingUnitedStates"] = new MediaContentRatingUnitedStates($this->_propDict["mediaContentRatingUnitedStates"]); + return $this->_propDict["mediaContentRatingUnitedStates"]; + } + } + return null; + } + + /** + * Sets the mediaContentRatingUnitedStates + * Media content rating settings for United States + * + * @param MediaContentRatingUnitedStates $val The mediaContentRatingUnitedStates + * + * @return IosGeneralDeviceConfiguration + */ + public function setMediaContentRatingUnitedStates($val) + { + $this->_propDict["mediaContentRatingUnitedStates"] = $val; + return $this; + } + + /** + * Gets the messagesBlocked + * Indicates whether or not to block the user from using the Messages app on the supervised device. + * + * @return bool|null The messagesBlocked + */ + public function getMessagesBlocked() + { + if (array_key_exists("messagesBlocked", $this->_propDict)) { + return $this->_propDict["messagesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the messagesBlocked + * Indicates whether or not to block the user from using the Messages app on the supervised device. + * + * @param bool $val The messagesBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setMessagesBlocked($val) + { + $this->_propDict["messagesBlocked"] = boolval($val); + return $this; + } + + + /** + * Gets the networkUsageRules + * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. + * + * @return array|null The networkUsageRules + */ + public function getNetworkUsageRules() + { + if (array_key_exists("networkUsageRules", $this->_propDict)) { + return $this->_propDict["networkUsageRules"]; + } else { + return null; + } + } + + /** + * Sets the networkUsageRules + * List of managed apps and the network rules that applies to them. This collection can contain a maximum of 1000 elements. + * + * @param IosNetworkUsageRule[] $val The networkUsageRules + * + * @return IosGeneralDeviceConfiguration + */ + public function setNetworkUsageRules($val) + { + $this->_propDict["networkUsageRules"] = $val; + return $this; + } + + /** + * Gets the notificationsBlockSettingsModification + * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). + * + * @return bool|null The notificationsBlockSettingsModification + */ + public function getNotificationsBlockSettingsModification() + { + if (array_key_exists("notificationsBlockSettingsModification", $this->_propDict)) { + return $this->_propDict["notificationsBlockSettingsModification"]; + } else { + return null; + } + } + + /** + * Sets the notificationsBlockSettingsModification + * Indicates whether or not to allow notifications settings modification (iOS 9.3 and later). + * + * @param bool $val The notificationsBlockSettingsModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setNotificationsBlockSettingsModification($val) + { + $this->_propDict["notificationsBlockSettingsModification"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockFingerprintModification + * Block modification of registered Touch ID fingerprints when in supervised mode. + * + * @return bool|null The passcodeBlockFingerprintModification + */ + public function getPasscodeBlockFingerprintModification() + { + if (array_key_exists("passcodeBlockFingerprintModification", $this->_propDict)) { + return $this->_propDict["passcodeBlockFingerprintModification"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockFingerprintModification + * Block modification of registered Touch ID fingerprints when in supervised mode. + * + * @param bool $val The passcodeBlockFingerprintModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockFingerprintModification($val) + { + $this->_propDict["passcodeBlockFingerprintModification"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @return bool|null The passcodeBlockFingerprintUnlock + */ + public function getPasscodeBlockFingerprintUnlock() + { + if (array_key_exists("passcodeBlockFingerprintUnlock", $this->_propDict)) { + return $this->_propDict["passcodeBlockFingerprintUnlock"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockFingerprintUnlock + * Indicates whether or not to block fingerprint unlock. + * + * @param bool $val The passcodeBlockFingerprintUnlock + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockFingerprintUnlock($val) + { + $this->_propDict["passcodeBlockFingerprintUnlock"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockModification + * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). + * + * @return bool|null The passcodeBlockModification + */ + public function getPasscodeBlockModification() + { + if (array_key_exists("passcodeBlockModification", $this->_propDict)) { + return $this->_propDict["passcodeBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockModification + * Indicates whether or not to allow passcode modification on the supervised device (iOS 9.0 and later). + * + * @param bool $val The passcodeBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockModification($val) + { + $this->_propDict["passcodeBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @return bool|null The passcodeBlockSimple + */ + public function getPasscodeBlockSimple() + { + if (array_key_exists("passcodeBlockSimple", $this->_propDict)) { + return $this->_propDict["passcodeBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passcodeBlockSimple + * Indicates whether or not to block simple passcodes. + * + * @param bool $val The passcodeBlockSimple + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeBlockSimple($val) + { + $this->_propDict["passcodeBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @return int|null The passcodeExpirationDays + */ + public function getPasscodeExpirationDays() + { + if (array_key_exists("passcodeExpirationDays", $this->_propDict)) { + return $this->_propDict["passcodeExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passcodeExpirationDays + * Number of days before the passcode expires. Valid values 1 to 65535 + * + * @param int $val The passcodeExpirationDays + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeExpirationDays($val) + { + $this->_propDict["passcodeExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumCharacterSetCount + * Number of character sets a passcode must contain. Valid values 0 to 4 + * + * @return int|null The passcodeMinimumCharacterSetCount + */ + public function getPasscodeMinimumCharacterSetCount() + { + if (array_key_exists("passcodeMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passcodeMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumCharacterSetCount + * Number of character sets a passcode must contain. Valid values 0 to 4 + * + * @param int $val The passcodeMinimumCharacterSetCount + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinimumCharacterSetCount($val) + { + $this->_propDict["passcodeMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @return int|null The passcodeMinimumLength + */ + public function getPasscodeMinimumLength() + { + if (array_key_exists("passcodeMinimumLength", $this->_propDict)) { + return $this->_propDict["passcodeMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinimumLength + * Minimum length of passcode. Valid values 4 to 14 + * + * @param int $val The passcodeMinimumLength + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinimumLength($val) + { + $this->_propDict["passcodeMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @return int|null The passcodeMinutesOfInactivityBeforeLock + */ + public function getPasscodeMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeLock + * Minutes of inactivity before a passcode is required. + * + * @param int $val The passcodeMinutesOfInactivityBeforeLock + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passcodeMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @return int|null The passcodeMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasscodeMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passcodeMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passcodeMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passcodeMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before the screen times out. + * + * @param int $val The passcodeMinutesOfInactivityBeforeScreenTimeout + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passcodeMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @return int|null The passcodePreviousPasscodeBlockCount + */ + public function getPasscodePreviousPasscodeBlockCount() + { + if (array_key_exists("passcodePreviousPasscodeBlockCount", $this->_propDict)) { + return $this->_propDict["passcodePreviousPasscodeBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passcodePreviousPasscodeBlockCount + * Number of previous passcodes to block. Valid values 1 to 24 + * + * @param int $val The passcodePreviousPasscodeBlockCount + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodePreviousPasscodeBlockCount($val) + { + $this->_propDict["passcodePreviousPasscodeBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @return bool|null The passcodeRequired + */ + public function getPasscodeRequired() + { + if (array_key_exists("passcodeRequired", $this->_propDict)) { + return $this->_propDict["passcodeRequired"]; + } else { + return null; + } + } + + /** + * Sets the passcodeRequired + * Indicates whether or not to require a passcode. + * + * @param bool $val The passcodeRequired + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeRequired($val) + { + $this->_propDict["passcodeRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passcodeRequiredType + * Type of passcode that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passcodeRequiredType + */ + public function getPasscodeRequiredType() + { + if (array_key_exists("passcodeRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passcodeRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passcodeRequiredType"])) { + return $this->_propDict["passcodeRequiredType"]; + } else { + $this->_propDict["passcodeRequiredType"] = new RequiredPasswordType($this->_propDict["passcodeRequiredType"]); + return $this->_propDict["passcodeRequiredType"]; + } + } + return null; + } + + /** + * Sets the passcodeRequiredType + * Type of passcode that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passcodeRequiredType + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeRequiredType($val) + { + $this->_propDict["passcodeRequiredType"] = $val; + return $this; + } + + /** + * Gets the passcodeSignInFailureCountBeforeWipe + * Number of sign in failures allowed before wiping the device. Valid values 2 to 11 + * + * @return int|null The passcodeSignInFailureCountBeforeWipe + */ + public function getPasscodeSignInFailureCountBeforeWipe() + { + if (array_key_exists("passcodeSignInFailureCountBeforeWipe", $this->_propDict)) { + return $this->_propDict["passcodeSignInFailureCountBeforeWipe"]; + } else { + return null; + } + } + + /** + * Sets the passcodeSignInFailureCountBeforeWipe + * Number of sign in failures allowed before wiping the device. Valid values 2 to 11 + * + * @param int $val The passcodeSignInFailureCountBeforeWipe + * + * @return IosGeneralDeviceConfiguration + */ + public function setPasscodeSignInFailureCountBeforeWipe($val) + { + $this->_propDict["passcodeSignInFailureCountBeforeWipe"] = intval($val); + return $this; + } + + /** + * Gets the podcastsBlocked + * Indicates whether or not to block the user from using podcasts on the supervised device (iOS 8.0 and later). + * + * @return bool|null The podcastsBlocked + */ + public function getPodcastsBlocked() + { + if (array_key_exists("podcastsBlocked", $this->_propDict)) { + return $this->_propDict["podcastsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the podcastsBlocked + * Indicates whether or not to block the user from using podcasts on the supervised device (iOS 8.0 and later). + * + * @param bool $val The podcastsBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setPodcastsBlocked($val) + { + $this->_propDict["podcastsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlockAutofill + * Indicates whether or not to block the user from using Auto fill in Safari. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The safariBlockAutofill + */ + public function getSafariBlockAutofill() + { + if (array_key_exists("safariBlockAutofill", $this->_propDict)) { + return $this->_propDict["safariBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockAutofill + * Indicates whether or not to block the user from using Auto fill in Safari. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The safariBlockAutofill + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlockAutofill($val) + { + $this->_propDict["safariBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlocked + * Indicates whether or not to block the user from using Safari. Requires a supervised device for iOS 13 and later. + * + * @return bool|null The safariBlocked + */ + public function getSafariBlocked() + { + if (array_key_exists("safariBlocked", $this->_propDict)) { + return $this->_propDict["safariBlocked"]; + } else { + return null; + } + } + + /** + * Sets the safariBlocked + * Indicates whether or not to block the user from using Safari. Requires a supervised device for iOS 13 and later. + * + * @param bool $val The safariBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlocked($val) + { + $this->_propDict["safariBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlockJavaScript + * Indicates whether or not to block JavaScript in Safari. + * + * @return bool|null The safariBlockJavaScript + */ + public function getSafariBlockJavaScript() + { + if (array_key_exists("safariBlockJavaScript", $this->_propDict)) { + return $this->_propDict["safariBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockJavaScript + * Indicates whether or not to block JavaScript in Safari. + * + * @param bool $val The safariBlockJavaScript + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlockJavaScript($val) + { + $this->_propDict["safariBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the safariBlockPopups + * Indicates whether or not to block popups in Safari. + * + * @return bool|null The safariBlockPopups + */ + public function getSafariBlockPopups() + { + if (array_key_exists("safariBlockPopups", $this->_propDict)) { + return $this->_propDict["safariBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the safariBlockPopups + * Indicates whether or not to block popups in Safari. + * + * @param bool $val The safariBlockPopups + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariBlockPopups($val) + { + $this->_propDict["safariBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the safariCookieSettings + * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @return WebBrowserCookieSettings|null The safariCookieSettings + */ + public function getSafariCookieSettings() + { + if (array_key_exists("safariCookieSettings", $this->_propDict)) { + if (is_a($this->_propDict["safariCookieSettings"], "\Microsoft\Graph\Model\WebBrowserCookieSettings") || is_null($this->_propDict["safariCookieSettings"])) { + return $this->_propDict["safariCookieSettings"]; + } else { + $this->_propDict["safariCookieSettings"] = new WebBrowserCookieSettings($this->_propDict["safariCookieSettings"]); + return $this->_propDict["safariCookieSettings"]; + } + } + return null; + } + + /** + * Sets the safariCookieSettings + * Cookie settings for Safari. Possible values are: browserDefault, blockAlways, allowCurrentWebSite, allowFromWebsitesVisited, allowAlways. + * + * @param WebBrowserCookieSettings $val The safariCookieSettings + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariCookieSettings($val) + { + $this->_propDict["safariCookieSettings"] = $val; + return $this; + } + + /** + * Gets the safariManagedDomains + * URLs matching the patterns listed here will be considered managed. + * + * @return string|null The safariManagedDomains + */ + public function getSafariManagedDomains() + { + if (array_key_exists("safariManagedDomains", $this->_propDict)) { + return $this->_propDict["safariManagedDomains"]; + } else { + return null; + } + } + + /** + * Sets the safariManagedDomains + * URLs matching the patterns listed here will be considered managed. + * + * @param string $val The safariManagedDomains + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariManagedDomains($val) + { + $this->_propDict["safariManagedDomains"] = $val; + return $this; + } + + /** + * Gets the safariPasswordAutoFillDomains + * Users can save passwords in Safari only from URLs matching the patterns listed here. Applies to devices in supervised mode (iOS 9.3 and later). + * + * @return string|null The safariPasswordAutoFillDomains + */ + public function getSafariPasswordAutoFillDomains() + { + if (array_key_exists("safariPasswordAutoFillDomains", $this->_propDict)) { + return $this->_propDict["safariPasswordAutoFillDomains"]; + } else { + return null; + } + } + + /** + * Sets the safariPasswordAutoFillDomains + * Users can save passwords in Safari only from URLs matching the patterns listed here. Applies to devices in supervised mode (iOS 9.3 and later). + * + * @param string $val The safariPasswordAutoFillDomains + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariPasswordAutoFillDomains($val) + { + $this->_propDict["safariPasswordAutoFillDomains"] = $val; + return $this; + } + + /** + * Gets the safariRequireFraudWarning + * Indicates whether or not to require fraud warning in Safari. + * + * @return bool|null The safariRequireFraudWarning + */ + public function getSafariRequireFraudWarning() + { + if (array_key_exists("safariRequireFraudWarning", $this->_propDict)) { + return $this->_propDict["safariRequireFraudWarning"]; + } else { + return null; + } + } + + /** + * Sets the safariRequireFraudWarning + * Indicates whether or not to require fraud warning in Safari. + * + * @param bool $val The safariRequireFraudWarning + * + * @return IosGeneralDeviceConfiguration + */ + public function setSafariRequireFraudWarning($val) + { + $this->_propDict["safariRequireFraudWarning"] = boolval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block the user from taking Screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block the user from taking Screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the siriBlocked + * Indicates whether or not to block the user from using Siri. + * + * @return bool|null The siriBlocked + */ + public function getSiriBlocked() + { + if (array_key_exists("siriBlocked", $this->_propDict)) { + return $this->_propDict["siriBlocked"]; + } else { + return null; + } + } + + /** + * Sets the siriBlocked + * Indicates whether or not to block the user from using Siri. + * + * @param bool $val The siriBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriBlocked($val) + { + $this->_propDict["siriBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the siriBlockedWhenLocked + * Indicates whether or not to block the user from using Siri when locked. + * + * @return bool|null The siriBlockedWhenLocked + */ + public function getSiriBlockedWhenLocked() + { + if (array_key_exists("siriBlockedWhenLocked", $this->_propDict)) { + return $this->_propDict["siriBlockedWhenLocked"]; + } else { + return null; + } + } + + /** + * Sets the siriBlockedWhenLocked + * Indicates whether or not to block the user from using Siri when locked. + * + * @param bool $val The siriBlockedWhenLocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriBlockedWhenLocked($val) + { + $this->_propDict["siriBlockedWhenLocked"] = boolval($val); + return $this; + } + + /** + * Gets the siriBlockUserGeneratedContent + * Indicates whether or not to block Siri from querying user-generated content when used on a supervised device. + * + * @return bool|null The siriBlockUserGeneratedContent + */ + public function getSiriBlockUserGeneratedContent() + { + if (array_key_exists("siriBlockUserGeneratedContent", $this->_propDict)) { + return $this->_propDict["siriBlockUserGeneratedContent"]; + } else { + return null; + } + } + + /** + * Sets the siriBlockUserGeneratedContent + * Indicates whether or not to block Siri from querying user-generated content when used on a supervised device. + * + * @param bool $val The siriBlockUserGeneratedContent + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriBlockUserGeneratedContent($val) + { + $this->_propDict["siriBlockUserGeneratedContent"] = boolval($val); + return $this; + } + + /** + * Gets the siriRequireProfanityFilter + * Indicates whether or not to prevent Siri from dictating, or speaking profane language on supervised device. + * + * @return bool|null The siriRequireProfanityFilter + */ + public function getSiriRequireProfanityFilter() + { + if (array_key_exists("siriRequireProfanityFilter", $this->_propDict)) { + return $this->_propDict["siriRequireProfanityFilter"]; + } else { + return null; + } + } + + /** + * Sets the siriRequireProfanityFilter + * Indicates whether or not to prevent Siri from dictating, or speaking profane language on supervised device. + * + * @param bool $val The siriRequireProfanityFilter + * + * @return IosGeneralDeviceConfiguration + */ + public function setSiriRequireProfanityFilter($val) + { + $this->_propDict["siriRequireProfanityFilter"] = boolval($val); + return $this; + } + + /** + * Gets the spotlightBlockInternetResults + * Indicates whether or not to block Spotlight search from returning internet results on supervised device. + * + * @return bool|null The spotlightBlockInternetResults + */ + public function getSpotlightBlockInternetResults() + { + if (array_key_exists("spotlightBlockInternetResults", $this->_propDict)) { + return $this->_propDict["spotlightBlockInternetResults"]; + } else { + return null; + } + } + + /** + * Sets the spotlightBlockInternetResults + * Indicates whether or not to block Spotlight search from returning internet results on supervised device. + * + * @param bool $val The spotlightBlockInternetResults + * + * @return IosGeneralDeviceConfiguration + */ + public function setSpotlightBlockInternetResults($val) + { + $this->_propDict["spotlightBlockInternetResults"] = boolval($val); + return $this; + } + + /** + * Gets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @return bool|null The voiceDialingBlocked + */ + public function getVoiceDialingBlocked() + { + if (array_key_exists("voiceDialingBlocked", $this->_propDict)) { + return $this->_propDict["voiceDialingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceDialingBlocked + * Indicates whether or not to block voice dialing. + * + * @param bool $val The voiceDialingBlocked + * + * @return IosGeneralDeviceConfiguration + */ + public function setVoiceDialingBlocked($val) + { + $this->_propDict["voiceDialingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wallpaperBlockModification + * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . + * + * @return bool|null The wallpaperBlockModification + */ + public function getWallpaperBlockModification() + { + if (array_key_exists("wallpaperBlockModification", $this->_propDict)) { + return $this->_propDict["wallpaperBlockModification"]; + } else { + return null; + } + } + + /** + * Sets the wallpaperBlockModification + * Indicates whether or not to allow wallpaper modification on supervised device (iOS 9.0 and later) . + * + * @param bool $val The wallpaperBlockModification + * + * @return IosGeneralDeviceConfiguration + */ + public function setWallpaperBlockModification($val) + { + $this->_propDict["wallpaperBlockModification"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiConnectOnlyToConfiguredNetworks + * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. Available for devices running iOS and iPadOS versions 14.4 and earlier. Devices running 14.5+ should use the setting, 'WiFiConnectToAllowedNetworksOnlyForced. + * + * @return bool|null The wiFiConnectOnlyToConfiguredNetworks + */ + public function getWiFiConnectOnlyToConfiguredNetworks() + { + if (array_key_exists("wiFiConnectOnlyToConfiguredNetworks", $this->_propDict)) { + return $this->_propDict["wiFiConnectOnlyToConfiguredNetworks"]; + } else { + return null; + } + } + + /** + * Sets the wiFiConnectOnlyToConfiguredNetworks + * Indicates whether or not to force the device to use only Wi-Fi networks from configuration profiles when the device is in supervised mode. Available for devices running iOS and iPadOS versions 14.4 and earlier. Devices running 14.5+ should use the setting, 'WiFiConnectToAllowedNetworksOnlyForced. + * + * @param bool $val The wiFiConnectOnlyToConfiguredNetworks + * + * @return IosGeneralDeviceConfiguration + */ + public function setWiFiConnectOnlyToConfiguredNetworks($val) + { + $this->_propDict["wiFiConnectOnlyToConfiguredNetworks"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenApp.php b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenApp.php new file mode 100644 index 0000000..4e32fd9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenApp.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iosHomeScreenApp"); + } + + /** + * Gets the bundleID + * BundleID of the app if isWebClip is false or the URL of a web clip if isWebClip is true. + * + * @return string|null The bundleID + */ + public function getBundleID() + { + if (array_key_exists("bundleID", $this->_propDict)) { + return $this->_propDict["bundleID"]; + } else { + return null; + } + } + + /** + * Sets the bundleID + * BundleID of the app if isWebClip is false or the URL of a web clip if isWebClip is true. + * + * @param string $val The value of the bundleID + * + * @return IosHomeScreenApp + */ + public function setBundleID($val) + { + $this->_propDict["bundleID"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolder.php b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolder.php new file mode 100644 index 0000000..1ca7799 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolder.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.iosHomeScreenFolder"); + } + + + /** + * Gets the pages + * Pages of Home Screen Layout Icons which must be applications or web clips. This collection can contain a maximum of 500 elements. + * + * @return IosHomeScreenFolderPage|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + if (is_a($this->_propDict["pages"], "\Microsoft\Graph\Model\IosHomeScreenFolderPage") || is_null($this->_propDict["pages"])) { + return $this->_propDict["pages"]; + } else { + $this->_propDict["pages"] = new IosHomeScreenFolderPage($this->_propDict["pages"]); + return $this->_propDict["pages"]; + } + } + return null; + } + + /** + * Sets the pages + * Pages of Home Screen Layout Icons which must be applications or web clips. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenFolderPage $val The value to assign to the pages + * + * @return IosHomeScreenFolder The IosHomeScreenFolder + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolderPage.php b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolderPage.php new file mode 100644 index 0000000..2febea4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolderPage.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["apps"], "\Microsoft\Graph\Model\IosHomeScreenApp") || is_null($this->_propDict["apps"])) { + return $this->_propDict["apps"]; + } else { + $this->_propDict["apps"] = new IosHomeScreenApp($this->_propDict["apps"]); + return $this->_propDict["apps"]; + } + } + return null; + } + + /** + * Sets the apps + * A list of apps and web clips to appear on a page within a folder. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenApp $val The value to assign to the apps + * + * @return IosHomeScreenFolderPage The IosHomeScreenFolderPage + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the folder page + * + * @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 + * Name of the folder page + * + * @param string $val The value of the displayName + * + * @return IosHomeScreenFolderPage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenItem.php b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenItem.php new file mode 100644 index 0000000..aa0e1d9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the app + * + * @param string $val The value of the displayName + * + * @return IosHomeScreenItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenPage.php b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenPage.php new file mode 100644 index 0000000..f1b3c42 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenPage.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of the page + * + * @param string $val The value of the displayName + * + * @return IosHomeScreenPage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the icons + * A list of apps, folders, and web clips to appear on a page. This collection can contain a maximum of 500 elements. + * + * @return IosHomeScreenItem|null The icons + */ + public function getIcons() + { + if (array_key_exists("icons", $this->_propDict)) { + if (is_a($this->_propDict["icons"], "\Microsoft\Graph\Model\IosHomeScreenItem") || is_null($this->_propDict["icons"])) { + return $this->_propDict["icons"]; + } else { + $this->_propDict["icons"] = new IosHomeScreenItem($this->_propDict["icons"]); + return $this->_propDict["icons"]; + } + } + return null; + } + + /** + * Sets the icons + * A list of apps, folders, and web clips to appear on a page. This collection can contain a maximum of 500 elements. + * + * @param IosHomeScreenItem $val The value to assign to the icons + * + * @return IosHomeScreenPage The IosHomeScreenPage + */ + public function setIcons($val) + { + $this->_propDict["icons"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosLobApp.php b/vendor/microsoft/microsoft-graph/src/Model/IosLobApp.php new file mode 100644 index 0000000..5b0f686 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosLobApp.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return IosLobApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the buildNumber + * The build number of iOS Line of Business (LoB) app. + * + * @return string|null The buildNumber + */ + public function getBuildNumber() + { + if (array_key_exists("buildNumber", $this->_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * The build number of iOS Line of Business (LoB) app. + * + * @param string $val The buildNumber + * + * @return IosLobApp + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return IosLobApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration time. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration time. + * + * @param \DateTime $val The expirationDateTime + * + * @return IosLobApp + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return IosLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the versionNumber + * The version number of iOS Line of Business (LoB) app. + * + * @return string|null The versionNumber + */ + public function getVersionNumber() + { + if (array_key_exists("versionNumber", $this->_propDict)) { + return $this->_propDict["versionNumber"]; + } else { + return null; + } + } + + /** + * Sets the versionNumber + * The version number of iOS Line of Business (LoB) app. + * + * @param string $val The versionNumber + * + * @return IosLobApp + */ + public function setVersionNumber($val) + { + $this->_propDict["versionNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosLobAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/IosLobAppAssignmentSettings.php new file mode 100644 index 0000000..96979b5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosLobAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iosLobAppAssignmentSettings"); + } + + /** + * Gets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @return string|null The vpnConfigurationId + */ + public function getVpnConfigurationId() + { + if (array_key_exists("vpnConfigurationId", $this->_propDict)) { + return $this->_propDict["vpnConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @param string $val The value of the vpnConfigurationId + * + * @return IosLobAppAssignmentSettings + */ + public function setVpnConfigurationId($val) + { + $this->_propDict["vpnConfigurationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppProtection.php new file mode 100644 index 0000000..54139a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppProtection.php @@ -0,0 +1,239 @@ +_propDict)) { + if (is_a($this->_propDict["appDataEncryptionType"], "\Microsoft\Graph\Model\ManagedAppDataEncryptionType") || is_null($this->_propDict["appDataEncryptionType"])) { + return $this->_propDict["appDataEncryptionType"]; + } else { + $this->_propDict["appDataEncryptionType"] = new ManagedAppDataEncryptionType($this->_propDict["appDataEncryptionType"]); + return $this->_propDict["appDataEncryptionType"]; + } + } + return null; + } + + /** + * Sets the appDataEncryptionType + * Type of encryption which should be used for data in a managed app. Possible values are: useDeviceSettings, afterDeviceRestart, whenDeviceLockedExceptOpenFiles, whenDeviceLocked. + * + * @param ManagedAppDataEncryptionType $val The appDataEncryptionType + * + * @return IosManagedAppProtection + */ + public function setAppDataEncryptionType($val) + { + $this->_propDict["appDataEncryptionType"] = $val; + return $this; + } + + /** + * Gets the customBrowserProtocol + * A custom browser protocol to open weblink on iOS. + * + * @return string|null The customBrowserProtocol + */ + public function getCustomBrowserProtocol() + { + if (array_key_exists("customBrowserProtocol", $this->_propDict)) { + return $this->_propDict["customBrowserProtocol"]; + } else { + return null; + } + } + + /** + * Sets the customBrowserProtocol + * A custom browser protocol to open weblink on iOS. + * + * @param string $val The customBrowserProtocol + * + * @return IosManagedAppProtection + */ + public function setCustomBrowserProtocol($val) + { + $this->_propDict["customBrowserProtocol"] = $val; + return $this; + } + + /** + * Gets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @return int|null The deployedAppCount + */ + public function getDeployedAppCount() + { + if (array_key_exists("deployedAppCount", $this->_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return IosManagedAppProtection + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. + * + * @return bool|null The faceIdBlocked + */ + public function getFaceIdBlocked() + { + if (array_key_exists("faceIdBlocked", $this->_propDict)) { + return $this->_propDict["faceIdBlocked"]; + } else { + return null; + } + } + + /** + * Sets the faceIdBlocked + * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. + * + * @param bool $val The faceIdBlocked + * + * @return IosManagedAppProtection + */ + public function setFaceIdBlocked($val) + { + $this->_propDict["faceIdBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumRequiredSdkVersion + */ + public function getMinimumRequiredSdkVersion() + { + if (array_key_exists("minimumRequiredSdkVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredSdkVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumRequiredSdkVersion + * + * @return IosManagedAppProtection + */ + public function setMinimumRequiredSdkVersion($val) + { + $this->_propDict["minimumRequiredSdkVersion"] = $val; + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return IosManagedAppProtection + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return IosManagedAppProtection + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppRegistration.php b/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppRegistration.php new file mode 100644 index 0000000..87db8c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppRegistration.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["v100"]; + } else { + return null; + } + } + + /** + * Sets the v10_0 + * Version 10.0 or later. + * + * @param bool $val The value of the v10_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV10_0($val) + { + $this->_propDict["v100"] = $val; + return $this; + } + /** + * Gets the v11_0 + * Version 11.0 or later. + * + * @return bool|null The v11_0 + */ + public function getV11_0() + { + if (array_key_exists("v110", $this->_propDict)) { + return $this->_propDict["v110"]; + } else { + return null; + } + } + + /** + * Sets the v11_0 + * Version 11.0 or later. + * + * @param bool $val The value of the v11_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV11_0($val) + { + $this->_propDict["v110"] = $val; + return $this; + } + /** + * Gets the v12_0 + * Version 12.0 or later. + * + * @return bool|null The v12_0 + */ + public function getV12_0() + { + if (array_key_exists("v120", $this->_propDict)) { + return $this->_propDict["v120"]; + } else { + return null; + } + } + + /** + * Sets the v12_0 + * Version 12.0 or later. + * + * @param bool $val The value of the v12_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV12_0($val) + { + $this->_propDict["v120"] = $val; + return $this; + } + /** + * Gets the v13_0 + * Version 13.0 or later. + * + * @return bool|null The v13_0 + */ + public function getV13_0() + { + if (array_key_exists("v130", $this->_propDict)) { + return $this->_propDict["v130"]; + } else { + return null; + } + } + + /** + * Sets the v13_0 + * Version 13.0 or later. + * + * @param bool $val The value of the v13_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV13_0($val) + { + $this->_propDict["v130"] = $val; + return $this; + } + /** + * Gets the v14_0 + * Version 14.0 or later. + * + * @return bool|null The v14_0 + */ + public function getV14_0() + { + if (array_key_exists("v140", $this->_propDict)) { + return $this->_propDict["v140"]; + } else { + return null; + } + } + + /** + * Sets the v14_0 + * Version 14.0 or later. + * + * @param bool $val The value of the v14_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV14_0($val) + { + $this->_propDict["v140"] = $val; + return $this; + } + /** + * Gets the v8_0 + * Version 8.0 or later. + * + * @return bool|null The v8_0 + */ + public function getV8_0() + { + if (array_key_exists("v80", $this->_propDict)) { + return $this->_propDict["v80"]; + } else { + return null; + } + } + + /** + * Sets the v8_0 + * Version 8.0 or later. + * + * @param bool $val The value of the v8_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV8_0($val) + { + $this->_propDict["v80"] = $val; + return $this; + } + /** + * Gets the v9_0 + * Version 9.0 or later. + * + * @return bool|null The v9_0 + */ + public function getV9_0() + { + if (array_key_exists("v90", $this->_propDict)) { + return $this->_propDict["v90"]; + } else { + return null; + } + } + + /** + * Sets the v9_0 + * Version 9.0 or later. + * + * @param bool $val The value of the v9_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV9_0($val) + { + $this->_propDict["v90"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppConfiguration.php new file mode 100644 index 0000000..dc3ff6e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppConfiguration.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["encodedSettingXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["encodedSettingXml"])) { + return $this->_propDict["encodedSettingXml"]; + } else { + $this->_propDict["encodedSettingXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["encodedSettingXml"]); + return $this->_propDict["encodedSettingXml"]; + } + } + return null; + } + + /** + * Sets the encodedSettingXml + * mdm app configuration Base64 binary. + * + * @param \GuzzleHttp\Psr7\Stream $val The encodedSettingXml + * + * @return IosMobileAppConfiguration + */ + public function setEncodedSettingXml($val) + { + $this->_propDict["encodedSettingXml"] = $val; + return $this; + } + + + /** + * Gets the settings + * app configuration setting items. + * + * @return array|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + return $this->_propDict["settings"]; + } else { + return null; + } + } + + /** + * Sets the settings + * app configuration setting items. + * + * @param AppConfigurationSettingItem[] $val The settings + * + * @return IosMobileAppConfiguration + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppIdentifier.php b/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppIdentifier.php new file mode 100644 index 0000000..6a2a6b6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppIdentifier.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iosMobileAppIdentifier"); + } + + /** + * Gets the bundleId + * The identifier for an app, as specified in the app store. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The identifier for an app, as specified in the app store. + * + * @param string $val The value of the bundleId + * + * @return IosMobileAppIdentifier + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosNetworkUsageRule.php b/vendor/microsoft/microsoft-graph/src/Model/IosNetworkUsageRule.php new file mode 100644 index 0000000..a3a86ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosNetworkUsageRule.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["cellularDataBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cellularDataBlocked + * If set to true, corresponding managed apps will not be allowed to use cellular data at any time. + * + * @param bool $val The value of the cellularDataBlocked + * + * @return IosNetworkUsageRule + */ + public function setCellularDataBlocked($val) + { + $this->_propDict["cellularDataBlocked"] = $val; + return $this; + } + /** + * Gets the cellularDataBlockWhenRoaming + * If set to true, corresponding managed apps will not be allowed to use cellular data when roaming. + * + * @return bool|null The cellularDataBlockWhenRoaming + */ + public function getCellularDataBlockWhenRoaming() + { + if (array_key_exists("cellularDataBlockWhenRoaming", $this->_propDict)) { + return $this->_propDict["cellularDataBlockWhenRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularDataBlockWhenRoaming + * If set to true, corresponding managed apps will not be allowed to use cellular data when roaming. + * + * @param bool $val The value of the cellularDataBlockWhenRoaming + * + * @return IosNetworkUsageRule + */ + public function setCellularDataBlockWhenRoaming($val) + { + $this->_propDict["cellularDataBlockWhenRoaming"] = $val; + return $this; + } + + /** + * Gets the managedApps + * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. + * + * @return AppListItem|null The managedApps + */ + public function getManagedApps() + { + if (array_key_exists("managedApps", $this->_propDict)) { + if (is_a($this->_propDict["managedApps"], "\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["managedApps"])) { + return $this->_propDict["managedApps"]; + } else { + $this->_propDict["managedApps"] = new AppListItem($this->_propDict["managedApps"]); + return $this->_propDict["managedApps"]; + } + } + return null; + } + + /** + * Sets the managedApps + * Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements. + * + * @param AppListItem $val The value to assign to the managedApps + * + * @return IosNetworkUsageRule The IosNetworkUsageRule + */ + public function setManagedApps($val) + { + $this->_propDict["managedApps"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosNotificationAlertType.php b/vendor/microsoft/microsoft-graph/src/Model/IosNotificationAlertType.php new file mode 100644 index 0000000..a041ef1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosNotificationAlertType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["alertType"], "\Microsoft\Graph\Model\IosNotificationAlertType") || is_null($this->_propDict["alertType"])) { + return $this->_propDict["alertType"]; + } else { + $this->_propDict["alertType"] = new IosNotificationAlertType($this->_propDict["alertType"]); + return $this->_propDict["alertType"]; + } + } + return null; + } + + /** + * Sets the alertType + * Indicates the type of alert for notifications for this app. Possible values are: deviceDefault, banner, modal, none. + * + * @param IosNotificationAlertType $val The value to assign to the alertType + * + * @return IosNotificationSettings The IosNotificationSettings + */ + public function setAlertType($val) + { + $this->_propDict["alertType"] = $val; + return $this; + } + /** + * Gets the appName + * Application name to be associated with the bundleID. + * + * @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 + * Application name to be associated with the bundleID. + * + * @param string $val The value of the appName + * + * @return IosNotificationSettings + */ + public function setAppName($val) + { + $this->_propDict["appName"] = $val; + return $this; + } + /** + * Gets the badgesEnabled + * Indicates whether badges are allowed for this app. + * + * @return bool|null The badgesEnabled + */ + public function getBadgesEnabled() + { + if (array_key_exists("badgesEnabled", $this->_propDict)) { + return $this->_propDict["badgesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the badgesEnabled + * Indicates whether badges are allowed for this app. + * + * @param bool $val The value of the badgesEnabled + * + * @return IosNotificationSettings + */ + public function setBadgesEnabled($val) + { + $this->_propDict["badgesEnabled"] = $val; + return $this; + } + /** + * Gets the bundleID + * Bundle id of app to which to apply these notification settings. + * + * @return string|null The bundleID + */ + public function getBundleID() + { + if (array_key_exists("bundleID", $this->_propDict)) { + return $this->_propDict["bundleID"]; + } else { + return null; + } + } + + /** + * Sets the bundleID + * Bundle id of app to which to apply these notification settings. + * + * @param string $val The value of the bundleID + * + * @return IosNotificationSettings + */ + public function setBundleID($val) + { + $this->_propDict["bundleID"] = $val; + return $this; + } + /** + * Gets the enabled + * Indicates whether notifications are allowed for this app. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates whether notifications are allowed for this app. + * + * @param bool $val The value of the enabled + * + * @return IosNotificationSettings + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + /** + * Gets the publisher + * Publisher to be associated with the bundleID. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Publisher to be associated with the bundleID. + * + * @param string $val The value of the publisher + * + * @return IosNotificationSettings + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + /** + * Gets the showInNotificationCenter + * Indicates whether notifications can be shown in notification center. + * + * @return bool|null The showInNotificationCenter + */ + public function getShowInNotificationCenter() + { + if (array_key_exists("showInNotificationCenter", $this->_propDict)) { + return $this->_propDict["showInNotificationCenter"]; + } else { + return null; + } + } + + /** + * Sets the showInNotificationCenter + * Indicates whether notifications can be shown in notification center. + * + * @param bool $val The value of the showInNotificationCenter + * + * @return IosNotificationSettings + */ + public function setShowInNotificationCenter($val) + { + $this->_propDict["showInNotificationCenter"] = $val; + return $this; + } + /** + * Gets the showOnLockScreen + * Indicates whether notifications can be shown on the lock screen. + * + * @return bool|null The showOnLockScreen + */ + public function getShowOnLockScreen() + { + if (array_key_exists("showOnLockScreen", $this->_propDict)) { + return $this->_propDict["showOnLockScreen"]; + } else { + return null; + } + } + + /** + * Sets the showOnLockScreen + * Indicates whether notifications can be shown on the lock screen. + * + * @param bool $val The value of the showOnLockScreen + * + * @return IosNotificationSettings + */ + public function setShowOnLockScreen($val) + { + $this->_propDict["showOnLockScreen"] = $val; + return $this; + } + /** + * Gets the soundsEnabled + * Indicates whether sounds are allowed for this app. + * + * @return bool|null The soundsEnabled + */ + public function getSoundsEnabled() + { + if (array_key_exists("soundsEnabled", $this->_propDict)) { + return $this->_propDict["soundsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the soundsEnabled + * Indicates whether sounds are allowed for this app. + * + * @param bool $val The value of the soundsEnabled + * + * @return IosNotificationSettings + */ + public function setSoundsEnabled($val) + { + $this->_propDict["soundsEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosStoreApp.php b/vendor/microsoft/microsoft-graph/src/Model/IosStoreApp.php new file mode 100644 index 0000000..6740784 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosStoreApp.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return IosStoreApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Apple App Store URL + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Apple App Store URL + * + * @param string $val The appStoreUrl + * + * @return IosStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return IosStoreApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return IosStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosStoreAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/IosStoreAppAssignmentSettings.php new file mode 100644 index 0000000..5a20ac8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosStoreAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.iosStoreAppAssignmentSettings"); + } + + /** + * Gets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @return string|null The vpnConfigurationId + */ + public function getVpnConfigurationId() + { + if (array_key_exists("vpnConfigurationId", $this->_propDict)) { + return $this->_propDict["vpnConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @param string $val The value of the vpnConfigurationId + * + * @return IosStoreAppAssignmentSettings + */ + public function setVpnConfigurationId($val) + { + $this->_propDict["vpnConfigurationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosUpdateConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/IosUpdateConfiguration.php new file mode 100644 index 0000000..7c0447e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosUpdateConfiguration.php @@ -0,0 +1,152 @@ +_propDict)) { + if (is_a($this->_propDict["activeHoursEnd"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursEnd"])) { + return $this->_propDict["activeHoursEnd"]; + } else { + $this->_propDict["activeHoursEnd"] = new TimeOfDay($this->_propDict["activeHoursEnd"]); + return $this->_propDict["activeHoursEnd"]; + } + } + return null; + } + + /** + * Sets the activeHoursEnd + * Active Hours End (active hours mean the time window when updates install should not happen) + * + * @param TimeOfDay $val The activeHoursEnd + * + * @return IosUpdateConfiguration + */ + public function setActiveHoursEnd($val) + { + $this->_propDict["activeHoursEnd"] = $val; + return $this; + } + + /** + * Gets the activeHoursStart + * Active Hours Start (active hours mean the time window when updates install should not happen) + * + * @return TimeOfDay|null The activeHoursStart + */ + public function getActiveHoursStart() + { + if (array_key_exists("activeHoursStart", $this->_propDict)) { + if (is_a($this->_propDict["activeHoursStart"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursStart"])) { + return $this->_propDict["activeHoursStart"]; + } else { + $this->_propDict["activeHoursStart"] = new TimeOfDay($this->_propDict["activeHoursStart"]); + return $this->_propDict["activeHoursStart"]; + } + } + return null; + } + + /** + * Sets the activeHoursStart + * Active Hours Start (active hours mean the time window when updates install should not happen) + * + * @param TimeOfDay $val The activeHoursStart + * + * @return IosUpdateConfiguration + */ + public function setActiveHoursStart($val) + { + $this->_propDict["activeHoursStart"] = $val; + return $this; + } + + + /** + * Gets the scheduledInstallDays + * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. + * + * @return array|null The scheduledInstallDays + */ + public function getScheduledInstallDays() + { + if (array_key_exists("scheduledInstallDays", $this->_propDict)) { + return $this->_propDict["scheduledInstallDays"]; + } else { + return null; + } + } + + /** + * Sets the scheduledInstallDays + * Days in week for which active hours are configured. This collection can contain a maximum of 7 elements. + * + * @param DayOfWeek[] $val The scheduledInstallDays + * + * @return IosUpdateConfiguration + */ + public function setScheduledInstallDays($val) + { + $this->_propDict["scheduledInstallDays"] = $val; + return $this; + } + + /** + * Gets the utcTimeOffsetInMinutes + * UTC Time Offset indicated in minutes + * + * @return int|null The utcTimeOffsetInMinutes + */ + public function getUtcTimeOffsetInMinutes() + { + if (array_key_exists("utcTimeOffsetInMinutes", $this->_propDict)) { + return $this->_propDict["utcTimeOffsetInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the utcTimeOffsetInMinutes + * UTC Time Offset indicated in minutes + * + * @param int $val The utcTimeOffsetInMinutes + * + * @return IosUpdateConfiguration + */ + public function setUtcTimeOffsetInMinutes($val) + { + $this->_propDict["utcTimeOffsetInMinutes"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosUpdateDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Model/IosUpdateDeviceStatus.php new file mode 100644 index 0000000..561c2e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosUpdateDeviceStatus.php @@ -0,0 +1,362 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return IosUpdateDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return IosUpdateDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceId + * The device id that is being reported. + * + * @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 device id that is being reported. + * + * @param string $val The deviceId + * + * @return IosUpdateDeviceStatus + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return IosUpdateDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the installStatus + * The installation status of the policy report. Possible values are: success, available, idle, unknown, mdmClientCrashed, timeout, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError, updateError, deviceOsHigherThanDesiredOsVersion, updateScanFailed. + * + * @return IosUpdatesInstallStatus|null The installStatus + */ + public function getInstallStatus() + { + if (array_key_exists("installStatus", $this->_propDict)) { + if (is_a($this->_propDict["installStatus"], "\Microsoft\Graph\Model\IosUpdatesInstallStatus") || is_null($this->_propDict["installStatus"])) { + return $this->_propDict["installStatus"]; + } else { + $this->_propDict["installStatus"] = new IosUpdatesInstallStatus($this->_propDict["installStatus"]); + return $this->_propDict["installStatus"]; + } + } + return null; + } + + /** + * Sets the installStatus + * The installation status of the policy report. Possible values are: success, available, idle, unknown, mdmClientCrashed, timeout, downloading, downloadFailed, downloadRequiresComputer, downloadInsufficientSpace, downloadInsufficientPower, downloadInsufficientNetwork, installing, installInsufficientSpace, installInsufficientPower, installPhoneCallInProgress, installFailed, notSupportedOperation, sharedDeviceUserLoggedInError, updateError, deviceOsHigherThanDesiredOsVersion, updateScanFailed. + * + * @param IosUpdatesInstallStatus $val The installStatus + * + * @return IosUpdateDeviceStatus + */ + public function setInstallStatus($val) + { + $this->_propDict["installStatus"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return IosUpdateDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the osVersion + * The device version that is being reported. + * + * @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 + * The device version that is being reported. + * + * @param string $val The osVersion + * + * @return IosUpdateDeviceStatus + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return IosUpdateDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userId + * The User id that is being reported. + * + * @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 + * The User id that is being reported. + * + * @param string $val The userId + * + * @return IosUpdateDeviceStatus + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return IosUpdateDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return IosUpdateDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosUpdatesInstallStatus.php b/vendor/microsoft/microsoft-graph/src/Model/IosUpdatesInstallStatus.php new file mode 100644 index 0000000..bf30791 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosUpdatesInstallStatus.php @@ -0,0 +1,50 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The applicable iOS Device Type. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return IosVppApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The store URL. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The store URL. + * + * @param string $val The appStoreUrl + * + * @return IosVppApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return IosVppApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the licensingType + * The supported License Type. + * + * @return VppLicensingType|null The licensingType + */ + public function getLicensingType() + { + if (array_key_exists("licensingType", $this->_propDict)) { + if (is_a($this->_propDict["licensingType"], "\Microsoft\Graph\Model\VppLicensingType") || is_null($this->_propDict["licensingType"])) { + return $this->_propDict["licensingType"]; + } else { + $this->_propDict["licensingType"] = new VppLicensingType($this->_propDict["licensingType"]); + return $this->_propDict["licensingType"]; + } + } + return null; + } + + /** + * Sets the licensingType + * The supported License Type. + * + * @param VppLicensingType $val The licensingType + * + * @return IosVppApp + */ + public function setLicensingType($val) + { + $this->_propDict["licensingType"] = $val; + return $this; + } + + /** + * Gets the releaseDateTime + * The VPP application release date and time. + * + * @return \DateTime|null The releaseDateTime + */ + public function getReleaseDateTime() + { + if (array_key_exists("releaseDateTime", $this->_propDict)) { + if (is_a($this->_propDict["releaseDateTime"], "\DateTime") || is_null($this->_propDict["releaseDateTime"])) { + return $this->_propDict["releaseDateTime"]; + } else { + $this->_propDict["releaseDateTime"] = new \DateTime($this->_propDict["releaseDateTime"]); + return $this->_propDict["releaseDateTime"]; + } + } + return null; + } + + /** + * Sets the releaseDateTime + * The VPP application release date and time. + * + * @param \DateTime $val The releaseDateTime + * + * @return IosVppApp + */ + public function setReleaseDateTime($val) + { + $this->_propDict["releaseDateTime"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of VPP licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of VPP licenses. + * + * @param int $val The totalLicenseCount + * + * @return IosVppApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of VPP licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of VPP licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return IosVppApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @return VppTokenAccountType|null The vppTokenAccountType + */ + public function getVppTokenAccountType() + { + if (array_key_exists("vppTokenAccountType", $this->_propDict)) { + if (is_a($this->_propDict["vppTokenAccountType"], "\Microsoft\Graph\Model\VppTokenAccountType") || is_null($this->_propDict["vppTokenAccountType"])) { + return $this->_propDict["vppTokenAccountType"]; + } else { + $this->_propDict["vppTokenAccountType"] = new VppTokenAccountType($this->_propDict["vppTokenAccountType"]); + return $this->_propDict["vppTokenAccountType"]; + } + } + return null; + } + + /** + * Sets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @param VppTokenAccountType $val The vppTokenAccountType + * + * @return IosVppApp + */ + public function setVppTokenAccountType($val) + { + $this->_propDict["vppTokenAccountType"] = $val; + return $this; + } + + /** + * Gets the vppTokenAppleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @return string|null The vppTokenAppleId + */ + public function getVppTokenAppleId() + { + if (array_key_exists("vppTokenAppleId", $this->_propDict)) { + return $this->_propDict["vppTokenAppleId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenAppleId + * The Apple Id associated with the given Apple Volume Purchase Program Token. + * + * @param string $val The vppTokenAppleId + * + * @return IosVppApp + */ + public function setVppTokenAppleId($val) + { + $this->_propDict["vppTokenAppleId"] = $val; + return $this; + } + + /** + * Gets the vppTokenOrganizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @return string|null The vppTokenOrganizationName + */ + public function getVppTokenOrganizationName() + { + if (array_key_exists("vppTokenOrganizationName", $this->_propDict)) { + return $this->_propDict["vppTokenOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenOrganizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @param string $val The vppTokenOrganizationName + * + * @return IosVppApp + */ + public function setVppTokenOrganizationName($val) + { + $this->_propDict["vppTokenOrganizationName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosVppAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/IosVppAppAssignmentSettings.php new file mode 100644 index 0000000..645d6bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosVppAppAssignmentSettings.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.iosVppAppAssignmentSettings"); + } + + /** + * Gets the useDeviceLicensing + * Whether or not to use device licensing. + * + * @return bool|null The useDeviceLicensing + */ + public function getUseDeviceLicensing() + { + if (array_key_exists("useDeviceLicensing", $this->_propDict)) { + return $this->_propDict["useDeviceLicensing"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceLicensing + * Whether or not to use device licensing. + * + * @param bool $val The value of the useDeviceLicensing + * + * @return IosVppAppAssignmentSettings + */ + public function setUseDeviceLicensing($val) + { + $this->_propDict["useDeviceLicensing"] = $val; + return $this; + } + /** + * Gets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @return string|null The vpnConfigurationId + */ + public function getVpnConfigurationId() + { + if (array_key_exists("vpnConfigurationId", $this->_propDict)) { + return $this->_propDict["vpnConfigurationId"]; + } else { + return null; + } + } + + /** + * Sets the vpnConfigurationId + * The VPN Configuration Id to apply for this app. + * + * @param string $val The value of the vpnConfigurationId + * + * @return IosVppAppAssignmentSettings + */ + public function setVpnConfigurationId($val) + { + $this->_propDict["vpnConfigurationId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosVppEBook.php b/vendor/microsoft/microsoft-graph/src/Model/IosVppEBook.php new file mode 100644 index 0000000..d81029a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosVppEBook.php @@ -0,0 +1,259 @@ +_propDict)) { + return $this->_propDict["appleId"]; + } else { + return null; + } + } + + /** + * Sets the appleId + * The Apple ID associated with Vpp token. + * + * @param string $val The appleId + * + * @return IosVppEBook + */ + public function setAppleId($val) + { + $this->_propDict["appleId"] = $val; + return $this; + } + + /** + * Gets the genres + * Genres. + * + * @return string|null The genres + */ + public function getGenres() + { + if (array_key_exists("genres", $this->_propDict)) { + return $this->_propDict["genres"]; + } else { + return null; + } + } + + /** + * Sets the genres + * Genres. + * + * @param string $val The genres + * + * @return IosVppEBook + */ + public function setGenres($val) + { + $this->_propDict["genres"] = $val; + return $this; + } + + /** + * Gets the language + * Language. + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * Language. + * + * @param string $val The language + * + * @return IosVppEBook + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + + /** + * Gets the seller + * Seller. + * + * @return string|null The seller + */ + public function getSeller() + { + if (array_key_exists("seller", $this->_propDict)) { + return $this->_propDict["seller"]; + } else { + return null; + } + } + + /** + * Sets the seller + * Seller. + * + * @param string $val The seller + * + * @return IosVppEBook + */ + public function setSeller($val) + { + $this->_propDict["seller"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * Total license count. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * Total license count. + * + * @param int $val The totalLicenseCount + * + * @return IosVppEBook + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * Used license count. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * Used license count. + * + * @param int $val The usedLicenseCount + * + * @return IosVppEBook + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the vppOrganizationName + * The Vpp token's organization name. + * + * @return string|null The vppOrganizationName + */ + public function getVppOrganizationName() + { + if (array_key_exists("vppOrganizationName", $this->_propDict)) { + return $this->_propDict["vppOrganizationName"]; + } else { + return null; + } + } + + /** + * Sets the vppOrganizationName + * The Vpp token's organization name. + * + * @param string $val The vppOrganizationName + * + * @return IosVppEBook + */ + public function setVppOrganizationName($val) + { + $this->_propDict["vppOrganizationName"] = $val; + return $this; + } + + /** + * Gets the vppTokenId + * The Vpp token ID. + * + * @return string|null The vppTokenId + */ + public function getVppTokenId() + { + if (array_key_exists("vppTokenId", $this->_propDict)) { + return $this->_propDict["vppTokenId"]; + } else { + return null; + } + } + + /** + * Sets the vppTokenId + * The Vpp token ID. + * + * @param string $val The vppTokenId + * + * @return IosVppEBook + */ + public function setVppTokenId($val) + { + $this->_propDict["vppTokenId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IosVppEBookAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/IosVppEBookAssignment.php new file mode 100644 index 0000000..963b1c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IosVppEBookAssignment.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["ipRanges"]; + } else { + return null; + } + } + + /** + * Sets the ipRanges + * List of IP address ranges in IPv4 CIDR format (e.g. 1.2.3.4/32) or any allowable IPv6 format from IETF RFC596. Required. + * + * @param IpRange[] $val The ipRanges + * + * @return IpNamedLocation + */ + public function setIpRanges($val) + { + $this->_propDict["ipRanges"] = $val; + return $this; + } + + /** + * Gets the isTrusted + * true if this location is explicitly trusted. Optional. Default value is false. + * + * @return bool|null The isTrusted + */ + public function getIsTrusted() + { + if (array_key_exists("isTrusted", $this->_propDict)) { + return $this->_propDict["isTrusted"]; + } else { + return null; + } + } + + /** + * Sets the isTrusted + * true if this location is explicitly trusted. Optional. Default value is false. + * + * @param bool $val The isTrusted + * + * @return IpNamedLocation + */ + public function setIsTrusted($val) + { + $this->_propDict["isTrusted"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IpRange.php b/vendor/microsoft/microsoft-graph/src/Model/IpRange.php new file mode 100644 index 0000000..93bb9d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/IpRange.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["actionCount"]; + } else { + return null; + } + } + + /** + * Sets the actionCount + * The number of times the action took place. Read-only. + * + * @param int $val The value of the actionCount + * + * @return ItemActionStat + */ + public function setActionCount($val) + { + $this->_propDict["actionCount"] = $val; + return $this; + } + /** + * Gets the actorCount + * The number of distinct actors that performed the action. Read-only. + * + * @return int|null The actorCount + */ + public function getActorCount() + { + if (array_key_exists("actorCount", $this->_propDict)) { + return $this->_propDict["actorCount"]; + } else { + return null; + } + } + + /** + * Sets the actorCount + * The number of distinct actors that performed the action. Read-only. + * + * @param int $val The value of the actorCount + * + * @return ItemActionStat + */ + public function setActorCount($val) + { + $this->_propDict["actorCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemActivity.php b/vendor/microsoft/microsoft-graph/src/Model/ItemActivity.php new file mode 100644 index 0000000..ff66288 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemActivity.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["access"], "\Microsoft\Graph\Model\AccessAction") || is_null($this->_propDict["access"])) { + return $this->_propDict["access"]; + } else { + $this->_propDict["access"] = new AccessAction($this->_propDict["access"]); + return $this->_propDict["access"]; + } + } + return null; + } + + /** + * Sets the access + * An item was accessed. + * + * @param AccessAction $val The access + * + * @return ItemActivity + */ + public function setAccess($val) + { + $this->_propDict["access"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * Details about when the activity took place. Read-only. + * + * @return \DateTime|null The activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Details about when the activity took place. Read-only. + * + * @param \DateTime $val The activityDateTime + * + * @return ItemActivity + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the actor + * Identity of who performed the action. Read-only. + * + * @return IdentitySet|null The actor + */ + public function getActor() + { + if (array_key_exists("actor", $this->_propDict)) { + if (is_a($this->_propDict["actor"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["actor"])) { + return $this->_propDict["actor"]; + } else { + $this->_propDict["actor"] = new IdentitySet($this->_propDict["actor"]); + return $this->_propDict["actor"]; + } + } + return null; + } + + /** + * Sets the actor + * Identity of who performed the action. Read-only. + * + * @param IdentitySet $val The actor + * + * @return ItemActivity + */ + public function setActor($val) + { + $this->_propDict["actor"] = $val; + return $this; + } + + /** + * Gets the driveItem + * Exposes the driveItem that was the target of this activity. + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * Exposes the driveItem that was the target of this activity. + * + * @param DriveItem $val The driveItem + * + * @return ItemActivity + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemActivityStat.php b/vendor/microsoft/microsoft-graph/src/Model/ItemActivityStat.php new file mode 100644 index 0000000..177b73c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemActivityStat.php @@ -0,0 +1,350 @@ +_propDict)) { + if (is_a($this->_propDict["access"], "\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["access"])) { + return $this->_propDict["access"]; + } else { + $this->_propDict["access"] = new ItemActionStat($this->_propDict["access"]); + return $this->_propDict["access"]; + } + } + return null; + } + + /** + * Sets the access + * Statistics about the access actions in this interval. Read-only. + * + * @param ItemActionStat $val The access + * + * @return ItemActivityStat + */ + public function setAccess($val) + { + $this->_propDict["access"] = $val; + return $this; + } + + /** + * Gets the create + * Statistics about the create actions in this interval. Read-only. + * + * @return ItemActionStat|null The create + */ + public function getCreate() + { + if (array_key_exists("create", $this->_propDict)) { + if (is_a($this->_propDict["create"], "\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["create"])) { + return $this->_propDict["create"]; + } else { + $this->_propDict["create"] = new ItemActionStat($this->_propDict["create"]); + return $this->_propDict["create"]; + } + } + return null; + } + + /** + * Sets the create + * Statistics about the create actions in this interval. Read-only. + * + * @param ItemActionStat $val The create + * + * @return ItemActivityStat + */ + public function setCreate($val) + { + $this->_propDict["create"] = $val; + return $this; + } + + /** + * Gets the delete + * Statistics about the delete actions in this interval. Read-only. + * + * @return ItemActionStat|null The delete + */ + public function getDelete() + { + if (array_key_exists("delete", $this->_propDict)) { + if (is_a($this->_propDict["delete"], "\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["delete"])) { + return $this->_propDict["delete"]; + } else { + $this->_propDict["delete"] = new ItemActionStat($this->_propDict["delete"]); + return $this->_propDict["delete"]; + } + } + return null; + } + + /** + * Sets the delete + * Statistics about the delete actions in this interval. Read-only. + * + * @param ItemActionStat $val The delete + * + * @return ItemActivityStat + */ + public function setDelete($val) + { + $this->_propDict["delete"] = $val; + return $this; + } + + /** + * Gets the edit + * Statistics about the edit actions in this interval. Read-only. + * + * @return ItemActionStat|null The edit + */ + public function getEdit() + { + if (array_key_exists("edit", $this->_propDict)) { + if (is_a($this->_propDict["edit"], "\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["edit"])) { + return $this->_propDict["edit"]; + } else { + $this->_propDict["edit"] = new ItemActionStat($this->_propDict["edit"]); + return $this->_propDict["edit"]; + } + } + return null; + } + + /** + * Sets the edit + * Statistics about the edit actions in this interval. Read-only. + * + * @param ItemActionStat $val The edit + * + * @return ItemActivityStat + */ + public function setEdit($val) + { + $this->_propDict["edit"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * When the interval ends. Read-only. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * When the interval ends. Read-only. + * + * @param \DateTime $val The endDateTime + * + * @return ItemActivityStat + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the incompleteData + * Indicates that the statistics in this interval are based on incomplete data. Read-only. + * + * @return IncompleteData|null The incompleteData + */ + public function getIncompleteData() + { + if (array_key_exists("incompleteData", $this->_propDict)) { + if (is_a($this->_propDict["incompleteData"], "\Microsoft\Graph\Model\IncompleteData") || is_null($this->_propDict["incompleteData"])) { + return $this->_propDict["incompleteData"]; + } else { + $this->_propDict["incompleteData"] = new IncompleteData($this->_propDict["incompleteData"]); + return $this->_propDict["incompleteData"]; + } + } + return null; + } + + /** + * Sets the incompleteData + * Indicates that the statistics in this interval are based on incomplete data. Read-only. + * + * @param IncompleteData $val The incompleteData + * + * @return ItemActivityStat + */ + public function setIncompleteData($val) + { + $this->_propDict["incompleteData"] = $val; + return $this; + } + + /** + * Gets the isTrending + * Indicates whether the item is 'trending.' Read-only. + * + * @return bool|null The isTrending + */ + public function getIsTrending() + { + if (array_key_exists("isTrending", $this->_propDict)) { + return $this->_propDict["isTrending"]; + } else { + return null; + } + } + + /** + * Sets the isTrending + * Indicates whether the item is 'trending.' Read-only. + * + * @param bool $val The isTrending + * + * @return ItemActivityStat + */ + public function setIsTrending($val) + { + $this->_propDict["isTrending"] = boolval($val); + return $this; + } + + /** + * Gets the move + * Statistics about the move actions in this interval. Read-only. + * + * @return ItemActionStat|null The move + */ + public function getMove() + { + if (array_key_exists("move", $this->_propDict)) { + if (is_a($this->_propDict["move"], "\Microsoft\Graph\Model\ItemActionStat") || is_null($this->_propDict["move"])) { + return $this->_propDict["move"]; + } else { + $this->_propDict["move"] = new ItemActionStat($this->_propDict["move"]); + return $this->_propDict["move"]; + } + } + return null; + } + + /** + * Sets the move + * Statistics about the move actions in this interval. Read-only. + * + * @param ItemActionStat $val The move + * + * @return ItemActivityStat + */ + public function setMove($val) + { + $this->_propDict["move"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * When the interval starts. Read-only. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * When the interval starts. Read-only. + * + * @param \DateTime $val The startDateTime + * + * @return ItemActivityStat + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + + /** + * Gets the activities + * Exposes the itemActivities represented in this itemActivityStat resource. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * Exposes the itemActivities represented in this itemActivityStat resource. + * + * @param ItemActivity[] $val The activities + * + * @return ItemActivityStat + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemAnalytics.php b/vendor/microsoft/microsoft-graph/src/Model/ItemAnalytics.php new file mode 100644 index 0000000..924b1ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemAnalytics.php @@ -0,0 +1,117 @@ +_propDict)) { + if (is_a($this->_propDict["allTime"], "\Microsoft\Graph\Model\ItemActivityStat") || is_null($this->_propDict["allTime"])) { + return $this->_propDict["allTime"]; + } else { + $this->_propDict["allTime"] = new ItemActivityStat($this->_propDict["allTime"]); + return $this->_propDict["allTime"]; + } + } + return null; + } + + /** + * Sets the allTime + * + * @param ItemActivityStat $val The allTime + * + * @return ItemAnalytics + */ + public function setAllTime($val) + { + $this->_propDict["allTime"] = $val; + return $this; + } + + + /** + * Gets the itemActivityStats + * + * @return array|null The itemActivityStats + */ + public function getItemActivityStats() + { + if (array_key_exists("itemActivityStats", $this->_propDict)) { + return $this->_propDict["itemActivityStats"]; + } else { + return null; + } + } + + /** + * Sets the itemActivityStats + * + * @param ItemActivityStat[] $val The itemActivityStats + * + * @return ItemAnalytics + */ + public function setItemActivityStats($val) + { + $this->_propDict["itemActivityStats"] = $val; + return $this; + } + + /** + * Gets the lastSevenDays + * + * @return ItemActivityStat|null The lastSevenDays + */ + public function getLastSevenDays() + { + if (array_key_exists("lastSevenDays", $this->_propDict)) { + if (is_a($this->_propDict["lastSevenDays"], "\Microsoft\Graph\Model\ItemActivityStat") || is_null($this->_propDict["lastSevenDays"])) { + return $this->_propDict["lastSevenDays"]; + } else { + $this->_propDict["lastSevenDays"] = new ItemActivityStat($this->_propDict["lastSevenDays"]); + return $this->_propDict["lastSevenDays"]; + } + } + return null; + } + + /** + * Sets the lastSevenDays + * + * @param ItemActivityStat $val The lastSevenDays + * + * @return ItemAnalytics + */ + public function setLastSevenDays($val) + { + $this->_propDict["lastSevenDays"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php b/vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php new file mode 100644 index 0000000..c30c8a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["item"], "\Microsoft\Graph\Model\OutlookItem") || is_null($this->_propDict["item"])) { + return $this->_propDict["item"]; + } else { + $this->_propDict["item"] = new OutlookItem($this->_propDict["item"]); + return $this->_propDict["item"]; + } + } + return null; + } + + /** + * Sets the item + * The attached contact, message or event. Navigation property. + * + * @param OutlookItem $val The item + * + * @return ItemAttachment + */ + public function setItem($val) + { + $this->_propDict["item"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemBody.php b/vendor/microsoft/microsoft-graph/src/Model/ItemBody.php new file mode 100644 index 0000000..727450a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemBody.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of the item. + * + * @param string $val The value of the content + * + * @return ItemBody + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * The type of the content. Possible values are text and html. + * + * @return BodyType|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\BodyType") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new BodyType($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The type of the content. Possible values are text and html. + * + * @param BodyType $val The value to assign to the contentType + * + * @return ItemBody The ItemBody + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemPreviewInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ItemPreviewInfo.php new file mode 100644 index 0000000..fd9ec30 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemPreviewInfo.php @@ -0,0 +1,104 @@ +_propDict)) { + return $this->_propDict["getUrl"]; + } else { + return null; + } + } + + /** + * Sets the getUrl + * + * @param string $val The value of the getUrl + * + * @return ItemPreviewInfo + */ + public function setGetUrl($val) + { + $this->_propDict["getUrl"] = $val; + return $this; + } + /** + * Gets the postParameters + * + * @return string|null The postParameters + */ + public function getPostParameters() + { + if (array_key_exists("postParameters", $this->_propDict)) { + return $this->_propDict["postParameters"]; + } else { + return null; + } + } + + /** + * Sets the postParameters + * + * @param string $val The value of the postParameters + * + * @return ItemPreviewInfo + */ + public function setPostParameters($val) + { + $this->_propDict["postParameters"] = $val; + return $this; + } + /** + * Gets the postUrl + * + * @return string|null The postUrl + */ + public function getPostUrl() + { + if (array_key_exists("postUrl", $this->_propDict)) { + return $this->_propDict["postUrl"]; + } else { + return null; + } + } + + /** + * Sets the postUrl + * + * @param string $val The value of the postUrl + * + * @return ItemPreviewInfo + */ + public function setPostUrl($val) + { + $this->_propDict["postUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ItemReference.php b/vendor/microsoft/microsoft-graph/src/Model/ItemReference.php new file mode 100644 index 0000000..5a5797f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ItemReference.php @@ -0,0 +1,255 @@ +_propDict)) { + return $this->_propDict["driveId"]; + } else { + return null; + } + } + + /** + * Sets the driveId + * Unique identifier of the drive instance that contains the item. Read-only. + * + * @param string $val The value of the driveId + * + * @return ItemReference + */ + public function setDriveId($val) + { + $this->_propDict["driveId"] = $val; + return $this; + } + /** + * Gets the driveType + * Identifies the type of drive. See [drive][] resource for values. + * + * @return string|null The driveType + */ + public function getDriveType() + { + if (array_key_exists("driveType", $this->_propDict)) { + return $this->_propDict["driveType"]; + } else { + return null; + } + } + + /** + * Sets the driveType + * Identifies the type of drive. See [drive][] resource for values. + * + * @param string $val The value of the driveType + * + * @return ItemReference + */ + public function setDriveType($val) + { + $this->_propDict["driveType"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier of the item in the drive. Read-only. + * + * @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 + * Unique identifier of the item in the drive. Read-only. + * + * @param string $val The value of the id + * + * @return ItemReference + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the name + * The name of the item being referenced. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the item being referenced. Read-only. + * + * @param string $val The value of the name + * + * @return ItemReference + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the path + * Path that can be used to navigate to the item. Read-only. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Path that can be used to navigate to the item. Read-only. + * + * @param string $val The value of the path + * + * @return ItemReference + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } + /** + * Gets the shareId + * A unique identifier for a shared resource that can be accessed via the [Shares][] API. + * + * @return string|null The shareId + */ + public function getShareId() + { + if (array_key_exists("shareId", $this->_propDict)) { + return $this->_propDict["shareId"]; + } else { + return null; + } + } + + /** + * Sets the shareId + * A unique identifier for a shared resource that can be accessed via the [Shares][] API. + * + * @param string $val The value of the shareId + * + * @return ItemReference + */ + public function setShareId($val) + { + $this->_propDict["shareId"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The value to assign to the sharepointIds + * + * @return ItemReference The ItemReference + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + /** + * Gets the siteId + * For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. + * + * @return string|null The siteId + */ + public function getSiteId() + { + if (array_key_exists("siteId", $this->_propDict)) { + return $this->_propDict["siteId"]; + } else { + return null; + } + } + + /** + * Sets the siteId + * For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. + * + * @param string $val The value of the siteId + * + * @return ItemReference + */ + public function setSiteId($val) + { + $this->_propDict["siteId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/KeyCredential.php b/vendor/microsoft/microsoft-graph/src/Model/KeyCredential.php new file mode 100644 index 0000000..e3466e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/KeyCredential.php @@ -0,0 +1,270 @@ +_propDict)) { + if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customKeyIdentifier"])) { + return $this->_propDict["customKeyIdentifier"]; + } else { + $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customKeyIdentifier"]); + return $this->_propDict["customKeyIdentifier"]; + } + } + return null; + } + + /** + * Sets the customKeyIdentifier + * Custom key identifier + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier + * + * @return KeyCredential The KeyCredential + */ + public function setCustomKeyIdentifier($val) + { + $this->_propDict["customKeyIdentifier"] = $val; + return $this; + } + /** + * Gets the displayName + * Friendly name for the key. Optional. + * + * @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 + * Friendly name for the key. Optional. + * + * @param string $val The value of the displayName + * + * @return KeyCredential + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time at which the credential expires. The DateTimeOffset 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time at which the credential expires. The DateTimeOffset 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 endDateTime + * + * @return KeyCredential The KeyCredential + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the key + * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * + * @return \GuzzleHttp\Psr7\Stream|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * Value for the key credential. Should be a Base64 encoded value. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key + * + * @return KeyCredential The KeyCredential + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the keyId + * The unique identifier for the key. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The unique identifier for the key. + * + * @param string $val The value of the keyId + * + * @return KeyCredential + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time at which the credential becomes valid.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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time at which the credential becomes valid.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 startDateTime + * + * @return KeyCredential The KeyCredential + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the type + * The type of key credential; for example, Symmetric, AsymmetricX509Cert. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of key credential; for example, Symmetric, AsymmetricX509Cert. + * + * @param string $val The value of the type + * + * @return KeyCredential + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the usage + * A string that describes the purpose for which the key can be used; for example, Verify. + * + * @return string|null The usage + */ + public function getUsage() + { + if (array_key_exists("usage", $this->_propDict)) { + return $this->_propDict["usage"]; + } else { + return null; + } + } + + /** + * Sets the usage + * A string that describes the purpose for which the key can be used; for example, Verify. + * + * @param string $val The value of the usage + * + * @return KeyCredential + */ + public function setUsage($val) + { + $this->_propDict["usage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/KeyValue.php b/vendor/microsoft/microsoft-graph/src/Model/KeyValue.php new file mode 100644 index 0000000..4e9aecc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/KeyValue.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. + * + * @param string $val The value of the key + * + * @return KeyValue + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the value + * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. + * + * @param string $val The value of the value + * + * @return KeyValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/KeyValuePair.php b/vendor/microsoft/microsoft-graph/src/Model/KeyValuePair.php new file mode 100644 index 0000000..b05dfe7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/KeyValuePair.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name for this key-value pair + * + * @param string $val The value of the name + * + * @return KeyValuePair + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * Value for this key-value pair + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value for this key-value pair + * + * @param string $val The value of the value + * + * @return KeyValuePair + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LicenseAssignmentState.php b/vendor/microsoft/microsoft-graph/src/Model/LicenseAssignmentState.php new file mode 100644 index 0000000..7cae621 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LicenseAssignmentState.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["assignedByGroup"]; + } else { + return null; + } + } + + /** + * Sets the assignedByGroup + * The id of the group that assigns this license. If the assignment is a direct-assigned license, this field will be Null. Read-Only. + * + * @param string $val The value of the assignedByGroup + * + * @return LicenseAssignmentState + */ + public function setAssignedByGroup($val) + { + $this->_propDict["assignedByGroup"] = $val; + return $this; + } + /** + * Gets the disabledPlans + * The service plans that are disabled in this assignment. Read-Only. + * + * @return string|null The disabledPlans + */ + public function getDisabledPlans() + { + if (array_key_exists("disabledPlans", $this->_propDict)) { + return $this->_propDict["disabledPlans"]; + } else { + return null; + } + } + + /** + * Sets the disabledPlans + * The service plans that are disabled in this assignment. Read-Only. + * + * @param string $val The value of the disabledPlans + * + * @return LicenseAssignmentState + */ + public function setDisabledPlans($val) + { + $this->_propDict["disabledPlans"] = $val; + return $this; + } + /** + * Gets the error + * License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors see here. + * + * @return string|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors see here. + * + * @param string $val The value of the error + * + * @return LicenseAssignmentState + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * The timestamp when the state of the license assignment was last updated. + * + * @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 + * The timestamp when the state of the license assignment was last updated. + * + * @param \DateTime $val The value to assign to the lastUpdatedDateTime + * + * @return LicenseAssignmentState The LicenseAssignmentState + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + /** + * Gets the skuId + * The unique identifier for the SKU. Read-Only. + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * The unique identifier for the SKU. Read-Only. + * + * @param string $val The value of the skuId + * + * @return LicenseAssignmentState + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } + /** + * Gets the state + * Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. + * + * @param string $val The value of the state + * + * @return LicenseAssignmentState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LicenseDetails.php b/vendor/microsoft/microsoft-graph/src/Model/LicenseDetails.php new file mode 100644 index 0000000..0e7252c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LicenseDetails.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["servicePlans"]; + } else { + return null; + } + } + + /** + * Sets the servicePlans + * Information about the service plans assigned with the license. Read-only, Not nullable + * + * @param ServicePlanInfo[] $val The servicePlans + * + * @return LicenseDetails + */ + public function setServicePlans($val) + { + $this->_propDict["servicePlans"] = $val; + return $this; + } + + /** + * Gets the skuId + * Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only + * + * @param string $val The skuId + * + * @return LicenseDetails + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } + + /** + * Gets the skuPartNumber + * Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only + * + * @return string|null The skuPartNumber + */ + public function getSkuPartNumber() + { + if (array_key_exists("skuPartNumber", $this->_propDict)) { + return $this->_propDict["skuPartNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuPartNumber + * Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only + * + * @param string $val The skuPartNumber + * + * @return LicenseDetails + */ + public function setSkuPartNumber($val) + { + $this->_propDict["skuPartNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LicenseProcessingState.php b/vendor/microsoft/microsoft-graph/src/Model/LicenseProcessingState.php new file mode 100644 index 0000000..fed93ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LicenseProcessingState.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * + * @param string $val The value of the state + * + * @return LicenseProcessingState + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LicenseUnitsDetail.php b/vendor/microsoft/microsoft-graph/src/Model/LicenseUnitsDetail.php new file mode 100644 index 0000000..89598fb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LicenseUnitsDetail.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * The number of units that are enabled for the active subscription of the service SKU. + * + * @param int $val The value of the enabled + * + * @return LicenseUnitsDetail + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = $val; + return $this; + } + /** + * Gets the suspended + * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. + * + * @return int|null The suspended + */ + public function getSuspended() + { + if (array_key_exists("suspended", $this->_propDict)) { + return $this->_propDict["suspended"]; + } else { + return null; + } + } + + /** + * Sets the suspended + * The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. + * + * @param int $val The value of the suspended + * + * @return LicenseUnitsDetail + */ + public function setSuspended($val) + { + $this->_propDict["suspended"] = $val; + return $this; + } + /** + * Gets the warning + * The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). + * + * @return int|null The warning + */ + public function getWarning() + { + if (array_key_exists("warning", $this->_propDict)) { + return $this->_propDict["warning"]; + } else { + return null; + } + } + + /** + * Sets the warning + * The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). + * + * @param int $val The value of the warning + * + * @return LicenseUnitsDetail + */ + public function setWarning($val) + { + $this->_propDict["warning"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LifecycleEventType.php b/vendor/microsoft/microsoft-graph/src/Model/LifecycleEventType.php new file mode 100644 index 0000000..92e36db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LifecycleEventType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Field indicating the app name of the source that is sending the linkedResource. + * + * @param string $val The applicationName + * + * @return LinkedResource + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + + /** + * Gets the displayName + * Field indicating the title of the linkedResource. + * + * @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 + * Field indicating the title of the linkedResource. + * + * @param string $val The displayName + * + * @return LinkedResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * Id of the object that is associated with this task on the third-party/partner system. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * Id of the object that is associated with this task on the third-party/partner system. + * + * @param string $val The externalId + * + * @return LinkedResource + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Deep link to the linkedResource. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Deep link to the linkedResource. + * + * @param string $val The webUrl + * + * @return LinkedResource + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ListInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ListInfo.php new file mode 100644 index 0000000..382ff05 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ListInfo.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["contentTypesEnabled"]; + } else { + return null; + } + } + + /** + * Sets the contentTypesEnabled + * If true, indicates that content types are enabled for this list. + * + * @param bool $val The value of the contentTypesEnabled + * + * @return ListInfo + */ + public function setContentTypesEnabled($val) + { + $this->_propDict["contentTypesEnabled"] = $val; + return $this; + } + /** + * Gets the hidden + * If true, indicates that the list is not normally visible in the SharePoint user experience. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * If true, indicates that the list is not normally visible in the SharePoint user experience. + * + * @param bool $val The value of the hidden + * + * @return ListInfo + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = $val; + return $this; + } + /** + * Gets the template + * An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more. + * + * @return string|null The template + */ + public function getTemplate() + { + if (array_key_exists("template", $this->_propDict)) { + return $this->_propDict["template"]; + } else { + return null; + } + } + + /** + * Sets the template + * An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more. + * + * @param string $val The value of the template + * + * @return ListInfo + */ + public function setTemplate($val) + { + $this->_propDict["template"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ListItem.php b/vendor/microsoft/microsoft-graph/src/Model/ListItem.php new file mode 100644 index 0000000..a947d6d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ListItem.php @@ -0,0 +1,222 @@ +_propDict)) { + if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The content type of this list item + * + * @param ContentTypeInfo $val The contentType + * + * @return ListItem + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return ListItem + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the analytics + * Analytics about the view activities that took place on this item. + * + * @return ItemAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * Analytics about the view activities that took place on this item. + * + * @param ItemAnalytics $val The analytics + * + * @return ListItem + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + /** + * Gets the driveItem + * For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] + * + * @param DriveItem $val The driveItem + * + * @return ListItem + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + + /** + * Gets the fields + * The values of the columns set on this list item. + * + * @return FieldValueSet|null The fields + */ + public function getFields() + { + if (array_key_exists("fields", $this->_propDict)) { + if (is_a($this->_propDict["fields"], "\Microsoft\Graph\Model\FieldValueSet") || is_null($this->_propDict["fields"])) { + return $this->_propDict["fields"]; + } else { + $this->_propDict["fields"] = new FieldValueSet($this->_propDict["fields"]); + return $this->_propDict["fields"]; + } + } + return null; + } + + /** + * Sets the fields + * The values of the columns set on this list item. + * + * @param FieldValueSet $val The fields + * + * @return ListItem + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + + + /** + * Gets the versions + * The list of previous versions of the list item. + * + * @return array|null The versions + */ + public function getVersions() + { + if (array_key_exists("versions", $this->_propDict)) { + return $this->_propDict["versions"]; + } else { + return null; + } + } + + /** + * Sets the versions + * The list of previous versions of the list item. + * + * @param ListItemVersion[] $val The versions + * + * @return ListItem + */ + public function setVersions($val) + { + $this->_propDict["versions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ListItemVersion.php b/vendor/microsoft/microsoft-graph/src/Model/ListItemVersion.php new file mode 100644 index 0000000..00216cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ListItemVersion.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["fields"], "\Microsoft\Graph\Model\FieldValueSet") || is_null($this->_propDict["fields"])) { + return $this->_propDict["fields"]; + } else { + $this->_propDict["fields"] = new FieldValueSet($this->_propDict["fields"]); + return $this->_propDict["fields"]; + } + } + return null; + } + + /** + * Sets the fields + * A collection of the fields and values for this version of the list item. + * + * @param FieldValueSet $val The fields + * + * @return ListItemVersion + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LobbyBypassScope.php b/vendor/microsoft/microsoft-graph/src/Model/LobbyBypassScope.php new file mode 100644 index 0000000..bf1725c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LobbyBypassScope.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["isDialInBypassEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDialInBypassEnabled + * Specifies whether or not to always let dial-in callers bypass the lobby. Optional. + * + * @param bool $val The value of the isDialInBypassEnabled + * + * @return LobbyBypassSettings + */ + public function setIsDialInBypassEnabled($val) + { + $this->_propDict["isDialInBypassEnabled"] = $val; + return $this; + } + + /** + * Gets the scope + * Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Optional. + * + * @return LobbyBypassScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Microsoft\Graph\Model\LobbyBypassScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new LobbyBypassScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Optional. + * + * @param LobbyBypassScope $val The value to assign to the scope + * + * @return LobbyBypassSettings The LobbyBypassSettings + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LocaleInfo.php b/vendor/microsoft/microsoft-graph/src/Model/LocaleInfo.php new file mode 100644 index 0000000..351ae0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LocaleInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * A name representing the user's locale in natural language, for example, 'English (United States)'. + * + * @param string $val The value of the displayName + * + * @return LocaleInfo + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the locale + * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. + * + * @param string $val The value of the locale + * + * @return LocaleInfo + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LocalizedNotificationMessage.php b/vendor/microsoft/microsoft-graph/src/Model/LocalizedNotificationMessage.php new file mode 100644 index 0000000..88a3b54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LocalizedNotificationMessage.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Flag to indicate whether or not this is the default locale for language fallback. This flag can only be set. To unset, set this property to true on another Localized Notification Message. + * + * @param bool $val The isDefault + * + * @return LocalizedNotificationMessage + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return LocalizedNotificationMessage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the locale + * The Locale for which this message is destined. + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * The Locale for which this message is destined. + * + * @param string $val The locale + * + * @return LocalizedNotificationMessage + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + + /** + * Gets the messageTemplate + * The Message Template content. + * + * @return string|null The messageTemplate + */ + public function getMessageTemplate() + { + if (array_key_exists("messageTemplate", $this->_propDict)) { + return $this->_propDict["messageTemplate"]; + } else { + return null; + } + } + + /** + * Sets the messageTemplate + * The Message Template content. + * + * @param string $val The messageTemplate + * + * @return LocalizedNotificationMessage + */ + public function setMessageTemplate($val) + { + $this->_propDict["messageTemplate"] = $val; + return $this; + } + + /** + * Gets the subject + * The Message Template Subject. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The Message Template Subject. + * + * @param string $val The subject + * + * @return LocalizedNotificationMessage + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LocateDeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Model/LocateDeviceActionResult.php new file mode 100644 index 0000000..3c733b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LocateDeviceActionResult.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["deviceLocation"], "\Microsoft\Graph\Model\DeviceGeoLocation") || is_null($this->_propDict["deviceLocation"])) { + return $this->_propDict["deviceLocation"]; + } else { + $this->_propDict["deviceLocation"] = new DeviceGeoLocation($this->_propDict["deviceLocation"]); + return $this->_propDict["deviceLocation"]; + } + } + return null; + } + + /** + * Sets the deviceLocation + * device location + * + * @param DeviceGeoLocation $val The value to assign to the deviceLocation + * + * @return LocateDeviceActionResult The LocateDeviceActionResult + */ + public function setDeviceLocation($val) + { + $this->_propDict["deviceLocation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Location.php b/vendor/microsoft/microsoft-graph/src/Model/Location.php new file mode 100644 index 0000000..29d2583 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Location.php @@ -0,0 +1,270 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The street address of the location. + * + * @param PhysicalAddress $val The value to assign to the address + * + * @return Location The Location + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the coordinates + * The geographic coordinates and elevation of the location. + * + * @return OutlookGeoCoordinates|null The coordinates + */ + public function getCoordinates() + { + if (array_key_exists("coordinates", $this->_propDict)) { + if (is_a($this->_propDict["coordinates"], "\Microsoft\Graph\Model\OutlookGeoCoordinates") || is_null($this->_propDict["coordinates"])) { + return $this->_propDict["coordinates"]; + } else { + $this->_propDict["coordinates"] = new OutlookGeoCoordinates($this->_propDict["coordinates"]); + return $this->_propDict["coordinates"]; + } + } + return null; + } + + /** + * Sets the coordinates + * The geographic coordinates and elevation of the location. + * + * @param OutlookGeoCoordinates $val The value to assign to the coordinates + * + * @return Location The Location + */ + public function setCoordinates($val) + { + $this->_propDict["coordinates"] = $val; + return $this; + } + /** + * Gets the displayName + * The name associated with the location. + * + * @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 + * The name associated with the location. + * + * @param string $val The value of the displayName + * + * @return Location + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the locationEmailAddress + * Optional email address of the location. + * + * @return string|null The locationEmailAddress + */ + public function getLocationEmailAddress() + { + if (array_key_exists("locationEmailAddress", $this->_propDict)) { + return $this->_propDict["locationEmailAddress"]; + } else { + return null; + } + } + + /** + * Sets the locationEmailAddress + * Optional email address of the location. + * + * @param string $val The value of the locationEmailAddress + * + * @return Location + */ + public function setLocationEmailAddress($val) + { + $this->_propDict["locationEmailAddress"] = $val; + return $this; + } + + /** + * Gets the locationType + * The type of location. Possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only. + * + * @return LocationType|null The locationType + */ + public function getLocationType() + { + if (array_key_exists("locationType", $this->_propDict)) { + if (is_a($this->_propDict["locationType"], "\Microsoft\Graph\Model\LocationType") || is_null($this->_propDict["locationType"])) { + return $this->_propDict["locationType"]; + } else { + $this->_propDict["locationType"] = new LocationType($this->_propDict["locationType"]); + return $this->_propDict["locationType"]; + } + } + return null; + } + + /** + * Sets the locationType + * The type of location. Possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only. + * + * @param LocationType $val The value to assign to the locationType + * + * @return Location The Location + */ + public function setLocationType($val) + { + $this->_propDict["locationType"] = $val; + return $this; + } + /** + * Gets the locationUri + * Optional URI representing the location. + * + * @return string|null The locationUri + */ + public function getLocationUri() + { + if (array_key_exists("locationUri", $this->_propDict)) { + return $this->_propDict["locationUri"]; + } else { + return null; + } + } + + /** + * Sets the locationUri + * Optional URI representing the location. + * + * @param string $val The value of the locationUri + * + * @return Location + */ + public function setLocationUri($val) + { + $this->_propDict["locationUri"] = $val; + return $this; + } + /** + * Gets the uniqueId + * For internal use only. + * + * @return string|null The uniqueId + */ + public function getUniqueId() + { + if (array_key_exists("uniqueId", $this->_propDict)) { + return $this->_propDict["uniqueId"]; + } else { + return null; + } + } + + /** + * Sets the uniqueId + * For internal use only. + * + * @param string $val The value of the uniqueId + * + * @return Location + */ + public function setUniqueId($val) + { + $this->_propDict["uniqueId"] = $val; + return $this; + } + + /** + * Gets the uniqueIdType + * For internal use only. + * + * @return LocationUniqueIdType|null The uniqueIdType + */ + public function getUniqueIdType() + { + if (array_key_exists("uniqueIdType", $this->_propDict)) { + if (is_a($this->_propDict["uniqueIdType"], "\Microsoft\Graph\Model\LocationUniqueIdType") || is_null($this->_propDict["uniqueIdType"])) { + return $this->_propDict["uniqueIdType"]; + } else { + $this->_propDict["uniqueIdType"] = new LocationUniqueIdType($this->_propDict["uniqueIdType"]); + return $this->_propDict["uniqueIdType"]; + } + } + return null; + } + + /** + * Sets the uniqueIdType + * For internal use only. + * + * @param LocationUniqueIdType $val The value to assign to the uniqueIdType + * + * @return Location The Location + */ + public function setUniqueIdType($val) + { + $this->_propDict["uniqueIdType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LocationConstraint.php b/vendor/microsoft/microsoft-graph/src/Model/LocationConstraint.php new file mode 100644 index 0000000..ea57bfa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LocationConstraint.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["isRequired"]; + } else { + return null; + } + } + + /** + * Sets the isRequired + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + * + * @param bool $val The value of the isRequired + * + * @return LocationConstraint + */ + public function setIsRequired($val) + { + $this->_propDict["isRequired"] = $val; + return $this; + } + + /** + * Gets the locations + * Constraint information for one or more locations that the client requests for the meeting. + * + * @return LocationConstraintItem|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + if (is_a($this->_propDict["locations"], "\Microsoft\Graph\Model\LocationConstraintItem") || is_null($this->_propDict["locations"])) { + return $this->_propDict["locations"]; + } else { + $this->_propDict["locations"] = new LocationConstraintItem($this->_propDict["locations"]); + return $this->_propDict["locations"]; + } + } + return null; + } + + /** + * Sets the locations + * Constraint information for one or more locations that the client requests for the meeting. + * + * @param LocationConstraintItem $val The value to assign to the locations + * + * @return LocationConstraint The LocationConstraint + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + /** + * Gets the suggestLocation + * The client requests the service to suggest one or more meeting locations. + * + * @return bool|null The suggestLocation + */ + public function getSuggestLocation() + { + if (array_key_exists("suggestLocation", $this->_propDict)) { + return $this->_propDict["suggestLocation"]; + } else { + return null; + } + } + + /** + * Sets the suggestLocation + * The client requests the service to suggest one or more meeting locations. + * + * @param bool $val The value of the suggestLocation + * + * @return LocationConstraint + */ + public function setSuggestLocation($val) + { + $this->_propDict["suggestLocation"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LocationConstraintItem.php b/vendor/microsoft/microsoft-graph/src/Model/LocationConstraintItem.php new file mode 100644 index 0000000..ea7c7b7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LocationConstraintItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["resolveAvailability"]; + } else { + return null; + } + } + + /** + * Sets the resolveAvailability + * If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true. + * + * @param bool $val The value of the resolveAvailability + * + * @return LocationConstraintItem + */ + public function setResolveAvailability($val) + { + $this->_propDict["resolveAvailability"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LocationType.php b/vendor/microsoft/microsoft-graph/src/Model/LocationType.php new file mode 100644 index 0000000..91c8bb1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LocationType.php @@ -0,0 +1,42 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return LongRunningOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * + * @param \DateTime $val The lastActionDateTime + * + * @return LongRunningOperation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceLocation + * + * @return string|null The resourceLocation + */ + public function getResourceLocation() + { + if (array_key_exists("resourceLocation", $this->_propDict)) { + return $this->_propDict["resourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the resourceLocation + * + * @param string $val The resourceLocation + * + * @return LongRunningOperation + */ + public function setResourceLocation($val) + { + $this->_propDict["resourceLocation"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return LongRunningOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\LongRunningOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new LongRunningOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param LongRunningOperationStatus $val The status + * + * @return LongRunningOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the statusDetail + * + * @return string|null The statusDetail + */ + public function getStatusDetail() + { + if (array_key_exists("statusDetail", $this->_propDict)) { + return $this->_propDict["statusDetail"]; + } else { + return null; + } + } + + /** + * Sets the statusDetail + * + * @param string $val The statusDetail + * + * @return LongRunningOperation + */ + public function setStatusDetail($val) + { + $this->_propDict["statusDetail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/LongRunningOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Model/LongRunningOperationStatus.php new file mode 100644 index 0000000..da5ff4e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/LongRunningOperationStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["allowMultipleValues"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleValues + * Indicates whether multiple values can be selected from the source. + * + * @param bool $val The value of the allowMultipleValues + * + * @return LookupColumn + */ + public function setAllowMultipleValues($val) + { + $this->_propDict["allowMultipleValues"] = $val; + return $this; + } + /** + * Gets the allowUnlimitedLength + * Indicates whether values in the column should be able to exceed the standard limit of 255 characters. + * + * @return bool|null The allowUnlimitedLength + */ + public function getAllowUnlimitedLength() + { + if (array_key_exists("allowUnlimitedLength", $this->_propDict)) { + return $this->_propDict["allowUnlimitedLength"]; + } else { + return null; + } + } + + /** + * Sets the allowUnlimitedLength + * Indicates whether values in the column should be able to exceed the standard limit of 255 characters. + * + * @param bool $val The value of the allowUnlimitedLength + * + * @return LookupColumn + */ + public function setAllowUnlimitedLength($val) + { + $this->_propDict["allowUnlimitedLength"] = $val; + return $this; + } + /** + * Gets the columnName + * The name of the lookup source column. + * + * @return string|null The columnName + */ + public function getColumnName() + { + if (array_key_exists("columnName", $this->_propDict)) { + return $this->_propDict["columnName"]; + } else { + return null; + } + } + + /** + * Sets the columnName + * The name of the lookup source column. + * + * @param string $val The value of the columnName + * + * @return LookupColumn + */ + public function setColumnName($val) + { + $this->_propDict["columnName"] = $val; + return $this; + } + /** + * Gets the listId + * The unique identifier of the lookup source list. + * + * @return string|null The listId + */ + public function getListId() + { + if (array_key_exists("listId", $this->_propDict)) { + return $this->_propDict["listId"]; + } else { + return null; + } + } + + /** + * Sets the listId + * The unique identifier of the lookup source list. + * + * @param string $val The value of the listId + * + * @return LookupColumn + */ + public function setListId($val) + { + $this->_propDict["listId"] = $val; + return $this; + } + /** + * Gets the primaryLookupColumnId + * If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here. + * + * @return string|null The primaryLookupColumnId + */ + public function getPrimaryLookupColumnId() + { + if (array_key_exists("primaryLookupColumnId", $this->_propDict)) { + return $this->_propDict["primaryLookupColumnId"]; + } else { + return null; + } + } + + /** + * Sets the primaryLookupColumnId + * If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here. + * + * @param string $val The value of the primaryLookupColumnId + * + * @return LookupColumn + */ + public function setPrimaryLookupColumnId($val) + { + $this->_propDict["primaryLookupColumnId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MacOSCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/MacOSCompliancePolicy.php new file mode 100644 index 0000000..a921ba3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MacOSCompliancePolicy.php @@ -0,0 +1,528 @@ +_propDict)) { + return $this->_propDict["deviceThreatProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the deviceThreatProtectionEnabled + * Require that devices have enabled device threat protection. + * + * @param bool $val The deviceThreatProtectionEnabled + * + * @return MacOSCompliancePolicy + */ + public function setDeviceThreatProtectionEnabled($val) + { + $this->_propDict["deviceThreatProtectionEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @return DeviceThreatProtectionLevel|null The deviceThreatProtectionRequiredSecurityLevel + */ + public function getDeviceThreatProtectionRequiredSecurityLevel() + { + if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel") || is_null($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"])) { + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } else { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = new DeviceThreatProtectionLevel($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]); + return $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the deviceThreatProtectionRequiredSecurityLevel + * Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + * + * @param DeviceThreatProtectionLevel $val The deviceThreatProtectionRequiredSecurityLevel + * + * @return MacOSCompliancePolicy + */ + public function setDeviceThreatProtectionRequiredSecurityLevel($val) + { + $this->_propDict["deviceThreatProtectionRequiredSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the firewallBlockAllIncoming + * Corresponds to the 'Block all incoming connections' option. + * + * @return bool|null The firewallBlockAllIncoming + */ + public function getFirewallBlockAllIncoming() + { + if (array_key_exists("firewallBlockAllIncoming", $this->_propDict)) { + return $this->_propDict["firewallBlockAllIncoming"]; + } else { + return null; + } + } + + /** + * Sets the firewallBlockAllIncoming + * Corresponds to the 'Block all incoming connections' option. + * + * @param bool $val The firewallBlockAllIncoming + * + * @return MacOSCompliancePolicy + */ + public function setFirewallBlockAllIncoming($val) + { + $this->_propDict["firewallBlockAllIncoming"] = boolval($val); + return $this; + } + + /** + * Gets the firewallEnabled + * Whether the firewall should be enabled or not. + * + * @return bool|null The firewallEnabled + */ + public function getFirewallEnabled() + { + if (array_key_exists("firewallEnabled", $this->_propDict)) { + return $this->_propDict["firewallEnabled"]; + } else { + return null; + } + } + + /** + * Sets the firewallEnabled + * Whether the firewall should be enabled or not. + * + * @param bool $val The firewallEnabled + * + * @return MacOSCompliancePolicy + */ + public function setFirewallEnabled($val) + { + $this->_propDict["firewallEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the firewallEnableStealthMode + * Corresponds to 'Enable stealth mode.' + * + * @return bool|null The firewallEnableStealthMode + */ + public function getFirewallEnableStealthMode() + { + if (array_key_exists("firewallEnableStealthMode", $this->_propDict)) { + return $this->_propDict["firewallEnableStealthMode"]; + } else { + return null; + } + } + + /** + * Sets the firewallEnableStealthMode + * Corresponds to 'Enable stealth mode.' + * + * @param bool $val The firewallEnableStealthMode + * + * @return MacOSCompliancePolicy + */ + public function setFirewallEnableStealthMode($val) + { + $this->_propDict["firewallEnableStealthMode"] = boolval($val); + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum MacOS version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum MacOS version. + * + * @param string $val The osMaximumVersion + * + * @return MacOSCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum MacOS version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum MacOS version. + * + * @param string $val The osMinimumVersion + * + * @return MacOSCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block simple passwords. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block simple passwords. + * + * @param bool $val The passwordBlockSimple + * + * @return MacOSCompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 65535 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. Valid values 1 to 65535 + * + * @param int $val The passwordExpirationDays + * + * @return MacOSCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return MacOSCompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of password. Valid values 4 to 14 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of password. Valid values 4 to 14 + * + * @param int $val The passwordMinimumLength + * + * @return MacOSCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return MacOSCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 1 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return MacOSCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return MacOSCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return MacOSCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on Mac OS devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on Mac OS devices. + * + * @param bool $val The storageRequireEncryption + * + * @return MacOSCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the systemIntegrityProtectionEnabled + * Require that devices have enabled system integrity protection. + * + * @return bool|null The systemIntegrityProtectionEnabled + */ + public function getSystemIntegrityProtectionEnabled() + { + if (array_key_exists("systemIntegrityProtectionEnabled", $this->_propDict)) { + return $this->_propDict["systemIntegrityProtectionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the systemIntegrityProtectionEnabled + * Require that devices have enabled system integrity protection. + * + * @param bool $val The systemIntegrityProtectionEnabled + * + * @return MacOSCompliancePolicy + */ + public function setSystemIntegrityProtectionEnabled($val) + { + $this->_propDict["systemIntegrityProtectionEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MacOSCustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/MacOSCustomConfiguration.php new file mode 100644 index 0000000..3c6792f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MacOSCustomConfiguration.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * Payload. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The payload + * + * @return MacOSCustomConfiguration + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + + /** + * Gets the payloadFileName + * Payload file name (.mobileconfig + * + * @return string|null The payloadFileName + */ + public function getPayloadFileName() + { + if (array_key_exists("payloadFileName", $this->_propDict)) { + return $this->_propDict["payloadFileName"]; + } else { + return null; + } + } + + /** + * Sets the payloadFileName + * Payload file name (.mobileconfig + * + * @param string $val The payloadFileName + * + * @return MacOSCustomConfiguration + */ + public function setPayloadFileName($val) + { + $this->_propDict["payloadFileName"] = $val; + return $this; + } + + /** + * Gets the payloadName + * Name that is displayed to the user. + * + * @return string|null The payloadName + */ + public function getPayloadName() + { + if (array_key_exists("payloadName", $this->_propDict)) { + return $this->_propDict["payloadName"]; + } else { + return null; + } + } + + /** + * Sets the payloadName + * Name that is displayed to the user. + * + * @param string $val The payloadName + * + * @return MacOSCustomConfiguration + */ + public function setPayloadName($val) + { + $this->_propDict["payloadName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MacOSDeviceFeaturesConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/MacOSDeviceFeaturesConfiguration.php new file mode 100644 index 0000000..8d3ec36 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MacOSDeviceFeaturesConfiguration.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * List that is in the CompliantAppsList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @return string|null The emailInDomainSuffixes + */ + public function getEmailInDomainSuffixes() + { + if (array_key_exists("emailInDomainSuffixes", $this->_propDict)) { + return $this->_propDict["emailInDomainSuffixes"]; + } else { + return null; + } + } + + /** + * Sets the emailInDomainSuffixes + * An email address lacking a suffix that matches any of these strings will be considered out-of-domain. + * + * @param string $val The emailInDomainSuffixes + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setEmailInDomainSuffixes($val) + { + $this->_propDict["emailInDomainSuffixes"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Block simple passwords. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Block simple passwords. + * + * @param bool $val The passwordBlockSimple + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. + * + * @param int $val The passwordExpirationDays + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. Valid values 0 to 4 + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. Valid values 0 to 4 + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. + * + * @param int $val The passwordMinimumLength + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity required before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity required before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity required before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity required before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return MacOSGeneralDeviceConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MacOSOfficeSuiteApp.php b/vendor/microsoft/microsoft-graph/src/Model/MacOSOfficeSuiteApp.php new file mode 100644 index 0000000..73c0c38 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MacOSOfficeSuiteApp.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["destinationRoutingReason"], "\Microsoft\Graph\Model\MailDestinationRoutingReason") || is_null($this->_propDict["destinationRoutingReason"])) { + return $this->_propDict["destinationRoutingReason"]; + } else { + $this->_propDict["destinationRoutingReason"] = new MailDestinationRoutingReason($this->_propDict["destinationRoutingReason"]); + return $this->_propDict["destinationRoutingReason"]; + } + } + return null; + } + + /** + * Sets the destinationRoutingReason + * The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk. + * + * @param MailDestinationRoutingReason $val The destinationRoutingReason + * + * @return MailAssessmentRequest + */ + public function setDestinationRoutingReason($val) + { + $this->_propDict["destinationRoutingReason"] = $val; + return $this; + } + + /** + * Gets the messageUri + * The resource URI of the mail message for assessment. + * + * @return string|null The messageUri + */ + public function getMessageUri() + { + if (array_key_exists("messageUri", $this->_propDict)) { + return $this->_propDict["messageUri"]; + } else { + return null; + } + } + + /** + * Sets the messageUri + * The resource URI of the mail message for assessment. + * + * @param string $val The messageUri + * + * @return MailAssessmentRequest + */ + public function setMessageUri($val) + { + $this->_propDict["messageUri"] = $val; + return $this; + } + + /** + * Gets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @return string|null The recipientEmail + */ + public function getRecipientEmail() + { + if (array_key_exists("recipientEmail", $this->_propDict)) { + return $this->_propDict["recipientEmail"]; + } else { + return null; + } + } + + /** + * Sets the recipientEmail + * The mail recipient whose policies are used to assess the mail. + * + * @param string $val The recipientEmail + * + * @return MailAssessmentRequest + */ + public function setRecipientEmail($val) + { + $this->_propDict["recipientEmail"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MailDestinationRoutingReason.php b/vendor/microsoft/microsoft-graph/src/Model/MailDestinationRoutingReason.php new file mode 100644 index 0000000..fa68663 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MailDestinationRoutingReason.php @@ -0,0 +1,48 @@ +_propDict)) { + return $this->_propDict["childFolderCount"]; + } else { + return null; + } + } + + /** + * Sets the childFolderCount + * The number of immediate child mailFolders in the current mailFolder. + * + * @param int $val The childFolderCount + * + * @return MailFolder + */ + public function setChildFolderCount($val) + { + $this->_propDict["childFolderCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The mailFolder's display name. + * + * @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 + * The mailFolder's display name. + * + * @param string $val The displayName + * + * @return MailFolder + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isHidden + * Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders. + * + * @return bool|null The isHidden + */ + public function getIsHidden() + { + if (array_key_exists("isHidden", $this->_propDict)) { + return $this->_propDict["isHidden"]; + } else { + return null; + } + } + + /** + * Sets the isHidden + * Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders. + * + * @param bool $val The isHidden + * + * @return MailFolder + */ + public function setIsHidden($val) + { + $this->_propDict["isHidden"] = boolval($val); + return $this; + } + + /** + * Gets the parentFolderId + * The unique identifier for the mailFolder's parent mailFolder. + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * The unique identifier for the mailFolder's parent mailFolder. + * + * @param string $val The parentFolderId + * + * @return MailFolder + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the totalItemCount + * The number of items in the mailFolder. + * + * @return int|null The totalItemCount + */ + public function getTotalItemCount() + { + if (array_key_exists("totalItemCount", $this->_propDict)) { + return $this->_propDict["totalItemCount"]; + } else { + return null; + } + } + + /** + * Sets the totalItemCount + * The number of items in the mailFolder. + * + * @param int $val The totalItemCount + * + * @return MailFolder + */ + public function setTotalItemCount($val) + { + $this->_propDict["totalItemCount"] = intval($val); + return $this; + } + + /** + * Gets the unreadItemCount + * The number of items in the mailFolder marked as unread. + * + * @return int|null The unreadItemCount + */ + public function getUnreadItemCount() + { + if (array_key_exists("unreadItemCount", $this->_propDict)) { + return $this->_propDict["unreadItemCount"]; + } else { + return null; + } + } + + /** + * Sets the unreadItemCount + * The number of items in the mailFolder marked as unread. + * + * @param int $val The unreadItemCount + * + * @return MailFolder + */ + public function setUnreadItemCount($val) + { + $this->_propDict["unreadItemCount"] = intval($val); + return $this; + } + + + /** + * Gets the childFolders + * The collection of child folders in the mailFolder. + * + * @return array|null The childFolders + */ + public function getChildFolders() + { + if (array_key_exists("childFolders", $this->_propDict)) { + return $this->_propDict["childFolders"]; + } else { + return null; + } + } + + /** + * Sets the childFolders + * The collection of child folders in the mailFolder. + * + * @param MailFolder[] $val The childFolders + * + * @return MailFolder + */ + public function setChildFolders($val) + { + $this->_propDict["childFolders"] = $val; + return $this; + } + + + /** + * Gets the messageRules + * The collection of rules that apply to the user's Inbox folder. + * + * @return array|null The messageRules + */ + public function getMessageRules() + { + if (array_key_exists("messageRules", $this->_propDict)) { + return $this->_propDict["messageRules"]; + } else { + return null; + } + } + + /** + * Sets the messageRules + * The collection of rules that apply to the user's Inbox folder. + * + * @param MessageRule[] $val The messageRules + * + * @return MailFolder + */ + public function setMessageRules($val) + { + $this->_propDict["messageRules"] = $val; + return $this; + } + + + /** + * Gets the messages + * The collection of messages in the mailFolder. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * The collection of messages in the mailFolder. + * + * @param Message[] $val The messages + * + * @return MailFolder + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return MailFolder + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return MailFolder + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MailSearchFolder.php b/vendor/microsoft/microsoft-graph/src/Model/MailSearchFolder.php new file mode 100644 index 0000000..8fa985b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MailSearchFolder.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["filterQuery"]; + } else { + return null; + } + } + + /** + * Sets the filterQuery + * The OData query to filter the messages. + * + * @param string $val The filterQuery + * + * @return MailSearchFolder + */ + public function setFilterQuery($val) + { + $this->_propDict["filterQuery"] = $val; + return $this; + } + + /** + * Gets the includeNestedFolders + * Indicates how the mailbox folder hierarchy should be traversed in the search. true means that a deep search should be done to include child folders in the hierarchy of each folder explicitly specified in sourceFolderIds. false means a shallow search of only each of the folders explicitly specified in sourceFolderIds. + * + * @return bool|null The includeNestedFolders + */ + public function getIncludeNestedFolders() + { + if (array_key_exists("includeNestedFolders", $this->_propDict)) { + return $this->_propDict["includeNestedFolders"]; + } else { + return null; + } + } + + /** + * Sets the includeNestedFolders + * Indicates how the mailbox folder hierarchy should be traversed in the search. true means that a deep search should be done to include child folders in the hierarchy of each folder explicitly specified in sourceFolderIds. false means a shallow search of only each of the folders explicitly specified in sourceFolderIds. + * + * @param bool $val The includeNestedFolders + * + * @return MailSearchFolder + */ + public function setIncludeNestedFolders($val) + { + $this->_propDict["includeNestedFolders"] = boolval($val); + return $this; + } + + /** + * Gets the isSupported + * Indicates whether a search folder is editable using REST APIs. + * + * @return bool|null The isSupported + */ + public function getIsSupported() + { + if (array_key_exists("isSupported", $this->_propDict)) { + return $this->_propDict["isSupported"]; + } else { + return null; + } + } + + /** + * Sets the isSupported + * Indicates whether a search folder is editable using REST APIs. + * + * @param bool $val The isSupported + * + * @return MailSearchFolder + */ + public function setIsSupported($val) + { + $this->_propDict["isSupported"] = boolval($val); + return $this; + } + + /** + * Gets the sourceFolderIds + * The mailbox folders that should be mined. + * + * @return string|null The sourceFolderIds + */ + public function getSourceFolderIds() + { + if (array_key_exists("sourceFolderIds", $this->_propDict)) { + return $this->_propDict["sourceFolderIds"]; + } else { + return null; + } + } + + /** + * Sets the sourceFolderIds + * The mailbox folders that should be mined. + * + * @param string $val The sourceFolderIds + * + * @return MailSearchFolder + */ + public function setSourceFolderIds($val) + { + $this->_propDict["sourceFolderIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MailTips.php b/vendor/microsoft/microsoft-graph/src/Model/MailTips.php new file mode 100644 index 0000000..3909f71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MailTips.php @@ -0,0 +1,387 @@ +_propDict)) { + if (is_a($this->_propDict["automaticReplies"], "\Microsoft\Graph\Model\AutomaticRepliesMailTips") || is_null($this->_propDict["automaticReplies"])) { + return $this->_propDict["automaticReplies"]; + } else { + $this->_propDict["automaticReplies"] = new AutomaticRepliesMailTips($this->_propDict["automaticReplies"]); + return $this->_propDict["automaticReplies"]; + } + } + return null; + } + + /** + * Sets the automaticReplies + * Mail tips for automatic reply if it has been set up by the recipient. + * + * @param AutomaticRepliesMailTips $val The value to assign to the automaticReplies + * + * @return MailTips The MailTips + */ + public function setAutomaticReplies($val) + { + $this->_propDict["automaticReplies"] = $val; + return $this; + } + /** + * Gets the customMailTip + * A custom mail tip that can be set on the recipient's mailbox. + * + * @return string|null The customMailTip + */ + public function getCustomMailTip() + { + if (array_key_exists("customMailTip", $this->_propDict)) { + return $this->_propDict["customMailTip"]; + } else { + return null; + } + } + + /** + * Sets the customMailTip + * A custom mail tip that can be set on the recipient's mailbox. + * + * @param string $val The value of the customMailTip + * + * @return MailTips + */ + public function setCustomMailTip($val) + { + $this->_propDict["customMailTip"] = $val; + return $this; + } + /** + * Gets the deliveryRestricted + * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. + * + * @return bool|null The deliveryRestricted + */ + public function getDeliveryRestricted() + { + if (array_key_exists("deliveryRestricted", $this->_propDict)) { + return $this->_propDict["deliveryRestricted"]; + } else { + return null; + } + } + + /** + * Sets the deliveryRestricted + * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders. + * + * @param bool $val The value of the deliveryRestricted + * + * @return MailTips + */ + public function setDeliveryRestricted($val) + { + $this->_propDict["deliveryRestricted"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * The email address of the recipient to get mailtips for. + * + * @return EmailAddress|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) { + return $this->_propDict["emailAddress"]; + } else { + $this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]); + return $this->_propDict["emailAddress"]; + } + } + return null; + } + + /** + * Sets the emailAddress + * The email address of the recipient to get mailtips for. + * + * @param EmailAddress $val The value to assign to the emailAddress + * + * @return MailTips The MailTips + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the error + * Errors that occur during the getMailTips action. + * + * @return MailTipsError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\MailTipsError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new MailTipsError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Errors that occur during the getMailTips action. + * + * @param MailTipsError $val The value to assign to the error + * + * @return MailTips The MailTips + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the externalMemberCount + * The number of external members if the recipient is a distribution list. + * + * @return int|null The externalMemberCount + */ + public function getExternalMemberCount() + { + if (array_key_exists("externalMemberCount", $this->_propDict)) { + return $this->_propDict["externalMemberCount"]; + } else { + return null; + } + } + + /** + * Sets the externalMemberCount + * The number of external members if the recipient is a distribution list. + * + * @param int $val The value of the externalMemberCount + * + * @return MailTips + */ + public function setExternalMemberCount($val) + { + $this->_propDict["externalMemberCount"] = $val; + return $this; + } + /** + * Gets the isModerated + * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. + * + * @return bool|null The isModerated + */ + public function getIsModerated() + { + if (array_key_exists("isModerated", $this->_propDict)) { + return $this->_propDict["isModerated"]; + } else { + return null; + } + } + + /** + * Sets the isModerated + * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager. + * + * @param bool $val The value of the isModerated + * + * @return MailTips + */ + public function setIsModerated($val) + { + $this->_propDict["isModerated"] = $val; + return $this; + } + /** + * Gets the mailboxFull + * The mailbox full status of the recipient. + * + * @return bool|null The mailboxFull + */ + public function getMailboxFull() + { + if (array_key_exists("mailboxFull", $this->_propDict)) { + return $this->_propDict["mailboxFull"]; + } else { + return null; + } + } + + /** + * Sets the mailboxFull + * The mailbox full status of the recipient. + * + * @param bool $val The value of the mailboxFull + * + * @return MailTips + */ + public function setMailboxFull($val) + { + $this->_propDict["mailboxFull"] = $val; + return $this; + } + /** + * Gets the maxMessageSize + * The maximum message size that has been configured for the recipient's organization or mailbox. + * + * @return int|null The maxMessageSize + */ + public function getMaxMessageSize() + { + if (array_key_exists("maxMessageSize", $this->_propDict)) { + return $this->_propDict["maxMessageSize"]; + } else { + return null; + } + } + + /** + * Sets the maxMessageSize + * The maximum message size that has been configured for the recipient's organization or mailbox. + * + * @param int $val The value of the maxMessageSize + * + * @return MailTips + */ + public function setMaxMessageSize($val) + { + $this->_propDict["maxMessageSize"] = $val; + return $this; + } + + /** + * Gets the recipientScope + * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. + * + * @return RecipientScopeType|null The recipientScope + */ + public function getRecipientScope() + { + if (array_key_exists("recipientScope", $this->_propDict)) { + if (is_a($this->_propDict["recipientScope"], "\Microsoft\Graph\Model\RecipientScopeType") || is_null($this->_propDict["recipientScope"])) { + return $this->_propDict["recipientScope"]; + } else { + $this->_propDict["recipientScope"] = new RecipientScopeType($this->_propDict["recipientScope"]); + return $this->_propDict["recipientScope"]; + } + } + return null; + } + + /** + * Sets the recipientScope + * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content. + * + * @param RecipientScopeType $val The value to assign to the recipientScope + * + * @return MailTips The MailTips + */ + public function setRecipientScope($val) + { + $this->_propDict["recipientScope"] = $val; + return $this; + } + + /** + * Gets the recipientSuggestions + * Recipients suggested based on previous contexts where they appear in the same message. + * + * @return Recipient|null The recipientSuggestions + */ + public function getRecipientSuggestions() + { + if (array_key_exists("recipientSuggestions", $this->_propDict)) { + if (is_a($this->_propDict["recipientSuggestions"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["recipientSuggestions"])) { + return $this->_propDict["recipientSuggestions"]; + } else { + $this->_propDict["recipientSuggestions"] = new Recipient($this->_propDict["recipientSuggestions"]); + return $this->_propDict["recipientSuggestions"]; + } + } + return null; + } + + /** + * Sets the recipientSuggestions + * Recipients suggested based on previous contexts where they appear in the same message. + * + * @param Recipient $val The value to assign to the recipientSuggestions + * + * @return MailTips The MailTips + */ + public function setRecipientSuggestions($val) + { + $this->_propDict["recipientSuggestions"] = $val; + return $this; + } + /** + * Gets the totalMemberCount + * The number of members if the recipient is a distribution list. + * + * @return int|null The totalMemberCount + */ + public function getTotalMemberCount() + { + if (array_key_exists("totalMemberCount", $this->_propDict)) { + return $this->_propDict["totalMemberCount"]; + } else { + return null; + } + } + + /** + * Sets the totalMemberCount + * The number of members if the recipient is a distribution list. + * + * @param int $val The value of the totalMemberCount + * + * @return MailTips + */ + public function setTotalMemberCount($val) + { + $this->_propDict["totalMemberCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MailTipsError.php b/vendor/microsoft/microsoft-graph/src/Model/MailTipsError.php new file mode 100644 index 0000000..9706a94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MailTipsError.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return MailTipsError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return MailTipsError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MailTipsType.php b/vendor/microsoft/microsoft-graph/src/Model/MailTipsType.php new file mode 100644 index 0000000..caf4fa2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MailTipsType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["archiveFolder"]; + } else { + return null; + } + } + + /** + * Sets the archiveFolder + * Folder ID of an archive folder for the user. Read only. + * + * @param string $val The value of the archiveFolder + * + * @return MailboxSettings + */ + public function setArchiveFolder($val) + { + $this->_propDict["archiveFolder"] = $val; + return $this; + } + + /** + * Gets the automaticRepliesSetting + * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. + * + * @return AutomaticRepliesSetting|null The automaticRepliesSetting + */ + public function getAutomaticRepliesSetting() + { + if (array_key_exists("automaticRepliesSetting", $this->_propDict)) { + if (is_a($this->_propDict["automaticRepliesSetting"], "\Microsoft\Graph\Model\AutomaticRepliesSetting") || is_null($this->_propDict["automaticRepliesSetting"])) { + return $this->_propDict["automaticRepliesSetting"]; + } else { + $this->_propDict["automaticRepliesSetting"] = new AutomaticRepliesSetting($this->_propDict["automaticRepliesSetting"]); + return $this->_propDict["automaticRepliesSetting"]; + } + } + return null; + } + + /** + * Sets the automaticRepliesSetting + * Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. + * + * @param AutomaticRepliesSetting $val The value to assign to the automaticRepliesSetting + * + * @return MailboxSettings The MailboxSettings + */ + public function setAutomaticRepliesSetting($val) + { + $this->_propDict["automaticRepliesSetting"] = $val; + return $this; + } + /** + * Gets the dateFormat + * The date format for the user's mailbox. + * + * @return string|null The dateFormat + */ + public function getDateFormat() + { + if (array_key_exists("dateFormat", $this->_propDict)) { + return $this->_propDict["dateFormat"]; + } else { + return null; + } + } + + /** + * Sets the dateFormat + * The date format for the user's mailbox. + * + * @param string $val The value of the dateFormat + * + * @return MailboxSettings + */ + public function setDateFormat($val) + { + $this->_propDict["dateFormat"] = $val; + return $this; + } + + /** + * Gets the delegateMeetingMessageDeliveryOptions + * If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. The default is sendToDelegateOnly. + * + * @return DelegateMeetingMessageDeliveryOptions|null The delegateMeetingMessageDeliveryOptions + */ + public function getDelegateMeetingMessageDeliveryOptions() + { + if (array_key_exists("delegateMeetingMessageDeliveryOptions", $this->_propDict)) { + if (is_a($this->_propDict["delegateMeetingMessageDeliveryOptions"], "\Microsoft\Graph\Model\DelegateMeetingMessageDeliveryOptions") || is_null($this->_propDict["delegateMeetingMessageDeliveryOptions"])) { + return $this->_propDict["delegateMeetingMessageDeliveryOptions"]; + } else { + $this->_propDict["delegateMeetingMessageDeliveryOptions"] = new DelegateMeetingMessageDeliveryOptions($this->_propDict["delegateMeetingMessageDeliveryOptions"]); + return $this->_propDict["delegateMeetingMessageDeliveryOptions"]; + } + } + return null; + } + + /** + * Sets the delegateMeetingMessageDeliveryOptions + * If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. The default is sendToDelegateOnly. + * + * @param DelegateMeetingMessageDeliveryOptions $val The value to assign to the delegateMeetingMessageDeliveryOptions + * + * @return MailboxSettings The MailboxSettings + */ + public function setDelegateMeetingMessageDeliveryOptions($val) + { + $this->_propDict["delegateMeetingMessageDeliveryOptions"] = $val; + return $this; + } + + /** + * Gets the language + * The locale information for the user, including the preferred language and country/region. + * + * @return LocaleInfo|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + if (is_a($this->_propDict["language"], "\Microsoft\Graph\Model\LocaleInfo") || is_null($this->_propDict["language"])) { + return $this->_propDict["language"]; + } else { + $this->_propDict["language"] = new LocaleInfo($this->_propDict["language"]); + return $this->_propDict["language"]; + } + } + return null; + } + + /** + * Sets the language + * The locale information for the user, including the preferred language and country/region. + * + * @param LocaleInfo $val The value to assign to the language + * + * @return MailboxSettings The MailboxSettings + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + /** + * Gets the timeFormat + * The time format for the user's mailbox. + * + * @return string|null The timeFormat + */ + public function getTimeFormat() + { + if (array_key_exists("timeFormat", $this->_propDict)) { + return $this->_propDict["timeFormat"]; + } else { + return null; + } + } + + /** + * Sets the timeFormat + * The time format for the user's mailbox. + * + * @param string $val The value of the timeFormat + * + * @return MailboxSettings + */ + public function setTimeFormat($val) + { + $this->_propDict["timeFormat"] = $val; + return $this; + } + /** + * Gets the timeZone + * The default time zone for the user's mailbox. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * The default time zone for the user's mailbox. + * + * @param string $val The value of the timeZone + * + * @return MailboxSettings + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } + + /** + * Gets the userPurpose + * The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only. + * + * @return UserPurpose|null The userPurpose + */ + public function getUserPurpose() + { + if (array_key_exists("userPurpose", $this->_propDict)) { + if (is_a($this->_propDict["userPurpose"], "\Microsoft\Graph\Model\UserPurpose") || is_null($this->_propDict["userPurpose"])) { + return $this->_propDict["userPurpose"]; + } else { + $this->_propDict["userPurpose"] = new UserPurpose($this->_propDict["userPurpose"]); + return $this->_propDict["userPurpose"]; + } + } + return null; + } + + /** + * Sets the userPurpose + * The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only. + * + * @param UserPurpose $val The value to assign to the userPurpose + * + * @return MailboxSettings The MailboxSettings + */ + public function setUserPurpose($val) + { + $this->_propDict["userPurpose"] = $val; + return $this; + } + + /** + * Gets the workingHours + * The days of the week and hours in a specific time zone that the user works. + * + * @return WorkingHours|null The workingHours + */ + public function getWorkingHours() + { + if (array_key_exists("workingHours", $this->_propDict)) { + if (is_a($this->_propDict["workingHours"], "\Microsoft\Graph\Model\WorkingHours") || is_null($this->_propDict["workingHours"])) { + return $this->_propDict["workingHours"]; + } else { + $this->_propDict["workingHours"] = new WorkingHours($this->_propDict["workingHours"]); + return $this->_propDict["workingHours"]; + } + } + return null; + } + + /** + * Sets the workingHours + * The days of the week and hours in a specific time zone that the user works. + * + * @param WorkingHours $val The value to assign to the workingHours + * + * @return MailboxSettings The MailboxSettings + */ + public function setWorkingHours($val) + { + $this->_propDict["workingHours"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Malware.php b/vendor/microsoft/microsoft-graph/src/Model/Malware.php new file mode 100644 index 0000000..4f528f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Malware.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Contains the virus details for the malware facet. + * + * @param string $val The value of the description + * + * @return Malware + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MalwareState.php b/vendor/microsoft/microsoft-graph/src/Model/MalwareState.php new file mode 100644 index 0000000..df4b0ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MalwareState.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Provider-generated malware category (for example, trojan, ransomware, etc.). + * + * @param string $val The value of the category + * + * @return MalwareState + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + /** + * Gets the family + * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * + * @return string|null The family + */ + public function getFamily() + { + if (array_key_exists("family", $this->_propDict)) { + return $this->_propDict["family"]; + } else { + return null; + } + } + + /** + * Sets the family + * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * + * @param string $val The value of the family + * + * @return MalwareState + */ + public function setFamily($val) + { + $this->_propDict["family"] = $val; + return $this; + } + /** + * Gets the name + * Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H). + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Provider-generated malware variant name (for example, Trojan:Win32/Powessere.H). + * + * @param string $val The value of the name + * + * @return MalwareState + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the severity + * Provider-determined severity of this malware. + * + * @return string|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + return $this->_propDict["severity"]; + } else { + return null; + } + } + + /** + * Sets the severity + * Provider-determined severity of this malware. + * + * @param string $val The value of the severity + * + * @return MalwareState + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + /** + * Gets the wasRunning + * Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk. + * + * @return bool|null The wasRunning + */ + public function getWasRunning() + { + if (array_key_exists("wasRunning", $this->_propDict)) { + return $this->_propDict["wasRunning"]; + } else { + return null; + } + } + + /** + * Sets the wasRunning + * Indicates whether the detected file (malware/vulnerability) was running at the time of detection or was detected at rest on the disk. + * + * @param bool $val The value of the wasRunning + * + * @return MalwareState + */ + public function setWasRunning($val) + { + $this->_propDict["wasRunning"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidLobApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidLobApp.php new file mode 100644 index 0000000..bf5c30e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidLobApp.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedAndroidLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The package identifier. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The package identifier. + * + * @param string $val The packageId + * + * @return ManagedAndroidLobApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + + /** + * Gets the versionCode + * The version code of managed Android Line of Business (LoB) app. + * + * @return string|null The versionCode + */ + public function getVersionCode() + { + if (array_key_exists("versionCode", $this->_propDict)) { + return $this->_propDict["versionCode"]; + } else { + return null; + } + } + + /** + * Sets the versionCode + * The version code of managed Android Line of Business (LoB) app. + * + * @param string $val The versionCode + * + * @return ManagedAndroidLobApp + */ + public function setVersionCode($val) + { + $this->_propDict["versionCode"] = $val; + return $this; + } + + /** + * Gets the versionName + * The version name of managed Android Line of Business (LoB) app. + * + * @return string|null The versionName + */ + public function getVersionName() + { + if (array_key_exists("versionName", $this->_propDict)) { + return $this->_propDict["versionName"]; + } else { + return null; + } + } + + /** + * Sets the versionName + * The version name of managed Android Line of Business (LoB) app. + * + * @param string $val The versionName + * + * @return ManagedAndroidLobApp + */ + public function setVersionName($val) + { + $this->_propDict["versionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidStoreApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidStoreApp.php new file mode 100644 index 0000000..816b838 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidStoreApp.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Android AppStoreUrl. + * + * @param string $val The appStoreUrl + * + * @return ManagedAndroidStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedAndroidStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the packageId + * The app's package ID. + * + * @return string|null The packageId + */ + public function getPackageId() + { + if (array_key_exists("packageId", $this->_propDict)) { + return $this->_propDict["packageId"]; + } else { + return null; + } + } + + /** + * Sets the packageId + * The app's package ID. + * + * @param string $val The packageId + * + * @return ManagedAndroidStoreApp + */ + public function setPackageId($val) + { + $this->_propDict["packageId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedApp.php new file mode 100644 index 0000000..539616f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedApp.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["appAvailability"], "\Microsoft\Graph\Model\ManagedAppAvailability") || is_null($this->_propDict["appAvailability"])) { + return $this->_propDict["appAvailability"]; + } else { + $this->_propDict["appAvailability"] = new ManagedAppAvailability($this->_propDict["appAvailability"]); + return $this->_propDict["appAvailability"]; + } + } + return null; + } + + /** + * Sets the appAvailability + * The Application's availability. Possible values are: global, lineOfBusiness. + * + * @param ManagedAppAvailability $val The appAvailability + * + * @return ManagedApp + */ + public function setAppAvailability($val) + { + $this->_propDict["appAvailability"] = $val; + return $this; + } + + /** + * Gets the version + * The Application's version. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The Application's version. + * + * @param string $val The version + * + * @return ManagedApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppAvailability.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppAvailability.php new file mode 100644 index 0000000..74641d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppAvailability.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["customSettings"]; + } else { + return null; + } + } + + /** + * Sets the customSettings + * A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service + * + * @param KeyValuePair[] $val The customSettings + * + * @return ManagedAppConfiguration + */ + public function setCustomSettings($val) + { + $this->_propDict["customSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppDataEncryptionType.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppDataEncryptionType.php new file mode 100644 index 0000000..52d4cd9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppDataEncryptionType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["mitigationInstruction"]; + } else { + return null; + } + } + + /** + * Sets the mitigationInstruction + * Instruction on how to mitigate a failed validation + * + * @param string $val The value of the mitigationInstruction + * + * @return ManagedAppDiagnosticStatus + */ + public function setMitigationInstruction($val) + { + $this->_propDict["mitigationInstruction"] = $val; + return $this; + } + /** + * Gets the state + * The state of the operation + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state of the operation + * + * @param string $val The value of the state + * + * @return ManagedAppDiagnosticStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the validationName + * The validation friendly name + * + * @return string|null The validationName + */ + public function getValidationName() + { + if (array_key_exists("validationName", $this->_propDict)) { + return $this->_propDict["validationName"]; + } else { + return null; + } + } + + /** + * Sets the validationName + * The validation friendly name + * + * @param string $val The value of the validationName + * + * @return ManagedAppDiagnosticStatus + */ + public function setValidationName($val) + { + $this->_propDict["validationName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppFlaggedReason.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppFlaggedReason.php new file mode 100644 index 0000000..f49fa25 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppFlaggedReason.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The operation name. + * + * @param string $val The displayName + * + * @return ManagedAppOperation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last time the app operation was modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last time the app operation was modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedAppOperation + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The current state of the operation + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The current state of the operation + * + * @param string $val The state + * + * @return ManagedAppOperation + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppOperation + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPinCharacterSet.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPinCharacterSet.php new file mode 100644 index 0000000..4b5cef1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPinCharacterSet.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the policy was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedAppPolicy + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The policy's description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The policy's description. + * + * @param string $val The description + * + * @return ManagedAppPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Policy display name. + * + * @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 + * Policy display name. + * + * @param string $val The displayName + * + * @return ManagedAppPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last time the policy was modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last time the policy was modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedAppPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppPolicy + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummary.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummary.php new file mode 100644 index 0000000..50bb01a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummary.php @@ -0,0 +1,177 @@ +_propDict)) { + return $this->_propDict["configurationDeployedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the configurationDeployedUserCount + * Not yet documented + * + * @param int $val The configurationDeployedUserCount + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setConfigurationDeployedUserCount($val) + { + $this->_propDict["configurationDeployedUserCount"] = intval($val); + return $this; + } + + + /** + * Gets the configurationDeploymentSummaryPerApp + * Not yet documented + * + * @return array|null The configurationDeploymentSummaryPerApp + */ + public function getConfigurationDeploymentSummaryPerApp() + { + if (array_key_exists("configurationDeploymentSummaryPerApp", $this->_propDict)) { + return $this->_propDict["configurationDeploymentSummaryPerApp"]; + } else { + return null; + } + } + + /** + * Sets the configurationDeploymentSummaryPerApp + * Not yet documented + * + * @param ManagedAppPolicyDeploymentSummaryPerApp[] $val The configurationDeploymentSummaryPerApp + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setConfigurationDeploymentSummaryPerApp($val) + { + $this->_propDict["configurationDeploymentSummaryPerApp"] = $val; + return $this; + } + + /** + * Gets the displayName + * Not yet documented + * + * @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 + * Not yet documented + * + * @param string $val The displayName + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastRefreshTime + * Not yet documented + * + * @return \DateTime|null The lastRefreshTime + */ + public function getLastRefreshTime() + { + if (array_key_exists("lastRefreshTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRefreshTime"], "\DateTime") || is_null($this->_propDict["lastRefreshTime"])) { + return $this->_propDict["lastRefreshTime"]; + } else { + $this->_propDict["lastRefreshTime"] = new \DateTime($this->_propDict["lastRefreshTime"]); + return $this->_propDict["lastRefreshTime"]; + } + } + return null; + } + + /** + * Sets the lastRefreshTime + * Not yet documented + * + * @param \DateTime $val The lastRefreshTime + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setLastRefreshTime($val) + { + $this->_propDict["lastRefreshTime"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppPolicyDeploymentSummary + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php new file mode 100644 index 0000000..e27474f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["configurationAppliedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the configurationAppliedUserCount + * Number of users the policy is applied. + * + * @param int $val The value of the configurationAppliedUserCount + * + * @return ManagedAppPolicyDeploymentSummaryPerApp + */ + public function setConfigurationAppliedUserCount($val) + { + $this->_propDict["configurationAppliedUserCount"] = $val; + return $this; + } + + /** + * Gets the mobileAppIdentifier + * Deployment of an app. + * + * @return MobileAppIdentifier|null The mobileAppIdentifier + */ + public function getMobileAppIdentifier() + { + if (array_key_exists("mobileAppIdentifier", $this->_propDict)) { + if (is_a($this->_propDict["mobileAppIdentifier"], "\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["mobileAppIdentifier"])) { + return $this->_propDict["mobileAppIdentifier"]; + } else { + $this->_propDict["mobileAppIdentifier"] = new MobileAppIdentifier($this->_propDict["mobileAppIdentifier"]); + return $this->_propDict["mobileAppIdentifier"]; + } + } + return null; + } + + /** + * Sets the mobileAppIdentifier + * Deployment of an app. + * + * @param MobileAppIdentifier $val The value to assign to the mobileAppIdentifier + * + * @return ManagedAppPolicyDeploymentSummaryPerApp The ManagedAppPolicyDeploymentSummaryPerApp + */ + public function setMobileAppIdentifier($val) + { + $this->_propDict["mobileAppIdentifier"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppProtection.php new file mode 100644 index 0000000..5fdb336 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppProtection.php @@ -0,0 +1,847 @@ +_propDict)) { + return $this->_propDict["allowedDataStorageLocations"]; + } else { + return null; + } + } + + /** + * Sets the allowedDataStorageLocations + * Data storage locations where a user may store managed data. + * + * @param ManagedAppDataStorageLocation[] $val The allowedDataStorageLocations + * + * @return ManagedAppProtection + */ + public function setAllowedDataStorageLocations($val) + { + $this->_propDict["allowedDataStorageLocations"] = $val; + return $this; + } + + /** + * Gets the allowedInboundDataTransferSources + * Sources from which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @return ManagedAppDataTransferLevel|null The allowedInboundDataTransferSources + */ + public function getAllowedInboundDataTransferSources() + { + if (array_key_exists("allowedInboundDataTransferSources", $this->_propDict)) { + if (is_a($this->_propDict["allowedInboundDataTransferSources"], "\Microsoft\Graph\Model\ManagedAppDataTransferLevel") || is_null($this->_propDict["allowedInboundDataTransferSources"])) { + return $this->_propDict["allowedInboundDataTransferSources"]; + } else { + $this->_propDict["allowedInboundDataTransferSources"] = new ManagedAppDataTransferLevel($this->_propDict["allowedInboundDataTransferSources"]); + return $this->_propDict["allowedInboundDataTransferSources"]; + } + } + return null; + } + + /** + * Sets the allowedInboundDataTransferSources + * Sources from which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @param ManagedAppDataTransferLevel $val The allowedInboundDataTransferSources + * + * @return ManagedAppProtection + */ + public function setAllowedInboundDataTransferSources($val) + { + $this->_propDict["allowedInboundDataTransferSources"] = $val; + return $this; + } + + /** + * Gets the allowedOutboundClipboardSharingLevel + * The level to which the clipboard may be shared between apps on the managed device. Possible values are: allApps, managedAppsWithPasteIn, managedApps, blocked. + * + * @return ManagedAppClipboardSharingLevel|null The allowedOutboundClipboardSharingLevel + */ + public function getAllowedOutboundClipboardSharingLevel() + { + if (array_key_exists("allowedOutboundClipboardSharingLevel", $this->_propDict)) { + if (is_a($this->_propDict["allowedOutboundClipboardSharingLevel"], "\Microsoft\Graph\Model\ManagedAppClipboardSharingLevel") || is_null($this->_propDict["allowedOutboundClipboardSharingLevel"])) { + return $this->_propDict["allowedOutboundClipboardSharingLevel"]; + } else { + $this->_propDict["allowedOutboundClipboardSharingLevel"] = new ManagedAppClipboardSharingLevel($this->_propDict["allowedOutboundClipboardSharingLevel"]); + return $this->_propDict["allowedOutboundClipboardSharingLevel"]; + } + } + return null; + } + + /** + * Sets the allowedOutboundClipboardSharingLevel + * The level to which the clipboard may be shared between apps on the managed device. Possible values are: allApps, managedAppsWithPasteIn, managedApps, blocked. + * + * @param ManagedAppClipboardSharingLevel $val The allowedOutboundClipboardSharingLevel + * + * @return ManagedAppProtection + */ + public function setAllowedOutboundClipboardSharingLevel($val) + { + $this->_propDict["allowedOutboundClipboardSharingLevel"] = $val; + return $this; + } + + /** + * Gets the allowedOutboundDataTransferDestinations + * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @return ManagedAppDataTransferLevel|null The allowedOutboundDataTransferDestinations + */ + public function getAllowedOutboundDataTransferDestinations() + { + if (array_key_exists("allowedOutboundDataTransferDestinations", $this->_propDict)) { + if (is_a($this->_propDict["allowedOutboundDataTransferDestinations"], "\Microsoft\Graph\Model\ManagedAppDataTransferLevel") || is_null($this->_propDict["allowedOutboundDataTransferDestinations"])) { + return $this->_propDict["allowedOutboundDataTransferDestinations"]; + } else { + $this->_propDict["allowedOutboundDataTransferDestinations"] = new ManagedAppDataTransferLevel($this->_propDict["allowedOutboundDataTransferDestinations"]); + return $this->_propDict["allowedOutboundDataTransferDestinations"]; + } + } + return null; + } + + /** + * Sets the allowedOutboundDataTransferDestinations + * Destinations to which data is allowed to be transferred. Possible values are: allApps, managedApps, none. + * + * @param ManagedAppDataTransferLevel $val The allowedOutboundDataTransferDestinations + * + * @return ManagedAppProtection + */ + public function setAllowedOutboundDataTransferDestinations($val) + { + $this->_propDict["allowedOutboundDataTransferDestinations"] = $val; + return $this; + } + + /** + * Gets the contactSyncBlocked + * Indicates whether contacts can be synced to the user's device. + * + * @return bool|null The contactSyncBlocked + */ + public function getContactSyncBlocked() + { + if (array_key_exists("contactSyncBlocked", $this->_propDict)) { + return $this->_propDict["contactSyncBlocked"]; + } else { + return null; + } + } + + /** + * Sets the contactSyncBlocked + * Indicates whether contacts can be synced to the user's device. + * + * @param bool $val The contactSyncBlocked + * + * @return ManagedAppProtection + */ + public function setContactSyncBlocked($val) + { + $this->_propDict["contactSyncBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the dataBackupBlocked + * Indicates whether the backup of a managed app's data is blocked. + * + * @return bool|null The dataBackupBlocked + */ + public function getDataBackupBlocked() + { + if (array_key_exists("dataBackupBlocked", $this->_propDict)) { + return $this->_propDict["dataBackupBlocked"]; + } else { + return null; + } + } + + /** + * Sets the dataBackupBlocked + * Indicates whether the backup of a managed app's data is blocked. + * + * @param bool $val The dataBackupBlocked + * + * @return ManagedAppProtection + */ + public function setDataBackupBlocked($val) + { + $this->_propDict["dataBackupBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the deviceComplianceRequired + * Indicates whether device compliance is required. + * + * @return bool|null The deviceComplianceRequired + */ + public function getDeviceComplianceRequired() + { + if (array_key_exists("deviceComplianceRequired", $this->_propDict)) { + return $this->_propDict["deviceComplianceRequired"]; + } else { + return null; + } + } + + /** + * Sets the deviceComplianceRequired + * Indicates whether device compliance is required. + * + * @param bool $val The deviceComplianceRequired + * + * @return ManagedAppProtection + */ + public function setDeviceComplianceRequired($val) + { + $this->_propDict["deviceComplianceRequired"] = boolval($val); + return $this; + } + + /** + * Gets the disableAppPinIfDevicePinIsSet + * Indicates whether use of the app pin is required if the device pin is set. + * + * @return bool|null The disableAppPinIfDevicePinIsSet + */ + public function getDisableAppPinIfDevicePinIsSet() + { + if (array_key_exists("disableAppPinIfDevicePinIsSet", $this->_propDict)) { + return $this->_propDict["disableAppPinIfDevicePinIsSet"]; + } else { + return null; + } + } + + /** + * Sets the disableAppPinIfDevicePinIsSet + * Indicates whether use of the app pin is required if the device pin is set. + * + * @param bool $val The disableAppPinIfDevicePinIsSet + * + * @return ManagedAppProtection + */ + public function setDisableAppPinIfDevicePinIsSet($val) + { + $this->_propDict["disableAppPinIfDevicePinIsSet"] = boolval($val); + return $this; + } + + /** + * Gets the fingerprintBlocked + * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. + * + * @return bool|null The fingerprintBlocked + */ + public function getFingerprintBlocked() + { + if (array_key_exists("fingerprintBlocked", $this->_propDict)) { + return $this->_propDict["fingerprintBlocked"]; + } else { + return null; + } + } + + /** + * Sets the fingerprintBlocked + * Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True. + * + * @param bool $val The fingerprintBlocked + * + * @return ManagedAppProtection + */ + public function setFingerprintBlocked($val) + { + $this->_propDict["fingerprintBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the managedBrowser + * Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. Possible values are: notConfigured, microsoftEdge. + * + * @return ManagedBrowserType|null The managedBrowser + */ + public function getManagedBrowser() + { + if (array_key_exists("managedBrowser", $this->_propDict)) { + if (is_a($this->_propDict["managedBrowser"], "\Microsoft\Graph\Model\ManagedBrowserType") || is_null($this->_propDict["managedBrowser"])) { + return $this->_propDict["managedBrowser"]; + } else { + $this->_propDict["managedBrowser"] = new ManagedBrowserType($this->_propDict["managedBrowser"]); + return $this->_propDict["managedBrowser"]; + } + } + return null; + } + + /** + * Sets the managedBrowser + * Indicates in which managed browser(s) that internet links should be opened. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. Possible values are: notConfigured, microsoftEdge. + * + * @param ManagedBrowserType $val The managedBrowser + * + * @return ManagedAppProtection + */ + public function setManagedBrowser($val) + { + $this->_propDict["managedBrowser"] = $val; + return $this; + } + + /** + * Gets the managedBrowserToOpenLinksRequired + * Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android) + * + * @return bool|null The managedBrowserToOpenLinksRequired + */ + public function getManagedBrowserToOpenLinksRequired() + { + if (array_key_exists("managedBrowserToOpenLinksRequired", $this->_propDict)) { + return $this->_propDict["managedBrowserToOpenLinksRequired"]; + } else { + return null; + } + } + + /** + * Sets the managedBrowserToOpenLinksRequired + * Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android) + * + * @param bool $val The managedBrowserToOpenLinksRequired + * + * @return ManagedAppProtection + */ + public function setManagedBrowserToOpenLinksRequired($val) + { + $this->_propDict["managedBrowserToOpenLinksRequired"] = boolval($val); + return $this; + } + + /** + * Gets the maximumPinRetries + * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. + * + * @return int|null The maximumPinRetries + */ + public function getMaximumPinRetries() + { + if (array_key_exists("maximumPinRetries", $this->_propDict)) { + return $this->_propDict["maximumPinRetries"]; + } else { + return null; + } + } + + /** + * Sets the maximumPinRetries + * Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped. + * + * @param int $val The maximumPinRetries + * + * @return ManagedAppProtection + */ + public function setMaximumPinRetries($val) + { + $this->_propDict["maximumPinRetries"] = intval($val); + return $this; + } + + /** + * Gets the minimumPinLength + * Minimum pin length required for an app-level pin if PinRequired is set to True + * + * @return int|null The minimumPinLength + */ + public function getMinimumPinLength() + { + if (array_key_exists("minimumPinLength", $this->_propDict)) { + return $this->_propDict["minimumPinLength"]; + } else { + return null; + } + } + + /** + * Sets the minimumPinLength + * Minimum pin length required for an app-level pin if PinRequired is set to True + * + * @param int $val The minimumPinLength + * + * @return ManagedAppProtection + */ + public function setMinimumPinLength($val) + { + $this->_propDict["minimumPinLength"] = intval($val); + return $this; + } + + /** + * Gets the minimumRequiredAppVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumRequiredAppVersion + */ + public function getMinimumRequiredAppVersion() + { + if (array_key_exists("minimumRequiredAppVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredAppVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumRequiredAppVersion + * + * @return ManagedAppProtection + */ + public function setMinimumRequiredAppVersion($val) + { + $this->_propDict["minimumRequiredAppVersion"] = $val; + return $this; + } + + /** + * Gets the minimumRequiredOsVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @return string|null The minimumRequiredOsVersion + */ + public function getMinimumRequiredOsVersion() + { + if (array_key_exists("minimumRequiredOsVersion", $this->_propDict)) { + return $this->_propDict["minimumRequiredOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumRequiredOsVersion + * Versions less than the specified version will block the managed app from accessing company data. + * + * @param string $val The minimumRequiredOsVersion + * + * @return ManagedAppProtection + */ + public function setMinimumRequiredOsVersion($val) + { + $this->_propDict["minimumRequiredOsVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningAppVersion + * Versions less than the specified version will result in warning message on the managed app. + * + * @return string|null The minimumWarningAppVersion + */ + public function getMinimumWarningAppVersion() + { + if (array_key_exists("minimumWarningAppVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningAppVersion + * Versions less than the specified version will result in warning message on the managed app. + * + * @param string $val The minimumWarningAppVersion + * + * @return ManagedAppProtection + */ + public function setMinimumWarningAppVersion($val) + { + $this->_propDict["minimumWarningAppVersion"] = $val; + return $this; + } + + /** + * Gets the minimumWarningOsVersion + * Versions less than the specified version will result in warning message on the managed app from accessing company data. + * + * @return string|null The minimumWarningOsVersion + */ + public function getMinimumWarningOsVersion() + { + if (array_key_exists("minimumWarningOsVersion", $this->_propDict)) { + return $this->_propDict["minimumWarningOsVersion"]; + } else { + return null; + } + } + + /** + * Sets the minimumWarningOsVersion + * Versions less than the specified version will result in warning message on the managed app from accessing company data. + * + * @param string $val The minimumWarningOsVersion + * + * @return ManagedAppProtection + */ + public function setMinimumWarningOsVersion($val) + { + $this->_propDict["minimumWarningOsVersion"] = $val; + return $this; + } + + /** + * Gets the organizationalCredentialsRequired + * Indicates whether organizational credentials are required for app use. + * + * @return bool|null The organizationalCredentialsRequired + */ + public function getOrganizationalCredentialsRequired() + { + if (array_key_exists("organizationalCredentialsRequired", $this->_propDict)) { + return $this->_propDict["organizationalCredentialsRequired"]; + } else { + return null; + } + } + + /** + * Sets the organizationalCredentialsRequired + * Indicates whether organizational credentials are required for app use. + * + * @param bool $val The organizationalCredentialsRequired + * + * @return ManagedAppProtection + */ + public function setOrganizationalCredentialsRequired($val) + { + $this->_propDict["organizationalCredentialsRequired"] = boolval($val); + return $this; + } + + /** + * Gets the periodBeforePinReset + * TimePeriod before the all-level pin must be reset if PinRequired is set to True. + * + * @return \DateInterval|null The periodBeforePinReset + */ + public function getPeriodBeforePinReset() + { + if (array_key_exists("periodBeforePinReset", $this->_propDict)) { + if (is_a($this->_propDict["periodBeforePinReset"], "\DateInterval") || is_null($this->_propDict["periodBeforePinReset"])) { + return $this->_propDict["periodBeforePinReset"]; + } else { + $this->_propDict["periodBeforePinReset"] = new \DateInterval($this->_propDict["periodBeforePinReset"]); + return $this->_propDict["periodBeforePinReset"]; + } + } + return null; + } + + /** + * Sets the periodBeforePinReset + * TimePeriod before the all-level pin must be reset if PinRequired is set to True. + * + * @param \DateInterval $val The periodBeforePinReset + * + * @return ManagedAppProtection + */ + public function setPeriodBeforePinReset($val) + { + $this->_propDict["periodBeforePinReset"] = $val; + return $this; + } + + /** + * Gets the periodOfflineBeforeAccessCheck + * The period after which access is checked when the device is not connected to the internet. + * + * @return \DateInterval|null The periodOfflineBeforeAccessCheck + */ + public function getPeriodOfflineBeforeAccessCheck() + { + if (array_key_exists("periodOfflineBeforeAccessCheck", $this->_propDict)) { + if (is_a($this->_propDict["periodOfflineBeforeAccessCheck"], "\DateInterval") || is_null($this->_propDict["periodOfflineBeforeAccessCheck"])) { + return $this->_propDict["periodOfflineBeforeAccessCheck"]; + } else { + $this->_propDict["periodOfflineBeforeAccessCheck"] = new \DateInterval($this->_propDict["periodOfflineBeforeAccessCheck"]); + return $this->_propDict["periodOfflineBeforeAccessCheck"]; + } + } + return null; + } + + /** + * Sets the periodOfflineBeforeAccessCheck + * The period after which access is checked when the device is not connected to the internet. + * + * @param \DateInterval $val The periodOfflineBeforeAccessCheck + * + * @return ManagedAppProtection + */ + public function setPeriodOfflineBeforeAccessCheck($val) + { + $this->_propDict["periodOfflineBeforeAccessCheck"] = $val; + return $this; + } + + /** + * Gets the periodOfflineBeforeWipeIsEnforced + * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. + * + * @return \DateInterval|null The periodOfflineBeforeWipeIsEnforced + */ + public function getPeriodOfflineBeforeWipeIsEnforced() + { + if (array_key_exists("periodOfflineBeforeWipeIsEnforced", $this->_propDict)) { + if (is_a($this->_propDict["periodOfflineBeforeWipeIsEnforced"], "\DateInterval") || is_null($this->_propDict["periodOfflineBeforeWipeIsEnforced"])) { + return $this->_propDict["periodOfflineBeforeWipeIsEnforced"]; + } else { + $this->_propDict["periodOfflineBeforeWipeIsEnforced"] = new \DateInterval($this->_propDict["periodOfflineBeforeWipeIsEnforced"]); + return $this->_propDict["periodOfflineBeforeWipeIsEnforced"]; + } + } + return null; + } + + /** + * Sets the periodOfflineBeforeWipeIsEnforced + * The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped. + * + * @param \DateInterval $val The periodOfflineBeforeWipeIsEnforced + * + * @return ManagedAppProtection + */ + public function setPeriodOfflineBeforeWipeIsEnforced($val) + { + $this->_propDict["periodOfflineBeforeWipeIsEnforced"] = $val; + return $this; + } + + /** + * Gets the periodOnlineBeforeAccessCheck + * The period after which access is checked when the device is connected to the internet. + * + * @return \DateInterval|null The periodOnlineBeforeAccessCheck + */ + public function getPeriodOnlineBeforeAccessCheck() + { + if (array_key_exists("periodOnlineBeforeAccessCheck", $this->_propDict)) { + if (is_a($this->_propDict["periodOnlineBeforeAccessCheck"], "\DateInterval") || is_null($this->_propDict["periodOnlineBeforeAccessCheck"])) { + return $this->_propDict["periodOnlineBeforeAccessCheck"]; + } else { + $this->_propDict["periodOnlineBeforeAccessCheck"] = new \DateInterval($this->_propDict["periodOnlineBeforeAccessCheck"]); + return $this->_propDict["periodOnlineBeforeAccessCheck"]; + } + } + return null; + } + + /** + * Sets the periodOnlineBeforeAccessCheck + * The period after which access is checked when the device is connected to the internet. + * + * @param \DateInterval $val The periodOnlineBeforeAccessCheck + * + * @return ManagedAppProtection + */ + public function setPeriodOnlineBeforeAccessCheck($val) + { + $this->_propDict["periodOnlineBeforeAccessCheck"] = $val; + return $this; + } + + /** + * Gets the pinCharacterSet + * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. + * + * @return ManagedAppPinCharacterSet|null The pinCharacterSet + */ + public function getPinCharacterSet() + { + if (array_key_exists("pinCharacterSet", $this->_propDict)) { + if (is_a($this->_propDict["pinCharacterSet"], "\Microsoft\Graph\Model\ManagedAppPinCharacterSet") || is_null($this->_propDict["pinCharacterSet"])) { + return $this->_propDict["pinCharacterSet"]; + } else { + $this->_propDict["pinCharacterSet"] = new ManagedAppPinCharacterSet($this->_propDict["pinCharacterSet"]); + return $this->_propDict["pinCharacterSet"]; + } + } + return null; + } + + /** + * Sets the pinCharacterSet + * Character set which may be used for an app-level pin if PinRequired is set to True. Possible values are: numeric, alphanumericAndSymbol. + * + * @param ManagedAppPinCharacterSet $val The pinCharacterSet + * + * @return ManagedAppProtection + */ + public function setPinCharacterSet($val) + { + $this->_propDict["pinCharacterSet"] = $val; + return $this; + } + + /** + * Gets the pinRequired + * Indicates whether an app-level pin is required. + * + * @return bool|null The pinRequired + */ + public function getPinRequired() + { + if (array_key_exists("pinRequired", $this->_propDict)) { + return $this->_propDict["pinRequired"]; + } else { + return null; + } + } + + /** + * Sets the pinRequired + * Indicates whether an app-level pin is required. + * + * @param bool $val The pinRequired + * + * @return ManagedAppProtection + */ + public function setPinRequired($val) + { + $this->_propDict["pinRequired"] = boolval($val); + return $this; + } + + /** + * Gets the printBlocked + * Indicates whether printing is allowed from managed apps. + * + * @return bool|null The printBlocked + */ + public function getPrintBlocked() + { + if (array_key_exists("printBlocked", $this->_propDict)) { + return $this->_propDict["printBlocked"]; + } else { + return null; + } + } + + /** + * Sets the printBlocked + * Indicates whether printing is allowed from managed apps. + * + * @param bool $val The printBlocked + * + * @return ManagedAppProtection + */ + public function setPrintBlocked($val) + { + $this->_propDict["printBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the saveAsBlocked + * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. + * + * @return bool|null The saveAsBlocked + */ + public function getSaveAsBlocked() + { + if (array_key_exists("saveAsBlocked", $this->_propDict)) { + return $this->_propDict["saveAsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the saveAsBlocked + * Indicates whether users may use the 'Save As' menu item to save a copy of protected files. + * + * @param bool $val The saveAsBlocked + * + * @return ManagedAppProtection + */ + public function setSaveAsBlocked($val) + { + $this->_propDict["saveAsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the simplePinBlocked + * Indicates whether simplePin is blocked. + * + * @return bool|null The simplePinBlocked + */ + public function getSimplePinBlocked() + { + if (array_key_exists("simplePinBlocked", $this->_propDict)) { + return $this->_propDict["simplePinBlocked"]; + } else { + return null; + } + } + + /** + * Sets the simplePinBlocked + * Indicates whether simplePin is blocked. + * + * @param bool $val The simplePinBlocked + * + * @return ManagedAppProtection + */ + public function setSimplePinBlocked($val) + { + $this->_propDict["simplePinBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppRegistration.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppRegistration.php new file mode 100644 index 0000000..ebb4dd6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppRegistration.php @@ -0,0 +1,478 @@ +_propDict)) { + if (is_a($this->_propDict["appIdentifier"], "\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["appIdentifier"])) { + return $this->_propDict["appIdentifier"]; + } else { + $this->_propDict["appIdentifier"] = new MobileAppIdentifier($this->_propDict["appIdentifier"]); + return $this->_propDict["appIdentifier"]; + } + } + return null; + } + + /** + * Sets the appIdentifier + * The app package Identifier + * + * @param MobileAppIdentifier $val The appIdentifier + * + * @return ManagedAppRegistration + */ + public function setAppIdentifier($val) + { + $this->_propDict["appIdentifier"] = $val; + return $this; + } + + /** + * Gets the applicationVersion + * App version + * + * @return string|null The applicationVersion + */ + public function getApplicationVersion() + { + if (array_key_exists("applicationVersion", $this->_propDict)) { + return $this->_propDict["applicationVersion"]; + } else { + return null; + } + } + + /** + * Sets the applicationVersion + * App version + * + * @param string $val The applicationVersion + * + * @return ManagedAppRegistration + */ + public function setApplicationVersion($val) + { + $this->_propDict["applicationVersion"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of creation + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of creation + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedAppRegistration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Host device name + * + * @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 + * Host device name + * + * @param string $val The deviceName + * + * @return ManagedAppRegistration + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceTag + * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. + * + * @return string|null The deviceTag + */ + public function getDeviceTag() + { + if (array_key_exists("deviceTag", $this->_propDict)) { + return $this->_propDict["deviceTag"]; + } else { + return null; + } + } + + /** + * Sets the deviceTag + * App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions. + * + * @param string $val The deviceTag + * + * @return ManagedAppRegistration + */ + public function setDeviceTag($val) + { + $this->_propDict["deviceTag"] = $val; + return $this; + } + + /** + * Gets the deviceType + * Host device type + * + * @return string|null The deviceType + */ + public function getDeviceType() + { + if (array_key_exists("deviceType", $this->_propDict)) { + return $this->_propDict["deviceType"]; + } else { + return null; + } + } + + /** + * Sets the deviceType + * Host device type + * + * @param string $val The deviceType + * + * @return ManagedAppRegistration + */ + public function setDeviceType($val) + { + $this->_propDict["deviceType"] = $val; + return $this; + } + + + /** + * Gets the flaggedReasons + * Zero or more reasons an app registration is flagged. E.g. app running on rooted device + * + * @return array|null The flaggedReasons + */ + public function getFlaggedReasons() + { + if (array_key_exists("flaggedReasons", $this->_propDict)) { + return $this->_propDict["flaggedReasons"]; + } else { + return null; + } + } + + /** + * Sets the flaggedReasons + * Zero or more reasons an app registration is flagged. E.g. app running on rooted device + * + * @param ManagedAppFlaggedReason[] $val The flaggedReasons + * + * @return ManagedAppRegistration + */ + public function setFlaggedReasons($val) + { + $this->_propDict["flaggedReasons"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * Date and time of last the app synced with management service. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * Date and time of last the app synced with management service. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return ManagedAppRegistration + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the managementSdkVersion + * App management SDK version + * + * @return string|null The managementSdkVersion + */ + public function getManagementSdkVersion() + { + if (array_key_exists("managementSdkVersion", $this->_propDict)) { + return $this->_propDict["managementSdkVersion"]; + } else { + return null; + } + } + + /** + * Sets the managementSdkVersion + * App management SDK version + * + * @param string $val The managementSdkVersion + * + * @return ManagedAppRegistration + */ + public function setManagementSdkVersion($val) + { + $this->_propDict["managementSdkVersion"] = $val; + return $this; + } + + /** + * Gets the platformVersion + * Operating System version + * + * @return string|null The platformVersion + */ + public function getPlatformVersion() + { + if (array_key_exists("platformVersion", $this->_propDict)) { + return $this->_propDict["platformVersion"]; + } else { + return null; + } + } + + /** + * Sets the platformVersion + * Operating System version + * + * @param string $val The platformVersion + * + * @return ManagedAppRegistration + */ + public function setPlatformVersion($val) + { + $this->_propDict["platformVersion"] = $val; + return $this; + } + + /** + * Gets the userId + * The user Id to who this app registration belongs. + * + * @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 + * The user Id to who this app registration belongs. + * + * @param string $val The userId + * + * @return ManagedAppRegistration + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppRegistration + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the appliedPolicies + * Zero or more policys already applied on the registered app when it last synchronized with managment service. + * + * @return array|null The appliedPolicies + */ + public function getAppliedPolicies() + { + if (array_key_exists("appliedPolicies", $this->_propDict)) { + return $this->_propDict["appliedPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appliedPolicies + * Zero or more policys already applied on the registered app when it last synchronized with managment service. + * + * @param ManagedAppPolicy[] $val The appliedPolicies + * + * @return ManagedAppRegistration + */ + public function setAppliedPolicies($val) + { + $this->_propDict["appliedPolicies"] = $val; + return $this; + } + + + /** + * Gets the intendedPolicies + * Zero or more policies admin intended for the app as of now. + * + * @return array|null The intendedPolicies + */ + public function getIntendedPolicies() + { + if (array_key_exists("intendedPolicies", $this->_propDict)) { + return $this->_propDict["intendedPolicies"]; + } else { + return null; + } + } + + /** + * Sets the intendedPolicies + * Zero or more policies admin intended for the app as of now. + * + * @param ManagedAppPolicy[] $val The intendedPolicies + * + * @return ManagedAppRegistration + */ + public function setIntendedPolicies($val) + { + $this->_propDict["intendedPolicies"] = $val; + return $this; + } + + + /** + * Gets the operations + * Zero or more long running operations triggered on the app registration. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * Zero or more long running operations triggered on the app registration. + * + * @param ManagedAppOperation[] $val The operations + * + * @return ManagedAppRegistration + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatus.php new file mode 100644 index 0000000..eb755a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatus.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Friendly name of the status report. + * + * @param string $val The displayName + * + * @return ManagedAppStatus + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedAppStatus + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatusRaw.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatusRaw.php new file mode 100644 index 0000000..8557e2b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatusRaw.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * Status report content. + * + * @param string $val The content + * + * @return ManagedAppStatusRaw + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedBrowserType.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedBrowserType.php new file mode 100644 index 0000000..26b4f87 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedBrowserType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["activationLockBypassCode"]; + } else { + return null; + } + } + + /** + * Sets the activationLockBypassCode + * Code that allows the Activation Lock on a device to be bypassed. This property is read-only. + * + * @param string $val The activationLockBypassCode + * + * @return ManagedDevice + */ + public function setActivationLockBypassCode($val) + { + $this->_propDict["activationLockBypassCode"] = $val; + return $this; + } + + /** + * Gets the androidSecurityPatchLevel + * Android security patch level. This property is read-only. + * + * @return string|null The androidSecurityPatchLevel + */ + public function getAndroidSecurityPatchLevel() + { + if (array_key_exists("androidSecurityPatchLevel", $this->_propDict)) { + return $this->_propDict["androidSecurityPatchLevel"]; + } else { + return null; + } + } + + /** + * Sets the androidSecurityPatchLevel + * Android security patch level. This property is read-only. + * + * @param string $val The androidSecurityPatchLevel + * + * @return ManagedDevice + */ + public function setAndroidSecurityPatchLevel($val) + { + $this->_propDict["androidSecurityPatchLevel"] = $val; + return $this; + } + + /** + * Gets the azureADDeviceId + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * + * @return string|null The azureADDeviceId + */ + public function getAzureADDeviceId() + { + if (array_key_exists("azureADDeviceId", $this->_propDict)) { + return $this->_propDict["azureADDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureADDeviceId + * The unique identifier for the Azure Active Directory device. Read only. This property is read-only. + * + * @param string $val The azureADDeviceId + * + * @return ManagedDevice + */ + public function setAzureADDeviceId($val) + { + $this->_propDict["azureADDeviceId"] = $val; + return $this; + } + + /** + * Gets the azureADRegistered + * Whether the device is Azure Active Directory registered. This property is read-only. + * + * @return bool|null The azureADRegistered + */ + public function getAzureADRegistered() + { + if (array_key_exists("azureADRegistered", $this->_propDict)) { + return $this->_propDict["azureADRegistered"]; + } else { + return null; + } + } + + /** + * Sets the azureADRegistered + * Whether the device is Azure Active Directory registered. This property is read-only. + * + * @param bool $val The azureADRegistered + * + * @return ManagedDevice + */ + public function setAzureADRegistered($val) + { + $this->_propDict["azureADRegistered"] = boolval($val); + return $this; + } + + /** + * Gets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires. This property is read-only. + * + * @return \DateTime|null The complianceGracePeriodExpirationDateTime + */ + public function getComplianceGracePeriodExpirationDateTime() + { + if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires. This property is read-only. + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return ManagedDevice + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the complianceState + * Compliance state of the device. This property is read-only. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. + * + * @return ComplianceState|null The complianceState + */ + public function getComplianceState() + { + if (array_key_exists("complianceState", $this->_propDict)) { + if (is_a($this->_propDict["complianceState"], "\Microsoft\Graph\Model\ComplianceState") || is_null($this->_propDict["complianceState"])) { + return $this->_propDict["complianceState"]; + } else { + $this->_propDict["complianceState"] = new ComplianceState($this->_propDict["complianceState"]); + return $this->_propDict["complianceState"]; + } + } + return null; + } + + /** + * Sets the complianceState + * Compliance state of the device. This property is read-only. Possible values are: unknown, compliant, noncompliant, conflict, error, inGracePeriod, configManager. + * + * @param ComplianceState $val The complianceState + * + * @return ManagedDevice + */ + public function setComplianceState($val) + { + $this->_propDict["complianceState"] = $val; + return $this; + } + + /** + * Gets the configurationManagerClientEnabledFeatures + * ConfigrMgr client enabled features. This property is read-only. + * + * @return ConfigurationManagerClientEnabledFeatures|null The configurationManagerClientEnabledFeatures + */ + public function getConfigurationManagerClientEnabledFeatures() + { + if (array_key_exists("configurationManagerClientEnabledFeatures", $this->_propDict)) { + if (is_a($this->_propDict["configurationManagerClientEnabledFeatures"], "\Microsoft\Graph\Model\ConfigurationManagerClientEnabledFeatures") || is_null($this->_propDict["configurationManagerClientEnabledFeatures"])) { + return $this->_propDict["configurationManagerClientEnabledFeatures"]; + } else { + $this->_propDict["configurationManagerClientEnabledFeatures"] = new ConfigurationManagerClientEnabledFeatures($this->_propDict["configurationManagerClientEnabledFeatures"]); + return $this->_propDict["configurationManagerClientEnabledFeatures"]; + } + } + return null; + } + + /** + * Sets the configurationManagerClientEnabledFeatures + * ConfigrMgr client enabled features. This property is read-only. + * + * @param ConfigurationManagerClientEnabledFeatures $val The configurationManagerClientEnabledFeatures + * + * @return ManagedDevice + */ + public function setConfigurationManagerClientEnabledFeatures($val) + { + $this->_propDict["configurationManagerClientEnabledFeatures"] = $val; + return $this; + } + + + /** + * Gets the deviceActionResults + * List of ComplexType deviceActionResult objects. This property is read-only. + * + * @return array|null The deviceActionResults + */ + public function getDeviceActionResults() + { + if (array_key_exists("deviceActionResults", $this->_propDict)) { + return $this->_propDict["deviceActionResults"]; + } else { + return null; + } + } + + /** + * Sets the deviceActionResults + * List of ComplexType deviceActionResult objects. This property is read-only. + * + * @param DeviceActionResult[] $val The deviceActionResults + * + * @return ManagedDevice + */ + public function setDeviceActionResults($val) + { + $this->_propDict["deviceActionResults"] = $val; + return $this; + } + + /** + * Gets the deviceCategoryDisplayName + * Device category display name. This property is read-only. + * + * @return string|null The deviceCategoryDisplayName + */ + public function getDeviceCategoryDisplayName() + { + if (array_key_exists("deviceCategoryDisplayName", $this->_propDict)) { + return $this->_propDict["deviceCategoryDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceCategoryDisplayName + * Device category display name. This property is read-only. + * + * @param string $val The deviceCategoryDisplayName + * + * @return ManagedDevice + */ + public function setDeviceCategoryDisplayName($val) + { + $this->_propDict["deviceCategoryDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceEnrollmentType + * Enrollment type of the device. This property is read-only. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @return DeviceEnrollmentType|null The deviceEnrollmentType + */ + public function getDeviceEnrollmentType() + { + if (array_key_exists("deviceEnrollmentType", $this->_propDict)) { + if (is_a($this->_propDict["deviceEnrollmentType"], "\Microsoft\Graph\Model\DeviceEnrollmentType") || is_null($this->_propDict["deviceEnrollmentType"])) { + return $this->_propDict["deviceEnrollmentType"]; + } else { + $this->_propDict["deviceEnrollmentType"] = new DeviceEnrollmentType($this->_propDict["deviceEnrollmentType"]); + return $this->_propDict["deviceEnrollmentType"]; + } + } + return null; + } + + /** + * Sets the deviceEnrollmentType + * Enrollment type of the device. This property is read-only. Possible values are: unknown, userEnrollment, deviceEnrollmentManager, appleBulkWithUser, appleBulkWithoutUser, windowsAzureADJoin, windowsBulkUserless, windowsAutoEnrollment, windowsBulkAzureDomainJoin, windowsCoManagement, windowsAzureADJoinUsingDeviceAuth, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. + * + * @param DeviceEnrollmentType $val The deviceEnrollmentType + * + * @return ManagedDevice + */ + public function setDeviceEnrollmentType($val) + { + $this->_propDict["deviceEnrollmentType"] = $val; + return $this; + } + + /** + * Gets the deviceHealthAttestationState + * The device health attestation state. This property is read-only. + * + * @return DeviceHealthAttestationState|null The deviceHealthAttestationState + */ + public function getDeviceHealthAttestationState() + { + if (array_key_exists("deviceHealthAttestationState", $this->_propDict)) { + if (is_a($this->_propDict["deviceHealthAttestationState"], "\Microsoft\Graph\Model\DeviceHealthAttestationState") || is_null($this->_propDict["deviceHealthAttestationState"])) { + return $this->_propDict["deviceHealthAttestationState"]; + } else { + $this->_propDict["deviceHealthAttestationState"] = new DeviceHealthAttestationState($this->_propDict["deviceHealthAttestationState"]); + return $this->_propDict["deviceHealthAttestationState"]; + } + } + return null; + } + + /** + * Sets the deviceHealthAttestationState + * The device health attestation state. This property is read-only. + * + * @param DeviceHealthAttestationState $val The deviceHealthAttestationState + * + * @return ManagedDevice + */ + public function setDeviceHealthAttestationState($val) + { + $this->_propDict["deviceHealthAttestationState"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Name of the device. This property is read-only. + * + * @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 + * Name of the device. This property is read-only. + * + * @param string $val The deviceName + * + * @return ManagedDevice + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the deviceRegistrationState + * Device registration state. This property is read-only. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + * + * @return DeviceRegistrationState|null The deviceRegistrationState + */ + public function getDeviceRegistrationState() + { + if (array_key_exists("deviceRegistrationState", $this->_propDict)) { + if (is_a($this->_propDict["deviceRegistrationState"], "\Microsoft\Graph\Model\DeviceRegistrationState") || is_null($this->_propDict["deviceRegistrationState"])) { + return $this->_propDict["deviceRegistrationState"]; + } else { + $this->_propDict["deviceRegistrationState"] = new DeviceRegistrationState($this->_propDict["deviceRegistrationState"]); + return $this->_propDict["deviceRegistrationState"]; + } + } + return null; + } + + /** + * Sets the deviceRegistrationState + * Device registration state. This property is read-only. Possible values are: notRegistered, registered, revoked, keyConflict, approvalPending, certificateReset, notRegisteredPendingEnrollment, unknown. + * + * @param DeviceRegistrationState $val The deviceRegistrationState + * + * @return ManagedDevice + */ + public function setDeviceRegistrationState($val) + { + $this->_propDict["deviceRegistrationState"] = $val; + return $this; + } + + /** + * Gets the easActivated + * Whether the device is Exchange ActiveSync activated. This property is read-only. + * + * @return bool|null The easActivated + */ + public function getEasActivated() + { + if (array_key_exists("easActivated", $this->_propDict)) { + return $this->_propDict["easActivated"]; + } else { + return null; + } + } + + /** + * Sets the easActivated + * Whether the device is Exchange ActiveSync activated. This property is read-only. + * + * @param bool $val The easActivated + * + * @return ManagedDevice + */ + public function setEasActivated($val) + { + $this->_propDict["easActivated"] = boolval($val); + return $this; + } + + /** + * Gets the easActivationDateTime + * Exchange ActivationSync activation time of the device. This property is read-only. + * + * @return \DateTime|null The easActivationDateTime + */ + public function getEasActivationDateTime() + { + if (array_key_exists("easActivationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["easActivationDateTime"], "\DateTime") || is_null($this->_propDict["easActivationDateTime"])) { + return $this->_propDict["easActivationDateTime"]; + } else { + $this->_propDict["easActivationDateTime"] = new \DateTime($this->_propDict["easActivationDateTime"]); + return $this->_propDict["easActivationDateTime"]; + } + } + return null; + } + + /** + * Sets the easActivationDateTime + * Exchange ActivationSync activation time of the device. This property is read-only. + * + * @param \DateTime $val The easActivationDateTime + * + * @return ManagedDevice + */ + public function setEasActivationDateTime($val) + { + $this->_propDict["easActivationDateTime"] = $val; + return $this; + } + + /** + * Gets the easDeviceId + * Exchange ActiveSync Id of the device. This property is read-only. + * + * @return string|null The easDeviceId + */ + public function getEasDeviceId() + { + if (array_key_exists("easDeviceId", $this->_propDict)) { + return $this->_propDict["easDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the easDeviceId + * Exchange ActiveSync Id of the device. This property is read-only. + * + * @param string $val The easDeviceId + * + * @return ManagedDevice + */ + public function setEasDeviceId($val) + { + $this->_propDict["easDeviceId"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Email(s) for the user associated with the device. This property is read-only. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email(s) for the user associated with the device. This property is read-only. + * + * @param string $val The emailAddress + * + * @return ManagedDevice + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the enrolledDateTime + * Enrollment time of the device. This property is read-only. + * + * @return \DateTime|null The enrolledDateTime + */ + public function getEnrolledDateTime() + { + if (array_key_exists("enrolledDateTime", $this->_propDict)) { + if (is_a($this->_propDict["enrolledDateTime"], "\DateTime") || is_null($this->_propDict["enrolledDateTime"])) { + return $this->_propDict["enrolledDateTime"]; + } else { + $this->_propDict["enrolledDateTime"] = new \DateTime($this->_propDict["enrolledDateTime"]); + return $this->_propDict["enrolledDateTime"]; + } + } + return null; + } + + /** + * Sets the enrolledDateTime + * Enrollment time of the device. This property is read-only. + * + * @param \DateTime $val The enrolledDateTime + * + * @return ManagedDevice + */ + public function setEnrolledDateTime($val) + { + $this->_propDict["enrolledDateTime"] = $val; + return $this; + } + + /** + * Gets the ethernetMacAddress + * Ethernet MAC. This property is read-only. + * + * @return string|null The ethernetMacAddress + */ + public function getEthernetMacAddress() + { + if (array_key_exists("ethernetMacAddress", $this->_propDict)) { + return $this->_propDict["ethernetMacAddress"]; + } else { + return null; + } + } + + /** + * Sets the ethernetMacAddress + * Ethernet MAC. This property is read-only. + * + * @param string $val The ethernetMacAddress + * + * @return ManagedDevice + */ + public function setEthernetMacAddress($val) + { + $this->_propDict["ethernetMacAddress"] = $val; + return $this; + } + + /** + * Gets the exchangeAccessState + * The Access State of the device in Exchange. This property is read-only. Possible values are: none, unknown, allowed, blocked, quarantined. + * + * @return DeviceManagementExchangeAccessState|null The exchangeAccessState + */ + public function getExchangeAccessState() + { + if (array_key_exists("exchangeAccessState", $this->_propDict)) { + if (is_a($this->_propDict["exchangeAccessState"], "\Microsoft\Graph\Model\DeviceManagementExchangeAccessState") || is_null($this->_propDict["exchangeAccessState"])) { + return $this->_propDict["exchangeAccessState"]; + } else { + $this->_propDict["exchangeAccessState"] = new DeviceManagementExchangeAccessState($this->_propDict["exchangeAccessState"]); + return $this->_propDict["exchangeAccessState"]; + } + } + return null; + } + + /** + * Sets the exchangeAccessState + * The Access State of the device in Exchange. This property is read-only. Possible values are: none, unknown, allowed, blocked, quarantined. + * + * @param DeviceManagementExchangeAccessState $val The exchangeAccessState + * + * @return ManagedDevice + */ + public function setExchangeAccessState($val) + { + $this->_propDict["exchangeAccessState"] = $val; + return $this; + } + + /** + * Gets the exchangeAccessStateReason + * The reason for the device's access state in Exchange. This property is read-only. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + * + * @return DeviceManagementExchangeAccessStateReason|null The exchangeAccessStateReason + */ + public function getExchangeAccessStateReason() + { + if (array_key_exists("exchangeAccessStateReason", $this->_propDict)) { + if (is_a($this->_propDict["exchangeAccessStateReason"], "\Microsoft\Graph\Model\DeviceManagementExchangeAccessStateReason") || is_null($this->_propDict["exchangeAccessStateReason"])) { + return $this->_propDict["exchangeAccessStateReason"]; + } else { + $this->_propDict["exchangeAccessStateReason"] = new DeviceManagementExchangeAccessStateReason($this->_propDict["exchangeAccessStateReason"]); + return $this->_propDict["exchangeAccessStateReason"]; + } + } + return null; + } + + /** + * Sets the exchangeAccessStateReason + * The reason for the device's access state in Exchange. This property is read-only. Possible values are: none, unknown, exchangeGlobalRule, exchangeIndividualRule, exchangeDeviceRule, exchangeUpgrade, exchangeMailboxPolicy, other, compliant, notCompliant, notEnrolled, unknownLocation, mfaRequired, azureADBlockDueToAccessPolicy, compromisedPassword, deviceNotKnownWithManagedApp. + * + * @param DeviceManagementExchangeAccessStateReason $val The exchangeAccessStateReason + * + * @return ManagedDevice + */ + public function setExchangeAccessStateReason($val) + { + $this->_propDict["exchangeAccessStateReason"] = $val; + return $this; + } + + /** + * Gets the exchangeLastSuccessfulSyncDateTime + * Last time the device contacted Exchange. This property is read-only. + * + * @return \DateTime|null The exchangeLastSuccessfulSyncDateTime + */ + public function getExchangeLastSuccessfulSyncDateTime() + { + if (array_key_exists("exchangeLastSuccessfulSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["exchangeLastSuccessfulSyncDateTime"], "\DateTime") || is_null($this->_propDict["exchangeLastSuccessfulSyncDateTime"])) { + return $this->_propDict["exchangeLastSuccessfulSyncDateTime"]; + } else { + $this->_propDict["exchangeLastSuccessfulSyncDateTime"] = new \DateTime($this->_propDict["exchangeLastSuccessfulSyncDateTime"]); + return $this->_propDict["exchangeLastSuccessfulSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the exchangeLastSuccessfulSyncDateTime + * Last time the device contacted Exchange. This property is read-only. + * + * @param \DateTime $val The exchangeLastSuccessfulSyncDateTime + * + * @return ManagedDevice + */ + public function setExchangeLastSuccessfulSyncDateTime($val) + { + $this->_propDict["exchangeLastSuccessfulSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the freeStorageSpaceInBytes + * Free Storage in Bytes. This property is read-only. + * + * @return int|null The freeStorageSpaceInBytes + */ + public function getFreeStorageSpaceInBytes() + { + if (array_key_exists("freeStorageSpaceInBytes", $this->_propDict)) { + return $this->_propDict["freeStorageSpaceInBytes"]; + } else { + return null; + } + } + + /** + * Sets the freeStorageSpaceInBytes + * Free Storage in Bytes. This property is read-only. + * + * @param int $val The freeStorageSpaceInBytes + * + * @return ManagedDevice + */ + public function setFreeStorageSpaceInBytes($val) + { + $this->_propDict["freeStorageSpaceInBytes"] = intval($val); + return $this; + } + + /** + * Gets the iccid + * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + * + * @return string|null The iccid + */ + public function getIccid() + { + if (array_key_exists("iccid", $this->_propDict)) { + return $this->_propDict["iccid"]; + } else { + return null; + } + } + + /** + * Sets the iccid + * Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only. + * + * @param string $val The iccid + * + * @return ManagedDevice + */ + public function setIccid($val) + { + $this->_propDict["iccid"] = $val; + return $this; + } + + /** + * Gets the imei + * IMEI. This property is read-only. + * + * @return string|null The imei + */ + public function getImei() + { + if (array_key_exists("imei", $this->_propDict)) { + return $this->_propDict["imei"]; + } else { + return null; + } + } + + /** + * Sets the imei + * IMEI. This property is read-only. + * + * @param string $val The imei + * + * @return ManagedDevice + */ + public function setImei($val) + { + $this->_propDict["imei"] = $val; + return $this; + } + + /** + * Gets the isEncrypted + * Device encryption status. This property is read-only. + * + * @return bool|null The isEncrypted + */ + public function getIsEncrypted() + { + if (array_key_exists("isEncrypted", $this->_propDict)) { + return $this->_propDict["isEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the isEncrypted + * Device encryption status. This property is read-only. + * + * @param bool $val The isEncrypted + * + * @return ManagedDevice + */ + public function setIsEncrypted($val) + { + $this->_propDict["isEncrypted"] = boolval($val); + return $this; + } + + /** + * Gets the isSupervised + * Device supervised status. This property is read-only. + * + * @return bool|null The isSupervised + */ + public function getIsSupervised() + { + if (array_key_exists("isSupervised", $this->_propDict)) { + return $this->_propDict["isSupervised"]; + } else { + return null; + } + } + + /** + * Sets the isSupervised + * Device supervised status. This property is read-only. + * + * @param bool $val The isSupervised + * + * @return ManagedDevice + */ + public function setIsSupervised($val) + { + $this->_propDict["isSupervised"] = boolval($val); + return $this; + } + + /** + * Gets the jailBroken + * whether the device is jail broken or rooted. This property is read-only. + * + * @return string|null The jailBroken + */ + public function getJailBroken() + { + if (array_key_exists("jailBroken", $this->_propDict)) { + return $this->_propDict["jailBroken"]; + } else { + return null; + } + } + + /** + * Sets the jailBroken + * whether the device is jail broken or rooted. This property is read-only. + * + * @param string $val The jailBroken + * + * @return ManagedDevice + */ + public function setJailBroken($val) + { + $this->_propDict["jailBroken"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The date and time that the device last completed a successful sync with Intune. This property is read-only. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The date and time that the device last completed a successful sync with Intune. This property is read-only. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return ManagedDevice + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceName + * Automatically generated name to identify a device. Can be overwritten to a user friendly name. + * + * @return string|null The managedDeviceName + */ + public function getManagedDeviceName() + { + if (array_key_exists("managedDeviceName", $this->_propDict)) { + return $this->_propDict["managedDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceName + * Automatically generated name to identify a device. Can be overwritten to a user friendly name. + * + * @param string $val The managedDeviceName + * + * @return ManagedDevice + */ + public function setManagedDeviceName($val) + { + $this->_propDict["managedDeviceName"] = $val; + return $this; + } + + /** + * Gets the managedDeviceOwnerType + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * + * @return ManagedDeviceOwnerType|null The managedDeviceOwnerType + */ + public function getManagedDeviceOwnerType() + { + if (array_key_exists("managedDeviceOwnerType", $this->_propDict)) { + if (is_a($this->_propDict["managedDeviceOwnerType"], "\Microsoft\Graph\Model\ManagedDeviceOwnerType") || is_null($this->_propDict["managedDeviceOwnerType"])) { + return $this->_propDict["managedDeviceOwnerType"]; + } else { + $this->_propDict["managedDeviceOwnerType"] = new ManagedDeviceOwnerType($this->_propDict["managedDeviceOwnerType"]); + return $this->_propDict["managedDeviceOwnerType"]; + } + } + return null; + } + + /** + * Sets the managedDeviceOwnerType + * Ownership of the device. Can be 'company' or 'personal'. Possible values are: unknown, company, personal. + * + * @param ManagedDeviceOwnerType $val The managedDeviceOwnerType + * + * @return ManagedDevice + */ + public function setManagedDeviceOwnerType($val) + { + $this->_propDict["managedDeviceOwnerType"] = $val; + return $this; + } + + /** + * Gets the managementAgent + * Management channel of the device. Intune, EAS, etc. This property is read-only. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. + * + * @return ManagementAgentType|null The managementAgent + */ + public function getManagementAgent() + { + if (array_key_exists("managementAgent", $this->_propDict)) { + if (is_a($this->_propDict["managementAgent"], "\Microsoft\Graph\Model\ManagementAgentType") || is_null($this->_propDict["managementAgent"])) { + return $this->_propDict["managementAgent"]; + } else { + $this->_propDict["managementAgent"] = new ManagementAgentType($this->_propDict["managementAgent"]); + return $this->_propDict["managementAgent"]; + } + } + return null; + } + + /** + * Sets the managementAgent + * Management channel of the device. Intune, EAS, etc. This property is read-only. Possible values are: eas, mdm, easMdm, intuneClient, easIntuneClient, configurationManagerClient, configurationManagerClientMdm, configurationManagerClientMdmEas, unknown, jamf, googleCloudDevicePolicyController, microsoft365ManagedMdm, msSense, intuneAosp. + * + * @param ManagementAgentType $val The managementAgent + * + * @return ManagedDevice + */ + public function setManagementAgent($val) + { + $this->_propDict["managementAgent"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * Manufacturer of the device. This property is read-only. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Manufacturer of the device. This property is read-only. + * + * @param string $val The manufacturer + * + * @return ManagedDevice + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the meid + * MEID. This property is read-only. + * + * @return string|null The meid + */ + public function getMeid() + { + if (array_key_exists("meid", $this->_propDict)) { + return $this->_propDict["meid"]; + } else { + return null; + } + } + + /** + * Sets the meid + * MEID. This property is read-only. + * + * @param string $val The meid + * + * @return ManagedDevice + */ + public function setMeid($val) + { + $this->_propDict["meid"] = $val; + return $this; + } + + /** + * Gets the model + * Model of the device. This property is read-only. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model of the device. This property is read-only. + * + * @param string $val The model + * + * @return ManagedDevice + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes on the device created by IT Admin + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes on the device created by IT Admin + * + * @param string $val The notes + * + * @return ManagedDevice + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * Operating system of the device. Windows, iOS, etc. This property is read-only. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * Operating system of the device. Windows, iOS, etc. This property is read-only. + * + * @param string $val The operatingSystem + * + * @return ManagedDevice + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the osVersion + * Operating system version of the device. This property is read-only. + * + * @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 + * Operating system version of the device. This property is read-only. + * + * @param string $val The osVersion + * + * @return ManagedDevice + */ + public function setOsVersion($val) + { + $this->_propDict["osVersion"] = $val; + return $this; + } + + /** + * Gets the partnerReportedThreatState + * Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only. Possible values are: unknown, activated, deactivated, secured, lowSeverity, mediumSeverity, highSeverity, unresponsive, compromised, misconfigured. + * + * @return ManagedDevicePartnerReportedHealthState|null The partnerReportedThreatState + */ + public function getPartnerReportedThreatState() + { + if (array_key_exists("partnerReportedThreatState", $this->_propDict)) { + if (is_a($this->_propDict["partnerReportedThreatState"], "\Microsoft\Graph\Model\ManagedDevicePartnerReportedHealthState") || is_null($this->_propDict["partnerReportedThreatState"])) { + return $this->_propDict["partnerReportedThreatState"]; + } else { + $this->_propDict["partnerReportedThreatState"] = new ManagedDevicePartnerReportedHealthState($this->_propDict["partnerReportedThreatState"]); + return $this->_propDict["partnerReportedThreatState"]; + } + } + return null; + } + + /** + * Sets the partnerReportedThreatState + * Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only. Possible values are: unknown, activated, deactivated, secured, lowSeverity, mediumSeverity, highSeverity, unresponsive, compromised, misconfigured. + * + * @param ManagedDevicePartnerReportedHealthState $val The partnerReportedThreatState + * + * @return ManagedDevice + */ + public function setPartnerReportedThreatState($val) + { + $this->_propDict["partnerReportedThreatState"] = $val; + return $this; + } + + /** + * Gets the phoneNumber + * Phone number of the device. This property is read-only. + * + * @return string|null The phoneNumber + */ + public function getPhoneNumber() + { + if (array_key_exists("phoneNumber", $this->_propDict)) { + return $this->_propDict["phoneNumber"]; + } else { + return null; + } + } + + /** + * Sets the phoneNumber + * Phone number of the device. This property is read-only. + * + * @param string $val The phoneNumber + * + * @return ManagedDevice + */ + public function setPhoneNumber($val) + { + $this->_propDict["phoneNumber"] = $val; + return $this; + } + + /** + * Gets the physicalMemoryInBytes + * Total Memory in Bytes. This property is read-only. + * + * @return int|null The physicalMemoryInBytes + */ + public function getPhysicalMemoryInBytes() + { + if (array_key_exists("physicalMemoryInBytes", $this->_propDict)) { + return $this->_propDict["physicalMemoryInBytes"]; + } else { + return null; + } + } + + /** + * Sets the physicalMemoryInBytes + * Total Memory in Bytes. This property is read-only. + * + * @param int $val The physicalMemoryInBytes + * + * @return ManagedDevice + */ + public function setPhysicalMemoryInBytes($val) + { + $this->_propDict["physicalMemoryInBytes"] = intval($val); + return $this; + } + + /** + * Gets the remoteAssistanceSessionErrorDetails + * An error string that identifies issues when creating Remote Assistance session objects. This property is read-only. + * + * @return string|null The remoteAssistanceSessionErrorDetails + */ + public function getRemoteAssistanceSessionErrorDetails() + { + if (array_key_exists("remoteAssistanceSessionErrorDetails", $this->_propDict)) { + return $this->_propDict["remoteAssistanceSessionErrorDetails"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistanceSessionErrorDetails + * An error string that identifies issues when creating Remote Assistance session objects. This property is read-only. + * + * @param string $val The remoteAssistanceSessionErrorDetails + * + * @return ManagedDevice + */ + public function setRemoteAssistanceSessionErrorDetails($val) + { + $this->_propDict["remoteAssistanceSessionErrorDetails"] = $val; + return $this; + } + + /** + * Gets the remoteAssistanceSessionUrl + * Url that allows a Remote Assistance session to be established with the device. This property is read-only. + * + * @return string|null The remoteAssistanceSessionUrl + */ + public function getRemoteAssistanceSessionUrl() + { + if (array_key_exists("remoteAssistanceSessionUrl", $this->_propDict)) { + return $this->_propDict["remoteAssistanceSessionUrl"]; + } else { + return null; + } + } + + /** + * Sets the remoteAssistanceSessionUrl + * Url that allows a Remote Assistance session to be established with the device. This property is read-only. + * + * @param string $val The remoteAssistanceSessionUrl + * + * @return ManagedDevice + */ + public function setRemoteAssistanceSessionUrl($val) + { + $this->_propDict["remoteAssistanceSessionUrl"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * SerialNumber. This property is read-only. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * SerialNumber. This property is read-only. + * + * @param string $val The serialNumber + * + * @return ManagedDevice + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the subscriberCarrier + * Subscriber Carrier. This property is read-only. + * + * @return string|null The subscriberCarrier + */ + public function getSubscriberCarrier() + { + if (array_key_exists("subscriberCarrier", $this->_propDict)) { + return $this->_propDict["subscriberCarrier"]; + } else { + return null; + } + } + + /** + * Sets the subscriberCarrier + * Subscriber Carrier. This property is read-only. + * + * @param string $val The subscriberCarrier + * + * @return ManagedDevice + */ + public function setSubscriberCarrier($val) + { + $this->_propDict["subscriberCarrier"] = $val; + return $this; + } + + /** + * Gets the totalStorageSpaceInBytes + * Total Storage in Bytes. This property is read-only. + * + * @return int|null The totalStorageSpaceInBytes + */ + public function getTotalStorageSpaceInBytes() + { + if (array_key_exists("totalStorageSpaceInBytes", $this->_propDict)) { + return $this->_propDict["totalStorageSpaceInBytes"]; + } else { + return null; + } + } + + /** + * Sets the totalStorageSpaceInBytes + * Total Storage in Bytes. This property is read-only. + * + * @param int $val The totalStorageSpaceInBytes + * + * @return ManagedDevice + */ + public function setTotalStorageSpaceInBytes($val) + { + $this->_propDict["totalStorageSpaceInBytes"] = intval($val); + return $this; + } + + /** + * Gets the udid + * Unique Device Identifier for iOS and macOS devices. This property is read-only. + * + * @return string|null The udid + */ + public function getUdid() + { + if (array_key_exists("udid", $this->_propDict)) { + return $this->_propDict["udid"]; + } else { + return null; + } + } + + /** + * Sets the udid + * Unique Device Identifier for iOS and macOS devices. This property is read-only. + * + * @param string $val The udid + * + * @return ManagedDevice + */ + public function setUdid($val) + { + $this->_propDict["udid"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User display name. This property is read-only. + * + * @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 + * User display name. This property is read-only. + * + * @param string $val The userDisplayName + * + * @return ManagedDevice + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userId + * Unique Identifier for the user associated with the device. This property is read-only. + * + * @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 + * Unique Identifier for the user associated with the device. This property is read-only. + * + * @param string $val The userId + * + * @return ManagedDevice + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * Device user principal name. This property is read-only. + * + * @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 + * Device user principal name. This property is read-only. + * + * @param string $val The userPrincipalName + * + * @return ManagedDevice + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the wiFiMacAddress + * Wi-Fi MAC. This property is read-only. + * + * @return string|null The wiFiMacAddress + */ + public function getWiFiMacAddress() + { + if (array_key_exists("wiFiMacAddress", $this->_propDict)) { + return $this->_propDict["wiFiMacAddress"]; + } else { + return null; + } + } + + /** + * Sets the wiFiMacAddress + * Wi-Fi MAC. This property is read-only. + * + * @param string $val The wiFiMacAddress + * + * @return ManagedDevice + */ + public function setWiFiMacAddress($val) + { + $this->_propDict["wiFiMacAddress"] = $val; + return $this; + } + + + /** + * Gets the deviceCompliancePolicyStates + * Device compliance policy states for this device. + * + * @return array|null The deviceCompliancePolicyStates + */ + public function getDeviceCompliancePolicyStates() + { + if (array_key_exists("deviceCompliancePolicyStates", $this->_propDict)) { + return $this->_propDict["deviceCompliancePolicyStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceCompliancePolicyStates + * Device compliance policy states for this device. + * + * @param DeviceCompliancePolicyState[] $val The deviceCompliancePolicyStates + * + * @return ManagedDevice + */ + public function setDeviceCompliancePolicyStates($val) + { + $this->_propDict["deviceCompliancePolicyStates"] = $val; + return $this; + } + + + /** + * Gets the deviceConfigurationStates + * Device configuration states for this device. + * + * @return array|null The deviceConfigurationStates + */ + public function getDeviceConfigurationStates() + { + if (array_key_exists("deviceConfigurationStates", $this->_propDict)) { + return $this->_propDict["deviceConfigurationStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceConfigurationStates + * Device configuration states for this device. + * + * @param DeviceConfigurationState[] $val The deviceConfigurationStates + * + * @return ManagedDevice + */ + public function setDeviceConfigurationStates($val) + { + $this->_propDict["deviceConfigurationStates"] = $val; + return $this; + } + + /** + * Gets the deviceCategory + * Device category + * + * @return DeviceCategory|null The deviceCategory + */ + public function getDeviceCategory() + { + if (array_key_exists("deviceCategory", $this->_propDict)) { + if (is_a($this->_propDict["deviceCategory"], "\Microsoft\Graph\Model\DeviceCategory") || is_null($this->_propDict["deviceCategory"])) { + return $this->_propDict["deviceCategory"]; + } else { + $this->_propDict["deviceCategory"] = new DeviceCategory($this->_propDict["deviceCategory"]); + return $this->_propDict["deviceCategory"]; + } + } + return null; + } + + /** + * Sets the deviceCategory + * Device category + * + * @param DeviceCategory $val The deviceCategory + * + * @return ManagedDevice + */ + public function setDeviceCategory($val) + { + $this->_propDict["deviceCategory"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfiguration.php new file mode 100644 index 0000000..b585d27 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfiguration.php @@ -0,0 +1,365 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Admin provided description of the Device Configuration. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Admin provided description of the Device Configuration. + * + * @param string $val The description + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Admin provided name of the device configuration. + * + * @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 + * Admin provided name of the device configuration. + * + * @param string $val The displayName + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the targetedMobileApps + * the associated app. + * + * @return string|null The targetedMobileApps + */ + public function getTargetedMobileApps() + { + if (array_key_exists("targetedMobileApps", $this->_propDict)) { + return $this->_propDict["targetedMobileApps"]; + } else { + return null; + } + } + + /** + * Sets the targetedMobileApps + * the associated app. + * + * @param string $val The targetedMobileApps + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setTargetedMobileApps($val) + { + $this->_propDict["targetedMobileApps"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the device configuration. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the device configuration. + * + * @param int $val The version + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the assignments + * The list of group assignemenets for app configration. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignemenets for app configration. + * + * @param ManagedDeviceMobileAppConfigurationAssignment[] $val The assignments + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceStatuses + * List of ManagedDeviceMobileAppConfigurationDeviceStatus. + * + * @return array|null The deviceStatuses + */ + public function getDeviceStatuses() + { + if (array_key_exists("deviceStatuses", $this->_propDict)) { + return $this->_propDict["deviceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the deviceStatuses + * List of ManagedDeviceMobileAppConfigurationDeviceStatus. + * + * @param ManagedDeviceMobileAppConfigurationDeviceStatus[] $val The deviceStatuses + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDeviceStatuses($val) + { + $this->_propDict["deviceStatuses"] = $val; + return $this; + } + + /** + * Gets the deviceStatusSummary + * App configuration device status summary. + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary|null The deviceStatusSummary + */ + public function getDeviceStatusSummary() + { + if (array_key_exists("deviceStatusSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceStatusSummary"], "\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationDeviceSummary") || is_null($this->_propDict["deviceStatusSummary"])) { + return $this->_propDict["deviceStatusSummary"]; + } else { + $this->_propDict["deviceStatusSummary"] = new ManagedDeviceMobileAppConfigurationDeviceSummary($this->_propDict["deviceStatusSummary"]); + return $this->_propDict["deviceStatusSummary"]; + } + } + return null; + } + + /** + * Sets the deviceStatusSummary + * App configuration device status summary. + * + * @param ManagedDeviceMobileAppConfigurationDeviceSummary $val The deviceStatusSummary + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setDeviceStatusSummary($val) + { + $this->_propDict["deviceStatusSummary"] = $val; + return $this; + } + + + /** + * Gets the userStatuses + * List of ManagedDeviceMobileAppConfigurationUserStatus. + * + * @return array|null The userStatuses + */ + public function getUserStatuses() + { + if (array_key_exists("userStatuses", $this->_propDict)) { + return $this->_propDict["userStatuses"]; + } else { + return null; + } + } + + /** + * Sets the userStatuses + * List of ManagedDeviceMobileAppConfigurationUserStatus. + * + * @param ManagedDeviceMobileAppConfigurationUserStatus[] $val The userStatuses + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setUserStatuses($val) + { + $this->_propDict["userStatuses"] = $val; + return $this; + } + + /** + * Gets the userStatusSummary + * App configuration user status summary. + * + * @return ManagedDeviceMobileAppConfigurationUserSummary|null The userStatusSummary + */ + public function getUserStatusSummary() + { + if (array_key_exists("userStatusSummary", $this->_propDict)) { + if (is_a($this->_propDict["userStatusSummary"], "\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationUserSummary") || is_null($this->_propDict["userStatusSummary"])) { + return $this->_propDict["userStatusSummary"]; + } else { + $this->_propDict["userStatusSummary"] = new ManagedDeviceMobileAppConfigurationUserSummary($this->_propDict["userStatusSummary"]); + return $this->_propDict["userStatusSummary"]; + } + } + return null; + } + + /** + * Sets the userStatusSummary + * App configuration user status summary. + * + * @param ManagedDeviceMobileAppConfigurationUserSummary $val The userStatusSummary + * + * @return ManagedDeviceMobileAppConfiguration + */ + public function setUserStatusSummary($val) + { + $this->_propDict["userStatusSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationAssignment.php new file mode 100644 index 0000000..06f52da --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Assignment target that the T&C policy is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return ManagedDeviceMobileAppConfigurationAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php new file mode 100644 index 0000000..8b10e21 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php @@ -0,0 +1,242 @@ +_propDict)) { + if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime") || is_null($this->_propDict["complianceGracePeriodExpirationDateTime"])) { + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } else { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = new \DateTime($this->_propDict["complianceGracePeriodExpirationDateTime"]); + return $this->_propDict["complianceGracePeriodExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the complianceGracePeriodExpirationDateTime + * The DateTime when device compliance grace period expires + * + * @param \DateTime $val The complianceGracePeriodExpirationDateTime + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setComplianceGracePeriodExpirationDateTime($val) + { + $this->_propDict["complianceGracePeriodExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @return string|null The deviceDisplayName + */ + public function getDeviceDisplayName() + { + if (array_key_exists("deviceDisplayName", $this->_propDict)) { + return $this->_propDict["deviceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the deviceDisplayName + * Device name of the DevicePolicyStatus. + * + * @param string $val The deviceDisplayName + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setDeviceDisplayName($val) + { + $this->_propDict["deviceDisplayName"] = $val; + return $this; + } + + /** + * Gets the deviceModel + * The device model that is being reported + * + * @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 + * The device model that is being reported + * + * @param string $val The deviceModel + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setDeviceModel($val) + { + $this->_propDict["deviceModel"] = $val; + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userName + * The User Name that is being reported + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * The User Name that is being reported + * + * @param string $val The userName + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return ManagedDeviceMobileAppConfigurationDeviceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php new file mode 100644 index 0000000..016e582 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error devices + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error devices + * + * @param int $val The errorCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed devices + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed devices + * + * @param int $val The failedCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable devices + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable devices + * + * @param int $val The notApplicableCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending devices + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending devices + * + * @param int $val The pendingCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded devices + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded devices + * + * @param int $val The successCount + * + * @return ManagedDeviceMobileAppConfigurationDeviceSummary + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserStatus.php new file mode 100644 index 0000000..8112cab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + return $this->_propDict["devicesCount"]; + } else { + return null; + } + } + + /** + * Sets the devicesCount + * Devices count for that user. + * + * @param int $val The devicesCount + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setDevicesCount($val) + { + $this->_propDict["devicesCount"] = intval($val); + return $this; + } + + /** + * Gets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @return \DateTime|null The lastReportedDateTime + */ + public function getLastReportedDateTime() + { + if (array_key_exists("lastReportedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime") || is_null($this->_propDict["lastReportedDateTime"])) { + return $this->_propDict["lastReportedDateTime"]; + } else { + $this->_propDict["lastReportedDateTime"] = new \DateTime($this->_propDict["lastReportedDateTime"]); + return $this->_propDict["lastReportedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastReportedDateTime + * Last modified date time of the policy report. + * + * @param \DateTime $val The lastReportedDateTime + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setLastReportedDateTime($val) + { + $this->_propDict["lastReportedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @return ComplianceStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ComplianceStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Compliance status of the policy report. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned. + * + * @param ComplianceStatus $val The status + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * User name of the DevicePolicyStatus. + * + * @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 + * User name of the DevicePolicyStatus. + * + * @param string $val The userDisplayName + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * 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 + * UserPrincipalName. + * + * @param string $val The userPrincipalName + * + * @return ManagedDeviceMobileAppConfigurationUserStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserSummary.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserSummary.php new file mode 100644 index 0000000..0c1837f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserSummary.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["configurationVersion"]; + } else { + return null; + } + } + + /** + * Sets the configurationVersion + * Version of the policy for that overview + * + * @param int $val The configurationVersion + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setConfigurationVersion($val) + { + $this->_propDict["configurationVersion"] = intval($val); + return $this; + } + + /** + * Gets the errorCount + * Number of error Users + * + * @return int|null The errorCount + */ + public function getErrorCount() + { + if (array_key_exists("errorCount", $this->_propDict)) { + return $this->_propDict["errorCount"]; + } else { + return null; + } + } + + /** + * Sets the errorCount + * Number of error Users + * + * @param int $val The errorCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setErrorCount($val) + { + $this->_propDict["errorCount"] = intval($val); + return $this; + } + + /** + * Gets the failedCount + * Number of failed Users + * + * @return int|null The failedCount + */ + public function getFailedCount() + { + if (array_key_exists("failedCount", $this->_propDict)) { + return $this->_propDict["failedCount"]; + } else { + return null; + } + } + + /** + * Sets the failedCount + * Number of failed Users + * + * @param int $val The failedCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setFailedCount($val) + { + $this->_propDict["failedCount"] = intval($val); + return $this; + } + + /** + * Gets the lastUpdateDateTime + * Last update time + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * Last update time + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + /** + * Gets the notApplicableCount + * Number of not applicable users + * + * @return int|null The notApplicableCount + */ + public function getNotApplicableCount() + { + if (array_key_exists("notApplicableCount", $this->_propDict)) { + return $this->_propDict["notApplicableCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableCount + * Number of not applicable users + * + * @param int $val The notApplicableCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setNotApplicableCount($val) + { + $this->_propDict["notApplicableCount"] = intval($val); + return $this; + } + + /** + * Gets the pendingCount + * Number of pending Users + * + * @return int|null The pendingCount + */ + public function getPendingCount() + { + if (array_key_exists("pendingCount", $this->_propDict)) { + return $this->_propDict["pendingCount"]; + } else { + return null; + } + } + + /** + * Sets the pendingCount + * Number of pending Users + * + * @param int $val The pendingCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setPendingCount($val) + { + $this->_propDict["pendingCount"] = intval($val); + return $this; + } + + /** + * Gets the successCount + * Number of succeeded Users + * + * @return int|null The successCount + */ + public function getSuccessCount() + { + if (array_key_exists("successCount", $this->_propDict)) { + return $this->_propDict["successCount"]; + } else { + return null; + } + } + + /** + * Sets the successCount + * Number of succeeded Users + * + * @param int $val The successCount + * + * @return ManagedDeviceMobileAppConfigurationUserSummary + */ + public function setSuccessCount($val) + { + $this->_propDict["successCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOverview.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOverview.php new file mode 100644 index 0000000..0944f16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOverview.php @@ -0,0 +1,180 @@ +_propDict)) { + if (is_a($this->_propDict["deviceExchangeAccessStateSummary"], "\Microsoft\Graph\Model\DeviceExchangeAccessStateSummary") || is_null($this->_propDict["deviceExchangeAccessStateSummary"])) { + return $this->_propDict["deviceExchangeAccessStateSummary"]; + } else { + $this->_propDict["deviceExchangeAccessStateSummary"] = new DeviceExchangeAccessStateSummary($this->_propDict["deviceExchangeAccessStateSummary"]); + return $this->_propDict["deviceExchangeAccessStateSummary"]; + } + } + return null; + } + + /** + * Sets the deviceExchangeAccessStateSummary + * Distribution of Exchange Access State in Intune + * + * @param DeviceExchangeAccessStateSummary $val The deviceExchangeAccessStateSummary + * + * @return ManagedDeviceOverview + */ + public function setDeviceExchangeAccessStateSummary($val) + { + $this->_propDict["deviceExchangeAccessStateSummary"] = $val; + return $this; + } + + /** + * Gets the deviceOperatingSystemSummary + * Device operating system summary. + * + * @return DeviceOperatingSystemSummary|null The deviceOperatingSystemSummary + */ + public function getDeviceOperatingSystemSummary() + { + if (array_key_exists("deviceOperatingSystemSummary", $this->_propDict)) { + if (is_a($this->_propDict["deviceOperatingSystemSummary"], "\Microsoft\Graph\Model\DeviceOperatingSystemSummary") || is_null($this->_propDict["deviceOperatingSystemSummary"])) { + return $this->_propDict["deviceOperatingSystemSummary"]; + } else { + $this->_propDict["deviceOperatingSystemSummary"] = new DeviceOperatingSystemSummary($this->_propDict["deviceOperatingSystemSummary"]); + return $this->_propDict["deviceOperatingSystemSummary"]; + } + } + return null; + } + + /** + * Sets the deviceOperatingSystemSummary + * Device operating system summary. + * + * @param DeviceOperatingSystemSummary $val The deviceOperatingSystemSummary + * + * @return ManagedDeviceOverview + */ + public function setDeviceOperatingSystemSummary($val) + { + $this->_propDict["deviceOperatingSystemSummary"] = $val; + return $this; + } + + /** + * Gets the dualEnrolledDeviceCount + * The number of devices enrolled in both MDM and EAS + * + * @return int|null The dualEnrolledDeviceCount + */ + public function getDualEnrolledDeviceCount() + { + if (array_key_exists("dualEnrolledDeviceCount", $this->_propDict)) { + return $this->_propDict["dualEnrolledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the dualEnrolledDeviceCount + * The number of devices enrolled in both MDM and EAS + * + * @param int $val The dualEnrolledDeviceCount + * + * @return ManagedDeviceOverview + */ + public function setDualEnrolledDeviceCount($val) + { + $this->_propDict["dualEnrolledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the enrolledDeviceCount + * Total enrolled device count. Does not include PC devices managed via Intune PC Agent + * + * @return int|null The enrolledDeviceCount + */ + public function getEnrolledDeviceCount() + { + if (array_key_exists("enrolledDeviceCount", $this->_propDict)) { + return $this->_propDict["enrolledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the enrolledDeviceCount + * Total enrolled device count. Does not include PC devices managed via Intune PC Agent + * + * @param int $val The enrolledDeviceCount + * + * @return ManagedDeviceOverview + */ + public function setEnrolledDeviceCount($val) + { + $this->_propDict["enrolledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the mdmEnrolledCount + * The number of devices enrolled in MDM + * + * @return int|null The mdmEnrolledCount + */ + public function getMdmEnrolledCount() + { + if (array_key_exists("mdmEnrolledCount", $this->_propDict)) { + return $this->_propDict["mdmEnrolledCount"]; + } else { + return null; + } + } + + /** + * Sets the mdmEnrolledCount + * The number of devices enrolled in MDM + * + * @param int $val The mdmEnrolledCount + * + * @return ManagedDeviceOverview + */ + public function setMdmEnrolledCount($val) + { + $this->_propDict["mdmEnrolledCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOwnerType.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOwnerType.php new file mode 100644 index 0000000..1e05e99 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOwnerType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the eBook file was created. + * + * @param \DateTime $val The createdDateTime + * + * @return ManagedEBook + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description. + * + * @param string $val The description + * + * @return ManagedEBook + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the eBook. + * + * @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 + * Name of the eBook. + * + * @param string $val The displayName + * + * @return ManagedEBook + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the informationUrl + * The more information Url. + * + * @return string|null The informationUrl + */ + public function getInformationUrl() + { + if (array_key_exists("informationUrl", $this->_propDict)) { + return $this->_propDict["informationUrl"]; + } else { + return null; + } + } + + /** + * Sets the informationUrl + * The more information Url. + * + * @param string $val The informationUrl + * + * @return ManagedEBook + */ + public function setInformationUrl($val) + { + $this->_propDict["informationUrl"] = $val; + return $this; + } + + /** + * Gets the largeCover + * Book cover. + * + * @return MimeContent|null The largeCover + */ + public function getLargeCover() + { + if (array_key_exists("largeCover", $this->_propDict)) { + if (is_a($this->_propDict["largeCover"], "\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["largeCover"])) { + return $this->_propDict["largeCover"]; + } else { + $this->_propDict["largeCover"] = new MimeContent($this->_propDict["largeCover"]); + return $this->_propDict["largeCover"]; + } + } + return null; + } + + /** + * Sets the largeCover + * Book cover. + * + * @param MimeContent $val The largeCover + * + * @return ManagedEBook + */ + public function setLargeCover($val) + { + $this->_propDict["largeCover"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the eBook was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the eBook was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ManagedEBook + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the privacyInformationUrl + * The privacy statement Url. + * + * @return string|null The privacyInformationUrl + */ + public function getPrivacyInformationUrl() + { + if (array_key_exists("privacyInformationUrl", $this->_propDict)) { + return $this->_propDict["privacyInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyInformationUrl + * The privacy statement Url. + * + * @param string $val The privacyInformationUrl + * + * @return ManagedEBook + */ + public function setPrivacyInformationUrl($val) + { + $this->_propDict["privacyInformationUrl"] = $val; + return $this; + } + + /** + * Gets the publishedDateTime + * The date and time when the eBook was published. + * + * @return \DateTime|null The publishedDateTime + */ + public function getPublishedDateTime() + { + if (array_key_exists("publishedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) { + return $this->_propDict["publishedDateTime"]; + } else { + $this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]); + return $this->_propDict["publishedDateTime"]; + } + } + return null; + } + + /** + * Sets the publishedDateTime + * The date and time when the eBook was published. + * + * @param \DateTime $val The publishedDateTime + * + * @return ManagedEBook + */ + public function setPublishedDateTime($val) + { + $this->_propDict["publishedDateTime"] = $val; + return $this; + } + + /** + * Gets the publisher + * Publisher. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * Publisher. + * + * @param string $val The publisher + * + * @return ManagedEBook + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for this eBook. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for this eBook. + * + * @param ManagedEBookAssignment[] $val The assignments + * + * @return ManagedEBook + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * The list of installation states for this eBook. + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * The list of installation states for this eBook. + * + * @param DeviceInstallState[] $val The deviceStates + * + * @return ManagedEBook + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + + /** + * Gets the installSummary + * Mobile App Install Summary. + * + * @return EBookInstallSummary|null The installSummary + */ + public function getInstallSummary() + { + if (array_key_exists("installSummary", $this->_propDict)) { + if (is_a($this->_propDict["installSummary"], "\Microsoft\Graph\Model\EBookInstallSummary") || is_null($this->_propDict["installSummary"])) { + return $this->_propDict["installSummary"]; + } else { + $this->_propDict["installSummary"] = new EBookInstallSummary($this->_propDict["installSummary"]); + return $this->_propDict["installSummary"]; + } + } + return null; + } + + /** + * Sets the installSummary + * Mobile App Install Summary. + * + * @param EBookInstallSummary $val The installSummary + * + * @return ManagedEBook + */ + public function setInstallSummary($val) + { + $this->_propDict["installSummary"] = $val; + return $this; + } + + + /** + * Gets the userStateSummary + * The list of installation states for this eBook. + * + * @return array|null The userStateSummary + */ + public function getUserStateSummary() + { + if (array_key_exists("userStateSummary", $this->_propDict)) { + return $this->_propDict["userStateSummary"]; + } else { + return null; + } + } + + /** + * Sets the userStateSummary + * The list of installation states for this eBook. + * + * @param UserInstallStateSummary[] $val The userStateSummary + * + * @return ManagedEBook + */ + public function setUserStateSummary($val) + { + $this->_propDict["userStateSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedEBookAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedEBookAssignment.php new file mode 100644 index 0000000..a40a2d0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedEBookAssignment.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["installIntent"], "\Microsoft\Graph\Model\InstallIntent") || is_null($this->_propDict["installIntent"])) { + return $this->_propDict["installIntent"]; + } else { + $this->_propDict["installIntent"] = new InstallIntent($this->_propDict["installIntent"]); + return $this->_propDict["installIntent"]; + } + } + return null; + } + + /** + * Sets the installIntent + * The install intent for eBook. Possible values are: available, required, uninstall, availableWithoutEnrollment. + * + * @param InstallIntent $val The installIntent + * + * @return ManagedEBookAssignment + */ + public function setInstallIntent($val) + { + $this->_propDict["installIntent"] = $val; + return $this; + } + + /** + * Gets the target + * The assignment target for eBook. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The assignment target for eBook. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return ManagedEBookAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSLobApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSLobApp.php new file mode 100644 index 0000000..14a9fa9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSLobApp.php @@ -0,0 +1,213 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return ManagedIOSLobApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the buildNumber + * The build number of managed iOS Line of Business (LoB) app. + * + * @return string|null The buildNumber + */ + public function getBuildNumber() + { + if (array_key_exists("buildNumber", $this->_propDict)) { + return $this->_propDict["buildNumber"]; + } else { + return null; + } + } + + /** + * Sets the buildNumber + * The build number of managed iOS Line of Business (LoB) app. + * + * @param string $val The buildNumber + * + * @return ManagedIOSLobApp + */ + public function setBuildNumber($val) + { + $this->_propDict["buildNumber"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The Identity Name. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The Identity Name. + * + * @param string $val The bundleId + * + * @return ManagedIOSLobApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration time. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration time. + * + * @param \DateTime $val The expirationDateTime + * + * @return ManagedIOSLobApp + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedIOSLobApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + + /** + * Gets the versionNumber + * The version number of managed iOS Line of Business (LoB) app. + * + * @return string|null The versionNumber + */ + public function getVersionNumber() + { + if (array_key_exists("versionNumber", $this->_propDict)) { + return $this->_propDict["versionNumber"]; + } else { + return null; + } + } + + /** + * Sets the versionNumber + * The version number of managed iOS Line of Business (LoB) app. + * + * @param string $val The versionNumber + * + * @return ManagedIOSLobApp + */ + public function setVersionNumber($val) + { + $this->_propDict["versionNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSStoreApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSStoreApp.php new file mode 100644 index 0000000..c9a5841 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSStoreApp.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType") || is_null($this->_propDict["applicableDeviceType"])) { + return $this->_propDict["applicableDeviceType"]; + } else { + $this->_propDict["applicableDeviceType"] = new IosDeviceType($this->_propDict["applicableDeviceType"]); + return $this->_propDict["applicableDeviceType"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceType + * The iOS architecture for which this app can run on. + * + * @param IosDeviceType $val The applicableDeviceType + * + * @return ManagedIOSStoreApp + */ + public function setApplicableDeviceType($val) + { + $this->_propDict["applicableDeviceType"] = $val; + return $this; + } + + /** + * Gets the appStoreUrl + * The Apple AppStoreUrl. + * + * @return string|null The appStoreUrl + */ + public function getAppStoreUrl() + { + if (array_key_exists("appStoreUrl", $this->_propDict)) { + return $this->_propDict["appStoreUrl"]; + } else { + return null; + } + } + + /** + * Sets the appStoreUrl + * The Apple AppStoreUrl. + * + * @param string $val The appStoreUrl + * + * @return ManagedIOSStoreApp + */ + public function setAppStoreUrl($val) + { + $this->_propDict["appStoreUrl"] = $val; + return $this; + } + + /** + * Gets the bundleId + * The app's Bundle ID. + * + * @return string|null The bundleId + */ + public function getBundleId() + { + if (array_key_exists("bundleId", $this->_propDict)) { + return $this->_propDict["bundleId"]; + } else { + return null; + } + } + + /** + * Sets the bundleId + * The app's Bundle ID. + * + * @param string $val The bundleId + * + * @return ManagedIOSStoreApp + */ + public function setBundleId($val) + { + $this->_propDict["bundleId"] = $val; + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @return IosMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new IosMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum supported operating system. + * + * @param IosMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return ManagedIOSStoreApp + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileApp.php new file mode 100644 index 0000000..d7cba5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileApp.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["mobileAppIdentifier"], "\Microsoft\Graph\Model\MobileAppIdentifier") || is_null($this->_propDict["mobileAppIdentifier"])) { + return $this->_propDict["mobileAppIdentifier"]; + } else { + $this->_propDict["mobileAppIdentifier"] = new MobileAppIdentifier($this->_propDict["mobileAppIdentifier"]); + return $this->_propDict["mobileAppIdentifier"]; + } + } + return null; + } + + /** + * Sets the mobileAppIdentifier + * The identifier for an app with it's operating system type. + * + * @param MobileAppIdentifier $val The mobileAppIdentifier + * + * @return ManagedMobileApp + */ + public function setMobileAppIdentifier($val) + { + $this->_propDict["mobileAppIdentifier"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return ManagedMobileApp + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileLobApp.php b/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileLobApp.php new file mode 100644 index 0000000..70d724a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileLobApp.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["committedContentVersion"]; + } else { + return null; + } + } + + /** + * Sets the committedContentVersion + * The internal committed content version. + * + * @param string $val The committedContentVersion + * + * @return ManagedMobileLobApp + */ + public function setCommittedContentVersion($val) + { + $this->_propDict["committedContentVersion"] = $val; + return $this; + } + + /** + * Gets the fileName + * The name of the main Lob application file. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The name of the main Lob application file. + * + * @param string $val The fileName + * + * @return ManagedMobileLobApp + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the size + * The total size, including all uploaded files. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The total size, including all uploaded files. + * + * @param int $val The size + * + * @return ManagedMobileLobApp + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + + /** + * Gets the contentVersions + * The list of content versions for this app. + * + * @return array|null The contentVersions + */ + public function getContentVersions() + { + if (array_key_exists("contentVersions", $this->_propDict)) { + return $this->_propDict["contentVersions"]; + } else { + return null; + } + } + + /** + * Sets the contentVersions + * The list of content versions for this app. + * + * @param MobileAppContent[] $val The contentVersions + * + * @return ManagedMobileLobApp + */ + public function setContentVersions($val) + { + $this->_propDict["contentVersions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ManagementAgentType.php b/vendor/microsoft/microsoft-graph/src/Model/ManagementAgentType.php new file mode 100644 index 0000000..a43149b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ManagementAgentType.php @@ -0,0 +1,45 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingAustraliaMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingAustraliaMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Australia. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove15, agesAbove18. + * + * @param RatingAustraliaMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingAustralia The MediaContentRatingAustralia + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Australia. Possible values are: allAllowed, allBlocked, preschoolers, children, general, parentalGuidance, mature, agesAbove15, agesAbove15AdultViolence. + * + * @return RatingAustraliaTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingAustraliaTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingAustraliaTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Australia. Possible values are: allAllowed, allBlocked, preschoolers, children, general, parentalGuidance, mature, agesAbove15, agesAbove15AdultViolence. + * + * @param RatingAustraliaTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingAustralia The MediaContentRatingAustralia + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingCanada.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingCanada.php new file mode 100644 index 0000000..3c7f335 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingCanada.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingCanadaMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingCanadaMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Canada. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove14, agesAbove18, restricted. + * + * @param RatingCanadaMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingCanada The MediaContentRatingCanada + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Canada. Possible values are: allAllowed, allBlocked, children, childrenAbove8, general, parentalGuidance, agesAbove14, agesAbove18. + * + * @return RatingCanadaTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingCanadaTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingCanadaTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Canada. Possible values are: allAllowed, allBlocked, children, childrenAbove8, general, parentalGuidance, agesAbove14, agesAbove18. + * + * @param RatingCanadaTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingCanada The MediaContentRatingCanada + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingFrance.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingFrance.php new file mode 100644 index 0000000..f9df584 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingFrance.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingFranceMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingFranceMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + * + * @param RatingFranceMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingFrance The MediaContentRatingFrance + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + * + * @return RatingFranceTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingFranceTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingFranceTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for France. Possible values are: allAllowed, allBlocked, agesAbove10, agesAbove12, agesAbove16, agesAbove18. + * + * @param RatingFranceTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingFrance The MediaContentRatingFrance + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingGermany.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingGermany.php new file mode 100644 index 0000000..f8d7467 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingGermany.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingGermanyMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingGermanyMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + * + * @param RatingGermanyMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingGermany The MediaContentRatingGermany + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + * + * @return RatingGermanyTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingGermanyTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingGermanyTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Germany. Possible values are: allAllowed, allBlocked, general, agesAbove6, agesAbove12, agesAbove16, adults. + * + * @param RatingGermanyTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingGermany The MediaContentRatingGermany + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingIreland.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingIreland.php new file mode 100644 index 0000000..20b51d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingIreland.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingIrelandMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingIrelandMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove12, agesAbove15, agesAbove16, adults. + * + * @param RatingIrelandMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingIreland The MediaContentRatingIreland + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, children, youngAdults, parentalSupervision, mature. + * + * @return RatingIrelandTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingIrelandTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingIrelandTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Ireland. Possible values are: allAllowed, allBlocked, general, children, youngAdults, parentalSupervision, mature. + * + * @param RatingIrelandTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingIreland The MediaContentRatingIreland + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingJapan.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingJapan.php new file mode 100644 index 0000000..d2aa93b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingJapan.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingJapanMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingJapanMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for Japan. Possible values are: allAllowed, allBlocked, general, parentalGuidance, agesAbove15, agesAbove18. + * + * @param RatingJapanMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingJapan The MediaContentRatingJapan + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for Japan. Possible values are: allAllowed, allBlocked, explicitAllowed. + * + * @return RatingJapanTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingJapanTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingJapanTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for Japan. Possible values are: allAllowed, allBlocked, explicitAllowed. + * + * @param RatingJapanTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingJapan The MediaContentRatingJapan + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingNewZealand.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingNewZealand.php new file mode 100644 index 0000000..84982e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingNewZealand.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingNewZealandMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingNewZealandMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, mature, agesAbove13, agesAbove15, agesAbove16, agesAbove18, restricted, agesAbove16Restricted. + * + * @param RatingNewZealandMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingNewZealand The MediaContentRatingNewZealand + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, adults. + * + * @return RatingNewZealandTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingNewZealandTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingNewZealandTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for New Zealand. Possible values are: allAllowed, allBlocked, general, parentalGuidance, adults. + * + * @param RatingNewZealandTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingNewZealand The MediaContentRatingNewZealand + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedKingdom.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedKingdom.php new file mode 100644 index 0000000..07c116c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedKingdom.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingUnitedKingdomMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingUnitedKingdomMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, general, universalChildren, parentalGuidance, agesAbove12Video, agesAbove12Cinema, agesAbove15, adults. + * + * @param RatingUnitedKingdomMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingUnitedKingdom The MediaContentRatingUnitedKingdom + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, caution. + * + * @return RatingUnitedKingdomTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingUnitedKingdomTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingUnitedKingdomTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for United Kingdom. Possible values are: allAllowed, allBlocked, caution. + * + * @param RatingUnitedKingdomTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingUnitedKingdom The MediaContentRatingUnitedKingdom + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedStates.php b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedStates.php new file mode 100644 index 0000000..55c623b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedStates.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingUnitedStatesMoviesType") || is_null($this->_propDict["movieRating"])) { + return $this->_propDict["movieRating"]; + } else { + $this->_propDict["movieRating"] = new RatingUnitedStatesMoviesType($this->_propDict["movieRating"]); + return $this->_propDict["movieRating"]; + } + } + return null; + } + + /** + * Sets the movieRating + * Movies rating selected for United States. Possible values are: allAllowed, allBlocked, general, parentalGuidance, parentalGuidance13, restricted, adults. + * + * @param RatingUnitedStatesMoviesType $val The value to assign to the movieRating + * + * @return MediaContentRatingUnitedStates The MediaContentRatingUnitedStates + */ + public function setMovieRating($val) + { + $this->_propDict["movieRating"] = $val; + return $this; + } + + /** + * Gets the tvRating + * TV rating selected for United States. Possible values are: allAllowed, allBlocked, childrenAll, childrenAbove7, general, parentalGuidance, childrenAbove14, adults. + * + * @return RatingUnitedStatesTelevisionType|null The tvRating + */ + public function getTvRating() + { + if (array_key_exists("tvRating", $this->_propDict)) { + if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingUnitedStatesTelevisionType") || is_null($this->_propDict["tvRating"])) { + return $this->_propDict["tvRating"]; + } else { + $this->_propDict["tvRating"] = new RatingUnitedStatesTelevisionType($this->_propDict["tvRating"]); + return $this->_propDict["tvRating"]; + } + } + return null; + } + + /** + * Sets the tvRating + * TV rating selected for United States. Possible values are: allAllowed, allBlocked, childrenAll, childrenAbove7, general, parentalGuidance, childrenAbove14, adults. + * + * @param RatingUnitedStatesTelevisionType $val The value to assign to the tvRating + * + * @return MediaContentRatingUnitedStates The MediaContentRatingUnitedStates + */ + public function setTvRating($val) + { + $this->_propDict["tvRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaDirection.php b/vendor/microsoft/microsoft-graph/src/Model/MediaDirection.php new file mode 100644 index 0000000..1f49b92 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaDirection.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * Optional, used to uniquely identity the resource. If passed the prompt uri will be cached against this resourceId as key. + * + * @param string $val The value of the resourceId + * + * @return MediaInfo + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + /** + * Gets the uri + * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate is only supported. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate is only supported. + * + * @param string $val The value of the uri + * + * @return MediaInfo + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaPrompt.php b/vendor/microsoft/microsoft-graph/src/Model/MediaPrompt.php new file mode 100644 index 0000000..6e8bf99 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaPrompt.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["mediaInfo"], "\Microsoft\Graph\Model\MediaInfo") || is_null($this->_propDict["mediaInfo"])) { + return $this->_propDict["mediaInfo"]; + } else { + $this->_propDict["mediaInfo"] = new MediaInfo($this->_propDict["mediaInfo"]); + return $this->_propDict["mediaInfo"]; + } + } + return null; + } + + /** + * Sets the mediaInfo + * The media information. + * + * @param MediaInfo $val The value to assign to the mediaInfo + * + * @return MediaPrompt The MediaPrompt + */ + public function setMediaInfo($val) + { + $this->_propDict["mediaInfo"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MediaState.php b/vendor/microsoft/microsoft-graph/src/Model/MediaState.php new file mode 100644 index 0000000..4568973 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MediaState.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["direction"], "\Microsoft\Graph\Model\MediaDirection") || is_null($this->_propDict["direction"])) { + return $this->_propDict["direction"]; + } else { + $this->_propDict["direction"] = new MediaDirection($this->_propDict["direction"]); + return $this->_propDict["direction"]; + } + } + return null; + } + + /** + * Sets the direction + * The direction. The possible values are inactive, sendOnly, receiveOnly, sendReceive. + * + * @param MediaDirection $val The value to assign to the direction + * + * @return MediaStream The MediaStream + */ + public function setDirection($val) + { + $this->_propDict["direction"] = $val; + return $this; + } + /** + * Gets the label + * The media stream label. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * The media stream label. + * + * @param string $val The value of the label + * + * @return MediaStream + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the mediaType + * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * + * @return Modality|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + if (is_a($this->_propDict["mediaType"], "\Microsoft\Graph\Model\Modality") || is_null($this->_propDict["mediaType"])) { + return $this->_propDict["mediaType"]; + } else { + $this->_propDict["mediaType"] = new Modality($this->_propDict["mediaType"]); + return $this->_propDict["mediaType"]; + } + } + return null; + } + + /** + * Sets the mediaType + * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * + * @param Modality $val The value to assign to the mediaType + * + * @return MediaStream The MediaStream + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + /** + * Gets the serverMuted + * Indicates whether the media is muted by the server. + * + * @return bool|null The serverMuted + */ + public function getServerMuted() + { + if (array_key_exists("serverMuted", $this->_propDict)) { + return $this->_propDict["serverMuted"]; + } else { + return null; + } + } + + /** + * Sets the serverMuted + * Indicates whether the media is muted by the server. + * + * @param bool $val The value of the serverMuted + * + * @return MediaStream + */ + public function setServerMuted($val) + { + $this->_propDict["serverMuted"] = $val; + return $this; + } + /** + * Gets the sourceId + * The source ID. + * + * @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 + * The source ID. + * + * @param string $val The value of the sourceId + * + * @return MediaStream + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MeetingAttendanceReport.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingAttendanceReport.php new file mode 100644 index 0000000..f6eb3ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MeetingAttendanceReport.php @@ -0,0 +1,152 @@ +_propDict)) { + if (is_a($this->_propDict["meetingEndDateTime"], "\DateTime") || is_null($this->_propDict["meetingEndDateTime"])) { + return $this->_propDict["meetingEndDateTime"]; + } else { + $this->_propDict["meetingEndDateTime"] = new \DateTime($this->_propDict["meetingEndDateTime"]); + return $this->_propDict["meetingEndDateTime"]; + } + } + return null; + } + + /** + * Sets the meetingEndDateTime + * UTC time when the meeting ended. Read-only. + * + * @param \DateTime $val The meetingEndDateTime + * + * @return MeetingAttendanceReport + */ + public function setMeetingEndDateTime($val) + { + $this->_propDict["meetingEndDateTime"] = $val; + return $this; + } + + /** + * Gets the meetingStartDateTime + * UTC time when the meeting started. Read-only. + * + * @return \DateTime|null The meetingStartDateTime + */ + public function getMeetingStartDateTime() + { + if (array_key_exists("meetingStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["meetingStartDateTime"], "\DateTime") || is_null($this->_propDict["meetingStartDateTime"])) { + return $this->_propDict["meetingStartDateTime"]; + } else { + $this->_propDict["meetingStartDateTime"] = new \DateTime($this->_propDict["meetingStartDateTime"]); + return $this->_propDict["meetingStartDateTime"]; + } + } + return null; + } + + /** + * Sets the meetingStartDateTime + * UTC time when the meeting started. Read-only. + * + * @param \DateTime $val The meetingStartDateTime + * + * @return MeetingAttendanceReport + */ + public function setMeetingStartDateTime($val) + { + $this->_propDict["meetingStartDateTime"] = $val; + return $this; + } + + /** + * Gets the totalParticipantCount + * Total number of participants. Read-only. + * + * @return int|null The totalParticipantCount + */ + public function getTotalParticipantCount() + { + if (array_key_exists("totalParticipantCount", $this->_propDict)) { + return $this->_propDict["totalParticipantCount"]; + } else { + return null; + } + } + + /** + * Sets the totalParticipantCount + * Total number of participants. Read-only. + * + * @param int $val The totalParticipantCount + * + * @return MeetingAttendanceReport + */ + public function setTotalParticipantCount($val) + { + $this->_propDict["totalParticipantCount"] = intval($val); + return $this; + } + + + /** + * Gets the attendanceRecords + * List of attendance records of an attendance report. Read-only. + * + * @return array|null The attendanceRecords + */ + public function getAttendanceRecords() + { + if (array_key_exists("attendanceRecords", $this->_propDict)) { + return $this->_propDict["attendanceRecords"]; + } else { + return null; + } + } + + /** + * Sets the attendanceRecords + * List of attendance records of an attendance report. Read-only. + * + * @param AttendanceRecord[] $val The attendanceRecords + * + * @return MeetingAttendanceReport + */ + public function setAttendanceRecords($val) + { + $this->_propDict["attendanceRecords"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MeetingChatMode.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingChatMode.php new file mode 100644 index 0000000..619e21e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MeetingChatMode.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * Identity information of the participant. + * + * @param IdentitySet $val The value to assign to the identity + * + * @return MeetingParticipantInfo The MeetingParticipantInfo + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + + /** + * Gets the role + * Specifies the participant's role in the meeting. + * + * @return OnlineMeetingRole|null The role + */ + public function getRole() + { + if (array_key_exists("role", $this->_propDict)) { + if (is_a($this->_propDict["role"], "\Microsoft\Graph\Model\OnlineMeetingRole") || is_null($this->_propDict["role"])) { + return $this->_propDict["role"]; + } else { + $this->_propDict["role"] = new OnlineMeetingRole($this->_propDict["role"]); + return $this->_propDict["role"]; + } + } + return null; + } + + /** + * Sets the role + * Specifies the participant's role in the meeting. + * + * @param OnlineMeetingRole $val The value to assign to the role + * + * @return MeetingParticipantInfo The MeetingParticipantInfo + */ + public function setRole($val) + { + $this->_propDict["role"] = $val; + return $this; + } + /** + * Gets the upn + * User principal name of the participant. + * + * @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 + * User principal name of the participant. + * + * @param string $val The value of the upn + * + * @return MeetingParticipantInfo + */ + public function setUpn($val) + { + $this->_propDict["upn"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MeetingParticipants.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingParticipants.php new file mode 100644 index 0000000..0b613ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MeetingParticipants.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["attendees"], "\Microsoft\Graph\Model\MeetingParticipantInfo") || is_null($this->_propDict["attendees"])) { + return $this->_propDict["attendees"]; + } else { + $this->_propDict["attendees"] = new MeetingParticipantInfo($this->_propDict["attendees"]); + return $this->_propDict["attendees"]; + } + } + return null; + } + + /** + * Sets the attendees + * Information of the meeting attendees. + * + * @param MeetingParticipantInfo $val The value to assign to the attendees + * + * @return MeetingParticipants The MeetingParticipants + */ + public function setAttendees($val) + { + $this->_propDict["attendees"] = $val; + return $this; + } + + /** + * Gets the organizer + * Information of the meeting organizer. + * + * @return MeetingParticipantInfo|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\MeetingParticipantInfo") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new MeetingParticipantInfo($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * Information of the meeting organizer. + * + * @param MeetingParticipantInfo $val The value to assign to the organizer + * + * @return MeetingParticipants The MeetingParticipants + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MeetingPolicyUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingPolicyUpdatedEventMessageDetail.php new file mode 100644 index 0000000..cd77265 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MeetingPolicyUpdatedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.meetingPolicyUpdatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MeetingPolicyUpdatedEventMessageDetail The MeetingPolicyUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the meetingChatEnabled + * Represents whether the meeting chat is enabled or not. + * + * @return bool|null The meetingChatEnabled + */ + public function getMeetingChatEnabled() + { + if (array_key_exists("meetingChatEnabled", $this->_propDict)) { + return $this->_propDict["meetingChatEnabled"]; + } else { + return null; + } + } + + /** + * Sets the meetingChatEnabled + * Represents whether the meeting chat is enabled or not. + * + * @param bool $val The value of the meetingChatEnabled + * + * @return MeetingPolicyUpdatedEventMessageDetail + */ + public function setMeetingChatEnabled($val) + { + $this->_propDict["meetingChatEnabled"] = $val; + return $this; + } + /** + * Gets the meetingChatId + * Unique identifier of the meeting chat. + * + * @return string|null The meetingChatId + */ + public function getMeetingChatId() + { + if (array_key_exists("meetingChatId", $this->_propDict)) { + return $this->_propDict["meetingChatId"]; + } else { + return null; + } + } + + /** + * Sets the meetingChatId + * Unique identifier of the meeting chat. + * + * @param string $val The value of the meetingChatId + * + * @return MeetingPolicyUpdatedEventMessageDetail + */ + public function setMeetingChatId($val) + { + $this->_propDict["meetingChatId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MeetingRequestType.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingRequestType.php new file mode 100644 index 0000000..0fcd606 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MeetingRequestType.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["attendeeAvailability"], "\Microsoft\Graph\Model\AttendeeAvailability") || is_null($this->_propDict["attendeeAvailability"])) { + return $this->_propDict["attendeeAvailability"]; + } else { + $this->_propDict["attendeeAvailability"] = new AttendeeAvailability($this->_propDict["attendeeAvailability"]); + return $this->_propDict["attendeeAvailability"]; + } + } + return null; + } + + /** + * Sets the attendeeAvailability + * An array that shows the availability status of each attendee for this meeting suggestion. + * + * @param AttendeeAvailability $val The value to assign to the attendeeAvailability + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setAttendeeAvailability($val) + { + $this->_propDict["attendeeAvailability"] = $val; + return $this; + } + /** + * Gets the confidence + * A percentage that represents the likelhood of all the attendees attending. + * + * @return float|null The confidence + */ + public function getConfidence() + { + if (array_key_exists("confidence", $this->_propDict)) { + return $this->_propDict["confidence"]; + } else { + return null; + } + } + + /** + * Sets the confidence + * A percentage that represents the likelhood of all the attendees attending. + * + * @param float $val The value of the confidence + * + * @return MeetingTimeSuggestion + */ + public function setConfidence($val) + { + $this->_propDict["confidence"] = $val; + return $this; + } + + /** + * Gets the locations + * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. + * + * @return Location|null The locations + */ + public function getLocations() + { + if (array_key_exists("locations", $this->_propDict)) { + if (is_a($this->_propDict["locations"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["locations"])) { + return $this->_propDict["locations"]; + } else { + $this->_propDict["locations"] = new Location($this->_propDict["locations"]); + return $this->_propDict["locations"]; + } + } + return null; + } + + /** + * Sets the locations + * An array that specifies the name and geographic location of each meeting location for this meeting suggestion. + * + * @param Location $val The value to assign to the locations + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setLocations($val) + { + $this->_propDict["locations"] = $val; + return $this; + } + + /** + * Gets the meetingTimeSlot + * A time period suggested for the meeting. + * + * @return TimeSlot|null The meetingTimeSlot + */ + public function getMeetingTimeSlot() + { + if (array_key_exists("meetingTimeSlot", $this->_propDict)) { + if (is_a($this->_propDict["meetingTimeSlot"], "\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["meetingTimeSlot"])) { + return $this->_propDict["meetingTimeSlot"]; + } else { + $this->_propDict["meetingTimeSlot"] = new TimeSlot($this->_propDict["meetingTimeSlot"]); + return $this->_propDict["meetingTimeSlot"]; + } + } + return null; + } + + /** + * Sets the meetingTimeSlot + * A time period suggested for the meeting. + * + * @param TimeSlot $val The value to assign to the meetingTimeSlot + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setMeetingTimeSlot($val) + { + $this->_propDict["meetingTimeSlot"] = $val; + return $this; + } + /** + * Gets the order + * Order of meeting time suggestions sorted by their computed confidence value from high to low, then by chronology if there are suggestions with the same confidence. + * + * @return int|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * Order of meeting time suggestions sorted by their computed confidence value from high to low, then by chronology if there are suggestions with the same confidence. + * + * @param int $val The value of the order + * + * @return MeetingTimeSuggestion + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } + + /** + * Gets the organizerAvailability + * Availability of the meeting organizer for this meeting suggestion. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @return FreeBusyStatus|null The organizerAvailability + */ + public function getOrganizerAvailability() + { + if (array_key_exists("organizerAvailability", $this->_propDict)) { + if (is_a($this->_propDict["organizerAvailability"], "\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["organizerAvailability"])) { + return $this->_propDict["organizerAvailability"]; + } else { + $this->_propDict["organizerAvailability"] = new FreeBusyStatus($this->_propDict["organizerAvailability"]); + return $this->_propDict["organizerAvailability"]; + } + } + return null; + } + + /** + * Sets the organizerAvailability + * Availability of the meeting organizer for this meeting suggestion. Possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @param FreeBusyStatus $val The value to assign to the organizerAvailability + * + * @return MeetingTimeSuggestion The MeetingTimeSuggestion + */ + public function setOrganizerAvailability($val) + { + $this->_propDict["organizerAvailability"] = $val; + return $this; + } + /** + * Gets the suggestionReason + * Reason for suggesting the meeting time. + * + * @return string|null The suggestionReason + */ + public function getSuggestionReason() + { + if (array_key_exists("suggestionReason", $this->_propDict)) { + return $this->_propDict["suggestionReason"]; + } else { + return null; + } + } + + /** + * Sets the suggestionReason + * Reason for suggesting the meeting time. + * + * @param string $val The value of the suggestionReason + * + * @return MeetingTimeSuggestion + */ + public function setSuggestionReason($val) + { + $this->_propDict["suggestionReason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MeetingTimeSuggestionsResult.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingTimeSuggestionsResult.php new file mode 100644 index 0000000..221c992 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MeetingTimeSuggestionsResult.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["emptySuggestionsReason"]; + } else { + return null; + } + } + + /** + * Sets the emptySuggestionsReason + * A reason for not returning any meeting suggestions. Possible values are: attendeesUnavailable, attendeesUnavailableOrUnknown, locationsUnavailable, organizerUnavailable, or unknown. This property is an empty string if the meetingTimeSuggestions property does include any meeting suggestions. + * + * @param string $val The value of the emptySuggestionsReason + * + * @return MeetingTimeSuggestionsResult + */ + public function setEmptySuggestionsReason($val) + { + $this->_propDict["emptySuggestionsReason"] = $val; + return $this; + } + + /** + * Gets the meetingTimeSuggestions + * An array of meeting suggestions. + * + * @return MeetingTimeSuggestion|null The meetingTimeSuggestions + */ + public function getMeetingTimeSuggestions() + { + if (array_key_exists("meetingTimeSuggestions", $this->_propDict)) { + if (is_a($this->_propDict["meetingTimeSuggestions"], "\Microsoft\Graph\Model\MeetingTimeSuggestion") || is_null($this->_propDict["meetingTimeSuggestions"])) { + return $this->_propDict["meetingTimeSuggestions"]; + } else { + $this->_propDict["meetingTimeSuggestions"] = new MeetingTimeSuggestion($this->_propDict["meetingTimeSuggestions"]); + return $this->_propDict["meetingTimeSuggestions"]; + } + } + return null; + } + + /** + * Sets the meetingTimeSuggestions + * An array of meeting suggestions. + * + * @param MeetingTimeSuggestion $val The value to assign to the meetingTimeSuggestions + * + * @return MeetingTimeSuggestionsResult The MeetingTimeSuggestionsResult + */ + public function setMeetingTimeSuggestions($val) + { + $this->_propDict["meetingTimeSuggestions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MembersAddedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/MembersAddedEventMessageDetail.php new file mode 100644 index 0000000..1266a34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MembersAddedEventMessageDetail.php @@ -0,0 +1,136 @@ +setODataType("#microsoft.graph.membersAddedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersAddedEventMessageDetail The MembersAddedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members added. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members added. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersAddedEventMessageDetail The MembersAddedEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + /** + * Gets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation members. + * + * @return \DateTime|null The visibleHistoryStartDateTime + */ + public function getVisibleHistoryStartDateTime() + { + if (array_key_exists("visibleHistoryStartDateTime", $this->_propDict)) { + if (is_a($this->_propDict["visibleHistoryStartDateTime"], "\DateTime") || is_null($this->_propDict["visibleHistoryStartDateTime"])) { + return $this->_propDict["visibleHistoryStartDateTime"]; + } else { + $this->_propDict["visibleHistoryStartDateTime"] = new \DateTime($this->_propDict["visibleHistoryStartDateTime"]); + return $this->_propDict["visibleHistoryStartDateTime"]; + } + } + return null; + } + + /** + * Sets the visibleHistoryStartDateTime + * The timestamp denoting how far back a conversation's history is shared with the conversation members. + * + * @param \DateTime $val The value to assign to the visibleHistoryStartDateTime + * + * @return MembersAddedEventMessageDetail The MembersAddedEventMessageDetail + */ + public function setVisibleHistoryStartDateTime($val) + { + $this->_propDict["visibleHistoryStartDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MembersDeletedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/MembersDeletedEventMessageDetail.php new file mode 100644 index 0000000..3bb5443 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MembersDeletedEventMessageDetail.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.membersDeletedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersDeletedEventMessageDetail The MembersDeletedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members deleted. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members deleted. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersDeletedEventMessageDetail The MembersDeletedEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MembersJoinedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/MembersJoinedEventMessageDetail.php new file mode 100644 index 0000000..0fc6556 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MembersJoinedEventMessageDetail.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.membersJoinedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersJoinedEventMessageDetail The MembersJoinedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members who joined the chat. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members who joined the chat. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersJoinedEventMessageDetail The MembersJoinedEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MembersLeftEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/MembersLeftEventMessageDetail.php new file mode 100644 index 0000000..9e841d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MembersLeftEventMessageDetail.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.membersLeftEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return MembersLeftEventMessageDetail The MembersLeftEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the members + * List of members who left the chat. + * + * @return TeamworkUserIdentity|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + if (is_a($this->_propDict["members"], "\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["members"])) { + return $this->_propDict["members"]; + } else { + $this->_propDict["members"] = new TeamworkUserIdentity($this->_propDict["members"]); + return $this->_propDict["members"]; + } + } + return null; + } + + /** + * Sets the members + * List of members who left the chat. + * + * @param TeamworkUserIdentity $val The value to assign to the members + * + * @return MembersLeftEventMessageDetail The MembersLeftEventMessageDetail + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Message.php b/vendor/microsoft/microsoft-graph/src/Model/Message.php new file mode 100644 index 0000000..cd8d611 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Message.php @@ -0,0 +1,912 @@ +_propDict)) { + return $this->_propDict["bccRecipients"]; + } else { + return null; + } + } + + /** + * Sets the bccRecipients + * The Bcc: recipients for the message. + * + * @param Recipient[] $val The bccRecipients + * + * @return Message + */ + public function setBccRecipients($val) + { + $this->_propDict["bccRecipients"] = $val; + return $this; + } + + /** + * Gets the body + * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body. + * + * @param ItemBody $val The body + * + * @return Message + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the bodyPreview + * The first 255 characters of the message body. It is in text format. If the message contains instances of mention, this property would contain a concatenation of these mentions as well. + * + * @return string|null The bodyPreview + */ + public function getBodyPreview() + { + if (array_key_exists("bodyPreview", $this->_propDict)) { + return $this->_propDict["bodyPreview"]; + } else { + return null; + } + } + + /** + * Sets the bodyPreview + * The first 255 characters of the message body. It is in text format. If the message contains instances of mention, this property would contain a concatenation of these mentions as well. + * + * @param string $val The bodyPreview + * + * @return Message + */ + public function setBodyPreview($val) + { + $this->_propDict["bodyPreview"] = $val; + return $this; + } + + + /** + * Gets the ccRecipients + * The Cc: recipients for the message. + * + * @return array|null The ccRecipients + */ + public function getCcRecipients() + { + if (array_key_exists("ccRecipients", $this->_propDict)) { + return $this->_propDict["ccRecipients"]; + } else { + return null; + } + } + + /** + * Sets the ccRecipients + * The Cc: recipients for the message. + * + * @param Recipient[] $val The ccRecipients + * + * @return Message + */ + public function setCcRecipients($val) + { + $this->_propDict["ccRecipients"] = $val; + return $this; + } + + /** + * Gets the conversationId + * The ID of the conversation the email belongs to. + * + * @return string|null The conversationId + */ + public function getConversationId() + { + if (array_key_exists("conversationId", $this->_propDict)) { + return $this->_propDict["conversationId"]; + } else { + return null; + } + } + + /** + * Sets the conversationId + * The ID of the conversation the email belongs to. + * + * @param string $val The conversationId + * + * @return Message + */ + public function setConversationId($val) + { + $this->_propDict["conversationId"] = $val; + return $this; + } + + /** + * Gets the conversationIndex + * Indicates the position of the message within the conversation. + * + * @return \GuzzleHttp\Psr7\Stream|null The conversationIndex + */ + public function getConversationIndex() + { + if (array_key_exists("conversationIndex", $this->_propDict)) { + if (is_a($this->_propDict["conversationIndex"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["conversationIndex"])) { + return $this->_propDict["conversationIndex"]; + } else { + $this->_propDict["conversationIndex"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["conversationIndex"]); + return $this->_propDict["conversationIndex"]; + } + } + return null; + } + + /** + * Sets the conversationIndex + * Indicates the position of the message within the conversation. + * + * @param \GuzzleHttp\Psr7\Stream $val The conversationIndex + * + * @return Message + */ + public function setConversationIndex($val) + { + $this->_propDict["conversationIndex"] = $val; + return $this; + } + + /** + * Gets the flag + * The flag value that indicates the status, start date, due date, or completion date for the message. + * + * @return FollowupFlag|null The flag + */ + public function getFlag() + { + if (array_key_exists("flag", $this->_propDict)) { + if (is_a($this->_propDict["flag"], "\Microsoft\Graph\Model\FollowupFlag") || is_null($this->_propDict["flag"])) { + return $this->_propDict["flag"]; + } else { + $this->_propDict["flag"] = new FollowupFlag($this->_propDict["flag"]); + return $this->_propDict["flag"]; + } + } + return null; + } + + /** + * Sets the flag + * The flag value that indicates the status, start date, due date, or completion date for the message. + * + * @param FollowupFlag $val The flag + * + * @return Message + */ + public function setFlag($val) + { + $this->_propDict["flag"] = $val; + return $this; + } + + /** + * Gets the from + * The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + * + * @return Recipient|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new Recipient($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. + * + * @param Recipient $val The from + * + * @return Message + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as &lt;IMG src='cid:image001.jpg@01D26CD8.6C05F070'&gt;. + * + * @param bool $val The hasAttachments + * + * @return Message + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the importance + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * + * @param Importance $val The importance + * + * @return Message + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the inferenceClassification + * + * @return InferenceClassificationType|null The inferenceClassification + */ + public function getInferenceClassification() + { + if (array_key_exists("inferenceClassification", $this->_propDict)) { + if (is_a($this->_propDict["inferenceClassification"], "\Microsoft\Graph\Model\InferenceClassificationType") || is_null($this->_propDict["inferenceClassification"])) { + return $this->_propDict["inferenceClassification"]; + } else { + $this->_propDict["inferenceClassification"] = new InferenceClassificationType($this->_propDict["inferenceClassification"]); + return $this->_propDict["inferenceClassification"]; + } + } + return null; + } + + /** + * Sets the inferenceClassification + * + * @param InferenceClassificationType $val The inferenceClassification + * + * @return Message + */ + public function setInferenceClassification($val) + { + $this->_propDict["inferenceClassification"] = $val; + return $this; + } + + + /** + * Gets the internetMessageHeaders + * + * @return array|null The internetMessageHeaders + */ + public function getInternetMessageHeaders() + { + if (array_key_exists("internetMessageHeaders", $this->_propDict)) { + return $this->_propDict["internetMessageHeaders"]; + } else { + return null; + } + } + + /** + * Sets the internetMessageHeaders + * + * @param InternetMessageHeader[] $val The internetMessageHeaders + * + * @return Message + */ + public function setInternetMessageHeaders($val) + { + $this->_propDict["internetMessageHeaders"] = $val; + return $this; + } + + /** + * Gets the internetMessageId + * + * @return string|null The internetMessageId + */ + public function getInternetMessageId() + { + if (array_key_exists("internetMessageId", $this->_propDict)) { + return $this->_propDict["internetMessageId"]; + } else { + return null; + } + } + + /** + * Sets the internetMessageId + * + * @param string $val The internetMessageId + * + * @return Message + */ + public function setInternetMessageId($val) + { + $this->_propDict["internetMessageId"] = $val; + return $this; + } + + /** + * Gets the isDeliveryReceiptRequested + * + * @return bool|null The isDeliveryReceiptRequested + */ + public function getIsDeliveryReceiptRequested() + { + if (array_key_exists("isDeliveryReceiptRequested", $this->_propDict)) { + return $this->_propDict["isDeliveryReceiptRequested"]; + } else { + return null; + } + } + + /** + * Sets the isDeliveryReceiptRequested + * + * @param bool $val The isDeliveryReceiptRequested + * + * @return Message + */ + public function setIsDeliveryReceiptRequested($val) + { + $this->_propDict["isDeliveryReceiptRequested"] = boolval($val); + return $this; + } + + /** + * Gets the isDraft + * + * @return bool|null The isDraft + */ + public function getIsDraft() + { + if (array_key_exists("isDraft", $this->_propDict)) { + return $this->_propDict["isDraft"]; + } else { + return null; + } + } + + /** + * Sets the isDraft + * + * @param bool $val The isDraft + * + * @return Message + */ + public function setIsDraft($val) + { + $this->_propDict["isDraft"] = boolval($val); + return $this; + } + + /** + * Gets the isRead + * + * @return bool|null The isRead + */ + public function getIsRead() + { + if (array_key_exists("isRead", $this->_propDict)) { + return $this->_propDict["isRead"]; + } else { + return null; + } + } + + /** + * Sets the isRead + * + * @param bool $val The isRead + * + * @return Message + */ + public function setIsRead($val) + { + $this->_propDict["isRead"] = boolval($val); + return $this; + } + + /** + * Gets the isReadReceiptRequested + * + * @return bool|null The isReadReceiptRequested + */ + public function getIsReadReceiptRequested() + { + if (array_key_exists("isReadReceiptRequested", $this->_propDict)) { + return $this->_propDict["isReadReceiptRequested"]; + } else { + return null; + } + } + + /** + * Sets the isReadReceiptRequested + * + * @param bool $val The isReadReceiptRequested + * + * @return Message + */ + public function setIsReadReceiptRequested($val) + { + $this->_propDict["isReadReceiptRequested"] = boolval($val); + return $this; + } + + /** + * Gets the parentFolderId + * + * @return string|null The parentFolderId + */ + public function getParentFolderId() + { + if (array_key_exists("parentFolderId", $this->_propDict)) { + return $this->_propDict["parentFolderId"]; + } else { + return null; + } + } + + /** + * Sets the parentFolderId + * + * @param string $val The parentFolderId + * + * @return Message + */ + public function setParentFolderId($val) + { + $this->_propDict["parentFolderId"] = $val; + return $this; + } + + /** + * Gets the receivedDateTime + * + * @return \DateTime|null The receivedDateTime + */ + public function getReceivedDateTime() + { + if (array_key_exists("receivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["receivedDateTime"], "\DateTime") || is_null($this->_propDict["receivedDateTime"])) { + return $this->_propDict["receivedDateTime"]; + } else { + $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); + return $this->_propDict["receivedDateTime"]; + } + } + return null; + } + + /** + * Sets the receivedDateTime + * + * @param \DateTime $val The receivedDateTime + * + * @return Message + */ + public function setReceivedDateTime($val) + { + $this->_propDict["receivedDateTime"] = $val; + return $this; + } + + + /** + * Gets the replyTo + * + * @return array|null The replyTo + */ + public function getReplyTo() + { + if (array_key_exists("replyTo", $this->_propDict)) { + return $this->_propDict["replyTo"]; + } else { + return null; + } + } + + /** + * Sets the replyTo + * + * @param Recipient[] $val The replyTo + * + * @return Message + */ + public function setReplyTo($val) + { + $this->_propDict["replyTo"] = $val; + return $this; + } + + /** + * Gets the sender + * + * @return Recipient|null The sender + */ + public function getSender() + { + if (array_key_exists("sender", $this->_propDict)) { + if (is_a($this->_propDict["sender"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["sender"])) { + return $this->_propDict["sender"]; + } else { + $this->_propDict["sender"] = new Recipient($this->_propDict["sender"]); + return $this->_propDict["sender"]; + } + } + return null; + } + + /** + * Sets the sender + * + * @param Recipient $val The sender + * + * @return Message + */ + public function setSender($val) + { + $this->_propDict["sender"] = $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 sentDateTime + * + * @return Message + */ + public function setSentDateTime($val) + { + $this->_propDict["sentDateTime"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return Message + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the toRecipients + * + * @return array|null The toRecipients + */ + public function getToRecipients() + { + if (array_key_exists("toRecipients", $this->_propDict)) { + return $this->_propDict["toRecipients"]; + } else { + return null; + } + } + + /** + * Sets the toRecipients + * + * @param Recipient[] $val The toRecipients + * + * @return Message + */ + public function setToRecipients($val) + { + $this->_propDict["toRecipients"] = $val; + return $this; + } + + /** + * Gets the uniqueBody + * + * @return ItemBody|null The uniqueBody + */ + public function getUniqueBody() + { + if (array_key_exists("uniqueBody", $this->_propDict)) { + if (is_a($this->_propDict["uniqueBody"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["uniqueBody"])) { + return $this->_propDict["uniqueBody"]; + } else { + $this->_propDict["uniqueBody"] = new ItemBody($this->_propDict["uniqueBody"]); + return $this->_propDict["uniqueBody"]; + } + } + return null; + } + + /** + * Sets the uniqueBody + * + * @param ItemBody $val The uniqueBody + * + * @return Message + */ + public function setUniqueBody($val) + { + $this->_propDict["uniqueBody"] = $val; + return $this; + } + + /** + * Gets the webLink + * + * @return string|null The webLink + */ + public function getWebLink() + { + if (array_key_exists("webLink", $this->_propDict)) { + return $this->_propDict["webLink"]; + } else { + return null; + } + } + + /** + * Sets the webLink + * + * @param string $val The webLink + * + * @return Message + */ + public function setWebLink($val) + { + $this->_propDict["webLink"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The fileAttachment and itemAttachment attachments for the message. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The fileAttachment and itemAttachment attachments for the message. + * + * @param Attachment[] $val The attachments + * + * @return Message + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the message. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the message. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Message + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the message. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the message. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Message + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the message. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the message. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Message + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MessageActionFlag.php b/vendor/microsoft/microsoft-graph/src/Model/MessageActionFlag.php new file mode 100644 index 0000000..a9fa246 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MessageActionFlag.php @@ -0,0 +1,43 @@ +_propDict)) { + if (is_a($this->_propDict["actions"], "\Microsoft\Graph\Model\MessageRuleActions") || is_null($this->_propDict["actions"])) { + return $this->_propDict["actions"]; + } else { + $this->_propDict["actions"] = new MessageRuleActions($this->_propDict["actions"]); + return $this->_propDict["actions"]; + } + } + return null; + } + + /** + * Sets the actions + * Actions to be taken on a message when the corresponding conditions are fulfilled. + * + * @param MessageRuleActions $val The actions + * + * @return MessageRule + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the conditions + * Conditions that when fulfilled, will trigger the corresponding actions for that rule. + * + * @return MessageRulePredicates|null The conditions + */ + public function getConditions() + { + if (array_key_exists("conditions", $this->_propDict)) { + if (is_a($this->_propDict["conditions"], "\Microsoft\Graph\Model\MessageRulePredicates") || is_null($this->_propDict["conditions"])) { + return $this->_propDict["conditions"]; + } else { + $this->_propDict["conditions"] = new MessageRulePredicates($this->_propDict["conditions"]); + return $this->_propDict["conditions"]; + } + } + return null; + } + + /** + * Sets the conditions + * Conditions that when fulfilled, will trigger the corresponding actions for that rule. + * + * @param MessageRulePredicates $val The conditions + * + * @return MessageRule + */ + public function setConditions($val) + { + $this->_propDict["conditions"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name of the rule. + * + * @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 + * The display name of the rule. + * + * @param string $val The displayName + * + * @return MessageRule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the exceptions + * Exception conditions for the rule. + * + * @return MessageRulePredicates|null The exceptions + */ + public function getExceptions() + { + if (array_key_exists("exceptions", $this->_propDict)) { + if (is_a($this->_propDict["exceptions"], "\Microsoft\Graph\Model\MessageRulePredicates") || is_null($this->_propDict["exceptions"])) { + return $this->_propDict["exceptions"]; + } else { + $this->_propDict["exceptions"] = new MessageRulePredicates($this->_propDict["exceptions"]); + return $this->_propDict["exceptions"]; + } + } + return null; + } + + /** + * Sets the exceptions + * Exception conditions for the rule. + * + * @param MessageRulePredicates $val The exceptions + * + * @return MessageRule + */ + public function setExceptions($val) + { + $this->_propDict["exceptions"] = $val; + return $this; + } + + /** + * Gets the hasError + * Indicates whether the rule is in an error condition. Read-only. + * + * @return bool|null The hasError + */ + public function getHasError() + { + if (array_key_exists("hasError", $this->_propDict)) { + return $this->_propDict["hasError"]; + } else { + return null; + } + } + + /** + * Sets the hasError + * Indicates whether the rule is in an error condition. Read-only. + * + * @param bool $val The hasError + * + * @return MessageRule + */ + public function setHasError($val) + { + $this->_propDict["hasError"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the rule is enabled to be applied to messages. + * + * @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 + * Indicates whether the rule is enabled to be applied to messages. + * + * @param bool $val The isEnabled + * + * @return MessageRule + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the isReadOnly + * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. + * + * @return bool|null The isReadOnly + */ + public function getIsReadOnly() + { + if (array_key_exists("isReadOnly", $this->_propDict)) { + return $this->_propDict["isReadOnly"]; + } else { + return null; + } + } + + /** + * Sets the isReadOnly + * Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. + * + * @param bool $val The isReadOnly + * + * @return MessageRule + */ + public function setIsReadOnly($val) + { + $this->_propDict["isReadOnly"] = boolval($val); + return $this; + } + + /** + * Gets the sequence + * Indicates the order in which the rule is executed, among other rules. + * + * @return int|null The sequence + */ + public function getSequence() + { + if (array_key_exists("sequence", $this->_propDict)) { + return $this->_propDict["sequence"]; + } else { + return null; + } + } + + /** + * Sets the sequence + * Indicates the order in which the rule is executed, among other rules. + * + * @param int $val The sequence + * + * @return MessageRule + */ + public function setSequence($val) + { + $this->_propDict["sequence"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MessageRuleActions.php b/vendor/microsoft/microsoft-graph/src/Model/MessageRuleActions.php new file mode 100644 index 0000000..e10abb0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MessageRuleActions.php @@ -0,0 +1,354 @@ +_propDict)) { + return $this->_propDict["assignCategories"]; + } else { + return null; + } + } + + /** + * Sets the assignCategories + * A list of categories to be assigned to a message. + * + * @param string $val The value of the assignCategories + * + * @return MessageRuleActions + */ + public function setAssignCategories($val) + { + $this->_propDict["assignCategories"] = $val; + return $this; + } + /** + * Gets the copyToFolder + * The ID of a folder that a message is to be copied to. + * + * @return string|null The copyToFolder + */ + public function getCopyToFolder() + { + if (array_key_exists("copyToFolder", $this->_propDict)) { + return $this->_propDict["copyToFolder"]; + } else { + return null; + } + } + + /** + * Sets the copyToFolder + * The ID of a folder that a message is to be copied to. + * + * @param string $val The value of the copyToFolder + * + * @return MessageRuleActions + */ + public function setCopyToFolder($val) + { + $this->_propDict["copyToFolder"] = $val; + return $this; + } + /** + * Gets the delete + * Indicates whether a message should be moved to the Deleted Items folder. + * + * @return bool|null The delete + */ + public function getDelete() + { + if (array_key_exists("delete", $this->_propDict)) { + return $this->_propDict["delete"]; + } else { + return null; + } + } + + /** + * Sets the delete + * Indicates whether a message should be moved to the Deleted Items folder. + * + * @param bool $val The value of the delete + * + * @return MessageRuleActions + */ + public function setDelete($val) + { + $this->_propDict["delete"] = $val; + return $this; + } + + /** + * Gets the forwardAsAttachmentTo + * The email addresses of the recipients to which a message should be forwarded as an attachment. + * + * @return Recipient|null The forwardAsAttachmentTo + */ + public function getForwardAsAttachmentTo() + { + if (array_key_exists("forwardAsAttachmentTo", $this->_propDict)) { + if (is_a($this->_propDict["forwardAsAttachmentTo"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["forwardAsAttachmentTo"])) { + return $this->_propDict["forwardAsAttachmentTo"]; + } else { + $this->_propDict["forwardAsAttachmentTo"] = new Recipient($this->_propDict["forwardAsAttachmentTo"]); + return $this->_propDict["forwardAsAttachmentTo"]; + } + } + return null; + } + + /** + * Sets the forwardAsAttachmentTo + * The email addresses of the recipients to which a message should be forwarded as an attachment. + * + * @param Recipient $val The value to assign to the forwardAsAttachmentTo + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setForwardAsAttachmentTo($val) + { + $this->_propDict["forwardAsAttachmentTo"] = $val; + return $this; + } + + /** + * Gets the forwardTo + * The email addresses of the recipients to which a message should be forwarded. + * + * @return Recipient|null The forwardTo + */ + public function getForwardTo() + { + if (array_key_exists("forwardTo", $this->_propDict)) { + if (is_a($this->_propDict["forwardTo"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["forwardTo"])) { + return $this->_propDict["forwardTo"]; + } else { + $this->_propDict["forwardTo"] = new Recipient($this->_propDict["forwardTo"]); + return $this->_propDict["forwardTo"]; + } + } + return null; + } + + /** + * Sets the forwardTo + * The email addresses of the recipients to which a message should be forwarded. + * + * @param Recipient $val The value to assign to the forwardTo + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setForwardTo($val) + { + $this->_propDict["forwardTo"] = $val; + return $this; + } + /** + * Gets the markAsRead + * Indicates whether a message should be marked as read. + * + * @return bool|null The markAsRead + */ + public function getMarkAsRead() + { + if (array_key_exists("markAsRead", $this->_propDict)) { + return $this->_propDict["markAsRead"]; + } else { + return null; + } + } + + /** + * Sets the markAsRead + * Indicates whether a message should be marked as read. + * + * @param bool $val The value of the markAsRead + * + * @return MessageRuleActions + */ + public function setMarkAsRead($val) + { + $this->_propDict["markAsRead"] = $val; + return $this; + } + + /** + * Gets the markImportance + * Sets the importance of the message, which can be: low, normal, high. + * + * @return Importance|null The markImportance + */ + public function getMarkImportance() + { + if (array_key_exists("markImportance", $this->_propDict)) { + if (is_a($this->_propDict["markImportance"], "\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["markImportance"])) { + return $this->_propDict["markImportance"]; + } else { + $this->_propDict["markImportance"] = new Importance($this->_propDict["markImportance"]); + return $this->_propDict["markImportance"]; + } + } + return null; + } + + /** + * Sets the markImportance + * Sets the importance of the message, which can be: low, normal, high. + * + * @param Importance $val The value to assign to the markImportance + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setMarkImportance($val) + { + $this->_propDict["markImportance"] = $val; + return $this; + } + /** + * Gets the moveToFolder + * The ID of the folder that a message will be moved to. + * + * @return string|null The moveToFolder + */ + public function getMoveToFolder() + { + if (array_key_exists("moveToFolder", $this->_propDict)) { + return $this->_propDict["moveToFolder"]; + } else { + return null; + } + } + + /** + * Sets the moveToFolder + * The ID of the folder that a message will be moved to. + * + * @param string $val The value of the moveToFolder + * + * @return MessageRuleActions + */ + public function setMoveToFolder($val) + { + $this->_propDict["moveToFolder"] = $val; + return $this; + } + /** + * Gets the permanentDelete + * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. + * + * @return bool|null The permanentDelete + */ + public function getPermanentDelete() + { + if (array_key_exists("permanentDelete", $this->_propDict)) { + return $this->_propDict["permanentDelete"]; + } else { + return null; + } + } + + /** + * Sets the permanentDelete + * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. + * + * @param bool $val The value of the permanentDelete + * + * @return MessageRuleActions + */ + public function setPermanentDelete($val) + { + $this->_propDict["permanentDelete"] = $val; + return $this; + } + + /** + * Gets the redirectTo + * The email address to which a message should be redirected. + * + * @return Recipient|null The redirectTo + */ + public function getRedirectTo() + { + if (array_key_exists("redirectTo", $this->_propDict)) { + if (is_a($this->_propDict["redirectTo"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["redirectTo"])) { + return $this->_propDict["redirectTo"]; + } else { + $this->_propDict["redirectTo"] = new Recipient($this->_propDict["redirectTo"]); + return $this->_propDict["redirectTo"]; + } + } + return null; + } + + /** + * Sets the redirectTo + * The email address to which a message should be redirected. + * + * @param Recipient $val The value to assign to the redirectTo + * + * @return MessageRuleActions The MessageRuleActions + */ + public function setRedirectTo($val) + { + $this->_propDict["redirectTo"] = $val; + return $this; + } + /** + * Gets the stopProcessingRules + * Indicates whether subsequent rules should be evaluated. + * + * @return bool|null The stopProcessingRules + */ + public function getStopProcessingRules() + { + if (array_key_exists("stopProcessingRules", $this->_propDict)) { + return $this->_propDict["stopProcessingRules"]; + } else { + return null; + } + } + + /** + * Sets the stopProcessingRules + * Indicates whether subsequent rules should be evaluated. + * + * @param bool $val The value of the stopProcessingRules + * + * @return MessageRuleActions + */ + public function setStopProcessingRules($val) + { + $this->_propDict["stopProcessingRules"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MessageRulePredicates.php b/vendor/microsoft/microsoft-graph/src/Model/MessageRulePredicates.php new file mode 100644 index 0000000..d9104d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MessageRulePredicates.php @@ -0,0 +1,896 @@ +_propDict)) { + return $this->_propDict["bodyContains"]; + } else { + return null; + } + } + + /** + * Sets the bodyContains + * Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the bodyContains + * + * @return MessageRulePredicates + */ + public function setBodyContains($val) + { + $this->_propDict["bodyContains"] = $val; + return $this; + } + /** + * Gets the bodyOrSubjectContains + * Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply. + * + * @return string|null The bodyOrSubjectContains + */ + public function getBodyOrSubjectContains() + { + if (array_key_exists("bodyOrSubjectContains", $this->_propDict)) { + return $this->_propDict["bodyOrSubjectContains"]; + } else { + return null; + } + } + + /** + * Sets the bodyOrSubjectContains + * Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the bodyOrSubjectContains + * + * @return MessageRulePredicates + */ + public function setBodyOrSubjectContains($val) + { + $this->_propDict["bodyOrSubjectContains"] = $val; + return $this; + } + /** + * Gets the categories + * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. + * + * @return string|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. + * + * @param string $val The value of the categories + * + * @return MessageRulePredicates + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the fromAddresses + * Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply. + * + * @return Recipient|null The fromAddresses + */ + public function getFromAddresses() + { + if (array_key_exists("fromAddresses", $this->_propDict)) { + if (is_a($this->_propDict["fromAddresses"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["fromAddresses"])) { + return $this->_propDict["fromAddresses"]; + } else { + $this->_propDict["fromAddresses"] = new Recipient($this->_propDict["fromAddresses"]); + return $this->_propDict["fromAddresses"]; + } + } + return null; + } + + /** + * Sets the fromAddresses + * Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply. + * + * @param Recipient $val The value to assign to the fromAddresses + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setFromAddresses($val) + { + $this->_propDict["fromAddresses"] = $val; + return $this; + } + /** + * Gets the hasAttachments + * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether an incoming message must have attachments in order for the condition or exception to apply. + * + * @param bool $val The value of the hasAttachments + * + * @return MessageRulePredicates + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = $val; + return $this; + } + /** + * Gets the headerContains + * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. + * + * @return string|null The headerContains + */ + public function getHeaderContains() + { + if (array_key_exists("headerContains", $this->_propDict)) { + return $this->_propDict["headerContains"]; + } else { + return null; + } + } + + /** + * Sets the headerContains + * Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the headerContains + * + * @return MessageRulePredicates + */ + public function setHeaderContains($val) + { + $this->_propDict["headerContains"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high. + * + * @param Importance $val The value to assign to the importance + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + /** + * Gets the isApprovalRequest + * Indicates whether an incoming message must be an approval request in order for the condition or exception to apply. + * + * @return bool|null The isApprovalRequest + */ + public function getIsApprovalRequest() + { + if (array_key_exists("isApprovalRequest", $this->_propDict)) { + return $this->_propDict["isApprovalRequest"]; + } else { + return null; + } + } + + /** + * Sets the isApprovalRequest + * Indicates whether an incoming message must be an approval request in order for the condition or exception to apply. + * + * @param bool $val The value of the isApprovalRequest + * + * @return MessageRulePredicates + */ + public function setIsApprovalRequest($val) + { + $this->_propDict["isApprovalRequest"] = $val; + return $this; + } + /** + * Gets the isAutomaticForward + * Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply. + * + * @return bool|null The isAutomaticForward + */ + public function getIsAutomaticForward() + { + if (array_key_exists("isAutomaticForward", $this->_propDict)) { + return $this->_propDict["isAutomaticForward"]; + } else { + return null; + } + } + + /** + * Sets the isAutomaticForward + * Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply. + * + * @param bool $val The value of the isAutomaticForward + * + * @return MessageRulePredicates + */ + public function setIsAutomaticForward($val) + { + $this->_propDict["isAutomaticForward"] = $val; + return $this; + } + /** + * Gets the isAutomaticReply + * Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply. + * + * @return bool|null The isAutomaticReply + */ + public function getIsAutomaticReply() + { + if (array_key_exists("isAutomaticReply", $this->_propDict)) { + return $this->_propDict["isAutomaticReply"]; + } else { + return null; + } + } + + /** + * Sets the isAutomaticReply + * Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply. + * + * @param bool $val The value of the isAutomaticReply + * + * @return MessageRulePredicates + */ + public function setIsAutomaticReply($val) + { + $this->_propDict["isAutomaticReply"] = $val; + return $this; + } + /** + * Gets the isEncrypted + * Indicates whether an incoming message must be encrypted in order for the condition or exception to apply. + * + * @return bool|null The isEncrypted + */ + public function getIsEncrypted() + { + if (array_key_exists("isEncrypted", $this->_propDict)) { + return $this->_propDict["isEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the isEncrypted + * Indicates whether an incoming message must be encrypted in order for the condition or exception to apply. + * + * @param bool $val The value of the isEncrypted + * + * @return MessageRulePredicates + */ + public function setIsEncrypted($val) + { + $this->_propDict["isEncrypted"] = $val; + return $this; + } + /** + * Gets the isMeetingRequest + * Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply. + * + * @return bool|null The isMeetingRequest + */ + public function getIsMeetingRequest() + { + if (array_key_exists("isMeetingRequest", $this->_propDict)) { + return $this->_propDict["isMeetingRequest"]; + } else { + return null; + } + } + + /** + * Sets the isMeetingRequest + * Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply. + * + * @param bool $val The value of the isMeetingRequest + * + * @return MessageRulePredicates + */ + public function setIsMeetingRequest($val) + { + $this->_propDict["isMeetingRequest"] = $val; + return $this; + } + /** + * Gets the isMeetingResponse + * Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply. + * + * @return bool|null The isMeetingResponse + */ + public function getIsMeetingResponse() + { + if (array_key_exists("isMeetingResponse", $this->_propDict)) { + return $this->_propDict["isMeetingResponse"]; + } else { + return null; + } + } + + /** + * Sets the isMeetingResponse + * Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply. + * + * @param bool $val The value of the isMeetingResponse + * + * @return MessageRulePredicates + */ + public function setIsMeetingResponse($val) + { + $this->_propDict["isMeetingResponse"] = $val; + return $this; + } + /** + * Gets the isNonDeliveryReport + * Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply. + * + * @return bool|null The isNonDeliveryReport + */ + public function getIsNonDeliveryReport() + { + if (array_key_exists("isNonDeliveryReport", $this->_propDict)) { + return $this->_propDict["isNonDeliveryReport"]; + } else { + return null; + } + } + + /** + * Sets the isNonDeliveryReport + * Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply. + * + * @param bool $val The value of the isNonDeliveryReport + * + * @return MessageRulePredicates + */ + public function setIsNonDeliveryReport($val) + { + $this->_propDict["isNonDeliveryReport"] = $val; + return $this; + } + /** + * Gets the isPermissionControlled + * Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply. + * + * @return bool|null The isPermissionControlled + */ + public function getIsPermissionControlled() + { + if (array_key_exists("isPermissionControlled", $this->_propDict)) { + return $this->_propDict["isPermissionControlled"]; + } else { + return null; + } + } + + /** + * Sets the isPermissionControlled + * Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply. + * + * @param bool $val The value of the isPermissionControlled + * + * @return MessageRulePredicates + */ + public function setIsPermissionControlled($val) + { + $this->_propDict["isPermissionControlled"] = $val; + return $this; + } + /** + * Gets the isReadReceipt + * Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply. + * + * @return bool|null The isReadReceipt + */ + public function getIsReadReceipt() + { + if (array_key_exists("isReadReceipt", $this->_propDict)) { + return $this->_propDict["isReadReceipt"]; + } else { + return null; + } + } + + /** + * Sets the isReadReceipt + * Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply. + * + * @param bool $val The value of the isReadReceipt + * + * @return MessageRulePredicates + */ + public function setIsReadReceipt($val) + { + $this->_propDict["isReadReceipt"] = $val; + return $this; + } + /** + * Gets the isSigned + * Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply. + * + * @return bool|null The isSigned + */ + public function getIsSigned() + { + if (array_key_exists("isSigned", $this->_propDict)) { + return $this->_propDict["isSigned"]; + } else { + return null; + } + } + + /** + * Sets the isSigned + * Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply. + * + * @param bool $val The value of the isSigned + * + * @return MessageRulePredicates + */ + public function setIsSigned($val) + { + $this->_propDict["isSigned"] = $val; + return $this; + } + /** + * Gets the isVoicemail + * Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply. + * + * @return bool|null The isVoicemail + */ + public function getIsVoicemail() + { + if (array_key_exists("isVoicemail", $this->_propDict)) { + return $this->_propDict["isVoicemail"]; + } else { + return null; + } + } + + /** + * Sets the isVoicemail + * Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply. + * + * @param bool $val The value of the isVoicemail + * + * @return MessageRulePredicates + */ + public function setIsVoicemail($val) + { + $this->_propDict["isVoicemail"] = $val; + return $this; + } + + /** + * Gets the messageActionFlag + * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. + * + * @return MessageActionFlag|null The messageActionFlag + */ + public function getMessageActionFlag() + { + if (array_key_exists("messageActionFlag", $this->_propDict)) { + if (is_a($this->_propDict["messageActionFlag"], "\Microsoft\Graph\Model\MessageActionFlag") || is_null($this->_propDict["messageActionFlag"])) { + return $this->_propDict["messageActionFlag"]; + } else { + $this->_propDict["messageActionFlag"] = new MessageActionFlag($this->_propDict["messageActionFlag"]); + return $this->_propDict["messageActionFlag"]; + } + } + return null; + } + + /** + * Sets the messageActionFlag + * Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review. + * + * @param MessageActionFlag $val The value to assign to the messageActionFlag + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setMessageActionFlag($val) + { + $this->_propDict["messageActionFlag"] = $val; + return $this; + } + /** + * Gets the notSentToMe + * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The notSentToMe + */ + public function getNotSentToMe() + { + if (array_key_exists("notSentToMe", $this->_propDict)) { + return $this->_propDict["notSentToMe"]; + } else { + return null; + } + } + + /** + * Sets the notSentToMe + * Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the notSentToMe + * + * @return MessageRulePredicates + */ + public function setNotSentToMe($val) + { + $this->_propDict["notSentToMe"] = $val; + return $this; + } + /** + * Gets the recipientContains + * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. + * + * @return string|null The recipientContains + */ + public function getRecipientContains() + { + if (array_key_exists("recipientContains", $this->_propDict)) { + return $this->_propDict["recipientContains"]; + } else { + return null; + } + } + + /** + * Sets the recipientContains + * Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the recipientContains + * + * @return MessageRulePredicates + */ + public function setRecipientContains($val) + { + $this->_propDict["recipientContains"] = $val; + return $this; + } + /** + * Gets the senderContains + * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. + * + * @return string|null The senderContains + */ + public function getSenderContains() + { + if (array_key_exists("senderContains", $this->_propDict)) { + return $this->_propDict["senderContains"]; + } else { + return null; + } + } + + /** + * Sets the senderContains + * Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the senderContains + * + * @return MessageRulePredicates + */ + public function setSenderContains($val) + { + $this->_propDict["senderContains"] = $val; + return $this; + } + + /** + * Gets the sensitivity + * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + * + * @return Sensitivity|null The sensitivity + */ + public function getSensitivity() + { + if (array_key_exists("sensitivity", $this->_propDict)) { + if (is_a($this->_propDict["sensitivity"], "\Microsoft\Graph\Model\Sensitivity") || is_null($this->_propDict["sensitivity"])) { + return $this->_propDict["sensitivity"]; + } else { + $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); + return $this->_propDict["sensitivity"]; + } + } + return null; + } + + /** + * Sets the sensitivity + * Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential. + * + * @param Sensitivity $val The value to assign to the sensitivity + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setSensitivity($val) + { + $this->_propDict["sensitivity"] = $val; + return $this; + } + /** + * Gets the sentCcMe + * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentCcMe + */ + public function getSentCcMe() + { + if (array_key_exists("sentCcMe", $this->_propDict)) { + return $this->_propDict["sentCcMe"]; + } else { + return null; + } + } + + /** + * Sets the sentCcMe + * Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentCcMe + * + * @return MessageRulePredicates + */ + public function setSentCcMe($val) + { + $this->_propDict["sentCcMe"] = $val; + return $this; + } + /** + * Gets the sentOnlyToMe + * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentOnlyToMe + */ + public function getSentOnlyToMe() + { + if (array_key_exists("sentOnlyToMe", $this->_propDict)) { + return $this->_propDict["sentOnlyToMe"]; + } else { + return null; + } + } + + /** + * Sets the sentOnlyToMe + * Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentOnlyToMe + * + * @return MessageRulePredicates + */ + public function setSentOnlyToMe($val) + { + $this->_propDict["sentOnlyToMe"] = $val; + return $this; + } + + /** + * Gets the sentToAddresses + * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. + * + * @return Recipient|null The sentToAddresses + */ + public function getSentToAddresses() + { + if (array_key_exists("sentToAddresses", $this->_propDict)) { + if (is_a($this->_propDict["sentToAddresses"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["sentToAddresses"])) { + return $this->_propDict["sentToAddresses"]; + } else { + $this->_propDict["sentToAddresses"] = new Recipient($this->_propDict["sentToAddresses"]); + return $this->_propDict["sentToAddresses"]; + } + } + return null; + } + + /** + * Sets the sentToAddresses + * Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply. + * + * @param Recipient $val The value to assign to the sentToAddresses + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setSentToAddresses($val) + { + $this->_propDict["sentToAddresses"] = $val; + return $this; + } + /** + * Gets the sentToMe + * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentToMe + */ + public function getSentToMe() + { + if (array_key_exists("sentToMe", $this->_propDict)) { + return $this->_propDict["sentToMe"]; + } else { + return null; + } + } + + /** + * Sets the sentToMe + * Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentToMe + * + * @return MessageRulePredicates + */ + public function setSentToMe($val) + { + $this->_propDict["sentToMe"] = $val; + return $this; + } + /** + * Gets the sentToOrCcMe + * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @return bool|null The sentToOrCcMe + */ + public function getSentToOrCcMe() + { + if (array_key_exists("sentToOrCcMe", $this->_propDict)) { + return $this->_propDict["sentToOrCcMe"]; + } else { + return null; + } + } + + /** + * Sets the sentToOrCcMe + * Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply. + * + * @param bool $val The value of the sentToOrCcMe + * + * @return MessageRulePredicates + */ + public function setSentToOrCcMe($val) + { + $this->_propDict["sentToOrCcMe"] = $val; + return $this; + } + /** + * Gets the subjectContains + * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. + * + * @return string|null The subjectContains + */ + public function getSubjectContains() + { + if (array_key_exists("subjectContains", $this->_propDict)) { + return $this->_propDict["subjectContains"]; + } else { + return null; + } + } + + /** + * Sets the subjectContains + * Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply. + * + * @param string $val The value of the subjectContains + * + * @return MessageRulePredicates + */ + public function setSubjectContains($val) + { + $this->_propDict["subjectContains"] = $val; + return $this; + } + + /** + * Gets the withinSizeRange + * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. + * + * @return SizeRange|null The withinSizeRange + */ + public function getWithinSizeRange() + { + if (array_key_exists("withinSizeRange", $this->_propDict)) { + if (is_a($this->_propDict["withinSizeRange"], "\Microsoft\Graph\Model\SizeRange") || is_null($this->_propDict["withinSizeRange"])) { + return $this->_propDict["withinSizeRange"]; + } else { + $this->_propDict["withinSizeRange"] = new SizeRange($this->_propDict["withinSizeRange"]); + return $this->_propDict["withinSizeRange"]; + } + } + return null; + } + + /** + * Sets the withinSizeRange + * Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply. + * + * @param SizeRange $val The value to assign to the withinSizeRange + * + * @return MessageRulePredicates The MessageRulePredicates + */ + public function setWithinSizeRange($val) + { + $this->_propDict["withinSizeRange"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MessageSecurityState.php b/vendor/microsoft/microsoft-graph/src/Model/MessageSecurityState.php new file mode 100644 index 0000000..68b1495 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MessageSecurityState.php @@ -0,0 +1,265 @@ +_propDict)) { + return $this->_propDict["connectingIP"]; + } else { + return null; + } + } + + /** + * Sets the connectingIP + * + * @param string $val The value of the connectingIP + * + * @return MessageSecurityState + */ + public function setConnectingIP($val) + { + $this->_propDict["connectingIP"] = $val; + return $this; + } + /** + * Gets the deliveryAction + * + * @return string|null The deliveryAction + */ + public function getDeliveryAction() + { + if (array_key_exists("deliveryAction", $this->_propDict)) { + return $this->_propDict["deliveryAction"]; + } else { + return null; + } + } + + /** + * Sets the deliveryAction + * + * @param string $val The value of the deliveryAction + * + * @return MessageSecurityState + */ + public function setDeliveryAction($val) + { + $this->_propDict["deliveryAction"] = $val; + return $this; + } + /** + * Gets the deliveryLocation + * + * @return string|null The deliveryLocation + */ + public function getDeliveryLocation() + { + if (array_key_exists("deliveryLocation", $this->_propDict)) { + return $this->_propDict["deliveryLocation"]; + } else { + return null; + } + } + + /** + * Sets the deliveryLocation + * + * @param string $val The value of the deliveryLocation + * + * @return MessageSecurityState + */ + public function setDeliveryLocation($val) + { + $this->_propDict["deliveryLocation"] = $val; + return $this; + } + /** + * Gets the directionality + * + * @return string|null The directionality + */ + public function getDirectionality() + { + if (array_key_exists("directionality", $this->_propDict)) { + return $this->_propDict["directionality"]; + } else { + return null; + } + } + + /** + * Sets the directionality + * + * @param string $val The value of the directionality + * + * @return MessageSecurityState + */ + public function setDirectionality($val) + { + $this->_propDict["directionality"] = $val; + return $this; + } + /** + * Gets the internetMessageId + * + * @return string|null The internetMessageId + */ + public function getInternetMessageId() + { + if (array_key_exists("internetMessageId", $this->_propDict)) { + return $this->_propDict["internetMessageId"]; + } else { + return null; + } + } + + /** + * Sets the internetMessageId + * + * @param string $val The value of the internetMessageId + * + * @return MessageSecurityState + */ + public function setInternetMessageId($val) + { + $this->_propDict["internetMessageId"] = $val; + return $this; + } + /** + * Gets the messageFingerprint + * + * @return string|null The messageFingerprint + */ + public function getMessageFingerprint() + { + if (array_key_exists("messageFingerprint", $this->_propDict)) { + return $this->_propDict["messageFingerprint"]; + } else { + return null; + } + } + + /** + * Sets the messageFingerprint + * + * @param string $val The value of the messageFingerprint + * + * @return MessageSecurityState + */ + public function setMessageFingerprint($val) + { + $this->_propDict["messageFingerprint"] = $val; + return $this; + } + + /** + * Gets the messageReceivedDateTime + * + * @return \DateTime|null The messageReceivedDateTime + */ + public function getMessageReceivedDateTime() + { + if (array_key_exists("messageReceivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["messageReceivedDateTime"], "\DateTime") || is_null($this->_propDict["messageReceivedDateTime"])) { + return $this->_propDict["messageReceivedDateTime"]; + } else { + $this->_propDict["messageReceivedDateTime"] = new \DateTime($this->_propDict["messageReceivedDateTime"]); + return $this->_propDict["messageReceivedDateTime"]; + } + } + return null; + } + + /** + * Sets the messageReceivedDateTime + * + * @param \DateTime $val The value to assign to the messageReceivedDateTime + * + * @return MessageSecurityState The MessageSecurityState + */ + public function setMessageReceivedDateTime($val) + { + $this->_propDict["messageReceivedDateTime"] = $val; + return $this; + } + /** + * Gets the messageSubject + * + * @return string|null The messageSubject + */ + public function getMessageSubject() + { + if (array_key_exists("messageSubject", $this->_propDict)) { + return $this->_propDict["messageSubject"]; + } else { + return null; + } + } + + /** + * Sets the messageSubject + * + * @param string $val The value of the messageSubject + * + * @return MessageSecurityState + */ + public function setMessageSubject($val) + { + $this->_propDict["messageSubject"] = $val; + return $this; + } + /** + * Gets the networkMessageId + * + * @return string|null The networkMessageId + */ + public function getNetworkMessageId() + { + if (array_key_exists("networkMessageId", $this->_propDict)) { + return $this->_propDict["networkMessageId"]; + } else { + return null; + } + } + + /** + * Sets the networkMessageId + * + * @param string $val The value of the networkMessageId + * + * @return MessageSecurityState + */ + public function setNetworkMessageId($val) + { + $this->_propDict["networkMessageId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php new file mode 100644 index 0000000..fc738ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php @@ -0,0 +1,180 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time that this app was registered. This property is null if the device is not registered for passwordless Phone Sign-In. + * + * @param \DateTime $val The createdDateTime + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceTag + * Tags containing app metadata. + * + * @return string|null The deviceTag + */ + public function getDeviceTag() + { + if (array_key_exists("deviceTag", $this->_propDict)) { + return $this->_propDict["deviceTag"]; + } else { + return null; + } + } + + /** + * Sets the deviceTag + * Tags containing app metadata. + * + * @param string $val The deviceTag + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setDeviceTag($val) + { + $this->_propDict["deviceTag"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the device on which this app is registered. + * + * @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 + * The name of the device on which this app is registered. + * + * @param string $val The displayName + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the phoneAppVersion + * Numerical version of this instance of the Authenticator app. + * + * @return string|null The phoneAppVersion + */ + public function getPhoneAppVersion() + { + if (array_key_exists("phoneAppVersion", $this->_propDict)) { + return $this->_propDict["phoneAppVersion"]; + } else { + return null; + } + } + + /** + * Sets the phoneAppVersion + * Numerical version of this instance of the Authenticator app. + * + * @param string $val The phoneAppVersion + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setPhoneAppVersion($val) + { + $this->_propDict["phoneAppVersion"] = $val; + return $this; + } + + /** + * Gets the device + * The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. + * + * @return Device|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Microsoft\Graph\Model\Device") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Device($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. + * + * @param Device $val The device + * + * @return MicrosoftAuthenticatorAuthenticationMethod + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php new file mode 100644 index 0000000..8ff23d6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["includeTargets"]; + } else { + return null; + } + } + + /** + * Sets the includeTargets + * A collection of users or groups who are enabled to use the authentication method. + * + * @param MicrosoftAuthenticatorAuthenticationMethodTarget[] $val The includeTargets + * + * @return MicrosoftAuthenticatorAuthenticationMethodConfiguration + */ + public function setIncludeTargets($val) + { + $this->_propDict["includeTargets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php new file mode 100644 index 0000000..9affacb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMode"], "\Microsoft\Graph\Model\MicrosoftAuthenticatorAuthenticationMode") || is_null($this->_propDict["authenticationMode"])) { + return $this->_propDict["authenticationMode"]; + } else { + $this->_propDict["authenticationMode"] = new MicrosoftAuthenticatorAuthenticationMode($this->_propDict["authenticationMode"]); + return $this->_propDict["authenticationMode"]; + } + } + return null; + } + + /** + * Sets the authenticationMode + * Determines which types of notifications can be used for sign-in. The possible values are: deviceBasedPush (passwordless only), push, and any. + * + * @param MicrosoftAuthenticatorAuthenticationMode $val The authenticationMode + * + * @return MicrosoftAuthenticatorAuthenticationMethodTarget + */ + public function setAuthenticationMode($val) + { + $this->_propDict["authenticationMode"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMode.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMode.php new file mode 100644 index 0000000..93240fc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMode.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["licenseType"], "\Microsoft\Graph\Model\MicrosoftStoreForBusinessLicenseType") || is_null($this->_propDict["licenseType"])) { + return $this->_propDict["licenseType"]; + } else { + $this->_propDict["licenseType"] = new MicrosoftStoreForBusinessLicenseType($this->_propDict["licenseType"]); + return $this->_propDict["licenseType"]; + } + } + return null; + } + + /** + * Sets the licenseType + * The app license type. Possible values are: offline, online. + * + * @param MicrosoftStoreForBusinessLicenseType $val The licenseType + * + * @return MicrosoftStoreForBusinessApp + */ + public function setLicenseType($val) + { + $this->_propDict["licenseType"] = $val; + return $this; + } + + /** + * Gets the packageIdentityName + * The app package identifier + * + * @return string|null The packageIdentityName + */ + public function getPackageIdentityName() + { + if (array_key_exists("packageIdentityName", $this->_propDict)) { + return $this->_propDict["packageIdentityName"]; + } else { + return null; + } + } + + /** + * Sets the packageIdentityName + * The app package identifier + * + * @param string $val The packageIdentityName + * + * @return MicrosoftStoreForBusinessApp + */ + public function setPackageIdentityName($val) + { + $this->_propDict["packageIdentityName"] = $val; + return $this; + } + + /** + * Gets the productKey + * The app product key + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * The app product key + * + * @param string $val The productKey + * + * @return MicrosoftStoreForBusinessApp + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the totalLicenseCount + * The total number of Microsoft Store for Business licenses. + * + * @return int|null The totalLicenseCount + */ + public function getTotalLicenseCount() + { + if (array_key_exists("totalLicenseCount", $this->_propDict)) { + return $this->_propDict["totalLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the totalLicenseCount + * The total number of Microsoft Store for Business licenses. + * + * @param int $val The totalLicenseCount + * + * @return MicrosoftStoreForBusinessApp + */ + public function setTotalLicenseCount($val) + { + $this->_propDict["totalLicenseCount"] = intval($val); + return $this; + } + + /** + * Gets the usedLicenseCount + * The number of Microsoft Store for Business licenses in use. + * + * @return int|null The usedLicenseCount + */ + public function getUsedLicenseCount() + { + if (array_key_exists("usedLicenseCount", $this->_propDict)) { + return $this->_propDict["usedLicenseCount"]; + } else { + return null; + } + } + + /** + * Sets the usedLicenseCount + * The number of Microsoft Store for Business licenses in use. + * + * @param int $val The usedLicenseCount + * + * @return MicrosoftStoreForBusinessApp + */ + public function setUsedLicenseCount($val) + { + $this->_propDict["usedLicenseCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php new file mode 100644 index 0000000..ec72610 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.microsoftStoreForBusinessAppAssignmentSettings"); + } + + /** + * Gets the useDeviceContext + * Whether or not to use device execution context for Microsoft Store for Business mobile app. + * + * @return bool|null The useDeviceContext + */ + public function getUseDeviceContext() + { + if (array_key_exists("useDeviceContext", $this->_propDict)) { + return $this->_propDict["useDeviceContext"]; + } else { + return null; + } + } + + /** + * Sets the useDeviceContext + * Whether or not to use device execution context for Microsoft Store for Business mobile app. + * + * @param bool $val The value of the useDeviceContext + * + * @return MicrosoftStoreForBusinessAppAssignmentSettings + */ + public function setUseDeviceContext($val) + { + $this->_propDict["useDeviceContext"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessLicenseType.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessLicenseType.php new file mode 100644 index 0000000..8b324db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessLicenseType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Indicates the content mime type. + * + * @param string $val The value of the type + * + * @return MimeContent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the value + * The byte array that contains the actual content. + * + * @return \GuzzleHttp\Psr7\Stream|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * The byte array that contains the actual content. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the value + * + * @return MimeContent The MimeContent + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MiracastChannel.php b/vendor/microsoft/microsoft-graph/src/Model/MiracastChannel.php new file mode 100644 index 0000000..716652c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MiracastChannel.php @@ -0,0 +1,53 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the app was created. + * + * @param \DateTime $val The createdDateTime + * + * @return MobileApp + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The description of the app. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description of the app. + * + * @param string $val The description + * + * @return MobileApp + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the developer + * The developer of the app. + * + * @return string|null The developer + */ + public function getDeveloper() + { + if (array_key_exists("developer", $this->_propDict)) { + return $this->_propDict["developer"]; + } else { + return null; + } + } + + /** + * Sets the developer + * The developer of the app. + * + * @param string $val The developer + * + * @return MobileApp + */ + public function setDeveloper($val) + { + $this->_propDict["developer"] = $val; + return $this; + } + + /** + * Gets the displayName + * The admin provided or imported title of the app. + * + * @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 + * The admin provided or imported title of the app. + * + * @param string $val The displayName + * + * @return MobileApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the informationUrl + * The more information Url. + * + * @return string|null The informationUrl + */ + public function getInformationUrl() + { + if (array_key_exists("informationUrl", $this->_propDict)) { + return $this->_propDict["informationUrl"]; + } else { + return null; + } + } + + /** + * Sets the informationUrl + * The more information Url. + * + * @param string $val The informationUrl + * + * @return MobileApp + */ + public function setInformationUrl($val) + { + $this->_propDict["informationUrl"] = $val; + return $this; + } + + /** + * Gets the isFeatured + * The value indicating whether the app is marked as featured by the admin. + * + * @return bool|null The isFeatured + */ + public function getIsFeatured() + { + if (array_key_exists("isFeatured", $this->_propDict)) { + return $this->_propDict["isFeatured"]; + } else { + return null; + } + } + + /** + * Sets the isFeatured + * The value indicating whether the app is marked as featured by the admin. + * + * @param bool $val The isFeatured + * + * @return MobileApp + */ + public function setIsFeatured($val) + { + $this->_propDict["isFeatured"] = boolval($val); + return $this; + } + + /** + * Gets the largeIcon + * The large icon, to be displayed in the app details and used for upload of the icon. + * + * @return MimeContent|null The largeIcon + */ + public function getLargeIcon() + { + if (array_key_exists("largeIcon", $this->_propDict)) { + if (is_a($this->_propDict["largeIcon"], "\Microsoft\Graph\Model\MimeContent") || is_null($this->_propDict["largeIcon"])) { + return $this->_propDict["largeIcon"]; + } else { + $this->_propDict["largeIcon"] = new MimeContent($this->_propDict["largeIcon"]); + return $this->_propDict["largeIcon"]; + } + } + return null; + } + + /** + * Sets the largeIcon + * The large icon, to be displayed in the app details and used for upload of the icon. + * + * @param MimeContent $val The largeIcon + * + * @return MobileApp + */ + public function setLargeIcon($val) + { + $this->_propDict["largeIcon"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the app was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the app was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return MobileApp + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes for the app. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Notes for the app. + * + * @param string $val The notes + * + * @return MobileApp + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the owner + * The owner of the app. + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * The owner of the app. + * + * @param string $val The owner + * + * @return MobileApp + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the privacyInformationUrl + * The privacy statement Url. + * + * @return string|null The privacyInformationUrl + */ + public function getPrivacyInformationUrl() + { + if (array_key_exists("privacyInformationUrl", $this->_propDict)) { + return $this->_propDict["privacyInformationUrl"]; + } else { + return null; + } + } + + /** + * Sets the privacyInformationUrl + * The privacy statement Url. + * + * @param string $val The privacyInformationUrl + * + * @return MobileApp + */ + public function setPrivacyInformationUrl($val) + { + $this->_propDict["privacyInformationUrl"] = $val; + return $this; + } + + /** + * Gets the publisher + * The publisher of the app. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The publisher of the app. + * + * @param string $val The publisher + * + * @return MobileApp + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + + /** + * Gets the publishingState + * The publishing state for the app. The app cannot be assigned unless the app is published. Possible values are: notPublished, processing, published. + * + * @return MobileAppPublishingState|null The publishingState + */ + public function getPublishingState() + { + if (array_key_exists("publishingState", $this->_propDict)) { + if (is_a($this->_propDict["publishingState"], "\Microsoft\Graph\Model\MobileAppPublishingState") || is_null($this->_propDict["publishingState"])) { + return $this->_propDict["publishingState"]; + } else { + $this->_propDict["publishingState"] = new MobileAppPublishingState($this->_propDict["publishingState"]); + return $this->_propDict["publishingState"]; + } + } + return null; + } + + /** + * Sets the publishingState + * The publishing state for the app. The app cannot be assigned unless the app is published. Possible values are: notPublished, processing, published. + * + * @param MobileAppPublishingState $val The publishingState + * + * @return MobileApp + */ + public function setPublishingState($val) + { + $this->_propDict["publishingState"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of group assignments for this mobile app. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of group assignments for this mobile app. + * + * @param MobileAppAssignment[] $val The assignments + * + * @return MobileApp + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the categories + * The list of categories for this app. + * + * @return array|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The list of categories for this app. + * + * @param MobileAppCategory[] $val The categories + * + * @return MobileApp + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignment.php new file mode 100644 index 0000000..fca427f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignment.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["intent"], "\Microsoft\Graph\Model\InstallIntent") || is_null($this->_propDict["intent"])) { + return $this->_propDict["intent"]; + } else { + $this->_propDict["intent"] = new InstallIntent($this->_propDict["intent"]); + return $this->_propDict["intent"]; + } + } + return null; + } + + /** + * Sets the intent + * The install intent defined by the admin. Possible values are: available, required, uninstall, availableWithoutEnrollment. + * + * @param InstallIntent $val The intent + * + * @return MobileAppAssignment + */ + public function setIntent($val) + { + $this->_propDict["intent"] = $val; + return $this; + } + + /** + * Gets the settings + * The settings for target assignment defined by the admin. + * + * @return MobileAppAssignmentSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\MobileAppAssignmentSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new MobileAppAssignmentSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * The settings for target assignment defined by the admin. + * + * @param MobileAppAssignmentSettings $val The settings + * + * @return MobileAppAssignment + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the target + * The target group assignment defined by the admin. + * + * @return DeviceAndAppManagementAssignmentTarget|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target group assignment defined by the admin. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return MobileAppAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignmentSettings.php new file mode 100644 index 0000000..5ddd352 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignmentSettings.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the app category. + * + * @param string $val The displayName + * + * @return MobileAppCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the mobileAppCategory was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the mobileAppCategory was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return MobileAppCategory + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileAppContent.php b/vendor/microsoft/microsoft-graph/src/Model/MobileAppContent.php new file mode 100644 index 0000000..569fd9a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileAppContent.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["files"]; + } else { + return null; + } + } + + /** + * Sets the files + * The list of files for this app content version. + * + * @param MobileAppContentFile[] $val The files + * + * @return MobileAppContent + */ + public function setFiles($val) + { + $this->_propDict["files"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFile.php b/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFile.php new file mode 100644 index 0000000..3bbf3a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFile.php @@ -0,0 +1,304 @@ +_propDict)) { + return $this->_propDict["azureStorageUri"]; + } else { + return null; + } + } + + /** + * Sets the azureStorageUri + * The Azure Storage URI. + * + * @param string $val The azureStorageUri + * + * @return MobileAppContentFile + */ + public function setAzureStorageUri($val) + { + $this->_propDict["azureStorageUri"] = $val; + return $this; + } + + /** + * Gets the azureStorageUriExpirationDateTime + * The time the Azure storage Uri expires. + * + * @return \DateTime|null The azureStorageUriExpirationDateTime + */ + public function getAzureStorageUriExpirationDateTime() + { + if (array_key_exists("azureStorageUriExpirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["azureStorageUriExpirationDateTime"], "\DateTime") || is_null($this->_propDict["azureStorageUriExpirationDateTime"])) { + return $this->_propDict["azureStorageUriExpirationDateTime"]; + } else { + $this->_propDict["azureStorageUriExpirationDateTime"] = new \DateTime($this->_propDict["azureStorageUriExpirationDateTime"]); + return $this->_propDict["azureStorageUriExpirationDateTime"]; + } + } + return null; + } + + /** + * Sets the azureStorageUriExpirationDateTime + * The time the Azure storage Uri expires. + * + * @param \DateTime $val The azureStorageUriExpirationDateTime + * + * @return MobileAppContentFile + */ + public function setAzureStorageUriExpirationDateTime($val) + { + $this->_propDict["azureStorageUriExpirationDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The time the file was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The time the file was created. + * + * @param \DateTime $val The createdDateTime + * + * @return MobileAppContentFile + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the isCommitted + * A value indicating whether the file is committed. + * + * @return bool|null The isCommitted + */ + public function getIsCommitted() + { + if (array_key_exists("isCommitted", $this->_propDict)) { + return $this->_propDict["isCommitted"]; + } else { + return null; + } + } + + /** + * Sets the isCommitted + * A value indicating whether the file is committed. + * + * @param bool $val The isCommitted + * + * @return MobileAppContentFile + */ + public function setIsCommitted($val) + { + $this->_propDict["isCommitted"] = boolval($val); + return $this; + } + + /** + * Gets the manifest + * The manifest information. + * + * @return \GuzzleHttp\Psr7\Stream|null The manifest + */ + public function getManifest() + { + if (array_key_exists("manifest", $this->_propDict)) { + if (is_a($this->_propDict["manifest"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["manifest"])) { + return $this->_propDict["manifest"]; + } else { + $this->_propDict["manifest"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["manifest"]); + return $this->_propDict["manifest"]; + } + } + return null; + } + + /** + * Sets the manifest + * The manifest information. + * + * @param \GuzzleHttp\Psr7\Stream $val The manifest + * + * @return MobileAppContentFile + */ + public function setManifest($val) + { + $this->_propDict["manifest"] = $val; + return $this; + } + + /** + * Gets the name + * the file name. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * the file name. + * + * @param string $val The name + * + * @return MobileAppContentFile + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * The size of the file prior to encryption. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The size of the file prior to encryption. + * + * @param int $val The size + * + * @return MobileAppContentFile + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + /** + * Gets the sizeEncrypted + * The size of the file after encryption. + * + * @return int|null The sizeEncrypted + */ + public function getSizeEncrypted() + { + if (array_key_exists("sizeEncrypted", $this->_propDict)) { + return $this->_propDict["sizeEncrypted"]; + } else { + return null; + } + } + + /** + * Sets the sizeEncrypted + * The size of the file after encryption. + * + * @param int $val The sizeEncrypted + * + * @return MobileAppContentFile + */ + public function setSizeEncrypted($val) + { + $this->_propDict["sizeEncrypted"] = intval($val); + return $this; + } + + /** + * Gets the uploadState + * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + * + * @return MobileAppContentFileUploadState|null The uploadState + */ + public function getUploadState() + { + if (array_key_exists("uploadState", $this->_propDict)) { + if (is_a($this->_propDict["uploadState"], "\Microsoft\Graph\Model\MobileAppContentFileUploadState") || is_null($this->_propDict["uploadState"])) { + return $this->_propDict["uploadState"]; + } else { + $this->_propDict["uploadState"] = new MobileAppContentFileUploadState($this->_propDict["uploadState"]); + return $this->_propDict["uploadState"]; + } + } + return null; + } + + /** + * Sets the uploadState + * The state of the current upload request. Possible values are: success, transientError, error, unknown, azureStorageUriRequestSuccess, azureStorageUriRequestPending, azureStorageUriRequestFailed, azureStorageUriRequestTimedOut, azureStorageUriRenewalSuccess, azureStorageUriRenewalPending, azureStorageUriRenewalFailed, azureStorageUriRenewalTimedOut, commitFileSuccess, commitFilePending, commitFileFailed, commitFileTimedOut. + * + * @param MobileAppContentFileUploadState $val The uploadState + * + * @return MobileAppContentFile + */ + public function setUploadState($val) + { + $this->_propDict["uploadState"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFileUploadState.php b/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFileUploadState.php new file mode 100644 index 0000000..2de52d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFileUploadState.php @@ -0,0 +1,48 @@ +_propDict)) { + if (is_a($this->_propDict["deadlineDateTime"], "\DateTime") || is_null($this->_propDict["deadlineDateTime"])) { + return $this->_propDict["deadlineDateTime"]; + } else { + $this->_propDict["deadlineDateTime"] = new \DateTime($this->_propDict["deadlineDateTime"]); + return $this->_propDict["deadlineDateTime"]; + } + } + return null; + } + + /** + * Sets the deadlineDateTime + * The time at which the app should be installed. + * + * @param \DateTime $val The value to assign to the deadlineDateTime + * + * @return MobileAppInstallTimeSettings The MobileAppInstallTimeSettings + */ + public function setDeadlineDateTime($val) + { + $this->_propDict["deadlineDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The time at which the app should be available for installation. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The time at which the app should be available for installation. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return MobileAppInstallTimeSettings The MobileAppInstallTimeSettings + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the useLocalTime + * Whether the local device time or UTC time should be used when determining the available and deadline times. + * + * @return bool|null The useLocalTime + */ + public function getUseLocalTime() + { + if (array_key_exists("useLocalTime", $this->_propDict)) { + return $this->_propDict["useLocalTime"]; + } else { + return null; + } + } + + /** + * Sets the useLocalTime + * Whether the local device time or UTC time should be used when determining the available and deadline times. + * + * @param bool $val The value of the useLocalTime + * + * @return MobileAppInstallTimeSettings + */ + public function setUseLocalTime($val) + { + $this->_propDict["useLocalTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileAppPublishingState.php b/vendor/microsoft/microsoft-graph/src/Model/MobileAppPublishingState.php new file mode 100644 index 0000000..a00c099 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileAppPublishingState.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["committedContentVersion"]; + } else { + return null; + } + } + + /** + * Sets the committedContentVersion + * The internal committed content version. + * + * @param string $val The committedContentVersion + * + * @return MobileLobApp + */ + public function setCommittedContentVersion($val) + { + $this->_propDict["committedContentVersion"] = $val; + return $this; + } + + /** + * Gets the fileName + * The name of the main Lob application file. + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * The name of the main Lob application file. + * + * @param string $val The fileName + * + * @return MobileLobApp + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the size + * The total size, including all uploaded files. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The total size, including all uploaded files. + * + * @param int $val The size + * + * @return MobileLobApp + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + + + /** + * Gets the contentVersions + * The list of content versions for this app. + * + * @return array|null The contentVersions + */ + public function getContentVersions() + { + if (array_key_exists("contentVersions", $this->_propDict)) { + return $this->_propDict["contentVersions"]; + } else { + return null; + } + } + + /** + * Sets the contentVersions + * The list of content versions for this app. + * + * @param MobileAppContent[] $val The contentVersions + * + * @return MobileLobApp + */ + public function setContentVersions($val) + { + $this->_propDict["contentVersions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileThreatDefenseConnector.php b/vendor/microsoft/microsoft-graph/src/Model/MobileThreatDefenseConnector.php new file mode 100644 index 0000000..036cdc4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileThreatDefenseConnector.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["androidDeviceBlockedOnMissingPartnerData"]; + } else { + return null; + } + } + + /** + * Sets the androidDeviceBlockedOnMissingPartnerData + * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @param bool $val The androidDeviceBlockedOnMissingPartnerData + * + * @return MobileThreatDefenseConnector + */ + public function setAndroidDeviceBlockedOnMissingPartnerData($val) + { + $this->_propDict["androidDeviceBlockedOnMissingPartnerData"] = boolval($val); + return $this; + } + + /** + * Gets the androidEnabled + * For Android, set whether data from the data sync partner should be used during compliance evaluations + * + * @return bool|null The androidEnabled + */ + public function getAndroidEnabled() + { + if (array_key_exists("androidEnabled", $this->_propDict)) { + return $this->_propDict["androidEnabled"]; + } else { + return null; + } + } + + /** + * Sets the androidEnabled + * For Android, set whether data from the data sync partner should be used during compliance evaluations + * + * @param bool $val The androidEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setAndroidEnabled($val) + { + $this->_propDict["androidEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the iosDeviceBlockedOnMissingPartnerData + * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @return bool|null The iosDeviceBlockedOnMissingPartnerData + */ + public function getIosDeviceBlockedOnMissingPartnerData() + { + if (array_key_exists("iosDeviceBlockedOnMissingPartnerData", $this->_propDict)) { + return $this->_propDict["iosDeviceBlockedOnMissingPartnerData"]; + } else { + return null; + } + } + + /** + * Sets the iosDeviceBlockedOnMissingPartnerData + * For IOS, set whether Intune must receive data from the data sync partner prior to marking a device compliant + * + * @param bool $val The iosDeviceBlockedOnMissingPartnerData + * + * @return MobileThreatDefenseConnector + */ + public function setIosDeviceBlockedOnMissingPartnerData($val) + { + $this->_propDict["iosDeviceBlockedOnMissingPartnerData"] = boolval($val); + return $this; + } + + /** + * Gets the iosEnabled + * For IOS, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @return bool|null The iosEnabled + */ + public function getIosEnabled() + { + if (array_key_exists("iosEnabled", $this->_propDict)) { + return $this->_propDict["iosEnabled"]; + } else { + return null; + } + } + + /** + * Sets the iosEnabled + * For IOS, get or set whether data from the data sync partner should be used during compliance evaluations + * + * @param bool $val The iosEnabled + * + * @return MobileThreatDefenseConnector + */ + public function setIosEnabled($val) + { + $this->_propDict["iosEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastHeartbeatDateTime + * DateTime of last Heartbeat recieved from the Data Sync Partner + * + * @return \DateTime|null The lastHeartbeatDateTime + */ + public function getLastHeartbeatDateTime() + { + if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime") || is_null($this->_propDict["lastHeartbeatDateTime"])) { + return $this->_propDict["lastHeartbeatDateTime"]; + } else { + $this->_propDict["lastHeartbeatDateTime"] = new \DateTime($this->_propDict["lastHeartbeatDateTime"]); + return $this->_propDict["lastHeartbeatDateTime"]; + } + } + return null; + } + + /** + * Sets the lastHeartbeatDateTime + * DateTime of last Heartbeat recieved from the Data Sync Partner + * + * @param \DateTime $val The lastHeartbeatDateTime + * + * @return MobileThreatDefenseConnector + */ + public function setLastHeartbeatDateTime($val) + { + $this->_propDict["lastHeartbeatDateTime"] = $val; + return $this; + } + + /** + * Gets the partnerState + * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * + * @return MobileThreatPartnerTenantState|null The partnerState + */ + public function getPartnerState() + { + if (array_key_exists("partnerState", $this->_propDict)) { + if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\MobileThreatPartnerTenantState") || is_null($this->_propDict["partnerState"])) { + return $this->_propDict["partnerState"]; + } else { + $this->_propDict["partnerState"] = new MobileThreatPartnerTenantState($this->_propDict["partnerState"]); + return $this->_propDict["partnerState"]; + } + } + return null; + } + + /** + * Sets the partnerState + * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. + * + * @param MobileThreatPartnerTenantState $val The partnerState + * + * @return MobileThreatDefenseConnector + */ + public function setPartnerState($val) + { + $this->_propDict["partnerState"] = $val; + return $this; + } + + /** + * Gets the partnerUnresponsivenessThresholdInDays + * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + * + * @return int|null The partnerUnresponsivenessThresholdInDays + */ + public function getPartnerUnresponsivenessThresholdInDays() + { + if (array_key_exists("partnerUnresponsivenessThresholdInDays", $this->_propDict)) { + return $this->_propDict["partnerUnresponsivenessThresholdInDays"]; + } else { + return null; + } + } + + /** + * Sets the partnerUnresponsivenessThresholdInDays + * Get or Set days the per tenant tolerance to unresponsiveness for this partner integration + * + * @param int $val The partnerUnresponsivenessThresholdInDays + * + * @return MobileThreatDefenseConnector + */ + public function setPartnerUnresponsivenessThresholdInDays($val) + { + $this->_propDict["partnerUnresponsivenessThresholdInDays"] = intval($val); + return $this; + } + + /** + * Gets the partnerUnsupportedOsVersionBlocked + * Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner + * + * @return bool|null The partnerUnsupportedOsVersionBlocked + */ + public function getPartnerUnsupportedOsVersionBlocked() + { + if (array_key_exists("partnerUnsupportedOsVersionBlocked", $this->_propDict)) { + return $this->_propDict["partnerUnsupportedOsVersionBlocked"]; + } else { + return null; + } + } + + /** + * Sets the partnerUnsupportedOsVersionBlocked + * Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Data Sync Partner + * + * @param bool $val The partnerUnsupportedOsVersionBlocked + * + * @return MobileThreatDefenseConnector + */ + public function setPartnerUnsupportedOsVersionBlocked($val) + { + $this->_propDict["partnerUnsupportedOsVersionBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MobileThreatPartnerTenantState.php b/vendor/microsoft/microsoft-graph/src/Model/MobileThreatPartnerTenantState.php new file mode 100644 index 0000000..1967af3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MobileThreatPartnerTenantState.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Name of property that was modified. + * + * @param string $val The value of the displayName + * + * @return ModifiedProperty + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the newValue + * New property value. + * + * @return string|null The newValue + */ + public function getNewValue() + { + if (array_key_exists("newValue", $this->_propDict)) { + return $this->_propDict["newValue"]; + } else { + return null; + } + } + + /** + * Sets the newValue + * New property value. + * + * @param string $val The value of the newValue + * + * @return ModifiedProperty + */ + public function setNewValue($val) + { + $this->_propDict["newValue"] = $val; + return $this; + } + /** + * Gets the oldValue + * Old property value. + * + * @return string|null The oldValue + */ + public function getOldValue() + { + if (array_key_exists("oldValue", $this->_propDict)) { + return $this->_propDict["oldValue"]; + } else { + return null; + } + } + + /** + * Sets the oldValue + * Old property value. + * + * @param string $val The value of the oldValue + * + * @return ModifiedProperty + */ + public function setOldValue($val) + { + $this->_propDict["oldValue"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MultiValueLegacyExtendedProperty.php b/vendor/microsoft/microsoft-graph/src/Model/MultiValueLegacyExtendedProperty.php new file mode 100644 index 0000000..81e9528 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MultiValueLegacyExtendedProperty.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * A collection of property values. + * + * @param string $val The value + * + * @return MultiValueLegacyExtendedProperty + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MuteParticipantOperation.php b/vendor/microsoft/microsoft-graph/src/Model/MuteParticipantOperation.php new file mode 100644 index 0000000..a8f65d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/MuteParticipantOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The Timestamp type represents creation date and time of the location 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 createdDateTime + * + * @return NamedLocation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * Human-readable name of the location. + * + * @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 + * Human-readable name of the location. + * + * @param string $val The displayName + * + * @return NamedLocation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * The Timestamp type represents last modified date and time of the location 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 modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * The Timestamp type represents last modified date and time of the location 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 modifiedDateTime + * + * @return NamedLocation + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/NetworkConnection.php b/vendor/microsoft/microsoft-graph/src/Model/NetworkConnection.php new file mode 100644 index 0000000..b614484 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/NetworkConnection.php @@ -0,0 +1,606 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Name of the application managing the network connection (for example, Facebook, SMTP, etc.). + * + * @param string $val The value of the applicationName + * + * @return NetworkConnection + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + /** + * Gets the destinationAddress + * Destination IP address (of the network connection). + * + * @return string|null The destinationAddress + */ + public function getDestinationAddress() + { + if (array_key_exists("destinationAddress", $this->_propDict)) { + return $this->_propDict["destinationAddress"]; + } else { + return null; + } + } + + /** + * Sets the destinationAddress + * Destination IP address (of the network connection). + * + * @param string $val The value of the destinationAddress + * + * @return NetworkConnection + */ + public function setDestinationAddress($val) + { + $this->_propDict["destinationAddress"] = $val; + return $this; + } + /** + * Gets the destinationDomain + * Destination domain portion of the destination URL. (for example 'www.contoso.com'). + * + * @return string|null The destinationDomain + */ + public function getDestinationDomain() + { + if (array_key_exists("destinationDomain", $this->_propDict)) { + return $this->_propDict["destinationDomain"]; + } else { + return null; + } + } + + /** + * Sets the destinationDomain + * Destination domain portion of the destination URL. (for example 'www.contoso.com'). + * + * @param string $val The value of the destinationDomain + * + * @return NetworkConnection + */ + public function setDestinationDomain($val) + { + $this->_propDict["destinationDomain"] = $val; + return $this; + } + /** + * Gets the destinationLocation + * Location (by IP address mapping) associated with the destination of a network connection. + * + * @return string|null The destinationLocation + */ + public function getDestinationLocation() + { + if (array_key_exists("destinationLocation", $this->_propDict)) { + return $this->_propDict["destinationLocation"]; + } else { + return null; + } + } + + /** + * Sets the destinationLocation + * Location (by IP address mapping) associated with the destination of a network connection. + * + * @param string $val The value of the destinationLocation + * + * @return NetworkConnection + */ + public function setDestinationLocation($val) + { + $this->_propDict["destinationLocation"] = $val; + return $this; + } + /** + * Gets the destinationPort + * Destination port (of the network connection). + * + * @return string|null The destinationPort + */ + public function getDestinationPort() + { + if (array_key_exists("destinationPort", $this->_propDict)) { + return $this->_propDict["destinationPort"]; + } else { + return null; + } + } + + /** + * Sets the destinationPort + * Destination port (of the network connection). + * + * @param string $val The value of the destinationPort + * + * @return NetworkConnection + */ + public function setDestinationPort($val) + { + $this->_propDict["destinationPort"] = $val; + return $this; + } + /** + * Gets the destinationUrl + * Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html') + * + * @return string|null The destinationUrl + */ + public function getDestinationUrl() + { + if (array_key_exists("destinationUrl", $this->_propDict)) { + return $this->_propDict["destinationUrl"]; + } else { + return null; + } + } + + /** + * Sets the destinationUrl + * Network connection URL/URI string - excluding parameters. (for example 'www.contoso.com/products/default.html') + * + * @param string $val The value of the destinationUrl + * + * @return NetworkConnection + */ + public function setDestinationUrl($val) + { + $this->_propDict["destinationUrl"] = $val; + return $this; + } + + /** + * Gets the direction + * Network connection direction. Possible values are: unknown, inbound, outbound. + * + * @return ConnectionDirection|null The direction + */ + public function getDirection() + { + if (array_key_exists("direction", $this->_propDict)) { + if (is_a($this->_propDict["direction"], "\Microsoft\Graph\Model\ConnectionDirection") || is_null($this->_propDict["direction"])) { + return $this->_propDict["direction"]; + } else { + $this->_propDict["direction"] = new ConnectionDirection($this->_propDict["direction"]); + return $this->_propDict["direction"]; + } + } + return null; + } + + /** + * Sets the direction + * Network connection direction. Possible values are: unknown, inbound, outbound. + * + * @param ConnectionDirection $val The value to assign to the direction + * + * @return NetworkConnection The NetworkConnection + */ + public function setDirection($val) + { + $this->_propDict["direction"] = $val; + return $this; + } + + /** + * Gets the domainRegisteredDateTime + * Date when the destination domain was registered. 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 domainRegisteredDateTime + */ + public function getDomainRegisteredDateTime() + { + if (array_key_exists("domainRegisteredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["domainRegisteredDateTime"], "\DateTime") || is_null($this->_propDict["domainRegisteredDateTime"])) { + return $this->_propDict["domainRegisteredDateTime"]; + } else { + $this->_propDict["domainRegisteredDateTime"] = new \DateTime($this->_propDict["domainRegisteredDateTime"]); + return $this->_propDict["domainRegisteredDateTime"]; + } + } + return null; + } + + /** + * Sets the domainRegisteredDateTime + * Date when the destination domain was registered. 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 domainRegisteredDateTime + * + * @return NetworkConnection The NetworkConnection + */ + public function setDomainRegisteredDateTime($val) + { + $this->_propDict["domainRegisteredDateTime"] = $val; + return $this; + } + /** + * Gets the localDnsName + * The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with). + * + * @return string|null The localDnsName + */ + public function getLocalDnsName() + { + if (array_key_exists("localDnsName", $this->_propDict)) { + return $this->_propDict["localDnsName"]; + } else { + return null; + } + } + + /** + * Sets the localDnsName + * The local DNS name resolution as it appears in the host's local DNS cache (for example, in case the 'hosts' file was tampered with). + * + * @param string $val The value of the localDnsName + * + * @return NetworkConnection + */ + public function setLocalDnsName($val) + { + $this->_propDict["localDnsName"] = $val; + return $this; + } + /** + * Gets the natDestinationAddress + * Network Address Translation destination IP address. + * + * @return string|null The natDestinationAddress + */ + public function getNatDestinationAddress() + { + if (array_key_exists("natDestinationAddress", $this->_propDict)) { + return $this->_propDict["natDestinationAddress"]; + } else { + return null; + } + } + + /** + * Sets the natDestinationAddress + * Network Address Translation destination IP address. + * + * @param string $val The value of the natDestinationAddress + * + * @return NetworkConnection + */ + public function setNatDestinationAddress($val) + { + $this->_propDict["natDestinationAddress"] = $val; + return $this; + } + /** + * Gets the natDestinationPort + * Network Address Translation destination port. + * + * @return string|null The natDestinationPort + */ + public function getNatDestinationPort() + { + if (array_key_exists("natDestinationPort", $this->_propDict)) { + return $this->_propDict["natDestinationPort"]; + } else { + return null; + } + } + + /** + * Sets the natDestinationPort + * Network Address Translation destination port. + * + * @param string $val The value of the natDestinationPort + * + * @return NetworkConnection + */ + public function setNatDestinationPort($val) + { + $this->_propDict["natDestinationPort"] = $val; + return $this; + } + /** + * Gets the natSourceAddress + * Network Address Translation source IP address. + * + * @return string|null The natSourceAddress + */ + public function getNatSourceAddress() + { + if (array_key_exists("natSourceAddress", $this->_propDict)) { + return $this->_propDict["natSourceAddress"]; + } else { + return null; + } + } + + /** + * Sets the natSourceAddress + * Network Address Translation source IP address. + * + * @param string $val The value of the natSourceAddress + * + * @return NetworkConnection + */ + public function setNatSourceAddress($val) + { + $this->_propDict["natSourceAddress"] = $val; + return $this; + } + /** + * Gets the natSourcePort + * Network Address Translation source port. + * + * @return string|null The natSourcePort + */ + public function getNatSourcePort() + { + if (array_key_exists("natSourcePort", $this->_propDict)) { + return $this->_propDict["natSourcePort"]; + } else { + return null; + } + } + + /** + * Sets the natSourcePort + * Network Address Translation source port. + * + * @param string $val The value of the natSourcePort + * + * @return NetworkConnection + */ + public function setNatSourcePort($val) + { + $this->_propDict["natSourcePort"] = $val; + return $this; + } + + /** + * Gets the protocol + * Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. + * + * @return SecurityNetworkProtocol|null The protocol + */ + public function getProtocol() + { + if (array_key_exists("protocol", $this->_propDict)) { + if (is_a($this->_propDict["protocol"], "\Microsoft\Graph\Model\SecurityNetworkProtocol") || is_null($this->_propDict["protocol"])) { + return $this->_propDict["protocol"]; + } else { + $this->_propDict["protocol"] = new SecurityNetworkProtocol($this->_propDict["protocol"]); + return $this->_propDict["protocol"]; + } + } + return null; + } + + /** + * Sets the protocol + * Network protocol. Possible values are: unknown, ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII. + * + * @param SecurityNetworkProtocol $val The value to assign to the protocol + * + * @return NetworkConnection The NetworkConnection + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider generated/calculated risk score of the network connection. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return NetworkConnection + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + /** + * Gets the sourceAddress + * Source (i.e. origin) IP address (of the network connection). + * + * @return string|null The sourceAddress + */ + public function getSourceAddress() + { + if (array_key_exists("sourceAddress", $this->_propDict)) { + return $this->_propDict["sourceAddress"]; + } else { + return null; + } + } + + /** + * Sets the sourceAddress + * Source (i.e. origin) IP address (of the network connection). + * + * @param string $val The value of the sourceAddress + * + * @return NetworkConnection + */ + public function setSourceAddress($val) + { + $this->_propDict["sourceAddress"] = $val; + return $this; + } + /** + * Gets the sourceLocation + * Location (by IP address mapping) associated with the source of a network connection. + * + * @return string|null The sourceLocation + */ + public function getSourceLocation() + { + if (array_key_exists("sourceLocation", $this->_propDict)) { + return $this->_propDict["sourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the sourceLocation + * Location (by IP address mapping) associated with the source of a network connection. + * + * @param string $val The value of the sourceLocation + * + * @return NetworkConnection + */ + public function setSourceLocation($val) + { + $this->_propDict["sourceLocation"] = $val; + return $this; + } + /** + * Gets the sourcePort + * Source (i.e. origin) IP port (of the network connection). + * + * @return string|null The sourcePort + */ + public function getSourcePort() + { + if (array_key_exists("sourcePort", $this->_propDict)) { + return $this->_propDict["sourcePort"]; + } else { + return null; + } + } + + /** + * Sets the sourcePort + * Source (i.e. origin) IP port (of the network connection). + * + * @param string $val The value of the sourcePort + * + * @return NetworkConnection + */ + public function setSourcePort($val) + { + $this->_propDict["sourcePort"] = $val; + return $this; + } + + /** + * Gets the status + * Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. + * + * @return ConnectionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ConnectionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ConnectionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Network connection status. Possible values are: unknown, attempted, succeeded, blocked, failed. + * + * @param ConnectionStatus $val The value to assign to the status + * + * @return NetworkConnection The NetworkConnection + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + /** + * Gets the urlParameters + * Parameters (suffix) of the destination URL. + * + * @return string|null The urlParameters + */ + public function getUrlParameters() + { + if (array_key_exists("urlParameters", $this->_propDict)) { + return $this->_propDict["urlParameters"]; + } else { + return null; + } + } + + /** + * Sets the urlParameters + * Parameters (suffix) of the destination URL. + * + * @param string $val The value of the urlParameters + * + * @return NetworkConnection + */ + public function setUrlParameters($val) + { + $this->_propDict["urlParameters"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Notebook.php b/vendor/microsoft/microsoft-graph/src/Model/Notebook.php new file mode 100644 index 0000000..114cc2a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Notebook.php @@ -0,0 +1,269 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates whether this is the user's default notebook. Read-only. + * + * @param bool $val The isDefault + * + * @return Notebook + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. + * + * @param bool $val The isShared + * + * @return Notebook + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @return NotebookLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\NotebookLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new NotebookLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @param NotebookLinks $val The links + * + * @return Notebook + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the sectionGroupsUrl + * The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. + * + * @return string|null The sectionGroupsUrl + */ + public function getSectionGroupsUrl() + { + if (array_key_exists("sectionGroupsUrl", $this->_propDict)) { + return $this->_propDict["sectionGroupsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroupsUrl + * The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. + * + * @param string $val The sectionGroupsUrl + * + * @return Notebook + */ + public function setSectionGroupsUrl($val) + { + $this->_propDict["sectionGroupsUrl"] = $val; + return $this; + } + + /** + * Gets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. + * + * @return string|null The sectionsUrl + */ + public function getSectionsUrl() + { + if (array_key_exists("sectionsUrl", $this->_propDict)) { + return $this->_propDict["sectionsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. + * + * @param string $val The sectionsUrl + * + * @return Notebook + */ + public function setSectionsUrl($val) + { + $this->_propDict["sectionsUrl"] = $val; + return $this; + } + + /** + * Gets the userRole + * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. + * + * @return OnenoteUserRole|null The userRole + */ + public function getUserRole() + { + if (array_key_exists("userRole", $this->_propDict)) { + if (is_a($this->_propDict["userRole"], "\Microsoft\Graph\Model\OnenoteUserRole") || is_null($this->_propDict["userRole"])) { + return $this->_propDict["userRole"]; + } else { + $this->_propDict["userRole"] = new OnenoteUserRole($this->_propDict["userRole"]); + return $this->_propDict["userRole"]; + } + } + return null; + } + + /** + * Sets the userRole + * Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. + * + * @param OnenoteUserRole $val The userRole + * + * @return Notebook + */ + public function setUserRole($val) + { + $this->_propDict["userRole"] = $val; + return $this; + } + + + /** + * Gets the sectionGroups + * The section groups in the notebook. Read-only. Nullable. + * + * @return array|null The sectionGroups + */ + public function getSectionGroups() + { + if (array_key_exists("sectionGroups", $this->_propDict)) { + return $this->_propDict["sectionGroups"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroups + * The section groups in the notebook. Read-only. Nullable. + * + * @param SectionGroup[] $val The sectionGroups + * + * @return Notebook + */ + public function setSectionGroups($val) + { + $this->_propDict["sectionGroups"] = $val; + return $this; + } + + + /** + * Gets the sections + * The sections in the notebook. Read-only. Nullable. + * + * @return array|null The sections + */ + public function getSections() + { + if (array_key_exists("sections", $this->_propDict)) { + return $this->_propDict["sections"]; + } else { + return null; + } + } + + /** + * Sets the sections + * The sections in the notebook. Read-only. Nullable. + * + * @param OnenoteSection[] $val The sections + * + * @return Notebook + */ + public function setSections($val) + { + $this->_propDict["sections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/NotebookLinks.php b/vendor/microsoft/microsoft-graph/src/Model/NotebookLinks.php new file mode 100644 index 0000000..806d1c8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/NotebookLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the notebook in the OneNote native client if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return NotebookLinks The NotebookLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return NotebookLinks The NotebookLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/NotificationMessageTemplate.php b/vendor/microsoft/microsoft-graph/src/Model/NotificationMessageTemplate.php new file mode 100644 index 0000000..8169e68 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/NotificationMessageTemplate.php @@ -0,0 +1,181 @@ +_propDict)) { + if (is_a($this->_propDict["brandingOptions"], "\Microsoft\Graph\Model\NotificationTemplateBrandingOptions") || is_null($this->_propDict["brandingOptions"])) { + return $this->_propDict["brandingOptions"]; + } else { + $this->_propDict["brandingOptions"] = new NotificationTemplateBrandingOptions($this->_propDict["brandingOptions"]); + return $this->_propDict["brandingOptions"]; + } + } + return null; + } + + /** + * Sets the brandingOptions + * The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation, includeCompanyPortalLink. + * + * @param NotificationTemplateBrandingOptions $val The brandingOptions + * + * @return NotificationMessageTemplate + */ + public function setBrandingOptions($val) + { + $this->_propDict["brandingOptions"] = $val; + return $this; + } + + /** + * Gets the defaultLocale + * The default locale to fallback onto when the requested locale is not available. + * + * @return string|null The defaultLocale + */ + public function getDefaultLocale() + { + if (array_key_exists("defaultLocale", $this->_propDict)) { + return $this->_propDict["defaultLocale"]; + } else { + return null; + } + } + + /** + * Sets the defaultLocale + * The default locale to fallback onto when the requested locale is not available. + * + * @param string $val The defaultLocale + * + * @return NotificationMessageTemplate + */ + public function setDefaultLocale($val) + { + $this->_propDict["defaultLocale"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the Notification Message Template. + * + * @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 + * Display name for the Notification Message Template. + * + * @param string $val The displayName + * + * @return NotificationMessageTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return NotificationMessageTemplate + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the localizedNotificationMessages + * The list of localized messages for this Notification Message Template. + * + * @return array|null The localizedNotificationMessages + */ + public function getLocalizedNotificationMessages() + { + if (array_key_exists("localizedNotificationMessages", $this->_propDict)) { + return $this->_propDict["localizedNotificationMessages"]; + } else { + return null; + } + } + + /** + * Sets the localizedNotificationMessages + * The list of localized messages for this Notification Message Template. + * + * @param LocalizedNotificationMessage[] $val The localizedNotificationMessages + * + * @return NotificationMessageTemplate + */ + public function setLocalizedNotificationMessages($val) + { + $this->_propDict["localizedNotificationMessages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/NotificationTemplateBrandingOptions.php b/vendor/microsoft/microsoft-graph/src/Model/NotificationTemplateBrandingOptions.php new file mode 100644 index 0000000..97097eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/NotificationTemplateBrandingOptions.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["decimalPlaces"]; + } else { + return null; + } + } + + /** + * Sets the decimalPlaces + * How many decimal places to display. See below for information about the possible values. + * + * @param string $val The value of the decimalPlaces + * + * @return NumberColumn + */ + public function setDecimalPlaces($val) + { + $this->_propDict["decimalPlaces"] = $val; + return $this; + } + /** + * Gets the displayAs + * How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. + * + * @return string|null The displayAs + */ + public function getDisplayAs() + { + if (array_key_exists("displayAs", $this->_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number. + * + * @param string $val The value of the displayAs + * + * @return NumberColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } + /** + * Gets the maximum + * The maximum permitted value. + * + * @return float|null The maximum + */ + public function getMaximum() + { + if (array_key_exists("maximum", $this->_propDict)) { + return $this->_propDict["maximum"]; + } else { + return null; + } + } + + /** + * Sets the maximum + * The maximum permitted value. + * + * @param float $val The value of the maximum + * + * @return NumberColumn + */ + public function setMaximum($val) + { + $this->_propDict["maximum"] = $val; + return $this; + } + /** + * Gets the minimum + * The minimum permitted value. + * + * @return float|null The minimum + */ + public function getMinimum() + { + if (array_key_exists("minimum", $this->_propDict)) { + return $this->_propDict["minimum"]; + } else { + return null; + } + } + + /** + * Sets the minimum + * The minimum permitted value. + * + * @param float $val The value of the minimum + * + * @return NumberColumn + */ + public function setMinimum($val) + { + $this->_propDict["minimum"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OAuth2PermissionGrant.php b/vendor/microsoft/microsoft-graph/src/Model/OAuth2PermissionGrant.php new file mode 100644 index 0000000..31229d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OAuth2PermissionGrant.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only). + * + * @param string $val The clientId + * + * @return OAuth2PermissionGrant + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the consentType + * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). + * + * @return string|null The consentType + */ + public function getConsentType() + { + if (array_key_exists("consentType", $this->_propDict)) { + return $this->_propDict["consentType"]; + } else { + return null; + } + } + + /** + * Sets the consentType + * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). + * + * @param string $val The consentType + * + * @return OAuth2PermissionGrant + */ + public function setConsentType($val) + { + $this->_propDict["consentType"] = $val; + return $this; + } + + /** + * Gets the principalId + * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. + * + * @param string $val The principalId + * + * @return OAuth2PermissionGrant + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. + * + * @param string $val The resourceId + * + * @return OAuth2PermissionGrant + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the scope + * A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. + * + * @param string $val The scope + * + * @return OAuth2PermissionGrant + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ObjectIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/ObjectIdentity.php new file mode 100644 index 0000000..233a8cf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ObjectIdentity.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["issuer"]; + } else { + return null; + } + } + + /** + * Sets the issuer + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * + * @param string $val The value of the issuer + * + * @return ObjectIdentity + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + /** + * Gets the issuerAssignedId + * Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit. + * + * @return string|null The issuerAssignedId + */ + public function getIssuerAssignedId() + { + if (array_key_exists("issuerAssignedId", $this->_propDict)) { + return $this->_propDict["issuerAssignedId"]; + } else { + return null; + } + } + + /** + * Sets the issuerAssignedId + * Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit. + * + * @param string $val The value of the issuerAssignedId + * + * @return ObjectIdentity + */ + public function setIssuerAssignedId($val) + { + $this->_propDict["issuerAssignedId"] = $val; + return $this; + } + /** + * Gets the signInType + * Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + * + * @return string|null The signInType + */ + public function getSignInType() + { + if (array_key_exists("signInType", $this->_propDict)) { + return $this->_propDict["signInType"]; + } else { + return null; + } + } + + /** + * Sets the signInType + * Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. + * + * @param string $val The value of the signInType + * + * @return ObjectIdentity + */ + public function setSignInType($val) + { + $this->_propDict["signInType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OfferShiftRequest.php b/vendor/microsoft/microsoft-graph/src/Model/OfferShiftRequest.php new file mode 100644 index 0000000..3381abc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OfferShiftRequest.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["recipientActionDateTime"], "\DateTime") || is_null($this->_propDict["recipientActionDateTime"])) { + return $this->_propDict["recipientActionDateTime"]; + } else { + $this->_propDict["recipientActionDateTime"] = new \DateTime($this->_propDict["recipientActionDateTime"]); + return $this->_propDict["recipientActionDateTime"]; + } + } + return null; + } + + /** + * Sets the recipientActionDateTime + * 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 recipientActionDateTime + * + * @return OfferShiftRequest + */ + public function setRecipientActionDateTime($val) + { + $this->_propDict["recipientActionDateTime"] = $val; + return $this; + } + + /** + * Gets the recipientActionMessage + * Custom message sent by recipient of the offer shift request. + * + * @return string|null The recipientActionMessage + */ + public function getRecipientActionMessage() + { + if (array_key_exists("recipientActionMessage", $this->_propDict)) { + return $this->_propDict["recipientActionMessage"]; + } else { + return null; + } + } + + /** + * Sets the recipientActionMessage + * Custom message sent by recipient of the offer shift request. + * + * @param string $val The recipientActionMessage + * + * @return OfferShiftRequest + */ + public function setRecipientActionMessage($val) + { + $this->_propDict["recipientActionMessage"] = $val; + return $this; + } + + /** + * Gets the recipientUserId + * User id of the recipient of the offer shift request. + * + * @return string|null The recipientUserId + */ + public function getRecipientUserId() + { + if (array_key_exists("recipientUserId", $this->_propDict)) { + return $this->_propDict["recipientUserId"]; + } else { + return null; + } + } + + /** + * Sets the recipientUserId + * User id of the recipient of the offer shift request. + * + * @param string $val The recipientUserId + * + * @return OfferShiftRequest + */ + public function setRecipientUserId($val) + { + $this->_propDict["recipientUserId"] = $val; + return $this; + } + + /** + * Gets the senderShiftId + * User id of the sender of the offer shift request. + * + * @return string|null The senderShiftId + */ + public function getSenderShiftId() + { + if (array_key_exists("senderShiftId", $this->_propDict)) { + return $this->_propDict["senderShiftId"]; + } else { + return null; + } + } + + /** + * Sets the senderShiftId + * User id of the sender of the offer shift request. + * + * @param string $val The senderShiftId + * + * @return OfferShiftRequest + */ + public function setSenderShiftId($val) + { + $this->_propDict["senderShiftId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OfficeGraphInsights.php b/vendor/microsoft/microsoft-graph/src/Model/OfficeGraphInsights.php new file mode 100644 index 0000000..32a3226 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OfficeGraphInsights.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["shared"]; + } else { + return null; + } + } + + /** + * Sets the shared + * Access this property from the derived type itemInsights. + * + * @param SharedInsight[] $val The shared + * + * @return OfficeGraphInsights + */ + public function setShared($val) + { + $this->_propDict["shared"] = $val; + return $this; + } + + + /** + * Gets the trending + * Access this property from the derived type itemInsights. + * + * @return array|null The trending + */ + public function getTrending() + { + if (array_key_exists("trending", $this->_propDict)) { + return $this->_propDict["trending"]; + } else { + return null; + } + } + + /** + * Sets the trending + * Access this property from the derived type itemInsights. + * + * @param Trending[] $val The trending + * + * @return OfficeGraphInsights + */ + public function setTrending($val) + { + $this->_propDict["trending"] = $val; + return $this; + } + + + /** + * Gets the used + * Access this property from the derived type itemInsights. + * + * @return array|null The used + */ + public function getUsed() + { + if (array_key_exists("used", $this->_propDict)) { + return $this->_propDict["used"]; + } else { + return null; + } + } + + /** + * Sets the used + * Access this property from the derived type itemInsights. + * + * @param UsedInsight[] $val The used + * + * @return OfficeGraphInsights + */ + public function setUsed($val) + { + $this->_propDict["used"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSetting.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSetting.php new file mode 100644 index 0000000..7b94548 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSetting.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description. + * + * @param string $val The value of the description + * + * @return OmaSetting + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * Display Name. + * + * @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 + * Display Name. + * + * @param string $val The value of the displayName + * + * @return OmaSetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the omaUri + * OMA. + * + * @return string|null The omaUri + */ + public function getOmaUri() + { + if (array_key_exists("omaUri", $this->_propDict)) { + return $this->_propDict["omaUri"]; + } else { + return null; + } + } + + /** + * Sets the omaUri + * OMA. + * + * @param string $val The value of the omaUri + * + * @return OmaSetting + */ + public function setOmaUri($val) + { + $this->_propDict["omaUri"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBase64.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBase64.php new file mode 100644 index 0000000..6b9dbc2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBase64.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.omaSettingBase64"); + } + + /** + * Gets the fileName + * File name associated with the Value property (.cer + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * File name associated with the Value property (.cer + * + * @param string $val The value of the fileName + * + * @return OmaSettingBase64 + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + /** + * Gets the value + * Value. (Base64 encoded string) + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. (Base64 encoded string) + * + * @param string $val The value of the value + * + * @return OmaSettingBase64 + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBoolean.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBoolean.php new file mode 100644 index 0000000..a962aef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBoolean.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingBoolean"); + } + + /** + * Gets the value + * Value. + * + * @return bool|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param bool $val The value of the value + * + * @return OmaSettingBoolean + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingDateTime.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingDateTime.php new file mode 100644 index 0000000..790a766 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingDateTime.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.omaSettingDateTime"); + } + + + /** + * Gets the value + * Value. + * + * @return \DateTime|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\DateTime") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = new \DateTime($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * Value. + * + * @param \DateTime $val The value to assign to the value + * + * @return OmaSettingDateTime The OmaSettingDateTime + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingFloatingPoint.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingFloatingPoint.php new file mode 100644 index 0000000..1e21d54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingFloatingPoint.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingFloatingPoint"); + } + + /** + * Gets the value + * Value. + * + * @return float|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param float $val The value of the value + * + * @return OmaSettingFloatingPoint + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingInteger.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingInteger.php new file mode 100644 index 0000000..b53fd58 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingInteger.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingInteger"); + } + + /** + * Gets the value + * Value. + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param int $val The value of the value + * + * @return OmaSettingInteger + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingString.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingString.php new file mode 100644 index 0000000..207a828 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingString.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.omaSettingString"); + } + + /** + * Gets the value + * Value. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value. + * + * @param string $val The value of the value + * + * @return OmaSettingString + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingStringXml.php b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingStringXml.php new file mode 100644 index 0000000..bdacb7f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OmaSettingStringXml.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.omaSettingStringXml"); + } + + /** + * Gets the fileName + * File name associated with the Value property (.xml). + * + * @return string|null The fileName + */ + public function getFileName() + { + if (array_key_exists("fileName", $this->_propDict)) { + return $this->_propDict["fileName"]; + } else { + return null; + } + } + + /** + * Sets the fileName + * File name associated with the Value property (.xml). + * + * @param string $val The value of the fileName + * + * @return OmaSettingStringXml + */ + public function setFileName($val) + { + $this->_propDict["fileName"] = $val; + return $this; + } + + /** + * Gets the value + * Value. (UTF8 encoded byte array) + * + * @return \GuzzleHttp\Psr7\Stream|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["value"])) { + return $this->_propDict["value"]; + } else { + $this->_propDict["value"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["value"]); + return $this->_propDict["value"]; + } + } + return null; + } + + /** + * Sets the value + * Value. (UTF8 encoded byte array) + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the value + * + * @return OmaSettingStringXml The OmaSettingStringXml + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnPremisesConditionalAccessSettings.php b/vendor/microsoft/microsoft-graph/src/Model/OnPremisesConditionalAccessSettings.php new file mode 100644 index 0000000..85408a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnPremisesConditionalAccessSettings.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates if on premises conditional access is enabled for this organization + * + * @param bool $val The enabled + * + * @return OnPremisesConditionalAccessSettings + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the excludedGroups + * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. + * + * @return string|null The excludedGroups + */ + public function getExcludedGroups() + { + if (array_key_exists("excludedGroups", $this->_propDict)) { + return $this->_propDict["excludedGroups"]; + } else { + return null; + } + } + + /** + * Sets the excludedGroups + * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. + * + * @param string $val The excludedGroups + * + * @return OnPremisesConditionalAccessSettings + */ + public function setExcludedGroups($val) + { + $this->_propDict["excludedGroups"] = $val; + return $this; + } + + /** + * Gets the includedGroups + * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. + * + * @return string|null The includedGroups + */ + public function getIncludedGroups() + { + if (array_key_exists("includedGroups", $this->_propDict)) { + return $this->_propDict["includedGroups"]; + } else { + return null; + } + } + + /** + * Sets the includedGroups + * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. + * + * @param string $val The includedGroups + * + * @return OnPremisesConditionalAccessSettings + */ + public function setIncludedGroups($val) + { + $this->_propDict["includedGroups"] = $val; + return $this; + } + + /** + * Gets the overrideDefaultRule + * Override the default access rule when allowing a device to ensure access is granted. + * + * @return bool|null The overrideDefaultRule + */ + public function getOverrideDefaultRule() + { + if (array_key_exists("overrideDefaultRule", $this->_propDict)) { + return $this->_propDict["overrideDefaultRule"]; + } else { + return null; + } + } + + /** + * Sets the overrideDefaultRule + * Override the default access rule when allowing a device to ensure access is granted. + * + * @param bool $val The overrideDefaultRule + * + * @return OnPremisesConditionalAccessSettings + */ + public function setOverrideDefaultRule($val) + { + $this->_propDict["overrideDefaultRule"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnPremisesExtensionAttributes.php b/vendor/microsoft/microsoft-graph/src/Model/OnPremisesExtensionAttributes.php new file mode 100644 index 0000000..48caa57 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnPremisesExtensionAttributes.php @@ -0,0 +1,446 @@ +_propDict)) { + return $this->_propDict["extensionAttribute1"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute1 + * First customizable extension attribute. + * + * @param string $val The value of the extensionAttribute1 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute1($val) + { + $this->_propDict["extensionAttribute1"] = $val; + return $this; + } + /** + * Gets the extensionAttribute10 + * Tenth customizable extension attribute. + * + * @return string|null The extensionAttribute10 + */ + public function getExtensionAttribute10() + { + if (array_key_exists("extensionAttribute10", $this->_propDict)) { + return $this->_propDict["extensionAttribute10"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute10 + * Tenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute10 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute10($val) + { + $this->_propDict["extensionAttribute10"] = $val; + return $this; + } + /** + * Gets the extensionAttribute11 + * Eleventh customizable extension attribute. + * + * @return string|null The extensionAttribute11 + */ + public function getExtensionAttribute11() + { + if (array_key_exists("extensionAttribute11", $this->_propDict)) { + return $this->_propDict["extensionAttribute11"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute11 + * Eleventh customizable extension attribute. + * + * @param string $val The value of the extensionAttribute11 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute11($val) + { + $this->_propDict["extensionAttribute11"] = $val; + return $this; + } + /** + * Gets the extensionAttribute12 + * Twelfth customizable extension attribute. + * + * @return string|null The extensionAttribute12 + */ + public function getExtensionAttribute12() + { + if (array_key_exists("extensionAttribute12", $this->_propDict)) { + return $this->_propDict["extensionAttribute12"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute12 + * Twelfth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute12 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute12($val) + { + $this->_propDict["extensionAttribute12"] = $val; + return $this; + } + /** + * Gets the extensionAttribute13 + * Thirteenth customizable extension attribute. + * + * @return string|null The extensionAttribute13 + */ + public function getExtensionAttribute13() + { + if (array_key_exists("extensionAttribute13", $this->_propDict)) { + return $this->_propDict["extensionAttribute13"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute13 + * Thirteenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute13 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute13($val) + { + $this->_propDict["extensionAttribute13"] = $val; + return $this; + } + /** + * Gets the extensionAttribute14 + * Fourteenth customizable extension attribute. + * + * @return string|null The extensionAttribute14 + */ + public function getExtensionAttribute14() + { + if (array_key_exists("extensionAttribute14", $this->_propDict)) { + return $this->_propDict["extensionAttribute14"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute14 + * Fourteenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute14 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute14($val) + { + $this->_propDict["extensionAttribute14"] = $val; + return $this; + } + /** + * Gets the extensionAttribute15 + * Fifteenth customizable extension attribute. + * + * @return string|null The extensionAttribute15 + */ + public function getExtensionAttribute15() + { + if (array_key_exists("extensionAttribute15", $this->_propDict)) { + return $this->_propDict["extensionAttribute15"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute15 + * Fifteenth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute15 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute15($val) + { + $this->_propDict["extensionAttribute15"] = $val; + return $this; + } + /** + * Gets the extensionAttribute2 + * Second customizable extension attribute. + * + * @return string|null The extensionAttribute2 + */ + public function getExtensionAttribute2() + { + if (array_key_exists("extensionAttribute2", $this->_propDict)) { + return $this->_propDict["extensionAttribute2"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute2 + * Second customizable extension attribute. + * + * @param string $val The value of the extensionAttribute2 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute2($val) + { + $this->_propDict["extensionAttribute2"] = $val; + return $this; + } + /** + * Gets the extensionAttribute3 + * Third customizable extension attribute. + * + * @return string|null The extensionAttribute3 + */ + public function getExtensionAttribute3() + { + if (array_key_exists("extensionAttribute3", $this->_propDict)) { + return $this->_propDict["extensionAttribute3"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute3 + * Third customizable extension attribute. + * + * @param string $val The value of the extensionAttribute3 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute3($val) + { + $this->_propDict["extensionAttribute3"] = $val; + return $this; + } + /** + * Gets the extensionAttribute4 + * Fourth customizable extension attribute. + * + * @return string|null The extensionAttribute4 + */ + public function getExtensionAttribute4() + { + if (array_key_exists("extensionAttribute4", $this->_propDict)) { + return $this->_propDict["extensionAttribute4"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute4 + * Fourth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute4 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute4($val) + { + $this->_propDict["extensionAttribute4"] = $val; + return $this; + } + /** + * Gets the extensionAttribute5 + * Fifth customizable extension attribute. + * + * @return string|null The extensionAttribute5 + */ + public function getExtensionAttribute5() + { + if (array_key_exists("extensionAttribute5", $this->_propDict)) { + return $this->_propDict["extensionAttribute5"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute5 + * Fifth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute5 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute5($val) + { + $this->_propDict["extensionAttribute5"] = $val; + return $this; + } + /** + * Gets the extensionAttribute6 + * Sixth customizable extension attribute. + * + * @return string|null The extensionAttribute6 + */ + public function getExtensionAttribute6() + { + if (array_key_exists("extensionAttribute6", $this->_propDict)) { + return $this->_propDict["extensionAttribute6"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute6 + * Sixth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute6 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute6($val) + { + $this->_propDict["extensionAttribute6"] = $val; + return $this; + } + /** + * Gets the extensionAttribute7 + * Seventh customizable extension attribute. + * + * @return string|null The extensionAttribute7 + */ + public function getExtensionAttribute7() + { + if (array_key_exists("extensionAttribute7", $this->_propDict)) { + return $this->_propDict["extensionAttribute7"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute7 + * Seventh customizable extension attribute. + * + * @param string $val The value of the extensionAttribute7 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute7($val) + { + $this->_propDict["extensionAttribute7"] = $val; + return $this; + } + /** + * Gets the extensionAttribute8 + * Eighth customizable extension attribute. + * + * @return string|null The extensionAttribute8 + */ + public function getExtensionAttribute8() + { + if (array_key_exists("extensionAttribute8", $this->_propDict)) { + return $this->_propDict["extensionAttribute8"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute8 + * Eighth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute8 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute8($val) + { + $this->_propDict["extensionAttribute8"] = $val; + return $this; + } + /** + * Gets the extensionAttribute9 + * Ninth customizable extension attribute. + * + * @return string|null The extensionAttribute9 + */ + public function getExtensionAttribute9() + { + if (array_key_exists("extensionAttribute9", $this->_propDict)) { + return $this->_propDict["extensionAttribute9"]; + } else { + return null; + } + } + + /** + * Sets the extensionAttribute9 + * Ninth customizable extension attribute. + * + * @param string $val The value of the extensionAttribute9 + * + * @return OnPremisesExtensionAttributes + */ + public function setExtensionAttribute9($val) + { + $this->_propDict["extensionAttribute9"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnPremisesProvisioningError.php b/vendor/microsoft/microsoft-graph/src/Model/OnPremisesProvisioningError.php new file mode 100644 index 0000000..415e0ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnPremisesProvisioningError.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["category"]; + } else { + return null; + } + } + + /** + * Sets the category + * Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property. + * + * @param string $val The value of the category + * + * @return OnPremisesProvisioningError + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the occurredDateTime + * The date and time at which the error occurred. + * + * @return \DateTime|null The occurredDateTime + */ + public function getOccurredDateTime() + { + if (array_key_exists("occurredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["occurredDateTime"], "\DateTime") || is_null($this->_propDict["occurredDateTime"])) { + return $this->_propDict["occurredDateTime"]; + } else { + $this->_propDict["occurredDateTime"] = new \DateTime($this->_propDict["occurredDateTime"]); + return $this->_propDict["occurredDateTime"]; + } + } + return null; + } + + /** + * Sets the occurredDateTime + * The date and time at which the error occurred. + * + * @param \DateTime $val The value to assign to the occurredDateTime + * + * @return OnPremisesProvisioningError The OnPremisesProvisioningError + */ + public function setOccurredDateTime($val) + { + $this->_propDict["occurredDateTime"] = $val; + return $this; + } + /** + * Gets the propertyCausingError + * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress + * + * @return string|null The propertyCausingError + */ + public function getPropertyCausingError() + { + if (array_key_exists("propertyCausingError", $this->_propDict)) { + return $this->_propDict["propertyCausingError"]; + } else { + return null; + } + } + + /** + * Sets the propertyCausingError + * Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress + * + * @param string $val The value of the propertyCausingError + * + * @return OnPremisesProvisioningError + */ + public function setPropertyCausingError($val) + { + $this->_propDict["propertyCausingError"] = $val; + return $this; + } + /** + * Gets the value + * Value of the property causing the error. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the property causing the error. + * + * @param string $val The value of the value + * + * @return OnPremisesProvisioningError + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Onenote.php b/vendor/microsoft/microsoft-graph/src/Model/Onenote.php new file mode 100644 index 0000000..fa191a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Onenote.php @@ -0,0 +1,207 @@ +_propDict)) { + return $this->_propDict["notebooks"]; + } else { + return null; + } + } + + /** + * Sets the notebooks + * The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param Notebook[] $val The notebooks + * + * @return Onenote + */ + public function setNotebooks($val) + { + $this->_propDict["notebooks"] = $val; + return $this; + } + + + /** + * Gets the operations + * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * + * @param OnenoteOperation[] $val The operations + * + * @return Onenote + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the pages + * The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @return array|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + return $this->_propDict["pages"]; + } else { + return null; + } + } + + /** + * Sets the pages + * The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param OnenotePage[] $val The pages + * + * @return Onenote + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } + + + /** + * Gets the resources + * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * + * @param OnenoteResource[] $val The resources + * + * @return Onenote + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the sectionGroups + * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @return array|null The sectionGroups + */ + public function getSectionGroups() + { + if (array_key_exists("sectionGroups", $this->_propDict)) { + return $this->_propDict["sectionGroups"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroups + * The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param SectionGroup[] $val The sectionGroups + * + * @return Onenote + */ + public function setSectionGroups($val) + { + $this->_propDict["sectionGroups"] = $val; + return $this; + } + + + /** + * Gets the sections + * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @return array|null The sections + */ + public function getSections() + { + if (array_key_exists("sections", $this->_propDict)) { + return $this->_propDict["sections"]; + } else { + return null; + } + } + + /** + * Sets the sections + * The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. + * + * @param OnenoteSection[] $val The sections + * + * @return Onenote + */ + public function setSections($val) + { + $this->_propDict["sections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityBaseModel.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityBaseModel.php new file mode 100644 index 0000000..a7cd51d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityBaseModel.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["self"]; + } else { + return null; + } + } + + /** + * Sets the self + * The endpoint where you can get details about the page. Read-only. + * + * @param string $val The self + * + * @return OnenoteEntityBaseModel + */ + public function setSelf($val) + { + $this->_propDict["self"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityHierarchyModel.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityHierarchyModel.php new file mode 100644 index 0000000..4f23dec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityHierarchyModel.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @param IdentitySet $val The createdBy + * + * @return OnenoteEntityHierarchyModel + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the notebook. + * + * @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 + * The name of the notebook. + * + * @param string $val The displayName + * + * @return OnenoteEntityHierarchyModel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return OnenoteEntityHierarchyModel + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the notebook was last modified. The timestamp 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the notebook was last modified. The timestamp 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 lastModifiedDateTime + * + * @return OnenoteEntityHierarchyModel + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntitySchemaObjectModel.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntitySchemaObjectModel.php new file mode 100644 index 0000000..1b55131 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntitySchemaObjectModel.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the page was created. The timestamp 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 createdDateTime + * + * @return OnenoteEntitySchemaObjectModel + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperation.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperation.php new file mode 100644 index 0000000..dadd415 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperation.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\OnenoteOperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new OnenoteOperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The error returned by the operation. + * + * @param OnenoteOperationError $val The error + * + * @return OnenoteOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * The operation percent complete if the operation is still in running status. + * + * @return string|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * The operation percent complete if the operation is still in running status. + * + * @param string $val The percentComplete + * + * @return OnenoteOperation + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The resource id. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The resource id. + * + * @param string $val The resourceId + * + * @return OnenoteOperation + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the resourceLocation + * The resource URI for the object. For example, the resource URI for a copied page or section. + * + * @return string|null The resourceLocation + */ + public function getResourceLocation() + { + if (array_key_exists("resourceLocation", $this->_propDict)) { + return $this->_propDict["resourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the resourceLocation + * The resource URI for the object. For example, the resource URI for a copied page or section. + * + * @param string $val The resourceLocation + * + * @return OnenoteOperation + */ + public function setResourceLocation($val) + { + $this->_propDict["resourceLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperationError.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperationError.php new file mode 100644 index 0000000..a11ec1a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperationError.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return OnenoteOperationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return OnenoteOperationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenotePage.php b/vendor/microsoft/microsoft-graph/src/Model/OnenotePage.php new file mode 100644 index 0000000..64dfd5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenotePage.php @@ -0,0 +1,364 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The page's HTML content. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return OnenotePage + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentUrl + * The URL for the page's HTML content. Read-only. + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * The URL for the page's HTML content. Read-only. + * + * @param string $val The contentUrl + * + * @return OnenotePage + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + + /** + * Gets the createdByAppId + * The unique identifier of the application that created the page. Read-only. + * + * @return string|null The createdByAppId + */ + public function getCreatedByAppId() + { + if (array_key_exists("createdByAppId", $this->_propDict)) { + return $this->_propDict["createdByAppId"]; + } else { + return null; + } + } + + /** + * Sets the createdByAppId + * The unique identifier of the application that created the page. Read-only. + * + * @param string $val The createdByAppId + * + * @return OnenotePage + */ + public function setCreatedByAppId($val) + { + $this->_propDict["createdByAppId"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the page was last modified. The timestamp 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the page was last modified. The timestamp 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 lastModifiedDateTime + * + * @return OnenotePage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the level + * The indentation level of the page. Read-only. + * + * @return int|null The level + */ + public function getLevel() + { + if (array_key_exists("level", $this->_propDict)) { + return $this->_propDict["level"]; + } else { + return null; + } + } + + /** + * Sets the level + * The indentation level of the page. Read-only. + * + * @param int $val The level + * + * @return OnenotePage + */ + public function setLevel($val) + { + $this->_propDict["level"] = intval($val); + return $this; + } + + /** + * Gets the links + * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only. + * + * @return PageLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\PageLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new PageLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only. + * + * @param PageLinks $val The links + * + * @return OnenotePage + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the order + * The order of the page within its parent section. Read-only. + * + * @return int|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * The order of the page within its parent section. Read-only. + * + * @param int $val The order + * + * @return OnenotePage + */ + public function setOrder($val) + { + $this->_propDict["order"] = intval($val); + return $this; + } + + /** + * Gets the title + * The title of the page. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the page. + * + * @param string $val The title + * + * @return OnenotePage + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the userTags + * + * @return string|null The userTags + */ + public function getUserTags() + { + if (array_key_exists("userTags", $this->_propDict)) { + return $this->_propDict["userTags"]; + } else { + return null; + } + } + + /** + * Sets the userTags + * + * @param string $val The userTags + * + * @return OnenotePage + */ + public function setUserTags($val) + { + $this->_propDict["userTags"] = $val; + return $this; + } + + /** + * Gets the parentNotebook + * The notebook that contains the page. Read-only. + * + * @return Notebook|null The parentNotebook + */ + public function getParentNotebook() + { + if (array_key_exists("parentNotebook", $this->_propDict)) { + if (is_a($this->_propDict["parentNotebook"], "\Microsoft\Graph\Model\Notebook") || is_null($this->_propDict["parentNotebook"])) { + return $this->_propDict["parentNotebook"]; + } else { + $this->_propDict["parentNotebook"] = new Notebook($this->_propDict["parentNotebook"]); + return $this->_propDict["parentNotebook"]; + } + } + return null; + } + + /** + * Sets the parentNotebook + * The notebook that contains the page. Read-only. + * + * @param Notebook $val The parentNotebook + * + * @return OnenotePage + */ + public function setParentNotebook($val) + { + $this->_propDict["parentNotebook"] = $val; + return $this; + } + + /** + * Gets the parentSection + * The section that contains the page. Read-only. + * + * @return OnenoteSection|null The parentSection + */ + public function getParentSection() + { + if (array_key_exists("parentSection", $this->_propDict)) { + if (is_a($this->_propDict["parentSection"], "\Microsoft\Graph\Model\OnenoteSection") || is_null($this->_propDict["parentSection"])) { + return $this->_propDict["parentSection"]; + } else { + $this->_propDict["parentSection"] = new OnenoteSection($this->_propDict["parentSection"]); + return $this->_propDict["parentSection"]; + } + } + return null; + } + + /** + * Sets the parentSection + * The section that contains the page. Read-only. + * + * @param OnenoteSection $val The parentSection + * + * @return OnenotePage + */ + public function setParentSection($val) + { + $this->_propDict["parentSection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreview.php b/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreview.php new file mode 100644 index 0000000..5be470c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreview.php @@ -0,0 +1,83 @@ +_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\OnenotePagePreviewLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new OnenotePagePreviewLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * + * @param OnenotePagePreviewLinks $val The value to assign to the links + * + * @return OnenotePagePreview The OnenotePagePreview + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + /** + * Gets the previewText + * + * @return string|null The previewText + */ + public function getPreviewText() + { + if (array_key_exists("previewText", $this->_propDict)) { + return $this->_propDict["previewText"]; + } else { + return null; + } + } + + /** + * Sets the previewText + * + * @param string $val The value of the previewText + * + * @return OnenotePagePreview + */ + public function setPreviewText($val) + { + $this->_propDict["previewText"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreviewLinks.php b/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreviewLinks.php new file mode 100644 index 0000000..fa55c7a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreviewLinks.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["previewImageUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["previewImageUrl"])) { + return $this->_propDict["previewImageUrl"]; + } else { + $this->_propDict["previewImageUrl"] = new ExternalLink($this->_propDict["previewImageUrl"]); + return $this->_propDict["previewImageUrl"]; + } + } + return null; + } + + /** + * Sets the previewImageUrl + * + * @param ExternalLink $val The value to assign to the previewImageUrl + * + * @return OnenotePagePreviewLinks The OnenotePagePreviewLinks + */ + public function setPreviewImageUrl($val) + { + $this->_propDict["previewImageUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchActionType.php b/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchActionType.php new file mode 100644 index 0000000..dd8ef71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchActionType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\OnenotePatchActionType") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new OnenotePatchActionType($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * The action to perform on the target element. Possible values are: replace, append, delete, insert, or prepend. + * + * @param OnenotePatchActionType $val The value to assign to the action + * + * @return OnenotePatchContentCommand The OnenotePatchContentCommand + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + /** + * Gets the content + * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. + * + * @return string|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part. + * + * @param string $val The value of the content + * + * @return OnenotePatchContentCommand + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the position + * The location to add the supplied content, relative to the target element. Possible values are: after (default) or before. + * + * @return OnenotePatchInsertPosition|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + if (is_a($this->_propDict["position"], "\Microsoft\Graph\Model\OnenotePatchInsertPosition") || is_null($this->_propDict["position"])) { + return $this->_propDict["position"]; + } else { + $this->_propDict["position"] = new OnenotePatchInsertPosition($this->_propDict["position"]); + return $this->_propDict["position"]; + } + } + return null; + } + + /** + * Sets the position + * The location to add the supplied content, relative to the target element. Possible values are: after (default) or before. + * + * @param OnenotePatchInsertPosition $val The value to assign to the position + * + * @return OnenotePatchContentCommand The OnenotePatchContentCommand + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } + /** + * Gets the target + * The element to update. Must be the #&lt;data-id&gt; or the generated {id} of the element, or the body or title keyword. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The element to update. Must be the #&lt;data-id&gt; or the generated {id} of the element, or the body or title keyword. + * + * @param string $val The value of the target + * + * @return OnenotePatchContentCommand + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchInsertPosition.php b/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchInsertPosition.php new file mode 100644 index 0000000..30e7178 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchInsertPosition.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content stream + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return OnenoteResource + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentUrl + * The URL for downloading the content + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * The URL for downloading the content + * + * @param string $val The contentUrl + * + * @return OnenoteResource + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteSection.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteSection.php new file mode 100644 index 0000000..8f51483 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteSection.php @@ -0,0 +1,214 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates whether this is the user's default section. Read-only. + * + * @param bool $val The isDefault + * + * @return OnenoteSection + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = boolval($val); + return $this; + } + + /** + * Gets the links + * Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. + * + * @return SectionLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\SectionLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new SectionLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. + * + * @param SectionLinks $val The links + * + * @return OnenoteSection + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the pagesUrl + * The pages endpoint where you can get details for all the pages in the section. Read-only. + * + * @return string|null The pagesUrl + */ + public function getPagesUrl() + { + if (array_key_exists("pagesUrl", $this->_propDict)) { + return $this->_propDict["pagesUrl"]; + } else { + return null; + } + } + + /** + * Sets the pagesUrl + * The pages endpoint where you can get details for all the pages in the section. Read-only. + * + * @param string $val The pagesUrl + * + * @return OnenoteSection + */ + public function setPagesUrl($val) + { + $this->_propDict["pagesUrl"] = $val; + return $this; + } + + + /** + * Gets the pages + * The collection of pages in the section. Read-only. Nullable. + * + * @return array|null The pages + */ + public function getPages() + { + if (array_key_exists("pages", $this->_propDict)) { + return $this->_propDict["pages"]; + } else { + return null; + } + } + + /** + * Sets the pages + * The collection of pages in the section. Read-only. Nullable. + * + * @param OnenotePage[] $val The pages + * + * @return OnenoteSection + */ + public function setPages($val) + { + $this->_propDict["pages"] = $val; + return $this; + } + + /** + * Gets the parentNotebook + * The notebook that contains the section. Read-only. + * + * @return Notebook|null The parentNotebook + */ + public function getParentNotebook() + { + if (array_key_exists("parentNotebook", $this->_propDict)) { + if (is_a($this->_propDict["parentNotebook"], "\Microsoft\Graph\Model\Notebook") || is_null($this->_propDict["parentNotebook"])) { + return $this->_propDict["parentNotebook"]; + } else { + $this->_propDict["parentNotebook"] = new Notebook($this->_propDict["parentNotebook"]); + return $this->_propDict["parentNotebook"]; + } + } + return null; + } + + /** + * Sets the parentNotebook + * The notebook that contains the section. Read-only. + * + * @param Notebook $val The parentNotebook + * + * @return OnenoteSection + */ + public function setParentNotebook($val) + { + $this->_propDict["parentNotebook"] = $val; + return $this; + } + + /** + * Gets the parentSectionGroup + * The section group that contains the section. Read-only. + * + * @return SectionGroup|null The parentSectionGroup + */ + public function getParentSectionGroup() + { + if (array_key_exists("parentSectionGroup", $this->_propDict)) { + if (is_a($this->_propDict["parentSectionGroup"], "\Microsoft\Graph\Model\SectionGroup") || is_null($this->_propDict["parentSectionGroup"])) { + return $this->_propDict["parentSectionGroup"]; + } else { + $this->_propDict["parentSectionGroup"] = new SectionGroup($this->_propDict["parentSectionGroup"]); + return $this->_propDict["parentSectionGroup"]; + } + } + return null; + } + + /** + * Sets the parentSectionGroup + * The section group that contains the section. Read-only. + * + * @param SectionGroup $val The parentSectionGroup + * + * @return OnenoteSection + */ + public function setParentSectionGroup($val) + { + $this->_propDict["parentSectionGroup"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnenoteSourceService.php b/vendor/microsoft/microsoft-graph/src/Model/OnenoteSourceService.php new file mode 100644 index 0000000..896c805 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnenoteSourceService.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["allowAttendeeToEnableCamera"]; + } else { + return null; + } + } + + /** + * Sets the allowAttendeeToEnableCamera + * Indicates whether attendees can turn on their camera. + * + * @param bool $val The allowAttendeeToEnableCamera + * + * @return OnlineMeeting + */ + public function setAllowAttendeeToEnableCamera($val) + { + $this->_propDict["allowAttendeeToEnableCamera"] = boolval($val); + return $this; + } + + /** + * Gets the allowAttendeeToEnableMic + * Indicates whether attendees can turn on their microphone. + * + * @return bool|null The allowAttendeeToEnableMic + */ + public function getAllowAttendeeToEnableMic() + { + if (array_key_exists("allowAttendeeToEnableMic", $this->_propDict)) { + return $this->_propDict["allowAttendeeToEnableMic"]; + } else { + return null; + } + } + + /** + * Sets the allowAttendeeToEnableMic + * Indicates whether attendees can turn on their microphone. + * + * @param bool $val The allowAttendeeToEnableMic + * + * @return OnlineMeeting + */ + public function setAllowAttendeeToEnableMic($val) + { + $this->_propDict["allowAttendeeToEnableMic"] = boolval($val); + return $this; + } + + /** + * Gets the allowedPresenters + * Specifies who can be a presenter in a meeting. + * + * @return OnlineMeetingPresenters|null The allowedPresenters + */ + public function getAllowedPresenters() + { + if (array_key_exists("allowedPresenters", $this->_propDict)) { + if (is_a($this->_propDict["allowedPresenters"], "\Microsoft\Graph\Model\OnlineMeetingPresenters") || is_null($this->_propDict["allowedPresenters"])) { + return $this->_propDict["allowedPresenters"]; + } else { + $this->_propDict["allowedPresenters"] = new OnlineMeetingPresenters($this->_propDict["allowedPresenters"]); + return $this->_propDict["allowedPresenters"]; + } + } + return null; + } + + /** + * Sets the allowedPresenters + * Specifies who can be a presenter in a meeting. + * + * @param OnlineMeetingPresenters $val The allowedPresenters + * + * @return OnlineMeeting + */ + public function setAllowedPresenters($val) + { + $this->_propDict["allowedPresenters"] = $val; + return $this; + } + + /** + * Gets the allowMeetingChat + * Specifies the mode of meeting chat. + * + * @return MeetingChatMode|null The allowMeetingChat + */ + public function getAllowMeetingChat() + { + if (array_key_exists("allowMeetingChat", $this->_propDict)) { + if (is_a($this->_propDict["allowMeetingChat"], "\Microsoft\Graph\Model\MeetingChatMode") || is_null($this->_propDict["allowMeetingChat"])) { + return $this->_propDict["allowMeetingChat"]; + } else { + $this->_propDict["allowMeetingChat"] = new MeetingChatMode($this->_propDict["allowMeetingChat"]); + return $this->_propDict["allowMeetingChat"]; + } + } + return null; + } + + /** + * Sets the allowMeetingChat + * Specifies the mode of meeting chat. + * + * @param MeetingChatMode $val The allowMeetingChat + * + * @return OnlineMeeting + */ + public function setAllowMeetingChat($val) + { + $this->_propDict["allowMeetingChat"] = $val; + return $this; + } + + /** + * Gets the allowTeamworkReactions + * Indicates if Teams reactions are enabled for the meeting. + * + * @return bool|null The allowTeamworkReactions + */ + public function getAllowTeamworkReactions() + { + if (array_key_exists("allowTeamworkReactions", $this->_propDict)) { + return $this->_propDict["allowTeamworkReactions"]; + } else { + return null; + } + } + + /** + * Sets the allowTeamworkReactions + * Indicates if Teams reactions are enabled for the meeting. + * + * @param bool $val The allowTeamworkReactions + * + * @return OnlineMeeting + */ + public function setAllowTeamworkReactions($val) + { + $this->_propDict["allowTeamworkReactions"] = boolval($val); + return $this; + } + + /** + * Gets the attendeeReport + * The content stream of the attendee report of a Teams live event. Read-only. + * + * @return \GuzzleHttp\Psr7\Stream|null The attendeeReport + */ + public function getAttendeeReport() + { + if (array_key_exists("attendeeReport", $this->_propDict)) { + if (is_a($this->_propDict["attendeeReport"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["attendeeReport"])) { + return $this->_propDict["attendeeReport"]; + } else { + $this->_propDict["attendeeReport"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["attendeeReport"]); + return $this->_propDict["attendeeReport"]; + } + } + return null; + } + + /** + * Sets the attendeeReport + * The content stream of the attendee report of a Teams live event. Read-only. + * + * @param \GuzzleHttp\Psr7\Stream $val The attendeeReport + * + * @return OnlineMeeting + */ + public function setAttendeeReport($val) + { + $this->_propDict["attendeeReport"] = $val; + return $this; + } + + /** + * Gets the audioConferencing + * The phone access (dial-in) information for an online meeting. Read-only. + * + * @return AudioConferencing|null The audioConferencing + */ + public function getAudioConferencing() + { + if (array_key_exists("audioConferencing", $this->_propDict)) { + if (is_a($this->_propDict["audioConferencing"], "\Microsoft\Graph\Model\AudioConferencing") || is_null($this->_propDict["audioConferencing"])) { + return $this->_propDict["audioConferencing"]; + } else { + $this->_propDict["audioConferencing"] = new AudioConferencing($this->_propDict["audioConferencing"]); + return $this->_propDict["audioConferencing"]; + } + } + return null; + } + + /** + * Sets the audioConferencing + * The phone access (dial-in) information for an online meeting. Read-only. + * + * @param AudioConferencing $val The audioConferencing + * + * @return OnlineMeeting + */ + public function setAudioConferencing($val) + { + $this->_propDict["audioConferencing"] = $val; + return $this; + } + + /** + * Gets the broadcastSettings + * Settings related to a live event. + * + * @return BroadcastMeetingSettings|null The broadcastSettings + */ + public function getBroadcastSettings() + { + if (array_key_exists("broadcastSettings", $this->_propDict)) { + if (is_a($this->_propDict["broadcastSettings"], "\Microsoft\Graph\Model\BroadcastMeetingSettings") || is_null($this->_propDict["broadcastSettings"])) { + return $this->_propDict["broadcastSettings"]; + } else { + $this->_propDict["broadcastSettings"] = new BroadcastMeetingSettings($this->_propDict["broadcastSettings"]); + return $this->_propDict["broadcastSettings"]; + } + } + return null; + } + + /** + * Sets the broadcastSettings + * Settings related to a live event. + * + * @param BroadcastMeetingSettings $val The broadcastSettings + * + * @return OnlineMeeting + */ + public function setBroadcastSettings($val) + { + $this->_propDict["broadcastSettings"] = $val; + return $this; + } + + /** + * Gets the chatInfo + * The chat information associated with this online meeting. + * + * @return ChatInfo|null The chatInfo + */ + public function getChatInfo() + { + if (array_key_exists("chatInfo", $this->_propDict)) { + if (is_a($this->_propDict["chatInfo"], "\Microsoft\Graph\Model\ChatInfo") || is_null($this->_propDict["chatInfo"])) { + return $this->_propDict["chatInfo"]; + } else { + $this->_propDict["chatInfo"] = new ChatInfo($this->_propDict["chatInfo"]); + return $this->_propDict["chatInfo"]; + } + } + return null; + } + + /** + * Sets the chatInfo + * The chat information associated with this online meeting. + * + * @param ChatInfo $val The chatInfo + * + * @return OnlineMeeting + */ + public function setChatInfo($val) + { + $this->_propDict["chatInfo"] = $val; + return $this; + } + + /** + * Gets the creationDateTime + * The meeting creation time in UTC. Read-only. + * + * @return \DateTime|null The creationDateTime + */ + public function getCreationDateTime() + { + if (array_key_exists("creationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["creationDateTime"], "\DateTime") || is_null($this->_propDict["creationDateTime"])) { + return $this->_propDict["creationDateTime"]; + } else { + $this->_propDict["creationDateTime"] = new \DateTime($this->_propDict["creationDateTime"]); + return $this->_propDict["creationDateTime"]; + } + } + return null; + } + + /** + * Sets the creationDateTime + * The meeting creation time in UTC. Read-only. + * + * @param \DateTime $val The creationDateTime + * + * @return OnlineMeeting + */ + public function setCreationDateTime($val) + { + $this->_propDict["creationDateTime"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The meeting end time in UTC. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The meeting end time in UTC. + * + * @param \DateTime $val The endDateTime + * + * @return OnlineMeeting + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the externalId + * The external ID. A custom ID. Optional. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The external ID. A custom ID. Optional. + * + * @param string $val The externalId + * + * @return OnlineMeeting + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the isBroadcast + * Indicates whether this is a Teams live event. + * + * @return bool|null The isBroadcast + */ + public function getIsBroadcast() + { + if (array_key_exists("isBroadcast", $this->_propDict)) { + return $this->_propDict["isBroadcast"]; + } else { + return null; + } + } + + /** + * Sets the isBroadcast + * Indicates whether this is a Teams live event. + * + * @param bool $val The isBroadcast + * + * @return OnlineMeeting + */ + public function setIsBroadcast($val) + { + $this->_propDict["isBroadcast"] = boolval($val); + return $this; + } + + /** + * Gets the isEntryExitAnnounced + * Indicates whether to announce when callers join or leave. + * + * @return bool|null The isEntryExitAnnounced + */ + public function getIsEntryExitAnnounced() + { + if (array_key_exists("isEntryExitAnnounced", $this->_propDict)) { + return $this->_propDict["isEntryExitAnnounced"]; + } else { + return null; + } + } + + /** + * Sets the isEntryExitAnnounced + * Indicates whether to announce when callers join or leave. + * + * @param bool $val The isEntryExitAnnounced + * + * @return OnlineMeeting + */ + public function setIsEntryExitAnnounced($val) + { + $this->_propDict["isEntryExitAnnounced"] = boolval($val); + return $this; + } + + /** + * Gets the joinInformation + * The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. + * + * @return ItemBody|null The joinInformation + */ + public function getJoinInformation() + { + if (array_key_exists("joinInformation", $this->_propDict)) { + if (is_a($this->_propDict["joinInformation"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["joinInformation"])) { + return $this->_propDict["joinInformation"]; + } else { + $this->_propDict["joinInformation"] = new ItemBody($this->_propDict["joinInformation"]); + return $this->_propDict["joinInformation"]; + } + } + return null; + } + + /** + * Sets the joinInformation + * The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. + * + * @param ItemBody $val The joinInformation + * + * @return OnlineMeeting + */ + public function setJoinInformation($val) + { + $this->_propDict["joinInformation"] = $val; + return $this; + } + + /** + * Gets the joinWebUrl + * The join URL of the online meeting. Read-only. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * The join URL of the online meeting. Read-only. + * + * @param string $val The joinWebUrl + * + * @return OnlineMeeting + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the lobbyBypassSettings + * Specifies which participants can bypass the meeting lobby. + * + * @return LobbyBypassSettings|null The lobbyBypassSettings + */ + public function getLobbyBypassSettings() + { + if (array_key_exists("lobbyBypassSettings", $this->_propDict)) { + if (is_a($this->_propDict["lobbyBypassSettings"], "\Microsoft\Graph\Model\LobbyBypassSettings") || is_null($this->_propDict["lobbyBypassSettings"])) { + return $this->_propDict["lobbyBypassSettings"]; + } else { + $this->_propDict["lobbyBypassSettings"] = new LobbyBypassSettings($this->_propDict["lobbyBypassSettings"]); + return $this->_propDict["lobbyBypassSettings"]; + } + } + return null; + } + + /** + * Sets the lobbyBypassSettings + * Specifies which participants can bypass the meeting lobby. + * + * @param LobbyBypassSettings $val The lobbyBypassSettings + * + * @return OnlineMeeting + */ + public function setLobbyBypassSettings($val) + { + $this->_propDict["lobbyBypassSettings"] = $val; + return $this; + } + + /** + * Gets the participants + * The participants associated with the online meeting. This includes the organizer and the attendees. + * + * @return MeetingParticipants|null The participants + */ + public function getParticipants() + { + if (array_key_exists("participants", $this->_propDict)) { + if (is_a($this->_propDict["participants"], "\Microsoft\Graph\Model\MeetingParticipants") || is_null($this->_propDict["participants"])) { + return $this->_propDict["participants"]; + } else { + $this->_propDict["participants"] = new MeetingParticipants($this->_propDict["participants"]); + return $this->_propDict["participants"]; + } + } + return null; + } + + /** + * Sets the participants + * The participants associated with the online meeting. This includes the organizer and the attendees. + * + * @param MeetingParticipants $val The participants + * + * @return OnlineMeeting + */ + public function setParticipants($val) + { + $this->_propDict["participants"] = $val; + return $this; + } + + /** + * Gets the recordAutomatically + * Indicates whether to record the meeting automatically. + * + * @return bool|null The recordAutomatically + */ + public function getRecordAutomatically() + { + if (array_key_exists("recordAutomatically", $this->_propDict)) { + return $this->_propDict["recordAutomatically"]; + } else { + return null; + } + } + + /** + * Sets the recordAutomatically + * Indicates whether to record the meeting automatically. + * + * @param bool $val The recordAutomatically + * + * @return OnlineMeeting + */ + public function setRecordAutomatically($val) + { + $this->_propDict["recordAutomatically"] = boolval($val); + return $this; + } + + /** + * Gets the startDateTime + * The meeting start time in UTC. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The meeting start time in UTC. + * + * @param \DateTime $val The startDateTime + * + * @return OnlineMeeting + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the subject + * The subject of the online meeting. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The subject of the online meeting. + * + * @param string $val The subject + * + * @return OnlineMeeting + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + /** + * Gets the videoTeleconferenceId + * The video teleconferencing ID. Read-only. + * + * @return string|null The videoTeleconferenceId + */ + public function getVideoTeleconferenceId() + { + if (array_key_exists("videoTeleconferenceId", $this->_propDict)) { + return $this->_propDict["videoTeleconferenceId"]; + } else { + return null; + } + } + + /** + * Sets the videoTeleconferenceId + * The video teleconferencing ID. Read-only. + * + * @param string $val The videoTeleconferenceId + * + * @return OnlineMeeting + */ + public function setVideoTeleconferenceId($val) + { + $this->_propDict["videoTeleconferenceId"] = $val; + return $this; + } + + + /** + * Gets the attendanceReports + * The attendance reports of an online meeting. Read-only. + * + * @return array|null The attendanceReports + */ + public function getAttendanceReports() + { + if (array_key_exists("attendanceReports", $this->_propDict)) { + return $this->_propDict["attendanceReports"]; + } else { + return null; + } + } + + /** + * Sets the attendanceReports + * The attendance reports of an online meeting. Read-only. + * + * @param MeetingAttendanceReport[] $val The attendanceReports + * + * @return OnlineMeeting + */ + public function setAttendanceReports($val) + { + $this->_propDict["attendanceReports"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingInfo.php new file mode 100644 index 0000000..da1bcce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingInfo.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["conferenceId"]; + } else { + return null; + } + } + + /** + * Sets the conferenceId + * The ID of the conference. + * + * @param string $val The value of the conferenceId + * + * @return OnlineMeetingInfo + */ + public function setConferenceId($val) + { + $this->_propDict["conferenceId"] = $val; + return $this; + } + /** + * Gets the joinUrl + * The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. + * + * @return string|null The joinUrl + */ + public function getJoinUrl() + { + if (array_key_exists("joinUrl", $this->_propDict)) { + return $this->_propDict["joinUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinUrl + * The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. + * + * @param string $val The value of the joinUrl + * + * @return OnlineMeetingInfo + */ + public function setJoinUrl($val) + { + $this->_propDict["joinUrl"] = $val; + return $this; + } + + /** + * Gets the phones + * All of the phone numbers associated with this conference. + * + * @return Phone|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + if (is_a($this->_propDict["phones"], "\Microsoft\Graph\Model\Phone") || is_null($this->_propDict["phones"])) { + return $this->_propDict["phones"]; + } else { + $this->_propDict["phones"] = new Phone($this->_propDict["phones"]); + return $this->_propDict["phones"]; + } + } + return null; + } + + /** + * Sets the phones + * All of the phone numbers associated with this conference. + * + * @param Phone $val The value to assign to the phones + * + * @return OnlineMeetingInfo The OnlineMeetingInfo + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + /** + * Gets the quickDial + * The pre-formatted quickdial for this call. + * + * @return string|null The quickDial + */ + public function getQuickDial() + { + if (array_key_exists("quickDial", $this->_propDict)) { + return $this->_propDict["quickDial"]; + } else { + return null; + } + } + + /** + * Sets the quickDial + * The pre-formatted quickdial for this call. + * + * @param string $val The value of the quickDial + * + * @return OnlineMeetingInfo + */ + public function setQuickDial($val) + { + $this->_propDict["quickDial"] = $val; + return $this; + } + /** + * Gets the tollFreeNumbers + * The toll free numbers that can be used to join the conference. + * + * @return string|null The tollFreeNumbers + */ + public function getTollFreeNumbers() + { + if (array_key_exists("tollFreeNumbers", $this->_propDict)) { + return $this->_propDict["tollFreeNumbers"]; + } else { + return null; + } + } + + /** + * Sets the tollFreeNumbers + * The toll free numbers that can be used to join the conference. + * + * @param string $val The value of the tollFreeNumbers + * + * @return OnlineMeetingInfo + */ + public function setTollFreeNumbers($val) + { + $this->_propDict["tollFreeNumbers"] = $val; + return $this; + } + /** + * Gets the tollNumber + * The toll number that can be used to join the conference. + * + * @return string|null The tollNumber + */ + public function getTollNumber() + { + if (array_key_exists("tollNumber", $this->_propDict)) { + return $this->_propDict["tollNumber"]; + } else { + return null; + } + } + + /** + * Sets the tollNumber + * The toll number that can be used to join the conference. + * + * @param string $val The value of the tollNumber + * + * @return OnlineMeetingInfo + */ + public function setTollNumber($val) + { + $this->_propDict["tollNumber"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingPresenters.php b/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingPresenters.php new file mode 100644 index 0000000..fbeed09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingPresenters.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["draftOpenShift"], "\Microsoft\Graph\Model\OpenShiftItem") || is_null($this->_propDict["draftOpenShift"])) { + return $this->_propDict["draftOpenShift"]; + } else { + $this->_propDict["draftOpenShift"] = new OpenShiftItem($this->_propDict["draftOpenShift"]); + return $this->_propDict["draftOpenShift"]; + } + } + return null; + } + + /** + * Sets the draftOpenShift + * An unpublished open shift. + * + * @param OpenShiftItem $val The draftOpenShift + * + * @return OpenShift + */ + public function setDraftOpenShift($val) + { + $this->_propDict["draftOpenShift"] = $val; + return $this; + } + + /** + * Gets the schedulingGroupId + * ID for the scheduling group that the open shift belongs to. + * + * @return string|null The schedulingGroupId + */ + public function getSchedulingGroupId() + { + if (array_key_exists("schedulingGroupId", $this->_propDict)) { + return $this->_propDict["schedulingGroupId"]; + } else { + return null; + } + } + + /** + * Sets the schedulingGroupId + * ID for the scheduling group that the open shift belongs to. + * + * @param string $val The schedulingGroupId + * + * @return OpenShift + */ + public function setSchedulingGroupId($val) + { + $this->_propDict["schedulingGroupId"] = $val; + return $this; + } + + /** + * Gets the sharedOpenShift + * A published open shift. + * + * @return OpenShiftItem|null The sharedOpenShift + */ + public function getSharedOpenShift() + { + if (array_key_exists("sharedOpenShift", $this->_propDict)) { + if (is_a($this->_propDict["sharedOpenShift"], "\Microsoft\Graph\Model\OpenShiftItem") || is_null($this->_propDict["sharedOpenShift"])) { + return $this->_propDict["sharedOpenShift"]; + } else { + $this->_propDict["sharedOpenShift"] = new OpenShiftItem($this->_propDict["sharedOpenShift"]); + return $this->_propDict["sharedOpenShift"]; + } + } + return null; + } + + /** + * Sets the sharedOpenShift + * A published open shift. + * + * @param OpenShiftItem $val The sharedOpenShift + * + * @return OpenShift + */ + public function setSharedOpenShift($val) + { + $this->_propDict["sharedOpenShift"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OpenShiftChangeRequest.php b/vendor/microsoft/microsoft-graph/src/Model/OpenShiftChangeRequest.php new file mode 100644 index 0000000..3808727 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OpenShiftChangeRequest.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["openShiftId"]; + } else { + return null; + } + } + + /** + * Sets the openShiftId + * ID for the open shift. + * + * @param string $val The openShiftId + * + * @return OpenShiftChangeRequest + */ + public function setOpenShiftId($val) + { + $this->_propDict["openShiftId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OpenShiftItem.php b/vendor/microsoft/microsoft-graph/src/Model/OpenShiftItem.php new file mode 100644 index 0000000..d72e09a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OpenShiftItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["openSlotCount"]; + } else { + return null; + } + } + + /** + * Sets the openSlotCount + * Count of the number of slots for the given open shift. + * + * @param int $val The value of the openSlotCount + * + * @return OpenShiftItem + */ + public function setOpenSlotCount($val) + { + $this->_propDict["openSlotCount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OpenTypeExtension.php b/vendor/microsoft/microsoft-graph/src/Model/OpenTypeExtension.php new file mode 100644 index 0000000..00acffc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OpenTypeExtension.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["extensionName"]; + } else { + return null; + } + } + + /** + * Sets the extensionName + * A unique text identifier for an open type data extension. Required. + * + * @param string $val The extensionName + * + * @return OpenTypeExtension + */ + public function setExtensionName($val) + { + $this->_propDict["extensionName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Operation.php b/vendor/microsoft/microsoft-graph/src/Model/Operation.php new file mode 100644 index 0000000..1309ee2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Operation.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The start time of the operation. + * + * @param \DateTime $val The createdDateTime + * + * @return Operation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * The time of the last action of the operation. + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * The time of the last action of the operation. + * + * @param \DateTime $val The lastActionDateTime + * + * @return Operation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @return OperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new OperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: notStarted, running, completed, failed. Read-only. + * + * @param OperationStatus $val The status + * + * @return Operation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OperationError.php b/vendor/microsoft/microsoft-graph/src/Model/OperationError.php new file mode 100644 index 0000000..fa66abc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OperationError.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * Operation error code. + * + * @param string $val The value of the code + * + * @return OperationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * Operation error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * Operation error message. + * + * @param string $val The value of the message + * + * @return OperationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OperationResult.php b/vendor/microsoft/microsoft-graph/src/Model/OperationResult.php new file mode 100644 index 0000000..22e23b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OperationResult.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["additionalProperties"]; + } else { + return null; + } + } + + /** + * Sets the additionalProperties + * Additional properties of the claim. If a property exists in this collection, it modifies the behavior of the optional claim specified in the name property. + * + * @param string $val The value of the additionalProperties + * + * @return OptionalClaim + */ + public function setAdditionalProperties($val) + { + $this->_propDict["additionalProperties"] = $val; + return $this; + } + /** + * Gets the essential + * If the value is true, the claim specified by the client is necessary to ensure a smooth authorization experience for the specific task requested by the end user. The default value is false. + * + * @return bool|null The essential + */ + public function getEssential() + { + if (array_key_exists("essential", $this->_propDict)) { + return $this->_propDict["essential"]; + } else { + return null; + } + } + + /** + * Sets the essential + * If the value is true, the claim specified by the client is necessary to ensure a smooth authorization experience for the specific task requested by the end user. The default value is false. + * + * @param bool $val The value of the essential + * + * @return OptionalClaim + */ + public function setEssential($val) + { + $this->_propDict["essential"] = $val; + return $this; + } + /** + * Gets the name + * The name of the optional claim. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the optional claim. + * + * @param string $val The value of the name + * + * @return OptionalClaim + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the source + * The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object. + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * The source (directory object) of the claim. There are predefined claims and user-defined claims from extension properties. If the source value is null, the claim is a predefined optional claim. If the source value is user, the value in the name property is the extension property from the user object. + * + * @param string $val The value of the source + * + * @return OptionalClaim + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OptionalClaims.php b/vendor/microsoft/microsoft-graph/src/Model/OptionalClaims.php new file mode 100644 index 0000000..3ccce4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OptionalClaims.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["accessToken"], "\Microsoft\Graph\Model\OptionalClaim") || is_null($this->_propDict["accessToken"])) { + return $this->_propDict["accessToken"]; + } else { + $this->_propDict["accessToken"] = new OptionalClaim($this->_propDict["accessToken"]); + return $this->_propDict["accessToken"]; + } + } + return null; + } + + /** + * Sets the accessToken + * The optional claims returned in the JWT access token. + * + * @param OptionalClaim $val The value to assign to the accessToken + * + * @return OptionalClaims The OptionalClaims + */ + public function setAccessToken($val) + { + $this->_propDict["accessToken"] = $val; + return $this; + } + + /** + * Gets the idToken + * The optional claims returned in the JWT ID token. + * + * @return OptionalClaim|null The idToken + */ + public function getIdToken() + { + if (array_key_exists("idToken", $this->_propDict)) { + if (is_a($this->_propDict["idToken"], "\Microsoft\Graph\Model\OptionalClaim") || is_null($this->_propDict["idToken"])) { + return $this->_propDict["idToken"]; + } else { + $this->_propDict["idToken"] = new OptionalClaim($this->_propDict["idToken"]); + return $this->_propDict["idToken"]; + } + } + return null; + } + + /** + * Sets the idToken + * The optional claims returned in the JWT ID token. + * + * @param OptionalClaim $val The value to assign to the idToken + * + * @return OptionalClaims The OptionalClaims + */ + public function setIdToken($val) + { + $this->_propDict["idToken"] = $val; + return $this; + } + + /** + * Gets the saml2Token + * The optional claims returned in the SAML token. + * + * @return OptionalClaim|null The saml2Token + */ + public function getSaml2Token() + { + if (array_key_exists("saml2Token", $this->_propDict)) { + if (is_a($this->_propDict["saml2Token"], "\Microsoft\Graph\Model\OptionalClaim") || is_null($this->_propDict["saml2Token"])) { + return $this->_propDict["saml2Token"]; + } else { + $this->_propDict["saml2Token"] = new OptionalClaim($this->_propDict["saml2Token"]); + return $this->_propDict["saml2Token"]; + } + } + return null; + } + + /** + * Sets the saml2Token + * The optional claims returned in the SAML token. + * + * @param OptionalClaim $val The value to assign to the saml2Token + * + * @return OptionalClaims The OptionalClaims + */ + public function setSaml2Token($val) + { + $this->_propDict["saml2Token"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OrgContact.php b/vendor/microsoft/microsoft-graph/src/Model/OrgContact.php new file mode 100644 index 0000000..50ebd2a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OrgContact.php @@ -0,0 +1,561 @@ +_propDict)) { + return $this->_propDict["addresses"]; + } else { + return null; + } + } + + /** + * Sets the addresses + * Postal addresses for this organizational contact. For now a contact can only have one physical address. + * + * @param PhysicalOfficeAddress[] $val The addresses + * + * @return OrgContact + */ + public function setAddresses($val) + { + $this->_propDict["addresses"] = $val; + return $this; + } + + /** + * Gets the companyName + * Name of the company that this organizational contact belong to. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @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 + * Name of the company that this organizational contact belong to. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The companyName + * + * @return OrgContact + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the department + * The name for the department in which the contact works. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The name for the department in which the contact works. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The department + * + * @return OrgContact + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return OrgContact + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the givenName + * First name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * First name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The givenName + * + * @return OrgContact + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the jobTitle + * Job title for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * Job title for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The jobTitle + * + * @return OrgContact + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the contact, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the contact, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mail + * + * @return OrgContact + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * Email alias (portion of email address pre-pending the @ symbol) for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * Email alias (portion of email address pre-pending the @ symbol) for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mailNickname + * + * @return OrgContact + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * Date and time when this organizational contact was last synchronized from on-premises AD. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * Date and time when this organizational contact was last synchronized from on-premises AD. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return OrgContact + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + + /** + * Gets the onPremisesProvisioningErrors + * List of any synchronization provisioning errors for this organizational contact. Supports $filter (eq, not). + * + * @return array|null The onPremisesProvisioningErrors + */ + public function getOnPremisesProvisioningErrors() + { + if (array_key_exists("onPremisesProvisioningErrors", $this->_propDict)) { + return $this->_propDict["onPremisesProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesProvisioningErrors + * List of any synchronization provisioning errors for this organizational contact. Supports $filter (eq, not). + * + * @param OnPremisesProvisioningError[] $val The onPremisesProvisioningErrors + * + * @return OrgContact + */ + public function setOnPremisesProvisioningErrors($val) + { + $this->_propDict["onPremisesProvisioningErrors"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced and now mastered in Exchange; null if this object has never been synced from an on-premises directory (default). Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return OrgContact + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the phones + * List of phones for this organizational contact. Phone types can be mobile, business, and businessFax. Only one of each type can ever be present in the collection. Supports $filter (eq, ne, not, in). + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * List of phones for this organizational contact. Phone types can be mobile, business, and businessFax. Only one of each type can ever be present in the collection. Supports $filter (eq, ne, not, in). + * + * @param Phone[] $val The phones + * + * @return OrgContact + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + + /** + * Gets the proxyAddresses + * For example: 'SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'. The any operator is required for filter expressions on multi-valued properties. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @return string|null The proxyAddresses + */ + public function getProxyAddresses() + { + if (array_key_exists("proxyAddresses", $this->_propDict)) { + return $this->_propDict["proxyAddresses"]; + } else { + return null; + } + } + + /** + * Sets the proxyAddresses + * For example: 'SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'. The any operator is required for filter expressions on multi-valued properties. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). + * + * @param string $val The proxyAddresses + * + * @return OrgContact + */ + public function setProxyAddresses($val) + { + $this->_propDict["proxyAddresses"] = $val; + return $this; + } + + /** + * Gets the surname + * Last name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * Last name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + * + * @param string $val The surname + * + * @return OrgContact + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + + /** + * Gets the directReports + * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + * + * @return array|null The directReports + */ + public function getDirectReports() + { + if (array_key_exists("directReports", $this->_propDict)) { + return $this->_propDict["directReports"]; + } else { + return null; + } + } + + /** + * Sets the directReports + * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The directReports + * + * @return OrgContact + */ + public function setDirectReports($val) + { + $this->_propDict["directReports"] = $val; + return $this; + } + + /** + * Gets the manager + * The user or contact that is this contact's manager. Read-only. Supports $expand. + * + * @return DirectoryObject|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + if (is_a($this->_propDict["manager"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new DirectoryObject($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * The user or contact that is this contact's manager. Read-only. Supports $expand. + * + * @param DirectoryObject $val The manager + * + * @return OrgContact + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Groups that this contact is a member of. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return OrgContact + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return OrgContact + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Organization.php b/vendor/microsoft/microsoft-graph/src/Model/Organization.php new file mode 100644 index 0000000..3b20b5d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Organization.php @@ -0,0 +1,771 @@ +_propDict)) { + return $this->_propDict["assignedPlans"]; + } else { + return null; + } + } + + /** + * Sets the assignedPlans + * The collection of service plans associated with the tenant. Not nullable. + * + * @param AssignedPlan[] $val The assignedPlans + * + * @return Organization + */ + public function setAssignedPlans($val) + { + $this->_propDict["assignedPlans"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * Telephone number for the organization. Although this is a string collection, only one number can be set for this property. + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * Telephone number for the organization. Although this is a string collection, only one number can be set for this property. + * + * @param string $val The businessPhones + * + * @return Organization + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the city + * City name of the address for the organization. + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * City name of the address for the organization. + * + * @param string $val The city + * + * @return Organization + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + + /** + * Gets the country + * Country/region name of the address for the organization. + * + * @return string|null The country + */ + public function getCountry() + { + if (array_key_exists("country", $this->_propDict)) { + return $this->_propDict["country"]; + } else { + return null; + } + } + + /** + * Sets the country + * Country/region name of the address for the organization. + * + * @param string $val The country + * + * @return Organization + */ + public function setCountry($val) + { + $this->_propDict["country"] = $val; + return $this; + } + + /** + * Gets the countryLetterCode + * Country or region abbreviation for the organization in ISO 3166-2 format. + * + * @return string|null The countryLetterCode + */ + public function getCountryLetterCode() + { + if (array_key_exists("countryLetterCode", $this->_propDict)) { + return $this->_propDict["countryLetterCode"]; + } else { + return null; + } + } + + /** + * Sets the countryLetterCode + * Country or region abbreviation for the organization in ISO 3166-2 format. + * + * @param string $val The countryLetterCode + * + * @return Organization + */ + public function setCountryLetterCode($val) + { + $this->_propDict["countryLetterCode"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. 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 createdDateTime + * + * @return Organization + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the tenant. + * + * @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 + * The display name for the tenant. + * + * @param string $val The displayName + * + * @return Organization + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the marketingNotificationEmails + * Not nullable. + * + * @return string|null The marketingNotificationEmails + */ + public function getMarketingNotificationEmails() + { + if (array_key_exists("marketingNotificationEmails", $this->_propDict)) { + return $this->_propDict["marketingNotificationEmails"]; + } else { + return null; + } + } + + /** + * Sets the marketingNotificationEmails + * Not nullable. + * + * @param string $val The marketingNotificationEmails + * + * @return Organization + */ + public function setMarketingNotificationEmails($val) + { + $this->_propDict["marketingNotificationEmails"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * The time and date at which the tenant was last synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * The time and date at which the tenant was last synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return Organization + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; Nullable. null if this object has never been synced from an on-premises directory (default). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; Nullable. null if this object has never been synced from an on-premises directory (default). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return Organization + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the postalCode + * Postal code of the address for the organization. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * Postal code of the address for the organization. + * + * @param string $val The postalCode + * + * @return Organization + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for the organization. Should follow ISO 639-1 Code; for example en. + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for the organization. Should follow ISO 639-1 Code; for example en. + * + * @param string $val The preferredLanguage + * + * @return Organization + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + /** + * Gets the privacyProfile + * The privacy profile of an organization. + * + * @return PrivacyProfile|null The privacyProfile + */ + public function getPrivacyProfile() + { + if (array_key_exists("privacyProfile", $this->_propDict)) { + if (is_a($this->_propDict["privacyProfile"], "\Microsoft\Graph\Model\PrivacyProfile") || is_null($this->_propDict["privacyProfile"])) { + return $this->_propDict["privacyProfile"]; + } else { + $this->_propDict["privacyProfile"] = new PrivacyProfile($this->_propDict["privacyProfile"]); + return $this->_propDict["privacyProfile"]; + } + } + return null; + } + + /** + * Sets the privacyProfile + * The privacy profile of an organization. + * + * @param PrivacyProfile $val The privacyProfile + * + * @return Organization + */ + public function setPrivacyProfile($val) + { + $this->_propDict["privacyProfile"] = $val; + return $this; + } + + + /** + * Gets the provisionedPlans + * Not nullable. + * + * @return array|null The provisionedPlans + */ + public function getProvisionedPlans() + { + if (array_key_exists("provisionedPlans", $this->_propDict)) { + return $this->_propDict["provisionedPlans"]; + } else { + return null; + } + } + + /** + * Sets the provisionedPlans + * Not nullable. + * + * @param ProvisionedPlan[] $val The provisionedPlans + * + * @return Organization + */ + public function setProvisionedPlans($val) + { + $this->_propDict["provisionedPlans"] = $val; + return $this; + } + + /** + * Gets the securityComplianceNotificationMails + * + * @return string|null The securityComplianceNotificationMails + */ + public function getSecurityComplianceNotificationMails() + { + if (array_key_exists("securityComplianceNotificationMails", $this->_propDict)) { + return $this->_propDict["securityComplianceNotificationMails"]; + } else { + return null; + } + } + + /** + * Sets the securityComplianceNotificationMails + * + * @param string $val The securityComplianceNotificationMails + * + * @return Organization + */ + public function setSecurityComplianceNotificationMails($val) + { + $this->_propDict["securityComplianceNotificationMails"] = $val; + return $this; + } + + /** + * Gets the securityComplianceNotificationPhones + * + * @return string|null The securityComplianceNotificationPhones + */ + public function getSecurityComplianceNotificationPhones() + { + if (array_key_exists("securityComplianceNotificationPhones", $this->_propDict)) { + return $this->_propDict["securityComplianceNotificationPhones"]; + } else { + return null; + } + } + + /** + * Sets the securityComplianceNotificationPhones + * + * @param string $val The securityComplianceNotificationPhones + * + * @return Organization + */ + public function setSecurityComplianceNotificationPhones($val) + { + $this->_propDict["securityComplianceNotificationPhones"] = $val; + return $this; + } + + /** + * Gets the state + * State name of the address for the organization. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * State name of the address for the organization. + * + * @param string $val The state + * + * @return Organization + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the street + * Street name of the address for organization. + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * Street name of the address for organization. + * + * @param string $val The street + * + * @return Organization + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } + + /** + * Gets the technicalNotificationMails + * Not nullable. + * + * @return string|null The technicalNotificationMails + */ + public function getTechnicalNotificationMails() + { + if (array_key_exists("technicalNotificationMails", $this->_propDict)) { + return $this->_propDict["technicalNotificationMails"]; + } else { + return null; + } + } + + /** + * Sets the technicalNotificationMails + * Not nullable. + * + * @param string $val The technicalNotificationMails + * + * @return Organization + */ + public function setTechnicalNotificationMails($val) + { + $this->_propDict["technicalNotificationMails"] = $val; + return $this; + } + + /** + * Gets the tenantType + * + * @return string|null The tenantType + */ + public function getTenantType() + { + if (array_key_exists("tenantType", $this->_propDict)) { + return $this->_propDict["tenantType"]; + } else { + return null; + } + } + + /** + * Sets the tenantType + * + * @param string $val The tenantType + * + * @return Organization + */ + public function setTenantType($val) + { + $this->_propDict["tenantType"] = $val; + return $this; + } + + + /** + * Gets the verifiedDomains + * The collection of domains associated with this tenant. Not nullable. + * + * @return array|null The verifiedDomains + */ + public function getVerifiedDomains() + { + if (array_key_exists("verifiedDomains", $this->_propDict)) { + return $this->_propDict["verifiedDomains"]; + } else { + return null; + } + } + + /** + * Sets the verifiedDomains + * The collection of domains associated with this tenant. Not nullable. + * + * @param VerifiedDomain[] $val The verifiedDomains + * + * @return Organization + */ + public function setVerifiedDomains($val) + { + $this->_propDict["verifiedDomains"] = $val; + return $this; + } + + /** + * Gets the mobileDeviceManagementAuthority + * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. + * + * @return MdmAuthority|null The mobileDeviceManagementAuthority + */ + public function getMobileDeviceManagementAuthority() + { + if (array_key_exists("mobileDeviceManagementAuthority", $this->_propDict)) { + if (is_a($this->_propDict["mobileDeviceManagementAuthority"], "\Microsoft\Graph\Model\MdmAuthority") || is_null($this->_propDict["mobileDeviceManagementAuthority"])) { + return $this->_propDict["mobileDeviceManagementAuthority"]; + } else { + $this->_propDict["mobileDeviceManagementAuthority"] = new MdmAuthority($this->_propDict["mobileDeviceManagementAuthority"]); + return $this->_propDict["mobileDeviceManagementAuthority"]; + } + } + return null; + } + + /** + * Sets the mobileDeviceManagementAuthority + * Mobile device management authority. Possible values are: unknown, intune, sccm, office365. + * + * @param MdmAuthority $val The mobileDeviceManagementAuthority + * + * @return Organization + */ + public function setMobileDeviceManagementAuthority($val) + { + $this->_propDict["mobileDeviceManagementAuthority"] = $val; + return $this; + } + + /** + * Gets the branding + * Resource to manage the default branding for the organization. Nullable. + * + * @return OrganizationalBranding|null The branding + */ + public function getBranding() + { + if (array_key_exists("branding", $this->_propDict)) { + if (is_a($this->_propDict["branding"], "\Microsoft\Graph\Model\OrganizationalBranding") || is_null($this->_propDict["branding"])) { + return $this->_propDict["branding"]; + } else { + $this->_propDict["branding"] = new OrganizationalBranding($this->_propDict["branding"]); + return $this->_propDict["branding"]; + } + } + return null; + } + + /** + * Sets the branding + * Resource to manage the default branding for the organization. Nullable. + * + * @param OrganizationalBranding $val The branding + * + * @return Organization + */ + public function setBranding($val) + { + $this->_propDict["branding"] = $val; + return $this; + } + + + /** + * Gets the certificateBasedAuthConfiguration + * Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. + * + * @return array|null The certificateBasedAuthConfiguration + */ + public function getCertificateBasedAuthConfiguration() + { + if (array_key_exists("certificateBasedAuthConfiguration", $this->_propDict)) { + return $this->_propDict["certificateBasedAuthConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the certificateBasedAuthConfiguration + * Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. + * + * @param CertificateBasedAuthConfiguration[] $val The certificateBasedAuthConfiguration + * + * @return Organization + */ + public function setCertificateBasedAuthConfiguration($val) + { + $this->_propDict["certificateBasedAuthConfiguration"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the organization resource. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the organization resource. Nullable. + * + * @param Extension[] $val The extensions + * + * @return Organization + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBranding.php b/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBranding.php new file mode 100644 index 0000000..cdac7ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBranding.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["localizations"]; + } else { + return null; + } + } + + /** + * Sets the localizations + * Add different branding based on a locale. + * + * @param OrganizationalBrandingLocalization[] $val The localizations + * + * @return OrganizationalBranding + */ + public function setLocalizations($val) + { + $this->_propDict["localizations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBrandingLocalization.php b/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBrandingLocalization.php new file mode 100644 index 0000000..492a6a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBrandingLocalization.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["backgroundColor"]; + } else { + return null; + } + } + + /** + * Sets the backgroundColor + * Color that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF. + * + * @param string $val The backgroundColor + * + * @return OrganizationalBrandingProperties + */ + public function setBackgroundColor($val) + { + $this->_propDict["backgroundColor"] = $val; + return $this; + } + + /** + * Gets the backgroundImage + * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + * + * @return \GuzzleHttp\Psr7\Stream|null The backgroundImage + */ + public function getBackgroundImage() + { + if (array_key_exists("backgroundImage", $this->_propDict)) { + if (is_a($this->_propDict["backgroundImage"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["backgroundImage"])) { + return $this->_propDict["backgroundImage"]; + } else { + $this->_propDict["backgroundImage"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["backgroundImage"]); + return $this->_propDict["backgroundImage"]; + } + } + return null; + } + + /** + * Sets the backgroundImage + * Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. + * + * @param \GuzzleHttp\Psr7\Stream $val The backgroundImage + * + * @return OrganizationalBrandingProperties + */ + public function setBackgroundImage($val) + { + $this->_propDict["backgroundImage"] = $val; + return $this; + } + + /** + * Gets the backgroundImageRelativeUrl + * A relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @return string|null The backgroundImageRelativeUrl + */ + public function getBackgroundImageRelativeUrl() + { + if (array_key_exists("backgroundImageRelativeUrl", $this->_propDict)) { + return $this->_propDict["backgroundImageRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the backgroundImageRelativeUrl + * A relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @param string $val The backgroundImageRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setBackgroundImageRelativeUrl($val) + { + $this->_propDict["backgroundImageRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the bannerLogo + * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + * + * @return \GuzzleHttp\Psr7\Stream|null The bannerLogo + */ + public function getBannerLogo() + { + if (array_key_exists("bannerLogo", $this->_propDict)) { + if (is_a($this->_propDict["bannerLogo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["bannerLogo"])) { + return $this->_propDict["bannerLogo"]; + } else { + $this->_propDict["bannerLogo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["bannerLogo"]); + return $this->_propDict["bannerLogo"]; + } + } + return null; + } + + /** + * Sets the bannerLogo + * A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. + * + * @param \GuzzleHttp\Psr7\Stream $val The bannerLogo + * + * @return OrganizationalBrandingProperties + */ + public function setBannerLogo($val) + { + $this->_propDict["bannerLogo"] = $val; + return $this; + } + + /** + * Gets the bannerLogoRelativeUrl + * A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. + * + * @return string|null The bannerLogoRelativeUrl + */ + public function getBannerLogoRelativeUrl() + { + if (array_key_exists("bannerLogoRelativeUrl", $this->_propDict)) { + return $this->_propDict["bannerLogoRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the bannerLogoRelativeUrl + * A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only. + * + * @param string $val The bannerLogoRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setBannerLogoRelativeUrl($val) + { + $this->_propDict["bannerLogoRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the cdnList + * A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only. + * + * @return string|null The cdnList + */ + public function getCdnList() + { + if (array_key_exists("cdnList", $this->_propDict)) { + return $this->_propDict["cdnList"]; + } else { + return null; + } + } + + /** + * Sets the cdnList + * A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only. + * + * @param string $val The cdnList + * + * @return OrganizationalBrandingProperties + */ + public function setCdnList($val) + { + $this->_propDict["cdnList"] = $val; + return $this; + } + + /** + * Gets the signInPageText + * Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters. + * + * @return string|null The signInPageText + */ + public function getSignInPageText() + { + if (array_key_exists("signInPageText", $this->_propDict)) { + return $this->_propDict["signInPageText"]; + } else { + return null; + } + } + + /** + * Sets the signInPageText + * Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters. + * + * @param string $val The signInPageText + * + * @return OrganizationalBrandingProperties + */ + public function setSignInPageText($val) + { + $this->_propDict["signInPageText"] = $val; + return $this; + } + + /** + * Gets the squareLogo + * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + * + * @return \GuzzleHttp\Psr7\Stream|null The squareLogo + */ + public function getSquareLogo() + { + if (array_key_exists("squareLogo", $this->_propDict)) { + if (is_a($this->_propDict["squareLogo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["squareLogo"])) { + return $this->_propDict["squareLogo"]; + } else { + $this->_propDict["squareLogo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["squareLogo"]); + return $this->_propDict["squareLogo"]; + } + } + return null; + } + + /** + * Sets the squareLogo + * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. + * + * @param \GuzzleHttp\Psr7\Stream $val The squareLogo + * + * @return OrganizationalBrandingProperties + */ + public function setSquareLogo($val) + { + $this->_propDict["squareLogo"] = $val; + return $this; + } + + /** + * Gets the squareLogoRelativeUrl + * A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @return string|null The squareLogoRelativeUrl + */ + public function getSquareLogoRelativeUrl() + { + if (array_key_exists("squareLogoRelativeUrl", $this->_propDict)) { + return $this->_propDict["squareLogoRelativeUrl"]; + } else { + return null; + } + } + + /** + * Sets the squareLogoRelativeUrl + * A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only. + * + * @param string $val The squareLogoRelativeUrl + * + * @return OrganizationalBrandingProperties + */ + public function setSquareLogoRelativeUrl($val) + { + $this->_propDict["squareLogoRelativeUrl"] = $val; + return $this; + } + + /** + * Gets the usernameHintText + * A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. + * + * @return string|null The usernameHintText + */ + public function getUsernameHintText() + { + if (array_key_exists("usernameHintText", $this->_propDict)) { + return $this->_propDict["usernameHintText"]; + } else { + return null; + } + } + + /** + * Sets the usernameHintText + * A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters. + * + * @param string $val The usernameHintText + * + * @return OrganizationalBrandingProperties + */ + public function setUsernameHintText($val) + { + $this->_propDict["usernameHintText"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OrganizerMeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Model/OrganizerMeetingInfo.php new file mode 100644 index 0000000..b0ea9f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OrganizerMeetingInfo.php @@ -0,0 +1,70 @@ +setODataType("#microsoft.graph.organizerMeetingInfo"); + } + + + /** + * Gets the organizer + * The organizer Azure Active Directory identity. + * + * @return IdentitySet|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new IdentitySet($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * The organizer Azure Active Directory identity. + * + * @param IdentitySet $val The value to assign to the organizer + * + * @return OrganizerMeetingInfo The OrganizerMeetingInfo + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OutgoingCallOptions.php b/vendor/microsoft/microsoft-graph/src/Model/OutgoingCallOptions.php new file mode 100644 index 0000000..7df2b8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OutgoingCallOptions.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.outgoingCallOptions"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OutlookCategory.php b/vendor/microsoft/microsoft-graph/src/Model/OutlookCategory.php new file mode 100644 index 0000000..a649031 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OutlookCategory.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["color"], "\Microsoft\Graph\Model\CategoryColor") || is_null($this->_propDict["color"])) { + return $this->_propDict["color"]; + } else { + $this->_propDict["color"] = new CategoryColor($this->_propDict["color"]); + return $this->_propDict["color"]; + } + } + return null; + } + + /** + * Sets the color + * A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below. + * + * @param CategoryColor $val The color + * + * @return OutlookCategory + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the displayName + * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. + * + * @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 + * A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only. + * + * @param string $val The displayName + * + * @return OutlookCategory + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OutlookGeoCoordinates.php b/vendor/microsoft/microsoft-graph/src/Model/OutlookGeoCoordinates.php new file mode 100644 index 0000000..de7fedd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OutlookGeoCoordinates.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["accuracy"]; + } else { + return null; + } + } + + /** + * Sets the accuracy + * The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. + * + * @param float $val The value of the accuracy + * + * @return OutlookGeoCoordinates + */ + public function setAccuracy($val) + { + $this->_propDict["accuracy"] = $val; + return $this; + } + /** + * Gets the altitude + * The altitude of the location. + * + * @return float|null The altitude + */ + public function getAltitude() + { + if (array_key_exists("altitude", $this->_propDict)) { + return $this->_propDict["altitude"]; + } else { + return null; + } + } + + /** + * Sets the altitude + * The altitude of the location. + * + * @param float $val The value of the altitude + * + * @return OutlookGeoCoordinates + */ + public function setAltitude($val) + { + $this->_propDict["altitude"] = $val; + return $this; + } + /** + * Gets the altitudeAccuracy + * The accuracy of the altitude. + * + * @return float|null The altitudeAccuracy + */ + public function getAltitudeAccuracy() + { + if (array_key_exists("altitudeAccuracy", $this->_propDict)) { + return $this->_propDict["altitudeAccuracy"]; + } else { + return null; + } + } + + /** + * Sets the altitudeAccuracy + * The accuracy of the altitude. + * + * @param float $val The value of the altitudeAccuracy + * + * @return OutlookGeoCoordinates + */ + public function setAltitudeAccuracy($val) + { + $this->_propDict["altitudeAccuracy"] = $val; + return $this; + } + /** + * Gets the latitude + * The latitude of the location. + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * The latitude of the location. + * + * @param float $val The value of the latitude + * + * @return OutlookGeoCoordinates + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * The longitude of the location. + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * The longitude of the location. + * + * @param float $val The value of the longitude + * + * @return OutlookGeoCoordinates + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OutlookItem.php b/vendor/microsoft/microsoft-graph/src/Model/OutlookItem.php new file mode 100644 index 0000000..496cb8e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OutlookItem.php @@ -0,0 +1,151 @@ +_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * The categories associated with the item + * + * @param string $val The categories + * + * @return OutlookItem + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the changeKey + * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @return string|null The changeKey + */ + public function getChangeKey() + { + if (array_key_exists("changeKey", $this->_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. + * + * @param string $val The changeKey + * + * @return OutlookItem + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return OutlookItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * 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 lastModifiedDateTime + * + * @return OutlookItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OutlookUser.php b/vendor/microsoft/microsoft-graph/src/Model/OutlookUser.php new file mode 100644 index 0000000..b3295dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/OutlookUser.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["masterCategories"]; + } else { + return null; + } + } + + /** + * Sets the masterCategories + * A list of categories defined for the user. + * + * @param OutlookCategory[] $val The masterCategories + * + * @return OutlookUser + */ + public function setMasterCategories($val) + { + $this->_propDict["masterCategories"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Package.php b/vendor/microsoft/microsoft-graph/src/Model/Package.php new file mode 100644 index 0000000..56deb2e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Package.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly. + * + * @param string $val The value of the type + * + * @return Package + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PageLinks.php b/vendor/microsoft/microsoft-graph/src/Model/PageLinks.php new file mode 100644 index 0000000..494a4bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PageLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the page in the OneNote native client if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return PageLinks The PageLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the page in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the page in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return PageLinks The PageLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ParentalControlSettings.php b/vendor/microsoft/microsoft-graph/src/Model/ParentalControlSettings.php new file mode 100644 index 0000000..37bc0a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ParentalControlSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["countriesBlockedForMinors"]; + } else { + return null; + } + } + + /** + * Sets the countriesBlockedForMinors + * Specifies the two-letter ISO country codes. Access to the application will be blocked for minors from the countries specified in this list. + * + * @param string $val The value of the countriesBlockedForMinors + * + * @return ParentalControlSettings + */ + public function setCountriesBlockedForMinors($val) + { + $this->_propDict["countriesBlockedForMinors"] = $val; + return $this; + } + /** + * Gets the legalAgeGroupRule + * Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country minor rules.BlockMinorsBlocks minors from using the app. + * + * @return string|null The legalAgeGroupRule + */ + public function getLegalAgeGroupRule() + { + if (array_key_exists("legalAgeGroupRule", $this->_propDict)) { + return $this->_propDict["legalAgeGroupRule"]; + } else { + return null; + } + } + + /** + * Sets the legalAgeGroupRule + * Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country minor rules.BlockMinorsBlocks minors from using the app. + * + * @param string $val The value of the legalAgeGroupRule + * + * @return ParentalControlSettings + */ + public function setLegalAgeGroupRule($val) + { + $this->_propDict["legalAgeGroupRule"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Participant.php b/vendor/microsoft/microsoft-graph/src/Model/Participant.php new file mode 100644 index 0000000..177101c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Participant.php @@ -0,0 +1,210 @@ +_propDict)) { + if (is_a($this->_propDict["info"], "\Microsoft\Graph\Model\ParticipantInfo") || is_null($this->_propDict["info"])) { + return $this->_propDict["info"]; + } else { + $this->_propDict["info"] = new ParticipantInfo($this->_propDict["info"]); + return $this->_propDict["info"]; + } + } + return null; + } + + /** + * Sets the info + * Information about the participant. + * + * @param ParticipantInfo $val The info + * + * @return Participant + */ + public function setInfo($val) + { + $this->_propDict["info"] = $val; + return $this; + } + + /** + * Gets the isInLobby + * true if the participant is in lobby. + * + * @return bool|null The isInLobby + */ + public function getIsInLobby() + { + if (array_key_exists("isInLobby", $this->_propDict)) { + return $this->_propDict["isInLobby"]; + } else { + return null; + } + } + + /** + * Sets the isInLobby + * true if the participant is in lobby. + * + * @param bool $val The isInLobby + * + * @return Participant + */ + public function setIsInLobby($val) + { + $this->_propDict["isInLobby"] = boolval($val); + return $this; + } + + /** + * Gets the isMuted + * true if the participant is muted (client or server muted). + * + * @return bool|null The isMuted + */ + public function getIsMuted() + { + if (array_key_exists("isMuted", $this->_propDict)) { + return $this->_propDict["isMuted"]; + } else { + return null; + } + } + + /** + * Sets the isMuted + * true if the participant is muted (client or server muted). + * + * @param bool $val The isMuted + * + * @return Participant + */ + public function setIsMuted($val) + { + $this->_propDict["isMuted"] = boolval($val); + return $this; + } + + + /** + * Gets the mediaStreams + * The list of media streams. + * + * @return array|null The mediaStreams + */ + public function getMediaStreams() + { + if (array_key_exists("mediaStreams", $this->_propDict)) { + return $this->_propDict["mediaStreams"]; + } else { + return null; + } + } + + /** + * Sets the mediaStreams + * The list of media streams. + * + * @param MediaStream[] $val The mediaStreams + * + * @return Participant + */ + public function setMediaStreams($val) + { + $this->_propDict["mediaStreams"] = $val; + return $this; + } + + /** + * Gets the metadata + * A blob of data provided by the participant in the roster. + * + * @return string|null The metadata + */ + public function getMetadata() + { + if (array_key_exists("metadata", $this->_propDict)) { + return $this->_propDict["metadata"]; + } else { + return null; + } + } + + /** + * Sets the metadata + * A blob of data provided by the participant in the roster. + * + * @param string $val The metadata + * + * @return Participant + */ + public function setMetadata($val) + { + $this->_propDict["metadata"] = $val; + return $this; + } + + /** + * Gets the recordingInfo + * Information on whether the participant has recording capability. + * + * @return RecordingInfo|null The recordingInfo + */ + public function getRecordingInfo() + { + if (array_key_exists("recordingInfo", $this->_propDict)) { + if (is_a($this->_propDict["recordingInfo"], "\Microsoft\Graph\Model\RecordingInfo") || is_null($this->_propDict["recordingInfo"])) { + return $this->_propDict["recordingInfo"]; + } else { + $this->_propDict["recordingInfo"] = new RecordingInfo($this->_propDict["recordingInfo"]); + return $this->_propDict["recordingInfo"]; + } + } + return null; + } + + /** + * Sets the recordingInfo + * Information on whether the participant has recording capability. + * + * @param RecordingInfo $val The recordingInfo + * + * @return Participant + */ + public function setRecordingInfo($val) + { + $this->_propDict["recordingInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ParticipantInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ParticipantInfo.php new file mode 100644 index 0000000..9689b76 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ParticipantInfo.php @@ -0,0 +1,204 @@ +_propDict)) { + return $this->_propDict["countryCode"]; + } else { + return null; + } + } + + /** + * Sets the countryCode + * The ISO 3166-1 Alpha-2 country code of the participant's best estimated physical location at the start of the call. Read-only. + * + * @param string $val The value of the countryCode + * + * @return ParticipantInfo + */ + public function setCountryCode($val) + { + $this->_propDict["countryCode"] = $val; + return $this; + } + + /** + * Gets the endpointType + * The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. + * + * @return EndpointType|null The endpointType + */ + public function getEndpointType() + { + if (array_key_exists("endpointType", $this->_propDict)) { + if (is_a($this->_propDict["endpointType"], "\Microsoft\Graph\Model\EndpointType") || is_null($this->_propDict["endpointType"])) { + return $this->_propDict["endpointType"]; + } else { + $this->_propDict["endpointType"] = new EndpointType($this->_propDict["endpointType"]); + return $this->_propDict["endpointType"]; + } + } + return null; + } + + /** + * Sets the endpointType + * The type of endpoint the participant is using. Possible values are: default, skypeForBusiness, or skypeForBusinessVoipPhone. Read-only. + * + * @param EndpointType $val The value to assign to the endpointType + * + * @return ParticipantInfo The ParticipantInfo + */ + public function setEndpointType($val) + { + $this->_propDict["endpointType"] = $val; + return $this; + } + + /** + * Gets the identity + * The identitySet associated with this participant. Read-only. + * + * @return IdentitySet|null The identity + */ + public function getIdentity() + { + if (array_key_exists("identity", $this->_propDict)) { + if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["identity"])) { + return $this->_propDict["identity"]; + } else { + $this->_propDict["identity"] = new IdentitySet($this->_propDict["identity"]); + return $this->_propDict["identity"]; + } + } + return null; + } + + /** + * Sets the identity + * The identitySet associated with this participant. Read-only. + * + * @param IdentitySet $val The value to assign to the identity + * + * @return ParticipantInfo The ParticipantInfo + */ + public function setIdentity($val) + { + $this->_propDict["identity"] = $val; + return $this; + } + /** + * Gets the languageId + * The language culture string. Read-only. + * + * @return string|null The languageId + */ + public function getLanguageId() + { + if (array_key_exists("languageId", $this->_propDict)) { + return $this->_propDict["languageId"]; + } else { + return null; + } + } + + /** + * Sets the languageId + * The language culture string. Read-only. + * + * @param string $val The value of the languageId + * + * @return ParticipantInfo + */ + public function setLanguageId($val) + { + $this->_propDict["languageId"] = $val; + return $this; + } + /** + * Gets the participantId + * The participant ID of the participant. Read-only. + * + * @return string|null The participantId + */ + public function getParticipantId() + { + if (array_key_exists("participantId", $this->_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * The participant ID of the participant. Read-only. + * + * @param string $val The value of the participantId + * + * @return ParticipantInfo + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } + /** + * Gets the region + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location, unlike countryCode. Read-only. + * + * @return string|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + return $this->_propDict["region"]; + } else { + return null; + } + } + + /** + * Sets the region + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location, unlike countryCode. Read-only. + * + * @param string $val The value of the region + * + * @return ParticipantInfo + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ParticipantJoiningNotification.php b/vendor/microsoft/microsoft-graph/src/Model/ParticipantJoiningNotification.php new file mode 100644 index 0000000..663db0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ParticipantJoiningNotification.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["call"], "\Microsoft\Graph\Model\Call") || is_null($this->_propDict["call"])) { + return $this->_propDict["call"]; + } else { + $this->_propDict["call"] = new Call($this->_propDict["call"]); + return $this->_propDict["call"]; + } + } + return null; + } + + /** + * Sets the call + * + * @param Call $val The call + * + * @return ParticipantJoiningNotification + */ + public function setCall($val) + { + $this->_propDict["call"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ParticipantJoiningResponse.php b/vendor/microsoft/microsoft-graph/src/Model/ParticipantJoiningResponse.php new file mode 100644 index 0000000..fedee6b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ParticipantJoiningResponse.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * ID of the participant under the policy who has left the meeting. + * + * @param string $val The participantId + * + * @return ParticipantLeftNotification + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } + + /** + * Gets the call + * + * @return Call|null The call + */ + public function getCall() + { + if (array_key_exists("call", $this->_propDict)) { + if (is_a($this->_propDict["call"], "\Microsoft\Graph\Model\Call") || is_null($this->_propDict["call"])) { + return $this->_propDict["call"]; + } else { + $this->_propDict["call"] = new Call($this->_propDict["call"]); + return $this->_propDict["call"]; + } + } + return null; + } + + /** + * Sets the call + * + * @param Call $val The call + * + * @return ParticipantLeftNotification + */ + public function setCall($val) + { + $this->_propDict["call"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PasswordCredential.php b/vendor/microsoft/microsoft-graph/src/Model/PasswordCredential.php new file mode 100644 index 0000000..e758631 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PasswordCredential.php @@ -0,0 +1,237 @@ +_propDict)) { + if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customKeyIdentifier"])) { + return $this->_propDict["customKeyIdentifier"]; + } else { + $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customKeyIdentifier"]); + return $this->_propDict["customKeyIdentifier"]; + } + } + return null; + } + + /** + * Sets the customKeyIdentifier + * Do not use. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier + * + * @return PasswordCredential The PasswordCredential + */ + public function setCustomKeyIdentifier($val) + { + $this->_propDict["customKeyIdentifier"] = $val; + return $this; + } + /** + * Gets the displayName + * Friendly name for the password. Optional. + * + * @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 + * Friendly name for the password. Optional. + * + * @param string $val The value of the displayName + * + * @return PasswordCredential + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional. + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return PasswordCredential The PasswordCredential + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the hint + * Contains the first three characters of the password. Read-only. + * + * @return string|null The hint + */ + public function getHint() + { + if (array_key_exists("hint", $this->_propDict)) { + return $this->_propDict["hint"]; + } else { + return null; + } + } + + /** + * Sets the hint + * Contains the first three characters of the password. Read-only. + * + * @param string $val The value of the hint + * + * @return PasswordCredential + */ + public function setHint($val) + { + $this->_propDict["hint"] = $val; + return $this; + } + /** + * Gets the keyId + * The unique identifier for the password. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The unique identifier for the password. + * + * @param string $val The value of the keyId + * + * @return PasswordCredential + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + /** + * Gets the secretText + * Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. + * + * @return string|null The secretText + */ + public function getSecretText() + { + if (array_key_exists("secretText", $this->_propDict)) { + return $this->_propDict["secretText"]; + } else { + return null; + } + } + + /** + * Sets the secretText + * Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. + * + * @param string $val The value of the secretText + * + * @return PasswordCredential + */ + public function setSecretText($val) + { + $this->_propDict["secretText"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time at which the password becomes valid. 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. Optional. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time at which the password becomes valid. 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. Optional. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return PasswordCredential The PasswordCredential + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PasswordProfile.php b/vendor/microsoft/microsoft-graph/src/Model/PasswordProfile.php new file mode 100644 index 0000000..3152749 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PasswordProfile.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["forceChangePasswordNextSignIn"]; + } else { + return null; + } + } + + /** + * Sets the forceChangePasswordNextSignIn + * true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon. + * + * @param bool $val The value of the forceChangePasswordNextSignIn + * + * @return PasswordProfile + */ + public function setForceChangePasswordNextSignIn($val) + { + $this->_propDict["forceChangePasswordNextSignIn"] = $val; + return $this; + } + /** + * Gets the forceChangePasswordNextSignInWithMfa + * If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. + * + * @return bool|null The forceChangePasswordNextSignInWithMfa + */ + public function getForceChangePasswordNextSignInWithMfa() + { + if (array_key_exists("forceChangePasswordNextSignInWithMfa", $this->_propDict)) { + return $this->_propDict["forceChangePasswordNextSignInWithMfa"]; + } else { + return null; + } + } + + /** + * Sets the forceChangePasswordNextSignInWithMfa + * If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false. + * + * @param bool $val The value of the forceChangePasswordNextSignInWithMfa + * + * @return PasswordProfile + */ + public function setForceChangePasswordNextSignInWithMfa($val) + { + $this->_propDict["forceChangePasswordNextSignInWithMfa"] = $val; + return $this; + } + /** + * Gets the password + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required. + * + * @param string $val The value of the password + * + * @return PasswordProfile + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PatternedRecurrence.php b/vendor/microsoft/microsoft-graph/src/Model/PatternedRecurrence.php new file mode 100644 index 0000000..4f62fae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PatternedRecurrence.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["pattern"], "\Microsoft\Graph\Model\RecurrencePattern") || is_null($this->_propDict["pattern"])) { + return $this->_propDict["pattern"]; + } else { + $this->_propDict["pattern"] = new RecurrencePattern($this->_propDict["pattern"]); + return $this->_propDict["pattern"]; + } + } + return null; + } + + /** + * Sets the pattern + * The frequency of an event. Do not specify for a one-time access review. For access reviews: Do not specify this property for a one-time access review. Only interval, dayOfMonth, and type (weekly, absoluteMonthly) properties of recurrencePattern are supported. + * + * @param RecurrencePattern $val The value to assign to the pattern + * + * @return PatternedRecurrence The PatternedRecurrence + */ + public function setPattern($val) + { + $this->_propDict["pattern"] = $val; + return $this; + } + + /** + * Gets the range + * The duration of an event. + * + * @return RecurrenceRange|null The range + */ + public function getRange() + { + if (array_key_exists("range", $this->_propDict)) { + if (is_a($this->_propDict["range"], "\Microsoft\Graph\Model\RecurrenceRange") || is_null($this->_propDict["range"])) { + return $this->_propDict["range"]; + } else { + $this->_propDict["range"] = new RecurrenceRange($this->_propDict["range"]); + return $this->_propDict["range"]; + } + } + return null; + } + + /** + * Sets the range + * The duration of an event. + * + * @param RecurrenceRange $val The value to assign to the range + * + * @return PatternedRecurrence The PatternedRecurrence + */ + public function setRange($val) + { + $this->_propDict["range"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PendingContentUpdate.php b/vendor/microsoft/microsoft-graph/src/Model/PendingContentUpdate.php new file mode 100644 index 0000000..f84275b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PendingContentUpdate.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["queuedDateTime"], "\DateTime") || is_null($this->_propDict["queuedDateTime"])) { + return $this->_propDict["queuedDateTime"]; + } else { + $this->_propDict["queuedDateTime"] = new \DateTime($this->_propDict["queuedDateTime"]); + return $this->_propDict["queuedDateTime"]; + } + } + return null; + } + + /** + * Sets the queuedDateTime + * Date and time the pending binary operation was queued in UTC time. Read-only. + * + * @param \DateTime $val The value to assign to the queuedDateTime + * + * @return PendingContentUpdate The PendingContentUpdate + */ + public function setQueuedDateTime($val) + { + $this->_propDict["queuedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PendingOperations.php b/vendor/microsoft/microsoft-graph/src/Model/PendingOperations.php new file mode 100644 index 0000000..4dc4627 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PendingOperations.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["pendingContentUpdate"], "\Microsoft\Graph\Model\PendingContentUpdate") || is_null($this->_propDict["pendingContentUpdate"])) { + return $this->_propDict["pendingContentUpdate"]; + } else { + $this->_propDict["pendingContentUpdate"] = new PendingContentUpdate($this->_propDict["pendingContentUpdate"]); + return $this->_propDict["pendingContentUpdate"]; + } + } + return null; + } + + /** + * Sets the pendingContentUpdate + * A property that indicates that an operation that might update the binary content of a file is pending completion. + * + * @param PendingContentUpdate $val The value to assign to the pendingContentUpdate + * + * @return PendingOperations The PendingOperations + */ + public function setPendingContentUpdate($val) + { + $this->_propDict["pendingContentUpdate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Permission.php b/vendor/microsoft/microsoft-graph/src/Model/Permission.php new file mode 100644 index 0000000..b2135b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Permission.php @@ -0,0 +1,368 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. + * + * @param \DateTime $val The expirationDateTime + * + * @return Permission + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the grantedTo + * + * @return IdentitySet|null The grantedTo + */ + public function getGrantedTo() + { + if (array_key_exists("grantedTo", $this->_propDict)) { + if (is_a($this->_propDict["grantedTo"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["grantedTo"])) { + return $this->_propDict["grantedTo"]; + } else { + $this->_propDict["grantedTo"] = new IdentitySet($this->_propDict["grantedTo"]); + return $this->_propDict["grantedTo"]; + } + } + return null; + } + + /** + * Sets the grantedTo + * + * @param IdentitySet $val The grantedTo + * + * @return Permission + */ + public function setGrantedTo($val) + { + $this->_propDict["grantedTo"] = $val; + return $this; + } + + + /** + * Gets the grantedToIdentities + * + * @return array|null The grantedToIdentities + */ + public function getGrantedToIdentities() + { + if (array_key_exists("grantedToIdentities", $this->_propDict)) { + return $this->_propDict["grantedToIdentities"]; + } else { + return null; + } + } + + /** + * Sets the grantedToIdentities + * + * @param IdentitySet[] $val The grantedToIdentities + * + * @return Permission + */ + public function setGrantedToIdentities($val) + { + $this->_propDict["grantedToIdentities"] = $val; + return $this; + } + + + /** + * Gets the grantedToIdentitiesV2 + * For link type permissions, the details of the users to whom permission was granted. Read-only. + * + * @return array|null The grantedToIdentitiesV2 + */ + public function getGrantedToIdentitiesV2() + { + if (array_key_exists("grantedToIdentitiesV2", $this->_propDict)) { + return $this->_propDict["grantedToIdentitiesV2"]; + } else { + return null; + } + } + + /** + * Sets the grantedToIdentitiesV2 + * For link type permissions, the details of the users to whom permission was granted. Read-only. + * + * @param SharePointIdentitySet[] $val The grantedToIdentitiesV2 + * + * @return Permission + */ + public function setGrantedToIdentitiesV2($val) + { + $this->_propDict["grantedToIdentitiesV2"] = $val; + return $this; + } + + /** + * Gets the grantedToV2 + * For user type permissions, the details of the users and applications for this permission. Read-only. + * + * @return SharePointIdentitySet|null The grantedToV2 + */ + public function getGrantedToV2() + { + if (array_key_exists("grantedToV2", $this->_propDict)) { + if (is_a($this->_propDict["grantedToV2"], "\Microsoft\Graph\Model\SharePointIdentitySet") || is_null($this->_propDict["grantedToV2"])) { + return $this->_propDict["grantedToV2"]; + } else { + $this->_propDict["grantedToV2"] = new SharePointIdentitySet($this->_propDict["grantedToV2"]); + return $this->_propDict["grantedToV2"]; + } + } + return null; + } + + /** + * Sets the grantedToV2 + * For user type permissions, the details of the users and applications for this permission. Read-only. + * + * @param SharePointIdentitySet $val The grantedToV2 + * + * @return Permission + */ + public function setGrantedToV2($val) + { + $this->_propDict["grantedToV2"] = $val; + return $this; + } + + /** + * Gets the hasPassword + * Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only. + * + * @return bool|null The hasPassword + */ + public function getHasPassword() + { + if (array_key_exists("hasPassword", $this->_propDict)) { + return $this->_propDict["hasPassword"]; + } else { + return null; + } + } + + /** + * Sets the hasPassword + * Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only. + * + * @param bool $val The hasPassword + * + * @return Permission + */ + public function setHasPassword($val) + { + $this->_propDict["hasPassword"] = boolval($val); + return $this; + } + + /** + * Gets the inheritedFrom + * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * + * @return ItemReference|null The inheritedFrom + */ + public function getInheritedFrom() + { + if (array_key_exists("inheritedFrom", $this->_propDict)) { + if (is_a($this->_propDict["inheritedFrom"], "\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["inheritedFrom"])) { + return $this->_propDict["inheritedFrom"]; + } else { + $this->_propDict["inheritedFrom"] = new ItemReference($this->_propDict["inheritedFrom"]); + return $this->_propDict["inheritedFrom"]; + } + } + return null; + } + + /** + * Sets the inheritedFrom + * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * + * @param ItemReference $val The inheritedFrom + * + * @return Permission + */ + public function setInheritedFrom($val) + { + $this->_propDict["inheritedFrom"] = $val; + return $this; + } + + /** + * Gets the invitation + * Details of any associated sharing invitation for this permission. Read-only. + * + * @return SharingInvitation|null The invitation + */ + public function getInvitation() + { + if (array_key_exists("invitation", $this->_propDict)) { + if (is_a($this->_propDict["invitation"], "\Microsoft\Graph\Model\SharingInvitation") || is_null($this->_propDict["invitation"])) { + return $this->_propDict["invitation"]; + } else { + $this->_propDict["invitation"] = new SharingInvitation($this->_propDict["invitation"]); + return $this->_propDict["invitation"]; + } + } + return null; + } + + /** + * Sets the invitation + * Details of any associated sharing invitation for this permission. Read-only. + * + * @param SharingInvitation $val The invitation + * + * @return Permission + */ + public function setInvitation($val) + { + $this->_propDict["invitation"] = $val; + return $this; + } + + /** + * Gets the link + * Provides the link details of the current permission, if it is a link type permissions. Read-only. + * + * @return SharingLink|null The link + */ + public function getLink() + { + if (array_key_exists("link", $this->_propDict)) { + if (is_a($this->_propDict["link"], "\Microsoft\Graph\Model\SharingLink") || is_null($this->_propDict["link"])) { + return $this->_propDict["link"]; + } else { + $this->_propDict["link"] = new SharingLink($this->_propDict["link"]); + return $this->_propDict["link"]; + } + } + return null; + } + + /** + * Sets the link + * Provides the link details of the current permission, if it is a link type permissions. Read-only. + * + * @param SharingLink $val The link + * + * @return Permission + */ + public function setLink($val) + { + $this->_propDict["link"] = $val; + return $this; + } + + /** + * Gets the roles + * The type of permission, for example, read. See below for the full list of roles. Read-only. + * + * @return string|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * The type of permission, for example, read. See below for the full list of roles. Read-only. + * + * @param string $val The roles + * + * @return Permission + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + /** + * Gets the shareId + * A unique token that can be used to access this shared item via the [shares API][]. Read-only. + * + * @return string|null The shareId + */ + public function getShareId() + { + if (array_key_exists("shareId", $this->_propDict)) { + return $this->_propDict["shareId"]; + } else { + return null; + } + } + + /** + * Sets the shareId + * A unique token that can be used to access this shared item via the [shares API][]. Read-only. + * + * @param string $val The shareId + * + * @return Permission + */ + public function setShareId($val) + { + $this->_propDict["shareId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PermissionClassificationType.php b/vendor/microsoft/microsoft-graph/src/Model/PermissionClassificationType.php new file mode 100644 index 0000000..7262408 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PermissionClassificationType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["clientApplicationIds"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationIds + * A list of appId values for the client applications to match with, or a list with the single value all to match any client application. Default is the single value all. + * + * @param string $val The clientApplicationIds + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationIds($val) + { + $this->_propDict["clientApplicationIds"] = $val; + return $this; + } + + /** + * Gets the clientApplicationPublisherIds + * A list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher. Default is the single value all. + * + * @return string|null The clientApplicationPublisherIds + */ + public function getClientApplicationPublisherIds() + { + if (array_key_exists("clientApplicationPublisherIds", $this->_propDict)) { + return $this->_propDict["clientApplicationPublisherIds"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationPublisherIds + * A list of Microsoft Partner Network (MPN) IDs for verified publishers of the client application, or a list with the single value all to match with client apps from any publisher. Default is the single value all. + * + * @param string $val The clientApplicationPublisherIds + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationPublisherIds($val) + { + $this->_propDict["clientApplicationPublisherIds"] = $val; + return $this; + } + + /** + * Gets the clientApplicationsFromVerifiedPublisherOnly + * Set to true to only match on client applications with a verified publisher. Set to false to match on any client app, even if it does not have a verified publisher. Default is false. + * + * @return bool|null The clientApplicationsFromVerifiedPublisherOnly + */ + public function getClientApplicationsFromVerifiedPublisherOnly() + { + if (array_key_exists("clientApplicationsFromVerifiedPublisherOnly", $this->_propDict)) { + return $this->_propDict["clientApplicationsFromVerifiedPublisherOnly"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationsFromVerifiedPublisherOnly + * Set to true to only match on client applications with a verified publisher. Set to false to match on any client app, even if it does not have a verified publisher. Default is false. + * + * @param bool $val The clientApplicationsFromVerifiedPublisherOnly + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationsFromVerifiedPublisherOnly($val) + { + $this->_propDict["clientApplicationsFromVerifiedPublisherOnly"] = boolval($val); + return $this; + } + + /** + * Gets the clientApplicationTenantIds + * A list of Azure Active Directory tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant. Default is the single value all. + * + * @return string|null The clientApplicationTenantIds + */ + public function getClientApplicationTenantIds() + { + if (array_key_exists("clientApplicationTenantIds", $this->_propDict)) { + return $this->_propDict["clientApplicationTenantIds"]; + } else { + return null; + } + } + + /** + * Sets the clientApplicationTenantIds + * A list of Azure Active Directory tenant IDs in which the client application is registered, or a list with the single value all to match with client apps registered in any tenant. Default is the single value all. + * + * @param string $val The clientApplicationTenantIds + * + * @return PermissionGrantConditionSet + */ + public function setClientApplicationTenantIds($val) + { + $this->_propDict["clientApplicationTenantIds"] = $val; + return $this; + } + + /** + * Gets the permissionClassification + * The permission classification for the permission being granted, or all to match with any permission classification (including permissions which are not classified). Default is all. + * + * @return string|null The permissionClassification + */ + public function getPermissionClassification() + { + if (array_key_exists("permissionClassification", $this->_propDict)) { + return $this->_propDict["permissionClassification"]; + } else { + return null; + } + } + + /** + * Sets the permissionClassification + * The permission classification for the permission being granted, or all to match with any permission classification (including permissions which are not classified). Default is all. + * + * @param string $val The permissionClassification + * + * @return PermissionGrantConditionSet + */ + public function setPermissionClassification($val) + { + $this->_propDict["permissionClassification"] = $val; + return $this; + } + + /** + * Gets the permissions + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * + * @return string|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * The list of id values for the specific permissions to match with, or a list with the single value all to match with any permission. The id of delegated permissions can be found in the publishedPermissionScopes property of the API's **servicePrincipal** object. The id of application permissions can be found in the appRoles property of the API's **servicePrincipal** object. The id of resource-specific application permissions can be found in the resourceSpecificApplicationPermissions property of the API's **servicePrincipal** object. Default is the single value all. + * + * @param string $val The permissions + * + * @return PermissionGrantConditionSet + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + /** + * Gets the permissionType + * The permission type of the permission being granted. Possible values: application for application permissions (e.g. app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions which have not been configured by the API publisher to require admin consent—this value may be used in built-in permission grant policies, but cannot be used in custom permission grant policies. Required. + * + * @return PermissionType|null The permissionType + */ + public function getPermissionType() + { + if (array_key_exists("permissionType", $this->_propDict)) { + if (is_a($this->_propDict["permissionType"], "\Microsoft\Graph\Model\PermissionType") || is_null($this->_propDict["permissionType"])) { + return $this->_propDict["permissionType"]; + } else { + $this->_propDict["permissionType"] = new PermissionType($this->_propDict["permissionType"]); + return $this->_propDict["permissionType"]; + } + } + return null; + } + + /** + * Sets the permissionType + * The permission type of the permission being granted. Possible values: application for application permissions (e.g. app roles), or delegated for delegated permissions. The value delegatedUserConsentable indicates delegated permissions which have not been configured by the API publisher to require admin consent—this value may be used in built-in permission grant policies, but cannot be used in custom permission grant policies. Required. + * + * @param PermissionType $val The permissionType + * + * @return PermissionGrantConditionSet + */ + public function setPermissionType($val) + { + $this->_propDict["permissionType"] = $val; + return $this; + } + + /** + * Gets the resourceApplication + * The appId of the resource application (e.g. the API) for which a permission is being granted, or any to match with any resource application or API. Default is any. + * + * @return string|null The resourceApplication + */ + public function getResourceApplication() + { + if (array_key_exists("resourceApplication", $this->_propDict)) { + return $this->_propDict["resourceApplication"]; + } else { + return null; + } + } + + /** + * Sets the resourceApplication + * The appId of the resource application (e.g. the API) for which a permission is being granted, or any to match with any resource application or API. Default is any. + * + * @param string $val The resourceApplication + * + * @return PermissionGrantConditionSet + */ + public function setResourceApplication($val) + { + $this->_propDict["resourceApplication"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PermissionGrantPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/PermissionGrantPolicy.php new file mode 100644 index 0000000..1a37e24 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PermissionGrantPolicy.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["excludes"]; + } else { + return null; + } + } + + /** + * Sets the excludes + * Condition sets which are excluded in this permission grant policy. Automatically expanded on GET. + * + * @param PermissionGrantConditionSet[] $val The excludes + * + * @return PermissionGrantPolicy + */ + public function setExcludes($val) + { + $this->_propDict["excludes"] = $val; + return $this; + } + + + /** + * Gets the includes + * Condition sets which are included in this permission grant policy. Automatically expanded on GET. + * + * @return array|null The includes + */ + public function getIncludes() + { + if (array_key_exists("includes", $this->_propDict)) { + return $this->_propDict["includes"]; + } else { + return null; + } + } + + /** + * Sets the includes + * Condition sets which are included in this permission grant policy. Automatically expanded on GET. + * + * @param PermissionGrantConditionSet[] $val The includes + * + * @return PermissionGrantPolicy + */ + public function setIncludes($val) + { + $this->_propDict["includes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PermissionScope.php b/vendor/microsoft/microsoft-graph/src/Model/PermissionScope.php new file mode 100644 index 0000000..e6d418b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PermissionScope.php @@ -0,0 +1,276 @@ +_propDict)) { + return $this->_propDict["adminConsentDescription"]; + } else { + return null; + } + } + + /** + * Sets the adminConsentDescription + * A description of the delegated permissions, intended to be read by an administrator granting the permission on behalf of all users. This text appears in tenant-wide admin consent experiences. + * + * @param string $val The value of the adminConsentDescription + * + * @return PermissionScope + */ + public function setAdminConsentDescription($val) + { + $this->_propDict["adminConsentDescription"] = $val; + return $this; + } + /** + * Gets the adminConsentDisplayName + * The permission's title, intended to be read by an administrator granting the permission on behalf of all users. + * + * @return string|null The adminConsentDisplayName + */ + public function getAdminConsentDisplayName() + { + if (array_key_exists("adminConsentDisplayName", $this->_propDict)) { + return $this->_propDict["adminConsentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the adminConsentDisplayName + * The permission's title, intended to be read by an administrator granting the permission on behalf of all users. + * + * @param string $val The value of the adminConsentDisplayName + * + * @return PermissionScope + */ + public function setAdminConsentDisplayName($val) + { + $this->_propDict["adminConsentDisplayName"] = $val; + return $this; + } + /** + * Gets the id + * Unique delegated permission identifier inside the collection of delegated permissions defined for a resource application. + * + * @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 + * Unique delegated permission identifier inside the collection of delegated permissions defined for a resource application. + * + * @param string $val The value of the id + * + * @return PermissionScope + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEnabled + * When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. + * + * @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 + * When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. + * + * @param bool $val The value of the isEnabled + * + * @return PermissionScope + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the origin + * + * @return string|null The origin + */ + public function getOrigin() + { + if (array_key_exists("origin", $this->_propDict)) { + return $this->_propDict["origin"]; + } else { + return null; + } + } + + /** + * Sets the origin + * + * @param string $val The value of the origin + * + * @return PermissionScope + */ + public function setOrigin($val) + { + $this->_propDict["origin"] = $val; + return $this; + } + /** + * Gets the type + * The possible values are: User and Admin. Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator consent should always be required. While Microsoft Graph defines the default consent requirement for each permission, the tenant administrator may override the behavior in their organization (by allowing, restricting, or limiting user consent to this delegated permission). For more information, see Configure how users consent to applications. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The possible values are: User and Admin. Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator consent should always be required. While Microsoft Graph defines the default consent requirement for each permission, the tenant administrator may override the behavior in their organization (by allowing, restricting, or limiting user consent to this delegated permission). For more information, see Configure how users consent to applications. + * + * @param string $val The value of the type + * + * @return PermissionScope + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the userConsentDescription + * A description of the delegated permissions, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @return string|null The userConsentDescription + */ + public function getUserConsentDescription() + { + if (array_key_exists("userConsentDescription", $this->_propDict)) { + return $this->_propDict["userConsentDescription"]; + } else { + return null; + } + } + + /** + * Sets the userConsentDescription + * A description of the delegated permissions, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @param string $val The value of the userConsentDescription + * + * @return PermissionScope + */ + public function setUserConsentDescription($val) + { + $this->_propDict["userConsentDescription"] = $val; + return $this; + } + /** + * Gets the userConsentDisplayName + * A title for the permission, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @return string|null The userConsentDisplayName + */ + public function getUserConsentDisplayName() + { + if (array_key_exists("userConsentDisplayName", $this->_propDict)) { + return $this->_propDict["userConsentDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the userConsentDisplayName + * A title for the permission, intended to be read by a user granting the permission on their own behalf. This text appears in consent experiences where the user is consenting only on behalf of themselves. + * + * @param string $val The value of the userConsentDisplayName + * + * @return PermissionScope + */ + public function setUserConsentDisplayName($val) + { + $this->_propDict["userConsentDisplayName"] = $val; + return $this; + } + /** + * Gets the value + * Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * + * @param string $val The value of the value + * + * @return PermissionScope + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PermissionType.php b/vendor/microsoft/microsoft-graph/src/Model/PermissionType.php new file mode 100644 index 0000000..72338f7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PermissionType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["mode"], "\Microsoft\Graph\Model\PersistentBrowserSessionMode") || is_null($this->_propDict["mode"])) { + return $this->_propDict["mode"]; + } else { + $this->_propDict["mode"] = new PersistentBrowserSessionMode($this->_propDict["mode"]); + return $this->_propDict["mode"]; + } + } + return null; + } + + /** + * Sets the mode + * Possible values are: always, never. + * + * @param PersistentBrowserSessionMode $val The value to assign to the mode + * + * @return PersistentBrowserSessionControl The PersistentBrowserSessionControl + */ + public function setMode($val) + { + $this->_propDict["mode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionMode.php b/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionMode.php new file mode 100644 index 0000000..8dfdffc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionMode.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["birthday"]; + } else { + return null; + } + } + + /** + * Sets the birthday + * The person's birthday. + * + * @param string $val The birthday + * + * @return Person + */ + public function setBirthday($val) + { + $this->_propDict["birthday"] = $val; + return $this; + } + + /** + * Gets the companyName + * The name of the person's company. + * + * @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 name of the person's company. + * + * @param string $val The companyName + * + * @return Person + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the department + * The person's department. + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The person's department. + * + * @param string $val The department + * + * @return Person + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The person's display name. + * + * @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 + * The person's display name. + * + * @param string $val The displayName + * + * @return Person + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the givenName + * The person's given name. + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The person's given name. + * + * @param string $val The givenName + * + * @return Person + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + /** + * Gets the imAddress + * The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only. + * + * @return string|null The imAddress + */ + public function getImAddress() + { + if (array_key_exists("imAddress", $this->_propDict)) { + return $this->_propDict["imAddress"]; + } else { + return null; + } + } + + /** + * Sets the imAddress + * The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only. + * + * @param string $val The imAddress + * + * @return Person + */ + public function setImAddress($val) + { + $this->_propDict["imAddress"] = $val; + return $this; + } + + /** + * Gets the isFavorite + * true if the user has flagged this person as a favorite. + * + * @return bool|null The isFavorite + */ + public function getIsFavorite() + { + if (array_key_exists("isFavorite", $this->_propDict)) { + return $this->_propDict["isFavorite"]; + } else { + return null; + } + } + + /** + * Sets the isFavorite + * true if the user has flagged this person as a favorite. + * + * @param bool $val The isFavorite + * + * @return Person + */ + public function setIsFavorite($val) + { + $this->_propDict["isFavorite"] = boolval($val); + return $this; + } + + /** + * Gets the jobTitle + * The person's job title. + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * The person's job title. + * + * @param string $val The jobTitle + * + * @return Person + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * The location of the person's office. + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * The location of the person's office. + * + * @param string $val The officeLocation + * + * @return Person + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the personNotes + * Free-form notes that the user has taken about this person. + * + * @return string|null The personNotes + */ + public function getPersonNotes() + { + if (array_key_exists("personNotes", $this->_propDict)) { + return $this->_propDict["personNotes"]; + } else { + return null; + } + } + + /** + * Sets the personNotes + * Free-form notes that the user has taken about this person. + * + * @param string $val The personNotes + * + * @return Person + */ + public function setPersonNotes($val) + { + $this->_propDict["personNotes"] = $val; + return $this; + } + + /** + * Gets the personType + * The type of person, for example distribution list. + * + * @return PersonType|null The personType + */ + public function getPersonType() + { + if (array_key_exists("personType", $this->_propDict)) { + if (is_a($this->_propDict["personType"], "\Microsoft\Graph\Model\PersonType") || is_null($this->_propDict["personType"])) { + return $this->_propDict["personType"]; + } else { + $this->_propDict["personType"] = new PersonType($this->_propDict["personType"]); + return $this->_propDict["personType"]; + } + } + return null; + } + + /** + * Sets the personType + * The type of person, for example distribution list. + * + * @param PersonType $val The personType + * + * @return Person + */ + public function setPersonType($val) + { + $this->_propDict["personType"] = $val; + return $this; + } + + + /** + * Gets the phones + * The person's phone numbers. + * + * @return array|null The phones + */ + public function getPhones() + { + if (array_key_exists("phones", $this->_propDict)) { + return $this->_propDict["phones"]; + } else { + return null; + } + } + + /** + * Sets the phones + * The person's phone numbers. + * + * @param Phone[] $val The phones + * + * @return Person + */ + public function setPhones($val) + { + $this->_propDict["phones"] = $val; + return $this; + } + + + /** + * Gets the postalAddresses + * The person's addresses. + * + * @return array|null The postalAddresses + */ + public function getPostalAddresses() + { + if (array_key_exists("postalAddresses", $this->_propDict)) { + return $this->_propDict["postalAddresses"]; + } else { + return null; + } + } + + /** + * Sets the postalAddresses + * The person's addresses. + * + * @param Location[] $val The postalAddresses + * + * @return Person + */ + public function setPostalAddresses($val) + { + $this->_propDict["postalAddresses"] = $val; + return $this; + } + + /** + * Gets the profession + * The person's profession. + * + * @return string|null The profession + */ + public function getProfession() + { + if (array_key_exists("profession", $this->_propDict)) { + return $this->_propDict["profession"]; + } else { + return null; + } + } + + /** + * Sets the profession + * The person's profession. + * + * @param string $val The profession + * + * @return Person + */ + public function setProfession($val) + { + $this->_propDict["profession"] = $val; + return $this; + } + + + /** + * Gets the scoredEmailAddresses + * The person's email addresses. + * + * @return array|null The scoredEmailAddresses + */ + public function getScoredEmailAddresses() + { + if (array_key_exists("scoredEmailAddresses", $this->_propDict)) { + return $this->_propDict["scoredEmailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the scoredEmailAddresses + * The person's email addresses. + * + * @param ScoredEmailAddress[] $val The scoredEmailAddresses + * + * @return Person + */ + public function setScoredEmailAddresses($val) + { + $this->_propDict["scoredEmailAddresses"] = $val; + return $this; + } + + /** + * Gets the surname + * The person's surname. + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The person's surname. + * + * @param string $val The surname + * + * @return Person + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain. + * + * @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 + * The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain. + * + * @param string $val The userPrincipalName + * + * @return Person + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the websites + * The person's websites. + * + * @return array|null The websites + */ + public function getWebsites() + { + if (array_key_exists("websites", $this->_propDict)) { + return $this->_propDict["websites"]; + } else { + return null; + } + } + + /** + * Sets the websites + * The person's websites. + * + * @param Website[] $val The websites + * + * @return Person + */ + public function setWebsites($val) + { + $this->_propDict["websites"] = $val; + return $this; + } + + /** + * Gets the yomiCompany + * The phonetic Japanese name of the person's company. + * + * @return string|null The yomiCompany + */ + public function getYomiCompany() + { + if (array_key_exists("yomiCompany", $this->_propDict)) { + return $this->_propDict["yomiCompany"]; + } else { + return null; + } + } + + /** + * Sets the yomiCompany + * The phonetic Japanese name of the person's company. + * + * @param string $val The yomiCompany + * + * @return Person + */ + public function setYomiCompany($val) + { + $this->_propDict["yomiCompany"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PersonOrGroupColumn.php b/vendor/microsoft/microsoft-graph/src/Model/PersonOrGroupColumn.php new file mode 100644 index 0000000..75b1f65 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PersonOrGroupColumn.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["allowMultipleSelection"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleSelection + * Indicates whether multiple values can be selected from the source. + * + * @param bool $val The value of the allowMultipleSelection + * + * @return PersonOrGroupColumn + */ + public function setAllowMultipleSelection($val) + { + $this->_propDict["allowMultipleSelection"] = $val; + return $this; + } + /** + * Gets the chooseFromType + * Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly. + * + * @return string|null The chooseFromType + */ + public function getChooseFromType() + { + if (array_key_exists("chooseFromType", $this->_propDict)) { + return $this->_propDict["chooseFromType"]; + } else { + return null; + } + } + + /** + * Sets the chooseFromType + * Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly. + * + * @param string $val The value of the chooseFromType + * + * @return PersonOrGroupColumn + */ + public function setChooseFromType($val) + { + $this->_propDict["chooseFromType"] = $val; + return $this; + } + /** + * Gets the displayAs + * How to display the information about the person or group chosen. See below. + * + * @return string|null The displayAs + */ + public function getDisplayAs() + { + if (array_key_exists("displayAs", $this->_propDict)) { + return $this->_propDict["displayAs"]; + } else { + return null; + } + } + + /** + * Sets the displayAs + * How to display the information about the person or group chosen. See below. + * + * @param string $val The value of the displayAs + * + * @return PersonOrGroupColumn + */ + public function setDisplayAs($val) + { + $this->_propDict["displayAs"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PersonType.php b/vendor/microsoft/microsoft-graph/src/Model/PersonType.php new file mode 100644 index 0000000..4d09cfb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PersonType.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["class"]; + } else { + return null; + } + } + + /** + * Sets the class + * The type of data source, such as Person. + * + * @param string $val The value of the class + * + * @return PersonType + */ + public function setClass($val) + { + $this->_propDict["class"] = $val; + return $this; + } + /** + * Gets the subclass + * The secondary type of data source, such as OrganizationUser. + * + * @return string|null The subclass + */ + public function getSubclass() + { + if (array_key_exists("subclass", $this->_propDict)) { + return $this->_propDict["subclass"]; + } else { + return null; + } + } + + /** + * Sets the subclass + * The secondary type of data source, such as OrganizationUser. + * + * @param string $val The value of the subclass + * + * @return PersonType + */ + public function setSubclass($val) + { + $this->_propDict["subclass"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Phone.php b/vendor/microsoft/microsoft-graph/src/Model/Phone.php new file mode 100644 index 0000000..80a5bbf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Phone.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * + * @param string $val The value of the language + * + * @return Phone + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + /** + * Gets the number + * The phone number. + * + * @return string|null The number + */ + public function getNumber() + { + if (array_key_exists("number", $this->_propDict)) { + return $this->_propDict["number"]; + } else { + return null; + } + } + + /** + * Sets the number + * The phone number. + * + * @param string $val The value of the number + * + * @return Phone + */ + public function setNumber($val) + { + $this->_propDict["number"] = $val; + return $this; + } + /** + * Gets the region + * + * @return string|null The region + */ + public function getRegion() + { + if (array_key_exists("region", $this->_propDict)) { + return $this->_propDict["region"]; + } else { + return null; + } + } + + /** + * Sets the region + * + * @param string $val The value of the region + * + * @return Phone + */ + public function setRegion($val) + { + $this->_propDict["region"] = $val; + return $this; + } + + /** + * Gets the type + * The type of phone number. Possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + * + * @return PhoneType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\PhoneType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PhoneType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of phone number. Possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio. + * + * @param PhoneType $val The value to assign to the type + * + * @return Phone The Phone + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PhoneType.php b/vendor/microsoft/microsoft-graph/src/Model/PhoneType.php new file mode 100644 index 0000000..dc9c660 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PhoneType.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["cameraMake"]; + } else { + return null; + } + } + + /** + * Sets the cameraMake + * Camera manufacturer. Read-only. + * + * @param string $val The value of the cameraMake + * + * @return Photo + */ + public function setCameraMake($val) + { + $this->_propDict["cameraMake"] = $val; + return $this; + } + /** + * Gets the cameraModel + * Camera model. Read-only. + * + * @return string|null The cameraModel + */ + public function getCameraModel() + { + if (array_key_exists("cameraModel", $this->_propDict)) { + return $this->_propDict["cameraModel"]; + } else { + return null; + } + } + + /** + * Sets the cameraModel + * Camera model. Read-only. + * + * @param string $val The value of the cameraModel + * + * @return Photo + */ + public function setCameraModel($val) + { + $this->_propDict["cameraModel"] = $val; + return $this; + } + /** + * Gets the exposureDenominator + * The denominator for the exposure time fraction from the camera. Read-only. + * + * @return float|null The exposureDenominator + */ + public function getExposureDenominator() + { + if (array_key_exists("exposureDenominator", $this->_propDict)) { + return $this->_propDict["exposureDenominator"]; + } else { + return null; + } + } + + /** + * Sets the exposureDenominator + * The denominator for the exposure time fraction from the camera. Read-only. + * + * @param float $val The value of the exposureDenominator + * + * @return Photo + */ + public function setExposureDenominator($val) + { + $this->_propDict["exposureDenominator"] = $val; + return $this; + } + /** + * Gets the exposureNumerator + * The numerator for the exposure time fraction from the camera. Read-only. + * + * @return float|null The exposureNumerator + */ + public function getExposureNumerator() + { + if (array_key_exists("exposureNumerator", $this->_propDict)) { + return $this->_propDict["exposureNumerator"]; + } else { + return null; + } + } + + /** + * Sets the exposureNumerator + * The numerator for the exposure time fraction from the camera. Read-only. + * + * @param float $val The value of the exposureNumerator + * + * @return Photo + */ + public function setExposureNumerator($val) + { + $this->_propDict["exposureNumerator"] = $val; + return $this; + } + /** + * Gets the fNumber + * The F-stop value from the camera. Read-only. + * + * @return float|null The fNumber + */ + public function getFNumber() + { + if (array_key_exists("fNumber", $this->_propDict)) { + return $this->_propDict["fNumber"]; + } else { + return null; + } + } + + /** + * Sets the fNumber + * The F-stop value from the camera. Read-only. + * + * @param float $val The value of the fNumber + * + * @return Photo + */ + public function setFNumber($val) + { + $this->_propDict["fNumber"] = $val; + return $this; + } + /** + * Gets the focalLength + * The focal length from the camera. Read-only. + * + * @return float|null The focalLength + */ + public function getFocalLength() + { + if (array_key_exists("focalLength", $this->_propDict)) { + return $this->_propDict["focalLength"]; + } else { + return null; + } + } + + /** + * Sets the focalLength + * The focal length from the camera. Read-only. + * + * @param float $val The value of the focalLength + * + * @return Photo + */ + public function setFocalLength($val) + { + $this->_propDict["focalLength"] = $val; + return $this; + } + /** + * Gets the iso + * The ISO value from the camera. Read-only. + * + * @return int|null The iso + */ + public function getIso() + { + if (array_key_exists("iso", $this->_propDict)) { + return $this->_propDict["iso"]; + } else { + return null; + } + } + + /** + * Sets the iso + * The ISO value from the camera. Read-only. + * + * @param int $val The value of the iso + * + * @return Photo + */ + public function setIso($val) + { + $this->_propDict["iso"] = $val; + return $this; + } + /** + * Gets the orientation + * The orientation value from the camera. Writable on OneDrive Personal. + * + * @return int|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + return $this->_propDict["orientation"]; + } else { + return null; + } + } + + /** + * Sets the orientation + * The orientation value from the camera. Writable on OneDrive Personal. + * + * @param int $val The value of the orientation + * + * @return Photo + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + + /** + * Gets the takenDateTime + * The date and time the photo was taken in UTC time. Read-only. + * + * @return \DateTime|null The takenDateTime + */ + public function getTakenDateTime() + { + if (array_key_exists("takenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["takenDateTime"], "\DateTime") || is_null($this->_propDict["takenDateTime"])) { + return $this->_propDict["takenDateTime"]; + } else { + $this->_propDict["takenDateTime"] = new \DateTime($this->_propDict["takenDateTime"]); + return $this->_propDict["takenDateTime"]; + } + } + return null; + } + + /** + * Sets the takenDateTime + * The date and time the photo was taken in UTC time. Read-only. + * + * @param \DateTime $val The value to assign to the takenDateTime + * + * @return Photo The Photo + */ + public function setTakenDateTime($val) + { + $this->_propDict["takenDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddress.php b/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddress.php new file mode 100644 index 0000000..57e5f16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddress.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city. + * + * @param string $val The value of the city + * + * @return PhysicalAddress + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @param string $val The value of the countryOrRegion + * + * @return PhysicalAddress + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + /** + * Gets the postalCode + * The postal code. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code. + * + * @param string $val The value of the postalCode + * + * @return PhysicalAddress + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the state + * The state. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state. + * + * @param string $val The value of the state + * + * @return PhysicalAddress + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the street + * The street. + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * The street. + * + * @param string $val The value of the street + * + * @return PhysicalAddress + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddressType.php b/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddressType.php new file mode 100644 index 0000000..7a3b348 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddressType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city. + * + * @param string $val The value of the city + * + * @return PhysicalOfficeAddress + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * The country or region. It's a free-format string value, for example, 'United States'. + * + * @param string $val The value of the countryOrRegion + * + * @return PhysicalOfficeAddress + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + /** + * Gets the officeLocation + * Office location such as building and office number for an organizational contact. + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * Office location such as building and office number for an organizational contact. + * + * @param string $val The value of the officeLocation + * + * @return PhysicalOfficeAddress + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + /** + * Gets the postalCode + * The postal code. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code. + * + * @param string $val The value of the postalCode + * + * @return PhysicalOfficeAddress + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the state + * The state. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state. + * + * @param string $val The value of the state + * + * @return PhysicalOfficeAddress + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the street + * The street. + * + * @return string|null The street + */ + public function getStreet() + { + if (array_key_exists("street", $this->_propDict)) { + return $this->_propDict["street"]; + } else { + return null; + } + } + + /** + * Sets the street + * The street. + * + * @param string $val The value of the street + * + * @return PhysicalOfficeAddress + */ + public function setStreet($val) + { + $this->_propDict["street"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Pkcs12Certificate.php b/vendor/microsoft/microsoft-graph/src/Model/Pkcs12Certificate.php new file mode 100644 index 0000000..e8a4d67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Pkcs12Certificate.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.pkcs12Certificate"); + } + + /** + * Gets the password + * This is the password for the pfx file. Required. If no password is used, must still provide a value of ''. + * + * @return string|null The password + */ + public function getPassword() + { + if (array_key_exists("password", $this->_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * This is the password for the pfx file. Required. If no password is used, must still provide a value of ''. + * + * @param string $val The value of the password + * + * @return Pkcs12Certificate + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } + /** + * Gets the pkcs12Value + * This is the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. + * + * @return string|null The pkcs12Value + */ + public function getPkcs12Value() + { + if (array_key_exists("pkcs12Value", $this->_propDict)) { + return $this->_propDict["pkcs12Value"]; + } else { + return null; + } + } + + /** + * Sets the pkcs12Value + * This is the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. + * + * @param string $val The value of the pkcs12Value + * + * @return Pkcs12Certificate + */ + public function setPkcs12Value($val) + { + $this->_propDict["pkcs12Value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Pkcs12CertificateInformation.php b/vendor/microsoft/microsoft-graph/src/Model/Pkcs12CertificateInformation.php new file mode 100644 index 0000000..60cc7ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Pkcs12CertificateInformation.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Represents whether the certificate is the active certificate to be used for calling the API connector. The active certificate is the most recently uploaded certificate which is not yet expired but whose notBefore time is in the past. + * + * @param bool $val The value of the isActive + * + * @return Pkcs12CertificateInformation + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = $val; + return $this; + } + /** + * Gets the notAfter + * The certificate's expiry. This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @return int|null The notAfter + */ + public function getNotAfter() + { + if (array_key_exists("notAfter", $this->_propDict)) { + return $this->_propDict["notAfter"]; + } else { + return null; + } + } + + /** + * Sets the notAfter + * The certificate's expiry. This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @param int $val The value of the notAfter + * + * @return Pkcs12CertificateInformation + */ + public function setNotAfter($val) + { + $this->_propDict["notAfter"] = $val; + return $this; + } + /** + * Gets the notBefore + * The certificate's issue time (not before). This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @return int|null The notBefore + */ + public function getNotBefore() + { + if (array_key_exists("notBefore", $this->_propDict)) { + return $this->_propDict["notBefore"]; + } else { + return null; + } + } + + /** + * Sets the notBefore + * The certificate's issue time (not before). This value is a NumericDate as defined in RFC 7519 (A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds.) + * + * @param int $val The value of the notBefore + * + * @return Pkcs12CertificateInformation + */ + public function setNotBefore($val) + { + $this->_propDict["notBefore"] = $val; + return $this; + } + /** + * Gets the thumbprint + * The certificate thumbprint. + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * The certificate thumbprint. + * + * @param string $val The value of the thumbprint + * + * @return Pkcs12CertificateInformation + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Place.php b/vendor/microsoft/microsoft-graph/src/Model/Place.php new file mode 100644 index 0000000..ea30618 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Place.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The street address of the place. + * + * @param PhysicalAddress $val The address + * + * @return Place + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name associated with the place. + * + * @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 + * The name associated with the place. + * + * @param string $val The displayName + * + * @return Place + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the geoCoordinates + * Specifies the place location in latitude, longitude and (optionally) altitude coordinates. + * + * @return OutlookGeoCoordinates|null The geoCoordinates + */ + public function getGeoCoordinates() + { + if (array_key_exists("geoCoordinates", $this->_propDict)) { + if (is_a($this->_propDict["geoCoordinates"], "\Microsoft\Graph\Model\OutlookGeoCoordinates") || is_null($this->_propDict["geoCoordinates"])) { + return $this->_propDict["geoCoordinates"]; + } else { + $this->_propDict["geoCoordinates"] = new OutlookGeoCoordinates($this->_propDict["geoCoordinates"]); + return $this->_propDict["geoCoordinates"]; + } + } + return null; + } + + /** + * Sets the geoCoordinates + * Specifies the place location in latitude, longitude and (optionally) altitude coordinates. + * + * @param OutlookGeoCoordinates $val The geoCoordinates + * + * @return Place + */ + public function setGeoCoordinates($val) + { + $this->_propDict["geoCoordinates"] = $val; + return $this; + } + + /** + * Gets the phone + * The phone number of the place. + * + * @return string|null The phone + */ + public function getPhone() + { + if (array_key_exists("phone", $this->_propDict)) { + return $this->_propDict["phone"]; + } else { + return null; + } + } + + /** + * Sets the phone + * The phone number of the place. + * + * @param string $val The phone + * + * @return Place + */ + public function setPhone($val) + { + $this->_propDict["phone"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Planner.php b/vendor/microsoft/microsoft-graph/src/Model/Planner.php new file mode 100644 index 0000000..773405f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Planner.php @@ -0,0 +1,117 @@ +_propDict)) { + return $this->_propDict["buckets"]; + } else { + return null; + } + } + + /** + * Sets the buckets + * Read-only. Nullable. Returns a collection of the specified buckets + * + * @param PlannerBucket[] $val The buckets + * + * @return Planner + */ + public function setBuckets($val) + { + $this->_propDict["buckets"] = $val; + return $this; + } + + + /** + * Gets the plans + * Read-only. Nullable. Returns a collection of the specified plans + * + * @return array|null The plans + */ + public function getPlans() + { + if (array_key_exists("plans", $this->_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Read-only. Nullable. Returns a collection of the specified plans + * + * @param PlannerPlan[] $val The plans + * + * @return Planner + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Read-only. Nullable. Returns a collection of the specified tasks + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Read-only. Nullable. Returns a collection of the specified tasks + * + * @param PlannerTask[] $val The tasks + * + * @return Planner + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerAppliedCategories.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerAppliedCategories.php new file mode 100644 index 0000000..ba31263 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerAppliedCategories.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["orderHintsByAssignee"], "\Microsoft\Graph\Model\PlannerOrderHintsByAssignee") || is_null($this->_propDict["orderHintsByAssignee"])) { + return $this->_propDict["orderHintsByAssignee"]; + } else { + $this->_propDict["orderHintsByAssignee"] = new PlannerOrderHintsByAssignee($this->_propDict["orderHintsByAssignee"]); + return $this->_propDict["orderHintsByAssignee"]; + } + } + return null; + } + + /** + * Sets the orderHintsByAssignee + * Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here. + * + * @param PlannerOrderHintsByAssignee $val The orderHintsByAssignee + * + * @return PlannerAssignedToTaskBoardTaskFormat + */ + public function setOrderHintsByAssignee($val) + { + $this->_propDict["orderHintsByAssignee"] = $val; + return $this; + } + + /** + * Gets the unassignedOrderHint + * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + * + * @return string|null The unassignedOrderHint + */ + public function getUnassignedOrderHint() + { + if (array_key_exists("unassignedOrderHint", $this->_propDict)) { + return $this->_propDict["unassignedOrderHint"]; + } else { + return null; + } + } + + /** + * Sets the unassignedOrderHint + * Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. + * + * @param string $val The unassignedOrderHint + * + * @return PlannerAssignedToTaskBoardTaskFormat + */ + public function setUnassignedOrderHint($val) + { + $this->_propDict["unassignedOrderHint"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignment.php new file mode 100644 index 0000000..70c1ea3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignment.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["assignedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["assignedBy"])) { + return $this->_propDict["assignedBy"]; + } else { + $this->_propDict["assignedBy"] = new IdentitySet($this->_propDict["assignedBy"]); + return $this->_propDict["assignedBy"]; + } + } + return null; + } + + /** + * Sets the assignedBy + * The identity of the user that performed the assignment of the task, i.e. the assignor. + * + * @param IdentitySet $val The value to assign to the assignedBy + * + * @return PlannerAssignment The PlannerAssignment + */ + public function setAssignedBy($val) + { + $this->_propDict["assignedBy"] = $val; + return $this; + } + + /** + * Gets the assignedDateTime + * The time at which the task was assigned. 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 assignedDateTime + */ + public function getAssignedDateTime() + { + if (array_key_exists("assignedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * The time at which the task was assigned. 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 assignedDateTime + * + * @return PlannerAssignment The PlannerAssignment + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + /** + * Gets the orderHint + * Hint used to order assignees in a task. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order assignees in a task. The format is defined as outlined here. + * + * @param string $val The value of the orderHint + * + * @return PlannerAssignment + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignments.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignments.php new file mode 100644 index 0000000..8adb7c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignments.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the bucket. + * + * @param string $val The name + * + * @return PlannerBucket + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerBucket + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + + /** + * Gets the planId + * Plan ID to which the bucket belongs. + * + * @return string|null The planId + */ + public function getPlanId() + { + if (array_key_exists("planId", $this->_propDict)) { + return $this->_propDict["planId"]; + } else { + return null; + } + } + + /** + * Sets the planId + * Plan ID to which the bucket belongs. + * + * @param string $val The planId + * + * @return PlannerBucket + */ + public function setPlanId($val) + { + $this->_propDict["planId"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Read-only. Nullable. The collection of tasks in the bucket. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Read-only. Nullable. The collection of tasks in the bucket. + * + * @param PlannerTask[] $val The tasks + * + * @return PlannerBucket + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerBucketTaskBoardTaskFormat.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerBucketTaskBoardTaskFormat.php new file mode 100644 index 0000000..62bea5a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerBucketTaskBoardTaskFormat.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order tasks in the Bucket view of the Task Board. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerBucketTaskBoardTaskFormat + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerCategoryDescriptions.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerCategoryDescriptions.php new file mode 100644 index 0000000..7032860 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerCategoryDescriptions.php @@ -0,0 +1,726 @@ +_propDict)) { + return $this->_propDict["category1"]; + } else { + return null; + } + } + + /** + * Sets the category1 + * The label associated with Category 1 + * + * @param string $val The value of the category1 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory1($val) + { + $this->_propDict["category1"] = $val; + return $this; + } + /** + * Gets the category10 + * The label associated with Category 10 + * + * @return string|null The category10 + */ + public function getCategory10() + { + if (array_key_exists("category10", $this->_propDict)) { + return $this->_propDict["category10"]; + } else { + return null; + } + } + + /** + * Sets the category10 + * The label associated with Category 10 + * + * @param string $val The value of the category10 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory10($val) + { + $this->_propDict["category10"] = $val; + return $this; + } + /** + * Gets the category11 + * The label associated with Category 11 + * + * @return string|null The category11 + */ + public function getCategory11() + { + if (array_key_exists("category11", $this->_propDict)) { + return $this->_propDict["category11"]; + } else { + return null; + } + } + + /** + * Sets the category11 + * The label associated with Category 11 + * + * @param string $val The value of the category11 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory11($val) + { + $this->_propDict["category11"] = $val; + return $this; + } + /** + * Gets the category12 + * The label associated with Category 12 + * + * @return string|null The category12 + */ + public function getCategory12() + { + if (array_key_exists("category12", $this->_propDict)) { + return $this->_propDict["category12"]; + } else { + return null; + } + } + + /** + * Sets the category12 + * The label associated with Category 12 + * + * @param string $val The value of the category12 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory12($val) + { + $this->_propDict["category12"] = $val; + return $this; + } + /** + * Gets the category13 + * The label associated with Category 13 + * + * @return string|null The category13 + */ + public function getCategory13() + { + if (array_key_exists("category13", $this->_propDict)) { + return $this->_propDict["category13"]; + } else { + return null; + } + } + + /** + * Sets the category13 + * The label associated with Category 13 + * + * @param string $val The value of the category13 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory13($val) + { + $this->_propDict["category13"] = $val; + return $this; + } + /** + * Gets the category14 + * The label associated with Category 14 + * + * @return string|null The category14 + */ + public function getCategory14() + { + if (array_key_exists("category14", $this->_propDict)) { + return $this->_propDict["category14"]; + } else { + return null; + } + } + + /** + * Sets the category14 + * The label associated with Category 14 + * + * @param string $val The value of the category14 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory14($val) + { + $this->_propDict["category14"] = $val; + return $this; + } + /** + * Gets the category15 + * The label associated with Category 15 + * + * @return string|null The category15 + */ + public function getCategory15() + { + if (array_key_exists("category15", $this->_propDict)) { + return $this->_propDict["category15"]; + } else { + return null; + } + } + + /** + * Sets the category15 + * The label associated with Category 15 + * + * @param string $val The value of the category15 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory15($val) + { + $this->_propDict["category15"] = $val; + return $this; + } + /** + * Gets the category16 + * The label associated with Category 16 + * + * @return string|null The category16 + */ + public function getCategory16() + { + if (array_key_exists("category16", $this->_propDict)) { + return $this->_propDict["category16"]; + } else { + return null; + } + } + + /** + * Sets the category16 + * The label associated with Category 16 + * + * @param string $val The value of the category16 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory16($val) + { + $this->_propDict["category16"] = $val; + return $this; + } + /** + * Gets the category17 + * The label associated with Category 17 + * + * @return string|null The category17 + */ + public function getCategory17() + { + if (array_key_exists("category17", $this->_propDict)) { + return $this->_propDict["category17"]; + } else { + return null; + } + } + + /** + * Sets the category17 + * The label associated with Category 17 + * + * @param string $val The value of the category17 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory17($val) + { + $this->_propDict["category17"] = $val; + return $this; + } + /** + * Gets the category18 + * The label associated with Category 18 + * + * @return string|null The category18 + */ + public function getCategory18() + { + if (array_key_exists("category18", $this->_propDict)) { + return $this->_propDict["category18"]; + } else { + return null; + } + } + + /** + * Sets the category18 + * The label associated with Category 18 + * + * @param string $val The value of the category18 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory18($val) + { + $this->_propDict["category18"] = $val; + return $this; + } + /** + * Gets the category19 + * The label associated with Category 19 + * + * @return string|null The category19 + */ + public function getCategory19() + { + if (array_key_exists("category19", $this->_propDict)) { + return $this->_propDict["category19"]; + } else { + return null; + } + } + + /** + * Sets the category19 + * The label associated with Category 19 + * + * @param string $val The value of the category19 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory19($val) + { + $this->_propDict["category19"] = $val; + return $this; + } + /** + * Gets the category2 + * The label associated with Category 2 + * + * @return string|null The category2 + */ + public function getCategory2() + { + if (array_key_exists("category2", $this->_propDict)) { + return $this->_propDict["category2"]; + } else { + return null; + } + } + + /** + * Sets the category2 + * The label associated with Category 2 + * + * @param string $val The value of the category2 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory2($val) + { + $this->_propDict["category2"] = $val; + return $this; + } + /** + * Gets the category20 + * The label associated with Category 20 + * + * @return string|null The category20 + */ + public function getCategory20() + { + if (array_key_exists("category20", $this->_propDict)) { + return $this->_propDict["category20"]; + } else { + return null; + } + } + + /** + * Sets the category20 + * The label associated with Category 20 + * + * @param string $val The value of the category20 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory20($val) + { + $this->_propDict["category20"] = $val; + return $this; + } + /** + * Gets the category21 + * The label associated with Category 21 + * + * @return string|null The category21 + */ + public function getCategory21() + { + if (array_key_exists("category21", $this->_propDict)) { + return $this->_propDict["category21"]; + } else { + return null; + } + } + + /** + * Sets the category21 + * The label associated with Category 21 + * + * @param string $val The value of the category21 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory21($val) + { + $this->_propDict["category21"] = $val; + return $this; + } + /** + * Gets the category22 + * The label associated with Category 22 + * + * @return string|null The category22 + */ + public function getCategory22() + { + if (array_key_exists("category22", $this->_propDict)) { + return $this->_propDict["category22"]; + } else { + return null; + } + } + + /** + * Sets the category22 + * The label associated with Category 22 + * + * @param string $val The value of the category22 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory22($val) + { + $this->_propDict["category22"] = $val; + return $this; + } + /** + * Gets the category23 + * The label associated with Category 23 + * + * @return string|null The category23 + */ + public function getCategory23() + { + if (array_key_exists("category23", $this->_propDict)) { + return $this->_propDict["category23"]; + } else { + return null; + } + } + + /** + * Sets the category23 + * The label associated with Category 23 + * + * @param string $val The value of the category23 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory23($val) + { + $this->_propDict["category23"] = $val; + return $this; + } + /** + * Gets the category24 + * The label associated with Category 24 + * + * @return string|null The category24 + */ + public function getCategory24() + { + if (array_key_exists("category24", $this->_propDict)) { + return $this->_propDict["category24"]; + } else { + return null; + } + } + + /** + * Sets the category24 + * The label associated with Category 24 + * + * @param string $val The value of the category24 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory24($val) + { + $this->_propDict["category24"] = $val; + return $this; + } + /** + * Gets the category25 + * The label associated with Category 25 + * + * @return string|null The category25 + */ + public function getCategory25() + { + if (array_key_exists("category25", $this->_propDict)) { + return $this->_propDict["category25"]; + } else { + return null; + } + } + + /** + * Sets the category25 + * The label associated with Category 25 + * + * @param string $val The value of the category25 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory25($val) + { + $this->_propDict["category25"] = $val; + return $this; + } + /** + * Gets the category3 + * The label associated with Category 3 + * + * @return string|null The category3 + */ + public function getCategory3() + { + if (array_key_exists("category3", $this->_propDict)) { + return $this->_propDict["category3"]; + } else { + return null; + } + } + + /** + * Sets the category3 + * The label associated with Category 3 + * + * @param string $val The value of the category3 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory3($val) + { + $this->_propDict["category3"] = $val; + return $this; + } + /** + * Gets the category4 + * The label associated with Category 4 + * + * @return string|null The category4 + */ + public function getCategory4() + { + if (array_key_exists("category4", $this->_propDict)) { + return $this->_propDict["category4"]; + } else { + return null; + } + } + + /** + * Sets the category4 + * The label associated with Category 4 + * + * @param string $val The value of the category4 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory4($val) + { + $this->_propDict["category4"] = $val; + return $this; + } + /** + * Gets the category5 + * The label associated with Category 5 + * + * @return string|null The category5 + */ + public function getCategory5() + { + if (array_key_exists("category5", $this->_propDict)) { + return $this->_propDict["category5"]; + } else { + return null; + } + } + + /** + * Sets the category5 + * The label associated with Category 5 + * + * @param string $val The value of the category5 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory5($val) + { + $this->_propDict["category5"] = $val; + return $this; + } + /** + * Gets the category6 + * The label associated with Category 6 + * + * @return string|null The category6 + */ + public function getCategory6() + { + if (array_key_exists("category6", $this->_propDict)) { + return $this->_propDict["category6"]; + } else { + return null; + } + } + + /** + * Sets the category6 + * The label associated with Category 6 + * + * @param string $val The value of the category6 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory6($val) + { + $this->_propDict["category6"] = $val; + return $this; + } + /** + * Gets the category7 + * The label associated with Category 7 + * + * @return string|null The category7 + */ + public function getCategory7() + { + if (array_key_exists("category7", $this->_propDict)) { + return $this->_propDict["category7"]; + } else { + return null; + } + } + + /** + * Sets the category7 + * The label associated with Category 7 + * + * @param string $val The value of the category7 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory7($val) + { + $this->_propDict["category7"] = $val; + return $this; + } + /** + * Gets the category8 + * The label associated with Category 8 + * + * @return string|null The category8 + */ + public function getCategory8() + { + if (array_key_exists("category8", $this->_propDict)) { + return $this->_propDict["category8"]; + } else { + return null; + } + } + + /** + * Sets the category8 + * The label associated with Category 8 + * + * @param string $val The value of the category8 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory8($val) + { + $this->_propDict["category8"] = $val; + return $this; + } + /** + * Gets the category9 + * The label associated with Category 9 + * + * @return string|null The category9 + */ + public function getCategory9() + { + if (array_key_exists("category9", $this->_propDict)) { + return $this->_propDict["category9"]; + } else { + return null; + } + } + + /** + * Sets the category9 + * The label associated with Category 9 + * + * @param string $val The value of the category9 + * + * @return PlannerCategoryDescriptions + */ + public function setCategory9($val) + { + $this->_propDict["category9"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItem.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItem.php new file mode 100644 index 0000000..5531aee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItem.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["isChecked"]; + } else { + return null; + } + } + + /** + * Sets the isChecked + * Value is true if the item is checked and false otherwise. + * + * @param bool $val The value of the isChecked + * + * @return PlannerChecklistItem + */ + public function setIsChecked($val) + { + $this->_propDict["isChecked"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return PlannerChecklistItem The PlannerChecklistItem + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return PlannerChecklistItem The PlannerChecklistItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the orderHint + * Used to set the relative order of items in the checklist. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Used to set the relative order of items in the checklist. The format is defined as outlined here. + * + * @param string $val The value of the orderHint + * + * @return PlannerChecklistItem + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + /** + * Gets the title + * Title of the checklist item + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the checklist item + * + * @param string $val The value of the title + * + * @return PlannerChecklistItem + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItems.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItems.php new file mode 100644 index 0000000..e017fb0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItems.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["alias"]; + } else { + return null; + } + } + + /** + * Sets the alias + * A name alias to describe the reference. + * + * @param string $val The value of the alias + * + * @return PlannerExternalReference + */ + public function setAlias($val) + { + $this->_propDict["alias"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Read-only. User ID by which this is last modified. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return PlannerExternalReference The PlannerExternalReference + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Read-only. Date and time at which this is last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return PlannerExternalReference The PlannerExternalReference + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the previewPriority + * Used to set the relative priority order in which the reference will be shown as a preview on the task. + * + * @return string|null The previewPriority + */ + public function getPreviewPriority() + { + if (array_key_exists("previewPriority", $this->_propDict)) { + return $this->_propDict["previewPriority"]; + } else { + return null; + } + } + + /** + * Sets the previewPriority + * Used to set the relative priority order in which the reference will be shown as a preview on the task. + * + * @param string $val The value of the previewPriority + * + * @return PlannerExternalReference + */ + public function setPreviewPriority($val) + { + $this->_propDict["previewPriority"] = $val; + return $this; + } + /** + * Gets the type + * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Used to describe the type of the reference. Types include: PowerPoint, Word, Excel, Other. + * + * @param string $val The value of the type + * + * @return PlannerExternalReference + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerExternalReferences.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerExternalReferences.php new file mode 100644 index 0000000..c29f705 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerExternalReferences.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Read-only. Nullable. Returns the plannerPlans owned by the group. + * + * @param PlannerPlan[] $val The plans + * + * @return PlannerGroup + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerOrderHintsByAssignee.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerOrderHintsByAssignee.php new file mode 100644 index 0000000..9450907 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerOrderHintsByAssignee.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["container"], "\Microsoft\Graph\Model\PlannerPlanContainer") || is_null($this->_propDict["container"])) { + return $this->_propDict["container"]; + } else { + $this->_propDict["container"] = new PlannerPlanContainer($this->_propDict["container"]); + return $this->_propDict["container"]; + } + } + return null; + } + + /** + * Sets the container + * Identifies the container of the plan. After it is set, this property can’t be updated. Required. + * + * @param PlannerPlanContainer $val The container + * + * @return PlannerPlan + */ + public function setContainer($val) + { + $this->_propDict["container"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Read-only. The user who created the plan. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Read-only. The user who created the plan. + * + * @param IdentitySet $val The createdBy + * + * @return PlannerPlan + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Read-only. Date and time at which the plan is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read-only. Date and time at which the plan is created. 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 createdDateTime + * + * @return PlannerPlan + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the owner + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * + * @param string $val The owner + * + * @return PlannerPlan + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the title + * Required. Title of the plan. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Required. Title of the plan. + * + * @param string $val The title + * + * @return PlannerPlan + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the buckets + * Collection of buckets in the plan. Read-only. Nullable. + * + * @return array|null The buckets + */ + public function getBuckets() + { + if (array_key_exists("buckets", $this->_propDict)) { + return $this->_propDict["buckets"]; + } else { + return null; + } + } + + /** + * Sets the buckets + * Collection of buckets in the plan. Read-only. Nullable. + * + * @param PlannerBucket[] $val The buckets + * + * @return PlannerPlan + */ + public function setBuckets($val) + { + $this->_propDict["buckets"] = $val; + return $this; + } + + /** + * Gets the details + * Additional details about the plan. Read-only. Nullable. + * + * @return PlannerPlanDetails|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PlannerPlanDetails") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PlannerPlanDetails($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Additional details about the plan. Read-only. Nullable. + * + * @param PlannerPlanDetails $val The details + * + * @return PlannerPlan + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Collection of tasks in the plan. Read-only. Nullable. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Collection of tasks in the plan. Read-only. Nullable. + * + * @param PlannerTask[] $val The tasks + * + * @return PlannerPlan + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanContainer.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanContainer.php new file mode 100644 index 0000000..1ac50a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanContainer.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["containerId"]; + } else { + return null; + } + } + + /** + * Sets the containerId + * The identifier of the resource that contains the plan. + * + * @param string $val The value of the containerId + * + * @return PlannerPlanContainer + */ + public function setContainerId($val) + { + $this->_propDict["containerId"] = $val; + return $this; + } + + /** + * Gets the type + * The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. + * + * @return PlannerContainerType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\PlannerContainerType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new PlannerContainerType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. + * + * @param PlannerContainerType $val The value to assign to the type + * + * @return PlannerPlanContainer The PlannerPlanContainer + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the url + * The full canonical URL of the container. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The full canonical URL of the container. + * + * @param string $val The value of the url + * + * @return PlannerPlanContainer + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanDetails.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanDetails.php new file mode 100644 index 0000000..1703357 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanDetails.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["categoryDescriptions"], "\Microsoft\Graph\Model\PlannerCategoryDescriptions") || is_null($this->_propDict["categoryDescriptions"])) { + return $this->_propDict["categoryDescriptions"]; + } else { + $this->_propDict["categoryDescriptions"] = new PlannerCategoryDescriptions($this->_propDict["categoryDescriptions"]); + return $this->_propDict["categoryDescriptions"]; + } + } + return null; + } + + /** + * Sets the categoryDescriptions + * An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan + * + * @param PlannerCategoryDescriptions $val The categoryDescriptions + * + * @return PlannerPlanDetails + */ + public function setCategoryDescriptions($val) + { + $this->_propDict["categoryDescriptions"] = $val; + return $this; + } + + /** + * Gets the sharedWith + * The set of user IDs that this plan is shared with. If you are using Microsoft 365 groups, use the groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it is not required in order for them to access the plan owned by the group. + * + * @return PlannerUserIds|null The sharedWith + */ + public function getSharedWith() + { + if (array_key_exists("sharedWith", $this->_propDict)) { + if (is_a($this->_propDict["sharedWith"], "\Microsoft\Graph\Model\PlannerUserIds") || is_null($this->_propDict["sharedWith"])) { + return $this->_propDict["sharedWith"]; + } else { + $this->_propDict["sharedWith"] = new PlannerUserIds($this->_propDict["sharedWith"]); + return $this->_propDict["sharedWith"]; + } + } + return null; + } + + /** + * Sets the sharedWith + * The set of user IDs that this plan is shared with. If you are using Microsoft 365 groups, use the groups API to manage group membership to share the group's plan. You can also add existing members of the group to this collection, although it is not required in order for them to access the plan owned by the group. + * + * @param PlannerUserIds $val The sharedWith + * + * @return PlannerPlanDetails + */ + public function setSharedWith($val) + { + $this->_propDict["sharedWith"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerPreviewType.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerPreviewType.php new file mode 100644 index 0000000..ef688ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerPreviewType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint value used to order the task on the Progress view of the Task Board. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerProgressTaskBoardTaskFormat + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerTask.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerTask.php new file mode 100644 index 0000000..ad323ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerTask.php @@ -0,0 +1,804 @@ +_propDict)) { + return $this->_propDict["activeChecklistItemCount"]; + } else { + return null; + } + } + + /** + * Sets the activeChecklistItemCount + * Number of checklist items with value set to false, representing incomplete items. + * + * @param int $val The activeChecklistItemCount + * + * @return PlannerTask + */ + public function setActiveChecklistItemCount($val) + { + $this->_propDict["activeChecklistItemCount"] = intval($val); + return $this; + } + + /** + * Gets the appliedCategories + * The categories to which the task has been applied. See applied Categories for possible values. + * + * @return PlannerAppliedCategories|null The appliedCategories + */ + public function getAppliedCategories() + { + if (array_key_exists("appliedCategories", $this->_propDict)) { + if (is_a($this->_propDict["appliedCategories"], "\Microsoft\Graph\Model\PlannerAppliedCategories") || is_null($this->_propDict["appliedCategories"])) { + return $this->_propDict["appliedCategories"]; + } else { + $this->_propDict["appliedCategories"] = new PlannerAppliedCategories($this->_propDict["appliedCategories"]); + return $this->_propDict["appliedCategories"]; + } + } + return null; + } + + /** + * Sets the appliedCategories + * The categories to which the task has been applied. See applied Categories for possible values. + * + * @param PlannerAppliedCategories $val The appliedCategories + * + * @return PlannerTask + */ + public function setAppliedCategories($val) + { + $this->_propDict["appliedCategories"] = $val; + return $this; + } + + /** + * Gets the assigneePriority + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @return string|null The assigneePriority + */ + public function getAssigneePriority() + { + if (array_key_exists("assigneePriority", $this->_propDict)) { + return $this->_propDict["assigneePriority"]; + } else { + return null; + } + } + + /** + * Sets the assigneePriority + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @param string $val The assigneePriority + * + * @return PlannerTask + */ + public function setAssigneePriority($val) + { + $this->_propDict["assigneePriority"] = $val; + return $this; + } + + /** + * Gets the assignments + * The set of assignees the task is assigned to. + * + * @return PlannerAssignments|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + if (is_a($this->_propDict["assignments"], "\Microsoft\Graph\Model\PlannerAssignments") || is_null($this->_propDict["assignments"])) { + return $this->_propDict["assignments"]; + } else { + $this->_propDict["assignments"] = new PlannerAssignments($this->_propDict["assignments"]); + return $this->_propDict["assignments"]; + } + } + return null; + } + + /** + * Sets the assignments + * The set of assignees the task is assigned to. + * + * @param PlannerAssignments $val The assignments + * + * @return PlannerTask + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the bucketId + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + * + * @return string|null The bucketId + */ + public function getBucketId() + { + if (array_key_exists("bucketId", $this->_propDict)) { + return $this->_propDict["bucketId"]; + } else { + return null; + } + } + + /** + * Sets the bucketId + * Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service. + * + * @param string $val The bucketId + * + * @return PlannerTask + */ + public function setBucketId($val) + { + $this->_propDict["bucketId"] = $val; + return $this; + } + + /** + * Gets the checklistItemCount + * Number of checklist items that are present on the task. + * + * @return int|null The checklistItemCount + */ + public function getChecklistItemCount() + { + if (array_key_exists("checklistItemCount", $this->_propDict)) { + return $this->_propDict["checklistItemCount"]; + } else { + return null; + } + } + + /** + * Sets the checklistItemCount + * Number of checklist items that are present on the task. + * + * @param int $val The checklistItemCount + * + * @return PlannerTask + */ + public function setChecklistItemCount($val) + { + $this->_propDict["checklistItemCount"] = intval($val); + return $this; + } + + /** + * Gets the completedBy + * Identity of the user that completed the task. + * + * @return IdentitySet|null The completedBy + */ + public function getCompletedBy() + { + if (array_key_exists("completedBy", $this->_propDict)) { + if (is_a($this->_propDict["completedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["completedBy"])) { + return $this->_propDict["completedBy"]; + } else { + $this->_propDict["completedBy"] = new IdentitySet($this->_propDict["completedBy"]); + return $this->_propDict["completedBy"]; + } + } + return null; + } + + /** + * Sets the completedBy + * Identity of the user that completed the task. + * + * @param IdentitySet $val The completedBy + * + * @return PlannerTask + */ + public function setCompletedBy($val) + { + $this->_propDict["completedBy"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 completedDateTime + * + * @return PlannerTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the conversationThreadId + * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. + * + * @return string|null The conversationThreadId + */ + public function getConversationThreadId() + { + if (array_key_exists("conversationThreadId", $this->_propDict)) { + return $this->_propDict["conversationThreadId"]; + } else { + return null; + } + } + + /** + * Sets the conversationThreadId + * Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group. + * + * @param string $val The conversationThreadId + * + * @return PlannerTask + */ + public function setConversationThreadId($val) + { + $this->_propDict["conversationThreadId"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity of the user that created the task. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user that created the task. + * + * @param IdentitySet $val The createdBy + * + * @return PlannerTask + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Read-only. Date and time at which the task is created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Read-only. Date and time at which the task is created. 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 createdDateTime + * + * @return PlannerTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * Date and time at which the task is due. 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 dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\DateTime") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new \DateTime($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * Date and time at which the task is due. 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 dueDateTime + * + * @return PlannerTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the hasDescription + * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. + * + * @return bool|null The hasDescription + */ + public function getHasDescription() + { + if (array_key_exists("hasDescription", $this->_propDict)) { + return $this->_propDict["hasDescription"]; + } else { + return null; + } + } + + /** + * Sets the hasDescription + * Read-only. Value is true if the details object of the task has a non-empty description and false otherwise. + * + * @param bool $val The hasDescription + * + * @return PlannerTask + */ + public function setHasDescription($val) + { + $this->_propDict["hasDescription"] = boolval($val); + return $this; + } + + /** + * Gets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @return string|null The orderHint + */ + public function getOrderHint() + { + if (array_key_exists("orderHint", $this->_propDict)) { + return $this->_propDict["orderHint"]; + } else { + return null; + } + } + + /** + * Sets the orderHint + * Hint used to order items of this type in a list view. The format is defined as outlined here. + * + * @param string $val The orderHint + * + * @return PlannerTask + */ + public function setOrderHint($val) + { + $this->_propDict["orderHint"] = $val; + return $this; + } + + /** + * Gets the percentComplete + * Percentage of task completion. When set to 100, the task is considered completed. + * + * @return int|null The percentComplete + */ + public function getPercentComplete() + { + if (array_key_exists("percentComplete", $this->_propDict)) { + return $this->_propDict["percentComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentComplete + * Percentage of task completion. When set to 100, the task is considered completed. + * + * @param int $val The percentComplete + * + * @return PlannerTask + */ + public function setPercentComplete($val) + { + $this->_propDict["percentComplete"] = intval($val); + return $this; + } + + /** + * Gets the planId + * Plan ID to which the task belongs. + * + * @return string|null The planId + */ + public function getPlanId() + { + if (array_key_exists("planId", $this->_propDict)) { + return $this->_propDict["planId"]; + } else { + return null; + } + } + + /** + * Sets the planId + * Plan ID to which the task belongs. + * + * @param string $val The planId + * + * @return PlannerTask + */ + public function setPlanId($val) + { + $this->_propDict["planId"] = $val; + return $this; + } + + /** + * Gets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. + * + * @return PlannerPreviewType|null The previewType + */ + public function getPreviewType() + { + if (array_key_exists("previewType", $this->_propDict)) { + if (is_a($this->_propDict["previewType"], "\Microsoft\Graph\Model\PlannerPreviewType") || is_null($this->_propDict["previewType"])) { + return $this->_propDict["previewType"]; + } else { + $this->_propDict["previewType"] = new PlannerPreviewType($this->_propDict["previewType"]); + return $this->_propDict["previewType"]; + } + } + return null; + } + + /** + * Sets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. + * + * @param PlannerPreviewType $val The previewType + * + * @return PlannerTask + */ + public function setPreviewType($val) + { + $this->_propDict["previewType"] = $val; + return $this; + } + + /** + * Gets the priority + * Priority of the task. Valid range of values is between 0 and 10 (inclusive), with increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2 and 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Currently, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'. + * + * @return int|null The priority + */ + public function getPriority() + { + if (array_key_exists("priority", $this->_propDict)) { + return $this->_propDict["priority"]; + } else { + return null; + } + } + + /** + * Sets the priority + * Priority of the task. Valid range of values is between 0 and 10 (inclusive), with increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2 and 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Currently, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'. + * + * @param int $val The priority + * + * @return PlannerTask + */ + public function setPriority($val) + { + $this->_propDict["priority"] = intval($val); + return $this; + } + + /** + * Gets the referenceCount + * Number of external references that exist on the task. + * + * @return int|null The referenceCount + */ + public function getReferenceCount() + { + if (array_key_exists("referenceCount", $this->_propDict)) { + return $this->_propDict["referenceCount"]; + } else { + return null; + } + } + + /** + * Sets the referenceCount + * Number of external references that exist on the task. + * + * @param int $val The referenceCount + * + * @return PlannerTask + */ + public function setReferenceCount($val) + { + $this->_propDict["referenceCount"] = intval($val); + return $this; + } + + /** + * Gets the startDateTime + * Date and time at which the task starts. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Date and time at which the task starts. 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 startDateTime + * + * @return PlannerTask + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * Title of the task. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the task. + * + * @param string $val The title + * + * @return PlannerTask + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the assignedToTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. + * + * @return PlannerAssignedToTaskBoardTaskFormat|null The assignedToTaskBoardFormat + */ + public function getAssignedToTaskBoardFormat() + { + if (array_key_exists("assignedToTaskBoardFormat", $this->_propDict)) { + if (is_a($this->_propDict["assignedToTaskBoardFormat"], "\Microsoft\Graph\Model\PlannerAssignedToTaskBoardTaskFormat") || is_null($this->_propDict["assignedToTaskBoardFormat"])) { + return $this->_propDict["assignedToTaskBoardFormat"]; + } else { + $this->_propDict["assignedToTaskBoardFormat"] = new PlannerAssignedToTaskBoardTaskFormat($this->_propDict["assignedToTaskBoardFormat"]); + return $this->_propDict["assignedToTaskBoardFormat"]; + } + } + return null; + } + + /** + * Sets the assignedToTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. + * + * @param PlannerAssignedToTaskBoardTaskFormat $val The assignedToTaskBoardFormat + * + * @return PlannerTask + */ + public function setAssignedToTaskBoardFormat($val) + { + $this->_propDict["assignedToTaskBoardFormat"] = $val; + return $this; + } + + /** + * Gets the bucketTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. + * + * @return PlannerBucketTaskBoardTaskFormat|null The bucketTaskBoardFormat + */ + public function getBucketTaskBoardFormat() + { + if (array_key_exists("bucketTaskBoardFormat", $this->_propDict)) { + if (is_a($this->_propDict["bucketTaskBoardFormat"], "\Microsoft\Graph\Model\PlannerBucketTaskBoardTaskFormat") || is_null($this->_propDict["bucketTaskBoardFormat"])) { + return $this->_propDict["bucketTaskBoardFormat"]; + } else { + $this->_propDict["bucketTaskBoardFormat"] = new PlannerBucketTaskBoardTaskFormat($this->_propDict["bucketTaskBoardFormat"]); + return $this->_propDict["bucketTaskBoardFormat"]; + } + } + return null; + } + + /** + * Sets the bucketTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. + * + * @param PlannerBucketTaskBoardTaskFormat $val The bucketTaskBoardFormat + * + * @return PlannerTask + */ + public function setBucketTaskBoardFormat($val) + { + $this->_propDict["bucketTaskBoardFormat"] = $val; + return $this; + } + + /** + * Gets the details + * Read-only. Nullable. Additional details about the task. + * + * @return PlannerTaskDetails|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PlannerTaskDetails") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PlannerTaskDetails($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Read-only. Nullable. Additional details about the task. + * + * @param PlannerTaskDetails $val The details + * + * @return PlannerTask + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the progressTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. + * + * @return PlannerProgressTaskBoardTaskFormat|null The progressTaskBoardFormat + */ + public function getProgressTaskBoardFormat() + { + if (array_key_exists("progressTaskBoardFormat", $this->_propDict)) { + if (is_a($this->_propDict["progressTaskBoardFormat"], "\Microsoft\Graph\Model\PlannerProgressTaskBoardTaskFormat") || is_null($this->_propDict["progressTaskBoardFormat"])) { + return $this->_propDict["progressTaskBoardFormat"]; + } else { + $this->_propDict["progressTaskBoardFormat"] = new PlannerProgressTaskBoardTaskFormat($this->_propDict["progressTaskBoardFormat"]); + return $this->_propDict["progressTaskBoardFormat"]; + } + } + return null; + } + + /** + * Sets the progressTaskBoardFormat + * Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. + * + * @param PlannerProgressTaskBoardTaskFormat $val The progressTaskBoardFormat + * + * @return PlannerTask + */ + public function setProgressTaskBoardFormat($val) + { + $this->_propDict["progressTaskBoardFormat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerTaskDetails.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerTaskDetails.php new file mode 100644 index 0000000..bca090e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerTaskDetails.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["checklist"], "\Microsoft\Graph\Model\PlannerChecklistItems") || is_null($this->_propDict["checklist"])) { + return $this->_propDict["checklist"]; + } else { + $this->_propDict["checklist"] = new PlannerChecklistItems($this->_propDict["checklist"]); + return $this->_propDict["checklist"]; + } + } + return null; + } + + /** + * Sets the checklist + * The collection of checklist items on the task. + * + * @param PlannerChecklistItems $val The checklist + * + * @return PlannerTaskDetails + */ + public function setChecklist($val) + { + $this->_propDict["checklist"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the task. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the task. + * + * @param string $val The description + * + * @return PlannerTaskDetails + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task. + * + * @return PlannerPreviewType|null The previewType + */ + public function getPreviewType() + { + if (array_key_exists("previewType", $this->_propDict)) { + if (is_a($this->_propDict["previewType"], "\Microsoft\Graph\Model\PlannerPreviewType") || is_null($this->_propDict["previewType"])) { + return $this->_propDict["previewType"]; + } else { + $this->_propDict["previewType"] = new PlannerPreviewType($this->_propDict["previewType"]); + return $this->_propDict["previewType"]; + } + } + return null; + } + + /** + * Sets the previewType + * This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task. + * + * @param PlannerPreviewType $val The previewType + * + * @return PlannerTaskDetails + */ + public function setPreviewType($val) + { + $this->_propDict["previewType"] = $val; + return $this; + } + + /** + * Gets the references + * The collection of references on the task. + * + * @return PlannerExternalReferences|null The references + */ + public function getReferences() + { + if (array_key_exists("references", $this->_propDict)) { + if (is_a($this->_propDict["references"], "\Microsoft\Graph\Model\PlannerExternalReferences") || is_null($this->_propDict["references"])) { + return $this->_propDict["references"]; + } else { + $this->_propDict["references"] = new PlannerExternalReferences($this->_propDict["references"]); + return $this->_propDict["references"]; + } + } + return null; + } + + /** + * Sets the references + * The collection of references on the task. + * + * @param PlannerExternalReferences $val The references + * + * @return PlannerTaskDetails + */ + public function setReferences($val) + { + $this->_propDict["references"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerUser.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerUser.php new file mode 100644 index 0000000..781648b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerUser.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["plans"]; + } else { + return null; + } + } + + /** + * Sets the plans + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @param PlannerPlan[] $val The plans + * + * @return PlannerUser + */ + public function setPlans($val) + { + $this->_propDict["plans"] = $val; + return $this; + } + + + /** + * Gets the tasks + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * Read-only. Nullable. Returns the plannerTasks assigned to the user. + * + * @param PlannerTask[] $val The tasks + * + * @return PlannerUser + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerUserIds.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerUserIds.php new file mode 100644 index 0000000..983ed8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PlannerUserIds.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for this policy. Required. + * + * @param string $val The description + * + * @return PolicyBase + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for this policy. Required. + * + * @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 + * Display name for this policy. Required. + * + * @param string $val The displayName + * + * @return PolicyBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PolicyPlatformType.php b/vendor/microsoft/microsoft-graph/src/Model/PolicyPlatformType.php new file mode 100644 index 0000000..7e18b3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PolicyPlatformType.php @@ -0,0 +1,40 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethodsPolicy"], "\Microsoft\Graph\Model\AuthenticationMethodsPolicy") || is_null($this->_propDict["authenticationMethodsPolicy"])) { + return $this->_propDict["authenticationMethodsPolicy"]; + } else { + $this->_propDict["authenticationMethodsPolicy"] = new AuthenticationMethodsPolicy($this->_propDict["authenticationMethodsPolicy"]); + return $this->_propDict["authenticationMethodsPolicy"]; + } + } + return null; + } + + /** + * Sets the authenticationMethodsPolicy + * The authentication methods and the users that are allowed to use them to sign in and perform multi-factor authentication (MFA) in Azure Active Directory (Azure AD). + * + * @param AuthenticationMethodsPolicy $val The authenticationMethodsPolicy + * + * @return PolicyRoot + */ + public function setAuthenticationMethodsPolicy($val) + { + $this->_propDict["authenticationMethodsPolicy"] = $val; + return $this; + } + + /** + * Gets the authenticationFlowsPolicy + * The policy configuration of the self-service sign-up experience of external users. + * + * @return AuthenticationFlowsPolicy|null The authenticationFlowsPolicy + */ + public function getAuthenticationFlowsPolicy() + { + if (array_key_exists("authenticationFlowsPolicy", $this->_propDict)) { + if (is_a($this->_propDict["authenticationFlowsPolicy"], "\Microsoft\Graph\Model\AuthenticationFlowsPolicy") || is_null($this->_propDict["authenticationFlowsPolicy"])) { + return $this->_propDict["authenticationFlowsPolicy"]; + } else { + $this->_propDict["authenticationFlowsPolicy"] = new AuthenticationFlowsPolicy($this->_propDict["authenticationFlowsPolicy"]); + return $this->_propDict["authenticationFlowsPolicy"]; + } + } + return null; + } + + /** + * Sets the authenticationFlowsPolicy + * The policy configuration of the self-service sign-up experience of external users. + * + * @param AuthenticationFlowsPolicy $val The authenticationFlowsPolicy + * + * @return PolicyRoot + */ + public function setAuthenticationFlowsPolicy($val) + { + $this->_propDict["authenticationFlowsPolicy"] = $val; + return $this; + } + + + /** + * Gets the activityBasedTimeoutPolicies + * The policy that controls the idle time out for web sessions for applications. + * + * @return array|null The activityBasedTimeoutPolicies + */ + public function getActivityBasedTimeoutPolicies() + { + if (array_key_exists("activityBasedTimeoutPolicies", $this->_propDict)) { + return $this->_propDict["activityBasedTimeoutPolicies"]; + } else { + return null; + } + } + + /** + * Sets the activityBasedTimeoutPolicies + * The policy that controls the idle time out for web sessions for applications. + * + * @param ActivityBasedTimeoutPolicy[] $val The activityBasedTimeoutPolicies + * + * @return PolicyRoot + */ + public function setActivityBasedTimeoutPolicies($val) + { + $this->_propDict["activityBasedTimeoutPolicies"] = $val; + return $this; + } + + /** + * Gets the authorizationPolicy + * The policy that controls Azure AD authorization settings. + * + * @return AuthorizationPolicy|null The authorizationPolicy + */ + public function getAuthorizationPolicy() + { + if (array_key_exists("authorizationPolicy", $this->_propDict)) { + if (is_a($this->_propDict["authorizationPolicy"], "\Microsoft\Graph\Model\AuthorizationPolicy") || is_null($this->_propDict["authorizationPolicy"])) { + return $this->_propDict["authorizationPolicy"]; + } else { + $this->_propDict["authorizationPolicy"] = new AuthorizationPolicy($this->_propDict["authorizationPolicy"]); + return $this->_propDict["authorizationPolicy"]; + } + } + return null; + } + + /** + * Sets the authorizationPolicy + * The policy that controls Azure AD authorization settings. + * + * @param AuthorizationPolicy $val The authorizationPolicy + * + * @return PolicyRoot + */ + public function setAuthorizationPolicy($val) + { + $this->_propDict["authorizationPolicy"] = $val; + return $this; + } + + + /** + * Gets the claimsMappingPolicies + * The claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. + * + * @return array|null The claimsMappingPolicies + */ + public function getClaimsMappingPolicies() + { + if (array_key_exists("claimsMappingPolicies", $this->_propDict)) { + return $this->_propDict["claimsMappingPolicies"]; + } else { + return null; + } + } + + /** + * Sets the claimsMappingPolicies + * The claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. + * + * @param ClaimsMappingPolicy[] $val The claimsMappingPolicies + * + * @return PolicyRoot + */ + public function setClaimsMappingPolicies($val) + { + $this->_propDict["claimsMappingPolicies"] = $val; + return $this; + } + + + /** + * Gets the homeRealmDiscoveryPolicies + * The policy to control Azure AD authentication behavior for federated users. + * + * @return array|null The homeRealmDiscoveryPolicies + */ + public function getHomeRealmDiscoveryPolicies() + { + if (array_key_exists("homeRealmDiscoveryPolicies", $this->_propDict)) { + return $this->_propDict["homeRealmDiscoveryPolicies"]; + } else { + return null; + } + } + + /** + * Sets the homeRealmDiscoveryPolicies + * The policy to control Azure AD authentication behavior for federated users. + * + * @param HomeRealmDiscoveryPolicy[] $val The homeRealmDiscoveryPolicies + * + * @return PolicyRoot + */ + public function setHomeRealmDiscoveryPolicies($val) + { + $this->_propDict["homeRealmDiscoveryPolicies"] = $val; + return $this; + } + + + /** + * Gets the permissionGrantPolicies + * The policy that specifies the conditions under which consent can be granted. + * + * @return array|null The permissionGrantPolicies + */ + public function getPermissionGrantPolicies() + { + if (array_key_exists("permissionGrantPolicies", $this->_propDict)) { + return $this->_propDict["permissionGrantPolicies"]; + } else { + return null; + } + } + + /** + * Sets the permissionGrantPolicies + * The policy that specifies the conditions under which consent can be granted. + * + * @param PermissionGrantPolicy[] $val The permissionGrantPolicies + * + * @return PolicyRoot + */ + public function setPermissionGrantPolicies($val) + { + $this->_propDict["permissionGrantPolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenIssuancePolicies + * The policy that specifies the characteristics of SAML tokens issued by Azure AD. + * + * @return array|null The tokenIssuancePolicies + */ + public function getTokenIssuancePolicies() + { + if (array_key_exists("tokenIssuancePolicies", $this->_propDict)) { + return $this->_propDict["tokenIssuancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuancePolicies + * The policy that specifies the characteristics of SAML tokens issued by Azure AD. + * + * @param TokenIssuancePolicy[] $val The tokenIssuancePolicies + * + * @return PolicyRoot + */ + public function setTokenIssuancePolicies($val) + { + $this->_propDict["tokenIssuancePolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenLifetimePolicies + * The policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Azure AD. + * + * @return array|null The tokenLifetimePolicies + */ + public function getTokenLifetimePolicies() + { + if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { + return $this->_propDict["tokenLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenLifetimePolicies + * The policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Azure AD. + * + * @param TokenLifetimePolicy[] $val The tokenLifetimePolicies + * + * @return PolicyRoot + */ + public function setTokenLifetimePolicies($val) + { + $this->_propDict["tokenLifetimePolicies"] = $val; + return $this; + } + + + /** + * Gets the featureRolloutPolicies + * The feature rollout policy associated with a directory object. + * + * @return array|null The featureRolloutPolicies + */ + public function getFeatureRolloutPolicies() + { + if (array_key_exists("featureRolloutPolicies", $this->_propDict)) { + return $this->_propDict["featureRolloutPolicies"]; + } else { + return null; + } + } + + /** + * Sets the featureRolloutPolicies + * The feature rollout policy associated with a directory object. + * + * @param FeatureRolloutPolicy[] $val The featureRolloutPolicies + * + * @return PolicyRoot + */ + public function setFeatureRolloutPolicies($val) + { + $this->_propDict["featureRolloutPolicies"] = $val; + return $this; + } + + /** + * Gets the adminConsentRequestPolicy + * The policy by which consent requests are created and managed for the entire tenant. + * + * @return AdminConsentRequestPolicy|null The adminConsentRequestPolicy + */ + public function getAdminConsentRequestPolicy() + { + if (array_key_exists("adminConsentRequestPolicy", $this->_propDict)) { + if (is_a($this->_propDict["adminConsentRequestPolicy"], "\Microsoft\Graph\Model\AdminConsentRequestPolicy") || is_null($this->_propDict["adminConsentRequestPolicy"])) { + return $this->_propDict["adminConsentRequestPolicy"]; + } else { + $this->_propDict["adminConsentRequestPolicy"] = new AdminConsentRequestPolicy($this->_propDict["adminConsentRequestPolicy"]); + return $this->_propDict["adminConsentRequestPolicy"]; + } + } + return null; + } + + /** + * Sets the adminConsentRequestPolicy + * The policy by which consent requests are created and managed for the entire tenant. + * + * @param AdminConsentRequestPolicy $val The adminConsentRequestPolicy + * + * @return PolicyRoot + */ + public function setAdminConsentRequestPolicy($val) + { + $this->_propDict["adminConsentRequestPolicy"] = $val; + return $this; + } + + + /** + * Gets the conditionalAccessPolicies + * The custom rules that define an access scenario. + * + * @return array|null The conditionalAccessPolicies + */ + public function getConditionalAccessPolicies() + { + if (array_key_exists("conditionalAccessPolicies", $this->_propDict)) { + return $this->_propDict["conditionalAccessPolicies"]; + } else { + return null; + } + } + + /** + * Sets the conditionalAccessPolicies + * The custom rules that define an access scenario. + * + * @param ConditionalAccessPolicy[] $val The conditionalAccessPolicies + * + * @return PolicyRoot + */ + public function setConditionalAccessPolicies($val) + { + $this->_propDict["conditionalAccessPolicies"] = $val; + return $this; + } + + /** + * Gets the identitySecurityDefaultsEnforcementPolicy + * The policy that represents the security defaults that protect against common attacks. + * + * @return IdentitySecurityDefaultsEnforcementPolicy|null The identitySecurityDefaultsEnforcementPolicy + */ + public function getIdentitySecurityDefaultsEnforcementPolicy() + { + if (array_key_exists("identitySecurityDefaultsEnforcementPolicy", $this->_propDict)) { + if (is_a($this->_propDict["identitySecurityDefaultsEnforcementPolicy"], "\Microsoft\Graph\Model\IdentitySecurityDefaultsEnforcementPolicy") || is_null($this->_propDict["identitySecurityDefaultsEnforcementPolicy"])) { + return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; + } else { + $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = new IdentitySecurityDefaultsEnforcementPolicy($this->_propDict["identitySecurityDefaultsEnforcementPolicy"]); + return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; + } + } + return null; + } + + /** + * Sets the identitySecurityDefaultsEnforcementPolicy + * The policy that represents the security defaults that protect against common attacks. + * + * @param IdentitySecurityDefaultsEnforcementPolicy $val The identitySecurityDefaultsEnforcementPolicy + * + * @return PolicyRoot + */ + public function setIdentitySecurityDefaultsEnforcementPolicy($val) + { + $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = $val; + return $this; + } + + + /** + * Gets the roleManagementPolicies + * Represents the role management policies. + * + * @return array|null The roleManagementPolicies + */ + public function getRoleManagementPolicies() + { + if (array_key_exists("roleManagementPolicies", $this->_propDict)) { + return $this->_propDict["roleManagementPolicies"]; + } else { + return null; + } + } + + /** + * Sets the roleManagementPolicies + * Represents the role management policies. + * + * @param UnifiedRoleManagementPolicy[] $val The roleManagementPolicies + * + * @return PolicyRoot + */ + public function setRoleManagementPolicies($val) + { + $this->_propDict["roleManagementPolicies"] = $val; + return $this; + } + + + /** + * Gets the roleManagementPolicyAssignments + * Represents the role management policy assignments. + * + * @return array|null The roleManagementPolicyAssignments + */ + public function getRoleManagementPolicyAssignments() + { + if (array_key_exists("roleManagementPolicyAssignments", $this->_propDict)) { + return $this->_propDict["roleManagementPolicyAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleManagementPolicyAssignments + * Represents the role management policy assignments. + * + * @param UnifiedRoleManagementPolicyAssignment[] $val The roleManagementPolicyAssignments + * + * @return PolicyRoot + */ + public function setRoleManagementPolicyAssignments($val) + { + $this->_propDict["roleManagementPolicyAssignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Post.php b/vendor/microsoft/microsoft-graph/src/Model/Post.php new file mode 100644 index 0000000..958552a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Post.php @@ -0,0 +1,429 @@ +_propDict)) { + if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The contents of the post. This is a default property. This property can be null. + * + * @param ItemBody $val The body + * + * @return Post + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the conversationId + * Unique ID of the conversation. Read-only. + * + * @return string|null The conversationId + */ + public function getConversationId() + { + if (array_key_exists("conversationId", $this->_propDict)) { + return $this->_propDict["conversationId"]; + } else { + return null; + } + } + + /** + * Sets the conversationId + * Unique ID of the conversation. Read-only. + * + * @param string $val The conversationId + * + * @return Post + */ + public function setConversationId($val) + { + $this->_propDict["conversationId"] = $val; + return $this; + } + + /** + * Gets the conversationThreadId + * Unique ID of the conversation thread. Read-only. + * + * @return string|null The conversationThreadId + */ + public function getConversationThreadId() + { + if (array_key_exists("conversationThreadId", $this->_propDict)) { + return $this->_propDict["conversationThreadId"]; + } else { + return null; + } + } + + /** + * Sets the conversationThreadId + * Unique ID of the conversation thread. Read-only. + * + * @param string $val The conversationThreadId + * + * @return Post + */ + public function setConversationThreadId($val) + { + $this->_propDict["conversationThreadId"] = $val; + return $this; + } + + /** + * Gets the from + * Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. + * + * @return Recipient|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["from"])) { + return $this->_propDict["from"]; + } else { + $this->_propDict["from"] = new Recipient($this->_propDict["from"]); + return $this->_propDict["from"]; + } + } + return null; + } + + /** + * Sets the from + * Used in delegate access scenarios. Indicates who posted the message on behalf of another user. This is a default property. + * + * @param Recipient $val The from + * + * @return Post + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether the post has at least one attachment. This is a default property. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether the post has at least one attachment. This is a default property. + * + * @param bool $val The hasAttachments + * + * @return Post + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + + /** + * Gets the newParticipants + * Conversation participants that were added to the thread as part of this post. + * + * @return array|null The newParticipants + */ + public function getNewParticipants() + { + if (array_key_exists("newParticipants", $this->_propDict)) { + return $this->_propDict["newParticipants"]; + } else { + return null; + } + } + + /** + * Sets the newParticipants + * Conversation participants that were added to the thread as part of this post. + * + * @param Recipient[] $val The newParticipants + * + * @return Post + */ + public function setNewParticipants($val) + { + $this->_propDict["newParticipants"] = $val; + return $this; + } + + /** + * Gets the receivedDateTime + * Specifies when the post was received. The DateTimeOffset 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 receivedDateTime + */ + public function getReceivedDateTime() + { + if (array_key_exists("receivedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["receivedDateTime"], "\DateTime") || is_null($this->_propDict["receivedDateTime"])) { + return $this->_propDict["receivedDateTime"]; + } else { + $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); + return $this->_propDict["receivedDateTime"]; + } + } + return null; + } + + /** + * Sets the receivedDateTime + * Specifies when the post was received. The DateTimeOffset 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 receivedDateTime + * + * @return Post + */ + public function setReceivedDateTime($val) + { + $this->_propDict["receivedDateTime"] = $val; + return $this; + } + + /** + * Gets the sender + * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. + * + * @return Recipient|null The sender + */ + public function getSender() + { + if (array_key_exists("sender", $this->_propDict)) { + if (is_a($this->_propDict["sender"], "\Microsoft\Graph\Model\Recipient") || is_null($this->_propDict["sender"])) { + return $this->_propDict["sender"]; + } else { + $this->_propDict["sender"] = new Recipient($this->_propDict["sender"]); + return $this->_propDict["sender"]; + } + } + return null; + } + + /** + * Sets the sender + * Contains the address of the sender. The value of Sender is assumed to be the address of the authenticated user in the case when Sender is not specified. This is a default property. + * + * @param Recipient $val The sender + * + * @return Post + */ + public function setSender($val) + { + $this->_propDict["sender"] = $val; + return $this; + } + + + /** + * Gets the attachments + * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. + * + * @param Attachment[] $val The attachments + * + * @return Post + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. + * + * @param Extension[] $val The extensions + * + * @return Post + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + /** + * Gets the inReplyTo + * The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand. + * + * @return Post|null The inReplyTo + */ + public function getInReplyTo() + { + if (array_key_exists("inReplyTo", $this->_propDict)) { + if (is_a($this->_propDict["inReplyTo"], "\Microsoft\Graph\Model\Post") || is_null($this->_propDict["inReplyTo"])) { + return $this->_propDict["inReplyTo"]; + } else { + $this->_propDict["inReplyTo"] = new Post($this->_propDict["inReplyTo"]); + return $this->_propDict["inReplyTo"]; + } + } + return null; + } + + /** + * Sets the inReplyTo + * The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand. + * + * @param Post $val The inReplyTo + * + * @return Post + */ + public function setInReplyTo($val) + { + $this->_propDict["inReplyTo"] = $val; + return $this; + } + + + /** + * Gets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the post. Read-only. Nullable. + * + * @return array|null The multiValueExtendedProperties + */ + public function getMultiValueExtendedProperties() + { + if (array_key_exists("multiValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["multiValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the multiValueExtendedProperties + * The collection of multi-value extended properties defined for the post. Read-only. Nullable. + * + * @param MultiValueLegacyExtendedProperty[] $val The multiValueExtendedProperties + * + * @return Post + */ + public function setMultiValueExtendedProperties($val) + { + $this->_propDict["multiValueExtendedProperties"] = $val; + return $this; + } + + + /** + * Gets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the post. Read-only. Nullable. + * + * @return array|null The singleValueExtendedProperties + */ + public function getSingleValueExtendedProperties() + { + if (array_key_exists("singleValueExtendedProperties", $this->_propDict)) { + return $this->_propDict["singleValueExtendedProperties"]; + } else { + return null; + } + } + + /** + * Sets the singleValueExtendedProperties + * The collection of single-value extended properties defined for the post. Read-only. Nullable. + * + * @param SingleValueLegacyExtendedProperty[] $val The singleValueExtendedProperties + * + * @return Post + */ + public function setSingleValueExtendedProperties($val) + { + $this->_propDict["singleValueExtendedProperties"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PostType.php b/vendor/microsoft/microsoft-graph/src/Model/PostType.php new file mode 100644 index 0000000..1afca24 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PostType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the application. + * + * @param string $val The value of the appId + * + * @return PreAuthorizedApplication + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + /** + * Gets the delegatedPermissionIds + * The unique identifier for the oauth2PermissionScopes the application requires. + * + * @return string|null The delegatedPermissionIds + */ + public function getDelegatedPermissionIds() + { + if (array_key_exists("delegatedPermissionIds", $this->_propDict)) { + return $this->_propDict["delegatedPermissionIds"]; + } else { + return null; + } + } + + /** + * Sets the delegatedPermissionIds + * The unique identifier for the oauth2PermissionScopes the application requires. + * + * @param string $val The value of the delegatedPermissionIds + * + * @return PreAuthorizedApplication + */ + public function setDelegatedPermissionIds($val) + { + $this->_propDict["delegatedPermissionIds"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrereleaseFeatures.php b/vendor/microsoft/microsoft-graph/src/Model/PrereleaseFeatures.php new file mode 100644 index 0000000..6f36e07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrereleaseFeatures.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["activity"]; + } else { + return null; + } + } + + /** + * Sets the activity + * The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive,InAMeeting, Offline, OffWork,OutOfOffice, PresenceUnknown,Presenting, UrgentInterruptionsOnly. + * + * @param string $val The activity + * + * @return Presence + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the availability + * The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown + * + * @return string|null The availability + */ + public function getAvailability() + { + if (array_key_exists("availability", $this->_propDict)) { + return $this->_propDict["availability"]; + } else { + return null; + } + } + + /** + * Sets the availability + * The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown + * + * @param string $val The availability + * + * @return Presence + */ + public function setAvailability($val) + { + $this->_propDict["availability"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrincipalResourceMembershipsScope.php b/vendor/microsoft/microsoft-graph/src/Model/PrincipalResourceMembershipsScope.php new file mode 100644 index 0000000..3aa72bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrincipalResourceMembershipsScope.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["principalScopes"], "\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["principalScopes"])) { + return $this->_propDict["principalScopes"]; + } else { + $this->_propDict["principalScopes"] = new AccessReviewScope($this->_propDict["principalScopes"]); + return $this->_propDict["principalScopes"]; + } + } + return null; + } + + /** + * Sets the principalScopes + * Defines the scopes of the principals whose access to resources are reviewed in the access review. + * + * @param AccessReviewScope $val The value to assign to the principalScopes + * + * @return PrincipalResourceMembershipsScope The PrincipalResourceMembershipsScope + */ + public function setPrincipalScopes($val) + { + $this->_propDict["principalScopes"] = $val; + return $this; + } + + /** + * Gets the resourceScopes + * Defines the scopes of the resources for which access is reviewed. + * + * @return AccessReviewScope|null The resourceScopes + */ + public function getResourceScopes() + { + if (array_key_exists("resourceScopes", $this->_propDict)) { + if (is_a($this->_propDict["resourceScopes"], "\Microsoft\Graph\Model\AccessReviewScope") || is_null($this->_propDict["resourceScopes"])) { + return $this->_propDict["resourceScopes"]; + } else { + $this->_propDict["resourceScopes"] = new AccessReviewScope($this->_propDict["resourceScopes"]); + return $this->_propDict["resourceScopes"]; + } + } + return null; + } + + /** + * Sets the resourceScopes + * Defines the scopes of the resources for which access is reviewed. + * + * @param AccessReviewScope $val The value to assign to the resourceScopes + * + * @return PrincipalResourceMembershipsScope The PrincipalResourceMembershipsScope + */ + public function setResourceScopes($val) + { + $this->_propDict["resourceScopes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintCertificateSigningRequest.php b/vendor/microsoft/microsoft-graph/src/Model/PrintCertificateSigningRequest.php new file mode 100644 index 0000000..9eccd52 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintCertificateSigningRequest.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * A base64-encoded pkcs10 certificate request. Read-only. + * + * @param string $val The value of the content + * + * @return PrintCertificateSigningRequest + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the transportKey + * The base64-encoded public portion of an asymmetric key that is generated by the client. Read-only. + * + * @return string|null The transportKey + */ + public function getTransportKey() + { + if (array_key_exists("transportKey", $this->_propDict)) { + return $this->_propDict["transportKey"]; + } else { + return null; + } + } + + /** + * Sets the transportKey + * The base64-encoded public portion of an asymmetric key that is generated by the client. Read-only. + * + * @param string $val The value of the transportKey + * + * @return PrintCertificateSigningRequest + */ + public function setTransportKey($val) + { + $this->_propDict["transportKey"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintColorMode.php b/vendor/microsoft/microsoft-graph/src/Model/PrintColorMode.php new file mode 100644 index 0000000..5031cea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintColorMode.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appVersion"]; + } else { + return null; + } + } + + /** + * Sets the appVersion + * The connector's version. + * + * @param string $val The appVersion + * + * @return PrintConnector + */ + public function setAppVersion($val) + { + $this->_propDict["appVersion"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the connector. + * + * @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 + * The name of the connector. + * + * @param string $val The displayName + * + * @return PrintConnector + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the fullyQualifiedDomainName + * The connector machine's hostname. + * + * @return string|null The fullyQualifiedDomainName + */ + public function getFullyQualifiedDomainName() + { + if (array_key_exists("fullyQualifiedDomainName", $this->_propDict)) { + return $this->_propDict["fullyQualifiedDomainName"]; + } else { + return null; + } + } + + /** + * Sets the fullyQualifiedDomainName + * The connector machine's hostname. + * + * @param string $val The fullyQualifiedDomainName + * + * @return PrintConnector + */ + public function setFullyQualifiedDomainName($val) + { + $this->_propDict["fullyQualifiedDomainName"] = $val; + return $this; + } + + /** + * Gets the location + * The physical and/or organizational location of the connector. + * + * @return PrinterLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\PrinterLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new PrinterLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * The physical and/or organizational location of the connector. + * + * @param PrinterLocation $val The location + * + * @return PrintConnector + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the operatingSystem + * The connector machine's operating system version. + * + * @return string|null The operatingSystem + */ + public function getOperatingSystem() + { + if (array_key_exists("operatingSystem", $this->_propDict)) { + return $this->_propDict["operatingSystem"]; + } else { + return null; + } + } + + /** + * Sets the operatingSystem + * The connector machine's operating system version. + * + * @param string $val The operatingSystem + * + * @return PrintConnector + */ + public function setOperatingSystem($val) + { + $this->_propDict["operatingSystem"] = $val; + return $this; + } + + /** + * Gets the registeredDateTime + * The DateTimeOffset when the connector was registered. + * + * @return \DateTime|null The registeredDateTime + */ + public function getRegisteredDateTime() + { + if (array_key_exists("registeredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registeredDateTime"], "\DateTime") || is_null($this->_propDict["registeredDateTime"])) { + return $this->_propDict["registeredDateTime"]; + } else { + $this->_propDict["registeredDateTime"] = new \DateTime($this->_propDict["registeredDateTime"]); + return $this->_propDict["registeredDateTime"]; + } + } + return null; + } + + /** + * Sets the registeredDateTime + * The DateTimeOffset when the connector was registered. + * + * @param \DateTime $val The registeredDateTime + * + * @return PrintConnector + */ + public function setRegisteredDateTime($val) + { + $this->_propDict["registeredDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintDocument.php b/vendor/microsoft/microsoft-graph/src/Model/PrintDocument.php new file mode 100644 index 0000000..cac18c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintDocument.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The document's content (MIME) type. Read-only. + * + * @param string $val The contentType + * + * @return PrintDocument + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the displayName + * The document's name. Read-only. + * + * @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 + * The document's name. Read-only. + * + * @param string $val The displayName + * + * @return PrintDocument + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the size + * The document's size in bytes. Read-only. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The document's size in bytes. Read-only. + * + * @param int $val The size + * + * @return PrintDocument + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintDocumentUploadProperties.php b/vendor/microsoft/microsoft-graph/src/Model/PrintDocumentUploadProperties.php new file mode 100644 index 0000000..3f9e552 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintDocumentUploadProperties.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The document's content (MIME) type. + * + * @param string $val The value of the contentType + * + * @return PrintDocumentUploadProperties + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the documentName + * The document's name. + * + * @return string|null The documentName + */ + public function getDocumentName() + { + if (array_key_exists("documentName", $this->_propDict)) { + return $this->_propDict["documentName"]; + } else { + return null; + } + } + + /** + * Sets the documentName + * The document's name. + * + * @param string $val The value of the documentName + * + * @return PrintDocumentUploadProperties + */ + public function setDocumentName($val) + { + $this->_propDict["documentName"] = $val; + return $this; + } + /** + * Gets the size + * The document's size in bytes. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The document's size in bytes. + * + * @param int $val The value of the size + * + * @return PrintDocumentUploadProperties + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintDuplexMode.php b/vendor/microsoft/microsoft-graph/src/Model/PrintDuplexMode.php new file mode 100644 index 0000000..4008849 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintDuplexMode.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Microsoft\Graph\Model\PrintJobConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new PrintJobConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * A group of settings that a printer should use to print a job. + * + * @param PrintJobConfiguration $val The configuration + * + * @return PrintJob + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Read-only. Nullable. + * + * @return UserIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\UserIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new UserIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Read-only. Nullable. + * + * @param UserIdentity $val The createdBy + * + * @return PrintJob + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The DateTimeOffset when the job was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The DateTimeOffset when the job was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return PrintJob + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the isFetchable + * If true, document can be fetched by printer. + * + * @return bool|null The isFetchable + */ + public function getIsFetchable() + { + if (array_key_exists("isFetchable", $this->_propDict)) { + return $this->_propDict["isFetchable"]; + } else { + return null; + } + } + + /** + * Sets the isFetchable + * If true, document can be fetched by printer. + * + * @param bool $val The isFetchable + * + * @return PrintJob + */ + public function setIsFetchable($val) + { + $this->_propDict["isFetchable"] = boolval($val); + return $this; + } + + /** + * Gets the redirectedFrom + * Contains the source job URL, if the job has been redirected from another printer. + * + * @return string|null The redirectedFrom + */ + public function getRedirectedFrom() + { + if (array_key_exists("redirectedFrom", $this->_propDict)) { + return $this->_propDict["redirectedFrom"]; + } else { + return null; + } + } + + /** + * Sets the redirectedFrom + * Contains the source job URL, if the job has been redirected from another printer. + * + * @param string $val The redirectedFrom + * + * @return PrintJob + */ + public function setRedirectedFrom($val) + { + $this->_propDict["redirectedFrom"] = $val; + return $this; + } + + /** + * Gets the redirectedTo + * Contains the destination job URL, if the job has been redirected to another printer. + * + * @return string|null The redirectedTo + */ + public function getRedirectedTo() + { + if (array_key_exists("redirectedTo", $this->_propDict)) { + return $this->_propDict["redirectedTo"]; + } else { + return null; + } + } + + /** + * Sets the redirectedTo + * Contains the destination job URL, if the job has been redirected to another printer. + * + * @param string $val The redirectedTo + * + * @return PrintJob + */ + public function setRedirectedTo($val) + { + $this->_propDict["redirectedTo"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the print job. Read-only. + * + * @return PrintJobStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintJobStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrintJobStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the print job. Read-only. + * + * @param PrintJobStatus $val The status + * + * @return PrintJob + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the documents + * Read-only. + * + * @return array|null The documents + */ + public function getDocuments() + { + if (array_key_exists("documents", $this->_propDict)) { + return $this->_propDict["documents"]; + } else { + return null; + } + } + + /** + * Sets the documents + * Read-only. + * + * @param PrintDocument[] $val The documents + * + * @return PrintJob + */ + public function setDocuments($val) + { + $this->_propDict["documents"] = $val; + return $this; + } + + + /** + * Gets the tasks + * A list of printTasks that were triggered by this print job. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * A list of printTasks that were triggered by this print job. + * + * @param PrintTask[] $val The tasks + * + * @return PrintJob + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintJobConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/PrintJobConfiguration.php new file mode 100644 index 0000000..7601b45 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintJobConfiguration.php @@ -0,0 +1,606 @@ +_propDict)) { + return $this->_propDict["collate"]; + } else { + return null; + } + } + + /** + * Sets the collate + * Whether the printer should collate pages wehen printing multiple copies of a multi-page document. + * + * @param bool $val The value of the collate + * + * @return PrintJobConfiguration + */ + public function setCollate($val) + { + $this->_propDict["collate"] = $val; + return $this; + } + + /** + * Gets the colorMode + * The color mode the printer should use to print the job. Valid values are described in the table below. Read-only. + * + * @return PrintColorMode|null The colorMode + */ + public function getColorMode() + { + if (array_key_exists("colorMode", $this->_propDict)) { + if (is_a($this->_propDict["colorMode"], "\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorMode"])) { + return $this->_propDict["colorMode"]; + } else { + $this->_propDict["colorMode"] = new PrintColorMode($this->_propDict["colorMode"]); + return $this->_propDict["colorMode"]; + } + } + return null; + } + + /** + * Sets the colorMode + * The color mode the printer should use to print the job. Valid values are described in the table below. Read-only. + * + * @param PrintColorMode $val The value to assign to the colorMode + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setColorMode($val) + { + $this->_propDict["colorMode"] = $val; + return $this; + } + /** + * Gets the copies + * The number of copies that should be printed. Read-only. + * + * @return int|null The copies + */ + public function getCopies() + { + if (array_key_exists("copies", $this->_propDict)) { + return $this->_propDict["copies"]; + } else { + return null; + } + } + + /** + * Sets the copies + * The number of copies that should be printed. Read-only. + * + * @param int $val The value of the copies + * + * @return PrintJobConfiguration + */ + public function setCopies($val) + { + $this->_propDict["copies"] = $val; + return $this; + } + /** + * Gets the dpi + * The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only. + * + * @return int|null The dpi + */ + public function getDpi() + { + if (array_key_exists("dpi", $this->_propDict)) { + return $this->_propDict["dpi"]; + } else { + return null; + } + } + + /** + * Sets the dpi + * The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only. + * + * @param int $val The value of the dpi + * + * @return PrintJobConfiguration + */ + public function setDpi($val) + { + $this->_propDict["dpi"] = $val; + return $this; + } + + /** + * Gets the duplexMode + * The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only. + * + * @return PrintDuplexMode|null The duplexMode + */ + public function getDuplexMode() + { + if (array_key_exists("duplexMode", $this->_propDict)) { + if (is_a($this->_propDict["duplexMode"], "\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexMode"])) { + return $this->_propDict["duplexMode"]; + } else { + $this->_propDict["duplexMode"] = new PrintDuplexMode($this->_propDict["duplexMode"]); + return $this->_propDict["duplexMode"]; + } + } + return null; + } + + /** + * Sets the duplexMode + * The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only. + * + * @param PrintDuplexMode $val The value to assign to the duplexMode + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setDuplexMode($val) + { + $this->_propDict["duplexMode"] = $val; + return $this; + } + + /** + * Gets the feedOrientation + * The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only. + * + * @return PrinterFeedOrientation|null The feedOrientation + */ + public function getFeedOrientation() + { + if (array_key_exists("feedOrientation", $this->_propDict)) { + if (is_a($this->_propDict["feedOrientation"], "\Microsoft\Graph\Model\PrinterFeedOrientation") || is_null($this->_propDict["feedOrientation"])) { + return $this->_propDict["feedOrientation"]; + } else { + $this->_propDict["feedOrientation"] = new PrinterFeedOrientation($this->_propDict["feedOrientation"]); + return $this->_propDict["feedOrientation"]; + } + } + return null; + } + + /** + * Sets the feedOrientation + * The orientation to use when feeding media into the printer. Valid values are described in the following table. Read-only. + * + * @param PrinterFeedOrientation $val The value to assign to the feedOrientation + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setFeedOrientation($val) + { + $this->_propDict["feedOrientation"] = $val; + return $this; + } + + /** + * Gets the finishings + * Finishing processes to use when printing. + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * Finishing processes to use when printing. + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the fitPdfToPage + * + * @return bool|null The fitPdfToPage + */ + public function getFitPdfToPage() + { + if (array_key_exists("fitPdfToPage", $this->_propDict)) { + return $this->_propDict["fitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the fitPdfToPage + * + * @param bool $val The value of the fitPdfToPage + * + * @return PrintJobConfiguration + */ + public function setFitPdfToPage($val) + { + $this->_propDict["fitPdfToPage"] = $val; + return $this; + } + /** + * Gets the inputBin + * The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins. + * + * @return string|null The inputBin + */ + public function getInputBin() + { + if (array_key_exists("inputBin", $this->_propDict)) { + return $this->_propDict["inputBin"]; + } else { + return null; + } + } + + /** + * Sets the inputBin + * The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins. + * + * @param string $val The value of the inputBin + * + * @return PrintJobConfiguration + */ + public function setInputBin($val) + { + $this->_propDict["inputBin"] = $val; + return $this; + } + + /** + * Gets the margin + * The margin settings to use when printing. + * + * @return PrintMargin|null The margin + */ + public function getMargin() + { + if (array_key_exists("margin", $this->_propDict)) { + if (is_a($this->_propDict["margin"], "\Microsoft\Graph\Model\PrintMargin") || is_null($this->_propDict["margin"])) { + return $this->_propDict["margin"]; + } else { + $this->_propDict["margin"] = new PrintMargin($this->_propDict["margin"]); + return $this->_propDict["margin"]; + } + } + return null; + } + + /** + * Sets the margin + * The margin settings to use when printing. + * + * @param PrintMargin $val The value to assign to the margin + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setMargin($val) + { + $this->_propDict["margin"] = $val; + return $this; + } + /** + * Gets the mediaSize + * The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @return string|null The mediaSize + */ + public function getMediaSize() + { + if (array_key_exists("mediaSize", $this->_propDict)) { + return $this->_propDict["mediaSize"]; + } else { + return null; + } + } + + /** + * Sets the mediaSize + * The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @param string $val The value of the mediaSize + * + * @return PrintJobConfiguration + */ + public function setMediaSize($val) + { + $this->_propDict["mediaSize"] = $val; + return $this; + } + /** + * Gets the mediaType + * The default media (such as paper) type to print the document on. + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * The default media (such as paper) type to print the document on. + * + * @param string $val The value of the mediaType + * + * @return PrintJobConfiguration + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + + /** + * Gets the multipageLayout + * The direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @return PrintMultipageLayout|null The multipageLayout + */ + public function getMultipageLayout() + { + if (array_key_exists("multipageLayout", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayout"], "\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayout"])) { + return $this->_propDict["multipageLayout"]; + } else { + $this->_propDict["multipageLayout"] = new PrintMultipageLayout($this->_propDict["multipageLayout"]); + return $this->_propDict["multipageLayout"]; + } + } + return null; + } + + /** + * Sets the multipageLayout + * The direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayout + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setMultipageLayout($val) + { + $this->_propDict["multipageLayout"] = $val; + return $this; + } + + /** + * Gets the orientation + * The orientation setting the printer should use when printing the job. Valid values are described in the following table. + * + * @return PrintOrientation|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + if (is_a($this->_propDict["orientation"], "\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientation"])) { + return $this->_propDict["orientation"]; + } else { + $this->_propDict["orientation"] = new PrintOrientation($this->_propDict["orientation"]); + return $this->_propDict["orientation"]; + } + } + return null; + } + + /** + * Sets the orientation + * The orientation setting the printer should use when printing the job. Valid values are described in the following table. + * + * @param PrintOrientation $val The value to assign to the orientation + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + /** + * Gets the outputBin + * The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @return string|null The outputBin + */ + public function getOutputBin() + { + if (array_key_exists("outputBin", $this->_propDict)) { + return $this->_propDict["outputBin"]; + } else { + return null; + } + } + + /** + * Sets the outputBin + * The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @param string $val The value of the outputBin + * + * @return PrintJobConfiguration + */ + public function setOutputBin($val) + { + $this->_propDict["outputBin"] = $val; + return $this; + } + + /** + * Gets the pageRanges + * The page ranges to print. Read-only. + * + * @return IntegerRange|null The pageRanges + */ + public function getPageRanges() + { + if (array_key_exists("pageRanges", $this->_propDict)) { + if (is_a($this->_propDict["pageRanges"], "\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["pageRanges"])) { + return $this->_propDict["pageRanges"]; + } else { + $this->_propDict["pageRanges"] = new IntegerRange($this->_propDict["pageRanges"]); + return $this->_propDict["pageRanges"]; + } + } + return null; + } + + /** + * Sets the pageRanges + * The page ranges to print. Read-only. + * + * @param IntegerRange $val The value to assign to the pageRanges + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setPageRanges($val) + { + $this->_propDict["pageRanges"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * The number of document pages to print on each sheet. + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * The number of document pages to print on each sheet. + * + * @param int $val The value of the pagesPerSheet + * + * @return PrintJobConfiguration + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the quality + * The print quality to use when printing the job. Valid values are described in the table below. Read-only. + * + * @return PrintQuality|null The quality + */ + public function getQuality() + { + if (array_key_exists("quality", $this->_propDict)) { + if (is_a($this->_propDict["quality"], "\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["quality"])) { + return $this->_propDict["quality"]; + } else { + $this->_propDict["quality"] = new PrintQuality($this->_propDict["quality"]); + return $this->_propDict["quality"]; + } + } + return null; + } + + /** + * Sets the quality + * The print quality to use when printing the job. Valid values are described in the table below. Read-only. + * + * @param PrintQuality $val The value to assign to the quality + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setQuality($val) + { + $this->_propDict["quality"] = $val; + return $this; + } + + /** + * Gets the scaling + * Specifies how the printer should scale the document data to fit the requested media. Valid values are described in the following table. + * + * @return PrintScaling|null The scaling + */ + public function getScaling() + { + if (array_key_exists("scaling", $this->_propDict)) { + if (is_a($this->_propDict["scaling"], "\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scaling"])) { + return $this->_propDict["scaling"]; + } else { + $this->_propDict["scaling"] = new PrintScaling($this->_propDict["scaling"]); + return $this->_propDict["scaling"]; + } + } + return null; + } + + /** + * Sets the scaling + * Specifies how the printer should scale the document data to fit the requested media. Valid values are described in the following table. + * + * @param PrintScaling $val The value to assign to the scaling + * + * @return PrintJobConfiguration The PrintJobConfiguration + */ + public function setScaling($val) + { + $this->_propDict["scaling"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintJobProcessingState.php b/vendor/microsoft/microsoft-graph/src/Model/PrintJobProcessingState.php new file mode 100644 index 0000000..e60b8e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintJobProcessingState.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the print job's current processing state. Read-only. + * + * @param string $val The value of the description + * + * @return PrintJobStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the details + * Additional details for print job state. Valid values are described in the following table. Read-only. + * + * @return PrintJobStateDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PrintJobStateDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PrintJobStateDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Additional details for print job state. Valid values are described in the following table. Read-only. + * + * @param PrintJobStateDetail $val The value to assign to the details + * + * @return PrintJobStatus The PrintJobStatus + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the isAcquiredByPrinter + * True if the job was acknowledged by a printer; false otherwise. Read-only. + * + * @return bool|null The isAcquiredByPrinter + */ + public function getIsAcquiredByPrinter() + { + if (array_key_exists("isAcquiredByPrinter", $this->_propDict)) { + return $this->_propDict["isAcquiredByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the isAcquiredByPrinter + * True if the job was acknowledged by a printer; false otherwise. Read-only. + * + * @param bool $val The value of the isAcquiredByPrinter + * + * @return PrintJobStatus + */ + public function setIsAcquiredByPrinter($val) + { + $this->_propDict["isAcquiredByPrinter"] = $val; + return $this; + } + + /** + * Gets the state + * The print job's current processing state. Valid values are described in the following table. Read-only. + * + * @return PrintJobProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrintJobProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrintJobProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The print job's current processing state. Valid values are described in the following table. Read-only. + * + * @param PrintJobProcessingState $val The value to assign to the state + * + * @return PrintJobStatus The PrintJobStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintMargin.php b/vendor/microsoft/microsoft-graph/src/Model/PrintMargin.php new file mode 100644 index 0000000..bae24a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintMargin.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["bottom"]; + } else { + return null; + } + } + + /** + * Sets the bottom + * The margin in microns from the bottom edge. + * + * @param int $val The value of the bottom + * + * @return PrintMargin + */ + public function setBottom($val) + { + $this->_propDict["bottom"] = $val; + return $this; + } + /** + * Gets the left + * The margin in microns from the left edge. + * + * @return int|null The left + */ + public function getLeft() + { + if (array_key_exists("left", $this->_propDict)) { + return $this->_propDict["left"]; + } else { + return null; + } + } + + /** + * Sets the left + * The margin in microns from the left edge. + * + * @param int $val The value of the left + * + * @return PrintMargin + */ + public function setLeft($val) + { + $this->_propDict["left"] = $val; + return $this; + } + /** + * Gets the right + * The margin in microns from the right edge. + * + * @return int|null The right + */ + public function getRight() + { + if (array_key_exists("right", $this->_propDict)) { + return $this->_propDict["right"]; + } else { + return null; + } + } + + /** + * Sets the right + * The margin in microns from the right edge. + * + * @param int $val The value of the right + * + * @return PrintMargin + */ + public function setRight($val) + { + $this->_propDict["right"] = $val; + return $this; + } + /** + * Gets the top + * The margin in microns from the top edge. + * + * @return int|null The top + */ + public function getTop() + { + if (array_key_exists("top", $this->_propDict)) { + return $this->_propDict["top"]; + } else { + return null; + } + } + + /** + * Sets the top + * The margin in microns from the top edge. + * + * @param int $val The value of the top + * + * @return PrintMargin + */ + public function setTop($val) + { + $this->_propDict["top"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintMultipageLayout.php b/vendor/microsoft/microsoft-graph/src/Model/PrintMultipageLayout.php new file mode 100644 index 0000000..cbe6f26 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintMultipageLayout.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The DateTimeOffset when the operation was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return PrintOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the operation. Read-only. + * + * @return PrintOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrintOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the operation. Read-only. + * + * @param PrintOperationStatus $val The status + * + * @return PrintOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintOperationProcessingState.php b/vendor/microsoft/microsoft-graph/src/Model/PrintOperationProcessingState.php new file mode 100644 index 0000000..e0447a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintOperationProcessingState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the printOperation's current processing state. Read-only. + * + * @param string $val The value of the description + * + * @return PrintOperationStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the state + * The printOperation's current processing state. Valid values are described in the following table. Read-only. + * + * @return PrintOperationProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrintOperationProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrintOperationProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The printOperation's current processing state. Valid values are described in the following table. Read-only. + * + * @param PrintOperationProcessingState $val The value to assign to the state + * + * @return PrintOperationStatus The PrintOperationStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintOrientation.php b/vendor/microsoft/microsoft-graph/src/Model/PrintOrientation.php new file mode 100644 index 0000000..3ab3466 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintOrientation.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["endpoints"]; + } else { + return null; + } + } + + /** + * Sets the endpoints + * Endpoints that can be used to access the service. Read-only. Nullable. + * + * @param PrintServiceEndpoint[] $val The endpoints + * + * @return PrintService + */ + public function setEndpoints($val) + { + $this->_propDict["endpoints"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintServiceEndpoint.php b/vendor/microsoft/microsoft-graph/src/Model/PrintServiceEndpoint.php new file mode 100644 index 0000000..4333cf0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintServiceEndpoint.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * A human-readable display name for the endpoint. + * + * @param string $val The displayName + * + * @return PrintServiceEndpoint + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the uri + * The URI that can be used to access the service. + * + * @return string|null The uri + */ + public function getUri() + { + if (array_key_exists("uri", $this->_propDict)) { + return $this->_propDict["uri"]; + } else { + return null; + } + } + + /** + * Sets the uri + * The URI that can be used to access the service. + * + * @param string $val The uri + * + * @return PrintServiceEndpoint + */ + public function setUri($val) + { + $this->_propDict["uri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintSettings.php b/vendor/microsoft/microsoft-graph/src/Model/PrintSettings.php new file mode 100644 index 0000000..90a875a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["documentConversionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the documentConversionEnabled + * Specifies whether document conversion is enabled for the tenant. If document conversion is enabled, Universal Print service will automatically convert documents into a format compatible with the printer (xps to pdf) when needed. + * + * @param bool $val The value of the documentConversionEnabled + * + * @return PrintSettings + */ + public function setDocumentConversionEnabled($val) + { + $this->_propDict["documentConversionEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintTask.php b/vendor/microsoft/microsoft-graph/src/Model/PrintTask.php new file mode 100644 index 0000000..1f8b0d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintTask.php @@ -0,0 +1,155 @@ +_propDict)) { + return $this->_propDict["parentUrl"]; + } else { + return null; + } + } + + /** + * Sets the parentUrl + * The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/beta/print/printers/{printerId}/jobs/{jobId}. Read-only. + * + * @param string $val The parentUrl + * + * @return PrintTask + */ + public function setParentUrl($val) + { + $this->_propDict["parentUrl"] = $val; + return $this; + } + + /** + * Gets the status + * The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted. + * + * @return PrintTaskStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintTaskStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrintTaskStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted. + * + * @param PrintTaskStatus $val The status + * + * @return PrintTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the definition + * The printTaskDefinition that was used to create this task. Read-only. + * + * @return PrintTaskDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Microsoft\Graph\Model\PrintTaskDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new PrintTaskDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * The printTaskDefinition that was used to create this task. Read-only. + * + * @param PrintTaskDefinition $val The definition + * + * @return PrintTask + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + /** + * Gets the trigger + * The printTaskTrigger that triggered this task's execution. Read-only. + * + * @return PrintTaskTrigger|null The trigger + */ + public function getTrigger() + { + if (array_key_exists("trigger", $this->_propDict)) { + if (is_a($this->_propDict["trigger"], "\Microsoft\Graph\Model\PrintTaskTrigger") || is_null($this->_propDict["trigger"])) { + return $this->_propDict["trigger"]; + } else { + $this->_propDict["trigger"] = new PrintTaskTrigger($this->_propDict["trigger"]); + return $this->_propDict["trigger"]; + } + } + return null; + } + + /** + * Sets the trigger + * The printTaskTrigger that triggered this task's execution. Read-only. + * + * @param PrintTaskTrigger $val The trigger + * + * @return PrintTask + */ + public function setTrigger($val) + { + $this->_propDict["trigger"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintTaskDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/PrintTaskDefinition.php new file mode 100644 index 0000000..534980e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintTaskDefinition.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\AppIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new AppIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The application that created the printTaskDefinition. Read-only. + * + * @param AppIdentity $val The createdBy + * + * @return PrintTaskDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the printTaskDefinition. + * + * @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 + * The name of the printTaskDefinition. + * + * @param string $val The displayName + * + * @return PrintTaskDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the tasks + * A list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * A list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. + * + * @param PrintTask[] $val The tasks + * + * @return PrintTaskDefinition + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintTaskProcessingState.php b/vendor/microsoft/microsoft-graph/src/Model/PrintTaskProcessingState.php new file mode 100644 index 0000000..c8ff0ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintTaskProcessingState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the current processing state of the printTask. + * + * @param string $val The value of the description + * + * @return PrintTaskStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the state + * The current processing state of the printTask. Valid values are described in the following table. + * + * @return PrintTaskProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrintTaskProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrintTaskProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The current processing state of the printTask. Valid values are described in the following table. + * + * @param PrintTaskProcessingState $val The value to assign to the state + * + * @return PrintTaskStatus The PrintTaskStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintTaskTrigger.php b/vendor/microsoft/microsoft-graph/src/Model/PrintTaskTrigger.php new file mode 100644 index 0000000..8ed4691 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintTaskTrigger.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["event"], "\Microsoft\Graph\Model\PrintEvent") || is_null($this->_propDict["event"])) { + return $this->_propDict["event"]; + } else { + $this->_propDict["event"] = new PrintEvent($this->_propDict["event"]); + return $this->_propDict["event"]; + } + } + return null; + } + + /** + * Sets the event + * The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following table. + * + * @param PrintEvent $val The event + * + * @return PrintTaskTrigger + */ + public function setEvent($val) + { + $this->_propDict["event"] = $val; + return $this; + } + + /** + * Gets the definition + * An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + * + * @return PrintTaskDefinition|null The definition + */ + public function getDefinition() + { + if (array_key_exists("definition", $this->_propDict)) { + if (is_a($this->_propDict["definition"], "\Microsoft\Graph\Model\PrintTaskDefinition") || is_null($this->_propDict["definition"])) { + return $this->_propDict["definition"]; + } else { + $this->_propDict["definition"] = new PrintTaskDefinition($this->_propDict["definition"]); + return $this->_propDict["definition"]; + } + } + return null; + } + + /** + * Sets the definition + * An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + * + * @param PrintTaskDefinition $val The definition + * + * @return PrintTaskTrigger + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintUsage.php b/vendor/microsoft/microsoft-graph/src/Model/PrintUsage.php new file mode 100644 index 0000000..b2f0943 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintUsage.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["completedBlackAndWhiteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedBlackAndWhiteJobCount + * + * @param int $val The completedBlackAndWhiteJobCount + * + * @return PrintUsage + */ + public function setCompletedBlackAndWhiteJobCount($val) + { + $this->_propDict["completedBlackAndWhiteJobCount"] = intval($val); + return $this; + } + + /** + * Gets the completedColorJobCount + * + * @return int|null The completedColorJobCount + */ + public function getCompletedColorJobCount() + { + if (array_key_exists("completedColorJobCount", $this->_propDict)) { + return $this->_propDict["completedColorJobCount"]; + } else { + return null; + } + } + + /** + * Sets the completedColorJobCount + * + * @param int $val The completedColorJobCount + * + * @return PrintUsage + */ + public function setCompletedColorJobCount($val) + { + $this->_propDict["completedColorJobCount"] = intval($val); + return $this; + } + + /** + * Gets the incompleteJobCount + * + * @return int|null The incompleteJobCount + */ + public function getIncompleteJobCount() + { + if (array_key_exists("incompleteJobCount", $this->_propDict)) { + return $this->_propDict["incompleteJobCount"]; + } else { + return null; + } + } + + /** + * Sets the incompleteJobCount + * + * @param int $val The incompleteJobCount + * + * @return PrintUsage + */ + public function setIncompleteJobCount($val) + { + $this->_propDict["incompleteJobCount"] = intval($val); + return $this; + } + + /** + * Gets the usageDate + * + * @return \DateTime|null The usageDate + */ + public function getUsageDate() + { + if (array_key_exists("usageDate", $this->_propDict)) { + if (is_a($this->_propDict["usageDate"], "\DateTime") || is_null($this->_propDict["usageDate"])) { + return $this->_propDict["usageDate"]; + } else { + $this->_propDict["usageDate"] = new \DateTime($this->_propDict["usageDate"]); + return $this->_propDict["usageDate"]; + } + } + return null; + } + + /** + * Sets the usageDate + * + * @param \DateTime $val The usageDate + * + * @return PrintUsage + */ + public function setUsageDate($val) + { + $this->_propDict["usageDate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByPrinter.php b/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByPrinter.php new file mode 100644 index 0000000..10b48bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByPrinter.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["printerId"]; + } else { + return null; + } + } + + /** + * Sets the printerId + * + * @param string $val The printerId + * + * @return PrintUsageByPrinter + */ + public function setPrinterId($val) + { + $this->_propDict["printerId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByUser.php b/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByUser.php new file mode 100644 index 0000000..a2c5f5e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByUser.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * The UPN of the user represented by these statistics. + * + * @param string $val The userPrincipalName + * + * @return PrintUsageByUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Printer.php b/vendor/microsoft/microsoft-graph/src/Model/Printer.php new file mode 100644 index 0000000..eda32ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Printer.php @@ -0,0 +1,241 @@ +_propDict)) { + return $this->_propDict["hasPhysicalDevice"]; + } else { + return null; + } + } + + /** + * Sets the hasPhysicalDevice + * True if the printer has a physical device for printing. Read-only. + * + * @param bool $val The hasPhysicalDevice + * + * @return Printer + */ + public function setHasPhysicalDevice($val) + { + $this->_propDict["hasPhysicalDevice"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * True if the printer is shared; false otherwise. Read-only. + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * True if the printer is shared; false otherwise. Read-only. + * + * @param bool $val The isShared + * + * @return Printer + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the lastSeenDateTime + * The most recent dateTimeOffset when a printer interacted with Universal Print. Read-only. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The most recent dateTimeOffset when a printer interacted with Universal Print. Read-only. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return Printer + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the registeredDateTime + * The DateTimeOffset when the printer was registered. Read-only. + * + * @return \DateTime|null The registeredDateTime + */ + public function getRegisteredDateTime() + { + if (array_key_exists("registeredDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registeredDateTime"], "\DateTime") || is_null($this->_propDict["registeredDateTime"])) { + return $this->_propDict["registeredDateTime"]; + } else { + $this->_propDict["registeredDateTime"] = new \DateTime($this->_propDict["registeredDateTime"]); + return $this->_propDict["registeredDateTime"]; + } + } + return null; + } + + /** + * Sets the registeredDateTime + * The DateTimeOffset when the printer was registered. Read-only. + * + * @param \DateTime $val The registeredDateTime + * + * @return Printer + */ + public function setRegisteredDateTime($val) + { + $this->_propDict["registeredDateTime"] = $val; + return $this; + } + + + /** + * Gets the connectors + * The connectors that are associated with the printer. + * + * @return array|null The connectors + */ + public function getConnectors() + { + if (array_key_exists("connectors", $this->_propDict)) { + return $this->_propDict["connectors"]; + } else { + return null; + } + } + + /** + * Sets the connectors + * The connectors that are associated with the printer. + * + * @param PrintConnector[] $val The connectors + * + * @return Printer + */ + public function setConnectors($val) + { + $this->_propDict["connectors"] = $val; + return $this; + } + + + /** + * Gets the shares + * The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with the printer. Read-only. Nullable. + * + * @return array|null The shares + */ + public function getShares() + { + if (array_key_exists("shares", $this->_propDict)) { + return $this->_propDict["shares"]; + } else { + return null; + } + } + + /** + * Sets the shares + * The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with the printer. Read-only. Nullable. + * + * @param PrinterShare[] $val The shares + * + * @return Printer + */ + public function setShares($val) + { + $this->_propDict["shares"] = $val; + return $this; + } + + + /** + * Gets the taskTriggers + * A list of task triggers that are associated with the printer. + * + * @return array|null The taskTriggers + */ + public function getTaskTriggers() + { + if (array_key_exists("taskTriggers", $this->_propDict)) { + return $this->_propDict["taskTriggers"]; + } else { + return null; + } + } + + /** + * Sets the taskTriggers + * A list of task triggers that are associated with the printer. + * + * @param PrintTaskTrigger[] $val The taskTriggers + * + * @return Printer + */ + public function setTaskTriggers($val) + { + $this->_propDict["taskTriggers"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterBase.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterBase.php new file mode 100644 index 0000000..d496b8a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterBase.php @@ -0,0 +1,305 @@ +_propDict)) { + if (is_a($this->_propDict["capabilities"], "\Microsoft\Graph\Model\PrinterCapabilities") || is_null($this->_propDict["capabilities"])) { + return $this->_propDict["capabilities"]; + } else { + $this->_propDict["capabilities"] = new PrinterCapabilities($this->_propDict["capabilities"]); + return $this->_propDict["capabilities"]; + } + } + return null; + } + + /** + * Sets the capabilities + * The capabilities of the printer/printerShare. + * + * @param PrinterCapabilities $val The capabilities + * + * @return PrinterBase + */ + public function setCapabilities($val) + { + $this->_propDict["capabilities"] = $val; + return $this; + } + + /** + * Gets the defaults + * The default print settings of printer/printerShare. + * + * @return PrinterDefaults|null The defaults + */ + public function getDefaults() + { + if (array_key_exists("defaults", $this->_propDict)) { + if (is_a($this->_propDict["defaults"], "\Microsoft\Graph\Model\PrinterDefaults") || is_null($this->_propDict["defaults"])) { + return $this->_propDict["defaults"]; + } else { + $this->_propDict["defaults"] = new PrinterDefaults($this->_propDict["defaults"]); + return $this->_propDict["defaults"]; + } + } + return null; + } + + /** + * Sets the defaults + * The default print settings of printer/printerShare. + * + * @param PrinterDefaults $val The defaults + * + * @return PrinterBase + */ + public function setDefaults($val) + { + $this->_propDict["defaults"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the printer/printerShare. + * + * @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 + * The name of the printer/printerShare. + * + * @param string $val The displayName + * + * @return PrinterBase + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isAcceptingJobs + * Whether the printer/printerShare is currently accepting new print jobs. + * + * @return bool|null The isAcceptingJobs + */ + public function getIsAcceptingJobs() + { + if (array_key_exists("isAcceptingJobs", $this->_propDict)) { + return $this->_propDict["isAcceptingJobs"]; + } else { + return null; + } + } + + /** + * Sets the isAcceptingJobs + * Whether the printer/printerShare is currently accepting new print jobs. + * + * @param bool $val The isAcceptingJobs + * + * @return PrinterBase + */ + public function setIsAcceptingJobs($val) + { + $this->_propDict["isAcceptingJobs"] = boolval($val); + return $this; + } + + /** + * Gets the location + * The physical and/or organizational location of the printer/printerShare. + * + * @return PrinterLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\PrinterLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new PrinterLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * The physical and/or organizational location of the printer/printerShare. + * + * @param PrinterLocation $val The location + * + * @return PrinterBase + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * The manufacturer of the printer/printerShare. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * The manufacturer of the printer/printerShare. + * + * @param string $val The manufacturer + * + * @return PrinterBase + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * The model name of the printer/printerShare. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * The model name of the printer/printerShare. + * + * @param string $val The model + * + * @return PrinterBase + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the status + * The processing status of the printer/printerShare, including any errors. + * + * @return PrinterStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrinterStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new PrinterStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The processing status of the printer/printerShare, including any errors. + * + * @param PrinterStatus $val The status + * + * @return PrinterBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the jobs + * The list of jobs that are queued for printing by the printer/printerShare. + * + * @return array|null The jobs + */ + public function getJobs() + { + if (array_key_exists("jobs", $this->_propDict)) { + return $this->_propDict["jobs"]; + } else { + return null; + } + } + + /** + * Sets the jobs + * The list of jobs that are queued for printing by the printer/printerShare. + * + * @param PrintJob[] $val The jobs + * + * @return PrinterBase + */ + public function setJobs($val) + { + $this->_propDict["jobs"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterCapabilities.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterCapabilities.php new file mode 100644 index 0000000..f20c9e2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterCapabilities.php @@ -0,0 +1,771 @@ +_propDict)) { + return $this->_propDict["bottomMargins"]; + } else { + return null; + } + } + + /** + * Sets the bottomMargins + * A list of supported bottom margins(in microns) for the printer. + * + * @param int $val The value of the bottomMargins + * + * @return PrinterCapabilities + */ + public function setBottomMargins($val) + { + $this->_propDict["bottomMargins"] = $val; + return $this; + } + /** + * Gets the collation + * True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise. + * + * @return bool|null The collation + */ + public function getCollation() + { + if (array_key_exists("collation", $this->_propDict)) { + return $this->_propDict["collation"]; + } else { + return null; + } + } + + /** + * Sets the collation + * True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise. + * + * @param bool $val The value of the collation + * + * @return PrinterCapabilities + */ + public function setCollation($val) + { + $this->_propDict["collation"] = $val; + return $this; + } + + /** + * Gets the colorModes + * The color modes supported by the printer. Valid values are described in the following table. + * + * @return PrintColorMode|null The colorModes + */ + public function getColorModes() + { + if (array_key_exists("colorModes", $this->_propDict)) { + if (is_a($this->_propDict["colorModes"], "\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorModes"])) { + return $this->_propDict["colorModes"]; + } else { + $this->_propDict["colorModes"] = new PrintColorMode($this->_propDict["colorModes"]); + return $this->_propDict["colorModes"]; + } + } + return null; + } + + /** + * Sets the colorModes + * The color modes supported by the printer. Valid values are described in the following table. + * + * @param PrintColorMode $val The value to assign to the colorModes + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setColorModes($val) + { + $this->_propDict["colorModes"] = $val; + return $this; + } + /** + * Gets the contentTypes + * A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print service supports printing all of these MIME types. + * + * @return string|null The contentTypes + */ + public function getContentTypes() + { + if (array_key_exists("contentTypes", $this->_propDict)) { + return $this->_propDict["contentTypes"]; + } else { + return null; + } + } + + /** + * Sets the contentTypes + * A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print service supports printing all of these MIME types. + * + * @param string $val The value of the contentTypes + * + * @return PrinterCapabilities + */ + public function setContentTypes($val) + { + $this->_propDict["contentTypes"] = $val; + return $this; + } + + /** + * Gets the copiesPerJob + * The range of copies per job supported by the printer. + * + * @return IntegerRange|null The copiesPerJob + */ + public function getCopiesPerJob() + { + if (array_key_exists("copiesPerJob", $this->_propDict)) { + if (is_a($this->_propDict["copiesPerJob"], "\Microsoft\Graph\Model\IntegerRange") || is_null($this->_propDict["copiesPerJob"])) { + return $this->_propDict["copiesPerJob"]; + } else { + $this->_propDict["copiesPerJob"] = new IntegerRange($this->_propDict["copiesPerJob"]); + return $this->_propDict["copiesPerJob"]; + } + } + return null; + } + + /** + * Sets the copiesPerJob + * The range of copies per job supported by the printer. + * + * @param IntegerRange $val The value to assign to the copiesPerJob + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setCopiesPerJob($val) + { + $this->_propDict["copiesPerJob"] = $val; + return $this; + } + /** + * Gets the dpis + * The list of print resolutions in DPI that are supported by the printer. + * + * @return int|null The dpis + */ + public function getDpis() + { + if (array_key_exists("dpis", $this->_propDict)) { + return $this->_propDict["dpis"]; + } else { + return null; + } + } + + /** + * Sets the dpis + * The list of print resolutions in DPI that are supported by the printer. + * + * @param int $val The value of the dpis + * + * @return PrinterCapabilities + */ + public function setDpis($val) + { + $this->_propDict["dpis"] = $val; + return $this; + } + + /** + * Gets the duplexModes + * The list of duplex modes that are supported by the printer. Valid values are described in the following table. + * + * @return PrintDuplexMode|null The duplexModes + */ + public function getDuplexModes() + { + if (array_key_exists("duplexModes", $this->_propDict)) { + if (is_a($this->_propDict["duplexModes"], "\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexModes"])) { + return $this->_propDict["duplexModes"]; + } else { + $this->_propDict["duplexModes"] = new PrintDuplexMode($this->_propDict["duplexModes"]); + return $this->_propDict["duplexModes"]; + } + } + return null; + } + + /** + * Sets the duplexModes + * The list of duplex modes that are supported by the printer. Valid values are described in the following table. + * + * @param PrintDuplexMode $val The value to assign to the duplexModes + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setDuplexModes($val) + { + $this->_propDict["duplexModes"] = $val; + return $this; + } + + /** + * Gets the feedOrientations + * The list of feed orientations that are supported by the printer. + * + * @return PrinterFeedOrientation|null The feedOrientations + */ + public function getFeedOrientations() + { + if (array_key_exists("feedOrientations", $this->_propDict)) { + if (is_a($this->_propDict["feedOrientations"], "\Microsoft\Graph\Model\PrinterFeedOrientation") || is_null($this->_propDict["feedOrientations"])) { + return $this->_propDict["feedOrientations"]; + } else { + $this->_propDict["feedOrientations"] = new PrinterFeedOrientation($this->_propDict["feedOrientations"]); + return $this->_propDict["feedOrientations"]; + } + } + return null; + } + + /** + * Sets the feedOrientations + * The list of feed orientations that are supported by the printer. + * + * @param PrinterFeedOrientation $val The value to assign to the feedOrientations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setFeedOrientations($val) + { + $this->_propDict["feedOrientations"] = $val; + return $this; + } + + /** + * Gets the finishings + * Finishing processes the printer supports for a printed document. + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * Finishing processes the printer supports for a printed document. + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the inputBins + * Supported input bins for the printer. + * + * @return string|null The inputBins + */ + public function getInputBins() + { + if (array_key_exists("inputBins", $this->_propDict)) { + return $this->_propDict["inputBins"]; + } else { + return null; + } + } + + /** + * Sets the inputBins + * Supported input bins for the printer. + * + * @param string $val The value of the inputBins + * + * @return PrinterCapabilities + */ + public function setInputBins($val) + { + $this->_propDict["inputBins"] = $val; + return $this; + } + /** + * Gets the isColorPrintingSupported + * True if color printing is supported by the printer; false otherwise. Read-only. + * + * @return bool|null The isColorPrintingSupported + */ + public function getIsColorPrintingSupported() + { + if (array_key_exists("isColorPrintingSupported", $this->_propDict)) { + return $this->_propDict["isColorPrintingSupported"]; + } else { + return null; + } + } + + /** + * Sets the isColorPrintingSupported + * True if color printing is supported by the printer; false otherwise. Read-only. + * + * @param bool $val The value of the isColorPrintingSupported + * + * @return PrinterCapabilities + */ + public function setIsColorPrintingSupported($val) + { + $this->_propDict["isColorPrintingSupported"] = $val; + return $this; + } + /** + * Gets the isPageRangeSupported + * True if the printer supports printing by page ranges; false otherwise. + * + * @return bool|null The isPageRangeSupported + */ + public function getIsPageRangeSupported() + { + if (array_key_exists("isPageRangeSupported", $this->_propDict)) { + return $this->_propDict["isPageRangeSupported"]; + } else { + return null; + } + } + + /** + * Sets the isPageRangeSupported + * True if the printer supports printing by page ranges; false otherwise. + * + * @param bool $val The value of the isPageRangeSupported + * + * @return PrinterCapabilities + */ + public function setIsPageRangeSupported($val) + { + $this->_propDict["isPageRangeSupported"] = $val; + return $this; + } + /** + * Gets the leftMargins + * A list of supported left margins(in microns) for the printer. + * + * @return int|null The leftMargins + */ + public function getLeftMargins() + { + if (array_key_exists("leftMargins", $this->_propDict)) { + return $this->_propDict["leftMargins"]; + } else { + return null; + } + } + + /** + * Sets the leftMargins + * A list of supported left margins(in microns) for the printer. + * + * @param int $val The value of the leftMargins + * + * @return PrinterCapabilities + */ + public function setLeftMargins($val) + { + $this->_propDict["leftMargins"] = $val; + return $this; + } + /** + * Gets the mediaColors + * The media (i.e., paper) colors supported by the printer. + * + * @return string|null The mediaColors + */ + public function getMediaColors() + { + if (array_key_exists("mediaColors", $this->_propDict)) { + return $this->_propDict["mediaColors"]; + } else { + return null; + } + } + + /** + * Sets the mediaColors + * The media (i.e., paper) colors supported by the printer. + * + * @param string $val The value of the mediaColors + * + * @return PrinterCapabilities + */ + public function setMediaColors($val) + { + $this->_propDict["mediaColors"] = $val; + return $this; + } + /** + * Gets the mediaSizes + * The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table. + * + * @return string|null The mediaSizes + */ + public function getMediaSizes() + { + if (array_key_exists("mediaSizes", $this->_propDict)) { + return $this->_propDict["mediaSizes"]; + } else { + return null; + } + } + + /** + * Sets the mediaSizes + * The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes. Valid values are in the following table. + * + * @param string $val The value of the mediaSizes + * + * @return PrinterCapabilities + */ + public function setMediaSizes($val) + { + $this->_propDict["mediaSizes"] = $val; + return $this; + } + /** + * Gets the mediaTypes + * The media types supported by the printer. + * + * @return string|null The mediaTypes + */ + public function getMediaTypes() + { + if (array_key_exists("mediaTypes", $this->_propDict)) { + return $this->_propDict["mediaTypes"]; + } else { + return null; + } + } + + /** + * Sets the mediaTypes + * The media types supported by the printer. + * + * @param string $val The value of the mediaTypes + * + * @return PrinterCapabilities + */ + public function setMediaTypes($val) + { + $this->_propDict["mediaTypes"] = $val; + return $this; + } + + /** + * Gets the multipageLayouts + * The presentation directions supported by the printer. Supported values are described in the following table. + * + * @return PrintMultipageLayout|null The multipageLayouts + */ + public function getMultipageLayouts() + { + if (array_key_exists("multipageLayouts", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayouts"], "\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayouts"])) { + return $this->_propDict["multipageLayouts"]; + } else { + $this->_propDict["multipageLayouts"] = new PrintMultipageLayout($this->_propDict["multipageLayouts"]); + return $this->_propDict["multipageLayouts"]; + } + } + return null; + } + + /** + * Sets the multipageLayouts + * The presentation directions supported by the printer. Supported values are described in the following table. + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayouts + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setMultipageLayouts($val) + { + $this->_propDict["multipageLayouts"] = $val; + return $this; + } + + /** + * Gets the orientations + * The print orientations supported by the printer. Valid values are described in the following table. + * + * @return PrintOrientation|null The orientations + */ + public function getOrientations() + { + if (array_key_exists("orientations", $this->_propDict)) { + if (is_a($this->_propDict["orientations"], "\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientations"])) { + return $this->_propDict["orientations"]; + } else { + $this->_propDict["orientations"] = new PrintOrientation($this->_propDict["orientations"]); + return $this->_propDict["orientations"]; + } + } + return null; + } + + /** + * Sets the orientations + * The print orientations supported by the printer. Valid values are described in the following table. + * + * @param PrintOrientation $val The value to assign to the orientations + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setOrientations($val) + { + $this->_propDict["orientations"] = $val; + return $this; + } + /** + * Gets the outputBins + * The printer's supported output bins (trays). + * + * @return string|null The outputBins + */ + public function getOutputBins() + { + if (array_key_exists("outputBins", $this->_propDict)) { + return $this->_propDict["outputBins"]; + } else { + return null; + } + } + + /** + * Sets the outputBins + * The printer's supported output bins (trays). + * + * @param string $val The value of the outputBins + * + * @return PrinterCapabilities + */ + public function setOutputBins($val) + { + $this->_propDict["outputBins"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * Supported number of Input Pages to impose upon a single Impression. + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * Supported number of Input Pages to impose upon a single Impression. + * + * @param int $val The value of the pagesPerSheet + * + * @return PrinterCapabilities + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the qualities + * The print qualities supported by the printer. + * + * @return PrintQuality|null The qualities + */ + public function getQualities() + { + if (array_key_exists("qualities", $this->_propDict)) { + if (is_a($this->_propDict["qualities"], "\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["qualities"])) { + return $this->_propDict["qualities"]; + } else { + $this->_propDict["qualities"] = new PrintQuality($this->_propDict["qualities"]); + return $this->_propDict["qualities"]; + } + } + return null; + } + + /** + * Sets the qualities + * The print qualities supported by the printer. + * + * @param PrintQuality $val The value to assign to the qualities + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setQualities($val) + { + $this->_propDict["qualities"] = $val; + return $this; + } + /** + * Gets the rightMargins + * A list of supported right margins(in microns) for the printer. + * + * @return int|null The rightMargins + */ + public function getRightMargins() + { + if (array_key_exists("rightMargins", $this->_propDict)) { + return $this->_propDict["rightMargins"]; + } else { + return null; + } + } + + /** + * Sets the rightMargins + * A list of supported right margins(in microns) for the printer. + * + * @param int $val The value of the rightMargins + * + * @return PrinterCapabilities + */ + public function setRightMargins($val) + { + $this->_propDict["rightMargins"] = $val; + return $this; + } + + /** + * Gets the scalings + * Supported print scalings. + * + * @return PrintScaling|null The scalings + */ + public function getScalings() + { + if (array_key_exists("scalings", $this->_propDict)) { + if (is_a($this->_propDict["scalings"], "\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scalings"])) { + return $this->_propDict["scalings"]; + } else { + $this->_propDict["scalings"] = new PrintScaling($this->_propDict["scalings"]); + return $this->_propDict["scalings"]; + } + } + return null; + } + + /** + * Sets the scalings + * Supported print scalings. + * + * @param PrintScaling $val The value to assign to the scalings + * + * @return PrinterCapabilities The PrinterCapabilities + */ + public function setScalings($val) + { + $this->_propDict["scalings"] = $val; + return $this; + } + /** + * Gets the supportsFitPdfToPage + * True if the printer supports scaling PDF pages to match the print media size; false otherwise. + * + * @return bool|null The supportsFitPdfToPage + */ + public function getSupportsFitPdfToPage() + { + if (array_key_exists("supportsFitPdfToPage", $this->_propDict)) { + return $this->_propDict["supportsFitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the supportsFitPdfToPage + * True if the printer supports scaling PDF pages to match the print media size; false otherwise. + * + * @param bool $val The value of the supportsFitPdfToPage + * + * @return PrinterCapabilities + */ + public function setSupportsFitPdfToPage($val) + { + $this->_propDict["supportsFitPdfToPage"] = $val; + return $this; + } + /** + * Gets the topMargins + * A list of supported top margins(in microns) for the printer. + * + * @return int|null The topMargins + */ + public function getTopMargins() + { + if (array_key_exists("topMargins", $this->_propDict)) { + return $this->_propDict["topMargins"]; + } else { + return null; + } + } + + /** + * Sets the topMargins + * A list of supported top margins(in microns) for the printer. + * + * @param int $val The value of the topMargins + * + * @return PrinterCapabilities + */ + public function setTopMargins($val) + { + $this->_propDict["topMargins"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterCreateOperation.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterCreateOperation.php new file mode 100644 index 0000000..feaaaf7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterCreateOperation.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["certificate"]; + } else { + return null; + } + } + + /** + * Sets the certificate + * The signed certificate created during the registration process. Read-only. + * + * @param string $val The certificate + * + * @return PrinterCreateOperation + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + + /** + * Gets the printer + * The created printer entity. Read-only. + * + * @return Printer|null The printer + */ + public function getPrinter() + { + if (array_key_exists("printer", $this->_propDict)) { + if (is_a($this->_propDict["printer"], "\Microsoft\Graph\Model\Printer") || is_null($this->_propDict["printer"])) { + return $this->_propDict["printer"]; + } else { + $this->_propDict["printer"] = new Printer($this->_propDict["printer"]); + return $this->_propDict["printer"]; + } + } + return null; + } + + /** + * Sets the printer + * The created printer entity. Read-only. + * + * @param Printer $val The printer + * + * @return PrinterCreateOperation + */ + public function setPrinter($val) + { + $this->_propDict["printer"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterDefaults.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterDefaults.php new file mode 100644 index 0000000..4a2e863 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterDefaults.php @@ -0,0 +1,537 @@ +_propDict)) { + if (is_a($this->_propDict["colorMode"], "\Microsoft\Graph\Model\PrintColorMode") || is_null($this->_propDict["colorMode"])) { + return $this->_propDict["colorMode"]; + } else { + $this->_propDict["colorMode"] = new PrintColorMode($this->_propDict["colorMode"]); + return $this->_propDict["colorMode"]; + } + } + return null; + } + + /** + * Sets the colorMode + * The default color mode to use when printing the document. Valid values are described in the following table. + * + * @param PrintColorMode $val The value to assign to the colorMode + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setColorMode($val) + { + $this->_propDict["colorMode"] = $val; + return $this; + } + /** + * Gets the contentType + * The default content (MIME) type to use when processing documents. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * The default content (MIME) type to use when processing documents. + * + * @param string $val The value of the contentType + * + * @return PrinterDefaults + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + /** + * Gets the copiesPerJob + * The default number of copies printed per job. + * + * @return int|null The copiesPerJob + */ + public function getCopiesPerJob() + { + if (array_key_exists("copiesPerJob", $this->_propDict)) { + return $this->_propDict["copiesPerJob"]; + } else { + return null; + } + } + + /** + * Sets the copiesPerJob + * The default number of copies printed per job. + * + * @param int $val The value of the copiesPerJob + * + * @return PrinterDefaults + */ + public function setCopiesPerJob($val) + { + $this->_propDict["copiesPerJob"] = $val; + return $this; + } + /** + * Gets the dpi + * The default resolution in DPI to use when printing the job. + * + * @return int|null The dpi + */ + public function getDpi() + { + if (array_key_exists("dpi", $this->_propDict)) { + return $this->_propDict["dpi"]; + } else { + return null; + } + } + + /** + * Sets the dpi + * The default resolution in DPI to use when printing the job. + * + * @param int $val The value of the dpi + * + * @return PrinterDefaults + */ + public function setDpi($val) + { + $this->_propDict["dpi"] = $val; + return $this; + } + + /** + * Gets the duplexMode + * The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table. + * + * @return PrintDuplexMode|null The duplexMode + */ + public function getDuplexMode() + { + if (array_key_exists("duplexMode", $this->_propDict)) { + if (is_a($this->_propDict["duplexMode"], "\Microsoft\Graph\Model\PrintDuplexMode") || is_null($this->_propDict["duplexMode"])) { + return $this->_propDict["duplexMode"]; + } else { + $this->_propDict["duplexMode"] = new PrintDuplexMode($this->_propDict["duplexMode"]); + return $this->_propDict["duplexMode"]; + } + } + return null; + } + + /** + * Sets the duplexMode + * The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the following table. + * + * @param PrintDuplexMode $val The value to assign to the duplexMode + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setDuplexMode($val) + { + $this->_propDict["duplexMode"] = $val; + return $this; + } + + /** + * Gets the finishings + * The default set of finishings to apply to print jobs. Valid values are described in the following table. + * + * @return PrintFinishing|null The finishings + */ + public function getFinishings() + { + if (array_key_exists("finishings", $this->_propDict)) { + if (is_a($this->_propDict["finishings"], "\Microsoft\Graph\Model\PrintFinishing") || is_null($this->_propDict["finishings"])) { + return $this->_propDict["finishings"]; + } else { + $this->_propDict["finishings"] = new PrintFinishing($this->_propDict["finishings"]); + return $this->_propDict["finishings"]; + } + } + return null; + } + + /** + * Sets the finishings + * The default set of finishings to apply to print jobs. Valid values are described in the following table. + * + * @param PrintFinishing $val The value to assign to the finishings + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setFinishings($val) + { + $this->_propDict["finishings"] = $val; + return $this; + } + /** + * Gets the fitPdfToPage + * The default fitPdfToPage setting. True to fit each page of a PDF document to a physical sheet of media; false to let the printer decide how to lay out impressions. + * + * @return bool|null The fitPdfToPage + */ + public function getFitPdfToPage() + { + if (array_key_exists("fitPdfToPage", $this->_propDict)) { + return $this->_propDict["fitPdfToPage"]; + } else { + return null; + } + } + + /** + * Sets the fitPdfToPage + * The default fitPdfToPage setting. True to fit each page of a PDF document to a physical sheet of media; false to let the printer decide how to lay out impressions. + * + * @param bool $val The value of the fitPdfToPage + * + * @return PrinterDefaults + */ + public function setFitPdfToPage($val) + { + $this->_propDict["fitPdfToPage"] = $val; + return $this; + } + /** + * Gets the inputBin + * The default input bin that serves as the paper source. + * + * @return string|null The inputBin + */ + public function getInputBin() + { + if (array_key_exists("inputBin", $this->_propDict)) { + return $this->_propDict["inputBin"]; + } else { + return null; + } + } + + /** + * Sets the inputBin + * The default input bin that serves as the paper source. + * + * @param string $val The value of the inputBin + * + * @return PrinterDefaults + */ + public function setInputBin($val) + { + $this->_propDict["inputBin"] = $val; + return $this; + } + /** + * Gets the mediaColor + * The default media (such as paper) color to print the document on. + * + * @return string|null The mediaColor + */ + public function getMediaColor() + { + if (array_key_exists("mediaColor", $this->_propDict)) { + return $this->_propDict["mediaColor"]; + } else { + return null; + } + } + + /** + * Sets the mediaColor + * The default media (such as paper) color to print the document on. + * + * @param string $val The value of the mediaColor + * + * @return PrinterDefaults + */ + public function setMediaColor($val) + { + $this->_propDict["mediaColor"] = $val; + return $this; + } + /** + * Gets the mediaSize + * The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @return string|null The mediaSize + */ + public function getMediaSize() + { + if (array_key_exists("mediaSize", $this->_propDict)) { + return $this->_propDict["mediaSize"]; + } else { + return null; + } + } + + /** + * Sets the mediaSize + * The default media size to use. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic. + * + * @param string $val The value of the mediaSize + * + * @return PrinterDefaults + */ + public function setMediaSize($val) + { + $this->_propDict["mediaSize"] = $val; + return $this; + } + /** + * Gets the mediaType + * The default media (such as paper) type to print the document on. + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * The default media (such as paper) type to print the document on. + * + * @param string $val The value of the mediaType + * + * @return PrinterDefaults + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + + /** + * Gets the multipageLayout + * The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @return PrintMultipageLayout|null The multipageLayout + */ + public function getMultipageLayout() + { + if (array_key_exists("multipageLayout", $this->_propDict)) { + if (is_a($this->_propDict["multipageLayout"], "\Microsoft\Graph\Model\PrintMultipageLayout") || is_null($this->_propDict["multipageLayout"])) { + return $this->_propDict["multipageLayout"]; + } else { + $this->_propDict["multipageLayout"] = new PrintMultipageLayout($this->_propDict["multipageLayout"]); + return $this->_propDict["multipageLayout"]; + } + } + return null; + } + + /** + * Sets the multipageLayout + * The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the following table. + * + * @param PrintMultipageLayout $val The value to assign to the multipageLayout + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setMultipageLayout($val) + { + $this->_propDict["multipageLayout"] = $val; + return $this; + } + + /** + * Gets the orientation + * The default orientation to use when printing the document. Valid values are described in the following table. + * + * @return PrintOrientation|null The orientation + */ + public function getOrientation() + { + if (array_key_exists("orientation", $this->_propDict)) { + if (is_a($this->_propDict["orientation"], "\Microsoft\Graph\Model\PrintOrientation") || is_null($this->_propDict["orientation"])) { + return $this->_propDict["orientation"]; + } else { + $this->_propDict["orientation"] = new PrintOrientation($this->_propDict["orientation"]); + return $this->_propDict["orientation"]; + } + } + return null; + } + + /** + * Sets the orientation + * The default orientation to use when printing the document. Valid values are described in the following table. + * + * @param PrintOrientation $val The value to assign to the orientation + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setOrientation($val) + { + $this->_propDict["orientation"] = $val; + return $this; + } + /** + * Gets the outputBin + * The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @return string|null The outputBin + */ + public function getOutputBin() + { + if (array_key_exists("outputBin", $this->_propDict)) { + return $this->_propDict["outputBin"]; + } else { + return null; + } + } + + /** + * Sets the outputBin + * The default output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + * + * @param string $val The value of the outputBin + * + * @return PrinterDefaults + */ + public function setOutputBin($val) + { + $this->_propDict["outputBin"] = $val; + return $this; + } + /** + * Gets the pagesPerSheet + * The default number of document pages to print on each sheet. + * + * @return int|null The pagesPerSheet + */ + public function getPagesPerSheet() + { + if (array_key_exists("pagesPerSheet", $this->_propDict)) { + return $this->_propDict["pagesPerSheet"]; + } else { + return null; + } + } + + /** + * Sets the pagesPerSheet + * The default number of document pages to print on each sheet. + * + * @param int $val The value of the pagesPerSheet + * + * @return PrinterDefaults + */ + public function setPagesPerSheet($val) + { + $this->_propDict["pagesPerSheet"] = $val; + return $this; + } + + /** + * Gets the quality + * The default quality to use when printing the document. Valid values are described in the following table. + * + * @return PrintQuality|null The quality + */ + public function getQuality() + { + if (array_key_exists("quality", $this->_propDict)) { + if (is_a($this->_propDict["quality"], "\Microsoft\Graph\Model\PrintQuality") || is_null($this->_propDict["quality"])) { + return $this->_propDict["quality"]; + } else { + $this->_propDict["quality"] = new PrintQuality($this->_propDict["quality"]); + return $this->_propDict["quality"]; + } + } + return null; + } + + /** + * Sets the quality + * The default quality to use when printing the document. Valid values are described in the following table. + * + * @param PrintQuality $val The value to assign to the quality + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setQuality($val) + { + $this->_propDict["quality"] = $val; + return $this; + } + + /** + * Gets the scaling + * Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table. + * + * @return PrintScaling|null The scaling + */ + public function getScaling() + { + if (array_key_exists("scaling", $this->_propDict)) { + if (is_a($this->_propDict["scaling"], "\Microsoft\Graph\Model\PrintScaling") || is_null($this->_propDict["scaling"])) { + return $this->_propDict["scaling"]; + } else { + $this->_propDict["scaling"] = new PrintScaling($this->_propDict["scaling"]); + return $this->_propDict["scaling"]; + } + } + return null; + } + + /** + * Sets the scaling + * Specifies how the printer scales the document data to fit the requested media. Valid values are described in the following table. + * + * @param PrintScaling $val The value to assign to the scaling + * + * @return PrinterDefaults The PrinterDefaults + */ + public function setScaling($val) + { + $this->_propDict["scaling"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterFeedOrientation.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterFeedOrientation.php new file mode 100644 index 0000000..71f9e4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterFeedOrientation.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["altitudeInMeters"]; + } else { + return null; + } + } + + /** + * Sets the altitudeInMeters + * The altitude, in meters, that the printer is located at. + * + * @param int $val The value of the altitudeInMeters + * + * @return PrinterLocation + */ + public function setAltitudeInMeters($val) + { + $this->_propDict["altitudeInMeters"] = $val; + return $this; + } + /** + * Gets the building + * The building that the printer is located in. + * + * @return string|null The building + */ + public function getBuilding() + { + if (array_key_exists("building", $this->_propDict)) { + return $this->_propDict["building"]; + } else { + return null; + } + } + + /** + * Sets the building + * The building that the printer is located in. + * + * @param string $val The value of the building + * + * @return PrinterLocation + */ + public function setBuilding($val) + { + $this->_propDict["building"] = $val; + return $this; + } + /** + * Gets the city + * The city that the printer is located in. + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city that the printer is located in. + * + * @param string $val The value of the city + * + * @return PrinterLocation + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * The country or region that the printer is located in. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * The country or region that the printer is located in. + * + * @param string $val The value of the countryOrRegion + * + * @return PrinterLocation + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + /** + * Gets the floor + * The floor that the printer is located on. Only numerical values are supported right now. + * + * @return string|null The floor + */ + public function getFloor() + { + if (array_key_exists("floor", $this->_propDict)) { + return $this->_propDict["floor"]; + } else { + return null; + } + } + + /** + * Sets the floor + * The floor that the printer is located on. Only numerical values are supported right now. + * + * @param string $val The value of the floor + * + * @return PrinterLocation + */ + public function setFloor($val) + { + $this->_propDict["floor"] = $val; + return $this; + } + /** + * Gets the floorDescription + * The description of the floor that the printer is located on. + * + * @return string|null The floorDescription + */ + public function getFloorDescription() + { + if (array_key_exists("floorDescription", $this->_propDict)) { + return $this->_propDict["floorDescription"]; + } else { + return null; + } + } + + /** + * Sets the floorDescription + * The description of the floor that the printer is located on. + * + * @param string $val The value of the floorDescription + * + * @return PrinterLocation + */ + public function setFloorDescription($val) + { + $this->_propDict["floorDescription"] = $val; + return $this; + } + /** + * Gets the latitude + * The latitude that the printer is located at. + * + * @return float|null The latitude + */ + public function getLatitude() + { + if (array_key_exists("latitude", $this->_propDict)) { + return $this->_propDict["latitude"]; + } else { + return null; + } + } + + /** + * Sets the latitude + * The latitude that the printer is located at. + * + * @param float $val The value of the latitude + * + * @return PrinterLocation + */ + public function setLatitude($val) + { + $this->_propDict["latitude"] = $val; + return $this; + } + /** + * Gets the longitude + * The longitude that the printer is located at. + * + * @return float|null The longitude + */ + public function getLongitude() + { + if (array_key_exists("longitude", $this->_propDict)) { + return $this->_propDict["longitude"]; + } else { + return null; + } + } + + /** + * Sets the longitude + * The longitude that the printer is located at. + * + * @param float $val The value of the longitude + * + * @return PrinterLocation + */ + public function setLongitude($val) + { + $this->_propDict["longitude"] = $val; + return $this; + } + /** + * Gets the organization + * The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. + * + * @param string $val The value of the organization + * + * @return PrinterLocation + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the postalCode + * The postal code that the printer is located in. + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code that the printer is located in. + * + * @param string $val The value of the postalCode + * + * @return PrinterLocation + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + /** + * Gets the roomDescription + * The description of the room that the printer is located in. + * + * @return string|null The roomDescription + */ + public function getRoomDescription() + { + if (array_key_exists("roomDescription", $this->_propDict)) { + return $this->_propDict["roomDescription"]; + } else { + return null; + } + } + + /** + * Sets the roomDescription + * The description of the room that the printer is located in. + * + * @param string $val The value of the roomDescription + * + * @return PrinterLocation + */ + public function setRoomDescription($val) + { + $this->_propDict["roomDescription"] = $val; + return $this; + } + /** + * Gets the roomName + * The room that the printer is located in. Only numerical values are supported right now. + * + * @return string|null The roomName + */ + public function getRoomName() + { + if (array_key_exists("roomName", $this->_propDict)) { + return $this->_propDict["roomName"]; + } else { + return null; + } + } + + /** + * Sets the roomName + * The room that the printer is located in. Only numerical values are supported right now. + * + * @param string $val The value of the roomName + * + * @return PrinterLocation + */ + public function setRoomName($val) + { + $this->_propDict["roomName"] = $val; + return $this; + } + /** + * Gets the site + * The site that the printer is located in. + * + * @return string|null The site + */ + public function getSite() + { + if (array_key_exists("site", $this->_propDict)) { + return $this->_propDict["site"]; + } else { + return null; + } + } + + /** + * Sets the site + * The site that the printer is located in. + * + * @param string $val The value of the site + * + * @return PrinterLocation + */ + public function setSite($val) + { + $this->_propDict["site"] = $val; + return $this; + } + /** + * Gets the stateOrProvince + * The state or province that the printer is located in. + * + * @return string|null The stateOrProvince + */ + public function getStateOrProvince() + { + if (array_key_exists("stateOrProvince", $this->_propDict)) { + return $this->_propDict["stateOrProvince"]; + } else { + return null; + } + } + + /** + * Sets the stateOrProvince + * The state or province that the printer is located in. + * + * @param string $val The value of the stateOrProvince + * + * @return PrinterLocation + */ + public function setStateOrProvince($val) + { + $this->_propDict["stateOrProvince"] = $val; + return $this; + } + /** + * Gets the streetAddress + * The street address where the printer is located. + * + * @return string|null The streetAddress + */ + public function getStreetAddress() + { + if (array_key_exists("streetAddress", $this->_propDict)) { + return $this->_propDict["streetAddress"]; + } else { + return null; + } + } + + /** + * Sets the streetAddress + * The street address where the printer is located. + * + * @param string $val The value of the streetAddress + * + * @return PrinterLocation + */ + public function setStreetAddress($val) + { + $this->_propDict["streetAddress"] = $val; + return $this; + } + /** + * Gets the subdivision + * The subdivision that the printer is located in. The elements should be in hierarchical order. + * + * @return string|null The subdivision + */ + public function getSubdivision() + { + if (array_key_exists("subdivision", $this->_propDict)) { + return $this->_propDict["subdivision"]; + } else { + return null; + } + } + + /** + * Sets the subdivision + * The subdivision that the printer is located in. The elements should be in hierarchical order. + * + * @param string $val The value of the subdivision + * + * @return PrinterLocation + */ + public function setSubdivision($val) + { + $this->_propDict["subdivision"] = $val; + return $this; + } + /** + * Gets the subunit + * + * @return string|null The subunit + */ + public function getSubunit() + { + if (array_key_exists("subunit", $this->_propDict)) { + return $this->_propDict["subunit"]; + } else { + return null; + } + } + + /** + * Sets the subunit + * + * @param string $val The value of the subunit + * + * @return PrinterLocation + */ + public function setSubunit($val) + { + $this->_propDict["subunit"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterProcessingState.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterProcessingState.php new file mode 100644 index 0000000..a89d8b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterProcessingState.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["allowAllUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowAllUsers + * If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. + * + * @param bool $val The allowAllUsers + * + * @return PrinterShare + */ + public function setAllowAllUsers($val) + { + $this->_propDict["allowAllUsers"] = boolval($val); + return $this; + } + + /** + * Gets the createdDateTime + * The DateTimeOffset when the printer share was created. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The DateTimeOffset when the printer share was created. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return PrinterShare + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the allowedGroups + * The groups whose users have access to print using the printer. + * + * @return array|null The allowedGroups + */ + public function getAllowedGroups() + { + if (array_key_exists("allowedGroups", $this->_propDict)) { + return $this->_propDict["allowedGroups"]; + } else { + return null; + } + } + + /** + * Sets the allowedGroups + * The groups whose users have access to print using the printer. + * + * @param Group[] $val The allowedGroups + * + * @return PrinterShare + */ + public function setAllowedGroups($val) + { + $this->_propDict["allowedGroups"] = $val; + return $this; + } + + + /** + * Gets the allowedUsers + * The users who have access to print using the printer. + * + * @return array|null The allowedUsers + */ + public function getAllowedUsers() + { + if (array_key_exists("allowedUsers", $this->_propDict)) { + return $this->_propDict["allowedUsers"]; + } else { + return null; + } + } + + /** + * Sets the allowedUsers + * The users who have access to print using the printer. + * + * @param User[] $val The allowedUsers + * + * @return PrinterShare + */ + public function setAllowedUsers($val) + { + $this->_propDict["allowedUsers"] = $val; + return $this; + } + + /** + * Gets the printer + * The printer that this printer share is related to. + * + * @return Printer|null The printer + */ + public function getPrinter() + { + if (array_key_exists("printer", $this->_propDict)) { + if (is_a($this->_propDict["printer"], "\Microsoft\Graph\Model\Printer") || is_null($this->_propDict["printer"])) { + return $this->_propDict["printer"]; + } else { + $this->_propDict["printer"] = new Printer($this->_propDict["printer"]); + return $this->_propDict["printer"]; + } + } + return null; + } + + /** + * Sets the printer + * The printer that this printer share is related to. + * + * @param Printer $val The printer + * + * @return PrinterShare + */ + public function setPrinter($val) + { + $this->_propDict["printer"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrinterStatus.php b/vendor/microsoft/microsoft-graph/src/Model/PrinterStatus.php new file mode 100644 index 0000000..4229f49 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrinterStatus.php @@ -0,0 +1,120 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * A human-readable description of the printer's current processing state. Read-only. + * + * @param string $val The value of the description + * + * @return PrinterStatus + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the details + * The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only. + * + * @return PrinterProcessingStateDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PrinterProcessingStateDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PrinterProcessingStateDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * The list of details describing why the printer is in the current state. Valid values are described in the following table. Read-only. + * + * @param PrinterProcessingStateDetail $val The value to assign to the details + * + * @return PrinterStatus The PrinterStatus + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the state + * The current processing state. Valid values are described in the following table. Read-only. + * + * @return PrinterProcessingState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrinterProcessingState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new PrinterProcessingState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * The current processing state. Valid values are described in the following table. Read-only. + * + * @param PrinterProcessingState $val The value to assign to the state + * + * @return PrinterStatus The PrinterStatus + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Privacy.php b/vendor/microsoft/microsoft-graph/src/Model/Privacy.php new file mode 100644 index 0000000..7cb1a13 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Privacy.php @@ -0,0 +1,132 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the Privacy + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the subjectRightsRequests + * + * @return array|null The subjectRightsRequests + */ + public function getSubjectRightsRequests() + { + if (array_key_exists("subjectRightsRequests", $this->_propDict)) { + return $this->_propDict["subjectRightsRequests"]; + } else { + return null; + } + } + + /** + * Sets the subjectRightsRequests + * + * @param SubjectRightsRequest[] $val The subjectRightsRequests + * + * @return Privacy + */ + public function setSubjectRightsRequests($val) + { + $this->_propDict["subjectRightsRequests"] = $val; + 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 Privacy + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PrivacyProfile.php b/vendor/microsoft/microsoft-graph/src/Model/PrivacyProfile.php new file mode 100644 index 0000000..cb6aa1b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PrivacyProfile.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["contactEmail"]; + } else { + return null; + } + } + + /** + * Sets the contactEmail + * A valid smtp email address for the privacy statement contact. Not required. + * + * @param string $val The value of the contactEmail + * + * @return PrivacyProfile + */ + public function setContactEmail($val) + { + $this->_propDict["contactEmail"] = $val; + return $this; + } + /** + * Gets the statementUrl + * A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required. + * + * @return string|null The statementUrl + */ + public function getStatementUrl() + { + if (array_key_exists("statementUrl", $this->_propDict)) { + return $this->_propDict["statementUrl"]; + } else { + return null; + } + } + + /** + * Sets the statementUrl + * A valid URL format that begins with http:// or https://. Maximum length is 255 characters. The URL that directs to the company's privacy statement. Not required. + * + * @param string $val The value of the statementUrl + * + * @return PrivacyProfile + */ + public function setStatementUrl($val) + { + $this->_propDict["statementUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Process.php b/vendor/microsoft/microsoft-graph/src/Model/Process.php new file mode 100644 index 0000000..0226eaf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Process.php @@ -0,0 +1,382 @@ +_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * User account identifier (user account context the process ran under) for example, AccountName, SID, and so on. + * + * @param string $val The value of the accountName + * + * @return Process + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** + * Gets the commandLine + * The full process invocation commandline including all parameters. + * + * @return string|null The commandLine + */ + public function getCommandLine() + { + if (array_key_exists("commandLine", $this->_propDict)) { + return $this->_propDict["commandLine"]; + } else { + return null; + } + } + + /** + * Sets the commandLine + * The full process invocation commandline including all parameters. + * + * @param string $val The value of the commandLine + * + * @return Process + */ + public function setCommandLine($val) + { + $this->_propDict["commandLine"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Time at which the process was started. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time at which the process was started. 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 createdDateTime + * + * @return Process The Process + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the fileHash + * Complex type containing file hashes (cryptographic and location-sensitive). + * + * @return FileHash|null The fileHash + */ + public function getFileHash() + { + if (array_key_exists("fileHash", $this->_propDict)) { + if (is_a($this->_propDict["fileHash"], "\Microsoft\Graph\Model\FileHash") || is_null($this->_propDict["fileHash"])) { + return $this->_propDict["fileHash"]; + } else { + $this->_propDict["fileHash"] = new FileHash($this->_propDict["fileHash"]); + return $this->_propDict["fileHash"]; + } + } + return null; + } + + /** + * Sets the fileHash + * Complex type containing file hashes (cryptographic and location-sensitive). + * + * @param FileHash $val The value to assign to the fileHash + * + * @return Process The Process + */ + public function setFileHash($val) + { + $this->_propDict["fileHash"] = $val; + return $this; + } + + /** + * Gets the integrityLevel + * The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. + * + * @return ProcessIntegrityLevel|null The integrityLevel + */ + public function getIntegrityLevel() + { + if (array_key_exists("integrityLevel", $this->_propDict)) { + if (is_a($this->_propDict["integrityLevel"], "\Microsoft\Graph\Model\ProcessIntegrityLevel") || is_null($this->_propDict["integrityLevel"])) { + return $this->_propDict["integrityLevel"]; + } else { + $this->_propDict["integrityLevel"] = new ProcessIntegrityLevel($this->_propDict["integrityLevel"]); + return $this->_propDict["integrityLevel"]; + } + } + return null; + } + + /** + * Sets the integrityLevel + * The integrity level of the process. Possible values are: unknown, untrusted, low, medium, high, system. + * + * @param ProcessIntegrityLevel $val The value to assign to the integrityLevel + * + * @return Process The Process + */ + public function setIntegrityLevel($val) + { + $this->_propDict["integrityLevel"] = $val; + return $this; + } + /** + * Gets the isElevated + * True if the process is elevated. + * + * @return bool|null The isElevated + */ + public function getIsElevated() + { + if (array_key_exists("isElevated", $this->_propDict)) { + return $this->_propDict["isElevated"]; + } else { + return null; + } + } + + /** + * Sets the isElevated + * True if the process is elevated. + * + * @param bool $val The value of the isElevated + * + * @return Process + */ + public function setIsElevated($val) + { + $this->_propDict["isElevated"] = $val; + return $this; + } + /** + * Gets the name + * The name of the process' Image file. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the process' Image file. + * + * @param string $val The value of the name + * + * @return Process + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the parentProcessCreatedDateTime + * DateTime at which the parent process was started. 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 parentProcessCreatedDateTime + */ + public function getParentProcessCreatedDateTime() + { + if (array_key_exists("parentProcessCreatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["parentProcessCreatedDateTime"], "\DateTime") || is_null($this->_propDict["parentProcessCreatedDateTime"])) { + return $this->_propDict["parentProcessCreatedDateTime"]; + } else { + $this->_propDict["parentProcessCreatedDateTime"] = new \DateTime($this->_propDict["parentProcessCreatedDateTime"]); + return $this->_propDict["parentProcessCreatedDateTime"]; + } + } + return null; + } + + /** + * Sets the parentProcessCreatedDateTime + * DateTime at which the parent process was started. 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 parentProcessCreatedDateTime + * + * @return Process The Process + */ + public function setParentProcessCreatedDateTime($val) + { + $this->_propDict["parentProcessCreatedDateTime"] = $val; + return $this; + } + /** + * Gets the parentProcessId + * The Process ID (PID) of the parent process. + * + * @return int|null The parentProcessId + */ + public function getParentProcessId() + { + if (array_key_exists("parentProcessId", $this->_propDict)) { + return $this->_propDict["parentProcessId"]; + } else { + return null; + } + } + + /** + * Sets the parentProcessId + * The Process ID (PID) of the parent process. + * + * @param int $val The value of the parentProcessId + * + * @return Process + */ + public function setParentProcessId($val) + { + $this->_propDict["parentProcessId"] = $val; + return $this; + } + /** + * Gets the parentProcessName + * The name of the image file of the parent process. + * + * @return string|null The parentProcessName + */ + public function getParentProcessName() + { + if (array_key_exists("parentProcessName", $this->_propDict)) { + return $this->_propDict["parentProcessName"]; + } else { + return null; + } + } + + /** + * Sets the parentProcessName + * The name of the image file of the parent process. + * + * @param string $val The value of the parentProcessName + * + * @return Process + */ + public function setParentProcessName($val) + { + $this->_propDict["parentProcessName"] = $val; + return $this; + } + /** + * Gets the path + * Full path, including filename. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * Full path, including filename. + * + * @param string $val The value of the path + * + * @return Process + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } + /** + * Gets the processId + * The Process ID (PID) of the process. + * + * @return int|null The processId + */ + public function getProcessId() + { + if (array_key_exists("processId", $this->_propDict)) { + return $this->_propDict["processId"]; + } else { + return null; + } + } + + /** + * Sets the processId + * The Process ID (PID) of the process. + * + * @param int $val The value of the processId + * + * @return Process + */ + public function setProcessId($val) + { + $this->_propDict["processId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProcessIntegrityLevel.php b/vendor/microsoft/microsoft-graph/src/Model/ProcessIntegrityLevel.php new file mode 100644 index 0000000..fb59b85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProcessIntegrityLevel.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * The height of the photo. Read-only. + * + * @param int $val The height + * + * @return ProfilePhoto + */ + public function setHeight($val) + { + $this->_propDict["height"] = intval($val); + return $this; + } + + /** + * Gets the width + * The width of the photo. Read-only. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * The width of the photo. Read-only. + * + * @param int $val The width + * + * @return ProfilePhoto + */ + public function setWidth($val) + { + $this->_propDict["width"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Prompt.php b/vendor/microsoft/microsoft-graph/src/Model/Prompt.php new file mode 100644 index 0000000..018cde5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Prompt.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * Represents the provisioned email address. + * + * @param string $val The value of the email + * + * @return ProvisionChannelEmailResult + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisionedIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisionedIdentity.php new file mode 100644 index 0000000..c09c19c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisionedIdentity.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\DetailsInfo") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of the identity. + * + * @param DetailsInfo $val The value to assign to the details + * + * @return ProvisionedIdentity The ProvisionedIdentity + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the identityType + * Type of identity that has been provisioned, such as 'user' or 'group'. + * + * @return string|null The identityType + */ + public function getIdentityType() + { + if (array_key_exists("identityType", $this->_propDict)) { + return $this->_propDict["identityType"]; + } else { + return null; + } + } + + /** + * Sets the identityType + * Type of identity that has been provisioned, such as 'user' or 'group'. + * + * @param string $val The value of the identityType + * + * @return ProvisionedIdentity + */ + public function setIdentityType($val) + { + $this->_propDict["identityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisionedPlan.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisionedPlan.php new file mode 100644 index 0000000..3d75105 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisionedPlan.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["capabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the capabilityStatus + * For example, 'Enabled'. + * + * @param string $val The value of the capabilityStatus + * + * @return ProvisionedPlan + */ + public function setCapabilityStatus($val) + { + $this->_propDict["capabilityStatus"] = $val; + return $this; + } + /** + * Gets the provisioningStatus + * For example, 'Success'. + * + * @return string|null The provisioningStatus + */ + public function getProvisioningStatus() + { + if (array_key_exists("provisioningStatus", $this->_propDict)) { + return $this->_propDict["provisioningStatus"]; + } else { + return null; + } + } + + /** + * Sets the provisioningStatus + * For example, 'Success'. + * + * @param string $val The value of the provisioningStatus + * + * @return ProvisionedPlan + */ + public function setProvisioningStatus($val) + { + $this->_propDict["provisioningStatus"] = $val; + return $this; + } + /** + * Gets the service + * The name of the service; for example, 'AccessControlS2S' + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The name of the service; for example, 'AccessControlS2S' + * + * @param string $val The value of the service + * + * @return ProvisionedPlan + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningAction.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningAction.php new file mode 100644 index 0000000..0cfc236 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningAction.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Additional details in case of error. + * + * @param string $val The value of the additionalDetails + * + * @return ProvisioningErrorInfo + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + + /** + * Gets the errorCategory + * Categorizes the error code. Possible values are failure, nonServiceFailure, success, unknownFutureValue + * + * @return ProvisioningStatusErrorCategory|null The errorCategory + */ + public function getErrorCategory() + { + if (array_key_exists("errorCategory", $this->_propDict)) { + if (is_a($this->_propDict["errorCategory"], "\Microsoft\Graph\Model\ProvisioningStatusErrorCategory") || is_null($this->_propDict["errorCategory"])) { + return $this->_propDict["errorCategory"]; + } else { + $this->_propDict["errorCategory"] = new ProvisioningStatusErrorCategory($this->_propDict["errorCategory"]); + return $this->_propDict["errorCategory"]; + } + } + return null; + } + + /** + * Sets the errorCategory + * Categorizes the error code. Possible values are failure, nonServiceFailure, success, unknownFutureValue + * + * @param ProvisioningStatusErrorCategory $val The value to assign to the errorCategory + * + * @return ProvisioningErrorInfo The ProvisioningErrorInfo + */ + public function setErrorCategory($val) + { + $this->_propDict["errorCategory"] = $val; + return $this; + } + /** + * Gets the errorCode + * Unique error code if any occurred. Learn more + * + * @return string|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Unique error code if any occurred. Learn more + * + * @param string $val The value of the errorCode + * + * @return ProvisioningErrorInfo + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the reason + * Summarizes the status and describes why the status happened. + * + * @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 + * Summarizes the status and describes why the status happened. + * + * @param string $val The value of the reason + * + * @return ProvisioningErrorInfo + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + /** + * Gets the recommendedAction + * Provides the resolution for the corresponding error. + * + * @return string|null The recommendedAction + */ + public function getRecommendedAction() + { + if (array_key_exists("recommendedAction", $this->_propDict)) { + return $this->_propDict["recommendedAction"]; + } else { + return null; + } + } + + /** + * Sets the recommendedAction + * Provides the resolution for the corresponding error. + * + * @param string $val The value of the recommendedAction + * + * @return ProvisioningErrorInfo + */ + public function setRecommendedAction($val) + { + $this->_propDict["recommendedAction"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningObjectSummary.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningObjectSummary.php new file mode 100644 index 0000000..26c294a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningObjectSummary.php @@ -0,0 +1,529 @@ +_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * 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 activityDateTime + * + * @return ProvisioningObjectSummary + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the changeId + * Unique ID of this change in this cycle. + * + * @return string|null The changeId + */ + public function getChangeId() + { + if (array_key_exists("changeId", $this->_propDict)) { + return $this->_propDict["changeId"]; + } else { + return null; + } + } + + /** + * Sets the changeId + * Unique ID of this change in this cycle. + * + * @param string $val The changeId + * + * @return ProvisioningObjectSummary + */ + public function setChangeId($val) + { + $this->_propDict["changeId"] = $val; + return $this; + } + + /** + * Gets the cycleId + * Unique ID per job iteration. + * + * @return string|null The cycleId + */ + public function getCycleId() + { + if (array_key_exists("cycleId", $this->_propDict)) { + return $this->_propDict["cycleId"]; + } else { + return null; + } + } + + /** + * Sets the cycleId + * Unique ID per job iteration. + * + * @param string $val The cycleId + * + * @return ProvisioningObjectSummary + */ + public function setCycleId($val) + { + $this->_propDict["cycleId"] = $val; + return $this; + } + + /** + * Gets the durationInMilliseconds + * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * + * @return int|null The durationInMilliseconds + */ + public function getDurationInMilliseconds() + { + if (array_key_exists("durationInMilliseconds", $this->_propDict)) { + return $this->_propDict["durationInMilliseconds"]; + } else { + return null; + } + } + + /** + * Sets the durationInMilliseconds + * Indicates how long this provisioning action took to finish. Measured in milliseconds. + * + * @param int $val The durationInMilliseconds + * + * @return ProvisioningObjectSummary + */ + public function setDurationInMilliseconds($val) + { + $this->_propDict["durationInMilliseconds"] = intval($val); + return $this; + } + + /** + * Gets the initiatedBy + * Details of who initiated this provisioning. + * + * @return Initiator|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + if (is_a($this->_propDict["initiatedBy"], "\Microsoft\Graph\Model\Initiator") || is_null($this->_propDict["initiatedBy"])) { + return $this->_propDict["initiatedBy"]; + } else { + $this->_propDict["initiatedBy"] = new Initiator($this->_propDict["initiatedBy"]); + return $this->_propDict["initiatedBy"]; + } + } + return null; + } + + /** + * Sets the initiatedBy + * Details of who initiated this provisioning. + * + * @param Initiator $val The initiatedBy + * + * @return ProvisioningObjectSummary + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the jobId + * The unique ID for the whole provisioning job. + * + * @return string|null The jobId + */ + public function getJobId() + { + if (array_key_exists("jobId", $this->_propDict)) { + return $this->_propDict["jobId"]; + } else { + return null; + } + } + + /** + * Sets the jobId + * The unique ID for the whole provisioning job. + * + * @param string $val The jobId + * + * @return ProvisioningObjectSummary + */ + public function setJobId($val) + { + $this->_propDict["jobId"] = $val; + return $this; + } + + + /** + * Gets the modifiedProperties + * Details of each property that was modified in this provisioning action on this object. + * + * @return array|null The modifiedProperties + */ + public function getModifiedProperties() + { + if (array_key_exists("modifiedProperties", $this->_propDict)) { + return $this->_propDict["modifiedProperties"]; + } else { + return null; + } + } + + /** + * Sets the modifiedProperties + * Details of each property that was modified in this provisioning action on this object. + * + * @param ModifiedProperty[] $val The modifiedProperties + * + * @return ProvisioningObjectSummary + */ + public function setModifiedProperties($val) + { + $this->_propDict["modifiedProperties"] = $val; + return $this; + } + + /** + * Gets the provisioningAction + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * + * @return ProvisioningAction|null The provisioningAction + */ + public function getProvisioningAction() + { + if (array_key_exists("provisioningAction", $this->_propDict)) { + if (is_a($this->_propDict["provisioningAction"], "\Microsoft\Graph\Model\ProvisioningAction") || is_null($this->_propDict["provisioningAction"])) { + return $this->_propDict["provisioningAction"]; + } else { + $this->_propDict["provisioningAction"] = new ProvisioningAction($this->_propDict["provisioningAction"]); + return $this->_propDict["provisioningAction"]; + } + } + return null; + } + + /** + * Sets the provisioningAction + * Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. + * + * @param ProvisioningAction $val The provisioningAction + * + * @return ProvisioningObjectSummary + */ + public function setProvisioningAction($val) + { + $this->_propDict["provisioningAction"] = $val; + return $this; + } + + /** + * Gets the provisioningStatusInfo + * Details of provisioning status. + * + * @return ProvisioningStatusInfo|null The provisioningStatusInfo + */ + public function getProvisioningStatusInfo() + { + if (array_key_exists("provisioningStatusInfo", $this->_propDict)) { + if (is_a($this->_propDict["provisioningStatusInfo"], "\Microsoft\Graph\Model\ProvisioningStatusInfo") || is_null($this->_propDict["provisioningStatusInfo"])) { + return $this->_propDict["provisioningStatusInfo"]; + } else { + $this->_propDict["provisioningStatusInfo"] = new ProvisioningStatusInfo($this->_propDict["provisioningStatusInfo"]); + return $this->_propDict["provisioningStatusInfo"]; + } + } + return null; + } + + /** + * Sets the provisioningStatusInfo + * Details of provisioning status. + * + * @param ProvisioningStatusInfo $val The provisioningStatusInfo + * + * @return ProvisioningObjectSummary + */ + public function setProvisioningStatusInfo($val) + { + $this->_propDict["provisioningStatusInfo"] = $val; + return $this; + } + + + /** + * Gets the provisioningSteps + * Details of each step in provisioning. + * + * @return array|null The provisioningSteps + */ + public function getProvisioningSteps() + { + if (array_key_exists("provisioningSteps", $this->_propDict)) { + return $this->_propDict["provisioningSteps"]; + } else { + return null; + } + } + + /** + * Sets the provisioningSteps + * Details of each step in provisioning. + * + * @param ProvisioningStep[] $val The provisioningSteps + * + * @return ProvisioningObjectSummary + */ + public function setProvisioningSteps($val) + { + $this->_propDict["provisioningSteps"] = $val; + return $this; + } + + /** + * Gets the servicePrincipal + * Represents the service principal used for provisioning. + * + * @return ProvisioningServicePrincipal|null The servicePrincipal + */ + public function getServicePrincipal() + { + if (array_key_exists("servicePrincipal", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipal"], "\Microsoft\Graph\Model\ProvisioningServicePrincipal") || is_null($this->_propDict["servicePrincipal"])) { + return $this->_propDict["servicePrincipal"]; + } else { + $this->_propDict["servicePrincipal"] = new ProvisioningServicePrincipal($this->_propDict["servicePrincipal"]); + return $this->_propDict["servicePrincipal"]; + } + } + return null; + } + + /** + * Sets the servicePrincipal + * Represents the service principal used for provisioning. + * + * @param ProvisioningServicePrincipal $val The servicePrincipal + * + * @return ProvisioningObjectSummary + */ + public function setServicePrincipal($val) + { + $this->_propDict["servicePrincipal"] = $val; + return $this; + } + + /** + * Gets the sourceIdentity + * Details of source object being provisioned. + * + * @return ProvisionedIdentity|null The sourceIdentity + */ + public function getSourceIdentity() + { + if (array_key_exists("sourceIdentity", $this->_propDict)) { + if (is_a($this->_propDict["sourceIdentity"], "\Microsoft\Graph\Model\ProvisionedIdentity") || is_null($this->_propDict["sourceIdentity"])) { + return $this->_propDict["sourceIdentity"]; + } else { + $this->_propDict["sourceIdentity"] = new ProvisionedIdentity($this->_propDict["sourceIdentity"]); + return $this->_propDict["sourceIdentity"]; + } + } + return null; + } + + /** + * Sets the sourceIdentity + * Details of source object being provisioned. + * + * @param ProvisionedIdentity $val The sourceIdentity + * + * @return ProvisioningObjectSummary + */ + public function setSourceIdentity($val) + { + $this->_propDict["sourceIdentity"] = $val; + return $this; + } + + /** + * Gets the sourceSystem + * Details of source system of the object being provisioned. + * + * @return ProvisioningSystem|null The sourceSystem + */ + public function getSourceSystem() + { + if (array_key_exists("sourceSystem", $this->_propDict)) { + if (is_a($this->_propDict["sourceSystem"], "\Microsoft\Graph\Model\ProvisioningSystem") || is_null($this->_propDict["sourceSystem"])) { + return $this->_propDict["sourceSystem"]; + } else { + $this->_propDict["sourceSystem"] = new ProvisioningSystem($this->_propDict["sourceSystem"]); + return $this->_propDict["sourceSystem"]; + } + } + return null; + } + + /** + * Sets the sourceSystem + * Details of source system of the object being provisioned. + * + * @param ProvisioningSystem $val The sourceSystem + * + * @return ProvisioningObjectSummary + */ + public function setSourceSystem($val) + { + $this->_propDict["sourceSystem"] = $val; + return $this; + } + + /** + * Gets the targetIdentity + * Details of target object being provisioned. + * + * @return ProvisionedIdentity|null The targetIdentity + */ + public function getTargetIdentity() + { + if (array_key_exists("targetIdentity", $this->_propDict)) { + if (is_a($this->_propDict["targetIdentity"], "\Microsoft\Graph\Model\ProvisionedIdentity") || is_null($this->_propDict["targetIdentity"])) { + return $this->_propDict["targetIdentity"]; + } else { + $this->_propDict["targetIdentity"] = new ProvisionedIdentity($this->_propDict["targetIdentity"]); + return $this->_propDict["targetIdentity"]; + } + } + return null; + } + + /** + * Sets the targetIdentity + * Details of target object being provisioned. + * + * @param ProvisionedIdentity $val The targetIdentity + * + * @return ProvisioningObjectSummary + */ + public function setTargetIdentity($val) + { + $this->_propDict["targetIdentity"] = $val; + return $this; + } + + /** + * Gets the targetSystem + * Details of target system of the object being provisioned. + * + * @return ProvisioningSystem|null The targetSystem + */ + public function getTargetSystem() + { + if (array_key_exists("targetSystem", $this->_propDict)) { + if (is_a($this->_propDict["targetSystem"], "\Microsoft\Graph\Model\ProvisioningSystem") || is_null($this->_propDict["targetSystem"])) { + return $this->_propDict["targetSystem"]; + } else { + $this->_propDict["targetSystem"] = new ProvisioningSystem($this->_propDict["targetSystem"]); + return $this->_propDict["targetSystem"]; + } + } + return null; + } + + /** + * Sets the targetSystem + * Details of target system of the object being provisioned. + * + * @param ProvisioningSystem $val The targetSystem + * + * @return ProvisioningObjectSummary + */ + public function setTargetSystem($val) + { + $this->_propDict["targetSystem"] = $val; + return $this; + } + + /** + * Gets the tenantId + * Unique Azure AD tenant ID. + * + * @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 + * Unique Azure AD tenant ID. + * + * @param string $val The tenantId + * + * @return ProvisioningObjectSummary + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningResult.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningResult.php new file mode 100644 index 0000000..6ecf5e8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningResult.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["errorInformation"], "\Microsoft\Graph\Model\ProvisioningErrorInfo") || is_null($this->_propDict["errorInformation"])) { + return $this->_propDict["errorInformation"]; + } else { + $this->_propDict["errorInformation"] = new ProvisioningErrorInfo($this->_propDict["errorInformation"]); + return $this->_propDict["errorInformation"]; + } + } + return null; + } + + /** + * Sets the errorInformation + * + * @param ProvisioningErrorInfo $val The value to assign to the errorInformation + * + * @return ProvisioningStatusInfo The ProvisioningStatusInfo + */ + public function setErrorInformation($val) + { + $this->_propDict["errorInformation"] = $val; + return $this; + } + + /** + * Gets the status + * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @return ProvisioningResult|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ProvisioningResult") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ProvisioningResult($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @param ProvisioningResult $val The value to assign to the status + * + * @return ProvisioningStatusInfo The ProvisioningStatusInfo + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStep.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStep.php new file mode 100644 index 0000000..0750662 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStep.php @@ -0,0 +1,181 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Summary of what occurred during the step. + * + * @param string $val The value of the description + * + * @return ProvisioningStep + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the details + * Details of what occurred during the step. + * + * @return DetailsInfo|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\DetailsInfo") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of what occurred during the step. + * + * @param DetailsInfo $val The value to assign to the details + * + * @return ProvisioningStep The ProvisioningStep + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the name + * Name of the step. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the step. + * + * @param string $val The value of the name + * + * @return ProvisioningStep + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the provisioningStepType + * Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. + * + * @return ProvisioningStepType|null The provisioningStepType + */ + public function getProvisioningStepType() + { + if (array_key_exists("provisioningStepType", $this->_propDict)) { + if (is_a($this->_propDict["provisioningStepType"], "\Microsoft\Graph\Model\ProvisioningStepType") || is_null($this->_propDict["provisioningStepType"])) { + return $this->_propDict["provisioningStepType"]; + } else { + $this->_propDict["provisioningStepType"] = new ProvisioningStepType($this->_propDict["provisioningStepType"]); + return $this->_propDict["provisioningStepType"]; + } + } + return null; + } + + /** + * Sets the provisioningStepType + * Type of step. Possible values are: import, scoping, matching, processing, referenceResolution, export, unknownFutureValue. + * + * @param ProvisioningStepType $val The value to assign to the provisioningStepType + * + * @return ProvisioningStep The ProvisioningStep + */ + public function setProvisioningStepType($val) + { + $this->_propDict["provisioningStepType"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @return ProvisioningResult|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ProvisioningResult") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ProvisioningResult($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the step. Possible values are: success, warning, failure, skipped, unknownFutureValue. + * + * @param ProvisioningResult $val The value to assign to the status + * + * @return ProvisioningStep The ProvisioningStep + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStepType.php b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStepType.php new file mode 100644 index 0000000..54c3e3c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStepType.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\DetailsInfo") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of the system. + * + * @param DetailsInfo $val The value to assign to the details + * + * @return ProvisioningSystem The ProvisioningSystem + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ProxiedDomain.php b/vendor/microsoft/microsoft-graph/src/Model/ProxiedDomain.php new file mode 100644 index 0000000..2a6eca4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ProxiedDomain.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["ipAddressOrFQDN"]; + } else { + return null; + } + } + + /** + * Sets the ipAddressOrFQDN + * The IP address or FQDN + * + * @param string $val The value of the ipAddressOrFQDN + * + * @return ProxiedDomain + */ + public function setIpAddressOrFQDN($val) + { + $this->_propDict["ipAddressOrFQDN"] = $val; + return $this; + } + /** + * Gets the proxy + * Proxy IP or FQDN + * + * @return string|null The proxy + */ + public function getProxy() + { + if (array_key_exists("proxy", $this->_propDict)) { + return $this->_propDict["proxy"]; + } else { + return null; + } + } + + /** + * Sets the proxy + * Proxy IP or FQDN + * + * @param string $val The value of the proxy + * + * @return ProxiedDomain + */ + public function setProxy($val) + { + $this->_propDict["proxy"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PublicClientApplication.php b/vendor/microsoft/microsoft-graph/src/Model/PublicClientApplication.php new file mode 100644 index 0000000..84bebde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PublicClientApplication.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @param string $val The value of the redirectUris + * + * @return PublicClientApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PublicError.php b/vendor/microsoft/microsoft-graph/src/Model/PublicError.php new file mode 100644 index 0000000..28e42e0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PublicError.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * Represents the error code. + * + * @param string $val The value of the code + * + * @return PublicError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the details + * Details of the error. + * + * @return PublicErrorDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PublicErrorDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PublicErrorDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * Details of the error. + * + * @param PublicErrorDetail $val The value to assign to the details + * + * @return PublicError The PublicError + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the innerError + * Details of the inner error. + * + * @return PublicInnerError|null The innerError + */ + public function getInnerError() + { + if (array_key_exists("innerError", $this->_propDict)) { + if (is_a($this->_propDict["innerError"], "\Microsoft\Graph\Model\PublicInnerError") || is_null($this->_propDict["innerError"])) { + return $this->_propDict["innerError"]; + } else { + $this->_propDict["innerError"] = new PublicInnerError($this->_propDict["innerError"]); + return $this->_propDict["innerError"]; + } + } + return null; + } + + /** + * Sets the innerError + * Details of the inner error. + * + * @param PublicInnerError $val The value to assign to the innerError + * + * @return PublicError The PublicError + */ + public function setInnerError($val) + { + $this->_propDict["innerError"] = $val; + return $this; + } + /** + * Gets the message + * A non-localized message for the developer. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * A non-localized message for the developer. + * + * @param string $val The value of the message + * + * @return PublicError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * The target of the error. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The target of the error. + * + * @param string $val The value of the target + * + * @return PublicError + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PublicErrorDetail.php b/vendor/microsoft/microsoft-graph/src/Model/PublicErrorDetail.php new file mode 100644 index 0000000..e4e7ae6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PublicErrorDetail.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return PublicErrorDetail + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return PublicErrorDetail + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * The target of the error. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The target of the error. + * + * @param string $val The value of the target + * + * @return PublicErrorDetail + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PublicInnerError.php b/vendor/microsoft/microsoft-graph/src/Model/PublicInnerError.php new file mode 100644 index 0000000..d98f367 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PublicInnerError.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return PublicInnerError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the details + * A collection of error details. + * + * @return PublicErrorDetail|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PublicErrorDetail") || is_null($this->_propDict["details"])) { + return $this->_propDict["details"]; + } else { + $this->_propDict["details"] = new PublicErrorDetail($this->_propDict["details"]); + return $this->_propDict["details"]; + } + } + return null; + } + + /** + * Sets the details + * A collection of error details. + * + * @param PublicErrorDetail $val The value to assign to the details + * + * @return PublicInnerError The PublicInnerError + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return PublicInnerError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the target + * The target of the error. + * + * @return string|null The target + */ + public function getTarget() + { + if (array_key_exists("target", $this->_propDict)) { + return $this->_propDict["target"]; + } else { + return null; + } + } + + /** + * Sets the target + * The target of the error. + * + * @param string $val The value of the target + * + * @return PublicInnerError + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PublicationFacet.php b/vendor/microsoft/microsoft-graph/src/Model/PublicationFacet.php new file mode 100644 index 0000000..f8cfca0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/PublicationFacet.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["level"]; + } else { + return null; + } + } + + /** + * Sets the level + * The state of publication for this document. Either published or checkout. Read-only. + * + * @param string $val The value of the level + * + * @return PublicationFacet + */ + public function setLevel($val) + { + $this->_propDict["level"] = $val; + return $this; + } + /** + * Gets the versionId + * The unique identifier for the version that is visible to the current caller. Read-only. + * + * @return string|null The versionId + */ + public function getVersionId() + { + if (array_key_exists("versionId", $this->_propDict)) { + return $this->_propDict["versionId"]; + } else { + return null; + } + } + + /** + * Sets the versionId + * The unique identifier for the version that is visible to the current caller. Read-only. + * + * @param string $val The value of the versionId + * + * @return PublicationFacet + */ + public function setVersionId($val) + { + $this->_propDict["versionId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Quota.php b/vendor/microsoft/microsoft-graph/src/Model/Quota.php new file mode 100644 index 0000000..40e991e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Quota.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["deleted"]; + } else { + return null; + } + } + + /** + * Sets the deleted + * Total space consumed by files in the recycle bin, in bytes. Read-only. + * + * @param int $val The value of the deleted + * + * @return Quota + */ + public function setDeleted($val) + { + $this->_propDict["deleted"] = $val; + return $this; + } + /** + * Gets the remaining + * Total space remaining before reaching the quota limit, in bytes. Read-only. + * + * @return int|null The remaining + */ + public function getRemaining() + { + if (array_key_exists("remaining", $this->_propDict)) { + return $this->_propDict["remaining"]; + } else { + return null; + } + } + + /** + * Sets the remaining + * Total space remaining before reaching the quota limit, in bytes. Read-only. + * + * @param int $val The value of the remaining + * + * @return Quota + */ + public function setRemaining($val) + { + $this->_propDict["remaining"] = $val; + return $this; + } + /** + * Gets the state + * Enumeration value that indicates the state of the storage space. Read-only. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Enumeration value that indicates the state of the storage space. Read-only. + * + * @param string $val The value of the state + * + * @return Quota + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the storagePlanInformation + * Information about the drive's storage quota plans. Only in Personal OneDrive. + * + * @return StoragePlanInformation|null The storagePlanInformation + */ + public function getStoragePlanInformation() + { + if (array_key_exists("storagePlanInformation", $this->_propDict)) { + if (is_a($this->_propDict["storagePlanInformation"], "\Microsoft\Graph\Model\StoragePlanInformation") || is_null($this->_propDict["storagePlanInformation"])) { + return $this->_propDict["storagePlanInformation"]; + } else { + $this->_propDict["storagePlanInformation"] = new StoragePlanInformation($this->_propDict["storagePlanInformation"]); + return $this->_propDict["storagePlanInformation"]; + } + } + return null; + } + + /** + * Sets the storagePlanInformation + * Information about the drive's storage quota plans. Only in Personal OneDrive. + * + * @param StoragePlanInformation $val The value to assign to the storagePlanInformation + * + * @return Quota The Quota + */ + public function setStoragePlanInformation($val) + { + $this->_propDict["storagePlanInformation"] = $val; + return $this; + } + /** + * Gets the total + * Total allowed storage space, in bytes. Read-only. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * Total allowed storage space, in bytes. Read-only. + * + * @param int $val The value of the total + * + * @return Quota + */ + public function setTotal($val) + { + $this->_propDict["total"] = $val; + return $this; + } + /** + * Gets the used + * Total space used, in bytes. Read-only. + * + * @return int|null The used + */ + public function getUsed() + { + if (array_key_exists("used", $this->_propDict)) { + return $this->_propDict["used"]; + } else { + return null; + } + } + + /** + * Sets the used + * Total space used, in bytes. Read-only. + * + * @param int $val The value of the used + * + * @return Quota + */ + public function setUsed($val) + { + $this->_propDict["used"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RatingAppsType.php b/vendor/microsoft/microsoft-graph/src/Model/RatingAppsType.php new file mode 100644 index 0000000..c420c4d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RatingAppsType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * Resource to grant access to users or groups. + * + * @param UnifiedRoleAssignment[] $val The roleAssignments + * + * @return RbacApplication + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles. + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles. + * + * @param UnifiedRoleDefinition[] $val The roleDefinitions + * + * @return RbacApplication + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentScheduleInstances + * Instances for active role assignments. + * + * @return array|null The roleAssignmentScheduleInstances + */ + public function getRoleAssignmentScheduleInstances() + { + if (array_key_exists("roleAssignmentScheduleInstances", $this->_propDict)) { + return $this->_propDict["roleAssignmentScheduleInstances"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentScheduleInstances + * Instances for active role assignments. + * + * @param UnifiedRoleAssignmentScheduleInstance[] $val The roleAssignmentScheduleInstances + * + * @return RbacApplication + */ + public function setRoleAssignmentScheduleInstances($val) + { + $this->_propDict["roleAssignmentScheduleInstances"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentScheduleRequests + * Requests for active role assignments to principals through PIM. + * + * @return array|null The roleAssignmentScheduleRequests + */ + public function getRoleAssignmentScheduleRequests() + { + if (array_key_exists("roleAssignmentScheduleRequests", $this->_propDict)) { + return $this->_propDict["roleAssignmentScheduleRequests"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentScheduleRequests + * Requests for active role assignments to principals through PIM. + * + * @param UnifiedRoleAssignmentScheduleRequest[] $val The roleAssignmentScheduleRequests + * + * @return RbacApplication + */ + public function setRoleAssignmentScheduleRequests($val) + { + $this->_propDict["roleAssignmentScheduleRequests"] = $val; + return $this; + } + + + /** + * Gets the roleAssignmentSchedules + * Schedules for active role assignment operations. + * + * @return array|null The roleAssignmentSchedules + */ + public function getRoleAssignmentSchedules() + { + if (array_key_exists("roleAssignmentSchedules", $this->_propDict)) { + return $this->_propDict["roleAssignmentSchedules"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentSchedules + * Schedules for active role assignment operations. + * + * @param UnifiedRoleAssignmentSchedule[] $val The roleAssignmentSchedules + * + * @return RbacApplication + */ + public function setRoleAssignmentSchedules($val) + { + $this->_propDict["roleAssignmentSchedules"] = $val; + return $this; + } + + + /** + * Gets the roleEligibilityScheduleInstances + * Instances for role eligibility requests. + * + * @return array|null The roleEligibilityScheduleInstances + */ + public function getRoleEligibilityScheduleInstances() + { + if (array_key_exists("roleEligibilityScheduleInstances", $this->_propDict)) { + return $this->_propDict["roleEligibilityScheduleInstances"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilityScheduleInstances + * Instances for role eligibility requests. + * + * @param UnifiedRoleEligibilityScheduleInstance[] $val The roleEligibilityScheduleInstances + * + * @return RbacApplication + */ + public function setRoleEligibilityScheduleInstances($val) + { + $this->_propDict["roleEligibilityScheduleInstances"] = $val; + return $this; + } + + + /** + * Gets the roleEligibilityScheduleRequests + * Requests for role eligibilities for principals through PIM. + * + * @return array|null The roleEligibilityScheduleRequests + */ + public function getRoleEligibilityScheduleRequests() + { + if (array_key_exists("roleEligibilityScheduleRequests", $this->_propDict)) { + return $this->_propDict["roleEligibilityScheduleRequests"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilityScheduleRequests + * Requests for role eligibilities for principals through PIM. + * + * @param UnifiedRoleEligibilityScheduleRequest[] $val The roleEligibilityScheduleRequests + * + * @return RbacApplication + */ + public function setRoleEligibilityScheduleRequests($val) + { + $this->_propDict["roleEligibilityScheduleRequests"] = $val; + return $this; + } + + + /** + * Gets the roleEligibilitySchedules + * Schedules for role eligibility operations. + * + * @return array|null The roleEligibilitySchedules + */ + public function getRoleEligibilitySchedules() + { + if (array_key_exists("roleEligibilitySchedules", $this->_propDict)) { + return $this->_propDict["roleEligibilitySchedules"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilitySchedules + * Schedules for role eligibility operations. + * + * @param UnifiedRoleEligibilitySchedule[] $val The roleEligibilitySchedules + * + * @return RbacApplication + */ + public function setRoleEligibilitySchedules($val) + { + $this->_propDict["roleEligibilitySchedules"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecentNotebook.php b/vendor/microsoft/microsoft-graph/src/Model/RecentNotebook.php new file mode 100644 index 0000000..2b23acf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecentNotebook.php @@ -0,0 +1,153 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the notebook. + * + * @param string $val The value of the displayName + * + * @return RecentNotebook + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastAccessedTime + * The date and time when the notebook was last modified. The timestamp 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 lastAccessedTime + */ + public function getLastAccessedTime() + { + if (array_key_exists("lastAccessedTime", $this->_propDict)) { + if (is_a($this->_propDict["lastAccessedTime"], "\DateTime") || is_null($this->_propDict["lastAccessedTime"])) { + return $this->_propDict["lastAccessedTime"]; + } else { + $this->_propDict["lastAccessedTime"] = new \DateTime($this->_propDict["lastAccessedTime"]); + return $this->_propDict["lastAccessedTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedTime + * The date and time when the notebook was last modified. The timestamp 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 lastAccessedTime + * + * @return RecentNotebook The RecentNotebook + */ + public function setLastAccessedTime($val) + { + $this->_propDict["lastAccessedTime"] = $val; + return $this; + } + + /** + * Gets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @return RecentNotebookLinks|null The links + */ + public function getLinks() + { + if (array_key_exists("links", $this->_propDict)) { + if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\RecentNotebookLinks") || is_null($this->_propDict["links"])) { + return $this->_propDict["links"]; + } else { + $this->_propDict["links"] = new RecentNotebookLinks($this->_propDict["links"]); + return $this->_propDict["links"]; + } + } + return null; + } + + /** + * Sets the links + * Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote client, if it's installed. The oneNoteWebURL link opens the notebook in OneNote on the web. + * + * @param RecentNotebookLinks $val The value to assign to the links + * + * @return RecentNotebook The RecentNotebook + */ + public function setLinks($val) + { + $this->_propDict["links"] = $val; + return $this; + } + + /** + * Gets the sourceService + * The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive. + * + * @return OnenoteSourceService|null The sourceService + */ + public function getSourceService() + { + if (array_key_exists("sourceService", $this->_propDict)) { + if (is_a($this->_propDict["sourceService"], "\Microsoft\Graph\Model\OnenoteSourceService") || is_null($this->_propDict["sourceService"])) { + return $this->_propDict["sourceService"]; + } else { + $this->_propDict["sourceService"] = new OnenoteSourceService($this->_propDict["sourceService"]); + return $this->_propDict["sourceService"]; + } + } + return null; + } + + /** + * Sets the sourceService + * The backend store where the Notebook resides, either OneDriveForBusiness or OneDrive. + * + * @param OnenoteSourceService $val The value to assign to the sourceService + * + * @return RecentNotebook The RecentNotebook + */ + public function setSourceService($val) + { + $this->_propDict["sourceService"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecentNotebookLinks.php b/vendor/microsoft/microsoft-graph/src/Model/RecentNotebookLinks.php new file mode 100644 index 0000000..6722999 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecentNotebookLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the notebook in the OneNote client, if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return RecentNotebookLinks The RecentNotebookLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the notebook in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return RecentNotebookLinks The RecentNotebookLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Recipient.php b/vendor/microsoft/microsoft-graph/src/Model/Recipient.php new file mode 100644 index 0000000..d63c91a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Recipient.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\EmailAddress") || is_null($this->_propDict["emailAddress"])) { + return $this->_propDict["emailAddress"]; + } else { + $this->_propDict["emailAddress"] = new EmailAddress($this->_propDict["emailAddress"]); + return $this->_propDict["emailAddress"]; + } + } + return null; + } + + /** + * Sets the emailAddress + * The recipient's email address. + * + * @param EmailAddress $val The value to assign to the emailAddress + * + * @return Recipient The Recipient + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecipientScopeType.php b/vendor/microsoft/microsoft-graph/src/Model/RecipientScopeType.php new file mode 100644 index 0000000..fdc6eac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecipientScopeType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["recordingAccessToken"]; + } else { + return null; + } + } + + /** + * Sets the recordingAccessToken + * The access token required to retrieve the recording. + * + * @param string $val The recordingAccessToken + * + * @return RecordOperation + */ + public function setRecordingAccessToken($val) + { + $this->_propDict["recordingAccessToken"] = $val; + return $this; + } + + /** + * Gets the recordingLocation + * The location where the recording is located. + * + * @return string|null The recordingLocation + */ + public function getRecordingLocation() + { + if (array_key_exists("recordingLocation", $this->_propDict)) { + return $this->_propDict["recordingLocation"]; + } else { + return null; + } + } + + /** + * Sets the recordingLocation + * The location where the recording is located. + * + * @param string $val The recordingLocation + * + * @return RecordOperation + */ + public function setRecordingLocation($val) + { + $this->_propDict["recordingLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecordingInfo.php b/vendor/microsoft/microsoft-graph/src/Model/RecordingInfo.php new file mode 100644 index 0000000..7ac5d9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecordingInfo.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * The identities of recording initiator. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return RecordingInfo The RecordingInfo + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + + /** + * Gets the recordingStatus + * Possible values are: unknown, notRecording, recording, or failed. + * + * @return RecordingStatus|null The recordingStatus + */ + public function getRecordingStatus() + { + if (array_key_exists("recordingStatus", $this->_propDict)) { + if (is_a($this->_propDict["recordingStatus"], "\Microsoft\Graph\Model\RecordingStatus") || is_null($this->_propDict["recordingStatus"])) { + return $this->_propDict["recordingStatus"]; + } else { + $this->_propDict["recordingStatus"] = new RecordingStatus($this->_propDict["recordingStatus"]); + return $this->_propDict["recordingStatus"]; + } + } + return null; + } + + /** + * Sets the recordingStatus + * Possible values are: unknown, notRecording, recording, or failed. + * + * @param RecordingStatus $val The value to assign to the recordingStatus + * + * @return RecordingInfo The RecordingInfo + */ + public function setRecordingStatus($val) + { + $this->_propDict["recordingStatus"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecordingStatus.php b/vendor/microsoft/microsoft-graph/src/Model/RecordingStatus.php new file mode 100644 index 0000000..18e30ac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecordingStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["dayOfMonth"]; + } else { + return null; + } + } + + /** + * Sets the dayOfMonth + * The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly. + * + * @param int $val The value of the dayOfMonth + * + * @return RecurrencePattern + */ + public function setDayOfMonth($val) + { + $this->_propDict["dayOfMonth"] = $val; + return $this; + } + + /** + * Gets the daysOfWeek + * A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. + * + * @return DayOfWeek|null The daysOfWeek + */ + public function getDaysOfWeek() + { + if (array_key_exists("daysOfWeek", $this->_propDict)) { + if (is_a($this->_propDict["daysOfWeek"], "\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["daysOfWeek"])) { + return $this->_propDict["daysOfWeek"]; + } else { + $this->_propDict["daysOfWeek"] = new DayOfWeek($this->_propDict["daysOfWeek"]); + return $this->_propDict["daysOfWeek"]; + } + } + return null; + } + + /** + * Sets the daysOfWeek + * A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly. + * + * @param DayOfWeek $val The value to assign to the daysOfWeek + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setDaysOfWeek($val) + { + $this->_propDict["daysOfWeek"] = $val; + return $this; + } + + /** + * Gets the firstDayOfWeek + * The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. + * + * @return DayOfWeek|null The firstDayOfWeek + */ + public function getFirstDayOfWeek() + { + if (array_key_exists("firstDayOfWeek", $this->_propDict)) { + if (is_a($this->_propDict["firstDayOfWeek"], "\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["firstDayOfWeek"])) { + return $this->_propDict["firstDayOfWeek"]; + } else { + $this->_propDict["firstDayOfWeek"] = new DayOfWeek($this->_propDict["firstDayOfWeek"]); + return $this->_propDict["firstDayOfWeek"]; + } + } + return null; + } + + /** + * Sets the firstDayOfWeek + * The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. + * + * @param DayOfWeek $val The value to assign to the firstDayOfWeek + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setFirstDayOfWeek($val) + { + $this->_propDict["firstDayOfWeek"] = $val; + return $this; + } + + /** + * Gets the index + * Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. + * + * @return WeekIndex|null The index + */ + public function getIndex() + { + if (array_key_exists("index", $this->_propDict)) { + if (is_a($this->_propDict["index"], "\Microsoft\Graph\Model\WeekIndex") || is_null($this->_propDict["index"])) { + return $this->_propDict["index"]; + } else { + $this->_propDict["index"] = new WeekIndex($this->_propDict["index"]); + return $this->_propDict["index"]; + } + } + return null; + } + + /** + * Sets the index + * Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. + * + * @param WeekIndex $val The value to assign to the index + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setIndex($val) + { + $this->_propDict["index"] = $val; + return $this; + } + /** + * Gets the interval + * The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. + * + * @return int|null The interval + */ + public function getInterval() + { + if (array_key_exists("interval", $this->_propDict)) { + return $this->_propDict["interval"]; + } else { + return null; + } + } + + /** + * Sets the interval + * The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required. + * + * @param int $val The value of the interval + * + * @return RecurrencePattern + */ + public function setInterval($val) + { + $this->_propDict["interval"] = $val; + return $this; + } + /** + * Gets the month + * The month in which the event occurs. This is a number from 1 to 12. + * + * @return int|null The month + */ + public function getMonth() + { + if (array_key_exists("month", $this->_propDict)) { + return $this->_propDict["month"]; + } else { + return null; + } + } + + /** + * Sets the month + * The month in which the event occurs. This is a number from 1 to 12. + * + * @param int $val The value of the month + * + * @return RecurrencePattern + */ + public function setMonth($val) + { + $this->_propDict["month"] = $val; + return $this; + } + + /** + * Gets the type + * The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property. + * + * @return RecurrencePatternType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\RecurrencePatternType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new RecurrencePatternType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property. + * + * @param RecurrencePatternType $val The value to assign to the type + * + * @return RecurrencePattern The RecurrencePattern + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecurrencePatternType.php b/vendor/microsoft/microsoft-graph/src/Model/RecurrencePatternType.php new file mode 100644 index 0000000..6b91178 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecurrencePatternType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) { + return $this->_propDict["endDate"]; + } else { + $this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]); + return $this->_propDict["endDate"]; + } + } + return null; + } + + /** + * Sets the endDate + * The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate. + * + * @param \DateTime $val The value to assign to the endDate + * + * @return RecurrenceRange The RecurrenceRange + */ + public function setEndDate($val) + { + $this->_propDict["endDate"] = $val; + return $this; + } + /** + * Gets the numberOfOccurrences + * The number of times to repeat the event. Required and must be positive if type is numbered. + * + * @return int|null The numberOfOccurrences + */ + public function getNumberOfOccurrences() + { + if (array_key_exists("numberOfOccurrences", $this->_propDict)) { + return $this->_propDict["numberOfOccurrences"]; + } else { + return null; + } + } + + /** + * Sets the numberOfOccurrences + * The number of times to repeat the event. Required and must be positive if type is numbered. + * + * @param int $val The value of the numberOfOccurrences + * + * @return RecurrenceRange + */ + public function setNumberOfOccurrences($val) + { + $this->_propDict["numberOfOccurrences"] = $val; + return $this; + } + /** + * Gets the recurrenceTimeZone + * Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used. + * + * @return string|null The recurrenceTimeZone + */ + public function getRecurrenceTimeZone() + { + if (array_key_exists("recurrenceTimeZone", $this->_propDict)) { + return $this->_propDict["recurrenceTimeZone"]; + } else { + return null; + } + } + + /** + * Sets the recurrenceTimeZone + * Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used. + * + * @param string $val The value of the recurrenceTimeZone + * + * @return RecurrenceRange + */ + public function setRecurrenceTimeZone($val) + { + $this->_propDict["recurrenceTimeZone"] = $val; + return $this; + } + + /** + * Gets the startDate + * The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required. + * + * @return \DateTime|null The startDate + */ + public function getStartDate() + { + if (array_key_exists("startDate", $this->_propDict)) { + if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) { + return $this->_propDict["startDate"]; + } else { + $this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]); + return $this->_propDict["startDate"]; + } + } + return null; + } + + /** + * Sets the startDate + * The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required. + * + * @param \DateTime $val The value to assign to the startDate + * + * @return RecurrenceRange The RecurrenceRange + */ + public function setStartDate($val) + { + $this->_propDict["startDate"] = $val; + return $this; + } + + /** + * Gets the type + * The recurrence range. Possible values are: endDate, noEnd, numbered. Required. + * + * @return RecurrenceRangeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\RecurrenceRangeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new RecurrenceRangeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The recurrence range. Possible values are: endDate, noEnd, numbered. Required. + * + * @param RecurrenceRangeType $val The value to assign to the type + * + * @return RecurrenceRange The RecurrenceRange + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecurrenceRangeType.php b/vendor/microsoft/microsoft-graph/src/Model/RecurrenceRangeType.php new file mode 100644 index 0000000..c5219d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RecurrenceRangeType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["authenticationMethodsRegistrationCampaign"], "\Microsoft\Graph\Model\AuthenticationMethodsRegistrationCampaign") || is_null($this->_propDict["authenticationMethodsRegistrationCampaign"])) { + return $this->_propDict["authenticationMethodsRegistrationCampaign"]; + } else { + $this->_propDict["authenticationMethodsRegistrationCampaign"] = new AuthenticationMethodsRegistrationCampaign($this->_propDict["authenticationMethodsRegistrationCampaign"]); + return $this->_propDict["authenticationMethodsRegistrationCampaign"]; + } + } + return null; + } + + /** + * Sets the authenticationMethodsRegistrationCampaign + * Run campaigns to remind users to setup targeted authentication methods. + * + * @param AuthenticationMethodsRegistrationCampaign $val The value to assign to the authenticationMethodsRegistrationCampaign + * + * @return RegistrationEnforcement The RegistrationEnforcement + */ + public function setAuthenticationMethodsRegistrationCampaign($val) + { + $this->_propDict["authenticationMethodsRegistrationCampaign"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RegistryHive.php b/vendor/microsoft/microsoft-graph/src/Model/RegistryHive.php new file mode 100644 index 0000000..e6eb9a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RegistryHive.php @@ -0,0 +1,41 @@ +_propDict)) { + if (is_a($this->_propDict["hive"], "\Microsoft\Graph\Model\RegistryHive") || is_null($this->_propDict["hive"])) { + return $this->_propDict["hive"]; + } else { + $this->_propDict["hive"] = new RegistryHive($this->_propDict["hive"]); + return $this->_propDict["hive"]; + } + } + return null; + } + + /** + * Sets the hive + * A Windows registry hive : HKEY_CURRENT_CONFIG HKEY_CURRENT_USER HKEY_LOCAL_MACHINE/SAM HKEY_LOCAL_MACHINE/Security HKEY_LOCAL_MACHINE/Software HKEY_LOCAL_MACHINE/System HKEY_USERS/.Default. Possible values are: unknown, currentConfig, currentUser, localMachineSam, localMachineSecurity, localMachineSoftware, localMachineSystem, usersDefault. + * + * @param RegistryHive $val The value to assign to the hive + * + * @return RegistryKeyState The RegistryKeyState + */ + public function setHive($val) + { + $this->_propDict["hive"] = $val; + return $this; + } + /** + * Gets the key + * Current (i.e. changed) registry key (excludes HIVE). + * + * @return string|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Current (i.e. changed) registry key (excludes HIVE). + * + * @param string $val The value of the key + * + * @return RegistryKeyState + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the oldKey + * Previous (i.e. before changed) registry key (excludes HIVE). + * + * @return string|null The oldKey + */ + public function getOldKey() + { + if (array_key_exists("oldKey", $this->_propDict)) { + return $this->_propDict["oldKey"]; + } else { + return null; + } + } + + /** + * Sets the oldKey + * Previous (i.e. before changed) registry key (excludes HIVE). + * + * @param string $val The value of the oldKey + * + * @return RegistryKeyState + */ + public function setOldKey($val) + { + $this->_propDict["oldKey"] = $val; + return $this; + } + /** + * Gets the oldValueData + * Previous (i.e. before changed) registry key value data (contents). + * + * @return string|null The oldValueData + */ + public function getOldValueData() + { + if (array_key_exists("oldValueData", $this->_propDict)) { + return $this->_propDict["oldValueData"]; + } else { + return null; + } + } + + /** + * Sets the oldValueData + * Previous (i.e. before changed) registry key value data (contents). + * + * @param string $val The value of the oldValueData + * + * @return RegistryKeyState + */ + public function setOldValueData($val) + { + $this->_propDict["oldValueData"] = $val; + return $this; + } + /** + * Gets the oldValueName + * Previous (i.e. before changed) registry key value name. + * + * @return string|null The oldValueName + */ + public function getOldValueName() + { + if (array_key_exists("oldValueName", $this->_propDict)) { + return $this->_propDict["oldValueName"]; + } else { + return null; + } + } + + /** + * Sets the oldValueName + * Previous (i.e. before changed) registry key value name. + * + * @param string $val The value of the oldValueName + * + * @return RegistryKeyState + */ + public function setOldValueName($val) + { + $this->_propDict["oldValueName"] = $val; + return $this; + } + + /** + * Gets the operation + * Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. + * + * @return RegistryOperation|null The operation + */ + public function getOperation() + { + if (array_key_exists("operation", $this->_propDict)) { + if (is_a($this->_propDict["operation"], "\Microsoft\Graph\Model\RegistryOperation") || is_null($this->_propDict["operation"])) { + return $this->_propDict["operation"]; + } else { + $this->_propDict["operation"] = new RegistryOperation($this->_propDict["operation"]); + return $this->_propDict["operation"]; + } + } + return null; + } + + /** + * Sets the operation + * Operation that changed the registry key name and/or value. Possible values are: unknown, create, modify, delete. + * + * @param RegistryOperation $val The value to assign to the operation + * + * @return RegistryKeyState The RegistryKeyState + */ + public function setOperation($val) + { + $this->_propDict["operation"] = $val; + return $this; + } + /** + * Gets the processId + * Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection). + * + * @return int|null The processId + */ + public function getProcessId() + { + if (array_key_exists("processId", $this->_propDict)) { + return $this->_propDict["processId"]; + } else { + return null; + } + } + + /** + * Sets the processId + * Process ID (PID) of the process that modified the registry key (process details will appear in the alert 'processes' collection). + * + * @param int $val The value of the processId + * + * @return RegistryKeyState + */ + public function setProcessId($val) + { + $this->_propDict["processId"] = $val; + return $this; + } + /** + * Gets the valueData + * Current (i.e. changed) registry key value data (contents). + * + * @return string|null The valueData + */ + public function getValueData() + { + if (array_key_exists("valueData", $this->_propDict)) { + return $this->_propDict["valueData"]; + } else { + return null; + } + } + + /** + * Sets the valueData + * Current (i.e. changed) registry key value data (contents). + * + * @param string $val The value of the valueData + * + * @return RegistryKeyState + */ + public function setValueData($val) + { + $this->_propDict["valueData"] = $val; + return $this; + } + /** + * Gets the valueName + * Current (i.e. changed) registry key value name + * + * @return string|null The valueName + */ + public function getValueName() + { + if (array_key_exists("valueName", $this->_propDict)) { + return $this->_propDict["valueName"]; + } else { + return null; + } + } + + /** + * Sets the valueName + * Current (i.e. changed) registry key value name + * + * @param string $val The value of the valueName + * + * @return RegistryKeyState + */ + public function setValueName($val) + { + $this->_propDict["valueName"] = $val; + return $this; + } + + /** + * Gets the valueType + * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * + * @return RegistryValueType|null The valueType + */ + public function getValueType() + { + if (array_key_exists("valueType", $this->_propDict)) { + if (is_a($this->_propDict["valueType"], "\Microsoft\Graph\Model\RegistryValueType") || is_null($this->_propDict["valueType"])) { + return $this->_propDict["valueType"]; + } else { + $this->_propDict["valueType"] = new RegistryValueType($this->_propDict["valueType"]); + return $this->_propDict["valueType"]; + } + } + return null; + } + + /** + * Sets the valueType + * Registry key value type REG_BINARY REG_DWORD REG_DWORD_LITTLE_ENDIAN REG_DWORD_BIG_ENDIANREG_EXPAND_SZ REG_LINK REG_MULTI_SZ REG_NONE REG_QWORD REG_QWORD_LITTLE_ENDIAN REG_SZ Possible values are: unknown, binary, dword, dwordLittleEndian, dwordBigEndian, expandSz, link, multiSz, none, qword, qwordlittleEndian, sz. + * + * @param RegistryValueType $val The value to assign to the valueType + * + * @return RegistryKeyState The RegistryKeyState + */ + public function setValueType($val) + { + $this->_propDict["valueType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RegistryOperation.php b/vendor/microsoft/microsoft-graph/src/Model/RegistryOperation.php new file mode 100644 index 0000000..27529dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RegistryOperation.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["reason"], "\Microsoft\Graph\Model\RejectReason") || is_null($this->_propDict["reason"])) { + return $this->_propDict["reason"]; + } else { + $this->_propDict["reason"] = new RejectReason($this->_propDict["reason"]); + return $this->_propDict["reason"]; + } + } + return null; + } + + /** + * Sets the reason + * The rejection reason. Possible values are None, Busy, and Forbidden. + * + * @param RejectReason $val The value to assign to the reason + * + * @return RejectJoinResponse The RejectJoinResponse + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RejectReason.php b/vendor/microsoft/microsoft-graph/src/Model/RejectReason.php new file mode 100644 index 0000000..3dd0297 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RejectReason.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["accessConsent"]; + } else { + return null; + } + } + + /** + * Sets the accessConsent + * Indicates whether the user has been consented to access student data. + * + * @param bool $val The value of the accessConsent + * + * @return RelatedContact + */ + public function setAccessConsent($val) + { + $this->_propDict["accessConsent"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the contact. Required. + * + * @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 + * Name of the contact. Required. + * + * @param string $val The value of the displayName + * + * @return RelatedContact + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the emailAddress + * Email address of the contact. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email address of the contact. + * + * @param string $val The value of the emailAddress + * + * @return RelatedContact + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + /** + * Gets the mobilePhone + * Mobile phone number of the contact. + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * Mobile phone number of the contact. + * + * @param string $val The value of the mobilePhone + * + * @return RelatedContact + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the relationship + * Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue. + * + * @return ContactRelationship|null The relationship + */ + public function getRelationship() + { + if (array_key_exists("relationship", $this->_propDict)) { + if (is_a($this->_propDict["relationship"], "\Microsoft\Graph\Model\ContactRelationship") || is_null($this->_propDict["relationship"])) { + return $this->_propDict["relationship"]; + } else { + $this->_propDict["relationship"] = new ContactRelationship($this->_propDict["relationship"]); + return $this->_propDict["relationship"]; + } + } + return null; + } + + /** + * Sets the relationship + * Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue. + * + * @param ContactRelationship $val The value to assign to the relationship + * + * @return RelatedContact The RelatedContact + */ + public function setRelationship($val) + { + $this->_propDict["relationship"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Reminder.php b/vendor/microsoft/microsoft-graph/src/Model/Reminder.php new file mode 100644 index 0000000..d3f7436 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Reminder.php @@ -0,0 +1,270 @@ +_propDict)) { + return $this->_propDict["changeKey"]; + } else { + return null; + } + } + + /** + * Sets the changeKey + * Identifies the version of the reminder. Every time the reminder is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. + * + * @param string $val The value of the changeKey + * + * @return Reminder + */ + public function setChangeKey($val) + { + $this->_propDict["changeKey"] = $val; + return $this; + } + + /** + * Gets the eventEndTime + * The date, time and time zone that the event ends. + * + * @return DateTimeTimeZone|null The eventEndTime + */ + public function getEventEndTime() + { + if (array_key_exists("eventEndTime", $this->_propDict)) { + if (is_a($this->_propDict["eventEndTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["eventEndTime"])) { + return $this->_propDict["eventEndTime"]; + } else { + $this->_propDict["eventEndTime"] = new DateTimeTimeZone($this->_propDict["eventEndTime"]); + return $this->_propDict["eventEndTime"]; + } + } + return null; + } + + /** + * Sets the eventEndTime + * The date, time and time zone that the event ends. + * + * @param DateTimeTimeZone $val The value to assign to the eventEndTime + * + * @return Reminder The Reminder + */ + public function setEventEndTime($val) + { + $this->_propDict["eventEndTime"] = $val; + return $this; + } + /** + * Gets the eventId + * The unique ID of the event. Read only. + * + * @return string|null The eventId + */ + public function getEventId() + { + if (array_key_exists("eventId", $this->_propDict)) { + return $this->_propDict["eventId"]; + } else { + return null; + } + } + + /** + * Sets the eventId + * The unique ID of the event. Read only. + * + * @param string $val The value of the eventId + * + * @return Reminder + */ + public function setEventId($val) + { + $this->_propDict["eventId"] = $val; + return $this; + } + + /** + * Gets the eventLocation + * The location of the event. + * + * @return Location|null The eventLocation + */ + public function getEventLocation() + { + if (array_key_exists("eventLocation", $this->_propDict)) { + if (is_a($this->_propDict["eventLocation"], "\Microsoft\Graph\Model\Location") || is_null($this->_propDict["eventLocation"])) { + return $this->_propDict["eventLocation"]; + } else { + $this->_propDict["eventLocation"] = new Location($this->_propDict["eventLocation"]); + return $this->_propDict["eventLocation"]; + } + } + return null; + } + + /** + * Sets the eventLocation + * The location of the event. + * + * @param Location $val The value to assign to the eventLocation + * + * @return Reminder The Reminder + */ + public function setEventLocation($val) + { + $this->_propDict["eventLocation"] = $val; + return $this; + } + + /** + * Gets the eventStartTime + * The date, time, and time zone that the event starts. + * + * @return DateTimeTimeZone|null The eventStartTime + */ + public function getEventStartTime() + { + if (array_key_exists("eventStartTime", $this->_propDict)) { + if (is_a($this->_propDict["eventStartTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["eventStartTime"])) { + return $this->_propDict["eventStartTime"]; + } else { + $this->_propDict["eventStartTime"] = new DateTimeTimeZone($this->_propDict["eventStartTime"]); + return $this->_propDict["eventStartTime"]; + } + } + return null; + } + + /** + * Sets the eventStartTime + * The date, time, and time zone that the event starts. + * + * @param DateTimeTimeZone $val The value to assign to the eventStartTime + * + * @return Reminder The Reminder + */ + public function setEventStartTime($val) + { + $this->_propDict["eventStartTime"] = $val; + return $this; + } + /** + * Gets the eventSubject + * The text of the event's subject line. + * + * @return string|null The eventSubject + */ + public function getEventSubject() + { + if (array_key_exists("eventSubject", $this->_propDict)) { + return $this->_propDict["eventSubject"]; + } else { + return null; + } + } + + /** + * Sets the eventSubject + * The text of the event's subject line. + * + * @param string $val The value of the eventSubject + * + * @return Reminder + */ + public function setEventSubject($val) + { + $this->_propDict["eventSubject"] = $val; + return $this; + } + /** + * Gets the eventWebLink + * The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. + * + * @return string|null The eventWebLink + */ + public function getEventWebLink() + { + if (array_key_exists("eventWebLink", $this->_propDict)) { + return $this->_propDict["eventWebLink"]; + } else { + return null; + } + } + + /** + * Sets the eventWebLink + * The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. + * + * @param string $val The value of the eventWebLink + * + * @return Reminder + */ + public function setEventWebLink($val) + { + $this->_propDict["eventWebLink"] = $val; + return $this; + } + + /** + * Gets the reminderFireTime + * The date, time, and time zone that the reminder is set to occur. + * + * @return DateTimeTimeZone|null The reminderFireTime + */ + public function getReminderFireTime() + { + if (array_key_exists("reminderFireTime", $this->_propDict)) { + if (is_a($this->_propDict["reminderFireTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderFireTime"])) { + return $this->_propDict["reminderFireTime"]; + } else { + $this->_propDict["reminderFireTime"] = new DateTimeTimeZone($this->_propDict["reminderFireTime"]); + return $this->_propDict["reminderFireTime"]; + } + } + return null; + } + + /** + * Sets the reminderFireTime + * The date, time, and time zone that the reminder is set to occur. + * + * @param DateTimeTimeZone $val The value to assign to the reminderFireTime + * + * @return Reminder The Reminder + */ + public function setReminderFireTime($val) + { + $this->_propDict["reminderFireTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RemoteAssistanceOnboardingStatus.php b/vendor/microsoft/microsoft-graph/src/Model/RemoteAssistanceOnboardingStatus.php new file mode 100644 index 0000000..6d2027a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RemoteAssistanceOnboardingStatus.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name of the partner. + * + * @param string $val The displayName + * + * @return RemoteAssistancePartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @return \DateTime|null The lastConnectionDateTime + */ + public function getLastConnectionDateTime() + { + if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime") || is_null($this->_propDict["lastConnectionDateTime"])) { + return $this->_propDict["lastConnectionDateTime"]; + } else { + $this->_propDict["lastConnectionDateTime"] = new \DateTime($this->_propDict["lastConnectionDateTime"]); + return $this->_propDict["lastConnectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @param \DateTime $val The lastConnectionDateTime + * + * @return RemoteAssistancePartner + */ + public function setLastConnectionDateTime($val) + { + $this->_propDict["lastConnectionDateTime"] = $val; + return $this; + } + + /** + * Gets the onboardingStatus + * A friendly description of the current TeamViewer connector status. Possible values are: notOnboarded, onboarding, onboarded. + * + * @return RemoteAssistanceOnboardingStatus|null The onboardingStatus + */ + public function getOnboardingStatus() + { + if (array_key_exists("onboardingStatus", $this->_propDict)) { + if (is_a($this->_propDict["onboardingStatus"], "\Microsoft\Graph\Model\RemoteAssistanceOnboardingStatus") || is_null($this->_propDict["onboardingStatus"])) { + return $this->_propDict["onboardingStatus"]; + } else { + $this->_propDict["onboardingStatus"] = new RemoteAssistanceOnboardingStatus($this->_propDict["onboardingStatus"]); + return $this->_propDict["onboardingStatus"]; + } + } + return null; + } + + /** + * Sets the onboardingStatus + * A friendly description of the current TeamViewer connector status. Possible values are: notOnboarded, onboarding, onboarded. + * + * @param RemoteAssistanceOnboardingStatus $val The onboardingStatus + * + * @return RemoteAssistancePartner + */ + public function setOnboardingStatus($val) + { + $this->_propDict["onboardingStatus"] = $val; + return $this; + } + + /** + * Gets the onboardingUrl + * URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service. + * + * @return string|null The onboardingUrl + */ + public function getOnboardingUrl() + { + if (array_key_exists("onboardingUrl", $this->_propDict)) { + return $this->_propDict["onboardingUrl"]; + } else { + return null; + } + } + + /** + * Sets the onboardingUrl + * URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service. + * + * @param string $val The onboardingUrl + * + * @return RemoteAssistancePartner + */ + public function setOnboardingUrl($val) + { + $this->_propDict["onboardingUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RemoteItem.php b/vendor/microsoft/microsoft-graph/src/Model/RemoteItem.php new file mode 100644 index 0000000..f6c5364 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RemoteItem.php @@ -0,0 +1,628 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity of the user, device, and application which created the item. Read-only. + * + * @param IdentitySet $val The value to assign to the createdBy + * + * @return RemoteItem The RemoteItem + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time of item creation. Read-only. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of item creation. Read-only. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return RemoteItem The RemoteItem + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the file + * Indicates that the remote item is a file. Read-only. + * + * @return File|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\Microsoft\Graph\Model\File") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = new File($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * Indicates that the remote item is a file. Read-only. + * + * @param File $val The value to assign to the file + * + * @return RemoteItem The RemoteItem + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the fileSystemInfo + * Information about the remote item from the local file system. Read-only. + * + * @return FileSystemInfo|null The fileSystemInfo + */ + public function getFileSystemInfo() + { + if (array_key_exists("fileSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["fileSystemInfo"], "\Microsoft\Graph\Model\FileSystemInfo") || is_null($this->_propDict["fileSystemInfo"])) { + return $this->_propDict["fileSystemInfo"]; + } else { + $this->_propDict["fileSystemInfo"] = new FileSystemInfo($this->_propDict["fileSystemInfo"]); + return $this->_propDict["fileSystemInfo"]; + } + } + return null; + } + + /** + * Sets the fileSystemInfo + * Information about the remote item from the local file system. Read-only. + * + * @param FileSystemInfo $val The value to assign to the fileSystemInfo + * + * @return RemoteItem The RemoteItem + */ + public function setFileSystemInfo($val) + { + $this->_propDict["fileSystemInfo"] = $val; + return $this; + } + + /** + * Gets the folder + * Indicates that the remote item is a folder. Read-only. + * + * @return Folder|null The folder + */ + public function getFolder() + { + if (array_key_exists("folder", $this->_propDict)) { + if (is_a($this->_propDict["folder"], "\Microsoft\Graph\Model\Folder") || is_null($this->_propDict["folder"])) { + return $this->_propDict["folder"]; + } else { + $this->_propDict["folder"] = new Folder($this->_propDict["folder"]); + return $this->_propDict["folder"]; + } + } + return null; + } + + /** + * Sets the folder + * Indicates that the remote item is a folder. Read-only. + * + * @param Folder $val The value to assign to the folder + * + * @return RemoteItem The RemoteItem + */ + public function setFolder($val) + { + $this->_propDict["folder"] = $val; + return $this; + } + /** + * Gets the id + * Unique identifier for the remote item in its drive. Read-only. + * + * @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 + * Unique identifier for the remote item in its drive. Read-only. + * + * @param string $val The value of the id + * + * @return RemoteItem + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the image + * Image metadata, if the item is an image. Read-only. + * + * @return Image|null The image + */ + public function getImage() + { + if (array_key_exists("image", $this->_propDict)) { + if (is_a($this->_propDict["image"], "\Microsoft\Graph\Model\Image") || is_null($this->_propDict["image"])) { + return $this->_propDict["image"]; + } else { + $this->_propDict["image"] = new Image($this->_propDict["image"]); + return $this->_propDict["image"]; + } + } + return null; + } + + /** + * Sets the image + * Image metadata, if the item is an image. Read-only. + * + * @param Image $val The value to assign to the image + * + * @return RemoteItem The RemoteItem + */ + public function setImage($val) + { + $this->_propDict["image"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity of the user, device, and application which last modified the item. Read-only. + * + * @param IdentitySet $val The value to assign to the lastModifiedBy + * + * @return RemoteItem The RemoteItem + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Date and time the item was last modified. Read-only. + * + * @param \DateTime $val The value to assign to the lastModifiedDateTime + * + * @return RemoteItem The RemoteItem + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + /** + * Gets the name + * Optional. Filename of the remote item. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Optional. Filename of the remote item. Read-only. + * + * @param string $val The value of the name + * + * @return RemoteItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @return Package|null The package + */ + public function getPackage() + { + if (array_key_exists("package", $this->_propDict)) { + if (is_a($this->_propDict["package"], "\Microsoft\Graph\Model\Package") || is_null($this->_propDict["package"])) { + return $this->_propDict["package"]; + } else { + $this->_propDict["package"] = new Package($this->_propDict["package"]); + return $this->_propDict["package"]; + } + } + return null; + } + + /** + * Sets the package + * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. + * + * @param Package $val The value to assign to the package + * + * @return RemoteItem The RemoteItem + */ + public function setPackage($val) + { + $this->_propDict["package"] = $val; + return $this; + } + + /** + * Gets the parentReference + * Properties of the parent of the remote item. Read-only. + * + * @return ItemReference|null The parentReference + */ + public function getParentReference() + { + if (array_key_exists("parentReference", $this->_propDict)) { + if (is_a($this->_propDict["parentReference"], "\Microsoft\Graph\Model\ItemReference") || is_null($this->_propDict["parentReference"])) { + return $this->_propDict["parentReference"]; + } else { + $this->_propDict["parentReference"] = new ItemReference($this->_propDict["parentReference"]); + return $this->_propDict["parentReference"]; + } + } + return null; + } + + /** + * Sets the parentReference + * Properties of the parent of the remote item. Read-only. + * + * @param ItemReference $val The value to assign to the parentReference + * + * @return RemoteItem The RemoteItem + */ + public function setParentReference($val) + { + $this->_propDict["parentReference"] = $val; + return $this; + } + + /** + * Gets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @return Shared|null The shared + */ + public function getShared() + { + if (array_key_exists("shared", $this->_propDict)) { + if (is_a($this->_propDict["shared"], "\Microsoft\Graph\Model\Shared") || is_null($this->_propDict["shared"])) { + return $this->_propDict["shared"]; + } else { + $this->_propDict["shared"] = new Shared($this->_propDict["shared"]); + return $this->_propDict["shared"]; + } + } + return null; + } + + /** + * Sets the shared + * Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + * + * @param Shared $val The value to assign to the shared + * + * @return RemoteItem The RemoteItem + */ + public function setShared($val) + { + $this->_propDict["shared"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Provides interop between items in OneDrive for Business and SharePoint with the full set of item identifiers. Read-only. + * + * @param SharepointIds $val The value to assign to the sharepointIds + * + * @return RemoteItem The RemoteItem + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + /** + * Gets the size + * Size of the remote item. Read-only. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the remote item. Read-only. + * + * @param int $val The value of the size + * + * @return RemoteItem + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } + + /** + * Gets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @return SpecialFolder|null The specialFolder + */ + public function getSpecialFolder() + { + if (array_key_exists("specialFolder", $this->_propDict)) { + if (is_a($this->_propDict["specialFolder"], "\Microsoft\Graph\Model\SpecialFolder") || is_null($this->_propDict["specialFolder"])) { + return $this->_propDict["specialFolder"]; + } else { + $this->_propDict["specialFolder"] = new SpecialFolder($this->_propDict["specialFolder"]); + return $this->_propDict["specialFolder"]; + } + } + return null; + } + + /** + * Sets the specialFolder + * If the current item is also available as a special folder, this facet is returned. Read-only. + * + * @param SpecialFolder $val The value to assign to the specialFolder + * + * @return RemoteItem The RemoteItem + */ + public function setSpecialFolder($val) + { + $this->_propDict["specialFolder"] = $val; + return $this; + } + + /** + * Gets the video + * Video metadata, if the item is a video. Read-only. + * + * @return Video|null The video + */ + public function getVideo() + { + if (array_key_exists("video", $this->_propDict)) { + if (is_a($this->_propDict["video"], "\Microsoft\Graph\Model\Video") || is_null($this->_propDict["video"])) { + return $this->_propDict["video"]; + } else { + $this->_propDict["video"] = new Video($this->_propDict["video"]); + return $this->_propDict["video"]; + } + } + return null; + } + + /** + * Sets the video + * Video metadata, if the item is a video. Read-only. + * + * @param Video $val The value to assign to the video + * + * @return RemoteItem The RemoteItem + */ + public function setVideo($val) + { + $this->_propDict["video"] = $val; + return $this; + } + /** + * Gets the webDavUrl + * DAV compatible URL for the item. + * + * @return string|null The webDavUrl + */ + public function getWebDavUrl() + { + if (array_key_exists("webDavUrl", $this->_propDict)) { + return $this->_propDict["webDavUrl"]; + } else { + return null; + } + } + + /** + * Sets the webDavUrl + * DAV compatible URL for the item. + * + * @param string $val The value of the webDavUrl + * + * @return RemoteItem + */ + public function setWebDavUrl($val) + { + $this->_propDict["webDavUrl"] = $val; + return $this; + } + /** + * Gets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * URL that displays the resource in the browser. Read-only. + * + * @param string $val The value of the webUrl + * + * @return RemoteItem + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RemoteLockActionResult.php b/vendor/microsoft/microsoft-graph/src/Model/RemoteLockActionResult.php new file mode 100644 index 0000000..621e8bb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RemoteLockActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["unlockPin"]; + } else { + return null; + } + } + + /** + * Sets the unlockPin + * Pin to unlock the client + * + * @param string $val The value of the unlockPin + * + * @return RemoteLockActionResult + */ + public function setUnlockPin($val) + { + $this->_propDict["unlockPin"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RemoveAccessApplyAction.php b/vendor/microsoft/microsoft-graph/src/Model/RemoveAccessApplyAction.php new file mode 100644 index 0000000..108d29e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RemoveAccessApplyAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * Report content; details vary by report type. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the content + * + * @return Report The Report + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ReportRoot.php b/vendor/microsoft/microsoft-graph/src/Model/ReportRoot.php new file mode 100644 index 0000000..6ed58c7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ReportRoot.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["dailyPrintUsageByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the dailyPrintUsageByPrinter + * + * @param PrintUsageByPrinter[] $val The dailyPrintUsageByPrinter + * + * @return ReportRoot + */ + public function setDailyPrintUsageByPrinter($val) + { + $this->_propDict["dailyPrintUsageByPrinter"] = $val; + return $this; + } + + + /** + * Gets the dailyPrintUsageByUser + * + * @return array|null The dailyPrintUsageByUser + */ + public function getDailyPrintUsageByUser() + { + if (array_key_exists("dailyPrintUsageByUser", $this->_propDict)) { + return $this->_propDict["dailyPrintUsageByUser"]; + } else { + return null; + } + } + + /** + * Sets the dailyPrintUsageByUser + * + * @param PrintUsageByUser[] $val The dailyPrintUsageByUser + * + * @return ReportRoot + */ + public function setDailyPrintUsageByUser($val) + { + $this->_propDict["dailyPrintUsageByUser"] = $val; + return $this; + } + + + /** + * Gets the monthlyPrintUsageByPrinter + * + * @return array|null The monthlyPrintUsageByPrinter + */ + public function getMonthlyPrintUsageByPrinter() + { + if (array_key_exists("monthlyPrintUsageByPrinter", $this->_propDict)) { + return $this->_propDict["monthlyPrintUsageByPrinter"]; + } else { + return null; + } + } + + /** + * Sets the monthlyPrintUsageByPrinter + * + * @param PrintUsageByPrinter[] $val The monthlyPrintUsageByPrinter + * + * @return ReportRoot + */ + public function setMonthlyPrintUsageByPrinter($val) + { + $this->_propDict["monthlyPrintUsageByPrinter"] = $val; + return $this; + } + + + /** + * Gets the monthlyPrintUsageByUser + * + * @return array|null The monthlyPrintUsageByUser + */ + public function getMonthlyPrintUsageByUser() + { + if (array_key_exists("monthlyPrintUsageByUser", $this->_propDict)) { + return $this->_propDict["monthlyPrintUsageByUser"]; + } else { + return null; + } + } + + /** + * Sets the monthlyPrintUsageByUser + * + * @param PrintUsageByUser[] $val The monthlyPrintUsageByUser + * + * @return ReportRoot + */ + public function setMonthlyPrintUsageByUser($val) + { + $this->_propDict["monthlyPrintUsageByUser"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Request.php b/vendor/microsoft/microsoft-graph/src/Model/Request.php new file mode 100644 index 0000000..67f83e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Request.php @@ -0,0 +1,213 @@ +_propDict)) { + return $this->_propDict["approvalId"]; + } else { + return null; + } + } + + /** + * Sets the approvalId + * The identifier of the approval of the request. + * + * @param string $val The approvalId + * + * @return Request + */ + public function setApprovalId($val) + { + $this->_propDict["approvalId"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The request completion date time. + * + * @return \DateTime|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The request completion date time. + * + * @param \DateTime $val The completedDateTime + * + * @return Request + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The user who created this request. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The user who created this request. + * + * @param IdentitySet $val The createdBy + * + * @return Request + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The request creation date time. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The request creation date time. + * + * @param \DateTime $val The createdDateTime + * + * @return Request + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the customData + * Free text field to define any custom data for the request. Not used. + * + * @return string|null The customData + */ + public function getCustomData() + { + if (array_key_exists("customData", $this->_propDict)) { + return $this->_propDict["customData"]; + } else { + return null; + } + } + + /** + * Sets the customData + * Free text field to define any custom data for the request. Not used. + * + * @param string $val The customData + * + * @return Request + */ + public function setCustomData($val) + { + $this->_propDict["customData"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable. + * + * @param string $val The status + * + * @return Request + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RequestSchedule.php b/vendor/microsoft/microsoft-graph/src/Model/RequestSchedule.php new file mode 100644 index 0000000..35470db --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RequestSchedule.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["expiration"], "\Microsoft\Graph\Model\ExpirationPattern") || is_null($this->_propDict["expiration"])) { + return $this->_propDict["expiration"]; + } else { + $this->_propDict["expiration"] = new ExpirationPattern($this->_propDict["expiration"]); + return $this->_propDict["expiration"]; + } + } + return null; + } + + /** + * Sets the expiration + * When the access should expire. + * + * @param ExpirationPattern $val The value to assign to the expiration + * + * @return RequestSchedule The RequestSchedule + */ + public function setExpiration($val) + { + $this->_propDict["expiration"] = $val; + return $this; + } + + /** + * Gets the recurrence + * For recurring access. Not used at present. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * For recurring access. Not used at present. + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return RequestSchedule The RequestSchedule + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return RequestSchedule The RequestSchedule + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RequestorManager.php b/vendor/microsoft/microsoft-graph/src/Model/RequestorManager.php new file mode 100644 index 0000000..16d8009 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RequestorManager.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.requestorManager"); + } + + /** + * Gets the managerLevel + * The hierarchical level of the manager with respect to the requestor. For example, the direct manager of a requestor would have a managerLevel of 1, while the manager of the requestor's manager would have a managerLevel of 2. Default value for managerLevel is 1. Possible values for this property range from 1 to 2. + * + * @return int|null The managerLevel + */ + public function getManagerLevel() + { + if (array_key_exists("managerLevel", $this->_propDict)) { + return $this->_propDict["managerLevel"]; + } else { + return null; + } + } + + /** + * Sets the managerLevel + * The hierarchical level of the manager with respect to the requestor. For example, the direct manager of a requestor would have a managerLevel of 1, while the manager of the requestor's manager would have a managerLevel of 2. Default value for managerLevel is 1. Possible values for this property range from 1 to 2. + * + * @param int $val The value of the managerLevel + * + * @return RequestorManager + */ + public function setManagerLevel($val) + { + $this->_propDict["managerLevel"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Model/RequiredPasswordType.php new file mode 100644 index 0000000..8776380 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RequiredPasswordType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["resourceAccess"], "\Microsoft\Graph\Model\ResourceAccess") || is_null($this->_propDict["resourceAccess"])) { + return $this->_propDict["resourceAccess"]; + } else { + $this->_propDict["resourceAccess"] = new ResourceAccess($this->_propDict["resourceAccess"]); + return $this->_propDict["resourceAccess"]; + } + } + return null; + } + + /** + * Sets the resourceAccess + * The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource. + * + * @param ResourceAccess $val The value to assign to the resourceAccess + * + * @return RequiredResourceAccess The RequiredResourceAccess + */ + public function setResourceAccess($val) + { + $this->_propDict["resourceAccess"] = $val; + return $this; + } + /** + * Gets the resourceAppId + * The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application. + * + * @return string|null The resourceAppId + */ + public function getResourceAppId() + { + if (array_key_exists("resourceAppId", $this->_propDict)) { + return $this->_propDict["resourceAppId"]; + } else { + return null; + } + } + + /** + * Sets the resourceAppId + * The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application. + * + * @param string $val The value of the resourceAppId + * + * @return RequiredResourceAccess + */ + public function setResourceAppId($val) + { + $this->_propDict["resourceAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResetPasscodeActionResult.php b/vendor/microsoft/microsoft-graph/src/Model/ResetPasscodeActionResult.php new file mode 100644 index 0000000..86f1bc8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResetPasscodeActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["passcode"]; + } else { + return null; + } + } + + /** + * Sets the passcode + * Newly generated passcode for the device + * + * @param string $val The value of the passcode + * + * @return ResetPasscodeActionResult + */ + public function setPasscode($val) + { + $this->_propDict["passcode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceAccess.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceAccess.php new file mode 100644 index 0000000..0c82782 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceAccess.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The unique identifier of an app role or delegated permission exposed by the resource application. For delegated permissions, this should match the id property of one of the delegated permissions in the oauth2PermissionScopes collection of the resource application's service principal. For app roles (application permissions), this should match the id property of an app role in the appRoles collection of the resource application's service principal. + * + * @param string $val The value of the id + * + * @return ResourceAccess + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the type + * Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). + * + * @param string $val The value of the type + * + * @return ResourceAccess + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceAction.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceAction.php new file mode 100644 index 0000000..ceb9f84 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceAction.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["allowedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the allowedResourceActions + * Allowed Actions + * + * @param string $val The value of the allowedResourceActions + * + * @return ResourceAction + */ + public function setAllowedResourceActions($val) + { + $this->_propDict["allowedResourceActions"] = $val; + return $this; + } + /** + * Gets the notAllowedResourceActions + * Not Allowed Actions. + * + * @return string|null The notAllowedResourceActions + */ + public function getNotAllowedResourceActions() + { + if (array_key_exists("notAllowedResourceActions", $this->_propDict)) { + return $this->_propDict["notAllowedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the notAllowedResourceActions + * Not Allowed Actions. + * + * @param string $val The value of the notAllowedResourceActions + * + * @return ResourceAction + */ + public function setNotAllowedResourceActions($val) + { + $this->_propDict["notAllowedResourceActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceData.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceData.php new file mode 100644 index 0000000..048307e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceData.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["actionName"]; + } else { + return null; + } + } + + /** + * Sets the actionName + * Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible. + * + * @param string $val The actionName + * + * @return ResourceOperation + */ + public function setActionName($val) + { + $this->_propDict["actionName"] = $val; + return $this; + } + + /** + * Gets the description + * Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal. + * + * @param string $val The description + * + * @return ResourceOperation + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the resourceName + * Name of the Resource this operation is performed on. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * Name of the Resource this operation is performed on. + * + * @param string $val The resourceName + * + * @return ResourceOperation + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourcePermission.php b/vendor/microsoft/microsoft-graph/src/Model/ResourcePermission.php new file mode 100644 index 0000000..7ad3905 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourcePermission.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * + * @param string $val The value of the type + * + * @return ResourcePermission + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value of the value + * + * @return ResourcePermission + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceReference.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceReference.php new file mode 100644 index 0000000..752697b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceReference.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * The item's unique identifier. + * + * @param string $val The value of the id + * + * @return ResourceReference + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the type + * A string value that can be used to classify the item, such as 'microsoft.graph.driveItem' + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * A string value that can be used to classify the item, such as 'microsoft.graph.driveItem' + * + * @param string $val The value of the type + * + * @return ResourceReference + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the webUrl + * A URL leading to the referenced item. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A URL leading to the referenced item. + * + * @param string $val The value of the webUrl + * + * @return ResourceReference + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermission.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermission.php new file mode 100644 index 0000000..13e265d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermission.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Describes the level of access that the resource-specific permission represents. + * + * @param string $val The value of the description + * + * @return ResourceSpecificPermission + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the resource-specific permission. + * + * @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 + * The display name for the resource-specific permission. + * + * @param string $val The value of the displayName + * + * @return ResourceSpecificPermission + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * The unique identifier for the resource-specific application permission. + * + * @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 + * The unique identifier for the resource-specific application permission. + * + * @param string $val The value of the id + * + * @return ResourceSpecificPermission + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the isEnabled + * Indicates whether the permission is enabled. + * + * @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 + * Indicates whether the permission is enabled. + * + * @param bool $val The value of the isEnabled + * + * @return ResourceSpecificPermission + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } + /** + * Gets the value + * The value of the permission. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value of the permission. + * + * @param string $val The value of the value + * + * @return ResourceSpecificPermission + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermissionGrant.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermissionGrant.php new file mode 100644 index 0000000..a0b8e69 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermissionGrant.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["clientAppId"]; + } else { + return null; + } + } + + /** + * Sets the clientAppId + * ID of the service principal of the Azure AD app that has been granted access. Read-only. + * + * @param string $val The clientAppId + * + * @return ResourceSpecificPermissionGrant + */ + public function setClientAppId($val) + { + $this->_propDict["clientAppId"] = $val; + return $this; + } + + /** + * Gets the clientId + * ID of the Azure AD app that has been granted access. Read-only. + * + * @return string|null The clientId + */ + public function getClientId() + { + if (array_key_exists("clientId", $this->_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * ID of the Azure AD app that has been granted access. Read-only. + * + * @param string $val The clientId + * + * @return ResourceSpecificPermissionGrant + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the permission + * The name of the resource-specific permission. Read-only. + * + * @return string|null The permission + */ + public function getPermission() + { + if (array_key_exists("permission", $this->_propDict)) { + return $this->_propDict["permission"]; + } else { + return null; + } + } + + /** + * Sets the permission + * The name of the resource-specific permission. Read-only. + * + * @param string $val The permission + * + * @return ResourceSpecificPermissionGrant + */ + public function setPermission($val) + { + $this->_propDict["permission"] = $val; + return $this; + } + + /** + * Gets the permissionType + * The type of permission. Possible values are: Application, Delegated. Read-only. + * + * @return string|null The permissionType + */ + public function getPermissionType() + { + if (array_key_exists("permissionType", $this->_propDict)) { + return $this->_propDict["permissionType"]; + } else { + return null; + } + } + + /** + * Sets the permissionType + * The type of permission. Possible values are: Application, Delegated. Read-only. + * + * @param string $val The permissionType + * + * @return ResourceSpecificPermissionGrant + */ + public function setPermissionType($val) + { + $this->_propDict["permissionType"] = $val; + return $this; + } + + /** + * Gets the resourceAppId + * ID of the Azure AD app that is hosting the resource. Read-only. + * + * @return string|null The resourceAppId + */ + public function getResourceAppId() + { + if (array_key_exists("resourceAppId", $this->_propDict)) { + return $this->_propDict["resourceAppId"]; + } else { + return null; + } + } + + /** + * Sets the resourceAppId + * ID of the Azure AD app that is hosting the resource. Read-only. + * + * @param string $val The resourceAppId + * + * @return ResourceSpecificPermissionGrant + */ + public function setResourceAppId($val) + { + $this->_propDict["resourceAppId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResourceVisualization.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceVisualization.php new file mode 100644 index 0000000..26a93f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResourceVisualization.php @@ -0,0 +1,250 @@ +_propDict)) { + return $this->_propDict["containerDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the containerDisplayName + * A string describing where the item is stored. For example, the name of a SharePoint site or the user name identifying the owner of the OneDrive storing the item. + * + * @param string $val The value of the containerDisplayName + * + * @return ResourceVisualization + */ + public function setContainerDisplayName($val) + { + $this->_propDict["containerDisplayName"] = $val; + return $this; + } + /** + * Gets the containerType + * Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness. + * + * @return string|null The containerType + */ + public function getContainerType() + { + if (array_key_exists("containerType", $this->_propDict)) { + return $this->_propDict["containerType"]; + } else { + return null; + } + } + + /** + * Sets the containerType + * Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness. + * + * @param string $val The value of the containerType + * + * @return ResourceVisualization + */ + public function setContainerType($val) + { + $this->_propDict["containerType"] = $val; + return $this; + } + /** + * Gets the containerWebUrl + * A path leading to the folder in which the item is stored. + * + * @return string|null The containerWebUrl + */ + public function getContainerWebUrl() + { + if (array_key_exists("containerWebUrl", $this->_propDict)) { + return $this->_propDict["containerWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the containerWebUrl + * A path leading to the folder in which the item is stored. + * + * @param string $val The value of the containerWebUrl + * + * @return ResourceVisualization + */ + public function setContainerWebUrl($val) + { + $this->_propDict["containerWebUrl"] = $val; + return $this; + } + /** + * Gets the mediaType + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * + * @return string|null The mediaType + */ + public function getMediaType() + { + if (array_key_exists("mediaType", $this->_propDict)) { + return $this->_propDict["mediaType"]; + } else { + return null; + } + } + + /** + * Sets the mediaType + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * + * @param string $val The value of the mediaType + * + * @return ResourceVisualization + */ + public function setMediaType($val) + { + $this->_propDict["mediaType"] = $val; + return $this; + } + /** + * Gets the previewImageUrl + * A URL leading to the preview image for the item. + * + * @return string|null The previewImageUrl + */ + public function getPreviewImageUrl() + { + if (array_key_exists("previewImageUrl", $this->_propDict)) { + return $this->_propDict["previewImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the previewImageUrl + * A URL leading to the preview image for the item. + * + * @param string $val The value of the previewImageUrl + * + * @return ResourceVisualization + */ + public function setPreviewImageUrl($val) + { + $this->_propDict["previewImageUrl"] = $val; + return $this; + } + /** + * Gets the previewText + * A preview text for the item. + * + * @return string|null The previewText + */ + public function getPreviewText() + { + if (array_key_exists("previewText", $this->_propDict)) { + return $this->_propDict["previewText"]; + } else { + return null; + } + } + + /** + * Sets the previewText + * A preview text for the item. + * + * @param string $val The value of the previewText + * + * @return ResourceVisualization + */ + public function setPreviewText($val) + { + $this->_propDict["previewText"] = $val; + return $this; + } + /** + * Gets the title + * The item's title text. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The item's title text. + * + * @param string $val The value of the title + * + * @return ResourceVisualization + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + /** + * Gets the type + * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * + * @param string $val The value of the type + * + * @return ResourceVisualization + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResponseStatus.php b/vendor/microsoft/microsoft-graph/src/Model/ResponseStatus.php new file mode 100644 index 0000000..f143a42 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResponseStatus.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["response"], "\Microsoft\Graph\Model\ResponseType") || is_null($this->_propDict["response"])) { + return $this->_propDict["response"]; + } else { + $this->_propDict["response"] = new ResponseType($this->_propDict["response"]); + return $this->_propDict["response"]; + } + } + return null; + } + + /** + * Sets the response + * The response type. Possible values are: none, organizer, tentativelyAccepted, accepted, declined, notResponded.To differentiate between none and notResponded: none – from organizer's perspective. This value is used when the status of an attendee/participant is reported to the organizer of a meeting. notResponded – from attendde's perspective. Indicates the attendee has not responded to the meeting request. Clients can treat notResponded == none. As an example, if attendee Alex hasn't responded to a meeting request, getting Alex' response status for that event in Alex' calendar returns notResponded. Getting Alex' response from the calendar of any other attendee or the organizer's returns none. Getting the organizer's response for the event in anybody's calendar also returns none. + * + * @param ResponseType $val The value to assign to the response + * + * @return ResponseStatus The ResponseStatus + */ + public function setResponse($val) + { + $this->_propDict["response"] = $val; + return $this; + } + + /** + * Gets the time + * The date and time that the response was returned. It uses 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 time + */ + public function getTime() + { + if (array_key_exists("time", $this->_propDict)) { + if (is_a($this->_propDict["time"], "\DateTime") || is_null($this->_propDict["time"])) { + return $this->_propDict["time"]; + } else { + $this->_propDict["time"] = new \DateTime($this->_propDict["time"]); + return $this->_propDict["time"]; + } + } + return null; + } + + /** + * Sets the time + * The date and time that the response was returned. It uses 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 time + * + * @return ResponseStatus The ResponseStatus + */ + public function setTime($val) + { + $this->_propDict["time"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResponseType.php b/vendor/microsoft/microsoft-graph/src/Model/ResponseType.php new file mode 100644 index 0000000..6eee864 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResponseType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["targetTenantId"]; + } else { + return null; + } + } + + /** + * Sets the targetTenantId + * + * @param string $val The targetTenantId + * + * @return RestrictedSignIn + */ + public function setTargetTenantId($val) + { + $this->_propDict["targetTenantId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResultInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ResultInfo.php new file mode 100644 index 0000000..d40f512 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResultInfo.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The result code. + * + * @param int $val The value of the code + * + * @return ResultInfo + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the message + * The message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The message. + * + * @param string $val The value of the message + * + * @return ResultInfo + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + /** + * Gets the subcode + * The result sub-code. + * + * @return int|null The subcode + */ + public function getSubcode() + { + if (array_key_exists("subcode", $this->_propDict)) { + return $this->_propDict["subcode"]; + } else { + return null; + } + } + + /** + * Sets the subcode + * The result sub-code. + * + * @param int $val The value of the subcode + * + * @return ResultInfo + */ + public function setSubcode($val) + { + $this->_propDict["subcode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResultTemplate.php b/vendor/microsoft/microsoft-graph/src/Model/ResultTemplate.php new file mode 100644 index 0000000..73cf5ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResultTemplate.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["body"]; + } else { + return null; + } + } + + /** + * Sets the body + * JSON schema of the result template. + * + * @param string $val The value of the body + * + * @return ResultTemplate + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + /** + * Gets the displayName + * Name of the result template. + * + * @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 + * Name of the result template. + * + * @param string $val The value of the displayName + * + * @return ResultTemplate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ResultTemplateDictionary.php b/vendor/microsoft/microsoft-graph/src/Model/ResultTemplateDictionary.php new file mode 100644 index 0000000..e149d9a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ResultTemplateDictionary.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["enableResultTemplate"]; + } else { + return null; + } + } + + /** + * Sets the enableResultTemplate + * Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. This property is optional. + * + * @param bool $val The value of the enableResultTemplate + * + * @return ResultTemplateOption + */ + public function setEnableResultTemplate($val) + { + $this->_propDict["enableResultTemplate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RgbColor.php b/vendor/microsoft/microsoft-graph/src/Model/RgbColor.php new file mode 100644 index 0000000..6623b89 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RgbColor.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["b"], "\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["b"])) { + return $this->_propDict["b"]; + } else { + $this->_propDict["b"] = new Byte($this->_propDict["b"]); + return $this->_propDict["b"]; + } + } + return null; + } + + /** + * Sets the b + * Blue value + * + * @param Byte $val The value to assign to the b + * + * @return RgbColor The RgbColor + */ + public function setB($val) + { + $this->_propDict["b"] = $val; + return $this; + } + + /** + * Gets the g + * Green value + * + * @return Byte|null The g + */ + public function getG() + { + if (array_key_exists("g", $this->_propDict)) { + if (is_a($this->_propDict["g"], "\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["g"])) { + return $this->_propDict["g"]; + } else { + $this->_propDict["g"] = new Byte($this->_propDict["g"]); + return $this->_propDict["g"]; + } + } + return null; + } + + /** + * Sets the g + * Green value + * + * @param Byte $val The value to assign to the g + * + * @return RgbColor The RgbColor + */ + public function setG($val) + { + $this->_propDict["g"] = $val; + return $this; + } + + /** + * Gets the r + * Red value + * + * @return Byte|null The r + */ + public function getR() + { + if (array_key_exists("r", $this->_propDict)) { + if (is_a($this->_propDict["r"], "\Microsoft\Graph\Model\Byte") || is_null($this->_propDict["r"])) { + return $this->_propDict["r"]; + } else { + $this->_propDict["r"] = new Byte($this->_propDict["r"]); + return $this->_propDict["r"]; + } + } + return null; + } + + /** + * Sets the r + * Red value + * + * @param Byte $val The value to assign to the r + * + * @return RgbColor The RgbColor + */ + public function setR($val) + { + $this->_propDict["r"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RichLongRunningOperation.php b/vendor/microsoft/microsoft-graph/src/Model/RichLongRunningOperation.php new file mode 100644 index 0000000..ff76a26 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RichLongRunningOperation.php @@ -0,0 +1,147 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Error due to which the operation failed. + * + * @param PublicError $val The error + * + * @return RichLongRunningOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the percentageComplete + * A value between 0 and 100 that indicates the progress of the operation. + * + * @return int|null The percentageComplete + */ + public function getPercentageComplete() + { + if (array_key_exists("percentageComplete", $this->_propDict)) { + return $this->_propDict["percentageComplete"]; + } else { + return null; + } + } + + /** + * Sets the percentageComplete + * A value between 0 and 100 that indicates the progress of the operation. + * + * @param int $val The percentageComplete + * + * @return RichLongRunningOperation + */ + public function setPercentageComplete($val) + { + $this->_propDict["percentageComplete"] = intval($val); + return $this; + } + + /** + * Gets the resourceId + * A unique identifier for the result. + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * A unique identifier for the result. + * + * @param string $val The resourceId + * + * @return RichLongRunningOperation + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the type + * Type of the operation. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the operation. + * + * @param string $val The type + * + * @return RichLongRunningOperation + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RiskDetail.php b/vendor/microsoft/microsoft-graph/src/Model/RiskDetail.php new file mode 100644 index 0000000..303e812 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RiskDetail.php @@ -0,0 +1,44 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Microsoft\Graph\Model\ActivityType") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new ActivityType($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * Indicates the activity type the detected risk is linked to. The possible values are signin, user, unknownFutureValue. + * + * @param ActivityType $val The activity + * + * @return RiskDetection + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the activityDateTime + * Date and time that the risky activity occurred. The DateTimeOffset 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 activityDateTime + */ + public function getActivityDateTime() + { + if (array_key_exists("activityDateTime", $this->_propDict)) { + if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) { + return $this->_propDict["activityDateTime"]; + } else { + $this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]); + return $this->_propDict["activityDateTime"]; + } + } + return null; + } + + /** + * Sets the activityDateTime + * Date and time that the risky activity occurred. The DateTimeOffset 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 activityDateTime + * + * @return RiskDetection + */ + public function setActivityDateTime($val) + { + $this->_propDict["activityDateTime"] = $val; + return $this; + } + + /** + * Gets the additionalInfo + * Additional information associated with the risk detection in JSON format. + * + * @return string|null The additionalInfo + */ + public function getAdditionalInfo() + { + if (array_key_exists("additionalInfo", $this->_propDict)) { + return $this->_propDict["additionalInfo"]; + } else { + return null; + } + } + + /** + * Sets the additionalInfo + * Additional information associated with the risk detection in JSON format. + * + * @param string $val The additionalInfo + * + * @return RiskDetection + */ + public function setAdditionalInfo($val) + { + $this->_propDict["additionalInfo"] = $val; + return $this; + } + + /** + * Gets the correlationId + * Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @param string $val The correlationId + * + * @return RiskDetection + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the detectedDateTime + * Date and time that the risk was detected. The DateTimeOffset 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 detectedDateTime + */ + public function getDetectedDateTime() + { + if (array_key_exists("detectedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["detectedDateTime"], "\DateTime") || is_null($this->_propDict["detectedDateTime"])) { + return $this->_propDict["detectedDateTime"]; + } else { + $this->_propDict["detectedDateTime"] = new \DateTime($this->_propDict["detectedDateTime"]); + return $this->_propDict["detectedDateTime"]; + } + } + return null; + } + + /** + * Sets the detectedDateTime + * Date and time that the risk was detected. The DateTimeOffset 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 detectedDateTime + * + * @return RiskDetection + */ + public function setDetectedDateTime($val) + { + $this->_propDict["detectedDateTime"] = $val; + return $this; + } + + /** + * Gets the detectionTimingType + * Timing of the detected risk (real-time/offline). The possible values are notDefined, realtime, nearRealtime, offline, unknownFutureValue. + * + * @return RiskDetectionTimingType|null The detectionTimingType + */ + public function getDetectionTimingType() + { + if (array_key_exists("detectionTimingType", $this->_propDict)) { + if (is_a($this->_propDict["detectionTimingType"], "\Microsoft\Graph\Model\RiskDetectionTimingType") || is_null($this->_propDict["detectionTimingType"])) { + return $this->_propDict["detectionTimingType"]; + } else { + $this->_propDict["detectionTimingType"] = new RiskDetectionTimingType($this->_propDict["detectionTimingType"]); + return $this->_propDict["detectionTimingType"]; + } + } + return null; + } + + /** + * Sets the detectionTimingType + * Timing of the detected risk (real-time/offline). The possible values are notDefined, realtime, nearRealtime, offline, unknownFutureValue. + * + * @param RiskDetectionTimingType $val The detectionTimingType + * + * @return RiskDetection + */ + public function setDetectionTimingType($val) + { + $this->_propDict["detectionTimingType"] = $val; + return $this; + } + + /** + * Gets the ipAddress + * Provides the IP address of the client from where the risk occurred. + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * Provides the IP address of the client from where the risk occurred. + * + * @param string $val The ipAddress + * + * @return RiskDetection + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + + /** + * Gets the lastUpdatedDateTime + * Date and time that the risk detection was last updated. + * + * @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 + * Date and time that the risk detection was last updated. + * + * @param \DateTime $val The lastUpdatedDateTime + * + * @return RiskDetection + */ + public function setLastUpdatedDateTime($val) + { + $this->_propDict["lastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the location + * Location of the sign-in. + * + * @return SignInLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\SignInLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new SignInLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * Location of the sign-in. + * + * @param SignInLocation $val The location + * + * @return RiskDetection + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the requestId + * Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @return string|null The requestId + */ + public function getRequestId() + { + if (array_key_exists("requestId", $this->_propDict)) { + return $this->_propDict["requestId"]; + } else { + return null; + } + } + + /** + * Sets the requestId + * Request ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. + * + * @param string $val The requestId + * + * @return RiskDetection + */ + public function setRequestId($val) + { + $this->_propDict["requestId"] = $val; + return $this; + } + + /** + * Gets the riskDetail + * Details of the detected risk. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * Details of the detected risk. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @param RiskDetail $val The riskDetail + * + * @return RiskDetection + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskEventType + * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. For more information about each value, see riskEventType values. + * + * @return string|null The riskEventType + */ + public function getRiskEventType() + { + if (array_key_exists("riskEventType", $this->_propDict)) { + return $this->_propDict["riskEventType"]; + } else { + return null; + } + } + + /** + * Sets the riskEventType + * The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. For more information about each value, see riskEventType values. + * + * @param string $val The riskEventType + * + * @return RiskDetection + */ + public function setRiskEventType($val) + { + $this->_propDict["riskEventType"] = $val; + return $this; + } + + /** + * Gets the riskLevel + * Level of the detected risk. The possible values are low, medium, high, hidden, none, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @return RiskLevel|null The riskLevel + */ + public function getRiskLevel() + { + if (array_key_exists("riskLevel", $this->_propDict)) { + if (is_a($this->_propDict["riskLevel"], "\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevel"])) { + return $this->_propDict["riskLevel"]; + } else { + $this->_propDict["riskLevel"] = new RiskLevel($this->_propDict["riskLevel"]); + return $this->_propDict["riskLevel"]; + } + } + return null; + } + + /** + * Sets the riskLevel + * Level of the detected risk. The possible values are low, medium, high, hidden, none, unknownFutureValue. Note: Details for this property are only available for Azure AD Premium P2 customers. P1 customers will be returned hidden. + * + * @param RiskLevel $val The riskLevel + * + * @return RiskDetection + */ + public function setRiskLevel($val) + { + $this->_propDict["riskLevel"] = $val; + return $this; + } + + /** + * Gets the riskState + * The state of a detected risky user or sign-in. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * The state of a detected risky user or sign-in. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. + * + * @param RiskState $val The riskState + * + * @return RiskDetection + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the source + * Source of the risk detection. For example, activeDirectory. + * + * @return string|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + return $this->_propDict["source"]; + } else { + return null; + } + } + + /** + * Sets the source + * Source of the risk detection. For example, activeDirectory. + * + * @param string $val The source + * + * @return RiskDetection + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the tokenIssuerType + * Indicates the type of token issuer for the detected sign-in risk. The possible values are AzureAD, ADFederationServices, and unknownFutureValue. + * + * @return TokenIssuerType|null The tokenIssuerType + */ + public function getTokenIssuerType() + { + if (array_key_exists("tokenIssuerType", $this->_propDict)) { + if (is_a($this->_propDict["tokenIssuerType"], "\Microsoft\Graph\Model\TokenIssuerType") || is_null($this->_propDict["tokenIssuerType"])) { + return $this->_propDict["tokenIssuerType"]; + } else { + $this->_propDict["tokenIssuerType"] = new TokenIssuerType($this->_propDict["tokenIssuerType"]); + return $this->_propDict["tokenIssuerType"]; + } + } + return null; + } + + /** + * Sets the tokenIssuerType + * Indicates the type of token issuer for the detected sign-in risk. The possible values are AzureAD, ADFederationServices, and unknownFutureValue. + * + * @param TokenIssuerType $val The tokenIssuerType + * + * @return RiskDetection + */ + public function setTokenIssuerType($val) + { + $this->_propDict["tokenIssuerType"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * Name of the user. + * + * @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 + * Name of the user. + * + * @param string $val The userDisplayName + * + * @return RiskDetection + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userId + * Unique ID of the user. The DateTimeOffset 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 string|null The userId + */ + public function getUserId() + { + if (array_key_exists("userId", $this->_propDict)) { + return $this->_propDict["userId"]; + } else { + return null; + } + } + + /** + * Sets the userId + * Unique ID of the user. The DateTimeOffset 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 string $val The userId + * + * @return RiskDetection + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user. + * + * @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 + * The user principal name (UPN) of the user. + * + * @param string $val The userPrincipalName + * + * @return RiskDetection + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RiskDetectionTimingType.php b/vendor/microsoft/microsoft-graph/src/Model/RiskDetectionTimingType.php new file mode 100644 index 0000000..058b1e1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RiskDetectionTimingType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["detail"], "\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new RiskDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + * + * @param RiskDetail $val The value to assign to the detail + * + * @return RiskUserActivity The RiskUserActivity + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + /** + * Gets the riskEventTypes + * The type of risk event detected. + * + * @return string|null The riskEventTypes + */ + public function getRiskEventTypes() + { + if (array_key_exists("riskEventTypes", $this->_propDict)) { + return $this->_propDict["riskEventTypes"]; + } else { + return null; + } + } + + /** + * Sets the riskEventTypes + * The type of risk event detected. + * + * @param string $val The value of the riskEventTypes + * + * @return RiskUserActivity + */ + public function setRiskEventTypes($val) + { + $this->_propDict["riskEventTypes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RiskyUser.php b/vendor/microsoft/microsoft-graph/src/Model/RiskyUser.php new file mode 100644 index 0000000..cf46ab6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RiskyUser.php @@ -0,0 +1,305 @@ +_propDict)) { + return $this->_propDict["isDeleted"]; + } else { + return null; + } + } + + /** + * Sets the isDeleted + * Indicates whether the user is deleted. Possible values are: true, false. + * + * @param bool $val The isDeleted + * + * @return RiskyUser + */ + public function setIsDeleted($val) + { + $this->_propDict["isDeleted"] = boolval($val); + return $this; + } + + /** + * Gets the isProcessing + * Indicates whether a user's risky state is being processed by the backend. + * + * @return bool|null The isProcessing + */ + public function getIsProcessing() + { + if (array_key_exists("isProcessing", $this->_propDict)) { + return $this->_propDict["isProcessing"]; + } else { + return null; + } + } + + /** + * Sets the isProcessing + * Indicates whether a user's risky state is being processed by the backend. + * + * @param bool $val The isProcessing + * + * @return RiskyUser + */ + public function setIsProcessing($val) + { + $this->_propDict["isProcessing"] = boolval($val); + return $this; + } + + /** + * Gets the riskDetail + * The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. + * + * @param RiskDetail $val The riskDetail + * + * @return RiskyUser + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + /** + * Gets the riskLastUpdatedDateTime + * The date and time that the risky user was last updated. The DateTimeOffset 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 riskLastUpdatedDateTime + */ + public function getRiskLastUpdatedDateTime() + { + if (array_key_exists("riskLastUpdatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["riskLastUpdatedDateTime"], "\DateTime") || is_null($this->_propDict["riskLastUpdatedDateTime"])) { + return $this->_propDict["riskLastUpdatedDateTime"]; + } else { + $this->_propDict["riskLastUpdatedDateTime"] = new \DateTime($this->_propDict["riskLastUpdatedDateTime"]); + return $this->_propDict["riskLastUpdatedDateTime"]; + } + } + return null; + } + + /** + * Sets the riskLastUpdatedDateTime + * The date and time that the risky user was last updated. The DateTimeOffset 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 riskLastUpdatedDateTime + * + * @return RiskyUser + */ + public function setRiskLastUpdatedDateTime($val) + { + $this->_propDict["riskLastUpdatedDateTime"] = $val; + return $this; + } + + /** + * Gets the riskLevel + * Level of the detected risky user. The possible values are low, medium, high, hidden, none, unknownFutureValue. + * + * @return RiskLevel|null The riskLevel + */ + public function getRiskLevel() + { + if (array_key_exists("riskLevel", $this->_propDict)) { + if (is_a($this->_propDict["riskLevel"], "\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevel"])) { + return $this->_propDict["riskLevel"]; + } else { + $this->_propDict["riskLevel"] = new RiskLevel($this->_propDict["riskLevel"]); + return $this->_propDict["riskLevel"]; + } + } + return null; + } + + /** + * Sets the riskLevel + * Level of the detected risky user. The possible values are low, medium, high, hidden, none, unknownFutureValue. + * + * @param RiskLevel $val The riskLevel + * + * @return RiskyUser + */ + public function setRiskLevel($val) + { + $this->_propDict["riskLevel"] = $val; + return $this; + } + + /** + * Gets the riskState + * State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * State of the user's risk. Possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. + * + * @param RiskState $val The riskState + * + * @return RiskyUser + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * Risky user display name. + * + * @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 + * Risky user display name. + * + * @param string $val The userDisplayName + * + * @return RiskyUser + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * Risky user principal name. + * + * @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 + * Risky user principal name. + * + * @param string $val The userPrincipalName + * + * @return RiskyUser + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + + /** + * Gets the history + * The activity related to user risk level change + * + * @return array|null The history + */ + public function getHistory() + { + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * The activity related to user risk level change + * + * @param RiskyUserHistoryItem[] $val The history + * + * @return RiskyUser + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RiskyUserHistoryItem.php b/vendor/microsoft/microsoft-graph/src/Model/RiskyUserHistoryItem.php new file mode 100644 index 0000000..8bc3e66 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RiskyUserHistoryItem.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["activity"], "\Microsoft\Graph\Model\RiskUserActivity") || is_null($this->_propDict["activity"])) { + return $this->_propDict["activity"]; + } else { + $this->_propDict["activity"] = new RiskUserActivity($this->_propDict["activity"]); + return $this->_propDict["activity"]; + } + } + return null; + } + + /** + * Sets the activity + * The activity related to user risk level change. + * + * @param RiskUserActivity $val The activity + * + * @return RiskyUserHistoryItem + */ + public function setActivity($val) + { + $this->_propDict["activity"] = $val; + return $this; + } + + /** + * Gets the initiatedBy + * The id of actor that does the operation. + * + * @return string|null The initiatedBy + */ + public function getInitiatedBy() + { + if (array_key_exists("initiatedBy", $this->_propDict)) { + return $this->_propDict["initiatedBy"]; + } else { + return null; + } + } + + /** + * Sets the initiatedBy + * The id of actor that does the operation. + * + * @param string $val The initiatedBy + * + * @return RiskyUserHistoryItem + */ + public function setInitiatedBy($val) + { + $this->_propDict["initiatedBy"] = $val; + return $this; + } + + /** + * Gets the userId + * The id of the user. + * + * @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 + * The id of the user. + * + * @param string $val The userId + * + * @return RiskyUserHistoryItem + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/RoleAssignment.php new file mode 100644 index 0000000..f4ba595 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RoleAssignment.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the Role Assignment. + * + * @param string $val The description + * + * @return RoleAssignment + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display or friendly name of the role Assignment. + * + * @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 + * The display or friendly name of the role Assignment. + * + * @param string $val The displayName + * + * @return RoleAssignment + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the resourceScopes + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + * + * @return string|null The resourceScopes + */ + public function getResourceScopes() + { + if (array_key_exists("resourceScopes", $this->_propDict)) { + return $this->_propDict["resourceScopes"]; + } else { + return null; + } + } + + /** + * Sets the resourceScopes + * List of ids of role scope member security groups. These are IDs from Azure Active Directory. + * + * @param string $val The resourceScopes + * + * @return RoleAssignment + */ + public function setResourceScopes($val) + { + $this->_propDict["resourceScopes"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Role definition this assignment is part of. + * + * @return RoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\RoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new RoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Role definition this assignment is part of. + * + * @param RoleDefinition $val The roleDefinition + * + * @return RoleAssignment + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RoleAssignmentScheduleFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/RoleAssignmentScheduleFilterByCurrentUserOptions.php new file mode 100644 index 0000000..5b60d47 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RoleAssignmentScheduleFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the Role definition. + * + * @param string $val The description + * + * @return RoleDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display Name of the Role definition. + * + * @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 + * Display Name of the Role definition. + * + * @param string $val The displayName + * + * @return RoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition. + * + * @param bool $val The isBuiltIn + * + * @return RoleDefinition + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + + /** + * Gets the rolePermissions + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + * + * @return array|null The rolePermissions + */ + public function getRolePermissions() + { + if (array_key_exists("rolePermissions", $this->_propDict)) { + return $this->_propDict["rolePermissions"]; + } else { + return null; + } + } + + /** + * Sets the rolePermissions + * List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission. + * + * @param RolePermission[] $val The rolePermissions + * + * @return RoleDefinition + */ + public function setRolePermissions($val) + { + $this->_propDict["rolePermissions"] = $val; + return $this; + } + + + /** + * Gets the roleAssignments + * List of Role assignments for this role definition. + * + * @return array|null The roleAssignments + */ + public function getRoleAssignments() + { + if (array_key_exists("roleAssignments", $this->_propDict)) { + return $this->_propDict["roleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignments + * List of Role assignments for this role definition. + * + * @param RoleAssignment[] $val The roleAssignments + * + * @return RoleDefinition + */ + public function setRoleAssignments($val) + { + $this->_propDict["roleAssignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RoleEligibilityScheduleFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Model/RoleEligibilityScheduleFilterByCurrentUserOptions.php new file mode 100644 index 0000000..757d543 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RoleEligibilityScheduleFilterByCurrentUserOptions.php @@ -0,0 +1,34 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the RoleManagement + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the directory + * Read-only. Nullable. + * + * @return RbacApplication|null The directory + */ + public function getDirectory() + { + if (array_key_exists("directory", $this->_propDict)) { + if (is_a($this->_propDict["directory"], "\Microsoft\Graph\Model\RbacApplication") || is_null($this->_propDict["directory"])) { + return $this->_propDict["directory"]; + } else { + $this->_propDict["directory"] = new RbacApplication($this->_propDict["directory"]); + return $this->_propDict["directory"]; + } + } + return null; + } + + /** + * Sets the directory + * Read-only. Nullable. + * + * @param RbacApplication $val The directory + * + * @return RoleManagement + */ + public function setDirectory($val) + { + $this->_propDict["directory"] = $val; + return $this; + } + + /** + * Gets the entitlementManagement + * Container for roles and assignments for entitlement management resources. + * + * @return RbacApplication|null The entitlementManagement + */ + public function getEntitlementManagement() + { + if (array_key_exists("entitlementManagement", $this->_propDict)) { + if (is_a($this->_propDict["entitlementManagement"], "\Microsoft\Graph\Model\RbacApplication") || is_null($this->_propDict["entitlementManagement"])) { + return $this->_propDict["entitlementManagement"]; + } else { + $this->_propDict["entitlementManagement"] = new RbacApplication($this->_propDict["entitlementManagement"]); + return $this->_propDict["entitlementManagement"]; + } + } + return null; + } + + /** + * Sets the entitlementManagement + * Container for roles and assignments for entitlement management resources. + * + * @param RbacApplication $val The entitlementManagement + * + * @return RoleManagement + */ + public function setEntitlementManagement($val) + { + $this->_propDict["entitlementManagement"] = $val; + 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 RoleManagement + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RolePermission.php b/vendor/microsoft/microsoft-graph/src/Model/RolePermission.php new file mode 100644 index 0000000..91cc661 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RolePermission.php @@ -0,0 +1,59 @@ +_propDict)) { + if (is_a($this->_propDict["resourceActions"], "\Microsoft\Graph\Model\ResourceAction") || is_null($this->_propDict["resourceActions"])) { + return $this->_propDict["resourceActions"]; + } else { + $this->_propDict["resourceActions"] = new ResourceAction($this->_propDict["resourceActions"]); + return $this->_propDict["resourceActions"]; + } + } + return null; + } + + /** + * Sets the resourceActions + * Resource Actions each containing a set of allowed and not allowed permissions. + * + * @param ResourceAction $val The value to assign to the resourceActions + * + * @return RolePermission The RolePermission + */ + public function setResourceActions($val) + { + $this->_propDict["resourceActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Room.php b/vendor/microsoft/microsoft-graph/src/Model/Room.php new file mode 100644 index 0000000..8b1bb85 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Room.php @@ -0,0 +1,408 @@ +_propDict)) { + return $this->_propDict["audioDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the audioDeviceName + * Specifies the name of the audio device in the room. + * + * @param string $val The audioDeviceName + * + * @return Room + */ + public function setAudioDeviceName($val) + { + $this->_propDict["audioDeviceName"] = $val; + return $this; + } + + /** + * Gets the bookingType + * Type of room. Possible values are standard, and reserved. + * + * @return BookingType|null The bookingType + */ + public function getBookingType() + { + if (array_key_exists("bookingType", $this->_propDict)) { + if (is_a($this->_propDict["bookingType"], "\Microsoft\Graph\Model\BookingType") || is_null($this->_propDict["bookingType"])) { + return $this->_propDict["bookingType"]; + } else { + $this->_propDict["bookingType"] = new BookingType($this->_propDict["bookingType"]); + return $this->_propDict["bookingType"]; + } + } + return null; + } + + /** + * Sets the bookingType + * Type of room. Possible values are standard, and reserved. + * + * @param BookingType $val The bookingType + * + * @return Room + */ + public function setBookingType($val) + { + $this->_propDict["bookingType"] = $val; + return $this; + } + + /** + * Gets the building + * Specifies the building name or building number that the room is in. + * + * @return string|null The building + */ + public function getBuilding() + { + if (array_key_exists("building", $this->_propDict)) { + return $this->_propDict["building"]; + } else { + return null; + } + } + + /** + * Sets the building + * Specifies the building name or building number that the room is in. + * + * @param string $val The building + * + * @return Room + */ + public function setBuilding($val) + { + $this->_propDict["building"] = $val; + return $this; + } + + /** + * Gets the capacity + * Specifies the capacity of the room. + * + * @return int|null The capacity + */ + public function getCapacity() + { + if (array_key_exists("capacity", $this->_propDict)) { + return $this->_propDict["capacity"]; + } else { + return null; + } + } + + /** + * Sets the capacity + * Specifies the capacity of the room. + * + * @param int $val The capacity + * + * @return Room + */ + public function setCapacity($val) + { + $this->_propDict["capacity"] = intval($val); + return $this; + } + + /** + * Gets the displayDeviceName + * Specifies the name of the display device in the room. + * + * @return string|null The displayDeviceName + */ + public function getDisplayDeviceName() + { + if (array_key_exists("displayDeviceName", $this->_propDict)) { + return $this->_propDict["displayDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the displayDeviceName + * Specifies the name of the display device in the room. + * + * @param string $val The displayDeviceName + * + * @return Room + */ + public function setDisplayDeviceName($val) + { + $this->_propDict["displayDeviceName"] = $val; + return $this; + } + + /** + * Gets the emailAddress + * Email address of the room. + * + * @return string|null The emailAddress + */ + public function getEmailAddress() + { + if (array_key_exists("emailAddress", $this->_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * Email address of the room. + * + * @param string $val The emailAddress + * + * @return Room + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + /** + * Gets the floorLabel + * Specifies a descriptive label for the floor, for example, P. + * + * @return string|null The floorLabel + */ + public function getFloorLabel() + { + if (array_key_exists("floorLabel", $this->_propDict)) { + return $this->_propDict["floorLabel"]; + } else { + return null; + } + } + + /** + * Sets the floorLabel + * Specifies a descriptive label for the floor, for example, P. + * + * @param string $val The floorLabel + * + * @return Room + */ + public function setFloorLabel($val) + { + $this->_propDict["floorLabel"] = $val; + return $this; + } + + /** + * Gets the floorNumber + * Specifies the floor number that the room is on. + * + * @return int|null The floorNumber + */ + public function getFloorNumber() + { + if (array_key_exists("floorNumber", $this->_propDict)) { + return $this->_propDict["floorNumber"]; + } else { + return null; + } + } + + /** + * Sets the floorNumber + * Specifies the floor number that the room is on. + * + * @param int $val The floorNumber + * + * @return Room + */ + public function setFloorNumber($val) + { + $this->_propDict["floorNumber"] = intval($val); + return $this; + } + + /** + * Gets the isWheelChairAccessible + * Specifies whether the room is wheelchair accessible. + * + * @return bool|null The isWheelChairAccessible + */ + public function getIsWheelChairAccessible() + { + if (array_key_exists("isWheelChairAccessible", $this->_propDict)) { + return $this->_propDict["isWheelChairAccessible"]; + } else { + return null; + } + } + + /** + * Sets the isWheelChairAccessible + * Specifies whether the room is wheelchair accessible. + * + * @param bool $val The isWheelChairAccessible + * + * @return Room + */ + public function setIsWheelChairAccessible($val) + { + $this->_propDict["isWheelChairAccessible"] = boolval($val); + return $this; + } + + /** + * Gets the label + * Specifies a descriptive label for the room, for example, a number or name. + * + * @return string|null The label + */ + public function getLabel() + { + if (array_key_exists("label", $this->_propDict)) { + return $this->_propDict["label"]; + } else { + return null; + } + } + + /** + * Sets the label + * Specifies a descriptive label for the room, for example, a number or name. + * + * @param string $val The label + * + * @return Room + */ + public function setLabel($val) + { + $this->_propDict["label"] = $val; + return $this; + } + + /** + * Gets the nickname + * Specifies a nickname for the room, for example, 'conf room'. + * + * @return string|null The nickname + */ + public function getNickname() + { + if (array_key_exists("nickname", $this->_propDict)) { + return $this->_propDict["nickname"]; + } else { + return null; + } + } + + /** + * Sets the nickname + * Specifies a nickname for the room, for example, 'conf room'. + * + * @param string $val The nickname + * + * @return Room + */ + public function setNickname($val) + { + $this->_propDict["nickname"] = $val; + return $this; + } + + /** + * Gets the tags + * Specifies additional features of the room, for example, details like the type of view or furniture type. + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Specifies additional features of the room, for example, details like the type of view or furniture type. + * + * @param string $val The tags + * + * @return Room + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the videoDeviceName + * Specifies the name of the video device in the room. + * + * @return string|null The videoDeviceName + */ + public function getVideoDeviceName() + { + if (array_key_exists("videoDeviceName", $this->_propDict)) { + return $this->_propDict["videoDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the videoDeviceName + * Specifies the name of the video device in the room. + * + * @param string $val The videoDeviceName + * + * @return Room + */ + public function setVideoDeviceName($val) + { + $this->_propDict["videoDeviceName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RoomList.php b/vendor/microsoft/microsoft-graph/src/Model/RoomList.php new file mode 100644 index 0000000..002384c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RoomList.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["emailAddress"]; + } else { + return null; + } + } + + /** + * Sets the emailAddress + * The email address of the room list. + * + * @param string $val The emailAddress + * + * @return RoomList + */ + public function setEmailAddress($val) + { + $this->_propDict["emailAddress"] = $val; + return $this; + } + + + /** + * Gets the rooms + * Read-only. Nullable. + * + * @return array|null The rooms + */ + public function getRooms() + { + if (array_key_exists("rooms", $this->_propDict)) { + return $this->_propDict["rooms"]; + } else { + return null; + } + } + + /** + * Sets the rooms + * Read-only. Nullable. + * + * @param Room[] $val The rooms + * + * @return RoomList + */ + public function setRooms($val) + { + $this->_propDict["rooms"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Root.php b/vendor/microsoft/microsoft-graph/src/Model/Root.php new file mode 100644 index 0000000..cc30f2f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Root.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["description"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this criterion. + * + * @param EducationItemBody $val The value to assign to the description + * + * @return RubricCriterion The RubricCriterion + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RubricLevel.php b/vendor/microsoft/microsoft-graph/src/Model/RubricLevel.php new file mode 100644 index 0000000..5a40227 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RubricLevel.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["description"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this rubric level. + * + * @param EducationItemBody $val The value to assign to the description + * + * @return RubricLevel The RubricLevel + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of this rubric level. + * + * @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 + * The name of this rubric level. + * + * @param string $val The value of the displayName + * + * @return RubricLevel + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the grading + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * + * @return EducationAssignmentGradeType|null The grading + */ + public function getGrading() + { + if (array_key_exists("grading", $this->_propDict)) { + if (is_a($this->_propDict["grading"], "\Microsoft\Graph\Model\EducationAssignmentGradeType") || is_null($this->_propDict["grading"])) { + return $this->_propDict["grading"]; + } else { + $this->_propDict["grading"] = new EducationAssignmentGradeType($this->_propDict["grading"]); + return $this->_propDict["grading"]; + } + } + return null; + } + + /** + * Sets the grading + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * + * @param EducationAssignmentGradeType $val The value to assign to the grading + * + * @return RubricLevel The RubricLevel + */ + public function setGrading($val) + { + $this->_propDict["grading"] = $val; + return $this; + } + /** + * Gets the levelId + * The ID of this resource. + * + * @return string|null The levelId + */ + public function getLevelId() + { + if (array_key_exists("levelId", $this->_propDict)) { + return $this->_propDict["levelId"]; + } else { + return null; + } + } + + /** + * Sets the levelId + * The ID of this resource. + * + * @param string $val The value of the levelId + * + * @return RubricLevel + */ + public function setLevelId($val) + { + $this->_propDict["levelId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RubricQuality.php b/vendor/microsoft/microsoft-graph/src/Model/RubricQuality.php new file mode 100644 index 0000000..566a939 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RubricQuality.php @@ -0,0 +1,176 @@ +_propDict)) { + if (is_a($this->_propDict["criteria"], "\Microsoft\Graph\Model\RubricCriterion") || is_null($this->_propDict["criteria"])) { + return $this->_propDict["criteria"]; + } else { + $this->_propDict["criteria"] = new RubricCriterion($this->_propDict["criteria"]); + return $this->_propDict["criteria"]; + } + } + return null; + } + + /** + * Sets the criteria + * The collection of criteria for this rubric quality. + * + * @param RubricCriterion $val The value to assign to the criteria + * + * @return RubricQuality The RubricQuality + */ + public function setCriteria($val) + { + $this->_propDict["criteria"] = $val; + return $this; + } + + /** + * Gets the description + * The description of this rubric quality. + * + * @return EducationItemBody|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + if (is_a($this->_propDict["description"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new EducationItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The description of this rubric quality. + * + * @param EducationItemBody $val The value to assign to the description + * + * @return RubricQuality The RubricQuality + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of this rubric quality. + * + * @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 + * The name of this rubric quality. + * + * @param string $val The value of the displayName + * + * @return RubricQuality + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the qualityId + * The ID of this resource. + * + * @return string|null The qualityId + */ + public function getQualityId() + { + if (array_key_exists("qualityId", $this->_propDict)) { + return $this->_propDict["qualityId"]; + } else { + return null; + } + } + + /** + * Sets the qualityId + * The ID of this resource. + * + * @param string $val The value of the qualityId + * + * @return RubricQuality + */ + public function setQualityId($val) + { + $this->_propDict["qualityId"] = $val; + return $this; + } + /** + * Gets the weight + * If present, a numerical weight for this quality. Weights must add up to 100. + * + * @return float|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * If present, a numerical weight for this quality. Weights must add up to 100. + * + * @param float $val The value of the weight + * + * @return RubricQuality + */ + public function setWeight($val) + { + $this->_propDict["weight"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RubricQualityFeedbackModel.php b/vendor/microsoft/microsoft-graph/src/Model/RubricQualityFeedbackModel.php new file mode 100644 index 0000000..291bc2b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RubricQualityFeedbackModel.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\EducationItemBody") || is_null($this->_propDict["feedback"])) { + return $this->_propDict["feedback"]; + } else { + $this->_propDict["feedback"] = new EducationItemBody($this->_propDict["feedback"]); + return $this->_propDict["feedback"]; + } + } + return null; + } + + /** + * Sets the feedback + * Specific feedback for one quality of this rubric. + * + * @param EducationItemBody $val The value to assign to the feedback + * + * @return RubricQualityFeedbackModel The RubricQualityFeedbackModel + */ + public function setFeedback($val) + { + $this->_propDict["feedback"] = $val; + return $this; + } + /** + * Gets the qualityId + * The ID of the rubricQuality that this feedback is related to. + * + * @return string|null The qualityId + */ + public function getQualityId() + { + if (array_key_exists("qualityId", $this->_propDict)) { + return $this->_propDict["qualityId"]; + } else { + return null; + } + } + + /** + * Sets the qualityId + * The ID of the rubricQuality that this feedback is related to. + * + * @param string $val The value of the qualityId + * + * @return RubricQualityFeedbackModel + */ + public function setQualityId($val) + { + $this->_propDict["qualityId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RubricQualitySelectedColumnModel.php b/vendor/microsoft/microsoft-graph/src/Model/RubricQualitySelectedColumnModel.php new file mode 100644 index 0000000..f574034 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RubricQualitySelectedColumnModel.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["columnId"]; + } else { + return null; + } + } + + /** + * Sets the columnId + * ID of the selected level for this quality. + * + * @param string $val The value of the columnId + * + * @return RubricQualitySelectedColumnModel + */ + public function setColumnId($val) + { + $this->_propDict["columnId"] = $val; + return $this; + } + /** + * Gets the qualityId + * ID of the associated quality. + * + * @return string|null The qualityId + */ + public function getQualityId() + { + if (array_key_exists("qualityId", $this->_propDict)) { + return $this->_propDict["qualityId"]; + } else { + return null; + } + } + + /** + * Sets the qualityId + * ID of the associated quality. + * + * @param string $val The value of the qualityId + * + * @return RubricQualitySelectedColumnModel + */ + public function setQualityId($val) + { + $this->_propDict["qualityId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RunAsAccountType.php b/vendor/microsoft/microsoft-graph/src/Model/RunAsAccountType.php new file mode 100644 index 0000000..7da0fd4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/RunAsAccountType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["domains"]; + } else { + return null; + } + } + + /** + * Sets the domains + * Collection of domain names of the external organizations that the tenant is federating with. Supports $filter (eq). + * + * @param ExternalDomainName[] $val The domains + * + * @return SamlOrWsFedExternalDomainFederation + */ + public function setDomains($val) + { + $this->_propDict["domains"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SamlOrWsFedProvider.php b/vendor/microsoft/microsoft-graph/src/Model/SamlOrWsFedProvider.php new file mode 100644 index 0000000..d7aa026 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SamlOrWsFedProvider.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["issuerUri"]; + } else { + return null; + } + } + + /** + * Sets the issuerUri + * Issuer URI of the federation server. + * + * @param string $val The issuerUri + * + * @return SamlOrWsFedProvider + */ + public function setIssuerUri($val) + { + $this->_propDict["issuerUri"] = $val; + return $this; + } + + /** + * Gets the metadataExchangeUri + * URI of the metadata exchange endpoint used for authentication from rich client applications. + * + * @return string|null The metadataExchangeUri + */ + public function getMetadataExchangeUri() + { + if (array_key_exists("metadataExchangeUri", $this->_propDict)) { + return $this->_propDict["metadataExchangeUri"]; + } else { + return null; + } + } + + /** + * Sets the metadataExchangeUri + * URI of the metadata exchange endpoint used for authentication from rich client applications. + * + * @param string $val The metadataExchangeUri + * + * @return SamlOrWsFedProvider + */ + public function setMetadataExchangeUri($val) + { + $this->_propDict["metadataExchangeUri"] = $val; + return $this; + } + + /** + * Gets the passiveSignInUri + * URI that web-based clients are directed to when signing in to Azure Active Directory (Azure AD) services. + * + * @return string|null The passiveSignInUri + */ + public function getPassiveSignInUri() + { + if (array_key_exists("passiveSignInUri", $this->_propDict)) { + return $this->_propDict["passiveSignInUri"]; + } else { + return null; + } + } + + /** + * Sets the passiveSignInUri + * URI that web-based clients are directed to when signing in to Azure Active Directory (Azure AD) services. + * + * @param string $val The passiveSignInUri + * + * @return SamlOrWsFedProvider + */ + public function setPassiveSignInUri($val) + { + $this->_propDict["passiveSignInUri"] = $val; + return $this; + } + + /** + * Gets the preferredAuthenticationProtocol + * Preferred authentication protocol. Supported values include saml or wsfed. + * + * @return AuthenticationProtocol|null The preferredAuthenticationProtocol + */ + public function getPreferredAuthenticationProtocol() + { + if (array_key_exists("preferredAuthenticationProtocol", $this->_propDict)) { + if (is_a($this->_propDict["preferredAuthenticationProtocol"], "\Microsoft\Graph\Model\AuthenticationProtocol") || is_null($this->_propDict["preferredAuthenticationProtocol"])) { + return $this->_propDict["preferredAuthenticationProtocol"]; + } else { + $this->_propDict["preferredAuthenticationProtocol"] = new AuthenticationProtocol($this->_propDict["preferredAuthenticationProtocol"]); + return $this->_propDict["preferredAuthenticationProtocol"]; + } + } + return null; + } + + /** + * Sets the preferredAuthenticationProtocol + * Preferred authentication protocol. Supported values include saml or wsfed. + * + * @param AuthenticationProtocol $val The preferredAuthenticationProtocol + * + * @return SamlOrWsFedProvider + */ + public function setPreferredAuthenticationProtocol($val) + { + $this->_propDict["preferredAuthenticationProtocol"] = $val; + return $this; + } + + /** + * Gets the signingCertificate + * Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class. This property is used in the following scenarios: if a rollover is required outside of the autorollover update a new federation service is being set up if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. Azure AD updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Azure AD monitors the metadata daily and will update the federation settings for the domain when a new certificate is available. + * + * @return string|null The signingCertificate + */ + public function getSigningCertificate() + { + if (array_key_exists("signingCertificate", $this->_propDict)) { + return $this->_propDict["signingCertificate"]; + } else { + return null; + } + } + + /** + * Sets the signingCertificate + * Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class. This property is used in the following scenarios: if a rollover is required outside of the autorollover update a new federation service is being set up if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. Azure AD updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Azure AD monitors the metadata daily and will update the federation settings for the domain when a new certificate is available. + * + * @param string $val The signingCertificate + * + * @return SamlOrWsFedProvider + */ + public function setSigningCertificate($val) + { + $this->_propDict["signingCertificate"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SamlSingleSignOnSettings.php b/vendor/microsoft/microsoft-graph/src/Model/SamlSingleSignOnSettings.php new file mode 100644 index 0000000..9e8d953 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SamlSingleSignOnSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["relayState"]; + } else { + return null; + } + } + + /** + * Sets the relayState + * The relative URI the service provider would redirect to after completion of the single sign-on flow. + * + * @param string $val The value of the relayState + * + * @return SamlSingleSignOnSettings + */ + public function setRelayState($val) + { + $this->_propDict["relayState"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Schedule.php b/vendor/microsoft/microsoft-graph/src/Model/Schedule.php new file mode 100644 index 0000000..1199793 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Schedule.php @@ -0,0 +1,579 @@ +_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Indicates whether the schedule is enabled for the team. Required. + * + * @param bool $val The enabled + * + * @return Schedule + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the offerShiftRequestsEnabled + * Indicates whether offer shift requests are enabled for the schedule. + * + * @return bool|null The offerShiftRequestsEnabled + */ + public function getOfferShiftRequestsEnabled() + { + if (array_key_exists("offerShiftRequestsEnabled", $this->_propDict)) { + return $this->_propDict["offerShiftRequestsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the offerShiftRequestsEnabled + * Indicates whether offer shift requests are enabled for the schedule. + * + * @param bool $val The offerShiftRequestsEnabled + * + * @return Schedule + */ + public function setOfferShiftRequestsEnabled($val) + { + $this->_propDict["offerShiftRequestsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the openShiftsEnabled + * Indicates whether open shifts are enabled for the schedule. + * + * @return bool|null The openShiftsEnabled + */ + public function getOpenShiftsEnabled() + { + if (array_key_exists("openShiftsEnabled", $this->_propDict)) { + return $this->_propDict["openShiftsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the openShiftsEnabled + * Indicates whether open shifts are enabled for the schedule. + * + * @param bool $val The openShiftsEnabled + * + * @return Schedule + */ + public function setOpenShiftsEnabled($val) + { + $this->_propDict["openShiftsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the provisionStatus + * The status of the schedule provisioning. The possible values are notStarted, running, completed, failed. + * + * @return OperationStatus|null The provisionStatus + */ + public function getProvisionStatus() + { + if (array_key_exists("provisionStatus", $this->_propDict)) { + if (is_a($this->_propDict["provisionStatus"], "\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["provisionStatus"])) { + return $this->_propDict["provisionStatus"]; + } else { + $this->_propDict["provisionStatus"] = new OperationStatus($this->_propDict["provisionStatus"]); + return $this->_propDict["provisionStatus"]; + } + } + return null; + } + + /** + * Sets the provisionStatus + * The status of the schedule provisioning. The possible values are notStarted, running, completed, failed. + * + * @param OperationStatus $val The provisionStatus + * + * @return Schedule + */ + public function setProvisionStatus($val) + { + $this->_propDict["provisionStatus"] = $val; + return $this; + } + + /** + * Gets the provisionStatusCode + * Additional information about why schedule provisioning failed. + * + * @return string|null The provisionStatusCode + */ + public function getProvisionStatusCode() + { + if (array_key_exists("provisionStatusCode", $this->_propDict)) { + return $this->_propDict["provisionStatusCode"]; + } else { + return null; + } + } + + /** + * Sets the provisionStatusCode + * Additional information about why schedule provisioning failed. + * + * @param string $val The provisionStatusCode + * + * @return Schedule + */ + public function setProvisionStatusCode($val) + { + $this->_propDict["provisionStatusCode"] = $val; + return $this; + } + + /** + * Gets the swapShiftsRequestsEnabled + * Indicates whether swap shifts requests are enabled for the schedule. + * + * @return bool|null The swapShiftsRequestsEnabled + */ + public function getSwapShiftsRequestsEnabled() + { + if (array_key_exists("swapShiftsRequestsEnabled", $this->_propDict)) { + return $this->_propDict["swapShiftsRequestsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the swapShiftsRequestsEnabled + * Indicates whether swap shifts requests are enabled for the schedule. + * + * @param bool $val The swapShiftsRequestsEnabled + * + * @return Schedule + */ + public function setSwapShiftsRequestsEnabled($val) + { + $this->_propDict["swapShiftsRequestsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the timeClockEnabled + * Indicates whether time clock is enabled for the schedule. + * + * @return bool|null The timeClockEnabled + */ + public function getTimeClockEnabled() + { + if (array_key_exists("timeClockEnabled", $this->_propDict)) { + return $this->_propDict["timeClockEnabled"]; + } else { + return null; + } + } + + /** + * Sets the timeClockEnabled + * Indicates whether time clock is enabled for the schedule. + * + * @param bool $val The timeClockEnabled + * + * @return Schedule + */ + public function setTimeClockEnabled($val) + { + $this->_propDict["timeClockEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the timeOffRequestsEnabled + * Indicates whether time off requests are enabled for the schedule. + * + * @return bool|null The timeOffRequestsEnabled + */ + public function getTimeOffRequestsEnabled() + { + if (array_key_exists("timeOffRequestsEnabled", $this->_propDict)) { + return $this->_propDict["timeOffRequestsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the timeOffRequestsEnabled + * Indicates whether time off requests are enabled for the schedule. + * + * @param bool $val The timeOffRequestsEnabled + * + * @return Schedule + */ + public function setTimeOffRequestsEnabled($val) + { + $this->_propDict["timeOffRequestsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the timeZone + * Indicates the time zone of the schedule team using tz database format. Required. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Indicates the time zone of the schedule team using tz database format. Required. + * + * @param string $val The timeZone + * + * @return Schedule + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } + + /** + * Gets the workforceIntegrationIds + * + * @return string|null The workforceIntegrationIds + */ + public function getWorkforceIntegrationIds() + { + if (array_key_exists("workforceIntegrationIds", $this->_propDict)) { + return $this->_propDict["workforceIntegrationIds"]; + } else { + return null; + } + } + + /** + * Sets the workforceIntegrationIds + * + * @param string $val The workforceIntegrationIds + * + * @return Schedule + */ + public function setWorkforceIntegrationIds($val) + { + $this->_propDict["workforceIntegrationIds"] = $val; + return $this; + } + + + /** + * Gets the offerShiftRequests + * + * @return array|null The offerShiftRequests + */ + public function getOfferShiftRequests() + { + if (array_key_exists("offerShiftRequests", $this->_propDict)) { + return $this->_propDict["offerShiftRequests"]; + } else { + return null; + } + } + + /** + * Sets the offerShiftRequests + * + * @param OfferShiftRequest[] $val The offerShiftRequests + * + * @return Schedule + */ + public function setOfferShiftRequests($val) + { + $this->_propDict["offerShiftRequests"] = $val; + return $this; + } + + + /** + * Gets the openShiftChangeRequests + * + * @return array|null The openShiftChangeRequests + */ + public function getOpenShiftChangeRequests() + { + if (array_key_exists("openShiftChangeRequests", $this->_propDict)) { + return $this->_propDict["openShiftChangeRequests"]; + } else { + return null; + } + } + + /** + * Sets the openShiftChangeRequests + * + * @param OpenShiftChangeRequest[] $val The openShiftChangeRequests + * + * @return Schedule + */ + public function setOpenShiftChangeRequests($val) + { + $this->_propDict["openShiftChangeRequests"] = $val; + return $this; + } + + + /** + * Gets the openShifts + * + * @return array|null The openShifts + */ + public function getOpenShifts() + { + if (array_key_exists("openShifts", $this->_propDict)) { + return $this->_propDict["openShifts"]; + } else { + return null; + } + } + + /** + * Sets the openShifts + * + * @param OpenShift[] $val The openShifts + * + * @return Schedule + */ + public function setOpenShifts($val) + { + $this->_propDict["openShifts"] = $val; + return $this; + } + + + /** + * Gets the schedulingGroups + * The logical grouping of users in the schedule (usually by role). + * + * @return array|null The schedulingGroups + */ + public function getSchedulingGroups() + { + if (array_key_exists("schedulingGroups", $this->_propDict)) { + return $this->_propDict["schedulingGroups"]; + } else { + return null; + } + } + + /** + * Sets the schedulingGroups + * The logical grouping of users in the schedule (usually by role). + * + * @param SchedulingGroup[] $val The schedulingGroups + * + * @return Schedule + */ + public function setSchedulingGroups($val) + { + $this->_propDict["schedulingGroups"] = $val; + return $this; + } + + + /** + * Gets the shifts + * The shifts in the schedule. + * + * @return array|null The shifts + */ + public function getShifts() + { + if (array_key_exists("shifts", $this->_propDict)) { + return $this->_propDict["shifts"]; + } else { + return null; + } + } + + /** + * Sets the shifts + * The shifts in the schedule. + * + * @param Shift[] $val The shifts + * + * @return Schedule + */ + public function setShifts($val) + { + $this->_propDict["shifts"] = $val; + return $this; + } + + + /** + * Gets the swapShiftsChangeRequests + * + * @return array|null The swapShiftsChangeRequests + */ + public function getSwapShiftsChangeRequests() + { + if (array_key_exists("swapShiftsChangeRequests", $this->_propDict)) { + return $this->_propDict["swapShiftsChangeRequests"]; + } else { + return null; + } + } + + /** + * Sets the swapShiftsChangeRequests + * + * @param SwapShiftsChangeRequest[] $val The swapShiftsChangeRequests + * + * @return Schedule + */ + public function setSwapShiftsChangeRequests($val) + { + $this->_propDict["swapShiftsChangeRequests"] = $val; + return $this; + } + + + /** + * Gets the timeOffReasons + * The set of reasons for a time off in the schedule. + * + * @return array|null The timeOffReasons + */ + public function getTimeOffReasons() + { + if (array_key_exists("timeOffReasons", $this->_propDict)) { + return $this->_propDict["timeOffReasons"]; + } else { + return null; + } + } + + /** + * Sets the timeOffReasons + * The set of reasons for a time off in the schedule. + * + * @param TimeOffReason[] $val The timeOffReasons + * + * @return Schedule + */ + public function setTimeOffReasons($val) + { + $this->_propDict["timeOffReasons"] = $val; + return $this; + } + + + /** + * Gets the timeOffRequests + * + * @return array|null The timeOffRequests + */ + public function getTimeOffRequests() + { + if (array_key_exists("timeOffRequests", $this->_propDict)) { + return $this->_propDict["timeOffRequests"]; + } else { + return null; + } + } + + /** + * Sets the timeOffRequests + * + * @param TimeOffRequest[] $val The timeOffRequests + * + * @return Schedule + */ + public function setTimeOffRequests($val) + { + $this->_propDict["timeOffRequests"] = $val; + return $this; + } + + + /** + * Gets the timesOff + * The instances of times off in the schedule. + * + * @return array|null The timesOff + */ + public function getTimesOff() + { + if (array_key_exists("timesOff", $this->_propDict)) { + return $this->_propDict["timesOff"]; + } else { + return null; + } + } + + /** + * Sets the timesOff + * The instances of times off in the schedule. + * + * @param TimeOff[] $val The timesOff + * + * @return Schedule + */ + public function setTimesOff($val) + { + $this->_propDict["timesOff"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequest.php b/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequest.php new file mode 100644 index 0000000..6dc6100 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequest.php @@ -0,0 +1,259 @@ +_propDict)) { + if (is_a($this->_propDict["assignedTo"], "\Microsoft\Graph\Model\ScheduleChangeRequestActor") || is_null($this->_propDict["assignedTo"])) { + return $this->_propDict["assignedTo"]; + } else { + $this->_propDict["assignedTo"] = new ScheduleChangeRequestActor($this->_propDict["assignedTo"]); + return $this->_propDict["assignedTo"]; + } + } + return null; + } + + /** + * Sets the assignedTo + * + * @param ScheduleChangeRequestActor $val The assignedTo + * + * @return ScheduleChangeRequest + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the managerActionDateTime + * + * @return \DateTime|null The managerActionDateTime + */ + public function getManagerActionDateTime() + { + if (array_key_exists("managerActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["managerActionDateTime"], "\DateTime") || is_null($this->_propDict["managerActionDateTime"])) { + return $this->_propDict["managerActionDateTime"]; + } else { + $this->_propDict["managerActionDateTime"] = new \DateTime($this->_propDict["managerActionDateTime"]); + return $this->_propDict["managerActionDateTime"]; + } + } + return null; + } + + /** + * Sets the managerActionDateTime + * + * @param \DateTime $val The managerActionDateTime + * + * @return ScheduleChangeRequest + */ + public function setManagerActionDateTime($val) + { + $this->_propDict["managerActionDateTime"] = $val; + return $this; + } + + /** + * Gets the managerActionMessage + * + * @return string|null The managerActionMessage + */ + public function getManagerActionMessage() + { + if (array_key_exists("managerActionMessage", $this->_propDict)) { + return $this->_propDict["managerActionMessage"]; + } else { + return null; + } + } + + /** + * Sets the managerActionMessage + * + * @param string $val The managerActionMessage + * + * @return ScheduleChangeRequest + */ + public function setManagerActionMessage($val) + { + $this->_propDict["managerActionMessage"] = $val; + return $this; + } + + /** + * Gets the managerUserId + * + * @return string|null The managerUserId + */ + public function getManagerUserId() + { + if (array_key_exists("managerUserId", $this->_propDict)) { + return $this->_propDict["managerUserId"]; + } else { + return null; + } + } + + /** + * Sets the managerUserId + * + * @param string $val The managerUserId + * + * @return ScheduleChangeRequest + */ + public function setManagerUserId($val) + { + $this->_propDict["managerUserId"] = $val; + return $this; + } + + /** + * Gets the senderDateTime + * + * @return \DateTime|null The senderDateTime + */ + public function getSenderDateTime() + { + if (array_key_exists("senderDateTime", $this->_propDict)) { + if (is_a($this->_propDict["senderDateTime"], "\DateTime") || is_null($this->_propDict["senderDateTime"])) { + return $this->_propDict["senderDateTime"]; + } else { + $this->_propDict["senderDateTime"] = new \DateTime($this->_propDict["senderDateTime"]); + return $this->_propDict["senderDateTime"]; + } + } + return null; + } + + /** + * Sets the senderDateTime + * + * @param \DateTime $val The senderDateTime + * + * @return ScheduleChangeRequest + */ + public function setSenderDateTime($val) + { + $this->_propDict["senderDateTime"] = $val; + return $this; + } + + /** + * Gets the senderMessage + * + * @return string|null The senderMessage + */ + public function getSenderMessage() + { + if (array_key_exists("senderMessage", $this->_propDict)) { + return $this->_propDict["senderMessage"]; + } else { + return null; + } + } + + /** + * Sets the senderMessage + * + * @param string $val The senderMessage + * + * @return ScheduleChangeRequest + */ + public function setSenderMessage($val) + { + $this->_propDict["senderMessage"] = $val; + return $this; + } + + /** + * Gets the senderUserId + * + * @return string|null The senderUserId + */ + public function getSenderUserId() + { + if (array_key_exists("senderUserId", $this->_propDict)) { + return $this->_propDict["senderUserId"]; + } else { + return null; + } + } + + /** + * Sets the senderUserId + * + * @param string $val The senderUserId + * + * @return ScheduleChangeRequest + */ + public function setSenderUserId($val) + { + $this->_propDict["senderUserId"] = $val; + return $this; + } + + /** + * Gets the state + * + * @return ScheduleChangeState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ScheduleChangeState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new ScheduleChangeState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * + * @param ScheduleChangeState $val The state + * + * @return ScheduleChangeRequest + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequestActor.php b/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequestActor.php new file mode 100644 index 0000000..a84ec73 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequestActor.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * + * @param \DateTime $val The value to assign to the endDateTime + * + * @return ScheduleEntity The ScheduleEntity + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * + * @param \DateTime $val The value to assign to the startDateTime + * + * @return ScheduleEntity The ScheduleEntity + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the theme + * + * @return ScheduleEntityTheme|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + if (is_a($this->_propDict["theme"], "\Microsoft\Graph\Model\ScheduleEntityTheme") || is_null($this->_propDict["theme"])) { + return $this->_propDict["theme"]; + } else { + $this->_propDict["theme"] = new ScheduleEntityTheme($this->_propDict["theme"]); + return $this->_propDict["theme"]; + } + } + return null; + } + + /** + * Sets the theme + * + * @param ScheduleEntityTheme $val The value to assign to the theme + * + * @return ScheduleEntity The ScheduleEntity + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScheduleEntityTheme.php b/vendor/microsoft/microsoft-graph/src/Model/ScheduleEntityTheme.php new file mode 100644 index 0000000..e63796a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScheduleEntityTheme.php @@ -0,0 +1,45 @@ +_propDict)) { + return $this->_propDict["availabilityView"]; + } else { + return null; + } + } + + /** + * Sets the availabilityView + * Represents a merged view of availability of all the items in scheduleItems. The view consists of time slots. Availability during each time slot is indicated with: 0= free, 1= tentative, 2= busy, 3= out of office, 4= working elsewhere. + * + * @param string $val The value of the availabilityView + * + * @return ScheduleInformation + */ + public function setAvailabilityView($val) + { + $this->_propDict["availabilityView"] = $val; + return $this; + } + + /** + * Gets the error + * Error information from attempting to get the availability of the user, distribution list, or resource. + * + * @return FreeBusyError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\FreeBusyError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new FreeBusyError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Error information from attempting to get the availability of the user, distribution list, or resource. + * + * @param FreeBusyError $val The value to assign to the error + * + * @return ScheduleInformation The ScheduleInformation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + /** + * Gets the scheduleId + * An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation. + * + * @return string|null The scheduleId + */ + public function getScheduleId() + { + if (array_key_exists("scheduleId", $this->_propDict)) { + return $this->_propDict["scheduleId"]; + } else { + return null; + } + } + + /** + * Sets the scheduleId + * An SMTP address of the user, distribution list, or resource, identifying an instance of scheduleInformation. + * + * @param string $val The value of the scheduleId + * + * @return ScheduleInformation + */ + public function setScheduleId($val) + { + $this->_propDict["scheduleId"] = $val; + return $this; + } + + /** + * Gets the scheduleItems + * Contains the items that describe the availability of the user or resource. + * + * @return ScheduleItem|null The scheduleItems + */ + public function getScheduleItems() + { + if (array_key_exists("scheduleItems", $this->_propDict)) { + if (is_a($this->_propDict["scheduleItems"], "\Microsoft\Graph\Model\ScheduleItem") || is_null($this->_propDict["scheduleItems"])) { + return $this->_propDict["scheduleItems"]; + } else { + $this->_propDict["scheduleItems"] = new ScheduleItem($this->_propDict["scheduleItems"]); + return $this->_propDict["scheduleItems"]; + } + } + return null; + } + + /** + * Sets the scheduleItems + * Contains the items that describe the availability of the user or resource. + * + * @param ScheduleItem $val The value to assign to the scheduleItems + * + * @return ScheduleInformation The ScheduleInformation + */ + public function setScheduleItems($val) + { + $this->_propDict["scheduleItems"] = $val; + return $this; + } + + /** + * Gets the workingHours + * The days of the week and hours in a specific time zone that the user works. These are set as part of the user's mailboxSettings. + * + * @return WorkingHours|null The workingHours + */ + public function getWorkingHours() + { + if (array_key_exists("workingHours", $this->_propDict)) { + if (is_a($this->_propDict["workingHours"], "\Microsoft\Graph\Model\WorkingHours") || is_null($this->_propDict["workingHours"])) { + return $this->_propDict["workingHours"]; + } else { + $this->_propDict["workingHours"] = new WorkingHours($this->_propDict["workingHours"]); + return $this->_propDict["workingHours"]; + } + } + return null; + } + + /** + * Sets the workingHours + * The days of the week and hours in a specific time zone that the user works. These are set as part of the user's mailboxSettings. + * + * @param WorkingHours $val The value to assign to the workingHours + * + * @return ScheduleInformation The ScheduleInformation + */ + public function setWorkingHours($val) + { + $this->_propDict["workingHours"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScheduleItem.php b/vendor/microsoft/microsoft-graph/src/Model/ScheduleItem.php new file mode 100644 index 0000000..3f8a92a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScheduleItem.php @@ -0,0 +1,209 @@ +_propDict)) { + if (is_a($this->_propDict["end"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that the corresponding event ends. + * + * @param DateTimeTimeZone $val The value to assign to the end + * + * @return ScheduleItem The ScheduleItem + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + /** + * Gets the isPrivate + * The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional. + * + * @return bool|null The isPrivate + */ + public function getIsPrivate() + { + if (array_key_exists("isPrivate", $this->_propDict)) { + return $this->_propDict["isPrivate"]; + } else { + return null; + } + } + + /** + * Sets the isPrivate + * The sensitivity of the corresponding event. True if the event is marked private, false otherwise. Optional. + * + * @param bool $val The value of the isPrivate + * + * @return ScheduleItem + */ + public function setIsPrivate($val) + { + $this->_propDict["isPrivate"] = $val; + return $this; + } + /** + * Gets the location + * The location where the corresponding event is held or attended from. Optional. + * + * @return string|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + return $this->_propDict["location"]; + } else { + return null; + } + } + + /** + * Sets the location + * The location where the corresponding event is held or attended from. Optional. + * + * @param string $val The value of the location + * + * @return ScheduleItem + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the start + * The date, time, and time zone that the corresponding event starts. + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The date, time, and time zone that the corresponding event starts. + * + * @param DateTimeTimeZone $val The value to assign to the start + * + * @return ScheduleItem The ScheduleItem + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } + + /** + * Gets the status + * The availability status of the user or resource during the corresponding event. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @return FreeBusyStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\FreeBusyStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new FreeBusyStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The availability status of the user or resource during the corresponding event. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. + * + * @param FreeBusyStatus $val The value to assign to the status + * + * @return ScheduleItem The ScheduleItem + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + /** + * Gets the subject + * The corresponding event's subject line. Optional. + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * The corresponding event's subject line. Optional. + * + * @param string $val The value of the subject + * + * @return ScheduleItem + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SchedulingGroup.php b/vendor/microsoft/microsoft-graph/src/Model/SchedulingGroup.php new file mode 100644 index 0000000..e7f76c1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SchedulingGroup.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The display name for the schedulingGroup. Required. + * + * @param string $val The displayName + * + * @return SchedulingGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required. + * + * @param bool $val The isActive + * + * @return SchedulingGroup + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the userIds + * The list of user IDs that are a member of the schedulingGroup. Required. + * + * @return string|null The userIds + */ + public function getUserIds() + { + if (array_key_exists("userIds", $this->_propDict)) { + return $this->_propDict["userIds"]; + } else { + return null; + } + } + + /** + * Sets the userIds + * The list of user IDs that are a member of the schedulingGroup. Required. + * + * @param string $val The userIds + * + * @return SchedulingGroup + */ + public function setUserIds($val) + { + $this->_propDict["userIds"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SchemaExtension.php b/vendor/microsoft/microsoft-graph/src/Model/SchemaExtension.php new file mode 100644 index 0000000..c0a4deb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SchemaExtension.php @@ -0,0 +1,173 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the schema extension. Supports $filter (eq). + * + * @param string $val The description + * + * @return SchemaExtension + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the owner + * The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. So, for example, if creating a new schema extension definition using Graph Explorer, you must supply the owner property. Once set, this property is read-only and cannot be changed. Supports $filter (eq). + * + * @return string|null The owner + */ + public function getOwner() + { + if (array_key_exists("owner", $this->_propDict)) { + return $this->_propDict["owner"]; + } else { + return null; + } + } + + /** + * Sets the owner + * The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. So, for example, if creating a new schema extension definition using Graph Explorer, you must supply the owner property. Once set, this property is read-only and cannot be changed. Supports $filter (eq). + * + * @param string $val The owner + * + * @return SchemaExtension + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + + /** + * Gets the schemaExtensionProperties + * The collection of property names and types that make up the schema extension definition. + * + * @return array|null The schemaExtensionProperties + */ + public function getSchemaExtensionProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the schemaExtensionProperties + * The collection of property names and types that make up the schema extension definition. + * + * @param ExtensionSchemaProperty[] $val The schemaExtensionProperties + * + * @return SchemaExtension + */ + public function setSchemaExtensionProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + + /** + * Gets the status + * The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. Supports $filter (eq). + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. Supports $filter (eq). + * + * @param string $val The status + * + * @return SchemaExtension + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the targetTypes + * Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, or user. + * + * @return string|null The targetTypes + */ + public function getTargetTypes() + { + if (array_key_exists("targetTypes", $this->_propDict)) { + return $this->_propDict["targetTypes"]; + } else { + return null; + } + } + + /** + * Sets the targetTypes + * Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, or user. + * + * @param string $val The targetTypes + * + * @return SchemaExtension + */ + public function setTargetTypes($val) + { + $this->_propDict["targetTypes"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScopedRoleMembership.php b/vendor/microsoft/microsoft-graph/src/Model/ScopedRoleMembership.php new file mode 100644 index 0000000..66a9445 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScopedRoleMembership.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["administrativeUnitId"]; + } else { + return null; + } + } + + /** + * Sets the administrativeUnitId + * Unique identifier for the administrative unit that the directory role is scoped to + * + * @param string $val The administrativeUnitId + * + * @return ScopedRoleMembership + */ + public function setAdministrativeUnitId($val) + { + $this->_propDict["administrativeUnitId"] = $val; + return $this; + } + + /** + * Gets the roleId + * Unique identifier for the directory role that the member is in. + * + * @return string|null The roleId + */ + public function getRoleId() + { + if (array_key_exists("roleId", $this->_propDict)) { + return $this->_propDict["roleId"]; + } else { + return null; + } + } + + /** + * Sets the roleId + * Unique identifier for the directory role that the member is in. + * + * @param string $val The roleId + * + * @return ScopedRoleMembership + */ + public function setRoleId($val) + { + $this->_propDict["roleId"] = $val; + return $this; + } + + /** + * Gets the roleMemberInfo + * Role member identity information. Represents the user that is a member of this scoped-role. + * + * @return Identity|null The roleMemberInfo + */ + public function getRoleMemberInfo() + { + if (array_key_exists("roleMemberInfo", $this->_propDict)) { + if (is_a($this->_propDict["roleMemberInfo"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["roleMemberInfo"])) { + return $this->_propDict["roleMemberInfo"]; + } else { + $this->_propDict["roleMemberInfo"] = new Identity($this->_propDict["roleMemberInfo"]); + return $this->_propDict["roleMemberInfo"]; + } + } + return null; + } + + /** + * Sets the roleMemberInfo + * Role member identity information. Represents the user that is a member of this scoped-role. + * + * @param Identity $val The roleMemberInfo + * + * @return ScopedRoleMembership + */ + public function setRoleMemberInfo($val) + { + $this->_propDict["roleMemberInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScoredEmailAddress.php b/vendor/microsoft/microsoft-graph/src/Model/ScoredEmailAddress.php new file mode 100644 index 0000000..e81392a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScoredEmailAddress.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The email address. + * + * @param string $val The value of the address + * + * @return ScoredEmailAddress + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the itemId + * + * @return string|null The itemId + */ + public function getItemId() + { + if (array_key_exists("itemId", $this->_propDict)) { + return $this->_propDict["itemId"]; + } else { + return null; + } + } + + /** + * Sets the itemId + * + * @param string $val The value of the itemId + * + * @return ScoredEmailAddress + */ + public function setItemId($val) + { + $this->_propDict["itemId"] = $val; + return $this; + } + /** + * Gets the relevanceScore + * The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships. + * + * @return float|null The relevanceScore + */ + public function getRelevanceScore() + { + if (array_key_exists("relevanceScore", $this->_propDict)) { + return $this->_propDict["relevanceScore"]; + } else { + return null; + } + } + + /** + * Sets the relevanceScore + * The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships. + * + * @param float $val The value of the relevanceScore + * + * @return ScoredEmailAddress + */ + public function setRelevanceScore($val) + { + $this->_propDict["relevanceScore"] = $val; + return $this; + } + + /** + * Gets the selectionLikelihood + * + * @return SelectionLikelihoodInfo|null The selectionLikelihood + */ + public function getSelectionLikelihood() + { + if (array_key_exists("selectionLikelihood", $this->_propDict)) { + if (is_a($this->_propDict["selectionLikelihood"], "\Microsoft\Graph\Model\SelectionLikelihoodInfo") || is_null($this->_propDict["selectionLikelihood"])) { + return $this->_propDict["selectionLikelihood"]; + } else { + $this->_propDict["selectionLikelihood"] = new SelectionLikelihoodInfo($this->_propDict["selectionLikelihood"]); + return $this->_propDict["selectionLikelihood"]; + } + } + return null; + } + + /** + * Sets the selectionLikelihood + * + * @param SelectionLikelihoodInfo $val The value to assign to the selectionLikelihood + * + * @return ScoredEmailAddress The ScoredEmailAddress + */ + public function setSelectionLikelihood($val) + { + $this->_propDict["selectionLikelihood"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ScreenSharingRole.php b/vendor/microsoft/microsoft-graph/src/Model/ScreenSharingRole.php new file mode 100644 index 0000000..b05620e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ScreenSharingRole.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["buckets"], "\Microsoft\Graph\Model\SearchBucket") || is_null($this->_propDict["buckets"])) { + return $this->_propDict["buckets"]; + } else { + $this->_propDict["buckets"] = new SearchBucket($this->_propDict["buckets"]); + return $this->_propDict["buckets"]; + } + } + return null; + } + + /** + * Sets the buckets + * Defines the actual buckets of the computed aggregation. + * + * @param SearchBucket $val The value to assign to the buckets + * + * @return SearchAggregation The SearchAggregation + */ + public function setBuckets($val) + { + $this->_propDict["buckets"] = $val; + return $this; + } + /** + * Gets the field + * Defines on which field the aggregation was computed on. + * + * @return string|null The field + */ + public function getField() + { + if (array_key_exists("field", $this->_propDict)) { + return $this->_propDict["field"]; + } else { + return null; + } + } + + /** + * Sets the field + * Defines on which field the aggregation was computed on. + * + * @param string $val The value of the field + * + * @return SearchAggregation + */ + public function setField($val) + { + $this->_propDict["field"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchAlteration.php b/vendor/microsoft/microsoft-graph/src/Model/SearchAlteration.php new file mode 100644 index 0000000..a0828b2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchAlteration.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["alteredHighlightedQueryString"]; + } else { + return null; + } + } + + /** + * Sets the alteredHighlightedQueryString + * Defines the altered highlighted query string with spelling correction. The annotation around the corrected segment is (/ue000, /ue001) + * + * @param string $val The value of the alteredHighlightedQueryString + * + * @return SearchAlteration + */ + public function setAlteredHighlightedQueryString($val) + { + $this->_propDict["alteredHighlightedQueryString"] = $val; + return $this; + } + /** + * Gets the alteredQueryString + * Defines the altered query string with spelling correction. + * + * @return string|null The alteredQueryString + */ + public function getAlteredQueryString() + { + if (array_key_exists("alteredQueryString", $this->_propDict)) { + return $this->_propDict["alteredQueryString"]; + } else { + return null; + } + } + + /** + * Sets the alteredQueryString + * Defines the altered query string with spelling correction. + * + * @param string $val The value of the alteredQueryString + * + * @return SearchAlteration + */ + public function setAlteredQueryString($val) + { + $this->_propDict["alteredQueryString"] = $val; + return $this; + } + + /** + * Gets the alteredQueryTokens + * Represents changed segments with respect to original query. + * + * @return AlteredQueryToken|null The alteredQueryTokens + */ + public function getAlteredQueryTokens() + { + if (array_key_exists("alteredQueryTokens", $this->_propDict)) { + if (is_a($this->_propDict["alteredQueryTokens"], "\Microsoft\Graph\Model\AlteredQueryToken") || is_null($this->_propDict["alteredQueryTokens"])) { + return $this->_propDict["alteredQueryTokens"]; + } else { + $this->_propDict["alteredQueryTokens"] = new AlteredQueryToken($this->_propDict["alteredQueryTokens"]); + return $this->_propDict["alteredQueryTokens"]; + } + } + return null; + } + + /** + * Sets the alteredQueryTokens + * Represents changed segments with respect to original query. + * + * @param AlteredQueryToken $val The value to assign to the alteredQueryTokens + * + * @return SearchAlteration The SearchAlteration + */ + public function setAlteredQueryTokens($val) + { + $this->_propDict["alteredQueryTokens"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchAlterationOptions.php b/vendor/microsoft/microsoft-graph/src/Model/SearchAlterationOptions.php new file mode 100644 index 0000000..27757d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchAlterationOptions.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["enableModification"]; + } else { + return null; + } + } + + /** + * Sets the enableModification + * Indicates whether spelling modifications are enabled. If enabled, user will get the search results for corrected query when there are no results for the original query with typos and get the spelling modification information in queryAlterationResponse property of the response. Optional. + * + * @param bool $val The value of the enableModification + * + * @return SearchAlterationOptions + */ + public function setEnableModification($val) + { + $this->_propDict["enableModification"] = $val; + return $this; + } + /** + * Gets the enableSuggestion + * Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. + * + * @return bool|null The enableSuggestion + */ + public function getEnableSuggestion() + { + if (array_key_exists("enableSuggestion", $this->_propDict)) { + return $this->_propDict["enableSuggestion"]; + } else { + return null; + } + } + + /** + * Sets the enableSuggestion + * Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. + * + * @param bool $val The value of the enableSuggestion + * + * @return SearchAlterationOptions + */ + public function setEnableSuggestion($val) + { + $this->_propDict["enableSuggestion"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchAlterationType.php b/vendor/microsoft/microsoft-graph/src/Model/SearchAlterationType.php new file mode 100644 index 0000000..0d0a896 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchAlterationType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["aggregationFilterToken"]; + } else { + return null; + } + } + + /** + * Sets the aggregationFilterToken + * A token containing the encoded filter to aggregate search matches by the specific key value. To use the filter, pass the token as part of the aggregationFilter property in a searchRequest object, in the format '{field}:/'{aggregationFilterToken}/''. See an example. + * + * @param string $val The value of the aggregationFilterToken + * + * @return SearchBucket + */ + public function setAggregationFilterToken($val) + { + $this->_propDict["aggregationFilterToken"] = $val; + return $this; + } + /** + * Gets the count + * The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches. + * + * @return int|null The count + */ + public function getCount() + { + if (array_key_exists("count", $this->_propDict)) { + return $this->_propDict["count"]; + } else { + return null; + } + } + + /** + * Sets the count + * The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches. + * + * @param int $val The value of the count + * + * @return SearchBucket + */ + public function setCount($val) + { + $this->_propDict["count"] = $val; + return $this; + } + /** + * Gets the key + * The discrete value of the field that an aggregation was computed on. + * + * @return string|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * The discrete value of the field that an aggregation was computed on. + * + * @param string $val The value of the key + * + * @return SearchBucket + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchEntity.php b/vendor/microsoft/microsoft-graph/src/Model/SearchEntity.php new file mode 100644 index 0000000..4731f63 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchEntity.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["contentSource"]; + } else { + return null; + } + } + + /** + * Sets the contentSource + * The name of the content source which the externalItem is part of . + * + * @param string $val The value of the contentSource + * + * @return SearchHit + */ + public function setContentSource($val) + { + $this->_propDict["contentSource"] = $val; + return $this; + } + /** + * Gets the hitId + * The internal identifier for the item. + * + * @return string|null The hitId + */ + public function getHitId() + { + if (array_key_exists("hitId", $this->_propDict)) { + return $this->_propDict["hitId"]; + } else { + return null; + } + } + + /** + * Sets the hitId + * The internal identifier for the item. + * + * @param string $val The value of the hitId + * + * @return SearchHit + */ + public function setHitId($val) + { + $this->_propDict["hitId"] = $val; + return $this; + } + /** + * Gets the rank + * The rank or the order of the result. + * + * @return int|null The rank + */ + public function getRank() + { + if (array_key_exists("rank", $this->_propDict)) { + return $this->_propDict["rank"]; + } else { + return null; + } + } + + /** + * Sets the rank + * The rank or the order of the result. + * + * @param int $val The value of the rank + * + * @return SearchHit + */ + public function setRank($val) + { + $this->_propDict["rank"] = $val; + return $this; + } + /** + * Gets the resultTemplateId + * ID of the result template for rendering the search result. This ID must map to a display layout in the resultTemplates dictionary, included in the searchresponse as well. + * + * @return string|null The resultTemplateId + */ + public function getResultTemplateId() + { + if (array_key_exists("resultTemplateId", $this->_propDict)) { + return $this->_propDict["resultTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the resultTemplateId + * ID of the result template for rendering the search result. This ID must map to a display layout in the resultTemplates dictionary, included in the searchresponse as well. + * + * @param string $val The value of the resultTemplateId + * + * @return SearchHit + */ + public function setResultTemplateId($val) + { + $this->_propDict["resultTemplateId"] = $val; + return $this; + } + /** + * Gets the summary + * A summary of the result, if a summary is available. + * + * @return string|null The summary + */ + public function getSummary() + { + if (array_key_exists("summary", $this->_propDict)) { + return $this->_propDict["summary"]; + } else { + return null; + } + } + + /** + * Sets the summary + * A summary of the result, if a summary is available. + * + * @param string $val The value of the summary + * + * @return SearchHit + */ + public function setSummary($val) + { + $this->_propDict["summary"] = $val; + return $this; + } + + /** + * Gets the resource + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * + * @param Entity $val The value to assign to the resource + * + * @return SearchHit The SearchHit + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchHitsContainer.php b/vendor/microsoft/microsoft-graph/src/Model/SearchHitsContainer.php new file mode 100644 index 0000000..8faea6b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchHitsContainer.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["aggregations"], "\Microsoft\Graph\Model\SearchAggregation") || is_null($this->_propDict["aggregations"])) { + return $this->_propDict["aggregations"]; + } else { + $this->_propDict["aggregations"] = new SearchAggregation($this->_propDict["aggregations"]); + return $this->_propDict["aggregations"]; + } + } + return null; + } + + /** + * Sets the aggregations + * Contains the collection of aggregations computed based on the provided aggregationOption specified in the request. + * + * @param SearchAggregation $val The value to assign to the aggregations + * + * @return SearchHitsContainer The SearchHitsContainer + */ + public function setAggregations($val) + { + $this->_propDict["aggregations"] = $val; + return $this; + } + + /** + * Gets the hits + * A collection of the search results. + * + * @return SearchHit|null The hits + */ + public function getHits() + { + if (array_key_exists("hits", $this->_propDict)) { + if (is_a($this->_propDict["hits"], "\Microsoft\Graph\Model\SearchHit") || is_null($this->_propDict["hits"])) { + return $this->_propDict["hits"]; + } else { + $this->_propDict["hits"] = new SearchHit($this->_propDict["hits"]); + return $this->_propDict["hits"]; + } + } + return null; + } + + /** + * Sets the hits + * A collection of the search results. + * + * @param SearchHit $val The value to assign to the hits + * + * @return SearchHitsContainer The SearchHitsContainer + */ + public function setHits($val) + { + $this->_propDict["hits"] = $val; + return $this; + } + /** + * Gets the moreResultsAvailable + * Provides information if more results are available. Based on this information, you can adjust the from and size properties of the searchRequest accordingly. + * + * @return bool|null The moreResultsAvailable + */ + public function getMoreResultsAvailable() + { + if (array_key_exists("moreResultsAvailable", $this->_propDict)) { + return $this->_propDict["moreResultsAvailable"]; + } else { + return null; + } + } + + /** + * Sets the moreResultsAvailable + * Provides information if more results are available. Based on this information, you can adjust the from and size properties of the searchRequest accordingly. + * + * @param bool $val The value of the moreResultsAvailable + * + * @return SearchHitsContainer + */ + public function setMoreResultsAvailable($val) + { + $this->_propDict["moreResultsAvailable"] = $val; + return $this; + } + /** + * Gets the total + * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. + * + * @return int|null The total + */ + public function getTotal() + { + if (array_key_exists("total", $this->_propDict)) { + return $this->_propDict["total"]; + } else { + return null; + } + } + + /** + * Sets the total + * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. + * + * @param int $val The value of the total + * + * @return SearchHitsContainer + */ + public function setTotal($val) + { + $this->_propDict["total"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchQuery.php b/vendor/microsoft/microsoft-graph/src/Model/SearchQuery.php new file mode 100644 index 0000000..35937df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchQuery.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["queryString"]; + } else { + return null; + } + } + + /** + * Sets the queryString + * The search query containing the search terms. Required. + * + * @param string $val The value of the queryString + * + * @return SearchQuery + */ + public function setQueryString($val) + { + $this->_propDict["queryString"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchRequest.php b/vendor/microsoft/microsoft-graph/src/Model/SearchRequest.php new file mode 100644 index 0000000..7abd085 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchRequest.php @@ -0,0 +1,392 @@ +_propDict)) { + return $this->_propDict["aggregationFilters"]; + } else { + return null; + } + } + + /** + * Sets the aggregationFilters + * Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the searchBucket that filters results to the specific value of the field, use the string in its aggregationFilterToken property, and build an aggregation filter string in the format '{field}:/'{aggregationFilterToken}/''. If multiple values for the same field need to be provided, use the strings in its aggregationFilterToken property and build an aggregation filter string in the format '{field}:or(/'{aggregationFilterToken1}/',/'{aggregationFilterToken2}/')'. For example, searching and aggregating drive items by file type returns a searchBucket for the file type docx in the response. You can conveniently use the aggregationFilterToken returned for this searchBucket in a subsequent search query and filter matches down to drive items of the docx file type. Example 1 and example 2 show the actual requests and responses. + * + * @param string $val The value of the aggregationFilters + * + * @return SearchRequest + */ + public function setAggregationFilters($val) + { + $this->_propDict["aggregationFilters"] = $val; + return $this; + } + + /** + * Gets the aggregations + * Specifies aggregations (also known as refiners) to be returned alongside search results. Optional. + * + * @return AggregationOption|null The aggregations + */ + public function getAggregations() + { + if (array_key_exists("aggregations", $this->_propDict)) { + if (is_a($this->_propDict["aggregations"], "\Microsoft\Graph\Model\AggregationOption") || is_null($this->_propDict["aggregations"])) { + return $this->_propDict["aggregations"]; + } else { + $this->_propDict["aggregations"] = new AggregationOption($this->_propDict["aggregations"]); + return $this->_propDict["aggregations"]; + } + } + return null; + } + + /** + * Sets the aggregations + * Specifies aggregations (also known as refiners) to be returned alongside search results. Optional. + * + * @param AggregationOption $val The value to assign to the aggregations + * + * @return SearchRequest The SearchRequest + */ + public function setAggregations($val) + { + $this->_propDict["aggregations"] = $val; + return $this; + } + /** + * Gets the contentSources + * Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. + * + * @return string|null The contentSources + */ + public function getContentSources() + { + if (array_key_exists("contentSources", $this->_propDict)) { + return $this->_propDict["contentSources"]; + } else { + return null; + } + } + + /** + * Sets the contentSources + * Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. + * + * @param string $val The value of the contentSources + * + * @return SearchRequest + */ + public function setContentSources($val) + { + $this->_propDict["contentSources"] = $val; + return $this; + } + /** + * Gets the enableTopResults + * This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. + * + * @return bool|null The enableTopResults + */ + public function getEnableTopResults() + { + if (array_key_exists("enableTopResults", $this->_propDict)) { + return $this->_propDict["enableTopResults"]; + } else { + return null; + } + } + + /** + * Sets the enableTopResults + * This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. + * + * @param bool $val The value of the enableTopResults + * + * @return SearchRequest + */ + public function setEnableTopResults($val) + { + $this->_propDict["enableTopResults"] = $val; + return $this; + } + + /** + * Gets the entityTypes + * One or more types of resources expected in the response. Possible values are: list, site, listItem, message, event, drive, driveItem, person, externalItem. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. + * + * @return EntityType|null The entityTypes + */ + public function getEntityTypes() + { + if (array_key_exists("entityTypes", $this->_propDict)) { + if (is_a($this->_propDict["entityTypes"], "\Microsoft\Graph\Model\EntityType") || is_null($this->_propDict["entityTypes"])) { + return $this->_propDict["entityTypes"]; + } else { + $this->_propDict["entityTypes"] = new EntityType($this->_propDict["entityTypes"]); + return $this->_propDict["entityTypes"]; + } + } + return null; + } + + /** + * Sets the entityTypes + * One or more types of resources expected in the response. Possible values are: list, site, listItem, message, event, drive, driveItem, person, externalItem. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. + * + * @param EntityType $val The value to assign to the entityTypes + * + * @return SearchRequest The SearchRequest + */ + public function setEntityTypes($val) + { + $this->_propDict["entityTypes"] = $val; + return $this; + } + /** + * Gets the fields + * Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + * + * @return string|null The fields + */ + public function getFields() + { + if (array_key_exists("fields", $this->_propDict)) { + return $this->_propDict["fields"]; + } else { + return null; + } + } + + /** + * Sets the fields + * Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + * + * @param string $val The value of the fields + * + * @return SearchRequest + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + /** + * Gets the from + * Specifies the offset for the search results. Offset 0 returns the very first result. Optional. + * + * @return int|null The from + */ + public function getFrom() + { + if (array_key_exists("from", $this->_propDict)) { + return $this->_propDict["from"]; + } else { + return null; + } + } + + /** + * Sets the from + * Specifies the offset for the search results. Offset 0 returns the very first result. Optional. + * + * @param int $val The value of the from + * + * @return SearchRequest + */ + public function setFrom($val) + { + $this->_propDict["from"] = $val; + return $this; + } + + /** + * Gets the query + * Contains the query terms. Required. + * + * @return SearchQuery|null The query + */ + public function getQuery() + { + if (array_key_exists("query", $this->_propDict)) { + if (is_a($this->_propDict["query"], "\Microsoft\Graph\Model\SearchQuery") || is_null($this->_propDict["query"])) { + return $this->_propDict["query"]; + } else { + $this->_propDict["query"] = new SearchQuery($this->_propDict["query"]); + return $this->_propDict["query"]; + } + } + return null; + } + + /** + * Sets the query + * Contains the query terms. Required. + * + * @param SearchQuery $val The value to assign to the query + * + * @return SearchRequest The SearchRequest + */ + public function setQuery($val) + { + $this->_propDict["query"] = $val; + return $this; + } + + /** + * Gets the queryAlterationOptions + * Provides query alteration options formatted as a JSON blob that contains two optional flags related to spelling correction. Optional. + * + * @return SearchAlterationOptions|null The queryAlterationOptions + */ + public function getQueryAlterationOptions() + { + if (array_key_exists("queryAlterationOptions", $this->_propDict)) { + if (is_a($this->_propDict["queryAlterationOptions"], "\Microsoft\Graph\Model\SearchAlterationOptions") || is_null($this->_propDict["queryAlterationOptions"])) { + return $this->_propDict["queryAlterationOptions"]; + } else { + $this->_propDict["queryAlterationOptions"] = new SearchAlterationOptions($this->_propDict["queryAlterationOptions"]); + return $this->_propDict["queryAlterationOptions"]; + } + } + return null; + } + + /** + * Sets the queryAlterationOptions + * Provides query alteration options formatted as a JSON blob that contains two optional flags related to spelling correction. Optional. + * + * @param SearchAlterationOptions $val The value to assign to the queryAlterationOptions + * + * @return SearchRequest The SearchRequest + */ + public function setQueryAlterationOptions($val) + { + $this->_propDict["queryAlterationOptions"] = $val; + return $this; + } + + /** + * Gets the resultTemplateOptions + * Provides the search result templates options for rendering connectors search results. + * + * @return ResultTemplateOption|null The resultTemplateOptions + */ + public function getResultTemplateOptions() + { + if (array_key_exists("resultTemplateOptions", $this->_propDict)) { + if (is_a($this->_propDict["resultTemplateOptions"], "\Microsoft\Graph\Model\ResultTemplateOption") || is_null($this->_propDict["resultTemplateOptions"])) { + return $this->_propDict["resultTemplateOptions"]; + } else { + $this->_propDict["resultTemplateOptions"] = new ResultTemplateOption($this->_propDict["resultTemplateOptions"]); + return $this->_propDict["resultTemplateOptions"]; + } + } + return null; + } + + /** + * Sets the resultTemplateOptions + * Provides the search result templates options for rendering connectors search results. + * + * @param ResultTemplateOption $val The value to assign to the resultTemplateOptions + * + * @return SearchRequest The SearchRequest + */ + public function setResultTemplateOptions($val) + { + $this->_propDict["resultTemplateOptions"] = $val; + return $this; + } + /** + * Gets the size + * The size of the page to be retrieved. Optional. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * The size of the page to be retrieved. Optional. + * + * @param int $val The value of the size + * + * @return SearchRequest + */ + public function setSize($val) + { + $this->_propDict["size"] = $val; + return $this; + } + + /** + * Gets the sortProperties + * Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional. + * + * @return SortProperty|null The sortProperties + */ + public function getSortProperties() + { + if (array_key_exists("sortProperties", $this->_propDict)) { + if (is_a($this->_propDict["sortProperties"], "\Microsoft\Graph\Model\SortProperty") || is_null($this->_propDict["sortProperties"])) { + return $this->_propDict["sortProperties"]; + } else { + $this->_propDict["sortProperties"] = new SortProperty($this->_propDict["sortProperties"]); + return $this->_propDict["sortProperties"]; + } + } + return null; + } + + /** + * Sets the sortProperties + * Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional. + * + * @param SortProperty $val The value to assign to the sortProperties + * + * @return SearchRequest The SearchRequest + */ + public function setSortProperties($val) + { + $this->_propDict["sortProperties"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchResponse.php b/vendor/microsoft/microsoft-graph/src/Model/SearchResponse.php new file mode 100644 index 0000000..f826175 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchResponse.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["hitsContainers"], "\Microsoft\Graph\Model\SearchHitsContainer") || is_null($this->_propDict["hitsContainers"])) { + return $this->_propDict["hitsContainers"]; + } else { + $this->_propDict["hitsContainers"] = new SearchHitsContainer($this->_propDict["hitsContainers"]); + return $this->_propDict["hitsContainers"]; + } + } + return null; + } + + /** + * Sets the hitsContainers + * A collection of search results. + * + * @param SearchHitsContainer $val The value to assign to the hitsContainers + * + * @return SearchResponse The SearchResponse + */ + public function setHitsContainers($val) + { + $this->_propDict["hitsContainers"] = $val; + return $this; + } + + /** + * Gets the queryAlterationResponse + * Provides details of query alteration response for spelling correction. + * + * @return AlterationResponse|null The queryAlterationResponse + */ + public function getQueryAlterationResponse() + { + if (array_key_exists("queryAlterationResponse", $this->_propDict)) { + if (is_a($this->_propDict["queryAlterationResponse"], "\Microsoft\Graph\Model\AlterationResponse") || is_null($this->_propDict["queryAlterationResponse"])) { + return $this->_propDict["queryAlterationResponse"]; + } else { + $this->_propDict["queryAlterationResponse"] = new AlterationResponse($this->_propDict["queryAlterationResponse"]); + return $this->_propDict["queryAlterationResponse"]; + } + } + return null; + } + + /** + * Sets the queryAlterationResponse + * Provides details of query alteration response for spelling correction. + * + * @param AlterationResponse $val The value to assign to the queryAlterationResponse + * + * @return SearchResponse The SearchResponse + */ + public function setQueryAlterationResponse($val) + { + $this->_propDict["queryAlterationResponse"] = $val; + return $this; + } + + /** + * Gets the resultTemplates + * A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates. + * + * @return ResultTemplateDictionary|null The resultTemplates + */ + public function getResultTemplates() + { + if (array_key_exists("resultTemplates", $this->_propDict)) { + if (is_a($this->_propDict["resultTemplates"], "\Microsoft\Graph\Model\ResultTemplateDictionary") || is_null($this->_propDict["resultTemplates"])) { + return $this->_propDict["resultTemplates"]; + } else { + $this->_propDict["resultTemplates"] = new ResultTemplateDictionary($this->_propDict["resultTemplates"]); + return $this->_propDict["resultTemplates"]; + } + } + return null; + } + + /** + * Sets the resultTemplates + * A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates. + * + * @param ResultTemplateDictionary $val The value to assign to the resultTemplates + * + * @return SearchResponse The SearchResponse + */ + public function setResultTemplates($val) + { + $this->_propDict["resultTemplates"] = $val; + return $this; + } + /** + * Gets the searchTerms + * Contains the search terms sent in the initial search query. + * + * @return string|null The searchTerms + */ + public function getSearchTerms() + { + if (array_key_exists("searchTerms", $this->_propDict)) { + return $this->_propDict["searchTerms"]; + } else { + return null; + } + } + + /** + * Sets the searchTerms + * Contains the search terms sent in the initial search query. + * + * @param string $val The value of the searchTerms + * + * @return SearchResponse + */ + public function setSearchTerms($val) + { + $this->_propDict["searchTerms"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchResult.php b/vendor/microsoft/microsoft-graph/src/Model/SearchResult.php new file mode 100644 index 0000000..2e5877a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SearchResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["onClickTelemetryUrl"]; + } else { + return null; + } + } + + /** + * Sets the onClickTelemetryUrl + * A callback URL that can be used to record telemetry information. The application should issue a GET on this URL if the user interacts with this item to improve the quality of results. + * + * @param string $val The value of the onClickTelemetryUrl + * + * @return SearchResult + */ + public function setOnClickTelemetryUrl($val) + { + $this->_propDict["onClickTelemetryUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SectionGroup.php b/vendor/microsoft/microsoft-graph/src/Model/SectionGroup.php new file mode 100644 index 0000000..d962737 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SectionGroup.php @@ -0,0 +1,211 @@ +_propDict)) { + return $this->_propDict["sectionGroupsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroupsUrl + * The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only. + * + * @param string $val The sectionGroupsUrl + * + * @return SectionGroup + */ + public function setSectionGroupsUrl($val) + { + $this->_propDict["sectionGroupsUrl"] = $val; + return $this; + } + + /** + * Gets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the section group. Read-only. + * + * @return string|null The sectionsUrl + */ + public function getSectionsUrl() + { + if (array_key_exists("sectionsUrl", $this->_propDict)) { + return $this->_propDict["sectionsUrl"]; + } else { + return null; + } + } + + /** + * Sets the sectionsUrl + * The URL for the sections navigation property, which returns all the sections in the section group. Read-only. + * + * @param string $val The sectionsUrl + * + * @return SectionGroup + */ + public function setSectionsUrl($val) + { + $this->_propDict["sectionsUrl"] = $val; + return $this; + } + + /** + * Gets the parentNotebook + * The notebook that contains the section group. Read-only. + * + * @return Notebook|null The parentNotebook + */ + public function getParentNotebook() + { + if (array_key_exists("parentNotebook", $this->_propDict)) { + if (is_a($this->_propDict["parentNotebook"], "\Microsoft\Graph\Model\Notebook") || is_null($this->_propDict["parentNotebook"])) { + return $this->_propDict["parentNotebook"]; + } else { + $this->_propDict["parentNotebook"] = new Notebook($this->_propDict["parentNotebook"]); + return $this->_propDict["parentNotebook"]; + } + } + return null; + } + + /** + * Sets the parentNotebook + * The notebook that contains the section group. Read-only. + * + * @param Notebook $val The parentNotebook + * + * @return SectionGroup + */ + public function setParentNotebook($val) + { + $this->_propDict["parentNotebook"] = $val; + return $this; + } + + /** + * Gets the parentSectionGroup + * The section group that contains the section group. Read-only. + * + * @return SectionGroup|null The parentSectionGroup + */ + public function getParentSectionGroup() + { + if (array_key_exists("parentSectionGroup", $this->_propDict)) { + if (is_a($this->_propDict["parentSectionGroup"], "\Microsoft\Graph\Model\SectionGroup") || is_null($this->_propDict["parentSectionGroup"])) { + return $this->_propDict["parentSectionGroup"]; + } else { + $this->_propDict["parentSectionGroup"] = new SectionGroup($this->_propDict["parentSectionGroup"]); + return $this->_propDict["parentSectionGroup"]; + } + } + return null; + } + + /** + * Sets the parentSectionGroup + * The section group that contains the section group. Read-only. + * + * @param SectionGroup $val The parentSectionGroup + * + * @return SectionGroup + */ + public function setParentSectionGroup($val) + { + $this->_propDict["parentSectionGroup"] = $val; + return $this; + } + + + /** + * Gets the sectionGroups + * The section groups in the section. Read-only. Nullable. + * + * @return array|null The sectionGroups + */ + public function getSectionGroups() + { + if (array_key_exists("sectionGroups", $this->_propDict)) { + return $this->_propDict["sectionGroups"]; + } else { + return null; + } + } + + /** + * Sets the sectionGroups + * The section groups in the section. Read-only. Nullable. + * + * @param SectionGroup[] $val The sectionGroups + * + * @return SectionGroup + */ + public function setSectionGroups($val) + { + $this->_propDict["sectionGroups"] = $val; + return $this; + } + + + /** + * Gets the sections + * The sections in the section group. Read-only. Nullable. + * + * @return array|null The sections + */ + public function getSections() + { + if (array_key_exists("sections", $this->_propDict)) { + return $this->_propDict["sections"]; + } else { + return null; + } + } + + /** + * Sets the sections + * The sections in the section group. Read-only. Nullable. + * + * @param OnenoteSection[] $val The sections + * + * @return SectionGroup + */ + public function setSections($val) + { + $this->_propDict["sections"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SectionLinks.php b/vendor/microsoft/microsoft-graph/src/Model/SectionLinks.php new file mode 100644 index 0000000..b40ed16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SectionLinks.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteClientUrl"])) { + return $this->_propDict["oneNoteClientUrl"]; + } else { + $this->_propDict["oneNoteClientUrl"] = new ExternalLink($this->_propDict["oneNoteClientUrl"]); + return $this->_propDict["oneNoteClientUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteClientUrl + * Opens the section in the OneNote native client if it's installed. + * + * @param ExternalLink $val The value to assign to the oneNoteClientUrl + * + * @return SectionLinks The SectionLinks + */ + public function setOneNoteClientUrl($val) + { + $this->_propDict["oneNoteClientUrl"] = $val; + return $this; + } + + /** + * Gets the oneNoteWebUrl + * Opens the section in OneNote on the web. + * + * @return ExternalLink|null The oneNoteWebUrl + */ + public function getOneNoteWebUrl() + { + if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { + if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink") || is_null($this->_propDict["oneNoteWebUrl"])) { + return $this->_propDict["oneNoteWebUrl"]; + } else { + $this->_propDict["oneNoteWebUrl"] = new ExternalLink($this->_propDict["oneNoteWebUrl"]); + return $this->_propDict["oneNoteWebUrl"]; + } + } + return null; + } + + /** + * Sets the oneNoteWebUrl + * Opens the section in OneNote on the web. + * + * @param ExternalLink $val The value to assign to the oneNoteWebUrl + * + * @return SectionLinks The SectionLinks + */ + public function setOneNoteWebUrl($val) + { + $this->_propDict["oneNoteWebUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SecureScore.php b/vendor/microsoft/microsoft-graph/src/Model/SecureScore.php new file mode 100644 index 0000000..bd30c9f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SecureScore.php @@ -0,0 +1,327 @@ +_propDict)) { + return $this->_propDict["activeUserCount"]; + } else { + return null; + } + } + + /** + * Sets the activeUserCount + * Active user count of the given tenant. + * + * @param int $val The activeUserCount + * + * @return SecureScore + */ + public function setActiveUserCount($val) + { + $this->_propDict["activeUserCount"] = intval($val); + return $this; + } + + + /** + * Gets the averageComparativeScores + * Average score by different scopes (for example, average by industry, average by seating) and control category (Identity, Data, Device, Apps, Infrastructure) within the scope. + * + * @return array|null The averageComparativeScores + */ + public function getAverageComparativeScores() + { + if (array_key_exists("averageComparativeScores", $this->_propDict)) { + return $this->_propDict["averageComparativeScores"]; + } else { + return null; + } + } + + /** + * Sets the averageComparativeScores + * Average score by different scopes (for example, average by industry, average by seating) and control category (Identity, Data, Device, Apps, Infrastructure) within the scope. + * + * @param AverageComparativeScore[] $val The averageComparativeScores + * + * @return SecureScore + */ + public function setAverageComparativeScores($val) + { + $this->_propDict["averageComparativeScores"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * GUID string for tenant ID. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * GUID string for tenant ID. + * + * @param string $val The azureTenantId + * + * @return SecureScore + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + + /** + * Gets the controlScores + * Contains tenant scores for a set of controls. + * + * @return array|null The controlScores + */ + public function getControlScores() + { + if (array_key_exists("controlScores", $this->_propDict)) { + return $this->_propDict["controlScores"]; + } else { + return null; + } + } + + /** + * Sets the controlScores + * Contains tenant scores for a set of controls. + * + * @param ControlScore[] $val The controlScores + * + * @return SecureScore + */ + public function setControlScores($val) + { + $this->_propDict["controlScores"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date when the entity is created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date when the entity is created. + * + * @param \DateTime $val The createdDateTime + * + * @return SecureScore + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the currentScore + * Tenant current attained score on specified date. + * + * @return float|null The currentScore + */ + public function getCurrentScore() + { + if (array_key_exists("currentScore", $this->_propDict)) { + return $this->_propDict["currentScore"]; + } else { + return null; + } + } + + /** + * Sets the currentScore + * Tenant current attained score on specified date. + * + * @param float $val The currentScore + * + * @return SecureScore + */ + public function setCurrentScore($val) + { + $this->_propDict["currentScore"] = floatval($val); + return $this; + } + + /** + * Gets the enabledServices + * Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). + * + * @return string|null The enabledServices + */ + public function getEnabledServices() + { + if (array_key_exists("enabledServices", $this->_propDict)) { + return $this->_propDict["enabledServices"]; + } else { + return null; + } + } + + /** + * Sets the enabledServices + * Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). + * + * @param string $val The enabledServices + * + * @return SecureScore + */ + public function setEnabledServices($val) + { + $this->_propDict["enabledServices"] = $val; + return $this; + } + + /** + * Gets the licensedUserCount + * Licensed user count of the given tenant. + * + * @return int|null The licensedUserCount + */ + public function getLicensedUserCount() + { + if (array_key_exists("licensedUserCount", $this->_propDict)) { + return $this->_propDict["licensedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the licensedUserCount + * Licensed user count of the given tenant. + * + * @param int $val The licensedUserCount + * + * @return SecureScore + */ + public function setLicensedUserCount($val) + { + $this->_propDict["licensedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the maxScore + * Tenant maximum possible score on specified date. + * + * @return float|null The maxScore + */ + public function getMaxScore() + { + if (array_key_exists("maxScore", $this->_propDict)) { + return $this->_propDict["maxScore"]; + } else { + return null; + } + } + + /** + * Sets the maxScore + * Tenant maximum possible score on specified date. + * + * @param float $val The maxScore + * + * @return SecureScore + */ + public function setMaxScore($val) + { + $this->_propDict["maxScore"] = floatval($val); + return $this; + } + + /** + * Gets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=SecureScore). Required. + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return SecureScore + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlProfile.php b/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlProfile.php new file mode 100644 index 0000000..0feb224 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlProfile.php @@ -0,0 +1,586 @@ +_propDict)) { + return $this->_propDict["actionType"]; + } else { + return null; + } + } + + /** + * Sets the actionType + * Control action type (Config, Review, Behavior). + * + * @param string $val The actionType + * + * @return SecureScoreControlProfile + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the actionUrl + * URL to where the control can be actioned. + * + * @return string|null The actionUrl + */ + public function getActionUrl() + { + if (array_key_exists("actionUrl", $this->_propDict)) { + return $this->_propDict["actionUrl"]; + } else { + return null; + } + } + + /** + * Sets the actionUrl + * URL to where the control can be actioned. + * + * @param string $val The actionUrl + * + * @return SecureScoreControlProfile + */ + public function setActionUrl($val) + { + $this->_propDict["actionUrl"] = $val; + return $this; + } + + /** + * Gets the azureTenantId + * GUID string for tenant ID. + * + * @return string|null The azureTenantId + */ + public function getAzureTenantId() + { + if (array_key_exists("azureTenantId", $this->_propDict)) { + return $this->_propDict["azureTenantId"]; + } else { + return null; + } + } + + /** + * Sets the azureTenantId + * GUID string for tenant ID. + * + * @param string $val The azureTenantId + * + * @return SecureScoreControlProfile + */ + public function setAzureTenantId($val) + { + $this->_propDict["azureTenantId"] = $val; + return $this; + } + + + /** + * Gets the complianceInformation + * The collection of compliance information associated with secure score control + * + * @return array|null The complianceInformation + */ + public function getComplianceInformation() + { + if (array_key_exists("complianceInformation", $this->_propDict)) { + return $this->_propDict["complianceInformation"]; + } else { + return null; + } + } + + /** + * Sets the complianceInformation + * The collection of compliance information associated with secure score control + * + * @param ComplianceInformation[] $val The complianceInformation + * + * @return SecureScoreControlProfile + */ + public function setComplianceInformation($val) + { + $this->_propDict["complianceInformation"] = $val; + return $this; + } + + /** + * Gets the controlCategory + * Control action category (Account, Data, Device, Apps, Infrastructure). + * + * @return string|null The controlCategory + */ + public function getControlCategory() + { + if (array_key_exists("controlCategory", $this->_propDict)) { + return $this->_propDict["controlCategory"]; + } else { + return null; + } + } + + /** + * Sets the controlCategory + * Control action category (Account, Data, Device, Apps, Infrastructure). + * + * @param string $val The controlCategory + * + * @return SecureScoreControlProfile + */ + public function setControlCategory($val) + { + $this->_propDict["controlCategory"] = $val; + return $this; + } + + + /** + * Gets the controlStateUpdates + * Flag to indicate where the tenant has marked a control (ignore, thirdParty, reviewed) (supports update). + * + * @return array|null The controlStateUpdates + */ + public function getControlStateUpdates() + { + if (array_key_exists("controlStateUpdates", $this->_propDict)) { + return $this->_propDict["controlStateUpdates"]; + } else { + return null; + } + } + + /** + * Sets the controlStateUpdates + * Flag to indicate where the tenant has marked a control (ignore, thirdParty, reviewed) (supports update). + * + * @param SecureScoreControlStateUpdate[] $val The controlStateUpdates + * + * @return SecureScoreControlProfile + */ + public function setControlStateUpdates($val) + { + $this->_propDict["controlStateUpdates"] = $val; + return $this; + } + + /** + * Gets the deprecated + * Flag to indicate if a control is depreciated. + * + * @return bool|null The deprecated + */ + public function getDeprecated() + { + if (array_key_exists("deprecated", $this->_propDict)) { + return $this->_propDict["deprecated"]; + } else { + return null; + } + } + + /** + * Sets the deprecated + * Flag to indicate if a control is depreciated. + * + * @param bool $val The deprecated + * + * @return SecureScoreControlProfile + */ + public function setDeprecated($val) + { + $this->_propDict["deprecated"] = boolval($val); + return $this; + } + + /** + * Gets the implementationCost + * Resource cost of implemmentating control (low, moderate, high). + * + * @return string|null The implementationCost + */ + public function getImplementationCost() + { + if (array_key_exists("implementationCost", $this->_propDict)) { + return $this->_propDict["implementationCost"]; + } else { + return null; + } + } + + /** + * Sets the implementationCost + * Resource cost of implemmentating control (low, moderate, high). + * + * @param string $val The implementationCost + * + * @return SecureScoreControlProfile + */ + public function setImplementationCost($val) + { + $this->_propDict["implementationCost"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Time at which the control profile entity was last modified. The Timestamp type represents date and time + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Time at which the control profile entity was last modified. The Timestamp type represents date and time + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SecureScoreControlProfile + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the maxScore + * Current obtained max score on specified date. + * + * @return float|null The maxScore + */ + public function getMaxScore() + { + if (array_key_exists("maxScore", $this->_propDict)) { + return $this->_propDict["maxScore"]; + } else { + return null; + } + } + + /** + * Sets the maxScore + * Current obtained max score on specified date. + * + * @param float $val The maxScore + * + * @return SecureScoreControlProfile + */ + public function setMaxScore($val) + { + $this->_propDict["maxScore"] = floatval($val); + return $this; + } + + /** + * Gets the rank + * Microsoft's stack ranking of control. + * + * @return int|null The rank + */ + public function getRank() + { + if (array_key_exists("rank", $this->_propDict)) { + return $this->_propDict["rank"]; + } else { + return null; + } + } + + /** + * Sets the rank + * Microsoft's stack ranking of control. + * + * @param int $val The rank + * + * @return SecureScoreControlProfile + */ + public function setRank($val) + { + $this->_propDict["rank"] = intval($val); + return $this; + } + + /** + * Gets the remediation + * Description of what the control will help remediate. + * + * @return string|null The remediation + */ + public function getRemediation() + { + if (array_key_exists("remediation", $this->_propDict)) { + return $this->_propDict["remediation"]; + } else { + return null; + } + } + + /** + * Sets the remediation + * Description of what the control will help remediate. + * + * @param string $val The remediation + * + * @return SecureScoreControlProfile + */ + public function setRemediation($val) + { + $this->_propDict["remediation"] = $val; + return $this; + } + + /** + * Gets the remediationImpact + * Description of the impact on users of the remediation. + * + * @return string|null The remediationImpact + */ + public function getRemediationImpact() + { + if (array_key_exists("remediationImpact", $this->_propDict)) { + return $this->_propDict["remediationImpact"]; + } else { + return null; + } + } + + /** + * Sets the remediationImpact + * Description of the impact on users of the remediation. + * + * @param string $val The remediationImpact + * + * @return SecureScoreControlProfile + */ + public function setRemediationImpact($val) + { + $this->_propDict["remediationImpact"] = $val; + return $this; + } + + /** + * Gets the service + * Service that owns the control (Exchange, Sharepoint, Azure AD). + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * Service that owns the control (Exchange, Sharepoint, Azure AD). + * + * @param string $val The service + * + * @return SecureScoreControlProfile + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the threats + * List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,elevationOfPrivilege,maliciousInsider,passwordCracking,phishingOrWhaling,spoofing). + * + * @return string|null The threats + */ + public function getThreats() + { + if (array_key_exists("threats", $this->_propDict)) { + return $this->_propDict["threats"]; + } else { + return null; + } + } + + /** + * Sets the threats + * List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,elevationOfPrivilege,maliciousInsider,passwordCracking,phishingOrWhaling,spoofing). + * + * @param string $val The threats + * + * @return SecureScoreControlProfile + */ + public function setThreats($val) + { + $this->_propDict["threats"] = $val; + return $this; + } + + /** + * Gets the tier + * Control tier (Core, Defense in Depth, Advanced.) + * + * @return string|null The tier + */ + public function getTier() + { + if (array_key_exists("tier", $this->_propDict)) { + return $this->_propDict["tier"]; + } else { + return null; + } + } + + /** + * Sets the tier + * Control tier (Core, Defense in Depth, Advanced.) + * + * @param string $val The tier + * + * @return SecureScoreControlProfile + */ + public function setTier($val) + { + $this->_propDict["tier"] = $val; + return $this; + } + + /** + * Gets the title + * Title of the control. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Title of the control. + * + * @param string $val The title + * + * @return SecureScoreControlProfile + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the userImpact + * User impact of implementing control (low, moderate, high). + * + * @return string|null The userImpact + */ + public function getUserImpact() + { + if (array_key_exists("userImpact", $this->_propDict)) { + return $this->_propDict["userImpact"]; + } else { + return null; + } + } + + /** + * Sets the userImpact + * User impact of implementing control (low, moderate, high). + * + * @param string $val The userImpact + * + * @return SecureScoreControlProfile + */ + public function setUserImpact($val) + { + $this->_propDict["userImpact"] = $val; + return $this; + } + + /** + * Gets the vendorInformation + * + * @return SecurityVendorInformation|null The vendorInformation + */ + public function getVendorInformation() + { + if (array_key_exists("vendorInformation", $this->_propDict)) { + if (is_a($this->_propDict["vendorInformation"], "\Microsoft\Graph\Model\SecurityVendorInformation") || is_null($this->_propDict["vendorInformation"])) { + return $this->_propDict["vendorInformation"]; + } else { + $this->_propDict["vendorInformation"] = new SecurityVendorInformation($this->_propDict["vendorInformation"]); + return $this->_propDict["vendorInformation"]; + } + } + return null; + } + + /** + * Sets the vendorInformation + * + * @param SecurityVendorInformation $val The vendorInformation + * + * @return SecureScoreControlProfile + */ + public function setVendorInformation($val) + { + $this->_propDict["vendorInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlStateUpdate.php b/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlStateUpdate.php new file mode 100644 index 0000000..3620631 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlStateUpdate.php @@ -0,0 +1,171 @@ +_propDict)) { + return $this->_propDict["assignedTo"]; + } else { + return null; + } + } + + /** + * Sets the assignedTo + * Assigns the control to the user who will take the action. + * + * @param string $val The value of the assignedTo + * + * @return SecureScoreControlStateUpdate + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + /** + * Gets the comment + * Provides optional comment about the control. + * + * @return string|null The comment + */ + public function getComment() + { + if (array_key_exists("comment", $this->_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * Provides optional comment about the control. + * + * @param string $val The value of the comment + * + * @return SecureScoreControlStateUpdate + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + /** + * Gets the state + * State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty). + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty). + * + * @param string $val The value of the state + * + * @return SecureScoreControlStateUpdate + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + /** + * Gets the updatedBy + * ID of the user who updated tenant state. + * + * @return string|null The updatedBy + */ + public function getUpdatedBy() + { + if (array_key_exists("updatedBy", $this->_propDict)) { + return $this->_propDict["updatedBy"]; + } else { + return null; + } + } + + /** + * Sets the updatedBy + * ID of the user who updated tenant state. + * + * @param string $val The value of the updatedBy + * + * @return SecureScoreControlStateUpdate + */ + public function setUpdatedBy($val) + { + $this->_propDict["updatedBy"] = $val; + return $this; + } + + /** + * Gets the updatedDateTime + * Time at which the control state was updated. + * + * @return \DateTime|null The updatedDateTime + */ + public function getUpdatedDateTime() + { + if (array_key_exists("updatedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["updatedDateTime"], "\DateTime") || is_null($this->_propDict["updatedDateTime"])) { + return $this->_propDict["updatedDateTime"]; + } else { + $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); + return $this->_propDict["updatedDateTime"]; + } + } + return null; + } + + /** + * Sets the updatedDateTime + * Time at which the control state was updated. + * + * @param \DateTime $val The value to assign to the updatedDateTime + * + * @return SecureScoreControlStateUpdate The SecureScoreControlStateUpdate + */ + public function setUpdatedDateTime($val) + { + $this->_propDict["updatedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Security.php b/vendor/microsoft/microsoft-graph/src/Model/Security.php new file mode 100644 index 0000000..3579186 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Security.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["alerts"]; + } else { + return null; + } + } + + /** + * Sets the alerts + * Notifications for suspicious or potential security issues in a customer’s tenant. + * + * @param Alert[] $val The alerts + * + * @return Security + */ + public function setAlerts($val) + { + $this->_propDict["alerts"] = $val; + return $this; + } + + + /** + * Gets the secureScoreControlProfiles + * + * @return array|null The secureScoreControlProfiles + */ + public function getSecureScoreControlProfiles() + { + if (array_key_exists("secureScoreControlProfiles", $this->_propDict)) { + return $this->_propDict["secureScoreControlProfiles"]; + } else { + return null; + } + } + + /** + * Sets the secureScoreControlProfiles + * + * @param SecureScoreControlProfile[] $val The secureScoreControlProfiles + * + * @return Security + */ + public function setSecureScoreControlProfiles($val) + { + $this->_propDict["secureScoreControlProfiles"] = $val; + return $this; + } + + + /** + * Gets the secureScores + * + * @return array|null The secureScores + */ + public function getSecureScores() + { + if (array_key_exists("secureScores", $this->_propDict)) { + return $this->_propDict["secureScores"]; + } else { + return null; + } + } + + /** + * Sets the secureScores + * + * @param SecureScore[] $val The secureScores + * + * @return Security + */ + public function setSecureScores($val) + { + $this->_propDict["secureScores"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SecurityNetworkProtocol.php b/vendor/microsoft/microsoft-graph/src/Model/SecurityNetworkProtocol.php new file mode 100644 index 0000000..8f4f26b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SecurityNetworkProtocol.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * Name of the resource that is related to current alert. Required. + * + * @param string $val The value of the resource + * + * @return SecurityResource + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + + /** + * Gets the resourceType + * Represents type of security resources related to an alert. Possible values are: attacked, related. + * + * @return SecurityResourceType|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + if (is_a($this->_propDict["resourceType"], "\Microsoft\Graph\Model\SecurityResourceType") || is_null($this->_propDict["resourceType"])) { + return $this->_propDict["resourceType"]; + } else { + $this->_propDict["resourceType"] = new SecurityResourceType($this->_propDict["resourceType"]); + return $this->_propDict["resourceType"]; + } + } + return null; + } + + /** + * Sets the resourceType + * Represents type of security resources related to an alert. Possible values are: attacked, related. + * + * @param SecurityResourceType $val The value to assign to the resourceType + * + * @return SecurityResource The SecurityResource + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SecurityResourceType.php b/vendor/microsoft/microsoft-graph/src/Model/SecurityResourceType.php new file mode 100644 index 0000000..b6e834b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SecurityResourceType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["provider"]; + } else { + return null; + } + } + + /** + * Sets the provider + * Specific provider (product/service - not vendor company); for example, WindowsDefenderATP. + * + * @param string $val The value of the provider + * + * @return SecurityVendorInformation + */ + public function setProvider($val) + { + $this->_propDict["provider"] = $val; + return $this; + } + /** + * Gets the providerVersion + * Version of the provider or subprovider, if it exists, that generated the alert. Required + * + * @return string|null The providerVersion + */ + public function getProviderVersion() + { + if (array_key_exists("providerVersion", $this->_propDict)) { + return $this->_propDict["providerVersion"]; + } else { + return null; + } + } + + /** + * Sets the providerVersion + * Version of the provider or subprovider, if it exists, that generated the alert. Required + * + * @param string $val The value of the providerVersion + * + * @return SecurityVendorInformation + */ + public function setProviderVersion($val) + { + $this->_propDict["providerVersion"] = $val; + return $this; + } + /** + * Gets the subProvider + * Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen. + * + * @return string|null The subProvider + */ + public function getSubProvider() + { + if (array_key_exists("subProvider", $this->_propDict)) { + return $this->_propDict["subProvider"]; + } else { + return null; + } + } + + /** + * Sets the subProvider + * Specific subprovider (under aggregating provider); for example, WindowsDefenderATP.SmartScreen. + * + * @param string $val The value of the subProvider + * + * @return SecurityVendorInformation + */ + public function setSubProvider($val) + { + $this->_propDict["subProvider"] = $val; + return $this; + } + /** + * Gets the vendor + * Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required + * + * @return string|null The vendor + */ + public function getVendor() + { + if (array_key_exists("vendor", $this->_propDict)) { + return $this->_propDict["vendor"]; + } else { + return null; + } + } + + /** + * Sets the vendor + * Name of the alert vendor (for example, Microsoft, Dell, FireEye). Required + * + * @param string $val The value of the vendor + * + * @return SecurityVendorInformation + */ + public function setVendor($val) + { + $this->_propDict["vendor"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SelectionLikelihoodInfo.php b/vendor/microsoft/microsoft-graph/src/Model/SelectionLikelihoodInfo.php new file mode 100644 index 0000000..2f73f6b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SelectionLikelihoodInfo.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property is not a key. Required. + * + * @param bool $val The value of the isEnabled + * + * @return SelfServiceSignUpAuthenticationFlowConfiguration + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SelfSignedCertificate.php b/vendor/microsoft/microsoft-graph/src/Model/SelfSignedCertificate.php new file mode 100644 index 0000000..3931549 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SelfSignedCertificate.php @@ -0,0 +1,298 @@ +_propDict)) { + if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customKeyIdentifier"])) { + return $this->_propDict["customKeyIdentifier"]; + } else { + $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customKeyIdentifier"]); + return $this->_propDict["customKeyIdentifier"]; + } + } + return null; + } + + /** + * Sets the customKeyIdentifier + * Custom key identifier. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setCustomKeyIdentifier($val) + { + $this->_propDict["customKeyIdentifier"] = $val; + return $this; + } + /** + * Gets the displayName + * The friendly name for the key. + * + * @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 + * The friendly name for the key. + * + * @param string $val The value of the displayName + * + * @return SelfSignedCertificate + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The date and time at which the credential expires. 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The date and time at which the credential expires. 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 endDateTime + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the key + * The value for the key credential. Should be a base-64 encoded value. + * + * @return \GuzzleHttp\Psr7\Stream|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["key"])) { + return $this->_propDict["key"]; + } else { + $this->_propDict["key"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["key"]); + return $this->_propDict["key"]; + } + } + return null; + } + + /** + * Sets the key + * The value for the key credential. Should be a base-64 encoded value. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the keyId + * The unique identifier (GUID) for the key. + * + * @return string|null The keyId + */ + public function getKeyId() + { + if (array_key_exists("keyId", $this->_propDict)) { + return $this->_propDict["keyId"]; + } else { + return null; + } + } + + /** + * Sets the keyId + * The unique identifier (GUID) for the key. + * + * @param string $val The value of the keyId + * + * @return SelfSignedCertificate + */ + public function setKeyId($val) + { + $this->_propDict["keyId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The date and time at which the credential becomes valid. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The date and time at which the credential becomes valid. 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 startDateTime + * + * @return SelfSignedCertificate The SelfSignedCertificate + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + /** + * Gets the thumbprint + * The thumbprint value for the key. + * + * @return string|null The thumbprint + */ + public function getThumbprint() + { + if (array_key_exists("thumbprint", $this->_propDict)) { + return $this->_propDict["thumbprint"]; + } else { + return null; + } + } + + /** + * Sets the thumbprint + * The thumbprint value for the key. + * + * @param string $val The value of the thumbprint + * + * @return SelfSignedCertificate + */ + public function setThumbprint($val) + { + $this->_propDict["thumbprint"] = $val; + return $this; + } + /** + * Gets the type + * The type of key credential. 'AsymmetricX509Cert'. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of key credential. 'AsymmetricX509Cert'. + * + * @param string $val The value of the type + * + * @return SelfSignedCertificate + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the usage + * A string that describes the purpose for which the key can be used. For example, 'Verify'. + * + * @return string|null The usage + */ + public function getUsage() + { + if (array_key_exists("usage", $this->_propDict)) { + return $this->_propDict["usage"]; + } else { + return null; + } + } + + /** + * Sets the usage + * A string that describes the purpose for which the key can be used. For example, 'Verify'. + * + * @param string $val The value of the usage + * + * @return SelfSignedCertificate + */ + public function setUsage($val) + { + $this->_propDict["usage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Sensitivity.php b/vendor/microsoft/microsoft-graph/src/Model/Sensitivity.php new file mode 100644 index 0000000..c40ef58 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Sensitivity.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["healthOverviews"]; + } else { + return null; + } + } + + /** + * Sets the healthOverviews + * A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @param ServiceHealth[] $val The healthOverviews + * + * @return ServiceAnnouncement + */ + public function setHealthOverviews($val) + { + $this->_propDict["healthOverviews"] = $val; + return $this; + } + + + /** + * Gets the issues + * A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @return array|null The issues + */ + public function getIssues() + { + if (array_key_exists("issues", $this->_propDict)) { + return $this->_propDict["issues"]; + } else { + return null; + } + } + + /** + * Sets the issues + * A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @param ServiceHealthIssue[] $val The issues + * + * @return ServiceAnnouncement + */ + public function setIssues($val) + { + $this->_propDict["issues"] = $val; + return $this; + } + + + /** + * Gets the messages + * A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + * + * @param ServiceUpdateMessage[] $val The messages + * + * @return ServiceAnnouncement + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceAnnouncementAttachment.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceAnnouncementAttachment.php new file mode 100644 index 0000000..f46ac09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceAnnouncementAttachment.php @@ -0,0 +1,172 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The attachment content. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return ServiceAnnouncementAttachment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * + * @param string $val The contentType + * + * @return ServiceAnnouncementAttachment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ServiceAnnouncementAttachment + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the name + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * + * @param string $val The name + * + * @return ServiceAnnouncementAttachment + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * + * @param int $val The size + * + * @return ServiceAnnouncementAttachment + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceAnnouncementBase.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceAnnouncementBase.php new file mode 100644 index 0000000..2c496f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceAnnouncementBase.php @@ -0,0 +1,185 @@ +_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * Additional details about service event. This property doesn't support filters. + * + * @param KeyValuePair[] $val The details + * + * @return ServiceAnnouncementBase + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The end time of the service event. + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end time of the service event. + * + * @param \DateTime $val The endDateTime + * + * @return ServiceAnnouncementBase + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The last modified time of the service event. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The last modified time of the service event. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return ServiceAnnouncementBase + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start time of the service event. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start time of the service event. + * + * @param \DateTime $val The startDateTime + * + * @return ServiceAnnouncementBase + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * The title of the service event. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * The title of the service event. + * + * @param string $val The title + * + * @return ServiceAnnouncementBase + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceHealth.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealth.php new file mode 100644 index 0000000..d2c2679 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealth.php @@ -0,0 +1,119 @@ +_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * The service name. Use the list healthOverviews operation to get exact string names for services subscribed by the tenant. + * + * @param string $val The service + * + * @return ServiceHealth + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the status + * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @return ServiceHealthStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ServiceHealthStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ServiceHealthStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @param ServiceHealthStatus $val The status + * + * @return ServiceHealth + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the issues + * A collection of issues that happened on the service, with detailed information for each issue. + * + * @return array|null The issues + */ + public function getIssues() + { + if (array_key_exists("issues", $this->_propDict)) { + return $this->_propDict["issues"]; + } else { + return null; + } + } + + /** + * Sets the issues + * A collection of issues that happened on the service, with detailed information for each issue. + * + * @param ServiceHealthIssue[] $val The issues + * + * @return ServiceHealth + */ + public function setIssues($val) + { + $this->_propDict["issues"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthClassificationType.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthClassificationType.php new file mode 100644 index 0000000..b0c25ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthClassificationType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["classification"], "\Microsoft\Graph\Model\ServiceHealthClassificationType") || is_null($this->_propDict["classification"])) { + return $this->_propDict["classification"]; + } else { + $this->_propDict["classification"] = new ServiceHealthClassificationType($this->_propDict["classification"]); + return $this->_propDict["classification"]; + } + } + return null; + } + + /** + * Sets the classification + * The type of service health issue. Possible values are: advisory, incident, unknownFutureValue. + * + * @param ServiceHealthClassificationType $val The classification + * + * @return ServiceHealthIssue + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the feature + * The feature name of the service issue. + * + * @return string|null The feature + */ + public function getFeature() + { + if (array_key_exists("feature", $this->_propDict)) { + return $this->_propDict["feature"]; + } else { + return null; + } + } + + /** + * Sets the feature + * The feature name of the service issue. + * + * @param string $val The feature + * + * @return ServiceHealthIssue + */ + public function setFeature($val) + { + $this->_propDict["feature"] = $val; + return $this; + } + + /** + * Gets the featureGroup + * The feature group name of the service issue. + * + * @return string|null The featureGroup + */ + public function getFeatureGroup() + { + if (array_key_exists("featureGroup", $this->_propDict)) { + return $this->_propDict["featureGroup"]; + } else { + return null; + } + } + + /** + * Sets the featureGroup + * The feature group name of the service issue. + * + * @param string $val The featureGroup + * + * @return ServiceHealthIssue + */ + public function setFeatureGroup($val) + { + $this->_propDict["featureGroup"] = $val; + return $this; + } + + /** + * Gets the impactDescription + * The description of the service issue impact. + * + * @return string|null The impactDescription + */ + public function getImpactDescription() + { + if (array_key_exists("impactDescription", $this->_propDict)) { + return $this->_propDict["impactDescription"]; + } else { + return null; + } + } + + /** + * Sets the impactDescription + * The description of the service issue impact. + * + * @param string $val The impactDescription + * + * @return ServiceHealthIssue + */ + public function setImpactDescription($val) + { + $this->_propDict["impactDescription"] = $val; + return $this; + } + + /** + * Gets the isResolved + * Indicates whether the issue is resolved. + * + * @return bool|null The isResolved + */ + public function getIsResolved() + { + if (array_key_exists("isResolved", $this->_propDict)) { + return $this->_propDict["isResolved"]; + } else { + return null; + } + } + + /** + * Sets the isResolved + * Indicates whether the issue is resolved. + * + * @param bool $val The isResolved + * + * @return ServiceHealthIssue + */ + public function setIsResolved($val) + { + $this->_propDict["isResolved"] = boolval($val); + return $this; + } + + /** + * Gets the origin + * Indicates the origin of the service issue. Possible values are: microsoft, thirdParty, customer, unknownFutureValue. + * + * @return ServiceHealthOrigin|null The origin + */ + public function getOrigin() + { + if (array_key_exists("origin", $this->_propDict)) { + if (is_a($this->_propDict["origin"], "\Microsoft\Graph\Model\ServiceHealthOrigin") || is_null($this->_propDict["origin"])) { + return $this->_propDict["origin"]; + } else { + $this->_propDict["origin"] = new ServiceHealthOrigin($this->_propDict["origin"]); + return $this->_propDict["origin"]; + } + } + return null; + } + + /** + * Sets the origin + * Indicates the origin of the service issue. Possible values are: microsoft, thirdParty, customer, unknownFutureValue. + * + * @param ServiceHealthOrigin $val The origin + * + * @return ServiceHealthIssue + */ + public function setOrigin($val) + { + $this->_propDict["origin"] = $val; + return $this; + } + + + /** + * Gets the posts + * Collection of historical posts for the service issue. + * + * @return array|null The posts + */ + public function getPosts() + { + if (array_key_exists("posts", $this->_propDict)) { + return $this->_propDict["posts"]; + } else { + return null; + } + } + + /** + * Sets the posts + * Collection of historical posts for the service issue. + * + * @param ServiceHealthIssuePost[] $val The posts + * + * @return ServiceHealthIssue + */ + public function setPosts($val) + { + $this->_propDict["posts"] = $val; + return $this; + } + + /** + * Gets the service + * Indicates the service affected by the issue. + * + * @return string|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + return $this->_propDict["service"]; + } else { + return null; + } + } + + /** + * Sets the service + * Indicates the service affected by the issue. + * + * @param string $val The service + * + * @return ServiceHealthIssue + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the service issue. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @return ServiceHealthStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ServiceHealthStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ServiceHealthStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the service issue. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * + * @param ServiceHealthStatus $val The status + * + * @return ServiceHealthIssue + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthIssuePost.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthIssuePost.php new file mode 100644 index 0000000..02df365 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthIssuePost.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The published time of the post. + * + * @param \DateTime $val The value to assign to the createdDateTime + * + * @return ServiceHealthIssuePost The ServiceHealthIssuePost + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * The content of the service issue post. + * + * @return ItemBody|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + if (is_a($this->_propDict["description"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["description"])) { + return $this->_propDict["description"]; + } else { + $this->_propDict["description"] = new ItemBody($this->_propDict["description"]); + return $this->_propDict["description"]; + } + } + return null; + } + + /** + * Sets the description + * The content of the service issue post. + * + * @param ItemBody $val The value to assign to the description + * + * @return ServiceHealthIssuePost The ServiceHealthIssuePost + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the postType + * The post type of the service issue historical post. Possible values are: regular, quick, strategic, unknownFutureValue. + * + * @return PostType|null The postType + */ + public function getPostType() + { + if (array_key_exists("postType", $this->_propDict)) { + if (is_a($this->_propDict["postType"], "\Microsoft\Graph\Model\PostType") || is_null($this->_propDict["postType"])) { + return $this->_propDict["postType"]; + } else { + $this->_propDict["postType"] = new PostType($this->_propDict["postType"]); + return $this->_propDict["postType"]; + } + } + return null; + } + + /** + * Sets the postType + * The post type of the service issue historical post. Possible values are: regular, quick, strategic, unknownFutureValue. + * + * @param PostType $val The value to assign to the postType + * + * @return ServiceHealthIssuePost The ServiceHealthIssuePost + */ + public function setPostType($val) + { + $this->_propDict["postType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthOrigin.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthOrigin.php new file mode 100644 index 0000000..d0f92b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceHealthOrigin.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.serviceHostedMediaConfig"); + } + + + /** + * Gets the preFetchMedia + * The list of media to pre-fetch. + * + * @return MediaInfo|null The preFetchMedia + */ + public function getPreFetchMedia() + { + if (array_key_exists("preFetchMedia", $this->_propDict)) { + if (is_a($this->_propDict["preFetchMedia"], "\Microsoft\Graph\Model\MediaInfo") || is_null($this->_propDict["preFetchMedia"])) { + return $this->_propDict["preFetchMedia"]; + } else { + $this->_propDict["preFetchMedia"] = new MediaInfo($this->_propDict["preFetchMedia"]); + return $this->_propDict["preFetchMedia"]; + } + } + return null; + } + + /** + * Sets the preFetchMedia + * The list of media to pre-fetch. + * + * @param MediaInfo $val The value to assign to the preFetchMedia + * + * @return ServiceHostedMediaConfig The ServiceHostedMediaConfig + */ + public function setPreFetchMedia($val) + { + $this->_propDict["preFetchMedia"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServicePlanInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ServicePlanInfo.php new file mode 100644 index 0000000..e15f1b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServicePlanInfo.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * The object the service plan can be assigned to. The possible values are:User - service plan can be assigned to individual users.Company - service plan can be assigned to the entire tenant. + * + * @param string $val The value of the appliesTo + * + * @return ServicePlanInfo + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + /** + * Gets the provisioningStatus + * The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. + * + * @return string|null The provisioningStatus + */ + public function getProvisioningStatus() + { + if (array_key_exists("provisioningStatus", $this->_propDict)) { + return $this->_propDict["provisioningStatus"]; + } else { + return null; + } + } + + /** + * Sets the provisioningStatus + * The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. + * + * @param string $val The value of the provisioningStatus + * + * @return ServicePlanInfo + */ + public function setProvisioningStatus($val) + { + $this->_propDict["provisioningStatus"] = $val; + return $this; + } + /** + * Gets the servicePlanId + * The unique identifier of the service plan. + * + * @return string|null The servicePlanId + */ + public function getServicePlanId() + { + if (array_key_exists("servicePlanId", $this->_propDict)) { + return $this->_propDict["servicePlanId"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanId + * The unique identifier of the service plan. + * + * @param string $val The value of the servicePlanId + * + * @return ServicePlanInfo + */ + public function setServicePlanId($val) + { + $this->_propDict["servicePlanId"] = $val; + return $this; + } + /** + * Gets the servicePlanName + * The name of the service plan. + * + * @return string|null The servicePlanName + */ + public function getServicePlanName() + { + if (array_key_exists("servicePlanName", $this->_propDict)) { + return $this->_propDict["servicePlanName"]; + } else { + return null; + } + } + + /** + * Sets the servicePlanName + * The name of the service plan. + * + * @param string $val The value of the servicePlanName + * + * @return ServicePlanInfo + */ + public function setServicePlanName($val) + { + $this->_propDict["servicePlanName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipal.php b/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipal.php new file mode 100644 index 0000000..42e4726 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipal.php @@ -0,0 +1,1387 @@ +_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, not, in). + * + * @param bool $val The accountEnabled + * + * @return ServicePrincipal + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the addIns + * Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on. + * + * @return array|null The addIns + */ + public function getAddIns() + { + if (array_key_exists("addIns", $this->_propDict)) { + return $this->_propDict["addIns"]; + } else { + return null; + } + } + + /** + * Sets the addIns + * Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on. + * + * @param AddIn[] $val The addIns + * + * @return ServicePrincipal + */ + public function setAddIns($val) + { + $this->_propDict["addIns"] = $val; + return $this; + } + + /** + * Gets the alternativeNames + * Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The alternativeNames + */ + public function getAlternativeNames() + { + if (array_key_exists("alternativeNames", $this->_propDict)) { + return $this->_propDict["alternativeNames"]; + } else { + return null; + } + } + + /** + * Sets the alternativeNames + * Used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The alternativeNames + * + * @return ServicePrincipal + */ + public function setAlternativeNames($val) + { + $this->_propDict["alternativeNames"] = $val; + return $this; + } + + /** + * Gets the appDescription + * The description exposed by the associated application. + * + * @return string|null The appDescription + */ + public function getAppDescription() + { + if (array_key_exists("appDescription", $this->_propDict)) { + return $this->_propDict["appDescription"]; + } else { + return null; + } + } + + /** + * Sets the appDescription + * The description exposed by the associated application. + * + * @param string $val The appDescription + * + * @return ServicePrincipal + */ + public function setAppDescription($val) + { + $this->_propDict["appDescription"] = $val; + return $this; + } + + /** + * Gets the appDisplayName + * The display name exposed by the associated application. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The display name exposed by the associated application. + * + * @param string $val The appDisplayName + * + * @return ServicePrincipal + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith). + * + * @param string $val The appId + * + * @return ServicePrincipal + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + /** + * Gets the applicationTemplateId + * Unique identifier of the applicationTemplate that the servicePrincipal was created from. Read-only. Supports $filter (eq, ne, NOT, startsWith). + * + * @return string|null The applicationTemplateId + */ + public function getApplicationTemplateId() + { + if (array_key_exists("applicationTemplateId", $this->_propDict)) { + return $this->_propDict["applicationTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the applicationTemplateId + * Unique identifier of the applicationTemplate that the servicePrincipal was created from. Read-only. Supports $filter (eq, ne, NOT, startsWith). + * + * @param string $val The applicationTemplateId + * + * @return ServicePrincipal + */ + public function setApplicationTemplateId($val) + { + $this->_propDict["applicationTemplateId"] = $val; + return $this; + } + + /** + * Gets the appOwnerOrganizationId + * Contains the tenant id where the application is registered. This is applicable only to service principals backed by applications.Supports $filter (eq, ne, NOT, ge, le). + * + * @return string|null The appOwnerOrganizationId + */ + public function getAppOwnerOrganizationId() + { + if (array_key_exists("appOwnerOrganizationId", $this->_propDict)) { + return $this->_propDict["appOwnerOrganizationId"]; + } else { + return null; + } + } + + /** + * Sets the appOwnerOrganizationId + * Contains the tenant id where the application is registered. This is applicable only to service principals backed by applications.Supports $filter (eq, ne, NOT, ge, le). + * + * @param string $val The appOwnerOrganizationId + * + * @return ServicePrincipal + */ + public function setAppOwnerOrganizationId($val) + { + $this->_propDict["appOwnerOrganizationId"] = $val; + return $this; + } + + /** + * Gets the appRoleAssignmentRequired + * Specifies whether users or other service principals need to be granted an app role assignment for this service principal before users can sign in or apps can get tokens. The default value is false. Not nullable. Supports $filter (eq, ne, NOT). + * + * @return bool|null The appRoleAssignmentRequired + */ + public function getAppRoleAssignmentRequired() + { + if (array_key_exists("appRoleAssignmentRequired", $this->_propDict)) { + return $this->_propDict["appRoleAssignmentRequired"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignmentRequired + * Specifies whether users or other service principals need to be granted an app role assignment for this service principal before users can sign in or apps can get tokens. The default value is false. Not nullable. Supports $filter (eq, ne, NOT). + * + * @param bool $val The appRoleAssignmentRequired + * + * @return ServicePrincipal + */ + public function setAppRoleAssignmentRequired($val) + { + $this->_propDict["appRoleAssignmentRequired"] = boolval($val); + return $this; + } + + + /** + * Gets the appRoles + * The roles exposed by the application which this service principal represents. For more information see the appRoles property definition on the application entity. Not nullable. + * + * @return array|null The appRoles + */ + public function getAppRoles() + { + if (array_key_exists("appRoles", $this->_propDict)) { + return $this->_propDict["appRoles"]; + } else { + return null; + } + } + + /** + * Sets the appRoles + * The roles exposed by the application which this service principal represents. For more information see the appRoles property definition on the application entity. Not nullable. + * + * @param AppRole[] $val The appRoles + * + * @return ServicePrincipal + */ + public function setAppRoles($val) + { + $this->_propDict["appRoles"] = $val; + return $this; + } + + /** + * Gets the description + * Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Free text field to provide an internal end-user facing description of the service principal. End-user portals such MyApps will display the application description in this field. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. + * + * @param string $val The description + * + * @return ServicePrincipal + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @return string|null The disabledByMicrosoftStatus + */ + public function getDisabledByMicrosoftStatus() + { + if (array_key_exists("disabledByMicrosoftStatus", $this->_propDict)) { + return $this->_propDict["disabledByMicrosoftStatus"]; + } else { + return null; + } + } + + /** + * Sets the disabledByMicrosoftStatus + * Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not). + * + * @param string $val The disabledByMicrosoftStatus + * + * @return ServicePrincipal + */ + public function setDisabledByMicrosoftStatus($val) + { + $this->_propDict["disabledByMicrosoftStatus"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @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 + * The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + * + * @param string $val The displayName + * + * @return ServicePrincipal + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the homepage + * Home page or landing page of the application. + * + * @return string|null The homepage + */ + public function getHomepage() + { + if (array_key_exists("homepage", $this->_propDict)) { + return $this->_propDict["homepage"]; + } else { + return null; + } + } + + /** + * Sets the homepage + * Home page or landing page of the application. + * + * @param string $val The homepage + * + * @return ServicePrincipal + */ + public function setHomepage($val) + { + $this->_propDict["homepage"] = $val; + return $this; + } + + /** + * Gets the info + * Basic profile information of the acquired application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @return InformationalUrl|null The info + */ + public function getInfo() + { + if (array_key_exists("info", $this->_propDict)) { + if (is_a($this->_propDict["info"], "\Microsoft\Graph\Model\InformationalUrl") || is_null($this->_propDict["info"])) { + return $this->_propDict["info"]; + } else { + $this->_propDict["info"] = new InformationalUrl($this->_propDict["info"]); + return $this->_propDict["info"]; + } + } + return null; + } + + /** + * Sets the info + * Basic profile information of the acquired application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). + * + * @param InformationalUrl $val The info + * + * @return ServicePrincipal + */ + public function setInfo($val) + { + $this->_propDict["info"] = $val; + return $this; + } + + + /** + * Gets the keyCredentials + * The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The keyCredentials + */ + public function getKeyCredentials() + { + if (array_key_exists("keyCredentials", $this->_propDict)) { + return $this->_propDict["keyCredentials"]; + } else { + return null; + } + } + + /** + * Sets the keyCredentials + * The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param KeyCredential[] $val The keyCredentials + * + * @return ServicePrincipal + */ + public function setKeyCredentials($val) + { + $this->_propDict["keyCredentials"] = $val; + return $this; + } + + /** + * Gets the loginUrl + * Specifies the URL where the service provider redirects the user to Azure AD to authenticate. Azure AD uses the URL to launch the application from Microsoft 365 or the Azure AD My Apps. When blank, Azure AD performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Azure AD My Apps, or the Azure AD SSO URL. + * + * @return string|null The loginUrl + */ + public function getLoginUrl() + { + if (array_key_exists("loginUrl", $this->_propDict)) { + return $this->_propDict["loginUrl"]; + } else { + return null; + } + } + + /** + * Sets the loginUrl + * Specifies the URL where the service provider redirects the user to Azure AD to authenticate. Azure AD uses the URL to launch the application from Microsoft 365 or the Azure AD My Apps. When blank, Azure AD performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Azure AD My Apps, or the Azure AD SSO URL. + * + * @param string $val The loginUrl + * + * @return ServicePrincipal + */ + public function setLoginUrl($val) + { + $this->_propDict["loginUrl"] = $val; + return $this; + } + + /** + * Gets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using OpenId Connect front-channel, back-channel or SAML logout protocols. + * + * @return string|null The logoutUrl + */ + public function getLogoutUrl() + { + if (array_key_exists("logoutUrl", $this->_propDict)) { + return $this->_propDict["logoutUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using OpenId Connect front-channel, back-channel or SAML logout protocols. + * + * @param string $val The logoutUrl + * + * @return ServicePrincipal + */ + public function setLogoutUrl($val) + { + $this->_propDict["logoutUrl"] = $val; + return $this; + } + + /** + * Gets the notes + * Free text field to capture information about the service principal, typically used for operational purposes. Maximum allowed size is 1024 characters. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * Free text field to capture information about the service principal, typically used for operational purposes. Maximum allowed size is 1024 characters. + * + * @param string $val The notes + * + * @return ServicePrincipal + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the notificationEmailAddresses + * Specifies the list of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. + * + * @return string|null The notificationEmailAddresses + */ + public function getNotificationEmailAddresses() + { + if (array_key_exists("notificationEmailAddresses", $this->_propDict)) { + return $this->_propDict["notificationEmailAddresses"]; + } else { + return null; + } + } + + /** + * Sets the notificationEmailAddresses + * Specifies the list of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. + * + * @param string $val The notificationEmailAddresses + * + * @return ServicePrincipal + */ + public function setNotificationEmailAddresses($val) + { + $this->_propDict["notificationEmailAddresses"] = $val; + return $this; + } + + + /** + * Gets the oauth2PermissionScopes + * The delegated permissions exposed by the application. For more information see the oauth2PermissionScopes property on the application entity's api property. Not nullable. + * + * @return array|null The oauth2PermissionScopes + */ + public function getOauth2PermissionScopes() + { + if (array_key_exists("oauth2PermissionScopes", $this->_propDict)) { + return $this->_propDict["oauth2PermissionScopes"]; + } else { + return null; + } + } + + /** + * Sets the oauth2PermissionScopes + * The delegated permissions exposed by the application. For more information see the oauth2PermissionScopes property on the application entity's api property. Not nullable. + * + * @param PermissionScope[] $val The oauth2PermissionScopes + * + * @return ServicePrincipal + */ + public function setOauth2PermissionScopes($val) + { + $this->_propDict["oauth2PermissionScopes"] = $val; + return $this; + } + + + /** + * Gets the passwordCredentials + * The collection of password credentials associated with the service principal. Not nullable. + * + * @return array|null The passwordCredentials + */ + public function getPasswordCredentials() + { + if (array_key_exists("passwordCredentials", $this->_propDict)) { + return $this->_propDict["passwordCredentials"]; + } else { + return null; + } + } + + /** + * Sets the passwordCredentials + * The collection of password credentials associated with the service principal. Not nullable. + * + * @param PasswordCredential[] $val The passwordCredentials + * + * @return ServicePrincipal + */ + public function setPasswordCredentials($val) + { + $this->_propDict["passwordCredentials"] = $val; + return $this; + } + + /** + * Gets the preferredSingleSignOnMode + * Specifies the single sign-on mode configured for this application. Azure AD uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Azure AD My Apps. The supported values are password, saml, notSupported, and oidc. + * + * @return string|null The preferredSingleSignOnMode + */ + public function getPreferredSingleSignOnMode() + { + if (array_key_exists("preferredSingleSignOnMode", $this->_propDict)) { + return $this->_propDict["preferredSingleSignOnMode"]; + } else { + return null; + } + } + + /** + * Sets the preferredSingleSignOnMode + * Specifies the single sign-on mode configured for this application. Azure AD uses the preferred single sign-on mode to launch the application from Microsoft 365 or the Azure AD My Apps. The supported values are password, saml, notSupported, and oidc. + * + * @param string $val The preferredSingleSignOnMode + * + * @return ServicePrincipal + */ + public function setPreferredSingleSignOnMode($val) + { + $this->_propDict["preferredSingleSignOnMode"] = $val; + return $this; + } + + /** + * Gets the preferredTokenSigningKeyThumbprint + * Reserved for internal use only. Do not write or otherwise rely on this property. May be removed in future versions. + * + * @return string|null The preferredTokenSigningKeyThumbprint + */ + public function getPreferredTokenSigningKeyThumbprint() + { + if (array_key_exists("preferredTokenSigningKeyThumbprint", $this->_propDict)) { + return $this->_propDict["preferredTokenSigningKeyThumbprint"]; + } else { + return null; + } + } + + /** + * Sets the preferredTokenSigningKeyThumbprint + * Reserved for internal use only. Do not write or otherwise rely on this property. May be removed in future versions. + * + * @param string $val The preferredTokenSigningKeyThumbprint + * + * @return ServicePrincipal + */ + public function setPreferredTokenSigningKeyThumbprint($val) + { + $this->_propDict["preferredTokenSigningKeyThumbprint"] = $val; + return $this; + } + + /** + * Gets the replyUrls + * The URLs that user tokens are sent to for sign in with the associated application, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to for the associated application. Not nullable. + * + * @return string|null The replyUrls + */ + public function getReplyUrls() + { + if (array_key_exists("replyUrls", $this->_propDict)) { + return $this->_propDict["replyUrls"]; + } else { + return null; + } + } + + /** + * Sets the replyUrls + * The URLs that user tokens are sent to for sign in with the associated application, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to for the associated application. Not nullable. + * + * @param string $val The replyUrls + * + * @return ServicePrincipal + */ + public function setReplyUrls($val) + { + $this->_propDict["replyUrls"] = $val; + return $this; + } + + + /** + * Gets the resourceSpecificApplicationPermissions + * The resource-specific application permissions exposed by this application. Currently, resource-specific permissions are only supported for Teams apps accessing to specific chats and teams using Microsoft Graph. Read-only. + * + * @return array|null The resourceSpecificApplicationPermissions + */ + public function getResourceSpecificApplicationPermissions() + { + if (array_key_exists("resourceSpecificApplicationPermissions", $this->_propDict)) { + return $this->_propDict["resourceSpecificApplicationPermissions"]; + } else { + return null; + } + } + + /** + * Sets the resourceSpecificApplicationPermissions + * The resource-specific application permissions exposed by this application. Currently, resource-specific permissions are only supported for Teams apps accessing to specific chats and teams using Microsoft Graph. Read-only. + * + * @param ResourceSpecificPermission[] $val The resourceSpecificApplicationPermissions + * + * @return ServicePrincipal + */ + public function setResourceSpecificApplicationPermissions($val) + { + $this->_propDict["resourceSpecificApplicationPermissions"] = $val; + return $this; + } + + /** + * Gets the samlSingleSignOnSettings + * The collection for settings related to saml single sign-on. + * + * @return SamlSingleSignOnSettings|null The samlSingleSignOnSettings + */ + public function getSamlSingleSignOnSettings() + { + if (array_key_exists("samlSingleSignOnSettings", $this->_propDict)) { + if (is_a($this->_propDict["samlSingleSignOnSettings"], "\Microsoft\Graph\Model\SamlSingleSignOnSettings") || is_null($this->_propDict["samlSingleSignOnSettings"])) { + return $this->_propDict["samlSingleSignOnSettings"]; + } else { + $this->_propDict["samlSingleSignOnSettings"] = new SamlSingleSignOnSettings($this->_propDict["samlSingleSignOnSettings"]); + return $this->_propDict["samlSingleSignOnSettings"]; + } + } + return null; + } + + /** + * Sets the samlSingleSignOnSettings + * The collection for settings related to saml single sign-on. + * + * @param SamlSingleSignOnSettings $val The samlSingleSignOnSettings + * + * @return ServicePrincipal + */ + public function setSamlSingleSignOnSettings($val) + { + $this->_propDict["samlSingleSignOnSettings"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalNames + * Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The servicePrincipalNames + */ + public function getServicePrincipalNames() + { + if (array_key_exists("servicePrincipalNames", $this->_propDict)) { + return $this->_propDict["servicePrincipalNames"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalNames + * Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The servicePrincipalNames + * + * @return ServicePrincipal + */ + public function setServicePrincipalNames($val) + { + $this->_propDict["servicePrincipalNames"] = $val; + return $this; + } + + /** + * Gets the servicePrincipalType + * Identifies if the service principal represents an application or a managed identity. This is set by Azure AD internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use. + * + * @return string|null The servicePrincipalType + */ + public function getServicePrincipalType() + { + if (array_key_exists("servicePrincipalType", $this->_propDict)) { + return $this->_propDict["servicePrincipalType"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalType + * Identifies if the service principal represents an application or a managed identity. This is set by Azure AD internally. For a service principal that represents an application this is set as Application. For a service principal that represent a managed identity this is set as ManagedIdentity. The SocialIdp type is for internal use. + * + * @param string $val The servicePrincipalType + * + * @return ServicePrincipal + */ + public function setServicePrincipalType($val) + { + $this->_propDict["servicePrincipalType"] = $val; + return $this; + } + + /** + * Gets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. + * + * @return string|null The signInAudience + */ + public function getSignInAudience() + { + if (array_key_exists("signInAudience", $this->_propDict)) { + return $this->_propDict["signInAudience"]; + } else { + return null; + } + } + + /** + * Sets the signInAudience + * Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. + * + * @param string $val The signInAudience + * + * @return ServicePrincipal + */ + public function setSignInAudience($val) + { + $this->_propDict["signInAudience"] = $val; + return $this; + } + + /** + * Gets the tags + * Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The tags + * + * @return ServicePrincipal + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @return string|null The tokenEncryptionKeyId + */ + public function getTokenEncryptionKeyId() + { + if (array_key_exists("tokenEncryptionKeyId", $this->_propDict)) { + return $this->_propDict["tokenEncryptionKeyId"]; + } else { + return null; + } + } + + /** + * Sets the tokenEncryptionKeyId + * Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. + * + * @param string $val The tokenEncryptionKeyId + * + * @return ServicePrincipal + */ + public function setTokenEncryptionKeyId($val) + { + $this->_propDict["tokenEncryptionKeyId"] = $val; + return $this; + } + + + /** + * Gets the appRoleAssignedTo + * App role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. + * + * @return array|null The appRoleAssignedTo + */ + public function getAppRoleAssignedTo() + { + if (array_key_exists("appRoleAssignedTo", $this->_propDict)) { + return $this->_propDict["appRoleAssignedTo"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignedTo + * App role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignedTo + * + * @return ServicePrincipal + */ + public function setAppRoleAssignedTo($val) + { + $this->_propDict["appRoleAssignedTo"] = $val; + return $this; + } + + + /** + * Gets the appRoleAssignments + * App role assignment for another app or service, granted to this service principal. Supports $expand. + * + * @return array|null The appRoleAssignments + */ + public function getAppRoleAssignments() + { + if (array_key_exists("appRoleAssignments", $this->_propDict)) { + return $this->_propDict["appRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignments + * App role assignment for another app or service, granted to this service principal. Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignments + * + * @return ServicePrincipal + */ + public function setAppRoleAssignments($val) + { + $this->_propDict["appRoleAssignments"] = $val; + return $this; + } + + + /** + * Gets the claimsMappingPolicies + * The claimsMappingPolicies assigned to this service principal. Supports $expand. + * + * @return array|null The claimsMappingPolicies + */ + public function getClaimsMappingPolicies() + { + if (array_key_exists("claimsMappingPolicies", $this->_propDict)) { + return $this->_propDict["claimsMappingPolicies"]; + } else { + return null; + } + } + + /** + * Sets the claimsMappingPolicies + * The claimsMappingPolicies assigned to this service principal. Supports $expand. + * + * @param ClaimsMappingPolicy[] $val The claimsMappingPolicies + * + * @return ServicePrincipal + */ + public function setClaimsMappingPolicies($val) + { + $this->_propDict["claimsMappingPolicies"] = $val; + return $this; + } + + + /** + * Gets the createdObjects + * Directory objects created by this service principal. Read-only. Nullable. + * + * @return array|null The createdObjects + */ + public function getCreatedObjects() + { + if (array_key_exists("createdObjects", $this->_propDict)) { + return $this->_propDict["createdObjects"]; + } else { + return null; + } + } + + /** + * Sets the createdObjects + * Directory objects created by this service principal. Read-only. Nullable. + * + * @param DirectoryObject[] $val The createdObjects + * + * @return ServicePrincipal + */ + public function setCreatedObjects($val) + { + $this->_propDict["createdObjects"] = $val; + return $this; + } + + + /** + * Gets the delegatedPermissionClassifications + * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. + * + * @return array|null The delegatedPermissionClassifications + */ + public function getDelegatedPermissionClassifications() + { + if (array_key_exists("delegatedPermissionClassifications", $this->_propDict)) { + return $this->_propDict["delegatedPermissionClassifications"]; + } else { + return null; + } + } + + /** + * Sets the delegatedPermissionClassifications + * The permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. + * + * @param DelegatedPermissionClassification[] $val The delegatedPermissionClassifications + * + * @return ServicePrincipal + */ + public function setDelegatedPermissionClassifications($val) + { + $this->_propDict["delegatedPermissionClassifications"] = $val; + return $this; + } + + + /** + * Gets the endpoints + * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. + * + * @return array|null The endpoints + */ + public function getEndpoints() + { + if (array_key_exists("endpoints", $this->_propDict)) { + return $this->_propDict["endpoints"]; + } else { + return null; + } + } + + /** + * Sets the endpoints + * Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. + * + * @param Endpoint[] $val The endpoints + * + * @return ServicePrincipal + */ + public function setEndpoints($val) + { + $this->_propDict["endpoints"] = $val; + return $this; + } + + + /** + * Gets the homeRealmDiscoveryPolicies + * The homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. + * + * @return array|null The homeRealmDiscoveryPolicies + */ + public function getHomeRealmDiscoveryPolicies() + { + if (array_key_exists("homeRealmDiscoveryPolicies", $this->_propDict)) { + return $this->_propDict["homeRealmDiscoveryPolicies"]; + } else { + return null; + } + } + + /** + * Sets the homeRealmDiscoveryPolicies + * The homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. + * + * @param HomeRealmDiscoveryPolicy[] $val The homeRealmDiscoveryPolicies + * + * @return ServicePrincipal + */ + public function setHomeRealmDiscoveryPolicies($val) + { + $this->_propDict["homeRealmDiscoveryPolicies"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return ServicePrincipal + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the oauth2PermissionGrants + * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. + * + * @return array|null The oauth2PermissionGrants + */ + public function getOauth2PermissionGrants() + { + if (array_key_exists("oauth2PermissionGrants", $this->_propDict)) { + return $this->_propDict["oauth2PermissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the oauth2PermissionGrants + * Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. + * + * @param OAuth2PermissionGrant[] $val The oauth2PermissionGrants + * + * @return ServicePrincipal + */ + public function setOauth2PermissionGrants($val) + { + $this->_propDict["oauth2PermissionGrants"] = $val; + return $this; + } + + + /** + * Gets the ownedObjects + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand. + * + * @return array|null The ownedObjects + */ + public function getOwnedObjects() + { + if (array_key_exists("ownedObjects", $this->_propDict)) { + return $this->_propDict["ownedObjects"]; + } else { + return null; + } + } + + /** + * Sets the ownedObjects + * Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The ownedObjects + * + * @return ServicePrincipal + */ + public function setOwnedObjects($val) + { + $this->_propDict["ownedObjects"] = $val; + return $this; + } + + + /** + * Gets the owners + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand. + * + * @return array|null The owners + */ + public function getOwners() + { + if (array_key_exists("owners", $this->_propDict)) { + return $this->_propDict["owners"]; + } else { + return null; + } + } + + /** + * Sets the owners + * Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The owners + * + * @return ServicePrincipal + */ + public function setOwners($val) + { + $this->_propDict["owners"] = $val; + return $this; + } + + + /** + * Gets the tokenIssuancePolicies + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * + * @return array|null The tokenIssuancePolicies + */ + public function getTokenIssuancePolicies() + { + if (array_key_exists("tokenIssuancePolicies", $this->_propDict)) { + return $this->_propDict["tokenIssuancePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenIssuancePolicies + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * + * @param TokenIssuancePolicy[] $val The tokenIssuancePolicies + * + * @return ServicePrincipal + */ + public function setTokenIssuancePolicies($val) + { + $this->_propDict["tokenIssuancePolicies"] = $val; + return $this; + } + + + /** + * Gets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this service principal. Supports $expand. + * + * @return array|null The tokenLifetimePolicies + */ + public function getTokenLifetimePolicies() + { + if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { + return $this->_propDict["tokenLifetimePolicies"]; + } else { + return null; + } + } + + /** + * Sets the tokenLifetimePolicies + * The tokenLifetimePolicies assigned to this service principal. Supports $expand. + * + * @param TokenLifetimePolicy[] $val The tokenLifetimePolicies + * + * @return ServicePrincipal + */ + public function setTokenLifetimePolicies($val) + { + $this->_propDict["tokenLifetimePolicies"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return ServicePrincipal + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipalIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipalIdentity.php new file mode 100644 index 0000000..ea8680e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipalIdentity.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application identifier of the service principal. + * + * @param string $val The value of the appId + * + * @return ServicePrincipalIdentity + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateCategory.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateCategory.php new file mode 100644 index 0000000..731717b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateCategory.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["actionRequiredByDateTime"], "\DateTime") || is_null($this->_propDict["actionRequiredByDateTime"])) { + return $this->_propDict["actionRequiredByDateTime"]; + } else { + $this->_propDict["actionRequiredByDateTime"] = new \DateTime($this->_propDict["actionRequiredByDateTime"]); + return $this->_propDict["actionRequiredByDateTime"]; + } + } + return null; + } + + /** + * Sets the actionRequiredByDateTime + * The expected deadline of the action for the message. + * + * @param \DateTime $val The actionRequiredByDateTime + * + * @return ServiceUpdateMessage + */ + public function setActionRequiredByDateTime($val) + { + $this->_propDict["actionRequiredByDateTime"] = $val; + return $this; + } + + /** + * Gets the attachmentsArchive + * The zip file of all attachments for a message. + * + * @return \GuzzleHttp\Psr7\Stream|null The attachmentsArchive + */ + public function getAttachmentsArchive() + { + if (array_key_exists("attachmentsArchive", $this->_propDict)) { + if (is_a($this->_propDict["attachmentsArchive"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["attachmentsArchive"])) { + return $this->_propDict["attachmentsArchive"]; + } else { + $this->_propDict["attachmentsArchive"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["attachmentsArchive"]); + return $this->_propDict["attachmentsArchive"]; + } + } + return null; + } + + /** + * Sets the attachmentsArchive + * The zip file of all attachments for a message. + * + * @param \GuzzleHttp\Psr7\Stream $val The attachmentsArchive + * + * @return ServiceUpdateMessage + */ + public function setAttachmentsArchive($val) + { + $this->_propDict["attachmentsArchive"] = $val; + return $this; + } + + /** + * Gets the body + * The content type and content of the service message body. + * + * @return ItemBody|null The body + */ + public function getBody() + { + if (array_key_exists("body", $this->_propDict)) { + if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The content type and content of the service message body. + * + * @param ItemBody $val The body + * + * @return ServiceUpdateMessage + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the category + * The service message category. Possible values are: preventOrFixIssue, planForChange, stayInformed, unknownFutureValue. + * + * @return ServiceUpdateCategory|null The category + */ + public function getCategory() + { + if (array_key_exists("category", $this->_propDict)) { + if (is_a($this->_propDict["category"], "\Microsoft\Graph\Model\ServiceUpdateCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ServiceUpdateCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The service message category. Possible values are: preventOrFixIssue, planForChange, stayInformed, unknownFutureValue. + * + * @param ServiceUpdateCategory $val The category + * + * @return ServiceUpdateMessage + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the hasAttachments + * Indicates whether the message has any attachment. + * + * @return bool|null The hasAttachments + */ + public function getHasAttachments() + { + if (array_key_exists("hasAttachments", $this->_propDict)) { + return $this->_propDict["hasAttachments"]; + } else { + return null; + } + } + + /** + * Sets the hasAttachments + * Indicates whether the message has any attachment. + * + * @param bool $val The hasAttachments + * + * @return ServiceUpdateMessage + */ + public function setHasAttachments($val) + { + $this->_propDict["hasAttachments"] = boolval($val); + return $this; + } + + /** + * Gets the isMajorChange + * Indicates whether the message describes a major update for the service. + * + * @return bool|null The isMajorChange + */ + public function getIsMajorChange() + { + if (array_key_exists("isMajorChange", $this->_propDict)) { + return $this->_propDict["isMajorChange"]; + } else { + return null; + } + } + + /** + * Sets the isMajorChange + * Indicates whether the message describes a major update for the service. + * + * @param bool $val The isMajorChange + * + * @return ServiceUpdateMessage + */ + public function setIsMajorChange($val) + { + $this->_propDict["isMajorChange"] = boolval($val); + return $this; + } + + /** + * Gets the services + * The affected services by the service message. + * + * @return string|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * The affected services by the service message. + * + * @param string $val The services + * + * @return ServiceUpdateMessage + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + + /** + * Gets the severity + * The severity of the service message. Possible values are: normal, high, critical, unknownFutureValue. + * + * @return ServiceUpdateSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Microsoft\Graph\Model\ServiceUpdateSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new ServiceUpdateSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * The severity of the service message. Possible values are: normal, high, critical, unknownFutureValue. + * + * @param ServiceUpdateSeverity $val The severity + * + * @return ServiceUpdateMessage + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + + /** + * Gets the tags + * A collection of tags for the service message. Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. + * + * @return string|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * A collection of tags for the service message. Tags are provided by the service team/support team who post the message to tell whether this message contains privacy data, or whether this message is for a service new feature update, and so on. + * + * @param string $val The tags + * + * @return ServiceUpdateMessage + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the viewPoint + * Represents user viewpoints data of the service message. This data includes message status such as whether the user has archived, read, or marked the message as favorite. This property is null when accessed with application permissions. + * + * @return ServiceUpdateMessageViewpoint|null The viewPoint + */ + public function getViewPoint() + { + if (array_key_exists("viewPoint", $this->_propDict)) { + if (is_a($this->_propDict["viewPoint"], "\Microsoft\Graph\Model\ServiceUpdateMessageViewpoint") || is_null($this->_propDict["viewPoint"])) { + return $this->_propDict["viewPoint"]; + } else { + $this->_propDict["viewPoint"] = new ServiceUpdateMessageViewpoint($this->_propDict["viewPoint"]); + return $this->_propDict["viewPoint"]; + } + } + return null; + } + + /** + * Sets the viewPoint + * Represents user viewpoints data of the service message. This data includes message status such as whether the user has archived, read, or marked the message as favorite. This property is null when accessed with application permissions. + * + * @param ServiceUpdateMessageViewpoint $val The viewPoint + * + * @return ServiceUpdateMessage + */ + public function setViewPoint($val) + { + $this->_propDict["viewPoint"] = $val; + return $this; + } + + + /** + * Gets the attachments + * A collection of serviceAnnouncementAttachments. + * + * @return array|null The attachments + */ + public function getAttachments() + { + if (array_key_exists("attachments", $this->_propDict)) { + return $this->_propDict["attachments"]; + } else { + return null; + } + } + + /** + * Sets the attachments + * A collection of serviceAnnouncementAttachments. + * + * @param ServiceAnnouncementAttachment[] $val The attachments + * + * @return ServiceUpdateMessage + */ + public function setAttachments($val) + { + $this->_propDict["attachments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateMessageViewpoint.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateMessageViewpoint.php new file mode 100644 index 0000000..0d58caa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateMessageViewpoint.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isArchived"]; + } else { + return null; + } + } + + /** + * Sets the isArchived + * Indicates whether the user archived the message. + * + * @param bool $val The value of the isArchived + * + * @return ServiceUpdateMessageViewpoint + */ + public function setIsArchived($val) + { + $this->_propDict["isArchived"] = $val; + return $this; + } + /** + * Gets the isFavorited + * Indicates whether the user marked the message as favorite. + * + * @return bool|null The isFavorited + */ + public function getIsFavorited() + { + if (array_key_exists("isFavorited", $this->_propDict)) { + return $this->_propDict["isFavorited"]; + } else { + return null; + } + } + + /** + * Sets the isFavorited + * Indicates whether the user marked the message as favorite. + * + * @param bool $val The value of the isFavorited + * + * @return ServiceUpdateMessageViewpoint + */ + public function setIsFavorited($val) + { + $this->_propDict["isFavorited"] = $val; + return $this; + } + /** + * Gets the isRead + * Indicates whether the user read the message. + * + * @return bool|null The isRead + */ + public function getIsRead() + { + if (array_key_exists("isRead", $this->_propDict)) { + return $this->_propDict["isRead"]; + } else { + return null; + } + } + + /** + * Sets the isRead + * Indicates whether the user read the message. + * + * @param bool $val The value of the isRead + * + * @return ServiceUpdateMessageViewpoint + */ + public function setIsRead($val) + { + $this->_propDict["isRead"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateSeverity.php b/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateSeverity.php new file mode 100644 index 0000000..b3ed65b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ServiceUpdateSeverity.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Not yet documented + * + * @param string $val The value of the displayName + * + * @return SettingSource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the id + * Not yet documented + * + * @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 + * Not yet documented + * + * @param string $val The value of the id + * + * @return SettingSource + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the sourceType + * Not yet documented. Possible values are: deviceConfiguration, deviceIntent. + * + * @return SettingSourceType|null The sourceType + */ + public function getSourceType() + { + if (array_key_exists("sourceType", $this->_propDict)) { + if (is_a($this->_propDict["sourceType"], "\Microsoft\Graph\Model\SettingSourceType") || is_null($this->_propDict["sourceType"])) { + return $this->_propDict["sourceType"]; + } else { + $this->_propDict["sourceType"] = new SettingSourceType($this->_propDict["sourceType"]); + return $this->_propDict["sourceType"]; + } + } + return null; + } + + /** + * Sets the sourceType + * Not yet documented. Possible values are: deviceConfiguration, deviceIntent. + * + * @param SettingSourceType $val The value to assign to the sourceType + * + * @return SettingSource The SettingSource + */ + public function setSourceType($val) + { + $this->_propDict["sourceType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SettingSourceType.php b/vendor/microsoft/microsoft-graph/src/Model/SettingSourceType.php new file mode 100644 index 0000000..8617000 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SettingSourceType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Device Compliant count for the setting + * + * @param int $val The compliantDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Device conflict error count for the setting + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Device conflict error count for the setting + * + * @param int $val The conflictDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorDeviceCount + * Device error count for the setting + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Device error count for the setting + * + * @param int $val The errorDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the instancePath + * Name of the InstancePath for the setting + * + * @return string|null The instancePath + */ + public function getInstancePath() + { + if (array_key_exists("instancePath", $this->_propDict)) { + return $this->_propDict["instancePath"]; + } else { + return null; + } + } + + /** + * Sets the instancePath + * Name of the InstancePath for the setting + * + * @param string $val The instancePath + * + * @return SettingStateDeviceSummary + */ + public function setInstancePath($val) + { + $this->_propDict["instancePath"] = $val; + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Device NonCompliant count for the setting + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Device NonCompliant count for the setting + * + * @param int $val The nonCompliantDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Device Not Applicable count for the setting + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Device Not Applicable count for the setting + * + * @param int $val The notApplicableDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Device Compliant count for the setting + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Device Compliant count for the setting + * + * @param int $val The remediatedDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the settingName + * Name of the setting + * + * @return string|null The settingName + */ + public function getSettingName() + { + if (array_key_exists("settingName", $this->_propDict)) { + return $this->_propDict["settingName"]; + } else { + return null; + } + } + + /** + * Sets the settingName + * Name of the setting + * + * @param string $val The settingName + * + * @return SettingStateDeviceSummary + */ + public function setSettingName($val) + { + $this->_propDict["settingName"] = $val; + return $this; + } + + /** + * Gets the unknownDeviceCount + * Device Unkown count for the setting + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Device Unkown count for the setting + * + * @param int $val The unknownDeviceCount + * + * @return SettingStateDeviceSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SettingTemplateValue.php b/vendor/microsoft/microsoft-graph/src/Model/SettingTemplateValue.php new file mode 100644 index 0000000..1a978a2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SettingTemplateValue.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["defaultValue"]; + } else { + return null; + } + } + + /** + * Sets the defaultValue + * Default value for the setting. Read-only. + * + * @param string $val The value of the defaultValue + * + * @return SettingTemplateValue + */ + public function setDefaultValue($val) + { + $this->_propDict["defaultValue"] = $val; + return $this; + } + /** + * Gets the description + * Description of the setting. Read-only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of the setting. Read-only. + * + * @param string $val The value of the description + * + * @return SettingTemplateValue + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the name + * Name of the setting. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the setting. Read-only. + * + * @param string $val The value of the name + * + * @return SettingTemplateValue + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * Type of the setting. Read-only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of the setting. Read-only. + * + * @param string $val The value of the type + * + * @return SettingTemplateValue + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SettingValue.php b/vendor/microsoft/microsoft-graph/src/Model/SettingValue.php new file mode 100644 index 0000000..731511e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SettingValue.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the setting (as defined by the directorySettingTemplate). + * + * @param string $val The value of the name + * + * @return SettingValue + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * Value of the setting. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Value of the setting. + * + * @param string $val The value of the value + * + * @return SettingValue + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharePointIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/SharePointIdentity.php new file mode 100644 index 0000000..10eaa6f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharePointIdentity.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["loginName"]; + } else { + return null; + } + } + + /** + * Sets the loginName + * The sign in name of the SharePoint identity. + * + * @param string $val The value of the loginName + * + * @return SharePointIdentity + */ + public function setLoginName($val) + { + $this->_propDict["loginName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharePointIdentitySet.php b/vendor/microsoft/microsoft-graph/src/Model/SharePointIdentitySet.php new file mode 100644 index 0000000..08efa71 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharePointIdentitySet.php @@ -0,0 +1,125 @@ +_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Identity($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * The group associated with this action. Optional. + * + * @param Identity $val The value to assign to the group + * + * @return SharePointIdentitySet The SharePointIdentitySet + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + /** + * Gets the siteGroup + * The SharePoint group associated with this action. Optional. + * + * @return SharePointIdentity|null The siteGroup + */ + public function getSiteGroup() + { + if (array_key_exists("siteGroup", $this->_propDict)) { + if (is_a($this->_propDict["siteGroup"], "\Microsoft\Graph\Model\SharePointIdentity") || is_null($this->_propDict["siteGroup"])) { + return $this->_propDict["siteGroup"]; + } else { + $this->_propDict["siteGroup"] = new SharePointIdentity($this->_propDict["siteGroup"]); + return $this->_propDict["siteGroup"]; + } + } + return null; + } + + /** + * Sets the siteGroup + * The SharePoint group associated with this action. Optional. + * + * @param SharePointIdentity $val The value to assign to the siteGroup + * + * @return SharePointIdentitySet The SharePointIdentitySet + */ + public function setSiteGroup($val) + { + $this->_propDict["siteGroup"] = $val; + return $this; + } + + /** + * Gets the siteUser + * The SharePoint user associated with this action. Optional. + * + * @return SharePointIdentity|null The siteUser + */ + public function getSiteUser() + { + if (array_key_exists("siteUser", $this->_propDict)) { + if (is_a($this->_propDict["siteUser"], "\Microsoft\Graph\Model\SharePointIdentity") || is_null($this->_propDict["siteUser"])) { + return $this->_propDict["siteUser"]; + } else { + $this->_propDict["siteUser"] = new SharePointIdentity($this->_propDict["siteUser"]); + return $this->_propDict["siteUser"]; + } + } + return null; + } + + /** + * Sets the siteUser + * The SharePoint user associated with this action. Optional. + * + * @param SharePointIdentity $val The value to assign to the siteUser + * + * @return SharePointIdentitySet The SharePointIdentitySet + */ + public function setSiteUser($val) + { + $this->_propDict["siteUser"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Shared.php b/vendor/microsoft/microsoft-graph/src/Model/Shared.php new file mode 100644 index 0000000..3f7e98f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Shared.php @@ -0,0 +1,153 @@ +_propDict)) { + if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new IdentitySet($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * The identity of the owner of the shared item. Read-only. + * + * @param IdentitySet $val The value to assign to the owner + * + * @return Shared The Shared + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + /** + * Gets the scope + * Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only. + * + * @param string $val The value of the scope + * + * @return Shared + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the sharedBy + * The identity of the user who shared the item. Read-only. + * + * @return IdentitySet|null The sharedBy + */ + public function getSharedBy() + { + if (array_key_exists("sharedBy", $this->_propDict)) { + if (is_a($this->_propDict["sharedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["sharedBy"])) { + return $this->_propDict["sharedBy"]; + } else { + $this->_propDict["sharedBy"] = new IdentitySet($this->_propDict["sharedBy"]); + return $this->_propDict["sharedBy"]; + } + } + return null; + } + + /** + * Sets the sharedBy + * The identity of the user who shared the item. Read-only. + * + * @param IdentitySet $val The value to assign to the sharedBy + * + * @return Shared The Shared + */ + public function setSharedBy($val) + { + $this->_propDict["sharedBy"] = $val; + return $this; + } + + /** + * Gets the sharedDateTime + * The UTC date and time when the item was shared. Read-only. + * + * @return \DateTime|null The sharedDateTime + */ + public function getSharedDateTime() + { + if (array_key_exists("sharedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["sharedDateTime"], "\DateTime") || is_null($this->_propDict["sharedDateTime"])) { + return $this->_propDict["sharedDateTime"]; + } else { + $this->_propDict["sharedDateTime"] = new \DateTime($this->_propDict["sharedDateTime"]); + return $this->_propDict["sharedDateTime"]; + } + } + return null; + } + + /** + * Sets the sharedDateTime + * The UTC date and time when the item was shared. Read-only. + * + * @param \DateTime $val The value to assign to the sharedDateTime + * + * @return Shared The Shared + */ + public function setSharedDateTime($val) + { + $this->_propDict["sharedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharedDriveItem.php b/vendor/microsoft/microsoft-graph/src/Model/SharedDriveItem.php new file mode 100644 index 0000000..8f88aa4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharedDriveItem.php @@ -0,0 +1,288 @@ +_propDict)) { + if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["owner"])) { + return $this->_propDict["owner"]; + } else { + $this->_propDict["owner"] = new IdentitySet($this->_propDict["owner"]); + return $this->_propDict["owner"]; + } + } + return null; + } + + /** + * Sets the owner + * Information about the owner of the shared item being referenced. + * + * @param IdentitySet $val The owner + * + * @return SharedDriveItem + */ + public function setOwner($val) + { + $this->_propDict["owner"] = $val; + return $this; + } + + /** + * Gets the driveItem + * Used to access the underlying driveItem + * + * @return DriveItem|null The driveItem + */ + public function getDriveItem() + { + if (array_key_exists("driveItem", $this->_propDict)) { + if (is_a($this->_propDict["driveItem"], "\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["driveItem"])) { + return $this->_propDict["driveItem"]; + } else { + $this->_propDict["driveItem"] = new DriveItem($this->_propDict["driveItem"]); + return $this->_propDict["driveItem"]; + } + } + return null; + } + + /** + * Sets the driveItem + * Used to access the underlying driveItem + * + * @param DriveItem $val The driveItem + * + * @return SharedDriveItem + */ + public function setDriveItem($val) + { + $this->_propDict["driveItem"] = $val; + return $this; + } + + + /** + * Gets the items + * All driveItems contained in the sharing root. This collection cannot be enumerated. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * All driveItems contained in the sharing root. This collection cannot be enumerated. + * + * @param DriveItem[] $val The items + * + * @return SharedDriveItem + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + /** + * Gets the list + * Used to access the underlying list + * + * @return GraphList|null The list + */ + public function getList() + { + if (array_key_exists("list", $this->_propDict)) { + if (is_a($this->_propDict["list"], "\Microsoft\Graph\Model\GraphList") || is_null($this->_propDict["list"])) { + return $this->_propDict["list"]; + } else { + $this->_propDict["list"] = new GraphList($this->_propDict["list"]); + return $this->_propDict["list"]; + } + } + return null; + } + + /** + * Sets the list + * Used to access the underlying list + * + * @param GraphList $val The list + * + * @return SharedDriveItem + */ + public function setList($val) + { + $this->_propDict["list"] = $val; + return $this; + } + + /** + * Gets the listItem + * Used to access the underlying listItem + * + * @return ListItem|null The listItem + */ + public function getListItem() + { + if (array_key_exists("listItem", $this->_propDict)) { + if (is_a($this->_propDict["listItem"], "\Microsoft\Graph\Model\ListItem") || is_null($this->_propDict["listItem"])) { + return $this->_propDict["listItem"]; + } else { + $this->_propDict["listItem"] = new ListItem($this->_propDict["listItem"]); + return $this->_propDict["listItem"]; + } + } + return null; + } + + /** + * Sets the listItem + * Used to access the underlying listItem + * + * @param ListItem $val The listItem + * + * @return SharedDriveItem + */ + public function setListItem($val) + { + $this->_propDict["listItem"] = $val; + return $this; + } + + /** + * Gets the permission + * Used to access the permission representing the underlying sharing link + * + * @return Permission|null The permission + */ + public function getPermission() + { + if (array_key_exists("permission", $this->_propDict)) { + if (is_a($this->_propDict["permission"], "\Microsoft\Graph\Model\Permission") || is_null($this->_propDict["permission"])) { + return $this->_propDict["permission"]; + } else { + $this->_propDict["permission"] = new Permission($this->_propDict["permission"]); + return $this->_propDict["permission"]; + } + } + return null; + } + + /** + * Sets the permission + * Used to access the permission representing the underlying sharing link + * + * @param Permission $val The permission + * + * @return SharedDriveItem + */ + public function setPermission($val) + { + $this->_propDict["permission"] = $val; + return $this; + } + + /** + * Gets the root + * Used to access the underlying driveItem. Deprecated -- use driveItem instead. + * + * @return DriveItem|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\DriveItem") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new DriveItem($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * Used to access the underlying driveItem. Deprecated -- use driveItem instead. + * + * @param DriveItem $val The root + * + * @return SharedDriveItem + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + /** + * Gets the site + * Used to access the underlying site + * + * @return Site|null The site + */ + public function getSite() + { + if (array_key_exists("site", $this->_propDict)) { + if (is_a($this->_propDict["site"], "\Microsoft\Graph\Model\Site") || is_null($this->_propDict["site"])) { + return $this->_propDict["site"]; + } else { + $this->_propDict["site"] = new Site($this->_propDict["site"]); + return $this->_propDict["site"]; + } + } + return null; + } + + /** + * Sets the site + * Used to access the underlying site + * + * @param Site $val The site + * + * @return SharedDriveItem + */ + public function setSite($val) + { + $this->_propDict["site"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharedInsight.php b/vendor/microsoft/microsoft-graph/src/Model/SharedInsight.php new file mode 100644 index 0000000..e2bcaa4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharedInsight.php @@ -0,0 +1,218 @@ +_propDict)) { + if (is_a($this->_propDict["lastShared"], "\Microsoft\Graph\Model\SharingDetail") || is_null($this->_propDict["lastShared"])) { + return $this->_propDict["lastShared"]; + } else { + $this->_propDict["lastShared"] = new SharingDetail($this->_propDict["lastShared"]); + return $this->_propDict["lastShared"]; + } + } + return null; + } + + /** + * Sets the lastShared + * Details about the shared item. Read only. + * + * @param SharingDetail $val The lastShared + * + * @return SharedInsight + */ + public function setLastShared($val) + { + $this->_propDict["lastShared"] = $val; + return $this; + } + + /** + * Gets the resourceReference + * Reference properties of the shared document, such as the url and type of the document. Read-only + * + * @return ResourceReference|null The resourceReference + */ + public function getResourceReference() + { + if (array_key_exists("resourceReference", $this->_propDict)) { + if (is_a($this->_propDict["resourceReference"], "\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) { + return $this->_propDict["resourceReference"]; + } else { + $this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]); + return $this->_propDict["resourceReference"]; + } + } + return null; + } + + /** + * Sets the resourceReference + * Reference properties of the shared document, such as the url and type of the document. Read-only + * + * @param ResourceReference $val The resourceReference + * + * @return SharedInsight + */ + public function setResourceReference($val) + { + $this->_propDict["resourceReference"] = $val; + return $this; + } + + /** + * Gets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @return ResourceVisualization|null The resourceVisualization + */ + public function getResourceVisualization() + { + if (array_key_exists("resourceVisualization", $this->_propDict)) { + if (is_a($this->_propDict["resourceVisualization"], "\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) { + return $this->_propDict["resourceVisualization"]; + } else { + $this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]); + return $this->_propDict["resourceVisualization"]; + } + } + return null; + } + + /** + * Sets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @param ResourceVisualization $val The resourceVisualization + * + * @return SharedInsight + */ + public function setResourceVisualization($val) + { + $this->_propDict["resourceVisualization"] = $val; + return $this; + } + + + /** + * Gets the sharingHistory + * + * @return array|null The sharingHistory + */ + public function getSharingHistory() + { + if (array_key_exists("sharingHistory", $this->_propDict)) { + return $this->_propDict["sharingHistory"]; + } else { + return null; + } + } + + /** + * Sets the sharingHistory + * + * @param SharingDetail[] $val The sharingHistory + * + * @return SharedInsight + */ + public function setSharingHistory($val) + { + $this->_propDict["sharingHistory"] = $val; + return $this; + } + + /** + * Gets the lastSharedMethod + * + * @return Entity|null The lastSharedMethod + */ + public function getLastSharedMethod() + { + if (array_key_exists("lastSharedMethod", $this->_propDict)) { + if (is_a($this->_propDict["lastSharedMethod"], "\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["lastSharedMethod"])) { + return $this->_propDict["lastSharedMethod"]; + } else { + $this->_propDict["lastSharedMethod"] = new Entity($this->_propDict["lastSharedMethod"]); + return $this->_propDict["lastSharedMethod"]; + } + } + return null; + } + + /** + * Sets the lastSharedMethod + * + * @param Entity $val The lastSharedMethod + * + * @return SharedInsight + */ + public function setLastSharedMethod($val) + { + $this->_propDict["lastSharedMethod"] = $val; + return $this; + } + + /** + * Gets the resource + * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @param Entity $val The resource + * + * @return SharedInsight + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharedPCAccountDeletionPolicyType.php b/vendor/microsoft/microsoft-graph/src/Model/SharedPCAccountDeletionPolicyType.php new file mode 100644 index 0000000..8c6e0ae --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharedPCAccountDeletionPolicyType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["accountDeletionPolicy"], "\Microsoft\Graph\Model\SharedPCAccountDeletionPolicyType") || is_null($this->_propDict["accountDeletionPolicy"])) { + return $this->_propDict["accountDeletionPolicy"]; + } else { + $this->_propDict["accountDeletionPolicy"] = new SharedPCAccountDeletionPolicyType($this->_propDict["accountDeletionPolicy"]); + return $this->_propDict["accountDeletionPolicy"]; + } + } + return null; + } + + /** + * Sets the accountDeletionPolicy + * Configures when accounts are deleted. Possible values are: immediate, diskSpaceThreshold, diskSpaceThresholdOrInactiveThreshold. + * + * @param SharedPCAccountDeletionPolicyType $val The value to assign to the accountDeletionPolicy + * + * @return SharedPCAccountManagerPolicy The SharedPCAccountManagerPolicy + */ + public function setAccountDeletionPolicy($val) + { + $this->_propDict["accountDeletionPolicy"] = $val; + return $this; + } + /** + * Gets the cacheAccountsAboveDiskFreePercentage + * Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @return int|null The cacheAccountsAboveDiskFreePercentage + */ + public function getCacheAccountsAboveDiskFreePercentage() + { + if (array_key_exists("cacheAccountsAboveDiskFreePercentage", $this->_propDict)) { + return $this->_propDict["cacheAccountsAboveDiskFreePercentage"]; + } else { + return null; + } + } + + /** + * Sets the cacheAccountsAboveDiskFreePercentage + * Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @param int $val The value of the cacheAccountsAboveDiskFreePercentage + * + * @return SharedPCAccountManagerPolicy + */ + public function setCacheAccountsAboveDiskFreePercentage($val) + { + $this->_propDict["cacheAccountsAboveDiskFreePercentage"] = $val; + return $this; + } + /** + * Gets the inactiveThresholdDays + * Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. + * + * @return int|null The inactiveThresholdDays + */ + public function getInactiveThresholdDays() + { + if (array_key_exists("inactiveThresholdDays", $this->_propDict)) { + return $this->_propDict["inactiveThresholdDays"]; + } else { + return null; + } + } + + /** + * Sets the inactiveThresholdDays + * Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. + * + * @param int $val The value of the inactiveThresholdDays + * + * @return SharedPCAccountManagerPolicy + */ + public function setInactiveThresholdDays($val) + { + $this->_propDict["inactiveThresholdDays"] = $val; + return $this; + } + /** + * Gets the removeAccountsBelowDiskFreePercentage + * Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @return int|null The removeAccountsBelowDiskFreePercentage + */ + public function getRemoveAccountsBelowDiskFreePercentage() + { + if (array_key_exists("removeAccountsBelowDiskFreePercentage", $this->_propDict)) { + return $this->_propDict["removeAccountsBelowDiskFreePercentage"]; + } else { + return null; + } + } + + /** + * Sets the removeAccountsBelowDiskFreePercentage + * Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100 + * + * @param int $val The value of the removeAccountsBelowDiskFreePercentage + * + * @return SharedPCAccountManagerPolicy + */ + public function setRemoveAccountsBelowDiskFreePercentage($val) + { + $this->_propDict["removeAccountsBelowDiskFreePercentage"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharedPCAllowedAccountType.php b/vendor/microsoft/microsoft-graph/src/Model/SharedPCAllowedAccountType.php new file mode 100644 index 0000000..e1715bb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharedPCAllowedAccountType.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["accountManagerPolicy"], "\Microsoft\Graph\Model\SharedPCAccountManagerPolicy") || is_null($this->_propDict["accountManagerPolicy"])) { + return $this->_propDict["accountManagerPolicy"]; + } else { + $this->_propDict["accountManagerPolicy"] = new SharedPCAccountManagerPolicy($this->_propDict["accountManagerPolicy"]); + return $this->_propDict["accountManagerPolicy"]; + } + } + return null; + } + + /** + * Sets the accountManagerPolicy + * Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. + * + * @param SharedPCAccountManagerPolicy $val The accountManagerPolicy + * + * @return SharedPCConfiguration + */ + public function setAccountManagerPolicy($val) + { + $this->_propDict["accountManagerPolicy"] = $val; + return $this; + } + + /** + * Gets the allowedAccounts + * Indicates which type of accounts are allowed to use on a shared PC. Possible values are: notConfigured, guest, domain. + * + * @return SharedPCAllowedAccountType|null The allowedAccounts + */ + public function getAllowedAccounts() + { + if (array_key_exists("allowedAccounts", $this->_propDict)) { + if (is_a($this->_propDict["allowedAccounts"], "\Microsoft\Graph\Model\SharedPCAllowedAccountType") || is_null($this->_propDict["allowedAccounts"])) { + return $this->_propDict["allowedAccounts"]; + } else { + $this->_propDict["allowedAccounts"] = new SharedPCAllowedAccountType($this->_propDict["allowedAccounts"]); + return $this->_propDict["allowedAccounts"]; + } + } + return null; + } + + /** + * Sets the allowedAccounts + * Indicates which type of accounts are allowed to use on a shared PC. Possible values are: notConfigured, guest, domain. + * + * @param SharedPCAllowedAccountType $val The allowedAccounts + * + * @return SharedPCConfiguration + */ + public function setAllowedAccounts($val) + { + $this->_propDict["allowedAccounts"] = $val; + return $this; + } + + /** + * Gets the allowLocalStorage + * Specifies whether local storage is allowed on a shared PC. + * + * @return bool|null The allowLocalStorage + */ + public function getAllowLocalStorage() + { + if (array_key_exists("allowLocalStorage", $this->_propDict)) { + return $this->_propDict["allowLocalStorage"]; + } else { + return null; + } + } + + /** + * Sets the allowLocalStorage + * Specifies whether local storage is allowed on a shared PC. + * + * @param bool $val The allowLocalStorage + * + * @return SharedPCConfiguration + */ + public function setAllowLocalStorage($val) + { + $this->_propDict["allowLocalStorage"] = boolval($val); + return $this; + } + + /** + * Gets the disableAccountManager + * Disables the account manager for shared PC mode. + * + * @return bool|null The disableAccountManager + */ + public function getDisableAccountManager() + { + if (array_key_exists("disableAccountManager", $this->_propDict)) { + return $this->_propDict["disableAccountManager"]; + } else { + return null; + } + } + + /** + * Sets the disableAccountManager + * Disables the account manager for shared PC mode. + * + * @param bool $val The disableAccountManager + * + * @return SharedPCConfiguration + */ + public function setDisableAccountManager($val) + { + $this->_propDict["disableAccountManager"] = boolval($val); + return $this; + } + + /** + * Gets the disableEduPolicies + * Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. + * + * @return bool|null The disableEduPolicies + */ + public function getDisableEduPolicies() + { + if (array_key_exists("disableEduPolicies", $this->_propDict)) { + return $this->_propDict["disableEduPolicies"]; + } else { + return null; + } + } + + /** + * Sets the disableEduPolicies + * Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true. + * + * @param bool $val The disableEduPolicies + * + * @return SharedPCConfiguration + */ + public function setDisableEduPolicies($val) + { + $this->_propDict["disableEduPolicies"] = boolval($val); + return $this; + } + + /** + * Gets the disablePowerPolicies + * Specifies whether the default shared PC power policies should be disabled. + * + * @return bool|null The disablePowerPolicies + */ + public function getDisablePowerPolicies() + { + if (array_key_exists("disablePowerPolicies", $this->_propDict)) { + return $this->_propDict["disablePowerPolicies"]; + } else { + return null; + } + } + + /** + * Sets the disablePowerPolicies + * Specifies whether the default shared PC power policies should be disabled. + * + * @param bool $val The disablePowerPolicies + * + * @return SharedPCConfiguration + */ + public function setDisablePowerPolicies($val) + { + $this->_propDict["disablePowerPolicies"] = boolval($val); + return $this; + } + + /** + * Gets the disableSignInOnResume + * Disables the requirement to sign in whenever the device wakes up from sleep mode. + * + * @return bool|null The disableSignInOnResume + */ + public function getDisableSignInOnResume() + { + if (array_key_exists("disableSignInOnResume", $this->_propDict)) { + return $this->_propDict["disableSignInOnResume"]; + } else { + return null; + } + } + + /** + * Sets the disableSignInOnResume + * Disables the requirement to sign in whenever the device wakes up from sleep mode. + * + * @param bool $val The disableSignInOnResume + * + * @return SharedPCConfiguration + */ + public function setDisableSignInOnResume($val) + { + $this->_propDict["disableSignInOnResume"] = boolval($val); + return $this; + } + + /** + * Gets the enabled + * Enables shared PC mode and applies the shared pc policies. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Enables shared PC mode and applies the shared pc policies. + * + * @param bool $val The enabled + * + * @return SharedPCConfiguration + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the idleTimeBeforeSleepInSeconds + * Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. + * + * @return int|null The idleTimeBeforeSleepInSeconds + */ + public function getIdleTimeBeforeSleepInSeconds() + { + if (array_key_exists("idleTimeBeforeSleepInSeconds", $this->_propDict)) { + return $this->_propDict["idleTimeBeforeSleepInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the idleTimeBeforeSleepInSeconds + * Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring. + * + * @param int $val The idleTimeBeforeSleepInSeconds + * + * @return SharedPCConfiguration + */ + public function setIdleTimeBeforeSleepInSeconds($val) + { + $this->_propDict["idleTimeBeforeSleepInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the kioskAppDisplayName + * Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. + * + * @return string|null The kioskAppDisplayName + */ + public function getKioskAppDisplayName() + { + if (array_key_exists("kioskAppDisplayName", $this->_propDict)) { + return $this->_propDict["kioskAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the kioskAppDisplayName + * Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set. + * + * @param string $val The kioskAppDisplayName + * + * @return SharedPCConfiguration + */ + public function setKioskAppDisplayName($val) + { + $this->_propDict["kioskAppDisplayName"] = $val; + return $this; + } + + /** + * Gets the kioskAppUserModelId + * Specifies the application user model ID of the app to use with assigned access. + * + * @return string|null The kioskAppUserModelId + */ + public function getKioskAppUserModelId() + { + if (array_key_exists("kioskAppUserModelId", $this->_propDict)) { + return $this->_propDict["kioskAppUserModelId"]; + } else { + return null; + } + } + + /** + * Sets the kioskAppUserModelId + * Specifies the application user model ID of the app to use with assigned access. + * + * @param string $val The kioskAppUserModelId + * + * @return SharedPCConfiguration + */ + public function setKioskAppUserModelId($val) + { + $this->_propDict["kioskAppUserModelId"] = $val; + return $this; + } + + /** + * Gets the maintenanceStartTime + * Specifies the daily start time of maintenance hour. + * + * @return TimeOfDay|null The maintenanceStartTime + */ + public function getMaintenanceStartTime() + { + if (array_key_exists("maintenanceStartTime", $this->_propDict)) { + if (is_a($this->_propDict["maintenanceStartTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["maintenanceStartTime"])) { + return $this->_propDict["maintenanceStartTime"]; + } else { + $this->_propDict["maintenanceStartTime"] = new TimeOfDay($this->_propDict["maintenanceStartTime"]); + return $this->_propDict["maintenanceStartTime"]; + } + } + return null; + } + + /** + * Sets the maintenanceStartTime + * Specifies the daily start time of maintenance hour. + * + * @param TimeOfDay $val The maintenanceStartTime + * + * @return SharedPCConfiguration + */ + public function setMaintenanceStartTime($val) + { + $this->_propDict["maintenanceStartTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharepointIds.php b/vendor/microsoft/microsoft-graph/src/Model/SharepointIds.php new file mode 100644 index 0000000..63e55f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharepointIds.php @@ -0,0 +1,222 @@ +_propDict)) { + return $this->_propDict["listId"]; + } else { + return null; + } + } + + /** + * Sets the listId + * The unique identifier (guid) for the item's list in SharePoint. + * + * @param string $val The value of the listId + * + * @return SharepointIds + */ + public function setListId($val) + { + $this->_propDict["listId"] = $val; + return $this; + } + /** + * Gets the listItemId + * An integer identifier for the item within the containing list. + * + * @return string|null The listItemId + */ + public function getListItemId() + { + if (array_key_exists("listItemId", $this->_propDict)) { + return $this->_propDict["listItemId"]; + } else { + return null; + } + } + + /** + * Sets the listItemId + * An integer identifier for the item within the containing list. + * + * @param string $val The value of the listItemId + * + * @return SharepointIds + */ + public function setListItemId($val) + { + $this->_propDict["listItemId"] = $val; + return $this; + } + /** + * Gets the listItemUniqueId + * The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. + * + * @return string|null The listItemUniqueId + */ + public function getListItemUniqueId() + { + if (array_key_exists("listItemUniqueId", $this->_propDict)) { + return $this->_propDict["listItemUniqueId"]; + } else { + return null; + } + } + + /** + * Sets the listItemUniqueId + * The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site. + * + * @param string $val The value of the listItemUniqueId + * + * @return SharepointIds + */ + public function setListItemUniqueId($val) + { + $this->_propDict["listItemUniqueId"] = $val; + return $this; + } + /** + * Gets the siteId + * The unique identifier (guid) for the item's site collection (SPSite). + * + * @return string|null The siteId + */ + public function getSiteId() + { + if (array_key_exists("siteId", $this->_propDict)) { + return $this->_propDict["siteId"]; + } else { + return null; + } + } + + /** + * Sets the siteId + * The unique identifier (guid) for the item's site collection (SPSite). + * + * @param string $val The value of the siteId + * + * @return SharepointIds + */ + public function setSiteId($val) + { + $this->_propDict["siteId"] = $val; + return $this; + } + /** + * Gets the siteUrl + * The SharePoint URL for the site that contains the item. + * + * @return string|null The siteUrl + */ + public function getSiteUrl() + { + if (array_key_exists("siteUrl", $this->_propDict)) { + return $this->_propDict["siteUrl"]; + } else { + return null; + } + } + + /** + * Sets the siteUrl + * The SharePoint URL for the site that contains the item. + * + * @param string $val The value of the siteUrl + * + * @return SharepointIds + */ + public function setSiteUrl($val) + { + $this->_propDict["siteUrl"] = $val; + return $this; + } + /** + * Gets the tenantId + * The unique identifier (guid) for the tenancy. + * + * @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 + * The unique identifier (guid) for the tenancy. + * + * @param string $val The value of the tenantId + * + * @return SharepointIds + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + /** + * Gets the webId + * The unique identifier (guid) for the item's site (SPWeb). + * + * @return string|null The webId + */ + public function getWebId() + { + if (array_key_exists("webId", $this->_propDict)) { + return $this->_propDict["webId"]; + } else { + return null; + } + } + + /** + * Sets the webId + * The unique identifier (guid) for the item's site (SPWeb). + * + * @param string $val The value of the webId + * + * @return SharepointIds + */ + public function setWebId($val) + { + $this->_propDict["webId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharingDetail.php b/vendor/microsoft/microsoft-graph/src/Model/SharingDetail.php new file mode 100644 index 0000000..99fa1d5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharingDetail.php @@ -0,0 +1,179 @@ +_propDict)) { + if (is_a($this->_propDict["sharedBy"], "\Microsoft\Graph\Model\InsightIdentity") || is_null($this->_propDict["sharedBy"])) { + return $this->_propDict["sharedBy"]; + } else { + $this->_propDict["sharedBy"] = new InsightIdentity($this->_propDict["sharedBy"]); + return $this->_propDict["sharedBy"]; + } + } + return null; + } + + /** + * Sets the sharedBy + * The user who shared the document. + * + * @param InsightIdentity $val The value to assign to the sharedBy + * + * @return SharingDetail The SharingDetail + */ + public function setSharedBy($val) + { + $this->_propDict["sharedBy"] = $val; + return $this; + } + + /** + * Gets the sharedDateTime + * The date and time the file was last shared. The timestamp 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 sharedDateTime + */ + public function getSharedDateTime() + { + if (array_key_exists("sharedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["sharedDateTime"], "\DateTime") || is_null($this->_propDict["sharedDateTime"])) { + return $this->_propDict["sharedDateTime"]; + } else { + $this->_propDict["sharedDateTime"] = new \DateTime($this->_propDict["sharedDateTime"]); + return $this->_propDict["sharedDateTime"]; + } + } + return null; + } + + /** + * Sets the sharedDateTime + * The date and time the file was last shared. The timestamp 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 sharedDateTime + * + * @return SharingDetail The SharingDetail + */ + public function setSharedDateTime($val) + { + $this->_propDict["sharedDateTime"] = $val; + return $this; + } + + /** + * Gets the sharingReference + * + * @return ResourceReference|null The sharingReference + */ + public function getSharingReference() + { + if (array_key_exists("sharingReference", $this->_propDict)) { + if (is_a($this->_propDict["sharingReference"], "\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["sharingReference"])) { + return $this->_propDict["sharingReference"]; + } else { + $this->_propDict["sharingReference"] = new ResourceReference($this->_propDict["sharingReference"]); + return $this->_propDict["sharingReference"]; + } + } + return null; + } + + /** + * Sets the sharingReference + * + * @param ResourceReference $val The value to assign to the sharingReference + * + * @return SharingDetail The SharingDetail + */ + public function setSharingReference($val) + { + $this->_propDict["sharingReference"] = $val; + return $this; + } + /** + * Gets the sharingSubject + * The subject with which the document was shared. + * + * @return string|null The sharingSubject + */ + public function getSharingSubject() + { + if (array_key_exists("sharingSubject", $this->_propDict)) { + return $this->_propDict["sharingSubject"]; + } else { + return null; + } + } + + /** + * Sets the sharingSubject + * The subject with which the document was shared. + * + * @param string $val The value of the sharingSubject + * + * @return SharingDetail + */ + public function setSharingSubject($val) + { + $this->_propDict["sharingSubject"] = $val; + return $this; + } + /** + * Gets the sharingType + * Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'. + * + * @return string|null The sharingType + */ + public function getSharingType() + { + if (array_key_exists("sharingType", $this->_propDict)) { + return $this->_propDict["sharingType"]; + } else { + return null; + } + } + + /** + * Sets the sharingType + * Determines the way the document was shared, can be by a 'Link', 'Attachment', 'Group', 'Site'. + * + * @param string $val The value of the sharingType + * + * @return SharingDetail + */ + public function setSharingType($val) + { + $this->_propDict["sharingType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharingInvitation.php b/vendor/microsoft/microsoft-graph/src/Model/SharingInvitation.php new file mode 100644 index 0000000..2e1f62f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharingInvitation.php @@ -0,0 +1,141 @@ +_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email address provided for the recipient of the sharing invitation. Read-only. + * + * @param string $val The value of the email + * + * @return SharingInvitation + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + + /** + * Gets the invitedBy + * Provides information about who sent the invitation that created this permission, if that information is available. Read-only. + * + * @return IdentitySet|null The invitedBy + */ + public function getInvitedBy() + { + if (array_key_exists("invitedBy", $this->_propDict)) { + if (is_a($this->_propDict["invitedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["invitedBy"])) { + return $this->_propDict["invitedBy"]; + } else { + $this->_propDict["invitedBy"] = new IdentitySet($this->_propDict["invitedBy"]); + return $this->_propDict["invitedBy"]; + } + } + return null; + } + + /** + * Sets the invitedBy + * Provides information about who sent the invitation that created this permission, if that information is available. Read-only. + * + * @param IdentitySet $val The value to assign to the invitedBy + * + * @return SharingInvitation The SharingInvitation + */ + public function setInvitedBy($val) + { + $this->_propDict["invitedBy"] = $val; + return $this; + } + /** + * Gets the redeemedBy + * + * @return string|null The redeemedBy + */ + public function getRedeemedBy() + { + if (array_key_exists("redeemedBy", $this->_propDict)) { + return $this->_propDict["redeemedBy"]; + } else { + return null; + } + } + + /** + * Sets the redeemedBy + * + * @param string $val The value of the redeemedBy + * + * @return SharingInvitation + */ + public function setRedeemedBy($val) + { + $this->_propDict["redeemedBy"] = $val; + return $this; + } + /** + * Gets the signInRequired + * If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. + * + * @return bool|null The signInRequired + */ + public function getSignInRequired() + { + if (array_key_exists("signInRequired", $this->_propDict)) { + return $this->_propDict["signInRequired"]; + } else { + return null; + } + } + + /** + * Sets the signInRequired + * If true the recipient of the invitation needs to sign in in order to access the shared item. Read-only. + * + * @param bool $val The value of the signInRequired + * + * @return SharingInvitation + */ + public function setSignInRequired($val) + { + $this->_propDict["signInRequired"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SharingLink.php b/vendor/microsoft/microsoft-graph/src/Model/SharingLink.php new file mode 100644 index 0000000..8ea67ad --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SharingLink.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new Identity($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * The app the link is associated with. + * + * @param Identity $val The value to assign to the application + * + * @return SharingLink The SharingLink + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + /** + * Gets the preventsDownload + * If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint. + * + * @return bool|null The preventsDownload + */ + public function getPreventsDownload() + { + if (array_key_exists("preventsDownload", $this->_propDict)) { + return $this->_propDict["preventsDownload"]; + } else { + return null; + } + } + + /** + * Sets the preventsDownload + * If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint. + * + * @param bool $val The value of the preventsDownload + * + * @return SharingLink + */ + public function setPreventsDownload($val) + { + $this->_propDict["preventsDownload"] = $val; + return $this; + } + /** + * Gets the scope + * The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant. + * + * @param string $val The value of the scope + * + * @return SharingLink + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + /** + * Gets the type + * The type of the link created. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * The type of the link created. + * + * @param string $val The value of the type + * + * @return SharingLink + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the webHtml + * For embed links, this property contains the HTML code for an &lt;iframe&gt; element that will embed the item in a webpage. + * + * @return string|null The webHtml + */ + public function getWebHtml() + { + if (array_key_exists("webHtml", $this->_propDict)) { + return $this->_propDict["webHtml"]; + } else { + return null; + } + } + + /** + * Sets the webHtml + * For embed links, this property contains the HTML code for an &lt;iframe&gt; element that will embed the item in a webpage. + * + * @param string $val The value of the webHtml + * + * @return SharingLink + */ + public function setWebHtml($val) + { + $this->_propDict["webHtml"] = $val; + return $this; + } + /** + * Gets the webUrl + * A URL that opens the item in the browser on the OneDrive website. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A URL that opens the item in the browser on the OneDrive website. + * + * @param string $val The value of the webUrl + * + * @return SharingLink + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Shift.php b/vendor/microsoft/microsoft-graph/src/Model/Shift.php new file mode 100644 index 0000000..fbeb9d3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Shift.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["draftShift"], "\Microsoft\Graph\Model\ShiftItem") || is_null($this->_propDict["draftShift"])) { + return $this->_propDict["draftShift"]; + } else { + $this->_propDict["draftShift"] = new ShiftItem($this->_propDict["draftShift"]); + return $this->_propDict["draftShift"]; + } + } + return null; + } + + /** + * Sets the draftShift + * The draft version of this shift that is viewable by managers. Required. + * + * @param ShiftItem $val The draftShift + * + * @return Shift + */ + public function setDraftShift($val) + { + $this->_propDict["draftShift"] = $val; + return $this; + } + + /** + * Gets the schedulingGroupId + * ID of the scheduling group the shift is part of. Required. + * + * @return string|null The schedulingGroupId + */ + public function getSchedulingGroupId() + { + if (array_key_exists("schedulingGroupId", $this->_propDict)) { + return $this->_propDict["schedulingGroupId"]; + } else { + return null; + } + } + + /** + * Sets the schedulingGroupId + * ID of the scheduling group the shift is part of. Required. + * + * @param string $val The schedulingGroupId + * + * @return Shift + */ + public function setSchedulingGroupId($val) + { + $this->_propDict["schedulingGroupId"] = $val; + return $this; + } + + /** + * Gets the sharedShift + * The shared version of this shift that is viewable by both employees and managers. Required. + * + * @return ShiftItem|null The sharedShift + */ + public function getSharedShift() + { + if (array_key_exists("sharedShift", $this->_propDict)) { + if (is_a($this->_propDict["sharedShift"], "\Microsoft\Graph\Model\ShiftItem") || is_null($this->_propDict["sharedShift"])) { + return $this->_propDict["sharedShift"]; + } else { + $this->_propDict["sharedShift"] = new ShiftItem($this->_propDict["sharedShift"]); + return $this->_propDict["sharedShift"]; + } + } + return null; + } + + /** + * Sets the sharedShift + * The shared version of this shift that is viewable by both employees and managers. Required. + * + * @param ShiftItem $val The sharedShift + * + * @return Shift + */ + public function setSharedShift($val) + { + $this->_propDict["sharedShift"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user assigned to the shift. Required. + * + * @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 + * ID of the user assigned to the shift. Required. + * + * @param string $val The userId + * + * @return Shift + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ShiftActivity.php b/vendor/microsoft/microsoft-graph/src/Model/ShiftActivity.php new file mode 100644 index 0000000..1ce6d7c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ShiftActivity.php @@ -0,0 +1,207 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * Customer defined code for the shiftActivity. Required. + * + * @param string $val The value of the code + * + * @return ShiftActivity + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + /** + * Gets the displayName + * The name of the shiftActivity. Required. + * + * @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 + * The name of the shiftActivity. Required. + * + * @param string $val The value of the displayName + * + * @return ShiftActivity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * The end date and time for the shiftActivity. 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 endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * The end date and time for the shiftActivity. 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 endDateTime + * + * @return ShiftActivity The ShiftActivity + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + /** + * Gets the isPaid + * Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required. + * + * @return bool|null The isPaid + */ + public function getIsPaid() + { + if (array_key_exists("isPaid", $this->_propDict)) { + return $this->_propDict["isPaid"]; + } else { + return null; + } + } + + /** + * Sets the isPaid + * Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required. + * + * @param bool $val The value of the isPaid + * + * @return ShiftActivity + */ + public function setIsPaid($val) + { + $this->_propDict["isPaid"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The start date and time for the shiftActivity. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The start date and time for the shiftActivity. 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 startDateTime + * + * @return ShiftActivity The ShiftActivity + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the theme + * + * @return ScheduleEntityTheme|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + if (is_a($this->_propDict["theme"], "\Microsoft\Graph\Model\ScheduleEntityTheme") || is_null($this->_propDict["theme"])) { + return $this->_propDict["theme"]; + } else { + $this->_propDict["theme"] = new ScheduleEntityTheme($this->_propDict["theme"]); + return $this->_propDict["theme"]; + } + } + return null; + } + + /** + * Sets the theme + * + * @param ScheduleEntityTheme $val The value to assign to the theme + * + * @return ShiftActivity The ShiftActivity + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ShiftAvailability.php b/vendor/microsoft/microsoft-graph/src/Model/ShiftAvailability.php new file mode 100644 index 0000000..037861a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ShiftAvailability.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * Specifies the pattern for recurrence + * + * @param PatternedRecurrence $val The value to assign to the recurrence + * + * @return ShiftAvailability The ShiftAvailability + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the timeSlots + * The time slot(s) preferred by the user. + * + * @return TimeRange|null The timeSlots + */ + public function getTimeSlots() + { + if (array_key_exists("timeSlots", $this->_propDict)) { + if (is_a($this->_propDict["timeSlots"], "\Microsoft\Graph\Model\TimeRange") || is_null($this->_propDict["timeSlots"])) { + return $this->_propDict["timeSlots"]; + } else { + $this->_propDict["timeSlots"] = new TimeRange($this->_propDict["timeSlots"]); + return $this->_propDict["timeSlots"]; + } + } + return null; + } + + /** + * Sets the timeSlots + * The time slot(s) preferred by the user. + * + * @param TimeRange $val The value to assign to the timeSlots + * + * @return ShiftAvailability The ShiftAvailability + */ + public function setTimeSlots($val) + { + $this->_propDict["timeSlots"] = $val; + return $this; + } + /** + * Gets the timeZone + * Specifies the time zone for the indicated time. + * + * @return string|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + return $this->_propDict["timeZone"]; + } else { + return null; + } + } + + /** + * Sets the timeZone + * Specifies the time zone for the indicated time. + * + * @param string $val The value of the timeZone + * + * @return ShiftAvailability + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ShiftItem.php b/vendor/microsoft/microsoft-graph/src/Model/ShiftItem.php new file mode 100644 index 0000000..0a1139e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ShiftItem.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["activities"], "\Microsoft\Graph\Model\ShiftActivity") || is_null($this->_propDict["activities"])) { + return $this->_propDict["activities"]; + } else { + $this->_propDict["activities"] = new ShiftActivity($this->_propDict["activities"]); + return $this->_propDict["activities"]; + } + } + return null; + } + + /** + * Sets the activities + * An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required. + * + * @param ShiftActivity $val The value to assign to the activities + * + * @return ShiftItem The ShiftItem + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + /** + * Gets the displayName + * The shift label of the shiftItem. + * + * @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 + * The shift label of the shiftItem. + * + * @param string $val The value of the displayName + * + * @return ShiftItem + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the notes + * The shift notes for the shiftItem. + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * The shift notes for the shiftItem. + * + * @param string $val The value of the notes + * + * @return ShiftItem + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ShiftPreferences.php b/vendor/microsoft/microsoft-graph/src/Model/ShiftPreferences.php new file mode 100644 index 0000000..9659667 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ShiftPreferences.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["availability"]; + } else { + return null; + } + } + + /** + * Sets the availability + * Availability of the user to be scheduled for work and its recurrence pattern. + * + * @param ShiftAvailability[] $val The availability + * + * @return ShiftPreferences + */ + public function setAvailability($val) + { + $this->_propDict["availability"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SignIn.php b/vendor/microsoft/microsoft-graph/src/Model/SignIn.php new file mode 100644 index 0000000..56dfdc9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SignIn.php @@ -0,0 +1,732 @@ +_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * The application name displayed in the Azure Portal. Supports $filter (eq and startsWith operators only). + * + * @param string $val The appDisplayName + * + * @return SignIn + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the appId + * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * + * @return string|null The appId + */ + public function getAppId() + { + if (array_key_exists("appId", $this->_propDict)) { + return $this->_propDict["appId"]; + } else { + return null; + } + } + + /** + * Sets the appId + * The application identifier in Azure Active Directory. Supports $filter (eq operator only). + * + * @param string $val The appId + * + * @return SignIn + */ + public function setAppId($val) + { + $this->_propDict["appId"] = $val; + return $this; + } + + + /** + * Gets the appliedConditionalAccessPolicies + * A list of conditional access policies that are triggered by the corresponding sign-in activity. + * + * @return array|null The appliedConditionalAccessPolicies + */ + public function getAppliedConditionalAccessPolicies() + { + if (array_key_exists("appliedConditionalAccessPolicies", $this->_propDict)) { + return $this->_propDict["appliedConditionalAccessPolicies"]; + } else { + return null; + } + } + + /** + * Sets the appliedConditionalAccessPolicies + * A list of conditional access policies that are triggered by the corresponding sign-in activity. + * + * @param AppliedConditionalAccessPolicy[] $val The appliedConditionalAccessPolicies + * + * @return SignIn + */ + public function setAppliedConditionalAccessPolicies($val) + { + $this->_propDict["appliedConditionalAccessPolicies"] = $val; + return $this; + } + + /** + * Gets the clientAppUsed + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * + * @return string|null The clientAppUsed + */ + public function getClientAppUsed() + { + if (array_key_exists("clientAppUsed", $this->_propDict)) { + return $this->_propDict["clientAppUsed"]; + } else { + return null; + } + } + + /** + * Sets the clientAppUsed + * The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq operator only). + * + * @param string $val The clientAppUsed + * + * @return SignIn + */ + public function setClientAppUsed($val) + { + $this->_propDict["clientAppUsed"] = $val; + return $this; + } + + /** + * Gets the conditionalAccessStatus + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * + * @return ConditionalAccessStatus|null The conditionalAccessStatus + */ + public function getConditionalAccessStatus() + { + if (array_key_exists("conditionalAccessStatus", $this->_propDict)) { + if (is_a($this->_propDict["conditionalAccessStatus"], "\Microsoft\Graph\Model\ConditionalAccessStatus") || is_null($this->_propDict["conditionalAccessStatus"])) { + return $this->_propDict["conditionalAccessStatus"]; + } else { + $this->_propDict["conditionalAccessStatus"] = new ConditionalAccessStatus($this->_propDict["conditionalAccessStatus"]); + return $this->_propDict["conditionalAccessStatus"]; + } + } + return null; + } + + /** + * Sets the conditionalAccessStatus + * The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq operator only). + * + * @param ConditionalAccessStatus $val The conditionalAccessStatus + * + * @return SignIn + */ + public function setConditionalAccessStatus($val) + { + $this->_propDict["conditionalAccessStatus"] = $val; + return $this; + } + + /** + * Gets the correlationId + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * + * @return string|null The correlationId + */ + public function getCorrelationId() + { + if (array_key_exists("correlationId", $this->_propDict)) { + return $this->_propDict["correlationId"]; + } else { + return null; + } + } + + /** + * Sets the correlationId + * The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports $filter (eq operator only). + * + * @param string $val The correlationId + * + * @return SignIn + */ + public function setCorrelationId($val) + { + $this->_propDict["correlationId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby and $filter (eq, le, and ge operators only). + * + * @param \DateTime $val The createdDateTime + * + * @return SignIn + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the deviceDetail + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * + * @return DeviceDetail|null The deviceDetail + */ + public function getDeviceDetail() + { + if (array_key_exists("deviceDetail", $this->_propDict)) { + if (is_a($this->_propDict["deviceDetail"], "\Microsoft\Graph\Model\DeviceDetail") || is_null($this->_propDict["deviceDetail"])) { + return $this->_propDict["deviceDetail"]; + } else { + $this->_propDict["deviceDetail"] = new DeviceDetail($this->_propDict["deviceDetail"]); + return $this->_propDict["deviceDetail"]; + } + } + return null; + } + + /** + * Sets the deviceDetail + * The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq and startsWith operators only) on browser and operatingSystem properties. + * + * @param DeviceDetail $val The deviceDetail + * + * @return SignIn + */ + public function setDeviceDetail($val) + { + $this->_propDict["deviceDetail"] = $val; + return $this; + } + + /** + * Gets the ipAddress + * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * + * @return string|null The ipAddress + */ + public function getIpAddress() + { + if (array_key_exists("ipAddress", $this->_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * The IP address of the client from where the sign-in occurred. Supports $filter (eq and startsWith operators only). + * + * @param string $val The ipAddress + * + * @return SignIn + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + + /** + * Gets the isInteractive + * Indicates whether a user sign in is interactive. In interactive sign in, the user provides an authentication factor to Azure AD. These factors include passwords, responses to MFA challenges, biometric factors, or QR codes that a user provides to Azure AD or an associated app. In non-interactive sign in, the user doesn't provide an authentication factor. Instead, the client app uses a token or code to authenticate or access a resource on behalf of a user. Non-interactive sign ins are commonly used for a client to sign in on a user's behalf in a process transparent to the user. + * + * @return bool|null The isInteractive + */ + public function getIsInteractive() + { + if (array_key_exists("isInteractive", $this->_propDict)) { + return $this->_propDict["isInteractive"]; + } else { + return null; + } + } + + /** + * Sets the isInteractive + * Indicates whether a user sign in is interactive. In interactive sign in, the user provides an authentication factor to Azure AD. These factors include passwords, responses to MFA challenges, biometric factors, or QR codes that a user provides to Azure AD or an associated app. In non-interactive sign in, the user doesn't provide an authentication factor. Instead, the client app uses a token or code to authenticate or access a resource on behalf of a user. Non-interactive sign ins are commonly used for a client to sign in on a user's behalf in a process transparent to the user. + * + * @param bool $val The isInteractive + * + * @return SignIn + */ + public function setIsInteractive($val) + { + $this->_propDict["isInteractive"] = boolval($val); + return $this; + } + + /** + * Gets the location + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * + * @return SignInLocation|null The location + */ + public function getLocation() + { + if (array_key_exists("location", $this->_propDict)) { + if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\SignInLocation") || is_null($this->_propDict["location"])) { + return $this->_propDict["location"]; + } else { + $this->_propDict["location"] = new SignInLocation($this->_propDict["location"]); + return $this->_propDict["location"]; + } + } + return null; + } + + /** + * Sets the location + * The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq and startsWith operators only) on city, state, and countryOrRegion properties. + * + * @param SignInLocation $val The location + * + * @return SignIn + */ + public function setLocation($val) + { + $this->_propDict["location"] = $val; + return $this; + } + + /** + * Gets the resourceDisplayName + * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @return string|null The resourceDisplayName + */ + public function getResourceDisplayName() + { + if (array_key_exists("resourceDisplayName", $this->_propDict)) { + return $this->_propDict["resourceDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the resourceDisplayName + * The name of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @param string $val The resourceDisplayName + * + * @return SignIn + */ + public function setResourceDisplayName($val) + { + $this->_propDict["resourceDisplayName"] = $val; + return $this; + } + + /** + * Gets the resourceId + * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * The identifier of the resource that the user signed in to. Supports $filter (eq operator only). + * + * @param string $val The resourceId + * + * @return SignIn + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } + + /** + * Gets the riskDetail + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @return RiskDetail|null The riskDetail + */ + public function getRiskDetail() + { + if (array_key_exists("riskDetail", $this->_propDict)) { + if (is_a($this->_propDict["riskDetail"], "\Microsoft\Graph\Model\RiskDetail") || is_null($this->_propDict["riskDetail"])) { + return $this->_propDict["riskDetail"]; + } else { + $this->_propDict["riskDetail"] = new RiskDetail($this->_propDict["riskDetail"]); + return $this->_propDict["riskDetail"]; + } + } + return null; + } + + /** + * Sets the riskDetail + * The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @param RiskDetail $val The riskDetail + * + * @return SignIn + */ + public function setRiskDetail($val) + { + $this->_propDict["riskDetail"] = $val; + return $this; + } + + + /** + * Gets the riskEventTypes + * Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue. Supports $filter (eq operator only). + * + * @return array|null The riskEventTypes + */ + public function getRiskEventTypes() + { + if (array_key_exists("riskEventTypes", $this->_propDict)) { + return $this->_propDict["riskEventTypes"]; + } else { + return null; + } + } + + /** + * Sets the riskEventTypes + * Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue. Supports $filter (eq operator only). + * + * @param RiskEventType[] $val The riskEventTypes + * + * @return SignIn + */ + public function setRiskEventTypes($val) + { + $this->_propDict["riskEventTypes"] = $val; + return $this; + } + + /** + * Gets the riskEventTypesV2 + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * + * @return string|null The riskEventTypesV2 + */ + public function getRiskEventTypesV2() + { + if (array_key_exists("riskEventTypesV2", $this->_propDict)) { + return $this->_propDict["riskEventTypesV2"]; + } else { + return null; + } + } + + /** + * Sets the riskEventTypesV2 + * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq and startsWith operators only). + * + * @param string $val The riskEventTypesV2 + * + * @return SignIn + */ + public function setRiskEventTypesV2($val) + { + $this->_propDict["riskEventTypes_v2"] = $val; + return $this; + } + + /** + * Gets the riskLevelAggregated + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @return RiskLevel|null The riskLevelAggregated + */ + public function getRiskLevelAggregated() + { + if (array_key_exists("riskLevelAggregated", $this->_propDict)) { + if (is_a($this->_propDict["riskLevelAggregated"], "\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevelAggregated"])) { + return $this->_propDict["riskLevelAggregated"]; + } else { + $this->_propDict["riskLevelAggregated"] = new RiskLevel($this->_propDict["riskLevelAggregated"]); + return $this->_propDict["riskLevelAggregated"]; + } + } + return null; + } + + /** + * Sets the riskLevelAggregated + * The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @param RiskLevel $val The riskLevelAggregated + * + * @return SignIn + */ + public function setRiskLevelAggregated($val) + { + $this->_propDict["riskLevelAggregated"] = $val; + return $this; + } + + /** + * Gets the riskLevelDuringSignIn + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @return RiskLevel|null The riskLevelDuringSignIn + */ + public function getRiskLevelDuringSignIn() + { + if (array_key_exists("riskLevelDuringSignIn", $this->_propDict)) { + if (is_a($this->_propDict["riskLevelDuringSignIn"], "\Microsoft\Graph\Model\RiskLevel") || is_null($this->_propDict["riskLevelDuringSignIn"])) { + return $this->_propDict["riskLevelDuringSignIn"]; + } else { + $this->_propDict["riskLevelDuringSignIn"] = new RiskLevel($this->_propDict["riskLevelDuringSignIn"]); + return $this->_propDict["riskLevelDuringSignIn"]; + } + } + return null; + } + + /** + * Sets the riskLevelDuringSignIn + * The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq operator only). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. + * + * @param RiskLevel $val The riskLevelDuringSignIn + * + * @return SignIn + */ + public function setRiskLevelDuringSignIn($val) + { + $this->_propDict["riskLevelDuringSignIn"] = $val; + return $this; + } + + /** + * Gets the riskState + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * + * @return RiskState|null The riskState + */ + public function getRiskState() + { + if (array_key_exists("riskState", $this->_propDict)) { + if (is_a($this->_propDict["riskState"], "\Microsoft\Graph\Model\RiskState") || is_null($this->_propDict["riskState"])) { + return $this->_propDict["riskState"]; + } else { + $this->_propDict["riskState"] = new RiskState($this->_propDict["riskState"]); + return $this->_propDict["riskState"]; + } + } + return null; + } + + /** + * Sets the riskState + * The risk state of a risky user, sign-in, or a risk event. Possible values: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, or unknownFutureValue. Supports $filter (eq operator only). + * + * @param RiskState $val The riskState + * + * @return SignIn + */ + public function setRiskState($val) + { + $this->_propDict["riskState"] = $val; + return $this; + } + + /** + * Gets the status + * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * + * @return SignInStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SignInStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SignInStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq operator only) on errorCode property. + * + * @param SignInStatus $val The status + * + * @return SignIn + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userDisplayName + * The display name of the user. Supports $filter (eq and startsWith operators only). + * + * @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 + * The display name of the user. Supports $filter (eq and startsWith operators only). + * + * @param string $val The userDisplayName + * + * @return SignIn + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userId + * The identifier of the user. Supports $filter (eq operator only). + * + * @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 + * The identifier of the user. Supports $filter (eq operator only). + * + * @param string $val The userId + * + * @return SignIn + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The UPN of the user. Supports $filter (eq and startsWith operators only). + * + * @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 + * The UPN of the user. Supports $filter (eq and startsWith operators only). + * + * @param string $val The userPrincipalName + * + * @return SignIn + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SignInFrequencySessionControl.php b/vendor/microsoft/microsoft-graph/src/Model/SignInFrequencySessionControl.php new file mode 100644 index 0000000..870a128 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SignInFrequencySessionControl.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\SigninFrequencyType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new SigninFrequencyType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Possible values are: days, hours. + * + * @param SigninFrequencyType $val The value to assign to the type + * + * @return SignInFrequencySessionControl The SignInFrequencySessionControl + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the value + * The number of days or hours. + * + * @return int|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The number of days or hours. + * + * @param int $val The value of the value + * + * @return SignInFrequencySessionControl + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SignInLocation.php b/vendor/microsoft/microsoft-graph/src/Model/SignInLocation.php new file mode 100644 index 0000000..7c7f639 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SignInLocation.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * Provides the city where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @param string $val The value of the city + * + * @return SignInLocation + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + /** + * Gets the countryOrRegion + * Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @param string $val The value of the countryOrRegion + * + * @return SignInLocation + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + + /** + * Gets the geoCoordinates + * Provides the latitude, longitude and altitude where the sign-in originated. + * + * @return GeoCoordinates|null The geoCoordinates + */ + public function getGeoCoordinates() + { + if (array_key_exists("geoCoordinates", $this->_propDict)) { + if (is_a($this->_propDict["geoCoordinates"], "\Microsoft\Graph\Model\GeoCoordinates") || is_null($this->_propDict["geoCoordinates"])) { + return $this->_propDict["geoCoordinates"]; + } else { + $this->_propDict["geoCoordinates"] = new GeoCoordinates($this->_propDict["geoCoordinates"]); + return $this->_propDict["geoCoordinates"]; + } + } + return null; + } + + /** + * Sets the geoCoordinates + * Provides the latitude, longitude and altitude where the sign-in originated. + * + * @param GeoCoordinates $val The value to assign to the geoCoordinates + * + * @return SignInLocation The SignInLocation + */ + public function setGeoCoordinates($val) + { + $this->_propDict["geoCoordinates"] = $val; + return $this; + } + /** + * Gets the state + * Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * Provides the State where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. + * + * @param string $val The value of the state + * + * @return SignInLocation + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SignInStatus.php b/vendor/microsoft/microsoft-graph/src/Model/SignInStatus.php new file mode 100644 index 0000000..cffd951 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SignInStatus.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["additionalDetails"]; + } else { + return null; + } + } + + /** + * Sets the additionalDetails + * Provides additional details on the sign-in activity + * + * @param string $val The value of the additionalDetails + * + * @return SignInStatus + */ + public function setAdditionalDetails($val) + { + $this->_propDict["additionalDetails"] = $val; + return $this; + } + /** + * Gets the errorCode + * Provides the 5-6 digit error code that's generated during a sign-in failure. Check out the list of error codes and messages. + * + * @return int|null The errorCode + */ + public function getErrorCode() + { + if (array_key_exists("errorCode", $this->_propDict)) { + return $this->_propDict["errorCode"]; + } else { + return null; + } + } + + /** + * Sets the errorCode + * Provides the 5-6 digit error code that's generated during a sign-in failure. Check out the list of error codes and messages. + * + * @param int $val The value of the errorCode + * + * @return SignInStatus + */ + public function setErrorCode($val) + { + $this->_propDict["errorCode"] = $val; + return $this; + } + /** + * Gets the failureReason + * Provides the error message or the reason for failure for the corresponding sign-in activity. Check out the list of error codes and messages. + * + * @return string|null The failureReason + */ + public function getFailureReason() + { + if (array_key_exists("failureReason", $this->_propDict)) { + return $this->_propDict["failureReason"]; + } else { + return null; + } + } + + /** + * Sets the failureReason + * Provides the error message or the reason for failure for the corresponding sign-in activity. Check out the list of error codes and messages. + * + * @param string $val The value of the failureReason + * + * @return SignInStatus + */ + public function setFailureReason($val) + { + $this->_propDict["failureReason"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SigninFrequencyType.php b/vendor/microsoft/microsoft-graph/src/Model/SigninFrequencyType.php new file mode 100644 index 0000000..20f2102 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SigninFrequencyType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["certificateUpdateResult"]; + } else { + return null; + } + } + + /** + * Sets the certificateUpdateResult + * Status of the last certificate update. Read-only. For a list of statuses, see certificateUpdateResult status. + * + * @param string $val The value of the certificateUpdateResult + * + * @return SigningCertificateUpdateStatus + */ + public function setCertificateUpdateResult($val) + { + $this->_propDict["certificateUpdateResult"] = $val; + return $this; + } + + /** + * Gets the lastRunDateTime + * Date and time in ISO 8601 format and in UTC time when the certificate was last updated. Read-only. + * + * @return \DateTime|null The lastRunDateTime + */ + public function getLastRunDateTime() + { + if (array_key_exists("lastRunDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastRunDateTime"], "\DateTime") || is_null($this->_propDict["lastRunDateTime"])) { + return $this->_propDict["lastRunDateTime"]; + } else { + $this->_propDict["lastRunDateTime"] = new \DateTime($this->_propDict["lastRunDateTime"]); + return $this->_propDict["lastRunDateTime"]; + } + } + return null; + } + + /** + * Sets the lastRunDateTime + * Date and time in ISO 8601 format and in UTC time when the certificate was last updated. Read-only. + * + * @param \DateTime $val The value to assign to the lastRunDateTime + * + * @return SigningCertificateUpdateStatus The SigningCertificateUpdateStatus + */ + public function setLastRunDateTime($val) + { + $this->_propDict["lastRunDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SingleServicePrincipal.php b/vendor/microsoft/microsoft-graph/src/Model/SingleServicePrincipal.php new file mode 100644 index 0000000..80c1c09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SingleServicePrincipal.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.singleServicePrincipal"); + } + + /** + * Gets the description + * Description of this service principal. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description of this service principal. + * + * @param string $val The value of the description + * + * @return SingleServicePrincipal + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the servicePrincipalId + * ID of the servicePrincipal. + * + * @return string|null The servicePrincipalId + */ + public function getServicePrincipalId() + { + if (array_key_exists("servicePrincipalId", $this->_propDict)) { + return $this->_propDict["servicePrincipalId"]; + } else { + return null; + } + } + + /** + * Sets the servicePrincipalId + * ID of the servicePrincipal. + * + * @param string $val The value of the servicePrincipalId + * + * @return SingleServicePrincipal + */ + public function setServicePrincipalId($val) + { + $this->_propDict["servicePrincipalId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SingleUser.php b/vendor/microsoft/microsoft-graph/src/Model/SingleUser.php new file mode 100644 index 0000000..0ccb46b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SingleUser.php @@ -0,0 +1,93 @@ +setODataType("#microsoft.graph.singleUser"); + } + + /** + * Gets the description + * The name of the user in Azure AD. Read only. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The name of the user in Azure AD. Read only. + * + * @param string $val The value of the description + * + * @return SingleUser + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the userId + * The ID of the user in Azure AD. + * + * @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 + * The ID of the user in Azure AD. + * + * @param string $val The value of the userId + * + * @return SingleUser + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SingleValueLegacyExtendedProperty.php b/vendor/microsoft/microsoft-graph/src/Model/SingleValueLegacyExtendedProperty.php new file mode 100644 index 0000000..85a6f0a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SingleValueLegacyExtendedProperty.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * A property value. + * + * @param string $val The value + * + * @return SingleValueLegacyExtendedProperty + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Site.php b/vendor/microsoft/microsoft-graph/src/Model/Site.php new file mode 100644 index 0000000..b5ca261 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Site.php @@ -0,0 +1,618 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The full title for the site. Read-only. + * + * @param string $val The displayName + * + * @return Site + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the error + * + * @return PublicError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * + * @param PublicError $val The error + * + * @return Site + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the root + * If present, indicates that this is the root site in the site collection. Read-only. + * + * @return Root|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new Root($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * If present, indicates that this is the root site in the site collection. Read-only. + * + * @param Root $val The root + * + * @return Site + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } + + /** + * Gets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @return SharepointIds|null The sharepointIds + */ + public function getSharepointIds() + { + if (array_key_exists("sharepointIds", $this->_propDict)) { + if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\SharepointIds") || is_null($this->_propDict["sharepointIds"])) { + return $this->_propDict["sharepointIds"]; + } else { + $this->_propDict["sharepointIds"] = new SharepointIds($this->_propDict["sharepointIds"]); + return $this->_propDict["sharepointIds"]; + } + } + return null; + } + + /** + * Sets the sharepointIds + * Returns identifiers useful for SharePoint REST compatibility. Read-only. + * + * @param SharepointIds $val The sharepointIds + * + * @return Site + */ + public function setSharepointIds($val) + { + $this->_propDict["sharepointIds"] = $val; + return $this; + } + + /** + * Gets the siteCollection + * Provides details about the site's site collection. Available only on the root site. Read-only. + * + * @return SiteCollection|null The siteCollection + */ + public function getSiteCollection() + { + if (array_key_exists("siteCollection", $this->_propDict)) { + if (is_a($this->_propDict["siteCollection"], "\Microsoft\Graph\Model\SiteCollection") || is_null($this->_propDict["siteCollection"])) { + return $this->_propDict["siteCollection"]; + } else { + $this->_propDict["siteCollection"] = new SiteCollection($this->_propDict["siteCollection"]); + return $this->_propDict["siteCollection"]; + } + } + return null; + } + + /** + * Sets the siteCollection + * Provides details about the site's site collection. Available only on the root site. Read-only. + * + * @param SiteCollection $val The siteCollection + * + * @return Site + */ + public function setSiteCollection($val) + { + $this->_propDict["siteCollection"] = $val; + return $this; + } + + /** + * Gets the analytics + * Analytics about the view activities that took place in this site. + * + * @return ItemAnalytics|null The analytics + */ + public function getAnalytics() + { + if (array_key_exists("analytics", $this->_propDict)) { + if (is_a($this->_propDict["analytics"], "\Microsoft\Graph\Model\ItemAnalytics") || is_null($this->_propDict["analytics"])) { + return $this->_propDict["analytics"]; + } else { + $this->_propDict["analytics"] = new ItemAnalytics($this->_propDict["analytics"]); + return $this->_propDict["analytics"]; + } + } + return null; + } + + /** + * Sets the analytics + * Analytics about the view activities that took place in this site. + * + * @param ItemAnalytics $val The analytics + * + * @return Site + */ + public function setAnalytics($val) + { + $this->_propDict["analytics"] = $val; + return $this; + } + + + /** + * Gets the columns + * The collection of column definitions reusable across lists under this site. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * The collection of column definitions reusable across lists under this site. + * + * @param ColumnDefinition[] $val The columns + * + * @return Site + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + + /** + * Gets the contentTypes + * The collection of content types defined for this site. + * + * @return array|null The contentTypes + */ + public function getContentTypes() + { + if (array_key_exists("contentTypes", $this->_propDict)) { + return $this->_propDict["contentTypes"]; + } else { + return null; + } + } + + /** + * Sets the contentTypes + * The collection of content types defined for this site. + * + * @param ContentType[] $val The contentTypes + * + * @return Site + */ + public function setContentTypes($val) + { + $this->_propDict["contentTypes"] = $val; + return $this; + } + + /** + * Gets the drive + * The default drive (document library) for this site. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * The default drive (document library) for this site. + * + * @param Drive $val The drive + * + * @return Site + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the drives + * The collection of drives (document libraries) under this site. + * + * @return array|null The drives + */ + public function getDrives() + { + if (array_key_exists("drives", $this->_propDict)) { + return $this->_propDict["drives"]; + } else { + return null; + } + } + + /** + * Sets the drives + * The collection of drives (document libraries) under this site. + * + * @param Drive[] $val The drives + * + * @return Site + */ + public function setDrives($val) + { + $this->_propDict["drives"] = $val; + return $this; + } + + + /** + * Gets the externalColumns + * The collection of column definitions available in the site that are referenced from the sites in the parent hierarchy of the current site. + * + * @return array|null The externalColumns + */ + public function getExternalColumns() + { + if (array_key_exists("externalColumns", $this->_propDict)) { + return $this->_propDict["externalColumns"]; + } else { + return null; + } + } + + /** + * Sets the externalColumns + * The collection of column definitions available in the site that are referenced from the sites in the parent hierarchy of the current site. + * + * @param ColumnDefinition[] $val The externalColumns + * + * @return Site + */ + public function setExternalColumns($val) + { + $this->_propDict["externalColumns"] = $val; + return $this; + } + + + /** + * Gets the items + * Used to address any item contained in this site. This collection cannot be enumerated. + * + * @return array|null The items + */ + public function getItems() + { + if (array_key_exists("items", $this->_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * Used to address any item contained in this site. This collection cannot be enumerated. + * + * @param BaseItem[] $val The items + * + * @return Site + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + + + /** + * Gets the lists + * The collection of lists under this site. + * + * @return array|null The lists + */ + public function getLists() + { + if (array_key_exists("lists", $this->_propDict)) { + return $this->_propDict["lists"]; + } else { + return null; + } + } + + /** + * Sets the lists + * The collection of lists under this site. + * + * @param GraphList[] $val The lists + * + * @return Site + */ + public function setLists($val) + { + $this->_propDict["lists"] = $val; + return $this; + } + + + /** + * Gets the operations + * The collection of long running operations for the site. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The collection of long running operations for the site. + * + * @param RichLongRunningOperation[] $val The operations + * + * @return Site + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the permissions + * The permissions associated with the site. Nullable. + * + * @return array|null The permissions + */ + public function getPermissions() + { + if (array_key_exists("permissions", $this->_propDict)) { + return $this->_propDict["permissions"]; + } else { + return null; + } + } + + /** + * Sets the permissions + * The permissions associated with the site. Nullable. + * + * @param Permission[] $val The permissions + * + * @return Site + */ + public function setPermissions($val) + { + $this->_propDict["permissions"] = $val; + return $this; + } + + + /** + * Gets the sites + * The collection of the sub-sites under this site. + * + * @return array|null The sites + */ + public function getSites() + { + if (array_key_exists("sites", $this->_propDict)) { + return $this->_propDict["sites"]; + } else { + return null; + } + } + + /** + * Sets the sites + * The collection of the sub-sites under this site. + * + * @param Site[] $val The sites + * + * @return Site + */ + public function setSites($val) + { + $this->_propDict["sites"] = $val; + return $this; + } + + /** + * Gets the termStore + * The termStore under this site. + * + * @return \Microsoft\Graph\TermStore\Model\Store|null The termStore + */ + public function getTermStore() + { + if (array_key_exists("termStore", $this->_propDict)) { + if (is_a($this->_propDict["termStore"], "\Microsoft\Graph\TermStore\Model\Store") || is_null($this->_propDict["termStore"])) { + return $this->_propDict["termStore"]; + } else { + $this->_propDict["termStore"] = new \Microsoft\Graph\TermStore\Model\Store($this->_propDict["termStore"]); + return $this->_propDict["termStore"]; + } + } + return null; + } + + /** + * Sets the termStore + * The termStore under this site. + * + * @param \Microsoft\Graph\TermStore\Model\Store $val The termStore + * + * @return Site + */ + public function setTermStore($val) + { + $this->_propDict["termStore"] = $val; + return $this; + } + + + /** + * Gets the termStores + * The collection of termStores under this site. + * + * @return array|null The termStores + */ + public function getTermStores() + { + if (array_key_exists("termStores", $this->_propDict)) { + return $this->_propDict["termStores"]; + } else { + return null; + } + } + + /** + * Sets the termStores + * The collection of termStores under this site. + * + * @param \Microsoft\Graph\TermStore\Model\Store[] $val The termStores + * + * @return Site + */ + public function setTermStores($val) + { + $this->_propDict["termStores"] = $val; + return $this; + } + + /** + * Gets the onenote + * Calls the OneNote service for notebook related operations. + * + * @return Onenote|null The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "\Microsoft\Graph\Model\Onenote") || is_null($this->_propDict["onenote"])) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Calls the OneNote service for notebook related operations. + * + * @param Onenote $val The onenote + * + * @return Site + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SiteCollection.php b/vendor/microsoft/microsoft-graph/src/Model/SiteCollection.php new file mode 100644 index 0000000..61176bb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SiteCollection.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["dataLocationCode"]; + } else { + return null; + } + } + + /** + * Sets the dataLocationCode + * The geographic region code for where this site collection resides. Read-only. + * + * @param string $val The value of the dataLocationCode + * + * @return SiteCollection + */ + public function setDataLocationCode($val) + { + $this->_propDict["dataLocationCode"] = $val; + return $this; + } + /** + * Gets the hostname + * The hostname for the site collection. Read-only. + * + * @return string|null The hostname + */ + public function getHostname() + { + if (array_key_exists("hostname", $this->_propDict)) { + return $this->_propDict["hostname"]; + } else { + return null; + } + } + + /** + * Sets the hostname + * The hostname for the site collection. Read-only. + * + * @param string $val The value of the hostname + * + * @return SiteCollection + */ + public function setHostname($val) + { + $this->_propDict["hostname"] = $val; + return $this; + } + + /** + * Gets the root + * If present, indicates that this is a root site collection in SharePoint. Read-only. + * + * @return Root|null The root + */ + public function getRoot() + { + if (array_key_exists("root", $this->_propDict)) { + if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\Root") || is_null($this->_propDict["root"])) { + return $this->_propDict["root"]; + } else { + $this->_propDict["root"] = new Root($this->_propDict["root"]); + return $this->_propDict["root"]; + } + } + return null; + } + + /** + * Sets the root + * If present, indicates that this is a root site collection in SharePoint. Read-only. + * + * @param Root $val The value to assign to the root + * + * @return SiteCollection The SiteCollection + */ + public function setRoot($val) + { + $this->_propDict["root"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SiteSecurityLevel.php b/vendor/microsoft/microsoft-graph/src/Model/SiteSecurityLevel.php new file mode 100644 index 0000000..edb403a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SiteSecurityLevel.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["maximumSize"]; + } else { + return null; + } + } + + /** + * Sets the maximumSize + * The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + * + * @param int $val The value of the maximumSize + * + * @return SizeRange + */ + public function setMaximumSize($val) + { + $this->_propDict["maximumSize"] = $val; + return $this; + } + /** + * Gets the minimumSize + * The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + * + * @return int|null The minimumSize + */ + public function getMinimumSize() + { + if (array_key_exists("minimumSize", $this->_propDict)) { + return $this->_propDict["minimumSize"]; + } else { + return null; + } + } + + /** + * Sets the minimumSize + * The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply. + * + * @param int $val The value of the minimumSize + * + * @return SizeRange + */ + public function setMinimumSize($val) + { + $this->_propDict["minimumSize"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SocialIdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Model/SocialIdentityProvider.php new file mode 100644 index 0000000..7ae96a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SocialIdentityProvider.php @@ -0,0 +1,114 @@ +_propDict)) { + return $this->_propDict["clientId"]; + } else { + return null; + } + } + + /** + * Sets the clientId + * The client identifier for the application obtained when registering the application with the identity provider. Required. + * + * @param string $val The clientId + * + * @return SocialIdentityProvider + */ + public function setClientId($val) + { + $this->_propDict["clientId"] = $val; + return $this; + } + + /** + * Gets the clientSecret + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * + * @return string|null The clientSecret + */ + public function getClientSecret() + { + if (array_key_exists("clientSecret", $this->_propDict)) { + return $this->_propDict["clientSecret"]; + } else { + return null; + } + } + + /** + * Sets the clientSecret + * The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required. + * + * @param string $val The clientSecret + * + * @return SocialIdentityProvider + */ + public function setClientSecret($val) + { + $this->_propDict["clientSecret"] = $val; + return $this; + } + + /** + * Gets the identityProviderType + * For a B2B scenario, possible values: Google, Facebook. For a B2C scenario, possible values: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat. Required. + * + * @return string|null The identityProviderType + */ + public function getIdentityProviderType() + { + if (array_key_exists("identityProviderType", $this->_propDict)) { + return $this->_propDict["identityProviderType"]; + } else { + return null; + } + } + + /** + * Sets the identityProviderType + * For a B2B scenario, possible values: Google, Facebook. For a B2C scenario, possible values: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat. Required. + * + * @param string $val The identityProviderType + * + * @return SocialIdentityProvider + */ + public function setIdentityProviderType($val) + { + $this->_propDict["identityProviderType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SoftwareUpdateStatusSummary.php b/vendor/microsoft/microsoft-graph/src/Model/SoftwareUpdateStatusSummary.php new file mode 100644 index 0000000..2f62a54 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SoftwareUpdateStatusSummary.php @@ -0,0 +1,462 @@ +_propDict)) { + return $this->_propDict["compliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantDeviceCount + * Number of compliant devices. + * + * @param int $val The compliantDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setCompliantDeviceCount($val) + { + $this->_propDict["compliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the compliantUserCount + * Number of compliant users. + * + * @return int|null The compliantUserCount + */ + public function getCompliantUserCount() + { + if (array_key_exists("compliantUserCount", $this->_propDict)) { + return $this->_propDict["compliantUserCount"]; + } else { + return null; + } + } + + /** + * Sets the compliantUserCount + * Number of compliant users. + * + * @param int $val The compliantUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setCompliantUserCount($val) + { + $this->_propDict["compliantUserCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictDeviceCount + * Number of conflict devices. + * + * @return int|null The conflictDeviceCount + */ + public function getConflictDeviceCount() + { + if (array_key_exists("conflictDeviceCount", $this->_propDict)) { + return $this->_propDict["conflictDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictDeviceCount + * Number of conflict devices. + * + * @param int $val The conflictDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setConflictDeviceCount($val) + { + $this->_propDict["conflictDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the conflictUserCount + * Number of conflict users. + * + * @return int|null The conflictUserCount + */ + public function getConflictUserCount() + { + if (array_key_exists("conflictUserCount", $this->_propDict)) { + return $this->_propDict["conflictUserCount"]; + } else { + return null; + } + } + + /** + * Sets the conflictUserCount + * Number of conflict users. + * + * @param int $val The conflictUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setConflictUserCount($val) + { + $this->_propDict["conflictUserCount"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * The name of the policy. + * + * @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 + * The name of the policy. + * + * @param string $val The displayName + * + * @return SoftwareUpdateStatusSummary + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the errorDeviceCount + * Number of devices had error. + * + * @return int|null The errorDeviceCount + */ + public function getErrorDeviceCount() + { + if (array_key_exists("errorDeviceCount", $this->_propDict)) { + return $this->_propDict["errorDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the errorDeviceCount + * Number of devices had error. + * + * @param int $val The errorDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setErrorDeviceCount($val) + { + $this->_propDict["errorDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the errorUserCount + * Number of users had error. + * + * @return int|null The errorUserCount + */ + public function getErrorUserCount() + { + if (array_key_exists("errorUserCount", $this->_propDict)) { + return $this->_propDict["errorUserCount"]; + } else { + return null; + } + } + + /** + * Sets the errorUserCount + * Number of users had error. + * + * @param int $val The errorUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setErrorUserCount($val) + { + $this->_propDict["errorUserCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantDeviceCount + * Number of non compliant devices. + * + * @return int|null The nonCompliantDeviceCount + */ + public function getNonCompliantDeviceCount() + { + if (array_key_exists("nonCompliantDeviceCount", $this->_propDict)) { + return $this->_propDict["nonCompliantDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantDeviceCount + * Number of non compliant devices. + * + * @param int $val The nonCompliantDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNonCompliantDeviceCount($val) + { + $this->_propDict["nonCompliantDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the nonCompliantUserCount + * Number of non compliant users. + * + * @return int|null The nonCompliantUserCount + */ + public function getNonCompliantUserCount() + { + if (array_key_exists("nonCompliantUserCount", $this->_propDict)) { + return $this->_propDict["nonCompliantUserCount"]; + } else { + return null; + } + } + + /** + * Sets the nonCompliantUserCount + * Number of non compliant users. + * + * @param int $val The nonCompliantUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNonCompliantUserCount($val) + { + $this->_propDict["nonCompliantUserCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableDeviceCount + * Number of not applicable devices. + * + * @return int|null The notApplicableDeviceCount + */ + public function getNotApplicableDeviceCount() + { + if (array_key_exists("notApplicableDeviceCount", $this->_propDict)) { + return $this->_propDict["notApplicableDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableDeviceCount + * Number of not applicable devices. + * + * @param int $val The notApplicableDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNotApplicableDeviceCount($val) + { + $this->_propDict["notApplicableDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notApplicableUserCount + * Number of not applicable users. + * + * @return int|null The notApplicableUserCount + */ + public function getNotApplicableUserCount() + { + if (array_key_exists("notApplicableUserCount", $this->_propDict)) { + return $this->_propDict["notApplicableUserCount"]; + } else { + return null; + } + } + + /** + * Sets the notApplicableUserCount + * Number of not applicable users. + * + * @param int $val The notApplicableUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setNotApplicableUserCount($val) + { + $this->_propDict["notApplicableUserCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedDeviceCount + * Number of remediated devices. + * + * @return int|null The remediatedDeviceCount + */ + public function getRemediatedDeviceCount() + { + if (array_key_exists("remediatedDeviceCount", $this->_propDict)) { + return $this->_propDict["remediatedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedDeviceCount + * Number of remediated devices. + * + * @param int $val The remediatedDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setRemediatedDeviceCount($val) + { + $this->_propDict["remediatedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the remediatedUserCount + * Number of remediated users. + * + * @return int|null The remediatedUserCount + */ + public function getRemediatedUserCount() + { + if (array_key_exists("remediatedUserCount", $this->_propDict)) { + return $this->_propDict["remediatedUserCount"]; + } else { + return null; + } + } + + /** + * Sets the remediatedUserCount + * Number of remediated users. + * + * @param int $val The remediatedUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setRemediatedUserCount($val) + { + $this->_propDict["remediatedUserCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownDeviceCount + * Number of unknown devices. + * + * @return int|null The unknownDeviceCount + */ + public function getUnknownDeviceCount() + { + if (array_key_exists("unknownDeviceCount", $this->_propDict)) { + return $this->_propDict["unknownDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownDeviceCount + * Number of unknown devices. + * + * @param int $val The unknownDeviceCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setUnknownDeviceCount($val) + { + $this->_propDict["unknownDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the unknownUserCount + * Number of unknown users. + * + * @return int|null The unknownUserCount + */ + public function getUnknownUserCount() + { + if (array_key_exists("unknownUserCount", $this->_propDict)) { + return $this->_propDict["unknownUserCount"]; + } else { + return null; + } + } + + /** + * Sets the unknownUserCount + * Number of unknown users. + * + * @param int $val The unknownUserCount + * + * @return SoftwareUpdateStatusSummary + */ + public function setUnknownUserCount($val) + { + $this->_propDict["unknownUserCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SolutionsRoot.php b/vendor/microsoft/microsoft-graph/src/Model/SolutionsRoot.php new file mode 100644 index 0000000..8a4ad9d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SolutionsRoot.php @@ -0,0 +1,160 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the SolutionsRoot + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + + /** + * Gets the bookingBusinesses + * + * @return array|null The bookingBusinesses + */ + public function getBookingBusinesses() + { + if (array_key_exists("bookingBusinesses", $this->_propDict)) { + return $this->_propDict["bookingBusinesses"]; + } else { + return null; + } + } + + /** + * Sets the bookingBusinesses + * + * @param BookingBusiness[] $val The bookingBusinesses + * + * @return SolutionsRoot + */ + public function setBookingBusinesses($val) + { + $this->_propDict["bookingBusinesses"] = $val; + return $this; + } + + + /** + * Gets the bookingCurrencies + * + * @return array|null The bookingCurrencies + */ + public function getBookingCurrencies() + { + if (array_key_exists("bookingCurrencies", $this->_propDict)) { + return $this->_propDict["bookingCurrencies"]; + } else { + return null; + } + } + + /** + * Sets the bookingCurrencies + * + * @param BookingCurrency[] $val The bookingCurrencies + * + * @return SolutionsRoot + */ + public function setBookingCurrencies($val) + { + $this->_propDict["bookingCurrencies"] = $val; + 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 SolutionsRoot + */ + 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 + */ + public function jsonSerialize(): array + { + $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(); + } + } + return $serializableProperties; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SortProperty.php b/vendor/microsoft/microsoft-graph/src/Model/SortProperty.php new file mode 100644 index 0000000..e2c777d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SortProperty.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isDescending"]; + } else { + return null; + } + } + + /** + * Sets the isDescending + * True if the sort order is descending. Default is false, with the sort order as ascending. Optional. + * + * @param bool $val The value of the isDescending + * + * @return SortProperty + */ + public function setIsDescending($val) + { + $this->_propDict["isDescending"] = $val; + return $this; + } + /** + * Gets the name + * The name of the property to sort on. Required. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the property to sort on. Required. + * + * @param string $val The value of the name + * + * @return SortProperty + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SpaApplication.php b/vendor/microsoft/microsoft-graph/src/Model/SpaApplication.php new file mode 100644 index 0000000..443e90d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SpaApplication.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @param string $val The value of the redirectUris + * + * @return SpaApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SpecialFolder.php b/vendor/microsoft/microsoft-graph/src/Model/SpecialFolder.php new file mode 100644 index 0000000..6dc2b38 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SpecialFolder.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The unique identifier for this item in the /drive/special collection + * + * @param string $val The value of the name + * + * @return SpecialFolder + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/StagedFeatureName.php b/vendor/microsoft/microsoft-graph/src/Model/StagedFeatureName.php new file mode 100644 index 0000000..9c5f90b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/StagedFeatureName.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["dayOccurrence"]; + } else { + return null; + } + } + + /** + * Sets the dayOccurrence + * Represents the nth occurrence of the day of week that the transition from daylight saving time to standard time occurs. + * + * @param int $val The value of the dayOccurrence + * + * @return StandardTimeZoneOffset + */ + public function setDayOccurrence($val) + { + $this->_propDict["dayOccurrence"] = $val; + return $this; + } + + /** + * Gets the dayOfWeek + * Represents the day of the week when the transition from daylight saving time to standard time. + * + * @return DayOfWeek|null The dayOfWeek + */ + public function getDayOfWeek() + { + if (array_key_exists("dayOfWeek", $this->_propDict)) { + if (is_a($this->_propDict["dayOfWeek"], "\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["dayOfWeek"])) { + return $this->_propDict["dayOfWeek"]; + } else { + $this->_propDict["dayOfWeek"] = new DayOfWeek($this->_propDict["dayOfWeek"]); + return $this->_propDict["dayOfWeek"]; + } + } + return null; + } + + /** + * Sets the dayOfWeek + * Represents the day of the week when the transition from daylight saving time to standard time. + * + * @param DayOfWeek $val The value to assign to the dayOfWeek + * + * @return StandardTimeZoneOffset The StandardTimeZoneOffset + */ + public function setDayOfWeek($val) + { + $this->_propDict["dayOfWeek"] = $val; + return $this; + } + /** + * Gets the month + * Represents the month of the year when the transition from daylight saving time to standard time occurs. + * + * @return int|null The month + */ + public function getMonth() + { + if (array_key_exists("month", $this->_propDict)) { + return $this->_propDict["month"]; + } else { + return null; + } + } + + /** + * Sets the month + * Represents the month of the year when the transition from daylight saving time to standard time occurs. + * + * @param int $val The value of the month + * + * @return StandardTimeZoneOffset + */ + public function setMonth($val) + { + $this->_propDict["month"] = $val; + return $this; + } + + /** + * Gets the time + * Represents the time of day when the transition from daylight saving time to standard time occurs. + * + * @return TimeOfDay|null The time + */ + public function getTime() + { + if (array_key_exists("time", $this->_propDict)) { + if (is_a($this->_propDict["time"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["time"])) { + return $this->_propDict["time"]; + } else { + $this->_propDict["time"] = new TimeOfDay($this->_propDict["time"]); + return $this->_propDict["time"]; + } + } + return null; + } + + /** + * Sets the time + * Represents the time of day when the transition from daylight saving time to standard time occurs. + * + * @param TimeOfDay $val The value to assign to the time + * + * @return StandardTimeZoneOffset The StandardTimeZoneOffset + */ + public function setTime($val) + { + $this->_propDict["time"] = $val; + return $this; + } + /** + * Gets the year + * Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year. + * + * @return int|null The year + */ + public function getYear() + { + if (array_key_exists("year", $this->_propDict)) { + return $this->_propDict["year"]; + } else { + return null; + } + } + + /** + * Sets the year + * Represents how frequently in terms of years the change from daylight saving time to standard time occurs. For example, a value of 0 means every year. + * + * @param int $val The value of the year + * + * @return StandardTimeZoneOffset + */ + public function setYear($val) + { + $this->_propDict["year"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/StartHoldMusicOperation.php b/vendor/microsoft/microsoft-graph/src/Model/StartHoldMusicOperation.php new file mode 100644 index 0000000..6fe0e28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/StartHoldMusicOperation.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["upgradeAvailable"]; + } else { + return null; + } + } + + /** + * Sets the upgradeAvailable + * Indicates if there are higher storage quota plans available. Read-only. + * + * @param bool $val The value of the upgradeAvailable + * + * @return StoragePlanInformation + */ + public function setUpgradeAvailable($val) + { + $this->_propDict["upgradeAvailable"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/StsPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/StsPolicy.php new file mode 100644 index 0000000..0a19202 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/StsPolicy.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["definition"]; + } else { + return null; + } + } + + /** + * Sets the definition + * A string collection containing a JSON string that defines the rules and settings for a policy. The syntax for the definition differs for each derived policy type. Required. + * + * @param string $val The definition + * + * @return StsPolicy + */ + public function setDefinition($val) + { + $this->_propDict["definition"] = $val; + return $this; + } + + /** + * Gets the isOrganizationDefault + * If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false. + * + * @return bool|null The isOrganizationDefault + */ + public function getIsOrganizationDefault() + { + if (array_key_exists("isOrganizationDefault", $this->_propDict)) { + return $this->_propDict["isOrganizationDefault"]; + } else { + return null; + } + } + + /** + * Sets the isOrganizationDefault + * If set to true, activates this policy. There can be many policies for the same policy type, but only one can be activated as the organization default. Optional, default value is false. + * + * @param bool $val The isOrganizationDefault + * + * @return StsPolicy + */ + public function setIsOrganizationDefault($val) + { + $this->_propDict["isOrganizationDefault"] = boolval($val); + return $this; + } + + + /** + * Gets the appliesTo + * + * @return array|null The appliesTo + */ + public function getAppliesTo() + { + if (array_key_exists("appliesTo", $this->_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * + * @param DirectoryObject[] $val The appliesTo + * + * @return StsPolicy + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequest.php b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequest.php new file mode 100644 index 0000000..3b364ff --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequest.php @@ -0,0 +1,633 @@ +_propDict)) { + if (is_a($this->_propDict["assignedTo"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["assignedTo"])) { + return $this->_propDict["assignedTo"]; + } else { + $this->_propDict["assignedTo"] = new Identity($this->_propDict["assignedTo"]); + return $this->_propDict["assignedTo"]; + } + } + return null; + } + + /** + * Sets the assignedTo + * Identity that the request is assigned to. + * + * @param Identity $val The assignedTo + * + * @return SubjectRightsRequest + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the closedDateTime + * The date and time when the request was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The closedDateTime + */ + public function getClosedDateTime() + { + if (array_key_exists("closedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["closedDateTime"], "\DateTime") || is_null($this->_propDict["closedDateTime"])) { + return $this->_propDict["closedDateTime"]; + } else { + $this->_propDict["closedDateTime"] = new \DateTime($this->_propDict["closedDateTime"]); + return $this->_propDict["closedDateTime"]; + } + } + return null; + } + + /** + * Sets the closedDateTime + * The date and time when the request was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The closedDateTime + * + * @return SubjectRightsRequest + */ + public function setClosedDateTime($val) + { + $this->_propDict["closedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdBy + * Identity information for the entity that created the request. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * Identity information for the entity that created the request. + * + * @param IdentitySet $val The createdBy + * + * @return SubjectRightsRequest + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the request was created. 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the request was created. 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 createdDateTime + * + * @return SubjectRightsRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dataSubject + * Information about the data subject. + * + * @return DataSubject|null The dataSubject + */ + public function getDataSubject() + { + if (array_key_exists("dataSubject", $this->_propDict)) { + if (is_a($this->_propDict["dataSubject"], "\Microsoft\Graph\Model\DataSubject") || is_null($this->_propDict["dataSubject"])) { + return $this->_propDict["dataSubject"]; + } else { + $this->_propDict["dataSubject"] = new DataSubject($this->_propDict["dataSubject"]); + return $this->_propDict["dataSubject"]; + } + } + return null; + } + + /** + * Sets the dataSubject + * Information about the data subject. + * + * @param DataSubject $val The dataSubject + * + * @return SubjectRightsRequest + */ + public function setDataSubject($val) + { + $this->_propDict["dataSubject"] = $val; + return $this; + } + + /** + * Gets the dataSubjectType + * The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. + * + * @return DataSubjectType|null The dataSubjectType + */ + public function getDataSubjectType() + { + if (array_key_exists("dataSubjectType", $this->_propDict)) { + if (is_a($this->_propDict["dataSubjectType"], "\Microsoft\Graph\Model\DataSubjectType") || is_null($this->_propDict["dataSubjectType"])) { + return $this->_propDict["dataSubjectType"]; + } else { + $this->_propDict["dataSubjectType"] = new DataSubjectType($this->_propDict["dataSubjectType"]); + return $this->_propDict["dataSubjectType"]; + } + } + return null; + } + + /** + * Sets the dataSubjectType + * The type of the data subject. Possible values are: customer, currentEmployee, formerEmployee, prospectiveEmployee, student, teacher, faculty, other, unknownFutureValue. + * + * @param DataSubjectType $val The dataSubjectType + * + * @return SubjectRightsRequest + */ + public function setDataSubjectType($val) + { + $this->_propDict["dataSubjectType"] = $val; + return $this; + } + + /** + * Gets the description + * Description for the request. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the request. + * + * @param string $val The description + * + * @return SubjectRightsRequest + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the request. + * + * @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 + * The name of the request. + * + * @param string $val The displayName + * + * @return SubjectRightsRequest + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + + /** + * Gets the history + * Collection of history change events. + * + * @return array|null The history + */ + public function getHistory() + { + if (array_key_exists("history", $this->_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * Collection of history change events. + * + * @param SubjectRightsRequestHistory[] $val The history + * + * @return SubjectRightsRequest + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + + /** + * Gets the insight + * Insight about the request. + * + * @return SubjectRightsRequestDetail|null The insight + */ + public function getInsight() + { + if (array_key_exists("insight", $this->_propDict)) { + if (is_a($this->_propDict["insight"], "\Microsoft\Graph\Model\SubjectRightsRequestDetail") || is_null($this->_propDict["insight"])) { + return $this->_propDict["insight"]; + } else { + $this->_propDict["insight"] = new SubjectRightsRequestDetail($this->_propDict["insight"]); + return $this->_propDict["insight"]; + } + } + return null; + } + + /** + * Sets the insight + * Insight about the request. + * + * @param SubjectRightsRequestDetail $val The insight + * + * @return SubjectRightsRequest + */ + public function setInsight($val) + { + $this->_propDict["insight"] = $val; + return $this; + } + + /** + * Gets the internalDueDateTime + * The date and time when the request is internally due. 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 internalDueDateTime + */ + public function getInternalDueDateTime() + { + if (array_key_exists("internalDueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["internalDueDateTime"], "\DateTime") || is_null($this->_propDict["internalDueDateTime"])) { + return $this->_propDict["internalDueDateTime"]; + } else { + $this->_propDict["internalDueDateTime"] = new \DateTime($this->_propDict["internalDueDateTime"]); + return $this->_propDict["internalDueDateTime"]; + } + } + return null; + } + + /** + * Sets the internalDueDateTime + * The date and time when the request is internally due. 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 internalDueDateTime + * + * @return SubjectRightsRequest + */ + public function setInternalDueDateTime($val) + { + $this->_propDict["internalDueDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * Identity information for the entity that last modified the request. + * + * @return IdentitySet|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * Identity information for the entity that last modified the request. + * + * @param IdentitySet $val The lastModifiedBy + * + * @return SubjectRightsRequest + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the request was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the request was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return SubjectRightsRequest + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the regulations + * List of regulations that this request will fulfill. + * + * @return string|null The regulations + */ + public function getRegulations() + { + if (array_key_exists("regulations", $this->_propDict)) { + return $this->_propDict["regulations"]; + } else { + return null; + } + } + + /** + * Sets the regulations + * List of regulations that this request will fulfill. + * + * @param string $val The regulations + * + * @return SubjectRightsRequest + */ + public function setRegulations($val) + { + $this->_propDict["regulations"] = $val; + return $this; + } + + + /** + * Gets the stages + * Information about the different stages for the request. + * + * @return array|null The stages + */ + public function getStages() + { + if (array_key_exists("stages", $this->_propDict)) { + return $this->_propDict["stages"]; + } else { + return null; + } + } + + /** + * Sets the stages + * Information about the different stages for the request. + * + * @param SubjectRightsRequestStageDetail[] $val The stages + * + * @return SubjectRightsRequest + */ + public function setStages($val) + { + $this->_propDict["stages"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the request. Possible values are: active, closed, unknownFutureValue. + * + * @return SubjectRightsRequestStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SubjectRightsRequestStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SubjectRightsRequestStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the request. Possible values are: active, closed, unknownFutureValue. + * + * @param SubjectRightsRequestStatus $val The status + * + * @return SubjectRightsRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the type + * The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue. + * + * @return SubjectRightsRequestType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\SubjectRightsRequestType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new SubjectRightsRequestType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of the request. Possible values are: export, delete, access, tagForAction, unknownFutureValue. + * + * @param SubjectRightsRequestType $val The type + * + * @return SubjectRightsRequest + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + + /** + * Gets the notes + * List of notes associated with the request. + * + * @return array|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * List of notes associated with the request. + * + * @param AuthoredNote[] $val The notes + * + * @return SubjectRightsRequest + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the team + * Information about the Microsoft Teams team that was created for the request. + * + * @return Team|null The team + */ + public function getTeam() + { + if (array_key_exists("team", $this->_propDict)) { + if (is_a($this->_propDict["team"], "\Microsoft\Graph\Model\Team") || is_null($this->_propDict["team"])) { + return $this->_propDict["team"]; + } else { + $this->_propDict["team"] = new Team($this->_propDict["team"]); + return $this->_propDict["team"]; + } + } + return null; + } + + /** + * Sets the team + * Information about the Microsoft Teams team that was created for the request. + * + * @param Team $val The team + * + * @return SubjectRightsRequest + */ + public function setTeam($val) + { + $this->_propDict["team"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestDetail.php b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestDetail.php new file mode 100644 index 0000000..fc0d905 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestDetail.php @@ -0,0 +1,232 @@ +_propDict)) { + return $this->_propDict["excludedItemCount"]; + } else { + return null; + } + } + + /** + * Sets the excludedItemCount + * Count of items that are excluded from the request. + * + * @param int $val The value of the excludedItemCount + * + * @return SubjectRightsRequestDetail + */ + public function setExcludedItemCount($val) + { + $this->_propDict["excludedItemCount"] = $val; + return $this; + } + + /** + * Gets the insightCounts + * Count of items per insight. + * + * @return KeyValuePair|null The insightCounts + */ + public function getInsightCounts() + { + if (array_key_exists("insightCounts", $this->_propDict)) { + if (is_a($this->_propDict["insightCounts"], "\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["insightCounts"])) { + return $this->_propDict["insightCounts"]; + } else { + $this->_propDict["insightCounts"] = new KeyValuePair($this->_propDict["insightCounts"]); + return $this->_propDict["insightCounts"]; + } + } + return null; + } + + /** + * Sets the insightCounts + * Count of items per insight. + * + * @param KeyValuePair $val The value to assign to the insightCounts + * + * @return SubjectRightsRequestDetail The SubjectRightsRequestDetail + */ + public function setInsightCounts($val) + { + $this->_propDict["insightCounts"] = $val; + return $this; + } + /** + * Gets the itemCount + * Count of items found. + * + * @return int|null The itemCount + */ + public function getItemCount() + { + if (array_key_exists("itemCount", $this->_propDict)) { + return $this->_propDict["itemCount"]; + } else { + return null; + } + } + + /** + * Sets the itemCount + * Count of items found. + * + * @param int $val The value of the itemCount + * + * @return SubjectRightsRequestDetail + */ + public function setItemCount($val) + { + $this->_propDict["itemCount"] = $val; + return $this; + } + /** + * Gets the itemNeedReview + * Count of item that need review. + * + * @return int|null The itemNeedReview + */ + public function getItemNeedReview() + { + if (array_key_exists("itemNeedReview", $this->_propDict)) { + return $this->_propDict["itemNeedReview"]; + } else { + return null; + } + } + + /** + * Sets the itemNeedReview + * Count of item that need review. + * + * @param int $val The value of the itemNeedReview + * + * @return SubjectRightsRequestDetail + */ + public function setItemNeedReview($val) + { + $this->_propDict["itemNeedReview"] = $val; + return $this; + } + + /** + * Gets the productItemCounts + * Count of items per product, such as Exchange, SharePoint, OneDrive, and Teams. + * + * @return KeyValuePair|null The productItemCounts + */ + public function getProductItemCounts() + { + if (array_key_exists("productItemCounts", $this->_propDict)) { + if (is_a($this->_propDict["productItemCounts"], "\Microsoft\Graph\Model\KeyValuePair") || is_null($this->_propDict["productItemCounts"])) { + return $this->_propDict["productItemCounts"]; + } else { + $this->_propDict["productItemCounts"] = new KeyValuePair($this->_propDict["productItemCounts"]); + return $this->_propDict["productItemCounts"]; + } + } + return null; + } + + /** + * Sets the productItemCounts + * Count of items per product, such as Exchange, SharePoint, OneDrive, and Teams. + * + * @param KeyValuePair $val The value to assign to the productItemCounts + * + * @return SubjectRightsRequestDetail The SubjectRightsRequestDetail + */ + public function setProductItemCounts($val) + { + $this->_propDict["productItemCounts"] = $val; + return $this; + } + /** + * Gets the signedOffItemCount + * Count of items signed off by the administrator. + * + * @return int|null The signedOffItemCount + */ + public function getSignedOffItemCount() + { + if (array_key_exists("signedOffItemCount", $this->_propDict)) { + return $this->_propDict["signedOffItemCount"]; + } else { + return null; + } + } + + /** + * Sets the signedOffItemCount + * Count of items signed off by the administrator. + * + * @param int $val The value of the signedOffItemCount + * + * @return SubjectRightsRequestDetail + */ + public function setSignedOffItemCount($val) + { + $this->_propDict["signedOffItemCount"] = $val; + return $this; + } + /** + * Gets the totalItemSize + * Total item size in bytes. + * + * @return int|null The totalItemSize + */ + public function getTotalItemSize() + { + if (array_key_exists("totalItemSize", $this->_propDict)) { + return $this->_propDict["totalItemSize"]; + } else { + return null; + } + } + + /** + * Sets the totalItemSize + * Total item size in bytes. + * + * @param int $val The value of the totalItemSize + * + * @return SubjectRightsRequestDetail + */ + public function setTotalItemSize($val) + { + $this->_propDict["totalItemSize"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestHistory.php b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestHistory.php new file mode 100644 index 0000000..994c57d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestHistory.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["changedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["changedBy"])) { + return $this->_propDict["changedBy"]; + } else { + $this->_propDict["changedBy"] = new IdentitySet($this->_propDict["changedBy"]); + return $this->_propDict["changedBy"]; + } + } + return null; + } + + /** + * Sets the changedBy + * Identity of the user who changed the subject rights request. + * + * @param IdentitySet $val The value to assign to the changedBy + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setChangedBy($val) + { + $this->_propDict["changedBy"] = $val; + return $this; + } + + /** + * Gets the eventDateTime + * Data and time when the entity was changed. + * + * @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 + * Data and time when the entity was changed. + * + * @param \DateTime $val The value to assign to the eventDateTime + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setEventDateTime($val) + { + $this->_propDict["eventDateTime"] = $val; + return $this; + } + + /** + * Gets the stage + * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @return SubjectRightsRequestStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Microsoft\Graph\Model\SubjectRightsRequestStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new SubjectRightsRequestStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @param SubjectRightsRequestStage $val The value to assign to the stage + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the stageStatus + * The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @return SubjectRightsRequestStageStatus|null The stageStatus + */ + public function getStageStatus() + { + if (array_key_exists("stageStatus", $this->_propDict)) { + if (is_a($this->_propDict["stageStatus"], "\Microsoft\Graph\Model\SubjectRightsRequestStageStatus") || is_null($this->_propDict["stageStatus"])) { + return $this->_propDict["stageStatus"]; + } else { + $this->_propDict["stageStatus"] = new SubjectRightsRequestStageStatus($this->_propDict["stageStatus"]); + return $this->_propDict["stageStatus"]; + } + } + return null; + } + + /** + * Sets the stageStatus + * The status of the stage when the entity was changed. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @param SubjectRightsRequestStageStatus $val The value to assign to the stageStatus + * + * @return SubjectRightsRequestHistory The SubjectRightsRequestHistory + */ + public function setStageStatus($val) + { + $this->_propDict["stageStatus"] = $val; + return $this; + } + /** + * Gets the type + * Type of history. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Type of history. + * + * @param string $val The value of the type + * + * @return SubjectRightsRequestHistory + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestStage.php b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestStage.php new file mode 100644 index 0000000..633e096 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestStage.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new PublicError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Describes the error, if any, for the current stage. + * + * @param PublicError $val The value to assign to the error + * + * @return SubjectRightsRequestStageDetail The SubjectRightsRequestStageDetail + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the stage + * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @return SubjectRightsRequestStage|null The stage + */ + public function getStage() + { + if (array_key_exists("stage", $this->_propDict)) { + if (is_a($this->_propDict["stage"], "\Microsoft\Graph\Model\SubjectRightsRequestStage") || is_null($this->_propDict["stage"])) { + return $this->_propDict["stage"]; + } else { + $this->_propDict["stage"] = new SubjectRightsRequestStage($this->_propDict["stage"]); + return $this->_propDict["stage"]; + } + } + return null; + } + + /** + * Sets the stage + * The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue. + * + * @param SubjectRightsRequestStage $val The value to assign to the stage + * + * @return SubjectRightsRequestStageDetail The SubjectRightsRequestStageDetail + */ + public function setStage($val) + { + $this->_propDict["stage"] = $val; + return $this; + } + + /** + * Gets the status + * Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @return SubjectRightsRequestStageStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SubjectRightsRequestStageStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SubjectRightsRequestStageStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Status of the current stage. Possible values are: notStarted, current, completed, failed, unknownFutureValue. + * + * @param SubjectRightsRequestStageStatus $val The value to assign to the status + * + * @return SubjectRightsRequestStageDetail The SubjectRightsRequestStageDetail + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestStageStatus.php b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestStageStatus.php new file mode 100644 index 0000000..5d159ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SubjectRightsRequestStageStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["appliesTo"]; + } else { + return null; + } + } + + /** + * Sets the appliesTo + * For example, 'User' or 'Company'. + * + * @param string $val The appliesTo + * + * @return SubscribedSku + */ + public function setAppliesTo($val) + { + $this->_propDict["appliesTo"] = $val; + return $this; + } + + /** + * Gets the capabilityStatus + * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * + * @return string|null The capabilityStatus + */ + public function getCapabilityStatus() + { + if (array_key_exists("capabilityStatus", $this->_propDict)) { + return $this->_propDict["capabilityStatus"]; + } else { + return null; + } + } + + /** + * Sets the capabilityStatus + * Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. The capabilityStatus is Enabled if the prepaidUnits property has at least 1 unit that is enabled, and LockedOut if the customer cancelled their subscription. + * + * @param string $val The capabilityStatus + * + * @return SubscribedSku + */ + public function setCapabilityStatus($val) + { + $this->_propDict["capabilityStatus"] = $val; + return $this; + } + + /** + * Gets the consumedUnits + * The number of licenses that have been assigned. + * + * @return int|null The consumedUnits + */ + public function getConsumedUnits() + { + if (array_key_exists("consumedUnits", $this->_propDict)) { + return $this->_propDict["consumedUnits"]; + } else { + return null; + } + } + + /** + * Sets the consumedUnits + * The number of licenses that have been assigned. + * + * @param int $val The consumedUnits + * + * @return SubscribedSku + */ + public function setConsumedUnits($val) + { + $this->_propDict["consumedUnits"] = intval($val); + return $this; + } + + /** + * Gets the prepaidUnits + * Information about the number and status of prepaid licenses. + * + * @return LicenseUnitsDetail|null The prepaidUnits + */ + public function getPrepaidUnits() + { + if (array_key_exists("prepaidUnits", $this->_propDict)) { + if (is_a($this->_propDict["prepaidUnits"], "\Microsoft\Graph\Model\LicenseUnitsDetail") || is_null($this->_propDict["prepaidUnits"])) { + return $this->_propDict["prepaidUnits"]; + } else { + $this->_propDict["prepaidUnits"] = new LicenseUnitsDetail($this->_propDict["prepaidUnits"]); + return $this->_propDict["prepaidUnits"]; + } + } + return null; + } + + /** + * Sets the prepaidUnits + * Information about the number and status of prepaid licenses. + * + * @param LicenseUnitsDetail $val The prepaidUnits + * + * @return SubscribedSku + */ + public function setPrepaidUnits($val) + { + $this->_propDict["prepaidUnits"] = $val; + return $this; + } + + + /** + * Gets the servicePlans + * Information about the service plans that are available with the SKU. Not nullable + * + * @return array|null The servicePlans + */ + public function getServicePlans() + { + if (array_key_exists("servicePlans", $this->_propDict)) { + return $this->_propDict["servicePlans"]; + } else { + return null; + } + } + + /** + * Sets the servicePlans + * Information about the service plans that are available with the SKU. Not nullable + * + * @param ServicePlanInfo[] $val The servicePlans + * + * @return SubscribedSku + */ + public function setServicePlans($val) + { + $this->_propDict["servicePlans"] = $val; + return $this; + } + + /** + * Gets the skuId + * The unique identifier (GUID) for the service SKU. + * + * @return string|null The skuId + */ + public function getSkuId() + { + if (array_key_exists("skuId", $this->_propDict)) { + return $this->_propDict["skuId"]; + } else { + return null; + } + } + + /** + * Sets the skuId + * The unique identifier (GUID) for the service SKU. + * + * @param string $val The skuId + * + * @return SubscribedSku + */ + public function setSkuId($val) + { + $this->_propDict["skuId"] = $val; + return $this; + } + + /** + * Gets the skuPartNumber + * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * + * @return string|null The skuPartNumber + */ + public function getSkuPartNumber() + { + if (array_key_exists("skuPartNumber", $this->_propDict)) { + return $this->_propDict["skuPartNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuPartNumber + * The SKU part number; for example: 'AAD_PREMIUM' or 'RMSBASIC'. To get a list of commercial subscriptions that an organization has acquired, see List subscribedSkus. + * + * @param string $val The skuPartNumber + * + * @return SubscribedSku + */ + public function setSkuPartNumber($val) + { + $this->_propDict["skuPartNumber"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Subscription.php b/vendor/microsoft/microsoft-graph/src/Model/Subscription.php new file mode 100644 index 0000000..4fa63c0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Subscription.php @@ -0,0 +1,437 @@ +_propDict)) { + return $this->_propDict["applicationId"]; + } else { + return null; + } + } + + /** + * Sets the applicationId + * Optional. Identifier of the application used to create the subscription. Read-only. + * + * @param string $val The applicationId + * + * @return Subscription + */ + public function setApplicationId($val) + { + $this->_propDict["applicationId"] = $val; + return $this; + } + + /** + * Gets the changeType + * Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. + * + * @return string|null The changeType + */ + public function getChangeType() + { + if (array_key_exists("changeType", $this->_propDict)) { + return $this->_propDict["changeType"]; + } else { + return null; + } + } + + /** + * Sets the changeType + * Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list. Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType. + * + * @param string $val The changeType + * + * @return Subscription + */ + public function setChangeType($val) + { + $this->_propDict["changeType"] = $val; + return $this; + } + + /** + * Gets the clientState + * Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 255 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. + * + * @return string|null The clientState + */ + public function getClientState() + { + if (array_key_exists("clientState", $this->_propDict)) { + return $this->_propDict["clientState"]; + } else { + return null; + } + } + + /** + * Sets the clientState + * Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 255 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. + * + * @param string $val The clientState + * + * @return Subscription + */ + public function setClientState($val) + { + $this->_propDict["clientState"] = $val; + return $this; + } + + /** + * Gets the creatorId + * Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the ID of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the ID of the service principal corresponding to the app. Read-only. + * + * @return string|null The creatorId + */ + public function getCreatorId() + { + if (array_key_exists("creatorId", $this->_propDict)) { + return $this->_propDict["creatorId"]; + } else { + return null; + } + } + + /** + * Sets the creatorId + * Optional. Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the ID of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the ID of the service principal corresponding to the app. Read-only. + * + * @param string $val The creatorId + * + * @return Subscription + */ + public function setCreatorId($val) + { + $this->_propDict["creatorId"] = $val; + return $this; + } + + /** + * Gets the encryptionCertificate + * Optional. A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional but required when includeResourceData is true. + * + * @return string|null The encryptionCertificate + */ + public function getEncryptionCertificate() + { + if (array_key_exists("encryptionCertificate", $this->_propDict)) { + return $this->_propDict["encryptionCertificate"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificate + * Optional. A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional but required when includeResourceData is true. + * + * @param string $val The encryptionCertificate + * + * @return Subscription + */ + public function setEncryptionCertificate($val) + { + $this->_propDict["encryptionCertificate"] = $val; + return $this; + } + + /** + * Gets the encryptionCertificateId + * Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when includeResourceData is true. + * + * @return string|null The encryptionCertificateId + */ + public function getEncryptionCertificateId() + { + if (array_key_exists("encryptionCertificateId", $this->_propDict)) { + return $this->_propDict["encryptionCertificateId"]; + } else { + return null; + } + } + + /** + * Sets the encryptionCertificateId + * Optional. A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Required when includeResourceData is true. + * + * @param string $val The encryptionCertificateId + * + * @return Subscription + */ + public function setEncryptionCertificateId($val) + { + $this->_propDict["encryptionCertificateId"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. For the maximum supported subscription length of time, see the table below. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. For the maximum supported subscription length of time, see the table below. + * + * @param \DateTime $val The expirationDateTime + * + * @return Subscription + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the includeResourceData + * Optional. When set to true, change notifications include resource data (such as content of a chat message). + * + * @return bool|null The includeResourceData + */ + public function getIncludeResourceData() + { + if (array_key_exists("includeResourceData", $this->_propDict)) { + return $this->_propDict["includeResourceData"]; + } else { + return null; + } + } + + /** + * Sets the includeResourceData + * Optional. When set to true, change notifications include resource data (such as content of a chat message). + * + * @param bool $val The includeResourceData + * + * @return Subscription + */ + public function setIncludeResourceData($val) + { + $this->_propDict["includeResourceData"] = boolval($val); + return $this; + } + + /** + * Gets the latestSupportedTlsVersion + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * + * @return string|null The latestSupportedTlsVersion + */ + public function getLatestSupportedTlsVersion() + { + if (array_key_exists("latestSupportedTlsVersion", $this->_propDict)) { + return $this->_propDict["latestSupportedTlsVersion"]; + } else { + return null; + } + } + + /** + * Sets the latestSupportedTlsVersion + * Optional. Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2. + * + * @param string $val The latestSupportedTlsVersion + * + * @return Subscription + */ + public function setLatestSupportedTlsVersion($val) + { + $this->_propDict["latestSupportedTlsVersion"] = $val; + return $this; + } + + /** + * Gets the lifecycleNotificationUrl + * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. + * + * @return string|null The lifecycleNotificationUrl + */ + public function getLifecycleNotificationUrl() + { + if (array_key_exists("lifecycleNotificationUrl", $this->_propDict)) { + return $this->_propDict["lifecycleNotificationUrl"]; + } else { + return null; + } + } + + /** + * Sets the lifecycleNotificationUrl + * Optional. The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. + * + * @param string $val The lifecycleNotificationUrl + * + * @return Subscription + */ + public function setLifecycleNotificationUrl($val) + { + $this->_propDict["lifecycleNotificationUrl"] = $val; + return $this; + } + + /** + * Gets the notificationQueryOptions + * Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. + * + * @return string|null The notificationQueryOptions + */ + public function getNotificationQueryOptions() + { + if (array_key_exists("notificationQueryOptions", $this->_propDict)) { + return $this->_propDict["notificationQueryOptions"]; + } else { + return null; + } + } + + /** + * Sets the notificationQueryOptions + * Optional. OData query options for specifying the value for the targeting resource. Clients receive notifications when the resource reaches the state matching the query options provided here. With this new property in the subscription creation payload along with all existing properties, Webhooks will deliver notifications whenever a resource reaches the desired state mentioned in the notificationQueryOptions property. For example, when the print job is completed or when a print job resource isFetchable property value becomes true etc. + * + * @param string $val The notificationQueryOptions + * + * @return Subscription + */ + public function setNotificationQueryOptions($val) + { + $this->_propDict["notificationQueryOptions"] = $val; + return $this; + } + + /** + * Gets the notificationUrl + * Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. + * + * @return string|null The notificationUrl + */ + public function getNotificationUrl() + { + if (array_key_exists("notificationUrl", $this->_propDict)) { + return $this->_propDict["notificationUrl"]; + } else { + return null; + } + } + + /** + * Sets the notificationUrl + * Required. The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. + * + * @param string $val The notificationUrl + * + * @return Subscription + */ + public function setNotificationUrl($val) + { + $this->_propDict["notificationUrl"] = $val; + return $this; + } + + /** + * Gets the notificationUrlAppId + * Optional. The app ID that the subscription service can use to generate the validation token. This allows the client to validate the authenticity of the notification received. + * + * @return string|null The notificationUrlAppId + */ + public function getNotificationUrlAppId() + { + if (array_key_exists("notificationUrlAppId", $this->_propDict)) { + return $this->_propDict["notificationUrlAppId"]; + } else { + return null; + } + } + + /** + * Sets the notificationUrlAppId + * Optional. The app ID that the subscription service can use to generate the validation token. This allows the client to validate the authenticity of the notification received. + * + * @param string $val The notificationUrlAppId + * + * @return Subscription + */ + public function setNotificationUrlAppId($val) + { + $this->_propDict["notificationUrlAppId"] = $val; + return $this; + } + + /** + * Gets the resource + * Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. + * + * @return string|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + return $this->_propDict["resource"]; + } else { + return null; + } + } + + /** + * Sets the resource + * Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/beta/). See the possible resource path values for each supported resource. + * + * @param string $val The resource + * + * @return Subscription + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SwapShiftsChangeRequest.php b/vendor/microsoft/microsoft-graph/src/Model/SwapShiftsChangeRequest.php new file mode 100644 index 0000000..ff501ca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SwapShiftsChangeRequest.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["recipientShiftId"]; + } else { + return null; + } + } + + /** + * Sets the recipientShiftId + * Shift ID for the recipient user with whom the request is to swap. + * + * @param string $val The recipientShiftId + * + * @return SwapShiftsChangeRequest + */ + public function setRecipientShiftId($val) + { + $this->_propDict["recipientShiftId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SystemFacet.php b/vendor/microsoft/microsoft-graph/src/Model/SystemFacet.php new file mode 100644 index 0000000..37a75b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/SystemFacet.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.tabUpdatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TabUpdatedEventMessageDetail The TabUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the tabId + * Unique identifier of the tab. + * + * @return string|null The tabId + */ + public function getTabId() + { + if (array_key_exists("tabId", $this->_propDict)) { + return $this->_propDict["tabId"]; + } else { + return null; + } + } + + /** + * Sets the tabId + * Unique identifier of the tab. + * + * @param string $val The value of the tabId + * + * @return TabUpdatedEventMessageDetail + */ + public function setTabId($val) + { + $this->_propDict["tabId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TargetApplicationOwners.php b/vendor/microsoft/microsoft-graph/src/Model/TargetApplicationOwners.php new file mode 100644 index 0000000..3739baa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TargetApplicationOwners.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.targetApplicationOwners"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TargetManager.php b/vendor/microsoft/microsoft-graph/src/Model/TargetManager.php new file mode 100644 index 0000000..59349fe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TargetManager.php @@ -0,0 +1,65 @@ +setODataType("#microsoft.graph.targetManager"); + } + + /** + * Gets the managerLevel + * Manager level, between 1 and 4. The direct manager is 1. + * + * @return int|null The managerLevel + */ + public function getManagerLevel() + { + if (array_key_exists("managerLevel", $this->_propDict)) { + return $this->_propDict["managerLevel"]; + } else { + return null; + } + } + + /** + * Sets the managerLevel + * Manager level, between 1 and 4. The direct manager is 1. + * + * @param int $val The value of the managerLevel + * + * @return TargetManager + */ + public function setManagerLevel($val) + { + $this->_propDict["managerLevel"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TargetResource.php b/vendor/microsoft/microsoft-graph/src/Model/TargetResource.php new file mode 100644 index 0000000..ece46f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TargetResource.php @@ -0,0 +1,204 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Indicates the visible name defined for the resource. Typically specified when the resource is created. + * + * @param string $val The value of the displayName + * + * @return TargetResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the groupType + * When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue + * + * @return GroupType|null The groupType + */ + public function getGroupType() + { + if (array_key_exists("groupType", $this->_propDict)) { + if (is_a($this->_propDict["groupType"], "\Microsoft\Graph\Model\GroupType") || is_null($this->_propDict["groupType"])) { + return $this->_propDict["groupType"]; + } else { + $this->_propDict["groupType"] = new GroupType($this->_propDict["groupType"]); + return $this->_propDict["groupType"]; + } + } + return null; + } + + /** + * Sets the groupType + * When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue + * + * @param GroupType $val The value to assign to the groupType + * + * @return TargetResource The TargetResource + */ + public function setGroupType($val) + { + $this->_propDict["groupType"] = $val; + return $this; + } + /** + * Gets the id + * Indicates the unique ID of the resource. + * + * @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 + * Indicates the unique ID of the resource. + * + * @param string $val The value of the id + * + * @return TargetResource + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + + /** + * Gets the modifiedProperties + * Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type. + * + * @return ModifiedProperty|null The modifiedProperties + */ + public function getModifiedProperties() + { + if (array_key_exists("modifiedProperties", $this->_propDict)) { + if (is_a($this->_propDict["modifiedProperties"], "\Microsoft\Graph\Model\ModifiedProperty") || is_null($this->_propDict["modifiedProperties"])) { + return $this->_propDict["modifiedProperties"]; + } else { + $this->_propDict["modifiedProperties"] = new ModifiedProperty($this->_propDict["modifiedProperties"]); + return $this->_propDict["modifiedProperties"]; + } + } + return null; + } + + /** + * Sets the modifiedProperties + * Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type. + * + * @param ModifiedProperty $val The value to assign to the modifiedProperties + * + * @return TargetResource The TargetResource + */ + public function setModifiedProperties($val) + { + $this->_propDict["modifiedProperties"] = $val; + return $this; + } + /** + * Gets the type + * Describes the resource type. Example values include Application, Group, ServicePrincipal, and User. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Describes the resource type. Example values include Application, Group, ServicePrincipal, and User. + * + * @param string $val The value of the type + * + * @return TargetResource + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * When type is set to User, this includes the user name that initiated the action; null for other types. + * + * @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 + * When type is set to User, this includes the user name that initiated the action; null for other types. + * + * @param string $val The value of the userPrincipalName + * + * @return TargetResource + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppConfiguration.php new file mode 100644 index 0000000..5ee565f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppConfiguration.php @@ -0,0 +1,178 @@ +_propDict)) { + return $this->_propDict["deployedAppCount"]; + } else { + return null; + } + } + + /** + * Sets the deployedAppCount + * Count of apps to which the current policy is deployed. + * + * @param int $val The deployedAppCount + * + * @return TargetedManagedAppConfiguration + */ + public function setDeployedAppCount($val) + { + $this->_propDict["deployedAppCount"] = intval($val); + return $this; + } + + /** + * Gets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @param bool $val The isAssigned + * + * @return TargetedManagedAppConfiguration + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + + /** + * Gets the apps + * List of apps to which the policy is deployed. + * + * @return array|null The apps + */ + public function getApps() + { + if (array_key_exists("apps", $this->_propDict)) { + return $this->_propDict["apps"]; + } else { + return null; + } + } + + /** + * Sets the apps + * List of apps to which the policy is deployed. + * + * @param ManagedMobileApp[] $val The apps + * + * @return TargetedManagedAppConfiguration + */ + public function setApps($val) + { + $this->_propDict["apps"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @param TargetedManagedAppPolicyAssignment[] $val The assignments + * + * @return TargetedManagedAppConfiguration + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + /** + * Gets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @return ManagedAppPolicyDeploymentSummary|null The deploymentSummary + */ + public function getDeploymentSummary() + { + if (array_key_exists("deploymentSummary", $this->_propDict)) { + if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary") || is_null($this->_propDict["deploymentSummary"])) { + return $this->_propDict["deploymentSummary"]; + } else { + $this->_propDict["deploymentSummary"] = new ManagedAppPolicyDeploymentSummary($this->_propDict["deploymentSummary"]); + return $this->_propDict["deploymentSummary"]; + } + } + return null; + } + + /** + * Sets the deploymentSummary + * Navigation property to deployment summary of the configuration. + * + * @param ManagedAppPolicyDeploymentSummary $val The deploymentSummary + * + * @return TargetedManagedAppConfiguration + */ + public function setDeploymentSummary($val) + { + $this->_propDict["deploymentSummary"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppGroupType.php b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppGroupType.php new file mode 100644 index 0000000..fff606f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppGroupType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Identifier for deployment to a group or app + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return TargetedManagedAppPolicyAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppProtection.php b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppProtection.php new file mode 100644 index 0000000..448d7c9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppProtection.php @@ -0,0 +1,86 @@ +_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @param bool $val The isAssigned + * + * @return TargetedManagedAppProtection + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + + /** + * Gets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. + * + * @param TargetedManagedAppPolicyAssignment[] $val The assignments + * + * @return TargetedManagedAppProtection + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TaskStatus.php b/vendor/microsoft/microsoft-graph/src/Model/TaskStatus.php new file mode 100644 index 0000000..f37c6ce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TaskStatus.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["classification"]; + } else { + return null; + } + } + + /** + * Sets the classification + * An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory. + * + * @param string $val The classification + * + * @return Team + */ + public function setClassification($val) + { + $this->_propDict["classification"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Timestamp at which the team was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Timestamp at which the team was created. + * + * @param \DateTime $val The createdDateTime + * + * @return Team + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * An optional description for the team. Maximum length: 1024 characters. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * An optional description for the team. Maximum length: 1024 characters. + * + * @param string $val The description + * + * @return Team + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the team. + * + * @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 + * The name of the team. + * + * @param string $val The displayName + * + * @return Team + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the funSettings + * Settings to configure use of Giphy, memes, and stickers in the team. + * + * @return TeamFunSettings|null The funSettings + */ + public function getFunSettings() + { + if (array_key_exists("funSettings", $this->_propDict)) { + if (is_a($this->_propDict["funSettings"], "\Microsoft\Graph\Model\TeamFunSettings") || is_null($this->_propDict["funSettings"])) { + return $this->_propDict["funSettings"]; + } else { + $this->_propDict["funSettings"] = new TeamFunSettings($this->_propDict["funSettings"]); + return $this->_propDict["funSettings"]; + } + } + return null; + } + + /** + * Sets the funSettings + * Settings to configure use of Giphy, memes, and stickers in the team. + * + * @param TeamFunSettings $val The funSettings + * + * @return Team + */ + public function setFunSettings($val) + { + $this->_propDict["funSettings"] = $val; + return $this; + } + + /** + * Gets the guestSettings + * Settings to configure whether guests can create, update, or delete channels in the team. + * + * @return TeamGuestSettings|null The guestSettings + */ + public function getGuestSettings() + { + if (array_key_exists("guestSettings", $this->_propDict)) { + if (is_a($this->_propDict["guestSettings"], "\Microsoft\Graph\Model\TeamGuestSettings") || is_null($this->_propDict["guestSettings"])) { + return $this->_propDict["guestSettings"]; + } else { + $this->_propDict["guestSettings"] = new TeamGuestSettings($this->_propDict["guestSettings"]); + return $this->_propDict["guestSettings"]; + } + } + return null; + } + + /** + * Sets the guestSettings + * Settings to configure whether guests can create, update, or delete channels in the team. + * + * @param TeamGuestSettings $val The guestSettings + * + * @return Team + */ + public function setGuestSettings($val) + { + $this->_propDict["guestSettings"] = $val; + return $this; + } + + /** + * Gets the internalId + * A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * + * @return string|null The internalId + */ + public function getInternalId() + { + if (array_key_exists("internalId", $this->_propDict)) { + return $this->_propDict["internalId"]; + } else { + return null; + } + } + + /** + * Sets the internalId + * A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * + * @param string $val The internalId + * + * @return Team + */ + public function setInternalId($val) + { + $this->_propDict["internalId"] = $val; + return $this; + } + + /** + * Gets the isArchived + * Whether this team is in read-only mode. + * + * @return bool|null The isArchived + */ + public function getIsArchived() + { + if (array_key_exists("isArchived", $this->_propDict)) { + return $this->_propDict["isArchived"]; + } else { + return null; + } + } + + /** + * Sets the isArchived + * Whether this team is in read-only mode. + * + * @param bool $val The isArchived + * + * @return Team + */ + public function setIsArchived($val) + { + $this->_propDict["isArchived"] = boolval($val); + return $this; + } + + /** + * Gets the memberSettings + * Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team. + * + * @return TeamMemberSettings|null The memberSettings + */ + public function getMemberSettings() + { + if (array_key_exists("memberSettings", $this->_propDict)) { + if (is_a($this->_propDict["memberSettings"], "\Microsoft\Graph\Model\TeamMemberSettings") || is_null($this->_propDict["memberSettings"])) { + return $this->_propDict["memberSettings"]; + } else { + $this->_propDict["memberSettings"] = new TeamMemberSettings($this->_propDict["memberSettings"]); + return $this->_propDict["memberSettings"]; + } + } + return null; + } + + /** + * Sets the memberSettings + * Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team. + * + * @param TeamMemberSettings $val The memberSettings + * + * @return Team + */ + public function setMemberSettings($val) + { + $this->_propDict["memberSettings"] = $val; + return $this; + } + + /** + * Gets the messagingSettings + * Settings to configure messaging and mentions in the team. + * + * @return TeamMessagingSettings|null The messagingSettings + */ + public function getMessagingSettings() + { + if (array_key_exists("messagingSettings", $this->_propDict)) { + if (is_a($this->_propDict["messagingSettings"], "\Microsoft\Graph\Model\TeamMessagingSettings") || is_null($this->_propDict["messagingSettings"])) { + return $this->_propDict["messagingSettings"]; + } else { + $this->_propDict["messagingSettings"] = new TeamMessagingSettings($this->_propDict["messagingSettings"]); + return $this->_propDict["messagingSettings"]; + } + } + return null; + } + + /** + * Sets the messagingSettings + * Settings to configure messaging and mentions in the team. + * + * @param TeamMessagingSettings $val The messagingSettings + * + * @return Team + */ + public function setMessagingSettings($val) + { + $this->_propDict["messagingSettings"] = $val; + return $this; + } + + /** + * Gets the specialization + * Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + * + * @return TeamSpecialization|null The specialization + */ + public function getSpecialization() + { + if (array_key_exists("specialization", $this->_propDict)) { + if (is_a($this->_propDict["specialization"], "\Microsoft\Graph\Model\TeamSpecialization") || is_null($this->_propDict["specialization"])) { + return $this->_propDict["specialization"]; + } else { + $this->_propDict["specialization"] = new TeamSpecialization($this->_propDict["specialization"]); + return $this->_propDict["specialization"]; + } + } + return null; + } + + /** + * Sets the specialization + * Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + * + * @param TeamSpecialization $val The specialization + * + * @return Team + */ + public function setSpecialization($val) + { + $this->_propDict["specialization"] = $val; + return $this; + } + + /** + * Gets the visibility + * The visibility of the group and team. Defaults to Public. + * + * @return TeamVisibilityType|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + if (is_a($this->_propDict["visibility"], "\Microsoft\Graph\Model\TeamVisibilityType") || is_null($this->_propDict["visibility"])) { + return $this->_propDict["visibility"]; + } else { + $this->_propDict["visibility"] = new TeamVisibilityType($this->_propDict["visibility"]); + return $this->_propDict["visibility"]; + } + } + return null; + } + + /** + * Sets the visibility + * The visibility of the group and team. Defaults to Public. + * + * @param TeamVisibilityType $val The visibility + * + * @return Team + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + /** + * Gets the webUrl + * A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + * + * @param string $val The webUrl + * + * @return Team + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + + /** + * Gets the channels + * The collection of channels and messages associated with the team. + * + * @return array|null The channels + */ + public function getChannels() + { + if (array_key_exists("channels", $this->_propDict)) { + return $this->_propDict["channels"]; + } else { + return null; + } + } + + /** + * Sets the channels + * The collection of channels and messages associated with the team. + * + * @param Channel[] $val The channels + * + * @return Team + */ + public function setChannels($val) + { + $this->_propDict["channels"] = $val; + return $this; + } + + /** + * Gets the group + * + * @return Group|null The group + */ + public function getGroup() + { + if (array_key_exists("group", $this->_propDict)) { + if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) { + return $this->_propDict["group"]; + } else { + $this->_propDict["group"] = new Group($this->_propDict["group"]); + return $this->_propDict["group"]; + } + } + return null; + } + + /** + * Sets the group + * + * @param Group $val The group + * + * @return Team + */ + public function setGroup($val) + { + $this->_propDict["group"] = $val; + return $this; + } + + + /** + * Gets the installedApps + * The apps installed in this team. + * + * @return array|null The installedApps + */ + public function getInstalledApps() + { + if (array_key_exists("installedApps", $this->_propDict)) { + return $this->_propDict["installedApps"]; + } else { + return null; + } + } + + /** + * Sets the installedApps + * The apps installed in this team. + * + * @param TeamsAppInstallation[] $val The installedApps + * + * @return Team + */ + public function setInstalledApps($val) + { + $this->_propDict["installedApps"] = $val; + return $this; + } + + + /** + * Gets the members + * Members and owners of the team. + * + * @return array|null The members + */ + public function getMembers() + { + if (array_key_exists("members", $this->_propDict)) { + return $this->_propDict["members"]; + } else { + return null; + } + } + + /** + * Sets the members + * Members and owners of the team. + * + * @param ConversationMember[] $val The members + * + * @return Team + */ + public function setMembers($val) + { + $this->_propDict["members"] = $val; + return $this; + } + + + /** + * Gets the operations + * The async operations that ran or are running on this team. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The async operations that ran or are running on this team. + * + * @param TeamsAsyncOperation[] $val The operations + * + * @return Team + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + /** + * Gets the primaryChannel + * The general channel for the team. + * + * @return Channel|null The primaryChannel + */ + public function getPrimaryChannel() + { + if (array_key_exists("primaryChannel", $this->_propDict)) { + if (is_a($this->_propDict["primaryChannel"], "\Microsoft\Graph\Model\Channel") || is_null($this->_propDict["primaryChannel"])) { + return $this->_propDict["primaryChannel"]; + } else { + $this->_propDict["primaryChannel"] = new Channel($this->_propDict["primaryChannel"]); + return $this->_propDict["primaryChannel"]; + } + } + return null; + } + + /** + * Sets the primaryChannel + * The general channel for the team. + * + * @param Channel $val The primaryChannel + * + * @return Team + */ + public function setPrimaryChannel($val) + { + $this->_propDict["primaryChannel"] = $val; + return $this; + } + + /** + * Gets the template + * The template this team was created from. See available templates. + * + * @return TeamsTemplate|null The template + */ + public function getTemplate() + { + if (array_key_exists("template", $this->_propDict)) { + if (is_a($this->_propDict["template"], "\Microsoft\Graph\Model\TeamsTemplate") || is_null($this->_propDict["template"])) { + return $this->_propDict["template"]; + } else { + $this->_propDict["template"] = new TeamsTemplate($this->_propDict["template"]); + return $this->_propDict["template"]; + } + } + return null; + } + + /** + * Sets the template + * The template this team was created from. See available templates. + * + * @param TeamsTemplate $val The template + * + * @return Team + */ + public function setTemplate($val) + { + $this->_propDict["template"] = $val; + return $this; + } + + /** + * Gets the schedule + * The schedule of shifts for this team. + * + * @return Schedule|null The schedule + */ + public function getSchedule() + { + if (array_key_exists("schedule", $this->_propDict)) { + if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\Schedule") || is_null($this->_propDict["schedule"])) { + return $this->_propDict["schedule"]; + } else { + $this->_propDict["schedule"] = new Schedule($this->_propDict["schedule"]); + return $this->_propDict["schedule"]; + } + } + return null; + } + + /** + * Sets the schedule + * The schedule of shifts for this team. + * + * @param Schedule $val The schedule + * + * @return Team + */ + public function setSchedule($val) + { + $this->_propDict["schedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamArchivedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamArchivedEventMessageDetail.php new file mode 100644 index 0000000..c4c9d78 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamArchivedEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamArchivedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamArchivedEventMessageDetail The TeamArchivedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamArchivedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamClassSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamClassSettings.php new file mode 100644 index 0000000..97e9cac --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamClassSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["notifyGuardiansAboutAssignments"]; + } else { + return null; + } + } + + /** + * Sets the notifyGuardiansAboutAssignments + * If set to true, enables sending of weekly assignments digest emails to parents/guardians, provided the tenant admin has enabled the setting globally. + * + * @param bool $val The value of the notifyGuardiansAboutAssignments + * + * @return TeamClassSettings + */ + public function setNotifyGuardiansAboutAssignments($val) + { + $this->_propDict["notifyGuardiansAboutAssignments"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamCreatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamCreatedEventMessageDetail.php new file mode 100644 index 0000000..2d6bca1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamCreatedEventMessageDetail.php @@ -0,0 +1,154 @@ +setODataType("#microsoft.graph.teamCreatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamCreatedEventMessageDetail The TeamCreatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamDescription + * Description for the team. + * + * @return string|null The teamDescription + */ + public function getTeamDescription() + { + if (array_key_exists("teamDescription", $this->_propDict)) { + return $this->_propDict["teamDescription"]; + } else { + return null; + } + } + + /** + * Sets the teamDescription + * Description for the team. + * + * @param string $val The value of the teamDescription + * + * @return TeamCreatedEventMessageDetail + */ + public function setTeamDescription($val) + { + $this->_propDict["teamDescription"] = $val; + return $this; + } + /** + * Gets the teamDisplayName + * Display name of the team. + * + * @return string|null The teamDisplayName + */ + public function getTeamDisplayName() + { + if (array_key_exists("teamDisplayName", $this->_propDict)) { + return $this->_propDict["teamDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamDisplayName + * Display name of the team. + * + * @param string $val The value of the teamDisplayName + * + * @return TeamCreatedEventMessageDetail + */ + public function setTeamDisplayName($val) + { + $this->_propDict["teamDisplayName"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamCreatedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamDescriptionUpdatedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamDescriptionUpdatedEventMessageDetail.php new file mode 100644 index 0000000..864f795 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamDescriptionUpdatedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamDescriptionUpdatedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamDescriptionUpdatedEventMessageDetail The TeamDescriptionUpdatedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamDescription + * The updated description for the team. + * + * @return string|null The teamDescription + */ + public function getTeamDescription() + { + if (array_key_exists("teamDescription", $this->_propDict)) { + return $this->_propDict["teamDescription"]; + } else { + return null; + } + } + + /** + * Sets the teamDescription + * The updated description for the team. + * + * @param string $val The value of the teamDescription + * + * @return TeamDescriptionUpdatedEventMessageDetail + */ + public function setTeamDescription($val) + { + $this->_propDict["teamDescription"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamDescriptionUpdatedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamFunSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamFunSettings.php new file mode 100644 index 0000000..7fe58b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamFunSettings.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["allowCustomMemes"]; + } else { + return null; + } + } + + /** + * Sets the allowCustomMemes + * If set to true, enables users to include custom memes. + * + * @param bool $val The value of the allowCustomMemes + * + * @return TeamFunSettings + */ + public function setAllowCustomMemes($val) + { + $this->_propDict["allowCustomMemes"] = $val; + return $this; + } + /** + * Gets the allowGiphy + * If set to true, enables Giphy use. + * + * @return bool|null The allowGiphy + */ + public function getAllowGiphy() + { + if (array_key_exists("allowGiphy", $this->_propDict)) { + return $this->_propDict["allowGiphy"]; + } else { + return null; + } + } + + /** + * Sets the allowGiphy + * If set to true, enables Giphy use. + * + * @param bool $val The value of the allowGiphy + * + * @return TeamFunSettings + */ + public function setAllowGiphy($val) + { + $this->_propDict["allowGiphy"] = $val; + return $this; + } + /** + * Gets the allowStickersAndMemes + * If set to true, enables users to include stickers and memes. + * + * @return bool|null The allowStickersAndMemes + */ + public function getAllowStickersAndMemes() + { + if (array_key_exists("allowStickersAndMemes", $this->_propDict)) { + return $this->_propDict["allowStickersAndMemes"]; + } else { + return null; + } + } + + /** + * Sets the allowStickersAndMemes + * If set to true, enables users to include stickers and memes. + * + * @param bool $val The value of the allowStickersAndMemes + * + * @return TeamFunSettings + */ + public function setAllowStickersAndMemes($val) + { + $this->_propDict["allowStickersAndMemes"] = $val; + return $this; + } + + /** + * Gets the giphyContentRating + * Giphy content rating. Possible values are: moderate, strict. + * + * @return GiphyRatingType|null The giphyContentRating + */ + public function getGiphyContentRating() + { + if (array_key_exists("giphyContentRating", $this->_propDict)) { + if (is_a($this->_propDict["giphyContentRating"], "\Microsoft\Graph\Model\GiphyRatingType") || is_null($this->_propDict["giphyContentRating"])) { + return $this->_propDict["giphyContentRating"]; + } else { + $this->_propDict["giphyContentRating"] = new GiphyRatingType($this->_propDict["giphyContentRating"]); + return $this->_propDict["giphyContentRating"]; + } + } + return null; + } + + /** + * Sets the giphyContentRating + * Giphy content rating. Possible values are: moderate, strict. + * + * @param GiphyRatingType $val The value to assign to the giphyContentRating + * + * @return TeamFunSettings The TeamFunSettings + */ + public function setGiphyContentRating($val) + { + $this->_propDict["giphyContentRating"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamGuestSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamGuestSettings.php new file mode 100644 index 0000000..1b89827 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamGuestSettings.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["allowCreateUpdateChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateChannels + * If set to true, guests can add and update channels. + * + * @param bool $val The value of the allowCreateUpdateChannels + * + * @return TeamGuestSettings + */ + public function setAllowCreateUpdateChannels($val) + { + $this->_propDict["allowCreateUpdateChannels"] = $val; + return $this; + } + /** + * Gets the allowDeleteChannels + * If set to true, guests can delete channels. + * + * @return bool|null The allowDeleteChannels + */ + public function getAllowDeleteChannels() + { + if (array_key_exists("allowDeleteChannels", $this->_propDict)) { + return $this->_propDict["allowDeleteChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteChannels + * If set to true, guests can delete channels. + * + * @param bool $val The value of the allowDeleteChannels + * + * @return TeamGuestSettings + */ + public function setAllowDeleteChannels($val) + { + $this->_propDict["allowDeleteChannels"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamJoiningDisabledEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamJoiningDisabledEventMessageDetail.php new file mode 100644 index 0000000..50d29d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamJoiningDisabledEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamJoiningDisabledEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamJoiningDisabledEventMessageDetail The TeamJoiningDisabledEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamJoiningDisabledEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamJoiningEnabledEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamJoiningEnabledEventMessageDetail.php new file mode 100644 index 0000000..9f8bce1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamJoiningEnabledEventMessageDetail.php @@ -0,0 +1,98 @@ +setODataType("#microsoft.graph.teamJoiningEnabledEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamJoiningEnabledEventMessageDetail The TeamJoiningEnabledEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamJoiningEnabledEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamMemberSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamMemberSettings.php new file mode 100644 index 0000000..d8e5c89 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamMemberSettings.php @@ -0,0 +1,194 @@ +_propDict)) { + return $this->_propDict["allowAddRemoveApps"]; + } else { + return null; + } + } + + /** + * Sets the allowAddRemoveApps + * If set to true, members can add and remove apps. + * + * @param bool $val The value of the allowAddRemoveApps + * + * @return TeamMemberSettings + */ + public function setAllowAddRemoveApps($val) + { + $this->_propDict["allowAddRemoveApps"] = $val; + return $this; + } + /** + * Gets the allowCreatePrivateChannels + * If set to true, members can add and update private channels. + * + * @return bool|null The allowCreatePrivateChannels + */ + public function getAllowCreatePrivateChannels() + { + if (array_key_exists("allowCreatePrivateChannels", $this->_propDict)) { + return $this->_propDict["allowCreatePrivateChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowCreatePrivateChannels + * If set to true, members can add and update private channels. + * + * @param bool $val The value of the allowCreatePrivateChannels + * + * @return TeamMemberSettings + */ + public function setAllowCreatePrivateChannels($val) + { + $this->_propDict["allowCreatePrivateChannels"] = $val; + return $this; + } + /** + * Gets the allowCreateUpdateChannels + * If set to true, members can add and update any channels. + * + * @return bool|null The allowCreateUpdateChannels + */ + public function getAllowCreateUpdateChannels() + { + if (array_key_exists("allowCreateUpdateChannels", $this->_propDict)) { + return $this->_propDict["allowCreateUpdateChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateChannels + * If set to true, members can add and update any channels. + * + * @param bool $val The value of the allowCreateUpdateChannels + * + * @return TeamMemberSettings + */ + public function setAllowCreateUpdateChannels($val) + { + $this->_propDict["allowCreateUpdateChannels"] = $val; + return $this; + } + /** + * Gets the allowCreateUpdateRemoveConnectors + * If set to true, members can add, update, and remove connectors. + * + * @return bool|null The allowCreateUpdateRemoveConnectors + */ + public function getAllowCreateUpdateRemoveConnectors() + { + if (array_key_exists("allowCreateUpdateRemoveConnectors", $this->_propDict)) { + return $this->_propDict["allowCreateUpdateRemoveConnectors"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateRemoveConnectors + * If set to true, members can add, update, and remove connectors. + * + * @param bool $val The value of the allowCreateUpdateRemoveConnectors + * + * @return TeamMemberSettings + */ + public function setAllowCreateUpdateRemoveConnectors($val) + { + $this->_propDict["allowCreateUpdateRemoveConnectors"] = $val; + return $this; + } + /** + * Gets the allowCreateUpdateRemoveTabs + * If set to true, members can add, update, and remove tabs. + * + * @return bool|null The allowCreateUpdateRemoveTabs + */ + public function getAllowCreateUpdateRemoveTabs() + { + if (array_key_exists("allowCreateUpdateRemoveTabs", $this->_propDict)) { + return $this->_propDict["allowCreateUpdateRemoveTabs"]; + } else { + return null; + } + } + + /** + * Sets the allowCreateUpdateRemoveTabs + * If set to true, members can add, update, and remove tabs. + * + * @param bool $val The value of the allowCreateUpdateRemoveTabs + * + * @return TeamMemberSettings + */ + public function setAllowCreateUpdateRemoveTabs($val) + { + $this->_propDict["allowCreateUpdateRemoveTabs"] = $val; + return $this; + } + /** + * Gets the allowDeleteChannels + * If set to true, members can delete channels. + * + * @return bool|null The allowDeleteChannels + */ + public function getAllowDeleteChannels() + { + if (array_key_exists("allowDeleteChannels", $this->_propDict)) { + return $this->_propDict["allowDeleteChannels"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteChannels + * If set to true, members can delete channels. + * + * @param bool $val The value of the allowDeleteChannels + * + * @return TeamMemberSettings + */ + public function setAllowDeleteChannels($val) + { + $this->_propDict["allowDeleteChannels"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamMessagingSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamMessagingSettings.php new file mode 100644 index 0000000..0e460fe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamMessagingSettings.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allowChannelMentions"]; + } else { + return null; + } + } + + /** + * Sets the allowChannelMentions + * If set to true, @channel mentions are allowed. + * + * @param bool $val The value of the allowChannelMentions + * + * @return TeamMessagingSettings + */ + public function setAllowChannelMentions($val) + { + $this->_propDict["allowChannelMentions"] = $val; + return $this; + } + /** + * Gets the allowOwnerDeleteMessages + * If set to true, owners can delete any message. + * + * @return bool|null The allowOwnerDeleteMessages + */ + public function getAllowOwnerDeleteMessages() + { + if (array_key_exists("allowOwnerDeleteMessages", $this->_propDict)) { + return $this->_propDict["allowOwnerDeleteMessages"]; + } else { + return null; + } + } + + /** + * Sets the allowOwnerDeleteMessages + * If set to true, owners can delete any message. + * + * @param bool $val The value of the allowOwnerDeleteMessages + * + * @return TeamMessagingSettings + */ + public function setAllowOwnerDeleteMessages($val) + { + $this->_propDict["allowOwnerDeleteMessages"] = $val; + return $this; + } + /** + * Gets the allowTeamMentions + * If set to true, @team mentions are allowed. + * + * @return bool|null The allowTeamMentions + */ + public function getAllowTeamMentions() + { + if (array_key_exists("allowTeamMentions", $this->_propDict)) { + return $this->_propDict["allowTeamMentions"]; + } else { + return null; + } + } + + /** + * Sets the allowTeamMentions + * If set to true, @team mentions are allowed. + * + * @param bool $val The value of the allowTeamMentions + * + * @return TeamMessagingSettings + */ + public function setAllowTeamMentions($val) + { + $this->_propDict["allowTeamMentions"] = $val; + return $this; + } + /** + * Gets the allowUserDeleteMessages + * If set to true, users can delete their messages. + * + * @return bool|null The allowUserDeleteMessages + */ + public function getAllowUserDeleteMessages() + { + if (array_key_exists("allowUserDeleteMessages", $this->_propDict)) { + return $this->_propDict["allowUserDeleteMessages"]; + } else { + return null; + } + } + + /** + * Sets the allowUserDeleteMessages + * If set to true, users can delete their messages. + * + * @param bool $val The value of the allowUserDeleteMessages + * + * @return TeamMessagingSettings + */ + public function setAllowUserDeleteMessages($val) + { + $this->_propDict["allowUserDeleteMessages"] = $val; + return $this; + } + /** + * Gets the allowUserEditMessages + * If set to true, users can edit their messages. + * + * @return bool|null The allowUserEditMessages + */ + public function getAllowUserEditMessages() + { + if (array_key_exists("allowUserEditMessages", $this->_propDict)) { + return $this->_propDict["allowUserEditMessages"]; + } else { + return null; + } + } + + /** + * Sets the allowUserEditMessages + * If set to true, users can edit their messages. + * + * @param bool $val The value of the allowUserEditMessages + * + * @return TeamMessagingSettings + */ + public function setAllowUserEditMessages($val) + { + $this->_propDict["allowUserEditMessages"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamRenamedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamRenamedEventMessageDetail.php new file mode 100644 index 0000000..2573ac0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamRenamedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamRenamedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamRenamedEventMessageDetail The TeamRenamedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamDisplayName + * The updated name of the team. + * + * @return string|null The teamDisplayName + */ + public function getTeamDisplayName() + { + if (array_key_exists("teamDisplayName", $this->_propDict)) { + return $this->_propDict["teamDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamDisplayName + * The updated name of the team. + * + * @param string $val The value of the teamDisplayName + * + * @return TeamRenamedEventMessageDetail + */ + public function setTeamDisplayName($val) + { + $this->_propDict["teamDisplayName"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamRenamedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamSpecialization.php b/vendor/microsoft/microsoft-graph/src/Model/TeamSpecialization.php new file mode 100644 index 0000000..d197f6c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamSpecialization.php @@ -0,0 +1,40 @@ +setODataType("#microsoft.graph.teamUnarchivedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamUnarchivedEventMessageDetail The TeamUnarchivedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamId + * Unique identifier of the team. + * + * @return string|null The teamId + */ + public function getTeamId() + { + if (array_key_exists("teamId", $this->_propDict)) { + return $this->_propDict["teamId"]; + } else { + return null; + } + } + + /** + * Sets the teamId + * Unique identifier of the team. + * + * @param string $val The value of the teamId + * + * @return TeamUnarchivedEventMessageDetail + */ + public function setTeamId($val) + { + $this->_propDict["teamId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamVisibilityType.php b/vendor/microsoft/microsoft-graph/src/Model/TeamVisibilityType.php new file mode 100644 index 0000000..51d2368 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamVisibilityType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the catalog app provided by the app developer in the Microsoft Teams zip app package. + * + * @param string $val The displayName + * + * @return TeamsApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the distributionMethod + * The method of distribution for the app. Read-only. + * + * @return TeamsAppDistributionMethod|null The distributionMethod + */ + public function getDistributionMethod() + { + if (array_key_exists("distributionMethod", $this->_propDict)) { + if (is_a($this->_propDict["distributionMethod"], "\Microsoft\Graph\Model\TeamsAppDistributionMethod") || is_null($this->_propDict["distributionMethod"])) { + return $this->_propDict["distributionMethod"]; + } else { + $this->_propDict["distributionMethod"] = new TeamsAppDistributionMethod($this->_propDict["distributionMethod"]); + return $this->_propDict["distributionMethod"]; + } + } + return null; + } + + /** + * Sets the distributionMethod + * The method of distribution for the app. Read-only. + * + * @param TeamsAppDistributionMethod $val The distributionMethod + * + * @return TeamsApp + */ + public function setDistributionMethod($val) + { + $this->_propDict["distributionMethod"] = $val; + return $this; + } + + /** + * Gets the externalId + * The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * The ID of the catalog provided by the app developer in the Microsoft Teams zip app package. + * + * @param string $val The externalId + * + * @return TeamsApp + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + + /** + * Gets the appDefinitions + * The details for each version of the app. + * + * @return array|null The appDefinitions + */ + public function getAppDefinitions() + { + if (array_key_exists("appDefinitions", $this->_propDict)) { + return $this->_propDict["appDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the appDefinitions + * The details for each version of the app. + * + * @param TeamsAppDefinition[] $val The appDefinitions + * + * @return TeamsApp + */ + public function setAppDefinitions($val) + { + $this->_propDict["appDefinitions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDefinition.php new file mode 100644 index 0000000..fbcff90 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDefinition.php @@ -0,0 +1,300 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param IdentitySet $val The createdBy + * + * @return TeamsAppDefinition + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the description + * Verbose description of the application. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Verbose description of the application. + * + * @param string $val The description + * + * @return TeamsAppDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the app provided by the app developer. + * + * @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 + * The name of the app provided by the app developer. + * + * @param string $val The displayName + * + * @return TeamsAppDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TeamsAppDefinition + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the publishingState + * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * + * @return TeamsAppPublishingState|null The publishingState + */ + public function getPublishingState() + { + if (array_key_exists("publishingState", $this->_propDict)) { + if (is_a($this->_propDict["publishingState"], "\Microsoft\Graph\Model\TeamsAppPublishingState") || is_null($this->_propDict["publishingState"])) { + return $this->_propDict["publishingState"]; + } else { + $this->_propDict["publishingState"] = new TeamsAppPublishingState($this->_propDict["publishingState"]); + return $this->_propDict["publishingState"]; + } + } + return null; + } + + /** + * Sets the publishingState + * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * + * @param TeamsAppPublishingState $val The publishingState + * + * @return TeamsAppDefinition + */ + public function setPublishingState($val) + { + $this->_propDict["publishingState"] = $val; + return $this; + } + + /** + * Gets the shortDescription + * Short description of the application. + * + * @return string|null The shortDescription + */ + public function getShortDescription() + { + if (array_key_exists("shortDescription", $this->_propDict)) { + return $this->_propDict["shortDescription"]; + } else { + return null; + } + } + + /** + * Sets the shortDescription + * Short description of the application. + * + * @param string $val The shortDescription + * + * @return TeamsAppDefinition + */ + public function setShortDescription($val) + { + $this->_propDict["shortDescription"] = $val; + return $this; + } + + /** + * Gets the teamsAppId + * The ID from the Teams app manifest. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * The ID from the Teams app manifest. + * + * @param string $val The teamsAppId + * + * @return TeamsAppDefinition + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } + + /** + * Gets the version + * The version number of the application. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * The version number of the application. + * + * @param string $val The version + * + * @return TeamsAppDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + /** + * Gets the bot + * The details of the bot specified in the Teams app manifest. + * + * @return TeamworkBot|null The bot + */ + public function getBot() + { + if (array_key_exists("bot", $this->_propDict)) { + if (is_a($this->_propDict["bot"], "\Microsoft\Graph\Model\TeamworkBot") || is_null($this->_propDict["bot"])) { + return $this->_propDict["bot"]; + } else { + $this->_propDict["bot"] = new TeamworkBot($this->_propDict["bot"]); + return $this->_propDict["bot"]; + } + } + return null; + } + + /** + * Sets the bot + * The details of the bot specified in the Teams app manifest. + * + * @param TeamworkBot $val The bot + * + * @return TeamsAppDefinition + */ + public function setBot($val) + { + $this->_propDict["bot"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDistributionMethod.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDistributionMethod.php new file mode 100644 index 0000000..3cc8fb2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDistributionMethod.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["teamsApp"], "\Microsoft\Graph\Model\TeamsApp") || is_null($this->_propDict["teamsApp"])) { + return $this->_propDict["teamsApp"]; + } else { + $this->_propDict["teamsApp"] = new TeamsApp($this->_propDict["teamsApp"]); + return $this->_propDict["teamsApp"]; + } + } + return null; + } + + /** + * Sets the teamsApp + * The app that is installed. + * + * @param TeamsApp $val The teamsApp + * + * @return TeamsAppInstallation + */ + public function setTeamsApp($val) + { + $this->_propDict["teamsApp"] = $val; + return $this; + } + + /** + * Gets the teamsAppDefinition + * The details of this version of the app. + * + * @return TeamsAppDefinition|null The teamsAppDefinition + */ + public function getTeamsAppDefinition() + { + if (array_key_exists("teamsAppDefinition", $this->_propDict)) { + if (is_a($this->_propDict["teamsAppDefinition"], "\Microsoft\Graph\Model\TeamsAppDefinition") || is_null($this->_propDict["teamsAppDefinition"])) { + return $this->_propDict["teamsAppDefinition"]; + } else { + $this->_propDict["teamsAppDefinition"] = new TeamsAppDefinition($this->_propDict["teamsAppDefinition"]); + return $this->_propDict["teamsAppDefinition"]; + } + } + return null; + } + + /** + * Sets the teamsAppDefinition + * The details of this version of the app. + * + * @param TeamsAppDefinition $val The teamsAppDefinition + * + * @return TeamsAppInstallation + */ + public function setTeamsAppDefinition($val) + { + $this->_propDict["teamsAppDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppInstalledEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppInstalledEventMessageDetail.php new file mode 100644 index 0000000..3b88cde --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppInstalledEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamsAppInstalledEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamsAppInstalledEventMessageDetail The TeamsAppInstalledEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @return string|null The teamsAppDisplayName + */ + public function getTeamsAppDisplayName() + { + if (array_key_exists("teamsAppDisplayName", $this->_propDict)) { + return $this->_propDict["teamsAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @param string $val The value of the teamsAppDisplayName + * + * @return TeamsAppInstalledEventMessageDetail + */ + public function setTeamsAppDisplayName($val) + { + $this->_propDict["teamsAppDisplayName"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * Unique identifier of the teamsApp. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * Unique identifier of the teamsApp. + * + * @param string $val The value of the teamsAppId + * + * @return TeamsAppInstalledEventMessageDetail + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppPublishingState.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppPublishingState.php new file mode 100644 index 0000000..c2c4f0a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppPublishingState.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.teamsAppRemovedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamsAppRemovedEventMessageDetail The TeamsAppRemovedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @return string|null The teamsAppDisplayName + */ + public function getTeamsAppDisplayName() + { + if (array_key_exists("teamsAppDisplayName", $this->_propDict)) { + return $this->_propDict["teamsAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @param string $val The value of the teamsAppDisplayName + * + * @return TeamsAppRemovedEventMessageDetail + */ + public function setTeamsAppDisplayName($val) + { + $this->_propDict["teamsAppDisplayName"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * Unique identifier of the teamsApp. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * Unique identifier of the teamsApp. + * + * @param string $val The value of the teamsAppId + * + * @return TeamsAppRemovedEventMessageDetail + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppUpgradedEventMessageDetail.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppUpgradedEventMessageDetail.php new file mode 100644 index 0000000..56c3edc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppUpgradedEventMessageDetail.php @@ -0,0 +1,126 @@ +setODataType("#microsoft.graph.teamsAppUpgradedEventMessageDetail"); + } + + + /** + * Gets the initiator + * Initiator of the event. + * + * @return IdentitySet|null The initiator + */ + public function getInitiator() + { + if (array_key_exists("initiator", $this->_propDict)) { + if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { + return $this->_propDict["initiator"]; + } else { + $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); + return $this->_propDict["initiator"]; + } + } + return null; + } + + /** + * Sets the initiator + * Initiator of the event. + * + * @param IdentitySet $val The value to assign to the initiator + * + * @return TeamsAppUpgradedEventMessageDetail The TeamsAppUpgradedEventMessageDetail + */ + public function setInitiator($val) + { + $this->_propDict["initiator"] = $val; + return $this; + } + /** + * Gets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @return string|null The teamsAppDisplayName + */ + public function getTeamsAppDisplayName() + { + if (array_key_exists("teamsAppDisplayName", $this->_propDict)) { + return $this->_propDict["teamsAppDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppDisplayName + * Display name of the teamsApp. + * + * @param string $val The value of the teamsAppDisplayName + * + * @return TeamsAppUpgradedEventMessageDetail + */ + public function setTeamsAppDisplayName($val) + { + $this->_propDict["teamsAppDisplayName"] = $val; + return $this; + } + /** + * Gets the teamsAppId + * Unique identifier of the teamsApp. + * + * @return string|null The teamsAppId + */ + public function getTeamsAppId() + { + if (array_key_exists("teamsAppId", $this->_propDict)) { + return $this->_propDict["teamsAppId"]; + } else { + return null; + } + } + + /** + * Sets the teamsAppId + * Unique identifier of the teamsApp. + * + * @param string $val The value of the teamsAppId + * + * @return TeamsAppUpgradedEventMessageDetail + */ + public function setTeamsAppId($val) + { + $this->_propDict["teamsAppId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php new file mode 100644 index 0000000..2bb58a0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php @@ -0,0 +1,279 @@ +_propDict)) { + return $this->_propDict["attemptsCount"]; + } else { + return null; + } + } + + /** + * Sets the attemptsCount + * Number of times the operation was attempted before being marked successful or failed. + * + * @param int $val The attemptsCount + * + * @return TeamsAsyncOperation + */ + public function setAttemptsCount($val) + { + $this->_propDict["attemptsCount"] = intval($val); + return $this; + } + + /** + * Gets the createdDateTime + * Time when the operation was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time when the operation was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TeamsAsyncOperation + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the error + * Any error that causes the async operation to fail. + * + * @return OperationError|null The error + */ + public function getError() + { + if (array_key_exists("error", $this->_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\OperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new OperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * Any error that causes the async operation to fail. + * + * @param OperationError $val The error + * + * @return TeamsAsyncOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the lastActionDateTime + * Time when the async operation was last updated. + * + * @return \DateTime|null The lastActionDateTime + */ + public function getLastActionDateTime() + { + if (array_key_exists("lastActionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) { + return $this->_propDict["lastActionDateTime"]; + } else { + $this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]); + return $this->_propDict["lastActionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastActionDateTime + * Time when the async operation was last updated. + * + * @param \DateTime $val The lastActionDateTime + * + * @return TeamsAsyncOperation + */ + public function setLastActionDateTime($val) + { + $this->_propDict["lastActionDateTime"] = $val; + return $this; + } + + /** + * Gets the operationType + * Denotes the type of operation being described. + * + * @return TeamsAsyncOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\TeamsAsyncOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new TeamsAsyncOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * Denotes the type of operation being described. + * + * @param TeamsAsyncOperationType $val The operationType + * + * @return TeamsAsyncOperation + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the status + * Operation status. + * + * @return TeamsAsyncOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\TeamsAsyncOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new TeamsAsyncOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Operation status. + * + * @param TeamsAsyncOperationStatus $val The status + * + * @return TeamsAsyncOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the targetResourceId + * The ID of the object that's created or modified as result of this async operation, typically a team. + * + * @return string|null The targetResourceId + */ + public function getTargetResourceId() + { + if (array_key_exists("targetResourceId", $this->_propDict)) { + return $this->_propDict["targetResourceId"]; + } else { + return null; + } + } + + /** + * Sets the targetResourceId + * The ID of the object that's created or modified as result of this async operation, typically a team. + * + * @param string $val The targetResourceId + * + * @return TeamsAsyncOperation + */ + public function setTargetResourceId($val) + { + $this->_propDict["targetResourceId"] = $val; + return $this; + } + + /** + * Gets the targetResourceLocation + * The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths. + * + * @return string|null The targetResourceLocation + */ + public function getTargetResourceLocation() + { + if (array_key_exists("targetResourceLocation", $this->_propDict)) { + return $this->_propDict["targetResourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the targetResourceLocation + * The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths. + * + * @param string $val The targetResourceLocation + * + * @return TeamsAsyncOperation + */ + public function setTargetResourceLocation($val) + { + $this->_propDict["targetResourceLocation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperationStatus.php new file mode 100644 index 0000000..4e22376 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperationStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["configuration"], "\Microsoft\Graph\Model\TeamsTabConfiguration") || is_null($this->_propDict["configuration"])) { + return $this->_propDict["configuration"]; + } else { + $this->_propDict["configuration"] = new TeamsTabConfiguration($this->_propDict["configuration"]); + return $this->_propDict["configuration"]; + } + } + return null; + } + + /** + * Sets the configuration + * Container for custom settings applied to a tab. The tab is considered configured only once this property is set. + * + * @param TeamsTabConfiguration $val The configuration + * + * @return TeamsTab + */ + public function setConfiguration($val) + { + $this->_propDict["configuration"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the tab. + * + * @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 + * Name of the tab. + * + * @param string $val The displayName + * + * @return TeamsTab + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the webUrl + * Deep link URL of the tab instance. Read only. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * Deep link URL of the tab instance. Read only. + * + * @param string $val The webUrl + * + * @return TeamsTab + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } + + /** + * Gets the teamsApp + * The application that is linked to the tab. + * + * @return TeamsApp|null The teamsApp + */ + public function getTeamsApp() + { + if (array_key_exists("teamsApp", $this->_propDict)) { + if (is_a($this->_propDict["teamsApp"], "\Microsoft\Graph\Model\TeamsApp") || is_null($this->_propDict["teamsApp"])) { + return $this->_propDict["teamsApp"]; + } else { + $this->_propDict["teamsApp"] = new TeamsApp($this->_propDict["teamsApp"]); + return $this->_propDict["teamsApp"]; + } + } + return null; + } + + /** + * Sets the teamsApp + * The application that is linked to the tab. + * + * @param TeamsApp $val The teamsApp + * + * @return TeamsTab + */ + public function setTeamsApp($val) + { + $this->_propDict["teamsApp"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsTabConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsTabConfiguration.php new file mode 100644 index 0000000..2f11785 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsTabConfiguration.php @@ -0,0 +1,138 @@ +_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * Url used for rendering tab contents in Teams. Required. + * + * @param string $val The value of the contentUrl + * + * @return TeamsTabConfiguration + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + /** + * Gets the entityId + * Identifier for the entity hosted by the tab provider. + * + * @return string|null The entityId + */ + public function getEntityId() + { + if (array_key_exists("entityId", $this->_propDict)) { + return $this->_propDict["entityId"]; + } else { + return null; + } + } + + /** + * Sets the entityId + * Identifier for the entity hosted by the tab provider. + * + * @param string $val The value of the entityId + * + * @return TeamsTabConfiguration + */ + public function setEntityId($val) + { + $this->_propDict["entityId"] = $val; + return $this; + } + /** + * Gets the removeUrl + * Url called by Teams client when a Tab is removed using the Teams Client. + * + * @return string|null The removeUrl + */ + public function getRemoveUrl() + { + if (array_key_exists("removeUrl", $this->_propDict)) { + return $this->_propDict["removeUrl"]; + } else { + return null; + } + } + + /** + * Sets the removeUrl + * Url called by Teams client when a Tab is removed using the Teams Client. + * + * @param string $val The value of the removeUrl + * + * @return TeamsTabConfiguration + */ + public function setRemoveUrl($val) + { + $this->_propDict["removeUrl"] = $val; + return $this; + } + /** + * Gets the websiteUrl + * Url for showing tab contents outside of Teams. + * + * @return string|null The websiteUrl + */ + public function getWebsiteUrl() + { + if (array_key_exists("websiteUrl", $this->_propDict)) { + return $this->_propDict["websiteUrl"]; + } else { + return null; + } + } + + /** + * Sets the websiteUrl + * Url for showing tab contents outside of Teams. + * + * @param string $val The value of the websiteUrl + * + * @return TeamsTabConfiguration + */ + public function setWebsiteUrl($val) + { + $this->_propDict["websiteUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamsTemplate.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsTemplate.php new file mode 100644 index 0000000..3b5a57f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamsTemplate.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["workforceIntegrations"]; + } else { + return null; + } + } + + /** + * Sets the workforceIntegrations + * A workforce integration with shifts. + * + * @param WorkforceIntegration[] $val The workforceIntegrations + * + * @return Teamwork + */ + public function setWorkforceIntegrations($val) + { + $this->_propDict["workforceIntegrations"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopic.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopic.php new file mode 100644 index 0000000..2399dd4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopic.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\TeamworkActivityTopicSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new TeamworkActivityTopicSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * Type of source. Possible values are: entityUrl, text. For supported Microsoft Graph URLs, use entityUrl. For custom text, use text. + * + * @param TeamworkActivityTopicSource $val The value to assign to the source + * + * @return TeamworkActivityTopic The TeamworkActivityTopic + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + /** + * Gets the value + * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the vaule is text, this must be a plain text value. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the vaule is text, this must be a plain text value. + * + * @param string $val The value of the value + * + * @return TeamworkActivityTopic + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + /** + * Gets the webUrl + * The link the user clicks when they select the notification. Optional when source is entityUrl; required when source is text. + * + * @return string|null The webUrl + */ + public function getWebUrl() + { + if (array_key_exists("webUrl", $this->_propDict)) { + return $this->_propDict["webUrl"]; + } else { + return null; + } + } + + /** + * Sets the webUrl + * The link the user clicks when they select the notification. Optional when source is entityUrl; required when source is text. + * + * @param string $val The value of the webUrl + * + * @return TeamworkActivityTopic + */ + public function setWebUrl($val) + { + $this->_propDict["webUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopicSource.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopicSource.php new file mode 100644 index 0000000..02f50d4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopicSource.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["applicationIdentityType"], "\Microsoft\Graph\Model\TeamworkApplicationIdentityType") || is_null($this->_propDict["applicationIdentityType"])) { + return $this->_propDict["applicationIdentityType"]; + } else { + $this->_propDict["applicationIdentityType"] = new TeamworkApplicationIdentityType($this->_propDict["applicationIdentityType"]); + return $this->_propDict["applicationIdentityType"]; + } + } + return null; + } + + /** + * Sets the applicationIdentityType + * Type of application that is referenced. Possible values are: aadApplication, bot, tenantBot, office365Connector, and outgoingWebhook. + * + * @param TeamworkApplicationIdentityType $val The value to assign to the applicationIdentityType + * + * @return TeamworkApplicationIdentity The TeamworkApplicationIdentity + */ + public function setApplicationIdentityType($val) + { + $this->_propDict["applicationIdentityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkApplicationIdentityType.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkApplicationIdentityType.php new file mode 100644 index 0000000..7e5960b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkApplicationIdentityType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["conversationIdentityType"], "\Microsoft\Graph\Model\TeamworkConversationIdentityType") || is_null($this->_propDict["conversationIdentityType"])) { + return $this->_propDict["conversationIdentityType"]; + } else { + $this->_propDict["conversationIdentityType"] = new TeamworkConversationIdentityType($this->_propDict["conversationIdentityType"]); + return $this->_propDict["conversationIdentityType"]; + } + } + return null; + } + + /** + * Sets the conversationIdentityType + * Type of conversation. Possible values are: team, channel, and chat. + * + * @param TeamworkConversationIdentityType $val The value to assign to the conversationIdentityType + * + * @return TeamworkConversationIdentity The TeamworkConversationIdentity + */ + public function setConversationIdentityType($val) + { + $this->_propDict["conversationIdentityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkConversationIdentityType.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkConversationIdentityType.php new file mode 100644 index 0000000..9d253f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkConversationIdentityType.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["contentBytes"])) { + return $this->_propDict["contentBytes"]; + } else { + $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["contentBytes"]); + return $this->_propDict["contentBytes"]; + } + } + return null; + } + + /** + * Sets the contentBytes + * Write only. Bytes for the hosted content (such as images). + * + * @param \GuzzleHttp\Psr7\Stream $val The contentBytes + * + * @return TeamworkHostedContent + */ + public function setContentBytes($val) + { + $this->_propDict["contentBytes"] = $val; + return $this; + } + + /** + * Gets the contentType + * Write only. Content type, such as image/png, image/jpg. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * Write only. Content type, such as image/png, image/jpg. + * + * @param string $val The contentType + * + * @return TeamworkHostedContent + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkNotificationRecipient.php new file mode 100644 index 0000000..402ed17 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkNotificationRecipient.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["calendarEventId"]; + } else { + return null; + } + } + + /** + * Sets the calendarEventId + * The identifier of the calendar event associated with the meeting. + * + * @param string $val The value of the calendarEventId + * + * @return TeamworkOnlineMeetingInfo + */ + public function setCalendarEventId($val) + { + $this->_propDict["calendarEventId"] = $val; + return $this; + } + /** + * Gets the joinWebUrl + * The URL which can be clicked on to join or uniquely identify the meeting. + * + * @return string|null The joinWebUrl + */ + public function getJoinWebUrl() + { + if (array_key_exists("joinWebUrl", $this->_propDict)) { + return $this->_propDict["joinWebUrl"]; + } else { + return null; + } + } + + /** + * Sets the joinWebUrl + * The URL which can be clicked on to join or uniquely identify the meeting. + * + * @param string $val The value of the joinWebUrl + * + * @return TeamworkOnlineMeetingInfo + */ + public function setJoinWebUrl($val) + { + $this->_propDict["joinWebUrl"] = $val; + return $this; + } + + /** + * Gets the organizer + * The organizer of the meeting. + * + * @return TeamworkUserIdentity|null The organizer + */ + public function getOrganizer() + { + if (array_key_exists("organizer", $this->_propDict)) { + if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\TeamworkUserIdentity") || is_null($this->_propDict["organizer"])) { + return $this->_propDict["organizer"]; + } else { + $this->_propDict["organizer"] = new TeamworkUserIdentity($this->_propDict["organizer"]); + return $this->_propDict["organizer"]; + } + } + return null; + } + + /** + * Sets the organizer + * The organizer of the meeting. + * + * @param TeamworkUserIdentity $val The value to assign to the organizer + * + * @return TeamworkOnlineMeetingInfo The TeamworkOnlineMeetingInfo + */ + public function setOrganizer($val) + { + $this->_propDict["organizer"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkTagIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkTagIdentity.php new file mode 100644 index 0000000..3648b03 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkTagIdentity.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["userIdentityType"], "\Microsoft\Graph\Model\TeamworkUserIdentityType") || is_null($this->_propDict["userIdentityType"])) { + return $this->_propDict["userIdentityType"]; + } else { + $this->_propDict["userIdentityType"] = new TeamworkUserIdentityType($this->_propDict["userIdentityType"]); + return $this->_propDict["userIdentityType"]; + } + } + return null; + } + + /** + * Sets the userIdentityType + * Type of user. Possible values are: aadUser, onPremiseAadUser, anonymousGuest, federatedUser, personalMicrosoftAccountUser, skypeUser, phoneUser, and emailUser. + * + * @param TeamworkUserIdentityType $val The value to assign to the userIdentityType + * + * @return TeamworkUserIdentity The TeamworkUserIdentity + */ + public function setUserIdentityType($val) + { + $this->_propDict["userIdentityType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamworkUserIdentityType.php b/vendor/microsoft/microsoft-graph/src/Model/TeamworkUserIdentityType.php new file mode 100644 index 0000000..aac685d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeamworkUserIdentityType.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["appAuthorized"]; + } else { + return null; + } + } + + /** + * Sets the appAuthorized + * Whether the partner's AAD app has been authorized to access Intune. + * + * @param bool $val The appAuthorized + * + * @return TelecomExpenseManagementPartner + */ + public function setAppAuthorized($val) + { + $this->_propDict["appAuthorized"] = boolval($val); + return $this; + } + + /** + * Gets the displayName + * Display name of the TEM partner. + * + * @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 + * Display name of the TEM partner. + * + * @param string $val The displayName + * + * @return TelecomExpenseManagementPartner + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enabled + * Whether Intune's connection to the TEM service is currently enabled or disabled. + * + * @return bool|null The enabled + */ + public function getEnabled() + { + if (array_key_exists("enabled", $this->_propDict)) { + return $this->_propDict["enabled"]; + } else { + return null; + } + } + + /** + * Sets the enabled + * Whether Intune's connection to the TEM service is currently enabled or disabled. + * + * @param bool $val The enabled + * + * @return TelecomExpenseManagementPartner + */ + public function setEnabled($val) + { + $this->_propDict["enabled"] = boolval($val); + return $this; + } + + /** + * Gets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @return \DateTime|null The lastConnectionDateTime + */ + public function getLastConnectionDateTime() + { + if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime") || is_null($this->_propDict["lastConnectionDateTime"])) { + return $this->_propDict["lastConnectionDateTime"]; + } else { + $this->_propDict["lastConnectionDateTime"] = new \DateTime($this->_propDict["lastConnectionDateTime"]); + return $this->_propDict["lastConnectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastConnectionDateTime + * Timestamp of the last request sent to Intune by the TEM partner. + * + * @param \DateTime $val The lastConnectionDateTime + * + * @return TelecomExpenseManagementPartner + */ + public function setLastConnectionDateTime($val) + { + $this->_propDict["lastConnectionDateTime"] = $val; + return $this; + } + + /** + * Gets the url + * URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service. + * + * @param string $val The url + * + * @return TelecomExpenseManagementPartner + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceAudioQuality.php b/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceAudioQuality.php new file mode 100644 index 0000000..b7ee19e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceAudioQuality.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["averageInboundJitter"], "\DateInterval") || is_null($this->_propDict["averageInboundJitter"])) { + return $this->_propDict["averageInboundJitter"]; + } else { + $this->_propDict["averageInboundJitter"] = new \DateInterval($this->_propDict["averageInboundJitter"]); + return $this->_propDict["averageInboundJitter"]; + } + } + return null; + } + + /** + * Sets the averageInboundJitter + * The average inbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the averageInboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageInboundJitter($val) + { + $this->_propDict["averageInboundJitter"] = $val; + return $this; + } + /** + * Gets the averageInboundPacketLossRateInPercentage + * The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The averageInboundPacketLossRateInPercentage + */ + public function getAverageInboundPacketLossRateInPercentage() + { + if (array_key_exists("averageInboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["averageInboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageInboundPacketLossRateInPercentage + * The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the averageInboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setAverageInboundPacketLossRateInPercentage($val) + { + $this->_propDict["averageInboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the averageInboundRoundTripDelay + * The average inbound stream network round trip delay. + * + * @return \DateInterval|null The averageInboundRoundTripDelay + */ + public function getAverageInboundRoundTripDelay() + { + if (array_key_exists("averageInboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["averageInboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["averageInboundRoundTripDelay"])) { + return $this->_propDict["averageInboundRoundTripDelay"]; + } else { + $this->_propDict["averageInboundRoundTripDelay"] = new \DateInterval($this->_propDict["averageInboundRoundTripDelay"]); + return $this->_propDict["averageInboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the averageInboundRoundTripDelay + * The average inbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the averageInboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageInboundRoundTripDelay($val) + { + $this->_propDict["averageInboundRoundTripDelay"] = $val; + return $this; + } + + /** + * Gets the averageOutboundJitter + * The average outbound stream network jitter. + * + * @return \DateInterval|null The averageOutboundJitter + */ + public function getAverageOutboundJitter() + { + if (array_key_exists("averageOutboundJitter", $this->_propDict)) { + if (is_a($this->_propDict["averageOutboundJitter"], "\DateInterval") || is_null($this->_propDict["averageOutboundJitter"])) { + return $this->_propDict["averageOutboundJitter"]; + } else { + $this->_propDict["averageOutboundJitter"] = new \DateInterval($this->_propDict["averageOutboundJitter"]); + return $this->_propDict["averageOutboundJitter"]; + } + } + return null; + } + + /** + * Sets the averageOutboundJitter + * The average outbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the averageOutboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageOutboundJitter($val) + { + $this->_propDict["averageOutboundJitter"] = $val; + return $this; + } + /** + * Gets the averageOutboundPacketLossRateInPercentage + * The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The averageOutboundPacketLossRateInPercentage + */ + public function getAverageOutboundPacketLossRateInPercentage() + { + if (array_key_exists("averageOutboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["averageOutboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the averageOutboundPacketLossRateInPercentage + * The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the averageOutboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setAverageOutboundPacketLossRateInPercentage($val) + { + $this->_propDict["averageOutboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the averageOutboundRoundTripDelay + * The average outbound stream network round trip delay. + * + * @return \DateInterval|null The averageOutboundRoundTripDelay + */ + public function getAverageOutboundRoundTripDelay() + { + if (array_key_exists("averageOutboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["averageOutboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["averageOutboundRoundTripDelay"])) { + return $this->_propDict["averageOutboundRoundTripDelay"]; + } else { + $this->_propDict["averageOutboundRoundTripDelay"] = new \DateInterval($this->_propDict["averageOutboundRoundTripDelay"]); + return $this->_propDict["averageOutboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the averageOutboundRoundTripDelay + * The average outbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the averageOutboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setAverageOutboundRoundTripDelay($val) + { + $this->_propDict["averageOutboundRoundTripDelay"] = $val; + return $this; + } + /** + * Gets the channelIndex + * The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3. + * + * @return int|null The channelIndex + */ + public function getChannelIndex() + { + if (array_key_exists("channelIndex", $this->_propDict)) { + return $this->_propDict["channelIndex"]; + } else { + return null; + } + } + + /** + * Sets the channelIndex + * The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3. + * + * @param int $val The value of the channelIndex + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setChannelIndex($val) + { + $this->_propDict["channelIndex"] = $val; + return $this; + } + /** + * Gets the inboundPackets + * The total number of the inbound packets. + * + * @return int|null The inboundPackets + */ + public function getInboundPackets() + { + if (array_key_exists("inboundPackets", $this->_propDict)) { + return $this->_propDict["inboundPackets"]; + } else { + return null; + } + } + + /** + * Sets the inboundPackets + * The total number of the inbound packets. + * + * @param int $val The value of the inboundPackets + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setInboundPackets($val) + { + $this->_propDict["inboundPackets"] = $val; + return $this; + } + /** + * Gets the localIPAddress + * the local IP address for the media session. + * + * @return string|null The localIPAddress + */ + public function getLocalIPAddress() + { + if (array_key_exists("localIPAddress", $this->_propDict)) { + return $this->_propDict["localIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the localIPAddress + * the local IP address for the media session. + * + * @param string $val The value of the localIPAddress + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setLocalIPAddress($val) + { + $this->_propDict["localIPAddress"] = $val; + return $this; + } + /** + * Gets the localPort + * The local media port. + * + * @return int|null The localPort + */ + public function getLocalPort() + { + if (array_key_exists("localPort", $this->_propDict)) { + return $this->_propDict["localPort"]; + } else { + return null; + } + } + + /** + * Sets the localPort + * The local media port. + * + * @param int $val The value of the localPort + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setLocalPort($val) + { + $this->_propDict["localPort"] = $val; + return $this; + } + + /** + * Gets the maximumInboundJitter + * The maximum inbound stream network jitter. + * + * @return \DateInterval|null The maximumInboundJitter + */ + public function getMaximumInboundJitter() + { + if (array_key_exists("maximumInboundJitter", $this->_propDict)) { + if (is_a($this->_propDict["maximumInboundJitter"], "\DateInterval") || is_null($this->_propDict["maximumInboundJitter"])) { + return $this->_propDict["maximumInboundJitter"]; + } else { + $this->_propDict["maximumInboundJitter"] = new \DateInterval($this->_propDict["maximumInboundJitter"]); + return $this->_propDict["maximumInboundJitter"]; + } + } + return null; + } + + /** + * Sets the maximumInboundJitter + * The maximum inbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the maximumInboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumInboundJitter($val) + { + $this->_propDict["maximumInboundJitter"] = $val; + return $this; + } + /** + * Gets the maximumInboundPacketLossRateInPercentage + * The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The maximumInboundPacketLossRateInPercentage + */ + public function getMaximumInboundPacketLossRateInPercentage() + { + if (array_key_exists("maximumInboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["maximumInboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumInboundPacketLossRateInPercentage + * The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the maximumInboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setMaximumInboundPacketLossRateInPercentage($val) + { + $this->_propDict["maximumInboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the maximumInboundRoundTripDelay + * The maximum inbound stream network round trip delay. + * + * @return \DateInterval|null The maximumInboundRoundTripDelay + */ + public function getMaximumInboundRoundTripDelay() + { + if (array_key_exists("maximumInboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["maximumInboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["maximumInboundRoundTripDelay"])) { + return $this->_propDict["maximumInboundRoundTripDelay"]; + } else { + $this->_propDict["maximumInboundRoundTripDelay"] = new \DateInterval($this->_propDict["maximumInboundRoundTripDelay"]); + return $this->_propDict["maximumInboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the maximumInboundRoundTripDelay + * The maximum inbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the maximumInboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumInboundRoundTripDelay($val) + { + $this->_propDict["maximumInboundRoundTripDelay"] = $val; + return $this; + } + + /** + * Gets the maximumOutboundJitter + * The maximum outbound stream network jitter. + * + * @return \DateInterval|null The maximumOutboundJitter + */ + public function getMaximumOutboundJitter() + { + if (array_key_exists("maximumOutboundJitter", $this->_propDict)) { + if (is_a($this->_propDict["maximumOutboundJitter"], "\DateInterval") || is_null($this->_propDict["maximumOutboundJitter"])) { + return $this->_propDict["maximumOutboundJitter"]; + } else { + $this->_propDict["maximumOutboundJitter"] = new \DateInterval($this->_propDict["maximumOutboundJitter"]); + return $this->_propDict["maximumOutboundJitter"]; + } + } + return null; + } + + /** + * Sets the maximumOutboundJitter + * The maximum outbound stream network jitter. + * + * @param \DateInterval $val The value to assign to the maximumOutboundJitter + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumOutboundJitter($val) + { + $this->_propDict["maximumOutboundJitter"] = $val; + return $this; + } + /** + * Gets the maximumOutboundPacketLossRateInPercentage + * The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @return float|null The maximumOutboundPacketLossRateInPercentage + */ + public function getMaximumOutboundPacketLossRateInPercentage() + { + if (array_key_exists("maximumOutboundPacketLossRateInPercentage", $this->_propDict)) { + return $this->_propDict["maximumOutboundPacketLossRateInPercentage"]; + } else { + return null; + } + } + + /** + * Sets the maximumOutboundPacketLossRateInPercentage + * The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%. + * + * @param float $val The value of the maximumOutboundPacketLossRateInPercentage + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setMaximumOutboundPacketLossRateInPercentage($val) + { + $this->_propDict["maximumOutboundPacketLossRateInPercentage"] = $val; + return $this; + } + + /** + * Gets the maximumOutboundRoundTripDelay + * The maximum outbound stream network round trip delay. + * + * @return \DateInterval|null The maximumOutboundRoundTripDelay + */ + public function getMaximumOutboundRoundTripDelay() + { + if (array_key_exists("maximumOutboundRoundTripDelay", $this->_propDict)) { + if (is_a($this->_propDict["maximumOutboundRoundTripDelay"], "\DateInterval") || is_null($this->_propDict["maximumOutboundRoundTripDelay"])) { + return $this->_propDict["maximumOutboundRoundTripDelay"]; + } else { + $this->_propDict["maximumOutboundRoundTripDelay"] = new \DateInterval($this->_propDict["maximumOutboundRoundTripDelay"]); + return $this->_propDict["maximumOutboundRoundTripDelay"]; + } + } + return null; + } + + /** + * Sets the maximumOutboundRoundTripDelay + * The maximum outbound stream network round trip delay. + * + * @param \DateInterval $val The value to assign to the maximumOutboundRoundTripDelay + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMaximumOutboundRoundTripDelay($val) + { + $this->_propDict["maximumOutboundRoundTripDelay"] = $val; + return $this; + } + + /** + * Gets the mediaDuration + * The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations. + * + * @return \DateInterval|null The mediaDuration + */ + public function getMediaDuration() + { + if (array_key_exists("mediaDuration", $this->_propDict)) { + if (is_a($this->_propDict["mediaDuration"], "\DateInterval") || is_null($this->_propDict["mediaDuration"])) { + return $this->_propDict["mediaDuration"]; + } else { + $this->_propDict["mediaDuration"] = new \DateInterval($this->_propDict["mediaDuration"]); + return $this->_propDict["mediaDuration"]; + } + } + return null; + } + + /** + * Sets the mediaDuration + * The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations. + * + * @param \DateInterval $val The value to assign to the mediaDuration + * + * @return TeleconferenceDeviceMediaQuality The TeleconferenceDeviceMediaQuality + */ + public function setMediaDuration($val) + { + $this->_propDict["mediaDuration"] = $val; + return $this; + } + /** + * Gets the networkLinkSpeedInBytes + * The network link speed in bytes + * + * @return int|null The networkLinkSpeedInBytes + */ + public function getNetworkLinkSpeedInBytes() + { + if (array_key_exists("networkLinkSpeedInBytes", $this->_propDict)) { + return $this->_propDict["networkLinkSpeedInBytes"]; + } else { + return null; + } + } + + /** + * Sets the networkLinkSpeedInBytes + * The network link speed in bytes + * + * @param int $val The value of the networkLinkSpeedInBytes + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setNetworkLinkSpeedInBytes($val) + { + $this->_propDict["networkLinkSpeedInBytes"] = $val; + return $this; + } + /** + * Gets the outboundPackets + * The total number of the outbound packets. + * + * @return int|null The outboundPackets + */ + public function getOutboundPackets() + { + if (array_key_exists("outboundPackets", $this->_propDict)) { + return $this->_propDict["outboundPackets"]; + } else { + return null; + } + } + + /** + * Sets the outboundPackets + * The total number of the outbound packets. + * + * @param int $val The value of the outboundPackets + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setOutboundPackets($val) + { + $this->_propDict["outboundPackets"] = $val; + return $this; + } + /** + * Gets the remoteIPAddress + * The remote IP address for the media session. + * + * @return string|null The remoteIPAddress + */ + public function getRemoteIPAddress() + { + if (array_key_exists("remoteIPAddress", $this->_propDict)) { + return $this->_propDict["remoteIPAddress"]; + } else { + return null; + } + } + + /** + * Sets the remoteIPAddress + * The remote IP address for the media session. + * + * @param string $val The value of the remoteIPAddress + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setRemoteIPAddress($val) + { + $this->_propDict["remoteIPAddress"] = $val; + return $this; + } + /** + * Gets the remotePort + * The remote media port. + * + * @return int|null The remotePort + */ + public function getRemotePort() + { + if (array_key_exists("remotePort", $this->_propDict)) { + return $this->_propDict["remotePort"]; + } else { + return null; + } + } + + /** + * Sets the remotePort + * The remote media port. + * + * @param int $val The value of the remotePort + * + * @return TeleconferenceDeviceMediaQuality + */ + public function setRemotePort($val) + { + $this->_propDict["remotePort"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceQuality.php b/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceQuality.php new file mode 100644 index 0000000..41c307d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceQuality.php @@ -0,0 +1,311 @@ +_propDict)) { + return $this->_propDict["callChainId"]; + } else { + return null; + } + } + + /** + * Sets the callChainId + * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. + * + * @param string $val The value of the callChainId + * + * @return TeleconferenceDeviceQuality + */ + public function setCallChainId($val) + { + $this->_propDict["callChainId"] = $val; + return $this; + } + /** + * Gets the cloudServiceDeploymentEnvironment + * A geo-region where the service is deployed, such as ProdNoam. + * + * @return string|null The cloudServiceDeploymentEnvironment + */ + public function getCloudServiceDeploymentEnvironment() + { + if (array_key_exists("cloudServiceDeploymentEnvironment", $this->_propDict)) { + return $this->_propDict["cloudServiceDeploymentEnvironment"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceDeploymentEnvironment + * A geo-region where the service is deployed, such as ProdNoam. + * + * @param string $val The value of the cloudServiceDeploymentEnvironment + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceDeploymentEnvironment($val) + { + $this->_propDict["cloudServiceDeploymentEnvironment"] = $val; + return $this; + } + /** + * Gets the cloudServiceDeploymentId + * A unique deployment identifier assigned by Azure. + * + * @return string|null The cloudServiceDeploymentId + */ + public function getCloudServiceDeploymentId() + { + if (array_key_exists("cloudServiceDeploymentId", $this->_propDict)) { + return $this->_propDict["cloudServiceDeploymentId"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceDeploymentId + * A unique deployment identifier assigned by Azure. + * + * @param string $val The value of the cloudServiceDeploymentId + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceDeploymentId($val) + { + $this->_propDict["cloudServiceDeploymentId"] = $val; + return $this; + } + /** + * Gets the cloudServiceInstanceName + * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * + * @return string|null The cloudServiceInstanceName + */ + public function getCloudServiceInstanceName() + { + if (array_key_exists("cloudServiceInstanceName", $this->_propDict)) { + return $this->_propDict["cloudServiceInstanceName"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceInstanceName + * The Azure deployed cloud service instance name, such as FrontEnd_IN_3. + * + * @param string $val The value of the cloudServiceInstanceName + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceInstanceName($val) + { + $this->_propDict["cloudServiceInstanceName"] = $val; + return $this; + } + /** + * Gets the cloudServiceName + * The Azure deployed cloud service name, such as contoso.cloudapp.net. + * + * @return string|null The cloudServiceName + */ + public function getCloudServiceName() + { + if (array_key_exists("cloudServiceName", $this->_propDict)) { + return $this->_propDict["cloudServiceName"]; + } else { + return null; + } + } + + /** + * Sets the cloudServiceName + * The Azure deployed cloud service name, such as contoso.cloudapp.net. + * + * @param string $val The value of the cloudServiceName + * + * @return TeleconferenceDeviceQuality + */ + public function setCloudServiceName($val) + { + $this->_propDict["cloudServiceName"] = $val; + return $this; + } + /** + * Gets the deviceDescription + * Any additional description, such as VTC Bldg 30/21. + * + * @return string|null The deviceDescription + */ + public function getDeviceDescription() + { + if (array_key_exists("deviceDescription", $this->_propDict)) { + return $this->_propDict["deviceDescription"]; + } else { + return null; + } + } + + /** + * Sets the deviceDescription + * Any additional description, such as VTC Bldg 30/21. + * + * @param string $val The value of the deviceDescription + * + * @return TeleconferenceDeviceQuality + */ + public function setDeviceDescription($val) + { + $this->_propDict["deviceDescription"] = $val; + return $this; + } + /** + * Gets the deviceName + * The user media agent name, such as Cisco SX80. + * + * @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 user media agent name, such as Cisco SX80. + * + * @param string $val The value of the deviceName + * + * @return TeleconferenceDeviceQuality + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + /** + * Gets the mediaLegId + * A unique identifier for a specific media leg of a participant in a conference. One participant can have multiple media leg identifiers if retargeting happens. CVI partner assigns this value. + * + * @return string|null The mediaLegId + */ + public function getMediaLegId() + { + if (array_key_exists("mediaLegId", $this->_propDict)) { + return $this->_propDict["mediaLegId"]; + } else { + return null; + } + } + + /** + * Sets the mediaLegId + * A unique identifier for a specific media leg of a participant in a conference. One participant can have multiple media leg identifiers if retargeting happens. CVI partner assigns this value. + * + * @param string $val The value of the mediaLegId + * + * @return TeleconferenceDeviceQuality + */ + public function setMediaLegId($val) + { + $this->_propDict["mediaLegId"] = $val; + return $this; + } + + /** + * Gets the mediaQualityList + * The list of media qualities in a media session (call), such as audio quality, video quality, and/or screen sharing quality. + * + * @return TeleconferenceDeviceMediaQuality|null The mediaQualityList + */ + public function getMediaQualityList() + { + if (array_key_exists("mediaQualityList", $this->_propDict)) { + if (is_a($this->_propDict["mediaQualityList"], "\Microsoft\Graph\Model\TeleconferenceDeviceMediaQuality") || is_null($this->_propDict["mediaQualityList"])) { + return $this->_propDict["mediaQualityList"]; + } else { + $this->_propDict["mediaQualityList"] = new TeleconferenceDeviceMediaQuality($this->_propDict["mediaQualityList"]); + return $this->_propDict["mediaQualityList"]; + } + } + return null; + } + + /** + * Sets the mediaQualityList + * The list of media qualities in a media session (call), such as audio quality, video quality, and/or screen sharing quality. + * + * @param TeleconferenceDeviceMediaQuality $val The value to assign to the mediaQualityList + * + * @return TeleconferenceDeviceQuality The TeleconferenceDeviceQuality + */ + public function setMediaQualityList($val) + { + $this->_propDict["mediaQualityList"] = $val; + return $this; + } + /** + * Gets the participantId + * A unique identifier for a specific participant in a conference. The CVI partner needs to copy over Call.MyParticipantId to this property. + * + * @return string|null The participantId + */ + public function getParticipantId() + { + if (array_key_exists("participantId", $this->_propDict)) { + return $this->_propDict["participantId"]; + } else { + return null; + } + } + + /** + * Sets the participantId + * A unique identifier for a specific participant in a conference. The CVI partner needs to copy over Call.MyParticipantId to this property. + * + * @param string $val The value of the participantId + * + * @return TeleconferenceDeviceQuality + */ + public function setParticipantId($val) + { + $this->_propDict["participantId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceScreenSharingQuality.php b/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceScreenSharingQuality.php new file mode 100644 index 0000000..816c708 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceScreenSharingQuality.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["averageInboundBitRate"]; + } else { + return null; + } + } + + /** + * Sets the averageInboundBitRate + * The average inbound stream video bit rate per second. + * + * @param float $val The value of the averageInboundBitRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageInboundBitRate($val) + { + $this->_propDict["averageInboundBitRate"] = $val; + return $this; + } + /** + * Gets the averageInboundFrameRate + * The average inbound stream video frame rate per second. + * + * @return float|null The averageInboundFrameRate + */ + public function getAverageInboundFrameRate() + { + if (array_key_exists("averageInboundFrameRate", $this->_propDict)) { + return $this->_propDict["averageInboundFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageInboundFrameRate + * The average inbound stream video frame rate per second. + * + * @param float $val The value of the averageInboundFrameRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageInboundFrameRate($val) + { + $this->_propDict["averageInboundFrameRate"] = $val; + return $this; + } + /** + * Gets the averageOutboundBitRate + * The average outbound stream video bit rate per second. + * + * @return float|null The averageOutboundBitRate + */ + public function getAverageOutboundBitRate() + { + if (array_key_exists("averageOutboundBitRate", $this->_propDict)) { + return $this->_propDict["averageOutboundBitRate"]; + } else { + return null; + } + } + + /** + * Sets the averageOutboundBitRate + * The average outbound stream video bit rate per second. + * + * @param float $val The value of the averageOutboundBitRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageOutboundBitRate($val) + { + $this->_propDict["averageOutboundBitRate"] = $val; + return $this; + } + /** + * Gets the averageOutboundFrameRate + * The average outbound stream video frame rate per second. + * + * @return float|null The averageOutboundFrameRate + */ + public function getAverageOutboundFrameRate() + { + if (array_key_exists("averageOutboundFrameRate", $this->_propDict)) { + return $this->_propDict["averageOutboundFrameRate"]; + } else { + return null; + } + } + + /** + * Sets the averageOutboundFrameRate + * The average outbound stream video frame rate per second. + * + * @param float $val The value of the averageOutboundFrameRate + * + * @return TeleconferenceDeviceVideoQuality + */ + public function setAverageOutboundFrameRate($val) + { + $this->_propDict["averageOutboundFrameRate"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TermColumn.php b/vendor/microsoft/microsoft-graph/src/Model/TermColumn.php new file mode 100644 index 0000000..c636310 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TermColumn.php @@ -0,0 +1,144 @@ +_propDict)) { + return $this->_propDict["allowMultipleValues"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleValues + * Specifies whether the column will allow more than one value + * + * @param bool $val The value of the allowMultipleValues + * + * @return TermColumn + */ + public function setAllowMultipleValues($val) + { + $this->_propDict["allowMultipleValues"] = $val; + return $this; + } + /** + * Gets the showFullyQualifiedName + * Specifies whether to display the entire term path or only the term label. + * + * @return bool|null The showFullyQualifiedName + */ + public function getShowFullyQualifiedName() + { + if (array_key_exists("showFullyQualifiedName", $this->_propDict)) { + return $this->_propDict["showFullyQualifiedName"]; + } else { + return null; + } + } + + /** + * Sets the showFullyQualifiedName + * Specifies whether to display the entire term path or only the term label. + * + * @param bool $val The value of the showFullyQualifiedName + * + * @return TermColumn + */ + public function setShowFullyQualifiedName($val) + { + $this->_propDict["showFullyQualifiedName"] = $val; + return $this; + } + + /** + * Gets the parentTerm + * + * @return \Microsoft\Graph\TermStore\Model\Term|null The parentTerm + */ + public function getParentTerm() + { + if (array_key_exists("parentTerm", $this->_propDict)) { + if (is_a($this->_propDict["parentTerm"], "\Microsoft\Graph\TermStore\Model\Term") || is_null($this->_propDict["parentTerm"])) { + return $this->_propDict["parentTerm"]; + } else { + $this->_propDict["parentTerm"] = new \Microsoft\Graph\TermStore\Model\Term($this->_propDict["parentTerm"]); + return $this->_propDict["parentTerm"]; + } + } + return null; + } + + /** + * Sets the parentTerm + * + * @param \Microsoft\Graph\TermStore\Model\Term $val The value to assign to the parentTerm + * + * @return TermColumn The TermColumn + */ + public function setParentTerm($val) + { + $this->_propDict["parentTerm"] = $val; + return $this; + } + + /** + * Gets the termSet + * + * @return \Microsoft\Graph\TermStore\Model\Set|null The termSet + */ + public function getTermSet() + { + if (array_key_exists("termSet", $this->_propDict)) { + if (is_a($this->_propDict["termSet"], "\Microsoft\Graph\TermStore\Model\Set") || is_null($this->_propDict["termSet"])) { + return $this->_propDict["termSet"]; + } else { + $this->_propDict["termSet"] = new \Microsoft\Graph\TermStore\Model\Set($this->_propDict["termSet"]); + return $this->_propDict["termSet"]; + } + } + return null; + } + + /** + * Sets the termSet + * + * @param \Microsoft\Graph\TermStore\Model\Set $val The value to assign to the termSet + * + * @return TermColumn The TermColumn + */ + public function setTermSet($val) + { + $this->_propDict["termSet"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditions.php b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditions.php new file mode 100644 index 0000000..bb5270d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditions.php @@ -0,0 +1,327 @@ +_propDict)) { + return $this->_propDict["acceptanceStatement"]; + } else { + return null; + } + } + + /** + * Sets the acceptanceStatement + * Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy. + * + * @param string $val The acceptanceStatement + * + * @return TermsAndConditions + */ + public function setAcceptanceStatement($val) + { + $this->_propDict["acceptanceStatement"] = $val; + return $this; + } + + /** + * Gets the bodyText + * Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. + * + * @return string|null The bodyText + */ + public function getBodyText() + { + if (array_key_exists("bodyText", $this->_propDict)) { + return $this->_propDict["bodyText"]; + } else { + return null; + } + } + + /** + * Sets the bodyText + * Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. + * + * @param string $val The bodyText + * + * @return TermsAndConditions + */ + public function setBodyText($val) + { + $this->_propDict["bodyText"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * DateTime the object was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * DateTime the object was created. + * + * @param \DateTime $val The createdDateTime + * + * @return TermsAndConditions + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Administrator-supplied description of the T&C policy. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Administrator-supplied description of the T&C policy. + * + * @param string $val The description + * + * @return TermsAndConditions + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Administrator-supplied name for the T&C policy. + * + * @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 + * Administrator-supplied name for the T&C policy. + * + * @param string $val The displayName + * + * @return TermsAndConditions + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * DateTime the object was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TermsAndConditions + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the title + * Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. + * + * @param string $val The title + * + * @return TermsAndConditions + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the version + * Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. + * + * @return int|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. + * + * @param int $val The version + * + * @return TermsAndConditions + */ + public function setVersion($val) + { + $this->_propDict["version"] = intval($val); + return $this; + } + + + /** + * Gets the acceptanceStatuses + * The list of acceptance statuses for this T&C policy. + * + * @return array|null The acceptanceStatuses + */ + public function getAcceptanceStatuses() + { + if (array_key_exists("acceptanceStatuses", $this->_propDict)) { + return $this->_propDict["acceptanceStatuses"]; + } else { + return null; + } + } + + /** + * Sets the acceptanceStatuses + * The list of acceptance statuses for this T&C policy. + * + * @param TermsAndConditionsAcceptanceStatus[] $val The acceptanceStatuses + * + * @return TermsAndConditions + */ + public function setAcceptanceStatuses($val) + { + $this->_propDict["acceptanceStatuses"] = $val; + return $this; + } + + + /** + * Gets the assignments + * The list of assignments for this T&C policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * The list of assignments for this T&C policy. + * + * @param TermsAndConditionsAssignment[] $val The assignments + * + * @return TermsAndConditions + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAcceptanceStatus.php b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAcceptanceStatus.php new file mode 100644 index 0000000..50942bd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAcceptanceStatus.php @@ -0,0 +1,180 @@ +_propDict)) { + if (is_a($this->_propDict["acceptedDateTime"], "\DateTime") || is_null($this->_propDict["acceptedDateTime"])) { + return $this->_propDict["acceptedDateTime"]; + } else { + $this->_propDict["acceptedDateTime"] = new \DateTime($this->_propDict["acceptedDateTime"]); + return $this->_propDict["acceptedDateTime"]; + } + } + return null; + } + + /** + * Sets the acceptedDateTime + * DateTime when the terms were last accepted by the user. + * + * @param \DateTime $val The acceptedDateTime + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setAcceptedDateTime($val) + { + $this->_propDict["acceptedDateTime"] = $val; + return $this; + } + + /** + * Gets the acceptedVersion + * Most recent version number of the T&C accepted by the user. + * + * @return int|null The acceptedVersion + */ + public function getAcceptedVersion() + { + if (array_key_exists("acceptedVersion", $this->_propDict)) { + return $this->_propDict["acceptedVersion"]; + } else { + return null; + } + } + + /** + * Sets the acceptedVersion + * Most recent version number of the T&C accepted by the user. + * + * @param int $val The acceptedVersion + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setAcceptedVersion($val) + { + $this->_propDict["acceptedVersion"] = intval($val); + return $this; + } + + /** + * Gets the userDisplayName + * Display name of the user whose acceptance the entity represents. + * + * @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 + * Display name of the user whose acceptance the entity represents. + * + * @param string $val The userDisplayName + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setUserDisplayName($val) + { + $this->_propDict["userDisplayName"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The userPrincipalName of the User that accepted the term. + * + * @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 + * The userPrincipalName of the User that accepted the term. + * + * @param string $val The userPrincipalName + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the termsAndConditions + * Navigation link to the terms and conditions that are assigned. + * + * @return TermsAndConditions|null The termsAndConditions + */ + public function getTermsAndConditions() + { + if (array_key_exists("termsAndConditions", $this->_propDict)) { + if (is_a($this->_propDict["termsAndConditions"], "\Microsoft\Graph\Model\TermsAndConditions") || is_null($this->_propDict["termsAndConditions"])) { + return $this->_propDict["termsAndConditions"]; + } else { + $this->_propDict["termsAndConditions"] = new TermsAndConditions($this->_propDict["termsAndConditions"]); + return $this->_propDict["termsAndConditions"]; + } + } + return null; + } + + /** + * Sets the termsAndConditions + * Navigation link to the terms and conditions that are assigned. + * + * @param TermsAndConditions $val The termsAndConditions + * + * @return TermsAndConditionsAcceptanceStatus + */ + public function setTermsAndConditions($val) + { + $this->_propDict["termsAndConditions"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAssignment.php new file mode 100644 index 0000000..4447de5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAssignment.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * Assignment target that the T&C policy is assigned to. + * + * @param DeviceAndAppManagementAssignmentTarget $val The target + * + * @return TermsAndConditionsAssignment + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TermsExpiration.php b/vendor/microsoft/microsoft-graph/src/Model/TermsExpiration.php new file mode 100644 index 0000000..a8c657f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TermsExpiration.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["frequency"], "\DateInterval") || is_null($this->_propDict["frequency"])) { + return $this->_propDict["frequency"]; + } else { + $this->_propDict["frequency"] = new \DateInterval($this->_propDict["frequency"]); + return $this->_propDict["frequency"]; + } + } + return null; + } + + /** + * Sets the frequency + * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of 1 month. + * + * @param \DateInterval $val The value to assign to the frequency + * + * @return TermsExpiration The TermsExpiration + */ + public function setFrequency($val) + { + $this->_propDict["frequency"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The DateTime when the agreement is set to expire for all users. 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 startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The DateTime when the agreement is set to expire for all users. 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 startDateTime + * + * @return TermsExpiration The TermsExpiration + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TermsOfUseContainer.php b/vendor/microsoft/microsoft-graph/src/Model/TermsOfUseContainer.php new file mode 100644 index 0000000..054b872 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TermsOfUseContainer.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["agreementAcceptances"]; + } else { + return null; + } + } + + /** + * Sets the agreementAcceptances + * Represents the current status of a user's response to a company's customizable terms of use agreement. + * + * @param AgreementAcceptance[] $val The agreementAcceptances + * + * @return TermsOfUseContainer + */ + public function setAgreementAcceptances($val) + { + $this->_propDict["agreementAcceptances"] = $val; + return $this; + } + + + /** + * Gets the agreements + * Represents a tenant's customizable terms of use agreement that's created and managed with Azure Active Directory (Azure AD). + * + * @return array|null The agreements + */ + public function getAgreements() + { + if (array_key_exists("agreements", $this->_propDict)) { + return $this->_propDict["agreements"]; + } else { + return null; + } + } + + /** + * Sets the agreements + * Represents a tenant's customizable terms of use agreement that's created and managed with Azure Active Directory (Azure AD). + * + * @param Agreement[] $val The agreements + * + * @return TermsOfUseContainer + */ + public function setAgreements($val) + { + $this->_propDict["agreements"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TextColumn.php b/vendor/microsoft/microsoft-graph/src/Model/TextColumn.php new file mode 100644 index 0000000..271c82f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TextColumn.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["allowMultipleLines"]; + } else { + return null; + } + } + + /** + * Sets the allowMultipleLines + * Whether to allow multiple lines of text. + * + * @param bool $val The value of the allowMultipleLines + * + * @return TextColumn + */ + public function setAllowMultipleLines($val) + { + $this->_propDict["allowMultipleLines"] = $val; + return $this; + } + /** + * Gets the appendChangesToExistingText + * Whether updates to this column should replace existing text, or append to it. + * + * @return bool|null The appendChangesToExistingText + */ + public function getAppendChangesToExistingText() + { + if (array_key_exists("appendChangesToExistingText", $this->_propDict)) { + return $this->_propDict["appendChangesToExistingText"]; + } else { + return null; + } + } + + /** + * Sets the appendChangesToExistingText + * Whether updates to this column should replace existing text, or append to it. + * + * @param bool $val The value of the appendChangesToExistingText + * + * @return TextColumn + */ + public function setAppendChangesToExistingText($val) + { + $this->_propDict["appendChangesToExistingText"] = $val; + return $this; + } + /** + * Gets the linesForEditing + * The size of the text box. + * + * @return int|null The linesForEditing + */ + public function getLinesForEditing() + { + if (array_key_exists("linesForEditing", $this->_propDict)) { + return $this->_propDict["linesForEditing"]; + } else { + return null; + } + } + + /** + * Sets the linesForEditing + * The size of the text box. + * + * @param int $val The value of the linesForEditing + * + * @return TextColumn + */ + public function setLinesForEditing($val) + { + $this->_propDict["linesForEditing"] = $val; + return $this; + } + /** + * Gets the maxLength + * The maximum number of characters for the value. + * + * @return int|null The maxLength + */ + public function getMaxLength() + { + if (array_key_exists("maxLength", $this->_propDict)) { + return $this->_propDict["maxLength"]; + } else { + return null; + } + } + + /** + * Sets the maxLength + * The maximum number of characters for the value. + * + * @param int $val The value of the maxLength + * + * @return TextColumn + */ + public function setMaxLength($val) + { + $this->_propDict["maxLength"] = $val; + return $this; + } + /** + * Gets the textType + * The type of text being stored. Must be one of plain or richText + * + * @return string|null The textType + */ + public function getTextType() + { + if (array_key_exists("textType", $this->_propDict)) { + return $this->_propDict["textType"]; + } else { + return null; + } + } + + /** + * Sets the textType + * The type of text being stored. Must be one of plain or richText + * + * @param string $val The value of the textType + * + * @return TextColumn + */ + public function setTextType($val) + { + $this->_propDict["textType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentContentType.php b/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentContentType.php new file mode 100644 index 0000000..3ddb85f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentContentType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["category"], "\Microsoft\Graph\Model\ThreatCategory") || is_null($this->_propDict["category"])) { + return $this->_propDict["category"]; + } else { + $this->_propDict["category"] = new ThreatCategory($this->_propDict["category"]); + return $this->_propDict["category"]; + } + } + return null; + } + + /** + * Sets the category + * The threat category. Possible values are: spam, phishing, malware. + * + * @param ThreatCategory $val The category + * + * @return ThreatAssessmentRequest + */ + public function setCategory($val) + { + $this->_propDict["category"] = $val; + return $this; + } + + /** + * Gets the contentType + * The content type of threat assessment. Possible values are: mail, url, file. + * + * @return ThreatAssessmentContentType|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\ThreatAssessmentContentType") || is_null($this->_propDict["contentType"])) { + return $this->_propDict["contentType"]; + } else { + $this->_propDict["contentType"] = new ThreatAssessmentContentType($this->_propDict["contentType"]); + return $this->_propDict["contentType"]; + } + } + return null; + } + + /** + * Sets the contentType + * The content type of threat assessment. Possible values are: mail, url, file. + * + * @param ThreatAssessmentContentType $val The contentType + * + * @return ThreatAssessmentRequest + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + /** + * Gets the createdBy + * The threat assessment request creator. + * + * @return IdentitySet|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * The threat assessment request creator. + * + * @param IdentitySet $val The createdBy + * + * @return ThreatAssessmentRequest + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * 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 createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ThreatAssessmentRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the expectedAssessment + * The expected assessment from submitter. Possible values are: block, unblock. + * + * @return ThreatExpectedAssessment|null The expectedAssessment + */ + public function getExpectedAssessment() + { + if (array_key_exists("expectedAssessment", $this->_propDict)) { + if (is_a($this->_propDict["expectedAssessment"], "\Microsoft\Graph\Model\ThreatExpectedAssessment") || is_null($this->_propDict["expectedAssessment"])) { + return $this->_propDict["expectedAssessment"]; + } else { + $this->_propDict["expectedAssessment"] = new ThreatExpectedAssessment($this->_propDict["expectedAssessment"]); + return $this->_propDict["expectedAssessment"]; + } + } + return null; + } + + /** + * Sets the expectedAssessment + * The expected assessment from submitter. Possible values are: block, unblock. + * + * @param ThreatExpectedAssessment $val The expectedAssessment + * + * @return ThreatAssessmentRequest + */ + public function setExpectedAssessment($val) + { + $this->_propDict["expectedAssessment"] = $val; + return $this; + } + + /** + * Gets the requestSource + * The source of the threat assessment request. Possible values are: user, administrator. + * + * @return ThreatAssessmentRequestSource|null The requestSource + */ + public function getRequestSource() + { + if (array_key_exists("requestSource", $this->_propDict)) { + if (is_a($this->_propDict["requestSource"], "\Microsoft\Graph\Model\ThreatAssessmentRequestSource") || is_null($this->_propDict["requestSource"])) { + return $this->_propDict["requestSource"]; + } else { + $this->_propDict["requestSource"] = new ThreatAssessmentRequestSource($this->_propDict["requestSource"]); + return $this->_propDict["requestSource"]; + } + } + return null; + } + + /** + * Sets the requestSource + * The source of the threat assessment request. Possible values are: user, administrator. + * + * @param ThreatAssessmentRequestSource $val The requestSource + * + * @return ThreatAssessmentRequest + */ + public function setRequestSource($val) + { + $this->_propDict["requestSource"] = $val; + return $this; + } + + /** + * Gets the status + * The assessment process status. Possible values are: pending, completed. + * + * @return ThreatAssessmentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ThreatAssessmentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new ThreatAssessmentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The assessment process status. Possible values are: pending, completed. + * + * @param ThreatAssessmentStatus $val The status + * + * @return ThreatAssessmentRequest + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + + /** + * Gets the results + * A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. + * + * @return array|null The results + */ + public function getResults() + { + if (array_key_exists("results", $this->_propDict)) { + return $this->_propDict["results"]; + } else { + return null; + } + } + + /** + * Sets the results + * A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. + * + * @param ThreatAssessmentResult[] $val The results + * + * @return ThreatAssessmentRequest + */ + public function setResults($val) + { + $this->_propDict["results"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentRequestSource.php b/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentRequestSource.php new file mode 100644 index 0000000..8f85b7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentRequestSource.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * 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 createdDateTime + * + * @return ThreatAssessmentResult + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the message + * The result message for each threat assessment. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The result message for each threat assessment. + * + * @param string $val The message + * + * @return ThreatAssessmentResult + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } + + /** + * Gets the resultType + * The threat assessment result type. Possible values are: checkPolicy (only for mail assessment), rescan. + * + * @return ThreatAssessmentResultType|null The resultType + */ + public function getResultType() + { + if (array_key_exists("resultType", $this->_propDict)) { + if (is_a($this->_propDict["resultType"], "\Microsoft\Graph\Model\ThreatAssessmentResultType") || is_null($this->_propDict["resultType"])) { + return $this->_propDict["resultType"]; + } else { + $this->_propDict["resultType"] = new ThreatAssessmentResultType($this->_propDict["resultType"]); + return $this->_propDict["resultType"]; + } + } + return null; + } + + /** + * Sets the resultType + * The threat assessment result type. Possible values are: checkPolicy (only for mail assessment), rescan. + * + * @param ThreatAssessmentResultType $val The resultType + * + * @return ThreatAssessmentResult + */ + public function setResultType($val) + { + $this->_propDict["resultType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentResultType.php b/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentResultType.php new file mode 100644 index 0000000..b6bca34 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentResultType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content stream for the thumbnail. + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the content + * + * @return Thumbnail The Thumbnail + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the height + * The height of the thumbnail, in pixels. + * + * @return int|null The height + */ + public function getHeight() + { + if (array_key_exists("height", $this->_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * The height of the thumbnail, in pixels. + * + * @param int $val The value of the height + * + * @return Thumbnail + */ + public function setHeight($val) + { + $this->_propDict["height"] = $val; + return $this; + } + /** + * Gets the sourceItemId + * The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested. + * + * @return string|null The sourceItemId + */ + public function getSourceItemId() + { + if (array_key_exists("sourceItemId", $this->_propDict)) { + return $this->_propDict["sourceItemId"]; + } else { + return null; + } + } + + /** + * Sets the sourceItemId + * The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested. + * + * @param string $val The value of the sourceItemId + * + * @return Thumbnail + */ + public function setSourceItemId($val) + { + $this->_propDict["sourceItemId"] = $val; + return $this; + } + /** + * Gets the url + * The URL used to fetch the thumbnail content. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The URL used to fetch the thumbnail content. + * + * @param string $val The value of the url + * + * @return Thumbnail + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + /** + * Gets the width + * The width of the thumbnail, in pixels. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * The width of the thumbnail, in pixels. + * + * @param int $val The value of the width + * + * @return Thumbnail + */ + public function setWidth($val) + { + $this->_propDict["width"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ThumbnailColumn.php b/vendor/microsoft/microsoft-graph/src/Model/ThumbnailColumn.php new file mode 100644 index 0000000..197dc3d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/ThumbnailColumn.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["large"], "\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["large"])) { + return $this->_propDict["large"]; + } else { + $this->_propDict["large"] = new Thumbnail($this->_propDict["large"]); + return $this->_propDict["large"]; + } + } + return null; + } + + /** + * Sets the large + * A 1920x1920 scaled thumbnail. + * + * @param Thumbnail $val The large + * + * @return ThumbnailSet + */ + public function setLarge($val) + { + $this->_propDict["large"] = $val; + return $this; + } + + /** + * Gets the medium + * A 176x176 scaled thumbnail. + * + * @return Thumbnail|null The medium + */ + public function getMedium() + { + if (array_key_exists("medium", $this->_propDict)) { + if (is_a($this->_propDict["medium"], "\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["medium"])) { + return $this->_propDict["medium"]; + } else { + $this->_propDict["medium"] = new Thumbnail($this->_propDict["medium"]); + return $this->_propDict["medium"]; + } + } + return null; + } + + /** + * Sets the medium + * A 176x176 scaled thumbnail. + * + * @param Thumbnail $val The medium + * + * @return ThumbnailSet + */ + public function setMedium($val) + { + $this->_propDict["medium"] = $val; + return $this; + } + + /** + * Gets the small + * A 48x48 cropped thumbnail. + * + * @return Thumbnail|null The small + */ + public function getSmall() + { + if (array_key_exists("small", $this->_propDict)) { + if (is_a($this->_propDict["small"], "\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["small"])) { + return $this->_propDict["small"]; + } else { + $this->_propDict["small"] = new Thumbnail($this->_propDict["small"]); + return $this->_propDict["small"]; + } + } + return null; + } + + /** + * Sets the small + * A 48x48 cropped thumbnail. + * + * @param Thumbnail $val The small + * + * @return ThumbnailSet + */ + public function setSmall($val) + { + $this->_propDict["small"] = $val; + return $this; + } + + /** + * Gets the source + * A custom thumbnail image or the original image used to generate other thumbnails. + * + * @return Thumbnail|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\Thumbnail") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new Thumbnail($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * A custom thumbnail image or the original image used to generate other thumbnails. + * + * @param Thumbnail $val The source + * + * @return ThumbnailSet + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TicketInfo.php b/vendor/microsoft/microsoft-graph/src/Model/TicketInfo.php new file mode 100644 index 0000000..8580ebc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TicketInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["ticketNumber"]; + } else { + return null; + } + } + + /** + * Sets the ticketNumber + * Ticket number meta data + * + * @param string $val The value of the ticketNumber + * + * @return TicketInfo + */ + public function setTicketNumber($val) + { + $this->_propDict["ticketNumber"] = $val; + return $this; + } + /** + * Gets the ticketSystem + * Ticket system meta data + * + * @return string|null The ticketSystem + */ + public function getTicketSystem() + { + if (array_key_exists("ticketSystem", $this->_propDict)) { + return $this->_propDict["ticketSystem"]; + } else { + return null; + } + } + + /** + * Sets the ticketSystem + * Ticket system meta data + * + * @param string $val The value of the ticketSystem + * + * @return TicketInfo + */ + public function setTicketSystem($val) + { + $this->_propDict["ticketSystem"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeConstraint.php b/vendor/microsoft/microsoft-graph/src/Model/TimeConstraint.php new file mode 100644 index 0000000..6e63a38 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeConstraint.php @@ -0,0 +1,90 @@ +_propDict)) { + if (is_a($this->_propDict["activityDomain"], "\Microsoft\Graph\Model\ActivityDomain") || is_null($this->_propDict["activityDomain"])) { + return $this->_propDict["activityDomain"]; + } else { + $this->_propDict["activityDomain"] = new ActivityDomain($this->_propDict["activityDomain"]); + return $this->_propDict["activityDomain"]; + } + } + return null; + } + + /** + * Sets the activityDomain + * The nature of the activity, optional. Possible values are: work, personal, unrestricted, or unknown. + * + * @param ActivityDomain $val The value to assign to the activityDomain + * + * @return TimeConstraint The TimeConstraint + */ + public function setActivityDomain($val) + { + $this->_propDict["activityDomain"] = $val; + return $this; + } + + /** + * Gets the timeSlots + * + * @return TimeSlot|null The timeSlots + */ + public function getTimeSlots() + { + if (array_key_exists("timeSlots", $this->_propDict)) { + if (is_a($this->_propDict["timeSlots"], "\Microsoft\Graph\Model\TimeSlot") || is_null($this->_propDict["timeSlots"])) { + return $this->_propDict["timeSlots"]; + } else { + $this->_propDict["timeSlots"] = new TimeSlot($this->_propDict["timeSlots"]); + return $this->_propDict["timeSlots"]; + } + } + return null; + } + + /** + * Sets the timeSlots + * + * @param TimeSlot $val The value to assign to the timeSlots + * + * @return TimeConstraint The TimeConstraint + */ + public function setTimeSlots($val) + { + $this->_propDict["timeSlots"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeOff.php b/vendor/microsoft/microsoft-graph/src/Model/TimeOff.php new file mode 100644 index 0000000..f8db061 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeOff.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["draftTimeOff"], "\Microsoft\Graph\Model\TimeOffItem") || is_null($this->_propDict["draftTimeOff"])) { + return $this->_propDict["draftTimeOff"]; + } else { + $this->_propDict["draftTimeOff"] = new TimeOffItem($this->_propDict["draftTimeOff"]); + return $this->_propDict["draftTimeOff"]; + } + } + return null; + } + + /** + * Sets the draftTimeOff + * The draft version of this timeOff that is viewable by managers. Required. + * + * @param TimeOffItem $val The draftTimeOff + * + * @return TimeOff + */ + public function setDraftTimeOff($val) + { + $this->_propDict["draftTimeOff"] = $val; + return $this; + } + + /** + * Gets the sharedTimeOff + * The shared version of this timeOff that is viewable by both employees and managers. Required. + * + * @return TimeOffItem|null The sharedTimeOff + */ + public function getSharedTimeOff() + { + if (array_key_exists("sharedTimeOff", $this->_propDict)) { + if (is_a($this->_propDict["sharedTimeOff"], "\Microsoft\Graph\Model\TimeOffItem") || is_null($this->_propDict["sharedTimeOff"])) { + return $this->_propDict["sharedTimeOff"]; + } else { + $this->_propDict["sharedTimeOff"] = new TimeOffItem($this->_propDict["sharedTimeOff"]); + return $this->_propDict["sharedTimeOff"]; + } + } + return null; + } + + /** + * Sets the sharedTimeOff + * The shared version of this timeOff that is viewable by both employees and managers. Required. + * + * @param TimeOffItem $val The sharedTimeOff + * + * @return TimeOff + */ + public function setSharedTimeOff($val) + { + $this->_propDict["sharedTimeOff"] = $val; + return $this; + } + + /** + * Gets the userId + * ID of the user assigned to the timeOff. Required. + * + * @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 + * ID of the user assigned to the timeOff. Required. + * + * @param string $val The userId + * + * @return TimeOff + */ + public function setUserId($val) + { + $this->_propDict["userId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeOffItem.php b/vendor/microsoft/microsoft-graph/src/Model/TimeOffItem.php new file mode 100644 index 0000000..27057b8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeOffItem.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["timeOffReasonId"]; + } else { + return null; + } + } + + /** + * Sets the timeOffReasonId + * ID of the timeOffReason for this timeOffItem. Required. + * + * @param string $val The value of the timeOffReasonId + * + * @return TimeOffItem + */ + public function setTimeOffReasonId($val) + { + $this->_propDict["timeOffReasonId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeOffReason.php b/vendor/microsoft/microsoft-graph/src/Model/TimeOffReason.php new file mode 100644 index 0000000..4666a1f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeOffReason.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the timeOffReason. Required. + * + * @param string $val The displayName + * + * @return TimeOffReason + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the iconType + * Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Required. + * + * @return TimeOffReasonIconType|null The iconType + */ + public function getIconType() + { + if (array_key_exists("iconType", $this->_propDict)) { + if (is_a($this->_propDict["iconType"], "\Microsoft\Graph\Model\TimeOffReasonIconType") || is_null($this->_propDict["iconType"])) { + return $this->_propDict["iconType"]; + } else { + $this->_propDict["iconType"] = new TimeOffReasonIconType($this->_propDict["iconType"]); + return $this->_propDict["iconType"]; + } + } + return null; + } + + /** + * Sets the iconType + * Supported icon types: none; car; calendar; running; plane; firstAid; doctor; notWorking; clock; juryDuty; globe; cup; phone; weather; umbrella; piggyBank; dog; cake; trafficCone; pin; sunny. Required. + * + * @param TimeOffReasonIconType $val The iconType + * + * @return TimeOffReason + */ + public function setIconType($val) + { + $this->_propDict["iconType"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required. + * + * @param bool $val The isActive + * + * @return TimeOffReason + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeOffReasonIconType.php b/vendor/microsoft/microsoft-graph/src/Model/TimeOffReasonIconType.php new file mode 100644 index 0000000..b7b85dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeOffReasonIconType.php @@ -0,0 +1,54 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * 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 endDateTime + * + * @return TimeOffRequest + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * + * @param \DateTime $val The startDateTime + * + * @return TimeOffRequest + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the timeOffReasonId + * The reason for the time off. + * + * @return string|null The timeOffReasonId + */ + public function getTimeOffReasonId() + { + if (array_key_exists("timeOffReasonId", $this->_propDict)) { + return $this->_propDict["timeOffReasonId"]; + } else { + return null; + } + } + + /** + * Sets the timeOffReasonId + * The reason for the time off. + * + * @param string $val The timeOffReasonId + * + * @return TimeOffRequest + */ + public function setTimeOffReasonId($val) + { + $this->_propDict["timeOffReasonId"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeRange.php b/vendor/microsoft/microsoft-graph/src/Model/TimeRange.php new file mode 100644 index 0000000..6086d7c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeRange.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { + return $this->_propDict["endTime"]; + } else { + $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); + return $this->_propDict["endTime"]; + } + } + return null; + } + + /** + * Sets the endTime + * End time for the time range. + * + * @param TimeOfDay $val The value to assign to the endTime + * + * @return TimeRange The TimeRange + */ + public function setEndTime($val) + { + $this->_propDict["endTime"] = $val; + return $this; + } + + /** + * Gets the startTime + * Start time for the time range. + * + * @return TimeOfDay|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * Start time for the time range. + * + * @param TimeOfDay $val The value to assign to the startTime + * + * @return TimeRange The TimeRange + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeSlot.php b/vendor/microsoft/microsoft-graph/src/Model/TimeSlot.php new file mode 100644 index 0000000..d364dfa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeSlot.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["end"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["end"])) { + return $this->_propDict["end"]; + } else { + $this->_propDict["end"] = new DateTimeTimeZone($this->_propDict["end"]); + return $this->_propDict["end"]; + } + } + return null; + } + + /** + * Sets the end + * The date, time, and time zone that a period ends. + * + * @param DateTimeTimeZone $val The value to assign to the end + * + * @return TimeSlot The TimeSlot + */ + public function setEnd($val) + { + $this->_propDict["end"] = $val; + return $this; + } + + /** + * Gets the start + * The date, time, and time zone that a period begins. + * + * @return DateTimeTimeZone|null The start + */ + public function getStart() + { + if (array_key_exists("start", $this->_propDict)) { + if (is_a($this->_propDict["start"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["start"])) { + return $this->_propDict["start"]; + } else { + $this->_propDict["start"] = new DateTimeTimeZone($this->_propDict["start"]); + return $this->_propDict["start"]; + } + } + return null; + } + + /** + * Sets the start + * The date, time, and time zone that a period begins. + * + * @param DateTimeTimeZone $val The value to assign to the start + * + * @return TimeSlot The TimeSlot + */ + public function setStart($val) + { + $this->_propDict["start"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeZoneBase.php b/vendor/microsoft/microsoft-graph/src/Model/TimeZoneBase.php new file mode 100644 index 0000000..78675a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeZoneBase.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone. + * + * @param string $val The value of the name + * + * @return TimeZoneBase + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeZoneInformation.php b/vendor/microsoft/microsoft-graph/src/Model/TimeZoneInformation.php new file mode 100644 index 0000000..230d530 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeZoneInformation.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["alias"]; + } else { + return null; + } + } + + /** + * Sets the alias + * An identifier for the time zone. + * + * @param string $val The value of the alias + * + * @return TimeZoneInformation + */ + public function setAlias($val) + { + $this->_propDict["alias"] = $val; + return $this; + } + /** + * Gets the displayName + * A display string that represents the time zone. + * + * @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 + * A display string that represents the time zone. + * + * @param string $val The value of the displayName + * + * @return TimeZoneInformation + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TimeZoneStandard.php b/vendor/microsoft/microsoft-graph/src/Model/TimeZoneStandard.php new file mode 100644 index 0000000..379c80d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TimeZoneStandard.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["lists"]; + } else { + return null; + } + } + + /** + * Sets the lists + * The task lists in the users mailbox. + * + * @param TodoTaskList[] $val The lists + * + * @return Todo + */ + public function setLists($val) + { + $this->_propDict["lists"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TodoTask.php b/vendor/microsoft/microsoft-graph/src/Model/TodoTask.php new file mode 100644 index 0000000..b0140e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TodoTask.php @@ -0,0 +1,530 @@ +_propDict)) { + if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) { + return $this->_propDict["body"]; + } else { + $this->_propDict["body"] = new ItemBody($this->_propDict["body"]); + return $this->_propDict["body"]; + } + } + return null; + } + + /** + * Sets the body + * The task body that typically contains information about the task. + * + * @param ItemBody $val The body + * + * @return TodoTask + */ + public function setBody($val) + { + $this->_propDict["body"] = $val; + return $this; + } + + /** + * Gets the bodyLastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The bodyLastModifiedDateTime + */ + public function getBodyLastModifiedDateTime() + { + if (array_key_exists("bodyLastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["bodyLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["bodyLastModifiedDateTime"])) { + return $this->_propDict["bodyLastModifiedDateTime"]; + } else { + $this->_propDict["bodyLastModifiedDateTime"] = new \DateTime($this->_propDict["bodyLastModifiedDateTime"]); + return $this->_propDict["bodyLastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the bodyLastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The bodyLastModifiedDateTime + * + * @return TodoTask + */ + public function setBodyLastModifiedDateTime($val) + { + $this->_propDict["bodyLastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the categories + * + * @return string|null The categories + */ + public function getCategories() + { + if (array_key_exists("categories", $this->_propDict)) { + return $this->_propDict["categories"]; + } else { + return null; + } + } + + /** + * Sets the categories + * + * @param string $val The categories + * + * @return TodoTask + */ + public function setCategories($val) + { + $this->_propDict["categories"] = $val; + return $this; + } + + /** + * Gets the completedDateTime + * The date in the specified time zone that the task was finished. + * + * @return DateTimeTimeZone|null The completedDateTime + */ + public function getCompletedDateTime() + { + if (array_key_exists("completedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new DateTimeTimeZone($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * The date in the specified time zone that the task was finished. + * + * @param DateTimeTimeZone $val The completedDateTime + * + * @return TodoTask + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The createdDateTime + * + * @return TodoTask + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * The date in the specified time zone that the task is to be finished. + * + * @param DateTimeTimeZone $val The dueDateTime + * + * @return TodoTask + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the importance + * The importance of the task. Possible values are: low, normal, high. + * + * @return Importance|null The importance + */ + public function getImportance() + { + if (array_key_exists("importance", $this->_propDict)) { + if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) { + return $this->_propDict["importance"]; + } else { + $this->_propDict["importance"] = new Importance($this->_propDict["importance"]); + return $this->_propDict["importance"]; + } + } + return null; + } + + /** + * Sets the importance + * The importance of the task. Possible values are: low, normal, high. + * + * @param Importance $val The importance + * + * @return TodoTask + */ + public function setImportance($val) + { + $this->_propDict["importance"] = $val; + return $this; + } + + /** + * Gets the isReminderOn + * Set to true if an alert is set to remind the user of the task. + * + * @return bool|null The isReminderOn + */ + public function getIsReminderOn() + { + if (array_key_exists("isReminderOn", $this->_propDict)) { + return $this->_propDict["isReminderOn"]; + } else { + return null; + } + } + + /** + * Sets the isReminderOn + * Set to true if an alert is set to remind the user of the task. + * + * @param bool $val The isReminderOn + * + * @return TodoTask + */ + public function setIsReminderOn($val) + { + $this->_propDict["isReminderOn"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TodoTask + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the recurrence + * The recurrence pattern for the task. + * + * @return PatternedRecurrence|null The recurrence + */ + public function getRecurrence() + { + if (array_key_exists("recurrence", $this->_propDict)) { + if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { + return $this->_propDict["recurrence"]; + } else { + $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); + return $this->_propDict["recurrence"]; + } + } + return null; + } + + /** + * Sets the recurrence + * The recurrence pattern for the task. + * + * @param PatternedRecurrence $val The recurrence + * + * @return TodoTask + */ + public function setRecurrence($val) + { + $this->_propDict["recurrence"] = $val; + return $this; + } + + /** + * Gets the reminderDateTime + * The date and time for a reminder alert of the task to occur. + * + * @return DateTimeTimeZone|null The reminderDateTime + */ + public function getReminderDateTime() + { + if (array_key_exists("reminderDateTime", $this->_propDict)) { + if (is_a($this->_propDict["reminderDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderDateTime"])) { + return $this->_propDict["reminderDateTime"]; + } else { + $this->_propDict["reminderDateTime"] = new DateTimeTimeZone($this->_propDict["reminderDateTime"]); + return $this->_propDict["reminderDateTime"]; + } + } + return null; + } + + /** + * Sets the reminderDateTime + * The date and time for a reminder alert of the task to occur. + * + * @param DateTimeTimeZone $val The reminderDateTime + * + * @return TodoTask + */ + public function setReminderDateTime($val) + { + $this->_propDict["reminderDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred. + * + * @return TaskStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\TaskStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new TaskStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred. + * + * @param TaskStatus $val The status + * + * @return TodoTask + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the title + * A brief description of the task. + * + * @return string|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + return $this->_propDict["title"]; + } else { + return null; + } + } + + /** + * Sets the title + * A brief description of the task. + * + * @param string $val The title + * + * @return TodoTask + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + + /** + * Gets the checklistItems + * + * @return array|null The checklistItems + */ + public function getChecklistItems() + { + if (array_key_exists("checklistItems", $this->_propDict)) { + return $this->_propDict["checklistItems"]; + } else { + return null; + } + } + + /** + * Sets the checklistItems + * + * @param ChecklistItem[] $val The checklistItems + * + * @return TodoTask + */ + public function setChecklistItems($val) + { + $this->_propDict["checklistItems"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the task. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the task. Nullable. + * + * @param Extension[] $val The extensions + * + * @return TodoTask + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the linkedResources + * A collection of resources linked to the task. + * + * @return array|null The linkedResources + */ + public function getLinkedResources() + { + if (array_key_exists("linkedResources", $this->_propDict)) { + return $this->_propDict["linkedResources"]; + } else { + return null; + } + } + + /** + * Sets the linkedResources + * A collection of resources linked to the task. + * + * @param LinkedResource[] $val The linkedResources + * + * @return TodoTask + */ + public function setLinkedResources($val) + { + $this->_propDict["linkedResources"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TodoTaskList.php b/vendor/microsoft/microsoft-graph/src/Model/TodoTaskList.php new file mode 100644 index 0000000..ea8ad7e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TodoTaskList.php @@ -0,0 +1,207 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The name of the task list. + * + * @param string $val The displayName + * + * @return TodoTaskList + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isOwner + * True if the user is owner of the given task list. + * + * @return bool|null The isOwner + */ + public function getIsOwner() + { + if (array_key_exists("isOwner", $this->_propDict)) { + return $this->_propDict["isOwner"]; + } else { + return null; + } + } + + /** + * Sets the isOwner + * True if the user is owner of the given task list. + * + * @param bool $val The isOwner + * + * @return TodoTaskList + */ + public function setIsOwner($val) + { + $this->_propDict["isOwner"] = boolval($val); + return $this; + } + + /** + * Gets the isShared + * True if the task list is shared with other users + * + * @return bool|null The isShared + */ + public function getIsShared() + { + if (array_key_exists("isShared", $this->_propDict)) { + return $this->_propDict["isShared"]; + } else { + return null; + } + } + + /** + * Sets the isShared + * True if the task list is shared with other users + * + * @param bool $val The isShared + * + * @return TodoTaskList + */ + public function setIsShared($val) + { + $this->_propDict["isShared"] = boolval($val); + return $this; + } + + /** + * Gets the wellknownListName + * Property indicating the list name if the given list is a well-known list. Possible values are: none, defaultList, flaggedEmails, unknownFutureValue. + * + * @return WellknownListName|null The wellknownListName + */ + public function getWellknownListName() + { + if (array_key_exists("wellknownListName", $this->_propDict)) { + if (is_a($this->_propDict["wellknownListName"], "\Microsoft\Graph\Model\WellknownListName") || is_null($this->_propDict["wellknownListName"])) { + return $this->_propDict["wellknownListName"]; + } else { + $this->_propDict["wellknownListName"] = new WellknownListName($this->_propDict["wellknownListName"]); + return $this->_propDict["wellknownListName"]; + } + } + return null; + } + + /** + * Sets the wellknownListName + * Property indicating the list name if the given list is a well-known list. Possible values are: none, defaultList, flaggedEmails, unknownFutureValue. + * + * @param WellknownListName $val The wellknownListName + * + * @return TodoTaskList + */ + public function setWellknownListName($val) + { + $this->_propDict["wellknownListName"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the task list. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the task list. Nullable. + * + * @param Extension[] $val The extensions + * + * @return TodoTaskList + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the tasks + * The tasks in this task list. Read-only. Nullable. + * + * @return array|null The tasks + */ + public function getTasks() + { + if (array_key_exists("tasks", $this->_propDict)) { + return $this->_propDict["tasks"]; + } else { + return null; + } + } + + /** + * Sets the tasks + * The tasks in this task list. Read-only. Nullable. + * + * @param TodoTask[] $val The tasks + * + * @return TodoTaskList + */ + public function setTasks($val) + { + $this->_propDict["tasks"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TokenIssuancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/TokenIssuancePolicy.php new file mode 100644 index 0000000..8662e7c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/TokenIssuancePolicy.php @@ -0,0 +1,27 @@ +setODataType("#microsoft.graph.tokenMeetingInfo"); + } + + /** + * Gets the token + * The token used to join the call. + * + * @return string|null The token + */ + public function getToken() + { + if (array_key_exists("token", $this->_propDict)) { + return $this->_propDict["token"]; + } else { + return null; + } + } + + /** + * Sets the token + * The token used to join the call. + * + * @param string $val The value of the token + * + * @return TokenMeetingInfo + */ + public function setToken($val) + { + $this->_propDict["token"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Tone.php b/vendor/microsoft/microsoft-graph/src/Model/Tone.php new file mode 100644 index 0000000..c75c06b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Tone.php @@ -0,0 +1,49 @@ +_propDict)) { + return $this->_propDict["sequenceId"]; + } else { + return null; + } + } + + /** + * Sets the sequenceId + * An incremental identifier used for ordering DTMF events. + * + * @param int $val The value of the sequenceId + * + * @return ToneInfo + */ + public function setSequenceId($val) + { + $this->_propDict["sequenceId"] = $val; + return $this; + } + + /** + * Gets the tone + * Possible values are: tone0, tone1, tone2, tone3, tone4, tone5, tone6, tone7, tone8, tone9, star, pound, a, b, c, d, flash. + * + * @return Tone|null The tone + */ + public function getTone() + { + if (array_key_exists("tone", $this->_propDict)) { + if (is_a($this->_propDict["tone"], "\Microsoft\Graph\Model\Tone") || is_null($this->_propDict["tone"])) { + return $this->_propDict["tone"]; + } else { + $this->_propDict["tone"] = new Tone($this->_propDict["tone"]); + return $this->_propDict["tone"]; + } + } + return null; + } + + /** + * Sets the tone + * Possible values are: tone0, tone1, tone2, tone3, tone4, tone5, tone6, tone7, tone8, tone9, star, pound, a, b, c, d, flash. + * + * @param Tone $val The value to assign to the tone + * + * @return ToneInfo The ToneInfo + */ + public function setTone($val) + { + $this->_propDict["tone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Trending.php b/vendor/microsoft/microsoft-graph/src/Model/Trending.php new file mode 100644 index 0000000..6cf88c6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Trending.php @@ -0,0 +1,186 @@ +_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Trending + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the resourceReference + * Reference properties of the trending document, such as the url and type of the document. + * + * @return ResourceReference|null The resourceReference + */ + public function getResourceReference() + { + if (array_key_exists("resourceReference", $this->_propDict)) { + if (is_a($this->_propDict["resourceReference"], "\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) { + return $this->_propDict["resourceReference"]; + } else { + $this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]); + return $this->_propDict["resourceReference"]; + } + } + return null; + } + + /** + * Sets the resourceReference + * Reference properties of the trending document, such as the url and type of the document. + * + * @param ResourceReference $val The resourceReference + * + * @return Trending + */ + public function setResourceReference($val) + { + $this->_propDict["resourceReference"] = $val; + return $this; + } + + /** + * Gets the resourceVisualization + * Properties that you can use to visualize the document in your experience. + * + * @return ResourceVisualization|null The resourceVisualization + */ + public function getResourceVisualization() + { + if (array_key_exists("resourceVisualization", $this->_propDict)) { + if (is_a($this->_propDict["resourceVisualization"], "\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) { + return $this->_propDict["resourceVisualization"]; + } else { + $this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]); + return $this->_propDict["resourceVisualization"]; + } + } + return null; + } + + /** + * Sets the resourceVisualization + * Properties that you can use to visualize the document in your experience. + * + * @param ResourceVisualization $val The resourceVisualization + * + * @return Trending + */ + public function setResourceVisualization($val) + { + $this->_propDict["resourceVisualization"] = $val; + return $this; + } + + /** + * Gets the weight + * Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value. + * + * @return float|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value. + * + * @param float $val The weight + * + * @return Trending + */ + public function setWeight($val) + { + $this->_propDict["weight"] = floatval($val); + return $this; + } + + /** + * Gets the resource + * Used for navigating to the trending document. + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Used for navigating to the trending document. + * + * @param Entity $val The resource + * + * @return Trending + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedApprovalStage.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedApprovalStage.php new file mode 100644 index 0000000..e3a3cd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedApprovalStage.php @@ -0,0 +1,204 @@ +_propDict)) { + return $this->_propDict["approvalStageTimeOutInDays"]; + } else { + return null; + } + } + + /** + * Sets the approvalStageTimeOutInDays + * The number of days that a request can be pending a response before it is automatically denied. + * + * @param int $val The value of the approvalStageTimeOutInDays + * + * @return UnifiedApprovalStage + */ + public function setApprovalStageTimeOutInDays($val) + { + $this->_propDict["approvalStageTimeOutInDays"] = $val; + return $this; + } + + /** + * Gets the escalationApprovers + * The escalation approvers for this stage when the primary approvers don't respond. + * + * @return SubjectSet|null The escalationApprovers + */ + public function getEscalationApprovers() + { + if (array_key_exists("escalationApprovers", $this->_propDict)) { + if (is_a($this->_propDict["escalationApprovers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["escalationApprovers"])) { + return $this->_propDict["escalationApprovers"]; + } else { + $this->_propDict["escalationApprovers"] = new SubjectSet($this->_propDict["escalationApprovers"]); + return $this->_propDict["escalationApprovers"]; + } + } + return null; + } + + /** + * Sets the escalationApprovers + * The escalation approvers for this stage when the primary approvers don't respond. + * + * @param SubjectSet $val The value to assign to the escalationApprovers + * + * @return UnifiedApprovalStage The UnifiedApprovalStage + */ + public function setEscalationApprovers($val) + { + $this->_propDict["escalationApprovers"] = $val; + return $this; + } + /** + * Gets the escalationTimeInMinutes + * The time a request can be pending a response from a primary approver before it can be escalated to the escalation approvers. + * + * @return int|null The escalationTimeInMinutes + */ + public function getEscalationTimeInMinutes() + { + if (array_key_exists("escalationTimeInMinutes", $this->_propDict)) { + return $this->_propDict["escalationTimeInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the escalationTimeInMinutes + * The time a request can be pending a response from a primary approver before it can be escalated to the escalation approvers. + * + * @param int $val The value of the escalationTimeInMinutes + * + * @return UnifiedApprovalStage + */ + public function setEscalationTimeInMinutes($val) + { + $this->_propDict["escalationTimeInMinutes"] = $val; + return $this; + } + /** + * Gets the isApproverJustificationRequired + * Indicates whether the approver must provide justification for their reponse. + * + * @return bool|null The isApproverJustificationRequired + */ + public function getIsApproverJustificationRequired() + { + if (array_key_exists("isApproverJustificationRequired", $this->_propDict)) { + return $this->_propDict["isApproverJustificationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isApproverJustificationRequired + * Indicates whether the approver must provide justification for their reponse. + * + * @param bool $val The value of the isApproverJustificationRequired + * + * @return UnifiedApprovalStage + */ + public function setIsApproverJustificationRequired($val) + { + $this->_propDict["isApproverJustificationRequired"] = $val; + return $this; + } + /** + * Gets the isEscalationEnabled + * Indicates whether escalation if enabled. + * + * @return bool|null The isEscalationEnabled + */ + public function getIsEscalationEnabled() + { + if (array_key_exists("isEscalationEnabled", $this->_propDict)) { + return $this->_propDict["isEscalationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEscalationEnabled + * Indicates whether escalation if enabled. + * + * @param bool $val The value of the isEscalationEnabled + * + * @return UnifiedApprovalStage + */ + public function setIsEscalationEnabled($val) + { + $this->_propDict["isEscalationEnabled"] = $val; + return $this; + } + + /** + * Gets the primaryApprovers + * The primary approvers of this stage. + * + * @return SubjectSet|null The primaryApprovers + */ + public function getPrimaryApprovers() + { + if (array_key_exists("primaryApprovers", $this->_propDict)) { + if (is_a($this->_propDict["primaryApprovers"], "\Microsoft\Graph\Model\SubjectSet") || is_null($this->_propDict["primaryApprovers"])) { + return $this->_propDict["primaryApprovers"]; + } else { + $this->_propDict["primaryApprovers"] = new SubjectSet($this->_propDict["primaryApprovers"]); + return $this->_propDict["primaryApprovers"]; + } + } + return null; + } + + /** + * Sets the primaryApprovers + * The primary approvers of this stage. + * + * @param SubjectSet $val The value to assign to the primaryApprovers + * + * @return UnifiedApprovalStage The UnifiedApprovalStage + */ + public function setPrimaryApprovers($val) + { + $this->_propDict["primaryApprovers"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignment.php new file mode 100644 index 0000000..1684575 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignment.php @@ -0,0 +1,302 @@ +_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. App scopes are scopes that are defined and understood by this application only. For the entitlement management provider, use app scopes to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleAssignment + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the condition + * + * @return string|null The condition + */ + public function getCondition() + { + if (array_key_exists("condition", $this->_propDict)) { + return $this->_propDict["condition"]; + } else { + return null; + } + } + + /** + * Sets the condition + * + * @param string $val The condition + * + * @return UnifiedRoleAssignment + */ + public function setCondition($val) + { + $this->_propDict["condition"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleAssignment + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is granted. Supports $filter (eq operator only). + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is granted. Supports $filter (eq operator only). + * + * @param string $val The principalId + * + * @return UnifiedRoleAssignment + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq operator only). + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq operator only). + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleAssignment + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the appScope + * Details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleAssignment + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * The directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * The directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleAssignment + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * The assigned principal. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * The assigned principal. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. Supports $expand. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleAssignment + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * The roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.id will be auto expanded. Supports $expand. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * The roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.id will be auto expanded. Supports $expand. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleAssignment + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentSchedule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentSchedule.php new file mode 100644 index 0000000..7ea80b4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentSchedule.php @@ -0,0 +1,151 @@ +_propDict)) { + return $this->_propDict["assignmentType"]; + } else { + return null; + } + } + + /** + * Sets the assignmentType + * Type of the assignment. It can either be Assigned or Activated. + * + * @param string $val The assignmentType + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * If the roleAssignmentSchedule is activated by a roleEligibilitySchedule, this is the link to that schedule. + * + * @return UnifiedRoleEligibilitySchedule|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilitySchedule($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * If the roleAssignmentSchedule is activated by a roleEligibilitySchedule, this is the link to that schedule. + * + * @param UnifiedRoleEligibilitySchedule $val The activatedUsing + * + * @return UnifiedRoleAssignmentSchedule + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentScheduleInstance.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentScheduleInstance.php new file mode 100644 index 0000000..adbe726 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentScheduleInstance.php @@ -0,0 +1,242 @@ +_propDict)) { + return $this->_propDict["assignmentType"]; + } else { + return null; + } + } + + /** + * Sets the assignmentType + * Type of the assignment. It can either be Assigned or Activated. + * + * @param string $val The assignmentType + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the endDateTime + * Time that the roleAssignmentInstance will expire + * + * @return \DateTime|null The endDateTime + */ + public function getEndDateTime() + { + if (array_key_exists("endDateTime", $this->_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Time that the roleAssignmentInstance will expire + * + * @param \DateTime $val The endDateTime + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the roleAssignmentOriginId + * ID of the roleAssignment in the directory + * + * @return string|null The roleAssignmentOriginId + */ + public function getRoleAssignmentOriginId() + { + if (array_key_exists("roleAssignmentOriginId", $this->_propDict)) { + return $this->_propDict["roleAssignmentOriginId"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentOriginId + * ID of the roleAssignment in the directory + * + * @param string $val The roleAssignmentOriginId + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setRoleAssignmentOriginId($val) + { + $this->_propDict["roleAssignmentOriginId"] = $val; + return $this; + } + + /** + * Gets the roleAssignmentScheduleId + * ID of the parent roleAssignmentSchedule for this instance + * + * @return string|null The roleAssignmentScheduleId + */ + public function getRoleAssignmentScheduleId() + { + if (array_key_exists("roleAssignmentScheduleId", $this->_propDict)) { + return $this->_propDict["roleAssignmentScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the roleAssignmentScheduleId + * ID of the parent roleAssignmentSchedule for this instance + * + * @param string $val The roleAssignmentScheduleId + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setRoleAssignmentScheduleId($val) + { + $this->_propDict["roleAssignmentScheduleId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time that the roleAssignmentInstance will start + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time that the roleAssignmentInstance will start + * + * @param \DateTime $val The startDateTime + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * If the roleAssignmentScheduleInstance is activated by a roleEligibilityScheduleRequest, this is the link to the related schedule instance. + * + * @return UnifiedRoleEligibilityScheduleInstance|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Microsoft\Graph\Model\UnifiedRoleEligibilityScheduleInstance") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilityScheduleInstance($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * If the roleAssignmentScheduleInstance is activated by a roleEligibilityScheduleRequest, this is the link to the related schedule instance. + * + * @param UnifiedRoleEligibilityScheduleInstance $val The activatedUsing + * + * @return UnifiedRoleAssignmentScheduleInstance + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentScheduleRequest.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentScheduleRequest.php new file mode 100644 index 0000000..d9bc77f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignmentScheduleRequest.php @@ -0,0 +1,527 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\UnifiedRoleScheduleRequestActions") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new UnifiedRoleScheduleRequestActions($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * Represents the type of the operation on the role assignment. The possible values are: AdminAssign: For administrators to assign roles to users or groups.AdminRemove: For administrators to remove users or groups from roles. AdminUpdate: For administrators to change existing role assignments.AdminExtend: For administrators to extend expiring assignments.AdminRenew: For administrators to renew expired assignments.SelfActivate: For users to activate their assignments.SelfDeactivate: For users to deactivate their active assignments.SelfExtend: For users to request to extend their expiring assignments.SelfRenew: For users to request to renew their expired assignments. + * + * @param UnifiedRoleScheduleRequestActions $val The action + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @return string|null The appScopeId + */ + public function getAppScopeId() + { + if (array_key_exists("appScopeId", $this->_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @param bool $val The isValidationOnly + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * A message provided by users and administrators when create the request about why it is needed. + * + * @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 + * A message provided by users and administrators when create the request about why it is needed. + * + * @param string $val The justification + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. + * + * @param string $val The principalId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the targetScheduleId + * Identifier of the schedule object attached to the assignment. + * + * @return string|null The targetScheduleId + */ + public function getTargetScheduleId() + { + if (array_key_exists("targetScheduleId", $this->_propDict)) { + return $this->_propDict["targetScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the targetScheduleId + * Identifier of the schedule object attached to the assignment. + * + * @param string $val The targetScheduleId + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setTargetScheduleId($val) + { + $this->_propDict["targetScheduleId"] = $val; + return $this; + } + + /** + * Gets the ticketInfo + * The ticketInfo object attached to the role assignment request which includes details of the ticket number and ticket system. + * + * @return TicketInfo|null The ticketInfo + */ + public function getTicketInfo() + { + if (array_key_exists("ticketInfo", $this->_propDict)) { + if (is_a($this->_propDict["ticketInfo"], "\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) { + return $this->_propDict["ticketInfo"]; + } else { + $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); + return $this->_propDict["ticketInfo"]; + } + } + return null; + } + + /** + * Sets the ticketInfo + * The ticketInfo object attached to the role assignment request which includes details of the ticket number and ticket system. + * + * @param TicketInfo $val The ticketInfo + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setTicketInfo($val) + { + $this->_propDict["ticketInfo"] = $val; + return $this; + } + + /** + * Gets the activatedUsing + * If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. + * + * @return UnifiedRoleEligibilitySchedule|null The activatedUsing + */ + public function getActivatedUsing() + { + if (array_key_exists("activatedUsing", $this->_propDict)) { + if (is_a($this->_propDict["activatedUsing"], "\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) { + return $this->_propDict["activatedUsing"]; + } else { + $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilitySchedule($this->_propDict["activatedUsing"]); + return $this->_propDict["activatedUsing"]; + } + } + return null; + } + + /** + * Sets the activatedUsing + * If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. + * + * @param UnifiedRoleEligibilitySchedule $val The activatedUsing + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setActivatedUsing($val) + { + $this->_propDict["activatedUsing"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + + /** + * Gets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @return UnifiedRoleAssignmentSchedule|null The targetSchedule + */ + public function getTargetSchedule() + { + if (array_key_exists("targetSchedule", $this->_propDict)) { + if (is_a($this->_propDict["targetSchedule"], "\Microsoft\Graph\Model\UnifiedRoleAssignmentSchedule") || is_null($this->_propDict["targetSchedule"])) { + return $this->_propDict["targetSchedule"]; + } else { + $this->_propDict["targetSchedule"] = new UnifiedRoleAssignmentSchedule($this->_propDict["targetSchedule"]); + return $this->_propDict["targetSchedule"]; + } + } + return null; + } + + /** + * Sets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @param UnifiedRoleAssignmentSchedule $val The targetSchedule + * + * @return UnifiedRoleAssignmentScheduleRequest + */ + public function setTargetSchedule($val) + { + $this->_propDict["targetSchedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleDefinition.php new file mode 100644 index 0000000..bf98d4c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleDefinition.php @@ -0,0 +1,290 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description for the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * + * @param string $val The description + * + * @return UnifiedRoleDefinition + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * + * @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 + * The display name for the unifiedRoleDefinition. Read-only when isBuiltIn is true. Required. Supports $filter (eq and startsWith operators only). + * + * @param string $val The displayName + * + * @return UnifiedRoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isBuiltIn + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * + * @return bool|null The isBuiltIn + */ + public function getIsBuiltIn() + { + if (array_key_exists("isBuiltIn", $this->_propDict)) { + return $this->_propDict["isBuiltIn"]; + } else { + return null; + } + } + + /** + * Sets the isBuiltIn + * Flag indicating if the unifiedRoleDefinition is part of the default set included with the product or custom. Read-only. Supports $filter (eq operator only). + * + * @param bool $val The isBuiltIn + * + * @return UnifiedRoleDefinition + */ + public function setIsBuiltIn($val) + { + $this->_propDict["isBuiltIn"] = boolval($val); + return $this; + } + + /** + * Gets the isEnabled + * Flag indicating if the role is enabled for assignment. If false the role is not available for assignment. Read-only when isBuiltIn is true. + * + * @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 + * Flag indicating if the role is enabled for assignment. If false the role is not available for assignment. Read-only when isBuiltIn is true. + * + * @param bool $val The isEnabled + * + * @return UnifiedRoleDefinition + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the resourceScopes + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * + * @return string|null The resourceScopes + */ + public function getResourceScopes() + { + if (array_key_exists("resourceScopes", $this->_propDict)) { + return $this->_propDict["resourceScopes"]; + } else { + return null; + } + } + + /** + * Sets the resourceScopes + * List of scopes permissions granted by the role definition apply to. Currently only / is supported. Read-only when isBuiltIn is true. DO NOT USE. This will be deprecated soon. Attach scope to role assignment + * + * @param string $val The resourceScopes + * + * @return UnifiedRoleDefinition + */ + public function setResourceScopes($val) + { + $this->_propDict["resourceScopes"] = $val; + return $this; + } + + + /** + * Gets the rolePermissions + * List of permissions included in the role. Read-only when isBuiltIn is true. Required. + * + * @return array|null The rolePermissions + */ + public function getRolePermissions() + { + if (array_key_exists("rolePermissions", $this->_propDict)) { + return $this->_propDict["rolePermissions"]; + } else { + return null; + } + } + + /** + * Sets the rolePermissions + * List of permissions included in the role. Read-only when isBuiltIn is true. Required. + * + * @param UnifiedRolePermission[] $val The rolePermissions + * + * @return UnifiedRoleDefinition + */ + public function setRolePermissions($val) + { + $this->_propDict["rolePermissions"] = $val; + return $this; + } + + /** + * Gets the templateId + * Custom template identifier that can be set when isBuiltIn is false. This identifier is typically used if one needs an identifier to be the same across different directories. Read-only when isBuiltIn is true. + * + * @return string|null The templateId + */ + public function getTemplateId() + { + if (array_key_exists("templateId", $this->_propDict)) { + return $this->_propDict["templateId"]; + } else { + return null; + } + } + + /** + * Sets the templateId + * Custom template identifier that can be set when isBuiltIn is false. This identifier is typically used if one needs an identifier to be the same across different directories. Read-only when isBuiltIn is true. + * + * @param string $val The templateId + * + * @return UnifiedRoleDefinition + */ + public function setTemplateId($val) + { + $this->_propDict["templateId"] = $val; + return $this; + } + + /** + * Gets the version + * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Indicates version of the unifiedRoleDefinition. Read-only when isBuiltIn is true. + * + * @param string $val The version + * + * @return UnifiedRoleDefinition + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + + + /** + * Gets the inheritsPermissionsFrom + * Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles support this attribute. + * + * @return array|null The inheritsPermissionsFrom + */ + public function getInheritsPermissionsFrom() + { + if (array_key_exists("inheritsPermissionsFrom", $this->_propDict)) { + return $this->_propDict["inheritsPermissionsFrom"]; + } else { + return null; + } + } + + /** + * Sets the inheritsPermissionsFrom + * Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles support this attribute. + * + * @param UnifiedRoleDefinition[] $val The inheritsPermissionsFrom + * + * @return UnifiedRoleDefinition + */ + public function setInheritsPermissionsFrom($val) + { + $this->_propDict["inheritsPermissionsFrom"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilitySchedule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilitySchedule.php new file mode 100644 index 0000000..302a1c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilitySchedule.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleEligibilitySchedule + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the eligible role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the eligible role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleEligibilitySchedule + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilityScheduleInstance.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilityScheduleInstance.php new file mode 100644 index 0000000..9448c14 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilityScheduleInstance.php @@ -0,0 +1,151 @@ +_propDict)) { + if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) { + return $this->_propDict["endDateTime"]; + } else { + $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); + return $this->_propDict["endDateTime"]; + } + } + return null; + } + + /** + * Sets the endDateTime + * Time that the roleEligibilityScheduleInstance will expire. + * + * @param \DateTime $val The endDateTime + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setEndDateTime($val) + { + $this->_propDict["endDateTime"] = $val; + return $this; + } + + /** + * Gets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @return string|null The memberType + */ + public function getMemberType() + { + if (array_key_exists("memberType", $this->_propDict)) { + return $this->_propDict["memberType"]; + } else { + return null; + } + } + + /** + * Sets the memberType + * Membership type of the assignment. It can either be Inherited, Direct, or Group. + * + * @param string $val The memberType + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setMemberType($val) + { + $this->_propDict["memberType"] = $val; + return $this; + } + + /** + * Gets the roleEligibilityScheduleId + * Identifier of the parent roleEligibilitySchedule for this instance. + * + * @return string|null The roleEligibilityScheduleId + */ + public function getRoleEligibilityScheduleId() + { + if (array_key_exists("roleEligibilityScheduleId", $this->_propDict)) { + return $this->_propDict["roleEligibilityScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the roleEligibilityScheduleId + * Identifier of the parent roleEligibilitySchedule for this instance. + * + * @param string $val The roleEligibilityScheduleId + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setRoleEligibilityScheduleId($val) + { + $this->_propDict["roleEligibilityScheduleId"] = $val; + return $this; + } + + /** + * Gets the startDateTime + * Time that the roleEligibilityScheduleInstance will start. + * + * @return \DateTime|null The startDateTime + */ + public function getStartDateTime() + { + if (array_key_exists("startDateTime", $this->_propDict)) { + if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) { + return $this->_propDict["startDateTime"]; + } else { + $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); + return $this->_propDict["startDateTime"]; + } + } + return null; + } + + /** + * Sets the startDateTime + * Time that the roleEligibilityScheduleInstance will start. + * + * @param \DateTime $val The startDateTime + * + * @return UnifiedRoleEligibilityScheduleInstance + */ + public function setStartDateTime($val) + { + $this->_propDict["startDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilityScheduleRequest.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilityScheduleRequest.php new file mode 100644 index 0000000..afa64f1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleEligibilityScheduleRequest.php @@ -0,0 +1,494 @@ +_propDict)) { + if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\UnifiedRoleScheduleRequestActions") || is_null($this->_propDict["action"])) { + return $this->_propDict["action"]; + } else { + $this->_propDict["action"] = new UnifiedRoleScheduleRequestActions($this->_propDict["action"]); + return $this->_propDict["action"]; + } + } + return null; + } + + /** + * Sets the action + * Represents the type of the operation on the role eligibility assignment. The possible values are: AdminAssign: For administrators to assign role eligibility to users or groups to roles.AdminExtend: For administrators to extend expiring assignments.AdminUpdate: For administrators to change existing role assignments.AdminRenew: For administrators to renew expired assignments.AdminRemove: For administrators to remove users or groups from eligible roles.UserAdd: For users to activate their eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserRenew: For users to request to renew their expired eligible assignments. + * + * @param UnifiedRoleScheduleRequestActions $val The action + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setAction($val) + { + $this->_propDict["action"] = $val; + return $this; + } + + /** + * Gets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @return string|null The appScopeId + */ + public function getAppScopeId() + { + if (array_key_exists("appScopeId", $this->_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @return bool|null The isValidationOnly + */ + public function getIsValidationOnly() + { + if (array_key_exists("isValidationOnly", $this->_propDict)) { + return $this->_propDict["isValidationOnly"]; + } else { + return null; + } + } + + /** + * Sets the isValidationOnly + * A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + * + * @param bool $val The isValidationOnly + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setIsValidationOnly($val) + { + $this->_propDict["isValidationOnly"] = boolval($val); + return $this; + } + + /** + * Gets the justification + * A message provided by users and administrators when create the request about why it is needed. + * + * @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 + * A message provided by users and administrators when create the request about why it is needed. + * + * @param string $val The justification + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true. + * + * @param string $val The principalId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * The schedule object of the role assignment request. + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * The schedule object of the role assignment request. + * + * @param RequestSchedule $val The scheduleInfo + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the targetScheduleId + * The time period for which the eligibility assignment is valid. + * + * @return string|null The targetScheduleId + */ + public function getTargetScheduleId() + { + if (array_key_exists("targetScheduleId", $this->_propDict)) { + return $this->_propDict["targetScheduleId"]; + } else { + return null; + } + } + + /** + * Sets the targetScheduleId + * The time period for which the eligibility assignment is valid. + * + * @param string $val The targetScheduleId + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setTargetScheduleId($val) + { + $this->_propDict["targetScheduleId"] = $val; + return $this; + } + + /** + * Gets the ticketInfo + * The details of the ticket number and ticket system that is attached to the role assignment request. + * + * @return TicketInfo|null The ticketInfo + */ + public function getTicketInfo() + { + if (array_key_exists("ticketInfo", $this->_propDict)) { + if (is_a($this->_propDict["ticketInfo"], "\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) { + return $this->_propDict["ticketInfo"]; + } else { + $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); + return $this->_propDict["ticketInfo"]; + } + } + return null; + } + + /** + * Sets the ticketInfo + * The details of the ticket number and ticket system that is attached to the role assignment request. + * + * @param TicketInfo $val The ticketInfo + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setTicketInfo($val) + { + $this->_propDict["ticketInfo"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app-specific scope when the assignment scope is app-specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app-specific scope when the assignment scope is app-specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + + /** + * Gets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @return UnifiedRoleEligibilitySchedule|null The targetSchedule + */ + public function getTargetSchedule() + { + if (array_key_exists("targetSchedule", $this->_propDict)) { + if (is_a($this->_propDict["targetSchedule"], "\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule") || is_null($this->_propDict["targetSchedule"])) { + return $this->_propDict["targetSchedule"]; + } else { + $this->_propDict["targetSchedule"] = new UnifiedRoleEligibilitySchedule($this->_propDict["targetSchedule"]); + return $this->_propDict["targetSchedule"]; + } + } + return null; + } + + /** + * Sets the targetSchedule + * Property indicating the schedule for an eligible role assignment. + * + * @param UnifiedRoleEligibilitySchedule $val The targetSchedule + * + * @return UnifiedRoleEligibilityScheduleRequest + */ + public function setTargetSchedule($val) + { + $this->_propDict["targetSchedule"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicy.php new file mode 100644 index 0000000..e4f46a4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicy.php @@ -0,0 +1,298 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description for the policy. + * + * @param string $val The description + * + * @return UnifiedRoleManagementPolicy + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display name for the policy. + * + * @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 + * Display name for the policy. + * + * @param string $val The displayName + * + * @return UnifiedRoleManagementPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isOrganizationDefault + * This can only be set to true for a single tenant wide policy which will apply to all scopes and roles. Set the scopeId to '/' and scopeType to Directory. + * + * @return bool|null The isOrganizationDefault + */ + public function getIsOrganizationDefault() + { + if (array_key_exists("isOrganizationDefault", $this->_propDict)) { + return $this->_propDict["isOrganizationDefault"]; + } else { + return null; + } + } + + /** + * Sets the isOrganizationDefault + * This can only be set to true for a single tenant wide policy which will apply to all scopes and roles. Set the scopeId to '/' and scopeType to Directory. + * + * @param bool $val The isOrganizationDefault + * + * @return UnifiedRoleManagementPolicy + */ + public function setIsOrganizationDefault($val) + { + $this->_propDict["isOrganizationDefault"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * The identity who last modified the role setting. + * + * @return Identity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new Identity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * The identity who last modified the role setting. + * + * @param Identity $val The lastModifiedBy + * + * @return UnifiedRoleManagementPolicy + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The time when the role setting was last modified. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The time when the role setting was last modified. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UnifiedRoleManagementPolicy + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the scopeId + * The id of the scope where the policy is created. Can be / for the tenant or a group ID. Required. + * + * @return string|null The scopeId + */ + public function getScopeId() + { + if (array_key_exists("scopeId", $this->_propDict)) { + return $this->_propDict["scopeId"]; + } else { + return null; + } + } + + /** + * Sets the scopeId + * The id of the scope where the policy is created. Can be / for the tenant or a group ID. Required. + * + * @param string $val The scopeId + * + * @return UnifiedRoleManagementPolicy + */ + public function setScopeId($val) + { + $this->_propDict["scopeId"] = $val; + return $this; + } + + /** + * Gets the scopeType + * The type of the scope where the policy is created. One of Directory, DirectoryRole. Required. + * + * @return string|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + return $this->_propDict["scopeType"]; + } else { + return null; + } + } + + /** + * Sets the scopeType + * The type of the scope where the policy is created. One of Directory, DirectoryRole. Required. + * + * @param string $val The scopeType + * + * @return UnifiedRoleManagementPolicy + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } + + + /** + * Gets the effectiveRules + * Not implemented. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. + * + * @return array|null The effectiveRules + */ + public function getEffectiveRules() + { + if (array_key_exists("effectiveRules", $this->_propDict)) { + return $this->_propDict["effectiveRules"]; + } else { + return null; + } + } + + /** + * Sets the effectiveRules + * Not implemented. The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. + * + * @param UnifiedRoleManagementPolicyRule[] $val The effectiveRules + * + * @return UnifiedRoleManagementPolicy + */ + public function setEffectiveRules($val) + { + $this->_propDict["effectiveRules"] = $val; + return $this; + } + + + /** + * Gets the rules + * The collection of rules like approval rules and expiration rules. + * + * @return array|null The rules + */ + public function getRules() + { + if (array_key_exists("rules", $this->_propDict)) { + return $this->_propDict["rules"]; + } else { + return null; + } + } + + /** + * Sets the rules + * The collection of rules like approval rules and expiration rules. + * + * @param UnifiedRoleManagementPolicyRule[] $val The rules + * + * @return UnifiedRoleManagementPolicy + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyApprovalRule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyApprovalRule.php new file mode 100644 index 0000000..729a1f8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyApprovalRule.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["setting"], "\Microsoft\Graph\Model\ApprovalSettings") || is_null($this->_propDict["setting"])) { + return $this->_propDict["setting"]; + } else { + $this->_propDict["setting"] = new ApprovalSettings($this->_propDict["setting"]); + return $this->_propDict["setting"]; + } + } + return null; + } + + /** + * Sets the setting + * The approval setting for the rule. + * + * @param ApprovalSettings $val The setting + * + * @return UnifiedRoleManagementPolicyApprovalRule + */ + public function setSetting($val) + { + $this->_propDict["setting"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyAssignment.php new file mode 100644 index 0000000..b0bf0f2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyAssignment.php @@ -0,0 +1,176 @@ +_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * The id of the policy. + * + * @param string $val The policyId + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * The id of the role definition where the policy applies. If not specified, the policy applies to all roles. + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * The id of the role definition where the policy applies. If not specified, the policy applies to all roles. + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the scopeId + * The id of the scope where the policy is assigned. E.g. '/', groupId, etc. + * + * @return string|null The scopeId + */ + public function getScopeId() + { + if (array_key_exists("scopeId", $this->_propDict)) { + return $this->_propDict["scopeId"]; + } else { + return null; + } + } + + /** + * Sets the scopeId + * The id of the scope where the policy is assigned. E.g. '/', groupId, etc. + * + * @param string $val The scopeId + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setScopeId($val) + { + $this->_propDict["scopeId"] = $val; + return $this; + } + + /** + * Gets the scopeType + * The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. + * + * @return string|null The scopeType + */ + public function getScopeType() + { + if (array_key_exists("scopeType", $this->_propDict)) { + return $this->_propDict["scopeType"]; + } else { + return null; + } + } + + /** + * Sets the scopeType + * The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. + * + * @param string $val The scopeType + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setScopeType($val) + { + $this->_propDict["scopeType"] = $val; + return $this; + } + + /** + * Gets the policy + * The policy for the assignment. + * + * @return UnifiedRoleManagementPolicy|null The policy + */ + public function getPolicy() + { + if (array_key_exists("policy", $this->_propDict)) { + if (is_a($this->_propDict["policy"], "\Microsoft\Graph\Model\UnifiedRoleManagementPolicy") || is_null($this->_propDict["policy"])) { + return $this->_propDict["policy"]; + } else { + $this->_propDict["policy"] = new UnifiedRoleManagementPolicy($this->_propDict["policy"]); + return $this->_propDict["policy"]; + } + } + return null; + } + + /** + * Sets the policy + * The policy for the assignment. + * + * @param UnifiedRoleManagementPolicy $val The policy + * + * @return UnifiedRoleManagementPolicyAssignment + */ + public function setPolicy($val) + { + $this->_propDict["policy"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php new file mode 100644 index 0000000..f1a58ee --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["claimValue"]; + } else { + return null; + } + } + + /** + * Sets the claimValue + * Value of the authentication context claim. + * + * @param string $val The claimValue + * + * @return UnifiedRoleManagementPolicyAuthenticationContextRule + */ + public function setClaimValue($val) + { + $this->_propDict["claimValue"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Indicates if the setting is enabled. + * + * @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 + * Indicates if the setting is enabled. + * + * @param bool $val The isEnabled + * + * @return UnifiedRoleManagementPolicyAuthenticationContextRule + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyEnablementRule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyEnablementRule.php new file mode 100644 index 0000000..dde81ea --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyEnablementRule.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["enabledRules"]; + } else { + return null; + } + } + + /** + * Sets the enabledRules + * The rules which are enabled. Allowed values are MultifactorAuthentication, Justification, Ticketing. + * + * @param string $val The enabledRules + * + * @return UnifiedRoleManagementPolicyEnablementRule + */ + public function setEnabledRules($val) + { + $this->_propDict["enabledRules"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyExpirationRule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyExpirationRule.php new file mode 100644 index 0000000..2f8382f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyExpirationRule.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["isExpirationRequired"]; + } else { + return null; + } + } + + /** + * Sets the isExpirationRequired + * Indicates if expiration is required for eligibility or assignment. + * + * @param bool $val The isExpirationRequired + * + * @return UnifiedRoleManagementPolicyExpirationRule + */ + public function setIsExpirationRequired($val) + { + $this->_propDict["isExpirationRequired"] = boolval($val); + return $this; + } + + /** + * Gets the maximumDuration + * The maximum duration allowed for eligiblity or assignment which is not permanent. + * + * @return \DateInterval|null The maximumDuration + */ + public function getMaximumDuration() + { + if (array_key_exists("maximumDuration", $this->_propDict)) { + if (is_a($this->_propDict["maximumDuration"], "\DateInterval") || is_null($this->_propDict["maximumDuration"])) { + return $this->_propDict["maximumDuration"]; + } else { + $this->_propDict["maximumDuration"] = new \DateInterval($this->_propDict["maximumDuration"]); + return $this->_propDict["maximumDuration"]; + } + } + return null; + } + + /** + * Sets the maximumDuration + * The maximum duration allowed for eligiblity or assignment which is not permanent. + * + * @param \DateInterval $val The maximumDuration + * + * @return UnifiedRoleManagementPolicyExpirationRule + */ + public function setMaximumDuration($val) + { + $this->_propDict["maximumDuration"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyNotificationRule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyNotificationRule.php new file mode 100644 index 0000000..8ffc962 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyNotificationRule.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["isDefaultRecipientsEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultRecipientsEnabled + * Whether default recipient is receiving the email or not. + * + * @param bool $val The isDefaultRecipientsEnabled + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setIsDefaultRecipientsEnabled($val) + { + $this->_propDict["isDefaultRecipientsEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the notificationLevel + * The level of notification. One of None, Critical, All. + * + * @return string|null The notificationLevel + */ + public function getNotificationLevel() + { + if (array_key_exists("notificationLevel", $this->_propDict)) { + return $this->_propDict["notificationLevel"]; + } else { + return null; + } + } + + /** + * Sets the notificationLevel + * The level of notification. One of None, Critical, All. + * + * @param string $val The notificationLevel + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setNotificationLevel($val) + { + $this->_propDict["notificationLevel"] = $val; + return $this; + } + + /** + * Gets the notificationRecipients + * The list of notification recepients like email. + * + * @return string|null The notificationRecipients + */ + public function getNotificationRecipients() + { + if (array_key_exists("notificationRecipients", $this->_propDict)) { + return $this->_propDict["notificationRecipients"]; + } else { + return null; + } + } + + /** + * Sets the notificationRecipients + * The list of notification recepients like email. + * + * @param string $val The notificationRecipients + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setNotificationRecipients($val) + { + $this->_propDict["notificationRecipients"] = $val; + return $this; + } + + /** + * Gets the notificationType + * The type of notification. One of Email. + * + * @return string|null The notificationType + */ + public function getNotificationType() + { + if (array_key_exists("notificationType", $this->_propDict)) { + return $this->_propDict["notificationType"]; + } else { + return null; + } + } + + /** + * Sets the notificationType + * The type of notification. One of Email. + * + * @param string $val The notificationType + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setNotificationType($val) + { + $this->_propDict["notificationType"] = $val; + return $this; + } + + /** + * Gets the recipientType + * The type of recipient. One of Requestor, Approver, Admin. + * + * @return string|null The recipientType + */ + public function getRecipientType() + { + if (array_key_exists("recipientType", $this->_propDict)) { + return $this->_propDict["recipientType"]; + } else { + return null; + } + } + + /** + * Sets the recipientType + * The type of recipient. One of Requestor, Approver, Admin. + * + * @param string $val The recipientType + * + * @return UnifiedRoleManagementPolicyNotificationRule + */ + public function setRecipientType($val) + { + $this->_propDict["recipientType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRule.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRule.php new file mode 100644 index 0000000..bdebc07 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRule.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\UnifiedRoleManagementPolicyRuleTarget") || is_null($this->_propDict["target"])) { + return $this->_propDict["target"]; + } else { + $this->_propDict["target"] = new UnifiedRoleManagementPolicyRuleTarget($this->_propDict["target"]); + return $this->_propDict["target"]; + } + } + return null; + } + + /** + * Sets the target + * The target for the policy rule. + * + * @param UnifiedRoleManagementPolicyRuleTarget $val The target + * + * @return UnifiedRoleManagementPolicyRule + */ + public function setTarget($val) + { + $this->_propDict["target"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRuleTarget.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRuleTarget.php new file mode 100644 index 0000000..d91c730 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRuleTarget.php @@ -0,0 +1,202 @@ +_propDict)) { + return $this->_propDict["caller"]; + } else { + return null; + } + } + + /** + * Sets the caller + * The caller for the policy rule target. Allowed values are: None, Admin, EndUser. + * + * @param string $val The value of the caller + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setCaller($val) + { + $this->_propDict["caller"] = $val; + return $this; + } + /** + * Gets the enforcedSettings + * The list of settings which are enforced and cannot be overridden by child scopes. Use All for all settings. + * + * @return string|null The enforcedSettings + */ + public function getEnforcedSettings() + { + if (array_key_exists("enforcedSettings", $this->_propDict)) { + return $this->_propDict["enforcedSettings"]; + } else { + return null; + } + } + + /** + * Sets the enforcedSettings + * The list of settings which are enforced and cannot be overridden by child scopes. Use All for all settings. + * + * @param string $val The value of the enforcedSettings + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setEnforcedSettings($val) + { + $this->_propDict["enforcedSettings"] = $val; + return $this; + } + /** + * Gets the inheritableSettings + * The list of settings which can be inherited by child scopes. Use All for all settings. + * + * @return string|null The inheritableSettings + */ + public function getInheritableSettings() + { + if (array_key_exists("inheritableSettings", $this->_propDict)) { + return $this->_propDict["inheritableSettings"]; + } else { + return null; + } + } + + /** + * Sets the inheritableSettings + * The list of settings which can be inherited by child scopes. Use All for all settings. + * + * @param string $val The value of the inheritableSettings + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setInheritableSettings($val) + { + $this->_propDict["inheritableSettings"] = $val; + return $this; + } + /** + * Gets the level + * The level for the policy rule target. Allowed values are: Eligibility, Assignment. + * + * @return string|null The level + */ + public function getLevel() + { + if (array_key_exists("level", $this->_propDict)) { + return $this->_propDict["level"]; + } else { + return null; + } + } + + /** + * Sets the level + * The level for the policy rule target. Allowed values are: Eligibility, Assignment. + * + * @param string $val The value of the level + * + * @return UnifiedRoleManagementPolicyRuleTarget + */ + public function setLevel($val) + { + $this->_propDict["level"] = $val; + return $this; + } + + /** + * Gets the operations + * The operations for policy rule target. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew. + * + * @return UnifiedRoleManagementPolicyRuleTargetOperations|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + if (is_a($this->_propDict["operations"], "\Microsoft\Graph\Model\UnifiedRoleManagementPolicyRuleTargetOperations") || is_null($this->_propDict["operations"])) { + return $this->_propDict["operations"]; + } else { + $this->_propDict["operations"] = new UnifiedRoleManagementPolicyRuleTargetOperations($this->_propDict["operations"]); + return $this->_propDict["operations"]; + } + } + return null; + } + + /** + * Sets the operations + * The operations for policy rule target. Allowed values are: All, Activate, Deactivate, Assign, Update, Remove, Extend, Renew. + * + * @param UnifiedRoleManagementPolicyRuleTargetOperations $val The value to assign to the operations + * + * @return UnifiedRoleManagementPolicyRuleTarget The UnifiedRoleManagementPolicyRuleTarget + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + /** + * Gets the targetObjects + * + * @return DirectoryObject|null The targetObjects + */ + public function getTargetObjects() + { + if (array_key_exists("targetObjects", $this->_propDict)) { + if (is_a($this->_propDict["targetObjects"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["targetObjects"])) { + return $this->_propDict["targetObjects"]; + } else { + $this->_propDict["targetObjects"] = new DirectoryObject($this->_propDict["targetObjects"]); + return $this->_propDict["targetObjects"]; + } + } + return null; + } + + /** + * Sets the targetObjects + * + * @param DirectoryObject $val The value to assign to the targetObjects + * + * @return UnifiedRoleManagementPolicyRuleTarget The UnifiedRoleManagementPolicyRuleTarget + */ + public function setTargetObjects($val) + { + $this->_propDict["targetObjects"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRuleTargetOperations.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRuleTargetOperations.php new file mode 100644 index 0000000..56fbdc6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleManagementPolicyRuleTargetOperations.php @@ -0,0 +1,41 @@ +_propDict)) { + return $this->_propDict["allowedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the allowedResourceActions + * Set of tasks that can be performed on a resource. + * + * @param string $val The value of the allowedResourceActions + * + * @return UnifiedRolePermission + */ + public function setAllowedResourceActions($val) + { + $this->_propDict["allowedResourceActions"] = $val; + return $this; + } + /** + * Gets the condition + * Optional constraints that must be met for the permission to be effective. + * + * @return string|null The condition + */ + public function getCondition() + { + if (array_key_exists("condition", $this->_propDict)) { + return $this->_propDict["condition"]; + } else { + return null; + } + } + + /** + * Sets the condition + * Optional constraints that must be met for the permission to be effective. + * + * @param string $val The value of the condition + * + * @return UnifiedRolePermission + */ + public function setCondition($val) + { + $this->_propDict["condition"] = $val; + return $this; + } + /** + * Gets the excludedResourceActions + * Set of tasks that may not be performed on a resource. Not yet supported. + * + * @return string|null The excludedResourceActions + */ + public function getExcludedResourceActions() + { + if (array_key_exists("excludedResourceActions", $this->_propDict)) { + return $this->_propDict["excludedResourceActions"]; + } else { + return null; + } + } + + /** + * Sets the excludedResourceActions + * Set of tasks that may not be performed on a resource. Not yet supported. + * + * @param string $val The value of the excludedResourceActions + * + * @return UnifiedRolePermission + */ + public function setExcludedResourceActions($val) + { + $this->_propDict["excludedResourceActions"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleBase.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleBase.php new file mode 100644 index 0000000..35e4c18 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleBase.php @@ -0,0 +1,399 @@ +_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units or all users. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleScheduleBase + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Time that the schedule was created. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Time that the schedule was created. + * + * @param \DateTime $val The createdDateTime + * + * @return UnifiedRoleScheduleBase + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the createdUsing + * Identifier of the roleAssignmentScheduleRequest that created this schedule. + * + * @return string|null The createdUsing + */ + public function getCreatedUsing() + { + if (array_key_exists("createdUsing", $this->_propDict)) { + return $this->_propDict["createdUsing"]; + } else { + return null; + } + } + + /** + * Sets the createdUsing + * Identifier of the roleAssignmentScheduleRequest that created this schedule. + * + * @param string $val The createdUsing + * + * @return UnifiedRoleScheduleBase + */ + public function setCreatedUsing($val) + { + $this->_propDict["createdUsing"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleScheduleBase + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the modifiedDateTime + * Last time the schedule was updated. + * + * @return \DateTime|null The modifiedDateTime + */ + public function getModifiedDateTime() + { + if (array_key_exists("modifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) { + return $this->_propDict["modifiedDateTime"]; + } else { + $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); + return $this->_propDict["modifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the modifiedDateTime + * Last time the schedule was updated. + * + * @param \DateTime $val The modifiedDateTime + * + * @return UnifiedRoleScheduleBase + */ + public function setModifiedDateTime($val) + { + $this->_propDict["modifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. Supports $filter (eq). + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. Supports $filter (eq). + * + * @param string $val The principalId + * + * @return UnifiedRoleScheduleBase + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleScheduleBase + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the status + * Status for the roleAssignmentSchedule. It can include state related messages like Provisioned, Revoked, Pending Provisioning, and Pending Approval. Supports $filter (eq). + * + * @return string|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + return $this->_propDict["status"]; + } else { + return null; + } + } + + /** + * Sets the status + * Status for the roleAssignmentSchedule. It can include state related messages like Provisioned, Revoked, Pending Provisioning, and Pending Approval. Supports $filter (eq). + * + * @param string $val The status + * + * @return UnifiedRoleScheduleBase + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleScheduleBase + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleScheduleBase + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleScheduleBase + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleScheduleBase + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleInstanceBase.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleInstanceBase.php new file mode 100644 index 0000000..f4f188c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleInstanceBase.php @@ -0,0 +1,275 @@ +_propDict)) { + return $this->_propDict["appScopeId"]; + } else { + return null; + } + } + + /** + * Sets the appScopeId + * Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + * + * @param string $val The appScopeId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setAppScopeId($val) + { + $this->_propDict["appScopeId"] = $val; + return $this; + } + + /** + * Gets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @return string|null The directoryScopeId + */ + public function getDirectoryScopeId() + { + if (array_key_exists("directoryScopeId", $this->_propDict)) { + return $this->_propDict["directoryScopeId"]; + } else { + return null; + } + } + + /** + * Sets the directoryScopeId + * Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + * + * @param string $val The directoryScopeId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setDirectoryScopeId($val) + { + $this->_propDict["directoryScopeId"] = $val; + return $this; + } + + /** + * Gets the principalId + * Identifier of the principal to which the assignment is being granted to. Can be a group or a user. + * + * @return string|null The principalId + */ + public function getPrincipalId() + { + if (array_key_exists("principalId", $this->_propDict)) { + return $this->_propDict["principalId"]; + } else { + return null; + } + } + + /** + * Sets the principalId + * Identifier of the principal to which the assignment is being granted to. Can be a group or a user. + * + * @param string $val The principalId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setPrincipalId($val) + { + $this->_propDict["principalId"] = $val; + return $this; + } + + /** + * Gets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @return string|null The roleDefinitionId + */ + public function getRoleDefinitionId() + { + if (array_key_exists("roleDefinitionId", $this->_propDict)) { + return $this->_propDict["roleDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitionId + * Identifier of the unifiedRoleDefinition the assignment is for. Read only. Supports $filter (eq). + * + * @param string $val The roleDefinitionId + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setRoleDefinitionId($val) + { + $this->_propDict["roleDefinitionId"] = $val; + return $this; + } + + /** + * Gets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @return AppScope|null The appScope + */ + public function getAppScope() + { + if (array_key_exists("appScope", $this->_propDict)) { + if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\AppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. + * + * @param AppScope $val The appScope + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + + /** + * Gets the directoryScope + * The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The directoryScope + */ + public function getDirectoryScope() + { + if (array_key_exists("directoryScope", $this->_propDict)) { + if (is_a($this->_propDict["directoryScope"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["directoryScope"])) { + return $this->_propDict["directoryScope"]; + } else { + $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); + return $this->_propDict["directoryScope"]; + } + } + return null; + } + + /** + * Sets the directoryScope + * The directory object that is the scope of the assignment. Enables the retrieval of the directory object using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The directoryScope + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setDirectoryScope($val) + { + $this->_propDict["directoryScope"] = $val; + return $this; + } + + /** + * Gets the principal + * The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @return DirectoryObject|null The principal + */ + public function getPrincipal() + { + if (array_key_exists("principal", $this->_propDict)) { + if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) { + return $this->_propDict["principal"]; + } else { + $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); + return $this->_propDict["principal"]; + } + } + return null; + } + + /** + * Sets the principal + * The principal that is getting a role assignment through the request. Enables the retrieval of the principal using $expand at the same time as getting the role assignment. Read-only. + * + * @param DirectoryObject $val The principal + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setPrincipal($val) + { + $this->_propDict["principal"] = $val; + return $this; + } + + /** + * Gets the roleDefinition + * The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded. + * + * @return UnifiedRoleDefinition|null The roleDefinition + */ + public function getRoleDefinition() + { + if (array_key_exists("roleDefinition", $this->_propDict)) { + if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\UnifiedRoleDefinition") || is_null($this->_propDict["roleDefinition"])) { + return $this->_propDict["roleDefinition"]; + } else { + $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); + return $this->_propDict["roleDefinition"]; + } + } + return null; + } + + /** + * Sets the roleDefinition + * The roleDefinition for the assignment. Enables the retrieval of the role definition using $expand at the same time as getting the role assignment. The roleDefinition.Id is automatically expanded. + * + * @param UnifiedRoleDefinition $val The roleDefinition + * + * @return UnifiedRoleScheduleInstanceBase + */ + public function setRoleDefinition($val) + { + $this->_propDict["roleDefinition"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleRequestActions.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleRequestActions.php new file mode 100644 index 0000000..a9fd923 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleScheduleRequestActions.php @@ -0,0 +1,42 @@ +_propDict)) { + return $this->_propDict["calendarSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the calendarSyncEnabled + * Not yet documented + * + * @param bool $val The value of the calendarSyncEnabled + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setCalendarSyncEnabled($val) + { + $this->_propDict["calendarSyncEnabled"] = $val; + return $this; + } + + /** + * Gets the deviceAccount + * Not yet documented + * + * @return WindowsDeviceAccount|null The deviceAccount + */ + public function getDeviceAccount() + { + if (array_key_exists("deviceAccount", $this->_propDict)) { + if (is_a($this->_propDict["deviceAccount"], "\Microsoft\Graph\Model\WindowsDeviceAccount") || is_null($this->_propDict["deviceAccount"])) { + return $this->_propDict["deviceAccount"]; + } else { + $this->_propDict["deviceAccount"] = new WindowsDeviceAccount($this->_propDict["deviceAccount"]); + return $this->_propDict["deviceAccount"]; + } + } + return null; + } + + /** + * Sets the deviceAccount + * Not yet documented + * + * @param WindowsDeviceAccount $val The value to assign to the deviceAccount + * + * @return UpdateWindowsDeviceAccountActionParameter The UpdateWindowsDeviceAccountActionParameter + */ + public function setDeviceAccount($val) + { + $this->_propDict["deviceAccount"] = $val; + return $this; + } + /** + * Gets the deviceAccountEmail + * Not yet documented + * + * @return string|null The deviceAccountEmail + */ + public function getDeviceAccountEmail() + { + if (array_key_exists("deviceAccountEmail", $this->_propDict)) { + return $this->_propDict["deviceAccountEmail"]; + } else { + return null; + } + } + + /** + * Sets the deviceAccountEmail + * Not yet documented + * + * @param string $val The value of the deviceAccountEmail + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setDeviceAccountEmail($val) + { + $this->_propDict["deviceAccountEmail"] = $val; + return $this; + } + /** + * Gets the exchangeServer + * Not yet documented + * + * @return string|null The exchangeServer + */ + public function getExchangeServer() + { + if (array_key_exists("exchangeServer", $this->_propDict)) { + return $this->_propDict["exchangeServer"]; + } else { + return null; + } + } + + /** + * Sets the exchangeServer + * Not yet documented + * + * @param string $val The value of the exchangeServer + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setExchangeServer($val) + { + $this->_propDict["exchangeServer"] = $val; + return $this; + } + /** + * Gets the passwordRotationEnabled + * Not yet documented + * + * @return bool|null The passwordRotationEnabled + */ + public function getPasswordRotationEnabled() + { + if (array_key_exists("passwordRotationEnabled", $this->_propDict)) { + return $this->_propDict["passwordRotationEnabled"]; + } else { + return null; + } + } + + /** + * Sets the passwordRotationEnabled + * Not yet documented + * + * @param bool $val The value of the passwordRotationEnabled + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setPasswordRotationEnabled($val) + { + $this->_propDict["passwordRotationEnabled"] = $val; + return $this; + } + /** + * Gets the sessionInitiationProtocalAddress + * Not yet documented + * + * @return string|null The sessionInitiationProtocalAddress + */ + public function getSessionInitiationProtocalAddress() + { + if (array_key_exists("sessionInitiationProtocalAddress", $this->_propDict)) { + return $this->_propDict["sessionInitiationProtocalAddress"]; + } else { + return null; + } + } + + /** + * Sets the sessionInitiationProtocalAddress + * Not yet documented + * + * @param string $val The value of the sessionInitiationProtocalAddress + * + * @return UpdateWindowsDeviceAccountActionParameter + */ + public function setSessionInitiationProtocalAddress($val) + { + $this->_propDict["sessionInitiationProtocalAddress"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UploadSession.php b/vendor/microsoft/microsoft-graph/src/Model/UploadSession.php new file mode 100644 index 0000000..daa1b18 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UploadSession.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The date and time in UTC that the upload session will expire. The complete file must be uploaded before this expiration time is reached. + * + * @param \DateTime $val The value to assign to the expirationDateTime + * + * @return UploadSession The UploadSession + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + /** + * Gets the nextExpectedRanges + * When uploading files to document libraries, this is a collection of byte ranges that the server is missing for the file. These ranges are zero-indexed and of the format, '{start}-{end}' (e.g. '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin. + * + * @return string|null The nextExpectedRanges + */ + public function getNextExpectedRanges() + { + if (array_key_exists("nextExpectedRanges", $this->_propDict)) { + return $this->_propDict["nextExpectedRanges"]; + } else { + return null; + } + } + + /** + * Sets the nextExpectedRanges + * When uploading files to document libraries, this is a collection of byte ranges that the server is missing for the file. These ranges are zero-indexed and of the format, '{start}-{end}' (e.g. '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin. + * + * @param string $val The value of the nextExpectedRanges + * + * @return UploadSession + */ + public function setNextExpectedRanges($val) + { + $this->_propDict["nextExpectedRanges"] = $val; + return $this; + } + /** + * Gets the uploadUrl + * The URL endpoint that accepts PUT requests for byte ranges of the file. + * + * @return string|null The uploadUrl + */ + public function getUploadUrl() + { + if (array_key_exists("uploadUrl", $this->_propDict)) { + return $this->_propDict["uploadUrl"]; + } else { + return null; + } + } + + /** + * Sets the uploadUrl + * The URL endpoint that accepts PUT requests for byte ranges of the file. + * + * @param string $val The value of the uploadUrl + * + * @return UploadSession + */ + public function setUploadUrl($val) + { + $this->_propDict["uploadUrl"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UriClickSecurityState.php b/vendor/microsoft/microsoft-graph/src/Model/UriClickSecurityState.php new file mode 100644 index 0000000..e8e395b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UriClickSecurityState.php @@ -0,0 +1,187 @@ +_propDict)) { + return $this->_propDict["clickAction"]; + } else { + return null; + } + } + + /** + * Sets the clickAction + * + * @param string $val The value of the clickAction + * + * @return UriClickSecurityState + */ + public function setClickAction($val) + { + $this->_propDict["clickAction"] = $val; + return $this; + } + + /** + * Gets the clickDateTime + * + * @return \DateTime|null The clickDateTime + */ + public function getClickDateTime() + { + if (array_key_exists("clickDateTime", $this->_propDict)) { + if (is_a($this->_propDict["clickDateTime"], "\DateTime") || is_null($this->_propDict["clickDateTime"])) { + return $this->_propDict["clickDateTime"]; + } else { + $this->_propDict["clickDateTime"] = new \DateTime($this->_propDict["clickDateTime"]); + return $this->_propDict["clickDateTime"]; + } + } + return null; + } + + /** + * Sets the clickDateTime + * + * @param \DateTime $val The value to assign to the clickDateTime + * + * @return UriClickSecurityState The UriClickSecurityState + */ + public function setClickDateTime($val) + { + $this->_propDict["clickDateTime"] = $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 UriClickSecurityState + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * 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 UriClickSecurityState + */ + public function setSourceId($val) + { + $this->_propDict["sourceId"] = $val; + return $this; + } + /** + * Gets the uriDomain + * + * @return string|null The uriDomain + */ + public function getUriDomain() + { + if (array_key_exists("uriDomain", $this->_propDict)) { + return $this->_propDict["uriDomain"]; + } else { + return null; + } + } + + /** + * Sets the uriDomain + * + * @param string $val The value of the uriDomain + * + * @return UriClickSecurityState + */ + public function setUriDomain($val) + { + $this->_propDict["uriDomain"] = $val; + return $this; + } + /** + * Gets the verdict + * + * @return string|null The verdict + */ + public function getVerdict() + { + if (array_key_exists("verdict", $this->_propDict)) { + return $this->_propDict["verdict"]; + } else { + return null; + } + } + + /** + * Sets the verdict + * + * @param string $val The value of the verdict + * + * @return UriClickSecurityState + */ + public function setVerdict($val) + { + $this->_propDict["verdict"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UrlAssessmentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/UrlAssessmentRequest.php new file mode 100644 index 0000000..9e4280a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UrlAssessmentRequest.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * The URL string. + * + * @param string $val The url + * + * @return UrlAssessmentRequest + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UsageDetails.php b/vendor/microsoft/microsoft-graph/src/Model/UsageDetails.php new file mode 100644 index 0000000..ecd3848 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UsageDetails.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime") || is_null($this->_propDict["lastAccessedDateTime"])) { + return $this->_propDict["lastAccessedDateTime"]; + } else { + $this->_propDict["lastAccessedDateTime"] = new \DateTime($this->_propDict["lastAccessedDateTime"]); + return $this->_propDict["lastAccessedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastAccessedDateTime + * The date and time the resource was last accessed by the user. The timestamp 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 lastAccessedDateTime + * + * @return UsageDetails The UsageDetails + */ + public function setLastAccessedDateTime($val) + { + $this->_propDict["lastAccessedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * The date and time the resource was last modified by the user. The timestamp 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 lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * The date and time the resource was last modified by the user. The timestamp 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 lastModifiedDateTime + * + * @return UsageDetails The UsageDetails + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UsedInsight.php b/vendor/microsoft/microsoft-graph/src/Model/UsedInsight.php new file mode 100644 index 0000000..328964e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UsedInsight.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["lastUsed"], "\Microsoft\Graph\Model\UsageDetails") || is_null($this->_propDict["lastUsed"])) { + return $this->_propDict["lastUsed"]; + } else { + $this->_propDict["lastUsed"] = new UsageDetails($this->_propDict["lastUsed"]); + return $this->_propDict["lastUsed"]; + } + } + return null; + } + + /** + * Sets the lastUsed + * Information about when the item was last viewed or modified by the user. Read only. + * + * @param UsageDetails $val The lastUsed + * + * @return UsedInsight + */ + public function setLastUsed($val) + { + $this->_propDict["lastUsed"] = $val; + return $this; + } + + /** + * Gets the resourceReference + * Reference properties of the used document, such as the url and type of the document. Read-only + * + * @return ResourceReference|null The resourceReference + */ + public function getResourceReference() + { + if (array_key_exists("resourceReference", $this->_propDict)) { + if (is_a($this->_propDict["resourceReference"], "\Microsoft\Graph\Model\ResourceReference") || is_null($this->_propDict["resourceReference"])) { + return $this->_propDict["resourceReference"]; + } else { + $this->_propDict["resourceReference"] = new ResourceReference($this->_propDict["resourceReference"]); + return $this->_propDict["resourceReference"]; + } + } + return null; + } + + /** + * Sets the resourceReference + * Reference properties of the used document, such as the url and type of the document. Read-only + * + * @param ResourceReference $val The resourceReference + * + * @return UsedInsight + */ + public function setResourceReference($val) + { + $this->_propDict["resourceReference"] = $val; + return $this; + } + + /** + * Gets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @return ResourceVisualization|null The resourceVisualization + */ + public function getResourceVisualization() + { + if (array_key_exists("resourceVisualization", $this->_propDict)) { + if (is_a($this->_propDict["resourceVisualization"], "\Microsoft\Graph\Model\ResourceVisualization") || is_null($this->_propDict["resourceVisualization"])) { + return $this->_propDict["resourceVisualization"]; + } else { + $this->_propDict["resourceVisualization"] = new ResourceVisualization($this->_propDict["resourceVisualization"]); + return $this->_propDict["resourceVisualization"]; + } + } + return null; + } + + /** + * Sets the resourceVisualization + * Properties that you can use to visualize the document in your experience. Read-only + * + * @param ResourceVisualization $val The resourceVisualization + * + * @return UsedInsight + */ + public function setResourceVisualization($val) + { + $this->_propDict["resourceVisualization"] = $val; + return $this; + } + + /** + * Gets the resource + * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @return Entity|null The resource + */ + public function getResource() + { + if (array_key_exists("resource", $this->_propDict)) { + if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity") || is_null($this->_propDict["resource"])) { + return $this->_propDict["resource"]; + } else { + $this->_propDict["resource"] = new Entity($this->_propDict["resource"]); + return $this->_propDict["resource"]; + } + } + return null; + } + + /** + * Sets the resource + * Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. + * + * @param Entity $val The resource + * + * @return UsedInsight + */ + public function setResource($val) + { + $this->_propDict["resource"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/User.php b/vendor/microsoft/microsoft-graph/src/Model/User.php new file mode 100644 index 0000000..e1c1658 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/User.php @@ -0,0 +1,3521 @@ +_propDict)) { + return $this->_propDict["accountEnabled"]; + } else { + return null; + } + } + + /** + * Sets the accountEnabled + * true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter (eq, ne, not, and in). + * + * @param bool $val The accountEnabled + * + * @return User + */ + public function setAccountEnabled($val) + { + $this->_propDict["accountEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the ageGroup + * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @return string|null The ageGroup + */ + public function getAgeGroup() + { + if (array_key_exists("ageGroup", $this->_propDict)) { + return $this->_propDict["ageGroup"]; + } else { + return null; + } + } + + /** + * Sets the ageGroup + * Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @param string $val The ageGroup + * + * @return User + */ + public function setAgeGroup($val) + { + $this->_propDict["ageGroup"] = $val; + return $this; + } + + + /** + * Gets the assignedLicenses + * The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Supports $filter (eq, not, and counting empty collections). + * + * @return array|null The assignedLicenses + */ + public function getAssignedLicenses() + { + if (array_key_exists("assignedLicenses", $this->_propDict)) { + return $this->_propDict["assignedLicenses"]; + } else { + return null; + } + } + + /** + * Sets the assignedLicenses + * The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Supports $filter (eq, not, and counting empty collections). + * + * @param AssignedLicense[] $val The assignedLicenses + * + * @return User + */ + public function setAssignedLicenses($val) + { + $this->_propDict["assignedLicenses"] = $val; + return $this; + } + + + /** + * Gets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable.Supports $filter (eq and not). + * + * @return array|null The assignedPlans + */ + public function getAssignedPlans() + { + if (array_key_exists("assignedPlans", $this->_propDict)) { + return $this->_propDict["assignedPlans"]; + } else { + return null; + } + } + + /** + * Sets the assignedPlans + * The plans that are assigned to the user. Read-only. Not nullable.Supports $filter (eq and not). + * + * @param AssignedPlan[] $val The assignedPlans + * + * @return User + */ + public function setAssignedPlans($val) + { + $this->_propDict["assignedPlans"] = $val; + return $this; + } + + /** + * Gets the businessPhones + * The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The businessPhones + */ + public function getBusinessPhones() + { + if (array_key_exists("businessPhones", $this->_propDict)) { + return $this->_propDict["businessPhones"]; + } else { + return null; + } + } + + /** + * Sets the businessPhones + * The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The businessPhones + * + * @return User + */ + public function setBusinessPhones($val) + { + $this->_propDict["businessPhones"] = $val; + return $this; + } + + /** + * Gets the city + * The city in which the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The city + */ + public function getCity() + { + if (array_key_exists("city", $this->_propDict)) { + return $this->_propDict["city"]; + } else { + return null; + } + } + + /** + * Sets the city + * The city in which the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The city + * + * @return User + */ + public function setCity($val) + { + $this->_propDict["city"] = $val; + return $this; + } + + /** + * Gets the companyName + * The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @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 which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The companyName + * + * @return User + */ + public function setCompanyName($val) + { + $this->_propDict["companyName"] = $val; + return $this; + } + + /** + * Gets the consentProvidedForMinor + * Sets whether consent has been obtained for minors. Allowed values: null, Granted, Denied and NotRequired. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @return string|null The consentProvidedForMinor + */ + public function getConsentProvidedForMinor() + { + if (array_key_exists("consentProvidedForMinor", $this->_propDict)) { + return $this->_propDict["consentProvidedForMinor"]; + } else { + return null; + } + } + + /** + * Sets the consentProvidedForMinor + * Sets whether consent has been obtained for minors. Allowed values: null, Granted, Denied and NotRequired. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). + * + * @param string $val The consentProvidedForMinor + * + * @return User + */ + public function setConsentProvidedForMinor($val) + { + $this->_propDict["consentProvidedForMinor"] = $val; + return $this; + } + + /** + * Gets the country + * The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The country + */ + public function getCountry() + { + if (array_key_exists("country", $this->_propDict)) { + return $this->_propDict["country"]; + } else { + return null; + } + } + + /** + * Sets the country + * The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The country + * + * @return User + */ + public function setCountry($val) + { + $this->_propDict["country"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Read-only. Supports $filter (eq, ne, not , ge, le, in). + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Read-only. Supports $filter (eq, ne, not , ge, le, in). + * + * @param \DateTime $val The createdDateTime + * + * @return User + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the creationType + * Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Supports $filter (eq, ne, not, and in). + * + * @return string|null The creationType + */ + public function getCreationType() + { + if (array_key_exists("creationType", $this->_propDict)) { + return $this->_propDict["creationType"]; + } else { + return null; + } + } + + /** + * Sets the creationType + * Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Supports $filter (eq, ne, not, and in). + * + * @param string $val The creationType + * + * @return User + */ + public function setCreationType($val) + { + $this->_propDict["creationType"] = $val; + return $this; + } + + /** + * Gets the department + * The name for the department in which the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). + * + * @return string|null The department + */ + public function getDepartment() + { + if (array_key_exists("department", $this->_propDict)) { + return $this->_propDict["department"]; + } else { + return null; + } + } + + /** + * Sets the department + * The name for the department in which the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). + * + * @param string $val The department + * + * @return User + */ + public function setDepartment($val) + { + $this->_propDict["department"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + * + * @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 + * The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + * + * @param string $val The displayName + * + * @return User + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the employeeHireDate + * The date and time when the user was hired or will start work in case of a future hire. Supports $filter (eq, ne, not , ge, le, in). + * + * @return \DateTime|null The employeeHireDate + */ + public function getEmployeeHireDate() + { + if (array_key_exists("employeeHireDate", $this->_propDict)) { + if (is_a($this->_propDict["employeeHireDate"], "\DateTime") || is_null($this->_propDict["employeeHireDate"])) { + return $this->_propDict["employeeHireDate"]; + } else { + $this->_propDict["employeeHireDate"] = new \DateTime($this->_propDict["employeeHireDate"]); + return $this->_propDict["employeeHireDate"]; + } + } + return null; + } + + /** + * Sets the employeeHireDate + * The date and time when the user was hired or will start work in case of a future hire. Supports $filter (eq, ne, not , ge, le, in). + * + * @param \DateTime $val The employeeHireDate + * + * @return User + */ + public function setEmployeeHireDate($val) + { + $this->_propDict["employeeHireDate"] = $val; + return $this; + } + + /** + * Gets the employeeId + * The employee identifier assigned to the user by the organization. The maximum length is 16 characters.Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The employeeId + */ + public function getEmployeeId() + { + if (array_key_exists("employeeId", $this->_propDict)) { + return $this->_propDict["employeeId"]; + } else { + return null; + } + } + + /** + * Sets the employeeId + * The employee identifier assigned to the user by the organization. The maximum length is 16 characters.Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The employeeId + * + * @return User + */ + public function setEmployeeId($val) + { + $this->_propDict["employeeId"] = $val; + return $this; + } + + /** + * Gets the employeeOrgData + * Represents organization data (e.g. division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). + * + * @return EmployeeOrgData|null The employeeOrgData + */ + public function getEmployeeOrgData() + { + if (array_key_exists("employeeOrgData", $this->_propDict)) { + if (is_a($this->_propDict["employeeOrgData"], "\Microsoft\Graph\Model\EmployeeOrgData") || is_null($this->_propDict["employeeOrgData"])) { + return $this->_propDict["employeeOrgData"]; + } else { + $this->_propDict["employeeOrgData"] = new EmployeeOrgData($this->_propDict["employeeOrgData"]); + return $this->_propDict["employeeOrgData"]; + } + } + return null; + } + + /** + * Sets the employeeOrgData + * Represents organization data (e.g. division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). + * + * @param EmployeeOrgData $val The employeeOrgData + * + * @return User + */ + public function setEmployeeOrgData($val) + { + $this->_propDict["employeeOrgData"] = $val; + return $this; + } + + /** + * Gets the employeeType + * Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Supports $filter (eq, ne, not , ge, le, in, startsWith). + * + * @return string|null The employeeType + */ + public function getEmployeeType() + { + if (array_key_exists("employeeType", $this->_propDict)) { + return $this->_propDict["employeeType"]; + } else { + return null; + } + } + + /** + * Sets the employeeType + * Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Supports $filter (eq, ne, not , ge, le, in, startsWith). + * + * @param string $val The employeeType + * + * @return User + */ + public function setEmployeeType($val) + { + $this->_propDict["employeeType"] = $val; + return $this; + } + + /** + * Gets the externalUserState + * For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Supports $filter (eq, ne, not , in). + * + * @return string|null The externalUserState + */ + public function getExternalUserState() + { + if (array_key_exists("externalUserState", $this->_propDict)) { + return $this->_propDict["externalUserState"]; + } else { + return null; + } + } + + /** + * Sets the externalUserState + * For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Supports $filter (eq, ne, not , in). + * + * @param string $val The externalUserState + * + * @return User + */ + public function setExternalUserState($val) + { + $this->_propDict["externalUserState"] = $val; + return $this; + } + + /** + * Gets the externalUserStateChangeDateTime + * Shows the timestamp for the latest change to the externalUserState property. Supports $filter (eq, ne, not , in). + * + * @return \DateTime|null The externalUserStateChangeDateTime + */ + public function getExternalUserStateChangeDateTime() + { + if (array_key_exists("externalUserStateChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["externalUserStateChangeDateTime"], "\DateTime") || is_null($this->_propDict["externalUserStateChangeDateTime"])) { + return $this->_propDict["externalUserStateChangeDateTime"]; + } else { + $this->_propDict["externalUserStateChangeDateTime"] = new \DateTime($this->_propDict["externalUserStateChangeDateTime"]); + return $this->_propDict["externalUserStateChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the externalUserStateChangeDateTime + * Shows the timestamp for the latest change to the externalUserState property. Supports $filter (eq, ne, not , in). + * + * @param \DateTime $val The externalUserStateChangeDateTime + * + * @return User + */ + public function setExternalUserStateChangeDateTime($val) + { + $this->_propDict["externalUserStateChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the faxNumber + * The fax number of the user. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The faxNumber + */ + public function getFaxNumber() + { + if (array_key_exists("faxNumber", $this->_propDict)) { + return $this->_propDict["faxNumber"]; + } else { + return null; + } + } + + /** + * Sets the faxNumber + * The fax number of the user. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The faxNumber + * + * @return User + */ + public function setFaxNumber($val) + { + $this->_propDict["faxNumber"] = $val; + return $this; + } + + /** + * Gets the givenName + * The given name (first name) of the user. Maximum length is 64 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * The given name (first name) of the user. Maximum length is 64 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The givenName + * + * @return User + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + + + /** + * Gets the identities + * Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName. + * + * @return array|null The identities + */ + public function getIdentities() + { + if (array_key_exists("identities", $this->_propDict)) { + return $this->_propDict["identities"]; + } else { + return null; + } + } + + /** + * Sets the identities + * Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName. + * + * @param ObjectIdentity[] $val The identities + * + * @return User + */ + public function setIdentities($val) + { + $this->_propDict["identities"] = $val; + return $this; + } + + /** + * Gets the imAddresses + * The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Supports $filter (eq, not, ge, le, startsWith). + * + * @return string|null The imAddresses + */ + public function getImAddresses() + { + if (array_key_exists("imAddresses", $this->_propDict)) { + return $this->_propDict["imAddresses"]; + } else { + return null; + } + } + + /** + * Sets the imAddresses + * The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Supports $filter (eq, not, ge, le, startsWith). + * + * @param string $val The imAddresses + * + * @return User + */ + public function setImAddresses($val) + { + $this->_propDict["imAddresses"] = $val; + return $this; + } + + /** + * Gets the isResourceAccount + * Do not use – reserved for future use. + * + * @return bool|null The isResourceAccount + */ + public function getIsResourceAccount() + { + if (array_key_exists("isResourceAccount", $this->_propDict)) { + return $this->_propDict["isResourceAccount"]; + } else { + return null; + } + } + + /** + * Sets the isResourceAccount + * Do not use – reserved for future use. + * + * @param bool $val The isResourceAccount + * + * @return User + */ + public function setIsResourceAccount($val) + { + $this->_propDict["isResourceAccount"] = boolval($val); + return $this; + } + + /** + * Gets the jobTitle + * The user's job title. Maximum length is 128 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @return string|null The jobTitle + */ + public function getJobTitle() + { + if (array_key_exists("jobTitle", $this->_propDict)) { + return $this->_propDict["jobTitle"]; + } else { + return null; + } + } + + /** + * Sets the jobTitle + * The user's job title. Maximum length is 128 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). + * + * @param string $val The jobTitle + * + * @return User + */ + public function setJobTitle($val) + { + $this->_propDict["jobTitle"] = $val; + return $this; + } + + /** + * Gets the lastPasswordChangeDateTime + * The time when this Azure AD user last changed their password or when their password was created, , whichever date the latest action was performed. 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. Returned only on $select. + * + * @return \DateTime|null The lastPasswordChangeDateTime + */ + public function getLastPasswordChangeDateTime() + { + if (array_key_exists("lastPasswordChangeDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastPasswordChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastPasswordChangeDateTime"])) { + return $this->_propDict["lastPasswordChangeDateTime"]; + } else { + $this->_propDict["lastPasswordChangeDateTime"] = new \DateTime($this->_propDict["lastPasswordChangeDateTime"]); + return $this->_propDict["lastPasswordChangeDateTime"]; + } + } + return null; + } + + /** + * Sets the lastPasswordChangeDateTime + * The time when this Azure AD user last changed their password or when their password was created, , whichever date the latest action was performed. 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. Returned only on $select. + * + * @param \DateTime $val The lastPasswordChangeDateTime + * + * @return User + */ + public function setLastPasswordChangeDateTime($val) + { + $this->_propDict["lastPasswordChangeDateTime"] = $val; + return $this; + } + + /** + * Gets the legalAgeGroupClassification + * Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. + * + * @return string|null The legalAgeGroupClassification + */ + public function getLegalAgeGroupClassification() + { + if (array_key_exists("legalAgeGroupClassification", $this->_propDict)) { + return $this->_propDict["legalAgeGroupClassification"]; + } else { + return null; + } + } + + /** + * Sets the legalAgeGroupClassification + * Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. + * + * @param string $val The legalAgeGroupClassification + * + * @return User + */ + public function setLegalAgeGroupClassification($val) + { + $this->_propDict["legalAgeGroupClassification"] = $val; + return $this; + } + + + /** + * Gets the licenseAssignmentStates + * State of license assignments for this user. Read-only. Returned only on $select. + * + * @return array|null The licenseAssignmentStates + */ + public function getLicenseAssignmentStates() + { + if (array_key_exists("licenseAssignmentStates", $this->_propDict)) { + return $this->_propDict["licenseAssignmentStates"]; + } else { + return null; + } + } + + /** + * Sets the licenseAssignmentStates + * State of license assignments for this user. Read-only. Returned only on $select. + * + * @param LicenseAssignmentState[] $val The licenseAssignmentStates + * + * @return User + */ + public function setLicenseAssignmentStates($val) + { + $this->_propDict["licenseAssignmentStates"] = $val; + return $this; + } + + /** + * Gets the mail + * The SMTP address for the user, for example, admin@contoso.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. For Azure AD B2C accounts, this property can be updated up to only ten times with unique SMTP addresses. This property cannot contain accent characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + * + * @return string|null The mail + */ + public function getMail() + { + if (array_key_exists("mail", $this->_propDict)) { + return $this->_propDict["mail"]; + } else { + return null; + } + } + + /** + * Sets the mail + * The SMTP address for the user, for example, admin@contoso.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. For Azure AD B2C accounts, this property can be updated up to only ten times with unique SMTP addresses. This property cannot contain accent characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + * + * @param string $val The mail + * + * @return User + */ + public function setMail($val) + { + $this->_propDict["mail"] = $val; + return $this; + } + + /** + * Gets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mailNickname + */ + public function getMailNickname() + { + if (array_key_exists("mailNickname", $this->_propDict)) { + return $this->_propDict["mailNickname"]; + } else { + return null; + } + } + + /** + * Sets the mailNickname + * The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mailNickname + * + * @return User + */ + public function setMailNickname($val) + { + $this->_propDict["mailNickname"] = $val; + return $this; + } + + /** + * Gets the mobilePhone + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The mobilePhone + */ + public function getMobilePhone() + { + if (array_key_exists("mobilePhone", $this->_propDict)) { + return $this->_propDict["mobilePhone"]; + } else { + return null; + } + } + + /** + * Sets the mobilePhone + * The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The mobilePhone + * + * @return User + */ + public function setMobilePhone($val) + { + $this->_propDict["mobilePhone"] = $val; + return $this; + } + + /** + * Gets the officeLocation + * The office location in the user's place of business. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The officeLocation + */ + public function getOfficeLocation() + { + if (array_key_exists("officeLocation", $this->_propDict)) { + return $this->_propDict["officeLocation"]; + } else { + return null; + } + } + + /** + * Sets the officeLocation + * The office location in the user's place of business. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The officeLocation + * + * @return User + */ + public function setOfficeLocation($val) + { + $this->_propDict["officeLocation"] = $val; + return $this; + } + + /** + * Gets the onPremisesDistinguishedName + * Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @return string|null The onPremisesDistinguishedName + */ + public function getOnPremisesDistinguishedName() + { + if (array_key_exists("onPremisesDistinguishedName", $this->_propDict)) { + return $this->_propDict["onPremisesDistinguishedName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesDistinguishedName + * Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @param string $val The onPremisesDistinguishedName + * + * @return User + */ + public function setOnPremisesDistinguishedName($val) + { + $this->_propDict["onPremisesDistinguishedName"] = $val; + return $this; + } + + /** + * Gets the onPremisesDomainName + * Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @return string|null The onPremisesDomainName + */ + public function getOnPremisesDomainName() + { + if (array_key_exists("onPremisesDomainName", $this->_propDict)) { + return $this->_propDict["onPremisesDomainName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesDomainName + * Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. + * + * @param string $val The onPremisesDomainName + * + * @return User + */ + public function setOnPremisesDomainName($val) + { + $this->_propDict["onPremisesDomainName"] = $val; + return $this; + } + + /** + * Gets the onPremisesExtensionAttributes + * Contains extensionAttributes1-15 for the user. The individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. + * + * @return OnPremisesExtensionAttributes|null The onPremisesExtensionAttributes + */ + public function getOnPremisesExtensionAttributes() + { + if (array_key_exists("onPremisesExtensionAttributes", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesExtensionAttributes"], "\Microsoft\Graph\Model\OnPremisesExtensionAttributes") || is_null($this->_propDict["onPremisesExtensionAttributes"])) { + return $this->_propDict["onPremisesExtensionAttributes"]; + } else { + $this->_propDict["onPremisesExtensionAttributes"] = new OnPremisesExtensionAttributes($this->_propDict["onPremisesExtensionAttributes"]); + return $this->_propDict["onPremisesExtensionAttributes"]; + } + } + return null; + } + + /** + * Sets the onPremisesExtensionAttributes + * Contains extensionAttributes1-15 for the user. The individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. + * + * @param OnPremisesExtensionAttributes $val The onPremisesExtensionAttributes + * + * @return User + */ + public function setOnPremisesExtensionAttributes($val) + { + $this->_propDict["onPremisesExtensionAttributes"] = $val; + return $this; + } + + /** + * Gets the onPremisesImmutableId + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters cannot be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). + * + * @return string|null The onPremisesImmutableId + */ + public function getOnPremisesImmutableId() + { + if (array_key_exists("onPremisesImmutableId", $this->_propDict)) { + return $this->_propDict["onPremisesImmutableId"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesImmutableId + * This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters cannot be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). + * + * @param string $val The onPremisesImmutableId + * + * @return User + */ + public function setOnPremisesImmutableId($val) + { + $this->_propDict["onPremisesImmutableId"] = $val; + return $this; + } + + /** + * Gets the onPremisesLastSyncDateTime + * Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @return \DateTime|null The onPremisesLastSyncDateTime + */ + public function getOnPremisesLastSyncDateTime() + { + if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime") || is_null($this->_propDict["onPremisesLastSyncDateTime"])) { + return $this->_propDict["onPremisesLastSyncDateTime"]; + } else { + $this->_propDict["onPremisesLastSyncDateTime"] = new \DateTime($this->_propDict["onPremisesLastSyncDateTime"]); + return $this->_propDict["onPremisesLastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the onPremisesLastSyncDateTime + * Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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. Supports $filter (eq, ne, not, ge, le, in). + * + * @param \DateTime $val The onPremisesLastSyncDateTime + * + * @return User + */ + public function setOnPremisesLastSyncDateTime($val) + { + $this->_propDict["onPremisesLastSyncDateTime"] = $val; + return $this; + } + + + /** + * Gets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Supports $filter (eq, not, ge, le). + * + * @return array|null The onPremisesProvisioningErrors + */ + public function getOnPremisesProvisioningErrors() + { + if (array_key_exists("onPremisesProvisioningErrors", $this->_propDict)) { + return $this->_propDict["onPremisesProvisioningErrors"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesProvisioningErrors + * Errors when using Microsoft synchronization product during provisioning. Supports $filter (eq, not, ge, le). + * + * @param OnPremisesProvisioningError[] $val The onPremisesProvisioningErrors + * + * @return User + */ + public function setOnPremisesProvisioningErrors($val) + { + $this->_propDict["onPremisesProvisioningErrors"] = $val; + return $this; + } + + /** + * Gets the onPremisesSamAccountName + * Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @return string|null The onPremisesSamAccountName + */ + public function getOnPremisesSamAccountName() + { + if (array_key_exists("onPremisesSamAccountName", $this->_propDict)) { + return $this->_propDict["onPremisesSamAccountName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSamAccountName + * Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @param string $val The onPremisesSamAccountName + * + * @return User + */ + public function setOnPremisesSamAccountName($val) + { + $this->_propDict["onPremisesSamAccountName"] = $val; + return $this; + } + + /** + * Gets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Supports $filter (eq including on null values). + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Supports $filter (eq including on null values). + * + * @param string $val The onPremisesSecurityIdentifier + * + * @return User + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + + /** + * Gets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return bool|null The onPremisesSyncEnabled + */ + public function getOnPremisesSyncEnabled() + { + if (array_key_exists("onPremisesSyncEnabled", $this->_propDict)) { + return $this->_propDict["onPremisesSyncEnabled"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSyncEnabled + * true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param bool $val The onPremisesSyncEnabled + * + * @return User + */ + public function setOnPremisesSyncEnabled($val) + { + $this->_propDict["onPremisesSyncEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the onPremisesUserPrincipalName + * Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @return string|null The onPremisesUserPrincipalName + */ + public function getOnPremisesUserPrincipalName() + { + if (array_key_exists("onPremisesUserPrincipalName", $this->_propDict)) { + return $this->_propDict["onPremisesUserPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesUserPrincipalName + * Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + * + * @param string $val The onPremisesUserPrincipalName + * + * @return User + */ + public function setOnPremisesUserPrincipalName($val) + { + $this->_propDict["onPremisesUserPrincipalName"] = $val; + return $this; + } + + /** + * Gets the otherMails + * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, and counting empty collections). + * + * @return string|null The otherMails + */ + public function getOtherMails() + { + if (array_key_exists("otherMails", $this->_propDict)) { + return $this->_propDict["otherMails"]; + } else { + return null; + } + } + + /** + * Sets the otherMails + * A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, and counting empty collections). + * + * @param string $val The otherMails + * + * @return User + */ + public function setOtherMails($val) + { + $this->_propDict["otherMails"] = $val; + return $this; + } + + /** + * Gets the passwordPolicies + * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + * + * @return string|null The passwordPolicies + */ + public function getPasswordPolicies() + { + if (array_key_exists("passwordPolicies", $this->_propDict)) { + return $this->_propDict["passwordPolicies"]; + } else { + return null; + } + } + + /** + * Sets the passwordPolicies + * Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + * + * @param string $val The passwordPolicies + * + * @return User + */ + public function setPasswordPolicies($val) + { + $this->_propDict["passwordPolicies"] = $val; + return $this; + } + + /** + * Gets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. NOTE: For Azure B2C tenants, the forceChangePasswordNextSignIn property should be set to false and instead use custom policies and user flows to force password reset at first logon. See Force password reset at first logon. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @return PasswordProfile|null The passwordProfile + */ + public function getPasswordProfile() + { + if (array_key_exists("passwordProfile", $this->_propDict)) { + if (is_a($this->_propDict["passwordProfile"], "\Microsoft\Graph\Model\PasswordProfile") || is_null($this->_propDict["passwordProfile"])) { + return $this->_propDict["passwordProfile"]; + } else { + $this->_propDict["passwordProfile"] = new PasswordProfile($this->_propDict["passwordProfile"]); + return $this->_propDict["passwordProfile"]; + } + } + return null; + } + + /** + * Sets the passwordProfile + * Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. NOTE: For Azure B2C tenants, the forceChangePasswordNextSignIn property should be set to false and instead use custom policies and user flows to force password reset at first logon. See Force password reset at first logon. Supports $filter (eq, ne, not, in, and eq on null values). + * + * @param PasswordProfile $val The passwordProfile + * + * @return User + */ + public function setPasswordProfile($val) + { + $this->_propDict["passwordProfile"] = $val; + return $this; + } + + /** + * Gets the postalCode + * The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The postalCode + */ + public function getPostalCode() + { + if (array_key_exists("postalCode", $this->_propDict)) { + return $this->_propDict["postalCode"]; + } else { + return null; + } + } + + /** + * Sets the postalCode + * The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The postalCode + * + * @return User + */ + public function setPostalCode($val) + { + $this->_propDict["postalCode"] = $val; + return $this; + } + + /** + * Gets the preferredDataLocation + * The preferred data location for the user. For more information, see OneDrive Online Multi-Geo. + * + * @return string|null The preferredDataLocation + */ + public function getPreferredDataLocation() + { + if (array_key_exists("preferredDataLocation", $this->_propDict)) { + return $this->_propDict["preferredDataLocation"]; + } else { + return null; + } + } + + /** + * Sets the preferredDataLocation + * The preferred data location for the user. For more information, see OneDrive Online Multi-Geo. + * + * @param string $val The preferredDataLocation + * + * @return User + */ + public function setPreferredDataLocation($val) + { + $this->_propDict["preferredDataLocation"] = $val; + return $this; + } + + /** + * Gets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The preferredLanguage + */ + public function getPreferredLanguage() + { + if (array_key_exists("preferredLanguage", $this->_propDict)) { + return $this->_propDict["preferredLanguage"]; + } else { + return null; + } + } + + /** + * Sets the preferredLanguage + * The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The preferredLanguage + * + * @return User + */ + public function setPreferredLanguage($val) + { + $this->_propDict["preferredLanguage"] = $val; + return $this; + } + + + /** + * Gets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @return array|null The provisionedPlans + */ + public function getProvisionedPlans() + { + if (array_key_exists("provisionedPlans", $this->_propDict)) { + return $this->_propDict["provisionedPlans"]; + } else { + return null; + } + } + + /** + * Sets the provisionedPlans + * The plans that are provisioned for the user. Read-only. Not nullable. Supports $filter (eq, not, ge, le). + * + * @param ProvisionedPlan[] $val The provisionedPlans + * + * @return User + */ + public function setProvisionedPlans($val) + { + $this->_propDict["provisionedPlans"] = $val; + return $this; + } + + /** + * Gets the proxyAddresses + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @return string|null The proxyAddresses + */ + public function getProxyAddresses() + { + if (array_key_exists("proxyAddresses", $this->_propDict)) { + return $this->_propDict["proxyAddresses"]; + } else { + return null; + } + } + + /** + * Sets the proxyAddresses + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections). + * + * @param string $val The proxyAddresses + * + * @return User + */ + public function setProxyAddresses($val) + { + $this->_propDict["proxyAddresses"] = $val; + return $this; + } + + /** + * Gets the showInAddressList + * Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. + * + * @return bool|null The showInAddressList + */ + public function getShowInAddressList() + { + if (array_key_exists("showInAddressList", $this->_propDict)) { + return $this->_propDict["showInAddressList"]; + } else { + return null; + } + } + + /** + * Sets the showInAddressList + * Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. + * + * @param bool $val The showInAddressList + * + * @return User + */ + public function setShowInAddressList($val) + { + $this->_propDict["showInAddressList"] = boolval($val); + return $this; + } + + /** + * Gets the signInSessionsValidFromDateTime + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. + * + * @return \DateTime|null The signInSessionsValidFromDateTime + */ + public function getSignInSessionsValidFromDateTime() + { + if (array_key_exists("signInSessionsValidFromDateTime", $this->_propDict)) { + if (is_a($this->_propDict["signInSessionsValidFromDateTime"], "\DateTime") || is_null($this->_propDict["signInSessionsValidFromDateTime"])) { + return $this->_propDict["signInSessionsValidFromDateTime"]; + } else { + $this->_propDict["signInSessionsValidFromDateTime"] = new \DateTime($this->_propDict["signInSessionsValidFromDateTime"]); + return $this->_propDict["signInSessionsValidFromDateTime"]; + } + } + return null; + } + + /** + * Sets the signInSessionsValidFromDateTime + * Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. + * + * @param \DateTime $val The signInSessionsValidFromDateTime + * + * @return User + */ + public function setSignInSessionsValidFromDateTime($val) + { + $this->_propDict["signInSessionsValidFromDateTime"] = $val; + return $this; + } + + /** + * Gets the state + * The state or province in the user's address. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + return $this->_propDict["state"]; + } else { + return null; + } + } + + /** + * Sets the state + * The state or province in the user's address. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The state + * + * @return User + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the streetAddress + * The street address of the user's place of business. Maximum length is 1024 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The streetAddress + */ + public function getStreetAddress() + { + if (array_key_exists("streetAddress", $this->_propDict)) { + return $this->_propDict["streetAddress"]; + } else { + return null; + } + } + + /** + * Sets the streetAddress + * The street address of the user's place of business. Maximum length is 1024 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The streetAddress + * + * @return User + */ + public function setStreetAddress($val) + { + $this->_propDict["streetAddress"] = $val; + return $this; + } + + /** + * Gets the surname + * The user's surname (family name or last name). Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * The user's surname (family name or last name). Maximum length is 64 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The surname + * + * @return User + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } + + /** + * Gets the usageLocation + * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @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 + * A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * + * @param string $val The usageLocation + * + * @return User + */ + public function setUsageLocation($val) + { + $this->_propDict["usageLocation"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + * + * @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 + * The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + * + * @param string $val The userPrincipalName + * + * @return User + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + + /** + * Gets the userType + * A String value that can be used to classify user types in your directory, such as Member and Guest. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for member and guest users, see What are the default user permissions in Azure Active Directory? + * + * @return string|null The userType + */ + public function getUserType() + { + if (array_key_exists("userType", $this->_propDict)) { + return $this->_propDict["userType"]; + } else { + return null; + } + } + + /** + * Sets the userType + * A String value that can be used to classify user types in your directory, such as Member and Guest. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for member and guest users, see What are the default user permissions in Azure Active Directory? + * + * @param string $val The userType + * + * @return User + */ + public function setUserType($val) + { + $this->_propDict["userType"] = $val; + return $this; + } + + /** + * Gets the mailboxSettings + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * + * @return MailboxSettings|null The mailboxSettings + */ + public function getMailboxSettings() + { + if (array_key_exists("mailboxSettings", $this->_propDict)) { + if (is_a($this->_propDict["mailboxSettings"], "\Microsoft\Graph\Model\MailboxSettings") || is_null($this->_propDict["mailboxSettings"])) { + return $this->_propDict["mailboxSettings"]; + } else { + $this->_propDict["mailboxSettings"] = new MailboxSettings($this->_propDict["mailboxSettings"]); + return $this->_propDict["mailboxSettings"]; + } + } + return null; + } + + /** + * Sets the mailboxSettings + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * + * @param MailboxSettings $val The mailboxSettings + * + * @return User + */ + public function setMailboxSettings($val) + { + $this->_propDict["mailboxSettings"] = $val; + return $this; + } + + /** + * Gets the deviceEnrollmentLimit + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + * + * @return int|null The deviceEnrollmentLimit + */ + public function getDeviceEnrollmentLimit() + { + if (array_key_exists("deviceEnrollmentLimit", $this->_propDict)) { + return $this->_propDict["deviceEnrollmentLimit"]; + } else { + return null; + } + } + + /** + * Sets the deviceEnrollmentLimit + * The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. + * + * @param int $val The deviceEnrollmentLimit + * + * @return User + */ + public function setDeviceEnrollmentLimit($val) + { + $this->_propDict["deviceEnrollmentLimit"] = intval($val); + return $this; + } + + /** + * Gets the aboutMe + * A freeform text entry field for the user to describe themselves. Returned only on $select. + * + * @return string|null The aboutMe + */ + public function getAboutMe() + { + if (array_key_exists("aboutMe", $this->_propDict)) { + return $this->_propDict["aboutMe"]; + } else { + return null; + } + } + + /** + * Sets the aboutMe + * A freeform text entry field for the user to describe themselves. Returned only on $select. + * + * @param string $val The aboutMe + * + * @return User + */ + public function setAboutMe($val) + { + $this->_propDict["aboutMe"] = $val; + return $this; + } + + /** + * Gets the birthday + * The birthday of the user. 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 Returned only on $select. + * + * @return \DateTime|null The birthday + */ + public function getBirthday() + { + if (array_key_exists("birthday", $this->_propDict)) { + if (is_a($this->_propDict["birthday"], "\DateTime") || is_null($this->_propDict["birthday"])) { + return $this->_propDict["birthday"]; + } else { + $this->_propDict["birthday"] = new \DateTime($this->_propDict["birthday"]); + return $this->_propDict["birthday"]; + } + } + return null; + } + + /** + * Sets the birthday + * The birthday of the user. 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 Returned only on $select. + * + * @param \DateTime $val The birthday + * + * @return User + */ + public function setBirthday($val) + { + $this->_propDict["birthday"] = $val; + return $this; + } + + /** + * Gets the hireDate + * The hire date of the user. 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. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs. + * + * @return \DateTime|null The hireDate + */ + public function getHireDate() + { + if (array_key_exists("hireDate", $this->_propDict)) { + if (is_a($this->_propDict["hireDate"], "\DateTime") || is_null($this->_propDict["hireDate"])) { + return $this->_propDict["hireDate"]; + } else { + $this->_propDict["hireDate"] = new \DateTime($this->_propDict["hireDate"]); + return $this->_propDict["hireDate"]; + } + } + return null; + } + + /** + * Sets the hireDate + * The hire date of the user. 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. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs. + * + * @param \DateTime $val The hireDate + * + * @return User + */ + public function setHireDate($val) + { + $this->_propDict["hireDate"] = $val; + return $this; + } + + /** + * Gets the interests + * A list for the user to describe their interests. Returned only on $select. + * + * @return string|null The interests + */ + public function getInterests() + { + if (array_key_exists("interests", $this->_propDict)) { + return $this->_propDict["interests"]; + } else { + return null; + } + } + + /** + * Sets the interests + * A list for the user to describe their interests. Returned only on $select. + * + * @param string $val The interests + * + * @return User + */ + public function setInterests($val) + { + $this->_propDict["interests"] = $val; + return $this; + } + + /** + * Gets the mySite + * The URL for the user's personal site. Returned only on $select. + * + * @return string|null The mySite + */ + public function getMySite() + { + if (array_key_exists("mySite", $this->_propDict)) { + return $this->_propDict["mySite"]; + } else { + return null; + } + } + + /** + * Sets the mySite + * The URL for the user's personal site. Returned only on $select. + * + * @param string $val The mySite + * + * @return User + */ + public function setMySite($val) + { + $this->_propDict["mySite"] = $val; + return $this; + } + + /** + * Gets the pastProjects + * A list for the user to enumerate their past projects. Returned only on $select. + * + * @return string|null The pastProjects + */ + public function getPastProjects() + { + if (array_key_exists("pastProjects", $this->_propDict)) { + return $this->_propDict["pastProjects"]; + } else { + return null; + } + } + + /** + * Sets the pastProjects + * A list for the user to enumerate their past projects. Returned only on $select. + * + * @param string $val The pastProjects + * + * @return User + */ + public function setPastProjects($val) + { + $this->_propDict["pastProjects"] = $val; + return $this; + } + + /** + * Gets the preferredName + * The preferred name for the user. Returned only on $select. + * + * @return string|null The preferredName + */ + public function getPreferredName() + { + if (array_key_exists("preferredName", $this->_propDict)) { + return $this->_propDict["preferredName"]; + } else { + return null; + } + } + + /** + * Sets the preferredName + * The preferred name for the user. Returned only on $select. + * + * @param string $val The preferredName + * + * @return User + */ + public function setPreferredName($val) + { + $this->_propDict["preferredName"] = $val; + return $this; + } + + /** + * Gets the responsibilities + * A list for the user to enumerate their responsibilities. Returned only on $select. + * + * @return string|null The responsibilities + */ + public function getResponsibilities() + { + if (array_key_exists("responsibilities", $this->_propDict)) { + return $this->_propDict["responsibilities"]; + } else { + return null; + } + } + + /** + * Sets the responsibilities + * A list for the user to enumerate their responsibilities. Returned only on $select. + * + * @param string $val The responsibilities + * + * @return User + */ + public function setResponsibilities($val) + { + $this->_propDict["responsibilities"] = $val; + return $this; + } + + /** + * Gets the schools + * A list for the user to enumerate the schools they have attended. Returned only on $select. + * + * @return string|null The schools + */ + public function getSchools() + { + if (array_key_exists("schools", $this->_propDict)) { + return $this->_propDict["schools"]; + } else { + return null; + } + } + + /** + * Sets the schools + * A list for the user to enumerate the schools they have attended. Returned only on $select. + * + * @param string $val The schools + * + * @return User + */ + public function setSchools($val) + { + $this->_propDict["schools"] = $val; + return $this; + } + + /** + * Gets the skills + * A list for the user to enumerate their skills. Returned only on $select. + * + * @return string|null The skills + */ + public function getSkills() + { + if (array_key_exists("skills", $this->_propDict)) { + return $this->_propDict["skills"]; + } else { + return null; + } + } + + /** + * Sets the skills + * A list for the user to enumerate their skills. Returned only on $select. + * + * @param string $val The skills + * + * @return User + */ + public function setSkills($val) + { + $this->_propDict["skills"] = $val; + return $this; + } + + + /** + * Gets the appRoleAssignments + * Represents the app roles a user has been granted for an application. Supports $expand. + * + * @return array|null The appRoleAssignments + */ + public function getAppRoleAssignments() + { + if (array_key_exists("appRoleAssignments", $this->_propDict)) { + return $this->_propDict["appRoleAssignments"]; + } else { + return null; + } + } + + /** + * Sets the appRoleAssignments + * Represents the app roles a user has been granted for an application. Supports $expand. + * + * @param AppRoleAssignment[] $val The appRoleAssignments + * + * @return User + */ + public function setAppRoleAssignments($val) + { + $this->_propDict["appRoleAssignments"] = $val; + return $this; + } + + + /** + * Gets the createdObjects + * Directory objects that were created by the user. Read-only. Nullable. + * + * @return array|null The createdObjects + */ + public function getCreatedObjects() + { + if (array_key_exists("createdObjects", $this->_propDict)) { + return $this->_propDict["createdObjects"]; + } else { + return null; + } + } + + /** + * Sets the createdObjects + * Directory objects that were created by the user. Read-only. Nullable. + * + * @param DirectoryObject[] $val The createdObjects + * + * @return User + */ + public function setCreatedObjects($val) + { + $this->_propDict["createdObjects"] = $val; + return $this; + } + + + /** + * Gets the directReports + * The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + * + * @return array|null The directReports + */ + public function getDirectReports() + { + if (array_key_exists("directReports", $this->_propDict)) { + return $this->_propDict["directReports"]; + } else { + return null; + } + } + + /** + * Sets the directReports + * The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The directReports + * + * @return User + */ + public function setDirectReports($val) + { + $this->_propDict["directReports"] = $val; + return $this; + } + + + /** + * Gets the licenseDetails + * A collection of this user's license details. Read-only. + * + * @return array|null The licenseDetails + */ + public function getLicenseDetails() + { + if (array_key_exists("licenseDetails", $this->_propDict)) { + return $this->_propDict["licenseDetails"]; + } else { + return null; + } + } + + /** + * Sets the licenseDetails + * A collection of this user's license details. Read-only. + * + * @param LicenseDetails[] $val The licenseDetails + * + * @return User + */ + public function setLicenseDetails($val) + { + $this->_propDict["licenseDetails"] = $val; + return $this; + } + + /** + * Gets the manager + * The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand. + * + * @return DirectoryObject|null The manager + */ + public function getManager() + { + if (array_key_exists("manager", $this->_propDict)) { + if (is_a($this->_propDict["manager"], "\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["manager"])) { + return $this->_propDict["manager"]; + } else { + $this->_propDict["manager"] = new DirectoryObject($this->_propDict["manager"]); + return $this->_propDict["manager"]; + } + } + return null; + } + + /** + * Sets the manager + * The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand. + * + * @param DirectoryObject $val The manager + * + * @return User + */ + public function setManager($val) + { + $this->_propDict["manager"] = $val; + return $this; + } + + + /** + * Gets the memberOf + * The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + * + * @return array|null The memberOf + */ + public function getMemberOf() + { + if (array_key_exists("memberOf", $this->_propDict)) { + return $this->_propDict["memberOf"]; + } else { + return null; + } + } + + /** + * Sets the memberOf + * The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The memberOf + * + * @return User + */ + public function setMemberOf($val) + { + $this->_propDict["memberOf"] = $val; + return $this; + } + + + /** + * Gets the oauth2PermissionGrants + * + * @return array|null The oauth2PermissionGrants + */ + public function getOauth2PermissionGrants() + { + if (array_key_exists("oauth2PermissionGrants", $this->_propDict)) { + return $this->_propDict["oauth2PermissionGrants"]; + } else { + return null; + } + } + + /** + * Sets the oauth2PermissionGrants + * + * @param OAuth2PermissionGrant[] $val The oauth2PermissionGrants + * + * @return User + */ + public function setOauth2PermissionGrants($val) + { + $this->_propDict["oauth2PermissionGrants"] = $val; + return $this; + } + + + /** + * Gets the ownedDevices + * Devices that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @return array|null The ownedDevices + */ + public function getOwnedDevices() + { + if (array_key_exists("ownedDevices", $this->_propDict)) { + return $this->_propDict["ownedDevices"]; + } else { + return null; + } + } + + /** + * Sets the ownedDevices + * Devices that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The ownedDevices + * + * @return User + */ + public function setOwnedDevices($val) + { + $this->_propDict["ownedDevices"] = $val; + return $this; + } + + + /** + * Gets the ownedObjects + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @return array|null The ownedObjects + */ + public function getOwnedObjects() + { + if (array_key_exists("ownedObjects", $this->_propDict)) { + return $this->_propDict["ownedObjects"]; + } else { + return null; + } + } + + /** + * Sets the ownedObjects + * Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The ownedObjects + * + * @return User + */ + public function setOwnedObjects($val) + { + $this->_propDict["ownedObjects"] = $val; + return $this; + } + + + /** + * Gets the registeredDevices + * Devices that are registered for the user. Read-only. Nullable. Supports $expand. + * + * @return array|null The registeredDevices + */ + public function getRegisteredDevices() + { + if (array_key_exists("registeredDevices", $this->_propDict)) { + return $this->_propDict["registeredDevices"]; + } else { + return null; + } + } + + /** + * Sets the registeredDevices + * Devices that are registered for the user. Read-only. Nullable. Supports $expand. + * + * @param DirectoryObject[] $val The registeredDevices + * + * @return User + */ + public function setRegisteredDevices($val) + { + $this->_propDict["registeredDevices"] = $val; + return $this; + } + + + /** + * Gets the scopedRoleMemberOf + * The scoped-role administrative unit memberships for this user. Read-only. Nullable. + * + * @return array|null The scopedRoleMemberOf + */ + public function getScopedRoleMemberOf() + { + if (array_key_exists("scopedRoleMemberOf", $this->_propDict)) { + return $this->_propDict["scopedRoleMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the scopedRoleMemberOf + * The scoped-role administrative unit memberships for this user. Read-only. Nullable. + * + * @param ScopedRoleMembership[] $val The scopedRoleMemberOf + * + * @return User + */ + public function setScopedRoleMemberOf($val) + { + $this->_propDict["scopedRoleMemberOf"] = $val; + return $this; + } + + + /** + * Gets the transitiveMemberOf + * + * @return array|null The transitiveMemberOf + */ + public function getTransitiveMemberOf() + { + if (array_key_exists("transitiveMemberOf", $this->_propDict)) { + return $this->_propDict["transitiveMemberOf"]; + } else { + return null; + } + } + + /** + * Sets the transitiveMemberOf + * + * @param DirectoryObject[] $val The transitiveMemberOf + * + * @return User + */ + public function setTransitiveMemberOf($val) + { + $this->_propDict["transitiveMemberOf"] = $val; + return $this; + } + + /** + * Gets the calendar + * The user's primary calendar. Read-only. + * + * @return Calendar|null The calendar + */ + public function getCalendar() + { + if (array_key_exists("calendar", $this->_propDict)) { + if (is_a($this->_propDict["calendar"], "\Microsoft\Graph\Model\Calendar") || is_null($this->_propDict["calendar"])) { + return $this->_propDict["calendar"]; + } else { + $this->_propDict["calendar"] = new Calendar($this->_propDict["calendar"]); + return $this->_propDict["calendar"]; + } + } + return null; + } + + /** + * Sets the calendar + * The user's primary calendar. Read-only. + * + * @param Calendar $val The calendar + * + * @return User + */ + public function setCalendar($val) + { + $this->_propDict["calendar"] = $val; + return $this; + } + + + /** + * Gets the calendarGroups + * The user's calendar groups. Read-only. Nullable. + * + * @return array|null The calendarGroups + */ + public function getCalendarGroups() + { + if (array_key_exists("calendarGroups", $this->_propDict)) { + return $this->_propDict["calendarGroups"]; + } else { + return null; + } + } + + /** + * Sets the calendarGroups + * The user's calendar groups. Read-only. Nullable. + * + * @param CalendarGroup[] $val The calendarGroups + * + * @return User + */ + public function setCalendarGroups($val) + { + $this->_propDict["calendarGroups"] = $val; + return $this; + } + + + /** + * Gets the calendars + * The user's calendars. Read-only. Nullable. + * + * @return array|null The calendars + */ + public function getCalendars() + { + if (array_key_exists("calendars", $this->_propDict)) { + return $this->_propDict["calendars"]; + } else { + return null; + } + } + + /** + * Sets the calendars + * The user's calendars. Read-only. Nullable. + * + * @param Calendar[] $val The calendars + * + * @return User + */ + public function setCalendars($val) + { + $this->_propDict["calendars"] = $val; + return $this; + } + + + /** + * Gets the calendarView + * The calendar view for the calendar. Read-only. Nullable. + * + * @return array|null The calendarView + */ + public function getCalendarView() + { + if (array_key_exists("calendarView", $this->_propDict)) { + return $this->_propDict["calendarView"]; + } else { + return null; + } + } + + /** + * Sets the calendarView + * The calendar view for the calendar. Read-only. Nullable. + * + * @param Event[] $val The calendarView + * + * @return User + */ + public function setCalendarView($val) + { + $this->_propDict["calendarView"] = $val; + return $this; + } + + + /** + * Gets the contactFolders + * The user's contacts folders. Read-only. Nullable. + * + * @return array|null The contactFolders + */ + public function getContactFolders() + { + if (array_key_exists("contactFolders", $this->_propDict)) { + return $this->_propDict["contactFolders"]; + } else { + return null; + } + } + + /** + * Sets the contactFolders + * The user's contacts folders. Read-only. Nullable. + * + * @param ContactFolder[] $val The contactFolders + * + * @return User + */ + public function setContactFolders($val) + { + $this->_propDict["contactFolders"] = $val; + return $this; + } + + + /** + * Gets the contacts + * The user's contacts. Read-only. Nullable. + * + * @return array|null The contacts + */ + public function getContacts() + { + if (array_key_exists("contacts", $this->_propDict)) { + return $this->_propDict["contacts"]; + } else { + return null; + } + } + + /** + * Sets the contacts + * The user's contacts. Read-only. Nullable. + * + * @param Contact[] $val The contacts + * + * @return User + */ + public function setContacts($val) + { + $this->_propDict["contacts"] = $val; + return $this; + } + + + /** + * Gets the events + * The user's events. Default is to show events under the Default Calendar. Read-only. Nullable. + * + * @return array|null The events + */ + public function getEvents() + { + if (array_key_exists("events", $this->_propDict)) { + return $this->_propDict["events"]; + } else { + return null; + } + } + + /** + * Sets the events + * The user's events. Default is to show events under the Default Calendar. Read-only. Nullable. + * + * @param Event[] $val The events + * + * @return User + */ + public function setEvents($val) + { + $this->_propDict["events"] = $val; + return $this; + } + + /** + * Gets the inferenceClassification + * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + * + * @return InferenceClassification|null The inferenceClassification + */ + public function getInferenceClassification() + { + if (array_key_exists("inferenceClassification", $this->_propDict)) { + if (is_a($this->_propDict["inferenceClassification"], "\Microsoft\Graph\Model\InferenceClassification") || is_null($this->_propDict["inferenceClassification"])) { + return $this->_propDict["inferenceClassification"]; + } else { + $this->_propDict["inferenceClassification"] = new InferenceClassification($this->_propDict["inferenceClassification"]); + return $this->_propDict["inferenceClassification"]; + } + } + return null; + } + + /** + * Sets the inferenceClassification + * Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + * + * @param InferenceClassification $val The inferenceClassification + * + * @return User + */ + public function setInferenceClassification($val) + { + $this->_propDict["inferenceClassification"] = $val; + return $this; + } + + + /** + * Gets the mailFolders + * The user's mail folders. Read-only. Nullable. + * + * @return array|null The mailFolders + */ + public function getMailFolders() + { + if (array_key_exists("mailFolders", $this->_propDict)) { + return $this->_propDict["mailFolders"]; + } else { + return null; + } + } + + /** + * Sets the mailFolders + * The user's mail folders. Read-only. Nullable. + * + * @param MailFolder[] $val The mailFolders + * + * @return User + */ + public function setMailFolders($val) + { + $this->_propDict["mailFolders"] = $val; + return $this; + } + + + /** + * Gets the messages + * The messages in a mailbox or folder. Read-only. Nullable. + * + * @return array|null The messages + */ + public function getMessages() + { + if (array_key_exists("messages", $this->_propDict)) { + return $this->_propDict["messages"]; + } else { + return null; + } + } + + /** + * Sets the messages + * The messages in a mailbox or folder. Read-only. Nullable. + * + * @param Message[] $val The messages + * + * @return User + */ + public function setMessages($val) + { + $this->_propDict["messages"] = $val; + return $this; + } + + /** + * Gets the outlook + * Selective Outlook services available to the user. Read-only. Nullable. + * + * @return OutlookUser|null The outlook + */ + public function getOutlook() + { + if (array_key_exists("outlook", $this->_propDict)) { + if (is_a($this->_propDict["outlook"], "\Microsoft\Graph\Model\OutlookUser") || is_null($this->_propDict["outlook"])) { + return $this->_propDict["outlook"]; + } else { + $this->_propDict["outlook"] = new OutlookUser($this->_propDict["outlook"]); + return $this->_propDict["outlook"]; + } + } + return null; + } + + /** + * Sets the outlook + * Selective Outlook services available to the user. Read-only. Nullable. + * + * @param OutlookUser $val The outlook + * + * @return User + */ + public function setOutlook($val) + { + $this->_propDict["outlook"] = $val; + return $this; + } + + + /** + * Gets the people + * Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + * + * @return array|null The people + */ + public function getPeople() + { + if (array_key_exists("people", $this->_propDict)) { + return $this->_propDict["people"]; + } else { + return null; + } + } + + /** + * Sets the people + * Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + * + * @param Person[] $val The people + * + * @return User + */ + public function setPeople($val) + { + $this->_propDict["people"] = $val; + return $this; + } + + /** + * Gets the drive + * The user's OneDrive. Read-only. + * + * @return Drive|null The drive + */ + public function getDrive() + { + if (array_key_exists("drive", $this->_propDict)) { + if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\Drive") || is_null($this->_propDict["drive"])) { + return $this->_propDict["drive"]; + } else { + $this->_propDict["drive"] = new Drive($this->_propDict["drive"]); + return $this->_propDict["drive"]; + } + } + return null; + } + + /** + * Sets the drive + * The user's OneDrive. Read-only. + * + * @param Drive $val The drive + * + * @return User + */ + public function setDrive($val) + { + $this->_propDict["drive"] = $val; + return $this; + } + + + /** + * Gets the drives + * A collection of drives available for this user. Read-only. + * + * @return array|null The drives + */ + public function getDrives() + { + if (array_key_exists("drives", $this->_propDict)) { + return $this->_propDict["drives"]; + } else { + return null; + } + } + + /** + * Sets the drives + * A collection of drives available for this user. Read-only. + * + * @param Drive[] $val The drives + * + * @return User + */ + public function setDrives($val) + { + $this->_propDict["drives"] = $val; + return $this; + } + + + /** + * Gets the followedSites + * + * @return array|null The followedSites + */ + public function getFollowedSites() + { + if (array_key_exists("followedSites", $this->_propDict)) { + return $this->_propDict["followedSites"]; + } else { + return null; + } + } + + /** + * Sets the followedSites + * + * @param Site[] $val The followedSites + * + * @return User + */ + public function setFollowedSites($val) + { + $this->_propDict["followedSites"] = $val; + return $this; + } + + + /** + * Gets the extensions + * The collection of open extensions defined for the user. Nullable. + * + * @return array|null The extensions + */ + public function getExtensions() + { + if (array_key_exists("extensions", $this->_propDict)) { + return $this->_propDict["extensions"]; + } else { + return null; + } + } + + /** + * Sets the extensions + * The collection of open extensions defined for the user. Nullable. + * + * @param Extension[] $val The extensions + * + * @return User + */ + public function setExtensions($val) + { + $this->_propDict["extensions"] = $val; + return $this; + } + + + /** + * Gets the agreementAcceptances + * The user's terms of use acceptance statuses. Read-only. Nullable. + * + * @return array|null The agreementAcceptances + */ + public function getAgreementAcceptances() + { + if (array_key_exists("agreementAcceptances", $this->_propDict)) { + return $this->_propDict["agreementAcceptances"]; + } else { + return null; + } + } + + /** + * Sets the agreementAcceptances + * The user's terms of use acceptance statuses. Read-only. Nullable. + * + * @param AgreementAcceptance[] $val The agreementAcceptances + * + * @return User + */ + public function setAgreementAcceptances($val) + { + $this->_propDict["agreementAcceptances"] = $val; + return $this; + } + + + /** + * Gets the managedDevices + * The managed devices associated with the user. + * + * @return array|null The managedDevices + */ + public function getManagedDevices() + { + if (array_key_exists("managedDevices", $this->_propDict)) { + return $this->_propDict["managedDevices"]; + } else { + return null; + } + } + + /** + * Sets the managedDevices + * The managed devices associated with the user. + * + * @param ManagedDevice[] $val The managedDevices + * + * @return User + */ + public function setManagedDevices($val) + { + $this->_propDict["managedDevices"] = $val; + return $this; + } + + + /** + * Gets the managedAppRegistrations + * Zero or more managed app registrations that belong to the user. + * + * @return array|null The managedAppRegistrations + */ + public function getManagedAppRegistrations() + { + if (array_key_exists("managedAppRegistrations", $this->_propDict)) { + return $this->_propDict["managedAppRegistrations"]; + } else { + return null; + } + } + + /** + * Sets the managedAppRegistrations + * Zero or more managed app registrations that belong to the user. + * + * @param ManagedAppRegistration[] $val The managedAppRegistrations + * + * @return User + */ + public function setManagedAppRegistrations($val) + { + $this->_propDict["managedAppRegistrations"] = $val; + return $this; + } + + + /** + * Gets the deviceManagementTroubleshootingEvents + * The list of troubleshooting events for this user. + * + * @return array|null The deviceManagementTroubleshootingEvents + */ + public function getDeviceManagementTroubleshootingEvents() + { + if (array_key_exists("deviceManagementTroubleshootingEvents", $this->_propDict)) { + return $this->_propDict["deviceManagementTroubleshootingEvents"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementTroubleshootingEvents + * The list of troubleshooting events for this user. + * + * @param DeviceManagementTroubleshootingEvent[] $val The deviceManagementTroubleshootingEvents + * + * @return User + */ + public function setDeviceManagementTroubleshootingEvents($val) + { + $this->_propDict["deviceManagementTroubleshootingEvents"] = $val; + return $this; + } + + /** + * Gets the planner + * Selective Planner services available to the user. Read-only. Nullable. + * + * @return PlannerUser|null The planner + */ + public function getPlanner() + { + if (array_key_exists("planner", $this->_propDict)) { + if (is_a($this->_propDict["planner"], "\Microsoft\Graph\Model\PlannerUser") || is_null($this->_propDict["planner"])) { + return $this->_propDict["planner"]; + } else { + $this->_propDict["planner"] = new PlannerUser($this->_propDict["planner"]); + return $this->_propDict["planner"]; + } + } + return null; + } + + /** + * Sets the planner + * Selective Planner services available to the user. Read-only. Nullable. + * + * @param PlannerUser $val The planner + * + * @return User + */ + public function setPlanner($val) + { + $this->_propDict["planner"] = $val; + return $this; + } + + /** + * Gets the insights + * Read-only. Nullable. + * + * @return OfficeGraphInsights|null The insights + */ + public function getInsights() + { + if (array_key_exists("insights", $this->_propDict)) { + if (is_a($this->_propDict["insights"], "\Microsoft\Graph\Model\OfficeGraphInsights") || is_null($this->_propDict["insights"])) { + return $this->_propDict["insights"]; + } else { + $this->_propDict["insights"] = new OfficeGraphInsights($this->_propDict["insights"]); + return $this->_propDict["insights"]; + } + } + return null; + } + + /** + * Sets the insights + * Read-only. Nullable. + * + * @param OfficeGraphInsights $val The insights + * + * @return User + */ + public function setInsights($val) + { + $this->_propDict["insights"] = $val; + return $this; + } + + /** + * Gets the settings + * Read-only. Nullable. + * + * @return UserSettings|null The settings + */ + public function getSettings() + { + if (array_key_exists("settings", $this->_propDict)) { + if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\UserSettings") || is_null($this->_propDict["settings"])) { + return $this->_propDict["settings"]; + } else { + $this->_propDict["settings"] = new UserSettings($this->_propDict["settings"]); + return $this->_propDict["settings"]; + } + } + return null; + } + + /** + * Sets the settings + * Read-only. Nullable. + * + * @param UserSettings $val The settings + * + * @return User + */ + public function setSettings($val) + { + $this->_propDict["settings"] = $val; + return $this; + } + + /** + * Gets the onenote + * Read-only. + * + * @return Onenote|null The onenote + */ + public function getOnenote() + { + if (array_key_exists("onenote", $this->_propDict)) { + if (is_a($this->_propDict["onenote"], "\Microsoft\Graph\Model\Onenote") || is_null($this->_propDict["onenote"])) { + return $this->_propDict["onenote"]; + } else { + $this->_propDict["onenote"] = new Onenote($this->_propDict["onenote"]); + return $this->_propDict["onenote"]; + } + } + return null; + } + + /** + * Sets the onenote + * Read-only. + * + * @param Onenote $val The onenote + * + * @return User + */ + public function setOnenote($val) + { + $this->_propDict["onenote"] = $val; + return $this; + } + + /** + * Gets the photo + * The user's profile photo. Read-only. + * + * @return ProfilePhoto|null The photo + */ + public function getPhoto() + { + if (array_key_exists("photo", $this->_propDict)) { + if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\ProfilePhoto") || is_null($this->_propDict["photo"])) { + return $this->_propDict["photo"]; + } else { + $this->_propDict["photo"] = new ProfilePhoto($this->_propDict["photo"]); + return $this->_propDict["photo"]; + } + } + return null; + } + + /** + * Sets the photo + * The user's profile photo. Read-only. + * + * @param ProfilePhoto $val The photo + * + * @return User + */ + public function setPhoto($val) + { + $this->_propDict["photo"] = $val; + return $this; + } + + + /** + * Gets the photos + * Read-only. Nullable. + * + * @return array|null The photos + */ + public function getPhotos() + { + if (array_key_exists("photos", $this->_propDict)) { + return $this->_propDict["photos"]; + } else { + return null; + } + } + + /** + * Sets the photos + * Read-only. Nullable. + * + * @param ProfilePhoto[] $val The photos + * + * @return User + */ + public function setPhotos($val) + { + $this->_propDict["photos"] = $val; + return $this; + } + + + /** + * Gets the activities + * The user's activities across devices. Read-only. Nullable. + * + * @return array|null The activities + */ + public function getActivities() + { + if (array_key_exists("activities", $this->_propDict)) { + return $this->_propDict["activities"]; + } else { + return null; + } + } + + /** + * Sets the activities + * The user's activities across devices. Read-only. Nullable. + * + * @param UserActivity[] $val The activities + * + * @return User + */ + public function setActivities($val) + { + $this->_propDict["activities"] = $val; + return $this; + } + + + /** + * Gets the onlineMeetings + * + * @return array|null The onlineMeetings + */ + public function getOnlineMeetings() + { + if (array_key_exists("onlineMeetings", $this->_propDict)) { + return $this->_propDict["onlineMeetings"]; + } else { + return null; + } + } + + /** + * Sets the onlineMeetings + * + * @param OnlineMeeting[] $val The onlineMeetings + * + * @return User + */ + public function setOnlineMeetings($val) + { + $this->_propDict["onlineMeetings"] = $val; + return $this; + } + + /** + * Gets the presence + * + * @return Presence|null The presence + */ + public function getPresence() + { + if (array_key_exists("presence", $this->_propDict)) { + if (is_a($this->_propDict["presence"], "\Microsoft\Graph\Model\Presence") || is_null($this->_propDict["presence"])) { + return $this->_propDict["presence"]; + } else { + $this->_propDict["presence"] = new Presence($this->_propDict["presence"]); + return $this->_propDict["presence"]; + } + } + return null; + } + + /** + * Sets the presence + * + * @param Presence $val The presence + * + * @return User + */ + public function setPresence($val) + { + $this->_propDict["presence"] = $val; + return $this; + } + + /** + * Gets the authentication + * TODO: Add Description + * + * @return Authentication|null The authentication + */ + public function getAuthentication() + { + if (array_key_exists("authentication", $this->_propDict)) { + if (is_a($this->_propDict["authentication"], "\Microsoft\Graph\Model\Authentication") || is_null($this->_propDict["authentication"])) { + return $this->_propDict["authentication"]; + } else { + $this->_propDict["authentication"] = new Authentication($this->_propDict["authentication"]); + return $this->_propDict["authentication"]; + } + } + return null; + } + + /** + * Sets the authentication + * TODO: Add Description + * + * @param Authentication $val The authentication + * + * @return User + */ + public function setAuthentication($val) + { + $this->_propDict["authentication"] = $val; + return $this; + } + + + /** + * Gets the chats + * + * @return array|null The chats + */ + public function getChats() + { + if (array_key_exists("chats", $this->_propDict)) { + return $this->_propDict["chats"]; + } else { + return null; + } + } + + /** + * Sets the chats + * + * @param Chat[] $val The chats + * + * @return User + */ + public function setChats($val) + { + $this->_propDict["chats"] = $val; + return $this; + } + + + /** + * Gets the joinedTeams + * The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + * + * @return array|null The joinedTeams + */ + public function getJoinedTeams() + { + if (array_key_exists("joinedTeams", $this->_propDict)) { + return $this->_propDict["joinedTeams"]; + } else { + return null; + } + } + + /** + * Sets the joinedTeams + * The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + * + * @param Team[] $val The joinedTeams + * + * @return User + */ + public function setJoinedTeams($val) + { + $this->_propDict["joinedTeams"] = $val; + return $this; + } + + /** + * Gets the teamwork + * A container for Microsoft Teams features available for the user. Read-only. Nullable. + * + * @return UserTeamwork|null The teamwork + */ + public function getTeamwork() + { + if (array_key_exists("teamwork", $this->_propDict)) { + if (is_a($this->_propDict["teamwork"], "\Microsoft\Graph\Model\UserTeamwork") || is_null($this->_propDict["teamwork"])) { + return $this->_propDict["teamwork"]; + } else { + $this->_propDict["teamwork"] = new UserTeamwork($this->_propDict["teamwork"]); + return $this->_propDict["teamwork"]; + } + } + return null; + } + + /** + * Sets the teamwork + * A container for Microsoft Teams features available for the user. Read-only. Nullable. + * + * @param UserTeamwork $val The teamwork + * + * @return User + */ + public function setTeamwork($val) + { + $this->_propDict["teamwork"] = $val; + return $this; + } + + /** + * Gets the todo + * Represents the To Do services available to a user. + * + * @return Todo|null The todo + */ + public function getTodo() + { + if (array_key_exists("todo", $this->_propDict)) { + if (is_a($this->_propDict["todo"], "\Microsoft\Graph\Model\Todo") || is_null($this->_propDict["todo"])) { + return $this->_propDict["todo"]; + } else { + $this->_propDict["todo"] = new Todo($this->_propDict["todo"]); + return $this->_propDict["todo"]; + } + } + return null; + } + + /** + * Sets the todo + * Represents the To Do services available to a user. + * + * @param Todo $val The todo + * + * @return User + */ + public function setTodo($val) + { + $this->_propDict["todo"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserAccountSecurityType.php b/vendor/microsoft/microsoft-graph/src/Model/UserAccountSecurityType.php new file mode 100644 index 0000000..a12468a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserAccountSecurityType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["activationUrl"]; + } else { + return null; + } + } + + /** + * Sets the activationUrl + * Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists. + * + * @param string $val The activationUrl + * + * @return UserActivity + */ + public function setActivationUrl($val) + { + $this->_propDict["activationUrl"] = $val; + return $this; + } + + /** + * Gets the activitySourceHost + * Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. + * + * @return string|null The activitySourceHost + */ + public function getActivitySourceHost() + { + if (array_key_exists("activitySourceHost", $this->_propDict)) { + return $this->_propDict["activitySourceHost"]; + } else { + return null; + } + } + + /** + * Sets the activitySourceHost + * Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. + * + * @param string $val The activitySourceHost + * + * @return UserActivity + */ + public function setActivitySourceHost($val) + { + $this->_propDict["activitySourceHost"] = $val; + return $this; + } + + /** + * Gets the appActivityId + * Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. + * + * @return string|null The appActivityId + */ + public function getAppActivityId() + { + if (array_key_exists("appActivityId", $this->_propDict)) { + return $this->_propDict["appActivityId"]; + } else { + return null; + } + } + + /** + * Sets the appActivityId + * Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. + * + * @param string $val The appActivityId + * + * @return UserActivity + */ + public function setAppActivityId($val) + { + $this->_propDict["appActivityId"] = $val; + return $this; + } + + /** + * Gets the appDisplayName + * Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. + * + * @return string|null The appDisplayName + */ + public function getAppDisplayName() + { + if (array_key_exists("appDisplayName", $this->_propDict)) { + return $this->_propDict["appDisplayName"]; + } else { + return null; + } + } + + /** + * Sets the appDisplayName + * Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. + * + * @param string $val The appDisplayName + * + * @return UserActivity + */ + public function setAppDisplayName($val) + { + $this->_propDict["appDisplayName"] = $val; + return $this; + } + + /** + * Gets the contentInfo + * Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. + * + * @return string|null The contentInfo + */ + public function getContentInfo() + { + if (array_key_exists("contentInfo", $this->_propDict)) { + return $this->_propDict["contentInfo"]; + } else { + return null; + } + } + + /** + * Sets the contentInfo + * Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. + * + * @param string $val The contentInfo + * + * @return UserActivity + */ + public function setContentInfo($val) + { + $this->_propDict["contentInfo"] = $val; + return $this; + } + + /** + * Gets the contentUrl + * Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). + * + * @return string|null The contentUrl + */ + public function getContentUrl() + { + if (array_key_exists("contentUrl", $this->_propDict)) { + return $this->_propDict["contentUrl"]; + } else { + return null; + } + } + + /** + * Sets the contentUrl + * Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). + * + * @param string $val The contentUrl + * + * @return UserActivity + */ + public function setContentUrl($val) + { + $this->_propDict["contentUrl"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Set by the server. DateTime in UTC when the object was created on the server. + * + * @param \DateTime $val The createdDateTime + * + * @return UserActivity + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Set by the server. DateTime in UTC when the object expired on the server. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Set by the server. DateTime in UTC when the object expired on the server. + * + * @param \DateTime $val The expirationDateTime + * + * @return UserActivity + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fallbackUrl + * Optional. URL used to launch the activity in a web-based app, if available. + * + * @return string|null The fallbackUrl + */ + public function getFallbackUrl() + { + if (array_key_exists("fallbackUrl", $this->_propDict)) { + return $this->_propDict["fallbackUrl"]; + } else { + return null; + } + } + + /** + * Sets the fallbackUrl + * Optional. URL used to launch the activity in a web-based app, if available. + * + * @param string $val The fallbackUrl + * + * @return UserActivity + */ + public function setFallbackUrl($val) + { + $this->_propDict["fallbackUrl"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Set by the server. DateTime in UTC when the object was modified on the server. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return UserActivity + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @return Status|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\Status") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new Status($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. + * + * @param Status $val The status + * + * @return UserActivity + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation. + * + * @return string|null The userTimezone + */ + public function getUserTimezone() + { + if (array_key_exists("userTimezone", $this->_propDict)) { + return $this->_propDict["userTimezone"]; + } else { + return null; + } + } + + /** + * Sets the userTimezone + * Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation. + * + * @param string $val The userTimezone + * + * @return UserActivity + */ + public function setUserTimezone($val) + { + $this->_propDict["userTimezone"] = $val; + return $this; + } + + /** + * Gets the visualElements + * Required. The object containing information to render the activity in the UX. + * + * @return VisualInfo|null The visualElements + */ + public function getVisualElements() + { + if (array_key_exists("visualElements", $this->_propDict)) { + if (is_a($this->_propDict["visualElements"], "\Microsoft\Graph\Model\VisualInfo") || is_null($this->_propDict["visualElements"])) { + return $this->_propDict["visualElements"]; + } else { + $this->_propDict["visualElements"] = new VisualInfo($this->_propDict["visualElements"]); + return $this->_propDict["visualElements"]; + } + } + return null; + } + + /** + * Sets the visualElements + * Required. The object containing information to render the activity in the UX. + * + * @param VisualInfo $val The visualElements + * + * @return UserActivity + */ + public function setVisualElements($val) + { + $this->_propDict["visualElements"] = $val; + return $this; + } + + + /** + * Gets the historyItems + * Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. + * + * @return array|null The historyItems + */ + public function getHistoryItems() + { + if (array_key_exists("historyItems", $this->_propDict)) { + return $this->_propDict["historyItems"]; + } else { + return null; + } + } + + /** + * Sets the historyItems + * Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. + * + * @param ActivityHistoryItem[] $val The historyItems + * + * @return UserActivity + */ + public function setHistoryItems($val) + { + $this->_propDict["historyItems"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserAttributeValuesItem.php b/vendor/microsoft/microsoft-graph/src/Model/UserAttributeValuesItem.php new file mode 100644 index 0000000..9444ead --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserAttributeValuesItem.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Used to set the value as the default. + * + * @param bool $val The value of the isDefault + * + * @return UserAttributeValuesItem + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the name + * The display name of the property displayed to the end user in the user flow. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the property displayed to the end user in the user flow. + * + * @param string $val The value of the name + * + * @return UserAttributeValuesItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the value + * The value that is set when this item is selected. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * The value that is set when this item is selected. + * + * @param string $val The value of the value + * + * @return UserAttributeValuesItem + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserConsentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/UserConsentRequest.php new file mode 100644 index 0000000..c6072cb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserConsentRequest.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["reason"]; + } else { + return null; + } + } + + /** + * Sets the reason + * The user's justification for requiring access to the app. Supports $filter (eq only) and $orderby. + * + * @param string $val The reason + * + * @return UserConsentRequest + */ + public function setReason($val) + { + $this->_propDict["reason"] = $val; + return $this; + } + + /** + * Gets the approval + * Approval decisions associated with a request. + * + * @return Approval|null The approval + */ + public function getApproval() + { + if (array_key_exists("approval", $this->_propDict)) { + if (is_a($this->_propDict["approval"], "\Microsoft\Graph\Model\Approval") || is_null($this->_propDict["approval"])) { + return $this->_propDict["approval"]; + } else { + $this->_propDict["approval"] = new Approval($this->_propDict["approval"]); + return $this->_propDict["approval"]; + } + } + return null; + } + + /** + * Sets the approval + * Approval decisions associated with a request. + * + * @param Approval $val The approval + * + * @return UserConsentRequest + */ + public function setApproval($val) + { + $this->_propDict["approval"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserFlowApiConnectorConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/UserFlowApiConnectorConfiguration.php new file mode 100644 index 0000000..5a7e7b3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserFlowApiConnectorConfiguration.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["postAttributeCollection"], "\Microsoft\Graph\Model\IdentityApiConnector") || is_null($this->_propDict["postAttributeCollection"])) { + return $this->_propDict["postAttributeCollection"]; + } else { + $this->_propDict["postAttributeCollection"] = new IdentityApiConnector($this->_propDict["postAttributeCollection"]); + return $this->_propDict["postAttributeCollection"]; + } + } + return null; + } + + /** + * Sets the postAttributeCollection + * + * @param IdentityApiConnector $val The value to assign to the postAttributeCollection + * + * @return UserFlowApiConnectorConfiguration The UserFlowApiConnectorConfiguration + */ + public function setPostAttributeCollection($val) + { + $this->_propDict["postAttributeCollection"] = $val; + return $this; + } + + /** + * Gets the postFederationSignup + * + * @return IdentityApiConnector|null The postFederationSignup + */ + public function getPostFederationSignup() + { + if (array_key_exists("postFederationSignup", $this->_propDict)) { + if (is_a($this->_propDict["postFederationSignup"], "\Microsoft\Graph\Model\IdentityApiConnector") || is_null($this->_propDict["postFederationSignup"])) { + return $this->_propDict["postFederationSignup"]; + } else { + $this->_propDict["postFederationSignup"] = new IdentityApiConnector($this->_propDict["postFederationSignup"]); + return $this->_propDict["postFederationSignup"]; + } + } + return null; + } + + /** + * Sets the postFederationSignup + * + * @param IdentityApiConnector $val The value to assign to the postFederationSignup + * + * @return UserFlowApiConnectorConfiguration The UserFlowApiConnectorConfiguration + */ + public function setPostFederationSignup($val) + { + $this->_propDict["postFederationSignup"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserFlowLanguageConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/UserFlowLanguageConfiguration.php new file mode 100644 index 0000000..e24057b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserFlowLanguageConfiguration.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The language name to display. This property is read-only. + * + * @param string $val The displayName + * + * @return UserFlowLanguageConfiguration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isEnabled + * Indicates whether the language is enabled within the user flow. + * + * @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 + * Indicates whether the language is enabled within the user flow. + * + * @param bool $val The isEnabled + * + * @return UserFlowLanguageConfiguration + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the defaultPages + * Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. + * + * @return array|null The defaultPages + */ + public function getDefaultPages() + { + if (array_key_exists("defaultPages", $this->_propDict)) { + return $this->_propDict["defaultPages"]; + } else { + return null; + } + } + + /** + * Sets the defaultPages + * Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. + * + * @param UserFlowLanguagePage[] $val The defaultPages + * + * @return UserFlowLanguageConfiguration + */ + public function setDefaultPages($val) + { + $this->_propDict["defaultPages"] = $val; + return $this; + } + + + /** + * Gets the overridesPages + * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). + * + * @return array|null The overridesPages + */ + public function getOverridesPages() + { + if (array_key_exists("overridesPages", $this->_propDict)) { + return $this->_propDict["overridesPages"]; + } else { + return null; + } + } + + /** + * Sets the overridesPages + * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). + * + * @param UserFlowLanguagePage[] $val The overridesPages + * + * @return UserFlowLanguageConfiguration + */ + public function setOverridesPages($val) + { + $this->_propDict["overridesPages"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserFlowLanguagePage.php b/vendor/microsoft/microsoft-graph/src/Model/UserFlowLanguagePage.php new file mode 100644 index 0000000..80de1ed --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserFlowLanguagePage.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["ipAddress"]; + } else { + return null; + } + } + + /** + * Sets the ipAddress + * Indicates the client IP address used by user performing the activity (audit log only). + * + * @param string $val The value of the ipAddress + * + * @return UserIdentity + */ + public function setIpAddress($val) + { + $this->_propDict["ipAddress"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * The userPrincipalName attribute of the user. + * + * @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 + * The userPrincipalName attribute of the user. + * + * @param string $val The value of the userPrincipalName + * + * @return UserIdentity + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserInstallStateSummary.php b/vendor/microsoft/microsoft-graph/src/Model/UserInstallStateSummary.php new file mode 100644 index 0000000..eda004c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserInstallStateSummary.php @@ -0,0 +1,173 @@ +_propDict)) { + return $this->_propDict["failedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the failedDeviceCount + * Failed Device Count. + * + * @param int $val The failedDeviceCount + * + * @return UserInstallStateSummary + */ + public function setFailedDeviceCount($val) + { + $this->_propDict["failedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the installedDeviceCount + * Installed Device Count. + * + * @return int|null The installedDeviceCount + */ + public function getInstalledDeviceCount() + { + if (array_key_exists("installedDeviceCount", $this->_propDict)) { + return $this->_propDict["installedDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the installedDeviceCount + * Installed Device Count. + * + * @param int $val The installedDeviceCount + * + * @return UserInstallStateSummary + */ + public function setInstalledDeviceCount($val) + { + $this->_propDict["installedDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the notInstalledDeviceCount + * Not installed device count. + * + * @return int|null The notInstalledDeviceCount + */ + public function getNotInstalledDeviceCount() + { + if (array_key_exists("notInstalledDeviceCount", $this->_propDict)) { + return $this->_propDict["notInstalledDeviceCount"]; + } else { + return null; + } + } + + /** + * Sets the notInstalledDeviceCount + * Not installed device count. + * + * @param int $val The notInstalledDeviceCount + * + * @return UserInstallStateSummary + */ + public function setNotInstalledDeviceCount($val) + { + $this->_propDict["notInstalledDeviceCount"] = intval($val); + return $this; + } + + /** + * Gets the userName + * User name. + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * User name. + * + * @param string $val The userName + * + * @return UserInstallStateSummary + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } + + + /** + * Gets the deviceStates + * The install state of the eBook. + * + * @return array|null The deviceStates + */ + public function getDeviceStates() + { + if (array_key_exists("deviceStates", $this->_propDict)) { + return $this->_propDict["deviceStates"]; + } else { + return null; + } + } + + /** + * Sets the deviceStates + * The install state of the eBook. + * + * @param DeviceInstallState[] $val The deviceStates + * + * @return UserInstallStateSummary + */ + public function setDeviceStates($val) + { + $this->_propDict["deviceStates"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserPurpose.php b/vendor/microsoft/microsoft-graph/src/Model/UserPurpose.php new file mode 100644 index 0000000..9540ded --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserPurpose.php @@ -0,0 +1,39 @@ +_propDict)) { + if (is_a($this->_propDict["chat"], "\Microsoft\Graph\Model\Chat") || is_null($this->_propDict["chat"])) { + return $this->_propDict["chat"]; + } else { + $this->_propDict["chat"] = new Chat($this->_propDict["chat"]); + return $this->_propDict["chat"]; + } + } + return null; + } + + /** + * Sets the chat + * The chat between the user and Teams app. + * + * @param Chat $val The chat + * + * @return UserScopeTeamsAppInstallation + */ + public function setChat($val) + { + $this->_propDict["chat"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserSecurityState.php b/vendor/microsoft/microsoft-graph/src/Model/UserSecurityState.php new file mode 100644 index 0000000..4ba7122 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserSecurityState.php @@ -0,0 +1,438 @@ +_propDict)) { + return $this->_propDict["aadUserId"]; + } else { + return null; + } + } + + /** + * Sets the aadUserId + * AAD User object identifier (GUID) - represents the physical/multi-account user entity. + * + * @param string $val The value of the aadUserId + * + * @return UserSecurityState + */ + public function setAadUserId($val) + { + $this->_propDict["aadUserId"] = $val; + return $this; + } + /** + * Gets the accountName + * Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName). + * + * @return string|null The accountName + */ + public function getAccountName() + { + if (array_key_exists("accountName", $this->_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * Account name of user account (without Active Directory domain or DNS domain) - (also called mailNickName). + * + * @param string $val The value of the accountName + * + * @return UserSecurityState + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** + * Gets the domainName + * NetBIOS/Active Directory domain of user account (that is, domain/account format). + * + * @return string|null The domainName + */ + public function getDomainName() + { + if (array_key_exists("domainName", $this->_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * NetBIOS/Active Directory domain of user account (that is, domain/account format). + * + * @param string $val The value of the domainName + * + * @return UserSecurityState + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + + /** + * Gets the emailRole + * For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. + * + * @return EmailRole|null The emailRole + */ + public function getEmailRole() + { + if (array_key_exists("emailRole", $this->_propDict)) { + if (is_a($this->_propDict["emailRole"], "\Microsoft\Graph\Model\EmailRole") || is_null($this->_propDict["emailRole"])) { + return $this->_propDict["emailRole"]; + } else { + $this->_propDict["emailRole"] = new EmailRole($this->_propDict["emailRole"]); + return $this->_propDict["emailRole"]; + } + } + return null; + } + + /** + * Sets the emailRole + * For email-related alerts - user account's email 'role'. Possible values are: unknown, sender, recipient. + * + * @param EmailRole $val The value to assign to the emailRole + * + * @return UserSecurityState The UserSecurityState + */ + public function setEmailRole($val) + { + $this->_propDict["emailRole"] = $val; + return $this; + } + /** + * Gets the isVpn + * Indicates whether the user logged on through a VPN. + * + * @return bool|null The isVpn + */ + public function getIsVpn() + { + if (array_key_exists("isVpn", $this->_propDict)) { + return $this->_propDict["isVpn"]; + } else { + return null; + } + } + + /** + * Sets the isVpn + * Indicates whether the user logged on through a VPN. + * + * @param bool $val The value of the isVpn + * + * @return UserSecurityState + */ + public function setIsVpn($val) + { + $this->_propDict["isVpn"] = $val; + return $this; + } + + /** + * Gets the logonDateTime + * Time at which the sign-in occurred. 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 logonDateTime + */ + public function getLogonDateTime() + { + if (array_key_exists("logonDateTime", $this->_propDict)) { + if (is_a($this->_propDict["logonDateTime"], "\DateTime") || is_null($this->_propDict["logonDateTime"])) { + return $this->_propDict["logonDateTime"]; + } else { + $this->_propDict["logonDateTime"] = new \DateTime($this->_propDict["logonDateTime"]); + return $this->_propDict["logonDateTime"]; + } + } + return null; + } + + /** + * Sets the logonDateTime + * Time at which the sign-in occurred. 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 logonDateTime + * + * @return UserSecurityState The UserSecurityState + */ + public function setLogonDateTime($val) + { + $this->_propDict["logonDateTime"] = $val; + return $this; + } + /** + * Gets the logonId + * User sign-in ID. + * + * @return string|null The logonId + */ + public function getLogonId() + { + if (array_key_exists("logonId", $this->_propDict)) { + return $this->_propDict["logonId"]; + } else { + return null; + } + } + + /** + * Sets the logonId + * User sign-in ID. + * + * @param string $val The value of the logonId + * + * @return UserSecurityState + */ + public function setLogonId($val) + { + $this->_propDict["logonId"] = $val; + return $this; + } + /** + * Gets the logonIp + * IP Address the sign-in request originated from. + * + * @return string|null The logonIp + */ + public function getLogonIp() + { + if (array_key_exists("logonIp", $this->_propDict)) { + return $this->_propDict["logonIp"]; + } else { + return null; + } + } + + /** + * Sets the logonIp + * IP Address the sign-in request originated from. + * + * @param string $val The value of the logonIp + * + * @return UserSecurityState + */ + public function setLogonIp($val) + { + $this->_propDict["logonIp"] = $val; + return $this; + } + /** + * Gets the logonLocation + * Location (by IP address mapping) associated with a user sign-in event by this user. + * + * @return string|null The logonLocation + */ + public function getLogonLocation() + { + if (array_key_exists("logonLocation", $this->_propDict)) { + return $this->_propDict["logonLocation"]; + } else { + return null; + } + } + + /** + * Sets the logonLocation + * Location (by IP address mapping) associated with a user sign-in event by this user. + * + * @param string $val The value of the logonLocation + * + * @return UserSecurityState + */ + public function setLogonLocation($val) + { + $this->_propDict["logonLocation"] = $val; + return $this; + } + + /** + * Gets the logonType + * Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + * + * @return LogonType|null The logonType + */ + public function getLogonType() + { + if (array_key_exists("logonType", $this->_propDict)) { + if (is_a($this->_propDict["logonType"], "\Microsoft\Graph\Model\LogonType") || is_null($this->_propDict["logonType"])) { + return $this->_propDict["logonType"]; + } else { + $this->_propDict["logonType"] = new LogonType($this->_propDict["logonType"]); + return $this->_propDict["logonType"]; + } + } + return null; + } + + /** + * Sets the logonType + * Method of user sign in. Possible values are: unknown, interactive, remoteInteractive, network, batch, service. + * + * @param LogonType $val The value to assign to the logonType + * + * @return UserSecurityState The UserSecurityState + */ + public function setLogonType($val) + { + $this->_propDict["logonType"] = $val; + return $this; + } + /** + * Gets the onPremisesSecurityIdentifier + * Active Directory (on-premises) Security Identifier (SID) of the user. + * + * @return string|null The onPremisesSecurityIdentifier + */ + public function getOnPremisesSecurityIdentifier() + { + if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { + return $this->_propDict["onPremisesSecurityIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the onPremisesSecurityIdentifier + * Active Directory (on-premises) Security Identifier (SID) of the user. + * + * @param string $val The value of the onPremisesSecurityIdentifier + * + * @return UserSecurityState + */ + public function setOnPremisesSecurityIdentifier($val) + { + $this->_propDict["onPremisesSecurityIdentifier"] = $val; + return $this; + } + /** + * Gets the riskScore + * Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage. + * + * @return string|null The riskScore + */ + public function getRiskScore() + { + if (array_key_exists("riskScore", $this->_propDict)) { + return $this->_propDict["riskScore"]; + } else { + return null; + } + } + + /** + * Sets the riskScore + * Provider-generated/calculated risk score of the user account. Recommended value range of 0-1, which equates to a percentage. + * + * @param string $val The value of the riskScore + * + * @return UserSecurityState + */ + public function setRiskScore($val) + { + $this->_propDict["riskScore"] = $val; + return $this; + } + + /** + * Gets the userAccountType + * User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. + * + * @return UserAccountSecurityType|null The userAccountType + */ + public function getUserAccountType() + { + if (array_key_exists("userAccountType", $this->_propDict)) { + if (is_a($this->_propDict["userAccountType"], "\Microsoft\Graph\Model\UserAccountSecurityType") || is_null($this->_propDict["userAccountType"])) { + return $this->_propDict["userAccountType"]; + } else { + $this->_propDict["userAccountType"] = new UserAccountSecurityType($this->_propDict["userAccountType"]); + return $this->_propDict["userAccountType"]; + } + } + return null; + } + + /** + * Sets the userAccountType + * User account type (group membership), per Windows definition. Possible values are: unknown, standard, power, administrator. + * + * @param UserAccountSecurityType $val The value to assign to the userAccountType + * + * @return UserSecurityState The UserSecurityState + */ + public function setUserAccountType($val) + { + $this->_propDict["userAccountType"] = $val; + return $this; + } + /** + * Gets the userPrincipalName + * User sign-in name - internet format: (user account name)@(user account DNS domain name). + * + * @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 + * User sign-in name - internet format: (user account name)@(user account DNS domain name). + * + * @param string $val The value of the userPrincipalName + * + * @return UserSecurityState + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserSettings.php b/vendor/microsoft/microsoft-graph/src/Model/UserSettings.php new file mode 100644 index 0000000..33e32b0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserSettings.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"]; + } else { + return null; + } + } + + /** + * Sets the contributionToContentDiscoveryAsOrganizationDisabled + * Reflects the Office Delve organization level setting. When set to true, the organization doesn't have access to Office Delve. This setting is read-only and can only be changed by administrators in the SharePoint admin center. + * + * @param bool $val The contributionToContentDiscoveryAsOrganizationDisabled + * + * @return UserSettings + */ + public function setContributionToContentDiscoveryAsOrganizationDisabled($val) + { + $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the contributionToContentDiscoveryDisabled + * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. + * + * @return bool|null The contributionToContentDiscoveryDisabled + */ + public function getContributionToContentDiscoveryDisabled() + { + if (array_key_exists("contributionToContentDiscoveryDisabled", $this->_propDict)) { + return $this->_propDict["contributionToContentDiscoveryDisabled"]; + } else { + return null; + } + } + + /** + * Sets the contributionToContentDiscoveryDisabled + * When set to true, documents in the user's Office Delve are disabled. Users can control this setting in Office Delve. + * + * @param bool $val The contributionToContentDiscoveryDisabled + * + * @return UserSettings + */ + public function setContributionToContentDiscoveryDisabled($val) + { + $this->_propDict["contributionToContentDiscoveryDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the shiftPreferences + * The shift preferences for the user. + * + * @return ShiftPreferences|null The shiftPreferences + */ + public function getShiftPreferences() + { + if (array_key_exists("shiftPreferences", $this->_propDict)) { + if (is_a($this->_propDict["shiftPreferences"], "\Microsoft\Graph\Model\ShiftPreferences") || is_null($this->_propDict["shiftPreferences"])) { + return $this->_propDict["shiftPreferences"]; + } else { + $this->_propDict["shiftPreferences"] = new ShiftPreferences($this->_propDict["shiftPreferences"]); + return $this->_propDict["shiftPreferences"]; + } + } + return null; + } + + /** + * Sets the shiftPreferences + * The shift preferences for the user. + * + * @param ShiftPreferences $val The shiftPreferences + * + * @return UserSettings + */ + public function setShiftPreferences($val) + { + $this->_propDict["shiftPreferences"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/UserTeamwork.php b/vendor/microsoft/microsoft-graph/src/Model/UserTeamwork.php new file mode 100644 index 0000000..9ed928a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/UserTeamwork.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["installedApps"]; + } else { + return null; + } + } + + /** + * Sets the installedApps + * The apps installed in the personal scope of this user. + * + * @param UserScopeTeamsAppInstallation[] $val The installedApps + * + * @return UserTeamwork + */ + public function setInstalledApps($val) + { + $this->_propDict["installedApps"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/VerifiedDomain.php b/vendor/microsoft/microsoft-graph/src/Model/VerifiedDomain.php new file mode 100644 index 0000000..898ef09 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/VerifiedDomain.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["capabilities"]; + } else { + return null; + } + } + + /** + * Sets the capabilities + * For example, Email, OfficeCommunicationsOnline. + * + * @param string $val The value of the capabilities + * + * @return VerifiedDomain + */ + public function setCapabilities($val) + { + $this->_propDict["capabilities"] = $val; + return $this; + } + /** + * Gets the isDefault + * true if this is the default domain associated with the tenant; otherwise, false. + * + * @return bool|null The isDefault + */ + public function getIsDefault() + { + if (array_key_exists("isDefault", $this->_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * true if this is the default domain associated with the tenant; otherwise, false. + * + * @param bool $val The value of the isDefault + * + * @return VerifiedDomain + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the isInitial + * true if this is the initial domain associated with the tenant; otherwise, false. + * + * @return bool|null The isInitial + */ + public function getIsInitial() + { + if (array_key_exists("isInitial", $this->_propDict)) { + return $this->_propDict["isInitial"]; + } else { + return null; + } + } + + /** + * Sets the isInitial + * true if this is the initial domain associated with the tenant; otherwise, false. + * + * @param bool $val The value of the isInitial + * + * @return VerifiedDomain + */ + public function setIsInitial($val) + { + $this->_propDict["isInitial"] = $val; + return $this; + } + /** + * Gets the name + * The domain name; for example, contoso.onmicrosoft.com. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The domain name; for example, contoso.onmicrosoft.com. + * + * @param string $val The value of the name + * + * @return VerifiedDomain + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the type + * For example, Managed. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * For example, Managed. + * + * @param string $val The value of the type + * + * @return VerifiedDomain + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/VerifiedPublisher.php b/vendor/microsoft/microsoft-graph/src/Model/VerifiedPublisher.php new file mode 100644 index 0000000..bcb4e58 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/VerifiedPublisher.php @@ -0,0 +1,115 @@ +_propDict)) { + if (is_a($this->_propDict["addedDateTime"], "\DateTime") || is_null($this->_propDict["addedDateTime"])) { + return $this->_propDict["addedDateTime"]; + } else { + $this->_propDict["addedDateTime"] = new \DateTime($this->_propDict["addedDateTime"]); + return $this->_propDict["addedDateTime"]; + } + } + return null; + } + + /** + * Sets the addedDateTime + * The timestamp when the verified publisher was first added or most recently updated. + * + * @param \DateTime $val The value to assign to the addedDateTime + * + * @return VerifiedPublisher The VerifiedPublisher + */ + public function setAddedDateTime($val) + { + $this->_propDict["addedDateTime"] = $val; + return $this; + } + /** + * Gets the displayName + * The verified publisher name from the app publisher's Microsoft Partner Network (MPN) account. + * + * @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 + * The verified publisher name from the app publisher's Microsoft Partner Network (MPN) account. + * + * @param string $val The value of the displayName + * + * @return VerifiedPublisher + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the verifiedPublisherId + * The ID of the verified publisher from the app publisher's Partner Center account. + * + * @return string|null The verifiedPublisherId + */ + public function getVerifiedPublisherId() + { + if (array_key_exists("verifiedPublisherId", $this->_propDict)) { + return $this->_propDict["verifiedPublisherId"]; + } else { + return null; + } + } + + /** + * Sets the verifiedPublisherId + * The ID of the verified publisher from the app publisher's Partner Center account. + * + * @param string $val The value of the verifiedPublisherId + * + * @return VerifiedPublisher + */ + public function setVerifiedPublisherId($val) + { + $this->_propDict["verifiedPublisherId"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Video.php b/vendor/microsoft/microsoft-graph/src/Model/Video.php new file mode 100644 index 0000000..2cefc28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Video.php @@ -0,0 +1,306 @@ +_propDict)) { + return $this->_propDict["audioBitsPerSample"]; + } else { + return null; + } + } + + /** + * Sets the audioBitsPerSample + * Number of audio bits per sample. + * + * @param int $val The value of the audioBitsPerSample + * + * @return Video + */ + public function setAudioBitsPerSample($val) + { + $this->_propDict["audioBitsPerSample"] = $val; + return $this; + } + /** + * Gets the audioChannels + * Number of audio channels. + * + * @return int|null The audioChannels + */ + public function getAudioChannels() + { + if (array_key_exists("audioChannels", $this->_propDict)) { + return $this->_propDict["audioChannels"]; + } else { + return null; + } + } + + /** + * Sets the audioChannels + * Number of audio channels. + * + * @param int $val The value of the audioChannels + * + * @return Video + */ + public function setAudioChannels($val) + { + $this->_propDict["audioChannels"] = $val; + return $this; + } + /** + * Gets the audioFormat + * Name of the audio format (AAC, MP3, etc.). + * + * @return string|null The audioFormat + */ + public function getAudioFormat() + { + if (array_key_exists("audioFormat", $this->_propDict)) { + return $this->_propDict["audioFormat"]; + } else { + return null; + } + } + + /** + * Sets the audioFormat + * Name of the audio format (AAC, MP3, etc.). + * + * @param string $val The value of the audioFormat + * + * @return Video + */ + public function setAudioFormat($val) + { + $this->_propDict["audioFormat"] = $val; + return $this; + } + /** + * Gets the audioSamplesPerSecond + * Number of audio samples per second. + * + * @return int|null The audioSamplesPerSecond + */ + public function getAudioSamplesPerSecond() + { + if (array_key_exists("audioSamplesPerSecond", $this->_propDict)) { + return $this->_propDict["audioSamplesPerSecond"]; + } else { + return null; + } + } + + /** + * Sets the audioSamplesPerSecond + * Number of audio samples per second. + * + * @param int $val The value of the audioSamplesPerSecond + * + * @return Video + */ + public function setAudioSamplesPerSecond($val) + { + $this->_propDict["audioSamplesPerSecond"] = $val; + return $this; + } + /** + * Gets the bitrate + * Bit rate of the video in bits per second. + * + * @return int|null The bitrate + */ + public function getBitrate() + { + if (array_key_exists("bitrate", $this->_propDict)) { + return $this->_propDict["bitrate"]; + } else { + return null; + } + } + + /** + * Sets the bitrate + * Bit rate of the video in bits per second. + * + * @param int $val The value of the bitrate + * + * @return Video + */ + public function setBitrate($val) + { + $this->_propDict["bitrate"] = $val; + return $this; + } + /** + * Gets the duration + * Duration of the file in milliseconds. + * + * @return int|null The duration + */ + public function getDuration() + { + if (array_key_exists("duration", $this->_propDict)) { + return $this->_propDict["duration"]; + } else { + return null; + } + } + + /** + * Sets the duration + * Duration of the file in milliseconds. + * + * @param int $val The value of the duration + * + * @return Video + */ + public function setDuration($val) + { + $this->_propDict["duration"] = $val; + return $this; + } + /** + * Gets the fourCC + * 'Four character code' name of the video format. + * + * @return string|null The fourCC + */ + public function getFourCC() + { + if (array_key_exists("fourCC", $this->_propDict)) { + return $this->_propDict["fourCC"]; + } else { + return null; + } + } + + /** + * Sets the fourCC + * 'Four character code' name of the video format. + * + * @param string $val The value of the fourCC + * + * @return Video + */ + public function setFourCC($val) + { + $this->_propDict["fourCC"] = $val; + return $this; + } + /** + * Gets the frameRate + * Frame rate of the video. + * + * @return float|null The frameRate + */ + public function getFrameRate() + { + if (array_key_exists("frameRate", $this->_propDict)) { + return $this->_propDict["frameRate"]; + } else { + return null; + } + } + + /** + * Sets the frameRate + * Frame rate of the video. + * + * @param float $val The value of the frameRate + * + * @return Video + */ + public function setFrameRate($val) + { + $this->_propDict["frameRate"] = $val; + return $this; + } + /** + * Gets the height + * Height of the video, in pixels. + * + * @return int|null The height + */ + public function getHeight() + { + if (array_key_exists("height", $this->_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * Height of the video, in pixels. + * + * @param int $val The value of the height + * + * @return Video + */ + public function setHeight($val) + { + $this->_propDict["height"] = $val; + return $this; + } + /** + * Gets the width + * Width of the video, in pixels. + * + * @return int|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * Width of the video, in pixels. + * + * @param int $val The value of the width + * + * @return Video + */ + public function setWidth($val) + { + $this->_propDict["width"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/VisibilitySetting.php b/vendor/microsoft/microsoft-graph/src/Model/VisibilitySetting.php new file mode 100644 index 0000000..a8ed72e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/VisibilitySetting.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["attribution"], "\Microsoft\Graph\Model\ImageInfo") || is_null($this->_propDict["attribution"])) { + return $this->_propDict["attribution"]; + } else { + $this->_propDict["attribution"] = new ImageInfo($this->_propDict["attribution"]); + return $this->_propDict["attribution"]; + } + } + return null; + } + + /** + * Sets the attribution + * Optional. JSON object used to represent an icon which represents the application used to generate the activity + * + * @param ImageInfo $val The value to assign to the attribution + * + * @return VisualInfo The VisualInfo + */ + public function setAttribution($val) + { + $this->_propDict["attribution"] = $val; + return $this; + } + /** + * Gets the backgroundColor + * Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color + * + * @return string|null The backgroundColor + */ + public function getBackgroundColor() + { + if (array_key_exists("backgroundColor", $this->_propDict)) { + return $this->_propDict["backgroundColor"]; + } else { + return null; + } + } + + /** + * Sets the backgroundColor + * Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color + * + * @param string $val The value of the backgroundColor + * + * @return VisualInfo + */ + public function setBackgroundColor($val) + { + $this->_propDict["backgroundColor"] = $val; + return $this; + } + /** + * Gets the content + * Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI + * + * @return string|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI + * + * @param string $val The value of the content + * + * @return VisualInfo + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the description + * Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata) + * + * @param string $val The value of the description + * + * @return VisualInfo + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayText + * Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation) + * + * @return string|null The displayText + */ + public function getDisplayText() + { + if (array_key_exists("displayText", $this->_propDict)) { + return $this->_propDict["displayText"]; + } else { + return null; + } + } + + /** + * Sets the displayText + * Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation) + * + * @param string $val The value of the displayText + * + * @return VisualInfo + */ + public function setDisplayText($val) + { + $this->_propDict["displayText"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/VolumeType.php b/vendor/microsoft/microsoft-graph/src/Model/VolumeType.php new file mode 100644 index 0000000..6e571fd --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/VolumeType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["supportsDeviceLicensing"]; + } else { + return null; + } + } + + /** + * Sets the supportsDeviceLicensing + * Whether the program supports the device licensing type. + * + * @param bool $val The value of the supportsDeviceLicensing + * + * @return VppLicensingType + */ + public function setSupportsDeviceLicensing($val) + { + $this->_propDict["supportsDeviceLicensing"] = $val; + return $this; + } + /** + * Gets the supportsUserLicensing + * Whether the program supports the user licensing type. + * + * @return bool|null The supportsUserLicensing + */ + public function getSupportsUserLicensing() + { + if (array_key_exists("supportsUserLicensing", $this->_propDict)) { + return $this->_propDict["supportsUserLicensing"]; + } else { + return null; + } + } + + /** + * Sets the supportsUserLicensing + * Whether the program supports the user licensing type. + * + * @param bool $val The value of the supportsUserLicensing + * + * @return VppLicensingType + */ + public function setSupportsUserLicensing($val) + { + $this->_propDict["supportsUserLicensing"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/VppToken.php b/vendor/microsoft/microsoft-graph/src/Model/VppToken.php new file mode 100644 index 0000000..4732177 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/VppToken.php @@ -0,0 +1,370 @@ +_propDict)) { + return $this->_propDict["appleId"]; + } else { + return null; + } + } + + /** + * Sets the appleId + * The apple Id associated with the given Apple Volume Purchase Program Token. + * + * @param string $val The appleId + * + * @return VppToken + */ + public function setAppleId($val) + { + $this->_propDict["appleId"] = $val; + return $this; + } + + /** + * Gets the automaticallyUpdateApps + * Whether or not apps for the VPP token will be automatically updated. + * + * @return bool|null The automaticallyUpdateApps + */ + public function getAutomaticallyUpdateApps() + { + if (array_key_exists("automaticallyUpdateApps", $this->_propDict)) { + return $this->_propDict["automaticallyUpdateApps"]; + } else { + return null; + } + } + + /** + * Sets the automaticallyUpdateApps + * Whether or not apps for the VPP token will be automatically updated. + * + * @param bool $val The automaticallyUpdateApps + * + * @return VppToken + */ + public function setAutomaticallyUpdateApps($val) + { + $this->_propDict["automaticallyUpdateApps"] = boolval($val); + return $this; + } + + /** + * Gets the countryOrRegion + * Whether or not apps for the VPP token will be automatically updated. + * + * @return string|null The countryOrRegion + */ + public function getCountryOrRegion() + { + if (array_key_exists("countryOrRegion", $this->_propDict)) { + return $this->_propDict["countryOrRegion"]; + } else { + return null; + } + } + + /** + * Sets the countryOrRegion + * Whether or not apps for the VPP token will be automatically updated. + * + * @param string $val The countryOrRegion + * + * @return VppToken + */ + public function setCountryOrRegion($val) + { + $this->_propDict["countryOrRegion"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The expiration date time of the Apple Volume Purchase Program Token. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The expiration date time of the Apple Volume Purchase Program Token. + * + * @param \DateTime $val The expirationDateTime + * + * @return VppToken + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last modification date time associated with the Apple Volume Purchase Program Token. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last modification date time associated with the Apple Volume Purchase Program Token. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return VppToken + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncDateTime + * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + * + * @return \DateTime|null The lastSyncDateTime + */ + public function getLastSyncDateTime() + { + if (array_key_exists("lastSyncDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) { + return $this->_propDict["lastSyncDateTime"]; + } else { + $this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]); + return $this->_propDict["lastSyncDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSyncDateTime + * The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token. + * + * @param \DateTime $val The lastSyncDateTime + * + * @return VppToken + */ + public function setLastSyncDateTime($val) + { + $this->_propDict["lastSyncDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSyncStatus + * Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: none, inProgress, completed, failed. Possible values are: none, inProgress, completed, failed. + * + * @return VppTokenSyncStatus|null The lastSyncStatus + */ + public function getLastSyncStatus() + { + if (array_key_exists("lastSyncStatus", $this->_propDict)) { + if (is_a($this->_propDict["lastSyncStatus"], "\Microsoft\Graph\Model\VppTokenSyncStatus") || is_null($this->_propDict["lastSyncStatus"])) { + return $this->_propDict["lastSyncStatus"]; + } else { + $this->_propDict["lastSyncStatus"] = new VppTokenSyncStatus($this->_propDict["lastSyncStatus"]); + return $this->_propDict["lastSyncStatus"]; + } + } + return null; + } + + /** + * Sets the lastSyncStatus + * Current sync status of the last application sync which was triggered using the Apple Volume Purchase Program Token. Possible values are: none, inProgress, completed, failed. Possible values are: none, inProgress, completed, failed. + * + * @param VppTokenSyncStatus $val The lastSyncStatus + * + * @return VppToken + */ + public function setLastSyncStatus($val) + { + $this->_propDict["lastSyncStatus"] = $val; + return $this; + } + + /** + * Gets the organizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @return string|null The organizationName + */ + public function getOrganizationName() + { + if (array_key_exists("organizationName", $this->_propDict)) { + return $this->_propDict["organizationName"]; + } else { + return null; + } + } + + /** + * Sets the organizationName + * The organization associated with the Apple Volume Purchase Program Token + * + * @param string $val The organizationName + * + * @return VppToken + */ + public function setOrganizationName($val) + { + $this->_propDict["organizationName"] = $val; + return $this; + } + + /** + * Gets the state + * Current state of the Apple Volume Purchase Program Token. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM, duplicateLocationId. + * + * @return VppTokenState|null The state + */ + public function getState() + { + if (array_key_exists("state", $this->_propDict)) { + if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\VppTokenState") || is_null($this->_propDict["state"])) { + return $this->_propDict["state"]; + } else { + $this->_propDict["state"] = new VppTokenState($this->_propDict["state"]); + return $this->_propDict["state"]; + } + } + return null; + } + + /** + * Sets the state + * Current state of the Apple Volume Purchase Program Token. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM. Possible values are: unknown, valid, expired, invalid, assignedToExternalMDM, duplicateLocationId. + * + * @param VppTokenState $val The state + * + * @return VppToken + */ + public function setState($val) + { + $this->_propDict["state"] = $val; + return $this; + } + + /** + * Gets the token + * The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. + * + * @return string|null The token + */ + public function getToken() + { + if (array_key_exists("token", $this->_propDict)) { + return $this->_propDict["token"]; + } else { + return null; + } + } + + /** + * Sets the token + * The Apple Volume Purchase Program Token string downloaded from the Apple Volume Purchase Program. + * + * @param string $val The token + * + * @return VppToken + */ + public function setToken($val) + { + $this->_propDict["token"] = $val; + return $this; + } + + /** + * Gets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @return VppTokenAccountType|null The vppTokenAccountType + */ + public function getVppTokenAccountType() + { + if (array_key_exists("vppTokenAccountType", $this->_propDict)) { + if (is_a($this->_propDict["vppTokenAccountType"], "\Microsoft\Graph\Model\VppTokenAccountType") || is_null($this->_propDict["vppTokenAccountType"])) { + return $this->_propDict["vppTokenAccountType"]; + } else { + $this->_propDict["vppTokenAccountType"] = new VppTokenAccountType($this->_propDict["vppTokenAccountType"]); + return $this->_propDict["vppTokenAccountType"]; + } + } + return null; + } + + /** + * Sets the vppTokenAccountType + * The type of volume purchase program which the given Apple Volume Purchase Program Token is associated with. Possible values are: business, education. Possible values are: business, education. + * + * @param VppTokenAccountType $val The vppTokenAccountType + * + * @return VppToken + */ + public function setVppTokenAccountType($val) + { + $this->_propDict["vppTokenAccountType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/VppTokenAccountType.php b/vendor/microsoft/microsoft-graph/src/Model/VppTokenAccountType.php new file mode 100644 index 0000000..78e0723 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/VppTokenAccountType.php @@ -0,0 +1,34 @@ +_propDict)) { + return $this->_propDict["cve"]; + } else { + return null; + } + } + + /** + * Sets the cve + * Common Vulnerabilities and Exposures (CVE) for the vulnerability. + * + * @param string $val The value of the cve + * + * @return VulnerabilityState + */ + public function setCve($val) + { + $this->_propDict["cve"] = $val; + return $this; + } + /** + * Gets the severity + * Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability. + * + * @return string|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + return $this->_propDict["severity"]; + } else { + return null; + } + } + + /** + * Sets the severity + * Base Common Vulnerability Scoring System (CVSS) severity score for this vulnerability. + * + * @param string $val The value of the severity + * + * @return VulnerabilityState + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + /** + * Gets the wasRunning + * Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk. + * + * @return bool|null The wasRunning + */ + public function getWasRunning() + { + if (array_key_exists("wasRunning", $this->_propDict)) { + return $this->_propDict["wasRunning"]; + } else { + return null; + } + } + + /** + * Sets the wasRunning + * Indicates whether the detected vulnerability (file) was running at the time of detection or was the file detected at rest on the disk. + * + * @param bool $val The value of the wasRunning + * + * @return VulnerabilityState + */ + public function setWasRunning($val) + { + $this->_propDict["wasRunning"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WebApp.php b/vendor/microsoft/microsoft-graph/src/Model/WebApp.php new file mode 100644 index 0000000..bb5044e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WebApp.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["appUrl"]; + } else { + return null; + } + } + + /** + * Sets the appUrl + * The web app URL. This property cannot be PATCHed. + * + * @param string $val The appUrl + * + * @return WebApp + */ + public function setAppUrl($val) + { + $this->_propDict["appUrl"] = $val; + return $this; + } + + /** + * Gets the useManagedBrowser + * Whether or not to use managed browser. This property is only applicable for Android and IOS. + * + * @return bool|null The useManagedBrowser + */ + public function getUseManagedBrowser() + { + if (array_key_exists("useManagedBrowser", $this->_propDict)) { + return $this->_propDict["useManagedBrowser"]; + } else { + return null; + } + } + + /** + * Sets the useManagedBrowser + * Whether or not to use managed browser. This property is only applicable for Android and IOS. + * + * @param bool $val The useManagedBrowser + * + * @return WebApp + */ + public function setUseManagedBrowser($val) + { + $this->_propDict["useManagedBrowser"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WebApplication.php b/vendor/microsoft/microsoft-graph/src/Model/WebApplication.php new file mode 100644 index 0000000..4f5d7d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WebApplication.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["homePageUrl"]; + } else { + return null; + } + } + + /** + * Sets the homePageUrl + * Home page or landing page of the application. + * + * @param string $val The value of the homePageUrl + * + * @return WebApplication + */ + public function setHomePageUrl($val) + { + $this->_propDict["homePageUrl"] = $val; + return $this; + } + + /** + * Gets the implicitGrantSettings + * Specifies whether this web application can request tokens using the OAuth 2.0 implicit flow. + * + * @return ImplicitGrantSettings|null The implicitGrantSettings + */ + public function getImplicitGrantSettings() + { + if (array_key_exists("implicitGrantSettings", $this->_propDict)) { + if (is_a($this->_propDict["implicitGrantSettings"], "\Microsoft\Graph\Model\ImplicitGrantSettings") || is_null($this->_propDict["implicitGrantSettings"])) { + return $this->_propDict["implicitGrantSettings"]; + } else { + $this->_propDict["implicitGrantSettings"] = new ImplicitGrantSettings($this->_propDict["implicitGrantSettings"]); + return $this->_propDict["implicitGrantSettings"]; + } + } + return null; + } + + /** + * Sets the implicitGrantSettings + * Specifies whether this web application can request tokens using the OAuth 2.0 implicit flow. + * + * @param ImplicitGrantSettings $val The value to assign to the implicitGrantSettings + * + * @return WebApplication The WebApplication + */ + public function setImplicitGrantSettings($val) + { + $this->_propDict["implicitGrantSettings"] = $val; + return $this; + } + /** + * Gets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. + * + * @return string|null The logoutUrl + */ + public function getLogoutUrl() + { + if (array_key_exists("logoutUrl", $this->_propDict)) { + return $this->_propDict["logoutUrl"]; + } else { + return null; + } + } + + /** + * Sets the logoutUrl + * Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. + * + * @param string $val The value of the logoutUrl + * + * @return WebApplication + */ + public function setLogoutUrl($val) + { + $this->_propDict["logoutUrl"] = $val; + return $this; + } + /** + * Gets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @return string|null The redirectUris + */ + public function getRedirectUris() + { + if (array_key_exists("redirectUris", $this->_propDict)) { + return $this->_propDict["redirectUris"]; + } else { + return null; + } + } + + /** + * Sets the redirectUris + * Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. + * + * @param string $val The value of the redirectUris + * + * @return WebApplication + */ + public function setRedirectUris($val) + { + $this->_propDict["redirectUris"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WebBrowserCookieSettings.php b/vendor/microsoft/microsoft-graph/src/Model/WebBrowserCookieSettings.php new file mode 100644 index 0000000..b643613 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WebBrowserCookieSettings.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * The URL of the website. + * + * @param string $val The value of the address + * + * @return Website + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name of the web site. + * + * @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 + * The display name of the web site. + * + * @param string $val The value of the displayName + * + * @return Website + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the type + * Possible values are: other, home, work, blog, profile. + * + * @return WebsiteType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\WebsiteType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new WebsiteType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * Possible values are: other, home, work, blog, profile. + * + * @param WebsiteType $val The value to assign to the type + * + * @return Website The Website + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WebsiteType.php b/vendor/microsoft/microsoft-graph/src/Model/WebsiteType.php new file mode 100644 index 0000000..8d9d34a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WebsiteType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitectures"], "\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitectures"])) { + return $this->_propDict["applicableArchitectures"]; + } else { + $this->_propDict["applicableArchitectures"] = new WindowsArchitecture($this->_propDict["applicableArchitectures"]); + return $this->_propDict["applicableArchitectures"]; + } + } + return null; + } + + /** + * Sets the applicableArchitectures + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The applicableArchitectures + * + * @return Win32LobApp + */ + public function setApplicableArchitectures($val) + { + $this->_propDict["applicableArchitectures"] = $val; + return $this; + } + + /** + * Gets the installCommandLine + * The command line to install this app + * + * @return string|null The installCommandLine + */ + public function getInstallCommandLine() + { + if (array_key_exists("installCommandLine", $this->_propDict)) { + return $this->_propDict["installCommandLine"]; + } else { + return null; + } + } + + /** + * Sets the installCommandLine + * The command line to install this app + * + * @param string $val The installCommandLine + * + * @return Win32LobApp + */ + public function setInstallCommandLine($val) + { + $this->_propDict["installCommandLine"] = $val; + return $this; + } + + /** + * Gets the installExperience + * The install experience for this app. + * + * @return Win32LobAppInstallExperience|null The installExperience + */ + public function getInstallExperience() + { + if (array_key_exists("installExperience", $this->_propDict)) { + if (is_a($this->_propDict["installExperience"], "\Microsoft\Graph\Model\Win32LobAppInstallExperience") || is_null($this->_propDict["installExperience"])) { + return $this->_propDict["installExperience"]; + } else { + $this->_propDict["installExperience"] = new Win32LobAppInstallExperience($this->_propDict["installExperience"]); + return $this->_propDict["installExperience"]; + } + } + return null; + } + + /** + * Sets the installExperience + * The install experience for this app. + * + * @param Win32LobAppInstallExperience $val The installExperience + * + * @return Win32LobApp + */ + public function setInstallExperience($val) + { + $this->_propDict["installExperience"] = $val; + return $this; + } + + /** + * Gets the minimumCpuSpeedInMHz + * The value for the minimum CPU speed which is required to install this app. + * + * @return int|null The minimumCpuSpeedInMHz + */ + public function getMinimumCpuSpeedInMHz() + { + if (array_key_exists("minimumCpuSpeedInMHz", $this->_propDict)) { + return $this->_propDict["minimumCpuSpeedInMHz"]; + } else { + return null; + } + } + + /** + * Sets the minimumCpuSpeedInMHz + * The value for the minimum CPU speed which is required to install this app. + * + * @param int $val The minimumCpuSpeedInMHz + * + * @return Win32LobApp + */ + public function setMinimumCpuSpeedInMHz($val) + { + $this->_propDict["minimumCpuSpeedInMHz"] = intval($val); + return $this; + } + + /** + * Gets the minimumFreeDiskSpaceInMB + * The value for the minimum free disk space which is required to install this app. + * + * @return int|null The minimumFreeDiskSpaceInMB + */ + public function getMinimumFreeDiskSpaceInMB() + { + if (array_key_exists("minimumFreeDiskSpaceInMB", $this->_propDict)) { + return $this->_propDict["minimumFreeDiskSpaceInMB"]; + } else { + return null; + } + } + + /** + * Sets the minimumFreeDiskSpaceInMB + * The value for the minimum free disk space which is required to install this app. + * + * @param int $val The minimumFreeDiskSpaceInMB + * + * @return Win32LobApp + */ + public function setMinimumFreeDiskSpaceInMB($val) + { + $this->_propDict["minimumFreeDiskSpaceInMB"] = intval($val); + return $this; + } + + /** + * Gets the minimumMemoryInMB + * The value for the minimum physical memory which is required to install this app. + * + * @return int|null The minimumMemoryInMB + */ + public function getMinimumMemoryInMB() + { + if (array_key_exists("minimumMemoryInMB", $this->_propDict)) { + return $this->_propDict["minimumMemoryInMB"]; + } else { + return null; + } + } + + /** + * Sets the minimumMemoryInMB + * The value for the minimum physical memory which is required to install this app. + * + * @param int $val The minimumMemoryInMB + * + * @return Win32LobApp + */ + public function setMinimumMemoryInMB($val) + { + $this->_propDict["minimumMemoryInMB"] = intval($val); + return $this; + } + + /** + * Gets the minimumNumberOfProcessors + * The value for the minimum number of processors which is required to install this app. + * + * @return int|null The minimumNumberOfProcessors + */ + public function getMinimumNumberOfProcessors() + { + if (array_key_exists("minimumNumberOfProcessors", $this->_propDict)) { + return $this->_propDict["minimumNumberOfProcessors"]; + } else { + return null; + } + } + + /** + * Sets the minimumNumberOfProcessors + * The value for the minimum number of processors which is required to install this app. + * + * @param int $val The minimumNumberOfProcessors + * + * @return Win32LobApp + */ + public function setMinimumNumberOfProcessors($val) + { + $this->_propDict["minimumNumberOfProcessors"] = intval($val); + return $this; + } + + /** + * Gets the minimumSupportedWindowsRelease + * The value for the minimum supported windows release. + * + * @return string|null The minimumSupportedWindowsRelease + */ + public function getMinimumSupportedWindowsRelease() + { + if (array_key_exists("minimumSupportedWindowsRelease", $this->_propDict)) { + return $this->_propDict["minimumSupportedWindowsRelease"]; + } else { + return null; + } + } + + /** + * Sets the minimumSupportedWindowsRelease + * The value for the minimum supported windows release. + * + * @param string $val The minimumSupportedWindowsRelease + * + * @return Win32LobApp + */ + public function setMinimumSupportedWindowsRelease($val) + { + $this->_propDict["minimumSupportedWindowsRelease"] = $val; + return $this; + } + + /** + * Gets the msiInformation + * The MSI details if this Win32 app is an MSI app. + * + * @return Win32LobAppMsiInformation|null The msiInformation + */ + public function getMsiInformation() + { + if (array_key_exists("msiInformation", $this->_propDict)) { + if (is_a($this->_propDict["msiInformation"], "\Microsoft\Graph\Model\Win32LobAppMsiInformation") || is_null($this->_propDict["msiInformation"])) { + return $this->_propDict["msiInformation"]; + } else { + $this->_propDict["msiInformation"] = new Win32LobAppMsiInformation($this->_propDict["msiInformation"]); + return $this->_propDict["msiInformation"]; + } + } + return null; + } + + /** + * Sets the msiInformation + * The MSI details if this Win32 app is an MSI app. + * + * @param Win32LobAppMsiInformation $val The msiInformation + * + * @return Win32LobApp + */ + public function setMsiInformation($val) + { + $this->_propDict["msiInformation"] = $val; + return $this; + } + + + /** + * Gets the returnCodes + * The return codes for post installation behavior. + * + * @return array|null The returnCodes + */ + public function getReturnCodes() + { + if (array_key_exists("returnCodes", $this->_propDict)) { + return $this->_propDict["returnCodes"]; + } else { + return null; + } + } + + /** + * Sets the returnCodes + * The return codes for post installation behavior. + * + * @param Win32LobAppReturnCode[] $val The returnCodes + * + * @return Win32LobApp + */ + public function setReturnCodes($val) + { + $this->_propDict["returnCodes"] = $val; + return $this; + } + + + /** + * Gets the rules + * The detection and requirement rules for this app. + * + * @return array|null The rules + */ + public function getRules() + { + if (array_key_exists("rules", $this->_propDict)) { + return $this->_propDict["rules"]; + } else { + return null; + } + } + + /** + * Sets the rules + * The detection and requirement rules for this app. + * + * @param Win32LobAppRule[] $val The rules + * + * @return Win32LobApp + */ + public function setRules($val) + { + $this->_propDict["rules"] = $val; + return $this; + } + + /** + * Gets the setupFilePath + * The relative path of the setup file in the encrypted Win32LobApp package. + * + * @return string|null The setupFilePath + */ + public function getSetupFilePath() + { + if (array_key_exists("setupFilePath", $this->_propDict)) { + return $this->_propDict["setupFilePath"]; + } else { + return null; + } + } + + /** + * Sets the setupFilePath + * The relative path of the setup file in the encrypted Win32LobApp package. + * + * @param string $val The setupFilePath + * + * @return Win32LobApp + */ + public function setSetupFilePath($val) + { + $this->_propDict["setupFilePath"] = $val; + return $this; + } + + /** + * Gets the uninstallCommandLine + * The command line to uninstall this app + * + * @return string|null The uninstallCommandLine + */ + public function getUninstallCommandLine() + { + if (array_key_exists("uninstallCommandLine", $this->_propDict)) { + return $this->_propDict["uninstallCommandLine"]; + } else { + return null; + } + } + + /** + * Sets the uninstallCommandLine + * The command line to uninstall this app + * + * @param string $val The uninstallCommandLine + * + * @return Win32LobApp + */ + public function setUninstallCommandLine($val) + { + $this->_propDict["uninstallCommandLine"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppAssignmentSettings.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppAssignmentSettings.php new file mode 100644 index 0000000..dc19ab7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppAssignmentSettings.php @@ -0,0 +1,169 @@ +setODataType("#microsoft.graph.win32LobAppAssignmentSettings"); + } + + + /** + * Gets the deliveryOptimizationPriority + * The delivery optimization priority for this app assignment. This setting is not supported in National Cloud environments. Possible values are: notConfigured, foreground. + * + * @return Win32LobAppDeliveryOptimizationPriority|null The deliveryOptimizationPriority + */ + public function getDeliveryOptimizationPriority() + { + if (array_key_exists("deliveryOptimizationPriority", $this->_propDict)) { + if (is_a($this->_propDict["deliveryOptimizationPriority"], "\Microsoft\Graph\Model\Win32LobAppDeliveryOptimizationPriority") || is_null($this->_propDict["deliveryOptimizationPriority"])) { + return $this->_propDict["deliveryOptimizationPriority"]; + } else { + $this->_propDict["deliveryOptimizationPriority"] = new Win32LobAppDeliveryOptimizationPriority($this->_propDict["deliveryOptimizationPriority"]); + return $this->_propDict["deliveryOptimizationPriority"]; + } + } + return null; + } + + /** + * Sets the deliveryOptimizationPriority + * The delivery optimization priority for this app assignment. This setting is not supported in National Cloud environments. Possible values are: notConfigured, foreground. + * + * @param Win32LobAppDeliveryOptimizationPriority $val The value to assign to the deliveryOptimizationPriority + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setDeliveryOptimizationPriority($val) + { + $this->_propDict["deliveryOptimizationPriority"] = $val; + return $this; + } + + /** + * Gets the installTimeSettings + * The install time settings to apply for this app assignment. + * + * @return MobileAppInstallTimeSettings|null The installTimeSettings + */ + public function getInstallTimeSettings() + { + if (array_key_exists("installTimeSettings", $this->_propDict)) { + if (is_a($this->_propDict["installTimeSettings"], "\Microsoft\Graph\Model\MobileAppInstallTimeSettings") || is_null($this->_propDict["installTimeSettings"])) { + return $this->_propDict["installTimeSettings"]; + } else { + $this->_propDict["installTimeSettings"] = new MobileAppInstallTimeSettings($this->_propDict["installTimeSettings"]); + return $this->_propDict["installTimeSettings"]; + } + } + return null; + } + + /** + * Sets the installTimeSettings + * The install time settings to apply for this app assignment. + * + * @param MobileAppInstallTimeSettings $val The value to assign to the installTimeSettings + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setInstallTimeSettings($val) + { + $this->_propDict["installTimeSettings"] = $val; + return $this; + } + + /** + * Gets the notifications + * The notification status for this app assignment. Possible values are: showAll, showReboot, hideAll. + * + * @return Win32LobAppNotification|null The notifications + */ + public function getNotifications() + { + if (array_key_exists("notifications", $this->_propDict)) { + if (is_a($this->_propDict["notifications"], "\Microsoft\Graph\Model\Win32LobAppNotification") || is_null($this->_propDict["notifications"])) { + return $this->_propDict["notifications"]; + } else { + $this->_propDict["notifications"] = new Win32LobAppNotification($this->_propDict["notifications"]); + return $this->_propDict["notifications"]; + } + } + return null; + } + + /** + * Sets the notifications + * The notification status for this app assignment. Possible values are: showAll, showReboot, hideAll. + * + * @param Win32LobAppNotification $val The value to assign to the notifications + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setNotifications($val) + { + $this->_propDict["notifications"] = $val; + return $this; + } + + /** + * Gets the restartSettings + * The reboot settings to apply for this app assignment. + * + * @return Win32LobAppRestartSettings|null The restartSettings + */ + public function getRestartSettings() + { + if (array_key_exists("restartSettings", $this->_propDict)) { + if (is_a($this->_propDict["restartSettings"], "\Microsoft\Graph\Model\Win32LobAppRestartSettings") || is_null($this->_propDict["restartSettings"])) { + return $this->_propDict["restartSettings"]; + } else { + $this->_propDict["restartSettings"] = new Win32LobAppRestartSettings($this->_propDict["restartSettings"]); + return $this->_propDict["restartSettings"]; + } + } + return null; + } + + /** + * Sets the restartSettings + * The reboot settings to apply for this app assignment. + * + * @param Win32LobAppRestartSettings $val The value to assign to the restartSettings + * + * @return Win32LobAppAssignmentSettings The Win32LobAppAssignmentSettings + */ + public function setRestartSettings($val) + { + $this->_propDict["restartSettings"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppDeliveryOptimizationPriority.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppDeliveryOptimizationPriority.php new file mode 100644 index 0000000..562572b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppDeliveryOptimizationPriority.php @@ -0,0 +1,34 @@ +setODataType("#microsoft.graph.win32LobAppFileSystemRule"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems. + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems. + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppFileSystemRule + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + /** + * Gets the comparisonValue + * The file or folder comparison value. + * + * @return string|null The comparisonValue + */ + public function getComparisonValue() + { + if (array_key_exists("comparisonValue", $this->_propDict)) { + return $this->_propDict["comparisonValue"]; + } else { + return null; + } + } + + /** + * Sets the comparisonValue + * The file or folder comparison value. + * + * @param string $val The value of the comparisonValue + * + * @return Win32LobAppFileSystemRule + */ + public function setComparisonValue($val) + { + $this->_propDict["comparisonValue"] = $val; + return $this; + } + /** + * Gets the fileOrFolderName + * The file or folder name to look up. + * + * @return string|null The fileOrFolderName + */ + public function getFileOrFolderName() + { + if (array_key_exists("fileOrFolderName", $this->_propDict)) { + return $this->_propDict["fileOrFolderName"]; + } else { + return null; + } + } + + /** + * Sets the fileOrFolderName + * The file or folder name to look up. + * + * @param string $val The value of the fileOrFolderName + * + * @return Win32LobAppFileSystemRule + */ + public function setFileOrFolderName($val) + { + $this->_propDict["fileOrFolderName"] = $val; + return $this; + } + + /** + * Gets the operationType + * The file system operation type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @return Win32LobAppFileSystemOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\Win32LobAppFileSystemOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new Win32LobAppFileSystemOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The file system operation type. Possible values are: notConfigured, exists, modifiedDate, createdDate, version, sizeInMB, doesNotExist. + * + * @param Win32LobAppFileSystemOperationType $val The value to assign to the operationType + * + * @return Win32LobAppFileSystemRule The Win32LobAppFileSystemRule + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppRuleOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for file or folder detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the operator + * + * @return Win32LobAppFileSystemRule The Win32LobAppFileSystemRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the path + * The file or folder path to look up. + * + * @return string|null The path + */ + public function getPath() + { + if (array_key_exists("path", $this->_propDict)) { + return $this->_propDict["path"]; + } else { + return null; + } + } + + /** + * Sets the path + * The file or folder path to look up. + * + * @param string $val The value of the path + * + * @return Win32LobAppFileSystemRule + */ + public function setPath($val) + { + $this->_propDict["path"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppInstallExperience.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppInstallExperience.php new file mode 100644 index 0000000..7d4119e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppInstallExperience.php @@ -0,0 +1,92 @@ +_propDict)) { + if (is_a($this->_propDict["deviceRestartBehavior"], "\Microsoft\Graph\Model\Win32LobAppRestartBehavior") || is_null($this->_propDict["deviceRestartBehavior"])) { + return $this->_propDict["deviceRestartBehavior"]; + } else { + $this->_propDict["deviceRestartBehavior"] = new Win32LobAppRestartBehavior($this->_propDict["deviceRestartBehavior"]); + return $this->_propDict["deviceRestartBehavior"]; + } + } + return null; + } + + /** + * Sets the deviceRestartBehavior + * Device restart behavior. Possible values are: basedOnReturnCode, allow, suppress, force. + * + * @param Win32LobAppRestartBehavior $val The value to assign to the deviceRestartBehavior + * + * @return Win32LobAppInstallExperience The Win32LobAppInstallExperience + */ + public function setDeviceRestartBehavior($val) + { + $this->_propDict["deviceRestartBehavior"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * Indicates the type of execution context the app runs in. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * Indicates the type of execution context the app runs in. Possible values are: system, user. + * + * @param RunAsAccountType $val The value to assign to the runAsAccount + * + * @return Win32LobAppInstallExperience The Win32LobAppInstallExperience + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiInformation.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiInformation.php new file mode 100644 index 0000000..c1e374b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiInformation.php @@ -0,0 +1,227 @@ +_propDict)) { + if (is_a($this->_propDict["packageType"], "\Microsoft\Graph\Model\Win32LobAppMsiPackageType") || is_null($this->_propDict["packageType"])) { + return $this->_propDict["packageType"]; + } else { + $this->_propDict["packageType"] = new Win32LobAppMsiPackageType($this->_propDict["packageType"]); + return $this->_propDict["packageType"]; + } + } + return null; + } + + /** + * Sets the packageType + * The MSI package type. Possible values are: perMachine, perUser, dualPurpose. + * + * @param Win32LobAppMsiPackageType $val The value to assign to the packageType + * + * @return Win32LobAppMsiInformation The Win32LobAppMsiInformation + */ + public function setPackageType($val) + { + $this->_propDict["packageType"] = $val; + return $this; + } + /** + * Gets the productCode + * The MSI product code. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The MSI product code. + * + * @param string $val The value of the productCode + * + * @return Win32LobAppMsiInformation + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + /** + * Gets the productName + * The MSI product name. + * + * @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 MSI product name. + * + * @param string $val The value of the productName + * + * @return Win32LobAppMsiInformation + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + /** + * Gets the productVersion + * The MSI product version. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The MSI product version. + * + * @param string $val The value of the productVersion + * + * @return Win32LobAppMsiInformation + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + /** + * Gets the publisher + * The MSI publisher. + * + * @return string|null The publisher + */ + public function getPublisher() + { + if (array_key_exists("publisher", $this->_propDict)) { + return $this->_propDict["publisher"]; + } else { + return null; + } + } + + /** + * Sets the publisher + * The MSI publisher. + * + * @param string $val The value of the publisher + * + * @return Win32LobAppMsiInformation + */ + public function setPublisher($val) + { + $this->_propDict["publisher"] = $val; + return $this; + } + /** + * Gets the requiresReboot + * Whether the MSI app requires the machine to reboot to complete installation. + * + * @return bool|null The requiresReboot + */ + public function getRequiresReboot() + { + if (array_key_exists("requiresReboot", $this->_propDict)) { + return $this->_propDict["requiresReboot"]; + } else { + return null; + } + } + + /** + * Sets the requiresReboot + * Whether the MSI app requires the machine to reboot to complete installation. + * + * @param bool $val The value of the requiresReboot + * + * @return Win32LobAppMsiInformation + */ + public function setRequiresReboot($val) + { + $this->_propDict["requiresReboot"] = $val; + return $this; + } + /** + * Gets the upgradeCode + * The MSI upgrade code. + * + * @return string|null The upgradeCode + */ + public function getUpgradeCode() + { + if (array_key_exists("upgradeCode", $this->_propDict)) { + return $this->_propDict["upgradeCode"]; + } else { + return null; + } + } + + /** + * Sets the upgradeCode + * The MSI upgrade code. + * + * @param string $val The value of the upgradeCode + * + * @return Win32LobAppMsiInformation + */ + public function setUpgradeCode($val) + { + $this->_propDict["upgradeCode"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiPackageType.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiPackageType.php new file mode 100644 index 0000000..d68d562 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiPackageType.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.win32LobAppPowerShellScriptRule"); + } + + /** + * Gets the comparisonValue + * The script output comparison value. Do not specify a value if the rule is used for detection. + * + * @return string|null The comparisonValue + */ + public function getComparisonValue() + { + if (array_key_exists("comparisonValue", $this->_propDict)) { + return $this->_propDict["comparisonValue"]; + } else { + return null; + } + } + + /** + * Sets the comparisonValue + * The script output comparison value. Do not specify a value if the rule is used for detection. + * + * @param string $val The value of the comparisonValue + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setComparisonValue($val) + { + $this->_propDict["comparisonValue"] = $val; + return $this; + } + /** + * Gets the displayName + * The display name for the rule. Do not specify this value if the rule is used for detection. + * + * @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 + * The display name for the rule. Do not specify this value if the rule is used for detection. + * + * @param string $val The value of the displayName + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the enforceSignatureCheck + * A value indicating whether a signature check is enforced. + * + * @return bool|null The enforceSignatureCheck + */ + public function getEnforceSignatureCheck() + { + if (array_key_exists("enforceSignatureCheck", $this->_propDict)) { + return $this->_propDict["enforceSignatureCheck"]; + } else { + return null; + } + } + + /** + * Sets the enforceSignatureCheck + * A value indicating whether a signature check is enforced. + * + * @param bool $val The value of the enforceSignatureCheck + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setEnforceSignatureCheck($val) + { + $this->_propDict["enforceSignatureCheck"] = $val; + return $this; + } + + /** + * Gets the operationType + * The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean. + * + * @return Win32LobAppPowerShellScriptRuleOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\Win32LobAppPowerShellScriptRuleOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new Win32LobAppPowerShellScriptRuleOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean. + * + * @param Win32LobAppPowerShellScriptRuleOperationType $val The value to assign to the operationType + * + * @return Win32LobAppPowerShellScriptRule The Win32LobAppPowerShellScriptRule + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the operator + * The script output operator. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppRuleOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The script output operator. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the operator + * + * @return Win32LobAppPowerShellScriptRule The Win32LobAppPowerShellScriptRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the runAs32Bit + * A value indicating whether the script should run as 32-bit. + * + * @return bool|null The runAs32Bit + */ + public function getRunAs32Bit() + { + if (array_key_exists("runAs32Bit", $this->_propDict)) { + return $this->_propDict["runAs32Bit"]; + } else { + return null; + } + } + + /** + * Sets the runAs32Bit + * A value indicating whether the script should run as 32-bit. + * + * @param bool $val The value of the runAs32Bit + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setRunAs32Bit($val) + { + $this->_propDict["runAs32Bit"] = $val; + return $this; + } + + /** + * Gets the runAsAccount + * The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user. + * + * @return RunAsAccountType|null The runAsAccount + */ + public function getRunAsAccount() + { + if (array_key_exists("runAsAccount", $this->_propDict)) { + if (is_a($this->_propDict["runAsAccount"], "\Microsoft\Graph\Model\RunAsAccountType") || is_null($this->_propDict["runAsAccount"])) { + return $this->_propDict["runAsAccount"]; + } else { + $this->_propDict["runAsAccount"] = new RunAsAccountType($this->_propDict["runAsAccount"]); + return $this->_propDict["runAsAccount"]; + } + } + return null; + } + + /** + * Sets the runAsAccount + * The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user. + * + * @param RunAsAccountType $val The value to assign to the runAsAccount + * + * @return Win32LobAppPowerShellScriptRule The Win32LobAppPowerShellScriptRule + */ + public function setRunAsAccount($val) + { + $this->_propDict["runAsAccount"] = $val; + return $this; + } + /** + * Gets the scriptContent + * The base64-encoded script content. + * + * @return string|null The scriptContent + */ + public function getScriptContent() + { + if (array_key_exists("scriptContent", $this->_propDict)) { + return $this->_propDict["scriptContent"]; + } else { + return null; + } + } + + /** + * Sets the scriptContent + * The base64-encoded script content. + * + * @param string $val The value of the scriptContent + * + * @return Win32LobAppPowerShellScriptRule + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppPowerShellScriptRuleOperationType.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppPowerShellScriptRuleOperationType.php new file mode 100644 index 0000000..bebd023 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppPowerShellScriptRuleOperationType.php @@ -0,0 +1,39 @@ +setODataType("#microsoft.graph.win32LobAppProductCodeRule"); + } + + /** + * Gets the productCode + * The product code of the app. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The product code of the app. + * + * @param string $val The value of the productCode + * + * @return Win32LobAppProductCodeRule + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + /** + * Gets the productVersion + * The product version comparison value. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The product version comparison value. + * + * @param string $val The value of the productVersion + * + * @return Win32LobAppProductCodeRule + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + + /** + * Gets the productVersionOperator + * The product version comparison operator. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The productVersionOperator + */ + public function getProductVersionOperator() + { + if (array_key_exists("productVersionOperator", $this->_propDict)) { + if (is_a($this->_propDict["productVersionOperator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["productVersionOperator"])) { + return $this->_propDict["productVersionOperator"]; + } else { + $this->_propDict["productVersionOperator"] = new Win32LobAppRuleOperator($this->_propDict["productVersionOperator"]); + return $this->_propDict["productVersionOperator"]; + } + } + return null; + } + + /** + * Sets the productVersionOperator + * The product version comparison operator. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the productVersionOperator + * + * @return Win32LobAppProductCodeRule The Win32LobAppProductCodeRule + */ + public function setProductVersionOperator($val) + { + $this->_propDict["productVersionOperator"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRule.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRule.php new file mode 100644 index 0000000..9a9ff4f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRule.php @@ -0,0 +1,215 @@ +setODataType("#microsoft.graph.win32LobAppRegistryRule"); + } + + /** + * Gets the check32BitOn64System + * A value indicating whether to search the 32-bit registry on 64-bit systems. + * + * @return bool|null The check32BitOn64System + */ + public function getCheck32BitOn64System() + { + if (array_key_exists("check32BitOn64System", $this->_propDict)) { + return $this->_propDict["check32BitOn64System"]; + } else { + return null; + } + } + + /** + * Sets the check32BitOn64System + * A value indicating whether to search the 32-bit registry on 64-bit systems. + * + * @param bool $val The value of the check32BitOn64System + * + * @return Win32LobAppRegistryRule + */ + public function setCheck32BitOn64System($val) + { + $this->_propDict["check32BitOn64System"] = $val; + return $this; + } + /** + * Gets the comparisonValue + * The registry comparison value. + * + * @return string|null The comparisonValue + */ + public function getComparisonValue() + { + if (array_key_exists("comparisonValue", $this->_propDict)) { + return $this->_propDict["comparisonValue"]; + } else { + return null; + } + } + + /** + * Sets the comparisonValue + * The registry comparison value. + * + * @param string $val The value of the comparisonValue + * + * @return Win32LobAppRegistryRule + */ + public function setComparisonValue($val) + { + $this->_propDict["comparisonValue"] = $val; + return $this; + } + /** + * Gets the keyPath + * The full path of the registry entry containing the value to detect. + * + * @return string|null The keyPath + */ + public function getKeyPath() + { + if (array_key_exists("keyPath", $this->_propDict)) { + return $this->_propDict["keyPath"]; + } else { + return null; + } + } + + /** + * Sets the keyPath + * The full path of the registry entry containing the value to detect. + * + * @param string $val The value of the keyPath + * + * @return Win32LobAppRegistryRule + */ + public function setKeyPath($val) + { + $this->_propDict["keyPath"] = $val; + return $this; + } + + /** + * Gets the operationType + * The registry operation type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @return Win32LobAppRegistryRuleOperationType|null The operationType + */ + public function getOperationType() + { + if (array_key_exists("operationType", $this->_propDict)) { + if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\Win32LobAppRegistryRuleOperationType") || is_null($this->_propDict["operationType"])) { + return $this->_propDict["operationType"]; + } else { + $this->_propDict["operationType"] = new Win32LobAppRegistryRuleOperationType($this->_propDict["operationType"]); + return $this->_propDict["operationType"]; + } + } + return null; + } + + /** + * Sets the operationType + * The registry operation type. Possible values are: notConfigured, exists, doesNotExist, string, integer, version. + * + * @param Win32LobAppRegistryRuleOperationType $val The value to assign to the operationType + * + * @return Win32LobAppRegistryRule The Win32LobAppRegistryRule + */ + public function setOperationType($val) + { + $this->_propDict["operationType"] = $val; + return $this; + } + + /** + * Gets the operator + * The operator for registry detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @return Win32LobAppRuleOperator|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + if (is_a($this->_propDict["operator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator") || is_null($this->_propDict["operator"])) { + return $this->_propDict["operator"]; + } else { + $this->_propDict["operator"] = new Win32LobAppRuleOperator($this->_propDict["operator"]); + return $this->_propDict["operator"]; + } + } + return null; + } + + /** + * Sets the operator + * The operator for registry detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual. + * + * @param Win32LobAppRuleOperator $val The value to assign to the operator + * + * @return Win32LobAppRegistryRule The Win32LobAppRegistryRule + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the valueName + * The name of the registry value to detect. + * + * @return string|null The valueName + */ + public function getValueName() + { + if (array_key_exists("valueName", $this->_propDict)) { + return $this->_propDict["valueName"]; + } else { + return null; + } + } + + /** + * Sets the valueName + * The name of the registry value to detect. + * + * @param string $val The value of the valueName + * + * @return Win32LobAppRegistryRule + */ + public function setValueName($val) + { + $this->_propDict["valueName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRuleOperationType.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRuleOperationType.php new file mode 100644 index 0000000..ffed394 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRuleOperationType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["countdownDisplayBeforeRestartInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the countdownDisplayBeforeRestartInMinutes + * The number of minutes before the restart time to display the countdown dialog for pending restarts. + * + * @param int $val The value of the countdownDisplayBeforeRestartInMinutes + * + * @return Win32LobAppRestartSettings + */ + public function setCountdownDisplayBeforeRestartInMinutes($val) + { + $this->_propDict["countdownDisplayBeforeRestartInMinutes"] = $val; + return $this; + } + /** + * Gets the gracePeriodInMinutes + * The number of minutes to wait before restarting the device after an app installation. + * + * @return int|null The gracePeriodInMinutes + */ + public function getGracePeriodInMinutes() + { + if (array_key_exists("gracePeriodInMinutes", $this->_propDict)) { + return $this->_propDict["gracePeriodInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the gracePeriodInMinutes + * The number of minutes to wait before restarting the device after an app installation. + * + * @param int $val The value of the gracePeriodInMinutes + * + * @return Win32LobAppRestartSettings + */ + public function setGracePeriodInMinutes($val) + { + $this->_propDict["gracePeriodInMinutes"] = $val; + return $this; + } + /** + * Gets the restartNotificationSnoozeDurationInMinutes + * The number of minutes to snooze the restart notification dialog when the snooze button is selected. + * + * @return int|null The restartNotificationSnoozeDurationInMinutes + */ + public function getRestartNotificationSnoozeDurationInMinutes() + { + if (array_key_exists("restartNotificationSnoozeDurationInMinutes", $this->_propDict)) { + return $this->_propDict["restartNotificationSnoozeDurationInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the restartNotificationSnoozeDurationInMinutes + * The number of minutes to snooze the restart notification dialog when the snooze button is selected. + * + * @param int $val The value of the restartNotificationSnoozeDurationInMinutes + * + * @return Win32LobAppRestartSettings + */ + public function setRestartNotificationSnoozeDurationInMinutes($val) + { + $this->_propDict["restartNotificationSnoozeDurationInMinutes"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCode.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCode.php new file mode 100644 index 0000000..da53952 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCode.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["returnCode"]; + } else { + return null; + } + } + + /** + * Sets the returnCode + * Return code. + * + * @param int $val The value of the returnCode + * + * @return Win32LobAppReturnCode + */ + public function setReturnCode($val) + { + $this->_propDict["returnCode"] = $val; + return $this; + } + + /** + * Gets the type + * The type of return code. Possible values are: failed, success, softReboot, hardReboot, retry. + * + * @return Win32LobAppReturnCodeType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\Win32LobAppReturnCodeType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new Win32LobAppReturnCodeType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * The type of return code. Possible values are: failed, success, softReboot, hardReboot, retry. + * + * @param Win32LobAppReturnCodeType $val The value to assign to the type + * + * @return Win32LobAppReturnCode The Win32LobAppReturnCode + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCodeType.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCodeType.php new file mode 100644 index 0000000..87afbd4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCodeType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["ruleType"], "\Microsoft\Graph\Model\Win32LobAppRuleType") || is_null($this->_propDict["ruleType"])) { + return $this->_propDict["ruleType"]; + } else { + $this->_propDict["ruleType"] = new Win32LobAppRuleType($this->_propDict["ruleType"]); + return $this->_propDict["ruleType"]; + } + } + return null; + } + + /** + * Sets the ruleType + * The rule type indicating the purpose of the rule. Possible values are: detection, requirement. + * + * @param Win32LobAppRuleType $val The value to assign to the ruleType + * + * @return Win32LobAppRule The Win32LobAppRule + */ + public function setRuleType($val) + { + $this->_propDict["ruleType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRuleOperator.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRuleOperator.php new file mode 100644 index 0000000..526f792 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRuleOperator.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["bitLockerEnabled"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEnabled + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + * + * @param bool $val The bitLockerEnabled + * + * @return Windows10CompliancePolicy + */ + public function setBitLockerEnabled($val) + { + $this->_propDict["bitLockerEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @return bool|null The codeIntegrityEnabled + */ + public function getCodeIntegrityEnabled() + { + if (array_key_exists("codeIntegrityEnabled", $this->_propDict)) { + return $this->_propDict["codeIntegrityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @param bool $val The codeIntegrityEnabled + * + * @return Windows10CompliancePolicy + */ + public function setCodeIntegrityEnabled($val) + { + $this->_propDict["codeIntegrityEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @return bool|null The earlyLaunchAntiMalwareDriverEnabled + */ + public function getEarlyLaunchAntiMalwareDriverEnabled() + { + if (array_key_exists("earlyLaunchAntiMalwareDriverEnabled", $this->_propDict)) { + return $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"]; + } else { + return null; + } + } + + /** + * Sets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @param bool $val The earlyLaunchAntiMalwareDriverEnabled + * + * @return Windows10CompliancePolicy + */ + public function setEarlyLaunchAntiMalwareDriverEnabled($val) + { + $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the mobileOsMaximumVersion + * Maximum Windows Phone version. + * + * @return string|null The mobileOsMaximumVersion + */ + public function getMobileOsMaximumVersion() + { + if (array_key_exists("mobileOsMaximumVersion", $this->_propDict)) { + return $this->_propDict["mobileOsMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the mobileOsMaximumVersion + * Maximum Windows Phone version. + * + * @param string $val The mobileOsMaximumVersion + * + * @return Windows10CompliancePolicy + */ + public function setMobileOsMaximumVersion($val) + { + $this->_propDict["mobileOsMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the mobileOsMinimumVersion + * Minimum Windows Phone version. + * + * @return string|null The mobileOsMinimumVersion + */ + public function getMobileOsMinimumVersion() + { + if (array_key_exists("mobileOsMinimumVersion", $this->_propDict)) { + return $this->_propDict["mobileOsMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the mobileOsMinimumVersion + * Minimum Windows Phone version. + * + * @param string $val The mobileOsMinimumVersion + * + * @return Windows10CompliancePolicy + */ + public function setMobileOsMinimumVersion($val) + { + $this->_propDict["mobileOsMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Windows 10 version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows 10 version. + * + * @param string $val The osMaximumVersion + * + * @return Windows10CompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows 10 version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows 10 version. + * + * @param string $val The osMinimumVersion + * + * @return Windows10CompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows10CompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * The password expiration in days. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * The password expiration in days. + * + * @param int $val The passwordExpirationDays + * + * @return Windows10CompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows10CompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. + * + * @param int $val The passwordMinimumLength + * + * @return Windows10CompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return Windows10CompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows10CompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock Windows device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock Windows device. + * + * @param bool $val The passwordRequired + * + * @return Windows10CompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @return bool|null The passwordRequiredToUnlockFromIdle + */ + public function getPasswordRequiredToUnlockFromIdle() + { + if (array_key_exists("passwordRequiredToUnlockFromIdle", $this->_propDict)) { + return $this->_propDict["passwordRequiredToUnlockFromIdle"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequiredToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @param bool $val The passwordRequiredToUnlockFromIdle + * + * @return Windows10CompliancePolicy + */ + public function setPasswordRequiredToUnlockFromIdle($val) + { + $this->_propDict["passwordRequiredToUnlockFromIdle"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows10CompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the requireHealthyDeviceReport + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @return bool|null The requireHealthyDeviceReport + */ + public function getRequireHealthyDeviceReport() + { + if (array_key_exists("requireHealthyDeviceReport", $this->_propDict)) { + return $this->_propDict["requireHealthyDeviceReport"]; + } else { + return null; + } + } + + /** + * Sets the requireHealthyDeviceReport + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @param bool $val The requireHealthyDeviceReport + * + * @return Windows10CompliancePolicy + */ + public function setRequireHealthyDeviceReport($val) + { + $this->_propDict["requireHealthyDeviceReport"] = boolval($val); + return $this; + } + + /** + * Gets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @return bool|null The secureBootEnabled + */ + public function getSecureBootEnabled() + { + if (array_key_exists("secureBootEnabled", $this->_propDict)) { + return $this->_propDict["secureBootEnabled"]; + } else { + return null; + } + } + + /** + * Sets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @param bool $val The secureBootEnabled + * + * @return Windows10CompliancePolicy + */ + public function setSecureBootEnabled($val) + { + $this->_propDict["secureBootEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on windows devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on windows devices. + * + * @param bool $val The storageRequireEncryption + * + * @return Windows10CompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10CustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10CustomConfiguration.php new file mode 100644 index 0000000..262159b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10CustomConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 1000 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return Windows10CustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10EditionType.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10EditionType.php new file mode 100644 index 0000000..89393de --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10EditionType.php @@ -0,0 +1,44 @@ +_propDict)) { + return $this->_propDict["applicationGuardAllowPersistence"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPersistence + * Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.) + * + * @param bool $val The applicationGuardAllowPersistence + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPersistence($val) + { + $this->_propDict["applicationGuardAllowPersistence"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToLocalPrinters + * Allow printing to Local Printers from Container + * + * @return bool|null The applicationGuardAllowPrintToLocalPrinters + */ + public function getApplicationGuardAllowPrintToLocalPrinters() + { + if (array_key_exists("applicationGuardAllowPrintToLocalPrinters", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToLocalPrinters"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToLocalPrinters + * Allow printing to Local Printers from Container + * + * @param bool $val The applicationGuardAllowPrintToLocalPrinters + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToLocalPrinters($val) + { + $this->_propDict["applicationGuardAllowPrintToLocalPrinters"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToNetworkPrinters + * Allow printing to Network Printers from Container + * + * @return bool|null The applicationGuardAllowPrintToNetworkPrinters + */ + public function getApplicationGuardAllowPrintToNetworkPrinters() + { + if (array_key_exists("applicationGuardAllowPrintToNetworkPrinters", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToNetworkPrinters"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToNetworkPrinters + * Allow printing to Network Printers from Container + * + * @param bool $val The applicationGuardAllowPrintToNetworkPrinters + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToNetworkPrinters($val) + { + $this->_propDict["applicationGuardAllowPrintToNetworkPrinters"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToPDF + * Allow printing to PDF from Container + * + * @return bool|null The applicationGuardAllowPrintToPDF + */ + public function getApplicationGuardAllowPrintToPDF() + { + if (array_key_exists("applicationGuardAllowPrintToPDF", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToPDF"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToPDF + * Allow printing to PDF from Container + * + * @param bool $val The applicationGuardAllowPrintToPDF + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToPDF($val) + { + $this->_propDict["applicationGuardAllowPrintToPDF"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardAllowPrintToXPS + * Allow printing to XPS from Container + * + * @return bool|null The applicationGuardAllowPrintToXPS + */ + public function getApplicationGuardAllowPrintToXPS() + { + if (array_key_exists("applicationGuardAllowPrintToXPS", $this->_propDict)) { + return $this->_propDict["applicationGuardAllowPrintToXPS"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardAllowPrintToXPS + * Allow printing to XPS from Container + * + * @param bool $val The applicationGuardAllowPrintToXPS + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardAllowPrintToXPS($val) + { + $this->_propDict["applicationGuardAllowPrintToXPS"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardBlockClipboardSharing + * Block clipboard to share data from Host to Container, or from Container to Host, or both ways, or neither ways. Possible values are: notConfigured, blockBoth, blockHostToContainer, blockContainerToHost, blockNone. + * + * @return ApplicationGuardBlockClipboardSharingType|null The applicationGuardBlockClipboardSharing + */ + public function getApplicationGuardBlockClipboardSharing() + { + if (array_key_exists("applicationGuardBlockClipboardSharing", $this->_propDict)) { + if (is_a($this->_propDict["applicationGuardBlockClipboardSharing"], "\Microsoft\Graph\Model\ApplicationGuardBlockClipboardSharingType") || is_null($this->_propDict["applicationGuardBlockClipboardSharing"])) { + return $this->_propDict["applicationGuardBlockClipboardSharing"]; + } else { + $this->_propDict["applicationGuardBlockClipboardSharing"] = new ApplicationGuardBlockClipboardSharingType($this->_propDict["applicationGuardBlockClipboardSharing"]); + return $this->_propDict["applicationGuardBlockClipboardSharing"]; + } + } + return null; + } + + /** + * Sets the applicationGuardBlockClipboardSharing + * Block clipboard to share data from Host to Container, or from Container to Host, or both ways, or neither ways. Possible values are: notConfigured, blockBoth, blockHostToContainer, blockContainerToHost, blockNone. + * + * @param ApplicationGuardBlockClipboardSharingType $val The applicationGuardBlockClipboardSharing + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardBlockClipboardSharing($val) + { + $this->_propDict["applicationGuardBlockClipboardSharing"] = $val; + return $this; + } + + /** + * Gets the applicationGuardBlockFileTransfer + * Block clipboard to transfer image file, text file or neither of them. Possible values are: notConfigured, blockImageAndTextFile, blockImageFile, blockNone, blockTextFile. + * + * @return ApplicationGuardBlockFileTransferType|null The applicationGuardBlockFileTransfer + */ + public function getApplicationGuardBlockFileTransfer() + { + if (array_key_exists("applicationGuardBlockFileTransfer", $this->_propDict)) { + if (is_a($this->_propDict["applicationGuardBlockFileTransfer"], "\Microsoft\Graph\Model\ApplicationGuardBlockFileTransferType") || is_null($this->_propDict["applicationGuardBlockFileTransfer"])) { + return $this->_propDict["applicationGuardBlockFileTransfer"]; + } else { + $this->_propDict["applicationGuardBlockFileTransfer"] = new ApplicationGuardBlockFileTransferType($this->_propDict["applicationGuardBlockFileTransfer"]); + return $this->_propDict["applicationGuardBlockFileTransfer"]; + } + } + return null; + } + + /** + * Sets the applicationGuardBlockFileTransfer + * Block clipboard to transfer image file, text file or neither of them. Possible values are: notConfigured, blockImageAndTextFile, blockImageFile, blockNone, blockTextFile. + * + * @param ApplicationGuardBlockFileTransferType $val The applicationGuardBlockFileTransfer + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardBlockFileTransfer($val) + { + $this->_propDict["applicationGuardBlockFileTransfer"] = $val; + return $this; + } + + /** + * Gets the applicationGuardBlockNonEnterpriseContent + * Block enterprise sites to load non-enterprise content, such as third party plug-ins + * + * @return bool|null The applicationGuardBlockNonEnterpriseContent + */ + public function getApplicationGuardBlockNonEnterpriseContent() + { + if (array_key_exists("applicationGuardBlockNonEnterpriseContent", $this->_propDict)) { + return $this->_propDict["applicationGuardBlockNonEnterpriseContent"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardBlockNonEnterpriseContent + * Block enterprise sites to load non-enterprise content, such as third party plug-ins + * + * @param bool $val The applicationGuardBlockNonEnterpriseContent + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardBlockNonEnterpriseContent($val) + { + $this->_propDict["applicationGuardBlockNonEnterpriseContent"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardEnabled + * Enable Windows Defender Application Guard + * + * @return bool|null The applicationGuardEnabled + */ + public function getApplicationGuardEnabled() + { + if (array_key_exists("applicationGuardEnabled", $this->_propDict)) { + return $this->_propDict["applicationGuardEnabled"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardEnabled + * Enable Windows Defender Application Guard + * + * @param bool $val The applicationGuardEnabled + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardEnabled($val) + { + $this->_propDict["applicationGuardEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the applicationGuardForceAuditing + * Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.) + * + * @return bool|null The applicationGuardForceAuditing + */ + public function getApplicationGuardForceAuditing() + { + if (array_key_exists("applicationGuardForceAuditing", $this->_propDict)) { + return $this->_propDict["applicationGuardForceAuditing"]; + } else { + return null; + } + } + + /** + * Sets the applicationGuardForceAuditing + * Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.) + * + * @param bool $val The applicationGuardForceAuditing + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setApplicationGuardForceAuditing($val) + { + $this->_propDict["applicationGuardForceAuditing"] = boolval($val); + return $this; + } + + /** + * Gets the appLockerApplicationControl + * Enables the Admin to choose what types of app to allow on devices. Possible values are: notConfigured, enforceComponentsAndStoreApps, auditComponentsAndStoreApps, enforceComponentsStoreAppsAndSmartlocker, auditComponentsStoreAppsAndSmartlocker. + * + * @return AppLockerApplicationControlType|null The appLockerApplicationControl + */ + public function getAppLockerApplicationControl() + { + if (array_key_exists("appLockerApplicationControl", $this->_propDict)) { + if (is_a($this->_propDict["appLockerApplicationControl"], "\Microsoft\Graph\Model\AppLockerApplicationControlType") || is_null($this->_propDict["appLockerApplicationControl"])) { + return $this->_propDict["appLockerApplicationControl"]; + } else { + $this->_propDict["appLockerApplicationControl"] = new AppLockerApplicationControlType($this->_propDict["appLockerApplicationControl"]); + return $this->_propDict["appLockerApplicationControl"]; + } + } + return null; + } + + /** + * Sets the appLockerApplicationControl + * Enables the Admin to choose what types of app to allow on devices. Possible values are: notConfigured, enforceComponentsAndStoreApps, auditComponentsAndStoreApps, enforceComponentsStoreAppsAndSmartlocker, auditComponentsStoreAppsAndSmartlocker. + * + * @param AppLockerApplicationControlType $val The appLockerApplicationControl + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setAppLockerApplicationControl($val) + { + $this->_propDict["appLockerApplicationControl"] = $val; + return $this; + } + + /** + * Gets the bitLockerDisableWarningForOtherDiskEncryption + * Allows the Admin to disable the warning prompt for other disk encryption on the user machines. + * + * @return bool|null The bitLockerDisableWarningForOtherDiskEncryption + */ + public function getBitLockerDisableWarningForOtherDiskEncryption() + { + if (array_key_exists("bitLockerDisableWarningForOtherDiskEncryption", $this->_propDict)) { + return $this->_propDict["bitLockerDisableWarningForOtherDiskEncryption"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerDisableWarningForOtherDiskEncryption + * Allows the Admin to disable the warning prompt for other disk encryption on the user machines. + * + * @param bool $val The bitLockerDisableWarningForOtherDiskEncryption + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerDisableWarningForOtherDiskEncryption($val) + { + $this->_propDict["bitLockerDisableWarningForOtherDiskEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerEnableStorageCardEncryptionOnMobile + * Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU. + * + * @return bool|null The bitLockerEnableStorageCardEncryptionOnMobile + */ + public function getBitLockerEnableStorageCardEncryptionOnMobile() + { + if (array_key_exists("bitLockerEnableStorageCardEncryptionOnMobile", $this->_propDict)) { + return $this->_propDict["bitLockerEnableStorageCardEncryptionOnMobile"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEnableStorageCardEncryptionOnMobile + * Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU. + * + * @param bool $val The bitLockerEnableStorageCardEncryptionOnMobile + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerEnableStorageCardEncryptionOnMobile($val) + { + $this->_propDict["bitLockerEnableStorageCardEncryptionOnMobile"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerEncryptDevice + * Allows the admin to require encryption to be turned on using BitLocker. + * + * @return bool|null The bitLockerEncryptDevice + */ + public function getBitLockerEncryptDevice() + { + if (array_key_exists("bitLockerEncryptDevice", $this->_propDict)) { + return $this->_propDict["bitLockerEncryptDevice"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEncryptDevice + * Allows the admin to require encryption to be turned on using BitLocker. + * + * @param bool $val The bitLockerEncryptDevice + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerEncryptDevice($val) + { + $this->_propDict["bitLockerEncryptDevice"] = boolval($val); + return $this; + } + + /** + * Gets the bitLockerRemovableDrivePolicy + * BitLocker Removable Drive Policy. + * + * @return BitLockerRemovableDrivePolicy|null The bitLockerRemovableDrivePolicy + */ + public function getBitLockerRemovableDrivePolicy() + { + if (array_key_exists("bitLockerRemovableDrivePolicy", $this->_propDict)) { + if (is_a($this->_propDict["bitLockerRemovableDrivePolicy"], "\Microsoft\Graph\Model\BitLockerRemovableDrivePolicy") || is_null($this->_propDict["bitLockerRemovableDrivePolicy"])) { + return $this->_propDict["bitLockerRemovableDrivePolicy"]; + } else { + $this->_propDict["bitLockerRemovableDrivePolicy"] = new BitLockerRemovableDrivePolicy($this->_propDict["bitLockerRemovableDrivePolicy"]); + return $this->_propDict["bitLockerRemovableDrivePolicy"]; + } + } + return null; + } + + /** + * Sets the bitLockerRemovableDrivePolicy + * BitLocker Removable Drive Policy. + * + * @param BitLockerRemovableDrivePolicy $val The bitLockerRemovableDrivePolicy + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setBitLockerRemovableDrivePolicy($val) + { + $this->_propDict["bitLockerRemovableDrivePolicy"] = $val; + return $this; + } + + /** + * Gets the defenderAdditionalGuardedFolders + * List of folder paths to be added to the list of protected folders + * + * @return string|null The defenderAdditionalGuardedFolders + */ + public function getDefenderAdditionalGuardedFolders() + { + if (array_key_exists("defenderAdditionalGuardedFolders", $this->_propDict)) { + return $this->_propDict["defenderAdditionalGuardedFolders"]; + } else { + return null; + } + } + + /** + * Sets the defenderAdditionalGuardedFolders + * List of folder paths to be added to the list of protected folders + * + * @param string $val The defenderAdditionalGuardedFolders + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAdditionalGuardedFolders($val) + { + $this->_propDict["defenderAdditionalGuardedFolders"] = $val; + return $this; + } + + /** + * Gets the defenderAttackSurfaceReductionExcludedPaths + * List of exe files and folders to be excluded from attack surface reduction rules + * + * @return string|null The defenderAttackSurfaceReductionExcludedPaths + */ + public function getDefenderAttackSurfaceReductionExcludedPaths() + { + if (array_key_exists("defenderAttackSurfaceReductionExcludedPaths", $this->_propDict)) { + return $this->_propDict["defenderAttackSurfaceReductionExcludedPaths"]; + } else { + return null; + } + } + + /** + * Sets the defenderAttackSurfaceReductionExcludedPaths + * List of exe files and folders to be excluded from attack surface reduction rules + * + * @param string $val The defenderAttackSurfaceReductionExcludedPaths + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderAttackSurfaceReductionExcludedPaths($val) + { + $this->_propDict["defenderAttackSurfaceReductionExcludedPaths"] = $val; + return $this; + } + + /** + * Gets the defenderExploitProtectionXml + * Xml content containing information regarding exploit protection details. + * + * @return \GuzzleHttp\Psr7\Stream|null The defenderExploitProtectionXml + */ + public function getDefenderExploitProtectionXml() + { + if (array_key_exists("defenderExploitProtectionXml", $this->_propDict)) { + if (is_a($this->_propDict["defenderExploitProtectionXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["defenderExploitProtectionXml"])) { + return $this->_propDict["defenderExploitProtectionXml"]; + } else { + $this->_propDict["defenderExploitProtectionXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["defenderExploitProtectionXml"]); + return $this->_propDict["defenderExploitProtectionXml"]; + } + } + return null; + } + + /** + * Sets the defenderExploitProtectionXml + * Xml content containing information regarding exploit protection details. + * + * @param \GuzzleHttp\Psr7\Stream $val The defenderExploitProtectionXml + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderExploitProtectionXml($val) + { + $this->_propDict["defenderExploitProtectionXml"] = $val; + return $this; + } + + /** + * Gets the defenderExploitProtectionXmlFileName + * Name of the file from which DefenderExploitProtectionXml was obtained. + * + * @return string|null The defenderExploitProtectionXmlFileName + */ + public function getDefenderExploitProtectionXmlFileName() + { + if (array_key_exists("defenderExploitProtectionXmlFileName", $this->_propDict)) { + return $this->_propDict["defenderExploitProtectionXmlFileName"]; + } else { + return null; + } + } + + /** + * Sets the defenderExploitProtectionXmlFileName + * Name of the file from which DefenderExploitProtectionXml was obtained. + * + * @param string $val The defenderExploitProtectionXmlFileName + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderExploitProtectionXmlFileName($val) + { + $this->_propDict["defenderExploitProtectionXmlFileName"] = $val; + return $this; + } + + /** + * Gets the defenderGuardedFoldersAllowedAppPaths + * List of paths to exe that are allowed to access protected folders + * + * @return string|null The defenderGuardedFoldersAllowedAppPaths + */ + public function getDefenderGuardedFoldersAllowedAppPaths() + { + if (array_key_exists("defenderGuardedFoldersAllowedAppPaths", $this->_propDict)) { + return $this->_propDict["defenderGuardedFoldersAllowedAppPaths"]; + } else { + return null; + } + } + + /** + * Sets the defenderGuardedFoldersAllowedAppPaths + * List of paths to exe that are allowed to access protected folders + * + * @param string $val The defenderGuardedFoldersAllowedAppPaths + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderGuardedFoldersAllowedAppPaths($val) + { + $this->_propDict["defenderGuardedFoldersAllowedAppPaths"] = $val; + return $this; + } + + /** + * Gets the defenderSecurityCenterBlockExploitProtectionOverride + * Indicates whether or not to block user from overriding Exploit Protection settings. + * + * @return bool|null The defenderSecurityCenterBlockExploitProtectionOverride + */ + public function getDefenderSecurityCenterBlockExploitProtectionOverride() + { + if (array_key_exists("defenderSecurityCenterBlockExploitProtectionOverride", $this->_propDict)) { + return $this->_propDict["defenderSecurityCenterBlockExploitProtectionOverride"]; + } else { + return null; + } + } + + /** + * Sets the defenderSecurityCenterBlockExploitProtectionOverride + * Indicates whether or not to block user from overriding Exploit Protection settings. + * + * @param bool $val The defenderSecurityCenterBlockExploitProtectionOverride + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setDefenderSecurityCenterBlockExploitProtectionOverride($val) + { + $this->_propDict["defenderSecurityCenterBlockExploitProtectionOverride"] = boolval($val); + return $this; + } + + /** + * Gets the firewallBlockStatefulFTP + * Blocks stateful FTP connections to the device + * + * @return bool|null The firewallBlockStatefulFTP + */ + public function getFirewallBlockStatefulFTP() + { + if (array_key_exists("firewallBlockStatefulFTP", $this->_propDict)) { + return $this->_propDict["firewallBlockStatefulFTP"]; + } else { + return null; + } + } + + /** + * Sets the firewallBlockStatefulFTP + * Blocks stateful FTP connections to the device + * + * @param bool $val The firewallBlockStatefulFTP + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallBlockStatefulFTP($val) + { + $this->_propDict["firewallBlockStatefulFTP"] = boolval($val); + return $this; + } + + /** + * Gets the firewallCertificateRevocationListCheckMethod + * Specify how the certificate revocation list is to be enforced. Possible values are: deviceDefault, none, attempt, require. + * + * @return FirewallCertificateRevocationListCheckMethodType|null The firewallCertificateRevocationListCheckMethod + */ + public function getFirewallCertificateRevocationListCheckMethod() + { + if (array_key_exists("firewallCertificateRevocationListCheckMethod", $this->_propDict)) { + if (is_a($this->_propDict["firewallCertificateRevocationListCheckMethod"], "\Microsoft\Graph\Model\FirewallCertificateRevocationListCheckMethodType") || is_null($this->_propDict["firewallCertificateRevocationListCheckMethod"])) { + return $this->_propDict["firewallCertificateRevocationListCheckMethod"]; + } else { + $this->_propDict["firewallCertificateRevocationListCheckMethod"] = new FirewallCertificateRevocationListCheckMethodType($this->_propDict["firewallCertificateRevocationListCheckMethod"]); + return $this->_propDict["firewallCertificateRevocationListCheckMethod"]; + } + } + return null; + } + + /** + * Sets the firewallCertificateRevocationListCheckMethod + * Specify how the certificate revocation list is to be enforced. Possible values are: deviceDefault, none, attempt, require. + * + * @param FirewallCertificateRevocationListCheckMethodType $val The firewallCertificateRevocationListCheckMethod + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallCertificateRevocationListCheckMethod($val) + { + $this->_propDict["firewallCertificateRevocationListCheckMethod"] = $val; + return $this; + } + + /** + * Gets the firewallIdleTimeoutForSecurityAssociationInSeconds + * Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600 + * + * @return int|null The firewallIdleTimeoutForSecurityAssociationInSeconds + */ + public function getFirewallIdleTimeoutForSecurityAssociationInSeconds() + { + if (array_key_exists("firewallIdleTimeoutForSecurityAssociationInSeconds", $this->_propDict)) { + return $this->_propDict["firewallIdleTimeoutForSecurityAssociationInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the firewallIdleTimeoutForSecurityAssociationInSeconds + * Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600 + * + * @param int $val The firewallIdleTimeoutForSecurityAssociationInSeconds + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIdleTimeoutForSecurityAssociationInSeconds($val) + { + $this->_propDict["firewallIdleTimeoutForSecurityAssociationInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowDHCP + * Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic + * + * @return bool|null The firewallIPSecExemptionsAllowDHCP + */ + public function getFirewallIPSecExemptionsAllowDHCP() + { + if (array_key_exists("firewallIPSecExemptionsAllowDHCP", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowDHCP"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowDHCP + * Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic + * + * @param bool $val The firewallIPSecExemptionsAllowDHCP + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowDHCP($val) + { + $this->_propDict["firewallIPSecExemptionsAllowDHCP"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowICMP + * Configures IPSec exemptions to allow ICMP + * + * @return bool|null The firewallIPSecExemptionsAllowICMP + */ + public function getFirewallIPSecExemptionsAllowICMP() + { + if (array_key_exists("firewallIPSecExemptionsAllowICMP", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowICMP"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowICMP + * Configures IPSec exemptions to allow ICMP + * + * @param bool $val The firewallIPSecExemptionsAllowICMP + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowICMP($val) + { + $this->_propDict["firewallIPSecExemptionsAllowICMP"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowNeighborDiscovery + * Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes + * + * @return bool|null The firewallIPSecExemptionsAllowNeighborDiscovery + */ + public function getFirewallIPSecExemptionsAllowNeighborDiscovery() + { + if (array_key_exists("firewallIPSecExemptionsAllowNeighborDiscovery", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowNeighborDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowNeighborDiscovery + * Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes + * + * @param bool $val The firewallIPSecExemptionsAllowNeighborDiscovery + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowNeighborDiscovery($val) + { + $this->_propDict["firewallIPSecExemptionsAllowNeighborDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the firewallIPSecExemptionsAllowRouterDiscovery + * Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes + * + * @return bool|null The firewallIPSecExemptionsAllowRouterDiscovery + */ + public function getFirewallIPSecExemptionsAllowRouterDiscovery() + { + if (array_key_exists("firewallIPSecExemptionsAllowRouterDiscovery", $this->_propDict)) { + return $this->_propDict["firewallIPSecExemptionsAllowRouterDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the firewallIPSecExemptionsAllowRouterDiscovery + * Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes + * + * @param bool $val The firewallIPSecExemptionsAllowRouterDiscovery + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallIPSecExemptionsAllowRouterDiscovery($val) + { + $this->_propDict["firewallIPSecExemptionsAllowRouterDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the firewallMergeKeyingModuleSettings + * If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set + * + * @return bool|null The firewallMergeKeyingModuleSettings + */ + public function getFirewallMergeKeyingModuleSettings() + { + if (array_key_exists("firewallMergeKeyingModuleSettings", $this->_propDict)) { + return $this->_propDict["firewallMergeKeyingModuleSettings"]; + } else { + return null; + } + } + + /** + * Sets the firewallMergeKeyingModuleSettings + * If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set + * + * @param bool $val The firewallMergeKeyingModuleSettings + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallMergeKeyingModuleSettings($val) + { + $this->_propDict["firewallMergeKeyingModuleSettings"] = boolval($val); + return $this; + } + + /** + * Gets the firewallPacketQueueingMethod + * Configures how packet queueing should be applied in the tunnel gateway scenario. Possible values are: deviceDefault, disabled, queueInbound, queueOutbound, queueBoth. + * + * @return FirewallPacketQueueingMethodType|null The firewallPacketQueueingMethod + */ + public function getFirewallPacketQueueingMethod() + { + if (array_key_exists("firewallPacketQueueingMethod", $this->_propDict)) { + if (is_a($this->_propDict["firewallPacketQueueingMethod"], "\Microsoft\Graph\Model\FirewallPacketQueueingMethodType") || is_null($this->_propDict["firewallPacketQueueingMethod"])) { + return $this->_propDict["firewallPacketQueueingMethod"]; + } else { + $this->_propDict["firewallPacketQueueingMethod"] = new FirewallPacketQueueingMethodType($this->_propDict["firewallPacketQueueingMethod"]); + return $this->_propDict["firewallPacketQueueingMethod"]; + } + } + return null; + } + + /** + * Sets the firewallPacketQueueingMethod + * Configures how packet queueing should be applied in the tunnel gateway scenario. Possible values are: deviceDefault, disabled, queueInbound, queueOutbound, queueBoth. + * + * @param FirewallPacketQueueingMethodType $val The firewallPacketQueueingMethod + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallPacketQueueingMethod($val) + { + $this->_propDict["firewallPacketQueueingMethod"] = $val; + return $this; + } + + /** + * Gets the firewallPreSharedKeyEncodingMethod + * Select the preshared key encoding to be used. Possible values are: deviceDefault, none, utF8. + * + * @return FirewallPreSharedKeyEncodingMethodType|null The firewallPreSharedKeyEncodingMethod + */ + public function getFirewallPreSharedKeyEncodingMethod() + { + if (array_key_exists("firewallPreSharedKeyEncodingMethod", $this->_propDict)) { + if (is_a($this->_propDict["firewallPreSharedKeyEncodingMethod"], "\Microsoft\Graph\Model\FirewallPreSharedKeyEncodingMethodType") || is_null($this->_propDict["firewallPreSharedKeyEncodingMethod"])) { + return $this->_propDict["firewallPreSharedKeyEncodingMethod"]; + } else { + $this->_propDict["firewallPreSharedKeyEncodingMethod"] = new FirewallPreSharedKeyEncodingMethodType($this->_propDict["firewallPreSharedKeyEncodingMethod"]); + return $this->_propDict["firewallPreSharedKeyEncodingMethod"]; + } + } + return null; + } + + /** + * Sets the firewallPreSharedKeyEncodingMethod + * Select the preshared key encoding to be used. Possible values are: deviceDefault, none, utF8. + * + * @param FirewallPreSharedKeyEncodingMethodType $val The firewallPreSharedKeyEncodingMethod + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallPreSharedKeyEncodingMethod($val) + { + $this->_propDict["firewallPreSharedKeyEncodingMethod"] = $val; + return $this; + } + + /** + * Gets the firewallProfileDomain + * Configures the firewall profile settings for domain networks + * + * @return WindowsFirewallNetworkProfile|null The firewallProfileDomain + */ + public function getFirewallProfileDomain() + { + if (array_key_exists("firewallProfileDomain", $this->_propDict)) { + if (is_a($this->_propDict["firewallProfileDomain"], "\Microsoft\Graph\Model\WindowsFirewallNetworkProfile") || is_null($this->_propDict["firewallProfileDomain"])) { + return $this->_propDict["firewallProfileDomain"]; + } else { + $this->_propDict["firewallProfileDomain"] = new WindowsFirewallNetworkProfile($this->_propDict["firewallProfileDomain"]); + return $this->_propDict["firewallProfileDomain"]; + } + } + return null; + } + + /** + * Sets the firewallProfileDomain + * Configures the firewall profile settings for domain networks + * + * @param WindowsFirewallNetworkProfile $val The firewallProfileDomain + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallProfileDomain($val) + { + $this->_propDict["firewallProfileDomain"] = $val; + return $this; + } + + /** + * Gets the firewallProfilePrivate + * Configures the firewall profile settings for private networks + * + * @return WindowsFirewallNetworkProfile|null The firewallProfilePrivate + */ + public function getFirewallProfilePrivate() + { + if (array_key_exists("firewallProfilePrivate", $this->_propDict)) { + if (is_a($this->_propDict["firewallProfilePrivate"], "\Microsoft\Graph\Model\WindowsFirewallNetworkProfile") || is_null($this->_propDict["firewallProfilePrivate"])) { + return $this->_propDict["firewallProfilePrivate"]; + } else { + $this->_propDict["firewallProfilePrivate"] = new WindowsFirewallNetworkProfile($this->_propDict["firewallProfilePrivate"]); + return $this->_propDict["firewallProfilePrivate"]; + } + } + return null; + } + + /** + * Sets the firewallProfilePrivate + * Configures the firewall profile settings for private networks + * + * @param WindowsFirewallNetworkProfile $val The firewallProfilePrivate + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallProfilePrivate($val) + { + $this->_propDict["firewallProfilePrivate"] = $val; + return $this; + } + + /** + * Gets the firewallProfilePublic + * Configures the firewall profile settings for public networks + * + * @return WindowsFirewallNetworkProfile|null The firewallProfilePublic + */ + public function getFirewallProfilePublic() + { + if (array_key_exists("firewallProfilePublic", $this->_propDict)) { + if (is_a($this->_propDict["firewallProfilePublic"], "\Microsoft\Graph\Model\WindowsFirewallNetworkProfile") || is_null($this->_propDict["firewallProfilePublic"])) { + return $this->_propDict["firewallProfilePublic"]; + } else { + $this->_propDict["firewallProfilePublic"] = new WindowsFirewallNetworkProfile($this->_propDict["firewallProfilePublic"]); + return $this->_propDict["firewallProfilePublic"]; + } + } + return null; + } + + /** + * Sets the firewallProfilePublic + * Configures the firewall profile settings for public networks + * + * @param WindowsFirewallNetworkProfile $val The firewallProfilePublic + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setFirewallProfilePublic($val) + { + $this->_propDict["firewallProfilePublic"] = $val; + return $this; + } + + /** + * Gets the smartScreenBlockOverrideForFiles + * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + * + * @return bool|null The smartScreenBlockOverrideForFiles + */ + public function getSmartScreenBlockOverrideForFiles() + { + if (array_key_exists("smartScreenBlockOverrideForFiles", $this->_propDict)) { + return $this->_propDict["smartScreenBlockOverrideForFiles"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenBlockOverrideForFiles + * Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files. + * + * @param bool $val The smartScreenBlockOverrideForFiles + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setSmartScreenBlockOverrideForFiles($val) + { + $this->_propDict["smartScreenBlockOverrideForFiles"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenEnableInShell + * Allows IT Admins to configure SmartScreen for Windows. + * + * @return bool|null The smartScreenEnableInShell + */ + public function getSmartScreenEnableInShell() + { + if (array_key_exists("smartScreenEnableInShell", $this->_propDict)) { + return $this->_propDict["smartScreenEnableInShell"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenEnableInShell + * Allows IT Admins to configure SmartScreen for Windows. + * + * @param bool $val The smartScreenEnableInShell + * + * @return Windows10EndpointProtectionConfiguration + */ + public function setSmartScreenEnableInShell($val) + { + $this->_propDict["smartScreenEnableInShell"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10EnterpriseModernAppManagementConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10EnterpriseModernAppManagementConfiguration.php new file mode 100644 index 0000000..14a1a01 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10EnterpriseModernAppManagementConfiguration.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["uninstallBuiltInApps"]; + } else { + return null; + } + } + + /** + * Sets the uninstallBuiltInApps + * Indicates whether or not to uninstall a fixed list of built-in Windows apps. + * + * @param bool $val The uninstallBuiltInApps + * + * @return Windows10EnterpriseModernAppManagementConfiguration + */ + public function setUninstallBuiltInApps($val) + { + $this->_propDict["uninstallBuiltInApps"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10GeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10GeneralConfiguration.php new file mode 100644 index 0000000..3b84629 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10GeneralConfiguration.php @@ -0,0 +1,5984 @@ +_propDict)) { + return $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"]; + } else { + return null; + } + } + + /** + * Sets the accountsBlockAddingNonMicrosoftAccountEmail + * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. + * + * @param bool $val The accountsBlockAddingNonMicrosoftAccountEmail + * + * @return Windows10GeneralConfiguration + */ + public function setAccountsBlockAddingNonMicrosoftAccountEmail($val) + { + $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"] = boolval($val); + return $this; + } + + /** + * Gets the antiTheftModeBlocked + * Indicates whether or not to block the user from selecting an AntiTheft mode preference (Windows 10 Mobile only). + * + * @return bool|null The antiTheftModeBlocked + */ + public function getAntiTheftModeBlocked() + { + if (array_key_exists("antiTheftModeBlocked", $this->_propDict)) { + return $this->_propDict["antiTheftModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the antiTheftModeBlocked + * Indicates whether or not to block the user from selecting an AntiTheft mode preference (Windows 10 Mobile only). + * + * @param bool $val The antiTheftModeBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setAntiTheftModeBlocked($val) + { + $this->_propDict["antiTheftModeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the appsAllowTrustedAppsSideloading + * Indicates whether apps from AppX packages signed with a trusted certificate can be side loaded. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The appsAllowTrustedAppsSideloading + */ + public function getAppsAllowTrustedAppsSideloading() + { + if (array_key_exists("appsAllowTrustedAppsSideloading", $this->_propDict)) { + if (is_a($this->_propDict["appsAllowTrustedAppsSideloading"], "\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["appsAllowTrustedAppsSideloading"])) { + return $this->_propDict["appsAllowTrustedAppsSideloading"]; + } else { + $this->_propDict["appsAllowTrustedAppsSideloading"] = new StateManagementSetting($this->_propDict["appsAllowTrustedAppsSideloading"]); + return $this->_propDict["appsAllowTrustedAppsSideloading"]; + } + } + return null; + } + + /** + * Sets the appsAllowTrustedAppsSideloading + * Indicates whether apps from AppX packages signed with a trusted certificate can be side loaded. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The appsAllowTrustedAppsSideloading + * + * @return Windows10GeneralConfiguration + */ + public function setAppsAllowTrustedAppsSideloading($val) + { + $this->_propDict["appsAllowTrustedAppsSideloading"] = $val; + return $this; + } + + /** + * Gets the appsBlockWindowsStoreOriginatedApps + * Indicates whether or not to disable the launch of all apps from Windows Store that came pre-installed or were downloaded. + * + * @return bool|null The appsBlockWindowsStoreOriginatedApps + */ + public function getAppsBlockWindowsStoreOriginatedApps() + { + if (array_key_exists("appsBlockWindowsStoreOriginatedApps", $this->_propDict)) { + return $this->_propDict["appsBlockWindowsStoreOriginatedApps"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockWindowsStoreOriginatedApps + * Indicates whether or not to disable the launch of all apps from Windows Store that came pre-installed or were downloaded. + * + * @param bool $val The appsBlockWindowsStoreOriginatedApps + * + * @return Windows10GeneralConfiguration + */ + public function setAppsBlockWindowsStoreOriginatedApps($val) + { + $this->_propDict["appsBlockWindowsStoreOriginatedApps"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothAllowedServices + * Specify a list of allowed Bluetooth services and profiles in hex formatted strings. + * + * @return string|null The bluetoothAllowedServices + */ + public function getBluetoothAllowedServices() + { + if (array_key_exists("bluetoothAllowedServices", $this->_propDict)) { + return $this->_propDict["bluetoothAllowedServices"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothAllowedServices + * Specify a list of allowed Bluetooth services and profiles in hex formatted strings. + * + * @param string $val The bluetoothAllowedServices + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothAllowedServices($val) + { + $this->_propDict["bluetoothAllowedServices"] = $val; + return $this; + } + + /** + * Gets the bluetoothBlockAdvertising + * Whether or not to Block the user from using bluetooth advertising. + * + * @return bool|null The bluetoothBlockAdvertising + */ + public function getBluetoothBlockAdvertising() + { + if (array_key_exists("bluetoothBlockAdvertising", $this->_propDict)) { + return $this->_propDict["bluetoothBlockAdvertising"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockAdvertising + * Whether or not to Block the user from using bluetooth advertising. + * + * @param bool $val The bluetoothBlockAdvertising + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockAdvertising($val) + { + $this->_propDict["bluetoothBlockAdvertising"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockDiscoverableMode + * Whether or not to Block the user from using bluetooth discoverable mode. + * + * @return bool|null The bluetoothBlockDiscoverableMode + */ + public function getBluetoothBlockDiscoverableMode() + { + if (array_key_exists("bluetoothBlockDiscoverableMode", $this->_propDict)) { + return $this->_propDict["bluetoothBlockDiscoverableMode"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockDiscoverableMode + * Whether or not to Block the user from using bluetooth discoverable mode. + * + * @param bool $val The bluetoothBlockDiscoverableMode + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockDiscoverableMode($val) + { + $this->_propDict["bluetoothBlockDiscoverableMode"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlocked + * Whether or not to Block the user from using bluetooth. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Whether or not to Block the user from using bluetooth. + * + * @param bool $val The bluetoothBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlockPrePairing + * Whether or not to block specific bundled Bluetooth peripherals to automatically pair with the host device. + * + * @return bool|null The bluetoothBlockPrePairing + */ + public function getBluetoothBlockPrePairing() + { + if (array_key_exists("bluetoothBlockPrePairing", $this->_propDict)) { + return $this->_propDict["bluetoothBlockPrePairing"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlockPrePairing + * Whether or not to block specific bundled Bluetooth peripherals to automatically pair with the host device. + * + * @param bool $val The bluetoothBlockPrePairing + * + * @return Windows10GeneralConfiguration + */ + public function setBluetoothBlockPrePairing($val) + { + $this->_propDict["bluetoothBlockPrePairing"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Whether or not to Block the user from accessing the camera of the device. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Whether or not to Block the user from accessing the camera of the device. + * + * @param bool $val The cameraBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockDataWhenRoaming + * Whether or not to Block the user from using data over cellular while roaming. + * + * @return bool|null The cellularBlockDataWhenRoaming + */ + public function getCellularBlockDataWhenRoaming() + { + if (array_key_exists("cellularBlockDataWhenRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataWhenRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataWhenRoaming + * Whether or not to Block the user from using data over cellular while roaming. + * + * @param bool $val The cellularBlockDataWhenRoaming + * + * @return Windows10GeneralConfiguration + */ + public function setCellularBlockDataWhenRoaming($val) + { + $this->_propDict["cellularBlockDataWhenRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVpn + * Whether or not to Block the user from using VPN over cellular. + * + * @return bool|null The cellularBlockVpn + */ + public function getCellularBlockVpn() + { + if (array_key_exists("cellularBlockVpn", $this->_propDict)) { + return $this->_propDict["cellularBlockVpn"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVpn + * Whether or not to Block the user from using VPN over cellular. + * + * @param bool $val The cellularBlockVpn + * + * @return Windows10GeneralConfiguration + */ + public function setCellularBlockVpn($val) + { + $this->_propDict["cellularBlockVpn"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockVpnWhenRoaming + * Whether or not to Block the user from using VPN when roaming over cellular. + * + * @return bool|null The cellularBlockVpnWhenRoaming + */ + public function getCellularBlockVpnWhenRoaming() + { + if (array_key_exists("cellularBlockVpnWhenRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockVpnWhenRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockVpnWhenRoaming + * Whether or not to Block the user from using VPN when roaming over cellular. + * + * @param bool $val The cellularBlockVpnWhenRoaming + * + * @return Windows10GeneralConfiguration + */ + public function setCellularBlockVpnWhenRoaming($val) + { + $this->_propDict["cellularBlockVpnWhenRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the certificatesBlockManualRootCertificateInstallation + * Whether or not to Block the user from doing manual root certificate installation. + * + * @return bool|null The certificatesBlockManualRootCertificateInstallation + */ + public function getCertificatesBlockManualRootCertificateInstallation() + { + if (array_key_exists("certificatesBlockManualRootCertificateInstallation", $this->_propDict)) { + return $this->_propDict["certificatesBlockManualRootCertificateInstallation"]; + } else { + return null; + } + } + + /** + * Sets the certificatesBlockManualRootCertificateInstallation + * Whether or not to Block the user from doing manual root certificate installation. + * + * @param bool $val The certificatesBlockManualRootCertificateInstallation + * + * @return Windows10GeneralConfiguration + */ + public function setCertificatesBlockManualRootCertificateInstallation($val) + { + $this->_propDict["certificatesBlockManualRootCertificateInstallation"] = boolval($val); + return $this; + } + + /** + * Gets the connectedDevicesServiceBlocked + * Whether or not to block Connected Devices Service which enables discovery and connection to other devices, remote messaging, remote app sessions and other cross-device experiences. + * + * @return bool|null The connectedDevicesServiceBlocked + */ + public function getConnectedDevicesServiceBlocked() + { + if (array_key_exists("connectedDevicesServiceBlocked", $this->_propDict)) { + return $this->_propDict["connectedDevicesServiceBlocked"]; + } else { + return null; + } + } + + /** + * Sets the connectedDevicesServiceBlocked + * Whether or not to block Connected Devices Service which enables discovery and connection to other devices, remote messaging, remote app sessions and other cross-device experiences. + * + * @param bool $val The connectedDevicesServiceBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setConnectedDevicesServiceBlocked($val) + { + $this->_propDict["connectedDevicesServiceBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the copyPasteBlocked + * Whether or not to Block the user from using copy paste. + * + * @return bool|null The copyPasteBlocked + */ + public function getCopyPasteBlocked() + { + if (array_key_exists("copyPasteBlocked", $this->_propDict)) { + return $this->_propDict["copyPasteBlocked"]; + } else { + return null; + } + } + + /** + * Sets the copyPasteBlocked + * Whether or not to Block the user from using copy paste. + * + * @param bool $val The copyPasteBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setCopyPasteBlocked($val) + { + $this->_propDict["copyPasteBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cortanaBlocked + * Whether or not to Block the user from using Cortana. + * + * @return bool|null The cortanaBlocked + */ + public function getCortanaBlocked() + { + if (array_key_exists("cortanaBlocked", $this->_propDict)) { + return $this->_propDict["cortanaBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cortanaBlocked + * Whether or not to Block the user from using Cortana. + * + * @param bool $val The cortanaBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setCortanaBlocked($val) + { + $this->_propDict["cortanaBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the defenderBlockEndUserAccess + * Whether or not to block end user access to Defender. + * + * @return bool|null The defenderBlockEndUserAccess + */ + public function getDefenderBlockEndUserAccess() + { + if (array_key_exists("defenderBlockEndUserAccess", $this->_propDict)) { + return $this->_propDict["defenderBlockEndUserAccess"]; + } else { + return null; + } + } + + /** + * Sets the defenderBlockEndUserAccess + * Whether or not to block end user access to Defender. + * + * @param bool $val The defenderBlockEndUserAccess + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderBlockEndUserAccess($val) + { + $this->_propDict["defenderBlockEndUserAccess"] = boolval($val); + return $this; + } + + /** + * Gets the defenderCloudBlockLevel + * Specifies the level of cloud-delivered protection. Possible values are: notConfigured, high, highPlus, zeroTolerance. + * + * @return DefenderCloudBlockLevelType|null The defenderCloudBlockLevel + */ + public function getDefenderCloudBlockLevel() + { + if (array_key_exists("defenderCloudBlockLevel", $this->_propDict)) { + if (is_a($this->_propDict["defenderCloudBlockLevel"], "\Microsoft\Graph\Model\DefenderCloudBlockLevelType") || is_null($this->_propDict["defenderCloudBlockLevel"])) { + return $this->_propDict["defenderCloudBlockLevel"]; + } else { + $this->_propDict["defenderCloudBlockLevel"] = new DefenderCloudBlockLevelType($this->_propDict["defenderCloudBlockLevel"]); + return $this->_propDict["defenderCloudBlockLevel"]; + } + } + return null; + } + + /** + * Sets the defenderCloudBlockLevel + * Specifies the level of cloud-delivered protection. Possible values are: notConfigured, high, highPlus, zeroTolerance. + * + * @param DefenderCloudBlockLevelType $val The defenderCloudBlockLevel + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderCloudBlockLevel($val) + { + $this->_propDict["defenderCloudBlockLevel"] = $val; + return $this; + } + + /** + * Gets the defenderDaysBeforeDeletingQuarantinedMalware + * Number of days before deleting quarantined malware. Valid values 0 to 90 + * + * @return int|null The defenderDaysBeforeDeletingQuarantinedMalware + */ + public function getDefenderDaysBeforeDeletingQuarantinedMalware() + { + if (array_key_exists("defenderDaysBeforeDeletingQuarantinedMalware", $this->_propDict)) { + return $this->_propDict["defenderDaysBeforeDeletingQuarantinedMalware"]; + } else { + return null; + } + } + + /** + * Sets the defenderDaysBeforeDeletingQuarantinedMalware + * Number of days before deleting quarantined malware. Valid values 0 to 90 + * + * @param int $val The defenderDaysBeforeDeletingQuarantinedMalware + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderDaysBeforeDeletingQuarantinedMalware($val) + { + $this->_propDict["defenderDaysBeforeDeletingQuarantinedMalware"] = intval($val); + return $this; + } + + /** + * Gets the defenderDetectedMalwareActions + * Gets or sets Defender’s actions to take on detected Malware per threat level. + * + * @return DefenderDetectedMalwareActions|null The defenderDetectedMalwareActions + */ + public function getDefenderDetectedMalwareActions() + { + if (array_key_exists("defenderDetectedMalwareActions", $this->_propDict)) { + if (is_a($this->_propDict["defenderDetectedMalwareActions"], "\Microsoft\Graph\Model\DefenderDetectedMalwareActions") || is_null($this->_propDict["defenderDetectedMalwareActions"])) { + return $this->_propDict["defenderDetectedMalwareActions"]; + } else { + $this->_propDict["defenderDetectedMalwareActions"] = new DefenderDetectedMalwareActions($this->_propDict["defenderDetectedMalwareActions"]); + return $this->_propDict["defenderDetectedMalwareActions"]; + } + } + return null; + } + + /** + * Sets the defenderDetectedMalwareActions + * Gets or sets Defender’s actions to take on detected Malware per threat level. + * + * @param DefenderDetectedMalwareActions $val The defenderDetectedMalwareActions + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderDetectedMalwareActions($val) + { + $this->_propDict["defenderDetectedMalwareActions"] = $val; + return $this; + } + + /** + * Gets the defenderFileExtensionsToExclude + * File extensions to exclude from scans and real time protection. + * + * @return string|null The defenderFileExtensionsToExclude + */ + public function getDefenderFileExtensionsToExclude() + { + if (array_key_exists("defenderFileExtensionsToExclude", $this->_propDict)) { + return $this->_propDict["defenderFileExtensionsToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderFileExtensionsToExclude + * File extensions to exclude from scans and real time protection. + * + * @param string $val The defenderFileExtensionsToExclude + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderFileExtensionsToExclude($val) + { + $this->_propDict["defenderFileExtensionsToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderFilesAndFoldersToExclude + * Files and folder to exclude from scans and real time protection. + * + * @return string|null The defenderFilesAndFoldersToExclude + */ + public function getDefenderFilesAndFoldersToExclude() + { + if (array_key_exists("defenderFilesAndFoldersToExclude", $this->_propDict)) { + return $this->_propDict["defenderFilesAndFoldersToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderFilesAndFoldersToExclude + * Files and folder to exclude from scans and real time protection. + * + * @param string $val The defenderFilesAndFoldersToExclude + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderFilesAndFoldersToExclude($val) + { + $this->_propDict["defenderFilesAndFoldersToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderMonitorFileActivity + * Value for monitoring file activity. Possible values are: userDefined, disable, monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + * + * @return DefenderMonitorFileActivity|null The defenderMonitorFileActivity + */ + public function getDefenderMonitorFileActivity() + { + if (array_key_exists("defenderMonitorFileActivity", $this->_propDict)) { + if (is_a($this->_propDict["defenderMonitorFileActivity"], "\Microsoft\Graph\Model\DefenderMonitorFileActivity") || is_null($this->_propDict["defenderMonitorFileActivity"])) { + return $this->_propDict["defenderMonitorFileActivity"]; + } else { + $this->_propDict["defenderMonitorFileActivity"] = new DefenderMonitorFileActivity($this->_propDict["defenderMonitorFileActivity"]); + return $this->_propDict["defenderMonitorFileActivity"]; + } + } + return null; + } + + /** + * Sets the defenderMonitorFileActivity + * Value for monitoring file activity. Possible values are: userDefined, disable, monitorAllFiles, monitorIncomingFilesOnly, monitorOutgoingFilesOnly. + * + * @param DefenderMonitorFileActivity $val The defenderMonitorFileActivity + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderMonitorFileActivity($val) + { + $this->_propDict["defenderMonitorFileActivity"] = $val; + return $this; + } + + /** + * Gets the defenderProcessesToExclude + * Processes to exclude from scans and real time protection. + * + * @return string|null The defenderProcessesToExclude + */ + public function getDefenderProcessesToExclude() + { + if (array_key_exists("defenderProcessesToExclude", $this->_propDict)) { + return $this->_propDict["defenderProcessesToExclude"]; + } else { + return null; + } + } + + /** + * Sets the defenderProcessesToExclude + * Processes to exclude from scans and real time protection. + * + * @param string $val The defenderProcessesToExclude + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderProcessesToExclude($val) + { + $this->_propDict["defenderProcessesToExclude"] = $val; + return $this; + } + + /** + * Gets the defenderPromptForSampleSubmission + * The configuration for how to prompt user for sample submission. Possible values are: userDefined, alwaysPrompt, promptBeforeSendingPersonalData, neverSendData, sendAllDataWithoutPrompting. + * + * @return DefenderPromptForSampleSubmission|null The defenderPromptForSampleSubmission + */ + public function getDefenderPromptForSampleSubmission() + { + if (array_key_exists("defenderPromptForSampleSubmission", $this->_propDict)) { + if (is_a($this->_propDict["defenderPromptForSampleSubmission"], "\Microsoft\Graph\Model\DefenderPromptForSampleSubmission") || is_null($this->_propDict["defenderPromptForSampleSubmission"])) { + return $this->_propDict["defenderPromptForSampleSubmission"]; + } else { + $this->_propDict["defenderPromptForSampleSubmission"] = new DefenderPromptForSampleSubmission($this->_propDict["defenderPromptForSampleSubmission"]); + return $this->_propDict["defenderPromptForSampleSubmission"]; + } + } + return null; + } + + /** + * Sets the defenderPromptForSampleSubmission + * The configuration for how to prompt user for sample submission. Possible values are: userDefined, alwaysPrompt, promptBeforeSendingPersonalData, neverSendData, sendAllDataWithoutPrompting. + * + * @param DefenderPromptForSampleSubmission $val The defenderPromptForSampleSubmission + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderPromptForSampleSubmission($val) + { + $this->_propDict["defenderPromptForSampleSubmission"] = $val; + return $this; + } + + /** + * Gets the defenderRequireBehaviorMonitoring + * Indicates whether or not to require behavior monitoring. + * + * @return bool|null The defenderRequireBehaviorMonitoring + */ + public function getDefenderRequireBehaviorMonitoring() + { + if (array_key_exists("defenderRequireBehaviorMonitoring", $this->_propDict)) { + return $this->_propDict["defenderRequireBehaviorMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireBehaviorMonitoring + * Indicates whether or not to require behavior monitoring. + * + * @param bool $val The defenderRequireBehaviorMonitoring + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireBehaviorMonitoring($val) + { + $this->_propDict["defenderRequireBehaviorMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderRequireCloudProtection + * Indicates whether or not to require cloud protection. + * + * @return bool|null The defenderRequireCloudProtection + */ + public function getDefenderRequireCloudProtection() + { + if (array_key_exists("defenderRequireCloudProtection", $this->_propDict)) { + return $this->_propDict["defenderRequireCloudProtection"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireCloudProtection + * Indicates whether or not to require cloud protection. + * + * @param bool $val The defenderRequireCloudProtection + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireCloudProtection($val) + { + $this->_propDict["defenderRequireCloudProtection"] = boolval($val); + return $this; + } + + /** + * Gets the defenderRequireNetworkInspectionSystem + * Indicates whether or not to require network inspection system. + * + * @return bool|null The defenderRequireNetworkInspectionSystem + */ + public function getDefenderRequireNetworkInspectionSystem() + { + if (array_key_exists("defenderRequireNetworkInspectionSystem", $this->_propDict)) { + return $this->_propDict["defenderRequireNetworkInspectionSystem"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireNetworkInspectionSystem + * Indicates whether or not to require network inspection system. + * + * @param bool $val The defenderRequireNetworkInspectionSystem + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireNetworkInspectionSystem($val) + { + $this->_propDict["defenderRequireNetworkInspectionSystem"] = boolval($val); + return $this; + } + + /** + * Gets the defenderRequireRealTimeMonitoring + * Indicates whether or not to require real time monitoring. + * + * @return bool|null The defenderRequireRealTimeMonitoring + */ + public function getDefenderRequireRealTimeMonitoring() + { + if (array_key_exists("defenderRequireRealTimeMonitoring", $this->_propDict)) { + return $this->_propDict["defenderRequireRealTimeMonitoring"]; + } else { + return null; + } + } + + /** + * Sets the defenderRequireRealTimeMonitoring + * Indicates whether or not to require real time monitoring. + * + * @param bool $val The defenderRequireRealTimeMonitoring + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderRequireRealTimeMonitoring($val) + { + $this->_propDict["defenderRequireRealTimeMonitoring"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanArchiveFiles + * Indicates whether or not to scan archive files. + * + * @return bool|null The defenderScanArchiveFiles + */ + public function getDefenderScanArchiveFiles() + { + if (array_key_exists("defenderScanArchiveFiles", $this->_propDict)) { + return $this->_propDict["defenderScanArchiveFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanArchiveFiles + * Indicates whether or not to scan archive files. + * + * @param bool $val The defenderScanArchiveFiles + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanArchiveFiles($val) + { + $this->_propDict["defenderScanArchiveFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanDownloads + * Indicates whether or not to scan downloads. + * + * @return bool|null The defenderScanDownloads + */ + public function getDefenderScanDownloads() + { + if (array_key_exists("defenderScanDownloads", $this->_propDict)) { + return $this->_propDict["defenderScanDownloads"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanDownloads + * Indicates whether or not to scan downloads. + * + * @param bool $val The defenderScanDownloads + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanDownloads($val) + { + $this->_propDict["defenderScanDownloads"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanIncomingMail + * Indicates whether or not to scan incoming mail messages. + * + * @return bool|null The defenderScanIncomingMail + */ + public function getDefenderScanIncomingMail() + { + if (array_key_exists("defenderScanIncomingMail", $this->_propDict)) { + return $this->_propDict["defenderScanIncomingMail"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanIncomingMail + * Indicates whether or not to scan incoming mail messages. + * + * @param bool $val The defenderScanIncomingMail + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanIncomingMail($val) + { + $this->_propDict["defenderScanIncomingMail"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanMappedNetworkDrivesDuringFullScan + * Indicates whether or not to scan mapped network drives during full scan. + * + * @return bool|null The defenderScanMappedNetworkDrivesDuringFullScan + */ + public function getDefenderScanMappedNetworkDrivesDuringFullScan() + { + if (array_key_exists("defenderScanMappedNetworkDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderScanMappedNetworkDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanMappedNetworkDrivesDuringFullScan + * Indicates whether or not to scan mapped network drives during full scan. + * + * @param bool $val The defenderScanMappedNetworkDrivesDuringFullScan + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanMappedNetworkDrivesDuringFullScan($val) + { + $this->_propDict["defenderScanMappedNetworkDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanMaxCpu + * Max CPU usage percentage during scan. Valid values 0 to 100 + * + * @return int|null The defenderScanMaxCpu + */ + public function getDefenderScanMaxCpu() + { + if (array_key_exists("defenderScanMaxCpu", $this->_propDict)) { + return $this->_propDict["defenderScanMaxCpu"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanMaxCpu + * Max CPU usage percentage during scan. Valid values 0 to 100 + * + * @param int $val The defenderScanMaxCpu + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanMaxCpu($val) + { + $this->_propDict["defenderScanMaxCpu"] = intval($val); + return $this; + } + + /** + * Gets the defenderScanNetworkFiles + * Indicates whether or not to scan files opened from a network folder. + * + * @return bool|null The defenderScanNetworkFiles + */ + public function getDefenderScanNetworkFiles() + { + if (array_key_exists("defenderScanNetworkFiles", $this->_propDict)) { + return $this->_propDict["defenderScanNetworkFiles"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanNetworkFiles + * Indicates whether or not to scan files opened from a network folder. + * + * @param bool $val The defenderScanNetworkFiles + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanNetworkFiles($val) + { + $this->_propDict["defenderScanNetworkFiles"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanRemovableDrivesDuringFullScan + * Indicates whether or not to scan removable drives during full scan. + * + * @return bool|null The defenderScanRemovableDrivesDuringFullScan + */ + public function getDefenderScanRemovableDrivesDuringFullScan() + { + if (array_key_exists("defenderScanRemovableDrivesDuringFullScan", $this->_propDict)) { + return $this->_propDict["defenderScanRemovableDrivesDuringFullScan"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanRemovableDrivesDuringFullScan + * Indicates whether or not to scan removable drives during full scan. + * + * @param bool $val The defenderScanRemovableDrivesDuringFullScan + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanRemovableDrivesDuringFullScan($val) + { + $this->_propDict["defenderScanRemovableDrivesDuringFullScan"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanScriptsLoadedInInternetExplorer + * Indicates whether or not to scan scripts loaded in Internet Explorer browser. + * + * @return bool|null The defenderScanScriptsLoadedInInternetExplorer + */ + public function getDefenderScanScriptsLoadedInInternetExplorer() + { + if (array_key_exists("defenderScanScriptsLoadedInInternetExplorer", $this->_propDict)) { + return $this->_propDict["defenderScanScriptsLoadedInInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the defenderScanScriptsLoadedInInternetExplorer + * Indicates whether or not to scan scripts loaded in Internet Explorer browser. + * + * @param bool $val The defenderScanScriptsLoadedInInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanScriptsLoadedInInternetExplorer($val) + { + $this->_propDict["defenderScanScriptsLoadedInInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the defenderScanType + * The defender system scan type. Possible values are: userDefined, disabled, quick, full. + * + * @return DefenderScanType|null The defenderScanType + */ + public function getDefenderScanType() + { + if (array_key_exists("defenderScanType", $this->_propDict)) { + if (is_a($this->_propDict["defenderScanType"], "\Microsoft\Graph\Model\DefenderScanType") || is_null($this->_propDict["defenderScanType"])) { + return $this->_propDict["defenderScanType"]; + } else { + $this->_propDict["defenderScanType"] = new DefenderScanType($this->_propDict["defenderScanType"]); + return $this->_propDict["defenderScanType"]; + } + } + return null; + } + + /** + * Sets the defenderScanType + * The defender system scan type. Possible values are: userDefined, disabled, quick, full. + * + * @param DefenderScanType $val The defenderScanType + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScanType($val) + { + $this->_propDict["defenderScanType"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledQuickScanTime + * The time to perform a daily quick scan. + * + * @return TimeOfDay|null The defenderScheduledQuickScanTime + */ + public function getDefenderScheduledQuickScanTime() + { + if (array_key_exists("defenderScheduledQuickScanTime", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledQuickScanTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["defenderScheduledQuickScanTime"])) { + return $this->_propDict["defenderScheduledQuickScanTime"]; + } else { + $this->_propDict["defenderScheduledQuickScanTime"] = new TimeOfDay($this->_propDict["defenderScheduledQuickScanTime"]); + return $this->_propDict["defenderScheduledQuickScanTime"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledQuickScanTime + * The time to perform a daily quick scan. + * + * @param TimeOfDay $val The defenderScheduledQuickScanTime + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScheduledQuickScanTime($val) + { + $this->_propDict["defenderScheduledQuickScanTime"] = $val; + return $this; + } + + /** + * Gets the defenderScheduledScanTime + * The defender time for the system scan. + * + * @return TimeOfDay|null The defenderScheduledScanTime + */ + public function getDefenderScheduledScanTime() + { + if (array_key_exists("defenderScheduledScanTime", $this->_propDict)) { + if (is_a($this->_propDict["defenderScheduledScanTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["defenderScheduledScanTime"])) { + return $this->_propDict["defenderScheduledScanTime"]; + } else { + $this->_propDict["defenderScheduledScanTime"] = new TimeOfDay($this->_propDict["defenderScheduledScanTime"]); + return $this->_propDict["defenderScheduledScanTime"]; + } + } + return null; + } + + /** + * Sets the defenderScheduledScanTime + * The defender time for the system scan. + * + * @param TimeOfDay $val The defenderScheduledScanTime + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderScheduledScanTime($val) + { + $this->_propDict["defenderScheduledScanTime"] = $val; + return $this; + } + + /** + * Gets the defenderSignatureUpdateIntervalInHours + * The signature update interval in hours. Specify 0 not to check. Valid values 0 to 24 + * + * @return int|null The defenderSignatureUpdateIntervalInHours + */ + public function getDefenderSignatureUpdateIntervalInHours() + { + if (array_key_exists("defenderSignatureUpdateIntervalInHours", $this->_propDict)) { + return $this->_propDict["defenderSignatureUpdateIntervalInHours"]; + } else { + return null; + } + } + + /** + * Sets the defenderSignatureUpdateIntervalInHours + * The signature update interval in hours. Specify 0 not to check. Valid values 0 to 24 + * + * @param int $val The defenderSignatureUpdateIntervalInHours + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderSignatureUpdateIntervalInHours($val) + { + $this->_propDict["defenderSignatureUpdateIntervalInHours"] = intval($val); + return $this; + } + + /** + * Gets the defenderSystemScanSchedule + * Defender day of the week for the system scan. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @return WeeklySchedule|null The defenderSystemScanSchedule + */ + public function getDefenderSystemScanSchedule() + { + if (array_key_exists("defenderSystemScanSchedule", $this->_propDict)) { + if (is_a($this->_propDict["defenderSystemScanSchedule"], "\Microsoft\Graph\Model\WeeklySchedule") || is_null($this->_propDict["defenderSystemScanSchedule"])) { + return $this->_propDict["defenderSystemScanSchedule"]; + } else { + $this->_propDict["defenderSystemScanSchedule"] = new WeeklySchedule($this->_propDict["defenderSystemScanSchedule"]); + return $this->_propDict["defenderSystemScanSchedule"]; + } + } + return null; + } + + /** + * Sets the defenderSystemScanSchedule + * Defender day of the week for the system scan. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @param WeeklySchedule $val The defenderSystemScanSchedule + * + * @return Windows10GeneralConfiguration + */ + public function setDefenderSystemScanSchedule($val) + { + $this->_propDict["defenderSystemScanSchedule"] = $val; + return $this; + } + + /** + * Gets the developerUnlockSetting + * Indicates whether or not to allow developer unlock. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The developerUnlockSetting + */ + public function getDeveloperUnlockSetting() + { + if (array_key_exists("developerUnlockSetting", $this->_propDict)) { + if (is_a($this->_propDict["developerUnlockSetting"], "\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["developerUnlockSetting"])) { + return $this->_propDict["developerUnlockSetting"]; + } else { + $this->_propDict["developerUnlockSetting"] = new StateManagementSetting($this->_propDict["developerUnlockSetting"]); + return $this->_propDict["developerUnlockSetting"]; + } + } + return null; + } + + /** + * Sets the developerUnlockSetting + * Indicates whether or not to allow developer unlock. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The developerUnlockSetting + * + * @return Windows10GeneralConfiguration + */ + public function setDeveloperUnlockSetting($val) + { + $this->_propDict["developerUnlockSetting"] = $val; + return $this; + } + + /** + * Gets the deviceManagementBlockFactoryResetOnMobile + * Indicates whether or not to Block the user from resetting their phone. + * + * @return bool|null The deviceManagementBlockFactoryResetOnMobile + */ + public function getDeviceManagementBlockFactoryResetOnMobile() + { + if (array_key_exists("deviceManagementBlockFactoryResetOnMobile", $this->_propDict)) { + return $this->_propDict["deviceManagementBlockFactoryResetOnMobile"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementBlockFactoryResetOnMobile + * Indicates whether or not to Block the user from resetting their phone. + * + * @param bool $val The deviceManagementBlockFactoryResetOnMobile + * + * @return Windows10GeneralConfiguration + */ + public function setDeviceManagementBlockFactoryResetOnMobile($val) + { + $this->_propDict["deviceManagementBlockFactoryResetOnMobile"] = boolval($val); + return $this; + } + + /** + * Gets the deviceManagementBlockManualUnenroll + * Indicates whether or not to Block the user from doing manual un-enrollment from device management. + * + * @return bool|null The deviceManagementBlockManualUnenroll + */ + public function getDeviceManagementBlockManualUnenroll() + { + if (array_key_exists("deviceManagementBlockManualUnenroll", $this->_propDict)) { + return $this->_propDict["deviceManagementBlockManualUnenroll"]; + } else { + return null; + } + } + + /** + * Sets the deviceManagementBlockManualUnenroll + * Indicates whether or not to Block the user from doing manual un-enrollment from device management. + * + * @param bool $val The deviceManagementBlockManualUnenroll + * + * @return Windows10GeneralConfiguration + */ + public function setDeviceManagementBlockManualUnenroll($val) + { + $this->_propDict["deviceManagementBlockManualUnenroll"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticsDataSubmissionMode + * Gets or sets a value allowing the device to send diagnostic and usage telemetry data, such as Watson. Possible values are: userDefined, none, basic, enhanced, full. + * + * @return DiagnosticDataSubmissionMode|null The diagnosticsDataSubmissionMode + */ + public function getDiagnosticsDataSubmissionMode() + { + if (array_key_exists("diagnosticsDataSubmissionMode", $this->_propDict)) { + if (is_a($this->_propDict["diagnosticsDataSubmissionMode"], "\Microsoft\Graph\Model\DiagnosticDataSubmissionMode") || is_null($this->_propDict["diagnosticsDataSubmissionMode"])) { + return $this->_propDict["diagnosticsDataSubmissionMode"]; + } else { + $this->_propDict["diagnosticsDataSubmissionMode"] = new DiagnosticDataSubmissionMode($this->_propDict["diagnosticsDataSubmissionMode"]); + return $this->_propDict["diagnosticsDataSubmissionMode"]; + } + } + return null; + } + + /** + * Sets the diagnosticsDataSubmissionMode + * Gets or sets a value allowing the device to send diagnostic and usage telemetry data, such as Watson. Possible values are: userDefined, none, basic, enhanced, full. + * + * @param DiagnosticDataSubmissionMode $val The diagnosticsDataSubmissionMode + * + * @return Windows10GeneralConfiguration + */ + public function setDiagnosticsDataSubmissionMode($val) + { + $this->_propDict["diagnosticsDataSubmissionMode"] = $val; + return $this; + } + + /** + * Gets the edgeAllowStartPagesModification + * Allow users to change Start pages on Edge. Use the EdgeHomepageUrls to specify the Start pages that the user would see by default when they open Edge. + * + * @return bool|null The edgeAllowStartPagesModification + */ + public function getEdgeAllowStartPagesModification() + { + if (array_key_exists("edgeAllowStartPagesModification", $this->_propDict)) { + return $this->_propDict["edgeAllowStartPagesModification"]; + } else { + return null; + } + } + + /** + * Sets the edgeAllowStartPagesModification + * Allow users to change Start pages on Edge. Use the EdgeHomepageUrls to specify the Start pages that the user would see by default when they open Edge. + * + * @param bool $val The edgeAllowStartPagesModification + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeAllowStartPagesModification($val) + { + $this->_propDict["edgeAllowStartPagesModification"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockAccessToAboutFlags + * Indicates whether or not to prevent access to about flags on Edge browser. + * + * @return bool|null The edgeBlockAccessToAboutFlags + */ + public function getEdgeBlockAccessToAboutFlags() + { + if (array_key_exists("edgeBlockAccessToAboutFlags", $this->_propDict)) { + return $this->_propDict["edgeBlockAccessToAboutFlags"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockAccessToAboutFlags + * Indicates whether or not to prevent access to about flags on Edge browser. + * + * @param bool $val The edgeBlockAccessToAboutFlags + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockAccessToAboutFlags($val) + { + $this->_propDict["edgeBlockAccessToAboutFlags"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockAddressBarDropdown + * Block the address bar dropdown functionality in Microsoft Edge. Disable this settings to minimize network connections from Microsoft Edge to Microsoft services. + * + * @return bool|null The edgeBlockAddressBarDropdown + */ + public function getEdgeBlockAddressBarDropdown() + { + if (array_key_exists("edgeBlockAddressBarDropdown", $this->_propDict)) { + return $this->_propDict["edgeBlockAddressBarDropdown"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockAddressBarDropdown + * Block the address bar dropdown functionality in Microsoft Edge. Disable this settings to minimize network connections from Microsoft Edge to Microsoft services. + * + * @param bool $val The edgeBlockAddressBarDropdown + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockAddressBarDropdown($val) + { + $this->_propDict["edgeBlockAddressBarDropdown"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockAutofill + * Indicates whether or not to block auto fill. + * + * @return bool|null The edgeBlockAutofill + */ + public function getEdgeBlockAutofill() + { + if (array_key_exists("edgeBlockAutofill", $this->_propDict)) { + return $this->_propDict["edgeBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockAutofill + * Indicates whether or not to block auto fill. + * + * @param bool $val The edgeBlockAutofill + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockAutofill($val) + { + $this->_propDict["edgeBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockCompatibilityList + * Block Microsoft compatibility list in Microsoft Edge. This list from Microsoft helps Edge properly display sites with known compatibility issues. + * + * @return bool|null The edgeBlockCompatibilityList + */ + public function getEdgeBlockCompatibilityList() + { + if (array_key_exists("edgeBlockCompatibilityList", $this->_propDict)) { + return $this->_propDict["edgeBlockCompatibilityList"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockCompatibilityList + * Block Microsoft compatibility list in Microsoft Edge. This list from Microsoft helps Edge properly display sites with known compatibility issues. + * + * @param bool $val The edgeBlockCompatibilityList + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockCompatibilityList($val) + { + $this->_propDict["edgeBlockCompatibilityList"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockDeveloperTools + * Indicates whether or not to block developer tools in the Edge browser. + * + * @return bool|null The edgeBlockDeveloperTools + */ + public function getEdgeBlockDeveloperTools() + { + if (array_key_exists("edgeBlockDeveloperTools", $this->_propDict)) { + return $this->_propDict["edgeBlockDeveloperTools"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockDeveloperTools + * Indicates whether or not to block developer tools in the Edge browser. + * + * @param bool $val The edgeBlockDeveloperTools + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockDeveloperTools($val) + { + $this->_propDict["edgeBlockDeveloperTools"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlocked + * Indicates whether or not to Block the user from using the Edge browser. + * + * @return bool|null The edgeBlocked + */ + public function getEdgeBlocked() + { + if (array_key_exists("edgeBlocked", $this->_propDict)) { + return $this->_propDict["edgeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlocked + * Indicates whether or not to Block the user from using the Edge browser. + * + * @param bool $val The edgeBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlocked($val) + { + $this->_propDict["edgeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockExtensions + * Indicates whether or not to block extensions in the Edge browser. + * + * @return bool|null The edgeBlockExtensions + */ + public function getEdgeBlockExtensions() + { + if (array_key_exists("edgeBlockExtensions", $this->_propDict)) { + return $this->_propDict["edgeBlockExtensions"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockExtensions + * Indicates whether or not to block extensions in the Edge browser. + * + * @param bool $val The edgeBlockExtensions + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockExtensions($val) + { + $this->_propDict["edgeBlockExtensions"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockInPrivateBrowsing + * Indicates whether or not to block InPrivate browsing on corporate networks, in the Edge browser. + * + * @return bool|null The edgeBlockInPrivateBrowsing + */ + public function getEdgeBlockInPrivateBrowsing() + { + if (array_key_exists("edgeBlockInPrivateBrowsing", $this->_propDict)) { + return $this->_propDict["edgeBlockInPrivateBrowsing"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockInPrivateBrowsing + * Indicates whether or not to block InPrivate browsing on corporate networks, in the Edge browser. + * + * @param bool $val The edgeBlockInPrivateBrowsing + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockInPrivateBrowsing($val) + { + $this->_propDict["edgeBlockInPrivateBrowsing"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @return bool|null The edgeBlockJavaScript + */ + public function getEdgeBlockJavaScript() + { + if (array_key_exists("edgeBlockJavaScript", $this->_propDict)) { + return $this->_propDict["edgeBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @param bool $val The edgeBlockJavaScript + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockJavaScript($val) + { + $this->_propDict["edgeBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockLiveTileDataCollection + * Block the collection of information by Microsoft for live tile creation when users pin a site to Start from Microsoft Edge. + * + * @return bool|null The edgeBlockLiveTileDataCollection + */ + public function getEdgeBlockLiveTileDataCollection() + { + if (array_key_exists("edgeBlockLiveTileDataCollection", $this->_propDict)) { + return $this->_propDict["edgeBlockLiveTileDataCollection"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockLiveTileDataCollection + * Block the collection of information by Microsoft for live tile creation when users pin a site to Start from Microsoft Edge. + * + * @param bool $val The edgeBlockLiveTileDataCollection + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockLiveTileDataCollection($val) + { + $this->_propDict["edgeBlockLiveTileDataCollection"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockPasswordManager + * Indicates whether or not to Block password manager. + * + * @return bool|null The edgeBlockPasswordManager + */ + public function getEdgeBlockPasswordManager() + { + if (array_key_exists("edgeBlockPasswordManager", $this->_propDict)) { + return $this->_propDict["edgeBlockPasswordManager"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockPasswordManager + * Indicates whether or not to Block password manager. + * + * @param bool $val The edgeBlockPasswordManager + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockPasswordManager($val) + { + $this->_propDict["edgeBlockPasswordManager"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockPopups + * Indicates whether or not to block popups. + * + * @return bool|null The edgeBlockPopups + */ + public function getEdgeBlockPopups() + { + if (array_key_exists("edgeBlockPopups", $this->_propDict)) { + return $this->_propDict["edgeBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockPopups + * Indicates whether or not to block popups. + * + * @param bool $val The edgeBlockPopups + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockPopups($val) + { + $this->_propDict["edgeBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSearchSuggestions + * Indicates whether or not to block the user from using the search suggestions in the address bar. + * + * @return bool|null The edgeBlockSearchSuggestions + */ + public function getEdgeBlockSearchSuggestions() + { + if (array_key_exists("edgeBlockSearchSuggestions", $this->_propDict)) { + return $this->_propDict["edgeBlockSearchSuggestions"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSearchSuggestions + * Indicates whether or not to block the user from using the search suggestions in the address bar. + * + * @param bool $val The edgeBlockSearchSuggestions + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSearchSuggestions($val) + { + $this->_propDict["edgeBlockSearchSuggestions"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @return bool|null The edgeBlockSendingDoNotTrackHeader + */ + public function getEdgeBlockSendingDoNotTrackHeader() + { + if (array_key_exists("edgeBlockSendingDoNotTrackHeader", $this->_propDict)) { + return $this->_propDict["edgeBlockSendingDoNotTrackHeader"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @param bool $val The edgeBlockSendingDoNotTrackHeader + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSendingDoNotTrackHeader($val) + { + $this->_propDict["edgeBlockSendingDoNotTrackHeader"] = boolval($val); + return $this; + } + + /** + * Gets the edgeBlockSendingIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. Note: the name of this property is misleading; the property is obsolete, use EdgeSendIntranetTrafficToInternetExplorer instead. + * + * @return bool|null The edgeBlockSendingIntranetTrafficToInternetExplorer + */ + public function getEdgeBlockSendingIntranetTrafficToInternetExplorer() + { + if (array_key_exists("edgeBlockSendingIntranetTrafficToInternetExplorer", $this->_propDict)) { + return $this->_propDict["edgeBlockSendingIntranetTrafficToInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the edgeBlockSendingIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. Note: the name of this property is misleading; the property is obsolete, use EdgeSendIntranetTrafficToInternetExplorer instead. + * + * @param bool $val The edgeBlockSendingIntranetTrafficToInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeBlockSendingIntranetTrafficToInternetExplorer($val) + { + $this->_propDict["edgeBlockSendingIntranetTrafficToInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the edgeClearBrowsingDataOnExit + * Clear browsing data on exiting Microsoft Edge. + * + * @return bool|null The edgeClearBrowsingDataOnExit + */ + public function getEdgeClearBrowsingDataOnExit() + { + if (array_key_exists("edgeClearBrowsingDataOnExit", $this->_propDict)) { + return $this->_propDict["edgeClearBrowsingDataOnExit"]; + } else { + return null; + } + } + + /** + * Sets the edgeClearBrowsingDataOnExit + * Clear browsing data on exiting Microsoft Edge. + * + * @param bool $val The edgeClearBrowsingDataOnExit + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeClearBrowsingDataOnExit($val) + { + $this->_propDict["edgeClearBrowsingDataOnExit"] = boolval($val); + return $this; + } + + /** + * Gets the edgeCookiePolicy + * Indicates which cookies to block in the Edge browser. Possible values are: userDefined, allow, blockThirdParty, blockAll. + * + * @return EdgeCookiePolicy|null The edgeCookiePolicy + */ + public function getEdgeCookiePolicy() + { + if (array_key_exists("edgeCookiePolicy", $this->_propDict)) { + if (is_a($this->_propDict["edgeCookiePolicy"], "\Microsoft\Graph\Model\EdgeCookiePolicy") || is_null($this->_propDict["edgeCookiePolicy"])) { + return $this->_propDict["edgeCookiePolicy"]; + } else { + $this->_propDict["edgeCookiePolicy"] = new EdgeCookiePolicy($this->_propDict["edgeCookiePolicy"]); + return $this->_propDict["edgeCookiePolicy"]; + } + } + return null; + } + + /** + * Sets the edgeCookiePolicy + * Indicates which cookies to block in the Edge browser. Possible values are: userDefined, allow, blockThirdParty, blockAll. + * + * @param EdgeCookiePolicy $val The edgeCookiePolicy + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeCookiePolicy($val) + { + $this->_propDict["edgeCookiePolicy"] = $val; + return $this; + } + + /** + * Gets the edgeDisableFirstRunPage + * Block the Microsoft web page that opens on the first use of Microsoft Edge. This policy allows enterprises, like those enrolled in zero emissions configurations, to block this page. + * + * @return bool|null The edgeDisableFirstRunPage + */ + public function getEdgeDisableFirstRunPage() + { + if (array_key_exists("edgeDisableFirstRunPage", $this->_propDict)) { + return $this->_propDict["edgeDisableFirstRunPage"]; + } else { + return null; + } + } + + /** + * Sets the edgeDisableFirstRunPage + * Block the Microsoft web page that opens on the first use of Microsoft Edge. This policy allows enterprises, like those enrolled in zero emissions configurations, to block this page. + * + * @param bool $val The edgeDisableFirstRunPage + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeDisableFirstRunPage($val) + { + $this->_propDict["edgeDisableFirstRunPage"] = boolval($val); + return $this; + } + + /** + * Gets the edgeEnterpriseModeSiteListLocation + * Indicates the enterprise mode site list location. Could be a local file, local network or http location. + * + * @return string|null The edgeEnterpriseModeSiteListLocation + */ + public function getEdgeEnterpriseModeSiteListLocation() + { + if (array_key_exists("edgeEnterpriseModeSiteListLocation", $this->_propDict)) { + return $this->_propDict["edgeEnterpriseModeSiteListLocation"]; + } else { + return null; + } + } + + /** + * Sets the edgeEnterpriseModeSiteListLocation + * Indicates the enterprise mode site list location. Could be a local file, local network or http location. + * + * @param string $val The edgeEnterpriseModeSiteListLocation + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeEnterpriseModeSiteListLocation($val) + { + $this->_propDict["edgeEnterpriseModeSiteListLocation"] = $val; + return $this; + } + + /** + * Gets the edgeFirstRunUrl + * The first run URL for when Edge browser is opened for the first time. + * + * @return string|null The edgeFirstRunUrl + */ + public function getEdgeFirstRunUrl() + { + if (array_key_exists("edgeFirstRunUrl", $this->_propDict)) { + return $this->_propDict["edgeFirstRunUrl"]; + } else { + return null; + } + } + + /** + * Sets the edgeFirstRunUrl + * The first run URL for when Edge browser is opened for the first time. + * + * @param string $val The edgeFirstRunUrl + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeFirstRunUrl($val) + { + $this->_propDict["edgeFirstRunUrl"] = $val; + return $this; + } + + /** + * Gets the edgeHomepageUrls + * The list of URLs for homepages shodwn on MDM-enrolled devices on Edge browser. + * + * @return string|null The edgeHomepageUrls + */ + public function getEdgeHomepageUrls() + { + if (array_key_exists("edgeHomepageUrls", $this->_propDict)) { + return $this->_propDict["edgeHomepageUrls"]; + } else { + return null; + } + } + + /** + * Sets the edgeHomepageUrls + * The list of URLs for homepages shodwn on MDM-enrolled devices on Edge browser. + * + * @param string $val The edgeHomepageUrls + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeHomepageUrls($val) + { + $this->_propDict["edgeHomepageUrls"] = $val; + return $this; + } + + /** + * Gets the edgeRequireSmartScreen + * Indicates whether or not to Require the user to use the smart screen filter. + * + * @return bool|null The edgeRequireSmartScreen + */ + public function getEdgeRequireSmartScreen() + { + if (array_key_exists("edgeRequireSmartScreen", $this->_propDict)) { + return $this->_propDict["edgeRequireSmartScreen"]; + } else { + return null; + } + } + + /** + * Sets the edgeRequireSmartScreen + * Indicates whether or not to Require the user to use the smart screen filter. + * + * @param bool $val The edgeRequireSmartScreen + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeRequireSmartScreen($val) + { + $this->_propDict["edgeRequireSmartScreen"] = boolval($val); + return $this; + } + + /** + * Gets the edgeSearchEngine + * Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. + * + * @return EdgeSearchEngineBase|null The edgeSearchEngine + */ + public function getEdgeSearchEngine() + { + if (array_key_exists("edgeSearchEngine", $this->_propDict)) { + if (is_a($this->_propDict["edgeSearchEngine"], "\Microsoft\Graph\Model\EdgeSearchEngineBase") || is_null($this->_propDict["edgeSearchEngine"])) { + return $this->_propDict["edgeSearchEngine"]; + } else { + $this->_propDict["edgeSearchEngine"] = new EdgeSearchEngineBase($this->_propDict["edgeSearchEngine"]); + return $this->_propDict["edgeSearchEngine"]; + } + } + return null; + } + + /** + * Sets the edgeSearchEngine + * Allows IT admins to set a default search engine for MDM-Controlled devices. Users can override this and change their default search engine provided the AllowSearchEngineCustomization policy is not set. + * + * @param EdgeSearchEngineBase $val The edgeSearchEngine + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeSearchEngine($val) + { + $this->_propDict["edgeSearchEngine"] = $val; + return $this; + } + + /** + * Gets the edgeSendIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. + * + * @return bool|null The edgeSendIntranetTrafficToInternetExplorer + */ + public function getEdgeSendIntranetTrafficToInternetExplorer() + { + if (array_key_exists("edgeSendIntranetTrafficToInternetExplorer", $this->_propDict)) { + return $this->_propDict["edgeSendIntranetTrafficToInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the edgeSendIntranetTrafficToInternetExplorer + * Indicates whether or not to switch the intranet traffic from Edge to Internet Explorer. + * + * @param bool $val The edgeSendIntranetTrafficToInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeSendIntranetTrafficToInternetExplorer($val) + { + $this->_propDict["edgeSendIntranetTrafficToInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the edgeSyncFavoritesWithInternetExplorer + * Enable favorites sync between Internet Explorer and Microsoft Edge. Additions, deletions, modifications and order changes to favorites are shared between browsers. + * + * @return bool|null The edgeSyncFavoritesWithInternetExplorer + */ + public function getEdgeSyncFavoritesWithInternetExplorer() + { + if (array_key_exists("edgeSyncFavoritesWithInternetExplorer", $this->_propDict)) { + return $this->_propDict["edgeSyncFavoritesWithInternetExplorer"]; + } else { + return null; + } + } + + /** + * Sets the edgeSyncFavoritesWithInternetExplorer + * Enable favorites sync between Internet Explorer and Microsoft Edge. Additions, deletions, modifications and order changes to favorites are shared between browsers. + * + * @param bool $val The edgeSyncFavoritesWithInternetExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setEdgeSyncFavoritesWithInternetExplorer($val) + { + $this->_propDict["edgeSyncFavoritesWithInternetExplorer"] = boolval($val); + return $this; + } + + /** + * Gets the enterpriseCloudPrintDiscoveryEndPoint + * Endpoint for discovering cloud printers. + * + * @return string|null The enterpriseCloudPrintDiscoveryEndPoint + */ + public function getEnterpriseCloudPrintDiscoveryEndPoint() + { + if (array_key_exists("enterpriseCloudPrintDiscoveryEndPoint", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintDiscoveryEndPoint"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintDiscoveryEndPoint + * Endpoint for discovering cloud printers. + * + * @param string $val The enterpriseCloudPrintDiscoveryEndPoint + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintDiscoveryEndPoint($val) + { + $this->_propDict["enterpriseCloudPrintDiscoveryEndPoint"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintDiscoveryMaxLimit + * Maximum number of printers that should be queried from a discovery endpoint. This is a mobile only setting. Valid values 1 to 65535 + * + * @return int|null The enterpriseCloudPrintDiscoveryMaxLimit + */ + public function getEnterpriseCloudPrintDiscoveryMaxLimit() + { + if (array_key_exists("enterpriseCloudPrintDiscoveryMaxLimit", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintDiscoveryMaxLimit"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintDiscoveryMaxLimit + * Maximum number of printers that should be queried from a discovery endpoint. This is a mobile only setting. Valid values 1 to 65535 + * + * @param int $val The enterpriseCloudPrintDiscoveryMaxLimit + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintDiscoveryMaxLimit($val) + { + $this->_propDict["enterpriseCloudPrintDiscoveryMaxLimit"] = intval($val); + return $this; + } + + /** + * Gets the enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + * OAuth resource URI for printer discovery service as configured in Azure portal. + * + * @return string|null The enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + */ + public function getEnterpriseCloudPrintMopriaDiscoveryResourceIdentifier() + { + if (array_key_exists("enterpriseCloudPrintMopriaDiscoveryResourceIdentifier", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintMopriaDiscoveryResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + * OAuth resource URI for printer discovery service as configured in Azure portal. + * + * @param string $val The enterpriseCloudPrintMopriaDiscoveryResourceIdentifier + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintMopriaDiscoveryResourceIdentifier($val) + { + $this->_propDict["enterpriseCloudPrintMopriaDiscoveryResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintOAuthAuthority + * Authentication endpoint for acquiring OAuth tokens. + * + * @return string|null The enterpriseCloudPrintOAuthAuthority + */ + public function getEnterpriseCloudPrintOAuthAuthority() + { + if (array_key_exists("enterpriseCloudPrintOAuthAuthority", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintOAuthAuthority"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintOAuthAuthority + * Authentication endpoint for acquiring OAuth tokens. + * + * @param string $val The enterpriseCloudPrintOAuthAuthority + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintOAuthAuthority($val) + { + $this->_propDict["enterpriseCloudPrintOAuthAuthority"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintOAuthClientIdentifier + * GUID of a client application authorized to retrieve OAuth tokens from the OAuth Authority. + * + * @return string|null The enterpriseCloudPrintOAuthClientIdentifier + */ + public function getEnterpriseCloudPrintOAuthClientIdentifier() + { + if (array_key_exists("enterpriseCloudPrintOAuthClientIdentifier", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintOAuthClientIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintOAuthClientIdentifier + * GUID of a client application authorized to retrieve OAuth tokens from the OAuth Authority. + * + * @param string $val The enterpriseCloudPrintOAuthClientIdentifier + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintOAuthClientIdentifier($val) + { + $this->_propDict["enterpriseCloudPrintOAuthClientIdentifier"] = $val; + return $this; + } + + /** + * Gets the enterpriseCloudPrintResourceIdentifier + * OAuth resource URI for print service as configured in the Azure portal. + * + * @return string|null The enterpriseCloudPrintResourceIdentifier + */ + public function getEnterpriseCloudPrintResourceIdentifier() + { + if (array_key_exists("enterpriseCloudPrintResourceIdentifier", $this->_propDict)) { + return $this->_propDict["enterpriseCloudPrintResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseCloudPrintResourceIdentifier + * OAuth resource URI for print service as configured in the Azure portal. + * + * @param string $val The enterpriseCloudPrintResourceIdentifier + * + * @return Windows10GeneralConfiguration + */ + public function setEnterpriseCloudPrintResourceIdentifier($val) + { + $this->_propDict["enterpriseCloudPrintResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the experienceBlockDeviceDiscovery + * Indicates whether or not to enable device discovery UX. + * + * @return bool|null The experienceBlockDeviceDiscovery + */ + public function getExperienceBlockDeviceDiscovery() + { + if (array_key_exists("experienceBlockDeviceDiscovery", $this->_propDict)) { + return $this->_propDict["experienceBlockDeviceDiscovery"]; + } else { + return null; + } + } + + /** + * Sets the experienceBlockDeviceDiscovery + * Indicates whether or not to enable device discovery UX. + * + * @param bool $val The experienceBlockDeviceDiscovery + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceBlockDeviceDiscovery($val) + { + $this->_propDict["experienceBlockDeviceDiscovery"] = boolval($val); + return $this; + } + + /** + * Gets the experienceBlockErrorDialogWhenNoSIM + * Indicates whether or not to allow the error dialog from displaying if no SIM card is detected. + * + * @return bool|null The experienceBlockErrorDialogWhenNoSIM + */ + public function getExperienceBlockErrorDialogWhenNoSIM() + { + if (array_key_exists("experienceBlockErrorDialogWhenNoSIM", $this->_propDict)) { + return $this->_propDict["experienceBlockErrorDialogWhenNoSIM"]; + } else { + return null; + } + } + + /** + * Sets the experienceBlockErrorDialogWhenNoSIM + * Indicates whether or not to allow the error dialog from displaying if no SIM card is detected. + * + * @param bool $val The experienceBlockErrorDialogWhenNoSIM + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceBlockErrorDialogWhenNoSIM($val) + { + $this->_propDict["experienceBlockErrorDialogWhenNoSIM"] = boolval($val); + return $this; + } + + /** + * Gets the experienceBlockTaskSwitcher + * Indicates whether or not to enable task switching on the device. + * + * @return bool|null The experienceBlockTaskSwitcher + */ + public function getExperienceBlockTaskSwitcher() + { + if (array_key_exists("experienceBlockTaskSwitcher", $this->_propDict)) { + return $this->_propDict["experienceBlockTaskSwitcher"]; + } else { + return null; + } + } + + /** + * Sets the experienceBlockTaskSwitcher + * Indicates whether or not to enable task switching on the device. + * + * @param bool $val The experienceBlockTaskSwitcher + * + * @return Windows10GeneralConfiguration + */ + public function setExperienceBlockTaskSwitcher($val) + { + $this->_propDict["experienceBlockTaskSwitcher"] = boolval($val); + return $this; + } + + /** + * Gets the gameDvrBlocked + * Indicates whether or not to block DVR and broadcasting. + * + * @return bool|null The gameDvrBlocked + */ + public function getGameDvrBlocked() + { + if (array_key_exists("gameDvrBlocked", $this->_propDict)) { + return $this->_propDict["gameDvrBlocked"]; + } else { + return null; + } + } + + /** + * Sets the gameDvrBlocked + * Indicates whether or not to block DVR and broadcasting. + * + * @param bool $val The gameDvrBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setGameDvrBlocked($val) + { + $this->_propDict["gameDvrBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the internetSharingBlocked + * Indicates whether or not to Block the user from using internet sharing. + * + * @return bool|null The internetSharingBlocked + */ + public function getInternetSharingBlocked() + { + if (array_key_exists("internetSharingBlocked", $this->_propDict)) { + return $this->_propDict["internetSharingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the internetSharingBlocked + * Indicates whether or not to Block the user from using internet sharing. + * + * @param bool $val The internetSharingBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setInternetSharingBlocked($val) + { + $this->_propDict["internetSharingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the locationServicesBlocked + * Indicates whether or not to Block the user from location services. + * + * @return bool|null The locationServicesBlocked + */ + public function getLocationServicesBlocked() + { + if (array_key_exists("locationServicesBlocked", $this->_propDict)) { + return $this->_propDict["locationServicesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the locationServicesBlocked + * Indicates whether or not to Block the user from location services. + * + * @param bool $val The locationServicesBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setLocationServicesBlocked($val) + { + $this->_propDict["locationServicesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenAllowTimeoutConfiguration + * Specify whether to show a user-configurable setting to control the screen timeout while on the lock screen of Windows 10 Mobile devices. If this policy is set to Allow, the value set by lockScreenTimeoutInSeconds is ignored. + * + * @return bool|null The lockScreenAllowTimeoutConfiguration + */ + public function getLockScreenAllowTimeoutConfiguration() + { + if (array_key_exists("lockScreenAllowTimeoutConfiguration", $this->_propDict)) { + return $this->_propDict["lockScreenAllowTimeoutConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenAllowTimeoutConfiguration + * Specify whether to show a user-configurable setting to control the screen timeout while on the lock screen of Windows 10 Mobile devices. If this policy is set to Allow, the value set by lockScreenTimeoutInSeconds is ignored. + * + * @param bool $val The lockScreenAllowTimeoutConfiguration + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenAllowTimeoutConfiguration($val) + { + $this->_propDict["lockScreenAllowTimeoutConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockActionCenterNotifications + * Indicates whether or not to block action center notifications over lock screen. + * + * @return bool|null The lockScreenBlockActionCenterNotifications + */ + public function getLockScreenBlockActionCenterNotifications() + { + if (array_key_exists("lockScreenBlockActionCenterNotifications", $this->_propDict)) { + return $this->_propDict["lockScreenBlockActionCenterNotifications"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockActionCenterNotifications + * Indicates whether or not to block action center notifications over lock screen. + * + * @param bool $val The lockScreenBlockActionCenterNotifications + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenBlockActionCenterNotifications($val) + { + $this->_propDict["lockScreenBlockActionCenterNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockCortana + * Indicates whether or not the user can interact with Cortana using speech while the system is locked. + * + * @return bool|null The lockScreenBlockCortana + */ + public function getLockScreenBlockCortana() + { + if (array_key_exists("lockScreenBlockCortana", $this->_propDict)) { + return $this->_propDict["lockScreenBlockCortana"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockCortana + * Indicates whether or not the user can interact with Cortana using speech while the system is locked. + * + * @param bool $val The lockScreenBlockCortana + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenBlockCortana($val) + { + $this->_propDict["lockScreenBlockCortana"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenBlockToastNotifications + * Indicates whether to allow toast notifications above the device lock screen. + * + * @return bool|null The lockScreenBlockToastNotifications + */ + public function getLockScreenBlockToastNotifications() + { + if (array_key_exists("lockScreenBlockToastNotifications", $this->_propDict)) { + return $this->_propDict["lockScreenBlockToastNotifications"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenBlockToastNotifications + * Indicates whether to allow toast notifications above the device lock screen. + * + * @param bool $val The lockScreenBlockToastNotifications + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenBlockToastNotifications($val) + { + $this->_propDict["lockScreenBlockToastNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the lockScreenTimeoutInSeconds + * Set the duration (in seconds) from the screen locking to the screen turning off for Windows 10 Mobile devices. Supported values are 11-1800. Valid values 11 to 1800 + * + * @return int|null The lockScreenTimeoutInSeconds + */ + public function getLockScreenTimeoutInSeconds() + { + if (array_key_exists("lockScreenTimeoutInSeconds", $this->_propDict)) { + return $this->_propDict["lockScreenTimeoutInSeconds"]; + } else { + return null; + } + } + + /** + * Sets the lockScreenTimeoutInSeconds + * Set the duration (in seconds) from the screen locking to the screen turning off for Windows 10 Mobile devices. Supported values are 11-1800. Valid values 11 to 1800 + * + * @param int $val The lockScreenTimeoutInSeconds + * + * @return Windows10GeneralConfiguration + */ + public function setLockScreenTimeoutInSeconds($val) + { + $this->_propDict["lockScreenTimeoutInSeconds"] = intval($val); + return $this; + } + + /** + * Gets the logonBlockFastUserSwitching + * Disables the ability to quickly switch between users that are logged on simultaneously without logging off. + * + * @return bool|null The logonBlockFastUserSwitching + */ + public function getLogonBlockFastUserSwitching() + { + if (array_key_exists("logonBlockFastUserSwitching", $this->_propDict)) { + return $this->_propDict["logonBlockFastUserSwitching"]; + } else { + return null; + } + } + + /** + * Sets the logonBlockFastUserSwitching + * Disables the ability to quickly switch between users that are logged on simultaneously without logging off. + * + * @param bool $val The logonBlockFastUserSwitching + * + * @return Windows10GeneralConfiguration + */ + public function setLogonBlockFastUserSwitching($val) + { + $this->_propDict["logonBlockFastUserSwitching"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountBlocked + * Indicates whether or not to Block a Microsoft account. + * + * @return bool|null The microsoftAccountBlocked + */ + public function getMicrosoftAccountBlocked() + { + if (array_key_exists("microsoftAccountBlocked", $this->_propDict)) { + return $this->_propDict["microsoftAccountBlocked"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAccountBlocked + * Indicates whether or not to Block a Microsoft account. + * + * @param bool $val The microsoftAccountBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setMicrosoftAccountBlocked($val) + { + $this->_propDict["microsoftAccountBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountBlockSettingsSync + * Indicates whether or not to Block Microsoft account settings sync. + * + * @return bool|null The microsoftAccountBlockSettingsSync + */ + public function getMicrosoftAccountBlockSettingsSync() + { + if (array_key_exists("microsoftAccountBlockSettingsSync", $this->_propDict)) { + return $this->_propDict["microsoftAccountBlockSettingsSync"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAccountBlockSettingsSync + * Indicates whether or not to Block Microsoft account settings sync. + * + * @param bool $val The microsoftAccountBlockSettingsSync + * + * @return Windows10GeneralConfiguration + */ + public function setMicrosoftAccountBlockSettingsSync($val) + { + $this->_propDict["microsoftAccountBlockSettingsSync"] = boolval($val); + return $this; + } + + /** + * Gets the networkProxyApplySettingsDeviceWide + * If set, proxy settings will be applied to all processes and accounts in the device. Otherwise, it will be applied to the user account that’s enrolled into MDM. + * + * @return bool|null The networkProxyApplySettingsDeviceWide + */ + public function getNetworkProxyApplySettingsDeviceWide() + { + if (array_key_exists("networkProxyApplySettingsDeviceWide", $this->_propDict)) { + return $this->_propDict["networkProxyApplySettingsDeviceWide"]; + } else { + return null; + } + } + + /** + * Sets the networkProxyApplySettingsDeviceWide + * If set, proxy settings will be applied to all processes and accounts in the device. Otherwise, it will be applied to the user account that’s enrolled into MDM. + * + * @param bool $val The networkProxyApplySettingsDeviceWide + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyApplySettingsDeviceWide($val) + { + $this->_propDict["networkProxyApplySettingsDeviceWide"] = boolval($val); + return $this; + } + + /** + * Gets the networkProxyAutomaticConfigurationUrl + * Address to the proxy auto-config (PAC) script you want to use. + * + * @return string|null The networkProxyAutomaticConfigurationUrl + */ + public function getNetworkProxyAutomaticConfigurationUrl() + { + if (array_key_exists("networkProxyAutomaticConfigurationUrl", $this->_propDict)) { + return $this->_propDict["networkProxyAutomaticConfigurationUrl"]; + } else { + return null; + } + } + + /** + * Sets the networkProxyAutomaticConfigurationUrl + * Address to the proxy auto-config (PAC) script you want to use. + * + * @param string $val The networkProxyAutomaticConfigurationUrl + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyAutomaticConfigurationUrl($val) + { + $this->_propDict["networkProxyAutomaticConfigurationUrl"] = $val; + return $this; + } + + /** + * Gets the networkProxyDisableAutoDetect + * Disable automatic detection of settings. If enabled, the system will try to find the path to a proxy auto-config (PAC) script. + * + * @return bool|null The networkProxyDisableAutoDetect + */ + public function getNetworkProxyDisableAutoDetect() + { + if (array_key_exists("networkProxyDisableAutoDetect", $this->_propDict)) { + return $this->_propDict["networkProxyDisableAutoDetect"]; + } else { + return null; + } + } + + /** + * Sets the networkProxyDisableAutoDetect + * Disable automatic detection of settings. If enabled, the system will try to find the path to a proxy auto-config (PAC) script. + * + * @param bool $val The networkProxyDisableAutoDetect + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyDisableAutoDetect($val) + { + $this->_propDict["networkProxyDisableAutoDetect"] = boolval($val); + return $this; + } + + /** + * Gets the networkProxyServer + * Specifies manual proxy server settings. + * + * @return Windows10NetworkProxyServer|null The networkProxyServer + */ + public function getNetworkProxyServer() + { + if (array_key_exists("networkProxyServer", $this->_propDict)) { + if (is_a($this->_propDict["networkProxyServer"], "\Microsoft\Graph\Model\Windows10NetworkProxyServer") || is_null($this->_propDict["networkProxyServer"])) { + return $this->_propDict["networkProxyServer"]; + } else { + $this->_propDict["networkProxyServer"] = new Windows10NetworkProxyServer($this->_propDict["networkProxyServer"]); + return $this->_propDict["networkProxyServer"]; + } + } + return null; + } + + /** + * Sets the networkProxyServer + * Specifies manual proxy server settings. + * + * @param Windows10NetworkProxyServer $val The networkProxyServer + * + * @return Windows10GeneralConfiguration + */ + public function setNetworkProxyServer($val) + { + $this->_propDict["networkProxyServer"] = $val; + return $this; + } + + /** + * Gets the nfcBlocked + * Indicates whether or not to Block the user from using near field communication. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Indicates whether or not to Block the user from using near field communication. + * + * @param bool $val The nfcBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the oneDriveDisableFileSync + * Gets or sets a value allowing IT admins to prevent apps and features from working with files on OneDrive. + * + * @return bool|null The oneDriveDisableFileSync + */ + public function getOneDriveDisableFileSync() + { + if (array_key_exists("oneDriveDisableFileSync", $this->_propDict)) { + return $this->_propDict["oneDriveDisableFileSync"]; + } else { + return null; + } + } + + /** + * Sets the oneDriveDisableFileSync + * Gets or sets a value allowing IT admins to prevent apps and features from working with files on OneDrive. + * + * @param bool $val The oneDriveDisableFileSync + * + * @return Windows10GeneralConfiguration + */ + public function setOneDriveDisableFileSync($val) + { + $this->_propDict["oneDriveDisableFileSync"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockSimple + * Specify whether PINs or passwords such as '1111' or '1234' are allowed. For Windows 10 desktops, it also controls the use of picture passwords. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Specify whether PINs or passwords such as '1111' or '1234' are allowed. For Windows 10 desktops, it also controls the use of picture passwords. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * The password expiration in days. Valid values 0 to 730 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * The password expiration in days. Valid values 0 to 730 + * + * @param int $val The passwordExpirationDays + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent reuse of. Valid values 0 to 50 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent reuse of. Valid values 0 to 50 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Indicates whether or not to require the user to have a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Indicates whether or not to require the user to have a password. + * + * @param bool $val The passwordRequired + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordRequireWhenResumeFromIdleState + * Indicates whether or not to require a password upon resuming from an idle state. + * + * @return bool|null The passwordRequireWhenResumeFromIdleState + */ + public function getPasswordRequireWhenResumeFromIdleState() + { + if (array_key_exists("passwordRequireWhenResumeFromIdleState", $this->_propDict)) { + return $this->_propDict["passwordRequireWhenResumeFromIdleState"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireWhenResumeFromIdleState + * Indicates whether or not to require a password upon resuming from an idle state. + * + * @param bool $val The passwordRequireWhenResumeFromIdleState + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordRequireWhenResumeFromIdleState($val) + { + $this->_propDict["passwordRequireWhenResumeFromIdleState"] = boolval($val); + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. Valid values 0 to 999 + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. Valid values 0 to 999 + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return Windows10GeneralConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the personalizationDesktopImageUrl + * A http or https Url to a jpg, jpeg or png image that needs to be downloaded and used as the Desktop Image or a file Url to a local image on the file system that needs to used as the Desktop Image. + * + * @return string|null The personalizationDesktopImageUrl + */ + public function getPersonalizationDesktopImageUrl() + { + if (array_key_exists("personalizationDesktopImageUrl", $this->_propDict)) { + return $this->_propDict["personalizationDesktopImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the personalizationDesktopImageUrl + * A http or https Url to a jpg, jpeg or png image that needs to be downloaded and used as the Desktop Image or a file Url to a local image on the file system that needs to used as the Desktop Image. + * + * @param string $val The personalizationDesktopImageUrl + * + * @return Windows10GeneralConfiguration + */ + public function setPersonalizationDesktopImageUrl($val) + { + $this->_propDict["personalizationDesktopImageUrl"] = $val; + return $this; + } + + /** + * Gets the personalizationLockScreenImageUrl + * A http or https Url to a jpg, jpeg or png image that neeeds to be downloaded and used as the Lock Screen Image or a file Url to a local image on the file system that needs to be used as the Lock Screen Image. + * + * @return string|null The personalizationLockScreenImageUrl + */ + public function getPersonalizationLockScreenImageUrl() + { + if (array_key_exists("personalizationLockScreenImageUrl", $this->_propDict)) { + return $this->_propDict["personalizationLockScreenImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the personalizationLockScreenImageUrl + * A http or https Url to a jpg, jpeg or png image that neeeds to be downloaded and used as the Lock Screen Image or a file Url to a local image on the file system that needs to be used as the Lock Screen Image. + * + * @param string $val The personalizationLockScreenImageUrl + * + * @return Windows10GeneralConfiguration + */ + public function setPersonalizationLockScreenImageUrl($val) + { + $this->_propDict["personalizationLockScreenImageUrl"] = $val; + return $this; + } + + /** + * Gets the privacyAdvertisingId + * Enables or disables the use of advertising ID. Added in Windows 10, version 1607. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The privacyAdvertisingId + */ + public function getPrivacyAdvertisingId() + { + if (array_key_exists("privacyAdvertisingId", $this->_propDict)) { + if (is_a($this->_propDict["privacyAdvertisingId"], "\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["privacyAdvertisingId"])) { + return $this->_propDict["privacyAdvertisingId"]; + } else { + $this->_propDict["privacyAdvertisingId"] = new StateManagementSetting($this->_propDict["privacyAdvertisingId"]); + return $this->_propDict["privacyAdvertisingId"]; + } + } + return null; + } + + /** + * Sets the privacyAdvertisingId + * Enables or disables the use of advertising ID. Added in Windows 10, version 1607. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The privacyAdvertisingId + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyAdvertisingId($val) + { + $this->_propDict["privacyAdvertisingId"] = $val; + return $this; + } + + /** + * Gets the privacyAutoAcceptPairingAndConsentPrompts + * Indicates whether or not to allow the automatic acceptance of the pairing and privacy user consent dialog when launching apps. + * + * @return bool|null The privacyAutoAcceptPairingAndConsentPrompts + */ + public function getPrivacyAutoAcceptPairingAndConsentPrompts() + { + if (array_key_exists("privacyAutoAcceptPairingAndConsentPrompts", $this->_propDict)) { + return $this->_propDict["privacyAutoAcceptPairingAndConsentPrompts"]; + } else { + return null; + } + } + + /** + * Sets the privacyAutoAcceptPairingAndConsentPrompts + * Indicates whether or not to allow the automatic acceptance of the pairing and privacy user consent dialog when launching apps. + * + * @param bool $val The privacyAutoAcceptPairingAndConsentPrompts + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyAutoAcceptPairingAndConsentPrompts($val) + { + $this->_propDict["privacyAutoAcceptPairingAndConsentPrompts"] = boolval($val); + return $this; + } + + /** + * Gets the privacyBlockInputPersonalization + * Indicates whether or not to block the usage of cloud based speech services for Cortana, Dictation, or Store applications. + * + * @return bool|null The privacyBlockInputPersonalization + */ + public function getPrivacyBlockInputPersonalization() + { + if (array_key_exists("privacyBlockInputPersonalization", $this->_propDict)) { + return $this->_propDict["privacyBlockInputPersonalization"]; + } else { + return null; + } + } + + /** + * Sets the privacyBlockInputPersonalization + * Indicates whether or not to block the usage of cloud based speech services for Cortana, Dictation, or Store applications. + * + * @param bool $val The privacyBlockInputPersonalization + * + * @return Windows10GeneralConfiguration + */ + public function setPrivacyBlockInputPersonalization($val) + { + $this->_propDict["privacyBlockInputPersonalization"] = boolval($val); + return $this; + } + + /** + * Gets the resetProtectionModeBlocked + * Indicates whether or not to Block the user from reset protection mode. + * + * @return bool|null The resetProtectionModeBlocked + */ + public function getResetProtectionModeBlocked() + { + if (array_key_exists("resetProtectionModeBlocked", $this->_propDict)) { + return $this->_propDict["resetProtectionModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the resetProtectionModeBlocked + * Indicates whether or not to Block the user from reset protection mode. + * + * @param bool $val The resetProtectionModeBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setResetProtectionModeBlocked($val) + { + $this->_propDict["resetProtectionModeBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the safeSearchFilter + * Specifies what filter level of safe search is required. Possible values are: userDefined, strict, moderate. + * + * @return SafeSearchFilterType|null The safeSearchFilter + */ + public function getSafeSearchFilter() + { + if (array_key_exists("safeSearchFilter", $this->_propDict)) { + if (is_a($this->_propDict["safeSearchFilter"], "\Microsoft\Graph\Model\SafeSearchFilterType") || is_null($this->_propDict["safeSearchFilter"])) { + return $this->_propDict["safeSearchFilter"]; + } else { + $this->_propDict["safeSearchFilter"] = new SafeSearchFilterType($this->_propDict["safeSearchFilter"]); + return $this->_propDict["safeSearchFilter"]; + } + } + return null; + } + + /** + * Sets the safeSearchFilter + * Specifies what filter level of safe search is required. Possible values are: userDefined, strict, moderate. + * + * @param SafeSearchFilterType $val The safeSearchFilter + * + * @return Windows10GeneralConfiguration + */ + public function setSafeSearchFilter($val) + { + $this->_propDict["safeSearchFilter"] = $val; + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to Block the user from taking Screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to Block the user from taking Screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the searchBlockDiacritics + * Specifies if search can use diacritics. + * + * @return bool|null The searchBlockDiacritics + */ + public function getSearchBlockDiacritics() + { + if (array_key_exists("searchBlockDiacritics", $this->_propDict)) { + return $this->_propDict["searchBlockDiacritics"]; + } else { + return null; + } + } + + /** + * Sets the searchBlockDiacritics + * Specifies if search can use diacritics. + * + * @param bool $val The searchBlockDiacritics + * + * @return Windows10GeneralConfiguration + */ + public function setSearchBlockDiacritics($val) + { + $this->_propDict["searchBlockDiacritics"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableAutoLanguageDetection + * Specifies whether to use automatic language detection when indexing content and properties. + * + * @return bool|null The searchDisableAutoLanguageDetection + */ + public function getSearchDisableAutoLanguageDetection() + { + if (array_key_exists("searchDisableAutoLanguageDetection", $this->_propDict)) { + return $this->_propDict["searchDisableAutoLanguageDetection"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableAutoLanguageDetection + * Specifies whether to use automatic language detection when indexing content and properties. + * + * @param bool $val The searchDisableAutoLanguageDetection + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableAutoLanguageDetection($val) + { + $this->_propDict["searchDisableAutoLanguageDetection"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableIndexerBackoff + * Indicates whether or not to disable the search indexer backoff feature. + * + * @return bool|null The searchDisableIndexerBackoff + */ + public function getSearchDisableIndexerBackoff() + { + if (array_key_exists("searchDisableIndexerBackoff", $this->_propDict)) { + return $this->_propDict["searchDisableIndexerBackoff"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableIndexerBackoff + * Indicates whether or not to disable the search indexer backoff feature. + * + * @param bool $val The searchDisableIndexerBackoff + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableIndexerBackoff($val) + { + $this->_propDict["searchDisableIndexerBackoff"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableIndexingEncryptedItems + * Indicates whether or not to block indexing of WIP-protected items to prevent them from appearing in search results for Cortana or Explorer. + * + * @return bool|null The searchDisableIndexingEncryptedItems + */ + public function getSearchDisableIndexingEncryptedItems() + { + if (array_key_exists("searchDisableIndexingEncryptedItems", $this->_propDict)) { + return $this->_propDict["searchDisableIndexingEncryptedItems"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableIndexingEncryptedItems + * Indicates whether or not to block indexing of WIP-protected items to prevent them from appearing in search results for Cortana or Explorer. + * + * @param bool $val The searchDisableIndexingEncryptedItems + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableIndexingEncryptedItems($val) + { + $this->_propDict["searchDisableIndexingEncryptedItems"] = boolval($val); + return $this; + } + + /** + * Gets the searchDisableIndexingRemovableDrive + * Indicates whether or not to allow users to add locations on removable drives to libraries and to be indexed. + * + * @return bool|null The searchDisableIndexingRemovableDrive + */ + public function getSearchDisableIndexingRemovableDrive() + { + if (array_key_exists("searchDisableIndexingRemovableDrive", $this->_propDict)) { + return $this->_propDict["searchDisableIndexingRemovableDrive"]; + } else { + return null; + } + } + + /** + * Sets the searchDisableIndexingRemovableDrive + * Indicates whether or not to allow users to add locations on removable drives to libraries and to be indexed. + * + * @param bool $val The searchDisableIndexingRemovableDrive + * + * @return Windows10GeneralConfiguration + */ + public function setSearchDisableIndexingRemovableDrive($val) + { + $this->_propDict["searchDisableIndexingRemovableDrive"] = boolval($val); + return $this; + } + + /** + * Gets the searchEnableAutomaticIndexSizeManangement + * Specifies minimum amount of hard drive space on the same drive as the index location before indexing stops. + * + * @return bool|null The searchEnableAutomaticIndexSizeManangement + */ + public function getSearchEnableAutomaticIndexSizeManangement() + { + if (array_key_exists("searchEnableAutomaticIndexSizeManangement", $this->_propDict)) { + return $this->_propDict["searchEnableAutomaticIndexSizeManangement"]; + } else { + return null; + } + } + + /** + * Sets the searchEnableAutomaticIndexSizeManangement + * Specifies minimum amount of hard drive space on the same drive as the index location before indexing stops. + * + * @param bool $val The searchEnableAutomaticIndexSizeManangement + * + * @return Windows10GeneralConfiguration + */ + public function setSearchEnableAutomaticIndexSizeManangement($val) + { + $this->_propDict["searchEnableAutomaticIndexSizeManangement"] = boolval($val); + return $this; + } + + /** + * Gets the searchEnableRemoteQueries + * Indicates whether or not to block remote queries of this computer’s index. + * + * @return bool|null The searchEnableRemoteQueries + */ + public function getSearchEnableRemoteQueries() + { + if (array_key_exists("searchEnableRemoteQueries", $this->_propDict)) { + return $this->_propDict["searchEnableRemoteQueries"]; + } else { + return null; + } + } + + /** + * Sets the searchEnableRemoteQueries + * Indicates whether or not to block remote queries of this computer’s index. + * + * @param bool $val The searchEnableRemoteQueries + * + * @return Windows10GeneralConfiguration + */ + public function setSearchEnableRemoteQueries($val) + { + $this->_propDict["searchEnableRemoteQueries"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockAccountsPage + * Indicates whether or not to block access to Accounts in Settings app. + * + * @return bool|null The settingsBlockAccountsPage + */ + public function getSettingsBlockAccountsPage() + { + if (array_key_exists("settingsBlockAccountsPage", $this->_propDict)) { + return $this->_propDict["settingsBlockAccountsPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockAccountsPage + * Indicates whether or not to block access to Accounts in Settings app. + * + * @param bool $val The settingsBlockAccountsPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockAccountsPage($val) + { + $this->_propDict["settingsBlockAccountsPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockAddProvisioningPackage + * Indicates whether or not to block the user from installing provisioning packages. + * + * @return bool|null The settingsBlockAddProvisioningPackage + */ + public function getSettingsBlockAddProvisioningPackage() + { + if (array_key_exists("settingsBlockAddProvisioningPackage", $this->_propDict)) { + return $this->_propDict["settingsBlockAddProvisioningPackage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockAddProvisioningPackage + * Indicates whether or not to block the user from installing provisioning packages. + * + * @param bool $val The settingsBlockAddProvisioningPackage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockAddProvisioningPackage($val) + { + $this->_propDict["settingsBlockAddProvisioningPackage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockAppsPage + * Indicates whether or not to block access to Apps in Settings app. + * + * @return bool|null The settingsBlockAppsPage + */ + public function getSettingsBlockAppsPage() + { + if (array_key_exists("settingsBlockAppsPage", $this->_propDict)) { + return $this->_propDict["settingsBlockAppsPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockAppsPage + * Indicates whether or not to block access to Apps in Settings app. + * + * @param bool $val The settingsBlockAppsPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockAppsPage($val) + { + $this->_propDict["settingsBlockAppsPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangeLanguage + * Indicates whether or not to block the user from changing the language settings. + * + * @return bool|null The settingsBlockChangeLanguage + */ + public function getSettingsBlockChangeLanguage() + { + if (array_key_exists("settingsBlockChangeLanguage", $this->_propDict)) { + return $this->_propDict["settingsBlockChangeLanguage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangeLanguage + * Indicates whether or not to block the user from changing the language settings. + * + * @param bool $val The settingsBlockChangeLanguage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangeLanguage($val) + { + $this->_propDict["settingsBlockChangeLanguage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangePowerSleep + * Indicates whether or not to block the user from changing power and sleep settings. + * + * @return bool|null The settingsBlockChangePowerSleep + */ + public function getSettingsBlockChangePowerSleep() + { + if (array_key_exists("settingsBlockChangePowerSleep", $this->_propDict)) { + return $this->_propDict["settingsBlockChangePowerSleep"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangePowerSleep + * Indicates whether or not to block the user from changing power and sleep settings. + * + * @param bool $val The settingsBlockChangePowerSleep + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangePowerSleep($val) + { + $this->_propDict["settingsBlockChangePowerSleep"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangeRegion + * Indicates whether or not to block the user from changing the region settings. + * + * @return bool|null The settingsBlockChangeRegion + */ + public function getSettingsBlockChangeRegion() + { + if (array_key_exists("settingsBlockChangeRegion", $this->_propDict)) { + return $this->_propDict["settingsBlockChangeRegion"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangeRegion + * Indicates whether or not to block the user from changing the region settings. + * + * @param bool $val The settingsBlockChangeRegion + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangeRegion($val) + { + $this->_propDict["settingsBlockChangeRegion"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockChangeSystemTime + * Indicates whether or not to block the user from changing date and time settings. + * + * @return bool|null The settingsBlockChangeSystemTime + */ + public function getSettingsBlockChangeSystemTime() + { + if (array_key_exists("settingsBlockChangeSystemTime", $this->_propDict)) { + return $this->_propDict["settingsBlockChangeSystemTime"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockChangeSystemTime + * Indicates whether or not to block the user from changing date and time settings. + * + * @param bool $val The settingsBlockChangeSystemTime + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockChangeSystemTime($val) + { + $this->_propDict["settingsBlockChangeSystemTime"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockDevicesPage + * Indicates whether or not to block access to Devices in Settings app. + * + * @return bool|null The settingsBlockDevicesPage + */ + public function getSettingsBlockDevicesPage() + { + if (array_key_exists("settingsBlockDevicesPage", $this->_propDict)) { + return $this->_propDict["settingsBlockDevicesPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockDevicesPage + * Indicates whether or not to block access to Devices in Settings app. + * + * @param bool $val The settingsBlockDevicesPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockDevicesPage($val) + { + $this->_propDict["settingsBlockDevicesPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockEaseOfAccessPage + * Indicates whether or not to block access to Ease of Access in Settings app. + * + * @return bool|null The settingsBlockEaseOfAccessPage + */ + public function getSettingsBlockEaseOfAccessPage() + { + if (array_key_exists("settingsBlockEaseOfAccessPage", $this->_propDict)) { + return $this->_propDict["settingsBlockEaseOfAccessPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockEaseOfAccessPage + * Indicates whether or not to block access to Ease of Access in Settings app. + * + * @param bool $val The settingsBlockEaseOfAccessPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockEaseOfAccessPage($val) + { + $this->_propDict["settingsBlockEaseOfAccessPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockEditDeviceName + * Indicates whether or not to block the user from editing the device name. + * + * @return bool|null The settingsBlockEditDeviceName + */ + public function getSettingsBlockEditDeviceName() + { + if (array_key_exists("settingsBlockEditDeviceName", $this->_propDict)) { + return $this->_propDict["settingsBlockEditDeviceName"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockEditDeviceName + * Indicates whether or not to block the user from editing the device name. + * + * @param bool $val The settingsBlockEditDeviceName + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockEditDeviceName($val) + { + $this->_propDict["settingsBlockEditDeviceName"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockGamingPage + * Indicates whether or not to block access to Gaming in Settings app. + * + * @return bool|null The settingsBlockGamingPage + */ + public function getSettingsBlockGamingPage() + { + if (array_key_exists("settingsBlockGamingPage", $this->_propDict)) { + return $this->_propDict["settingsBlockGamingPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockGamingPage + * Indicates whether or not to block access to Gaming in Settings app. + * + * @param bool $val The settingsBlockGamingPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockGamingPage($val) + { + $this->_propDict["settingsBlockGamingPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockNetworkInternetPage + * Indicates whether or not to block access to Network & Internet in Settings app. + * + * @return bool|null The settingsBlockNetworkInternetPage + */ + public function getSettingsBlockNetworkInternetPage() + { + if (array_key_exists("settingsBlockNetworkInternetPage", $this->_propDict)) { + return $this->_propDict["settingsBlockNetworkInternetPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockNetworkInternetPage + * Indicates whether or not to block access to Network & Internet in Settings app. + * + * @param bool $val The settingsBlockNetworkInternetPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockNetworkInternetPage($val) + { + $this->_propDict["settingsBlockNetworkInternetPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockPersonalizationPage + * Indicates whether or not to block access to Personalization in Settings app. + * + * @return bool|null The settingsBlockPersonalizationPage + */ + public function getSettingsBlockPersonalizationPage() + { + if (array_key_exists("settingsBlockPersonalizationPage", $this->_propDict)) { + return $this->_propDict["settingsBlockPersonalizationPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockPersonalizationPage + * Indicates whether or not to block access to Personalization in Settings app. + * + * @param bool $val The settingsBlockPersonalizationPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockPersonalizationPage($val) + { + $this->_propDict["settingsBlockPersonalizationPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockPrivacyPage + * Indicates whether or not to block access to Privacy in Settings app. + * + * @return bool|null The settingsBlockPrivacyPage + */ + public function getSettingsBlockPrivacyPage() + { + if (array_key_exists("settingsBlockPrivacyPage", $this->_propDict)) { + return $this->_propDict["settingsBlockPrivacyPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockPrivacyPage + * Indicates whether or not to block access to Privacy in Settings app. + * + * @param bool $val The settingsBlockPrivacyPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockPrivacyPage($val) + { + $this->_propDict["settingsBlockPrivacyPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockRemoveProvisioningPackage + * Indicates whether or not to block the runtime configuration agent from removing provisioning packages. + * + * @return bool|null The settingsBlockRemoveProvisioningPackage + */ + public function getSettingsBlockRemoveProvisioningPackage() + { + if (array_key_exists("settingsBlockRemoveProvisioningPackage", $this->_propDict)) { + return $this->_propDict["settingsBlockRemoveProvisioningPackage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockRemoveProvisioningPackage + * Indicates whether or not to block the runtime configuration agent from removing provisioning packages. + * + * @param bool $val The settingsBlockRemoveProvisioningPackage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockRemoveProvisioningPackage($val) + { + $this->_propDict["settingsBlockRemoveProvisioningPackage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSettingsApp + * Indicates whether or not to block access to Settings app. + * + * @return bool|null The settingsBlockSettingsApp + */ + public function getSettingsBlockSettingsApp() + { + if (array_key_exists("settingsBlockSettingsApp", $this->_propDict)) { + return $this->_propDict["settingsBlockSettingsApp"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSettingsApp + * Indicates whether or not to block access to Settings app. + * + * @param bool $val The settingsBlockSettingsApp + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockSettingsApp($val) + { + $this->_propDict["settingsBlockSettingsApp"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSystemPage + * Indicates whether or not to block access to System in Settings app. + * + * @return bool|null The settingsBlockSystemPage + */ + public function getSettingsBlockSystemPage() + { + if (array_key_exists("settingsBlockSystemPage", $this->_propDict)) { + return $this->_propDict["settingsBlockSystemPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSystemPage + * Indicates whether or not to block access to System in Settings app. + * + * @param bool $val The settingsBlockSystemPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockSystemPage($val) + { + $this->_propDict["settingsBlockSystemPage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockTimeLanguagePage + * Indicates whether or not to block access to Time & Language in Settings app. + * + * @return bool|null The settingsBlockTimeLanguagePage + */ + public function getSettingsBlockTimeLanguagePage() + { + if (array_key_exists("settingsBlockTimeLanguagePage", $this->_propDict)) { + return $this->_propDict["settingsBlockTimeLanguagePage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockTimeLanguagePage + * Indicates whether or not to block access to Time & Language in Settings app. + * + * @param bool $val The settingsBlockTimeLanguagePage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockTimeLanguagePage($val) + { + $this->_propDict["settingsBlockTimeLanguagePage"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockUpdateSecurityPage + * Indicates whether or not to block access to Update & Security in Settings app. + * + * @return bool|null The settingsBlockUpdateSecurityPage + */ + public function getSettingsBlockUpdateSecurityPage() + { + if (array_key_exists("settingsBlockUpdateSecurityPage", $this->_propDict)) { + return $this->_propDict["settingsBlockUpdateSecurityPage"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockUpdateSecurityPage + * Indicates whether or not to block access to Update & Security in Settings app. + * + * @param bool $val The settingsBlockUpdateSecurityPage + * + * @return Windows10GeneralConfiguration + */ + public function setSettingsBlockUpdateSecurityPage($val) + { + $this->_propDict["settingsBlockUpdateSecurityPage"] = boolval($val); + return $this; + } + + /** + * Gets the sharedUserAppDataAllowed + * Indicates whether or not to block multiple users of the same app to share data. + * + * @return bool|null The sharedUserAppDataAllowed + */ + public function getSharedUserAppDataAllowed() + { + if (array_key_exists("sharedUserAppDataAllowed", $this->_propDict)) { + return $this->_propDict["sharedUserAppDataAllowed"]; + } else { + return null; + } + } + + /** + * Sets the sharedUserAppDataAllowed + * Indicates whether or not to block multiple users of the same app to share data. + * + * @param bool $val The sharedUserAppDataAllowed + * + * @return Windows10GeneralConfiguration + */ + public function setSharedUserAppDataAllowed($val) + { + $this->_propDict["sharedUserAppDataAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenBlockPromptOverride + * Indicates whether or not users can override SmartScreen Filter warnings about potentially malicious websites. + * + * @return bool|null The smartScreenBlockPromptOverride + */ + public function getSmartScreenBlockPromptOverride() + { + if (array_key_exists("smartScreenBlockPromptOverride", $this->_propDict)) { + return $this->_propDict["smartScreenBlockPromptOverride"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenBlockPromptOverride + * Indicates whether or not users can override SmartScreen Filter warnings about potentially malicious websites. + * + * @param bool $val The smartScreenBlockPromptOverride + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenBlockPromptOverride($val) + { + $this->_propDict["smartScreenBlockPromptOverride"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenBlockPromptOverrideForFiles + * Indicates whether or not users can override the SmartScreen Filter warnings about downloading unverified files + * + * @return bool|null The smartScreenBlockPromptOverrideForFiles + */ + public function getSmartScreenBlockPromptOverrideForFiles() + { + if (array_key_exists("smartScreenBlockPromptOverrideForFiles", $this->_propDict)) { + return $this->_propDict["smartScreenBlockPromptOverrideForFiles"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenBlockPromptOverrideForFiles + * Indicates whether or not users can override the SmartScreen Filter warnings about downloading unverified files + * + * @param bool $val The smartScreenBlockPromptOverrideForFiles + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenBlockPromptOverrideForFiles($val) + { + $this->_propDict["smartScreenBlockPromptOverrideForFiles"] = boolval($val); + return $this; + } + + /** + * Gets the smartScreenEnableAppInstallControl + * This property will be deprecated in July 2019 and will be replaced by property SmartScreenAppInstallControl. Allows IT Admins to control whether users are allowed to install apps from places other than the Store. + * + * @return bool|null The smartScreenEnableAppInstallControl + */ + public function getSmartScreenEnableAppInstallControl() + { + if (array_key_exists("smartScreenEnableAppInstallControl", $this->_propDict)) { + return $this->_propDict["smartScreenEnableAppInstallControl"]; + } else { + return null; + } + } + + /** + * Sets the smartScreenEnableAppInstallControl + * This property will be deprecated in July 2019 and will be replaced by property SmartScreenAppInstallControl. Allows IT Admins to control whether users are allowed to install apps from places other than the Store. + * + * @param bool $val The smartScreenEnableAppInstallControl + * + * @return Windows10GeneralConfiguration + */ + public function setSmartScreenEnableAppInstallControl($val) + { + $this->_propDict["smartScreenEnableAppInstallControl"] = boolval($val); + return $this; + } + + /** + * Gets the startBlockUnpinningAppsFromTaskbar + * Indicates whether or not to block the user from unpinning apps from taskbar. + * + * @return bool|null The startBlockUnpinningAppsFromTaskbar + */ + public function getStartBlockUnpinningAppsFromTaskbar() + { + if (array_key_exists("startBlockUnpinningAppsFromTaskbar", $this->_propDict)) { + return $this->_propDict["startBlockUnpinningAppsFromTaskbar"]; + } else { + return null; + } + } + + /** + * Sets the startBlockUnpinningAppsFromTaskbar + * Indicates whether or not to block the user from unpinning apps from taskbar. + * + * @param bool $val The startBlockUnpinningAppsFromTaskbar + * + * @return Windows10GeneralConfiguration + */ + public function setStartBlockUnpinningAppsFromTaskbar($val) + { + $this->_propDict["startBlockUnpinningAppsFromTaskbar"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuAppListVisibility + * Setting the value of this collapses the app list, removes the app list entirely, or disables the corresponding toggle in the Settings app. Possible values are: userDefined, collapse, remove, disableSettingsApp. + * + * @return WindowsStartMenuAppListVisibilityType|null The startMenuAppListVisibility + */ + public function getStartMenuAppListVisibility() + { + if (array_key_exists("startMenuAppListVisibility", $this->_propDict)) { + if (is_a($this->_propDict["startMenuAppListVisibility"], "\Microsoft\Graph\Model\WindowsStartMenuAppListVisibilityType") || is_null($this->_propDict["startMenuAppListVisibility"])) { + return $this->_propDict["startMenuAppListVisibility"]; + } else { + $this->_propDict["startMenuAppListVisibility"] = new WindowsStartMenuAppListVisibilityType($this->_propDict["startMenuAppListVisibility"]); + return $this->_propDict["startMenuAppListVisibility"]; + } + } + return null; + } + + /** + * Sets the startMenuAppListVisibility + * Setting the value of this collapses the app list, removes the app list entirely, or disables the corresponding toggle in the Settings app. Possible values are: userDefined, collapse, remove, disableSettingsApp. + * + * @param WindowsStartMenuAppListVisibilityType $val The startMenuAppListVisibility + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuAppListVisibility($val) + { + $this->_propDict["startMenuAppListVisibility"] = $val; + return $this; + } + + /** + * Gets the startMenuHideChangeAccountSettings + * Enabling this policy hides the change account setting from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideChangeAccountSettings + */ + public function getStartMenuHideChangeAccountSettings() + { + if (array_key_exists("startMenuHideChangeAccountSettings", $this->_propDict)) { + return $this->_propDict["startMenuHideChangeAccountSettings"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideChangeAccountSettings + * Enabling this policy hides the change account setting from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideChangeAccountSettings + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideChangeAccountSettings($val) + { + $this->_propDict["startMenuHideChangeAccountSettings"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideFrequentlyUsedApps + * Enabling this policy hides the most used apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @return bool|null The startMenuHideFrequentlyUsedApps + */ + public function getStartMenuHideFrequentlyUsedApps() + { + if (array_key_exists("startMenuHideFrequentlyUsedApps", $this->_propDict)) { + return $this->_propDict["startMenuHideFrequentlyUsedApps"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideFrequentlyUsedApps + * Enabling this policy hides the most used apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @param bool $val The startMenuHideFrequentlyUsedApps + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideFrequentlyUsedApps($val) + { + $this->_propDict["startMenuHideFrequentlyUsedApps"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideHibernate + * Enabling this policy hides hibernate from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideHibernate + */ + public function getStartMenuHideHibernate() + { + if (array_key_exists("startMenuHideHibernate", $this->_propDict)) { + return $this->_propDict["startMenuHideHibernate"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideHibernate + * Enabling this policy hides hibernate from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideHibernate + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideHibernate($val) + { + $this->_propDict["startMenuHideHibernate"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideLock + * Enabling this policy hides lock from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideLock + */ + public function getStartMenuHideLock() + { + if (array_key_exists("startMenuHideLock", $this->_propDict)) { + return $this->_propDict["startMenuHideLock"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideLock + * Enabling this policy hides lock from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideLock + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideLock($val) + { + $this->_propDict["startMenuHideLock"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHidePowerButton + * Enabling this policy hides the power button from appearing in the start menu. + * + * @return bool|null The startMenuHidePowerButton + */ + public function getStartMenuHidePowerButton() + { + if (array_key_exists("startMenuHidePowerButton", $this->_propDict)) { + return $this->_propDict["startMenuHidePowerButton"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHidePowerButton + * Enabling this policy hides the power button from appearing in the start menu. + * + * @param bool $val The startMenuHidePowerButton + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHidePowerButton($val) + { + $this->_propDict["startMenuHidePowerButton"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideRecentJumpLists + * Enabling this policy hides recent jump lists from appearing on the start menu/taskbar and disables the corresponding toggle in the Settings app. + * + * @return bool|null The startMenuHideRecentJumpLists + */ + public function getStartMenuHideRecentJumpLists() + { + if (array_key_exists("startMenuHideRecentJumpLists", $this->_propDict)) { + return $this->_propDict["startMenuHideRecentJumpLists"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideRecentJumpLists + * Enabling this policy hides recent jump lists from appearing on the start menu/taskbar and disables the corresponding toggle in the Settings app. + * + * @param bool $val The startMenuHideRecentJumpLists + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideRecentJumpLists($val) + { + $this->_propDict["startMenuHideRecentJumpLists"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideRecentlyAddedApps + * Enabling this policy hides recently added apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @return bool|null The startMenuHideRecentlyAddedApps + */ + public function getStartMenuHideRecentlyAddedApps() + { + if (array_key_exists("startMenuHideRecentlyAddedApps", $this->_propDict)) { + return $this->_propDict["startMenuHideRecentlyAddedApps"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideRecentlyAddedApps + * Enabling this policy hides recently added apps from appearing on the start menu and disables the corresponding toggle in the Settings app. + * + * @param bool $val The startMenuHideRecentlyAddedApps + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideRecentlyAddedApps($val) + { + $this->_propDict["startMenuHideRecentlyAddedApps"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideRestartOptions + * Enabling this policy hides 'Restart/Update and Restart' from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideRestartOptions + */ + public function getStartMenuHideRestartOptions() + { + if (array_key_exists("startMenuHideRestartOptions", $this->_propDict)) { + return $this->_propDict["startMenuHideRestartOptions"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideRestartOptions + * Enabling this policy hides 'Restart/Update and Restart' from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideRestartOptions + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideRestartOptions($val) + { + $this->_propDict["startMenuHideRestartOptions"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideShutDown + * Enabling this policy hides shut down/update and shut down from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideShutDown + */ + public function getStartMenuHideShutDown() + { + if (array_key_exists("startMenuHideShutDown", $this->_propDict)) { + return $this->_propDict["startMenuHideShutDown"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideShutDown + * Enabling this policy hides shut down/update and shut down from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideShutDown + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideShutDown($val) + { + $this->_propDict["startMenuHideShutDown"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideSignOut + * Enabling this policy hides sign out from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideSignOut + */ + public function getStartMenuHideSignOut() + { + if (array_key_exists("startMenuHideSignOut", $this->_propDict)) { + return $this->_propDict["startMenuHideSignOut"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideSignOut + * Enabling this policy hides sign out from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideSignOut + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideSignOut($val) + { + $this->_propDict["startMenuHideSignOut"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideSleep + * Enabling this policy hides sleep from appearing in the power button in the start menu. + * + * @return bool|null The startMenuHideSleep + */ + public function getStartMenuHideSleep() + { + if (array_key_exists("startMenuHideSleep", $this->_propDict)) { + return $this->_propDict["startMenuHideSleep"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideSleep + * Enabling this policy hides sleep from appearing in the power button in the start menu. + * + * @param bool $val The startMenuHideSleep + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideSleep($val) + { + $this->_propDict["startMenuHideSleep"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideSwitchAccount + * Enabling this policy hides switch account from appearing in the user tile in the start menu. + * + * @return bool|null The startMenuHideSwitchAccount + */ + public function getStartMenuHideSwitchAccount() + { + if (array_key_exists("startMenuHideSwitchAccount", $this->_propDict)) { + return $this->_propDict["startMenuHideSwitchAccount"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideSwitchAccount + * Enabling this policy hides switch account from appearing in the user tile in the start menu. + * + * @param bool $val The startMenuHideSwitchAccount + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideSwitchAccount($val) + { + $this->_propDict["startMenuHideSwitchAccount"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuHideUserTile + * Enabling this policy hides the user tile from appearing in the start menu. + * + * @return bool|null The startMenuHideUserTile + */ + public function getStartMenuHideUserTile() + { + if (array_key_exists("startMenuHideUserTile", $this->_propDict)) { + return $this->_propDict["startMenuHideUserTile"]; + } else { + return null; + } + } + + /** + * Sets the startMenuHideUserTile + * Enabling this policy hides the user tile from appearing in the start menu. + * + * @param bool $val The startMenuHideUserTile + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuHideUserTile($val) + { + $this->_propDict["startMenuHideUserTile"] = boolval($val); + return $this; + } + + /** + * Gets the startMenuLayoutEdgeAssetsXml + * This policy setting allows you to import Edge assets to be used with startMenuLayoutXml policy. Start layout can contain secondary tile from Edge app which looks for Edge local asset file. Edge local asset would not exist and cause Edge secondary tile to appear empty in this case. This policy only gets applied when startMenuLayoutXml policy is modified. The value should be a UTF-8 Base64 encoded byte array. + * + * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutEdgeAssetsXml + */ + public function getStartMenuLayoutEdgeAssetsXml() + { + if (array_key_exists("startMenuLayoutEdgeAssetsXml", $this->_propDict)) { + if (is_a($this->_propDict["startMenuLayoutEdgeAssetsXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutEdgeAssetsXml"])) { + return $this->_propDict["startMenuLayoutEdgeAssetsXml"]; + } else { + $this->_propDict["startMenuLayoutEdgeAssetsXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutEdgeAssetsXml"]); + return $this->_propDict["startMenuLayoutEdgeAssetsXml"]; + } + } + return null; + } + + /** + * Sets the startMenuLayoutEdgeAssetsXml + * This policy setting allows you to import Edge assets to be used with startMenuLayoutXml policy. Start layout can contain secondary tile from Edge app which looks for Edge local asset file. Edge local asset would not exist and cause Edge secondary tile to appear empty in this case. This policy only gets applied when startMenuLayoutXml policy is modified. The value should be a UTF-8 Base64 encoded byte array. + * + * @param \GuzzleHttp\Psr7\Stream $val The startMenuLayoutEdgeAssetsXml + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuLayoutEdgeAssetsXml($val) + { + $this->_propDict["startMenuLayoutEdgeAssetsXml"] = $val; + return $this; + } + + /** + * Gets the startMenuLayoutXml + * Allows admins to override the default Start menu layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in a UTF8 encoded byte array format. + * + * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutXml + */ + public function getStartMenuLayoutXml() + { + if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { + if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutXml"])) { + return $this->_propDict["startMenuLayoutXml"]; + } else { + $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutXml"]); + return $this->_propDict["startMenuLayoutXml"]; + } + } + return null; + } + + /** + * Sets the startMenuLayoutXml + * Allows admins to override the default Start menu layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in a UTF8 encoded byte array format. + * + * @param \GuzzleHttp\Psr7\Stream $val The startMenuLayoutXml + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuLayoutXml($val) + { + $this->_propDict["startMenuLayoutXml"] = $val; + return $this; + } + + /** + * Gets the startMenuMode + * Allows admins to decide how the Start menu is displayed. Possible values are: userDefined, fullScreen, nonFullScreen. + * + * @return WindowsStartMenuModeType|null The startMenuMode + */ + public function getStartMenuMode() + { + if (array_key_exists("startMenuMode", $this->_propDict)) { + if (is_a($this->_propDict["startMenuMode"], "\Microsoft\Graph\Model\WindowsStartMenuModeType") || is_null($this->_propDict["startMenuMode"])) { + return $this->_propDict["startMenuMode"]; + } else { + $this->_propDict["startMenuMode"] = new WindowsStartMenuModeType($this->_propDict["startMenuMode"]); + return $this->_propDict["startMenuMode"]; + } + } + return null; + } + + /** + * Sets the startMenuMode + * Allows admins to decide how the Start menu is displayed. Possible values are: userDefined, fullScreen, nonFullScreen. + * + * @param WindowsStartMenuModeType $val The startMenuMode + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuMode($val) + { + $this->_propDict["startMenuMode"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderDocuments + * Enforces the visibility (Show/Hide) of the Documents folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderDocuments + */ + public function getStartMenuPinnedFolderDocuments() + { + if (array_key_exists("startMenuPinnedFolderDocuments", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderDocuments"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderDocuments"])) { + return $this->_propDict["startMenuPinnedFolderDocuments"]; + } else { + $this->_propDict["startMenuPinnedFolderDocuments"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderDocuments"]); + return $this->_propDict["startMenuPinnedFolderDocuments"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderDocuments + * Enforces the visibility (Show/Hide) of the Documents folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderDocuments + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderDocuments($val) + { + $this->_propDict["startMenuPinnedFolderDocuments"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderDownloads + * Enforces the visibility (Show/Hide) of the Downloads folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderDownloads + */ + public function getStartMenuPinnedFolderDownloads() + { + if (array_key_exists("startMenuPinnedFolderDownloads", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderDownloads"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderDownloads"])) { + return $this->_propDict["startMenuPinnedFolderDownloads"]; + } else { + $this->_propDict["startMenuPinnedFolderDownloads"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderDownloads"]); + return $this->_propDict["startMenuPinnedFolderDownloads"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderDownloads + * Enforces the visibility (Show/Hide) of the Downloads folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderDownloads + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderDownloads($val) + { + $this->_propDict["startMenuPinnedFolderDownloads"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderFileExplorer + * Enforces the visibility (Show/Hide) of the FileExplorer shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderFileExplorer + */ + public function getStartMenuPinnedFolderFileExplorer() + { + if (array_key_exists("startMenuPinnedFolderFileExplorer", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderFileExplorer"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderFileExplorer"])) { + return $this->_propDict["startMenuPinnedFolderFileExplorer"]; + } else { + $this->_propDict["startMenuPinnedFolderFileExplorer"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderFileExplorer"]); + return $this->_propDict["startMenuPinnedFolderFileExplorer"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderFileExplorer + * Enforces the visibility (Show/Hide) of the FileExplorer shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderFileExplorer + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderFileExplorer($val) + { + $this->_propDict["startMenuPinnedFolderFileExplorer"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderHomeGroup + * Enforces the visibility (Show/Hide) of the HomeGroup folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderHomeGroup + */ + public function getStartMenuPinnedFolderHomeGroup() + { + if (array_key_exists("startMenuPinnedFolderHomeGroup", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderHomeGroup"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderHomeGroup"])) { + return $this->_propDict["startMenuPinnedFolderHomeGroup"]; + } else { + $this->_propDict["startMenuPinnedFolderHomeGroup"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderHomeGroup"]); + return $this->_propDict["startMenuPinnedFolderHomeGroup"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderHomeGroup + * Enforces the visibility (Show/Hide) of the HomeGroup folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderHomeGroup + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderHomeGroup($val) + { + $this->_propDict["startMenuPinnedFolderHomeGroup"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderMusic + * Enforces the visibility (Show/Hide) of the Music folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderMusic + */ + public function getStartMenuPinnedFolderMusic() + { + if (array_key_exists("startMenuPinnedFolderMusic", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderMusic"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderMusic"])) { + return $this->_propDict["startMenuPinnedFolderMusic"]; + } else { + $this->_propDict["startMenuPinnedFolderMusic"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderMusic"]); + return $this->_propDict["startMenuPinnedFolderMusic"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderMusic + * Enforces the visibility (Show/Hide) of the Music folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderMusic + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderMusic($val) + { + $this->_propDict["startMenuPinnedFolderMusic"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderNetwork + * Enforces the visibility (Show/Hide) of the Network folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderNetwork + */ + public function getStartMenuPinnedFolderNetwork() + { + if (array_key_exists("startMenuPinnedFolderNetwork", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderNetwork"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderNetwork"])) { + return $this->_propDict["startMenuPinnedFolderNetwork"]; + } else { + $this->_propDict["startMenuPinnedFolderNetwork"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderNetwork"]); + return $this->_propDict["startMenuPinnedFolderNetwork"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderNetwork + * Enforces the visibility (Show/Hide) of the Network folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderNetwork + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderNetwork($val) + { + $this->_propDict["startMenuPinnedFolderNetwork"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderPersonalFolder + * Enforces the visibility (Show/Hide) of the PersonalFolder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderPersonalFolder + */ + public function getStartMenuPinnedFolderPersonalFolder() + { + if (array_key_exists("startMenuPinnedFolderPersonalFolder", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderPersonalFolder"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderPersonalFolder"])) { + return $this->_propDict["startMenuPinnedFolderPersonalFolder"]; + } else { + $this->_propDict["startMenuPinnedFolderPersonalFolder"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderPersonalFolder"]); + return $this->_propDict["startMenuPinnedFolderPersonalFolder"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderPersonalFolder + * Enforces the visibility (Show/Hide) of the PersonalFolder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderPersonalFolder + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderPersonalFolder($val) + { + $this->_propDict["startMenuPinnedFolderPersonalFolder"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderPictures + * Enforces the visibility (Show/Hide) of the Pictures folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderPictures + */ + public function getStartMenuPinnedFolderPictures() + { + if (array_key_exists("startMenuPinnedFolderPictures", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderPictures"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderPictures"])) { + return $this->_propDict["startMenuPinnedFolderPictures"]; + } else { + $this->_propDict["startMenuPinnedFolderPictures"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderPictures"]); + return $this->_propDict["startMenuPinnedFolderPictures"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderPictures + * Enforces the visibility (Show/Hide) of the Pictures folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderPictures + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderPictures($val) + { + $this->_propDict["startMenuPinnedFolderPictures"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderSettings + * Enforces the visibility (Show/Hide) of the Settings folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderSettings + */ + public function getStartMenuPinnedFolderSettings() + { + if (array_key_exists("startMenuPinnedFolderSettings", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderSettings"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderSettings"])) { + return $this->_propDict["startMenuPinnedFolderSettings"]; + } else { + $this->_propDict["startMenuPinnedFolderSettings"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderSettings"]); + return $this->_propDict["startMenuPinnedFolderSettings"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderSettings + * Enforces the visibility (Show/Hide) of the Settings folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderSettings + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderSettings($val) + { + $this->_propDict["startMenuPinnedFolderSettings"] = $val; + return $this; + } + + /** + * Gets the startMenuPinnedFolderVideos + * Enforces the visibility (Show/Hide) of the Videos folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @return VisibilitySetting|null The startMenuPinnedFolderVideos + */ + public function getStartMenuPinnedFolderVideos() + { + if (array_key_exists("startMenuPinnedFolderVideos", $this->_propDict)) { + if (is_a($this->_propDict["startMenuPinnedFolderVideos"], "\Microsoft\Graph\Model\VisibilitySetting") || is_null($this->_propDict["startMenuPinnedFolderVideos"])) { + return $this->_propDict["startMenuPinnedFolderVideos"]; + } else { + $this->_propDict["startMenuPinnedFolderVideos"] = new VisibilitySetting($this->_propDict["startMenuPinnedFolderVideos"]); + return $this->_propDict["startMenuPinnedFolderVideos"]; + } + } + return null; + } + + /** + * Sets the startMenuPinnedFolderVideos + * Enforces the visibility (Show/Hide) of the Videos folder shortcut on the Start menu. Possible values are: notConfigured, hide, show. + * + * @param VisibilitySetting $val The startMenuPinnedFolderVideos + * + * @return Windows10GeneralConfiguration + */ + public function setStartMenuPinnedFolderVideos($val) + { + $this->_propDict["startMenuPinnedFolderVideos"] = $val; + return $this; + } + + /** + * Gets the storageBlockRemovableStorage + * Indicates whether or not to Block the user from using removable storage. + * + * @return bool|null The storageBlockRemovableStorage + */ + public function getStorageBlockRemovableStorage() + { + if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) { + return $this->_propDict["storageBlockRemovableStorage"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockRemovableStorage + * Indicates whether or not to Block the user from using removable storage. + * + * @param bool $val The storageBlockRemovableStorage + * + * @return Windows10GeneralConfiguration + */ + public function setStorageBlockRemovableStorage($val) + { + $this->_propDict["storageBlockRemovableStorage"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireMobileDeviceEncryption + * Indicating whether or not to require encryption on a mobile device. + * + * @return bool|null The storageRequireMobileDeviceEncryption + */ + public function getStorageRequireMobileDeviceEncryption() + { + if (array_key_exists("storageRequireMobileDeviceEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireMobileDeviceEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireMobileDeviceEncryption + * Indicating whether or not to require encryption on a mobile device. + * + * @param bool $val The storageRequireMobileDeviceEncryption + * + * @return Windows10GeneralConfiguration + */ + public function setStorageRequireMobileDeviceEncryption($val) + { + $this->_propDict["storageRequireMobileDeviceEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the storageRestrictAppDataToSystemVolume + * Indicates whether application data is restricted to the system drive. + * + * @return bool|null The storageRestrictAppDataToSystemVolume + */ + public function getStorageRestrictAppDataToSystemVolume() + { + if (array_key_exists("storageRestrictAppDataToSystemVolume", $this->_propDict)) { + return $this->_propDict["storageRestrictAppDataToSystemVolume"]; + } else { + return null; + } + } + + /** + * Sets the storageRestrictAppDataToSystemVolume + * Indicates whether application data is restricted to the system drive. + * + * @param bool $val The storageRestrictAppDataToSystemVolume + * + * @return Windows10GeneralConfiguration + */ + public function setStorageRestrictAppDataToSystemVolume($val) + { + $this->_propDict["storageRestrictAppDataToSystemVolume"] = boolval($val); + return $this; + } + + /** + * Gets the storageRestrictAppInstallToSystemVolume + * Indicates whether the installation of applications is restricted to the system drive. + * + * @return bool|null The storageRestrictAppInstallToSystemVolume + */ + public function getStorageRestrictAppInstallToSystemVolume() + { + if (array_key_exists("storageRestrictAppInstallToSystemVolume", $this->_propDict)) { + return $this->_propDict["storageRestrictAppInstallToSystemVolume"]; + } else { + return null; + } + } + + /** + * Sets the storageRestrictAppInstallToSystemVolume + * Indicates whether the installation of applications is restricted to the system drive. + * + * @param bool $val The storageRestrictAppInstallToSystemVolume + * + * @return Windows10GeneralConfiguration + */ + public function setStorageRestrictAppInstallToSystemVolume($val) + { + $this->_propDict["storageRestrictAppInstallToSystemVolume"] = boolval($val); + return $this; + } + + /** + * Gets the tenantLockdownRequireNetworkDuringOutOfBoxExperience + * Whether the device is required to connect to the network. + * + * @return bool|null The tenantLockdownRequireNetworkDuringOutOfBoxExperience + */ + public function getTenantLockdownRequireNetworkDuringOutOfBoxExperience() + { + if (array_key_exists("tenantLockdownRequireNetworkDuringOutOfBoxExperience", $this->_propDict)) { + return $this->_propDict["tenantLockdownRequireNetworkDuringOutOfBoxExperience"]; + } else { + return null; + } + } + + /** + * Sets the tenantLockdownRequireNetworkDuringOutOfBoxExperience + * Whether the device is required to connect to the network. + * + * @param bool $val The tenantLockdownRequireNetworkDuringOutOfBoxExperience + * + * @return Windows10GeneralConfiguration + */ + public function setTenantLockdownRequireNetworkDuringOutOfBoxExperience($val) + { + $this->_propDict["tenantLockdownRequireNetworkDuringOutOfBoxExperience"] = boolval($val); + return $this; + } + + /** + * Gets the usbBlocked + * Indicates whether or not to Block the user from USB connection. + * + * @return bool|null The usbBlocked + */ + public function getUsbBlocked() + { + if (array_key_exists("usbBlocked", $this->_propDict)) { + return $this->_propDict["usbBlocked"]; + } else { + return null; + } + } + + /** + * Sets the usbBlocked + * Indicates whether or not to Block the user from USB connection. + * + * @param bool $val The usbBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setUsbBlocked($val) + { + $this->_propDict["usbBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the voiceRecordingBlocked + * Indicates whether or not to Block the user from voice recording. + * + * @return bool|null The voiceRecordingBlocked + */ + public function getVoiceRecordingBlocked() + { + if (array_key_exists("voiceRecordingBlocked", $this->_propDict)) { + return $this->_propDict["voiceRecordingBlocked"]; + } else { + return null; + } + } + + /** + * Sets the voiceRecordingBlocked + * Indicates whether or not to Block the user from voice recording. + * + * @param bool $val The voiceRecordingBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setVoiceRecordingBlocked($val) + { + $this->_propDict["voiceRecordingBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the webRtcBlockLocalhostIpAddress + * Indicates whether or not user's localhost IP address is displayed while making phone calls using the WebRTC + * + * @return bool|null The webRtcBlockLocalhostIpAddress + */ + public function getWebRtcBlockLocalhostIpAddress() + { + if (array_key_exists("webRtcBlockLocalhostIpAddress", $this->_propDict)) { + return $this->_propDict["webRtcBlockLocalhostIpAddress"]; + } else { + return null; + } + } + + /** + * Sets the webRtcBlockLocalhostIpAddress + * Indicates whether or not user's localhost IP address is displayed while making phone calls using the WebRTC + * + * @param bool $val The webRtcBlockLocalhostIpAddress + * + * @return Windows10GeneralConfiguration + */ + public function setWebRtcBlockLocalhostIpAddress($val) + { + $this->_propDict["webRtcBlockLocalhostIpAddress"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiBlockAutomaticConnectHotspots + * Indicating whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The wiFiBlockAutomaticConnectHotspots + */ + public function getWiFiBlockAutomaticConnectHotspots() + { + if (array_key_exists("wiFiBlockAutomaticConnectHotspots", $this->_propDict)) { + return $this->_propDict["wiFiBlockAutomaticConnectHotspots"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlockAutomaticConnectHotspots + * Indicating whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The wiFiBlockAutomaticConnectHotspots + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiBlockAutomaticConnectHotspots($val) + { + $this->_propDict["wiFiBlockAutomaticConnectHotspots"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiBlocked + * Indicates whether or not to Block the user from using Wi-Fi. + * + * @return bool|null The wiFiBlocked + */ + public function getWiFiBlocked() + { + if (array_key_exists("wiFiBlocked", $this->_propDict)) { + return $this->_propDict["wiFiBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlocked + * Indicates whether or not to Block the user from using Wi-Fi. + * + * @param bool $val The wiFiBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiBlocked($val) + { + $this->_propDict["wiFiBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiBlockManualConfiguration + * Indicates whether or not to Block the user from using Wi-Fi manual configuration. + * + * @return bool|null The wiFiBlockManualConfiguration + */ + public function getWiFiBlockManualConfiguration() + { + if (array_key_exists("wiFiBlockManualConfiguration", $this->_propDict)) { + return $this->_propDict["wiFiBlockManualConfiguration"]; + } else { + return null; + } + } + + /** + * Sets the wiFiBlockManualConfiguration + * Indicates whether or not to Block the user from using Wi-Fi manual configuration. + * + * @param bool $val The wiFiBlockManualConfiguration + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiBlockManualConfiguration($val) + { + $this->_propDict["wiFiBlockManualConfiguration"] = boolval($val); + return $this; + } + + /** + * Gets the wiFiScanInterval + * Specify how often devices scan for Wi-Fi networks. Supported values are 1-500, where 100 = default, and 500 = low frequency. Valid values 1 to 500 + * + * @return int|null The wiFiScanInterval + */ + public function getWiFiScanInterval() + { + if (array_key_exists("wiFiScanInterval", $this->_propDict)) { + return $this->_propDict["wiFiScanInterval"]; + } else { + return null; + } + } + + /** + * Sets the wiFiScanInterval + * Specify how often devices scan for Wi-Fi networks. Supported values are 1-500, where 100 = default, and 500 = low frequency. Valid values 1 to 500 + * + * @param int $val The wiFiScanInterval + * + * @return Windows10GeneralConfiguration + */ + public function setWiFiScanInterval($val) + { + $this->_propDict["wiFiScanInterval"] = intval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockConsumerSpecificFeatures + * Allows IT admins to block experiences that are typically for consumers only, such as Start suggestions, Membership notifications, Post-OOBE app install and redirect tiles. + * + * @return bool|null The windowsSpotlightBlockConsumerSpecificFeatures + */ + public function getWindowsSpotlightBlockConsumerSpecificFeatures() + { + if (array_key_exists("windowsSpotlightBlockConsumerSpecificFeatures", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockConsumerSpecificFeatures"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockConsumerSpecificFeatures + * Allows IT admins to block experiences that are typically for consumers only, such as Start suggestions, Membership notifications, Post-OOBE app install and redirect tiles. + * + * @param bool $val The windowsSpotlightBlockConsumerSpecificFeatures + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockConsumerSpecificFeatures($val) + { + $this->_propDict["windowsSpotlightBlockConsumerSpecificFeatures"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlocked + * Allows IT admins to turn off all Windows Spotlight features + * + * @return bool|null The windowsSpotlightBlocked + */ + public function getWindowsSpotlightBlocked() + { + if (array_key_exists("windowsSpotlightBlocked", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlocked + * Allows IT admins to turn off all Windows Spotlight features + * + * @param bool $val The windowsSpotlightBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlocked($val) + { + $this->_propDict["windowsSpotlightBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockOnActionCenter + * Block suggestions from Microsoft that show after each OS clean install, upgrade or in an on-going basis to introduce users to what is new or changed + * + * @return bool|null The windowsSpotlightBlockOnActionCenter + */ + public function getWindowsSpotlightBlockOnActionCenter() + { + if (array_key_exists("windowsSpotlightBlockOnActionCenter", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockOnActionCenter"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockOnActionCenter + * Block suggestions from Microsoft that show after each OS clean install, upgrade or in an on-going basis to introduce users to what is new or changed + * + * @param bool $val The windowsSpotlightBlockOnActionCenter + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockOnActionCenter($val) + { + $this->_propDict["windowsSpotlightBlockOnActionCenter"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockTailoredExperiences + * Block personalized content in Windows spotlight based on user’s device usage. + * + * @return bool|null The windowsSpotlightBlockTailoredExperiences + */ + public function getWindowsSpotlightBlockTailoredExperiences() + { + if (array_key_exists("windowsSpotlightBlockTailoredExperiences", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockTailoredExperiences"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockTailoredExperiences + * Block personalized content in Windows spotlight based on user’s device usage. + * + * @param bool $val The windowsSpotlightBlockTailoredExperiences + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockTailoredExperiences($val) + { + $this->_propDict["windowsSpotlightBlockTailoredExperiences"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockThirdPartyNotifications + * Block third party content delivered via Windows Spotlight + * + * @return bool|null The windowsSpotlightBlockThirdPartyNotifications + */ + public function getWindowsSpotlightBlockThirdPartyNotifications() + { + if (array_key_exists("windowsSpotlightBlockThirdPartyNotifications", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockThirdPartyNotifications"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockThirdPartyNotifications + * Block third party content delivered via Windows Spotlight + * + * @param bool $val The windowsSpotlightBlockThirdPartyNotifications + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockThirdPartyNotifications($val) + { + $this->_propDict["windowsSpotlightBlockThirdPartyNotifications"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockWelcomeExperience + * Block Windows Spotlight Windows welcome experience + * + * @return bool|null The windowsSpotlightBlockWelcomeExperience + */ + public function getWindowsSpotlightBlockWelcomeExperience() + { + if (array_key_exists("windowsSpotlightBlockWelcomeExperience", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockWelcomeExperience"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockWelcomeExperience + * Block Windows Spotlight Windows welcome experience + * + * @param bool $val The windowsSpotlightBlockWelcomeExperience + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockWelcomeExperience($val) + { + $this->_propDict["windowsSpotlightBlockWelcomeExperience"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightBlockWindowsTips + * Allows IT admins to turn off the popup of Windows Tips. + * + * @return bool|null The windowsSpotlightBlockWindowsTips + */ + public function getWindowsSpotlightBlockWindowsTips() + { + if (array_key_exists("windowsSpotlightBlockWindowsTips", $this->_propDict)) { + return $this->_propDict["windowsSpotlightBlockWindowsTips"]; + } else { + return null; + } + } + + /** + * Sets the windowsSpotlightBlockWindowsTips + * Allows IT admins to turn off the popup of Windows Tips. + * + * @param bool $val The windowsSpotlightBlockWindowsTips + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightBlockWindowsTips($val) + { + $this->_propDict["windowsSpotlightBlockWindowsTips"] = boolval($val); + return $this; + } + + /** + * Gets the windowsSpotlightConfigureOnLockScreen + * Specifies the type of Spotlight. Possible values are: notConfigured, disabled, enabled. + * + * @return WindowsSpotlightEnablementSettings|null The windowsSpotlightConfigureOnLockScreen + */ + public function getWindowsSpotlightConfigureOnLockScreen() + { + if (array_key_exists("windowsSpotlightConfigureOnLockScreen", $this->_propDict)) { + if (is_a($this->_propDict["windowsSpotlightConfigureOnLockScreen"], "\Microsoft\Graph\Model\WindowsSpotlightEnablementSettings") || is_null($this->_propDict["windowsSpotlightConfigureOnLockScreen"])) { + return $this->_propDict["windowsSpotlightConfigureOnLockScreen"]; + } else { + $this->_propDict["windowsSpotlightConfigureOnLockScreen"] = new WindowsSpotlightEnablementSettings($this->_propDict["windowsSpotlightConfigureOnLockScreen"]); + return $this->_propDict["windowsSpotlightConfigureOnLockScreen"]; + } + } + return null; + } + + /** + * Sets the windowsSpotlightConfigureOnLockScreen + * Specifies the type of Spotlight. Possible values are: notConfigured, disabled, enabled. + * + * @param WindowsSpotlightEnablementSettings $val The windowsSpotlightConfigureOnLockScreen + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsSpotlightConfigureOnLockScreen($val) + { + $this->_propDict["windowsSpotlightConfigureOnLockScreen"] = $val; + return $this; + } + + /** + * Gets the windowsStoreBlockAutoUpdate + * Indicates whether or not to block automatic update of apps from Windows Store. + * + * @return bool|null The windowsStoreBlockAutoUpdate + */ + public function getWindowsStoreBlockAutoUpdate() + { + if (array_key_exists("windowsStoreBlockAutoUpdate", $this->_propDict)) { + return $this->_propDict["windowsStoreBlockAutoUpdate"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreBlockAutoUpdate + * Indicates whether or not to block automatic update of apps from Windows Store. + * + * @param bool $val The windowsStoreBlockAutoUpdate + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsStoreBlockAutoUpdate($val) + { + $this->_propDict["windowsStoreBlockAutoUpdate"] = boolval($val); + return $this; + } + + /** + * Gets the windowsStoreBlocked + * Indicates whether or not to Block the user from using the Windows store. + * + * @return bool|null The windowsStoreBlocked + */ + public function getWindowsStoreBlocked() + { + if (array_key_exists("windowsStoreBlocked", $this->_propDict)) { + return $this->_propDict["windowsStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreBlocked + * Indicates whether or not to Block the user from using the Windows store. + * + * @param bool $val The windowsStoreBlocked + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsStoreBlocked($val) + { + $this->_propDict["windowsStoreBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the windowsStoreEnablePrivateStoreOnly + * Indicates whether or not to enable Private Store Only. + * + * @return bool|null The windowsStoreEnablePrivateStoreOnly + */ + public function getWindowsStoreEnablePrivateStoreOnly() + { + if (array_key_exists("windowsStoreEnablePrivateStoreOnly", $this->_propDict)) { + return $this->_propDict["windowsStoreEnablePrivateStoreOnly"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreEnablePrivateStoreOnly + * Indicates whether or not to enable Private Store Only. + * + * @param bool $val The windowsStoreEnablePrivateStoreOnly + * + * @return Windows10GeneralConfiguration + */ + public function setWindowsStoreEnablePrivateStoreOnly($val) + { + $this->_propDict["windowsStoreEnablePrivateStoreOnly"] = boolval($val); + return $this; + } + + /** + * Gets the wirelessDisplayBlockProjectionToThisDevice + * Indicates whether or not to allow other devices from discovering this PC for projection. + * + * @return bool|null The wirelessDisplayBlockProjectionToThisDevice + */ + public function getWirelessDisplayBlockProjectionToThisDevice() + { + if (array_key_exists("wirelessDisplayBlockProjectionToThisDevice", $this->_propDict)) { + return $this->_propDict["wirelessDisplayBlockProjectionToThisDevice"]; + } else { + return null; + } + } + + /** + * Sets the wirelessDisplayBlockProjectionToThisDevice + * Indicates whether or not to allow other devices from discovering this PC for projection. + * + * @param bool $val The wirelessDisplayBlockProjectionToThisDevice + * + * @return Windows10GeneralConfiguration + */ + public function setWirelessDisplayBlockProjectionToThisDevice($val) + { + $this->_propDict["wirelessDisplayBlockProjectionToThisDevice"] = boolval($val); + return $this; + } + + /** + * Gets the wirelessDisplayBlockUserInputFromReceiver + * Indicates whether or not to allow user input from wireless display receiver. + * + * @return bool|null The wirelessDisplayBlockUserInputFromReceiver + */ + public function getWirelessDisplayBlockUserInputFromReceiver() + { + if (array_key_exists("wirelessDisplayBlockUserInputFromReceiver", $this->_propDict)) { + return $this->_propDict["wirelessDisplayBlockUserInputFromReceiver"]; + } else { + return null; + } + } + + /** + * Sets the wirelessDisplayBlockUserInputFromReceiver + * Indicates whether or not to allow user input from wireless display receiver. + * + * @param bool $val The wirelessDisplayBlockUserInputFromReceiver + * + * @return Windows10GeneralConfiguration + */ + public function setWirelessDisplayBlockUserInputFromReceiver($val) + { + $this->_propDict["wirelessDisplayBlockUserInputFromReceiver"] = boolval($val); + return $this; + } + + /** + * Gets the wirelessDisplayRequirePinForPairing + * Indicates whether or not to require a PIN for new devices to initiate pairing. + * + * @return bool|null The wirelessDisplayRequirePinForPairing + */ + public function getWirelessDisplayRequirePinForPairing() + { + if (array_key_exists("wirelessDisplayRequirePinForPairing", $this->_propDict)) { + return $this->_propDict["wirelessDisplayRequirePinForPairing"]; + } else { + return null; + } + } + + /** + * Sets the wirelessDisplayRequirePinForPairing + * Indicates whether or not to require a PIN for new devices to initiate pairing. + * + * @param bool $val The wirelessDisplayRequirePinForPairing + * + * @return Windows10GeneralConfiguration + */ + public function setWirelessDisplayRequirePinForPairing($val) + { + $this->_propDict["wirelessDisplayRequirePinForPairing"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10MobileCompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10MobileCompliancePolicy.php new file mode 100644 index 0000000..fcbd60f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10MobileCompliancePolicy.php @@ -0,0 +1,495 @@ +_propDict)) { + return $this->_propDict["bitLockerEnabled"]; + } else { + return null; + } + } + + /** + * Sets the bitLockerEnabled + * Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled + * + * @param bool $val The bitLockerEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setBitLockerEnabled($val) + { + $this->_propDict["bitLockerEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @return bool|null The codeIntegrityEnabled + */ + public function getCodeIntegrityEnabled() + { + if (array_key_exists("codeIntegrityEnabled", $this->_propDict)) { + return $this->_propDict["codeIntegrityEnabled"]; + } else { + return null; + } + } + + /** + * Sets the codeIntegrityEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation. + * + * @param bool $val The codeIntegrityEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setCodeIntegrityEnabled($val) + { + $this->_propDict["codeIntegrityEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @return bool|null The earlyLaunchAntiMalwareDriverEnabled + */ + public function getEarlyLaunchAntiMalwareDriverEnabled() + { + if (array_key_exists("earlyLaunchAntiMalwareDriverEnabled", $this->_propDict)) { + return $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"]; + } else { + return null; + } + } + + /** + * Sets the earlyLaunchAntiMalwareDriverEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled. + * + * @param bool $val The earlyLaunchAntiMalwareDriverEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setEarlyLaunchAntiMalwareDriverEnabled($val) + { + $this->_propDict["earlyLaunchAntiMalwareDriverEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the osMaximumVersion + * Maximum Windows Phone version. + * + * @return string|null The osMaximumVersion + */ + public function getOsMaximumVersion() + { + if (array_key_exists("osMaximumVersion", $this->_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows Phone version. + * + * @param string $val The osMaximumVersion + * + * @return Windows10MobileCompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows Phone version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows Phone version. + * + * @param string $val The osMinimumVersion + * + * @return Windows10MobileCompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before password expiration. Valid values 1 to 255 + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before password expiration. Valid values 1 to 255 + * + * @param int $val The passwordExpirationDays + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum password length. Valid values 4 to 16 + * + * @param int $val The passwordMinimumLength + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock Windows Phone device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock Windows Phone device. + * + * @param bool $val The passwordRequired + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordRequireToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @return bool|null The passwordRequireToUnlockFromIdle + */ + public function getPasswordRequireToUnlockFromIdle() + { + if (array_key_exists("passwordRequireToUnlockFromIdle", $this->_propDict)) { + return $this->_propDict["passwordRequireToUnlockFromIdle"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequireToUnlockFromIdle + * Require a password to unlock an idle device. + * + * @param bool $val The passwordRequireToUnlockFromIdle + * + * @return Windows10MobileCompliancePolicy + */ + public function setPasswordRequireToUnlockFromIdle($val) + { + $this->_propDict["passwordRequireToUnlockFromIdle"] = boolval($val); + return $this; + } + + /** + * Gets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @return bool|null The secureBootEnabled + */ + public function getSecureBootEnabled() + { + if (array_key_exists("secureBootEnabled", $this->_propDict)) { + return $this->_propDict["secureBootEnabled"]; + } else { + return null; + } + } + + /** + * Sets the secureBootEnabled + * Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled. + * + * @param bool $val The secureBootEnabled + * + * @return Windows10MobileCompliancePolicy + */ + public function setSecureBootEnabled($val) + { + $this->_propDict["secureBootEnabled"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on windows devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on windows devices. + * + * @param bool $val The storageRequireEncryption + * + * @return Windows10MobileCompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10NetworkProxyServer.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10NetworkProxyServer.php new file mode 100644 index 0000000..3209ba9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10NetworkProxyServer.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * Address to the proxy server. Specify an address in the format [':'] + * + * @param string $val The value of the address + * + * @return Windows10NetworkProxyServer + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the exceptions + * Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node. + * + * @return string|null The exceptions + */ + public function getExceptions() + { + if (array_key_exists("exceptions", $this->_propDict)) { + return $this->_propDict["exceptions"]; + } else { + return null; + } + } + + /** + * Sets the exceptions + * Addresses that should not use the proxy server. The system will not use the proxy server for addresses beginning with what is specified in this node. + * + * @param string $val The value of the exceptions + * + * @return Windows10NetworkProxyServer + */ + public function setExceptions($val) + { + $this->_propDict["exceptions"] = $val; + return $this; + } + /** + * Gets the useForLocalAddresses + * Specifies whether the proxy server should be used for local (intranet) addresses. + * + * @return bool|null The useForLocalAddresses + */ + public function getUseForLocalAddresses() + { + if (array_key_exists("useForLocalAddresses", $this->_propDict)) { + return $this->_propDict["useForLocalAddresses"]; + } else { + return null; + } + } + + /** + * Sets the useForLocalAddresses + * Specifies whether the proxy server should be used for local (intranet) addresses. + * + * @param bool $val The value of the useForLocalAddresses + * + * @return Windows10NetworkProxyServer + */ + public function setUseForLocalAddresses($val) + { + $this->_propDict["useForLocalAddresses"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10SecureAssessmentConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10SecureAssessmentConfiguration.php new file mode 100644 index 0000000..10a40f0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10SecureAssessmentConfiguration.php @@ -0,0 +1,172 @@ +_propDict)) { + return $this->_propDict["allowPrinting"]; + } else { + return null; + } + } + + /** + * Sets the allowPrinting + * Indicates whether or not to allow the app from printing during the test. + * + * @param bool $val The allowPrinting + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAllowPrinting($val) + { + $this->_propDict["allowPrinting"] = boolval($val); + return $this; + } + + /** + * Gets the allowScreenCapture + * Indicates whether or not to allow screen capture capability during a test. + * + * @return bool|null The allowScreenCapture + */ + public function getAllowScreenCapture() + { + if (array_key_exists("allowScreenCapture", $this->_propDict)) { + return $this->_propDict["allowScreenCapture"]; + } else { + return null; + } + } + + /** + * Sets the allowScreenCapture + * Indicates whether or not to allow screen capture capability during a test. + * + * @param bool $val The allowScreenCapture + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAllowScreenCapture($val) + { + $this->_propDict["allowScreenCapture"] = boolval($val); + return $this; + } + + /** + * Gets the allowTextSuggestion + * Indicates whether or not to allow text suggestions during the test. + * + * @return bool|null The allowTextSuggestion + */ + public function getAllowTextSuggestion() + { + if (array_key_exists("allowTextSuggestion", $this->_propDict)) { + return $this->_propDict["allowTextSuggestion"]; + } else { + return null; + } + } + + /** + * Sets the allowTextSuggestion + * Indicates whether or not to allow text suggestions during the test. + * + * @param bool $val The allowTextSuggestion + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setAllowTextSuggestion($val) + { + $this->_propDict["allowTextSuggestion"] = boolval($val); + return $this; + } + + /** + * Gets the configurationAccount + * The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account (username@tenant.com) or a local account (username). + * + * @return string|null The configurationAccount + */ + public function getConfigurationAccount() + { + if (array_key_exists("configurationAccount", $this->_propDict)) { + return $this->_propDict["configurationAccount"]; + } else { + return null; + } + } + + /** + * Sets the configurationAccount + * The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account (username@tenant.com) or a local account (username). + * + * @param string $val The configurationAccount + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setConfigurationAccount($val) + { + $this->_propDict["configurationAccount"] = $val; + return $this; + } + + /** + * Gets the launchUri + * Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/). + * + * @return string|null The launchUri + */ + public function getLaunchUri() + { + if (array_key_exists("launchUri", $this->_propDict)) { + return $this->_propDict["launchUri"]; + } else { + return null; + } + } + + /** + * Sets the launchUri + * Url link to an assessment that's automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http[s]://msdn.microsoft.com/). + * + * @param string $val The launchUri + * + * @return Windows10SecureAssessmentConfiguration + */ + public function setLaunchUri($val) + { + $this->_propDict["launchUri"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows10TeamGeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Windows10TeamGeneralConfiguration.php new file mode 100644 index 0000000..fbd7416 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows10TeamGeneralConfiguration.php @@ -0,0 +1,619 @@ +_propDict)) { + return $this->_propDict["azureOperationalInsightsBlockTelemetry"]; + } else { + return null; + } + } + + /** + * Sets the azureOperationalInsightsBlockTelemetry + * Indicates whether or not to Block Azure Operational Insights. + * + * @param bool $val The azureOperationalInsightsBlockTelemetry + * + * @return Windows10TeamGeneralConfiguration + */ + public function setAzureOperationalInsightsBlockTelemetry($val) + { + $this->_propDict["azureOperationalInsightsBlockTelemetry"] = boolval($val); + return $this; + } + + /** + * Gets the azureOperationalInsightsWorkspaceId + * The Azure Operational Insights workspace id. + * + * @return string|null The azureOperationalInsightsWorkspaceId + */ + public function getAzureOperationalInsightsWorkspaceId() + { + if (array_key_exists("azureOperationalInsightsWorkspaceId", $this->_propDict)) { + return $this->_propDict["azureOperationalInsightsWorkspaceId"]; + } else { + return null; + } + } + + /** + * Sets the azureOperationalInsightsWorkspaceId + * The Azure Operational Insights workspace id. + * + * @param string $val The azureOperationalInsightsWorkspaceId + * + * @return Windows10TeamGeneralConfiguration + */ + public function setAzureOperationalInsightsWorkspaceId($val) + { + $this->_propDict["azureOperationalInsightsWorkspaceId"] = $val; + return $this; + } + + /** + * Gets the azureOperationalInsightsWorkspaceKey + * The Azure Operational Insights Workspace key. + * + * @return string|null The azureOperationalInsightsWorkspaceKey + */ + public function getAzureOperationalInsightsWorkspaceKey() + { + if (array_key_exists("azureOperationalInsightsWorkspaceKey", $this->_propDict)) { + return $this->_propDict["azureOperationalInsightsWorkspaceKey"]; + } else { + return null; + } + } + + /** + * Sets the azureOperationalInsightsWorkspaceKey + * The Azure Operational Insights Workspace key. + * + * @param string $val The azureOperationalInsightsWorkspaceKey + * + * @return Windows10TeamGeneralConfiguration + */ + public function setAzureOperationalInsightsWorkspaceKey($val) + { + $this->_propDict["azureOperationalInsightsWorkspaceKey"] = $val; + return $this; + } + + /** + * Gets the connectAppBlockAutoLaunch + * Specifies whether to automatically launch the Connect app whenever a projection is initiated. + * + * @return bool|null The connectAppBlockAutoLaunch + */ + public function getConnectAppBlockAutoLaunch() + { + if (array_key_exists("connectAppBlockAutoLaunch", $this->_propDict)) { + return $this->_propDict["connectAppBlockAutoLaunch"]; + } else { + return null; + } + } + + /** + * Sets the connectAppBlockAutoLaunch + * Specifies whether to automatically launch the Connect app whenever a projection is initiated. + * + * @param bool $val The connectAppBlockAutoLaunch + * + * @return Windows10TeamGeneralConfiguration + */ + public function setConnectAppBlockAutoLaunch($val) + { + $this->_propDict["connectAppBlockAutoLaunch"] = boolval($val); + return $this; + } + + /** + * Gets the maintenanceWindowBlocked + * Indicates whether or not to Block setting a maintenance window for device updates. + * + * @return bool|null The maintenanceWindowBlocked + */ + public function getMaintenanceWindowBlocked() + { + if (array_key_exists("maintenanceWindowBlocked", $this->_propDict)) { + return $this->_propDict["maintenanceWindowBlocked"]; + } else { + return null; + } + } + + /** + * Sets the maintenanceWindowBlocked + * Indicates whether or not to Block setting a maintenance window for device updates. + * + * @param bool $val The maintenanceWindowBlocked + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMaintenanceWindowBlocked($val) + { + $this->_propDict["maintenanceWindowBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the maintenanceWindowDurationInHours + * Maintenance window duration for device updates. Valid values 0 to 5 + * + * @return int|null The maintenanceWindowDurationInHours + */ + public function getMaintenanceWindowDurationInHours() + { + if (array_key_exists("maintenanceWindowDurationInHours", $this->_propDict)) { + return $this->_propDict["maintenanceWindowDurationInHours"]; + } else { + return null; + } + } + + /** + * Sets the maintenanceWindowDurationInHours + * Maintenance window duration for device updates. Valid values 0 to 5 + * + * @param int $val The maintenanceWindowDurationInHours + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMaintenanceWindowDurationInHours($val) + { + $this->_propDict["maintenanceWindowDurationInHours"] = intval($val); + return $this; + } + + /** + * Gets the maintenanceWindowStartTime + * Maintenance window start time for device updates. + * + * @return TimeOfDay|null The maintenanceWindowStartTime + */ + public function getMaintenanceWindowStartTime() + { + if (array_key_exists("maintenanceWindowStartTime", $this->_propDict)) { + if (is_a($this->_propDict["maintenanceWindowStartTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["maintenanceWindowStartTime"])) { + return $this->_propDict["maintenanceWindowStartTime"]; + } else { + $this->_propDict["maintenanceWindowStartTime"] = new TimeOfDay($this->_propDict["maintenanceWindowStartTime"]); + return $this->_propDict["maintenanceWindowStartTime"]; + } + } + return null; + } + + /** + * Sets the maintenanceWindowStartTime + * Maintenance window start time for device updates. + * + * @param TimeOfDay $val The maintenanceWindowStartTime + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMaintenanceWindowStartTime($val) + { + $this->_propDict["maintenanceWindowStartTime"] = $val; + return $this; + } + + /** + * Gets the miracastBlocked + * Indicates whether or not to Block wireless projection. + * + * @return bool|null The miracastBlocked + */ + public function getMiracastBlocked() + { + if (array_key_exists("miracastBlocked", $this->_propDict)) { + return $this->_propDict["miracastBlocked"]; + } else { + return null; + } + } + + /** + * Sets the miracastBlocked + * Indicates whether or not to Block wireless projection. + * + * @param bool $val The miracastBlocked + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMiracastBlocked($val) + { + $this->_propDict["miracastBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the miracastChannel + * The channel. Possible values are: userDefined, one, two, three, four, five, six, seven, eight, nine, ten, eleven, thirtySix, forty, fortyFour, fortyEight, oneHundredFortyNine, oneHundredFiftyThree, oneHundredFiftySeven, oneHundredSixtyOne, oneHundredSixtyFive. + * + * @return MiracastChannel|null The miracastChannel + */ + public function getMiracastChannel() + { + if (array_key_exists("miracastChannel", $this->_propDict)) { + if (is_a($this->_propDict["miracastChannel"], "\Microsoft\Graph\Model\MiracastChannel") || is_null($this->_propDict["miracastChannel"])) { + return $this->_propDict["miracastChannel"]; + } else { + $this->_propDict["miracastChannel"] = new MiracastChannel($this->_propDict["miracastChannel"]); + return $this->_propDict["miracastChannel"]; + } + } + return null; + } + + /** + * Sets the miracastChannel + * The channel. Possible values are: userDefined, one, two, three, four, five, six, seven, eight, nine, ten, eleven, thirtySix, forty, fortyFour, fortyEight, oneHundredFortyNine, oneHundredFiftyThree, oneHundredFiftySeven, oneHundredSixtyOne, oneHundredSixtyFive. + * + * @param MiracastChannel $val The miracastChannel + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMiracastChannel($val) + { + $this->_propDict["miracastChannel"] = $val; + return $this; + } + + /** + * Gets the miracastRequirePin + * Indicates whether or not to require a pin for wireless projection. + * + * @return bool|null The miracastRequirePin + */ + public function getMiracastRequirePin() + { + if (array_key_exists("miracastRequirePin", $this->_propDict)) { + return $this->_propDict["miracastRequirePin"]; + } else { + return null; + } + } + + /** + * Sets the miracastRequirePin + * Indicates whether or not to require a pin for wireless projection. + * + * @param bool $val The miracastRequirePin + * + * @return Windows10TeamGeneralConfiguration + */ + public function setMiracastRequirePin($val) + { + $this->_propDict["miracastRequirePin"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockMyMeetingsAndFiles + * Specifies whether to disable the 'My meetings and files' feature in the Start menu, which shows the signed-in user's meetings and files from Office 365. + * + * @return bool|null The settingsBlockMyMeetingsAndFiles + */ + public function getSettingsBlockMyMeetingsAndFiles() + { + if (array_key_exists("settingsBlockMyMeetingsAndFiles", $this->_propDict)) { + return $this->_propDict["settingsBlockMyMeetingsAndFiles"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockMyMeetingsAndFiles + * Specifies whether to disable the 'My meetings and files' feature in the Start menu, which shows the signed-in user's meetings and files from Office 365. + * + * @param bool $val The settingsBlockMyMeetingsAndFiles + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsBlockMyMeetingsAndFiles($val) + { + $this->_propDict["settingsBlockMyMeetingsAndFiles"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSessionResume + * Specifies whether to allow the ability to resume a session when the session times out. + * + * @return bool|null The settingsBlockSessionResume + */ + public function getSettingsBlockSessionResume() + { + if (array_key_exists("settingsBlockSessionResume", $this->_propDict)) { + return $this->_propDict["settingsBlockSessionResume"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSessionResume + * Specifies whether to allow the ability to resume a session when the session times out. + * + * @param bool $val The settingsBlockSessionResume + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsBlockSessionResume($val) + { + $this->_propDict["settingsBlockSessionResume"] = boolval($val); + return $this; + } + + /** + * Gets the settingsBlockSigninSuggestions + * Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings. + * + * @return bool|null The settingsBlockSigninSuggestions + */ + public function getSettingsBlockSigninSuggestions() + { + if (array_key_exists("settingsBlockSigninSuggestions", $this->_propDict)) { + return $this->_propDict["settingsBlockSigninSuggestions"]; + } else { + return null; + } + } + + /** + * Sets the settingsBlockSigninSuggestions + * Specifies whether to disable auto-populating of the sign-in dialog with invitees from scheduled meetings. + * + * @param bool $val The settingsBlockSigninSuggestions + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsBlockSigninSuggestions($val) + { + $this->_propDict["settingsBlockSigninSuggestions"] = boolval($val); + return $this; + } + + /** + * Gets the settingsDefaultVolume + * Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100 + * + * @return int|null The settingsDefaultVolume + */ + public function getSettingsDefaultVolume() + { + if (array_key_exists("settingsDefaultVolume", $this->_propDict)) { + return $this->_propDict["settingsDefaultVolume"]; + } else { + return null; + } + } + + /** + * Sets the settingsDefaultVolume + * Specifies the default volume value for a new session. Permitted values are 0-100. The default is 45. Valid values 0 to 100 + * + * @param int $val The settingsDefaultVolume + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsDefaultVolume($val) + { + $this->_propDict["settingsDefaultVolume"] = intval($val); + return $this; + } + + /** + * Gets the settingsScreenTimeoutInMinutes + * Specifies the number of minutes until the Hub screen turns off. + * + * @return int|null The settingsScreenTimeoutInMinutes + */ + public function getSettingsScreenTimeoutInMinutes() + { + if (array_key_exists("settingsScreenTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["settingsScreenTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the settingsScreenTimeoutInMinutes + * Specifies the number of minutes until the Hub screen turns off. + * + * @param int $val The settingsScreenTimeoutInMinutes + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsScreenTimeoutInMinutes($val) + { + $this->_propDict["settingsScreenTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the settingsSessionTimeoutInMinutes + * Specifies the number of minutes until the session times out. + * + * @return int|null The settingsSessionTimeoutInMinutes + */ + public function getSettingsSessionTimeoutInMinutes() + { + if (array_key_exists("settingsSessionTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["settingsSessionTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the settingsSessionTimeoutInMinutes + * Specifies the number of minutes until the session times out. + * + * @param int $val The settingsSessionTimeoutInMinutes + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsSessionTimeoutInMinutes($val) + { + $this->_propDict["settingsSessionTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the settingsSleepTimeoutInMinutes + * Specifies the number of minutes until the Hub enters sleep mode. + * + * @return int|null The settingsSleepTimeoutInMinutes + */ + public function getSettingsSleepTimeoutInMinutes() + { + if (array_key_exists("settingsSleepTimeoutInMinutes", $this->_propDict)) { + return $this->_propDict["settingsSleepTimeoutInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the settingsSleepTimeoutInMinutes + * Specifies the number of minutes until the Hub enters sleep mode. + * + * @param int $val The settingsSleepTimeoutInMinutes + * + * @return Windows10TeamGeneralConfiguration + */ + public function setSettingsSleepTimeoutInMinutes($val) + { + $this->_propDict["settingsSleepTimeoutInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the welcomeScreenBackgroundImageUrl + * The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image. + * + * @return string|null The welcomeScreenBackgroundImageUrl + */ + public function getWelcomeScreenBackgroundImageUrl() + { + if (array_key_exists("welcomeScreenBackgroundImageUrl", $this->_propDict)) { + return $this->_propDict["welcomeScreenBackgroundImageUrl"]; + } else { + return null; + } + } + + /** + * Sets the welcomeScreenBackgroundImageUrl + * The welcome screen background image URL. The URL must use the HTTPS protocol and return a PNG image. + * + * @param string $val The welcomeScreenBackgroundImageUrl + * + * @return Windows10TeamGeneralConfiguration + */ + public function setWelcomeScreenBackgroundImageUrl($val) + { + $this->_propDict["welcomeScreenBackgroundImageUrl"] = $val; + return $this; + } + + /** + * Gets the welcomeScreenBlockAutomaticWakeUp + * Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room. + * + * @return bool|null The welcomeScreenBlockAutomaticWakeUp + */ + public function getWelcomeScreenBlockAutomaticWakeUp() + { + if (array_key_exists("welcomeScreenBlockAutomaticWakeUp", $this->_propDict)) { + return $this->_propDict["welcomeScreenBlockAutomaticWakeUp"]; + } else { + return null; + } + } + + /** + * Sets the welcomeScreenBlockAutomaticWakeUp + * Indicates whether or not to Block the welcome screen from waking up automatically when someone enters the room. + * + * @param bool $val The welcomeScreenBlockAutomaticWakeUp + * + * @return Windows10TeamGeneralConfiguration + */ + public function setWelcomeScreenBlockAutomaticWakeUp($val) + { + $this->_propDict["welcomeScreenBlockAutomaticWakeUp"] = boolval($val); + return $this; + } + + /** + * Gets the welcomeScreenMeetingInformation + * The welcome screen meeting information shown. Possible values are: userDefined, showOrganizerAndTimeOnly, showOrganizerAndTimeAndSubject. + * + * @return WelcomeScreenMeetingInformation|null The welcomeScreenMeetingInformation + */ + public function getWelcomeScreenMeetingInformation() + { + if (array_key_exists("welcomeScreenMeetingInformation", $this->_propDict)) { + if (is_a($this->_propDict["welcomeScreenMeetingInformation"], "\Microsoft\Graph\Model\WelcomeScreenMeetingInformation") || is_null($this->_propDict["welcomeScreenMeetingInformation"])) { + return $this->_propDict["welcomeScreenMeetingInformation"]; + } else { + $this->_propDict["welcomeScreenMeetingInformation"] = new WelcomeScreenMeetingInformation($this->_propDict["welcomeScreenMeetingInformation"]); + return $this->_propDict["welcomeScreenMeetingInformation"]; + } + } + return null; + } + + /** + * Sets the welcomeScreenMeetingInformation + * The welcome screen meeting information shown. Possible values are: userDefined, showOrganizerAndTimeOnly, showOrganizerAndTimeAndSubject. + * + * @param WelcomeScreenMeetingInformation $val The welcomeScreenMeetingInformation + * + * @return Windows10TeamGeneralConfiguration + */ + public function setWelcomeScreenMeetingInformation($val) + { + $this->_propDict["welcomeScreenMeetingInformation"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows81CompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/Windows81CompliancePolicy.php new file mode 100644 index 0000000..a46bf46 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows81CompliancePolicy.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows 8.1 version. + * + * @param string $val The osMaximumVersion + * + * @return Windows81CompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows 8.1 version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows 8.1 version. + * + * @param string $val The osMinimumVersion + * + * @return Windows81CompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block simple password. + * + * @param bool $val The passwordBlockSimple + * + * @return Windows81CompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Password expiration in days. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Password expiration in days. + * + * @param int $val The passwordExpirationDays + * + * @return Windows81CompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows81CompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. + * + * @param int $val The passwordMinimumLength + * + * @return Windows81CompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return Windows81CompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows81CompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Require a password to unlock Windows device. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Require a password to unlock Windows device. + * + * @param bool $val The passwordRequired + * + * @return Windows81CompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows81CompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the storageRequireEncryption + * Indicates whether or not to require encryption on a windows 8.1 device. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Indicates whether or not to require encryption on a windows 8.1 device. + * + * @param bool $val The storageRequireEncryption + * + * @return Windows81CompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Windows81GeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/Windows81GeneralConfiguration.php new file mode 100644 index 0000000..3dcb90e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/Windows81GeneralConfiguration.php @@ -0,0 +1,1004 @@ +_propDict)) { + return $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"]; + } else { + return null; + } + } + + /** + * Sets the accountsBlockAddingNonMicrosoftAccountEmail + * Indicates whether or not to Block the user from adding email accounts to the device that are not associated with a Microsoft account. + * + * @param bool $val The accountsBlockAddingNonMicrosoftAccountEmail + * + * @return Windows81GeneralConfiguration + */ + public function setAccountsBlockAddingNonMicrosoftAccountEmail($val) + { + $this->_propDict["accountsBlockAddingNonMicrosoftAccountEmail"] = boolval($val); + return $this; + } + + /** + * Gets the applyOnlyToWindows81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @return bool|null The applyOnlyToWindows81 + */ + public function getApplyOnlyToWindows81() + { + if (array_key_exists("applyOnlyToWindows81", $this->_propDict)) { + return $this->_propDict["applyOnlyToWindows81"]; + } else { + return null; + } + } + + /** + * Sets the applyOnlyToWindows81 + * Value indicating whether this policy only applies to Windows 8.1. This property is read-only. + * + * @param bool $val The applyOnlyToWindows81 + * + * @return Windows81GeneralConfiguration + */ + public function setApplyOnlyToWindows81($val) + { + $this->_propDict["applyOnlyToWindows81"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockAutofill + * Indicates whether or not to block auto fill. + * + * @return bool|null The browserBlockAutofill + */ + public function getBrowserBlockAutofill() + { + if (array_key_exists("browserBlockAutofill", $this->_propDict)) { + return $this->_propDict["browserBlockAutofill"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockAutofill + * Indicates whether or not to block auto fill. + * + * @param bool $val The browserBlockAutofill + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockAutofill($val) + { + $this->_propDict["browserBlockAutofill"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockAutomaticDetectionOfIntranetSites + * Indicates whether or not to block automatic detection of Intranet sites. + * + * @return bool|null The browserBlockAutomaticDetectionOfIntranetSites + */ + public function getBrowserBlockAutomaticDetectionOfIntranetSites() + { + if (array_key_exists("browserBlockAutomaticDetectionOfIntranetSites", $this->_propDict)) { + return $this->_propDict["browserBlockAutomaticDetectionOfIntranetSites"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockAutomaticDetectionOfIntranetSites + * Indicates whether or not to block automatic detection of Intranet sites. + * + * @param bool $val The browserBlockAutomaticDetectionOfIntranetSites + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockAutomaticDetectionOfIntranetSites($val) + { + $this->_propDict["browserBlockAutomaticDetectionOfIntranetSites"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockEnterpriseModeAccess + * Indicates whether or not to block enterprise mode access. + * + * @return bool|null The browserBlockEnterpriseModeAccess + */ + public function getBrowserBlockEnterpriseModeAccess() + { + if (array_key_exists("browserBlockEnterpriseModeAccess", $this->_propDict)) { + return $this->_propDict["browserBlockEnterpriseModeAccess"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockEnterpriseModeAccess + * Indicates whether or not to block enterprise mode access. + * + * @param bool $val The browserBlockEnterpriseModeAccess + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockEnterpriseModeAccess($val) + { + $this->_propDict["browserBlockEnterpriseModeAccess"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @return bool|null The browserBlockJavaScript + */ + public function getBrowserBlockJavaScript() + { + if (array_key_exists("browserBlockJavaScript", $this->_propDict)) { + return $this->_propDict["browserBlockJavaScript"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockJavaScript + * Indicates whether or not to Block the user from using JavaScript. + * + * @param bool $val The browserBlockJavaScript + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockJavaScript($val) + { + $this->_propDict["browserBlockJavaScript"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockPlugins + * Indicates whether or not to block plug-ins. + * + * @return bool|null The browserBlockPlugins + */ + public function getBrowserBlockPlugins() + { + if (array_key_exists("browserBlockPlugins", $this->_propDict)) { + return $this->_propDict["browserBlockPlugins"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockPlugins + * Indicates whether or not to block plug-ins. + * + * @param bool $val The browserBlockPlugins + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockPlugins($val) + { + $this->_propDict["browserBlockPlugins"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockPopups + * Indicates whether or not to block popups. + * + * @return bool|null The browserBlockPopups + */ + public function getBrowserBlockPopups() + { + if (array_key_exists("browserBlockPopups", $this->_propDict)) { + return $this->_propDict["browserBlockPopups"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockPopups + * Indicates whether or not to block popups. + * + * @param bool $val The browserBlockPopups + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockPopups($val) + { + $this->_propDict["browserBlockPopups"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @return bool|null The browserBlockSendingDoNotTrackHeader + */ + public function getBrowserBlockSendingDoNotTrackHeader() + { + if (array_key_exists("browserBlockSendingDoNotTrackHeader", $this->_propDict)) { + return $this->_propDict["browserBlockSendingDoNotTrackHeader"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockSendingDoNotTrackHeader + * Indicates whether or not to Block the user from sending the do not track header. + * + * @param bool $val The browserBlockSendingDoNotTrackHeader + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockSendingDoNotTrackHeader($val) + { + $this->_propDict["browserBlockSendingDoNotTrackHeader"] = boolval($val); + return $this; + } + + /** + * Gets the browserBlockSingleWordEntryOnIntranetSites + * Indicates whether or not to block a single word entry on Intranet sites. + * + * @return bool|null The browserBlockSingleWordEntryOnIntranetSites + */ + public function getBrowserBlockSingleWordEntryOnIntranetSites() + { + if (array_key_exists("browserBlockSingleWordEntryOnIntranetSites", $this->_propDict)) { + return $this->_propDict["browserBlockSingleWordEntryOnIntranetSites"]; + } else { + return null; + } + } + + /** + * Sets the browserBlockSingleWordEntryOnIntranetSites + * Indicates whether or not to block a single word entry on Intranet sites. + * + * @param bool $val The browserBlockSingleWordEntryOnIntranetSites + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserBlockSingleWordEntryOnIntranetSites($val) + { + $this->_propDict["browserBlockSingleWordEntryOnIntranetSites"] = boolval($val); + return $this; + } + + /** + * Gets the browserEnterpriseModeSiteListLocation + * The enterprise mode site list location. Could be a local file, local network or http location. + * + * @return string|null The browserEnterpriseModeSiteListLocation + */ + public function getBrowserEnterpriseModeSiteListLocation() + { + if (array_key_exists("browserEnterpriseModeSiteListLocation", $this->_propDict)) { + return $this->_propDict["browserEnterpriseModeSiteListLocation"]; + } else { + return null; + } + } + + /** + * Sets the browserEnterpriseModeSiteListLocation + * The enterprise mode site list location. Could be a local file, local network or http location. + * + * @param string $val The browserEnterpriseModeSiteListLocation + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserEnterpriseModeSiteListLocation($val) + { + $this->_propDict["browserEnterpriseModeSiteListLocation"] = $val; + return $this; + } + + /** + * Gets the browserInternetSecurityLevel + * The internet security level. Possible values are: userDefined, medium, mediumHigh, high. + * + * @return InternetSiteSecurityLevel|null The browserInternetSecurityLevel + */ + public function getBrowserInternetSecurityLevel() + { + if (array_key_exists("browserInternetSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["browserInternetSecurityLevel"], "\Microsoft\Graph\Model\InternetSiteSecurityLevel") || is_null($this->_propDict["browserInternetSecurityLevel"])) { + return $this->_propDict["browserInternetSecurityLevel"]; + } else { + $this->_propDict["browserInternetSecurityLevel"] = new InternetSiteSecurityLevel($this->_propDict["browserInternetSecurityLevel"]); + return $this->_propDict["browserInternetSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the browserInternetSecurityLevel + * The internet security level. Possible values are: userDefined, medium, mediumHigh, high. + * + * @param InternetSiteSecurityLevel $val The browserInternetSecurityLevel + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserInternetSecurityLevel($val) + { + $this->_propDict["browserInternetSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the browserIntranetSecurityLevel + * The Intranet security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @return SiteSecurityLevel|null The browserIntranetSecurityLevel + */ + public function getBrowserIntranetSecurityLevel() + { + if (array_key_exists("browserIntranetSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["browserIntranetSecurityLevel"], "\Microsoft\Graph\Model\SiteSecurityLevel") || is_null($this->_propDict["browserIntranetSecurityLevel"])) { + return $this->_propDict["browserIntranetSecurityLevel"]; + } else { + $this->_propDict["browserIntranetSecurityLevel"] = new SiteSecurityLevel($this->_propDict["browserIntranetSecurityLevel"]); + return $this->_propDict["browserIntranetSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the browserIntranetSecurityLevel + * The Intranet security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @param SiteSecurityLevel $val The browserIntranetSecurityLevel + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserIntranetSecurityLevel($val) + { + $this->_propDict["browserIntranetSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the browserLoggingReportLocation + * The logging report location. + * + * @return string|null The browserLoggingReportLocation + */ + public function getBrowserLoggingReportLocation() + { + if (array_key_exists("browserLoggingReportLocation", $this->_propDict)) { + return $this->_propDict["browserLoggingReportLocation"]; + } else { + return null; + } + } + + /** + * Sets the browserLoggingReportLocation + * The logging report location. + * + * @param string $val The browserLoggingReportLocation + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserLoggingReportLocation($val) + { + $this->_propDict["browserLoggingReportLocation"] = $val; + return $this; + } + + /** + * Gets the browserRequireFirewall + * Indicates whether or not to require a firewall. + * + * @return bool|null The browserRequireFirewall + */ + public function getBrowserRequireFirewall() + { + if (array_key_exists("browserRequireFirewall", $this->_propDict)) { + return $this->_propDict["browserRequireFirewall"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireFirewall + * Indicates whether or not to require a firewall. + * + * @param bool $val The browserRequireFirewall + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireFirewall($val) + { + $this->_propDict["browserRequireFirewall"] = boolval($val); + return $this; + } + + /** + * Gets the browserRequireFraudWarning + * Indicates whether or not to require fraud warning. + * + * @return bool|null The browserRequireFraudWarning + */ + public function getBrowserRequireFraudWarning() + { + if (array_key_exists("browserRequireFraudWarning", $this->_propDict)) { + return $this->_propDict["browserRequireFraudWarning"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireFraudWarning + * Indicates whether or not to require fraud warning. + * + * @param bool $val The browserRequireFraudWarning + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireFraudWarning($val) + { + $this->_propDict["browserRequireFraudWarning"] = boolval($val); + return $this; + } + + /** + * Gets the browserRequireHighSecurityForRestrictedSites + * Indicates whether or not to require high security for restricted sites. + * + * @return bool|null The browserRequireHighSecurityForRestrictedSites + */ + public function getBrowserRequireHighSecurityForRestrictedSites() + { + if (array_key_exists("browserRequireHighSecurityForRestrictedSites", $this->_propDict)) { + return $this->_propDict["browserRequireHighSecurityForRestrictedSites"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireHighSecurityForRestrictedSites + * Indicates whether or not to require high security for restricted sites. + * + * @param bool $val The browserRequireHighSecurityForRestrictedSites + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireHighSecurityForRestrictedSites($val) + { + $this->_propDict["browserRequireHighSecurityForRestrictedSites"] = boolval($val); + return $this; + } + + /** + * Gets the browserRequireSmartScreen + * Indicates whether or not to require the user to use the smart screen filter. + * + * @return bool|null The browserRequireSmartScreen + */ + public function getBrowserRequireSmartScreen() + { + if (array_key_exists("browserRequireSmartScreen", $this->_propDict)) { + return $this->_propDict["browserRequireSmartScreen"]; + } else { + return null; + } + } + + /** + * Sets the browserRequireSmartScreen + * Indicates whether or not to require the user to use the smart screen filter. + * + * @param bool $val The browserRequireSmartScreen + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserRequireSmartScreen($val) + { + $this->_propDict["browserRequireSmartScreen"] = boolval($val); + return $this; + } + + /** + * Gets the browserTrustedSitesSecurityLevel + * The trusted sites security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @return SiteSecurityLevel|null The browserTrustedSitesSecurityLevel + */ + public function getBrowserTrustedSitesSecurityLevel() + { + if (array_key_exists("browserTrustedSitesSecurityLevel", $this->_propDict)) { + if (is_a($this->_propDict["browserTrustedSitesSecurityLevel"], "\Microsoft\Graph\Model\SiteSecurityLevel") || is_null($this->_propDict["browserTrustedSitesSecurityLevel"])) { + return $this->_propDict["browserTrustedSitesSecurityLevel"]; + } else { + $this->_propDict["browserTrustedSitesSecurityLevel"] = new SiteSecurityLevel($this->_propDict["browserTrustedSitesSecurityLevel"]); + return $this->_propDict["browserTrustedSitesSecurityLevel"]; + } + } + return null; + } + + /** + * Sets the browserTrustedSitesSecurityLevel + * The trusted sites security level. Possible values are: userDefined, low, mediumLow, medium, mediumHigh, high. + * + * @param SiteSecurityLevel $val The browserTrustedSitesSecurityLevel + * + * @return Windows81GeneralConfiguration + */ + public function setBrowserTrustedSitesSecurityLevel($val) + { + $this->_propDict["browserTrustedSitesSecurityLevel"] = $val; + return $this; + } + + /** + * Gets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @return bool|null The cellularBlockDataRoaming + */ + public function getCellularBlockDataRoaming() + { + if (array_key_exists("cellularBlockDataRoaming", $this->_propDict)) { + return $this->_propDict["cellularBlockDataRoaming"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockDataRoaming + * Indicates whether or not to block data roaming. + * + * @param bool $val The cellularBlockDataRoaming + * + * @return Windows81GeneralConfiguration + */ + public function setCellularBlockDataRoaming($val) + { + $this->_propDict["cellularBlockDataRoaming"] = boolval($val); + return $this; + } + + /** + * Gets the diagnosticsBlockDataSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticsBlockDataSubmission + */ + public function getDiagnosticsBlockDataSubmission() + { + if (array_key_exists("diagnosticsBlockDataSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticsBlockDataSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticsBlockDataSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticsBlockDataSubmission + * + * @return Windows81GeneralConfiguration + */ + public function setDiagnosticsBlockDataSubmission($val) + { + $this->_propDict["diagnosticsBlockDataSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockPicturePasswordAndPin + * Indicates whether or not to Block the user from using a pictures password and pin. + * + * @return bool|null The passwordBlockPicturePasswordAndPin + */ + public function getPasswordBlockPicturePasswordAndPin() + { + if (array_key_exists("passwordBlockPicturePasswordAndPin", $this->_propDict)) { + return $this->_propDict["passwordBlockPicturePasswordAndPin"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockPicturePasswordAndPin + * Indicates whether or not to Block the user from using a pictures password and pin. + * + * @param bool $val The passwordBlockPicturePasswordAndPin + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordBlockPicturePasswordAndPin($val) + { + $this->_propDict["passwordBlockPicturePasswordAndPin"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Password expiration in days. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Password expiration in days. + * + * @param int $val The passwordExpirationDays + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * The minimum password length. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * The minimum password length. + * + * @param int $val The passwordMinimumLength + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * The minutes of inactivity before the screen times out. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * The number of previous passwords to prevent re-use of. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * The number of sign in failures before factory reset. + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return Windows81GeneralConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the storageRequireDeviceEncryption + * Indicates whether or not to require encryption on a mobile device. + * + * @return bool|null The storageRequireDeviceEncryption + */ + public function getStorageRequireDeviceEncryption() + { + if (array_key_exists("storageRequireDeviceEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireDeviceEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireDeviceEncryption + * Indicates whether or not to require encryption on a mobile device. + * + * @param bool $val The storageRequireDeviceEncryption + * + * @return Windows81GeneralConfiguration + */ + public function setStorageRequireDeviceEncryption($val) + { + $this->_propDict["storageRequireDeviceEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the updatesRequireAutomaticUpdates + * Indicates whether or not to require automatic updates. + * + * @return bool|null The updatesRequireAutomaticUpdates + */ + public function getUpdatesRequireAutomaticUpdates() + { + if (array_key_exists("updatesRequireAutomaticUpdates", $this->_propDict)) { + return $this->_propDict["updatesRequireAutomaticUpdates"]; + } else { + return null; + } + } + + /** + * Sets the updatesRequireAutomaticUpdates + * Indicates whether or not to require automatic updates. + * + * @param bool $val The updatesRequireAutomaticUpdates + * + * @return Windows81GeneralConfiguration + */ + public function setUpdatesRequireAutomaticUpdates($val) + { + $this->_propDict["updatesRequireAutomaticUpdates"] = boolval($val); + return $this; + } + + /** + * Gets the userAccountControlSettings + * The user account control settings. Possible values are: userDefined, alwaysNotify, notifyOnAppChanges, notifyOnAppChangesWithoutDimming, neverNotify. + * + * @return WindowsUserAccountControlSettings|null The userAccountControlSettings + */ + public function getUserAccountControlSettings() + { + if (array_key_exists("userAccountControlSettings", $this->_propDict)) { + if (is_a($this->_propDict["userAccountControlSettings"], "\Microsoft\Graph\Model\WindowsUserAccountControlSettings") || is_null($this->_propDict["userAccountControlSettings"])) { + return $this->_propDict["userAccountControlSettings"]; + } else { + $this->_propDict["userAccountControlSettings"] = new WindowsUserAccountControlSettings($this->_propDict["userAccountControlSettings"]); + return $this->_propDict["userAccountControlSettings"]; + } + } + return null; + } + + /** + * Sets the userAccountControlSettings + * The user account control settings. Possible values are: userDefined, alwaysNotify, notifyOnAppChanges, notifyOnAppChangesWithoutDimming, neverNotify. + * + * @param WindowsUserAccountControlSettings $val The userAccountControlSettings + * + * @return Windows81GeneralConfiguration + */ + public function setUserAccountControlSettings($val) + { + $this->_propDict["userAccountControlSettings"] = $val; + return $this; + } + + /** + * Gets the workFoldersUrl + * The work folders url. + * + * @return string|null The workFoldersUrl + */ + public function getWorkFoldersUrl() + { + if (array_key_exists("workFoldersUrl", $this->_propDict)) { + return $this->_propDict["workFoldersUrl"]; + } else { + return null; + } + } + + /** + * Sets the workFoldersUrl + * The work folders url. + * + * @param string $val The workFoldersUrl + * + * @return Windows81GeneralConfiguration + */ + public function setWorkFoldersUrl($val) + { + $this->_propDict["workFoldersUrl"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsArchitecture.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsArchitecture.php new file mode 100644 index 0000000..dd69049 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsArchitecture.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["addressableUserName"]; + } else { + return null; + } + } + + /** + * Sets the addressableUserName + * Addressable user name. + * + * @param string $val The addressableUserName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setAddressableUserName($val) + { + $this->_propDict["addressableUserName"] = $val; + return $this; + } + + /** + * Gets the azureActiveDirectoryDeviceId + * AAD Device ID - to be deprecated + * + * @return string|null The azureActiveDirectoryDeviceId + */ + public function getAzureActiveDirectoryDeviceId() + { + if (array_key_exists("azureActiveDirectoryDeviceId", $this->_propDict)) { + return $this->_propDict["azureActiveDirectoryDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the azureActiveDirectoryDeviceId + * AAD Device ID - to be deprecated + * + * @param string $val The azureActiveDirectoryDeviceId + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setAzureActiveDirectoryDeviceId($val) + { + $this->_propDict["azureActiveDirectoryDeviceId"] = $val; + return $this; + } + + /** + * Gets the displayName + * Display Name + * + * @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 + * Display Name + * + * @param string $val The displayName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the enrollmentState + * Intune enrollment state of the Windows autopilot device. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @return EnrollmentState|null The enrollmentState + */ + public function getEnrollmentState() + { + if (array_key_exists("enrollmentState", $this->_propDict)) { + if (is_a($this->_propDict["enrollmentState"], "\Microsoft\Graph\Model\EnrollmentState") || is_null($this->_propDict["enrollmentState"])) { + return $this->_propDict["enrollmentState"]; + } else { + $this->_propDict["enrollmentState"] = new EnrollmentState($this->_propDict["enrollmentState"]); + return $this->_propDict["enrollmentState"]; + } + } + return null; + } + + /** + * Sets the enrollmentState + * Intune enrollment state of the Windows autopilot device. Possible values are: unknown, enrolled, pendingReset, failed, notContacted, blocked. + * + * @param EnrollmentState $val The enrollmentState + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setEnrollmentState($val) + { + $this->_propDict["enrollmentState"] = $val; + return $this; + } + + /** + * Gets the groupTag + * Group Tag of the Windows autopilot device. + * + * @return string|null The groupTag + */ + public function getGroupTag() + { + if (array_key_exists("groupTag", $this->_propDict)) { + return $this->_propDict["groupTag"]; + } else { + return null; + } + } + + /** + * Sets the groupTag + * Group Tag of the Windows autopilot device. + * + * @param string $val The groupTag + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setGroupTag($val) + { + $this->_propDict["groupTag"] = $val; + return $this; + } + + /** + * Gets the lastContactedDateTime + * Intune Last Contacted Date Time of the Windows autopilot device. + * + * @return \DateTime|null The lastContactedDateTime + */ + public function getLastContactedDateTime() + { + if (array_key_exists("lastContactedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime") || is_null($this->_propDict["lastContactedDateTime"])) { + return $this->_propDict["lastContactedDateTime"]; + } else { + $this->_propDict["lastContactedDateTime"] = new \DateTime($this->_propDict["lastContactedDateTime"]); + return $this->_propDict["lastContactedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastContactedDateTime + * Intune Last Contacted Date Time of the Windows autopilot device. + * + * @param \DateTime $val The lastContactedDateTime + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setLastContactedDateTime($val) + { + $this->_propDict["lastContactedDateTime"] = $val; + return $this; + } + + /** + * Gets the managedDeviceId + * Managed Device ID + * + * @return string|null The managedDeviceId + */ + public function getManagedDeviceId() + { + if (array_key_exists("managedDeviceId", $this->_propDict)) { + return $this->_propDict["managedDeviceId"]; + } else { + return null; + } + } + + /** + * Sets the managedDeviceId + * Managed Device ID + * + * @param string $val The managedDeviceId + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setManagedDeviceId($val) + { + $this->_propDict["managedDeviceId"] = $val; + return $this; + } + + /** + * Gets the manufacturer + * Oem manufacturer of the Windows autopilot device. + * + * @return string|null The manufacturer + */ + public function getManufacturer() + { + if (array_key_exists("manufacturer", $this->_propDict)) { + return $this->_propDict["manufacturer"]; + } else { + return null; + } + } + + /** + * Sets the manufacturer + * Oem manufacturer of the Windows autopilot device. + * + * @param string $val The manufacturer + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setManufacturer($val) + { + $this->_propDict["manufacturer"] = $val; + return $this; + } + + /** + * Gets the model + * Model name of the Windows autopilot device. + * + * @return string|null The model + */ + public function getModel() + { + if (array_key_exists("model", $this->_propDict)) { + return $this->_propDict["model"]; + } else { + return null; + } + } + + /** + * Sets the model + * Model name of the Windows autopilot device. + * + * @param string $val The model + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setModel($val) + { + $this->_propDict["model"] = $val; + return $this; + } + + /** + * Gets the productKey + * Product Key of the Windows autopilot device. + * + * @return string|null The productKey + */ + public function getProductKey() + { + if (array_key_exists("productKey", $this->_propDict)) { + return $this->_propDict["productKey"]; + } else { + return null; + } + } + + /** + * Sets the productKey + * Product Key of the Windows autopilot device. + * + * @param string $val The productKey + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setProductKey($val) + { + $this->_propDict["productKey"] = $val; + return $this; + } + + /** + * Gets the purchaseOrderIdentifier + * Purchase Order Identifier of the Windows autopilot device. + * + * @return string|null The purchaseOrderIdentifier + */ + public function getPurchaseOrderIdentifier() + { + if (array_key_exists("purchaseOrderIdentifier", $this->_propDict)) { + return $this->_propDict["purchaseOrderIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the purchaseOrderIdentifier + * Purchase Order Identifier of the Windows autopilot device. + * + * @param string $val The purchaseOrderIdentifier + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setPurchaseOrderIdentifier($val) + { + $this->_propDict["purchaseOrderIdentifier"] = $val; + return $this; + } + + /** + * Gets the resourceName + * Resource Name. + * + * @return string|null The resourceName + */ + public function getResourceName() + { + if (array_key_exists("resourceName", $this->_propDict)) { + return $this->_propDict["resourceName"]; + } else { + return null; + } + } + + /** + * Sets the resourceName + * Resource Name. + * + * @param string $val The resourceName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setResourceName($val) + { + $this->_propDict["resourceName"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * Serial number of the Windows autopilot device. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * Serial number of the Windows autopilot device. + * + * @param string $val The serialNumber + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the skuNumber + * SKU Number + * + * @return string|null The skuNumber + */ + public function getSkuNumber() + { + if (array_key_exists("skuNumber", $this->_propDict)) { + return $this->_propDict["skuNumber"]; + } else { + return null; + } + } + + /** + * Sets the skuNumber + * SKU Number + * + * @param string $val The skuNumber + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setSkuNumber($val) + { + $this->_propDict["skuNumber"] = $val; + return $this; + } + + /** + * Gets the systemFamily + * System Family + * + * @return string|null The systemFamily + */ + public function getSystemFamily() + { + if (array_key_exists("systemFamily", $this->_propDict)) { + return $this->_propDict["systemFamily"]; + } else { + return null; + } + } + + /** + * Sets the systemFamily + * System Family + * + * @param string $val The systemFamily + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setSystemFamily($val) + { + $this->_propDict["systemFamily"] = $val; + return $this; + } + + /** + * Gets the userPrincipalName + * User Principal Name. + * + * @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 + * User Principal Name. + * + * @param string $val The userPrincipalName + * + * @return WindowsAutopilotDeviceIdentity + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php new file mode 100644 index 0000000..f765197 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["allowSampleSharing"]; + } else { + return null; + } + } + + /** + * Sets the allowSampleSharing + * Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule + * + * @param bool $val The allowSampleSharing + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setAllowSampleSharing($val) + { + $this->_propDict["allowSampleSharing"] = boolval($val); + return $this; + } + + /** + * Gets the enableExpeditedTelemetryReporting + * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. + * + * @return bool|null The enableExpeditedTelemetryReporting + */ + public function getEnableExpeditedTelemetryReporting() + { + if (array_key_exists("enableExpeditedTelemetryReporting", $this->_propDict)) { + return $this->_propDict["enableExpeditedTelemetryReporting"]; + } else { + return null; + } + } + + /** + * Sets the enableExpeditedTelemetryReporting + * Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. + * + * @param bool $val The enableExpeditedTelemetryReporting + * + * @return WindowsDefenderAdvancedThreatProtectionConfiguration + */ + public function setEnableExpeditedTelemetryReporting($val) + { + $this->_propDict["enableExpeditedTelemetryReporting"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderScanActionResult.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderScanActionResult.php new file mode 100644 index 0000000..843fdfe --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderScanActionResult.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["scanType"]; + } else { + return null; + } + } + + /** + * Sets the scanType + * Scan type either full scan or quick scan + * + * @param string $val The value of the scanType + * + * @return WindowsDefenderScanActionResult + */ + public function setScanType($val) + { + $this->_propDict["scanType"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeliveryOptimizationMode.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeliveryOptimizationMode.php new file mode 100644 index 0000000..cab9b56 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeliveryOptimizationMode.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["domainName"]; + } else { + return null; + } + } + + /** + * Sets the domainName + * Not yet documented + * + * @param string $val The value of the domainName + * + * @return WindowsDeviceADAccount + */ + public function setDomainName($val) + { + $this->_propDict["domainName"] = $val; + return $this; + } + /** + * Gets the userName + * Not yet documented + * + * @return string|null The userName + */ + public function getUserName() + { + if (array_key_exists("userName", $this->_propDict)) { + return $this->_propDict["userName"]; + } else { + return null; + } + } + + /** + * Sets the userName + * Not yet documented + * + * @param string $val The value of the userName + * + * @return WindowsDeviceADAccount + */ + public function setUserName($val) + { + $this->_propDict["userName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAccount.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAccount.php new file mode 100644 index 0000000..a0a6726 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAccount.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["password"]; + } else { + return null; + } + } + + /** + * Sets the password + * Not yet documented + * + * @param string $val The value of the password + * + * @return WindowsDeviceAccount + */ + public function setPassword($val) + { + $this->_propDict["password"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAzureADAccount.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAzureADAccount.php new file mode 100644 index 0000000..73d37e3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAzureADAccount.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["userPrincipalName"]; + } else { + return null; + } + } + + /** + * Sets the userPrincipalName + * Not yet documented + * + * @param string $val The value of the userPrincipalName + * + * @return WindowsDeviceAzureADAccount + */ + public function setUserPrincipalName($val) + { + $this->_propDict["userPrincipalName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceType.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceType.php new file mode 100644 index 0000000..5501652 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["authorizedApplicationRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the authorizedApplicationRulesFromGroupPolicyMerged + * Configures the firewall to merge authorized application rules from group policy with those from local store instead of ignoring the local store rules. When AuthorizedApplicationRulesFromGroupPolicyNotMerged and AuthorizedApplicationRulesFromGroupPolicyMerged are both true, AuthorizedApplicationRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the authorizedApplicationRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setAuthorizedApplicationRulesFromGroupPolicyMerged($val) + { + $this->_propDict["authorizedApplicationRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the connectionSecurityRulesFromGroupPolicyMerged + * Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The connectionSecurityRulesFromGroupPolicyMerged + */ + public function getConnectionSecurityRulesFromGroupPolicyMerged() + { + if (array_key_exists("connectionSecurityRulesFromGroupPolicyMerged", $this->_propDict)) { + return $this->_propDict["connectionSecurityRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the connectionSecurityRulesFromGroupPolicyMerged + * Configures the firewall to merge connection security rules from group policy with those from local store instead of ignoring the local store rules. When ConnectionSecurityRulesFromGroupPolicyNotMerged and ConnectionSecurityRulesFromGroupPolicyMerged are both true, ConnectionSecurityRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the connectionSecurityRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setConnectionSecurityRulesFromGroupPolicyMerged($val) + { + $this->_propDict["connectionSecurityRulesFromGroupPolicyMerged"] = $val; + return $this; + } + + /** + * Gets the firewallEnabled + * Configures the host device to allow or block the firewall and advanced security enforcement for the network profile. Possible values are: notConfigured, blocked, allowed. + * + * @return StateManagementSetting|null The firewallEnabled + */ + public function getFirewallEnabled() + { + if (array_key_exists("firewallEnabled", $this->_propDict)) { + if (is_a($this->_propDict["firewallEnabled"], "\Microsoft\Graph\Model\StateManagementSetting") || is_null($this->_propDict["firewallEnabled"])) { + return $this->_propDict["firewallEnabled"]; + } else { + $this->_propDict["firewallEnabled"] = new StateManagementSetting($this->_propDict["firewallEnabled"]); + return $this->_propDict["firewallEnabled"]; + } + } + return null; + } + + /** + * Sets the firewallEnabled + * Configures the host device to allow or block the firewall and advanced security enforcement for the network profile. Possible values are: notConfigured, blocked, allowed. + * + * @param StateManagementSetting $val The value to assign to the firewallEnabled + * + * @return WindowsFirewallNetworkProfile The WindowsFirewallNetworkProfile + */ + public function setFirewallEnabled($val) + { + $this->_propDict["firewallEnabled"] = $val; + return $this; + } + /** + * Gets the globalPortRulesFromGroupPolicyMerged + * Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The globalPortRulesFromGroupPolicyMerged + */ + public function getGlobalPortRulesFromGroupPolicyMerged() + { + if (array_key_exists("globalPortRulesFromGroupPolicyMerged", $this->_propDict)) { + return $this->_propDict["globalPortRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the globalPortRulesFromGroupPolicyMerged + * Configures the firewall to merge global port rules from group policy with those from local store instead of ignoring the local store rules. When GlobalPortRulesFromGroupPolicyNotMerged and GlobalPortRulesFromGroupPolicyMerged are both true, GlobalPortRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the globalPortRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setGlobalPortRulesFromGroupPolicyMerged($val) + { + $this->_propDict["globalPortRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the inboundConnectionsBlocked + * Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + * + * @return bool|null The inboundConnectionsBlocked + */ + public function getInboundConnectionsBlocked() + { + if (array_key_exists("inboundConnectionsBlocked", $this->_propDict)) { + return $this->_propDict["inboundConnectionsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the inboundConnectionsBlocked + * Configures the firewall to block all incoming connections by default. When InboundConnectionsRequired and InboundConnectionsBlocked are both true, InboundConnectionsBlocked takes priority. + * + * @param bool $val The value of the inboundConnectionsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setInboundConnectionsBlocked($val) + { + $this->_propDict["inboundConnectionsBlocked"] = $val; + return $this; + } + /** + * Gets the inboundNotificationsBlocked + * Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + * + * @return bool|null The inboundNotificationsBlocked + */ + public function getInboundNotificationsBlocked() + { + if (array_key_exists("inboundNotificationsBlocked", $this->_propDict)) { + return $this->_propDict["inboundNotificationsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the inboundNotificationsBlocked + * Prevents the firewall from displaying notifications when an application is blocked from listening on a port. When InboundNotificationsRequired and InboundNotificationsBlocked are both true, InboundNotificationsBlocked takes priority. + * + * @param bool $val The value of the inboundNotificationsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setInboundNotificationsBlocked($val) + { + $this->_propDict["inboundNotificationsBlocked"] = $val; + return $this; + } + /** + * Gets the incomingTrafficBlocked + * Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + * + * @return bool|null The incomingTrafficBlocked + */ + public function getIncomingTrafficBlocked() + { + if (array_key_exists("incomingTrafficBlocked", $this->_propDict)) { + return $this->_propDict["incomingTrafficBlocked"]; + } else { + return null; + } + } + + /** + * Sets the incomingTrafficBlocked + * Configures the firewall to block all incoming traffic regardless of other policy settings. When IncomingTrafficRequired and IncomingTrafficBlocked are both true, IncomingTrafficBlocked takes priority. + * + * @param bool $val The value of the incomingTrafficBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setIncomingTrafficBlocked($val) + { + $this->_propDict["incomingTrafficBlocked"] = $val; + return $this; + } + /** + * Gets the outboundConnectionsBlocked + * Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above. + * + * @return bool|null The outboundConnectionsBlocked + */ + public function getOutboundConnectionsBlocked() + { + if (array_key_exists("outboundConnectionsBlocked", $this->_propDict)) { + return $this->_propDict["outboundConnectionsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the outboundConnectionsBlocked + * Configures the firewall to block all outgoing connections by default. When OutboundConnectionsRequired and OutboundConnectionsBlocked are both true, OutboundConnectionsBlocked takes priority. This setting will get applied to Windows releases version 1809 and above. + * + * @param bool $val The value of the outboundConnectionsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setOutboundConnectionsBlocked($val) + { + $this->_propDict["outboundConnectionsBlocked"] = $val; + return $this; + } + /** + * Gets the policyRulesFromGroupPolicyMerged + * Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + * + * @return bool|null The policyRulesFromGroupPolicyMerged + */ + public function getPolicyRulesFromGroupPolicyMerged() + { + if (array_key_exists("policyRulesFromGroupPolicyMerged", $this->_propDict)) { + return $this->_propDict["policyRulesFromGroupPolicyMerged"]; + } else { + return null; + } + } + + /** + * Sets the policyRulesFromGroupPolicyMerged + * Configures the firewall to merge Firewall Rule policies from group policy with those from local store instead of ignoring the local store rules. When PolicyRulesFromGroupPolicyNotMerged and PolicyRulesFromGroupPolicyMerged are both true, PolicyRulesFromGroupPolicyMerged takes priority. + * + * @param bool $val The value of the policyRulesFromGroupPolicyMerged + * + * @return WindowsFirewallNetworkProfile + */ + public function setPolicyRulesFromGroupPolicyMerged($val) + { + $this->_propDict["policyRulesFromGroupPolicyMerged"] = $val; + return $this; + } + /** + * Gets the securedPacketExemptionAllowed + * Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + * + * @return bool|null The securedPacketExemptionAllowed + */ + public function getSecuredPacketExemptionAllowed() + { + if (array_key_exists("securedPacketExemptionAllowed", $this->_propDict)) { + return $this->_propDict["securedPacketExemptionAllowed"]; + } else { + return null; + } + } + + /** + * Sets the securedPacketExemptionAllowed + * Configures the firewall to allow the host computer to respond to unsolicited network traffic of that traffic is secured by IPSec even when stealthModeBlocked is set to true. When SecuredPacketExemptionBlocked and SecuredPacketExemptionAllowed are both true, SecuredPacketExemptionAllowed takes priority. + * + * @param bool $val The value of the securedPacketExemptionAllowed + * + * @return WindowsFirewallNetworkProfile + */ + public function setSecuredPacketExemptionAllowed($val) + { + $this->_propDict["securedPacketExemptionAllowed"] = $val; + return $this; + } + /** + * Gets the stealthModeBlocked + * Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + * + * @return bool|null The stealthModeBlocked + */ + public function getStealthModeBlocked() + { + if (array_key_exists("stealthModeBlocked", $this->_propDict)) { + return $this->_propDict["stealthModeBlocked"]; + } else { + return null; + } + } + + /** + * Sets the stealthModeBlocked + * Prevent the server from operating in stealth mode. When StealthModeRequired and StealthModeBlocked are both true, StealthModeBlocked takes priority. + * + * @param bool $val The value of the stealthModeBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setStealthModeBlocked($val) + { + $this->_propDict["stealthModeBlocked"] = $val; + return $this; + } + /** + * Gets the unicastResponsesToMulticastBroadcastsBlocked + * Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + * + * @return bool|null The unicastResponsesToMulticastBroadcastsBlocked + */ + public function getUnicastResponsesToMulticastBroadcastsBlocked() + { + if (array_key_exists("unicastResponsesToMulticastBroadcastsBlocked", $this->_propDict)) { + return $this->_propDict["unicastResponsesToMulticastBroadcastsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the unicastResponsesToMulticastBroadcastsBlocked + * Configures the firewall to block unicast responses to multicast broadcast traffic. When UnicastResponsesToMulticastBroadcastsRequired and UnicastResponsesToMulticastBroadcastsBlocked are both true, UnicastResponsesToMulticastBroadcastsBlocked takes priority. + * + * @param bool $val The value of the unicastResponsesToMulticastBroadcastsBlocked + * + * @return WindowsFirewallNetworkProfile + */ + public function setUnicastResponsesToMulticastBroadcastsBlocked($val) + { + $this->_propDict["unicastResponsesToMulticastBroadcastsBlocked"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessAuthenticationMethod.php new file mode 100644 index 0000000..0a7e2f3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessAuthenticationMethod.php @@ -0,0 +1,155 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * The date and time that this Windows Hello for Business key was registered. + * + * @param \DateTime $val The createdDateTime + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the displayName + * The name of the device on which Windows Hello for Business is registered + * + * @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 + * The name of the device on which Windows Hello for Business is registered + * + * @param string $val The displayName + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the keyStrength + * Key strength of this Windows Hello for Business key. Possible values are: normal, weak, unknown. + * + * @return AuthenticationMethodKeyStrength|null The keyStrength + */ + public function getKeyStrength() + { + if (array_key_exists("keyStrength", $this->_propDict)) { + if (is_a($this->_propDict["keyStrength"], "\Microsoft\Graph\Model\AuthenticationMethodKeyStrength") || is_null($this->_propDict["keyStrength"])) { + return $this->_propDict["keyStrength"]; + } else { + $this->_propDict["keyStrength"] = new AuthenticationMethodKeyStrength($this->_propDict["keyStrength"]); + return $this->_propDict["keyStrength"]; + } + } + return null; + } + + /** + * Sets the keyStrength + * Key strength of this Windows Hello for Business key. Possible values are: normal, weak, unknown. + * + * @param AuthenticationMethodKeyStrength $val The keyStrength + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setKeyStrength($val) + { + $this->_propDict["keyStrength"] = $val; + return $this; + } + + /** + * Gets the device + * The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. + * + * @return Device|null The device + */ + public function getDevice() + { + if (array_key_exists("device", $this->_propDict)) { + if (is_a($this->_propDict["device"], "\Microsoft\Graph\Model\Device") || is_null($this->_propDict["device"])) { + return $this->_propDict["device"]; + } else { + $this->_propDict["device"] = new Device($this->_propDict["device"]); + return $this->_propDict["device"]; + } + } + return null; + } + + /** + * Sets the device + * The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. + * + * @param Device $val The device + * + * @return WindowsHelloForBusinessAuthenticationMethod + */ + public function setDevice($val) + { + $this->_propDict["device"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessPinUsage.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessPinUsage.php new file mode 100644 index 0000000..a1964ec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessPinUsage.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["azureRightsManagementServicesAllowed"]; + } else { + return null; + } + } + + /** + * Sets the azureRightsManagementServicesAllowed + * Specifies whether to allow Azure RMS encryption for WIP + * + * @param bool $val The azureRightsManagementServicesAllowed + * + * @return WindowsInformationProtection + */ + public function setAzureRightsManagementServicesAllowed($val) + { + $this->_propDict["azureRightsManagementServicesAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the dataRecoveryCertificate + * Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) + * + * @return WindowsInformationProtectionDataRecoveryCertificate|null The dataRecoveryCertificate + */ + public function getDataRecoveryCertificate() + { + if (array_key_exists("dataRecoveryCertificate", $this->_propDict)) { + if (is_a($this->_propDict["dataRecoveryCertificate"], "\Microsoft\Graph\Model\WindowsInformationProtectionDataRecoveryCertificate") || is_null($this->_propDict["dataRecoveryCertificate"])) { + return $this->_propDict["dataRecoveryCertificate"]; + } else { + $this->_propDict["dataRecoveryCertificate"] = new WindowsInformationProtectionDataRecoveryCertificate($this->_propDict["dataRecoveryCertificate"]); + return $this->_propDict["dataRecoveryCertificate"]; + } + } + return null; + } + + /** + * Sets the dataRecoveryCertificate + * Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS) + * + * @param WindowsInformationProtectionDataRecoveryCertificate $val The dataRecoveryCertificate + * + * @return WindowsInformationProtection + */ + public function setDataRecoveryCertificate($val) + { + $this->_propDict["dataRecoveryCertificate"] = $val; + return $this; + } + + /** + * Gets the enforcementLevel + * WIP enforcement level.See the Enum definition for supported values. Possible values are: noProtection, encryptAndAuditOnly, encryptAuditAndPrompt, encryptAuditAndBlock. + * + * @return WindowsInformationProtectionEnforcementLevel|null The enforcementLevel + */ + public function getEnforcementLevel() + { + if (array_key_exists("enforcementLevel", $this->_propDict)) { + if (is_a($this->_propDict["enforcementLevel"], "\Microsoft\Graph\Model\WindowsInformationProtectionEnforcementLevel") || is_null($this->_propDict["enforcementLevel"])) { + return $this->_propDict["enforcementLevel"]; + } else { + $this->_propDict["enforcementLevel"] = new WindowsInformationProtectionEnforcementLevel($this->_propDict["enforcementLevel"]); + return $this->_propDict["enforcementLevel"]; + } + } + return null; + } + + /** + * Sets the enforcementLevel + * WIP enforcement level.See the Enum definition for supported values. Possible values are: noProtection, encryptAndAuditOnly, encryptAuditAndPrompt, encryptAuditAndBlock. + * + * @param WindowsInformationProtectionEnforcementLevel $val The enforcementLevel + * + * @return WindowsInformationProtection + */ + public function setEnforcementLevel($val) + { + $this->_propDict["enforcementLevel"] = $val; + return $this; + } + + /** + * Gets the enterpriseDomain + * Primary enterprise domain + * + * @return string|null The enterpriseDomain + */ + public function getEnterpriseDomain() + { + if (array_key_exists("enterpriseDomain", $this->_propDict)) { + return $this->_propDict["enterpriseDomain"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseDomain + * Primary enterprise domain + * + * @param string $val The enterpriseDomain + * + * @return WindowsInformationProtection + */ + public function setEnterpriseDomain($val) + { + $this->_propDict["enterpriseDomain"] = $val; + return $this; + } + + + /** + * Gets the enterpriseInternalProxyServers + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies + * + * @return array|null The enterpriseInternalProxyServers + */ + public function getEnterpriseInternalProxyServers() + { + if (array_key_exists("enterpriseInternalProxyServers", $this->_propDict)) { + return $this->_propDict["enterpriseInternalProxyServers"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseInternalProxyServers + * This is the comma-separated list of internal proxy servers. For example, '157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59'. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseInternalProxyServers + * + * @return WindowsInformationProtection + */ + public function setEnterpriseInternalProxyServers($val) + { + $this->_propDict["enterpriseInternalProxyServers"] = $val; + return $this; + } + + + /** + * Gets the enterpriseIPRanges + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to + * + * @return array|null The enterpriseIPRanges + */ + public function getEnterpriseIPRanges() + { + if (array_key_exists("enterpriseIPRanges", $this->_propDict)) { + return $this->_propDict["enterpriseIPRanges"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseIPRanges + * Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to + * + * @param WindowsInformationProtectionIPRangeCollection[] $val The enterpriseIPRanges + * + * @return WindowsInformationProtection + */ + public function setEnterpriseIPRanges($val) + { + $this->_propDict["enterpriseIPRanges"] = $val; + return $this; + } + + /** + * Gets the enterpriseIPRangesAreAuthoritative + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false + * + * @return bool|null The enterpriseIPRangesAreAuthoritative + */ + public function getEnterpriseIPRangesAreAuthoritative() + { + if (array_key_exists("enterpriseIPRangesAreAuthoritative", $this->_propDict)) { + return $this->_propDict["enterpriseIPRangesAreAuthoritative"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseIPRangesAreAuthoritative + * Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false + * + * @param bool $val The enterpriseIPRangesAreAuthoritative + * + * @return WindowsInformationProtection + */ + public function setEnterpriseIPRangesAreAuthoritative($val) + { + $this->_propDict["enterpriseIPRangesAreAuthoritative"] = boolval($val); + return $this; + } + + + /** + * Gets the enterpriseNetworkDomainNames + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to + * + * @return array|null The enterpriseNetworkDomainNames + */ + public function getEnterpriseNetworkDomainNames() + { + if (array_key_exists("enterpriseNetworkDomainNames", $this->_propDict)) { + return $this->_propDict["enterpriseNetworkDomainNames"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseNetworkDomainNames + * This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseNetworkDomainNames + * + * @return WindowsInformationProtection + */ + public function setEnterpriseNetworkDomainNames($val) + { + $this->_propDict["enterpriseNetworkDomainNames"] = $val; + return $this; + } + + + /** + * Gets the enterpriseProtectedDomainNames + * List of enterprise domains to be protected + * + * @return array|null The enterpriseProtectedDomainNames + */ + public function getEnterpriseProtectedDomainNames() + { + if (array_key_exists("enterpriseProtectedDomainNames", $this->_propDict)) { + return $this->_propDict["enterpriseProtectedDomainNames"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProtectedDomainNames + * List of enterprise domains to be protected + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseProtectedDomainNames + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProtectedDomainNames($val) + { + $this->_propDict["enterpriseProtectedDomainNames"] = $val; + return $this; + } + + + /** + * Gets the enterpriseProxiedDomains + * Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy + * + * @return array|null The enterpriseProxiedDomains + */ + public function getEnterpriseProxiedDomains() + { + if (array_key_exists("enterpriseProxiedDomains", $this->_propDict)) { + return $this->_propDict["enterpriseProxiedDomains"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxiedDomains + * Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy + * + * @param WindowsInformationProtectionProxiedDomainCollection[] $val The enterpriseProxiedDomains + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProxiedDomains($val) + { + $this->_propDict["enterpriseProxiedDomains"] = $val; + return $this; + } + + + /** + * Gets the enterpriseProxyServers + * This is a list of proxy servers. Any server not on this list is considered non-enterprise + * + * @return array|null The enterpriseProxyServers + */ + public function getEnterpriseProxyServers() + { + if (array_key_exists("enterpriseProxyServers", $this->_propDict)) { + return $this->_propDict["enterpriseProxyServers"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxyServers + * This is a list of proxy servers. Any server not on this list is considered non-enterprise + * + * @param WindowsInformationProtectionResourceCollection[] $val The enterpriseProxyServers + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProxyServers($val) + { + $this->_propDict["enterpriseProxyServers"] = $val; + return $this; + } + + /** + * Gets the enterpriseProxyServersAreAuthoritative + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + * + * @return bool|null The enterpriseProxyServersAreAuthoritative + */ + public function getEnterpriseProxyServersAreAuthoritative() + { + if (array_key_exists("enterpriseProxyServersAreAuthoritative", $this->_propDict)) { + return $this->_propDict["enterpriseProxyServersAreAuthoritative"]; + } else { + return null; + } + } + + /** + * Sets the enterpriseProxyServersAreAuthoritative + * Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false + * + * @param bool $val The enterpriseProxyServersAreAuthoritative + * + * @return WindowsInformationProtection + */ + public function setEnterpriseProxyServersAreAuthoritative($val) + { + $this->_propDict["enterpriseProxyServersAreAuthoritative"] = boolval($val); + return $this; + } + + + /** + * Gets the exemptApps + * Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. + * + * @return array|null The exemptApps + */ + public function getExemptApps() + { + if (array_key_exists("exemptApps", $this->_propDict)) { + return $this->_propDict["exemptApps"]; + } else { + return null; + } + } + + /** + * Sets the exemptApps + * Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data. + * + * @param WindowsInformationProtectionApp[] $val The exemptApps + * + * @return WindowsInformationProtection + */ + public function setExemptApps($val) + { + $this->_propDict["exemptApps"] = $val; + return $this; + } + + /** + * Gets the iconsVisible + * Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app + * + * @return bool|null The iconsVisible + */ + public function getIconsVisible() + { + if (array_key_exists("iconsVisible", $this->_propDict)) { + return $this->_propDict["iconsVisible"]; + } else { + return null; + } + } + + /** + * Sets the iconsVisible + * Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app + * + * @param bool $val The iconsVisible + * + * @return WindowsInformationProtection + */ + public function setIconsVisible($val) + { + $this->_propDict["iconsVisible"] = boolval($val); + return $this; + } + + /** + * Gets the indexingEncryptedStoresOrItemsBlocked + * This switch is for the Windows Search Indexer, to allow or disallow indexing of items + * + * @return bool|null The indexingEncryptedStoresOrItemsBlocked + */ + public function getIndexingEncryptedStoresOrItemsBlocked() + { + if (array_key_exists("indexingEncryptedStoresOrItemsBlocked", $this->_propDict)) { + return $this->_propDict["indexingEncryptedStoresOrItemsBlocked"]; + } else { + return null; + } + } + + /** + * Sets the indexingEncryptedStoresOrItemsBlocked + * This switch is for the Windows Search Indexer, to allow or disallow indexing of items + * + * @param bool $val The indexingEncryptedStoresOrItemsBlocked + * + * @return WindowsInformationProtection + */ + public function setIndexingEncryptedStoresOrItemsBlocked($val) + { + $this->_propDict["indexingEncryptedStoresOrItemsBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @return bool|null The isAssigned + */ + public function getIsAssigned() + { + if (array_key_exists("isAssigned", $this->_propDict)) { + return $this->_propDict["isAssigned"]; + } else { + return null; + } + } + + /** + * Sets the isAssigned + * Indicates if the policy is deployed to any inclusion groups or not. + * + * @param bool $val The isAssigned + * + * @return WindowsInformationProtection + */ + public function setIsAssigned($val) + { + $this->_propDict["isAssigned"] = boolval($val); + return $this; + } + + + /** + * Gets the neutralDomainResources + * List of domain names that can used for work or personal resource + * + * @return array|null The neutralDomainResources + */ + public function getNeutralDomainResources() + { + if (array_key_exists("neutralDomainResources", $this->_propDict)) { + return $this->_propDict["neutralDomainResources"]; + } else { + return null; + } + } + + /** + * Sets the neutralDomainResources + * List of domain names that can used for work or personal resource + * + * @param WindowsInformationProtectionResourceCollection[] $val The neutralDomainResources + * + * @return WindowsInformationProtection + */ + public function setNeutralDomainResources($val) + { + $this->_propDict["neutralDomainResources"] = $val; + return $this; + } + + + /** + * Gets the protectedApps + * Protected applications can access enterprise data and the data handled by those applications are protected with encryption + * + * @return array|null The protectedApps + */ + public function getProtectedApps() + { + if (array_key_exists("protectedApps", $this->_propDict)) { + return $this->_propDict["protectedApps"]; + } else { + return null; + } + } + + /** + * Sets the protectedApps + * Protected applications can access enterprise data and the data handled by those applications are protected with encryption + * + * @param WindowsInformationProtectionApp[] $val The protectedApps + * + * @return WindowsInformationProtection + */ + public function setProtectedApps($val) + { + $this->_propDict["protectedApps"] = $val; + return $this; + } + + /** + * Gets the protectionUnderLockConfigRequired + * Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured + * + * @return bool|null The protectionUnderLockConfigRequired + */ + public function getProtectionUnderLockConfigRequired() + { + if (array_key_exists("protectionUnderLockConfigRequired", $this->_propDict)) { + return $this->_propDict["protectionUnderLockConfigRequired"]; + } else { + return null; + } + } + + /** + * Sets the protectionUnderLockConfigRequired + * Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured + * + * @param bool $val The protectionUnderLockConfigRequired + * + * @return WindowsInformationProtection + */ + public function setProtectionUnderLockConfigRequired($val) + { + $this->_propDict["protectionUnderLockConfigRequired"] = boolval($val); + return $this; + } + + /** + * Gets the revokeOnUnenrollDisabled + * This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. + * + * @return bool|null The revokeOnUnenrollDisabled + */ + public function getRevokeOnUnenrollDisabled() + { + if (array_key_exists("revokeOnUnenrollDisabled", $this->_propDict)) { + return $this->_propDict["revokeOnUnenrollDisabled"]; + } else { + return null; + } + } + + /** + * Sets the revokeOnUnenrollDisabled + * This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don't revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently. + * + * @param bool $val The revokeOnUnenrollDisabled + * + * @return WindowsInformationProtection + */ + public function setRevokeOnUnenrollDisabled($val) + { + $this->_propDict["revokeOnUnenrollDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the rightsManagementServicesTemplateId + * TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access + * + * @return string|null The rightsManagementServicesTemplateId + */ + public function getRightsManagementServicesTemplateId() + { + if (array_key_exists("rightsManagementServicesTemplateId", $this->_propDict)) { + return $this->_propDict["rightsManagementServicesTemplateId"]; + } else { + return null; + } + } + + /** + * Sets the rightsManagementServicesTemplateId + * TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access + * + * @param string $val The rightsManagementServicesTemplateId + * + * @return WindowsInformationProtection + */ + public function setRightsManagementServicesTemplateId($val) + { + $this->_propDict["rightsManagementServicesTemplateId"] = $val; + return $this; + } + + + /** + * Gets the smbAutoEncryptedFileExtensions + * Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary + * + * @return array|null The smbAutoEncryptedFileExtensions + */ + public function getSmbAutoEncryptedFileExtensions() + { + if (array_key_exists("smbAutoEncryptedFileExtensions", $this->_propDict)) { + return $this->_propDict["smbAutoEncryptedFileExtensions"]; + } else { + return null; + } + } + + /** + * Sets the smbAutoEncryptedFileExtensions + * Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary + * + * @param WindowsInformationProtectionResourceCollection[] $val The smbAutoEncryptedFileExtensions + * + * @return WindowsInformationProtection + */ + public function setSmbAutoEncryptedFileExtensions($val) + { + $this->_propDict["smbAutoEncryptedFileExtensions"] = $val; + return $this; + } + + + /** + * Gets the assignments + * Navigation property to list of security groups targeted for policy. + * + * @return array|null The assignments + */ + public function getAssignments() + { + if (array_key_exists("assignments", $this->_propDict)) { + return $this->_propDict["assignments"]; + } else { + return null; + } + } + + /** + * Sets the assignments + * Navigation property to list of security groups targeted for policy. + * + * @param TargetedManagedAppPolicyAssignment[] $val The assignments + * + * @return WindowsInformationProtection + */ + public function setAssignments($val) + { + $this->_propDict["assignments"] = $val; + return $this; + } + + + /** + * Gets the exemptAppLockerFiles + * Another way to input exempt apps through xml files + * + * @return array|null The exemptAppLockerFiles + */ + public function getExemptAppLockerFiles() + { + if (array_key_exists("exemptAppLockerFiles", $this->_propDict)) { + return $this->_propDict["exemptAppLockerFiles"]; + } else { + return null; + } + } + + /** + * Sets the exemptAppLockerFiles + * Another way to input exempt apps through xml files + * + * @param WindowsInformationProtectionAppLockerFile[] $val The exemptAppLockerFiles + * + * @return WindowsInformationProtection + */ + public function setExemptAppLockerFiles($val) + { + $this->_propDict["exemptAppLockerFiles"] = $val; + return $this; + } + + + /** + * Gets the protectedAppLockerFiles + * Another way to input protected apps through xml files + * + * @return array|null The protectedAppLockerFiles + */ + public function getProtectedAppLockerFiles() + { + if (array_key_exists("protectedAppLockerFiles", $this->_propDict)) { + return $this->_propDict["protectedAppLockerFiles"]; + } else { + return null; + } + } + + /** + * Sets the protectedAppLockerFiles + * Another way to input protected apps through xml files + * + * @param WindowsInformationProtectionAppLockerFile[] $val The protectedAppLockerFiles + * + * @return WindowsInformationProtection + */ + public function setProtectedAppLockerFiles($val) + { + $this->_propDict["protectedAppLockerFiles"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionApp.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionApp.php new file mode 100644 index 0000000..18d56f6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionApp.php @@ -0,0 +1,166 @@ +_propDict)) { + return $this->_propDict["denied"]; + } else { + return null; + } + } + + /** + * Sets the denied + * If true, app is denied protection or exemption. + * + * @param bool $val The value of the denied + * + * @return WindowsInformationProtectionApp + */ + public function setDenied($val) + { + $this->_propDict["denied"] = $val; + return $this; + } + /** + * Gets the description + * The app's description. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The app's description. + * + * @param string $val The value of the description + * + * @return WindowsInformationProtectionApp + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * App display name. + * + * @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 + * App display name. + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionApp + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the productName + * The product name. + * + * @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. + * + * @param string $val The value of the productName + * + * @return WindowsInformationProtectionApp + */ + public function setProductName($val) + { + $this->_propDict["productName"] = $val; + return $this; + } + /** + * Gets the publisherName + * The publisher name + * + * @return string|null The publisherName + */ + public function getPublisherName() + { + if (array_key_exists("publisherName", $this->_propDict)) { + return $this->_propDict["publisherName"]; + } else { + return null; + } + } + + /** + * Sets the publisherName + * The publisher name + * + * @param string $val The value of the publisherName + * + * @return WindowsInformationProtectionApp + */ + public function setPublisherName($val) + { + $this->_propDict["publisherName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLearningSummary.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLearningSummary.php new file mode 100644 index 0000000..30df9a8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLearningSummary.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["applicationName"]; + } else { + return null; + } + } + + /** + * Sets the applicationName + * Application Name + * + * @param string $val The applicationName + * + * @return WindowsInformationProtectionAppLearningSummary + */ + public function setApplicationName($val) + { + $this->_propDict["applicationName"] = $val; + return $this; + } + + /** + * Gets the applicationType + * Application Type. Possible values are: universal, desktop. + * + * @return ApplicationType|null The applicationType + */ + public function getApplicationType() + { + if (array_key_exists("applicationType", $this->_propDict)) { + if (is_a($this->_propDict["applicationType"], "\Microsoft\Graph\Model\ApplicationType") || is_null($this->_propDict["applicationType"])) { + return $this->_propDict["applicationType"]; + } else { + $this->_propDict["applicationType"] = new ApplicationType($this->_propDict["applicationType"]); + return $this->_propDict["applicationType"]; + } + } + return null; + } + + /** + * Sets the applicationType + * Application Type. Possible values are: universal, desktop. + * + * @param ApplicationType $val The applicationType + * + * @return WindowsInformationProtectionAppLearningSummary + */ + public function setApplicationType($val) + { + $this->_propDict["applicationType"] = $val; + return $this; + } + + /** + * Gets the deviceCount + * Device Count + * + * @return int|null The deviceCount + */ + public function getDeviceCount() + { + if (array_key_exists("deviceCount", $this->_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Device Count + * + * @param int $val The deviceCount + * + * @return WindowsInformationProtectionAppLearningSummary + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLockerFile.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLockerFile.php new file mode 100644 index 0000000..8c6d9d7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLockerFile.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * The friendly name + * + * @param string $val The displayName + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the file + * File as a byte array + * + * @return \GuzzleHttp\Psr7\Stream|null The file + */ + public function getFile() + { + if (array_key_exists("file", $this->_propDict)) { + if (is_a($this->_propDict["file"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["file"])) { + return $this->_propDict["file"]; + } else { + $this->_propDict["file"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["file"]); + return $this->_propDict["file"]; + } + } + return null; + } + + /** + * Sets the file + * File as a byte array + * + * @param \GuzzleHttp\Psr7\Stream $val The file + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setFile($val) + { + $this->_propDict["file"] = $val; + return $this; + } + + /** + * Gets the fileHash + * SHA256 hash of the file + * + * @return string|null The fileHash + */ + public function getFileHash() + { + if (array_key_exists("fileHash", $this->_propDict)) { + return $this->_propDict["fileHash"]; + } else { + return null; + } + } + + /** + * Sets the fileHash + * SHA256 hash of the file + * + * @param string $val The fileHash + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setFileHash($val) + { + $this->_propDict["fileHash"] = $val; + return $this; + } + + /** + * Gets the version + * Version of the entity. + * + * @return string|null The version + */ + public function getVersion() + { + if (array_key_exists("version", $this->_propDict)) { + return $this->_propDict["version"]; + } else { + return null; + } + } + + /** + * Sets the version + * Version of the entity. + * + * @param string $val The version + * + * @return WindowsInformationProtectionAppLockerFile + */ + public function setVersion($val) + { + $this->_propDict["version"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDataRecoveryCertificate.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDataRecoveryCertificate.php new file mode 100644 index 0000000..bf91ef8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDataRecoveryCertificate.php @@ -0,0 +1,148 @@ +_propDict)) { + if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["certificate"])) { + return $this->_propDict["certificate"]; + } else { + $this->_propDict["certificate"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["certificate"]); + return $this->_propDict["certificate"]; + } + } + return null; + } + + /** + * Sets the certificate + * Data recovery Certificate + * + * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the certificate + * + * @return WindowsInformationProtectionDataRecoveryCertificate The WindowsInformationProtectionDataRecoveryCertificate + */ + public function setCertificate($val) + { + $this->_propDict["certificate"] = $val; + return $this; + } + /** + * Gets the description + * Data recovery Certificate description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Data recovery Certificate description + * + * @param string $val The value of the description + * + * @return WindowsInformationProtectionDataRecoveryCertificate + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * Data recovery Certificate expiration datetime + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * Data recovery Certificate expiration datetime + * + * @param \DateTime $val The value to assign to the expirationDateTime + * + * @return WindowsInformationProtectionDataRecoveryCertificate The WindowsInformationProtectionDataRecoveryCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + /** + * Gets the subjectName + * Data recovery Certificate subject name + * + * @return string|null The subjectName + */ + public function getSubjectName() + { + if (array_key_exists("subjectName", $this->_propDict)) { + return $this->_propDict["subjectName"]; + } else { + return null; + } + } + + /** + * Sets the subjectName + * Data recovery Certificate subject name + * + * @param string $val The value of the subjectName + * + * @return WindowsInformationProtectionDataRecoveryCertificate + */ + public function setSubjectName($val) + { + $this->_propDict["subjectName"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDesktopApp.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDesktopApp.php new file mode 100644 index 0000000..6f9c57c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDesktopApp.php @@ -0,0 +1,121 @@ +setODataType("#microsoft.graph.windowsInformationProtectionDesktopApp"); + } + + /** + * Gets the binaryName + * The binary name. + * + * @return string|null The binaryName + */ + public function getBinaryName() + { + if (array_key_exists("binaryName", $this->_propDict)) { + return $this->_propDict["binaryName"]; + } else { + return null; + } + } + + /** + * Sets the binaryName + * The binary name. + * + * @param string $val The value of the binaryName + * + * @return WindowsInformationProtectionDesktopApp + */ + public function setBinaryName($val) + { + $this->_propDict["binaryName"] = $val; + return $this; + } + /** + * Gets the binaryVersionHigh + * The high binary version. + * + * @return string|null The binaryVersionHigh + */ + public function getBinaryVersionHigh() + { + if (array_key_exists("binaryVersionHigh", $this->_propDict)) { + return $this->_propDict["binaryVersionHigh"]; + } else { + return null; + } + } + + /** + * Sets the binaryVersionHigh + * The high binary version. + * + * @param string $val The value of the binaryVersionHigh + * + * @return WindowsInformationProtectionDesktopApp + */ + public function setBinaryVersionHigh($val) + { + $this->_propDict["binaryVersionHigh"] = $val; + return $this; + } + /** + * Gets the binaryVersionLow + * The lower binary version. + * + * @return string|null The binaryVersionLow + */ + public function getBinaryVersionLow() + { + if (array_key_exists("binaryVersionLow", $this->_propDict)) { + return $this->_propDict["binaryVersionLow"]; + } else { + return null; + } + } + + /** + * Sets the binaryVersionLow + * The lower binary version. + * + * @param string $val The value of the binaryVersionLow + * + * @return WindowsInformationProtectionDesktopApp + */ + public function setBinaryVersionLow($val) + { + $this->_propDict["binaryVersionLow"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionEnforcementLevel.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionEnforcementLevel.php new file mode 100644 index 0000000..88dfb0f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionEnforcementLevel.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionIPRangeCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the ranges + * Collection of ip ranges + * + * @return IpRange|null The ranges + */ + public function getRanges() + { + if (array_key_exists("ranges", $this->_propDict)) { + if (is_a($this->_propDict["ranges"], "\Microsoft\Graph\Model\IpRange") || is_null($this->_propDict["ranges"])) { + return $this->_propDict["ranges"]; + } else { + $this->_propDict["ranges"] = new IpRange($this->_propDict["ranges"]); + return $this->_propDict["ranges"]; + } + } + return null; + } + + /** + * Sets the ranges + * Collection of ip ranges + * + * @param IpRange $val The value to assign to the ranges + * + * @return WindowsInformationProtectionIPRangeCollection The WindowsInformationProtectionIPRangeCollection + */ + public function setRanges($val) + { + $this->_propDict["ranges"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionNetworkLearningSummary.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionNetworkLearningSummary.php new file mode 100644 index 0000000..3867868 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionNetworkLearningSummary.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["deviceCount"]; + } else { + return null; + } + } + + /** + * Sets the deviceCount + * Device Count + * + * @param int $val The deviceCount + * + * @return WindowsInformationProtectionNetworkLearningSummary + */ + public function setDeviceCount($val) + { + $this->_propDict["deviceCount"] = intval($val); + return $this; + } + + /** + * Gets the url + * Website url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * Website url + * + * @param string $val The url + * + * @return WindowsInformationProtectionNetworkLearningSummary + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionPinCharacterRequirements.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionPinCharacterRequirements.php new file mode 100644 index 0000000..47a8993 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionPinCharacterRequirements.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["daysWithoutContactBeforeUnenroll"]; + } else { + return null; + } + } + + /** + * Sets the daysWithoutContactBeforeUnenroll + * Offline interval before app data is wiped (days) + * + * @param int $val The daysWithoutContactBeforeUnenroll + * + * @return WindowsInformationProtectionPolicy + */ + public function setDaysWithoutContactBeforeUnenroll($val) + { + $this->_propDict["daysWithoutContactBeforeUnenroll"] = intval($val); + return $this; + } + + /** + * Gets the mdmEnrollmentUrl + * Enrollment url for the MDM + * + * @return string|null The mdmEnrollmentUrl + */ + public function getMdmEnrollmentUrl() + { + if (array_key_exists("mdmEnrollmentUrl", $this->_propDict)) { + return $this->_propDict["mdmEnrollmentUrl"]; + } else { + return null; + } + } + + /** + * Sets the mdmEnrollmentUrl + * Enrollment url for the MDM + * + * @param string $val The mdmEnrollmentUrl + * + * @return WindowsInformationProtectionPolicy + */ + public function setMdmEnrollmentUrl($val) + { + $this->_propDict["mdmEnrollmentUrl"] = $val; + return $this; + } + + /** + * Gets the minutesOfInactivityBeforeDeviceLock + * Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 &lt;= X &lt;= 999. + * + * @return int|null The minutesOfInactivityBeforeDeviceLock + */ + public function getMinutesOfInactivityBeforeDeviceLock() + { + if (array_key_exists("minutesOfInactivityBeforeDeviceLock", $this->_propDict)) { + return $this->_propDict["minutesOfInactivityBeforeDeviceLock"]; + } else { + return null; + } + } + + /** + * Sets the minutesOfInactivityBeforeDeviceLock + * Specifies the maximum amount of time (in minutes) allowed after the device is idle that will cause the device to become PIN or password locked. Range is an integer X where 0 &lt;= X &lt;= 999. + * + * @param int $val The minutesOfInactivityBeforeDeviceLock + * + * @return WindowsInformationProtectionPolicy + */ + public function setMinutesOfInactivityBeforeDeviceLock($val) + { + $this->_propDict["minutesOfInactivityBeforeDeviceLock"] = intval($val); + return $this; + } + + /** + * Gets the numberOfPastPinsRemembered + * Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. + * + * @return int|null The numberOfPastPinsRemembered + */ + public function getNumberOfPastPinsRemembered() + { + if (array_key_exists("numberOfPastPinsRemembered", $this->_propDict)) { + return $this->_propDict["numberOfPastPinsRemembered"]; + } else { + return null; + } + } + + /** + * Sets the numberOfPastPinsRemembered + * Integer value that specifies the number of past PINs that can be associated to a user account that can't be reused. The largest number you can configure for this policy setting is 50. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then storage of previous PINs is not required. This node was added in Windows 10, version 1511. Default is 0. + * + * @param int $val The numberOfPastPinsRemembered + * + * @return WindowsInformationProtectionPolicy + */ + public function setNumberOfPastPinsRemembered($val) + { + $this->_propDict["numberOfPastPinsRemembered"] = intval($val); + return $this; + } + + /** + * Gets the passwordMaximumAttemptCount + * The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 &lt;= X &lt;= 16 for desktop and 0 &lt;= X &lt;= 999 for mobile devices. + * + * @return int|null The passwordMaximumAttemptCount + */ + public function getPasswordMaximumAttemptCount() + { + if (array_key_exists("passwordMaximumAttemptCount", $this->_propDict)) { + return $this->_propDict["passwordMaximumAttemptCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMaximumAttemptCount + * The number of authentication failures allowed before the device will be wiped. A value of 0 disables device wipe functionality. Range is an integer X where 4 &lt;= X &lt;= 16 for desktop and 0 &lt;= X &lt;= 999 for mobile devices. + * + * @param int $val The passwordMaximumAttemptCount + * + * @return WindowsInformationProtectionPolicy + */ + public function setPasswordMaximumAttemptCount($val) + { + $this->_propDict["passwordMaximumAttemptCount"] = intval($val); + return $this; + } + + /** + * Gets the pinExpirationDays + * Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. + * + * @return int|null The pinExpirationDays + */ + public function getPinExpirationDays() + { + if (array_key_exists("pinExpirationDays", $this->_propDict)) { + return $this->_propDict["pinExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the pinExpirationDays + * Integer value specifies the period of time (in days) that a PIN can be used before the system requires the user to change it. The largest number you can configure for this policy setting is 730. The lowest number you can configure for this policy setting is 0. If this policy is set to 0, then the user's PIN will never expire. This node was added in Windows 10, version 1511. Default is 0. + * + * @param int $val The pinExpirationDays + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinExpirationDays($val) + { + $this->_propDict["pinExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the pinLowercaseLetters + * Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @return WindowsInformationProtectionPinCharacterRequirements|null The pinLowercaseLetters + */ + public function getPinLowercaseLetters() + { + if (array_key_exists("pinLowercaseLetters", $this->_propDict)) { + if (is_a($this->_propDict["pinLowercaseLetters"], "\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements") || is_null($this->_propDict["pinLowercaseLetters"])) { + return $this->_propDict["pinLowercaseLetters"]; + } else { + $this->_propDict["pinLowercaseLetters"] = new WindowsInformationProtectionPinCharacterRequirements($this->_propDict["pinLowercaseLetters"]); + return $this->_propDict["pinLowercaseLetters"]; + } + } + return null; + } + + /** + * Sets the pinLowercaseLetters + * Integer value that configures the use of lowercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @param WindowsInformationProtectionPinCharacterRequirements $val The pinLowercaseLetters + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinLowercaseLetters($val) + { + $this->_propDict["pinLowercaseLetters"] = $val; + return $this; + } + + /** + * Gets the pinMinimumLength + * Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. + * + * @return int|null The pinMinimumLength + */ + public function getPinMinimumLength() + { + if (array_key_exists("pinMinimumLength", $this->_propDict)) { + return $this->_propDict["pinMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the pinMinimumLength + * Integer value that sets the minimum number of characters required for the PIN. Default value is 4. The lowest number you can configure for this policy setting is 4. The largest number you can configure must be less than the number configured in the Maximum PIN length policy setting or the number 127, whichever is the lowest. + * + * @param int $val The pinMinimumLength + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinMinimumLength($val) + { + $this->_propDict["pinMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the pinSpecialCharacters + * Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! ' # $ % & ' ( ) + , - . / : ; &lt; = &gt; ? @ [ / ] ^ ` { + * + * @return WindowsInformationProtectionPinCharacterRequirements|null The pinSpecialCharacters + */ + public function getPinSpecialCharacters() + { + if (array_key_exists("pinSpecialCharacters", $this->_propDict)) { + if (is_a($this->_propDict["pinSpecialCharacters"], "\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements") || is_null($this->_propDict["pinSpecialCharacters"])) { + return $this->_propDict["pinSpecialCharacters"]; + } else { + $this->_propDict["pinSpecialCharacters"] = new WindowsInformationProtectionPinCharacterRequirements($this->_propDict["pinSpecialCharacters"]); + return $this->_propDict["pinSpecialCharacters"]; + } + } + return null; + } + + /** + * Sets the pinSpecialCharacters + * Integer value that configures the use of special characters in the Windows Hello for Business PIN. Valid special characters for Windows Hello for Business PIN gestures include: ! ' # $ % & ' ( ) + , - . / : ; &lt; = &gt; ? @ [ / ] ^ ` { + * + * @param WindowsInformationProtectionPinCharacterRequirements $val The pinSpecialCharacters + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinSpecialCharacters($val) + { + $this->_propDict["pinSpecialCharacters"] = $val; + return $this; + } + + /** + * Gets the pinUppercaseLetters + * Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @return WindowsInformationProtectionPinCharacterRequirements|null The pinUppercaseLetters + */ + public function getPinUppercaseLetters() + { + if (array_key_exists("pinUppercaseLetters", $this->_propDict)) { + if (is_a($this->_propDict["pinUppercaseLetters"], "\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements") || is_null($this->_propDict["pinUppercaseLetters"])) { + return $this->_propDict["pinUppercaseLetters"]; + } else { + $this->_propDict["pinUppercaseLetters"] = new WindowsInformationProtectionPinCharacterRequirements($this->_propDict["pinUppercaseLetters"]); + return $this->_propDict["pinUppercaseLetters"]; + } + } + return null; + } + + /** + * Sets the pinUppercaseLetters + * Integer value that configures the use of uppercase letters in the Windows Hello for Business PIN. Default is NotAllow. Possible values are: notAllow, requireAtLeastOne, allow. + * + * @param WindowsInformationProtectionPinCharacterRequirements $val The pinUppercaseLetters + * + * @return WindowsInformationProtectionPolicy + */ + public function setPinUppercaseLetters($val) + { + $this->_propDict["pinUppercaseLetters"] = $val; + return $this; + } + + /** + * Gets the revokeOnMdmHandoffDisabled + * New property in RS2, pending documentation + * + * @return bool|null The revokeOnMdmHandoffDisabled + */ + public function getRevokeOnMdmHandoffDisabled() + { + if (array_key_exists("revokeOnMdmHandoffDisabled", $this->_propDict)) { + return $this->_propDict["revokeOnMdmHandoffDisabled"]; + } else { + return null; + } + } + + /** + * Sets the revokeOnMdmHandoffDisabled + * New property in RS2, pending documentation + * + * @param bool $val The revokeOnMdmHandoffDisabled + * + * @return WindowsInformationProtectionPolicy + */ + public function setRevokeOnMdmHandoffDisabled($val) + { + $this->_propDict["revokeOnMdmHandoffDisabled"] = boolval($val); + return $this; + } + + /** + * Gets the windowsHelloForBusinessBlocked + * Boolean value that sets Windows Hello for Business as a method for signing into Windows. + * + * @return bool|null The windowsHelloForBusinessBlocked + */ + public function getWindowsHelloForBusinessBlocked() + { + if (array_key_exists("windowsHelloForBusinessBlocked", $this->_propDict)) { + return $this->_propDict["windowsHelloForBusinessBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsHelloForBusinessBlocked + * Boolean value that sets Windows Hello for Business as a method for signing into Windows. + * + * @param bool $val The windowsHelloForBusinessBlocked + * + * @return WindowsInformationProtectionPolicy + */ + public function setWindowsHelloForBusinessBlocked($val) + { + $this->_propDict["windowsHelloForBusinessBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionProxiedDomainCollection.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionProxiedDomainCollection.php new file mode 100644 index 0000000..e814d35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionProxiedDomainCollection.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionProxiedDomainCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the proxiedDomains + * Collection of proxied domains + * + * @return ProxiedDomain|null The proxiedDomains + */ + public function getProxiedDomains() + { + if (array_key_exists("proxiedDomains", $this->_propDict)) { + if (is_a($this->_propDict["proxiedDomains"], "\Microsoft\Graph\Model\ProxiedDomain") || is_null($this->_propDict["proxiedDomains"])) { + return $this->_propDict["proxiedDomains"]; + } else { + $this->_propDict["proxiedDomains"] = new ProxiedDomain($this->_propDict["proxiedDomains"]); + return $this->_propDict["proxiedDomains"]; + } + } + return null; + } + + /** + * Sets the proxiedDomains + * Collection of proxied domains + * + * @param ProxiedDomain $val The value to assign to the proxiedDomains + * + * @return WindowsInformationProtectionProxiedDomainCollection The WindowsInformationProtectionProxiedDomainCollection + */ + public function setProxiedDomains($val) + { + $this->_propDict["proxiedDomains"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionResourceCollection.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionResourceCollection.php new file mode 100644 index 0000000..e1b7b7b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionResourceCollection.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * Display name + * + * @param string $val The value of the displayName + * + * @return WindowsInformationProtectionResourceCollection + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the resources + * Collection of resources + * + * @return string|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * Collection of resources + * + * @param string $val The value of the resources + * + * @return WindowsInformationProtectionResourceCollection + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionStoreApp.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionStoreApp.php new file mode 100644 index 0000000..2468c37 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionStoreApp.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.windowsInformationProtectionStoreApp"); + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsMinimumOperatingSystem.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsMinimumOperatingSystem.php new file mode 100644 index 0000000..21e424a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsMinimumOperatingSystem.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["v100"]; + } else { + return null; + } + } + + /** + * Sets the v10_0 + * Windows version 10.0 or later. + * + * @param bool $val The value of the v10_0 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV10_0($val) + { + $this->_propDict["v100"] = $val; + return $this; + } + /** + * Gets the v8_0 + * Windows version 8.0 or later. + * + * @return bool|null The v8_0 + */ + public function getV8_0() + { + if (array_key_exists("v80", $this->_propDict)) { + return $this->_propDict["v80"]; + } else { + return null; + } + } + + /** + * Sets the v8_0 + * Windows version 8.0 or later. + * + * @param bool $val The value of the v8_0 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV8_0($val) + { + $this->_propDict["v80"] = $val; + return $this; + } + /** + * Gets the v8_1 + * Windows version 8.1 or later. + * + * @return bool|null The v8_1 + */ + public function getV8_1() + { + if (array_key_exists("v81", $this->_propDict)) { + return $this->_propDict["v81"]; + } else { + return null; + } + } + + /** + * Sets the v8_1 + * Windows version 8.1 or later. + * + * @param bool $val The value of the v8_1 + * + * @return WindowsMinimumOperatingSystem + */ + public function setV8_1($val) + { + $this->_propDict["v81"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php new file mode 100644 index 0000000..50b44bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["commandLine"]; + } else { + return null; + } + } + + /** + * Sets the commandLine + * The command line. + * + * @param string $val The commandLine + * + * @return WindowsMobileMSI + */ + public function setCommandLine($val) + { + $this->_propDict["commandLine"] = $val; + return $this; + } + + /** + * Gets the ignoreVersionDetection + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature. + * + * @return bool|null The ignoreVersionDetection + */ + public function getIgnoreVersionDetection() + { + if (array_key_exists("ignoreVersionDetection", $this->_propDict)) { + return $this->_propDict["ignoreVersionDetection"]; + } else { + return null; + } + } + + /** + * Sets the ignoreVersionDetection + * A boolean to control whether the app's version will be used to detect the app after it is installed on a device. Set this to true for Windows Mobile MSI Line of Business (LoB) apps that use a self update feature. + * + * @param bool $val The ignoreVersionDetection + * + * @return WindowsMobileMSI + */ + public function setIgnoreVersionDetection($val) + { + $this->_propDict["ignoreVersionDetection"] = boolval($val); + return $this; + } + + /** + * Gets the productCode + * The product code. + * + * @return string|null The productCode + */ + public function getProductCode() + { + if (array_key_exists("productCode", $this->_propDict)) { + return $this->_propDict["productCode"]; + } else { + return null; + } + } + + /** + * Sets the productCode + * The product code. + * + * @param string $val The productCode + * + * @return WindowsMobileMSI + */ + public function setProductCode($val) + { + $this->_propDict["productCode"] = $val; + return $this; + } + + /** + * Gets the productVersion + * The product version of Windows Mobile MSI Line of Business (LoB) app. + * + * @return string|null The productVersion + */ + public function getProductVersion() + { + if (array_key_exists("productVersion", $this->_propDict)) { + return $this->_propDict["productVersion"]; + } else { + return null; + } + } + + /** + * Sets the productVersion + * The product version of Windows Mobile MSI Line of Business (LoB) app. + * + * @param string $val The productVersion + * + * @return WindowsMobileMSI + */ + public function setProductVersion($val) + { + $this->_propDict["productVersion"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CompliancePolicy.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CompliancePolicy.php new file mode 100644 index 0000000..68df6d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CompliancePolicy.php @@ -0,0 +1,350 @@ +_propDict)) { + return $this->_propDict["osMaximumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMaximumVersion + * Maximum Windows Phone version. + * + * @param string $val The osMaximumVersion + * + * @return WindowsPhone81CompliancePolicy + */ + public function setOsMaximumVersion($val) + { + $this->_propDict["osMaximumVersion"] = $val; + return $this; + } + + /** + * Gets the osMinimumVersion + * Minimum Windows Phone version. + * + * @return string|null The osMinimumVersion + */ + public function getOsMinimumVersion() + { + if (array_key_exists("osMinimumVersion", $this->_propDict)) { + return $this->_propDict["osMinimumVersion"]; + } else { + return null; + } + } + + /** + * Sets the osMinimumVersion + * Minimum Windows Phone version. + * + * @param string $val The osMinimumVersion + * + * @return WindowsPhone81CompliancePolicy + */ + public function setOsMinimumVersion($val) + { + $this->_propDict["osMinimumVersion"] = $val; + return $this; + } + + /** + * Gets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Whether or not to block syncing the calendar. + * + * @param bool $val The passwordBlockSimple + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. + * + * @param int $val The passwordExpirationDays + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * The number of character sets required in the password. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. + * + * @param int $val The passwordMinimumLength + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @return int|null The passwordMinutesOfInactivityBeforeLock + */ + public function getPasswordMinutesOfInactivityBeforeLock() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeLock", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeLock"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeLock + * Minutes of inactivity before a password is required. + * + * @param int $val The passwordMinutesOfInactivityBeforeLock + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordMinutesOfInactivityBeforeLock($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeLock"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * The required password type. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return WindowsPhone81CompliancePolicy + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the storageRequireEncryption + * Require encryption on windows phone devices. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Require encryption on windows phone devices. + * + * @param bool $val The storageRequireEncryption + * + * @return WindowsPhone81CompliancePolicy + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CustomConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CustomConfiguration.php new file mode 100644 index 0000000..0289d3f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CustomConfiguration.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["omaSettings"]; + } else { + return null; + } + } + + /** + * Sets the omaSettings + * OMA settings. This collection can contain a maximum of 1000 elements. + * + * @param OmaSetting[] $val The omaSettings + * + * @return WindowsPhone81CustomConfiguration + */ + public function setOmaSettings($val) + { + $this->_propDict["omaSettings"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81GeneralConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81GeneralConfiguration.php new file mode 100644 index 0000000..4625bd6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81GeneralConfiguration.php @@ -0,0 +1,877 @@ +_propDict)) { + return $this->_propDict["applyOnlyToWindowsPhone81"]; + } else { + return null; + } + } + + /** + * Sets the applyOnlyToWindowsPhone81 + * Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only. + * + * @param bool $val The applyOnlyToWindowsPhone81 + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setApplyOnlyToWindowsPhone81($val) + { + $this->_propDict["applyOnlyToWindowsPhone81"] = boolval($val); + return $this; + } + + /** + * Gets the appsBlockCopyPaste + * Indicates whether or not to block copy paste. + * + * @return bool|null The appsBlockCopyPaste + */ + public function getAppsBlockCopyPaste() + { + if (array_key_exists("appsBlockCopyPaste", $this->_propDict)) { + return $this->_propDict["appsBlockCopyPaste"]; + } else { + return null; + } + } + + /** + * Sets the appsBlockCopyPaste + * Indicates whether or not to block copy paste. + * + * @param bool $val The appsBlockCopyPaste + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setAppsBlockCopyPaste($val) + { + $this->_propDict["appsBlockCopyPaste"] = boolval($val); + return $this; + } + + /** + * Gets the bluetoothBlocked + * Indicates whether or not to block bluetooth. + * + * @return bool|null The bluetoothBlocked + */ + public function getBluetoothBlocked() + { + if (array_key_exists("bluetoothBlocked", $this->_propDict)) { + return $this->_propDict["bluetoothBlocked"]; + } else { + return null; + } + } + + /** + * Sets the bluetoothBlocked + * Indicates whether or not to block bluetooth. + * + * @param bool $val The bluetoothBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setBluetoothBlocked($val) + { + $this->_propDict["bluetoothBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cameraBlocked + * Indicates whether or not to block camera. + * + * @return bool|null The cameraBlocked + */ + public function getCameraBlocked() + { + if (array_key_exists("cameraBlocked", $this->_propDict)) { + return $this->_propDict["cameraBlocked"]; + } else { + return null; + } + } + + /** + * Sets the cameraBlocked + * Indicates whether or not to block camera. + * + * @param bool $val The cameraBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCameraBlocked($val) + { + $this->_propDict["cameraBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the cellularBlockWifiTethering + * Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The cellularBlockWifiTethering + */ + public function getCellularBlockWifiTethering() + { + if (array_key_exists("cellularBlockWifiTethering", $this->_propDict)) { + return $this->_propDict["cellularBlockWifiTethering"]; + } else { + return null; + } + } + + /** + * Sets the cellularBlockWifiTethering + * Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The cellularBlockWifiTethering + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCellularBlockWifiTethering($val) + { + $this->_propDict["cellularBlockWifiTethering"] = boolval($val); + return $this; + } + + /** + * Gets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @return AppListType|null The compliantAppListType + */ + public function getCompliantAppListType() + { + if (array_key_exists("compliantAppListType", $this->_propDict)) { + if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType") || is_null($this->_propDict["compliantAppListType"])) { + return $this->_propDict["compliantAppListType"]; + } else { + $this->_propDict["compliantAppListType"] = new AppListType($this->_propDict["compliantAppListType"]); + return $this->_propDict["compliantAppListType"]; + } + } + return null; + } + + /** + * Sets the compliantAppListType + * List that is in the AppComplianceList. Possible values are: none, appsInListCompliant, appsNotInListCompliant. + * + * @param AppListType $val The compliantAppListType + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCompliantAppListType($val) + { + $this->_propDict["compliantAppListType"] = $val; + return $this; + } + + + /** + * Gets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @return array|null The compliantAppsList + */ + public function getCompliantAppsList() + { + if (array_key_exists("compliantAppsList", $this->_propDict)) { + return $this->_propDict["compliantAppsList"]; + } else { + return null; + } + } + + /** + * Sets the compliantAppsList + * List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements. + * + * @param AppListItem[] $val The compliantAppsList + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setCompliantAppsList($val) + { + $this->_propDict["compliantAppsList"] = $val; + return $this; + } + + /** + * Gets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @return bool|null The diagnosticDataBlockSubmission + */ + public function getDiagnosticDataBlockSubmission() + { + if (array_key_exists("diagnosticDataBlockSubmission", $this->_propDict)) { + return $this->_propDict["diagnosticDataBlockSubmission"]; + } else { + return null; + } + } + + /** + * Sets the diagnosticDataBlockSubmission + * Indicates whether or not to block diagnostic data submission. + * + * @param bool $val The diagnosticDataBlockSubmission + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setDiagnosticDataBlockSubmission($val) + { + $this->_propDict["diagnosticDataBlockSubmission"] = boolval($val); + return $this; + } + + /** + * Gets the emailBlockAddingAccounts + * Indicates whether or not to block custom email accounts. + * + * @return bool|null The emailBlockAddingAccounts + */ + public function getEmailBlockAddingAccounts() + { + if (array_key_exists("emailBlockAddingAccounts", $this->_propDict)) { + return $this->_propDict["emailBlockAddingAccounts"]; + } else { + return null; + } + } + + /** + * Sets the emailBlockAddingAccounts + * Indicates whether or not to block custom email accounts. + * + * @param bool $val The emailBlockAddingAccounts + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setEmailBlockAddingAccounts($val) + { + $this->_propDict["emailBlockAddingAccounts"] = boolval($val); + return $this; + } + + /** + * Gets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @return bool|null The locationServicesBlocked + */ + public function getLocationServicesBlocked() + { + if (array_key_exists("locationServicesBlocked", $this->_propDict)) { + return $this->_propDict["locationServicesBlocked"]; + } else { + return null; + } + } + + /** + * Sets the locationServicesBlocked + * Indicates whether or not to block location services. + * + * @param bool $val The locationServicesBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setLocationServicesBlocked($val) + { + $this->_propDict["locationServicesBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the microsoftAccountBlocked + * Indicates whether or not to block using a Microsoft Account. + * + * @return bool|null The microsoftAccountBlocked + */ + public function getMicrosoftAccountBlocked() + { + if (array_key_exists("microsoftAccountBlocked", $this->_propDict)) { + return $this->_propDict["microsoftAccountBlocked"]; + } else { + return null; + } + } + + /** + * Sets the microsoftAccountBlocked + * Indicates whether or not to block using a Microsoft Account. + * + * @param bool $val The microsoftAccountBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setMicrosoftAccountBlocked($val) + { + $this->_propDict["microsoftAccountBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @return bool|null The nfcBlocked + */ + public function getNfcBlocked() + { + if (array_key_exists("nfcBlocked", $this->_propDict)) { + return $this->_propDict["nfcBlocked"]; + } else { + return null; + } + } + + /** + * Sets the nfcBlocked + * Indicates whether or not to block Near-Field Communication. + * + * @param bool $val The nfcBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setNfcBlocked($val) + { + $this->_propDict["nfcBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the passwordBlockSimple + * Indicates whether or not to block syncing the calendar. + * + * @return bool|null The passwordBlockSimple + */ + public function getPasswordBlockSimple() + { + if (array_key_exists("passwordBlockSimple", $this->_propDict)) { + return $this->_propDict["passwordBlockSimple"]; + } else { + return null; + } + } + + /** + * Sets the passwordBlockSimple + * Indicates whether or not to block syncing the calendar. + * + * @param bool $val The passwordBlockSimple + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordBlockSimple($val) + { + $this->_propDict["passwordBlockSimple"] = boolval($val); + return $this; + } + + /** + * Gets the passwordExpirationDays + * Number of days before the password expires. + * + * @return int|null The passwordExpirationDays + */ + public function getPasswordExpirationDays() + { + if (array_key_exists("passwordExpirationDays", $this->_propDict)) { + return $this->_propDict["passwordExpirationDays"]; + } else { + return null; + } + } + + /** + * Sets the passwordExpirationDays + * Number of days before the password expires. + * + * @param int $val The passwordExpirationDays + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordExpirationDays($val) + { + $this->_propDict["passwordExpirationDays"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. + * + * @return int|null The passwordMinimumCharacterSetCount + */ + public function getPasswordMinimumCharacterSetCount() + { + if (array_key_exists("passwordMinimumCharacterSetCount", $this->_propDict)) { + return $this->_propDict["passwordMinimumCharacterSetCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumCharacterSetCount + * Number of character sets a password must contain. + * + * @param int $val The passwordMinimumCharacterSetCount + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordMinimumCharacterSetCount($val) + { + $this->_propDict["passwordMinimumCharacterSetCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinimumLength + * Minimum length of passwords. + * + * @return int|null The passwordMinimumLength + */ + public function getPasswordMinimumLength() + { + if (array_key_exists("passwordMinimumLength", $this->_propDict)) { + return $this->_propDict["passwordMinimumLength"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinimumLength + * Minimum length of passwords. + * + * @param int $val The passwordMinimumLength + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordMinimumLength($val) + { + $this->_propDict["passwordMinimumLength"] = intval($val); + return $this; + } + + /** + * Gets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before screen timeout. + * + * @return int|null The passwordMinutesOfInactivityBeforeScreenTimeout + */ + public function getPasswordMinutesOfInactivityBeforeScreenTimeout() + { + if (array_key_exists("passwordMinutesOfInactivityBeforeScreenTimeout", $this->_propDict)) { + return $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"]; + } else { + return null; + } + } + + /** + * Sets the passwordMinutesOfInactivityBeforeScreenTimeout + * Minutes of inactivity before screen timeout. + * + * @param int $val The passwordMinutesOfInactivityBeforeScreenTimeout + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordMinutesOfInactivityBeforeScreenTimeout($val) + { + $this->_propDict["passwordMinutesOfInactivityBeforeScreenTimeout"] = intval($val); + return $this; + } + + /** + * Gets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @return int|null The passwordPreviousPasswordBlockCount + */ + public function getPasswordPreviousPasswordBlockCount() + { + if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) { + return $this->_propDict["passwordPreviousPasswordBlockCount"]; + } else { + return null; + } + } + + /** + * Sets the passwordPreviousPasswordBlockCount + * Number of previous passwords to block. Valid values 0 to 24 + * + * @param int $val The passwordPreviousPasswordBlockCount + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordPreviousPasswordBlockCount($val) + { + $this->_propDict["passwordPreviousPasswordBlockCount"] = intval($val); + return $this; + } + + /** + * Gets the passwordRequired + * Indicates whether or not to require a password. + * + * @return bool|null The passwordRequired + */ + public function getPasswordRequired() + { + if (array_key_exists("passwordRequired", $this->_propDict)) { + return $this->_propDict["passwordRequired"]; + } else { + return null; + } + } + + /** + * Sets the passwordRequired + * Indicates whether or not to require a password. + * + * @param bool $val The passwordRequired + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordRequired($val) + { + $this->_propDict["passwordRequired"] = boolval($val); + return $this; + } + + /** + * Gets the passwordRequiredType + * Password type that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @return RequiredPasswordType|null The passwordRequiredType + */ + public function getPasswordRequiredType() + { + if (array_key_exists("passwordRequiredType", $this->_propDict)) { + if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType") || is_null($this->_propDict["passwordRequiredType"])) { + return $this->_propDict["passwordRequiredType"]; + } else { + $this->_propDict["passwordRequiredType"] = new RequiredPasswordType($this->_propDict["passwordRequiredType"]); + return $this->_propDict["passwordRequiredType"]; + } + } + return null; + } + + /** + * Sets the passwordRequiredType + * Password type that is required. Possible values are: deviceDefault, alphanumeric, numeric. + * + * @param RequiredPasswordType $val The passwordRequiredType + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordRequiredType($val) + { + $this->_propDict["passwordRequiredType"] = $val; + return $this; + } + + /** + * Gets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. + * + * @return int|null The passwordSignInFailureCountBeforeFactoryReset + */ + public function getPasswordSignInFailureCountBeforeFactoryReset() + { + if (array_key_exists("passwordSignInFailureCountBeforeFactoryReset", $this->_propDict)) { + return $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"]; + } else { + return null; + } + } + + /** + * Sets the passwordSignInFailureCountBeforeFactoryReset + * Number of sign in failures allowed before factory reset. + * + * @param int $val The passwordSignInFailureCountBeforeFactoryReset + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setPasswordSignInFailureCountBeforeFactoryReset($val) + { + $this->_propDict["passwordSignInFailureCountBeforeFactoryReset"] = intval($val); + return $this; + } + + /** + * Gets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @return bool|null The screenCaptureBlocked + */ + public function getScreenCaptureBlocked() + { + if (array_key_exists("screenCaptureBlocked", $this->_propDict)) { + return $this->_propDict["screenCaptureBlocked"]; + } else { + return null; + } + } + + /** + * Sets the screenCaptureBlocked + * Indicates whether or not to block screenshots. + * + * @param bool $val The screenCaptureBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setScreenCaptureBlocked($val) + { + $this->_propDict["screenCaptureBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage. + * + * @return bool|null The storageBlockRemovableStorage + */ + public function getStorageBlockRemovableStorage() + { + if (array_key_exists("storageBlockRemovableStorage", $this->_propDict)) { + return $this->_propDict["storageBlockRemovableStorage"]; + } else { + return null; + } + } + + /** + * Sets the storageBlockRemovableStorage + * Indicates whether or not to block removable storage. + * + * @param bool $val The storageBlockRemovableStorage + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setStorageBlockRemovableStorage($val) + { + $this->_propDict["storageBlockRemovableStorage"] = boolval($val); + return $this; + } + + /** + * Gets the storageRequireEncryption + * Indicates whether or not to require encryption. + * + * @return bool|null The storageRequireEncryption + */ + public function getStorageRequireEncryption() + { + if (array_key_exists("storageRequireEncryption", $this->_propDict)) { + return $this->_propDict["storageRequireEncryption"]; + } else { + return null; + } + } + + /** + * Sets the storageRequireEncryption + * Indicates whether or not to require encryption. + * + * @param bool $val The storageRequireEncryption + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setStorageRequireEncryption($val) + { + $this->_propDict["storageRequireEncryption"] = boolval($val); + return $this; + } + + /** + * Gets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @return bool|null The webBrowserBlocked + */ + public function getWebBrowserBlocked() + { + if (array_key_exists("webBrowserBlocked", $this->_propDict)) { + return $this->_propDict["webBrowserBlocked"]; + } else { + return null; + } + } + + /** + * Sets the webBrowserBlocked + * Indicates whether or not to block the web browser. + * + * @param bool $val The webBrowserBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWebBrowserBlocked($val) + { + $this->_propDict["webBrowserBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlockAutomaticConnectHotspots + * Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The wifiBlockAutomaticConnectHotspots + */ + public function getWifiBlockAutomaticConnectHotspots() + { + if (array_key_exists("wifiBlockAutomaticConnectHotspots", $this->_propDict)) { + return $this->_propDict["wifiBlockAutomaticConnectHotspots"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockAutomaticConnectHotspots + * Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The wifiBlockAutomaticConnectHotspots + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWifiBlockAutomaticConnectHotspots($val) + { + $this->_propDict["wifiBlockAutomaticConnectHotspots"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlocked + * Indicates whether or not to block Wi-Fi. + * + * @return bool|null The wifiBlocked + */ + public function getWifiBlocked() + { + if (array_key_exists("wifiBlocked", $this->_propDict)) { + return $this->_propDict["wifiBlocked"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlocked + * Indicates whether or not to block Wi-Fi. + * + * @param bool $val The wifiBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWifiBlocked($val) + { + $this->_propDict["wifiBlocked"] = boolval($val); + return $this; + } + + /** + * Gets the wifiBlockHotspotReporting + * Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked. + * + * @return bool|null The wifiBlockHotspotReporting + */ + public function getWifiBlockHotspotReporting() + { + if (array_key_exists("wifiBlockHotspotReporting", $this->_propDict)) { + return $this->_propDict["wifiBlockHotspotReporting"]; + } else { + return null; + } + } + + /** + * Sets the wifiBlockHotspotReporting + * Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi-Fi is blocked. + * + * @param bool $val The wifiBlockHotspotReporting + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWifiBlockHotspotReporting($val) + { + $this->_propDict["wifiBlockHotspotReporting"] = boolval($val); + return $this; + } + + /** + * Gets the windowsStoreBlocked + * Indicates whether or not to block the Windows Store. + * + * @return bool|null The windowsStoreBlocked + */ + public function getWindowsStoreBlocked() + { + if (array_key_exists("windowsStoreBlocked", $this->_propDict)) { + return $this->_propDict["windowsStoreBlocked"]; + } else { + return null; + } + } + + /** + * Sets the windowsStoreBlocked + * Indicates whether or not to block the Windows Store. + * + * @param bool $val The windowsStoreBlocked + * + * @return WindowsPhone81GeneralConfiguration + */ + public function setWindowsStoreBlocked($val) + { + $this->_propDict["windowsStoreBlocked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsSpotlightEnablementSettings.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsSpotlightEnablementSettings.php new file mode 100644 index 0000000..be42a19 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsSpotlightEnablementSettings.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["applicableArchitectures"], "\Microsoft\Graph\Model\WindowsArchitecture") || is_null($this->_propDict["applicableArchitectures"])) { + return $this->_propDict["applicableArchitectures"]; + } else { + $this->_propDict["applicableArchitectures"] = new WindowsArchitecture($this->_propDict["applicableArchitectures"]); + return $this->_propDict["applicableArchitectures"]; + } + } + return null; + } + + /** + * Sets the applicableArchitectures + * The Windows architecture(s) for which this app can run on. Possible values are: none, x86, x64, arm, neutral, arm64. + * + * @param WindowsArchitecture $val The applicableArchitectures + * + * @return WindowsUniversalAppX + */ + public function setApplicableArchitectures($val) + { + $this->_propDict["applicableArchitectures"] = $val; + return $this; + } + + /** + * Gets the applicableDeviceTypes + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + * + * @return WindowsDeviceType|null The applicableDeviceTypes + */ + public function getApplicableDeviceTypes() + { + if (array_key_exists("applicableDeviceTypes", $this->_propDict)) { + if (is_a($this->_propDict["applicableDeviceTypes"], "\Microsoft\Graph\Model\WindowsDeviceType") || is_null($this->_propDict["applicableDeviceTypes"])) { + return $this->_propDict["applicableDeviceTypes"]; + } else { + $this->_propDict["applicableDeviceTypes"] = new WindowsDeviceType($this->_propDict["applicableDeviceTypes"]); + return $this->_propDict["applicableDeviceTypes"]; + } + } + return null; + } + + /** + * Sets the applicableDeviceTypes + * The Windows device type(s) for which this app can run on. Possible values are: none, desktop, mobile, holographic, team. + * + * @param WindowsDeviceType $val The applicableDeviceTypes + * + * @return WindowsUniversalAppX + */ + public function setApplicableDeviceTypes($val) + { + $this->_propDict["applicableDeviceTypes"] = $val; + return $this; + } + + /** + * Gets the identityName + * The Identity Name. + * + * @return string|null The identityName + */ + public function getIdentityName() + { + if (array_key_exists("identityName", $this->_propDict)) { + return $this->_propDict["identityName"]; + } else { + return null; + } + } + + /** + * Sets the identityName + * The Identity Name. + * + * @param string $val The identityName + * + * @return WindowsUniversalAppX + */ + public function setIdentityName($val) + { + $this->_propDict["identityName"] = $val; + return $this; + } + + /** + * Gets the identityPublisherHash + * The Identity Publisher Hash. + * + * @return string|null The identityPublisherHash + */ + public function getIdentityPublisherHash() + { + if (array_key_exists("identityPublisherHash", $this->_propDict)) { + return $this->_propDict["identityPublisherHash"]; + } else { + return null; + } + } + + /** + * Sets the identityPublisherHash + * The Identity Publisher Hash. + * + * @param string $val The identityPublisherHash + * + * @return WindowsUniversalAppX + */ + public function setIdentityPublisherHash($val) + { + $this->_propDict["identityPublisherHash"] = $val; + return $this; + } + + /** + * Gets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @return string|null The identityResourceIdentifier + */ + public function getIdentityResourceIdentifier() + { + if (array_key_exists("identityResourceIdentifier", $this->_propDict)) { + return $this->_propDict["identityResourceIdentifier"]; + } else { + return null; + } + } + + /** + * Sets the identityResourceIdentifier + * The Identity Resource Identifier. + * + * @param string $val The identityResourceIdentifier + * + * @return WindowsUniversalAppX + */ + public function setIdentityResourceIdentifier($val) + { + $this->_propDict["identityResourceIdentifier"] = $val; + return $this; + } + + /** + * Gets the identityVersion + * The identity version. + * + * @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. + * + * @param string $val The identityVersion + * + * @return WindowsUniversalAppX + */ + public function setIdentityVersion($val) + { + $this->_propDict["identityVersion"] = $val; + return $this; + } + + /** + * Gets the isBundle + * Whether or not the app is a bundle. + * + * @return bool|null The isBundle + */ + public function getIsBundle() + { + if (array_key_exists("isBundle", $this->_propDict)) { + return $this->_propDict["isBundle"]; + } else { + return null; + } + } + + /** + * Sets the isBundle + * Whether or not the app is a bundle. + * + * @param bool $val The isBundle + * + * @return WindowsUniversalAppX + */ + public function setIsBundle($val) + { + $this->_propDict["isBundle"] = boolval($val); + return $this; + } + + /** + * Gets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @return WindowsMinimumOperatingSystem|null The minimumSupportedOperatingSystem + */ + public function getMinimumSupportedOperatingSystem() + { + if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { + if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\WindowsMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) { + return $this->_propDict["minimumSupportedOperatingSystem"]; + } else { + $this->_propDict["minimumSupportedOperatingSystem"] = new WindowsMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]); + return $this->_propDict["minimumSupportedOperatingSystem"]; + } + } + return null; + } + + /** + * Sets the minimumSupportedOperatingSystem + * The value for the minimum applicable operating system. + * + * @param WindowsMinimumOperatingSystem $val The minimumSupportedOperatingSystem + * + * @return WindowsUniversalAppX + */ + public function setMinimumSupportedOperatingSystem($val) + { + $this->_propDict["minimumSupportedOperatingSystem"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateActiveHoursInstall.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateActiveHoursInstall.php new file mode 100644 index 0000000..335f3a9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateActiveHoursInstall.php @@ -0,0 +1,103 @@ +setODataType("#microsoft.graph.windowsUpdateActiveHoursInstall"); + } + + + /** + * Gets the activeHoursEnd + * Active Hours End + * + * @return TimeOfDay|null The activeHoursEnd + */ + public function getActiveHoursEnd() + { + if (array_key_exists("activeHoursEnd", $this->_propDict)) { + if (is_a($this->_propDict["activeHoursEnd"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursEnd"])) { + return $this->_propDict["activeHoursEnd"]; + } else { + $this->_propDict["activeHoursEnd"] = new TimeOfDay($this->_propDict["activeHoursEnd"]); + return $this->_propDict["activeHoursEnd"]; + } + } + return null; + } + + /** + * Sets the activeHoursEnd + * Active Hours End + * + * @param TimeOfDay $val The value to assign to the activeHoursEnd + * + * @return WindowsUpdateActiveHoursInstall The WindowsUpdateActiveHoursInstall + */ + public function setActiveHoursEnd($val) + { + $this->_propDict["activeHoursEnd"] = $val; + return $this; + } + + /** + * Gets the activeHoursStart + * Active Hours Start + * + * @return TimeOfDay|null The activeHoursStart + */ + public function getActiveHoursStart() + { + if (array_key_exists("activeHoursStart", $this->_propDict)) { + if (is_a($this->_propDict["activeHoursStart"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["activeHoursStart"])) { + return $this->_propDict["activeHoursStart"]; + } else { + $this->_propDict["activeHoursStart"] = new TimeOfDay($this->_propDict["activeHoursStart"]); + return $this->_propDict["activeHoursStart"]; + } + } + return null; + } + + /** + * Sets the activeHoursStart + * Active Hours Start + * + * @param TimeOfDay $val The value to assign to the activeHoursStart + * + * @return WindowsUpdateActiveHoursInstall The WindowsUpdateActiveHoursInstall + */ + public function setActiveHoursStart($val) + { + $this->_propDict["activeHoursStart"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateForBusinessConfiguration.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateForBusinessConfiguration.php new file mode 100644 index 0000000..b51227f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateForBusinessConfiguration.php @@ -0,0 +1,432 @@ +_propDict)) { + if (is_a($this->_propDict["automaticUpdateMode"], "\Microsoft\Graph\Model\AutomaticUpdateMode") || is_null($this->_propDict["automaticUpdateMode"])) { + return $this->_propDict["automaticUpdateMode"]; + } else { + $this->_propDict["automaticUpdateMode"] = new AutomaticUpdateMode($this->_propDict["automaticUpdateMode"]); + return $this->_propDict["automaticUpdateMode"]; + } + } + return null; + } + + /** + * Sets the automaticUpdateMode + * Automatic update mode. Possible values are: userDefined, notifyDownload, autoInstallAtMaintenanceTime, autoInstallAndRebootAtMaintenanceTime, autoInstallAndRebootAtScheduledTime, autoInstallAndRebootWithoutEndUserControl, windowsDefault. + * + * @param AutomaticUpdateMode $val The automaticUpdateMode + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setAutomaticUpdateMode($val) + { + $this->_propDict["automaticUpdateMode"] = $val; + return $this; + } + + /** + * Gets the businessReadyUpdatesOnly + * Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. + * + * @return WindowsUpdateType|null The businessReadyUpdatesOnly + */ + public function getBusinessReadyUpdatesOnly() + { + if (array_key_exists("businessReadyUpdatesOnly", $this->_propDict)) { + if (is_a($this->_propDict["businessReadyUpdatesOnly"], "\Microsoft\Graph\Model\WindowsUpdateType") || is_null($this->_propDict["businessReadyUpdatesOnly"])) { + return $this->_propDict["businessReadyUpdatesOnly"]; + } else { + $this->_propDict["businessReadyUpdatesOnly"] = new WindowsUpdateType($this->_propDict["businessReadyUpdatesOnly"]); + return $this->_propDict["businessReadyUpdatesOnly"]; + } + } + return null; + } + + /** + * Sets the businessReadyUpdatesOnly + * Determines which branch devices will receive their updates from. Possible values are: userDefined, all, businessReadyOnly, windowsInsiderBuildFast, windowsInsiderBuildSlow, windowsInsiderBuildRelease. + * + * @param WindowsUpdateType $val The businessReadyUpdatesOnly + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setBusinessReadyUpdatesOnly($val) + { + $this->_propDict["businessReadyUpdatesOnly"] = $val; + return $this; + } + + /** + * Gets the deliveryOptimizationMode + * Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + * + * @return WindowsDeliveryOptimizationMode|null The deliveryOptimizationMode + */ + public function getDeliveryOptimizationMode() + { + if (array_key_exists("deliveryOptimizationMode", $this->_propDict)) { + if (is_a($this->_propDict["deliveryOptimizationMode"], "\Microsoft\Graph\Model\WindowsDeliveryOptimizationMode") || is_null($this->_propDict["deliveryOptimizationMode"])) { + return $this->_propDict["deliveryOptimizationMode"]; + } else { + $this->_propDict["deliveryOptimizationMode"] = new WindowsDeliveryOptimizationMode($this->_propDict["deliveryOptimizationMode"]); + return $this->_propDict["deliveryOptimizationMode"]; + } + } + return null; + } + + /** + * Sets the deliveryOptimizationMode + * Delivery Optimization Mode. Possible values are: userDefined, httpOnly, httpWithPeeringNat, httpWithPeeringPrivateGroup, httpWithInternetPeering, simpleDownload, bypassMode. + * + * @param WindowsDeliveryOptimizationMode $val The deliveryOptimizationMode + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDeliveryOptimizationMode($val) + { + $this->_propDict["deliveryOptimizationMode"] = $val; + return $this; + } + + /** + * Gets the driversExcluded + * Exclude Windows update Drivers + * + * @return bool|null The driversExcluded + */ + public function getDriversExcluded() + { + if (array_key_exists("driversExcluded", $this->_propDict)) { + return $this->_propDict["driversExcluded"]; + } else { + return null; + } + } + + /** + * Sets the driversExcluded + * Exclude Windows update Drivers + * + * @param bool $val The driversExcluded + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setDriversExcluded($val) + { + $this->_propDict["driversExcluded"] = boolval($val); + return $this; + } + + /** + * Gets the featureUpdatesDeferralPeriodInDays + * Defer Feature Updates by these many days + * + * @return int|null The featureUpdatesDeferralPeriodInDays + */ + public function getFeatureUpdatesDeferralPeriodInDays() + { + if (array_key_exists("featureUpdatesDeferralPeriodInDays", $this->_propDict)) { + return $this->_propDict["featureUpdatesDeferralPeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdatesDeferralPeriodInDays + * Defer Feature Updates by these many days + * + * @param int $val The featureUpdatesDeferralPeriodInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesDeferralPeriodInDays($val) + { + $this->_propDict["featureUpdatesDeferralPeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the featureUpdatesPaused + * Pause Feature Updates + * + * @return bool|null The featureUpdatesPaused + */ + public function getFeatureUpdatesPaused() + { + if (array_key_exists("featureUpdatesPaused", $this->_propDict)) { + return $this->_propDict["featureUpdatesPaused"]; + } else { + return null; + } + } + + /** + * Sets the featureUpdatesPaused + * Pause Feature Updates + * + * @param bool $val The featureUpdatesPaused + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesPaused($val) + { + $this->_propDict["featureUpdatesPaused"] = boolval($val); + return $this; + } + + /** + * Gets the featureUpdatesPauseExpiryDateTime + * Feature Updates Pause Expiry datetime + * + * @return \DateTime|null The featureUpdatesPauseExpiryDateTime + */ + public function getFeatureUpdatesPauseExpiryDateTime() + { + if (array_key_exists("featureUpdatesPauseExpiryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["featureUpdatesPauseExpiryDateTime"], "\DateTime") || is_null($this->_propDict["featureUpdatesPauseExpiryDateTime"])) { + return $this->_propDict["featureUpdatesPauseExpiryDateTime"]; + } else { + $this->_propDict["featureUpdatesPauseExpiryDateTime"] = new \DateTime($this->_propDict["featureUpdatesPauseExpiryDateTime"]); + return $this->_propDict["featureUpdatesPauseExpiryDateTime"]; + } + } + return null; + } + + /** + * Sets the featureUpdatesPauseExpiryDateTime + * Feature Updates Pause Expiry datetime + * + * @param \DateTime $val The featureUpdatesPauseExpiryDateTime + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setFeatureUpdatesPauseExpiryDateTime($val) + { + $this->_propDict["featureUpdatesPauseExpiryDateTime"] = $val; + return $this; + } + + /** + * Gets the installationSchedule + * Installation schedule + * + * @return WindowsUpdateInstallScheduleType|null The installationSchedule + */ + public function getInstallationSchedule() + { + if (array_key_exists("installationSchedule", $this->_propDict)) { + if (is_a($this->_propDict["installationSchedule"], "\Microsoft\Graph\Model\WindowsUpdateInstallScheduleType") || is_null($this->_propDict["installationSchedule"])) { + return $this->_propDict["installationSchedule"]; + } else { + $this->_propDict["installationSchedule"] = new WindowsUpdateInstallScheduleType($this->_propDict["installationSchedule"]); + return $this->_propDict["installationSchedule"]; + } + } + return null; + } + + /** + * Sets the installationSchedule + * Installation schedule + * + * @param WindowsUpdateInstallScheduleType $val The installationSchedule + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setInstallationSchedule($val) + { + $this->_propDict["installationSchedule"] = $val; + return $this; + } + + /** + * Gets the microsoftUpdateServiceAllowed + * Allow Microsoft Update Service + * + * @return bool|null The microsoftUpdateServiceAllowed + */ + public function getMicrosoftUpdateServiceAllowed() + { + if (array_key_exists("microsoftUpdateServiceAllowed", $this->_propDict)) { + return $this->_propDict["microsoftUpdateServiceAllowed"]; + } else { + return null; + } + } + + /** + * Sets the microsoftUpdateServiceAllowed + * Allow Microsoft Update Service + * + * @param bool $val The microsoftUpdateServiceAllowed + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setMicrosoftUpdateServiceAllowed($val) + { + $this->_propDict["microsoftUpdateServiceAllowed"] = boolval($val); + return $this; + } + + /** + * Gets the prereleaseFeatures + * The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. + * + * @return PrereleaseFeatures|null The prereleaseFeatures + */ + public function getPrereleaseFeatures() + { + if (array_key_exists("prereleaseFeatures", $this->_propDict)) { + if (is_a($this->_propDict["prereleaseFeatures"], "\Microsoft\Graph\Model\PrereleaseFeatures") || is_null($this->_propDict["prereleaseFeatures"])) { + return $this->_propDict["prereleaseFeatures"]; + } else { + $this->_propDict["prereleaseFeatures"] = new PrereleaseFeatures($this->_propDict["prereleaseFeatures"]); + return $this->_propDict["prereleaseFeatures"]; + } + } + return null; + } + + /** + * Sets the prereleaseFeatures + * The pre-release features. Possible values are: userDefined, settingsOnly, settingsAndExperimentations, notAllowed. + * + * @param PrereleaseFeatures $val The prereleaseFeatures + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setPrereleaseFeatures($val) + { + $this->_propDict["prereleaseFeatures"] = $val; + return $this; + } + + /** + * Gets the qualityUpdatesDeferralPeriodInDays + * Defer Quality Updates by these many days + * + * @return int|null The qualityUpdatesDeferralPeriodInDays + */ + public function getQualityUpdatesDeferralPeriodInDays() + { + if (array_key_exists("qualityUpdatesDeferralPeriodInDays", $this->_propDict)) { + return $this->_propDict["qualityUpdatesDeferralPeriodInDays"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdatesDeferralPeriodInDays + * Defer Quality Updates by these many days + * + * @param int $val The qualityUpdatesDeferralPeriodInDays + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesDeferralPeriodInDays($val) + { + $this->_propDict["qualityUpdatesDeferralPeriodInDays"] = intval($val); + return $this; + } + + /** + * Gets the qualityUpdatesPaused + * Pause Quality Updates + * + * @return bool|null The qualityUpdatesPaused + */ + public function getQualityUpdatesPaused() + { + if (array_key_exists("qualityUpdatesPaused", $this->_propDict)) { + return $this->_propDict["qualityUpdatesPaused"]; + } else { + return null; + } + } + + /** + * Sets the qualityUpdatesPaused + * Pause Quality Updates + * + * @param bool $val The qualityUpdatesPaused + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesPaused($val) + { + $this->_propDict["qualityUpdatesPaused"] = boolval($val); + return $this; + } + + /** + * Gets the qualityUpdatesPauseExpiryDateTime + * Quality Updates Pause Expiry datetime + * + * @return \DateTime|null The qualityUpdatesPauseExpiryDateTime + */ + public function getQualityUpdatesPauseExpiryDateTime() + { + if (array_key_exists("qualityUpdatesPauseExpiryDateTime", $this->_propDict)) { + if (is_a($this->_propDict["qualityUpdatesPauseExpiryDateTime"], "\DateTime") || is_null($this->_propDict["qualityUpdatesPauseExpiryDateTime"])) { + return $this->_propDict["qualityUpdatesPauseExpiryDateTime"]; + } else { + $this->_propDict["qualityUpdatesPauseExpiryDateTime"] = new \DateTime($this->_propDict["qualityUpdatesPauseExpiryDateTime"]); + return $this->_propDict["qualityUpdatesPauseExpiryDateTime"]; + } + } + return null; + } + + /** + * Sets the qualityUpdatesPauseExpiryDateTime + * Quality Updates Pause Expiry datetime + * + * @param \DateTime $val The qualityUpdatesPauseExpiryDateTime + * + * @return WindowsUpdateForBusinessConfiguration + */ + public function setQualityUpdatesPauseExpiryDateTime($val) + { + $this->_propDict["qualityUpdatesPauseExpiryDateTime"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateInstallScheduleType.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateInstallScheduleType.php new file mode 100644 index 0000000..ca1d5e6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateInstallScheduleType.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.windowsUpdateScheduledInstall"); + } + + + /** + * Gets the scheduledInstallDay + * Scheduled Install Day in week. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @return WeeklySchedule|null The scheduledInstallDay + */ + public function getScheduledInstallDay() + { + if (array_key_exists("scheduledInstallDay", $this->_propDict)) { + if (is_a($this->_propDict["scheduledInstallDay"], "\Microsoft\Graph\Model\WeeklySchedule") || is_null($this->_propDict["scheduledInstallDay"])) { + return $this->_propDict["scheduledInstallDay"]; + } else { + $this->_propDict["scheduledInstallDay"] = new WeeklySchedule($this->_propDict["scheduledInstallDay"]); + return $this->_propDict["scheduledInstallDay"]; + } + } + return null; + } + + /** + * Sets the scheduledInstallDay + * Scheduled Install Day in week. Possible values are: userDefined, everyday, sunday, monday, tuesday, wednesday, thursday, friday, saturday, noScheduledScan. + * + * @param WeeklySchedule $val The value to assign to the scheduledInstallDay + * + * @return WindowsUpdateScheduledInstall The WindowsUpdateScheduledInstall + */ + public function setScheduledInstallDay($val) + { + $this->_propDict["scheduledInstallDay"] = $val; + return $this; + } + + /** + * Gets the scheduledInstallTime + * Scheduled Install Time during day + * + * @return TimeOfDay|null The scheduledInstallTime + */ + public function getScheduledInstallTime() + { + if (array_key_exists("scheduledInstallTime", $this->_propDict)) { + if (is_a($this->_propDict["scheduledInstallTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["scheduledInstallTime"])) { + return $this->_propDict["scheduledInstallTime"]; + } else { + $this->_propDict["scheduledInstallTime"] = new TimeOfDay($this->_propDict["scheduledInstallTime"]); + return $this->_propDict["scheduledInstallTime"]; + } + } + return null; + } + + /** + * Sets the scheduledInstallTime + * Scheduled Install Time during day + * + * @param TimeOfDay $val The value to assign to the scheduledInstallTime + * + * @return WindowsUpdateScheduledInstall The WindowsUpdateScheduledInstall + */ + public function setScheduledInstallTime($val) + { + $this->_propDict["scheduledInstallTime"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateType.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateType.php new file mode 100644 index 0000000..d074ec1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateType.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\WorkbookApplication") || is_null($this->_propDict["application"])) { + return $this->_propDict["application"]; + } else { + $this->_propDict["application"] = new WorkbookApplication($this->_propDict["application"]); + return $this->_propDict["application"]; + } + } + return null; + } + + /** + * Sets the application + * + * @param WorkbookApplication $val The application + * + * @return Workbook + */ + public function setApplication($val) + { + $this->_propDict["application"] = $val; + return $this; + } + + + /** + * Gets the comments + * + * @return array|null The comments + */ + public function getComments() + { + if (array_key_exists("comments", $this->_propDict)) { + return $this->_propDict["comments"]; + } else { + return null; + } + } + + /** + * Sets the comments + * + * @param WorkbookComment[] $val The comments + * + * @return Workbook + */ + public function setComments($val) + { + $this->_propDict["comments"] = $val; + return $this; + } + + /** + * Gets the functions + * + * @return WorkbookFunctions|null The functions + */ + public function getFunctions() + { + if (array_key_exists("functions", $this->_propDict)) { + if (is_a($this->_propDict["functions"], "\Microsoft\Graph\Model\WorkbookFunctions") || is_null($this->_propDict["functions"])) { + return $this->_propDict["functions"]; + } else { + $this->_propDict["functions"] = new WorkbookFunctions($this->_propDict["functions"]); + return $this->_propDict["functions"]; + } + } + return null; + } + + /** + * Sets the functions + * + * @param WorkbookFunctions $val The functions + * + * @return Workbook + */ + public function setFunctions($val) + { + $this->_propDict["functions"] = $val; + return $this; + } + + + /** + * Gets the names + * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. + * + * @return array|null The names + */ + public function getNames() + { + if (array_key_exists("names", $this->_propDict)) { + return $this->_propDict["names"]; + } else { + return null; + } + } + + /** + * Sets the names + * Represents a collection of workbooks scoped named items (named ranges and constants). Read-only. + * + * @param WorkbookNamedItem[] $val The names + * + * @return Workbook + */ + public function setNames($val) + { + $this->_propDict["names"] = $val; + return $this; + } + + + /** + * Gets the operations + * The status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * The status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. + * + * @param WorkbookOperation[] $val The operations + * + * @return Workbook + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the tables + * Represents a collection of tables associated with the workbook. Read-only. + * + * @return array|null The tables + */ + public function getTables() + { + if (array_key_exists("tables", $this->_propDict)) { + return $this->_propDict["tables"]; + } else { + return null; + } + } + + /** + * Sets the tables + * Represents a collection of tables associated with the workbook. Read-only. + * + * @param WorkbookTable[] $val The tables + * + * @return Workbook + */ + public function setTables($val) + { + $this->_propDict["tables"] = $val; + return $this; + } + + + /** + * Gets the worksheets + * Represents a collection of worksheets associated with the workbook. Read-only. + * + * @return array|null The worksheets + */ + public function getWorksheets() + { + if (array_key_exists("worksheets", $this->_propDict)) { + return $this->_propDict["worksheets"]; + } else { + return null; + } + } + + /** + * Sets the worksheets + * Represents a collection of worksheets associated with the workbook. Read-only. + * + * @param WorkbookWorksheet[] $val The worksheets + * + * @return Workbook + */ + public function setWorksheets($val) + { + $this->_propDict["worksheets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookApplication.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookApplication.php new file mode 100644 index 0000000..936ffab --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookApplication.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["calculationMode"]; + } else { + return null; + } + } + + /** + * Sets the calculationMode + * Returns the calculation mode used in the workbook. Possible values are: Automatic, AutomaticExceptTables, Manual. + * + * @param string $val The calculationMode + * + * @return WorkbookApplication + */ + public function setCalculationMode($val) + { + $this->_propDict["calculationMode"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChart.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChart.php new file mode 100644 index 0000000..c8c17a7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChart.php @@ -0,0 +1,400 @@ +_propDict)) { + return $this->_propDict["height"]; + } else { + return null; + } + } + + /** + * Sets the height + * Represents the height, in points, of the chart object. + * + * @param float $val The height + * + * @return WorkbookChart + */ + public function setHeight($val) + { + $this->_propDict["height"] = floatval($val); + return $this; + } + + /** + * Gets the left + * The distance, in points, from the left side of the chart to the worksheet origin. + * + * @return float|null The left + */ + public function getLeft() + { + if (array_key_exists("left", $this->_propDict)) { + return $this->_propDict["left"]; + } else { + return null; + } + } + + /** + * Sets the left + * The distance, in points, from the left side of the chart to the worksheet origin. + * + * @param float $val The left + * + * @return WorkbookChart + */ + public function setLeft($val) + { + $this->_propDict["left"] = floatval($val); + return $this; + } + + /** + * Gets the name + * Represents the name of a chart object. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the name of a chart object. + * + * @param string $val The name + * + * @return WorkbookChart + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the top + * Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). + * + * @return float|null The top + */ + public function getTop() + { + if (array_key_exists("top", $this->_propDict)) { + return $this->_propDict["top"]; + } else { + return null; + } + } + + /** + * Sets the top + * Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). + * + * @param float $val The top + * + * @return WorkbookChart + */ + public function setTop($val) + { + $this->_propDict["top"] = floatval($val); + return $this; + } + + /** + * Gets the width + * Represents the width, in points, of the chart object. + * + * @return float|null The width + */ + public function getWidth() + { + if (array_key_exists("width", $this->_propDict)) { + return $this->_propDict["width"]; + } else { + return null; + } + } + + /** + * Sets the width + * Represents the width, in points, of the chart object. + * + * @param float $val The width + * + * @return WorkbookChart + */ + public function setWidth($val) + { + $this->_propDict["width"] = floatval($val); + return $this; + } + + /** + * Gets the axes + * Represents chart axes. Read-only. + * + * @return WorkbookChartAxes|null The axes + */ + public function getAxes() + { + if (array_key_exists("axes", $this->_propDict)) { + if (is_a($this->_propDict["axes"], "\Microsoft\Graph\Model\WorkbookChartAxes") || is_null($this->_propDict["axes"])) { + return $this->_propDict["axes"]; + } else { + $this->_propDict["axes"] = new WorkbookChartAxes($this->_propDict["axes"]); + return $this->_propDict["axes"]; + } + } + return null; + } + + /** + * Sets the axes + * Represents chart axes. Read-only. + * + * @param WorkbookChartAxes $val The axes + * + * @return WorkbookChart + */ + public function setAxes($val) + { + $this->_propDict["axes"] = $val; + return $this; + } + + /** + * Gets the dataLabels + * Represents the datalabels on the chart. Read-only. + * + * @return WorkbookChartDataLabels|null The dataLabels + */ + public function getDataLabels() + { + if (array_key_exists("dataLabels", $this->_propDict)) { + if (is_a($this->_propDict["dataLabels"], "\Microsoft\Graph\Model\WorkbookChartDataLabels") || is_null($this->_propDict["dataLabels"])) { + return $this->_propDict["dataLabels"]; + } else { + $this->_propDict["dataLabels"] = new WorkbookChartDataLabels($this->_propDict["dataLabels"]); + return $this->_propDict["dataLabels"]; + } + } + return null; + } + + /** + * Sets the dataLabels + * Represents the datalabels on the chart. Read-only. + * + * @param WorkbookChartDataLabels $val The dataLabels + * + * @return WorkbookChart + */ + public function setDataLabels($val) + { + $this->_propDict["dataLabels"] = $val; + return $this; + } + + /** + * Gets the format + * Encapsulates the format properties for the chart area. Read-only. + * + * @return WorkbookChartAreaFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAreaFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartAreaFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Encapsulates the format properties for the chart area. Read-only. + * + * @param WorkbookChartAreaFormat $val The format + * + * @return WorkbookChart + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the legend + * Represents the legend for the chart. Read-only. + * + * @return WorkbookChartLegend|null The legend + */ + public function getLegend() + { + if (array_key_exists("legend", $this->_propDict)) { + if (is_a($this->_propDict["legend"], "\Microsoft\Graph\Model\WorkbookChartLegend") || is_null($this->_propDict["legend"])) { + return $this->_propDict["legend"]; + } else { + $this->_propDict["legend"] = new WorkbookChartLegend($this->_propDict["legend"]); + return $this->_propDict["legend"]; + } + } + return null; + } + + /** + * Sets the legend + * Represents the legend for the chart. Read-only. + * + * @param WorkbookChartLegend $val The legend + * + * @return WorkbookChart + */ + public function setLegend($val) + { + $this->_propDict["legend"] = $val; + return $this; + } + + + /** + * Gets the series + * Represents either a single series or collection of series in the chart. Read-only. + * + * @return array|null The series + */ + public function getSeries() + { + if (array_key_exists("series", $this->_propDict)) { + return $this->_propDict["series"]; + } else { + return null; + } + } + + /** + * Sets the series + * Represents either a single series or collection of series in the chart. Read-only. + * + * @param WorkbookChartSeries[] $val The series + * + * @return WorkbookChart + */ + public function setSeries($val) + { + $this->_propDict["series"] = $val; + return $this; + } + + /** + * Gets the title + * Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + * + * @return WorkbookChartTitle|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + if (is_a($this->_propDict["title"], "\Microsoft\Graph\Model\WorkbookChartTitle") || is_null($this->_propDict["title"])) { + return $this->_propDict["title"]; + } else { + $this->_propDict["title"] = new WorkbookChartTitle($this->_propDict["title"]); + return $this->_propDict["title"]; + } + } + return null; + } + + /** + * Sets the title + * Represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. + * + * @param WorkbookChartTitle $val The title + * + * @return WorkbookChart + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current chart. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current chart. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookChart + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAreaFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAreaFormat.php new file mode 100644 index 0000000..fcf08be --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAreaFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of an object, which includes background formatting information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartAreaFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartAreaFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxes.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxes.php new file mode 100644 index 0000000..565eff6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxes.php @@ -0,0 +1,126 @@ +_propDict)) { + if (is_a($this->_propDict["categoryAxis"], "\Microsoft\Graph\Model\WorkbookChartAxis") || is_null($this->_propDict["categoryAxis"])) { + return $this->_propDict["categoryAxis"]; + } else { + $this->_propDict["categoryAxis"] = new WorkbookChartAxis($this->_propDict["categoryAxis"]); + return $this->_propDict["categoryAxis"]; + } + } + return null; + } + + /** + * Sets the categoryAxis + * Represents the category axis in a chart. Read-only. + * + * @param WorkbookChartAxis $val The categoryAxis + * + * @return WorkbookChartAxes + */ + public function setCategoryAxis($val) + { + $this->_propDict["categoryAxis"] = $val; + return $this; + } + + /** + * Gets the seriesAxis + * Represents the series axis of a 3-dimensional chart. Read-only. + * + * @return WorkbookChartAxis|null The seriesAxis + */ + public function getSeriesAxis() + { + if (array_key_exists("seriesAxis", $this->_propDict)) { + if (is_a($this->_propDict["seriesAxis"], "\Microsoft\Graph\Model\WorkbookChartAxis") || is_null($this->_propDict["seriesAxis"])) { + return $this->_propDict["seriesAxis"]; + } else { + $this->_propDict["seriesAxis"] = new WorkbookChartAxis($this->_propDict["seriesAxis"]); + return $this->_propDict["seriesAxis"]; + } + } + return null; + } + + /** + * Sets the seriesAxis + * Represents the series axis of a 3-dimensional chart. Read-only. + * + * @param WorkbookChartAxis $val The seriesAxis + * + * @return WorkbookChartAxes + */ + public function setSeriesAxis($val) + { + $this->_propDict["seriesAxis"] = $val; + return $this; + } + + /** + * Gets the valueAxis + * Represents the value axis in an axis. Read-only. + * + * @return WorkbookChartAxis|null The valueAxis + */ + public function getValueAxis() + { + if (array_key_exists("valueAxis", $this->_propDict)) { + if (is_a($this->_propDict["valueAxis"], "\Microsoft\Graph\Model\WorkbookChartAxis") || is_null($this->_propDict["valueAxis"])) { + return $this->_propDict["valueAxis"]; + } else { + $this->_propDict["valueAxis"] = new WorkbookChartAxis($this->_propDict["valueAxis"]); + return $this->_propDict["valueAxis"]; + } + } + return null; + } + + /** + * Sets the valueAxis + * Represents the value axis in an axis. Read-only. + * + * @param WorkbookChartAxis $val The valueAxis + * + * @return WorkbookChartAxes + */ + public function setValueAxis($val) + { + $this->_propDict["valueAxis"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxis.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxis.php new file mode 100644 index 0000000..6d0630a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxis.php @@ -0,0 +1,275 @@ +_propDict)) { + return $this->_propDict["majorUnit"]; + } else { + return null; + } + } + + /** + * Sets the majorUnit + * Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number. + * + * @param string $val The majorUnit + * + * @return WorkbookChartAxis + */ + public function setMajorUnit($val) + { + $this->_propDict["majorUnit"] = $val; + return $this; + } + + /** + * Gets the maximum + * Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @return string|null The maximum + */ + public function getMaximum() + { + if (array_key_exists("maximum", $this->_propDict)) { + return $this->_propDict["maximum"]; + } else { + return null; + } + } + + /** + * Sets the maximum + * Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @param string $val The maximum + * + * @return WorkbookChartAxis + */ + public function setMaximum($val) + { + $this->_propDict["maximum"] = $val; + return $this; + } + + /** + * Gets the minimum + * Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @return string|null The minimum + */ + public function getMinimum() + { + if (array_key_exists("minimum", $this->_propDict)) { + return $this->_propDict["minimum"]; + } else { + return null; + } + } + + /** + * Sets the minimum + * Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @param string $val The minimum + * + * @return WorkbookChartAxis + */ + public function setMinimum($val) + { + $this->_propDict["minimum"] = $val; + return $this; + } + + /** + * Gets the minorUnit + * Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @return string|null The minorUnit + */ + public function getMinorUnit() + { + if (array_key_exists("minorUnit", $this->_propDict)) { + return $this->_propDict["minorUnit"]; + } else { + return null; + } + } + + /** + * Sets the minorUnit + * Represents the interval between two minor tick marks. 'Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number. + * + * @param string $val The minorUnit + * + * @return WorkbookChartAxis + */ + public function setMinorUnit($val) + { + $this->_propDict["minorUnit"] = $val; + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart object, which includes line and font formatting. Read-only. + * + * @return WorkbookChartAxisFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAxisFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartAxisFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart object, which includes line and font formatting. Read-only. + * + * @param WorkbookChartAxisFormat $val The format + * + * @return WorkbookChartAxis + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the majorGridlines + * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. + * + * @return WorkbookChartGridlines|null The majorGridlines + */ + public function getMajorGridlines() + { + if (array_key_exists("majorGridlines", $this->_propDict)) { + if (is_a($this->_propDict["majorGridlines"], "\Microsoft\Graph\Model\WorkbookChartGridlines") || is_null($this->_propDict["majorGridlines"])) { + return $this->_propDict["majorGridlines"]; + } else { + $this->_propDict["majorGridlines"] = new WorkbookChartGridlines($this->_propDict["majorGridlines"]); + return $this->_propDict["majorGridlines"]; + } + } + return null; + } + + /** + * Sets the majorGridlines + * Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. + * + * @param WorkbookChartGridlines $val The majorGridlines + * + * @return WorkbookChartAxis + */ + public function setMajorGridlines($val) + { + $this->_propDict["majorGridlines"] = $val; + return $this; + } + + /** + * Gets the minorGridlines + * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. + * + * @return WorkbookChartGridlines|null The minorGridlines + */ + public function getMinorGridlines() + { + if (array_key_exists("minorGridlines", $this->_propDict)) { + if (is_a($this->_propDict["minorGridlines"], "\Microsoft\Graph\Model\WorkbookChartGridlines") || is_null($this->_propDict["minorGridlines"])) { + return $this->_propDict["minorGridlines"]; + } else { + $this->_propDict["minorGridlines"] = new WorkbookChartGridlines($this->_propDict["minorGridlines"]); + return $this->_propDict["minorGridlines"]; + } + } + return null; + } + + /** + * Sets the minorGridlines + * Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. + * + * @param WorkbookChartGridlines $val The minorGridlines + * + * @return WorkbookChartAxis + */ + public function setMinorGridlines($val) + { + $this->_propDict["minorGridlines"] = $val; + return $this; + } + + /** + * Gets the title + * Represents the axis title. Read-only. + * + * @return WorkbookChartAxisTitle|null The title + */ + public function getTitle() + { + if (array_key_exists("title", $this->_propDict)) { + if (is_a($this->_propDict["title"], "\Microsoft\Graph\Model\WorkbookChartAxisTitle") || is_null($this->_propDict["title"])) { + return $this->_propDict["title"]; + } else { + $this->_propDict["title"] = new WorkbookChartAxisTitle($this->_propDict["title"]); + return $this->_propDict["title"]; + } + } + return null; + } + + /** + * Sets the title + * Represents the axis title. Read-only. + * + * @param WorkbookChartAxisTitle $val The title + * + * @return WorkbookChartAxis + */ + public function setTitle($val) + { + $this->_propDict["title"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisFormat.php new file mode 100644 index 0000000..7527fce --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartAxisFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + + /** + * Gets the line + * Represents chart line formatting. Read-only. + * + * @return WorkbookChartLineFormat|null The line + */ + public function getLine() + { + if (array_key_exists("line", $this->_propDict)) { + if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { + return $this->_propDict["line"]; + } else { + $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); + return $this->_propDict["line"]; + } + } + return null; + } + + /** + * Sets the line + * Represents chart line formatting. Read-only. + * + * @param WorkbookChartLineFormat $val The line + * + * @return WorkbookChartAxisFormat + */ + public function setLine($val) + { + $this->_propDict["line"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitle.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitle.php new file mode 100644 index 0000000..3d55007 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitle.php @@ -0,0 +1,118 @@ +_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Represents the axis title. + * + * @param string $val The text + * + * @return WorkbookChartAxisTitle + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the visible + * A boolean that specifies the visibility of an axis title. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * A boolean that specifies the visibility of an axis title. + * + * @param bool $val The visible + * + * @return WorkbookChartAxisTitle + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of chart axis title. Read-only. + * + * @return WorkbookChartAxisTitleFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAxisTitleFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartAxisTitleFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of chart axis title. Read-only. + * + * @param WorkbookChartAxisTitleFormat $val The format + * + * @return WorkbookChartAxisTitle + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitleFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitleFormat.php new file mode 100644 index 0000000..a70190d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitleFormat.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartAxisTitleFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabelFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabelFormat.php new file mode 100644 index 0000000..07956f5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabelFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of the current chart data label. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartDataLabelFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartDataLabelFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabels.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabels.php new file mode 100644 index 0000000..8748615 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabels.php @@ -0,0 +1,292 @@ +_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout. + * + * @param string $val The position + * + * @return WorkbookChartDataLabels + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } + + /** + * Gets the separator + * String representing the separator used for the data labels on a chart. + * + * @return string|null The separator + */ + public function getSeparator() + { + if (array_key_exists("separator", $this->_propDict)) { + return $this->_propDict["separator"]; + } else { + return null; + } + } + + /** + * Sets the separator + * String representing the separator used for the data labels on a chart. + * + * @param string $val The separator + * + * @return WorkbookChartDataLabels + */ + public function setSeparator($val) + { + $this->_propDict["separator"] = $val; + return $this; + } + + /** + * Gets the showBubbleSize + * Boolean value representing if the data label bubble size is visible or not. + * + * @return bool|null The showBubbleSize + */ + public function getShowBubbleSize() + { + if (array_key_exists("showBubbleSize", $this->_propDict)) { + return $this->_propDict["showBubbleSize"]; + } else { + return null; + } + } + + /** + * Sets the showBubbleSize + * Boolean value representing if the data label bubble size is visible or not. + * + * @param bool $val The showBubbleSize + * + * @return WorkbookChartDataLabels + */ + public function setShowBubbleSize($val) + { + $this->_propDict["showBubbleSize"] = boolval($val); + return $this; + } + + /** + * Gets the showCategoryName + * Boolean value representing if the data label category name is visible or not. + * + * @return bool|null The showCategoryName + */ + public function getShowCategoryName() + { + if (array_key_exists("showCategoryName", $this->_propDict)) { + return $this->_propDict["showCategoryName"]; + } else { + return null; + } + } + + /** + * Sets the showCategoryName + * Boolean value representing if the data label category name is visible or not. + * + * @param bool $val The showCategoryName + * + * @return WorkbookChartDataLabels + */ + public function setShowCategoryName($val) + { + $this->_propDict["showCategoryName"] = boolval($val); + return $this; + } + + /** + * Gets the showLegendKey + * Boolean value representing if the data label legend key is visible or not. + * + * @return bool|null The showLegendKey + */ + public function getShowLegendKey() + { + if (array_key_exists("showLegendKey", $this->_propDict)) { + return $this->_propDict["showLegendKey"]; + } else { + return null; + } + } + + /** + * Sets the showLegendKey + * Boolean value representing if the data label legend key is visible or not. + * + * @param bool $val The showLegendKey + * + * @return WorkbookChartDataLabels + */ + public function setShowLegendKey($val) + { + $this->_propDict["showLegendKey"] = boolval($val); + return $this; + } + + /** + * Gets the showPercentage + * Boolean value representing if the data label percentage is visible or not. + * + * @return bool|null The showPercentage + */ + public function getShowPercentage() + { + if (array_key_exists("showPercentage", $this->_propDict)) { + return $this->_propDict["showPercentage"]; + } else { + return null; + } + } + + /** + * Sets the showPercentage + * Boolean value representing if the data label percentage is visible or not. + * + * @param bool $val The showPercentage + * + * @return WorkbookChartDataLabels + */ + public function setShowPercentage($val) + { + $this->_propDict["showPercentage"] = boolval($val); + return $this; + } + + /** + * Gets the showSeriesName + * Boolean value representing if the data label series name is visible or not. + * + * @return bool|null The showSeriesName + */ + public function getShowSeriesName() + { + if (array_key_exists("showSeriesName", $this->_propDict)) { + return $this->_propDict["showSeriesName"]; + } else { + return null; + } + } + + /** + * Sets the showSeriesName + * Boolean value representing if the data label series name is visible or not. + * + * @param bool $val The showSeriesName + * + * @return WorkbookChartDataLabels + */ + public function setShowSeriesName($val) + { + $this->_propDict["showSeriesName"] = boolval($val); + return $this; + } + + /** + * Gets the showValue + * Boolean value representing if the data label value is visible or not. + * + * @return bool|null The showValue + */ + public function getShowValue() + { + if (array_key_exists("showValue", $this->_propDict)) { + return $this->_propDict["showValue"]; + } else { + return null; + } + } + + /** + * Sets the showValue + * Boolean value representing if the data label value is visible or not. + * + * @param bool $val The showValue + * + * @return WorkbookChartDataLabels + */ + public function setShowValue($val) + { + $this->_propDict["showValue"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the format of chart data labels, which includes fill and font formatting. Read-only. + * + * @return WorkbookChartDataLabelFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartDataLabelFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartDataLabelFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the format of chart data labels, which includes fill and font formatting. Read-only. + * + * @param WorkbookChartDataLabelFormat $val The format + * + * @return WorkbookChartDataLabels + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartFill.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartFill.php new file mode 100644 index 0000000..e72bf80 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartFill.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["bold"]; + } else { + return null; + } + } + + /** + * Sets the bold + * Represents the bold status of font. + * + * @param bool $val The bold + * + * @return WorkbookChartFont + */ + public function setBold($val) + { + $this->_propDict["bold"] = boolval($val); + return $this; + } + + /** + * Gets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @return string|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @param string $val The color + * + * @return WorkbookChartFont + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the italic + * Represents the italic status of the font. + * + * @return bool|null The italic + */ + public function getItalic() + { + if (array_key_exists("italic", $this->_propDict)) { + return $this->_propDict["italic"]; + } else { + return null; + } + } + + /** + * Sets the italic + * Represents the italic status of the font. + * + * @param bool $val The italic + * + * @return WorkbookChartFont + */ + public function setItalic($val) + { + $this->_propDict["italic"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Font name (e.g. 'Calibri') + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Font name (e.g. 'Calibri') + * + * @param string $val The name + * + * @return WorkbookChartFont + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * Size of the font (e.g. 11) + * + * @return float|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the font (e.g. 11) + * + * @param float $val The size + * + * @return WorkbookChartFont + */ + public function setSize($val) + { + $this->_propDict["size"] = floatval($val); + return $this; + } + + /** + * Gets the underline + * Type of underline applied to the font. The possible values are: None, Single. + * + * @return string|null The underline + */ + public function getUnderline() + { + if (array_key_exists("underline", $this->_propDict)) { + return $this->_propDict["underline"]; + } else { + return null; + } + } + + /** + * Sets the underline + * Type of underline applied to the font. The possible values are: None, Single. + * + * @param string $val The underline + * + * @return WorkbookChartFont + */ + public function setUnderline($val) + { + $this->_propDict["underline"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlines.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlines.php new file mode 100644 index 0000000..83a6d16 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlines.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * Boolean value representing if the axis gridlines are visible or not. + * + * @param bool $val The visible + * + * @return WorkbookChartGridlines + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of chart gridlines. Read-only. + * + * @return WorkbookChartGridlinesFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartGridlinesFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartGridlinesFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of chart gridlines. Read-only. + * + * @param WorkbookChartGridlinesFormat $val The format + * + * @return WorkbookChartGridlines + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlinesFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlinesFormat.php new file mode 100644 index 0000000..a5fe4dc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlinesFormat.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { + return $this->_propDict["line"]; + } else { + $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); + return $this->_propDict["line"]; + } + } + return null; + } + + /** + * Sets the line + * Represents chart line formatting. Read-only. + * + * @param WorkbookChartLineFormat $val The line + * + * @return WorkbookChartGridlinesFormat + */ + public function setLine($val) + { + $this->_propDict["line"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegend.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegend.php new file mode 100644 index 0000000..8763eec --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegend.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["overlay"]; + } else { + return null; + } + } + + /** + * Sets the overlay + * Boolean value for whether the chart legend should overlap with the main body of the chart. + * + * @param bool $val The overlay + * + * @return WorkbookChartLegend + */ + public function setOverlay($val) + { + $this->_propDict["overlay"] = boolval($val); + return $this; + } + + /** + * Gets the position + * Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom. + * + * @return string|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom. + * + * @param string $val The position + * + * @return WorkbookChartLegend + */ + public function setPosition($val) + { + $this->_propDict["position"] = $val; + return $this; + } + + /** + * Gets the visible + * A boolean value the represents the visibility of a ChartLegend object. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * A boolean value the represents the visibility of a ChartLegend object. + * + * @param bool $val The visible + * + * @return WorkbookChartLegend + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. + * + * @return WorkbookChartLegendFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartLegendFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartLegendFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. + * + * @param WorkbookChartLegendFormat $val The format + * + * @return WorkbookChartLegend + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegendFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegendFormat.php new file mode 100644 index 0000000..dea067d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegendFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of an object, which includes background formating information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartLegendFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartLegendFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLineFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLineFormat.php new file mode 100644 index 0000000..ee9d0ba --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLineFormat.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representing the color of lines in the chart. + * + * @param string $val The color + * + * @return WorkbookChartLineFormat + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPoint.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPoint.php new file mode 100644 index 0000000..97f52aa --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPoint.php @@ -0,0 +1,89 @@ +_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Returns the value of a chart point. Read-only. + * + * @param string $val The value + * + * @return WorkbookChartPoint + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + + /** + * Gets the format + * Encapsulates the format properties chart point. Read-only. + * + * @return WorkbookChartPointFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartPointFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartPointFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Encapsulates the format properties chart point. Read-only. + * + * @param WorkbookChartPointFormat $val The format + * + * @return WorkbookChartPoint + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPointFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPointFormat.php new file mode 100644 index 0000000..841cd11 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPointFormat.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of a chart, which includes background formating information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartPointFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeries.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeries.php new file mode 100644 index 0000000..4492de5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeries.php @@ -0,0 +1,119 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Represents the name of a series in a chart. + * + * @param string $val The name + * + * @return WorkbookChartSeries + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * + * @return WorkbookChartSeriesFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartSeriesFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartSeriesFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart series, which includes fill and line formatting. Read-only. + * + * @param WorkbookChartSeriesFormat $val The format + * + * @return WorkbookChartSeries + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + + /** + * Gets the points + * Represents a collection of all points in the series. Read-only. + * + * @return array|null The points + */ + public function getPoints() + { + if (array_key_exists("points", $this->_propDict)) { + return $this->_propDict["points"]; + } else { + return null; + } + } + + /** + * Sets the points + * Represents a collection of all points in the series. Read-only. + * + * @param WorkbookChartPoint[] $val The points + * + * @return WorkbookChartSeries + */ + public function setPoints($val) + { + $this->_propDict["points"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeriesFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeriesFormat.php new file mode 100644 index 0000000..bc721bc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeriesFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of a chart series, which includes background formating information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartSeriesFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the line + * Represents line formatting. Read-only. + * + * @return WorkbookChartLineFormat|null The line + */ + public function getLine() + { + if (array_key_exists("line", $this->_propDict)) { + if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat") || is_null($this->_propDict["line"])) { + return $this->_propDict["line"]; + } else { + $this->_propDict["line"] = new WorkbookChartLineFormat($this->_propDict["line"]); + return $this->_propDict["line"]; + } + } + return null; + } + + /** + * Sets the line + * Represents line formatting. Read-only. + * + * @param WorkbookChartLineFormat $val The line + * + * @return WorkbookChartSeriesFormat + */ + public function setLine($val) + { + $this->_propDict["line"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitle.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitle.php new file mode 100644 index 0000000..2adda0c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitle.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["overlay"]; + } else { + return null; + } + } + + /** + * Sets the overlay + * Boolean value representing if the chart title will overlay the chart or not. + * + * @param bool $val The overlay + * + * @return WorkbookChartTitle + */ + public function setOverlay($val) + { + $this->_propDict["overlay"] = boolval($val); + return $this; + } + + /** + * Gets the text + * Represents the title text of a chart. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Represents the title text of a chart. + * + * @param string $val The text + * + * @return WorkbookChartTitle + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the visible + * A boolean value the represents the visibility of a chart title object. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * A boolean value the represents the visibility of a chart title object. + * + * @param bool $val The visible + * + * @return WorkbookChartTitle + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the format + * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * + * @return WorkbookChartTitleFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartTitleFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookChartTitleFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Represents the formatting of a chart title, which includes fill and font formatting. Read-only. + * + * @param WorkbookChartTitleFormat $val The format + * + * @return WorkbookChartTitle + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitleFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitleFormat.php new file mode 100644 index 0000000..58243d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitleFormat.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Represents the fill format of an object, which includes background formatting information. Read-only. + * + * @param WorkbookChartFill $val The fill + * + * @return WorkbookChartTitleFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @return WorkbookChartFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. + * + * @param WorkbookChartFont $val The font + * + * @return WorkbookChartTitleFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookComment.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookComment.php new file mode 100644 index 0000000..8a80027 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookComment.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of the comment. + * + * @param string $val The content + * + * @return WorkbookComment + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * Indicates the type for the comment. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * Indicates the type for the comment. + * + * @param string $val The contentType + * + * @return WorkbookComment + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + + + /** + * Gets the replies + * Read-only. Nullable. + * + * @return array|null The replies + */ + public function getReplies() + { + if (array_key_exists("replies", $this->_propDict)) { + return $this->_propDict["replies"]; + } else { + return null; + } + } + + /** + * Sets the replies + * Read-only. Nullable. + * + * @param WorkbookCommentReply[] $val The replies + * + * @return WorkbookComment + */ + public function setReplies($val) + { + $this->_propDict["replies"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookCommentReply.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookCommentReply.php new file mode 100644 index 0000000..462086e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookCommentReply.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * The content of replied comment. + * + * @param string $val The content + * + * @return WorkbookCommentReply + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the contentType + * Indicates the type for the replied comment. + * + * @return string|null The contentType + */ + public function getContentType() + { + if (array_key_exists("contentType", $this->_propDict)) { + return $this->_propDict["contentType"]; + } else { + return null; + } + } + + /** + * Sets the contentType + * Indicates the type for the replied comment. + * + * @param string $val The contentType + * + * @return WorkbookCommentReply + */ + public function setContentType($val) + { + $this->_propDict["contentType"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilter.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilter.php new file mode 100644 index 0000000..6e337a5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilter.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["criteria"], "\Microsoft\Graph\Model\WorkbookFilterCriteria") || is_null($this->_propDict["criteria"])) { + return $this->_propDict["criteria"]; + } else { + $this->_propDict["criteria"] = new WorkbookFilterCriteria($this->_propDict["criteria"]); + return $this->_propDict["criteria"]; + } + } + return null; + } + + /** + * Sets the criteria + * The currently applied filter on the given column. Read-only. + * + * @param WorkbookFilterCriteria $val The criteria + * + * @return WorkbookFilter + */ + public function setCriteria($val) + { + $this->_propDict["criteria"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterCriteria.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterCriteria.php new file mode 100644 index 0000000..1d40788 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterCriteria.php @@ -0,0 +1,239 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * + * @param string $val The value of the color + * + * @return WorkbookFilterCriteria + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + /** + * Gets the criterion1 + * + * @return string|null The criterion1 + */ + public function getCriterion1() + { + if (array_key_exists("criterion1", $this->_propDict)) { + return $this->_propDict["criterion1"]; + } else { + return null; + } + } + + /** + * Sets the criterion1 + * + * @param string $val The value of the criterion1 + * + * @return WorkbookFilterCriteria + */ + public function setCriterion1($val) + { + $this->_propDict["criterion1"] = $val; + return $this; + } + /** + * Gets the criterion2 + * + * @return string|null The criterion2 + */ + public function getCriterion2() + { + if (array_key_exists("criterion2", $this->_propDict)) { + return $this->_propDict["criterion2"]; + } else { + return null; + } + } + + /** + * Sets the criterion2 + * + * @param string $val The value of the criterion2 + * + * @return WorkbookFilterCriteria + */ + public function setCriterion2($val) + { + $this->_propDict["criterion2"] = $val; + return $this; + } + /** + * Gets the dynamicCriteria + * + * @return string|null The dynamicCriteria + */ + public function getDynamicCriteria() + { + if (array_key_exists("dynamicCriteria", $this->_propDict)) { + return $this->_propDict["dynamicCriteria"]; + } else { + return null; + } + } + + /** + * Sets the dynamicCriteria + * + * @param string $val The value of the dynamicCriteria + * + * @return WorkbookFilterCriteria + */ + public function setDynamicCriteria($val) + { + $this->_propDict["dynamicCriteria"] = $val; + return $this; + } + /** + * Gets the filterOn + * + * @return string|null The filterOn + */ + public function getFilterOn() + { + if (array_key_exists("filterOn", $this->_propDict)) { + return $this->_propDict["filterOn"]; + } else { + return null; + } + } + + /** + * Sets the filterOn + * + * @param string $val The value of the filterOn + * + * @return WorkbookFilterCriteria + */ + public function setFilterOn($val) + { + $this->_propDict["filterOn"] = $val; + return $this; + } + + /** + * Gets the icon + * + * @return WorkbookIcon|null The icon + */ + public function getIcon() + { + if (array_key_exists("icon", $this->_propDict)) { + if (is_a($this->_propDict["icon"], "\Microsoft\Graph\Model\WorkbookIcon") || is_null($this->_propDict["icon"])) { + return $this->_propDict["icon"]; + } else { + $this->_propDict["icon"] = new WorkbookIcon($this->_propDict["icon"]); + return $this->_propDict["icon"]; + } + } + return null; + } + + /** + * Sets the icon + * + * @param WorkbookIcon $val The value to assign to the icon + * + * @return WorkbookFilterCriteria The WorkbookFilterCriteria + */ + public function setIcon($val) + { + $this->_propDict["icon"] = $val; + return $this; + } + /** + * Gets the operator + * + * @return string|null The operator + */ + public function getOperator() + { + if (array_key_exists("operator", $this->_propDict)) { + return $this->_propDict["operator"]; + } else { + return null; + } + } + + /** + * Sets the operator + * + * @param string $val The value of the operator + * + * @return WorkbookFilterCriteria + */ + public function setOperator($val) + { + $this->_propDict["operator"] = $val; + return $this; + } + /** + * Gets the values + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * + * @param string $val The value of the values + * + * @return WorkbookFilterCriteria + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterDatetime.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterDatetime.php new file mode 100644 index 0000000..ebc17a6 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterDatetime.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["date"]; + } else { + return null; + } + } + + /** + * Sets the date + * + * @param string $val The value of the date + * + * @return WorkbookFilterDatetime + */ + public function setDate($val) + { + $this->_propDict["date"] = $val; + return $this; + } + /** + * Gets the specificity + * + * @return string|null The specificity + */ + public function getSpecificity() + { + if (array_key_exists("specificity", $this->_propDict)) { + return $this->_propDict["specificity"]; + } else { + return null; + } + } + + /** + * Sets the specificity + * + * @param string $val The value of the specificity + * + * @return WorkbookFilterDatetime + */ + public function setSpecificity($val) + { + $this->_propDict["specificity"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFormatProtection.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFormatProtection.php new file mode 100644 index 0000000..ec934bf --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFormatProtection.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["formulaHidden"]; + } else { + return null; + } + } + + /** + * Sets the formulaHidden + * Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. + * + * @param bool $val The formulaHidden + * + * @return WorkbookFormatProtection + */ + public function setFormulaHidden($val) + { + $this->_propDict["formulaHidden"] = boolval($val); + return $this; + } + + /** + * Gets the locked + * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + * + * @return bool|null The locked + */ + public function getLocked() + { + if (array_key_exists("locked", $this->_propDict)) { + return $this->_propDict["locked"]; + } else { + return null; + } + } + + /** + * Sets the locked + * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. + * + * @param bool $val The locked + * + * @return WorkbookFormatProtection + */ + public function setLocked($val) + { + $this->_propDict["locked"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctionResult.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctionResult.php new file mode 100644 index 0000000..1ca3b79 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctionResult.php @@ -0,0 +1,81 @@ +_propDict)) { + return $this->_propDict["error"]; + } else { + return null; + } + } + + /** + * Sets the error + * + * @param string $val The error + * + * @return WorkbookFunctionResult + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the value + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * + * @param string $val The value + * + * @return WorkbookFunctionResult + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctions.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctions.php new file mode 100644 index 0000000..cd4e42d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctions.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Represents the index of the icon in the given set. + * + * @param int $val The value of the index + * + * @return WorkbookIcon + */ + public function setIndex($val) + { + $this->_propDict["index"] = $val; + return $this; + } + /** + * Gets the set + * Represents the set that the icon is part of. Possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. + * + * @return string|null The set + */ + public function getSet() + { + if (array_key_exists("set", $this->_propDict)) { + return $this->_propDict["set"]; + } else { + return null; + } + } + + /** + * Sets the set + * Represents the set that the icon is part of. Possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes. + * + * @param string $val The value of the set + * + * @return WorkbookIcon + */ + public function setSet($val) + { + $this->_propDict["set"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookNamedItem.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookNamedItem.php new file mode 100644 index 0000000..2acc7f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookNamedItem.php @@ -0,0 +1,234 @@ +_propDict)) { + return $this->_propDict["comment"]; + } else { + return null; + } + } + + /** + * Sets the comment + * Represents the comment associated with this name. + * + * @param string $val The comment + * + * @return WorkbookNamedItem + */ + public function setComment($val) + { + $this->_propDict["comment"] = $val; + return $this; + } + + /** + * Gets the name + * The name of the object. Read-only. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the object. Read-only. + * + * @param string $val The name + * + * @return WorkbookNamedItem + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the scope + * Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only. + * + * @return string|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + return $this->_propDict["scope"]; + } else { + return null; + } + } + + /** + * Sets the scope + * Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only. + * + * @param string $val The scope + * + * @return WorkbookNamedItem + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + /** + * Gets the type + * Indicates what type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. + * + * @return string|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + return $this->_propDict["type"]; + } else { + return null; + } + } + + /** + * Sets the type + * Indicates what type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only. + * + * @param string $val The type + * + * @return WorkbookNamedItem + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + /** + * Gets the value + * Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + * + * @return string|null The value + */ + public function getValue() + { + if (array_key_exists("value", $this->_propDict)) { + return $this->_propDict["value"]; + } else { + return null; + } + } + + /** + * Sets the value + * Represents the formula that the name is defined to refer to. E.g. =Sheet14!$B$2:$H$12, =4.75, etc. Read-only. + * + * @param string $val The value + * + * @return WorkbookNamedItem + */ + public function setValue($val) + { + $this->_propDict["value"] = $val; + return $this; + } + + /** + * Gets the visible + * Specifies whether the object is visible or not. + * + * @return bool|null The visible + */ + public function getVisible() + { + if (array_key_exists("visible", $this->_propDict)) { + return $this->_propDict["visible"]; + } else { + return null; + } + } + + /** + * Sets the visible + * Specifies whether the object is visible or not. + * + * @param bool $val The visible + * + * @return WorkbookNamedItem + */ + public function setVisible($val) + { + $this->_propDict["visible"] = boolval($val); + return $this; + } + + /** + * Gets the worksheet + * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookNamedItem + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperation.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperation.php new file mode 100644 index 0000000..c895569 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperation.php @@ -0,0 +1,122 @@ +_propDict)) { + if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\WorkbookOperationError") || is_null($this->_propDict["error"])) { + return $this->_propDict["error"]; + } else { + $this->_propDict["error"] = new WorkbookOperationError($this->_propDict["error"]); + return $this->_propDict["error"]; + } + } + return null; + } + + /** + * Sets the error + * The error returned by the operation. + * + * @param WorkbookOperationError $val The error + * + * @return WorkbookOperation + */ + public function setError($val) + { + $this->_propDict["error"] = $val; + return $this; + } + + /** + * Gets the resourceLocation + * The resource URI for the result. + * + * @return string|null The resourceLocation + */ + public function getResourceLocation() + { + if (array_key_exists("resourceLocation", $this->_propDict)) { + return $this->_propDict["resourceLocation"]; + } else { + return null; + } + } + + /** + * Sets the resourceLocation + * The resource URI for the result. + * + * @param string $val The resourceLocation + * + * @return WorkbookOperation + */ + public function setResourceLocation($val) + { + $this->_propDict["resourceLocation"] = $val; + return $this; + } + + /** + * Gets the status + * The current status of the operation. Possible values are: notStarted, running, succeeded, failed. + * + * @return WorkbookOperationStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\WorkbookOperationStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new WorkbookOperationStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The current status of the operation. Possible values are: notStarted, running, succeeded, failed. + * + * @param WorkbookOperationStatus $val The status + * + * @return WorkbookOperation + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationError.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationError.php new file mode 100644 index 0000000..70776a3 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationError.php @@ -0,0 +1,113 @@ +_propDict)) { + return $this->_propDict["code"]; + } else { + return null; + } + } + + /** + * Sets the code + * The error code. + * + * @param string $val The value of the code + * + * @return WorkbookOperationError + */ + public function setCode($val) + { + $this->_propDict["code"] = $val; + return $this; + } + + /** + * Gets the innerError + * + * @return WorkbookOperationError|null The innerError + */ + public function getInnerError() + { + if (array_key_exists("innerError", $this->_propDict)) { + if (is_a($this->_propDict["innerError"], "\Microsoft\Graph\Model\WorkbookOperationError") || is_null($this->_propDict["innerError"])) { + return $this->_propDict["innerError"]; + } else { + $this->_propDict["innerError"] = new WorkbookOperationError($this->_propDict["innerError"]); + return $this->_propDict["innerError"]; + } + } + return null; + } + + /** + * Sets the innerError + * + * @param WorkbookOperationError $val The value to assign to the innerError + * + * @return WorkbookOperationError The WorkbookOperationError + */ + public function setInnerError($val) + { + $this->_propDict["innerError"] = $val; + return $this; + } + /** + * Gets the message + * The error message. + * + * @return string|null The message + */ + public function getMessage() + { + if (array_key_exists("message", $this->_propDict)) { + return $this->_propDict["message"]; + } else { + return null; + } + } + + /** + * Sets the message + * The error message. + * + * @param string $val The value of the message + * + * @return WorkbookOperationError + */ + public function setMessage($val) + { + $this->_propDict["message"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationStatus.php new file mode 100644 index 0000000..e39e39e --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the PivotTable. + * + * @param string $val The name + * + * @return WorkbookPivotTable + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current PivotTable. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current PivotTable. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookPivotTable + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRange.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRange.php new file mode 100644 index 0000000..faf033d --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRange.php @@ -0,0 +1,619 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. + * + * @param string $val The address + * + * @return WorkbookRange + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + + /** + * Gets the addressLocal + * Represents range reference for the specified range in the language of the user. Read-only. + * + * @return string|null The addressLocal + */ + public function getAddressLocal() + { + if (array_key_exists("addressLocal", $this->_propDict)) { + return $this->_propDict["addressLocal"]; + } else { + return null; + } + } + + /** + * Sets the addressLocal + * Represents range reference for the specified range in the language of the user. Read-only. + * + * @param string $val The addressLocal + * + * @return WorkbookRange + */ + public function setAddressLocal($val) + { + $this->_propDict["addressLocal"] = $val; + return $this; + } + + /** + * Gets the cellCount + * Number of cells in the range. Read-only. + * + * @return int|null The cellCount + */ + public function getCellCount() + { + if (array_key_exists("cellCount", $this->_propDict)) { + return $this->_propDict["cellCount"]; + } else { + return null; + } + } + + /** + * Sets the cellCount + * Number of cells in the range. Read-only. + * + * @param int $val The cellCount + * + * @return WorkbookRange + */ + public function setCellCount($val) + { + $this->_propDict["cellCount"] = intval($val); + return $this; + } + + /** + * Gets the columnCount + * Represents the total number of columns in the range. Read-only. + * + * @return int|null The columnCount + */ + public function getColumnCount() + { + if (array_key_exists("columnCount", $this->_propDict)) { + return $this->_propDict["columnCount"]; + } else { + return null; + } + } + + /** + * Sets the columnCount + * Represents the total number of columns in the range. Read-only. + * + * @param int $val The columnCount + * + * @return WorkbookRange + */ + public function setColumnCount($val) + { + $this->_propDict["columnCount"] = intval($val); + return $this; + } + + /** + * Gets the columnHidden + * Represents if all columns of the current range are hidden. + * + * @return bool|null The columnHidden + */ + public function getColumnHidden() + { + if (array_key_exists("columnHidden", $this->_propDict)) { + return $this->_propDict["columnHidden"]; + } else { + return null; + } + } + + /** + * Sets the columnHidden + * Represents if all columns of the current range are hidden. + * + * @param bool $val The columnHidden + * + * @return WorkbookRange + */ + public function setColumnHidden($val) + { + $this->_propDict["columnHidden"] = boolval($val); + return $this; + } + + /** + * Gets the columnIndex + * Represents the column number of the first cell in the range. Zero-indexed. Read-only. + * + * @return int|null The columnIndex + */ + public function getColumnIndex() + { + if (array_key_exists("columnIndex", $this->_propDict)) { + return $this->_propDict["columnIndex"]; + } else { + return null; + } + } + + /** + * Sets the columnIndex + * Represents the column number of the first cell in the range. Zero-indexed. Read-only. + * + * @param int $val The columnIndex + * + * @return WorkbookRange + */ + public function setColumnIndex($val) + { + $this->_propDict["columnIndex"] = intval($val); + return $this; + } + + /** + * Gets the formulas + * Represents the formula in A1-style notation. + * + * @return string|null The formulas + */ + public function getFormulas() + { + if (array_key_exists("formulas", $this->_propDict)) { + return $this->_propDict["formulas"]; + } else { + return null; + } + } + + /** + * Sets the formulas + * Represents the formula in A1-style notation. + * + * @param string $val The formulas + * + * @return WorkbookRange + */ + public function setFormulas($val) + { + $this->_propDict["formulas"] = $val; + return $this; + } + + /** + * Gets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @return string|null The formulasLocal + */ + public function getFormulasLocal() + { + if (array_key_exists("formulasLocal", $this->_propDict)) { + return $this->_propDict["formulasLocal"]; + } else { + return null; + } + } + + /** + * Sets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @param string $val The formulasLocal + * + * @return WorkbookRange + */ + public function setFormulasLocal($val) + { + $this->_propDict["formulasLocal"] = $val; + return $this; + } + + /** + * Gets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @return string|null The formulasR1C1 + */ + public function getFormulasR1C1() + { + if (array_key_exists("formulasR1C1", $this->_propDict)) { + return $this->_propDict["formulasR1C1"]; + } else { + return null; + } + } + + /** + * Sets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @param string $val The formulasR1C1 + * + * @return WorkbookRange + */ + public function setFormulasR1C1($val) + { + $this->_propDict["formulasR1C1"] = $val; + return $this; + } + + /** + * Gets the hidden + * Represents if all cells of the current range are hidden. Read-only. + * + * @return bool|null The hidden + */ + public function getHidden() + { + if (array_key_exists("hidden", $this->_propDict)) { + return $this->_propDict["hidden"]; + } else { + return null; + } + } + + /** + * Sets the hidden + * Represents if all cells of the current range are hidden. Read-only. + * + * @param bool $val The hidden + * + * @return WorkbookRange + */ + public function setHidden($val) + { + $this->_propDict["hidden"] = boolval($val); + return $this; + } + + /** + * Gets the numberFormat + * Represents Excel's number format code for the given cell. + * + * @return string|null The numberFormat + */ + public function getNumberFormat() + { + if (array_key_exists("numberFormat", $this->_propDict)) { + return $this->_propDict["numberFormat"]; + } else { + return null; + } + } + + /** + * Sets the numberFormat + * Represents Excel's number format code for the given cell. + * + * @param string $val The numberFormat + * + * @return WorkbookRange + */ + public function setNumberFormat($val) + { + $this->_propDict["numberFormat"] = $val; + return $this; + } + + /** + * Gets the rowCount + * Returns the total number of rows in the range. Read-only. + * + * @return int|null The rowCount + */ + public function getRowCount() + { + if (array_key_exists("rowCount", $this->_propDict)) { + return $this->_propDict["rowCount"]; + } else { + return null; + } + } + + /** + * Sets the rowCount + * Returns the total number of rows in the range. Read-only. + * + * @param int $val The rowCount + * + * @return WorkbookRange + */ + public function setRowCount($val) + { + $this->_propDict["rowCount"] = intval($val); + return $this; + } + + /** + * Gets the rowHidden + * Represents if all rows of the current range are hidden. + * + * @return bool|null The rowHidden + */ + public function getRowHidden() + { + if (array_key_exists("rowHidden", $this->_propDict)) { + return $this->_propDict["rowHidden"]; + } else { + return null; + } + } + + /** + * Sets the rowHidden + * Represents if all rows of the current range are hidden. + * + * @param bool $val The rowHidden + * + * @return WorkbookRange + */ + public function setRowHidden($val) + { + $this->_propDict["rowHidden"] = boolval($val); + return $this; + } + + /** + * Gets the rowIndex + * Returns the row number of the first cell in the range. Zero-indexed. Read-only. + * + * @return int|null The rowIndex + */ + public function getRowIndex() + { + if (array_key_exists("rowIndex", $this->_propDict)) { + return $this->_propDict["rowIndex"]; + } else { + return null; + } + } + + /** + * Sets the rowIndex + * Returns the row number of the first cell in the range. Zero-indexed. Read-only. + * + * @param int $val The rowIndex + * + * @return WorkbookRange + */ + public function setRowIndex($val) + { + $this->_propDict["rowIndex"] = intval($val); + return $this; + } + + /** + * Gets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @param string $val The text + * + * @return WorkbookRange + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookRange + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the valueTypes + * Represents the type of data of each cell. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. + * + * @return string|null The valueTypes + */ + public function getValueTypes() + { + if (array_key_exists("valueTypes", $this->_propDict)) { + return $this->_propDict["valueTypes"]; + } else { + return null; + } + } + + /** + * Sets the valueTypes + * Represents the type of data of each cell. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only. + * + * @param string $val The valueTypes + * + * @return WorkbookRange + */ + public function setValueTypes($val) + { + $this->_propDict["valueTypes"] = $val; + return $this; + } + + /** + * Gets the format + * Returns a format object, encapsulating the range's font, fill, borders, alignment, and other properties. Read-only. + * + * @return WorkbookRangeFormat|null The format + */ + public function getFormat() + { + if (array_key_exists("format", $this->_propDict)) { + if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookRangeFormat") || is_null($this->_propDict["format"])) { + return $this->_propDict["format"]; + } else { + $this->_propDict["format"] = new WorkbookRangeFormat($this->_propDict["format"]); + return $this->_propDict["format"]; + } + } + return null; + } + + /** + * Sets the format + * Returns a format object, encapsulating the range's font, fill, borders, alignment, and other properties. Read-only. + * + * @param WorkbookRangeFormat $val The format + * + * @return WorkbookRange + */ + public function setFormat($val) + { + $this->_propDict["format"] = $val; + return $this; + } + + /** + * Gets the sort + * The worksheet containing the current range. Read-only. + * + * @return WorkbookRangeSort|null The sort + */ + public function getSort() + { + if (array_key_exists("sort", $this->_propDict)) { + if (is_a($this->_propDict["sort"], "\Microsoft\Graph\Model\WorkbookRangeSort") || is_null($this->_propDict["sort"])) { + return $this->_propDict["sort"]; + } else { + $this->_propDict["sort"] = new WorkbookRangeSort($this->_propDict["sort"]); + return $this->_propDict["sort"]; + } + } + return null; + } + + /** + * Sets the sort + * The worksheet containing the current range. Read-only. + * + * @param WorkbookRangeSort $val The sort + * + * @return WorkbookRange + */ + public function setSort($val) + { + $this->_propDict["sort"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current range. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current range. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookRange + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeBorder.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeBorder.php new file mode 100644 index 0000000..2f79f8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeBorder.php @@ -0,0 +1,143 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). + * + * @param string $val The color + * + * @return WorkbookRangeBorder + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the sideIndex + * Constant value that indicates the specific side of the border. Possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + * + * @return string|null The sideIndex + */ + public function getSideIndex() + { + if (array_key_exists("sideIndex", $this->_propDict)) { + return $this->_propDict["sideIndex"]; + } else { + return null; + } + } + + /** + * Sets the sideIndex + * Constant value that indicates the specific side of the border. Possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only. + * + * @param string $val The sideIndex + * + * @return WorkbookRangeBorder + */ + public function setSideIndex($val) + { + $this->_propDict["sideIndex"] = $val; + return $this; + } + + /** + * Gets the style + * One of the constants of line style specifying the line style for the border. Possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. + * + * @return string|null The style + */ + public function getStyle() + { + if (array_key_exists("style", $this->_propDict)) { + return $this->_propDict["style"]; + } else { + return null; + } + } + + /** + * Sets the style + * One of the constants of line style specifying the line style for the border. Possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot. + * + * @param string $val The style + * + * @return WorkbookRangeBorder + */ + public function setStyle($val) + { + $this->_propDict["style"] = $val; + return $this; + } + + /** + * Gets the weight + * Specifies the weight of the border around a range. Possible values are: Hairline, Thin, Medium, Thick. + * + * @return string|null The weight + */ + public function getWeight() + { + if (array_key_exists("weight", $this->_propDict)) { + return $this->_propDict["weight"]; + } else { + return null; + } + } + + /** + * Sets the weight + * Specifies the weight of the border around a range. Possible values are: Hairline, Thin, Medium, Thick. + * + * @param string $val The weight + * + * @return WorkbookRangeBorder + */ + public function setWeight($val) + { + $this->_propDict["weight"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFill.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFill.php new file mode 100644 index 0000000..3ac4f28 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFill.php @@ -0,0 +1,56 @@ +_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange') + * + * @param string $val The color + * + * @return WorkbookRangeFill + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFont.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFont.php new file mode 100644 index 0000000..3af6bbc --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFont.php @@ -0,0 +1,201 @@ +_propDict)) { + return $this->_propDict["bold"]; + } else { + return null; + } + } + + /** + * Sets the bold + * Represents the bold status of font. + * + * @param bool $val The bold + * + * @return WorkbookRangeFont + */ + public function setBold($val) + { + $this->_propDict["bold"] = boolval($val); + return $this; + } + + /** + * Gets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @return string|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * HTML color code representation of the text color. E.g. #FF0000 represents Red. + * + * @param string $val The color + * + * @return WorkbookRangeFont + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + + /** + * Gets the italic + * Represents the italic status of the font. + * + * @return bool|null The italic + */ + public function getItalic() + { + if (array_key_exists("italic", $this->_propDict)) { + return $this->_propDict["italic"]; + } else { + return null; + } + } + + /** + * Sets the italic + * Represents the italic status of the font. + * + * @param bool $val The italic + * + * @return WorkbookRangeFont + */ + public function setItalic($val) + { + $this->_propDict["italic"] = boolval($val); + return $this; + } + + /** + * Gets the name + * Font name (e.g. 'Calibri') + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Font name (e.g. 'Calibri') + * + * @param string $val The name + * + * @return WorkbookRangeFont + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the size + * Font size. + * + * @return float|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Font size. + * + * @param float $val The size + * + * @return WorkbookRangeFont + */ + public function setSize($val) + { + $this->_propDict["size"] = floatval($val); + return $this; + } + + /** + * Gets the underline + * Type of underline applied to the font. Possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + * + * @return string|null The underline + */ + public function getUnderline() + { + if (array_key_exists("underline", $this->_propDict)) { + return $this->_propDict["underline"]; + } else { + return null; + } + } + + /** + * Sets the underline + * Type of underline applied to the font. Possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. + * + * @param string $val The underline + * + * @return WorkbookRangeFont + */ + public function setUnderline($val) + { + $this->_propDict["underline"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFormat.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFormat.php new file mode 100644 index 0000000..9ef1d35 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFormat.php @@ -0,0 +1,301 @@ +_propDict)) { + return $this->_propDict["columnWidth"]; + } else { + return null; + } + } + + /** + * Sets the columnWidth + * Gets or sets the width of all colums within the range. If the column widths are not uniform, null will be returned. + * + * @param float $val The columnWidth + * + * @return WorkbookRangeFormat + */ + public function setColumnWidth($val) + { + $this->_propDict["columnWidth"] = floatval($val); + return $this; + } + + /** + * Gets the horizontalAlignment + * Represents the horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + * + * @return string|null The horizontalAlignment + */ + public function getHorizontalAlignment() + { + if (array_key_exists("horizontalAlignment", $this->_propDict)) { + return $this->_propDict["horizontalAlignment"]; + } else { + return null; + } + } + + /** + * Sets the horizontalAlignment + * Represents the horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. + * + * @param string $val The horizontalAlignment + * + * @return WorkbookRangeFormat + */ + public function setHorizontalAlignment($val) + { + $this->_propDict["horizontalAlignment"] = $val; + return $this; + } + + /** + * Gets the rowHeight + * Gets or sets the height of all rows in the range. If the row heights are not uniform null will be returned. + * + * @return float|null The rowHeight + */ + public function getRowHeight() + { + if (array_key_exists("rowHeight", $this->_propDict)) { + return $this->_propDict["rowHeight"]; + } else { + return null; + } + } + + /** + * Sets the rowHeight + * Gets or sets the height of all rows in the range. If the row heights are not uniform null will be returned. + * + * @param float $val The rowHeight + * + * @return WorkbookRangeFormat + */ + public function setRowHeight($val) + { + $this->_propDict["rowHeight"] = floatval($val); + return $this; + } + + /** + * Gets the verticalAlignment + * Represents the vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. + * + * @return string|null The verticalAlignment + */ + public function getVerticalAlignment() + { + if (array_key_exists("verticalAlignment", $this->_propDict)) { + return $this->_propDict["verticalAlignment"]; + } else { + return null; + } + } + + /** + * Sets the verticalAlignment + * Represents the vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. + * + * @param string $val The verticalAlignment + * + * @return WorkbookRangeFormat + */ + public function setVerticalAlignment($val) + { + $this->_propDict["verticalAlignment"] = $val; + return $this; + } + + /** + * Gets the wrapText + * Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + * + * @return bool|null The wrapText + */ + public function getWrapText() + { + if (array_key_exists("wrapText", $this->_propDict)) { + return $this->_propDict["wrapText"]; + } else { + return null; + } + } + + /** + * Sets the wrapText + * Indicates if Excel wraps the text in the object. A null value indicates that the entire range doesn't have uniform wrap setting + * + * @param bool $val The wrapText + * + * @return WorkbookRangeFormat + */ + public function setWrapText($val) + { + $this->_propDict["wrapText"] = boolval($val); + return $this; + } + + + /** + * Gets the borders + * Collection of border objects that apply to the overall range selected Read-only. + * + * @return array|null The borders + */ + public function getBorders() + { + if (array_key_exists("borders", $this->_propDict)) { + return $this->_propDict["borders"]; + } else { + return null; + } + } + + /** + * Sets the borders + * Collection of border objects that apply to the overall range selected Read-only. + * + * @param WorkbookRangeBorder[] $val The borders + * + * @return WorkbookRangeFormat + */ + public function setBorders($val) + { + $this->_propDict["borders"] = $val; + return $this; + } + + /** + * Gets the fill + * Returns the fill object defined on the overall range. Read-only. + * + * @return WorkbookRangeFill|null The fill + */ + public function getFill() + { + if (array_key_exists("fill", $this->_propDict)) { + if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookRangeFill") || is_null($this->_propDict["fill"])) { + return $this->_propDict["fill"]; + } else { + $this->_propDict["fill"] = new WorkbookRangeFill($this->_propDict["fill"]); + return $this->_propDict["fill"]; + } + } + return null; + } + + /** + * Sets the fill + * Returns the fill object defined on the overall range. Read-only. + * + * @param WorkbookRangeFill $val The fill + * + * @return WorkbookRangeFormat + */ + public function setFill($val) + { + $this->_propDict["fill"] = $val; + return $this; + } + + /** + * Gets the font + * Returns the font object defined on the overall range selected Read-only. + * + * @return WorkbookRangeFont|null The font + */ + public function getFont() + { + if (array_key_exists("font", $this->_propDict)) { + if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookRangeFont") || is_null($this->_propDict["font"])) { + return $this->_propDict["font"]; + } else { + $this->_propDict["font"] = new WorkbookRangeFont($this->_propDict["font"]); + return $this->_propDict["font"]; + } + } + return null; + } + + /** + * Sets the font + * Returns the font object defined on the overall range selected Read-only. + * + * @param WorkbookRangeFont $val The font + * + * @return WorkbookRangeFormat + */ + public function setFont($val) + { + $this->_propDict["font"] = $val; + return $this; + } + + /** + * Gets the protection + * Returns the format protection object for a range. Read-only. + * + * @return WorkbookFormatProtection|null The protection + */ + public function getProtection() + { + if (array_key_exists("protection", $this->_propDict)) { + if (is_a($this->_propDict["protection"], "\Microsoft\Graph\Model\WorkbookFormatProtection") || is_null($this->_propDict["protection"])) { + return $this->_propDict["protection"]; + } else { + $this->_propDict["protection"] = new WorkbookFormatProtection($this->_propDict["protection"]); + return $this->_propDict["protection"]; + } + } + return null; + } + + /** + * Sets the protection + * Returns the format protection object for a range. Read-only. + * + * @param WorkbookFormatProtection $val The protection + * + * @return WorkbookRangeFormat + */ + public function setProtection($val) + { + $this->_propDict["protection"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeReference.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeReference.php new file mode 100644 index 0000000..b4fb690 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeReference.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["address"]; + } else { + return null; + } + } + + /** + * Sets the address + * + * @param string $val The value of the address + * + * @return WorkbookRangeReference + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeSort.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeSort.php new file mode 100644 index 0000000..4020e31 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeSort.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["cellAddresses"]; + } else { + return null; + } + } + + /** + * Sets the cellAddresses + * Represents the cell addresses + * + * @param string $val The cellAddresses + * + * @return WorkbookRangeView + */ + public function setCellAddresses($val) + { + $this->_propDict["cellAddresses"] = $val; + return $this; + } + + /** + * Gets the columnCount + * Returns the number of visible columns. Read-only. + * + * @return int|null The columnCount + */ + public function getColumnCount() + { + if (array_key_exists("columnCount", $this->_propDict)) { + return $this->_propDict["columnCount"]; + } else { + return null; + } + } + + /** + * Sets the columnCount + * Returns the number of visible columns. Read-only. + * + * @param int $val The columnCount + * + * @return WorkbookRangeView + */ + public function setColumnCount($val) + { + $this->_propDict["columnCount"] = intval($val); + return $this; + } + + /** + * Gets the formulas + * Represents the formula in A1-style notation. + * + * @return string|null The formulas + */ + public function getFormulas() + { + if (array_key_exists("formulas", $this->_propDict)) { + return $this->_propDict["formulas"]; + } else { + return null; + } + } + + /** + * Sets the formulas + * Represents the formula in A1-style notation. + * + * @param string $val The formulas + * + * @return WorkbookRangeView + */ + public function setFormulas($val) + { + $this->_propDict["formulas"] = $val; + return $this; + } + + /** + * Gets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @return string|null The formulasLocal + */ + public function getFormulasLocal() + { + if (array_key_exists("formulasLocal", $this->_propDict)) { + return $this->_propDict["formulasLocal"]; + } else { + return null; + } + } + + /** + * Sets the formulasLocal + * Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English '=SUM(A1, 1.5)' formula would become '=SUMME(A1; 1,5)' in German. + * + * @param string $val The formulasLocal + * + * @return WorkbookRangeView + */ + public function setFormulasLocal($val) + { + $this->_propDict["formulasLocal"] = $val; + return $this; + } + + /** + * Gets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @return string|null The formulasR1C1 + */ + public function getFormulasR1C1() + { + if (array_key_exists("formulasR1C1", $this->_propDict)) { + return $this->_propDict["formulasR1C1"]; + } else { + return null; + } + } + + /** + * Sets the formulasR1C1 + * Represents the formula in R1C1-style notation. + * + * @param string $val The formulasR1C1 + * + * @return WorkbookRangeView + */ + public function setFormulasR1C1($val) + { + $this->_propDict["formulasR1C1"] = $val; + return $this; + } + + /** + * Gets the index + * Index of the range. + * + * @return int|null The index + */ + public function getIndex() + { + if (array_key_exists("index", $this->_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Index of the range. + * + * @param int $val The index + * + * @return WorkbookRangeView + */ + public function setIndex($val) + { + $this->_propDict["index"] = intval($val); + return $this; + } + + /** + * Gets the numberFormat + * Represents Excel's number format code for the given cell. Read-only. + * + * @return string|null The numberFormat + */ + public function getNumberFormat() + { + if (array_key_exists("numberFormat", $this->_propDict)) { + return $this->_propDict["numberFormat"]; + } else { + return null; + } + } + + /** + * Sets the numberFormat + * Represents Excel's number format code for the given cell. Read-only. + * + * @param string $val The numberFormat + * + * @return WorkbookRangeView + */ + public function setNumberFormat($val) + { + $this->_propDict["numberFormat"] = $val; + return $this; + } + + /** + * Gets the rowCount + * Returns the number of visible rows. Read-only. + * + * @return int|null The rowCount + */ + public function getRowCount() + { + if (array_key_exists("rowCount", $this->_propDict)) { + return $this->_propDict["rowCount"]; + } else { + return null; + } + } + + /** + * Sets the rowCount + * Returns the number of visible rows. Read-only. + * + * @param int $val The rowCount + * + * @return WorkbookRangeView + */ + public function setRowCount($val) + { + $this->_propDict["rowCount"] = intval($val); + return $this; + } + + /** + * Gets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @return string|null The text + */ + public function getText() + { + if (array_key_exists("text", $this->_propDict)) { + return $this->_propDict["text"]; + } else { + return null; + } + } + + /** + * Sets the text + * Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. + * + * @param string $val The text + * + * @return WorkbookRangeView + */ + public function setText($val) + { + $this->_propDict["text"] = $val; + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range view. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookRangeView + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the valueTypes + * Represents the type of data of each cell. Read-only. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. + * + * @return string|null The valueTypes + */ + public function getValueTypes() + { + if (array_key_exists("valueTypes", $this->_propDict)) { + return $this->_propDict["valueTypes"]; + } else { + return null; + } + } + + /** + * Sets the valueTypes + * Represents the type of data of each cell. Read-only. Possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. + * + * @param string $val The valueTypes + * + * @return WorkbookRangeView + */ + public function setValueTypes($val) + { + $this->_propDict["valueTypes"] = $val; + return $this; + } + + + /** + * Gets the rows + * Represents a collection of range views associated with the range. Read-only. Read-only. + * + * @return array|null The rows + */ + public function getRows() + { + if (array_key_exists("rows", $this->_propDict)) { + return $this->_propDict["rows"]; + } else { + return null; + } + } + + /** + * Sets the rows + * Represents a collection of range views associated with the range. Read-only. Read-only. + * + * @param WorkbookRangeView[] $val The rows + * + * @return WorkbookRangeView + */ + public function setRows($val) + { + $this->_propDict["rows"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookSessionInfo.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookSessionInfo.php new file mode 100644 index 0000000..003473c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookSessionInfo.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["id"]; + } else { + return null; + } + } + + /** + * Sets the id + * Id of the workbook session. + * + * @param string $val The value of the id + * + * @return WorkbookSessionInfo + */ + public function setId($val) + { + $this->_propDict["id"] = $val; + return $this; + } + /** + * Gets the persistChanges + * true for persistent session. false for non-persistent session (view mode) + * + * @return bool|null The persistChanges + */ + public function getPersistChanges() + { + if (array_key_exists("persistChanges", $this->_propDict)) { + return $this->_propDict["persistChanges"]; + } else { + return null; + } + } + + /** + * Sets the persistChanges + * true for persistent session. false for non-persistent session (view mode) + * + * @param bool $val The value of the persistChanges + * + * @return WorkbookSessionInfo + */ + public function setPersistChanges($val) + { + $this->_propDict["persistChanges"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookSortField.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookSortField.php new file mode 100644 index 0000000..11a997b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookSortField.php @@ -0,0 +1,199 @@ +_propDict)) { + return $this->_propDict["ascending"]; + } else { + return null; + } + } + + /** + * Sets the ascending + * Represents whether the sorting is done in an ascending fashion. + * + * @param bool $val The value of the ascending + * + * @return WorkbookSortField + */ + public function setAscending($val) + { + $this->_propDict["ascending"] = $val; + return $this; + } + /** + * Gets the color + * Represents the color that is the target of the condition if the sorting is on font or cell color. + * + * @return string|null The color + */ + public function getColor() + { + if (array_key_exists("color", $this->_propDict)) { + return $this->_propDict["color"]; + } else { + return null; + } + } + + /** + * Sets the color + * Represents the color that is the target of the condition if the sorting is on font or cell color. + * + * @param string $val The value of the color + * + * @return WorkbookSortField + */ + public function setColor($val) + { + $this->_propDict["color"] = $val; + return $this; + } + /** + * Gets the dataOption + * Represents additional sorting options for this field. Possible values are: Normal, TextAsNumber. + * + * @return string|null The dataOption + */ + public function getDataOption() + { + if (array_key_exists("dataOption", $this->_propDict)) { + return $this->_propDict["dataOption"]; + } else { + return null; + } + } + + /** + * Sets the dataOption + * Represents additional sorting options for this field. Possible values are: Normal, TextAsNumber. + * + * @param string $val The value of the dataOption + * + * @return WorkbookSortField + */ + public function setDataOption($val) + { + $this->_propDict["dataOption"] = $val; + return $this; + } + + /** + * Gets the icon + * Represents the icon that is the target of the condition if the sorting is on the cell's icon. + * + * @return WorkbookIcon|null The icon + */ + public function getIcon() + { + if (array_key_exists("icon", $this->_propDict)) { + if (is_a($this->_propDict["icon"], "\Microsoft\Graph\Model\WorkbookIcon") || is_null($this->_propDict["icon"])) { + return $this->_propDict["icon"]; + } else { + $this->_propDict["icon"] = new WorkbookIcon($this->_propDict["icon"]); + return $this->_propDict["icon"]; + } + } + return null; + } + + /** + * Sets the icon + * Represents the icon that is the target of the condition if the sorting is on the cell's icon. + * + * @param WorkbookIcon $val The value to assign to the icon + * + * @return WorkbookSortField The WorkbookSortField + */ + public function setIcon($val) + { + $this->_propDict["icon"] = $val; + return $this; + } + /** + * Gets the key + * Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row). + * + * @return int|null The key + */ + public function getKey() + { + if (array_key_exists("key", $this->_propDict)) { + return $this->_propDict["key"]; + } else { + return null; + } + } + + /** + * Sets the key + * Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row). + * + * @param int $val The value of the key + * + * @return WorkbookSortField + */ + public function setKey($val) + { + $this->_propDict["key"] = $val; + return $this; + } + /** + * Gets the sortOn + * Represents the type of sorting of this condition. Possible values are: Value, CellColor, FontColor, Icon. + * + * @return string|null The sortOn + */ + public function getSortOn() + { + if (array_key_exists("sortOn", $this->_propDict)) { + return $this->_propDict["sortOn"]; + } else { + return null; + } + } + + /** + * Sets the sortOn + * Represents the type of sorting of this condition. Possible values are: Value, CellColor, FontColor, Icon. + * + * @param string $val The value of the sortOn + * + * @return WorkbookSortField + */ + public function setSortOn($val) + { + $this->_propDict["sortOn"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTable.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTable.php new file mode 100644 index 0000000..65e86a1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTable.php @@ -0,0 +1,443 @@ +_propDict)) { + return $this->_propDict["highlightFirstColumn"]; + } else { + return null; + } + } + + /** + * Sets the highlightFirstColumn + * Indicates whether the first column contains special formatting. + * + * @param bool $val The highlightFirstColumn + * + * @return WorkbookTable + */ + public function setHighlightFirstColumn($val) + { + $this->_propDict["highlightFirstColumn"] = boolval($val); + return $this; + } + + /** + * Gets the highlightLastColumn + * Indicates whether the last column contains special formatting. + * + * @return bool|null The highlightLastColumn + */ + public function getHighlightLastColumn() + { + if (array_key_exists("highlightLastColumn", $this->_propDict)) { + return $this->_propDict["highlightLastColumn"]; + } else { + return null; + } + } + + /** + * Sets the highlightLastColumn + * Indicates whether the last column contains special formatting. + * + * @param bool $val The highlightLastColumn + * + * @return WorkbookTable + */ + public function setHighlightLastColumn($val) + { + $this->_propDict["highlightLastColumn"] = boolval($val); + return $this; + } + + /** + * Gets the legacyId + * Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. + * + * @return string|null The legacyId + */ + public function getLegacyId() + { + if (array_key_exists("legacyId", $this->_propDict)) { + return $this->_propDict["legacyId"]; + } else { + return null; + } + } + + /** + * Sets the legacyId + * Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. + * + * @param string $val The legacyId + * + * @return WorkbookTable + */ + public function setLegacyId($val) + { + $this->_propDict["legacyId"] = $val; + return $this; + } + + /** + * Gets the name + * Name of the table. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Name of the table. + * + * @param string $val The name + * + * @return WorkbookTable + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the showBandedColumns + * Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier. + * + * @return bool|null The showBandedColumns + */ + public function getShowBandedColumns() + { + if (array_key_exists("showBandedColumns", $this->_propDict)) { + return $this->_propDict["showBandedColumns"]; + } else { + return null; + } + } + + /** + * Sets the showBandedColumns + * Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier. + * + * @param bool $val The showBandedColumns + * + * @return WorkbookTable + */ + public function setShowBandedColumns($val) + { + $this->_propDict["showBandedColumns"] = boolval($val); + return $this; + } + + /** + * Gets the showBandedRows + * Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier. + * + * @return bool|null The showBandedRows + */ + public function getShowBandedRows() + { + if (array_key_exists("showBandedRows", $this->_propDict)) { + return $this->_propDict["showBandedRows"]; + } else { + return null; + } + } + + /** + * Sets the showBandedRows + * Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier. + * + * @param bool $val The showBandedRows + * + * @return WorkbookTable + */ + public function setShowBandedRows($val) + { + $this->_propDict["showBandedRows"] = boolval($val); + return $this; + } + + /** + * Gets the showFilterButton + * Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row. + * + * @return bool|null The showFilterButton + */ + public function getShowFilterButton() + { + if (array_key_exists("showFilterButton", $this->_propDict)) { + return $this->_propDict["showFilterButton"]; + } else { + return null; + } + } + + /** + * Sets the showFilterButton + * Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row. + * + * @param bool $val The showFilterButton + * + * @return WorkbookTable + */ + public function setShowFilterButton($val) + { + $this->_propDict["showFilterButton"] = boolval($val); + return $this; + } + + /** + * Gets the showHeaders + * Indicates whether the header row is visible or not. This value can be set to show or remove the header row. + * + * @return bool|null The showHeaders + */ + public function getShowHeaders() + { + if (array_key_exists("showHeaders", $this->_propDict)) { + return $this->_propDict["showHeaders"]; + } else { + return null; + } + } + + /** + * Sets the showHeaders + * Indicates whether the header row is visible or not. This value can be set to show or remove the header row. + * + * @param bool $val The showHeaders + * + * @return WorkbookTable + */ + public function setShowHeaders($val) + { + $this->_propDict["showHeaders"] = boolval($val); + return $this; + } + + /** + * Gets the showTotals + * Indicates whether the total row is visible or not. This value can be set to show or remove the total row. + * + * @return bool|null The showTotals + */ + public function getShowTotals() + { + if (array_key_exists("showTotals", $this->_propDict)) { + return $this->_propDict["showTotals"]; + } else { + return null; + } + } + + /** + * Sets the showTotals + * Indicates whether the total row is visible or not. This value can be set to show or remove the total row. + * + * @param bool $val The showTotals + * + * @return WorkbookTable + */ + public function setShowTotals($val) + { + $this->_propDict["showTotals"] = boolval($val); + return $this; + } + + /** + * Gets the style + * Constant value that represents the Table style. Possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * + * @return string|null The style + */ + public function getStyle() + { + if (array_key_exists("style", $this->_propDict)) { + return $this->_propDict["style"]; + } else { + return null; + } + } + + /** + * Sets the style + * Constant value that represents the Table style. Possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. + * + * @param string $val The style + * + * @return WorkbookTable + */ + public function setStyle($val) + { + $this->_propDict["style"] = $val; + return $this; + } + + + /** + * Gets the columns + * Represents a collection of all the columns in the table. Read-only. + * + * @return array|null The columns + */ + public function getColumns() + { + if (array_key_exists("columns", $this->_propDict)) { + return $this->_propDict["columns"]; + } else { + return null; + } + } + + /** + * Sets the columns + * Represents a collection of all the columns in the table. Read-only. + * + * @param WorkbookTableColumn[] $val The columns + * + * @return WorkbookTable + */ + public function setColumns($val) + { + $this->_propDict["columns"] = $val; + return $this; + } + + + /** + * Gets the rows + * Represents a collection of all the rows in the table. Read-only. + * + * @return array|null The rows + */ + public function getRows() + { + if (array_key_exists("rows", $this->_propDict)) { + return $this->_propDict["rows"]; + } else { + return null; + } + } + + /** + * Sets the rows + * Represents a collection of all the rows in the table. Read-only. + * + * @param WorkbookTableRow[] $val The rows + * + * @return WorkbookTable + */ + public function setRows($val) + { + $this->_propDict["rows"] = $val; + return $this; + } + + /** + * Gets the sort + * Represents the sorting for the table. Read-only. + * + * @return WorkbookTableSort|null The sort + */ + public function getSort() + { + if (array_key_exists("sort", $this->_propDict)) { + if (is_a($this->_propDict["sort"], "\Microsoft\Graph\Model\WorkbookTableSort") || is_null($this->_propDict["sort"])) { + return $this->_propDict["sort"]; + } else { + $this->_propDict["sort"] = new WorkbookTableSort($this->_propDict["sort"]); + return $this->_propDict["sort"]; + } + } + return null; + } + + /** + * Sets the sort + * Represents the sorting for the table. Read-only. + * + * @param WorkbookTableSort $val The sort + * + * @return WorkbookTable + */ + public function setSort($val) + { + $this->_propDict["sort"] = $val; + return $this; + } + + /** + * Gets the worksheet + * The worksheet containing the current table. Read-only. + * + * @return WorkbookWorksheet|null The worksheet + */ + public function getWorksheet() + { + if (array_key_exists("worksheet", $this->_propDict)) { + if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet") || is_null($this->_propDict["worksheet"])) { + return $this->_propDict["worksheet"]; + } else { + $this->_propDict["worksheet"] = new WorkbookWorksheet($this->_propDict["worksheet"]); + return $this->_propDict["worksheet"]; + } + } + return null; + } + + /** + * Sets the worksheet + * The worksheet containing the current table. Read-only. + * + * @param WorkbookWorksheet $val The worksheet + * + * @return WorkbookTable + */ + public function setWorksheet($val) + { + $this->_propDict["worksheet"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableColumn.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableColumn.php new file mode 100644 index 0000000..e5e6796 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableColumn.php @@ -0,0 +1,147 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Returns the index number of the column within the columns collection of the table. Zero-indexed. Read-only. + * + * @param int $val The index + * + * @return WorkbookTableColumn + */ + public function setIndex($val) + { + $this->_propDict["index"] = intval($val); + return $this; + } + + /** + * Gets the name + * Returns the name of the table column. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * Returns the name of the table column. + * + * @param string $val The name + * + * @return WorkbookTableColumn + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookTableColumn + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + + /** + * Gets the filter + * Retrieve the filter applied to the column. Read-only. + * + * @return WorkbookFilter|null The filter + */ + public function getFilter() + { + if (array_key_exists("filter", $this->_propDict)) { + if (is_a($this->_propDict["filter"], "\Microsoft\Graph\Model\WorkbookFilter") || is_null($this->_propDict["filter"])) { + return $this->_propDict["filter"]; + } else { + $this->_propDict["filter"] = new WorkbookFilter($this->_propDict["filter"]); + return $this->_propDict["filter"]; + } + } + return null; + } + + /** + * Sets the filter + * Retrieve the filter applied to the column. Read-only. + * + * @param WorkbookFilter $val The filter + * + * @return WorkbookTableColumn + */ + public function setFilter($val) + { + $this->_propDict["filter"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableRow.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableRow.php new file mode 100644 index 0000000..cbecd23 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableRow.php @@ -0,0 +1,85 @@ +_propDict)) { + return $this->_propDict["index"]; + } else { + return null; + } + } + + /** + * Sets the index + * Returns the index number of the row within the rows collection of the table. Zero-indexed. Read-only. + * + * @param int $val The index + * + * @return WorkbookTableRow + */ + public function setIndex($val) + { + $this->_propDict["index"] = intval($val); + return $this; + } + + /** + * Gets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @return string|null The values + */ + public function getValues() + { + if (array_key_exists("values", $this->_propDict)) { + return $this->_propDict["values"]; + } else { + return null; + } + } + + /** + * Sets the values + * Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. + * + * @param string $val The values + * + * @return WorkbookTableRow + */ + public function setValues($val) + { + $this->_propDict["values"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableSort.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableSort.php new file mode 100644 index 0000000..1f9e41b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableSort.php @@ -0,0 +1,115 @@ +_propDict)) { + return $this->_propDict["fields"]; + } else { + return null; + } + } + + /** + * Sets the fields + * Represents the current conditions used to last sort the table. Read-only. + * + * @param WorkbookSortField[] $val The fields + * + * @return WorkbookTableSort + */ + public function setFields($val) + { + $this->_propDict["fields"] = $val; + return $this; + } + + /** + * Gets the matchCase + * Represents whether the casing impacted the last sort of the table. Read-only. + * + * @return bool|null The matchCase + */ + public function getMatchCase() + { + if (array_key_exists("matchCase", $this->_propDict)) { + return $this->_propDict["matchCase"]; + } else { + return null; + } + } + + /** + * Sets the matchCase + * Represents whether the casing impacted the last sort of the table. Read-only. + * + * @param bool $val The matchCase + * + * @return WorkbookTableSort + */ + public function setMatchCase($val) + { + $this->_propDict["matchCase"] = boolval($val); + return $this; + } + + /** + * Gets the method + * Represents Chinese character ordering method last used to sort the table. Possible values are: PinYin, StrokeCount. Read-only. + * + * @return string|null The method + */ + public function getMethod() + { + if (array_key_exists("method", $this->_propDict)) { + return $this->_propDict["method"]; + } else { + return null; + } + } + + /** + * Sets the method + * Represents Chinese character ordering method last used to sort the table. Possible values are: PinYin, StrokeCount. Read-only. + * + * @param string $val The method + * + * @return WorkbookTableSort + */ + public function setMethod($val) + { + $this->_propDict["method"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheet.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheet.php new file mode 100644 index 0000000..5fbece0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheet.php @@ -0,0 +1,267 @@ +_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The display name of the worksheet. + * + * @param string $val The name + * + * @return WorkbookWorksheet + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + + /** + * Gets the position + * The zero-based position of the worksheet within the workbook. + * + * @return int|null The position + */ + public function getPosition() + { + if (array_key_exists("position", $this->_propDict)) { + return $this->_propDict["position"]; + } else { + return null; + } + } + + /** + * Sets the position + * The zero-based position of the worksheet within the workbook. + * + * @param int $val The position + * + * @return WorkbookWorksheet + */ + public function setPosition($val) + { + $this->_propDict["position"] = intval($val); + return $this; + } + + /** + * Gets the visibility + * The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + * + * @return string|null The visibility + */ + public function getVisibility() + { + if (array_key_exists("visibility", $this->_propDict)) { + return $this->_propDict["visibility"]; + } else { + return null; + } + } + + /** + * Sets the visibility + * The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. + * + * @param string $val The visibility + * + * @return WorkbookWorksheet + */ + public function setVisibility($val) + { + $this->_propDict["visibility"] = $val; + return $this; + } + + + /** + * Gets the charts + * Returns collection of charts that are part of the worksheet. Read-only. + * + * @return array|null The charts + */ + public function getCharts() + { + if (array_key_exists("charts", $this->_propDict)) { + return $this->_propDict["charts"]; + } else { + return null; + } + } + + /** + * Sets the charts + * Returns collection of charts that are part of the worksheet. Read-only. + * + * @param WorkbookChart[] $val The charts + * + * @return WorkbookWorksheet + */ + public function setCharts($val) + { + $this->_propDict["charts"] = $val; + return $this; + } + + + /** + * Gets the names + * Returns collection of names that are associated with the worksheet. Read-only. + * + * @return array|null The names + */ + public function getNames() + { + if (array_key_exists("names", $this->_propDict)) { + return $this->_propDict["names"]; + } else { + return null; + } + } + + /** + * Sets the names + * Returns collection of names that are associated with the worksheet. Read-only. + * + * @param WorkbookNamedItem[] $val The names + * + * @return WorkbookWorksheet + */ + public function setNames($val) + { + $this->_propDict["names"] = $val; + return $this; + } + + + /** + * Gets the pivotTables + * Collection of PivotTables that are part of the worksheet. + * + * @return array|null The pivotTables + */ + public function getPivotTables() + { + if (array_key_exists("pivotTables", $this->_propDict)) { + return $this->_propDict["pivotTables"]; + } else { + return null; + } + } + + /** + * Sets the pivotTables + * Collection of PivotTables that are part of the worksheet. + * + * @param WorkbookPivotTable[] $val The pivotTables + * + * @return WorkbookWorksheet + */ + public function setPivotTables($val) + { + $this->_propDict["pivotTables"] = $val; + return $this; + } + + /** + * Gets the protection + * Returns sheet protection object for a worksheet. Read-only. + * + * @return WorkbookWorksheetProtection|null The protection + */ + public function getProtection() + { + if (array_key_exists("protection", $this->_propDict)) { + if (is_a($this->_propDict["protection"], "\Microsoft\Graph\Model\WorkbookWorksheetProtection") || is_null($this->_propDict["protection"])) { + return $this->_propDict["protection"]; + } else { + $this->_propDict["protection"] = new WorkbookWorksheetProtection($this->_propDict["protection"]); + return $this->_propDict["protection"]; + } + } + return null; + } + + /** + * Sets the protection + * Returns sheet protection object for a worksheet. Read-only. + * + * @param WorkbookWorksheetProtection $val The protection + * + * @return WorkbookWorksheet + */ + public function setProtection($val) + { + $this->_propDict["protection"] = $val; + return $this; + } + + + /** + * Gets the tables + * Collection of tables that are part of the worksheet. Read-only. + * + * @return array|null The tables + */ + public function getTables() + { + if (array_key_exists("tables", $this->_propDict)) { + return $this->_propDict["tables"]; + } else { + return null; + } + } + + /** + * Sets the tables + * Collection of tables that are part of the worksheet. Read-only. + * + * @param WorkbookTable[] $val The tables + * + * @return WorkbookWorksheet + */ + public function setTables($val) + { + $this->_propDict["tables"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtection.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtection.php new file mode 100644 index 0000000..2ca6bd1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtection.php @@ -0,0 +1,89 @@ +_propDict)) { + if (is_a($this->_propDict["options"], "\Microsoft\Graph\Model\WorkbookWorksheetProtectionOptions") || is_null($this->_propDict["options"])) { + return $this->_propDict["options"]; + } else { + $this->_propDict["options"] = new WorkbookWorksheetProtectionOptions($this->_propDict["options"]); + return $this->_propDict["options"]; + } + } + return null; + } + + /** + * Sets the options + * Sheet protection options. Read-only. + * + * @param WorkbookWorksheetProtectionOptions $val The options + * + * @return WorkbookWorksheetProtection + */ + public function setOptions($val) + { + $this->_propDict["options"] = $val; + return $this; + } + + /** + * Gets the protected + * Indicates if the worksheet is protected. Read-only. + * + * @return bool|null The protected + */ + public function getProtected() + { + if (array_key_exists("protected", $this->_propDict)) { + return $this->_propDict["protected"]; + } else { + return null; + } + } + + /** + * Sets the protected + * Indicates if the worksheet is protected. Read-only. + * + * @param bool $val The protected + * + * @return WorkbookWorksheetProtection + */ + public function setProtected($val) + { + $this->_propDict["protected"] = boolval($val); + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtectionOptions.php b/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtectionOptions.php new file mode 100644 index 0000000..627cf8c --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtectionOptions.php @@ -0,0 +1,334 @@ +_propDict)) { + return $this->_propDict["allowAutoFilter"]; + } else { + return null; + } + } + + /** + * Sets the allowAutoFilter + * Represents the worksheet protection option of allowing using auto filter feature. + * + * @param bool $val The value of the allowAutoFilter + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowAutoFilter($val) + { + $this->_propDict["allowAutoFilter"] = $val; + return $this; + } + /** + * Gets the allowDeleteColumns + * Represents the worksheet protection option of allowing deleting columns. + * + * @return bool|null The allowDeleteColumns + */ + public function getAllowDeleteColumns() + { + if (array_key_exists("allowDeleteColumns", $this->_propDict)) { + return $this->_propDict["allowDeleteColumns"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteColumns + * Represents the worksheet protection option of allowing deleting columns. + * + * @param bool $val The value of the allowDeleteColumns + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowDeleteColumns($val) + { + $this->_propDict["allowDeleteColumns"] = $val; + return $this; + } + /** + * Gets the allowDeleteRows + * Represents the worksheet protection option of allowing deleting rows. + * + * @return bool|null The allowDeleteRows + */ + public function getAllowDeleteRows() + { + if (array_key_exists("allowDeleteRows", $this->_propDict)) { + return $this->_propDict["allowDeleteRows"]; + } else { + return null; + } + } + + /** + * Sets the allowDeleteRows + * Represents the worksheet protection option of allowing deleting rows. + * + * @param bool $val The value of the allowDeleteRows + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowDeleteRows($val) + { + $this->_propDict["allowDeleteRows"] = $val; + return $this; + } + /** + * Gets the allowFormatCells + * Represents the worksheet protection option of allowing formatting cells. + * + * @return bool|null The allowFormatCells + */ + public function getAllowFormatCells() + { + if (array_key_exists("allowFormatCells", $this->_propDict)) { + return $this->_propDict["allowFormatCells"]; + } else { + return null; + } + } + + /** + * Sets the allowFormatCells + * Represents the worksheet protection option of allowing formatting cells. + * + * @param bool $val The value of the allowFormatCells + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowFormatCells($val) + { + $this->_propDict["allowFormatCells"] = $val; + return $this; + } + /** + * Gets the allowFormatColumns + * Represents the worksheet protection option of allowing formatting columns. + * + * @return bool|null The allowFormatColumns + */ + public function getAllowFormatColumns() + { + if (array_key_exists("allowFormatColumns", $this->_propDict)) { + return $this->_propDict["allowFormatColumns"]; + } else { + return null; + } + } + + /** + * Sets the allowFormatColumns + * Represents the worksheet protection option of allowing formatting columns. + * + * @param bool $val The value of the allowFormatColumns + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowFormatColumns($val) + { + $this->_propDict["allowFormatColumns"] = $val; + return $this; + } + /** + * Gets the allowFormatRows + * Represents the worksheet protection option of allowing formatting rows. + * + * @return bool|null The allowFormatRows + */ + public function getAllowFormatRows() + { + if (array_key_exists("allowFormatRows", $this->_propDict)) { + return $this->_propDict["allowFormatRows"]; + } else { + return null; + } + } + + /** + * Sets the allowFormatRows + * Represents the worksheet protection option of allowing formatting rows. + * + * @param bool $val The value of the allowFormatRows + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowFormatRows($val) + { + $this->_propDict["allowFormatRows"] = $val; + return $this; + } + /** + * Gets the allowInsertColumns + * Represents the worksheet protection option of allowing inserting columns. + * + * @return bool|null The allowInsertColumns + */ + public function getAllowInsertColumns() + { + if (array_key_exists("allowInsertColumns", $this->_propDict)) { + return $this->_propDict["allowInsertColumns"]; + } else { + return null; + } + } + + /** + * Sets the allowInsertColumns + * Represents the worksheet protection option of allowing inserting columns. + * + * @param bool $val The value of the allowInsertColumns + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowInsertColumns($val) + { + $this->_propDict["allowInsertColumns"] = $val; + return $this; + } + /** + * Gets the allowInsertHyperlinks + * Represents the worksheet protection option of allowing inserting hyperlinks. + * + * @return bool|null The allowInsertHyperlinks + */ + public function getAllowInsertHyperlinks() + { + if (array_key_exists("allowInsertHyperlinks", $this->_propDict)) { + return $this->_propDict["allowInsertHyperlinks"]; + } else { + return null; + } + } + + /** + * Sets the allowInsertHyperlinks + * Represents the worksheet protection option of allowing inserting hyperlinks. + * + * @param bool $val The value of the allowInsertHyperlinks + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowInsertHyperlinks($val) + { + $this->_propDict["allowInsertHyperlinks"] = $val; + return $this; + } + /** + * Gets the allowInsertRows + * Represents the worksheet protection option of allowing inserting rows. + * + * @return bool|null The allowInsertRows + */ + public function getAllowInsertRows() + { + if (array_key_exists("allowInsertRows", $this->_propDict)) { + return $this->_propDict["allowInsertRows"]; + } else { + return null; + } + } + + /** + * Sets the allowInsertRows + * Represents the worksheet protection option of allowing inserting rows. + * + * @param bool $val The value of the allowInsertRows + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowInsertRows($val) + { + $this->_propDict["allowInsertRows"] = $val; + return $this; + } + /** + * Gets the allowPivotTables + * Represents the worksheet protection option of allowing using pivot table feature. + * + * @return bool|null The allowPivotTables + */ + public function getAllowPivotTables() + { + if (array_key_exists("allowPivotTables", $this->_propDict)) { + return $this->_propDict["allowPivotTables"]; + } else { + return null; + } + } + + /** + * Sets the allowPivotTables + * Represents the worksheet protection option of allowing using pivot table feature. + * + * @param bool $val The value of the allowPivotTables + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowPivotTables($val) + { + $this->_propDict["allowPivotTables"] = $val; + return $this; + } + /** + * Gets the allowSort + * Represents the worksheet protection option of allowing using sort feature. + * + * @return bool|null The allowSort + */ + public function getAllowSort() + { + if (array_key_exists("allowSort", $this->_propDict)) { + return $this->_propDict["allowSort"]; + } else { + return null; + } + } + + /** + * Sets the allowSort + * Represents the worksheet protection option of allowing using sort feature. + * + * @param bool $val The value of the allowSort + * + * @return WorkbookWorksheetProtectionOptions + */ + public function setAllowSort($val) + { + $this->_propDict["allowSort"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegration.php b/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegration.php new file mode 100644 index 0000000..2ddecca --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegration.php @@ -0,0 +1,209 @@ +_propDict)) { + return $this->_propDict["apiVersion"]; + } else { + return null; + } + } + + /** + * Sets the apiVersion + * API version for the call back URL. Start with 1. + * + * @param int $val The apiVersion + * + * @return WorkforceIntegration + */ + public function setApiVersion($val) + { + $this->_propDict["apiVersion"] = intval($val); + return $this; + } + + /** + * Gets the displayName + * Name of the workforce integration. + * + * @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 + * Name of the workforce integration. + * + * @param string $val The displayName + * + * @return WorkforceIntegration + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the encryption + * The workforce integration encryption resource. + * + * @return WorkforceIntegrationEncryption|null The encryption + */ + public function getEncryption() + { + if (array_key_exists("encryption", $this->_propDict)) { + if (is_a($this->_propDict["encryption"], "\Microsoft\Graph\Model\WorkforceIntegrationEncryption") || is_null($this->_propDict["encryption"])) { + return $this->_propDict["encryption"]; + } else { + $this->_propDict["encryption"] = new WorkforceIntegrationEncryption($this->_propDict["encryption"]); + return $this->_propDict["encryption"]; + } + } + return null; + } + + /** + * Sets the encryption + * The workforce integration encryption resource. + * + * @param WorkforceIntegrationEncryption $val The encryption + * + * @return WorkforceIntegration + */ + public function setEncryption($val) + { + $this->_propDict["encryption"] = $val; + return $this; + } + + /** + * Gets the isActive + * Indicates whether this workforce integration is currently active and available. + * + * @return bool|null The isActive + */ + public function getIsActive() + { + if (array_key_exists("isActive", $this->_propDict)) { + return $this->_propDict["isActive"]; + } else { + return null; + } + } + + /** + * Sets the isActive + * Indicates whether this workforce integration is currently active and available. + * + * @param bool $val The isActive + * + * @return WorkforceIntegration + */ + public function setIsActive($val) + { + $this->_propDict["isActive"] = boolval($val); + return $this; + } + + /** + * Gets the supportedEntities + * This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + * + * @return WorkforceIntegrationSupportedEntities|null The supportedEntities + */ + public function getSupportedEntities() + { + if (array_key_exists("supportedEntities", $this->_propDict)) { + if (is_a($this->_propDict["supportedEntities"], "\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities") || is_null($this->_propDict["supportedEntities"])) { + return $this->_propDict["supportedEntities"]; + } else { + $this->_propDict["supportedEntities"] = new WorkforceIntegrationSupportedEntities($this->_propDict["supportedEntities"]); + return $this->_propDict["supportedEntities"]; + } + } + return null; + } + + /** + * Sets the supportedEntities + * This property has replaced supports in v1.0. We recommend that you use this property instead of supports. The supports property is still supported in beta for the time being. The possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard, timeOffReason, timeOff, timeOffRequest. If selecting more than one value, all values must start with the first letter in uppercase. + * + * @param WorkforceIntegrationSupportedEntities $val The supportedEntities + * + * @return WorkforceIntegration + */ + public function setSupportedEntities($val) + { + $this->_propDict["supportedEntities"] = $val; + return $this; + } + + /** + * Gets the url + * Workforce Integration URL for callbacks from the Shifts service. + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * Workforce Integration URL for callbacks from the Shifts service. + * + * @param string $val The url + * + * @return WorkforceIntegration + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryption.php b/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryption.php new file mode 100644 index 0000000..f376df4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryption.php @@ -0,0 +1,87 @@ +_propDict)) { + if (is_a($this->_propDict["protocol"], "\Microsoft\Graph\Model\WorkforceIntegrationEncryptionProtocol") || is_null($this->_propDict["protocol"])) { + return $this->_propDict["protocol"]; + } else { + $this->_propDict["protocol"] = new WorkforceIntegrationEncryptionProtocol($this->_propDict["protocol"]); + return $this->_propDict["protocol"]; + } + } + return null; + } + + /** + * Sets the protocol + * Possible values are: sharedSecret, unknownFutureValue. + * + * @param WorkforceIntegrationEncryptionProtocol $val The value to assign to the protocol + * + * @return WorkforceIntegrationEncryption The WorkforceIntegrationEncryption + */ + public function setProtocol($val) + { + $this->_propDict["protocol"] = $val; + return $this; + } + /** + * Gets the secret + * Encryption shared secret. + * + * @return string|null The secret + */ + public function getSecret() + { + if (array_key_exists("secret", $this->_propDict)) { + return $this->_propDict["secret"]; + } else { + return null; + } + } + + /** + * Sets the secret + * Encryption shared secret. + * + * @param string $val The value of the secret + * + * @return WorkforceIntegrationEncryption + */ + public function setSecret($val) + { + $this->_propDict["secret"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryptionProtocol.php b/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryptionProtocol.php new file mode 100644 index 0000000..9364ed7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryptionProtocol.php @@ -0,0 +1,34 @@ +_propDict)) { + if (is_a($this->_propDict["daysOfWeek"], "\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["daysOfWeek"])) { + return $this->_propDict["daysOfWeek"]; + } else { + $this->_propDict["daysOfWeek"] = new DayOfWeek($this->_propDict["daysOfWeek"]); + return $this->_propDict["daysOfWeek"]; + } + } + return null; + } + + /** + * Sets the daysOfWeek + * The days of the week on which the user works. + * + * @param DayOfWeek $val The value to assign to the daysOfWeek + * + * @return WorkingHours The WorkingHours + */ + public function setDaysOfWeek($val) + { + $this->_propDict["daysOfWeek"] = $val; + return $this; + } + + /** + * Gets the endTime + * The time of the day that the user stops working. + * + * @return TimeOfDay|null The endTime + */ + public function getEndTime() + { + if (array_key_exists("endTime", $this->_propDict)) { + if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) { + return $this->_propDict["endTime"]; + } else { + $this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]); + return $this->_propDict["endTime"]; + } + } + return null; + } + + /** + * Sets the endTime + * The time of the day that the user stops working. + * + * @param TimeOfDay $val The value to assign to the endTime + * + * @return WorkingHours The WorkingHours + */ + public function setEndTime($val) + { + $this->_propDict["endTime"] = $val; + return $this; + } + + /** + * Gets the startTime + * The time of the day that the user starts working. + * + * @return TimeOfDay|null The startTime + */ + public function getStartTime() + { + if (array_key_exists("startTime", $this->_propDict)) { + if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) { + return $this->_propDict["startTime"]; + } else { + $this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]); + return $this->_propDict["startTime"]; + } + } + return null; + } + + /** + * Sets the startTime + * The time of the day that the user starts working. + * + * @param TimeOfDay $val The value to assign to the startTime + * + * @return WorkingHours The WorkingHours + */ + public function setStartTime($val) + { + $this->_propDict["startTime"] = $val; + return $this; + } + + /** + * Gets the timeZone + * The time zone to which the working hours apply. + * + * @return TimeZoneBase|null The timeZone + */ + public function getTimeZone() + { + if (array_key_exists("timeZone", $this->_propDict)) { + if (is_a($this->_propDict["timeZone"], "\Microsoft\Graph\Model\TimeZoneBase") || is_null($this->_propDict["timeZone"])) { + return $this->_propDict["timeZone"]; + } else { + $this->_propDict["timeZone"] = new TimeZoneBase($this->_propDict["timeZone"]); + return $this->_propDict["timeZone"]; + } + } + return null; + } + + /** + * Sets the timeZone + * The time zone to which the working hours apply. + * + * @param TimeZoneBase $val The value to assign to the timeZone + * + * @return WorkingHours The WorkingHours + */ + public function setTimeZone($val) + { + $this->_propDict["timeZone"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/Group.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Group.php new file mode 100644 index 0000000..5287867 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Group.php @@ -0,0 +1,210 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of the group creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Group + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description that gives details on the term usage. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description that gives details on the term usage. + * + * @param string $val The description + * + * @return Group + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * Name of the group. + * + * @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 + * Name of the group. + * + * @param string $val The displayName + * + * @return Group + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the parentSiteId + * ID of the parent site of this group. + * + * @return string|null The parentSiteId + */ + public function getParentSiteId() + { + if (array_key_exists("parentSiteId", $this->_propDict)) { + return $this->_propDict["parentSiteId"]; + } else { + return null; + } + } + + /** + * Sets the parentSiteId + * ID of the parent site of this group. + * + * @param string $val The parentSiteId + * + * @return Group + */ + public function setParentSiteId($val) + { + $this->_propDict["parentSiteId"] = $val; + return $this; + } + + /** + * Gets the scope + * Returns the type of the group. Possible values are global, system, and siteCollection. + * + * @return TermGroupScope|null The scope + */ + public function getScope() + { + if (array_key_exists("scope", $this->_propDict)) { + if (is_a($this->_propDict["scope"], "\Microsoft\Graph\TermStore\Model\TermGroupScope") || is_null($this->_propDict["scope"])) { + return $this->_propDict["scope"]; + } else { + $this->_propDict["scope"] = new TermGroupScope($this->_propDict["scope"]); + return $this->_propDict["scope"]; + } + } + return null; + } + + /** + * Sets the scope + * Returns the type of the group. Possible values are global, system, and siteCollection. + * + * @param TermGroupScope $val The scope + * + * @return Group + */ + public function setScope($val) + { + $this->_propDict["scope"] = $val; + return $this; + } + + + /** + * Gets the sets + * All sets under the group in a term [store]. + * + * @return array|null The sets + */ + public function getSets() + { + if (array_key_exists("sets", $this->_propDict)) { + return $this->_propDict["sets"]; + } else { + return null; + } + } + + /** + * Sets the sets + * All sets under the group in a term [store]. + * + * @param Set[] $val The sets + * + * @return Group + */ + public function setSets($val) + { + $this->_propDict["sets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedDescription.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedDescription.php new file mode 100644 index 0000000..9ee1ed5 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedDescription.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * The description in the localized language. + * + * @param string $val The value of the description + * + * @return LocalizedDescription + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the languageTag + * The language tag for the label. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the label. + * + * @param string $val The value of the languageTag + * + * @return LocalizedDescription + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedLabel.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedLabel.php new file mode 100644 index 0000000..19dc37a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedLabel.php @@ -0,0 +1,110 @@ +_propDict)) { + return $this->_propDict["isDefault"]; + } else { + return null; + } + } + + /** + * Sets the isDefault + * Indicates whether the label is the default label. + * + * @param bool $val The value of the isDefault + * + * @return LocalizedLabel + */ + public function setIsDefault($val) + { + $this->_propDict["isDefault"] = $val; + return $this; + } + /** + * Gets the languageTag + * The language tag for the label. + * + * @return string|null The languageTag + */ + public function getLanguageTag() + { + if (array_key_exists("languageTag", $this->_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the label. + * + * @param string $val The value of the languageTag + * + * @return LocalizedLabel + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + /** + * Gets the name + * The name of the label. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name of the label. + * + * @param string $val The value of the name + * + * @return LocalizedLabel + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedName.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedName.php new file mode 100644 index 0000000..0e4e527 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/LocalizedName.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["languageTag"]; + } else { + return null; + } + } + + /** + * Sets the languageTag + * The language tag for the label. + * + * @param string $val The value of the languageTag + * + * @return LocalizedName + */ + public function setLanguageTag($val) + { + $this->_propDict["languageTag"] = $val; + return $this; + } + /** + * Gets the name + * The name in the localized language. + * + * @return string|null The name + */ + public function getName() + { + if (array_key_exists("name", $this->_propDict)) { + return $this->_propDict["name"]; + } else { + return null; + } + } + + /** + * Sets the name + * The name in the localized language. + * + * @param string $val The value of the name + * + * @return LocalizedName + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/Relation.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Relation.php new file mode 100644 index 0000000..cf95658 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Relation.php @@ -0,0 +1,159 @@ +_propDict)) { + if (is_a($this->_propDict["relationship"], "\Microsoft\Graph\TermStore\Model\RelationType") || is_null($this->_propDict["relationship"])) { + return $this->_propDict["relationship"]; + } else { + $this->_propDict["relationship"] = new RelationType($this->_propDict["relationship"]); + return $this->_propDict["relationship"]; + } + } + return null; + } + + /** + * Sets the relationship + * The type of relation. Possible values are: pin, reuse. + * + * @param RelationType $val The relationship + * + * @return Relation + */ + public function setRelationship($val) + { + $this->_propDict["relationship"] = $val; + return $this; + } + + /** + * Gets the fromTerm + * The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. + * + * @return Term|null The fromTerm + */ + public function getFromTerm() + { + if (array_key_exists("fromTerm", $this->_propDict)) { + if (is_a($this->_propDict["fromTerm"], "\Microsoft\Graph\TermStore\Model\Term") || is_null($this->_propDict["fromTerm"])) { + return $this->_propDict["fromTerm"]; + } else { + $this->_propDict["fromTerm"] = new Term($this->_propDict["fromTerm"]); + return $this->_propDict["fromTerm"]; + } + } + return null; + } + + /** + * Sets the fromTerm + * The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. + * + * @param Term $val The fromTerm + * + * @return Relation + */ + public function setFromTerm($val) + { + $this->_propDict["fromTerm"] = $val; + return $this; + } + + /** + * Gets the set + * The [set] in which the relation is relevant. + * + * @return Set|null The set + */ + public function getSet() + { + if (array_key_exists("set", $this->_propDict)) { + if (is_a($this->_propDict["set"], "\Microsoft\Graph\TermStore\Model\Set") || is_null($this->_propDict["set"])) { + return $this->_propDict["set"]; + } else { + $this->_propDict["set"] = new Set($this->_propDict["set"]); + return $this->_propDict["set"]; + } + } + return null; + } + + /** + * Sets the set + * The [set] in which the relation is relevant. + * + * @param Set $val The set + * + * @return Relation + */ + public function setSet($val) + { + $this->_propDict["set"] = $val; + return $this; + } + + /** + * Gets the toTerm + * The to [term] of the relation. The term to which the relationship is defined. + * + * @return Term|null The toTerm + */ + public function getToTerm() + { + if (array_key_exists("toTerm", $this->_propDict)) { + if (is_a($this->_propDict["toTerm"], "\Microsoft\Graph\TermStore\Model\Term") || is_null($this->_propDict["toTerm"])) { + return $this->_propDict["toTerm"]; + } else { + $this->_propDict["toTerm"] = new Term($this->_propDict["toTerm"]); + return $this->_propDict["toTerm"]; + } + } + return null; + } + + /** + * Sets the toTerm + * The to [term] of the relation. The term to which the relationship is defined. + * + * @param Term $val The toTerm + * + * @return Relation + */ + public function setToTerm($val) + { + $this->_propDict["toTerm"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/RelationType.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/RelationType.php new file mode 100644 index 0000000..46e88eb --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/RelationType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of set creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Set + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * Description giving details on the term usage. + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * Description giving details on the term usage. + * + * @param string $val The description + * + * @return Set + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + + /** + * Gets the localizedNames + * Name of the set for each languageTag. + * + * @return array|null The localizedNames + */ + public function getLocalizedNames() + { + if (array_key_exists("localizedNames", $this->_propDict)) { + return $this->_propDict["localizedNames"]; + } else { + return null; + } + } + + /** + * Sets the localizedNames + * Name of the set for each languageTag. + * + * @param LocalizedName[] $val The localizedNames + * + * @return Set + */ + public function setLocalizedNames($val) + { + $this->_propDict["localizedNames"] = $val; + return $this; + } + + + /** + * Gets the setProperties + * Custom properties for the set. + * + * @return array|null The setProperties + */ + public function getSetProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the setProperties + * Custom properties for the set. + * + * @param \Microsoft\Graph\Model\KeyValue[] $val The setProperties + * + * @return Set + */ + public function setSetProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + + + /** + * Gets the children + * Children terms of set in term [store]. + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * Children terms of set in term [store]. + * + * @param Term[] $val The children + * + * @return Set + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + /** + * Gets the parentGroup + * The parent [group] that contains the set. + * + * @return Group|null The parentGroup + */ + public function getParentGroup() + { + if (array_key_exists("parentGroup", $this->_propDict)) { + if (is_a($this->_propDict["parentGroup"], "\Microsoft\Graph\TermStore\Model\Group") || is_null($this->_propDict["parentGroup"])) { + return $this->_propDict["parentGroup"]; + } else { + $this->_propDict["parentGroup"] = new Group($this->_propDict["parentGroup"]); + return $this->_propDict["parentGroup"]; + } + } + return null; + } + + /** + * Sets the parentGroup + * The parent [group] that contains the set. + * + * @param Group $val The parentGroup + * + * @return Set + */ + public function setParentGroup($val) + { + $this->_propDict["parentGroup"] = $val; + return $this; + } + + + /** + * Gets the relations + * Indicates which terms have been pinned or reused directly under the set. + * + * @return array|null The relations + */ + public function getRelations() + { + if (array_key_exists("relations", $this->_propDict)) { + return $this->_propDict["relations"]; + } else { + return null; + } + } + + /** + * Sets the relations + * Indicates which terms have been pinned or reused directly under the set. + * + * @param Relation[] $val The relations + * + * @return Set + */ + public function setRelations($val) + { + $this->_propDict["relations"] = $val; + return $this; + } + + + /** + * Gets the terms + * All the terms under the set. + * + * @return array|null The terms + */ + public function getTerms() + { + if (array_key_exists("terms", $this->_propDict)) { + return $this->_propDict["terms"]; + } else { + return null; + } + } + + /** + * Sets the terms + * All the terms under the set. + * + * @param Term[] $val The terms + * + * @return Set + */ + public function setTerms($val) + { + $this->_propDict["terms"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/Store.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Store.php new file mode 100644 index 0000000..5c596f9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Store.php @@ -0,0 +1,145 @@ +_propDict)) { + return $this->_propDict["defaultLanguageTag"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguageTag + * Default language of the term store. + * + * @param string $val The defaultLanguageTag + * + * @return Store + */ + public function setDefaultLanguageTag($val) + { + $this->_propDict["defaultLanguageTag"] = $val; + return $this; + } + + /** + * Gets the languageTags + * List of languages for the term store. + * + * @return string|null The languageTags + */ + public function getLanguageTags() + { + if (array_key_exists("languageTags", $this->_propDict)) { + return $this->_propDict["languageTags"]; + } else { + return null; + } + } + + /** + * Sets the languageTags + * List of languages for the term store. + * + * @param string $val The languageTags + * + * @return Store + */ + public function setLanguageTags($val) + { + $this->_propDict["languageTags"] = $val; + return $this; + } + + + /** + * Gets the groups + * Collection of all groups available in the term store. + * + * @return array|null The groups + */ + public function getGroups() + { + if (array_key_exists("groups", $this->_propDict)) { + return $this->_propDict["groups"]; + } else { + return null; + } + } + + /** + * Sets the groups + * Collection of all groups available in the term store. + * + * @param Group[] $val The groups + * + * @return Store + */ + public function setGroups($val) + { + $this->_propDict["groups"] = $val; + return $this; + } + + + /** + * Gets the sets + * Collection of all sets available in the term store. + * + * @return array|null The sets + */ + public function getSets() + { + if (array_key_exists("sets", $this->_propDict)) { + return $this->_propDict["sets"]; + } else { + return null; + } + } + + /** + * Sets the sets + * Collection of all sets available in the term store. + * + * @param Set[] $val The sets + * + * @return Store + */ + public function setSets($val) + { + $this->_propDict["sets"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/Term.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Term.php new file mode 100644 index 0000000..677246b --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/Term.php @@ -0,0 +1,276 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * Date and time of term creation. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return Term + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + + /** + * Gets the descriptions + * Description about term that is dependent on the languageTag. + * + * @return array|null The descriptions + */ + public function getDescriptions() + { + if (array_key_exists("descriptions", $this->_propDict)) { + return $this->_propDict["descriptions"]; + } else { + return null; + } + } + + /** + * Sets the descriptions + * Description about term that is dependent on the languageTag. + * + * @param LocalizedDescription[] $val The descriptions + * + * @return Term + */ + public function setDescriptions($val) + { + $this->_propDict["descriptions"] = $val; + return $this; + } + + + /** + * Gets the labels + * Label metadata for a term. + * + * @return array|null The labels + */ + public function getLabels() + { + if (array_key_exists("labels", $this->_propDict)) { + return $this->_propDict["labels"]; + } else { + return null; + } + } + + /** + * Sets the labels + * Label metadata for a term. + * + * @param LocalizedLabel[] $val The labels + * + * @return Term + */ + public function setLabels($val) + { + $this->_propDict["labels"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * Last date and time of term modification. Read-only. + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * Last date and time of term modification. Read-only. + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Term + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + + /** + * Gets the termProperties + * Collection of properties on the term. + * + * @return array|null The termProperties + */ + public function getTermProperties() + { + if (array_key_exists("properties", $this->_propDict)) { + return $this->_propDict["properties"]; + } else { + return null; + } + } + + /** + * Sets the termProperties + * Collection of properties on the term. + * + * @param \Microsoft\Graph\Model\KeyValue[] $val The termProperties + * + * @return Term + */ + public function setTermProperties($val) + { + $this->_propDict["properties"] = $val; + return $this; + } + + + /** + * Gets the children + * Children of current term. + * + * @return array|null The children + */ + public function getChildren() + { + if (array_key_exists("children", $this->_propDict)) { + return $this->_propDict["children"]; + } else { + return null; + } + } + + /** + * Sets the children + * Children of current term. + * + * @param Term[] $val The children + * + * @return Term + */ + public function setChildren($val) + { + $this->_propDict["children"] = $val; + return $this; + } + + + /** + * Gets the relations + * To indicate which terms are related to the current term as either pinned or reused. + * + * @return array|null The relations + */ + public function getRelations() + { + if (array_key_exists("relations", $this->_propDict)) { + return $this->_propDict["relations"]; + } else { + return null; + } + } + + /** + * Sets the relations + * To indicate which terms are related to the current term as either pinned or reused. + * + * @param Relation[] $val The relations + * + * @return Term + */ + public function setRelations($val) + { + $this->_propDict["relations"] = $val; + return $this; + } + + /** + * Gets the set + * The [set] in which the term is created. + * + * @return Set|null The set + */ + public function getSet() + { + if (array_key_exists("set", $this->_propDict)) { + if (is_a($this->_propDict["set"], "\Microsoft\Graph\TermStore\Model\Set") || is_null($this->_propDict["set"])) { + return $this->_propDict["set"]; + } else { + $this->_propDict["set"] = new Set($this->_propDict["set"]); + return $this->_propDict["set"]; + } + } + return null; + } + + /** + * Sets the set + * The [set] in which the term is created. + * + * @param Set $val The set + * + * @return Term + */ + public function setSet($val) + { + $this->_propDict["set"] = $val; + return $this; + } + +} diff --git a/vendor/microsoft/microsoft-graph/src/TermStore/Model/TermGroupScope.php b/vendor/microsoft/microsoft-graph/src/TermStore/Model/TermGroupScope.php new file mode 100644 index 0000000..1b716d1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/src/TermStore/Model/TermGroupScope.php @@ -0,0 +1,36 @@ +responseBodies = array( + 'short' => json_encode(array('body' => 'content')), // not truncated by Guzzle + 'long' => json_encode(array('body' => base64_encode(random_bytes(120)) . '.')), // truncated by Guzzle + ); + + $this->autoBadResponseExceptions = array(); + $this->manualBadResponseExceptions = array(); + foreach ($this->responseBodies as $name => $responseBody) { + $autoBadResponseException = GuzzleHttp\Exception\RequestException::create(new Request("GET", "/endpoint"), new Response(400, [], $responseBody)); + assert($autoBadResponseException instanceof BadResponseException); + $this->autoBadResponseExceptions[$name] = $autoBadResponseException; + + $manualBadResponseException = new BadResponseException("Error: API returned 400", new Request("GET", "/endpoint"), new Response(400, [], $responseBody)); + $this->manualBadResponseExceptions[$name] = $manualBadResponseException; + } + } + + public function testWrapBadResponseExceptionReturnsInstanceOfSameClass() + { + $name = 'short'; + + $ex = $this->autoBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertInstanceOf(get_class($ex), $wrappedException); + + $ex = $this->manualBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertInstanceOf(get_class($ex), $wrappedException); + + $name = 'long'; + + $ex = $this->autoBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertInstanceOf(get_class($ex), $wrappedException); + + $ex = $this->manualBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertInstanceOf(get_class($ex), $wrappedException); + } + + public function testWrapAutoBadResponseExceptionHasResponseBody() + { + $name = 'short'; + $responseBody = $this->responseBodies[$name]; + $ex = $this->autoBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertStringContainsString($responseBody, $wrappedException->getMessage()); + + $name = 'long'; + $responseBody = $this->responseBodies[$name]; + $ex = $this->autoBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertStringContainsString($responseBody, $wrappedException->getMessage()); + } + + public function testWrapManualBadResponseExceptionHasNotResponseBody() + { + $name = 'short'; + $responseBody = $this->responseBodies[$name]; + $ex = $this->manualBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertStringNotContainsString($responseBody, $wrappedException->getMessage()); + + $name = 'long'; + $responseBody = $this->responseBodies[$name]; + $ex = $this->manualBadResponseExceptions[$name]; + $wrappedException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); + $this->assertStringNotContainsString($responseBody, $wrappedException->getMessage()); + } + + public function testWrapBadResponseExceptionWithInvalidInput() + { + $this->expectException(TypeError::class); + ExceptionWrapper::wrapGuzzleBadResponseException(null); + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Exception/ExceptionTest.php b/vendor/microsoft/microsoft-graph/tests/Exception/ExceptionTest.php new file mode 100644 index 0000000..39520e0 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Exception/ExceptionTest.php @@ -0,0 +1,12 @@ +assertEquals("Microsoft\Graph\Exception\GraphException: [404]: bad stuff\n", $exception->__toString()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/AzureTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/AzureTest.php new file mode 100644 index 0000000..c7abf67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/AzureTest.php @@ -0,0 +1,43 @@ +_client = $graphTestBase->graphClient; + $this->_client->setApiVersion("beta"); + } + + /** + * @group functional + * + * Administrative units are not yet available on Graph v1 + */ + public function testAdminUnits() + { + // $adminUnits = $this->_client->createRequest("GET", "/administrativeUnits") + // ->setReturnType(Model\AdministrativeUnit::class) + // ->execute(); + + // $this->assertNotNull($adminUnits); + + // $newUnit = new Model\AdministrativeUnit(); + // $newUnit->setDisplayName("Test admin unit"); + + // $createdUnit = $this->_client->createRequest("POST", "/administrativeUnits") + // ->attachBody($newUnit) + // ->setReturnType(Model\AdministrativeUnit::class) + // ->execute(); + + // $this->assertEquals($newUnit->getDisplayName(), $createdUnit->getDisplayName()); + + // $this->_client->createRequest("DELETE", "/administrativeUnits/" . $createdUnit->getId()) + // ->execute(); + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/ContactTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/ContactTest.php new file mode 100644 index 0000000..5188473 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/ContactTest.php @@ -0,0 +1,49 @@ +graphClient; + + $contact = new Model\Contact(); + $contact->setGivenName("_Tom" . uniqid()); + $customProperty = new Model\SingleValueLegacyExtendedProperty(); + $namespaceGuid = "f5939744-0f22-4f03-b33c-f18a8acfa20b"; + $mapiPropertyType = "String "; + $propertyName = "CustomProperty"; + $propertyId = $mapiPropertyType . "{" . $namespaceGuid . "} Name " . $propertyName; + $customProperty->setId($propertyId); + $customProperty->setValue("My custom property value"); + + $extendedValueCollection[] = $customProperty; + + $contact->setSingleValueExtendedProperties($extendedValueCollection); + + $addedContact = $client->createRequest("POST", "/me/contacts") + ->attachBody($contact) + ->setReturnType(Model\Contact::class) + ->execute(); + + $this->assertNotNull($addedContact->getId()); + + $syncedContact = $client->createRequest("GET", + "/me/contacts/". + $addedContact->getId(). + "?\$expand=singleValueExtendedProperties(\$filter=id eq '$propertyId')" + ) + ->setReturnType(Model\Contact::class) + ->execute(); + + $this->assertNotNull($syncedContact->getSingleValueExtendedProperties()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/DeltaQueryTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/DeltaQueryTest.php new file mode 100644 index 0000000..75ae991 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/DeltaQueryTest.php @@ -0,0 +1,75 @@ +graphTestBase = new GraphTestBase(); + $this->_client = $this->graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function testDeltaQuery() + { + $this->_client->setApiVersion("beta"); + $deltaPageRequest = $this->_client->createCollectionRequest("GET", "/groups/delta") + ->setReturnType(Model\Group::class); + while (!$deltaPageRequest->isEnd()) { + $groups = $deltaPageRequest->getPage(); + foreach ($groups as $group) { + // Deserialize members@delta into user array + $properties = $group->getProperties(); + if (array_key_exists("members@delta", $properties)) + { + $members = array(); + foreach ($properties["members@delta"] as $member) { + $members[] = new Model\User($member); + } + $this->assertNotNull($members[0]->getId()); + } + } + } + $deltaLink = $deltaPageRequest->getDeltaLink(); + $this->assertNotNull($deltaLink); + + $deltaPageRequest2 = $this->_client->createCollectionRequest("GET", $deltaLink) + ->setReturnType(Model\Group::class); + $groups = $deltaPageRequest2->getPage(); + + // Count is likely 0 but collection should not be null + $this->assertNotNull($groups); + } + + /** + * @group functional + */ + public function testSetAccessToken() + { + $this->_client->setApiVersion("beta"); + $deltaPageRequest = $this->_client->createCollectionRequest("GET", "/groups/delta") + ->setReturnType(Model\Group::class); + + // Test if we can change the accessToken + while (!$deltaPageRequest->isEnd()) { + // Store authentication-header + $oldAuthenticationHeader = $deltaPageRequest->getHeaders()['Authorization']; + // Set a new delta-token + $deltaPageRequest->setAccessToken($this->graphTestBase->getAccessToken()); + // Get the new authentication-header + $newAuthenticationHeader = $deltaPageRequest->getHeaders()['Authorization']; + // Do the actual request + $groups = $deltaPageRequest->getPage(); + + $this->assertNotSame($oldAuthenticationHeader,$newAuthenticationHeader); + $this->assertNotNull($groups); + } + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/EventTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/EventTest.php new file mode 100644 index 0000000..46284f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/EventTest.php @@ -0,0 +1,27 @@ +graphClient; + + $startTime = new DateTime('today midnight'); + $startTime = $startTime->format('Y-m-d H:i:s'); + $endTime = new DateTime('tomorrow midnight'); + $endTime = $endTime->format('Y-m-d H:i:s'); + + $todaysEvents = $client->createRequest("GET", "/me/calendarView?startDateTime=$startTime&endDateTime=$endTime") + ->setReturnType(Model\Event::class) + ->execute(); + + $this->assertNotNull($todaysEvents); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/ExcelTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/ExcelTest.php new file mode 100644 index 0000000..a1f66b9 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/ExcelTest.php @@ -0,0 +1,322 @@ +_client = $graphTestBase->graphClient; + + $this->_fileId = $this->createTestFile('_excelTestResource'.rand().'.xlsx'); + $this->uploadTestFileContent($this->_fileId); + } + + protected function tearDown(): void + { + $this->deleteTestFile($this->_fileId); + } + + private function createTestFile($filename) + { + $excelWorkbook = new Model\DriveItem(); + $excelWorkbook->setName($filename); + $file = new Model\File(); + $file->setODataType("microsoft.graph.file"); + $excelWorkbook->setFile($file); + + $excelWorkbookDriveItem = $this->_client->createRequest("POST", "/me/drive/root/children") + ->attachBody($excelWorkbook) + ->setReturnType(Model\DriveItem::class) + ->execute(); + $this->assertNotNull($excelWorkbookDriveItem); + + return $excelWorkbookDriveItem->getId(); + } + + private function deleteTestFile($fileId) + { + //After updating the doc, the service cannot immediately process the delete + sleep(4); + + $this->_client->createRequest("DELETE", "/me/drive/items/$fileId") + ->addHeaders(array("if-match" => "*")) + ->execute(); + } + + private function uploadTestFileContent($fileId) + { + $stream = GuzzleHttp\Psr7\stream_for(fopen("./tests/Functional/Resources/excelTestResource.xlsx", "r")); + $excelDriveItem = $this->_client->createRequest("PUT", "/me/drive/items/" . $this->_fileId . "/content") + ->addHeaders(array( + "Content-Type" => "application/octet-stream", + "Content-Length" => filesize("./tests/Functional/Resources/excelTestResource.xlsx") + )) + ->attachBody($stream) + ->execute(); + $this->assertEquals(200, $excelDriveItem->getStatus()); + } + + /** + * @group functional + * @group excel + */ + public function testGetUpdateRange() + { + $rangeToUpdate = $this->_client->createRequest( + "GET", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/GetUpdateRange/Range(address='A1')" + ) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + $arr = $rangeToUpdate->getValues(); + + $arr[0][0] = "TestValueB"; + $dummyWorkbookRange = new Model\WorkbookRange(); + $dummyWorkbookRange->setValues($arr); + + $workbookRange = $this->_client->createRequest( + "PATCH", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/GetUpdateRange/Range(address='A1')" + ) + ->attachBody($dummyWorkbookRange) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + $this->assertNotNull($workbookRange); + $this->assertEquals("TestValueB", $workbookRange->getValues()[0][0]); + } + + /** + * @group functional + * @group excel + */ + public function testChangeNumberFormat() + { + $excelWorksheetName = "ChangeNumberFormat"; + $rangeAddress = "E2"; + + $arr = [["$#,##0.00;[Red]$#,##0.00"]]; + + $workbookRange = $this->_client->createRequest( + "PATCH", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/$excelWorksheetName/range(address='$rangeAddress')" + ) + ->attachBody(array("numberFormat" => $arr)) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + $this->assertNotNull($workbookRange); + $this->assertEquals($arr, $workbookRange->getNumberFormat()); + } + + /** + * @group functional + * @group excel + */ + public function testAbsFunc() + { + $inputNumber = "-10"; + + $workbookFunctionResult = $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/functions/abs" + ) + ->attachBody('{"number": '. $inputNumber . '}') + ->setReturnType(Model\WorkbookFunctionResult::class) + ->execute(); + $this->assertNotNull($workbookFunctionResult); + $this->assertEquals("10", $workbookFunctionResult->getValue()); + } + + /** + * @group functional + * @group excel + */ + public function testSetFormula() + { + $arr = [['=A4*B4']]; + + $workbookRange = $this->_client->createRequest( + "PATCH", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/SetFormula/range(address='C4')" + ) + ->attachBody(array("formulas" => $arr)) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + $this->assertNotNull($workbookRange); + $this->assertEquals($arr, $workbookRange->getFormulas()); + } + + /** + * @group functional + * @group excel + */ + public function testAddTableUsedRange() + { + $workbookRange = $this->_client->createRequest( + "GET", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/AddTableUsedRange/usedrange" + ) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + + $data = array("address" => $workbookRange->getAddress(), "hasHeaders" => false); + + $workbookTable = $this->_client->createRequest("POST", "/me/drive/items/" . $this->_fileId . "/workbook/worksheets/AddTableUsedRange/tables") + ->attachBody($data) + ->setReturnType(Model\WorkbookTable::class); + + $this->assertNotNull($workbookTable); + } + + /** + * @group functional + * @group excel + */ + public function testAddRowToTable() + { + $newWorkbookTableRow = new Model\WorkbookTableRow(); + $newWorkbookTableRow->setIndex(0); + $arr = [["ValueA2", "ValueA3"]]; + $newWorkbookTableRow->setValues($arr); + + $workbookTableRow = $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/tables/Table1/Rows" + ) + ->attachBody($newWorkbookTableRow) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + + $this->assertNotNull($workbookTableRow); + } + + /** + * @group functional + * @group excel + */ + public function testSortTable() + { + $sortField = new Model\WorkbookSortField(); + $sortField->setAscending(true); + $sortField->setSortOn("Value"); + $sortField->setKey(0); + + $workbookSortFields = $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/tables/Table2/sort/apply" + ) + ->attachBody('{"fields":'. json_encode(array($sortField)) . '}') + ->setReturnType(Model\WorkbookSortField::class) + ->execute(); + + $this->assertNotNull($workbookSortFields); + } + + /** + * @group functional + * @group excel + */ + public function testFilterTableValues() + { + $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/tables/FilterTableValues/columns/1/filter/applyvaluesfilter" + ) + ->attachBody('{"values":["2"]}') + ->setReturnType(Model\WorkbookSortField::class) + ->execute(); + } + + /** + * @group functional + * @group excel + */ + public function testCreateChartFromTable() + { + $tableRange = $this->_client->createRequest( + "GET", + "/me/drive/items/" . + $this->_fileId . + "/workbook/tables/CreateChartFromTable/range" + ) + ->setReturnType(Model\WorkbookRange::class) + ->execute(); + $address = $tableRange->getAddress(); + + $workbookChart = $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/CreateChartFromTable/charts/add" + ) + ->attachBody(array("type" => "ColumnStacked", "sourceData" => "$address", "seriesBy" => "Auto")) + ->setReturnType(Model\WorkbookChart::class) + ->execute(); + $this->assertNotNull($workbookChart); + } + + /** + * @group functional + * @group excel + */ + public function testProtectWorksheet() + { + try{ + $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/ProtectWorksheet/protection/protect" + ) + ->execute(); + + $dummyWorkbookRange = new Model\WorkbookRange(); + $dummyWorkbookRange->setValues('[["This should not work"]]'); + + $workbookRange = $this->_client->createRequest( + "PATCH", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets('protectworksheet')/cell(row=1,column=1)" + ) + ->attachBody($dummyWorkbookRange) + ->execute(); + } catch(Exception $e) + { + //403: Forbidden - file is locked for editing + $this->assertEquals(403, $e->getResponse()->getStatusCode()); + + $this->_client->createRequest( + "POST", + "/me/drive/items/" . + $this->_fileId . + "/workbook/worksheets/ProtectWorksheet/protection/unprotect" + ) + ->execute(); + } + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/GraphTestBase.php b/vendor/microsoft/microsoft-graph/tests/Functional/GraphTestBase.php new file mode 100644 index 0000000..004d775 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/GraphTestBase.php @@ -0,0 +1,89 @@ +clientId = CLIENT_ID; + $this->clientSecret = CLIENT_SECRET; + $this->tenantId = TENANT_ID; + $this->endpoint = "https://login.microsoftonline.com/{$this->tenantId}/oauth2/v2.0/token"; + $this->user = TEST_USER_UPN; + + $this->getAuthenticatedClient(); + } + + public function getAuthenticatedClient() + { + if ($this->graphClient == null) + { + $this->graphClient = new Graph(); + $this->graphClient->setAccessToken($this->getAccessToken()); + // $this->graphClient->setProxyPort("localhost:8888"); // Need for fiddler. + } + } + + public function getAccessToken() + { + $body = "grant_type=".$this->grantType + ."&client_info=1" + ."&client_id=".$this->clientId + ."&scope=".$this->scopes + ."&client_secret=".$this->clientSecret; + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $this->endpoint); + curl_setopt($ch, CURLOPT_POST, 1); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_POSTFIELDS, $body); + curl_setopt($ch, CURLOPT_FAILONERROR, 0); + // curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // turns off SSL check, + // curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888"); // need for fiddler + auth + curl_setopt($ch, CURLOPT_HTTPHEADER, array($this->contentType, 'Content-Length: ' . strlen($body))); + + $result = curl_exec ($ch); + $token = json_decode($result, true)['access_token']; + curl_close($ch); + + return $token; + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/MailTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/MailTest.php new file mode 100644 index 0000000..7273035 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/MailTest.php @@ -0,0 +1,127 @@ +_client = $graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function createEmail($emailBody) + { + $me = $this->_client->createRequest("GET", "/me") + ->setReturnType(Model\User::class) + ->execute(); + $subject = new DateTime(); + $subject = $subject->format('Y-m-d H:i:s'); + + $message = new Model\Message(); + $message->setSubject($subject); + $body = new Model\ItemBody(); + $body->setContent($emailBody); + $message->setBody($body); + $emailAddress = new Model\EmailAddress(); + $emailAddress->setAddress($me->getMail()); + $recipient = new Model\Recipient(); + $recipient->setEmailAddress($emailAddress); + $message->setToRecipients(array($recipient)); + return $message; + } + + /** + * @group functional + */ + public function testSendMail() + { + $message = $this->createEmail("Sent from the SendMail test - Técnica"); + + $body = array("message" => $message); + + $this->_client->createRequest("POST", "/me/sendmail") + ->attachBody($body) + ->execute(); + + $subject = $message->getSubject(); + + $mailFolderMessages = $this->_client->createRequest("GET", "/me/mailFolders/sentItems/messages?\$filter=subject eq '$subject'") + ->setReturnType(Model\Message::class) + ->execute(); + $this->assertNotNull($mailFolderMessages); + } + + /** + * @group functional + */ + public function testSendMailWithAttachment() + { + $message = $this->createEmail("Sent from the SendMailWithAttachment test"); + + $attachment = new Model\FileAttachment(); + $attachment->setName("MyFileAttachment.txt"); + $attachment->setContentBytes("data"); + $attachment->setODataType("#microsoft.graph.fileAttachment"); + + $message->setAttachments(array($attachment)); + + $body = array("message" => $message); + + $this->_client->createRequest("POST", "/me/sendmail") + ->attachBody($body) + ->execute(); + + $mailFolderMessages = $this->_client->createRequest("GET", "/me/mailFolders/sentItems/messages?\$filter=subject eq '\$message->getSubject()'") + ->setReturnType(Model\Message::class) + ->execute(); + $this->assertNotNull($mailFolderMessages); + } + + /** + * @group functional + */ + public function testGetMailWithAttachment() + { + $messageCollection = $this->_client->createRequest("GET", "/me/messages?\$filter=hasAttachments eq true") + ->setReturnType(Model\Message::class) + ->execute(); + $messageId = $messageCollection[0]->getId(); + + if (count($messageCollection) > 0) { + $attachments = $this->_client->createRequest("GET", "/me/messages/$messageId/attachments") + ->setReturnType(Model\Attachment::class) + ->execute(); + + $attachmentId = $attachments[0]->getId(); + $attachment = $this->_client->createRequest("GET", "/me/messages/$messageId/attachments/$attachmentId") + ->setReturnType(Model\FileAttachment::class) + ->execute(); + + $this->assertInstanceOf(Model\FileAttachment::class, $attachment); + $this->assertNotNull($attachment->getContentBytes()); + } + } + + /** + * @group functional + */ + public function testMailGetNextPage() + { + $messageIterator = $this->_client->createCollectionRequest("GET", "/me/messages") + ->setReturnType(Model\Message::class); + $messages = $messageIterator->getPage(); + + while (!$messageIterator->isEnd()) + { + $messages = $messageIterator->getPage(); + } + $this->assertNotNull($messages); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/OnedriveTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/OnedriveTest.php new file mode 100644 index 0000000..1f12698 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/OnedriveTest.php @@ -0,0 +1,208 @@ +_client = $graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function testNextPageRequest() + { + $driveItemsPageIterator = $this->_client->createCollectionRequest("GET", "/me/drive/root/children") + ->setPageSize(4) + ->setReturnType(Model\DriveItem::class); + $driveItemsPage = $driveItemsPageIterator->getPage(); + $this->assertNotNull($driveItemsPage); + + while (!$driveItemsPageIterator->isEnd()) + { + $driveItemsPage = $driveItemsPageIterator->getPage(); + } + + $this->assertNotNull($driveItemsPage); + } + + /** + * @group functional + */ + public function testGetContent() + { + $driveItems = $this->_client->createRequest("GET", "/me/drive/root/children") + ->setReturnType(Model\DriveItem::class) + ->execute(); + foreach ($driveItems as $item) + { + if ($item->getFile()) + { + $itemId = $item->getId(); + $driveItemContent = $this->_client->createRequest("GET", "/me/drive/items/$itemId/content") + ->setReturnType(GuzzleHttp\Psr7\Stream::class) + ->execute(); + $this->assertNotEmpty((String)$driveItemContent); + } + } + } + + /** + * @group functional + */ + public function testDownloadFile() + { + $driveItems = $this->_client->createRequest("GET", "/me/drive/root/children") + ->setReturnType(Model\DriveItem::class) + ->execute(); + foreach ($driveItems as $item) + { + //Find the first non-folder resource to download + if ($item->getFile()) + { + $itemId = $item->getId(); + $itemName = $item->getName(); + $itemName = str_replace(" ", "_", $itemName); + + $driveItemContent = $this->_client->createRequest("GET", "/me/drive/items/$itemId/content") + ->download("D:\\".$itemName); + $this->assertTrue(file_exists("D:\\".$itemName)); + unlink("D:\\".$itemName); + break; + } + } + } + + + /** + * @group functional + */ + public function testGetSetPermissions() + { + $driveItems = $this->_client->createRequest("GET", "/me/drive/root/children") + ->setReturnType(Model\DriveItem::class) + ->execute(); + + foreach ($driveItems as $item) + { + if ($item->getFile()) + { + $itemId = $item->getId(); + $driveItem = $this->_client->createRequest("GET", "/me/drive/items/$itemId?\$expand=permissions") + ->setReturnType(Model\DriveItem::class) + ->execute(); + $this->assertNotNull($driveItem); + + $perm = new Model\Permission(); + $perm->setRoles(array("write")); + if (count($driveItem->getPermissions()) > 0) + { + $permId = $driveItem->getPermissions()[0]["id"]; + + $this->_client->createRequest("PATCH", "/me/drive/items/$itemId/permissions/$permId") + ->addHeaders(array("if-match" => $driveItem->getCTag())) + ->attachBody($perm) + ->execute(); + $permission = $this->_client->createRequest("GET", "/me/drive/items/$itemId/permissions/$permId") + ->setReturnType(Model\Permission::class) + ->execute(); + + $this->assertNotNull($permission); + $this->assertEquals("write", $permission->getRoles()[0]); + } + break; + } + } + } + + /** + * @group functional + */ + public function testSearchFile() + { + $rareName = "zyxwvutsrqponmlkjihgfedcba"; + $rareSearchItem = new Model\DriveItem(); + $rareSearchItem->setName($rareName); + + $folder = new Model\Folder(); + $folder->setChildCount(0); + + $rareSearchItem->setFolder($folder); + $rareSearchItem = $this->_client->createRequest("POST", "/me/drive/root/children") + ->attachBody($rareSearchItem) + ->setReturnType(Model\DriveItem::class) + ->execute(); + + $driveItems = $this->_client->createRequest("GET", "/me/drive/search(q='" . $rareName . "')") + ->setReturnType(Model\DriveItem::class) + ->execute(); + try { + $this->assertEquals(1, count($driveItems)); + } finally { + $this->_client->createRequest("DELETE", "/me/drive/items/" . $rareSearchItem->getId()) + ->execute(); + } + } + + /** + * @group functional + */ + public function testCreateSharingLink() + { + $itemsToShare = $this->_client->createRequest("GET", "/me/drive/root/children?\$filter=startswith(name, 'Timesheet')") + ->setReturnType(Model\DriveItem::class) + ->execute(); + $itemToShare = $itemsToShare[0]; + $this->assertEquals("Timesheet", substr($itemToShare->getName(), 0, 9)); + + $itemId = $itemToShare->getId(); + $permission = $this->_client->createRequest("POST", "/me/drive/items/$itemId/createLink") + ->attachBody(array("type" => "edit", "scope" => "organization")) + ->setReturnType(Model\Permission::class) + ->execute(); + $link = $permission->getLink(); + $this->assertEquals("organization", $link->getScope()); + $this->assertEquals("edit", $link->getType()); + $this->assertNotNull($link->getWebUrl()); + } + + /** + * @group functional + */ + public function testInvite() + { + $itemsToShare = $this->_client->createRequest("GET", "/me/drive/root/children?\$filter=startswith(name, 'Timesheet')") + ->setReturnType(Model\DriveItem::class) + ->execute(); + $itemToShare = $itemsToShare[0]; + $itemId = $itemToShare->getId(); + + $me = $this->_client->createRequest("GET", "/me") + ->setReturnType(Model\User::class) + ->execute(); + $domain = explode("@", $me->getMail())[1]; + $recipient = new Model\DriveRecipient(); + $recipient->setEmail("alexd@".$domain); + + $roles = array("write"); + + $body = array( + "recipients" => array($recipient), + "requireSignIn" => true, + "sendInvitation" => true, + "roles" => $roles, + "message" => "Check out the Invite feature!"); + + $inviteCollection = $this->_client->createRequest("POST", "/me/drive/items/$itemId/invite") + ->attachBody($body) + ->setReturnType(Model\Permission::class) + ->execute(); + $this->assertEquals("Alex Darrow", $inviteCollection[0]->getGrantedTo()->getUser()->getDisplayName()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/OnenoteTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/OnenoteTest.php new file mode 100644 index 0000000..2013972 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/OnenoteTest.php @@ -0,0 +1,125 @@ +_client = $graphTestBase->graphClient; + + $this->_testNotebook = $this->_client + ->createRequest("GET", "/me/onenote/notebooks/1-525fe350-0199-4c02-879d-e5b142ae8632") + ->setReturnType(Model\Notebook::class) + ->execute(); + + $sectionReader = $this->_client + ->createCollectionRequest("GET", "/me/onenote/notebooks/" . $this->_testNotebook->getId() . "/sections") + ->setReturnType(Model\OnenoteSection::class); + $this->_testSection = $sectionReader->getPage()[0]; + + $pageReader = $this->_client + ->createCollectionRequest("GET", "/me/onenote/pages") + ->setReturnType(Model\OnenotePage::class); + $this->_testPage = $pageReader->getPage()[0]; + } + + /** + * @group functional + */ + public function testODataQueries() + { + $countedBooks = $this->_client + ->createRequest("GET", "/me/onenote/notebooks?count=true") + ->setReturnType(Model\Notebook::class) + ->execute(); + $this->assertTrue(count($countedBooks) > 0); + } + + /** + * @group functional + */ + public function testGetPageContent() + { + $content = $this->_client + ->createRequest("GET", "/me/onenote/pages/" . $this->_testPage->getId() . "/content") + ->setReturnType(GuzzleHttp\Psr7\Stream::class) + ->execute(); + + $this->assertNotNull($content->getContents()); + } + + /** + * @group functional + */ + public function testPostToNotebook() + { + $contentStream = GuzzleHttp\Psr7\stream_for('Test TitleTest body'); + $newPage = $this->_client + ->createRequest("POST", "/me/onenote/sections/" . $this->_testSection->getId() . "/pages") + ->addHeaders(array("Content-Type" => "application/xhtml+xml")) + ->attachBody($contentStream) + ->setReturnType(Model\OnenotePage::class) + ->execute(); + $this->assertEquals("Test Title", $newPage->getTitle()); + } + + /** + * @group functional + */ + public function testMultipartPost() + { + $boundary = md5(time()); + + $html = "--" . $boundary . "\r\n" . + "Content-Disposition:form-data; name=\"Presentation\"" . "\r\n" . + "Content-Type: text/html" . "\r\n" . + "\r\n" . + "\r\n" . + "\r\n" . + "\r\n" . + "Test Multipart Page\r\n" . + "\r\n" . + "\r\n" . + "\r\n" . + "

\r\n" . + "\r\n" . + "

\r\n" . + "

\r\n" . + "

\r\n" . + "\r\n" . + "\r\n" . + "\r\n" . + "\r\n" . + "--" . $boundary . "\r\n" . + "Content-Disposition:form-data; name=\"image\"\r\n" . + "Content-Type: image/jpeg\r\n\r\n"; + + $doc = "\r\n\r\n" . + "--" . $boundary . "\r\n" . + "Content-Disposition:form-data; name=\"attachment\"\r\n" . + "Content-Type:application/pdf\r\n\r\n"; + + $end = "\r\n\r\n" . + "--" . $boundary . "--"; + + $imageStream = GuzzleHttp\Psr7\stream_for(fopen("./tests/Functional/Resources/hamilton.jpg", "r")); + $docStream = GuzzleHttp\Psr7\stream_for(fopen("./tests/Functional/Resources/document.pdf", "r")); + + $request = GuzzleHttp\Psr7\stream_for($html . $imageStream . $doc . $docStream . $end); + + $newPage = $this->_client + ->createRequest("POST", "/me/onenote/sections/" . $this->_testSection->getId() . "/pages") + ->addHeaders(array("Content-Type" => "multipart/form-data; boundary=\"" . $boundary . "\"")) + ->attachBody($request) + ->execute(); + $this->assertNotNull($newPage); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/OpenTypeTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/OpenTypeTest.php new file mode 100644 index 0000000..b57ef8f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/OpenTypeTest.php @@ -0,0 +1,59 @@ +_client = $graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function testOpenExtensions() + { + $extension = new Model\Extension(array("theme" => "dark", "extensionName" => "Extension 1")); + + $this->_client->setApiVersion("beta"); + $eResult = $this->_client->createRequest("POST", "/me/extensions") + ->attachBody($extension) + ->setReturnType(Model\Extension::class) + ->execute(); + + $this->assertEquals("Extension 1", $eResult->getProperties()["extensionName"]); + + $this->_client->createRequest("DELETE", "/me/extensions/" . $eResult->getId()) + ->execute(); + } + + /** + * @group functional + */ + public function testSchemaExtensions() + { + $this->markTestSkipped(); + $extension = new Model\SchemaExtension(); + $extension->setId("schematest"); + $extension->setDescription("PHP Graph SDK test"); + $extension->setTargetTypes(array("Group")); + + $property = new Model\ExtensionSchemaProperty(); + $property->setName("courseId"); + $property->setType("Integer"); + + $extension->setSchemaExtensionProperties(array($property)); + + $newExtension = $this->_client + ->createRequest("POST", "/schemaExtensions") + ->attachBody($extension) + ->setReturnType(Model\SchemaExtension::class) + ->execute(); + $this->assertEquals($extension->getDescription(), $newExtension->getDescription()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/PlannerTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/PlannerTest.php new file mode 100644 index 0000000..fb7257f --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/PlannerTest.php @@ -0,0 +1,109 @@ +_client = $graphTestBase->graphClient; + + $this->planId = PLAN_ID; + + $bucket = new Model\PlannerBucket(); + $bucket->setName("Test Bucket"); + $bucket->setPlanId($this->planId); + + $this->planBucket = $this->_client->createRequest("POST", "/planner/buckets") + ->attachBody($bucket) + ->setReturnType(Model\PlannerBucket::class) + ->execute(); + + $task = new Model\PlannerTask(); + $task->setTitle("Test Task"); + $task->setPlanId($this->planId); + $task->setBucketId($this->planBucket->getId()); + + $this->planTask = $this->_client->createRequest("POST", "/planner/tasks") + ->attachBody($task) + ->setReturnType(Model\PlannerTask::class) + ->execute(); + } + + /** + * @group functional + */ + public function testCreateTask() + { + $newTask = new Model\PlannerTask(); + $newTask->setTitle("Test 1"); + $newTask->setPlanId($this->planId); + $newTask->setBucketId($this->planBucket->getId()); + + $task = $this->_client->createRequest("POST", "/planner/tasks") + ->attachBody($newTask) + ->setReturnType(Model\PlannerTask::class) + ->execute(); + + $this->assertEquals($newTask->getTitle(), $task->getTitle()); + } + + /** + * @group functional + */ + public function testUpdateTask() + { + $me = $this->_client->createRequest("GET", "/me") + ->setReturnType(Model\User::class) + ->execute(); + $assignment = new Model\PlannerAssignment(); + $assignment->setOrderHint(" !"); + $assignment->setODataType("#microsoft.graph.plannerAssignment"); + + $task = $this->_client->createRequest("GET", "/planner/tasks/" . $this->planTask->getId()) + ->setReturnType(Model\PlannerTask::class) + ->execute(); + + try { + $this->_client->createRequest("PATCH", "/planner/tasks/" . $this->planTask->getId()) + ->attachBody(array("assignments" => array($me->getId() => $assignment))) + ->addHeaders(array("If-Match" => $task->getProperties()["@odata.etag"])) + ->execute(); + + $updatedTask = $this->_client->createRequest("GET", "/planner/tasks/" . $this->planTask->getId()) + ->setReturnType(Model\PlannerTask::class) + ->execute(); + + $this->assertNotNull($updatedTask->getAssignments()->getProperties()[$me->getId()]); + } catch (GuzzleHttp\Exception\ClientException $e) { + print_r($e->getResponse()->getBody()->getContents()); + } + + } + + public function tearDown(): void + { + $task = $this->_client->createRequest("GET", "/planner/tasks/" . $this->planTask->getId()) + ->setReturnType(Model\PlannerTask::class) + ->execute(); + $this->_client->createRequest("DELETE", "/planner/tasks/" . $this->planTask->getId()) + ->addHeaders(array("If-Match" => $task->getProperties()["@odata.etag"])) + ->execute(); + + $bucket = $this->_client->createRequest("GET", "/planner/buckets/" . $this->planBucket->getId()) + ->setReturnType(Model\PlannerBucket::class) + ->execute(); + $this->_client->createRequest("DELETE", "/planner/buckets/" . $this->planBucket->getId()) + ->addHeaders(array("If-Match" => $bucket->getProperties()["@odata.etag"])) + ->execute(); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/document.pdf b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/document.pdf new file mode 100644 index 0000000..59dadf1 Binary files /dev/null and b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/document.pdf differ diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/excelTestResource.xlsx b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/excelTestResource.xlsx new file mode 100644 index 0000000..9a2c0d9 Binary files /dev/null and b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/excelTestResource.xlsx differ diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/hamilton.jpg b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/hamilton.jpg new file mode 100644 index 0000000..c4ba7c4 Binary files /dev/null and b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/hamilton.jpg differ diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/metadata.xml b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/metadata.xml new file mode 100644 index 0000000..3fbcae7 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/metadata.xml @@ -0,0 +1,2103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/SharepointTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/SharepointTest.php new file mode 100644 index 0000000..b9ee5d8 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/SharepointTest.php @@ -0,0 +1,40 @@ +_client = $graphTestBase->graphClient; + $this->_client->setApiVersion("stagingv1.0"); + } + + /** + * @group functional + */ + public function testAccessRootSite() + { + $files = $this->_client->createRequest("GET", "/sites/root/drive/root/children") + ->setReturnType(Model\DriveItem::class) + ->execute(); + + $this->assertNotNull($files); + } + + /** + * @group functional + */ + public function testSearch() + { + $results = $this->_client->createRequest("GET", "/sites/root?search='a'") + ->setReturnType(Model\Site::class) + ->execute(); + + $this->assertNotNull($results); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/TermStoreTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/TermStoreTest.php new file mode 100644 index 0000000..75ab9df --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/TermStoreTest.php @@ -0,0 +1,27 @@ +_client = $graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function testBetaGetStore() + { + $store = $this->_client->setApiVersion("beta") + ->createRequest("GET", "/termstore") + ->setReturnType(BetaStore::class) + ->execute(); + $this->assertNotNull($store->getDefaultLanguageTag()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/TestConstants.php b/vendor/microsoft/microsoft-graph/tests/Functional/TestConstants.php new file mode 100644 index 0000000..7535a53 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/TestConstants.php @@ -0,0 +1,35 @@ +_client = $graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function testFilterByStartsWith() + { + $users = $this->_client->createRequest("GET", "/users?\$filter=startswith(displayName, 'A')") + ->setReturnType(Model\User::class) + ->execute(); + foreach ($users as $user) + { + $this->assertEquals("A", substr($user->getDisplayName(), 0,1)); + } + } + + /** + * @group functional + */ + public function testGetPhoto() + { + $photo = $this->_client->createRequest("GET", "/me/photo/\$value") + ->execute(); + $this->assertNotNull($photo->getRawBody()); + } + + /** + * @group functional + */ + public function testGetUser() + { + $user = $this->_client->createRequest("GET", "/me") + ->setReturnType(Model\User::class) + ->execute(); + $this->assertNotNull($user->getUserPrincipalName()); + } + + /** + * @group functional + */ + public function testBetaGetUser() + { + $user = $this->_client->setApiVersion("beta") + ->createRequest("GET", "/me") + ->setReturnType(BetaUser::class) + ->execute(); + $this->assertNotNull($user->getUserPrincipalName()); + } + + /** + * @group functional + */ + public function testGetManager() + { + $manager = $this->_client->createRequest("GET", "/me/manager") + ->setReturnType(Model\User::class) + ->execute(); + $this->assertNotNull($manager->getDisplayName()); + } + + /** + * @group functional + */ + public function testBetaGetManager() + { + $manager = $this->_client->setApiVersion("beta") + ->createRequest("GET", "/me/manager") + ->setReturnType(BetaModel\User::class) + ->execute(); + $this->assertNotNull($manager->getDisplayName()); + } + + /** + * @group functional + */ + public function testUpdateManager() + { + $manager = $this->_client->createRequest("GET", "/me/manager") + ->setReturnType(Model\User::class) + ->execute(); + + $this->_client->createRequest("PUT", "/me/manager/\$ref") + ->attachBody('{"@odata.id": "https://graph.microsoft.com/v1.0/users/'.$manager->getId().'"}') + ->execute(); + $newManager = $this->_client->createRequest("GET", "/me/manager") + ->setReturnType(Model\User::class) + ->execute(); + $this->assertEquals($manager, $newManager); + } + + /** + * @group functional + */ + public function testGetMemberGroupsWithSecurityEnabled() + { + $groups = $this->_client->createRequest("POST", "/me/getMemberGroups") + ->attachBody("{securityEnabledOnly: true}") + ->setReturnType(Model\Group::class) + ->execute(); + $this->assertNotNull($groups); + } + + /** + * @group functional + */ + public function testUpdateUser() + { + $user = $this->getCurrentUser(); + + $newUser = new Model\User(); + $newUser->setGivenName("Katherine"); + + $this->_client->createRequest("PATCH", "/me") + ->attachBody($newUser) + ->execute(); + $updatedUser = $this->getCurrentUser(); + + $this->assertEquals("Katherine", $updatedUser->getGivenName()); + $this->assertEquals($user->getMail(), $updatedUser->getMail()); + + $this->_client->createRequest("PATCH", "/me") + ->attachBody($user) + ->setReturnType(Model\User::class) + ->execute(); + $restoredUser = $this->getCurrentUser(); + $this->assertEquals($user->getGivenName(), $restoredUser->getGivenName()); + } + + private function getCurrentUser() + { + return $this->_client->createRequest("GET", "/me") + ->setReturnType(Model\User::class) + ->execute(); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/WebhooksTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/WebhooksTest.php new file mode 100644 index 0000000..1ae3193 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Functional/WebhooksTest.php @@ -0,0 +1,38 @@ +_client = $graphTestBase->graphClient; + } + + /** + * @group functional + */ + public function testWebhooks() + { + $sub = new Model\Subscription(); + $sub->setChangeType("created,updated"); + $sub->setNotificationUrl("https://webhook-sub-test.azurewebsites.net/api/WebhookTrigger"); + $sub->setResource("/me/mailfolders('inbox')/messages"); + $time = new \DateTime(); + $time->add(new DateInterval("PT1H")); + $sub->setExpirationDateTime($time); + + $this->_client->setApiVersion("beta"); + $subResult = $this->_client->createRequest("POST", "/subscriptions") + ->attachBody($sub) + ->setReturnType(Model\Subscription::class) + + ->execute(); + $this->assertNotNull($subResult); + $this->assertEquals($sub->getResource(), $subResult->getResource()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php b/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php new file mode 100644 index 0000000..f35a8ef --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php @@ -0,0 +1,3 @@ +assertNotNull($graph); + } + + public function testInitializeEmptyGraph() + { + $this->expectException(Microsoft\Graph\Exception\GraphException::class); + $graph = new Graph(); + $request = $graph->createRequest("GET", "/me"); + } + + public function testInitializeGraphWithToken() + { + $graph = new Graph(); + $graph->setAccessToken('abc'); + $request = $graph->createRequest("GET", "/me"); + + $this->assertInstanceOf(GraphRequest::class, $request); + } + + public function testCreateCollectionRequest() + { + $graph = new Graph(); + $graph->setAccessToken('abc'); + $request = $graph->createCollectionRequest("GET", "/me"); + + $this->assertInstanceOf(GraphRequest::class, $request); + } + + public function testRequestWithCustomEndpoint() + { + $graph = new Graph(); + $graph->setAccessToken('abc'); + $graph->setBaseUrl('url2'); + + $request = $graph->createRequest("GET", "/me"); + $this->assertEquals('url2', $request->getBaseUrl()); + } + + public function testBetaRequest() + { + $graph = new Graph(); + $graph->setAccessToken('abc') + ->setApiVersion('beta'); + $request = $graph->createRequest("GET", "/me"); + + $this->assertEquals('beta', $request->getApiVersion()); + } + + public function testMultipleGraphObjects() + { + $graph = new Graph(); + $graph2 = new Graph(); + + $graph->setAccessToken('abc'); + $graph2->setAccessToken('abc'); + $graph2->setApiVersion('beta'); + + $request = $graph->createRequest("GET", "/me"); + $request2 = $graph2->createRequest("GET", "/me"); + + $this->assertEquals(GraphConstants::API_VERSION, $request->getApiVersion()); + $this->assertEquals('beta', $request2->getApiVersion()); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Http/GraphCollectionRequestTest.php b/vendor/microsoft/microsoft-graph/tests/Http/GraphCollectionRequestTest.php new file mode 100644 index 0000000..c364c67 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Http/GraphCollectionRequestTest.php @@ -0,0 +1,84 @@ +collectionRequest = new GraphCollectionRequest("GET", "/endpoint", "token", "url", "version"); + $this->collectionRequest->setReturnType(Model\User::class); + $this->collectionRequest->setPageSize(2); + + $body = json_encode(array('body' => 'content', '@odata.nextLink' => 'https://url/version/endpoint?skiptoken=link')); + $body2 = json_encode(array('body' => 'content')); + $mock = new GuzzleHttp\Handler\MockHandler([ + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body2), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body2), + ]); + $handler = GuzzleHttp\HandlerStack::create($mock); + $this->client = new GuzzleHttp\Client(['handler' => $handler]); + + $this->reflectedRequestUrlHandler = new ReflectionMethod('Microsoft\Graph\Http\GraphRequest', '_getRequestUrl'); + $this->reflectedRequestUrlHandler->setAccessible(true); + } + + public function testHitEndOfCollection() + { + $this->expectError(); + + //First page + $this->collectionRequest->setPageCallInfo(); + $response = $this->collectionRequest->execute($this->client); + $this->collectionRequest->processPageCallReturn($response); + + //Last page + $this->collectionRequest->setPageCallInfo(); + $response = $this->collectionRequest->execute($this->client); + $result1 = $this->collectionRequest->processPageCallReturn($response); + + $this->assertTrue($this->collectionRequest->isEnd()); + + //Expect error + $this->collectionRequest->setPageCallInfo(); + } + + public function testProcessPageCallReturn() + { + $this->collectionRequest->setPageCallInfo(); + $response = $this->collectionRequest->execute($this->client); + $result = $this->collectionRequest->processPageCallReturn($response); + $this->assertInstanceOf(Microsoft\Graph\Model\User::class, $result); + } + + public function testEndpointManipulationWithoutNextLink() + { + //Page should be 1 + $this->assertFalse($this->collectionRequest->isEnd()); + + $requestUrl = $this->reflectedRequestUrlHandler->invokeArgs($this->collectionRequest, array()); + + $this->assertEquals($requestUrl, 'version/endpoint'); + + $this->collectionRequest->setPageCallInfo(); + + $requestUrl = $this->reflectedRequestUrlHandler->invokeArgs($this->collectionRequest, array()); + $this->assertEquals('version/endpoint?$top=2', $requestUrl); + } + + public function testEndpointManipulationWhenNextLinkExists() + { + $this->collectionRequest->setPageCallInfo(); + $response = $this->collectionRequest->execute($this->client); + $this->collectionRequest->processPageCallReturn($response); + $this->collectionRequest->setPageCallInfo(); + $requestUrl = $this->reflectedRequestUrlHandler->invokeArgs($this->collectionRequest, array()); + $this->assertEquals('version/endpoint?skiptoken=link', $requestUrl); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Http/GraphRequestTest.php b/vendor/microsoft/microsoft-graph/tests/Http/GraphRequestTest.php new file mode 100644 index 0000000..480b07a --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Http/GraphRequestTest.php @@ -0,0 +1,241 @@ +requests = array( + new GraphRequest("GET", "/endpoint", "token", "baseUrl", "version"), + new GraphRequest("PATCH", "/endpoint?query", "token", "baseUrl", "version"), + new GraphRequest("GET", "/endpoint?query&query2", "token", "baseUrl", "version") + ); + + $this->defaultHeaders = array( + "Host" => "baseUrl", + "Content-Type" => "application/json", + "SdkVersion" => "Graph-php-" . GraphConstants::SDK_VERSION, + "Authorization" => "Bearer token" + ); + + $body = json_encode(array('body' => 'content')); + $mock = new GuzzleHttp\Handler\MockHandler([ + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body), + new GuzzleHttp\Psr7\Response(201, ['foo' => 'bar']), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body) + ]); + $handler = GuzzleHttp\HandlerStack::create($mock); + $this->client = new GuzzleHttp\Client(['handler' => $handler]); + } + + public function testSetReturnType() + { + //Temporarily make getRequestUrl() public + $reflectionMethod = new ReflectionMethod('Microsoft\Graph\Http\GraphRequest', '_getRequestUrl'); + $reflectionMethod->setAccessible(true); + + $graph = new Graph(); + $graph->setApiVersion('beta'); + $graph->setAccessToken('token'); + $request = $graph->createRequest("get", "/me"); + $graph->setApiVersion('v1.0'); + + $requestUrl = $reflectionMethod->invokeArgs($request, array()); + $this->assertEquals($requestUrl, "beta/me"); + + $request2 = $graph->createRequest("get", "/me"); + $requestUrl = $reflectionMethod->invokeArgs($request2, array()); + $this->assertEquals("v1.0/me", $requestUrl); + } + + public function testAddHeaders() + { + $testHeader = array("test" => "header"); + $request = $this->requests[0]->addHeaders($testHeader); + $headers = $request->getHeaders(); + + $expectedHeaders = array( + "Host" => "baseUrl", + "Content-Type" => "application/json", + "SdkVersion" => "Graph-php-" . GraphConstants::SDK_VERSION, + "Authorization" => "Bearer token", + "test" => "header" + ); + + $this->assertEquals($expectedHeaders, $headers); + } + + public function testCustomHeadersOverwriteDefaults() + { + $testHeader = array("Content-Type" => "application/x-www-form-urlencoded"); + $request = $this->requests[0]->addHeaders($testHeader); + $headers = $request->getHeaders(); + + $expectedHeaders = array( + "Host" => "baseUrl", + "Content-Type" => "application/x-www-form-urlencoded", + "SdkVersion" => "Graph-php-" . GraphConstants::SDK_VERSION, + "Authorization" => "Bearer token" + ); + + $this->assertEquals($expectedHeaders, $headers); + } + + public function testDefaultHeaders() + { + $headers = $this->requests[0]->getHeaders(); + + $this->assertEquals($this->defaultHeaders, $headers); + } + + public function testGetBody() + { + $testBody = json_encode(array('body' => 'content')); + $this->requests[0]->attachBody($testBody); + $body = $this->requests[0]->getBody(); + $this->assertEquals($testBody, $body); + } + + public function testAttachPropertyDictionary() + { + $model = new Microsoft\Graph\Model\User(array("id" => 1, "manager" => new Microsoft\Graph\Model\User(array("id" => 2)))); + $this->requests[0]->attachBody($model); + $body = $this->requests[0]->getBody(); + $this->assertEquals('{"id":1,"manager":{"id":2}}', $body); + } + + public function testAttachDoubleNestedDictionary() + { + $testBody = json_encode(array("data"=> array("key" => array("key2" => "val")))); + $this->requests[0]->attachBody(array("data"=> array("key" => array("key2" => "val")))); + $body = $this->requests[0]->getBody(); + $this->assertEquals($testBody, $body); + } + + public function testSetTimeout() + { + $this->requests[0]->setTimeout('200'); + $this->assertEquals('200', $this->requests[0]->getTimeout()); + } + + public function testDefaultTimeout() + { + $this->assertEquals('100', $this->requests[0]->getTimeout()); + } + + public function testCreateGuzzleClient() + { + $reflectionMethod = new ReflectionMethod('Microsoft\Graph\Http\GraphRequest', 'createGuzzleClient'); + $reflectionMethod->setAccessible(true); + + $request = $this->requests[0]; + $client = $reflectionMethod->invokeArgs($request, array()); + + $this->assertInstanceOf(GuzzleHttp\Client::class, $client); + + } + + public function testExecute() + { + $response = $this->requests[0]->execute($this->client); + + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + } + + public function testExecuteWithTimeout() + { + $response = $this->requests[0]->setTimeout(300)->execute($this->client); + + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + } + + public function testExecuteAsync() + { + $promise = $this->requests[0] + ->executeAsync($this->client); + $this->assertInstanceOf(GuzzleHttp\Promise\PromiseInterface::class, $promise); + + $promise = $this->requests[1] + ->executeAsync($this->client); + $this->assertInstanceOf(GuzzleHttp\Promise\PromiseInterface::class, $promise); + + $promise = $this->requests[0] + ->executeAsync($this->client); + $promise2 = $this->requests[2] + ->executeAsync($this->client); + + $response = \GuzzleHttp\Promise\unwrap(array($promise)); + foreach ($response as $responseItem) { + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $responseItem); + } + } + + public function testGetRequestUrl() + { + //Temporarily make getRequestUrl() public + $reflectionMethod = new ReflectionMethod('Microsoft\Graph\Http\GraphRequest', '_getRequestUrl'); + $reflectionMethod->setAccessible(true); + + $requestUrl = $reflectionMethod->invokeArgs($this->requests[0], array()); + $this->assertEquals($requestUrl, "version/endpoint"); + } + + public function testGetConcatenator() + { + //Temporarily make getConcatenator() public + $reflectionMethod = new ReflectionMethod('Microsoft\Graph\Http\GraphRequest', 'getConcatenator'); + $reflectionMethod->setAccessible(true); + + $concatenator = $reflectionMethod->invokeArgs($this->requests[0], array()); + $this->assertEquals($concatenator, "?"); + + $concatenator = $reflectionMethod->invokeArgs($this->requests[1], array()); + $this->assertEquals($concatenator, "&"); + + $concatenator = $reflectionMethod->invokeArgs($this->requests[2], array()); + $this->assertEquals($concatenator, "&"); + } + + public function testExecuteWith4xxResponse() + { + $this->expectException(GuzzleHttp\Exception\ClientException::class); + $mockResponse = array(new Response(400)); + $client = MockClientFactory::create(['http_errors' => true], $mockResponse); + $this->requests[0]->execute($client); + } + + public function testExecuteWith5xxResponse() + { + $this->expectException(GuzzleHttp\Exception\ServerException::class); + $mockResponse = array(new Response(500)); + $client = MockClientFactory::create(['http_errors' => true], $mockResponse); + $this->requests[0]->execute($client); + } + + public function testExecuteAsyncWithBadResponseTriggersNotice() + { + $this->expectNotice(); + $mockResponse = array(new Response(400)); + $client = MockClientFactory::create(['http_errors' => true], $mockResponse); + $promise = $this->requests[0]->executeAsync($client); + $promise->wait(); + } + + public function testExecuteAsyncWithBadResponseReturnsNull() + { + $mockResponse = array(new Response(400)); + $client = MockClientFactory::create(['http_errors' => true], $mockResponse); + $promise = $this->requests[0]->executeAsync($client); + $result = @$promise->wait(); + $this->assertNull($result); + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Http/GraphResponseTest.php b/vendor/microsoft/microsoft-graph/tests/Http/GraphResponseTest.php new file mode 100644 index 0000000..c394ac1 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Http/GraphResponseTest.php @@ -0,0 +1,154 @@ +responseBody = array('body' => 'content', 'displayName' => 'Bob Barker'); + + $body = json_encode($this->responseBody); + $multiBody = json_encode(array('value' => array('1' => array('givenName' => 'Bob'), '2' => array('givenName' => 'Drew')))); + $valueBody = json_encode(array('value' => 'Bob Barker')); + $emptyMultiBody = json_encode(array('value' => array())); + + $mock = new GuzzleHttp\Handler\MockHandler([ + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $body), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $multiBody), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $valueBody), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $emptyMultiBody), + ]); + $handler = GuzzleHttp\HandlerStack::create($mock); + $this->client = new GuzzleHttp\Client(['handler' => $handler]); + + $this->request = new GraphRequest("GET", "/endpoint", "token", "baseUrl", "version"); + $this->response = new GraphResponse($this->request, "{response}", "200", ["foo" => "bar"]); + } + + public function testGetResponseAsObject() + { + $this->request->setReturnType(Model\User::class); + $response = $this->request->execute($this->client); + + $this->assertInstanceOf(Model\User::class, $response); + $this->assertEquals($this->responseBody['displayName'], $response->getDisplayName()); + } + + public function testGetResponseHeaders() + { + $response = $this->request->execute($this->client); + $headers = $response->getHeaders(); + + $this->assertEquals(["foo" => ["bar"]], $headers); + } + + public function testGetNextLink() + { + $body = json_encode(array('@odata.nextLink' => 'https://url.com/resource?$top=4&skip=4')); + $response = new GraphResponse($this->request, $body); + + $nextLink = $response->getNextLink(); + $this->assertEquals('https://url.com/resource?$top=4&skip=4', $nextLink); + } + + public function testDecodeBody() + { + //Temporarily make decodeBody() public + $reflectionMethod = new ReflectionMethod('Microsoft\Graph\Http\GraphResponse', '_decodeBody'); + $reflectionMethod->setAccessible(true); + + $response = new GraphResponse($this->request, json_encode($this->responseBody)); + $decodedBody = $reflectionMethod->invokeArgs($response, array()); + + $this->assertEquals($this->responseBody, $decodedBody); + } + + public function testDecodeEmptyBody() + { + //Temporarily make decodeBody() public + $reflectionMethod = new ReflectionMethod('Microsoft\Graph\Http\GraphResponse', '_decodeBody'); + $reflectionMethod->setAccessible(true); + + $response = new GraphResponse($this->request); + $decodedBody = $reflectionMethod->invokeArgs($response, array()); + + $this->assertEquals(array(), $decodedBody); + } + + public function testGetHeaders() + { + $headers = $this->response->getHeaders(); + $this->assertEquals(["foo" => "bar"], $headers); + } + + public function testGetBody() + { + $response = $this->request->execute($this->client); + $this->assertInstanceOf(GraphResponse::class, $response); + + $body = $response->getBody(); + $this->assertEquals($this->responseBody, $body); + } + + public function testGetRawBody() + { + $response = $this->request->execute($this->client); + + $body = $response->getRawBody(); + $this->assertInstanceOf(\Psr\Http\Message\StreamInterface::class, $body); + $this->assertIsNotString($body); + $this->assertEquals(json_encode($this->responseBody), $body); + } + + public function testGetStatus() + { + $response = $this->request->execute($this->client); + + $this->assertEquals('200', $response->getStatus()); + } + + public function testGetMultipleObjects() + { + $this->request->execute($this->client); + $this->request->execute($this->client); + $hosts = $this->request->setReturnType(Model\User::class)->execute($this->client); + + $this->assertIsArray($hosts); + $this->assertContainsOnlyInstancesOf(Model\User::class, $hosts); + $this->assertSame(array_values($hosts), $hosts); + $this->assertEquals(2, count($hosts)); + $this->assertEquals("Bob", $hosts[0]->getGivenName()); + } + + public function testGetValueObject() + { + $this->request->execute($this->client); + $this->request->execute($this->client); + $this->request->execute($this->client); + $response = $this->request->setReturnType(Model\User::class)->execute($this->client); + + $this->assertInstanceOf(Model\User::class, $response); + } + + public function testGetZeroMultipleObjects() + { + $this->request->execute($this->client); + $this->request->execute($this->client); + $this->request->execute($this->client); + $this->request->execute($this->client); + $response = $this->request->setReturnType(Model\User::class)->execute($this->client); + + $this->assertSame(array(), $response); + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Http/HttpTest.php b/vendor/microsoft/microsoft-graph/tests/Http/HttpTest.php new file mode 100644 index 0000000..b198d94 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Http/HttpTest.php @@ -0,0 +1,159 @@ + 'bar']), + new Response(200, ['foo' => 'bar']) + ]); + $this->container = []; + $history = GuzzleHttp\Middleware::history($this->container); + $handler = HandlerStack::create($mock); + $handler->push($history); + $this->client = new Client(['handler' => $handler]); + + $this->getRequest = new GraphRequest("GET", "/endpoint", "token", "baseUrl", "version"); + } + + public function testGet() + { + $response = $this->getRequest->execute($this->client); + $code = $response->getStatus(); + + $this->assertEquals("200", $code); + } + + public function testPost() + { + $request = new GraphRequest("POST", "/endpoint", "token", "baseUrl", "version"); + $response = $request->execute($this->client); + $code = $response->getStatus(); + + $this->assertEquals("200", $code); + } + + public function testPut() + { + $request = new GraphRequest("PUT", "/endpoint", "token", "baseUrl", "version"); + $response = $request->execute($this->client); + $code = $response->getStatus(); + + $this->assertEquals("200", $code); + } + + public function testPatch() + { + $request = new GraphRequest("PATCH", "/endpoint", "token", "baseUrl", "version"); + $response = $request->execute($this->client); + $code = $response->getStatus(); + + $this->assertEquals("200", $code); + } + + public function testUpdate() + { + $request = new GraphRequest("UPDATE", "/endpoint", "token", "baseUrl", "version"); + $response = $request->execute($this->client); + $code = $response->getStatus(); + + $this->assertEquals("200", $code); + } + + public function testDelete() + { + $request = new GraphRequest("DELETE", "/endpoint", "token", "baseUrl", "version"); + $response = $request->execute($this->client); + $code = $response->getStatus(); + + $this->assertEquals("200", $code); + } + + public function testInvalidVerb() + { + $this->expectException(GuzzleHttp\Exception\ClientException::class); + + $mock = new MockHandler([ + new Response(400, ['foo' => 'bar']) + ]); + + $handler = HandlerStack::create($mock); + $client = new Client(['handler' => $handler]); + + $request = new GraphRequest("OBLITERATE", "/endpoint", "token", "baseUrl", "version"); + $response = $request->execute($client); + $code = $response->getStatus(); + + $this->assertEquals("400", $code); + } + + public function testSendJson() + { + $body = json_encode(array('1' => 'a', '2' => 'b')); + + $request = $this->getRequest->attachBody($body); + $this->assertInstanceOf(GraphRequest::class, $request); + + $response = $request->execute($this->client); + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + $this->assertEquals($body, $this->container[0]['request']->getBody()->getContents()); + } + + public function testSendArray() + { + $body = array('1' => 'a', '2' => 'b'); + $request = $this->getRequest->attachBody($body); + $this->assertInstanceOf(GraphRequest::class, $request); + + $response = $request->execute($this->client); + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + $this->assertEquals(json_encode($body), $this->container[0]['request']->getBody()->getContents()); + } + + public function testSendObject() + { + $user = new Microsoft\Graph\Model\User(); + $user->setDisplayName('Bob Barker'); + $request = $this->getRequest->attachBody($user); + $this->assertInstanceOf(GraphRequest::class, $request); + + $response = $request->execute($this->client); + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + $this->assertEquals(json_encode($user->getProperties()), $this->container[0]['request']->getBody()->getContents()); + } + + public function testSendString() + { + $body = '{"1":"a","2":"b"}'; + $request = $this->getRequest->attachBody($body); + $this->assertInstanceOf(GraphRequest::class, $request); + + $response = $request->execute($this->client); + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + $this->assertEquals($body, $this->container[0]['request']->getBody()->getContents()); + } + + public function testSendStream() + { + $body = GuzzleHttp\Psr7\Utils::streamFor('stream'); + $request = $this->getRequest->attachBody($body); + $this->assertInstanceOf(GraphRequest::class, $request); + + $response = $request->execute($this->client); + $this->assertInstanceOf(Microsoft\Graph\Http\GraphResponse::class, $response); + $this->assertEquals($body, $this->container[0]['request']->getBody()->getContents()); + } +} diff --git a/vendor/microsoft/microsoft-graph/tests/Http/MockClientFactory.php b/vendor/microsoft/microsoft-graph/tests/Http/MockClientFactory.php new file mode 100644 index 0000000..f9910f4 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Http/MockClientFactory.php @@ -0,0 +1,28 @@ +root = vfsStream::setup('testDir'); + + $this->body = json_encode(array('body' => 'content')); + $stream = GuzzleHttp\Psr7\Utils::streamFor('content'); + + $mock = new GuzzleHttp\Handler\MockHandler([ + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], $this->body), + new GuzzleHttp\Psr7\Response(200,['foo' => 'bar'], $stream), + new GuzzleHttp\Psr7\Response(200, ['foo' => 'bar'], 'hello') + ]); + + $this->container = []; + $history = GuzzleHttp\Middleware::history($this->container); + $handler = GuzzleHttp\HandlerStack::create($mock); + $handler->push($history); + $this->client = new GuzzleHttp\Client(['handler' => $handler]); + } + + public function testUpload() + { + $file = new VfsStreamFile('foo.txt'); + $this->root->addChild($file); + $file->setContent('data'); + + $request = new GraphRequest("GET", "/me", "token", "url", "v1.0"); + $request->upload($file->url(), $this->client); + + $this->assertEquals($this->container[0]['request']->getBody()->getContents(), $file->getContent()); + } + + public function testInvalidUpload() + { + $this->expectException(Microsoft\Graph\Exception\GraphException::class); + + $file = new VfsStreamFile('foo.txt', 0000); + $this->root->addChild($file); + + $request = new GraphRequest("GET", "/me", "token", "url", "v1.0"); + $request->upload($file->url(), $this->client); + } + + public function testDownload() + { + $request = new GraphRequest("GET", "/me", "token", "url", "v1.0"); + $file = new VfsStreamFile('foo.txt'); + $this->root->addChild($file); + + $request->download($file->url(), $this->client); + $this->assertEquals($this->body, $file->getContent()); + } + + public function testInvalidDownload() + { + set_error_handler(function() {}); + try { + $this->expectException(Microsoft\Graph\Exception\GraphException::class); + + $file = new VfsStreamFile('foo.txt', 0000); + $this->root->addChild($file); + + $request = new GraphRequest("GET", "/me", "token", "url", "v1.0"); + $request->download($file->url(), $this->client); + } finally { + restore_error_handler(); + } + } + + public function testSetReturnStream() + { + $request = new GraphRequest("GET", "/me", "token", "url", "v1.0"); + $request->setReturnType(GuzzleHttp\Psr7\Stream::class); + + $this->assertTrue($request->getReturnsStream()); + + $response = $request->execute($this->client); + $this->assertInstanceOf(GuzzleHttp\Psr7\Stream::class, $response); + + $response = $request->execute($this->client); + $this->assertInstanceOf(GuzzleHttp\Psr7\Stream::class, $response); + } +} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Model/ModelTest.php b/vendor/microsoft/microsoft-graph/tests/Model/ModelTest.php new file mode 100644 index 0000000..90c93c2 --- /dev/null +++ b/vendor/microsoft/microsoft-graph/tests/Model/ModelTest.php @@ -0,0 +1,94 @@ +entities = array(); + $this->enums = array(); + $this->complexTypes = array(); + + $dir = new DirectoryIterator('src/Model'); + foreach ($dir as $fileInfo) + { + $filename = $fileInfo->getFileName(); + $classname = explode(".", $filename)[0]; + if ($classname != null) { + $class = "Microsoft\\Graph\\Model\\" . explode(".", $fileInfo->getFileName())[0]; + switch(get_parent_class($class)) { + case Model\Entity::class: + $this->entities[] = $class; + break; + case Enum::class: + $this->enums[] = $class; + break; + default: + $this->complexTypes[] = $class; + break; + } + } + } + } + + public function testBaseEntity() + { + $entity = new Model\Entity(); + $this->assertInstanceOf(Model\Entity::class, $entity); + } + + public function testEntity() + { + foreach ($this->entities as $entityClass) { + $entity = new $entityClass(); + $this->assertInstanceOf($entityClass, $entity); + $this->assertTrue(is_array($entity->getProperties())); + } + } + + public function testComplexTypes() + { + foreach ($this->complexTypes as $complexTypeClass) { + $complexEntity = new $complexTypeClass(); + $this->assertInstanceOf($complexTypeClass, $complexEntity); + } + } + + public function testInvalidEnum() + { + $this->expectException(Microsoft\Graph\Exception\GraphException::class); + + $enum = new TestEnum("test"); + } + + public function testValidEnum() + { + $enum = new TestEnum("0"); + + $this->assertFalse($enum->is("1")); + $this->assertEquals("0", $enum->value()); + } + + public function testSetObject() + { + $drive = new Model\Drive(); + $drive->setRoot(new Model\DriveItem()); + $results = $drive->getRoot(); + $results2 = $drive->getRoot(); + $this->assertInstanceOf(Model\DriveItem::class, $results); + $this->assertInstanceOf(Model\DriveItem::class, $results2); + $this->assertEquals($results, $results2); + } +} + +class TestEnum extends Enum { + + const TEST = "0"; + const TEST1 = "1"; +} \ No newline at end of file diff --git a/vendor/psr/http-client/CHANGELOG.md b/vendor/psr/http-client/CHANGELOG.md new file mode 100644 index 0000000..e2dc25f --- /dev/null +++ b/vendor/psr/http-client/CHANGELOG.md @@ -0,0 +1,23 @@ +# Changelog + +All notable changes to this project will be documented in this file, in reverse chronological order by release. + +## 1.0.1 + +Allow installation with PHP 8. No code changes. + +## 1.0.0 + +First stable release. No changes since 0.3.0. + +## 0.3.0 + +Added Interface suffix on exceptions + +## 0.2.0 + +All exceptions are in `Psr\Http\Client` namespace + +## 0.1.0 + +First release diff --git a/vendor/psr/http-client/LICENSE b/vendor/psr/http-client/LICENSE new file mode 100644 index 0000000..cd5e002 --- /dev/null +++ b/vendor/psr/http-client/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2017 PHP Framework Interoperability Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/vendor/psr/http-client/README.md b/vendor/psr/http-client/README.md new file mode 100644 index 0000000..6876b84 --- /dev/null +++ b/vendor/psr/http-client/README.md @@ -0,0 +1,12 @@ +HTTP Client +=========== + +This repository holds all the common code related to [PSR-18 (HTTP Client)][psr-url]. + +Note that this is not a HTTP Client implementation of its own. It is merely abstractions that describe the components of a HTTP Client. + +The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist. + +[psr-url]: http://www.php-fig.org/psr/psr-18 +[package-url]: https://packagist.org/packages/psr/http-client +[implementation-url]: https://packagist.org/providers/psr/http-client-implementation diff --git a/vendor/psr/http-client/composer.json b/vendor/psr/http-client/composer.json new file mode 100644 index 0000000..c195f8f --- /dev/null +++ b/vendor/psr/http-client/composer.json @@ -0,0 +1,27 @@ +{ + "name": "psr/http-client", + "description": "Common interface for HTTP clients", + "keywords": ["psr", "psr-18", "http", "http-client"], + "homepage": "https://github.com/php-fig/http-client", + "license": "MIT", + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + } +} diff --git a/vendor/psr/http-client/src/ClientExceptionInterface.php b/vendor/psr/http-client/src/ClientExceptionInterface.php new file mode 100644 index 0000000..aa0b9cf --- /dev/null +++ b/vendor/psr/http-client/src/ClientExceptionInterface.php @@ -0,0 +1,10 @@ +=7.0.0", + "psr/http-message": "^1.0" + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + } +} diff --git a/vendor/psr/http-factory/src/RequestFactoryInterface.php b/vendor/psr/http-factory/src/RequestFactoryInterface.php new file mode 100644 index 0000000..cb39a08 --- /dev/null +++ b/vendor/psr/http-factory/src/RequestFactoryInterface.php @@ -0,0 +1,18 @@ +=5.3.0" + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + } +} diff --git a/vendor/psr/http-message/src/MessageInterface.php b/vendor/psr/http-message/src/MessageInterface.php new file mode 100644 index 0000000..dd46e5e --- /dev/null +++ b/vendor/psr/http-message/src/MessageInterface.php @@ -0,0 +1,187 @@ +getHeaders() as $name => $values) { + * echo $name . ": " . implode(", ", $values); + * } + * + * // Emit headers iteratively: + * foreach ($message->getHeaders() as $name => $values) { + * foreach ($values as $value) { + * header(sprintf('%s: %s', $name, $value), false); + * } + * } + * + * While header names are not case-sensitive, getHeaders() will preserve the + * exact case in which headers were originally specified. + * + * @return string[][] Returns an associative array of the message's headers. Each + * key MUST be a header name, and each value MUST be an array of strings + * for that header. + */ + public function getHeaders(); + + /** + * Checks if a header exists by the given case-insensitive name. + * + * @param string $name Case-insensitive header field name. + * @return bool Returns true if any header names match the given header + * name using a case-insensitive string comparison. Returns false if + * no matching header name is found in the message. + */ + public function hasHeader($name); + + /** + * Retrieves a message header value by the given case-insensitive name. + * + * This method returns an array of all the header values of the given + * case-insensitive header name. + * + * If the header does not appear in the message, this method MUST return an + * empty array. + * + * @param string $name Case-insensitive header field name. + * @return string[] An array of string values as provided for the given + * header. If the header does not appear in the message, this method MUST + * return an empty array. + */ + public function getHeader($name); + + /** + * Retrieves a comma-separated string of the values for a single header. + * + * This method returns all of the header values of the given + * case-insensitive header name as a string concatenated together using + * a comma. + * + * NOTE: Not all header values may be appropriately represented using + * comma concatenation. For such headers, use getHeader() instead + * and supply your own delimiter when concatenating. + * + * If the header does not appear in the message, this method MUST return + * an empty string. + * + * @param string $name Case-insensitive header field name. + * @return string A string of values as provided for the given header + * concatenated together using a comma. If the header does not appear in + * the message, this method MUST return an empty string. + */ + public function getHeaderLine($name); + + /** + * Return an instance with the provided value replacing the specified header. + * + * While header names are case-insensitive, the casing of the header will + * be preserved by this function, and returned from getHeaders(). + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * new and/or updated header and value. + * + * @param string $name Case-insensitive header field name. + * @param string|string[] $value Header value(s). + * @return static + * @throws \InvalidArgumentException for invalid header names or values. + */ + public function withHeader($name, $value); + + /** + * Return an instance with the specified header appended with the given value. + * + * Existing values for the specified header will be maintained. The new + * value(s) will be appended to the existing list. If the header did not + * exist previously, it will be added. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * new header and/or value. + * + * @param string $name Case-insensitive header field name to add. + * @param string|string[] $value Header value(s). + * @return static + * @throws \InvalidArgumentException for invalid header names or values. + */ + public function withAddedHeader($name, $value); + + /** + * Return an instance without the specified header. + * + * Header resolution MUST be done without case-sensitivity. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that removes + * the named header. + * + * @param string $name Case-insensitive header field name to remove. + * @return static + */ + public function withoutHeader($name); + + /** + * Gets the body of the message. + * + * @return StreamInterface Returns the body as a stream. + */ + public function getBody(); + + /** + * Return an instance with the specified message body. + * + * The body MUST be a StreamInterface object. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return a new instance that has the + * new body stream. + * + * @param StreamInterface $body Body. + * @return static + * @throws \InvalidArgumentException When the body is not valid. + */ + public function withBody(StreamInterface $body); +} diff --git a/vendor/psr/http-message/src/RequestInterface.php b/vendor/psr/http-message/src/RequestInterface.php new file mode 100644 index 0000000..a96d4fd --- /dev/null +++ b/vendor/psr/http-message/src/RequestInterface.php @@ -0,0 +1,129 @@ +getQuery()` + * or from the `QUERY_STRING` server param. + * + * @return array + */ + public function getQueryParams(); + + /** + * Return an instance with the specified query string arguments. + * + * These values SHOULD remain immutable over the course of the incoming + * request. They MAY be injected during instantiation, such as from PHP's + * $_GET superglobal, or MAY be derived from some other value such as the + * URI. In cases where the arguments are parsed from the URI, the data + * MUST be compatible with what PHP's parse_str() would return for + * purposes of how duplicate query parameters are handled, and how nested + * sets are handled. + * + * Setting query string arguments MUST NOT change the URI stored by the + * request, nor the values in the server params. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated query string arguments. + * + * @param array $query Array of query string arguments, typically from + * $_GET. + * @return static + */ + public function withQueryParams(array $query); + + /** + * Retrieve normalized file upload data. + * + * This method returns upload metadata in a normalized tree, with each leaf + * an instance of Psr\Http\Message\UploadedFileInterface. + * + * These values MAY be prepared from $_FILES or the message body during + * instantiation, or MAY be injected via withUploadedFiles(). + * + * @return array An array tree of UploadedFileInterface instances; an empty + * array MUST be returned if no data is present. + */ + public function getUploadedFiles(); + + /** + * Create a new instance with the specified uploaded files. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated body parameters. + * + * @param array $uploadedFiles An array tree of UploadedFileInterface instances. + * @return static + * @throws \InvalidArgumentException if an invalid structure is provided. + */ + public function withUploadedFiles(array $uploadedFiles); + + /** + * Retrieve any parameters provided in the request body. + * + * If the request Content-Type is either application/x-www-form-urlencoded + * or multipart/form-data, and the request method is POST, this method MUST + * return the contents of $_POST. + * + * Otherwise, this method may return any results of deserializing + * the request body content; as parsing returns structured content, the + * potential types MUST be arrays or objects only. A null value indicates + * the absence of body content. + * + * @return null|array|object The deserialized body parameters, if any. + * These will typically be an array or object. + */ + public function getParsedBody(); + + /** + * Return an instance with the specified body parameters. + * + * These MAY be injected during instantiation. + * + * If the request Content-Type is either application/x-www-form-urlencoded + * or multipart/form-data, and the request method is POST, use this method + * ONLY to inject the contents of $_POST. + * + * The data IS NOT REQUIRED to come from $_POST, but MUST be the results of + * deserializing the request body content. Deserialization/parsing returns + * structured data, and, as such, this method ONLY accepts arrays or objects, + * or a null value if nothing was available to parse. + * + * As an example, if content negotiation determines that the request data + * is a JSON payload, this method could be used to create a request + * instance with the deserialized parameters. + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated body parameters. + * + * @param null|array|object $data The deserialized body data. This will + * typically be in an array or object. + * @return static + * @throws \InvalidArgumentException if an unsupported argument type is + * provided. + */ + public function withParsedBody($data); + + /** + * Retrieve attributes derived from the request. + * + * The request "attributes" may be used to allow injection of any + * parameters derived from the request: e.g., the results of path + * match operations; the results of decrypting cookies; the results of + * deserializing non-form-encoded message bodies; etc. Attributes + * will be application and request specific, and CAN be mutable. + * + * @return array Attributes derived from the request. + */ + public function getAttributes(); + + /** + * Retrieve a single derived request attribute. + * + * Retrieves a single derived request attribute as described in + * getAttributes(). If the attribute has not been previously set, returns + * the default value as provided. + * + * This method obviates the need for a hasAttribute() method, as it allows + * specifying a default value to return if the attribute is not found. + * + * @see getAttributes() + * @param string $name The attribute name. + * @param mixed $default Default value to return if the attribute does not exist. + * @return mixed + */ + public function getAttribute($name, $default = null); + + /** + * Return an instance with the specified derived request attribute. + * + * This method allows setting a single derived request attribute as + * described in getAttributes(). + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that has the + * updated attribute. + * + * @see getAttributes() + * @param string $name The attribute name. + * @param mixed $value The value of the attribute. + * @return static + */ + public function withAttribute($name, $value); + + /** + * Return an instance that removes the specified derived request attribute. + * + * This method allows removing a single derived request attribute as + * described in getAttributes(). + * + * This method MUST be implemented in such a way as to retain the + * immutability of the message, and MUST return an instance that removes + * the attribute. + * + * @see getAttributes() + * @param string $name The attribute name. + * @return static + */ + public function withoutAttribute($name); +} diff --git a/vendor/psr/http-message/src/StreamInterface.php b/vendor/psr/http-message/src/StreamInterface.php new file mode 100644 index 0000000..f68f391 --- /dev/null +++ b/vendor/psr/http-message/src/StreamInterface.php @@ -0,0 +1,158 @@ + + * [user-info@]host[:port] + * + * + * If the port component is not set or is the standard port for the current + * scheme, it SHOULD NOT be included. + * + * @see https://tools.ietf.org/html/rfc3986#section-3.2 + * @return string The URI authority, in "[user-info@]host[:port]" format. + */ + public function getAuthority(); + + /** + * Retrieve the user information component of the URI. + * + * If no user information is present, this method MUST return an empty + * string. + * + * If a user is present in the URI, this will return that value; + * additionally, if the password is also present, it will be appended to the + * user value, with a colon (":") separating the values. + * + * The trailing "@" character is not part of the user information and MUST + * NOT be added. + * + * @return string The URI user information, in "username[:password]" format. + */ + public function getUserInfo(); + + /** + * Retrieve the host component of the URI. + * + * If no host is present, this method MUST return an empty string. + * + * The value returned MUST be normalized to lowercase, per RFC 3986 + * Section 3.2.2. + * + * @see http://tools.ietf.org/html/rfc3986#section-3.2.2 + * @return string The URI host. + */ + public function getHost(); + + /** + * Retrieve the port component of the URI. + * + * If a port is present, and it is non-standard for the current scheme, + * this method MUST return it as an integer. If the port is the standard port + * used with the current scheme, this method SHOULD return null. + * + * If no port is present, and no scheme is present, this method MUST return + * a null value. + * + * If no port is present, but a scheme is present, this method MAY return + * the standard port for that scheme, but SHOULD return null. + * + * @return null|int The URI port. + */ + public function getPort(); + + /** + * Retrieve the path component of the URI. + * + * The path can either be empty or absolute (starting with a slash) or + * rootless (not starting with a slash). Implementations MUST support all + * three syntaxes. + * + * Normally, the empty path "" and absolute path "/" are considered equal as + * defined in RFC 7230 Section 2.7.3. But this method MUST NOT automatically + * do this normalization because in contexts with a trimmed base path, e.g. + * the front controller, this difference becomes significant. It's the task + * of the user to handle both "" and "/". + * + * The value returned MUST be percent-encoded, but MUST NOT double-encode + * any characters. To determine what characters to encode, please refer to + * RFC 3986, Sections 2 and 3.3. + * + * As an example, if the value should include a slash ("/") not intended as + * delimiter between path segments, that value MUST be passed in encoded + * form (e.g., "%2F") to the instance. + * + * @see https://tools.ietf.org/html/rfc3986#section-2 + * @see https://tools.ietf.org/html/rfc3986#section-3.3 + * @return string The URI path. + */ + public function getPath(); + + /** + * Retrieve the query string of the URI. + * + * If no query string is present, this method MUST return an empty string. + * + * The leading "?" character is not part of the query and MUST NOT be + * added. + * + * The value returned MUST be percent-encoded, but MUST NOT double-encode + * any characters. To determine what characters to encode, please refer to + * RFC 3986, Sections 2 and 3.4. + * + * As an example, if a value in a key/value pair of the query string should + * include an ampersand ("&") not intended as a delimiter between values, + * that value MUST be passed in encoded form (e.g., "%26") to the instance. + * + * @see https://tools.ietf.org/html/rfc3986#section-2 + * @see https://tools.ietf.org/html/rfc3986#section-3.4 + * @return string The URI query string. + */ + public function getQuery(); + + /** + * Retrieve the fragment component of the URI. + * + * If no fragment is present, this method MUST return an empty string. + * + * The leading "#" character is not part of the fragment and MUST NOT be + * added. + * + * The value returned MUST be percent-encoded, but MUST NOT double-encode + * any characters. To determine what characters to encode, please refer to + * RFC 3986, Sections 2 and 3.5. + * + * @see https://tools.ietf.org/html/rfc3986#section-2 + * @see https://tools.ietf.org/html/rfc3986#section-3.5 + * @return string The URI fragment. + */ + public function getFragment(); + + /** + * Return an instance with the specified scheme. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified scheme. + * + * Implementations MUST support the schemes "http" and "https" case + * insensitively, and MAY accommodate other schemes if required. + * + * An empty scheme is equivalent to removing the scheme. + * + * @param string $scheme The scheme to use with the new instance. + * @return static A new instance with the specified scheme. + * @throws \InvalidArgumentException for invalid or unsupported schemes. + */ + public function withScheme($scheme); + + /** + * Return an instance with the specified user information. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified user information. + * + * Password is optional, but the user information MUST include the + * user; an empty string for the user is equivalent to removing user + * information. + * + * @param string $user The user name to use for authority. + * @param null|string $password The password associated with $user. + * @return static A new instance with the specified user information. + */ + public function withUserInfo($user, $password = null); + + /** + * Return an instance with the specified host. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified host. + * + * An empty host value is equivalent to removing the host. + * + * @param string $host The hostname to use with the new instance. + * @return static A new instance with the specified host. + * @throws \InvalidArgumentException for invalid hostnames. + */ + public function withHost($host); + + /** + * Return an instance with the specified port. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified port. + * + * Implementations MUST raise an exception for ports outside the + * established TCP and UDP port ranges. + * + * A null value provided for the port is equivalent to removing the port + * information. + * + * @param null|int $port The port to use with the new instance; a null value + * removes the port information. + * @return static A new instance with the specified port. + * @throws \InvalidArgumentException for invalid ports. + */ + public function withPort($port); + + /** + * Return an instance with the specified path. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified path. + * + * The path can either be empty or absolute (starting with a slash) or + * rootless (not starting with a slash). Implementations MUST support all + * three syntaxes. + * + * If the path is intended to be domain-relative rather than path relative then + * it must begin with a slash ("/"). Paths not starting with a slash ("/") + * are assumed to be relative to some base path known to the application or + * consumer. + * + * Users can provide both encoded and decoded path characters. + * Implementations ensure the correct encoding as outlined in getPath(). + * + * @param string $path The path to use with the new instance. + * @return static A new instance with the specified path. + * @throws \InvalidArgumentException for invalid paths. + */ + public function withPath($path); + + /** + * Return an instance with the specified query string. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified query string. + * + * Users can provide both encoded and decoded query characters. + * Implementations ensure the correct encoding as outlined in getQuery(). + * + * An empty query string value is equivalent to removing the query string. + * + * @param string $query The query string to use with the new instance. + * @return static A new instance with the specified query string. + * @throws \InvalidArgumentException for invalid query strings. + */ + public function withQuery($query); + + /** + * Return an instance with the specified URI fragment. + * + * This method MUST retain the state of the current instance, and return + * an instance that contains the specified URI fragment. + * + * Users can provide both encoded and decoded fragment characters. + * Implementations ensure the correct encoding as outlined in getFragment(). + * + * An empty fragment value is equivalent to removing the fragment. + * + * @param string $fragment The fragment to use with the new instance. + * @return static A new instance with the specified fragment. + */ + public function withFragment($fragment); + + /** + * Return the string representation as a URI reference. + * + * Depending on which components of the URI are present, the resulting + * string is either a full URI or relative reference according to RFC 3986, + * Section 4.1. The method concatenates the various components of the URI, + * using the appropriate delimiters: + * + * - If a scheme is present, it MUST be suffixed by ":". + * - If an authority is present, it MUST be prefixed by "//". + * - The path can be concatenated without delimiters. But there are two + * cases where the path has to be adjusted to make the URI reference + * valid as PHP does not allow to throw an exception in __toString(): + * - If the path is rootless and an authority is present, the path MUST + * be prefixed by "/". + * - If the path is starting with more than one "/" and no authority is + * present, the starting slashes MUST be reduced to one. + * - If a query is present, it MUST be prefixed by "?". + * - If a fragment is present, it MUST be prefixed by "#". + * + * @see http://tools.ietf.org/html/rfc3986#section-4.1 + * @return string + */ + public function __toString(); +} diff --git a/vendor/ralouphie/getallheaders/LICENSE b/vendor/ralouphie/getallheaders/LICENSE new file mode 100644 index 0000000..be5540c --- /dev/null +++ b/vendor/ralouphie/getallheaders/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Ralph Khattar + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/ralouphie/getallheaders/README.md b/vendor/ralouphie/getallheaders/README.md new file mode 100644 index 0000000..9430d76 --- /dev/null +++ b/vendor/ralouphie/getallheaders/README.md @@ -0,0 +1,27 @@ +getallheaders +============= + +PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3. + +[![Build Status](https://travis-ci.org/ralouphie/getallheaders.svg?branch=master)](https://travis-ci.org/ralouphie/getallheaders) +[![Coverage Status](https://coveralls.io/repos/ralouphie/getallheaders/badge.png?branch=master)](https://coveralls.io/r/ralouphie/getallheaders?branch=master) +[![Latest Stable Version](https://poser.pugx.org/ralouphie/getallheaders/v/stable.png)](https://packagist.org/packages/ralouphie/getallheaders) +[![Latest Unstable Version](https://poser.pugx.org/ralouphie/getallheaders/v/unstable.png)](https://packagist.org/packages/ralouphie/getallheaders) +[![License](https://poser.pugx.org/ralouphie/getallheaders/license.png)](https://packagist.org/packages/ralouphie/getallheaders) + + +This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php). + +## Install + +For PHP version **`>= 5.6`**: + +``` +composer require ralouphie/getallheaders +``` + +For PHP version **`< 5.6`**: + +``` +composer require ralouphie/getallheaders "^2" +``` diff --git a/vendor/ralouphie/getallheaders/composer.json b/vendor/ralouphie/getallheaders/composer.json new file mode 100644 index 0000000..de8ce62 --- /dev/null +++ b/vendor/ralouphie/getallheaders/composer.json @@ -0,0 +1,26 @@ +{ + "name": "ralouphie/getallheaders", + "description": "A polyfill for getallheaders.", + "license": "MIT", + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "require": { + "php": ">=5.6" + }, + "require-dev": { + "phpunit/phpunit": "^5 || ^6.5", + "php-coveralls/php-coveralls": "^2.1" + }, + "autoload": { + "files": ["src/getallheaders.php"] + }, + "autoload-dev": { + "psr-4": { + "getallheaders\\Tests\\": "tests/" + } + } +} diff --git a/vendor/ralouphie/getallheaders/src/getallheaders.php b/vendor/ralouphie/getallheaders/src/getallheaders.php new file mode 100644 index 0000000..c7285a5 --- /dev/null +++ b/vendor/ralouphie/getallheaders/src/getallheaders.php @@ -0,0 +1,46 @@ + 'Content-Type', + 'CONTENT_LENGTH' => 'Content-Length', + 'CONTENT_MD5' => 'Content-Md5', + ); + + foreach ($_SERVER as $key => $value) { + if (substr($key, 0, 5) === 'HTTP_') { + $key = substr($key, 5); + if (!isset($copy_server[$key]) || !isset($_SERVER[$key])) { + $key = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $key)))); + $headers[$key] = $value; + } + } elseif (isset($copy_server[$key])) { + $headers[$copy_server[$key]] = $value; + } + } + + if (!isset($headers['Authorization'])) { + if (isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION'])) { + $headers['Authorization'] = $_SERVER['REDIRECT_HTTP_AUTHORIZATION']; + } elseif (isset($_SERVER['PHP_AUTH_USER'])) { + $basic_pass = isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : ''; + $headers['Authorization'] = 'Basic ' . base64_encode($_SERVER['PHP_AUTH_USER'] . ':' . $basic_pass); + } elseif (isset($_SERVER['PHP_AUTH_DIGEST'])) { + $headers['Authorization'] = $_SERVER['PHP_AUTH_DIGEST']; + } + } + + return $headers; + } + +} diff --git a/vendor/symfony/deprecation-contracts/.gitignore b/vendor/symfony/deprecation-contracts/.gitignore new file mode 100644 index 0000000..c49a5d8 --- /dev/null +++ b/vendor/symfony/deprecation-contracts/.gitignore @@ -0,0 +1,3 @@ +vendor/ +composer.lock +phpunit.xml diff --git a/vendor/symfony/deprecation-contracts/CHANGELOG.md b/vendor/symfony/deprecation-contracts/CHANGELOG.md new file mode 100644 index 0000000..7932e26 --- /dev/null +++ b/vendor/symfony/deprecation-contracts/CHANGELOG.md @@ -0,0 +1,5 @@ +CHANGELOG +========= + +The changelog is maintained for all Symfony contracts at the following URL: +https://github.com/symfony/contracts/blob/main/CHANGELOG.md diff --git a/vendor/symfony/deprecation-contracts/LICENSE b/vendor/symfony/deprecation-contracts/LICENSE new file mode 100644 index 0000000..406242f --- /dev/null +++ b/vendor/symfony/deprecation-contracts/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2020-2022 Fabien Potencier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/vendor/symfony/deprecation-contracts/README.md b/vendor/symfony/deprecation-contracts/README.md new file mode 100644 index 0000000..4957933 --- /dev/null +++ b/vendor/symfony/deprecation-contracts/README.md @@ -0,0 +1,26 @@ +Symfony Deprecation Contracts +============================= + +A generic function and convention to trigger deprecation notices. + +This package provides a single global function named `trigger_deprecation()` that triggers silenced deprecation notices. + +By using a custom PHP error handler such as the one provided by the Symfony ErrorHandler component, +the triggered deprecations can be caught and logged for later discovery, both on dev and prod environments. + +The function requires at least 3 arguments: + - the name of the Composer package that is triggering the deprecation + - the version of the package that introduced the deprecation + - the message of the deprecation + - more arguments can be provided: they will be inserted in the message using `printf()` formatting + +Example: +```php +trigger_deprecation('symfony/blockchain', '8.9', 'Using "%s" is deprecated, use "%s" instead.', 'bitcoin', 'fabcoin'); +``` + +This will generate the following message: +`Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.` + +While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty +`function trigger_deprecation() {}` in your application. diff --git a/vendor/symfony/deprecation-contracts/composer.json b/vendor/symfony/deprecation-contracts/composer.json new file mode 100644 index 0000000..cc7cc12 --- /dev/null +++ b/vendor/symfony/deprecation-contracts/composer.json @@ -0,0 +1,35 @@ +{ + "name": "symfony/deprecation-contracts", + "type": "library", + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "license": "MIT", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "require": { + "php": ">=7.1" + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "minimum-stability": "dev", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + } +} diff --git a/vendor/symfony/deprecation-contracts/function.php b/vendor/symfony/deprecation-contracts/function.php new file mode 100644 index 0000000..d437150 --- /dev/null +++ b/vendor/symfony/deprecation-contracts/function.php @@ -0,0 +1,27 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +if (!function_exists('trigger_deprecation')) { + /** + * Triggers a silenced deprecation notice. + * + * @param string $package The name of the Composer package that is triggering the deprecation + * @param string $version The version of the package that introduced the deprecation + * @param string $message The message of the deprecation + * @param mixed ...$args Values to insert in the message using printf() formatting + * + * @author Nicolas Grekas + */ + function trigger_deprecation(string $package, string $version, string $message, ...$args): void + { + @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED); + } +}